@univerjs-pro/collaboration-client 0.5.4-nightly.202501151339 → 0.5.4-nightly.202501160647
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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x2b18bd=_0xf177;(function(_0x3c3495,_0xc0c8f9){var _0x1e5789=_0xf177,_0x1be645=_0x3c3495();while(!![]){try{var _0x5221b8=parseInt(_0x1e5789(0x305))/0x1+-parseInt(_0x1e5789(0x2f2))/0x2+parseInt(_0x1e5789(0x256))/0x3*(parseInt(_0x1e5789(0x3f0))/0x4)+parseInt(_0x1e5789(0xf4))/0x5*(-parseInt(_0x1e5789(0x272))/0x6)+-parseInt(_0x1e5789(0x13a))/0x7*(parseInt(_0x1e5789(0x8d))/0x8)+-parseInt(_0x1e5789(0x350))/0x9*(parseInt(_0x1e5789(0x2de))/0xa)+parseInt(_0x1e5789(0x22d))/0xb;if(_0x5221b8===_0xc0c8f9)break;else _0x1be645['push'](_0x1be645['shift']());}catch(_0x457f5e){_0x1be645['push'](_0x1be645['shift']());}}}(_0x16f4,0x6ad92));var Mt=Object[_0x2b18bd(0x222)],xt=(_0x2213af,_0x589fed,_0x5dea8d)=>_0x589fed in _0x2213af?Mt(_0x2213af,_0x589fed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dea8d}):_0x2213af[_0x589fed]=_0x5dea8d,D=(_0x5b3485,_0xd54842,_0x59b202)=>xt(_0x5b3485,typeof _0xd54842!=_0x2b18bd(0x3a9)?_0xd54842+'':_0xd54842,_0x59b202);Object[_0x2b18bd(0x222)](exports,Symbol[_0x2b18bd(0x2cb)],{'value':_0x2b18bd(0xb1)});const a=require('@univerjs/core'),H=require(_0x2b18bd(0x178)),W=require(_0x2b18bd(0x2b5)),q=require('@univerjs/network'),m=require(_0x2b18bd(0x358)),jt=require(_0x2b18bd(0x185)),dt=require(_0x2b18bd(0xa1)),J=require('@univerjs/sheets'),X=require(_0x2b18bd(0x12c)),$t=require('@univerjs-pro/license'),vt=_0x2b18bd(0x2c1),Ht='/universer-api/snapshot',ft='SNAPSHOT_URL_KEY',kt=_0x2b18bd(0x1f0),Bt=0x7d0,St=_0x2b18bd(0x129),pt=_0x2b18bd(0x105),Ft='/universer-api/user/session-ticket',mt=_0x2b18bd(0x19e),Wt=0x7530,He='HEARTBEAT_TIMEOUT',gt=0x4e20,Gt=0x4e20,It=_0x2b18bd(0x9a),Vt=0x3,Kt=_0x2b18bd(0x288),Yt=0x3e8,Et=_0x2b18bd(0x3e0),qt=_0x2b18bd(0x284),Ct=_0x2b18bd(0xff),zt=_0x2b18bd(0x3d3),Jt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Xt=_0x2b18bd(0x346);var Tt=(_0x236f2f=>(_0x236f2f[_0x236f2f[_0x2b18bd(0x2ec)]=0x0]=_0x2b18bd(0x2ec),_0x236f2f[_0x236f2f['OK']=0x1]='OK',_0x236f2f[_0x236f2f[_0x2b18bd(0x37c)]=0x2]=_0x2b18bd(0x37c),_0x236f2f[_0x236f2f[_0x2b18bd(0x2fc)]=0x3]=_0x2b18bd(0x2fc),_0x236f2f[_0x236f2f['NOT_FOUND']=0x4]=_0x2b18bd(0x21b),_0x236f2f[_0x236f2f[_0x2b18bd(0xdd)]=0x5]=_0x2b18bd(0xdd),_0x236f2f[_0x236f2f['ALREADY_EXISTS']=0x6]=_0x2b18bd(0x2e9),_0x236f2f[_0x236f2f[_0x2b18bd(0x20f)]=0x7]='INVALID_ARGUMENT',_0x236f2f[_0x236f2f[_0x2b18bd(0x331)]=0x8]=_0x2b18bd(0x331),_0x236f2f[_0x236f2f[_0x2b18bd(0x124)]=0x9]=_0x2b18bd(0x124),_0x236f2f[_0x236f2f[_0x2b18bd(0xae)]=0x1389]=_0x2b18bd(0xae),_0x236f2f[_0x236f2f[_0x2b18bd(0x369)]=0x1771]=_0x2b18bd(0x369),_0x236f2f[_0x236f2f[_0x2b18bd(0x107)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x236f2f[_0x236f2f[_0x2b18bd(0x2be)]=0x1773]=_0x2b18bd(0x2be),_0x236f2f[_0x236f2f[_0x2b18bd(0x195)]=0x1b59]=_0x2b18bd(0x195),_0x236f2f[_0x236f2f[_0x2b18bd(0x155)]=0x1b5a]=_0x2b18bd(0x155),_0x236f2f[_0x236f2f[_0x2b18bd(0x236)]=0x1b5b]=_0x2b18bd(0x236),_0x236f2f[_0x236f2f[_0x2b18bd(0x159)]=0x1b5c]=_0x2b18bd(0x159),_0x236f2f[_0x236f2f[_0x2b18bd(0x233)]=0x1b5d]=_0x2b18bd(0x233),_0x236f2f[_0x236f2f[_0x2b18bd(0x94)]=0x1f41]=_0x2b18bd(0x94),_0x236f2f[_0x236f2f[_0x2b18bd(0x18b)]=0x2329]=_0x2b18bd(0x18b),_0x236f2f[_0x236f2f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x236f2f[_0x236f2f[_0x2b18bd(0x321)]=0x232b]=_0x2b18bd(0x321),_0x236f2f[_0x236f2f[_0x2b18bd(0x2c3)]=0x232c]=_0x2b18bd(0x2c3),_0x236f2f[_0x236f2f[_0x2b18bd(0x32b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x236f2f[_0x236f2f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2b18bd(0xa4),_0x236f2f[_0x236f2f[_0x2b18bd(0x333)]=0x2712]=_0x2b18bd(0x333),_0x236f2f[_0x236f2f[_0x2b18bd(0x10d)]=0x2713]=_0x2b18bd(0x10d),_0x236f2f[_0x236f2f[_0x2b18bd(0x2e7)]=0x2714]=_0x2b18bd(0x2e7),_0x236f2f[_0x236f2f[_0x2b18bd(0x2bf)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x236f2f[_0x236f2f[_0x2b18bd(0x193)]=-0x1]=_0x2b18bd(0x193),_0x236f2f))(Tt||{}),Z=(_0x5b1a0a=>(_0x5b1a0a[_0x5b1a0a[_0x2b18bd(0x3fd)]=0x0]=_0x2b18bd(0x3fd),_0x5b1a0a[_0x5b1a0a[_0x2b18bd(0x39b)]=0x1]='UNIVER_DOC',_0x5b1a0a[_0x5b1a0a['UNIVER_SHEET']=0x2]=_0x2b18bd(0xcb),_0x5b1a0a[_0x5b1a0a[_0x2b18bd(0x30e)]=0x3]=_0x2b18bd(0x30e),_0x5b1a0a[_0x5b1a0a['UNIVER_PROJECT']=0x4]=_0x2b18bd(0xc5),_0x5b1a0a[_0x5b1a0a[_0x2b18bd(0x193)]=-0x1]=_0x2b18bd(0x193),_0x5b1a0a))(Z||{}),G=(_0x38855a=>(_0x38855a[_0x38855a['UNKNOWN_CMD']=0x0]=_0x2b18bd(0x1bd),_0x38855a[_0x38855a[_0x2b18bd(0x1d9)]=0x1]='HELLO',_0x38855a[_0x38855a['JOIN']=0x2]=_0x2b18bd(0x341),_0x38855a[_0x38855a[_0x2b18bd(0x2f9)]=0x3]='LEAVE',_0x38855a[_0x38855a['INGEST']=0x4]=_0x2b18bd(0x3b0),_0x38855a[_0x38855a[_0x2b18bd(0x36a)]=0x5]='HEARTBEAT',_0x38855a[_0x38855a[_0x2b18bd(0x11e)]=0x6]='RECV',_0x38855a[_0x38855a[_0x2b18bd(0x193)]=-0x1]='UNRECOGNIZED',_0x38855a))(G||{}),he=(_0x148072=>(_0x148072[_0x148072[_0x2b18bd(0x1db)]=0x0]=_0x2b18bd(0x1db),_0x148072[_0x148072['OK']=0x1]='OK',_0x148072[_0x148072['FAIL']=0x2]=_0x2b18bd(0x2db),_0x148072[_0x148072[_0x2b18bd(0x29f)]=0x3e9]=_0x2b18bd(0x29f),_0x148072[_0x148072[_0x2b18bd(0x20e)]=0x3ea]=_0x2b18bd(0x20e),_0x148072[_0x148072['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2b18bd(0x171),_0x148072[_0x148072[_0x2b18bd(0x37b)]=0x3ec]=_0x2b18bd(0x37b),_0x148072[_0x148072[_0x2b18bd(0x193)]=-0x1]=_0x2b18bd(0x193),_0x148072))(he||{}),bt=(_0x5caac5=>(_0x5caac5[_0x5caac5['Undefined']=0x0]=_0x2b18bd(0xf8),_0x5caac5[_0x5caac5[_0x2b18bd(0x352)]=0x1]=_0x2b18bd(0x352),_0x5caac5[_0x5caac5['HttpExport']=0x2]=_0x2b18bd(0x3d7),_0x5caac5[_0x5caac5['UnitEmbedded']=0x3]=_0x2b18bd(0x2a0),_0x5caac5[_0x5caac5['UnitSnapshot']=0x4]='UnitSnapshot',_0x5caac5[_0x5caac5[_0x2b18bd(0x193)]=-0x1]='UNRECOGNIZED',_0x5caac5))(bt||{});const Y='collaboration-client.config',Ke={};var Q=(_0x1270cb=>(_0x1270cb[_0x2b18bd(0x3d1)]=_0x2b18bd(0x3d1),_0x1270cb[_0x2b18bd(0x2fc)]='PERMISSION_DENIED',_0x1270cb[_0x2b18bd(0x344)]=_0x2b18bd(0x344),_0x1270cb['CLOSE_ROOM']=_0x2b18bd(0x387),_0x1270cb[_0x2b18bd(0x209)]=_0x2b18bd(0x209),_0x1270cb['SOCKET_FAILED_RETRY']=_0x2b18bd(0x3a8),_0x1270cb[_0x2b18bd(0xc1)]='SOCKET_FAILED',_0x1270cb['SUBMIT_CHANGESET_TIMEOUT']=_0x2b18bd(0x366),_0x1270cb))(Q||{});class te{constructor(){var _0x30b012=_0x2b18bd;D(this,_0x30b012(0x39a),new H['Subject']()),D(this,'event$',this[_0x30b012(0x39a)]['asObservable']());}[_0x2b18bd(0xb8)](_0x4836e9){var _0x5dccf9=_0x2b18bd;this[_0x5dccf9(0x39a)][_0x5dccf9(0x3d5)](_0x4836e9);}}const Rt=a['createIdentifier'](_0x2b18bd(0x1ed));function Ot(_0x27b9c0){var _0xf8189b=_0x2b18bd,_0xf40b03,_0x298e30,_0x54b018,_0x5a2396,_0x2baa26;const _0x4e6fc6=_0x27b9c0[_0xf8189b(0x34e)],_0x291a4e=JSON[_0xf8189b(0x301)](_0x4e6fc6);switch(_0x291a4e[_0xf8189b(0x396)]){case G[_0xf8189b(0x36a)]:case G[_0xf8189b(0x1d9)]:{const _0xb2be19=_0x291a4e[_0xf8189b(0x379)];return{..._0x291a4e,'data':_0xb2be19,'cmd':_0x291a4e[_0xf8189b(0x396)]};}case G[_0xf8189b(0x341)]:{const _0x3a9a4c=_0x291a4e[_0xf8189b(0x2cc)];return{..._0x291a4e,'data':_0x3a9a4c,'cmd':_0x291a4e['cmd']};}case G[_0xf8189b(0x11e)]:{const _0x7cb2f0=_0x291a4e[_0xf8189b(0x21a)];switch(_0x7cb2f0[_0xf8189b(0x260)]){case m[_0xf8189b(0x360)][_0xf8189b(0x1ff)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':(_0xf40b03=_0x7cb2f0[_0xf8189b(0x25d)])==null?void 0x0:_0xf40b03['cs']},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m[_0xf8189b(0x360)][_0xf8189b(0x252)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':(_0x298e30=_0x7cb2f0[_0xf8189b(0x1f3)])==null?void 0x0:_0x298e30['cs']},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m[_0xf8189b(0x360)][_0xf8189b(0x18a)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':(_0x54b018=_0x7cb2f0[_0xf8189b(0x340)])==null?void 0x0:_0x54b018['cs']},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m[_0xf8189b(0x360)][_0xf8189b(0x2e0)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':(_0x5a2396=_0x7cb2f0[_0xf8189b(0x17e)])==null?void 0x0:_0x5a2396['cs']},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m[_0xf8189b(0x360)][_0xf8189b(0x148)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':(_0x2baa26=_0x7cb2f0[_0xf8189b(0x156)])==null?void 0x0:_0x2baa26['cs']},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m['CollaborationEvent'][_0xf8189b(0x24f)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':_0x7cb2f0['updateCursorEvent']},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m[_0xf8189b(0x360)][_0xf8189b(0x192)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':_0x7cb2f0[_0xf8189b(0x1ae)]},'cmd':_0x291a4e['cmd']};case m[_0xf8189b(0x360)][_0xf8189b(0x38a)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':_0x7cb2f0['leaveEvent']},'cmd':_0x291a4e['cmd']};case m[_0xf8189b(0x360)][_0xf8189b(0x19a)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':_0x7cb2f0[_0xf8189b(0x385)]},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m[_0xf8189b(0x360)][_0xf8189b(0x1fd)]:case m['CollaborationEvent'][_0xf8189b(0x120)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':_0x7cb2f0[_0xf8189b(0xe4)]},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m[_0xf8189b(0x360)][_0xf8189b(0xd7)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':_0x7cb2f0[_0xf8189b(0x385)]},'cmd':_0x291a4e['cmd']};case m['CollaborationEvent'][_0xf8189b(0x1fe)]:return{..._0x291a4e,'data':_0x7cb2f0,'cmd':_0x291a4e[_0xf8189b(0x396)]};case m['CollaborationEvent'][_0xf8189b(0x14f)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':_0x7cb2f0['commentUpdateEvent']},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m[_0xf8189b(0x360)][_0xf8189b(0xe7)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':_0x7cb2f0[_0xf8189b(0x240)]},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m[_0xf8189b(0x360)]['SHOULD_CLOSE_CONN']:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':_0x7cb2f0['shouldCloseConn']},'cmd':_0x291a4e[_0xf8189b(0x396)]};case m[_0xf8189b(0x360)][_0xf8189b(0xcc)]:return{..._0x291a4e,'data':{..._0x7cb2f0,'data':_0x7cb2f0[_0xf8189b(0x24e)]},'cmd':_0x291a4e[_0xf8189b(0x396)]};default:return _0x291a4e;}}default:return _0x291a4e;}}function yt(_0x272199){var _0x5715e5=_0x2b18bd;switch(_0x272199[_0x5715e5(0x396)]){case G[_0x5715e5(0x36a)]:case G['HELLO']:return JSON['stringify']({'cmd':_0x272199[_0x5715e5(0x396)],'routeKey':_0x272199[_0x5715e5(0xf1)]});case G[_0x5715e5(0x3b0)]:{let _0xe927da;switch(_0x272199[_0x5715e5(0x34e)][_0x5715e5(0x260)]){case m[_0x5715e5(0x360)][_0x5715e5(0x24f)]:{_0xe927da={'eventID':m[_0x5715e5(0x360)][_0x5715e5(0x24f)],'updateCursorEvent':_0x272199[_0x5715e5(0x34e)][_0x5715e5(0x34e)]};break;}case m[_0x5715e5(0x360)][_0x5715e5(0x38a)]:{_0xe927da={'eventID':m[_0x5715e5(0x360)][_0x5715e5(0x38a)],'leaveEvent':_0x272199['data']['data']};break;}case m[_0x5715e5(0x360)][_0x5715e5(0x192)]:{_0xe927da={'eventID':m['CollaborationEvent'][_0x5715e5(0x192)],'joinEvent':_0x272199[_0x5715e5(0x34e)]['data']};break;}case m['CollaborationEvent'][_0x5715e5(0x19a)]:{_0xe927da={'eventID':m[_0x5715e5(0x360)][_0x5715e5(0x19a)],'liveShareNewHost':_0x272199['data']['data']};break;}case m[_0x5715e5(0x360)][_0x5715e5(0x120)]:{_0xe927da={'eventID':m[_0x5715e5(0x360)][_0x5715e5(0x120)],'liveShareOperation':_0x272199['data']['data']};break;}case m[_0x5715e5(0x360)][_0x5715e5(0xd7)]:{_0xe927da={'eventID':m[_0x5715e5(0x360)][_0x5715e5(0xd7)],'liveShareTerminate':_0x272199[_0x5715e5(0x34e)][_0x5715e5(0x34e)]};break;}case m[_0x5715e5(0x360)][_0x5715e5(0x1f2)]:{_0xe927da={'eventID':m[_0x5715e5(0x360)][_0x5715e5(0x1f2)],'liveShareRequestHost':_0x272199[_0x5715e5(0x34e)]['data']};break;}case m[_0x5715e5(0x360)]['LIVESHARE_FETCH_OPERATIONS']:{_0xe927da={'eventID':m[_0x5715e5(0x360)][_0x5715e5(0x1fd)]};break;}default:_0xe927da={'eventID':_0x272199['data'][_0x5715e5(0x260)]};}return JSON[_0x5715e5(0x2fa)]({'cmd':_0x272199[_0x5715e5(0x396)],'routeKey':_0x272199[_0x5715e5(0xf1)],'collaMsg':_0xe927da});}case G['JOIN']:return JSON[_0x5715e5(0x2fa)]({'cmd':_0x272199[_0x5715e5(0x396)],'routeKey':_0x272199[_0x5715e5(0xf1)],'joinReq':_0x272199[_0x5715e5(0x34e)]});case G['LEAVE']:return JSON['stringify']({'cmd':_0x272199[_0x5715e5(0x396)],'routeKey':_0x272199['routeKey'],'leaveReq':_0x272199[_0x5715e5(0x34e)]});default:throw new Error(_0x5715e5(0x383));}}var Zt=Object[_0x2b18bd(0x222)],Qt=Object[_0x2b18bd(0x1b9)],en=(_0x44931d,_0x459946,_0x440a34,_0x41fa67)=>{var _0xab76f=_0x2b18bd;for(var _0x92b3cf=_0x41fa67>0x1?void 0x0:_0x41fa67?Qt(_0x459946,_0x440a34):_0x459946,_0x2f0491=_0x44931d[_0xab76f(0x327)]-0x1,_0x52edcb;_0x2f0491>=0x0;_0x2f0491--)(_0x52edcb=_0x44931d[_0x2f0491])&&(_0x92b3cf=(_0x41fa67?_0x52edcb(_0x459946,_0x440a34,_0x92b3cf):_0x52edcb(_0x92b3cf))||_0x92b3cf);return _0x41fa67&&_0x92b3cf&&Zt(_0x459946,_0x440a34,_0x92b3cf),_0x92b3cf;},ue=(_0x36b953,_0x512770)=>(_0x2e822d,_0x2ffd0b)=>_0x512770(_0x2e822d,_0x2ffd0b,_0x36b953);const ke=a[_0x2b18bd(0x140)](_0x2b18bd(0x393));function tn(_0x40b7fa,_0x6415ea,_0x1a25d0){var _0x24d360=_0x2b18bd;return _0x40b7fa+'/'+_0x6415ea+_0x24d360(0x1a1)+_0x1a25d0+_0x24d360(0x2f0);}exports[_0x2b18bd(0x2c2)]=class extends a[_0x2b18bd(0x3d4)]{constructor(_0x5a7830,_0x1baf85,_0xdc787b,_0x3bba44,_0x285451){var _0x4bbebe=_0x2b18bd;super(),this[_0x4bbebe(0x30a)]=_0x5a7830,this[_0x4bbebe(0xf9)]=_0x1baf85,this[_0x4bbebe(0x2c6)]=_0xdc787b,this[_0x4bbebe(0x34d)]=_0x3bba44,this[_0x4bbebe(0x3d0)]=_0x285451;}['createSocket'](_0x1a0dc1){var _0x2ae177=_0x2b18bd;const _0x18d689=this['_injector']['get'](q[_0x2ae177(0x2fd)]);if(!_0x18d689)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x51bf9d=_0x18d689[_0x2ae177(0x232)](_0x1a0dc1);if(!_0x51bf9d)throw new Error(_0x2ae177(0x3bf));const _0x4300cf=new a[(_0x2ae177(0x36c))](),_0x6e9bb4=new H[(_0x2ae177(0xc7))]();_0x4300cf['add'](_0x51bf9d[_0x2ae177(0x3e4)][_0x2ae177(0x32d)](_0x39c11e=>_0x6e9bb4[_0x2ae177(0x3d5)](_0x39c11e))),_0x4300cf['add'](a[_0x2ae177(0x177)](()=>_0x6e9bb4[_0x2ae177(0x395)]()));const _0x314e2d=new H[(_0x2ae177(0xc7))]();_0x4300cf[_0x2ae177(0x277)](_0x51bf9d[_0x2ae177(0x1c7)][_0x2ae177(0x32d)](_0x4b7b1f=>_0x314e2d['next'](_0x4b7b1f))),_0x4300cf['add'](a['toDisposable'](()=>_0x314e2d[_0x2ae177(0x395)]()));const _0x1905c7=new H['Subject']();_0x4300cf[_0x2ae177(0x277)](_0x51bf9d[_0x2ae177(0x3f4)]['subscribe'](_0x446b6a=>{var _0x5aa98e=_0x2ae177;const _0x4e9bc8=Ot(_0x446b6a);_0x1905c7[_0x5aa98e(0x3d5)](_0x4e9bc8);})),_0x4300cf['add'](a[_0x2ae177(0x177)](()=>_0x1905c7[_0x2ae177(0x395)]()));let _0x32331f;const _0x3d1d00=()=>{var _0x52ec76=_0x2ae177;_0x314e2d[_0x52ec76(0x3d5)](new Event(_0x52ec76(0x168))),_0x6e9bb4[_0x52ec76(0x3d5)](new CloseEvent('connection\x20error')),_0x32331f[_0x52ec76(0x17d)]();};return _0x32331f={'memberID':'','close$':_0x6e9bb4[_0x2ae177(0x2f1)](),'error$':_0x314e2d[_0x2ae177(0x2f1)](),'open$':_0x51bf9d[_0x2ae177(0x401)],'message$':_0x1905c7['asObservable'](),'send':_0x572386=>{var _0x5827c3=_0x2ae177;if(_0x572386[_0x5827c3(0x396)]===G[_0x5827c3(0x3b0)]){if(_0x572386[_0x5827c3(0x34e)]['eventID']===m[_0x5827c3(0x360)][_0x5827c3(0x191)]){this[_0x5827c3(0x34c)](_0x32331f,_0x572386[_0x5827c3(0x34e)])['catch'](_0x39fe86=>{var _0x45a5c0=_0x5827c3;this[_0x45a5c0(0x34d)][_0x45a5c0(0x99)](_0x39fe86),_0x3d1d00();});return;}if(_0x572386[_0x5827c3(0x34e)][_0x5827c3(0x260)]===m[_0x5827c3(0x360)]['FETCH_MISSING']){const _0x5142c6=_0x572386['data'];this[_0x5827c3(0x125)](_0x5142c6)[_0x5827c3(0x3c5)](_0xde5405=>{var _0x1d3414=_0x5827c3;_0x1905c7[_0x1d3414(0x3d5)]({'cmd':G[_0x1d3414(0x11e)],'code':he['OK'],'routeKey':_0x5142c6[_0x1d3414(0x34e)][_0x1d3414(0x329)],'routeType':'','data':{'eventID':m[_0x1d3414(0x360)][_0x1d3414(0x200)],'data':{'changesets':_0xde5405}}});})['catch'](_0x17f763=>{var _0x10705c=_0x5827c3;this['_logService'][_0x10705c(0x99)](_0x17f763),_0x3d1d00();});return;}}_0x51bf9d[_0x5827c3(0x2a6)](yt(_0x572386));},'close':()=>{var _0x4195c1=_0x2ae177;_0x51bf9d['close'](),_0x4300cf[_0x4195c1(0x1b2)]();}},_0x32331f;}async[_0x2b18bd(0x34c)](_0x5ad978,_0x295078){var _0x53870f=_0x2b18bd,_0x566967,_0x1e2d9c;const {unitType:_0x1575f2,unitID:_0x33799d,changeset:_0x274f02}=_0x295078[_0x53870f(0x34e)],_0x55e61d={'unitID':_0x33799d,'memberID':_0x5ad978[_0x53870f(0x3f1)],'type':_0x1575f2,'changeset':m[_0x53870f(0x3c4)](_0x274f02)},_0x48f4c8=this[_0x53870f(0x2c6)][_0x53870f(0x15d)](Et),_0x402a64=this[_0x53870f(0x2c6)][_0x53870f(0x15d)](Y),_0x2ebd50=tn((_0x1e2d9c=(_0x566967=_0x402a64==null?void 0x0:_0x402a64[_0x53870f(0x2f6)])!=null?_0x566967:_0x48f4c8)!=null?_0x1e2d9c:qt,_0x1575f2,_0x33799d);try{await this['_http'][_0x53870f(0x116)](_0x2ebd50,{'body':_0x55e61d});}catch(_0x555ed4){throw this[_0x53870f(0x34d)]['error'](_0x53870f(0x392),_0x53870f(0x31c)),_0x555ed4;}}async[_0x2b18bd(0x125)](_0x2078fa){var _0x54152a=_0x2b18bd;const {unitID:_0x4aa9c3,from:_0x2073de,to:_0x2512bc,unitType:_0x1ce780}=_0x2078fa[_0x54152a(0x34e)];return(await this[_0x54152a(0x3d0)][_0x54152a(0x306)]({'metadata':void 0x0},{'unitID':_0x4aa9c3,'type':_0x1ce780,'from':_0x2073de,'to':_0x2512bc}))[_0x54152a(0x33e)];}},exports[_0x2b18bd(0x2c2)]=en([ue(0x0,a[_0x2b18bd(0x1c4)](a['Injector'])),ue(0x1,a[_0x2b18bd(0x1c4)](q[_0x2b18bd(0x347)])),ue(0x2,a['IConfigService']),ue(0x3,a[_0x2b18bd(0x304)]),ue(0x4,m[_0x2b18bd(0x208)])],exports[_0x2b18bd(0x2c2)]);const nn=_0x2b18bd(0x269);function rn(_0x357ae5){var _0x173cf7=_0x2b18bd;return JSON[_0x173cf7(0x2fa)](_0x357ae5)[_0x173cf7(0x327)];}class Be{constructor(){var _0x5cf13f=_0x2b18bd;D(this,'_commentUpdate$',new H[(_0x5cf13f(0xc7))]()),D(this,_0x5cf13f(0x9f),this[_0x5cf13f(0x137)][_0x5cf13f(0x2f1)]());}[_0x2b18bd(0x357)](_0x4efd75){var _0x590644=_0x2b18bd;this[_0x590644(0x137)][_0x590644(0x3d5)](_0x4efd75);}}var sn=Object[_0x2b18bd(0x222)],on=Object[_0x2b18bd(0x1b9)],an=(_0x9ea03,_0x457a09,_0x26b3c1,_0x1fb9df)=>{var _0x147b96=_0x2b18bd;for(var _0x3c1774=_0x1fb9df>0x1?void 0x0:_0x1fb9df?on(_0x457a09,_0x26b3c1):_0x457a09,_0xb495e2=_0x9ea03[_0x147b96(0x327)]-0x1,_0x901079;_0xb495e2>=0x0;_0xb495e2--)(_0x901079=_0x9ea03[_0xb495e2])&&(_0x3c1774=(_0x1fb9df?_0x901079(_0x457a09,_0x26b3c1,_0x3c1774):_0x901079(_0x3c1774))||_0x3c1774);return _0x1fb9df&&_0x3c1774&&sn(_0x457a09,_0x26b3c1,_0x3c1774),_0x3c1774;},Ye=(_0x145c34,_0x523c52)=>(_0x31b063,_0x410ae4)=>_0x523c52(_0x31b063,_0x410ae4,_0x145c34);exports['MemberService']=class extends a[_0x2b18bd(0x3d4)]{constructor(_0x203a14,_0x2d8bab){var _0x42b301=_0x2b18bd;super(),D(this,_0x42b301(0x1a7),new Map()),D(this,_0x42b301(0x276),new H['Subject']()),(this['_univerInstanceService']=_0x203a14,this['_userManagerService']=_0x2d8bab,this[_0x42b301(0x2d2)](H[_0x42b301(0x2d1)](this['_univerInstanceService'][_0x42b301(0x3cd)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x42b301(0xbe)](W[_0x42b301(0x2d9)](_0x6e712d=>_0x6e712d['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x42b301(0x1c3)][_0x42b301(0x39b)])[_0x42b301(0xbe)](W[_0x42b301(0x2d9)](_0x369272=>_0x369272['getUnitId']())),this[_0x42b301(0x3c2)][_0x42b301(0x3cd)](a['UniverInstanceType'][_0x42b301(0x30e)])[_0x42b301(0xbe)](W['map'](_0x11ecd5=>_0x11ecd5[_0x42b301(0x11a)]())))[_0x42b301(0x32d)](_0x2c15be=>this[_0x42b301(0xf5)](_0x2c15be))));}[_0x2b18bd(0x231)](_0x3264f0){var _0x20b7b7=_0x2b18bd;return this[_0x20b7b7(0x1a7)][_0x20b7b7(0x181)](_0x3264f0)?H['of'](this[_0x20b7b7(0x1a7)]['get'](_0x3264f0)):this[_0x20b7b7(0x276)][_0x20b7b7(0xbe)](W[_0x20b7b7(0x2d9)](_0x2ad5c6=>{var _0x50a0b1=_0x20b7b7;if(_0x2ad5c6===_0x3264f0)return this[_0x50a0b1(0x1a7)][_0x50a0b1(0x263)](_0x2ad5c6);}));}[_0x2b18bd(0xf3)](_0x5e348e){var _0x200844=_0x2b18bd;this[_0x200844(0x283)][_0x200844(0xf3)](_0x5e348e);}[_0x2b18bd(0x386)](){var _0x142525=_0x2b18bd;return this[_0x142525(0x283)]['getCurrentUser']();}['updateMember'](_0x45fa16,_0x3926e9){var _0x3d7e53=_0x2b18bd;let _0xf6a034=this[_0x3d7e53(0x1a7)]['get'](_0x45fa16);_0xf6a034||(_0xf6a034=new cn(),this[_0x3d7e53(0x1a7)][_0x3d7e53(0x3f6)](_0x45fa16,_0xf6a034),this[_0x3d7e53(0x276)][_0x3d7e53(0x3d5)](_0x45fa16)),_0xf6a034[_0x3d7e53(0x2aa)](_0x3926e9);}[_0x2b18bd(0x121)](_0x424e2b,_0x4cf01){var _0x3f88f2=_0x2b18bd;const _0x21ddf3=this[_0x3f88f2(0x1a7)][_0x3f88f2(0x263)](_0x424e2b);_0x21ddf3&&_0x21ddf3[_0x3f88f2(0x121)](_0x4cf01);}[_0x2b18bd(0x371)](_0x40e618){var _0x14fe6d=_0x2b18bd;return this[_0x14fe6d(0x1a7)][_0x14fe6d(0x263)](_0x40e618);}[_0x2b18bd(0x2ae)](_0xa85c8a,_0x22e685){var _0x25d036=_0x2b18bd;const _0x3e94d7=this[_0x25d036(0x1a7)][_0x25d036(0x263)](_0xa85c8a);if(_0x3e94d7)return _0x3e94d7['getMember'](_0x22e685);}[_0x2b18bd(0xf5)](_0x4a0082){var _0x6eed0d=_0x2b18bd;const _0x26c179=this[_0x6eed0d(0x1a7)][_0x6eed0d(0x263)](_0x4a0082);_0x26c179&&(_0x26c179['dispose'](),this[_0x6eed0d(0x1a7)][_0x6eed0d(0x1b7)](_0x4a0082));}['dispose'](){var _0x37043b=_0x2b18bd;this[_0x37043b(0x1a7)]['forEach'](_0x47c37a=>_0x47c37a['dispose']()),this[_0x37043b(0x1a7)][_0x37043b(0x201)](),this['_roomCreated$']['complete']();}},exports[_0x2b18bd(0x2f8)]=an([Ye(0x0,a[_0x2b18bd(0x21f)]),Ye(0x1,a['Inject'](a['UserManagerService']))],exports['MemberService']);class cn extends a[_0x2b18bd(0x3d4)]{constructor(){var _0x1735d2=_0x2b18bd;super(...arguments),D(this,_0x1735d2(0x2b8),new Map()),D(this,'_members$',new H['BehaviorSubject'](this[_0x1735d2(0x2b8)])),D(this,_0x1735d2(0x31e),this[_0x1735d2(0x8e)]['asObservable']());}['dispose'](){var _0x2bf83d=_0x2b18bd;this[_0x2bf83d(0x2b8)][_0x2bf83d(0x201)]();}['updateMember'](_0xd01f62){var _0x438d4a=_0x2b18bd;this[_0x438d4a(0x2b8)]['set'](_0xd01f62[_0x438d4a(0x3f1)],_0xd01f62),this[_0x438d4a(0xf0)]();}[_0x2b18bd(0x121)](_0x33f0e3){var _0x4528d2=_0x2b18bd;this[_0x4528d2(0x2b8)]['delete'](_0x33f0e3);}[_0x2b18bd(0x2ae)](_0x59663a){var _0x1fd49f=_0x2b18bd;return this[_0x1fd49f(0x2b8)][_0x1fd49f(0x263)](_0x59663a);}[_0x2b18bd(0x30c)](){var _0x857e00=_0x2b18bd;return Array[_0x857e00(0x2d0)](this[_0x857e00(0x2b8)][_0x857e00(0x1d7)]());}[_0x2b18bd(0xf0)](){var _0x244877=_0x2b18bd;this['_members$'][_0x244877(0x3d5)](this[_0x244877(0x2b8)]);}}var hn=Object[_0x2b18bd(0x222)],ln=Object[_0x2b18bd(0x1b9)],_n=(_0x45450a,_0x53c28a,_0x1d6271,_0x18b976)=>{var _0x11eb4e=_0x2b18bd;for(var _0x583efc=_0x18b976>0x1?void 0x0:_0x18b976?ln(_0x53c28a,_0x1d6271):_0x53c28a,_0x10c8ca=_0x45450a[_0x11eb4e(0x327)]-0x1,_0x51eba8;_0x10c8ca>=0x0;_0x10c8ca--)(_0x51eba8=_0x45450a[_0x10c8ca])&&(_0x583efc=(_0x18b976?_0x51eba8(_0x53c28a,_0x1d6271,_0x583efc):_0x51eba8(_0x583efc))||_0x583efc);return _0x18b976&&_0x583efc&&hn(_0x53c28a,_0x1d6271,_0x583efc),_0x583efc;},oe=(_0x2d7737,_0x1ae3a9)=>(_0x1a4f3b,_0x5e4f9b)=>_0x1ae3a9(_0x1a4f3b,_0x5e4f9b,_0x2d7737),se=(_0x385ed2=>(_0x385ed2[_0x385ed2['IDLE']=0x0]=_0x2b18bd(0x9b),_0x385ed2[_0x385ed2['JOINING']=0x1]=_0x2b18bd(0x2e6),_0x385ed2[_0x385ed2['OFFLINE']=0x2]=_0x2b18bd(0x157),_0x385ed2[_0x385ed2[_0x2b18bd(0x1f4)]=0x3]=_0x2b18bd(0x1f4),_0x385ed2))(se||{});const qe={[he[_0x2b18bd(0x2db)]]:_0x2b18bd(0x3ca),[he[_0x2b18bd(0x29f)]]:_0x2b18bd(0x2e8),[he[_0x2b18bd(0x20e)]]:'session.room-not-exists',[he[_0x2b18bd(0x171)]]:_0x2b18bd(0x23a),[he[_0x2b18bd(0x37b)]]:_0x2b18bd(0x1af)};exports[_0x2b18bd(0xd9)]=class extends a['RxDisposable']{constructor(_0x483963,_0x3e850f,_0x5ae722,_0x2acf9e,_0x78a65c,_0x3c6fc6,_0x2e41b8,_0xe4b3da,_0x1427e7){var _0x40c4b4=_0x2b18bd;super(),D(this,'_sessionStatus$',new H[(_0x40c4b4(0x153))](0x0)),D(this,'sessionStatus$',this[_0x40c4b4(0x3bc)][_0x40c4b4(0x2f1)]()),D(this,_0x40c4b4(0x39a),new H[(_0x40c4b4(0xc7))]()),D(this,_0x40c4b4(0x3af),this[_0x40c4b4(0x39a)]['asObservable']()),D(this,'_socket'),D(this,'_socketMessageSubscription'),D(this,_0x40c4b4(0x345)),D(this,_0x40c4b4(0x1b6),!0x1),D(this,_0x40c4b4(0x364),null),(this[_0x40c4b4(0x214)]=_0x483963,this['_logService']=_0x5ae722,this[_0x40c4b4(0x2c6)]=_0x2acf9e,this[_0x40c4b4(0xe5)]=_0x78a65c,this[_0x40c4b4(0x2b1)]=_0x3c6fc6,this[_0x40c4b4(0x2b3)]=_0x2e41b8,this[_0x40c4b4(0x377)]=_0xe4b3da,this[_0x40c4b4(0x13f)]=_0x1427e7,this[_0x40c4b4(0x1b6)]=!!this['_telemetryService'],_0x3e850f[_0x40c4b4(0xbe)](H[_0x40c4b4(0x90)](this[_0x40c4b4(0x1e8)]))[_0x40c4b4(0x32d)](_0x4dd813=>{var _0x5211ed=_0x40c4b4,_0x41f6a8;typeof _0x4dd813>'u'||(this[_0x5211ed(0x1e9)]=_0x4dd813,_0x4dd813?(this[_0x5211ed(0x1cf)](_0x4dd813),this['_socketMessageSubscription']=_0x4dd813['message$'][_0x5211ed(0x32d)](_0x214f13=>{var _0x1e9e18=_0x5211ed;_0x214f13[_0x1e9e18(0xf1)]===this[_0x1e9e18(0x214)]&&this[_0x1e9e18(0xf7)](_0x214f13);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5211ed(0x3bc)][_0x5211ed(0x3d5)](0x2),(_0x41f6a8=this[_0x5211ed(0x287)])==null||_0x41f6a8[_0x5211ed(0x3ff)](),this[_0x5211ed(0x287)]=null));}));}get[_0x2b18bd(0x234)](){var _0x11b03c=_0x2b18bd;return this[_0x11b03c(0x3bc)][_0x11b03c(0x3d6)]();}[_0x2b18bd(0x405)](){var _0x4db7ad=_0x2b18bd,_0x351c0a,_0x25115e;return(_0x25115e=(_0x351c0a=this[_0x4db7ad(0x1e9)])==null?void 0x0:_0x351c0a[_0x4db7ad(0x3f1)])!=null?_0x25115e:null;}[_0x2b18bd(0x1b2)](){var _0x81ccd1=_0x2b18bd;super['dispose'](),this[_0x81ccd1(0x1e8)][_0x81ccd1(0x3d5)](),this[_0x81ccd1(0x1e8)][_0x81ccd1(0x395)]();}[_0x2b18bd(0x17d)](){var _0x14d2f4=_0x2b18bd,_0x3e488d,_0x66f326;this[_0x14d2f4(0x17b)](),(_0x3e488d=this[_0x14d2f4(0x1e9)])==null||_0x3e488d[_0x14d2f4(0x2a6)]({'cmd':G[_0x14d2f4(0x2f9)],'data':{'roomID':this[_0x14d2f4(0x214)]}}),(_0x66f326=this[_0x14d2f4(0x1e9)])==null||_0x66f326['close'](),this[_0x14d2f4(0x39a)]['complete'](),this[_0x14d2f4(0x3bc)][_0x14d2f4(0x395)](),this[_0x14d2f4(0x1b2)]();}[_0x2b18bd(0xf7)](_0x59c2fc){var _0xf4ddb5=_0x2b18bd;_0x59c2fc[_0xf4ddb5(0x396)]===G[_0xf4ddb5(0x341)]?this[_0xf4ddb5(0x3da)](_0x59c2fc):_0x59c2fc[_0xf4ddb5(0x396)]===G['RECV']&&this['_onRecvEvent'](_0x59c2fc);}[_0x2b18bd(0x1cf)](_0xcaae87){var _0x492e82=_0x2b18bd;this['_sessionStatus$'][_0x492e82(0x3d5)](0x1),_0xcaae87[_0x492e82(0x2a6)]({'cmd':G[_0x492e82(0x341)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x492e82(0x214)]}]}});}[_0x2b18bd(0x3da)](_0x3cc3e5){var _0x1144d3=_0x2b18bd,_0x3d71ff;if(_0x3cc3e5[_0x1144d3(0x1fc)]in qe){this[_0x1144d3(0x377)][_0x1144d3(0xb8)]({'id':Q[_0x1144d3(0x209)],'data':qe[_0x3cc3e5[_0x1144d3(0x1fc)]]}),this['_sessionStatus$'][_0x1144d3(0x3d5)](0x2);return;}this[_0x1144d3(0x3bc)]['next'](0x3);const _0x1d5528=(_0x3d71ff=_0x3cc3e5[_0x1144d3(0x34e)][_0x1144d3(0x253)][this['_unitID']])==null?void 0x0:_0x3d71ff[_0x1144d3(0x11c)];_0x1d5528&&_0x1d5528[_0x1144d3(0xec)](_0x20d3ec=>this['_memberService']['updateMember'](this['_unitID'],_0x20d3ec));}[_0x2b18bd(0x14b)](_0x350058){var _0x44a801=_0x2b18bd;try{const _0x2e91c6=_0x350058['data'];switch(_0x2e91c6[_0x44a801(0x260)]){case m['CollaborationEvent'][_0x44a801(0x192)]:this[_0x44a801(0x11d)](_0x2e91c6),this[_0x44a801(0x39a)]['next'](_0x2e91c6);break;case m[_0x44a801(0x360)][_0x44a801(0x38a)]:this[_0x44a801(0x370)](_0x2e91c6),this['_event$']['next'](_0x2e91c6);break;case m[_0x44a801(0x360)][_0x44a801(0x252)]:case m['CollaborationEvent'][_0x44a801(0x148)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x44a801(0x3d5)](_0x2e91c6);break;case m['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x44a801(0x34d)][_0x44a801(0x99)](_0x44a801(0x238)+JSON[_0x44a801(0x2fa)](_0x2e91c6)),this['_event$'][_0x44a801(0x3d5)](_0x2e91c6);break;case m[_0x44a801(0x360)]['COMMENT_UPDATE']:this[_0x44a801(0x2b3)]['onCommentUpdate'](_0x2e91c6[_0x44a801(0x34e)]),this[_0x44a801(0x39a)][_0x44a801(0x3d5)](_0x2e91c6);break;default:this[_0x44a801(0x39a)][_0x44a801(0x3d5)](_0x2e91c6);}}catch(_0x4775f0){this[_0x44a801(0x34d)][_0x44a801(0x99)](_0x4775f0,_0x350058);}}[_0x2b18bd(0x11d)](_0x5af7e7){var _0x3a326b=_0x2b18bd;this[_0x3a326b(0x2b1)]['updateMember'](this[_0x3a326b(0x214)],_0x5af7e7['data']);}[_0x2b18bd(0x370)](_0x7b9cca){var _0x181f57=_0x2b18bd;this[_0x181f57(0x2b1)][_0x181f57(0x121)](this['_unitID'],_0x7b9cca[_0x181f57(0x34e)]['memberID']);}async['send'](_0x54326a,_0x564689){var _0x1b2db7=_0x2b18bd;if(this[_0x1b2db7(0x234)]!==0x3||!this[_0x1b2db7(0x1e9)])throw new Error(_0x1b2db7(0x109));try{_0x54326a[_0x1b2db7(0x260)]===m[_0x1b2db7(0x360)][_0x1b2db7(0x191)]&&(this[_0x1b2db7(0x9e)](),this[_0x1b2db7(0x183)](_0x54326a)),this[_0x1b2db7(0x1e9)][_0x1b2db7(0x2a6)]({'cmd':G[_0x1b2db7(0x3b0)],'routeKey':_0x564689,'routeType':'','data':_0x54326a});}catch(_0x207991){this['_logService']['error'](_0x207991);}}[_0x2b18bd(0x9e)](){var _0x4dff1e=_0x2b18bd,_0x237caf;this[_0x4dff1e(0x345)]=setTimeout(()=>{var _0x49149c=_0x4dff1e;this[_0x49149c(0x345)]=null,this[_0x49149c(0x377)]['emitEvent']({'id':Q[_0x49149c(0x366)]});},(_0x237caf=this['_configService'][_0x4dff1e(0x15d)](He))!=null?_0x237caf:gt);}[_0x2b18bd(0x339)](){var _0xe2dd2f=_0x2b18bd;this[_0xe2dd2f(0x345)]&&(clearTimeout(this[_0xe2dd2f(0x345)]),this[_0xe2dd2f(0x345)]=null);}[_0x2b18bd(0x183)](_0x1d3e55){var _0x214ad1=_0x2b18bd;if(!this['_shouldReportTelemetry'])return;const {data:_0x5721e6}=_0x1d3e55,{unitID:_0x4c7942,changeset:_0x488077}=_0x5721e6,{mutations:_0x285214,type:_0x2f974a}=_0x488077;this[_0x214ad1(0x364)]={'unitId':_0x4c7942,'type':_0x2f974a,'startTime':performance[_0x214ad1(0x251)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x285214)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4996a3=_0x2b18bd;if(this[_0x4996a3(0x1b6)]){if(!this['_telemetryInfo']){this[_0x4996a3(0x34d)]['error'](_0x4996a3(0x392),_0x4996a3(0x96));return;}this[_0x4996a3(0x364)][_0x4996a3(0x317)]=performance[_0x4996a3(0x251)](),this['_telemetryInfo'][_0x4996a3(0x21d)]=this[_0x4996a3(0x364)][_0x4996a3(0x317)]-this[_0x4996a3(0x364)][_0x4996a3(0x3e7)],this[_0x4996a3(0x13f)][_0x4996a3(0xbf)](nn,this[_0x4996a3(0x364)]),this[_0x4996a3(0x364)]=null;}}[_0x2b18bd(0x17b)](){this['_telemetryInfo']=null;}},exports[_0x2b18bd(0xd9)]=_n([oe(0x2,a[_0x2b18bd(0x304)]),oe(0x3,a['IConfigService']),oe(0x4,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x27a)])),oe(0x5,a[_0x2b18bd(0x1c4)](exports[_0x2b18bd(0x2f8)])),oe(0x6,a[_0x2b18bd(0x1c4)](Be)),oe(0x7,a[_0x2b18bd(0x1c4)](te)),oe(0x8,a[_0x2b18bd(0x34a)](jt[_0x2b18bd(0x3f3)]))],exports['CollaborationSession']);var un=Object[_0x2b18bd(0x222)],dn=Object[_0x2b18bd(0x1b9)],vn=(_0x28466c,_0x25b667,_0xb9c223,_0xdcc560)=>{var _0x324526=_0x2b18bd;for(var _0x2864f8=_0xdcc560>0x1?void 0x0:_0xdcc560?dn(_0x25b667,_0xb9c223):_0x25b667,_0x2d0586=_0x28466c[_0x324526(0x327)]-0x1,_0x5bcff5;_0x2d0586>=0x0;_0x2d0586--)(_0x5bcff5=_0x28466c[_0x2d0586])&&(_0x2864f8=(_0xdcc560?_0x5bcff5(_0x25b667,_0xb9c223,_0x2864f8):_0x5bcff5(_0x2864f8))||_0x2864f8);return _0xdcc560&&_0x2864f8&&un(_0x25b667,_0xb9c223,_0x2864f8),_0x2864f8;},ae=(_0x29698c,_0x128299)=>(_0x4ef092,_0x525bf3)=>_0x128299(_0x4ef092,_0x525bf3,_0x29698c);exports[_0x2b18bd(0xbd)]=class extends a[_0x2b18bd(0x3d4)]{constructor(_0x9cef55,_0x307e1f,_0x58a857,_0x42f802,_0xb59737,_0x4a46ce,_0x4b9ad0){var _0x437030=_0x2b18bd;super(),D(this,_0x437030(0xcf),new H['BehaviorSubject'](void 0x0)),D(this,'socket$',this[_0x437030(0xcf)]['asObservable']()),D(this,_0x437030(0x15f),null),D(this,_0x437030(0x262),new Map()),D(this,_0x437030(0x14e),new H[(_0x437030(0x153))](se['IDLE'])),D(this,'status$',this[_0x437030(0x14e)]['asObservable']()),D(this,_0x437030(0x2e1),!0x1),D(this,_0x437030(0x2b9)),D(this,_0x437030(0x282),0x0),D(this,_0x437030(0x3ee)),D(this,_0x437030(0x17a)),(this[_0x437030(0x30a)]=_0x9cef55,this[_0x437030(0x34d)]=_0x307e1f,this[_0x437030(0x2c6)]=_0x58a857,this[_0x437030(0x2ad)]=_0x42f802,this[_0x437030(0x1f5)]=_0xb59737,this[_0x437030(0x377)]=_0x4a46ce,this['_networkConditionService']=_0x4b9ad0,this[_0x437030(0x337)]());}get[_0x2b18bd(0x1e9)](){var _0xed242=_0x2b18bd;return this[_0xed242(0xcf)][_0xed242(0x3d6)]();}[_0x2b18bd(0x337)](){var _0x2dbf73=_0x2b18bd;this[_0x2dbf73(0x26b)]&&this[_0x2dbf73(0x2d2)](this[_0x2dbf73(0x26b)][_0x2dbf73(0x8b)][_0x2dbf73(0x32d)](_0x57cdf3=>{_0x57cdf3&&!this['_socket']&&this['reconnect'](),_0x57cdf3||this['_onOffline']();}));}[_0x2b18bd(0x1b2)](){var _0x5181b3=_0x2b18bd;super[_0x5181b3(0x1b2)](),this[_0x5181b3(0x262)]['forEach'](_0x3809e7=>_0x3809e7[_0x5181b3(0x1b2)]()),this['_sessions'][_0x5181b3(0x201)](),this['_status$'][_0x5181b3(0x395)]();}async['requireSession'](_0x50d9f4){var _0x59622d=_0x2b18bd;if(this[_0x59622d(0x262)]['has'](_0x50d9f4))return this[_0x59622d(0x262)][_0x59622d(0x263)](_0x50d9f4);this[_0x59622d(0x265)]();const _0x3d2e7b=this[_0x59622d(0x30a)][_0x59622d(0xd8)](exports['CollaborationSession'],_0x50d9f4,this[_0x59622d(0xcf)][_0x59622d(0x2f1)]());return this[_0x59622d(0x262)][_0x59622d(0x3f6)](_0x50d9f4,_0x3d2e7b),_0x3d2e7b;}['closeSession'](_0x4dea24){var _0xbf0451=_0x2b18bd,_0x5f2de6;const _0x3dc9c7=this[_0xbf0451(0x262)]['get'](_0x4dea24);_0x3dc9c7&&(this[_0xbf0451(0x262)][_0xbf0451(0x1b7)](_0x4dea24),_0x3dc9c7[_0xbf0451(0x17d)]()),this['_sessions'][_0xbf0451(0x1dd)]||(_0x5f2de6=this[_0xbf0451(0x1e9)])==null||_0x5f2de6[_0xbf0451(0x17d)]();}['reconnect'](){var _0x21354f=_0x2b18bd;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x21354f(0x375)]();}async[_0x2b18bd(0x388)](){var _0x335de0=_0x2b18bd,_0x35e6cb,_0x11ae5f,_0x5a6be0;const _0x34535a=this[_0x335de0(0x2c6)][_0x335de0(0x15d)](Y),_0xca5e42=(_0x35e6cb=_0x34535a==null?void 0x0:_0x34535a['wsSessionTicketUrl'])!=null?_0x35e6cb:Ft;return(_0x5a6be0=(_0x11ae5f=(await this['_httpService'][_0x335de0(0x263)](_0xca5e42,{'headers':{'Content-Type':_0x335de0(0x2e2)}}))['body'])==null?void 0x0:_0x11ae5f['ticket'])!=null?_0x5a6be0:'';}[_0x2b18bd(0x1c8)](_0x3fec76){var _0x211390=_0x2b18bd,_0x4be883,_0x3bc540;const _0x1e858b=this['_configService'][_0x211390(0x15d)](St),_0x585a05=this[_0x211390(0x2c6)][_0x211390(0x15d)](Y),_0x11b108=(_0x3bc540=(_0x4be883=_0x585a05==null?void 0x0:_0x585a05[_0x211390(0x132)])!=null?_0x4be883:_0x1e858b)!=null?_0x3bc540:pt,_0x5f1e7f=typeof window>'u'?new URL(_0x11b108):new URL(_0x11b108,window[_0x211390(0x35d)]['origin']);_0x5f1e7f[_0x211390(0x2c5)]['set'](_0x211390(0x1d3),_0x3fec76);const _0x462f9b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x211390(0x35d)]['search']);return _0x462f9b[_0x211390(0x263)](_0x211390(0x2a5))&&_0x5f1e7f[_0x211390(0x2c5)]['set'](_0x211390(0x2a5),_0x462f9b['get'](_0x211390(0x2a5))),_0x5f1e7f[_0x211390(0xc2)]();}async[_0x2b18bd(0x146)](){var _0x528659=_0x2b18bd;const _0x2e3a57=await this[_0x528659(0x388)](),_0x502531=this[_0x528659(0x1c8)](_0x2e3a57),_0x62a826=this[_0x528659(0x2ad)]['createSocket'](_0x502531);return this[_0x528659(0x15f)]=_0x62a826,_0x62a826;}async[_0x2b18bd(0x265)](){var _0x4d26b0=_0x2b18bd,_0xd45972,_0x13f368;try{const _0x51adbf=(_0x13f368=(_0xd45972=this[_0x4d26b0(0x1e9)])!=null?_0xd45972:this['_candidateSocket'])!=null?_0x13f368:await this[_0x4d26b0(0x146)]();if(_0x51adbf){const _0x21492f=_0x51adbf['send'];_0x51adbf[_0x4d26b0(0x2a6)]=_0x4b6c3b=>(this['_rescheduleHeartbeat'](),_0x21492f[_0x4d26b0(0xc9)](_0x51adbf,[_0x4b6c3b])),_0x51adbf[_0x4d26b0(0x3f4)][_0x4d26b0(0x32d)](_0x20d4af=>this[_0x4d26b0(0x296)](_0x51adbf,_0x20d4af)),_0x51adbf[_0x4d26b0(0x1c7)][_0x4d26b0(0xbe)](W[_0x4d26b0(0x2bb)](0x1))[_0x4d26b0(0x32d)](_0x29030a=>this[_0x4d26b0(0x34d)][_0x4d26b0(0x99)](_0x4d26b0(0xb3),_0x29030a)),_0x51adbf[_0x4d26b0(0x401)][_0x4d26b0(0xbe)](W['take'](0x1))['subscribe'](()=>{var _0xa318b0=_0x4d26b0;this[_0xa318b0(0x3ae)](_0x51adbf);}),_0x51adbf[_0x4d26b0(0x3e4)][_0x4d26b0(0xbe)](W[_0x4d26b0(0x2bb)](0x1))[_0x4d26b0(0x32d)](_0x2d90e9=>{var _0x4b343c=_0x4d26b0;this[_0x4b343c(0x34d)][_0x4b343c(0x2bc)](_0x4b343c(0x3e5),_0x4b343c(0x28e),_0x2d90e9),this[_0x4b343c(0x198)]();});}}catch(_0x3df04c){this[_0x4d26b0(0x34d)][_0x4d26b0(0x99)](_0x3df04c),this[_0x4d26b0(0x198)]();}}[_0x2b18bd(0x3ae)](_0x26ef4f){var _0x3cd797=_0x2b18bd;this[_0x3cd797(0x34d)][_0x3cd797(0x2bc)](_0x3cd797(0x3e5),_0x3cd797(0x2ea)),_0x26ef4f[_0x3cd797(0x2a6)]({'cmd':G[_0x3cd797(0x1d9)]}),this['_rescheduleHeartbeat']();}[_0x2b18bd(0x400)](){var _0x48b5f4=_0x2b18bd;this[_0x48b5f4(0x2e1)]=!0x1,this[_0x48b5f4(0x15f)]=null,this[_0x48b5f4(0x14e)][_0x48b5f4(0x3d5)](se[_0x48b5f4(0x157)]),this['_socket$'][_0x48b5f4(0x3d5)](null),this[_0x48b5f4(0x29c)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0xc2861f=_0x2b18bd,_0x464109;this[_0xc2861f(0x400)](),this[_0xc2861f(0x282)]<((_0x464109=this[_0xc2861f(0x2c6)]['getConfig'](It))!=null?_0x464109:Vt)?(this[_0xc2861f(0x377)][_0xc2861f(0xb8)]({'id':Q[_0xc2861f(0x3a8)]}),this[_0xc2861f(0x375)]()):this[_0xc2861f(0x377)][_0xc2861f(0xb8)]({'id':Q[_0xc2861f(0xc1)]});}[_0x2b18bd(0x375)](){var _0x4004b3=_0x2b18bd,_0xb6cb0c;const _0x9d09e=this['_retryCount'],_0xd08092=this[_0x4004b3(0x2c6)][_0x4004b3(0x15d)](Y),_0x4addfa=_0x9d09e===0x0?0x0:((_0xb6cb0c=_0xd08092==null?void 0x0:_0xd08092[_0x4004b3(0xfe)])!=null?_0xb6cb0c:Gt)*0x2**_0x9d09e;this[_0x4004b3(0x2b9)]=setTimeout(()=>{var _0x5274b4=_0x4004b3;clearTimeout(this['_retryConnectingTimer']),this[_0x5274b4(0x2b9)]=null,this[_0x5274b4(0x265)]();},_0x4addfa),this[_0x4004b3(0x282)]+=0x1;}[_0x2b18bd(0x296)](_0x1b3a99,_0x1f3e4f){var _0x2441f5=_0x2b18bd;const {cmd:_0x7c1568}=_0x1f3e4f;_0x7c1568===G[_0x2441f5(0x1d9)]&&!this['_socketReady']&&(_0x1b3a99['memberID']=_0x1f3e4f[_0x2441f5(0x34e)][_0x2441f5(0x3f1)],this[_0x2441f5(0xcf)][_0x2441f5(0x3d5)](_0x1b3a99),this['_status$'][_0x2441f5(0x3d5)](se[_0x2441f5(0x1f4)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x7c1568===G[_0x2441f5(0x36a)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x2b18bd(0x206)](){var _0x3fd313=_0x2b18bd,_0x3ddb1b;this[_0x3fd313(0xdf)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3fd313(0x25f)](),(_0x3ddb1b=this['_configService'][_0x3fd313(0x15d)](mt))!=null?_0x3ddb1b:Wt);}[_0x2b18bd(0x25f)](){var _0x317ef4=_0x2b18bd;this[_0x317ef4(0x1e9)]['send']({'cmd':G[_0x317ef4(0x36a)]}),this[_0x317ef4(0x308)]();}[_0x2b18bd(0x308)](){var _0x5e9ede=_0x2b18bd,_0x3a75d7;this[_0x5e9ede(0x17a)]=setTimeout(()=>this[_0x5e9ede(0x198)](),(_0x3a75d7=this[_0x5e9ede(0x2c6)]['getConfig'](He))!=null?_0x3a75d7:gt);}[_0x2b18bd(0xdf)](){var _0xfcc1e8=_0x2b18bd;this[_0xfcc1e8(0x3ee)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0xfcc1e8(0x3ee)]=null);}[_0x2b18bd(0x29c)](){var _0x17ab8c=_0x2b18bd;this[_0x17ab8c(0x17a)]!=null&&(clearTimeout(this[_0x17ab8c(0x17a)]),this['_timeoutTimer']=null);}},exports[_0x2b18bd(0xbd)]=vn([ae(0x0,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x112)])),ae(0x1,a[_0x2b18bd(0x304)]),ae(0x2,a[_0x2b18bd(0x343)]),ae(0x3,ke),ae(0x4,a['Inject'](q[_0x2b18bd(0x347)])),ae(0x5,a[_0x2b18bd(0x1c4)](te)),ae(0x6,a[_0x2b18bd(0x34a)](Rt))],exports[_0x2b18bd(0xbd)]);const V=[];for(let r=0x0;r<0x100;++r)V[_0x2b18bd(0x205)]((r+0x100)['toString'](0x10)[_0x2b18bd(0x319)](0x1));function fn(_0x543460,_0x245e53=0x0){return(V[_0x543460[_0x245e53+0x0]]+V[_0x543460[_0x245e53+0x1]]+V[_0x543460[_0x245e53+0x2]]+V[_0x543460[_0x245e53+0x3]]+'-'+V[_0x543460[_0x245e53+0x4]]+V[_0x543460[_0x245e53+0x5]]+'-'+V[_0x543460[_0x245e53+0x6]]+V[_0x543460[_0x245e53+0x7]]+'-'+V[_0x543460[_0x245e53+0x8]]+V[_0x543460[_0x245e53+0x9]]+'-'+V[_0x543460[_0x245e53+0xa]]+V[_0x543460[_0x245e53+0xb]]+V[_0x543460[_0x245e53+0xc]]+V[_0x543460[_0x245e53+0xd]]+V[_0x543460[_0x245e53+0xe]]+V[_0x543460[_0x245e53+0xf]])['toLowerCase']();}function _0x16f4(){var _0x2de530=['focused$','/-/object/list','_onUserLeave','getRoom','_commandService','[FetchMissState]','_hash','_tryReconnect','[OfflineState]:\x20received\x20acknowledgement.','_collaborationUIEventService','put','infoRsp','_redoStacks','GLOBAL_ROOMS_CNT_EXCEEDS','INTERNAL_ERROR','auth.needGotoLoginAlert','baseRev','ThresholdInterceptorFactory','SheetPermissionInitController','_initUnitPermissionChange','ivSize','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_transformService','liveShareNewHost','getCurrentUser','CLOSE_ROOM','_getSessionTicket','loadOfflineData','USERS_LEAVE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','\x20-\x20','execute','_resendWithTimeout','objectID','_getUploadFileURL','saveSnapshot','[CollaborationSession]','univer-pro.collaboration-client-socket-service','_doFinalize','complete','cmd','rev','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformIMECache','_event$','UNIVER_DOC','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','reject','_syncEditingCollabCursor','AuthzIoHttpService','formatter','getCurrentSelections','univer-pro.collaboration-client.single-active-unit-service','status','isTransformChangesetsSuccess','/rev/','_reverseMap','createEncryptor','SOCKET_FAILED_RETRY','symbol','_prevBlock','floor','subUnitId','loginUrlKey','_onConnectionOpen','event$','INGEST','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','OfflineState','_onRemoteACK','signUrlServerUrl','_decreaseWaiting','fetchMiss','random','interceptor','_handlerCallback','m2Prime','getResourcesRequest','_sessionStatus$','failed\x20to\x20apply\x20missed\x20changesets!','Base64','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','result','disableLocalCache','_univerInstanceService','saveImage','parseChangesetToProtocol','then','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','saveChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByStateCache','session.join-failed','SnapshotServerOverHTTPService','_getCurrentRevision','getTypeOfUnitDisposed$','pad','init','_snapshotServerService','OTHER_CLIENT_EDITING','_onRemoteRetry','/universer-api/oidc/authpage','Disposable','next','getValue','HttpExport','every','RevisionService','_onJoinRoomEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onSyncEditingCollabCursor','transformMutationsWithChangeset','DEFAULT_COLLAB_WEB_SOCKET_URL','_createHelper','COLLAB_SUBMIT_CHANGESET_URL','_unitInfo$','ImageUploadStatusType','UnitStatus','close$','[CollaborationSessionService]','appendMutation','startTime','_DEC_XFORM_MODE','pending','finalize','subject','_nDataBytes','awaiting_with_pending','_sendHeartbeatTimer','listRoles','1181496FhFIJe','memberID','getSnapshotAPIPath','ITelemetryService','message$','default','set','onMissedChangesetFetched','MD5','function','StreamCipher','UniverCollaborationClientPlugin','prototype','UNIVER_UNKNOWN','objectType','unsubscribe','_onOffline','open$','/universer-api/file/{fileID}/sign-url','WordArray','mergeOverrideWithDependencies','getMemberID','_initMergeInterceptor','[CollaborationEntity]','_pendingMutations','_getCtorByUniverType','online$','shareReplay','1256HNHQLw','_members$','_onLocalMutation','takeUntil','PendingState','onMissingChangesets','_transformStack','CONNECTOR_DATA_TOO_LARGE','awaiting','telemetry\x20info\x20is\x20not\x20initialized','revision','__Key__','error','RETRY_CONNECTING_MAX_COUNT','IDLE','transformUndoRedo','ciphertext','_scheduleCollaborationTimeoutTimer','commentUpdate$','key','@univerjs/docs','deleteCollaborator','onload','YUUMI_UNABLE_LOAD_URL','params','includes','HMAC','unknown','NO_OTHER_CLIENTS_EDITING','MentionType','BlockCipherMode','SHOULD_CLOSE_CONN','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CHANGESET_REVISION_CONFILICT','fromCharCode','[SyncedState]:\x20received\x20acknowledgement.','Module','action','[CollaborationSessionService]:\x20socket\x20error','_changesetReqId','[UniverCollaborationClientPlugin]','Utf8','encrypt','emitEvent','COLLAB_SUBMIT_CHANGESET_URL_KEY','MUTATION','sheets','Rectangle','CollaborationSessionService','pipe','capture','NoPadding','SOCKET_FAILED','toString','MentionIoHttpService','_updateStatus','UNIVER_PROJECT','_resendTimer','Subject','InsertSheetMutation','apply','&to=','UNIVER_SHEET','UNISCRIPT_RUN','_awaitingChangeset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_socket$','BufferedBlockAlgorithm','ERROR_IMAGE','_isPermissionRej','onStateChange','_waitCount','HTTPRequest','enableAuthServer','LIVESHARE_TERMINATE','createInstance','CollaborationSession','CollaborationUIEventId','_loadSheet','RichTextEditingMutation','UNAUTHENTICATED','keySize','_clearHeartbeatTimer','fetchThroughInterceptors','_sendingTimer','compute','userID','liveShareOperation','_localeService','fetching\x20missing\x20changesets\x20from\x20','UPDATE_PERMISSION_OBJ','_substituteRedoStack','?size=','getWorkbookSelections','bind','forEach','_remoteChangesetQueue','range','CBC','_emitMembers','routeKey','ICommandService','setCurrentUser','165nEcGwQ','_removeRoom','_parse','_onCombEvent','Undefined','_http','onTransformIME','onTransformSelections','[OfflineState]:\x20received\x20changeset.','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','retryConnectingInterval','LOGIN_URL_KEY','PasswordBasedCipher','listCollaborators','_checkMissing','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_iv','ws://127.0.0.1:8000/universer-api/comb/connect','originalMeta','SNAPSHOT_HAS_BEEN_REMOVED','Malformed\x20UTF-8\x20data','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_nRounds','resourceIDs','_transformRemoteChangesetByStateCache','YUUMI_RATE_OVER_LIMIT','b64DecodeUnicode','algo','_clearLocalCache','/object/','Injector','_doCryptBlock','CollaborationUIEventService','EvpKDF','post','_eventService','_instanceService','sendChangesetTimeout','getUnitId','/allowed','members','_onUserJoin','RECV','?url=','LIVESHARE_OPERATION','removeMember','_invKeySchedule','delay','COMPLETION_FINISHED','_fetchMissChangesets','isTransformMutationsWithChangesetSuccess','_clearRedo','_schedule','COLLAB_WEB_SOCKET_URL','DocCollaborationEntity','append','@univerjs/drawing','unitInfo$','_ENC_XFORM_MODE','abs','ImageSourceType','AWAITING_WITH_PENDING','collabWebSocketUrl','CommandType','byteOffset','isPermissionRej','WorkbookEditablePermission','_commentUpdate$','_iKey','__creator','13979ErvzJf','Decryptor','localCacheService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','HEARTBEAT_INTERVAL_KEY','_telemetryService','createIdentifier','_state','Plugin','onSendChangeset','image/jpg','closeSession','_createSocket','clone','CHANGESET_SHOULD_RETRY','transformStack\x20failed!','ConflictState','_onRecvEvent','requireSession','/collaborator','_status$','COMMENT_UPDATE','getInterceptPoints','byteLength','collaboratorID','BehaviorSubject','entries','APPLY_NON_SEQUENTIAL_REVISION','csShouldRetryEvent','OFFLINE','replace','APPLY_PERMISSION_DENIED','_transformRemoteChangesetByIMECache','_compressMutationService','reset','getConfig','getImageSourceCache','_candidateSocket','incrementRevOfUnit','isArray','getRandomValues','_transformUndoredo','offline','FetchingMissState','_startCollaboration','PENDING','connection\x20error','SerializableCipher','_createInitialState','_init','_initDependencies','charCodeAt','&source=','decrypt','_getSendChangesetTimeout','JOIN_ROOM_PERMISSION_DENIED','_hasher','_minBufferSize','DataLoaderService','[DataLoaderService]','/universer-api/snapshot/','toDisposable','rxjs','getFocusedUnit','_timeoutTimer','_throwTelemetryCollaborationNewChangeset','padding','close','csRejEvent','_entityInit$','_toggleOnline','has','fetch_missing','_startTelemetryCollaborationNewChangeset','override','@univerjs/telemetry','_onRemoteChangeset','/block/','json','setConfig','NEW_CHANGESETS','LICENSE_MAX_UNITS_EXCEEDED','/resources','ICollaborationSocketService','state','_createHmacHelper','EXCHANGE_SIGN_URL_SERVER_URL_KEY','SUBMIT_CHANGESET','USERS_ENTER','UNRECOGNIZED','create','APPLY_REJECT','Hex','_resendTimeout','_onConnectionFailed','/universer-api/authz','LIVESHARE_NEW_HOST','touchDependencies','_executeRemoteChangeset','/object','HEARTBEAT_INTERVAL','change$','_imageSourceCache','/unit/','_getSignURL','onTransformRemoteChangesetByIMECache','unitId','onTransformState','getUnitStatus$','_roomMembers','localeService','_onFetchMissResult','_updateLocalCache','transformSelections','type','sin','joinEvent','session.room-cnt-exceeds','href','_showConflictNotification','dispose','isInternalEditorID','_undoStacks','c1Prime','_shouldReportTelemetry','delete','_permissionService','getOwnPropertyDescriptor','DependentOn','_oKey','_key','UNKNOWN_CMD','LocalUndoRedoService','blockSize','addImageSourceCache','ceil','exports','UniverInstanceType','Inject','splice','executeCommand','error$','_createSocketURL','_doReset','headers','file','_collaborationPaused','setWaitCount','_applyRemoteChangeset','_joinRoom','readyForCollab','UUID','workbook','sessionTicket','_process','_sheetTransformSelectionsService','HmacSHA1','values','_unlockTransition','HELLO','AES','UNKNOWN_CODE','createDecryptor','size','[SyncedState]:\x20received\x20rejection.','_getUndoStack','sigBytes','_doProcessBlock','getCollabEntity','AwaitingWithPendingState','hasOwnProperty','collaborators','_getRedoStack','_queuedRemoteChangesets','dispose$','_socket','onRemoteRej','NOT_COLLAB','mutations','univer-pro.collaboration-client.network-condition.service','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','parseProtocolChangeset','SEND_CHANGESET_TIMEOUT','_lockTransition','LIVESHARE_REQUEST_HOST','csAckEvent','ONLINE','_httpService','list','hostname','getTypeOfUnitAdded$','getDeserializedSheetBlock','body','$super','code','LIVESHARE_FETCH_OPERATIONS','MSG_FOR_ERROR','PERMISSION_REJ','PSEUDO_FETCH_MISSING_RESULT','clear','SheetTransformSelectionsService','allowed','_getDownloadEndpointURL','push','_rescheduleHeartbeat','_singleActiveUnitService','ISnapshotServerService','JOIN_ROOM_FAILED','Pkcs7','Base','onRemoteChangeset','selections','JOIN_ROOM_NOT_EXISTS','INVALID_ARGUMENT','_getAPIPrefix','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','refreshPermission','_transformStateCache','_unitID','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','toggleOffline','_type','_authzIoService','UNIVER_COLLABORATION_CLIENT_PLUGIN','collaMsg','NOT_FOUND','_append','duration','max','IUniverInstanceService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationUndoRedoService]','defineProperty','getGlobalObject','toggleOnline','enableOfflineEditing','ERROR_EXCEED_SIZE','_initCloseConn','registerDependencies','_replaceFileID','AwaitingState','_getLoginPath','concat','6327035OdnIrf','session','conflict','onRemoteRetry','waitForRoom$','createSocket','APPLY_DUPLICATED','sessionStatus','_state$','APPLY_REVISION_CONFILICT','reqId','save\x20fail\x20reason\x20is\x20','_entities','session.room-permission-denied','transformChangesets','clamp','/-/object/-/batch_allowed','kdf','OTHER_CLIENTS_EDITING','updatePermissionObjEvent','_updateState','readAsDataURL','[PendingState]:\x20received\x20acknowledgement.','isTransformMutationsWithChangesetFailure','/universer-api/stream/file/upload','resend','authzUrl','IPermissionService','updatePermissionPoint','AUTHZ_URL_KEY','UniverSheetsPlugin','_keySchedule','_config','uniscriptRunEvent','UPDATE_CURSOR','_map','now','CHANGESET_ACK','roomInfos','crypto','state$','6tdHoFt','cfg','sessionStatus$','getUnitType','_undoRedoService','extend','FETCH_MISS','permissionRejEvent','_HTTPService','_sendHeartbeat','eventID','mapDocumentTypeToUniverType','_sessions','get','status$','_tryEnsureSocket','_initRequestHeader','_handler','textRanges','collaboration_new_changeset','CollaborationImageIoService','_networkConditionService','startsWith','OPTIONAL','Could\x20not\x20dynamically\x20require\x20\x22','updateCollaborator','putCollaborators','update','62556WaGWYI','_keyPriorReset','ERROR_IMAGE_TYPE','CollaborativeUndoRedoService','_roomCreated$','add','_onRemoteRejected','salt','LocaleService','_disableEditing','ITransformService','call','sid','_xformMode','SheetsSelectionsService','getSheetBlock','_retryCount','_userManagerService','/universer-api/comb','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','loadDoc','_socketMessageSubscription','LOCAL_CACHE_INTERVAL','_localCacheService','_revisionService','randomBytes','UniverNetworkPlugin','getImage','socket\x20close','downloadEndpointUrl','join','updateOfflineData','msCrypto','CollaborationController','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Quantity','_onMessage','COLLAB_WEB_SOCKET_URL_KEY','indexOf','x-univer-host','_toggleOffline','_replayCachedMutations','_clearTimeoutTimer','_incrementRevisionNumber','_collabSessionService','JOIN_ROOM_FULL','UnitEmbedded','_createInitialStateImpl','_change$','requestParams','enc','runId','send','withCredentials','_registerDependencies','onCommandExecuted','updateMember','_getAPIPrefixPath','CompressMutationService','_socketService','getMember','HEARTBEAT_TIMEOUT_KEY','_changesetSessionId','_memberService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_commentService','initWorkbookPermissionChange','rxjs/operators','SyncedState','batchAllowed','_members','_retryConnectingTimer','BASE64','take','debug','decryptBlock','ENSURE_SNAPSHOT_EXECUTION','PY_RUNTIME_SCRIPT_ERROR','IUndoRedoService','SNAPSHOT_SERVER_URL_KEY','CollaborationSocketService','LICENSE_EXPORT_SIZE_EXCEEDED','getSheetId','searchParams','_configService','snapshotServerUrl','actions','UniverCollaborationPlugin','\x20to\x20','toStringTag','joinRsp','Cipher','format','CommentService','from','merge','disposeWithMe','IMentionIOService','socketService','string','setShowComponents','image/gif','charAt','map','createCollaborator','FAIL','getCurrentRevOfUnit','/fetchmissing?from=','1370ibcagd','deserializeToCombResponse','CHANGESET_REJ','_socketReady','application/json','fromCollab','_exhaustRemoteChangesetQueue','Hasher','JOINING','YUUMI_SUBSCRIPTION_NOT_FOUND','session.room-full','ALREADY_EXISTS','socket\x20open.','snapshot','UNDEFINED','People','onlyLocal','COMPRESS_MUTATION_SEND','/new_changes','asObservable','679644DpUlfL','_sender','BlockCipher','reverse','collabSubmitChangesetUrl','_clearScheduledTask','MemberService','LEAVE','stringify','repeat','PERMISSION_DENIED','ISocketService','filter','_mode','words','parse','synced','[CollaborationState]:\x20apply\x20error!','ILogService','433800ZnHVZx','fetchMissingChangesets','IAuthzIoService','_waitForHeartbeatResponse','registerHTTPInterceptor','_injector','HmacMD5','getAllMembers','SetSelectionsOperation','UNIVER_SLIDE','textEncoder','__esModule','_acknowledgedAwaitingChangeset','substr','onLocalMutation','\x20in\x20_schedule.','SheetCollaborationEntity','min','stopTime','_cipher','slice','CollaborationEntity','onRemoteAck','submit\x20changeset\x20error!','encryptBlock','members$','_scheduleCompleteTimestamp','Tools','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration-client.local-cache-service','SYNCED','compose','[OfflineState]:\x20received\x20rejection.','COMPRESS_MUTATION_APPLY','length','lib','unitID','awaitingChangeset','LICENSE_DISTRO_REJECTED','mode','subscribe','encode','confirm','PERSON','TOO_MANY_REQUESTS','_onConflict','YUUMI_URL_COL_OUT_OF_RANGE','rng','MergeInterceptorFactory','find','_listenToNetworkCondition','DEFAULT_FILE_NAME','_clearCollaborationTimeoutTimer','SNAPSHOT_URL_KEY','roles','title','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','changesets','Latin1','newCsEvent','JOIN','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','IConfigService','CONFLICT','_collaborationTimeoutTimer','/universer-api/uniscript','HTTPService','POST','Univer','Optional','FileId','_submitChangeset','_logService','data','_loadDoc','10818gKdvDO','uploadFileServerUrl','HttpImport','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getTime','sequenceExecute','_createHandler','onCommentUpdate','@univerjs-pro/collaboration','_data','_transitionLocked','_substituteUndoStack','reduce','location','RxDisposable','SHA1','CollaborationEvent','SessionStatus','concatMap','image/jpeg','_telemetryInfo','getLocalCacheKey','SUBMIT_CHANGESET_TIMEOUT','OpenSSL','name','SNAPSHOT_INVALID_SNAPSHOT','HEARTBEAT','ISingleActiveUnitService','DisposableCollection','Encryptor'];_0x16f4=function(){return _0x2de530;};return _0x16f4();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x326592=_0x2b18bd;if(!Pe){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x326592(0x353));Pe=crypto['getRandomValues'][_0x326592(0xeb)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x2b18bd(0xeb)](crypto),ze={'randomUUID':mn};function gn(_0x474c31,_0x20a938,_0x335cf6){var _0x2e1a91=_0x2b18bd,_0x319683,_0x4b6a30,_0x3dabdb;if(ze['randomUUID']&&!_0x474c31)return ze['randomUUID']();_0x474c31=_0x474c31||{};const _0xa83e8f=(_0x3dabdb=(_0x4b6a30=_0x474c31[_0x2e1a91(0x3b7)])!=null?_0x4b6a30:(_0x319683=_0x474c31[_0x2e1a91(0x334)])==null?void 0x0:_0x319683[_0x2e1a91(0x27d)](_0x474c31))!=null?_0x3dabdb:pn();if(_0xa83e8f[_0x2e1a91(0x327)]<0x10)throw new Error(_0x2e1a91(0x285));return _0xa83e8f[0x6]=_0xa83e8f[0x6]&0xf|0x40,_0xa83e8f[0x8]=_0xa83e8f[0x8]&0x3f|0x80,fn(_0xa83e8f);}const z=a['createIdentifier'](_0x2b18bd(0x322));function In(_0x2ae57b){return'unit-cache-'+_0x2ae57b;}var En=Object[_0x2b18bd(0x222)],Cn=Object[_0x2b18bd(0x1b9)],Tn=(_0x18dc48,_0x363c27,_0xf21021,_0xa052ed)=>{var _0xef5513=_0x2b18bd;for(var _0x516471=_0xa052ed>0x1?void 0x0:_0xa052ed?Cn(_0x363c27,_0xf21021):_0x363c27,_0x70f29=_0x18dc48[_0xef5513(0x327)]-0x1,_0x39dd6b;_0x70f29>=0x0;_0x70f29--)(_0x39dd6b=_0x18dc48[_0x70f29])&&(_0x516471=(_0xa052ed?_0x39dd6b(_0x363c27,_0xf21021,_0x516471):_0x39dd6b(_0x516471))||_0x516471);return _0xa052ed&&_0x516471&&En(_0x363c27,_0xf21021,_0x516471),_0x516471;},De=(_0x562c68,_0x11a356)=>(_0x3ba625,_0x4afdb1)=>_0x11a356(_0x3ba625,_0x4afdb1,_0x562c68);function bn(_0xb077f5){var _0x5c9f30=_0x2b18bd;const {unitID:_0x690b9e,mutations:_0x3e4d34}=_0xb077f5;return{'unitId':_0x690b9e,'subUnitId':_0x3e4d34[0x0]['params'][_0x5c9f30(0x3ac)]};}exports[_0x2b18bd(0x202)]=class{constructor(_0x1f6050,_0x142e10,_0x5615f5){var _0x4930ca=_0x2b18bd;this[_0x4930ca(0x30a)]=_0x1f6050,this[_0x4930ca(0x384)]=_0x142e10,this[_0x4930ca(0x118)]=_0x5615f5;}[_0x2b18bd(0x1ab)](_0x3c717b){var _0x363bbe=_0x2b18bd,_0x5673bb,_0x3664c9,_0x5473ab,_0x584963;const _0x105bbf=this['_injector'][_0x363bbe(0x263)](J[_0x363bbe(0x280)]),{unitId:_0x19defd,subUnitId:_0x561d7e}=bn(_0x3c717b),_0x1c6b95=_0x105bbf==null?void 0x0:_0x105bbf[_0x363bbe(0xea)](_0x19defd)[_0x363bbe(0x3a1)](),_0x2225ef=(_0x3664c9=(_0x5673bb=this[_0x363bbe(0x118)]['getUnit'](_0x19defd))==null?void 0x0:_0x5673bb['getActiveSheet']())==null?void 0x0:_0x3664c9[_0x363bbe(0x2c4)]();if(_0x1c6b95['length']===0x0||!_0x19defd||!_0x561d7e)return;const _0x2b6723=[{'id':J[_0x363bbe(0x30d)]['id'],'params':{'unitId':_0x19defd,'subUnitId':_0x2225ef,'selections':a[_0x363bbe(0x320)]['deepClone'](_0x1c6b95)}}],_0x31fcdf=this[_0x363bbe(0x384)][_0x363bbe(0x3dd)](_0x3c717b,_0x2b6723);if(!m[_0x363bbe(0x126)](_0x31fcdf))throw _0x31fcdf[_0x363bbe(0x99)];const _0xd97b09=(_0x584963=(_0x5473ab=_0x31fcdf[_0x363bbe(0x3ba)][0x0])==null?void 0x0:_0x5473ab[_0x363bbe(0xa5)])==null?void 0x0:_0x584963[_0x363bbe(0x20d)];if(Array['isArray'](_0xd97b09)&&_0xd97b09['length']){if(_0xd97b09[_0x363bbe(0x327)]===_0x2b6723[0x0]['params'][_0x363bbe(0x20d)][_0x363bbe(0x327)]&&_0xd97b09[_0x363bbe(0x3d8)]((_0x35823e,_0x25a0c0)=>a[_0x363bbe(0xbc)]['equals'](_0x35823e[_0x363bbe(0xee)],_0x2b6723[0x0][_0x363bbe(0xa5)][_0x363bbe(0x20d)][_0x25a0c0][_0x363bbe(0xee)])))return;this[_0x363bbe(0x30a)][_0x363bbe(0x263)](a[_0x363bbe(0xf2)])[_0x363bbe(0x1c6)](J[_0x363bbe(0x30d)]['id'],{'unitId':_0x19defd,'subUnitId':_0x2225ef,'selections':_0xd97b09});}}},exports[_0x2b18bd(0x202)]=Tn([De(0x0,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x112)])),De(0x1,m[_0x2b18bd(0x27c)]),De(0x2,a[_0x2b18bd(0x21f)])],exports[_0x2b18bd(0x202)]);const ve=a[_0x2b18bd(0x140)](_0x2b18bd(0x3a2));var Fe=(_0x44d47f=>(_0x44d47f[_0x44d47f[_0x2b18bd(0xa9)]=0x0]=_0x2b18bd(0xa9),_0x44d47f[_0x44d47f[_0x2b18bd(0x23f)]=0x1]=_0x2b18bd(0x23f),_0x44d47f))(Fe||{});const Rn=new Set([J[_0x2b18bd(0xc8)]['id']]);function Je(_0xc51fdb,_0x21f657,_0x2dcac9,_0x5cbb5e,_0xc4e3b0){var _0x42b71b=_0x2b18bd,_0x2f4688,_0x1a1aa5,_0xcdaac,_0x1a1df5;const _0x1ffcbc=[];for(const _0x26604e of _0xc51fdb)if(Rn['has'](_0x26604e['id'])){if(_0x1ffcbc[_0x42b71b(0x327)]>0x0)break;_0x1ffcbc[_0x42b71b(0x205)](_0x26604e);break;}else _0x1ffcbc[_0x42b71b(0x205)](_0x26604e);const _0x170c12=(_0x1a1aa5=(_0x2f4688=_0xc4e3b0[_0x42b71b(0x386)]())==null?void 0x0:_0x2f4688[_0x42b71b(0xe3)])!=null?_0x1a1aa5:_0x42b71b(0xa8),_0x1ad678=(_0x1a1df5=(_0xcdaac=_0xc4e3b0[_0x42b71b(0x386)]())==null?void 0x0:_0xcdaac['memberID'])!=null?_0x1a1df5:_0x42b71b(0xa8);return{'changeset':{'unitID':_0x21f657,'type':m[_0x42b71b(0x261)](_0x2dcac9['getUnitType'](_0x21f657)),'baseRev':_0x5cbb5e[_0x42b71b(0x2dc)](_0x21f657),'revision':0x0,'userID':_0x170c12,'memberID':_0x1ad678,'mutations':_0x1ffcbc},'pendingMutations':_0xc51fdb[_0x42b71b(0x319)](_0x1ffcbc[_0x42b71b(0x327)])};}function On(_0x4ff742,_0xde4d1b,_0x21c869,_0x28f8a0,_0x33f43b){var _0x1f4c58=_0x2b18bd,_0x2db9dd,_0x5b6843,_0x2003c3,_0x2ab246;const _0x278806=[_0x4ff742['reduce']((_0x50c5ab,_0x7109ed)=>{var _0x51b827=_0xf177,_0x12e81e;const {id:_0x19de6d}=_0x50c5ab,{id:_0x8f18d3,type:_0x30b8a4}=_0x7109ed,_0x345e64=(_0x12e81e=_0x50c5ab[_0x51b827(0xa5)])!=null?_0x12e81e:{'actions':null},_0x5ced33=_0x7109ed[_0x51b827(0xa5)];if(_0x19de6d&&_0x19de6d!==_0x8f18d3)throw new Error(_0x51b827(0x103)+_0x19de6d+_0x51b827(0x38c)+_0x8f18d3+'.');return{..._0x50c5ab,'id':_0x8f18d3,'type':_0x30b8a4,'params':{'unitId':_0x5ced33['unitId'],'textRanges':_0x5ced33[_0x51b827(0x268)],'actions':a['JSONX'][_0x51b827(0x324)](_0x345e64['actions'],_0x5ced33[_0x51b827(0x2c8)])}};},{})],_0x1371f4=(_0x5b6843=(_0x2db9dd=_0x33f43b[_0x1f4c58(0x386)]())==null?void 0x0:_0x2db9dd['userID'])!=null?_0x5b6843:'unknown',_0x470181=(_0x2ab246=(_0x2003c3=_0x33f43b[_0x1f4c58(0x386)]())==null?void 0x0:_0x2003c3[_0x1f4c58(0x3f1)])!=null?_0x2ab246:_0x1f4c58(0xa8);return{'changeset':{'unitID':_0xde4d1b,'type':m[_0x1f4c58(0x261)](_0x21c869[_0x1f4c58(0x259)](_0xde4d1b)),'baseRev':_0x28f8a0[_0x1f4c58(0x2dc)](_0xde4d1b),'revision':0x0,'userID':_0x1371f4,'memberID':_0x470181,'mutations':_0x278806},'pendingMutations':[]};}function Nt(_0x48bcb9,_0x4f7ea0){var _0x3bad34=_0x2b18bd;const _0x244d26=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x244d26[_0x3bad34(0x3d5)](_0x4f7ea0),_0x48bcb9),_0x244d26[_0x3bad34(0x2f1)]()['pipe'](H[_0x3bad34(0x2bb)](0x1));}const yn={'id':J['EmptyMutation']['id'],'type':a[_0x2b18bd(0x133)]['MUTATION'],'params':{}};var Nn=Object['defineProperty'],Un=Object[_0x2b18bd(0x1b9)],le=(_0x1b95a0,_0x4c951d,_0x2f55cd,_0x330dd0)=>{var _0x569aad=_0x2b18bd;for(var _0x2a6190=_0x330dd0>0x1?void 0x0:_0x330dd0?Un(_0x4c951d,_0x2f55cd):_0x4c951d,_0x3e3593=_0x1b95a0[_0x569aad(0x327)]-0x1,_0x40d9d1;_0x3e3593>=0x0;_0x3e3593--)(_0x40d9d1=_0x1b95a0[_0x3e3593])&&(_0x2a6190=(_0x330dd0?_0x40d9d1(_0x4c951d,_0x2f55cd,_0x2a6190):_0x40d9d1(_0x2a6190))||_0x2a6190);return _0x330dd0&&_0x2a6190&&Nn(_0x4c951d,_0x2f55cd,_0x2a6190),_0x2a6190;},A=(_0x565630,_0x294b3c)=>(_0x5a3c22,_0x16c06b)=>_0x294b3c(_0x5a3c22,_0x16c06b,_0x565630),We=(_0x5051de=>(_0x5051de[_0x2b18bd(0x1eb)]='not_collab',_0x5051de[_0x2b18bd(0x323)]=_0x2b18bd(0x302),_0x5051de[_0x2b18bd(0x167)]=_0x2b18bd(0x3e9),_0x5051de['AWAITING']=_0x2b18bd(0x95),_0x5051de[_0x2b18bd(0x131)]=_0x2b18bd(0x3ed),_0x5051de[_0x2b18bd(0x25c)]=_0x2b18bd(0x182),_0x5051de[_0x2b18bd(0x344)]=_0x2b18bd(0x22f),_0x5051de[_0x2b18bd(0x157)]=_0x2b18bd(0x164),_0x5051de))(We||{});const Ut=0xea60;class _e{constructor(_0x584ce1,_0x4217f9,_0x40be9d,_0x2dc925,_0x1abdcf,_0x356695,_0x2a2cb7,_0x1b3316,_0x5d2e8c){var _0x20d109=_0x2b18bd;D(this,_0x20d109(0xcd),null),D(this,_0x20d109(0x89),[]),(this['unitID']=_0x584ce1,this['type']=_0x4217f9,this[_0x20d109(0x267)]=_0x1abdcf,this[_0x20d109(0x372)]=_0x356695,this[_0x20d109(0x25a)]=_0x2a2cb7,this['_revisionService']=_0x1b3316,this['_localCacheService']=_0x5d2e8c,this[_0x20d109(0xcd)]=_0x40be9d,this[_0x20d109(0x89)]=_0x2dc925);}[_0x2b18bd(0x102)](_0x3bcf7a){var _0x29bc7f=_0x2b18bd;const _0x2ff6c7=this['_revisionService'][_0x29bc7f(0x2dc)](this[_0x29bc7f(0x329)]);return _0x3bcf7a[_0x29bc7f(0x97)]>_0x2ff6c7+0x1?(this[_0x29bc7f(0x267)][_0x29bc7f(0x92)]({'from':_0x2ff6c7,'to':_0x3bcf7a['revision']-0x1}),!0x0):!0x1;}[_0x2b18bd(0x163)](_0x19058c){var _0x275c7f=_0x2b18bd;this[_0x275c7f(0x25a)][_0x275c7f(0x9c)](this['unitID'],_0x19058c);}['_transformSelections'](_0x2bd545){var _0x4c75d9=_0x2b18bd,_0xe115ba,_0x12610e;(_0x12610e=(_0xe115ba=this['_handler'])[_0x4c75d9(0xfb)])==null||_0x12610e[_0x4c75d9(0x27d)](_0xe115ba,_0x2bd545);}[_0x2b18bd(0x399)](_0x323d15){var _0x5cde25=_0x2b18bd,_0x295388,_0x51fca3;return(_0x51fca3=(_0x295388=this[_0x5cde25(0x267)])[_0x5cde25(0xfa)])==null?void 0x0:_0x51fca3['call'](_0x295388,_0x323d15);}['_transformStateCache'](_0x36b349){var _0x5b0c2a=_0x2b18bd,_0x2506ae,_0x306a1b;return(_0x306a1b=(_0x2506ae=this['_handler'])['onTransformState'])==null?void 0x0:_0x306a1b[_0x5b0c2a(0x27d)](_0x2506ae,_0x36b349);}['_transformRemoteChangesetByIMECache'](_0xbd85ee){var _0x269acf=_0x2b18bd,_0x5268ce,_0x44d2d3,_0x54b1b6;return(_0x54b1b6=(_0x44d2d3=(_0x5268ce=this[_0x269acf(0x267)])[_0x269acf(0x1a3)])==null?void 0x0:_0x44d2d3[_0x269acf(0x27d)](_0x5268ce,_0xbd85ee))!=null?_0x54b1b6:_0xbd85ee;}[_0x2b18bd(0x10c)](_0x2237c8){var _0x4f5837=_0x2b18bd,_0xa3a7a5,_0x5ac348,_0x58d90e;return(_0x58d90e=(_0x5ac348=(_0xa3a7a5=this['_handler'])[_0x4f5837(0x3c9)])==null?void 0x0:_0x5ac348['call'](_0xa3a7a5,_0x2237c8))!=null?_0x58d90e:_0x2237c8;}['_syncEditingCollabCursor'](_0x5abc00){var _0x1a47a8=_0x2b18bd,_0x42c62c,_0x44c01d;if(this[_0x1a47a8(0x1ac)]===Z['UNIVER_DOC']){const {unitID:_0x127269,mutations:_0x27f997,memberID:_0x4c3985}=_0x5abc00,_0x4beb7a=_0x27f997[0x0][_0x1a47a8(0xa5)]['textRanges'];Array[_0x1a47a8(0x161)](_0x4beb7a)&&_0x4beb7a[_0x1a47a8(0x327)]>0x0&&((_0x44c01d=(_0x42c62c=this[_0x1a47a8(0x267)])[_0x1a47a8(0x3dc)])==null||_0x44c01d[_0x1a47a8(0x27d)](_0x42c62c,{'unitID':_0x127269,'memberID':_0x4c3985,'textRanges':_0x4beb7a}));}}[_0x2b18bd(0x1aa)](){var _0xecd0be=_0x2b18bd,_0x25aa6b;(_0x25aa6b=this[_0xecd0be(0x289)])==null||_0x25aa6b['updateOfflineData'](this['unitID'],this['type'],this[_0xecd0be(0xcd)],this[_0xecd0be(0x89)]);}[_0x2b18bd(0x3cc)](){var _0x3b0b9d=_0x2b18bd;return this['_revisionService'][_0x3b0b9d(0x2dc)](this['unitID']);}[_0x2b18bd(0x29d)](){var _0x5c111f=_0x2b18bd;this[_0x5c111f(0x28a)][_0x5c111f(0x160)](this[_0x5c111f(0x329)]);}[_0x2b18bd(0x19c)](_0x4c0a6b){var _0x7d0875=_0x2b18bd,_0x5667c0;let _0x7925b1=this[_0x7d0875(0x15a)](_0x4c0a6b);_0x7925b1=this[_0x7d0875(0x10c)](_0x7925b1);const _0x127f24=a[_0x7d0875(0x355)](_0x7925b1['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x127f24['result'])throw _0x127f24['error']instanceof Error?_0x127f24[_0x7d0875(0x99)]:new Error((_0x5667c0=_0x127f24['error'])!=null?_0x5667c0:_0x7d0875(0x303));this['_transformIMECache'](_0x7925b1),this[_0x7d0875(0x213)](_0x7925b1),this['_transformUndoredo'](_0x4c0a6b),this['_transformSelections'](_0x7925b1),this[_0x7d0875(0x39e)](_0x7925b1),this[_0x7d0875(0x29d)]();}}exports[_0x2b18bd(0x2b6)]=class extends _e{constructor(_0x5b8b31,_0x19b781,_0x2ddeba,_0x18bf7d,_0x47c76e,_0x561597,_0x2380ea,_0x18c3d7,_0x2df6ba,_0x2e0ee0){var _0x41bfa6=_0x2b18bd;super(_0x5b8b31,_0x19b781,null,[],_0x2ddeba,_0x2380ea,_0x561597,_0x18bf7d,_0x2e0ee0),D(this,_0x41bfa6(0x3a3),'synced'),(this[_0x41bfa6(0x30a)]=_0x47c76e,this[_0x41bfa6(0x34d)]=_0x18c3d7,this['_transformService']=_0x2df6ba,this['localCacheService']=_0x2e0ee0);}[_0x2b18bd(0x3e6)](_0x9b2a1b){var _0x62cc16=_0x2b18bd;const _0x5e97c9=this[_0x62cc16(0x30a)]['createInstance'](exports[_0x62cc16(0x91)],this[_0x62cc16(0x329)],this[_0x62cc16(0x1ac)],[_0x9b2a1b],this[_0x62cc16(0x267)]);return _0x5e97c9['_schedule'](),_0x5e97c9[_0x62cc16(0x1aa)](),_0x5e97c9;}[_0x2b18bd(0x20c)](_0x2c8f4d){var _0x42f2aa=_0x2b18bd;if(this['_checkMissing'](_0x2c8f4d))return this['_injector']['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x42f2aa(0x1ac)],null,[],null,[_0x2c8f4d],this['_handler']);try{const _0x5dc1c1=this[_0x42f2aa(0x384)][_0x42f2aa(0x3dd)](_0x2c8f4d,[yn]);if(m[_0x42f2aa(0x126)](_0x5dc1c1)){const {c1Prime:_0x43bfc7}=_0x5dc1c1;return this['_executeRemoteChangeset'](_0x43bfc7),this;}throw _0x5dc1c1[_0x42f2aa(0x99)];}catch(_0x2041f8){return this[_0x42f2aa(0x34d)][_0x42f2aa(0x99)](_0x2041f8),this['_onConflict'](!0x1);}}[_0x2b18bd(0x332)](_0x27a79e){var _0x3e1c73=_0x2b18bd;return this[_0x3e1c73(0x30a)][_0x3e1c73(0xd8)](exports[_0x3e1c73(0x14a)],this[_0x3e1c73(0x329)],this[_0x3e1c73(0x1ac)],null,[],this['_handler'],_0x27a79e);}[_0x2b18bd(0x31b)](){var _0x74cfc8=_0x2b18bd;throw new Error(_0x74cfc8(0xb0));}['onRemoteRej'](){var _0x2359a6=_0x2b18bd;throw new Error(_0x2359a6(0x1de));}[_0x2b18bd(0x230)](){return this;}[_0x2b18bd(0x216)](){var _0x33fb6e=_0x2b18bd;return this[_0x33fb6e(0x30a)]['createInstance'](exports[_0x33fb6e(0x3b2)],this[_0x33fb6e(0x329)],this['type'],null,[],this[_0x33fb6e(0x267)]);}[_0x2b18bd(0x224)](){return this;}['resend'](){var _0x21a175=_0x2b18bd;throw new Error(_0x21a175(0x398));}[_0x2b18bd(0x3b6)](){var _0x40b181=_0x2b18bd;const _0x509d63=this['_revisionService'][_0x40b181(0x2dc)](this[_0x40b181(0x329)]);return this['_handler'][_0x40b181(0x92)]({'from':_0x509d63,'to':0x0}),this['_injector'][_0x40b181(0xd8)](exports['FetchingMissState'],this['unitID'],this['type'],null,[],null,[],this[_0x40b181(0x267)]);}},exports['SyncedState']=le([A(0x3,a[_0x2b18bd(0x1c4)](m[_0x2b18bd(0x3d9)])),A(0x4,a[_0x2b18bd(0x1c4)](a['Injector'])),A(0x5,a[_0x2b18bd(0x2c0)]),A(0x6,a[_0x2b18bd(0xf2)]),A(0x7,a[_0x2b18bd(0x304)]),A(0x8,m[_0x2b18bd(0x27c)]),A(0x9,a[_0x2b18bd(0x34a)](z))],exports[_0x2b18bd(0x2b6)]),exports[_0x2b18bd(0x91)]=class extends _e{constructor(_0x26f665,_0x3b3d3e,_0x1ad6d8,_0x30dc9d,_0x2d5bb3,_0x3dd7b3,_0x4a6227,_0x23ee33,_0x3c957b,_0x1e4b4d,_0x48b9ec,_0x3227d6,_0x3fa12d,_0x3b032f){var _0x84d7d2=_0x2b18bd;super(_0x26f665,_0x3b3d3e,null,_0x1ad6d8,_0x30dc9d,_0x3c957b,_0x3fa12d,_0x3dd7b3,_0x3b032f),D(this,_0x84d7d2(0x3a3),'pending'),D(this,_0x84d7d2(0x31f),null),D(this,'_sendingTimer',null),(this[_0x84d7d2(0x30a)]=_0x2d5bb3,this[_0x84d7d2(0x2b1)]=_0x4a6227,this['_logService']=_0x23ee33,this[_0x84d7d2(0x2c6)]=_0x1e4b4d,this[_0x84d7d2(0x384)]=_0x48b9ec,this[_0x84d7d2(0x3c2)]=_0x3227d6);}[_0x2b18bd(0x3e6)](_0x2a6dcf){var _0x31d8f8=_0x2b18bd;return this['_pendingMutations']['push'](_0x2a6dcf),this[_0x31d8f8(0x1aa)](),this;}[_0x2b18bd(0x20c)](_0x5943c8){var _0x182f7c=_0x2b18bd;if(this[_0x182f7c(0x102)](_0x5943c8))return this[_0x182f7c(0x2f7)](),this[_0x182f7c(0x30a)][_0x182f7c(0xd8)](exports[_0x182f7c(0x165)],this[_0x182f7c(0x329)],this[_0x182f7c(0x1ac)],null,this[_0x182f7c(0x89)],null,[_0x5943c8],this[_0x182f7c(0x267)]);try{const _0x4cf35d=this[_0x182f7c(0x384)]['transformMutationsWithChangeset'](_0x5943c8,this['_pendingMutations']);if(m[_0x182f7c(0x126)](_0x4cf35d)){const {c1Prime:_0x4f8503,m2Prime:_0x49e4da}=_0x4cf35d;this[_0x182f7c(0x19c)](_0x4f8503);const _0x345add=this[_0x182f7c(0x30a)][_0x182f7c(0xd8)](exports[_0x182f7c(0x91)],this[_0x182f7c(0x329)],this[_0x182f7c(0x1ac)],_0x49e4da,this[_0x182f7c(0x267)]);this[_0x182f7c(0x2f7)]();const _0x58a5be=new Date()[_0x182f7c(0x354)](),_0x321bd4=this[_0x182f7c(0x31f)]?Math['max'](this[_0x182f7c(0x31f)]-_0x58a5be,0x0):this['_getSendChangesetTimeout']();return _0x345add[_0x182f7c(0x128)](_0x321bd4),_0x345add;}throw _0x4cf35d['error'];}catch(_0x111834){return this[_0x182f7c(0x34d)][_0x182f7c(0x99)](_0x111834),this[_0x182f7c(0x332)](!0x1);}}[_0x2b18bd(0x31b)](){var _0x502aaa=_0x2b18bd;throw new Error(_0x502aaa(0x243));}[_0x2b18bd(0x1ea)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2b18bd(0x230)](){return this;}[_0x2b18bd(0x216)](){var _0x139837=_0x2b18bd;return this[_0x139837(0x2f7)](),this[_0x139837(0x30a)][_0x139837(0xd8)](exports[_0x139837(0x3b2)],this[_0x139837(0x329)],this[_0x139837(0x1ac)],null,this[_0x139837(0x89)],this[_0x139837(0x267)]);}[_0x2b18bd(0x224)](){return this;}[_0x2b18bd(0x128)](_0x341cfb){var _0x5cd689=_0x2b18bd;const _0x38a7db=_0x341cfb!=null?_0x341cfb:this[_0x5cd689(0x170)]();this[_0x5cd689(0x31f)]=new Date()[_0x5cd689(0x354)]()+_0x38a7db,this[_0x5cd689(0xe1)]=setTimeout(()=>{var _0x345188=_0x5cd689;this[_0x345188(0x2f7)]();let _0x478e64=null;switch(this[_0x345188(0x1ac)]){case Z['UNIVER_SHEET']:{_0x478e64=Je(this[_0x345188(0x89)],this['unitID'],this['_univerInstanceService'],this[_0x345188(0x28a)],this[_0x345188(0x2b1)]);break;}case Z[_0x345188(0x39b)]:{this[_0x345188(0x89)][_0x345188(0x3d8)](_0x542f25=>_0x542f25['id']===dt[_0x345188(0xdc)]['id'])?_0x478e64=On(this[_0x345188(0x89)],this[_0x345188(0x329)],this[_0x345188(0x3c2)],this[_0x345188(0x28a)],this['_memberService']):_0x478e64=Je(this[_0x345188(0x89)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x345188(0x2b1)]);break;}default:throw new Error(_0x345188(0xad)+this[_0x345188(0x1ac)]+_0x345188(0x314));}const {changeset:_0x5b224d,pendingMutations:_0x8f3c95}=_0x478e64;this[_0x345188(0x267)][_0x345188(0x143)](_0x5b224d);const _0x39cea3=_0x8f3c95[_0x345188(0x327)]?this[_0x345188(0x30a)][_0x345188(0xd8)](exports[_0x345188(0x1e3)],this[_0x345188(0x329)],this['type'],_0x5b224d,_0x8f3c95,this[_0x345188(0x267)],void 0x0):this[_0x345188(0x30a)][_0x345188(0xd8)](exports[_0x345188(0x22a)],this[_0x345188(0x329)],this[_0x345188(0x1ac)],_0x5b224d,this['_handler']);_0x39cea3['_updateLocalCache'](),this[_0x345188(0x267)][_0x345188(0xd3)](this,_0x39cea3);},_0x38a7db);}['_getSendChangesetTimeout'](){var _0x4b7427=_0x2b18bd,_0x362305;const _0x1063b1=this[_0x4b7427(0x2c6)][_0x4b7427(0x15d)](Y);return(_0x362305=_0x1063b1==null?void 0x0:_0x1063b1[_0x4b7427(0x119)])!=null?_0x362305:Bt;}[_0x2b18bd(0x246)](){var _0x17334b=_0x2b18bd;throw new Error(_0x17334b(0x220));}['_clearScheduledTask'](){var _0x3bcfd1=_0x2b18bd;this[_0x3bcfd1(0xe1)]!=null&&(clearTimeout(this[_0x3bcfd1(0xe1)]),this[_0x3bcfd1(0xe1)]=null);}[_0x2b18bd(0x332)](_0x55bfb1){var _0x1f4bcf=_0x2b18bd;return this[_0x1f4bcf(0x2f7)](),this[_0x1f4bcf(0x30a)][_0x1f4bcf(0xd8)](exports[_0x1f4bcf(0x14a)],this['unitID'],this[_0x1f4bcf(0x1ac)],null,this[_0x1f4bcf(0x89)],this[_0x1f4bcf(0x267)],_0x55bfb1);}},exports[_0x2b18bd(0x91)]=le([A(0x4,a['Inject'](a[_0x2b18bd(0x112)])),A(0x5,a[_0x2b18bd(0x1c4)](m['RevisionService'])),A(0x6,a[_0x2b18bd(0x1c4)](exports[_0x2b18bd(0x2f8)])),A(0x7,a['ILogService']),A(0x8,a[_0x2b18bd(0xf2)]),A(0x9,a[_0x2b18bd(0x343)]),A(0xa,m[_0x2b18bd(0x27c)]),A(0xb,a[_0x2b18bd(0x21f)]),A(0xc,a[_0x2b18bd(0x2c0)]),A(0xd,a[_0x2b18bd(0x34a)](z))],exports[_0x2b18bd(0x91)]),exports['AwaitingState']=class extends _e{constructor(_0x196353,_0x7a26ce,_0x260ba5,_0x35c47b,_0x3a6aaa,_0x3652b2,_0x44ce21,_0x527533,_0x378cd4,_0x2d99aa,_0x451d2f){var _0x15c709=_0x2b18bd;super(_0x196353,_0x7a26ce,_0x260ba5,[],_0x35c47b,_0x44ce21,_0x2d99aa,_0x3652b2,_0x451d2f),D(this,_0x15c709(0x3a3),_0x15c709(0x95)),D(this,'_resendTimeout',0x0),D(this,_0x15c709(0xc6)),D(this,_0x15c709(0x2f3)),(this['_injector']=_0x3a6aaa,this[_0x15c709(0x34d)]=_0x527533,this[_0x15c709(0x384)]=_0x378cd4);}[_0x2b18bd(0x3e6)](_0x5d766b){var _0xed9d48=_0x2b18bd;this['_clearScheduledTask']();const _0x488b8d=this[_0xed9d48(0x30a)][_0xed9d48(0xd8)](exports['AwaitingWithPendingState'],this['unitID'],this[_0xed9d48(0x1ac)],this[_0xed9d48(0xcd)],[_0x5d766b],this['_handler'],this[_0xed9d48(0xc6)]);return _0x488b8d['_updateLocalCache'](),_0x488b8d;}['onRemoteChangeset'](_0x388d74){var _0x324b3f=_0x2b18bd;if(this[_0x324b3f(0x102)](_0x388d74))return this[_0x324b3f(0x2f7)](),this[_0x324b3f(0x30a)][_0x324b3f(0xd8)](exports[_0x324b3f(0x165)],this[_0x324b3f(0x329)],this[_0x324b3f(0x1ac)],this[_0x324b3f(0xcd)],[],null,[_0x388d74],this[_0x324b3f(0x267)]);try{const _0x1f11b4=this[_0x324b3f(0x384)][_0x324b3f(0x23b)]([_0x388d74],[this[_0x324b3f(0xcd)]],!0x1);if(m[_0x324b3f(0x3a4)](_0x1f11b4)){const {c1Prime:_0xeacd10,c2Prime:_0x36fc37}=_0x1f11b4;this[_0x324b3f(0x19c)](_0xeacd10[0x0]),_0x36fc37[0x0]['baseRev']=this[_0x324b3f(0x3cc)](),this['_clearScheduledTask']();const _0x1b7606=this[_0x324b3f(0x30a)][_0x324b3f(0xd8)](exports[_0x324b3f(0x22a)],this[_0x324b3f(0x329)],this['type'],_0x36fc37[0x0],this[_0x324b3f(0x267)]);return _0x1b7606['_updateLocalCache'](),_0x1b7606;}return this[_0x324b3f(0x332)](!0x1);}catch(_0xc30e6){return this[_0x324b3f(0x34d)][_0x324b3f(0x99)](_0xc30e6),this['_onConflict'](!0x1);}}[_0x2b18bd(0x31b)](_0x34497c){var _0x2b2a34=_0x2b18bd;this[_0x2b2a34(0x2f7)]();const _0xcf9458=this[_0x2b2a34(0x28a)]['getCurrentRevOfUnit'](this[_0x2b2a34(0x329)]);if(_0x34497c[_0x2b2a34(0x97)]<_0xcf9458-0x1)return this;if(this['_checkMissing'](_0x34497c))return this[_0x2b2a34(0x30a)]['createInstance'](exports[_0x2b2a34(0x165)],this[_0x2b2a34(0x329)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x2b2a34(0x267)]);this[_0x2b2a34(0x29d)]();const _0x277841=this[_0x2b2a34(0x30a)][_0x2b2a34(0xd8)](exports['SyncedState'],this[_0x2b2a34(0x329)],this[_0x2b2a34(0x1ac)],this[_0x2b2a34(0x267)]);return _0x277841[_0x2b2a34(0x1aa)](),_0x277841;}[_0x2b18bd(0x1ea)](_0x852cc4){var _0x5bcd61=_0x2b18bd;return this[_0x5bcd61(0x332)](!!(_0x852cc4!=null&&_0x852cc4[_0x5bcd61(0x135)]));}[_0x2b18bd(0x230)](_0x25eba5){var _0x353cf9=_0x2b18bd;return this[_0x353cf9(0x197)]>Ut?this[_0x353cf9(0x216)]():(this['_resendTimer']=Nt(this[_0x353cf9(0x197)],{'timeout':this[_0x353cf9(0x197)],'reqId':_0x25eba5['reqId']}),this[_0x353cf9(0x2f3)]=this[_0x353cf9(0xc6)][_0x353cf9(0x32d)](({reqId:_0x128e4f,timeout:_0x453a27})=>{this['_resendWithTimeout'](_0x128e4f,_0x453a27);}),this);}[_0x2b18bd(0x216)](){var _0x41cf45=_0x2b18bd;return this[_0x41cf45(0x2f7)](),this[_0x41cf45(0x30a)][_0x41cf45(0xd8)](exports[_0x41cf45(0x3b2)],this[_0x41cf45(0x329)],this[_0x41cf45(0x1ac)],this[_0x41cf45(0xcd)],[],this[_0x41cf45(0x267)]);}[_0x2b18bd(0x224)](){return this;}[_0x2b18bd(0x246)](){var _0x3d6822=_0x2b18bd;this[_0x3d6822(0x267)][_0x3d6822(0x143)](this['_awaitingChangeset']);}[_0x2b18bd(0x332)](_0x35de50){var _0x2914df=_0x2b18bd;return this[_0x2914df(0x2f7)](),this[_0x2914df(0x30a)]['createInstance'](exports[_0x2914df(0x14a)],this[_0x2914df(0x329)],this[_0x2914df(0x1ac)],this[_0x2914df(0xcd)],[],this[_0x2914df(0x267)],_0x35de50);}['_resendWithTimeout'](_0x542c34,_0x3cc30a){var _0xb9c4ff=_0x2b18bd,_0x44598;_0x542c34===((_0x44598=this[_0xb9c4ff(0xcd)])==null?void 0x0:_0x44598[_0xb9c4ff(0x237)])&&(this[_0xb9c4ff(0x246)](),this[_0xb9c4ff(0x197)]=_0x3cc30a===0x0?0x3e8:_0x3cc30a*0x2);}['_clearScheduledTask'](){var _0x111f9b=_0x2b18bd,_0x411674;(_0x411674=this[_0x111f9b(0x2f3)])==null||_0x411674[_0x111f9b(0x3ff)](),this[_0x111f9b(0x197)]=0x0;}},exports[_0x2b18bd(0x22a)]=le([A(0x4,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x112)])),A(0x5,a[_0x2b18bd(0x1c4)](m[_0x2b18bd(0x3d9)])),A(0x6,a[_0x2b18bd(0xf2)]),A(0x7,a[_0x2b18bd(0x304)]),A(0x8,m[_0x2b18bd(0x27c)]),A(0x9,a['IUndoRedoService']),A(0xa,a[_0x2b18bd(0x34a)](z))],exports[_0x2b18bd(0x22a)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x1a9c57,_0x26e2f2,_0x20e04c,_0x1184c5,_0x39c264,_0x25495a,_0x2547e0,_0x183059,_0x21cde1,_0x16cab5,_0x48d290,_0x235638,_0x34475c){var _0x390514=_0x2b18bd;super(_0x1a9c57,_0x26e2f2,_0x20e04c,_0x1184c5,_0x39c264,_0x21cde1,_0x235638,_0x183059,_0x34475c),D(this,_0x390514(0x3a3),_0x390514(0x3ed)),D(this,'_resendTimeout',0x0),D(this,_0x390514(0xc6)),D(this,_0x390514(0x2f3)),(this['_injector']=_0x2547e0,this['_logService']=_0x16cab5,this[_0x390514(0x384)]=_0x48d290,this[_0x390514(0x13c)]=_0x34475c,_0x25495a&&(this['_resendTimer']=_0x25495a,this[_0x390514(0x2f3)]=this[_0x390514(0xc6)][_0x390514(0x32d)](({reqId:_0x272c6f,timeout:_0x369576})=>{this['_resendWithTimeout'](_0x272c6f,_0x369576);})));}[_0x2b18bd(0x3e6)](_0x446a60){var _0x53248d=_0x2b18bd;return this[_0x53248d(0x89)][_0x53248d(0x205)](_0x446a60),this;}['onRemoteChangeset'](_0x421de7){var _0x25f9be=_0x2b18bd;if(this[_0x25f9be(0x102)](_0x421de7))return this[_0x25f9be(0x2f7)](),this[_0x25f9be(0x30a)][_0x25f9be(0xd8)](exports['FetchingMissState'],this['unitID'],this['type'],this[_0x25f9be(0xcd)],this[_0x25f9be(0x89)],null,[_0x421de7],this['_handler']);try{const _0x1f5990=this[_0x25f9be(0x384)][_0x25f9be(0x23b)]([_0x421de7],[this[_0x25f9be(0xcd)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x1f5990)){const {c1Prime:_0x479364,c2Prime:_0x29f577}=_0x1f5990,_0x37fb0e=this[_0x25f9be(0x384)]['transformMutationsWithChangeset'](_0x479364[0x0],this[_0x25f9be(0x89)]);if(m[_0x25f9be(0x126)](_0x37fb0e)){const {c1Prime:_0x16d699,m2Prime:_0x3dec56}=_0x37fb0e;return this[_0x25f9be(0x19c)](_0x16d699),_0x29f577[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x25f9be(0x2f7)](),this[_0x25f9be(0x30a)][_0x25f9be(0xd8)](exports['AwaitingWithPendingState'],this[_0x25f9be(0x329)],this[_0x25f9be(0x1ac)],_0x29f577[0x0],_0x3dec56,this['_handler'],void 0x0);}throw _0x37fb0e[_0x25f9be(0x99)];}throw _0x1f5990['error'];}catch(_0x5db645){return this[_0x25f9be(0x34d)]['error'](_0x5db645),this[_0x25f9be(0x332)](!0x1);}}[_0x2b18bd(0x31b)](_0x4b4892){var _0x5dc3f1=_0x2b18bd;if(this[_0x5dc3f1(0x2f7)](),this[_0x5dc3f1(0x102)](_0x4b4892))return this[_0x5dc3f1(0x30a)][_0x5dc3f1(0xd8)](exports[_0x5dc3f1(0x165)],this[_0x5dc3f1(0x329)],this[_0x5dc3f1(0x1ac)],null,this[_0x5dc3f1(0x89)],this['_awaitingChangeset'],[],this[_0x5dc3f1(0x267)]);this['_incrementRevisionNumber']();const _0x5935b6=this[_0x5dc3f1(0x30a)]['createInstance'](exports[_0x5dc3f1(0x91)],this[_0x5dc3f1(0x329)],this[_0x5dc3f1(0x1ac)],this['_pendingMutations'],this['_handler']);return _0x5935b6[_0x5dc3f1(0x128)](),_0x5935b6[_0x5dc3f1(0x1aa)](),_0x5935b6;}['onRemoteRej'](_0x1fa2bd){var _0x3467e7=_0x2b18bd;return this['_onConflict'](!!(_0x1fa2bd!=null&&_0x1fa2bd[_0x3467e7(0x135)]));}[_0x2b18bd(0x230)](_0x1330d4){var _0x2a4330=_0x2b18bd;return this[_0x2a4330(0x197)]>Ut?this['toggleOffline']():(this[_0x2a4330(0xc6)]=Nt(this[_0x2a4330(0x197)],{'timeout':this[_0x2a4330(0x197)],'reqId':_0x1330d4[_0x2a4330(0x237)]}),this[_0x2a4330(0x2f3)]=this['_resendTimer'][_0x2a4330(0x32d)](({reqId:_0x4ca7e1,timeout:_0x448bb7})=>{var _0x105b01=_0x2a4330;this[_0x105b01(0x38e)](_0x4ca7e1,_0x448bb7);}),this);}['toggleOffline'](){var _0x20840c=_0x2b18bd;return this[_0x20840c(0x2f7)](),this[_0x20840c(0x30a)][_0x20840c(0xd8)](exports[_0x20840c(0x3b2)],this[_0x20840c(0x329)],this[_0x20840c(0x1ac)],this[_0x20840c(0xcd)],this[_0x20840c(0x89)],this[_0x20840c(0x267)]);}[_0x2b18bd(0x224)](){return this;}[_0x2b18bd(0x246)](){var _0x5b1dd0=_0x2b18bd;this['_handler'][_0x5b1dd0(0x143)](this[_0x5b1dd0(0xcd)]);}[_0x2b18bd(0x332)](_0xc85cfc){var _0xf32fc7=_0x2b18bd;return this[_0xf32fc7(0x2f7)](),this[_0xf32fc7(0x30a)]['createInstance'](exports[_0xf32fc7(0x14a)],this['unitID'],this[_0xf32fc7(0x1ac)],null,this[_0xf32fc7(0x89)],this[_0xf32fc7(0x267)],_0xc85cfc);}['_resendWithTimeout'](_0x2ac952,_0x37da94){var _0x40c613=_0x2b18bd,_0x2e12d1;_0x2ac952===((_0x2e12d1=this[_0x40c613(0xcd)])==null?void 0x0:_0x2e12d1[_0x40c613(0x237)])&&(this['resend'](),this[_0x40c613(0x197)]=_0x37da94===0x0?0x3e8:_0x37da94*0x2);}[_0x2b18bd(0x2f7)](){var _0x49d490=_0x2b18bd,_0x3d05ce;(_0x3d05ce=this[_0x49d490(0x2f3)])==null||_0x3d05ce[_0x49d490(0x3ff)](),this[_0x49d490(0x197)]=0x0;}},exports[_0x2b18bd(0x1e3)]=le([A(0x6,a['Inject'](a[_0x2b18bd(0x112)])),A(0x7,a[_0x2b18bd(0x1c4)](m[_0x2b18bd(0x3d9)])),A(0x8,a[_0x2b18bd(0xf2)]),A(0x9,a[_0x2b18bd(0x304)]),A(0xa,m[_0x2b18bd(0x27c)]),A(0xb,a[_0x2b18bd(0x2c0)]),A(0xc,a['Optional'](z))],exports[_0x2b18bd(0x1e3)]),exports[_0x2b18bd(0x14a)]=class extends _e{constructor(_0x19f80d,_0x589719,_0x322c09,_0x1783dc,_0x57df41,_0x271c04=!0x1,_0x4f1044,_0x240e9c,_0x49a566,_0x19e138,_0x3a9a50,_0xc8a71f,_0x3ef6b6){var _0x3dbdde=_0x2b18bd;super(_0x19f80d,_0x589719,_0x322c09,_0x1783dc,_0x57df41,_0x240e9c,_0x49a566,_0x19e138,_0x3ef6b6),D(this,_0x3dbdde(0x3a3),_0x3dbdde(0x22f)),(this[_0x3dbdde(0xd2)]=_0x271c04,this['_permissionService']=_0x4f1044,this[_0x3dbdde(0xe5)]=_0x3a9a50,this['_collaborationUIEventService']=_0xc8a71f,this[_0x3dbdde(0x13c)]=_0x3ef6b6,this[_0x3dbdde(0x1b1)](),this[_0x3dbdde(0x110)](),this[_0x3dbdde(0x27b)]());}[_0x2b18bd(0x3e6)](){return this;}[_0x2b18bd(0x20c)](){return this;}[_0x2b18bd(0x31b)](){return this;}['onRemoteRej'](){return this;}[_0x2b18bd(0x230)](){return this;}['toggleOffline'](){return this;}[_0x2b18bd(0x224)](){return this;}[_0x2b18bd(0x246)](){var _0x4c3a6a=_0x2b18bd;throw new Error(_0x4c3a6a(0x3c8));}[_0x2b18bd(0x110)](){var _0x5389bf=_0x2b18bd,_0x4bc6ce;(_0x4bc6ce=this[_0x5389bf(0x289)])==null||_0x4bc6ce[_0x5389bf(0x291)](this[_0x5389bf(0x329)],this[_0x5389bf(0x1ac)],null,[]);}[_0x2b18bd(0x1b1)](){var _0x46c629=_0x2b18bd;this[_0x46c629(0xd2)]?this[_0x46c629(0x377)][_0x46c629(0xb8)]({'id':Q['PERMISSION_DENIED']}):this[_0x46c629(0x377)]['emitEvent']({'id':Q[_0x46c629(0x344)]});}[_0x2b18bd(0x27b)](){var _0x39e4a1=_0x2b18bd;this[_0x39e4a1(0x1b8)]['updatePermissionPoint'](new J[(_0x39e4a1(0x136))](this[_0x39e4a1(0x329)])['id'],!0x1);}},exports[_0x2b18bd(0x14a)]=le([A(0x6,a['Inject'](a[_0x2b18bd(0x248)])),A(0x7,a['ICommandService']),A(0x8,a[_0x2b18bd(0x2c0)]),A(0x9,a[_0x2b18bd(0x1c4)](m[_0x2b18bd(0x3d9)])),A(0xa,a['Inject'](a[_0x2b18bd(0x27a)])),A(0xb,a[_0x2b18bd(0x1c4)](te)),A(0xc,a[_0x2b18bd(0x34a)](z))],exports[_0x2b18bd(0x14a)]),exports[_0x2b18bd(0x3b2)]=class extends _e{constructor(_0x4b71d4,_0x315bf7,_0x3f5a6e,_0x1624a1,_0x438537,_0x4d62ef,_0x2150e9,_0x1c6066,_0x3f26d0,_0x5d9340){var _0x2b3d21=_0x2b18bd;super(_0x4b71d4,_0x315bf7,_0x3f5a6e,_0x1624a1,_0x438537,_0x1c6066,_0x3f26d0,_0x2150e9,_0x5d9340),D(this,_0x2b3d21(0x3a3),_0x2b3d21(0x164)),this[_0x2b3d21(0x30a)]=_0x4d62ef;}[_0x2b18bd(0x3e6)](_0x2b03ab){var _0x431762=_0x2b18bd;return this[_0x431762(0x89)][_0x431762(0x205)](_0x2b03ab),this[_0x431762(0x1aa)](),this;}[_0x2b18bd(0x20c)](_0x1b102e){var _0x236536=_0x2b18bd;throw new Error(_0x236536(0xfc));}[_0x2b18bd(0x31b)](){var _0x49c34a=_0x2b18bd;throw new Error(_0x49c34a(0x376));}[_0x2b18bd(0x1ea)](){var _0xf064b1=_0x2b18bd;throw new Error(_0xf064b1(0x325));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x2b18bd(0x224)](){var _0x1953bb=_0x2b18bd;const {_injector:_0x29fd9d,_pendingMutations:_0x1076fb,_awaitingChangeset:_0x5c3714,unitID:_0x5a590a,_handler:_0x18bee0,type:_0x470a85}=this,_0x2f917c=Pt(_0x29fd9d,_0x5a590a,_0x470a85,_0x5c3714,_0x1076fb,_0x18bee0);return _0x2f917c instanceof exports[_0x1953bb(0x91)]?_0x2f917c[_0x1953bb(0x128)]():(_0x2f917c instanceof exports['AwaitingWithPendingState']||_0x2f917c instanceof exports['AwaitingState'])&&_0x2f917c[_0x1953bb(0x246)](),_0x2f917c;}['resend'](){var _0x1889f2=_0x2b18bd;throw new Error(_0x1889f2(0x38b));}},exports[_0x2b18bd(0x3b2)]=le([A(0x5,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x112)])),A(0x6,a[_0x2b18bd(0x1c4)](m[_0x2b18bd(0x3d9)])),A(0x7,a[_0x2b18bd(0xf2)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x2b18bd(0x34a)](z))],exports[_0x2b18bd(0x3b2)]),exports[_0x2b18bd(0x165)]=class extends _e{constructor(_0x57f8dc,_0x345c4d,_0x2ee50d,_0x291849,_0x2323a4,_0x5a849e,_0x68935e,_0x421a02,_0x272042,_0x56b45b,_0x3e3bbc,_0x4e80cb,_0x14a238,_0x3fee00){var _0x50625f=_0x2b18bd;super(_0x57f8dc,_0x345c4d,_0x2ee50d,_0x291849,_0x68935e,_0x3e3bbc,_0x4e80cb,_0x272042,_0x3fee00),D(this,_0x50625f(0x3a3),'fetch_missing'),(this[_0x50625f(0x311)]=_0x2323a4,this[_0x50625f(0x1e7)]=_0x5a849e,this[_0x50625f(0x30a)]=_0x421a02,this[_0x50625f(0x34d)]=_0x56b45b,this[_0x50625f(0x384)]=_0x14a238,this[_0x50625f(0x13c)]=_0x3fee00);}[_0x2b18bd(0x3f7)](_0x5e0c7a){var _0x486a17=_0x2b18bd;try{const _0x144d2b=[..._0x5e0c7a,...this[_0x486a17(0x1e7)]],_0x34688a=[this['_awaitingChangeset']||this[_0x486a17(0x311)]]['filter'](_0x517a88=>!!_0x517a88);let _0x31fbcd,_0x3251a6;if(_0x34688a[_0x486a17(0x327)]){const _0x4a0345=this[_0x486a17(0x384)][_0x486a17(0x23b)](_0x144d2b,_0x34688a,!0x1);if(!m[_0x486a17(0x3a4)](_0x4a0345))throw _0x4a0345['error'];_0x31fbcd=_0x4a0345[_0x486a17(0x1b5)],_0x3251a6=_0x4a0345['c2Prime'];}else _0x31fbcd=_0x144d2b,_0x3251a6=[];let _0x39a607=this[_0x486a17(0x89)];_0x31fbcd['forEach'](_0x5b7d61=>{var _0x1b3de0=_0x486a17;let _0x240830;if(_0x39a607[_0x1b3de0(0x327)]){const _0x151d82=this[_0x1b3de0(0x384)]['transformMutationsWithChangeset'](_0x5b7d61,_0x39a607);if(!m[_0x1b3de0(0x126)](_0x151d82))throw _0x151d82[_0x1b3de0(0x99)];_0x240830=_0x151d82[_0x1b3de0(0x1b5)],_0x39a607=_0x151d82['m2Prime'];}else _0x240830=_0x5b7d61;this[_0x1b3de0(0x19c)](_0x240830);}),this[_0x486a17(0x311)]&&this[_0x486a17(0x29d)](),this[_0x486a17(0xcd)]&&_0x3251a6[_0x486a17(0x327)]&&(_0x3251a6[0x0][_0x486a17(0x37e)]=this[_0x486a17(0x3cc)]());let _0x2e7d8f;if(this[_0x486a17(0xcd)]&&_0x39a607['length']!==0x0)_0x2e7d8f=this[_0x486a17(0x30a)][_0x486a17(0xd8)](exports[_0x486a17(0x1e3)],this[_0x486a17(0x329)],this[_0x486a17(0x1ac)],_0x3251a6[0x0],_0x39a607,this[_0x486a17(0x267)],void 0x0);else{if(this[_0x486a17(0xcd)]&&_0x39a607[_0x486a17(0x327)]===0x0)_0x3251a6[0x0]['baseRev']=this[_0x486a17(0x3cc)](),_0x2e7d8f=this['_injector']['createInstance'](exports[_0x486a17(0x22a)],this[_0x486a17(0x329)],this[_0x486a17(0x1ac)],_0x3251a6[0x0],this[_0x486a17(0x267)]);else{if(_0x39a607[_0x486a17(0x327)]!==0x0){const _0x1b8de9=this[_0x486a17(0x30a)]['createInstance'](exports[_0x486a17(0x91)],this[_0x486a17(0x329)],this['type'],_0x39a607,this['_handler']);_0x1b8de9[_0x486a17(0x128)](),_0x2e7d8f=_0x1b8de9;}else _0x2e7d8f=this[_0x486a17(0x30a)]['createInstance'](exports[_0x486a17(0x2b6)],this[_0x486a17(0x329)],this[_0x486a17(0x1ac)],this['_handler']);}}return _0x2e7d8f[_0x486a17(0x1aa)](),_0x2e7d8f;}catch(_0x9a8ebc){return this[_0x486a17(0x34d)]['error'](_0x486a17(0x373),_0x486a17(0x3bd),_0x9a8ebc),this[_0x486a17(0x30a)][_0x486a17(0xd8)](exports[_0x486a17(0x14a)],this[_0x486a17(0x329)],this[_0x486a17(0x1ac)],this[_0x486a17(0xcd)],this[_0x486a17(0x89)],this[_0x486a17(0x267)],!0x1);}}[_0x2b18bd(0x246)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2b18bd(0x3e6)](_0x27ff53){var _0x5f113b=_0x2b18bd;return this[_0x5f113b(0x89)][_0x5f113b(0x205)](_0x27ff53),this;}[_0x2b18bd(0x20c)](_0x323172){var _0x6536e3=_0x2b18bd;return this[_0x6536e3(0x1e7)][_0x6536e3(0x205)](_0x323172),this;}[_0x2b18bd(0x31b)](_0xb989b8){var _0x1debc0=_0x2b18bd;if(this['_awaitingChangeset'])return this[_0x1debc0(0x311)]=this[_0x1debc0(0xcd)],this[_0x1debc0(0xcd)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2b18bd(0x1ea)](_0x4c4711){var _0x449785=_0x2b18bd;return this[_0x449785(0x332)](!!(_0x4c4711!=null&&_0x4c4711['isPermissionRej']));}[_0x2b18bd(0x230)](){return this;}[_0x2b18bd(0x216)](){var _0x55e9ce=_0x2b18bd;return this['_injector'][_0x55e9ce(0xd8)](exports['OfflineState'],this['unitID'],this['type'],this[_0x55e9ce(0xcd)],this[_0x55e9ce(0x89)],this['_handler']);}[_0x2b18bd(0x224)](){return this;}[_0x2b18bd(0x332)](_0x1fbf07){var _0x16ecc5=_0x2b18bd;return this['_injector'][_0x16ecc5(0xd8)](exports[_0x16ecc5(0x14a)],this[_0x16ecc5(0x329)],this[_0x16ecc5(0x1ac)],this[_0x16ecc5(0xcd)],this['_pendingMutations'],this[_0x16ecc5(0x267)],_0x1fbf07);}},exports['FetchingMissState']=le([A(0x7,a[_0x2b18bd(0x1c4)](a['Injector'])),A(0x8,a['Inject'](m['RevisionService'])),A(0x9,a[_0x2b18bd(0x304)]),A(0xa,a[_0x2b18bd(0xf2)]),A(0xb,a[_0x2b18bd(0x2c0)]),A(0xc,m['ITransformService']),A(0xd,a['Optional'](z))],exports[_0x2b18bd(0x165)]);function Pt(_0x281c5b,_0x351fed,_0x4a5892,_0x2d9393,_0x5114ee,_0x13cdf2){var _0x453e51=_0x2b18bd;return _0x2d9393&&_0x5114ee[_0x453e51(0x327)]?_0x281c5b[_0x453e51(0xd8)](exports[_0x453e51(0x1e3)],_0x351fed,_0x4a5892,_0x2d9393,_0x5114ee,_0x13cdf2,void 0x0):_0x2d9393?_0x281c5b[_0x453e51(0xd8)](exports[_0x453e51(0x22a)],_0x351fed,_0x4a5892,_0x2d9393,_0x13cdf2):_0x5114ee[_0x453e51(0x327)]?_0x281c5b['createInstance'](exports[_0x453e51(0x91)],_0x351fed,_0x4a5892,_0x5114ee,_0x13cdf2):_0x281c5b['createInstance'](exports[_0x453e51(0x2b6)],_0x351fed,_0x4a5892,_0x13cdf2);}var Pn=Object[_0x2b18bd(0x222)],Dn=Object[_0x2b18bd(0x1b9)],Ge=(_0x1f1420,_0x207943,_0x2b9c23,_0x35a1bb)=>{var _0x2e4285=_0x2b18bd;for(var _0x5aea0b=_0x35a1bb>0x1?void 0x0:_0x35a1bb?Dn(_0x207943,_0x2b9c23):_0x207943,_0x59a3f0=_0x1f1420[_0x2e4285(0x327)]-0x1,_0x4a0019;_0x59a3f0>=0x0;_0x59a3f0--)(_0x4a0019=_0x1f1420[_0x59a3f0])&&(_0x5aea0b=(_0x35a1bb?_0x4a0019(_0x207943,_0x2b9c23,_0x5aea0b):_0x4a0019(_0x5aea0b))||_0x5aea0b);return _0x35a1bb&&_0x5aea0b&&Pn(_0x207943,_0x2b9c23,_0x5aea0b),_0x5aea0b;},k=(_0xc77689,_0x31ef01)=>(_0x482249,_0x3831ed)=>_0x31ef01(_0x482249,_0x3831ed,_0xc77689);exports[_0x2b18bd(0x31a)]=class extends a['RxDisposable']{constructor(_0x1f815a,_0x3621b1,_0x3602b1,_0x1a5209,_0x56cdd8,_0xb02366,_0x122a17,_0x2ab1df,_0xc17af8,_0x2f6426,_0x37bcfb,_0x5de661,_0x24bcd2){var _0xc381b2=_0x2b18bd;super(),D(this,_0xc381b2(0x235),new H[(_0xc381b2(0x153))](null)),D(this,'state$',this[_0xc381b2(0x235)][_0xc381b2(0x2f1)]()),D(this,_0xc381b2(0x141)),D(this,'_collaborationPaused',!0x1),D(this,_0xc381b2(0x2b0),''),D(this,'_changesetReqId',0x0),D(this,_0xc381b2(0x264),this[_0xc381b2(0x255)][_0xc381b2(0xbe)](H['map'](_0x4f7a4d=>_0x4f7a4d?_0x4f7a4d[_0xc381b2(0x3a3)]:We[_0xc381b2(0x157)]),H[_0xc381b2(0x8c)](0x1))),D(this,_0xc381b2(0x35a),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0xc381b2(0x329)]=_0x1f815a,this['session']=_0x3621b1,this[_0xc381b2(0x217)]=_0x3602b1,this[_0xc381b2(0x30a)]=_0x1a5209,this[_0xc381b2(0x15b)]=_0x56cdd8,this[_0xc381b2(0xe5)]=_0xb02366,this[_0xc381b2(0x28a)]=_0x122a17,this[_0xc381b2(0x117)]=_0x2ab1df,this[_0xc381b2(0x34d)]=_0xc17af8,this[_0xc381b2(0x372)]=_0x2f6426,this[_0xc381b2(0x1b8)]=_0x37bcfb,this[_0xc381b2(0x207)]=_0x5de661,this[_0xc381b2(0x289)]=_0x24bcd2);}get['state'](){var _0x10484e=_0x2b18bd;return this[_0x10484e(0x141)];}async[_0x2b18bd(0x3cf)](){var _0x31848f=_0x2b18bd;if(this[_0x31848f(0x18e)])throw new Error(_0x31848f(0x3db));await this[_0x31848f(0x16b)]();}['pauseCollaboration'](){var _0x598285=_0x2b18bd;return this[_0x598285(0x1cc)]=!0x0,a[_0x598285(0x177)](()=>{var _0x1f9c8b=_0x598285;this['_collaborationPaused']=!0x1,this[_0x1f9c8b(0x2e4)]();});}[_0x2b18bd(0x313)](_0x9c0fa7){var _0x3750e4=_0x2b18bd;this[_0x3750e4(0x8f)](_0x9c0fa7);}[_0x2b18bd(0x241)](_0x27cf4d){var _0x31a8ec=_0x2b18bd;this[_0x31a8ec(0x141)]=_0x27cf4d,this['_state$'][_0x31a8ec(0x3d5)](_0x27cf4d);}async[_0x2b18bd(0x16b)](){var _0x28eb37=_0x2b18bd,_0x445f6b;this[_0x28eb37(0x241)](await this[_0x28eb37(0x16a)]()),this[_0x28eb37(0x207)]&&((_0x445f6b=this[_0x28eb37(0x207)])==null||_0x445f6b['editingUnit'](this[_0x28eb37(0x329)]),this[_0x28eb37(0x2d2)](this[_0x28eb37(0x207)][_0x28eb37(0x1a6)](this['unitID'])[_0x28eb37(0x32d)](_0x5cda3d=>{var _0x3e1bba=_0x28eb37;this[_0x3e1bba(0x34d)][_0x3e1bba(0x2bc)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x5cda3d),_0x5cda3d===Fe[_0x3e1bba(0x23f)]?(this[_0x3e1bba(0x117)][_0x3e1bba(0xb8)]({'id':Q[_0x3e1bba(0x3d1)]}),this[_0x3e1bba(0x1b8)][_0x3e1bba(0x249)](new J['WorkbookEditablePermission'](this[_0x3e1bba(0x329)])['id'],!0x1),this[_0x3e1bba(0x1b8)][_0x3e1bba(0x2d6)](!0x1)):(this[_0x3e1bba(0x1b8)]['updatePermissionPoint'](new J[(_0x3e1bba(0x136))](this['unitID'])['id'],!0x0),this[_0x3e1bba(0x1b8)][_0x3e1bba(0x2d6)](!0x0));})));let _0xbcb4f2=!0x1;return this[_0x28eb37(0x2d2)](this['session']['sessionStatus$'][_0x28eb37(0x32d)](_0x4034f4=>{var _0x69ddd4=_0x28eb37;_0x4034f4===se[_0x69ddd4(0x1f4)]?this[_0x69ddd4(0x180)](_0xbcb4f2):_0x4034f4===se[_0x69ddd4(0x157)]&&(_0xbcb4f2=!0x0,this[_0x69ddd4(0x29a)]());})),this['disposeWithMe'](this[_0x28eb37(0x22e)][_0x28eb37(0x3af)]['subscribe'](_0x935ec1=>{var _0x58ed7b=_0x28eb37;try{switch(_0x935ec1['eventID']){case m[_0x58ed7b(0x360)]['NEW_CHANGESETS']:{this[_0x58ed7b(0x186)](m[_0x58ed7b(0x1ef)](_0x935ec1['data']));break;}case m[_0x58ed7b(0x360)][_0x58ed7b(0x252)]:{this['_onRemoteACK'](_0x935ec1['data']);break;}case m[_0x58ed7b(0x360)][_0x58ed7b(0x2e0)]:{this[_0x58ed7b(0x278)]();break;}case m[_0x58ed7b(0x360)]['CHANGESET_SHOULD_RETRY']:{this[_0x58ed7b(0x3d2)](_0x935ec1[_0x58ed7b(0x34e)]);break;}case m[_0x58ed7b(0x360)][_0x58ed7b(0x200)]:{this[_0x58ed7b(0x1a9)](_0x935ec1[_0x58ed7b(0x34e)][_0x58ed7b(0x33e)][_0x58ed7b(0x2d9)](_0x450d90=>m[_0x58ed7b(0x1ef)](_0x450d90)));break;}case m[_0x58ed7b(0x360)][_0x58ed7b(0x1ff)]:{this[_0x58ed7b(0x278)]({'isPermissionRej':!0x0});break;}case m[_0x58ed7b(0x360)][_0x58ed7b(0xcc)]:break;}}catch(_0xf7a8fd){throw console['error']('Error\x20on\x20receiving\x20event',_0xf7a8fd),_0xf7a8fd;}})),this[_0x28eb37(0x141)];}[_0x2b18bd(0x1d8)](){this['_transitionLocked']=!0x1;}[_0x2b18bd(0x1f1)](){var _0x1cfe81=_0x2b18bd;if(this[_0x1cfe81(0x35a)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1cfe81(0x35a)]=!0x0;}['_onLocalMutation'](_0x51db1d){var _0x5ae3ee=_0x2b18bd;this['_lockTransition'](),this['_updateState'](this['_state'][_0x5ae3ee(0x3e6)](_0x51db1d)),this[_0x5ae3ee(0x1d8)]();}[_0x2b18bd(0x186)](_0x485a74){var _0x56fc78=_0x2b18bd;if(!(_0x485a74[_0x56fc78(0x97)]<=this[_0x56fc78(0x28a)][_0x56fc78(0x2dc)](this[_0x56fc78(0x329)]))){if(this[_0x56fc78(0x1cc)]){this[_0x56fc78(0xed)]['push'](_0x485a74);return;}this[_0x56fc78(0x1ce)](_0x485a74);}}['_exhaustRemoteChangesetQueue'](){var _0x97a5d3=_0x2b18bd;this[_0x97a5d3(0xed)][_0x97a5d3(0xec)](_0x5df4c6=>this[_0x97a5d3(0x1ce)](_0x5df4c6)),this['_remoteChangesetQueue']=[];}[_0x2b18bd(0x1ce)](_0x46d43e){var _0x139b14=_0x2b18bd;const _0x3babb8=this[_0x139b14(0x15b)]['interceptor'][_0x139b14(0xe0)](this[_0x139b14(0x15b)][_0x139b14(0x3b8)]['getInterceptPoints']()[_0x139b14(0x326)])(_0x46d43e[_0x139b14(0x1ec)],null)||_0x46d43e[_0x139b14(0x1ec)],_0x30143b={..._0x46d43e,'mutations':_0x3babb8};this[_0x139b14(0x1f1)](),this[_0x139b14(0x241)](this['_state'][_0x139b14(0x20c)](_0x30143b)),this[_0x139b14(0x1d8)]();}[_0x2b18bd(0x3b3)](_0x136881){var _0x418075=_0x2b18bd;this[_0x418075(0x1f1)](),this['_updateState'](this[_0x418075(0x141)][_0x418075(0x31b)](_0x136881)),this[_0x418075(0x1d8)]();}['_onRemoteRejected'](_0x5d34b4){var _0x5f1dc3=_0x2b18bd;this['_lockTransition'](),this['_updateState'](this[_0x5f1dc3(0x141)][_0x5f1dc3(0x1ea)](_0x5d34b4)),this[_0x5f1dc3(0x1d8)]();}['_onRemoteRetry'](_0x3deb70){var _0x548240=_0x2b18bd;this[_0x548240(0x1f1)](),this[_0x548240(0x241)](this[_0x548240(0x141)][_0x548240(0x230)](_0x3deb70)),this[_0x548240(0x1d8)]();}[_0x2b18bd(0x1a9)](_0xa22f2e){var _0x2567f0=_0x2b18bd;if(!(this['_state']instanceof exports[_0x2567f0(0x165)]))throw new TypeError(_0x2567f0(0xce));const _0x5a2d4a=_0xa22f2e[_0x2567f0(0x2d9)](_0x1050b1=>{var _0x5173f7=_0x2567f0;const _0x152c2b=this['_compressMutationService'][_0x5173f7(0x3b8)][_0x5173f7(0xe0)](this[_0x5173f7(0x15b)]['interceptor'][_0x5173f7(0x150)]()[_0x5173f7(0x326)])(_0x1050b1[_0x5173f7(0x1ec)],null)||_0x1050b1['mutations'];return{..._0x1050b1,'mutations':_0x152c2b};});this[_0x2567f0(0x1f1)](),this['_updateState'](this[_0x2567f0(0x141)]['onMissedChangesetFetched'](_0x5a2d4a)),this[_0x2567f0(0x1d8)]();}[_0x2b18bd(0x29a)](){var _0x436879=_0x2b18bd;this[_0x436879(0x1f1)](),this['_updateState'](this['_state'][_0x436879(0x216)]()),this[_0x436879(0x1d8)]();}[_0x2b18bd(0x180)](_0x4762ca=!0x1){var _0x27dbe8=_0x2b18bd;this[_0x27dbe8(0x1f1)](),this[_0x27dbe8(0x241)](this[_0x27dbe8(0x141)][_0x27dbe8(0x224)]()),this[_0x27dbe8(0x1d8)]();const _0x47a783=this[_0x27dbe8(0x141)];_0x4762ca&&_0x47a783 instanceof exports[_0x27dbe8(0x2b6)]&&(this[_0x27dbe8(0x1f1)](),this[_0x27dbe8(0x241)](_0x47a783[_0x27dbe8(0x3b6)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x300872=>{var _0x47866b=_0xf177;this[_0x47866b(0x22e)][_0x47866b(0x258)][_0x47866b(0xbe)](H[_0x47866b(0x2bb)](0x1))[_0x47866b(0x32d)](async _0xc92bb2=>{var _0x4a9f9d=_0x47866b;_0x300872(await this[_0x4a9f9d(0x2a1)](_0xc92bb2===se[_0x4a9f9d(0x1f4)]));});});}['_createHandler'](){var _0x2d7711=_0x2b18bd;const _0x43b1fe=this[_0x2d7711(0x329)];return{'onStateChange':(_0x3c5601,_0x2b76b3)=>{var _0x12be56=_0x2d7711;if(_0x3c5601!==this['_state'])throw new Error(_0x12be56(0x3c6)+_0x3c5601[_0x12be56(0x3a3)]+'\x0aAfter:\x20'+_0x2b76b3[_0x12be56(0x3a3)]+'\x0aCurrent:\x20'+this[_0x12be56(0x141)][_0x12be56(0x3a3)]);this[_0x12be56(0x241)](_0x2b76b3);},'onSendChangeset':_0xb90c51=>{var _0x2e56ca=_0x2d7711;_0xb90c51[_0x2e56ca(0x27e)]||(_0xb90c51['sid']=this[_0x2e56ca(0x2b0)],_0xb90c51['reqId']=++this[_0x2e56ca(0xb4)]);const _0x4aa3b5={'eventID':m[_0x2e56ca(0x360)][_0x2e56ca(0x191)],'data':{'unitID':_0xb90c51[_0x2e56ca(0x329)],'unitType':this['_type'],'changeset':_0xb90c51,'memberID':this[_0x2e56ca(0x22e)][_0x2e56ca(0x405)]()}};this[_0x2e56ca(0x22e)]['send'](_0x4aa3b5,this[_0x2e56ca(0x329)]);},'onMissingChangesets':({from:_0xfcf683,to:_0x164b34})=>{var _0x422ef3=_0x2d7711;this[_0x422ef3(0x34d)][_0x422ef3(0x2bc)](_0x422ef3(0x407),_0x422ef3(0xe6)+_0xfcf683+_0x422ef3(0x2ca)+_0x164b34);const _0x23d91e={'eventID':m[_0x422ef3(0x360)]['FETCH_MISSING'],'data':{'unitID':_0x43b1fe,'unitType':this[_0x422ef3(0x217)],'from':_0xfcf683,'to':_0x164b34}};this[_0x422ef3(0x22e)][_0x422ef3(0x2a6)](_0x23d91e,this[_0x422ef3(0x329)]);}};}async['_createInitialStateImpl'](_0x5e5bd5){var _0x127c94=_0x2b18bd,_0x2a062c,_0x4b07cc,_0x37b710;const _0xa74a31=await((_0x2a062c=this[_0x127c94(0x289)])==null?void 0x0:_0x2a062c[_0x127c94(0x389)](this['unitID'])),_0x51667a=(_0x4b07cc=_0xa74a31==null?void 0x0:_0xa74a31[_0x127c94(0x1ec)])!=null?_0x4b07cc:[],_0x4c108e=(_0x37b710=_0xa74a31==null?void 0x0:_0xa74a31[_0x127c94(0x32a)])!=null?_0x37b710:null,_0x1bcf0e=!!(_0x4c108e!=null&&_0x4c108e[_0x127c94(0x27e)])&&!!(_0x4c108e!=null&&_0x4c108e[_0x127c94(0x237)]);this[_0x127c94(0x2b0)]=_0x1bcf0e?_0x4c108e[_0x127c94(0x27e)]:gn(),this['_changesetReqId']=_0x1bcf0e?_0x4c108e[_0x127c94(0x237)]:0x0;const _0x2a8109=this['unitID'];try{this[_0x127c94(0x29b)](_0x4c108e,_0x51667a);}catch(_0x2eb708){this[_0x127c94(0x34d)][_0x127c94(0x99)](_0x2eb708);}const _0x48865b=this['_createHandler']();if(_0x5e5bd5){const _0x2db4ed=Pt(this['_injector'],_0x2a8109,this[_0x127c94(0x217)],_0x4c108e,_0x51667a,_0x48865b);return _0x2db4ed instanceof exports[_0x127c94(0x91)]?_0x2db4ed[_0x127c94(0x128)]():(_0x2db4ed instanceof exports[_0x127c94(0x1e3)]||_0x2db4ed instanceof exports[_0x127c94(0x22a)])&&_0x2db4ed[_0x127c94(0x246)](),_0x2db4ed;}return this[_0x127c94(0x30a)][_0x127c94(0xd8)](exports[_0x127c94(0x3b2)],_0x2a8109,this[_0x127c94(0x217)],_0x4c108e,_0x51667a,_0x48865b);}[_0x2b18bd(0x29b)](_0x5a09a9,_0x168229){var _0x56093a=_0x2b18bd,_0x1dbaac,_0x3cc61f;const _0x5cc92f=this[_0x56093a(0x15b)]['interceptor'][_0x56093a(0xe0)](this[_0x56093a(0x15b)][_0x56093a(0x3b8)][_0x56093a(0x150)]()[_0x56093a(0x326)]);(_0x1dbaac=_0x5cc92f((_0x5a09a9==null?void 0x0:_0x5a09a9['mutations'])||[],null))==null||_0x1dbaac[_0x56093a(0xec)](_0x411bc3=>this[_0x56093a(0x372)][_0x56093a(0x1c6)](_0x411bc3['id'],_0x411bc3[_0x56093a(0xa5)])),(_0x3cc61f=_0x5cc92f(_0x168229||[],null))==null||_0x3cc61f[_0x56093a(0xec)](_0xabef5f=>this[_0x56093a(0x372)][_0x56093a(0x1c6)](_0xabef5f['id'],_0xabef5f[_0x56093a(0xa5)]));}},exports[_0x2b18bd(0x31a)]=Ge([k(0x3,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x112)])),k(0x4,a[_0x2b18bd(0x1c4)](m['CompressMutationService'])),k(0x5,a[_0x2b18bd(0x1c4)](a['LocaleService'])),k(0x6,a[_0x2b18bd(0x1c4)](m[_0x2b18bd(0x3d9)])),k(0x7,a[_0x2b18bd(0x1c4)](te)),k(0x8,a[_0x2b18bd(0x304)]),k(0x9,a[_0x2b18bd(0xf2)]),k(0xa,a[_0x2b18bd(0x248)]),k(0xb,a[_0x2b18bd(0x34a)](ve)),k(0xc,a[_0x2b18bd(0x34a)](z))],exports[_0x2b18bd(0x31a)]),exports[_0x2b18bd(0x12a)]=class extends exports[_0x2b18bd(0x31a)]{constructor(_0xd84b9d,_0x33be62,_0x3766e8,_0x229992,_0x4b0d7d,_0x109772,_0x3e0026,_0x5ba71f,_0x116f5d,_0x5d07dd,_0x39d018,_0x3299e0,_0x7cc170){var _0x908a5=_0x2b18bd;super(_0xd84b9d,_0x3766e8,_0x33be62,_0x229992,_0x4b0d7d,_0x109772,_0x3e0026,_0x5ba71f,_0x116f5d,_0x5d07dd,_0x39d018,_0x3299e0,_0x7cc170),D(this,_0x908a5(0x3b9),null),(this[_0x908a5(0x329)]=_0xd84b9d,this['type']=_0x33be62);}['addHandlerCallback'](_0x9403e2){var _0x5bf2f5=_0x2b18bd;this[_0x5bf2f5(0x3b9)]=_0x9403e2;}[_0x2b18bd(0x1b2)](){var _0x39ac7b=_0x2b18bd;this['_handlerCallback']=null,super[_0x39ac7b(0x1b2)]();}[_0x2b18bd(0x356)](){var _0x24052d=_0x2b18bd;const _0x59ce96=super[_0x24052d(0x356)]();return _0x59ce96[_0x24052d(0xfa)]=_0x4c6f80=>{var _0x6b34cf=_0x24052d,_0x3bcafc,_0x16629c;return(_0x16629c=(_0x3bcafc=this[_0x6b34cf(0x3b9)])==null?void 0x0:_0x3bcafc[_0x6b34cf(0xfa)])==null?void 0x0:_0x16629c[_0x6b34cf(0x27d)](_0x3bcafc,_0x4c6f80);},_0x59ce96[_0x24052d(0x1a5)]=_0x1491cc=>{var _0x1d77c0=_0x24052d,_0x531510,_0x42572b;return(_0x42572b=(_0x531510=this[_0x1d77c0(0x3b9)])==null?void 0x0:_0x531510[_0x1d77c0(0x1a5)])==null?void 0x0:_0x42572b[_0x1d77c0(0x27d)](_0x531510,_0x1491cc);},_0x59ce96[_0x24052d(0xfb)]=_0x20c2bc=>{var _0x55e656=_0x24052d,_0x5cebb3,_0x408ed0;return(_0x408ed0=(_0x5cebb3=this[_0x55e656(0x3b9)])==null?void 0x0:_0x5cebb3[_0x55e656(0xfb)])==null?void 0x0:_0x408ed0[_0x55e656(0x27d)](_0x5cebb3,_0x20c2bc);},_0x59ce96[_0x24052d(0x3dc)]=_0x52c95f=>{var _0x1cbd71=_0x24052d,_0x1001d9,_0x575284;return(_0x575284=(_0x1001d9=this[_0x1cbd71(0x3b9)])==null?void 0x0:_0x1001d9['onSyncEditingCollabCursor'])==null?void 0x0:_0x575284[_0x1cbd71(0x27d)](_0x1001d9,_0x52c95f);},_0x59ce96['onTransformRemoteChangesetByIMECache']=_0x1a0b9f=>{var _0x338473=_0x24052d,_0xfa880f,_0x4c0e08,_0x433161;if(!((_0xfa880f=this[_0x338473(0x3b9)])!=null&&_0xfa880f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x338473(0x2b2));return(_0x433161=(_0x4c0e08=this[_0x338473(0x3b9)])==null?void 0x0:_0x4c0e08[_0x338473(0x1a3)])==null?void 0x0:_0x433161[_0x338473(0x27d)](_0x4c0e08,_0x1a0b9f);},_0x59ce96[_0x24052d(0x3c9)]=_0x25253c=>{var _0x9620b1=_0x24052d,_0x417b18,_0x182600,_0x543cef;if(!((_0x417b18=this[_0x9620b1(0x3b9)])!=null&&_0x417b18['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x543cef=(_0x182600=this[_0x9620b1(0x3b9)])==null?void 0x0:_0x182600['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x543cef[_0x9620b1(0x27d)](_0x182600,_0x25253c);},_0x59ce96;}async['_init'](){var _0x36d40b=_0x2b18bd;const _0x52b4fd=await super[_0x36d40b(0x16b)]();return this[_0x36d40b(0x2d2)](this[_0x36d40b(0x372)][_0x36d40b(0x2a9)]((_0x46a65b,_0x24c52b)=>{var _0x567078=_0x36d40b;if(_0x46a65b[_0x567078(0x1ac)]!==a[_0x567078(0x133)][_0x567078(0xba)]||_0x24c52b!=null&&_0x24c52b['fromCollab']||_0x24c52b!=null&&_0x24c52b[_0x567078(0x2ee)]||_0x46a65b['id']===dt[_0x567078(0xdc)]['id'])return;const _0x3ece73=_0x46a65b[_0x567078(0xa5)];if((_0x3ece73==null?void 0x0:_0x3ece73['unitId'])!==this[_0x567078(0x329)])return;const _0x340861=_0x46a65b,_0x4bd7a2=this[_0x567078(0x15b)]['interceptor'][_0x567078(0xe0)](this[_0x567078(0x15b)]['interceptor'][_0x567078(0x150)]()[_0x567078(0x2ef)])([_0x340861],null)||[_0x340861];this[_0x567078(0x8f)](_0x4bd7a2[0x0]);})),_0x52b4fd;}},exports[_0x2b18bd(0x12a)]=Ge([k(0x3,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x112)])),k(0x4,a[_0x2b18bd(0x1c4)](m[_0x2b18bd(0x2ac)])),k(0x5,a['Inject'](a[_0x2b18bd(0x27a)])),k(0x6,a[_0x2b18bd(0x1c4)](m[_0x2b18bd(0x3d9)])),k(0x7,a[_0x2b18bd(0x1c4)](te)),k(0x8,a[_0x2b18bd(0x304)]),k(0x9,a[_0x2b18bd(0xf2)]),k(0xa,a[_0x2b18bd(0x248)]),k(0xb,a[_0x2b18bd(0x34a)](ve)),k(0xc,a[_0x2b18bd(0x34a)](z))],exports[_0x2b18bd(0x12a)]),exports[_0x2b18bd(0x315)]=class extends exports['CollaborationEntity']{constructor(_0x2c622d,_0x26e6e5,_0x40c3ce,_0x59466b,_0x2cadd2,_0x55b46e,_0x329c87,_0x48c3fc,_0x44e15a,_0x4584ae,_0x4fcc1b,_0x5c4180,_0x9a3bb5,_0x49d721){var _0x12ea3c=_0x2b18bd;super(_0x2c622d,_0x40c3ce,_0x26e6e5,_0x59466b,_0x2cadd2,_0x55b46e,_0x329c87,_0x44e15a,_0x4584ae,_0x4fcc1b,_0x5c4180,_0x9a3bb5,_0x49d721),this[_0x12ea3c(0x329)]=_0x2c622d,this[_0x12ea3c(0x1ac)]=_0x26e6e5,this[_0x12ea3c(0x1d5)]=_0x48c3fc;}[_0x2b18bd(0x356)](){var _0x4f00d6=_0x2b18bd;const _0x2cd0c1=super[_0x4f00d6(0x356)]();return _0x2cd0c1[_0x4f00d6(0xfb)]=_0x336fa7=>this['_sheetTransformSelectionsService'][_0x4f00d6(0x1ab)](_0x336fa7),_0x2cd0c1;}async[_0x2b18bd(0x16b)](){var _0x329a45=_0x2b18bd;const _0x35c4c7=await super[_0x329a45(0x16b)]();return this[_0x329a45(0x2d2)](this[_0x329a45(0x372)][_0x329a45(0x2a9)]((_0x224105,_0x26aa69)=>{var _0x46340e=_0x329a45;if(_0x224105['type']!==a[_0x46340e(0x133)]['MUTATION']||_0x26aa69!=null&&_0x26aa69[_0x46340e(0x2e3)]||_0x26aa69!=null&&_0x26aa69[_0x46340e(0x2ee)])return;const _0x58532a=_0x224105['params'];if((_0x58532a==null?void 0x0:_0x58532a['unitId'])!==this['unitID'])return;const _0x589f54=_0x224105,_0x2a58aa=this['_compressMutationService'][_0x46340e(0x3b8)]['fetchThroughInterceptors'](this[_0x46340e(0x15b)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x589f54],null)||[_0x589f54];this[_0x46340e(0x8f)](_0x2a58aa[0x0]);})),_0x35c4c7;}},exports['SheetCollaborationEntity']=Ge([k(0x3,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x112)])),k(0x4,a['Inject'](m['CompressMutationService'])),k(0x5,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x27a)])),k(0x6,a['Inject'](m[_0x2b18bd(0x3d9)])),k(0x7,a['Inject'](exports[_0x2b18bd(0x202)])),k(0x8,a['Inject'](te)),k(0x9,a['ILogService']),k(0xa,a[_0x2b18bd(0xf2)]),k(0xb,a['IPermissionService']),k(0xc,a[_0x2b18bd(0x34a)](ve)),k(0xd,a[_0x2b18bd(0x34a)](z))],exports[_0x2b18bd(0x315)]);var wn=Object['defineProperty'],An=Object['getOwnPropertyDescriptor'],Ln=(_0x38a0d2,_0x4a4266,_0x13b660,_0x2353c2)=>{var _0x5c5f94=_0x2b18bd;for(var _0x4431d1=_0x2353c2>0x1?void 0x0:_0x2353c2?An(_0x4a4266,_0x13b660):_0x4a4266,_0x2d43d9=_0x38a0d2[_0x5c5f94(0x327)]-0x1,_0x30a0d2;_0x2d43d9>=0x0;_0x2d43d9--)(_0x30a0d2=_0x38a0d2[_0x2d43d9])&&(_0x4431d1=(_0x2353c2?_0x30a0d2(_0x4a4266,_0x13b660,_0x4431d1):_0x30a0d2(_0x4431d1))||_0x4431d1);return _0x2353c2&&_0x4431d1&&wn(_0x4a4266,_0x13b660,_0x4431d1),_0x4431d1;},we=(_0x4e710b,_0x48e793)=>(_0x2e5395,_0x53ba99)=>_0x48e793(_0x2e5395,_0x53ba99,_0x4e710b);exports['CollaborationController']=class extends a[_0x2b18bd(0x35e)]{constructor(_0x465920,_0x1a9753,_0x1b226c){var _0x4d5128=_0x2b18bd;super(),D(this,_0x4d5128(0x239),new Map()),D(this,_0x4d5128(0x17f),new H['Subject']()),D(this,'entityInit$',this[_0x4d5128(0x17f)]['asObservable']()),(this[_0x4d5128(0x30a)]=_0x465920,this[_0x4d5128(0x29e)]=_0x1a9753,this['_univerInstanceService']=_0x1b226c,this['_init']());}[_0x2b18bd(0x1b2)](){var _0x12f321=_0x2b18bd;super[_0x12f321(0x1b2)](),this['_entities']['forEach'](_0x1a94c1=>_0x1a94c1['dispose']()),this[_0x12f321(0x239)]['clear']();}[_0x2b18bd(0x1e2)](_0x1f14d7){var _0x56a9ca=_0x2b18bd,_0x54d83e;return(_0x54d83e=this[_0x56a9ca(0x239)][_0x56a9ca(0x263)](_0x1f14d7))!=null?_0x54d83e:null;}['getCollabEntity$'](_0x19a5a1){var _0x5ba962=_0x2b18bd;const _0xc0aa00=this[_0x5ba962(0x1e2)](_0x19a5a1);return _0xc0aa00?H['of'](_0xc0aa00):this[_0x5ba962(0x17f)][_0x5ba962(0xbe)](W[_0x5ba962(0x2fe)](_0x9df706=>_0x9df706[_0x5ba962(0x329)]===_0x19a5a1));}[_0x2b18bd(0x1d0)](_0x1c49ca){var _0x71d0b6=_0x2b18bd;return H['firstValueFrom'](this['getCollabEntity$'](_0x1c49ca)[_0x71d0b6(0xbe)](W[_0x71d0b6(0x2d9)](()=>{})));}['_init'](){var _0x303532=_0x2b18bd;this['_univerInstanceService'][_0x303532(0x1f8)](a['UniverInstanceType'][_0x303532(0xcb)])['pipe'](H['takeUntil'](this[_0x303532(0x1e8)]),W[_0x303532(0x123)](0x10))[_0x303532(0x32d)](async _0x139709=>{var _0x57755e=_0x303532;const _0xbd3e17=_0x139709[_0x57755e(0x11a)](),_0x1215f0=await this[_0x57755e(0x166)](_0xbd3e17,Z[_0x57755e(0xcb)]);this[_0x57755e(0x239)][_0x57755e(0x3f6)](_0xbd3e17,_0x1215f0);}),this[_0x303532(0x3c2)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x303532(0x39b)])['pipe'](H[_0x303532(0x90)](this[_0x303532(0x1e8)]),W[_0x303532(0x123)](0x10))[_0x303532(0xbe)](W[_0x303532(0x2fe)](_0x20ce2b=>!_0x20ce2b['getUnitId']()[_0x303532(0x26c)]('__')))['subscribe'](async _0x2eb7d1=>{var _0x556e51=_0x303532;const _0x510bbf=_0x2eb7d1[_0x556e51(0x11a)](),_0x4e76e3=await this['_startCollaboration'](_0x510bbf,Z['UNIVER_DOC']);this['_entities'][_0x556e51(0x3f6)](_0x510bbf,_0x4e76e3);}),H['merge'](this[_0x303532(0x3c2)][_0x303532(0x3cd)](a[_0x303532(0x1c3)][_0x303532(0xcb)]),this['_univerInstanceService'][_0x303532(0x3cd)](a[_0x303532(0x1c3)][_0x303532(0x39b)]))['pipe'](H[_0x303532(0x90)](this[_0x303532(0x1e8)]))[_0x303532(0x32d)](_0x374cbf=>{var _0x47232a=_0x303532;const _0x42fa82=_0x374cbf[_0x47232a(0x11a)](),_0x392915=this[_0x47232a(0x239)][_0x47232a(0x263)](_0x42fa82);_0x392915&&(_0x392915[_0x47232a(0x1b2)](),this['_entities']['delete'](_0x42fa82));});}async[_0x2b18bd(0x166)](_0x518db4,_0x23d7e6){var _0x5f1f86=_0x2b18bd;const _0x799f0b=await this[_0x5f1f86(0x29e)]['requireSession'](_0x518db4),_0x46fc02=this[_0x5f1f86(0x30a)][_0x5f1f86(0xd8)](this[_0x5f1f86(0x8a)](_0x23d7e6),_0x518db4,_0x23d7e6,_0x799f0b);return await _0x46fc02[_0x5f1f86(0x3cf)](),this[_0x5f1f86(0x17f)][_0x5f1f86(0x3d5)](_0x46fc02),_0x46fc02;}[_0x2b18bd(0x8a)](_0x27df23){var _0x399145=_0x2b18bd;switch(_0x27df23){case Z['UNIVER_DOC']:return exports['DocCollaborationEntity'];case Z[_0x399145(0xcb)]:return exports[_0x399145(0x315)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x27df23);}}},exports[_0x2b18bd(0x293)]=Ln([we(0x0,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x112)])),we(0x1,a[_0x2b18bd(0x1c4)](exports[_0x2b18bd(0xbd)])),we(0x2,a[_0x2b18bd(0x21f)])],exports[_0x2b18bd(0x293)]);var Mn=Object[_0x2b18bd(0x222)],xn=Object[_0x2b18bd(0x1b9)],jn=(_0x425383,_0xb14c2e,_0x40ecbb,_0x9b98e0)=>{var _0x5c76c1=_0x2b18bd;for(var _0x1c6670=_0x9b98e0>0x1?void 0x0:_0x9b98e0?xn(_0xb14c2e,_0x40ecbb):_0xb14c2e,_0x26a698=_0x425383[_0x5c76c1(0x327)]-0x1,_0x4a3cac;_0x26a698>=0x0;_0x26a698--)(_0x4a3cac=_0x425383[_0x26a698])&&(_0x1c6670=(_0x9b98e0?_0x4a3cac(_0xb14c2e,_0x40ecbb,_0x1c6670):_0x4a3cac(_0x1c6670))||_0x1c6670);return _0x9b98e0&&_0x1c6670&&Mn(_0xb14c2e,_0x40ecbb,_0x1c6670),_0x1c6670;},Xe=(_0x57d41d,_0x16baa7)=>(_0xcaf1b3,_0x20bbd2)=>_0x16baa7(_0xcaf1b3,_0x20bbd2,_0x57d41d);const $n=_0x2b18bd(0x338),Hn=_0x2b18bd(0x349);let $e=class extends a[_0x2b18bd(0x3d4)]{constructor(_0x5b9e4b,_0x4286f3){var _0x521010=_0x2b18bd;super(),this[_0x521010(0x3c2)]=_0x5b9e4b,this[_0x521010(0x2c6)]=_0x4286f3,this[_0x521010(0x16b)]();}[_0x2b18bd(0x16b)](){var _0x2fa01a=_0x2b18bd;this[_0x2fa01a(0x2d2)](this[_0x2fa01a(0x3c2)][_0x2fa01a(0x36e)][_0x2fa01a(0x32d)](()=>{var _0x1cdaa3=_0x2fa01a,_0x3ac372;const _0x533850=this[_0x1cdaa3(0x3c2)][_0x1cdaa3(0x179)]();let _0x21fb96=(_0x3ac372=this[_0x1cdaa3(0x2c6)][_0x1cdaa3(0x15d)]($n))!=null?_0x3ac372:Hn;_0x533850 instanceof a['Workbook']&&(_0x21fb96=_0x533850[_0x1cdaa3(0x368)]),document[_0x1cdaa3(0x33c)]=_0x21fb96;}));}};$e=jn([Xe(0x0,a[_0x2b18bd(0x21f)]),Xe(0x1,a[_0x2b18bd(0x343)])],$e);var kn=Object[_0x2b18bd(0x222)],Bn=Object[_0x2b18bd(0x1b9)],Fn=(_0x273df4,_0x4e9811,_0x20bf1e,_0x1b7112)=>{var _0x199e16=_0x2b18bd;for(var _0x328d8d=_0x1b7112>0x1?void 0x0:_0x1b7112?Bn(_0x4e9811,_0x20bf1e):_0x4e9811,_0x433daf=_0x273df4[_0x199e16(0x327)]-0x1,_0x501015;_0x433daf>=0x0;_0x433daf--)(_0x501015=_0x273df4[_0x433daf])&&(_0x328d8d=(_0x1b7112?_0x501015(_0x4e9811,_0x20bf1e,_0x328d8d):_0x501015(_0x328d8d))||_0x328d8d);return _0x1b7112&&_0x328d8d&&kn(_0x4e9811,_0x20bf1e,_0x328d8d),_0x328d8d;},Ae=(_0x400d70,_0x4eeaf9)=>(_0x12721c,_0x44fff8)=>_0x4eeaf9(_0x12721c,_0x44fff8,_0x400d70);let ye=class{constructor(_0x2b410b,_0x12a367,_0x53168f){var _0x3a15d6=_0x2b18bd;this[_0x3a15d6(0x2c6)]=_0x2b410b,this[_0x3a15d6(0x1f5)]=_0x12a367,this[_0x3a15d6(0x1a8)]=_0x53168f,this[_0x3a15d6(0x3cf)]();}[_0x2b18bd(0x3cf)](){var _0x1c3e37=_0x2b18bd;this[_0x1c3e37(0x1f5)][_0x1c3e37(0x309)]({'priority':0x1,'interceptor':(_0x182c6d,_0x18689e)=>_0x18689e(_0x182c6d)[_0x1c3e37(0xbe)](H[_0x1c3e37(0x362)](async _0x4e3f83=>{var _0x52b427=_0x1c3e37;const _0x3d6260=_0x4e3f83;if(_0x3d6260[_0x52b427(0x3a3)]===0x191){if(typeof window>'u')throw new Error(_0x52b427(0x342));if(window[_0x52b427(0x32f)](this['localeService']['t'](_0x52b427(0x37d)))){const _0x7157ef=window['encodeURIComponent'](window['location'][_0x52b427(0x1b0)]);window['location'][_0x52b427(0x1b0)]=this['_getLoginPath']()+_0x52b427(0x11f)+_0x7157ef;}}return _0x3d6260;}))});}[_0x2b18bd(0x22b)](){var _0x6d2147=_0x2b18bd,_0x1ce481,_0x3b4303;const _0x53e885=this[_0x6d2147(0x2c6)][_0x6d2147(0x15d)](Ct),_0x2ada71=this['_configService'][_0x6d2147(0x15d)](Y);return(_0x3b4303=(_0x1ce481=_0x2ada71==null?void 0x0:_0x2ada71[_0x6d2147(0x3ad)])!=null?_0x1ce481:_0x53e885)!=null?_0x3b4303:zt;}};ye=Fn([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x2b18bd(0x1c4)](q['HTTPService'])),Ae(0x2,a[_0x2b18bd(0x1c4)](a['LocaleService']))],ye);function _0xf177(_0x3e1f1a,_0xac133c){var _0x16f4f9=_0x16f4();return _0xf177=function(_0xf17759,_0x190906){_0xf17759=_0xf17759-0x89;var _0x3518c7=_0x16f4f9[_0xf17759];return _0x3518c7;},_0xf177(_0x3e1f1a,_0xac133c);}var Wn=Object[_0x2b18bd(0x222)],Gn=Object[_0x2b18bd(0x1b9)],Vn=(_0x4a756f,_0x4795fd,_0x123cea,_0x9dfd8)=>{var _0x24ba67=_0x2b18bd;for(var _0xd9cce6=_0x9dfd8>0x1?void 0x0:_0x9dfd8?Gn(_0x4795fd,_0x123cea):_0x4795fd,_0x4cdfcf=_0x4a756f[_0x24ba67(0x327)]-0x1,_0x36be42;_0x4cdfcf>=0x0;_0x4cdfcf--)(_0x36be42=_0x4a756f[_0x4cdfcf])&&(_0xd9cce6=(_0x9dfd8?_0x36be42(_0x4795fd,_0x123cea,_0xd9cce6):_0x36be42(_0xd9cce6))||_0xd9cce6);return _0x9dfd8&&_0xd9cce6&&Wn(_0x4795fd,_0x123cea,_0xd9cce6),_0xd9cce6;},Ze=(_0x1e1c57,_0x2f9c75)=>(_0x5d4a01,_0x29ea7b)=>_0x2f9c75(_0x5d4a01,_0x29ea7b,_0x1e1c57);const Ve=_0x2b18bd(0x24a),Kn=_0x2b18bd(0x199);exports[_0x2b18bd(0x39f)]=class extends a['Disposable']{constructor(_0x2a43bc,_0x5cd5ab){var _0x175687=_0x2b18bd;super(),this[_0x175687(0x25e)]=_0x2a43bc,this[_0x175687(0x2c6)]=_0x5cd5ab,this['_initMergeInterceptor']();}[_0x2b18bd(0x406)](){var _0x3cadac=_0x2b18bd;const _0x171235=this;this[_0x3cadac(0x2d2)](this['_HTTPService'][_0x3cadac(0x309)]({'priority':0x3e7,'interceptor':q[_0x3cadac(0x335)]({'isMatch'(_0x33ef30){var _0x7318bc=_0x3cadac,_0x5c5ffb;if(_0x33ef30['method']===_0x7318bc(0x348)&&((_0x5c5ffb=_0x33ef30[_0x7318bc(0x2a3)])!=null&&_0x5c5ffb[_0x7318bc(0x1fa)])){const {objectID:_0x3e050c,objectType:_0x1f41fe}=_0x33ef30['requestParams'][_0x7318bc(0x1fa)]||{};if(!_0x3e050c||_0x1f41fe===void 0x0)return!0x1;const _0x294232=_0x171235[_0x7318bc(0x2ab)]()+'/'+_0x1f41fe+_0x7318bc(0x111)+_0x3e050c+_0x7318bc(0x11b);if(_0x33ef30['url']===_0x294232)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x807e90){var _0x117e0f=_0x3cadac,_0x24917b;return(_0x24917b=_0x807e90['requestParams'])==null?void 0x0:_0x24917b[_0x117e0f(0x1fa)];},'mergeParamsToRequest'(_0x275cbc,_0x587d0a){var _0x257ebf=_0x3cadac;const _0x43dc67=_0x171235['_getAPIPrefixPath']()+_0x257ebf(0x23d),_0x56607c=_0x275cbc[_0x257ebf(0x35c)]((_0x1261ec,_0x2a0c74)=>{var _0x588910=_0x257ebf;const {unitID:_0x2678e8,objectID:_0x3653a4,objectType:_0x297aba,actions:_0x366123}=_0x2a0c74;return _0x1261ec[_0x2678e8]||(_0x1261ec[_0x2678e8]={}),_0x1261ec[_0x2678e8][_0x3653a4]||(_0x1261ec[_0x2678e8][_0x3653a4]={'objectID':_0x3653a4,'objectType':_0x297aba,'actions':[]}),_0x1261ec[_0x2678e8][_0x3653a4][_0x588910(0x2c8)][_0x588910(0x205)](..._0x366123),_0x1261ec;},{}),_0x4306c0=[];for(const _0x5722e0 in _0x56607c)for(const _0x1df6b7 in _0x56607c[_0x5722e0]){const {actions:_0x524046,objectType:_0x18abde}=_0x56607c[_0x5722e0][_0x1df6b7],_0x5bb8a0=[...new Set(_0x524046)];_0x4306c0[_0x257ebf(0x205)]({'unitID':_0x5722e0,'objectID':_0x1df6b7,'objectType':_0x18abde,'actions':_0x5bb8a0});}return new q[(_0x257ebf(0xd5))](_0x257ebf(0x348),_0x43dc67,{'headers':_0x587d0a[_0x257ebf(0x1ca)],'withCredentials':_0x587d0a[_0x257ebf(0x2a7)],'responseType':_0x587d0a['responseType'],'body':{'requests':_0x4306c0}});}},{'distributeResult'(_0x3d833d,_0x536f52){var _0x156798=_0x3cadac;const {objectActions:_0x3f437f}=_0x3d833d;return _0x536f52[_0x156798(0x2d9)](_0x525f1b=>{var _0xa49cfe=_0x156798;const {unitID:_0x169119,objectID:_0x4f733b,actions:_0x1fabeb}=_0x525f1b,_0x5889c9=_0x3f437f[_0xa49cfe(0x336)](_0x525b9c=>_0x525b9c[_0xa49cfe(0x329)]===_0x169119&&_0x525b9c[_0xa49cfe(0x38f)]===_0x4f733b),_0x42e6f5=_0x1fabeb[_0xa49cfe(0x2d9)](_0x51282c=>_0x5889c9==null?void 0x0:_0x5889c9[_0xa49cfe(0x2c8)][_0xa49cfe(0x336)](_0x3ae18f=>_0x3ae18f[_0xa49cfe(0xb2)]===_0x51282c))[_0xa49cfe(0x2fe)](_0x18d9ff=>!!_0x18d9ff);return{'config':_0x525f1b,'result':{'actions':_0x42e6f5,'error':_0x3d833d[_0xa49cfe(0x99)]}};});}})}));}[_0x2b18bd(0x2ab)](){var _0x366346=_0x2b18bd,_0x3f2fb8,_0x26ea21;const _0x1219fb=this[_0x366346(0x2c6)][_0x366346(0x15d)](Ve),_0x5dd2d4=this[_0x366346(0x2c6)][_0x366346(0x15d)](Y);return(_0x26ea21=(_0x3f2fb8=_0x5dd2d4==null?void 0x0:_0x5dd2d4[_0x366346(0x247)])!=null?_0x3f2fb8:_0x1219fb)!=null?_0x26ea21:Kn;}async[_0x2b18bd(0x194)](_0xa5dd89){var _0x3fedd9=_0x2b18bd;const _0x4c862a=this[_0x3fedd9(0x2ab)]()+'/'+_0xa5dd89[_0x3fedd9(0x3fe)]+_0x3fedd9(0x19d);return(await this['_HTTPService']['post'](_0x4c862a,{'body':_0xa5dd89}))['body']['objectID']||'';}async[_0x2b18bd(0x1f6)](_0x528d47){var _0x4c9990=_0x2b18bd;const _0x2b3ed0=this[_0x4c9990(0x2ab)]()+_0x4c9990(0x36f);return(await this[_0x4c9990(0x25e)][_0x4c9990(0x116)](_0x2b3ed0,{'body':_0x528d47}))[_0x4c9990(0x1fa)]['objects'];}async[_0x2b18bd(0x271)](_0x5d067a){var _0x11a445=_0x2b18bd;const _0x413112=this[_0x11a445(0x2ab)]()+'/'+_0x5d067a['objectType']+_0x11a445(0x111)+_0x5d067a[_0x11a445(0x38f)];await this[_0x11a445(0x25e)][_0x11a445(0x378)](_0x413112,{'body':_0x5d067a});}async[_0x2b18bd(0x203)](_0x2ac83f){var _0x1b241b=_0x2b18bd;const _0x1bcb0f=this[_0x1b241b(0x2ab)]()+'/'+_0x2ac83f['objectType']+'/object/'+_0x2ac83f[_0x1b241b(0x38f)]+_0x1b241b(0x11b);return(await this[_0x1b241b(0x25e)][_0x1b241b(0x116)](_0x1bcb0f,{'body':_0x2ac83f}))[_0x1b241b(0x1fa)][_0x1b241b(0x2c8)];}async[_0x2b18bd(0x2b7)](_0x5a7f09){var _0x98ac16=_0x2b18bd;const _0x4c38e6=this[_0x98ac16(0x2ab)]()+'/-/object/-/batch_allowed';return(await this[_0x98ac16(0x25e)]['post'](_0x4c38e6,{'body':{'requests':_0x5a7f09}}))[_0x98ac16(0x1fa)]['objectActions'];}async[_0x2b18bd(0x3ef)](_0x39107f){var _0x54af52=_0x2b18bd;const _0x217692=this[_0x54af52(0x2ab)]()+'/'+_0x39107f['objectType']+'/role',_0x4bbc19=await this[_0x54af52(0x25e)]['post'](_0x217692,{'body':_0x39107f});return{'roles':_0x4bbc19[_0x54af52(0x1fa)][_0x54af52(0x33b)],'actions':_0x4bbc19['body'][_0x54af52(0x2c8)]};}async[_0x2b18bd(0xa2)](_0x3d5309){var _0x474796=_0x2b18bd;const _0x36abb5=this[_0x474796(0x2ab)]()+_0x474796(0x14d);await this[_0x474796(0x25e)][_0x474796(0x1b7)](_0x36abb5,{'params':{'collaboratorID':_0x3d5309[_0x474796(0x152)],'objectID':_0x3d5309[_0x474796(0x38f)],'unitID':_0x3d5309[_0x474796(0x329)]}});}async[_0x2b18bd(0x26f)](_0x1402b6){var _0x50be21=_0x2b18bd;const _0x4027b0=this[_0x50be21(0x2ab)]()+_0x50be21(0x14d);await this['_HTTPService']['patch'](_0x4027b0,{'body':_0x1402b6});}async[_0x2b18bd(0x2da)](_0x1c4b71){var _0x115502=_0x2b18bd;const _0x5846ba=this[_0x115502(0x2ab)]()+_0x115502(0x14d);await this[_0x115502(0x25e)][_0x115502(0x116)](_0x5846ba,{'body':_0x1c4b71});}async[_0x2b18bd(0x101)](_0x5b5cc0){var _0x2f28fd=_0x2b18bd;const _0x3de5d3=this[_0x2f28fd(0x2ab)]()+_0x2f28fd(0x14d);return(await this[_0x2f28fd(0x25e)][_0x2f28fd(0x263)](_0x3de5d3,{'params':{'objectID':_0x5b5cc0[_0x2f28fd(0x38f)],'unitID':_0x5b5cc0[_0x2f28fd(0x329)]}}))[_0x2f28fd(0x1fa)][_0x2f28fd(0x1e5)];}async[_0x2b18bd(0x270)](_0x49006e){var _0x18a4f0=_0x2b18bd;const _0x14c0b8=this[_0x18a4f0(0x2ab)]()+_0x18a4f0(0x14d);await this[_0x18a4f0(0x25e)]['put'](_0x14c0b8,{'body':_0x49006e});}},exports[_0x2b18bd(0x39f)]=Vn([Ze(0x0,a['Inject'](q['HTTPService'])),Ze(0x1,a['Inject'](a[_0x2b18bd(0x343)]))],exports[_0x2b18bd(0x39f)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0xa6189b){var _0x4a0945=_0x2b18bd;return _0xa6189b&&_0xa6189b[_0x4a0945(0x310)]&&Object['prototype']['hasOwnProperty']['call'](_0xa6189b,'default')?_0xa6189b[_0x4a0945(0x3f5)]:_0xa6189b;}var Se={'exports':{}};function Yn(_0xc3afa4){var _0x3fa7f4=_0x2b18bd;throw new Error(_0x3fa7f4(0x26e)+_0xc3afa4+_0x3fa7f4(0x13d));}var pe={'exports':{}},qn=pe[_0x2b18bd(0x1c2)],Qe;function ee(){var _0x451792=_0x2b18bd;return Qe||(Qe=0x1,function(_0x2b8322,_0x1b9f4a){(function(_0x4b6ca8,_0x1c970a){_0x2b8322['exports']=_0x1c970a();}(qn,function(){var _0x393599=_0x393599||function(_0x2b73fb,_0x4fe28a){var _0x12b9f5=_0xf177,_0x56c3e7;if(typeof window<'u'&&window[_0x12b9f5(0x254)]&&(_0x56c3e7=window[_0x12b9f5(0x254)]),typeof self<'u'&&self[_0x12b9f5(0x254)]&&(_0x56c3e7=self[_0x12b9f5(0x254)]),typeof globalThis<'u'&&globalThis[_0x12b9f5(0x254)]&&(_0x56c3e7=globalThis[_0x12b9f5(0x254)]),!_0x56c3e7&&typeof window<'u'&&window[_0x12b9f5(0x292)]&&(_0x56c3e7=window[_0x12b9f5(0x292)]),!_0x56c3e7&&typeof Le<'u'&&Le['crypto']&&(_0x56c3e7=Le[_0x12b9f5(0x254)]),!_0x56c3e7&&typeof Yn==_0x12b9f5(0x3f9))try{_0x56c3e7=require('crypto');}catch{}var _0x53bbf9=function(){var _0x26a1bb=_0x12b9f5;if(_0x56c3e7){if(typeof _0x56c3e7[_0x26a1bb(0x162)]==_0x26a1bb(0x3f9))try{return _0x56c3e7[_0x26a1bb(0x162)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x56c3e7[_0x26a1bb(0x28b)]==_0x26a1bb(0x3f9))try{return _0x56c3e7[_0x26a1bb(0x28b)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x26a1bb(0x215));},_0x42919b=Object[_0x12b9f5(0x194)]||(function(){function _0x395c8a(){}return function(_0x272f69){var _0x25ece0=_0xf177,_0x2ab80e;return _0x395c8a['prototype']=_0x272f69,_0x2ab80e=new _0x395c8a(),_0x395c8a[_0x25ece0(0x3fc)]=null,_0x2ab80e;};}()),_0x18f65b={},_0x445539=_0x18f65b['lib']={},_0x468973=_0x445539[_0x12b9f5(0x20b)]=(function(){return{'extend':function(_0x49f480){var _0x764e0b=_0xf177,_0x24db89=_0x42919b(this);return _0x49f480&&_0x24db89['mixIn'](_0x49f480),(!_0x24db89[_0x764e0b(0x1e4)]('init')||this[_0x764e0b(0x3cf)]===_0x24db89[_0x764e0b(0x3cf)])&&(_0x24db89[_0x764e0b(0x3cf)]=function(){var _0x3e9a0a=_0x764e0b;_0x24db89[_0x3e9a0a(0x1fb)]['init']['apply'](this,arguments);}),_0x24db89[_0x764e0b(0x3cf)][_0x764e0b(0x3fc)]=_0x24db89,_0x24db89[_0x764e0b(0x1fb)]=this,_0x24db89;},'create':function(){var _0x4258d9=_0xf177,_0xc746a1=this['extend']();return _0xc746a1[_0x4258d9(0x3cf)][_0x4258d9(0xc9)](_0xc746a1,arguments),_0xc746a1;},'init':function(){},'mixIn':function(_0x15ca8f){var _0x1a462=_0xf177;for(var _0x761c83 in _0x15ca8f)_0x15ca8f[_0x1a462(0x1e4)](_0x761c83)&&(this[_0x761c83]=_0x15ca8f[_0x761c83]);_0x15ca8f[_0x1a462(0x1e4)](_0x1a462(0xc2))&&(this['toString']=_0x15ca8f[_0x1a462(0xc2)]);},'clone':function(){var _0x32771a=_0xf177;return this[_0x32771a(0x3cf)][_0x32771a(0x3fc)][_0x32771a(0x25b)](this);}};}()),_0x4b2577=_0x445539[_0x12b9f5(0x403)]=_0x468973[_0x12b9f5(0x25b)]({'init':function(_0x2043cf,_0x514119){var _0x259778=_0x12b9f5;_0x2043cf=this[_0x259778(0x300)]=_0x2043cf||[],_0x514119!=_0x4fe28a?this[_0x259778(0x1e0)]=_0x514119:this[_0x259778(0x1e0)]=_0x2043cf['length']*0x4;},'toString':function(_0x22b556){var _0x1e65c6=_0x12b9f5;return(_0x22b556||_0x47b611)[_0x1e65c6(0x2fa)](this);},'concat':function(_0x5503d9){var _0x261255=_0x12b9f5,_0x3c3612=this['words'],_0x4c570b=_0x5503d9[_0x261255(0x300)],_0x1b2552=this[_0x261255(0x1e0)],_0x5d19e8=_0x5503d9[_0x261255(0x1e0)];if(this[_0x261255(0x23c)](),_0x1b2552%0x4)for(var _0xda4d05=0x0;_0xda4d05<_0x5d19e8;_0xda4d05++){var _0x240a23=_0x4c570b[_0xda4d05>>>0x2]>>>0x18-_0xda4d05%0x4*0x8&0xff;_0x3c3612[_0x1b2552+_0xda4d05>>>0x2]|=_0x240a23<<0x18-(_0x1b2552+_0xda4d05)%0x4*0x8;}else{for(var _0x3e3192=0x0;_0x3e3192<_0x5d19e8;_0x3e3192+=0x4)_0x3c3612[_0x1b2552+_0x3e3192>>>0x2]=_0x4c570b[_0x3e3192>>>0x2];}return this[_0x261255(0x1e0)]+=_0x5d19e8,this;},'clamp':function(){var _0x51044f=_0x12b9f5,_0x47a78b=this[_0x51044f(0x300)],_0x4b2de6=this['sigBytes'];_0x47a78b[_0x4b2de6>>>0x2]&=0xffffffff<<0x20-_0x4b2de6%0x4*0x8,_0x47a78b[_0x51044f(0x327)]=_0x2b73fb[_0x51044f(0x1c1)](_0x4b2de6/0x4);},'clone':function(){var _0x3c4dd2=_0x12b9f5,_0x4121ca=_0x468973['clone']['call'](this);return _0x4121ca[_0x3c4dd2(0x300)]=this[_0x3c4dd2(0x300)]['slice'](0x0),_0x4121ca;},'random':function(_0x3d227a){var _0x14f9a5=_0x12b9f5;for(var _0x8f6ca3=[],_0x5aa836=0x0;_0x5aa836<_0x3d227a;_0x5aa836+=0x4)_0x8f6ca3[_0x14f9a5(0x205)](_0x53bbf9());return new _0x4b2577[(_0x14f9a5(0x3cf))](_0x8f6ca3,_0x3d227a);}}),_0x2eb0dc=_0x18f65b[_0x12b9f5(0x2a4)]={},_0x47b611=_0x2eb0dc[_0x12b9f5(0x196)]={'stringify':function(_0x2829c3){var _0x10b64b=_0x12b9f5;for(var _0x561c96=_0x2829c3[_0x10b64b(0x300)],_0x1826b2=_0x2829c3[_0x10b64b(0x1e0)],_0x1c151c=[],_0x7b1ade=0x0;_0x7b1ade<_0x1826b2;_0x7b1ade++){var _0x44bb9d=_0x561c96[_0x7b1ade>>>0x2]>>>0x18-_0x7b1ade%0x4*0x8&0xff;_0x1c151c['push']((_0x44bb9d>>>0x4)[_0x10b64b(0xc2)](0x10)),_0x1c151c[_0x10b64b(0x205)]((_0x44bb9d&0xf)['toString'](0x10));}return _0x1c151c[_0x10b64b(0x290)]('');},'parse':function(_0x4b19a8){var _0x14c95d=_0x12b9f5;for(var _0x3ad91b=_0x4b19a8[_0x14c95d(0x327)],_0x38209b=[],_0x36930e=0x0;_0x36930e<_0x3ad91b;_0x36930e+=0x2)_0x38209b[_0x36930e>>>0x3]|=parseInt(_0x4b19a8[_0x14c95d(0x312)](_0x36930e,0x2),0x10)<<0x18-_0x36930e%0x8*0x4;return new _0x4b2577[(_0x14c95d(0x3cf))](_0x38209b,_0x3ad91b/0x2);}},_0x752204=_0x2eb0dc[_0x12b9f5(0x33f)]={'stringify':function(_0x2c29a5){var _0x326e35=_0x12b9f5;for(var _0x5bd1c8=_0x2c29a5['words'],_0xd0212f=_0x2c29a5[_0x326e35(0x1e0)],_0x5c98d4=[],_0x456fb4=0x0;_0x456fb4<_0xd0212f;_0x456fb4++){var _0x2acb32=_0x5bd1c8[_0x456fb4>>>0x2]>>>0x18-_0x456fb4%0x4*0x8&0xff;_0x5c98d4['push'](String[_0x326e35(0xaf)](_0x2acb32));}return _0x5c98d4[_0x326e35(0x290)]('');},'parse':function(_0x517d04){var _0xfb453c=_0x12b9f5;for(var _0x415e5b=_0x517d04['length'],_0x31a166=[],_0xbf1c6f=0x0;_0xbf1c6f<_0x415e5b;_0xbf1c6f++)_0x31a166[_0xbf1c6f>>>0x2]|=(_0x517d04[_0xfb453c(0x16d)](_0xbf1c6f)&0xff)<<0x18-_0xbf1c6f%0x4*0x8;return new _0x4b2577[(_0xfb453c(0x3cf))](_0x31a166,_0x415e5b);}},_0x5bd27a=_0x2eb0dc[_0x12b9f5(0xb6)]={'stringify':function(_0x564f32){var _0x44ef07=_0x12b9f5;try{return decodeURIComponent(escape(_0x752204[_0x44ef07(0x2fa)](_0x564f32)));}catch{throw new Error(_0x44ef07(0x108));}},'parse':function(_0x526b2c){var _0x46d0c0=_0x12b9f5;return _0x752204[_0x46d0c0(0x301)](unescape(encodeURIComponent(_0x526b2c)));}},_0x364a54=_0x445539['BufferedBlockAlgorithm']=_0x468973[_0x12b9f5(0x25b)]({'reset':function(){var _0x4ff3e7=_0x12b9f5;this[_0x4ff3e7(0x359)]=new _0x4b2577['init'](),this[_0x4ff3e7(0x3ec)]=0x0;},'_append':function(_0xcc4d9a){var _0x376cc9=_0x12b9f5;typeof _0xcc4d9a==_0x376cc9(0x2d5)&&(_0xcc4d9a=_0x5bd27a[_0x376cc9(0x301)](_0xcc4d9a)),this[_0x376cc9(0x359)][_0x376cc9(0x22c)](_0xcc4d9a),this[_0x376cc9(0x3ec)]+=_0xcc4d9a[_0x376cc9(0x1e0)];},'_process':function(_0x2da151){var _0x593f3d=_0x12b9f5,_0x2e177c,_0x1cf7fe=this[_0x593f3d(0x359)],_0x375fbd=_0x1cf7fe[_0x593f3d(0x300)],_0xaf6e44=_0x1cf7fe['sigBytes'],_0x116d94=this[_0x593f3d(0x1bf)],_0x5dbabf=_0x116d94*0x4,_0x1bd2e6=_0xaf6e44/_0x5dbabf;_0x2da151?_0x1bd2e6=_0x2b73fb['ceil'](_0x1bd2e6):_0x1bd2e6=_0x2b73fb[_0x593f3d(0x21e)]((_0x1bd2e6|0x0)-this[_0x593f3d(0x173)],0x0);var _0x58b301=_0x1bd2e6*_0x116d94,_0x4db80e=_0x2b73fb[_0x593f3d(0x316)](_0x58b301*0x4,_0xaf6e44);if(_0x58b301){for(var _0x527017=0x0;_0x527017<_0x58b301;_0x527017+=_0x116d94)this[_0x593f3d(0x1e1)](_0x375fbd,_0x527017);_0x2e177c=_0x375fbd[_0x593f3d(0x1c5)](0x0,_0x58b301),_0x1cf7fe['sigBytes']-=_0x4db80e;}return new _0x4b2577[(_0x593f3d(0x3cf))](_0x2e177c,_0x4db80e);},'clone':function(){var _0x5c67c7=_0x12b9f5,_0x303379=_0x468973['clone'][_0x5c67c7(0x27d)](this);return _0x303379['_data']=this[_0x5c67c7(0x359)][_0x5c67c7(0x147)](),_0x303379;},'_minBufferSize':0x0});_0x445539[_0x12b9f5(0x2e5)]=_0x364a54[_0x12b9f5(0x25b)]({'cfg':_0x468973['extend'](),'init':function(_0x52e0a4){var _0x51c022=_0x12b9f5;this[_0x51c022(0x257)]=this[_0x51c022(0x257)]['extend'](_0x52e0a4),this['reset']();},'reset':function(){var _0x1c93b4=_0x12b9f5;_0x364a54[_0x1c93b4(0x15c)][_0x1c93b4(0x27d)](this),this['_doReset']();},'update':function(_0x4d42ae){var _0x190f78=_0x12b9f5;return this[_0x190f78(0x21c)](_0x4d42ae),this[_0x190f78(0x1d4)](),this;},'finalize':function(_0x148497){var _0x3ee6a3=_0x12b9f5;_0x148497&&this[_0x3ee6a3(0x21c)](_0x148497);var _0x95bce6=this['_doFinalize']();return _0x95bce6;},'blockSize':0x10,'_createHelper':function(_0x9df3ba){return function(_0x53714d,_0x1c007b){var _0x1e185a=_0xf177;return new _0x9df3ba[(_0x1e185a(0x3cf))](_0x1c007b)[_0x1e185a(0x3ea)](_0x53714d);};},'_createHmacHelper':function(_0x2a41d8){return function(_0x39d055,_0x22cbaa){var _0x3627e9=_0xf177;return new _0x47f500[(_0x3627e9(0xa7))][(_0x3627e9(0x3cf))](_0x2a41d8,_0x22cbaa)[_0x3627e9(0x3ea)](_0x39d055);};}});var _0x47f500=_0x18f65b[_0x12b9f5(0x10f)]={};return _0x18f65b;}(Math);return _0x393599;}));}(pe)),pe[_0x451792(0x1c2)];}var me={'exports':{}},zn=me[_0x2b18bd(0x1c2)],et;function Dt(){var _0x46905f=_0x2b18bd;return et||(et=0x1,function(_0x184322,_0x55decc){(function(_0x3757a1,_0x1facb1){var _0x164e02=_0xf177;_0x184322[_0x164e02(0x1c2)]=_0x1facb1(ee());}(zn,function(_0xbab943){var _0x2df841=_0xf177;return(function(){var _0x2771c4=_0xf177,_0x5ef6fb=_0xbab943,_0x5f31d8=_0x5ef6fb['lib'],_0x52de5f=_0x5f31d8[_0x2771c4(0x403)],_0x147cfd=_0x5ef6fb['enc'];_0x147cfd['Base64']={'stringify':function(_0x327c99){var _0x24c6d7=_0x2771c4,_0x4aa1ef=_0x327c99[_0x24c6d7(0x300)],_0x3c195f=_0x327c99['sigBytes'],_0x4c7206=this[_0x24c6d7(0x250)];_0x327c99[_0x24c6d7(0x23c)]();for(var _0x1150d8=[],_0x5b27ce=0x0;_0x5b27ce<_0x3c195f;_0x5b27ce+=0x3)for(var _0x58b8a7=_0x4aa1ef[_0x5b27ce>>>0x2]>>>0x18-_0x5b27ce%0x4*0x8&0xff,_0x2836c2=_0x4aa1ef[_0x5b27ce+0x1>>>0x2]>>>0x18-(_0x5b27ce+0x1)%0x4*0x8&0xff,_0x3ecab6=_0x4aa1ef[_0x5b27ce+0x2>>>0x2]>>>0x18-(_0x5b27ce+0x2)%0x4*0x8&0xff,_0x334cb9=_0x58b8a7<<0x10|_0x2836c2<<0x8|_0x3ecab6,_0x3379c3=0x0;_0x3379c3<0x4&&_0x5b27ce+_0x3379c3*0.75<_0x3c195f;_0x3379c3++)_0x1150d8[_0x24c6d7(0x205)](_0x4c7206[_0x24c6d7(0x2d8)](_0x334cb9>>>0x6*(0x3-_0x3379c3)&0x3f));var _0x527608=_0x4c7206[_0x24c6d7(0x2d8)](0x40);if(_0x527608){for(;_0x1150d8[_0x24c6d7(0x327)]%0x4;)_0x1150d8['push'](_0x527608);}return _0x1150d8[_0x24c6d7(0x290)]('');},'parse':function(_0x307c41){var _0x23559f=_0x2771c4,_0x9c54ed=_0x307c41[_0x23559f(0x327)],_0x339b5b=this['_map'],_0x37538c=this[_0x23559f(0x3a6)];if(!_0x37538c){_0x37538c=this[_0x23559f(0x3a6)]=[];for(var _0xc94131=0x0;_0xc94131<_0x339b5b[_0x23559f(0x327)];_0xc94131++)_0x37538c[_0x339b5b[_0x23559f(0x16d)](_0xc94131)]=_0xc94131;}var _0x9ce8cf=_0x339b5b['charAt'](0x40);if(_0x9ce8cf){var _0x45fcd5=_0x307c41[_0x23559f(0x298)](_0x9ce8cf);_0x45fcd5!==-0x1&&(_0x9c54ed=_0x45fcd5);}return _0x139a0b(_0x307c41,_0x9c54ed,_0x37538c);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x139a0b(_0x4179e,_0x118f52,_0x6495ba){var _0x424287=_0x2771c4;for(var _0x33232c=[],_0x35f10a=0x0,_0x3ef3a5=0x0;_0x3ef3a5<_0x118f52;_0x3ef3a5++)if(_0x3ef3a5%0x4){var _0x118d2c=_0x6495ba[_0x4179e[_0x424287(0x16d)](_0x3ef3a5-0x1)]<<_0x3ef3a5%0x4*0x2,_0x28313d=_0x6495ba[_0x4179e[_0x424287(0x16d)](_0x3ef3a5)]>>>0x6-_0x3ef3a5%0x4*0x2,_0x4fad50=_0x118d2c|_0x28313d;_0x33232c[_0x35f10a>>>0x2]|=_0x4fad50<<0x18-_0x35f10a%0x4*0x8,_0x35f10a++;}return _0x52de5f[_0x424287(0x194)](_0x33232c,_0x35f10a);}}()),_0xbab943[_0x2df841(0x2a4)][_0x2df841(0x3be)];}));}(me)),me[_0x46905f(0x1c2)];}var ge={'exports':{}},Jn=ge['exports'],tt;function Xn(){var _0xb1e169=_0x2b18bd;return tt||(tt=0x1,function(_0xab8a80,_0x35f8e4){(function(_0x40cf9f,_0x3eb964){var _0x58b1e7=_0xf177;_0xab8a80[_0x58b1e7(0x1c2)]=_0x3eb964(ee());}(Jn,function(_0x23873d){var _0x5273b7=_0xf177;return function(_0x3953e6){var _0x344d7f=_0xf177,_0x10068d=_0x23873d,_0x3ee21c=_0x10068d['lib'],_0x49a4c6=_0x3ee21c[_0x344d7f(0x403)],_0x1ed0af=_0x3ee21c['Hasher'],_0x394b75=_0x10068d[_0x344d7f(0x10f)],_0x38e255=[];(function(){var _0x4c23a0=_0x344d7f;for(var _0x2a313e=0x0;_0x2a313e<0x40;_0x2a313e++)_0x38e255[_0x2a313e]=_0x3953e6[_0x4c23a0(0x12f)](_0x3953e6[_0x4c23a0(0x1ad)](_0x2a313e+0x1))*0x100000000|0x0;}());var _0x6a7a55=_0x394b75[_0x344d7f(0x3f8)]=_0x1ed0af['extend']({'_doReset':function(){var _0x3fee3f=_0x344d7f;this[_0x3fee3f(0x374)]=new _0x49a4c6[(_0x3fee3f(0x3cf))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x39d32e,_0x4084f1){var _0x4ad2e8=_0x344d7f;for(var _0x10d36e=0x0;_0x10d36e<0x10;_0x10d36e++){var _0x394d18=_0x4084f1+_0x10d36e,_0x462cff=_0x39d32e[_0x394d18];_0x39d32e[_0x394d18]=(_0x462cff<<0x8|_0x462cff>>>0x18)&0xff00ff|(_0x462cff<<0x18|_0x462cff>>>0x8)&0xff00ff00;}var _0x339c58=this[_0x4ad2e8(0x374)][_0x4ad2e8(0x300)],_0x2b408e=_0x39d32e[_0x4084f1+0x0],_0x38a565=_0x39d32e[_0x4084f1+0x1],_0x30f238=_0x39d32e[_0x4084f1+0x2],_0x159acf=_0x39d32e[_0x4084f1+0x3],_0x299d7d=_0x39d32e[_0x4084f1+0x4],_0x13f04c=_0x39d32e[_0x4084f1+0x5],_0x5229e9=_0x39d32e[_0x4084f1+0x6],_0xc63a70=_0x39d32e[_0x4084f1+0x7],_0x15ddf7=_0x39d32e[_0x4084f1+0x8],_0x22c0c1=_0x39d32e[_0x4084f1+0x9],_0x5884d3=_0x39d32e[_0x4084f1+0xa],_0x44a15f=_0x39d32e[_0x4084f1+0xb],_0x5933da=_0x39d32e[_0x4084f1+0xc],_0x3346d1=_0x39d32e[_0x4084f1+0xd],_0x27d401=_0x39d32e[_0x4084f1+0xe],_0x18be60=_0x39d32e[_0x4084f1+0xf],_0x33b445=_0x339c58[0x0],_0x6d5191=_0x339c58[0x1],_0x1eb07e=_0x339c58[0x2],_0x270dfa=_0x339c58[0x3];_0x33b445=_0x43928c(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x2b408e,0x7,_0x38e255[0x0]),_0x270dfa=_0x43928c(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x38a565,0xc,_0x38e255[0x1]),_0x1eb07e=_0x43928c(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x30f238,0x11,_0x38e255[0x2]),_0x6d5191=_0x43928c(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x159acf,0x16,_0x38e255[0x3]),_0x33b445=_0x43928c(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x299d7d,0x7,_0x38e255[0x4]),_0x270dfa=_0x43928c(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x13f04c,0xc,_0x38e255[0x5]),_0x1eb07e=_0x43928c(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x5229e9,0x11,_0x38e255[0x6]),_0x6d5191=_0x43928c(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0xc63a70,0x16,_0x38e255[0x7]),_0x33b445=_0x43928c(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x15ddf7,0x7,_0x38e255[0x8]),_0x270dfa=_0x43928c(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x22c0c1,0xc,_0x38e255[0x9]),_0x1eb07e=_0x43928c(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x5884d3,0x11,_0x38e255[0xa]),_0x6d5191=_0x43928c(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x44a15f,0x16,_0x38e255[0xb]),_0x33b445=_0x43928c(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x5933da,0x7,_0x38e255[0xc]),_0x270dfa=_0x43928c(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x3346d1,0xc,_0x38e255[0xd]),_0x1eb07e=_0x43928c(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x27d401,0x11,_0x38e255[0xe]),_0x6d5191=_0x43928c(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x18be60,0x16,_0x38e255[0xf]),_0x33b445=_0x11e561(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x38a565,0x5,_0x38e255[0x10]),_0x270dfa=_0x11e561(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x5229e9,0x9,_0x38e255[0x11]),_0x1eb07e=_0x11e561(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x44a15f,0xe,_0x38e255[0x12]),_0x6d5191=_0x11e561(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x2b408e,0x14,_0x38e255[0x13]),_0x33b445=_0x11e561(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x13f04c,0x5,_0x38e255[0x14]),_0x270dfa=_0x11e561(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x5884d3,0x9,_0x38e255[0x15]),_0x1eb07e=_0x11e561(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x18be60,0xe,_0x38e255[0x16]),_0x6d5191=_0x11e561(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x299d7d,0x14,_0x38e255[0x17]),_0x33b445=_0x11e561(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x22c0c1,0x5,_0x38e255[0x18]),_0x270dfa=_0x11e561(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x27d401,0x9,_0x38e255[0x19]),_0x1eb07e=_0x11e561(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x159acf,0xe,_0x38e255[0x1a]),_0x6d5191=_0x11e561(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x15ddf7,0x14,_0x38e255[0x1b]),_0x33b445=_0x11e561(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x3346d1,0x5,_0x38e255[0x1c]),_0x270dfa=_0x11e561(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x30f238,0x9,_0x38e255[0x1d]),_0x1eb07e=_0x11e561(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0xc63a70,0xe,_0x38e255[0x1e]),_0x6d5191=_0x11e561(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x5933da,0x14,_0x38e255[0x1f]),_0x33b445=_0xf8b5d5(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x13f04c,0x4,_0x38e255[0x20]),_0x270dfa=_0xf8b5d5(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x15ddf7,0xb,_0x38e255[0x21]),_0x1eb07e=_0xf8b5d5(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x44a15f,0x10,_0x38e255[0x22]),_0x6d5191=_0xf8b5d5(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x27d401,0x17,_0x38e255[0x23]),_0x33b445=_0xf8b5d5(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x38a565,0x4,_0x38e255[0x24]),_0x270dfa=_0xf8b5d5(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x299d7d,0xb,_0x38e255[0x25]),_0x1eb07e=_0xf8b5d5(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0xc63a70,0x10,_0x38e255[0x26]),_0x6d5191=_0xf8b5d5(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x5884d3,0x17,_0x38e255[0x27]),_0x33b445=_0xf8b5d5(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x3346d1,0x4,_0x38e255[0x28]),_0x270dfa=_0xf8b5d5(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x2b408e,0xb,_0x38e255[0x29]),_0x1eb07e=_0xf8b5d5(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x159acf,0x10,_0x38e255[0x2a]),_0x6d5191=_0xf8b5d5(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x5229e9,0x17,_0x38e255[0x2b]),_0x33b445=_0xf8b5d5(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x22c0c1,0x4,_0x38e255[0x2c]),_0x270dfa=_0xf8b5d5(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x5933da,0xb,_0x38e255[0x2d]),_0x1eb07e=_0xf8b5d5(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x18be60,0x10,_0x38e255[0x2e]),_0x6d5191=_0xf8b5d5(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x30f238,0x17,_0x38e255[0x2f]),_0x33b445=_0x296fcd(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x2b408e,0x6,_0x38e255[0x30]),_0x270dfa=_0x296fcd(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0xc63a70,0xa,_0x38e255[0x31]),_0x1eb07e=_0x296fcd(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x27d401,0xf,_0x38e255[0x32]),_0x6d5191=_0x296fcd(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x13f04c,0x15,_0x38e255[0x33]),_0x33b445=_0x296fcd(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x5933da,0x6,_0x38e255[0x34]),_0x270dfa=_0x296fcd(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x159acf,0xa,_0x38e255[0x35]),_0x1eb07e=_0x296fcd(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x5884d3,0xf,_0x38e255[0x36]),_0x6d5191=_0x296fcd(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x38a565,0x15,_0x38e255[0x37]),_0x33b445=_0x296fcd(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x15ddf7,0x6,_0x38e255[0x38]),_0x270dfa=_0x296fcd(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x18be60,0xa,_0x38e255[0x39]),_0x1eb07e=_0x296fcd(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x5229e9,0xf,_0x38e255[0x3a]),_0x6d5191=_0x296fcd(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x3346d1,0x15,_0x38e255[0x3b]),_0x33b445=_0x296fcd(_0x33b445,_0x6d5191,_0x1eb07e,_0x270dfa,_0x299d7d,0x6,_0x38e255[0x3c]),_0x270dfa=_0x296fcd(_0x270dfa,_0x33b445,_0x6d5191,_0x1eb07e,_0x44a15f,0xa,_0x38e255[0x3d]),_0x1eb07e=_0x296fcd(_0x1eb07e,_0x270dfa,_0x33b445,_0x6d5191,_0x30f238,0xf,_0x38e255[0x3e]),_0x6d5191=_0x296fcd(_0x6d5191,_0x1eb07e,_0x270dfa,_0x33b445,_0x22c0c1,0x15,_0x38e255[0x3f]),_0x339c58[0x0]=_0x339c58[0x0]+_0x33b445|0x0,_0x339c58[0x1]=_0x339c58[0x1]+_0x6d5191|0x0,_0x339c58[0x2]=_0x339c58[0x2]+_0x1eb07e|0x0,_0x339c58[0x3]=_0x339c58[0x3]+_0x270dfa|0x0;},'_doFinalize':function(){var _0x199ef4=_0x344d7f,_0x5760cd=this[_0x199ef4(0x359)],_0x30d23c=_0x5760cd[_0x199ef4(0x300)],_0x5686df=this[_0x199ef4(0x3ec)]*0x8,_0x5bfeb4=_0x5760cd['sigBytes']*0x8;_0x30d23c[_0x5bfeb4>>>0x5]|=0x80<<0x18-_0x5bfeb4%0x20;var _0x3760dc=_0x3953e6[_0x199ef4(0x3ab)](_0x5686df/0x100000000),_0x251e34=_0x5686df;_0x30d23c[(_0x5bfeb4+0x40>>>0x9<<0x4)+0xf]=(_0x3760dc<<0x8|_0x3760dc>>>0x18)&0xff00ff|(_0x3760dc<<0x18|_0x3760dc>>>0x8)&0xff00ff00,_0x30d23c[(_0x5bfeb4+0x40>>>0x9<<0x4)+0xe]=(_0x251e34<<0x8|_0x251e34>>>0x18)&0xff00ff|(_0x251e34<<0x18|_0x251e34>>>0x8)&0xff00ff00,_0x5760cd[_0x199ef4(0x1e0)]=(_0x30d23c['length']+0x1)*0x4,this[_0x199ef4(0x1d4)]();for(var _0x68b1c2=this[_0x199ef4(0x374)],_0x264891=_0x68b1c2[_0x199ef4(0x300)],_0xd828fc=0x0;_0xd828fc<0x4;_0xd828fc++){var _0x4ee22f=_0x264891[_0xd828fc];_0x264891[_0xd828fc]=(_0x4ee22f<<0x8|_0x4ee22f>>>0x18)&0xff00ff|(_0x4ee22f<<0x18|_0x4ee22f>>>0x8)&0xff00ff00;}return _0x68b1c2;},'clone':function(){var _0x274343=_0x344d7f,_0x28363a=_0x1ed0af[_0x274343(0x147)]['call'](this);return _0x28363a[_0x274343(0x374)]=this[_0x274343(0x374)]['clone'](),_0x28363a;}});function _0x43928c(_0x26c5f6,_0x109078,_0x3f55f9,_0x44d564,_0x299ab3,_0x1b2b4d,_0x5f4186){var _0x1d6408=_0x26c5f6+(_0x109078&_0x3f55f9|~_0x109078&_0x44d564)+_0x299ab3+_0x5f4186;return(_0x1d6408<<_0x1b2b4d|_0x1d6408>>>0x20-_0x1b2b4d)+_0x109078;}function _0x11e561(_0x3853bd,_0x34d3,_0x3bf699,_0x564347,_0x26879b,_0xae6ff7,_0xbe7735){var _0x1ed3bf=_0x3853bd+(_0x34d3&_0x564347|_0x3bf699&~_0x564347)+_0x26879b+_0xbe7735;return(_0x1ed3bf<<_0xae6ff7|_0x1ed3bf>>>0x20-_0xae6ff7)+_0x34d3;}function _0xf8b5d5(_0x17c171,_0x3cd476,_0x20d4a1,_0x364705,_0x20102a,_0x40b872,_0x10880b){var _0xf550e9=_0x17c171+(_0x3cd476^_0x20d4a1^_0x364705)+_0x20102a+_0x10880b;return(_0xf550e9<<_0x40b872|_0xf550e9>>>0x20-_0x40b872)+_0x3cd476;}function _0x296fcd(_0x9935e2,_0x2fef1f,_0x33bd82,_0x1f5bde,_0x1655dd,_0xe1ec8d,_0x2fc26f){var _0x44f6a0=_0x9935e2+(_0x33bd82^(_0x2fef1f|~_0x1f5bde))+_0x1655dd+_0x2fc26f;return(_0x44f6a0<<_0xe1ec8d|_0x44f6a0>>>0x20-_0xe1ec8d)+_0x2fef1f;}_0x10068d[_0x344d7f(0x3f8)]=_0x1ed0af[_0x344d7f(0x3df)](_0x6a7a55),_0x10068d[_0x344d7f(0x30b)]=_0x1ed0af[_0x344d7f(0x18f)](_0x6a7a55);}(Math),_0x23873d[_0x5273b7(0x3f8)];}));}(ge)),ge[_0xb1e169(0x1c2)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee['exports'],nt;function Qn(){return nt||(nt=0x1,function(_0x16eb65,_0x100818){(function(_0x421304,_0x1c1a47){_0x16eb65['exports']=_0x1c1a47(ee());}(Zn,function(_0x549106){return(function(){var _0x13201e=_0xf177,_0xf217e3=_0x549106,_0x2b11c8=_0xf217e3['lib'],_0x204664=_0x2b11c8[_0x13201e(0x403)],_0xfaaef5=_0x2b11c8[_0x13201e(0x2e5)],_0x47a2a3=_0xf217e3[_0x13201e(0x10f)],_0x34a10a=[],_0x5401c=_0x47a2a3[_0x13201e(0x35f)]=_0xfaaef5[_0x13201e(0x25b)]({'_doReset':function(){var _0x12ec4e=_0x13201e;this[_0x12ec4e(0x374)]=new _0x204664[(_0x12ec4e(0x3cf))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1b87b4,_0x4f2c3c){var _0x452e6f=_0x13201e;for(var _0x27ae55=this[_0x452e6f(0x374)][_0x452e6f(0x300)],_0x135650=_0x27ae55[0x0],_0x662ea=_0x27ae55[0x1],_0x156d15=_0x27ae55[0x2],_0x5a4c37=_0x27ae55[0x3],_0xaf39b7=_0x27ae55[0x4],_0x28a1e1=0x0;_0x28a1e1<0x50;_0x28a1e1++){if(_0x28a1e1<0x10)_0x34a10a[_0x28a1e1]=_0x1b87b4[_0x4f2c3c+_0x28a1e1]|0x0;else{var _0x3226e7=_0x34a10a[_0x28a1e1-0x3]^_0x34a10a[_0x28a1e1-0x8]^_0x34a10a[_0x28a1e1-0xe]^_0x34a10a[_0x28a1e1-0x10];_0x34a10a[_0x28a1e1]=_0x3226e7<<0x1|_0x3226e7>>>0x1f;}var _0xa525ff=(_0x135650<<0x5|_0x135650>>>0x1b)+_0xaf39b7+_0x34a10a[_0x28a1e1];_0x28a1e1<0x14?_0xa525ff+=(_0x662ea&_0x156d15|~_0x662ea&_0x5a4c37)+0x5a827999:_0x28a1e1<0x28?_0xa525ff+=(_0x662ea^_0x156d15^_0x5a4c37)+0x6ed9eba1:_0x28a1e1<0x3c?_0xa525ff+=(_0x662ea&_0x156d15|_0x662ea&_0x5a4c37|_0x156d15&_0x5a4c37)-0x70e44324:_0xa525ff+=(_0x662ea^_0x156d15^_0x5a4c37)-0x359d3e2a,_0xaf39b7=_0x5a4c37,_0x5a4c37=_0x156d15,_0x156d15=_0x662ea<<0x1e|_0x662ea>>>0x2,_0x662ea=_0x135650,_0x135650=_0xa525ff;}_0x27ae55[0x0]=_0x27ae55[0x0]+_0x135650|0x0,_0x27ae55[0x1]=_0x27ae55[0x1]+_0x662ea|0x0,_0x27ae55[0x2]=_0x27ae55[0x2]+_0x156d15|0x0,_0x27ae55[0x3]=_0x27ae55[0x3]+_0x5a4c37|0x0,_0x27ae55[0x4]=_0x27ae55[0x4]+_0xaf39b7|0x0;},'_doFinalize':function(){var _0x1a1a91=_0x13201e,_0x256676=this['_data'],_0x1a0054=_0x256676[_0x1a1a91(0x300)],_0x3c1c88=this[_0x1a1a91(0x3ec)]*0x8,_0x138635=_0x256676[_0x1a1a91(0x1e0)]*0x8;return _0x1a0054[_0x138635>>>0x5]|=0x80<<0x18-_0x138635%0x20,_0x1a0054[(_0x138635+0x40>>>0x9<<0x4)+0xe]=Math[_0x1a1a91(0x3ab)](_0x3c1c88/0x100000000),_0x1a0054[(_0x138635+0x40>>>0x9<<0x4)+0xf]=_0x3c1c88,_0x256676[_0x1a1a91(0x1e0)]=_0x1a0054[_0x1a1a91(0x327)]*0x4,this['_process'](),this[_0x1a1a91(0x374)];},'clone':function(){var _0x52d71e=_0x13201e,_0x2f1c9e=_0xfaaef5['clone']['call'](this);return _0x2f1c9e[_0x52d71e(0x374)]=this[_0x52d71e(0x374)][_0x52d71e(0x147)](),_0x2f1c9e;}});_0xf217e3[_0x13201e(0x35f)]=_0xfaaef5['_createHelper'](_0x5401c),_0xf217e3[_0x13201e(0x1d6)]=_0xfaaef5[_0x13201e(0x18f)](_0x5401c);}()),_0x549106['SHA1'];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},ei=Ce['exports'],it;function ti(){return it||(it=0x1,function(_0x298000,_0x1a74fe){(function(_0xba7990,_0x47f925){var _0x5b404d=_0xf177;_0x298000[_0x5b404d(0x1c2)]=_0x47f925(ee());}(ei,function(_0x444db8){(function(){var _0x327345=_0xf177,_0x212793=_0x444db8,_0x3df35c=_0x212793[_0x327345(0x328)],_0x4f7276=_0x3df35c[_0x327345(0x20b)],_0x2d901d=_0x212793[_0x327345(0x2a4)],_0x4ff758=_0x2d901d[_0x327345(0xb6)],_0x7b65e4=_0x212793[_0x327345(0x10f)];_0x7b65e4['HMAC']=_0x4f7276[_0x327345(0x25b)]({'init':function(_0x383743,_0x15c128){var _0x1f9336=_0x327345;_0x383743=this[_0x1f9336(0x172)]=new _0x383743[(_0x1f9336(0x3cf))](),typeof _0x15c128=='string'&&(_0x15c128=_0x4ff758['parse'](_0x15c128));var _0x3de203=_0x383743[_0x1f9336(0x1bf)],_0xbf2f61=_0x3de203*0x4;_0x15c128[_0x1f9336(0x1e0)]>_0xbf2f61&&(_0x15c128=_0x383743[_0x1f9336(0x3ea)](_0x15c128)),_0x15c128['clamp']();for(var _0x4f6fe3=this[_0x1f9336(0x1bb)]=_0x15c128[_0x1f9336(0x147)](),_0x4d08cc=this[_0x1f9336(0x138)]=_0x15c128['clone'](),_0x3899a1=_0x4f6fe3['words'],_0x210e66=_0x4d08cc[_0x1f9336(0x300)],_0x26a5f8=0x0;_0x26a5f8<_0x3de203;_0x26a5f8++)_0x3899a1[_0x26a5f8]^=0x5c5c5c5c,_0x210e66[_0x26a5f8]^=0x36363636;_0x4f6fe3[_0x1f9336(0x1e0)]=_0x4d08cc['sigBytes']=_0xbf2f61,this['reset']();},'reset':function(){var _0x4fd634=_0x327345,_0x450eb9=this['_hasher'];_0x450eb9[_0x4fd634(0x15c)](),_0x450eb9[_0x4fd634(0x271)](this[_0x4fd634(0x138)]);},'update':function(_0x5b8267){var _0xacc39=_0x327345;return this[_0xacc39(0x172)][_0xacc39(0x271)](_0x5b8267),this;},'finalize':function(_0x288764){var _0x489187=_0x327345,_0x1d9dba=this[_0x489187(0x172)],_0x16389d=_0x1d9dba[_0x489187(0x3ea)](_0x288764);_0x1d9dba[_0x489187(0x15c)]();var _0x4dcabc=_0x1d9dba[_0x489187(0x3ea)](this[_0x489187(0x1bb)][_0x489187(0x147)]()[_0x489187(0x22c)](_0x16389d));return _0x4dcabc;}});}());}));}(Ce)),Ce['exports'];}var ni=Ie['exports'],rt;function wt(){var _0x2cb3d5=_0x2b18bd;return rt||(rt=0x1,function(_0x2d8931,_0x3d9604){(function(_0x5343c8,_0x310d2e,_0x104064){var _0x38e65a=_0xf177;_0x2d8931[_0x38e65a(0x1c2)]=_0x310d2e(ee(),Qn(),ti());}(ni,function(_0x38b458){return(function(){var _0x4e40c5=_0xf177,_0x9ad23b=_0x38b458,_0x2c8b72=_0x9ad23b[_0x4e40c5(0x328)],_0x26bb04=_0x2c8b72[_0x4e40c5(0x20b)],_0x487c14=_0x2c8b72[_0x4e40c5(0x403)],_0x20fb98=_0x9ad23b['algo'],_0x854992=_0x20fb98[_0x4e40c5(0x3f8)],_0x105e85=_0x20fb98[_0x4e40c5(0x115)]=_0x26bb04[_0x4e40c5(0x25b)]({'cfg':_0x26bb04[_0x4e40c5(0x25b)]({'keySize':0x80/0x20,'hasher':_0x854992,'iterations':0x1}),'init':function(_0x519453){var _0x57eccf=_0x4e40c5;this[_0x57eccf(0x257)]=this[_0x57eccf(0x257)][_0x57eccf(0x25b)](_0x519453);},'compute':function(_0x50f50d,_0x238083){var _0x59574b=_0x4e40c5;for(var _0x4d944a,_0x4b9496=this[_0x59574b(0x257)],_0x1b7091=_0x4b9496['hasher'][_0x59574b(0x194)](),_0x1dfcc0=_0x487c14[_0x59574b(0x194)](),_0x411acb=_0x1dfcc0['words'],_0x3e8e91=_0x4b9496[_0x59574b(0xde)],_0x416f09=_0x4b9496['iterations'];_0x411acb['length']<_0x3e8e91;){_0x4d944a&&_0x1b7091['update'](_0x4d944a),_0x4d944a=_0x1b7091[_0x59574b(0x271)](_0x50f50d)[_0x59574b(0x3ea)](_0x238083),_0x1b7091[_0x59574b(0x15c)]();for(var _0x5f385c=0x1;_0x5f385c<_0x416f09;_0x5f385c++)_0x4d944a=_0x1b7091['finalize'](_0x4d944a),_0x1b7091[_0x59574b(0x15c)]();_0x1dfcc0[_0x59574b(0x22c)](_0x4d944a);}return _0x1dfcc0[_0x59574b(0x1e0)]=_0x3e8e91*0x4,_0x1dfcc0;}});_0x9ad23b['EvpKDF']=function(_0x236565,_0x2620c9,_0x4a9a43){var _0x59907a=_0x4e40c5;return _0x105e85[_0x59907a(0x194)](_0x4a9a43)[_0x59907a(0xe2)](_0x236565,_0x2620c9);};}()),_0x38b458['EvpKDF'];}));}(Ie)),Ie[_0x2cb3d5(0x1c2)];}var Te={'exports':{}},ii=Te[_0x2b18bd(0x1c2)],st;function At(){var _0x243a00=_0x2b18bd;return st||(st=0x1,function(_0x19a7dd,_0x174852){(function(_0x38d56d,_0x424428,_0x3bac2e){var _0x5a0194=_0xf177;_0x19a7dd[_0x5a0194(0x1c2)]=_0x424428(ee(),wt());}(ii,function(_0x164080){var _0x43bccc=_0xf177;_0x164080[_0x43bccc(0x328)][_0x43bccc(0x2cd)]||function(_0x252698){var _0x40838d=_0x43bccc,_0x1a0a80=_0x164080,_0x588ce8=_0x1a0a80[_0x40838d(0x328)],_0x3df655=_0x588ce8[_0x40838d(0x20b)],_0x55405a=_0x588ce8[_0x40838d(0x403)],_0x5613ef=_0x588ce8[_0x40838d(0xd0)],_0x11eca1=_0x1a0a80['enc'];_0x11eca1['Utf8'];var _0x27b34c=_0x11eca1[_0x40838d(0x3be)],_0xbad642=_0x1a0a80[_0x40838d(0x10f)],_0x52820b=_0xbad642[_0x40838d(0x115)],_0x1326ac=_0x588ce8[_0x40838d(0x2cd)]=_0x5613ef['extend']({'cfg':_0x3df655['extend'](),'createEncryptor':function(_0x3da7a5,_0x427f42){var _0x3f5fc5=_0x40838d;return this[_0x3f5fc5(0x194)](this[_0x3f5fc5(0x12e)],_0x3da7a5,_0x427f42);},'createDecryptor':function(_0x31959e,_0x283c56){var _0x46938f=_0x40838d;return this[_0x46938f(0x194)](this[_0x46938f(0x3e8)],_0x31959e,_0x283c56);},'init':function(_0x152ea4,_0x11d4b2,_0x6afc77){var _0x17ca33=_0x40838d;this['cfg']=this[_0x17ca33(0x257)][_0x17ca33(0x25b)](_0x6afc77),this[_0x17ca33(0x27f)]=_0x152ea4,this[_0x17ca33(0x1bc)]=_0x11d4b2,this[_0x17ca33(0x15c)]();},'reset':function(){var _0x33ab5a=_0x40838d;_0x5613ef[_0x33ab5a(0x15c)][_0x33ab5a(0x27d)](this),this[_0x33ab5a(0x1c9)]();},'process':function(_0x36f493){var _0x24caff=_0x40838d;return this[_0x24caff(0x21c)](_0x36f493),this[_0x24caff(0x1d4)]();},'finalize':function(_0x1b27fe){var _0x44d1de=_0x40838d;_0x1b27fe&&this[_0x44d1de(0x21c)](_0x1b27fe);var _0x2180b5=this[_0x44d1de(0x394)]();return _0x2180b5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5938fc(_0x493a93){var _0xc6c957=_0xf177;return typeof _0x493a93==_0xc6c957(0x2d5)?_0x558d0b:_0x4df168;}return function(_0x2a95b2){return{'encrypt':function(_0x2f411b,_0x2fe861,_0x25ec11){var _0x1d48df=_0xf177;return _0x5938fc(_0x2fe861)[_0x1d48df(0xb7)](_0x2a95b2,_0x2f411b,_0x2fe861,_0x25ec11);},'decrypt':function(_0x5a22ea,_0x32067f,_0x341074){var _0x4c6e53=_0xf177;return _0x5938fc(_0x32067f)[_0x4c6e53(0x16f)](_0x2a95b2,_0x5a22ea,_0x32067f,_0x341074);}};};}())});_0x588ce8[_0x40838d(0x3fa)]=_0x1326ac['extend']({'_doFinalize':function(){var _0x1765de=this['_process'](!0x0);return _0x1765de;},'blockSize':0x1});var _0x5b09ff=_0x1a0a80[_0x40838d(0x32c)]={},_0x425368=_0x588ce8[_0x40838d(0xab)]=_0x3df655['extend']({'createEncryptor':function(_0x192249,_0x3a1e14){var _0x39c812=_0x40838d;return this[_0x39c812(0x36d)][_0x39c812(0x194)](_0x192249,_0x3a1e14);},'createDecryptor':function(_0x51faac,_0x4c2088){var _0x2ee5f6=_0x40838d;return this[_0x2ee5f6(0x13b)][_0x2ee5f6(0x194)](_0x51faac,_0x4c2088);},'init':function(_0x181e60,_0x4c8ccd){var _0x366694=_0x40838d;this[_0x366694(0x318)]=_0x181e60,this['_iv']=_0x4c8ccd;}}),_0x4ebc07=_0x5b09ff[_0x40838d(0xef)]=(function(){var _0x1969ca=_0x40838d,_0x10189e=_0x425368[_0x1969ca(0x25b)]();_0x10189e[_0x1969ca(0x36d)]=_0x10189e[_0x1969ca(0x25b)]({'processBlock':function(_0x11019d,_0x121ff3){var _0x2b09af=_0x1969ca,_0x547247=this[_0x2b09af(0x318)],_0x4d15b9=_0x547247[_0x2b09af(0x1bf)];_0x4376e6['call'](this,_0x11019d,_0x121ff3,_0x4d15b9),_0x547247[_0x2b09af(0x31d)](_0x11019d,_0x121ff3),this[_0x2b09af(0x3aa)]=_0x11019d[_0x2b09af(0x319)](_0x121ff3,_0x121ff3+_0x4d15b9);}}),_0x10189e[_0x1969ca(0x13b)]=_0x10189e[_0x1969ca(0x25b)]({'processBlock':function(_0x121b92,_0x1d75b1){var _0x52be04=_0x1969ca,_0x5775f6=this[_0x52be04(0x318)],_0x5df57a=_0x5775f6[_0x52be04(0x1bf)],_0x34cdb0=_0x121b92['slice'](_0x1d75b1,_0x1d75b1+_0x5df57a);_0x5775f6[_0x52be04(0x2bd)](_0x121b92,_0x1d75b1),_0x4376e6['call'](this,_0x121b92,_0x1d75b1,_0x5df57a),this[_0x52be04(0x3aa)]=_0x34cdb0;}});function _0x4376e6(_0x35c34,_0x1f9965,_0x5200a8){var _0x4ebc78=_0x1969ca,_0x17db4d,_0x45275e=this[_0x4ebc78(0x104)];_0x45275e?(_0x17db4d=_0x45275e,this[_0x4ebc78(0x104)]=_0x252698):_0x17db4d=this['_prevBlock'];for(var _0x482848=0x0;_0x482848<_0x5200a8;_0x482848++)_0x35c34[_0x1f9965+_0x482848]^=_0x17db4d[_0x482848];}return _0x10189e;}()),_0x4f2b89=_0x1a0a80['pad']={},_0x82a4e2=_0x4f2b89[_0x40838d(0x20a)]={'pad':function(_0x3fe314,_0x3b8ca9){var _0x50829b=_0x40838d;for(var _0x8c2a29=_0x3b8ca9*0x4,_0x3862fc=_0x8c2a29-_0x3fe314['sigBytes']%_0x8c2a29,_0x27295a=_0x3862fc<<0x18|_0x3862fc<<0x10|_0x3862fc<<0x8|_0x3862fc,_0x4f8860=[],_0x5299b6=0x0;_0x5299b6<_0x3862fc;_0x5299b6+=0x4)_0x4f8860[_0x50829b(0x205)](_0x27295a);var _0x45ee26=_0x55405a['create'](_0x4f8860,_0x3862fc);_0x3fe314[_0x50829b(0x22c)](_0x45ee26);},'unpad':function(_0x47a185){var _0x57bc18=_0x40838d,_0x3b93ea=_0x47a185['words'][_0x47a185[_0x57bc18(0x1e0)]-0x1>>>0x2]&0xff;_0x47a185['sigBytes']-=_0x3b93ea;}};_0x588ce8[_0x40838d(0x2f4)]=_0x1326ac[_0x40838d(0x25b)]({'cfg':_0x1326ac[_0x40838d(0x257)]['extend']({'mode':_0x4ebc07,'padding':_0x82a4e2}),'reset':function(){var _0x34df91=_0x40838d,_0x3b91a3;_0x1326ac[_0x34df91(0x15c)][_0x34df91(0x27d)](this);var _0x177a26=this[_0x34df91(0x257)],_0x81b01a=_0x177a26['iv'],_0x2a97f6=_0x177a26[_0x34df91(0x32c)];this['_xformMode']==this[_0x34df91(0x12e)]?_0x3b91a3=_0x2a97f6[_0x34df91(0x3a7)]:(_0x3b91a3=_0x2a97f6['createDecryptor'],this[_0x34df91(0x173)]=0x1),this['_mode']&&this[_0x34df91(0x2ff)]['__creator']==_0x3b91a3?this['_mode']['init'](this,_0x81b01a&&_0x81b01a['words']):(this[_0x34df91(0x2ff)]=_0x3b91a3[_0x34df91(0x27d)](_0x2a97f6,this,_0x81b01a&&_0x81b01a[_0x34df91(0x300)]),this[_0x34df91(0x2ff)][_0x34df91(0x139)]=_0x3b91a3);},'_doProcessBlock':function(_0x2c82d3,_0x3f197e){var _0x11e6f0=_0x40838d;this[_0x11e6f0(0x2ff)]['processBlock'](_0x2c82d3,_0x3f197e);},'_doFinalize':function(){var _0x150c8a=_0x40838d,_0x2ecc86,_0x4f5004=this['cfg'][_0x150c8a(0x17c)];return this[_0x150c8a(0x27f)]==this[_0x150c8a(0x12e)]?(_0x4f5004[_0x150c8a(0x3ce)](this[_0x150c8a(0x359)],this[_0x150c8a(0x1bf)]),_0x2ecc86=this[_0x150c8a(0x1d4)](!0x0)):(_0x2ecc86=this[_0x150c8a(0x1d4)](!0x0),_0x4f5004['unpad'](_0x2ecc86)),_0x2ecc86;},'blockSize':0x80/0x20});var _0x5b342a=_0x588ce8['CipherParams']=_0x3df655[_0x40838d(0x25b)]({'init':function(_0x5e091a){this['mixIn'](_0x5e091a);},'toString':function(_0x28fb6d){var _0x1ca027=_0x40838d;return(_0x28fb6d||this[_0x1ca027(0x3a0)])[_0x1ca027(0x2fa)](this);}}),_0x3e9e2f=_0x1a0a80[_0x40838d(0x2ce)]={},_0x4220b7=_0x3e9e2f[_0x40838d(0x367)]={'stringify':function(_0x4d2b36){var _0x2382e8=_0x40838d,_0x775804,_0x520137=_0x4d2b36[_0x2382e8(0x9d)],_0x682d88=_0x4d2b36[_0x2382e8(0x279)];return _0x682d88?_0x775804=_0x55405a[_0x2382e8(0x194)]([0x53616c74,0x65645f5f])['concat'](_0x682d88)['concat'](_0x520137):_0x775804=_0x520137,_0x775804['toString'](_0x27b34c);},'parse':function(_0x7081be){var _0x50484e=_0x40838d,_0x540c20,_0x1dd3fe=_0x27b34c[_0x50484e(0x301)](_0x7081be),_0x13ecd4=_0x1dd3fe[_0x50484e(0x300)];return _0x13ecd4[0x0]==0x53616c74&&_0x13ecd4[0x1]==0x65645f5f&&(_0x540c20=_0x55405a[_0x50484e(0x194)](_0x13ecd4[_0x50484e(0x319)](0x2,0x4)),_0x13ecd4['splice'](0x0,0x4),_0x1dd3fe[_0x50484e(0x1e0)]-=0x10),_0x5b342a[_0x50484e(0x194)]({'ciphertext':_0x1dd3fe,'salt':_0x540c20});}},_0x4df168=_0x588ce8[_0x40838d(0x169)]=_0x3df655[_0x40838d(0x25b)]({'cfg':_0x3df655[_0x40838d(0x25b)]({'format':_0x4220b7}),'encrypt':function(_0x438db8,_0x1a20b1,_0x44af7b,_0x5822e1){var _0x2f131d=_0x40838d;_0x5822e1=this['cfg'][_0x2f131d(0x25b)](_0x5822e1);var _0x270932=_0x438db8[_0x2f131d(0x3a7)](_0x44af7b,_0x5822e1),_0x52abf8=_0x270932[_0x2f131d(0x3ea)](_0x1a20b1),_0x49edb8=_0x270932[_0x2f131d(0x257)];return _0x5b342a[_0x2f131d(0x194)]({'ciphertext':_0x52abf8,'key':_0x44af7b,'iv':_0x49edb8['iv'],'algorithm':_0x438db8,'mode':_0x49edb8['mode'],'padding':_0x49edb8[_0x2f131d(0x17c)],'blockSize':_0x438db8['blockSize'],'formatter':_0x5822e1['format']});},'decrypt':function(_0x124960,_0x310a53,_0x2ea13b,_0x53eb35){var _0x5bf79b=_0x40838d;_0x53eb35=this[_0x5bf79b(0x257)][_0x5bf79b(0x25b)](_0x53eb35),_0x310a53=this[_0x5bf79b(0xf6)](_0x310a53,_0x53eb35[_0x5bf79b(0x2ce)]);var _0x2b4dd6=_0x124960[_0x5bf79b(0x1dc)](_0x2ea13b,_0x53eb35)[_0x5bf79b(0x3ea)](_0x310a53[_0x5bf79b(0x9d)]);return _0x2b4dd6;},'_parse':function(_0x5c1fe0,_0x59c9f5){var _0x1390f4=_0x40838d;return typeof _0x5c1fe0==_0x1390f4(0x2d5)?_0x59c9f5[_0x1390f4(0x301)](_0x5c1fe0,this):_0x5c1fe0;}}),_0x438ea2=_0x1a0a80['kdf']={},_0x37a783=_0x438ea2[_0x40838d(0x367)]={'execute':function(_0x65273c,_0x50a5ec,_0x1d2456,_0x2ca8d4,_0x3ab861){var _0x490f63=_0x40838d;if(_0x2ca8d4||(_0x2ca8d4=_0x55405a[_0x490f63(0x3b7)](0x40/0x8)),_0x3ab861)var _0x338e04=_0x52820b[_0x490f63(0x194)]({'keySize':_0x50a5ec+_0x1d2456,'hasher':_0x3ab861})[_0x490f63(0xe2)](_0x65273c,_0x2ca8d4);else var _0x338e04=_0x52820b[_0x490f63(0x194)]({'keySize':_0x50a5ec+_0x1d2456})['compute'](_0x65273c,_0x2ca8d4);var _0x5a2ed8=_0x55405a['create'](_0x338e04[_0x490f63(0x300)][_0x490f63(0x319)](_0x50a5ec),_0x1d2456*0x4);return _0x338e04[_0x490f63(0x1e0)]=_0x50a5ec*0x4,_0x5b342a[_0x490f63(0x194)]({'key':_0x338e04,'iv':_0x5a2ed8,'salt':_0x2ca8d4});}},_0x558d0b=_0x588ce8[_0x40838d(0x100)]=_0x4df168['extend']({'cfg':_0x4df168[_0x40838d(0x257)]['extend']({'kdf':_0x37a783}),'encrypt':function(_0x51c753,_0x3dd470,_0x100ea8,_0x35d6f1){var _0x128498=_0x40838d;_0x35d6f1=this[_0x128498(0x257)]['extend'](_0x35d6f1);var _0xb67f63=_0x35d6f1['kdf'][_0x128498(0x38d)](_0x100ea8,_0x51c753[_0x128498(0xde)],_0x51c753[_0x128498(0x382)],_0x35d6f1[_0x128498(0x279)],_0x35d6f1['hasher']);_0x35d6f1['iv']=_0xb67f63['iv'];var _0x17586e=_0x4df168[_0x128498(0xb7)][_0x128498(0x27d)](this,_0x51c753,_0x3dd470,_0xb67f63['key'],_0x35d6f1);return _0x17586e['mixIn'](_0xb67f63),_0x17586e;},'decrypt':function(_0x587e74,_0x4137c1,_0x2fa2ed,_0xf4a56e){var _0x454a40=_0x40838d;_0xf4a56e=this[_0x454a40(0x257)][_0x454a40(0x25b)](_0xf4a56e),_0x4137c1=this['_parse'](_0x4137c1,_0xf4a56e[_0x454a40(0x2ce)]);var _0x3e8d2e=_0xf4a56e[_0x454a40(0x23e)][_0x454a40(0x38d)](_0x2fa2ed,_0x587e74[_0x454a40(0xde)],_0x587e74[_0x454a40(0x382)],_0x4137c1[_0x454a40(0x279)],_0xf4a56e['hasher']);_0xf4a56e['iv']=_0x3e8d2e['iv'];var _0x21ee40=_0x4df168[_0x454a40(0x16f)]['call'](this,_0x587e74,_0x4137c1,_0x3e8d2e[_0x454a40(0xa0)],_0xf4a56e);return _0x21ee40;}});}();}));}(Te)),Te[_0x243a00(0x1c2)];}var ri=Se[_0x2b18bd(0x1c2)],ot;function si(){return ot||(ot=0x1,function(_0x2a7e37,_0xc0b90f){(function(_0xc40c8b,_0xdc7480,_0x26e5e7){var _0x4990be=_0xf177;_0x2a7e37[_0x4990be(0x1c2)]=_0xdc7480(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x49e8f6){var _0x411bcc=_0xf177;return(function(){var _0xa622c0=_0xf177,_0x537b0=_0x49e8f6,_0x586b79=_0x537b0[_0xa622c0(0x328)],_0x3e1352=_0x586b79['BlockCipher'],_0x2246a6=_0x537b0[_0xa622c0(0x10f)],_0x459b99=[],_0x3d8f91=[],_0x46fd10=[],_0x29f9b9=[],_0x4daa0c=[],_0x1e6fe1=[],_0x182b32=[],_0x3966f6=[],_0x42f872=[],_0x312d58=[];(function(){for(var _0x151285=[],_0x30eb61=0x0;_0x30eb61<0x100;_0x30eb61++)_0x30eb61<0x80?_0x151285[_0x30eb61]=_0x30eb61<<0x1:_0x151285[_0x30eb61]=_0x30eb61<<0x1^0x11b;for(var _0x3a6f26=0x0,_0x3644f0=0x0,_0x30eb61=0x0;_0x30eb61<0x100;_0x30eb61++){var _0x52a266=_0x3644f0^_0x3644f0<<0x1^_0x3644f0<<0x2^_0x3644f0<<0x3^_0x3644f0<<0x4;_0x52a266=_0x52a266>>>0x8^_0x52a266&0xff^0x63,_0x459b99[_0x3a6f26]=_0x52a266,_0x3d8f91[_0x52a266]=_0x3a6f26;var _0x3dffa2=_0x151285[_0x3a6f26],_0x5792ee=_0x151285[_0x3dffa2],_0xb2b2ea=_0x151285[_0x5792ee],_0x3401d3=_0x151285[_0x52a266]*0x101^_0x52a266*0x1010100;_0x46fd10[_0x3a6f26]=_0x3401d3<<0x18|_0x3401d3>>>0x8,_0x29f9b9[_0x3a6f26]=_0x3401d3<<0x10|_0x3401d3>>>0x10,_0x4daa0c[_0x3a6f26]=_0x3401d3<<0x8|_0x3401d3>>>0x18,_0x1e6fe1[_0x3a6f26]=_0x3401d3;var _0x3401d3=_0xb2b2ea*0x1010101^_0x5792ee*0x10001^_0x3dffa2*0x101^_0x3a6f26*0x1010100;_0x182b32[_0x52a266]=_0x3401d3<<0x18|_0x3401d3>>>0x8,_0x3966f6[_0x52a266]=_0x3401d3<<0x10|_0x3401d3>>>0x10,_0x42f872[_0x52a266]=_0x3401d3<<0x8|_0x3401d3>>>0x18,_0x312d58[_0x52a266]=_0x3401d3,_0x3a6f26?(_0x3a6f26=_0x3dffa2^_0x151285[_0x151285[_0x151285[_0xb2b2ea^_0x3dffa2]]],_0x3644f0^=_0x151285[_0x151285[_0x3644f0]]):_0x3a6f26=_0x3644f0=0x1;}}());var _0x20d260=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x508c77=_0x2246a6[_0xa622c0(0x1da)]=_0x3e1352['extend']({'_doReset':function(){var _0x5bff44=_0xa622c0,_0x347dc1;if(!(this[_0x5bff44(0x10a)]&&this[_0x5bff44(0x273)]===this[_0x5bff44(0x1bc)])){for(var _0x4cd959=this[_0x5bff44(0x273)]=this[_0x5bff44(0x1bc)],_0x36f6cd=_0x4cd959[_0x5bff44(0x300)],_0x32cf07=_0x4cd959[_0x5bff44(0x1e0)]/0x4,_0x50f64a=this[_0x5bff44(0x10a)]=_0x32cf07+0x6,_0x191547=(_0x50f64a+0x1)*0x4,_0x33c99e=this[_0x5bff44(0x24c)]=[],_0x1f6b34=0x0;_0x1f6b34<_0x191547;_0x1f6b34++)_0x1f6b34<_0x32cf07?_0x33c99e[_0x1f6b34]=_0x36f6cd[_0x1f6b34]:(_0x347dc1=_0x33c99e[_0x1f6b34-0x1],_0x1f6b34%_0x32cf07?_0x32cf07>0x6&&_0x1f6b34%_0x32cf07==0x4&&(_0x347dc1=_0x459b99[_0x347dc1>>>0x18]<<0x18|_0x459b99[_0x347dc1>>>0x10&0xff]<<0x10|_0x459b99[_0x347dc1>>>0x8&0xff]<<0x8|_0x459b99[_0x347dc1&0xff]):(_0x347dc1=_0x347dc1<<0x8|_0x347dc1>>>0x18,_0x347dc1=_0x459b99[_0x347dc1>>>0x18]<<0x18|_0x459b99[_0x347dc1>>>0x10&0xff]<<0x10|_0x459b99[_0x347dc1>>>0x8&0xff]<<0x8|_0x459b99[_0x347dc1&0xff],_0x347dc1^=_0x20d260[_0x1f6b34/_0x32cf07|0x0]<<0x18),_0x33c99e[_0x1f6b34]=_0x33c99e[_0x1f6b34-_0x32cf07]^_0x347dc1);for(var _0x46e7d1=this['_invKeySchedule']=[],_0x2ae50a=0x0;_0x2ae50a<_0x191547;_0x2ae50a++){var _0x1f6b34=_0x191547-_0x2ae50a;if(_0x2ae50a%0x4)var _0x347dc1=_0x33c99e[_0x1f6b34];else var _0x347dc1=_0x33c99e[_0x1f6b34-0x4];_0x2ae50a<0x4||_0x1f6b34<=0x4?_0x46e7d1[_0x2ae50a]=_0x347dc1:_0x46e7d1[_0x2ae50a]=_0x182b32[_0x459b99[_0x347dc1>>>0x18]]^_0x3966f6[_0x459b99[_0x347dc1>>>0x10&0xff]]^_0x42f872[_0x459b99[_0x347dc1>>>0x8&0xff]]^_0x312d58[_0x459b99[_0x347dc1&0xff]];}}},'encryptBlock':function(_0x291a47,_0x304205){var _0x1989e1=_0xa622c0;this[_0x1989e1(0x113)](_0x291a47,_0x304205,this[_0x1989e1(0x24c)],_0x46fd10,_0x29f9b9,_0x4daa0c,_0x1e6fe1,_0x459b99);},'decryptBlock':function(_0x26b81b,_0x404ecc){var _0x3b598d=_0xa622c0,_0x65de28=_0x26b81b[_0x404ecc+0x1];_0x26b81b[_0x404ecc+0x1]=_0x26b81b[_0x404ecc+0x3],_0x26b81b[_0x404ecc+0x3]=_0x65de28,this[_0x3b598d(0x113)](_0x26b81b,_0x404ecc,this[_0x3b598d(0x122)],_0x182b32,_0x3966f6,_0x42f872,_0x312d58,_0x3d8f91);var _0x65de28=_0x26b81b[_0x404ecc+0x1];_0x26b81b[_0x404ecc+0x1]=_0x26b81b[_0x404ecc+0x3],_0x26b81b[_0x404ecc+0x3]=_0x65de28;},'_doCryptBlock':function(_0x29be7f,_0x1d4f13,_0x5afdd7,_0x2d3478,_0x4b9353,_0x43a68a,_0x36433e,_0x19bffa){var _0x3285f5=_0xa622c0;for(var _0x4bca8f=this[_0x3285f5(0x10a)],_0x4ce235=_0x29be7f[_0x1d4f13]^_0x5afdd7[0x0],_0x61ec5=_0x29be7f[_0x1d4f13+0x1]^_0x5afdd7[0x1],_0x4e7ab1=_0x29be7f[_0x1d4f13+0x2]^_0x5afdd7[0x2],_0x38c58f=_0x29be7f[_0x1d4f13+0x3]^_0x5afdd7[0x3],_0x4ce6a8=0x4,_0xc4c34c=0x1;_0xc4c34c<_0x4bca8f;_0xc4c34c++){var _0x45b728=_0x2d3478[_0x4ce235>>>0x18]^_0x4b9353[_0x61ec5>>>0x10&0xff]^_0x43a68a[_0x4e7ab1>>>0x8&0xff]^_0x36433e[_0x38c58f&0xff]^_0x5afdd7[_0x4ce6a8++],_0x2a918b=_0x2d3478[_0x61ec5>>>0x18]^_0x4b9353[_0x4e7ab1>>>0x10&0xff]^_0x43a68a[_0x38c58f>>>0x8&0xff]^_0x36433e[_0x4ce235&0xff]^_0x5afdd7[_0x4ce6a8++],_0x1dd957=_0x2d3478[_0x4e7ab1>>>0x18]^_0x4b9353[_0x38c58f>>>0x10&0xff]^_0x43a68a[_0x4ce235>>>0x8&0xff]^_0x36433e[_0x61ec5&0xff]^_0x5afdd7[_0x4ce6a8++],_0x2bb677=_0x2d3478[_0x38c58f>>>0x18]^_0x4b9353[_0x4ce235>>>0x10&0xff]^_0x43a68a[_0x61ec5>>>0x8&0xff]^_0x36433e[_0x4e7ab1&0xff]^_0x5afdd7[_0x4ce6a8++];_0x4ce235=_0x45b728,_0x61ec5=_0x2a918b,_0x4e7ab1=_0x1dd957,_0x38c58f=_0x2bb677;}var _0x45b728=(_0x19bffa[_0x4ce235>>>0x18]<<0x18|_0x19bffa[_0x61ec5>>>0x10&0xff]<<0x10|_0x19bffa[_0x4e7ab1>>>0x8&0xff]<<0x8|_0x19bffa[_0x38c58f&0xff])^_0x5afdd7[_0x4ce6a8++],_0x2a918b=(_0x19bffa[_0x61ec5>>>0x18]<<0x18|_0x19bffa[_0x4e7ab1>>>0x10&0xff]<<0x10|_0x19bffa[_0x38c58f>>>0x8&0xff]<<0x8|_0x19bffa[_0x4ce235&0xff])^_0x5afdd7[_0x4ce6a8++],_0x1dd957=(_0x19bffa[_0x4e7ab1>>>0x18]<<0x18|_0x19bffa[_0x38c58f>>>0x10&0xff]<<0x10|_0x19bffa[_0x4ce235>>>0x8&0xff]<<0x8|_0x19bffa[_0x61ec5&0xff])^_0x5afdd7[_0x4ce6a8++],_0x2bb677=(_0x19bffa[_0x38c58f>>>0x18]<<0x18|_0x19bffa[_0x4ce235>>>0x10&0xff]<<0x10|_0x19bffa[_0x61ec5>>>0x8&0xff]<<0x8|_0x19bffa[_0x4e7ab1&0xff])^_0x5afdd7[_0x4ce6a8++];_0x29be7f[_0x1d4f13]=_0x45b728,_0x29be7f[_0x1d4f13+0x1]=_0x2a918b,_0x29be7f[_0x1d4f13+0x2]=_0x1dd957,_0x29be7f[_0x1d4f13+0x3]=_0x2bb677;},'keySize':0x100/0x20});_0x537b0[_0xa622c0(0x1da)]=_0x3e1352[_0xa622c0(0x3df)](_0x508c77);}()),_0x49e8f6[_0x411bcc(0x1da)];}));}(Se)),Se['exports'];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0x2b18bd(0x1c2)],ct;function li(){var _0x25f843=_0x2b18bd;return ct||(ct=0x1,function(_0x4ac605,_0x2a2b3b){(function(_0x499703,_0x468977){_0x4ac605['exports']=_0x468977(ee());}(hi,function(_0x33d97f){var _0x1450d8=_0xf177;return _0x33d97f[_0x1450d8(0x2a4)]['Utf8'];}));}(be)),be[_0x25f843(0x1c2)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re['exports'],ht;function vi(){var _0x3766a0=_0x2b18bd;return ht||(ht=0x1,function(_0xb8bed3,_0x24a2c8){(function(_0x2e7981,_0x2337c7){var _0xa5d77c=_0xf177;_0xb8bed3[_0xa5d77c(0x1c2)]=_0x2337c7(ee());}(di,function(_0x46a746){var _0x1879a8=_0xf177;return(function(){var _0x4e0c9d=_0xf177;if(typeof ArrayBuffer==_0x4e0c9d(0x3f9)){var _0x3ccc9d=_0x46a746,_0x156b98=_0x3ccc9d['lib'],_0x3604b4=_0x156b98[_0x4e0c9d(0x403)],_0xccad52=_0x3604b4[_0x4e0c9d(0x3cf)],_0x20808a=_0x3604b4['init']=function(_0x3a481b){var _0x11e56e=_0x4e0c9d;if(_0x3a481b instanceof ArrayBuffer&&(_0x3a481b=new Uint8Array(_0x3a481b)),(_0x3a481b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3a481b instanceof Uint8ClampedArray||_0x3a481b instanceof Int16Array||_0x3a481b instanceof Uint16Array||_0x3a481b instanceof Int32Array||_0x3a481b instanceof Uint32Array||_0x3a481b instanceof Float32Array||_0x3a481b instanceof Float64Array)&&(_0x3a481b=new Uint8Array(_0x3a481b['buffer'],_0x3a481b[_0x11e56e(0x134)],_0x3a481b[_0x11e56e(0x151)])),_0x3a481b instanceof Uint8Array){for(var _0x4d6229=_0x3a481b['byteLength'],_0x1aca9d=[],_0x102dca=0x0;_0x102dca<_0x4d6229;_0x102dca++)_0x1aca9d[_0x102dca>>>0x2]|=_0x3a481b[_0x102dca]<<0x18-_0x102dca%0x4*0x8;_0xccad52[_0x11e56e(0x27d)](this,_0x1aca9d,_0x4d6229);}else _0xccad52[_0x11e56e(0xc9)](this,arguments);};_0x20808a[_0x4e0c9d(0x3fc)]=_0x3604b4;}}()),_0x46a746[_0x1879a8(0x328)]['WordArray'];}));}(Re)),Re[_0x3766a0(0x1c2)];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x2b18bd(0x1c2)],lt;function mi(){return lt||(lt=0x1,function(_0x212e40,_0x316839){(function(_0x1fd650,_0x4448cc,_0x4f9de9){_0x212e40['exports']=_0x4448cc(ee(),At());}(pi,function(_0x936365){var _0x1a2030=_0xf177;return _0x936365[_0x1a2030(0x3ce)][_0x1a2030(0xc0)]={'pad':function(){},'unpad':function(){}},_0x936365['pad'][_0x1a2030(0xc0)];}));}(Oe)),Oe['exports'];}var gi=mi();const Ii=fe(gi);function Ei(_0xce246e,_0x4628e3){var _0x111021=_0x2b18bd;const _0x3470ee=_0x4628e3-_0xce246e['length']%_0x4628e3,_0x526bbe=String[_0x111021(0xaf)](_0x3470ee)[_0x111021(0x2fb)](_0x3470ee);return _0xce246e+_0x526bbe;}function Ci(_0x19e78b,_0xd230c4){var _0x561ef6=_0x2b18bd;const _0x9c712f=Si[_0x561ef6(0x3b7)](0x10),_0x47141a=Ei(_0x19e78b,0x10),_0xca1736=ai[_0x561ef6(0xb7)](ui[_0x561ef6(0x301)](_0x47141a),at[_0x561ef6(0x301)](_0xd230c4),{'iv':_0x9c712f,'padding':Ii});return _0x9c712f[_0x561ef6(0x22c)](_0xca1736[_0x561ef6(0x9d)])[_0x561ef6(0xc2)](at);}function Ti(){var _0x2ac245=_0x2b18bd;const _0x4552c0=$t[_0x2ac245(0x223)]()[_0x2ac245(0x98)];if(_0x4552c0){const _0x312a3a={'time':Math['floor'](Date[_0x2ac245(0x251)]()/0x3e8),'domain':location[_0x2ac245(0x1f7)]};return Ci(JSON[_0x2ac245(0x2fa)](_0x312a3a),_0x4552c0);}}var bi=Object[_0x2b18bd(0x222)],Ri=Object[_0x2b18bd(0x1b9)],Oi=(_0x1c577d,_0x28ce61,_0x29b122,_0x2ce11b)=>{for(var _0xbffd98=_0x2ce11b>0x1?void 0x0:_0x2ce11b?Ri(_0x28ce61,_0x29b122):_0x28ce61,_0x28bc9e=_0x1c577d['length']-0x1,_0x4255cf;_0x28bc9e>=0x0;_0x28bc9e--)(_0x4255cf=_0x1c577d[_0x28bc9e])&&(_0xbffd98=(_0x2ce11b?_0x4255cf(_0x28ce61,_0x29b122,_0xbffd98):_0x4255cf(_0xbffd98))||_0xbffd98);return _0x2ce11b&&_0xbffd98&&bi(_0x28ce61,_0x29b122,_0xbffd98),_0xbffd98;},yi=(_0x1405e7,_0xf89261)=>(_0x277579,_0x163f77)=>_0xf89261(_0x277579,_0x163f77,_0x1405e7);let Ne=class{constructor(_0x4fa754){var _0x496b16=_0x2b18bd;this[_0x496b16(0x1f5)]=_0x4fa754,this[_0x496b16(0x266)]();}[_0x2b18bd(0x266)](){var _0x206cfb=_0x2b18bd;this[_0x206cfb(0x1f5)][_0x206cfb(0x309)]({'interceptor':(_0x67b69a,_0x227984)=>{var _0x565bb8=_0x206cfb;const _0x3768d6=_0x67b69a[_0x565bb8(0x1ca)],_0x3c2510=Ti();return _0x3c2510&&_0x3768d6['set'](_0x565bb8(0x299),_0x3c2510),_0x227984(_0x67b69a);}});}};Ne=Oi([yi(0x0,a[_0x2b18bd(0x1c4)](q[_0x2b18bd(0x347)]))],Ne);var Ni=Object[_0x2b18bd(0x222)],Ui=Object[_0x2b18bd(0x1b9)],Pi=(_0x136095,_0x906720,_0x13244a,_0x2755eb)=>{var _0x413cf2=_0x2b18bd;for(var _0x1a2b4c=_0x2755eb>0x1?void 0x0:_0x2755eb?Ui(_0x906720,_0x13244a):_0x906720,_0x4d201f=_0x136095[_0x413cf2(0x327)]-0x1,_0x1270a8;_0x4d201f>=0x0;_0x4d201f--)(_0x1270a8=_0x136095[_0x4d201f])&&(_0x1a2b4c=(_0x2755eb?_0x1270a8(_0x906720,_0x13244a,_0x1a2b4c):_0x1270a8(_0x1a2b4c))||_0x1a2b4c);return _0x2755eb&&_0x1a2b4c&&Ni(_0x906720,_0x13244a,_0x1a2b4c),_0x1a2b4c;},Me=(_0xcb4aca,_0xf5c037)=>(_0x1afcc7,_0x25b276)=>_0xf5c037(_0x1afcc7,_0x25b276,_0xcb4aca);exports[_0x2b18bd(0x174)]=class extends a['RxDisposable']{constructor(_0x1a92ab,_0x30f232,_0x4c65f6){var _0x20ebe1=_0x2b18bd;super(),D(this,'_unitInfo$',new H['BehaviorSubject'](null)),D(this,_0x20ebe1(0x12d),this[_0x20ebe1(0x3e1)]['asObservable']()),(this[_0x20ebe1(0x34d)]=_0x1a92ab,this['_snapshotService']=_0x30f232,this[_0x20ebe1(0x289)]=_0x4c65f6);}async['loadUnit'](_0x1e40a2,_0x10b0c9,_0x482857){var _0x61e694=_0x2b18bd;this[_0x61e694(0x3e1)]['next']({'unitId':_0x1e40a2,'type':_0x10b0c9,'subUnitId':_0x482857});let _0x330662=null;switch(_0x10b0c9){case Z[_0x61e694(0xcb)]:{_0x330662=await this[_0x61e694(0xdb)](_0x1e40a2);break;}case Z['UNIVER_DOC']:{_0x330662=await this[_0x61e694(0x34f)](_0x1e40a2);break;}default:{this[_0x61e694(0x34d)][_0x61e694(0x99)]('[DataLoaderService]',_0x61e694(0x39c));break;}}return _0x330662;}async[_0x2b18bd(0xdb)](_0x481827){var _0x3924a1=_0x2b18bd,_0x2e908b;let _0x398b1a=0x0;const _0x2b52c8=await((_0x2e908b=this['_localCacheService'])==null?void 0x0:_0x2e908b[_0x3924a1(0x389)](_0x481827));return _0x2b52c8&&(_0x2b52c8[_0x3924a1(0x32a)]||_0x2b52c8[_0x3924a1(0x1ec)]['length']!==0x0)&&(_0x398b1a=_0x2b52c8['rev']),_0x398b1a===0x0&&this[_0x3924a1(0x34d)][_0x3924a1(0x2bc)](_0x3924a1(0x175),_0x3924a1(0xfd)),this['_snapshotService']['loadSheet'](_0x481827,_0x398b1a);}async[_0x2b18bd(0x34f)](_0xb16ee3){var _0x542365=_0x2b18bd,_0x4a9338;let _0x310650=0x0;const _0x1c2563=await((_0x4a9338=this['_localCacheService'])==null?void 0x0:_0x4a9338[_0x542365(0x389)](_0xb16ee3));return _0x1c2563&&(_0x1c2563['awaitingChangeset']||_0x1c2563[_0x542365(0x1ec)][_0x542365(0x327)]!==0x0)&&(_0x310650=_0x1c2563[_0x542365(0x397)]),_0x310650===0x0&&this[_0x542365(0x34d)][_0x542365(0x2bc)]('[DataLoaderService]',_0x542365(0xfd)),this['_snapshotService'][_0x542365(0x286)](_0xb16ee3,_0x310650);}},exports[_0x2b18bd(0x174)]=Pi([Me(0x0,a[_0x2b18bd(0x304)]),Me(0x1,a[_0x2b18bd(0x1c4)](m['SnapshotService'])),Me(0x2,a['Optional'](z))],exports[_0x2b18bd(0x174)]);var Di=Object[_0x2b18bd(0x222)],wi=Object[_0x2b18bd(0x1b9)],Ai=(_0xa5a6d5,_0x5aee2b,_0x4fa4f1,_0x14f7ad)=>{for(var _0x24ceb2=_0x14f7ad>0x1?void 0x0:_0x14f7ad?wi(_0x5aee2b,_0x4fa4f1):_0x5aee2b,_0x12c12e=_0xa5a6d5['length']-0x1,_0x40e55;_0x12c12e>=0x0;_0x12c12e--)(_0x40e55=_0xa5a6d5[_0x12c12e])&&(_0x24ceb2=(_0x14f7ad?_0x40e55(_0x5aee2b,_0x4fa4f1,_0x24ceb2):_0x40e55(_0x24ceb2))||_0x24ceb2);return _0x14f7ad&&_0x24ceb2&&Di(_0x5aee2b,_0x4fa4f1,_0x24ceb2),_0x24ceb2;},xe=(_0x5ec120,_0x4af951)=>(_0x236cd5,_0x427d39)=>_0x4af951(_0x236cd5,_0x427d39,_0x5ec120);const Li=['image/png',_0x2b18bd(0x363),_0x2b18bd(0x144),_0x2b18bd(0x2d7),'image/bmp'],Mi=0x5*0x400*0x400,xi=_0x2b18bd(0x33d),ji=_0x2b18bd(0x245),$i=_0x2b18bd(0x190),Hi=_0x2b18bd(0x402);exports[_0x2b18bd(0x26a)]=class{constructor(_0x8902fa,_0x5af656,_0x467ce8){var _0x1e2146=_0x2b18bd;D(this,_0x1e2146(0xd4),0x0),D(this,_0x1e2146(0x2a2),new H['Subject']()),D(this,_0x1e2146(0x19f),this[_0x1e2146(0x2a2)]),D(this,_0x1e2146(0x1a0),new Map()),(this[_0x1e2146(0x1f5)]=_0x8902fa,this[_0x1e2146(0x2c6)]=_0x5af656,this[_0x1e2146(0x3c2)]=_0x467ce8);}[_0x2b18bd(0x1cd)](_0x4f3640){var _0x431376=_0x2b18bd;this[_0x431376(0xd4)]=_0x4f3640,this[_0x431376(0x2a2)][_0x431376(0x3d5)](_0x4f3640);}[_0x2b18bd(0x15e)](_0x29ab11,_0x48fb69){var _0x1e2d84=_0x2b18bd;if(_0x48fb69===X[_0x1e2d84(0x130)][_0x1e2d84(0x2ba)]){const _0x37c4c5=new Image();return _0x37c4c5['src']=_0x29ab11,_0x37c4c5;}return this['_imageSourceCache'][_0x1e2d84(0x263)](_0x29ab11);}[_0x2b18bd(0x1c0)](_0x229084,_0x44ee81,_0x524f48){var _0x1fddec=_0x2b18bd;_0x44ee81===X[_0x1fddec(0x130)][_0x1fddec(0x2ba)]||_0x524f48==null||this[_0x1fddec(0x1a0)][_0x1fddec(0x3f6)](_0x229084,_0x524f48);}async[_0x2b18bd(0x28d)](_0x50b9f8){var _0x81b2d4=_0x2b18bd;try{const _0x13c7cc=this[_0x81b2d4(0x229)](this[_0x81b2d4(0x1a2)](),''+_0x50b9f8),_0x519a51=(await this['_httpService'][_0x81b2d4(0x263)](_0x13c7cc))[_0x81b2d4(0x1fa)];if(_0x519a51[_0x81b2d4(0x99)]&&_0x519a51['error'][_0x81b2d4(0x1fc)]===Tt['OK']){const _0x164006=new URL(_0x519a51['url'],this['_getDownloadEndpointURL']())[_0x81b2d4(0xc2)]();return Promise['resolve'](_0x164006);}return Promise[_0x81b2d4(0x39d)](_0x519a51[_0x81b2d4(0x99)]);}catch(_0x1a8551){return Promise[_0x81b2d4(0x39d)](_0x1a8551);}}async[_0x2b18bd(0x3c3)](_0x523563){var _0x848f6d=_0x2b18bd;let _0x549622='';if(!Li[_0x848f6d(0xa6)](_0x523563[_0x848f6d(0x1ac)]))return this['_decreaseWaiting'](),Promise[_0x848f6d(0x39d)](new Error(X['ImageUploadStatusType'][_0x848f6d(0x274)]));if(_0x523563[_0x848f6d(0x1dd)]>Mi)return this[_0x848f6d(0x3b5)](),Promise[_0x848f6d(0x39d)](new Error(X['ImageUploadStatusType'][_0x848f6d(0x226)]));try{const _0xcc876a=new FormData();_0xcc876a[_0x848f6d(0x12b)](_0x848f6d(0x1cb),_0x523563);const _0x55aefa=this[_0x848f6d(0x3c2)][_0x848f6d(0x179)](),_0x14fb99=_0x55aefa==null?void 0x0:_0x55aefa['getUnitId']();if(!_0x14fb99)throw new Error('unitId\x20is\x20not\x20found');const _0x3fb750=this['_getUploadFileURL']()+_0x848f6d(0xe9)+_0x523563[_0x848f6d(0x1dd)][_0x848f6d(0xc2)]()+_0x848f6d(0x16e)+bt[_0x848f6d(0x2a0)]+'&assign='+encodeURIComponent(_0x14fb99),_0x30b40f=await(await fetch(_0x3fb750,{'method':_0x848f6d(0x348),'body':_0xcc876a}))[_0x848f6d(0x188)]();if(typeof _0x30b40f[_0x848f6d(0x34b)]!=_0x848f6d(0x2d5))return this['_decreaseWaiting'](),Promise[_0x848f6d(0x39d)](new Error(X[_0x848f6d(0x3e2)]['ERROR_IMAGE']));_0x549622=_0x30b40f[_0x848f6d(0x34b)];}catch{return this[_0x848f6d(0x3b5)](),Promise[_0x848f6d(0x39d)](new Error(X[_0x848f6d(0x3e2)][_0x848f6d(0xd1)]));}return new Promise((_0x35fce1,_0x97ca9e)=>{var _0x28cdaa=_0x848f6d;const _0x203e2f=new FileReader();_0x203e2f[_0x28cdaa(0x242)](_0x523563),_0x203e2f[_0x28cdaa(0xa3)]=_0x38fece=>{var _0x11f660=_0x28cdaa,_0x4c89f9;const _0x5a15f5=(_0x4c89f9=_0x38fece['target'])==null?void 0x0:_0x4c89f9[_0x11f660(0x3c0)];if(_0x5a15f5==null){this[_0x11f660(0x3b5)](),_0x97ca9e(new Error(X['ImageUploadStatusType'][_0x11f660(0xd1)]));return;}const _0x327b2d=a[_0x11f660(0x320)]['generateRandomId'](0x6);_0x35fce1({'imageId':_0x327b2d,'imageSourceType':X[_0x11f660(0x130)][_0x11f660(0x1d1)],'source':_0x549622,'base64Cache':_0x5a15f5,'status':X[_0x11f660(0x3e2)]['SUCCUSS']}),this[_0x11f660(0x3b5)]();};});}[_0x2b18bd(0x390)](){var _0x40accf=_0x2b18bd,_0x130c31,_0x5cb716;const _0x1e36c9=this[_0x40accf(0x2c6)][_0x40accf(0x15d)](xi),_0x5d0c94=this[_0x40accf(0x2c6)]['getConfig'](Y);return(_0x5cb716=(_0x130c31=_0x5d0c94==null?void 0x0:_0x5d0c94[_0x40accf(0x351)])!=null?_0x130c31:_0x1e36c9)!=null?_0x5cb716:ji;}[_0x2b18bd(0x1a2)](){var _0x51574d=_0x2b18bd,_0x295258,_0x5f4951;const _0x3d170e=this['_configService'][_0x51574d(0x15d)]($i),_0x222e9a=this[_0x51574d(0x2c6)][_0x51574d(0x15d)](Y);return(_0x5f4951=(_0x295258=_0x222e9a==null?void 0x0:_0x222e9a[_0x51574d(0x3b4)])!=null?_0x295258:_0x3d170e)!=null?_0x5f4951:Hi;}[_0x2b18bd(0x204)](){var _0x2fb4ac=_0x2b18bd,_0x1e9d1b;const _0x18ecb7=this['_configService'][_0x2fb4ac(0x15d)](Y);return(_0x1e9d1b=_0x18ecb7==null?void 0x0:_0x18ecb7[_0x2fb4ac(0x28f)])!=null?_0x1e9d1b:location['origin'];}[_0x2b18bd(0x229)](_0x330c26,_0x1e548a){var _0x3188b6=_0x2b18bd;return _0x330c26[_0x3188b6(0x158)]('{fileID}',_0x1e548a);}[_0x2b18bd(0x3b5)](){var _0x5487cb=_0x2b18bd;this[_0x5487cb(0xd4)]-=0x1,this['_change$'][_0x5487cb(0x3d5)](this[_0x5487cb(0xd4)]);}},exports[_0x2b18bd(0x26a)]=Ai([xe(0x0,a[_0x2b18bd(0x1c4)](q[_0x2b18bd(0x347)])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x21f)]))],exports[_0x2b18bd(0x26a)]);var ki=Object[_0x2b18bd(0x222)],Bi=Object[_0x2b18bd(0x1b9)],Fi=(_0xb3c88e,_0x1176fd,_0x5586c1,_0x2bbbe9)=>{for(var _0x53c791=_0x2bbbe9>0x1?void 0x0:_0x2bbbe9?Bi(_0x1176fd,_0x5586c1):_0x1176fd,_0x55a002=_0xb3c88e['length']-0x1,_0x82f59;_0x55a002>=0x0;_0x55a002--)(_0x82f59=_0xb3c88e[_0x55a002])&&(_0x53c791=(_0x2bbbe9?_0x82f59(_0x1176fd,_0x5586c1,_0x53c791):_0x82f59(_0x53c791))||_0x53c791);return _0x2bbbe9&&_0x53c791&&ki(_0x1176fd,_0x5586c1,_0x53c791),_0x53c791;},_t=(_0x32fa23,_0x1fb546)=>(_0xdf0564,_0x539188)=>_0x1fb546(_0xdf0564,_0x539188,_0x32fa23);const Wi=_0x2b18bd(0x199);exports[_0x2b18bd(0xc3)]=class{constructor(_0x503009,_0x5b40ea){var _0x3fc999=_0x2b18bd;this[_0x3fc999(0x2c6)]=_0x503009,this[_0x3fc999(0x25e)]=_0x5b40ea;}[_0x2b18bd(0x2ab)](){var _0x4b2790=_0x2b18bd,_0x51edcf,_0x2f871f;const _0x2235cf=this[_0x4b2790(0x2c6)][_0x4b2790(0x15d)](Ve),_0x34ae9e=this['_configService'][_0x4b2790(0x15d)](Y);return(_0x2f871f=(_0x51edcf=_0x34ae9e==null?void 0x0:_0x34ae9e['authzUrl'])!=null?_0x51edcf:_0x2235cf)!=null?_0x2f871f:Wi;}async[_0x2b18bd(0x1f6)](_0x12fde9){var _0x48560d=_0x2b18bd;const _0x246f50=this[_0x48560d(0x2ab)]()+_0x48560d(0x14d);return{'list':[{'title':_0x48560d(0x2ed),'mentions':(await this[_0x48560d(0x25e)][_0x48560d(0x263)](_0x246f50,{'params':{'objectID':_0x12fde9[_0x48560d(0x1a4)],'unitID':_0x12fde9[_0x48560d(0x1a4)]}}))['body'][_0x48560d(0x1e5)][_0x48560d(0x2d9)](_0x4422b6=>({'objectId':_0x4422b6['id'],'name':_0x4422b6[_0x48560d(0x3eb)][_0x48560d(0x368)],'metadata':{'icon':_0x4422b6['subject']['avatar']},'label':_0x4422b6['subject'][_0x48560d(0x368)],'objectType':a['MentionType'][_0x48560d(0x330)]})),'metadata':{},'type':a[_0x48560d(0xaa)][_0x48560d(0x330)]}]};}},exports['MentionIoHttpService']=Fi([_t(0x0,a[_0x2b18bd(0x1c4)](a['IConfigService'])),_t(0x1,a[_0x2b18bd(0x1c4)](q[_0x2b18bd(0x347)]))],exports['MentionIoHttpService']);var Gi=Object[_0x2b18bd(0x222)],Vi=Object[_0x2b18bd(0x1b9)],Ki=(_0x57ee2f,_0x2b891c,_0x32efd9,_0x461ffe)=>{var _0x166da9=_0x2b18bd;for(var _0x45def7=_0x461ffe>0x1?void 0x0:_0x461ffe?Vi(_0x2b891c,_0x32efd9):_0x2b891c,_0x334a55=_0x57ee2f[_0x166da9(0x327)]-0x1,_0x4b5628;_0x334a55>=0x0;_0x334a55--)(_0x4b5628=_0x57ee2f[_0x334a55])&&(_0x45def7=(_0x461ffe?_0x4b5628(_0x2b891c,_0x32efd9,_0x45def7):_0x4b5628(_0x45def7))||_0x45def7);return _0x461ffe&&_0x45def7&&Gi(_0x2b891c,_0x32efd9,_0x45def7),_0x45def7;},ce=(_0x3a9acb,_0x28c60a)=>(_0x41b5a6,_0x414851)=>_0x28c60a(_0x41b5a6,_0x414851,_0x3a9acb);let Ue=class extends a[_0x2b18bd(0x35e)]{constructor(_0x212ac1,_0x2cd550,_0x22b3ec,_0x5e4240,_0x1dc2db,_0x6cfe3f,_0x163622){var _0x2a133a=_0x2b18bd;super(),this['_injector']=_0x212ac1,this[_0x2a133a(0x3c2)]=_0x2cd550,this['_permissionService']=_0x22b3ec,this['_collaborationSessionService']=_0x5e4240,this[_0x2a133a(0x377)]=_0x1dc2db,this[_0x2a133a(0x218)]=_0x6cfe3f,this[_0x2a133a(0x25a)]=_0x163622,this[_0x2a133a(0x381)](),this[_0x2a133a(0x227)]();}['_initCloseConn'](){var _0x3c77ce=_0x2b18bd;const _0x4f1030=async _0x44d895=>{var _0x1b2059=_0xf177;(await this['_collaborationSessionService'][_0x1b2059(0x14c)](_0x44d895))[_0x1b2059(0x3af)][_0x1b2059(0xbe)](W[_0x1b2059(0x2fe)](_0x53fdf4=>_0x53fdf4[_0x1b2059(0x260)]===m[_0x1b2059(0x360)][_0x1b2059(0xac)]),W[_0x1b2059(0x90)](this[_0x1b2059(0x1e8)]))[_0x1b2059(0x32d)](_0x4d5ad8=>{var _0x43d302=_0x1b2059;const _0x5e3b21=_0x4d5ad8,{reason:_0x3e811e}=_0x5e3b21['data'];this[_0x43d302(0x377)][_0x43d302(0xb8)]({'id':Q['CLOSE_ROOM'],'data':_0x3e811e}),this['_permissionService'][_0x43d302(0x249)](new J['WorkbookEditablePermission'](_0x44d895)['id'],!0x1),this['_collaborationSessionService'][_0x43d302(0x145)](_0x44d895);});};H[_0x3c77ce(0x2d1)](this[_0x3c77ce(0x3c2)][_0x3c77ce(0x1f8)](a[_0x3c77ce(0x1c3)][_0x3c77ce(0xcb)]),this['_univerInstanceService'][_0x3c77ce(0x1f8)](a['UniverInstanceType'][_0x3c77ce(0x39b)]))[_0x3c77ce(0xbe)](W['map'](_0x5df7cf=>_0x5df7cf[_0x3c77ce(0x11a)]()),W[_0x3c77ce(0x2fe)](_0x5a34d8=>!a[_0x3c77ce(0x1b3)](_0x5a34d8)),W[_0x3c77ce(0x90)](this[_0x3c77ce(0x1e8)]))[_0x3c77ce(0x32d)](_0x33cc46=>{_0x4f1030(_0x33cc46);});}[_0x2b18bd(0x381)](){var _0x2cbfe6=_0x2b18bd;const _0x4b1bc5=async _0x4ec017=>{var _0x1d5f61=_0xf177;const _0x41ead6=await this['_collaborationSessionService'][_0x1d5f61(0x14c)](_0x4ec017),_0x48a651=this[_0x1d5f61(0x30a)][_0x1d5f61(0x263)](J[_0x1d5f61(0x380)]);_0x41ead6[_0x1d5f61(0x3af)][_0x1d5f61(0xbe)](W[_0x1d5f61(0x2fe)](_0x4be75a=>_0x4be75a[_0x1d5f61(0x260)]===m['CollaborationEvent'][_0x1d5f61(0xe7)]),W[_0x1d5f61(0x90)](this[_0x1d5f61(0x1e8)]))[_0x1d5f61(0x32d)](_0x10db04=>{var _0x5d4815=_0x1d5f61;const _0x4726d1=_0x10db04,{objectId:_0x39127c}=_0x4726d1[_0x5d4815(0x34e)];_0x39127c===_0x4ec017?_0x48a651[_0x5d4815(0x2b4)](_0x4ec017):_0x48a651[_0x5d4815(0x212)](_0x4ec017,_0x39127c);});};H[_0x2cbfe6(0x2d1)](this[_0x2cbfe6(0x3c2)][_0x2cbfe6(0x1f8)](a[_0x2cbfe6(0x1c3)][_0x2cbfe6(0xcb)]),this['_univerInstanceService'][_0x2cbfe6(0x1f8)](a[_0x2cbfe6(0x1c3)][_0x2cbfe6(0x39b)]))['pipe'](W[_0x2cbfe6(0x2d9)](_0xab80cb=>_0xab80cb['getUnitId']()),W[_0x2cbfe6(0x2fe)](_0x53da4f=>!a[_0x2cbfe6(0x1b3)](_0x53da4f)),W['takeUntil'](this[_0x2cbfe6(0x1e8)]))['subscribe'](_0x325e30=>{_0x4b1bc5(_0x325e30);});}};Ue=Ki([ce(0x0,a[_0x2b18bd(0x1c4)](a[_0x2b18bd(0x112)])),ce(0x1,a[_0x2b18bd(0x21f)]),ce(0x2,a[_0x2b18bd(0x248)]),ce(0x3,a[_0x2b18bd(0x1c4)](exports['CollaborationSessionService'])),ce(0x4,a['Inject'](te)),ce(0x5,a['IAuthzIoService']),ce(0x6,a[_0x2b18bd(0x2c0)])],Ue);var Yi=Object[_0x2b18bd(0x222)],qi=Object[_0x2b18bd(0x1b9)],zi=(_0x48c9d5,_0xe1fa64,_0x5b01bf,_0x37f9da)=>{for(var _0x3c1508=_0x37f9da>0x1?void 0x0:_0x37f9da?qi(_0xe1fa64,_0x5b01bf):_0xe1fa64,_0x3e267b=_0x48c9d5['length']-0x1,_0x1a8052;_0x3e267b>=0x0;_0x3e267b--)(_0x1a8052=_0x48c9d5[_0x3e267b])&&(_0x3c1508=(_0x37f9da?_0x1a8052(_0xe1fa64,_0x5b01bf,_0x3c1508):_0x1a8052(_0x3c1508))||_0x3c1508);return _0x37f9da&&_0x3c1508&&Yi(_0xe1fa64,_0x5b01bf,_0x3c1508),_0x3c1508;},ut=(_0x127d22,_0x1128d6)=>(_0xf71ea1,_0x44bc58)=>_0x1128d6(_0xf71ea1,_0x44bc58,_0x127d22);exports['SnapshotServerOverHTTPService']=class{constructor(_0x2df57b,_0x3400b7){var _0x2207ac=_0x2b18bd;this['_configService']=_0x2df57b,this[_0x2207ac(0x1f5)]=_0x3400b7;}async['getUnitOnRev'](_0x535ad9,_0x4f8488){var _0x2b4305=_0x2b18bd,_0x195898;const {unitID:_0x5af728,type:_0x41f9a8,revision:_0x1bb0fc=0x0}=_0x4f8488,_0x5d6c54=this[_0x2b4305(0x3f2)]()+'/'+_0x41f9a8+_0x2b4305(0x1a1)+_0x5af728+_0x2b4305(0x3a5)+_0x1bb0fc,_0x5c2c6b=(await this['_httpService'][_0x2b4305(0x263)](_0x5d6c54))['body'],_0x5abb17=(_0x195898=_0x5c2c6b[_0x2b4305(0x2eb)])==null?void 0x0:_0x195898[_0x2b4305(0x1d2)];if(_0x5abb17){const _0x5801b3=_0x5abb17==null?void 0x0:_0x5abb17[_0x2b4305(0x106)],_0x404366=m[_0x2b4305(0x30f)][_0x2b4305(0x32e)](m[_0x2b4305(0x10e)](_0x5801b3));_0x5abb17[_0x2b4305(0x106)]=_0x404366,Object[_0x2b4305(0x154)](_0x5abb17[_0x2b4305(0xbb)])[_0x2b4305(0xec)](([,_0x11d6ef])=>{var _0x272602=_0x2b4305;const _0x24b78d=_0x11d6ef['originalMeta'],_0x16bd94=m[_0x272602(0x30f)]['encode'](m['b64DecodeUnicode'](_0x24b78d));_0x11d6ef['originalMeta']=_0x16bd94;});}return _0x5c2c6b;}async[_0x2b18bd(0x281)](_0x7ec150,_0x3fa1b1){var _0x546cf0=_0x2b18bd;const {unitID:_0x2f6a2b,type:_0x1ec3e1,blockID:_0x2bfa16}=_0x3fa1b1,_0x59aa62=this[_0x546cf0(0x210)]()+'/'+_0x1ec3e1+_0x546cf0(0x1a1)+_0x2f6a2b+'/block/'+_0x2bfa16;return(await this['_httpService'][_0x546cf0(0x263)](_0x59aa62))[_0x546cf0(0x1fa)];}async[_0x2b18bd(0x1f9)](_0x2249ca,_0x2057fe){var _0x355b44=_0x2b18bd;const {unitID:_0x19f1a6,type:_0x4068e5,blockID:_0x379088}=_0x2057fe,_0x4e0252=this[_0x355b44(0x210)]()+_0x355b44(0x187)+_0x4068e5+_0x355b44(0x1a1)+_0x19f1a6+'/block/'+_0x379088;return(await this[_0x355b44(0x1f5)][_0x355b44(0x263)](_0x4e0252))[_0x355b44(0x1fa)];}async[_0x2b18bd(0x306)](_0x5e8441,_0x8f986a){var _0x20dddd=_0x2b18bd;const {unitID:_0x305ff1,type:_0x4073bb,from:_0x91773a,to:_0x81d026}=_0x8f986a,_0x49fc3c=this[_0x20dddd(0x210)]()+'/'+_0x4073bb+_0x20dddd(0x1a1)+_0x305ff1+_0x20dddd(0x2dd)+_0x91773a+_0x20dddd(0xca)+_0x81d026;return(await this[_0x20dddd(0x1f5)][_0x20dddd(0x263)](_0x49fc3c))[_0x20dddd(0x1fa)];}[_0x2b18bd(0x3f2)](){var _0x3f0adb=_0x2b18bd,_0x3559f4;return(_0x3559f4=this[_0x3f0adb(0x2c6)][_0x3f0adb(0x15d)](ft))!=null?_0x3559f4:this[_0x3f0adb(0x210)]();}['_getAPIPrefix'](){var _0x1fced0=_0x2b18bd,_0x239998,_0x2feb0f;const _0xfd770b=this[_0x1fced0(0x2c6)][_0x1fced0(0x15d)](vt),_0x229ae9=this[_0x1fced0(0x2c6)]['getConfig'](Y);return(_0x2feb0f=(_0x239998=_0x229ae9==null?void 0x0:_0x229ae9[_0x1fced0(0x2c7)])!=null?_0x239998:_0xfd770b)!=null?_0x2feb0f:Ht;}async[_0x2b18bd(0x3bb)](_0x57955f,_0x4f965d){var _0x181139=_0x2b18bd;const _0x25fb7b=_0x181139(0x176)+_0x4f965d[_0x181139(0x1ac)]+_0x181139(0x1a1)+_0x4f965d[_0x181139(0x329)]+_0x181139(0x18c);return(await this[_0x181139(0x1f5)][_0x181139(0x263)](_0x25fb7b,{'params':{'resourceId':JSON[_0x181139(0x2fa)](_0x4f965d[_0x181139(0x10b)])}}))[_0x181139(0x1fa)];}[_0x2b18bd(0x391)](){var _0x467ec2=_0x2b18bd;throw new Error(_0x467ec2(0x3b1));}['saveSheetBlock'](){var _0x5efd3e=_0x2b18bd;throw new Error(_0x5efd3e(0x3b1));}[_0x2b18bd(0x3c7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x446b5c=_0x2b18bd;throw new Error(_0x446b5c(0x3b1));}},exports['SnapshotServerOverHTTPService']=zi([ut(0x0,a['IConfigService']),ut(0x1,a[_0x2b18bd(0x1c4)](q[_0x2b18bd(0x347)]))],exports[_0x2b18bd(0x3cb)]);var Ji=Object[_0x2b18bd(0x222)],Xi=Object['getOwnPropertyDescriptor'],Zi=(_0x43142f,_0x408e7a,_0x4f8605,_0x5e70d7)=>{for(var _0x3d6e92=_0x5e70d7>0x1?void 0x0:_0x5e70d7?Xi(_0x408e7a,_0x4f8605):_0x408e7a,_0x4c6381=_0x43142f['length']-0x1,_0x6a5b76;_0x4c6381>=0x0;_0x4c6381--)(_0x6a5b76=_0x43142f[_0x4c6381])&&(_0x3d6e92=(_0x5e70d7?_0x6a5b76(_0x408e7a,_0x4f8605,_0x3d6e92):_0x6a5b76(_0x3d6e92))||_0x3d6e92);return _0x5e70d7&&_0x3d6e92&&Ji(_0x408e7a,_0x4f8605,_0x3d6e92),_0x3d6e92;},de=(_0x13184a,_0x7c7391)=>(_0x5b163b,_0x20b733)=>_0x7c7391(_0x5b163b,_0x20b733,_0x13184a);exports[_0x2b18bd(0x275)]=class extends a[_0x2b18bd(0x1be)]{constructor(_0x2e612e,_0x3b4f00,_0x9e0936,_0xe4f84e,_0x59ae44){var _0x36f3df=_0x2b18bd;super(_0x2e612e,_0x3b4f00,_0x9e0936),this[_0x36f3df(0x384)]=_0xe4f84e,this[_0x36f3df(0x34d)]=_0x59ae44;}['transformUndoRedo'](_0x3b9c08,_0x5773a1){var _0x26ff2b=_0x2b18bd;const _0x5ec3da=this[_0x26ff2b(0x1df)](_0x3b9c08);if(_0x5ec3da)try{const _0x17a634=this[_0x26ff2b(0x93)](_0x5ec3da,_0x5773a1);this[_0x26ff2b(0x35b)](_0x3b9c08,_0x17a634);}catch(_0x371420){this[_0x26ff2b(0x34d)][_0x26ff2b(0x99)]('[CollaborationUndoRedoService]',_0x371420),this['_clearUndo'](_0x3b9c08);}const _0x1d54e5=this['_getRedoStack'](_0x3b9c08);if(_0x1d54e5)try{const _0x2af4ac=this[_0x26ff2b(0x93)](_0x1d54e5,_0x5773a1);this[_0x26ff2b(0xe8)](_0x3b9c08,_0x2af4ac);}catch(_0x508c7c){this[_0x26ff2b(0x34d)]['error'](_0x508c7c),this[_0x26ff2b(0x127)](_0x3b9c08);}}['_clearUndo'](_0x3459bd){var _0x3563fa=_0x2b18bd;const _0x329ceb=this[_0x3563fa(0x1df)](_0x3459bd);_0x329ceb&&(_0x329ceb[_0x3563fa(0x327)]=0x0,this[_0x3563fa(0xc4)]());}[_0x2b18bd(0x127)](_0x4c4d39){var _0x283ce7=_0x2b18bd;const _0x1e9419=this[_0x283ce7(0x1e6)](_0x4c4d39);_0x1e9419&&(_0x1e9419[_0x283ce7(0x327)]=0x0,this[_0x283ce7(0xc4)]());}['_substituteUndoStack'](_0x2913bf,_0x4f1ed4){var _0x35acb2=_0x2b18bd;this[_0x35acb2(0x1b4)][_0x35acb2(0x3f6)](_0x2913bf,_0x4f1ed4),this['_updateStatus']();}[_0x2b18bd(0xe8)](_0x3f363f,_0x2e890b){var _0x3679cb=_0x2b18bd;this[_0x3679cb(0x37a)]['set'](_0x3f363f,_0x2e890b),this[_0x3679cb(0xc4)]();}[_0x2b18bd(0x93)](_0x39d53e,_0x250f9a){var _0x1d3983=_0x2b18bd;const _0x1364c0=[];let _0x509cf8=_0x250f9a,_0x5d25e4=_0x250f9a;for(let _0x202174=_0x39d53e[_0x1d3983(0x327)]-0x1;_0x202174>=0x0;_0x202174--){const {unitID:_0x4d16bb,undoMutations:_0x5fdbfd,redoMutations:_0x428e85}=_0x39d53e[_0x202174],_0x5d2c23=this[_0x1d3983(0x384)]['transformMutationsWithChangeset'](_0x509cf8,_0x5fdbfd),_0x184d73=this[_0x1d3983(0x384)][_0x1d3983(0x3dd)](_0x5d25e4,_0x428e85);if(m[_0x1d3983(0x244)](_0x5d2c23)||m[_0x1d3983(0x244)](_0x184d73)){this[_0x1d3983(0x34d)][_0x1d3983(0x99)](_0x1d3983(0x221),_0x1d3983(0x149),_0x5d2c23,_0x184d73);break;}_0x509cf8=_0x5d2c23[_0x1d3983(0x1b5)],_0x5d25e4=_0x184d73['c1Prime'],_0x1364c0['push']({'unitID':_0x4d16bb,'undoMutations':_0x5d2c23[_0x1d3983(0x3ba)],'redoMutations':_0x184d73['m2Prime']});}return _0x1364c0[_0x1d3983(0x2f5)]();}},exports[_0x2b18bd(0x275)]=Zi([de(0x0,a[_0x2b18bd(0x21f)]),de(0x1,a['ICommandService']),de(0x2,a['IContextService']),de(0x3,m[_0x2b18bd(0x27c)]),de(0x4,a[_0x2b18bd(0x304)])],exports[_0x2b18bd(0x275)]);var Lt=Object[_0x2b18bd(0x222)],Qi=Object[_0x2b18bd(0x1b9)],er=(_0x1c1b7d,_0x15996e,_0x5619fc)=>_0x15996e in _0x1c1b7d?Lt(_0x1c1b7d,_0x15996e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5619fc}):_0x1c1b7d[_0x15996e]=_0x5619fc,tr=(_0x32145e,_0x2ac248,_0xddd162,_0xa2dd33)=>{for(var _0x26c72b=_0xa2dd33>0x1?void 0x0:_0xa2dd33?Qi(_0x2ac248,_0xddd162):_0x2ac248,_0x1c1ae6=_0x32145e['length']-0x1,_0x57392c;_0x1c1ae6>=0x0;_0x1c1ae6--)(_0x57392c=_0x32145e[_0x1c1ae6])&&(_0x26c72b=(_0xa2dd33?_0x57392c(_0x2ac248,_0xddd162,_0x26c72b):_0x57392c(_0x26c72b))||_0x26c72b);return _0xa2dd33&&_0x26c72b&&Lt(_0x2ac248,_0xddd162,_0x26c72b),_0x26c72b;},je=(_0x55e7e2,_0x329a91)=>(_0x52dde0,_0x551b1b)=>_0x329a91(_0x52dde0,_0x551b1b,_0x55e7e2),nr=(_0x24edcf,_0x655002,_0xa484b0)=>er(_0x24edcf,_0x655002+'',_0xa484b0);const ir=_0x2b18bd(0x219);exports[_0x2b18bd(0x3fb)]=class extends a[_0x2b18bd(0x142)]{constructor(_0x2b60ad=Ke,_0x2f8bbe,_0x1a7844,_0x20bd19){var _0x5921a7=_0x2b18bd;super(),this[_0x5921a7(0x24d)]=_0x2b60ad,this[_0x5921a7(0x34d)]=_0x2f8bbe,this['_injector']=_0x1a7844,this[_0x5921a7(0x2c6)]=_0x20bd19;const {..._0x2fa6ea}=a[_0x5921a7(0x2d1)]({},Ke,this['_config']);this[_0x5921a7(0x2c6)][_0x5921a7(0x189)](Y,_0x2fa6ea);}['onStarting'](){var _0x1db102=_0x2b18bd;this[_0x1db102(0x2a8)](),this[_0x1db102(0x16c)]();}[_0x2b18bd(0x2a8)](){var _0xb29f9=_0x2b18bd,_0x1e3903,_0x53e8a7,_0x35e0d7,_0x574234;this[_0xb29f9(0x30a)]['has'](a[_0xb29f9(0x2c0)])&&this[_0xb29f9(0x34d)][_0xb29f9(0x99)](_0xb29f9(0xb5),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2fe97c=a[_0xb29f9(0x404)]([[a[_0xb29f9(0x2c0)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports[_0xb29f9(0x2f8)]],[exports[_0xb29f9(0x202)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0xb29f9(0x174)]],[ke,{'useClass':(_0x53e8a7=(_0x1e3903=this[_0xb29f9(0x24d)])==null?void 0x0:_0x1e3903[_0xb29f9(0x2d4)])!=null?_0x53e8a7:exports['CollaborationSocketService']}],[m['ISnapshotServerService'],{'useClass':exports[_0xb29f9(0x3cb)]}],[a[_0xb29f9(0x307)],{'useClass':exports[_0xb29f9(0x39f)]}],[X['IImageIoService'],{'useClass':exports[_0xb29f9(0x26a)]}],[a[_0xb29f9(0x2d3)],{'useClass':exports['MentionIoHttpService']}],[exports[_0xb29f9(0x293)]],[$e]],(_0x35e0d7=this[_0xb29f9(0x24d)])==null?void 0x0:_0x35e0d7[_0xb29f9(0x184)]);if(!((_0x574234=this[_0xb29f9(0x24d)])!=null&&_0x574234['enableSingleActiveInstanceLock'])){const _0x26b426=_0x2fe97c['findIndex'](([_0x24232d])=>_0x24232d===ve);_0x26b426!==-0x1&&_0x2fe97c[_0xb29f9(0x1c5)](_0x26b426,0x1);}a[_0xb29f9(0x228)](this[_0xb29f9(0x30a)],_0x2fe97c);}[_0x2b18bd(0x16c)](){var _0x1c13ed=_0x2b18bd,_0x425d4d,_0x236653,_0x519abb;this['_injector'][_0x1c13ed(0x263)](q[_0x1c13ed(0x347)])[_0x1c13ed(0x309)]({'priority':0x14,'interceptor':q[_0x1c13ed(0x37f)]({'maxParallel':0x6})}),(_0x425d4d=this[_0x1c13ed(0x24d)])!=null&&_0x425d4d[_0x1c13ed(0x225)]||(_0x236653=this['_injector']['get'](z,a[_0x1c13ed(0x295)][_0x1c13ed(0x26d)]))==null||_0x236653[_0x1c13ed(0x3c1)](),(_0x519abb=this[_0x1c13ed(0x24d)])!=null&&_0x519abb[_0x1c13ed(0xd6)]&&a[_0x1c13ed(0x19b)](this[_0x1c13ed(0x30a)],[[ye]]),a[_0x1c13ed(0x19b)](this[_0x1c13ed(0x30a)],[[Ne],[exports[_0x1c13ed(0x293)]],[Ue]]);}},nr(exports['UniverCollaborationClientPlugin'],'pluginName',ir),exports[_0x2b18bd(0x3fb)]=tr([a[_0x2b18bd(0x1ba)](m[_0x2b18bd(0x2c9)],J[_0x2b18bd(0x24b)],q[_0x2b18bd(0x28c)]),je(0x1,a['ILogService']),je(0x2,a['Inject'](a[_0x2b18bd(0x112)])),je(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Ve,exports[_0x2b18bd(0x211)]=Y,exports[_0x2b18bd(0xb9)]=Et,exports[_0x2b18bd(0x297)]=St,exports['CollaborationStatus']=We,exports[_0x2b18bd(0xda)]=Q,exports[_0x2b18bd(0x114)]=te,exports[_0x2b18bd(0x2cf)]=Be,exports[_0x2b18bd(0x3de)]=pt,exports[_0x2b18bd(0x294)]=Xt,exports[_0x2b18bd(0x13e)]=mt,exports[_0x2b18bd(0x2af)]=He,exports[_0x2b18bd(0x18d)]=ke,exports['ILocalCacheService']=z,exports['INetworkConditionService']=Rt,exports[_0x2b18bd(0x36b)]=ve,exports['LOCAL_CACHE_INTERVAL']=Yt,exports['LOCAL_CACHE_INTERVAL_KEY']=Kt,exports[_0x2b18bd(0xff)]=Ct,exports[_0x2b18bd(0x1ee)]=Jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=It,exports['SEND_CHANGESET_TIMEOUT_KEY']=kt,exports[_0x2b18bd(0x2c1)]=vt,exports[_0x2b18bd(0x33a)]=ft,exports[_0x2b18bd(0x361)]=se,exports[_0x2b18bd(0x3e3)]=Fe,exports[_0x2b18bd(0x2df)]=Ot,exports[_0x2b18bd(0x365)]=In,exports['serializeCombRequest']=yt;
|
1
|
+
'use strict';var _0x2e58ba=_0x2768;(function(_0xfde850,_0x217d3a){var _0x3157cf=_0x2768,_0x4fc288=_0xfde850();while(!![]){try{var _0x33eca8=parseInt(_0x3157cf(0x37f))/0x1*(-parseInt(_0x3157cf(0x339))/0x2)+parseInt(_0x3157cf(0x1a1))/0x3*(-parseInt(_0x3157cf(0xa2))/0x4)+parseInt(_0x3157cf(0x373))/0x5+parseInt(_0x3157cf(0x391))/0x6*(parseInt(_0x3157cf(0x3e4))/0x7)+-parseInt(_0x3157cf(0x23a))/0x8*(-parseInt(_0x3157cf(0x26c))/0x9)+-parseInt(_0x3157cf(0x19f))/0xa*(-parseInt(_0x3157cf(0x1b0))/0xb)+-parseInt(_0x3157cf(0x33a))/0xc;if(_0x33eca8===_0x217d3a)break;else _0x4fc288['push'](_0x4fc288['shift']());}catch(_0x5542e3){_0x4fc288['push'](_0x4fc288['shift']());}}}(_0x2963,0x76773));var Mt=Object[_0x2e58ba(0xf6)],xt=(_0x22f276,_0x529d40,_0x57ee21)=>_0x529d40 in _0x22f276?Mt(_0x22f276,_0x529d40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57ee21}):_0x22f276[_0x529d40]=_0x57ee21,D=(_0x2f3035,_0x3f091f,_0x2b46cc)=>xt(_0x2f3035,typeof _0x3f091f!=_0x2e58ba(0x31d)?_0x3f091f+'':_0x3f091f,_0x2b46cc);Object[_0x2e58ba(0xf6)](exports,Symbol[_0x2e58ba(0x3e3)],{'value':_0x2e58ba(0x39d)});const a=require(_0x2e58ba(0x274)),H=require('rxjs'),W=require('rxjs/operators'),q=require(_0x2e58ba(0xf5)),m=require(_0x2e58ba(0x17a)),jt=require(_0x2e58ba(0x28c)),dt=require(_0x2e58ba(0x1f9)),J=require(_0x2e58ba(0x38f)),X=require('@univerjs/drawing'),$t=require('@univerjs-pro/license'),vt=_0x2e58ba(0x40a),Ht=_0x2e58ba(0x30f),ft=_0x2e58ba(0x100),kt=_0x2e58ba(0xd8),Bt=0x7d0,St='COLLAB_WEB_SOCKET_URL',pt=_0x2e58ba(0xca),Ft=_0x2e58ba(0x2c1),mt=_0x2e58ba(0x319),Wt=0x7530,He=_0x2e58ba(0x2a9),gt=0x4e20,Gt=0x4e20,It=_0x2e58ba(0x13a),Vt=0x3,Kt='LOCAL_CACHE_INTERVAL',Yt=0x3e8,Et=_0x2e58ba(0x26b),qt=_0x2e58ba(0x377),Ct=_0x2e58ba(0x2ea),zt='/universer-api/oidc/authpage',Jt=_0x2e58ba(0xe7),Xt=_0x2e58ba(0x17f);var Tt=(_0x21a69d=>(_0x21a69d[_0x21a69d[_0x2e58ba(0x208)]=0x0]=_0x2e58ba(0x208),_0x21a69d[_0x21a69d['OK']=0x1]='OK',_0x21a69d[_0x21a69d[_0x2e58ba(0x294)]=0x2]=_0x2e58ba(0x294),_0x21a69d[_0x21a69d[_0x2e58ba(0x34b)]=0x3]='PERMISSION_DENIED',_0x21a69d[_0x21a69d[_0x2e58ba(0x3ef)]=0x4]=_0x2e58ba(0x3ef),_0x21a69d[_0x21a69d[_0x2e58ba(0x167)]=0x5]=_0x2e58ba(0x167),_0x21a69d[_0x21a69d[_0x2e58ba(0x3c7)]=0x6]='ALREADY_EXISTS',_0x21a69d[_0x21a69d[_0x2e58ba(0x3d0)]=0x7]='INVALID_ARGUMENT',_0x21a69d[_0x21a69d[_0x2e58ba(0x2e8)]=0x8]=_0x2e58ba(0x2e8),_0x21a69d[_0x21a69d[_0x2e58ba(0x3db)]=0x9]=_0x2e58ba(0x3db),_0x21a69d[_0x21a69d[_0x2e58ba(0x292)]=0x1389]=_0x2e58ba(0x292),_0x21a69d[_0x21a69d[_0x2e58ba(0x2d4)]=0x1771]=_0x2e58ba(0x2d4),_0x21a69d[_0x21a69d[_0x2e58ba(0x149)]=0x1772]=_0x2e58ba(0x149),_0x21a69d[_0x21a69d[_0x2e58ba(0xc3)]=0x1773]=_0x2e58ba(0xc3),_0x21a69d[_0x21a69d[_0x2e58ba(0x12c)]=0x1b59]=_0x2e58ba(0x12c),_0x21a69d[_0x21a69d[_0x2e58ba(0x297)]=0x1b5a]=_0x2e58ba(0x297),_0x21a69d[_0x21a69d[_0x2e58ba(0x2f7)]=0x1b5b]=_0x2e58ba(0x2f7),_0x21a69d[_0x21a69d[_0x2e58ba(0x408)]=0x1b5c]=_0x2e58ba(0x408),_0x21a69d[_0x21a69d['APPLY_DUPLICATED']=0x1b5d]=_0x2e58ba(0x356),_0x21a69d[_0x21a69d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x21a69d[_0x21a69d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2e58ba(0x20e),_0x21a69d[_0x21a69d[_0x2e58ba(0x344)]=0x232a]=_0x2e58ba(0x344),_0x21a69d[_0x21a69d[_0x2e58ba(0x24e)]=0x232b]=_0x2e58ba(0x24e),_0x21a69d[_0x21a69d[_0x2e58ba(0x130)]=0x232c]=_0x2e58ba(0x130),_0x21a69d[_0x21a69d[_0x2e58ba(0xba)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x21a69d[_0x21a69d[_0x2e58ba(0x35c)]=0x2711]=_0x2e58ba(0x35c),_0x21a69d[_0x21a69d[_0x2e58ba(0x296)]=0x2712]=_0x2e58ba(0x296),_0x21a69d[_0x21a69d[_0x2e58ba(0x3f5)]=0x2713]=_0x2e58ba(0x3f5),_0x21a69d[_0x21a69d[_0x2e58ba(0x1ad)]=0x2714]=_0x2e58ba(0x1ad),_0x21a69d[_0x21a69d[_0x2e58ba(0x3b8)]=0x2af9]=_0x2e58ba(0x3b8),_0x21a69d[_0x21a69d[_0x2e58ba(0x129)]=-0x1]='UNRECOGNIZED',_0x21a69d))(Tt||{}),Z=(_0xbaa036=>(_0xbaa036[_0xbaa036[_0x2e58ba(0xf4)]=0x0]=_0x2e58ba(0xf4),_0xbaa036[_0xbaa036[_0x2e58ba(0x185)]=0x1]=_0x2e58ba(0x185),_0xbaa036[_0xbaa036[_0x2e58ba(0x1b5)]=0x2]='UNIVER_SHEET',_0xbaa036[_0xbaa036[_0x2e58ba(0x1c7)]=0x3]=_0x2e58ba(0x1c7),_0xbaa036[_0xbaa036[_0x2e58ba(0x383)]=0x4]=_0x2e58ba(0x383),_0xbaa036[_0xbaa036[_0x2e58ba(0x129)]=-0x1]='UNRECOGNIZED',_0xbaa036))(Z||{}),G=(_0x260e80=>(_0x260e80[_0x260e80[_0x2e58ba(0x2c0)]=0x0]=_0x2e58ba(0x2c0),_0x260e80[_0x260e80[_0x2e58ba(0x3d3)]=0x1]='HELLO',_0x260e80[_0x260e80['JOIN']=0x2]=_0x2e58ba(0x272),_0x260e80[_0x260e80[_0x2e58ba(0x314)]=0x3]=_0x2e58ba(0x314),_0x260e80[_0x260e80[_0x2e58ba(0x157)]=0x4]='INGEST',_0x260e80[_0x260e80[_0x2e58ba(0x1d1)]=0x5]=_0x2e58ba(0x1d1),_0x260e80[_0x260e80[_0x2e58ba(0x1e2)]=0x6]=_0x2e58ba(0x1e2),_0x260e80[_0x260e80[_0x2e58ba(0x129)]=-0x1]=_0x2e58ba(0x129),_0x260e80))(G||{}),he=(_0x264ba4=>(_0x264ba4[_0x264ba4['UNKNOWN_CODE']=0x0]=_0x2e58ba(0x283),_0x264ba4[_0x264ba4['OK']=0x1]='OK',_0x264ba4[_0x264ba4['FAIL']=0x2]='FAIL',_0x264ba4[_0x264ba4['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x264ba4[_0x264ba4[_0x2e58ba(0x248)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x264ba4[_0x264ba4['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x264ba4[_0x264ba4['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2e58ba(0xac),_0x264ba4[_0x264ba4[_0x2e58ba(0x129)]=-0x1]=_0x2e58ba(0x129),_0x264ba4))(he||{}),bt=(_0x122114=>(_0x122114[_0x122114[_0x2e58ba(0x2d1)]=0x0]=_0x2e58ba(0x2d1),_0x122114[_0x122114[_0x2e58ba(0x2ed)]=0x1]=_0x2e58ba(0x2ed),_0x122114[_0x122114[_0x2e58ba(0x1c1)]=0x2]=_0x2e58ba(0x1c1),_0x122114[_0x122114[_0x2e58ba(0x1e8)]=0x3]=_0x2e58ba(0x1e8),_0x122114[_0x122114[_0x2e58ba(0x168)]=0x4]='UnitSnapshot',_0x122114[_0x122114[_0x2e58ba(0x129)]=-0x1]=_0x2e58ba(0x129),_0x122114))(bt||{});const Y=_0x2e58ba(0x101),Ke={};var Q=(_0x11f966=>(_0x11f966[_0x2e58ba(0x276)]='OTHER_CLIENT_EDITING',_0x11f966[_0x2e58ba(0x34b)]='PERMISSION_DENIED',_0x11f966[_0x2e58ba(0x267)]=_0x2e58ba(0x267),_0x11f966['CLOSE_ROOM']=_0x2e58ba(0x1d4),_0x11f966[_0x2e58ba(0x24f)]='JOIN_ROOM_FAILED',_0x11f966['SOCKET_FAILED_RETRY']=_0x2e58ba(0x25c),_0x11f966['SOCKET_FAILED']=_0x2e58ba(0x1f2),_0x11f966[_0x2e58ba(0x23e)]='SUBMIT_CHANGESET_TIMEOUT',_0x11f966))(Q||{});class te{constructor(){var _0x27a3bb=_0x2e58ba;D(this,_0x27a3bb(0xe2),new H[(_0x27a3bb(0x254))]()),D(this,_0x27a3bb(0x1fe),this[_0x27a3bb(0xe2)]['asObservable']());}[_0x2e58ba(0xb4)](_0x514277){var _0x19b45d=_0x2e58ba;this[_0x19b45d(0xe2)][_0x19b45d(0x13e)](_0x514277);}}const Rt=a['createIdentifier'](_0x2e58ba(0x2c2));function Ot(_0x4718e2){var _0x52eb3a=_0x2e58ba,_0x381f1c,_0x1007b9,_0x4eeb6a,_0x11b280,_0x69db6;const _0x5d5b47=_0x4718e2[_0x52eb3a(0xa8)],_0x5f12ef=JSON['parse'](_0x5d5b47);switch(_0x5f12ef[_0x52eb3a(0x415)]){case G['HEARTBEAT']:case G[_0x52eb3a(0x3d3)]:{const _0x4c5342=_0x5f12ef['infoRsp'];return{..._0x5f12ef,'data':_0x4c5342,'cmd':_0x5f12ef[_0x52eb3a(0x415)]};}case G[_0x52eb3a(0x272)]:{const _0x5d7e9d=_0x5f12ef[_0x52eb3a(0x2ab)];return{..._0x5f12ef,'data':_0x5d7e9d,'cmd':_0x5f12ef[_0x52eb3a(0x415)]};}case G[_0x52eb3a(0x1e2)]:{const _0x4a4921=_0x5f12ef['collaMsg'];switch(_0x4a4921[_0x52eb3a(0x2a0)]){case m[_0x52eb3a(0x324)][_0x52eb3a(0x32e)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':(_0x381f1c=_0x4a4921[_0x52eb3a(0x187)])==null?void 0x0:_0x381f1c['cs']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x154)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':(_0x1007b9=_0x4a4921[_0x52eb3a(0x333)])==null?void 0x0:_0x1007b9['cs']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m['CollaborationEvent'][_0x52eb3a(0x406)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':(_0x4eeb6a=_0x4a4921[_0x52eb3a(0x10c)])==null?void 0x0:_0x4eeb6a['cs']},'cmd':_0x5f12ef['cmd']};case m[_0x52eb3a(0x324)]['CHANGESET_REJ']:return{..._0x5f12ef,'data':{..._0x4a4921,'data':(_0x11b280=_0x4a4921[_0x52eb3a(0xcd)])==null?void 0x0:_0x11b280['cs']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x26a)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':(_0x69db6=_0x4a4921[_0x52eb3a(0x3b9)])==null?void 0x0:_0x69db6['cs']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m['CollaborationEvent'][_0x52eb3a(0x309)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0x349)]},'cmd':_0x5f12ef['cmd']};case m[_0x52eb3a(0x324)][_0x52eb3a(0x40d)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0xe9)]},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m['CollaborationEvent'][_0x52eb3a(0x374)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921['leaveEvent']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0xff)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0x265)]},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case m[_0x52eb3a(0x324)][_0x52eb3a(0x381)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921['liveShareOperation']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x133)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921['liveShareNewHost']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m['CollaborationEvent'][_0x52eb3a(0x418)]:return{..._0x5f12ef,'data':_0x4a4921,'cmd':_0x5f12ef['cmd']};case m['CollaborationEvent'][_0x52eb3a(0x2ef)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0x23f)]},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x1f6)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0x303)]},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x1dd)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921['shouldCloseConn']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x210)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0x36f)]},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};default:return _0x5f12ef;}}default:return _0x5f12ef;}}function yt(_0x846491){var _0x2a0774=_0x2e58ba;switch(_0x846491['cmd']){case G[_0x2a0774(0x1d1)]:case G[_0x2a0774(0x3d3)]:return JSON['stringify']({'cmd':_0x846491['cmd'],'routeKey':_0x846491[_0x2a0774(0x22b)]});case G[_0x2a0774(0x157)]:{let _0x3dc270;switch(_0x846491[_0x2a0774(0xa8)][_0x2a0774(0x2a0)]){case m[_0x2a0774(0x324)][_0x2a0774(0x309)]:{_0x3dc270={'eventID':m[_0x2a0774(0x324)][_0x2a0774(0x309)],'updateCursorEvent':_0x846491['data']['data']};break;}case m['CollaborationEvent'][_0x2a0774(0x374)]:{_0x3dc270={'eventID':m[_0x2a0774(0x324)][_0x2a0774(0x374)],'leaveEvent':_0x846491[_0x2a0774(0xa8)][_0x2a0774(0xa8)]};break;}case m[_0x2a0774(0x324)]['USERS_ENTER']:{_0x3dc270={'eventID':m['CollaborationEvent'][_0x2a0774(0x40d)],'joinEvent':_0x846491['data']['data']};break;}case m[_0x2a0774(0x324)][_0x2a0774(0xff)]:{_0x3dc270={'eventID':m['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x846491['data'][_0x2a0774(0xa8)]};break;}case m[_0x2a0774(0x324)]['LIVESHARE_OPERATION']:{_0x3dc270={'eventID':m[_0x2a0774(0x324)][_0x2a0774(0x381)],'liveShareOperation':_0x846491[_0x2a0774(0xa8)][_0x2a0774(0xa8)]};break;}case m[_0x2a0774(0x324)][_0x2a0774(0x133)]:{_0x3dc270={'eventID':m['CollaborationEvent'][_0x2a0774(0x133)],'liveShareTerminate':_0x846491[_0x2a0774(0xa8)][_0x2a0774(0xa8)]};break;}case m[_0x2a0774(0x324)]['LIVESHARE_REQUEST_HOST']:{_0x3dc270={'eventID':m[_0x2a0774(0x324)][_0x2a0774(0x393)],'liveShareRequestHost':_0x846491[_0x2a0774(0xa8)]['data']};break;}case m[_0x2a0774(0x324)][_0x2a0774(0x2c7)]:{_0x3dc270={'eventID':m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3dc270={'eventID':_0x846491[_0x2a0774(0xa8)][_0x2a0774(0x2a0)]};}return JSON[_0x2a0774(0x402)]({'cmd':_0x846491['cmd'],'routeKey':_0x846491['routeKey'],'collaMsg':_0x3dc270});}case G[_0x2a0774(0x272)]:return JSON[_0x2a0774(0x402)]({'cmd':_0x846491['cmd'],'routeKey':_0x846491[_0x2a0774(0x22b)],'joinReq':_0x846491[_0x2a0774(0xa8)]});case G[_0x2a0774(0x314)]:return JSON[_0x2a0774(0x402)]({'cmd':_0x846491[_0x2a0774(0x415)],'routeKey':_0x846491[_0x2a0774(0x22b)],'leaveReq':_0x846491[_0x2a0774(0xa8)]});default:throw new Error(_0x2a0774(0x3f4));}}var Zt=Object[_0x2e58ba(0xf6)],Qt=Object[_0x2e58ba(0x188)],en=(_0x39ba0d,_0x1190a7,_0x26f992,_0x4ecc38)=>{var _0x2f20e6=_0x2e58ba;for(var _0x17026e=_0x4ecc38>0x1?void 0x0:_0x4ecc38?Qt(_0x1190a7,_0x26f992):_0x1190a7,_0x594aec=_0x39ba0d[_0x2f20e6(0x1d7)]-0x1,_0x8f79a5;_0x594aec>=0x0;_0x594aec--)(_0x8f79a5=_0x39ba0d[_0x594aec])&&(_0x17026e=(_0x4ecc38?_0x8f79a5(_0x1190a7,_0x26f992,_0x17026e):_0x8f79a5(_0x17026e))||_0x17026e);return _0x4ecc38&&_0x17026e&&Zt(_0x1190a7,_0x26f992,_0x17026e),_0x17026e;},ue=(_0x13b3a7,_0x3b43ee)=>(_0x11a243,_0x4e30b5)=>_0x3b43ee(_0x11a243,_0x4e30b5,_0x13b3a7);const ke=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function tn(_0x165e10,_0xd6b249,_0x326568){var _0x5b77ec=_0x2e58ba;return _0x165e10+'/'+_0xd6b249+_0x5b77ec(0x370)+_0x326568+'/new_changes';}exports[_0x2e58ba(0xee)]=class extends a[_0x2e58ba(0x227)]{constructor(_0x165e9f,_0x50ca6e,_0x5ca4da,_0x158cd4,_0x5a781a){var _0x3772ae=_0x2e58ba;super(),this[_0x3772ae(0x386)]=_0x165e9f,this[_0x3772ae(0x32d)]=_0x50ca6e,this['_configService']=_0x5ca4da,this['_logService']=_0x158cd4,this[_0x3772ae(0xfa)]=_0x5a781a;}['createSocket'](_0x47625f){var _0x2e2ee5=_0x2e58ba;const _0x2787ff=this['_injector']['get'](q[_0x2e2ee5(0x255)]);if(!_0x2787ff)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3ca561=_0x2787ff[_0x2e2ee5(0x273)](_0x47625f);if(!_0x3ca561)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x358335=new a[(_0x2e2ee5(0xd5))](),_0x2fe01a=new H[(_0x2e2ee5(0x254))]();_0x358335[_0x2e2ee5(0xe8)](_0x3ca561[_0x2e2ee5(0x3c2)]['subscribe'](_0x3fb4a2=>_0x2fe01a[_0x2e2ee5(0x13e)](_0x3fb4a2))),_0x358335[_0x2e2ee5(0xe8)](a[_0x2e2ee5(0x22e)](()=>_0x2fe01a[_0x2e2ee5(0x21b)]()));const _0x4fce64=new H[(_0x2e2ee5(0x254))]();_0x358335[_0x2e2ee5(0xe8)](_0x3ca561['error$'][_0x2e2ee5(0x355)](_0x7530c0=>_0x4fce64[_0x2e2ee5(0x13e)](_0x7530c0))),_0x358335['add'](a[_0x2e2ee5(0x22e)](()=>_0x4fce64['complete']()));const _0x46537f=new H['Subject']();_0x358335[_0x2e2ee5(0xe8)](_0x3ca561[_0x2e2ee5(0x308)]['subscribe'](_0x4af3bb=>{var _0x3721a1=_0x2e2ee5;const _0x5e55e4=Ot(_0x4af3bb);_0x46537f[_0x3721a1(0x13e)](_0x5e55e4);})),_0x358335[_0x2e2ee5(0xe8)](a[_0x2e2ee5(0x22e)](()=>_0x46537f[_0x2e2ee5(0x21b)]()));let _0x267746;const _0x24100f=()=>{var _0x5184f7=_0x2e2ee5;_0x4fce64[_0x5184f7(0x13e)](new Event('connection\x20error')),_0x2fe01a[_0x5184f7(0x13e)](new CloseEvent('connection\x20error')),_0x267746[_0x5184f7(0xef)]();};return _0x267746={'memberID':'','close$':_0x2fe01a['asObservable'](),'error$':_0x4fce64[_0x2e2ee5(0x407)](),'open$':_0x3ca561['open$'],'message$':_0x46537f['asObservable'](),'send':_0x21099f=>{var _0x210afc=_0x2e2ee5;if(_0x21099f[_0x210afc(0x415)]===G['INGEST']){if(_0x21099f[_0x210afc(0xa8)][_0x210afc(0x2a0)]===m[_0x210afc(0x324)][_0x210afc(0x2a8)]){this[_0x210afc(0x300)](_0x267746,_0x21099f[_0x210afc(0xa8)])['catch'](_0x2b12af=>{var _0x50ef2=_0x210afc;this[_0x50ef2(0x32a)][_0x50ef2(0x215)](_0x2b12af),_0x24100f();});return;}if(_0x21099f[_0x210afc(0xa8)][_0x210afc(0x2a0)]===m[_0x210afc(0x324)][_0x210afc(0x1df)]){const _0x20fb46=_0x21099f[_0x210afc(0xa8)];this[_0x210afc(0x2b6)](_0x20fb46)['then'](_0x5347cd=>{var _0x4a9a66=_0x210afc;_0x46537f['next']({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x20fb46['data'][_0x4a9a66(0x16e)],'routeType':'','data':{'eventID':m[_0x4a9a66(0x324)][_0x4a9a66(0x338)],'data':{'changesets':_0x5347cd}}});})[_0x210afc(0x2e1)](_0x2302d2=>{var _0x436e25=_0x210afc;this[_0x436e25(0x32a)][_0x436e25(0x215)](_0x2302d2),_0x24100f();});return;}}_0x3ca561[_0x210afc(0x326)](yt(_0x21099f));},'close':()=>{var _0x309544=_0x2e2ee5;_0x3ca561[_0x309544(0xef)](),_0x358335[_0x309544(0x17c)]();}},_0x267746;}async['_submitChangeset'](_0x12eded,_0x1d31f6){var _0x30dba7=_0x2e58ba,_0x56f76e,_0x397c63;const {unitType:_0x3c3d9e,unitID:_0x442163,changeset:_0x3033eb}=_0x1d31f6[_0x30dba7(0xa8)],_0x1edae7={'unitID':_0x442163,'memberID':_0x12eded['memberID'],'type':_0x3c3d9e,'changeset':m[_0x30dba7(0x2c4)](_0x3033eb)},_0x4a9521=this[_0x30dba7(0xa1)][_0x30dba7(0x3d6)](Et),_0x3e1da3=this[_0x30dba7(0xa1)][_0x30dba7(0x3d6)](Y),_0x356822=tn((_0x397c63=(_0x56f76e=_0x3e1da3==null?void 0x0:_0x3e1da3[_0x30dba7(0xdd)])!=null?_0x56f76e:_0x4a9521)!=null?_0x397c63:qt,_0x3c3d9e,_0x442163);try{await this[_0x30dba7(0x32d)][_0x30dba7(0x405)](_0x356822,{'body':_0x1edae7});}catch(_0x29d0df){throw this[_0x30dba7(0x32a)][_0x30dba7(0x215)](_0x30dba7(0xec),'submit\x20changeset\x20error!'),_0x29d0df;}}async[_0x2e58ba(0x2b6)](_0x360959){var _0x1ece7e=_0x2e58ba;const {unitID:_0x1af2f8,from:_0x32bdc5,to:_0x18779d,unitType:_0x18216b}=_0x360959[_0x1ece7e(0xa8)];return(await this[_0x1ece7e(0xfa)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1af2f8,'type':_0x18216b,'from':_0x32bdc5,'to':_0x18779d}))['changesets'];}},exports[_0x2e58ba(0xee)]=en([ue(0x0,a['Inject'](a[_0x2e58ba(0x302)])),ue(0x1,a[_0x2e58ba(0x2dc)](q['HTTPService'])),ue(0x2,a[_0x2e58ba(0x12d)]),ue(0x3,a[_0x2e58ba(0x376)]),ue(0x4,m[_0x2e58ba(0xc4)])],exports[_0x2e58ba(0xee)]);const nn=_0x2e58ba(0x394);function rn(_0x18809f){var _0x4072e6=_0x2e58ba;return JSON[_0x4072e6(0x402)](_0x18809f)[_0x4072e6(0x1d7)];}class Be{constructor(){var _0x3904e4=_0x2e58ba;D(this,'_commentUpdate$',new H[(_0x3904e4(0x254))]()),D(this,'commentUpdate$',this['_commentUpdate$'][_0x3904e4(0x407)]());}[_0x2e58ba(0x94)](_0x5d3853){var _0x5cd077=_0x2e58ba;this['_commentUpdate$'][_0x5cd077(0x13e)](_0x5d3853);}}var sn=Object[_0x2e58ba(0xf6)],on=Object['getOwnPropertyDescriptor'],an=(_0x1f3fe8,_0x27dd74,_0x1eb124,_0x2dce49)=>{var _0x1fefca=_0x2e58ba;for(var _0x47bc68=_0x2dce49>0x1?void 0x0:_0x2dce49?on(_0x27dd74,_0x1eb124):_0x27dd74,_0x2aa832=_0x1f3fe8[_0x1fefca(0x1d7)]-0x1,_0xdbb4b0;_0x2aa832>=0x0;_0x2aa832--)(_0xdbb4b0=_0x1f3fe8[_0x2aa832])&&(_0x47bc68=(_0x2dce49?_0xdbb4b0(_0x27dd74,_0x1eb124,_0x47bc68):_0xdbb4b0(_0x47bc68))||_0x47bc68);return _0x2dce49&&_0x47bc68&&sn(_0x27dd74,_0x1eb124,_0x47bc68),_0x47bc68;},Ye=(_0x17181a,_0xd2067b)=>(_0x1767bb,_0x29b29a)=>_0xd2067b(_0x1767bb,_0x29b29a,_0x17181a);exports[_0x2e58ba(0x3b7)]=class extends a['Disposable']{constructor(_0xcfdb3,_0xc88e34){var _0x223a3d=_0x2e58ba;super(),D(this,_0x223a3d(0x21d),new Map()),D(this,_0x223a3d(0x38c),new H['Subject']()),(this[_0x223a3d(0x240)]=_0xcfdb3,this[_0x223a3d(0x1e6)]=_0xc88e34,this['disposeWithMe'](H[_0x223a3d(0x29a)](this[_0x223a3d(0x240)][_0x223a3d(0x12e)](a[_0x223a3d(0x32f)]['UNIVER_SHEET'])[_0x223a3d(0x22f)](W[_0x223a3d(0x39f)](_0x51bf2d=>_0x51bf2d[_0x223a3d(0x20f)]())),this['_univerInstanceService'][_0x223a3d(0x12e)](a[_0x223a3d(0x32f)][_0x223a3d(0x185)])[_0x223a3d(0x22f)](W['map'](_0x525735=>_0x525735['getUnitId']())),this[_0x223a3d(0x240)]['getTypeOfUnitDisposed$'](a[_0x223a3d(0x32f)][_0x223a3d(0x1c7)])['pipe'](W[_0x223a3d(0x39f)](_0x39ef2d=>_0x39ef2d['getUnitId']())))['subscribe'](_0x6dc8b7=>this['_removeRoom'](_0x6dc8b7))));}[_0x2e58ba(0x270)](_0x39b243){var _0x4903b6=_0x2e58ba;return this['_roomMembers'][_0x4903b6(0x2ae)](_0x39b243)?H['of'](this[_0x4903b6(0x21d)][_0x4903b6(0x357)](_0x39b243)):this[_0x4903b6(0x38c)][_0x4903b6(0x22f)](W[_0x4903b6(0x39f)](_0x2468dd=>{var _0x321303=_0x4903b6;if(_0x2468dd===_0x39b243)return this[_0x321303(0x21d)][_0x321303(0x357)](_0x2468dd);}));}['setCurrentUser'](_0x50b8da){var _0x354115=_0x2e58ba;this[_0x354115(0x1e6)][_0x354115(0x31c)](_0x50b8da);}[_0x2e58ba(0xae)](){var _0x79a714=_0x2e58ba;return this[_0x79a714(0x1e6)][_0x79a714(0xae)]();}[_0x2e58ba(0x201)](_0x489da8,_0x4ffc84){var _0x16aea5=_0x2e58ba;let _0x92e0fc=this['_roomMembers']['get'](_0x489da8);_0x92e0fc||(_0x92e0fc=new cn(),this[_0x16aea5(0x21d)][_0x16aea5(0x10b)](_0x489da8,_0x92e0fc),this[_0x16aea5(0x38c)][_0x16aea5(0x13e)](_0x489da8)),_0x92e0fc[_0x16aea5(0x201)](_0x4ffc84);}[_0x2e58ba(0x12a)](_0x13cb3f,_0x1d8370){var _0x31e8dd=_0x2e58ba;const _0x1ccbeb=this[_0x31e8dd(0x21d)][_0x31e8dd(0x357)](_0x13cb3f);_0x1ccbeb&&_0x1ccbeb[_0x31e8dd(0x12a)](_0x1d8370);}['getRoom'](_0x3999e0){var _0xbfd432=_0x2e58ba;return this[_0xbfd432(0x21d)][_0xbfd432(0x357)](_0x3999e0);}[_0x2e58ba(0x401)](_0x50fe92,_0x2b43c6){var _0x472e28=_0x2e58ba;const _0x79233e=this[_0x472e28(0x21d)][_0x472e28(0x357)](_0x50fe92);if(_0x79233e)return _0x79233e[_0x472e28(0x401)](_0x2b43c6);}[_0x2e58ba(0x231)](_0x45875f){var _0x1e43f3=_0x2e58ba;const _0x58ce72=this[_0x1e43f3(0x21d)][_0x1e43f3(0x357)](_0x45875f);_0x58ce72&&(_0x58ce72[_0x1e43f3(0x17c)](),this['_roomMembers'][_0x1e43f3(0xda)](_0x45875f));}[_0x2e58ba(0x17c)](){var _0xcd2a48=_0x2e58ba;this[_0xcd2a48(0x21d)][_0xcd2a48(0x2fe)](_0x41b9ff=>_0x41b9ff[_0xcd2a48(0x17c)]()),this[_0xcd2a48(0x21d)][_0xcd2a48(0x11c)](),this[_0xcd2a48(0x38c)][_0xcd2a48(0x21b)]();}},exports['MemberService']=an([Ye(0x0,a[_0x2e58ba(0x1f5)]),Ye(0x1,a[_0x2e58ba(0x2dc)](a['UserManagerService']))],exports[_0x2e58ba(0x3b7)]);class cn extends a[_0x2e58ba(0x227)]{constructor(){var _0x3aff50=_0x2e58ba;super(...arguments),D(this,_0x3aff50(0x211),new Map()),D(this,_0x3aff50(0x321),new H[(_0x3aff50(0xb9))](this['_members'])),D(this,_0x3aff50(0xb0),this[_0x3aff50(0x321)][_0x3aff50(0x407)]());}[_0x2e58ba(0x17c)](){var _0x58d9e3=_0x2e58ba;this[_0x58d9e3(0x211)][_0x58d9e3(0x11c)]();}[_0x2e58ba(0x201)](_0x21dd15){var _0x696ef=_0x2e58ba;this['_members'][_0x696ef(0x10b)](_0x21dd15[_0x696ef(0x200)],_0x21dd15),this[_0x696ef(0x342)]();}[_0x2e58ba(0x12a)](_0x5354bc){var _0x13e066=_0x2e58ba;this[_0x13e066(0x211)]['delete'](_0x5354bc);}[_0x2e58ba(0x401)](_0x3e03d9){var _0x43b549=_0x2e58ba;return this[_0x43b549(0x211)][_0x43b549(0x357)](_0x3e03d9);}[_0x2e58ba(0x37a)](){var _0x1f7af3=_0x2e58ba;return Array[_0x1f7af3(0x332)](this[_0x1f7af3(0x211)][_0x1f7af3(0x307)]());}['_emitMembers'](){var _0x347c0a=_0x2e58ba;this['_members$'][_0x347c0a(0x13e)](this[_0x347c0a(0x211)]);}}var hn=Object[_0x2e58ba(0xf6)],ln=Object[_0x2e58ba(0x188)],_n=(_0x27850a,_0x117e4a,_0x80682a,_0x2cf9c1)=>{var _0x27d619=_0x2e58ba;for(var _0x171d46=_0x2cf9c1>0x1?void 0x0:_0x2cf9c1?ln(_0x117e4a,_0x80682a):_0x117e4a,_0x185e6a=_0x27850a[_0x27d619(0x1d7)]-0x1,_0x2dd6e2;_0x185e6a>=0x0;_0x185e6a--)(_0x2dd6e2=_0x27850a[_0x185e6a])&&(_0x171d46=(_0x2cf9c1?_0x2dd6e2(_0x117e4a,_0x80682a,_0x171d46):_0x2dd6e2(_0x171d46))||_0x171d46);return _0x2cf9c1&&_0x171d46&&hn(_0x117e4a,_0x80682a,_0x171d46),_0x171d46;},oe=(_0x5badf4,_0x5f2f79)=>(_0x175a0a,_0x4a2353)=>_0x5f2f79(_0x175a0a,_0x4a2353,_0x5badf4),se=(_0x2337c0=>(_0x2337c0[_0x2337c0[_0x2e58ba(0xb7)]=0x0]='IDLE',_0x2337c0[_0x2337c0['JOINING']=0x1]=_0x2e58ba(0x2c6),_0x2337c0[_0x2337c0[_0x2e58ba(0x3de)]=0x2]=_0x2e58ba(0x3de),_0x2337c0[_0x2337c0[_0x2e58ba(0x411)]=0x3]=_0x2e58ba(0x411),_0x2337c0))(se||{});const qe={[he[_0x2e58ba(0x25d)]]:_0x2e58ba(0x193),[he[_0x2e58ba(0x19e)]]:_0x2e58ba(0xd6),[he[_0x2e58ba(0x248)]]:_0x2e58ba(0x222),[he[_0x2e58ba(0x32c)]]:_0x2e58ba(0x111),[he[_0x2e58ba(0xac)]]:_0x2e58ba(0x184)};exports['CollaborationSession']=class extends a[_0x2e58ba(0x2ec)]{constructor(_0x46c34d,_0x15394b,_0x293852,_0x2044cb,_0x2de2d4,_0x4d8797,_0x2b160e,_0x4d8b99,_0x26e2d9){var _0x51f70e=_0x2e58ba;super(),D(this,'_sessionStatus$',new H['BehaviorSubject'](0x0)),D(this,_0x51f70e(0x416),this[_0x51f70e(0x159)][_0x51f70e(0x407)]()),D(this,_0x51f70e(0xe2),new H[(_0x51f70e(0x254))]()),D(this,_0x51f70e(0x1fe),this[_0x51f70e(0xe2)][_0x51f70e(0x407)]()),D(this,'_socket'),D(this,_0x51f70e(0x3b6)),D(this,'_collaborationTimeoutTimer'),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this[_0x51f70e(0x36a)]=_0x46c34d,this[_0x51f70e(0x32a)]=_0x293852,this[_0x51f70e(0xa1)]=_0x2044cb,this[_0x51f70e(0x2c5)]=_0x2de2d4,this[_0x51f70e(0x186)]=_0x4d8797,this[_0x51f70e(0x192)]=_0x2b160e,this[_0x51f70e(0x3fd)]=_0x4d8b99,this[_0x51f70e(0x12b)]=_0x26e2d9,this[_0x51f70e(0x317)]=!!this['_telemetryService'],_0x15394b['pipe'](H[_0x51f70e(0x1f7)](this[_0x51f70e(0x1f3)]))[_0x51f70e(0x355)](_0x2fda9b=>{var _0x4ffb2c=_0x51f70e,_0x514d96;typeof _0x2fda9b>'u'||(this[_0x4ffb2c(0x19a)]=_0x2fda9b,_0x2fda9b?(this['_joinRoom'](_0x2fda9b),this[_0x4ffb2c(0x3b6)]=_0x2fda9b[_0x4ffb2c(0x308)][_0x4ffb2c(0x355)](_0x3680c7=>{var _0x59d260=_0x4ffb2c;_0x3680c7[_0x59d260(0x22b)]===this[_0x59d260(0x36a)]&&this[_0x59d260(0x2bd)](_0x3680c7);})):(this[_0x4ffb2c(0x160)](),this[_0x4ffb2c(0x159)][_0x4ffb2c(0x13e)](0x2),(_0x514d96=this['_socketMessageSubscription'])==null||_0x514d96[_0x4ffb2c(0x218)](),this[_0x4ffb2c(0x3b6)]=null));}));}get['sessionStatus'](){var _0x32e54c=_0x2e58ba;return this['_sessionStatus$'][_0x32e54c(0x95)]();}[_0x2e58ba(0x2a3)](){var _0x22a2d7=_0x2e58ba,_0x3cf77c,_0x1567f9;return(_0x1567f9=(_0x3cf77c=this['_socket'])==null?void 0x0:_0x3cf77c[_0x22a2d7(0x200)])!=null?_0x1567f9:null;}[_0x2e58ba(0x17c)](){var _0x25bff9=_0x2e58ba;super[_0x25bff9(0x17c)](),this[_0x25bff9(0x1f3)][_0x25bff9(0x13e)](),this[_0x25bff9(0x1f3)][_0x25bff9(0x21b)]();}[_0x2e58ba(0xef)](){var _0x1ec497=_0x2e58ba,_0x1aa2cb,_0x51006;this[_0x1ec497(0x160)](),(_0x1aa2cb=this[_0x1ec497(0x19a)])==null||_0x1aa2cb[_0x1ec497(0x326)]({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x51006=this['_socket'])==null||_0x51006['close'](),this[_0x1ec497(0xe2)][_0x1ec497(0x21b)](),this[_0x1ec497(0x159)][_0x1ec497(0x21b)](),this[_0x1ec497(0x17c)]();}[_0x2e58ba(0x2bd)](_0x29a1ea){var _0x15bd94=_0x2e58ba;_0x29a1ea['cmd']===G['JOIN']?this[_0x15bd94(0xd2)](_0x29a1ea):_0x29a1ea[_0x15bd94(0x415)]===G[_0x15bd94(0x1e2)]&&this['_onRecvEvent'](_0x29a1ea);}['_joinRoom'](_0x213349){var _0x32bda3=_0x2e58ba;this['_sessionStatus$'][_0x32bda3(0x13e)](0x1),_0x213349[_0x32bda3(0x326)]({'cmd':G['JOIN'],'routeKey':this[_0x32bda3(0x36a)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2e58ba(0xd2)](_0x5505b8){var _0x170a36=_0x2e58ba,_0x44b613;if(_0x5505b8[_0x170a36(0x35a)]in qe){this['_collaborationUIEventService'][_0x170a36(0xb4)]({'id':Q[_0x170a36(0x24f)],'data':qe[_0x5505b8['code']]}),this[_0x170a36(0x159)][_0x170a36(0x13e)](0x2);return;}this[_0x170a36(0x159)][_0x170a36(0x13e)](0x3);const _0x1878ac=(_0x44b613=_0x5505b8[_0x170a36(0xa8)][_0x170a36(0x2a7)][this['_unitID']])==null?void 0x0:_0x44b613[_0x170a36(0xc0)];_0x1878ac&&_0x1878ac[_0x170a36(0x2fe)](_0x497784=>this[_0x170a36(0x186)][_0x170a36(0x201)](this['_unitID'],_0x497784));}[_0x2e58ba(0x3f6)](_0x4d3f11){var _0x191095=_0x2e58ba;try{const _0x3b57e7=_0x4d3f11[_0x191095(0xa8)];switch(_0x3b57e7['eventID']){case m[_0x191095(0x324)][_0x191095(0x40d)]:this['_onUserJoin'](_0x3b57e7),this[_0x191095(0xe2)][_0x191095(0x13e)](_0x3b57e7);break;case m[_0x191095(0x324)][_0x191095(0x374)]:this['_onUserLeave'](_0x3b57e7),this[_0x191095(0xe2)][_0x191095(0x13e)](_0x3b57e7);break;case m[_0x191095(0x324)][_0x191095(0x154)]:case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x191095(0x40c)](),this[_0x191095(0x21a)](),this[_0x191095(0xe2)]['next'](_0x3b57e7);break;case m[_0x191095(0x324)]['MSG_FOR_ERROR']:this[_0x191095(0x32a)][_0x191095(0x215)](_0x191095(0x341)+JSON[_0x191095(0x402)](_0x3b57e7)),this['_event$'][_0x191095(0x13e)](_0x3b57e7);break;case m[_0x191095(0x324)][_0x191095(0x2ef)]:this[_0x191095(0x192)][_0x191095(0x94)](_0x3b57e7[_0x191095(0xa8)]),this['_event$'][_0x191095(0x13e)](_0x3b57e7);break;default:this[_0x191095(0xe2)][_0x191095(0x13e)](_0x3b57e7);}}catch(_0x329a2e){this[_0x191095(0x32a)][_0x191095(0x215)](_0x329a2e,_0x4d3f11);}}[_0x2e58ba(0x21f)](_0xffec88){var _0xff4a6e=_0x2e58ba;this[_0xff4a6e(0x186)]['updateMember'](this[_0xff4a6e(0x36a)],_0xffec88[_0xff4a6e(0xa8)]);}[_0x2e58ba(0x104)](_0x5818dd){var _0x51870e=_0x2e58ba;this[_0x51870e(0x186)][_0x51870e(0x12a)](this[_0x51870e(0x36a)],_0x5818dd[_0x51870e(0xa8)]['memberID']);}async['send'](_0x2aa408,_0x3a59e7){var _0x4414a9=_0x2e58ba;if(this[_0x4414a9(0x212)]!==0x3||!this['_socket'])throw new Error(_0x4414a9(0x3b5));try{_0x2aa408[_0x4414a9(0x2a0)]===m[_0x4414a9(0x324)][_0x4414a9(0x2a8)]&&(this[_0x4414a9(0x1d2)](),this['_startTelemetryCollaborationNewChangeset'](_0x2aa408)),this[_0x4414a9(0x19a)][_0x4414a9(0x326)]({'cmd':G[_0x4414a9(0x157)],'routeKey':_0x3a59e7,'routeType':'','data':_0x2aa408});}catch(_0x3ea1e1){this[_0x4414a9(0x32a)]['error'](_0x3ea1e1);}}['_scheduleCollaborationTimeoutTimer'](){var _0x43a9b2=_0x2e58ba,_0x250ccb;this[_0x43a9b2(0x37b)]=setTimeout(()=>{var _0x340d43=_0x43a9b2;this[_0x340d43(0x37b)]=null,this[_0x340d43(0x3fd)][_0x340d43(0xb4)]({'id':Q[_0x340d43(0x23e)]});},(_0x250ccb=this[_0x43a9b2(0xa1)][_0x43a9b2(0x3d6)](He))!=null?_0x250ccb:gt);}[_0x2e58ba(0x21a)](){var _0x29c0a0=_0x2e58ba;this[_0x29c0a0(0x37b)]&&(clearTimeout(this[_0x29c0a0(0x37b)]),this[_0x29c0a0(0x37b)]=null);}[_0x2e58ba(0xb6)](_0x388cee){var _0x4cf355=_0x2e58ba;if(!this[_0x4cf355(0x317)])return;const {data:_0x13ab57}=_0x388cee,{unitID:_0x408692,changeset:_0x465fc1}=_0x13ab57,{mutations:_0xae5cbf,type:_0x226ddd}=_0x465fc1;this[_0x4cf355(0x3e8)]={'unitId':_0x408692,'type':_0x226ddd,'startTime':performance[_0x4cf355(0x395)](),'stopTime':0x0,'duration':0x0,'size':rn(_0xae5cbf)};}[_0x2e58ba(0x40c)](){var _0xb0697f=_0x2e58ba;if(this[_0xb0697f(0x317)]){if(!this[_0xb0697f(0x3e8)]){this[_0xb0697f(0x32a)][_0xb0697f(0x215)](_0xb0697f(0xec),_0xb0697f(0x2f6));return;}this[_0xb0697f(0x3e8)][_0xb0697f(0x1a4)]=performance[_0xb0697f(0x395)](),this[_0xb0697f(0x3e8)]['duration']=this['_telemetryInfo'][_0xb0697f(0x1a4)]-this['_telemetryInfo'][_0xb0697f(0x241)],this[_0xb0697f(0x12b)][_0xb0697f(0x1a8)](nn,this[_0xb0697f(0x3e8)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x2e58ba(0x29f)]=_n([oe(0x2,a[_0x2e58ba(0x376)]),oe(0x3,a[_0x2e58ba(0x12d)]),oe(0x4,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x346)])),oe(0x5,a[_0x2e58ba(0x2dc)](exports['MemberService'])),oe(0x6,a[_0x2e58ba(0x2dc)](Be)),oe(0x7,a[_0x2e58ba(0x2dc)](te)),oe(0x8,a[_0x2e58ba(0x1c2)](jt[_0x2e58ba(0x22c)]))],exports[_0x2e58ba(0x29f)]);function _0x2768(_0xe08354,_0x30cb12){var _0x296300=_0x2963();return _0x2768=function(_0x276836,_0x121fea){_0x276836=_0x276836-0x93;var _0x3286d3=_0x296300[_0x276836];return _0x3286d3;},_0x2768(_0xe08354,_0x30cb12);}var un=Object[_0x2e58ba(0xf6)],dn=Object[_0x2e58ba(0x188)],vn=(_0x5137d2,_0x901c08,_0xadee09,_0x3178bf)=>{for(var _0x41a7bf=_0x3178bf>0x1?void 0x0:_0x3178bf?dn(_0x901c08,_0xadee09):_0x901c08,_0x448eda=_0x5137d2['length']-0x1,_0x3fb727;_0x448eda>=0x0;_0x448eda--)(_0x3fb727=_0x5137d2[_0x448eda])&&(_0x41a7bf=(_0x3178bf?_0x3fb727(_0x901c08,_0xadee09,_0x41a7bf):_0x3fb727(_0x41a7bf))||_0x41a7bf);return _0x3178bf&&_0x41a7bf&&un(_0x901c08,_0xadee09,_0x41a7bf),_0x41a7bf;},ae=(_0x1fd3c0,_0x35d234)=>(_0x1f738d,_0x16df41)=>_0x35d234(_0x1f738d,_0x16df41,_0x1fd3c0);exports[_0x2e58ba(0x181)]=class extends a[_0x2e58ba(0x227)]{constructor(_0x427853,_0x24a07c,_0x1fd2c6,_0x1e1fc5,_0x3bd1b2,_0x1fc98b,_0x86c40b){var _0x31e282=_0x2e58ba;super(),D(this,_0x31e282(0xe0),new H[(_0x31e282(0xb9))](void 0x0)),D(this,'socket$',this[_0x31e282(0xe0)][_0x31e282(0x407)]()),D(this,_0x31e282(0x2fa),null),D(this,_0x31e282(0x3c1),new Map()),D(this,_0x31e282(0x191),new H['BehaviorSubject'](se[_0x31e282(0xb7)])),D(this,_0x31e282(0x27d),this[_0x31e282(0x191)][_0x31e282(0x407)]()),D(this,_0x31e282(0xd3),!0x1),D(this,_0x31e282(0x16b)),D(this,_0x31e282(0x202),0x0),D(this,_0x31e282(0x35f)),D(this,_0x31e282(0x27a)),(this[_0x31e282(0x386)]=_0x427853,this[_0x31e282(0x32a)]=_0x24a07c,this[_0x31e282(0xa1)]=_0x1fd2c6,this['_socketService']=_0x1e1fc5,this[_0x31e282(0x353)]=_0x3bd1b2,this[_0x31e282(0x3fd)]=_0x1fc98b,this['_networkConditionService']=_0x86c40b,this[_0x31e282(0x1a5)]());}get[_0x2e58ba(0x19a)](){var _0x1be316=_0x2e58ba;return this['_socket$'][_0x1be316(0x95)]();}[_0x2e58ba(0x1a5)](){var _0x52e53b=_0x2e58ba;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService']['online$'][_0x52e53b(0x355)](_0x318faa=>{var _0x32d8de=_0x52e53b;_0x318faa&&!this[_0x32d8de(0x19a)]&&this[_0x32d8de(0xcc)](),_0x318faa||this[_0x32d8de(0x1e1)]();}));}['dispose'](){var _0x54b2b1=_0x2e58ba;super[_0x54b2b1(0x17c)](),this[_0x54b2b1(0x3c1)]['forEach'](_0xf865c3=>_0xf865c3[_0x54b2b1(0x17c)]()),this[_0x54b2b1(0x3c1)]['clear'](),this[_0x54b2b1(0x191)][_0x54b2b1(0x21b)]();}async[_0x2e58ba(0x388)](_0x13136c){var _0x26dff1=_0x2e58ba;if(this[_0x26dff1(0x3c1)][_0x26dff1(0x2ae)](_0x13136c))return this[_0x26dff1(0x3c1)][_0x26dff1(0x357)](_0x13136c);this[_0x26dff1(0x389)]();const _0x1d1165=this['_injector']['createInstance'](exports['CollaborationSession'],_0x13136c,this['_socket$']['asObservable']());return this[_0x26dff1(0x3c1)][_0x26dff1(0x10b)](_0x13136c,_0x1d1165),_0x1d1165;}[_0x2e58ba(0x232)](_0x2a58a2){var _0x2b26fa=_0x2e58ba,_0x27aaf8;const _0x4b0ad0=this['_sessions'][_0x2b26fa(0x357)](_0x2a58a2);_0x4b0ad0&&(this['_sessions'][_0x2b26fa(0xda)](_0x2a58a2),_0x4b0ad0[_0x2b26fa(0xef)]()),this['_sessions'][_0x2b26fa(0x3cd)]||(_0x27aaf8=this[_0x2b26fa(0x19a)])==null||_0x27aaf8[_0x2b26fa(0xef)]();}['reconnect'](){var _0xa6229a=_0x2e58ba;this['_retryCount']=0x0,this[_0xa6229a(0x16b)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xa6229a(0x16b)]=null),this[_0xa6229a(0x19b)]();}async['_getSessionTicket'](){var _0x5d076e=_0x2e58ba,_0x174350,_0x1cc116,_0x37a49d;const _0x92aacb=this['_configService'][_0x5d076e(0x3d6)](Y),_0x9ac100=(_0x174350=_0x92aacb==null?void 0x0:_0x92aacb[_0x5d076e(0x325)])!=null?_0x174350:Ft;return(_0x37a49d=(_0x1cc116=(await this['_httpService'][_0x5d076e(0x357)](_0x9ac100,{'headers':{'Content-Type':_0x5d076e(0x34a)}}))[_0x5d076e(0x1ca)])==null?void 0x0:_0x1cc116[_0x5d076e(0x3f8)])!=null?_0x37a49d:'';}[_0x2e58ba(0x177)](_0x9cf8bc){var _0x46e39f=_0x2e58ba,_0x3b60a0,_0x4f3a02;const _0x254a5c=this[_0x46e39f(0xa1)][_0x46e39f(0x3d6)](St),_0x255afe=this[_0x46e39f(0xa1)][_0x46e39f(0x3d6)](Y),_0x58344c=(_0x4f3a02=(_0x3b60a0=_0x255afe==null?void 0x0:_0x255afe[_0x46e39f(0x139)])!=null?_0x3b60a0:_0x254a5c)!=null?_0x4f3a02:pt,_0x4ac4d7=typeof window>'u'?new URL(_0x58344c):new URL(_0x58344c,window['location']['origin']);_0x4ac4d7[_0x46e39f(0x269)]['set'](_0x46e39f(0x1e7),_0x9cf8bc);const _0x33fba2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x46e39f(0x176)][_0x46e39f(0x322)]);return _0x33fba2['get']('runId')&&_0x4ac4d7[_0x46e39f(0x269)]['set'](_0x46e39f(0x280),_0x33fba2[_0x46e39f(0x357)](_0x46e39f(0x280))),_0x4ac4d7['toString']();}async[_0x2e58ba(0x299)](){var _0x3bea82=_0x2e58ba;const _0x431634=await this[_0x3bea82(0x233)](),_0x3e2307=this['_createSocketURL'](_0x431634),_0x8723dd=this['_socketService'][_0x3bea82(0x273)](_0x3e2307);return this[_0x3bea82(0x2fa)]=_0x8723dd,_0x8723dd;}async[_0x2e58ba(0x389)](){var _0x2556e0=_0x2e58ba,_0x12f596,_0x4954ef;try{const _0x56ca5a=(_0x4954ef=(_0x12f596=this[_0x2556e0(0x19a)])!=null?_0x12f596:this[_0x2556e0(0x2fa)])!=null?_0x4954ef:await this[_0x2556e0(0x299)]();if(_0x56ca5a){const _0x277c02=_0x56ca5a[_0x2556e0(0x326)];_0x56ca5a['send']=_0xbab024=>(this['_rescheduleHeartbeat'](),_0x277c02['apply'](_0x56ca5a,[_0xbab024])),_0x56ca5a[_0x2556e0(0x308)][_0x2556e0(0x355)](_0x51b1ce=>this['_onMessage'](_0x56ca5a,_0x51b1ce)),_0x56ca5a[_0x2556e0(0x28d)]['pipe'](W[_0x2556e0(0x2e7)](0x1))[_0x2556e0(0x355)](_0x23024=>this[_0x2556e0(0x32a)][_0x2556e0(0x215)](_0x2556e0(0x31e),_0x23024)),_0x56ca5a[_0x2556e0(0x403)][_0x2556e0(0x22f)](W['take'](0x1))[_0x2556e0(0x355)](()=>{var _0x5a4364=_0x2556e0;this[_0x5a4364(0x169)](_0x56ca5a);}),_0x56ca5a[_0x2556e0(0x3c2)][_0x2556e0(0x22f)](W[_0x2556e0(0x2e7)](0x1))[_0x2556e0(0x355)](_0x345b1e=>{var _0x26eae4=_0x2556e0;this[_0x26eae4(0x32a)][_0x26eae4(0x330)](_0x26eae4(0xbd),'socket\x20close',_0x345b1e),this[_0x26eae4(0x150)]();});}}catch(_0x36dd00){this[_0x2556e0(0x32a)]['error'](_0x36dd00),this[_0x2556e0(0x150)]();}}[_0x2e58ba(0x169)](_0x14c137){var _0x22e67c=_0x2e58ba;this[_0x22e67c(0x32a)][_0x22e67c(0x330)](_0x22e67c(0xbd),_0x22e67c(0x1a0)),_0x14c137[_0x22e67c(0x326)]({'cmd':G[_0x22e67c(0x3d3)]}),this[_0x22e67c(0xad)]();}['_onOffline'](){var _0x43b293=_0x2e58ba;this[_0x43b293(0xd3)]=!0x1,this[_0x43b293(0x2fa)]=null,this[_0x43b293(0x191)][_0x43b293(0x13e)](se[_0x43b293(0x3de)]),this['_socket$'][_0x43b293(0x13e)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x2e58ba(0x150)](){var _0x34088d=_0x2e58ba,_0xf19a62;this[_0x34088d(0x1e1)](),this['_retryCount']<((_0xf19a62=this[_0x34088d(0xa1)][_0x34088d(0x3d6)](It))!=null?_0xf19a62:Vt)?(this[_0x34088d(0x3fd)][_0x34088d(0xb4)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x34088d(0x19b)]()):this[_0x34088d(0x3fd)]['emitEvent']({'id':Q[_0x34088d(0x1f2)]});}[_0x2e58ba(0x19b)](){var _0x2c7b6e=_0x2e58ba,_0x1180d2;const _0x32621c=this['_retryCount'],_0x23e24b=this[_0x2c7b6e(0xa1)][_0x2c7b6e(0x3d6)](Y),_0x1d3fa2=_0x32621c===0x0?0x0:((_0x1180d2=_0x23e24b==null?void 0x0:_0x23e24b[_0x2c7b6e(0x3fa)])!=null?_0x1180d2:Gt)*0x2**_0x32621c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x1756cc=_0x2c7b6e;clearTimeout(this['_retryConnectingTimer']),this[_0x1756cc(0x16b)]=null,this[_0x1756cc(0x389)]();},_0x1d3fa2),this[_0x2c7b6e(0x202)]+=0x1;}[_0x2e58ba(0x3a6)](_0x3e197a,_0x4cd95a){var _0x47b9cb=_0x2e58ba;const {cmd:_0x46c012}=_0x4cd95a;_0x46c012===G[_0x47b9cb(0x3d3)]&&!this[_0x47b9cb(0xd3)]&&(_0x3e197a[_0x47b9cb(0x200)]=_0x4cd95a[_0x47b9cb(0xa8)][_0x47b9cb(0x200)],this[_0x47b9cb(0xe0)][_0x47b9cb(0x13e)](_0x3e197a),this[_0x47b9cb(0x191)][_0x47b9cb(0x13e)](se[_0x47b9cb(0x411)]),this[_0x47b9cb(0xd3)]=!0x0,this[_0x47b9cb(0x2fa)]=null),_0x46c012===G[_0x47b9cb(0x1d1)]&&this[_0x47b9cb(0x1ae)](),this[_0x47b9cb(0xad)]();}[_0x2e58ba(0xad)](){var _0x4c1a10=_0x2e58ba,_0x51d1ec;this[_0x4c1a10(0x14e)](),this[_0x4c1a10(0x35f)]=setTimeout(()=>this[_0x4c1a10(0x2be)](),(_0x51d1ec=this['_configService'][_0x4c1a10(0x3d6)](mt))!=null?_0x51d1ec:Wt);}[_0x2e58ba(0x2be)](){var _0x2d439a=_0x2e58ba;this[_0x2d439a(0x19a)]['send']({'cmd':G[_0x2d439a(0x1d1)]}),this[_0x2d439a(0x145)]();}[_0x2e58ba(0x145)](){var _0x152d53=_0x2e58ba,_0xe7e0ad;this[_0x152d53(0x27a)]=setTimeout(()=>this[_0x152d53(0x150)](),(_0xe7e0ad=this[_0x152d53(0xa1)][_0x152d53(0x3d6)](He))!=null?_0xe7e0ad:gt);}[_0x2e58ba(0x14e)](){var _0x20b546=_0x2e58ba;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x20b546(0x35f)]),this[_0x20b546(0x35f)]=null);}['_clearTimeoutTimer'](){var _0x34bd14=_0x2e58ba;this[_0x34bd14(0x27a)]!=null&&(clearTimeout(this[_0x34bd14(0x27a)]),this[_0x34bd14(0x27a)]=null);}},exports[_0x2e58ba(0x181)]=vn([ae(0x0,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x302)])),ae(0x1,a[_0x2e58ba(0x376)]),ae(0x2,a[_0x2e58ba(0x12d)]),ae(0x3,ke),ae(0x4,a[_0x2e58ba(0x2dc)](q[_0x2e58ba(0x2f5)])),ae(0x5,a[_0x2e58ba(0x2dc)](te)),ae(0x6,a['Optional'](Rt))],exports[_0x2e58ba(0x181)]);const V=[];for(let r=0x0;r<0x100;++r)V[_0x2e58ba(0x13c)]((r+0x100)[_0x2e58ba(0x260)](0x10)[_0x2e58ba(0x2e9)](0x1));function fn(_0x4f52ee,_0x39be23=0x0){var _0x434bca=_0x2e58ba;return(V[_0x4f52ee[_0x39be23+0x0]]+V[_0x4f52ee[_0x39be23+0x1]]+V[_0x4f52ee[_0x39be23+0x2]]+V[_0x4f52ee[_0x39be23+0x3]]+'-'+V[_0x4f52ee[_0x39be23+0x4]]+V[_0x4f52ee[_0x39be23+0x5]]+'-'+V[_0x4f52ee[_0x39be23+0x6]]+V[_0x4f52ee[_0x39be23+0x7]]+'-'+V[_0x4f52ee[_0x39be23+0x8]]+V[_0x4f52ee[_0x39be23+0x9]]+'-'+V[_0x4f52ee[_0x39be23+0xa]]+V[_0x4f52ee[_0x39be23+0xb]]+V[_0x4f52ee[_0x39be23+0xc]]+V[_0x4f52ee[_0x39be23+0xd]]+V[_0x4f52ee[_0x39be23+0xe]]+V[_0x4f52ee[_0x39be23+0xf]])[_0x434bca(0x1c9)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x50d0d3=_0x2e58ba;if(!Pe){if(typeof crypto>'u'||!crypto[_0x50d0d3(0x28b)])throw new Error(_0x50d0d3(0x1b1));Pe=crypto['getRandomValues'][_0x50d0d3(0x9d)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x2e58ba(0x1cd)]&&crypto[_0x2e58ba(0x1cd)][_0x2e58ba(0x9d)](crypto),ze={'randomUUID':mn};function gn(_0x1873b5,_0x3ac4cc,_0x56d6f4){var _0xac9e09=_0x2e58ba,_0x209308,_0x3d4b08,_0x36953b;if(ze[_0xac9e09(0x1cd)]&&!_0x1873b5)return ze[_0xac9e09(0x1cd)]();_0x1873b5=_0x1873b5||{};const _0x10554e=(_0x36953b=(_0x3d4b08=_0x1873b5['random'])!=null?_0x3d4b08:(_0x209308=_0x1873b5[_0xac9e09(0x1fc)])==null?void 0x0:_0x209308[_0xac9e09(0x3be)](_0x1873b5))!=null?_0x36953b:pn();if(_0x10554e['length']<0x10)throw new Error(_0xac9e09(0x178));return _0x10554e[0x6]=_0x10554e[0x6]&0xf|0x40,_0x10554e[0x8]=_0x10554e[0x8]&0x3f|0x80,fn(_0x10554e);}const z=a[_0x2e58ba(0x107)](_0x2e58ba(0x2cc));function In(_0x3cd5c4){var _0x1edfb6=_0x2e58ba;return _0x1edfb6(0x1e5)+_0x3cd5c4;}var En=Object[_0x2e58ba(0xf6)],Cn=Object[_0x2e58ba(0x188)],Tn=(_0x4b725d,_0xea3c3d,_0x34e908,_0x4f93d7)=>{var _0x4d9d9e=_0x2e58ba;for(var _0x1479ca=_0x4f93d7>0x1?void 0x0:_0x4f93d7?Cn(_0xea3c3d,_0x34e908):_0xea3c3d,_0x3a8b80=_0x4b725d[_0x4d9d9e(0x1d7)]-0x1,_0x8df826;_0x3a8b80>=0x0;_0x3a8b80--)(_0x8df826=_0x4b725d[_0x3a8b80])&&(_0x1479ca=(_0x4f93d7?_0x8df826(_0xea3c3d,_0x34e908,_0x1479ca):_0x8df826(_0x1479ca))||_0x1479ca);return _0x4f93d7&&_0x1479ca&&En(_0xea3c3d,_0x34e908,_0x1479ca),_0x1479ca;},De=(_0x2728f2,_0x2399de)=>(_0x5bfb1f,_0x21806b)=>_0x2399de(_0x5bfb1f,_0x21806b,_0x2728f2);function bn(_0x4f27c4){var _0xfa1453=_0x2e58ba;const {unitID:_0x44cb4d,mutations:_0x38b2d1}=_0x4f27c4;return{'unitId':_0x44cb4d,'subUnitId':_0x38b2d1[0x0][_0xfa1453(0x20c)]['subUnitId']};}exports[_0x2e58ba(0x3a3)]=class{constructor(_0x233150,_0x57305f,_0x1d5f78){var _0x106911=_0x2e58ba;this['_injector']=_0x233150,this[_0x106911(0x1cb)]=_0x57305f,this['_instanceService']=_0x1d5f78;}['transformSelections'](_0x1248fa){var _0x1e2ca8=_0x2e58ba,_0xf22b1d,_0x45daeb,_0x1ea4a0,_0x176790;const _0x140f69=this['_injector'][_0x1e2ca8(0x357)](J[_0x1e2ca8(0x409)]),{unitId:_0x3e7671,subUnitId:_0x3b27a7}=bn(_0x1248fa),_0x1ed61f=_0x140f69==null?void 0x0:_0x140f69[_0x1e2ca8(0x166)](_0x3e7671)[_0x1e2ca8(0x32b)](),_0x15c216=(_0x45daeb=(_0xf22b1d=this[_0x1e2ca8(0x16a)][_0x1e2ca8(0x1d6)](_0x3e7671))==null?void 0x0:_0xf22b1d[_0x1e2ca8(0x368)]())==null?void 0x0:_0x45daeb[_0x1e2ca8(0x387)]();if(_0x1ed61f['length']===0x0||!_0x3e7671||!_0x3b27a7)return;const _0xcd8632=[{'id':J[_0x1e2ca8(0x1cc)]['id'],'params':{'unitId':_0x3e7671,'subUnitId':_0x15c216,'selections':a[_0x1e2ca8(0x165)]['deepClone'](_0x1ed61f)}}],_0xeff5bb=this[_0x1e2ca8(0x1cb)][_0x1e2ca8(0x2f8)](_0x1248fa,_0xcd8632);if(!m[_0x1e2ca8(0x151)](_0xeff5bb))throw _0xeff5bb[_0x1e2ca8(0x215)];const _0x2368a9=(_0x176790=(_0x1ea4a0=_0xeff5bb[_0x1e2ca8(0xdc)][0x0])==null?void 0x0:_0x1ea4a0['params'])==null?void 0x0:_0x176790[_0x1e2ca8(0x2d2)];if(Array[_0x1e2ca8(0x369)](_0x2368a9)&&_0x2368a9[_0x1e2ca8(0x1d7)]){if(_0x2368a9[_0x1e2ca8(0x1d7)]===_0xcd8632[0x0]['params'][_0x1e2ca8(0x2d2)][_0x1e2ca8(0x1d7)]&&_0x2368a9[_0x1e2ca8(0x27f)]((_0x35e326,_0x31c794)=>a['Rectangle'][_0x1e2ca8(0x1e4)](_0x35e326[_0x1e2ca8(0x1c6)],_0xcd8632[0x0][_0x1e2ca8(0x20c)][_0x1e2ca8(0x2d2)][_0x31c794]['range'])))return;this[_0x1e2ca8(0x386)]['get'](a[_0x1e2ca8(0x2aa)])['executeCommand'](J[_0x1e2ca8(0x1cc)]['id'],{'unitId':_0x3e7671,'subUnitId':_0x15c216,'selections':_0x2368a9});}}},exports[_0x2e58ba(0x3a3)]=Tn([De(0x0,a[_0x2e58ba(0x2dc)](a['Injector'])),De(0x1,m[_0x2e58ba(0x343)]),De(0x2,a[_0x2e58ba(0x1f5)])],exports[_0x2e58ba(0x3a3)]);const ve=a['createIdentifier'](_0x2e58ba(0x360));var Fe=(_0x15ee98=>(_0x15ee98[_0x15ee98[_0x2e58ba(0x2e2)]=0x0]=_0x2e58ba(0x2e2),_0x15ee98[_0x15ee98[_0x2e58ba(0x245)]=0x1]='OTHER_CLIENTS_EDITING',_0x15ee98))(Fe||{});const Rn=new Set([J[_0x2e58ba(0x31b)]['id']]);function Je(_0x175242,_0x32fe2a,_0xb8fa65,_0xfb4da2,_0x1d2a38){var _0x47c49b=_0x2e58ba,_0x36dd91,_0x4a193a,_0x8727c3,_0xfaf232;const _0x362a2a=[];for(const _0x1e782d of _0x175242)if(Rn[_0x47c49b(0x2ae)](_0x1e782d['id'])){if(_0x362a2a[_0x47c49b(0x1d7)]>0x0)break;_0x362a2a[_0x47c49b(0x13c)](_0x1e782d);break;}else _0x362a2a[_0x47c49b(0x13c)](_0x1e782d);const _0x4fc365=(_0x4a193a=(_0x36dd91=_0x1d2a38['getCurrentUser']())==null?void 0x0:_0x36dd91[_0x47c49b(0x119)])!=null?_0x4a193a:_0x47c49b(0xe4),_0x32e426=(_0xfaf232=(_0x8727c3=_0x1d2a38[_0x47c49b(0xae)]())==null?void 0x0:_0x8727c3[_0x47c49b(0x200)])!=null?_0xfaf232:'unknown';return{'changeset':{'unitID':_0x32fe2a,'type':m[_0x47c49b(0x22a)](_0xb8fa65[_0x47c49b(0x106)](_0x32fe2a)),'baseRev':_0xfb4da2[_0x47c49b(0x137)](_0x32fe2a),'revision':0x0,'userID':_0x4fc365,'memberID':_0x32e426,'mutations':_0x362a2a},'pendingMutations':_0x175242['slice'](_0x362a2a[_0x47c49b(0x1d7)])};}function On(_0x5a6787,_0x302854,_0x4fe98a,_0x4212b2,_0x3a6de1){var _0x389104=_0x2e58ba,_0x3702dd,_0x31d7ea,_0xe876d4,_0x196f09;const _0x2b5ad2=[_0x5a6787['reduce']((_0x5b012e,_0x867f0c)=>{var _0x297ab6=_0x2768,_0x1637e2;const {id:_0x45c64f}=_0x5b012e,{id:_0x21b6b3,type:_0xa804a8}=_0x867f0c,_0x3b2394=(_0x1637e2=_0x5b012e[_0x297ab6(0x20c)])!=null?_0x1637e2:{'actions':null},_0x1e117d=_0x867f0c['params'];if(_0x45c64f&&_0x45c64f!==_0x21b6b3)throw new Error(_0x297ab6(0xaf)+_0x45c64f+_0x297ab6(0x3dd)+_0x21b6b3+'.');return{..._0x5b012e,'id':_0x21b6b3,'type':_0xa804a8,'params':{'unitId':_0x1e117d[_0x297ab6(0x39c)],'textRanges':_0x1e117d[_0x297ab6(0x3b1)],'actions':a[_0x297ab6(0x40f)][_0x297ab6(0x24c)](_0x3b2394[_0x297ab6(0x256)],_0x1e117d[_0x297ab6(0x256)])}};},{})],_0x15efb2=(_0x31d7ea=(_0x3702dd=_0x3a6de1[_0x389104(0xae)]())==null?void 0x0:_0x3702dd['userID'])!=null?_0x31d7ea:_0x389104(0xe4),_0x12f876=(_0x196f09=(_0xe876d4=_0x3a6de1[_0x389104(0xae)]())==null?void 0x0:_0xe876d4['memberID'])!=null?_0x196f09:_0x389104(0xe4);return{'changeset':{'unitID':_0x302854,'type':m[_0x389104(0x22a)](_0x4fe98a[_0x389104(0x106)](_0x302854)),'baseRev':_0x4212b2[_0x389104(0x137)](_0x302854),'revision':0x0,'userID':_0x15efb2,'memberID':_0x12f876,'mutations':_0x2b5ad2},'pendingMutations':[]};}function Nt(_0x4d01f2,_0x372b14){var _0x158e3f=_0x2e58ba;const _0xc9fcbd=new H[(_0x158e3f(0x15c))](0x1);return setTimeout(()=>_0xc9fcbd[_0x158e3f(0x13e)](_0x372b14),_0x4d01f2),_0xc9fcbd[_0x158e3f(0x407)]()[_0x158e3f(0x22f)](H[_0x158e3f(0x2e7)](0x1));}const yn={'id':J[_0x2e58ba(0x271)]['id'],'type':a[_0x2e58ba(0x216)][_0x2e58ba(0x34d)],'params':{}};var Nn=Object[_0x2e58ba(0xf6)],Un=Object['getOwnPropertyDescriptor'],le=(_0x1fa986,_0xebc361,_0x33e1bd,_0x59ff58)=>{var _0x33b47e=_0x2e58ba;for(var _0x5028c9=_0x59ff58>0x1?void 0x0:_0x59ff58?Un(_0xebc361,_0x33e1bd):_0xebc361,_0x34ec7f=_0x1fa986[_0x33b47e(0x1d7)]-0x1,_0x69b1fe;_0x34ec7f>=0x0;_0x34ec7f--)(_0x69b1fe=_0x1fa986[_0x34ec7f])&&(_0x5028c9=(_0x59ff58?_0x69b1fe(_0xebc361,_0x33e1bd,_0x5028c9):_0x69b1fe(_0x5028c9))||_0x5028c9);return _0x59ff58&&_0x5028c9&&Nn(_0xebc361,_0x33e1bd,_0x5028c9),_0x5028c9;},A=(_0x23d590,_0x35d81c)=>(_0x5770cc,_0x6bac7c)=>_0x35d81c(_0x5770cc,_0x6bac7c,_0x23d590),We=(_0x3f235d=>(_0x3f235d[_0x2e58ba(0x143)]=_0x2e58ba(0x29e),_0x3f235d[_0x2e58ba(0xb1)]=_0x2e58ba(0x3f2),_0x3f235d[_0x2e58ba(0xb5)]='pending',_0x3f235d[_0x2e58ba(0x310)]=_0x2e58ba(0x3d2),_0x3f235d['AWAITING_WITH_PENDING']=_0x2e58ba(0x306),_0x3f235d[_0x2e58ba(0x155)]=_0x2e58ba(0xdf),_0x3f235d[_0x2e58ba(0x267)]=_0x2e58ba(0xe6),_0x3f235d[_0x2e58ba(0x3de)]=_0x2e58ba(0x3eb),_0x3f235d))(We||{});const Ut=0xea60;class _e{constructor(_0x3990c4,_0x37a13e,_0x150814,_0x20291b,_0x133505,_0x5ddaa7,_0x3c48b5,_0x573933,_0xe8398b){var _0x28531c=_0x2e58ba;D(this,_0x28531c(0x14d),null),D(this,_0x28531c(0x3c0),[]),(this[_0x28531c(0x16e)]=_0x3990c4,this[_0x28531c(0x37d)]=_0x37a13e,this[_0x28531c(0x25a)]=_0x133505,this[_0x28531c(0x1be)]=_0x5ddaa7,this[_0x28531c(0x282)]=_0x3c48b5,this[_0x28531c(0x252)]=_0x573933,this['_localCacheService']=_0xe8398b,this[_0x28531c(0x14d)]=_0x150814,this[_0x28531c(0x3c0)]=_0x20291b);}['_checkMissing'](_0x4307f6){var _0x599001=_0x2e58ba;const _0x36ad48=this[_0x599001(0x252)]['getCurrentRevOfUnit'](this[_0x599001(0x16e)]);return _0x4307f6[_0x599001(0x25f)]>_0x36ad48+0x1?(this[_0x599001(0x25a)][_0x599001(0x162)]({'from':_0x36ad48,'to':_0x4307f6[_0x599001(0x25f)]-0x1}),!0x0):!0x1;}[_0x2e58ba(0x170)](_0x113519){var _0x33c1e7=_0x2e58ba;this[_0x33c1e7(0x282)][_0x33c1e7(0xf9)](this[_0x33c1e7(0x16e)],_0x113519);}['_transformSelections'](_0x3f6151){var _0x272d1f=_0x2e58ba,_0x515dd1,_0x24f6e0;(_0x24f6e0=(_0x515dd1=this[_0x272d1f(0x25a)])['onTransformSelections'])==null||_0x24f6e0[_0x272d1f(0x3be)](_0x515dd1,_0x3f6151);}[_0x2e58ba(0x108)](_0x9aeef1){var _0x248bda=_0x2e58ba,_0x2b7687,_0x5922ef;return(_0x5922ef=(_0x2b7687=this[_0x248bda(0x25a)])['onTransformIME'])==null?void 0x0:_0x5922ef[_0x248bda(0x3be)](_0x2b7687,_0x9aeef1);}[_0x2e58ba(0x253)](_0x392d3e){var _0x3550d2=_0x2e58ba,_0x42333f,_0x5f2b7d;return(_0x5f2b7d=(_0x42333f=this[_0x3550d2(0x25a)])[_0x3550d2(0x2c9)])==null?void 0x0:_0x5f2b7d[_0x3550d2(0x3be)](_0x42333f,_0x392d3e);}[_0x2e58ba(0x161)](_0x5cf0f5){var _0x4423ea=_0x2e58ba,_0x5244b8,_0x5a473b,_0x256640;return(_0x256640=(_0x5a473b=(_0x5244b8=this[_0x4423ea(0x25a)])[_0x4423ea(0x1a2)])==null?void 0x0:_0x5a473b[_0x4423ea(0x3be)](_0x5244b8,_0x5cf0f5))!=null?_0x256640:_0x5cf0f5;}[_0x2e58ba(0x242)](_0x185292){var _0x1fc43d=_0x2e58ba,_0x1d3660,_0x399c63,_0x33ce86;return(_0x33ce86=(_0x399c63=(_0x1d3660=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x399c63[_0x1fc43d(0x3be)](_0x1d3660,_0x185292))!=null?_0x33ce86:_0x185292;}[_0x2e58ba(0x17b)](_0x1c71c5){var _0x7e6274=_0x2e58ba,_0x15dd61,_0x3f690b;if(this[_0x7e6274(0x37d)]===Z[_0x7e6274(0x185)]){const {unitID:_0xe34668,mutations:_0xb8c8f5,memberID:_0x254737}=_0x1c71c5,_0x17f318=_0xb8c8f5[0x0][_0x7e6274(0x20c)][_0x7e6274(0x3b1)];Array[_0x7e6274(0x369)](_0x17f318)&&_0x17f318[_0x7e6274(0x1d7)]>0x0&&((_0x3f690b=(_0x15dd61=this['_handler'])[_0x7e6274(0x2eb)])==null||_0x3f690b['call'](_0x15dd61,{'unitID':_0xe34668,'memberID':_0x254737,'textRanges':_0x17f318}));}}['_updateLocalCache'](){var _0x35089b=_0x2e58ba,_0xf6b705;(_0xf6b705=this['_localCacheService'])==null||_0xf6b705['updateOfflineData'](this['unitID'],this[_0x35089b(0x37d)],this[_0x35089b(0x14d)],this['_pendingMutations']);}[_0x2e58ba(0xfb)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}[_0x2e58ba(0x1e3)](){var _0x439056=_0x2e58ba;this[_0x439056(0x252)][_0x439056(0x400)](this['unitID']);}['_executeRemoteChangeset'](_0x126e33){var _0x300a09=_0x2e58ba,_0x599774;let _0x8ab3f8=this[_0x300a09(0x161)](_0x126e33);_0x8ab3f8=this['_transformRemoteChangesetByStateCache'](_0x8ab3f8);const _0x1198be=a[_0x300a09(0x180)](_0x8ab3f8[_0x300a09(0x1ff)],this[_0x300a09(0x1be)],{'fromCollab':!0x0});if(!_0x1198be[_0x300a09(0xc6)])throw _0x1198be[_0x300a09(0x215)]instanceof Error?_0x1198be[_0x300a09(0x215)]:new Error((_0x599774=_0x1198be[_0x300a09(0x215)])!=null?_0x599774:_0x300a09(0x268));this[_0x300a09(0x108)](_0x8ab3f8),this['_transformStateCache'](_0x8ab3f8),this['_transformUndoredo'](_0x126e33),this['_transformSelections'](_0x8ab3f8),this['_syncEditingCollabCursor'](_0x8ab3f8),this[_0x300a09(0x1e3)]();}}exports[_0x2e58ba(0x134)]=class extends _e{constructor(_0x16886a,_0x3876fb,_0x19016f,_0x5d6c26,_0x95f0ac,_0x319738,_0x30d932,_0x328595,_0x477dab,_0x466e54){var _0x39527e=_0x2e58ba;super(_0x16886a,_0x3876fb,null,[],_0x19016f,_0x30d932,_0x319738,_0x5d6c26,_0x466e54),D(this,_0x39527e(0x235),'synced'),(this[_0x39527e(0x386)]=_0x95f0ac,this[_0x39527e(0x32a)]=_0x328595,this['_transformService']=_0x477dab,this['localCacheService']=_0x466e54);}['appendMutation'](_0x26d26c){var _0x320041=_0x2e58ba;const _0x140c04=this[_0x320041(0x386)][_0x320041(0x38a)](exports[_0x320041(0xd0)],this[_0x320041(0x16e)],this[_0x320041(0x37d)],[_0x26d26c],this[_0x320041(0x25a)]);return _0x140c04[_0x320041(0xa9)](),_0x140c04[_0x320041(0x98)](),_0x140c04;}['onRemoteChangeset'](_0xd48708){var _0x195955=_0x2e58ba;if(this[_0x195955(0x3a8)](_0xd48708))return this[_0x195955(0x386)]['createInstance'](exports[_0x195955(0x105)],this[_0x195955(0x16e)],this[_0x195955(0x37d)],null,[],null,[_0xd48708],this[_0x195955(0x25a)]);try{const _0x568714=this[_0x195955(0x1cb)]['transformMutationsWithChangeset'](_0xd48708,[yn]);if(m[_0x195955(0x151)](_0x568714)){const {c1Prime:_0x380822}=_0x568714;return this[_0x195955(0x3da)](_0x380822),this;}throw _0x568714[_0x195955(0x215)];}catch(_0x211c38){return this[_0x195955(0x32a)][_0x195955(0x215)](_0x211c38),this[_0x195955(0x11d)](!0x1);}}[_0x2e58ba(0x11d)](_0x59c25f){var _0x3a824a=_0x2e58ba;return this[_0x3a824a(0x386)][_0x3a824a(0x38a)](exports['ConflictState'],this['unitID'],this[_0x3a824a(0x37d)],null,[],this['_handler'],_0x59c25f);}[_0x2e58ba(0x110)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2e58ba(0x358)](){var _0x3be13c=_0x2e58ba;throw new Error(_0x3be13c(0x3b2));}['onRemoteRetry'](){return this;}[_0x2e58ba(0x3bb)](){var _0xfa97b7=_0x2e58ba;return this[_0xfa97b7(0x386)][_0xfa97b7(0x38a)](exports[_0xfa97b7(0x122)],this['unitID'],this[_0xfa97b7(0x37d)],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x5ac66a=_0x2e58ba;throw new Error(_0x5ac66a(0x29c));}['fetchMiss'](){var _0x653530=_0x2e58ba;const _0xc5fa92=this[_0x653530(0x252)][_0x653530(0x137)](this['unitID']);return this[_0x653530(0x25a)]['onMissingChangesets']({'from':_0xc5fa92,'to':0x0}),this[_0x653530(0x386)]['createInstance'](exports[_0x653530(0x105)],this[_0x653530(0x16e)],this[_0x653530(0x37d)],null,[],null,[],this[_0x653530(0x25a)]);}},exports[_0x2e58ba(0x134)]=le([A(0x3,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x37c)])),A(0x4,a['Inject'](a[_0x2e58ba(0x302)])),A(0x5,a[_0x2e58ba(0x2bb)]),A(0x6,a[_0x2e58ba(0x2aa)]),A(0x7,a['ILogService']),A(0x8,m[_0x2e58ba(0x343)]),A(0x9,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x134)]),exports[_0x2e58ba(0xd0)]=class extends _e{constructor(_0x41a325,_0x277dfa,_0x5ae80c,_0x53433e,_0x2f2401,_0x10f402,_0x40b248,_0x729ded,_0x21f832,_0x51c70b,_0x2ffd23,_0x997e24,_0xdc71e4,_0x575dc4){var _0xc9cb9d=_0x2e58ba;super(_0x41a325,_0x277dfa,null,_0x5ae80c,_0x53433e,_0x21f832,_0xdc71e4,_0x10f402,_0x575dc4),D(this,'status',_0xc9cb9d(0x382)),D(this,_0xc9cb9d(0x318),null),D(this,_0xc9cb9d(0x135),null),(this['_injector']=_0x2f2401,this[_0xc9cb9d(0x186)]=_0x40b248,this['_logService']=_0x729ded,this[_0xc9cb9d(0xa1)]=_0x51c70b,this[_0xc9cb9d(0x1cb)]=_0x2ffd23,this[_0xc9cb9d(0x240)]=_0x997e24);}[_0x2e58ba(0x33d)](_0x43a7e3){var _0x270c0f=_0x2e58ba;return this[_0x270c0f(0x3c0)][_0x270c0f(0x13c)](_0x43a7e3),this[_0x270c0f(0x98)](),this;}['onRemoteChangeset'](_0xe60e5f){var _0x468a0f=_0x2e58ba;if(this[_0x468a0f(0x3a8)](_0xe60e5f))return this[_0x468a0f(0x14f)](),this[_0x468a0f(0x386)][_0x468a0f(0x38a)](exports['FetchingMissState'],this['unitID'],this[_0x468a0f(0x37d)],null,this[_0x468a0f(0x3c0)],null,[_0xe60e5f],this[_0x468a0f(0x25a)]);try{const _0x37408d=this[_0x468a0f(0x1cb)][_0x468a0f(0x2f8)](_0xe60e5f,this[_0x468a0f(0x3c0)]);if(m[_0x468a0f(0x151)](_0x37408d)){const {c1Prime:_0x331577,m2Prime:_0x2ddf20}=_0x37408d;this[_0x468a0f(0x3da)](_0x331577);const _0x129060=this[_0x468a0f(0x386)][_0x468a0f(0x38a)](exports[_0x468a0f(0xd0)],this[_0x468a0f(0x16e)],this[_0x468a0f(0x37d)],_0x2ddf20,this[_0x468a0f(0x25a)]);this[_0x468a0f(0x14f)]();const _0x1770a0=new Date()[_0x468a0f(0xe5)](),_0x334d5c=this[_0x468a0f(0x318)]?Math[_0x468a0f(0xa7)](this[_0x468a0f(0x318)]-_0x1770a0,0x0):this[_0x468a0f(0x13d)]();return _0x129060[_0x468a0f(0xa9)](_0x334d5c),_0x129060;}throw _0x37408d[_0x468a0f(0x215)];}catch(_0x51f29c){return this[_0x468a0f(0x32a)]['error'](_0x51f29c),this['_onConflict'](!0x1);}}[_0x2e58ba(0x110)](){var _0x4332f6=_0x2e58ba;throw new Error(_0x4332f6(0x183));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2e58ba(0x362)](){return this;}[_0x2e58ba(0x3bb)](){var _0x56507a=_0x2e58ba;return this['_clearScheduledTask'](),this[_0x56507a(0x386)]['createInstance'](exports[_0x56507a(0x122)],this['unitID'],this['type'],null,this[_0x56507a(0x3c0)],this[_0x56507a(0x25a)]);}[_0x2e58ba(0x142)](){return this;}['_schedule'](_0xaa9a6c){var _0x5a1a5c=_0x2e58ba;const _0x4150d0=_0xaa9a6c!=null?_0xaa9a6c:this['_getSendChangesetTimeout']();this[_0x5a1a5c(0x318)]=new Date()[_0x5a1a5c(0xe5)]()+_0x4150d0,this[_0x5a1a5c(0x135)]=setTimeout(()=>{var _0x2857d6=_0x5a1a5c;this[_0x2857d6(0x14f)]();let _0x921340=null;switch(this['type']){case Z[_0x2857d6(0x1b5)]:{_0x921340=Je(this[_0x2857d6(0x3c0)],this[_0x2857d6(0x16e)],this[_0x2857d6(0x240)],this[_0x2857d6(0x252)],this[_0x2857d6(0x186)]);break;}case Z[_0x2857d6(0x185)]:{this[_0x2857d6(0x3c0)][_0x2857d6(0x27f)](_0x1604ea=>_0x1604ea['id']===dt[_0x2857d6(0x329)]['id'])?_0x921340=On(this[_0x2857d6(0x3c0)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x921340=Je(this[_0x2857d6(0x3c0)],this[_0x2857d6(0x16e)],this[_0x2857d6(0x240)],this['_revisionService'],this[_0x2857d6(0x186)]);break;}default:throw new Error(_0x2857d6(0x3c8)+this[_0x2857d6(0x37d)]+_0x2857d6(0xf8));}const {changeset:_0x450d40,pendingMutations:_0x120f7e}=_0x921340;this[_0x2857d6(0x25a)][_0x2857d6(0x3aa)](_0x450d40);const _0x2fc250=_0x120f7e[_0x2857d6(0x1d7)]?this['_injector'][_0x2857d6(0x38a)](exports['AwaitingWithPendingState'],this['unitID'],this['type'],_0x450d40,_0x120f7e,this['_handler'],void 0x0):this[_0x2857d6(0x386)][_0x2857d6(0x38a)](exports[_0x2857d6(0x18b)],this[_0x2857d6(0x16e)],this['type'],_0x450d40,this['_handler']);_0x2fc250[_0x2857d6(0x98)](),this['_handler'][_0x2857d6(0x2f0)](this,_0x2fc250);},_0x4150d0);}[_0x2e58ba(0x13d)](){var _0x397c55=_0x2e58ba,_0x1ff2a3;const _0x425d89=this[_0x397c55(0xa1)]['getConfig'](Y);return(_0x1ff2a3=_0x425d89==null?void 0x0:_0x425d89[_0x397c55(0x23b)])!=null?_0x1ff2a3:Bt;}[_0x2e58ba(0x36d)](){var _0x5ee579=_0x2e58ba;throw new Error(_0x5ee579(0x1e0));}[_0x2e58ba(0x14f)](){var _0xa20b8f=_0x2e58ba;this[_0xa20b8f(0x135)]!=null&&(clearTimeout(this[_0xa20b8f(0x135)]),this['_sendingTimer']=null);}['_onConflict'](_0x412b80){var _0x2461a4=_0x2e58ba;return this[_0x2461a4(0x14f)](),this[_0x2461a4(0x386)][_0x2461a4(0x38a)](exports[_0x2461a4(0x2dd)],this['unitID'],this[_0x2461a4(0x37d)],null,this[_0x2461a4(0x3c0)],this[_0x2461a4(0x25a)],_0x412b80);}},exports[_0x2e58ba(0xd0)]=le([A(0x4,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x302)])),A(0x5,a['Inject'](m[_0x2e58ba(0x37c)])),A(0x6,a[_0x2e58ba(0x2dc)](exports[_0x2e58ba(0x3b7)])),A(0x7,a[_0x2e58ba(0x376)]),A(0x8,a['ICommandService']),A(0x9,a[_0x2e58ba(0x12d)]),A(0xa,m[_0x2e58ba(0x343)]),A(0xb,a[_0x2e58ba(0x1f5)]),A(0xc,a[_0x2e58ba(0x2bb)]),A(0xd,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0xd0)]),exports[_0x2e58ba(0x18b)]=class extends _e{constructor(_0x46ca6c,_0x295d43,_0x35e1f2,_0x372e64,_0x1677f2,_0x5868ef,_0xa22037,_0x14ab22,_0x3e1fa7,_0x1f96f3,_0x2d0ac1){var _0x5eb345=_0x2e58ba;super(_0x46ca6c,_0x295d43,_0x35e1f2,[],_0x372e64,_0xa22037,_0x1f96f3,_0x5868ef,_0x2d0ac1),D(this,_0x5eb345(0x235),'awaiting'),D(this,_0x5eb345(0x3ca),0x0),D(this,_0x5eb345(0x417)),D(this,'_sender'),(this[_0x5eb345(0x386)]=_0x1677f2,this[_0x5eb345(0x32a)]=_0x14ab22,this[_0x5eb345(0x1cb)]=_0x3e1fa7);}[_0x2e58ba(0x33d)](_0x394bd8){var _0xee4bb3=_0x2e58ba;this[_0xee4bb3(0x14f)]();const _0xb56854=this['_injector'][_0xee4bb3(0x38a)](exports[_0xee4bb3(0x1fd)],this[_0xee4bb3(0x16e)],this[_0xee4bb3(0x37d)],this[_0xee4bb3(0x14d)],[_0x394bd8],this['_handler'],this[_0xee4bb3(0x417)]);return _0xb56854['_updateLocalCache'](),_0xb56854;}[_0x2e58ba(0x1eb)](_0xf79722){var _0x588cc1=_0x2e58ba;if(this['_checkMissing'](_0xf79722))return this['_clearScheduledTask'](),this['_injector'][_0x588cc1(0x38a)](exports[_0x588cc1(0x105)],this[_0x588cc1(0x16e)],this[_0x588cc1(0x37d)],this[_0x588cc1(0x14d)],[],null,[_0xf79722],this[_0x588cc1(0x25a)]);try{const _0xb66e9a=this[_0x588cc1(0x1cb)][_0x588cc1(0x209)]([_0xf79722],[this['_awaitingChangeset']],!0x1);if(m[_0x588cc1(0x35b)](_0xb66e9a)){const {c1Prime:_0x56e7a3,c2Prime:_0x4fdc20}=_0xb66e9a;this['_executeRemoteChangeset'](_0x56e7a3[0x0]),_0x4fdc20[0x0][_0x588cc1(0xb3)]=this[_0x588cc1(0xfb)](),this['_clearScheduledTask']();const _0x443729=this[_0x588cc1(0x386)][_0x588cc1(0x38a)](exports[_0x588cc1(0x18b)],this['unitID'],this['type'],_0x4fdc20[0x0],this['_handler']);return _0x443729[_0x588cc1(0x98)](),_0x443729;}return this[_0x588cc1(0x11d)](!0x1);}catch(_0x3ebdd6){return this[_0x588cc1(0x32a)][_0x588cc1(0x215)](_0x3ebdd6),this[_0x588cc1(0x11d)](!0x1);}}[_0x2e58ba(0x110)](_0xe950c6){var _0x163773=_0x2e58ba;this[_0x163773(0x14f)]();const _0x5aa125=this[_0x163773(0x252)][_0x163773(0x137)](this['unitID']);if(_0xe950c6[_0x163773(0x25f)]<_0x5aa125-0x1)return this;if(this[_0x163773(0x3a8)](_0xe950c6))return this['_injector'][_0x163773(0x38a)](exports[_0x163773(0x105)],this[_0x163773(0x16e)],this[_0x163773(0x37d)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x163773(0x1e3)]();const _0x4ec672=this[_0x163773(0x386)][_0x163773(0x38a)](exports[_0x163773(0x134)],this[_0x163773(0x16e)],this[_0x163773(0x37d)],this[_0x163773(0x25a)]);return _0x4ec672[_0x163773(0x98)](),_0x4ec672;}[_0x2e58ba(0x358)](_0x4d79b2){var _0x26b3cf=_0x2e58ba;return this[_0x26b3cf(0x11d)](!!(_0x4d79b2!=null&&_0x4d79b2[_0x26b3cf(0x1b9)]));}[_0x2e58ba(0x362)](_0x2d8e29){var _0x1754b3=_0x2e58ba;return this[_0x1754b3(0x3ca)]>Ut?this[_0x1754b3(0x3bb)]():(this[_0x1754b3(0x417)]=Nt(this[_0x1754b3(0x3ca)],{'timeout':this[_0x1754b3(0x3ca)],'reqId':_0x2d8e29[_0x1754b3(0x3dc)]}),this[_0x1754b3(0x364)]=this[_0x1754b3(0x417)]['subscribe'](({reqId:_0x57164b,timeout:_0x342b63})=>{this['_resendWithTimeout'](_0x57164b,_0x342b63);}),this);}[_0x2e58ba(0x3bb)](){var _0x207b56=_0x2e58ba;return this[_0x207b56(0x14f)](),this[_0x207b56(0x386)]['createInstance'](exports[_0x207b56(0x122)],this['unitID'],this[_0x207b56(0x37d)],this[_0x207b56(0x14d)],[],this[_0x207b56(0x25a)]);}[_0x2e58ba(0x142)](){return this;}[_0x2e58ba(0x36d)](){var _0x543bb7=_0x2e58ba;this[_0x543bb7(0x25a)][_0x543bb7(0x3aa)](this[_0x543bb7(0x14d)]);}[_0x2e58ba(0x11d)](_0x152df9){var _0x1a14e0=_0x2e58ba;return this[_0x1a14e0(0x14f)](),this[_0x1a14e0(0x386)][_0x1a14e0(0x38a)](exports[_0x1a14e0(0x2dd)],this[_0x1a14e0(0x16e)],this['type'],this[_0x1a14e0(0x14d)],[],this[_0x1a14e0(0x25a)],_0x152df9);}[_0x2e58ba(0x291)](_0x5cbd6f,_0x123b74){var _0x102bea=_0x2e58ba,_0x2086d;_0x5cbd6f===((_0x2086d=this['_awaitingChangeset'])==null?void 0x0:_0x2086d[_0x102bea(0x3dc)])&&(this[_0x102bea(0x36d)](),this['_resendTimeout']=_0x123b74===0x0?0x3e8:_0x123b74*0x2);}[_0x2e58ba(0x14f)](){var _0x3afbeb=_0x2e58ba,_0x2e5df3;(_0x2e5df3=this[_0x3afbeb(0x364)])==null||_0x2e5df3[_0x3afbeb(0x218)](),this[_0x3afbeb(0x3ca)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x2e58ba(0x2dc)](a['Injector'])),A(0x5,a['Inject'](m['RevisionService'])),A(0x6,a['ICommandService']),A(0x7,a[_0x2e58ba(0x376)]),A(0x8,m['ITransformService']),A(0x9,a[_0x2e58ba(0x2bb)]),A(0xa,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x18b)]),exports[_0x2e58ba(0x1fd)]=class extends _e{constructor(_0x35479f,_0x196350,_0xe12ae4,_0x580c5c,_0x2433d6,_0x5c76ff,_0x2057db,_0xebd951,_0x6a1a86,_0x1648ea,_0x4b37d0,_0x4977a4,_0x5edcfb){var _0x8bee15=_0x2e58ba;super(_0x35479f,_0x196350,_0xe12ae4,_0x580c5c,_0x2433d6,_0x6a1a86,_0x4977a4,_0xebd951,_0x5edcfb),D(this,_0x8bee15(0x235),_0x8bee15(0x306)),D(this,_0x8bee15(0x3ca),0x0),D(this,_0x8bee15(0x417)),D(this,'_sender'),(this[_0x8bee15(0x386)]=_0x2057db,this[_0x8bee15(0x32a)]=_0x1648ea,this[_0x8bee15(0x1cb)]=_0x4b37d0,this[_0x8bee15(0x21e)]=_0x5edcfb,_0x5c76ff&&(this[_0x8bee15(0x417)]=_0x5c76ff,this[_0x8bee15(0x364)]=this['_resendTimer'][_0x8bee15(0x355)](({reqId:_0x4fb1b0,timeout:_0x2ebaf6})=>{var _0x362e81=_0x8bee15;this[_0x362e81(0x291)](_0x4fb1b0,_0x2ebaf6);})));}['appendMutation'](_0x377c65){var _0x158239=_0x2e58ba;return this[_0x158239(0x3c0)][_0x158239(0x13c)](_0x377c65),this;}[_0x2e58ba(0x1eb)](_0x376ee1){var _0x34340c=_0x2e58ba;if(this['_checkMissing'](_0x376ee1))return this[_0x34340c(0x14f)](),this[_0x34340c(0x386)][_0x34340c(0x38a)](exports[_0x34340c(0x105)],this[_0x34340c(0x16e)],this[_0x34340c(0x37d)],this[_0x34340c(0x14d)],this[_0x34340c(0x3c0)],null,[_0x376ee1],this[_0x34340c(0x25a)]);try{const _0x1d2a0d=this['_transformService']['transformChangesets']([_0x376ee1],[this[_0x34340c(0x14d)]],!0x1);if(m[_0x34340c(0x35b)](_0x1d2a0d)){const {c1Prime:_0x397f45,c2Prime:_0x5ef78b}=_0x1d2a0d,_0x4b7c25=this['_transformService'][_0x34340c(0x2f8)](_0x397f45[0x0],this[_0x34340c(0x3c0)]);if(m[_0x34340c(0x151)](_0x4b7c25)){const {c1Prime:_0x24bd03,m2Prime:_0x373b18}=_0x4b7c25;return this[_0x34340c(0x3da)](_0x24bd03),_0x5ef78b[0x0]['baseRev']=this[_0x34340c(0xfb)](),this['_clearScheduledTask'](),this[_0x34340c(0x386)][_0x34340c(0x38a)](exports['AwaitingWithPendingState'],this[_0x34340c(0x16e)],this['type'],_0x5ef78b[0x0],_0x373b18,this[_0x34340c(0x25a)],void 0x0);}throw _0x4b7c25[_0x34340c(0x215)];}throw _0x1d2a0d[_0x34340c(0x215)];}catch(_0x225a07){return this['_logService'][_0x34340c(0x215)](_0x225a07),this['_onConflict'](!0x1);}}[_0x2e58ba(0x110)](_0x1d5bb8){var _0x80894=_0x2e58ba;if(this[_0x80894(0x14f)](),this['_checkMissing'](_0x1d5bb8))return this[_0x80894(0x386)][_0x80894(0x38a)](exports['FetchingMissState'],this[_0x80894(0x16e)],this[_0x80894(0x37d)],null,this['_pendingMutations'],this[_0x80894(0x14d)],[],this[_0x80894(0x25a)]);this[_0x80894(0x1e3)]();const _0xe8c33e=this[_0x80894(0x386)]['createInstance'](exports[_0x80894(0xd0)],this[_0x80894(0x16e)],this[_0x80894(0x37d)],this[_0x80894(0x3c0)],this[_0x80894(0x25a)]);return _0xe8c33e[_0x80894(0xa9)](),_0xe8c33e['_updateLocalCache'](),_0xe8c33e;}['onRemoteRej'](_0x3d9e4c){var _0x30e091=_0x2e58ba;return this['_onConflict'](!!(_0x3d9e4c!=null&&_0x3d9e4c[_0x30e091(0x1b9)]));}[_0x2e58ba(0x362)](_0x2761fb){var _0x4bd30e=_0x2e58ba;return this[_0x4bd30e(0x3ca)]>Ut?this[_0x4bd30e(0x3bb)]():(this[_0x4bd30e(0x417)]=Nt(this[_0x4bd30e(0x3ca)],{'timeout':this[_0x4bd30e(0x3ca)],'reqId':_0x2761fb['reqId']}),this[_0x4bd30e(0x364)]=this['_resendTimer'][_0x4bd30e(0x355)](({reqId:_0x4fe59c,timeout:_0x4f68a1})=>{this['_resendWithTimeout'](_0x4fe59c,_0x4f68a1);}),this);}[_0x2e58ba(0x3bb)](){var _0x5ac488=_0x2e58ba;return this[_0x5ac488(0x14f)](),this[_0x5ac488(0x386)][_0x5ac488(0x38a)](exports[_0x5ac488(0x122)],this[_0x5ac488(0x16e)],this[_0x5ac488(0x37d)],this[_0x5ac488(0x14d)],this[_0x5ac488(0x3c0)],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x53d24f=_0x2e58ba;this[_0x53d24f(0x25a)][_0x53d24f(0x3aa)](this[_0x53d24f(0x14d)]);}['_onConflict'](_0x127334){var _0x13338d=_0x2e58ba;return this[_0x13338d(0x14f)](),this[_0x13338d(0x386)][_0x13338d(0x38a)](exports['ConflictState'],this[_0x13338d(0x16e)],this[_0x13338d(0x37d)],null,this[_0x13338d(0x3c0)],this[_0x13338d(0x25a)],_0x127334);}[_0x2e58ba(0x291)](_0xe14253,_0x459688){var _0x20fe77=_0x2e58ba,_0x39c5c5;_0xe14253===((_0x39c5c5=this[_0x20fe77(0x14d)])==null?void 0x0:_0x39c5c5['reqId'])&&(this[_0x20fe77(0x36d)](),this[_0x20fe77(0x3ca)]=_0x459688===0x0?0x3e8:_0x459688*0x2);}[_0x2e58ba(0x14f)](){var _0x50e909=_0x2e58ba,_0x1f6532;(_0x1f6532=this[_0x50e909(0x364)])==null||_0x1f6532[_0x50e909(0x218)](),this['_resendTimeout']=0x0;}},exports[_0x2e58ba(0x1fd)]=le([A(0x6,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x302)])),A(0x7,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x37c)])),A(0x8,a['ICommandService']),A(0x9,a[_0x2e58ba(0x376)]),A(0xa,m[_0x2e58ba(0x343)]),A(0xb,a[_0x2e58ba(0x2bb)]),A(0xc,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x1fd)]),exports['ConflictState']=class extends _e{constructor(_0x44040d,_0x56b1d4,_0x40476d,_0x3d2a4f,_0x2a93b7,_0x2d6654=!0x1,_0x3f1ae2,_0x266faa,_0xe1d8c5,_0x5d876d,_0x5b681e,_0xd8ed1c,_0x5c8f3e){var _0x3edea8=_0x2e58ba;super(_0x44040d,_0x56b1d4,_0x40476d,_0x3d2a4f,_0x2a93b7,_0x266faa,_0xe1d8c5,_0x5d876d,_0x5c8f3e),D(this,_0x3edea8(0x235),_0x3edea8(0xe6)),(this['_isPermissionRej']=_0x2d6654,this['_permissionService']=_0x3f1ae2,this['_localeService']=_0x5b681e,this[_0x3edea8(0x3fd)]=_0xd8ed1c,this['localCacheService']=_0x5c8f3e,this[_0x3edea8(0x311)](),this[_0x3edea8(0x226)](),this[_0x3edea8(0xea)]());}[_0x2e58ba(0x33d)](){return this;}[_0x2e58ba(0x1eb)](){return this;}[_0x2e58ba(0x110)](){return this;}[_0x2e58ba(0x358)](){return this;}[_0x2e58ba(0x362)](){return this;}[_0x2e58ba(0x3bb)](){return this;}[_0x2e58ba(0x142)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2e58ba(0x226)](){var _0x3b3040=_0x2e58ba,_0x5e6949;(_0x5e6949=this[_0x3b3040(0x3d7)])==null||_0x5e6949[_0x3b3040(0x11e)](this['unitID'],this[_0x3b3040(0x37d)],null,[]);}[_0x2e58ba(0x311)](){var _0x300564=_0x2e58ba;this[_0x300564(0xe3)]?this[_0x300564(0x3fd)][_0x300564(0xb4)]({'id':Q['PERMISSION_DENIED']}):this[_0x300564(0x3fd)][_0x300564(0xb4)]({'id':Q[_0x300564(0x267)]});}[_0x2e58ba(0xea)](){var _0x3a5932=_0x2e58ba;this[_0x3a5932(0x16c)][_0x3a5932(0x340)](new J[(_0x3a5932(0x2a2))](this[_0x3a5932(0x16e)])['id'],!0x1);}},exports[_0x2e58ba(0x2dd)]=le([A(0x6,a['Inject'](a[_0x2e58ba(0x378)])),A(0x7,a[_0x2e58ba(0x2aa)]),A(0x8,a[_0x2e58ba(0x2bb)]),A(0x9,a[_0x2e58ba(0x2dc)](m['RevisionService'])),A(0xa,a[_0x2e58ba(0x2dc)](a['LocaleService'])),A(0xb,a[_0x2e58ba(0x2dc)](te)),A(0xc,a['Optional'](z))],exports[_0x2e58ba(0x2dd)]),exports['OfflineState']=class extends _e{constructor(_0x1a7e72,_0x443f36,_0x2ebba5,_0x32cc9d,_0x4e28eb,_0x1712ae,_0x5228d8,_0x18ccd3,_0x54f593,_0x419855){var _0x4e38f5=_0x2e58ba;super(_0x1a7e72,_0x443f36,_0x2ebba5,_0x32cc9d,_0x4e28eb,_0x18ccd3,_0x54f593,_0x5228d8,_0x419855),D(this,_0x4e38f5(0x235),'offline'),this[_0x4e38f5(0x386)]=_0x1712ae;}[_0x2e58ba(0x33d)](_0x202971){var _0x28c55d=_0x2e58ba;return this[_0x28c55d(0x3c0)]['push'](_0x202971),this[_0x28c55d(0x98)](),this;}[_0x2e58ba(0x1eb)](_0xc46c32){var _0x1ed134=_0x2e58ba;throw new Error(_0x1ed134(0x1de));}[_0x2e58ba(0x110)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2e58ba(0x358)](){var _0x36cfc3=_0x2e58ba;throw new Error(_0x36cfc3(0x350));}[_0x2e58ba(0x362)](){return this;}['toggleOffline'](){return this;}[_0x2e58ba(0x142)](){var _0x7cfea9=_0x2e58ba;const {_injector:_0x29d568,_pendingMutations:_0x722d83,_awaitingChangeset:_0x4892ce,unitID:_0x538a0d,_handler:_0x4c4a3a,type:_0x11a244}=this,_0x90c33=Pt(_0x29d568,_0x538a0d,_0x11a244,_0x4892ce,_0x722d83,_0x4c4a3a);return _0x90c33 instanceof exports['PendingState']?_0x90c33[_0x7cfea9(0xa9)]():(_0x90c33 instanceof exports['AwaitingWithPendingState']||_0x90c33 instanceof exports[_0x7cfea9(0x18b)])&&_0x90c33[_0x7cfea9(0x36d)](),_0x90c33;}['resend'](){var _0x177e01=_0x2e58ba;throw new Error(_0x177e01(0x244));}},exports[_0x2e58ba(0x122)]=le([A(0x5,a['Inject'](a[_0x2e58ba(0x302)])),A(0x6,a[_0x2e58ba(0x2dc)](m['RevisionService'])),A(0x7,a[_0x2e58ba(0x2aa)]),A(0x8,a[_0x2e58ba(0x2bb)]),A(0x9,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x122)]),exports[_0x2e58ba(0x105)]=class extends _e{constructor(_0x2668aa,_0x3c43de,_0x5e9d1f,_0x502c44,_0x4df1f8,_0x31c6ed,_0x1da904,_0xca9db,_0x2ce872,_0x1c8fc6,_0x182904,_0x6d9808,_0x2ed4e2,_0x5f4411){var _0x1c4c2d=_0x2e58ba;super(_0x2668aa,_0x3c43de,_0x5e9d1f,_0x502c44,_0x1da904,_0x182904,_0x6d9808,_0x2ce872,_0x5f4411),D(this,'status',_0x1c4c2d(0xdf)),(this['_acknowledgedAwaitingChangeset']=_0x4df1f8,this[_0x1c4c2d(0x28e)]=_0x31c6ed,this[_0x1c4c2d(0x386)]=_0xca9db,this[_0x1c4c2d(0x32a)]=_0x1c8fc6,this[_0x1c4c2d(0x1cb)]=_0x2ed4e2,this['localCacheService']=_0x5f4411);}[_0x2e58ba(0x287)](_0x25ee5e){var _0x1b5feb=_0x2e58ba;try{const _0x261b16=[..._0x25ee5e,...this[_0x1b5feb(0x28e)]],_0x421cf4=[this[_0x1b5feb(0x14d)]||this[_0x1b5feb(0x1ef)]][_0x1b5feb(0x3fe)](_0x36b5e4=>!!_0x36b5e4);let _0x36c7f4,_0x579ab3;if(_0x421cf4[_0x1b5feb(0x1d7)]){const _0xa37b60=this[_0x1b5feb(0x1cb)]['transformChangesets'](_0x261b16,_0x421cf4,!0x1);if(!m[_0x1b5feb(0x35b)](_0xa37b60))throw _0xa37b60[_0x1b5feb(0x215)];_0x36c7f4=_0xa37b60['c1Prime'],_0x579ab3=_0xa37b60[_0x1b5feb(0x3d1)];}else _0x36c7f4=_0x261b16,_0x579ab3=[];let _0x4156b0=this['_pendingMutations'];_0x36c7f4[_0x1b5feb(0x2fe)](_0x3fd97e=>{var _0x4e2785=_0x1b5feb;let _0x20ad3e;if(_0x4156b0[_0x4e2785(0x1d7)]){const _0x3ef45e=this[_0x4e2785(0x1cb)]['transformMutationsWithChangeset'](_0x3fd97e,_0x4156b0);if(!m[_0x4e2785(0x151)](_0x3ef45e))throw _0x3ef45e[_0x4e2785(0x215)];_0x20ad3e=_0x3ef45e[_0x4e2785(0x39b)],_0x4156b0=_0x3ef45e[_0x4e2785(0xdc)];}else _0x20ad3e=_0x3fd97e;this['_executeRemoteChangeset'](_0x20ad3e);}),this[_0x1b5feb(0x1ef)]&&this['_incrementRevisionNumber'](),this[_0x1b5feb(0x14d)]&&_0x579ab3[_0x1b5feb(0x1d7)]&&(_0x579ab3[0x0][_0x1b5feb(0xb3)]=this[_0x1b5feb(0xfb)]());let _0x5d32f6;if(this['_awaitingChangeset']&&_0x4156b0['length']!==0x0)_0x5d32f6=this['_injector'][_0x1b5feb(0x38a)](exports[_0x1b5feb(0x1fd)],this[_0x1b5feb(0x16e)],this[_0x1b5feb(0x37d)],_0x579ab3[0x0],_0x4156b0,this[_0x1b5feb(0x25a)],void 0x0);else{if(this[_0x1b5feb(0x14d)]&&_0x4156b0[_0x1b5feb(0x1d7)]===0x0)_0x579ab3[0x0]['baseRev']=this[_0x1b5feb(0xfb)](),_0x5d32f6=this['_injector'][_0x1b5feb(0x38a)](exports[_0x1b5feb(0x18b)],this[_0x1b5feb(0x16e)],this[_0x1b5feb(0x37d)],_0x579ab3[0x0],this['_handler']);else{if(_0x4156b0[_0x1b5feb(0x1d7)]!==0x0){const _0x34c287=this[_0x1b5feb(0x386)]['createInstance'](exports['PendingState'],this['unitID'],this[_0x1b5feb(0x37d)],_0x4156b0,this[_0x1b5feb(0x25a)]);_0x34c287[_0x1b5feb(0xa9)](),_0x5d32f6=_0x34c287;}else _0x5d32f6=this[_0x1b5feb(0x386)]['createInstance'](exports[_0x1b5feb(0x134)],this['unitID'],this[_0x1b5feb(0x37d)],this[_0x1b5feb(0x25a)]);}}return _0x5d32f6['_updateLocalCache'](),_0x5d32f6;}catch(_0x4777ec){return this[_0x1b5feb(0x32a)][_0x1b5feb(0x215)](_0x1b5feb(0x229),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4777ec),this['_injector'][_0x1b5feb(0x38a)](exports['ConflictState'],this[_0x1b5feb(0x16e)],this[_0x1b5feb(0x37d)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2e58ba(0x33d)](_0x7c2de1){var _0xc2bd30=_0x2e58ba;return this['_pendingMutations'][_0xc2bd30(0x13c)](_0x7c2de1),this;}['onRemoteChangeset'](_0x54d326){var _0x12c683=_0x2e58ba;return this[_0x12c683(0x28e)][_0x12c683(0x13c)](_0x54d326),this;}['onRemoteAck'](_0x2be961){var _0x47a73a=_0x2e58ba;if(this[_0x47a73a(0x14d)])return this['_acknowledgedAwaitingChangeset']=this[_0x47a73a(0x14d)],this[_0x47a73a(0x14d)]=null,this;throw new Error(_0x47a73a(0x3c6));}[_0x2e58ba(0x358)](_0x20f021){var _0x35fd34=_0x2e58ba;return this[_0x35fd34(0x11d)](!!(_0x20f021!=null&&_0x20f021['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2e58ba(0x3bb)](){var _0x245783=_0x2e58ba;return this[_0x245783(0x386)]['createInstance'](exports[_0x245783(0x122)],this[_0x245783(0x16e)],this[_0x245783(0x37d)],this[_0x245783(0x14d)],this[_0x245783(0x3c0)],this[_0x245783(0x25a)]);}['toggleOnline'](){return this;}['_onConflict'](_0x41eb86){var _0x4fb42d=_0x2e58ba;return this[_0x4fb42d(0x386)][_0x4fb42d(0x38a)](exports[_0x4fb42d(0x2dd)],this['unitID'],this[_0x4fb42d(0x37d)],this[_0x4fb42d(0x14d)],this[_0x4fb42d(0x3c0)],this['_handler'],_0x41eb86);}},exports[_0x2e58ba(0x105)]=le([A(0x7,a['Inject'](a['Injector'])),A(0x8,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x37c)])),A(0x9,a[_0x2e58ba(0x376)]),A(0xa,a[_0x2e58ba(0x2aa)]),A(0xb,a[_0x2e58ba(0x2bb)]),A(0xc,m[_0x2e58ba(0x343)]),A(0xd,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x105)]);function Pt(_0x13f53a,_0x33234e,_0x176898,_0x4511e5,_0x2d7473,_0x2b3edd){var _0x5e0ae4=_0x2e58ba;return _0x4511e5&&_0x2d7473[_0x5e0ae4(0x1d7)]?_0x13f53a[_0x5e0ae4(0x38a)](exports[_0x5e0ae4(0x1fd)],_0x33234e,_0x176898,_0x4511e5,_0x2d7473,_0x2b3edd,void 0x0):_0x4511e5?_0x13f53a[_0x5e0ae4(0x38a)](exports[_0x5e0ae4(0x18b)],_0x33234e,_0x176898,_0x4511e5,_0x2b3edd):_0x2d7473[_0x5e0ae4(0x1d7)]?_0x13f53a[_0x5e0ae4(0x38a)](exports[_0x5e0ae4(0xd0)],_0x33234e,_0x176898,_0x2d7473,_0x2b3edd):_0x13f53a[_0x5e0ae4(0x38a)](exports['SyncedState'],_0x33234e,_0x176898,_0x2b3edd);}var Pn=Object[_0x2e58ba(0xf6)],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0x45895b,_0x1be8da,_0x22fe36,_0x580fc1)=>{var _0x2b4e36=_0x2e58ba;for(var _0x57251d=_0x580fc1>0x1?void 0x0:_0x580fc1?Dn(_0x1be8da,_0x22fe36):_0x1be8da,_0x501d4a=_0x45895b[_0x2b4e36(0x1d7)]-0x1,_0x465d22;_0x501d4a>=0x0;_0x501d4a--)(_0x465d22=_0x45895b[_0x501d4a])&&(_0x57251d=(_0x580fc1?_0x465d22(_0x1be8da,_0x22fe36,_0x57251d):_0x465d22(_0x57251d))||_0x57251d);return _0x580fc1&&_0x57251d&&Pn(_0x1be8da,_0x22fe36,_0x57251d),_0x57251d;},k=(_0x17facd,_0x1746dc)=>(_0x5c2d4b,_0x98d955)=>_0x1746dc(_0x5c2d4b,_0x98d955,_0x17facd);exports[_0x2e58ba(0x190)]=class extends a[_0x2e58ba(0x2ec)]{constructor(_0x48665d,_0x5123a0,_0x38529e,_0x22f92b,_0x57e7ec,_0x26b463,_0x465d59,_0x57f4db,_0x41d254,_0x39a4f1,_0x4fbd3f,_0x52ed18,_0xd3b70e){var _0x1ff44e=_0x2e58ba;super(),D(this,_0x1ff44e(0x93),new H[(_0x1ff44e(0xb9))](null)),D(this,_0x1ff44e(0x136),this['_state$'][_0x1ff44e(0x407)]()),D(this,_0x1ff44e(0x277)),D(this,_0x1ff44e(0x14b),!0x1),D(this,_0x1ff44e(0x363),''),D(this,_0x1ff44e(0x397),0x0),D(this,'status$',this[_0x1ff44e(0x136)]['pipe'](H[_0x1ff44e(0x39f)](_0x1afafe=>_0x1afafe?_0x1afafe[_0x1ff44e(0x235)]:We[_0x1ff44e(0x3de)]),H['shareReplay'](0x1))),D(this,_0x1ff44e(0x194),!0x1),D(this,_0x1ff44e(0x195),[]),(this[_0x1ff44e(0x16e)]=_0x48665d,this['session']=_0x5123a0,this[_0x1ff44e(0xb2)]=_0x38529e,this[_0x1ff44e(0x386)]=_0x22f92b,this[_0x1ff44e(0x121)]=_0x57e7ec,this['_localeService']=_0x26b463,this[_0x1ff44e(0x252)]=_0x465d59,this['_eventService']=_0x57f4db,this['_logService']=_0x41d254,this['_commandService']=_0x39a4f1,this[_0x1ff44e(0x16c)]=_0x4fbd3f,this[_0x1ff44e(0x120)]=_0x52ed18,this[_0x1ff44e(0x3d7)]=_0xd3b70e);}get[_0x2e58ba(0x33e)](){return this['_state'];}async[_0x2e58ba(0x2da)](){var _0x341fb1=_0x2e58ba;if(this[_0x341fb1(0x33e)])throw new Error(_0x341fb1(0x152));await this['_init']();}[_0x2e58ba(0x213)](){var _0x337f2d=_0x2e58ba;return this[_0x337f2d(0x14b)]=!0x0,a[_0x337f2d(0x22e)](()=>{var _0x32fc94=_0x337f2d;this[_0x32fc94(0x14b)]=!0x1,this[_0x32fc94(0x2d3)]();});}[_0x2e58ba(0x138)](_0x278510){var _0x26522d=_0x2e58ba;this[_0x26522d(0x246)](_0x278510);}['_updateState'](_0xa34614){var _0x5459fb=_0x2e58ba;this[_0x5459fb(0x277)]=_0xa34614,this[_0x5459fb(0x93)][_0x5459fb(0x13e)](_0xa34614);}async[_0x2e58ba(0x295)](){var _0x2bcab2=_0x2e58ba,_0x964b1e;this['_updateState'](await this['_createInitialState']()),this[_0x2bcab2(0x120)]&&((_0x964b1e=this[_0x2bcab2(0x120)])==null||_0x964b1e[_0x2bcab2(0x290)](this['unitID']),this[_0x2bcab2(0x264)](this[_0x2bcab2(0x120)][_0x2bcab2(0x2d5)](this[_0x2bcab2(0x16e)])[_0x2bcab2(0x355)](_0xfe0278=>{var _0x18727b=_0x2bcab2;this[_0x18727b(0x32a)][_0x18727b(0x330)](_0x18727b(0x34e),'editing\x20status\x20changed\x20to',_0xfe0278),_0xfe0278===Fe[_0x18727b(0x245)]?(this[_0x18727b(0xbb)][_0x18727b(0xb4)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x18727b(0x16c)][_0x18727b(0x340)](new J[(_0x18727b(0x2a2))](this[_0x18727b(0x16e)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x18727b(0x16c)][_0x18727b(0x340)](new J[(_0x18727b(0x2a2))](this[_0x18727b(0x16e)])['id'],!0x0),this[_0x18727b(0x16c)][_0x18727b(0x20a)](!0x0));})));let _0x52acb0=!0x1;return this[_0x2bcab2(0x264)](this['session'][_0x2bcab2(0x416)]['subscribe'](_0x5d0548=>{var _0x57aa92=_0x2bcab2;_0x5d0548===se[_0x57aa92(0x411)]?this[_0x57aa92(0x38e)](_0x52acb0):_0x5d0548===se[_0x57aa92(0x3de)]&&(_0x52acb0=!0x0,this[_0x57aa92(0x38b)]());})),this['disposeWithMe'](this[_0x2bcab2(0x1ce)][_0x2bcab2(0x1fe)][_0x2bcab2(0x355)](_0x1d29b1=>{var _0x5cd52f=_0x2bcab2;try{switch(_0x1d29b1[_0x5cd52f(0x2a0)]){case m[_0x5cd52f(0x324)]['NEW_CHANGESETS']:{this[_0x5cd52f(0x28f)](m[_0x5cd52f(0x15e)](_0x1d29b1[_0x5cd52f(0xa8)]));break;}case m[_0x5cd52f(0x324)][_0x5cd52f(0x154)]:{this[_0x5cd52f(0x392)](_0x1d29b1[_0x5cd52f(0xa8)]);break;}case m[_0x5cd52f(0x324)][_0x5cd52f(0x1bf)]:{this[_0x5cd52f(0xeb)]();break;}case m[_0x5cd52f(0x324)]['CHANGESET_SHOULD_RETRY']:{this[_0x5cd52f(0x36b)](_0x1d29b1[_0x5cd52f(0xa8)]);break;}case m[_0x5cd52f(0x324)][_0x5cd52f(0x338)]:{this[_0x5cd52f(0x2c8)](_0x1d29b1[_0x5cd52f(0xa8)][_0x5cd52f(0x3ed)][_0x5cd52f(0x39f)](_0x1fefa1=>m[_0x5cd52f(0x15e)](_0x1fefa1)));break;}case m['CollaborationEvent'][_0x5cd52f(0x32e)]:{this[_0x5cd52f(0xeb)]({'isPermissionRej':!0x0});break;}case m[_0x5cd52f(0x324)][_0x5cd52f(0x210)]:break;}}catch(_0x47ce2f){throw console[_0x5cd52f(0x215)](_0x5cd52f(0x396),_0x47ce2f),_0x47ce2f;}})),this[_0x2bcab2(0x277)];}[_0x2e58ba(0x3cf)](){var _0x550fec=_0x2e58ba;this[_0x550fec(0x194)]=!0x1;}[_0x2e58ba(0x156)](){var _0x218fd3=_0x2e58ba;if(this['_transitionLocked'])throw new Error(_0x218fd3(0x21c));this[_0x218fd3(0x194)]=!0x0;}[_0x2e58ba(0x246)](_0x3837d0){var _0x2786df=_0x2e58ba;this['_lockTransition'](),this['_updateState'](this[_0x2786df(0x277)]['appendMutation'](_0x3837d0)),this[_0x2786df(0x3cf)]();}[_0x2e58ba(0x28f)](_0x4c775e){var _0x1068d1=_0x2e58ba;if(!(_0x4c775e[_0x1068d1(0x25f)]<=this['_revisionService'][_0x1068d1(0x137)](this[_0x1068d1(0x16e)]))){if(this[_0x1068d1(0x14b)]){this[_0x1068d1(0x195)]['push'](_0x4c775e);return;}this[_0x1068d1(0xd9)](_0x4c775e);}}[_0x2e58ba(0x2d3)](){var _0x5c1abf=_0x2e58ba;this[_0x5c1abf(0x195)]['forEach'](_0xd3849a=>this[_0x5c1abf(0xd9)](_0xd3849a)),this[_0x5c1abf(0x195)]=[];}[_0x2e58ba(0xd9)](_0x2fa604){var _0x20394a=_0x2e58ba;const _0x59165a=this['_compressMutationService'][_0x20394a(0x140)][_0x20394a(0x16d)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2fa604[_0x20394a(0x1ff)],null)||_0x2fa604[_0x20394a(0x1ff)],_0x5b0207={..._0x2fa604,'mutations':_0x59165a};this[_0x20394a(0x156)](),this[_0x20394a(0x30e)](this[_0x20394a(0x277)][_0x20394a(0x1eb)](_0x5b0207)),this[_0x20394a(0x3cf)]();}[_0x2e58ba(0x392)](_0x40dd3c){var _0x134ee7=_0x2e58ba;this[_0x134ee7(0x156)](),this[_0x134ee7(0x30e)](this[_0x134ee7(0x277)]['onRemoteAck'](_0x40dd3c)),this[_0x134ee7(0x3cf)]();}['_onRemoteRejected'](_0x10414e){var _0x468ab2=_0x2e58ba;this['_lockTransition'](),this['_updateState'](this[_0x468ab2(0x277)][_0x468ab2(0x358)](_0x10414e)),this[_0x468ab2(0x3cf)]();}[_0x2e58ba(0x36b)](_0x2cf294){var _0x6faab5=_0x2e58ba;this[_0x6faab5(0x156)](),this['_updateState'](this[_0x6faab5(0x277)]['onRemoteRetry'](_0x2cf294)),this[_0x6faab5(0x3cf)]();}['_onFetchMissResult'](_0x4bc796){var _0x2256bb=_0x2e58ba;if(!(this[_0x2256bb(0x277)]instanceof exports[_0x2256bb(0x105)]))throw new TypeError(_0x2256bb(0x1d3));const _0x4f4eea=_0x4bc796['map'](_0x53a7d0=>{var _0x5f5f68=_0x2256bb;const _0x4dcfd8=this[_0x5f5f68(0x121)][_0x5f5f68(0x140)]['fetchThroughInterceptors'](this[_0x5f5f68(0x121)]['interceptor']['getInterceptPoints']()[_0x5f5f68(0x2ad)])(_0x53a7d0[_0x5f5f68(0x1ff)],null)||_0x53a7d0[_0x5f5f68(0x1ff)];return{..._0x53a7d0,'mutations':_0x4dcfd8};});this['_lockTransition'](),this[_0x2256bb(0x30e)](this[_0x2256bb(0x277)][_0x2256bb(0x287)](_0x4f4eea)),this[_0x2256bb(0x3cf)]();}['_toggleOffline'](){var _0x4a81b3=_0x2e58ba;this['_lockTransition'](),this[_0x4a81b3(0x30e)](this[_0x4a81b3(0x277)][_0x4a81b3(0x3bb)]()),this[_0x4a81b3(0x3cf)]();}[_0x2e58ba(0x38e)](_0x2d837=!0x1){var _0x24e703=_0x2e58ba;this[_0x24e703(0x156)](),this[_0x24e703(0x30e)](this[_0x24e703(0x277)][_0x24e703(0x142)]()),this[_0x24e703(0x3cf)]();const _0x39a62f=this[_0x24e703(0x277)];_0x2d837&&_0x39a62f instanceof exports[_0x24e703(0x134)]&&(this[_0x24e703(0x156)](),this[_0x24e703(0x30e)](_0x39a62f['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x34fbe6=>{var _0x2083e7=_0x2768;this[_0x2083e7(0x1ce)]['sessionStatus$'][_0x2083e7(0x22f)](H[_0x2083e7(0x2e7)](0x1))[_0x2083e7(0x355)](async _0x237888=>{var _0x642634=_0x2083e7;_0x34fbe6(await this[_0x642634(0x398)](_0x237888===se[_0x642634(0x411)]));});});}[_0x2e58ba(0x249)](){var _0x4a8e24=_0x2e58ba;const _0x2dbcdc=this[_0x4a8e24(0x16e)];return{'onStateChange':(_0x16255d,_0x2eea47)=>{var _0xfb9408=_0x4a8e24;if(_0x16255d!==this[_0xfb9408(0x277)])throw new Error(_0xfb9408(0x199)+_0x16255d['status']+_0xfb9408(0x3bf)+_0x2eea47[_0xfb9408(0x235)]+'\x0aCurrent:\x20'+this[_0xfb9408(0x277)][_0xfb9408(0x235)]);this[_0xfb9408(0x30e)](_0x2eea47);},'onSendChangeset':_0x5b62a4=>{var _0x3be569=_0x4a8e24;_0x5b62a4[_0x3be569(0xd1)]||(_0x5b62a4[_0x3be569(0xd1)]=this[_0x3be569(0x363)],_0x5b62a4['reqId']=++this['_changesetReqId']);const _0x746003={'eventID':m[_0x3be569(0x324)][_0x3be569(0x2a8)],'data':{'unitID':_0x5b62a4[_0x3be569(0x16e)],'unitType':this[_0x3be569(0xb2)],'changeset':_0x5b62a4,'memberID':this[_0x3be569(0x1ce)]['getMemberID']()}};this['session'][_0x3be569(0x326)](_0x746003,this[_0x3be569(0x16e)]);},'onMissingChangesets':({from:_0x9e8c5a,to:_0x5c5166})=>{var _0x592177=_0x4a8e24;this['_logService'][_0x592177(0x330)](_0x592177(0x34e),_0x592177(0x23d)+_0x9e8c5a+'\x20to\x20'+_0x5c5166);const _0x32f9eb={'eventID':m[_0x592177(0x324)][_0x592177(0x1df)],'data':{'unitID':_0x2dbcdc,'unitType':this[_0x592177(0xb2)],'from':_0x9e8c5a,'to':_0x5c5166}};this[_0x592177(0x1ce)][_0x592177(0x326)](_0x32f9eb,this[_0x592177(0x16e)]);}};}async[_0x2e58ba(0x398)](_0x266b10){var _0x1195a3=_0x2e58ba,_0x2600d3,_0xc57860,_0x22f582;const _0x231de7=await((_0x2600d3=this[_0x1195a3(0x3d7)])==null?void 0x0:_0x2600d3[_0x1195a3(0x40e)](this[_0x1195a3(0x16e)])),_0x562fb0=(_0xc57860=_0x231de7==null?void 0x0:_0x231de7['mutations'])!=null?_0xc57860:[],_0xb6840f=(_0x22f582=_0x231de7==null?void 0x0:_0x231de7['awaitingChangeset'])!=null?_0x22f582:null,_0xb2416c=!!(_0xb6840f!=null&&_0xb6840f['sid'])&&!!(_0xb6840f!=null&&_0xb6840f[_0x1195a3(0x3dc)]);this['_changesetSessionId']=_0xb2416c?_0xb6840f[_0x1195a3(0xd1)]:gn(),this[_0x1195a3(0x397)]=_0xb2416c?_0xb6840f[_0x1195a3(0x3dc)]:0x0;const _0x57139b=this[_0x1195a3(0x16e)];try{this[_0x1195a3(0x18e)](_0xb6840f,_0x562fb0);}catch(_0x56c1c6){this[_0x1195a3(0x32a)][_0x1195a3(0x215)](_0x56c1c6);}const _0x533606=this[_0x1195a3(0x249)]();if(_0x266b10){const _0x5d3621=Pt(this[_0x1195a3(0x386)],_0x57139b,this[_0x1195a3(0xb2)],_0xb6840f,_0x562fb0,_0x533606);return _0x5d3621 instanceof exports[_0x1195a3(0xd0)]?_0x5d3621['_schedule']():(_0x5d3621 instanceof exports['AwaitingWithPendingState']||_0x5d3621 instanceof exports[_0x1195a3(0x18b)])&&_0x5d3621[_0x1195a3(0x36d)](),_0x5d3621;}return this[_0x1195a3(0x386)][_0x1195a3(0x38a)](exports[_0x1195a3(0x122)],_0x57139b,this[_0x1195a3(0xb2)],_0xb6840f,_0x562fb0,_0x533606);}[_0x2e58ba(0x18e)](_0x12789a,_0x2a674c){var _0x20f265=_0x2e58ba,_0x4fb6d5,_0x39b085;const _0x290555=this[_0x20f265(0x121)][_0x20f265(0x140)][_0x20f265(0x16d)](this[_0x20f265(0x121)]['interceptor']['getInterceptPoints']()[_0x20f265(0x2ad)]);(_0x4fb6d5=_0x290555((_0x12789a==null?void 0x0:_0x12789a[_0x20f265(0x1ff)])||[],null))==null||_0x4fb6d5['forEach'](_0x506d36=>this[_0x20f265(0x1be)][_0x20f265(0x320)](_0x506d36['id'],_0x506d36['params'])),(_0x39b085=_0x290555(_0x2a674c||[],null))==null||_0x39b085[_0x20f265(0x2fe)](_0x5ab6ab=>this[_0x20f265(0x1be)]['executeCommand'](_0x5ab6ab['id'],_0x5ab6ab[_0x20f265(0x20c)]));}},exports[_0x2e58ba(0x190)]=Ge([k(0x3,a[_0x2e58ba(0x2dc)](a['Injector'])),k(0x4,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x10e)])),k(0x5,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x346)])),k(0x6,a[_0x2e58ba(0x2dc)](m['RevisionService'])),k(0x7,a[_0x2e58ba(0x2dc)](te)),k(0x8,a[_0x2e58ba(0x376)]),k(0x9,a[_0x2e58ba(0x2aa)]),k(0xa,a['IPermissionService']),k(0xb,a[_0x2e58ba(0x1c2)](ve)),k(0xc,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x190)]),exports['DocCollaborationEntity']=class extends exports[_0x2e58ba(0x190)]{constructor(_0x432961,_0x261c46,_0x1d5ba7,_0x878923,_0x137bef,_0x444164,_0x231cc5,_0x1b70bb,_0x2d974f,_0x35f5ca,_0x54348e,_0x18c9a6,_0x63ec7d){var _0x1aab3c=_0x2e58ba;super(_0x432961,_0x1d5ba7,_0x261c46,_0x878923,_0x137bef,_0x444164,_0x231cc5,_0x1b70bb,_0x2d974f,_0x35f5ca,_0x54348e,_0x18c9a6,_0x63ec7d),D(this,_0x1aab3c(0x3ea),null),(this[_0x1aab3c(0x16e)]=_0x432961,this[_0x1aab3c(0x37d)]=_0x261c46);}[_0x2e58ba(0x115)](_0xb993f0){var _0x3aee52=_0x2e58ba;this[_0x3aee52(0x3ea)]=_0xb993f0;}['dispose'](){var _0x35b6ea=_0x2e58ba;this['_handlerCallback']=null,super[_0x35b6ea(0x17c)]();}[_0x2e58ba(0x249)](){var _0x326c3d=_0x2e58ba;const _0x4e5cc5=super[_0x326c3d(0x249)]();return _0x4e5cc5[_0x326c3d(0x284)]=_0x3e6366=>{var _0x5debf4=_0x326c3d,_0x99f0fa,_0x328c84;return(_0x328c84=(_0x99f0fa=this[_0x5debf4(0x3ea)])==null?void 0x0:_0x99f0fa[_0x5debf4(0x284)])==null?void 0x0:_0x328c84[_0x5debf4(0x3be)](_0x99f0fa,_0x3e6366);},_0x4e5cc5[_0x326c3d(0x2c9)]=_0x4e9ec8=>{var _0x184ae8=_0x326c3d,_0x35a040,_0x3ed2ba;return(_0x3ed2ba=(_0x35a040=this['_handlerCallback'])==null?void 0x0:_0x35a040['onTransformState'])==null?void 0x0:_0x3ed2ba[_0x184ae8(0x3be)](_0x35a040,_0x4e9ec8);},_0x4e5cc5['onTransformSelections']=_0x3717e1=>{var _0x2dd148=_0x326c3d,_0x570499,_0x2558f8;return(_0x2558f8=(_0x570499=this[_0x2dd148(0x3ea)])==null?void 0x0:_0x570499[_0x2dd148(0xfc)])==null?void 0x0:_0x2558f8[_0x2dd148(0x3be)](_0x570499,_0x3717e1);},_0x4e5cc5['onSyncEditingCollabCursor']=_0x5ec888=>{var _0x5b8f4d=_0x326c3d,_0x323ff1,_0xdde889;return(_0xdde889=(_0x323ff1=this[_0x5b8f4d(0x3ea)])==null?void 0x0:_0x323ff1['onSyncEditingCollabCursor'])==null?void 0x0:_0xdde889[_0x5b8f4d(0x3be)](_0x323ff1,_0x5ec888);},_0x4e5cc5['onTransformRemoteChangesetByIMECache']=_0x2bd857=>{var _0x118bfd=_0x326c3d,_0x207e92,_0x1f76f5,_0x38d926;if(!((_0x207e92=this[_0x118bfd(0x3ea)])!=null&&_0x207e92[_0x118bfd(0x1a2)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x38d926=(_0x1f76f5=this[_0x118bfd(0x3ea)])==null?void 0x0:_0x1f76f5[_0x118bfd(0x1a2)])==null?void 0x0:_0x38d926[_0x118bfd(0x3be)](_0x1f76f5,_0x2bd857);},_0x4e5cc5[_0x326c3d(0xf0)]=_0x426559=>{var _0x4b6db9=_0x326c3d,_0x16a8ac,_0x3649bc,_0x1d5ee3;if(!((_0x16a8ac=this['_handlerCallback'])!=null&&_0x16a8ac[_0x4b6db9(0xf0)]))throw new Error(_0x4b6db9(0x31a));return(_0x1d5ee3=(_0x3649bc=this[_0x4b6db9(0x3ea)])==null?void 0x0:_0x3649bc[_0x4b6db9(0xf0)])==null?void 0x0:_0x1d5ee3[_0x4b6db9(0x3be)](_0x3649bc,_0x426559);},_0x4e5cc5;}async[_0x2e58ba(0x295)](){var _0x33a486=_0x2e58ba;const _0x204348=await super[_0x33a486(0x295)]();return this[_0x33a486(0x264)](this[_0x33a486(0x1be)][_0x33a486(0x33c)]((_0x4147a6,_0x9d7d14)=>{var _0x383c51=_0x33a486;if(_0x4147a6[_0x383c51(0x37d)]!==a[_0x383c51(0x216)][_0x383c51(0x34d)]||_0x9d7d14!=null&&_0x9d7d14[_0x383c51(0xf1)]||_0x9d7d14!=null&&_0x9d7d14[_0x383c51(0x3a4)]||_0x4147a6['id']===dt[_0x383c51(0x329)]['id'])return;const _0x1bff41=_0x4147a6[_0x383c51(0x20c)];if((_0x1bff41==null?void 0x0:_0x1bff41[_0x383c51(0x39c)])!==this[_0x383c51(0x16e)])return;const _0x4916a8=_0x4147a6,_0x5b2011=this['_compressMutationService'][_0x383c51(0x140)][_0x383c51(0x16d)](this[_0x383c51(0x121)][_0x383c51(0x140)][_0x383c51(0x18f)]()[_0x383c51(0xfe)])([_0x4916a8],null)||[_0x4916a8];this[_0x383c51(0x246)](_0x5b2011[0x0]);})),_0x204348;}},exports['DocCollaborationEntity']=Ge([k(0x3,a[_0x2e58ba(0x2dc)](a['Injector'])),k(0x4,a['Inject'](m[_0x2e58ba(0x10e)])),k(0x5,a[_0x2e58ba(0x2dc)](a['LocaleService'])),k(0x6,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x37c)])),k(0x7,a[_0x2e58ba(0x2dc)](te)),k(0x8,a[_0x2e58ba(0x376)]),k(0x9,a['ICommandService']),k(0xa,a[_0x2e58ba(0x378)]),k(0xb,a['Optional'](ve)),k(0xc,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x2cd)]),exports[_0x2e58ba(0x40b)]=class extends exports['CollaborationEntity']{constructor(_0x49e6e5,_0x185c80,_0x176c8a,_0x560ec3,_0x52b909,_0x3617dd,_0x59ef0a,_0x538a33,_0x198563,_0x3853b2,_0x4abff2,_0xa1d54c,_0x28e21f,_0x1f002f){var _0x199be2=_0x2e58ba;super(_0x49e6e5,_0x176c8a,_0x185c80,_0x560ec3,_0x52b909,_0x3617dd,_0x59ef0a,_0x198563,_0x3853b2,_0x4abff2,_0xa1d54c,_0x28e21f,_0x1f002f),this[_0x199be2(0x16e)]=_0x49e6e5,this[_0x199be2(0x37d)]=_0x185c80,this[_0x199be2(0x3d9)]=_0x538a33;}[_0x2e58ba(0x249)](){var _0x346c7b=_0x2e58ba;const _0x241c9b=super[_0x346c7b(0x249)]();return _0x241c9b[_0x346c7b(0xfc)]=_0x34fb8d=>this[_0x346c7b(0x3d9)][_0x346c7b(0x3ba)](_0x34fb8d),_0x241c9b;}async[_0x2e58ba(0x295)](){var _0xe2ed95=_0x2e58ba;const _0x2f3ba7=await super[_0xe2ed95(0x295)]();return this[_0xe2ed95(0x264)](this[_0xe2ed95(0x1be)][_0xe2ed95(0x33c)]((_0xa4b04c,_0x39fa6a)=>{var _0x23e2ee=_0xe2ed95;if(_0xa4b04c['type']!==a[_0x23e2ee(0x216)]['MUTATION']||_0x39fa6a!=null&&_0x39fa6a['fromCollab']||_0x39fa6a!=null&&_0x39fa6a[_0x23e2ee(0x3a4)])return;const _0x55532d=_0xa4b04c['params'];if((_0x55532d==null?void 0x0:_0x55532d[_0x23e2ee(0x39c)])!==this[_0x23e2ee(0x16e)])return;const _0x21f051=_0xa4b04c,_0x206a59=this[_0x23e2ee(0x121)][_0x23e2ee(0x140)][_0x23e2ee(0x16d)](this[_0x23e2ee(0x121)][_0x23e2ee(0x140)][_0x23e2ee(0x18f)]()['COMPRESS_MUTATION_SEND'])([_0x21f051],null)||[_0x21f051];this[_0x23e2ee(0x246)](_0x206a59[0x0]);})),_0x2f3ba7;}},exports[_0x2e58ba(0x40b)]=Ge([k(0x3,a[_0x2e58ba(0x2dc)](a['Injector'])),k(0x4,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x10e)])),k(0x5,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x346)])),k(0x6,a['Inject'](m[_0x2e58ba(0x37c)])),k(0x7,a[_0x2e58ba(0x2dc)](exports['SheetTransformSelectionsService'])),k(0x8,a['Inject'](te)),k(0x9,a[_0x2e58ba(0x376)]),k(0xa,a[_0x2e58ba(0x2aa)]),k(0xb,a[_0x2e58ba(0x378)]),k(0xc,a[_0x2e58ba(0x1c2)](ve)),k(0xd,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x40b)]);var wn=Object[_0x2e58ba(0xf6)],An=Object[_0x2e58ba(0x188)],Ln=(_0x59198e,_0x27ee49,_0xba2aa0,_0x40ba4e)=>{var _0x1b4081=_0x2e58ba;for(var _0x312c9f=_0x40ba4e>0x1?void 0x0:_0x40ba4e?An(_0x27ee49,_0xba2aa0):_0x27ee49,_0x4d75a5=_0x59198e[_0x1b4081(0x1d7)]-0x1,_0x3e6b3a;_0x4d75a5>=0x0;_0x4d75a5--)(_0x3e6b3a=_0x59198e[_0x4d75a5])&&(_0x312c9f=(_0x40ba4e?_0x3e6b3a(_0x27ee49,_0xba2aa0,_0x312c9f):_0x3e6b3a(_0x312c9f))||_0x312c9f);return _0x40ba4e&&_0x312c9f&&wn(_0x27ee49,_0xba2aa0,_0x312c9f),_0x312c9f;},we=(_0x331113,_0xc6cfaf)=>(_0x453c06,_0x42c348)=>_0xc6cfaf(_0x453c06,_0x42c348,_0x331113);exports[_0x2e58ba(0x219)]=class extends a[_0x2e58ba(0x2ec)]{constructor(_0x466c05,_0x39a84c,_0x11fa1b){var _0x59eddb=_0x2e58ba;super(),D(this,_0x59eddb(0x1ea),new Map()),D(this,'_entityInit$',new H[(_0x59eddb(0x254))]()),D(this,_0x59eddb(0x305),this[_0x59eddb(0x2de)][_0x59eddb(0x407)]()),(this[_0x59eddb(0x386)]=_0x466c05,this[_0x59eddb(0x335)]=_0x39a84c,this[_0x59eddb(0x240)]=_0x11fa1b,this[_0x59eddb(0x295)]());}[_0x2e58ba(0x17c)](){var _0x12cb0e=_0x2e58ba;super[_0x12cb0e(0x17c)](),this[_0x12cb0e(0x1ea)][_0x12cb0e(0x2fe)](_0x48b517=>_0x48b517[_0x12cb0e(0x17c)]()),this[_0x12cb0e(0x1ea)][_0x12cb0e(0x11c)]();}[_0x2e58ba(0x304)](_0x484553){var _0x593984;return(_0x593984=this['_entities']['get'](_0x484553))!=null?_0x593984:null;}[_0x2e58ba(0x2ca)](_0x5f2b9a){var _0x191506=_0x2e58ba;const _0x4742f7=this['getCollabEntity'](_0x5f2b9a);return _0x4742f7?H['of'](_0x4742f7):this[_0x191506(0x2de)][_0x191506(0x22f)](W[_0x191506(0x3fe)](_0x4d1743=>_0x4d1743[_0x191506(0x16e)]===_0x5f2b9a));}['readyForCollab'](_0x5ef2e6){var _0x533c9e=_0x2e58ba;return H[_0x533c9e(0x3f3)](this[_0x533c9e(0x2ca)](_0x5ef2e6)[_0x533c9e(0x22f)](W[_0x533c9e(0x39f)](()=>{})));}['_init'](){var _0x4decd9=_0x2e58ba;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x4decd9(0x32f)][_0x4decd9(0x1b5)])[_0x4decd9(0x22f)](H[_0x4decd9(0x1f7)](this[_0x4decd9(0x1f3)]),W[_0x4decd9(0x413)](0x10))[_0x4decd9(0x355)](async _0x48ae64=>{var _0xa58b38=_0x4decd9;const _0x393ffd=_0x48ae64[_0xa58b38(0x20f)](),_0x21b825=await this[_0xa58b38(0x116)](_0x393ffd,Z['UNIVER_SHEET']);this[_0xa58b38(0x1ea)][_0xa58b38(0x10b)](_0x393ffd,_0x21b825);}),this[_0x4decd9(0x240)][_0x4decd9(0x3ce)](a['UniverInstanceType'][_0x4decd9(0x185)])[_0x4decd9(0x22f)](H[_0x4decd9(0x1f7)](this[_0x4decd9(0x1f3)]),W[_0x4decd9(0x413)](0x10))[_0x4decd9(0x22f)](W['filter'](_0x20c6e1=>!_0x20c6e1['getUnitId']()[_0x4decd9(0x147)]('__')))[_0x4decd9(0x355)](async _0x1d0f13=>{var _0x30692e=_0x4decd9;const _0x59ffca=_0x1d0f13[_0x30692e(0x20f)](),_0x5066cd=await this[_0x30692e(0x116)](_0x59ffca,Z[_0x30692e(0x185)]);this[_0x30692e(0x1ea)]['set'](_0x59ffca,_0x5066cd);}),H[_0x4decd9(0x29a)](this['_univerInstanceService'][_0x4decd9(0x12e)](a[_0x4decd9(0x32f)][_0x4decd9(0x1b5)]),this[_0x4decd9(0x240)][_0x4decd9(0x12e)](a[_0x4decd9(0x32f)]['UNIVER_DOC']))[_0x4decd9(0x22f)](H['takeUntil'](this[_0x4decd9(0x1f3)]))[_0x4decd9(0x355)](_0x2d837e=>{var _0x1f5f4c=_0x4decd9;const _0x5a4b8d=_0x2d837e[_0x1f5f4c(0x20f)](),_0x2210c2=this[_0x1f5f4c(0x1ea)][_0x1f5f4c(0x357)](_0x5a4b8d);_0x2210c2&&(_0x2210c2['dispose'](),this[_0x1f5f4c(0x1ea)][_0x1f5f4c(0xda)](_0x5a4b8d));});}async[_0x2e58ba(0x116)](_0x51cb61,_0x2f45c0){var _0x1710cd=_0x2e58ba;const _0x427c0d=await this[_0x1710cd(0x335)][_0x1710cd(0x388)](_0x51cb61),_0x12c5a4=this[_0x1710cd(0x386)][_0x1710cd(0x38a)](this['_getCtorByUniverType'](_0x2f45c0),_0x51cb61,_0x2f45c0,_0x427c0d);return await _0x12c5a4[_0x1710cd(0x2da)](),this[_0x1710cd(0x2de)][_0x1710cd(0x13e)](_0x12c5a4),_0x12c5a4;}[_0x2e58ba(0xfd)](_0x2d1094){var _0x59c8eb=_0x2e58ba;switch(_0x2d1094){case Z[_0x59c8eb(0x185)]:return exports[_0x59c8eb(0x2cd)];case Z[_0x59c8eb(0x1b5)]:return exports[_0x59c8eb(0x40b)];default:throw new Error(_0x59c8eb(0x354)+_0x2d1094);}}},exports[_0x2e58ba(0x219)]=Ln([we(0x0,a['Inject'](a[_0x2e58ba(0x302)])),we(0x1,a[_0x2e58ba(0x2dc)](exports[_0x2e58ba(0x181)])),we(0x2,a[_0x2e58ba(0x1f5)])],exports['CollaborationController']);var Mn=Object[_0x2e58ba(0xf6)],xn=Object[_0x2e58ba(0x188)],jn=(_0x33022f,_0x383cf6,_0x1d8613,_0x419204)=>{var _0x2df055=_0x2e58ba;for(var _0xf4446=_0x419204>0x1?void 0x0:_0x419204?xn(_0x383cf6,_0x1d8613):_0x383cf6,_0x3f9feb=_0x33022f[_0x2df055(0x1d7)]-0x1,_0x54ead1;_0x3f9feb>=0x0;_0x3f9feb--)(_0x54ead1=_0x33022f[_0x3f9feb])&&(_0xf4446=(_0x419204?_0x54ead1(_0x383cf6,_0x1d8613,_0xf4446):_0x54ead1(_0xf4446))||_0xf4446);return _0x419204&&_0xf4446&&Mn(_0x383cf6,_0x1d8613,_0xf4446),_0xf4446;},Xe=(_0x4887e4,_0x3ae43d)=>(_0x2834bb,_0x3e484b)=>_0x3ae43d(_0x2834bb,_0x3e484b,_0x4887e4);const $n=_0x2e58ba(0x331),Hn=_0x2e58ba(0x2b3);let $e=class extends a[_0x2e58ba(0x227)]{constructor(_0x31d726,_0x33f7d7){var _0x256205=_0x2e58ba;super(),this[_0x256205(0x240)]=_0x31d726,this['_configService']=_0x33f7d7,this[_0x256205(0x295)]();}[_0x2e58ba(0x295)](){var _0x137f76=_0x2e58ba;this[_0x137f76(0x264)](this[_0x137f76(0x240)][_0x137f76(0x174)]['subscribe'](()=>{var _0x4b0c75=_0x137f76,_0x10f7b3;const _0x137629=this[_0x4b0c75(0x240)][_0x4b0c75(0x412)]();let _0x4f0570=(_0x10f7b3=this[_0x4b0c75(0xa1)][_0x4b0c75(0x3d6)]($n))!=null?_0x10f7b3:Hn;_0x137629 instanceof a[_0x4b0c75(0x132)]&&(_0x4f0570=_0x137629[_0x4b0c75(0x109)]),document[_0x4b0c75(0x17d)]=_0x4f0570;}));}};$e=jn([Xe(0x0,a['IUniverInstanceService']),Xe(0x1,a[_0x2e58ba(0x12d)])],$e);var kn=Object[_0x2e58ba(0xf6)],Bn=Object[_0x2e58ba(0x188)],Fn=(_0x448ca6,_0x566ddc,_0x22a060,_0x15e9a5)=>{var _0x39a0a8=_0x2e58ba;for(var _0x27339a=_0x15e9a5>0x1?void 0x0:_0x15e9a5?Bn(_0x566ddc,_0x22a060):_0x566ddc,_0x5ddc23=_0x448ca6[_0x39a0a8(0x1d7)]-0x1,_0x42ca79;_0x5ddc23>=0x0;_0x5ddc23--)(_0x42ca79=_0x448ca6[_0x5ddc23])&&(_0x27339a=(_0x15e9a5?_0x42ca79(_0x566ddc,_0x22a060,_0x27339a):_0x42ca79(_0x27339a))||_0x27339a);return _0x15e9a5&&_0x27339a&&kn(_0x566ddc,_0x22a060,_0x27339a),_0x27339a;},Ae=(_0x21d28b,_0x36bb68)=>(_0x2d8390,_0xd64247)=>_0x36bb68(_0x2d8390,_0xd64247,_0x21d28b);let ye=class{constructor(_0x4250b8,_0x20d2ed,_0xfc86b6){var _0x5e2427=_0x2e58ba;this['_configService']=_0x4250b8,this['_httpService']=_0x20d2ed,this[_0x5e2427(0x141)]=_0xfc86b6,this[_0x5e2427(0x2da)]();}[_0x2e58ba(0x2da)](){var _0x1c0673=_0x2e58ba;this['_httpService'][_0x1c0673(0x2e6)]({'priority':0x1,'interceptor':(_0x1361b9,_0x46abc3)=>_0x46abc3(_0x1361b9)['pipe'](H[_0x1c0673(0x1ec)](async _0x119570=>{var _0x44dd12=_0x1c0673;const _0x170792=_0x119570;if(_0x170792[_0x44dd12(0x235)]===0x191){if(typeof window>'u')throw new Error(_0x44dd12(0x117));if(window[_0x44dd12(0x189)](this[_0x44dd12(0x141)]['t'](_0x44dd12(0x2f1)))){const _0x101cc3=window[_0x44dd12(0xde)](window[_0x44dd12(0x176)][_0x44dd12(0x404)]);window[_0x44dd12(0x176)][_0x44dd12(0x404)]=this[_0x44dd12(0x1fb)]()+'?url='+_0x101cc3;}}return _0x170792;}))});}['_getLoginPath'](){var _0xabd68b=_0x2e58ba,_0x3d6fab,_0x36befc;const _0x2da6d7=this[_0xabd68b(0xa1)][_0xabd68b(0x3d6)](Ct),_0x626559=this['_configService'][_0xabd68b(0x3d6)](Y);return(_0x36befc=(_0x3d6fab=_0x626559==null?void 0x0:_0x626559['loginUrlKey'])!=null?_0x3d6fab:_0x2da6d7)!=null?_0x36befc:zt;}};ye=Fn([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x2e58ba(0x2dc)](q[_0x2e58ba(0x2f5)])),Ae(0x2,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x346)]))],ye);var Wn=Object[_0x2e58ba(0xf6)],Gn=Object[_0x2e58ba(0x188)],Vn=(_0x491b89,_0x78bd39,_0x5f1c23,_0x21ea04)=>{var _0x4bd045=_0x2e58ba;for(var _0x473202=_0x21ea04>0x1?void 0x0:_0x21ea04?Gn(_0x78bd39,_0x5f1c23):_0x78bd39,_0x17a8af=_0x491b89[_0x4bd045(0x1d7)]-0x1,_0x411a89;_0x17a8af>=0x0;_0x17a8af--)(_0x411a89=_0x491b89[_0x17a8af])&&(_0x473202=(_0x21ea04?_0x411a89(_0x78bd39,_0x5f1c23,_0x473202):_0x411a89(_0x473202))||_0x473202);return _0x21ea04&&_0x473202&&Wn(_0x78bd39,_0x5f1c23,_0x473202),_0x473202;},Ze=(_0xc1b9e7,_0x5ab506)=>(_0x6aca90,_0x579efc)=>_0x5ab506(_0x6aca90,_0x579efc,_0xc1b9e7);const Ve=_0x2e58ba(0xdb),Kn='/universer-api/authz';exports[_0x2e58ba(0x3fb)]=class extends a[_0x2e58ba(0x227)]{constructor(_0x2fca98,_0x25d280){var _0x2be24a=_0x2e58ba;super(),this[_0x2be24a(0x39e)]=_0x2fca98,this[_0x2be24a(0xa1)]=_0x25d280,this[_0x2be24a(0x2d6)]();}[_0x2e58ba(0x2d6)](){var _0x1d51a2=_0x2e58ba;const _0x2ba675=this;this[_0x1d51a2(0x264)](this[_0x1d51a2(0x39e)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x1d51a2(0x15a)]({'isMatch'(_0x187654){var _0x182b28=_0x1d51a2,_0x46fd29;if(_0x187654[_0x182b28(0x2f3)]===_0x182b28(0x266)&&((_0x46fd29=_0x187654[_0x182b28(0x10d)])!=null&&_0x46fd29[_0x182b28(0x1ca)])){const {objectID:_0x41ef39,objectType:_0x2687c3}=_0x187654[_0x182b28(0x10d)][_0x182b28(0x1ca)]||{};if(!_0x41ef39||_0x2687c3===void 0x0)return!0x1;const _0x175e52=_0x2ba675['_getAPIPrefixPath']()+'/'+_0x2687c3+_0x182b28(0x20d)+_0x41ef39+_0x182b28(0x286);if(_0x187654[_0x182b28(0x352)]===_0x175e52)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5d9f63){var _0x11a21c=_0x1d51a2,_0x43b0d9;return(_0x43b0d9=_0x5d9f63[_0x11a21c(0x10d)])==null?void 0x0:_0x43b0d9[_0x11a21c(0x1ca)];},'mergeParamsToRequest'(_0x49aa06,_0x5e9315){var _0x36051d=_0x1d51a2;const _0x5992b5=_0x2ba675['_getAPIPrefixPath']()+_0x36051d(0xbf),_0x47c8ac=_0x49aa06[_0x36051d(0x214)]((_0x1cc8ef,_0x566791)=>{var _0x1c41be=_0x36051d;const {unitID:_0x534ad3,objectID:_0x23b6b5,objectType:_0x59d9f3,actions:_0x4c53a2}=_0x566791;return _0x1cc8ef[_0x534ad3]||(_0x1cc8ef[_0x534ad3]={}),_0x1cc8ef[_0x534ad3][_0x23b6b5]||(_0x1cc8ef[_0x534ad3][_0x23b6b5]={'objectID':_0x23b6b5,'objectType':_0x59d9f3,'actions':[]}),_0x1cc8ef[_0x534ad3][_0x23b6b5][_0x1c41be(0x256)]['push'](..._0x4c53a2),_0x1cc8ef;},{}),_0x397228=[];for(const _0x256883 in _0x47c8ac)for(const _0x364dc2 in _0x47c8ac[_0x256883]){const {actions:_0x6d2834,objectType:_0x3a8f22}=_0x47c8ac[_0x256883][_0x364dc2],_0x2b5e2a=[...new Set(_0x6d2834)];_0x397228[_0x36051d(0x13c)]({'unitID':_0x256883,'objectID':_0x364dc2,'objectType':_0x3a8f22,'actions':_0x2b5e2a});}return new q[(_0x36051d(0x2d0))]('POST',_0x5992b5,{'headers':_0x5e9315['headers'],'withCredentials':_0x5e9315['withCredentials'],'responseType':_0x5e9315[_0x36051d(0x13f)],'body':{'requests':_0x397228}});}},{'distributeResult'(_0x25e204,_0x5429ea){var _0x48d3de=_0x1d51a2;const {objectActions:_0x16ad15}=_0x25e204;return _0x5429ea[_0x48d3de(0x39f)](_0x289ac2=>{var _0x1cd4b8=_0x48d3de;const {unitID:_0x4dab8e,objectID:_0x4953ee,actions:_0x33fa85}=_0x289ac2,_0x49ad06=_0x16ad15['find'](_0x890d3=>_0x890d3['unitID']===_0x4dab8e&&_0x890d3[_0x1cd4b8(0x18d)]===_0x4953ee),_0x618b35=_0x33fa85[_0x1cd4b8(0x39f)](_0x1430ec=>_0x49ad06==null?void 0x0:_0x49ad06[_0x1cd4b8(0x256)][_0x1cd4b8(0x1b3)](_0x4e1c05=>_0x4e1c05[_0x1cd4b8(0x3e7)]===_0x1430ec))[_0x1cd4b8(0x3fe)](_0x513d51=>!!_0x513d51);return{'config':_0x289ac2,'result':{'actions':_0x618b35,'error':_0x25e204[_0x1cd4b8(0x215)]}};});}})}));}[_0x2e58ba(0x103)](){var _0x2e3f5b=_0x2e58ba,_0x283b6a,_0x4e4c44;const _0x360a4c=this[_0x2e3f5b(0xa1)][_0x2e3f5b(0x3d6)](Ve),_0x114628=this[_0x2e3f5b(0xa1)][_0x2e3f5b(0x3d6)](Y);return(_0x4e4c44=(_0x283b6a=_0x114628==null?void 0x0:_0x114628[_0x2e3f5b(0x1ed)])!=null?_0x283b6a:_0x360a4c)!=null?_0x4e4c44:Kn;}async[_0x2e58ba(0x2f4)](_0xb515d9){var _0x244e97=_0x2e58ba;const _0x494651=this[_0x244e97(0x103)]()+'/'+_0xb515d9[_0x244e97(0x228)]+_0x244e97(0x1d8);return(await this['_HTTPService'][_0x244e97(0x405)](_0x494651,{'body':_0xb515d9}))['body']['objectID']||'';}async[_0x2e58ba(0x144)](_0x448a0e){var _0x299fa9=_0x2e58ba;const _0x3f7962=this[_0x299fa9(0x103)]()+'/-/object/list';return(await this[_0x299fa9(0x39e)][_0x299fa9(0x405)](_0x3f7962,{'body':_0x448a0e}))[_0x299fa9(0x1ca)]['objects'];}async['update'](_0x514af7){var _0x5db5ec=_0x2e58ba;const _0x5a515b=this['_getAPIPrefixPath']()+'/'+_0x514af7[_0x5db5ec(0x228)]+_0x5db5ec(0x20d)+_0x514af7['objectID'];await this[_0x5db5ec(0x39e)][_0x5db5ec(0x2d9)](_0x5a515b,{'body':_0x514af7});}async[_0x2e58ba(0x3e6)](_0x5eae63){var _0x1ddc34=_0x2e58ba;const _0x4e68bd=this[_0x1ddc34(0x103)]()+'/'+_0x5eae63[_0x1ddc34(0x228)]+_0x1ddc34(0x20d)+_0x5eae63['objectID']+_0x1ddc34(0x286);return(await this[_0x1ddc34(0x39e)][_0x1ddc34(0x405)](_0x4e68bd,{'body':_0x5eae63}))[_0x1ddc34(0x1ca)][_0x1ddc34(0x256)];}async[_0x2e58ba(0x3a1)](_0x3c8cb4){var _0x46d8d9=_0x2e58ba;const _0x5a6c79=this[_0x46d8d9(0x103)]()+_0x46d8d9(0xbf);return(await this['_HTTPService'][_0x46d8d9(0x405)](_0x5a6c79,{'body':{'requests':_0x3c8cb4}}))[_0x46d8d9(0x1ca)][_0x46d8d9(0x128)];}async[_0x2e58ba(0x34c)](_0x28238d){var _0x19989b=_0x2e58ba;const _0x308ba2=this[_0x19989b(0x103)]()+'/'+_0x28238d[_0x19989b(0x228)]+_0x19989b(0x35e),_0x494c32=await this[_0x19989b(0x39e)][_0x19989b(0x405)](_0x308ba2,{'body':_0x28238d});return{'roles':_0x494c32[_0x19989b(0x1ca)]['roles'],'actions':_0x494c32['body'][_0x19989b(0x256)]};}async[_0x2e58ba(0x38d)](_0x30ce62){var _0xdce05c=_0x2e58ba;const _0x353df4=this[_0xdce05c(0x103)]()+_0xdce05c(0x3f7);await this['_HTTPService'][_0xdce05c(0xda)](_0x353df4,{'params':{'collaboratorID':_0x30ce62['collaboratorID'],'objectID':_0x30ce62['objectID'],'unitID':_0x30ce62[_0xdce05c(0x16e)]}});}async[_0x2e58ba(0x351)](_0x52853a){var _0x3d7203=_0x2e58ba;const _0x57ae59=this['_getAPIPrefixPath']()+_0x3d7203(0x3f7);await this['_HTTPService'][_0x3d7203(0x97)](_0x57ae59,{'body':_0x52853a});}async[_0x2e58ba(0x3e1)](_0x2840c7){var _0x23879f=_0x2e58ba;const _0x3b60ce=this[_0x23879f(0x103)]()+_0x23879f(0x3f7);await this[_0x23879f(0x39e)]['post'](_0x3b60ce,{'body':_0x2840c7});}async[_0x2e58ba(0x3bd)](_0x200b62){var _0x2f7ab3=_0x2e58ba;const _0x5d4a7d=this[_0x2f7ab3(0x103)]()+_0x2f7ab3(0x3f7);return(await this[_0x2f7ab3(0x39e)][_0x2f7ab3(0x357)](_0x5d4a7d,{'params':{'objectID':_0x200b62[_0x2f7ab3(0x18d)],'unitID':_0x200b62['unitID']}}))[_0x2f7ab3(0x1ca)][_0x2f7ab3(0x3ee)];}async[_0x2e58ba(0x12f)](_0x452e8b){var _0x1cd16a=_0x2e58ba;const _0xfbc53d=this[_0x1cd16a(0x103)]()+_0x1cd16a(0x3f7);await this['_HTTPService'][_0x1cd16a(0x2d9)](_0xfbc53d,{'body':_0x452e8b});}},exports[_0x2e58ba(0x3fb)]=Vn([Ze(0x0,a[_0x2e58ba(0x2dc)](q[_0x2e58ba(0x2f5)])),Ze(0x1,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x12d)]))],exports[_0x2e58ba(0x3fb)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x5d758c){var _0x49ee9f=_0x2e58ba;return _0x5d758c&&_0x5d758c['__esModule']&&Object['prototype']['hasOwnProperty'][_0x49ee9f(0x3be)](_0x5d758c,_0x49ee9f(0xf7))?_0x5d758c[_0x49ee9f(0xf7)]:_0x5d758c;}var Se={'exports':{}};function Yn(_0x32717d){var _0x54f924=_0x2e58ba;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x32717d+_0x54f924(0x278));}var pe={'exports':{}},qn=pe[_0x2e58ba(0xd4)],Qe;function ee(){var _0x31b324=_0x2e58ba;return Qe||(Qe=0x1,function(_0x298276,_0x38a323){(function(_0xada499,_0x53d0d2){var _0x5bce8f=_0x2768;_0x298276[_0x5bce8f(0xd4)]=_0x53d0d2();}(qn,function(){var _0x34788c=_0x34788c||function(_0x1b5810,_0x16a4e8){var _0x53f907=_0x2768,_0x504860;if(typeof window<'u'&&window[_0x53f907(0x29b)]&&(_0x504860=window[_0x53f907(0x29b)]),typeof self<'u'&&self['crypto']&&(_0x504860=self[_0x53f907(0x29b)]),typeof globalThis<'u'&&globalThis[_0x53f907(0x29b)]&&(_0x504860=globalThis[_0x53f907(0x29b)]),!_0x504860&&typeof window<'u'&&window[_0x53f907(0x158)]&&(_0x504860=window['msCrypto']),!_0x504860&&typeof Le<'u'&&Le['crypto']&&(_0x504860=Le['crypto']),!_0x504860&&typeof Yn==_0x53f907(0x33f))try{_0x504860=require(_0x53f907(0x29b));}catch{}var _0xdeea6f=function(){var _0xfe91c=_0x53f907;if(_0x504860){if(typeof _0x504860[_0xfe91c(0x28b)]==_0xfe91c(0x33f))try{return _0x504860[_0xfe91c(0x28b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x504860[_0xfe91c(0x2e3)]=='function')try{return _0x504860['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0xfe91c(0x2cf));},_0x5f45d6=Object['create']||(function(){function _0x27f1f4(){}return function(_0x4b8864){var _0x4c3f90=_0x2768,_0x242416;return _0x27f1f4[_0x4c3f90(0x1bb)]=_0x4b8864,_0x242416=new _0x27f1f4(),_0x27f1f4[_0x4c3f90(0x1bb)]=null,_0x242416;};}()),_0x2d51d9={},_0x20fcf9=_0x2d51d9[_0x53f907(0x3cc)]={},_0x1eebd9=_0x20fcf9[_0x53f907(0x1c0)]=(function(){return{'extend':function(_0x3326ce){var _0x4d59eb=_0x2768,_0x9b45b8=_0x5f45d6(this);return _0x3326ce&&_0x9b45b8['mixIn'](_0x3326ce),(!_0x9b45b8['hasOwnProperty'](_0x4d59eb(0x2da))||this['init']===_0x9b45b8['init'])&&(_0x9b45b8[_0x4d59eb(0x2da)]=function(){var _0x2b1b56=_0x4d59eb;_0x9b45b8[_0x2b1b56(0x328)][_0x2b1b56(0x2da)][_0x2b1b56(0x221)](this,arguments);}),_0x9b45b8[_0x4d59eb(0x2da)][_0x4d59eb(0x1bb)]=_0x9b45b8,_0x9b45b8[_0x4d59eb(0x328)]=this,_0x9b45b8;},'create':function(){var _0xbae966=_0x2768,_0xe8298d=this[_0xbae966(0x236)]();return _0xe8298d[_0xbae966(0x2da)]['apply'](_0xe8298d,arguments),_0xe8298d;},'init':function(){},'mixIn':function(_0x142fd1){var _0x14ec3c=_0x2768;for(var _0x140468 in _0x142fd1)_0x142fd1[_0x14ec3c(0x1da)](_0x140468)&&(this[_0x140468]=_0x142fd1[_0x140468]);_0x142fd1[_0x14ec3c(0x1da)]('toString')&&(this['toString']=_0x142fd1['toString']);},'clone':function(){var _0x32d7fd=_0x2768;return this[_0x32d7fd(0x2da)][_0x32d7fd(0x1bb)][_0x32d7fd(0x236)](this);}};}()),_0x3d7857=_0x20fcf9[_0x53f907(0x1ac)]=_0x1eebd9[_0x53f907(0x236)]({'init':function(_0x50a838,_0x30b5c6){var _0x346e12=_0x53f907;_0x50a838=this[_0x346e12(0x102)]=_0x50a838||[],_0x30b5c6!=_0x16a4e8?this[_0x346e12(0x379)]=_0x30b5c6:this['sigBytes']=_0x50a838[_0x346e12(0x1d7)]*0x4;},'toString':function(_0x2a5791){var _0x3713f8=_0x53f907;return(_0x2a5791||_0x2cc2ae)[_0x3713f8(0x402)](this);},'concat':function(_0x343cfd){var _0x5acdd7=_0x53f907,_0x309c21=this[_0x5acdd7(0x102)],_0x5cd73c=_0x343cfd['words'],_0x31a568=this[_0x5acdd7(0x379)],_0x5077f0=_0x343cfd[_0x5acdd7(0x379)];if(this[_0x5acdd7(0xc2)](),_0x31a568%0x4)for(var _0x5bbdea=0x0;_0x5bbdea<_0x5077f0;_0x5bbdea++){var _0x189903=_0x5cd73c[_0x5bbdea>>>0x2]>>>0x18-_0x5bbdea%0x4*0x8&0xff;_0x309c21[_0x31a568+_0x5bbdea>>>0x2]|=_0x189903<<0x18-(_0x31a568+_0x5bbdea)%0x4*0x8;}else{for(var _0x2b795b=0x0;_0x2b795b<_0x5077f0;_0x2b795b+=0x4)_0x309c21[_0x31a568+_0x2b795b>>>0x2]=_0x5cd73c[_0x2b795b>>>0x2];}return this[_0x5acdd7(0x379)]+=_0x5077f0,this;},'clamp':function(){var _0x1ea2e7=_0x53f907,_0x5732f7=this[_0x1ea2e7(0x102)],_0x49de75=this[_0x1ea2e7(0x379)];_0x5732f7[_0x49de75>>>0x2]&=0xffffffff<<0x20-_0x49de75%0x4*0x8,_0x5732f7['length']=_0x1b5810['ceil'](_0x49de75/0x4);},'clone':function(){var _0x153288=_0x53f907,_0x281628=_0x1eebd9[_0x153288(0x371)][_0x153288(0x3be)](this);return _0x281628[_0x153288(0x102)]=this['words'][_0x153288(0x2e9)](0x0),_0x281628;},'random':function(_0x5933ef){var _0x27c780=_0x53f907;for(var _0x1137ae=[],_0x1483f4=0x0;_0x1483f4<_0x5933ef;_0x1483f4+=0x4)_0x1137ae[_0x27c780(0x13c)](_0xdeea6f());return new _0x3d7857[(_0x27c780(0x2da))](_0x1137ae,_0x5933ef);}}),_0x2c72ea=_0x2d51d9[_0x53f907(0x2b1)]={},_0x2cc2ae=_0x2c72ea[_0x53f907(0x2b0)]={'stringify':function(_0x289da9){var _0x21b53c=_0x53f907;for(var _0x58803d=_0x289da9[_0x21b53c(0x102)],_0x17c6b1=_0x289da9[_0x21b53c(0x379)],_0x5d65d4=[],_0x3c3f6c=0x0;_0x3c3f6c<_0x17c6b1;_0x3c3f6c++){var _0x5e4f13=_0x58803d[_0x3c3f6c>>>0x2]>>>0x18-_0x3c3f6c%0x4*0x8&0xff;_0x5d65d4[_0x21b53c(0x13c)]((_0x5e4f13>>>0x4)['toString'](0x10)),_0x5d65d4['push']((_0x5e4f13&0xf)[_0x21b53c(0x260)](0x10));}return _0x5d65d4[_0x21b53c(0x30c)]('');},'parse':function(_0x3d077c){var _0x630ee3=_0x53f907;for(var _0x2cf31c=_0x3d077c[_0x630ee3(0x1d7)],_0x5d98d3=[],_0x37c5af=0x0;_0x37c5af<_0x2cf31c;_0x37c5af+=0x2)_0x5d98d3[_0x37c5af>>>0x3]|=parseInt(_0x3d077c['substr'](_0x37c5af,0x2),0x10)<<0x18-_0x37c5af%0x8*0x4;return new _0x3d7857[(_0x630ee3(0x2da))](_0x5d98d3,_0x2cf31c/0x2);}},_0xa52f9d=_0x2c72ea[_0x53f907(0x2b7)]={'stringify':function(_0x2d7c89){var _0x4a509b=_0x53f907;for(var _0xb5f0f3=_0x2d7c89[_0x4a509b(0x102)],_0x55da14=_0x2d7c89[_0x4a509b(0x379)],_0x42a547=[],_0x36c15c=0x0;_0x36c15c<_0x55da14;_0x36c15c++){var _0x539c31=_0xb5f0f3[_0x36c15c>>>0x2]>>>0x18-_0x36c15c%0x4*0x8&0xff;_0x42a547[_0x4a509b(0x13c)](String[_0x4a509b(0x9b)](_0x539c31));}return _0x42a547[_0x4a509b(0x30c)]('');},'parse':function(_0x4e5022){var _0x2c619d=_0x53f907;for(var _0x56baf9=_0x4e5022[_0x2c619d(0x1d7)],_0xa13c44=[],_0x10d619=0x0;_0x10d619<_0x56baf9;_0x10d619++)_0xa13c44[_0x10d619>>>0x2]|=(_0x4e5022['charCodeAt'](_0x10d619)&0xff)<<0x18-_0x10d619%0x4*0x8;return new _0x3d7857[(_0x2c619d(0x2da))](_0xa13c44,_0x56baf9);}},_0x4c8251=_0x2c72ea[_0x53f907(0x16f)]={'stringify':function(_0x47d6df){var _0x485dd6=_0x53f907;try{return decodeURIComponent(escape(_0xa52f9d[_0x485dd6(0x402)](_0x47d6df)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4c603e){var _0x4f6214=_0x53f907;return _0xa52f9d[_0x4f6214(0x34f)](unescape(encodeURIComponent(_0x4c603e)));}},_0x37f8b7=_0x20fcf9[_0x53f907(0x22d)]=_0x1eebd9['extend']({'reset':function(){var _0x7019a6=_0x53f907;this[_0x7019a6(0x118)]=new _0x3d7857[(_0x7019a6(0x2da))](),this[_0x7019a6(0x2e4)]=0x0;},'_append':function(_0x256e75){var _0x52230b=_0x53f907;typeof _0x256e75==_0x52230b(0x239)&&(_0x256e75=_0x4c8251[_0x52230b(0x34f)](_0x256e75)),this[_0x52230b(0x118)][_0x52230b(0x1fa)](_0x256e75),this[_0x52230b(0x2e4)]+=_0x256e75[_0x52230b(0x379)];},'_process':function(_0xb048ac){var _0x1ab582=_0x53f907,_0x325bcb,_0x4f3ee7=this[_0x1ab582(0x118)],_0x5598f2=_0x4f3ee7[_0x1ab582(0x102)],_0x4448e2=_0x4f3ee7[_0x1ab582(0x379)],_0xcbcb56=this['blockSize'],_0x2a7730=_0xcbcb56*0x4,_0x44d3fd=_0x4448e2/_0x2a7730;_0xb048ac?_0x44d3fd=_0x1b5810[_0x1ab582(0x313)](_0x44d3fd):_0x44d3fd=_0x1b5810[_0x1ab582(0xa7)]((_0x44d3fd|0x0)-this['_minBufferSize'],0x0);var _0x1f7544=_0x44d3fd*_0xcbcb56,_0x10018b=_0x1b5810[_0x1ab582(0x2bc)](_0x1f7544*0x4,_0x4448e2);if(_0x1f7544){for(var _0x36a4c2=0x0;_0x36a4c2<_0x1f7544;_0x36a4c2+=_0xcbcb56)this[_0x1ab582(0x327)](_0x5598f2,_0x36a4c2);_0x325bcb=_0x5598f2[_0x1ab582(0x367)](0x0,_0x1f7544),_0x4f3ee7[_0x1ab582(0x379)]-=_0x10018b;}return new _0x3d7857['init'](_0x325bcb,_0x10018b);},'clone':function(){var _0x5cf51d=_0x53f907,_0xfd1924=_0x1eebd9[_0x5cf51d(0x371)][_0x5cf51d(0x3be)](this);return _0xfd1924[_0x5cf51d(0x118)]=this[_0x5cf51d(0x118)]['clone'](),_0xfd1924;},'_minBufferSize':0x0});_0x20fcf9[_0x53f907(0x17e)]=_0x37f8b7[_0x53f907(0x236)]({'cfg':_0x1eebd9[_0x53f907(0x236)](),'init':function(_0x5b1862){var _0x427c2b=_0x53f907;this[_0x427c2b(0x113)]=this['cfg']['extend'](_0x5b1862),this['reset']();},'reset':function(){var _0x2d56bd=_0x53f907;_0x37f8b7[_0x2d56bd(0x26d)]['call'](this),this['_doReset']();},'update':function(_0x1a3c18){var _0x4b7000=_0x53f907;return this['_append'](_0x1a3c18),this[_0x4b7000(0x2db)](),this;},'finalize':function(_0x1c31b6){var _0x207b41=_0x53f907;_0x1c31b6&&this[_0x207b41(0x3cb)](_0x1c31b6);var _0xa025a3=this[_0x207b41(0x2b5)]();return _0xa025a3;},'blockSize':0x10,'_createHelper':function(_0x4dd645){return function(_0x13de7a,_0x383594){var _0x2f9d4a=_0x2768;return new _0x4dd645[(_0x2f9d4a(0x2da))](_0x383594)['finalize'](_0x13de7a);};},'_createHmacHelper':function(_0x37d495){return function(_0x25d53d,_0x135ab1){var _0x275653=_0x2768;return new _0x52aa46[(_0x275653(0x1b4))][(_0x275653(0x2da))](_0x37d495,_0x135ab1)[_0x275653(0x261)](_0x25d53d);};}});var _0x52aa46=_0x2d51d9[_0x53f907(0x175)]={};return _0x2d51d9;}(Math);return _0x34788c;}));}(pe)),pe[_0x31b324(0xd4)];}var me={'exports':{}},zn=me[_0x2e58ba(0xd4)],et;function Dt(){var _0x1c70b9=_0x2e58ba;return et||(et=0x1,function(_0x466def,_0x3c9dcb){(function(_0x38b6b1,_0xdbf5e7){_0x466def['exports']=_0xdbf5e7(ee());}(zn,function(_0x1f5133){var _0x279f6a=_0x2768;return(function(){var _0x80bc69=_0x2768,_0x127610=_0x1f5133,_0x24fc4f=_0x127610['lib'],_0x250a77=_0x24fc4f[_0x80bc69(0x1ac)],_0x183cce=_0x127610[_0x80bc69(0x2b1)];_0x183cce[_0x80bc69(0x37e)]={'stringify':function(_0xc3e3c3){var _0x1e680e=_0x80bc69,_0x5b0f2a=_0xc3e3c3[_0x1e680e(0x102)],_0xabe17b=_0xc3e3c3[_0x1e680e(0x379)],_0x2dce67=this[_0x1e680e(0xc8)];_0xc3e3c3[_0x1e680e(0xc2)]();for(var _0x54484e=[],_0x108c3c=0x0;_0x108c3c<_0xabe17b;_0x108c3c+=0x3)for(var _0x50fe71=_0x5b0f2a[_0x108c3c>>>0x2]>>>0x18-_0x108c3c%0x4*0x8&0xff,_0x209ebc=_0x5b0f2a[_0x108c3c+0x1>>>0x2]>>>0x18-(_0x108c3c+0x1)%0x4*0x8&0xff,_0x3861f8=_0x5b0f2a[_0x108c3c+0x2>>>0x2]>>>0x18-(_0x108c3c+0x2)%0x4*0x8&0xff,_0xcdf284=_0x50fe71<<0x10|_0x209ebc<<0x8|_0x3861f8,_0x430d41=0x0;_0x430d41<0x4&&_0x108c3c+_0x430d41*0.75<_0xabe17b;_0x430d41++)_0x54484e[_0x1e680e(0x13c)](_0x2dce67[_0x1e680e(0x1f8)](_0xcdf284>>>0x6*(0x3-_0x430d41)&0x3f));var _0x41a34a=_0x2dce67[_0x1e680e(0x1f8)](0x40);if(_0x41a34a){for(;_0x54484e[_0x1e680e(0x1d7)]%0x4;)_0x54484e['push'](_0x41a34a);}return _0x54484e[_0x1e680e(0x30c)]('');},'parse':function(_0x2b8c32){var _0x51d9a6=_0x80bc69,_0x29ab2b=_0x2b8c32[_0x51d9a6(0x1d7)],_0x4e32a9=this['_map'],_0xa72c83=this[_0x51d9a6(0x279)];if(!_0xa72c83){_0xa72c83=this[_0x51d9a6(0x279)]=[];for(var _0xbe83a6=0x0;_0xbe83a6<_0x4e32a9[_0x51d9a6(0x1d7)];_0xbe83a6++)_0xa72c83[_0x4e32a9[_0x51d9a6(0x2e5)](_0xbe83a6)]=_0xbe83a6;}var _0x1dd945=_0x4e32a9[_0x51d9a6(0x1f8)](0x40);if(_0x1dd945){var _0x4ac2ec=_0x2b8c32[_0x51d9a6(0x205)](_0x1dd945);_0x4ac2ec!==-0x1&&(_0x29ab2b=_0x4ac2ec);}return _0x2c9d1f(_0x2b8c32,_0x29ab2b,_0xa72c83);},'_map':_0x80bc69(0x250)};function _0x2c9d1f(_0x35a50f,_0x108148,_0x56c3ec){var _0x11cce3=_0x80bc69;for(var _0x43539d=[],_0x31f2fc=0x0,_0x1dcd68=0x0;_0x1dcd68<_0x108148;_0x1dcd68++)if(_0x1dcd68%0x4){var _0x58e08f=_0x56c3ec[_0x35a50f[_0x11cce3(0x2e5)](_0x1dcd68-0x1)]<<_0x1dcd68%0x4*0x2,_0x1c4375=_0x56c3ec[_0x35a50f['charCodeAt'](_0x1dcd68)]>>>0x6-_0x1dcd68%0x4*0x2,_0xf24fb8=_0x58e08f|_0x1c4375;_0x43539d[_0x31f2fc>>>0x2]|=_0xf24fb8<<0x18-_0x31f2fc%0x4*0x8,_0x31f2fc++;}return _0x250a77[_0x11cce3(0x2f4)](_0x43539d,_0x31f2fc);}}()),_0x1f5133[_0x279f6a(0x2b1)][_0x279f6a(0x37e)];}));}(me)),me[_0x1c70b9(0xd4)];}var ge={'exports':{}},Jn=ge[_0x2e58ba(0xd4)],tt;function Xn(){var _0x5eeb0e=_0x2e58ba;return tt||(tt=0x1,function(_0x3ed358,_0x4cc2e0){(function(_0x3d8a01,_0x1ea885){var _0x27951e=_0x2768;_0x3ed358[_0x27951e(0xd4)]=_0x1ea885(ee());}(Jn,function(_0x16ca4b){var _0x3f34fb=_0x2768;return function(_0x3a15bd){var _0x519e91=_0x2768,_0x4c971e=_0x16ca4b,_0x337c99=_0x4c971e['lib'],_0x337036=_0x337c99[_0x519e91(0x1ac)],_0x13e902=_0x337c99[_0x519e91(0x17e)],_0xd80d9b=_0x4c971e['algo'],_0x285ad6=[];(function(){var _0x4600ce=_0x519e91;for(var _0x53c919=0x0;_0x53c919<0x40;_0x53c919++)_0x285ad6[_0x53c919]=_0x3a15bd[_0x4600ce(0xa3)](_0x3a15bd[_0x4600ce(0x247)](_0x53c919+0x1))*0x100000000|0x0;}());var _0x12112d=_0xd80d9b['MD5']=_0x13e902[_0x519e91(0x236)]({'_doReset':function(){var _0x3eeeb7=_0x519e91;this[_0x3eeeb7(0x230)]=new _0x337036[(_0x3eeeb7(0x2da))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x585466,_0x242acd){var _0x3ad19d=_0x519e91;for(var _0xd2421b=0x0;_0xd2421b<0x10;_0xd2421b++){var _0x525303=_0x242acd+_0xd2421b,_0x556c8d=_0x585466[_0x525303];_0x585466[_0x525303]=(_0x556c8d<<0x8|_0x556c8d>>>0x18)&0xff00ff|(_0x556c8d<<0x18|_0x556c8d>>>0x8)&0xff00ff00;}var _0x131011=this[_0x3ad19d(0x230)][_0x3ad19d(0x102)],_0x4e33a6=_0x585466[_0x242acd+0x0],_0x548fff=_0x585466[_0x242acd+0x1],_0x2d2409=_0x585466[_0x242acd+0x2],_0x1f8d8f=_0x585466[_0x242acd+0x3],_0x40e4e9=_0x585466[_0x242acd+0x4],_0x4e6992=_0x585466[_0x242acd+0x5],_0x4920b2=_0x585466[_0x242acd+0x6],_0x3dcc4a=_0x585466[_0x242acd+0x7],_0xc4a966=_0x585466[_0x242acd+0x8],_0x472440=_0x585466[_0x242acd+0x9],_0x33dd9=_0x585466[_0x242acd+0xa],_0x243a78=_0x585466[_0x242acd+0xb],_0x23a4e6=_0x585466[_0x242acd+0xc],_0x324f41=_0x585466[_0x242acd+0xd],_0x4114c9=_0x585466[_0x242acd+0xe],_0xf7b6f1=_0x585466[_0x242acd+0xf],_0x30ad8b=_0x131011[0x0],_0x30f645=_0x131011[0x1],_0x1c9fc0=_0x131011[0x2],_0x45b2ca=_0x131011[0x3];_0x30ad8b=_0x2b4394(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x4e33a6,0x7,_0x285ad6[0x0]),_0x45b2ca=_0x2b4394(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x548fff,0xc,_0x285ad6[0x1]),_0x1c9fc0=_0x2b4394(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x2d2409,0x11,_0x285ad6[0x2]),_0x30f645=_0x2b4394(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x1f8d8f,0x16,_0x285ad6[0x3]),_0x30ad8b=_0x2b4394(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x40e4e9,0x7,_0x285ad6[0x4]),_0x45b2ca=_0x2b4394(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x4e6992,0xc,_0x285ad6[0x5]),_0x1c9fc0=_0x2b4394(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x4920b2,0x11,_0x285ad6[0x6]),_0x30f645=_0x2b4394(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x3dcc4a,0x16,_0x285ad6[0x7]),_0x30ad8b=_0x2b4394(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0xc4a966,0x7,_0x285ad6[0x8]),_0x45b2ca=_0x2b4394(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x472440,0xc,_0x285ad6[0x9]),_0x1c9fc0=_0x2b4394(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x33dd9,0x11,_0x285ad6[0xa]),_0x30f645=_0x2b4394(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x243a78,0x16,_0x285ad6[0xb]),_0x30ad8b=_0x2b4394(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x23a4e6,0x7,_0x285ad6[0xc]),_0x45b2ca=_0x2b4394(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x324f41,0xc,_0x285ad6[0xd]),_0x1c9fc0=_0x2b4394(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x4114c9,0x11,_0x285ad6[0xe]),_0x30f645=_0x2b4394(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0xf7b6f1,0x16,_0x285ad6[0xf]),_0x30ad8b=_0x51165c(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x548fff,0x5,_0x285ad6[0x10]),_0x45b2ca=_0x51165c(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x4920b2,0x9,_0x285ad6[0x11]),_0x1c9fc0=_0x51165c(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x243a78,0xe,_0x285ad6[0x12]),_0x30f645=_0x51165c(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x4e33a6,0x14,_0x285ad6[0x13]),_0x30ad8b=_0x51165c(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x4e6992,0x5,_0x285ad6[0x14]),_0x45b2ca=_0x51165c(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x33dd9,0x9,_0x285ad6[0x15]),_0x1c9fc0=_0x51165c(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0xf7b6f1,0xe,_0x285ad6[0x16]),_0x30f645=_0x51165c(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x40e4e9,0x14,_0x285ad6[0x17]),_0x30ad8b=_0x51165c(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x472440,0x5,_0x285ad6[0x18]),_0x45b2ca=_0x51165c(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x4114c9,0x9,_0x285ad6[0x19]),_0x1c9fc0=_0x51165c(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x1f8d8f,0xe,_0x285ad6[0x1a]),_0x30f645=_0x51165c(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0xc4a966,0x14,_0x285ad6[0x1b]),_0x30ad8b=_0x51165c(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x324f41,0x5,_0x285ad6[0x1c]),_0x45b2ca=_0x51165c(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x2d2409,0x9,_0x285ad6[0x1d]),_0x1c9fc0=_0x51165c(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x3dcc4a,0xe,_0x285ad6[0x1e]),_0x30f645=_0x51165c(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x23a4e6,0x14,_0x285ad6[0x1f]),_0x30ad8b=_0x5b19f3(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x4e6992,0x4,_0x285ad6[0x20]),_0x45b2ca=_0x5b19f3(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0xc4a966,0xb,_0x285ad6[0x21]),_0x1c9fc0=_0x5b19f3(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x243a78,0x10,_0x285ad6[0x22]),_0x30f645=_0x5b19f3(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x4114c9,0x17,_0x285ad6[0x23]),_0x30ad8b=_0x5b19f3(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x548fff,0x4,_0x285ad6[0x24]),_0x45b2ca=_0x5b19f3(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x40e4e9,0xb,_0x285ad6[0x25]),_0x1c9fc0=_0x5b19f3(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x3dcc4a,0x10,_0x285ad6[0x26]),_0x30f645=_0x5b19f3(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x33dd9,0x17,_0x285ad6[0x27]),_0x30ad8b=_0x5b19f3(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x324f41,0x4,_0x285ad6[0x28]),_0x45b2ca=_0x5b19f3(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x4e33a6,0xb,_0x285ad6[0x29]),_0x1c9fc0=_0x5b19f3(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x1f8d8f,0x10,_0x285ad6[0x2a]),_0x30f645=_0x5b19f3(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x4920b2,0x17,_0x285ad6[0x2b]),_0x30ad8b=_0x5b19f3(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x472440,0x4,_0x285ad6[0x2c]),_0x45b2ca=_0x5b19f3(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x23a4e6,0xb,_0x285ad6[0x2d]),_0x1c9fc0=_0x5b19f3(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0xf7b6f1,0x10,_0x285ad6[0x2e]),_0x30f645=_0x5b19f3(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x2d2409,0x17,_0x285ad6[0x2f]),_0x30ad8b=_0x5f08e0(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x4e33a6,0x6,_0x285ad6[0x30]),_0x45b2ca=_0x5f08e0(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x3dcc4a,0xa,_0x285ad6[0x31]),_0x1c9fc0=_0x5f08e0(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x4114c9,0xf,_0x285ad6[0x32]),_0x30f645=_0x5f08e0(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x4e6992,0x15,_0x285ad6[0x33]),_0x30ad8b=_0x5f08e0(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x23a4e6,0x6,_0x285ad6[0x34]),_0x45b2ca=_0x5f08e0(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x1f8d8f,0xa,_0x285ad6[0x35]),_0x1c9fc0=_0x5f08e0(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x33dd9,0xf,_0x285ad6[0x36]),_0x30f645=_0x5f08e0(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x548fff,0x15,_0x285ad6[0x37]),_0x30ad8b=_0x5f08e0(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0xc4a966,0x6,_0x285ad6[0x38]),_0x45b2ca=_0x5f08e0(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0xf7b6f1,0xa,_0x285ad6[0x39]),_0x1c9fc0=_0x5f08e0(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x4920b2,0xf,_0x285ad6[0x3a]),_0x30f645=_0x5f08e0(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x324f41,0x15,_0x285ad6[0x3b]),_0x30ad8b=_0x5f08e0(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x40e4e9,0x6,_0x285ad6[0x3c]),_0x45b2ca=_0x5f08e0(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x243a78,0xa,_0x285ad6[0x3d]),_0x1c9fc0=_0x5f08e0(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x2d2409,0xf,_0x285ad6[0x3e]),_0x30f645=_0x5f08e0(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x472440,0x15,_0x285ad6[0x3f]),_0x131011[0x0]=_0x131011[0x0]+_0x30ad8b|0x0,_0x131011[0x1]=_0x131011[0x1]+_0x30f645|0x0,_0x131011[0x2]=_0x131011[0x2]+_0x1c9fc0|0x0,_0x131011[0x3]=_0x131011[0x3]+_0x45b2ca|0x0;},'_doFinalize':function(){var _0x3ff581=_0x519e91,_0x3ee262=this['_data'],_0x276069=_0x3ee262[_0x3ff581(0x102)],_0xabc49e=this[_0x3ff581(0x2e4)]*0x8,_0x32cb2f=_0x3ee262[_0x3ff581(0x379)]*0x8;_0x276069[_0x32cb2f>>>0x5]|=0x80<<0x18-_0x32cb2f%0x20;var _0x59d228=_0x3a15bd[_0x3ff581(0x29d)](_0xabc49e/0x100000000),_0xa36e34=_0xabc49e;_0x276069[(_0x32cb2f+0x40>>>0x9<<0x4)+0xf]=(_0x59d228<<0x8|_0x59d228>>>0x18)&0xff00ff|(_0x59d228<<0x18|_0x59d228>>>0x8)&0xff00ff00,_0x276069[(_0x32cb2f+0x40>>>0x9<<0x4)+0xe]=(_0xa36e34<<0x8|_0xa36e34>>>0x18)&0xff00ff|(_0xa36e34<<0x18|_0xa36e34>>>0x8)&0xff00ff00,_0x3ee262['sigBytes']=(_0x276069[_0x3ff581(0x1d7)]+0x1)*0x4,this[_0x3ff581(0x2db)]();for(var _0x4f4eef=this[_0x3ff581(0x230)],_0x1ca478=_0x4f4eef['words'],_0x3511c8=0x0;_0x3511c8<0x4;_0x3511c8++){var _0x4f70aa=_0x1ca478[_0x3511c8];_0x1ca478[_0x3511c8]=(_0x4f70aa<<0x8|_0x4f70aa>>>0x18)&0xff00ff|(_0x4f70aa<<0x18|_0x4f70aa>>>0x8)&0xff00ff00;}return _0x4f4eef;},'clone':function(){var _0x14af63=_0x519e91,_0x5e6a2a=_0x13e902[_0x14af63(0x371)][_0x14af63(0x3be)](this);return _0x5e6a2a[_0x14af63(0x230)]=this[_0x14af63(0x230)][_0x14af63(0x371)](),_0x5e6a2a;}});function _0x2b4394(_0x569f69,_0x6d98cc,_0x548455,_0x451b57,_0x1fbae5,_0x530447,_0x3213dd){var _0x18e74c=_0x569f69+(_0x6d98cc&_0x548455|~_0x6d98cc&_0x451b57)+_0x1fbae5+_0x3213dd;return(_0x18e74c<<_0x530447|_0x18e74c>>>0x20-_0x530447)+_0x6d98cc;}function _0x51165c(_0x3c5723,_0x4296fd,_0x3d5f89,_0x32b604,_0x1ab3b2,_0x2fa596,_0x3aadf7){var _0x13a962=_0x3c5723+(_0x4296fd&_0x32b604|_0x3d5f89&~_0x32b604)+_0x1ab3b2+_0x3aadf7;return(_0x13a962<<_0x2fa596|_0x13a962>>>0x20-_0x2fa596)+_0x4296fd;}function _0x5b19f3(_0x551f4f,_0x1efe82,_0x45cfef,_0x517f4e,_0x65060d,_0x12120b,_0x2c2502){var _0x17bc57=_0x551f4f+(_0x1efe82^_0x45cfef^_0x517f4e)+_0x65060d+_0x2c2502;return(_0x17bc57<<_0x12120b|_0x17bc57>>>0x20-_0x12120b)+_0x1efe82;}function _0x5f08e0(_0x13c6db,_0x35d4c8,_0x10266f,_0x52d878,_0x347e76,_0x32bccc,_0x50394c){var _0x26d75f=_0x13c6db+(_0x10266f^(_0x35d4c8|~_0x52d878))+_0x347e76+_0x50394c;return(_0x26d75f<<_0x32bccc|_0x26d75f>>>0x20-_0x32bccc)+_0x35d4c8;}_0x4c971e[_0x519e91(0xa6)]=_0x13e902[_0x519e91(0x125)](_0x12112d),_0x4c971e[_0x519e91(0x114)]=_0x13e902[_0x519e91(0x35d)](_0x12112d);}(Math),_0x16ca4b[_0x3f34fb(0xa6)];}));}(ge)),ge[_0x5eeb0e(0xd4)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x2e58ba(0xd4)],nt;function Qn(){var _0x3a7fc8=_0x2e58ba;return nt||(nt=0x1,function(_0x91753c,_0x2340a2){(function(_0x3100c5,_0x1e3fb9){var _0x3d8fc4=_0x2768;_0x91753c[_0x3d8fc4(0xd4)]=_0x1e3fb9(ee());}(Zn,function(_0x5ded1d){return(function(){var _0x4d8a37=_0x2768,_0x1b163d=_0x5ded1d,_0x488578=_0x1b163d[_0x4d8a37(0x3cc)],_0x5821f3=_0x488578[_0x4d8a37(0x1ac)],_0x3b17d2=_0x488578['Hasher'],_0x2d1982=_0x1b163d[_0x4d8a37(0x175)],_0x2b0ef6=[],_0x2d38d0=_0x2d1982[_0x4d8a37(0x3e2)]=_0x3b17d2[_0x4d8a37(0x236)]({'_doReset':function(){var _0x15aea6=_0x4d8a37;this[_0x15aea6(0x230)]=new _0x5821f3[(_0x15aea6(0x2da))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x515aca,_0x3e4974){var _0x52b0eb=_0x4d8a37;for(var _0x264d91=this[_0x52b0eb(0x230)]['words'],_0x5f136d=_0x264d91[0x0],_0x4b7f08=_0x264d91[0x1],_0x2d2595=_0x264d91[0x2],_0x3c39ba=_0x264d91[0x3],_0x255ed2=_0x264d91[0x4],_0x427a85=0x0;_0x427a85<0x50;_0x427a85++){if(_0x427a85<0x10)_0x2b0ef6[_0x427a85]=_0x515aca[_0x3e4974+_0x427a85]|0x0;else{var _0x52e46e=_0x2b0ef6[_0x427a85-0x3]^_0x2b0ef6[_0x427a85-0x8]^_0x2b0ef6[_0x427a85-0xe]^_0x2b0ef6[_0x427a85-0x10];_0x2b0ef6[_0x427a85]=_0x52e46e<<0x1|_0x52e46e>>>0x1f;}var _0x99134d=(_0x5f136d<<0x5|_0x5f136d>>>0x1b)+_0x255ed2+_0x2b0ef6[_0x427a85];_0x427a85<0x14?_0x99134d+=(_0x4b7f08&_0x2d2595|~_0x4b7f08&_0x3c39ba)+0x5a827999:_0x427a85<0x28?_0x99134d+=(_0x4b7f08^_0x2d2595^_0x3c39ba)+0x6ed9eba1:_0x427a85<0x3c?_0x99134d+=(_0x4b7f08&_0x2d2595|_0x4b7f08&_0x3c39ba|_0x2d2595&_0x3c39ba)-0x70e44324:_0x99134d+=(_0x4b7f08^_0x2d2595^_0x3c39ba)-0x359d3e2a,_0x255ed2=_0x3c39ba,_0x3c39ba=_0x2d2595,_0x2d2595=_0x4b7f08<<0x1e|_0x4b7f08>>>0x2,_0x4b7f08=_0x5f136d,_0x5f136d=_0x99134d;}_0x264d91[0x0]=_0x264d91[0x0]+_0x5f136d|0x0,_0x264d91[0x1]=_0x264d91[0x1]+_0x4b7f08|0x0,_0x264d91[0x2]=_0x264d91[0x2]+_0x2d2595|0x0,_0x264d91[0x3]=_0x264d91[0x3]+_0x3c39ba|0x0,_0x264d91[0x4]=_0x264d91[0x4]+_0x255ed2|0x0;},'_doFinalize':function(){var _0x7cad3c=_0x4d8a37,_0x2f128d=this['_data'],_0x1cd617=_0x2f128d['words'],_0x577f1f=this[_0x7cad3c(0x2e4)]*0x8,_0x5373af=_0x2f128d[_0x7cad3c(0x379)]*0x8;return _0x1cd617[_0x5373af>>>0x5]|=0x80<<0x18-_0x5373af%0x20,_0x1cd617[(_0x5373af+0x40>>>0x9<<0x4)+0xe]=Math[_0x7cad3c(0x29d)](_0x577f1f/0x100000000),_0x1cd617[(_0x5373af+0x40>>>0x9<<0x4)+0xf]=_0x577f1f,_0x2f128d[_0x7cad3c(0x379)]=_0x1cd617[_0x7cad3c(0x1d7)]*0x4,this[_0x7cad3c(0x2db)](),this[_0x7cad3c(0x230)];},'clone':function(){var _0x532bdb=_0x4d8a37,_0x4c12d5=_0x3b17d2['clone'][_0x532bdb(0x3be)](this);return _0x4c12d5[_0x532bdb(0x230)]=this[_0x532bdb(0x230)]['clone'](),_0x4c12d5;}});_0x1b163d[_0x4d8a37(0x3e2)]=_0x3b17d2[_0x4d8a37(0x125)](_0x2d38d0),_0x1b163d[_0x4d8a37(0x15f)]=_0x3b17d2[_0x4d8a37(0x35d)](_0x2d38d0);}()),_0x5ded1d['SHA1'];}));}(Ee)),Ee[_0x3a7fc8(0xd4)];}var Ce={'exports':{}},ei=Ce[_0x2e58ba(0xd4)],it;function ti(){var _0x427444=_0x2e58ba;return it||(it=0x1,function(_0x109932,_0x353949){(function(_0xf2a86e,_0x263af4){var _0x8f33ce=_0x2768;_0x109932[_0x8f33ce(0xd4)]=_0x263af4(ee());}(ei,function(_0x116133){(function(){var _0x5d1f0c=_0x2768,_0x478f24=_0x116133,_0x2ff0e8=_0x478f24[_0x5d1f0c(0x3cc)],_0x53e171=_0x2ff0e8[_0x5d1f0c(0x1c0)],_0x33e771=_0x478f24['enc'],_0x421674=_0x33e771['Utf8'],_0x2d4de6=_0x478f24[_0x5d1f0c(0x175)];_0x2d4de6[_0x5d1f0c(0x1b4)]=_0x53e171[_0x5d1f0c(0x236)]({'init':function(_0x17c7ac,_0xdd3b1e){var _0x390806=_0x5d1f0c;_0x17c7ac=this[_0x390806(0xbc)]=new _0x17c7ac[(_0x390806(0x2da))](),typeof _0xdd3b1e==_0x390806(0x239)&&(_0xdd3b1e=_0x421674[_0x390806(0x34f)](_0xdd3b1e));var _0x5d5841=_0x17c7ac[_0x390806(0x1af)],_0x49a222=_0x5d5841*0x4;_0xdd3b1e[_0x390806(0x379)]>_0x49a222&&(_0xdd3b1e=_0x17c7ac[_0x390806(0x261)](_0xdd3b1e)),_0xdd3b1e[_0x390806(0xc2)]();for(var _0x3a4e39=this[_0x390806(0x3ae)]=_0xdd3b1e[_0x390806(0x371)](),_0x5ca311=this[_0x390806(0x3b0)]=_0xdd3b1e[_0x390806(0x371)](),_0x42e662=_0x3a4e39['words'],_0x4ebd71=_0x5ca311['words'],_0x5ed308=0x0;_0x5ed308<_0x5d5841;_0x5ed308++)_0x42e662[_0x5ed308]^=0x5c5c5c5c,_0x4ebd71[_0x5ed308]^=0x36363636;_0x3a4e39['sigBytes']=_0x5ca311['sigBytes']=_0x49a222,this[_0x390806(0x26d)]();},'reset':function(){var _0x1756d1=_0x5d1f0c,_0x5945a1=this['_hasher'];_0x5945a1[_0x1756d1(0x26d)](),_0x5945a1[_0x1756d1(0xa5)](this[_0x1756d1(0x3b0)]);},'update':function(_0x1d1932){var _0x6abee=_0x5d1f0c;return this[_0x6abee(0xbc)]['update'](_0x1d1932),this;},'finalize':function(_0x5d50b4){var _0x24bb46=_0x5d1f0c,_0x40cc9c=this['_hasher'],_0x2ffba9=_0x40cc9c[_0x24bb46(0x261)](_0x5d50b4);_0x40cc9c[_0x24bb46(0x26d)]();var _0x38a6f7=_0x40cc9c[_0x24bb46(0x261)](this[_0x24bb46(0x3ae)][_0x24bb46(0x371)]()[_0x24bb46(0x1fa)](_0x2ffba9));return _0x38a6f7;}});}());}));}(Ce)),Ce[_0x427444(0xd4)];}var ni=Ie[_0x2e58ba(0xd4)],rt;function wt(){var _0x4386d9=_0x2e58ba;return rt||(rt=0x1,function(_0x19baad,_0x5f30fc){(function(_0x316009,_0x43dc11,_0x4246d5){var _0x3e1b34=_0x2768;_0x19baad[_0x3e1b34(0xd4)]=_0x43dc11(ee(),Qn(),ti());}(ni,function(_0x59c32d){return(function(){var _0x2c6402=_0x2768,_0x3562d1=_0x59c32d,_0x4b0398=_0x3562d1['lib'],_0x34962f=_0x4b0398['Base'],_0x2169e9=_0x4b0398['WordArray'],_0xd633ad=_0x3562d1[_0x2c6402(0x175)],_0x1332f5=_0xd633ad['MD5'],_0x1125dc=_0xd633ad[_0x2c6402(0x288)]=_0x34962f[_0x2c6402(0x236)]({'cfg':_0x34962f[_0x2c6402(0x236)]({'keySize':0x80/0x20,'hasher':_0x1332f5,'iterations':0x1}),'init':function(_0x1fbbb4){var _0x58cc7f=_0x2c6402;this[_0x58cc7f(0x113)]=this[_0x58cc7f(0x113)][_0x58cc7f(0x236)](_0x1fbbb4);},'compute':function(_0x889297,_0x3b30e2){var _0x295b48=_0x2c6402;for(var _0x88ae56,_0x4e134f=this[_0x295b48(0x113)],_0x524876=_0x4e134f[_0x295b48(0xc9)]['create'](),_0x55c24e=_0x2169e9[_0x295b48(0x2f4)](),_0x423455=_0x55c24e['words'],_0x35ae11=_0x4e134f[_0x295b48(0x1cf)],_0x5eceae=_0x4e134f[_0x295b48(0x3d8)];_0x423455['length']<_0x35ae11;){_0x88ae56&&_0x524876[_0x295b48(0xa5)](_0x88ae56),_0x88ae56=_0x524876['update'](_0x889297)[_0x295b48(0x261)](_0x3b30e2),_0x524876[_0x295b48(0x26d)]();for(var _0x2e94a6=0x1;_0x2e94a6<_0x5eceae;_0x2e94a6++)_0x88ae56=_0x524876[_0x295b48(0x261)](_0x88ae56),_0x524876['reset']();_0x55c24e[_0x295b48(0x1fa)](_0x88ae56);}return _0x55c24e[_0x295b48(0x379)]=_0x35ae11*0x4,_0x55c24e;}});_0x3562d1['EvpKDF']=function(_0x252d8d,_0x5ace24,_0x2519ed){var _0x1e087f=_0x2c6402;return _0x1125dc[_0x1e087f(0x2f4)](_0x2519ed)[_0x1e087f(0x3a9)](_0x252d8d,_0x5ace24);};}()),_0x59c32d['EvpKDF'];}));}(Ie)),Ie[_0x4386d9(0xd4)];}var Te={'exports':{}},ii=Te[_0x2e58ba(0xd4)],st;function At(){var _0x509926=_0x2e58ba;return st||(st=0x1,function(_0x37b252,_0x33ccb9){(function(_0x314b8a,_0x3bacaa,_0x33b3da){_0x37b252['exports']=_0x3bacaa(ee(),wt());}(ii,function(_0x4d27b5){var _0x57302a=_0x2768;_0x4d27b5['lib'][_0x57302a(0x263)]||function(_0x2cd9f8){var _0x40e91d=_0x57302a,_0x107be3=_0x4d27b5,_0x4fc5fd=_0x107be3[_0x40e91d(0x3cc)],_0x2414f0=_0x4fc5fd['Base'],_0x1c93e8=_0x4fc5fd[_0x40e91d(0x1ac)],_0x3b991d=_0x4fc5fd[_0x40e91d(0x22d)],_0x4041bb=_0x107be3[_0x40e91d(0x2b1)];_0x4041bb['Utf8'];var _0x558608=_0x4041bb[_0x40e91d(0x37e)],_0x3cb1ed=_0x107be3[_0x40e91d(0x175)],_0x52d0fc=_0x3cb1ed[_0x40e91d(0x288)],_0x882415=_0x4fc5fd[_0x40e91d(0x263)]=_0x3b991d[_0x40e91d(0x236)]({'cfg':_0x2414f0[_0x40e91d(0x236)](),'createEncryptor':function(_0x15d895,_0x3bb82d){var _0x48a1aa=_0x40e91d;return this[_0x48a1aa(0x2f4)](this[_0x48a1aa(0x2b4)],_0x15d895,_0x3bb82d);},'createDecryptor':function(_0x1debb4,_0x3b5da2){var _0x6b2a31=_0x40e91d;return this[_0x6b2a31(0x2f4)](this['_DEC_XFORM_MODE'],_0x1debb4,_0x3b5da2);},'init':function(_0x4e9822,_0xed5e2,_0x1077c5){var _0x4c24b2=_0x40e91d;this[_0x4c24b2(0x113)]=this[_0x4c24b2(0x113)]['extend'](_0x1077c5),this[_0x4c24b2(0x206)]=_0x4e9822,this['_key']=_0xed5e2,this[_0x4c24b2(0x26d)]();},'reset':function(){var _0x29eac9=_0x40e91d;_0x3b991d[_0x29eac9(0x26d)][_0x29eac9(0x3be)](this),this['_doReset']();},'process':function(_0x443370){var _0x4c6f28=_0x40e91d;return this[_0x4c6f28(0x3cb)](_0x443370),this[_0x4c6f28(0x2db)]();},'finalize':function(_0x1206e0){var _0x3a396b=_0x40e91d;_0x1206e0&&this[_0x3a396b(0x3cb)](_0x1206e0);var _0x2b4536=this['_doFinalize']();return _0x2b4536;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4dd828(_0x4fa3d7){var _0x593e5d=_0x2768;return typeof _0x4fa3d7==_0x593e5d(0x239)?_0x518ce6:_0x23e36a;}return function(_0x33d96a){return{'encrypt':function(_0x36f6d2,_0x44ed68,_0x2ef3d8){var _0x4b6766=_0x2768;return _0x4dd828(_0x44ed68)[_0x4b6766(0x99)](_0x33d96a,_0x36f6d2,_0x44ed68,_0x2ef3d8);},'decrypt':function(_0x3d5419,_0x2fbd78,_0x117d92){return _0x4dd828(_0x2fbd78)['decrypt'](_0x33d96a,_0x3d5419,_0x2fbd78,_0x117d92);}};};}())});_0x4fc5fd[_0x40e91d(0x1db)]=_0x882415['extend']({'_doFinalize':function(){var _0x184da2=_0x40e91d,_0x482aa3=this[_0x184da2(0x2db)](!0x0);return _0x482aa3;},'blockSize':0x1});var _0x33de49=_0x107be3[_0x40e91d(0x2fc)]={},_0x50edef=_0x4fc5fd[_0x40e91d(0x2b8)]=_0x2414f0[_0x40e91d(0x236)]({'createEncryptor':function(_0xc4a476,_0x2652a8){var _0x45c42e=_0x40e91d;return this[_0x45c42e(0x31f)][_0x45c42e(0x2f4)](_0xc4a476,_0x2652a8);},'createDecryptor':function(_0x5831a4,_0x289bc0){var _0x28c888=_0x40e91d;return this[_0x28c888(0xcb)][_0x28c888(0x2f4)](_0x5831a4,_0x289bc0);},'init':function(_0x5e98ec,_0x58d85a){var _0x5cfd5f=_0x40e91d;this[_0x5cfd5f(0x1a7)]=_0x5e98ec,this[_0x5cfd5f(0x19c)]=_0x58d85a;}}),_0x3a26e6=_0x33de49[_0x40e91d(0x27e)]=(function(){var _0x2ea8a8=_0x40e91d,_0x23b3b7=_0x50edef[_0x2ea8a8(0x236)]();_0x23b3b7[_0x2ea8a8(0x31f)]=_0x23b3b7[_0x2ea8a8(0x236)]({'processBlock':function(_0x17b3cd,_0x38840a){var _0x4f9377=_0x2ea8a8,_0x16ffe6=this[_0x4f9377(0x1a7)],_0x4c2164=_0x16ffe6[_0x4f9377(0x1af)];_0x2455b6[_0x4f9377(0x3be)](this,_0x17b3cd,_0x38840a,_0x4c2164),_0x16ffe6['encryptBlock'](_0x17b3cd,_0x38840a),this[_0x4f9377(0x33b)]=_0x17b3cd[_0x4f9377(0x2e9)](_0x38840a,_0x38840a+_0x4c2164);}}),_0x23b3b7[_0x2ea8a8(0xcb)]=_0x23b3b7[_0x2ea8a8(0x236)]({'processBlock':function(_0x4c1b1c,_0x2cc2f2){var _0x51a95d=_0x2ea8a8,_0x3019c3=this[_0x51a95d(0x1a7)],_0x35a2b1=_0x3019c3[_0x51a95d(0x1af)],_0x2fc75c=_0x4c1b1c['slice'](_0x2cc2f2,_0x2cc2f2+_0x35a2b1);_0x3019c3[_0x51a95d(0x281)](_0x4c1b1c,_0x2cc2f2),_0x2455b6['call'](this,_0x4c1b1c,_0x2cc2f2,_0x35a2b1),this[_0x51a95d(0x33b)]=_0x2fc75c;}});function _0x2455b6(_0x3bfb43,_0x50b44d,_0xad8b89){var _0x49c119=_0x2ea8a8,_0x29b7e5,_0x224b29=this[_0x49c119(0x19c)];_0x224b29?(_0x29b7e5=_0x224b29,this[_0x49c119(0x19c)]=_0x2cd9f8):_0x29b7e5=this[_0x49c119(0x33b)];for(var _0x46bc7e=0x0;_0x46bc7e<_0xad8b89;_0x46bc7e++)_0x3bfb43[_0x50b44d+_0x46bc7e]^=_0x29b7e5[_0x46bc7e];}return _0x23b3b7;}()),_0xbc8aa2=_0x107be3[_0x40e91d(0x3ab)]={},_0x38a802=_0xbc8aa2[_0x40e91d(0x1ee)]={'pad':function(_0x35dcb5,_0x51b976){var _0x21d653=_0x40e91d;for(var _0x34f2ad=_0x51b976*0x4,_0x17d523=_0x34f2ad-_0x35dcb5[_0x21d653(0x379)]%_0x34f2ad,_0x4b8c6f=_0x17d523<<0x18|_0x17d523<<0x10|_0x17d523<<0x8|_0x17d523,_0x2ca79f=[],_0x597b6d=0x0;_0x597b6d<_0x17d523;_0x597b6d+=0x4)_0x2ca79f['push'](_0x4b8c6f);var _0x4631d0=_0x1c93e8[_0x21d653(0x2f4)](_0x2ca79f,_0x17d523);_0x35dcb5['concat'](_0x4631d0);},'unpad':function(_0x259fdf){var _0x753c65=_0x40e91d,_0x1fc5d0=_0x259fdf[_0x753c65(0x102)][_0x259fdf[_0x753c65(0x379)]-0x1>>>0x2]&0xff;_0x259fdf[_0x753c65(0x379)]-=_0x1fc5d0;}};_0x4fc5fd[_0x40e91d(0x26e)]=_0x882415[_0x40e91d(0x236)]({'cfg':_0x882415[_0x40e91d(0x113)][_0x40e91d(0x236)]({'mode':_0x3a26e6,'padding':_0x38a802}),'reset':function(){var _0x42e3ee=_0x40e91d,_0x239a5f;_0x882415['reset'][_0x42e3ee(0x3be)](this);var _0x47e4a5=this[_0x42e3ee(0x113)],_0x58a062=_0x47e4a5['iv'],_0x525b8f=_0x47e4a5['mode'];this[_0x42e3ee(0x206)]==this['_ENC_XFORM_MODE']?_0x239a5f=_0x525b8f[_0x42e3ee(0x275)]:(_0x239a5f=_0x525b8f[_0x42e3ee(0x9c)],this[_0x42e3ee(0x1ba)]=0x1),this['_mode']&&this[_0x42e3ee(0x25b)][_0x42e3ee(0xd7)]==_0x239a5f?this[_0x42e3ee(0x25b)][_0x42e3ee(0x2da)](this,_0x58a062&&_0x58a062[_0x42e3ee(0x102)]):(this[_0x42e3ee(0x25b)]=_0x239a5f[_0x42e3ee(0x3be)](_0x525b8f,this,_0x58a062&&_0x58a062[_0x42e3ee(0x102)]),this[_0x42e3ee(0x25b)][_0x42e3ee(0xd7)]=_0x239a5f);},'_doProcessBlock':function(_0x51ec0e,_0x193bb7){var _0x5781ba=_0x40e91d;this[_0x5781ba(0x25b)]['processBlock'](_0x51ec0e,_0x193bb7);},'_doFinalize':function(){var _0x4145f7=_0x40e91d,_0x93acea,_0x3b07c8=this[_0x4145f7(0x113)]['padding'];return this[_0x4145f7(0x206)]==this[_0x4145f7(0x2b4)]?(_0x3b07c8[_0x4145f7(0x3ab)](this[_0x4145f7(0x118)],this[_0x4145f7(0x1af)]),_0x93acea=this['_process'](!0x0)):(_0x93acea=this[_0x4145f7(0x2db)](!0x0),_0x3b07c8[_0x4145f7(0x26f)](_0x93acea)),_0x93acea;},'blockSize':0x80/0x20});var _0x16d2ca=_0x4fc5fd[_0x40e91d(0x1d9)]=_0x2414f0[_0x40e91d(0x236)]({'init':function(_0x510a75){this['mixIn'](_0x510a75);},'toString':function(_0xb5af64){var _0x4cb22c=_0x40e91d;return(_0xb5af64||this[_0x4cb22c(0x1d5)])[_0x4cb22c(0x402)](this);}}),_0xd7a3ed=_0x107be3['format']={},_0x21c22d=_0xd7a3ed[_0x40e91d(0x9f)]={'stringify':function(_0x45a519){var _0x54fd80=_0x40e91d,_0x4c14f7,_0x4e9ad9=_0x45a519[_0x54fd80(0x3b4)],_0x2e7e11=_0x45a519[_0x54fd80(0xab)];return _0x2e7e11?_0x4c14f7=_0x1c93e8['create']([0x53616c74,0x65645f5f])[_0x54fd80(0x1fa)](_0x2e7e11)[_0x54fd80(0x1fa)](_0x4e9ad9):_0x4c14f7=_0x4e9ad9,_0x4c14f7[_0x54fd80(0x260)](_0x558608);},'parse':function(_0x1c99c4){var _0x512497=_0x40e91d,_0x54e58e,_0x2a247a=_0x558608[_0x512497(0x34f)](_0x1c99c4),_0x613084=_0x2a247a[_0x512497(0x102)];return _0x613084[0x0]==0x53616c74&&_0x613084[0x1]==0x65645f5f&&(_0x54e58e=_0x1c93e8[_0x512497(0x2f4)](_0x613084['slice'](0x2,0x4)),_0x613084[_0x512497(0x367)](0x0,0x4),_0x2a247a[_0x512497(0x379)]-=0x10),_0x16d2ca[_0x512497(0x2f4)]({'ciphertext':_0x2a247a,'salt':_0x54e58e});}},_0x23e36a=_0x4fc5fd[_0x40e91d(0x148)]=_0x2414f0['extend']({'cfg':_0x2414f0[_0x40e91d(0x236)]({'format':_0x21c22d}),'encrypt':function(_0x28ede4,_0x52e035,_0x4278ed,_0xbee2fa){var _0xa24674=_0x40e91d;_0xbee2fa=this[_0xa24674(0x113)]['extend'](_0xbee2fa);var _0xe2fd3f=_0x28ede4[_0xa24674(0x275)](_0x4278ed,_0xbee2fa),_0x528f60=_0xe2fd3f[_0xa24674(0x261)](_0x52e035),_0x5476cd=_0xe2fd3f[_0xa24674(0x113)];return _0x16d2ca['create']({'ciphertext':_0x528f60,'key':_0x4278ed,'iv':_0x5476cd['iv'],'algorithm':_0x28ede4,'mode':_0x5476cd[_0xa24674(0x2fc)],'padding':_0x5476cd[_0xa24674(0x18c)],'blockSize':_0x28ede4[_0xa24674(0x1af)],'formatter':_0xbee2fa['format']});},'decrypt':function(_0x1920b6,_0x5c654e,_0x5c381b,_0x119a78){var _0x1d6189=_0x40e91d;_0x119a78=this[_0x1d6189(0x113)][_0x1d6189(0x236)](_0x119a78),_0x5c654e=this[_0x1d6189(0x372)](_0x5c654e,_0x119a78[_0x1d6189(0x2d8)]);var _0x5dc944=_0x1920b6[_0x1d6189(0x9c)](_0x5c381b,_0x119a78)[_0x1d6189(0x261)](_0x5c654e[_0x1d6189(0x3b4)]);return _0x5dc944;},'_parse':function(_0x4209cb,_0x1b46ac){var _0x3c63b3=_0x40e91d;return typeof _0x4209cb=='string'?_0x1b46ac[_0x3c63b3(0x34f)](_0x4209cb,this):_0x4209cb;}}),_0xccd557=_0x107be3[_0x40e91d(0x1a6)]={},_0x254ee9=_0xccd557[_0x40e91d(0x9f)]={'execute':function(_0x5596a2,_0x43217f,_0x50b450,_0x1eade2,_0x367f15){var _0x719e75=_0x40e91d;if(_0x1eade2||(_0x1eade2=_0x1c93e8[_0x719e75(0x2a1)](0x40/0x8)),_0x367f15)var _0x3f5733=_0x52d0fc[_0x719e75(0x2f4)]({'keySize':_0x43217f+_0x50b450,'hasher':_0x367f15})[_0x719e75(0x3a9)](_0x5596a2,_0x1eade2);else var _0x3f5733=_0x52d0fc['create']({'keySize':_0x43217f+_0x50b450})[_0x719e75(0x3a9)](_0x5596a2,_0x1eade2);var _0x3f7b24=_0x1c93e8[_0x719e75(0x2f4)](_0x3f5733[_0x719e75(0x102)]['slice'](_0x43217f),_0x50b450*0x4);return _0x3f5733['sigBytes']=_0x43217f*0x4,_0x16d2ca['create']({'key':_0x3f5733,'iv':_0x3f7b24,'salt':_0x1eade2});}},_0x518ce6=_0x4fc5fd[_0x40e91d(0x30d)]=_0x23e36a[_0x40e91d(0x236)]({'cfg':_0x23e36a[_0x40e91d(0x113)][_0x40e91d(0x236)]({'kdf':_0x254ee9}),'encrypt':function(_0x1d0ad6,_0x235b92,_0x174eb5,_0x187b9e){var _0x52e685=_0x40e91d;_0x187b9e=this[_0x52e685(0x113)]['extend'](_0x187b9e);var _0x21f5de=_0x187b9e['kdf'][_0x52e685(0x359)](_0x174eb5,_0x1d0ad6[_0x52e685(0x1cf)],_0x1d0ad6[_0x52e685(0x197)],_0x187b9e['salt'],_0x187b9e['hasher']);_0x187b9e['iv']=_0x21f5de['iv'];var _0x15dbfb=_0x23e36a[_0x52e685(0x99)][_0x52e685(0x3be)](this,_0x1d0ad6,_0x235b92,_0x21f5de[_0x52e685(0x234)],_0x187b9e);return _0x15dbfb[_0x52e685(0x36e)](_0x21f5de),_0x15dbfb;},'decrypt':function(_0x4118c3,_0x251a57,_0x405050,_0x4b4c29){var _0x4d8b1d=_0x40e91d;_0x4b4c29=this[_0x4d8b1d(0x113)][_0x4d8b1d(0x236)](_0x4b4c29),_0x251a57=this['_parse'](_0x251a57,_0x4b4c29['format']);var _0x31dd97=_0x4b4c29[_0x4d8b1d(0x1a6)][_0x4d8b1d(0x359)](_0x405050,_0x4118c3[_0x4d8b1d(0x1cf)],_0x4118c3['ivSize'],_0x251a57[_0x4d8b1d(0xab)],_0x4b4c29['hasher']);_0x4b4c29['iv']=_0x31dd97['iv'];var _0x22c581=_0x23e36a[_0x4d8b1d(0x2df)][_0x4d8b1d(0x3be)](this,_0x4118c3,_0x251a57,_0x31dd97[_0x4d8b1d(0x234)],_0x4b4c29);return _0x22c581;}});}();}));}(Te)),Te[_0x509926(0xd4)];}var ri=Se[_0x2e58ba(0xd4)],ot;function si(){return ot||(ot=0x1,function(_0x3b1dfb,_0x27e861){(function(_0x3bcae2,_0x21cca9,_0x3c2973){var _0x2e580c=_0x2768;_0x3b1dfb[_0x2e580c(0xd4)]=_0x21cca9(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x4f5449){return(function(){var _0x5b61bd=_0x2768,_0x567748=_0x4f5449,_0xad53bc=_0x567748['lib'],_0x1c764c=_0xad53bc[_0x5b61bd(0x26e)],_0x5689bf=_0x567748[_0x5b61bd(0x175)],_0x49cafd=[],_0x241e46=[],_0x2ef0af=[],_0x1349e1=[],_0x14054c=[],_0x3c0737=[],_0x48f36a=[],_0x58b332=[],_0x1d1b74=[],_0x4f62f8=[];(function(){for(var _0x49f6e8=[],_0x369c20=0x0;_0x369c20<0x100;_0x369c20++)_0x369c20<0x80?_0x49f6e8[_0x369c20]=_0x369c20<<0x1:_0x49f6e8[_0x369c20]=_0x369c20<<0x1^0x11b;for(var _0x5aa603=0x0,_0x2dddb6=0x0,_0x369c20=0x0;_0x369c20<0x100;_0x369c20++){var _0x2d7039=_0x2dddb6^_0x2dddb6<<0x1^_0x2dddb6<<0x2^_0x2dddb6<<0x3^_0x2dddb6<<0x4;_0x2d7039=_0x2d7039>>>0x8^_0x2d7039&0xff^0x63,_0x49cafd[_0x5aa603]=_0x2d7039,_0x241e46[_0x2d7039]=_0x5aa603;var _0x33e2a7=_0x49f6e8[_0x5aa603],_0x83c27a=_0x49f6e8[_0x33e2a7],_0x4fbec0=_0x49f6e8[_0x83c27a],_0x38fe07=_0x49f6e8[_0x2d7039]*0x101^_0x2d7039*0x1010100;_0x2ef0af[_0x5aa603]=_0x38fe07<<0x18|_0x38fe07>>>0x8,_0x1349e1[_0x5aa603]=_0x38fe07<<0x10|_0x38fe07>>>0x10,_0x14054c[_0x5aa603]=_0x38fe07<<0x8|_0x38fe07>>>0x18,_0x3c0737[_0x5aa603]=_0x38fe07;var _0x38fe07=_0x4fbec0*0x1010101^_0x83c27a*0x10001^_0x33e2a7*0x101^_0x5aa603*0x1010100;_0x48f36a[_0x2d7039]=_0x38fe07<<0x18|_0x38fe07>>>0x8,_0x58b332[_0x2d7039]=_0x38fe07<<0x10|_0x38fe07>>>0x10,_0x1d1b74[_0x2d7039]=_0x38fe07<<0x8|_0x38fe07>>>0x18,_0x4f62f8[_0x2d7039]=_0x38fe07,_0x5aa603?(_0x5aa603=_0x33e2a7^_0x49f6e8[_0x49f6e8[_0x49f6e8[_0x4fbec0^_0x33e2a7]]],_0x2dddb6^=_0x49f6e8[_0x49f6e8[_0x2dddb6]]):_0x5aa603=_0x2dddb6=0x1;}}());var _0x7f1c5e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x14fdcf=_0x5689bf['AES']=_0x1c764c['extend']({'_doReset':function(){var _0x21b672=_0x5b61bd,_0x3a4279;if(!(this[_0x21b672(0x146)]&&this[_0x21b672(0x1b6)]===this[_0x21b672(0x238)])){for(var _0x5d82c0=this[_0x21b672(0x1b6)]=this[_0x21b672(0x238)],_0x26618d=_0x5d82c0[_0x21b672(0x102)],_0x55a6cc=_0x5d82c0['sigBytes']/0x4,_0x57ed1a=this['_nRounds']=_0x55a6cc+0x6,_0x39853b=(_0x57ed1a+0x1)*0x4,_0x3e7e6d=this[_0x21b672(0x172)]=[],_0x23198a=0x0;_0x23198a<_0x39853b;_0x23198a++)_0x23198a<_0x55a6cc?_0x3e7e6d[_0x23198a]=_0x26618d[_0x23198a]:(_0x3a4279=_0x3e7e6d[_0x23198a-0x1],_0x23198a%_0x55a6cc?_0x55a6cc>0x6&&_0x23198a%_0x55a6cc==0x4&&(_0x3a4279=_0x49cafd[_0x3a4279>>>0x18]<<0x18|_0x49cafd[_0x3a4279>>>0x10&0xff]<<0x10|_0x49cafd[_0x3a4279>>>0x8&0xff]<<0x8|_0x49cafd[_0x3a4279&0xff]):(_0x3a4279=_0x3a4279<<0x8|_0x3a4279>>>0x18,_0x3a4279=_0x49cafd[_0x3a4279>>>0x18]<<0x18|_0x49cafd[_0x3a4279>>>0x10&0xff]<<0x10|_0x49cafd[_0x3a4279>>>0x8&0xff]<<0x8|_0x49cafd[_0x3a4279&0xff],_0x3a4279^=_0x7f1c5e[_0x23198a/_0x55a6cc|0x0]<<0x18),_0x3e7e6d[_0x23198a]=_0x3e7e6d[_0x23198a-_0x55a6cc]^_0x3a4279);for(var _0x1c4da4=this['_invKeySchedule']=[],_0xb20507=0x0;_0xb20507<_0x39853b;_0xb20507++){var _0x23198a=_0x39853b-_0xb20507;if(_0xb20507%0x4)var _0x3a4279=_0x3e7e6d[_0x23198a];else var _0x3a4279=_0x3e7e6d[_0x23198a-0x4];_0xb20507<0x4||_0x23198a<=0x4?_0x1c4da4[_0xb20507]=_0x3a4279:_0x1c4da4[_0xb20507]=_0x48f36a[_0x49cafd[_0x3a4279>>>0x18]]^_0x58b332[_0x49cafd[_0x3a4279>>>0x10&0xff]]^_0x1d1b74[_0x49cafd[_0x3a4279>>>0x8&0xff]]^_0x4f62f8[_0x49cafd[_0x3a4279&0xff]];}}},'encryptBlock':function(_0x56882e,_0x228962){var _0x394835=_0x5b61bd;this[_0x394835(0x9a)](_0x56882e,_0x228962,this[_0x394835(0x172)],_0x2ef0af,_0x1349e1,_0x14054c,_0x3c0737,_0x49cafd);},'decryptBlock':function(_0x60ba73,_0x51de0b){var _0x3e8699=_0x5b61bd,_0x2e1e10=_0x60ba73[_0x51de0b+0x1];_0x60ba73[_0x51de0b+0x1]=_0x60ba73[_0x51de0b+0x3],_0x60ba73[_0x51de0b+0x3]=_0x2e1e10,this[_0x3e8699(0x9a)](_0x60ba73,_0x51de0b,this[_0x3e8699(0x27b)],_0x48f36a,_0x58b332,_0x1d1b74,_0x4f62f8,_0x241e46);var _0x2e1e10=_0x60ba73[_0x51de0b+0x1];_0x60ba73[_0x51de0b+0x1]=_0x60ba73[_0x51de0b+0x3],_0x60ba73[_0x51de0b+0x3]=_0x2e1e10;},'_doCryptBlock':function(_0x1bce8d,_0x3545cc,_0x1f47c5,_0x585841,_0x5908cb,_0x21ca8f,_0x55b586,_0x31af18){for(var _0x54a253=this['_nRounds'],_0x3ed032=_0x1bce8d[_0x3545cc]^_0x1f47c5[0x0],_0x9c7ea=_0x1bce8d[_0x3545cc+0x1]^_0x1f47c5[0x1],_0x285750=_0x1bce8d[_0x3545cc+0x2]^_0x1f47c5[0x2],_0x4da8f6=_0x1bce8d[_0x3545cc+0x3]^_0x1f47c5[0x3],_0x2a06fa=0x4,_0x4ebf90=0x1;_0x4ebf90<_0x54a253;_0x4ebf90++){var _0x43f806=_0x585841[_0x3ed032>>>0x18]^_0x5908cb[_0x9c7ea>>>0x10&0xff]^_0x21ca8f[_0x285750>>>0x8&0xff]^_0x55b586[_0x4da8f6&0xff]^_0x1f47c5[_0x2a06fa++],_0x2c69e5=_0x585841[_0x9c7ea>>>0x18]^_0x5908cb[_0x285750>>>0x10&0xff]^_0x21ca8f[_0x4da8f6>>>0x8&0xff]^_0x55b586[_0x3ed032&0xff]^_0x1f47c5[_0x2a06fa++],_0x1ea011=_0x585841[_0x285750>>>0x18]^_0x5908cb[_0x4da8f6>>>0x10&0xff]^_0x21ca8f[_0x3ed032>>>0x8&0xff]^_0x55b586[_0x9c7ea&0xff]^_0x1f47c5[_0x2a06fa++],_0x40d467=_0x585841[_0x4da8f6>>>0x18]^_0x5908cb[_0x3ed032>>>0x10&0xff]^_0x21ca8f[_0x9c7ea>>>0x8&0xff]^_0x55b586[_0x285750&0xff]^_0x1f47c5[_0x2a06fa++];_0x3ed032=_0x43f806,_0x9c7ea=_0x2c69e5,_0x285750=_0x1ea011,_0x4da8f6=_0x40d467;}var _0x43f806=(_0x31af18[_0x3ed032>>>0x18]<<0x18|_0x31af18[_0x9c7ea>>>0x10&0xff]<<0x10|_0x31af18[_0x285750>>>0x8&0xff]<<0x8|_0x31af18[_0x4da8f6&0xff])^_0x1f47c5[_0x2a06fa++],_0x2c69e5=(_0x31af18[_0x9c7ea>>>0x18]<<0x18|_0x31af18[_0x285750>>>0x10&0xff]<<0x10|_0x31af18[_0x4da8f6>>>0x8&0xff]<<0x8|_0x31af18[_0x3ed032&0xff])^_0x1f47c5[_0x2a06fa++],_0x1ea011=(_0x31af18[_0x285750>>>0x18]<<0x18|_0x31af18[_0x4da8f6>>>0x10&0xff]<<0x10|_0x31af18[_0x3ed032>>>0x8&0xff]<<0x8|_0x31af18[_0x9c7ea&0xff])^_0x1f47c5[_0x2a06fa++],_0x40d467=(_0x31af18[_0x4da8f6>>>0x18]<<0x18|_0x31af18[_0x3ed032>>>0x10&0xff]<<0x10|_0x31af18[_0x9c7ea>>>0x8&0xff]<<0x8|_0x31af18[_0x285750&0xff])^_0x1f47c5[_0x2a06fa++];_0x1bce8d[_0x3545cc]=_0x43f806,_0x1bce8d[_0x3545cc+0x1]=_0x2c69e5,_0x1bce8d[_0x3545cc+0x2]=_0x1ea011,_0x1bce8d[_0x3545cc+0x3]=_0x40d467;},'keySize':0x100/0x20});_0x567748[_0x5b61bd(0x2fd)]=_0x1c764c['_createHelper'](_0x14fdcf);}()),_0x4f5449['AES'];}));}(Se)),Se['exports'];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be['exports'],ct;function li(){var _0x1669f0=_0x2e58ba;return ct||(ct=0x1,function(_0x2064f3,_0x544964){(function(_0x1f908d,_0x140d31){var _0x373b63=_0x2768;_0x2064f3[_0x373b63(0xd4)]=_0x140d31(ee());}(hi,function(_0x58ca84){var _0x510809=_0x2768;return _0x58ca84['enc'][_0x510809(0x16f)];}));}(be)),be[_0x1669f0(0xd4)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x2e58ba(0xd4)],ht;function vi(){var _0x307be8=_0x2e58ba;return ht||(ht=0x1,function(_0x4a7c92,_0x18a417){(function(_0x2e9451,_0x27f182){var _0x1b8384=_0x2768;_0x4a7c92[_0x1b8384(0xd4)]=_0x27f182(ee());}(di,function(_0x25ace5){var _0x40959f=_0x2768;return(function(){var _0x13cbe2=_0x2768;if(typeof ArrayBuffer==_0x13cbe2(0x33f)){var _0xa968e9=_0x25ace5,_0x1aab1e=_0xa968e9[_0x13cbe2(0x3cc)],_0x102dd0=_0x1aab1e[_0x13cbe2(0x1ac)],_0x2a82f3=_0x102dd0[_0x13cbe2(0x2da)],_0x319486=_0x102dd0['init']=function(_0x5bd64e){var _0x5ea88b=_0x13cbe2;if(_0x5bd64e instanceof ArrayBuffer&&(_0x5bd64e=new Uint8Array(_0x5bd64e)),(_0x5bd64e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5bd64e instanceof Uint8ClampedArray||_0x5bd64e instanceof Int16Array||_0x5bd64e instanceof Uint16Array||_0x5bd64e instanceof Int32Array||_0x5bd64e instanceof Uint32Array||_0x5bd64e instanceof Float32Array||_0x5bd64e instanceof Float64Array)&&(_0x5bd64e=new Uint8Array(_0x5bd64e[_0x5ea88b(0x13b)],_0x5bd64e[_0x5ea88b(0x27c)],_0x5bd64e['byteLength'])),_0x5bd64e instanceof Uint8Array){for(var _0x237dcf=_0x5bd64e[_0x5ea88b(0x198)],_0x48959c=[],_0x4bd420=0x0;_0x4bd420<_0x237dcf;_0x4bd420++)_0x48959c[_0x4bd420>>>0x2]|=_0x5bd64e[_0x4bd420]<<0x18-_0x4bd420%0x4*0x8;_0x2a82f3[_0x5ea88b(0x3be)](this,_0x48959c,_0x237dcf);}else _0x2a82f3['apply'](this,arguments);};_0x319486[_0x13cbe2(0x1bb)]=_0x102dd0;}}()),_0x25ace5[_0x40959f(0x3cc)]['WordArray'];}));}(Re)),Re[_0x307be8(0xd4)];}var fi=vi();const Si=fe(fi);function _0x2963(){var _0x240fae=['_updateState','/universer-api/snapshot','AWAITING','_showConflictNotification','_substituteRedoStack','ceil','LEAVE','Plugin','change$','_shouldReportTelemetry','_scheduleCompleteTimestamp','HEARTBEAT_INTERVAL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','InsertSheetMutation','setCurrentUser','symbol','[CollaborationSessionService]:\x20socket\x20error','Encryptor','executeCommand','_members$','search','append','CollaborationEvent','wsSessionTicketUrl','send','_doProcessBlock','$super','RichTextEditingMutation','_logService','getCurrentSelections','JOIN_ROOM_PERMISSION_DENIED','_http','PERMISSION_REJ','UniverInstanceType','debug','DEFAULT_FILE_NAME','from','csAckEvent','readAsDataURL','_collabSessionService','onload','PERSON','PSEUDO_FETCH_MISSING_RESULT','2GhfwoW','9447324SApCdc','_prevBlock','onCommandExecuted','appendMutation','state','function','updatePermissionPoint','save\x20fail\x20reason\x20is\x20','_emitMembers','ITransformService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationUIEventId','LocaleService','snapshotServerUrl','isTransformMutationsWithChangesetFailure','updateCursorEvent','application/json','PERMISSION_DENIED','listRoles','MUTATION','[CollaborationEntity]','parse','[OfflineState]:\x20received\x20rejection.','updateCollaborator','url','_httpService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','subscribe','APPLY_DUPLICATED','get','onRemoteRej','execute','code','isTransformChangesetsSuccess','YUUMI_UNABLE_LOAD_URL','_createHmacHelper','/role','_sendHeartbeatTimer','univer-pro.collaboration-client.single-active-unit-service','workbook','onRemoteRetry','_changesetSessionId','_sender','MentionType','BASE64','splice','getActiveSheet','isArray','_unitID','_onRemoteRetry','_getDownloadEndpointURL','resend','mixIn','uniscriptRunEvent','/unit/','clone','_parse','1769675zUNsvF','USERS_LEAVE','NoPadding','ILogService','/universer-api/comb','IPermissionService','sigBytes','getAllMembers','_collaborationTimeoutTimer','RevisionService','type','Base64','860809JxPvYy','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','LIVESHARE_OPERATION','pending','UNIVER_PROJECT','getUnitOnRev','loadSheet','_injector','getSheetId','requireSession','_tryEnsureSocket','createInstance','_toggleOffline','_roomCreated$','deleteCollaborator','_toggleOnline','@univerjs/sheets','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','1285116TDLMrq','_onRemoteACK','LIVESHARE_REQUEST_HOST','collaboration_new_changeset','now','Error\x20on\x20receiving\x20event','_changesetReqId','_createInitialStateImpl','_redoStacks','_initDependencies','c1Prime','unitId','Module','_HTTPService','map','_clearUndo','batchAllowed','LocalUndoRedoService','SheetTransformSelectionsService','onlyLocal','_registerDependencies','_onMessage','/universer-api/file/{fileID}/sign-url','_checkMissing','compute','onSendChangeset','pad','ISingleActiveUnitService','file','_oKey','__Key__','_iKey','textRanges','[SyncedState]:\x20received\x20rejection.','refreshPermission','ciphertext','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_socketMessageSubscription','MemberService','PY_RUNTIME_SCRIPT_ERROR','csShouldRetryEvent','transformSelections','toggleOffline','?size=','listCollaborators','call','\x0aAfter:\x20','_pendingMutations','_sessions','close$','getLocalCacheKey','/block/','fetchMissingChangesets','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ALREADY_EXISTS','[PendingState]:\x20unhandled\x20univer\x20type:\x20','image/bmp','_resendTimeout','_append','lib','size','getTypeOfUnitAdded$','_unlockTransition','INVALID_ARGUMENT','c2Prime','awaiting','HELLO','ICollaborationSocketService','textEncoder','getConfig','_localCacheService','iterations','_sheetTransformSelectionsService','_executeRemoteChangeset','COMPLETION_FINISHED','reqId','\x20-\x20','OFFLINE','_decreaseWaiting','touchDependencies','createCollaborator','SHA1','toStringTag','28jwMTmH','mergeOverrideWithDependencies','allowed','action','_telemetryInfo','_getAPIPrefix','_handlerCallback','offline','getImageSourceCache','changesets','collaborators','NOT_FOUND','UniverSheetsPlugin','IAuthzIoService','synced','firstValueFrom','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','YUUMI_RATE_OVER_LIMIT','_onRecvEvent','/collaborator','ticket','SEND_CHANGESET_TIMEOUT_KEY','retryConnectingInterval','AuthzIoHttpService','json','_collaborationUIEventService','filter','getLatestCsReqIdBySid','incrementRevOfUnit','getMember','stringify','open$','href','post','NEW_CHANGESETS','asObservable','APPLY_PERMISSION_DENIED','SheetsSelectionsService','SNAPSHOT_SERVER_URL_KEY','SheetCollaborationEntity','_stopTelemetryCollaborationNewChangeset','USERS_ENTER','loadOfflineData','JSONX','_waitCount','ONLINE','getFocusedUnit','delay','_getSignURL','cmd','sessionStatus$','_resendTimer','MSG_FOR_ERROR','_state$','onCommentUpdate','getValue','UniverNetworkPlugin','patch','_updateLocalCache','encrypt','_doCryptBlock','fromCharCode','createDecryptor','bind','encode','OpenSSL','findIndex','_configService','2463564PCwPnL','abs','CommentService','update','MD5','max','data','_schedule','SUCCUSS','salt','GLOBAL_ROOMS_CNT_EXCEEDS','_rescheduleHeartbeat','getCurrentUser','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','members$','SYNCED','_type','baseRev','emitEvent','PENDING','_startTelemetryCollaborationNewChangeset','IDLE','image/png','BehaviorSubject','LICENSE_DISTRO_REJECTED','_eventService','_hasher','[CollaborationSessionService]','FileId','/-/object/-/batch_allowed','members','CollaborativeUndoRedoService','clamp','ENSURE_SNAPSHOT_EXECUTION','ISnapshotServerService','override','result','reverse','_map','hasher','ws://127.0.0.1:8000/universer-api/comb/connect','Decryptor','reconnect','csRejEvent','hostname','CollaborationImageIoService','PendingState','sid','_onJoinRoomEvent','_socketReady','exports','DisposableCollection','session.room-full','__creator','SEND_CHANGESET_TIMEOUT','_applyRemoteChangeset','delete','AUTHZ_URL_KEY','m2Prime','collabSubmitChangesetUrl','encodeURIComponent','fetch_missing','_socket$','reject','_event$','_isPermissionRej','unknown','getTime','conflict','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','add','joinEvent','_disableEditing','_onRemoteRejected','[CollaborationSession]','_getUndoStack','CollaborationSocketService','close','onTransformRemoteChangesetByStateCache','fromCollab','x-univer-host','UnitStatus','UNIVER_UNKNOWN','@univerjs/network','defineProperty','default','\x20in\x20_schedule.','transformUndoRedo','_snapshotServerService','_getCurrentRevision','onTransformSelections','_getCtorByUniverType','COMPRESS_MUTATION_SEND','LIVESHARE_NEW_HOST','SNAPSHOT_URL_KEY','collaboration-client.config','words','_getAPIPrefixPath','_onUserLeave','FetchingMissState','getUnitType','createIdentifier','_transformIMECache','name','ERROR_EXCEED_SIZE','set','newCsEvent','requestParams','CompressMutationService','_getRedoStack','onRemoteAck','session.room-permission-denied','awaitingChangeset','cfg','HmacMD5','addHandlerCallback','_startCollaboration','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_data','userID','MentionIoHttpService','CollaborationStatus','clear','_onConflict','updateOfflineData','image/gif','_singleActiveUnitService','_compressMutationService','OfflineState','/rev/','setConfig','_createHelper','[UniverCollaborationClientPlugin]','UniverCollaborationClientPlugin','objectActions','UNRECOGNIZED','removeMember','_telemetryService','APPLY_REJECT','IConfigService','getTypeOfUnitDisposed$','putCollaborators','LICENSE_EXPORT_SIZE_EXCEEDED','_collaborationSessionService','Workbook','LIVESHARE_TERMINATE','SyncedState','_sendingTimer','state$','getCurrentRevOfUnit','onLocalMutation','collabWebSocketUrl','RETRY_CONNECTING_MAX_COUNT','buffer','push','_getSendChangesetTimeout','next','responseType','interceptor','localeService','toggleOnline','NOT_COLLAB','list','_waitForHeartbeatResponse','_nRounds','startsWith','SerializableCipher','SNAPSHOT_HAS_BEEN_REMOVED','socketService','_collaborationPaused','sheets','_awaitingChangeset','_clearHeartbeatTimer','_clearScheduledTask','_onConnectionFailed','isTransformMutationsWithChangesetSuccess','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','subject','CHANGESET_ACK','FETCH_MISS','_lockTransition','INGEST','msCrypto','_sessionStatus$','MergeInterceptorFactory','ImageUploadStatusType','ReplaySubject','resourceIDs','parseProtocolChangeset','HmacSHA1','_throwTelemetryCollaborationNewChangeset','_transformRemoteChangesetByIMECache','onMissingChangesets','isInternalEditorID','copyFileMeta','Tools','getWorkbookSelections','UNAUTHENTICATED','UnitSnapshot','_onConnectionOpen','_instanceService','_retryConnectingTimer','_permissionService','fetchThroughInterceptors','unitID','Utf8','_transformUndoredo','_substituteUndoStack','_keySchedule','generateRandomId','focused$','algo','location','_createSocketURL','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','[CollaborationUndoRedoService]','@univerjs-pro/collaboration','_syncEditingCollabCursor','dispose','title','Hasher','/universer-api/uniscript','sequenceExecute','CollaborationSessionService','_unitInfo$','[PendingState]:\x20received\x20acknowledgement.','session.room-cnt-exceeds','UNIVER_DOC','_memberService','permissionRejEvent','getOwnPropertyDescriptor','confirm','COLLAB_WEB_SOCKET_URL_KEY','AwaitingState','padding','objectID','_replayCachedMutations','getInterceptPoints','CollaborationEntity','_status$','_commentService','session.join-failed','_transitionLocked','_remoteChangesetQueue','saveChangeset','ivSize','byteLength','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_socket','_tryReconnect','_iv','_updateStatus','JOIN_ROOM_FULL','1510ISlLOe','socket\x20open.','3SjafVx','onTransformRemoteChangesetByIMECache','/resources','stopTime','_listenToNetworkCondition','kdf','_cipher','capture','getSnapshotAPIPath','LOCAL_CACHE_INTERVAL_KEY','getResourcesRequest','WordArray','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearTimeoutTimer','blockSize','64823JaiULU','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_imageSourceCache','find','HMAC','UNIVER_SHEET','_keyPriorReset','DependentOn','onStarting','isPermissionRej','_minBufferSize','prototype','_authzIoService','SnapshotServerOverHTTPService','_commandService','CHANGESET_REJ','Base','HttpExport','Optional','/universer-api/snapshot/','HEARTBEAT_INTERVAL_KEY','_loadSheet','range','UNIVER_SLIDE','_change$','toLowerCase','body','_transformService','SetSelectionsOperation','randomUUID','session','keySize','_config','HEARTBEAT','_scheduleCollaborationTimeoutTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CLOSE_ROOM','formatter','getUnit','length','/object','CipherParams','hasOwnProperty','StreamCipher','addImageSourceCache','SHOULD_CLOSE_CONN','[OfflineState]:\x20received\x20changeset.','FETCH_MISSING','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_onOffline','RECV','_incrementRevisionNumber','equals','unit-cache-','_userManagerService','sessionTicket','UnitEmbedded','_transformStack','_entities','onRemoteChangeset','concatMap','authzUrl','Pkcs7','_acknowledgedAwaitingChangeset','SheetPermissionInitController','_loadDoc','SOCKET_FAILED','dispose$','downloadEndpointUrl','IUniverInstanceService','UPDATE_PERMISSION_OBJ','takeUntil','charAt','@univerjs/docs','concat','_getLoginPath','rng','AwaitingWithPendingState','event$','mutations','memberID','updateMember','_retryCount','/fetchmissing?from=','_snapshotService','indexOf','_xformMode','People','UNDEFINED','transformChangesets','setShowComponents','headers','params','/object/','LICENSE_MAX_UNITS_EXCEEDED','getUnitId','UNISCRIPT_RUN','_members','sessionStatus','pauseCollaboration','reduce','error','CommandType','OPTIONAL','unsubscribe','CollaborationController','_clearCollaborationTimeoutTimer','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.','_roomMembers','localCacheService','_onUserJoin','pluginName','apply','session.room-not-exists','getDeserializedSheetBlock','IImageIoService','&to=','_clearLocalCache','Disposable','objectType','[FetchMissState]','mapDocumentTypeToUniverType','routeKey','ITelemetryService','BufferedBlockAlgorithm','toDisposable','pipe','_hash','_removeRoom','closeSession','_getSessionTicket','key','status','extend','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_key','string','741360OCHwtW','sendChangesetTimeout','replace','fetching\x20missing\x20changesets\x20from\x20','SUBMIT_CHANGESET_TIMEOUT','commentUpdateEvent','_univerInstanceService','startTime','_transformRemoteChangesetByStateCache','enableOfflineEditing','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','OTHER_CLIENTS_EDITING','_onLocalMutation','sin','JOIN_ROOM_NOT_EXISTS','_createHandler','CollaborationUIEventService','UniverCollaborationPlugin','compose','originalMeta','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN_ROOM_FAILED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','signUrlServerUrl','_revisionService','_transformStateCache','Subject','ISocketService','actions','_clearRedo','loadUnit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_handler','_mode','SOCKET_FAILED_RETRY','FAIL','initWorkbookPermissionChange','revision','toString','finalize','_initCloseConn','Cipher','disposeWithMe','liveShareNewHost','POST','CONFLICT','[CollaborationState]:\x20apply\x20error!','searchParams','CHANGESET_SHOULD_RETRY','COLLAB_SUBMIT_CHANGESET_URL','63AcotoT','reset','BlockCipher','unpad','waitForRoom$','EmptyMutation','JOIN','createSocket','@univerjs/core','createEncryptor','OTHER_CLIENT_EDITING','_state','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_reverseMap','_timeoutTimer','_invKeySchedule','byteOffset','status$','CBC','every','runId','decryptBlock','_undoRedoService','UNKNOWN_CODE','onTransformIME','&assign=','/allowed','onMissedChangesetFetched','EvpKDF','[DataLoaderService]','_initRequestHeader','getRandomValues','@univerjs/telemetry','error$','_queuedRemoteChangesets','_onRemoteChangeset','editingUnit','_resendWithTimeout','CHANGESET_REVISION_CONFILICT','_getUploadFileURL','INTERNAL_ERROR','_init','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_NON_SEQUENTIAL_REVISION','COLLAB_SUBMIT_CHANGESET_URL_KEY','_createSocket','merge','crypto','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','floor','not_collab','CollaborationSession','eventID','random','WorkbookEditablePermission','getMemberID','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','HEARTBEAT_TIMEOUT_KEY','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','roomInfos','SUBMIT_CHANGESET','HEARTBEAT_TIMEOUT','ICommandService','joinRsp','setWaitCount','COMPRESS_MUTATION_APPLY','has','/universer-api/authz','Hex','enc','disableLocalCache','Univer','_ENC_XFORM_MODE','_doFinalize','_fetchMissChangesets','Latin1','BlockCipherMode','ERROR_IMAGE','resolve','IUndoRedoService','min','_onCombEvent','_sendHeartbeat','rev','UNKNOWN_CMD','/universer-api/user/session-ticket','univer-pro.collaboration-client.network-condition.service','includes','parseChangesetToProtocol','_localeService','JOINING','LIVESHARE_FETCH_OPERATIONS','_onFetchMissResult','onTransformState','getCollabEntity$','loadDoc','collaboration-client.local-cache-service','DocCollaborationEntity','ImageSourceType','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','HTTPRequest','Undefined','selections','_exhaustRemoteChangesetQueue','SNAPSHOT_INVALID_SNAPSHOT','getUnitStatus$','_initMergeInterceptor','snapshot','format','put','init','_process','Inject','ConflictState','_entityInit$','decrypt','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','catch','NO_OTHER_CLIENTS_EDITING','randomBytes','_nDataBytes','charCodeAt','registerHTTPInterceptor','take','TOO_MANY_REQUESTS','slice','LOGIN_URL_KEY','onSyncEditingCollabCursor','RxDisposable','HttpImport','b64DecodeUnicode','COMMENT_UPDATE','onStateChange','auth.needGotoLoginAlert','saveSheetBlock','method','create','HTTPService','telemetry\x20info\x20is\x20not\x20initialized','APPLY_REVISION_CONFILICT','transformMutationsWithChangeset','DataLoaderService','_candidateSocket','avatar','mode','AES','forEach','_initUnitPermissionChange','_submitChangeset','DEFAULT_COLLAB_WEB_SOCKET_URL','Injector','updatePermissionObjEvent','getCollabEntity','entityInit$','awaiting_with_pending','values','message$','UPDATE_CURSOR','entries','getGlobalObject','join','PasswordBasedCipher'];_0x2963=function(){return _0x240fae;};return _0x2963();}var Oe={'exports':{}},pi=Oe[_0x2e58ba(0xd4)],lt;function mi(){return lt||(lt=0x1,function(_0x480be,_0x2c0079){(function(_0x51c2a4,_0x563816,_0x287a4e){var _0x1caf92=_0x2768;_0x480be[_0x1caf92(0xd4)]=_0x563816(ee(),At());}(pi,function(_0x553e8f){var _0x113877=_0x2768;return _0x553e8f['pad'][_0x113877(0x375)]={'pad':function(){},'unpad':function(){}},_0x553e8f['pad'][_0x113877(0x375)];}));}(Oe)),Oe['exports'];}var gi=mi();const Ii=fe(gi);function Ei(_0x113b39,_0x4f164c){var _0x26b708=_0x2e58ba;const _0x3667c3=_0x4f164c-_0x113b39[_0x26b708(0x1d7)]%_0x4f164c,_0x265fee=String[_0x26b708(0x9b)](_0x3667c3)['repeat'](_0x3667c3);return _0x113b39+_0x265fee;}function Ci(_0x4b8a62,_0x5764e1){var _0x1c4d3a=_0x2e58ba;const _0x5b6aa6=Si[_0x1c4d3a(0x2a1)](0x10),_0x43849c=Ei(_0x4b8a62,0x10),_0x2d4677=ai[_0x1c4d3a(0x99)](ui[_0x1c4d3a(0x34f)](_0x43849c),at[_0x1c4d3a(0x34f)](_0x5764e1),{'iv':_0x5b6aa6,'padding':Ii});return _0x5b6aa6[_0x1c4d3a(0x1fa)](_0x2d4677[_0x1c4d3a(0x3b4)])[_0x1c4d3a(0x260)](at);}function Ti(){var _0x820881=_0x2e58ba;const _0x5ba8d5=$t[_0x820881(0x30b)]()[_0x820881(0x3af)];if(_0x5ba8d5){const _0x2269d3={'time':Math[_0x820881(0x29d)](Date['now']()/0x3e8),'domain':location[_0x820881(0xce)]};return Ci(JSON[_0x820881(0x402)](_0x2269d3),_0x5ba8d5);}}var bi=Object[_0x2e58ba(0xf6)],Ri=Object[_0x2e58ba(0x188)],Oi=(_0xa0bec1,_0x50e01e,_0x95a406,_0x1835f6)=>{var _0x41347c=_0x2e58ba;for(var _0x1b65e4=_0x1835f6>0x1?void 0x0:_0x1835f6?Ri(_0x50e01e,_0x95a406):_0x50e01e,_0x4f0ba1=_0xa0bec1[_0x41347c(0x1d7)]-0x1,_0x5f2e41;_0x4f0ba1>=0x0;_0x4f0ba1--)(_0x5f2e41=_0xa0bec1[_0x4f0ba1])&&(_0x1b65e4=(_0x1835f6?_0x5f2e41(_0x50e01e,_0x95a406,_0x1b65e4):_0x5f2e41(_0x1b65e4))||_0x1b65e4);return _0x1835f6&&_0x1b65e4&&bi(_0x50e01e,_0x95a406,_0x1b65e4),_0x1b65e4;},yi=(_0x4c39cf,_0x4d342a)=>(_0x468487,_0x23bcb0)=>_0x4d342a(_0x468487,_0x23bcb0,_0x4c39cf);let Ne=class{constructor(_0x163124){var _0xedea50=_0x2e58ba;this[_0xedea50(0x353)]=_0x163124,this[_0xedea50(0x28a)]();}[_0x2e58ba(0x28a)](){var _0x4456b0=_0x2e58ba;this[_0x4456b0(0x353)][_0x4456b0(0x2e6)]({'interceptor':(_0x18ec7c,_0x141684)=>{var _0x28817c=_0x4456b0;const _0x2ec967=_0x18ec7c[_0x28817c(0x20b)],_0x52c9e0=Ti();return _0x52c9e0&&_0x2ec967['set'](_0x28817c(0xf2),_0x52c9e0),_0x141684(_0x18ec7c);}});}};Ne=Oi([yi(0x0,a[_0x2e58ba(0x2dc)](q[_0x2e58ba(0x2f5)]))],Ne);var Ni=Object[_0x2e58ba(0xf6)],Ui=Object['getOwnPropertyDescriptor'],Pi=(_0x783991,_0x38176b,_0xa990cf,_0x1c1362)=>{for(var _0x2fc5bd=_0x1c1362>0x1?void 0x0:_0x1c1362?Ui(_0x38176b,_0xa990cf):_0x38176b,_0x56db0a=_0x783991['length']-0x1,_0x183cca;_0x56db0a>=0x0;_0x56db0a--)(_0x183cca=_0x783991[_0x56db0a])&&(_0x2fc5bd=(_0x1c1362?_0x183cca(_0x38176b,_0xa990cf,_0x2fc5bd):_0x183cca(_0x2fc5bd))||_0x2fc5bd);return _0x1c1362&&_0x2fc5bd&&Ni(_0x38176b,_0xa990cf,_0x2fc5bd),_0x2fc5bd;},Me=(_0x13eff3,_0x2bb6c6)=>(_0x5b0f28,_0x359811)=>_0x2bb6c6(_0x5b0f28,_0x359811,_0x13eff3);exports[_0x2e58ba(0x2f9)]=class extends a['RxDisposable']{constructor(_0x5b730f,_0x25eb45,_0x2cd71a){var _0x8419d4=_0x2e58ba;super(),D(this,_0x8419d4(0x182),new H[(_0x8419d4(0xb9))](null)),D(this,'unitInfo$',this[_0x8419d4(0x182)][_0x8419d4(0x407)]()),(this[_0x8419d4(0x32a)]=_0x5b730f,this[_0x8419d4(0x204)]=_0x25eb45,this['_localCacheService']=_0x2cd71a);}async[_0x2e58ba(0x258)](_0x2d6d90,_0x8ca89f,_0x4879f4){var _0x2e9dc6=_0x2e58ba;this[_0x2e9dc6(0x182)][_0x2e9dc6(0x13e)]({'unitId':_0x2d6d90,'type':_0x8ca89f,'subUnitId':_0x4879f4});let _0x3d0f70=null;switch(_0x8ca89f){case Z[_0x2e9dc6(0x1b5)]:{_0x3d0f70=await this[_0x2e9dc6(0x1c5)](_0x2d6d90);break;}case Z[_0x2e9dc6(0x185)]:{_0x3d0f70=await this['_loadDoc'](_0x2d6d90);break;}default:{this[_0x2e9dc6(0x32a)]['error'](_0x2e9dc6(0x289),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x3d0f70;}async[_0x2e58ba(0x1c5)](_0x1c398c){var _0x24a6e2=_0x2e58ba,_0x5aa515;let _0x1d2ba9=0x0;const _0xc2da56=await((_0x5aa515=this[_0x24a6e2(0x3d7)])==null?void 0x0:_0x5aa515[_0x24a6e2(0x40e)](_0x1c398c));return _0xc2da56&&(_0xc2da56[_0x24a6e2(0x112)]||_0xc2da56[_0x24a6e2(0x1ff)][_0x24a6e2(0x1d7)]!==0x0)&&(_0x1d2ba9=_0xc2da56[_0x24a6e2(0x2bf)]),_0x1d2ba9===0x0&&this[_0x24a6e2(0x32a)][_0x24a6e2(0x330)](_0x24a6e2(0x289),_0x24a6e2(0x237)),this['_snapshotService'][_0x24a6e2(0x385)](_0x1c398c,_0x1d2ba9);}async[_0x2e58ba(0x1f1)](_0x346f58){var _0x1a57d4=_0x2e58ba,_0x10381e;let _0x322d10=0x0;const _0x2e63cc=await((_0x10381e=this['_localCacheService'])==null?void 0x0:_0x10381e[_0x1a57d4(0x40e)](_0x346f58));return _0x2e63cc&&(_0x2e63cc['awaitingChangeset']||_0x2e63cc[_0x1a57d4(0x1ff)]['length']!==0x0)&&(_0x322d10=_0x2e63cc[_0x1a57d4(0x2bf)]),_0x322d10===0x0&&this['_logService'][_0x1a57d4(0x330)](_0x1a57d4(0x289),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1a57d4(0x204)][_0x1a57d4(0x2cb)](_0x346f58,_0x322d10);}},exports['DataLoaderService']=Pi([Me(0x0,a['ILogService']),Me(0x1,a[_0x2e58ba(0x2dc)](m['SnapshotService'])),Me(0x2,a['Optional'](z))],exports[_0x2e58ba(0x2f9)]);var Di=Object[_0x2e58ba(0xf6)],wi=Object[_0x2e58ba(0x188)],Ai=(_0xed88c4,_0x1e884c,_0xf8cdcd,_0x23bf12)=>{var _0x221a76=_0x2e58ba;for(var _0x1b634f=_0x23bf12>0x1?void 0x0:_0x23bf12?wi(_0x1e884c,_0xf8cdcd):_0x1e884c,_0x4a9f73=_0xed88c4[_0x221a76(0x1d7)]-0x1,_0x4cd30f;_0x4a9f73>=0x0;_0x4a9f73--)(_0x4cd30f=_0xed88c4[_0x4a9f73])&&(_0x1b634f=(_0x23bf12?_0x4cd30f(_0x1e884c,_0xf8cdcd,_0x1b634f):_0x4cd30f(_0x1b634f))||_0x1b634f);return _0x23bf12&&_0x1b634f&&Di(_0x1e884c,_0xf8cdcd,_0x1b634f),_0x1b634f;},xe=(_0x43ef61,_0x991424)=>(_0x5b4994,_0x24f59f)=>_0x991424(_0x5b4994,_0x24f59f,_0x43ef61);const Li=[_0x2e58ba(0xb8),'image/jpeg','image/jpg',_0x2e58ba(0x11f),_0x2e58ba(0x3c9)],Mi=0x5*0x400*0x400,xi=_0x2e58ba(0x380),ji='/universer-api/stream/file/upload',$i='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hi=_0x2e58ba(0x3a7);exports['CollaborationImageIoService']=class{constructor(_0x545efa,_0x5955ac,_0x13fcd5){var _0x3bc1dd=_0x2e58ba;D(this,_0x3bc1dd(0x410),0x0),D(this,_0x3bc1dd(0x1c8),new H[(_0x3bc1dd(0x254))]()),D(this,_0x3bc1dd(0x316),this['_change$']),D(this,_0x3bc1dd(0x1b2),new Map()),(this['_httpService']=_0x545efa,this['_configService']=_0x5955ac,this['_univerInstanceService']=_0x13fcd5);}[_0x2e58ba(0x2ac)](_0x33824d){var _0x4c5531=_0x2e58ba;this[_0x4c5531(0x410)]=_0x33824d,this[_0x4c5531(0x1c8)][_0x4c5531(0x13e)](_0x33824d);}[_0x2e58ba(0x3ec)](_0x500a0c,_0x303119){var _0xe38201=_0x2e58ba;if(_0x303119===X[_0xe38201(0x2ce)][_0xe38201(0x366)]){const _0x157328=new Image();return _0x157328['src']=_0x500a0c,_0x157328;}return this[_0xe38201(0x1b2)][_0xe38201(0x357)](_0x500a0c);}[_0x2e58ba(0x1dc)](_0x1cc88e,_0x2108d9,_0x5d4ed6){var _0x4191c1=_0x2e58ba;_0x2108d9===X['ImageSourceType'][_0x4191c1(0x366)]||_0x5d4ed6==null||this[_0x4191c1(0x1b2)][_0x4191c1(0x10b)](_0x1cc88e,_0x5d4ed6);}async['getImage'](_0x4ef9be){var _0x3405ae=_0x2e58ba;try{const _0x36ba88=this['_replaceFileID'](this[_0x3405ae(0x414)](),''+_0x4ef9be),_0x2a1963=(await this['_httpService'][_0x3405ae(0x357)](_0x36ba88))['body'];if(_0x2a1963['error']&&_0x2a1963[_0x3405ae(0x215)]['code']===Tt['OK']){const _0x22ab03=new URL(_0x2a1963['url'],this[_0x3405ae(0x36c)]())[_0x3405ae(0x260)]();return Promise[_0x3405ae(0x2ba)](_0x22ab03);}return Promise[_0x3405ae(0xe1)](_0x2a1963[_0x3405ae(0x215)]);}catch(_0x3e50a9){return Promise[_0x3405ae(0xe1)](_0x3e50a9);}}async['saveImage'](_0x1c39a5){var _0x4b48b4=_0x2e58ba;let _0x68880d='';if(!Li[_0x4b48b4(0x2c3)](_0x1c39a5[_0x4b48b4(0x37d)]))return this[_0x4b48b4(0x3df)](),Promise[_0x4b48b4(0xe1)](new Error(X['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x1c39a5[_0x4b48b4(0x3cd)]>Mi)return this[_0x4b48b4(0x3df)](),Promise['reject'](new Error(X[_0x4b48b4(0x15b)][_0x4b48b4(0x10a)]));try{const _0x2c677b=new FormData();_0x2c677b[_0x4b48b4(0x323)](_0x4b48b4(0x3ad),_0x1c39a5);const _0x58b7cd=this['_univerInstanceService'][_0x4b48b4(0x412)](),_0x29a3f4=_0x58b7cd==null?void 0x0:_0x58b7cd[_0x4b48b4(0x20f)]();if(!_0x29a3f4)throw new Error('unitId\x20is\x20not\x20found');const _0x3b048d=this['_getUploadFileURL']()+_0x4b48b4(0x3bc)+_0x1c39a5[_0x4b48b4(0x3cd)][_0x4b48b4(0x260)]()+'&source='+bt[_0x4b48b4(0x1e8)]+_0x4b48b4(0x285)+encodeURIComponent(_0x29a3f4),_0x130d7b=await(await fetch(_0x3b048d,{'method':_0x4b48b4(0x266),'body':_0x2c677b}))[_0x4b48b4(0x3fc)]();if(typeof _0x130d7b[_0x4b48b4(0xbe)]!=_0x4b48b4(0x239))return this['_decreaseWaiting'](),Promise[_0x4b48b4(0xe1)](new Error(X['ImageUploadStatusType'][_0x4b48b4(0x2b9)]));_0x68880d=_0x130d7b[_0x4b48b4(0xbe)];}catch{return this[_0x4b48b4(0x3df)](),Promise[_0x4b48b4(0xe1)](new Error(X[_0x4b48b4(0x15b)]['ERROR_IMAGE']));}return new Promise((_0x1a7973,_0x26571d)=>{var _0x3ee173=_0x4b48b4;const _0x289aa9=new FileReader();_0x289aa9[_0x3ee173(0x334)](_0x1c39a5),_0x289aa9[_0x3ee173(0x336)]=_0x466663=>{var _0x1479d5=_0x3ee173,_0x2dff04;const _0x55701d=(_0x2dff04=_0x466663['target'])==null?void 0x0:_0x2dff04['result'];if(_0x55701d==null){this[_0x1479d5(0x3df)](),_0x26571d(new Error(X[_0x1479d5(0x15b)][_0x1479d5(0x2b9)]));return;}const _0x2e9401=a[_0x1479d5(0x165)][_0x1479d5(0x173)](0x6);_0x1a7973({'imageId':_0x2e9401,'imageSourceType':X[_0x1479d5(0x2ce)]['UUID'],'source':_0x68880d,'base64Cache':_0x55701d,'status':X[_0x1479d5(0x15b)][_0x1479d5(0xaa)]}),this[_0x1479d5(0x3df)]();};});}[_0x2e58ba(0x293)](){var _0x5707d9=_0x2e58ba,_0x483663,_0x4d9f4a;const _0x4427ce=this[_0x5707d9(0xa1)][_0x5707d9(0x3d6)](xi),_0x456038=this[_0x5707d9(0xa1)][_0x5707d9(0x3d6)](Y);return(_0x4d9f4a=(_0x483663=_0x456038==null?void 0x0:_0x456038['uploadFileServerUrl'])!=null?_0x483663:_0x4427ce)!=null?_0x4d9f4a:ji;}[_0x2e58ba(0x414)](){var _0x2da7e9=_0x2e58ba,_0x1393e1,_0x4ee3df;const _0x130d7f=this[_0x2da7e9(0xa1)][_0x2da7e9(0x3d6)]($i),_0xfd846a=this['_configService'][_0x2da7e9(0x3d6)](Y);return(_0x4ee3df=(_0x1393e1=_0xfd846a==null?void 0x0:_0xfd846a[_0x2da7e9(0x251)])!=null?_0x1393e1:_0x130d7f)!=null?_0x4ee3df:Hi;}[_0x2e58ba(0x36c)](){var _0x4149d0=_0x2e58ba,_0x4073cc;const _0x200de2=this[_0x4149d0(0xa1)]['getConfig'](Y);return(_0x4073cc=_0x200de2==null?void 0x0:_0x200de2[_0x4149d0(0x1f4)])!=null?_0x4073cc:location['origin'];}['_replaceFileID'](_0x11e47e,_0x5d0f3f){var _0x5373bf=_0x2e58ba;return _0x11e47e[_0x5373bf(0x23c)]('{fileID}',_0x5d0f3f);}['_decreaseWaiting'](){var _0xef4c3f=_0x2e58ba;this[_0xef4c3f(0x410)]-=0x1,this[_0xef4c3f(0x1c8)][_0xef4c3f(0x13e)](this[_0xef4c3f(0x410)]);}},exports[_0x2e58ba(0xcf)]=Ai([xe(0x0,a[_0x2e58ba(0x2dc)](q[_0x2e58ba(0x2f5)])),xe(0x1,a[_0x2e58ba(0x12d)]),xe(0x2,a[_0x2e58ba(0x2dc)](a['IUniverInstanceService']))],exports[_0x2e58ba(0xcf)]);var ki=Object['defineProperty'],Bi=Object[_0x2e58ba(0x188)],Fi=(_0x4eb35a,_0x263a1d,_0xd813a7,_0x1967fc)=>{var _0x5a54a5=_0x2e58ba;for(var _0x5b42c1=_0x1967fc>0x1?void 0x0:_0x1967fc?Bi(_0x263a1d,_0xd813a7):_0x263a1d,_0x4a5138=_0x4eb35a[_0x5a54a5(0x1d7)]-0x1,_0x48c508;_0x4a5138>=0x0;_0x4a5138--)(_0x48c508=_0x4eb35a[_0x4a5138])&&(_0x5b42c1=(_0x1967fc?_0x48c508(_0x263a1d,_0xd813a7,_0x5b42c1):_0x48c508(_0x5b42c1))||_0x5b42c1);return _0x1967fc&&_0x5b42c1&&ki(_0x263a1d,_0xd813a7,_0x5b42c1),_0x5b42c1;},_t=(_0x369bb1,_0x58d94b)=>(_0xdb3280,_0xe1791a)=>_0x58d94b(_0xdb3280,_0xe1791a,_0x369bb1);const Wi=_0x2e58ba(0x2af);exports[_0x2e58ba(0x11a)]=class{constructor(_0x4b5bac,_0x3eb1e3){var _0x3f52b5=_0x2e58ba;this[_0x3f52b5(0xa1)]=_0x4b5bac,this[_0x3f52b5(0x39e)]=_0x3eb1e3;}[_0x2e58ba(0x103)](){var _0x5f1a7f=_0x2e58ba,_0x333062,_0x76ca70;const _0x1be9cb=this['_configService']['getConfig'](Ve),_0x14ad97=this[_0x5f1a7f(0xa1)]['getConfig'](Y);return(_0x76ca70=(_0x333062=_0x14ad97==null?void 0x0:_0x14ad97[_0x5f1a7f(0x1ed)])!=null?_0x333062:_0x1be9cb)!=null?_0x76ca70:Wi;}async['list'](_0x261f1a){var _0x571eb4=_0x2e58ba;const _0x1833c1=this['_getAPIPrefixPath']()+_0x571eb4(0x3f7);return{'list':[{'title':_0x571eb4(0x207),'mentions':(await this[_0x571eb4(0x39e)][_0x571eb4(0x357)](_0x1833c1,{'params':{'objectID':_0x261f1a[_0x571eb4(0x39c)],'unitID':_0x261f1a[_0x571eb4(0x39c)]}}))[_0x571eb4(0x1ca)]['collaborators'][_0x571eb4(0x39f)](_0x5c440e=>({'objectId':_0x5c440e['id'],'name':_0x5c440e['subject'][_0x571eb4(0x109)],'metadata':{'icon':_0x5c440e[_0x571eb4(0x153)][_0x571eb4(0x2fb)]},'label':_0x5c440e['subject'][_0x571eb4(0x109)],'objectType':a[_0x571eb4(0x365)][_0x571eb4(0x337)]})),'metadata':{},'type':a[_0x571eb4(0x365)][_0x571eb4(0x337)]}]};}},exports[_0x2e58ba(0x11a)]=Fi([_t(0x0,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x12d)])),_t(0x1,a['Inject'](q[_0x2e58ba(0x2f5)]))],exports['MentionIoHttpService']);var Gi=Object[_0x2e58ba(0xf6)],Vi=Object[_0x2e58ba(0x188)],Ki=(_0x252b8c,_0xaad658,_0x31591a,_0x58fca7)=>{for(var _0x1a19df=_0x58fca7>0x1?void 0x0:_0x58fca7?Vi(_0xaad658,_0x31591a):_0xaad658,_0x1d422f=_0x252b8c['length']-0x1,_0x1179a3;_0x1d422f>=0x0;_0x1d422f--)(_0x1179a3=_0x252b8c[_0x1d422f])&&(_0x1a19df=(_0x58fca7?_0x1179a3(_0xaad658,_0x31591a,_0x1a19df):_0x1179a3(_0x1a19df))||_0x1a19df);return _0x58fca7&&_0x1a19df&&Gi(_0xaad658,_0x31591a,_0x1a19df),_0x1a19df;},ce=(_0x31d158,_0x3d26db)=>(_0x2f7925,_0x5124ee)=>_0x3d26db(_0x2f7925,_0x5124ee,_0x31d158);let Ue=class extends a[_0x2e58ba(0x2ec)]{constructor(_0x42cc4c,_0x2fa5b8,_0x3325fe,_0x2ebcdb,_0x3d6613,_0x1247e1,_0x3939c6){var _0x419091=_0x2e58ba;super(),this[_0x419091(0x386)]=_0x42cc4c,this[_0x419091(0x240)]=_0x2fa5b8,this[_0x419091(0x16c)]=_0x3325fe,this[_0x419091(0x131)]=_0x2ebcdb,this[_0x419091(0x3fd)]=_0x3d6613,this[_0x419091(0x1bc)]=_0x1247e1,this['_undoRedoService']=_0x3939c6,this[_0x419091(0x2ff)](),this[_0x419091(0x262)]();}[_0x2e58ba(0x262)](){var _0x1274fa=_0x2e58ba;const _0x1acb5e=async _0x3f9ec3=>{var _0x2a2930=_0x2768;(await this[_0x2a2930(0x131)]['requireSession'](_0x3f9ec3))[_0x2a2930(0x1fe)][_0x2a2930(0x22f)](W[_0x2a2930(0x3fe)](_0x65e0ff=>_0x65e0ff[_0x2a2930(0x2a0)]===m['CollaborationEvent'][_0x2a2930(0x1dd)]),W[_0x2a2930(0x1f7)](this['dispose$']))['subscribe'](_0x1db131=>{var _0x34d344=_0x2a2930;const _0x38725a=_0x1db131,{reason:_0x459b11}=_0x38725a[_0x34d344(0xa8)];this[_0x34d344(0x3fd)][_0x34d344(0xb4)]({'id':Q['CLOSE_ROOM'],'data':_0x459b11}),this[_0x34d344(0x16c)][_0x34d344(0x340)](new J[(_0x34d344(0x2a2))](_0x3f9ec3)['id'],!0x1),this[_0x34d344(0x131)][_0x34d344(0x232)](_0x3f9ec3);});};H[_0x1274fa(0x29a)](this['_univerInstanceService'][_0x1274fa(0x3ce)](a[_0x1274fa(0x32f)][_0x1274fa(0x1b5)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x1274fa(0x185)]))[_0x1274fa(0x22f)](W[_0x1274fa(0x39f)](_0x260556=>_0x260556['getUnitId']()),W[_0x1274fa(0x3fe)](_0x1e222c=>!a['isInternalEditorID'](_0x1e222c)),W['takeUntil'](this['dispose$']))[_0x1274fa(0x355)](_0x2e5170=>{_0x1acb5e(_0x2e5170);});}[_0x2e58ba(0x2ff)](){var _0xfa127b=_0x2e58ba;const _0x4313f0=async _0x31bac2=>{var _0x208687=_0x2768;const _0x50bbd3=await this[_0x208687(0x131)][_0x208687(0x388)](_0x31bac2),_0x4f5271=this[_0x208687(0x386)][_0x208687(0x357)](J[_0x208687(0x1f0)]);_0x50bbd3[_0x208687(0x1fe)]['pipe'](W[_0x208687(0x3fe)](_0x14e957=>_0x14e957[_0x208687(0x2a0)]===m[_0x208687(0x324)][_0x208687(0x1f6)]),W[_0x208687(0x1f7)](this['dispose$']))['subscribe'](_0x1493e8=>{var _0x5e13e5=_0x208687;const _0x42006e=_0x1493e8,{objectId:_0x78d453}=_0x42006e[_0x5e13e5(0xa8)];_0x78d453===_0x31bac2?_0x4f5271[_0x5e13e5(0x25e)](_0x31bac2):_0x4f5271[_0x5e13e5(0x3b3)](_0x31bac2,_0x78d453);});};H[_0xfa127b(0x29a)](this[_0xfa127b(0x240)][_0xfa127b(0x3ce)](a['UniverInstanceType'][_0xfa127b(0x1b5)]),this['_univerInstanceService'][_0xfa127b(0x3ce)](a[_0xfa127b(0x32f)][_0xfa127b(0x185)]))[_0xfa127b(0x22f)](W['map'](_0x4c4af2=>_0x4c4af2[_0xfa127b(0x20f)]()),W[_0xfa127b(0x3fe)](_0x40fa51=>!a[_0xfa127b(0x163)](_0x40fa51)),W[_0xfa127b(0x1f7)](this[_0xfa127b(0x1f3)]))[_0xfa127b(0x355)](_0x52fb1e=>{_0x4313f0(_0x52fb1e);});}};Ue=Ki([ce(0x0,a['Inject'](a[_0x2e58ba(0x302)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a[_0x2e58ba(0x378)]),ce(0x3,a[_0x2e58ba(0x2dc)](exports[_0x2e58ba(0x181)])),ce(0x4,a[_0x2e58ba(0x2dc)](te)),ce(0x5,a['IAuthzIoService']),ce(0x6,a[_0x2e58ba(0x2bb)])],Ue);var Yi=Object['defineProperty'],qi=Object[_0x2e58ba(0x188)],zi=(_0x3f63f2,_0x15496c,_0xc45a64,_0xb55fd4)=>{for(var _0x4af465=_0xb55fd4>0x1?void 0x0:_0xb55fd4?qi(_0x15496c,_0xc45a64):_0x15496c,_0x58e143=_0x3f63f2['length']-0x1,_0x908bd3;_0x58e143>=0x0;_0x58e143--)(_0x908bd3=_0x3f63f2[_0x58e143])&&(_0x4af465=(_0xb55fd4?_0x908bd3(_0x15496c,_0xc45a64,_0x4af465):_0x908bd3(_0x4af465))||_0x4af465);return _0xb55fd4&&_0x4af465&&Yi(_0x15496c,_0xc45a64,_0x4af465),_0x4af465;},ut=(_0x376ea7,_0x4bd28d)=>(_0x480861,_0x29ef44)=>_0x4bd28d(_0x480861,_0x29ef44,_0x376ea7);exports['SnapshotServerOverHTTPService']=class{constructor(_0x2b0012,_0x2a5a24){var _0x2fdb1d=_0x2e58ba;this[_0x2fdb1d(0xa1)]=_0x2b0012,this[_0x2fdb1d(0x353)]=_0x2a5a24;}async[_0x2e58ba(0x384)](_0x39fdc8,_0x117c9d){var _0x21aa75=_0x2e58ba,_0x2ac864;const {unitID:_0x8f01a0,type:_0x58d87c,revision:_0x575a4c=0x0}=_0x117c9d,_0x37cbba=this[_0x21aa75(0x1a9)]()+'/'+_0x58d87c+_0x21aa75(0x370)+_0x8f01a0+_0x21aa75(0x123)+_0x575a4c,_0x41f73d=(await this[_0x21aa75(0x353)]['get'](_0x37cbba))[_0x21aa75(0x1ca)],_0x28a453=(_0x2ac864=_0x41f73d[_0x21aa75(0x2d7)])==null?void 0x0:_0x2ac864[_0x21aa75(0x361)];if(_0x28a453){const _0x11bc23=_0x28a453==null?void 0x0:_0x28a453['originalMeta'],_0x4026be=m['textEncoder'][_0x21aa75(0x9e)](m[_0x21aa75(0x2ee)](_0x11bc23));_0x28a453[_0x21aa75(0x24d)]=_0x4026be,Object[_0x21aa75(0x30a)](_0x28a453[_0x21aa75(0x14c)])[_0x21aa75(0x2fe)](([,_0x3b7903])=>{var _0x1e5ccf=_0x21aa75;const _0x51d408=_0x3b7903[_0x1e5ccf(0x24d)],_0x34e7ca=m[_0x1e5ccf(0x3d5)][_0x1e5ccf(0x9e)](m[_0x1e5ccf(0x2ee)](_0x51d408));_0x3b7903[_0x1e5ccf(0x24d)]=_0x34e7ca;});}return _0x41f73d;}async['getSheetBlock'](_0x373b3c,_0xf146aa){var _0x324a17=_0x2e58ba;const {unitID:_0x3b4d3d,type:_0x1770e8,blockID:_0x487c79}=_0xf146aa,_0x52fd81=this[_0x324a17(0x3e9)]()+'/'+_0x1770e8+_0x324a17(0x370)+_0x3b4d3d+'/block/'+_0x487c79;return(await this[_0x324a17(0x353)]['get'](_0x52fd81))[_0x324a17(0x1ca)];}async[_0x2e58ba(0x223)](_0x14c6d0,_0x28618f){var _0x47a3fa=_0x2e58ba;const {unitID:_0x4d5e90,type:_0x28d687,blockID:_0x3f5392}=_0x28618f,_0x4bb5f6=this[_0x47a3fa(0x3e9)]()+_0x47a3fa(0x3c4)+_0x28d687+'/unit/'+_0x4d5e90+_0x47a3fa(0x3c4)+_0x3f5392;return(await this[_0x47a3fa(0x353)][_0x47a3fa(0x357)](_0x4bb5f6))[_0x47a3fa(0x1ca)];}async[_0x2e58ba(0x3c5)](_0x47bbca,_0x273747){var _0x754109=_0x2e58ba;const {unitID:_0x1abae6,type:_0x2d50ac,from:_0x4230c5,to:_0x28aa7f}=_0x273747,_0x3a9fad=this[_0x754109(0x3e9)]()+'/'+_0x2d50ac+'/unit/'+_0x1abae6+_0x754109(0x203)+_0x4230c5+_0x754109(0x225)+_0x28aa7f;return(await this['_httpService']['get'](_0x3a9fad))[_0x754109(0x1ca)];}[_0x2e58ba(0x1a9)](){var _0x3d114a=_0x2e58ba,_0x3c43ef;return(_0x3c43ef=this[_0x3d114a(0xa1)][_0x3d114a(0x3d6)](ft))!=null?_0x3c43ef:this[_0x3d114a(0x3e9)]();}[_0x2e58ba(0x3e9)](){var _0x4b3839=_0x2e58ba,_0x196b9a,_0x4a2bed;const _0x1997f0=this[_0x4b3839(0xa1)][_0x4b3839(0x3d6)](vt),_0x3e8861=this['_configService'][_0x4b3839(0x3d6)](Y);return(_0x4a2bed=(_0x196b9a=_0x3e8861==null?void 0x0:_0x3e8861[_0x4b3839(0x347)])!=null?_0x196b9a:_0x1997f0)!=null?_0x4a2bed:Ht;}async[_0x2e58ba(0x1ab)](_0xcd3e55,_0x5666c7){var _0x4169d4=_0x2e58ba;const _0x476d0a=_0x4169d4(0x1c3)+_0x5666c7[_0x4169d4(0x37d)]+_0x4169d4(0x370)+_0x5666c7[_0x4169d4(0x16e)]+_0x4169d4(0x1a3);return(await this[_0x4169d4(0x353)][_0x4169d4(0x357)](_0x476d0a,{'params':{'resourceId':JSON[_0x4169d4(0x402)](_0x5666c7[_0x4169d4(0x15d)])}}))[_0x4169d4(0x1ca)];}['saveSnapshot'](){var _0x13a48c=_0x2e58ba;throw new Error(_0x13a48c(0x2e0));}[_0x2e58ba(0x2f2)](){var _0x1369ee=_0x2e58ba;throw new Error(_0x1369ee(0x2e0));}[_0x2e58ba(0x196)](){var _0x4afa5d=_0x2e58ba;throw new Error(_0x4afa5d(0x2e0));}[_0x2e58ba(0x164)](){var _0x4db366=_0x2e58ba;throw new Error(_0x4db366(0x2e0));}[_0x2e58ba(0x3ff)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x2e58ba(0x1bd)]=zi([ut(0x0,a[_0x2e58ba(0x12d)]),ut(0x1,a[_0x2e58ba(0x2dc)](q['HTTPService']))],exports[_0x2e58ba(0x1bd)]);var Ji=Object['defineProperty'],Xi=Object[_0x2e58ba(0x188)],Zi=(_0x51baec,_0x35f114,_0x31e342,_0x4f7fb2)=>{for(var _0x423f0a=_0x4f7fb2>0x1?void 0x0:_0x4f7fb2?Xi(_0x35f114,_0x31e342):_0x35f114,_0x136aab=_0x51baec['length']-0x1,_0x4529ff;_0x136aab>=0x0;_0x136aab--)(_0x4529ff=_0x51baec[_0x136aab])&&(_0x423f0a=(_0x4f7fb2?_0x4529ff(_0x35f114,_0x31e342,_0x423f0a):_0x4529ff(_0x423f0a))||_0x423f0a);return _0x4f7fb2&&_0x423f0a&&Ji(_0x35f114,_0x31e342,_0x423f0a),_0x423f0a;},de=(_0x105868,_0x3a68bf)=>(_0x594589,_0x5aae91)=>_0x3a68bf(_0x594589,_0x5aae91,_0x105868);exports[_0x2e58ba(0xc1)]=class extends a[_0x2e58ba(0x3a2)]{constructor(_0x5f378e,_0x15f1c4,_0x3226af,_0x2ad892,_0x1dd31b){var _0xc018a1=_0x2e58ba;super(_0x5f378e,_0x15f1c4,_0x3226af),this[_0xc018a1(0x1cb)]=_0x2ad892,this[_0xc018a1(0x32a)]=_0x1dd31b;}[_0x2e58ba(0xf9)](_0x36ced6,_0x466d1e){var _0x54e51b=_0x2e58ba;const _0x34f5ca=this[_0x54e51b(0xed)](_0x36ced6);if(_0x34f5ca)try{const _0x4b8e1f=this['_transformStack'](_0x34f5ca,_0x466d1e);this['_substituteUndoStack'](_0x36ced6,_0x4b8e1f);}catch(_0x23c246){this[_0x54e51b(0x32a)][_0x54e51b(0x215)](_0x54e51b(0x179),_0x23c246),this['_clearUndo'](_0x36ced6);}const _0x5e4c98=this[_0x54e51b(0x10f)](_0x36ced6);if(_0x5e4c98)try{const _0x1dc276=this[_0x54e51b(0x1e9)](_0x5e4c98,_0x466d1e);this[_0x54e51b(0x312)](_0x36ced6,_0x1dc276);}catch(_0x445203){this[_0x54e51b(0x32a)][_0x54e51b(0x215)](_0x445203),this[_0x54e51b(0x257)](_0x36ced6);}}[_0x2e58ba(0x3a0)](_0x4a016f){var _0x364e58=_0x2e58ba;const _0x4b5aec=this[_0x364e58(0xed)](_0x4a016f);_0x4b5aec&&(_0x4b5aec[_0x364e58(0x1d7)]=0x0,this[_0x364e58(0x19d)]());}['_clearRedo'](_0x5e4360){var _0x3bbe36=_0x2e58ba;const _0x4208a7=this[_0x3bbe36(0x10f)](_0x5e4360);_0x4208a7&&(_0x4208a7[_0x3bbe36(0x1d7)]=0x0,this[_0x3bbe36(0x19d)]());}[_0x2e58ba(0x171)](_0x10d0f4,_0x187c87){var _0x2046c4=_0x2e58ba;this['_undoStacks'][_0x2046c4(0x10b)](_0x10d0f4,_0x187c87),this[_0x2046c4(0x19d)]();}[_0x2e58ba(0x312)](_0x4556b0,_0xb8b3c4){var _0x620246=_0x2e58ba;this[_0x620246(0x399)][_0x620246(0x10b)](_0x4556b0,_0xb8b3c4),this[_0x620246(0x19d)]();}[_0x2e58ba(0x1e9)](_0x5239e2,_0x3af87b){var _0x24797f=_0x2e58ba;const _0x37952b=[];let _0x13c924=_0x3af87b,_0x19618c=_0x3af87b;for(let _0x3f9249=_0x5239e2['length']-0x1;_0x3f9249>=0x0;_0x3f9249--){const {unitID:_0x2f95d7,undoMutations:_0x565dc9,redoMutations:_0x12a532}=_0x5239e2[_0x3f9249],_0x9b0bac=this['_transformService']['transformMutationsWithChangeset'](_0x13c924,_0x565dc9),_0x2c2fd4=this[_0x24797f(0x1cb)]['transformMutationsWithChangeset'](_0x19618c,_0x12a532);if(m[_0x24797f(0x348)](_0x9b0bac)||m[_0x24797f(0x348)](_0x2c2fd4)){this[_0x24797f(0x32a)][_0x24797f(0x215)](_0x24797f(0x179),'transformStack\x20failed!',_0x9b0bac,_0x2c2fd4);break;}_0x13c924=_0x9b0bac[_0x24797f(0x39b)],_0x19618c=_0x2c2fd4['c1Prime'],_0x37952b['push']({'unitID':_0x2f95d7,'undoMutations':_0x9b0bac[_0x24797f(0xdc)],'redoMutations':_0x2c2fd4[_0x24797f(0xdc)]});}return _0x37952b[_0x24797f(0xc7)]();}},exports['CollaborativeUndoRedoService']=Zi([de(0x0,a[_0x2e58ba(0x1f5)]),de(0x1,a[_0x2e58ba(0x2aa)]),de(0x2,a['IContextService']),de(0x3,m[_0x2e58ba(0x343)]),de(0x4,a['ILogService'])],exports[_0x2e58ba(0xc1)]);var Lt=Object[_0x2e58ba(0xf6)],Qi=Object[_0x2e58ba(0x188)],er=(_0x597ba1,_0x4e954f,_0x1ccd2b)=>_0x4e954f in _0x597ba1?Lt(_0x597ba1,_0x4e954f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ccd2b}):_0x597ba1[_0x4e954f]=_0x1ccd2b,tr=(_0x45cf9e,_0x30b9e2,_0x172d49,_0x243ec4)=>{var _0x585e37=_0x2e58ba;for(var _0x433991=_0x243ec4>0x1?void 0x0:_0x243ec4?Qi(_0x30b9e2,_0x172d49):_0x30b9e2,_0x5b8e97=_0x45cf9e[_0x585e37(0x1d7)]-0x1,_0x20ae2b;_0x5b8e97>=0x0;_0x5b8e97--)(_0x20ae2b=_0x45cf9e[_0x5b8e97])&&(_0x433991=(_0x243ec4?_0x20ae2b(_0x30b9e2,_0x172d49,_0x433991):_0x20ae2b(_0x433991))||_0x433991);return _0x243ec4&&_0x433991&&Lt(_0x30b9e2,_0x172d49,_0x433991),_0x433991;},je=(_0x24057a,_0x369e2f)=>(_0x586fcd,_0x2193cc)=>_0x369e2f(_0x586fcd,_0x2193cc,_0x24057a),nr=(_0x37918f,_0x440da6,_0x38b8a8)=>er(_0x37918f,_0x440da6+'',_0x38b8a8);const ir='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x2e58ba(0x127)]=class extends a[_0x2e58ba(0x315)]{constructor(_0x1f3f17=Ke,_0x25eb3f,_0x305888,_0x285232){var _0x10e394=_0x2e58ba;super(),this[_0x10e394(0x1d0)]=_0x1f3f17,this[_0x10e394(0x32a)]=_0x25eb3f,this[_0x10e394(0x386)]=_0x305888,this[_0x10e394(0xa1)]=_0x285232;const {..._0x47cf45}=a[_0x10e394(0x29a)]({},Ke,this[_0x10e394(0x1d0)]);this[_0x10e394(0xa1)][_0x10e394(0x124)](Y,_0x47cf45);}[_0x2e58ba(0x1b8)](){var _0x2abc53=_0x2e58ba;this[_0x2abc53(0x3a5)](),this[_0x2abc53(0x39a)]();}['_registerDependencies'](){var _0x33f30e=_0x2e58ba,_0x2fe551,_0x577483,_0x38c61b,_0x1bca55;this[_0x33f30e(0x386)][_0x33f30e(0x2ae)](a[_0x33f30e(0x2bb)])&&this['_logService'][_0x33f30e(0x215)](_0x33f30e(0x126),_0x33f30e(0x2a6));const _0x5ef6c0=a[_0x33f30e(0x3e5)]([[a[_0x33f30e(0x2bb)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x33f30e(0x181)]],[exports[_0x33f30e(0x3b7)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[Ue],[te],[exports[_0x33f30e(0x2f9)]],[ke,{'useClass':(_0x577483=(_0x2fe551=this[_0x33f30e(0x1d0)])==null?void 0x0:_0x2fe551[_0x33f30e(0x14a)])!=null?_0x577483:exports[_0x33f30e(0xee)]}],[m['ISnapshotServerService'],{'useClass':exports[_0x33f30e(0x1bd)]}],[a[_0x33f30e(0x3f1)],{'useClass':exports['AuthzIoHttpService']}],[X[_0x33f30e(0x224)],{'useClass':exports[_0x33f30e(0xcf)]}],[a['IMentionIOService'],{'useClass':exports[_0x33f30e(0x11a)]}],[exports[_0x33f30e(0x219)]],[$e]],(_0x38c61b=this[_0x33f30e(0x1d0)])==null?void 0x0:_0x38c61b[_0x33f30e(0xc5)]);if(!((_0x1bca55=this[_0x33f30e(0x1d0)])!=null&&_0x1bca55['enableSingleActiveInstanceLock'])){const _0x438f9c=_0x5ef6c0[_0x33f30e(0xa0)](([_0xb0efee])=>_0xb0efee===ve);_0x438f9c!==-0x1&&_0x5ef6c0[_0x33f30e(0x367)](_0x438f9c,0x1);}a['registerDependencies'](this[_0x33f30e(0x386)],_0x5ef6c0);}[_0x2e58ba(0x39a)](){var _0x463a13=_0x2e58ba,_0x3a7691,_0x12f683,_0x170e74;this['_injector'][_0x463a13(0x357)](q[_0x463a13(0x2f5)])[_0x463a13(0x2e6)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3a7691=this['_config'])!=null&&_0x3a7691[_0x463a13(0x243)]||(_0x12f683=this[_0x463a13(0x386)][_0x463a13(0x357)](z,a['Quantity'][_0x463a13(0x217)]))==null||_0x12f683[_0x463a13(0x2b2)](),(_0x170e74=this[_0x463a13(0x1d0)])!=null&&_0x170e74['enableAuthServer']&&a[_0x463a13(0x3e0)](this[_0x463a13(0x386)],[[ye]]),a[_0x463a13(0x3e0)](this[_0x463a13(0x386)],[[Ne],[exports[_0x463a13(0x219)]],[Ue]]);}},nr(exports[_0x2e58ba(0x127)],_0x2e58ba(0x220),ir),exports[_0x2e58ba(0x127)]=tr([a[_0x2e58ba(0x1b7)](m[_0x2e58ba(0x24b)],J[_0x2e58ba(0x3f0)],q[_0x2e58ba(0x96)]),je(0x1,a['ILogService']),je(0x2,a[_0x2e58ba(0x2dc)](a['Injector'])),je(0x3,a[_0x2e58ba(0x12d)])],exports[_0x2e58ba(0x127)]),exports[_0x2e58ba(0xdb)]=Ve,exports[_0x2e58ba(0x390)]=Y,exports[_0x2e58ba(0x298)]=Et,exports[_0x2e58ba(0x18a)]=St,exports[_0x2e58ba(0x11b)]=We,exports[_0x2e58ba(0x345)]=Q,exports[_0x2e58ba(0x24a)]=te,exports[_0x2e58ba(0xa4)]=Be,exports[_0x2e58ba(0x301)]=pt,exports[_0x2e58ba(0x2a4)]=Xt,exports[_0x2e58ba(0x1c4)]=mt,exports[_0x2e58ba(0x2a5)]=He,exports[_0x2e58ba(0x3d4)]=ke,exports['ILocalCacheService']=z,exports['INetworkConditionService']=Rt,exports[_0x2e58ba(0x3ac)]=ve,exports['LOCAL_CACHE_INTERVAL']=Yt,exports[_0x2e58ba(0x1aa)]=Kt,exports[_0x2e58ba(0x2ea)]=Ct,exports[_0x2e58ba(0x259)]=Jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=It,exports[_0x2e58ba(0x3f9)]=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports[_0x2e58ba(0x100)]=ft,exports['SessionStatus']=se,exports[_0x2e58ba(0xf3)]=Fe,exports['deserializeToCombResponse']=Ot,exports[_0x2e58ba(0x3c3)]=In,exports['serializeCombRequest']=yt;
|