@univerjs-pro/collaboration-client 0.8.0-nightly.202506021607 → 0.8.0-nightly.202506041607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x5aed06=_0x156c;(function(_0x2f4fdb,_0x2f5075){var _0x1f91e9=_0x156c,_0x3f089e=_0x2f4fdb();while(!![]){try{var _0x49d4a1=-parseInt(_0x1f91e9(0x2d8))/0x1+parseInt(_0x1f91e9(0x371))/0x2*(-parseInt(_0x1f91e9(0x2bb))/0x3)+parseInt(_0x1f91e9(0x297))/0x4*(-parseInt(_0x1f91e9(0x2d5))/0x5)+-parseInt(_0x1f91e9(0x176))/0x6+-parseInt(_0x1f91e9(0x3fe))/0x7*(parseInt(_0x1f91e9(0x1d9))/0x8)+parseInt(_0x1f91e9(0x347))/0x9+parseInt(_0x1f91e9(0x23b))/0xa;if(_0x49d4a1===_0x2f5075)break;else _0x3f089e['push'](_0x3f089e['shift']());}catch(_0x3cf962){_0x3f089e['push'](_0x3f089e['shift']());}}}(_0x4ec2,0xd7299));var Dt=Object[_0x5aed06(0x211)],At=(_0x1f2c5b,_0x1e39a7,_0x4c361e)=>_0x1e39a7 in _0x1f2c5b?Dt(_0x1f2c5b,_0x1e39a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c361e}):_0x1f2c5b[_0x1e39a7]=_0x4c361e,A=(_0x418328,_0x556031,_0x477d23)=>At(_0x418328,typeof _0x556031!=_0x5aed06(0x283)?_0x556031+'':_0x556031,_0x477d23);Object[_0x5aed06(0x211)](exports,Symbol[_0x5aed06(0x17b)],{'value':_0x5aed06(0x17d)});const a=require(_0x5aed06(0x1ff)),$=require('rxjs'),V=require(_0x5aed06(0x1aa)),I=require('@univerjs-pro/collaboration'),Y=require(_0x5aed06(0x22d)),Pt=require(_0x5aed06(0x4c3)),ht=require(_0x5aed06(0x251)),X=require(_0x5aed06(0x2ab)),z=require('@univerjs/drawing'),wt=require('@univerjs-pro/license'),_t=_0x5aed06(0x23e),Lt=_0x5aed06(0x25b),lt='SNAPSHOT_URL_KEY',Mt='SEND_CHANGESET_TIMEOUT',xt=0x7d0,ut=_0x5aed06(0x381),dt=_0x5aed06(0x36a),kt=_0x5aed06(0x386),vt=_0x5aed06(0x24f),Ht=0x7530,ke=_0x5aed06(0x412),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x5aed06(0x333),Ft=0x3e8,pt=_0x5aed06(0x373),Vt=_0x5aed06(0x25e),It='LOGIN_URL_KEY',Wt=_0x5aed06(0x3fc),Gt=_0x5aed06(0x3c8),Kt='/universer-api/uniscript';var gt=(_0x1ad05f=>(_0x1ad05f[_0x1ad05f['UNDEFINED']=0x0]=_0x5aed06(0x48d),_0x1ad05f[_0x1ad05f['OK']=0x1]='OK',_0x1ad05f[_0x1ad05f[_0x5aed06(0x401)]=0x2]=_0x5aed06(0x401),_0x1ad05f[_0x1ad05f[_0x5aed06(0x349)]=0x3]=_0x5aed06(0x349),_0x1ad05f[_0x1ad05f[_0x5aed06(0x25f)]=0x4]=_0x5aed06(0x25f),_0x1ad05f[_0x1ad05f[_0x5aed06(0x4cd)]=0x5]=_0x5aed06(0x4cd),_0x1ad05f[_0x1ad05f['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x1ad05f[_0x1ad05f['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x1ad05f[_0x1ad05f[_0x5aed06(0x3b5)]=0x8]=_0x5aed06(0x3b5),_0x1ad05f[_0x1ad05f[_0x5aed06(0x1ae)]=0x9]=_0x5aed06(0x1ae),_0x1ad05f[_0x1ad05f[_0x5aed06(0x4a9)]=0xa]='LOGIN_FAILED',_0x1ad05f[_0x1ad05f['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5aed06(0x3a2),_0x1ad05f[_0x1ad05f[_0x5aed06(0x2b2)]=0x1771]=_0x5aed06(0x2b2),_0x1ad05f[_0x1ad05f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5aed06(0x4cf),_0x1ad05f[_0x1ad05f[_0x5aed06(0x356)]=0x1773]=_0x5aed06(0x356),_0x1ad05f[_0x1ad05f[_0x5aed06(0x3e4)]=0x1b59]=_0x5aed06(0x3e4),_0x1ad05f[_0x1ad05f[_0x5aed06(0x1d5)]=0x1b5a]=_0x5aed06(0x1d5),_0x1ad05f[_0x1ad05f[_0x5aed06(0x432)]=0x1b5b]=_0x5aed06(0x432),_0x1ad05f[_0x1ad05f['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1ad05f[_0x1ad05f[_0x5aed06(0x345)]=0x1b5d]=_0x5aed06(0x345),_0x1ad05f[_0x1ad05f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5aed06(0x31b),_0x1ad05f[_0x1ad05f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5aed06(0x3d1),_0x1ad05f[_0x1ad05f[_0x5aed06(0x424)]=0x232a]=_0x5aed06(0x424),_0x1ad05f[_0x1ad05f[_0x5aed06(0x236)]=0x232b]=_0x5aed06(0x236),_0x1ad05f[_0x1ad05f[_0x5aed06(0x223)]=0x232c]=_0x5aed06(0x223),_0x1ad05f[_0x1ad05f[_0x5aed06(0x3c9)]=0x232d]=_0x5aed06(0x3c9),_0x1ad05f[_0x1ad05f[_0x5aed06(0x472)]=0x2711]=_0x5aed06(0x472),_0x1ad05f[_0x1ad05f[_0x5aed06(0x17f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1ad05f[_0x1ad05f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5aed06(0x48c),_0x1ad05f[_0x1ad05f[_0x5aed06(0x487)]=0x2714]=_0x5aed06(0x487),_0x1ad05f[_0x1ad05f[_0x5aed06(0x437)]=0x271a]=_0x5aed06(0x437),_0x1ad05f[_0x1ad05f[_0x5aed06(0x276)]=0x271b]=_0x5aed06(0x276),_0x1ad05f[_0x1ad05f[_0x5aed06(0x31d)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1ad05f[_0x1ad05f[_0x5aed06(0x4d6)]=0x271d]=_0x5aed06(0x4d6),_0x1ad05f[_0x1ad05f[_0x5aed06(0x3f2)]=0x271e]=_0x5aed06(0x3f2),_0x1ad05f[_0x1ad05f[_0x5aed06(0x1b3)]=0x271f]=_0x5aed06(0x1b3),_0x1ad05f[_0x1ad05f[_0x5aed06(0x380)]=0x2af9]=_0x5aed06(0x380),_0x1ad05f[_0x1ad05f[_0x5aed06(0x429)]=0x2ee1]=_0x5aed06(0x429),_0x1ad05f[_0x1ad05f['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1ad05f[_0x1ad05f['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5aed06(0x31f),_0x1ad05f[_0x1ad05f[_0x5aed06(0x358)]=0x2ee4]=_0x5aed06(0x358),_0x1ad05f[_0x1ad05f[_0x5aed06(0x3b7)]=0x2ee5]=_0x5aed06(0x3b7),_0x1ad05f[_0x1ad05f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5aed06(0x3bd),_0x1ad05f[_0x1ad05f['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5aed06(0x34f),_0x1ad05f[_0x1ad05f[_0x5aed06(0x235)]=0x32cb]=_0x5aed06(0x235),_0x1ad05f[_0x1ad05f[_0x5aed06(0x35e)]=-0x1]=_0x5aed06(0x35e),_0x1ad05f))(gt||{}),J=(_0x28ef56=>(_0x28ef56[_0x28ef56['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x28ef56[_0x28ef56[_0x5aed06(0x1f3)]=0x1]=_0x5aed06(0x1f3),_0x28ef56[_0x28ef56[_0x5aed06(0x1de)]=0x2]=_0x5aed06(0x1de),_0x28ef56[_0x28ef56['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x28ef56[_0x28ef56[_0x5aed06(0x474)]=0x4]='UNIVER_PROJECT',_0x28ef56[_0x28ef56[_0x5aed06(0x35e)]=-0x1]=_0x5aed06(0x35e),_0x28ef56))(J||{}),W=(_0x28bfc6=>(_0x28bfc6[_0x28bfc6[_0x5aed06(0x4dc)]=0x0]=_0x5aed06(0x4dc),_0x28bfc6[_0x28bfc6[_0x5aed06(0x1f5)]=0x1]=_0x5aed06(0x1f5),_0x28bfc6[_0x28bfc6['JOIN']=0x2]=_0x5aed06(0x1ba),_0x28bfc6[_0x28bfc6[_0x5aed06(0x47c)]=0x3]=_0x5aed06(0x47c),_0x28bfc6[_0x28bfc6[_0x5aed06(0x368)]=0x4]=_0x5aed06(0x368),_0x28bfc6[_0x28bfc6[_0x5aed06(0x40a)]=0x5]=_0x5aed06(0x40a),_0x28bfc6[_0x28bfc6['RECV']=0x6]=_0x5aed06(0x224),_0x28bfc6[_0x28bfc6[_0x5aed06(0x35e)]=-0x1]=_0x5aed06(0x35e),_0x28bfc6))(W||{}),oe=(_0x4514f9=>(_0x4514f9[_0x4514f9[_0x5aed06(0x4b0)]=0x0]=_0x5aed06(0x4b0),_0x4514f9[_0x4514f9['OK']=0x1]='OK',_0x4514f9[_0x4514f9[_0x5aed06(0x249)]=0x2]='FAIL',_0x4514f9[_0x4514f9['JOIN_ROOM_FULL']=0x3e9]=_0x5aed06(0x27e),_0x4514f9[_0x4514f9['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x5aed06(0x46c),_0x4514f9[_0x4514f9[_0x5aed06(0x3d3)]=0x3eb]=_0x5aed06(0x3d3),_0x4514f9[_0x4514f9[_0x5aed06(0x422)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x4514f9[_0x4514f9[_0x5aed06(0x35e)]=-0x1]='UNRECOGNIZED',_0x4514f9))(oe||{}),Et=(_0x2ce8e9=>(_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x238)]=0x0]=_0x5aed06(0x238),_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x38a)]=0x1]=_0x5aed06(0x38a),_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x311)]=0x2]='HttpExport',_0x2ce8e9[_0x2ce8e9['UnitEmbedded']=0x3]=_0x5aed06(0x201),_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x231)]=0x4]=_0x5aed06(0x231),_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x3a5)]=0x5]=_0x5aed06(0x3a5),_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x35e)]=-0x1]=_0x5aed06(0x35e),_0x2ce8e9))(Et||{});const K='collaboration-client.config',Yt={};var Z=(_0x27859b=>(_0x27859b[_0x5aed06(0x216)]=_0x5aed06(0x216),_0x27859b[_0x5aed06(0x349)]=_0x5aed06(0x349),_0x27859b[_0x5aed06(0x256)]=_0x5aed06(0x256),_0x27859b[_0x5aed06(0x4b3)]='CLOSE_ROOM',_0x27859b[_0x5aed06(0x434)]='JOIN_ROOM_FAILED',_0x27859b[_0x5aed06(0x4da)]=_0x5aed06(0x4da),_0x27859b['SOCKET_FAILED']=_0x5aed06(0x257),_0x27859b['SUBMIT_CHANGESET_TIMEOUT']=_0x5aed06(0x21d),_0x27859b))(Z||{});class ee{constructor(){var _0x889276=_0x5aed06;A(this,_0x889276(0x42c),new $[(_0x889276(0x2fd))]()),A(this,_0x889276(0x2fb),this['_event$'][_0x889276(0x3a8)]());}['emitEvent'](_0x4209b9){var _0x4a7e3f=_0x5aed06;this[_0x4a7e3f(0x42c)][_0x4a7e3f(0x193)](_0x4209b9);}}const mt=a[_0x5aed06(0x258)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x508242){var _0x4af6d4=_0x5aed06,_0x279caa,_0x5a6716,_0x3da2a5,_0x567533,_0x2df126;const _0x3c3338=_0x508242['data'],_0x31fc96=JSON[_0x4af6d4(0x274)](_0x3c3338);switch(_0x31fc96['cmd']){case W[_0x4af6d4(0x40a)]:case W[_0x4af6d4(0x1f5)]:{const _0x4828e8=_0x31fc96[_0x4af6d4(0x1d4)];return{..._0x31fc96,'data':_0x4828e8,'cmd':_0x31fc96[_0x4af6d4(0x32d)]};}case W[_0x4af6d4(0x1ba)]:{const _0x2c94bc=_0x31fc96['joinRsp'];return{..._0x31fc96,'data':_0x2c94bc,'cmd':_0x31fc96[_0x4af6d4(0x32d)]};}case W['RECV']:{const _0x3dad85=_0x31fc96[_0x4af6d4(0x32b)];switch(_0x3dad85[_0x4af6d4(0x264)]){case I[_0x4af6d4(0x1eb)]['PERMISSION_REJ']:return{..._0x31fc96,'data':{..._0x3dad85,'data':(_0x279caa=_0x3dad85[_0x4af6d4(0x2de)])==null?void 0x0:_0x279caa['cs']},'cmd':_0x31fc96['cmd']};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x491)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':(_0x5a6716=_0x3dad85[_0x4af6d4(0x4c0)])==null?void 0x0:_0x5a6716['cs']},'cmd':_0x31fc96['cmd']};case I['CollaborationEvent'][_0x4af6d4(0x3b9)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':(_0x3da2a5=_0x3dad85[_0x4af6d4(0x2e7)])==null?void 0x0:_0x3da2a5['cs']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x47f)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':(_0x567533=_0x3dad85[_0x4af6d4(0x320)])==null?void 0x0:_0x567533['cs']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x4e7)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':(_0x2df126=_0x3dad85[_0x4af6d4(0x4a2)])==null?void 0x0:_0x2df126['cs']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x189)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x3ee)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x3f8)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x20e)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85['leaveEvent']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)]['LIVESHARE_NEW_HOST']:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x24b)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x2c8)]:case I[_0x4af6d4(0x1eb)]['LIVESHARE_OPERATION']:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x313)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)]['LIVESHARE_TERMINATE']:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85['liveShareNewHost']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x31fc96,'data':_0x3dad85,'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x44e)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x3ad)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I['CollaborationEvent'][_0x4af6d4(0x178)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85['updatePermissionObjEvent']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x19b)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x367)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I['CollaborationEvent'][_0x4af6d4(0x37f)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x476)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};default:return _0x31fc96;}}default:return _0x31fc96;}}function Tt(_0x19f6ba){var _0x10ba8b=_0x5aed06;switch(_0x19f6ba[_0x10ba8b(0x32d)]){case W[_0x10ba8b(0x40a)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x19f6ba['cmd'],'routeKey':_0x19f6ba[_0x10ba8b(0x233)]});case W[_0x10ba8b(0x368)]:{let _0x3f81f8;switch(_0x19f6ba[_0x10ba8b(0x268)][_0x10ba8b(0x264)]){case I[_0x10ba8b(0x1eb)][_0x10ba8b(0x44c)]:{_0x3f81f8={'eventID':I['CollaborationEvent'][_0x10ba8b(0x44c)],'updateCursorEvent':_0x19f6ba['data'][_0x10ba8b(0x268)]};break;}case I[_0x10ba8b(0x1eb)][_0x10ba8b(0x20e)]:{_0x3f81f8={'eventID':I['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x19f6ba[_0x10ba8b(0x268)][_0x10ba8b(0x268)]};break;}case I['CollaborationEvent'][_0x10ba8b(0x3ee)]:{_0x3f81f8={'eventID':I[_0x10ba8b(0x1eb)][_0x10ba8b(0x3ee)],'joinEvent':_0x19f6ba['data'][_0x10ba8b(0x268)]};break;}case I['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x3f81f8={'eventID':I[_0x10ba8b(0x1eb)][_0x10ba8b(0x2a6)],'liveShareNewHost':_0x19f6ba['data']['data']};break;}case I[_0x10ba8b(0x1eb)]['LIVESHARE_OPERATION']:{_0x3f81f8={'eventID':I[_0x10ba8b(0x1eb)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x19f6ba[_0x10ba8b(0x268)]['data']};break;}case I[_0x10ba8b(0x1eb)][_0x10ba8b(0x2ca)]:{_0x3f81f8={'eventID':I['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x19f6ba[_0x10ba8b(0x268)][_0x10ba8b(0x268)]};break;}case I[_0x10ba8b(0x1eb)][_0x10ba8b(0x3e7)]:{_0x3f81f8={'eventID':I[_0x10ba8b(0x1eb)][_0x10ba8b(0x3e7)],'liveShareRequestHost':_0x19f6ba[_0x10ba8b(0x268)][_0x10ba8b(0x268)]};break;}case I['CollaborationEvent'][_0x10ba8b(0x2c8)]:{_0x3f81f8={'eventID':I[_0x10ba8b(0x1eb)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3f81f8={'eventID':_0x19f6ba['data'][_0x10ba8b(0x264)]};}return JSON[_0x10ba8b(0x463)]({'cmd':_0x19f6ba[_0x10ba8b(0x32d)],'routeKey':_0x19f6ba[_0x10ba8b(0x233)],'collaMsg':_0x3f81f8});}case W[_0x10ba8b(0x1ba)]:return JSON[_0x10ba8b(0x463)]({'cmd':_0x19f6ba[_0x10ba8b(0x32d)],'routeKey':_0x19f6ba[_0x10ba8b(0x233)],'joinReq':_0x19f6ba[_0x10ba8b(0x268)]});case W[_0x10ba8b(0x47c)]:return JSON[_0x10ba8b(0x463)]({'cmd':_0x19f6ba[_0x10ba8b(0x32d)],'routeKey':_0x19f6ba[_0x10ba8b(0x233)],'leaveReq':_0x19f6ba['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x3f6db4,_0x12444d,_0x44b701,_0x59b16c)=>{for(var _0xe61138=_0x59b16c>0x1?void 0x0:_0x59b16c?qt(_0x12444d,_0x44b701):_0x12444d,_0x1fa299=_0x3f6db4['length']-0x1,_0x398045;_0x1fa299>=0x0;_0x1fa299--)(_0x398045=_0x3f6db4[_0x1fa299])&&(_0xe61138=_0x398045(_0xe61138)||_0xe61138);return _0xe61138;},_e=(_0x15c200,_0x30cf32)=>(_0x28949a,_0x490e26)=>_0x30cf32(_0x28949a,_0x490e26,_0x15c200);const He=a['createIdentifier'](_0x5aed06(0x473));function Jt(_0x5d1604,_0x138bf8,_0x7e7f01){var _0x313506=_0x5aed06;return _0x5d1604+'/'+_0x138bf8+_0x313506(0x39c)+_0x7e7f01+'/new_changes';}exports[_0x5aed06(0x396)]=class extends a[_0x5aed06(0x43b)]{constructor(_0x19298b,_0x160e12,_0x4f8936,_0x53e206,_0x9846aa){var _0x4711fd=_0x5aed06;super(),this['_injector']=_0x19298b,this[_0x4711fd(0x38b)]=_0x160e12,this[_0x4711fd(0x26c)]=_0x4f8936,this[_0x4711fd(0x496)]=_0x53e206,this['_snapshotServerService']=_0x9846aa;}[_0x5aed06(0x30b)](_0x1a1b96){var _0x59d884=_0x5aed06;const _0x1153f4=this[_0x59d884(0x1a3)][_0x59d884(0x4d1)](Y[_0x59d884(0x495)]);if(!_0x1153f4)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4f66bb=_0x1153f4['createSocket'](_0x1a1b96);if(!_0x4f66bb)throw new Error(_0x59d884(0x46e));const _0x213644=new a[(_0x59d884(0x4d0))](),_0x52fa2b=new $['Subject']();_0x213644[_0x59d884(0x192)](_0x4f66bb[_0x59d884(0x4c9)][_0x59d884(0x284)](_0x1bc3ba=>_0x52fa2b['next'](_0x1bc3ba))),_0x213644[_0x59d884(0x192)](a[_0x59d884(0x1ec)](()=>_0x52fa2b[_0x59d884(0x4c7)]()));const _0x5912ad=new $[(_0x59d884(0x2fd))]();_0x213644[_0x59d884(0x192)](_0x4f66bb[_0x59d884(0x4b5)][_0x59d884(0x284)](_0x24804d=>_0x5912ad[_0x59d884(0x193)](_0x24804d))),_0x213644[_0x59d884(0x192)](a[_0x59d884(0x1ec)](()=>_0x5912ad[_0x59d884(0x4c7)]()));const _0x19023a=new $[(_0x59d884(0x2fd))]();_0x213644[_0x59d884(0x192)](_0x4f66bb[_0x59d884(0x1fa)][_0x59d884(0x284)](_0x3c6dc2=>{const _0x3c7b1b=Ct(_0x3c6dc2);_0x19023a['next'](_0x3c7b1b);})),_0x213644['add'](a['toDisposable'](()=>_0x19023a['complete']()));let _0x58ad84;const _0x6d4e76=()=>{var _0x245ed5=_0x59d884;_0x5912ad['next'](new Event(_0x245ed5(0x2ee))),_0x52fa2b[_0x245ed5(0x193)](new Event(_0x245ed5(0x2ee))),_0x58ad84[_0x245ed5(0x3e0)]();};return _0x58ad84={'memberID':'','close$':_0x52fa2b[_0x59d884(0x3a8)](),'error$':_0x5912ad[_0x59d884(0x3a8)](),'open$':_0x4f66bb[_0x59d884(0x4b7)],'message$':_0x19023a[_0x59d884(0x3a8)](),'send':_0x4084bf=>{var _0x1fa749=_0x59d884;if(_0x4084bf[_0x1fa749(0x32d)]===W[_0x1fa749(0x368)]){if(_0x4084bf[_0x1fa749(0x268)][_0x1fa749(0x264)]===I['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x1fa749(0x29b)](_0x58ad84,_0x4084bf[_0x1fa749(0x268)])[_0x1fa749(0x3e5)](_0x4bcd3f=>{var _0xf70648=_0x1fa749;this[_0xf70648(0x496)][_0xf70648(0x3ac)](_0x4bcd3f),_0x6d4e76();});return;}if(_0x4084bf[_0x1fa749(0x268)][_0x1fa749(0x264)]===I['CollaborationEvent'][_0x1fa749(0x17c)]){const _0x4290b2=_0x4084bf[_0x1fa749(0x268)];this['_fetchMissChangesets'](_0x4290b2)[_0x1fa749(0x215)](_0x57e9e4=>{var _0x41ab72=_0x1fa749;_0x19023a[_0x41ab72(0x193)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x4290b2[_0x41ab72(0x268)]['unitID'],'routeType':'','data':{'eventID':I[_0x41ab72(0x1eb)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x57e9e4}}});})[_0x1fa749(0x3e5)](_0x3bf71a=>{var _0x451215=_0x1fa749;this[_0x451215(0x496)][_0x451215(0x3ac)](_0x3bf71a),_0x6d4e76();});return;}}_0x4f66bb['send'](Tt(_0x4084bf));},'close':()=>{var _0x5a4ce1=_0x59d884;_0x4f66bb[_0x5a4ce1(0x3e0)](),_0x213644[_0x5a4ce1(0x456)]();}},_0x58ad84;}async[_0x5aed06(0x29b)](_0x596920,_0xa23bf7){var _0x4328c6=_0x5aed06,_0x2628b8,_0xf58179;const {unitType:_0xc6e073,unitID:_0x2bee5c,changeset:_0x5200c7}=_0xa23bf7[_0x4328c6(0x268)],_0x362af9={'unitID':_0x2bee5c,'memberID':_0x596920['memberID'],'type':_0xc6e073,'changeset':I['parseChangesetToProtocol'](_0x5200c7)},_0x22975d=this[_0x4328c6(0x26c)][_0x4328c6(0x327)](pt),_0x115695=this[_0x4328c6(0x26c)]['getConfig'](K),_0x9d56c3=Jt((_0xf58179=(_0x2628b8=_0x115695==null?void 0x0:_0x115695[_0x4328c6(0x3cd)])!=null?_0x2628b8:_0x22975d)!=null?_0xf58179:Vt,_0xc6e073,_0x2bee5c);try{await this[_0x4328c6(0x38b)]['post'](_0x9d56c3,{'body':_0x362af9});}catch(_0x5c2f1c){throw this[_0x4328c6(0x496)]['error']('[CollaborationSession]',_0x4328c6(0x360)),_0x5c2f1c;}}async[_0x5aed06(0x203)](_0x4ae24c){var _0x4472c6=_0x5aed06;const {unitID:_0x2e59fd,from:_0x1f7c21,to:_0x2fb0d1,unitType:_0x256bf8}=_0x4ae24c[_0x4472c6(0x268)];return(await this[_0x4472c6(0x2f1)][_0x4472c6(0x453)]({'metadata':void 0x0},{'unitID':_0x2e59fd,'type':_0x256bf8,'from':_0x1f7c21,'to':_0x2fb0d1}))[_0x4472c6(0x246)];}},exports[_0x5aed06(0x396)]=zt([_e(0x0,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),_e(0x1,a[_0x5aed06(0x46b)](Y[_0x5aed06(0x414)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x5aed06(0x2c4)]),_e(0x4,I['ISnapshotServerService'])],exports[_0x5aed06(0x396)]);const Xt=_0x5aed06(0x1b1);function Zt(_0x4ffacf){var _0x5baa38=_0x5aed06;return JSON[_0x5baa38(0x463)](_0x4ffacf)[_0x5baa38(0x24e)];}class $e{constructor(){var _0x948b89=_0x5aed06;A(this,_0x948b89(0x478),new $['Subject']()),A(this,_0x948b89(0x1e5),this[_0x948b89(0x478)]['asObservable']());}['onCommentUpdate'](_0x3bf8bc){var _0x16eea7=_0x5aed06;this[_0x16eea7(0x478)][_0x16eea7(0x193)](_0x3bf8bc);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x506579,_0x538c7a,_0x30b8be,_0x45d77a)=>{for(var _0x48798e=_0x45d77a>0x1?void 0x0:_0x45d77a?Qt(_0x538c7a,_0x30b8be):_0x538c7a,_0x22e9b7=_0x506579['length']-0x1,_0x9e5702;_0x22e9b7>=0x0;_0x22e9b7--)(_0x9e5702=_0x506579[_0x22e9b7])&&(_0x48798e=_0x9e5702(_0x48798e)||_0x48798e);return _0x48798e;},We=(_0x2ed93b,_0x382102)=>(_0x54e0a5,_0xa8ca1c)=>_0x382102(_0x54e0a5,_0xa8ca1c,_0x2ed93b);exports[_0x5aed06(0x195)]=class extends a[_0x5aed06(0x43b)]{constructor(_0x995747,_0x4d5fd3){var _0x5b17d3=_0x5aed06;super(),A(this,_0x5b17d3(0x3a1),new Map()),A(this,_0x5b17d3(0x3ec),new $[(_0x5b17d3(0x2fd))]()),(this['_univerInstanceService']=_0x995747,this[_0x5b17d3(0x1c2)]=_0x4d5fd3,this[_0x5b17d3(0x3ed)]($['merge'](this[_0x5b17d3(0x3a6)]['getTypeOfUnitDisposed$'](a[_0x5b17d3(0x3b6)][_0x5b17d3(0x1de)])[_0x5b17d3(0x280)](V[_0x5b17d3(0x33c)](_0x188c34=>_0x188c34['getUnitId']())),this[_0x5b17d3(0x3a6)][_0x5b17d3(0x20a)](a[_0x5b17d3(0x3b6)][_0x5b17d3(0x1f3)])['pipe'](V[_0x5b17d3(0x33c)](_0x47dfdb=>_0x47dfdb[_0x5b17d3(0x2f0)]())),this[_0x5b17d3(0x3a6)][_0x5b17d3(0x20a)](a[_0x5b17d3(0x3b6)]['UNIVER_SLIDE'])[_0x5b17d3(0x280)](V[_0x5b17d3(0x33c)](_0x4f92fa=>_0x4f92fa['getUnitId']())))[_0x5b17d3(0x284)](_0x382a0f=>this['_removeRoom'](_0x382a0f))));}[_0x5aed06(0x188)](_0x8c6f13){var _0x23e195=_0x5aed06;return this[_0x23e195(0x3a1)][_0x23e195(0x3c3)](_0x8c6f13)?$['of'](this[_0x23e195(0x3a1)][_0x23e195(0x4d1)](_0x8c6f13)):this['_roomCreated$'][_0x23e195(0x280)](V[_0x23e195(0x33c)](_0x400508=>{var _0x4c749f=_0x23e195;if(_0x400508===_0x8c6f13)return this[_0x4c749f(0x3a1)]['get'](_0x400508);}));}[_0x5aed06(0x25d)](_0x5a8187){var _0x4f53db=_0x5aed06;this[_0x4f53db(0x1c2)][_0x4f53db(0x25d)](_0x5a8187);}[_0x5aed06(0x30c)](){return this['_userManagerService']['getCurrentUser']();}[_0x5aed06(0x255)](_0xf8e6cb,_0x594aa2){var _0x162c96=_0x5aed06;let _0x36dce4=this[_0x162c96(0x3a1)][_0x162c96(0x4d1)](_0xf8e6cb);_0x36dce4||(_0x36dce4=new ti(),this['_roomMembers'][_0x162c96(0x426)](_0xf8e6cb,_0x36dce4),this[_0x162c96(0x3ec)][_0x162c96(0x193)](_0xf8e6cb)),_0x36dce4[_0x162c96(0x255)](_0x594aa2);}[_0x5aed06(0x302)](_0x857fa0,_0x2889c0){var _0x2fc932=_0x5aed06;const _0x3cdc90=this['_roomMembers'][_0x2fc932(0x4d1)](_0x857fa0);_0x3cdc90&&_0x3cdc90['removeMember'](_0x2889c0);}[_0x5aed06(0x450)](_0x36817e){var _0x4c4c43=_0x5aed06;return this['_roomMembers'][_0x4c4c43(0x4d1)](_0x36817e);}['getMember'](_0x4baf1e,_0x5e04bd){var _0x3890ef=_0x5aed06;const _0x542397=this['_roomMembers'][_0x3890ef(0x4d1)](_0x4baf1e);if(_0x542397)return _0x542397['getMember'](_0x5e04bd);}['_removeRoom'](_0x587eab){var _0x441b1a=_0x5aed06;const _0x5e3589=this[_0x441b1a(0x3a1)][_0x441b1a(0x4d1)](_0x587eab);_0x5e3589&&(_0x5e3589[_0x441b1a(0x456)](),this[_0x441b1a(0x3a1)][_0x441b1a(0x438)](_0x587eab));}['dispose'](){var _0x1ad866=_0x5aed06;this['_roomMembers'][_0x1ad866(0x4d4)](_0x182629=>_0x182629[_0x1ad866(0x456)]()),this[_0x1ad866(0x3a1)][_0x1ad866(0x19c)](),this['_roomCreated$'][_0x1ad866(0x4c7)]();}},exports[_0x5aed06(0x195)]=ei([We(0x0,a[_0x5aed06(0x3aa)]),We(0x1,a['Inject'](a[_0x5aed06(0x47a)]))],exports['MemberService']);class ti extends a[_0x5aed06(0x43b)]{constructor(){var _0x553733=_0x5aed06;super(...arguments),A(this,_0x553733(0x1c5),new Map()),A(this,_0x553733(0x196),new $[(_0x553733(0x490))](this[_0x553733(0x1c5)])),A(this,_0x553733(0x202),this[_0x553733(0x196)][_0x553733(0x3a8)]());}[_0x5aed06(0x456)](){var _0x183874=_0x5aed06;this['_members'][_0x183874(0x19c)]();}['updateMember'](_0x22a6d1){var _0x4103f8=_0x5aed06;this[_0x4103f8(0x1c5)][_0x4103f8(0x426)](_0x22a6d1[_0x4103f8(0x419)],_0x22a6d1),this[_0x4103f8(0x227)]();}[_0x5aed06(0x302)](_0x1558c3){var _0x4a577c=_0x5aed06;this[_0x4a577c(0x1c5)]['delete'](_0x1558c3);}[_0x5aed06(0x173)](_0xf2b687){var _0x1d0491=_0x5aed06;return this['_members'][_0x1d0491(0x4d1)](_0xf2b687);}[_0x5aed06(0x322)](){var _0xd7c6=_0x5aed06;return Array[_0xd7c6(0x2c9)](this[_0xd7c6(0x1c5)][_0xd7c6(0x273)]());}[_0x5aed06(0x227)](){var _0x14ef38=_0x5aed06;this[_0x14ef38(0x196)][_0x14ef38(0x193)](this['_members']);}}var ii=Object[_0x5aed06(0x206)],ni=(_0x6a8665,_0x2bc9a8,_0x285c3f,_0x26235b)=>{var _0x5449bf=_0x5aed06;for(var _0x1cb0a7=_0x26235b>0x1?void 0x0:_0x26235b?ii(_0x2bc9a8,_0x285c3f):_0x2bc9a8,_0x2c53ab=_0x6a8665[_0x5449bf(0x24e)]-0x1,_0x1d40f6;_0x2c53ab>=0x0;_0x2c53ab--)(_0x1d40f6=_0x6a8665[_0x2c53ab])&&(_0x1cb0a7=_0x1d40f6(_0x1cb0a7)||_0x1cb0a7);return _0x1cb0a7;},se=(_0x298e08,_0x34f031)=>(_0x101e1b,_0x2c7aad)=>_0x34f031(_0x101e1b,_0x2c7aad,_0x298e08),re=(_0x44d622=>(_0x44d622[_0x44d622[_0x5aed06(0x47e)]=0x0]=_0x5aed06(0x47e),_0x44d622[_0x44d622[_0x5aed06(0x344)]=0x1]=_0x5aed06(0x344),_0x44d622[_0x44d622[_0x5aed06(0x4ad)]=0x2]=_0x5aed06(0x4ad),_0x44d622[_0x44d622[_0x5aed06(0x49b)]=0x3]=_0x5aed06(0x49b),_0x44d622))(re||{});const Ge={[oe[_0x5aed06(0x249)]]:_0x5aed06(0x22b),[oe[_0x5aed06(0x27e)]]:_0x5aed06(0x29c),[oe[_0x5aed06(0x46c)]]:_0x5aed06(0x26d),[oe[_0x5aed06(0x3d3)]]:_0x5aed06(0x1a6),[oe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5aed06(0x2b8)};exports['CollaborationSession']=class extends a[_0x5aed06(0x33e)]{constructor(_0x56d2cd,_0x389206,_0x44daca,_0x353b32,_0x1d937f,_0x2c8103,_0x5f3200,_0x514c55,_0x36c84d){var _0x59d451=_0x5aed06;super(),A(this,_0x59d451(0x4b6),new $[(_0x59d451(0x490))](0x0)),A(this,_0x59d451(0x198),this[_0x59d451(0x4b6)][_0x59d451(0x3a8)]()),A(this,_0x59d451(0x42c),new $[(_0x59d451(0x2fd))]()),A(this,_0x59d451(0x2fb),this['_event$'][_0x59d451(0x3a8)]()),A(this,_0x59d451(0x1da)),A(this,_0x59d451(0x4e0)),A(this,_0x59d451(0x2ad)),A(this,_0x59d451(0x3e3),!0x1),A(this,'_telemetryInfo',null),(this[_0x59d451(0x1fb)]=_0x56d2cd,this[_0x59d451(0x496)]=_0x44daca,this[_0x59d451(0x26c)]=_0x353b32,this[_0x59d451(0x446)]=_0x1d937f,this[_0x59d451(0x2bf)]=_0x2c8103,this[_0x59d451(0x20c)]=_0x5f3200,this[_0x59d451(0x45c)]=_0x514c55,this[_0x59d451(0x1ed)]=_0x36c84d,this[_0x59d451(0x3e3)]=!!this[_0x59d451(0x1ed)],_0x389206[_0x59d451(0x280)]($[_0x59d451(0x3cb)](this[_0x59d451(0x3c4)]))['subscribe'](_0x12174c=>{var _0xe3eced=_0x59d451,_0xf5ad0e;typeof _0x12174c>'u'||(this[_0xe3eced(0x1da)]=_0x12174c,_0x12174c?(this[_0xe3eced(0x388)](_0x12174c),this[_0xe3eced(0x4e0)]=_0x12174c[_0xe3eced(0x1fa)][_0xe3eced(0x284)](_0x20d1e2=>{var _0x3b5948=_0xe3eced;_0x20d1e2[_0x3b5948(0x233)]===this[_0x3b5948(0x1fb)]&&this[_0x3b5948(0x493)](_0x20d1e2);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xe3eced(0x4b6)][_0xe3eced(0x193)](0x2),(_0xf5ad0e=this['_socketMessageSubscription'])==null||_0xf5ad0e[_0xe3eced(0x41f)](),this[_0xe3eced(0x4e0)]=null));}));}get[_0x5aed06(0x278)](){var _0x3717d6=_0x5aed06;return this[_0x3717d6(0x4b6)]['getValue']();}[_0x5aed06(0x18b)](){var _0x1ee691=_0x5aed06,_0x1be640,_0x58e6c0;return(_0x58e6c0=(_0x1be640=this[_0x1ee691(0x1da)])==null?void 0x0:_0x1be640[_0x1ee691(0x419)])!=null?_0x58e6c0:null;}['dispose'](){var _0x4d9611=_0x5aed06;super[_0x4d9611(0x456)](),this['dispose$'][_0x4d9611(0x193)](),this[_0x4d9611(0x3c4)][_0x4d9611(0x4c7)]();}[_0x5aed06(0x3e0)](){var _0x2d76ff=_0x5aed06,_0x522247,_0x2fd00a;this[_0x2d76ff(0x2dc)](),(_0x522247=this[_0x2d76ff(0x1da)])==null||_0x522247[_0x2d76ff(0x336)]({'cmd':W[_0x2d76ff(0x47c)],'data':{'roomID':this[_0x2d76ff(0x1fb)]}}),(_0x2fd00a=this[_0x2d76ff(0x1da)])==null||_0x2fd00a[_0x2d76ff(0x3e0)](),this['_event$']['complete'](),this[_0x2d76ff(0x4b6)][_0x2d76ff(0x4c7)](),this[_0x2d76ff(0x456)]();}[_0x5aed06(0x493)](_0xc7c48b){var _0x56feae=_0x5aed06;_0xc7c48b['cmd']===W['JOIN']?this[_0x56feae(0x2ae)](_0xc7c48b):_0xc7c48b[_0x56feae(0x32d)]===W['RECV']&&this['_onRecvEvent'](_0xc7c48b);}[_0x5aed06(0x388)](_0x46a6d6){var _0x3fc1f4=_0x5aed06;this['_sessionStatus$'][_0x3fc1f4(0x193)](0x1),_0x46a6d6[_0x3fc1f4(0x336)]({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x3fc1f4(0x1fb)]}]}});}[_0x5aed06(0x2ae)](_0x1e7c28){var _0x237bbe=_0x5aed06,_0xa3e3c2;if(_0x1e7c28[_0x237bbe(0x290)]in Ge){this[_0x237bbe(0x45c)][_0x237bbe(0x182)]({'id':Z[_0x237bbe(0x434)],'data':Ge[_0x1e7c28[_0x237bbe(0x290)]]}),this[_0x237bbe(0x4b6)]['next'](0x2);return;}this[_0x237bbe(0x4b6)]['next'](0x3);const _0xca565f=(_0xa3e3c2=_0x1e7c28[_0x237bbe(0x268)][_0x237bbe(0x4b9)][this['_unitID']])==null?void 0x0:_0xa3e3c2[_0x237bbe(0x26e)];_0xca565f&&_0xca565f[_0x237bbe(0x4d4)](_0x2c500f=>this[_0x237bbe(0x2bf)][_0x237bbe(0x255)](this[_0x237bbe(0x1fb)],_0x2c500f));}['_onRecvEvent'](_0x74767){var _0x331c98=_0x5aed06;try{const _0x100c73=_0x74767[_0x331c98(0x268)];switch(_0x100c73[_0x331c98(0x264)]){case I[_0x331c98(0x1eb)][_0x331c98(0x3ee)]:this[_0x331c98(0x3f4)](_0x100c73),this[_0x331c98(0x42c)][_0x331c98(0x193)](_0x100c73);break;case I[_0x331c98(0x1eb)][_0x331c98(0x20e)]:this['_onUserLeave'](_0x100c73),this[_0x331c98(0x42c)]['next'](_0x100c73);break;case I[_0x331c98(0x1eb)]['CHANGESET_ACK']:case I[_0x331c98(0x1eb)][_0x331c98(0x4e7)]:this[_0x331c98(0x1bb)](),this['_clearCollaborationTimeoutTimer'](),this[_0x331c98(0x42c)][_0x331c98(0x193)](_0x100c73);break;case I[_0x331c98(0x1eb)][_0x331c98(0x423)]:this[_0x331c98(0x496)][_0x331c98(0x3ac)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x331c98(0x463)](_0x100c73)),this[_0x331c98(0x42c)][_0x331c98(0x193)](_0x100c73);break;case I[_0x331c98(0x1eb)][_0x331c98(0x44e)]:this[_0x331c98(0x20c)][_0x331c98(0x1a5)](_0x100c73[_0x331c98(0x268)]),this['_event$'][_0x331c98(0x193)](_0x100c73);break;default:this[_0x331c98(0x42c)][_0x331c98(0x193)](_0x100c73);}}catch(_0x46eb37){this[_0x331c98(0x496)][_0x331c98(0x3ac)](_0x46eb37,_0x74767);}}[_0x5aed06(0x3f4)](_0xd5fc68){var _0x3ab863=_0x5aed06;this['_memberService']['updateMember'](this[_0x3ab863(0x1fb)],_0xd5fc68['data']);}['_onUserLeave'](_0x2a73f3){var _0x4f96bb=_0x5aed06;this[_0x4f96bb(0x2bf)][_0x4f96bb(0x302)](this[_0x4f96bb(0x1fb)],_0x2a73f3[_0x4f96bb(0x268)][_0x4f96bb(0x419)]);}async['send'](_0x42c146,_0x17d522){var _0x3b04ca=_0x5aed06;if(this[_0x3b04ca(0x278)]!==0x3||!this[_0x3b04ca(0x1da)])throw new Error(_0x3b04ca(0x1ef));try{_0x42c146[_0x3b04ca(0x264)]===I[_0x3b04ca(0x1eb)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x3b04ca(0x21c)](_0x42c146)),this[_0x3b04ca(0x1da)][_0x3b04ca(0x336)]({'cmd':W[_0x3b04ca(0x368)],'routeKey':_0x17d522,'routeType':'','data':_0x42c146});}catch(_0x4eac34){this[_0x3b04ca(0x496)]['error'](_0x4eac34);}}[_0x5aed06(0x3bf)](){var _0x59d2ac=_0x5aed06,_0xdac857;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x17ad0f=_0x156c;this['_collaborationTimeoutTimer']=null,this[_0x17ad0f(0x45c)]['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0xdac857=this[_0x59d2ac(0x26c)][_0x59d2ac(0x327)](ke))!=null?_0xdac857:St);}[_0x5aed06(0x3c7)](){var _0x48de32=_0x5aed06;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x48de32(0x2ad)]),this['_collaborationTimeoutTimer']=null);}[_0x5aed06(0x21c)](_0x4e8d5c){var _0x439c7f=_0x5aed06;if(!this[_0x439c7f(0x3e3)])return;const {data:_0x2304aa}=_0x4e8d5c,{unitID:_0xb463fc,changeset:_0x2be0df}=_0x2304aa,{mutations:_0x46e4aa,type:_0x320aa0}=_0x2be0df;this[_0x439c7f(0x328)]={'unitId':_0xb463fc,'type':_0x320aa0,'startTime':performance[_0x439c7f(0x39d)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x46e4aa)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1c9b1f=_0x5aed06;if(this[_0x1c9b1f(0x3e3)]){if(!this[_0x1c9b1f(0x328)]){this[_0x1c9b1f(0x496)][_0x1c9b1f(0x3ac)](_0x1c9b1f(0x184),_0x1c9b1f(0x357));return;}this[_0x1c9b1f(0x328)][_0x1c9b1f(0x39a)]=performance[_0x1c9b1f(0x39d)](),this[_0x1c9b1f(0x328)][_0x1c9b1f(0x237)]=this[_0x1c9b1f(0x328)][_0x1c9b1f(0x39a)]-this[_0x1c9b1f(0x328)][_0x1c9b1f(0x1bf)],this[_0x1c9b1f(0x1ed)]['capture'](Xt,this[_0x1c9b1f(0x328)]),this['_telemetryInfo']=null;}}[_0x5aed06(0x2dc)](){var _0x5ea973=_0x5aed06;this[_0x5ea973(0x328)]=null;}},exports[_0x5aed06(0x310)]=ni([se(0x2,a[_0x5aed06(0x2c4)]),se(0x3,a['IConfigService']),se(0x4,a[_0x5aed06(0x46b)](a[_0x5aed06(0x180)])),se(0x5,a['Inject'](exports[_0x5aed06(0x195)])),se(0x6,a[_0x5aed06(0x46b)]($e)),se(0x7,a[_0x5aed06(0x46b)](ee)),se(0x8,a['Optional'](Pt['ITelemetryService']))],exports[_0x5aed06(0x310)]);var ri=Object[_0x5aed06(0x206)],si=(_0xdc1849,_0xf1391,_0x143b1f,_0x31ab1a)=>{var _0x58ffd8=_0x5aed06;for(var _0x1f8c40=_0x31ab1a>0x1?void 0x0:_0x31ab1a?ri(_0xf1391,_0x143b1f):_0xf1391,_0x54bd62=_0xdc1849[_0x58ffd8(0x24e)]-0x1,_0x1b107e;_0x54bd62>=0x0;_0x54bd62--)(_0x1b107e=_0xdc1849[_0x54bd62])&&(_0x1f8c40=_0x1b107e(_0x1f8c40)||_0x1f8c40);return _0x1f8c40;},he=(_0xc02040,_0x46da0d)=>(_0x63055,_0x494b5e)=>_0x46da0d(_0x63055,_0x494b5e,_0xc02040);exports[_0x5aed06(0x2a5)]=class extends a[_0x5aed06(0x43b)]{constructor(_0x589ae5,_0x1e37e5,_0x1e945c,_0x44c84e,_0x4771e8,_0x18e7b8){var _0x4dd9aa=_0x5aed06;super(),A(this,'_socket$',new $[(_0x4dd9aa(0x490))](void 0x0)),A(this,_0x4dd9aa(0x296),this[_0x4dd9aa(0x3be)][_0x4dd9aa(0x3a8)]()),A(this,_0x4dd9aa(0x4d9),null),A(this,_0x4dd9aa(0x214),new Map()),A(this,_0x4dd9aa(0x3f9),new $['BehaviorSubject'](re[_0x4dd9aa(0x47e)])),A(this,_0x4dd9aa(0x1a0),this[_0x4dd9aa(0x3f9)][_0x4dd9aa(0x3a8)]()),A(this,_0x4dd9aa(0x1c0),!0x1),A(this,'_retryConnectingTimer'),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x4dd9aa(0x4e1)),(this[_0x4dd9aa(0x1a3)]=_0x589ae5,this[_0x4dd9aa(0x496)]=_0x1e37e5,this['_configService']=_0x1e945c,this[_0x4dd9aa(0x253)]=_0x44c84e,this[_0x4dd9aa(0x45c)]=_0x4771e8,this[_0x4dd9aa(0x1c6)]=_0x18e7b8,this[_0x4dd9aa(0x3fd)]());}get['_socket'](){var _0x27b559=_0x5aed06;return this[_0x27b559(0x3be)][_0x27b559(0x4e4)]();}['_listenToNetworkCondition'](){var _0x2f2858=_0x5aed06;this[_0x2f2858(0x1c6)]&&this['disposeWithMe'](this[_0x2f2858(0x1c6)]['online$'][_0x2f2858(0x284)](_0x2ee4b9=>{var _0x5222bd=_0x2f2858;_0x2ee4b9&&!this[_0x5222bd(0x1da)]&&this[_0x5222bd(0x41a)](),_0x2ee4b9||this['_onOffline']();}));}[_0x5aed06(0x456)](){var _0x2e7f37=_0x5aed06;super[_0x2e7f37(0x456)](),this['_clearRetryConnectingTimer'](),this[_0x2e7f37(0x483)](),this['_clearHeartbeatTimer'](),this[_0x2e7f37(0x214)][_0x2e7f37(0x4d4)](_0x3f27e7=>_0x3f27e7[_0x2e7f37(0x456)]()),this[_0x2e7f37(0x214)][_0x2e7f37(0x19c)](),this[_0x2e7f37(0x3f9)][_0x2e7f37(0x4c7)]();}async['requireSession'](_0x33938a){var _0x5525ae=_0x5aed06;if(this[_0x5525ae(0x214)][_0x5525ae(0x3c3)](_0x33938a))return this[_0x5525ae(0x214)][_0x5525ae(0x4d1)](_0x33938a);this[_0x5525ae(0x2a3)]();const _0x19702e=this[_0x5525ae(0x1a3)]['createInstance'](exports[_0x5525ae(0x310)],_0x33938a,this[_0x5525ae(0x3be)][_0x5525ae(0x3a8)]());return this[_0x5525ae(0x214)][_0x5525ae(0x426)](_0x33938a,_0x19702e),_0x19702e;}[_0x5aed06(0x1f8)](_0x1bd4be){var _0x313942=_0x5aed06,_0x29702e;const _0x3f2a94=this['_sessions'][_0x313942(0x4d1)](_0x1bd4be);_0x3f2a94&&(this[_0x313942(0x214)][_0x313942(0x438)](_0x1bd4be),_0x3f2a94[_0x313942(0x3e0)]()),this[_0x313942(0x214)][_0x313942(0x4c8)]||(_0x29702e=this[_0x313942(0x1da)])==null||_0x29702e[_0x313942(0x3e0)]();}[_0x5aed06(0x41a)](){var _0x31aef9=_0x5aed06;this[_0x31aef9(0x397)]=0x0,this[_0x31aef9(0x27a)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x480953=_0x5aed06;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x480953(0x2e1)]),this[_0x480953(0x2e1)]=null);}async[_0x5aed06(0x4a4)](){var _0x4273ca=_0x5aed06,_0x273212,_0x3dc456;const _0x4cc9cc=this[_0x4273ca(0x26c)][_0x4273ca(0x327)](ut),_0x236dee=this[_0x4273ca(0x26c)]['getConfig'](K),_0xa16572=(_0x3dc456=(_0x273212=_0x236dee==null?void 0x0:_0x236dee[_0x4273ca(0x24a)])!=null?_0x273212:_0x4cc9cc)!=null?_0x3dc456:dt,_0x4a737e=await this[_0x4273ca(0x253)][_0x4273ca(0x443)](_0xa16572);return this[_0x4273ca(0x4d9)]=_0x4a737e,_0x4a737e;}async['_tryEnsureSocket'](){var _0x458916=_0x5aed06,_0x381a58,_0x331ecc;try{const _0x244d2d=(_0x331ecc=(_0x381a58=this[_0x458916(0x1da)])!=null?_0x381a58:this['_candidateSocket'])!=null?_0x331ecc:await this[_0x458916(0x4a4)]();if(_0x244d2d){const _0x219587=_0x244d2d[_0x458916(0x336)];_0x244d2d[_0x458916(0x336)]=_0x193c55=>(this['_rescheduleHeartbeat'](),_0x219587[_0x458916(0x3d0)](_0x244d2d,[_0x193c55])),_0x244d2d[_0x458916(0x1fa)][_0x458916(0x284)](_0x3ee44c=>this[_0x458916(0x3fb)](_0x244d2d,_0x3ee44c)),_0x244d2d[_0x458916(0x4b5)]['pipe'](V[_0x458916(0x29e)](0x1))[_0x458916(0x284)](_0x197114=>this[_0x458916(0x496)]['error'](_0x458916(0x174),_0x197114)),_0x244d2d[_0x458916(0x4b7)][_0x458916(0x280)](V['take'](0x1))['subscribe'](()=>{var _0x8725f=_0x458916;this[_0x8725f(0x2a1)](_0x244d2d);}),_0x244d2d['close$']['pipe'](V['take'](0x1))['subscribe'](_0x1363ca=>{var _0x346951=_0x458916;this[_0x346951(0x496)][_0x346951(0x43f)](_0x346951(0x469),_0x346951(0x28e),_0x1363ca),this[_0x346951(0x2a7)]();});}}catch(_0x4b5bbc){this[_0x458916(0x496)][_0x458916(0x3ac)](_0x4b5bbc),this[_0x458916(0x2a7)]();}}['_onConnectionOpen'](_0x25df35){var _0x8527a0=_0x5aed06;this[_0x8527a0(0x496)][_0x8527a0(0x43f)](_0x8527a0(0x469),_0x8527a0(0x341)),_0x25df35[_0x8527a0(0x336)]({'cmd':W[_0x8527a0(0x1f5)]}),this[_0x8527a0(0x1fd)]();}[_0x5aed06(0x392)](){var _0x15ea0f=_0x5aed06;this[_0x15ea0f(0x1c0)]=!0x1,this[_0x15ea0f(0x4d9)]=null,this[_0x15ea0f(0x3f9)][_0x15ea0f(0x193)](re['OFFLINE']),this[_0x15ea0f(0x3be)][_0x15ea0f(0x193)](null),this[_0x15ea0f(0x483)](),this['_clearHeartbeatTimer']();}[_0x5aed06(0x2a7)](){var _0x1f7c95=_0x5aed06,_0x354f77;this[_0x1f7c95(0x392)](),this[_0x1f7c95(0x397)]<((_0x354f77=this[_0x1f7c95(0x26c)][_0x1f7c95(0x327)](ft))!=null?_0x354f77:jt)?(this['_collaborationUIEventService'][_0x1f7c95(0x182)]({'id':Z[_0x1f7c95(0x4da)]}),this[_0x1f7c95(0x34d)]()):this[_0x1f7c95(0x45c)][_0x1f7c95(0x182)]({'id':Z[_0x1f7c95(0x257)]});}[_0x5aed06(0x34d)](){var _0x5beb34=_0x5aed06,_0x4f62c1;const _0x5b4e84=this[_0x5beb34(0x397)],_0x4d5abb=this['_configService']['getConfig'](K),_0x10d2ca=_0x5b4e84===0x0?0x0:((_0x4f62c1=_0x4d5abb==null?void 0x0:_0x4d5abb[_0x5beb34(0x489)])!=null?_0x4f62c1:$t)*0x2**_0x5b4e84;this[_0x5beb34(0x2e1)]=setTimeout(()=>{var _0x467751=_0x5beb34;clearTimeout(this[_0x467751(0x2e1)]),this[_0x467751(0x2e1)]=null,this[_0x467751(0x2a3)]();},_0x10d2ca),this[_0x5beb34(0x397)]+=0x1;}[_0x5aed06(0x3fb)](_0x50a1dd,_0xc4c1c9){var _0x3cb766=_0x5aed06;const {cmd:_0x20fcd4}=_0xc4c1c9;_0x20fcd4===W[_0x3cb766(0x1f5)]&&!this['_socketReady']&&(_0x50a1dd[_0x3cb766(0x419)]=_0xc4c1c9['data']['memberID'],this[_0x3cb766(0x3be)][_0x3cb766(0x193)](_0x50a1dd),this[_0x3cb766(0x3f9)][_0x3cb766(0x193)](re[_0x3cb766(0x49b)]),this[_0x3cb766(0x1c0)]=!0x0,this[_0x3cb766(0x4d9)]=null),_0x20fcd4===W[_0x3cb766(0x40a)]&&this[_0x3cb766(0x483)](),this[_0x3cb766(0x1fd)]();}[_0x5aed06(0x1fd)](){var _0x26a6db=_0x5aed06,_0x5ee366;this[_0x26a6db(0x451)](),this[_0x26a6db(0x239)]=setTimeout(()=>this[_0x26a6db(0x3c2)](),(_0x5ee366=this[_0x26a6db(0x26c)][_0x26a6db(0x327)](vt))!=null?_0x5ee366:Ht);}['_sendHeartbeat'](){var _0x165e22=_0x5aed06;this['_socket'][_0x165e22(0x336)]({'cmd':W['HEARTBEAT']}),this[_0x165e22(0x199)]();}['_waitForHeartbeatResponse'](){var _0x5690b6=_0x5aed06,_0x1da72f;this[_0x5690b6(0x4e1)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x1da72f=this[_0x5690b6(0x26c)]['getConfig'](ke))!=null?_0x1da72f:St);}['_clearHeartbeatTimer'](){var _0x293e4f=_0x5aed06;this[_0x293e4f(0x239)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x844a0c=_0x5aed06;this[_0x844a0c(0x4e1)]!=null&&(clearTimeout(this[_0x844a0c(0x4e1)]),this[_0x844a0c(0x4e1)]=null);}},exports['CollaborationSessionService']=si([he(0x0,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),he(0x1,a['ILogService']),he(0x2,a[_0x5aed06(0x3a7)]),he(0x3,He),he(0x4,a[_0x5aed06(0x46b)](ee)),he(0x5,a[_0x5aed06(0x36d)](mt))],exports[_0x5aed06(0x2a5)]);const q=a[_0x5aed06(0x258)](_0x5aed06(0x318));function oi(_0x27e4bf){var _0x3790f4=_0x5aed06;return _0x3790f4(0x19f)+_0x27e4bf;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x3891b8,_0x513dbc,_0x43ba4a,_0x5ee398)=>{var _0x49ce04=_0x5aed06;for(var _0x47aa62=_0x5ee398>0x1?void 0x0:_0x5ee398?ai(_0x513dbc,_0x43ba4a):_0x513dbc,_0x376ae3=_0x3891b8[_0x49ce04(0x24e)]-0x1,_0x36b182;_0x376ae3>=0x0;_0x376ae3--)(_0x36b182=_0x3891b8[_0x376ae3])&&(_0x47aa62=_0x36b182(_0x47aa62)||_0x47aa62);return _0x47aa62;},De=(_0x1994d3,_0x5269c0)=>(_0x401db6,_0x5effa8)=>_0x5269c0(_0x401db6,_0x5effa8,_0x1994d3);function hi(_0x47a885){var _0x19e717=_0x5aed06;const {unitID:_0x543a38,mutations:_0xae64d1}=_0x47a885;return{'unitId':_0x543a38,'subUnitId':_0xae64d1[0x0]['params'][_0x19e717(0x430)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x5856e6,_0x2ab4ae,_0x27b4ee){var _0x315e81=_0x5aed06;this['_injector']=_0x5856e6,this[_0x315e81(0x4be)]=_0x2ab4ae,this['_instanceService']=_0x27b4ee;}['transformSelections'](_0x28021a){var _0x1c4a84=_0x5aed06,_0x2a4c04,_0x2344fe,_0x2cc7b0,_0x55711a;const _0x297594=this[_0x1c4a84(0x1a3)][_0x1c4a84(0x4d1)](X[_0x1c4a84(0x1e0)]),{unitId:_0x418264,subUnitId:_0x58bc58}=hi(_0x28021a),_0x120d43=_0x297594==null?void 0x0:_0x297594['getWorkbookSelections'](_0x418264)[_0x1c4a84(0x241)](),_0x6fd555=(_0x2344fe=(_0x2a4c04=this[_0x1c4a84(0x4ab)]['getUnit'](_0x418264))==null?void 0x0:_0x2a4c04[_0x1c4a84(0x340)]())==null?void 0x0:_0x2344fe[_0x1c4a84(0x185)]();if(_0x120d43[_0x1c4a84(0x24e)]===0x0||!_0x418264||!_0x58bc58)return;const _0x47fbc6=[{'id':X[_0x1c4a84(0x1cd)]['id'],'params':{'unitId':_0x418264,'subUnitId':_0x6fd555,'selections':a['Tools']['deepClone'](_0x120d43)}}],_0x3cfdf7=this['_transformService'][_0x1c4a84(0x2d7)](_0x28021a,_0x47fbc6);if(!I[_0x1c4a84(0x4a6)](_0x3cfdf7))throw _0x3cfdf7[_0x1c4a84(0x3ac)];const _0x114ad7=(_0x55711a=(_0x2cc7b0=_0x3cfdf7[_0x1c4a84(0x1c9)][0x0])==null?void 0x0:_0x2cc7b0['params'])==null?void 0x0:_0x55711a['selections'];if(Array[_0x1c4a84(0x3f3)](_0x114ad7)&&_0x114ad7[_0x1c4a84(0x24e)]){if(_0x114ad7[_0x1c4a84(0x24e)]===_0x47fbc6[0x0][_0x1c4a84(0x3b1)]['selections'][_0x1c4a84(0x24e)]&&_0x114ad7[_0x1c4a84(0x455)]((_0x2437c8,_0x59aa5e)=>a['Rectangle']['equals'](_0x2437c8[_0x1c4a84(0x2c7)],_0x47fbc6[0x0][_0x1c4a84(0x3b1)]['selections'][_0x59aa5e]['range'])))return;this['_injector'][_0x1c4a84(0x4d1)](a[_0x1c4a84(0x2e5)])['executeCommand'](X[_0x1c4a84(0x1cd)]['id'],{'unitId':_0x418264,'subUnitId':_0x6fd555,'selections':_0x114ad7});}}},exports[_0x5aed06(0x494)]=ci([De(0x0,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),De(0x1,I[_0x5aed06(0x48e)]),De(0x2,a[_0x5aed06(0x3aa)])],exports[_0x5aed06(0x494)]);const de=a[_0x5aed06(0x258)](_0x5aed06(0x3c0));var je=(_0x35e734=>(_0x35e734[_0x35e734[_0x5aed06(0x262)]=0x0]=_0x5aed06(0x262),_0x35e734[_0x35e734[_0x5aed06(0x3d5)]=0x1]=_0x5aed06(0x3d5),_0x35e734))(je||{});const _i=new Set([X[_0x5aed06(0x47d)]['id']]);function Ke(_0x5d69ac,_0x14d050,_0x45c633,_0x5e7004,_0x59b8bc){var _0x21587e=_0x5aed06,_0x25f39b,_0x6449fe,_0x3c3ce0,_0x493944;const _0x35b946=[];for(const _0x437542 of _0x5d69ac)if(_i['has'](_0x437542['id'])){if(_0x35b946[_0x21587e(0x24e)]>0x0)break;_0x35b946[_0x21587e(0x2a4)](_0x437542);break;}else _0x35b946[_0x21587e(0x2a4)](_0x437542);const _0x3c9481=(_0x6449fe=(_0x25f39b=_0x59b8bc[_0x21587e(0x30c)]())==null?void 0x0:_0x25f39b[_0x21587e(0x361)])!=null?_0x6449fe:_0x21587e(0x4d5),_0x3ad403=(_0x493944=(_0x3c3ce0=_0x59b8bc['getCurrentUser']())==null?void 0x0:_0x3c3ce0[_0x21587e(0x419)])!=null?_0x493944:_0x21587e(0x4d5);return{'changeset':{'unitID':_0x14d050,'type':I[_0x21587e(0x33f)](_0x45c633['getUnitType'](_0x14d050)),'baseRev':_0x5e7004[_0x21587e(0x1d6)](_0x14d050),'revision':0x0,'userID':_0x3c9481,'memberID':_0x3ad403,'mutations':_0x35b946},'pendingMutations':_0x5d69ac[_0x21587e(0x1fc)](_0x35b946[_0x21587e(0x24e)])};}function li(_0x3b4620,_0x3c02b8,_0x1d3c04,_0x39c315,_0x5d2cf2){var _0x1667ff=_0x5aed06,_0x215e35,_0x13d5c6,_0x52307d,_0x5a3da5;const _0x5598af=[_0x3b4620['reduce']((_0x6e3ee6,_0x1ba4bb)=>{var _0x5bbcc5=_0x156c,_0x57808a;const {id:_0x144d57}=_0x6e3ee6,{id:_0x53f215,type:_0x2b0ef1}=_0x1ba4bb,_0x35281a=(_0x57808a=_0x6e3ee6[_0x5bbcc5(0x3b1)])!=null?_0x57808a:{'actions':null},_0x13cea1=_0x1ba4bb[_0x5bbcc5(0x3b1)];if(_0x144d57&&_0x144d57!==_0x53f215)throw new Error(_0x5bbcc5(0x45f)+_0x144d57+_0x5bbcc5(0x400)+_0x53f215+'.');return{..._0x6e3ee6,'id':_0x53f215,'type':_0x2b0ef1,'params':{'unitId':_0x13cea1[_0x5bbcc5(0x3a3)],'textRanges':_0x13cea1[_0x5bbcc5(0x32f)],'actions':a[_0x5bbcc5(0x263)][_0x5bbcc5(0x1e1)](_0x35281a[_0x5bbcc5(0x186)],_0x13cea1[_0x5bbcc5(0x186)])}};},{})],_0x395735=(_0x13d5c6=(_0x215e35=_0x5d2cf2[_0x1667ff(0x30c)]())==null?void 0x0:_0x215e35[_0x1667ff(0x361)])!=null?_0x13d5c6:_0x1667ff(0x4d5),_0x2ca0be=(_0x5a3da5=(_0x52307d=_0x5d2cf2[_0x1667ff(0x30c)]())==null?void 0x0:_0x52307d[_0x1667ff(0x419)])!=null?_0x5a3da5:'unknown';return{'changeset':{'unitID':_0x3c02b8,'type':I['mapDocumentTypeToUniverType'](_0x1d3c04['getUnitType'](_0x3c02b8)),'baseRev':_0x39c315['getCurrentRevOfUnit'](_0x3c02b8),'revision':0x0,'userID':_0x395735,'memberID':_0x2ca0be,'mutations':_0x5598af},'pendingMutations':[]};}function bt(_0x48fce7,_0x2a41b5){var _0x1772a0=_0x5aed06;const _0x23aeef=new $[(_0x1772a0(0x200))](0x1);return setTimeout(()=>_0x23aeef['next'](_0x2a41b5),_0x48fce7),_0x23aeef[_0x1772a0(0x3a8)]()[_0x1772a0(0x280)]($['take'](0x1));}const ui={'id':X[_0x5aed06(0x374)]['id'],'type':a[_0x5aed06(0x21a)][_0x5aed06(0x18c)],'params':{}};var di=Object[_0x5aed06(0x206)],ae=(_0x2e5f19,_0x2293b9,_0x15746f,_0x37efea)=>{for(var _0x7f0b35=_0x37efea>0x1?void 0x0:_0x37efea?di(_0x2293b9,_0x15746f):_0x2293b9,_0x5b3bf9=_0x2e5f19['length']-0x1,_0x47c6b9;_0x5b3bf9>=0x0;_0x5b3bf9--)(_0x47c6b9=_0x2e5f19[_0x5b3bf9])&&(_0x7f0b35=_0x47c6b9(_0x7f0b35)||_0x7f0b35);return _0x7f0b35;},w=(_0x269c59,_0x660f61)=>(_0x5a9b70,_0x315b2e)=>_0x660f61(_0x5a9b70,_0x315b2e,_0x269c59),Be=(_0x453a34=>(_0x453a34[_0x5aed06(0x3c6)]=_0x5aed06(0x2cf),_0x453a34[_0x5aed06(0x4bf)]=_0x5aed06(0x3eb),_0x453a34[_0x5aed06(0x37a)]=_0x5aed06(0x1c1),_0x453a34[_0x5aed06(0x1ad)]=_0x5aed06(0x40b),_0x453a34[_0x5aed06(0x3d6)]=_0x5aed06(0x2b6),_0x453a34[_0x5aed06(0x413)]=_0x5aed06(0x350),_0x453a34[_0x5aed06(0x256)]='conflict',_0x453a34['OFFLINE']=_0x5aed06(0x315),_0x453a34))(Be||{});const Rt=0xea60;class ce{constructor(_0x4e7eb2,_0x9d97d,_0x46fc6d,_0x44a426,_0x3e187d,_0x248ef9,_0xb5cb85,_0x3d9fb8,_0x5274ec){var _0x1d4ebf=_0x5aed06;A(this,_0x1d4ebf(0x22a),null),A(this,_0x1d4ebf(0x366),[]),(this[_0x1d4ebf(0x2c5)]=_0x4e7eb2,this['type']=_0x9d97d,this['_handler']=_0x3e187d,this[_0x1d4ebf(0x38d)]=_0x248ef9,this[_0x1d4ebf(0x210)]=_0xb5cb85,this[_0x1d4ebf(0x2f7)]=_0x3d9fb8,this[_0x1d4ebf(0x49c)]=_0x5274ec,this['_awaitingChangeset']=_0x46fc6d,this['_pendingMutations']=_0x44a426);}[_0x5aed06(0x1d3)](_0x475dd5){var _0x539e29=_0x5aed06;const _0x4811cf=this[_0x539e29(0x2f7)][_0x539e29(0x1d6)](this['unitID']);return _0x475dd5['revision']>_0x4811cf+0x1?(this[_0x539e29(0x1db)]['onMissingChangesets']({'from':_0x4811cf,'to':_0x475dd5[_0x539e29(0x3c5)]-0x1}),!0x0):!0x1;}[_0x5aed06(0x323)](_0x229f86){var _0x102c06=_0x5aed06;this[_0x102c06(0x210)][_0x102c06(0x461)](this['unitID'],_0x229f86);}['_transformSelections'](_0x20e0bd){var _0x53df61=_0x5aed06,_0x48cbc5,_0x165cdc;(_0x165cdc=(_0x48cbc5=this['_handler'])[_0x53df61(0x1ab)])==null||_0x165cdc['call'](_0x48cbc5,_0x20e0bd);}[_0x5aed06(0x454)](_0x3c4c64){var _0x4de3ab=_0x5aed06,_0x27254,_0x28358c;return(_0x28358c=(_0x27254=this[_0x4de3ab(0x1db)])[_0x4de3ab(0x300)])==null?void 0x0:_0x28358c[_0x4de3ab(0x254)](_0x27254,_0x3c4c64);}[_0x5aed06(0x2b1)](_0x132497){var _0x1c5368=_0x5aed06,_0x3dd50d,_0x100a8d;return(_0x100a8d=(_0x3dd50d=this[_0x1c5368(0x1db)])[_0x1c5368(0x270)])==null?void 0x0:_0x100a8d['call'](_0x3dd50d,_0x132497);}['_transformRemoteChangesetByIMECache'](_0x1a634a){var _0x3c54fa=_0x5aed06,_0x3edebb,_0x195d10,_0x3c97a7;return(_0x3c97a7=(_0x195d10=(_0x3edebb=this[_0x3c54fa(0x1db)])[_0x3c54fa(0x3d2)])==null?void 0x0:_0x195d10[_0x3c54fa(0x254)](_0x3edebb,_0x1a634a))!=null?_0x3c97a7:_0x1a634a;}[_0x5aed06(0x427)](_0x36fb9a){var _0x2bcb48=_0x5aed06,_0xf33759,_0x22f51e,_0x30cd95;return(_0x30cd95=(_0x22f51e=(_0xf33759=this[_0x2bcb48(0x1db)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x22f51e[_0x2bcb48(0x254)](_0xf33759,_0x36fb9a))!=null?_0x30cd95:_0x36fb9a;}[_0x5aed06(0x3dd)](_0x3753e3){var _0x5c1250=_0x5aed06,_0x17570c,_0x1ee3ba;if(this[_0x5c1250(0x3f6)]===J[_0x5c1250(0x1f3)]){const {unitID:_0x4e51a0,mutations:_0x38fc57,memberID:_0x36830d}=_0x3753e3,_0x15171d=_0x38fc57[0x0][_0x5c1250(0x3b1)][_0x5c1250(0x32f)];Array[_0x5c1250(0x3f3)](_0x15171d)&&_0x15171d[_0x5c1250(0x24e)]>0x0&&((_0x1ee3ba=(_0x17570c=this[_0x5c1250(0x1db)])[_0x5c1250(0x314)])==null||_0x1ee3ba[_0x5c1250(0x254)](_0x17570c,{'unitID':_0x4e51a0,'memberID':_0x36830d,'textRanges':_0x15171d}));}}[_0x5aed06(0x308)](){var _0x2cc9ff=_0x5aed06,_0x2a7998;(_0x2a7998=this['_localCacheService'])==null||_0x2a7998[_0x2cc9ff(0x2d9)](this['unitID'],this['type'],this[_0x2cc9ff(0x22a)],this[_0x2cc9ff(0x366)]);}[_0x5aed06(0x41b)](){var _0x2b46cd=_0x5aed06;return this[_0x2b46cd(0x2f7)]['getCurrentRevOfUnit'](this[_0x2b46cd(0x2c5)]);}[_0x5aed06(0x2df)](){var _0x1668a3=_0x5aed06;this[_0x1668a3(0x2f7)][_0x1668a3(0x28b)](this[_0x1668a3(0x2c5)]);}[_0x5aed06(0x2cd)](_0x1bb0d7){var _0x3241dc=_0x5aed06,_0x224c8a;let _0x3b4c5e=this[_0x3241dc(0x1b5)](_0x1bb0d7);_0x3b4c5e=this[_0x3241dc(0x427)](_0x3b4c5e);const _0xdfad95=a[_0x3241dc(0x3f0)](_0x3b4c5e[_0x3241dc(0x42d)],this[_0x3241dc(0x38d)],{'fromCollab':!0x0});if(!_0xdfad95['result'])throw _0xdfad95[_0x3241dc(0x3ac)]instanceof Error?_0xdfad95[_0x3241dc(0x3ac)]:new Error((_0x224c8a=_0xdfad95[_0x3241dc(0x3ac)])!=null?_0x224c8a:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x3b4c5e),this['_transformStateCache'](_0x3b4c5e),this[_0x3241dc(0x323)](_0x1bb0d7),this['_transformSelections'](_0x3b4c5e),this[_0x3241dc(0x3dd)](_0x3b4c5e),this['_incrementRevisionNumber']();}}exports[_0x5aed06(0x28a)]=class extends ce{constructor(_0x5c1e86,_0x9a28a1,_0x1b2b31,_0x16dca6,_0x5260dc,_0x23e4f7,_0x314f38,_0xe1036,_0x3c368d,_0x5edd20){var _0x3ce6ca=_0x5aed06;super(_0x5c1e86,_0x9a28a1,null,[],_0x1b2b31,_0x314f38,_0x23e4f7,_0x16dca6,_0x5edd20),A(this,'status',_0x3ce6ca(0x3eb)),(this[_0x3ce6ca(0x1a3)]=_0x5260dc,this[_0x3ce6ca(0x496)]=_0xe1036,this[_0x3ce6ca(0x4be)]=_0x3c368d,this['localCacheService']=_0x5edd20);}['appendMutation'](_0x5ef22a){var _0x2bd3e2=_0x5aed06;const _0x58a1d8=this[_0x2bd3e2(0x1a3)][_0x2bd3e2(0x3d9)](exports[_0x2bd3e2(0x26f)],this[_0x2bd3e2(0x2c5)],this['type'],[_0x5ef22a],this[_0x2bd3e2(0x1db)]);return _0x58a1d8['_schedule'](),_0x58a1d8[_0x2bd3e2(0x308)](),_0x58a1d8;}[_0x5aed06(0x428)](_0x4b249f){var _0x10276b=_0x5aed06;if(this[_0x10276b(0x1d3)](_0x4b249f))return this[_0x10276b(0x1a3)][_0x10276b(0x3d9)](exports['FetchingMissState'],this[_0x10276b(0x2c5)],this[_0x10276b(0x3f6)],null,[],null,[_0x4b249f],this[_0x10276b(0x1db)]);try{const _0x2ed26a=this[_0x10276b(0x4be)][_0x10276b(0x2d7)](_0x4b249f,[ui]);if(I['isTransformMutationsWithChangesetSuccess'](_0x2ed26a)){const {c1Prime:_0x26df7c}=_0x2ed26a;return this[_0x10276b(0x2cd)](_0x26df7c),this;}throw _0x2ed26a[_0x10276b(0x3ac)];}catch(_0x44a007){return this['_logService'][_0x10276b(0x3ac)](_0x44a007),this[_0x10276b(0x343)](!0x1);}}['_onConflict'](_0x243859){var _0x4be0df=_0x5aed06;return this[_0x4be0df(0x1a3)][_0x4be0df(0x3d9)](exports[_0x4be0df(0x3bb)],this[_0x4be0df(0x2c5)],this['type'],null,[],this['_handler'],_0x243859);}[_0x5aed06(0x425)](){var _0x14f658=_0x5aed06;throw new Error(_0x14f658(0x2e2));}[_0x5aed06(0x41e)](){var _0xb987b3=_0x5aed06;throw new Error(_0xb987b3(0x23f));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x9ecffe=_0x5aed06;return this[_0x9ecffe(0x1a3)][_0x9ecffe(0x3d9)](exports['OfflineState'],this[_0x9ecffe(0x2c5)],this[_0x9ecffe(0x3f6)],null,[],this['_handler']);}[_0x5aed06(0x369)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5aed06(0x391)](){var _0x35b3c9=_0x5aed06;const _0x4d8b55=this[_0x35b3c9(0x2f7)][_0x35b3c9(0x1d6)](this[_0x35b3c9(0x2c5)]);return this['_handler'][_0x35b3c9(0x3ae)]({'from':_0x4d8b55,'to':0x0}),this[_0x35b3c9(0x1a3)][_0x35b3c9(0x3d9)](exports[_0x35b3c9(0x4d2)],this[_0x35b3c9(0x2c5)],this[_0x35b3c9(0x3f6)],null,[],null,[],this[_0x35b3c9(0x1db)]);}},exports['SyncedState']=ae([w(0x3,a[_0x5aed06(0x46b)](I[_0x5aed06(0x4d7)])),w(0x4,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),w(0x5,a[_0x5aed06(0x44d)]),w(0x6,a['ICommandService']),w(0x7,a[_0x5aed06(0x2c4)]),w(0x8,I[_0x5aed06(0x48e)]),w(0x9,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x28a)]),exports[_0x5aed06(0x26f)]=class extends ce{constructor(_0x138a45,_0x3a0ed1,_0x502a2e,_0x5db7c9,_0x48b2b5,_0x400a4c,_0x33b682,_0x41d165,_0x203b60,_0xf1126,_0x4e46,_0x3a1575,_0x2c1c61,_0x3a84a8){var _0x3aaedf=_0x5aed06;super(_0x138a45,_0x3a0ed1,null,_0x502a2e,_0x5db7c9,_0x203b60,_0x2c1c61,_0x400a4c,_0x3a84a8),A(this,_0x3aaedf(0x282),_0x3aaedf(0x1c1)),A(this,_0x3aaedf(0x4dd),null),A(this,_0x3aaedf(0x468),null),(this[_0x3aaedf(0x1a3)]=_0x48b2b5,this[_0x3aaedf(0x2bf)]=_0x33b682,this[_0x3aaedf(0x496)]=_0x41d165,this[_0x3aaedf(0x26c)]=_0xf1126,this['_transformService']=_0x4e46,this['_univerInstanceService']=_0x3a1575);}[_0x5aed06(0x4ce)](_0x339d09){var _0x57723a=_0x5aed06;return this[_0x57723a(0x366)][_0x57723a(0x2a4)](_0x339d09),this[_0x57723a(0x308)](),this;}[_0x5aed06(0x428)](_0x59714b){var _0x452663=_0x5aed06;if(this[_0x452663(0x1d3)](_0x59714b))return this[_0x452663(0x4d3)](),this[_0x452663(0x1a3)][_0x452663(0x3d9)](exports[_0x452663(0x4d2)],this[_0x452663(0x2c5)],this['type'],null,this['_pendingMutations'],null,[_0x59714b],this[_0x452663(0x1db)]);try{const _0x285e37=this[_0x452663(0x4be)][_0x452663(0x2d7)](_0x59714b,this[_0x452663(0x366)]);if(I[_0x452663(0x4a6)](_0x285e37)){const {c1Prime:_0x323b2f,m2Prime:_0x2050f7}=_0x285e37;this[_0x452663(0x2cd)](_0x323b2f);const _0x5aedf0=this[_0x452663(0x1a3)][_0x452663(0x3d9)](exports[_0x452663(0x26f)],this['unitID'],this[_0x452663(0x3f6)],_0x2050f7,this[_0x452663(0x1db)]);this[_0x452663(0x4d3)]();const _0x1f6a38=new Date()[_0x452663(0x287)](),_0x258192=this[_0x452663(0x4dd)]?Math[_0x452663(0x20f)](this[_0x452663(0x4dd)]-_0x1f6a38,0x0):this[_0x452663(0x4e3)]();return _0x5aedf0[_0x452663(0x1ca)](_0x258192),_0x5aedf0;}throw _0x285e37[_0x452663(0x3ac)];}catch(_0x2aae42){return this['_logService'][_0x452663(0x3ac)](_0x2aae42),this[_0x452663(0x343)](!0x1);}}[_0x5aed06(0x425)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x5aed06(0x41e)](){var _0x4a20c8=_0x5aed06;throw new Error(_0x4a20c8(0x34c));}[_0x5aed06(0x470)](){return this;}[_0x5aed06(0x26b)](){var _0x59bd20=_0x5aed06;return this[_0x59bd20(0x4d3)](),this['_injector'][_0x59bd20(0x3d9)](exports[_0x59bd20(0x212)],this[_0x59bd20(0x2c5)],this[_0x59bd20(0x3f6)],null,this['_pendingMutations'],this['_handler']);}[_0x5aed06(0x369)](){return this;}['_schedule'](_0x4f4414){var _0x31d6f7=_0x5aed06;const _0x41e5d5=_0x4f4414!=null?_0x4f4414:this[_0x31d6f7(0x4e3)]();this[_0x31d6f7(0x4dd)]=new Date()[_0x31d6f7(0x287)]()+_0x41e5d5,this['_sendingTimer']=setTimeout(()=>{var _0x2e8bb2=_0x31d6f7;this[_0x2e8bb2(0x4d3)]();let _0x2dba73=null;switch(this[_0x2e8bb2(0x3f6)]){case J[_0x2e8bb2(0x1de)]:{_0x2dba73=Ke(this['_pendingMutations'],this[_0x2e8bb2(0x2c5)],this[_0x2e8bb2(0x3a6)],this['_revisionService'],this['_memberService']);break;}case J['UNIVER_DOC']:{this['_pendingMutations']['every'](_0x3b07d0=>_0x3b07d0['id']===ht[_0x2e8bb2(0x269)]['id'])?_0x2dba73=li(this['_pendingMutations'],this[_0x2e8bb2(0x2c5)],this[_0x2e8bb2(0x3a6)],this[_0x2e8bb2(0x2f7)],this[_0x2e8bb2(0x2bf)]):_0x2dba73=Ke(this[_0x2e8bb2(0x366)],this[_0x2e8bb2(0x2c5)],this[_0x2e8bb2(0x3a6)],this[_0x2e8bb2(0x2f7)],this[_0x2e8bb2(0x2bf)]);break;}default:throw new Error(_0x2e8bb2(0x175)+this[_0x2e8bb2(0x3f6)]+'\x20in\x20_schedule.');}const {changeset:_0x362e27,pendingMutations:_0x558306}=_0x2dba73;this[_0x2e8bb2(0x1db)][_0x2e8bb2(0x21b)](_0x362e27);const _0x5db3c8=_0x558306[_0x2e8bb2(0x24e)]?this[_0x2e8bb2(0x1a3)][_0x2e8bb2(0x3d9)](exports['AwaitingWithPendingState'],this[_0x2e8bb2(0x2c5)],this[_0x2e8bb2(0x3f6)],_0x362e27,_0x558306,this[_0x2e8bb2(0x1db)],void 0x0):this[_0x2e8bb2(0x1a3)][_0x2e8bb2(0x3d9)](exports['AwaitingState'],this['unitID'],this[_0x2e8bb2(0x3f6)],_0x362e27,this[_0x2e8bb2(0x1db)]);_0x5db3c8['_updateLocalCache'](),this['_handler'][_0x2e8bb2(0x334)](this,_0x5db3c8);},_0x41e5d5);}[_0x5aed06(0x4e3)](){var _0x15136f=_0x5aed06,_0x1304ff;const _0x2d0a05=this[_0x15136f(0x26c)][_0x15136f(0x327)](K);return(_0x1304ff=_0x2d0a05==null?void 0x0:_0x2d0a05[_0x15136f(0x39e)])!=null?_0x1304ff:xt;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5aed06(0x4d3)](){var _0x4d5f45=_0x5aed06;this[_0x4d5f45(0x468)]!=null&&(clearTimeout(this[_0x4d5f45(0x468)]),this[_0x4d5f45(0x468)]=null);}['_onConflict'](_0x696104){var _0x19b72f=_0x5aed06;return this[_0x19b72f(0x4d3)](),this[_0x19b72f(0x1a3)][_0x19b72f(0x3d9)](exports['ConflictState'],this['unitID'],this['type'],null,this[_0x19b72f(0x366)],this[_0x19b72f(0x1db)],_0x696104);}},exports[_0x5aed06(0x26f)]=ae([w(0x4,a['Inject'](a['Injector'])),w(0x5,a['Inject'](I['RevisionService'])),w(0x6,a[_0x5aed06(0x46b)](exports[_0x5aed06(0x195)])),w(0x7,a[_0x5aed06(0x2c4)]),w(0x8,a[_0x5aed06(0x2e5)]),w(0x9,a['IConfigService']),w(0xa,I[_0x5aed06(0x48e)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x5aed06(0x44d)]),w(0xd,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x26f)]),exports[_0x5aed06(0x294)]=class extends ce{constructor(_0x27e0a1,_0x7c8969,_0x52a476,_0x1f3240,_0x472dfb,_0x160099,_0x3cf400,_0x5016b4,_0x248c0d,_0x337abf,_0x74135f){var _0x5e2d8c=_0x5aed06;super(_0x27e0a1,_0x7c8969,_0x52a476,[],_0x1f3240,_0x3cf400,_0x337abf,_0x160099,_0x74135f),A(this,'status','awaiting'),A(this,_0x5e2d8c(0x1b9),0x0),A(this,'_resendTimer'),A(this,_0x5e2d8c(0x39b)),(this[_0x5e2d8c(0x1a3)]=_0x472dfb,this[_0x5e2d8c(0x496)]=_0x5016b4,this[_0x5e2d8c(0x4be)]=_0x248c0d);}['appendMutation'](_0x100380){var _0x196c47=_0x5aed06;this[_0x196c47(0x4d3)]();const _0x3839fc=this['_injector'][_0x196c47(0x3d9)](exports[_0x196c47(0x2fa)],this[_0x196c47(0x2c5)],this[_0x196c47(0x3f6)],this[_0x196c47(0x22a)],[_0x100380],this['_handler'],this[_0x196c47(0x1c3)]);return _0x3839fc['_updateLocalCache'](),_0x3839fc;}['onRemoteChangeset'](_0x37526e){var _0x2feaa9=_0x5aed06;if(this[_0x2feaa9(0x1d3)](_0x37526e))return this['_clearScheduledTask'](),this[_0x2feaa9(0x1a3)][_0x2feaa9(0x3d9)](exports['FetchingMissState'],this[_0x2feaa9(0x2c5)],this[_0x2feaa9(0x3f6)],this[_0x2feaa9(0x22a)],[],null,[_0x37526e],this[_0x2feaa9(0x1db)]);try{const _0x37f956=this[_0x2feaa9(0x4be)][_0x2feaa9(0x346)]([_0x37526e],[this[_0x2feaa9(0x22a)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x37f956)){const {c1Prime:_0x1040f4,c2Prime:_0x499d76}=_0x37f956;this[_0x2feaa9(0x2cd)](_0x1040f4[0x0]),_0x499d76[0x0][_0x2feaa9(0x2d3)]=this[_0x2feaa9(0x41b)](),this[_0x2feaa9(0x4d3)]();const _0x4bf227=this[_0x2feaa9(0x1a3)][_0x2feaa9(0x3d9)](exports[_0x2feaa9(0x294)],this[_0x2feaa9(0x2c5)],this[_0x2feaa9(0x3f6)],_0x499d76[0x0],this[_0x2feaa9(0x1db)]);return _0x4bf227[_0x2feaa9(0x308)](),_0x4bf227;}return this[_0x2feaa9(0x343)](!0x1);}catch(_0x54620b){return this['_logService'][_0x2feaa9(0x3ac)](_0x54620b),this[_0x2feaa9(0x343)](!0x1);}}['onRemoteAck'](_0x28569f){var _0x3a5881=_0x5aed06;this[_0x3a5881(0x4d3)]();const _0x2613ec=this['_revisionService'][_0x3a5881(0x1d6)](this[_0x3a5881(0x2c5)]);if(_0x28569f[_0x3a5881(0x3c5)]<_0x2613ec-0x1)return this;if(this[_0x3a5881(0x1d3)](_0x28569f))return this[_0x3a5881(0x1a3)][_0x3a5881(0x3d9)](exports[_0x3a5881(0x4d2)],this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x3a5881(0x1db)]);this[_0x3a5881(0x2df)]();const _0x31544e=this[_0x3a5881(0x1a3)]['createInstance'](exports['SyncedState'],this['unitID'],this[_0x3a5881(0x3f6)],this[_0x3a5881(0x1db)]);return _0x31544e[_0x3a5881(0x308)](),_0x31544e;}[_0x5aed06(0x41e)](_0x3bd1f1){var _0x3dacc5=_0x5aed06;return this[_0x3dacc5(0x343)](!!(_0x3bd1f1!=null&&_0x3bd1f1[_0x3dacc5(0x277)]));}[_0x5aed06(0x470)](_0x2604b4){var _0x3ee1f6=_0x5aed06;return this[_0x3ee1f6(0x1b9)]>Rt?this['toggleOffline']():(this[_0x3ee1f6(0x1c3)]=bt(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x2604b4[_0x3ee1f6(0x441)]}),this[_0x3ee1f6(0x39b)]=this['_resendTimer']['subscribe'](({reqId:_0x288696,timeout:_0x16c934})=>{var _0x3811cd=_0x3ee1f6;this[_0x3811cd(0x2d1)](_0x288696,_0x16c934);}),this);}[_0x5aed06(0x26b)](){var _0x2f99f1=_0x5aed06;return this[_0x2f99f1(0x4d3)](),this['_injector']['createInstance'](exports[_0x2f99f1(0x212)],this[_0x2f99f1(0x2c5)],this[_0x2f99f1(0x3f6)],this[_0x2f99f1(0x22a)],[],this[_0x2f99f1(0x1db)]);}[_0x5aed06(0x369)](){return this;}[_0x5aed06(0x2a8)](){var _0xca17f2=_0x5aed06;this[_0xca17f2(0x1db)][_0xca17f2(0x21b)](this[_0xca17f2(0x22a)]);}[_0x5aed06(0x343)](_0xcaf2b1){var _0x8af10e=_0x5aed06;return this[_0x8af10e(0x4d3)](),this[_0x8af10e(0x1a3)][_0x8af10e(0x3d9)](exports[_0x8af10e(0x3bb)],this[_0x8af10e(0x2c5)],this[_0x8af10e(0x3f6)],this[_0x8af10e(0x22a)],[],this[_0x8af10e(0x1db)],_0xcaf2b1);}[_0x5aed06(0x2d1)](_0x1b6aea,_0x4cfe8c){var _0x445fb2=_0x5aed06,_0x49387d;_0x1b6aea===((_0x49387d=this[_0x445fb2(0x22a)])==null?void 0x0:_0x49387d[_0x445fb2(0x441)])&&(this['resend'](),this[_0x445fb2(0x1b9)]=_0x4cfe8c===0x0?0x3e8:_0x4cfe8c*0x2);}[_0x5aed06(0x4d3)](){var _0x1dc74c=_0x5aed06,_0x322b55;(_0x322b55=this['_sender'])==null||_0x322b55[_0x1dc74c(0x41f)](),this['_resendTimeout']=0x0;}},exports[_0x5aed06(0x294)]=ae([w(0x4,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),w(0x5,a[_0x5aed06(0x46b)](I[_0x5aed06(0x4d7)])),w(0x6,a[_0x5aed06(0x2e5)]),w(0x7,a['ILogService']),w(0x8,I[_0x5aed06(0x48e)]),w(0x9,a[_0x5aed06(0x44d)]),w(0xa,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x294)]),exports[_0x5aed06(0x2fa)]=class extends ce{constructor(_0x4db40e,_0x3f18ca,_0x16a62e,_0x379dda,_0x15d190,_0x3fb5ed,_0x45ec0b,_0x481050,_0x4535d9,_0x5cfcb9,_0x59773d,_0x1529d7,_0x39f77f){var _0x52e085=_0x5aed06;super(_0x4db40e,_0x3f18ca,_0x16a62e,_0x379dda,_0x15d190,_0x4535d9,_0x1529d7,_0x481050,_0x39f77f),A(this,_0x52e085(0x282),'awaiting_with_pending'),A(this,_0x52e085(0x1b9),0x0),A(this,_0x52e085(0x1c3)),A(this,_0x52e085(0x39b)),(this[_0x52e085(0x1a3)]=_0x45ec0b,this[_0x52e085(0x496)]=_0x5cfcb9,this[_0x52e085(0x4be)]=_0x59773d,this[_0x52e085(0x49a)]=_0x39f77f,_0x3fb5ed&&(this[_0x52e085(0x1c3)]=_0x3fb5ed,this['_sender']=this[_0x52e085(0x1c3)][_0x52e085(0x284)](({reqId:_0x30dae1,timeout:_0xf41f43})=>{var _0xb5c3c4=_0x52e085;this[_0xb5c3c4(0x2d1)](_0x30dae1,_0xf41f43);})));}['appendMutation'](_0x578b82){var _0x3b8a8d=_0x5aed06;return this['_pendingMutations'][_0x3b8a8d(0x2a4)](_0x578b82),this;}[_0x5aed06(0x428)](_0x4cc7a2){var _0x24c202=_0x5aed06;if(this[_0x24c202(0x1d3)](_0x4cc7a2))return this[_0x24c202(0x4d3)](),this[_0x24c202(0x1a3)][_0x24c202(0x3d9)](exports[_0x24c202(0x4d2)],this[_0x24c202(0x2c5)],this[_0x24c202(0x3f6)],this['_awaitingChangeset'],this[_0x24c202(0x366)],null,[_0x4cc7a2],this[_0x24c202(0x1db)]);try{const _0x124c85=this[_0x24c202(0x4be)][_0x24c202(0x346)]([_0x4cc7a2],[this['_awaitingChangeset']],!0x1);if(I['isTransformChangesetsSuccess'](_0x124c85)){const {c1Prime:_0x7484d3,c2Prime:_0x25df3a}=_0x124c85,_0xb94409=this[_0x24c202(0x4be)][_0x24c202(0x2d7)](_0x7484d3[0x0],this['_pendingMutations']);if(I[_0x24c202(0x4a6)](_0xb94409)){const {c1Prime:_0x61dc93,m2Prime:_0xb378dc}=_0xb94409;return this[_0x24c202(0x2cd)](_0x61dc93),_0x25df3a[0x0]['baseRev']=this[_0x24c202(0x41b)](),this[_0x24c202(0x4d3)](),this[_0x24c202(0x1a3)]['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x24c202(0x3f6)],_0x25df3a[0x0],_0xb378dc,this[_0x24c202(0x1db)],void 0x0);}throw _0xb94409[_0x24c202(0x3ac)];}throw _0x124c85['error'];}catch(_0x46e484){return this[_0x24c202(0x496)]['error'](_0x46e484),this[_0x24c202(0x343)](!0x1);}}[_0x5aed06(0x425)](_0x331e46){var _0x4fc702=_0x5aed06;if(this[_0x4fc702(0x4d3)](),this['_checkMissing'](_0x331e46))return this[_0x4fc702(0x1a3)][_0x4fc702(0x3d9)](exports[_0x4fc702(0x4d2)],this[_0x4fc702(0x2c5)],this[_0x4fc702(0x3f6)],null,this[_0x4fc702(0x366)],this['_awaitingChangeset'],[],this[_0x4fc702(0x1db)]);this['_incrementRevisionNumber']();const _0x440f93=this[_0x4fc702(0x1a3)][_0x4fc702(0x3d9)](exports[_0x4fc702(0x26f)],this['unitID'],this[_0x4fc702(0x3f6)],this[_0x4fc702(0x366)],this['_handler']);return _0x440f93[_0x4fc702(0x1ca)](),_0x440f93['_updateLocalCache'](),_0x440f93;}[_0x5aed06(0x41e)](_0x8a624e){var _0x5deddf=_0x5aed06;return this[_0x5deddf(0x343)](!!(_0x8a624e!=null&&_0x8a624e[_0x5deddf(0x277)]));}[_0x5aed06(0x470)](_0x143649){var _0xe1bb16=_0x5aed06;return this[_0xe1bb16(0x1b9)]>Rt?this[_0xe1bb16(0x26b)]():(this['_resendTimer']=bt(this[_0xe1bb16(0x1b9)],{'timeout':this[_0xe1bb16(0x1b9)],'reqId':_0x143649['reqId']}),this[_0xe1bb16(0x39b)]=this['_resendTimer'][_0xe1bb16(0x284)](({reqId:_0x3dabeb,timeout:_0x18161c})=>{var _0x152da1=_0xe1bb16;this[_0x152da1(0x2d1)](_0x3dabeb,_0x18161c);}),this);}[_0x5aed06(0x26b)](){var _0x30b5a5=_0x5aed06;return this[_0x30b5a5(0x4d3)](),this[_0x30b5a5(0x1a3)][_0x30b5a5(0x3d9)](exports[_0x30b5a5(0x212)],this[_0x30b5a5(0x2c5)],this[_0x30b5a5(0x3f6)],this[_0x30b5a5(0x22a)],this[_0x30b5a5(0x366)],this[_0x30b5a5(0x1db)]);}[_0x5aed06(0x369)](){return this;}[_0x5aed06(0x2a8)](){var _0x217e4a=_0x5aed06;this[_0x217e4a(0x1db)][_0x217e4a(0x21b)](this[_0x217e4a(0x22a)]);}[_0x5aed06(0x343)](_0x2ccc56){var _0x2e6c7e=_0x5aed06;return this[_0x2e6c7e(0x4d3)](),this[_0x2e6c7e(0x1a3)][_0x2e6c7e(0x3d9)](exports['ConflictState'],this[_0x2e6c7e(0x2c5)],this[_0x2e6c7e(0x3f6)],null,this[_0x2e6c7e(0x366)],this[_0x2e6c7e(0x1db)],_0x2ccc56);}[_0x5aed06(0x2d1)](_0x362c4f,_0x1bf3f3){var _0x369232=_0x5aed06,_0x3f9c05;_0x362c4f===((_0x3f9c05=this[_0x369232(0x22a)])==null?void 0x0:_0x3f9c05[_0x369232(0x441)])&&(this[_0x369232(0x2a8)](),this['_resendTimeout']=_0x1bf3f3===0x0?0x3e8:_0x1bf3f3*0x2);}[_0x5aed06(0x4d3)](){var _0x1b5612=_0x5aed06,_0x10ebd4;(_0x10ebd4=this['_sender'])==null||_0x10ebd4[_0x1b5612(0x41f)](),this[_0x1b5612(0x1b9)]=0x0;}},exports[_0x5aed06(0x2fa)]=ae([w(0x6,a['Inject'](a['Injector'])),w(0x7,a[_0x5aed06(0x46b)](I['RevisionService'])),w(0x8,a[_0x5aed06(0x2e5)]),w(0x9,a[_0x5aed06(0x2c4)]),w(0xa,I[_0x5aed06(0x48e)]),w(0xb,a[_0x5aed06(0x44d)]),w(0xc,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x2fa)]),exports[_0x5aed06(0x3bb)]=class extends ce{constructor(_0x55b966,_0x3be233,_0x273d13,_0xe4bc1f,_0x39ba72,_0x1d024b=!0x1,_0x32fd47,_0x36d814,_0x12624b,_0x1ce939,_0xa39e57,_0x2f6256,_0x5f1dd0){var _0x196de8=_0x5aed06;super(_0x55b966,_0x3be233,_0x273d13,_0xe4bc1f,_0x39ba72,_0x36d814,_0x12624b,_0x1ce939,_0x5f1dd0),A(this,'status',_0x196de8(0x213)),(this[_0x196de8(0x29a)]=_0x1d024b,this['_permissionService']=_0x32fd47,this[_0x196de8(0x446)]=_0xa39e57,this[_0x196de8(0x45c)]=_0x2f6256,this[_0x196de8(0x49a)]=_0x5f1dd0,this[_0x196de8(0x32c)](),this[_0x196de8(0x1f0)](),this[_0x196de8(0x45e)]());}['appendMutation'](){return this;}[_0x5aed06(0x428)](){return this;}[_0x5aed06(0x425)](){return this;}['onRemoteRej'](){return this;}[_0x5aed06(0x470)](){return this;}[_0x5aed06(0x26b)](){return this;}[_0x5aed06(0x369)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5aed06(0x1f0)](){var _0xd92f2e=_0x5aed06,_0x121112;(_0x121112=this[_0xd92f2e(0x49c)])==null||_0x121112[_0xd92f2e(0x2d9)](this[_0xd92f2e(0x2c5)],this[_0xd92f2e(0x3f6)],null,[]);}[_0x5aed06(0x32c)](){var _0x3580de=_0x5aed06;this[_0x3580de(0x29a)]?this[_0x3580de(0x45c)]['emitEvent']({'id':Z[_0x3580de(0x349)]}):this['_collaborationUIEventService'][_0x3580de(0x182)]({'id':Z[_0x3580de(0x256)]});}[_0x5aed06(0x45e)](){var _0xb8d881=_0x5aed06;this[_0xb8d881(0x303)]['updatePermissionPoint'](new X[(_0xb8d881(0x45b))](this['unitID'])['id'],!0x1);}},exports[_0x5aed06(0x3bb)]=ae([w(0x6,a['Inject'](a['IPermissionService'])),w(0x7,a[_0x5aed06(0x2e5)]),w(0x8,a[_0x5aed06(0x44d)]),w(0x9,a[_0x5aed06(0x46b)](I['RevisionService'])),w(0xa,a[_0x5aed06(0x46b)](a['LocaleService'])),w(0xb,a[_0x5aed06(0x46b)](ee)),w(0xc,a[_0x5aed06(0x36d)](q))],exports['ConflictState']),exports[_0x5aed06(0x212)]=class extends ce{constructor(_0x1f48eb,_0x15c520,_0x3d91e5,_0x25d4a4,_0x354a4b,_0x1d5b40,_0x4cc63e,_0x1f6418,_0x389e1c,_0x155516){var _0xc2780d=_0x5aed06;super(_0x1f48eb,_0x15c520,_0x3d91e5,_0x25d4a4,_0x354a4b,_0x1f6418,_0x389e1c,_0x4cc63e,_0x155516),A(this,_0xc2780d(0x282),_0xc2780d(0x315)),this[_0xc2780d(0x1a3)]=_0x1d5b40;}[_0x5aed06(0x4ce)](_0x1af2a4){var _0x58c07f=_0x5aed06;return this[_0x58c07f(0x366)][_0x58c07f(0x2a4)](_0x1af2a4),this[_0x58c07f(0x308)](),this;}[_0x5aed06(0x428)](_0x4b4e6a){var _0x1db604=_0x5aed06;throw new Error(_0x1db604(0x362));}[_0x5aed06(0x425)](){var _0x52827b=_0x5aed06;throw new Error(_0x52827b(0x17e));}[_0x5aed06(0x41e)](){var _0x410013=_0x5aed06;throw new Error(_0x410013(0x3bc));}[_0x5aed06(0x470)](){return this;}[_0x5aed06(0x26b)](){return this;}[_0x5aed06(0x369)](){var _0x116663=_0x5aed06;const {_injector:_0x4ce111,_pendingMutations:_0x52eec5,_awaitingChangeset:_0x3c35e5,unitID:_0x1d90ed,_handler:_0x2a321a,type:_0x33462b}=this,_0x4cec77=Ot(_0x4ce111,_0x1d90ed,_0x33462b,_0x3c35e5,_0x52eec5,_0x2a321a);return _0x4cec77 instanceof exports[_0x116663(0x26f)]?_0x4cec77['_schedule']():(_0x4cec77 instanceof exports[_0x116663(0x2fa)]||_0x4cec77 instanceof exports[_0x116663(0x294)])&&_0x4cec77['resend'](),_0x4cec77;}[_0x5aed06(0x2a8)](){var _0x5f3b64=_0x5aed06;throw new Error(_0x5f3b64(0x319));}},exports['OfflineState']=ae([w(0x5,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),w(0x6,a['Inject'](I[_0x5aed06(0x4d7)])),w(0x7,a[_0x5aed06(0x2e5)]),w(0x8,a[_0x5aed06(0x44d)]),w(0x9,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x212)]),exports[_0x5aed06(0x4d2)]=class extends ce{constructor(_0x325a81,_0x398f80,_0x56f12b,_0x205b45,_0x1a5312,_0x10a20e,_0xe26f4b,_0x157121,_0x4487d9,_0x5de862,_0x548dbc,_0x927ab,_0x223721,_0x2ddbd4){var _0x484ba0=_0x5aed06;super(_0x325a81,_0x398f80,_0x56f12b,_0x205b45,_0xe26f4b,_0x548dbc,_0x927ab,_0x4487d9,_0x2ddbd4),A(this,_0x484ba0(0x282),_0x484ba0(0x350)),(this['_acknowledgedAwaitingChangeset']=_0x1a5312,this[_0x484ba0(0x31c)]=_0x10a20e,this[_0x484ba0(0x1a3)]=_0x157121,this[_0x484ba0(0x496)]=_0x5de862,this['_transformService']=_0x223721,this['localCacheService']=_0x2ddbd4);}['onMissedChangesetFetched'](_0x588dcc){var _0x2929ed=_0x5aed06;try{const _0x4f85e2=[..._0x588dcc,...this[_0x2929ed(0x31c)]],_0x3c153e=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x2929ed(0x4c1)](_0x2f01ad=>!!_0x2f01ad);let _0x203e02,_0x3ca60f;if(_0x3c153e[_0x2929ed(0x24e)]){const _0x1d123a=this[_0x2929ed(0x4be)][_0x2929ed(0x346)](_0x4f85e2,_0x3c153e,!0x1);if(!I['isTransformChangesetsSuccess'](_0x1d123a))throw _0x1d123a[_0x2929ed(0x3ac)];_0x203e02=_0x1d123a['c1Prime'],_0x3ca60f=_0x1d123a[_0x2929ed(0x3e9)];}else _0x203e02=_0x4f85e2,_0x3ca60f=[];let _0x254819=this[_0x2929ed(0x366)];_0x203e02[_0x2929ed(0x4d4)](_0x4af437=>{var _0x305538=_0x2929ed;let _0x2728d4;if(_0x254819['length']){const _0x394f2e=this[_0x305538(0x4be)][_0x305538(0x2d7)](_0x4af437,_0x254819);if(!I['isTransformMutationsWithChangesetSuccess'](_0x394f2e))throw _0x394f2e[_0x305538(0x3ac)];_0x2728d4=_0x394f2e[_0x305538(0x460)],_0x254819=_0x394f2e[_0x305538(0x1c9)];}else _0x2728d4=_0x4af437;this[_0x305538(0x2cd)](_0x2728d4);}),this[_0x2929ed(0x2dd)]&&this[_0x2929ed(0x2df)](),this[_0x2929ed(0x22a)]&&_0x3ca60f[_0x2929ed(0x24e)]&&(_0x3ca60f[0x0]['baseRev']=this[_0x2929ed(0x41b)]());let _0x25ba97;if(this[_0x2929ed(0x22a)]&&_0x254819[_0x2929ed(0x24e)]!==0x0)_0x25ba97=this[_0x2929ed(0x1a3)][_0x2929ed(0x3d9)](exports[_0x2929ed(0x2fa)],this[_0x2929ed(0x2c5)],this['type'],_0x3ca60f[0x0],_0x254819,this[_0x2929ed(0x1db)],void 0x0);else{if(this[_0x2929ed(0x22a)]&&_0x254819[_0x2929ed(0x24e)]===0x0)_0x3ca60f[0x0]['baseRev']=this[_0x2929ed(0x41b)](),_0x25ba97=this['_injector'][_0x2929ed(0x3d9)](exports[_0x2929ed(0x294)],this['unitID'],this[_0x2929ed(0x3f6)],_0x3ca60f[0x0],this[_0x2929ed(0x1db)]);else{if(_0x254819[_0x2929ed(0x24e)]!==0x0){const _0x30491d=this['_injector'][_0x2929ed(0x3d9)](exports[_0x2929ed(0x26f)],this[_0x2929ed(0x2c5)],this[_0x2929ed(0x3f6)],_0x254819,this[_0x2929ed(0x1db)]);_0x30491d['_schedule'](),_0x25ba97=_0x30491d;}else _0x25ba97=this[_0x2929ed(0x1a3)][_0x2929ed(0x3d9)](exports['SyncedState'],this['unitID'],this['type'],this[_0x2929ed(0x1db)]);}}return _0x25ba97[_0x2929ed(0x308)](),_0x25ba97;}catch(_0x5cf905){return this[_0x2929ed(0x496)][_0x2929ed(0x3ac)](_0x2929ed(0x1f2),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5cf905),this[_0x2929ed(0x1a3)]['createInstance'](exports[_0x2929ed(0x3bb)],this['unitID'],this[_0x2929ed(0x3f6)],this['_awaitingChangeset'],this[_0x2929ed(0x366)],this[_0x2929ed(0x1db)],!0x1);}}[_0x5aed06(0x2a8)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5aed06(0x4ce)](_0x4ad968){var _0x1ec643=_0x5aed06;return this[_0x1ec643(0x366)]['push'](_0x4ad968),this;}[_0x5aed06(0x428)](_0x32cd54){var _0x2ae0cf=_0x5aed06;return this['_queuedRemoteChangesets'][_0x2ae0cf(0x2a4)](_0x32cd54),this;}['onRemoteAck'](_0x4ba195){var _0x32ef6e=_0x5aed06;if(this[_0x32ef6e(0x22a)])return this['_acknowledgedAwaitingChangeset']=this[_0x32ef6e(0x22a)],this['_awaitingChangeset']=null,this;throw new Error(_0x32ef6e(0x1f4));}[_0x5aed06(0x41e)](_0x219e2d){var _0x4216b0=_0x5aed06;return this[_0x4216b0(0x343)](!!(_0x219e2d!=null&&_0x219e2d[_0x4216b0(0x277)]));}['onRemoteRetry'](){return this;}[_0x5aed06(0x26b)](){var _0x2ec016=_0x5aed06;return this['_injector']['createInstance'](exports['OfflineState'],this['unitID'],this[_0x2ec016(0x3f6)],this[_0x2ec016(0x22a)],this[_0x2ec016(0x366)],this[_0x2ec016(0x1db)]);}[_0x5aed06(0x369)](){return this;}[_0x5aed06(0x343)](_0x5d59c6){var _0x41287d=_0x5aed06;return this[_0x41287d(0x1a3)][_0x41287d(0x3d9)](exports[_0x41287d(0x3bb)],this['unitID'],this[_0x41287d(0x3f6)],this[_0x41287d(0x22a)],this[_0x41287d(0x366)],this[_0x41287d(0x1db)],_0x5d59c6);}},exports[_0x5aed06(0x4d2)]=ae([w(0x7,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),w(0x8,a[_0x5aed06(0x46b)](I['RevisionService'])),w(0x9,a['ILogService']),w(0xa,a[_0x5aed06(0x2e5)]),w(0xb,a['IUndoRedoService']),w(0xc,I[_0x5aed06(0x48e)]),w(0xd,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x4d2)]);function Ot(_0x28bd0b,_0xe7c569,_0x43ca2a,_0x2b0aff,_0x2ddd17,_0x3863b7){var _0x551f71=_0x5aed06;return _0x2b0aff&&_0x2ddd17['length']?_0x28bd0b[_0x551f71(0x3d9)](exports[_0x551f71(0x2fa)],_0xe7c569,_0x43ca2a,_0x2b0aff,_0x2ddd17,_0x3863b7,void 0x0):_0x2b0aff?_0x28bd0b[_0x551f71(0x3d9)](exports['AwaitingState'],_0xe7c569,_0x43ca2a,_0x2b0aff,_0x3863b7):_0x2ddd17[_0x551f71(0x24e)]?_0x28bd0b[_0x551f71(0x3d9)](exports['PendingState'],_0xe7c569,_0x43ca2a,_0x2ddd17,_0x3863b7):_0x28bd0b[_0x551f71(0x3d9)](exports[_0x551f71(0x28a)],_0xe7c569,_0x43ca2a,_0x3863b7);}var vi=Object[_0x5aed06(0x206)],Fe=(_0x5c279f,_0x4c8f3c,_0x4a9b6a,_0x376bc5)=>{var _0x5b14de=_0x5aed06;for(var _0xd98e2b=_0x376bc5>0x1?void 0x0:_0x376bc5?vi(_0x4c8f3c,_0x4a9b6a):_0x4c8f3c,_0x9034f9=_0x5c279f[_0x5b14de(0x24e)]-0x1,_0x766a38;_0x9034f9>=0x0;_0x9034f9--)(_0x766a38=_0x5c279f[_0x9034f9])&&(_0xd98e2b=_0x766a38(_0xd98e2b)||_0xd98e2b);return _0xd98e2b;},j=(_0x38b7f1,_0x16ba35)=>(_0x354b9a,_0x50e285)=>_0x16ba35(_0x354b9a,_0x50e285,_0x38b7f1);exports['CollaborationEntity']=class extends a[_0x5aed06(0x33e)]{constructor(_0x40e627,_0x39e4b1,_0x1b4db1,_0x55d9ee,_0x2569c8,_0x41706b,_0x5f2f26,_0x54e958,_0x24f92b,_0x1eb874,_0x21389d,_0x41de67,_0x59f8f7){var _0x4913d=_0x5aed06;super(),A(this,_0x4913d(0x2af),new $['BehaviorSubject'](null)),A(this,_0x4913d(0x1ac),this[_0x4913d(0x2af)][_0x4913d(0x3a8)]()),A(this,_0x4913d(0x402)),A(this,_0x4913d(0x4db),!0x1),A(this,_0x4913d(0x439),''),A(this,'_changesetReqId',0x0),A(this,_0x4913d(0x1a0),this[_0x4913d(0x1ac)][_0x4913d(0x280)]($[_0x4913d(0x33c)](_0x252303=>_0x252303?_0x252303[_0x4913d(0x282)]:Be[_0x4913d(0x4ad)]),$[_0x4913d(0x3ca)](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x4913d(0x244),[]),(this[_0x4913d(0x2c5)]=_0x40e627,this[_0x4913d(0x3e2)]=_0x39e4b1,this[_0x4913d(0x2f9)]=_0x1b4db1,this[_0x4913d(0x1a3)]=_0x55d9ee,this[_0x4913d(0x181)]=_0x2569c8,this['_localeService']=_0x41706b,this[_0x4913d(0x2f7)]=_0x5f2f26,this[_0x4913d(0x38f)]=_0x54e958,this['_logService']=_0x24f92b,this[_0x4913d(0x38d)]=_0x1eb874,this['_permissionService']=_0x21389d,this[_0x4913d(0x45a)]=_0x41de67,this[_0x4913d(0x49c)]=_0x59f8f7);}get[_0x5aed06(0x2ea)](){return this['_state'];}async[_0x5aed06(0x21f)](){var _0x48f95e=_0x5aed06;if(this[_0x48f95e(0x2ea)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x5aed06(0x18f)](){var _0x26388a=_0x5aed06;return this[_0x26388a(0x4db)]=!0x0,a[_0x26388a(0x1ec)](()=>{var _0x1828d6=_0x26388a;this[_0x1828d6(0x4db)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5aed06(0x321)](_0x44c660){var _0x51a5d3=_0x5aed06;this[_0x51a5d3(0x2fe)](_0x44c660);}['_updateState'](_0x49fc15){var _0xbcf7e7=_0x5aed06;this[_0xbcf7e7(0x402)]=_0x49fc15,this['_state$'][_0xbcf7e7(0x193)](_0x49fc15);}async['_init'](){var _0x4b6e0b=_0x5aed06,_0x43458d;this[_0x4b6e0b(0x4a5)](await this['_createInitialState']()),this[_0x4b6e0b(0x45a)]&&((_0x43458d=this['_singleActiveUnitService'])==null||_0x43458d[_0x4b6e0b(0x29d)](this[_0x4b6e0b(0x2c5)]),this[_0x4b6e0b(0x3ed)](this[_0x4b6e0b(0x45a)][_0x4b6e0b(0x23a)](this[_0x4b6e0b(0x2c5)])['subscribe'](_0x3d6dda=>{var _0xb586fc=_0x4b6e0b;this['_logService']['debug'](_0xb586fc(0x1e6),_0xb586fc(0x326),_0x3d6dda),_0x3d6dda===je[_0xb586fc(0x3d5)]?(this[_0xb586fc(0x38f)][_0xb586fc(0x182)]({'id':Z[_0xb586fc(0x216)]}),this[_0xb586fc(0x303)][_0xb586fc(0x36c)](new X[(_0xb586fc(0x45b))](this[_0xb586fc(0x2c5)])['id'],!0x1),this['_permissionService'][_0xb586fc(0x218)](!0x1)):(this[_0xb586fc(0x303)]['updatePermissionPoint'](new X[(_0xb586fc(0x45b))](this[_0xb586fc(0x2c5)])['id'],!0x0),this[_0xb586fc(0x303)][_0xb586fc(0x218)](!0x0));})));let _0x2b0da3=!0x1;return this[_0x4b6e0b(0x3ed)](this[_0x4b6e0b(0x3e2)]['sessionStatus$']['subscribe'](_0x4d415b=>{var _0x39eec7=_0x4b6e0b;_0x4d415b===re['ONLINE']?this[_0x39eec7(0x27b)](_0x2b0da3):_0x4d415b===re[_0x39eec7(0x4ad)]&&(_0x2b0da3=!0x0,this['_toggleOffline']());})),this[_0x4b6e0b(0x3ed)](this[_0x4b6e0b(0x3e2)][_0x4b6e0b(0x2fb)]['subscribe'](_0x46770c=>{var _0xb69409=_0x4b6e0b;try{switch(_0x46770c[_0xb69409(0x264)]){case I[_0xb69409(0x1eb)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](I[_0xb69409(0x225)](_0x46770c['data']));break;}case I[_0xb69409(0x1eb)][_0xb69409(0x491)]:{this[_0xb69409(0x3d8)](_0x46770c[_0xb69409(0x268)]);break;}case I[_0xb69409(0x1eb)]['CHANGESET_REJ']:{this[_0xb69409(0x411)]();break;}case I[_0xb69409(0x1eb)][_0xb69409(0x4e7)]:{this[_0xb69409(0x377)](_0x46770c[_0xb69409(0x268)]);break;}case I[_0xb69409(0x1eb)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xb69409(0x275)](_0x46770c[_0xb69409(0x268)]['changesets'][_0xb69409(0x33c)](_0x14e847=>I[_0xb69409(0x225)](_0x14e847)));break;}case I[_0xb69409(0x1eb)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0xb69409(0x1eb)][_0xb69409(0x37f)]:break;}}catch(_0x3f9897){throw console[_0xb69409(0x3ac)](_0xb69409(0x40d),_0x3f9897),_0x3f9897;}})),this[_0x4b6e0b(0x402)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x5aed06(0x351)](){var _0xc9107=_0x5aed06;if(this[_0xc9107(0x339)])throw new Error(_0xc9107(0x299));this[_0xc9107(0x339)]=!0x0;}[_0x5aed06(0x2fe)](_0x1c1b10){var _0x108ee0=_0x5aed06;this[_0x108ee0(0x351)](),this[_0x108ee0(0x4a5)](this['_state']['appendMutation'](_0x1c1b10)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x24118c){var _0x44422f=_0x5aed06;if(!(_0x24118c[_0x44422f(0x3c5)]<=this[_0x44422f(0x2f7)][_0x44422f(0x1d6)](this[_0x44422f(0x2c5)]))){if(this[_0x44422f(0x4db)]){this[_0x44422f(0x244)]['push'](_0x24118c);return;}this[_0x44422f(0x332)](_0x24118c);}}[_0x5aed06(0x48b)](){var _0x5d006b=_0x5aed06;this[_0x5d006b(0x244)][_0x5d006b(0x4d4)](_0x351f85=>this['_applyRemoteChangeset'](_0x351f85)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x451482){var _0x32d993=_0x5aed06;const _0x5cb730=this[_0x32d993(0x181)]['interceptor'][_0x32d993(0x1e8)](this['_compressMutationService'][_0x32d993(0x1cf)][_0x32d993(0x3dc)]()[_0x32d993(0x2ec)])(_0x451482[_0x32d993(0x42d)],null)||_0x451482[_0x32d993(0x42d)],_0x4ac05a={..._0x451482,'mutations':_0x5cb730};this[_0x32d993(0x351)](),this[_0x32d993(0x4a5)](this[_0x32d993(0x402)][_0x32d993(0x428)](_0x4ac05a)),this[_0x32d993(0x37e)]();}[_0x5aed06(0x3d8)](_0x49975f){var _0x59f475=_0x5aed06;this[_0x59f475(0x351)](),this[_0x59f475(0x4a5)](this[_0x59f475(0x402)]['onRemoteAck'](_0x49975f)),this[_0x59f475(0x37e)]();}[_0x5aed06(0x411)](_0x4a4789){var _0x5dede0=_0x5aed06;this[_0x5dede0(0x351)](),this[_0x5dede0(0x4a5)](this[_0x5dede0(0x402)][_0x5dede0(0x41e)](_0x4a4789)),this[_0x5dede0(0x37e)]();}[_0x5aed06(0x377)](_0x35e7a2){var _0x125025=_0x5aed06;this[_0x125025(0x351)](),this[_0x125025(0x4a5)](this[_0x125025(0x402)]['onRemoteRetry'](_0x35e7a2)),this['_unlockTransition']();}[_0x5aed06(0x275)](_0x4e1c4e){var _0x6c84ec=_0x5aed06;if(!(this[_0x6c84ec(0x402)]instanceof exports[_0x6c84ec(0x4d2)]))throw new TypeError(_0x6c84ec(0x4a7));const _0x4ebcc0=_0x4e1c4e['map'](_0x5e86e3=>{var _0x59ae4e=_0x6c84ec;const _0x44ab61=this[_0x59ae4e(0x181)][_0x59ae4e(0x1cf)][_0x59ae4e(0x1e8)](this[_0x59ae4e(0x181)]['interceptor']['getInterceptPoints']()[_0x59ae4e(0x2ec)])(_0x5e86e3[_0x59ae4e(0x42d)],null)||_0x5e86e3[_0x59ae4e(0x42d)];return{..._0x5e86e3,'mutations':_0x44ab61};});this[_0x6c84ec(0x351)](),this[_0x6c84ec(0x4a5)](this['_state'][_0x6c84ec(0x4de)](_0x4ebcc0)),this['_unlockTransition']();}[_0x5aed06(0x1a9)](){var _0x33e5a3=_0x5aed06;this[_0x33e5a3(0x351)](),this['_updateState'](this[_0x33e5a3(0x402)][_0x33e5a3(0x26b)]()),this[_0x33e5a3(0x37e)]();}['_toggleOnline'](_0x5a0a07=!0x1){var _0x5b77ef=_0x5aed06;this['_lockTransition'](),this[_0x5b77ef(0x4a5)](this['_state'][_0x5b77ef(0x369)]()),this[_0x5b77ef(0x37e)]();const _0x2fbbdd=this[_0x5b77ef(0x402)];_0x5a0a07&&_0x2fbbdd instanceof exports[_0x5b77ef(0x28a)]&&(this[_0x5b77ef(0x351)](),this[_0x5b77ef(0x4a5)](_0x2fbbdd[_0x5b77ef(0x391)]()),this['_unlockTransition']());}async[_0x5aed06(0x342)](){return new Promise(_0x238189=>{var _0x56dc7f=_0x156c;this[_0x56dc7f(0x3e2)][_0x56dc7f(0x198)][_0x56dc7f(0x280)]($[_0x56dc7f(0x29e)](0x1))['subscribe'](async _0x2ae96c=>{var _0x53ed8a=_0x56dc7f;_0x238189(await this[_0x53ed8a(0x1a7)](_0x2ae96c===re[_0x53ed8a(0x49b)]));});});}[_0x5aed06(0x20d)](){const _0x4146f5=this['unitID'];return{'onStateChange':(_0x3f6a9d,_0x26a365)=>{var _0x12d3a4=_0x156c;if(_0x3f6a9d!==this[_0x12d3a4(0x402)])throw new Error(_0x12d3a4(0x2b0)+_0x3f6a9d[_0x12d3a4(0x282)]+_0x12d3a4(0x28d)+_0x26a365[_0x12d3a4(0x282)]+'\x0aCurrent:\x20'+this[_0x12d3a4(0x402)][_0x12d3a4(0x282)]);this[_0x12d3a4(0x4a5)](_0x26a365);},'onSendChangeset':_0x13bfae=>{var _0xc9d38e=_0x156c;_0x13bfae[_0xc9d38e(0x435)]||(_0x13bfae['sid']=this[_0xc9d38e(0x439)],_0x13bfae[_0xc9d38e(0x441)]=++this[_0xc9d38e(0x18d)]);const _0xcd47e9={'eventID':I[_0xc9d38e(0x1eb)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x13bfae[_0xc9d38e(0x2c5)],'unitType':this[_0xc9d38e(0x2f9)],'changeset':_0x13bfae,'memberID':this[_0xc9d38e(0x3e2)][_0xc9d38e(0x18b)]()}};this['session'][_0xc9d38e(0x336)](_0xcd47e9,this['unitID']);},'onMissingChangesets':({from:_0x27e520,to:_0x4b5449})=>{var _0x49be7f=_0x156c;this[_0x49be7f(0x496)][_0x49be7f(0x43f)](_0x49be7f(0x1e6),_0x49be7f(0x4bd)+_0x27e520+_0x49be7f(0x220)+_0x4b5449);const _0x60e13f={'eventID':I[_0x49be7f(0x1eb)][_0x49be7f(0x17c)],'data':{'unitID':_0x4146f5,'unitType':this['_type'],'from':_0x27e520,'to':_0x4b5449}};this[_0x49be7f(0x3e2)]['send'](_0x60e13f,this[_0x49be7f(0x2c5)]);}};}async['_createInitialStateImpl'](_0x52f85){var _0x3f1fe7=_0x5aed06,_0x2b4f03,_0x45664e,_0x3a8691;const _0x5a64a8=await((_0x2b4f03=this[_0x3f1fe7(0x49c)])==null?void 0x0:_0x2b4f03[_0x3f1fe7(0x222)](this[_0x3f1fe7(0x2c5)])),_0x1e7da4=(_0x45664e=_0x5a64a8==null?void 0x0:_0x5a64a8['mutations'])!=null?_0x45664e:[],_0x194875=(_0x3a8691=_0x5a64a8==null?void 0x0:_0x5a64a8[_0x3f1fe7(0x30e)])!=null?_0x3a8691:null,_0x815af=!!(_0x194875!=null&&_0x194875['sid'])&&!!(_0x194875!=null&&_0x194875[_0x3f1fe7(0x441)]);this['_changesetSessionId']=_0x815af?_0x194875['sid']:I[_0x3f1fe7(0x3b4)](),this[_0x3f1fe7(0x18d)]=_0x815af?_0x194875[_0x3f1fe7(0x441)]:0x0;const _0x52d742=this[_0x3f1fe7(0x2c5)];try{this[_0x3f1fe7(0x475)](_0x194875,_0x1e7da4);}catch(_0x50c5e7){this[_0x3f1fe7(0x496)][_0x3f1fe7(0x3ac)](_0x50c5e7);}const _0x46fd2c=this[_0x3f1fe7(0x20d)]();if(_0x52f85){const _0x5b6a74=Ot(this[_0x3f1fe7(0x1a3)],_0x52d742,this['_type'],_0x194875,_0x1e7da4,_0x46fd2c);return _0x5b6a74 instanceof exports[_0x3f1fe7(0x26f)]?_0x5b6a74[_0x3f1fe7(0x1ca)]():(_0x5b6a74 instanceof exports[_0x3f1fe7(0x2fa)]||_0x5b6a74 instanceof exports[_0x3f1fe7(0x294)])&&_0x5b6a74[_0x3f1fe7(0x2a8)](),_0x5b6a74;}return this[_0x3f1fe7(0x1a3)][_0x3f1fe7(0x3d9)](exports['OfflineState'],_0x52d742,this[_0x3f1fe7(0x2f9)],_0x194875,_0x1e7da4,_0x46fd2c);}[_0x5aed06(0x475)](_0x32ff00,_0x153ae4){var _0x36e625=_0x5aed06,_0x315e52,_0x37711d;const _0x4d3056=this[_0x36e625(0x181)][_0x36e625(0x1cf)][_0x36e625(0x1e8)](this[_0x36e625(0x181)]['interceptor'][_0x36e625(0x3dc)]()[_0x36e625(0x2ec)]);(_0x315e52=_0x4d3056((_0x32ff00==null?void 0x0:_0x32ff00[_0x36e625(0x42d)])||[],null))==null||_0x315e52[_0x36e625(0x4d4)](_0x1eab91=>this[_0x36e625(0x38d)][_0x36e625(0x187)](_0x1eab91['id'],_0x1eab91[_0x36e625(0x3b1)])),(_0x37711d=_0x4d3056(_0x153ae4||[],null))==null||_0x37711d['forEach'](_0x426e90=>this[_0x36e625(0x38d)][_0x36e625(0x187)](_0x426e90['id'],_0x426e90[_0x36e625(0x3b1)]));}},exports[_0x5aed06(0x2d2)]=Fe([j(0x3,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),j(0x4,a['Inject'](I['CompressMutationService'])),j(0x5,a['Inject'](a[_0x5aed06(0x180)])),j(0x6,a[_0x5aed06(0x46b)](I['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x5aed06(0x2e5)]),j(0xa,a[_0x5aed06(0x1b6)]),j(0xb,a[_0x5aed06(0x36d)](de)),j(0xc,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x2d2)]),exports['DocCollaborationEntity']=class extends exports[_0x5aed06(0x2d2)]{constructor(_0x346437,_0x579000,_0x2cc501,_0x39692a,_0xaea942,_0x92c76e,_0x34957c,_0x32628d,_0x16e0d7,_0x34dc81,_0x5c2204,_0x28f1fb,_0x164ba0){var _0x510673=_0x5aed06;super(_0x346437,_0x2cc501,_0x579000,_0x39692a,_0xaea942,_0x92c76e,_0x34957c,_0x32628d,_0x16e0d7,_0x34dc81,_0x5c2204,_0x28f1fb,_0x164ba0),A(this,'_handlerCallback',null),(this[_0x510673(0x2c5)]=_0x346437,this[_0x510673(0x3f6)]=_0x579000);}[_0x5aed06(0x3f5)](_0x5e8c36){var _0x14d128=_0x5aed06;this[_0x14d128(0x2aa)]=_0x5e8c36;}[_0x5aed06(0x456)](){var _0x2cf4a9=_0x5aed06;this[_0x2cf4a9(0x2aa)]=null,super[_0x2cf4a9(0x456)]();}[_0x5aed06(0x20d)](){var _0x2d16ac=_0x5aed06;const _0x1dfb12=super[_0x2d16ac(0x20d)]();return _0x1dfb12[_0x2d16ac(0x300)]=_0x59438d=>{var _0x51349b=_0x2d16ac,_0x2c12ba,_0x46c698;return(_0x46c698=(_0x2c12ba=this['_handlerCallback'])==null?void 0x0:_0x2c12ba['onTransformIME'])==null?void 0x0:_0x46c698[_0x51349b(0x254)](_0x2c12ba,_0x59438d);},_0x1dfb12[_0x2d16ac(0x270)]=_0x1d7515=>{var _0x1c89e4=_0x2d16ac,_0x3b2321,_0x4daf60;return(_0x4daf60=(_0x3b2321=this[_0x1c89e4(0x2aa)])==null?void 0x0:_0x3b2321[_0x1c89e4(0x270)])==null?void 0x0:_0x4daf60[_0x1c89e4(0x254)](_0x3b2321,_0x1d7515);},_0x1dfb12['onTransformSelections']=_0xa2733f=>{var _0x53d8cb=_0x2d16ac,_0x1f8635,_0x2f6a84;return(_0x2f6a84=(_0x1f8635=this[_0x53d8cb(0x2aa)])==null?void 0x0:_0x1f8635['onTransformSelections'])==null?void 0x0:_0x2f6a84[_0x53d8cb(0x254)](_0x1f8635,_0xa2733f);},_0x1dfb12[_0x2d16ac(0x314)]=_0x56e087=>{var _0x526a86=_0x2d16ac,_0x24cf6c,_0x42db9e;return(_0x42db9e=(_0x24cf6c=this[_0x526a86(0x2aa)])==null?void 0x0:_0x24cf6c[_0x526a86(0x314)])==null?void 0x0:_0x42db9e[_0x526a86(0x254)](_0x24cf6c,_0x56e087);},_0x1dfb12[_0x2d16ac(0x3d2)]=_0x1fbfcd=>{var _0x3012bc=_0x2d16ac,_0x1d7c84,_0x142a3f,_0x426110;if(!((_0x1d7c84=this[_0x3012bc(0x2aa)])!=null&&_0x1d7c84[_0x3012bc(0x3d2)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x426110=(_0x142a3f=this['_handlerCallback'])==null?void 0x0:_0x142a3f['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x426110[_0x3012bc(0x254)](_0x142a3f,_0x1fbfcd);},_0x1dfb12[_0x2d16ac(0x431)]=_0x891794=>{var _0xd91211=_0x2d16ac,_0x4b51c1,_0x11eb7a,_0x264113;if(!((_0x4b51c1=this[_0xd91211(0x2aa)])!=null&&_0x4b51c1[_0xd91211(0x431)]))throw new Error(_0xd91211(0x393));return(_0x264113=(_0x11eb7a=this[_0xd91211(0x2aa)])==null?void 0x0:_0x11eb7a[_0xd91211(0x431)])==null?void 0x0:_0x264113['call'](_0x11eb7a,_0x891794);},_0x1dfb12;}async[_0x5aed06(0x4cb)](){var _0x1d4dcc=_0x5aed06;const _0xe7d7fe=await super[_0x1d4dcc(0x4cb)]();return this[_0x1d4dcc(0x3ed)](this[_0x1d4dcc(0x38d)][_0x1d4dcc(0x1af)]((_0x1eb2b8,_0x38d5e5)=>{var _0x3cfde0=_0x1d4dcc;if(_0x1eb2b8[_0x3cfde0(0x3f6)]!==a[_0x3cfde0(0x21a)]['MUTATION']||_0x38d5e5!=null&&_0x38d5e5[_0x3cfde0(0x389)]||_0x38d5e5!=null&&_0x38d5e5[_0x3cfde0(0x3e8)]||_0x1eb2b8['id']===ht[_0x3cfde0(0x269)]['id'])return;const _0x3792bf=_0x1eb2b8[_0x3cfde0(0x3b1)];if((_0x3792bf==null?void 0x0:_0x3792bf[_0x3cfde0(0x3a3)])!==this[_0x3cfde0(0x2c5)])return;const _0x3ca18c=_0x1eb2b8,_0x38c177=this[_0x3cfde0(0x181)][_0x3cfde0(0x1cf)][_0x3cfde0(0x1e8)](this['_compressMutationService'][_0x3cfde0(0x1cf)][_0x3cfde0(0x3dc)]()[_0x3cfde0(0x448)])([_0x3ca18c],null)||[_0x3ca18c];this[_0x3cfde0(0x2fe)](_0x38c177[0x0]);})),_0xe7d7fe;}},exports[_0x5aed06(0x3da)]=Fe([j(0x3,a['Inject'](a[_0x5aed06(0x31e)])),j(0x4,a[_0x5aed06(0x46b)](I[_0x5aed06(0x1b4)])),j(0x5,a[_0x5aed06(0x46b)](a[_0x5aed06(0x180)])),j(0x6,a[_0x5aed06(0x46b)](I['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x5aed06(0x2c4)]),j(0x9,a[_0x5aed06(0x2e5)]),j(0xa,a[_0x5aed06(0x1b6)]),j(0xb,a[_0x5aed06(0x36d)](de)),j(0xc,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x3da)]),exports[_0x5aed06(0x49e)]=class extends exports['CollaborationEntity']{constructor(_0x3f52f7,_0x293af4,_0x55bc78,_0xc3724d,_0x52fdbf,_0x4567e0,_0x1d7fdb,_0x36db74,_0x5290b1,_0x24882e,_0x1ccbeb,_0xa52d1c,_0x515ced,_0x2aae69){var _0xb18ea8=_0x5aed06;super(_0x3f52f7,_0x55bc78,_0x293af4,_0xc3724d,_0x52fdbf,_0x4567e0,_0x1d7fdb,_0x5290b1,_0x24882e,_0x1ccbeb,_0xa52d1c,_0x515ced,_0x2aae69),this[_0xb18ea8(0x2c5)]=_0x3f52f7,this[_0xb18ea8(0x3f6)]=_0x293af4,this[_0xb18ea8(0x306)]=_0x36db74;}[_0x5aed06(0x20d)](){var _0x5eee37=_0x5aed06;const _0x108a3a=super[_0x5eee37(0x20d)]();return _0x108a3a[_0x5eee37(0x1ab)]=_0x1bff26=>this['_sheetTransformSelectionsService'][_0x5eee37(0x197)](_0x1bff26),_0x108a3a;}async[_0x5aed06(0x4cb)](){var _0x20242e=_0x5aed06;const _0x25d9ff=await super[_0x20242e(0x4cb)]();return this[_0x20242e(0x3ed)](this['_commandService'][_0x20242e(0x1af)]((_0x1ee7a7,_0x58ae44)=>{var _0xed7cb9=_0x20242e;if(_0x1ee7a7[_0xed7cb9(0x3f6)]!==a[_0xed7cb9(0x21a)][_0xed7cb9(0x18c)]||_0x58ae44!=null&&_0x58ae44[_0xed7cb9(0x389)]||_0x58ae44!=null&&_0x58ae44[_0xed7cb9(0x3e8)])return;const _0x1247a9=_0x1ee7a7[_0xed7cb9(0x3b1)];if((_0x1247a9==null?void 0x0:_0x1247a9[_0xed7cb9(0x3a3)])!==this[_0xed7cb9(0x2c5)])return;const _0x326061=_0x1ee7a7,_0x106f04=this[_0xed7cb9(0x181)][_0xed7cb9(0x1cf)][_0xed7cb9(0x1e8)](this[_0xed7cb9(0x181)]['interceptor'][_0xed7cb9(0x3dc)]()[_0xed7cb9(0x448)])([_0x326061],null)||[_0x326061];this[_0xed7cb9(0x2fe)](_0x106f04[0x0]);})),_0x25d9ff;}},exports[_0x5aed06(0x49e)]=Fe([j(0x3,a[_0x5aed06(0x46b)](a['Injector'])),j(0x4,a['Inject'](I[_0x5aed06(0x1b4)])),j(0x5,a[_0x5aed06(0x46b)](a[_0x5aed06(0x180)])),j(0x6,a['Inject'](I['RevisionService'])),j(0x7,a['Inject'](exports[_0x5aed06(0x494)])),j(0x8,a[_0x5aed06(0x46b)](ee)),j(0x9,a[_0x5aed06(0x2c4)]),j(0xa,a[_0x5aed06(0x2e5)]),j(0xb,a[_0x5aed06(0x1b6)]),j(0xc,a[_0x5aed06(0x36d)](de)),j(0xd,a['Optional'](q))],exports[_0x5aed06(0x49e)]);var Si=Object[_0x5aed06(0x206)],fi=(_0x275dee,_0x163e5c,_0x140b47,_0x9dd6f6)=>{for(var _0x207dc9=_0x9dd6f6>0x1?void 0x0:_0x9dd6f6?Si(_0x163e5c,_0x140b47):_0x163e5c,_0x30ea72=_0x275dee['length']-0x1,_0x485375;_0x30ea72>=0x0;_0x30ea72--)(_0x485375=_0x275dee[_0x30ea72])&&(_0x207dc9=_0x485375(_0x207dc9)||_0x207dc9);return _0x207dc9;},Se=(_0x2a3c48,_0x3326e4)=>(_0x59f2dc,_0x40f661)=>_0x3326e4(_0x59f2dc,_0x40f661,_0x2a3c48);exports[_0x5aed06(0x331)]=class extends a['RxDisposable']{constructor(_0x255ea3,_0x5e4348,_0x25eba6,_0x513b8d){var _0x34efba=_0x5aed06,_0x5843d7;super(),A(this,_0x34efba(0x479),new Map()),A(this,_0x34efba(0x3de),new $[(_0x34efba(0x2fd))]()),A(this,_0x34efba(0x471),this['_entityInit$'][_0x34efba(0x3a8)]()),(this[_0x34efba(0x1a3)]=_0x255ea3,this[_0x34efba(0x304)]=_0x5e4348,this[_0x34efba(0x26c)]=_0x25eba6,this[_0x34efba(0x3a6)]=_0x513b8d,((_0x5843d7=this[_0x34efba(0x26c)]['getConfig'](K))==null?void 0x0:_0x5843d7[_0x34efba(0x354)])!==!0x1&&this[_0x34efba(0x4cb)]());}[_0x5aed06(0x456)](){var _0x1c4584=_0x5aed06;super['dispose'](),this[_0x1c4584(0x479)][_0x1c4584(0x4d4)](_0xfab029=>_0xfab029['dispose']()),this['_entities'][_0x1c4584(0x19c)]();}['getCollabEntity'](_0x57ae09){var _0x4a9f55=_0x5aed06,_0x155cdc;return(_0x155cdc=this[_0x4a9f55(0x479)][_0x4a9f55(0x4d1)](_0x57ae09))!=null?_0x155cdc:null;}[_0x5aed06(0x465)](_0xdcc059){var _0x49c474=_0x5aed06;const _0xb415f3=this[_0x49c474(0x1d7)](_0xdcc059);return _0xb415f3?$['of'](_0xb415f3):this[_0x49c474(0x3de)][_0x49c474(0x280)](V[_0x49c474(0x4c1)](_0x147aae=>_0x147aae[_0x49c474(0x2c5)]===_0xdcc059));}[_0x5aed06(0x40f)](_0x560c9f){var _0x38027b=_0x5aed06;return $['firstValueFrom'](this['getCollabEntity$'](_0x560c9f)[_0x38027b(0x280)](V[_0x38027b(0x33c)](()=>{})));}['_init'](){var _0x368037=_0x5aed06;this[_0x368037(0x3a6)][_0x368037(0x48a)](a[_0x368037(0x3b6)][_0x368037(0x1de)])[_0x368037(0x280)]($[_0x368037(0x3cb)](this[_0x368037(0x3c4)]),V[_0x368037(0x4d8)](0x10))['subscribe'](async _0x2a4ea0=>{var _0x43b1bd=_0x368037;const _0x16b4e2=_0x2a4ea0[_0x43b1bd(0x2f0)](),_0x1bb545=await this[_0x43b1bd(0x482)](_0x16b4e2,J[_0x43b1bd(0x1de)]);this[_0x43b1bd(0x479)][_0x43b1bd(0x426)](_0x16b4e2,_0x1bb545);}),this[_0x368037(0x3a6)]['getTypeOfUnitAdded$'](a[_0x368037(0x3b6)][_0x368037(0x1f3)])[_0x368037(0x280)]($[_0x368037(0x3cb)](this[_0x368037(0x3c4)]),V[_0x368037(0x4d8)](0x10))[_0x368037(0x280)](V[_0x368037(0x4c1)](_0x2ecb5a=>!_0x2ecb5a['getUnitId']()[_0x368037(0x376)]('__')))[_0x368037(0x284)](async _0x3631ef=>{var _0xba6d19=_0x368037;const _0x39f3db=_0x3631ef[_0xba6d19(0x2f0)](),_0x14c365=await this[_0xba6d19(0x482)](_0x39f3db,J[_0xba6d19(0x1f3)]);this[_0xba6d19(0x479)][_0xba6d19(0x426)](_0x39f3db,_0x14c365);}),$[_0x368037(0x286)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x368037(0x3b6)]['UNIVER_SHEET']),this[_0x368037(0x3a6)]['getTypeOfUnitDisposed$'](a[_0x368037(0x3b6)][_0x368037(0x1f3)]))[_0x368037(0x280)]($['takeUntil'](this[_0x368037(0x3c4)]))[_0x368037(0x284)](_0x2a7211=>{var _0x34d505=_0x368037;const _0x146a91=_0x2a7211[_0x34d505(0x2f0)](),_0x31d9c7=this['_entities'][_0x34d505(0x4d1)](_0x146a91);_0x31d9c7&&(_0x31d9c7[_0x34d505(0x456)](),this['_entities']['delete'](_0x146a91));});}async[_0x5aed06(0x482)](_0x4f4595,_0x95ac05){var _0x1ab146=_0x5aed06;const _0x45e654=await this[_0x1ab146(0x304)][_0x1ab146(0x1e2)](_0x4f4595),_0x32f5ba=this[_0x1ab146(0x1a3)]['createInstance'](this['_getCtorByUniverType'](_0x95ac05),_0x4f4595,_0x95ac05,_0x45e654);return await _0x32f5ba[_0x1ab146(0x21f)](),this['_entityInit$']['next'](_0x32f5ba),_0x32f5ba;}[_0x5aed06(0x335)](_0x516198){var _0x485870=_0x5aed06;switch(_0x516198){case J[_0x485870(0x1f3)]:return exports['DocCollaborationEntity'];case J[_0x485870(0x1de)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x485870(0x1a1)+_0x516198);}}},exports[_0x5aed06(0x331)]=fi([Se(0x0,a[_0x5aed06(0x46b)](a['Injector'])),Se(0x1,a['Inject'](exports['CollaborationSessionService'])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x5aed06(0x3aa)])],exports['CollaborationController']);var pi=Object[_0x5aed06(0x206)],Ii=(_0x24dee9,_0x29e696,_0x102462,_0x52aba6)=>{var _0x829bf1=_0x5aed06;for(var _0x3ef9c6=_0x52aba6>0x1?void 0x0:_0x52aba6?pi(_0x29e696,_0x102462):_0x29e696,_0x604e9=_0x24dee9[_0x829bf1(0x24e)]-0x1,_0x4eeba6;_0x604e9>=0x0;_0x604e9--)(_0x4eeba6=_0x24dee9[_0x604e9])&&(_0x3ef9c6=_0x4eeba6(_0x3ef9c6)||_0x3ef9c6);return _0x3ef9c6;},Ye=(_0x140b61,_0x2a3019)=>(_0x38cd69,_0x3c918e)=>_0x2a3019(_0x38cd69,_0x3c918e,_0x140b61);const gi='DEFAULT_FILE_NAME',Ei=_0x5aed06(0x2a2);let xe=class extends a[_0x5aed06(0x43b)]{constructor(_0x2951c8,_0xe36b92){var _0x16cf88=_0x5aed06;super(),this[_0x16cf88(0x3a6)]=_0x2951c8,this['_configService']=_0xe36b92,this[_0x16cf88(0x4cb)]();}[_0x5aed06(0x4cb)](){var _0x54688e=_0x5aed06;this[_0x54688e(0x3ed)](this[_0x54688e(0x3a6)][_0x54688e(0x27f)][_0x54688e(0x284)](()=>{var _0x24716d=_0x54688e,_0x3fa289;const _0x3e5107=this['_univerInstanceService']['getFocusedUnit']();let _0x4a1075=(_0x3fa289=this[_0x24716d(0x26c)][_0x24716d(0x327)](gi))!=null?_0x3fa289:Ei;_0x3e5107 instanceof a[_0x24716d(0x338)]&&(_0x4a1075=_0x3e5107[_0x24716d(0x4a1)]),document['title']=_0x4a1075;}));}};xe=Ii([Ye(0x0,a[_0x5aed06(0x3aa)]),Ye(0x1,a[_0x5aed06(0x3a7)])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0x2f18cc,_0x3f2b2a,_0x382e0c,_0x23a7d6)=>{for(var _0x15a163=_0x23a7d6>0x1?void 0x0:_0x23a7d6?mi(_0x3f2b2a,_0x382e0c):_0x3f2b2a,_0x51fe43=_0x2f18cc['length']-0x1,_0x2bcc82;_0x51fe43>=0x0;_0x51fe43--)(_0x2bcc82=_0x2f18cc[_0x51fe43])&&(_0x15a163=_0x2bcc82(_0x15a163)||_0x15a163);return _0x15a163;},Ae=(_0x4a7174,_0xbd1401)=>(_0x383b5d,_0x1bffbd)=>_0xbd1401(_0x383b5d,_0x1bffbd,_0x4a7174);let ye=class{constructor(_0x84b832,_0x2c9b04,_0x4e3071){var _0x1fb7b6=_0x5aed06;this[_0x1fb7b6(0x26c)]=_0x84b832,this[_0x1fb7b6(0x38b)]=_0x2c9b04,this['localeService']=_0x4e3071,this[_0x1fb7b6(0x21f)]();}['init'](){var _0x2da1a1=_0x5aed06;this[_0x2da1a1(0x38b)][_0x2da1a1(0x47b)]({'priority':0x1,'interceptor':(_0x3708b0,_0x3afe04)=>_0x3afe04(_0x3708b0)['pipe']($[_0x2da1a1(0x395)](async _0xbebf52=>{var _0x2de411=_0x2da1a1;const _0x3048db=_0xbebf52;if(_0x3048db['status']===0x191){if(typeof window>'u')throw new Error(_0x2de411(0x2d6));if(window[_0x2de411(0x3ff)](this[_0x2de411(0x394)]['t'](_0x2de411(0x281)))){const _0x43cde5=window[_0x2de411(0x22e)](window[_0x2de411(0x229)][_0x2de411(0x2fc)]);window['location'][_0x2de411(0x2fc)]=this[_0x2de411(0x1dd)]()+'?url='+_0x43cde5;}}return _0x3048db;}))});}['_getLoginPath'](){var _0xffc89b=_0x5aed06,_0x5b58c5,_0x1a4682;const _0x10af14=this[_0xffc89b(0x26c)][_0xffc89b(0x327)](It),_0x4385c4=this[_0xffc89b(0x26c)][_0xffc89b(0x327)](K);return(_0x1a4682=(_0x5b58c5=_0x4385c4==null?void 0x0:_0x4385c4[_0xffc89b(0x190)])!=null?_0x5b58c5:_0x10af14)!=null?_0x1a4682:Wt;}};ye=Ci([Ae(0x0,a[_0x5aed06(0x3a7)]),Ae(0x1,a[_0x5aed06(0x46b)](Y[_0x5aed06(0x414)])),Ae(0x2,a[_0x5aed06(0x46b)](a[_0x5aed06(0x180)]))],ye);var Ti=Object[_0x5aed06(0x206)],bi=(_0x145219,_0xeb8c37,_0x14d0b,_0x3e5a83)=>{var _0x467ec9=_0x5aed06;for(var _0x1ed05f=_0x3e5a83>0x1?void 0x0:_0x3e5a83?Ti(_0xeb8c37,_0x14d0b):_0xeb8c37,_0x54a04f=_0x145219[_0x467ec9(0x24e)]-0x1,_0xbe6e3f;_0x54a04f>=0x0;_0x54a04f--)(_0xbe6e3f=_0x145219[_0x54a04f])&&(_0x1ed05f=_0xbe6e3f(_0x1ed05f)||_0x1ed05f);return _0x1ed05f;},qe=(_0x403603,_0xca6a57)=>(_0x46c7c8,_0x3671e1)=>_0xca6a57(_0x46c7c8,_0x3671e1,_0x403603);function _0x156c(_0xbb43ce,_0x37223e){var _0x4ec268=_0x4ec2();return _0x156c=function(_0x156c99,_0x16543e){_0x156c99=_0x156c99-0x173;var _0x4215df=_0x4ec268[_0x156c99];return _0x4215df;},_0x156c(_0xbb43ce,_0x37223e);}const Ve='AUTHZ_URL_KEY',Ri=_0x5aed06(0x293);exports['AuthzIoHttpService']=class extends a[_0x5aed06(0x43b)]{constructor(_0x75fc1d,_0x1041b1){var _0x1ba10b=_0x5aed06;super(),this['_HTTPService']=_0x75fc1d,this[_0x1ba10b(0x26c)]=_0x1041b1,this[_0x1ba10b(0x2b9)]();}[_0x5aed06(0x2b9)](){var _0x5e9cbc=_0x5aed06;const _0x4c9c4a=this;this['disposeWithMe'](this[_0x5e9cbc(0x2e4)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Y[_0x5e9cbc(0x2f5)]({'isMatch'(_0x2ef393){var _0x1d33dd=_0x5e9cbc,_0x15aadb;if(_0x2ef393[_0x1d33dd(0x3a4)]==='POST'&&((_0x15aadb=_0x2ef393[_0x1d33dd(0x265)])!=null&&_0x15aadb[_0x1d33dd(0x20b)])){const {objectID:_0x19e15a,objectType:_0x361962}=_0x2ef393[_0x1d33dd(0x265)][_0x1d33dd(0x20b)]||{};if(!_0x19e15a||_0x361962===void 0x0)return!0x1;const _0x29022a=_0x4c9c4a[_0x1d33dd(0x260)]()+'/'+_0x361962+_0x1d33dd(0x2a9)+_0x19e15a+_0x1d33dd(0x452);if(_0x2ef393['url']===_0x29022a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x248895){var _0x3c4b50=_0x5e9cbc,_0x52fb1a;return(_0x52fb1a=_0x248895['requestParams'])==null?void 0x0:_0x52fb1a[_0x3c4b50(0x20b)];},'mergeParamsToRequest'(_0x1710a2,_0x1d38fe){var _0x226abb=_0x5e9cbc;const _0x523b50=_0x4c9c4a[_0x226abb(0x260)]()+_0x226abb(0x267),_0xa51566=_0x1710a2['reduce']((_0x1346e9,_0xd17045)=>{var _0x475740=_0x226abb;const {unitID:_0x154902,objectID:_0x42b53a,objectType:_0x1d88ee,actions:_0x4382ac}=_0xd17045;return _0x1346e9[_0x154902]||(_0x1346e9[_0x154902]={}),_0x1346e9[_0x154902][_0x42b53a]||(_0x1346e9[_0x154902][_0x42b53a]={'objectID':_0x42b53a,'objectType':_0x1d88ee,'actions':[]}),_0x1346e9[_0x154902][_0x42b53a][_0x475740(0x186)][_0x475740(0x2a4)](..._0x4382ac),_0x1346e9;},{}),_0x4fa0d9=[];for(const _0x235928 in _0xa51566)for(const _0xf845f7 in _0xa51566[_0x235928]){const {actions:_0x4731f3,objectType:_0x4bad78}=_0xa51566[_0x235928][_0xf845f7],_0x283543=[...new Set(_0x4731f3)];_0x4fa0d9[_0x226abb(0x2a4)]({'unitID':_0x235928,'objectID':_0xf845f7,'objectType':_0x4bad78,'actions':_0x283543});}return new Y[(_0x226abb(0x1dc))](_0x226abb(0x2f2),_0x523b50,{'headers':_0x1d38fe[_0x226abb(0x35f)],'withCredentials':_0x1d38fe['withCredentials'],'responseType':_0x1d38fe[_0x226abb(0x444)],'body':{'requests':_0x4fa0d9}});}},{'distributeResult'(_0x164eab,_0x434e73){var _0x27f72a=_0x5e9cbc;const {objectActions:_0x9bb02a}=_0x164eab;return _0x434e73[_0x27f72a(0x33c)](_0x5d39c7=>{var _0x116a50=_0x27f72a;const {unitID:_0x9cf502,objectID:_0x2b6185,actions:_0x578041}=_0x5d39c7,_0x438cd8=_0x9bb02a[_0x116a50(0x44b)](_0x356a18=>_0x356a18[_0x116a50(0x2c5)]===_0x9cf502&&_0x356a18['objectID']===_0x2b6185),_0x4d0650=_0x578041[_0x116a50(0x33c)](_0x5b7e85=>_0x438cd8==null?void 0x0:_0x438cd8[_0x116a50(0x186)][_0x116a50(0x44b)](_0x57f27d=>_0x57f27d['action']===_0x5b7e85))['filter'](_0x45079b=>!!_0x45079b);return{'config':_0x5d39c7,'result':{'actions':_0x4d0650,'error':_0x164eab[_0x116a50(0x3ac)]}};});}})}));}[_0x5aed06(0x260)](){var _0x10177d=_0x5aed06,_0x141fc6,_0x4e2508;const _0x4804ae=this['_configService'][_0x10177d(0x327)](Ve),_0x4b877c=this['_configService'][_0x10177d(0x327)](K);return(_0x4e2508=(_0x141fc6=_0x4b877c==null?void 0x0:_0x4b877c['authzUrl'])!=null?_0x141fc6:_0x4804ae)!=null?_0x4e2508:Ri;}async[_0x5aed06(0x399)](_0x962e11){var _0xd6f2cb=_0x5aed06;const _0x166606=this[_0xd6f2cb(0x260)]()+'/'+_0x962e11[_0xd6f2cb(0x417)]+'/object';return(await this['_HTTPService']['post'](_0x166606,{'body':_0x962e11}))['body'][_0xd6f2cb(0x4ca)]||'';}async[_0x5aed06(0x3ba)](_0x1a109e){var _0x11f3b7=_0x5aed06;const _0x53b84f=this[_0x11f3b7(0x260)]()+'/-/object/list';return(await this[_0x11f3b7(0x2e4)][_0x11f3b7(0x4b1)](_0x53b84f,{'body':_0x1a109e}))[_0x11f3b7(0x20b)][_0x11f3b7(0x2ac)];}async[_0x5aed06(0x477)](_0x412f64){var _0x18b483=_0x5aed06,_0x19a312,_0x36d076;const _0xa9af95=this['_getAPIPrefixPath']()+'/'+_0x412f64[_0x18b483(0x417)]+_0x18b483(0x2a9)+_0x412f64['objectID'],_0x50dec1=await this[_0x18b483(0x2e4)][_0x18b483(0x35c)](_0xa9af95,{'body':_0x412f64});if(((_0x36d076=(_0x19a312=_0x50dec1==null?void 0x0:_0x50dec1[_0x18b483(0x20b)])==null?void 0x0:_0x19a312[_0x18b483(0x3ac)])==null?void 0x0:_0x36d076[_0x18b483(0x290)])!==0x1)throw new Error(_0x18b483(0x325));}async[_0x5aed06(0x4ae)](_0x511496){var _0x34675f=_0x5aed06;const _0x527f8a=this['_getAPIPrefixPath']()+'/'+_0x511496[_0x34675f(0x417)]+_0x34675f(0x2a9)+_0x511496['objectID']+'/allowed';return(await this[_0x34675f(0x2e4)]['post'](_0x527f8a,{'body':_0x511496}))[_0x34675f(0x20b)]['actions'];}async[_0x5aed06(0x42f)](_0x1c8b5f){var _0x392306=_0x5aed06;const _0x4945af=this[_0x392306(0x260)]()+_0x392306(0x267);return(await this['_HTTPService'][_0x392306(0x4b1)](_0x4945af,{'body':{'requests':_0x1c8b5f}}))[_0x392306(0x20b)][_0x392306(0x252)];}async[_0x5aed06(0x436)](_0x14ab0c){var _0x25ed8d=_0x5aed06;const _0x4f5113=this[_0x25ed8d(0x260)]()+'/'+_0x14ab0c[_0x25ed8d(0x417)]+_0x25ed8d(0x4c2),_0x337ba2=await this['_HTTPService'][_0x25ed8d(0x4b1)](_0x4f5113,{'body':_0x14ab0c});return{'roles':_0x337ba2[_0x25ed8d(0x20b)][_0x25ed8d(0x42b)],'actions':_0x337ba2[_0x25ed8d(0x20b)][_0x25ed8d(0x186)]};}async[_0x5aed06(0x38c)](_0x40ee07){var _0x15364f=_0x5aed06;const _0x44dfcb=this[_0x15364f(0x260)]()+_0x15364f(0x228);await this[_0x15364f(0x2e4)][_0x15364f(0x438)](_0x44dfcb,{'params':{'collaboratorID':_0x40ee07[_0x15364f(0x492)],'objectID':_0x40ee07['objectID'],'unitID':_0x40ee07[_0x15364f(0x2c5)]}});}async[_0x5aed06(0x3b3)](_0x586b44){var _0x3ecb23=_0x5aed06;const _0x20d1a4=this[_0x3ecb23(0x260)]()+_0x3ecb23(0x228);await this[_0x3ecb23(0x2e4)][_0x3ecb23(0x46a)](_0x20d1a4,{'body':_0x586b44});}async[_0x5aed06(0x353)](_0x2f228b){var _0x9c4179=_0x5aed06;const _0x35ff2b=this[_0x9c4179(0x260)]()+_0x9c4179(0x228);await this[_0x9c4179(0x2e4)][_0x9c4179(0x4b1)](_0x35ff2b,{'body':_0x2f228b});}async['listCollaborators'](_0x428cbb){var _0x14f595=_0x5aed06;const _0x10b519=this[_0x14f595(0x260)]()+_0x14f595(0x228);return(await this[_0x14f595(0x2e4)][_0x14f595(0x4d1)](_0x10b519,{'params':{'objectID':_0x428cbb[_0x14f595(0x4ca)],'unitID':_0x428cbb[_0x14f595(0x2c5)]}}))['body']['collaborators'];}async[_0x5aed06(0x1b0)](_0x35f542){var _0x137bf0=_0x5aed06;const _0x5327f7=this[_0x137bf0(0x260)]()+'/collaborator';await this['_HTTPService'][_0x137bf0(0x35c)](_0x5327f7,{'body':_0x35f542});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0x5aed06(0x46b)](Y[_0x5aed06(0x414)])),qe(0x1,a[_0x5aed06(0x46b)](a[_0x5aed06(0x3a7)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4bab0e){var _0x5a0e18=_0x5aed06;return _0x4bab0e&&_0x4bab0e[_0x5a0e18(0x370)]&&Object[_0x5a0e18(0x242)][_0x5a0e18(0x498)]['call'](_0x4bab0e,_0x5a0e18(0x457))?_0x4bab0e[_0x5a0e18(0x457)]:_0x4bab0e;}var fe={'exports':{}};function Oi(_0x4ece65){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x4ece65+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},yi=pe[_0x5aed06(0x418)],ze;function Q(){return ze||(ze=0x1,function(_0x4e6cad,_0x4c8ea8){(function(_0x42919c,_0x3b47b9){var _0x1b55a5=_0x156c;_0x4e6cad[_0x1b55a5(0x418)]=_0x3b47b9();}(yi,function(){var _0x51f3a4=_0x51f3a4||function(_0x2ff409,_0x3fb4be){var _0x151c76=_0x156c,_0x1fa5b5;if(typeof window<'u'&&window[_0x151c76(0x38e)]&&(_0x1fa5b5=window[_0x151c76(0x38e)]),typeof self<'u'&&self['crypto']&&(_0x1fa5b5=self[_0x151c76(0x38e)]),typeof globalThis<'u'&&globalThis[_0x151c76(0x38e)]&&(_0x1fa5b5=globalThis[_0x151c76(0x38e)]),!_0x1fa5b5&&typeof window<'u'&&window[_0x151c76(0x21e)]&&(_0x1fa5b5=window['msCrypto']),!_0x1fa5b5&&typeof Pe<'u'&&Pe['crypto']&&(_0x1fa5b5=Pe['crypto']),!_0x1fa5b5&&typeof Oi==_0x151c76(0x2d0))try{_0x1fa5b5=require(_0x151c76(0x38e));}catch{}var _0x51ac75=function(){var _0x5444cb=_0x151c76;if(_0x1fa5b5){if(typeof _0x1fa5b5[_0x5444cb(0x248)]==_0x5444cb(0x2d0))try{return _0x1fa5b5[_0x5444cb(0x248)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1fa5b5[_0x5444cb(0x48f)]==_0x5444cb(0x2d0))try{return _0x1fa5b5[_0x5444cb(0x48f)](0x4)[_0x5444cb(0x43c)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5372ac=Object[_0x151c76(0x399)]||(function(){function _0x2d03fb(){}return function(_0x87ac85){var _0x381efb=_0x156c,_0x27b82e;return _0x2d03fb[_0x381efb(0x242)]=_0x87ac85,_0x27b82e=new _0x2d03fb(),_0x2d03fb['prototype']=null,_0x27b82e;};}()),_0x3f2d62={},_0x4e6bf4=_0x3f2d62[_0x151c76(0x359)]={},_0x29b0f1=_0x4e6bf4['Base']=(function(){return{'extend':function(_0x339686){var _0x28bae2=_0x156c,_0x3905bf=_0x5372ac(this);return _0x339686&&_0x3905bf[_0x28bae2(0x442)](_0x339686),(!_0x3905bf[_0x28bae2(0x498)](_0x28bae2(0x21f))||this['init']===_0x3905bf[_0x28bae2(0x21f)])&&(_0x3905bf['init']=function(){var _0x3b3183=_0x28bae2;_0x3905bf[_0x3b3183(0x3cc)][_0x3b3183(0x21f)][_0x3b3183(0x3d0)](this,arguments);}),_0x3905bf[_0x28bae2(0x21f)][_0x28bae2(0x242)]=_0x3905bf,_0x3905bf['$super']=this,_0x3905bf;},'create':function(){var _0x215f52=this['extend']();return _0x215f52['init']['apply'](_0x215f52,arguments),_0x215f52;},'init':function(){},'mixIn':function(_0x4a807b){var _0x782d4e=_0x156c;for(var _0x49f34c in _0x4a807b)_0x4a807b['hasOwnProperty'](_0x49f34c)&&(this[_0x49f34c]=_0x4a807b[_0x49f34c]);_0x4a807b[_0x782d4e(0x498)](_0x782d4e(0x383))&&(this[_0x782d4e(0x383)]=_0x4a807b[_0x782d4e(0x383)]);},'clone':function(){var _0x184e2a=_0x156c;return this[_0x184e2a(0x21f)][_0x184e2a(0x242)][_0x184e2a(0x330)](this);}};}()),_0x2270f9=_0x4e6bf4[_0x151c76(0x385)]=_0x29b0f1[_0x151c76(0x330)]({'init':function(_0x9bdd89,_0x43a227){var _0x1d0b77=_0x151c76;_0x9bdd89=this[_0x1d0b77(0x3a0)]=_0x9bdd89||[],_0x43a227!=_0x3fb4be?this[_0x1d0b77(0x379)]=_0x43a227:this[_0x1d0b77(0x379)]=_0x9bdd89['length']*0x4;},'toString':function(_0x3de7f9){var _0x47351d=_0x151c76;return(_0x3de7f9||_0x157c2b)[_0x47351d(0x463)](this);},'concat':function(_0x2763dc){var _0x46557c=_0x151c76,_0x3c7069=this[_0x46557c(0x3a0)],_0x3ce051=_0x2763dc[_0x46557c(0x3a0)],_0xfaa7c2=this['sigBytes'],_0x338385=_0x2763dc[_0x46557c(0x379)];if(this['clamp'](),_0xfaa7c2%0x4)for(var _0x289dfb=0x0;_0x289dfb<_0x338385;_0x289dfb++){var _0x75d1bc=_0x3ce051[_0x289dfb>>>0x2]>>>0x18-_0x289dfb%0x4*0x8&0xff;_0x3c7069[_0xfaa7c2+_0x289dfb>>>0x2]|=_0x75d1bc<<0x18-(_0xfaa7c2+_0x289dfb)%0x4*0x8;}else{for(var _0x1f0ae0=0x0;_0x1f0ae0<_0x338385;_0x1f0ae0+=0x4)_0x3c7069[_0xfaa7c2+_0x1f0ae0>>>0x2]=_0x3ce051[_0x1f0ae0>>>0x2];}return this[_0x46557c(0x379)]+=_0x338385,this;},'clamp':function(){var _0x9fc1ce=_0x151c76,_0x231f83=this[_0x9fc1ce(0x3a0)],_0x1fc66d=this['sigBytes'];_0x231f83[_0x1fc66d>>>0x2]&=0xffffffff<<0x20-_0x1fc66d%0x4*0x8,_0x231f83[_0x9fc1ce(0x24e)]=_0x2ff409[_0x9fc1ce(0x4bc)](_0x1fc66d/0x4);},'clone':function(){var _0x482abb=_0x151c76,_0x4d348f=_0x29b0f1['clone'][_0x482abb(0x254)](this);return _0x4d348f['words']=this[_0x482abb(0x3a0)][_0x482abb(0x1fc)](0x0),_0x4d348f;},'random':function(_0x59446d){var _0x221518=_0x151c76;for(var _0x1fc29a=[],_0x1ae9df=0x0;_0x1ae9df<_0x59446d;_0x1ae9df+=0x4)_0x1fc29a[_0x221518(0x2a4)](_0x51ac75());return new _0x2270f9['init'](_0x1fc29a,_0x59446d);}}),_0x427e84=_0x3f2d62['enc']={},_0x157c2b=_0x427e84[_0x151c76(0x2e0)]={'stringify':function(_0x105704){var _0x2c9c4d=_0x151c76;for(var _0x3a8ef2=_0x105704[_0x2c9c4d(0x3a0)],_0x1672dc=_0x105704[_0x2c9c4d(0x379)],_0x36d62e=[],_0x5a2d6e=0x0;_0x5a2d6e<_0x1672dc;_0x5a2d6e++){var _0xf9f36f=_0x3a8ef2[_0x5a2d6e>>>0x2]>>>0x18-_0x5a2d6e%0x4*0x8&0xff;_0x36d62e[_0x2c9c4d(0x2a4)]((_0xf9f36f>>>0x4)[_0x2c9c4d(0x383)](0x10)),_0x36d62e['push']((_0xf9f36f&0xf)[_0x2c9c4d(0x383)](0x10));}return _0x36d62e[_0x2c9c4d(0x1f9)]('');},'parse':function(_0x43dd95){var _0x934882=_0x151c76;for(var _0x5c2d24=_0x43dd95['length'],_0x388829=[],_0xfb2f4c=0x0;_0xfb2f4c<_0x5c2d24;_0xfb2f4c+=0x2)_0x388829[_0xfb2f4c>>>0x3]|=parseInt(_0x43dd95[_0x934882(0x3b8)](_0xfb2f4c,0x2),0x10)<<0x18-_0xfb2f4c%0x8*0x4;return new _0x2270f9[(_0x934882(0x21f))](_0x388829,_0x5c2d24/0x2);}},_0x4e47f1=_0x427e84[_0x151c76(0x217)]={'stringify':function(_0x5c3768){var _0x5935fa=_0x151c76;for(var _0x12c84f=_0x5c3768['words'],_0x4230f7=_0x5c3768[_0x5935fa(0x379)],_0x3343c3=[],_0x114ae4=0x0;_0x114ae4<_0x4230f7;_0x114ae4++){var _0x21224d=_0x12c84f[_0x114ae4>>>0x2]>>>0x18-_0x114ae4%0x4*0x8&0xff;_0x3343c3[_0x5935fa(0x2a4)](String[_0x5935fa(0x177)](_0x21224d));}return _0x3343c3[_0x5935fa(0x1f9)]('');},'parse':function(_0x9ef141){var _0x12f44d=_0x151c76;for(var _0x3f0917=_0x9ef141[_0x12f44d(0x24e)],_0xaac854=[],_0x37fb23=0x0;_0x37fb23<_0x3f0917;_0x37fb23++)_0xaac854[_0x37fb23>>>0x2]|=(_0x9ef141[_0x12f44d(0x245)](_0x37fb23)&0xff)<<0x18-_0x37fb23%0x4*0x8;return new _0x2270f9[(_0x12f44d(0x21f))](_0xaac854,_0x3f0917);}},_0x2d2087=_0x427e84['Utf8']={'stringify':function(_0x5dc28){var _0x591313=_0x151c76;try{return decodeURIComponent(escape(_0x4e47f1['stringify'](_0x5dc28)));}catch{throw new Error(_0x591313(0x28f));}},'parse':function(_0x1d24f5){var _0x3b83ec=_0x151c76;return _0x4e47f1[_0x3b83ec(0x274)](unescape(encodeURIComponent(_0x1d24f5)));}},_0x5f16cf=_0x4e6bf4[_0x151c76(0x405)]=_0x29b0f1[_0x151c76(0x330)]({'reset':function(){var _0x456257=_0x151c76;this['_data']=new _0x2270f9[(_0x456257(0x21f))](),this[_0x456257(0x226)]=0x0;},'_append':function(_0x521ef2){var _0x22f3d2=_0x151c76;typeof _0x521ef2==_0x22f3d2(0x30d)&&(_0x521ef2=_0x2d2087[_0x22f3d2(0x274)](_0x521ef2)),this['_data'][_0x22f3d2(0x2a0)](_0x521ef2),this['_nDataBytes']+=_0x521ef2[_0x22f3d2(0x379)];},'_process':function(_0x1ab306){var _0x805335=_0x151c76,_0x2a9d00,_0x62dbaa=this[_0x805335(0x363)],_0x593d65=_0x62dbaa[_0x805335(0x3a0)],_0x236c9e=_0x62dbaa['sigBytes'],_0x4316e2=this[_0x805335(0x488)],_0x2701d8=_0x4316e2*0x4,_0x4cb722=_0x236c9e/_0x2701d8;_0x1ab306?_0x4cb722=_0x2ff409['ceil'](_0x4cb722):_0x4cb722=_0x2ff409[_0x805335(0x20f)]((_0x4cb722|0x0)-this[_0x805335(0x35a)],0x0);var _0x5aa4d4=_0x4cb722*_0x4316e2,_0x1c43b5=_0x2ff409['min'](_0x5aa4d4*0x4,_0x236c9e);if(_0x5aa4d4){for(var _0xbd5857=0x0;_0xbd5857<_0x5aa4d4;_0xbd5857+=_0x4316e2)this[_0x805335(0x390)](_0x593d65,_0xbd5857);_0x2a9d00=_0x593d65[_0x805335(0x42a)](0x0,_0x5aa4d4),_0x62dbaa['sigBytes']-=_0x1c43b5;}return new _0x2270f9[(_0x805335(0x21f))](_0x2a9d00,_0x1c43b5);},'clone':function(){var _0x5ea2c1=_0x151c76,_0x5072c2=_0x29b0f1[_0x5ea2c1(0x1e4)][_0x5ea2c1(0x254)](this);return _0x5072c2[_0x5ea2c1(0x363)]=this['_data']['clone'](),_0x5072c2;},'_minBufferSize':0x0});_0x4e6bf4[_0x151c76(0x32a)]=_0x5f16cf[_0x151c76(0x330)]({'cfg':_0x29b0f1['extend'](),'init':function(_0x47338e){var _0x1af3c4=_0x151c76;this[_0x1af3c4(0x2e3)]=this[_0x1af3c4(0x2e3)]['extend'](_0x47338e),this[_0x1af3c4(0x23c)]();},'reset':function(){var _0x393421=_0x151c76;_0x5f16cf['reset'][_0x393421(0x254)](this),this[_0x393421(0x378)]();},'update':function(_0x17d947){var _0x2433b3=_0x151c76;return this[_0x2433b3(0x295)](_0x17d947),this[_0x2433b3(0x406)](),this;},'finalize':function(_0x1463b1){var _0x38629b=_0x151c76;_0x1463b1&&this[_0x38629b(0x295)](_0x1463b1);var _0x2bfa6a=this[_0x38629b(0x364)]();return _0x2bfa6a;},'blockSize':0x10,'_createHelper':function(_0x325783){return function(_0x237e4f,_0x22d890){var _0x5b4520=_0x156c;return new _0x325783[(_0x5b4520(0x21f))](_0x22d890)[_0x5b4520(0x3b2)](_0x237e4f);};},'_createHmacHelper':function(_0x1e9fd0){return function(_0x7a45d5,_0x304504){var _0x267504=_0x156c;return new _0x93af64[(_0x267504(0x25a))][(_0x267504(0x21f))](_0x1e9fd0,_0x304504)[_0x267504(0x3b2)](_0x7a45d5);};}});var _0x93af64=_0x3f2d62['algo']={};return _0x3f2d62;}(Math);return _0x51f3a4;}));}(pe)),pe['exports'];}var Ie={'exports':{}},Ni=Ie[_0x5aed06(0x418)],Je;function yt(){return Je||(Je=0x1,function(_0x1faf82,_0x1a576f){(function(_0xd8bc4b,_0x4d7621){var _0x1eef47=_0x156c;_0x1faf82[_0x1eef47(0x418)]=_0x4d7621(Q());}(Ni,function(_0x334905){var _0x24a08d=_0x156c;return(function(){var _0x87f2c2=_0x156c,_0x15d8e3=_0x334905,_0x17eb6f=_0x15d8e3[_0x87f2c2(0x359)],_0x4b8d70=_0x17eb6f[_0x87f2c2(0x385)],_0x4f5d57=_0x15d8e3[_0x87f2c2(0x22f)];_0x4f5d57[_0x87f2c2(0x2c2)]={'stringify':function(_0x2d66ca){var _0x3846d8=_0x87f2c2,_0x10e1c5=_0x2d66ca[_0x3846d8(0x3a0)],_0x43abf2=_0x2d66ca[_0x3846d8(0x379)],_0x22c2eb=this[_0x3846d8(0x207)];_0x2d66ca[_0x3846d8(0x4ac)]();for(var _0x4ed0b3=[],_0xbde1dc=0x0;_0xbde1dc<_0x43abf2;_0xbde1dc+=0x3)for(var _0x40e8c5=_0x10e1c5[_0xbde1dc>>>0x2]>>>0x18-_0xbde1dc%0x4*0x8&0xff,_0x3e8c70=_0x10e1c5[_0xbde1dc+0x1>>>0x2]>>>0x18-(_0xbde1dc+0x1)%0x4*0x8&0xff,_0x3bf80f=_0x10e1c5[_0xbde1dc+0x2>>>0x2]>>>0x18-(_0xbde1dc+0x2)%0x4*0x8&0xff,_0x38fc28=_0x40e8c5<<0x10|_0x3e8c70<<0x8|_0x3bf80f,_0x439788=0x0;_0x439788<0x4&&_0xbde1dc+_0x439788*0.75<_0x43abf2;_0x439788++)_0x4ed0b3[_0x3846d8(0x2a4)](_0x22c2eb[_0x3846d8(0x375)](_0x38fc28>>>0x6*(0x3-_0x439788)&0x3f));var _0x1d873e=_0x22c2eb[_0x3846d8(0x375)](0x40);if(_0x1d873e){for(;_0x4ed0b3[_0x3846d8(0x24e)]%0x4;)_0x4ed0b3[_0x3846d8(0x2a4)](_0x1d873e);}return _0x4ed0b3[_0x3846d8(0x1f9)]('');},'parse':function(_0x1bb1d3){var _0x190dad=_0x87f2c2,_0x692daf=_0x1bb1d3['length'],_0x38c6cd=this[_0x190dad(0x207)],_0x4bf562=this[_0x190dad(0x4b4)];if(!_0x4bf562){_0x4bf562=this['_reverseMap']=[];for(var _0x1e2301=0x0;_0x1e2301<_0x38c6cd[_0x190dad(0x24e)];_0x1e2301++)_0x4bf562[_0x38c6cd[_0x190dad(0x245)](_0x1e2301)]=_0x1e2301;}var _0x1ea2bc=_0x38c6cd[_0x190dad(0x375)](0x40);if(_0x1ea2bc){var _0x4cb2fc=_0x1bb1d3[_0x190dad(0x415)](_0x1ea2bc);_0x4cb2fc!==-0x1&&(_0x692daf=_0x4cb2fc);}return _0xb7ef2a(_0x1bb1d3,_0x692daf,_0x4bf562);},'_map':_0x87f2c2(0x1bd)};function _0xb7ef2a(_0x138cba,_0x35ff59,_0x3b87d7){var _0x2a3cca=_0x87f2c2;for(var _0x896cf8=[],_0x5b46ed=0x0,_0x5bccfa=0x0;_0x5bccfa<_0x35ff59;_0x5bccfa++)if(_0x5bccfa%0x4){var _0x6dd36e=_0x3b87d7[_0x138cba[_0x2a3cca(0x245)](_0x5bccfa-0x1)]<<_0x5bccfa%0x4*0x2,_0x5ab6f1=_0x3b87d7[_0x138cba[_0x2a3cca(0x245)](_0x5bccfa)]>>>0x6-_0x5bccfa%0x4*0x2,_0x5aabf5=_0x6dd36e|_0x5ab6f1;_0x896cf8[_0x5b46ed>>>0x2]|=_0x5aabf5<<0x18-_0x5b46ed%0x4*0x8,_0x5b46ed++;}return _0x4b8d70['create'](_0x896cf8,_0x5b46ed);}}()),_0x334905['enc'][_0x24a08d(0x2c2)];}));}(Ie)),Ie['exports'];}var ge={'exports':{}},Ui=ge['exports'],Xe;function Di(){return Xe||(Xe=0x1,function(_0x27cbc5,_0x1c5bb6){(function(_0x386d5a,_0x2cb464){var _0x2b9ae6=_0x156c;_0x27cbc5[_0x2b9ae6(0x418)]=_0x2cb464(Q());}(Ui,function(_0x25b848){var _0x2296c4=_0x156c;return function(_0x139e00){var _0x49b223=_0x156c,_0x4b6e59=_0x25b848,_0x9eeb8e=_0x4b6e59[_0x49b223(0x359)],_0x2280a7=_0x9eeb8e['WordArray'],_0x57e3d4=_0x9eeb8e[_0x49b223(0x32a)],_0x3d7cbc=_0x4b6e59[_0x49b223(0x466)],_0x314911=[];(function(){var _0x2b8b5a=_0x49b223;for(var _0x3d3856=0x0;_0x3d3856<0x40;_0x3d3856++)_0x314911[_0x3d3856]=_0x139e00['abs'](_0x139e00[_0x2b8b5a(0x1e7)](_0x3d3856+0x1))*0x100000000|0x0;}());var _0x2b2ad7=_0x3d7cbc[_0x49b223(0x497)]=_0x57e3d4[_0x49b223(0x330)]({'_doReset':function(){var _0x3d930b=_0x49b223;this[_0x3d930b(0x2b5)]=new _0x2280a7[(_0x3d930b(0x21f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4cee51,_0x50e86d){var _0x25bc5d=_0x49b223;for(var _0x2b422a=0x0;_0x2b422a<0x10;_0x2b422a++){var _0x3f7876=_0x50e86d+_0x2b422a,_0x59257e=_0x4cee51[_0x3f7876];_0x4cee51[_0x3f7876]=(_0x59257e<<0x8|_0x59257e>>>0x18)&0xff00ff|(_0x59257e<<0x18|_0x59257e>>>0x8)&0xff00ff00;}var _0x12b75c=this['_hash'][_0x25bc5d(0x3a0)],_0x40452e=_0x4cee51[_0x50e86d+0x0],_0x1aae26=_0x4cee51[_0x50e86d+0x1],_0x88e159=_0x4cee51[_0x50e86d+0x2],_0x555814=_0x4cee51[_0x50e86d+0x3],_0x1773ef=_0x4cee51[_0x50e86d+0x4],_0x56f18b=_0x4cee51[_0x50e86d+0x5],_0xab1346=_0x4cee51[_0x50e86d+0x6],_0x3d381f=_0x4cee51[_0x50e86d+0x7],_0x35a2eb=_0x4cee51[_0x50e86d+0x8],_0x52073e=_0x4cee51[_0x50e86d+0x9],_0x15c2ad=_0x4cee51[_0x50e86d+0xa],_0xd0fef5=_0x4cee51[_0x50e86d+0xb],_0x3253aa=_0x4cee51[_0x50e86d+0xc],_0x13003e=_0x4cee51[_0x50e86d+0xd],_0xac196e=_0x4cee51[_0x50e86d+0xe],_0x41cd9e=_0x4cee51[_0x50e86d+0xf],_0x1b15ee=_0x12b75c[0x0],_0x5d7c2b=_0x12b75c[0x1],_0x438359=_0x12b75c[0x2],_0xa3bd58=_0x12b75c[0x3];_0x1b15ee=_0x5d60d5(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x40452e,0x7,_0x314911[0x0]),_0xa3bd58=_0x5d60d5(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x1aae26,0xc,_0x314911[0x1]),_0x438359=_0x5d60d5(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x88e159,0x11,_0x314911[0x2]),_0x5d7c2b=_0x5d60d5(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x555814,0x16,_0x314911[0x3]),_0x1b15ee=_0x5d60d5(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x1773ef,0x7,_0x314911[0x4]),_0xa3bd58=_0x5d60d5(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x56f18b,0xc,_0x314911[0x5]),_0x438359=_0x5d60d5(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xab1346,0x11,_0x314911[0x6]),_0x5d7c2b=_0x5d60d5(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x3d381f,0x16,_0x314911[0x7]),_0x1b15ee=_0x5d60d5(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x35a2eb,0x7,_0x314911[0x8]),_0xa3bd58=_0x5d60d5(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x52073e,0xc,_0x314911[0x9]),_0x438359=_0x5d60d5(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x15c2ad,0x11,_0x314911[0xa]),_0x5d7c2b=_0x5d60d5(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0xd0fef5,0x16,_0x314911[0xb]),_0x1b15ee=_0x5d60d5(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x3253aa,0x7,_0x314911[0xc]),_0xa3bd58=_0x5d60d5(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x13003e,0xc,_0x314911[0xd]),_0x438359=_0x5d60d5(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xac196e,0x11,_0x314911[0xe]),_0x5d7c2b=_0x5d60d5(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x41cd9e,0x16,_0x314911[0xf]),_0x1b15ee=_0x497b05(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x1aae26,0x5,_0x314911[0x10]),_0xa3bd58=_0x497b05(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0xab1346,0x9,_0x314911[0x11]),_0x438359=_0x497b05(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xd0fef5,0xe,_0x314911[0x12]),_0x5d7c2b=_0x497b05(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x40452e,0x14,_0x314911[0x13]),_0x1b15ee=_0x497b05(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x56f18b,0x5,_0x314911[0x14]),_0xa3bd58=_0x497b05(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x15c2ad,0x9,_0x314911[0x15]),_0x438359=_0x497b05(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x41cd9e,0xe,_0x314911[0x16]),_0x5d7c2b=_0x497b05(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x1773ef,0x14,_0x314911[0x17]),_0x1b15ee=_0x497b05(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x52073e,0x5,_0x314911[0x18]),_0xa3bd58=_0x497b05(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0xac196e,0x9,_0x314911[0x19]),_0x438359=_0x497b05(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x555814,0xe,_0x314911[0x1a]),_0x5d7c2b=_0x497b05(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x35a2eb,0x14,_0x314911[0x1b]),_0x1b15ee=_0x497b05(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x13003e,0x5,_0x314911[0x1c]),_0xa3bd58=_0x497b05(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x88e159,0x9,_0x314911[0x1d]),_0x438359=_0x497b05(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x3d381f,0xe,_0x314911[0x1e]),_0x5d7c2b=_0x497b05(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x3253aa,0x14,_0x314911[0x1f]),_0x1b15ee=_0x782fad(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x56f18b,0x4,_0x314911[0x20]),_0xa3bd58=_0x782fad(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x35a2eb,0xb,_0x314911[0x21]),_0x438359=_0x782fad(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xd0fef5,0x10,_0x314911[0x22]),_0x5d7c2b=_0x782fad(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0xac196e,0x17,_0x314911[0x23]),_0x1b15ee=_0x782fad(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x1aae26,0x4,_0x314911[0x24]),_0xa3bd58=_0x782fad(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x1773ef,0xb,_0x314911[0x25]),_0x438359=_0x782fad(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x3d381f,0x10,_0x314911[0x26]),_0x5d7c2b=_0x782fad(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x15c2ad,0x17,_0x314911[0x27]),_0x1b15ee=_0x782fad(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x13003e,0x4,_0x314911[0x28]),_0xa3bd58=_0x782fad(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x40452e,0xb,_0x314911[0x29]),_0x438359=_0x782fad(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x555814,0x10,_0x314911[0x2a]),_0x5d7c2b=_0x782fad(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0xab1346,0x17,_0x314911[0x2b]),_0x1b15ee=_0x782fad(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x52073e,0x4,_0x314911[0x2c]),_0xa3bd58=_0x782fad(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x3253aa,0xb,_0x314911[0x2d]),_0x438359=_0x782fad(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x41cd9e,0x10,_0x314911[0x2e]),_0x5d7c2b=_0x782fad(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x88e159,0x17,_0x314911[0x2f]),_0x1b15ee=_0x2f81dd(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x40452e,0x6,_0x314911[0x30]),_0xa3bd58=_0x2f81dd(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x3d381f,0xa,_0x314911[0x31]),_0x438359=_0x2f81dd(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xac196e,0xf,_0x314911[0x32]),_0x5d7c2b=_0x2f81dd(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x56f18b,0x15,_0x314911[0x33]),_0x1b15ee=_0x2f81dd(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x3253aa,0x6,_0x314911[0x34]),_0xa3bd58=_0x2f81dd(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x555814,0xa,_0x314911[0x35]),_0x438359=_0x2f81dd(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x15c2ad,0xf,_0x314911[0x36]),_0x5d7c2b=_0x2f81dd(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x1aae26,0x15,_0x314911[0x37]),_0x1b15ee=_0x2f81dd(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x35a2eb,0x6,_0x314911[0x38]),_0xa3bd58=_0x2f81dd(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x41cd9e,0xa,_0x314911[0x39]),_0x438359=_0x2f81dd(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xab1346,0xf,_0x314911[0x3a]),_0x5d7c2b=_0x2f81dd(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x13003e,0x15,_0x314911[0x3b]),_0x1b15ee=_0x2f81dd(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x1773ef,0x6,_0x314911[0x3c]),_0xa3bd58=_0x2f81dd(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0xd0fef5,0xa,_0x314911[0x3d]),_0x438359=_0x2f81dd(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x88e159,0xf,_0x314911[0x3e]),_0x5d7c2b=_0x2f81dd(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x52073e,0x15,_0x314911[0x3f]),_0x12b75c[0x0]=_0x12b75c[0x0]+_0x1b15ee|0x0,_0x12b75c[0x1]=_0x12b75c[0x1]+_0x5d7c2b|0x0,_0x12b75c[0x2]=_0x12b75c[0x2]+_0x438359|0x0,_0x12b75c[0x3]=_0x12b75c[0x3]+_0xa3bd58|0x0;},'_doFinalize':function(){var _0x2c88d9=_0x49b223,_0xd3942a=this[_0x2c88d9(0x363)],_0x634770=_0xd3942a[_0x2c88d9(0x3a0)],_0xa3888e=this[_0x2c88d9(0x226)]*0x8,_0x34d553=_0xd3942a['sigBytes']*0x8;_0x634770[_0x34d553>>>0x5]|=0x80<<0x18-_0x34d553%0x20;var _0x3219a7=_0x139e00[_0x2c88d9(0x250)](_0xa3888e/0x100000000),_0x573f2a=_0xa3888e;_0x634770[(_0x34d553+0x40>>>0x9<<0x4)+0xf]=(_0x3219a7<<0x8|_0x3219a7>>>0x18)&0xff00ff|(_0x3219a7<<0x18|_0x3219a7>>>0x8)&0xff00ff00,_0x634770[(_0x34d553+0x40>>>0x9<<0x4)+0xe]=(_0x573f2a<<0x8|_0x573f2a>>>0x18)&0xff00ff|(_0x573f2a<<0x18|_0x573f2a>>>0x8)&0xff00ff00,_0xd3942a[_0x2c88d9(0x379)]=(_0x634770[_0x2c88d9(0x24e)]+0x1)*0x4,this[_0x2c88d9(0x406)]();for(var _0x5434ee=this[_0x2c88d9(0x2b5)],_0x499d2f=_0x5434ee[_0x2c88d9(0x3a0)],_0x3dd1df=0x0;_0x3dd1df<0x4;_0x3dd1df++){var _0x20ca37=_0x499d2f[_0x3dd1df];_0x499d2f[_0x3dd1df]=(_0x20ca37<<0x8|_0x20ca37>>>0x18)&0xff00ff|(_0x20ca37<<0x18|_0x20ca37>>>0x8)&0xff00ff00;}return _0x5434ee;},'clone':function(){var _0x5d3507=_0x49b223,_0x42191b=_0x57e3d4[_0x5d3507(0x1e4)]['call'](this);return _0x42191b[_0x5d3507(0x2b5)]=this['_hash'][_0x5d3507(0x1e4)](),_0x42191b;}});function _0x5d60d5(_0x2d955d,_0x7779f,_0x5ad038,_0x539121,_0x1ef370,_0x52f4f1,_0x5e18a5){var _0xdaea3d=_0x2d955d+(_0x7779f&_0x5ad038|~_0x7779f&_0x539121)+_0x1ef370+_0x5e18a5;return(_0xdaea3d<<_0x52f4f1|_0xdaea3d>>>0x20-_0x52f4f1)+_0x7779f;}function _0x497b05(_0x36660b,_0x252a2d,_0x405559,_0x18f414,_0x4de274,_0x2cd968,_0x44faac){var _0x146f78=_0x36660b+(_0x252a2d&_0x18f414|_0x405559&~_0x18f414)+_0x4de274+_0x44faac;return(_0x146f78<<_0x2cd968|_0x146f78>>>0x20-_0x2cd968)+_0x252a2d;}function _0x782fad(_0x1745b9,_0x48d066,_0x23035e,_0x47e50e,_0x7c0ecd,_0x14eedb,_0x524681){var _0x30d706=_0x1745b9+(_0x48d066^_0x23035e^_0x47e50e)+_0x7c0ecd+_0x524681;return(_0x30d706<<_0x14eedb|_0x30d706>>>0x20-_0x14eedb)+_0x48d066;}function _0x2f81dd(_0x4bef07,_0x3adc2e,_0x2ccc6d,_0x55a677,_0x26a61e,_0x1033cf,_0x3cfbb0){var _0x394ed9=_0x4bef07+(_0x2ccc6d^(_0x3adc2e|~_0x55a677))+_0x26a61e+_0x3cfbb0;return(_0x394ed9<<_0x1033cf|_0x394ed9>>>0x20-_0x1033cf)+_0x3adc2e;}_0x4b6e59[_0x49b223(0x497)]=_0x57e3d4['_createHelper'](_0x2b2ad7),_0x4b6e59['HmacMD5']=_0x57e3d4[_0x49b223(0x421)](_0x2b2ad7);}(Math),_0x25b848[_0x2296c4(0x497)];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x5aed06(0x418)],Ze;function Pi(){var _0x51c2fd=_0x5aed06;return Ze||(Ze=0x1,function(_0x5ca785,_0x4cea5d){(function(_0x16aaa8,_0x12afb3){var _0x2b058f=_0x156c;_0x5ca785[_0x2b058f(0x418)]=_0x12afb3(Q());}(Ai,function(_0x5c2ea1){return(function(){var _0x106b6d=_0x156c,_0x175d7d=_0x5c2ea1,_0xd9b666=_0x175d7d[_0x106b6d(0x359)],_0x145533=_0xd9b666[_0x106b6d(0x385)],_0x141d40=_0xd9b666[_0x106b6d(0x32a)],_0x10d9fc=_0x175d7d[_0x106b6d(0x466)],_0x3a102b=[],_0x125ece=_0x10d9fc[_0x106b6d(0x4c5)]=_0x141d40[_0x106b6d(0x330)]({'_doReset':function(){var _0x783b9f=_0x106b6d;this['_hash']=new _0x145533[(_0x783b9f(0x21f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1a0240,_0x2b9b98){var _0x4d2a55=_0x106b6d;for(var _0x3b39f1=this[_0x4d2a55(0x2b5)][_0x4d2a55(0x3a0)],_0x5bf638=_0x3b39f1[0x0],_0x6c9307=_0x3b39f1[0x1],_0x3e0fe4=_0x3b39f1[0x2],_0x2ffbb5=_0x3b39f1[0x3],_0x51eba2=_0x3b39f1[0x4],_0x24fbaf=0x0;_0x24fbaf<0x50;_0x24fbaf++){if(_0x24fbaf<0x10)_0x3a102b[_0x24fbaf]=_0x1a0240[_0x2b9b98+_0x24fbaf]|0x0;else{var _0x40a6c9=_0x3a102b[_0x24fbaf-0x3]^_0x3a102b[_0x24fbaf-0x8]^_0x3a102b[_0x24fbaf-0xe]^_0x3a102b[_0x24fbaf-0x10];_0x3a102b[_0x24fbaf]=_0x40a6c9<<0x1|_0x40a6c9>>>0x1f;}var _0xbd24fd=(_0x5bf638<<0x5|_0x5bf638>>>0x1b)+_0x51eba2+_0x3a102b[_0x24fbaf];_0x24fbaf<0x14?_0xbd24fd+=(_0x6c9307&_0x3e0fe4|~_0x6c9307&_0x2ffbb5)+0x5a827999:_0x24fbaf<0x28?_0xbd24fd+=(_0x6c9307^_0x3e0fe4^_0x2ffbb5)+0x6ed9eba1:_0x24fbaf<0x3c?_0xbd24fd+=(_0x6c9307&_0x3e0fe4|_0x6c9307&_0x2ffbb5|_0x3e0fe4&_0x2ffbb5)-0x70e44324:_0xbd24fd+=(_0x6c9307^_0x3e0fe4^_0x2ffbb5)-0x359d3e2a,_0x51eba2=_0x2ffbb5,_0x2ffbb5=_0x3e0fe4,_0x3e0fe4=_0x6c9307<<0x1e|_0x6c9307>>>0x2,_0x6c9307=_0x5bf638,_0x5bf638=_0xbd24fd;}_0x3b39f1[0x0]=_0x3b39f1[0x0]+_0x5bf638|0x0,_0x3b39f1[0x1]=_0x3b39f1[0x1]+_0x6c9307|0x0,_0x3b39f1[0x2]=_0x3b39f1[0x2]+_0x3e0fe4|0x0,_0x3b39f1[0x3]=_0x3b39f1[0x3]+_0x2ffbb5|0x0,_0x3b39f1[0x4]=_0x3b39f1[0x4]+_0x51eba2|0x0;},'_doFinalize':function(){var _0x175b50=_0x106b6d,_0x12b063=this['_data'],_0x5de1bd=_0x12b063[_0x175b50(0x3a0)],_0x2cd270=this[_0x175b50(0x226)]*0x8,_0x5488fc=_0x12b063[_0x175b50(0x379)]*0x8;return _0x5de1bd[_0x5488fc>>>0x5]|=0x80<<0x18-_0x5488fc%0x20,_0x5de1bd[(_0x5488fc+0x40>>>0x9<<0x4)+0xe]=Math[_0x175b50(0x250)](_0x2cd270/0x100000000),_0x5de1bd[(_0x5488fc+0x40>>>0x9<<0x4)+0xf]=_0x2cd270,_0x12b063[_0x175b50(0x379)]=_0x5de1bd[_0x175b50(0x24e)]*0x4,this['_process'](),this[_0x175b50(0x2b5)];},'clone':function(){var _0x313f53=_0x106b6d,_0x52754b=_0x141d40[_0x313f53(0x1e4)][_0x313f53(0x254)](this);return _0x52754b[_0x313f53(0x2b5)]=this[_0x313f53(0x2b5)]['clone'](),_0x52754b;}});_0x175d7d[_0x106b6d(0x4c5)]=_0x141d40[_0x106b6d(0x324)](_0x125ece),_0x175d7d[_0x106b6d(0x462)]=_0x141d40[_0x106b6d(0x421)](_0x125ece);}()),_0x5c2ea1['SHA1'];}));}(me)),me[_0x51c2fd(0x418)];}var Ce={'exports':{}},wi=Ce[_0x5aed06(0x418)],Qe;function Li(){var _0x17515f=_0x5aed06;return Qe||(Qe=0x1,function(_0x5e668c,_0x5cda3b){(function(_0x31abcc,_0x498f8b){_0x5e668c['exports']=_0x498f8b(Q());}(wi,function(_0x467ef5){(function(){var _0x36d5b3=_0x156c,_0xaf0c8f=_0x467ef5,_0x1832a1=_0xaf0c8f[_0x36d5b3(0x359)],_0x338a14=_0x1832a1[_0x36d5b3(0x4b8)],_0x2531da=_0xaf0c8f[_0x36d5b3(0x22f)],_0x4c9da4=_0x2531da[_0x36d5b3(0x348)],_0x2cd370=_0xaf0c8f[_0x36d5b3(0x466)];_0x2cd370[_0x36d5b3(0x25a)]=_0x338a14['extend']({'init':function(_0x437379,_0x3d59ca){var _0x4bcdf3=_0x36d5b3;_0x437379=this['_hasher']=new _0x437379[(_0x4bcdf3(0x21f))](),typeof _0x3d59ca==_0x4bcdf3(0x30d)&&(_0x3d59ca=_0x4c9da4[_0x4bcdf3(0x274)](_0x3d59ca));var _0x3fabc8=_0x437379['blockSize'],_0x39e8cc=_0x3fabc8*0x4;_0x3d59ca[_0x4bcdf3(0x379)]>_0x39e8cc&&(_0x3d59ca=_0x437379[_0x4bcdf3(0x3b2)](_0x3d59ca)),_0x3d59ca[_0x4bcdf3(0x4ac)]();for(var _0xf82d30=this[_0x4bcdf3(0x4c6)]=_0x3d59ca[_0x4bcdf3(0x1e4)](),_0x29371b=this['_iKey']=_0x3d59ca[_0x4bcdf3(0x1e4)](),_0x4552f0=_0xf82d30['words'],_0x5f314e=_0x29371b[_0x4bcdf3(0x3a0)],_0x4dfabe=0x0;_0x4dfabe<_0x3fabc8;_0x4dfabe++)_0x4552f0[_0x4dfabe]^=0x5c5c5c5c,_0x5f314e[_0x4dfabe]^=0x36363636;_0xf82d30[_0x4bcdf3(0x379)]=_0x29371b['sigBytes']=_0x39e8cc,this[_0x4bcdf3(0x23c)]();},'reset':function(){var _0x46227e=_0x36d5b3,_0x451bbe=this[_0x46227e(0x36b)];_0x451bbe['reset'](),_0x451bbe[_0x46227e(0x477)](this['_iKey']);},'update':function(_0x28c33a){var _0x1058b3=_0x36d5b3;return this[_0x1058b3(0x36b)][_0x1058b3(0x477)](_0x28c33a),this;},'finalize':function(_0x45817e){var _0x5d32e6=_0x36d5b3,_0x4f9e48=this[_0x5d32e6(0x36b)],_0x23f5a3=_0x4f9e48[_0x5d32e6(0x3b2)](_0x45817e);_0x4f9e48[_0x5d32e6(0x23c)]();var _0x5eff66=_0x4f9e48[_0x5d32e6(0x3b2)](this[_0x5d32e6(0x4c6)][_0x5d32e6(0x1e4)]()['concat'](_0x23f5a3));return _0x5eff66;}});}());}));}(Ce)),Ce[_0x17515f(0x418)];}var Mi=Ee['exports'],et;function Nt(){var _0x5411b0=_0x5aed06;return et||(et=0x1,function(_0xe0d4c4,_0x3f4f05){(function(_0xec5255,_0x3ce6ac,_0x31c797){var _0x4bfca1=_0x156c;_0xe0d4c4[_0x4bfca1(0x418)]=_0x3ce6ac(Q(),Pi(),Li());}(Mi,function(_0x47bbf8){var _0x58173d=_0x156c;return(function(){var _0x221827=_0x156c,_0x466b10=_0x47bbf8,_0x582d7a=_0x466b10[_0x221827(0x359)],_0x1d3bc2=_0x582d7a[_0x221827(0x4b8)],_0x315c65=_0x582d7a[_0x221827(0x385)],_0x529e74=_0x466b10['algo'],_0x2e83eb=_0x529e74[_0x221827(0x497)],_0x20dfe9=_0x529e74[_0x221827(0x408)]=_0x1d3bc2['extend']({'cfg':_0x1d3bc2[_0x221827(0x330)]({'keySize':0x80/0x20,'hasher':_0x2e83eb,'iterations':0x1}),'init':function(_0x2b87c6){var _0x39b15e=_0x221827;this[_0x39b15e(0x2e3)]=this[_0x39b15e(0x2e3)][_0x39b15e(0x330)](_0x2b87c6);},'compute':function(_0x36a427,_0x4aa88b){var _0xf4780b=_0x221827;for(var _0x6e4b40,_0x152621=this[_0xf4780b(0x2e3)],_0x2b7ff5=_0x152621[_0xf4780b(0x1a4)][_0xf4780b(0x399)](),_0x21b36c=_0x315c65[_0xf4780b(0x399)](),_0x3ad1be=_0x21b36c[_0xf4780b(0x3a0)],_0x12c3de=_0x152621[_0xf4780b(0x316)],_0x5f2941=_0x152621['iterations'];_0x3ad1be[_0xf4780b(0x24e)]<_0x12c3de;){_0x6e4b40&&_0x2b7ff5[_0xf4780b(0x477)](_0x6e4b40),_0x6e4b40=_0x2b7ff5[_0xf4780b(0x477)](_0x36a427)[_0xf4780b(0x3b2)](_0x4aa88b),_0x2b7ff5[_0xf4780b(0x23c)]();for(var _0x4ad678=0x1;_0x4ad678<_0x5f2941;_0x4ad678++)_0x6e4b40=_0x2b7ff5[_0xf4780b(0x3b2)](_0x6e4b40),_0x2b7ff5[_0xf4780b(0x23c)]();_0x21b36c['concat'](_0x6e4b40);}return _0x21b36c[_0xf4780b(0x379)]=_0x12c3de*0x4,_0x21b36c;}});_0x466b10[_0x221827(0x408)]=function(_0x8c9acf,_0x5ece02,_0x155ad5){return _0x20dfe9['create'](_0x155ad5)['compute'](_0x8c9acf,_0x5ece02);};}()),_0x47bbf8[_0x58173d(0x408)];}));}(Ee)),Ee[_0x5411b0(0x418)];}var Te={'exports':{}},xi=Te[_0x5aed06(0x418)],tt;function Ut(){return tt||(tt=0x1,function(_0x3f3978,_0x181761){(function(_0x85a626,_0x3dcf45,_0x171633){var _0x2048cf=_0x156c;_0x3f3978[_0x2048cf(0x418)]=_0x3dcf45(Q(),Nt());}(xi,function(_0x1344b3){var _0x133a9e=_0x156c;_0x1344b3[_0x133a9e(0x359)]['Cipher']||function(_0x4094da){var _0x3149f5=_0x133a9e,_0x41cc39=_0x1344b3,_0x1b9010=_0x41cc39[_0x3149f5(0x359)],_0x4187f0=_0x1b9010['Base'],_0x61bd6a=_0x1b9010[_0x3149f5(0x385)],_0x4fe941=_0x1b9010[_0x3149f5(0x405)],_0x4bf140=_0x41cc39[_0x3149f5(0x22f)];_0x4bf140['Utf8'];var _0x599fc6=_0x4bf140[_0x3149f5(0x2c2)],_0x5a0559=_0x41cc39[_0x3149f5(0x466)],_0x40325b=_0x5a0559[_0x3149f5(0x408)],_0x526030=_0x1b9010[_0x3149f5(0x3c1)]=_0x4fe941[_0x3149f5(0x330)]({'cfg':_0x4187f0[_0x3149f5(0x330)](),'createEncryptor':function(_0x1221ef,_0x166037){var _0x35d78c=_0x3149f5;return this[_0x35d78c(0x399)](this[_0x35d78c(0x272)],_0x1221ef,_0x166037);},'createDecryptor':function(_0x49f6ed,_0x189861){var _0x31f370=_0x3149f5;return this[_0x31f370(0x399)](this[_0x31f370(0x2e8)],_0x49f6ed,_0x189861);},'init':function(_0x50f21c,_0x39f93c,_0x325894){var _0x3301c8=_0x3149f5;this[_0x3301c8(0x2e3)]=this['cfg'][_0x3301c8(0x330)](_0x325894),this['_xformMode']=_0x50f21c,this[_0x3301c8(0x219)]=_0x39f93c,this['reset']();},'reset':function(){var _0x468de8=_0x3149f5;_0x4fe941[_0x468de8(0x23c)]['call'](this),this[_0x468de8(0x378)]();},'process':function(_0x31f092){var _0xcdbaca=_0x3149f5;return this[_0xcdbaca(0x295)](_0x31f092),this['_process']();},'finalize':function(_0x25fbf9){var _0x449d5f=_0x3149f5;_0x25fbf9&&this[_0x449d5f(0x295)](_0x25fbf9);var _0x111777=this['_doFinalize']();return _0x111777;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xf8cf16(_0x19e830){var _0x3491fe=_0x156c;return typeof _0x19e830==_0x3491fe(0x30d)?_0xe36da1:_0x42c280;}return function(_0x227f42){return{'encrypt':function(_0x245c10,_0x269c77,_0xac8ce1){return _0xf8cf16(_0x269c77)['encrypt'](_0x227f42,_0x245c10,_0x269c77,_0xac8ce1);},'decrypt':function(_0x81a513,_0x29f988,_0xdf8899){var _0xe768f6=_0x156c;return _0xf8cf16(_0x29f988)[_0xe768f6(0x247)](_0x227f42,_0x81a513,_0x29f988,_0xdf8899);}};};}())});_0x1b9010[_0x3149f5(0x317)]=_0x526030[_0x3149f5(0x330)]({'_doFinalize':function(){var _0x187410=_0x3149f5,_0x3c6a22=this[_0x187410(0x406)](!0x0);return _0x3c6a22;},'blockSize':0x1});var _0x19e405=_0x41cc39[_0x3149f5(0x3cf)]={},_0x2abf0e=_0x1b9010['BlockCipherMode']=_0x4187f0[_0x3149f5(0x330)]({'createEncryptor':function(_0x2ccf03,_0x5c6b9d){var _0x20b10a=_0x3149f5;return this[_0x20b10a(0x1b7)][_0x20b10a(0x399)](_0x2ccf03,_0x5c6b9d);},'createDecryptor':function(_0x6f459c,_0x31de2d){var _0xd29d92=_0x3149f5;return this[_0xd29d92(0x2d4)]['create'](_0x6f459c,_0x31de2d);},'init':function(_0x1c0de5,_0x18093d){var _0x37b213=_0x3149f5;this[_0x37b213(0x1a8)]=_0x1c0de5,this[_0x37b213(0x26a)]=_0x18093d;}}),_0x2eba29=_0x19e405['CBC']=(function(){var _0x35b951=_0x3149f5,_0x2033a8=_0x2abf0e['extend']();_0x2033a8[_0x35b951(0x1b7)]=_0x2033a8[_0x35b951(0x330)]({'processBlock':function(_0x3902f6,_0x52496b){var _0x45c962=_0x35b951,_0x4a64a6=this[_0x45c962(0x1a8)],_0x46de74=_0x4a64a6[_0x45c962(0x488)];_0x2a991e[_0x45c962(0x254)](this,_0x3902f6,_0x52496b,_0x46de74),_0x4a64a6[_0x45c962(0x3df)](_0x3902f6,_0x52496b),this[_0x45c962(0x420)]=_0x3902f6['slice'](_0x52496b,_0x52496b+_0x46de74);}}),_0x2033a8[_0x35b951(0x2d4)]=_0x2033a8[_0x35b951(0x330)]({'processBlock':function(_0x11a38a,_0x3554e9){var _0x256598=_0x35b951,_0xf9f050=this[_0x256598(0x1a8)],_0xf89f62=_0xf9f050[_0x256598(0x488)],_0x55fb3c=_0x11a38a[_0x256598(0x1fc)](_0x3554e9,_0x3554e9+_0xf89f62);_0xf9f050[_0x256598(0x285)](_0x11a38a,_0x3554e9),_0x2a991e[_0x256598(0x254)](this,_0x11a38a,_0x3554e9,_0xf89f62),this['_prevBlock']=_0x55fb3c;}});function _0x2a991e(_0x45a146,_0x17adc0,_0x3d438e){var _0x273d26=_0x35b951,_0x10fa5e,_0x46f7da=this[_0x273d26(0x26a)];_0x46f7da?(_0x10fa5e=_0x46f7da,this[_0x273d26(0x26a)]=_0x4094da):_0x10fa5e=this[_0x273d26(0x420)];for(var _0x147fc4=0x0;_0x147fc4<_0x3d438e;_0x147fc4++)_0x45a146[_0x17adc0+_0x147fc4]^=_0x10fa5e[_0x147fc4];}return _0x2033a8;}()),_0x2ea306=_0x41cc39['pad']={},_0x16523e=_0x2ea306[_0x3149f5(0x2f8)]={'pad':function(_0x7992ba,_0x3b6d3e){var _0x89fbbc=_0x3149f5;for(var _0x16bbee=_0x3b6d3e*0x4,_0x559ed8=_0x16bbee-_0x7992ba['sigBytes']%_0x16bbee,_0x3f6db2=_0x559ed8<<0x18|_0x559ed8<<0x10|_0x559ed8<<0x8|_0x559ed8,_0x3093fe=[],_0x3d62c4=0x0;_0x3d62c4<_0x559ed8;_0x3d62c4+=0x4)_0x3093fe[_0x89fbbc(0x2a4)](_0x3f6db2);var _0x21a599=_0x61bd6a[_0x89fbbc(0x399)](_0x3093fe,_0x559ed8);_0x7992ba[_0x89fbbc(0x2a0)](_0x21a599);},'unpad':function(_0x348bf1){var _0x514b8d=_0x3149f5,_0x4b35ee=_0x348bf1['words'][_0x348bf1[_0x514b8d(0x379)]-0x1>>>0x2]&0xff;_0x348bf1['sigBytes']-=_0x4b35ee;}};_0x1b9010[_0x3149f5(0x35b)]=_0x526030[_0x3149f5(0x330)]({'cfg':_0x526030['cfg'][_0x3149f5(0x330)]({'mode':_0x2eba29,'padding':_0x16523e}),'reset':function(){var _0x30671b=_0x3149f5,_0x4214ba;_0x526030[_0x30671b(0x23c)][_0x30671b(0x254)](this);var _0x3ac7ab=this['cfg'],_0x474c6f=_0x3ac7ab['iv'],_0x484444=_0x3ac7ab[_0x30671b(0x3cf)];this[_0x30671b(0x17a)]==this[_0x30671b(0x272)]?_0x4214ba=_0x484444[_0x30671b(0x440)]:(_0x4214ba=_0x484444[_0x30671b(0x240)],this[_0x30671b(0x35a)]=0x1),this[_0x30671b(0x33a)]&&this[_0x30671b(0x33a)][_0x30671b(0x3f7)]==_0x4214ba?this[_0x30671b(0x33a)][_0x30671b(0x21f)](this,_0x474c6f&&_0x474c6f[_0x30671b(0x3a0)]):(this[_0x30671b(0x33a)]=_0x4214ba[_0x30671b(0x254)](_0x484444,this,_0x474c6f&&_0x474c6f['words']),this['_mode'][_0x30671b(0x3f7)]=_0x4214ba);},'_doProcessBlock':function(_0x359f19,_0x3c555c){var _0x10cfe1=_0x3149f5;this[_0x10cfe1(0x33a)][_0x10cfe1(0x458)](_0x359f19,_0x3c555c);},'_doFinalize':function(){var _0x14237c=_0x3149f5,_0x22d2f2,_0x379e89=this[_0x14237c(0x2e3)][_0x14237c(0x36f)];return this[_0x14237c(0x17a)]==this[_0x14237c(0x272)]?(_0x379e89['pad'](this[_0x14237c(0x363)],this[_0x14237c(0x488)]),_0x22d2f2=this[_0x14237c(0x406)](!0x0)):(_0x22d2f2=this[_0x14237c(0x406)](!0x0),_0x379e89[_0x14237c(0x2ce)](_0x22d2f2)),_0x22d2f2;},'blockSize':0x80/0x20});var _0xda9ff5=_0x1b9010[_0x3149f5(0x2ff)]=_0x4187f0[_0x3149f5(0x330)]({'init':function(_0xbb8126){var _0x81cab8=_0x3149f5;this[_0x81cab8(0x442)](_0xbb8126);},'toString':function(_0x1ced80){var _0x2ea7a3=_0x3149f5;return(_0x1ced80||this['formatter'])[_0x2ea7a3(0x463)](this);}}),_0x505d33=_0x41cc39[_0x3149f5(0x404)]={},_0xb13ebc=_0x505d33[_0x3149f5(0x1bc)]={'stringify':function(_0x4d3fee){var _0x2569e3=_0x3149f5,_0x1df1b8,_0x42cb87=_0x4d3fee[_0x2569e3(0x25c)],_0x6b5ed4=_0x4d3fee['salt'];return _0x6b5ed4?_0x1df1b8=_0x61bd6a['create']([0x53616c74,0x65645f5f])[_0x2569e3(0x2a0)](_0x6b5ed4)[_0x2569e3(0x2a0)](_0x42cb87):_0x1df1b8=_0x42cb87,_0x1df1b8[_0x2569e3(0x383)](_0x599fc6);},'parse':function(_0x4dfde3){var _0x3d5d63=_0x3149f5,_0x267bcc,_0x2173a3=_0x599fc6['parse'](_0x4dfde3),_0x5ca2ec=_0x2173a3[_0x3d5d63(0x3a0)];return _0x5ca2ec[0x0]==0x53616c74&&_0x5ca2ec[0x1]==0x65645f5f&&(_0x267bcc=_0x61bd6a[_0x3d5d63(0x399)](_0x5ca2ec['slice'](0x2,0x4)),_0x5ca2ec[_0x3d5d63(0x42a)](0x0,0x4),_0x2173a3[_0x3d5d63(0x379)]-=0x10),_0xda9ff5[_0x3d5d63(0x399)]({'ciphertext':_0x2173a3,'salt':_0x267bcc});}},_0x42c280=_0x1b9010[_0x3149f5(0x312)]=_0x4187f0[_0x3149f5(0x330)]({'cfg':_0x4187f0[_0x3149f5(0x330)]({'format':_0xb13ebc}),'encrypt':function(_0xc26b69,_0x3c6ede,_0x13b96d,_0x681f5b){var _0x19a996=_0x3149f5;_0x681f5b=this[_0x19a996(0x2e3)]['extend'](_0x681f5b);var _0x23274d=_0xc26b69[_0x19a996(0x440)](_0x13b96d,_0x681f5b),_0x44bdeb=_0x23274d[_0x19a996(0x3b2)](_0x3c6ede),_0x4333fc=_0x23274d[_0x19a996(0x2e3)];return _0xda9ff5['create']({'ciphertext':_0x44bdeb,'key':_0x13b96d,'iv':_0x4333fc['iv'],'algorithm':_0xc26b69,'mode':_0x4333fc[_0x19a996(0x3cf)],'padding':_0x4333fc[_0x19a996(0x36f)],'blockSize':_0xc26b69[_0x19a996(0x488)],'formatter':_0x681f5b[_0x19a996(0x404)]});},'decrypt':function(_0x1ee099,_0x1a04b5,_0x313354,_0x29684d){var _0x4455bb=_0x3149f5;_0x29684d=this[_0x4455bb(0x2e3)][_0x4455bb(0x330)](_0x29684d),_0x1a04b5=this[_0x4455bb(0x1d1)](_0x1a04b5,_0x29684d[_0x4455bb(0x404)]);var _0x588b40=_0x1ee099[_0x4455bb(0x240)](_0x313354,_0x29684d)['finalize'](_0x1a04b5[_0x4455bb(0x25c)]);return _0x588b40;},'_parse':function(_0x6a7b58,_0x2222df){var _0x527fc4=_0x3149f5;return typeof _0x6a7b58=='string'?_0x2222df[_0x527fc4(0x274)](_0x6a7b58,this):_0x6a7b58;}}),_0x2db06e=_0x41cc39[_0x3149f5(0x1d2)]={},_0xb6bcda=_0x2db06e[_0x3149f5(0x1bc)]={'execute':function(_0x3a1738,_0x378ca2,_0x440bdc,_0x19047f,_0x55f502){var _0x5d6e6d=_0x3149f5;if(_0x19047f||(_0x19047f=_0x61bd6a['random'](0x40/0x8)),_0x55f502)var _0x175d1c=_0x40325b[_0x5d6e6d(0x399)]({'keySize':_0x378ca2+_0x440bdc,'hasher':_0x55f502})['compute'](_0x3a1738,_0x19047f);else var _0x175d1c=_0x40325b[_0x5d6e6d(0x399)]({'keySize':_0x378ca2+_0x440bdc})[_0x5d6e6d(0x410)](_0x3a1738,_0x19047f);var _0x3fcc60=_0x61bd6a[_0x5d6e6d(0x399)](_0x175d1c['words']['slice'](_0x378ca2),_0x440bdc*0x4);return _0x175d1c[_0x5d6e6d(0x379)]=_0x378ca2*0x4,_0xda9ff5['create']({'key':_0x175d1c,'iv':_0x3fcc60,'salt':_0x19047f});}},_0xe36da1=_0x1b9010[_0x3149f5(0x355)]=_0x42c280[_0x3149f5(0x330)]({'cfg':_0x42c280['cfg'][_0x3149f5(0x330)]({'kdf':_0xb6bcda}),'encrypt':function(_0x4507c3,_0xb5d29,_0x4213b3,_0x2b929b){var _0x26420d=_0x3149f5;_0x2b929b=this[_0x26420d(0x2e3)]['extend'](_0x2b929b);var _0x348bda=_0x2b929b[_0x26420d(0x1d2)][_0x26420d(0x1fe)](_0x4213b3,_0x4507c3[_0x26420d(0x316)],_0x4507c3[_0x26420d(0x33b)],_0x2b929b[_0x26420d(0x398)],_0x2b929b['hasher']);_0x2b929b['iv']=_0x348bda['iv'];var _0x2d2ed3=_0x42c280[_0x26420d(0x41d)][_0x26420d(0x254)](this,_0x4507c3,_0xb5d29,_0x348bda[_0x26420d(0x23d)],_0x2b929b);return _0x2d2ed3[_0x26420d(0x442)](_0x348bda),_0x2d2ed3;},'decrypt':function(_0x37238d,_0xe66ec5,_0x5263a6,_0x98a70a){var _0x21c0a7=_0x3149f5;_0x98a70a=this['cfg'][_0x21c0a7(0x330)](_0x98a70a),_0xe66ec5=this[_0x21c0a7(0x1d1)](_0xe66ec5,_0x98a70a[_0x21c0a7(0x404)]);var _0x298d80=_0x98a70a['kdf'][_0x21c0a7(0x1fe)](_0x5263a6,_0x37238d[_0x21c0a7(0x316)],_0x37238d['ivSize'],_0xe66ec5[_0x21c0a7(0x398)],_0x98a70a[_0x21c0a7(0x1a4)]);_0x98a70a['iv']=_0x298d80['iv'];var _0x2fbec9=_0x42c280['decrypt'][_0x21c0a7(0x254)](this,_0x37238d,_0xe66ec5,_0x298d80['key'],_0x98a70a);return _0x2fbec9;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0x5aed06(0x418)],it;function Hi(){return it||(it=0x1,function(_0x1f049d,_0x52d243){(function(_0x5ed48d,_0x210b67,_0x5cc5c0){var _0x2c4d37=_0x156c;_0x1f049d[_0x2c4d37(0x418)]=_0x210b67(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x3a2ddf){var _0x3f575e=_0x156c;return(function(){var _0x39c9ff=_0x156c,_0x14a657=_0x3a2ddf,_0x2c1829=_0x14a657['lib'],_0x42b121=_0x2c1829['BlockCipher'],_0x4c20ff=_0x14a657[_0x39c9ff(0x466)],_0x402678=[],_0x5c7260=[],_0x1793f5=[],_0x316439=[],_0x585f37=[],_0x3f432f=[],_0x465628=[],_0x1b3d5e=[],_0x13451a=[],_0x5b54f0=[];(function(){for(var _0x2074f1=[],_0x26473a=0x0;_0x26473a<0x100;_0x26473a++)_0x26473a<0x80?_0x2074f1[_0x26473a]=_0x26473a<<0x1:_0x2074f1[_0x26473a]=_0x26473a<<0x1^0x11b;for(var _0x2734a1=0x0,_0x4f9b9f=0x0,_0x26473a=0x0;_0x26473a<0x100;_0x26473a++){var _0x25bda5=_0x4f9b9f^_0x4f9b9f<<0x1^_0x4f9b9f<<0x2^_0x4f9b9f<<0x3^_0x4f9b9f<<0x4;_0x25bda5=_0x25bda5>>>0x8^_0x25bda5&0xff^0x63,_0x402678[_0x2734a1]=_0x25bda5,_0x5c7260[_0x25bda5]=_0x2734a1;var _0x4672c4=_0x2074f1[_0x2734a1],_0x32c271=_0x2074f1[_0x4672c4],_0x58c5ca=_0x2074f1[_0x32c271],_0x20f2b0=_0x2074f1[_0x25bda5]*0x101^_0x25bda5*0x1010100;_0x1793f5[_0x2734a1]=_0x20f2b0<<0x18|_0x20f2b0>>>0x8,_0x316439[_0x2734a1]=_0x20f2b0<<0x10|_0x20f2b0>>>0x10,_0x585f37[_0x2734a1]=_0x20f2b0<<0x8|_0x20f2b0>>>0x18,_0x3f432f[_0x2734a1]=_0x20f2b0;var _0x20f2b0=_0x58c5ca*0x1010101^_0x32c271*0x10001^_0x4672c4*0x101^_0x2734a1*0x1010100;_0x465628[_0x25bda5]=_0x20f2b0<<0x18|_0x20f2b0>>>0x8,_0x1b3d5e[_0x25bda5]=_0x20f2b0<<0x10|_0x20f2b0>>>0x10,_0x13451a[_0x25bda5]=_0x20f2b0<<0x8|_0x20f2b0>>>0x18,_0x5b54f0[_0x25bda5]=_0x20f2b0,_0x2734a1?(_0x2734a1=_0x4672c4^_0x2074f1[_0x2074f1[_0x2074f1[_0x58c5ca^_0x4672c4]]],_0x4f9b9f^=_0x2074f1[_0x2074f1[_0x4f9b9f]]):_0x2734a1=_0x4f9b9f=0x1;}}());var _0x18561d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xacb10=_0x4c20ff[_0x39c9ff(0x46f)]=_0x42b121['extend']({'_doReset':function(){var _0x332dad=_0x39c9ff,_0x5e274f;if(!(this[_0x332dad(0x1cb)]&&this[_0x332dad(0x208)]===this[_0x332dad(0x219)])){for(var _0x5441d9=this[_0x332dad(0x208)]=this[_0x332dad(0x219)],_0x33b97b=_0x5441d9[_0x332dad(0x3a0)],_0x43e382=_0x5441d9['sigBytes']/0x4,_0x135582=this[_0x332dad(0x1cb)]=_0x43e382+0x6,_0x5f1d65=(_0x135582+0x1)*0x4,_0x331802=this[_0x332dad(0x292)]=[],_0x13922e=0x0;_0x13922e<_0x5f1d65;_0x13922e++)_0x13922e<_0x43e382?_0x331802[_0x13922e]=_0x33b97b[_0x13922e]:(_0x5e274f=_0x331802[_0x13922e-0x1],_0x13922e%_0x43e382?_0x43e382>0x6&&_0x13922e%_0x43e382==0x4&&(_0x5e274f=_0x402678[_0x5e274f>>>0x18]<<0x18|_0x402678[_0x5e274f>>>0x10&0xff]<<0x10|_0x402678[_0x5e274f>>>0x8&0xff]<<0x8|_0x402678[_0x5e274f&0xff]):(_0x5e274f=_0x5e274f<<0x8|_0x5e274f>>>0x18,_0x5e274f=_0x402678[_0x5e274f>>>0x18]<<0x18|_0x402678[_0x5e274f>>>0x10&0xff]<<0x10|_0x402678[_0x5e274f>>>0x8&0xff]<<0x8|_0x402678[_0x5e274f&0xff],_0x5e274f^=_0x18561d[_0x13922e/_0x43e382|0x0]<<0x18),_0x331802[_0x13922e]=_0x331802[_0x13922e-_0x43e382]^_0x5e274f);for(var _0xc56521=this[_0x332dad(0x1f7)]=[],_0x330c6f=0x0;_0x330c6f<_0x5f1d65;_0x330c6f++){var _0x13922e=_0x5f1d65-_0x330c6f;if(_0x330c6f%0x4)var _0x5e274f=_0x331802[_0x13922e];else var _0x5e274f=_0x331802[_0x13922e-0x4];_0x330c6f<0x4||_0x13922e<=0x4?_0xc56521[_0x330c6f]=_0x5e274f:_0xc56521[_0x330c6f]=_0x465628[_0x402678[_0x5e274f>>>0x18]]^_0x1b3d5e[_0x402678[_0x5e274f>>>0x10&0xff]]^_0x13451a[_0x402678[_0x5e274f>>>0x8&0xff]]^_0x5b54f0[_0x402678[_0x5e274f&0xff]];}}},'encryptBlock':function(_0x158161,_0x398061){var _0x4d2c0d=_0x39c9ff;this[_0x4d2c0d(0x194)](_0x158161,_0x398061,this[_0x4d2c0d(0x292)],_0x1793f5,_0x316439,_0x585f37,_0x3f432f,_0x402678);},'decryptBlock':function(_0x2658c3,_0x23bee2){var _0x596839=_0x39c9ff,_0x3a831a=_0x2658c3[_0x23bee2+0x1];_0x2658c3[_0x23bee2+0x1]=_0x2658c3[_0x23bee2+0x3],_0x2658c3[_0x23bee2+0x3]=_0x3a831a,this[_0x596839(0x194)](_0x2658c3,_0x23bee2,this[_0x596839(0x1f7)],_0x465628,_0x1b3d5e,_0x13451a,_0x5b54f0,_0x5c7260);var _0x3a831a=_0x2658c3[_0x23bee2+0x1];_0x2658c3[_0x23bee2+0x1]=_0x2658c3[_0x23bee2+0x3],_0x2658c3[_0x23bee2+0x3]=_0x3a831a;},'_doCryptBlock':function(_0x1deb6b,_0x21177e,_0x1d964a,_0x644e,_0x3ac5f7,_0x19e9e5,_0x214843,_0x34e712){var _0x64d412=_0x39c9ff;for(var _0x24c7ab=this[_0x64d412(0x1cb)],_0x42fff6=_0x1deb6b[_0x21177e]^_0x1d964a[0x0],_0x2ea248=_0x1deb6b[_0x21177e+0x1]^_0x1d964a[0x1],_0x59322e=_0x1deb6b[_0x21177e+0x2]^_0x1d964a[0x2],_0xafe6d3=_0x1deb6b[_0x21177e+0x3]^_0x1d964a[0x3],_0x132d84=0x4,_0x2ca9f1=0x1;_0x2ca9f1<_0x24c7ab;_0x2ca9f1++){var _0x4dc10d=_0x644e[_0x42fff6>>>0x18]^_0x3ac5f7[_0x2ea248>>>0x10&0xff]^_0x19e9e5[_0x59322e>>>0x8&0xff]^_0x214843[_0xafe6d3&0xff]^_0x1d964a[_0x132d84++],_0x22baac=_0x644e[_0x2ea248>>>0x18]^_0x3ac5f7[_0x59322e>>>0x10&0xff]^_0x19e9e5[_0xafe6d3>>>0x8&0xff]^_0x214843[_0x42fff6&0xff]^_0x1d964a[_0x132d84++],_0xae3081=_0x644e[_0x59322e>>>0x18]^_0x3ac5f7[_0xafe6d3>>>0x10&0xff]^_0x19e9e5[_0x42fff6>>>0x8&0xff]^_0x214843[_0x2ea248&0xff]^_0x1d964a[_0x132d84++],_0x3afc58=_0x644e[_0xafe6d3>>>0x18]^_0x3ac5f7[_0x42fff6>>>0x10&0xff]^_0x19e9e5[_0x2ea248>>>0x8&0xff]^_0x214843[_0x59322e&0xff]^_0x1d964a[_0x132d84++];_0x42fff6=_0x4dc10d,_0x2ea248=_0x22baac,_0x59322e=_0xae3081,_0xafe6d3=_0x3afc58;}var _0x4dc10d=(_0x34e712[_0x42fff6>>>0x18]<<0x18|_0x34e712[_0x2ea248>>>0x10&0xff]<<0x10|_0x34e712[_0x59322e>>>0x8&0xff]<<0x8|_0x34e712[_0xafe6d3&0xff])^_0x1d964a[_0x132d84++],_0x22baac=(_0x34e712[_0x2ea248>>>0x18]<<0x18|_0x34e712[_0x59322e>>>0x10&0xff]<<0x10|_0x34e712[_0xafe6d3>>>0x8&0xff]<<0x8|_0x34e712[_0x42fff6&0xff])^_0x1d964a[_0x132d84++],_0xae3081=(_0x34e712[_0x59322e>>>0x18]<<0x18|_0x34e712[_0xafe6d3>>>0x10&0xff]<<0x10|_0x34e712[_0x42fff6>>>0x8&0xff]<<0x8|_0x34e712[_0x2ea248&0xff])^_0x1d964a[_0x132d84++],_0x3afc58=(_0x34e712[_0xafe6d3>>>0x18]<<0x18|_0x34e712[_0x42fff6>>>0x10&0xff]<<0x10|_0x34e712[_0x2ea248>>>0x8&0xff]<<0x8|_0x34e712[_0x59322e&0xff])^_0x1d964a[_0x132d84++];_0x1deb6b[_0x21177e]=_0x4dc10d,_0x1deb6b[_0x21177e+0x1]=_0x22baac,_0x1deb6b[_0x21177e+0x2]=_0xae3081,_0x1deb6b[_0x21177e+0x3]=_0x3afc58;},'keySize':0x100/0x20});_0x14a657[_0x39c9ff(0x46f)]=_0x42b121[_0x39c9ff(0x324)](_0xacb10);}()),_0x3a2ddf[_0x3f575e(0x46f)];}));}(fe)),fe['exports'];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x5aed06(0x418)],rt;function Vi(){var _0x1ea3ae=_0x5aed06;return rt||(rt=0x1,function(_0xea3308,_0x370f72){(function(_0x57dfaa,_0x1adbf4){var _0x132c6a=_0x156c;_0xea3308[_0x132c6a(0x418)]=_0x1adbf4(Q());}(Fi,function(_0x4e366f){return _0x4e366f['enc']['Utf8'];}));}(be)),be[_0x1ea3ae(0x418)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x5aed06(0x418)],st;function Yi(){var _0x982668=_0x5aed06;return st||(st=0x1,function(_0x142228,_0x2d56cd){(function(_0x3b1057,_0x2eee93){var _0x27a2c2=_0x156c;_0x142228[_0x27a2c2(0x418)]=_0x2eee93(Q());}(Ki,function(_0x534ffc){var _0x2c8f0a=_0x156c;return(function(){var _0x421e35=_0x156c;if(typeof ArrayBuffer=='function'){var _0x40e21b=_0x534ffc,_0x176d91=_0x40e21b[_0x421e35(0x359)],_0x1507b4=_0x176d91[_0x421e35(0x385)],_0x19304a=_0x1507b4['init'],_0x2bf38e=_0x1507b4['init']=function(_0x5334cb){var _0x5a12d7=_0x421e35;if(_0x5334cb instanceof ArrayBuffer&&(_0x5334cb=new Uint8Array(_0x5334cb)),(_0x5334cb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5334cb instanceof Uint8ClampedArray||_0x5334cb instanceof Int16Array||_0x5334cb instanceof Uint16Array||_0x5334cb instanceof Int32Array||_0x5334cb instanceof Uint32Array||_0x5334cb instanceof Float32Array||_0x5334cb instanceof Float64Array)&&(_0x5334cb=new Uint8Array(_0x5334cb[_0x5a12d7(0x4a3)],_0x5334cb[_0x5a12d7(0x3b0)],_0x5334cb[_0x5a12d7(0x288)])),_0x5334cb instanceof Uint8Array){for(var _0x3ce02a=_0x5334cb[_0x5a12d7(0x288)],_0x5bfa14=[],_0x3e014c=0x0;_0x3e014c<_0x3ce02a;_0x3e014c++)_0x5bfa14[_0x3e014c>>>0x2]|=_0x5334cb[_0x3e014c]<<0x18-_0x3e014c%0x4*0x8;_0x19304a[_0x5a12d7(0x254)](this,_0x5bfa14,_0x3ce02a);}else _0x19304a[_0x5a12d7(0x3d0)](this,arguments);};_0x2bf38e[_0x421e35(0x242)]=_0x1507b4;}}()),_0x534ffc[_0x2c8f0a(0x359)][_0x2c8f0a(0x385)];}));}(Re)),Re[_0x982668(0x418)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x5aed06(0x418)],ot;function Xi(){var _0x1a2697=_0x5aed06;return ot||(ot=0x1,function(_0x494838,_0x56904a){(function(_0x43c7ee,_0x270414,_0x1ce47){_0x494838['exports']=_0x270414(Q(),Ut());}(Ji,function(_0x5088d3){var _0x16f622=_0x156c;return _0x5088d3['pad'][_0x16f622(0x4bb)]={'pad':function(){},'unpad':function(){}},_0x5088d3[_0x16f622(0x29f)][_0x16f622(0x4bb)];}));}(Oe)),Oe[_0x1a2697(0x418)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x2e9a65,_0x2637a5){var _0x1ae5f0=_0x5aed06;const _0x3052fb=_0x2637a5-_0x2e9a65[_0x1ae5f0(0x24e)]%_0x2637a5,_0x2b2cbb=String[_0x1ae5f0(0x177)](_0x3052fb)[_0x1ae5f0(0x43d)](_0x3052fb);return _0x2e9a65+_0x2b2cbb;}function tn(_0x179332,_0x3c260b){var _0x188bc9=_0x5aed06;const _0x5c0e3e=zi['random'](0x10),_0x150da5=en(_0x179332,0x10),_0x418012=ji[_0x188bc9(0x41d)](Gi[_0x188bc9(0x274)](_0x150da5),nt['parse'](_0x3c260b),{'iv':_0x5c0e3e,'padding':Qi});return _0x5c0e3e[_0x188bc9(0x2a0)](_0x418012['ciphertext'])[_0x188bc9(0x383)](nt);}function nn(){var _0x32a922=_0x5aed06;const _0x35043d=wt['getGlobalObject']()[_0x32a922(0x1b2)];if(_0x35043d){const _0x4031f6={'time':Math[_0x32a922(0x250)](Date[_0x32a922(0x39d)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x32a922(0x463)](_0x4031f6),_0x35043d);}}var rn=Object[_0x5aed06(0x206)],sn=(_0x21c1f8,_0x27dee4,_0x426185,_0x3364fd)=>{var _0x122af9=_0x5aed06;for(var _0x2f61f8=_0x3364fd>0x1?void 0x0:_0x3364fd?rn(_0x27dee4,_0x426185):_0x27dee4,_0x3238a4=_0x21c1f8[_0x122af9(0x24e)]-0x1,_0x577574;_0x3238a4>=0x0;_0x3238a4--)(_0x577574=_0x21c1f8[_0x3238a4])&&(_0x2f61f8=_0x577574(_0x2f61f8)||_0x2f61f8);return _0x2f61f8;},on=(_0x1dc936,_0x4b3fc1)=>(_0x510c3f,_0x5e17e4)=>_0x4b3fc1(_0x510c3f,_0x5e17e4,_0x1dc936);let Ne=class{constructor(_0x2825c6){var _0x25c994=_0x5aed06;this[_0x25c994(0x38b)]=_0x2825c6,this[_0x25c994(0x209)]();}[_0x5aed06(0x209)](){var _0xd0b7dc=_0x5aed06;this[_0xd0b7dc(0x38b)][_0xd0b7dc(0x47b)]({'interceptor':(_0x1b6e1f,_0x558154)=>{var _0x1934b3=_0xd0b7dc;const _0x47a710=_0x1b6e1f[_0x1934b3(0x35f)],_0x1130fa=nn();return _0x1130fa&&_0x47a710['set'](_0x1934b3(0x2db),_0x1130fa),_0x558154(_0x1b6e1f);}});}};Ne=sn([on(0x0,a['Inject'](Y[_0x5aed06(0x414)]))],Ne);var an=Object[_0x5aed06(0x206)],cn=(_0x3d8550,_0x229a62,_0x509dcd,_0x5cd515)=>{var _0x47f1e8=_0x5aed06;for(var _0x38b107=_0x5cd515>0x1?void 0x0:_0x5cd515?an(_0x229a62,_0x509dcd):_0x229a62,_0x3a1653=_0x3d8550[_0x47f1e8(0x24e)]-0x1,_0x596fb2;_0x3a1653>=0x0;_0x3a1653--)(_0x596fb2=_0x3d8550[_0x3a1653])&&(_0x38b107=_0x596fb2(_0x38b107)||_0x38b107);return _0x38b107;},we=(_0x4e8db0,_0x3116ca)=>(_0x1d73d9,_0x15e632)=>_0x3116ca(_0x1d73d9,_0x15e632,_0x4e8db0);function _0x4ec2(){var _0x53f26c=['_transformUndoredo','_createHelper','Failed\x20to\x20update\x20permission\x20point','editing\x20status\x20changed\x20to','getConfig','_telemetryInfo','_initUnitPermissionChange','Hasher','collaMsg','_showConflictNotification','cmd','EXCHANGE_SIGN_URL_SERVER_URL_KEY','textRanges','extend','CollaborationController','_applyRemoteChangeset','LOCAL_CACHE_INTERVAL','onStateChange','_getCtorByUniverType','send','_unitInfo$','Workbook','_transitionLocked','_mode','ivSize','map','_registerDependencies','RxDisposable','mapDocumentTypeToUniverType','getActiveSheet','socket\x20open.','_createInitialState','_onConflict','JOINING','APPLY_DUPLICATED','transformChangesets','4639734yFEfGp','Utf8','PERMISSION_DENIED','_change$','SEND_CHANGESET_TIMEOUT_KEY','[PendingState]:\x20received\x20rejection.','_tryReconnect','_getRedoStack','MOBILE_HAS_BEEN_BOUND','fetch_missing','_lockTransition','_getUndoStack','createCollaborator','enableCollaboration','PasswordBasedCipher','ENSURE_SNAPSHOT_EXECUTION','telemetry\x20info\x20is\x20not\x20initialized','USER_NOT_INVITED_CODE','lib','_minBufferSize','BlockCipher','put','[DataLoaderService]','UNRECOGNIZED','headers','submit\x20changeset\x20error!','userID','[OfflineState]:\x20received\x20changeset.','_data','_doFinalize','SNAPSHOT_URL_KEY','_pendingMutations','shouldCloseConn','INGEST','toggleOnline','ws://127.0.0.1:8000/universer-api/comb/connect','_hasher','updatePermissionPoint','Optional','INetworkConditionService','padding','__esModule','127082fNvgGX','onload','COLLAB_SUBMIT_CHANGESET_URL','EmptyMutation','charAt','startsWith','_onRemoteRetry','_doReset','sigBytes','PENDING','getImageSourceCache','saveSheetBlock','disableLocalCache','_unlockTransition','UNISCRIPT_RUN','PY_RUNTIME_SCRIPT_ERROR','COLLAB_WEB_SOCKET_URL','signUrlServerUrl','toString','reject','WordArray','/universer-api/user/session-ticket','src','_joinRoom','fromCollab','HttpImport','_httpService','deleteCollaborator','_commandService','crypto','_eventService','_doProcessBlock','fetchMiss','_onOffline','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','localeService','concatMap','CollaborationSocketService','_retryCount','salt','create','stopTime','_sender','/unit/','now','sendChangesetTimeout','ImageUploadStatusType','words','_roomMembers','CHANGESET_REVISION_CONFILICT','unitId','method','UserProfileImg','_univerInstanceService','IConfigService','asObservable','getImage','IUniverInstanceService','_clearRedo','error','commentUpdateEvent','onMissingChangesets','UUID','byteOffset','params','finalize','updateCollaborator','uuidv4','TOO_MANY_REQUESTS','UniverInstanceType','INVITE_CODE_ALREADY_BOUND','substr','NEW_CHANGESETS','list','ConflictState','[OfflineState]:\x20received\x20rejection.','WECHAT_HAS_BEEN_BOUND','_socket$','_scheduleCollaborationTimeoutTimer','univer-pro.collaboration-client.single-active-unit-service','Cipher','_sendHeartbeat','has','dispose$','revision','NOT_COLLAB','_clearCollaborationTimeoutTimer','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_DISTRO_REJECTED','shareReplay','takeUntil','$super','collabSubmitChangesetUrl','originalMeta','mode','apply','LICENSE_MAX_UNITS_EXCEEDED','onTransformRemoteChangesetByIMECache','JOIN_ROOM_PERMISSION_DENIED','ERROR_EXCEED_SIZE','OTHER_CLIENTS_EDITING','AWAITING_WITH_PENDING','collaborators','_onRemoteACK','createInstance','DocCollaborationEntity','readAsDataURL','getInterceptPoints','_syncEditingCollabCursor','_entityInit$','encryptBlock','close','_getDownloadEndpointURL','session','_shouldReportTelemetry','APPLY_REJECT','catch','MentionIoHttpService','LIVESHARE_REQUEST_HOST','onlyLocal','c2Prime','registerDependencies','synced','_roomCreated$','disposeWithMe','USERS_ENTER','change$','sequenceExecute','UniverCollaborationClientPlugin','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','isArray','_onUserJoin','addHandlerCallback','type','__creator','joinEvent','_status$','ISnapshotServerService','_onMessage','/universer-api/oidc/authpage','_listenToNetworkCondition','372785PhIKCQ','confirm','\x20-\x20','INTERNAL_ERROR','_state','initWorkbookPermissionChange','format','BufferedBlockAlgorithm','_process','image/bmp','EvpKDF','_updateStatus','HEARTBEAT','awaiting','sheets','Error\x20on\x20receiving\x20event','&to=','readyForCollab','compute','_onRemoteRejected','HEARTBEAT_TIMEOUT','FETCH_MISS','HTTPService','indexOf','saveSnapshot','objectType','exports','memberID','reconnect','_getCurrentRevision','serializeCombRequest','encrypt','onRemoteRej','unsubscribe','_prevBlock','_createHmacHelper','GLOBAL_ROOMS_CNT_EXCEEDS','MSG_FOR_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onRemoteAck','set','_transformRemoteChangesetByStateCache','onRemoteChangeset','INVITE_CODE_HAS_BEEN_UES','splice','roles','_event$','mutations','_decreaseWaiting','batchAllowed','subUnitId','onTransformRemoteChangesetByStateCache','APPLY_REVISION_CONFILICT','addImageSourceCache','JOIN_ROOM_FAILED','sid','listRoles','YUUMI_NO_CUBOID_FOR_QUESTION','delete','_changesetSessionId','FileId','Disposable','readInt32LE','repeat','SnapshotServerOverHTTPService','debug','createEncryptor','reqId','mixIn','createSocket','responseType','b64DecodeUnicode','_localeService','IAuthzIoService','COMPRESS_MUTATION_SEND','includes','loadSheet','find','UPDATE_CURSOR','IUndoRedoService','COMMENT_UPDATE','COLLAB_SUBMIT_CHANGESET_URL_KEY','getRoom','_clearHeartbeatTimer','/allowed','fetchMissingChangesets','_transformIMECache','every','dispose','default','processBlock','{fileID}','_singleActiveUnitService','WorkbookEditablePermission','_collaborationUIEventService','People','_disableEditing','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','c1Prime','transformUndoRedo','HmacSHA1','stringify','ERROR_IMAGE','getCollabEntity$','algo','_collaborationSessionService','_sendingTimer','[CollaborationSessionService]','patch','Inject','JOIN_ROOM_NOT_EXISTS','_getUploadFileURL','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','AES','onRemoteRetry','entityInit$','YUUMI_UNABLE_LOAD_URL','univer-pro.collaboration-client-socket-service','UNIVER_PROJECT','_replayCachedMutations','uniscriptRunEvent','update','_commentUpdate$','_entities','UserManagerService','registerHTTPInterceptor','LEAVE','InsertSheetMutation','IDLE','CHANGESET_REJ','touchDependencies','/rev/','_startCollaboration','_clearTimeoutTimer','target','_imageSourceCache','_snapshotService','YUUMI_SUBSCRIPTION_NOT_FOUND','blockSize','retryConnectingInterval','getTypeOfUnitAdded$','_exhaustRemoteChangesetQueue','YUUMI_RATE_OVER_LIMIT','UNDEFINED','ITransformService','randomBytes','BehaviorSubject','CHANGESET_ACK','collaboratorID','_onCombEvent','SheetTransformSelectionsService','ISocketService','_logService','MD5','hasOwnProperty','_initDependencies','localCacheService','ONLINE','_localCacheService','file','SheetCollaborationEntity','_undoStacks','CollaborationUIEventId','name','csShouldRetryEvent','buffer','_createSocket','_updateState','isTransformMutationsWithChangesetSuccess','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','SnapshotService','LOGIN_FAILED','snapshot','_instanceService','clamp','OFFLINE','allowed','SUCCUSS','UNKNOWN_CODE','post','result','CLOSE_ROOM','_reverseMap','error$','_sessionStatus$','open$','Base','roomInfos','reverse','NoPadding','ceil','fetching\x20missing\x20changesets\x20from\x20','_transformService','SYNCED','csAckEvent','filter','/role','@univerjs/telemetry','IMentionIOService','SHA1','_oKey','complete','size','close$','objectID','_init','Quantity','UNAUTHENTICATED','appendMutation','SNAPSHOT_HAS_BEEN_REMOVED','DisposableCollection','get','FetchingMissState','_clearScheduledTask','forEach','unknown','YUUMI_ALL_TABLES_IS_INVALID','RevisionService','delay','_candidateSocket','SOCKET_FAILED_RETRY','_collaborationPaused','UNKNOWN_CMD','_scheduleCompleteTimestamp','onMissedChangesetFetched','[CollaborationUndoRedoService]','_socketMessageSubscription','_timeoutTimer','AuthzIoHttpService','_getSendChangesetTimeout','getValue','CollaborativeUndoRedoService','getSnapshotAPIPath','CHANGESET_SHOULD_RETRY','getMember','[CollaborationSessionService]:\x20socket\x20error','[PendingState]:\x20unhandled\x20univer\x20type:\x20','7099524UTTzVz','fromCharCode','UPDATE_PERMISSION_OBJ','BASE64','_xformMode','toStringTag','FETCH_MISSING','Module','[OfflineState]:\x20received\x20acknowledgement.','YUUMI_URL_COL_OUT_OF_RANGE','LocaleService','_compressMutationService','emitEvent','resolve','[CollaborationSession]','getSheetId','actions','executeCommand','waitForRoom$','updateCursorEvent','HEARTBEAT_TIMEOUT_KEY','getMemberID','MUTATION','_changesetReqId','textEncoder','pauseCollaboration','loginUrlKey','UniverCollaborationPlugin','add','next','_doCryptBlock','MemberService','_members$','transformSelections','sessionStatus$','_waitForHeartbeatResponse','loadUnit','SHOULD_CLOSE_CONN','clear','/universer-api/snapshot/','rev','unit-cache-','status$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','&source=','_injector','hasher','onCommentUpdate','session.room-permission-denied','_createInitialStateImpl','_cipher','_toggleOffline','rxjs/operators','onTransformSelections','state$','AWAITING','COMPLETION_FINISHED','onCommandExecuted','putCollaborators','collaboration_new_changeset','__Key__','YUUMI_AI_RUN_FAILED','CompressMutationService','_transformRemoteChangesetByIMECache','IPermissionService','Encryptor','_config','_resendTimeout','JOIN','_stopTelemetryCollaborationNewChangeset','OpenSSL','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getUnitOnRev','startTime','_socketReady','pending','_userManagerService','_resendTimer','copyFileMeta','_members','_networkConditionService','UniverNetworkPlugin','_transformStack','m2Prime','_schedule','_nRounds','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SetSelectionsOperation','subject','interceptor','[UniverCollaborationClientPlugin]','_parse','kdf','_checkMissing','infoRsp','APPLY_NON_SEQUENTIAL_REVISION','getCurrentRevOfUnit','getCollabEntity','downloadEndpointUrl','112WBicGh','_socket','_handler','HTTPRequest','_getLoginPath','UNIVER_SHEET','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SheetsSelectionsService','compose','requireSession','CollaborationUIEventService','clone','commentUpdate$','[CollaborationEntity]','sin','fetchThroughInterceptors','_waitCount','isTransformMutationsWithChangesetFailure','CollaborationEvent','toDisposable','_telemetryService','enableOfflineEditing','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_clearLocalCache','AUTHZ_URL_KEY','[FetchMissState]','UNIVER_DOC','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','HELLO','Tools','_invKeySchedule','closeSession','join','message$','_unitID','slice','_rescheduleHeartbeat','execute','@univerjs/core','ReplaySubject','UnitEmbedded','members$','_fetchMissChangesets','url','DependentOn','getOwnPropertyDescriptor','_map','_keyPriorReset','_initRequestHeader','getTypeOfUnitDisposed$','body','_commentService','_createHandler','USERS_LEAVE','max','_undoRedoService','defineProperty','OfflineState','conflict','_sessions','then','OTHER_CLIENT_EDITING','Latin1','setShowComponents','_key','CommandType','onSendChangeset','_startTelemetryCollaborationNewChangeset','SUBMIT_CHANGESET_TIMEOUT','msCrypto','init','\x20to\x20','_substituteUndoStack','loadOfflineData','LICENSE_EXPORT_SIZE_EXCEEDED','RECV','parseProtocolChangeset','_nDataBytes','_emitMembers','/collaborator','location','_awaitingChangeset','session.join-failed','ImageSourceType','@univerjs/network','encodeURIComponent','enc','_getAPIPrefix','UnitSnapshot','PERSON','routeKey','COLLAB_WEB_SOCKET_URL_KEY','EMAIL_HAS_BEEN_BOUND','LICENSE_IMPORT_SIZE_EXCEEDED','duration','Undefined','_sendHeartbeatTimer','getUnitStatus$','46668060HBOnqm','reset','key','SNAPSHOT_SERVER_URL_KEY','[SyncedState]:\x20received\x20rejection.','createDecryptor','getCurrentSelections','prototype','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_remoteChangesetQueue','charCodeAt','changesets','decrypt','getRandomValues','FAIL','collabWebSocketUrl','liveShareNewHost','override','LocalUndoRedoService','length','HEARTBEAT_INTERVAL','floor','@univerjs/docs','objectActions','_socketService','call','updateMember','CONFLICT','SOCKET_FAILED','createIdentifier','image/jpg','HMAC','/universer-api/snapshot','ciphertext','setCurrentUser','/universer-api/comb','NOT_FOUND','_getAPIPrefixPath','_getSignURL','NO_OTHER_CLIENTS_EDITING','JSONX','eventID','requestParams','IContextService','/-/object/-/batch_allowed','data','RichTextEditingMutation','_iv','toggleOffline','_configService','session.room-not-exists','members','PendingState','onTransformState','unitId\x20is\x20not\x20found','_ENC_XFORM_MODE','values','parse','_onFetchMissResult','YUUMI_ASYNCIO_CANCELLED','isPermissionRej','sessionStatus','saveImage','_clearRetryConnectingTimer','_toggleOnline','loadUnitOfRevision','DEFAULT_WS_SESSION_TICKET_URL','JOIN_ROOM_FULL','focused$','pipe','auth.needGotoLoginAlert','status','symbol','subscribe','decryptBlock','merge','getTime','byteLength','HEARTBEAT_INTERVAL_KEY','SyncedState','incrementRevOfUnit','avatar','\x0aAfter:\x20','socket\x20close','Malformed\x20UTF-8\x20data','code','isInternalEditorID','_keySchedule','/universer-api/authz','AwaitingState','_append','socket$','8gTKJoC','LOCAL_CACHE_INTERVAL_KEY','[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.','_isPermissionRej','_submitChangeset','session.room-full','editingUnit','take','pad','concat','_onConnectionOpen','Univer','_tryEnsureSocket','push','CollaborationSessionService','LIVESHARE_NEW_HOST','_onConnectionFailed','resend','/object/','_handlerCallback','@univerjs/sheets','objects','_collaborationTimeoutTimer','_onJoinRoomEvent','_state$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_transformStateCache','SNAPSHOT_INVALID_SNAPSHOT','encode','image/jpeg','_hash','awaiting_with_pending','origin','session.room-cnt-exceeds','_initMergeInterceptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','21GrNCHn','uploadFileServerUrl','CollaborationImageIoService','pluginName','_memberService','/universer-api/file/{fileID}/sign-url','updateSnapshot','Base64','authzUrl','ILogService','unitID','IImageIoService','range','LIVESHARE_FETCH_OPERATIONS','from','LIVESHARE_TERMINATE','snapshotServerUrl','DataLoaderService','_executeRemoteChangeset','unpad','not_collab','function','_resendWithTimeout','CollaborationEntity','baseRev','Decryptor','2886340GSXrXe','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','transformMutationsWithChangeset','772880EpjMSr','updateOfflineData','_replaceFileID','x-univer-host','_throwTelemetryCollaborationNewChangeset','_acknowledgedAwaitingChangeset','permissionRejEvent','_incrementRevisionNumber','Hex','_retryConnectingTimer','[SyncedState]:\x20received\x20acknowledgement.','cfg','_HTTPService','ICommandService','deserializeToCombResponse','newCsEvent','_DEC_XFORM_MODE','getLatestCsReqIdBySid','state','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','COMPRESS_MUTATION_APPLY','LOGIN_URL_KEY','connection\x20error','getDeserializedSheetBlock','getUnitId','_snapshotServerService','POST','image/gif','/universer-api/stream/file/upload','MergeInterceptorFactory','_initCloseConn','_revisionService','Pkcs7','_type','AwaitingWithPendingState','event$','href','Subject','_onLocalMutation','CipherParams','onTransformIME','?size=','removeMember','_permissionService','_collabSessionService','ICollaborationSocketService','_sheetTransformSelectionsService','RETRY_CONNECTING_MAX_COUNT_KEY','_updateLocalCache','mergeOverrideWithDependencies','CommentService','_doCreateSocket','getCurrentUser','string','awaitingChangeset','socketService','CollaborationSession','HttpExport','SerializableCipher','liveShareOperation','onSyncEditingCollabCursor','offline','keySize','StreamCipher','collaboration-client.local-cache-service','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationStatus','CONNECTOR_DATA_TOO_LARGE','_queuedRemoteChangesets','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Injector','INVITE_CODE_REQUIRED','csRejEvent','onLocalMutation','getAllMembers'];_0x4ec2=function(){return _0x53f26c;};return _0x4ec2();}exports[_0x5aed06(0x2cc)]=class extends a[_0x5aed06(0x33e)]{constructor(_0x4bdab0,_0xa6500,_0xf99b5f){var _0x3b99c7=_0x5aed06;super(),A(this,_0x3b99c7(0x337),new $[(_0x3b99c7(0x490))](null)),A(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x3b99c7(0x496)]=_0x4bdab0,this[_0x3b99c7(0x486)]=_0xa6500,this[_0x3b99c7(0x49c)]=_0xf99b5f);}async['loadUnitOfRevision'](_0xdecceb,_0x98b5ec,_0x48a400){var _0x55a4a9=_0x5aed06;this[_0x55a4a9(0x337)][_0x55a4a9(0x193)]({'unitId':_0xdecceb,'type':_0x98b5ec});let _0x35ba5d=null;switch(_0x98b5ec){case J[_0x55a4a9(0x1de)]:{_0x35ba5d=await this[_0x55a4a9(0x486)][_0x55a4a9(0x44a)](_0xdecceb,_0x48a400);break;}case J[_0x55a4a9(0x1f3)]:{_0x35ba5d=await this[_0x55a4a9(0x486)]['loadDoc'](_0xdecceb,_0x48a400);break;}default:{this[_0x55a4a9(0x496)][_0x55a4a9(0x3ac)](_0x55a4a9(0x35d),_0x55a4a9(0x243));break;}}return _0x35ba5d;}async[_0x5aed06(0x19a)](_0x22c249,_0x33bd3a,_0x4ba939){var _0x295f4d=_0x5aed06,_0x3eac65;this[_0x295f4d(0x337)][_0x295f4d(0x193)]({'unitId':_0x22c249,'type':_0x33bd3a,'subUnitId':_0x4ba939});let _0x278678=0x0;const _0x23dab7=await((_0x3eac65=this[_0x295f4d(0x49c)])==null?void 0x0:_0x3eac65['loadOfflineData'](_0x22c249));return _0x23dab7&&(_0x23dab7[_0x295f4d(0x30e)]||_0x23dab7[_0x295f4d(0x42d)][_0x295f4d(0x24e)]!==0x0)&&(_0x278678=_0x23dab7[_0x295f4d(0x19e)]),_0x278678===0x0&&this[_0x295f4d(0x496)][_0x295f4d(0x43f)](_0x295f4d(0x35d),_0x295f4d(0x2ba)),this[_0x295f4d(0x27c)](_0x22c249,_0x33bd3a,_0x278678);}},exports[_0x5aed06(0x2cc)]=cn([we(0x0,a[_0x5aed06(0x2c4)]),we(0x1,a[_0x5aed06(0x46b)](I[_0x5aed06(0x4a8)])),we(0x2,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x2cc)]);var hn=Object[_0x5aed06(0x206)],_n=(_0x229ba6,_0x10719e,_0xbc98a7,_0x4e63ac)=>{for(var _0x548cd=_0x4e63ac>0x1?void 0x0:_0x4e63ac?hn(_0x10719e,_0xbc98a7):_0x10719e,_0x204212=_0x229ba6['length']-0x1,_0x2477f6;_0x204212>=0x0;_0x204212--)(_0x2477f6=_0x229ba6[_0x204212])&&(_0x548cd=_0x2477f6(_0x548cd)||_0x548cd);return _0x548cd;},Le=(_0x439d41,_0x28ed3e)=>(_0x56c7f0,_0x3257bc)=>_0x28ed3e(_0x56c7f0,_0x3257bc,_0x439d41);const ln=['image/png',_0x5aed06(0x2b4),_0x5aed06(0x259),_0x5aed06(0x2f3),_0x5aed06(0x407)],un=0x5*0x400*0x400,dn=_0x5aed06(0x2eb),vn=_0x5aed06(0x2f4),Sn=_0x5aed06(0x32e),fn=_0x5aed06(0x2c0);exports['CollaborationImageIoService']=class{constructor(_0x1ccbce,_0x3cbb8d,_0x2031d8){var _0x3ccc06=_0x5aed06;A(this,'_waitCount',0x0),A(this,'_change$',new $[(_0x3ccc06(0x2fd))]()),A(this,_0x3ccc06(0x3ef),this[_0x3ccc06(0x34a)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x1ccbce,this[_0x3ccc06(0x26c)]=_0x3cbb8d,this[_0x3ccc06(0x3a6)]=_0x2031d8);}['setWaitCount'](_0x302954){var _0x51b4ea=_0x5aed06;this[_0x51b4ea(0x1e9)]=_0x302954,this['_change$']['next'](_0x302954);}[_0x5aed06(0x37b)](_0xf40803,_0x5ba612){var _0x2d6722=_0x5aed06;if(_0x5ba612===z[_0x2d6722(0x22c)][_0x2d6722(0x179)]){const _0x5d1096=new Image();return _0x5d1096[_0x2d6722(0x387)]=_0xf40803,_0x5d1096;}return this[_0x2d6722(0x485)][_0x2d6722(0x4d1)](_0xf40803);}[_0x5aed06(0x433)](_0x38dab8,_0x331ea0,_0x3f0954){var _0x2b0930=_0x5aed06;_0x331ea0===z['ImageSourceType'][_0x2b0930(0x179)]||_0x3f0954==null||this[_0x2b0930(0x485)]['set'](_0x38dab8,_0x3f0954);}async[_0x5aed06(0x3a9)](_0x276e71){var _0x217d11=_0x5aed06;try{const _0x744bb5=this[_0x217d11(0x2da)](this['_getSignURL'](),''+_0x276e71),_0x49e863=(await this[_0x217d11(0x38b)]['get'](_0x744bb5))['body'];if(_0x49e863[_0x217d11(0x3ac)]&&_0x49e863['error'][_0x217d11(0x290)]===gt['OK']){const _0x2382a1=new URL(_0x49e863[_0x217d11(0x204)],this[_0x217d11(0x3e1)]())[_0x217d11(0x383)]();return Promise[_0x217d11(0x183)](_0x2382a1);}return Promise[_0x217d11(0x384)](_0x49e863['error']);}catch(_0x10b70e){return Promise[_0x217d11(0x384)](_0x10b70e);}}async[_0x5aed06(0x279)](_0x2039b7){var _0x259678=_0x5aed06;let _0xd9e7ef='';if(!ln[_0x259678(0x449)](_0x2039b7[_0x259678(0x3f6)]))return this[_0x259678(0x42e)](),Promise[_0x259678(0x384)](new Error(z[_0x259678(0x39f)]['ERROR_IMAGE_TYPE']));if(_0x2039b7[_0x259678(0x4c8)]>un)return this[_0x259678(0x42e)](),Promise[_0x259678(0x384)](new Error(z[_0x259678(0x39f)][_0x259678(0x3d4)]));try{const _0x212019=new FormData();_0x212019['append'](_0x259678(0x49d),_0x2039b7);const _0xc60f95=this[_0x259678(0x3a6)]['getFocusedUnit'](),_0x1b420c=_0xc60f95==null?void 0x0:_0xc60f95[_0x259678(0x2f0)]();if(!_0x1b420c)throw new Error(_0x259678(0x271));const _0x2da837=this[_0x259678(0x46d)]()+_0x259678(0x301)+_0x2039b7['size'][_0x259678(0x383)]()+_0x259678(0x1a2)+Et[_0x259678(0x201)]+'&assign='+encodeURIComponent(_0x1b420c),_0x182281={'body':_0x212019},_0x3f1598=(await this[_0x259678(0x38b)][_0x259678(0x4b1)](_0x2da837,_0x182281))[_0x259678(0x20b)];if(typeof _0x3f1598[_0x259678(0x43a)]!=_0x259678(0x30d))return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x259678(0x39f)]['ERROR_IMAGE']));_0xd9e7ef=_0x3f1598['FileId'];}catch{return this[_0x259678(0x42e)](),Promise[_0x259678(0x384)](new Error(z[_0x259678(0x39f)][_0x259678(0x464)]));}return new Promise((_0x15a2f3,_0x29c294)=>{var _0x10e232=_0x259678;const _0x596cfe=new FileReader();_0x596cfe[_0x10e232(0x3db)](_0x2039b7),_0x596cfe[_0x10e232(0x372)]=_0x3e227d=>{var _0x1e8fef=_0x10e232,_0x1a6d8b;const _0x3889fd=(_0x1a6d8b=_0x3e227d[_0x1e8fef(0x484)])==null?void 0x0:_0x1a6d8b[_0x1e8fef(0x4b2)];if(_0x3889fd==null){this['_decreaseWaiting'](),_0x29c294(new Error(z['ImageUploadStatusType'][_0x1e8fef(0x464)]));return;}const _0x3afac4=a[_0x1e8fef(0x1f6)]['generateRandomId'](0x6);_0x15a2f3({'imageId':_0x3afac4,'imageSourceType':z[_0x1e8fef(0x22c)][_0x1e8fef(0x3af)],'source':_0xd9e7ef,'base64Cache':_0x3889fd,'status':z[_0x1e8fef(0x39f)][_0x1e8fef(0x4af)]}),this['_decreaseWaiting']();};});}[_0x5aed06(0x46d)](){var _0x54adce=_0x5aed06,_0x3bb25b,_0x4019ee;const _0x53fed1=this[_0x54adce(0x26c)][_0x54adce(0x327)](dn),_0x54c35c=this[_0x54adce(0x26c)][_0x54adce(0x327)](K);return(_0x4019ee=(_0x3bb25b=_0x54c35c==null?void 0x0:_0x54c35c[_0x54adce(0x2bc)])!=null?_0x3bb25b:_0x53fed1)!=null?_0x4019ee:vn;}[_0x5aed06(0x261)](){var _0x21913c=_0x5aed06,_0x78df37,_0x365136;const _0x23c934=this[_0x21913c(0x26c)][_0x21913c(0x327)](Sn),_0x3f8577=this[_0x21913c(0x26c)][_0x21913c(0x327)](K);return(_0x365136=(_0x78df37=_0x3f8577==null?void 0x0:_0x3f8577[_0x21913c(0x382)])!=null?_0x78df37:_0x23c934)!=null?_0x365136:fn;}[_0x5aed06(0x3e1)](){var _0x45fc63=_0x5aed06,_0x5655a9;const _0x2962f1=this[_0x45fc63(0x26c)][_0x45fc63(0x327)](K);return(_0x5655a9=_0x2962f1==null?void 0x0:_0x2962f1[_0x45fc63(0x1d8)])!=null?_0x5655a9:location[_0x45fc63(0x2b7)];}['_replaceFileID'](_0x4698f3,_0x5ac45c){var _0x354c57=_0x5aed06;return _0x4698f3['replace'](_0x354c57(0x459),_0x5ac45c);}[_0x5aed06(0x42e)](){var _0x52d1e4=_0x5aed06;this[_0x52d1e4(0x1e9)]-=0x1,this[_0x52d1e4(0x34a)][_0x52d1e4(0x193)](this[_0x52d1e4(0x1e9)]);}},exports[_0x5aed06(0x2bd)]=_n([Le(0x0,a['Inject'](Y[_0x5aed06(0x414)])),Le(0x1,a['IConfigService']),Le(0x2,a[_0x5aed06(0x46b)](a['IUniverInstanceService']))],exports[_0x5aed06(0x2bd)]);var pn=Object[_0x5aed06(0x206)],In=(_0x1b4e8d,_0x27082b,_0x4c5959,_0x3ce0df)=>{for(var _0x3f68ae=_0x3ce0df>0x1?void 0x0:_0x3ce0df?pn(_0x27082b,_0x4c5959):_0x27082b,_0x4b0050=_0x1b4e8d['length']-0x1,_0x3dd4c8;_0x4b0050>=0x0;_0x4b0050--)(_0x3dd4c8=_0x1b4e8d[_0x4b0050])&&(_0x3f68ae=_0x3dd4c8(_0x3f68ae)||_0x3f68ae);return _0x3f68ae;},at=(_0x15ccd5,_0x1caf4f)=>(_0x5cb8b2,_0x52ea58)=>_0x1caf4f(_0x5cb8b2,_0x52ea58,_0x15ccd5);const gn='/universer-api/authz';exports[_0x5aed06(0x3e6)]=class{constructor(_0x2c45a1,_0x7ebe28){var _0x20f73c=_0x5aed06;this['_configService']=_0x2c45a1,this[_0x20f73c(0x2e4)]=_0x7ebe28;}[_0x5aed06(0x260)](){var _0x4134bf=_0x5aed06,_0x4e2284,_0x1f0ca0;const _0x12f5d6=this['_configService'][_0x4134bf(0x327)](Ve),_0x4f73c2=this[_0x4134bf(0x26c)][_0x4134bf(0x327)](K);return(_0x1f0ca0=(_0x4e2284=_0x4f73c2==null?void 0x0:_0x4f73c2[_0x4134bf(0x2c3)])!=null?_0x4e2284:_0x12f5d6)!=null?_0x1f0ca0:gn;}async[_0x5aed06(0x3ba)](_0x1dd8ff){var _0x2cb0a8=_0x5aed06;const _0x56214f=this['_getAPIPrefixPath']()+_0x2cb0a8(0x228);return{'list':[{'title':_0x2cb0a8(0x45d),'mentions':(await this[_0x2cb0a8(0x2e4)]['get'](_0x56214f,{'params':{'objectID':_0x1dd8ff[_0x2cb0a8(0x3a3)],'unitID':_0x1dd8ff[_0x2cb0a8(0x3a3)]}}))['body'][_0x2cb0a8(0x3d7)][_0x2cb0a8(0x33c)](_0x75b6aa=>({'objectId':_0x75b6aa['id'],'name':_0x75b6aa[_0x2cb0a8(0x1ce)]['name'],'metadata':{'icon':_0x75b6aa[_0x2cb0a8(0x1ce)][_0x2cb0a8(0x28c)]},'label':_0x75b6aa[_0x2cb0a8(0x1ce)][_0x2cb0a8(0x4a1)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a['MentionType'][_0x2cb0a8(0x232)]}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x5aed06(0x46b)](a['IConfigService'])),at(0x1,a[_0x5aed06(0x46b)](Y[_0x5aed06(0x414)]))],exports[_0x5aed06(0x3e6)]);var En=Object[_0x5aed06(0x206)],mn=(_0x4d32e0,_0x5b4926,_0x3b30d0,_0x138ecd)=>{var _0x1d280c=_0x5aed06;for(var _0x12e15b=_0x138ecd>0x1?void 0x0:_0x138ecd?En(_0x5b4926,_0x3b30d0):_0x5b4926,_0x505d71=_0x4d32e0[_0x1d280c(0x24e)]-0x1,_0x3d664f;_0x505d71>=0x0;_0x505d71--)(_0x3d664f=_0x4d32e0[_0x505d71])&&(_0x12e15b=_0x3d664f(_0x12e15b)||_0x12e15b);return _0x12e15b;},le=(_0x4d6c15,_0x1b0bc5)=>(_0x34a5ca,_0x3c6d4c)=>_0x1b0bc5(_0x34a5ca,_0x3c6d4c,_0x4d6c15);let Ue=class extends a[_0x5aed06(0x33e)]{constructor(_0x545b16,_0xc3fcd3,_0x25c8c8,_0x225734,_0x476343){var _0x1f721f=_0x5aed06;super(),this[_0x1f721f(0x1a3)]=_0x545b16,this[_0x1f721f(0x3a6)]=_0xc3fcd3,this[_0x1f721f(0x303)]=_0x25c8c8,this[_0x1f721f(0x467)]=_0x225734,this['_collaborationUIEventService']=_0x476343,this[_0x1f721f(0x329)](),this[_0x1f721f(0x2f6)]();}['_initCloseConn'](){var _0x9388c7=_0x5aed06;const _0x270990=async _0x5bcdb8=>{var _0xa049f=_0x156c;(await this['_collaborationSessionService'][_0xa049f(0x1e2)](_0x5bcdb8))[_0xa049f(0x2fb)][_0xa049f(0x280)](V[_0xa049f(0x4c1)](_0x85d622=>_0x85d622['eventID']===I[_0xa049f(0x1eb)][_0xa049f(0x19b)]),V['takeUntil'](this[_0xa049f(0x3c4)]))['subscribe'](_0x3695af=>{var _0xb3de36=_0xa049f;const _0x43a8f2=_0x3695af,{reason:_0x5866b5}=_0x43a8f2['data'];this[_0xb3de36(0x45c)]['emitEvent']({'id':Z[_0xb3de36(0x4b3)],'data':_0x5866b5}),this[_0xb3de36(0x303)][_0xb3de36(0x36c)](new X['WorkbookEditablePermission'](_0x5bcdb8)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5bcdb8);});};$[_0x9388c7(0x286)](this['_univerInstanceService'][_0x9388c7(0x48a)](a[_0x9388c7(0x3b6)][_0x9388c7(0x1de)]),this['_univerInstanceService'][_0x9388c7(0x48a)](a['UniverInstanceType'][_0x9388c7(0x1f3)]))[_0x9388c7(0x280)](V[_0x9388c7(0x33c)](_0x299f13=>_0x299f13[_0x9388c7(0x2f0)]()),V[_0x9388c7(0x4c1)](_0x7ae3ec=>!a['isInternalEditorID'](_0x7ae3ec)),V[_0x9388c7(0x3cb)](this[_0x9388c7(0x3c4)]))['subscribe'](_0x2e95ab=>{_0x270990(_0x2e95ab);});}[_0x5aed06(0x329)](){var _0x2a7f08=_0x5aed06;const _0x1e7175=async _0x4d20d2=>{var _0x5b02ad=_0x156c;const _0x569f96=await this[_0x5b02ad(0x467)]['requireSession'](_0x4d20d2),_0x16bbb9=this[_0x5b02ad(0x1a3)][_0x5b02ad(0x4d1)](X['SheetPermissionInitController']);_0x569f96[_0x5b02ad(0x2fb)][_0x5b02ad(0x280)](V['filter'](_0x438f8c=>_0x438f8c[_0x5b02ad(0x264)]===I[_0x5b02ad(0x1eb)]['UPDATE_PERMISSION_OBJ']),V[_0x5b02ad(0x3cb)](this[_0x5b02ad(0x3c4)]))[_0x5b02ad(0x284)](_0x2355af=>{var _0x44643f=_0x5b02ad;const _0xe53a36=_0x2355af,{objectId:_0x154391}=_0xe53a36['data'];_0x154391===_0x4d20d2?_0x16bbb9[_0x44643f(0x403)](_0x4d20d2):_0x16bbb9['refreshPermission'](_0x4d20d2,_0x154391);});};$[_0x2a7f08(0x286)](this[_0x2a7f08(0x3a6)][_0x2a7f08(0x48a)](a[_0x2a7f08(0x3b6)][_0x2a7f08(0x1de)]))[_0x2a7f08(0x280)](V[_0x2a7f08(0x33c)](_0x368a29=>_0x368a29[_0x2a7f08(0x2f0)]()),V[_0x2a7f08(0x4c1)](_0x57fa3a=>!a[_0x2a7f08(0x291)](_0x57fa3a)),V[_0x2a7f08(0x3cb)](this['dispose$']))[_0x2a7f08(0x284)](_0x2321ec=>{_0x1e7175(_0x2321ec);});}};Ue=mn([le(0x0,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),le(0x1,a['IUniverInstanceService']),le(0x2,a[_0x5aed06(0x1b6)]),le(0x3,a['Inject'](exports[_0x5aed06(0x2a5)])),le(0x4,a[_0x5aed06(0x46b)](ee))],Ue);var Cn=Object[_0x5aed06(0x206)],Tn=(_0x4c89d7,_0x472b85,_0x92aa0a,_0x41f6d2)=>{var _0x3c95c9=_0x5aed06;for(var _0x131aa0=_0x41f6d2>0x1?void 0x0:_0x41f6d2?Cn(_0x472b85,_0x92aa0a):_0x472b85,_0x5d2fef=_0x4c89d7[_0x3c95c9(0x24e)]-0x1,_0x2f0847;_0x5d2fef>=0x0;_0x5d2fef--)(_0x2f0847=_0x4c89d7[_0x5d2fef])&&(_0x131aa0=_0x2f0847(_0x131aa0)||_0x131aa0);return _0x131aa0;},ct=(_0x33e577,_0x29736f)=>(_0x31b227,_0x3390f9)=>_0x29736f(_0x31b227,_0x3390f9,_0x33e577);exports['SnapshotServerOverHTTPService']=class{constructor(_0x131c3e,_0x57dc72){var _0x34a05c=_0x5aed06;this[_0x34a05c(0x26c)]=_0x131c3e,this[_0x34a05c(0x38b)]=_0x57dc72;}async[_0x5aed06(0x1be)](_0x54265b,_0x347c8e){var _0xae660d=_0x5aed06,_0x4976d4;const {unitID:_0x2ab779,type:_0x1b2988,revision:_0x290d1b=0x0}=_0x347c8e,_0x408f5d=this[_0xae660d(0x4e6)]()+'/'+_0x1b2988+_0xae660d(0x39c)+_0x2ab779+_0xae660d(0x481)+_0x290d1b,_0x1e9908=(await this[_0xae660d(0x38b)][_0xae660d(0x4d1)](_0x408f5d))[_0xae660d(0x20b)],_0x13e9b9=(_0x4976d4=_0x1e9908[_0xae660d(0x4aa)])==null?void 0x0:_0x4976d4['workbook'];if(_0x13e9b9){const _0x3af0b2=_0x13e9b9==null?void 0x0:_0x13e9b9[_0xae660d(0x3ce)],_0x47f043=I[_0xae660d(0x18e)][_0xae660d(0x2b3)](I[_0xae660d(0x445)](_0x3af0b2));_0x13e9b9[_0xae660d(0x3ce)]=_0x47f043,Object['entries'](_0x13e9b9[_0xae660d(0x40c)])[_0xae660d(0x4d4)](([,_0x544bce])=>{var _0x1e5887=_0xae660d;const _0x326774=_0x544bce[_0x1e5887(0x3ce)],_0xa4fd3a=I[_0x1e5887(0x18e)][_0x1e5887(0x2b3)](I['b64DecodeUnicode'](_0x326774));_0x544bce[_0x1e5887(0x3ce)]=_0xa4fd3a;});}return _0x1e9908;}async['getSheetBlock'](_0x51903d,_0x1ed740){var _0x5811b9=_0x5aed06;const {unitID:_0x2559db,type:_0x4ffc30,blockID:_0x7dcf5e}=_0x1ed740,_0x4ca913=this['_getAPIPrefix']()+'/'+_0x4ffc30+'/unit/'+_0x2559db+'/block/'+_0x7dcf5e;return(await this['_httpService']['get'](_0x4ca913))[_0x5811b9(0x20b)];}async[_0x5aed06(0x2ef)](_0x5de857,_0x3ac8a2){var _0x6de74d=_0x5aed06;const {unitID:_0xb5c6c5,type:_0x310ad3,blockID:_0x3d7fee}=_0x3ac8a2,_0x5df88a=this[_0x6de74d(0x230)]()+'/block/'+_0x310ad3+_0x6de74d(0x39c)+_0xb5c6c5+'/block/'+_0x3d7fee;return(await this['_httpService'][_0x6de74d(0x4d1)](_0x5df88a))['body'];}async[_0x5aed06(0x453)](_0x3d4b8b,_0x333bae){var _0x3e8e0d=_0x5aed06;const {unitID:_0x4ea001,type:_0xff0011,from:_0xd8042c,to:_0x1cdce0}=_0x333bae,_0x1d662f=this[_0x3e8e0d(0x230)]()+'/'+_0xff0011+_0x3e8e0d(0x39c)+_0x4ea001+'/fetchmissing?from='+_0xd8042c+_0x3e8e0d(0x40e)+_0x1cdce0;return(await this[_0x3e8e0d(0x38b)][_0x3e8e0d(0x4d1)](_0x1d662f))[_0x3e8e0d(0x20b)];}[_0x5aed06(0x4e6)](){var _0x44c53e=_0x5aed06,_0xcb6ea7;return(_0xcb6ea7=this[_0x44c53e(0x26c)]['getConfig'](lt))!=null?_0xcb6ea7:this['_getAPIPrefix']();}[_0x5aed06(0x230)](){var _0x984ce4=_0x5aed06,_0x20a225,_0x10caef;const _0x210038=this['_configService']['getConfig'](_t),_0x853324=this[_0x984ce4(0x26c)][_0x984ce4(0x327)](K);return(_0x10caef=(_0x20a225=_0x853324==null?void 0x0:_0x853324[_0x984ce4(0x2cb)])!=null?_0x20a225:_0x210038)!=null?_0x10caef:Lt;}async['getResourcesRequest'](_0x5b5dc8,_0x2ae370){var _0x43b111=_0x5aed06;const _0x14accf=_0x43b111(0x19d)+_0x2ae370['type']+_0x43b111(0x39c)+_0x2ae370[_0x43b111(0x2c5)]+'/resources';return(await this[_0x43b111(0x38b)][_0x43b111(0x4d1)](_0x14accf,{'params':{'resourceId':JSON[_0x43b111(0x463)](_0x2ae370['resourceIDs'])}}))[_0x43b111(0x20b)];}[_0x5aed06(0x416)](){var _0x290e5e=_0x5aed06;throw new Error(_0x290e5e(0x1cc));}[_0x5aed06(0x2c1)](){var _0x454ad2=_0x5aed06;throw new Error(_0x454ad2(0x1cc));}[_0x5aed06(0x37c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x30e9f2=_0x5aed06;throw new Error(_0x30e9f2(0x1cc));}[_0x5aed06(0x1c4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5aed06(0x2e9)](){var _0x1d9d8e=_0x5aed06;throw new Error(_0x1d9d8e(0x1cc));}},exports[_0x5aed06(0x43e)]=Tn([ct(0x0,a[_0x5aed06(0x3a7)]),ct(0x1,a['Inject'](Y['HTTPService']))],exports['SnapshotServerOverHTTPService']);var bn=Object[_0x5aed06(0x206)],Rn=(_0x4af4f3,_0x41d60a,_0x27a20a,_0x590955)=>{var _0x48a78a=_0x5aed06;for(var _0x12a3c1=_0x590955>0x1?void 0x0:_0x590955?bn(_0x41d60a,_0x27a20a):_0x41d60a,_0x4940f1=_0x4af4f3[_0x48a78a(0x24e)]-0x1,_0x60b885;_0x4940f1>=0x0;_0x4940f1--)(_0x60b885=_0x4af4f3[_0x4940f1])&&(_0x12a3c1=_0x60b885(_0x12a3c1)||_0x12a3c1);return _0x12a3c1;},ue=(_0x5366af,_0xf15903)=>(_0x267349,_0x23ffa0)=>_0xf15903(_0x267349,_0x23ffa0,_0x5366af);exports[_0x5aed06(0x4e5)]=class extends a[_0x5aed06(0x24d)]{constructor(_0x1d1f64,_0x32075c,_0x52b6ed,_0x44e3cd,_0xe4edf4){var _0x1d9275=_0x5aed06;super(_0x1d1f64,_0x32075c,_0x52b6ed),this[_0x1d9275(0x4be)]=_0x44e3cd,this[_0x1d9275(0x496)]=_0xe4edf4;}[_0x5aed06(0x461)](_0x2f6f7b,_0x58bfaa){var _0x3cd399=_0x5aed06;const _0x468178=this['_getUndoStack'](_0x2f6f7b);if(_0x468178)try{const _0x86f10=this[_0x3cd399(0x1c8)](_0x468178,_0x58bfaa);this[_0x3cd399(0x221)](_0x2f6f7b,_0x86f10);}catch(_0x40945a){this[_0x3cd399(0x496)][_0x3cd399(0x3ac)]('[CollaborationUndoRedoService]',_0x40945a),this['_clearUndo'](_0x2f6f7b);}const _0x26d878=this[_0x3cd399(0x34e)](_0x2f6f7b);if(_0x26d878)try{const _0x1dc90c=this[_0x3cd399(0x1c8)](_0x26d878,_0x58bfaa);this['_substituteRedoStack'](_0x2f6f7b,_0x1dc90c);}catch(_0x557c89){this[_0x3cd399(0x496)][_0x3cd399(0x3ac)](_0x557c89),this[_0x3cd399(0x3ab)](_0x2f6f7b);}}['_clearUndo'](_0x49a4d6){var _0x450112=_0x5aed06;const _0x52813a=this[_0x450112(0x352)](_0x49a4d6);_0x52813a&&(_0x52813a['length']=0x0,this[_0x450112(0x409)]());}[_0x5aed06(0x3ab)](_0x2841f6){var _0x3695c7=_0x5aed06;const _0xd29ac1=this[_0x3695c7(0x34e)](_0x2841f6);_0xd29ac1&&(_0xd29ac1[_0x3695c7(0x24e)]=0x0,this[_0x3695c7(0x409)]());}['_substituteUndoStack'](_0x4eac27,_0x2727c6){var _0x3562de=_0x5aed06;this[_0x3562de(0x49f)][_0x3562de(0x426)](_0x4eac27,_0x2727c6),this[_0x3562de(0x409)]();}['_substituteRedoStack'](_0x587e6e,_0x2d7b0a){var _0x493e2a=_0x5aed06;this['_redoStacks'][_0x493e2a(0x426)](_0x587e6e,_0x2d7b0a),this[_0x493e2a(0x409)]();}[_0x5aed06(0x1c8)](_0x4e45fb,_0x366e2d){var _0x346cc4=_0x5aed06;const _0x4c9f39=[];let _0x21b6b9=_0x366e2d,_0x4801b7=_0x366e2d;for(let _0x2702c5=_0x4e45fb[_0x346cc4(0x24e)]-0x1;_0x2702c5>=0x0;_0x2702c5--){const {unitID:_0x791d68,undoMutations:_0x56151d,redoMutations:_0xfb1da8}=_0x4e45fb[_0x2702c5],_0x5b0f25=this['_transformService'][_0x346cc4(0x2d7)](_0x21b6b9,_0x56151d),_0x13dbb3=this[_0x346cc4(0x4be)][_0x346cc4(0x2d7)](_0x4801b7,_0xfb1da8);if(I[_0x346cc4(0x1ea)](_0x5b0f25)||I['isTransformMutationsWithChangesetFailure'](_0x13dbb3)){this[_0x346cc4(0x496)][_0x346cc4(0x3ac)](_0x346cc4(0x4df),'transformStack\x20failed!',_0x5b0f25,_0x13dbb3);break;}_0x21b6b9=_0x5b0f25[_0x346cc4(0x460)],_0x4801b7=_0x13dbb3[_0x346cc4(0x460)],_0x4c9f39['push']({'unitID':_0x791d68,'undoMutations':_0x5b0f25['m2Prime'],'redoMutations':_0x13dbb3['m2Prime']});}return _0x4c9f39[_0x346cc4(0x4ba)]();}},exports[_0x5aed06(0x4e5)]=Rn([ue(0x0,a[_0x5aed06(0x3aa)]),ue(0x1,a[_0x5aed06(0x2e5)]),ue(0x2,a[_0x5aed06(0x266)]),ue(0x3,I[_0x5aed06(0x48e)]),ue(0x4,a[_0x5aed06(0x2c4)])],exports[_0x5aed06(0x4e5)]);var On=Object[_0x5aed06(0x211)],yn=Object['getOwnPropertyDescriptor'],Nn=(_0x356e70,_0x1b4ed9,_0x2eb996)=>_0x1b4ed9 in _0x356e70?On(_0x356e70,_0x1b4ed9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2eb996}):_0x356e70[_0x1b4ed9]=_0x2eb996,Un=(_0x951c86,_0x51c512,_0x39de8b,_0x58b021)=>{var _0x4693d0=_0x5aed06;for(var _0xb3b73d=_0x58b021>0x1?void 0x0:_0x58b021?yn(_0x51c512,_0x39de8b):_0x51c512,_0x142ef9=_0x951c86[_0x4693d0(0x24e)]-0x1,_0x3f14f2;_0x142ef9>=0x0;_0x142ef9--)(_0x3f14f2=_0x951c86[_0x142ef9])&&(_0xb3b73d=_0x3f14f2(_0xb3b73d)||_0xb3b73d);return _0xb3b73d;},Me=(_0x301f84,_0x36201b)=>(_0x15fc00,_0xd10a61)=>_0x36201b(_0x15fc00,_0xd10a61,_0x301f84),Dn=(_0x17f92f,_0x3854b1,_0x1dabc0)=>Nn(_0x17f92f,_0x3854b1+'',_0x1dabc0);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x5aed06(0x3f1)]=class extends a['Plugin']{constructor(_0x17fdf1,_0x27e93b,_0x5b2954,_0x4377ee){var _0x125d9c=_0x5aed06;super(),A(this,'_config'),(this['_logService']=_0x27e93b,this[_0x125d9c(0x1a3)]=_0x5b2954,this[_0x125d9c(0x26c)]=_0x4377ee);const {..._0x365288}=a[_0x125d9c(0x286)]({},Yt,_0x17fdf1);if(!_0x365288[_0x125d9c(0x30f)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x125d9c(0x1b8)]=_0x365288,this[_0x125d9c(0x26c)]['setConfig'](K,_0x365288);}['onStarting'](){var _0x1726b8=_0x5aed06;this[_0x1726b8(0x33d)](),this[_0x1726b8(0x499)]();}['_registerDependencies'](){var _0x27a25a=_0x5aed06,_0x2c04ee,_0x154914;this[_0x27a25a(0x1a3)][_0x27a25a(0x3c3)](a['IUndoRedoService'])&&this[_0x27a25a(0x496)][_0x27a25a(0x3ac)](_0x27a25a(0x1d0),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x599478=a[_0x27a25a(0x309)]([[a[_0x27a25a(0x44d)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x27a25a(0x2a5)]],[exports[_0x27a25a(0x195)]],[exports[_0x27a25a(0x494)]],[ye],[Ne],[$e],[Ue],[ee],[exports['DataLoaderService']],[He,{'useClass':this['_config'][_0x27a25a(0x30f)]}],[I[_0x27a25a(0x3fa)],{'useClass':exports[_0x27a25a(0x43e)]}],[a[_0x27a25a(0x447)],{'useClass':exports[_0x27a25a(0x4e2)]}],[z[_0x27a25a(0x2c6)],{'useClass':exports[_0x27a25a(0x2bd)]}],[a[_0x27a25a(0x4c4)],{'useClass':exports[_0x27a25a(0x3e6)]}],[exports[_0x27a25a(0x331)]],[xe]],(_0x2c04ee=this[_0x27a25a(0x1b8)])==null?void 0x0:_0x2c04ee[_0x27a25a(0x24c)]);if(!((_0x154914=this[_0x27a25a(0x1b8)])!=null&&_0x154914['enableSingleActiveInstanceLock'])){const _0x46682f=_0x599478['findIndex'](([_0x346689])=>_0x346689===de);_0x46682f!==-0x1&&_0x599478[_0x27a25a(0x42a)](_0x46682f,0x1);}a[_0x27a25a(0x3ea)](this[_0x27a25a(0x1a3)],_0x599478);}[_0x5aed06(0x499)](){var _0x2d0e89=_0x5aed06,_0x3d0337,_0x19f4f4,_0x81995f;this[_0x2d0e89(0x1a3)]['get'](Y['HTTPService'])[_0x2d0e89(0x47b)]({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3d0337=this['_config'])!=null&&_0x3d0337[_0x2d0e89(0x1ee)]||(_0x19f4f4=this[_0x2d0e89(0x1a3)][_0x2d0e89(0x4d1)](q,a[_0x2d0e89(0x4cc)]['OPTIONAL']))==null||_0x19f4f4[_0x2d0e89(0x37d)](),(_0x81995f=this['_config'])!=null&&_0x81995f['enableAuthServer']&&a[_0x2d0e89(0x480)](this[_0x2d0e89(0x1a3)],[[ye]]),a[_0x2d0e89(0x480)](this[_0x2d0e89(0x1a3)],[[Ne],[exports['CollaborationController']],[Ue]]);}},Dn(exports[_0x5aed06(0x3f1)],_0x5aed06(0x2be),An),exports['UniverCollaborationClientPlugin']=Un([a[_0x5aed06(0x205)](I[_0x5aed06(0x191)],Y[_0x5aed06(0x1c7)]),Me(0x1,a[_0x5aed06(0x2c4)]),Me(0x2,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),Me(0x3,a[_0x5aed06(0x3a7)])],exports[_0x5aed06(0x3f1)]),exports[_0x5aed06(0x1f1)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=K,exports[_0x5aed06(0x44f)]=pt,exports[_0x5aed06(0x234)]=ut,exports[_0x5aed06(0x31a)]=Be,exports[_0x5aed06(0x4a0)]=Z,exports[_0x5aed06(0x1e3)]=ee,exports[_0x5aed06(0x30a)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x5aed06(0x1df)]=Kt,exports[_0x5aed06(0x27d)]=kt,exports[_0x5aed06(0x289)]=vt,exports[_0x5aed06(0x18a)]=ke,exports[_0x5aed06(0x305)]=He,exports['ILocalCacheService']=q,exports[_0x5aed06(0x36e)]=mt,exports['ISingleActiveUnitService']=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports[_0x5aed06(0x298)]=Bt,exports[_0x5aed06(0x2ed)]=It,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Gt,exports[_0x5aed06(0x307)]=ft,exports[_0x5aed06(0x34b)]=Mt,exports[_0x5aed06(0x23e)]=_t,exports[_0x5aed06(0x365)]=lt,exports['SessionStatus']=re,exports['UnitStatus']=je,exports[_0x5aed06(0x2e6)]=Ct,exports['getLocalCacheKey']=oi,exports[_0x5aed06(0x41c)]=Tt;
|
1
|
+
'use strict';var _0x25fdaf=_0x305e;(function(_0x4b7acb,_0x40518f){var _0x7bc264=_0x305e,_0x1b0394=_0x4b7acb();while(!![]){try{var _0x5a3c90=-parseInt(_0x7bc264(0x2e4))/0x1+-parseInt(_0x7bc264(0x4c1))/0x2+-parseInt(_0x7bc264(0x474))/0x3+parseInt(_0x7bc264(0x2c3))/0x4*(-parseInt(_0x7bc264(0x35b))/0x5)+parseInt(_0x7bc264(0x4fe))/0x6+-parseInt(_0x7bc264(0x4b1))/0x7+parseInt(_0x7bc264(0x426))/0x8*(parseInt(_0x7bc264(0x385))/0x9);if(_0x5a3c90===_0x40518f)break;else _0x1b0394['push'](_0x1b0394['shift']());}catch(_0x426756){_0x1b0394['push'](_0x1b0394['shift']());}}}(_0x1691,0x9b141));var Dt=Object[_0x25fdaf(0x1bf)],At=(_0x235cfd,_0x4dfae8,_0x56c56f)=>_0x4dfae8 in _0x235cfd?Dt(_0x235cfd,_0x4dfae8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56c56f}):_0x235cfd[_0x4dfae8]=_0x56c56f,A=(_0xb76d10,_0x2ed88e,_0x5c86cd)=>At(_0xb76d10,typeof _0x2ed88e!=_0x25fdaf(0x35f)?_0x2ed88e+'':_0x2ed88e,_0x5c86cd);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x25fdaf(0x39e)),$=require(_0x25fdaf(0x2d0)),V=require(_0x25fdaf(0x1b8)),I=require('@univerjs-pro/collaboration'),Y=require('@univerjs/network'),Pt=require(_0x25fdaf(0x3e4)),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require(_0x25fdaf(0x293)),wt=require(_0x25fdaf(0x1f2)),_t=_0x25fdaf(0x26d),Lt=_0x25fdaf(0x2c7),lt=_0x25fdaf(0x3aa),Mt=_0x25fdaf(0x48f),xt=0x7d0,ut=_0x25fdaf(0x2ff),dt=_0x25fdaf(0x4ea),kt=_0x25fdaf(0x2f7),vt=_0x25fdaf(0x472),Ht=0x7530,ke=_0x25fdaf(0x30e),St=0x4e20,$t=0x4e20,ft=_0x25fdaf(0x30b),jt=0x3,Bt=_0x25fdaf(0x30a),Ft=0x3e8,pt='COLLAB_SUBMIT_CHANGESET_URL',Vt=_0x25fdaf(0x499),It=_0x25fdaf(0x22d),Wt=_0x25fdaf(0x2be),Gt=_0x25fdaf(0x370),Kt=_0x25fdaf(0x2b3);var gt=(_0x2202c6=>(_0x2202c6[_0x2202c6[_0x25fdaf(0x49b)]=0x0]=_0x25fdaf(0x49b),_0x2202c6[_0x2202c6['OK']=0x1]='OK',_0x2202c6[_0x2202c6['INTERNAL_ERROR']=0x2]=_0x25fdaf(0x24b),_0x2202c6[_0x2202c6['PERMISSION_DENIED']=0x3]=_0x25fdaf(0x3e2),_0x2202c6[_0x2202c6[_0x25fdaf(0x3a0)]=0x4]='NOT_FOUND',_0x2202c6[_0x2202c6['UNAUTHENTICATED']=0x5]=_0x25fdaf(0x479),_0x2202c6[_0x2202c6['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2202c6[_0x2202c6[_0x25fdaf(0x412)]=0x7]='INVALID_ARGUMENT',_0x2202c6[_0x2202c6[_0x25fdaf(0x38d)]=0x8]=_0x25fdaf(0x38d),_0x2202c6[_0x2202c6[_0x25fdaf(0x478)]=0x9]='COMPLETION_FINISHED',_0x2202c6[_0x2202c6[_0x25fdaf(0x228)]=0xa]=_0x25fdaf(0x228),_0x2202c6[_0x2202c6[_0x25fdaf(0x25a)]=0x1389]=_0x25fdaf(0x25a),_0x2202c6[_0x2202c6[_0x25fdaf(0x2b6)]=0x1771]=_0x25fdaf(0x2b6),_0x2202c6[_0x2202c6['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x25fdaf(0x4d7),_0x2202c6[_0x2202c6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x25fdaf(0x1db),_0x2202c6[_0x2202c6[_0x25fdaf(0x229)]=0x1b59]='APPLY_REJECT',_0x2202c6[_0x2202c6['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x25fdaf(0x345),_0x2202c6[_0x2202c6[_0x25fdaf(0x3f9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2202c6[_0x2202c6['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2202c6[_0x2202c6['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x2202c6[_0x2202c6[_0x25fdaf(0x24a)]=0x1f41]=_0x25fdaf(0x24a),_0x2202c6[_0x2202c6[_0x25fdaf(0x315)]=0x2329]=_0x25fdaf(0x315),_0x2202c6[_0x2202c6[_0x25fdaf(0x2ba)]=0x232a]=_0x25fdaf(0x2ba),_0x2202c6[_0x2202c6[_0x25fdaf(0x3af)]=0x232b]=_0x25fdaf(0x3af),_0x2202c6[_0x2202c6[_0x25fdaf(0x505)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2202c6[_0x2202c6[_0x25fdaf(0x510)]=0x232d]=_0x25fdaf(0x510),_0x2202c6[_0x2202c6['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x25fdaf(0x4f8),_0x2202c6[_0x2202c6[_0x25fdaf(0x454)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2202c6[_0x2202c6[_0x25fdaf(0x2e6)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2202c6[_0x2202c6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2202c6[_0x2202c6[_0x25fdaf(0x50a)]=0x271a]=_0x25fdaf(0x50a),_0x2202c6[_0x2202c6[_0x25fdaf(0x4ae)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2202c6[_0x2202c6[_0x25fdaf(0x326)]=0x271c]=_0x25fdaf(0x326),_0x2202c6[_0x2202c6[_0x25fdaf(0x20c)]=0x271d]=_0x25fdaf(0x20c),_0x2202c6[_0x2202c6[_0x25fdaf(0x389)]=0x271e]=_0x25fdaf(0x389),_0x2202c6[_0x2202c6['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x2202c6[_0x2202c6[_0x25fdaf(0x271)]=0x2af9]=_0x25fdaf(0x271),_0x2202c6[_0x2202c6[_0x25fdaf(0x34a)]=0x2ee1]=_0x25fdaf(0x34a),_0x2202c6[_0x2202c6[_0x25fdaf(0x344)]=0x2ee2]=_0x25fdaf(0x344),_0x2202c6[_0x2202c6['INVITE_CODE_REQUIRED']=0x2ee3]=_0x25fdaf(0x317),_0x2202c6[_0x2202c6[_0x25fdaf(0x443)]=0x2ee4]=_0x25fdaf(0x443),_0x2202c6[_0x2202c6['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x25fdaf(0x3c6),_0x2202c6[_0x2202c6['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x25fdaf(0x4c3),_0x2202c6[_0x2202c6[_0x25fdaf(0x224)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2202c6[_0x2202c6[_0x25fdaf(0x2e8)]=0x32cb]=_0x25fdaf(0x2e8),_0x2202c6[_0x2202c6[_0x25fdaf(0x328)]=-0x1]='UNRECOGNIZED',_0x2202c6))(gt||{}),J=(_0x4166db=>(_0x4166db[_0x4166db[_0x25fdaf(0x430)]=0x0]=_0x25fdaf(0x430),_0x4166db[_0x4166db[_0x25fdaf(0x1e0)]=0x1]=_0x25fdaf(0x1e0),_0x4166db[_0x4166db['UNIVER_SHEET']=0x2]=_0x25fdaf(0x3f5),_0x4166db[_0x4166db[_0x25fdaf(0x2e9)]=0x3]=_0x25fdaf(0x2e9),_0x4166db[_0x4166db[_0x25fdaf(0x246)]=0x4]=_0x25fdaf(0x246),_0x4166db[_0x4166db[_0x25fdaf(0x328)]=-0x1]=_0x25fdaf(0x328),_0x4166db))(J||{}),W=(_0x1d77b9=>(_0x1d77b9[_0x1d77b9[_0x25fdaf(0x382)]=0x0]=_0x25fdaf(0x382),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x332)]=0x1]=_0x25fdaf(0x332),_0x1d77b9[_0x1d77b9['JOIN']=0x2]=_0x25fdaf(0x401),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x3ac)]=0x3]=_0x25fdaf(0x3ac),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x4d9)]=0x4]=_0x25fdaf(0x4d9),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x489)]=0x5]=_0x25fdaf(0x489),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x3fe)]=0x6]=_0x25fdaf(0x3fe),_0x1d77b9[_0x1d77b9['UNRECOGNIZED']=-0x1]=_0x25fdaf(0x328),_0x1d77b9))(W||{}),oe=(_0x28dd8b=>(_0x28dd8b[_0x28dd8b[_0x25fdaf(0x3a1)]=0x0]=_0x25fdaf(0x3a1),_0x28dd8b[_0x28dd8b['OK']=0x1]='OK',_0x28dd8b[_0x28dd8b[_0x25fdaf(0x2a4)]=0x2]=_0x25fdaf(0x2a4),_0x28dd8b[_0x28dd8b[_0x25fdaf(0x20e)]=0x3e9]=_0x25fdaf(0x20e),_0x28dd8b[_0x28dd8b['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x28dd8b[_0x28dd8b[_0x25fdaf(0x512)]=0x3eb]=_0x25fdaf(0x512),_0x28dd8b[_0x28dd8b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x25fdaf(0x2f8),_0x28dd8b[_0x28dd8b[_0x25fdaf(0x328)]=-0x1]='UNRECOGNIZED',_0x28dd8b))(oe||{}),Et=(_0x3e54e1=>(_0x3e54e1[_0x3e54e1[_0x25fdaf(0x488)]=0x0]='Undefined',_0x3e54e1[_0x3e54e1[_0x25fdaf(0x402)]=0x1]=_0x25fdaf(0x402),_0x3e54e1[_0x3e54e1['HttpExport']=0x2]='HttpExport',_0x3e54e1[_0x3e54e1['UnitEmbedded']=0x3]=_0x25fdaf(0x3e8),_0x3e54e1[_0x3e54e1[_0x25fdaf(0x2e0)]=0x4]=_0x25fdaf(0x2e0),_0x3e54e1[_0x3e54e1[_0x25fdaf(0x3fd)]=0x5]=_0x25fdaf(0x3fd),_0x3e54e1[_0x3e54e1[_0x25fdaf(0x328)]=-0x1]=_0x25fdaf(0x328),_0x3e54e1))(Et||{});const K='collaboration-client.config',Yt={};var Z=(_0x344ab0=>(_0x344ab0[_0x25fdaf(0x50b)]=_0x25fdaf(0x50b),_0x344ab0[_0x25fdaf(0x3e2)]=_0x25fdaf(0x3e2),_0x344ab0[_0x25fdaf(0x375)]='CONFLICT',_0x344ab0[_0x25fdaf(0x36f)]=_0x25fdaf(0x36f),_0x344ab0[_0x25fdaf(0x31a)]='JOIN_ROOM_FAILED',_0x344ab0[_0x25fdaf(0x278)]=_0x25fdaf(0x278),_0x344ab0[_0x25fdaf(0x51a)]=_0x25fdaf(0x51a),_0x344ab0[_0x25fdaf(0x41c)]='SUBMIT_CHANGESET_TIMEOUT',_0x344ab0))(Z||{});class ee{constructor(){var _0x108343=_0x25fdaf;A(this,'_event$',new $[(_0x108343(0x23d))]()),A(this,_0x108343(0x4d0),this['_event$'][_0x108343(0x266)]());}[_0x25fdaf(0x297)](_0x526f60){var _0xf163fb=_0x25fdaf;this[_0xf163fb(0x39a)]['next'](_0x526f60);}}const mt=a[_0x25fdaf(0x3db)](_0x25fdaf(0x3fa));function Ct(_0x2a16c6){var _0x5ae973=_0x25fdaf,_0x25e7fa,_0x2f0d54,_0x1a00e7,_0x439da8,_0x48d748;const _0x40aca2=_0x2a16c6['data'],_0x54decf=JSON[_0x5ae973(0x3ed)](_0x40aca2);switch(_0x54decf['cmd']){case W[_0x5ae973(0x489)]:case W[_0x5ae973(0x332)]:{const _0x7b8101=_0x54decf[_0x5ae973(0x333)];return{..._0x54decf,'data':_0x7b8101,'cmd':_0x54decf[_0x5ae973(0x3f8)]};}case W[_0x5ae973(0x401)]:{const _0x368644=_0x54decf[_0x5ae973(0x276)];return{..._0x54decf,'data':_0x368644,'cmd':_0x54decf['cmd']};}case W[_0x5ae973(0x3fe)]:{const _0x466f0e=_0x54decf[_0x5ae973(0x272)];switch(_0x466f0e[_0x5ae973(0x353)]){case I[_0x5ae973(0x1e4)][_0x5ae973(0x1d6)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x25e7fa=_0x466f0e[_0x5ae973(0x4fb)])==null?void 0x0:_0x25e7fa['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x1c8)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x2f0d54=_0x466f0e[_0x5ae973(0x29f)])==null?void 0x0:_0x2f0d54['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I['CollaborationEvent'][_0x5ae973(0x2c5)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x1a00e7=_0x466f0e[_0x5ae973(0x3b3)])==null?void 0x0:_0x1a00e7['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I['CollaborationEvent']['CHANGESET_REJ']:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x439da8=_0x466f0e['csRejEvent'])==null?void 0x0:_0x439da8['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x2ed)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x48d748=_0x466f0e['csShouldRetryEvent'])==null?void 0x0:_0x48d748['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x26f)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['updateCursorEvent']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x1bd)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x1f6)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x239)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x377)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x509)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['liveShareNewHost']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x322)]:case I[_0x5ae973(0x1e4)][_0x5ae973(0x367)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x3cc)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x36e)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['liveShareNewHost']},'cmd':_0x54decf['cmd']};case I['CollaborationEvent'][_0x5ae973(0x3c4)]:return{..._0x54decf,'data':_0x466f0e,'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x418)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x390)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I['CollaborationEvent'][_0x5ae973(0x493)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['updatePermissionObjEvent']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x4fd)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['shouldCloseConn']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x4b4)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x32b)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};default:return _0x54decf;}}default:return _0x54decf;}}function Tt(_0x3e5d7a){var _0x4b0443=_0x25fdaf;switch(_0x3e5d7a[_0x4b0443(0x3f8)]){case W[_0x4b0443(0x489)]:case W[_0x4b0443(0x332)]:return JSON[_0x4b0443(0x4eb)]({'cmd':_0x3e5d7a['cmd'],'routeKey':_0x3e5d7a[_0x4b0443(0x352)]});case W['INGEST']:{let _0x4d7c8b;switch(_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x353)]){case I[_0x4b0443(0x1e4)][_0x4b0443(0x26f)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x26f)],'updateCursorEvent':_0x3e5d7a[_0x4b0443(0x1c9)]['data']};break;}case I['CollaborationEvent'][_0x4b0443(0x239)]:{_0x4d7c8b={'eventID':I['CollaborationEvent'][_0x4b0443(0x239)],'leaveEvent':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x1c9)]};break;}case I['CollaborationEvent'][_0x4b0443(0x1bd)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)]['USERS_ENTER'],'joinEvent':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x1c9)]};break;}case I[_0x4b0443(0x1e4)][_0x4b0443(0x509)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x509)],'liveShareNewHost':_0x3e5d7a[_0x4b0443(0x1c9)]['data']};break;}case I[_0x4b0443(0x1e4)][_0x4b0443(0x367)]:{_0x4d7c8b={'eventID':I['CollaborationEvent'][_0x4b0443(0x367)],'liveShareOperation':_0x3e5d7a['data']['data']};break;}case I[_0x4b0443(0x1e4)][_0x4b0443(0x36e)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x36e)],'liveShareTerminate':_0x3e5d7a['data'][_0x4b0443(0x1c9)]};break;}case I['CollaborationEvent'][_0x4b0443(0x43c)]:{_0x4d7c8b={'eventID':I['CollaborationEvent'][_0x4b0443(0x43c)],'liveShareRequestHost':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x1c9)]};break;}case I['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x322)]};break;}default:_0x4d7c8b={'eventID':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x353)]};}return JSON['stringify']({'cmd':_0x3e5d7a['cmd'],'routeKey':_0x3e5d7a['routeKey'],'collaMsg':_0x4d7c8b});}case W[_0x4b0443(0x401)]:return JSON[_0x4b0443(0x4eb)]({'cmd':_0x3e5d7a[_0x4b0443(0x3f8)],'routeKey':_0x3e5d7a['routeKey'],'joinReq':_0x3e5d7a[_0x4b0443(0x1c9)]});case W[_0x4b0443(0x3ac)]:return JSON[_0x4b0443(0x4eb)]({'cmd':_0x3e5d7a[_0x4b0443(0x3f8)],'routeKey':_0x3e5d7a[_0x4b0443(0x352)],'leaveReq':_0x3e5d7a[_0x4b0443(0x1c9)]});default:throw new Error(_0x4b0443(0x1d9));}}var qt=Object[_0x25fdaf(0x4ca)],zt=(_0x1d8d60,_0x90b2f6,_0x454f82,_0x92baa4)=>{var _0x4c55b6=_0x25fdaf;for(var _0x3a5575=_0x92baa4>0x1?void 0x0:_0x92baa4?qt(_0x90b2f6,_0x454f82):_0x90b2f6,_0x3e8835=_0x1d8d60[_0x4c55b6(0x27c)]-0x1,_0xa53a3c;_0x3e8835>=0x0;_0x3e8835--)(_0xa53a3c=_0x1d8d60[_0x3e8835])&&(_0x3a5575=_0xa53a3c(_0x3a5575)||_0x3a5575);return _0x3a5575;},_e=(_0x54be5e,_0x1b18fb)=>(_0x5c143b,_0x59abd8)=>_0x1b18fb(_0x5c143b,_0x59abd8,_0x54be5e);const He=a['createIdentifier'](_0x25fdaf(0x211));function Jt(_0x4d0d2b,_0x218bcf,_0x82c56){var _0x1a52eb=_0x25fdaf;return _0x4d0d2b+'/'+_0x218bcf+_0x1a52eb(0x3ba)+_0x82c56+_0x1a52eb(0x409);}exports[_0x25fdaf(0x39b)]=class extends a[_0x25fdaf(0x2a0)]{constructor(_0x26759a,_0x3e81e6,_0x3396dc,_0x40b77d,_0x7c740f){var _0x3c5946=_0x25fdaf;super(),this[_0x3c5946(0x307)]=_0x26759a,this['_httpService']=_0x3e81e6,this['_configService']=_0x3396dc,this[_0x3c5946(0x207)]=_0x40b77d,this[_0x3c5946(0x30d)]=_0x7c740f;}[_0x25fdaf(0x327)](_0x17a545){var _0x144525=_0x25fdaf;const _0x15cea5=this[_0x144525(0x307)][_0x144525(0x4bb)](Y['ISocketService']);if(!_0x15cea5)throw new Error(_0x144525(0x21b));const _0x378698=_0x15cea5['createSocket'](_0x17a545);if(!_0x378698)throw new Error(_0x144525(0x50f));const _0x5c4be5=new a[(_0x144525(0x494))](),_0x1687b4=new $[(_0x144525(0x23d))]();_0x5c4be5[_0x144525(0x225)](_0x378698['close$'][_0x144525(0x4dd)](_0x4e3872=>_0x1687b4['next'](_0x4e3872))),_0x5c4be5[_0x144525(0x225)](a[_0x144525(0x38a)](()=>_0x1687b4[_0x144525(0x4b3)]()));const _0x245225=new $[(_0x144525(0x23d))]();_0x5c4be5[_0x144525(0x225)](_0x378698['error$']['subscribe'](_0x597895=>_0x245225[_0x144525(0x44d)](_0x597895))),_0x5c4be5[_0x144525(0x225)](a[_0x144525(0x38a)](()=>_0x245225[_0x144525(0x4b3)]()));const _0x1e2617=new $[(_0x144525(0x23d))]();_0x5c4be5[_0x144525(0x225)](_0x378698[_0x144525(0x4e2)]['subscribe'](_0xb6236a=>{const _0x301947=Ct(_0xb6236a);_0x1e2617['next'](_0x301947);})),_0x5c4be5['add'](a['toDisposable'](()=>_0x1e2617['complete']()));let _0x35fda5;const _0x498e4c=()=>{var _0x231cba=_0x144525;_0x245225[_0x231cba(0x44d)](new Event('connection\x20error')),_0x1687b4[_0x231cba(0x44d)](new Event(_0x231cba(0x2d5))),_0x35fda5[_0x231cba(0x405)]();};return _0x35fda5={'memberID':'','close$':_0x1687b4[_0x144525(0x266)](),'error$':_0x245225[_0x144525(0x266)](),'open$':_0x378698[_0x144525(0x1fd)],'message$':_0x1e2617['asObservable'](),'send':_0x111772=>{var _0x12088f=_0x144525;if(_0x111772['cmd']===W['INGEST']){if(_0x111772[_0x12088f(0x1c9)][_0x12088f(0x353)]===I['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x12088f(0x432)](_0x35fda5,_0x111772[_0x12088f(0x1c9)])[_0x12088f(0x4ce)](_0x79efd0=>{var _0x28b3f7=_0x12088f;this[_0x28b3f7(0x207)][_0x28b3f7(0x2d3)](_0x79efd0),_0x498e4c();});return;}if(_0x111772[_0x12088f(0x1c9)]['eventID']===I['CollaborationEvent']['FETCH_MISSING']){const _0x344b1b=_0x111772['data'];this[_0x12088f(0x4bc)](_0x344b1b)[_0x12088f(0x46b)](_0x13bbc1=>{var _0x18fa71=_0x12088f;_0x1e2617[_0x18fa71(0x44d)]({'cmd':W[_0x18fa71(0x3fe)],'code':oe['OK'],'routeKey':_0x344b1b[_0x18fa71(0x1c9)]['unitID'],'routeType':'','data':{'eventID':I[_0x18fa71(0x1e4)][_0x18fa71(0x4a5)],'data':{'changesets':_0x13bbc1}}});})[_0x12088f(0x4ce)](_0x37fdf8=>{var _0x3f730d=_0x12088f;this[_0x3f730d(0x207)][_0x3f730d(0x2d3)](_0x37fdf8),_0x498e4c();});return;}}_0x378698[_0x12088f(0x3ec)](Tt(_0x111772));},'close':()=>{var _0x55485=_0x144525;_0x378698[_0x55485(0x405)](),_0x5c4be5[_0x55485(0x465)]();}},_0x35fda5;}async[_0x25fdaf(0x432)](_0x58f2f8,_0x6f2224){var _0x4f7cd3=_0x25fdaf,_0xd839f9,_0x5bcdf3;const {unitType:_0x4bd81c,unitID:_0x16ca89,changeset:_0x273e6d}=_0x6f2224[_0x4f7cd3(0x1c9)],_0x4ccd65={'unitID':_0x16ca89,'memberID':_0x58f2f8[_0x4f7cd3(0x33e)],'type':_0x4bd81c,'changeset':I[_0x4f7cd3(0x372)](_0x273e6d)},_0x23c501=this[_0x4f7cd3(0x2f0)][_0x4f7cd3(0x507)](pt),_0x4218da=this[_0x4f7cd3(0x2f0)][_0x4f7cd3(0x507)](K),_0x2b41d4=Jt((_0x5bcdf3=(_0xd839f9=_0x4218da==null?void 0x0:_0x4218da['collabSubmitChangesetUrl'])!=null?_0xd839f9:_0x23c501)!=null?_0x5bcdf3:Vt,_0x4bd81c,_0x16ca89);try{await this[_0x4f7cd3(0x35c)][_0x4f7cd3(0x22e)](_0x2b41d4,{'body':_0x4ccd65});}catch(_0x3c61f9){throw this[_0x4f7cd3(0x207)][_0x4f7cd3(0x2d3)]('[CollaborationSession]',_0x4f7cd3(0x3a9)),_0x3c61f9;}}async['_fetchMissChangesets'](_0x3428b4){var _0x1e5cdf=_0x25fdaf;const {unitID:_0x4b77e0,from:_0x34cd79,to:_0x20c8c8,unitType:_0x4d0f9b}=_0x3428b4[_0x1e5cdf(0x1c9)];return(await this[_0x1e5cdf(0x30d)][_0x1e5cdf(0x455)]({'metadata':void 0x0},{'unitID':_0x4b77e0,'type':_0x4d0f9b,'from':_0x34cd79,'to':_0x20c8c8}))['changesets'];}},exports[_0x25fdaf(0x39b)]=zt([_e(0x0,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),_e(0x1,a['Inject'](Y[_0x25fdaf(0x3b9)])),_e(0x2,a['IConfigService']),_e(0x3,a['ILogService']),_e(0x4,I[_0x25fdaf(0x378)])],exports[_0x25fdaf(0x39b)]);const Xt=_0x25fdaf(0x40b);function Zt(_0x232edc){var _0x19e6ca=_0x25fdaf;return JSON[_0x19e6ca(0x4eb)](_0x232edc)[_0x19e6ca(0x27c)];}class $e{constructor(){var _0x4db4fe=_0x25fdaf;A(this,_0x4db4fe(0x4d4),new $['Subject']()),A(this,'commentUpdate$',this[_0x4db4fe(0x4d4)][_0x4db4fe(0x266)]());}['onCommentUpdate'](_0x2a2aa4){var _0x528b59=_0x25fdaf;this[_0x528b59(0x4d4)][_0x528b59(0x44d)](_0x2a2aa4);}}var Qt=Object[_0x25fdaf(0x4ca)],ei=(_0x5d4268,_0x14b831,_0x316351,_0x19ee73)=>{var _0x31f948=_0x25fdaf;for(var _0x1de2a7=_0x19ee73>0x1?void 0x0:_0x19ee73?Qt(_0x14b831,_0x316351):_0x14b831,_0x10f37b=_0x5d4268[_0x31f948(0x27c)]-0x1,_0x4a27fb;_0x10f37b>=0x0;_0x10f37b--)(_0x4a27fb=_0x5d4268[_0x10f37b])&&(_0x1de2a7=_0x4a27fb(_0x1de2a7)||_0x1de2a7);return _0x1de2a7;},We=(_0x2ec556,_0x3604d8)=>(_0x4ca913,_0x220b92)=>_0x3604d8(_0x4ca913,_0x220b92,_0x2ec556);exports['MemberService']=class extends a['Disposable']{constructor(_0x527b4f,_0x52cbf2){var _0x261602=_0x25fdaf;super(),A(this,_0x261602(0x206),new Map()),A(this,'_roomCreated$',new $['Subject']()),(this[_0x261602(0x43b)]=_0x527b4f,this[_0x261602(0x4c6)]=_0x52cbf2,this[_0x261602(0x49f)]($['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x261602(0x31e)][_0x261602(0x3f5)])[_0x261602(0x310)](V[_0x261602(0x1ba)](_0x4e601e=>_0x4e601e[_0x261602(0x3dc)]())),this[_0x261602(0x43b)][_0x261602(0x201)](a[_0x261602(0x31e)]['UNIVER_DOC'])['pipe'](V[_0x261602(0x1ba)](_0x46184f=>_0x46184f[_0x261602(0x3dc)]())),this[_0x261602(0x43b)][_0x261602(0x201)](a[_0x261602(0x31e)]['UNIVER_SLIDE'])[_0x261602(0x310)](V[_0x261602(0x1ba)](_0x477846=>_0x477846[_0x261602(0x3dc)]())))[_0x261602(0x4dd)](_0x13902b=>this[_0x261602(0x398)](_0x13902b))));}['waitForRoom$'](_0x207d41){var _0x343fc4=_0x25fdaf;return this[_0x343fc4(0x206)]['has'](_0x207d41)?$['of'](this[_0x343fc4(0x206)][_0x343fc4(0x4bb)](_0x207d41)):this[_0x343fc4(0x1f3)][_0x343fc4(0x310)](V[_0x343fc4(0x1ba)](_0x597b17=>{var _0x15fca1=_0x343fc4;if(_0x597b17===_0x207d41)return this[_0x15fca1(0x206)][_0x15fca1(0x4bb)](_0x597b17);}));}[_0x25fdaf(0x2bb)](_0x57d027){this['_userManagerService']['setCurrentUser'](_0x57d027);}[_0x25fdaf(0x475)](){var _0x2b814c=_0x25fdaf;return this[_0x2b814c(0x4c6)][_0x2b814c(0x475)]();}[_0x25fdaf(0x4cf)](_0x454d47,_0x58adea){var _0x38db78=_0x25fdaf;let _0xe80c00=this[_0x38db78(0x206)][_0x38db78(0x4bb)](_0x454d47);_0xe80c00||(_0xe80c00=new ti(),this[_0x38db78(0x206)][_0x38db78(0x397)](_0x454d47,_0xe80c00),this[_0x38db78(0x1f3)][_0x38db78(0x44d)](_0x454d47)),_0xe80c00[_0x38db78(0x4cf)](_0x58adea);}[_0x25fdaf(0x3e1)](_0x46c768,_0xb83faa){var _0x3fc137=_0x25fdaf;const _0x291422=this[_0x3fc137(0x206)][_0x3fc137(0x4bb)](_0x46c768);_0x291422&&_0x291422[_0x3fc137(0x3e1)](_0xb83faa);}['getRoom'](_0x392a36){var _0x18a853=_0x25fdaf;return this[_0x18a853(0x206)][_0x18a853(0x4bb)](_0x392a36);}['getMember'](_0x47e553,_0x227193){var _0x1acbcb=_0x25fdaf;const _0x29d3b8=this[_0x1acbcb(0x206)][_0x1acbcb(0x4bb)](_0x47e553);if(_0x29d3b8)return _0x29d3b8[_0x1acbcb(0x218)](_0x227193);}[_0x25fdaf(0x398)](_0x4a758c){var _0x5df70f=_0x25fdaf;const _0x340f19=this['_roomMembers'][_0x5df70f(0x4bb)](_0x4a758c);_0x340f19&&(_0x340f19[_0x5df70f(0x465)](),this[_0x5df70f(0x206)][_0x5df70f(0x257)](_0x4a758c));}[_0x25fdaf(0x465)](){var _0x431e2e=_0x25fdaf;this[_0x431e2e(0x206)][_0x431e2e(0x265)](_0x5cef7c=>_0x5cef7c['dispose']()),this['_roomMembers'][_0x431e2e(0x3e9)](),this[_0x431e2e(0x1f3)]['complete']();}},exports[_0x25fdaf(0x303)]=ei([We(0x0,a[_0x25fdaf(0x379)]),We(0x1,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x26a)]))],exports[_0x25fdaf(0x303)]);class ti extends a[_0x25fdaf(0x2a0)]{constructor(){var _0xcc1819=_0x25fdaf;super(...arguments),A(this,_0xcc1819(0x1e3),new Map()),A(this,_0xcc1819(0x431),new $[(_0xcc1819(0x3cf))](this[_0xcc1819(0x1e3)])),A(this,_0xcc1819(0x2f9),this[_0xcc1819(0x431)]['asObservable']());}['dispose'](){var _0x5cea14=_0x25fdaf;this[_0x5cea14(0x1e3)][_0x5cea14(0x3e9)]();}[_0x25fdaf(0x4cf)](_0x49054f){var _0x4ad872=_0x25fdaf;this['_members'][_0x4ad872(0x397)](_0x49054f[_0x4ad872(0x33e)],_0x49054f),this[_0x4ad872(0x48c)]();}[_0x25fdaf(0x3e1)](_0x2f8b5b){var _0x40568e=_0x25fdaf;this[_0x40568e(0x1e3)]['delete'](_0x2f8b5b);}[_0x25fdaf(0x218)](_0x306574){var _0x317bb7=_0x25fdaf;return this['_members'][_0x317bb7(0x4bb)](_0x306574);}['getAllMembers'](){var _0x438b6e=_0x25fdaf;return Array[_0x438b6e(0x2ee)](this[_0x438b6e(0x1e3)]['values']());}['_emitMembers'](){var _0x13633b=_0x25fdaf;this[_0x13633b(0x431)][_0x13633b(0x44d)](this[_0x13633b(0x1e3)]);}}var ii=Object[_0x25fdaf(0x4ca)],ni=(_0x4abe24,_0x229f8b,_0x32040e,_0x5ba148)=>{var _0x1200fc=_0x25fdaf;for(var _0x27bed2=_0x5ba148>0x1?void 0x0:_0x5ba148?ii(_0x229f8b,_0x32040e):_0x229f8b,_0x376a0b=_0x4abe24[_0x1200fc(0x27c)]-0x1,_0x16054c;_0x376a0b>=0x0;_0x376a0b--)(_0x16054c=_0x4abe24[_0x376a0b])&&(_0x27bed2=_0x16054c(_0x27bed2)||_0x27bed2);return _0x27bed2;},se=(_0x450a6c,_0x2acc60)=>(_0xe46269,_0x5b1e4a)=>_0x2acc60(_0xe46269,_0x5b1e4a,_0x450a6c),re=(_0xc84849=>(_0xc84849[_0xc84849[_0x25fdaf(0x49c)]=0x0]='IDLE',_0xc84849[_0xc84849['JOINING']=0x1]=_0x25fdaf(0x342),_0xc84849[_0xc84849[_0x25fdaf(0x1e8)]=0x2]=_0x25fdaf(0x1e8),_0xc84849[_0xc84849[_0x25fdaf(0x323)]=0x3]=_0x25fdaf(0x323),_0xc84849))(re||{});const Ge={[oe[_0x25fdaf(0x2a4)]]:_0x25fdaf(0x1b2),[oe[_0x25fdaf(0x20e)]]:_0x25fdaf(0x296),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x25fdaf(0x302),[oe[_0x25fdaf(0x512)]]:_0x25fdaf(0x43a),[oe[_0x25fdaf(0x2f8)]]:'session.room-cnt-exceeds'};exports[_0x25fdaf(0x1ee)]=class extends a[_0x25fdaf(0x503)]{constructor(_0x3603d1,_0x21816f,_0x4527f2,_0x47fda3,_0xad7a45,_0x3dd6a2,_0x12ec4f,_0x165d37,_0x3a94f6){var _0x359260=_0x25fdaf;super(),A(this,_0x359260(0x3ff),new $['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x359260(0x3ff)]['asObservable']()),A(this,_0x359260(0x39a),new $['Subject']()),A(this,_0x359260(0x4d0),this[_0x359260(0x39a)][_0x359260(0x266)]()),A(this,'_socket'),A(this,_0x359260(0x3f2)),A(this,'_collaborationTimeoutTimer'),A(this,_0x359260(0x362),!0x1),A(this,_0x359260(0x45a),null),(this[_0x359260(0x450)]=_0x3603d1,this[_0x359260(0x207)]=_0x4527f2,this[_0x359260(0x2f0)]=_0x47fda3,this[_0x359260(0x4f6)]=_0xad7a45,this[_0x359260(0x1f0)]=_0x3dd6a2,this[_0x359260(0x48a)]=_0x12ec4f,this[_0x359260(0x33a)]=_0x165d37,this[_0x359260(0x31c)]=_0x3a94f6,this['_shouldReportTelemetry']=!!this[_0x359260(0x31c)],_0x21816f[_0x359260(0x310)]($[_0x359260(0x1b1)](this[_0x359260(0x3e6)]))[_0x359260(0x4dd)](_0x13ba3b=>{var _0x16a954=_0x359260,_0x1f9861;typeof _0x13ba3b>'u'||(this[_0x16a954(0x42e)]=_0x13ba3b,_0x13ba3b?(this[_0x16a954(0x47e)](_0x13ba3b),this[_0x16a954(0x3f2)]=_0x13ba3b[_0x16a954(0x4e2)][_0x16a954(0x4dd)](_0x1d538e=>{var _0x5df844=_0x16a954;_0x1d538e['routeKey']===this[_0x5df844(0x450)]&&this[_0x5df844(0x4a2)](_0x1d538e);})):(this[_0x16a954(0x22f)](),this[_0x16a954(0x3ff)][_0x16a954(0x44d)](0x2),(_0x1f9861=this['_socketMessageSubscription'])==null||_0x1f9861[_0x16a954(0x44e)](),this[_0x16a954(0x3f2)]=null));}));}get['sessionStatus'](){var _0x8a8ded=_0x25fdaf;return this[_0x8a8ded(0x3ff)][_0x8a8ded(0x381)]();}[_0x25fdaf(0x23a)](){var _0x38152d=_0x25fdaf,_0x255572,_0x3615aa;return(_0x3615aa=(_0x255572=this[_0x38152d(0x42e)])==null?void 0x0:_0x255572[_0x38152d(0x33e)])!=null?_0x3615aa:null;}[_0x25fdaf(0x465)](){var _0xeeb2ff=_0x25fdaf;super['dispose'](),this['dispose$']['next'](),this[_0xeeb2ff(0x3e6)][_0xeeb2ff(0x4b3)]();}[_0x25fdaf(0x405)](){var _0x5268e9=_0x25fdaf,_0x25d68e,_0x3afd28;this['_throwTelemetryCollaborationNewChangeset'](),(_0x25d68e=this['_socket'])==null||_0x25d68e[_0x5268e9(0x3ec)]({'cmd':W[_0x5268e9(0x3ac)],'data':{'roomID':this[_0x5268e9(0x450)]}}),(_0x3afd28=this[_0x5268e9(0x42e)])==null||_0x3afd28[_0x5268e9(0x405)](),this['_event$']['complete'](),this[_0x5268e9(0x3ff)][_0x5268e9(0x4b3)](),this[_0x5268e9(0x465)]();}[_0x25fdaf(0x4a2)](_0x52e0d9){var _0x37703e=_0x25fdaf;_0x52e0d9['cmd']===W[_0x37703e(0x401)]?this[_0x37703e(0x51f)](_0x52e0d9):_0x52e0d9[_0x37703e(0x3f8)]===W['RECV']&&this['_onRecvEvent'](_0x52e0d9);}[_0x25fdaf(0x47e)](_0x8e5de1){var _0x3236f3=_0x25fdaf;this[_0x3236f3(0x3ff)][_0x3236f3(0x44d)](0x1),_0x8e5de1[_0x3236f3(0x3ec)]({'cmd':W[_0x3236f3(0x401)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x25fdaf(0x51f)](_0x33ae30){var _0x4116d4=_0x25fdaf,_0x32b107;if(_0x33ae30[_0x4116d4(0x3ad)]in Ge){this[_0x4116d4(0x33a)]['emitEvent']({'id':Z[_0x4116d4(0x31a)],'data':Ge[_0x33ae30[_0x4116d4(0x3ad)]]}),this[_0x4116d4(0x3ff)]['next'](0x2);return;}this[_0x4116d4(0x3ff)][_0x4116d4(0x44d)](0x3);const _0x46761b=(_0x32b107=_0x33ae30[_0x4116d4(0x1c9)][_0x4116d4(0x369)][this[_0x4116d4(0x450)]])==null?void 0x0:_0x32b107[_0x4116d4(0x2b0)];_0x46761b&&_0x46761b['forEach'](_0xc9dd6=>this[_0x4116d4(0x1f0)]['updateMember'](this[_0x4116d4(0x450)],_0xc9dd6));}[_0x25fdaf(0x515)](_0x21f6ab){var _0x47e3d2=_0x25fdaf;try{const _0x10cfc4=_0x21f6ab[_0x47e3d2(0x1c9)];switch(_0x10cfc4[_0x47e3d2(0x353)]){case I[_0x47e3d2(0x1e4)]['USERS_ENTER']:this[_0x47e3d2(0x249)](_0x10cfc4),this[_0x47e3d2(0x39a)]['next'](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x239)]:this[_0x47e3d2(0x3ea)](_0x10cfc4),this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x1c8)]:case I['CollaborationEvent'][_0x47e3d2(0x2ed)]:this[_0x47e3d2(0x355)](),this[_0x47e3d2(0x34d)](),this['_event$'][_0x47e3d2(0x44d)](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x3c4)]:this['_logService']['error'](_0x47e3d2(0x3eb)+JSON[_0x47e3d2(0x4eb)](_0x10cfc4)),this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x418)]:this['_commentService']['onCommentUpdate'](_0x10cfc4[_0x47e3d2(0x1c9)]),this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);break;default:this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);}}catch(_0x539af0){this[_0x47e3d2(0x207)][_0x47e3d2(0x2d3)](_0x539af0,_0x21f6ab);}}[_0x25fdaf(0x249)](_0x288462){var _0x5437fb=_0x25fdaf;this['_memberService'][_0x5437fb(0x4cf)](this[_0x5437fb(0x450)],_0x288462[_0x5437fb(0x1c9)]);}['_onUserLeave'](_0x40593f){var _0x4240f8=_0x25fdaf;this[_0x4240f8(0x1f0)]['removeMember'](this['_unitID'],_0x40593f[_0x4240f8(0x1c9)][_0x4240f8(0x33e)]);}async[_0x25fdaf(0x3ec)](_0x12f6a6,_0x40aebf){var _0x32ef8b=_0x25fdaf;if(this[_0x32ef8b(0x294)]!==0x3||!this[_0x32ef8b(0x42e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x12f6a6[_0x32ef8b(0x353)]===I[_0x32ef8b(0x1e4)]['SUBMIT_CHANGESET']&&(this[_0x32ef8b(0x288)](),this['_startTelemetryCollaborationNewChangeset'](_0x12f6a6)),this[_0x32ef8b(0x42e)][_0x32ef8b(0x3ec)]({'cmd':W[_0x32ef8b(0x4d9)],'routeKey':_0x40aebf,'routeType':'','data':_0x12f6a6});}catch(_0x2fd416){this['_logService'][_0x32ef8b(0x2d3)](_0x2fd416);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5c89ec=_0x25fdaf,_0x3ee201;this[_0x5c89ec(0x4ff)]=setTimeout(()=>{var _0xc58ec5=_0x5c89ec;this[_0xc58ec5(0x4ff)]=null,this['_collaborationUIEventService'][_0xc58ec5(0x297)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3ee201=this[_0x5c89ec(0x2f0)][_0x5c89ec(0x507)](ke))!=null?_0x3ee201:St);}[_0x25fdaf(0x34d)](){var _0x10c2fe=_0x25fdaf;this[_0x10c2fe(0x4ff)]&&(clearTimeout(this[_0x10c2fe(0x4ff)]),this[_0x10c2fe(0x4ff)]=null);}[_0x25fdaf(0x46d)](_0x5ef589){var _0x3279c9=_0x25fdaf;if(!this[_0x3279c9(0x362)])return;const {data:_0x6f67c1}=_0x5ef589,{unitID:_0x170ac4,changeset:_0x2bc96a}=_0x6f67c1,{mutations:_0x4e0237,type:_0x49914b}=_0x2bc96a;this[_0x3279c9(0x45a)]={'unitId':_0x170ac4,'type':_0x49914b,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x4e0237)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1bf876=_0x25fdaf;if(this['_shouldReportTelemetry']){if(!this[_0x1bf876(0x45a)]){this[_0x1bf876(0x207)]['error'](_0x1bf876(0x396),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1bf876(0x45a)][_0x1bf876(0x3a8)]=performance['now'](),this[_0x1bf876(0x45a)][_0x1bf876(0x518)]=this[_0x1bf876(0x45a)][_0x1bf876(0x3a8)]-this['_telemetryInfo'][_0x1bf876(0x3b6)],this[_0x1bf876(0x31c)][_0x1bf876(0x2ae)](Xt,this[_0x1bf876(0x45a)]),this['_telemetryInfo']=null;}}[_0x25fdaf(0x22f)](){var _0x51c8ac=_0x25fdaf;this[_0x51c8ac(0x45a)]=null;}},exports[_0x25fdaf(0x1ee)]=ni([se(0x2,a[_0x25fdaf(0x248)]),se(0x3,a[_0x25fdaf(0x2e1)]),se(0x4,a[_0x25fdaf(0x3a5)](a['LocaleService'])),se(0x5,a[_0x25fdaf(0x3a5)](exports[_0x25fdaf(0x303)])),se(0x6,a[_0x25fdaf(0x3a5)]($e)),se(0x7,a[_0x25fdaf(0x3a5)](ee)),se(0x8,a['Optional'](Pt['ITelemetryService']))],exports['CollaborationSession']);var ri=Object[_0x25fdaf(0x4ca)],si=(_0x229340,_0x36c1af,_0x1b0734,_0x146d15)=>{var _0x2caf12=_0x25fdaf;for(var _0x55f5e3=_0x146d15>0x1?void 0x0:_0x146d15?ri(_0x36c1af,_0x1b0734):_0x36c1af,_0x59a61a=_0x229340[_0x2caf12(0x27c)]-0x1,_0x1fce35;_0x59a61a>=0x0;_0x59a61a--)(_0x1fce35=_0x229340[_0x59a61a])&&(_0x55f5e3=_0x1fce35(_0x55f5e3)||_0x55f5e3);return _0x55f5e3;},he=(_0x56c089,_0x479cdb)=>(_0x578fb7,_0x37b47c)=>_0x479cdb(_0x578fb7,_0x37b47c,_0x56c089);exports[_0x25fdaf(0x440)]=class extends a['Disposable']{constructor(_0x48016d,_0xb91571,_0x4109bd,_0x43550d,_0x641fcf,_0x97d079){var _0xfb4aac=_0x25fdaf;super(),A(this,_0xfb4aac(0x3b4),new $[(_0xfb4aac(0x3cf))](void 0x0)),A(this,_0xfb4aac(0x417),this[_0xfb4aac(0x3b4)][_0xfb4aac(0x266)]()),A(this,_0xfb4aac(0x4a3),null),A(this,_0xfb4aac(0x350),new Map()),A(this,_0xfb4aac(0x50c),new $[(_0xfb4aac(0x3cf))](re[_0xfb4aac(0x49c)])),A(this,_0xfb4aac(0x32e),this[_0xfb4aac(0x50c)][_0xfb4aac(0x266)]()),A(this,'_socketReady',!0x1),A(this,_0xfb4aac(0x1b0)),A(this,_0xfb4aac(0x44f),0x0),A(this,_0xfb4aac(0x1c1)),A(this,_0xfb4aac(0x3c3)),(this[_0xfb4aac(0x307)]=_0x48016d,this['_logService']=_0xb91571,this['_configService']=_0x4109bd,this['_socketService']=_0x43550d,this['_collaborationUIEventService']=_0x641fcf,this['_networkConditionService']=_0x97d079,this[_0xfb4aac(0x1d4)]());}get[_0x25fdaf(0x42e)](){var _0x87a461=_0x25fdaf;return this[_0x87a461(0x3b4)][_0x87a461(0x381)]();}[_0x25fdaf(0x1d4)](){var _0x5b0858=_0x25fdaf;this['_networkConditionService']&&this[_0x5b0858(0x49f)](this[_0x5b0858(0x324)][_0x5b0858(0x3ca)][_0x5b0858(0x4dd)](_0x4e934c=>{var _0x163659=_0x5b0858;_0x4e934c&&!this['_socket']&&this[_0x163659(0x2b8)](),_0x4e934c||this[_0x163659(0x309)]();}));}['dispose'](){var _0x13976d=_0x25fdaf;super[_0x13976d(0x465)](),this[_0x13976d(0x270)](),this[_0x13976d(0x220)](),this[_0x13976d(0x1cb)](),this[_0x13976d(0x350)][_0x13976d(0x265)](_0x12b942=>_0x12b942[_0x13976d(0x465)]()),this['_sessions'][_0x13976d(0x3e9)](),this['_status$']['complete']();}async[_0x25fdaf(0x341)](_0x1cb1eb){var _0x32b4f5=_0x25fdaf;if(this[_0x32b4f5(0x350)][_0x32b4f5(0x3bc)](_0x1cb1eb))return this[_0x32b4f5(0x350)][_0x32b4f5(0x4bb)](_0x1cb1eb);this[_0x32b4f5(0x4da)]();const _0x4ef715=this[_0x32b4f5(0x307)][_0x32b4f5(0x277)](exports[_0x32b4f5(0x1ee)],_0x1cb1eb,this[_0x32b4f5(0x3b4)][_0x32b4f5(0x266)]());return this['_sessions'][_0x32b4f5(0x397)](_0x1cb1eb,_0x4ef715),_0x4ef715;}[_0x25fdaf(0x1ec)](_0x2b958a){var _0x58cfcf=_0x25fdaf,_0x1f66a3;const _0x4fa1f7=this[_0x58cfcf(0x350)][_0x58cfcf(0x4bb)](_0x2b958a);_0x4fa1f7&&(this[_0x58cfcf(0x350)][_0x58cfcf(0x257)](_0x2b958a),_0x4fa1f7[_0x58cfcf(0x405)]()),this[_0x58cfcf(0x350)][_0x58cfcf(0x25e)]||(_0x1f66a3=this['_socket'])==null||_0x1f66a3[_0x58cfcf(0x405)]();}[_0x25fdaf(0x2b8)](){var _0x4bf55a=_0x25fdaf;this[_0x4bf55a(0x44f)]=0x0,this[_0x4bf55a(0x270)](),this['_tryReconnect']();}[_0x25fdaf(0x270)](){var _0x13893a=_0x25fdaf;this[_0x13893a(0x1b0)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x13893a(0x1b0)]=null);}async[_0x25fdaf(0x459)](){var _0x360356=_0x25fdaf,_0x49f2f6,_0x191517;const _0x34502e=this['_configService'][_0x360356(0x507)](ut),_0x4a35fb=this[_0x360356(0x2f0)][_0x360356(0x507)](K),_0x2f6f82=(_0x191517=(_0x49f2f6=_0x4a35fb==null?void 0x0:_0x4a35fb[_0x360356(0x27a)])!=null?_0x49f2f6:_0x34502e)!=null?_0x191517:dt,_0x1c51d0=await this[_0x360356(0x27d)][_0x360356(0x2e2)](_0x2f6f82);return this[_0x360356(0x4a3)]=_0x1c51d0,_0x1c51d0;}async[_0x25fdaf(0x4da)](){var _0x1fefb6=_0x25fdaf,_0x42b6fc,_0x565596;try{const _0x5afe53=(_0x565596=(_0x42b6fc=this[_0x1fefb6(0x42e)])!=null?_0x42b6fc:this[_0x1fefb6(0x4a3)])!=null?_0x565596:await this[_0x1fefb6(0x459)]();if(_0x5afe53){const _0x55e78c=_0x5afe53['send'];_0x5afe53[_0x1fefb6(0x3ec)]=_0x56c9d2=>(this[_0x1fefb6(0x3f7)](),_0x55e78c['apply'](_0x5afe53,[_0x56c9d2])),_0x5afe53[_0x1fefb6(0x4e2)][_0x1fefb6(0x4dd)](_0x533ee0=>this['_onMessage'](_0x5afe53,_0x533ee0)),_0x5afe53[_0x1fefb6(0x43e)][_0x1fefb6(0x310)](V[_0x1fefb6(0x34e)](0x1))['subscribe'](_0x1276c0=>this[_0x1fefb6(0x207)][_0x1fefb6(0x2d3)](_0x1fefb6(0x423),_0x1276c0)),_0x5afe53[_0x1fefb6(0x1fd)][_0x1fefb6(0x310)](V['take'](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x5afe53);}),_0x5afe53['close$']['pipe'](V[_0x1fefb6(0x34e)](0x1))[_0x1fefb6(0x4dd)](_0x1242bc=>{var _0x1af9cd=_0x1fefb6;this[_0x1af9cd(0x207)][_0x1af9cd(0x338)](_0x1af9cd(0x232),'socket\x20close',_0x1242bc),this['_onConnectionFailed']();});}}catch(_0xb37708){this[_0x1fefb6(0x207)]['error'](_0xb37708),this['_onConnectionFailed']();}}[_0x25fdaf(0x28a)](_0x3b3607){var _0x574255=_0x25fdaf;this[_0x574255(0x207)][_0x574255(0x338)]('[CollaborationSessionService]','socket\x20open.'),_0x3b3607[_0x574255(0x3ec)]({'cmd':W[_0x574255(0x332)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x3e674c=_0x25fdaf;this[_0x3e674c(0x420)]=!0x1,this[_0x3e674c(0x4a3)]=null,this[_0x3e674c(0x50c)][_0x3e674c(0x44d)](re[_0x3e674c(0x1e8)]),this[_0x3e674c(0x3b4)][_0x3e674c(0x44d)](null),this[_0x3e674c(0x220)](),this['_clearHeartbeatTimer']();}[_0x25fdaf(0x4c4)](){var _0x515220=_0x25fdaf,_0x439779;this[_0x515220(0x309)](),this[_0x515220(0x44f)]<((_0x439779=this[_0x515220(0x2f0)][_0x515220(0x507)](ft))!=null?_0x439779:jt)?(this[_0x515220(0x33a)][_0x515220(0x297)]({'id':Z[_0x515220(0x278)]}),this[_0x515220(0x2ab)]()):this['_collaborationUIEventService'][_0x515220(0x297)]({'id':Z['SOCKET_FAILED']});}['_tryReconnect'](){var _0x5269e4=_0x25fdaf,_0x526b96;const _0x1cc257=this['_retryCount'],_0x4dbba1=this[_0x5269e4(0x2f0)][_0x5269e4(0x507)](K),_0xc325b3=_0x1cc257===0x0?0x0:((_0x526b96=_0x4dbba1==null?void 0x0:_0x4dbba1[_0x5269e4(0x1f8)])!=null?_0x526b96:$t)*0x2**_0x1cc257;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2736fa=_0x5269e4;clearTimeout(this[_0x2736fa(0x1b0)]),this['_retryConnectingTimer']=null,this[_0x2736fa(0x4da)]();},_0xc325b3),this[_0x5269e4(0x44f)]+=0x1;}[_0x25fdaf(0x2da)](_0x29a40a,_0x4003ca){var _0x1fb84e=_0x25fdaf;const {cmd:_0x32d7fc}=_0x4003ca;_0x32d7fc===W['HELLO']&&!this[_0x1fb84e(0x420)]&&(_0x29a40a[_0x1fb84e(0x33e)]=_0x4003ca[_0x1fb84e(0x1c9)][_0x1fb84e(0x33e)],this['_socket$'][_0x1fb84e(0x44d)](_0x29a40a),this[_0x1fb84e(0x50c)][_0x1fb84e(0x44d)](re[_0x1fb84e(0x323)]),this[_0x1fb84e(0x420)]=!0x0,this[_0x1fb84e(0x4a3)]=null),_0x32d7fc===W[_0x1fb84e(0x489)]&&this['_clearTimeoutTimer'](),this[_0x1fb84e(0x3f7)]();}[_0x25fdaf(0x3f7)](){var _0x139d4d=_0x25fdaf,_0x50a777;this['_clearHeartbeatTimer'](),this[_0x139d4d(0x1c1)]=setTimeout(()=>this[_0x139d4d(0x1d8)](),(_0x50a777=this[_0x139d4d(0x2f0)]['getConfig'](vt))!=null?_0x50a777:Ht);}[_0x25fdaf(0x1d8)](){this['_socket']['send']({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x25fdaf(0x504)](){var _0x68b052=_0x25fdaf,_0xe7030a;this[_0x68b052(0x3c3)]=setTimeout(()=>this[_0x68b052(0x4c4)](),(_0xe7030a=this['_configService']['getConfig'](ke))!=null?_0xe7030a:St);}[_0x25fdaf(0x1cb)](){var _0x9560f8=_0x25fdaf;this[_0x9560f8(0x1c1)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x25fdaf(0x220)](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports[_0x25fdaf(0x440)]=si([he(0x0,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),he(0x1,a['ILogService']),he(0x2,a[_0x25fdaf(0x2e1)]),he(0x3,He),he(0x4,a[_0x25fdaf(0x3a5)](ee)),he(0x5,a['Optional'](mt))],exports[_0x25fdaf(0x440)]);const q=a['createIdentifier']('collaboration-client.local-cache-service');function oi(_0x2bc45c){return'unit-cache-'+_0x2bc45c;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x439b1b,_0x5753ff,_0x2fc912,_0x356baf)=>{var _0x3caf80=_0x25fdaf;for(var _0x9184ef=_0x356baf>0x1?void 0x0:_0x356baf?ai(_0x5753ff,_0x2fc912):_0x5753ff,_0xf87481=_0x439b1b[_0x3caf80(0x27c)]-0x1,_0x48ec3d;_0xf87481>=0x0;_0xf87481--)(_0x48ec3d=_0x439b1b[_0xf87481])&&(_0x9184ef=_0x48ec3d(_0x9184ef)||_0x9184ef);return _0x9184ef;},De=(_0x207865,_0x132dba)=>(_0x461b35,_0x536d38)=>_0x132dba(_0x461b35,_0x536d38,_0x207865);function hi(_0x2596fc){var _0x4700b0=_0x25fdaf;const {unitID:_0x3de9d7,mutations:_0x53d78}=_0x2596fc;return{'unitId':_0x3de9d7,'subUnitId':_0x53d78[0x0][_0x4700b0(0x38e)][_0x4700b0(0x4fc)]};}exports[_0x25fdaf(0x3fc)]=class{constructor(_0x4bc5da,_0x573879,_0x577faf){var _0x379a02=_0x25fdaf;this[_0x379a02(0x307)]=_0x4bc5da,this[_0x379a02(0x4cd)]=_0x573879,this[_0x379a02(0x1b6)]=_0x577faf;}['transformSelections'](_0x556600){var _0x3e3dbb=_0x25fdaf,_0x5a14ba,_0x242571,_0xecda70,_0x41ff71;const _0x212f68=this[_0x3e3dbb(0x307)]['get'](X[_0x3e3dbb(0x306)]),{unitId:_0x228111,subUnitId:_0xaea3d0}=hi(_0x556600),_0x36705a=_0x212f68==null?void 0x0:_0x212f68[_0x3e3dbb(0x444)](_0x228111)[_0x3e3dbb(0x435)](),_0x52116d=(_0x242571=(_0x5a14ba=this['_instanceService'][_0x3e3dbb(0x2c4)](_0x228111))==null?void 0x0:_0x5a14ba['getActiveSheet']())==null?void 0x0:_0x242571[_0x3e3dbb(0x44a)]();if(_0x36705a[_0x3e3dbb(0x27c)]===0x0||!_0x228111||!_0xaea3d0)return;const _0x36d127=[{'id':X[_0x3e3dbb(0x413)]['id'],'params':{'unitId':_0x228111,'subUnitId':_0x52116d,'selections':a[_0x3e3dbb(0x500)][_0x3e3dbb(0x256)](_0x36705a)}}],_0x292123=this[_0x3e3dbb(0x4cd)][_0x3e3dbb(0x2eb)](_0x556600,_0x36d127);if(!I[_0x3e3dbb(0x339)](_0x292123))throw _0x292123['error'];const _0x52752e=(_0x41ff71=(_0xecda70=_0x292123[_0x3e3dbb(0x470)][0x0])==null?void 0x0:_0xecda70[_0x3e3dbb(0x38e)])==null?void 0x0:_0x41ff71[_0x3e3dbb(0x252)];if(Array[_0x3e3dbb(0x3d0)](_0x52752e)&&_0x52752e[_0x3e3dbb(0x27c)]){if(_0x52752e['length']===_0x36d127[0x0]['params']['selections'][_0x3e3dbb(0x27c)]&&_0x52752e[_0x3e3dbb(0x37e)]((_0x45934a,_0x561ab2)=>a[_0x3e3dbb(0x222)][_0x3e3dbb(0x4e6)](_0x45934a['range'],_0x36d127[0x0][_0x3e3dbb(0x38e)][_0x3e3dbb(0x252)][_0x561ab2]['range'])))return;this[_0x3e3dbb(0x307)][_0x3e3dbb(0x4bb)](a[_0x3e3dbb(0x464)])['executeCommand'](X[_0x3e3dbb(0x413)]['id'],{'unitId':_0x228111,'subUnitId':_0x52116d,'selections':_0x52752e});}}},exports[_0x25fdaf(0x3fc)]=ci([De(0x0,a['Inject'](a[_0x25fdaf(0x481)])),De(0x1,I[_0x25fdaf(0x4f2)]),De(0x2,a[_0x25fdaf(0x379)])],exports[_0x25fdaf(0x3fc)]);const de=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');function _0x305e(_0x57c372,_0x41beb6){var _0x169196=_0x1691();return _0x305e=function(_0x305e25,_0x470f18){_0x305e25=_0x305e25-0x1b0;var _0x5ec1d1=_0x169196[_0x305e25];return _0x5ec1d1;},_0x305e(_0x57c372,_0x41beb6);}var je=(_0x267717=>(_0x267717[_0x267717[_0x25fdaf(0x3b8)]=0x0]=_0x25fdaf(0x3b8),_0x267717[_0x267717[_0x25fdaf(0x3f3)]=0x1]=_0x25fdaf(0x3f3),_0x267717))(je||{});const _i=new Set([X[_0x25fdaf(0x233)]['id']]);function Ke(_0x365c8a,_0x3a4414,_0x17b67c,_0x1e6663,_0x5fe07d){var _0xa48ff9=_0x25fdaf,_0x44df0d,_0x2b39d3,_0x2764f5,_0x14989d;const _0x470f26=[];for(const _0x5e9592 of _0x365c8a)if(_i[_0xa48ff9(0x3bc)](_0x5e9592['id'])){if(_0x470f26[_0xa48ff9(0x27c)]>0x0)break;_0x470f26[_0xa48ff9(0x46e)](_0x5e9592);break;}else _0x470f26['push'](_0x5e9592);const _0x3fcb9b=(_0x2b39d3=(_0x44df0d=_0x5fe07d[_0xa48ff9(0x475)]())==null?void 0x0:_0x44df0d['userID'])!=null?_0x2b39d3:_0xa48ff9(0x3d5),_0x29dc94=(_0x14989d=(_0x2764f5=_0x5fe07d['getCurrentUser']())==null?void 0x0:_0x2764f5['memberID'])!=null?_0x14989d:_0xa48ff9(0x3d5);return{'changeset':{'unitID':_0x3a4414,'type':I[_0xa48ff9(0x287)](_0x17b67c[_0xa48ff9(0x427)](_0x3a4414)),'baseRev':_0x1e6663['getCurrentRevOfUnit'](_0x3a4414),'revision':0x0,'userID':_0x3fcb9b,'memberID':_0x29dc94,'mutations':_0x470f26},'pendingMutations':_0x365c8a[_0xa48ff9(0x23b)](_0x470f26[_0xa48ff9(0x27c)])};}function li(_0xb90474,_0xc0a92a,_0x3e1cf6,_0x120771,_0x12f8b6){var _0x2dd534=_0x25fdaf,_0x33b79e,_0x4933a3,_0x432f84,_0x4eb4b2;const _0x5af939=[_0xb90474[_0x2dd534(0x374)]((_0x4619ff,_0x23a5f7)=>{var _0x239646=_0x2dd534,_0x322c05;const {id:_0x18dc0f}=_0x4619ff,{id:_0x2e0fdf,type:_0x22e866}=_0x23a5f7,_0x1ac981=(_0x322c05=_0x4619ff[_0x239646(0x38e)])!=null?_0x322c05:{'actions':null},_0x3b13bf=_0x23a5f7[_0x239646(0x38e)];if(_0x18dc0f&&_0x18dc0f!==_0x2e0fdf)throw new Error(_0x239646(0x3be)+_0x18dc0f+_0x239646(0x348)+_0x2e0fdf+'.');return{..._0x4619ff,'id':_0x2e0fdf,'type':_0x22e866,'params':{'unitId':_0x3b13bf[_0x239646(0x468)],'textRanges':_0x3b13bf['textRanges'],'actions':a[_0x239646(0x490)]['compose'](_0x1ac981[_0x239646(0x312)],_0x3b13bf[_0x239646(0x312)])}};},{})],_0x1eb13e=(_0x4933a3=(_0x33b79e=_0x12f8b6[_0x2dd534(0x475)]())==null?void 0x0:_0x33b79e['userID'])!=null?_0x4933a3:_0x2dd534(0x3d5),_0x42efcb=(_0x4eb4b2=(_0x432f84=_0x12f8b6[_0x2dd534(0x475)]())==null?void 0x0:_0x432f84[_0x2dd534(0x33e)])!=null?_0x4eb4b2:'unknown';return{'changeset':{'unitID':_0xc0a92a,'type':I['mapDocumentTypeToUniverType'](_0x3e1cf6[_0x2dd534(0x427)](_0xc0a92a)),'baseRev':_0x120771[_0x2dd534(0x3f0)](_0xc0a92a),'revision':0x0,'userID':_0x1eb13e,'memberID':_0x42efcb,'mutations':_0x5af939},'pendingMutations':[]};}function bt(_0x43da89,_0x11a43d){var _0x39f431=_0x25fdaf;const _0xdd99ab=new $['ReplaySubject'](0x1);return setTimeout(()=>_0xdd99ab[_0x39f431(0x44d)](_0x11a43d),_0x43da89),_0xdd99ab[_0x39f431(0x266)]()[_0x39f431(0x310)]($['take'](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a[_0x25fdaf(0x299)][_0x25fdaf(0x47b)],'params':{}};var di=Object[_0x25fdaf(0x4ca)],ae=(_0x5d10ec,_0x19b3b9,_0x2fce6d,_0x28dd80)=>{for(var _0x463b4c=_0x28dd80>0x1?void 0x0:_0x28dd80?di(_0x19b3b9,_0x2fce6d):_0x19b3b9,_0x33eb33=_0x5d10ec['length']-0x1,_0xf16cfc;_0x33eb33>=0x0;_0x33eb33--)(_0xf16cfc=_0x5d10ec[_0x33eb33])&&(_0x463b4c=_0xf16cfc(_0x463b4c)||_0x463b4c);return _0x463b4c;},w=(_0x478878,_0x369f0c)=>(_0x5c78ce,_0x227ea1)=>_0x369f0c(_0x5c78ce,_0x227ea1,_0x478878),Be=(_0x98ac82=>(_0x98ac82['NOT_COLLAB']=_0x25fdaf(0x27e),_0x98ac82[_0x25fdaf(0x36a)]=_0x25fdaf(0x4d8),_0x98ac82[_0x25fdaf(0x1df)]=_0x25fdaf(0x245),_0x98ac82['AWAITING']=_0x25fdaf(0x31f),_0x98ac82[_0x25fdaf(0x3c9)]=_0x25fdaf(0x2c0),_0x98ac82[_0x25fdaf(0x4e0)]=_0x25fdaf(0x1bc),_0x98ac82[_0x25fdaf(0x375)]=_0x25fdaf(0x3ce),_0x98ac82[_0x25fdaf(0x1e8)]=_0x25fdaf(0x45e),_0x98ac82))(Be||{});const Rt=0xea60;class ce{constructor(_0x4bb68d,_0x37a660,_0x2a225d,_0x13d6dc,_0x596427,_0x5f5aba,_0xc9acb7,_0x5e573b,_0x44501e){var _0x305d59=_0x25fdaf;A(this,_0x305d59(0x231),null),A(this,_0x305d59(0x48e),[]),(this['unitID']=_0x4bb68d,this['type']=_0x37a660,this[_0x305d59(0x264)]=_0x596427,this[_0x305d59(0x437)]=_0x5f5aba,this[_0x305d59(0x480)]=_0xc9acb7,this[_0x305d59(0x365)]=_0x5e573b,this['_localCacheService']=_0x44501e,this[_0x305d59(0x231)]=_0x2a225d,this[_0x305d59(0x48e)]=_0x13d6dc);}[_0x25fdaf(0x466)](_0x2c7f58){var _0x12f618=_0x25fdaf;const _0x41d4cb=this[_0x12f618(0x365)][_0x12f618(0x3f0)](this[_0x12f618(0x2fd)]);return _0x2c7f58['revision']>_0x41d4cb+0x1?(this[_0x12f618(0x264)][_0x12f618(0x456)]({'from':_0x41d4cb,'to':_0x2c7f58['revision']-0x1}),!0x0):!0x1;}[_0x25fdaf(0x301)](_0x5114a7){var _0x4382c7=_0x25fdaf;this[_0x4382c7(0x480)]['transformUndoRedo'](this[_0x4382c7(0x2fd)],_0x5114a7);}[_0x25fdaf(0x244)](_0x3b4e84){var _0x472c04=_0x25fdaf,_0x5d1fdd,_0x1079e5;(_0x1079e5=(_0x5d1fdd=this[_0x472c04(0x264)])[_0x472c04(0x39f)])==null||_0x1079e5[_0x472c04(0x1d5)](_0x5d1fdd,_0x3b4e84);}[_0x25fdaf(0x1dc)](_0x5cd4c7){var _0x4d9e9b=_0x25fdaf,_0x437f89,_0x3d6f08;return(_0x3d6f08=(_0x437f89=this[_0x4d9e9b(0x264)])['onTransformIME'])==null?void 0x0:_0x3d6f08[_0x4d9e9b(0x1d5)](_0x437f89,_0x5cd4c7);}[_0x25fdaf(0x26c)](_0x4b9cfe){var _0x59c552=_0x25fdaf,_0x141367,_0x420ec6;return(_0x420ec6=(_0x141367=this[_0x59c552(0x264)])['onTransformState'])==null?void 0x0:_0x420ec6[_0x59c552(0x1d5)](_0x141367,_0x4b9cfe);}['_transformRemoteChangesetByIMECache'](_0x1dd1e5){var _0x46b915=_0x25fdaf,_0x1b1a8c,_0x5e54a9,_0x4fc6fb;return(_0x4fc6fb=(_0x5e54a9=(_0x1b1a8c=this[_0x46b915(0x264)])[_0x46b915(0x214)])==null?void 0x0:_0x5e54a9[_0x46b915(0x1d5)](_0x1b1a8c,_0x1dd1e5))!=null?_0x4fc6fb:_0x1dd1e5;}[_0x25fdaf(0x4d3)](_0x12f44b){var _0x3216f7=_0x25fdaf,_0x4a68a4,_0x5939ba,_0x42a05c;return(_0x42a05c=(_0x5939ba=(_0x4a68a4=this[_0x3216f7(0x264)])[_0x3216f7(0x22a)])==null?void 0x0:_0x5939ba[_0x3216f7(0x1d5)](_0x4a68a4,_0x12f44b))!=null?_0x42a05c:_0x12f44b;}[_0x25fdaf(0x356)](_0x1a07f4){var _0x202bdc=_0x25fdaf,_0x37b1ea,_0x273d19;if(this[_0x202bdc(0x2fa)]===J[_0x202bdc(0x1e0)]){const {unitID:_0x5f1990,mutations:_0x339050,memberID:_0x21ed38}=_0x1a07f4,_0x245bf4=_0x339050[0x0]['params'][_0x202bdc(0x2d1)];Array['isArray'](_0x245bf4)&&_0x245bf4[_0x202bdc(0x27c)]>0x0&&((_0x273d19=(_0x37b1ea=this['_handler'])[_0x202bdc(0x343)])==null||_0x273d19[_0x202bdc(0x1d5)](_0x37b1ea,{'unitID':_0x5f1990,'memberID':_0x21ed38,'textRanges':_0x245bf4}));}}[_0x25fdaf(0x49d)](){var _0x2f6f2f=_0x25fdaf,_0xcb05b9;(_0xcb05b9=this[_0x2f6f2f(0x4db)])==null||_0xcb05b9[_0x2f6f2f(0x3f6)](this['unitID'],this[_0x2f6f2f(0x2fa)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x25fdaf(0x2b9)](){var _0x2d7709=_0x25fdaf;return this[_0x2d7709(0x365)][_0x2d7709(0x3f0)](this[_0x2d7709(0x2fd)]);}[_0x25fdaf(0x46a)](){var _0x1c5108=_0x25fdaf;this[_0x1c5108(0x365)]['incrementRevOfUnit'](this[_0x1c5108(0x2fd)]);}[_0x25fdaf(0x1e1)](_0x822262){var _0x11c923=_0x25fdaf,_0x46a5e6;let _0x45c1e4=this[_0x11c923(0x4c0)](_0x822262);_0x45c1e4=this[_0x11c923(0x4d3)](_0x45c1e4);const _0x562917=a['sequenceExecute'](_0x45c1e4[_0x11c923(0x240)],this[_0x11c923(0x437)],{'fromCollab':!0x0});if(!_0x562917[_0x11c923(0x392)])throw _0x562917[_0x11c923(0x2d3)]instanceof Error?_0x562917[_0x11c923(0x2d3)]:new Error((_0x46a5e6=_0x562917[_0x11c923(0x2d3)])!=null?_0x46a5e6:'[CollaborationState]:\x20apply\x20error!');this[_0x11c923(0x1dc)](_0x45c1e4),this[_0x11c923(0x26c)](_0x45c1e4),this[_0x11c923(0x301)](_0x822262),this[_0x11c923(0x244)](_0x45c1e4),this[_0x11c923(0x356)](_0x45c1e4),this['_incrementRevisionNumber']();}}exports[_0x25fdaf(0x21d)]=class extends ce{constructor(_0x36358b,_0x21d5d5,_0x36438e,_0x32febd,_0x542679,_0xa2aa18,_0x5d1283,_0x1bd898,_0x235847,_0x58aff3){var _0x48210c=_0x25fdaf;super(_0x36358b,_0x21d5d5,null,[],_0x36438e,_0x5d1283,_0xa2aa18,_0x32febd,_0x58aff3),A(this,_0x48210c(0x403),_0x48210c(0x4d8)),(this[_0x48210c(0x307)]=_0x542679,this['_logService']=_0x1bd898,this[_0x48210c(0x4cd)]=_0x235847,this[_0x48210c(0x279)]=_0x58aff3);}[_0x25fdaf(0x484)](_0x247b25){var _0x31026a=_0x25fdaf;const _0x3cb504=this[_0x31026a(0x307)][_0x31026a(0x277)](exports['PendingState'],this[_0x31026a(0x2fd)],this[_0x31026a(0x2fa)],[_0x247b25],this[_0x31026a(0x264)]);return _0x3cb504[_0x31026a(0x4a1)](),_0x3cb504['_updateLocalCache'](),_0x3cb504;}[_0x25fdaf(0x33d)](_0x2b0ef2){var _0xc593c7=_0x25fdaf;if(this[_0xc593c7(0x466)](_0x2b0ef2))return this[_0xc593c7(0x307)][_0xc593c7(0x277)](exports[_0xc593c7(0x2ad)],this[_0xc593c7(0x2fd)],this['type'],null,[],null,[_0x2b0ef2],this['_handler']);try{const _0x5b028a=this[_0xc593c7(0x4cd)]['transformMutationsWithChangeset'](_0x2b0ef2,[ui]);if(I[_0xc593c7(0x339)](_0x5b028a)){const {c1Prime:_0x2058c4}=_0x5b028a;return this['_executeRemoteChangeset'](_0x2058c4),this;}throw _0x5b028a[_0xc593c7(0x2d3)];}catch(_0xbcfdc8){return this[_0xc593c7(0x207)][_0xc593c7(0x2d3)](_0xbcfdc8),this[_0xc593c7(0x43f)](!0x1);}}[_0x25fdaf(0x43f)](_0x1c464d){var _0x36017=_0x25fdaf;return this['_injector'][_0x36017(0x277)](exports['ConflictState'],this['unitID'],this[_0x36017(0x2fa)],null,[],this[_0x36017(0x264)],_0x1c464d);}[_0x25fdaf(0x38c)](){var _0x23871f=_0x25fdaf;throw new Error(_0x23871f(0x2c9));}[_0x25fdaf(0x289)](){var _0x215bc9=_0x25fdaf;throw new Error(_0x215bc9(0x282));}[_0x25fdaf(0x4a0)](){return this;}['toggleOffline'](){var _0x2bd41a=_0x25fdaf;return this[_0x2bd41a(0x307)][_0x2bd41a(0x277)](exports[_0x2bd41a(0x2b4)],this[_0x2bd41a(0x2fd)],this['type'],null,[],this[_0x2bd41a(0x264)]);}[_0x25fdaf(0x452)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x25fdaf(0x482)](){var _0x44e414=_0x25fdaf;const _0x57707b=this[_0x44e414(0x365)]['getCurrentRevOfUnit'](this[_0x44e414(0x2fd)]);return this[_0x44e414(0x264)][_0x44e414(0x456)]({'from':_0x57707b,'to':0x0}),this[_0x44e414(0x307)][_0x44e414(0x277)](exports[_0x44e414(0x2ad)],this[_0x44e414(0x2fd)],this[_0x44e414(0x2fa)],null,[],null,[],this[_0x44e414(0x264)]);}},exports[_0x25fdaf(0x21d)]=ae([w(0x3,a['Inject'](I[_0x25fdaf(0x2fe)])),w(0x4,a['Inject'](a[_0x25fdaf(0x481)])),w(0x5,a[_0x25fdaf(0x524)]),w(0x6,a['ICommandService']),w(0x7,a[_0x25fdaf(0x248)]),w(0x8,I['ITransformService']),w(0x9,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x21d)]),exports['PendingState']=class extends ce{constructor(_0x31eeb9,_0x6958c7,_0x1dcd13,_0x53a854,_0x3f4aff,_0x554f5,_0x2a7946,_0x4abaaa,_0x4e3f64,_0x2ba1be,_0x59950f,_0x232a13,_0x3e400d,_0x4c275f){var _0x1c2842=_0x25fdaf;super(_0x31eeb9,_0x6958c7,null,_0x1dcd13,_0x53a854,_0x4e3f64,_0x3e400d,_0x554f5,_0x4c275f),A(this,_0x1c2842(0x403),_0x1c2842(0x245)),A(this,_0x1c2842(0x236),null),A(this,'_sendingTimer',null),(this['_injector']=_0x3f4aff,this[_0x1c2842(0x1f0)]=_0x2a7946,this['_logService']=_0x4abaaa,this['_configService']=_0x2ba1be,this[_0x1c2842(0x4cd)]=_0x59950f,this[_0x1c2842(0x43b)]=_0x232a13);}[_0x25fdaf(0x484)](_0x3c7fdd){var _0x2d8dad=_0x25fdaf;return this[_0x2d8dad(0x48e)][_0x2d8dad(0x46e)](_0x3c7fdd),this['_updateLocalCache'](),this;}[_0x25fdaf(0x33d)](_0x498a2b){var _0x37381c=_0x25fdaf;if(this[_0x37381c(0x466)](_0x498a2b))return this[_0x37381c(0x508)](),this[_0x37381c(0x307)][_0x37381c(0x277)](exports[_0x37381c(0x2ad)],this[_0x37381c(0x2fd)],this[_0x37381c(0x2fa)],null,this[_0x37381c(0x48e)],null,[_0x498a2b],this[_0x37381c(0x264)]);try{const _0x158cea=this[_0x37381c(0x4cd)][_0x37381c(0x2eb)](_0x498a2b,this[_0x37381c(0x48e)]);if(I['isTransformMutationsWithChangesetSuccess'](_0x158cea)){const {c1Prime:_0x1483da,m2Prime:_0x363b3b}=_0x158cea;this[_0x37381c(0x1e1)](_0x1483da);const _0x4b6681=this['_injector'][_0x37381c(0x277)](exports[_0x37381c(0x525)],this[_0x37381c(0x2fd)],this[_0x37381c(0x2fa)],_0x363b3b,this[_0x37381c(0x264)]);this[_0x37381c(0x508)]();const _0x45a431=new Date()[_0x37381c(0x406)](),_0xdbf122=this[_0x37381c(0x236)]?Math[_0x37381c(0x243)](this[_0x37381c(0x236)]-_0x45a431,0x0):this[_0x37381c(0x4c7)]();return _0x4b6681['_schedule'](_0xdbf122),_0x4b6681;}throw _0x158cea[_0x37381c(0x2d3)];}catch(_0xdad1ad){return this[_0x37381c(0x207)][_0x37381c(0x2d3)](_0xdad1ad),this[_0x37381c(0x43f)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x25fdaf(0x289)](){var _0x2bbf07=_0x25fdaf;throw new Error(_0x2bbf07(0x477));}['onRemoteRetry'](){return this;}[_0x25fdaf(0x1d2)](){var _0x56f7e8=_0x25fdaf;return this[_0x56f7e8(0x508)](),this[_0x56f7e8(0x307)]['createInstance'](exports[_0x56f7e8(0x2b4)],this['unitID'],this[_0x56f7e8(0x2fa)],null,this[_0x56f7e8(0x48e)],this[_0x56f7e8(0x264)]);}[_0x25fdaf(0x452)](){return this;}[_0x25fdaf(0x4a1)](_0x262ced){var _0x1c49ce=_0x25fdaf;const _0x1bf68f=_0x262ced!=null?_0x262ced:this['_getSendChangesetTimeout']();this[_0x1c49ce(0x236)]=new Date()['getTime']()+_0x1bf68f,this[_0x1c49ce(0x4a9)]=setTimeout(()=>{var _0x241181=_0x1c49ce;this[_0x241181(0x508)]();let _0xce0b51=null;switch(this[_0x241181(0x2fa)]){case J['UNIVER_SHEET']:{_0xce0b51=Ke(this['_pendingMutations'],this[_0x241181(0x2fd)],this[_0x241181(0x43b)],this[_0x241181(0x365)],this[_0x241181(0x1f0)]);break;}case J[_0x241181(0x1e0)]:{this['_pendingMutations'][_0x241181(0x37e)](_0x2b69b5=>_0x2b69b5['id']===ht[_0x241181(0x486)]['id'])?_0xce0b51=li(this[_0x241181(0x48e)],this['unitID'],this[_0x241181(0x43b)],this[_0x241181(0x365)],this[_0x241181(0x1f0)]):_0xce0b51=Ke(this[_0x241181(0x48e)],this[_0x241181(0x2fd)],this['_univerInstanceService'],this[_0x241181(0x365)],this[_0x241181(0x1f0)]);break;}default:throw new Error(_0x241181(0x32c)+this[_0x241181(0x2fa)]+'\x20in\x20_schedule.');}const {changeset:_0x246d13,pendingMutations:_0x4b7d23}=_0xce0b51;this['_handler'][_0x241181(0x25d)](_0x246d13);const _0x2c9935=_0x4b7d23['length']?this['_injector'][_0x241181(0x277)](exports[_0x241181(0x4b5)],this[_0x241181(0x2fd)],this['type'],_0x246d13,_0x4b7d23,this['_handler'],void 0x0):this[_0x241181(0x307)][_0x241181(0x277)](exports['AwaitingState'],this[_0x241181(0x2fd)],this[_0x241181(0x2fa)],_0x246d13,this[_0x241181(0x264)]);_0x2c9935['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x2c9935);},_0x1bf68f);}[_0x25fdaf(0x4c7)](){var _0x13e523=_0x25fdaf,_0x15e42e;const _0x21d976=this[_0x13e523(0x2f0)]['getConfig'](K);return(_0x15e42e=_0x21d976==null?void 0x0:_0x21d976[_0x13e523(0x2df)])!=null?_0x15e42e:xt;}[_0x25fdaf(0x2c8)](){var _0x899701=_0x25fdaf;throw new Error(_0x899701(0x2f6));}[_0x25fdaf(0x508)](){var _0x3c6822=_0x25fdaf;this[_0x3c6822(0x4a9)]!=null&&(clearTimeout(this[_0x3c6822(0x4a9)]),this[_0x3c6822(0x4a9)]=null);}[_0x25fdaf(0x43f)](_0x250321){var _0x1739c7=_0x25fdaf;return this[_0x1739c7(0x508)](),this[_0x1739c7(0x307)][_0x1739c7(0x277)](exports['ConflictState'],this['unitID'],this['type'],null,this[_0x1739c7(0x48e)],this[_0x1739c7(0x264)],_0x250321);}},exports[_0x25fdaf(0x525)]=ae([w(0x4,a['Inject'](a[_0x25fdaf(0x481)])),w(0x5,a[_0x25fdaf(0x3a5)](I['RevisionService'])),w(0x6,a['Inject'](exports[_0x25fdaf(0x303)])),w(0x7,a[_0x25fdaf(0x248)]),w(0x8,a['ICommandService']),w(0x9,a['IConfigService']),w(0xa,I[_0x25fdaf(0x4f2)]),w(0xb,a[_0x25fdaf(0x379)]),w(0xc,a[_0x25fdaf(0x524)]),w(0xd,a[_0x25fdaf(0x44b)](q))],exports['PendingState']),exports[_0x25fdaf(0x308)]=class extends ce{constructor(_0x49ba85,_0x38c235,_0x4389ee,_0x296802,_0x4474ea,_0x25d226,_0x20aa98,_0x43dfef,_0x1485ba,_0x3dcdeb,_0x3f5d80){var _0x4bd5b1=_0x25fdaf;super(_0x49ba85,_0x38c235,_0x4389ee,[],_0x296802,_0x20aa98,_0x3dcdeb,_0x25d226,_0x3f5d80),A(this,_0x4bd5b1(0x403),_0x4bd5b1(0x31f)),A(this,'_resendTimeout',0x0),A(this,_0x4bd5b1(0x23f)),A(this,_0x4bd5b1(0x47d)),(this[_0x4bd5b1(0x307)]=_0x4474ea,this[_0x4bd5b1(0x207)]=_0x43dfef,this['_transformService']=_0x1485ba);}[_0x25fdaf(0x484)](_0xeaa183){var _0x2ee755=_0x25fdaf;this[_0x2ee755(0x508)]();const _0x1331fb=this['_injector'][_0x2ee755(0x277)](exports['AwaitingWithPendingState'],this[_0x2ee755(0x2fd)],this['type'],this[_0x2ee755(0x231)],[_0xeaa183],this[_0x2ee755(0x264)],this[_0x2ee755(0x23f)]);return _0x1331fb['_updateLocalCache'](),_0x1331fb;}[_0x25fdaf(0x33d)](_0x3db4e9){var _0x514b71=_0x25fdaf;if(this[_0x514b71(0x466)](_0x3db4e9))return this[_0x514b71(0x508)](),this[_0x514b71(0x307)][_0x514b71(0x277)](exports['FetchingMissState'],this[_0x514b71(0x2fd)],this[_0x514b71(0x2fa)],this[_0x514b71(0x231)],[],null,[_0x3db4e9],this[_0x514b71(0x264)]);try{const _0x5864bd=this['_transformService'][_0x514b71(0x2a5)]([_0x3db4e9],[this[_0x514b71(0x231)]],!0x1);if(I[_0x514b71(0x414)](_0x5864bd)){const {c1Prime:_0x25bafd,c2Prime:_0x1fe3f8}=_0x5864bd;this[_0x514b71(0x1e1)](_0x25bafd[0x0]),_0x1fe3f8[0x0][_0x514b71(0x1be)]=this[_0x514b71(0x2b9)](),this[_0x514b71(0x508)]();const _0x12a49a=this['_injector'][_0x514b71(0x277)](exports['AwaitingState'],this[_0x514b71(0x2fd)],this['type'],_0x1fe3f8[0x0],this[_0x514b71(0x264)]);return _0x12a49a[_0x514b71(0x49d)](),_0x12a49a;}return this[_0x514b71(0x43f)](!0x1);}catch(_0x3b6be5){return this[_0x514b71(0x207)][_0x514b71(0x2d3)](_0x3b6be5),this[_0x514b71(0x43f)](!0x1);}}[_0x25fdaf(0x38c)](_0xa75d24){var _0x161ee9=_0x25fdaf;this['_clearScheduledTask']();const _0x5174d3=this[_0x161ee9(0x365)][_0x161ee9(0x3f0)](this['unitID']);if(_0xa75d24[_0x161ee9(0x523)]<_0x5174d3-0x1)return this;if(this[_0x161ee9(0x466)](_0xa75d24))return this[_0x161ee9(0x307)][_0x161ee9(0x277)](exports[_0x161ee9(0x2ad)],this[_0x161ee9(0x2fd)],this[_0x161ee9(0x2fa)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x161ee9(0x46a)]();const _0x4b9892=this[_0x161ee9(0x307)][_0x161ee9(0x277)](exports[_0x161ee9(0x21d)],this[_0x161ee9(0x2fd)],this[_0x161ee9(0x2fa)],this['_handler']);return _0x4b9892['_updateLocalCache'](),_0x4b9892;}[_0x25fdaf(0x289)](_0x235cf7){var _0x189a43=_0x25fdaf;return this[_0x189a43(0x43f)](!!(_0x235cf7!=null&&_0x235cf7[_0x189a43(0x340)]));}[_0x25fdaf(0x4a0)](_0x18ab5a){var _0x1d51ba=_0x25fdaf;return this[_0x1d51ba(0x520)]>Rt?this[_0x1d51ba(0x1d2)]():(this[_0x1d51ba(0x23f)]=bt(this[_0x1d51ba(0x520)],{'timeout':this[_0x1d51ba(0x520)],'reqId':_0x18ab5a[_0x1d51ba(0x1ff)]}),this[_0x1d51ba(0x47d)]=this[_0x1d51ba(0x23f)][_0x1d51ba(0x4dd)](({reqId:_0x381b15,timeout:_0x2f5b7a})=>{var _0x459897=_0x1d51ba;this[_0x459897(0x438)](_0x381b15,_0x2f5b7a);}),this);}[_0x25fdaf(0x1d2)](){var _0x2eaecf=_0x25fdaf;return this[_0x2eaecf(0x508)](),this['_injector'][_0x2eaecf(0x277)](exports[_0x2eaecf(0x2b4)],this[_0x2eaecf(0x2fd)],this[_0x2eaecf(0x2fa)],this[_0x2eaecf(0x231)],[],this[_0x2eaecf(0x264)]);}['toggleOnline'](){return this;}[_0x25fdaf(0x2c8)](){var _0x3a612c=_0x25fdaf;this[_0x3a612c(0x264)]['onSendChangeset'](this[_0x3a612c(0x231)]);}[_0x25fdaf(0x43f)](_0x5a57dc){var _0x5bbd23=_0x25fdaf;return this[_0x5bbd23(0x508)](),this['_injector']['createInstance'](exports[_0x5bbd23(0x4c8)],this[_0x5bbd23(0x2fd)],this[_0x5bbd23(0x2fa)],this[_0x5bbd23(0x231)],[],this[_0x5bbd23(0x264)],_0x5a57dc);}[_0x25fdaf(0x438)](_0x5d5bfe,_0x37eccd){var _0x674d02=_0x25fdaf,_0xfdbd6c;_0x5d5bfe===((_0xfdbd6c=this['_awaitingChangeset'])==null?void 0x0:_0xfdbd6c['reqId'])&&(this[_0x674d02(0x2c8)](),this['_resendTimeout']=_0x37eccd===0x0?0x3e8:_0x37eccd*0x2);}[_0x25fdaf(0x508)](){var _0x453887=_0x25fdaf,_0x9d204e;(_0x9d204e=this[_0x453887(0x47d)])==null||_0x9d204e[_0x453887(0x44e)](),this[_0x453887(0x520)]=0x0;}},exports[_0x25fdaf(0x308)]=ae([w(0x4,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x5,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2fe)])),w(0x6,a['ICommandService']),w(0x7,a[_0x25fdaf(0x248)]),w(0x8,I['ITransformService']),w(0x9,a[_0x25fdaf(0x524)]),w(0xa,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x308)]),exports[_0x25fdaf(0x4b5)]=class extends ce{constructor(_0x24b38b,_0x25e0e7,_0x52f601,_0x6e6f16,_0x3bb000,_0xe24971,_0x19704d,_0x18371e,_0x1d2520,_0x6855ea,_0x1bb675,_0x330bb7,_0x4b98cc){var _0x13ee25=_0x25fdaf;super(_0x24b38b,_0x25e0e7,_0x52f601,_0x6e6f16,_0x3bb000,_0x1d2520,_0x330bb7,_0x18371e,_0x4b98cc),A(this,_0x13ee25(0x403),'awaiting_with_pending'),A(this,_0x13ee25(0x520),0x0),A(this,_0x13ee25(0x23f)),A(this,_0x13ee25(0x47d)),(this[_0x13ee25(0x307)]=_0x19704d,this[_0x13ee25(0x207)]=_0x6855ea,this[_0x13ee25(0x4cd)]=_0x1bb675,this[_0x13ee25(0x279)]=_0x4b98cc,_0xe24971&&(this[_0x13ee25(0x23f)]=_0xe24971,this[_0x13ee25(0x47d)]=this[_0x13ee25(0x23f)][_0x13ee25(0x4dd)](({reqId:_0x5270cc,timeout:_0x29865c})=>{var _0x2fa634=_0x13ee25;this[_0x2fa634(0x438)](_0x5270cc,_0x29865c);})));}[_0x25fdaf(0x484)](_0x56a27b){var _0x9707b7=_0x25fdaf;return this[_0x9707b7(0x48e)][_0x9707b7(0x46e)](_0x56a27b),this;}['onRemoteChangeset'](_0x4bf948){var _0x4f03fc=_0x25fdaf;if(this[_0x4f03fc(0x466)](_0x4bf948))return this[_0x4f03fc(0x508)](),this[_0x4f03fc(0x307)][_0x4f03fc(0x277)](exports[_0x4f03fc(0x2ad)],this['unitID'],this[_0x4f03fc(0x2fa)],this[_0x4f03fc(0x231)],this[_0x4f03fc(0x48e)],null,[_0x4bf948],this[_0x4f03fc(0x264)]);try{const _0x4b3c52=this[_0x4f03fc(0x4cd)][_0x4f03fc(0x2a5)]([_0x4bf948],[this[_0x4f03fc(0x231)]],!0x1);if(I[_0x4f03fc(0x414)](_0x4b3c52)){const {c1Prime:_0x5ab7e8,c2Prime:_0x33176d}=_0x4b3c52,_0x5ee365=this[_0x4f03fc(0x4cd)][_0x4f03fc(0x2eb)](_0x5ab7e8[0x0],this['_pendingMutations']);if(I[_0x4f03fc(0x339)](_0x5ee365)){const {c1Prime:_0x171f5e,m2Prime:_0x3b294e}=_0x5ee365;return this[_0x4f03fc(0x1e1)](_0x171f5e),_0x33176d[0x0][_0x4f03fc(0x1be)]=this[_0x4f03fc(0x2b9)](),this[_0x4f03fc(0x508)](),this[_0x4f03fc(0x307)][_0x4f03fc(0x277)](exports[_0x4f03fc(0x4b5)],this['unitID'],this[_0x4f03fc(0x2fa)],_0x33176d[0x0],_0x3b294e,this[_0x4f03fc(0x264)],void 0x0);}throw _0x5ee365[_0x4f03fc(0x2d3)];}throw _0x4b3c52[_0x4f03fc(0x2d3)];}catch(_0x2ec4bb){return this[_0x4f03fc(0x207)][_0x4f03fc(0x2d3)](_0x2ec4bb),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x15d94e){var _0x58f4b6=_0x25fdaf;if(this[_0x58f4b6(0x508)](),this['_checkMissing'](_0x15d94e))return this[_0x58f4b6(0x307)][_0x58f4b6(0x277)](exports[_0x58f4b6(0x2ad)],this[_0x58f4b6(0x2fd)],this[_0x58f4b6(0x2fa)],null,this[_0x58f4b6(0x48e)],this[_0x58f4b6(0x231)],[],this['_handler']);this[_0x58f4b6(0x46a)]();const _0x3e1f00=this['_injector'][_0x58f4b6(0x277)](exports[_0x58f4b6(0x525)],this[_0x58f4b6(0x2fd)],this[_0x58f4b6(0x2fa)],this[_0x58f4b6(0x48e)],this['_handler']);return _0x3e1f00[_0x58f4b6(0x4a1)](),_0x3e1f00['_updateLocalCache'](),_0x3e1f00;}[_0x25fdaf(0x289)](_0x2f4809){var _0x386dcf=_0x25fdaf;return this[_0x386dcf(0x43f)](!!(_0x2f4809!=null&&_0x2f4809[_0x386dcf(0x340)]));}[_0x25fdaf(0x4a0)](_0x394964){var _0x3e36a2=_0x25fdaf;return this['_resendTimeout']>Rt?this[_0x3e36a2(0x1d2)]():(this[_0x3e36a2(0x23f)]=bt(this[_0x3e36a2(0x520)],{'timeout':this[_0x3e36a2(0x520)],'reqId':_0x394964[_0x3e36a2(0x1ff)]}),this[_0x3e36a2(0x47d)]=this[_0x3e36a2(0x23f)][_0x3e36a2(0x4dd)](({reqId:_0x5d1272,timeout:_0x167ed3})=>{var _0x19c6a0=_0x3e36a2;this[_0x19c6a0(0x438)](_0x5d1272,_0x167ed3);}),this);}[_0x25fdaf(0x1d2)](){var _0x63e916=_0x25fdaf;return this[_0x63e916(0x508)](),this['_injector'][_0x63e916(0x277)](exports[_0x63e916(0x2b4)],this[_0x63e916(0x2fd)],this[_0x63e916(0x2fa)],this[_0x63e916(0x231)],this[_0x63e916(0x48e)],this['_handler']);}['toggleOnline'](){return this;}[_0x25fdaf(0x2c8)](){var _0xa4509f=_0x25fdaf;this[_0xa4509f(0x264)]['onSendChangeset'](this[_0xa4509f(0x231)]);}['_onConflict'](_0x10f164){var _0x2f75cb=_0x25fdaf;return this['_clearScheduledTask'](),this[_0x2f75cb(0x307)][_0x2f75cb(0x277)](exports[_0x2f75cb(0x4c8)],this[_0x2f75cb(0x2fd)],this[_0x2f75cb(0x2fa)],null,this[_0x2f75cb(0x48e)],this[_0x2f75cb(0x264)],_0x10f164);}[_0x25fdaf(0x438)](_0x373a1f,_0x171955){var _0x4d400b=_0x25fdaf,_0x28118b;_0x373a1f===((_0x28118b=this[_0x4d400b(0x231)])==null?void 0x0:_0x28118b[_0x4d400b(0x1ff)])&&(this['resend'](),this[_0x4d400b(0x520)]=_0x171955===0x0?0x3e8:_0x171955*0x2);}[_0x25fdaf(0x508)](){var _0x4274bf=_0x25fdaf,_0x383ccc;(_0x383ccc=this['_sender'])==null||_0x383ccc[_0x4274bf(0x44e)](),this[_0x4274bf(0x520)]=0x0;}},exports[_0x25fdaf(0x4b5)]=ae([w(0x6,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x7,a[_0x25fdaf(0x3a5)](I['RevisionService'])),w(0x8,a[_0x25fdaf(0x464)]),w(0x9,a[_0x25fdaf(0x248)]),w(0xa,I['ITransformService']),w(0xb,a[_0x25fdaf(0x524)]),w(0xc,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x4b5)]),exports[_0x25fdaf(0x4c8)]=class extends ce{constructor(_0x388847,_0x3be762,_0x57f302,_0x3db86b,_0x5d55ef,_0x146b5d=!0x1,_0x359c3c,_0x3f9342,_0x2d246c,_0x5a0091,_0x1f9e81,_0x53deab,_0x55a280){var _0x1c63cc=_0x25fdaf;super(_0x388847,_0x3be762,_0x57f302,_0x3db86b,_0x5d55ef,_0x3f9342,_0x2d246c,_0x5a0091,_0x55a280),A(this,'status',_0x1c63cc(0x3ce)),(this[_0x1c63cc(0x453)]=_0x146b5d,this[_0x1c63cc(0x48d)]=_0x359c3c,this['_localeService']=_0x1f9e81,this[_0x1c63cc(0x33a)]=_0x53deab,this[_0x1c63cc(0x279)]=_0x55a280,this[_0x1c63cc(0x46c)](),this[_0x1c63cc(0x2c1)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x25fdaf(0x33d)](){return this;}['onRemoteAck'](){return this;}[_0x25fdaf(0x289)](){return this;}[_0x25fdaf(0x4a0)](){return this;}[_0x25fdaf(0x1d2)](){return this;}[_0x25fdaf(0x452)](){return this;}[_0x25fdaf(0x2c8)](){var _0xd81924=_0x25fdaf;throw new Error(_0xd81924(0x411));}[_0x25fdaf(0x2c1)](){var _0x1977b0=_0x25fdaf,_0x4c3ff6;(_0x4c3ff6=this[_0x1977b0(0x4db)])==null||_0x4c3ff6['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x25fdaf(0x46c)](){var _0x38d8b6=_0x25fdaf;this[_0x38d8b6(0x453)]?this['_collaborationUIEventService'][_0x38d8b6(0x297)]({'id':Z['PERMISSION_DENIED']}):this[_0x38d8b6(0x33a)][_0x38d8b6(0x297)]({'id':Z[_0x38d8b6(0x375)]});}[_0x25fdaf(0x1da)](){var _0x301713=_0x25fdaf;this[_0x301713(0x48d)][_0x301713(0x422)](new X['WorkbookEditablePermission'](this[_0x301713(0x2fd)])['id'],!0x1);}},exports[_0x25fdaf(0x4c8)]=ae([w(0x6,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x1cc)])),w(0x7,a[_0x25fdaf(0x464)]),w(0x8,a[_0x25fdaf(0x524)]),w(0x9,a['Inject'](I[_0x25fdaf(0x2fe)])),w(0xa,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x492)])),w(0xb,a[_0x25fdaf(0x3a5)](ee)),w(0xc,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x4c8)]),exports[_0x25fdaf(0x2b4)]=class extends ce{constructor(_0x524c29,_0x125cba,_0x3bb432,_0x34709e,_0x2f4c37,_0xd0a83d,_0x4ca14a,_0x5a6844,_0xb69601,_0x439c3b){var _0x297b94=_0x25fdaf;super(_0x524c29,_0x125cba,_0x3bb432,_0x34709e,_0x2f4c37,_0x5a6844,_0xb69601,_0x4ca14a,_0x439c3b),A(this,_0x297b94(0x403),'offline'),this[_0x297b94(0x307)]=_0xd0a83d;}[_0x25fdaf(0x484)](_0x51bf6c){var _0xbda9b6=_0x25fdaf;return this[_0xbda9b6(0x48e)][_0xbda9b6(0x46e)](_0x51bf6c),this[_0xbda9b6(0x49d)](),this;}[_0x25fdaf(0x33d)](_0x42cd9e){var _0x4912d2=_0x25fdaf;throw new Error(_0x4912d2(0x448));}['onRemoteAck'](){var _0x376de4=_0x25fdaf;throw new Error(_0x376de4(0x39c));}[_0x25fdaf(0x289)](){var _0x144918=_0x25fdaf;throw new Error(_0x144918(0x1d0));}[_0x25fdaf(0x4a0)](){return this;}[_0x25fdaf(0x1d2)](){return this;}[_0x25fdaf(0x452)](){var _0x5d857a=_0x25fdaf;const {_injector:_0x39a3cd,_pendingMutations:_0x3d44cb,_awaitingChangeset:_0x3b85ae,unitID:_0x31b8d8,_handler:_0x4f1c5c,type:_0x365aaf}=this,_0x17db37=Ot(_0x39a3cd,_0x31b8d8,_0x365aaf,_0x3b85ae,_0x3d44cb,_0x4f1c5c);return _0x17db37 instanceof exports[_0x5d857a(0x525)]?_0x17db37[_0x5d857a(0x4a1)]():(_0x17db37 instanceof exports[_0x5d857a(0x4b5)]||_0x17db37 instanceof exports[_0x5d857a(0x308)])&&_0x17db37[_0x5d857a(0x2c8)](),_0x17db37;}['resend'](){var _0x5cd1b7=_0x25fdaf;throw new Error(_0x5cd1b7(0x32d));}},exports[_0x25fdaf(0x2b4)]=ae([w(0x5,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x6,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2fe)])),w(0x7,a[_0x25fdaf(0x464)]),w(0x8,a[_0x25fdaf(0x524)]),w(0x9,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x2b4)]),exports['FetchingMissState']=class extends ce{constructor(_0x300d92,_0x59f8cf,_0x313d29,_0x5659be,_0x43b5b9,_0x2b88ce,_0x3b32ba,_0x13d110,_0x1ca0f6,_0x2e4cbb,_0x8921f2,_0x325d0a,_0x208b53,_0x1641e0){var _0x4dca89=_0x25fdaf;super(_0x300d92,_0x59f8cf,_0x313d29,_0x5659be,_0x3b32ba,_0x8921f2,_0x325d0a,_0x1ca0f6,_0x1641e0),A(this,_0x4dca89(0x403),_0x4dca89(0x1bc)),(this[_0x4dca89(0x3bf)]=_0x43b5b9,this['_queuedRemoteChangesets']=_0x2b88ce,this[_0x4dca89(0x307)]=_0x13d110,this[_0x4dca89(0x207)]=_0x2e4cbb,this['_transformService']=_0x208b53,this[_0x4dca89(0x279)]=_0x1641e0);}[_0x25fdaf(0x3f4)](_0x14945d){var _0x4ed925=_0x25fdaf;try{const _0x213e1d=[..._0x14945d,...this['_queuedRemoteChangesets']],_0x26b63e=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x4ed925(0x42a)](_0x55ded3=>!!_0x55ded3);let _0x43d150,_0x916e2f;if(_0x26b63e[_0x4ed925(0x27c)]){const _0x2c9c24=this[_0x4ed925(0x4cd)][_0x4ed925(0x2a5)](_0x213e1d,_0x26b63e,!0x1);if(!I[_0x4ed925(0x414)](_0x2c9c24))throw _0x2c9c24[_0x4ed925(0x2d3)];_0x43d150=_0x2c9c24['c1Prime'],_0x916e2f=_0x2c9c24[_0x4ed925(0x2f5)];}else _0x43d150=_0x213e1d,_0x916e2f=[];let _0x5a8006=this['_pendingMutations'];_0x43d150[_0x4ed925(0x265)](_0x579191=>{var _0x2d456c=_0x4ed925;let _0x2707ef;if(_0x5a8006[_0x2d456c(0x27c)]){const _0x4da690=this[_0x2d456c(0x4cd)][_0x2d456c(0x2eb)](_0x579191,_0x5a8006);if(!I[_0x2d456c(0x339)](_0x4da690))throw _0x4da690[_0x2d456c(0x2d3)];_0x2707ef=_0x4da690[_0x2d456c(0x321)],_0x5a8006=_0x4da690[_0x2d456c(0x470)];}else _0x2707ef=_0x579191;this['_executeRemoteChangeset'](_0x2707ef);}),this[_0x4ed925(0x3bf)]&&this[_0x4ed925(0x46a)](),this['_awaitingChangeset']&&_0x916e2f['length']&&(_0x916e2f[0x0][_0x4ed925(0x1be)]=this[_0x4ed925(0x2b9)]());let _0x4f6ad1;if(this['_awaitingChangeset']&&_0x5a8006[_0x4ed925(0x27c)]!==0x0)_0x4f6ad1=this[_0x4ed925(0x307)][_0x4ed925(0x277)](exports[_0x4ed925(0x4b5)],this[_0x4ed925(0x2fd)],this[_0x4ed925(0x2fa)],_0x916e2f[0x0],_0x5a8006,this[_0x4ed925(0x264)],void 0x0);else{if(this[_0x4ed925(0x231)]&&_0x5a8006['length']===0x0)_0x916e2f[0x0][_0x4ed925(0x1be)]=this[_0x4ed925(0x2b9)](),_0x4f6ad1=this[_0x4ed925(0x307)][_0x4ed925(0x277)](exports[_0x4ed925(0x308)],this['unitID'],this[_0x4ed925(0x2fa)],_0x916e2f[0x0],this[_0x4ed925(0x264)]);else{if(_0x5a8006[_0x4ed925(0x27c)]!==0x0){const _0x41e715=this[_0x4ed925(0x307)][_0x4ed925(0x277)](exports['PendingState'],this[_0x4ed925(0x2fd)],this[_0x4ed925(0x2fa)],_0x5a8006,this[_0x4ed925(0x264)]);_0x41e715['_schedule'](),_0x4f6ad1=_0x41e715;}else _0x4f6ad1=this[_0x4ed925(0x307)]['createInstance'](exports['SyncedState'],this['unitID'],this[_0x4ed925(0x2fa)],this[_0x4ed925(0x264)]);}}return _0x4f6ad1[_0x4ed925(0x49d)](),_0x4f6ad1;}catch(_0x546ea7){return this[_0x4ed925(0x207)]['error'](_0x4ed925(0x491),_0x4ed925(0x3a6),_0x546ea7),this[_0x4ed925(0x307)]['createInstance'](exports[_0x4ed925(0x4c8)],this[_0x4ed925(0x2fd)],this['type'],this[_0x4ed925(0x231)],this[_0x4ed925(0x48e)],this[_0x4ed925(0x264)],!0x1);}}[_0x25fdaf(0x2c8)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x25fdaf(0x484)](_0x22a571){var _0x308a2d=_0x25fdaf;return this[_0x308a2d(0x48e)][_0x308a2d(0x46e)](_0x22a571),this;}['onRemoteChangeset'](_0x839777){var _0x48ceff=_0x25fdaf;return this['_queuedRemoteChangesets'][_0x48ceff(0x46e)](_0x839777),this;}[_0x25fdaf(0x38c)](_0x371f61){var _0x3fbc5c=_0x25fdaf;if(this[_0x3fbc5c(0x231)])return this[_0x3fbc5c(0x3bf)]=this[_0x3fbc5c(0x231)],this[_0x3fbc5c(0x231)]=null,this;throw new Error(_0x3fbc5c(0x51c));}[_0x25fdaf(0x289)](_0x3d5b15){var _0x4f1287=_0x25fdaf;return this[_0x4f1287(0x43f)](!!(_0x3d5b15!=null&&_0x3d5b15[_0x4f1287(0x340)]));}[_0x25fdaf(0x4a0)](){return this;}[_0x25fdaf(0x1d2)](){var _0x64795=_0x25fdaf;return this[_0x64795(0x307)][_0x64795(0x277)](exports[_0x64795(0x2b4)],this['unitID'],this[_0x64795(0x2fa)],this[_0x64795(0x231)],this['_pendingMutations'],this[_0x64795(0x264)]);}['toggleOnline'](){return this;}[_0x25fdaf(0x43f)](_0x4c543e){var _0xc90ca2=_0x25fdaf;return this[_0xc90ca2(0x307)]['createInstance'](exports[_0xc90ca2(0x4c8)],this[_0xc90ca2(0x2fd)],this['type'],this['_awaitingChangeset'],this[_0xc90ca2(0x48e)],this[_0xc90ca2(0x264)],_0x4c543e);}},exports[_0x25fdaf(0x2ad)]=ae([w(0x7,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x8,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2fe)])),w(0x9,a['ILogService']),w(0xa,a[_0x25fdaf(0x464)]),w(0xb,a['IUndoRedoService']),w(0xc,I[_0x25fdaf(0x4f2)]),w(0xd,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x2ad)]);function Ot(_0x587058,_0x5f467e,_0x3496fa,_0x59bc0c,_0x1daba8,_0x44a468){var _0xa459a2=_0x25fdaf;return _0x59bc0c&&_0x1daba8['length']?_0x587058[_0xa459a2(0x277)](exports[_0xa459a2(0x4b5)],_0x5f467e,_0x3496fa,_0x59bc0c,_0x1daba8,_0x44a468,void 0x0):_0x59bc0c?_0x587058[_0xa459a2(0x277)](exports['AwaitingState'],_0x5f467e,_0x3496fa,_0x59bc0c,_0x44a468):_0x1daba8[_0xa459a2(0x27c)]?_0x587058[_0xa459a2(0x277)](exports[_0xa459a2(0x525)],_0x5f467e,_0x3496fa,_0x1daba8,_0x44a468):_0x587058['createInstance'](exports['SyncedState'],_0x5f467e,_0x3496fa,_0x44a468);}var vi=Object[_0x25fdaf(0x4ca)],Fe=(_0x9ad34c,_0x51f5cd,_0x30c00a,_0x2da331)=>{for(var _0x5af69b=_0x2da331>0x1?void 0x0:_0x2da331?vi(_0x51f5cd,_0x30c00a):_0x51f5cd,_0x23a7a3=_0x9ad34c['length']-0x1,_0x3c2dd4;_0x23a7a3>=0x0;_0x23a7a3--)(_0x3c2dd4=_0x9ad34c[_0x23a7a3])&&(_0x5af69b=_0x3c2dd4(_0x5af69b)||_0x5af69b);return _0x5af69b;},j=(_0x42d498,_0x5af17c)=>(_0x2cab6c,_0x31a83d)=>_0x5af17c(_0x2cab6c,_0x31a83d,_0x42d498);exports[_0x25fdaf(0x391)]=class extends a[_0x25fdaf(0x503)]{constructor(_0x10e117,_0x255983,_0x488ac4,_0x58f174,_0x486e8f,_0x28f462,_0x548a94,_0x57cb4c,_0x532c5d,_0x102e2e,_0x4adadc,_0x297a55,_0x4152e8){var _0x5c85eb=_0x25fdaf;super(),A(this,'_state$',new $[(_0x5c85eb(0x3cf))](null)),A(this,_0x5c85eb(0x21c),this[_0x5c85eb(0x320)]['asObservable']()),A(this,_0x5c85eb(0x497)),A(this,_0x5c85eb(0x291),!0x1),A(this,_0x5c85eb(0x2dd),''),A(this,_0x5c85eb(0x2e5),0x0),A(this,_0x5c85eb(0x32e),this['state$'][_0x5c85eb(0x310)]($['map'](_0x195af8=>_0x195af8?_0x195af8[_0x5c85eb(0x403)]:Be[_0x5c85eb(0x1e8)]),$[_0x5c85eb(0x1cd)](0x1))),A(this,_0x5c85eb(0x384),!0x1),A(this,_0x5c85eb(0x462),[]),(this['unitID']=_0x10e117,this['session']=_0x255983,this[_0x5c85eb(0x40f)]=_0x488ac4,this[_0x5c85eb(0x307)]=_0x58f174,this[_0x5c85eb(0x20f)]=_0x486e8f,this[_0x5c85eb(0x4f6)]=_0x28f462,this[_0x5c85eb(0x365)]=_0x548a94,this[_0x5c85eb(0x2b7)]=_0x57cb4c,this['_logService']=_0x532c5d,this[_0x5c85eb(0x437)]=_0x102e2e,this[_0x5c85eb(0x48d)]=_0x4adadc,this[_0x5c85eb(0x45f)]=_0x297a55,this[_0x5c85eb(0x4db)]=_0x4152e8);}get['state'](){var _0x22ccac=_0x25fdaf;return this[_0x22ccac(0x497)];}async[_0x25fdaf(0x27b)](){var _0x493a92=_0x25fdaf;if(this[_0x493a92(0x20d)])throw new Error(_0x493a92(0x298));await this[_0x493a92(0x3ab)]();}[_0x25fdaf(0x316)](){var _0x195401=_0x25fdaf;return this[_0x195401(0x291)]=!0x0,a[_0x195401(0x38a)](()=>{var _0x13cf39=_0x195401;this[_0x13cf39(0x291)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x25fdaf(0x364)](_0x3227ea){var _0x5181ab=_0x25fdaf;this[_0x5181ab(0x35d)](_0x3227ea);}['_updateState'](_0x295171){var _0x1ad600=_0x25fdaf;this[_0x1ad600(0x497)]=_0x295171,this['_state$'][_0x1ad600(0x44d)](_0x295171);}async[_0x25fdaf(0x3ab)](){var _0x38fefd=_0x25fdaf,_0x37f10e;this[_0x38fefd(0x37d)](await this[_0x38fefd(0x3a7)]()),this[_0x38fefd(0x45f)]&&((_0x37f10e=this['_singleActiveUnitService'])==null||_0x37f10e[_0x38fefd(0x2fc)](this[_0x38fefd(0x2fd)]),this['disposeWithMe'](this[_0x38fefd(0x45f)][_0x38fefd(0x35a)](this[_0x38fefd(0x2fd)])[_0x38fefd(0x4dd)](_0x2a8a98=>{var _0x226bf2=_0x38fefd;this[_0x226bf2(0x207)]['debug'](_0x226bf2(0x441),_0x226bf2(0x496),_0x2a8a98),_0x2a8a98===je[_0x226bf2(0x3f3)]?(this[_0x226bf2(0x2b7)][_0x226bf2(0x297)]({'id':Z[_0x226bf2(0x50b)]}),this['_permissionService'][_0x226bf2(0x422)](new X[(_0x226bf2(0x4a7))](this[_0x226bf2(0x2fd)])['id'],!0x1),this['_permissionService'][_0x226bf2(0x45d)](!0x1)):(this[_0x226bf2(0x48d)]['updatePermissionPoint'](new X[(_0x226bf2(0x4a7))](this[_0x226bf2(0x2fd)])['id'],!0x0),this[_0x226bf2(0x48d)][_0x226bf2(0x45d)](!0x0));})));let _0x29a6f3=!0x1;return this[_0x38fefd(0x49f)](this[_0x38fefd(0x29d)]['sessionStatus$']['subscribe'](_0x4d6304=>{var _0x4c3596=_0x38fefd;_0x4d6304===re[_0x4c3596(0x323)]?this['_toggleOnline'](_0x29a6f3):_0x4d6304===re['OFFLINE']&&(_0x29a6f3=!0x0,this[_0x4c3596(0x22c)]());})),this['disposeWithMe'](this[_0x38fefd(0x29d)]['event$'][_0x38fefd(0x4dd)](_0x4c3308=>{var _0x1e386e=_0x38fefd;try{switch(_0x4c3308[_0x1e386e(0x353)]){case I[_0x1e386e(0x1e4)][_0x1e386e(0x2c5)]:{this[_0x1e386e(0x3c1)](I[_0x1e386e(0x20b)](_0x4c3308[_0x1e386e(0x1c9)]));break;}case I['CollaborationEvent'][_0x1e386e(0x1c8)]:{this[_0x1e386e(0x436)](_0x4c3308[_0x1e386e(0x1c9)]);break;}case I[_0x1e386e(0x1e4)][_0x1e386e(0x495)]:{this[_0x1e386e(0x358)]();break;}case I['CollaborationEvent'][_0x1e386e(0x2ed)]:{this['_onRemoteRetry'](_0x4c3308[_0x1e386e(0x1c9)]);break;}case I['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x4c3308['data']['changesets']['map'](_0x32cfed=>I[_0x1e386e(0x20b)](_0x32cfed)));break;}case I['CollaborationEvent'][_0x1e386e(0x1d6)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x1e386e(0x1e4)][_0x1e386e(0x4b4)]:break;}}catch(_0x56d9ec){throw console[_0x1e386e(0x2d3)](_0x1e386e(0x20a),_0x56d9ec),_0x56d9ec;}})),this['_state'];}[_0x25fdaf(0x45b)](){var _0x108136=_0x25fdaf;this[_0x108136(0x384)]=!0x1;}['_lockTransition'](){var _0x4daac9=_0x25fdaf;if(this[_0x4daac9(0x384)])throw new Error(_0x4daac9(0x22b));this[_0x4daac9(0x384)]=!0x0;}['_onLocalMutation'](_0x1597e3){var _0x286457=_0x25fdaf;this['_lockTransition'](),this[_0x286457(0x37d)](this[_0x286457(0x497)]['appendMutation'](_0x1597e3)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x4939be){var _0x54234d=_0x25fdaf;if(!(_0x4939be[_0x54234d(0x523)]<=this[_0x54234d(0x365)]['getCurrentRevOfUnit'](this[_0x54234d(0x2fd)]))){if(this[_0x54234d(0x291)]){this['_remoteChangesetQueue'][_0x54234d(0x46e)](_0x4939be);return;}this[_0x54234d(0x3fb)](_0x4939be);}}[_0x25fdaf(0x445)](){var _0x46f7d9=_0x25fdaf;this['_remoteChangesetQueue'][_0x46f7d9(0x265)](_0xbae5e1=>this[_0x46f7d9(0x3fb)](_0xbae5e1)),this[_0x46f7d9(0x462)]=[];}[_0x25fdaf(0x3fb)](_0x3462c5){var _0xb30af0=_0x25fdaf;const _0x34c7c7=this[_0xb30af0(0x20f)][_0xb30af0(0x209)][_0xb30af0(0x25f)](this[_0xb30af0(0x20f)][_0xb30af0(0x209)][_0xb30af0(0x40d)]()['COMPRESS_MUTATION_APPLY'])(_0x3462c5[_0xb30af0(0x240)],null)||_0x3462c5['mutations'],_0x46d735={..._0x3462c5,'mutations':_0x34c7c7};this['_lockTransition'](),this[_0xb30af0(0x37d)](this[_0xb30af0(0x497)][_0xb30af0(0x33d)](_0x46d735)),this[_0xb30af0(0x45b)]();}['_onRemoteACK'](_0x57e853){var _0x2e97cb=_0x25fdaf;this['_lockTransition'](),this[_0x2e97cb(0x37d)](this['_state'][_0x2e97cb(0x38c)](_0x57e853)),this['_unlockTransition']();}[_0x25fdaf(0x358)](_0x59299f){var _0x532461=_0x25fdaf;this[_0x532461(0x268)](),this[_0x532461(0x37d)](this[_0x532461(0x497)]['onRemoteRej'](_0x59299f)),this[_0x532461(0x45b)]();}[_0x25fdaf(0x433)](_0x34f27b){var _0x1f299b=_0x25fdaf;this[_0x1f299b(0x268)](),this[_0x1f299b(0x37d)](this[_0x1f299b(0x497)][_0x1f299b(0x4a0)](_0x34f27b)),this[_0x1f299b(0x45b)]();}['_onFetchMissResult'](_0x54c1b0){var _0x12cb46=_0x25fdaf;if(!(this['_state']instanceof exports[_0x12cb46(0x2ad)]))throw new TypeError(_0x12cb46(0x458));const _0x90e504=_0x54c1b0[_0x12cb46(0x1ba)](_0x36846d=>{var _0x4498a5=_0x12cb46;const _0x47105a=this[_0x4498a5(0x20f)][_0x4498a5(0x209)][_0x4498a5(0x25f)](this['_compressMutationService'][_0x4498a5(0x209)][_0x4498a5(0x40d)]()['COMPRESS_MUTATION_APPLY'])(_0x36846d[_0x4498a5(0x240)],null)||_0x36846d[_0x4498a5(0x240)];return{..._0x36846d,'mutations':_0x47105a};});this[_0x12cb46(0x268)](),this[_0x12cb46(0x37d)](this[_0x12cb46(0x497)][_0x12cb46(0x3f4)](_0x90e504)),this[_0x12cb46(0x45b)]();}['_toggleOffline'](){var _0x1e1885=_0x25fdaf;this[_0x1e1885(0x268)](),this[_0x1e1885(0x37d)](this[_0x1e1885(0x497)][_0x1e1885(0x1d2)]()),this[_0x1e1885(0x45b)]();}[_0x25fdaf(0x3b2)](_0x4608d3=!0x1){var _0x535ecf=_0x25fdaf;this['_lockTransition'](),this[_0x535ecf(0x37d)](this['_state'][_0x535ecf(0x452)]()),this[_0x535ecf(0x45b)]();const _0x31069c=this[_0x535ecf(0x497)];_0x4608d3&&_0x31069c instanceof exports[_0x535ecf(0x21d)]&&(this[_0x535ecf(0x268)](),this[_0x535ecf(0x37d)](_0x31069c['fetchMiss']()),this[_0x535ecf(0x45b)]());}async['_createInitialState'](){return new Promise(_0x37e80e=>{var _0x124f1a=_0x305e;this['session'][_0x124f1a(0x501)]['pipe']($[_0x124f1a(0x34e)](0x1))[_0x124f1a(0x4dd)](async _0x53f586=>{var _0x58b7f4=_0x124f1a;_0x37e80e(await this[_0x58b7f4(0x3cb)](_0x53f586===re[_0x58b7f4(0x323)]));});});}[_0x25fdaf(0x42c)](){const _0x5c8b1c=this['unitID'];return{'onStateChange':(_0xd3aab4,_0xd168a8)=>{var _0x57449a=_0x305e;if(_0xd3aab4!==this[_0x57449a(0x497)])throw new Error(_0x57449a(0x314)+_0xd3aab4[_0x57449a(0x403)]+_0x57449a(0x380)+_0xd168a8[_0x57449a(0x403)]+_0x57449a(0x3d2)+this[_0x57449a(0x497)][_0x57449a(0x403)]);this[_0x57449a(0x37d)](_0xd168a8);},'onSendChangeset':_0x5f34ca=>{var _0x21476f=_0x305e;_0x5f34ca[_0x21476f(0x4e3)]||(_0x5f34ca['sid']=this['_changesetSessionId'],_0x5f34ca[_0x21476f(0x1ff)]=++this[_0x21476f(0x2e5)]);const _0x5d6d89={'eventID':I[_0x21476f(0x1e4)][_0x21476f(0x26b)],'data':{'unitID':_0x5f34ca[_0x21476f(0x2fd)],'unitType':this[_0x21476f(0x40f)],'changeset':_0x5f34ca,'memberID':this[_0x21476f(0x29d)][_0x21476f(0x23a)]()}};this['session'][_0x21476f(0x3ec)](_0x5d6d89,this[_0x21476f(0x2fd)]);},'onMissingChangesets':({from:_0x57fa35,to:_0x45ac83})=>{var _0x24dd9c=_0x305e;this[_0x24dd9c(0x207)]['debug'](_0x24dd9c(0x441),_0x24dd9c(0x23e)+_0x57fa35+_0x24dd9c(0x1c2)+_0x45ac83);const _0x386307={'eventID':I['CollaborationEvent'][_0x24dd9c(0x329)],'data':{'unitID':_0x5c8b1c,'unitType':this[_0x24dd9c(0x40f)],'from':_0x57fa35,'to':_0x45ac83}};this['session'][_0x24dd9c(0x3ec)](_0x386307,this[_0x24dd9c(0x2fd)]);}};}async[_0x25fdaf(0x3cb)](_0x287b07){var _0x29f447=_0x25fdaf,_0x47809f,_0x1fb01d,_0x373df3;const _0x4e59cc=await((_0x47809f=this[_0x29f447(0x4db)])==null?void 0x0:_0x47809f[_0x29f447(0x42f)](this['unitID'])),_0x3b14a6=(_0x1fb01d=_0x4e59cc==null?void 0x0:_0x4e59cc[_0x29f447(0x240)])!=null?_0x1fb01d:[],_0x9abb44=(_0x373df3=_0x4e59cc==null?void 0x0:_0x4e59cc['awaitingChangeset'])!=null?_0x373df3:null,_0xbc8222=!!(_0x9abb44!=null&&_0x9abb44[_0x29f447(0x4e3)])&&!!(_0x9abb44!=null&&_0x9abb44[_0x29f447(0x1ff)]);this['_changesetSessionId']=_0xbc8222?_0x9abb44[_0x29f447(0x4e3)]:I[_0x29f447(0x2a8)](),this['_changesetReqId']=_0xbc8222?_0x9abb44['reqId']:0x0;const _0x54a8cd=this['unitID'];try{this[_0x29f447(0x517)](_0x9abb44,_0x3b14a6);}catch(_0x2f1d37){this['_logService'][_0x29f447(0x2d3)](_0x2f1d37);}const _0x4cc6af=this[_0x29f447(0x42c)]();if(_0x287b07){const _0x478f87=Ot(this[_0x29f447(0x307)],_0x54a8cd,this['_type'],_0x9abb44,_0x3b14a6,_0x4cc6af);return _0x478f87 instanceof exports[_0x29f447(0x525)]?_0x478f87[_0x29f447(0x4a1)]():(_0x478f87 instanceof exports[_0x29f447(0x4b5)]||_0x478f87 instanceof exports['AwaitingState'])&&_0x478f87[_0x29f447(0x2c8)](),_0x478f87;}return this[_0x29f447(0x307)][_0x29f447(0x277)](exports[_0x29f447(0x2b4)],_0x54a8cd,this[_0x29f447(0x40f)],_0x9abb44,_0x3b14a6,_0x4cc6af);}[_0x25fdaf(0x517)](_0xadd7ec,_0x2722ba){var _0x51fc82=_0x25fdaf,_0x12c6f1,_0x40108c;const _0x4a0a9d=this[_0x51fc82(0x20f)]['interceptor'][_0x51fc82(0x25f)](this[_0x51fc82(0x20f)]['interceptor'][_0x51fc82(0x40d)]()[_0x51fc82(0x410)]);(_0x12c6f1=_0x4a0a9d((_0xadd7ec==null?void 0x0:_0xadd7ec[_0x51fc82(0x240)])||[],null))==null||_0x12c6f1['forEach'](_0x3d400c=>this['_commandService'][_0x51fc82(0x292)](_0x3d400c['id'],_0x3d400c[_0x51fc82(0x38e)])),(_0x40108c=_0x4a0a9d(_0x2722ba||[],null))==null||_0x40108c[_0x51fc82(0x265)](_0x401e9b=>this[_0x51fc82(0x437)]['executeCommand'](_0x401e9b['id'],_0x401e9b['params']));}},exports[_0x25fdaf(0x391)]=Fe([j(0x3,a['Inject'](a[_0x25fdaf(0x481)])),j(0x4,a['Inject'](I['CompressMutationService'])),j(0x5,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x492)])),j(0x6,a['Inject'](I[_0x25fdaf(0x2fe)])),j(0x7,a[_0x25fdaf(0x3a5)](ee)),j(0x8,a[_0x25fdaf(0x248)]),j(0x9,a[_0x25fdaf(0x464)]),j(0xa,a[_0x25fdaf(0x1cc)]),j(0xb,a[_0x25fdaf(0x44b)](de)),j(0xc,a[_0x25fdaf(0x44b)](q))],exports['CollaborationEntity']),exports[_0x25fdaf(0x521)]=class extends exports[_0x25fdaf(0x391)]{constructor(_0x26d47d,_0x146708,_0x5cd754,_0x1b4f1a,_0x57df1c,_0x4ab2d4,_0x4d7114,_0x347d81,_0x36b159,_0x2486a6,_0x267b9a,_0x53f068,_0x25e159){var _0x421ac2=_0x25fdaf;super(_0x26d47d,_0x5cd754,_0x146708,_0x1b4f1a,_0x57df1c,_0x4ab2d4,_0x4d7114,_0x347d81,_0x36b159,_0x2486a6,_0x267b9a,_0x53f068,_0x25e159),A(this,_0x421ac2(0x2b1),null),(this[_0x421ac2(0x2fd)]=_0x26d47d,this[_0x421ac2(0x2fa)]=_0x146708);}[_0x25fdaf(0x4e9)](_0x16d00c){var _0x2c19ab=_0x25fdaf;this[_0x2c19ab(0x2b1)]=_0x16d00c;}['dispose'](){var _0x331723=_0x25fdaf;this['_handlerCallback']=null,super[_0x331723(0x465)]();}[_0x25fdaf(0x42c)](){var _0x2320f9=_0x25fdaf;const _0x40e805=super[_0x2320f9(0x42c)]();return _0x40e805[_0x2320f9(0x1e9)]=_0x571feb=>{var _0x11c731=_0x2320f9,_0x723660,_0x3650d7;return(_0x3650d7=(_0x723660=this[_0x11c731(0x2b1)])==null?void 0x0:_0x723660[_0x11c731(0x1e9)])==null?void 0x0:_0x3650d7[_0x11c731(0x1d5)](_0x723660,_0x571feb);},_0x40e805[_0x2320f9(0x227)]=_0x191eb5=>{var _0x14c30b=_0x2320f9,_0x126ab5,_0x2b8087;return(_0x2b8087=(_0x126ab5=this[_0x14c30b(0x2b1)])==null?void 0x0:_0x126ab5[_0x14c30b(0x227)])==null?void 0x0:_0x2b8087[_0x14c30b(0x1d5)](_0x126ab5,_0x191eb5);},_0x40e805[_0x2320f9(0x39f)]=_0x12aba7=>{var _0x468f3d=_0x2320f9,_0xf6138e,_0x2e2e51;return(_0x2e2e51=(_0xf6138e=this[_0x468f3d(0x2b1)])==null?void 0x0:_0xf6138e['onTransformSelections'])==null?void 0x0:_0x2e2e51[_0x468f3d(0x1d5)](_0xf6138e,_0x12aba7);},_0x40e805['onSyncEditingCollabCursor']=_0x283380=>{var _0x19bd42=_0x2320f9,_0x22d0fe,_0x2e438e;return(_0x2e438e=(_0x22d0fe=this[_0x19bd42(0x2b1)])==null?void 0x0:_0x22d0fe[_0x19bd42(0x343)])==null?void 0x0:_0x2e438e[_0x19bd42(0x1d5)](_0x22d0fe,_0x283380);},_0x40e805[_0x2320f9(0x214)]=_0x3a8eec=>{var _0x271489=_0x2320f9,_0x868790,_0xef293,_0xc24bc6;if(!((_0x868790=this[_0x271489(0x2b1)])!=null&&_0x868790[_0x271489(0x214)]))throw new Error(_0x271489(0x346));return(_0xc24bc6=(_0xef293=this[_0x271489(0x2b1)])==null?void 0x0:_0xef293[_0x271489(0x214)])==null?void 0x0:_0xc24bc6[_0x271489(0x1d5)](_0xef293,_0x3a8eec);},_0x40e805[_0x2320f9(0x22a)]=_0xa9cf31=>{var _0x4fa920=_0x2320f9,_0x5c37b3,_0x299a85,_0x1e6600;if(!((_0x5c37b3=this[_0x4fa920(0x2b1)])!=null&&_0x5c37b3[_0x4fa920(0x22a)]))throw new Error(_0x4fa920(0x318));return(_0x1e6600=(_0x299a85=this[_0x4fa920(0x2b1)])==null?void 0x0:_0x299a85[_0x4fa920(0x22a)])==null?void 0x0:_0x1e6600[_0x4fa920(0x1d5)](_0x299a85,_0xa9cf31);},_0x40e805;}async[_0x25fdaf(0x3ab)](){var _0x185da2=_0x25fdaf;const _0x4ba6da=await super[_0x185da2(0x3ab)]();return this[_0x185da2(0x49f)](this[_0x185da2(0x437)][_0x185da2(0x21f)]((_0x483c17,_0x5e7b73)=>{var _0x276891=_0x185da2;if(_0x483c17[_0x276891(0x2fa)]!==a['CommandType'][_0x276891(0x47b)]||_0x5e7b73!=null&&_0x5e7b73[_0x276891(0x2bf)]||_0x5e7b73!=null&&_0x5e7b73['onlyLocal']||_0x483c17['id']===ht[_0x276891(0x486)]['id'])return;const _0x4efba1=_0x483c17[_0x276891(0x38e)];if((_0x4efba1==null?void 0x0:_0x4efba1[_0x276891(0x468)])!==this[_0x276891(0x2fd)])return;const _0x436bfb=_0x483c17,_0x5151b9=this[_0x276891(0x20f)][_0x276891(0x209)][_0x276891(0x25f)](this['_compressMutationService']['interceptor'][_0x276891(0x40d)]()[_0x276891(0x1d3)])([_0x436bfb],null)||[_0x436bfb];this['_onLocalMutation'](_0x5151b9[0x0]);})),_0x4ba6da;}},exports[_0x25fdaf(0x521)]=Fe([j(0x3,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),j(0x4,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x34c)])),j(0x5,a[_0x25fdaf(0x3a5)](a['LocaleService'])),j(0x6,a[_0x25fdaf(0x3a5)](I['RevisionService'])),j(0x7,a[_0x25fdaf(0x3a5)](ee)),j(0x8,a['ILogService']),j(0x9,a['ICommandService']),j(0xa,a[_0x25fdaf(0x1cc)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x521)]),exports[_0x25fdaf(0x383)]=class extends exports['CollaborationEntity']{constructor(_0x4e9d4c,_0x27fdba,_0x2275bd,_0x41dbf1,_0x12cdda,_0x3f68d5,_0x2e8661,_0x5cdcd7,_0x3d6cdc,_0x4959a7,_0x50075f,_0xf32fb0,_0x4242a5,_0xba6fbb){var _0x51d184=_0x25fdaf;super(_0x4e9d4c,_0x2275bd,_0x27fdba,_0x41dbf1,_0x12cdda,_0x3f68d5,_0x2e8661,_0x3d6cdc,_0x4959a7,_0x50075f,_0xf32fb0,_0x4242a5,_0xba6fbb),this['unitID']=_0x4e9d4c,this[_0x51d184(0x2fa)]=_0x27fdba,this[_0x51d184(0x400)]=_0x5cdcd7;}['_createHandler'](){var _0x4a7bd9=_0x25fdaf;const _0x13690e=super['_createHandler']();return _0x13690e['onTransformSelections']=_0x586e48=>this[_0x4a7bd9(0x400)][_0x4a7bd9(0x23c)](_0x586e48),_0x13690e;}async[_0x25fdaf(0x3ab)](){var _0x50308f=_0x25fdaf;const _0x11c2b2=await super[_0x50308f(0x3ab)]();return this[_0x50308f(0x49f)](this[_0x50308f(0x437)][_0x50308f(0x21f)]((_0x187f96,_0x130838)=>{var _0x2d9f33=_0x50308f;if(_0x187f96[_0x2d9f33(0x2fa)]!==a[_0x2d9f33(0x299)][_0x2d9f33(0x47b)]||_0x130838!=null&&_0x130838[_0x2d9f33(0x2bf)]||_0x130838!=null&&_0x130838[_0x2d9f33(0x37f)])return;const _0x1a9f08=_0x187f96[_0x2d9f33(0x38e)];if((_0x1a9f08==null?void 0x0:_0x1a9f08[_0x2d9f33(0x468)])!==this[_0x2d9f33(0x2fd)])return;const _0x3f2434=_0x187f96,_0x4f55d4=this[_0x2d9f33(0x20f)][_0x2d9f33(0x209)][_0x2d9f33(0x25f)](this[_0x2d9f33(0x20f)]['interceptor'][_0x2d9f33(0x40d)]()[_0x2d9f33(0x1d3)])([_0x3f2434],null)||[_0x3f2434];this['_onLocalMutation'](_0x4f55d4[0x0]);})),_0x11c2b2;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x25fdaf(0x3a5)](a['Injector'])),j(0x4,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x34c)])),j(0x5,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x492)])),j(0x6,a['Inject'](I[_0x25fdaf(0x2fe)])),j(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x25fdaf(0x3a5)](ee)),j(0x9,a[_0x25fdaf(0x248)]),j(0xa,a[_0x25fdaf(0x464)]),j(0xb,a[_0x25fdaf(0x1cc)]),j(0xc,a[_0x25fdaf(0x44b)](de)),j(0xd,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x383)]);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x22ba67,_0x23a502,_0x217c0e,_0x52dd76)=>{var _0x17c38c=_0x25fdaf;for(var _0x231daa=_0x52dd76>0x1?void 0x0:_0x52dd76?Si(_0x23a502,_0x217c0e):_0x23a502,_0x18478a=_0x22ba67[_0x17c38c(0x27c)]-0x1,_0x156510;_0x18478a>=0x0;_0x18478a--)(_0x156510=_0x22ba67[_0x18478a])&&(_0x231daa=_0x156510(_0x231daa)||_0x231daa);return _0x231daa;},Se=(_0x5f4039,_0x5d0a19)=>(_0x198402,_0x5ce057)=>_0x5d0a19(_0x198402,_0x5ce057,_0x5f4039);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x4cb84b,_0x1b9079,_0x3f26d7,_0xd4855d){var _0x245111=_0x25fdaf,_0x11273d;super(),A(this,_0x245111(0x29e),new Map()),A(this,_0x245111(0x526),new $[(_0x245111(0x23d))]()),A(this,_0x245111(0x44c),this[_0x245111(0x526)][_0x245111(0x266)]()),(this[_0x245111(0x307)]=_0x4cb84b,this[_0x245111(0x4ed)]=_0x1b9079,this[_0x245111(0x2f0)]=_0x3f26d7,this[_0x245111(0x43b)]=_0xd4855d,((_0x11273d=this['_configService'][_0x245111(0x507)](K))==null?void 0x0:_0x11273d[_0x245111(0x3b5)])!==!0x1&&this[_0x245111(0x3ab)]());}['dispose'](){var _0x5870cd=_0x25fdaf;super[_0x5870cd(0x465)](),this[_0x5870cd(0x29e)][_0x5870cd(0x265)](_0xc9fada=>_0xc9fada[_0x5870cd(0x465)]()),this[_0x5870cd(0x29e)][_0x5870cd(0x3e9)]();}[_0x25fdaf(0x26e)](_0xf706b9){var _0x1d9cca=_0x25fdaf,_0x4bcd7f;return(_0x4bcd7f=this[_0x1d9cca(0x29e)]['get'](_0xf706b9))!=null?_0x4bcd7f:null;}[_0x25fdaf(0x2db)](_0x1eccb7){var _0x28c22c=_0x25fdaf;const _0x713189=this[_0x28c22c(0x26e)](_0x1eccb7);return _0x713189?$['of'](_0x713189):this[_0x28c22c(0x526)]['pipe'](V[_0x28c22c(0x42a)](_0x478865=>_0x478865[_0x28c22c(0x2fd)]===_0x1eccb7));}[_0x25fdaf(0x283)](_0x9d2b77){var _0x466089=_0x25fdaf;return $[_0x466089(0x3c2)](this['getCollabEntity$'](_0x9d2b77)[_0x466089(0x310)](V[_0x466089(0x1ba)](()=>{})));}[_0x25fdaf(0x3ab)](){var _0x35adb2=_0x25fdaf;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x35adb2(0x31e)][_0x35adb2(0x3f5)])[_0x35adb2(0x310)]($[_0x35adb2(0x1b1)](this[_0x35adb2(0x3e6)]),V[_0x35adb2(0x394)](0x10))['subscribe'](async _0x56d6f6=>{var _0x81e8a0=_0x35adb2;const _0x21b830=_0x56d6f6['getUnitId'](),_0x1415e1=await this[_0x81e8a0(0x3a3)](_0x21b830,J['UNIVER_SHEET']);this[_0x81e8a0(0x29e)][_0x81e8a0(0x397)](_0x21b830,_0x1415e1);}),this[_0x35adb2(0x43b)][_0x35adb2(0x393)](a['UniverInstanceType'][_0x35adb2(0x1e0)])[_0x35adb2(0x310)]($['takeUntil'](this[_0x35adb2(0x3e6)]),V[_0x35adb2(0x394)](0x10))[_0x35adb2(0x310)](V[_0x35adb2(0x42a)](_0x19b80a=>!_0x19b80a[_0x35adb2(0x3dc)]()['startsWith']('__')))[_0x35adb2(0x4dd)](async _0x6de9d7=>{var _0x4ec0d7=_0x35adb2;const _0x3f10ea=_0x6de9d7[_0x4ec0d7(0x3dc)](),_0x378925=await this[_0x4ec0d7(0x3a3)](_0x3f10ea,J[_0x4ec0d7(0x1e0)]);this[_0x4ec0d7(0x29e)]['set'](_0x3f10ea,_0x378925);}),$[_0x35adb2(0x4d1)](this['_univerInstanceService'][_0x35adb2(0x201)](a[_0x35adb2(0x31e)][_0x35adb2(0x3f5)]),this[_0x35adb2(0x43b)][_0x35adb2(0x201)](a[_0x35adb2(0x31e)][_0x35adb2(0x1e0)]))[_0x35adb2(0x310)]($[_0x35adb2(0x1b1)](this[_0x35adb2(0x3e6)]))['subscribe'](_0x1a0ab4=>{var _0x2c82e0=_0x35adb2;const _0x195483=_0x1a0ab4[_0x2c82e0(0x3dc)](),_0x386827=this[_0x2c82e0(0x29e)][_0x2c82e0(0x4bb)](_0x195483);_0x386827&&(_0x386827[_0x2c82e0(0x465)](),this[_0x2c82e0(0x29e)][_0x2c82e0(0x257)](_0x195483));});}async['_startCollaboration'](_0x1f484f,_0x4984dd){var _0x58a474=_0x25fdaf;const _0x41f8fb=await this['_collabSessionService']['requireSession'](_0x1f484f),_0x318127=this[_0x58a474(0x307)][_0x58a474(0x277)](this['_getCtorByUniverType'](_0x4984dd),_0x1f484f,_0x4984dd,_0x41f8fb);return await _0x318127[_0x58a474(0x27b)](),this[_0x58a474(0x526)][_0x58a474(0x44d)](_0x318127),_0x318127;}[_0x25fdaf(0x451)](_0x3479c6){var _0x469876=_0x25fdaf;switch(_0x3479c6){case J['UNIVER_DOC']:return exports[_0x469876(0x521)];case J[_0x469876(0x3f5)]:return exports[_0x469876(0x383)];default:throw new Error(_0x469876(0x46f)+_0x3479c6);}}},exports[_0x25fdaf(0x2ce)]=fi([Se(0x0,a[_0x25fdaf(0x3a5)](a['Injector'])),Se(0x1,a['Inject'](exports[_0x25fdaf(0x440)])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x25fdaf(0x379)])],exports[_0x25fdaf(0x2ce)]);var pi=Object[_0x25fdaf(0x4ca)],Ii=(_0x22b5c2,_0x1fbbc5,_0x3045d3,_0x49c145)=>{var _0xfa814d=_0x25fdaf;for(var _0x4b0cf6=_0x49c145>0x1?void 0x0:_0x49c145?pi(_0x1fbbc5,_0x3045d3):_0x1fbbc5,_0x20108f=_0x22b5c2[_0xfa814d(0x27c)]-0x1,_0x480e4d;_0x20108f>=0x0;_0x20108f--)(_0x480e4d=_0x22b5c2[_0x20108f])&&(_0x4b0cf6=_0x480e4d(_0x4b0cf6)||_0x4b0cf6);return _0x4b0cf6;},Ye=(_0x25a204,_0x1296d9)=>(_0x45ea08,_0x13821b)=>_0x1296d9(_0x45ea08,_0x13821b,_0x25a204);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a['Disposable']{constructor(_0x3f2620,_0x46c340){var _0x408f4f=_0x25fdaf;super(),this[_0x408f4f(0x43b)]=_0x3f2620,this[_0x408f4f(0x2f0)]=_0x46c340,this[_0x408f4f(0x3ab)]();}[_0x25fdaf(0x3ab)](){var _0x4613b6=_0x25fdaf;this[_0x4613b6(0x49f)](this[_0x4613b6(0x43b)][_0x4613b6(0x3bb)][_0x4613b6(0x4dd)](()=>{var _0x1ef3a3=_0x4613b6,_0x1c302e;const _0x41b139=this[_0x1ef3a3(0x43b)][_0x1ef3a3(0x4f9)]();let _0x347fb5=(_0x1c302e=this[_0x1ef3a3(0x2f0)]['getConfig'](gi))!=null?_0x1c302e:Ei;_0x41b139 instanceof a[_0x1ef3a3(0x25c)]&&(_0x347fb5=_0x41b139[_0x1ef3a3(0x280)]),document[_0x1ef3a3(0x471)]=_0x347fb5;}));}};xe=Ii([Ye(0x0,a[_0x25fdaf(0x379)]),Ye(0x1,a[_0x25fdaf(0x2e1)])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0x645e89,_0x12252f,_0x4074b3,_0x59f3ca)=>{for(var _0x486f60=_0x59f3ca>0x1?void 0x0:_0x59f3ca?mi(_0x12252f,_0x4074b3):_0x12252f,_0x2308e3=_0x645e89['length']-0x1,_0x30616c;_0x2308e3>=0x0;_0x2308e3--)(_0x30616c=_0x645e89[_0x2308e3])&&(_0x486f60=_0x30616c(_0x486f60)||_0x486f60);return _0x486f60;},Ae=(_0x2e7847,_0xd2c310)=>(_0x222dc0,_0x5d4978)=>_0xd2c310(_0x222dc0,_0x5d4978,_0x2e7847);let ye=class{constructor(_0x10f1f1,_0x140852,_0x1ee55c){var _0x150504=_0x25fdaf;this[_0x150504(0x2f0)]=_0x10f1f1,this[_0x150504(0x35c)]=_0x140852,this['localeService']=_0x1ee55c,this[_0x150504(0x27b)]();}[_0x25fdaf(0x27b)](){var _0xf3d4c0=_0x25fdaf;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x225fb4,_0x448933)=>_0x448933(_0x225fb4)[_0xf3d4c0(0x310)]($[_0xf3d4c0(0x47f)](async _0x58dcda=>{var _0x485158=_0xf3d4c0;const _0x3ff2c8=_0x58dcda;if(_0x3ff2c8[_0x485158(0x403)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x485158(0x360)](this[_0x485158(0x361)]['t'](_0x485158(0x2bd)))){const _0x32d52a=window['encodeURIComponent'](window[_0x485158(0x51d)][_0x485158(0x32f)]);window['location'][_0x485158(0x32f)]=this[_0x485158(0x485)]()+'?url='+_0x32d52a;}}return _0x3ff2c8;}))});}[_0x25fdaf(0x485)](){var _0x2a7184=_0x25fdaf,_0x130bc9,_0x2a8e73;const _0x155558=this[_0x2a7184(0x2f0)]['getConfig'](It),_0x496053=this[_0x2a7184(0x2f0)][_0x2a7184(0x507)](K);return(_0x2a8e73=(_0x130bc9=_0x496053==null?void 0x0:_0x496053[_0x2a7184(0x1fe)])!=null?_0x130bc9:_0x155558)!=null?_0x2a8e73:Wt;}};ye=Ci([Ae(0x0,a[_0x25fdaf(0x2e1)]),Ae(0x1,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)])),Ae(0x2,a[_0x25fdaf(0x3a5)](a['LocaleService']))],ye);var Ti=Object[_0x25fdaf(0x4ca)],bi=(_0x53f939,_0x386d36,_0x25f841,_0x3fbe60)=>{var _0x3872b4=_0x25fdaf;for(var _0x1d39cc=_0x3fbe60>0x1?void 0x0:_0x3fbe60?Ti(_0x386d36,_0x25f841):_0x386d36,_0x1caeeb=_0x53f939[_0x3872b4(0x27c)]-0x1,_0xa95650;_0x1caeeb>=0x0;_0x1caeeb--)(_0xa95650=_0x53f939[_0x1caeeb])&&(_0x1d39cc=_0xa95650(_0x1d39cc)||_0x1d39cc);return _0x1d39cc;},qe=(_0x552ea1,_0xebb1e1)=>(_0x41031c,_0x148ed7)=>_0xebb1e1(_0x41031c,_0x148ed7,_0x552ea1);const Ve=_0x25fdaf(0x305),Ri=_0x25fdaf(0x404);exports['AuthzIoHttpService']=class extends a[_0x25fdaf(0x2a0)]{constructor(_0x2e61fd,_0x37e68b){var _0xbdd78d=_0x25fdaf;super(),this[_0xbdd78d(0x21e)]=_0x2e61fd,this[_0xbdd78d(0x2f0)]=_0x37e68b,this[_0xbdd78d(0x483)]();}['_initMergeInterceptor'](){var _0x3d5aff=_0x25fdaf;const _0x56212e=this;this['disposeWithMe'](this['_HTTPService'][_0x3d5aff(0x2aa)]({'priority':0x3e7,'interceptor':Y[_0x3d5aff(0x21a)]({'isMatch'(_0x263f0d){var _0x244911=_0x3d5aff,_0x510d33;if(_0x263f0d['method']==='POST'&&((_0x510d33=_0x263f0d[_0x244911(0x1ed)])!=null&&_0x510d33['body'])){const {objectID:_0xceeeea,objectType:_0x544cf8}=_0x263f0d[_0x244911(0x1ed)]['body']||{};if(!_0xceeeea||_0x544cf8===void 0x0)return!0x1;const _0x3e9aed=_0x56212e['_getAPIPrefixPath']()+'/'+_0x544cf8+'/object/'+_0xceeeea+_0x244911(0x304);if(_0x263f0d[_0x244911(0x213)]===_0x3e9aed)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5434e9){var _0x42335e=_0x3d5aff,_0x17027d;return(_0x17027d=_0x5434e9[_0x42335e(0x1ed)])==null?void 0x0:_0x17027d[_0x42335e(0x223)];},'mergeParamsToRequest'(_0x40f98a,_0x44af5d){var _0x570335=_0x3d5aff;const _0x2106c1=_0x56212e[_0x570335(0x1c4)]()+_0x570335(0x3de),_0x3baf75=_0x40f98a[_0x570335(0x374)]((_0x38c14e,_0x3419a2)=>{var _0x953fab=_0x570335;const {unitID:_0x4d1c6f,objectID:_0x3ccd98,objectType:_0x2e0711,actions:_0x36dd9d}=_0x3419a2;return _0x38c14e[_0x4d1c6f]||(_0x38c14e[_0x4d1c6f]={}),_0x38c14e[_0x4d1c6f][_0x3ccd98]||(_0x38c14e[_0x4d1c6f][_0x3ccd98]={'objectID':_0x3ccd98,'objectType':_0x2e0711,'actions':[]}),_0x38c14e[_0x4d1c6f][_0x3ccd98][_0x953fab(0x312)]['push'](..._0x36dd9d),_0x38c14e;},{}),_0x2f47c4=[];for(const _0x915e8e in _0x3baf75)for(const _0x25f4b0 in _0x3baf75[_0x915e8e]){const {actions:_0x5883ff,objectType:_0x51bf2e}=_0x3baf75[_0x915e8e][_0x25f4b0],_0x400ab2=[...new Set(_0x5883ff)];_0x2f47c4['push']({'unitID':_0x915e8e,'objectID':_0x25f4b0,'objectType':_0x51bf2e,'actions':_0x400ab2});}return new Y[(_0x570335(0x295))](_0x570335(0x28c),_0x2106c1,{'headers':_0x44af5d[_0x570335(0x1b7)],'withCredentials':_0x44af5d[_0x570335(0x387)],'responseType':_0x44af5d[_0x570335(0x2a2)],'body':{'requests':_0x2f47c4}});}},{'distributeResult'(_0x15e9a2,_0x41c2ec){const {objectActions:_0x5bc5be}=_0x15e9a2;return _0x41c2ec['map'](_0x43cab6=>{var _0x5a8e1f=_0x305e;const {unitID:_0x3855f5,objectID:_0x245210,actions:_0x4c6f5d}=_0x43cab6,_0x820627=_0x5bc5be[_0x5a8e1f(0x371)](_0x178e15=>_0x178e15[_0x5a8e1f(0x2fd)]===_0x3855f5&&_0x178e15['objectID']===_0x245210),_0x2cb9dc=_0x4c6f5d[_0x5a8e1f(0x1ba)](_0x5d5c98=>_0x820627==null?void 0x0:_0x820627[_0x5a8e1f(0x312)][_0x5a8e1f(0x371)](_0x35c4af=>_0x35c4af[_0x5a8e1f(0x3da)]===_0x5d5c98))['filter'](_0x4c401b=>!!_0x4c401b);return{'config':_0x43cab6,'result':{'actions':_0x2cb9dc,'error':_0x15e9a2[_0x5a8e1f(0x2d3)]}};});}})}));}[_0x25fdaf(0x1c4)](){var _0x48c022=_0x25fdaf,_0x161049,_0x470d05;const _0x403753=this[_0x48c022(0x2f0)][_0x48c022(0x507)](Ve),_0x1da2a6=this[_0x48c022(0x2f0)][_0x48c022(0x507)](K);return(_0x470d05=(_0x161049=_0x1da2a6==null?void 0x0:_0x1da2a6[_0x48c022(0x4dc)])!=null?_0x161049:_0x403753)!=null?_0x470d05:Ri;}async[_0x25fdaf(0x2f2)](_0x27ad95){var _0x990b17=_0x25fdaf;const _0x27c8da=this[_0x990b17(0x1c4)]()+'/'+_0x27ad95[_0x990b17(0x1c7)]+_0x990b17(0x460);return(await this[_0x990b17(0x21e)][_0x990b17(0x22e)](_0x27c8da,{'body':_0x27ad95}))[_0x990b17(0x223)][_0x990b17(0x2c6)]||'';}async[_0x25fdaf(0x331)](_0x15ed9b){var _0x1bb2fa=_0x25fdaf;const _0x329e22=this[_0x1bb2fa(0x1c4)]()+'/-/object/list';return(await this[_0x1bb2fa(0x21e)]['post'](_0x329e22,{'body':_0x15ed9b}))[_0x1bb2fa(0x223)][_0x1bb2fa(0x1fc)];}async[_0x25fdaf(0x366)](_0x2dfa4b){var _0x5cc8df=_0x25fdaf,_0x2fde7b,_0x516d79;const _0x520f8e=this[_0x5cc8df(0x1c4)]()+'/'+_0x2dfa4b['objectType']+_0x5cc8df(0x4bd)+_0x2dfa4b[_0x5cc8df(0x2c6)],_0x42947e=await this[_0x5cc8df(0x21e)]['put'](_0x520f8e,{'body':_0x2dfa4b});if(((_0x516d79=(_0x2fde7b=_0x42947e==null?void 0x0:_0x42947e[_0x5cc8df(0x223)])==null?void 0x0:_0x2fde7b[_0x5cc8df(0x2d3)])==null?void 0x0:_0x516d79[_0x5cc8df(0x3ad)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x25fdaf(0x3df)](_0x28492c){var _0x300aaf=_0x25fdaf;const _0x2fca25=this['_getAPIPrefixPath']()+'/'+_0x28492c['objectType']+_0x300aaf(0x4bd)+_0x28492c['objectID']+'/allowed';return(await this[_0x300aaf(0x21e)][_0x300aaf(0x22e)](_0x2fca25,{'body':_0x28492c}))[_0x300aaf(0x223)][_0x300aaf(0x312)];}async[_0x25fdaf(0x4b9)](_0x5daea0){var _0x553c29=_0x25fdaf;const _0x22e92d=this[_0x553c29(0x1c4)]()+_0x553c29(0x3de);return(await this[_0x553c29(0x21e)][_0x553c29(0x22e)](_0x22e92d,{'body':{'requests':_0x5daea0}}))[_0x553c29(0x223)]['objectActions'];}async[_0x25fdaf(0x399)](_0x1cec5d){var _0x5da923=_0x25fdaf;const _0x370d07=this[_0x5da923(0x1c4)]()+'/'+_0x1cec5d[_0x5da923(0x1c7)]+'/role',_0x5be2b0=await this['_HTTPService'][_0x5da923(0x22e)](_0x370d07,{'body':_0x1cec5d});return{'roles':_0x5be2b0['body'][_0x5da923(0x261)],'actions':_0x5be2b0[_0x5da923(0x223)][_0x5da923(0x312)]};}async['deleteCollaborator'](_0x49f04c){var _0xba869c=_0x25fdaf;const _0x5a95c5=this[_0xba869c(0x1c4)]()+_0xba869c(0x251);await this[_0xba869c(0x21e)][_0xba869c(0x257)](_0x5a95c5,{'params':{'collaboratorID':_0x49f04c[_0xba869c(0x267)],'objectID':_0x49f04c['objectID'],'unitID':_0x49f04c[_0xba869c(0x2fd)]}});}async[_0x25fdaf(0x4f3)](_0x5568cc){var _0x49d7a7=_0x25fdaf;const _0x5bb4e6=this['_getAPIPrefixPath']()+_0x49d7a7(0x251);await this['_HTTPService']['patch'](_0x5bb4e6,{'body':_0x5568cc});}async[_0x25fdaf(0x3e5)](_0x1dcb77){var _0x39121d=_0x25fdaf;const _0x1e7250=this[_0x39121d(0x1c4)]()+_0x39121d(0x251);await this[_0x39121d(0x21e)][_0x39121d(0x22e)](_0x1e7250,{'body':_0x1dcb77});}async[_0x25fdaf(0x48b)](_0x10e347){var _0x1b9337=_0x25fdaf;const _0x5bec65=this['_getAPIPrefixPath']()+_0x1b9337(0x251);return(await this[_0x1b9337(0x21e)][_0x1b9337(0x4bb)](_0x5bec65,{'params':{'objectID':_0x10e347[_0x1b9337(0x2c6)],'unitID':_0x10e347[_0x1b9337(0x2fd)]}}))[_0x1b9337(0x223)]['collaborators'];}async['putCollaborators'](_0x3dc51c){var _0x2534de=_0x25fdaf;const _0x24a917=this[_0x2534de(0x1c4)]()+_0x2534de(0x251);await this[_0x2534de(0x21e)][_0x2534de(0x428)](_0x24a917,{'body':_0x3dc51c});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0x25fdaf(0x3a5)](Y['HTTPService'])),qe(0x1,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x2e1)]))],exports[_0x25fdaf(0x4d6)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x5a21f0){var _0x271624=_0x25fdaf;return _0x5a21f0&&_0x5a21f0[_0x271624(0x32a)]&&Object[_0x271624(0x347)]['hasOwnProperty']['call'](_0x5a21f0,_0x271624(0x202))?_0x5a21f0[_0x271624(0x202)]:_0x5a21f0;}var fe={'exports':{}};function Oi(_0x4d83fc){var _0x350701=_0x25fdaf;throw new Error(_0x350701(0x2fb)+_0x4d83fc+_0x350701(0x24d));}var pe={'exports':{}},yi=pe[_0x25fdaf(0x238)],ze;function Q(){return ze||(ze=0x1,function(_0x3a40ea,_0x316625){(function(_0x5384ad,_0x8c4513){_0x3a40ea['exports']=_0x8c4513();}(yi,function(){var _0x30f888=_0x30f888||function(_0x5192fb,_0xff71c4){var _0x385e14=_0x305e,_0x2511ef;if(typeof window<'u'&&window[_0x385e14(0x25b)]&&(_0x2511ef=window[_0x385e14(0x25b)]),typeof self<'u'&&self[_0x385e14(0x25b)]&&(_0x2511ef=self[_0x385e14(0x25b)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2511ef=globalThis['crypto']),!_0x2511ef&&typeof window<'u'&&window[_0x385e14(0x36c)]&&(_0x2511ef=window[_0x385e14(0x36c)]),!_0x2511ef&&typeof Pe<'u'&&Pe['crypto']&&(_0x2511ef=Pe[_0x385e14(0x25b)]),!_0x2511ef&&typeof Oi==_0x385e14(0x442))try{_0x2511ef=require(_0x385e14(0x25b));}catch{}var _0x21e2e6=function(){var _0x204a09=_0x385e14;if(_0x2511ef){if(typeof _0x2511ef[_0x204a09(0x36d)]==_0x204a09(0x442))try{return _0x2511ef['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2511ef[_0x204a09(0x3c5)]=='function')try{return _0x2511ef[_0x204a09(0x3c5)](0x4)[_0x204a09(0x2a1)]();}catch{}}throw new Error(_0x204a09(0x1f1));},_0x47f1a4=Object[_0x385e14(0x2f2)]||(function(){function _0x12b055(){}return function(_0x1254c5){var _0x59aa2c=_0x305e,_0x5783e9;return _0x12b055['prototype']=_0x1254c5,_0x5783e9=new _0x12b055(),_0x12b055[_0x59aa2c(0x347)]=null,_0x5783e9;};}()),_0x1ded77={},_0x27256d=_0x1ded77[_0x385e14(0x2d8)]={},_0x3d8b87=_0x27256d[_0x385e14(0x286)]=(function(){return{'extend':function(_0x318470){var _0xc09889=_0x305e,_0x4dca22=_0x47f1a4(this);return _0x318470&&_0x4dca22[_0xc09889(0x28d)](_0x318470),(!_0x4dca22['hasOwnProperty'](_0xc09889(0x27b))||this[_0xc09889(0x27b)]===_0x4dca22[_0xc09889(0x27b)])&&(_0x4dca22[_0xc09889(0x27b)]=function(){var _0x4f0b1d=_0xc09889;_0x4dca22['$super']['init'][_0x4f0b1d(0x41e)](this,arguments);}),_0x4dca22['init']['prototype']=_0x4dca22,_0x4dca22['$super']=this,_0x4dca22;},'create':function(){var _0x7d0830=_0x305e,_0x253ef5=this[_0x7d0830(0x49e)]();return _0x253ef5[_0x7d0830(0x27b)]['apply'](_0x253ef5,arguments),_0x253ef5;},'init':function(){},'mixIn':function(_0x389066){var _0x163564=_0x305e;for(var _0x50548c in _0x389066)_0x389066['hasOwnProperty'](_0x50548c)&&(this[_0x50548c]=_0x389066[_0x50548c]);_0x389066['hasOwnProperty'](_0x163564(0x49a))&&(this[_0x163564(0x49a)]=_0x389066[_0x163564(0x49a)]);},'clone':function(){var _0xb5657c=_0x305e;return this[_0xb5657c(0x27b)][_0xb5657c(0x347)][_0xb5657c(0x49e)](this);}};}()),_0x3c733f=_0x27256d[_0x385e14(0x33f)]=_0x3d8b87[_0x385e14(0x49e)]({'init':function(_0x1b81d,_0x71336b){var _0x357335=_0x385e14;_0x1b81d=this['words']=_0x1b81d||[],_0x71336b!=_0xff71c4?this[_0x357335(0x1f9)]=_0x71336b:this[_0x357335(0x1f9)]=_0x1b81d['length']*0x4;},'toString':function(_0x3e4392){return(_0x3e4392||_0x472007)['stringify'](this);},'concat':function(_0x462fc1){var _0x8e5c6d=_0x385e14,_0x15e28a=this[_0x8e5c6d(0x3ef)],_0xae6f93=_0x462fc1[_0x8e5c6d(0x3ef)],_0x3bb03a=this[_0x8e5c6d(0x1f9)],_0x1e2211=_0x462fc1[_0x8e5c6d(0x1f9)];if(this['clamp'](),_0x3bb03a%0x4)for(var _0x5aaf8c=0x0;_0x5aaf8c<_0x1e2211;_0x5aaf8c++){var _0x3b0cc4=_0xae6f93[_0x5aaf8c>>>0x2]>>>0x18-_0x5aaf8c%0x4*0x8&0xff;_0x15e28a[_0x3bb03a+_0x5aaf8c>>>0x2]|=_0x3b0cc4<<0x18-(_0x3bb03a+_0x5aaf8c)%0x4*0x8;}else{for(var _0x212082=0x0;_0x212082<_0x1e2211;_0x212082+=0x4)_0x15e28a[_0x3bb03a+_0x212082>>>0x2]=_0xae6f93[_0x212082>>>0x2];}return this['sigBytes']+=_0x1e2211,this;},'clamp':function(){var _0x42628e=_0x385e14,_0x3431e2=this[_0x42628e(0x3ef)],_0x23e9b6=this[_0x42628e(0x1f9)];_0x3431e2[_0x23e9b6>>>0x2]&=0xffffffff<<0x20-_0x23e9b6%0x4*0x8,_0x3431e2[_0x42628e(0x27c)]=_0x5192fb[_0x42628e(0x274)](_0x23e9b6/0x4);},'clone':function(){var _0x3cf1da=_0x385e14,_0x2c7e03=_0x3d8b87['clone'][_0x3cf1da(0x1d5)](this);return _0x2c7e03[_0x3cf1da(0x3ef)]=this[_0x3cf1da(0x3ef)][_0x3cf1da(0x23b)](0x0),_0x2c7e03;},'random':function(_0x4b46a1){var _0x49796d=_0x385e14;for(var _0x5ca9b7=[],_0x332f82=0x0;_0x332f82<_0x4b46a1;_0x332f82+=0x4)_0x5ca9b7[_0x49796d(0x46e)](_0x21e2e6());return new _0x3c733f[(_0x49796d(0x27b))](_0x5ca9b7,_0x4b46a1);}}),_0x3e9587=_0x1ded77[_0x385e14(0x419)]={},_0x472007=_0x3e9587[_0x385e14(0x3f1)]={'stringify':function(_0x4c7363){var _0x3c3b92=_0x385e14;for(var _0x3f7255=_0x4c7363[_0x3c3b92(0x3ef)],_0x207e84=_0x4c7363['sigBytes'],_0x900d9c=[],_0xe285c7=0x0;_0xe285c7<_0x207e84;_0xe285c7++){var _0x376048=_0x3f7255[_0xe285c7>>>0x2]>>>0x18-_0xe285c7%0x4*0x8&0xff;_0x900d9c['push']((_0x376048>>>0x4)[_0x3c3b92(0x49a)](0x10)),_0x900d9c[_0x3c3b92(0x46e)]((_0x376048&0xf)[_0x3c3b92(0x49a)](0x10));}return _0x900d9c['join']('');},'parse':function(_0x3bf176){var _0x52fd40=_0x385e14;for(var _0x4f6bef=_0x3bf176[_0x52fd40(0x27c)],_0x1d113d=[],_0x247687=0x0;_0x247687<_0x4f6bef;_0x247687+=0x2)_0x1d113d[_0x247687>>>0x3]|=parseInt(_0x3bf176['substr'](_0x247687,0x2),0x10)<<0x18-_0x247687%0x8*0x4;return new _0x3c733f[(_0x52fd40(0x27b))](_0x1d113d,_0x4f6bef/0x2);}},_0xfede49=_0x3e9587[_0x385e14(0x28e)]={'stringify':function(_0x18c447){var _0x593fc1=_0x385e14;for(var _0x42e9d1=_0x18c447[_0x593fc1(0x3ef)],_0x471c6f=_0x18c447['sigBytes'],_0x25a5e3=[],_0x1ab386=0x0;_0x1ab386<_0x471c6f;_0x1ab386++){var _0x139ee9=_0x42e9d1[_0x1ab386>>>0x2]>>>0x18-_0x1ab386%0x4*0x8&0xff;_0x25a5e3[_0x593fc1(0x46e)](String[_0x593fc1(0x37b)](_0x139ee9));}return _0x25a5e3[_0x593fc1(0x2bc)]('');},'parse':function(_0x35d808){var _0x3e0586=_0x385e14;for(var _0x50c108=_0x35d808[_0x3e0586(0x27c)],_0x1f2877=[],_0x1d47bd=0x0;_0x1d47bd<_0x50c108;_0x1d47bd++)_0x1f2877[_0x1d47bd>>>0x2]|=(_0x35d808[_0x3e0586(0x24f)](_0x1d47bd)&0xff)<<0x18-_0x1d47bd%0x4*0x8;return new _0x3c733f[(_0x3e0586(0x27b))](_0x1f2877,_0x50c108);}},_0x2d170d=_0x3e9587[_0x385e14(0x4f0)]={'stringify':function(_0x3c72ac){var _0x3db021=_0x385e14;try{return decodeURIComponent(escape(_0xfede49[_0x3db021(0x4eb)](_0x3c72ac)));}catch{throw new Error(_0x3db021(0x3cd));}},'parse':function(_0x40f5d3){var _0xf06c8c=_0x385e14;return _0xfede49[_0xf06c8c(0x3ed)](unescape(encodeURIComponent(_0x40f5d3)));}},_0x1535ce=_0x27256d[_0x385e14(0x41a)]=_0x3d8b87['extend']({'reset':function(){var _0x12ffc1=_0x385e14;this[_0x12ffc1(0x376)]=new _0x3c733f['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x3817bc){var _0x5fc665=_0x385e14;typeof _0x3817bc==_0x5fc665(0x42b)&&(_0x3817bc=_0x2d170d[_0x5fc665(0x3ed)](_0x3817bc)),this['_data'][_0x5fc665(0x221)](_0x3817bc),this['_nDataBytes']+=_0x3817bc[_0x5fc665(0x1f9)];},'_process':function(_0xb3b001){var _0x2fea74=_0x385e14,_0xc0886,_0x5ec077=this['_data'],_0xa1474a=_0x5ec077[_0x2fea74(0x3ef)],_0x356cd3=_0x5ec077[_0x2fea74(0x1f9)],_0x511597=this[_0x2fea74(0x1b9)],_0x491883=_0x511597*0x4,_0x1ac4b6=_0x356cd3/_0x491883;_0xb3b001?_0x1ac4b6=_0x5192fb['ceil'](_0x1ac4b6):_0x1ac4b6=_0x5192fb['max']((_0x1ac4b6|0x0)-this['_minBufferSize'],0x0);var _0x473086=_0x1ac4b6*_0x511597,_0x3aa842=_0x5192fb['min'](_0x473086*0x4,_0x356cd3);if(_0x473086){for(var _0x246cae=0x0;_0x246cae<_0x473086;_0x246cae+=_0x511597)this[_0x2fea74(0x4b8)](_0xa1474a,_0x246cae);_0xc0886=_0xa1474a['splice'](0x0,_0x473086),_0x5ec077['sigBytes']-=_0x3aa842;}return new _0x3c733f[(_0x2fea74(0x27b))](_0xc0886,_0x3aa842);},'clone':function(){var _0x13d2e5=_0x385e14,_0x516e15=_0x3d8b87[_0x13d2e5(0x41f)]['call'](this);return _0x516e15['_data']=this['_data'][_0x13d2e5(0x41f)](),_0x516e15;},'_minBufferSize':0x0});_0x27256d[_0x385e14(0x4b6)]=_0x1535ce[_0x385e14(0x49e)]({'cfg':_0x3d8b87[_0x385e14(0x49e)](),'init':function(_0x21b960){var _0x444c53=_0x385e14;this['cfg']=this[_0x444c53(0x28f)][_0x444c53(0x49e)](_0x21b960),this[_0x444c53(0x3d8)]();},'reset':function(){var _0x3c81ff=_0x385e14;_0x1535ce['reset'][_0x3c81ff(0x1d5)](this),this[_0x3c81ff(0x4f5)]();},'update':function(_0x1e4db0){var _0x26ccf9=_0x385e14;return this['_append'](_0x1e4db0),this[_0x26ccf9(0x3ae)](),this;},'finalize':function(_0x220481){var _0x523075=_0x385e14;_0x220481&&this[_0x523075(0x1e7)](_0x220481);var _0x3388ef=this['_doFinalize']();return _0x3388ef;},'blockSize':0x10,'_createHelper':function(_0x53594a){return function(_0x5dad1d,_0x4616cb){return new _0x53594a['init'](_0x4616cb)['finalize'](_0x5dad1d);};},'_createHmacHelper':function(_0x356ef4){return function(_0x47835f,_0x2c61f0){var _0x11dad4=_0x305e;return new _0x213d70[(_0x11dad4(0x3d9))]['init'](_0x356ef4,_0x2c61f0)['finalize'](_0x47835f);};}});var _0x213d70=_0x1ded77[_0x385e14(0x3bd)]={};return _0x1ded77;}(Math);return _0x30f888;}));}(pe)),pe['exports'];}var Ie={'exports':{}},Ni=Ie['exports'],Je;function yt(){var _0x116511=_0x25fdaf;return Je||(Je=0x1,function(_0x4730d2,_0xbb1936){(function(_0x5538aa,_0xc86d81){_0x4730d2['exports']=_0xc86d81(Q());}(Ni,function(_0x46e55b){var _0x14a99f=_0x305e;return(function(){var _0x39120b=_0x305e,_0x44e1bc=_0x46e55b,_0x1f338e=_0x44e1bc[_0x39120b(0x2d8)],_0x1ef88c=_0x1f338e[_0x39120b(0x33f)],_0x4a577e=_0x44e1bc['enc'];_0x4a577e['Base64']={'stringify':function(_0x579762){var _0x2dddcf=_0x39120b,_0x4bafc8=_0x579762[_0x2dddcf(0x3ef)],_0x182184=_0x579762[_0x2dddcf(0x1f9)],_0x2667a8=this[_0x2dddcf(0x212)];_0x579762['clamp']();for(var _0x1a6149=[],_0x1a0fe0=0x0;_0x1a0fe0<_0x182184;_0x1a0fe0+=0x3)for(var _0x15b230=_0x4bafc8[_0x1a0fe0>>>0x2]>>>0x18-_0x1a0fe0%0x4*0x8&0xff,_0x485bca=_0x4bafc8[_0x1a0fe0+0x1>>>0x2]>>>0x18-(_0x1a0fe0+0x1)%0x4*0x8&0xff,_0x9c8d3d=_0x4bafc8[_0x1a0fe0+0x2>>>0x2]>>>0x18-(_0x1a0fe0+0x2)%0x4*0x8&0xff,_0xa3c073=_0x15b230<<0x10|_0x485bca<<0x8|_0x9c8d3d,_0x312bfa=0x0;_0x312bfa<0x4&&_0x1a0fe0+_0x312bfa*0.75<_0x182184;_0x312bfa++)_0x1a6149[_0x2dddcf(0x46e)](_0x2667a8[_0x2dddcf(0x4cc)](_0xa3c073>>>0x6*(0x3-_0x312bfa)&0x3f));var _0x535941=_0x2667a8[_0x2dddcf(0x4cc)](0x40);if(_0x535941){for(;_0x1a6149[_0x2dddcf(0x27c)]%0x4;)_0x1a6149[_0x2dddcf(0x46e)](_0x535941);}return _0x1a6149['join']('');},'parse':function(_0x57c48b){var _0x9ba3a2=_0x39120b,_0x1c99b0=_0x57c48b['length'],_0x246f0c=this['_map'],_0x992b0c=this[_0x9ba3a2(0x31b)];if(!_0x992b0c){_0x992b0c=this[_0x9ba3a2(0x31b)]=[];for(var _0x2e66f=0x0;_0x2e66f<_0x246f0c[_0x9ba3a2(0x27c)];_0x2e66f++)_0x992b0c[_0x246f0c['charCodeAt'](_0x2e66f)]=_0x2e66f;}var _0x562adf=_0x246f0c[_0x9ba3a2(0x4cc)](0x40);if(_0x562adf){var _0x295fba=_0x57c48b[_0x9ba3a2(0x416)](_0x562adf);_0x295fba!==-0x1&&(_0x1c99b0=_0x295fba);}return _0x1451c3(_0x57c48b,_0x1c99b0,_0x992b0c);},'_map':_0x39120b(0x4d2)};function _0x1451c3(_0x5c54fb,_0x2fa08e,_0x4e1d2d){var _0x2e61ac=_0x39120b;for(var _0x3843f3=[],_0x5a989f=0x0,_0x122af4=0x0;_0x122af4<_0x2fa08e;_0x122af4++)if(_0x122af4%0x4){var _0x463c0e=_0x4e1d2d[_0x5c54fb[_0x2e61ac(0x24f)](_0x122af4-0x1)]<<_0x122af4%0x4*0x2,_0x9b0ea2=_0x4e1d2d[_0x5c54fb['charCodeAt'](_0x122af4)]>>>0x6-_0x122af4%0x4*0x2,_0x22d72d=_0x463c0e|_0x9b0ea2;_0x3843f3[_0x5a989f>>>0x2]|=_0x22d72d<<0x18-_0x5a989f%0x4*0x8,_0x5a989f++;}return _0x1ef88c[_0x2e61ac(0x2f2)](_0x3843f3,_0x5a989f);}}()),_0x46e55b['enc'][_0x14a99f(0x3b7)];}));}(Ie)),Ie[_0x116511(0x238)];}var ge={'exports':{}},Ui=ge['exports'],Xe;function Di(){return Xe||(Xe=0x1,function(_0x3fe74b,_0x49f29e){(function(_0x5ecb64,_0x35ab40){_0x3fe74b['exports']=_0x35ab40(Q());}(Ui,function(_0x58f48b){return function(_0x178e07){var _0x440800=_0x305e,_0x3aa752=_0x58f48b,_0x5ac153=_0x3aa752[_0x440800(0x2d8)],_0x429165=_0x5ac153[_0x440800(0x33f)],_0x2aacf2=_0x5ac153[_0x440800(0x4b6)],_0xe0fd3e=_0x3aa752[_0x440800(0x3bd)],_0x5cb64f=[];(function(){var _0x22c477=_0x440800;for(var _0x1edc85=0x0;_0x1edc85<0x40;_0x1edc85++)_0x5cb64f[_0x1edc85]=_0x178e07[_0x22c477(0x4c2)](_0x178e07['sin'](_0x1edc85+0x1))*0x100000000|0x0;}());var _0x57b09c=_0xe0fd3e[_0x440800(0x4aa)]=_0x2aacf2['extend']({'_doReset':function(){this['_hash']=new _0x429165['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x49e2b2,_0x5e2372){var _0x458c86=_0x440800;for(var _0x150507=0x0;_0x150507<0x10;_0x150507++){var _0x3e1e47=_0x5e2372+_0x150507,_0x4ec260=_0x49e2b2[_0x3e1e47];_0x49e2b2[_0x3e1e47]=(_0x4ec260<<0x8|_0x4ec260>>>0x18)&0xff00ff|(_0x4ec260<<0x18|_0x4ec260>>>0x8)&0xff00ff00;}var _0x55db83=this['_hash'][_0x458c86(0x3ef)],_0xe640e5=_0x49e2b2[_0x5e2372+0x0],_0xcf3725=_0x49e2b2[_0x5e2372+0x1],_0x9042e7=_0x49e2b2[_0x5e2372+0x2],_0x4880ec=_0x49e2b2[_0x5e2372+0x3],_0x20eb3a=_0x49e2b2[_0x5e2372+0x4],_0x4e97ee=_0x49e2b2[_0x5e2372+0x5],_0x1912b0=_0x49e2b2[_0x5e2372+0x6],_0x4f06b0=_0x49e2b2[_0x5e2372+0x7],_0x29a7b8=_0x49e2b2[_0x5e2372+0x8],_0x1a6afc=_0x49e2b2[_0x5e2372+0x9],_0x2f372f=_0x49e2b2[_0x5e2372+0xa],_0x53e0b0=_0x49e2b2[_0x5e2372+0xb],_0x43a190=_0x49e2b2[_0x5e2372+0xc],_0x284067=_0x49e2b2[_0x5e2372+0xd],_0x1605ff=_0x49e2b2[_0x5e2372+0xe],_0x544bd4=_0x49e2b2[_0x5e2372+0xf],_0x29b11d=_0x55db83[0x0],_0x134c50=_0x55db83[0x1],_0x380219=_0x55db83[0x2],_0xdc2915=_0x55db83[0x3];_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xe640e5,0x7,_0x5cb64f[0x0]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0xcf3725,0xc,_0x5cb64f[0x1]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x9042e7,0x11,_0x5cb64f[0x2]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x4880ec,0x16,_0x5cb64f[0x3]),_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x20eb3a,0x7,_0x5cb64f[0x4]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x4e97ee,0xc,_0x5cb64f[0x5]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1912b0,0x11,_0x5cb64f[0x6]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x4f06b0,0x16,_0x5cb64f[0x7]),_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x29a7b8,0x7,_0x5cb64f[0x8]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x1a6afc,0xc,_0x5cb64f[0x9]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x2f372f,0x11,_0x5cb64f[0xa]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x53e0b0,0x16,_0x5cb64f[0xb]),_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x43a190,0x7,_0x5cb64f[0xc]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x284067,0xc,_0x5cb64f[0xd]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1605ff,0x11,_0x5cb64f[0xe]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x544bd4,0x16,_0x5cb64f[0xf]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xcf3725,0x5,_0x5cb64f[0x10]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x1912b0,0x9,_0x5cb64f[0x11]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x53e0b0,0xe,_0x5cb64f[0x12]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0xe640e5,0x14,_0x5cb64f[0x13]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x4e97ee,0x5,_0x5cb64f[0x14]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x2f372f,0x9,_0x5cb64f[0x15]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x544bd4,0xe,_0x5cb64f[0x16]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x20eb3a,0x14,_0x5cb64f[0x17]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x1a6afc,0x5,_0x5cb64f[0x18]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x1605ff,0x9,_0x5cb64f[0x19]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4880ec,0xe,_0x5cb64f[0x1a]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x29a7b8,0x14,_0x5cb64f[0x1b]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x284067,0x5,_0x5cb64f[0x1c]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x9042e7,0x9,_0x5cb64f[0x1d]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4f06b0,0xe,_0x5cb64f[0x1e]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x43a190,0x14,_0x5cb64f[0x1f]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x4e97ee,0x4,_0x5cb64f[0x20]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x29a7b8,0xb,_0x5cb64f[0x21]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x53e0b0,0x10,_0x5cb64f[0x22]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x1605ff,0x17,_0x5cb64f[0x23]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xcf3725,0x4,_0x5cb64f[0x24]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x20eb3a,0xb,_0x5cb64f[0x25]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4f06b0,0x10,_0x5cb64f[0x26]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x2f372f,0x17,_0x5cb64f[0x27]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x284067,0x4,_0x5cb64f[0x28]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0xe640e5,0xb,_0x5cb64f[0x29]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4880ec,0x10,_0x5cb64f[0x2a]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x1912b0,0x17,_0x5cb64f[0x2b]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x1a6afc,0x4,_0x5cb64f[0x2c]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x43a190,0xb,_0x5cb64f[0x2d]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x544bd4,0x10,_0x5cb64f[0x2e]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x9042e7,0x17,_0x5cb64f[0x2f]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xe640e5,0x6,_0x5cb64f[0x30]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x4f06b0,0xa,_0x5cb64f[0x31]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1605ff,0xf,_0x5cb64f[0x32]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x4e97ee,0x15,_0x5cb64f[0x33]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x43a190,0x6,_0x5cb64f[0x34]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x4880ec,0xa,_0x5cb64f[0x35]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x2f372f,0xf,_0x5cb64f[0x36]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0xcf3725,0x15,_0x5cb64f[0x37]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x29a7b8,0x6,_0x5cb64f[0x38]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x544bd4,0xa,_0x5cb64f[0x39]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1912b0,0xf,_0x5cb64f[0x3a]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x284067,0x15,_0x5cb64f[0x3b]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x20eb3a,0x6,_0x5cb64f[0x3c]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x53e0b0,0xa,_0x5cb64f[0x3d]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x9042e7,0xf,_0x5cb64f[0x3e]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x1a6afc,0x15,_0x5cb64f[0x3f]),_0x55db83[0x0]=_0x55db83[0x0]+_0x29b11d|0x0,_0x55db83[0x1]=_0x55db83[0x1]+_0x134c50|0x0,_0x55db83[0x2]=_0x55db83[0x2]+_0x380219|0x0,_0x55db83[0x3]=_0x55db83[0x3]+_0xdc2915|0x0;},'_doFinalize':function(){var _0x13d910=_0x440800,_0x43ce36=this[_0x13d910(0x376)],_0x38e821=_0x43ce36['words'],_0x3b9a74=this[_0x13d910(0x36b)]*0x8,_0x2d4c64=_0x43ce36[_0x13d910(0x1f9)]*0x8;_0x38e821[_0x2d4c64>>>0x5]|=0x80<<0x18-_0x2d4c64%0x20;var _0x18301d=_0x178e07['floor'](_0x3b9a74/0x100000000),_0x3b1a3c=_0x3b9a74;_0x38e821[(_0x2d4c64+0x40>>>0x9<<0x4)+0xf]=(_0x18301d<<0x8|_0x18301d>>>0x18)&0xff00ff|(_0x18301d<<0x18|_0x18301d>>>0x8)&0xff00ff00,_0x38e821[(_0x2d4c64+0x40>>>0x9<<0x4)+0xe]=(_0x3b1a3c<<0x8|_0x3b1a3c>>>0x18)&0xff00ff|(_0x3b1a3c<<0x18|_0x3b1a3c>>>0x8)&0xff00ff00,_0x43ce36[_0x13d910(0x1f9)]=(_0x38e821[_0x13d910(0x27c)]+0x1)*0x4,this[_0x13d910(0x3ae)]();for(var _0x2270d3=this[_0x13d910(0x3a4)],_0x3c7586=_0x2270d3[_0x13d910(0x3ef)],_0x1a81db=0x0;_0x1a81db<0x4;_0x1a81db++){var _0x5c71c6=_0x3c7586[_0x1a81db];_0x3c7586[_0x1a81db]=(_0x5c71c6<<0x8|_0x5c71c6>>>0x18)&0xff00ff|(_0x5c71c6<<0x18|_0x5c71c6>>>0x8)&0xff00ff00;}return _0x2270d3;},'clone':function(){var _0x295a38=_0x440800,_0x24ae22=_0x2aacf2[_0x295a38(0x41f)][_0x295a38(0x1d5)](this);return _0x24ae22[_0x295a38(0x3a4)]=this[_0x295a38(0x3a4)]['clone'](),_0x24ae22;}});function _0x21075(_0x36d53e,_0x1d1d6c,_0x1c2841,_0x71be0e,_0xa06a0f,_0x36d1d3,_0x56eb9f){var _0x115226=_0x36d53e+(_0x1d1d6c&_0x1c2841|~_0x1d1d6c&_0x71be0e)+_0xa06a0f+_0x56eb9f;return(_0x115226<<_0x36d1d3|_0x115226>>>0x20-_0x36d1d3)+_0x1d1d6c;}function _0x220611(_0x27d69b,_0x4bb84a,_0x1fc7d6,_0xa7cc86,_0x3a6d17,_0xd6f94a,_0x55d670){var _0x1c92ac=_0x27d69b+(_0x4bb84a&_0xa7cc86|_0x1fc7d6&~_0xa7cc86)+_0x3a6d17+_0x55d670;return(_0x1c92ac<<_0xd6f94a|_0x1c92ac>>>0x20-_0xd6f94a)+_0x4bb84a;}function _0x2086b2(_0x744234,_0x2455bc,_0x21f345,_0x585650,_0x77bcd3,_0x364519,_0x44bc90){var _0x35b76a=_0x744234+(_0x2455bc^_0x21f345^_0x585650)+_0x77bcd3+_0x44bc90;return(_0x35b76a<<_0x364519|_0x35b76a>>>0x20-_0x364519)+_0x2455bc;}function _0xcd31f5(_0x4e1e2f,_0x1c11f3,_0x27a51a,_0x4310c2,_0x508206,_0x29d7c8,_0x27d385){var _0x950e13=_0x4e1e2f+(_0x27a51a^(_0x1c11f3|~_0x4310c2))+_0x508206+_0x27d385;return(_0x950e13<<_0x29d7c8|_0x950e13>>>0x20-_0x29d7c8)+_0x1c11f3;}_0x3aa752[_0x440800(0x4aa)]=_0x2aacf2[_0x440800(0x263)](_0x57b09c),_0x3aa752['HmacMD5']=_0x2aacf2[_0x440800(0x273)](_0x57b09c);}(Math),_0x58f48b['MD5'];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x25fdaf(0x238)],Ze;function Pi(){var _0x14c4dd=_0x25fdaf;return Ze||(Ze=0x1,function(_0x5b2576,_0x4468bb){(function(_0x4652f5,_0x51b90d){var _0x4ed0a7=_0x305e;_0x5b2576[_0x4ed0a7(0x238)]=_0x51b90d(Q());}(Ai,function(_0x3e3536){var _0x401a04=_0x305e;return(function(){var _0x2cae5e=_0x305e,_0x54d646=_0x3e3536,_0x20d31e=_0x54d646['lib'],_0x1e7135=_0x20d31e[_0x2cae5e(0x33f)],_0x3061e0=_0x20d31e['Hasher'],_0x3323d5=_0x54d646[_0x2cae5e(0x3bd)],_0x2f97f5=[],_0xcdbef4=_0x3323d5['SHA1']=_0x3061e0[_0x2cae5e(0x49e)]({'_doReset':function(){var _0x343bd5=_0x2cae5e;this[_0x343bd5(0x3a4)]=new _0x1e7135[(_0x343bd5(0x27b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x110268,_0x49e5c){var _0x4d59bf=_0x2cae5e;for(var _0x333a75=this[_0x4d59bf(0x3a4)]['words'],_0x3f1e21=_0x333a75[0x0],_0x34ea6f=_0x333a75[0x1],_0x594903=_0x333a75[0x2],_0x579750=_0x333a75[0x3],_0x38fb69=_0x333a75[0x4],_0x33dcd5=0x0;_0x33dcd5<0x50;_0x33dcd5++){if(_0x33dcd5<0x10)_0x2f97f5[_0x33dcd5]=_0x110268[_0x49e5c+_0x33dcd5]|0x0;else{var _0x635411=_0x2f97f5[_0x33dcd5-0x3]^_0x2f97f5[_0x33dcd5-0x8]^_0x2f97f5[_0x33dcd5-0xe]^_0x2f97f5[_0x33dcd5-0x10];_0x2f97f5[_0x33dcd5]=_0x635411<<0x1|_0x635411>>>0x1f;}var _0xb9a628=(_0x3f1e21<<0x5|_0x3f1e21>>>0x1b)+_0x38fb69+_0x2f97f5[_0x33dcd5];_0x33dcd5<0x14?_0xb9a628+=(_0x34ea6f&_0x594903|~_0x34ea6f&_0x579750)+0x5a827999:_0x33dcd5<0x28?_0xb9a628+=(_0x34ea6f^_0x594903^_0x579750)+0x6ed9eba1:_0x33dcd5<0x3c?_0xb9a628+=(_0x34ea6f&_0x594903|_0x34ea6f&_0x579750|_0x594903&_0x579750)-0x70e44324:_0xb9a628+=(_0x34ea6f^_0x594903^_0x579750)-0x359d3e2a,_0x38fb69=_0x579750,_0x579750=_0x594903,_0x594903=_0x34ea6f<<0x1e|_0x34ea6f>>>0x2,_0x34ea6f=_0x3f1e21,_0x3f1e21=_0xb9a628;}_0x333a75[0x0]=_0x333a75[0x0]+_0x3f1e21|0x0,_0x333a75[0x1]=_0x333a75[0x1]+_0x34ea6f|0x0,_0x333a75[0x2]=_0x333a75[0x2]+_0x594903|0x0,_0x333a75[0x3]=_0x333a75[0x3]+_0x579750|0x0,_0x333a75[0x4]=_0x333a75[0x4]+_0x38fb69|0x0;},'_doFinalize':function(){var _0x2b1c7a=_0x2cae5e,_0x3c4a86=this[_0x2b1c7a(0x376)],_0x21e344=_0x3c4a86[_0x2b1c7a(0x3ef)],_0x2e441c=this[_0x2b1c7a(0x36b)]*0x8,_0x4150c6=_0x3c4a86[_0x2b1c7a(0x1f9)]*0x8;return _0x21e344[_0x4150c6>>>0x5]|=0x80<<0x18-_0x4150c6%0x20,_0x21e344[(_0x4150c6+0x40>>>0x9<<0x4)+0xe]=Math[_0x2b1c7a(0x1e6)](_0x2e441c/0x100000000),_0x21e344[(_0x4150c6+0x40>>>0x9<<0x4)+0xf]=_0x2e441c,_0x3c4a86[_0x2b1c7a(0x1f9)]=_0x21e344[_0x2b1c7a(0x27c)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x2814a9=_0x2cae5e,_0x378f4e=_0x3061e0['clone'][_0x2814a9(0x1d5)](this);return _0x378f4e['_hash']=this['_hash'][_0x2814a9(0x41f)](),_0x378f4e;}});_0x54d646[_0x2cae5e(0x502)]=_0x3061e0['_createHelper'](_0xcdbef4),_0x54d646[_0x2cae5e(0x334)]=_0x3061e0[_0x2cae5e(0x273)](_0xcdbef4);}()),_0x3e3536[_0x401a04(0x502)];}));}(me)),me[_0x14c4dd(0x238)];}var Ce={'exports':{}},wi=Ce[_0x25fdaf(0x238)],Qe;function Li(){var _0x4b7e13=_0x25fdaf;return Qe||(Qe=0x1,function(_0x2b4941,_0x3e0908){(function(_0x79921e,_0x3b7d7d){var _0x2ea413=_0x305e;_0x2b4941[_0x2ea413(0x238)]=_0x3b7d7d(Q());}(wi,function(_0x557264){(function(){var _0x186358=_0x305e,_0x4a5ae2=_0x557264,_0x34d81c=_0x4a5ae2['lib'],_0x539009=_0x34d81c[_0x186358(0x286)],_0x26dbe0=_0x4a5ae2[_0x186358(0x419)],_0x5c963c=_0x26dbe0['Utf8'],_0x58310b=_0x4a5ae2['algo'];_0x58310b[_0x186358(0x3d9)]=_0x539009[_0x186358(0x49e)]({'init':function(_0x2ed763,_0x1c0983){var _0x20298f=_0x186358;_0x2ed763=this[_0x20298f(0x2e3)]=new _0x2ed763['init'](),typeof _0x1c0983==_0x20298f(0x42b)&&(_0x1c0983=_0x5c963c[_0x20298f(0x3ed)](_0x1c0983));var _0x589429=_0x2ed763[_0x20298f(0x1b9)],_0x4ba0e5=_0x589429*0x4;_0x1c0983[_0x20298f(0x1f9)]>_0x4ba0e5&&(_0x1c0983=_0x2ed763[_0x20298f(0x457)](_0x1c0983)),_0x1c0983[_0x20298f(0x439)]();for(var _0x2266f2=this[_0x20298f(0x208)]=_0x1c0983[_0x20298f(0x41f)](),_0x56ec08=this[_0x20298f(0x4e1)]=_0x1c0983[_0x20298f(0x41f)](),_0x14e938=_0x2266f2[_0x20298f(0x3ef)],_0x47bca7=_0x56ec08[_0x20298f(0x3ef)],_0x8eb07b=0x0;_0x8eb07b<_0x589429;_0x8eb07b++)_0x14e938[_0x8eb07b]^=0x5c5c5c5c,_0x47bca7[_0x8eb07b]^=0x36363636;_0x2266f2[_0x20298f(0x1f9)]=_0x56ec08[_0x20298f(0x1f9)]=_0x4ba0e5,this[_0x20298f(0x3d8)]();},'reset':function(){var _0x598c9f=_0x186358,_0x2e7583=this[_0x598c9f(0x2e3)];_0x2e7583[_0x598c9f(0x3d8)](),_0x2e7583[_0x598c9f(0x366)](this['_iKey']);},'update':function(_0xd6431a){var _0x6c572c=_0x186358;return this[_0x6c572c(0x2e3)][_0x6c572c(0x366)](_0xd6431a),this;},'finalize':function(_0x3f7ea3){var _0x347102=_0x186358,_0x4f93fc=this[_0x347102(0x2e3)],_0xed6f9c=_0x4f93fc[_0x347102(0x457)](_0x3f7ea3);_0x4f93fc[_0x347102(0x3d8)]();var _0x2dbdce=_0x4f93fc[_0x347102(0x457)](this[_0x347102(0x208)]['clone']()[_0x347102(0x221)](_0xed6f9c));return _0x2dbdce;}});}());}));}(Ce)),Ce[_0x4b7e13(0x238)];}var Mi=Ee[_0x25fdaf(0x238)],et;function Nt(){var _0x404bf3=_0x25fdaf;return et||(et=0x1,function(_0x53a496,_0xe4b8da){(function(_0x39afd4,_0x310500,_0x1918ce){_0x53a496['exports']=_0x310500(Q(),Pi(),Li());}(Mi,function(_0x48a920){var _0x4135bf=_0x305e;return(function(){var _0x933ec7=_0x305e,_0x296890=_0x48a920,_0x919e56=_0x296890[_0x933ec7(0x2d8)],_0x52b1ed=_0x919e56[_0x933ec7(0x286)],_0x36cef9=_0x919e56['WordArray'],_0x130ad3=_0x296890[_0x933ec7(0x3bd)],_0x5abefb=_0x130ad3['MD5'],_0x1fca50=_0x130ad3[_0x933ec7(0x260)]=_0x52b1ed[_0x933ec7(0x49e)]({'cfg':_0x52b1ed[_0x933ec7(0x49e)]({'keySize':0x80/0x20,'hasher':_0x5abefb,'iterations':0x1}),'init':function(_0xeaba6c){var _0x3d5fa1=_0x933ec7;this[_0x3d5fa1(0x28f)]=this[_0x3d5fa1(0x28f)][_0x3d5fa1(0x49e)](_0xeaba6c);},'compute':function(_0x591fbb,_0x1698d8){var _0xb578e3=_0x933ec7;for(var _0x4e4743,_0x4c24ca=this[_0xb578e3(0x28f)],_0x5eef5e=_0x4c24ca[_0xb578e3(0x33b)][_0xb578e3(0x2f2)](),_0x310676=_0x36cef9[_0xb578e3(0x2f2)](),_0x18c334=_0x310676[_0xb578e3(0x3ef)],_0x2105e0=_0x4c24ca[_0xb578e3(0x4fa)],_0x3f9c73=_0x4c24ca[_0xb578e3(0x1c3)];_0x18c334[_0xb578e3(0x27c)]<_0x2105e0;){_0x4e4743&&_0x5eef5e['update'](_0x4e4743),_0x4e4743=_0x5eef5e[_0xb578e3(0x366)](_0x591fbb)[_0xb578e3(0x457)](_0x1698d8),_0x5eef5e[_0xb578e3(0x3d8)]();for(var _0x4b97e6=0x1;_0x4b97e6<_0x3f9c73;_0x4b97e6++)_0x4e4743=_0x5eef5e['finalize'](_0x4e4743),_0x5eef5e['reset']();_0x310676[_0xb578e3(0x221)](_0x4e4743);}return _0x310676['sigBytes']=_0x2105e0*0x4,_0x310676;}});_0x296890[_0x933ec7(0x260)]=function(_0x36ec85,_0x583a2f,_0x5164e3){var _0x1f4ec3=_0x933ec7;return _0x1fca50[_0x1f4ec3(0x2f2)](_0x5164e3)[_0x1f4ec3(0x27f)](_0x36ec85,_0x583a2f);};}()),_0x48a920[_0x4135bf(0x260)];}));}(Ee)),Ee[_0x404bf3(0x238)];}var Te={'exports':{}},xi=Te[_0x25fdaf(0x238)],tt;function Ut(){return tt||(tt=0x1,function(_0x3f4ab5,_0x17535e){(function(_0xe9771f,_0x57af79,_0x2b7efe){var _0x12ed93=_0x305e;_0x3f4ab5[_0x12ed93(0x238)]=_0x57af79(Q(),Nt());}(xi,function(_0x337a90){var _0x207e38=_0x305e;_0x337a90[_0x207e38(0x2d8)][_0x207e38(0x2f4)]||function(_0x455bac){var _0x3315d0=_0x207e38,_0x1674de=_0x337a90,_0x66eb29=_0x1674de[_0x3315d0(0x2d8)],_0x50a099=_0x66eb29[_0x3315d0(0x286)],_0x14b390=_0x66eb29[_0x3315d0(0x33f)],_0x106a9a=_0x66eb29[_0x3315d0(0x41a)],_0x2a222e=_0x1674de[_0x3315d0(0x419)];_0x2a222e[_0x3315d0(0x4f0)];var _0x5bb29a=_0x2a222e['Base64'],_0x37c49e=_0x1674de[_0x3315d0(0x3bd)],_0x42b9d8=_0x37c49e[_0x3315d0(0x260)],_0x4aaaf5=_0x66eb29[_0x3315d0(0x2f4)]=_0x106a9a[_0x3315d0(0x49e)]({'cfg':_0x50a099['extend'](),'createEncryptor':function(_0x2b0e5b,_0x370876){var _0x4af42f=_0x3315d0;return this['create'](this[_0x4af42f(0x1b4)],_0x2b0e5b,_0x370876);},'createDecryptor':function(_0x15afb4,_0x155ebd){var _0x41812a=_0x3315d0;return this[_0x41812a(0x2f2)](this[_0x41812a(0x2b5)],_0x15afb4,_0x155ebd);},'init':function(_0x271a38,_0x13e751,_0x1ca877){var _0x2c1287=_0x3315d0;this[_0x2c1287(0x28f)]=this[_0x2c1287(0x28f)][_0x2c1287(0x49e)](_0x1ca877),this[_0x2c1287(0x281)]=_0x271a38,this['_key']=_0x13e751,this[_0x2c1287(0x3d8)]();},'reset':function(){var _0x2dddde=_0x3315d0;_0x106a9a[_0x2dddde(0x3d8)][_0x2dddde(0x1d5)](this),this[_0x2dddde(0x4f5)]();},'process':function(_0x434646){var _0x710f34=_0x3315d0;return this[_0x710f34(0x1e7)](_0x434646),this['_process']();},'finalize':function(_0x3c095d){var _0x248b56=_0x3315d0;_0x3c095d&&this[_0x248b56(0x1e7)](_0x3c095d);var _0xa666f7=this[_0x248b56(0x2d4)]();return _0xa666f7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xc8374f(_0x2e6d42){var _0xc62890=_0x305e;return typeof _0x2e6d42==_0xc62890(0x42b)?_0x35b24c:_0x5f7b4a;}return function(_0x105578){return{'encrypt':function(_0x492a10,_0x280e75,_0x45b8c8){return _0xc8374f(_0x280e75)['encrypt'](_0x105578,_0x492a10,_0x280e75,_0x45b8c8);},'decrypt':function(_0x566415,_0x47cc9d,_0x46ed5c){var _0xaa083a=_0x305e;return _0xc8374f(_0x47cc9d)[_0xaa083a(0x29c)](_0x105578,_0x566415,_0x47cc9d,_0x46ed5c);}};};}())});_0x66eb29[_0x3315d0(0x335)]=_0x4aaaf5[_0x3315d0(0x49e)]({'_doFinalize':function(){var _0x956f83=_0x3315d0,_0x53d29a=this[_0x956f83(0x3ae)](!0x0);return _0x53d29a;},'blockSize':0x1});var _0x233360=_0x1674de[_0x3315d0(0x4f7)]={},_0x548ba2=_0x66eb29[_0x3315d0(0x1b3)]=_0x50a099['extend']({'createEncryptor':function(_0x47a6c7,_0x27e7c2){var _0x164db4=_0x3315d0;return this['Encryptor'][_0x164db4(0x2f2)](_0x47a6c7,_0x27e7c2);},'createDecryptor':function(_0x18528e,_0x46a112){var _0x32a274=_0x3315d0;return this[_0x32a274(0x388)][_0x32a274(0x2f2)](_0x18528e,_0x46a112);},'init':function(_0x3e731c,_0x548a77){var _0x797231=_0x3315d0;this[_0x797231(0x3ee)]=_0x3e731c,this[_0x797231(0x1ca)]=_0x548a77;}}),_0x1aee7c=_0x233360['CBC']=(function(){var _0x58238a=_0x3315d0,_0x1907a5=_0x548ba2[_0x58238a(0x49e)]();_0x1907a5[_0x58238a(0x4ac)]=_0x1907a5[_0x58238a(0x49e)]({'processBlock':function(_0x24c66e,_0x50fe65){var _0x280f0c=_0x58238a,_0x35dbb6=this[_0x280f0c(0x3ee)],_0xb41b8b=_0x35dbb6[_0x280f0c(0x1b9)];_0x4a559c[_0x280f0c(0x1d5)](this,_0x24c66e,_0x50fe65,_0xb41b8b),_0x35dbb6[_0x280f0c(0x259)](_0x24c66e,_0x50fe65),this[_0x280f0c(0x51b)]=_0x24c66e[_0x280f0c(0x23b)](_0x50fe65,_0x50fe65+_0xb41b8b);}}),_0x1907a5['Decryptor']=_0x1907a5[_0x58238a(0x49e)]({'processBlock':function(_0x2f360c,_0x551fe5){var _0x4f35b2=_0x58238a,_0x5cb82b=this[_0x4f35b2(0x3ee)],_0x63a8db=_0x5cb82b[_0x4f35b2(0x1b9)],_0x553ed5=_0x2f360c[_0x4f35b2(0x23b)](_0x551fe5,_0x551fe5+_0x63a8db);_0x5cb82b[_0x4f35b2(0x237)](_0x2f360c,_0x551fe5),_0x4a559c['call'](this,_0x2f360c,_0x551fe5,_0x63a8db),this['_prevBlock']=_0x553ed5;}});function _0x4a559c(_0x29318f,_0x2c527d,_0x2c1e1d){var _0x3c60e8=_0x58238a,_0xd15ce9,_0x1dad80=this['_iv'];_0x1dad80?(_0xd15ce9=_0x1dad80,this['_iv']=_0x455bac):_0xd15ce9=this[_0x3c60e8(0x51b)];for(var _0x2af1fe=0x0;_0x2af1fe<_0x2c1e1d;_0x2af1fe++)_0x29318f[_0x2c527d+_0x2af1fe]^=_0xd15ce9[_0x2af1fe];}return _0x1907a5;}()),_0xbb1737=_0x1674de[_0x3315d0(0x30f)]={},_0x3111fb=_0xbb1737['Pkcs7']={'pad':function(_0x485fcc,_0x5b52b5){var _0x1d6997=_0x3315d0;for(var _0x56d7cd=_0x5b52b5*0x4,_0x1b01dc=_0x56d7cd-_0x485fcc['sigBytes']%_0x56d7cd,_0x5aac12=_0x1b01dc<<0x18|_0x1b01dc<<0x10|_0x1b01dc<<0x8|_0x1b01dc,_0x32eacf=[],_0x34136b=0x0;_0x34136b<_0x1b01dc;_0x34136b+=0x4)_0x32eacf['push'](_0x5aac12);var _0x480aae=_0x14b390[_0x1d6997(0x2f2)](_0x32eacf,_0x1b01dc);_0x485fcc['concat'](_0x480aae);},'unpad':function(_0xb17417){var _0x356d7e=_0x3315d0,_0x16cef9=_0xb17417[_0x356d7e(0x3ef)][_0xb17417[_0x356d7e(0x1f9)]-0x1>>>0x2]&0xff;_0xb17417['sigBytes']-=_0x16cef9;}};_0x66eb29[_0x3315d0(0x34f)]=_0x4aaaf5[_0x3315d0(0x49e)]({'cfg':_0x4aaaf5[_0x3315d0(0x28f)][_0x3315d0(0x49e)]({'mode':_0x1aee7c,'padding':_0x3111fb}),'reset':function(){var _0x52d5a6=_0x3315d0,_0xfbdfff;_0x4aaaf5[_0x52d5a6(0x3d8)]['call'](this);var _0x18921b=this['cfg'],_0x1ea0aa=_0x18921b['iv'],_0x566713=_0x18921b['mode'];this['_xformMode']==this[_0x52d5a6(0x1b4)]?_0xfbdfff=_0x566713[_0x52d5a6(0x255)]:(_0xfbdfff=_0x566713[_0x52d5a6(0x37a)],this[_0x52d5a6(0x349)]=0x1),this[_0x52d5a6(0x2ef)]&&this[_0x52d5a6(0x2ef)][_0x52d5a6(0x421)]==_0xfbdfff?this[_0x52d5a6(0x2ef)]['init'](this,_0x1ea0aa&&_0x1ea0aa[_0x52d5a6(0x3ef)]):(this[_0x52d5a6(0x2ef)]=_0xfbdfff[_0x52d5a6(0x1d5)](_0x566713,this,_0x1ea0aa&&_0x1ea0aa[_0x52d5a6(0x3ef)]),this[_0x52d5a6(0x2ef)]['__creator']=_0xfbdfff);},'_doProcessBlock':function(_0x1a7a68,_0x48b921){var _0x3e536f=_0x3315d0;this['_mode'][_0x3e536f(0x2cb)](_0x1a7a68,_0x48b921);},'_doFinalize':function(){var _0x161f53=_0x3315d0,_0x1a1469,_0x48773b=this['cfg'][_0x161f53(0x4e7)];return this[_0x161f53(0x281)]==this['_ENC_XFORM_MODE']?(_0x48773b[_0x161f53(0x30f)](this[_0x161f53(0x376)],this[_0x161f53(0x1b9)]),_0x1a1469=this[_0x161f53(0x3ae)](!0x0)):(_0x1a1469=this['_process'](!0x0),_0x48773b[_0x161f53(0x4e4)](_0x1a1469)),_0x1a1469;},'blockSize':0x80/0x20});var _0x27f5e4=_0x66eb29[_0x3315d0(0x2de)]=_0x50a099[_0x3315d0(0x49e)]({'init':function(_0x528cf6){var _0x29b285=_0x3315d0;this[_0x29b285(0x28d)](_0x528cf6);},'toString':function(_0x4da686){var _0x484ab3=_0x3315d0;return(_0x4da686||this[_0x484ab3(0x40e)])['stringify'](this);}}),_0x2fc260=_0x1674de[_0x3315d0(0x1ce)]={},_0x5839b5=_0x2fc260['OpenSSL']={'stringify':function(_0x37f749){var _0x5368a4=_0x3315d0,_0x3f18a3,_0x398b3c=_0x37f749[_0x5368a4(0x469)],_0x4e33d2=_0x37f749[_0x5368a4(0x3e3)];return _0x4e33d2?_0x3f18a3=_0x14b390[_0x5368a4(0x2f2)]([0x53616c74,0x65645f5f])[_0x5368a4(0x221)](_0x4e33d2)[_0x5368a4(0x221)](_0x398b3c):_0x3f18a3=_0x398b3c,_0x3f18a3[_0x5368a4(0x49a)](_0x5bb29a);},'parse':function(_0x48fe8a){var _0x49d481=_0x3315d0,_0x1e2a73,_0x2d8b89=_0x5bb29a[_0x49d481(0x3ed)](_0x48fe8a),_0x243d8b=_0x2d8b89['words'];return _0x243d8b[0x0]==0x53616c74&&_0x243d8b[0x1]==0x65645f5f&&(_0x1e2a73=_0x14b390[_0x49d481(0x2f2)](_0x243d8b[_0x49d481(0x23b)](0x2,0x4)),_0x243d8b[_0x49d481(0x467)](0x0,0x4),_0x2d8b89['sigBytes']-=0x10),_0x27f5e4['create']({'ciphertext':_0x2d8b89,'salt':_0x1e2a73});}},_0x5f7b4a=_0x66eb29[_0x3315d0(0x2cd)]=_0x50a099['extend']({'cfg':_0x50a099[_0x3315d0(0x49e)]({'format':_0x5839b5}),'encrypt':function(_0x31552c,_0x4270ec,_0x385222,_0x2c7f99){var _0x5fa0db=_0x3315d0;_0x2c7f99=this['cfg'][_0x5fa0db(0x49e)](_0x2c7f99);var _0x4e9b3=_0x31552c[_0x5fa0db(0x255)](_0x385222,_0x2c7f99),_0x384cb1=_0x4e9b3[_0x5fa0db(0x457)](_0x4270ec),_0x14d6cc=_0x4e9b3['cfg'];return _0x27f5e4[_0x5fa0db(0x2f2)]({'ciphertext':_0x384cb1,'key':_0x385222,'iv':_0x14d6cc['iv'],'algorithm':_0x31552c,'mode':_0x14d6cc['mode'],'padding':_0x14d6cc[_0x5fa0db(0x4e7)],'blockSize':_0x31552c[_0x5fa0db(0x1b9)],'formatter':_0x2c7f99['format']});},'decrypt':function(_0x31b9ba,_0x5619d9,_0x27688d,_0x3badc8){var _0xc00558=_0x3315d0;_0x3badc8=this[_0xc00558(0x28f)]['extend'](_0x3badc8),_0x5619d9=this[_0xc00558(0x4be)](_0x5619d9,_0x3badc8['format']);var _0x12a341=_0x31b9ba['createDecryptor'](_0x27688d,_0x3badc8)[_0xc00558(0x457)](_0x5619d9[_0xc00558(0x469)]);return _0x12a341;},'_parse':function(_0x181ad8,_0xc7ff77){var _0x51fe40=_0x3315d0;return typeof _0x181ad8==_0x51fe40(0x42b)?_0xc7ff77[_0x51fe40(0x3ed)](_0x181ad8,this):_0x181ad8;}}),_0x47469b=_0x1674de[_0x3315d0(0x449)]={},_0x390acd=_0x47469b[_0x3315d0(0x424)]={'execute':function(_0x3b2b31,_0x209fc1,_0x36d378,_0x1456e7,_0x11f926){var _0x3e87e8=_0x3315d0;if(_0x1456e7||(_0x1456e7=_0x14b390[_0x3e87e8(0x2a3)](0x40/0x8)),_0x11f926)var _0x33018d=_0x42b9d8[_0x3e87e8(0x2f2)]({'keySize':_0x209fc1+_0x36d378,'hasher':_0x11f926})[_0x3e87e8(0x27f)](_0x3b2b31,_0x1456e7);else var _0x33018d=_0x42b9d8['create']({'keySize':_0x209fc1+_0x36d378})['compute'](_0x3b2b31,_0x1456e7);var _0x39fbe7=_0x14b390[_0x3e87e8(0x2f2)](_0x33018d[_0x3e87e8(0x3ef)][_0x3e87e8(0x23b)](_0x209fc1),_0x36d378*0x4);return _0x33018d[_0x3e87e8(0x1f9)]=_0x209fc1*0x4,_0x27f5e4['create']({'key':_0x33018d,'iv':_0x39fbe7,'salt':_0x1456e7});}},_0x35b24c=_0x66eb29[_0x3315d0(0x38b)]=_0x5f7b4a['extend']({'cfg':_0x5f7b4a[_0x3315d0(0x28f)][_0x3315d0(0x49e)]({'kdf':_0x390acd}),'encrypt':function(_0x3df603,_0x299585,_0x358357,_0x2766bf){var _0x22dc1d=_0x3315d0;_0x2766bf=this[_0x22dc1d(0x28f)][_0x22dc1d(0x49e)](_0x2766bf);var _0x2b5ed2=_0x2766bf[_0x22dc1d(0x449)][_0x22dc1d(0x258)](_0x358357,_0x3df603[_0x22dc1d(0x4fa)],_0x3df603[_0x22dc1d(0x4e5)],_0x2766bf[_0x22dc1d(0x3e3)],_0x2766bf['hasher']);_0x2766bf['iv']=_0x2b5ed2['iv'];var _0x223d5a=_0x5f7b4a['encrypt'][_0x22dc1d(0x1d5)](this,_0x3df603,_0x299585,_0x2b5ed2[_0x22dc1d(0x3dd)],_0x2766bf);return _0x223d5a['mixIn'](_0x2b5ed2),_0x223d5a;},'decrypt':function(_0xa3c867,_0x4407f0,_0x5e5a85,_0x691eee){var _0x5cbeee=_0x3315d0;_0x691eee=this['cfg']['extend'](_0x691eee),_0x4407f0=this[_0x5cbeee(0x4be)](_0x4407f0,_0x691eee[_0x5cbeee(0x1ce)]);var _0x2a8739=_0x691eee[_0x5cbeee(0x449)]['execute'](_0x5e5a85,_0xa3c867[_0x5cbeee(0x4fa)],_0xa3c867[_0x5cbeee(0x4e5)],_0x4407f0[_0x5cbeee(0x3e3)],_0x691eee[_0x5cbeee(0x33b)]);_0x691eee['iv']=_0x2a8739['iv'];var _0x1f7115=_0x5f7b4a[_0x5cbeee(0x29c)][_0x5cbeee(0x1d5)](this,_0xa3c867,_0x4407f0,_0x2a8739[_0x5cbeee(0x3dd)],_0x691eee);return _0x1f7115;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0x25fdaf(0x238)],it;function Hi(){var _0xfafffe=_0x25fdaf;return it||(it=0x1,function(_0x28122b,_0x4acfa5){(function(_0x731ffc,_0x2879b7,_0x50b394){var _0x586afb=_0x305e;_0x28122b[_0x586afb(0x238)]=_0x2879b7(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x3856a8){return(function(){var _0x21e59e=_0x305e,_0x51ee09=_0x3856a8,_0x3b1017=_0x51ee09[_0x21e59e(0x2d8)],_0x3c2896=_0x3b1017['BlockCipher'],_0xc821f4=_0x51ee09[_0x21e59e(0x3bd)],_0x3b2029=[],_0x3e6ede=[],_0x2774b9=[],_0x1ad7bc=[],_0xab7969=[],_0x1287a=[],_0x17c32d=[],_0x4c7244=[],_0x2fbb71=[],_0x155ff2=[];(function(){for(var _0xdf2eaa=[],_0x34189f=0x0;_0x34189f<0x100;_0x34189f++)_0x34189f<0x80?_0xdf2eaa[_0x34189f]=_0x34189f<<0x1:_0xdf2eaa[_0x34189f]=_0x34189f<<0x1^0x11b;for(var _0x62dc79=0x0,_0x4c8b3c=0x0,_0x34189f=0x0;_0x34189f<0x100;_0x34189f++){var _0x39888e=_0x4c8b3c^_0x4c8b3c<<0x1^_0x4c8b3c<<0x2^_0x4c8b3c<<0x3^_0x4c8b3c<<0x4;_0x39888e=_0x39888e>>>0x8^_0x39888e&0xff^0x63,_0x3b2029[_0x62dc79]=_0x39888e,_0x3e6ede[_0x39888e]=_0x62dc79;var _0x2417e3=_0xdf2eaa[_0x62dc79],_0x4ed135=_0xdf2eaa[_0x2417e3],_0x3a1132=_0xdf2eaa[_0x4ed135],_0x17d78e=_0xdf2eaa[_0x39888e]*0x101^_0x39888e*0x1010100;_0x2774b9[_0x62dc79]=_0x17d78e<<0x18|_0x17d78e>>>0x8,_0x1ad7bc[_0x62dc79]=_0x17d78e<<0x10|_0x17d78e>>>0x10,_0xab7969[_0x62dc79]=_0x17d78e<<0x8|_0x17d78e>>>0x18,_0x1287a[_0x62dc79]=_0x17d78e;var _0x17d78e=_0x3a1132*0x1010101^_0x4ed135*0x10001^_0x2417e3*0x101^_0x62dc79*0x1010100;_0x17c32d[_0x39888e]=_0x17d78e<<0x18|_0x17d78e>>>0x8,_0x4c7244[_0x39888e]=_0x17d78e<<0x10|_0x17d78e>>>0x10,_0x2fbb71[_0x39888e]=_0x17d78e<<0x8|_0x17d78e>>>0x18,_0x155ff2[_0x39888e]=_0x17d78e,_0x62dc79?(_0x62dc79=_0x2417e3^_0xdf2eaa[_0xdf2eaa[_0xdf2eaa[_0x3a1132^_0x2417e3]]],_0x4c8b3c^=_0xdf2eaa[_0xdf2eaa[_0x4c8b3c]]):_0x62dc79=_0x4c8b3c=0x1;}}());var _0x59695a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1a34d9=_0xc821f4[_0x21e59e(0x407)]=_0x3c2896['extend']({'_doReset':function(){var _0x5c4b0f=_0x21e59e,_0x20e4a1;if(!(this[_0x5c4b0f(0x2dc)]&&this[_0x5c4b0f(0x386)]===this['_key'])){for(var _0x1c51f7=this[_0x5c4b0f(0x386)]=this[_0x5c4b0f(0x3a2)],_0x1e96c0=_0x1c51f7[_0x5c4b0f(0x3ef)],_0x37b24d=_0x1c51f7[_0x5c4b0f(0x1f9)]/0x4,_0x8476ad=this[_0x5c4b0f(0x2dc)]=_0x37b24d+0x6,_0x28c2a1=(_0x8476ad+0x1)*0x4,_0x5190ae=this[_0x5c4b0f(0x2b2)]=[],_0x543c49=0x0;_0x543c49<_0x28c2a1;_0x543c49++)_0x543c49<_0x37b24d?_0x5190ae[_0x543c49]=_0x1e96c0[_0x543c49]:(_0x20e4a1=_0x5190ae[_0x543c49-0x1],_0x543c49%_0x37b24d?_0x37b24d>0x6&&_0x543c49%_0x37b24d==0x4&&(_0x20e4a1=_0x3b2029[_0x20e4a1>>>0x18]<<0x18|_0x3b2029[_0x20e4a1>>>0x10&0xff]<<0x10|_0x3b2029[_0x20e4a1>>>0x8&0xff]<<0x8|_0x3b2029[_0x20e4a1&0xff]):(_0x20e4a1=_0x20e4a1<<0x8|_0x20e4a1>>>0x18,_0x20e4a1=_0x3b2029[_0x20e4a1>>>0x18]<<0x18|_0x3b2029[_0x20e4a1>>>0x10&0xff]<<0x10|_0x3b2029[_0x20e4a1>>>0x8&0xff]<<0x8|_0x3b2029[_0x20e4a1&0xff],_0x20e4a1^=_0x59695a[_0x543c49/_0x37b24d|0x0]<<0x18),_0x5190ae[_0x543c49]=_0x5190ae[_0x543c49-_0x37b24d]^_0x20e4a1);for(var _0x4cd979=this['_invKeySchedule']=[],_0x2f2182=0x0;_0x2f2182<_0x28c2a1;_0x2f2182++){var _0x543c49=_0x28c2a1-_0x2f2182;if(_0x2f2182%0x4)var _0x20e4a1=_0x5190ae[_0x543c49];else var _0x20e4a1=_0x5190ae[_0x543c49-0x4];_0x2f2182<0x4||_0x543c49<=0x4?_0x4cd979[_0x2f2182]=_0x20e4a1:_0x4cd979[_0x2f2182]=_0x17c32d[_0x3b2029[_0x20e4a1>>>0x18]]^_0x4c7244[_0x3b2029[_0x20e4a1>>>0x10&0xff]]^_0x2fbb71[_0x3b2029[_0x20e4a1>>>0x8&0xff]]^_0x155ff2[_0x3b2029[_0x20e4a1&0xff]];}}},'encryptBlock':function(_0x56a48d,_0x45bd6d){var _0x1a80e3=_0x21e59e;this[_0x1a80e3(0x2a7)](_0x56a48d,_0x45bd6d,this[_0x1a80e3(0x2b2)],_0x2774b9,_0x1ad7bc,_0xab7969,_0x1287a,_0x3b2029);},'decryptBlock':function(_0x5680d1,_0x2fb320){var _0x58edda=_0x21e59e,_0x47f2d1=_0x5680d1[_0x2fb320+0x1];_0x5680d1[_0x2fb320+0x1]=_0x5680d1[_0x2fb320+0x3],_0x5680d1[_0x2fb320+0x3]=_0x47f2d1,this[_0x58edda(0x2a7)](_0x5680d1,_0x2fb320,this[_0x58edda(0x38f)],_0x17c32d,_0x4c7244,_0x2fbb71,_0x155ff2,_0x3e6ede);var _0x47f2d1=_0x5680d1[_0x2fb320+0x1];_0x5680d1[_0x2fb320+0x1]=_0x5680d1[_0x2fb320+0x3],_0x5680d1[_0x2fb320+0x3]=_0x47f2d1;},'_doCryptBlock':function(_0x39a7d5,_0xcc0a37,_0x550874,_0x1fecd4,_0x2f328c,_0x256eec,_0x19dd04,_0x51dff0){var _0x1f274d=_0x21e59e;for(var _0x2c0f2c=this[_0x1f274d(0x2dc)],_0x537814=_0x39a7d5[_0xcc0a37]^_0x550874[0x0],_0x2c7365=_0x39a7d5[_0xcc0a37+0x1]^_0x550874[0x1],_0x15f528=_0x39a7d5[_0xcc0a37+0x2]^_0x550874[0x2],_0x42fbbe=_0x39a7d5[_0xcc0a37+0x3]^_0x550874[0x3],_0x406647=0x4,_0x4f222b=0x1;_0x4f222b<_0x2c0f2c;_0x4f222b++){var _0x4eab31=_0x1fecd4[_0x537814>>>0x18]^_0x2f328c[_0x2c7365>>>0x10&0xff]^_0x256eec[_0x15f528>>>0x8&0xff]^_0x19dd04[_0x42fbbe&0xff]^_0x550874[_0x406647++],_0x51e83e=_0x1fecd4[_0x2c7365>>>0x18]^_0x2f328c[_0x15f528>>>0x10&0xff]^_0x256eec[_0x42fbbe>>>0x8&0xff]^_0x19dd04[_0x537814&0xff]^_0x550874[_0x406647++],_0x5c0c3d=_0x1fecd4[_0x15f528>>>0x18]^_0x2f328c[_0x42fbbe>>>0x10&0xff]^_0x256eec[_0x537814>>>0x8&0xff]^_0x19dd04[_0x2c7365&0xff]^_0x550874[_0x406647++],_0x28ae7a=_0x1fecd4[_0x42fbbe>>>0x18]^_0x2f328c[_0x537814>>>0x10&0xff]^_0x256eec[_0x2c7365>>>0x8&0xff]^_0x19dd04[_0x15f528&0xff]^_0x550874[_0x406647++];_0x537814=_0x4eab31,_0x2c7365=_0x51e83e,_0x15f528=_0x5c0c3d,_0x42fbbe=_0x28ae7a;}var _0x4eab31=(_0x51dff0[_0x537814>>>0x18]<<0x18|_0x51dff0[_0x2c7365>>>0x10&0xff]<<0x10|_0x51dff0[_0x15f528>>>0x8&0xff]<<0x8|_0x51dff0[_0x42fbbe&0xff])^_0x550874[_0x406647++],_0x51e83e=(_0x51dff0[_0x2c7365>>>0x18]<<0x18|_0x51dff0[_0x15f528>>>0x10&0xff]<<0x10|_0x51dff0[_0x42fbbe>>>0x8&0xff]<<0x8|_0x51dff0[_0x537814&0xff])^_0x550874[_0x406647++],_0x5c0c3d=(_0x51dff0[_0x15f528>>>0x18]<<0x18|_0x51dff0[_0x42fbbe>>>0x10&0xff]<<0x10|_0x51dff0[_0x537814>>>0x8&0xff]<<0x8|_0x51dff0[_0x2c7365&0xff])^_0x550874[_0x406647++],_0x28ae7a=(_0x51dff0[_0x42fbbe>>>0x18]<<0x18|_0x51dff0[_0x537814>>>0x10&0xff]<<0x10|_0x51dff0[_0x2c7365>>>0x8&0xff]<<0x8|_0x51dff0[_0x15f528&0xff])^_0x550874[_0x406647++];_0x39a7d5[_0xcc0a37]=_0x4eab31,_0x39a7d5[_0xcc0a37+0x1]=_0x51e83e,_0x39a7d5[_0xcc0a37+0x2]=_0x5c0c3d,_0x39a7d5[_0xcc0a37+0x3]=_0x28ae7a;},'keySize':0x100/0x20});_0x51ee09['AES']=_0x3c2896[_0x21e59e(0x263)](_0x1a34d9);}()),_0x3856a8['AES'];}));}(fe)),fe[_0xfafffe(0x238)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x208c1b=_0x25fdaf;return rt||(rt=0x1,function(_0x491578,_0x119291){(function(_0x1b90ed,_0x7a585b){var _0x4133a0=_0x305e;_0x491578[_0x4133a0(0x238)]=_0x7a585b(Q());}(Fi,function(_0x1218f8){var _0xe1b832=_0x305e;return _0x1218f8[_0xe1b832(0x419)]['Utf8'];}));}(be)),be[_0x208c1b(0x238)];}var Wi=Vi();function _0x1691(){var _0x453a80=['_applyRemoteChangeset','SheetTransformSelectionsService','UserProfileImg','RECV','_sessionStatus$','_sheetTransformSelectionsService','JOIN','HttpImport','status','/universer-api/authz','close','getTime','AES','touchDependencies','/new_changes','sheets','collaboration_new_changeset','_initRequestHeader','getInterceptPoints','formatter','_type','COMPRESS_MUTATION_APPLY','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','INVALID_ARGUMENT','SetSelectionsOperation','isTransformChangesetsSuccess','transformUndoRedo','indexOf','socket$','COMMENT_UPDATE','enc','BufferedBlockAlgorithm','_getUploadFileURL','SUBMIT_CHANGESET_TIMEOUT','encode','apply','clone','_socketReady','__creator','updatePermissionPoint','[CollaborationSessionService]:\x20socket\x20error','OpenSSL','_collaborationSessionService','30141152ayNUeS','getUnitType','put','addImageSourceCache','filter','string','_createHandler','__Key__','_socket','loadOfflineData','UNIVER_UNKNOWN','_members$','_submitChangeset','_onRemoteRetry','isInternalEditorID','getCurrentSelections','_onRemoteACK','_commandService','_resendWithTimeout','clamp','session.room-permission-denied','_univerInstanceService','LIVESHARE_REQUEST_HOST','_imageSourceCache','error$','_onConflict','CollaborationSessionService','[CollaborationEntity]','function','USER_NOT_INVITED_CODE','getWorkbookSelections','_exhaustRemoteChangesetQueue','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableOfflineEditing','[OfflineState]:\x20received\x20changeset.','kdf','getSheetId','Optional','entityInit$','next','unsubscribe','_retryCount','_unitID','_getCtorByUniverType','toggleOnline','_isPermissionRej','YUUMI_URL_COL_OUT_OF_RANGE','fetchMissingChangesets','onMissingChangesets','finalize','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createSocket','_telemetryInfo','_unlockTransition','setWaitCount','setShowComponents','offline','_singleActiveUnitService','/object','ILocalCacheService','_remoteChangesetQueue','DEFAULT_COLLAB_WEB_SOCKET_URL','ICommandService','dispose','_checkMissing','splice','unitId','ciphertext','_incrementRevisionNumber','then','_showConflictNotification','_startTelemetryCollaborationNewChangeset','push','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','m2Prime','title','HEARTBEAT_INTERVAL','SEND_CHANGESET_TIMEOUT_KEY','3633426LWsxEV','getCurrentUser','byteLength','[PendingState]:\x20received\x20rejection.','COMPLETION_FINISHED','UNAUTHENTICATED','DependentOn','MUTATION','FileId','_sender','_joinRoom','concatMap','_undoRedoService','Injector','fetchMiss','_initMergeInterceptor','appendMutation','_getLoginPath','RichTextEditingMutation','_snapshotService','Undefined','HEARTBEAT','_commentService','listCollaborators','_emitMembers','_permissionService','_pendingMutations','SEND_CHANGESET_TIMEOUT','JSONX','[FetchMissState]','LocaleService','UPDATE_PERMISSION_OBJ','DisposableCollection','CHANGESET_REJ','editing\x20status\x20changed\x20to','_state','disableLocalCache','/universer-api/comb','toString','UNDEFINED','IDLE','_updateLocalCache','extend','disposeWithMe','onRemoteRetry','_schedule','_onCombEvent','_candidateSocket','_decreaseWaiting','PSEUDO_FETCH_MISSING_RESULT','ImageUploadStatusType','WorkbookEditablePermission','_clearRedo','_sendingTimer','MD5','now','Encryptor','[CollaborationUndoRedoService]','YUUMI_ASYNCIO_CANCELLED','replace','LocalUndoRedoService','3758419vtkCgg','?size=','complete','UNISCRIPT_RUN','AwaitingWithPendingState','Hasher','updateSnapshot','_doProcessBlock','batchAllowed','getGlobalObject','get','_fetchMissChangesets','/object/','_parse','textEncoder','_transformRemoteChangesetByIMECache','1914922uDyRlV','abs','WECHAT_HAS_BEEN_BOUND','_onConnectionFailed','reverse','_userManagerService','_getSendChangesetTimeout','ConflictState','_redoStacks','getOwnPropertyDescriptor','uploadFileServerUrl','charAt','_transformService','catch','updateMember','event$','merge','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_transformRemoteChangesetByStateCache','_commentUpdate$','registerDependencies','AuthzIoHttpService','SNAPSHOT_HAS_BEEN_REMOVED','synced','INGEST','_tryEnsureSocket','_localCacheService','authzUrl','subscribe','image/gif','SUCCUSS','FETCH_MISS','_iKey','message$','sid','unpad','ivSize','equals','padding','EXCHANGE_SIGN_URL_SERVER_URL_KEY','addHandlerCallback','ws://127.0.0.1:8000/universer-api/comb/connect','stringify','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_collabSessionService','CommentService','append','Utf8','onStarting','ITransformService','updateCollaborator','_waitCount','_doReset','_localeService','mode','YUUMI_UNABLE_LOAD_URL','getFocusedUnit','keySize','permissionRejEvent','subUnitId','SHOULD_CLOSE_CONN','1299126zNAPIw','_collaborationTimeoutTimer','Tools','sessionStatus$','SHA1','RxDisposable','_waitForHeartbeatResponse','LICENSE_EXPORT_SIZE_EXCEEDED','OPTIONAL','getConfig','_clearScheduledTask','LIVESHARE_NEW_HOST','YUUMI_NO_CUBOID_FOR_QUESTION','OTHER_CLIENT_EDITING','_status$','UniverCollaborationPlugin','file','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','LICENSE_DISTRO_REJECTED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','JOIN_ROOM_PERMISSION_DENIED','_initUnitPermissionChange','downloadEndpointUrl','_onRecvEvent','_change$','_replayCachedMutations','duration','&to=','SOCKET_FAILED','_prevBlock','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','location','{fileID}','_onJoinRoomEvent','_resendTimeout','DocCollaborationEntity','People','revision','IUndoRedoService','PendingState','_entityInit$','_retryConnectingTimer','takeUntil','session.join-failed','BlockCipherMode','_ENC_XFORM_MODE','CollaborationStatus','_instanceService','headers','rxjs/operators','blockSize','map','_getDownloadEndpointURL','fetch_missing','USERS_ENTER','baseRev','defineProperty','UniverCollaborationClientPlugin','_sendHeartbeatTimer','\x20to\x20','iterations','_getAPIPrefixPath','_unitInfo$','ThresholdInterceptorFactory','objectType','CHANGESET_ACK','data','_iv','_clearHeartbeatTimer','IPermissionService','shareReplay','format','_clearUndo','[OfflineState]:\x20received\x20rejection.','MentionType','toggleOffline','COMPRESS_MUTATION_SEND','_listenToNetworkCondition','call','PERMISSION_REJ','override','_sendHeartbeat','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_disableEditing','ENSURE_SNAPSHOT_EXECUTION','_transformIMECache','initWorkbookPermissionChange','getLocalCacheKey','PENDING','UNIVER_DOC','_executeRemoteChangeset','onload','_members','CollaborationEvent','isTransformMutationsWithChangesetFailure','floor','_append','OFFLINE','onTransformIME','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getSnapshotAPIPath','closeSession','requestParams','CollaborationSession','[UniverCollaborationClientPlugin]','_memberService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','@univerjs-pro/license','_roomCreated$','HEARTBEAT_INTERVAL_KEY','readAsDataURL','joinEvent','image/png','retryConnectingInterval','sigBytes','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[DataLoaderService]','objects','open$','loginUrlKey','reqId','image/bmp','getTypeOfUnitDisposed$','default','saveImage','Quantity','LOCAL_CACHE_INTERVAL_KEY','_roomMembers','_logService','_oKey','interceptor','Error\x20on\x20receiving\x20event','parseProtocolChangeset','YUUMI_ALL_TABLES_IS_INVALID','state','JOIN_ROOM_FULL','_compressMutationService','/resources','univer-pro.collaboration-client-socket-service','_map','url','onTransformRemoteChangesetByIMECache','&source=','/fetchmissing?from=','BASE64','getMember','DEFAULT_WS_SESSION_TICKET_URL','MergeInterceptorFactory','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','state$','SyncedState','_HTTPService','onCommandExecuted','_clearTimeoutTimer','concat','Rectangle','body','MOBILE_HAS_BEEN_BOUND','add','/rev/','onTransformState','LOGIN_FAILED','APPLY_REJECT','onTransformRemoteChangesetByStateCache','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_toggleOffline','LOGIN_URL_KEY','post','_throwTelemetryCollaborationNewChangeset','entries','_awaitingChangeset','[CollaborationSessionService]','InsertSheetMutation','UUID','reject','_scheduleCompleteTimestamp','decryptBlock','exports','USERS_LEAVE','getMemberID','slice','transformSelections','Subject','fetching\x20missing\x20changesets\x20from\x20','_resendTimer','mutations','_getUndoStack','IImageIoService','max','_transformSelections','pending','UNIVER_PROJECT','copyFileMeta','ILogService','_onUserJoin','CONNECTOR_DATA_TOO_LARGE','INTERNAL_ERROR','MentionIoHttpService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','resourceIDs','charCodeAt','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/collaborator','selections','SnapshotServerOverHTTPService','ISingleActiveUnitService','createEncryptor','deepClone','delete','execute','encryptBlock','CHANGESET_REVISION_CONFILICT','crypto','Workbook','onSendChangeset','size','fetchThroughInterceptors','EvpKDF','roles','_replaceFileID','_createHelper','_handler','forEach','asObservable','collaboratorID','_lockTransition','change$','UserManagerService','SUBMIT_CHANGESET','_transformStateCache','SNAPSHOT_SERVER_URL_KEY','getCollabEntity','UPDATE_CURSOR','_clearRetryConnectingTimer','PY_RUNTIME_SCRIPT_ERROR','collaMsg','_createHmacHelper','ceil','serializeCombRequest','joinRsp','createInstance','SOCKET_FAILED_RETRY','localCacheService','collabWebSocketUrl','init','length','_socketService','not_collab','compute','name','_xformMode','[SyncedState]:\x20received\x20rejection.','readyForCollab','_getSignURL','collaborators','Base','mapDocumentTypeToUniverType','_scheduleCollaborationTimeoutTimer','onRemoteRej','_onConnectionOpen','_substituteUndoStack','POST','mixIn','Latin1','cfg','getSheetBlock','_collaborationPaused','executeCommand','@univerjs/drawing','sessionStatus','HTTPRequest','session.room-full','emitEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CommandType','getLatestCsReqIdBySid','target','decrypt','session','_entities','csAckEvent','Disposable','readInt32LE','responseType','random','FAIL','transformChangesets','byteOffset','_doCryptBlock','uuidv4','findIndex','registerHTTPInterceptor','_tryReconnect','UniverNetworkPlugin','FetchingMissState','capture','SnapshotService','members','_handlerCallback','_keySchedule','/universer-api/uniscript','OfflineState','_DEC_XFORM_MODE','SNAPSHOT_INVALID_SNAPSHOT','_eventService','reconnect','_getCurrentRevision','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setCurrentUser','join','auth.needGotoLoginAlert','/universer-api/oidc/authpage','fromCollab','awaiting_with_pending','_clearLocalCache','&assign=','783760FskSav','getUnit','NEW_CHANGESETS','objectID','/universer-api/snapshot','resend','[SyncedState]:\x20received\x20acknowledgement.','NoPadding','processBlock','signUrlServerUrl','SerializableCipher','CollaborationController','_getRedoStack','rxjs','textRanges','buffer','error','_doFinalize','connection\x20error','CollaborativeUndoRedoService','awaitingChangeset','lib','loadUnitOfRevision','_onMessage','getCollabEntity$','_nRounds','_changesetSessionId','CipherParams','sendChangesetTimeout','UnitSnapshot','IConfigService','createSocket','_hasher','447504fVOsrK','_changesetReqId','YUUMI_RATE_OVER_LIMIT','_config','EMAIL_HAS_BEEN_BOUND','UNIVER_SLIDE','IMentionIOService','transformMutationsWithChangeset','DataLoaderService','CHANGESET_SHOULD_RETRY','from','_mode','_configService','CollaborationImageIoService','create','PERSON','Cipher','c2Prime','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/user/session-ticket','GLOBAL_ROOMS_CNT_EXCEEDS','members$','type','Could\x20not\x20dynamically\x20require\x20\x22','editingUnit','unitID','RevisionService','COLLAB_WEB_SOCKET_URL','/universer-api/stream/file/upload','_transformUndoredo','session.room-not-exists','MemberService','/allowed','AUTHZ_URL_KEY','SheetsSelectionsService','_injector','AwaitingState','_onOffline','LOCAL_CACHE_INTERVAL','RETRY_CONNECTING_MAX_COUNT','_substituteRedoStack','_snapshotServerService','HEARTBEAT_TIMEOUT','pad','pipe','_registerDependencies','actions','ERROR_IMAGE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LICENSE_MAX_UNITS_EXCEEDED','pauseCollaboration','INVITE_CODE_REQUIRED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','workbook','JOIN_ROOM_FAILED','_reverseMap','_telemetryService','_updateStatus','UniverInstanceType','awaiting','_state$','c1Prime','LIVESHARE_FETCH_OPERATIONS','ONLINE','_networkConditionService','ImageSourceType','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_doCreateSocket','UNRECOGNIZED','FETCH_MISSING','__esModule','uniscriptRunEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','status$','href','saveSnapshot','list','HELLO','infoRsp','HmacSHA1','StreamCipher','UnitStatus','avatar','debug','isTransformMutationsWithChangesetSuccess','_collaborationUIEventService','hasher','getDeserializedSheetBlock','onRemoteChangeset','memberID','WordArray','isPermissionRej','requireSession','JOINING','onSyncEditingCollabCursor','INVALID_INVITE_CODE','APPLY_NON_SEQUENTIAL_REVISION','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','prototype','\x20-\x20','_minBufferSize','INVITE_CODE_HAS_BEEN_UES','getResourcesRequest','CompressMutationService','_clearCollaborationTimeoutTimer','take','BlockCipher','_sessions','_getAPIPrefix','routeKey','eventID','/block/','_stopTelemetryCollaborationNewChangeset','_syncEditingCollabCursor','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_onRemoteRejected','HEARTBEAT_TIMEOUT_KEY','getUnitStatus$','5jvoeDE','_httpService','_onLocalMutation','_transformStack','symbol','confirm','localeService','_shouldReportTelemetry','IAuthzIoService','onLocalMutation','_revisionService','update','LIVESHARE_OPERATION','unitId\x20is\x20not\x20found','roomInfos','SYNCED','_nDataBytes','msCrypto','getRandomValues','LIVESHARE_TERMINATE','CLOSE_ROOM','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','parseChangesetToProtocol','getImage','reduce','CONFLICT','_data','leaveEvent','ISnapshotServerService','IUniverInstanceService','createDecryptor','fromCharCode','socketService','_updateState','every','onlyLocal','\x0aAfter:\x20','getValue','UNKNOWN_CMD','SheetCollaborationEntity','_transitionLocked','9rHgGIi','_keyPriorReset','withCredentials','Decryptor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toDisposable','PasswordBasedCipher','onRemoteAck','TOO_MANY_REQUESTS','params','_invKeySchedule','commentUpdateEvent','CollaborationEntity','result','getTypeOfUnitAdded$','delay','image/jpeg','[CollaborationSession]','set','_removeRoom','listRoles','_event$','CollaborationSocketService','[OfflineState]:\x20received\x20acknowledgement.','_initCloseConn','@univerjs/core','onTransformSelections','NOT_FOUND','UNKNOWN_CODE','_key','_startCollaboration','_hash','Inject','failed\x20to\x20apply\x20missed\x20changesets!','_createInitialState','stopTime','submit\x20changeset\x20error!','SNAPSHOT_URL_KEY','_init','LEAVE','code','_process','LICENSE_IMPORT_SIZE_EXCEEDED','IContextService','setConfig','_toggleOnline','newCsEvent','_socket$','enableCollaboration','startTime','Base64','NO_OTHER_CLIENTS_EDITING','HTTPService','/unit/','focused$','has','algo','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_acknowledgedAwaitingChangeset','_initDependencies','_onRemoteChangeset','firstValueFrom','_timeoutTimer','MSG_FOR_ERROR','randomBytes','INVITE_CODE_ALREADY_BOUND','INetworkConditionService','getImageSourceCache','AWAITING_WITH_PENDING','online$','_createInitialStateImpl','liveShareOperation','Malformed\x20UTF-8\x20data','conflict','BehaviorSubject','isArray','RETRY_CONNECTING_MAX_COUNT_KEY','\x0aCurrent:\x20','generateRandomId','refreshPermission','unknown','enableAuthServer','originalMeta','reset','HMAC','action','createIdentifier','getUnitId','key','/-/object/-/batch_allowed','allowed','_undoStacks','removeMember','PERMISSION_DENIED','salt','@univerjs/telemetry','createCollaborator','dispose$','origin','UnitEmbedded','clear','_onUserLeave','save\x20fail\x20reason\x20is\x20','send','parse','_cipher','words','getCurrentRevOfUnit','Hex','_socketMessageSubscription','OTHER_CLIENTS_EDITING','onMissedChangesetFetched','UNIVER_SHEET','updateOfflineData','_rescheduleHeartbeat','cmd','APPLY_REVISION_CONFILICT','univer-pro.collaboration-client.network-condition.service'];_0x1691=function(){return _0x453a80;};return _0x1691();}const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x25fdaf(0x238)],st;function Yi(){var _0x2e6c30=_0x25fdaf;return st||(st=0x1,function(_0x1b4164,_0x3eff94){(function(_0x48f80c,_0x4199b1){var _0xe71d9a=_0x305e;_0x1b4164[_0xe71d9a(0x238)]=_0x4199b1(Q());}(Ki,function(_0x3ce3f5){var _0x2f6cd8=_0x305e;return(function(){var _0x2e711f=_0x305e;if(typeof ArrayBuffer==_0x2e711f(0x442)){var _0x204ad4=_0x3ce3f5,_0x49b994=_0x204ad4[_0x2e711f(0x2d8)],_0x98d551=_0x49b994[_0x2e711f(0x33f)],_0x39273e=_0x98d551[_0x2e711f(0x27b)],_0x33002b=_0x98d551[_0x2e711f(0x27b)]=function(_0x1b9405){var _0x237559=_0x2e711f;if(_0x1b9405 instanceof ArrayBuffer&&(_0x1b9405=new Uint8Array(_0x1b9405)),(_0x1b9405 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1b9405 instanceof Uint8ClampedArray||_0x1b9405 instanceof Int16Array||_0x1b9405 instanceof Uint16Array||_0x1b9405 instanceof Int32Array||_0x1b9405 instanceof Uint32Array||_0x1b9405 instanceof Float32Array||_0x1b9405 instanceof Float64Array)&&(_0x1b9405=new Uint8Array(_0x1b9405[_0x237559(0x2d2)],_0x1b9405[_0x237559(0x2a6)],_0x1b9405['byteLength'])),_0x1b9405 instanceof Uint8Array){for(var _0x3e8887=_0x1b9405[_0x237559(0x476)],_0x4bf5fe=[],_0x3d9d8a=0x0;_0x3d9d8a<_0x3e8887;_0x3d9d8a++)_0x4bf5fe[_0x3d9d8a>>>0x2]|=_0x1b9405[_0x3d9d8a]<<0x18-_0x3d9d8a%0x4*0x8;_0x39273e[_0x237559(0x1d5)](this,_0x4bf5fe,_0x3e8887);}else _0x39273e[_0x237559(0x41e)](this,arguments);};_0x33002b[_0x2e711f(0x347)]=_0x98d551;}}()),_0x3ce3f5[_0x2f6cd8(0x2d8)][_0x2f6cd8(0x33f)];}));}(Re)),Re[_0x2e6c30(0x238)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x25fdaf(0x238)],ot;function Xi(){var _0x20a8e4=_0x25fdaf;return ot||(ot=0x1,function(_0x29cda2,_0x57f717){(function(_0x539c65,_0xc85679,_0x20614c){var _0x36b808=_0x305e;_0x29cda2[_0x36b808(0x238)]=_0xc85679(Q(),Ut());}(Ji,function(_0x3e00ce){var _0x4afe6c=_0x305e;return _0x3e00ce[_0x4afe6c(0x30f)][_0x4afe6c(0x2ca)]={'pad':function(){},'unpad':function(){}},_0x3e00ce[_0x4afe6c(0x30f)]['NoPadding'];}));}(Oe)),Oe[_0x20a8e4(0x238)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x5f5493,_0x1cc953){var _0x1cd4e7=_0x25fdaf;const _0x1324c6=_0x1cc953-_0x5f5493[_0x1cd4e7(0x27c)]%_0x1cc953,_0x440812=String[_0x1cd4e7(0x37b)](_0x1324c6)['repeat'](_0x1324c6);return _0x5f5493+_0x440812;}function tn(_0x232d5e,_0x55c29e){var _0x116b20=_0x25fdaf;const _0x16eb44=zi[_0x116b20(0x2a3)](0x10),_0x2cb9e2=en(_0x232d5e,0x10),_0x5aa9b9=ji['encrypt'](Gi[_0x116b20(0x3ed)](_0x2cb9e2),nt[_0x116b20(0x3ed)](_0x55c29e),{'iv':_0x16eb44,'padding':Qi});return _0x16eb44[_0x116b20(0x221)](_0x5aa9b9[_0x116b20(0x469)])['toString'](nt);}function nn(){var _0x29df63=_0x25fdaf;const _0x4c1159=wt[_0x29df63(0x4ba)]()[_0x29df63(0x42d)];if(_0x4c1159){const _0x2e896e={'time':Math['floor'](Date[_0x29df63(0x4ab)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x29df63(0x4eb)](_0x2e896e),_0x4c1159);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x531cc8,_0x4ca9fa,_0xe4dd83,_0x121c48)=>{var _0x515789=_0x25fdaf;for(var _0x2312c0=_0x121c48>0x1?void 0x0:_0x121c48?rn(_0x4ca9fa,_0xe4dd83):_0x4ca9fa,_0x4127d5=_0x531cc8[_0x515789(0x27c)]-0x1,_0x2bd8bd;_0x4127d5>=0x0;_0x4127d5--)(_0x2bd8bd=_0x531cc8[_0x4127d5])&&(_0x2312c0=_0x2bd8bd(_0x2312c0)||_0x2312c0);return _0x2312c0;},on=(_0x16e948,_0x5b0e52)=>(_0x10a9da,_0x4eae00)=>_0x5b0e52(_0x10a9da,_0x4eae00,_0x16e948);let Ne=class{constructor(_0x532135){this['_httpService']=_0x532135,this['_initRequestHeader']();}[_0x25fdaf(0x40c)](){var _0x1498f3=_0x25fdaf;this[_0x1498f3(0x35c)][_0x1498f3(0x2aa)]({'interceptor':(_0x56d853,_0x568c21)=>{var _0x29ad61=_0x1498f3;const _0x4ccba1=_0x56d853['headers'],_0x1e5eb7=nn();return _0x1e5eb7&&_0x4ccba1[_0x29ad61(0x397)]('x-univer-host',_0x1e5eb7),_0x568c21(_0x56d853);}});}};Ne=sn([on(0x0,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)]))],Ne);var an=Object[_0x25fdaf(0x4ca)],cn=(_0x2fc24a,_0x3bf730,_0x27eb51,_0x54274f)=>{for(var _0x583f3b=_0x54274f>0x1?void 0x0:_0x54274f?an(_0x3bf730,_0x27eb51):_0x3bf730,_0x5e1fdd=_0x2fc24a['length']-0x1,_0x2cba5e;_0x5e1fdd>=0x0;_0x5e1fdd--)(_0x2cba5e=_0x2fc24a[_0x5e1fdd])&&(_0x583f3b=_0x2cba5e(_0x583f3b)||_0x583f3b);return _0x583f3b;},we=(_0xde8e3a,_0x281aff)=>(_0x463ec9,_0x151df1)=>_0x281aff(_0x463ec9,_0x151df1,_0xde8e3a);exports[_0x25fdaf(0x2ec)]=class extends a[_0x25fdaf(0x503)]{constructor(_0x37b0dd,_0x57f2c3,_0x3038be){var _0x1e1ff9=_0x25fdaf;super(),A(this,_0x1e1ff9(0x1c5),new $['BehaviorSubject'](null)),A(this,'unitInfo$',this['_unitInfo$'][_0x1e1ff9(0x266)]()),(this['_logService']=_0x37b0dd,this[_0x1e1ff9(0x487)]=_0x57f2c3,this[_0x1e1ff9(0x4db)]=_0x3038be);}async['loadUnitOfRevision'](_0x1cdc76,_0x566534,_0x4d01e0){var _0x3b0040=_0x25fdaf;this['_unitInfo$'][_0x3b0040(0x44d)]({'unitId':_0x1cdc76,'type':_0x566534});let _0x4b9cd2=null;switch(_0x566534){case J['UNIVER_SHEET']:{_0x4b9cd2=await this['_snapshotService']['loadSheet'](_0x1cdc76,_0x4d01e0);break;}case J[_0x3b0040(0x1e0)]:{_0x4b9cd2=await this[_0x3b0040(0x487)]['loadDoc'](_0x1cdc76,_0x4d01e0);break;}default:{this[_0x3b0040(0x207)][_0x3b0040(0x2d3)](_0x3b0040(0x1fb),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4b9cd2;}async['loadUnit'](_0xdf5e06,_0x4aec93,_0x3b06dc){var _0x39409d=_0x25fdaf,_0x2733bd;this['_unitInfo$'][_0x39409d(0x44d)]({'unitId':_0xdf5e06,'type':_0x4aec93,'subUnitId':_0x3b06dc});let _0x22956f=0x0;const _0x548fe1=await((_0x2733bd=this['_localCacheService'])==null?void 0x0:_0x2733bd[_0x39409d(0x42f)](_0xdf5e06));return _0x548fe1&&(_0x548fe1[_0x39409d(0x2d7)]||_0x548fe1['mutations'][_0x39409d(0x27c)]!==0x0)&&(_0x22956f=_0x548fe1['rev']),_0x22956f===0x0&&this[_0x39409d(0x207)][_0x39409d(0x338)](_0x39409d(0x1fb),_0x39409d(0x1fa)),this[_0x39409d(0x2d9)](_0xdf5e06,_0x4aec93,_0x22956f);}},exports[_0x25fdaf(0x2ec)]=cn([we(0x0,a[_0x25fdaf(0x248)]),we(0x1,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2af)])),we(0x2,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x2ec)]);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x387718,_0x34a1f0,_0x6ffc31,_0x5441c3)=>{var _0x40c80e=_0x25fdaf;for(var _0x10b18a=_0x5441c3>0x1?void 0x0:_0x5441c3?hn(_0x34a1f0,_0x6ffc31):_0x34a1f0,_0x20e780=_0x387718[_0x40c80e(0x27c)]-0x1,_0x2763fe;_0x20e780>=0x0;_0x20e780--)(_0x2763fe=_0x387718[_0x20e780])&&(_0x10b18a=_0x2763fe(_0x10b18a)||_0x10b18a);return _0x10b18a;},Le=(_0x36c3e1,_0x17dbf6)=>(_0xecdd93,_0x261708)=>_0x17dbf6(_0xecdd93,_0x261708,_0x36c3e1);const ln=[_0x25fdaf(0x1f7),_0x25fdaf(0x395),'image/jpg',_0x25fdaf(0x4de),_0x25fdaf(0x200)],un=0x5*0x400*0x400,dn=_0x25fdaf(0x250),vn=_0x25fdaf(0x300),Sn=_0x25fdaf(0x4e8),fn='/universer-api/file/{fileID}/sign-url';exports[_0x25fdaf(0x2f1)]=class{constructor(_0x5e3bf1,_0x3dfacc,_0x5bea78){var _0x3f307c=_0x25fdaf;A(this,_0x3f307c(0x4f4),0x0),A(this,_0x3f307c(0x516),new $['Subject']()),A(this,_0x3f307c(0x269),this[_0x3f307c(0x516)]),A(this,_0x3f307c(0x43d),new Map()),(this['_httpService']=_0x5e3bf1,this[_0x3f307c(0x2f0)]=_0x3dfacc,this['_univerInstanceService']=_0x5bea78);}[_0x25fdaf(0x45c)](_0x17c135){var _0x33c7e0=_0x25fdaf;this[_0x33c7e0(0x4f4)]=_0x17c135,this['_change$']['next'](_0x17c135);}[_0x25fdaf(0x3c8)](_0x3b1361,_0x125a6a){var _0x1589f3=_0x25fdaf;if(_0x125a6a===z[_0x1589f3(0x325)][_0x1589f3(0x217)]){const _0xae8c28=new Image();return _0xae8c28['src']=_0x3b1361,_0xae8c28;}return this[_0x1589f3(0x43d)][_0x1589f3(0x4bb)](_0x3b1361);}[_0x25fdaf(0x429)](_0x4ad177,_0x35c1f5,_0x328a7b){var _0x59232f=_0x25fdaf;_0x35c1f5===z[_0x59232f(0x325)][_0x59232f(0x217)]||_0x328a7b==null||this[_0x59232f(0x43d)][_0x59232f(0x397)](_0x4ad177,_0x328a7b);}async[_0x25fdaf(0x373)](_0x5ab2d2){var _0x38caf4=_0x25fdaf;try{const _0x40fa4c=this['_replaceFileID'](this['_getSignURL'](),''+_0x5ab2d2),_0x261f13=(await this[_0x38caf4(0x35c)][_0x38caf4(0x4bb)](_0x40fa4c))['body'];if(_0x261f13['error']&&_0x261f13[_0x38caf4(0x2d3)]['code']===gt['OK']){const _0x315b11=new URL(_0x261f13['url'],this[_0x38caf4(0x1bb)]())[_0x38caf4(0x49a)]();return Promise['resolve'](_0x315b11);}return Promise[_0x38caf4(0x235)](_0x261f13[_0x38caf4(0x2d3)]);}catch(_0x1cf9d5){return Promise['reject'](_0x1cf9d5);}}async[_0x25fdaf(0x203)](_0xa1b08){var _0x2722bd=_0x25fdaf;let _0x123567='';if(!ln['includes'](_0xa1b08[_0x2722bd(0x2fa)]))return this['_decreaseWaiting'](),Promise[_0x2722bd(0x235)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0xa1b08[_0x2722bd(0x25e)]>un)return this[_0x2722bd(0x4a4)](),Promise['reject'](new Error(z[_0x2722bd(0x4a6)]['ERROR_EXCEED_SIZE']));try{const _0x50c124=new FormData();_0x50c124[_0x2722bd(0x4ef)](_0x2722bd(0x50e),_0xa1b08);const _0x3caf87=this[_0x2722bd(0x43b)][_0x2722bd(0x4f9)](),_0xdc7221=_0x3caf87==null?void 0x0:_0x3caf87['getUnitId']();if(!_0xdc7221)throw new Error(_0x2722bd(0x368));const _0x1e6d23=this[_0x2722bd(0x41b)]()+_0x2722bd(0x4b2)+_0xa1b08['size'][_0x2722bd(0x49a)]()+_0x2722bd(0x215)+Et[_0x2722bd(0x3e8)]+_0x2722bd(0x2c2)+encodeURIComponent(_0xdc7221),_0x2c6716={'body':_0x50c124},_0x2b2fa1=(await this[_0x2722bd(0x35c)]['post'](_0x1e6d23,_0x2c6716))[_0x2722bd(0x223)];if(typeof _0x2b2fa1[_0x2722bd(0x47c)]!='string')return this[_0x2722bd(0x4a4)](),Promise[_0x2722bd(0x235)](new Error(z[_0x2722bd(0x4a6)]['ERROR_IMAGE']));_0x123567=_0x2b2fa1['FileId'];}catch{return this[_0x2722bd(0x4a4)](),Promise[_0x2722bd(0x235)](new Error(z[_0x2722bd(0x4a6)]['ERROR_IMAGE']));}return new Promise((_0x453b61,_0x1042e1)=>{var _0x28981b=_0x2722bd;const _0x4444b4=new FileReader();_0x4444b4[_0x28981b(0x1f5)](_0xa1b08),_0x4444b4[_0x28981b(0x1e2)]=_0x1810a5=>{var _0x41e8ef=_0x28981b,_0x85808f;const _0x45cf7f=(_0x85808f=_0x1810a5[_0x41e8ef(0x29b)])==null?void 0x0:_0x85808f['result'];if(_0x45cf7f==null){this['_decreaseWaiting'](),_0x1042e1(new Error(z[_0x41e8ef(0x4a6)][_0x41e8ef(0x313)]));return;}const _0x11768e=a[_0x41e8ef(0x500)][_0x41e8ef(0x3d3)](0x6);_0x453b61({'imageId':_0x11768e,'imageSourceType':z[_0x41e8ef(0x325)][_0x41e8ef(0x234)],'source':_0x123567,'base64Cache':_0x45cf7f,'status':z['ImageUploadStatusType'][_0x41e8ef(0x4df)]}),this[_0x41e8ef(0x4a4)]();};});}[_0x25fdaf(0x41b)](){var _0x380286=_0x25fdaf,_0x542e19,_0x5a8fc1;const _0x522019=this[_0x380286(0x2f0)][_0x380286(0x507)](dn),_0x54b8e7=this[_0x380286(0x2f0)]['getConfig'](K);return(_0x5a8fc1=(_0x542e19=_0x54b8e7==null?void 0x0:_0x54b8e7[_0x380286(0x4cb)])!=null?_0x542e19:_0x522019)!=null?_0x5a8fc1:vn;}[_0x25fdaf(0x284)](){var _0x219340=_0x25fdaf,_0x515298,_0x24ca96;const _0xa077bb=this[_0x219340(0x2f0)][_0x219340(0x507)](Sn),_0x197515=this['_configService'][_0x219340(0x507)](K);return(_0x24ca96=(_0x515298=_0x197515==null?void 0x0:_0x197515[_0x219340(0x2cc)])!=null?_0x515298:_0xa077bb)!=null?_0x24ca96:fn;}['_getDownloadEndpointURL'](){var _0x178b65=_0x25fdaf,_0x45c36e;const _0x34eadb=this[_0x178b65(0x2f0)]['getConfig'](K);return(_0x45c36e=_0x34eadb==null?void 0x0:_0x34eadb[_0x178b65(0x514)])!=null?_0x45c36e:location[_0x178b65(0x3e7)];}[_0x25fdaf(0x262)](_0x6e3e6b,_0x294589){var _0x870ccc=_0x25fdaf;return _0x6e3e6b[_0x870ccc(0x4af)](_0x870ccc(0x51e),_0x294589);}[_0x25fdaf(0x4a4)](){var _0x339801=_0x25fdaf;this[_0x339801(0x4f4)]-=0x1,this[_0x339801(0x516)][_0x339801(0x44d)](this[_0x339801(0x4f4)]);}},exports[_0x25fdaf(0x2f1)]=_n([Le(0x0,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)])),Le(0x1,a[_0x25fdaf(0x2e1)]),Le(0x2,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x379)]))],exports[_0x25fdaf(0x2f1)]);var pn=Object['getOwnPropertyDescriptor'],In=(_0x107b56,_0x39ba9a,_0x8db9a8,_0x5d74b9)=>{var _0x859686=_0x25fdaf;for(var _0x294eea=_0x5d74b9>0x1?void 0x0:_0x5d74b9?pn(_0x39ba9a,_0x8db9a8):_0x39ba9a,_0x57ebaa=_0x107b56[_0x859686(0x27c)]-0x1,_0x3300bf;_0x57ebaa>=0x0;_0x57ebaa--)(_0x3300bf=_0x107b56[_0x57ebaa])&&(_0x294eea=_0x3300bf(_0x294eea)||_0x294eea);return _0x294eea;},at=(_0x32f7de,_0x22cc5b)=>(_0x3ab000,_0x4c56eb)=>_0x22cc5b(_0x3ab000,_0x4c56eb,_0x32f7de);const gn=_0x25fdaf(0x404);exports[_0x25fdaf(0x24c)]=class{constructor(_0x3883c5,_0x45b505){var _0x4af0cd=_0x25fdaf;this[_0x4af0cd(0x2f0)]=_0x3883c5,this[_0x4af0cd(0x21e)]=_0x45b505;}[_0x25fdaf(0x1c4)](){var _0x444da5=_0x25fdaf,_0x5eb45b,_0x489dbb;const _0x14d0f4=this[_0x444da5(0x2f0)][_0x444da5(0x507)](Ve),_0x4cf5c6=this[_0x444da5(0x2f0)][_0x444da5(0x507)](K);return(_0x489dbb=(_0x5eb45b=_0x4cf5c6==null?void 0x0:_0x4cf5c6[_0x444da5(0x4dc)])!=null?_0x5eb45b:_0x14d0f4)!=null?_0x489dbb:gn;}async['list'](_0x166c85){var _0x40fb1a=_0x25fdaf;const _0x21dcaf=this[_0x40fb1a(0x1c4)]()+_0x40fb1a(0x251);return{'list':[{'title':_0x40fb1a(0x522),'mentions':(await this[_0x40fb1a(0x21e)]['get'](_0x21dcaf,{'params':{'objectID':_0x166c85[_0x40fb1a(0x468)],'unitID':_0x166c85[_0x40fb1a(0x468)]}}))[_0x40fb1a(0x223)][_0x40fb1a(0x285)][_0x40fb1a(0x1ba)](_0x5c3d3e=>({'objectId':_0x5c3d3e['id'],'name':_0x5c3d3e['subject']['name'],'metadata':{'icon':_0x5c3d3e['subject'][_0x40fb1a(0x337)]},'label':_0x5c3d3e['subject'][_0x40fb1a(0x280)],'objectType':a[_0x40fb1a(0x1d1)][_0x40fb1a(0x2f3)]})),'metadata':{},'type':a['MentionType'][_0x40fb1a(0x2f3)]}]};}},exports[_0x25fdaf(0x24c)]=In([at(0x0,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x2e1)])),at(0x1,a[_0x25fdaf(0x3a5)](Y['HTTPService']))],exports[_0x25fdaf(0x24c)]);var En=Object[_0x25fdaf(0x4ca)],mn=(_0xb90ae7,_0x22c1a8,_0x17ad63,_0x6052f4)=>{var _0x2db28f=_0x25fdaf;for(var _0x1922a3=_0x6052f4>0x1?void 0x0:_0x6052f4?En(_0x22c1a8,_0x17ad63):_0x22c1a8,_0x129ead=_0xb90ae7[_0x2db28f(0x27c)]-0x1,_0x28b297;_0x129ead>=0x0;_0x129ead--)(_0x28b297=_0xb90ae7[_0x129ead])&&(_0x1922a3=_0x28b297(_0x1922a3)||_0x1922a3);return _0x1922a3;},le=(_0x516b11,_0x58c6b2)=>(_0x1bfd25,_0x49c558)=>_0x58c6b2(_0x1bfd25,_0x49c558,_0x516b11);let Ue=class extends a[_0x25fdaf(0x503)]{constructor(_0x586286,_0x49bff8,_0x1abe78,_0x417e19,_0x249e1b){var _0x395665=_0x25fdaf;super(),this[_0x395665(0x307)]=_0x586286,this['_univerInstanceService']=_0x49bff8,this['_permissionService']=_0x1abe78,this['_collaborationSessionService']=_0x417e19,this['_collaborationUIEventService']=_0x249e1b,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x25fdaf(0x39d)](){var _0x41bb82=_0x25fdaf;const _0x4b2150=async _0x34e5f6=>{var _0x1b3e57=_0x305e;(await this[_0x1b3e57(0x425)][_0x1b3e57(0x341)](_0x34e5f6))[_0x1b3e57(0x4d0)][_0x1b3e57(0x310)](V[_0x1b3e57(0x42a)](_0x1e39d6=>_0x1e39d6[_0x1b3e57(0x353)]===I['CollaborationEvent'][_0x1b3e57(0x4fd)]),V[_0x1b3e57(0x1b1)](this['dispose$']))[_0x1b3e57(0x4dd)](_0x254f75=>{var _0x2d8bba=_0x1b3e57;const _0x4bf650=_0x254f75,{reason:_0x2cbd25}=_0x4bf650[_0x2d8bba(0x1c9)];this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x2d8bba(0x36f)],'data':_0x2cbd25}),this[_0x2d8bba(0x48d)][_0x2d8bba(0x422)](new X[(_0x2d8bba(0x4a7))](_0x34e5f6)['id'],!0x1),this[_0x2d8bba(0x425)][_0x2d8bba(0x1ec)](_0x34e5f6);});};$[_0x41bb82(0x4d1)](this['_univerInstanceService'][_0x41bb82(0x393)](a[_0x41bb82(0x31e)][_0x41bb82(0x3f5)]),this[_0x41bb82(0x43b)][_0x41bb82(0x393)](a[_0x41bb82(0x31e)][_0x41bb82(0x1e0)]))[_0x41bb82(0x310)](V['map'](_0x145799=>_0x145799[_0x41bb82(0x3dc)]()),V[_0x41bb82(0x42a)](_0x5e1e66=>!a['isInternalEditorID'](_0x5e1e66)),V[_0x41bb82(0x1b1)](this[_0x41bb82(0x3e6)]))[_0x41bb82(0x4dd)](_0x3c6d93=>{_0x4b2150(_0x3c6d93);});}[_0x25fdaf(0x513)](){var _0x90f9d8=_0x25fdaf;const _0x230ed3=async _0x53f840=>{var _0x51029b=_0x305e;const _0x5752f4=await this[_0x51029b(0x425)]['requireSession'](_0x53f840),_0x1d57f0=this[_0x51029b(0x307)]['get'](X['SheetPermissionInitController']);_0x5752f4['event$']['pipe'](V[_0x51029b(0x42a)](_0x39753b=>_0x39753b[_0x51029b(0x353)]===I[_0x51029b(0x1e4)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this[_0x51029b(0x3e6)]))[_0x51029b(0x4dd)](_0x503ddf=>{var _0x42c4b5=_0x51029b;const _0x15b20d=_0x503ddf,{objectId:_0x30d8a0}=_0x15b20d[_0x42c4b5(0x1c9)];_0x30d8a0===_0x53f840?_0x1d57f0[_0x42c4b5(0x1dd)](_0x53f840):_0x1d57f0[_0x42c4b5(0x3d4)](_0x53f840,_0x30d8a0);});};$[_0x90f9d8(0x4d1)](this[_0x90f9d8(0x43b)][_0x90f9d8(0x393)](a[_0x90f9d8(0x31e)]['UNIVER_SHEET']))[_0x90f9d8(0x310)](V[_0x90f9d8(0x1ba)](_0x252e11=>_0x252e11[_0x90f9d8(0x3dc)]()),V[_0x90f9d8(0x42a)](_0x486038=>!a[_0x90f9d8(0x434)](_0x486038)),V[_0x90f9d8(0x1b1)](this[_0x90f9d8(0x3e6)]))[_0x90f9d8(0x4dd)](_0x49d40b=>{_0x230ed3(_0x49d40b);});}};Ue=mn([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x25fdaf(0x379)]),le(0x2,a[_0x25fdaf(0x1cc)]),le(0x3,a[_0x25fdaf(0x3a5)](exports['CollaborationSessionService'])),le(0x4,a[_0x25fdaf(0x3a5)](ee))],Ue);var Cn=Object[_0x25fdaf(0x4ca)],Tn=(_0xa9851d,_0x92b0e0,_0x2ad727,_0x42d6d1)=>{for(var _0x4cacfe=_0x42d6d1>0x1?void 0x0:_0x42d6d1?Cn(_0x92b0e0,_0x2ad727):_0x92b0e0,_0x429ace=_0xa9851d['length']-0x1,_0x5e3d43;_0x429ace>=0x0;_0x429ace--)(_0x5e3d43=_0xa9851d[_0x429ace])&&(_0x4cacfe=_0x5e3d43(_0x4cacfe)||_0x4cacfe);return _0x4cacfe;},ct=(_0x1b34c2,_0x5cb3c1)=>(_0x3e62d1,_0x2c7e30)=>_0x5cb3c1(_0x3e62d1,_0x2c7e30,_0x1b34c2);exports['SnapshotServerOverHTTPService']=class{constructor(_0x5a8f44,_0x19719e){var _0x2ee4a8=_0x25fdaf;this['_configService']=_0x5a8f44,this[_0x2ee4a8(0x35c)]=_0x19719e;}async['getUnitOnRev'](_0x5e498,_0x20fc1e){var _0x11d9ca=_0x25fdaf,_0x2ae3ac;const {unitID:_0x14bb70,type:_0xe0792d,revision:_0x5f4702=0x0}=_0x20fc1e,_0x51dbb3=this[_0x11d9ca(0x1eb)]()+'/'+_0xe0792d+'/unit/'+_0x14bb70+_0x11d9ca(0x226)+_0x5f4702,_0x58d073=(await this[_0x11d9ca(0x35c)][_0x11d9ca(0x4bb)](_0x51dbb3))['body'],_0x492f4f=(_0x2ae3ac=_0x58d073['snapshot'])==null?void 0x0:_0x2ae3ac[_0x11d9ca(0x319)];if(_0x492f4f){const _0x59cb88=_0x492f4f==null?void 0x0:_0x492f4f[_0x11d9ca(0x3d7)],_0x5ad76f=I[_0x11d9ca(0x4bf)][_0x11d9ca(0x41d)](I['b64DecodeUnicode'](_0x59cb88));_0x492f4f[_0x11d9ca(0x3d7)]=_0x5ad76f,Object[_0x11d9ca(0x230)](_0x492f4f[_0x11d9ca(0x40a)])['forEach'](([,_0x267fbc])=>{var _0x5565ff=_0x11d9ca;const _0x1a5944=_0x267fbc[_0x5565ff(0x3d7)],_0x3c48d6=I[_0x5565ff(0x4bf)][_0x5565ff(0x41d)](I['b64DecodeUnicode'](_0x1a5944));_0x267fbc[_0x5565ff(0x3d7)]=_0x3c48d6;});}return _0x58d073;}async[_0x25fdaf(0x290)](_0x438ce1,_0x57ed97){var _0x5d8503=_0x25fdaf;const {unitID:_0x2e6a90,type:_0xc45a1f,blockID:_0x56cbbd}=_0x57ed97,_0x42c6b2=this['_getAPIPrefix']()+'/'+_0xc45a1f+_0x5d8503(0x3ba)+_0x2e6a90+'/block/'+_0x56cbbd;return(await this['_httpService']['get'](_0x42c6b2))[_0x5d8503(0x223)];}async[_0x25fdaf(0x33c)](_0x2726a4,_0xb4a2c8){var _0x20e80d=_0x25fdaf;const {unitID:_0x38cab8,type:_0x4a345e,blockID:_0x1e7997}=_0xb4a2c8,_0x12c9e5=this[_0x20e80d(0x351)]()+_0x20e80d(0x354)+_0x4a345e+_0x20e80d(0x3ba)+_0x38cab8+'/block/'+_0x1e7997;return(await this[_0x20e80d(0x35c)][_0x20e80d(0x4bb)](_0x12c9e5))[_0x20e80d(0x223)];}async[_0x25fdaf(0x455)](_0x2b6750,_0x560f97){var _0x59832f=_0x25fdaf;const {unitID:_0xc4d604,type:_0x51cb41,from:_0x1f05f0,to:_0x35f381}=_0x560f97,_0x2664dd=this[_0x59832f(0x351)]()+'/'+_0x51cb41+_0x59832f(0x3ba)+_0xc4d604+_0x59832f(0x216)+_0x1f05f0+_0x59832f(0x519)+_0x35f381;return(await this[_0x59832f(0x35c)][_0x59832f(0x4bb)](_0x2664dd))['body'];}[_0x25fdaf(0x1eb)](){var _0x586f59=_0x25fdaf,_0x3b00e5;return(_0x3b00e5=this['_configService']['getConfig'](lt))!=null?_0x3b00e5:this[_0x586f59(0x351)]();}['_getAPIPrefix'](){var _0x148d08=_0x25fdaf,_0x54fdcc,_0x40c78b;const _0x50caba=this[_0x148d08(0x2f0)]['getConfig'](_t),_0x20e909=this[_0x148d08(0x2f0)][_0x148d08(0x507)](K);return(_0x40c78b=(_0x54fdcc=_0x20e909==null?void 0x0:_0x20e909['snapshotServerUrl'])!=null?_0x54fdcc:_0x50caba)!=null?_0x40c78b:Lt;}async[_0x25fdaf(0x34b)](_0x34e1c8,_0x1b4713){var _0x56c281=_0x25fdaf;const _0x1d7781='/universer-api/snapshot/'+_0x1b4713['type']+_0x56c281(0x3ba)+_0x1b4713[_0x56c281(0x2fd)]+_0x56c281(0x210);return(await this[_0x56c281(0x35c)][_0x56c281(0x4bb)](_0x1d7781,{'params':{'resourceId':JSON[_0x56c281(0x4eb)](_0x1b4713[_0x56c281(0x24e)])}}))[_0x56c281(0x223)];}[_0x25fdaf(0x330)](){var _0x920ca8=_0x25fdaf;throw new Error(_0x920ca8(0x446));}[_0x25fdaf(0x4b7)](){var _0x5bc8a7=_0x25fdaf;throw new Error(_0x5bc8a7(0x446));}['saveSheetBlock'](){var _0x2434df=_0x25fdaf;throw new Error(_0x2434df(0x446));}['saveChangeset'](){var _0x26c357=_0x25fdaf;throw new Error(_0x26c357(0x446));}[_0x25fdaf(0x247)](){var _0x2786a0=_0x25fdaf;throw new Error(_0x2786a0(0x446));}[_0x25fdaf(0x29a)](){var _0x54ccdb=_0x25fdaf;throw new Error(_0x54ccdb(0x446));}},exports[_0x25fdaf(0x253)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)]))],exports[_0x25fdaf(0x253)]);var bn=Object[_0x25fdaf(0x4ca)],Rn=(_0x349dea,_0x369422,_0x586927,_0x52988f)=>{for(var _0x37c432=_0x52988f>0x1?void 0x0:_0x52988f?bn(_0x369422,_0x586927):_0x369422,_0x478dcf=_0x349dea['length']-0x1,_0x2654eb;_0x478dcf>=0x0;_0x478dcf--)(_0x2654eb=_0x349dea[_0x478dcf])&&(_0x37c432=_0x2654eb(_0x37c432)||_0x37c432);return _0x37c432;},ue=(_0xe87c2c,_0x2d90f6)=>(_0x292df5,_0x5ab3cd)=>_0x2d90f6(_0x292df5,_0x5ab3cd,_0xe87c2c);exports[_0x25fdaf(0x2d6)]=class extends a[_0x25fdaf(0x4b0)]{constructor(_0x534310,_0x4bc13b,_0x3d3012,_0x4b727f,_0x59c3ce){super(_0x534310,_0x4bc13b,_0x3d3012),this['_transformService']=_0x4b727f,this['_logService']=_0x59c3ce;}[_0x25fdaf(0x415)](_0x30b6f2,_0x52ffef){var _0x432729=_0x25fdaf;const _0x2314e8=this['_getUndoStack'](_0x30b6f2);if(_0x2314e8)try{const _0x408122=this['_transformStack'](_0x2314e8,_0x52ffef);this[_0x432729(0x28b)](_0x30b6f2,_0x408122);}catch(_0x1b17e2){this[_0x432729(0x207)][_0x432729(0x2d3)]('[CollaborationUndoRedoService]',_0x1b17e2),this[_0x432729(0x1cf)](_0x30b6f2);}const _0xa2e565=this['_getRedoStack'](_0x30b6f2);if(_0xa2e565)try{const _0x39f930=this[_0x432729(0x35e)](_0xa2e565,_0x52ffef);this[_0x432729(0x30c)](_0x30b6f2,_0x39f930);}catch(_0x55f69a){this[_0x432729(0x207)][_0x432729(0x2d3)](_0x55f69a),this[_0x432729(0x4a8)](_0x30b6f2);}}['_clearUndo'](_0x1ff180){var _0x9abfa5=_0x25fdaf;const _0x4bf7d8=this[_0x9abfa5(0x241)](_0x1ff180);_0x4bf7d8&&(_0x4bf7d8['length']=0x0,this[_0x9abfa5(0x31d)]());}[_0x25fdaf(0x4a8)](_0x3db218){var _0x151fc9=_0x25fdaf;const _0x31471e=this[_0x151fc9(0x2cf)](_0x3db218);_0x31471e&&(_0x31471e[_0x151fc9(0x27c)]=0x0,this[_0x151fc9(0x31d)]());}[_0x25fdaf(0x28b)](_0x258e79,_0x14b6f3){var _0x3671fc=_0x25fdaf;this[_0x3671fc(0x3e0)]['set'](_0x258e79,_0x14b6f3),this[_0x3671fc(0x31d)]();}[_0x25fdaf(0x30c)](_0x92664a,_0x551f5c){var _0x27f649=_0x25fdaf;this[_0x27f649(0x4c9)][_0x27f649(0x397)](_0x92664a,_0x551f5c),this[_0x27f649(0x31d)]();}[_0x25fdaf(0x35e)](_0x4a6658,_0x18005a){var _0x4717b5=_0x25fdaf;const _0x204dc4=[];let _0x118e22=_0x18005a,_0x32d999=_0x18005a;for(let _0x56fd18=_0x4a6658[_0x4717b5(0x27c)]-0x1;_0x56fd18>=0x0;_0x56fd18--){const {unitID:_0x2f8522,undoMutations:_0x30e539,redoMutations:_0x40d379}=_0x4a6658[_0x56fd18],_0x293110=this[_0x4717b5(0x4cd)][_0x4717b5(0x2eb)](_0x118e22,_0x30e539),_0x6c3ae4=this[_0x4717b5(0x4cd)][_0x4717b5(0x2eb)](_0x32d999,_0x40d379);if(I[_0x4717b5(0x1e5)](_0x293110)||I['isTransformMutationsWithChangesetFailure'](_0x6c3ae4)){this['_logService'][_0x4717b5(0x2d3)](_0x4717b5(0x4ad),'transformStack\x20failed!',_0x293110,_0x6c3ae4);break;}_0x118e22=_0x293110[_0x4717b5(0x321)],_0x32d999=_0x6c3ae4[_0x4717b5(0x321)],_0x204dc4[_0x4717b5(0x46e)]({'unitID':_0x2f8522,'undoMutations':_0x293110['m2Prime'],'redoMutations':_0x6c3ae4[_0x4717b5(0x470)]});}return _0x204dc4[_0x4717b5(0x4c5)]();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a[_0x25fdaf(0x379)]),ue(0x1,a[_0x25fdaf(0x464)]),ue(0x2,a[_0x25fdaf(0x3b0)]),ue(0x3,I[_0x25fdaf(0x4f2)]),ue(0x4,a[_0x25fdaf(0x248)])],exports[_0x25fdaf(0x2d6)]);var On=Object['defineProperty'],yn=Object[_0x25fdaf(0x4ca)],Nn=(_0xbbb0c7,_0x307d8a,_0x1541ec)=>_0x307d8a in _0xbbb0c7?On(_0xbbb0c7,_0x307d8a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1541ec}):_0xbbb0c7[_0x307d8a]=_0x1541ec,Un=(_0x54f22e,_0x1b67a5,_0x4b1c59,_0x1cf6f9)=>{var _0x369a2b=_0x25fdaf;for(var _0x5bcdcf=_0x1cf6f9>0x1?void 0x0:_0x1cf6f9?yn(_0x1b67a5,_0x4b1c59):_0x1b67a5,_0x47b0e1=_0x54f22e[_0x369a2b(0x27c)]-0x1,_0x45fae7;_0x47b0e1>=0x0;_0x47b0e1--)(_0x45fae7=_0x54f22e[_0x47b0e1])&&(_0x5bcdcf=_0x45fae7(_0x5bcdcf)||_0x5bcdcf);return _0x5bcdcf;},Me=(_0x3a5a68,_0x3ca90d)=>(_0x573a26,_0x16d9a4)=>_0x3ca90d(_0x573a26,_0x16d9a4,_0x3a5a68),Dn=(_0x5f1377,_0x2c1520,_0x5d1927)=>Nn(_0x5f1377,_0x2c1520+'',_0x5d1927);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x25fdaf(0x1c0)]=class extends a['Plugin']{constructor(_0xbcbcd,_0x4b8a79,_0x22306a,_0x17b057){var _0x6bebbd=_0x25fdaf;super(),A(this,_0x6bebbd(0x2e7)),(this[_0x6bebbd(0x207)]=_0x4b8a79,this['_injector']=_0x22306a,this['_configService']=_0x17b057);const {..._0x1603f7}=a[_0x6bebbd(0x4d1)]({},Yt,_0xbcbcd);if(!_0x1603f7[_0x6bebbd(0x37c)])throw new Error(_0x6bebbd(0x357));this[_0x6bebbd(0x2e7)]=_0x1603f7,this['_configService'][_0x6bebbd(0x3b1)](K,_0x1603f7);}[_0x25fdaf(0x4f1)](){var _0x4aa49e=_0x25fdaf;this[_0x4aa49e(0x311)](),this[_0x4aa49e(0x3c0)]();}[_0x25fdaf(0x311)](){var _0x4d5c25=_0x25fdaf,_0x23b941,_0x54faa6;this[_0x4d5c25(0x307)][_0x4d5c25(0x3bc)](a[_0x4d5c25(0x524)])&&this[_0x4d5c25(0x207)][_0x4d5c25(0x2d3)](_0x4d5c25(0x1ef),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x55ce82=a['mergeOverrideWithDependencies']([[a[_0x4d5c25(0x524)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x4d5c25(0x3fc)]],[ye],[Ne],[$e],[Ue],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x4d5c25(0x2e7)][_0x4d5c25(0x37c)]}],[I[_0x4d5c25(0x378)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x4d5c25(0x363)],{'useClass':exports[_0x4d5c25(0x4d6)]}],[z[_0x4d5c25(0x242)],{'useClass':exports[_0x4d5c25(0x2f1)]}],[a[_0x4d5c25(0x2ea)],{'useClass':exports[_0x4d5c25(0x24c)]}],[exports[_0x4d5c25(0x2ce)]],[xe]],(_0x23b941=this[_0x4d5c25(0x2e7)])==null?void 0x0:_0x23b941[_0x4d5c25(0x1d7)]);if(!((_0x54faa6=this[_0x4d5c25(0x2e7)])!=null&&_0x54faa6['enableSingleActiveInstanceLock'])){const _0x4b1196=_0x55ce82[_0x4d5c25(0x2a9)](([_0x4aa15e])=>_0x4aa15e===de);_0x4b1196!==-0x1&&_0x55ce82[_0x4d5c25(0x467)](_0x4b1196,0x1);}a[_0x4d5c25(0x4d5)](this[_0x4d5c25(0x307)],_0x55ce82);}[_0x25fdaf(0x3c0)](){var _0x2da76d=_0x25fdaf,_0x1b7485,_0x1320a5,_0x7f7f30;this[_0x2da76d(0x307)][_0x2da76d(0x4bb)](Y[_0x2da76d(0x3b9)])[_0x2da76d(0x2aa)]({'priority':0x14,'interceptor':Y[_0x2da76d(0x1c6)]({'maxParallel':0x6})}),(_0x1b7485=this[_0x2da76d(0x2e7)])!=null&&_0x1b7485[_0x2da76d(0x447)]||(_0x1320a5=this[_0x2da76d(0x307)][_0x2da76d(0x4bb)](q,a[_0x2da76d(0x204)][_0x2da76d(0x506)]))==null||_0x1320a5[_0x2da76d(0x498)](),(_0x7f7f30=this['_config'])!=null&&_0x7f7f30[_0x2da76d(0x3d6)]&&a[_0x2da76d(0x408)](this[_0x2da76d(0x307)],[[ye]]),a[_0x2da76d(0x408)](this['_injector'],[[Ne],[exports['CollaborationController']],[Ue]]);}},Dn(exports[_0x25fdaf(0x1c0)],'pluginName',An),exports[_0x25fdaf(0x1c0)]=Un([a[_0x25fdaf(0x47a)](I[_0x25fdaf(0x50d)],Y[_0x25fdaf(0x2ac)]),Me(0x1,a[_0x25fdaf(0x248)]),Me(0x2,a[_0x25fdaf(0x3a5)](a['Injector'])),Me(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x25fdaf(0x305)]=Ve,exports[_0x25fdaf(0x4ec)]=K,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=pt,exports['COLLAB_WEB_SOCKET_URL_KEY']=ut,exports[_0x25fdaf(0x1b5)]=Be,exports['CollaborationUIEventId']=Z,exports['CollaborationUIEventService']=ee,exports[_0x25fdaf(0x4ee)]=$e,exports[_0x25fdaf(0x463)]=dt,exports[_0x25fdaf(0x1ea)]=Kt,exports[_0x25fdaf(0x219)]=kt,exports[_0x25fdaf(0x1f4)]=vt,exports[_0x25fdaf(0x359)]=ke,exports['ICollaborationSocketService']=He,exports[_0x25fdaf(0x461)]=q,exports[_0x25fdaf(0x3c7)]=mt,exports[_0x25fdaf(0x254)]=de,exports[_0x25fdaf(0x30a)]=Ft,exports[_0x25fdaf(0x205)]=Bt,exports['LOGIN_URL_KEY']=It,exports[_0x25fdaf(0x511)]=Gt,exports[_0x25fdaf(0x3d1)]=ft,exports[_0x25fdaf(0x473)]=Mt,exports[_0x25fdaf(0x26d)]=_t,exports['SNAPSHOT_URL_KEY']=lt,exports['SessionStatus']=re,exports[_0x25fdaf(0x336)]=je,exports['deserializeToCombResponse']=Ct,exports[_0x25fdaf(0x1de)]=oi,exports[_0x25fdaf(0x275)]=Tt;
|