@univerjs-pro/collaboration-client 0.6.7-experimental.20250329-cad06f3 → 0.6.7-experimental.20250330-62d4d34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0xfb6c54=_0x430f;(function(_0x5e97ef,_0x41d79b){var _0x5b370f=_0x430f,_0x2be6e9=_0x5e97ef();while(!![]){try{var _0xe320bc=-parseInt(_0x5b370f(0x2ec))/0x1*(-parseInt(_0x5b370f(0x432))/0x2)+parseInt(_0x5b370f(0x2ed))/0x3+-parseInt(_0x5b370f(0x341))/0x4*(-parseInt(_0x5b370f(0x216))/0x5)+-parseInt(_0x5b370f(0x3f0))/0x6+-parseInt(_0x5b370f(0x227))/0x7+-parseInt(_0x5b370f(0x4a1))/0x8*(parseInt(_0x5b370f(0x324))/0x9)+parseInt(_0x5b370f(0x237))/0xa*(-parseInt(_0x5b370f(0x3d2))/0xb);if(_0xe320bc===_0x41d79b)break;else _0x2be6e9['push'](_0x2be6e9['shift']());}catch(_0xe27ed6){_0x2be6e9['push'](_0x2be6e9['shift']());}}}(_0x2464,0x6cdd5));var wt=Object[_0xfb6c54(0x458)],Lt=(_0x31e9c9,_0x1fb85a,_0x1b3fa9)=>_0x1fb85a in _0x31e9c9?wt(_0x31e9c9,_0x1fb85a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b3fa9}):_0x31e9c9[_0x1fb85a]=_0x1b3fa9,A=(_0x32f63e,_0x2588c4,_0x2306a4)=>Lt(_0x32f63e,typeof _0x2588c4!='symbol'?_0x2588c4+'':_0x2588c4,_0x2306a4);Object[_0xfb6c54(0x458)](exports,Symbol['toStringTag'],{'value':_0xfb6c54(0x3c6)});const a=require(_0xfb6c54(0x1eb)),j=require(_0xfb6c54(0x282)),V=require(_0xfb6c54(0x158)),g=require(_0xfb6c54(0x3bd)),q=require(_0xfb6c54(0x3b3)),Mt=require('@univerjs/telemetry'),ut=require(_0xfb6c54(0x295)),Z=require('@univerjs/sheets'),J=require(_0xfb6c54(0x455)),xt=require(_0xfb6c54(0x15c)),dt='SNAPSHOT_SERVER_URL_KEY',kt=_0xfb6c54(0x29b),vt=_0xfb6c54(0x2bf),Ht=_0xfb6c54(0x32e),jt=0x7d0,St='COLLAB_WEB_SOCKET_URL',ft=_0xfb6c54(0x486),$t=_0xfb6c54(0x18f),pt=_0xfb6c54(0x28c),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt=_0xfb6c54(0x221),Vt=0x3,Wt=_0xfb6c54(0x2de),Gt=0x3e8,It=_0xfb6c54(0x3da),Kt=_0xfb6c54(0x1e6),Et=_0xfb6c54(0x29d),Yt=_0xfb6c54(0x473),qt=_0xfb6c54(0x267),zt='/universer-api/uniscript';var Ct=(_0x4b2b5c=>(_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x1a3)]=0x0]=_0xfb6c54(0x1a3),_0x4b2b5c[_0x4b2b5c['OK']=0x1]='OK',_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x4d6)]=0x2]=_0xfb6c54(0x4d6),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x19b)]=0x3]=_0xfb6c54(0x19b),_0x4b2b5c[_0x4b2b5c['NOT_FOUND']=0x4]=_0xfb6c54(0x298),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x48e)]=0x5]=_0xfb6c54(0x48e),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x405)]=0x6]=_0xfb6c54(0x405),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x430)]=0x7]=_0xfb6c54(0x430),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x43f)]=0x8]=_0xfb6c54(0x43f),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x488)]=0x9]='COMPLETION_FINISHED',_0x4b2b5c[_0x4b2b5c['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x4b2b5c[_0x4b2b5c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xfb6c54(0x1a7),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x2d1)]=0x1771]=_0xfb6c54(0x2d1),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x297)]=0x1772]=_0xfb6c54(0x297),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x39d)]=0x1773]=_0xfb6c54(0x39d),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x1e1)]=0x1b59]=_0xfb6c54(0x1e1),_0x4b2b5c[_0x4b2b5c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x4c9)]=0x1b5b]=_0xfb6c54(0x4c9),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x344)]=0x1b5c]=_0xfb6c54(0x344),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x4c2)]=0x1b5d]='APPLY_DUPLICATED',_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x42e)]=0x1f41]=_0xfb6c54(0x42e),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x336)]=0x2329]=_0xfb6c54(0x336),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x1ab)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x253)]=0x232b]=_0xfb6c54(0x253),_0x4b2b5c[_0x4b2b5c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xfb6c54(0x1f9),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x1cf)]=0x232d]=_0xfb6c54(0x1cf),_0x4b2b5c[_0x4b2b5c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xfb6c54(0x22d),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x31b)]=0x2712]=_0xfb6c54(0x31b),_0x4b2b5c[_0x4b2b5c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x2df)]=0x2714]=_0xfb6c54(0x2df),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x3ac)]=0x2af9]=_0xfb6c54(0x3ac),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x1db)]=0x2ee1]=_0xfb6c54(0x1db),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x471)]=0x2ee2]=_0xfb6c54(0x471),_0x4b2b5c[_0x4b2b5c['INVITE_CODE_REQUIRED']=0x2ee3]=_0xfb6c54(0x3dc),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x31f)]=0x2ee4]=_0xfb6c54(0x31f),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x1b1)]=0x2ee5]=_0xfb6c54(0x1b1),_0x4b2b5c[_0x4b2b5c[_0xfb6c54(0x4c0)]=-0x1]=_0xfb6c54(0x4c0),_0x4b2b5c))(Ct||{}),X=(_0x2d4bcc=>(_0x2d4bcc[_0x2d4bcc['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x2d4bcc[_0x2d4bcc['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x2d4bcc[_0x2d4bcc[_0xfb6c54(0x45b)]=0x2]=_0xfb6c54(0x45b),_0x2d4bcc[_0x2d4bcc[_0xfb6c54(0x2fb)]=0x3]=_0xfb6c54(0x2fb),_0x2d4bcc[_0x2d4bcc[_0xfb6c54(0x390)]=0x4]=_0xfb6c54(0x390),_0x2d4bcc[_0x2d4bcc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2d4bcc))(X||{}),W=(_0x499dcb=>(_0x499dcb[_0x499dcb[_0xfb6c54(0x28f)]=0x0]='UNKNOWN_CMD',_0x499dcb[_0x499dcb['HELLO']=0x1]=_0xfb6c54(0x1d2),_0x499dcb[_0x499dcb[_0xfb6c54(0x435)]=0x2]=_0xfb6c54(0x435),_0x499dcb[_0x499dcb[_0xfb6c54(0x3aa)]=0x3]=_0xfb6c54(0x3aa),_0x499dcb[_0x499dcb[_0xfb6c54(0x246)]=0x4]='INGEST',_0x499dcb[_0x499dcb['HEARTBEAT']=0x5]=_0xfb6c54(0x3ad),_0x499dcb[_0x499dcb[_0xfb6c54(0x4b9)]=0x6]=_0xfb6c54(0x4b9),_0x499dcb[_0x499dcb[_0xfb6c54(0x4c0)]=-0x1]=_0xfb6c54(0x4c0),_0x499dcb))(W||{}),ae=(_0x555065=>(_0x555065[_0x555065[_0xfb6c54(0x3c9)]=0x0]='UNKNOWN_CODE',_0x555065[_0x555065['OK']=0x1]='OK',_0x555065[_0x555065[_0xfb6c54(0x261)]=0x2]=_0xfb6c54(0x261),_0x555065[_0x555065[_0xfb6c54(0x1b5)]=0x3e9]=_0xfb6c54(0x1b5),_0x555065[_0x555065[_0xfb6c54(0x4aa)]=0x3ea]=_0xfb6c54(0x4aa),_0x555065[_0x555065[_0xfb6c54(0x255)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x555065[_0x555065[_0xfb6c54(0x2f0)]=0x3ec]=_0xfb6c54(0x2f0),_0x555065[_0x555065['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x555065))(ae||{}),Tt=(_0x2de126=>(_0x2de126[_0x2de126['Undefined']=0x0]=_0xfb6c54(0x333),_0x2de126[_0x2de126[_0xfb6c54(0x3ff)]=0x1]=_0xfb6c54(0x3ff),_0x2de126[_0x2de126[_0xfb6c54(0x4b8)]=0x2]=_0xfb6c54(0x4b8),_0x2de126[_0x2de126[_0xfb6c54(0x426)]=0x3]=_0xfb6c54(0x426),_0x2de126[_0x2de126['UnitSnapshot']=0x4]='UnitSnapshot',_0x2de126[_0x2de126[_0xfb6c54(0x4c0)]=-0x1]=_0xfb6c54(0x4c0),_0x2de126))(Tt||{});const Y=_0xfb6c54(0x2ce),Jt={};var Q=(_0x92cba6=>(_0x92cba6[_0xfb6c54(0x2a5)]=_0xfb6c54(0x2a5),_0x92cba6[_0xfb6c54(0x19b)]=_0xfb6c54(0x19b),_0x92cba6[_0xfb6c54(0x186)]=_0xfb6c54(0x186),_0x92cba6[_0xfb6c54(0x167)]=_0xfb6c54(0x167),_0x92cba6[_0xfb6c54(0x1b3)]=_0xfb6c54(0x1b3),_0x92cba6['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x92cba6[_0xfb6c54(0x2cb)]=_0xfb6c54(0x2cb),_0x92cba6[_0xfb6c54(0x3d9)]=_0xfb6c54(0x3d9),_0x92cba6))(Q||{});class te{constructor(){var _0x2e215d=_0xfb6c54;A(this,_0x2e215d(0x213),new j[(_0x2e215d(0x3e2))]()),A(this,_0x2e215d(0x24c),this[_0x2e215d(0x213)][_0x2e215d(0x380)]());}[_0xfb6c54(0x1f1)](_0x4b20ea){var _0x30ce1b=_0xfb6c54;this[_0x30ce1b(0x213)][_0x30ce1b(0x320)](_0x4b20ea);}}const bt=a[_0xfb6c54(0x490)](_0xfb6c54(0x370));function Rt(_0x5f4ca7){var _0x508584=_0xfb6c54,_0x5ce322,_0x497ebd,_0xe4b29b,_0x25e8e3,_0x4f1f38;const _0x556468=_0x5f4ca7[_0x508584(0x1b0)],_0x19f50a=JSON[_0x508584(0x16c)](_0x556468);switch(_0x19f50a[_0x508584(0x4ca)]){case W[_0x508584(0x3ad)]:case W[_0x508584(0x1d2)]:{const _0x2454a4=_0x19f50a['infoRsp'];return{..._0x19f50a,'data':_0x2454a4,'cmd':_0x19f50a[_0x508584(0x4ca)]};}case W[_0x508584(0x435)]:{const _0x2af51a=_0x19f50a[_0x508584(0x197)];return{..._0x19f50a,'data':_0x2af51a,'cmd':_0x19f50a[_0x508584(0x4ca)]};}case W[_0x508584(0x4b9)]:{const _0x432f56=_0x19f50a[_0x508584(0x433)];switch(_0x432f56[_0x508584(0x280)]){case g['CollaborationEvent'][_0x508584(0x230)]:return{..._0x19f50a,'data':{..._0x432f56,'data':(_0x5ce322=_0x432f56['permissionRejEvent'])==null?void 0x0:_0x5ce322['cs']},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g[_0x508584(0x20e)]['CHANGESET_ACK']:return{..._0x19f50a,'data':{..._0x432f56,'data':(_0x497ebd=_0x432f56[_0x508584(0x342)])==null?void 0x0:_0x497ebd['cs']},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g[_0x508584(0x20e)][_0x508584(0x334)]:return{..._0x19f50a,'data':{..._0x432f56,'data':(_0xe4b29b=_0x432f56[_0x508584(0x254)])==null?void 0x0:_0xe4b29b['cs']},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g[_0x508584(0x20e)]['CHANGESET_REJ']:return{..._0x19f50a,'data':{..._0x432f56,'data':(_0x25e8e3=_0x432f56['csRejEvent'])==null?void 0x0:_0x25e8e3['cs']},'cmd':_0x19f50a['cmd']};case g[_0x508584(0x20e)][_0x508584(0x248)]:return{..._0x19f50a,'data':{..._0x432f56,'data':(_0x4f1f38=_0x432f56['csShouldRetryEvent'])==null?void 0x0:_0x4f1f38['cs']},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g[_0x508584(0x20e)][_0x508584(0x327)]:return{..._0x19f50a,'data':{..._0x432f56,'data':_0x432f56[_0x508584(0x206)]},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g[_0x508584(0x20e)][_0x508584(0x498)]:return{..._0x19f50a,'data':{..._0x432f56,'data':_0x432f56[_0x508584(0x223)]},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g['CollaborationEvent']['USERS_LEAVE']:return{..._0x19f50a,'data':{..._0x432f56,'data':_0x432f56[_0x508584(0x4a4)]},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x19f50a,'data':{..._0x432f56,'data':_0x432f56['liveShareNewHost']},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g[_0x508584(0x20e)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x508584(0x20e)][_0x508584(0x182)]:return{..._0x19f50a,'data':{..._0x432f56,'data':_0x432f56[_0x508584(0x277)]},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g[_0x508584(0x20e)][_0x508584(0x33d)]:return{..._0x19f50a,'data':{..._0x432f56,'data':_0x432f56[_0x508584(0x367)]},'cmd':_0x19f50a['cmd']};case g[_0x508584(0x20e)]['MSG_FOR_ERROR']:return{..._0x19f50a,'data':_0x432f56,'cmd':_0x19f50a[_0x508584(0x4ca)]};case g[_0x508584(0x20e)]['COMMENT_UPDATE']:return{..._0x19f50a,'data':{..._0x432f56,'data':_0x432f56['commentUpdateEvent']},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g[_0x508584(0x20e)][_0x508584(0x21a)]:return{..._0x19f50a,'data':{..._0x432f56,'data':_0x432f56[_0x508584(0x3ce)]},'cmd':_0x19f50a['cmd']};case g[_0x508584(0x20e)][_0x508584(0x4d0)]:return{..._0x19f50a,'data':{..._0x432f56,'data':_0x432f56['shouldCloseConn']},'cmd':_0x19f50a[_0x508584(0x4ca)]};case g[_0x508584(0x20e)][_0x508584(0x1e0)]:return{..._0x19f50a,'data':{..._0x432f56,'data':_0x432f56['uniscriptRunEvent']},'cmd':_0x19f50a[_0x508584(0x4ca)]};default:return _0x19f50a;}}default:return _0x19f50a;}}function yt(_0x4dc726){var _0x32139d=_0xfb6c54;switch(_0x4dc726[_0x32139d(0x4ca)]){case W['HEARTBEAT']:case W[_0x32139d(0x1d2)]:return JSON['stringify']({'cmd':_0x4dc726['cmd'],'routeKey':_0x4dc726['routeKey']});case W[_0x32139d(0x246)]:{let _0x3a7fc7;switch(_0x4dc726[_0x32139d(0x1b0)][_0x32139d(0x280)]){case g[_0x32139d(0x20e)]['UPDATE_CURSOR']:{_0x3a7fc7={'eventID':g[_0x32139d(0x20e)][_0x32139d(0x327)],'updateCursorEvent':_0x4dc726[_0x32139d(0x1b0)][_0x32139d(0x1b0)]};break;}case g[_0x32139d(0x20e)][_0x32139d(0x2c5)]:{_0x3a7fc7={'eventID':g[_0x32139d(0x20e)]['USERS_LEAVE'],'leaveEvent':_0x4dc726[_0x32139d(0x1b0)][_0x32139d(0x1b0)]};break;}case g[_0x32139d(0x20e)][_0x32139d(0x498)]:{_0x3a7fc7={'eventID':g[_0x32139d(0x20e)][_0x32139d(0x498)],'joinEvent':_0x4dc726[_0x32139d(0x1b0)][_0x32139d(0x1b0)]};break;}case g['CollaborationEvent'][_0x32139d(0x4c6)]:{_0x3a7fc7={'eventID':g[_0x32139d(0x20e)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x4dc726['data']['data']};break;}case g[_0x32139d(0x20e)][_0x32139d(0x182)]:{_0x3a7fc7={'eventID':g[_0x32139d(0x20e)][_0x32139d(0x182)],'liveShareOperation':_0x4dc726[_0x32139d(0x1b0)][_0x32139d(0x1b0)]};break;}case g[_0x32139d(0x20e)]['LIVESHARE_TERMINATE']:{_0x3a7fc7={'eventID':g[_0x32139d(0x20e)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4dc726[_0x32139d(0x1b0)][_0x32139d(0x1b0)]};break;}case g['CollaborationEvent'][_0x32139d(0x4b1)]:{_0x3a7fc7={'eventID':g['CollaborationEvent'][_0x32139d(0x4b1)],'liveShareRequestHost':_0x4dc726['data'][_0x32139d(0x1b0)]};break;}case g[_0x32139d(0x20e)][_0x32139d(0x44e)]:{_0x3a7fc7={'eventID':g[_0x32139d(0x20e)][_0x32139d(0x44e)]};break;}default:_0x3a7fc7={'eventID':_0x4dc726[_0x32139d(0x1b0)][_0x32139d(0x280)]};}return JSON[_0x32139d(0x2c8)]({'cmd':_0x4dc726[_0x32139d(0x4ca)],'routeKey':_0x4dc726[_0x32139d(0x20f)],'collaMsg':_0x3a7fc7});}case W['JOIN']:return JSON[_0x32139d(0x2c8)]({'cmd':_0x4dc726[_0x32139d(0x4ca)],'routeKey':_0x4dc726['routeKey'],'joinReq':_0x4dc726[_0x32139d(0x1b0)]});case W[_0x32139d(0x3aa)]:return JSON['stringify']({'cmd':_0x4dc726['cmd'],'routeKey':_0x4dc726[_0x32139d(0x20f)],'leaveReq':_0x4dc726[_0x32139d(0x1b0)]});default:throw new Error(_0x32139d(0x330));}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x5094bf,_0x4ff74e,_0x1d19e9,_0xd51b91)=>{for(var _0x4a5949=_0xd51b91>0x1?void 0x0:_0xd51b91?Xt(_0x4ff74e,_0x1d19e9):_0x4ff74e,_0x3136ba=_0x5094bf['length']-0x1,_0x444695;_0x3136ba>=0x0;_0x3136ba--)(_0x444695=_0x5094bf[_0x3136ba])&&(_0x4a5949=_0x444695(_0x4a5949)||_0x4a5949);return _0x4a5949;},_e=(_0x5de1c1,_0x3eea9d)=>(_0x129be1,_0x538ed8)=>_0x3eea9d(_0x129be1,_0x538ed8,_0x5de1c1);const $e=a['createIdentifier'](_0xfb6c54(0x1e9));function Qt(_0x1f42b1,_0x4c677a,_0x4f605d){return _0x1f42b1+'/'+_0x4c677a+'/unit/'+_0x4f605d+'/new_changes';}function _0x430f(_0x1b01cd,_0x3b40ea){var _0x246472=_0x2464();return _0x430f=function(_0x430f4a,_0x605025){_0x430f4a=_0x430f4a-0x156;var _0x275a14=_0x246472[_0x430f4a];return _0x275a14;},_0x430f(_0x1b01cd,_0x3b40ea);}exports[_0xfb6c54(0x3a9)]=class extends a[_0xfb6c54(0x326)]{constructor(_0x505bc0,_0x98c734,_0x1cebf1,_0x1f9bc5,_0x3000cc){var _0x48f698=_0xfb6c54;super(),this[_0x48f698(0x1c0)]=_0x505bc0,this[_0x48f698(0x18c)]=_0x98c734,this['_configService']=_0x1cebf1,this[_0x48f698(0x438)]=_0x1f9bc5,this['_snapshotServerService']=_0x3000cc;}[_0xfb6c54(0x181)](_0x56d4aa){var _0x145ab2=_0xfb6c54;const _0x517b8b=this[_0x145ab2(0x1c0)][_0x145ab2(0x2c4)](q[_0x145ab2(0x443)]);if(!_0x517b8b)throw new Error(_0x145ab2(0x398));const _0x2cec34=_0x517b8b[_0x145ab2(0x2e8)](_0x56d4aa);if(!_0x2cec34)throw new Error(_0x145ab2(0x1d7));const _0x79602c=new a[(_0x145ab2(0x3e5))](),_0x47fb4c=new j[(_0x145ab2(0x3e2))]();_0x79602c[_0x145ab2(0x3af)](_0x2cec34[_0x145ab2(0x35c)][_0x145ab2(0x38e)](_0x57eba5=>_0x47fb4c[_0x145ab2(0x320)](_0x57eba5))),_0x79602c['add'](a[_0x145ab2(0x238)](()=>_0x47fb4c[_0x145ab2(0x24e)]()));const _0x445fa7=new j['Subject']();_0x79602c[_0x145ab2(0x3af)](_0x2cec34[_0x145ab2(0x16b)][_0x145ab2(0x38e)](_0x51a14a=>_0x445fa7[_0x145ab2(0x320)](_0x51a14a))),_0x79602c[_0x145ab2(0x3af)](a['toDisposable'](()=>_0x445fa7[_0x145ab2(0x24e)]()));const _0x2afa95=new j[(_0x145ab2(0x3e2))]();_0x79602c[_0x145ab2(0x3af)](_0x2cec34[_0x145ab2(0x353)][_0x145ab2(0x38e)](_0x594649=>{var _0x1b9ebc=_0x145ab2;const _0x3e4337=Rt(_0x594649);_0x2afa95[_0x1b9ebc(0x320)](_0x3e4337);})),_0x79602c['add'](a[_0x145ab2(0x238)](()=>_0x2afa95[_0x145ab2(0x24e)]()));let _0x1326fe;const _0x38f39d=()=>{var _0x1e5af3=_0x145ab2;_0x445fa7[_0x1e5af3(0x320)](new Event('connection\x20error')),_0x47fb4c[_0x1e5af3(0x320)](new Event(_0x1e5af3(0x3b4))),_0x1326fe[_0x1e5af3(0x184)]();};return _0x1326fe={'memberID':'','close$':_0x47fb4c[_0x145ab2(0x380)](),'error$':_0x445fa7[_0x145ab2(0x380)](),'open$':_0x2cec34[_0x145ab2(0x1d4)],'message$':_0x2afa95[_0x145ab2(0x380)](),'send':_0x4ada3d=>{var _0xd8c9c7=_0x145ab2;if(_0x4ada3d[_0xd8c9c7(0x4ca)]===W['INGEST']){if(_0x4ada3d['data'][_0xd8c9c7(0x280)]===g['CollaborationEvent'][_0xd8c9c7(0x35f)]){this[_0xd8c9c7(0x288)](_0x1326fe,_0x4ada3d[_0xd8c9c7(0x1b0)])['catch'](_0x1ffcee=>{var _0x1dfb70=_0xd8c9c7;this[_0x1dfb70(0x438)]['error'](_0x1ffcee),_0x38f39d();});return;}if(_0x4ada3d[_0xd8c9c7(0x1b0)][_0xd8c9c7(0x280)]===g[_0xd8c9c7(0x20e)][_0xd8c9c7(0x461)]){const _0x367d27=_0x4ada3d[_0xd8c9c7(0x1b0)];this[_0xd8c9c7(0x3ca)](_0x367d27)[_0xd8c9c7(0x24f)](_0x5aac97=>{var _0x8801b1=_0xd8c9c7;_0x2afa95[_0x8801b1(0x320)]({'cmd':W['RECV'],'code':ae['OK'],'routeKey':_0x367d27[_0x8801b1(0x1b0)][_0x8801b1(0x34e)],'routeType':'','data':{'eventID':g[_0x8801b1(0x20e)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5aac97}}});})['catch'](_0x283c14=>{var _0x2b9d5f=_0xd8c9c7;this[_0x2b9d5f(0x438)][_0x2b9d5f(0x4b4)](_0x283c14),_0x38f39d();});return;}}_0x2cec34['send'](yt(_0x4ada3d));},'close':()=>{_0x2cec34['close'](),_0x79602c['dispose']();}},_0x1326fe;}async['_submitChangeset'](_0x4710b7,_0x482488){var _0x30481f=_0xfb6c54,_0x3be999,_0x50c62d;const {unitType:_0x378907,unitID:_0x427f1b,changeset:_0x126185}=_0x482488[_0x30481f(0x1b0)],_0x149227={'unitID':_0x427f1b,'memberID':_0x4710b7[_0x30481f(0x3db)],'type':_0x378907,'changeset':g[_0x30481f(0x3bc)](_0x126185)},_0x5dd5f0=this[_0x30481f(0x34a)]['getConfig'](It),_0x351fe6=this[_0x30481f(0x34a)][_0x30481f(0x354)](Y),_0x10f4cb=Qt((_0x50c62d=(_0x3be999=_0x351fe6==null?void 0x0:_0x351fe6[_0x30481f(0x4b0)])!=null?_0x3be999:_0x5dd5f0)!=null?_0x50c62d:Kt,_0x378907,_0x427f1b);try{await this[_0x30481f(0x18c)][_0x30481f(0x3d6)](_0x10f4cb,{'body':_0x149227});}catch(_0x3e718a){throw this[_0x30481f(0x438)]['error'](_0x30481f(0x48b),_0x30481f(0x278)),_0x3e718a;}}async[_0xfb6c54(0x3ca)](_0x174d52){var _0x3865cd=_0xfb6c54;const {unitID:_0x58bc15,from:_0x28ea8a,to:_0x73185a,unitType:_0x5cff8a}=_0x174d52[_0x3865cd(0x1b0)];return(await this[_0x3865cd(0x388)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x58bc15,'type':_0x5cff8a,'from':_0x28ea8a,'to':_0x73185a}))['changesets'];}},exports[_0xfb6c54(0x3a9)]=Zt([_e(0x0,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x323)])),_e(0x1,a[_0xfb6c54(0x205)](q[_0xfb6c54(0x34c)])),_e(0x2,a[_0xfb6c54(0x3d0)]),_e(0x3,a[_0xfb6c54(0x381)]),_e(0x4,g[_0xfb6c54(0x190)])],exports[_0xfb6c54(0x3a9)]);const ei=_0xfb6c54(0x4a2);function ti(_0x5093d8){var _0x4a5116=_0xfb6c54;return JSON[_0x4a5116(0x2c8)](_0x5093d8)[_0x4a5116(0x266)];}class Be{constructor(){var _0x41da95=_0xfb6c54;A(this,_0x41da95(0x393),new j['Subject']()),A(this,_0x41da95(0x4b6),this[_0x41da95(0x393)][_0x41da95(0x380)]());}['onCommentUpdate'](_0x3ddc5b){var _0x279cf8=_0xfb6c54;this[_0x279cf8(0x393)][_0x279cf8(0x320)](_0x3ddc5b);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x1766ef,_0x54b863,_0x3875e3,_0x2fb351)=>{var _0x578515=_0xfb6c54;for(var _0x371184=_0x2fb351>0x1?void 0x0:_0x2fb351?ii(_0x54b863,_0x3875e3):_0x54b863,_0x1ee240=_0x1766ef[_0x578515(0x266)]-0x1,_0x52a513;_0x1ee240>=0x0;_0x1ee240--)(_0x52a513=_0x1766ef[_0x1ee240])&&(_0x371184=_0x52a513(_0x371184)||_0x371184);return _0x371184;},Ke=(_0x885ea7,_0x4af387)=>(_0x2c7f28,_0x475a1c)=>_0x4af387(_0x2c7f28,_0x475a1c,_0x885ea7);exports['MemberService']=class extends a[_0xfb6c54(0x326)]{constructor(_0x4c610c,_0x2186a1){var _0x2d93ed=_0xfb6c54;super(),A(this,_0x2d93ed(0x17e),new Map()),A(this,_0x2d93ed(0x315),new j['Subject']()),(this[_0x2d93ed(0x45e)]=_0x4c610c,this[_0x2d93ed(0x493)]=_0x2186a1,this[_0x2d93ed(0x26e)](j[_0x2d93ed(0x2a2)](this['_univerInstanceService'][_0x2d93ed(0x47c)](a[_0x2d93ed(0x2b5)][_0x2d93ed(0x45b)])[_0x2d93ed(0x2ee)](V[_0x2d93ed(0x2b2)](_0x4a7490=>_0x4a7490[_0x2d93ed(0x3b9)]())),this['_univerInstanceService'][_0x2d93ed(0x47c)](a[_0x2d93ed(0x2b5)]['UNIVER_DOC'])['pipe'](V[_0x2d93ed(0x2b2)](_0x49f41b=>_0x49f41b[_0x2d93ed(0x3b9)]())),this[_0x2d93ed(0x45e)][_0x2d93ed(0x47c)](a[_0x2d93ed(0x2b5)][_0x2d93ed(0x2fb)])[_0x2d93ed(0x2ee)](V[_0x2d93ed(0x2b2)](_0x5db959=>_0x5db959[_0x2d93ed(0x3b9)]())))[_0x2d93ed(0x38e)](_0x2c3fea=>this[_0x2d93ed(0x4b5)](_0x2c3fea))));}[_0xfb6c54(0x1d3)](_0x455315){var _0x5154d3=_0xfb6c54;return this['_roomMembers'][_0x5154d3(0x392)](_0x455315)?j['of'](this[_0x5154d3(0x17e)][_0x5154d3(0x2c4)](_0x455315)):this[_0x5154d3(0x315)]['pipe'](V[_0x5154d3(0x2b2)](_0x1ddb94=>{var _0x450994=_0x5154d3;if(_0x1ddb94===_0x455315)return this[_0x450994(0x17e)][_0x450994(0x2c4)](_0x1ddb94);}));}[_0xfb6c54(0x42b)](_0x5ce5a0){var _0x500da9=_0xfb6c54;this[_0x500da9(0x493)][_0x500da9(0x42b)](_0x5ce5a0);}[_0xfb6c54(0x33f)](){var _0x55fd84=_0xfb6c54;return this['_userManagerService'][_0x55fd84(0x33f)]();}[_0xfb6c54(0x1a2)](_0x37315a,_0xcc2cb1){var _0x5ec648=_0xfb6c54;let _0x1fec44=this[_0x5ec648(0x17e)][_0x5ec648(0x2c4)](_0x37315a);_0x1fec44||(_0x1fec44=new ri(),this['_roomMembers'][_0x5ec648(0x1da)](_0x37315a,_0x1fec44),this['_roomCreated$'][_0x5ec648(0x320)](_0x37315a)),_0x1fec44[_0x5ec648(0x1a2)](_0xcc2cb1);}['removeMember'](_0x289f5a,_0x4c5cea){var _0x23f979=_0xfb6c54;const _0xc997d4=this[_0x23f979(0x17e)][_0x23f979(0x2c4)](_0x289f5a);_0xc997d4&&_0xc997d4[_0x23f979(0x1cc)](_0x4c5cea);}[_0xfb6c54(0x318)](_0x451635){var _0x574d7b=_0xfb6c54;return this[_0x574d7b(0x17e)][_0x574d7b(0x2c4)](_0x451635);}[_0xfb6c54(0x449)](_0x5a2d31,_0x2559be){var _0x57508d=_0xfb6c54;const _0x25ed62=this['_roomMembers'][_0x57508d(0x2c4)](_0x5a2d31);if(_0x25ed62)return _0x25ed62[_0x57508d(0x449)](_0x2559be);}['_removeRoom'](_0xc87c7e){var _0x57da65=_0xfb6c54;const _0x3fbbc1=this[_0x57da65(0x17e)]['get'](_0xc87c7e);_0x3fbbc1&&(_0x3fbbc1[_0x57da65(0x3f5)](),this[_0x57da65(0x17e)][_0x57da65(0x199)](_0xc87c7e));}['dispose'](){var _0x13ee28=_0xfb6c54;this[_0x13ee28(0x17e)][_0x13ee28(0x454)](_0x54e633=>_0x54e633[_0x13ee28(0x3f5)]()),this[_0x13ee28(0x17e)][_0x13ee28(0x289)](),this[_0x13ee28(0x315)][_0x13ee28(0x24e)]();}},exports[_0xfb6c54(0x3de)]=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x231)]))],exports[_0xfb6c54(0x3de)]);class ri extends a['Disposable']{constructor(){var _0x2f9b14=_0xfb6c54;super(...arguments),A(this,_0x2f9b14(0x348),new Map()),A(this,_0x2f9b14(0x4d1),new j['BehaviorSubject'](this[_0x2f9b14(0x348)])),A(this,_0x2f9b14(0x1f0),this['_members$']['asObservable']());}[_0xfb6c54(0x3f5)](){var _0x5b6b82=_0xfb6c54;this[_0x5b6b82(0x348)][_0x5b6b82(0x289)]();}['updateMember'](_0x186192){var _0x1d49ad=_0xfb6c54;this[_0x1d49ad(0x348)]['set'](_0x186192[_0x1d49ad(0x3db)],_0x186192),this[_0x1d49ad(0x26c)]();}[_0xfb6c54(0x1cc)](_0x2f72f3){var _0x40b137=_0xfb6c54;this['_members'][_0x40b137(0x199)](_0x2f72f3);}[_0xfb6c54(0x449)](_0x2ac812){var _0x16086c=_0xfb6c54;return this[_0x16086c(0x348)][_0x16086c(0x2c4)](_0x2ac812);}['getAllMembers'](){var _0x5d31fa=_0xfb6c54;return Array[_0x5d31fa(0x229)](this['_members'][_0x5d31fa(0x4af)]());}[_0xfb6c54(0x26c)](){var _0x4978ae=_0xfb6c54;this[_0x4978ae(0x4d1)]['next'](this['_members']);}}var si=Object[_0xfb6c54(0x49b)],oi=(_0x1bda95,_0xe9dd33,_0x1a222a,_0x150d51)=>{for(var _0x21c6ae=_0x150d51>0x1?void 0x0:_0x150d51?si(_0xe9dd33,_0x1a222a):_0xe9dd33,_0x489526=_0x1bda95['length']-0x1,_0x47fc5;_0x489526>=0x0;_0x489526--)(_0x47fc5=_0x1bda95[_0x489526])&&(_0x21c6ae=_0x47fc5(_0x21c6ae)||_0x21c6ae);return _0x21c6ae;},oe=(_0x21f95a,_0x41ae04)=>(_0x593deb,_0x1c9b26)=>_0x41ae04(_0x593deb,_0x1c9b26,_0x21f95a),se=(_0x5ebaa5=>(_0x5ebaa5[_0x5ebaa5[_0xfb6c54(0x26f)]=0x0]=_0xfb6c54(0x26f),_0x5ebaa5[_0x5ebaa5[_0xfb6c54(0x495)]=0x1]=_0xfb6c54(0x495),_0x5ebaa5[_0x5ebaa5['OFFLINE']=0x2]=_0xfb6c54(0x1b8),_0x5ebaa5[_0x5ebaa5['ONLINE']=0x3]=_0xfb6c54(0x37a),_0x5ebaa5))(se||{});const Ye={[ae[_0xfb6c54(0x261)]]:_0xfb6c54(0x1c3),[ae['JOIN_ROOM_FULL']]:'session.room-full',[ae[_0xfb6c54(0x4aa)]]:'session.room-not-exists',[ae['JOIN_ROOM_PERMISSION_DENIED']]:_0xfb6c54(0x247),[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0xfb6c54(0x212)};exports[_0xfb6c54(0x467)]=class extends a[_0xfb6c54(0x2b0)]{constructor(_0xe1f14b,_0x1a3286,_0x4f9f41,_0x2cf9fc,_0x16aa3f,_0x497b1d,_0x108fb4,_0x4b5fda,_0x4786bd){var _0x50b4e7=_0xfb6c54;super(),A(this,_0x50b4e7(0x48d),new j[(_0x50b4e7(0x414))](0x0)),A(this,_0x50b4e7(0x4ac),this[_0x50b4e7(0x48d)][_0x50b4e7(0x380)]()),A(this,'_event$',new j[(_0x50b4e7(0x3e2))]()),A(this,_0x50b4e7(0x24c),this[_0x50b4e7(0x213)][_0x50b4e7(0x380)]()),A(this,'_socket'),A(this,_0x50b4e7(0x429)),A(this,_0x50b4e7(0x3b7)),A(this,_0x50b4e7(0x402),!0x1),A(this,_0x50b4e7(0x285),null),(this[_0x50b4e7(0x15d)]=_0xe1f14b,this[_0x50b4e7(0x438)]=_0x4f9f41,this[_0x50b4e7(0x34a)]=_0x2cf9fc,this['_localeService']=_0x16aa3f,this[_0x50b4e7(0x470)]=_0x497b1d,this[_0x50b4e7(0x4a3)]=_0x108fb4,this['_collaborationUIEventService']=_0x4b5fda,this['_telemetryService']=_0x4786bd,this[_0x50b4e7(0x402)]=!!this[_0x50b4e7(0x191)],_0x1a3286[_0x50b4e7(0x2ee)](j[_0x50b4e7(0x1d9)](this[_0x50b4e7(0x208)]))[_0x50b4e7(0x38e)](_0x163bb1=>{var _0x43c06f=_0x50b4e7,_0x5b9b42;typeof _0x163bb1>'u'||(this[_0x43c06f(0x3c8)]=_0x163bb1,_0x163bb1?(this['_joinRoom'](_0x163bb1),this[_0x43c06f(0x429)]=_0x163bb1[_0x43c06f(0x353)][_0x43c06f(0x38e)](_0x22a234=>{var _0x3c9477=_0x43c06f;_0x22a234[_0x3c9477(0x20f)]===this[_0x3c9477(0x15d)]&&this[_0x3c9477(0x3a7)](_0x22a234);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x43c06f(0x48d)]['next'](0x2),(_0x5b9b42=this[_0x43c06f(0x429)])==null||_0x5b9b42['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x48ed21=_0xfb6c54;return this[_0x48ed21(0x48d)][_0x48ed21(0x31a)]();}[_0xfb6c54(0x413)](){var _0x43d557=_0xfb6c54,_0x5240ed,_0xc8f53d;return(_0xc8f53d=(_0x5240ed=this[_0x43d557(0x3c8)])==null?void 0x0:_0x5240ed[_0x43d557(0x3db)])!=null?_0xc8f53d:null;}[_0xfb6c54(0x3f5)](){var _0x17855a=_0xfb6c54;super[_0x17855a(0x3f5)](),this[_0x17855a(0x208)][_0x17855a(0x320)](),this['dispose$'][_0x17855a(0x24e)]();}[_0xfb6c54(0x184)](){var _0x28899f=_0xfb6c54,_0xb28553,_0x235f91;this[_0x28899f(0x460)](),(_0xb28553=this[_0x28899f(0x3c8)])==null||_0xb28553[_0x28899f(0x283)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x28899f(0x15d)]}}),(_0x235f91=this['_socket'])==null||_0x235f91['close'](),this[_0x28899f(0x213)][_0x28899f(0x24e)](),this[_0x28899f(0x48d)]['complete'](),this[_0x28899f(0x3f5)]();}['_onCombEvent'](_0x26be1a){var _0x2d7e5e=_0xfb6c54;_0x26be1a[_0x2d7e5e(0x4ca)]===W[_0x2d7e5e(0x435)]?this[_0x2d7e5e(0x2a4)](_0x26be1a):_0x26be1a[_0x2d7e5e(0x4ca)]===W[_0x2d7e5e(0x4b9)]&&this[_0x2d7e5e(0x453)](_0x26be1a);}[_0xfb6c54(0x39c)](_0x50532f){var _0x36b8e8=_0xfb6c54;this['_sessionStatus$'][_0x36b8e8(0x320)](0x1),_0x50532f[_0x36b8e8(0x283)]({'cmd':W[_0x36b8e8(0x435)],'routeKey':this[_0x36b8e8(0x15d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x36b8e8(0x15d)]}]}});}[_0xfb6c54(0x2a4)](_0x28f462){var _0x538e66=_0xfb6c54,_0x4b3548;if(_0x28f462[_0x538e66(0x32f)]in Ye){this[_0x538e66(0x2b3)][_0x538e66(0x1f1)]({'id':Q[_0x538e66(0x1b3)],'data':Ye[_0x28f462['code']]}),this[_0x538e66(0x48d)][_0x538e66(0x320)](0x2);return;}this[_0x538e66(0x48d)][_0x538e66(0x320)](0x3);const _0x335543=(_0x4b3548=_0x28f462[_0x538e66(0x1b0)][_0x538e66(0x15f)][this[_0x538e66(0x15d)]])==null?void 0x0:_0x4b3548[_0x538e66(0x468)];_0x335543&&_0x335543[_0x538e66(0x454)](_0x257072=>this[_0x538e66(0x470)][_0x538e66(0x1a2)](this[_0x538e66(0x15d)],_0x257072));}[_0xfb6c54(0x453)](_0x71dddf){var _0x438147=_0xfb6c54;try{const _0x550b75=_0x71dddf[_0x438147(0x1b0)];switch(_0x550b75['eventID']){case g[_0x438147(0x20e)]['USERS_ENTER']:this[_0x438147(0x391)](_0x550b75),this[_0x438147(0x213)][_0x438147(0x320)](_0x550b75);break;case g[_0x438147(0x20e)][_0x438147(0x2c5)]:this[_0x438147(0x366)](_0x550b75),this['_event$'][_0x438147(0x320)](_0x550b75);break;case g['CollaborationEvent'][_0x438147(0x22c)]:case g[_0x438147(0x20e)][_0x438147(0x248)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x438147(0x159)](),this[_0x438147(0x213)][_0x438147(0x320)](_0x550b75);break;case g[_0x438147(0x20e)][_0x438147(0x363)]:this[_0x438147(0x438)][_0x438147(0x4b4)](_0x438147(0x26b)+JSON[_0x438147(0x2c8)](_0x550b75)),this[_0x438147(0x213)][_0x438147(0x320)](_0x550b75);break;case g[_0x438147(0x20e)][_0x438147(0x25e)]:this['_commentService'][_0x438147(0x485)](_0x550b75['data']),this['_event$'][_0x438147(0x320)](_0x550b75);break;default:this[_0x438147(0x213)]['next'](_0x550b75);}}catch(_0x556252){this['_logService'][_0x438147(0x4b4)](_0x556252,_0x71dddf);}}[_0xfb6c54(0x391)](_0x4cf72f){var _0x4e6926=_0xfb6c54;this[_0x4e6926(0x470)]['updateMember'](this['_unitID'],_0x4cf72f['data']);}[_0xfb6c54(0x366)](_0x5ec927){var _0x2f8a5c=_0xfb6c54;this[_0x2f8a5c(0x470)][_0x2f8a5c(0x1cc)](this[_0x2f8a5c(0x15d)],_0x5ec927[_0x2f8a5c(0x1b0)]['memberID']);}async[_0xfb6c54(0x283)](_0x322fa2,_0x5e928a){var _0x4c24a1=_0xfb6c54;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x4c24a1(0x4a0));try{_0x322fa2[_0x4c24a1(0x280)]===g['CollaborationEvent'][_0x4c24a1(0x35f)]&&(this[_0x4c24a1(0x2bd)](),this[_0x4c24a1(0x40c)](_0x322fa2)),this[_0x4c24a1(0x3c8)][_0x4c24a1(0x283)]({'cmd':W[_0x4c24a1(0x246)],'routeKey':_0x5e928a,'routeType':'','data':_0x322fa2});}catch(_0x10e295){this[_0x4c24a1(0x438)]['error'](_0x10e295);}}[_0xfb6c54(0x2bd)](){var _0x52a4e1=_0xfb6c54,_0x294aa2;this[_0x52a4e1(0x3b7)]=setTimeout(()=>{var _0x4df5a0=_0x52a4e1;this['_collaborationTimeoutTimer']=null,this[_0x4df5a0(0x2b3)][_0x4df5a0(0x1f1)]({'id':Q[_0x4df5a0(0x3d9)]});},(_0x294aa2=this['_configService'][_0x52a4e1(0x354)](je))!=null?_0x294aa2:gt);}['_clearCollaborationTimeoutTimer'](){var _0x537def=_0xfb6c54;this[_0x537def(0x3b7)]&&(clearTimeout(this[_0x537def(0x3b7)]),this[_0x537def(0x3b7)]=null);}[_0xfb6c54(0x40c)](_0x29d113){var _0x1bb0e0=_0xfb6c54;if(!this[_0x1bb0e0(0x402)])return;const {data:_0x2375b9}=_0x29d113,{unitID:_0x3566c7,changeset:_0x2c2384}=_0x2375b9,{mutations:_0x336ff5,type:_0x5539ac}=_0x2c2384;this[_0x1bb0e0(0x285)]={'unitId':_0x3566c7,'type':_0x5539ac,'startTime':performance[_0x1bb0e0(0x18b)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x336ff5)};}[_0xfb6c54(0x162)](){var _0x402cad=_0xfb6c54;if(this[_0x402cad(0x402)]){if(!this[_0x402cad(0x285)]){this['_logService'][_0x402cad(0x4b4)](_0x402cad(0x48b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x402cad(0x285)]['stopTime']=performance[_0x402cad(0x18b)](),this['_telemetryInfo'][_0x402cad(0x16a)]=this[_0x402cad(0x285)]['stopTime']-this[_0x402cad(0x285)][_0x402cad(0x394)],this[_0x402cad(0x191)][_0x402cad(0x15b)](ei,this['_telemetryInfo']),this[_0x402cad(0x285)]=null;}}[_0xfb6c54(0x460)](){var _0x14a5f5=_0xfb6c54;this[_0x14a5f5(0x285)]=null;}},exports[_0xfb6c54(0x467)]=oi([oe(0x2,a[_0xfb6c54(0x381)]),oe(0x3,a[_0xfb6c54(0x3d0)]),oe(0x4,a['Inject'](a[_0xfb6c54(0x425)])),oe(0x5,a[_0xfb6c54(0x205)](exports[_0xfb6c54(0x3de)])),oe(0x6,a[_0xfb6c54(0x205)](Be)),oe(0x7,a[_0xfb6c54(0x205)](te)),oe(0x8,a['Optional'](Mt[_0xfb6c54(0x316)]))],exports[_0xfb6c54(0x467)]);var ai=Object[_0xfb6c54(0x49b)],ci=(_0x3e872d,_0x5f15ff,_0x29fb7b,_0x2a24e5)=>{var _0x24f7e0=_0xfb6c54;for(var _0x2e5402=_0x2a24e5>0x1?void 0x0:_0x2a24e5?ai(_0x5f15ff,_0x29fb7b):_0x5f15ff,_0x25849e=_0x3e872d[_0x24f7e0(0x266)]-0x1,_0x4eb997;_0x25849e>=0x0;_0x25849e--)(_0x4eb997=_0x3e872d[_0x25849e])&&(_0x2e5402=_0x4eb997(_0x2e5402)||_0x2e5402);return _0x2e5402;},le=(_0x421683,_0x11efed)=>(_0x250e01,_0x4acdc1)=>_0x11efed(_0x250e01,_0x4acdc1,_0x421683);exports[_0xfb6c54(0x4ad)]=class extends a[_0xfb6c54(0x326)]{constructor(_0x2c40c1,_0x170b0d,_0xe3273,_0x5bc52a,_0x570aad,_0xb12e3d){var _0x1a5ab=_0xfb6c54;super(),A(this,_0x1a5ab(0x345),new j[(_0x1a5ab(0x414))](void 0x0)),A(this,_0x1a5ab(0x372),this['_socket$'][_0x1a5ab(0x380)]()),A(this,'_candidateSocket',null),A(this,_0x1a5ab(0x38c),new Map()),A(this,_0x1a5ab(0x321),new j['BehaviorSubject'](se['IDLE'])),A(this,_0x1a5ab(0x2b1),this[_0x1a5ab(0x321)][_0x1a5ab(0x380)]()),A(this,_0x1a5ab(0x384),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x1a5ab(0x1c5),0x0),A(this,_0x1a5ab(0x279)),A(this,'_timeoutTimer'),(this[_0x1a5ab(0x1c0)]=_0x2c40c1,this['_logService']=_0x170b0d,this['_configService']=_0xe3273,this[_0x1a5ab(0x2f4)]=_0x5bc52a,this[_0x1a5ab(0x2b3)]=_0x570aad,this[_0x1a5ab(0x22f)]=_0xb12e3d,this[_0x1a5ab(0x2ae)]());}get[_0xfb6c54(0x3c8)](){var _0x4c8274=_0xfb6c54;return this[_0x4c8274(0x345)][_0x4c8274(0x31a)]();}[_0xfb6c54(0x2ae)](){var _0x5874f9=_0xfb6c54;this[_0x5874f9(0x22f)]&&this[_0x5874f9(0x26e)](this['_networkConditionService'][_0x5874f9(0x4d4)]['subscribe'](_0x574a8c=>{var _0x3c7a9e=_0x5874f9;_0x574a8c&&!this[_0x3c7a9e(0x3c8)]&&this[_0x3c7a9e(0x17f)](),_0x574a8c||this[_0x3c7a9e(0x22e)]();}));}[_0xfb6c54(0x3f5)](){var _0x4ea186=_0xfb6c54;super[_0x4ea186(0x3f5)](),this[_0x4ea186(0x364)](),this[_0x4ea186(0x3d4)](),this[_0x4ea186(0x302)](),this['_sessions']['forEach'](_0x2c6bc8=>_0x2c6bc8['dispose']()),this[_0x4ea186(0x38c)]['clear'](),this[_0x4ea186(0x321)][_0x4ea186(0x24e)]();}async[_0xfb6c54(0x1bb)](_0x3bcc67){var _0x39ccca=_0xfb6c54;if(this[_0x39ccca(0x38c)][_0x39ccca(0x392)](_0x3bcc67))return this[_0x39ccca(0x38c)]['get'](_0x3bcc67);this[_0x39ccca(0x3b5)]();const _0xb1270c=this[_0x39ccca(0x1c0)][_0x39ccca(0x46b)](exports[_0x39ccca(0x467)],_0x3bcc67,this['_socket$'][_0x39ccca(0x380)]());return this[_0x39ccca(0x38c)][_0x39ccca(0x1da)](_0x3bcc67,_0xb1270c),_0xb1270c;}[_0xfb6c54(0x252)](_0x17fabf){var _0x401391=_0xfb6c54,_0x2f5e52;const _0x225145=this['_sessions'][_0x401391(0x2c4)](_0x17fabf);_0x225145&&(this[_0x401391(0x38c)]['delete'](_0x17fabf),_0x225145['close']()),this[_0x401391(0x38c)][_0x401391(0x4a8)]||(_0x2f5e52=this[_0x401391(0x3c8)])==null||_0x2f5e52[_0x401391(0x184)]();}[_0xfb6c54(0x17f)](){var _0x3f516d=_0xfb6c54;this[_0x3f516d(0x1c5)]=0x0,this[_0x3f516d(0x364)](),this['_tryReconnect']();}[_0xfb6c54(0x364)](){var _0x165f76=_0xfb6c54;this[_0x165f76(0x373)]!=null&&(clearTimeout(this[_0x165f76(0x373)]),this[_0x165f76(0x373)]=null);}async[_0xfb6c54(0x3b0)](){var _0x161838=_0xfb6c54,_0x3f6af3,_0x167a79;const _0x3d1d4d=this[_0x161838(0x34a)][_0x161838(0x354)](St),_0x4f12a3=this['_configService'][_0x161838(0x354)](Y),_0x127aad=(_0x167a79=(_0x3f6af3=_0x4f12a3==null?void 0x0:_0x4f12a3[_0x161838(0x377)])!=null?_0x3f6af3:_0x3d1d4d)!=null?_0x167a79:ft,_0x3ecb82=await this[_0x161838(0x2f4)][_0x161838(0x2e8)](_0x127aad);return this['_candidateSocket']=_0x3ecb82,_0x3ecb82;}async[_0xfb6c54(0x3b5)](){var _0x1cbefd=_0xfb6c54,_0x51c05f,_0xaf8094;try{const _0xb68f4b=(_0xaf8094=(_0x51c05f=this[_0x1cbefd(0x3c8)])!=null?_0x51c05f:this[_0x1cbefd(0x195)])!=null?_0xaf8094:await this[_0x1cbefd(0x3b0)]();if(_0xb68f4b){const _0x34852d=_0xb68f4b[_0x1cbefd(0x283)];_0xb68f4b['send']=_0x1cba95=>(this['_rescheduleHeartbeat'](),_0x34852d[_0x1cbefd(0x423)](_0xb68f4b,[_0x1cba95])),_0xb68f4b[_0x1cbefd(0x353)][_0x1cbefd(0x38e)](_0x8989a7=>this[_0x1cbefd(0x27a)](_0xb68f4b,_0x8989a7)),_0xb68f4b[_0x1cbefd(0x16b)]['pipe'](V['take'](0x1))[_0x1cbefd(0x38e)](_0x182289=>this[_0x1cbefd(0x438)][_0x1cbefd(0x4b4)]('[CollaborationSessionService]:\x20socket\x20error',_0x182289)),_0xb68f4b[_0x1cbefd(0x1d4)][_0x1cbefd(0x2ee)](V[_0x1cbefd(0x477)](0x1))[_0x1cbefd(0x38e)](()=>{var _0x1c1180=_0x1cbefd;this[_0x1c1180(0x25f)](_0xb68f4b);}),_0xb68f4b[_0x1cbefd(0x35c)][_0x1cbefd(0x2ee)](V['take'](0x1))['subscribe'](_0x1f5729=>{var _0x1031a0=_0x1cbefd;this[_0x1031a0(0x438)][_0x1031a0(0x482)]('[CollaborationSessionService]',_0x1031a0(0x2cc),_0x1f5729),this['_onConnectionFailed']();});}}catch(_0x345340){this[_0x1cbefd(0x438)][_0x1cbefd(0x4b4)](_0x345340),this[_0x1cbefd(0x2c9)]();}}[_0xfb6c54(0x25f)](_0x2e571f){var _0x235ab2=_0xfb6c54;this[_0x235ab2(0x438)][_0x235ab2(0x482)](_0x235ab2(0x439),_0x235ab2(0x31d)),_0x2e571f[_0x235ab2(0x283)]({'cmd':W['HELLO']}),this[_0x235ab2(0x1b6)]();}['_onOffline'](){var _0x40cda3=_0xfb6c54;this[_0x40cda3(0x384)]=!0x1,this[_0x40cda3(0x195)]=null,this[_0x40cda3(0x321)][_0x40cda3(0x320)](se[_0x40cda3(0x1b8)]),this[_0x40cda3(0x345)][_0x40cda3(0x320)](null),this['_clearTimeoutTimer'](),this[_0x40cda3(0x302)]();}[_0xfb6c54(0x2c9)](){var _0x2070ee=_0xfb6c54,_0xe9e0bf;this['_onOffline'](),this[_0x2070ee(0x1c5)]<((_0xe9e0bf=this['_configService'][_0x2070ee(0x354)](mt))!=null?_0xe9e0bf:Vt)?(this[_0x2070ee(0x2b3)]['emitEvent']({'id':Q[_0x2070ee(0x356)]}),this[_0x2070ee(0x3ed)]()):this[_0x2070ee(0x2b3)][_0x2070ee(0x1f1)]({'id':Q['SOCKET_FAILED']});}['_tryReconnect'](){var _0x4f4955=_0xfb6c54,_0x2896cb;const _0x462d28=this[_0x4f4955(0x1c5)],_0x13bba9=this['_configService'][_0x4f4955(0x354)](Y),_0x474d31=_0x462d28===0x0?0x0:((_0x2896cb=_0x13bba9==null?void 0x0:_0x13bba9[_0x4f4955(0x183)])!=null?_0x2896cb:Ft)*0x2**_0x462d28;this[_0x4f4955(0x373)]=setTimeout(()=>{var _0x390095=_0x4f4955;clearTimeout(this[_0x390095(0x373)]),this[_0x390095(0x373)]=null,this[_0x390095(0x3b5)]();},_0x474d31),this[_0x4f4955(0x1c5)]+=0x1;}['_onMessage'](_0x4f2e70,_0x12792d){var _0x43c41c=_0xfb6c54;const {cmd:_0x1ad491}=_0x12792d;_0x1ad491===W['HELLO']&&!this[_0x43c41c(0x384)]&&(_0x4f2e70[_0x43c41c(0x3db)]=_0x12792d[_0x43c41c(0x1b0)][_0x43c41c(0x3db)],this[_0x43c41c(0x345)]['next'](_0x4f2e70),this[_0x43c41c(0x321)][_0x43c41c(0x320)](se[_0x43c41c(0x37a)]),this[_0x43c41c(0x384)]=!0x0,this[_0x43c41c(0x195)]=null),_0x1ad491===W['HEARTBEAT']&&this[_0x43c41c(0x3d4)](),this[_0x43c41c(0x1b6)]();}[_0xfb6c54(0x1b6)](){var _0x58f14f=_0xfb6c54,_0x538490;this[_0x58f14f(0x302)](),this[_0x58f14f(0x279)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x538490=this['_configService'][_0x58f14f(0x354)](pt))!=null?_0x538490:Bt);}[_0xfb6c54(0x383)](){var _0x5cf02a=_0xfb6c54;this[_0x5cf02a(0x3c8)]['send']({'cmd':W[_0x5cf02a(0x3ad)]}),this[_0x5cf02a(0x1aa)]();}[_0xfb6c54(0x1aa)](){var _0x1c068b=_0xfb6c54,_0x799059;this['_timeoutTimer']=setTimeout(()=>this[_0x1c068b(0x2c9)](),(_0x799059=this['_configService'][_0x1c068b(0x354)](je))!=null?_0x799059:gt);}[_0xfb6c54(0x302)](){var _0x4814ef=_0xfb6c54;this[_0x4814ef(0x279)]!=null&&(clearTimeout(this[_0x4814ef(0x279)]),this['_sendHeartbeatTimer']=null);}[_0xfb6c54(0x3d4)](){var _0x26875c=_0xfb6c54;this[_0x26875c(0x2b6)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x26875c(0x2b6)]=null);}},exports[_0xfb6c54(0x4ad)]=ci([le(0x0,a[_0xfb6c54(0x205)](a['Injector'])),le(0x1,a[_0xfb6c54(0x381)]),le(0x2,a[_0xfb6c54(0x3d0)]),le(0x3,$e),le(0x4,a[_0xfb6c54(0x205)](te)),le(0x5,a[_0xfb6c54(0x3c5)](bt))],exports[_0xfb6c54(0x4ad)]);const G=[];for(let n=0x0;n<0x100;++n)G['push']((n+0x100)[_0xfb6c54(0x4d3)](0x10)[_0xfb6c54(0x25a)](0x1));function hi(_0x19a6b3,_0x207532=0x0){return(G[_0x19a6b3[_0x207532+0x0]]+G[_0x19a6b3[_0x207532+0x1]]+G[_0x19a6b3[_0x207532+0x2]]+G[_0x19a6b3[_0x207532+0x3]]+'-'+G[_0x19a6b3[_0x207532+0x4]]+G[_0x19a6b3[_0x207532+0x5]]+'-'+G[_0x19a6b3[_0x207532+0x6]]+G[_0x19a6b3[_0x207532+0x7]]+'-'+G[_0x19a6b3[_0x207532+0x8]]+G[_0x19a6b3[_0x207532+0x9]]+'-'+G[_0x19a6b3[_0x207532+0xa]]+G[_0x19a6b3[_0x207532+0xb]]+G[_0x19a6b3[_0x207532+0xc]]+G[_0x19a6b3[_0x207532+0xd]]+G[_0x19a6b3[_0x207532+0xe]]+G[_0x19a6b3[_0x207532+0xf]])['toLowerCase']();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x1225fc=_0xfb6c54;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x1225fc(0x39e));Ue=crypto[_0x1225fc(0x3f8)][_0x1225fc(0x240)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto),qe={'randomUUID':ui};function di(_0x1f887f,_0x189da7,_0x245efc){var _0x2fff6d=_0xfb6c54,_0x21c609,_0x59a6c8,_0x595305;if(qe[_0x2fff6d(0x234)]&&!_0x1f887f)return qe[_0x2fff6d(0x234)]();_0x1f887f=_0x1f887f||{};const _0x56737e=(_0x595305=(_0x59a6c8=_0x1f887f[_0x2fff6d(0x27e)])!=null?_0x59a6c8:(_0x21c609=_0x1f887f[_0x2fff6d(0x4c7)])==null?void 0x0:_0x21c609[_0x2fff6d(0x244)](_0x1f887f))!=null?_0x595305:_i();if(_0x56737e[_0x2fff6d(0x266)]<0x10)throw new Error(_0x2fff6d(0x178));return _0x56737e[0x6]=_0x56737e[0x6]&0xf|0x40,_0x56737e[0x8]=_0x56737e[0x8]&0x3f|0x80,hi(_0x56737e);}const z=a[_0xfb6c54(0x490)](_0xfb6c54(0x3f2));function vi(_0x1d5013){var _0x5556bc=_0xfb6c54;return _0x5556bc(0x1ae)+_0x1d5013;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x5a1a48,_0x26a509,_0x2a8923,_0xf02a52)=>{var _0x48f846=_0xfb6c54;for(var _0x57a265=_0xf02a52>0x1?void 0x0:_0xf02a52?Si(_0x26a509,_0x2a8923):_0x26a509,_0x4ebee0=_0x5a1a48[_0x48f846(0x266)]-0x1,_0x1f5b84;_0x4ebee0>=0x0;_0x4ebee0--)(_0x1f5b84=_0x5a1a48[_0x4ebee0])&&(_0x57a265=_0x1f5b84(_0x57a265)||_0x57a265);return _0x57a265;},Ae=(_0x52c6f5,_0x4947fd)=>(_0x1d20ef,_0x263e3d)=>_0x4947fd(_0x1d20ef,_0x263e3d,_0x52c6f5);function pi(_0x390e23){var _0x31d0e6=_0xfb6c54;const {unitID:_0x16f0b6,mutations:_0xe9acb3}=_0x390e23;return{'unitId':_0x16f0b6,'subUnitId':_0xe9acb3[0x0][_0x31d0e6(0x3b6)]['subUnitId']};}exports[_0xfb6c54(0x2dc)]=class{constructor(_0x2b00ca,_0x3ed892,_0x136eb4){var _0x263f71=_0xfb6c54;this[_0x263f71(0x1c0)]=_0x2b00ca,this[_0x263f71(0x260)]=_0x3ed892,this[_0x263f71(0x225)]=_0x136eb4;}[_0xfb6c54(0x3d1)](_0x4be7bb){var _0x5dfbc0=_0xfb6c54,_0x50d95d,_0x255717,_0x2a8e73,_0x5443aa;const _0xf19e02=this[_0x5dfbc0(0x1c0)][_0x5dfbc0(0x2c4)](Z[_0x5dfbc0(0x415)]),{unitId:_0x24106b,subUnitId:_0x360d1e}=pi(_0x4be7bb),_0x44ad6f=_0xf19e02==null?void 0x0:_0xf19e02[_0x5dfbc0(0x241)](_0x24106b)['getCurrentSelections'](),_0x208a79=(_0x255717=(_0x50d95d=this[_0x5dfbc0(0x225)][_0x5dfbc0(0x37c)](_0x24106b))==null?void 0x0:_0x50d95d[_0x5dfbc0(0x1fb)]())==null?void 0x0:_0x255717[_0x5dfbc0(0x22b)]();if(_0x44ad6f[_0x5dfbc0(0x266)]===0x0||!_0x24106b||!_0x360d1e)return;const _0x508416=[{'id':Z[_0x5dfbc0(0x371)]['id'],'params':{'unitId':_0x24106b,'subUnitId':_0x208a79,'selections':a[_0x5dfbc0(0x36d)][_0x5dfbc0(0x375)](_0x44ad6f)}}],_0x403723=this[_0x5dfbc0(0x260)][_0x5dfbc0(0x2bb)](_0x4be7bb,_0x508416);if(!g[_0x5dfbc0(0x34f)](_0x403723))throw _0x403723[_0x5dfbc0(0x4b4)];const _0x45b48f=(_0x5443aa=(_0x2a8e73=_0x403723['m2Prime'][0x0])==null?void 0x0:_0x2a8e73['params'])==null?void 0x0:_0x5443aa[_0x5dfbc0(0x457)];if(Array[_0x5dfbc0(0x2e3)](_0x45b48f)&&_0x45b48f[_0x5dfbc0(0x266)]){if(_0x45b48f[_0x5dfbc0(0x266)]===_0x508416[0x0][_0x5dfbc0(0x3b6)]['selections'][_0x5dfbc0(0x266)]&&_0x45b48f[_0x5dfbc0(0x3df)]((_0xfc0689,_0x2a299e)=>a[_0x5dfbc0(0x464)][_0x5dfbc0(0x35d)](_0xfc0689[_0x5dfbc0(0x19c)],_0x508416[0x0]['params']['selections'][_0x2a299e][_0x5dfbc0(0x19c)])))return;this[_0x5dfbc0(0x1c0)][_0x5dfbc0(0x2c4)](a[_0x5dfbc0(0x28b)])[_0x5dfbc0(0x20a)](Z[_0x5dfbc0(0x371)]['id'],{'unitId':_0x24106b,'subUnitId':_0x208a79,'selections':_0x45b48f});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x323)])),Ae(0x1,g[_0xfb6c54(0x30f)]),Ae(0x2,a[_0xfb6c54(0x404)])],exports[_0xfb6c54(0x2dc)]);const ve=a[_0xfb6c54(0x490)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x645215=>(_0x645215[_0x645215[_0xfb6c54(0x3e3)]=0x0]=_0xfb6c54(0x3e3),_0x645215[_0x645215[_0xfb6c54(0x36c)]=0x1]='OTHER_CLIENTS_EDITING',_0x645215))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x260779,_0x43577b,_0x299415,_0xb84137,_0x15bd0c){var _0xa08ef5=_0xfb6c54,_0x29c3d8,_0x5a2ac8,_0x401f44,_0x488089;const _0x2d2075=[];for(const _0x3d582d of _0x260779)if(gi[_0xa08ef5(0x392)](_0x3d582d['id'])){if(_0x2d2075[_0xa08ef5(0x266)]>0x0)break;_0x2d2075['push'](_0x3d582d);break;}else _0x2d2075[_0xa08ef5(0x308)](_0x3d582d);const _0x163244=(_0x5a2ac8=(_0x29c3d8=_0x15bd0c[_0xa08ef5(0x33f)]())==null?void 0x0:_0x29c3d8['userID'])!=null?_0x5a2ac8:'unknown',_0x3bff08=(_0x488089=(_0x401f44=_0x15bd0c[_0xa08ef5(0x33f)]())==null?void 0x0:_0x401f44['memberID'])!=null?_0x488089:'unknown';return{'changeset':{'unitID':_0x43577b,'type':g['mapDocumentTypeToUniverType'](_0x299415[_0xa08ef5(0x2c1)](_0x43577b)),'baseRev':_0xb84137['getCurrentRevOfUnit'](_0x43577b),'revision':0x0,'userID':_0x163244,'memberID':_0x3bff08,'mutations':_0x2d2075},'pendingMutations':_0x260779[_0xa08ef5(0x25a)](_0x2d2075['length'])};}function mi(_0x567a3a,_0x464cb0,_0x27695e,_0x41a050,_0x547bd7){var _0x5c6a60=_0xfb6c54,_0x2740b3,_0x343b87,_0x50df70,_0x20dc8e;const _0x5dcea2=[_0x567a3a['reduce']((_0xa841c4,_0x307dd8)=>{var _0x402806=_0x430f,_0x784fdf;const {id:_0x31c86c}=_0xa841c4,{id:_0x25ed85,type:_0x360673}=_0x307dd8,_0x19eb11=(_0x784fdf=_0xa841c4[_0x402806(0x3b6)])!=null?_0x784fdf:{'actions':null},_0x2c1c7e=_0x307dd8[_0x402806(0x3b6)];if(_0x31c86c&&_0x31c86c!==_0x25ed85)throw new Error(_0x402806(0x3a5)+_0x31c86c+_0x402806(0x30e)+_0x25ed85+'.');return{..._0xa841c4,'id':_0x25ed85,'type':_0x360673,'params':{'unitId':_0x2c1c7e[_0x402806(0x1ce)],'textRanges':_0x2c1c7e['textRanges'],'actions':a[_0x402806(0x436)][_0x402806(0x1af)](_0x19eb11[_0x402806(0x3ee)],_0x2c1c7e[_0x402806(0x3ee)])}};},{})],_0x4416c7=(_0x343b87=(_0x2740b3=_0x547bd7[_0x5c6a60(0x33f)]())==null?void 0x0:_0x2740b3[_0x5c6a60(0x222)])!=null?_0x343b87:'unknown',_0x38bcc7=(_0x20dc8e=(_0x50df70=_0x547bd7['getCurrentUser']())==null?void 0x0:_0x50df70['memberID'])!=null?_0x20dc8e:_0x5c6a60(0x2e4);return{'changeset':{'unitID':_0x464cb0,'type':g['mapDocumentTypeToUniverType'](_0x27695e[_0x5c6a60(0x2c1)](_0x464cb0)),'baseRev':_0x41a050[_0x5c6a60(0x1c8)](_0x464cb0),'revision':0x0,'userID':_0x4416c7,'memberID':_0x38bcc7,'mutations':_0x5dcea2},'pendingMutations':[]};}function Ot(_0x297546,_0x1c9d1a){var _0x96a111=_0xfb6c54;const _0x3c50fc=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x3c50fc['next'](_0x1c9d1a),_0x297546),_0x3c50fc[_0x96a111(0x380)]()[_0x96a111(0x2ee)](j[_0x96a111(0x477)](0x1));}const Ii={'id':Z['EmptyMutation']['id'],'type':a[_0xfb6c54(0x1a5)][_0xfb6c54(0x42d)],'params':{}};var Ei=Object[_0xfb6c54(0x49b)],ce=(_0x2ef1c9,_0x2be46c,_0x53a8bd,_0x4fc390)=>{var _0x595f3f=_0xfb6c54;for(var _0x4e8ca9=_0x4fc390>0x1?void 0x0:_0x4fc390?Ei(_0x2be46c,_0x53a8bd):_0x2be46c,_0x9d51ae=_0x2ef1c9[_0x595f3f(0x266)]-0x1,_0x387e3a;_0x9d51ae>=0x0;_0x9d51ae--)(_0x387e3a=_0x2ef1c9[_0x9d51ae])&&(_0x4e8ca9=_0x387e3a(_0x4e8ca9)||_0x4e8ca9);return _0x4e8ca9;},w=(_0x2be820,_0xc9d411)=>(_0x565c88,_0x415cee)=>_0xc9d411(_0x565c88,_0x415cee,_0x2be820),Ve=(_0x1f3e80=>(_0x1f3e80[_0xfb6c54(0x47f)]=_0xfb6c54(0x236),_0x1f3e80[_0xfb6c54(0x2d5)]=_0xfb6c54(0x1fd),_0x1f3e80['PENDING']=_0xfb6c54(0x3c4),_0x1f3e80[_0xfb6c54(0x4bb)]=_0xfb6c54(0x46c),_0x1f3e80[_0xfb6c54(0x307)]=_0xfb6c54(0x451),_0x1f3e80[_0xfb6c54(0x263)]='fetch_missing',_0x1f3e80[_0xfb6c54(0x186)]=_0xfb6c54(0x3cb),_0x1f3e80[_0xfb6c54(0x1b8)]=_0xfb6c54(0x204),_0x1f3e80))(Ve||{});const Nt=0xea60;class he{constructor(_0x271582,_0x136713,_0x5e2b8c,_0x90be4d,_0x156f4b,_0x3663ba,_0x86cb63,_0x231ed4,_0x16c232){var _0x4c605c=_0xfb6c54;A(this,'_awaitingChangeset',null),A(this,_0x4c605c(0x1ff),[]),(this[_0x4c605c(0x34e)]=_0x271582,this[_0x4c605c(0x37f)]=_0x136713,this[_0x4c605c(0x32b)]=_0x156f4b,this['_commandService']=_0x3663ba,this['_undoRedoService']=_0x86cb63,this['_revisionService']=_0x231ed4,this['_localCacheService']=_0x16c232,this['_awaitingChangeset']=_0x5e2b8c,this[_0x4c605c(0x1ff)]=_0x90be4d);}['_checkMissing'](_0x445e6d){var _0x4e75cf=_0xfb6c54;const _0x1b0e98=this[_0x4e75cf(0x299)]['getCurrentRevOfUnit'](this[_0x4e75cf(0x34e)]);return _0x445e6d['revision']>_0x1b0e98+0x1?(this[_0x4e75cf(0x32b)][_0x4e75cf(0x19e)]({'from':_0x1b0e98,'to':_0x445e6d['revision']-0x1}),!0x0):!0x1;}[_0xfb6c54(0x31e)](_0x3a080d){var _0x5be6d9=_0xfb6c54;this[_0x5be6d9(0x403)][_0x5be6d9(0x193)](this['unitID'],_0x3a080d);}[_0xfb6c54(0x1f8)](_0x166d26){var _0x462edb=_0xfb6c54,_0x6ff43d,_0x12f797;(_0x12f797=(_0x6ff43d=this[_0x462edb(0x32b)])['onTransformSelections'])==null||_0x12f797[_0x462edb(0x244)](_0x6ff43d,_0x166d26);}[_0xfb6c54(0x242)](_0x4f4610){var _0x534604=_0xfb6c54,_0x36e4cf,_0x33ef21;return(_0x33ef21=(_0x36e4cf=this[_0x534604(0x32b)])[_0x534604(0x419)])==null?void 0x0:_0x33ef21['call'](_0x36e4cf,_0x4f4610);}['_transformStateCache'](_0x2bc238){var _0x3a884c=_0xfb6c54,_0x4205c2,_0xc3094e;return(_0xc3094e=(_0x4205c2=this[_0x3a884c(0x32b)])[_0x3a884c(0x478)])==null?void 0x0:_0xc3094e[_0x3a884c(0x244)](_0x4205c2,_0x2bc238);}[_0xfb6c54(0x1c4)](_0xc54670){var _0x2d4e80=_0xfb6c54,_0x405e86,_0x3e897b,_0x1314d7;return(_0x1314d7=(_0x3e897b=(_0x405e86=this['_handler'])[_0x2d4e80(0x265)])==null?void 0x0:_0x3e897b['call'](_0x405e86,_0xc54670))!=null?_0x1314d7:_0xc54670;}[_0xfb6c54(0x343)](_0x2f513b){var _0x2d741f=_0xfb6c54,_0x526bc3,_0x4fc8f9,_0x53e269;return(_0x53e269=(_0x4fc8f9=(_0x526bc3=this[_0x2d741f(0x32b)])[_0x2d741f(0x2ef)])==null?void 0x0:_0x4fc8f9[_0x2d741f(0x244)](_0x526bc3,_0x2f513b))!=null?_0x53e269:_0x2f513b;}[_0xfb6c54(0x1dd)](_0x4614f6){var _0x3cb6fc=_0xfb6c54,_0x316dc9,_0xf5119f;if(this[_0x3cb6fc(0x37f)]===X['UNIVER_DOC']){const {unitID:_0x5a34f0,mutations:_0x2c4bb0,memberID:_0x44126a}=_0x4614f6,_0xb71eb=_0x2c4bb0[0x0][_0x3cb6fc(0x3b6)][_0x3cb6fc(0x407)];Array[_0x3cb6fc(0x2e3)](_0xb71eb)&&_0xb71eb[_0x3cb6fc(0x266)]>0x0&&((_0xf5119f=(_0x316dc9=this[_0x3cb6fc(0x32b)])[_0x3cb6fc(0x284)])==null||_0xf5119f[_0x3cb6fc(0x244)](_0x316dc9,{'unitID':_0x5a34f0,'memberID':_0x44126a,'textRanges':_0xb71eb}));}}[_0xfb6c54(0x34d)](){var _0x1f0ea9=_0xfb6c54,_0x121c7e;(_0x121c7e=this[_0x1f0ea9(0x268)])==null||_0x121c7e['updateOfflineData'](this['unitID'],this[_0x1f0ea9(0x37f)],this[_0x1f0ea9(0x33e)],this['_pendingMutations']);}[_0xfb6c54(0x43c)](){var _0x2c5d0b=_0xfb6c54;return this[_0x2c5d0b(0x299)][_0x2c5d0b(0x1c8)](this[_0x2c5d0b(0x34e)]);}[_0xfb6c54(0x48f)](){var _0x105666=_0xfb6c54;this['_revisionService'][_0x105666(0x2d2)](this[_0x105666(0x34e)]);}[_0xfb6c54(0x35b)](_0x20d838){var _0x4eac54=_0xfb6c54,_0x42f7d6;let _0x4f7fc7=this[_0x4eac54(0x1c4)](_0x20d838);_0x4f7fc7=this[_0x4eac54(0x343)](_0x4f7fc7);const _0x165eb0=a[_0x4eac54(0x2e1)](_0x4f7fc7[_0x4eac54(0x1b2)],this['_commandService'],{'fromCollab':!0x0});if(!_0x165eb0[_0x4eac54(0x469)])throw _0x165eb0[_0x4eac54(0x4b4)]instanceof Error?_0x165eb0[_0x4eac54(0x4b4)]:new Error((_0x42f7d6=_0x165eb0[_0x4eac54(0x4b4)])!=null?_0x42f7d6:_0x4eac54(0x1ee));this[_0x4eac54(0x242)](_0x4f7fc7),this['_transformStateCache'](_0x4f7fc7),this[_0x4eac54(0x31e)](_0x20d838),this['_transformSelections'](_0x4f7fc7),this[_0x4eac54(0x1dd)](_0x4f7fc7),this[_0x4eac54(0x48f)]();}}exports[_0xfb6c54(0x421)]=class extends he{constructor(_0x54f6dc,_0x325aa0,_0x25c984,_0xaec657,_0x4ae3d6,_0x4fbc4d,_0x32d170,_0x512d42,_0x5c763c,_0x3822fd){var _0x3b1ebe=_0xfb6c54;super(_0x54f6dc,_0x325aa0,null,[],_0x25c984,_0x32d170,_0x4fbc4d,_0xaec657,_0x3822fd),A(this,_0x3b1ebe(0x2c3),_0x3b1ebe(0x1fd)),(this['_injector']=_0x4ae3d6,this[_0x3b1ebe(0x438)]=_0x512d42,this[_0x3b1ebe(0x260)]=_0x5c763c,this[_0x3b1ebe(0x385)]=_0x3822fd);}[_0xfb6c54(0x497)](_0xf20ec9){var _0x4fac6c=_0xfb6c54;const _0x3ba5c4=this[_0x4fac6c(0x1c0)][_0x4fac6c(0x46b)](exports['PendingState'],this[_0x4fac6c(0x34e)],this[_0x4fac6c(0x37f)],[_0xf20ec9],this[_0x4fac6c(0x32b)]);return _0x3ba5c4['_schedule'](),_0x3ba5c4['_updateLocalCache'](),_0x3ba5c4;}[_0xfb6c54(0x33b)](_0x27b8b5){var _0x25067d=_0xfb6c54;if(this[_0x25067d(0x410)](_0x27b8b5))return this[_0x25067d(0x1c0)][_0x25067d(0x46b)](exports[_0x25067d(0x180)],this['unitID'],this[_0x25067d(0x37f)],null,[],null,[_0x27b8b5],this[_0x25067d(0x32b)]);try{const _0x5261f5=this[_0x25067d(0x260)][_0x25067d(0x2bb)](_0x27b8b5,[Ii]);if(g[_0x25067d(0x34f)](_0x5261f5)){const {c1Prime:_0x43c37b}=_0x5261f5;return this[_0x25067d(0x35b)](_0x43c37b),this;}throw _0x5261f5['error'];}catch(_0x308e96){return this[_0x25067d(0x438)]['error'](_0x308e96),this[_0x25067d(0x163)](!0x1);}}[_0xfb6c54(0x163)](_0x4327cb){var _0x502670=_0xfb6c54;return this['_injector'][_0x502670(0x46b)](exports[_0x502670(0x1f2)],this[_0x502670(0x34e)],this[_0x502670(0x37f)],null,[],this[_0x502670(0x32b)],_0x4327cb);}[_0xfb6c54(0x355)](){var _0x14a95e=_0xfb6c54;throw new Error(_0x14a95e(0x17d));}[_0xfb6c54(0x395)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xfb6c54(0x42f)](){return this;}[_0xfb6c54(0x41d)](){var _0x591aa8=_0xfb6c54;return this[_0x591aa8(0x1c0)]['createInstance'](exports[_0x591aa8(0x1e4)],this['unitID'],this[_0x591aa8(0x37f)],null,[],this[_0x591aa8(0x32b)]);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xfb6c54(0x27b)](){var _0xa7b21=_0xfb6c54;const _0x39c29d=this[_0xa7b21(0x299)][_0xa7b21(0x1c8)](this[_0xa7b21(0x34e)]);return this[_0xa7b21(0x32b)][_0xa7b21(0x19e)]({'from':_0x39c29d,'to':0x0}),this[_0xa7b21(0x1c0)][_0xa7b21(0x46b)](exports[_0xa7b21(0x180)],this[_0xa7b21(0x34e)],this[_0xa7b21(0x37f)],null,[],null,[],this[_0xa7b21(0x32b)]);}},exports[_0xfb6c54(0x421)]=ce([w(0x3,a[_0xfb6c54(0x205)](g[_0xfb6c54(0x235)])),w(0x4,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x323)])),w(0x5,a[_0xfb6c54(0x396)]),w(0x6,a[_0xfb6c54(0x28b)]),w(0x7,a[_0xfb6c54(0x381)]),w(0x8,g[_0xfb6c54(0x30f)]),w(0x9,a[_0xfb6c54(0x3c5)](z))],exports[_0xfb6c54(0x421)]),exports[_0xfb6c54(0x3a8)]=class extends he{constructor(_0x2f4d56,_0x4a2076,_0x517bfe,_0x5a1e60,_0x193225,_0x34d547,_0x46ff9c,_0x5b3821,_0x4ff627,_0x1a3e73,_0x2b14e0,_0x477950,_0x33d34c,_0x15265e){var _0x2a7bea=_0xfb6c54;super(_0x2f4d56,_0x4a2076,null,_0x517bfe,_0x5a1e60,_0x4ff627,_0x33d34c,_0x34d547,_0x15265e),A(this,_0x2a7bea(0x2c3),'pending'),A(this,_0x2a7bea(0x165),null),A(this,_0x2a7bea(0x1ca),null),(this[_0x2a7bea(0x1c0)]=_0x193225,this['_memberService']=_0x46ff9c,this[_0x2a7bea(0x438)]=_0x5b3821,this[_0x2a7bea(0x34a)]=_0x1a3e73,this[_0x2a7bea(0x260)]=_0x2b14e0,this[_0x2a7bea(0x45e)]=_0x477950);}[_0xfb6c54(0x497)](_0xa30a24){var _0x2df8c4=_0xfb6c54;return this[_0x2df8c4(0x1ff)][_0x2df8c4(0x308)](_0xa30a24),this['_updateLocalCache'](),this;}[_0xfb6c54(0x33b)](_0x1fcdaa){var _0x3abdbb=_0xfb6c54;if(this[_0x3abdbb(0x410)](_0x1fcdaa))return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x3abdbb(0x180)],this[_0x3abdbb(0x34e)],this[_0x3abdbb(0x37f)],null,this['_pendingMutations'],null,[_0x1fcdaa],this['_handler']);try{const _0x4127cf=this[_0x3abdbb(0x260)][_0x3abdbb(0x2bb)](_0x1fcdaa,this['_pendingMutations']);if(g[_0x3abdbb(0x34f)](_0x4127cf)){const {c1Prime:_0x5b3ae2,m2Prime:_0x3829d1}=_0x4127cf;this[_0x3abdbb(0x35b)](_0x5b3ae2);const _0x521f4e=this[_0x3abdbb(0x1c0)][_0x3abdbb(0x46b)](exports['PendingState'],this[_0x3abdbb(0x34e)],this['type'],_0x3829d1,this[_0x3abdbb(0x32b)]);this[_0x3abdbb(0x38f)]();const _0x4927ef=new Date()['getTime'](),_0x56d32e=this[_0x3abdbb(0x165)]?Math[_0x3abdbb(0x2e0)](this[_0x3abdbb(0x165)]-_0x4927ef,0x0):this['_getSendChangesetTimeout']();return _0x521f4e['_schedule'](_0x56d32e),_0x521f4e;}throw _0x4127cf['error'];}catch(_0x37912c){return this[_0x3abdbb(0x438)][_0x3abdbb(0x4b4)](_0x37912c),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xfb6c54(0x395)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xfb6c54(0x42f)](){return this;}[_0xfb6c54(0x41d)](){var _0x44c95a=_0xfb6c54;return this[_0x44c95a(0x38f)](),this[_0x44c95a(0x1c0)][_0x44c95a(0x46b)](exports['OfflineState'],this[_0x44c95a(0x34e)],this['type'],null,this[_0x44c95a(0x1ff)],this[_0x44c95a(0x32b)]);}[_0xfb6c54(0x3ae)](){return this;}['_schedule'](_0x4c3f31){var _0x183d99=_0xfb6c54;const _0x9dfa5d=_0x4c3f31!=null?_0x4c3f31:this['_getSendChangesetTimeout']();this[_0x183d99(0x165)]=new Date()[_0x183d99(0x3c3)]()+_0x9dfa5d,this['_sendingTimer']=setTimeout(()=>{var _0x269061=_0x183d99;this[_0x269061(0x38f)]();let _0x1bb22b=null;switch(this[_0x269061(0x37f)]){case X[_0x269061(0x45b)]:{_0x1bb22b=ze(this['_pendingMutations'],this[_0x269061(0x34e)],this[_0x269061(0x45e)],this[_0x269061(0x299)],this[_0x269061(0x470)]);break;}case X[_0x269061(0x3e7)]:{this[_0x269061(0x1ff)][_0x269061(0x3df)](_0xa17894=>_0xa17894['id']===ut['RichTextEditingMutation']['id'])?_0x1bb22b=mi(this[_0x269061(0x1ff)],this['unitID'],this[_0x269061(0x45e)],this[_0x269061(0x299)],this[_0x269061(0x470)]):_0x1bb22b=ze(this[_0x269061(0x1ff)],this['unitID'],this[_0x269061(0x45e)],this[_0x269061(0x299)],this[_0x269061(0x470)]);break;}default:throw new Error(_0x269061(0x306)+this['type']+_0x269061(0x301));}const {changeset:_0x2676fe,pendingMutations:_0x5efbc9}=_0x1bb22b;this[_0x269061(0x32b)][_0x269061(0x4cc)](_0x2676fe);const _0x13222f=_0x5efbc9['length']?this[_0x269061(0x1c0)][_0x269061(0x46b)](exports[_0x269061(0x1d1)],this[_0x269061(0x34e)],this[_0x269061(0x37f)],_0x2676fe,_0x5efbc9,this[_0x269061(0x32b)],void 0x0):this[_0x269061(0x1c0)][_0x269061(0x46b)](exports[_0x269061(0x264)],this[_0x269061(0x34e)],this['type'],_0x2676fe,this[_0x269061(0x32b)]);_0x13222f[_0x269061(0x34d)](),this[_0x269061(0x32b)][_0x269061(0x17a)](this,_0x13222f);},_0x9dfa5d);}[_0xfb6c54(0x4bc)](){var _0x34f62a=_0xfb6c54,_0x4ea170;const _0x1cfcf0=this['_configService']['getConfig'](Y);return(_0x4ea170=_0x1cfcf0==null?void 0x0:_0x1cfcf0[_0x34f62a(0x4be)])!=null?_0x4ea170:jt;}[_0xfb6c54(0x1a4)](){var _0x24aa9e=_0xfb6c54;throw new Error(_0x24aa9e(0x416));}[_0xfb6c54(0x38f)](){var _0xff8a54=_0xfb6c54;this['_sendingTimer']!=null&&(clearTimeout(this[_0xff8a54(0x1ca)]),this[_0xff8a54(0x1ca)]=null);}['_onConflict'](_0xad4509){var _0x4e45d4=_0xfb6c54;return this[_0x4e45d4(0x38f)](),this[_0x4e45d4(0x1c0)][_0x4e45d4(0x46b)](exports['ConflictState'],this[_0x4e45d4(0x34e)],this[_0x4e45d4(0x37f)],null,this[_0x4e45d4(0x1ff)],this[_0x4e45d4(0x32b)],_0xad4509);}},exports[_0xfb6c54(0x3a8)]=ce([w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0xfb6c54(0x205)](g['RevisionService'])),w(0x6,a['Inject'](exports[_0xfb6c54(0x3de)])),w(0x7,a[_0xfb6c54(0x381)]),w(0x8,a['ICommandService']),w(0x9,a[_0xfb6c54(0x3d0)]),w(0xa,g[_0xfb6c54(0x30f)]),w(0xb,a[_0xfb6c54(0x404)]),w(0xc,a[_0xfb6c54(0x396)]),w(0xd,a[_0xfb6c54(0x3c5)](z))],exports[_0xfb6c54(0x3a8)]),exports['AwaitingState']=class extends he{constructor(_0x1500d8,_0x1bd7ff,_0x24bc01,_0xd47b2,_0x127cad,_0x1d76fb,_0x3c85aa,_0x4902d2,_0x264abe,_0x1ac3f4,_0x5eb706){var _0x451c2b=_0xfb6c54;super(_0x1500d8,_0x1bd7ff,_0x24bc01,[],_0xd47b2,_0x3c85aa,_0x1ac3f4,_0x1d76fb,_0x5eb706),A(this,_0x451c2b(0x2c3),_0x451c2b(0x46c)),A(this,_0x451c2b(0x1a9),0x0),A(this,_0x451c2b(0x228)),A(this,'_sender'),(this[_0x451c2b(0x1c0)]=_0x127cad,this[_0x451c2b(0x438)]=_0x4902d2,this['_transformService']=_0x264abe);}[_0xfb6c54(0x497)](_0x1ddfc8){var _0x188a69=_0xfb6c54;this[_0x188a69(0x38f)]();const _0x530b1c=this['_injector'][_0x188a69(0x46b)](exports['AwaitingWithPendingState'],this['unitID'],this['type'],this['_awaitingChangeset'],[_0x1ddfc8],this[_0x188a69(0x32b)],this[_0x188a69(0x228)]);return _0x530b1c[_0x188a69(0x34d)](),_0x530b1c;}[_0xfb6c54(0x33b)](_0xa03b5b){var _0x47510e=_0xfb6c54;if(this[_0x47510e(0x410)](_0xa03b5b))return this[_0x47510e(0x38f)](),this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x47510e(0x34e)],this[_0x47510e(0x37f)],this['_awaitingChangeset'],[],null,[_0xa03b5b],this[_0x47510e(0x32b)]);try{const _0x38c1a4=this['_transformService'][_0x47510e(0x23f)]([_0xa03b5b],[this['_awaitingChangeset']],!0x1);if(g['isTransformChangesetsSuccess'](_0x38c1a4)){const {c1Prime:_0x4eacb5,c2Prime:_0x109dfb}=_0x38c1a4;this[_0x47510e(0x35b)](_0x4eacb5[0x0]),_0x109dfb[0x0][_0x47510e(0x465)]=this['_getCurrentRevision'](),this[_0x47510e(0x38f)]();const _0x3631db=this[_0x47510e(0x1c0)]['createInstance'](exports[_0x47510e(0x264)],this[_0x47510e(0x34e)],this['type'],_0x109dfb[0x0],this[_0x47510e(0x32b)]);return _0x3631db[_0x47510e(0x34d)](),_0x3631db;}return this[_0x47510e(0x163)](!0x1);}catch(_0x4128fa){return this[_0x47510e(0x438)][_0x47510e(0x4b4)](_0x4128fa),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x741461){var _0x43750d=_0xfb6c54;this[_0x43750d(0x38f)]();const _0x11352e=this[_0x43750d(0x299)][_0x43750d(0x1c8)](this[_0x43750d(0x34e)]);if(_0x741461[_0x43750d(0x18d)]<_0x11352e-0x1)return this;if(this['_checkMissing'](_0x741461))return this[_0x43750d(0x1c0)][_0x43750d(0x46b)](exports['FetchingMissState'],this[_0x43750d(0x34e)],this['type'],null,[],this[_0x43750d(0x33e)],[],this[_0x43750d(0x32b)]);this[_0x43750d(0x48f)]();const _0x153f8d=this[_0x43750d(0x1c0)][_0x43750d(0x46b)](exports[_0x43750d(0x421)],this[_0x43750d(0x34e)],this['type'],this['_handler']);return _0x153f8d['_updateLocalCache'](),_0x153f8d;}[_0xfb6c54(0x395)](_0x274814){var _0x1b2ee9=_0xfb6c54;return this[_0x1b2ee9(0x163)](!!(_0x274814!=null&&_0x274814[_0x1b2ee9(0x23d)]));}['onRemoteRetry'](_0x146512){var _0x12e39d=_0xfb6c54;return this[_0x12e39d(0x1a9)]>Nt?this['toggleOffline']():(this[_0x12e39d(0x228)]=Ot(this[_0x12e39d(0x1a9)],{'timeout':this['_resendTimeout'],'reqId':_0x146512[_0x12e39d(0x437)]}),this['_sender']=this[_0x12e39d(0x228)][_0x12e39d(0x38e)](({reqId:_0x4a3a0e,timeout:_0x1301c4})=>{var _0x42266b=_0x12e39d;this[_0x42266b(0x3a2)](_0x4a3a0e,_0x1301c4);}),this);}['toggleOffline'](){var _0x189694=_0xfb6c54;return this[_0x189694(0x38f)](),this[_0x189694(0x1c0)]['createInstance'](exports[_0x189694(0x1e4)],this[_0x189694(0x34e)],this[_0x189694(0x37f)],this[_0x189694(0x33e)],[],this[_0x189694(0x32b)]);}[_0xfb6c54(0x3ae)](){return this;}['resend'](){var _0x509c16=_0xfb6c54;this[_0x509c16(0x32b)][_0x509c16(0x4cc)](this[_0x509c16(0x33e)]);}[_0xfb6c54(0x163)](_0x195cd5){var _0x3812ed=_0xfb6c54;return this[_0x3812ed(0x38f)](),this[_0x3812ed(0x1c0)][_0x3812ed(0x46b)](exports[_0x3812ed(0x1f2)],this[_0x3812ed(0x34e)],this[_0x3812ed(0x37f)],this[_0x3812ed(0x33e)],[],this[_0x3812ed(0x32b)],_0x195cd5);}['_resendWithTimeout'](_0x2cfdae,_0x371e64){var _0x21f0a2=_0xfb6c54,_0x4059e0;_0x2cfdae===((_0x4059e0=this[_0x21f0a2(0x33e)])==null?void 0x0:_0x4059e0[_0x21f0a2(0x437)])&&(this[_0x21f0a2(0x1a4)](),this[_0x21f0a2(0x1a9)]=_0x371e64===0x0?0x3e8:_0x371e64*0x2);}[_0xfb6c54(0x38f)](){var _0x212414=_0xfb6c54,_0x406634;(_0x406634=this[_0x212414(0x46d)])==null||_0x406634['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0xfb6c54(0x264)]=ce([w(0x4,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x323)])),w(0x5,a[_0xfb6c54(0x205)](g[_0xfb6c54(0x235)])),w(0x6,a[_0xfb6c54(0x28b)]),w(0x7,a[_0xfb6c54(0x381)]),w(0x8,g[_0xfb6c54(0x30f)]),w(0x9,a['IUndoRedoService']),w(0xa,a[_0xfb6c54(0x3c5)](z))],exports[_0xfb6c54(0x264)]),exports[_0xfb6c54(0x1d1)]=class extends he{constructor(_0x4b1b47,_0x4a928a,_0x390626,_0x12f77d,_0x2028b2,_0x390dcb,_0x4464af,_0xc409,_0xe14de2,_0x5c6a79,_0x34ea97,_0x2db045,_0x5d1fc0){var _0x5baa70=_0xfb6c54;super(_0x4b1b47,_0x4a928a,_0x390626,_0x12f77d,_0x2028b2,_0xe14de2,_0x2db045,_0xc409,_0x5d1fc0),A(this,'status','awaiting_with_pending'),A(this,_0x5baa70(0x1a9),0x0),A(this,_0x5baa70(0x228)),A(this,_0x5baa70(0x46d)),(this[_0x5baa70(0x1c0)]=_0x4464af,this[_0x5baa70(0x438)]=_0x5c6a79,this[_0x5baa70(0x260)]=_0x34ea97,this[_0x5baa70(0x385)]=_0x5d1fc0,_0x390dcb&&(this['_resendTimer']=_0x390dcb,this['_sender']=this[_0x5baa70(0x228)][_0x5baa70(0x38e)](({reqId:_0x402d07,timeout:_0x1b689f})=>{var _0x3bf8bf=_0x5baa70;this[_0x3bf8bf(0x3a2)](_0x402d07,_0x1b689f);})));}[_0xfb6c54(0x497)](_0x1db140){var _0x2ca067=_0xfb6c54;return this[_0x2ca067(0x1ff)][_0x2ca067(0x308)](_0x1db140),this;}['onRemoteChangeset'](_0x1d82f6){var _0x5ed547=_0xfb6c54;if(this[_0x5ed547(0x410)](_0x1d82f6))return this[_0x5ed547(0x38f)](),this[_0x5ed547(0x1c0)][_0x5ed547(0x46b)](exports[_0x5ed547(0x180)],this[_0x5ed547(0x34e)],this['type'],this[_0x5ed547(0x33e)],this['_pendingMutations'],null,[_0x1d82f6],this['_handler']);try{const _0x395c5f=this[_0x5ed547(0x260)]['transformChangesets']([_0x1d82f6],[this[_0x5ed547(0x33e)]],!0x1);if(g[_0x5ed547(0x325)](_0x395c5f)){const {c1Prime:_0x598cdc,c2Prime:_0x992604}=_0x395c5f,_0x5562dc=this[_0x5ed547(0x260)][_0x5ed547(0x2bb)](_0x598cdc[0x0],this[_0x5ed547(0x1ff)]);if(g[_0x5ed547(0x34f)](_0x5562dc)){const {c1Prime:_0x5f3275,m2Prime:_0x43774b}=_0x5562dc;return this[_0x5ed547(0x35b)](_0x5f3275),_0x992604[0x0][_0x5ed547(0x465)]=this[_0x5ed547(0x43c)](),this['_clearScheduledTask'](),this[_0x5ed547(0x1c0)][_0x5ed547(0x46b)](exports[_0x5ed547(0x1d1)],this[_0x5ed547(0x34e)],this[_0x5ed547(0x37f)],_0x992604[0x0],_0x43774b,this[_0x5ed547(0x32b)],void 0x0);}throw _0x5562dc['error'];}throw _0x395c5f['error'];}catch(_0x221aa5){return this[_0x5ed547(0x438)][_0x5ed547(0x4b4)](_0x221aa5),this[_0x5ed547(0x163)](!0x1);}}[_0xfb6c54(0x355)](_0x172988){var _0x286983=_0xfb6c54;if(this[_0x286983(0x38f)](),this[_0x286983(0x410)](_0x172988))return this[_0x286983(0x1c0)][_0x286983(0x46b)](exports['FetchingMissState'],this['unitID'],this[_0x286983(0x37f)],null,this[_0x286983(0x1ff)],this[_0x286983(0x33e)],[],this[_0x286983(0x32b)]);this[_0x286983(0x48f)]();const _0x1ee850=this[_0x286983(0x1c0)][_0x286983(0x46b)](exports[_0x286983(0x3a8)],this[_0x286983(0x34e)],this[_0x286983(0x37f)],this['_pendingMutations'],this[_0x286983(0x32b)]);return _0x1ee850[_0x286983(0x38d)](),_0x1ee850[_0x286983(0x34d)](),_0x1ee850;}['onRemoteRej'](_0x44bacc){var _0x393cea=_0xfb6c54;return this[_0x393cea(0x163)](!!(_0x44bacc!=null&&_0x44bacc['isPermissionRej']));}[_0xfb6c54(0x42f)](_0x42079d){var _0x178404=_0xfb6c54;return this[_0x178404(0x1a9)]>Nt?this['toggleOffline']():(this[_0x178404(0x228)]=Ot(this[_0x178404(0x1a9)],{'timeout':this[_0x178404(0x1a9)],'reqId':_0x42079d[_0x178404(0x437)]}),this[_0x178404(0x46d)]=this[_0x178404(0x228)][_0x178404(0x38e)](({reqId:_0x5a9e31,timeout:_0x40001a})=>{var _0x2c5568=_0x178404;this[_0x2c5568(0x3a2)](_0x5a9e31,_0x40001a);}),this);}[_0xfb6c54(0x41d)](){var _0x203032=_0xfb6c54;return this[_0x203032(0x38f)](),this[_0x203032(0x1c0)][_0x203032(0x46b)](exports[_0x203032(0x1e4)],this[_0x203032(0x34e)],this['type'],this[_0x203032(0x33e)],this[_0x203032(0x1ff)],this['_handler']);}[_0xfb6c54(0x3ae)](){return this;}['resend'](){var _0x5c1969=_0xfb6c54;this['_handler'][_0x5c1969(0x4cc)](this[_0x5c1969(0x33e)]);}['_onConflict'](_0x4b1611){var _0x32e8b2=_0xfb6c54;return this[_0x32e8b2(0x38f)](),this[_0x32e8b2(0x1c0)][_0x32e8b2(0x46b)](exports[_0x32e8b2(0x1f2)],this[_0x32e8b2(0x34e)],this[_0x32e8b2(0x37f)],null,this[_0x32e8b2(0x1ff)],this[_0x32e8b2(0x32b)],_0x4b1611);}[_0xfb6c54(0x3a2)](_0x253cc4,_0x2738f1){var _0x59f309=_0xfb6c54,_0x1c6bd4;_0x253cc4===((_0x1c6bd4=this['_awaitingChangeset'])==null?void 0x0:_0x1c6bd4[_0x59f309(0x437)])&&(this[_0x59f309(0x1a4)](),this['_resendTimeout']=_0x2738f1===0x0?0x3e8:_0x2738f1*0x2);}[_0xfb6c54(0x38f)](){var _0x270ddc=_0xfb6c54,_0xeec416;(_0xeec416=this[_0x270ddc(0x46d)])==null||_0xeec416[_0x270ddc(0x2fa)](),this['_resendTimeout']=0x0;}},exports[_0xfb6c54(0x1d1)]=ce([w(0x6,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x323)])),w(0x7,a[_0xfb6c54(0x205)](g[_0xfb6c54(0x235)])),w(0x8,a['ICommandService']),w(0x9,a[_0xfb6c54(0x381)]),w(0xa,g[_0xfb6c54(0x30f)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0xfb6c54(0x3c5)](z))],exports[_0xfb6c54(0x1d1)]),exports[_0xfb6c54(0x1f2)]=class extends he{constructor(_0x2b4d78,_0x3197e0,_0x5c5b1f,_0x584af5,_0x32f21d,_0x360ace=!0x1,_0x157d8f,_0x30e5cd,_0x2a2cc8,_0x25126e,_0x13a5cd,_0x3b1f75,_0x38191e){var _0x2ad5a4=_0xfb6c54;super(_0x2b4d78,_0x3197e0,_0x5c5b1f,_0x584af5,_0x32f21d,_0x30e5cd,_0x2a2cc8,_0x25126e,_0x38191e),A(this,_0x2ad5a4(0x2c3),_0x2ad5a4(0x3cb)),(this['_isPermissionRej']=_0x360ace,this[_0x2ad5a4(0x2eb)]=_0x157d8f,this[_0x2ad5a4(0x30a)]=_0x13a5cd,this[_0x2ad5a4(0x2b3)]=_0x3b1f75,this[_0x2ad5a4(0x385)]=_0x38191e,this[_0x2ad5a4(0x46f)](),this[_0x2ad5a4(0x243)](),this[_0x2ad5a4(0x224)]());}['appendMutation'](){return this;}[_0xfb6c54(0x33b)](){return this;}[_0xfb6c54(0x355)](){return this;}[_0xfb6c54(0x395)](){return this;}[_0xfb6c54(0x42f)](){return this;}[_0xfb6c54(0x41d)](){return this;}[_0xfb6c54(0x3ae)](){return this;}[_0xfb6c54(0x1a4)](){var _0x7d6c80=_0xfb6c54;throw new Error(_0x7d6c80(0x194));}[_0xfb6c54(0x243)](){var _0x45aae5=_0xfb6c54,_0x4f1ac5;(_0x4f1ac5=this[_0x45aae5(0x268)])==null||_0x4f1ac5[_0x45aae5(0x189)](this[_0x45aae5(0x34e)],this[_0x45aae5(0x37f)],null,[]);}[_0xfb6c54(0x46f)](){var _0x43c16a=_0xfb6c54;this[_0x43c16a(0x2be)]?this[_0x43c16a(0x2b3)][_0x43c16a(0x1f1)]({'id':Q[_0x43c16a(0x19b)]}):this['_collaborationUIEventService'][_0x43c16a(0x1f1)]({'id':Q[_0x43c16a(0x186)]});}[_0xfb6c54(0x224)](){var _0x3af7c7=_0xfb6c54;this[_0x3af7c7(0x2eb)][_0x3af7c7(0x33c)](new Z['WorkbookEditablePermission'](this[_0x3af7c7(0x34e)])['id'],!0x1);}},exports[_0xfb6c54(0x1f2)]=ce([w(0x6,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x36a)])),w(0x7,a[_0xfb6c54(0x28b)]),w(0x8,a[_0xfb6c54(0x396)]),w(0x9,a[_0xfb6c54(0x205)](g[_0xfb6c54(0x235)])),w(0xa,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x425)])),w(0xb,a['Inject'](te)),w(0xc,a['Optional'](z))],exports[_0xfb6c54(0x1f2)]),exports[_0xfb6c54(0x1e4)]=class extends he{constructor(_0x42ef7d,_0x1e4fed,_0x20481a,_0x2095b9,_0x816f10,_0x3a6d50,_0x278902,_0x1ba097,_0x538331,_0x577d12){var _0xe7f272=_0xfb6c54;super(_0x42ef7d,_0x1e4fed,_0x20481a,_0x2095b9,_0x816f10,_0x1ba097,_0x538331,_0x278902,_0x577d12),A(this,_0xe7f272(0x2c3),_0xe7f272(0x204)),this[_0xe7f272(0x1c0)]=_0x3a6d50;}[_0xfb6c54(0x497)](_0x367a5c){var _0x12a3c6=_0xfb6c54;return this[_0x12a3c6(0x1ff)][_0x12a3c6(0x308)](_0x367a5c),this[_0x12a3c6(0x34d)](),this;}[_0xfb6c54(0x33b)](_0x23ead0){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x48aff9=_0xfb6c54;throw new Error(_0x48aff9(0x483));}[_0xfb6c54(0x395)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xfb6c54(0x42f)](){return this;}[_0xfb6c54(0x41d)](){return this;}['toggleOnline'](){var _0x2d1f7e=_0xfb6c54;const {_injector:_0x46c61a,_pendingMutations:_0x80b460,_awaitingChangeset:_0x312883,unitID:_0x4ebd15,_handler:_0x45c278,type:_0x37f4fe}=this,_0x5e3c35=Dt(_0x46c61a,_0x4ebd15,_0x37f4fe,_0x312883,_0x80b460,_0x45c278);return _0x5e3c35 instanceof exports[_0x2d1f7e(0x3a8)]?_0x5e3c35[_0x2d1f7e(0x38d)]():(_0x5e3c35 instanceof exports['AwaitingWithPendingState']||_0x5e3c35 instanceof exports[_0x2d1f7e(0x264)])&&_0x5e3c35[_0x2d1f7e(0x1a4)](),_0x5e3c35;}[_0xfb6c54(0x1a4)](){var _0x4ba38e=_0xfb6c54;throw new Error(_0x4ba38e(0x487));}},exports['OfflineState']=ce([w(0x5,a['Inject'](a[_0xfb6c54(0x323)])),w(0x6,a[_0xfb6c54(0x205)](g[_0xfb6c54(0x235)])),w(0x7,a[_0xfb6c54(0x28b)]),w(0x8,a[_0xfb6c54(0x396)]),w(0x9,a['Optional'](z))],exports[_0xfb6c54(0x1e4)]),exports['FetchingMissState']=class extends he{constructor(_0x4a3012,_0x5c1bbc,_0x1ca6e1,_0x395863,_0x363c42,_0x13430a,_0x15dcd1,_0xce754d,_0x4cf0a9,_0x449538,_0x3d6821,_0x37b216,_0x41f28b,_0x34674d){var _0x563973=_0xfb6c54;super(_0x4a3012,_0x5c1bbc,_0x1ca6e1,_0x395863,_0x15dcd1,_0x3d6821,_0x37b216,_0x4cf0a9,_0x34674d),A(this,_0x563973(0x2c3),_0x563973(0x4c4)),(this[_0x563973(0x171)]=_0x363c42,this[_0x563973(0x319)]=_0x13430a,this['_injector']=_0xce754d,this[_0x563973(0x438)]=_0x449538,this[_0x563973(0x260)]=_0x41f28b,this[_0x563973(0x385)]=_0x34674d);}[_0xfb6c54(0x15a)](_0x2d3f34){var _0x3c61cd=_0xfb6c54;try{const _0x50067e=[..._0x2d3f34,...this['_queuedRemoteChangesets']],_0xd621ad=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x3c61cd(0x43a)](_0x2399fd=>!!_0x2399fd);let _0x1da258,_0x37b357;if(_0xd621ad[_0x3c61cd(0x266)]){const _0x4299af=this['_transformService'][_0x3c61cd(0x23f)](_0x50067e,_0xd621ad,!0x1);if(!g['isTransformChangesetsSuccess'](_0x4299af))throw _0x4299af[_0x3c61cd(0x4b4)];_0x1da258=_0x4299af[_0x3c61cd(0x4d2)],_0x37b357=_0x4299af[_0x3c61cd(0x44c)];}else _0x1da258=_0x50067e,_0x37b357=[];let _0x1d18c0=this[_0x3c61cd(0x1ff)];_0x1da258[_0x3c61cd(0x454)](_0x28b8b5=>{var _0x337e27=_0x3c61cd;let _0x13fc49;if(_0x1d18c0[_0x337e27(0x266)]){const _0x1cdea0=this[_0x337e27(0x260)]['transformMutationsWithChangeset'](_0x28b8b5,_0x1d18c0);if(!g['isTransformMutationsWithChangesetSuccess'](_0x1cdea0))throw _0x1cdea0[_0x337e27(0x4b4)];_0x13fc49=_0x1cdea0[_0x337e27(0x4d2)],_0x1d18c0=_0x1cdea0['m2Prime'];}else _0x13fc49=_0x28b8b5;this[_0x337e27(0x35b)](_0x13fc49);}),this[_0x3c61cd(0x171)]&&this[_0x3c61cd(0x48f)](),this[_0x3c61cd(0x33e)]&&_0x37b357[_0x3c61cd(0x266)]&&(_0x37b357[0x0][_0x3c61cd(0x465)]=this[_0x3c61cd(0x43c)]());let _0x1ed04b;if(this[_0x3c61cd(0x33e)]&&_0x1d18c0['length']!==0x0)_0x1ed04b=this[_0x3c61cd(0x1c0)][_0x3c61cd(0x46b)](exports[_0x3c61cd(0x1d1)],this[_0x3c61cd(0x34e)],this[_0x3c61cd(0x37f)],_0x37b357[0x0],_0x1d18c0,this[_0x3c61cd(0x32b)],void 0x0);else{if(this[_0x3c61cd(0x33e)]&&_0x1d18c0[_0x3c61cd(0x266)]===0x0)_0x37b357[0x0]['baseRev']=this[_0x3c61cd(0x43c)](),_0x1ed04b=this[_0x3c61cd(0x1c0)]['createInstance'](exports['AwaitingState'],this[_0x3c61cd(0x34e)],this[_0x3c61cd(0x37f)],_0x37b357[0x0],this[_0x3c61cd(0x32b)]);else{if(_0x1d18c0['length']!==0x0){const _0x314a75=this[_0x3c61cd(0x1c0)]['createInstance'](exports['PendingState'],this[_0x3c61cd(0x34e)],this[_0x3c61cd(0x37f)],_0x1d18c0,this['_handler']);_0x314a75[_0x3c61cd(0x38d)](),_0x1ed04b=_0x314a75;}else _0x1ed04b=this['_injector']['createInstance'](exports[_0x3c61cd(0x421)],this[_0x3c61cd(0x34e)],this[_0x3c61cd(0x37f)],this[_0x3c61cd(0x32b)]);}}return _0x1ed04b[_0x3c61cd(0x34d)](),_0x1ed04b;}catch(_0x3e40a0){return this['_logService']['error'](_0x3c61cd(0x4cd),_0x3c61cd(0x24b),_0x3e40a0),this[_0x3c61cd(0x1c0)][_0x3c61cd(0x46b)](exports[_0x3c61cd(0x1f2)],this['unitID'],this[_0x3c61cd(0x37f)],this[_0x3c61cd(0x33e)],this[_0x3c61cd(0x1ff)],this[_0x3c61cd(0x32b)],!0x1);}}[_0xfb6c54(0x1a4)](){var _0x45b6ca=_0xfb6c54;throw new Error(_0x45b6ca(0x24d));}[_0xfb6c54(0x497)](_0x525860){return this['_pendingMutations']['push'](_0x525860),this;}[_0xfb6c54(0x33b)](_0x17f04a){var _0x5b824c=_0xfb6c54;return this[_0x5b824c(0x319)][_0x5b824c(0x308)](_0x17f04a),this;}['onRemoteAck'](_0x57fc72){var _0x24d9d5=_0xfb6c54;if(this['_awaitingChangeset'])return this[_0x24d9d5(0x171)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0xfb6c54(0x395)](_0x3e1bde){var _0x31e71c=_0xfb6c54;return this[_0x31e71c(0x163)](!!(_0x3e1bde!=null&&_0x3e1bde['isPermissionRej']));}[_0xfb6c54(0x42f)](){return this;}[_0xfb6c54(0x41d)](){var _0x473ad5=_0xfb6c54;return this[_0x473ad5(0x1c0)][_0x473ad5(0x46b)](exports[_0x473ad5(0x1e4)],this['unitID'],this[_0x473ad5(0x37f)],this['_awaitingChangeset'],this[_0x473ad5(0x1ff)],this['_handler']);}[_0xfb6c54(0x3ae)](){return this;}['_onConflict'](_0x1028b7){var _0x47ba3b=_0xfb6c54;return this['_injector']['createInstance'](exports[_0x47ba3b(0x1f2)],this['unitID'],this[_0x47ba3b(0x37f)],this['_awaitingChangeset'],this[_0x47ba3b(0x1ff)],this[_0x47ba3b(0x32b)],_0x1028b7);}},exports[_0xfb6c54(0x180)]=ce([w(0x7,a[_0xfb6c54(0x205)](a['Injector'])),w(0x8,a[_0xfb6c54(0x205)](g[_0xfb6c54(0x235)])),w(0x9,a[_0xfb6c54(0x381)]),w(0xa,a[_0xfb6c54(0x28b)]),w(0xb,a['IUndoRedoService']),w(0xc,g[_0xfb6c54(0x30f)]),w(0xd,a[_0xfb6c54(0x3c5)](z))],exports[_0xfb6c54(0x180)]);function Dt(_0x38ede9,_0x59dff4,_0x14a242,_0x182eb2,_0xad329c,_0x4a6d65){var _0x371d49=_0xfb6c54;return _0x182eb2&&_0xad329c['length']?_0x38ede9['createInstance'](exports['AwaitingWithPendingState'],_0x59dff4,_0x14a242,_0x182eb2,_0xad329c,_0x4a6d65,void 0x0):_0x182eb2?_0x38ede9[_0x371d49(0x46b)](exports[_0x371d49(0x264)],_0x59dff4,_0x14a242,_0x182eb2,_0x4a6d65):_0xad329c['length']?_0x38ede9[_0x371d49(0x46b)](exports[_0x371d49(0x3a8)],_0x59dff4,_0x14a242,_0xad329c,_0x4a6d65):_0x38ede9[_0x371d49(0x46b)](exports['SyncedState'],_0x59dff4,_0x14a242,_0x4a6d65);}var Ci=Object[_0xfb6c54(0x49b)],We=(_0xb52b39,_0x20e025,_0x56de4f,_0x2c3272)=>{for(var _0x5e9012=_0x2c3272>0x1?void 0x0:_0x2c3272?Ci(_0x20e025,_0x56de4f):_0x20e025,_0x3060f0=_0xb52b39['length']-0x1,_0x321e83;_0x3060f0>=0x0;_0x3060f0--)(_0x321e83=_0xb52b39[_0x3060f0])&&(_0x5e9012=_0x321e83(_0x5e9012)||_0x5e9012);return _0x5e9012;},$=(_0x1a4932,_0x2950eb)=>(_0x2f5397,_0x217ced)=>_0x2950eb(_0x2f5397,_0x217ced,_0x1a4932);exports[_0xfb6c54(0x3c0)]=class extends a[_0xfb6c54(0x2b0)]{constructor(_0x468713,_0xe9c9f8,_0x4500fb,_0x14acbd,_0x256270,_0x34cb66,_0x273e29,_0x2ed29f,_0x25e690,_0xe32273,_0x98bfe2,_0x5d41bc,_0x52deed){var _0x344886=_0xfb6c54;super(),A(this,'_state$',new j[(_0x344886(0x414))](null)),A(this,_0x344886(0x1b9),this[_0x344886(0x2e2)][_0x344886(0x380)]()),A(this,_0x344886(0x274)),A(this,'_collaborationPaused',!0x1),A(this,_0x344886(0x210),''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x344886(0x1b9)][_0x344886(0x2ee)](j[_0x344886(0x2b2)](_0x1438be=>_0x1438be?_0x1438be[_0x344886(0x2c3)]:Ve[_0x344886(0x1b8)]),j['shareReplay'](0x1))),A(this,_0x344886(0x309),!0x1),A(this,_0x344886(0x2ab),[]),(this['unitID']=_0x468713,this[_0x344886(0x31c)]=_0xe9c9f8,this[_0x344886(0x374)]=_0x4500fb,this['_injector']=_0x14acbd,this[_0x344886(0x310)]=_0x256270,this[_0x344886(0x30a)]=_0x34cb66,this[_0x344886(0x299)]=_0x273e29,this[_0x344886(0x447)]=_0x2ed29f,this['_logService']=_0x25e690,this['_commandService']=_0xe32273,this[_0x344886(0x2eb)]=_0x98bfe2,this[_0x344886(0x3e9)]=_0x5d41bc,this['_localCacheService']=_0x52deed);}get[_0xfb6c54(0x3f4)](){var _0x4abdd2=_0xfb6c54;return this[_0x4abdd2(0x274)];}async[_0xfb6c54(0x489)](){var _0x520d30=_0xfb6c54;if(this['state'])throw new Error(_0x520d30(0x28a));await this[_0x520d30(0x218)]();}[_0xfb6c54(0x3f6)](){var _0x109967=_0xfb6c54;return this[_0x109967(0x387)]=!0x0,a[_0x109967(0x238)](()=>{var _0x59567d=_0x109967;this[_0x59567d(0x387)]=!0x1,this[_0x59567d(0x3a0)]();});}[_0xfb6c54(0x22a)](_0x7a7e9a){var _0x7f85c9=_0xfb6c54;this[_0x7f85c9(0x27d)](_0x7a7e9a);}[_0xfb6c54(0x3b8)](_0x3cb909){var _0x14ed4c=_0xfb6c54;this['_state']=_0x3cb909,this[_0x14ed4c(0x2e2)]['next'](_0x3cb909);}async['_init'](){var _0x4359c9=_0xfb6c54,_0x3f8cc5;this[_0x4359c9(0x3b8)](await this[_0x4359c9(0x49e)]()),this[_0x4359c9(0x3e9)]&&((_0x3f8cc5=this[_0x4359c9(0x3e9)])==null||_0x3f8cc5[_0x4359c9(0x379)](this[_0x4359c9(0x34e)]),this[_0x4359c9(0x26e)](this['_singleActiveUnitService'][_0x4359c9(0x1ea)](this[_0x4359c9(0x34e)])[_0x4359c9(0x38e)](_0x50e611=>{var _0x11a9a6=_0x4359c9;this[_0x11a9a6(0x438)]['debug'](_0x11a9a6(0x2f2),_0x11a9a6(0x43d),_0x50e611),_0x50e611===Fe[_0x11a9a6(0x36c)]?(this[_0x11a9a6(0x447)][_0x11a9a6(0x1f1)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x11a9a6(0x2eb)][_0x11a9a6(0x33c)](new Z[(_0x11a9a6(0x3eb))](this[_0x11a9a6(0x34e)])['id'],!0x1),this[_0x11a9a6(0x2eb)][_0x11a9a6(0x192)](!0x1)):(this[_0x11a9a6(0x2eb)]['updatePermissionPoint'](new Z[(_0x11a9a6(0x3eb))](this[_0x11a9a6(0x34e)])['id'],!0x0),this['_permissionService'][_0x11a9a6(0x192)](!0x0));})));let _0x48cba7=!0x1;return this[_0x4359c9(0x26e)](this[_0x4359c9(0x31c)][_0x4359c9(0x4ac)][_0x4359c9(0x38e)](_0x51d9ea=>{var _0x16076a=_0x4359c9;_0x51d9ea===se[_0x16076a(0x37a)]?this['_toggleOnline'](_0x48cba7):_0x51d9ea===se[_0x16076a(0x1b8)]&&(_0x48cba7=!0x0,this[_0x16076a(0x2f1)]());})),this[_0x4359c9(0x26e)](this[_0x4359c9(0x31c)][_0x4359c9(0x24c)][_0x4359c9(0x38e)](_0x51f9f8=>{var _0x420aa4=_0x4359c9;try{switch(_0x51f9f8[_0x420aa4(0x280)]){case g[_0x420aa4(0x20e)][_0x420aa4(0x334)]:{this[_0x420aa4(0x1f5)](g[_0x420aa4(0x2fd)](_0x51f9f8[_0x420aa4(0x1b0)]));break;}case g[_0x420aa4(0x20e)][_0x420aa4(0x22c)]:{this[_0x420aa4(0x20d)](_0x51f9f8['data']);break;}case g[_0x420aa4(0x20e)]['CHANGESET_REJ']:{this[_0x420aa4(0x424)]();break;}case g['CollaborationEvent'][_0x420aa4(0x248)]:{this['_onRemoteRetry'](_0x51f9f8[_0x420aa4(0x1b0)]);break;}case g['CollaborationEvent'][_0x420aa4(0x2ca)]:{this[_0x420aa4(0x1b7)](_0x51f9f8[_0x420aa4(0x1b0)]['changesets'][_0x420aa4(0x2b2)](_0xb9581c=>g[_0x420aa4(0x2fd)](_0xb9581c)));break;}case g[_0x420aa4(0x20e)][_0x420aa4(0x230)]:{this[_0x420aa4(0x424)]({'isPermissionRej':!0x0});break;}case g[_0x420aa4(0x20e)][_0x420aa4(0x1e0)]:break;}}catch(_0x463ed2){throw console['error'](_0x420aa4(0x1e3),_0x463ed2),_0x463ed2;}})),this[_0x4359c9(0x274)];}[_0xfb6c54(0x44b)](){var _0x9e4c12=_0xfb6c54;this[_0x9e4c12(0x309)]=!0x1;}['_lockTransition'](){var _0x434197=_0xfb6c54;if(this[_0x434197(0x309)])throw new Error(_0x434197(0x474));this[_0x434197(0x309)]=!0x0;}[_0xfb6c54(0x27d)](_0x28adbe){var _0x3da467=_0xfb6c54;this[_0x3da467(0x3e6)](),this[_0x3da467(0x3b8)](this[_0x3da467(0x274)][_0x3da467(0x497)](_0x28adbe)),this[_0x3da467(0x44b)]();}[_0xfb6c54(0x1f5)](_0x32635b){var _0x310a60=_0xfb6c54;if(!(_0x32635b['revision']<=this['_revisionService'][_0x310a60(0x1c8)](this[_0x310a60(0x34e)]))){if(this[_0x310a60(0x387)]){this[_0x310a60(0x2ab)][_0x310a60(0x308)](_0x32635b);return;}this['_applyRemoteChangeset'](_0x32635b);}}[_0xfb6c54(0x3a0)](){var _0x20a90a=_0xfb6c54;this[_0x20a90a(0x2ab)][_0x20a90a(0x454)](_0x34159d=>this['_applyRemoteChangeset'](_0x34159d)),this[_0x20a90a(0x2ab)]=[];}[_0xfb6c54(0x36f)](_0x162aba){var _0x471b34=_0xfb6c54;const _0xee665f=this['_compressMutationService'][_0x471b34(0x1bc)][_0x471b34(0x24a)](this['_compressMutationService'][_0x471b34(0x1bc)][_0x471b34(0x49a)]()[_0x471b34(0x322)])(_0x162aba['mutations'],null)||_0x162aba[_0x471b34(0x1b2)],_0x5dba35={..._0x162aba,'mutations':_0xee665f};this[_0x471b34(0x3e6)](),this['_updateState'](this[_0x471b34(0x274)]['onRemoteChangeset'](_0x5dba35)),this['_unlockTransition']();}[_0xfb6c54(0x20d)](_0x5408e2){var _0x37e2d6=_0xfb6c54;this[_0x37e2d6(0x3e6)](),this[_0x37e2d6(0x3b8)](this[_0x37e2d6(0x274)][_0x37e2d6(0x355)](_0x5408e2)),this[_0x37e2d6(0x44b)]();}[_0xfb6c54(0x424)](_0x2f1eca){var _0xa448d3=_0xfb6c54;this['_lockTransition'](),this[_0xa448d3(0x3b8)](this[_0xa448d3(0x274)]['onRemoteRej'](_0x2f1eca)),this[_0xa448d3(0x44b)]();}['_onRemoteRetry'](_0x3777cd){var _0x57e2cf=_0xfb6c54;this[_0x57e2cf(0x3e6)](),this[_0x57e2cf(0x3b8)](this['_state'][_0x57e2cf(0x42f)](_0x3777cd)),this[_0x57e2cf(0x44b)]();}['_onFetchMissResult'](_0x210ea1){var _0x55e30b=_0xfb6c54;if(!(this[_0x55e30b(0x274)]instanceof exports[_0x55e30b(0x180)]))throw new TypeError(_0x55e30b(0x185));const _0x2c7643=_0x210ea1[_0x55e30b(0x2b2)](_0x8e6b87=>{var _0x61c0df=_0x55e30b;const _0x4d0118=this[_0x61c0df(0x310)][_0x61c0df(0x1bc)][_0x61c0df(0x24a)](this['_compressMutationService'][_0x61c0df(0x1bc)][_0x61c0df(0x49a)]()[_0x61c0df(0x322)])(_0x8e6b87[_0x61c0df(0x1b2)],null)||_0x8e6b87[_0x61c0df(0x1b2)];return{..._0x8e6b87,'mutations':_0x4d0118};});this[_0x55e30b(0x3e6)](),this['_updateState'](this[_0x55e30b(0x274)][_0x55e30b(0x15a)](_0x2c7643)),this[_0x55e30b(0x44b)]();}['_toggleOffline'](){var _0x59d37a=_0xfb6c54;this[_0x59d37a(0x3e6)](),this[_0x59d37a(0x3b8)](this[_0x59d37a(0x274)][_0x59d37a(0x41d)]()),this[_0x59d37a(0x44b)]();}[_0xfb6c54(0x2a3)](_0x33ca80=!0x1){var _0x30624e=_0xfb6c54;this[_0x30624e(0x3e6)](),this['_updateState'](this[_0x30624e(0x274)][_0x30624e(0x3ae)]()),this[_0x30624e(0x44b)]();const _0x2deb55=this[_0x30624e(0x274)];_0x33ca80&&_0x2deb55 instanceof exports[_0x30624e(0x421)]&&(this['_lockTransition'](),this[_0x30624e(0x3b8)](_0x2deb55[_0x30624e(0x27b)]()),this[_0x30624e(0x44b)]());}async[_0xfb6c54(0x49e)](){return new Promise(_0x465882=>{var _0x1a3069=_0x430f;this['session'][_0x1a3069(0x4ac)][_0x1a3069(0x2ee)](j[_0x1a3069(0x477)](0x1))['subscribe'](async _0x43d9a2=>{var _0x14886c=_0x1a3069;_0x465882(await this[_0x14886c(0x19d)](_0x43d9a2===se[_0x14886c(0x37a)]));});});}['_createHandler'](){var _0x5b1e34=_0xfb6c54;const _0x3c7628=this[_0x5b1e34(0x34e)];return{'onStateChange':(_0x294813,_0x1d3e51)=>{var _0x584fe8=_0x5b1e34;if(_0x294813!==this[_0x584fe8(0x274)])throw new Error(_0x584fe8(0x4ab)+_0x294813[_0x584fe8(0x2c3)]+_0x584fe8(0x2d0)+_0x1d3e51[_0x584fe8(0x2c3)]+_0x584fe8(0x29e)+this[_0x584fe8(0x274)]['status']);this[_0x584fe8(0x3b8)](_0x1d3e51);},'onSendChangeset':_0xfe9eb7=>{var _0x1741c4=_0x5b1e34;_0xfe9eb7['sid']||(_0xfe9eb7[_0x1741c4(0x19a)]=this[_0x1741c4(0x210)],_0xfe9eb7[_0x1741c4(0x437)]=++this[_0x1741c4(0x286)]);const _0x3ddb82={'eventID':g[_0x1741c4(0x20e)][_0x1741c4(0x35f)],'data':{'unitID':_0xfe9eb7[_0x1741c4(0x34e)],'unitType':this['_type'],'changeset':_0xfe9eb7,'memberID':this[_0x1741c4(0x31c)]['getMemberID']()}};this['session'][_0x1741c4(0x283)](_0x3ddb82,this[_0x1741c4(0x34e)]);},'onMissingChangesets':({from:_0x2d20e0,to:_0x55d87c})=>{var _0x254225=_0x5b1e34;this[_0x254225(0x438)]['debug']('[CollaborationEntity]',_0x254225(0x291)+_0x2d20e0+_0x254225(0x389)+_0x55d87c);const _0x28fd5f={'eventID':g[_0x254225(0x20e)]['FETCH_MISSING'],'data':{'unitID':_0x3c7628,'unitType':this[_0x254225(0x374)],'from':_0x2d20e0,'to':_0x55d87c}};this[_0x254225(0x31c)]['send'](_0x28fd5f,this['unitID']);}};}async[_0xfb6c54(0x19d)](_0x5dfb67){var _0x2eb8d5=_0xfb6c54,_0x3387c3,_0x47a6f8,_0x5072d6;const _0x41218d=await((_0x3387c3=this[_0x2eb8d5(0x268)])==null?void 0x0:_0x3387c3['loadOfflineData'](this[_0x2eb8d5(0x34e)])),_0x3ba7df=(_0x47a6f8=_0x41218d==null?void 0x0:_0x41218d['mutations'])!=null?_0x47a6f8:[],_0x2fef6b=(_0x5072d6=_0x41218d==null?void 0x0:_0x41218d['awaitingChangeset'])!=null?_0x5072d6:null,_0x1acc6b=!!(_0x2fef6b!=null&&_0x2fef6b[_0x2eb8d5(0x19a)])&&!!(_0x2fef6b!=null&&_0x2fef6b['reqId']);this[_0x2eb8d5(0x210)]=_0x1acc6b?_0x2fef6b[_0x2eb8d5(0x19a)]:di(),this[_0x2eb8d5(0x286)]=_0x1acc6b?_0x2fef6b[_0x2eb8d5(0x437)]:0x0;const _0x1fb9a9=this[_0x2eb8d5(0x34e)];try{this[_0x2eb8d5(0x3c2)](_0x2fef6b,_0x3ba7df);}catch(_0x53620d){this[_0x2eb8d5(0x438)][_0x2eb8d5(0x4b4)](_0x53620d);}const _0x1e2ceb=this[_0x2eb8d5(0x23a)]();if(_0x5dfb67){const _0x185536=Dt(this[_0x2eb8d5(0x1c0)],_0x1fb9a9,this[_0x2eb8d5(0x374)],_0x2fef6b,_0x3ba7df,_0x1e2ceb);return _0x185536 instanceof exports[_0x2eb8d5(0x3a8)]?_0x185536[_0x2eb8d5(0x38d)]():(_0x185536 instanceof exports['AwaitingWithPendingState']||_0x185536 instanceof exports[_0x2eb8d5(0x264)])&&_0x185536[_0x2eb8d5(0x1a4)](),_0x185536;}return this[_0x2eb8d5(0x1c0)][_0x2eb8d5(0x46b)](exports[_0x2eb8d5(0x1e4)],_0x1fb9a9,this[_0x2eb8d5(0x374)],_0x2fef6b,_0x3ba7df,_0x1e2ceb);}['_replayCachedMutations'](_0x21996e,_0x57befe){var _0x5424ce=_0xfb6c54,_0x24f96d,_0x102d30;const _0x58c27a=this[_0x5424ce(0x310)][_0x5424ce(0x1bc)]['fetchThroughInterceptors'](this[_0x5424ce(0x310)][_0x5424ce(0x1bc)][_0x5424ce(0x49a)]()[_0x5424ce(0x322)]);(_0x24f96d=_0x58c27a((_0x21996e==null?void 0x0:_0x21996e[_0x5424ce(0x1b2)])||[],null))==null||_0x24f96d[_0x5424ce(0x454)](_0x4fdf91=>this[_0x5424ce(0x3fc)][_0x5424ce(0x20a)](_0x4fdf91['id'],_0x4fdf91[_0x5424ce(0x3b6)])),(_0x102d30=_0x58c27a(_0x57befe||[],null))==null||_0x102d30[_0x5424ce(0x454)](_0x5a8b86=>this[_0x5424ce(0x3fc)]['executeCommand'](_0x5a8b86['id'],_0x5a8b86[_0x5424ce(0x3b6)]));}},exports[_0xfb6c54(0x3c0)]=We([$(0x3,a['Inject'](a[_0xfb6c54(0x323)])),$(0x4,a['Inject'](g[_0xfb6c54(0x1ec)])),$(0x5,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x425)])),$(0x6,a[_0xfb6c54(0x205)](g[_0xfb6c54(0x235)])),$(0x7,a[_0xfb6c54(0x205)](te)),$(0x8,a[_0xfb6c54(0x381)]),$(0x9,a['ICommandService']),$(0xa,a[_0xfb6c54(0x36a)]),$(0xb,a[_0xfb6c54(0x3c5)](ve)),$(0xc,a[_0xfb6c54(0x3c5)](z))],exports[_0xfb6c54(0x3c0)]),exports['DocCollaborationEntity']=class extends exports[_0xfb6c54(0x3c0)]{constructor(_0x460654,_0x2bab3c,_0x47b852,_0x446ba7,_0x45e1b7,_0x3c5425,_0x316f96,_0x4c01ff,_0x4df552,_0x56f683,_0x4e06bb,_0xe1d27c,_0x42ec4b){var _0x5657a9=_0xfb6c54;super(_0x460654,_0x47b852,_0x2bab3c,_0x446ba7,_0x45e1b7,_0x3c5425,_0x316f96,_0x4c01ff,_0x4df552,_0x56f683,_0x4e06bb,_0xe1d27c,_0x42ec4b),A(this,_0x5657a9(0x3bf),null),(this[_0x5657a9(0x34e)]=_0x460654,this['type']=_0x2bab3c);}['addHandlerCallback'](_0x164ab6){var _0x4edca2=_0xfb6c54;this[_0x4edca2(0x3bf)]=_0x164ab6;}[_0xfb6c54(0x3f5)](){var _0x36b237=_0xfb6c54;this[_0x36b237(0x3bf)]=null,super[_0x36b237(0x3f5)]();}[_0xfb6c54(0x23a)](){var _0x3983e5=_0xfb6c54;const _0x578bbc=super[_0x3983e5(0x23a)]();return _0x578bbc[_0x3983e5(0x419)]=_0x2bf5a0=>{var _0x200fad=_0x3983e5,_0x50a2d3,_0x4e023a;return(_0x4e023a=(_0x50a2d3=this[_0x200fad(0x3bf)])==null?void 0x0:_0x50a2d3[_0x200fad(0x419)])==null?void 0x0:_0x4e023a[_0x200fad(0x244)](_0x50a2d3,_0x2bf5a0);},_0x578bbc[_0x3983e5(0x478)]=_0x1a00e8=>{var _0x2868eb=_0x3983e5,_0x2f9ac4,_0x2878d3;return(_0x2878d3=(_0x2f9ac4=this[_0x2868eb(0x3bf)])==null?void 0x0:_0x2f9ac4[_0x2868eb(0x478)])==null?void 0x0:_0x2878d3[_0x2868eb(0x244)](_0x2f9ac4,_0x1a00e8);},_0x578bbc[_0x3983e5(0x25d)]=_0x2396dc=>{var _0x3bccd1=_0x3983e5,_0x578696,_0x26c163;return(_0x26c163=(_0x578696=this[_0x3bccd1(0x3bf)])==null?void 0x0:_0x578696[_0x3bccd1(0x25d)])==null?void 0x0:_0x26c163[_0x3bccd1(0x244)](_0x578696,_0x2396dc);},_0x578bbc[_0x3983e5(0x284)]=_0x5eefaa=>{var _0x160d8a=_0x3983e5,_0x3ffb51,_0x1c8aef;return(_0x1c8aef=(_0x3ffb51=this[_0x160d8a(0x3bf)])==null?void 0x0:_0x3ffb51['onSyncEditingCollabCursor'])==null?void 0x0:_0x1c8aef[_0x160d8a(0x244)](_0x3ffb51,_0x5eefaa);},_0x578bbc[_0x3983e5(0x265)]=_0xecc323=>{var _0x243c65=_0x3983e5,_0x4d26f1,_0x36a076,_0x4deda0;if(!((_0x4d26f1=this[_0x243c65(0x3bf)])!=null&&_0x4d26f1[_0x243c65(0x265)]))throw new Error(_0x243c65(0x32a));return(_0x4deda0=(_0x36a076=this[_0x243c65(0x3bf)])==null?void 0x0:_0x36a076['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4deda0[_0x243c65(0x244)](_0x36a076,_0xecc323);},_0x578bbc[_0x3983e5(0x2ef)]=_0x36ae5=>{var _0x423f94=_0x3983e5,_0x11deef,_0x2a74dc,_0xb1822f;if(!((_0x11deef=this[_0x423f94(0x3bf)])!=null&&_0x11deef['onTransformRemoteChangesetByStateCache']))throw new Error(_0x423f94(0x176));return(_0xb1822f=(_0x2a74dc=this[_0x423f94(0x3bf)])==null?void 0x0:_0x2a74dc[_0x423f94(0x2ef)])==null?void 0x0:_0xb1822f[_0x423f94(0x244)](_0x2a74dc,_0x36ae5);},_0x578bbc;}async[_0xfb6c54(0x218)](){var _0x34df8a=_0xfb6c54;const _0x1fd6d7=await super['_init']();return this[_0x34df8a(0x26e)](this['_commandService'][_0x34df8a(0x48a)]((_0x27ac15,_0x48ba9a)=>{var _0x432b5c=_0x34df8a;if(_0x27ac15[_0x432b5c(0x37f)]!==a['CommandType'][_0x432b5c(0x42d)]||_0x48ba9a!=null&&_0x48ba9a[_0x432b5c(0x1d5)]||_0x48ba9a!=null&&_0x48ba9a[_0x432b5c(0x4b2)]||_0x27ac15['id']===ut[_0x432b5c(0x37b)]['id'])return;const _0x1f8cae=_0x27ac15[_0x432b5c(0x3b6)];if((_0x1f8cae==null?void 0x0:_0x1f8cae['unitId'])!==this[_0x432b5c(0x34e)])return;const _0x4c8a57=_0x27ac15,_0x312791=this[_0x432b5c(0x310)]['interceptor'][_0x432b5c(0x24a)](this['_compressMutationService']['interceptor'][_0x432b5c(0x49a)]()['COMPRESS_MUTATION_SEND'])([_0x4c8a57],null)||[_0x4c8a57];this[_0x432b5c(0x27d)](_0x312791[0x0]);})),_0x1fd6d7;}},exports[_0xfb6c54(0x450)]=We([$(0x3,a['Inject'](a[_0xfb6c54(0x323)])),$(0x4,a[_0xfb6c54(0x205)](g['CompressMutationService'])),$(0x5,a[_0xfb6c54(0x205)](a['LocaleService'])),$(0x6,a[_0xfb6c54(0x205)](g[_0xfb6c54(0x235)])),$(0x7,a[_0xfb6c54(0x205)](te)),$(0x8,a[_0xfb6c54(0x381)]),$(0x9,a[_0xfb6c54(0x28b)]),$(0xa,a['IPermissionService']),$(0xb,a[_0xfb6c54(0x3c5)](ve)),$(0xc,a[_0xfb6c54(0x3c5)](z))],exports[_0xfb6c54(0x450)]),exports[_0xfb6c54(0x201)]=class extends exports[_0xfb6c54(0x3c0)]{constructor(_0x29d495,_0xd82b3e,_0xe383d1,_0x418533,_0x5536ed,_0x66b51e,_0x559b05,_0x1e7caa,_0x5a4ba9,_0xff612a,_0x5a8434,_0x483dc3,_0x394b13,_0x5aea23){var _0x7a080e=_0xfb6c54;super(_0x29d495,_0xe383d1,_0xd82b3e,_0x418533,_0x5536ed,_0x66b51e,_0x559b05,_0x5a4ba9,_0xff612a,_0x5a8434,_0x483dc3,_0x394b13,_0x5aea23),this[_0x7a080e(0x34e)]=_0x29d495,this[_0x7a080e(0x37f)]=_0xd82b3e,this[_0x7a080e(0x40f)]=_0x1e7caa;}[_0xfb6c54(0x23a)](){var _0x3daf42=_0xfb6c54;const _0x5b86e4=super[_0x3daf42(0x23a)]();return _0x5b86e4['onTransformSelections']=_0x21e382=>this[_0x3daf42(0x40f)][_0x3daf42(0x3d1)](_0x21e382),_0x5b86e4;}async[_0xfb6c54(0x218)](){var _0x537f64=_0xfb6c54;const _0x4d024d=await super[_0x537f64(0x218)]();return this['disposeWithMe'](this[_0x537f64(0x3fc)][_0x537f64(0x48a)]((_0x45f273,_0x48542e)=>{var _0x2c8803=_0x537f64;if(_0x45f273[_0x2c8803(0x37f)]!==a[_0x2c8803(0x1a5)]['MUTATION']||_0x48542e!=null&&_0x48542e[_0x2c8803(0x1d5)]||_0x48542e!=null&&_0x48542e['onlyLocal'])return;const _0x392388=_0x45f273[_0x2c8803(0x3b6)];if((_0x392388==null?void 0x0:_0x392388[_0x2c8803(0x1ce)])!==this[_0x2c8803(0x34e)])return;const _0x534d1e=_0x45f273,_0x3f2fa8=this[_0x2c8803(0x310)][_0x2c8803(0x1bc)][_0x2c8803(0x24a)](this[_0x2c8803(0x310)][_0x2c8803(0x1bc)][_0x2c8803(0x49a)]()[_0x2c8803(0x157)])([_0x534d1e],null)||[_0x534d1e];this['_onLocalMutation'](_0x3f2fa8[0x0]);})),_0x4d024d;}},exports[_0xfb6c54(0x201)]=We([$(0x3,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x323)])),$(0x4,a[_0xfb6c54(0x205)](g[_0xfb6c54(0x1ec)])),$(0x5,a['Inject'](a[_0xfb6c54(0x425)])),$(0x6,a[_0xfb6c54(0x205)](g['RevisionService'])),$(0x7,a[_0xfb6c54(0x205)](exports[_0xfb6c54(0x2dc)])),$(0x8,a[_0xfb6c54(0x205)](te)),$(0x9,a[_0xfb6c54(0x381)]),$(0xa,a[_0xfb6c54(0x28b)]),$(0xb,a['IPermissionService']),$(0xc,a[_0xfb6c54(0x3c5)](ve)),$(0xd,a['Optional'](z))],exports['SheetCollaborationEntity']);var Ti=Object[_0xfb6c54(0x49b)],bi=(_0x5092d7,_0x33936e,_0x10a979,_0x2c4768)=>{var _0x456de3=_0xfb6c54;for(var _0x2ea6bb=_0x2c4768>0x1?void 0x0:_0x2c4768?Ti(_0x33936e,_0x10a979):_0x33936e,_0x354b4a=_0x5092d7[_0x456de3(0x266)]-0x1,_0x1aa3f8;_0x354b4a>=0x0;_0x354b4a--)(_0x1aa3f8=_0x5092d7[_0x354b4a])&&(_0x2ea6bb=_0x1aa3f8(_0x2ea6bb)||_0x2ea6bb);return _0x2ea6bb;},Pe=(_0x2104ae,_0x325522)=>(_0x59a126,_0x25f074)=>_0x325522(_0x59a126,_0x25f074,_0x2104ae);exports[_0xfb6c54(0x362)]=class extends a[_0xfb6c54(0x2b0)]{constructor(_0x400c74,_0x10c058,_0x19cf3b){var _0x54a972=_0xfb6c54;super(),A(this,_0x54a972(0x434),new Map()),A(this,_0x54a972(0x249),new j[(_0x54a972(0x3e2))]()),A(this,_0x54a972(0x2e6),this[_0x54a972(0x249)][_0x54a972(0x380)]()),(this[_0x54a972(0x1c0)]=_0x400c74,this[_0x54a972(0x32c)]=_0x10c058,this[_0x54a972(0x45e)]=_0x19cf3b,this[_0x54a972(0x218)]());}[_0xfb6c54(0x3f5)](){var _0x46e95c=_0xfb6c54;super[_0x46e95c(0x3f5)](),this[_0x46e95c(0x434)]['forEach'](_0x11b1df=>_0x11b1df[_0x46e95c(0x3f5)]()),this[_0x46e95c(0x434)][_0x46e95c(0x289)]();}[_0xfb6c54(0x365)](_0x22d7a2){var _0x5ee967=_0xfb6c54,_0x13bf68;return(_0x13bf68=this[_0x5ee967(0x434)][_0x5ee967(0x2c4)](_0x22d7a2))!=null?_0x13bf68:null;}['getCollabEntity$'](_0x5e84fa){var _0x10fc37=_0xfb6c54;const _0x4da9c6=this[_0x10fc37(0x365)](_0x5e84fa);return _0x4da9c6?j['of'](_0x4da9c6):this['_entityInit$'][_0x10fc37(0x2ee)](V[_0x10fc37(0x43a)](_0x554db6=>_0x554db6[_0x10fc37(0x34e)]===_0x5e84fa));}[_0xfb6c54(0x346)](_0x8f3e2d){var _0x74e097=_0xfb6c54;return j[_0x74e097(0x328)](this[_0x74e097(0x29a)](_0x8f3e2d)['pipe'](V[_0x74e097(0x2b2)](()=>{})));}['_init'](){var _0x411fe8=_0xfb6c54;this['_univerInstanceService'][_0x411fe8(0x44d)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x411fe8(0x2ee)](j[_0x411fe8(0x1d9)](this[_0x411fe8(0x208)]),V[_0x411fe8(0x3c7)](0x10))[_0x411fe8(0x38e)](async _0xe0f8ef=>{var _0x40a0e7=_0x411fe8;const _0x216fdf=_0xe0f8ef[_0x40a0e7(0x3b9)](),_0x48713f=await this[_0x40a0e7(0x4bf)](_0x216fdf,X[_0x40a0e7(0x45b)]);this[_0x40a0e7(0x434)][_0x40a0e7(0x1da)](_0x216fdf,_0x48713f);}),this[_0x411fe8(0x45e)][_0x411fe8(0x44d)](a['UniverInstanceType'][_0x411fe8(0x3e7)])[_0x411fe8(0x2ee)](j['takeUntil'](this[_0x411fe8(0x208)]),V[_0x411fe8(0x3c7)](0x10))[_0x411fe8(0x2ee)](V[_0x411fe8(0x43a)](_0xf32148=>!_0xf32148[_0x411fe8(0x3b9)]()[_0x411fe8(0x47a)]('__')))[_0x411fe8(0x38e)](async _0x57e55d=>{var _0x2e4a1c=_0x411fe8;const _0x2cd87a=_0x57e55d[_0x2e4a1c(0x3b9)](),_0x149893=await this['_startCollaboration'](_0x2cd87a,X[_0x2e4a1c(0x3e7)]);this['_entities'][_0x2e4a1c(0x1da)](_0x2cd87a,_0x149893);}),j[_0x411fe8(0x2a2)](this[_0x411fe8(0x45e)]['getTypeOfUnitDisposed$'](a[_0x411fe8(0x2b5)]['UNIVER_SHEET']),this[_0x411fe8(0x45e)][_0x411fe8(0x47c)](a[_0x411fe8(0x2b5)][_0x411fe8(0x3e7)]))[_0x411fe8(0x2ee)](j[_0x411fe8(0x1d9)](this[_0x411fe8(0x208)]))[_0x411fe8(0x38e)](_0x3dd163=>{var _0x36ccbd=_0x411fe8;const _0x38e5ad=_0x3dd163[_0x36ccbd(0x3b9)](),_0x1eeea7=this[_0x36ccbd(0x434)][_0x36ccbd(0x2c4)](_0x38e5ad);_0x1eeea7&&(_0x1eeea7[_0x36ccbd(0x3f5)](),this[_0x36ccbd(0x434)][_0x36ccbd(0x199)](_0x38e5ad));});}async[_0xfb6c54(0x4bf)](_0x18c923,_0x34a869){var _0x2ad433=_0xfb6c54;const _0x581cfc=await this[_0x2ad433(0x32c)][_0x2ad433(0x1bb)](_0x18c923),_0x4a0946=this[_0x2ad433(0x1c0)][_0x2ad433(0x46b)](this[_0x2ad433(0x271)](_0x34a869),_0x18c923,_0x34a869,_0x581cfc);return await _0x4a0946[_0x2ad433(0x489)](),this[_0x2ad433(0x249)]['next'](_0x4a0946),_0x4a0946;}[_0xfb6c54(0x271)](_0x303c38){var _0x37f420=_0xfb6c54;switch(_0x303c38){case X['UNIVER_DOC']:return exports[_0x37f420(0x450)];case X[_0x37f420(0x45b)]:return exports[_0x37f420(0x201)];default:throw new Error(_0x37f420(0x16f)+_0x303c38);}}},exports[_0xfb6c54(0x362)]=bi([Pe(0x0,a['Inject'](a[_0xfb6c54(0x323)])),Pe(0x1,a['Inject'](exports['CollaborationSessionService'])),Pe(0x2,a[_0xfb6c54(0x404)])],exports['CollaborationController']);var Ri=Object[_0xfb6c54(0x49b)],yi=(_0xef3998,_0xb58b66,_0x250efc,_0x2366e0)=>{var _0xa40fc1=_0xfb6c54;for(var _0x17c892=_0x2366e0>0x1?void 0x0:_0x2366e0?Ri(_0xb58b66,_0x250efc):_0xb58b66,_0x152ec9=_0xef3998[_0xa40fc1(0x266)]-0x1,_0x1a7e5f;_0x152ec9>=0x0;_0x152ec9--)(_0x1a7e5f=_0xef3998[_0x152ec9])&&(_0x17c892=_0x1a7e5f(_0x17c892)||_0x17c892);return _0x17c892;},Je=(_0x56a71a,_0x5f39c9)=>(_0xb97644,_0x3a2e8b)=>_0x5f39c9(_0xb97644,_0x3a2e8b,_0x56a71a);const Oi=_0xfb6c54(0x35e),Ni=_0xfb6c54(0x296);let He=class extends a[_0xfb6c54(0x326)]{constructor(_0x2bd02a,_0x16f0a1){var _0x5c2619=_0xfb6c54;super(),this[_0x5c2619(0x45e)]=_0x2bd02a,this['_configService']=_0x16f0a1,this[_0x5c2619(0x218)]();}[_0xfb6c54(0x218)](){var _0x52dab9=_0xfb6c54;this[_0x52dab9(0x26e)](this[_0x52dab9(0x45e)][_0x52dab9(0x481)][_0x52dab9(0x38e)](()=>{var _0x37c694=_0x52dab9,_0x4f3b7c;const _0x7bda9f=this['_univerInstanceService']['getFocusedUnit']();let _0x44d7d1=(_0x4f3b7c=this[_0x37c694(0x34a)][_0x37c694(0x354)](Oi))!=null?_0x4f3b7c:Ni;_0x7bda9f instanceof a['Workbook']&&(_0x44d7d1=_0x7bda9f[_0x37c694(0x170)]),document[_0x37c694(0x408)]=_0x44d7d1;}));}};He=yi([Je(0x0,a[_0xfb6c54(0x404)]),Je(0x1,a[_0xfb6c54(0x3d0)])],He);var Di=Object['getOwnPropertyDescriptor'],Ui=(_0x1e48c0,_0x19f1b8,_0x3b96b8,_0x114dba)=>{var _0x3fc713=_0xfb6c54;for(var _0x46c23d=_0x114dba>0x1?void 0x0:_0x114dba?Di(_0x19f1b8,_0x3b96b8):_0x19f1b8,_0x8c1403=_0x1e48c0[_0x3fc713(0x266)]-0x1,_0xc95dcf;_0x8c1403>=0x0;_0x8c1403--)(_0xc95dcf=_0x1e48c0[_0x8c1403])&&(_0x46c23d=_0xc95dcf(_0x46c23d)||_0x46c23d);return _0x46c23d;},we=(_0x1fc3fc,_0x3c767b)=>(_0x55649f,_0x2d6d09)=>_0x3c767b(_0x55649f,_0x2d6d09,_0x1fc3fc);let Oe=class{constructor(_0xb4d8a5,_0x151916,_0x52dc6b){var _0x13ff0d=_0xfb6c54;this[_0x13ff0d(0x34a)]=_0xb4d8a5,this[_0x13ff0d(0x18c)]=_0x151916,this[_0x13ff0d(0x29f)]=_0x52dc6b,this[_0x13ff0d(0x489)]();}[_0xfb6c54(0x489)](){var _0x588b9d=_0xfb6c54;this[_0x588b9d(0x18c)][_0x588b9d(0x34b)]({'priority':0x1,'interceptor':(_0x473dc0,_0x218641)=>_0x218641(_0x473dc0)[_0x588b9d(0x2ee)](j[_0x588b9d(0x21f)](async _0x4b9e2f=>{var _0x2bc0c2=_0x588b9d;const _0x37fc76=_0x4b9e2f;if(_0x37fc76['status']===0x191){if(typeof window>'u')throw new Error(_0x2bc0c2(0x2a1));if(window['confirm'](this[_0x2bc0c2(0x29f)]['t'](_0x2bc0c2(0x3d5)))){const _0x1caf3d=window[_0x2bc0c2(0x1cd)](window[_0x2bc0c2(0x2b8)]['href']);window[_0x2bc0c2(0x2b8)][_0x2bc0c2(0x28d)]=this['_getLoginPath']()+_0x2bc0c2(0x156)+_0x1caf3d;}}return _0x37fc76;}))});}['_getLoginPath'](){var _0x34e7da=_0xfb6c54,_0x2ef86e,_0x5ff81;const _0x36d507=this['_configService'][_0x34e7da(0x354)](Et),_0x4fa368=this[_0x34e7da(0x34a)][_0x34e7da(0x354)](Y);return(_0x5ff81=(_0x2ef86e=_0x4fa368==null?void 0x0:_0x4fa368[_0x34e7da(0x209)])!=null?_0x2ef86e:_0x36d507)!=null?_0x5ff81:Yt;}};Oe=Ui([we(0x0,a[_0xfb6c54(0x3d0)]),we(0x1,a[_0xfb6c54(0x205)](q[_0xfb6c54(0x34c)])),we(0x2,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x425)]))],Oe);var Ai=Object[_0xfb6c54(0x49b)],Pi=(_0xb6e9a0,_0x4a2f90,_0x3cc097,_0x564732)=>{for(var _0x5a1365=_0x564732>0x1?void 0x0:_0x564732?Ai(_0x4a2f90,_0x3cc097):_0x4a2f90,_0x54c513=_0xb6e9a0['length']-0x1,_0x5d21f5;_0x54c513>=0x0;_0x54c513--)(_0x5d21f5=_0xb6e9a0[_0x54c513])&&(_0x5a1365=_0x5d21f5(_0x5a1365)||_0x5a1365);return _0x5a1365;},Xe=(_0x4b9dd3,_0x2e9571)=>(_0x14d5f5,_0x29ec60)=>_0x2e9571(_0x14d5f5,_0x29ec60,_0x4b9dd3);const Ge='AUTHZ_URL_KEY',wi=_0xfb6c54(0x361);exports['AuthzIoHttpService']=class extends a[_0xfb6c54(0x326)]{constructor(_0x2576b5,_0x5a04e7){var _0xd11b67=_0xfb6c54;super(),this[_0xd11b67(0x211)]=_0x2576b5,this[_0xd11b67(0x34a)]=_0x5a04e7,this[_0xd11b67(0x3ef)]();}[_0xfb6c54(0x3ef)](){const _0x4d478f=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x2dd9a3){var _0x6e3cc4=_0x430f,_0x13c421;if(_0x2dd9a3[_0x6e3cc4(0x2ac)]===_0x6e3cc4(0x1fe)&&((_0x13c421=_0x2dd9a3[_0x6e3cc4(0x44f)])!=null&&_0x13c421[_0x6e3cc4(0x160)])){const {objectID:_0x36926c,objectType:_0x51a149}=_0x2dd9a3[_0x6e3cc4(0x44f)][_0x6e3cc4(0x160)]||{};if(!_0x36926c||_0x51a149===void 0x0)return!0x1;const _0x3fe29b=_0x4d478f['_getAPIPrefixPath']()+'/'+_0x51a149+'/object/'+_0x36926c+_0x6e3cc4(0x1e5);if(_0x2dd9a3[_0x6e3cc4(0x484)]===_0x3fe29b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x792778){var _0x375326=_0x430f,_0x199a03;return(_0x199a03=_0x792778[_0x375326(0x44f)])==null?void 0x0:_0x199a03[_0x375326(0x160)];},'mergeParamsToRequest'(_0x41d2be,_0x3b3f7c){var _0x544fac=_0x430f;const _0x3bf70b=_0x4d478f[_0x544fac(0x2d7)]()+_0x544fac(0x32d),_0x137394=_0x41d2be[_0x544fac(0x1d6)]((_0x4448f9,_0x45c51c)=>{var _0x387658=_0x544fac;const {unitID:_0x1ab13f,objectID:_0x19fd68,objectType:_0x2315e4,actions:_0x16c57d}=_0x45c51c;return _0x4448f9[_0x1ab13f]||(_0x4448f9[_0x1ab13f]={}),_0x4448f9[_0x1ab13f][_0x19fd68]||(_0x4448f9[_0x1ab13f][_0x19fd68]={'objectID':_0x19fd68,'objectType':_0x2315e4,'actions':[]}),_0x4448f9[_0x1ab13f][_0x19fd68][_0x387658(0x3ee)][_0x387658(0x308)](..._0x16c57d),_0x4448f9;},{}),_0xd39cc3=[];for(const _0x4b904e in _0x137394)for(const _0x493284 in _0x137394[_0x4b904e]){const {actions:_0x47423a,objectType:_0x48a575}=_0x137394[_0x4b904e][_0x493284],_0x4faa3b=[...new Set(_0x47423a)];_0xd39cc3[_0x544fac(0x308)]({'unitID':_0x4b904e,'objectID':_0x493284,'objectType':_0x48a575,'actions':_0x4faa3b});}return new q['HTTPRequest'](_0x544fac(0x1fe),_0x3bf70b,{'headers':_0x3b3f7c['headers'],'withCredentials':_0x3b3f7c[_0x544fac(0x172)],'responseType':_0x3b3f7c[_0x544fac(0x428)],'body':{'requests':_0xd39cc3}});}},{'distributeResult'(_0x9f52fd,_0x528577){var _0x26b123=_0x430f;const {objectActions:_0x1fb907}=_0x9f52fd;return _0x528577[_0x26b123(0x2b2)](_0x313ff5=>{var _0x1025df=_0x26b123;const {unitID:_0x35c044,objectID:_0x501d5c,actions:_0x25891c}=_0x313ff5,_0x5d649b=_0x1fb907[_0x1025df(0x417)](_0x3934ac=>_0x3934ac[_0x1025df(0x34e)]===_0x35c044&&_0x3934ac[_0x1025df(0x3a4)]===_0x501d5c),_0x57332f=_0x25891c['map'](_0x8784d1=>_0x5d649b==null?void 0x0:_0x5d649b[_0x1025df(0x3ee)]['find'](_0x170ff9=>_0x170ff9['action']===_0x8784d1))['filter'](_0x33c8cf=>!!_0x33c8cf);return{'config':_0x313ff5,'result':{'actions':_0x57332f,'error':_0x9f52fd[_0x1025df(0x4b4)]}};});}})}));}[_0xfb6c54(0x2d7)](){var _0xb7eab7=_0xfb6c54,_0x1aa6f3,_0x546d5a;const _0x382835=this[_0xb7eab7(0x34a)][_0xb7eab7(0x354)](Ge),_0x4a543e=this[_0xb7eab7(0x34a)][_0xb7eab7(0x354)](Y);return(_0x546d5a=(_0x1aa6f3=_0x4a543e==null?void 0x0:_0x4a543e['authzUrl'])!=null?_0x1aa6f3:_0x382835)!=null?_0x546d5a:wi;}async['create'](_0x25f414){var _0xf7d33e=_0xfb6c54;const _0x1377f0=this['_getAPIPrefixPath']()+'/'+_0x25f414[_0xf7d33e(0x4a5)]+_0xf7d33e(0x2e9);return(await this[_0xf7d33e(0x211)]['post'](_0x1377f0,{'body':_0x25f414}))[_0xf7d33e(0x160)][_0xf7d33e(0x3a4)]||'';}async[_0xfb6c54(0x258)](_0x3eb0d2){var _0x1c4925=_0xfb6c54;const _0x5589ab=this['_getAPIPrefixPath']()+_0x1c4925(0x3e0);return(await this[_0x1c4925(0x211)][_0x1c4925(0x3d6)](_0x5589ab,{'body':_0x3eb0d2}))['body']['objects'];}async[_0xfb6c54(0x459)](_0x532784){var _0x42fc5c=_0xfb6c54,_0x29faa2,_0x37ac0c;const _0x34c9e8=this[_0x42fc5c(0x2d7)]()+'/'+_0x532784[_0x42fc5c(0x4a5)]+_0x42fc5c(0x427)+_0x532784[_0x42fc5c(0x3a4)],_0x2a8c58=await this[_0x42fc5c(0x211)]['put'](_0x34c9e8,{'body':_0x532784});if(((_0x37ac0c=(_0x29faa2=_0x2a8c58==null?void 0x0:_0x2a8c58['body'])==null?void 0x0:_0x29faa2['error'])==null?void 0x0:_0x37ac0c[_0x42fc5c(0x32f)])!==0x1)throw new Error(_0x42fc5c(0x1b4));}async[_0xfb6c54(0x496)](_0x1da092){var _0x2abce8=_0xfb6c54;const _0x52059a=this[_0x2abce8(0x2d7)]()+'/'+_0x1da092[_0x2abce8(0x4a5)]+_0x2abce8(0x427)+_0x1da092[_0x2abce8(0x3a4)]+'/allowed';return(await this['_HTTPService'][_0x2abce8(0x3d6)](_0x52059a,{'body':_0x1da092}))[_0x2abce8(0x160)][_0x2abce8(0x3ee)];}async[_0xfb6c54(0x2d9)](_0x2eb84a){var _0x478594=_0xfb6c54;const _0x1fd70c=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x478594(0x211)]['post'](_0x1fd70c,{'body':{'requests':_0x2eb84a}}))[_0x478594(0x160)][_0x478594(0x358)];}async[_0xfb6c54(0x2e5)](_0x4b61f2){var _0x5b7f18=_0xfb6c54;const _0x4d1788=this[_0x5b7f18(0x2d7)]()+'/'+_0x4b61f2[_0x5b7f18(0x4a5)]+'/role',_0x49fc2d=await this[_0x5b7f18(0x211)][_0x5b7f18(0x3d6)](_0x4d1788,{'body':_0x4b61f2});return{'roles':_0x49fc2d[_0x5b7f18(0x160)][_0x5b7f18(0x476)],'actions':_0x49fc2d['body'][_0x5b7f18(0x3ee)]};}async['deleteCollaborator'](_0x47488e){var _0x5c7bf0=_0xfb6c54;const _0x1908b5=this[_0x5c7bf0(0x2d7)]()+_0x5c7bf0(0x352);await this[_0x5c7bf0(0x211)][_0x5c7bf0(0x199)](_0x1908b5,{'params':{'collaboratorID':_0x47488e[_0x5c7bf0(0x3d8)],'objectID':_0x47488e[_0x5c7bf0(0x3a4)],'unitID':_0x47488e[_0x5c7bf0(0x34e)]}});}async[_0xfb6c54(0x4b7)](_0xed2c){var _0x2db78c=_0xfb6c54;const _0x362ab9=this[_0x2db78c(0x2d7)]()+_0x2db78c(0x352);await this[_0x2db78c(0x211)][_0x2db78c(0x37e)](_0x362ab9,{'body':_0xed2c});}async['createCollaborator'](_0x58d21e){var _0x12e801=_0xfb6c54;const _0xff2a4b=this[_0x12e801(0x2d7)]()+_0x12e801(0x352);await this['_HTTPService']['post'](_0xff2a4b,{'body':_0x58d21e});}async[_0xfb6c54(0x166)](_0x4da591){var _0x595042=_0xfb6c54;const _0x220909=this[_0x595042(0x2d7)]()+_0x595042(0x352);return(await this[_0x595042(0x211)][_0x595042(0x2c4)](_0x220909,{'params':{'objectID':_0x4da591['objectID'],'unitID':_0x4da591['unitID']}}))[_0x595042(0x160)][_0x595042(0x21e)];}async[_0xfb6c54(0x499)](_0x380835){var _0x131219=_0xfb6c54;const _0x3bbcee=this['_getAPIPrefixPath']()+_0x131219(0x352);await this['_HTTPService'][_0x131219(0x26a)](_0x3bbcee,{'body':_0x380835});}},exports[_0xfb6c54(0x1c6)]=Pi([Xe(0x0,a['Inject'](q[_0xfb6c54(0x34c)])),Xe(0x1,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x3d0)]))],exports[_0xfb6c54(0x1c6)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x595871){var _0x3033da=_0xfb6c54;return _0x595871&&_0x595871['__esModule']&&Object[_0x3033da(0x33a)][_0x3033da(0x347)][_0x3033da(0x244)](_0x595871,'default')?_0x595871['default']:_0x595871;}var fe={'exports':{}};function Li(_0x5e36d1){var _0x51b33f=_0xfb6c54;throw new Error(_0x51b33f(0x3ec)+_0x5e36d1+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe['exports'],Ze;function ee(){var _0x2718ec=_0xfb6c54;return Ze||(Ze=0x1,function(_0x346115,_0x8fad01){(function(_0x418d1d,_0x18904e){var _0x246d73=_0x430f;_0x346115[_0x246d73(0x3cc)]=_0x18904e();}(Mi,function(){var _0x39cccc=_0x39cccc||function(_0x1efe9f,_0x46a85d){var _0x4cdf51=_0x430f,_0x3446e1;if(typeof window<'u'&&window[_0x4cdf51(0x1f3)]&&(_0x3446e1=window[_0x4cdf51(0x1f3)]),typeof self<'u'&&self[_0x4cdf51(0x1f3)]&&(_0x3446e1=self[_0x4cdf51(0x1f3)]),typeof globalThis<'u'&&globalThis[_0x4cdf51(0x1f3)]&&(_0x3446e1=globalThis[_0x4cdf51(0x1f3)]),!_0x3446e1&&typeof window<'u'&&window[_0x4cdf51(0x239)]&&(_0x3446e1=window[_0x4cdf51(0x239)]),!_0x3446e1&&typeof Le<'u'&&Le['crypto']&&(_0x3446e1=Le[_0x4cdf51(0x1f3)]),!_0x3446e1&&typeof Li=='function')try{_0x3446e1=require(_0x4cdf51(0x1f3));}catch{}var _0x3928d5=function(){var _0x262dd7=_0x4cdf51;if(_0x3446e1){if(typeof _0x3446e1['getRandomValues']==_0x262dd7(0x1c7))try{return _0x3446e1['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3446e1[_0x262dd7(0x215)]==_0x262dd7(0x1c7))try{return _0x3446e1[_0x262dd7(0x215)](0x4)[_0x262dd7(0x15e)]();}catch{}}throw new Error(_0x262dd7(0x329));},_0x55282a=Object['create']||(function(){function _0x2d9145(){}return function(_0x11e5f4){var _0x211a89=_0x430f,_0x435138;return _0x2d9145['prototype']=_0x11e5f4,_0x435138=new _0x2d9145(),_0x2d9145[_0x211a89(0x33a)]=null,_0x435138;};}()),_0x3a6692={},_0x482e62=_0x3a6692[_0x4cdf51(0x335)]={},_0x14d664=_0x482e62['Base']=(function(){return{'extend':function(_0x30ccf1){var _0x385ac4=_0x430f,_0xabff9d=_0x55282a(this);return _0x30ccf1&&_0xabff9d[_0x385ac4(0x3f1)](_0x30ccf1),(!_0xabff9d[_0x385ac4(0x347)]('init')||this[_0x385ac4(0x489)]===_0xabff9d[_0x385ac4(0x489)])&&(_0xabff9d[_0x385ac4(0x489)]=function(){var _0x8a7411=_0x385ac4;_0xabff9d[_0x8a7411(0x20c)][_0x8a7411(0x489)][_0x8a7411(0x423)](this,arguments);}),_0xabff9d[_0x385ac4(0x489)][_0x385ac4(0x33a)]=_0xabff9d,_0xabff9d[_0x385ac4(0x20c)]=this,_0xabff9d;},'create':function(){var _0x2d46a5=_0x430f,_0x2a74b0=this['extend']();return _0x2a74b0[_0x2d46a5(0x489)][_0x2d46a5(0x423)](_0x2a74b0,arguments),_0x2a74b0;},'init':function(){},'mixIn':function(_0x158777){var _0xd89935=_0x430f;for(var _0x2219bb in _0x158777)_0x158777['hasOwnProperty'](_0x2219bb)&&(this[_0x2219bb]=_0x158777[_0x2219bb]);_0x158777[_0xd89935(0x347)](_0xd89935(0x4d3))&&(this[_0xd89935(0x4d3)]=_0x158777[_0xd89935(0x4d3)]);},'clone':function(){var _0x5e3eb3=_0x430f;return this['init'][_0x5e3eb3(0x33a)]['extend'](this);}};}()),_0x3ec12a=_0x482e62[_0x4cdf51(0x472)]=_0x14d664[_0x4cdf51(0x2d6)]({'init':function(_0x10eb81,_0x54a80a){var _0x70713=_0x4cdf51;_0x10eb81=this[_0x70713(0x2a0)]=_0x10eb81||[],_0x54a80a!=_0x46a85d?this[_0x70713(0x41e)]=_0x54a80a:this['sigBytes']=_0x10eb81[_0x70713(0x266)]*0x4;},'toString':function(_0x46b350){return(_0x46b350||_0x3a4e82)['stringify'](this);},'concat':function(_0xa9b899){var _0x13ab99=_0x4cdf51,_0x3ef289=this['words'],_0x233e99=_0xa9b899[_0x13ab99(0x2a0)],_0x13fdf7=this['sigBytes'],_0xaeae82=_0xa9b899[_0x13ab99(0x41e)];if(this[_0x13ab99(0x2f5)](),_0x13fdf7%0x4)for(var _0x19a680=0x0;_0x19a680<_0xaeae82;_0x19a680++){var _0x2ede90=_0x233e99[_0x19a680>>>0x2]>>>0x18-_0x19a680%0x4*0x8&0xff;_0x3ef289[_0x13fdf7+_0x19a680>>>0x2]|=_0x2ede90<<0x18-(_0x13fdf7+_0x19a680)%0x4*0x8;}else{for(var _0xfa1c82=0x0;_0xfa1c82<_0xaeae82;_0xfa1c82+=0x4)_0x3ef289[_0x13fdf7+_0xfa1c82>>>0x2]=_0x233e99[_0xfa1c82>>>0x2];}return this[_0x13ab99(0x41e)]+=_0xaeae82,this;},'clamp':function(){var _0x1ac137=_0x4cdf51,_0x1812e2=this[_0x1ac137(0x2a0)],_0x424919=this['sigBytes'];_0x1812e2[_0x424919>>>0x2]&=0xffffffff<<0x20-_0x424919%0x4*0x8,_0x1812e2['length']=_0x1efe9f['ceil'](_0x424919/0x4);},'clone':function(){var _0x5c2649=_0x4cdf51,_0x84b215=_0x14d664[_0x5c2649(0x2e7)][_0x5c2649(0x244)](this);return _0x84b215[_0x5c2649(0x2a0)]=this[_0x5c2649(0x2a0)][_0x5c2649(0x25a)](0x0),_0x84b215;},'random':function(_0x38e22c){var _0x192807=_0x4cdf51;for(var _0x587a24=[],_0x4f13e2=0x0;_0x4f13e2<_0x38e22c;_0x4f13e2+=0x4)_0x587a24['push'](_0x3928d5());return new _0x3ec12a[(_0x192807(0x489))](_0x587a24,_0x38e22c);}}),_0x3d8eaa=_0x3a6692['enc']={},_0x3a4e82=_0x3d8eaa[_0x4cdf51(0x293)]={'stringify':function(_0x537b7b){var _0x579106=_0x4cdf51;for(var _0x1aa430=_0x537b7b[_0x579106(0x2a0)],_0x2b27ab=_0x537b7b['sigBytes'],_0x3a3f28=[],_0x41ae43=0x0;_0x41ae43<_0x2b27ab;_0x41ae43++){var _0x32c5a2=_0x1aa430[_0x41ae43>>>0x2]>>>0x18-_0x41ae43%0x4*0x8&0xff;_0x3a3f28[_0x579106(0x308)]((_0x32c5a2>>>0x4)['toString'](0x10)),_0x3a3f28[_0x579106(0x308)]((_0x32c5a2&0xf)[_0x579106(0x4d3)](0x10));}return _0x3a3f28['join']('');},'parse':function(_0x3888dd){var _0x55ff40=_0x4cdf51;for(var _0x6ad1bb=_0x3888dd[_0x55ff40(0x266)],_0x2973a6=[],_0x3de849=0x0;_0x3de849<_0x6ad1bb;_0x3de849+=0x2)_0x2973a6[_0x3de849>>>0x3]|=parseInt(_0x3888dd['substr'](_0x3de849,0x2),0x10)<<0x18-_0x3de849%0x8*0x4;return new _0x3ec12a[(_0x55ff40(0x489))](_0x2973a6,_0x6ad1bb/0x2);}},_0x51e5cc=_0x3d8eaa[_0x4cdf51(0x30c)]={'stringify':function(_0x5f098b){var _0x37beab=_0x4cdf51;for(var _0x1743de=_0x5f098b[_0x37beab(0x2a0)],_0x15f379=_0x5f098b[_0x37beab(0x41e)],_0x446f55=[],_0x39ba58=0x0;_0x39ba58<_0x15f379;_0x39ba58++){var _0x121d95=_0x1743de[_0x39ba58>>>0x2]>>>0x18-_0x39ba58%0x4*0x8&0xff;_0x446f55[_0x37beab(0x308)](String[_0x37beab(0x245)](_0x121d95));}return _0x446f55[_0x37beab(0x38b)]('');},'parse':function(_0x32f4a7){var _0x536709=_0x4cdf51;for(var _0x59169e=_0x32f4a7[_0x536709(0x266)],_0x409af3=[],_0x294df0=0x0;_0x294df0<_0x59169e;_0x294df0++)_0x409af3[_0x294df0>>>0x2]|=(_0x32f4a7[_0x536709(0x23b)](_0x294df0)&0xff)<<0x18-_0x294df0%0x4*0x8;return new _0x3ec12a[(_0x536709(0x489))](_0x409af3,_0x59169e);}},_0x278880=_0x3d8eaa[_0x4cdf51(0x2f6)]={'stringify':function(_0x2d47c4){var _0x33a8b7=_0x4cdf51;try{return decodeURIComponent(escape(_0x51e5cc[_0x33a8b7(0x2c8)](_0x2d47c4)));}catch{throw new Error(_0x33a8b7(0x4a9));}},'parse':function(_0x3bfec9){var _0xaa5047=_0x4cdf51;return _0x51e5cc[_0xaa5047(0x16c)](unescape(encodeURIComponent(_0x3bfec9)));}},_0x38eac6=_0x482e62[_0x4cdf51(0x4cf)]=_0x14d664[_0x4cdf51(0x2d6)]({'reset':function(){var _0x119de4=_0x4cdf51;this[_0x119de4(0x3cd)]=new _0x3ec12a[(_0x119de4(0x489))](),this[_0x119de4(0x27c)]=0x0;},'_append':function(_0x14edad){var _0x58f7a6=_0x4cdf51;typeof _0x14edad==_0x58f7a6(0x4c8)&&(_0x14edad=_0x278880[_0x58f7a6(0x16c)](_0x14edad)),this[_0x58f7a6(0x3cd)][_0x58f7a6(0x36e)](_0x14edad),this[_0x58f7a6(0x27c)]+=_0x14edad['sigBytes'];},'_process':function(_0x106757){var _0x3197f3=_0x4cdf51,_0x2348cc,_0xa88fb1=this[_0x3197f3(0x3cd)],_0x37761d=_0xa88fb1['words'],_0xec0d0b=_0xa88fb1['sigBytes'],_0x2d1278=this[_0x3197f3(0x42c)],_0x975b1b=_0x2d1278*0x4,_0x21e185=_0xec0d0b/_0x975b1b;_0x106757?_0x21e185=_0x1efe9f[_0x3197f3(0x39a)](_0x21e185):_0x21e185=_0x1efe9f[_0x3197f3(0x2e0)]((_0x21e185|0x0)-this[_0x3197f3(0x1ad)],0x0);var _0x368fd3=_0x21e185*_0x2d1278,_0x1a97a2=_0x1efe9f[_0x3197f3(0x26d)](_0x368fd3*0x4,_0xec0d0b);if(_0x368fd3){for(var _0x590dd3=0x0;_0x590dd3<_0x368fd3;_0x590dd3+=_0x2d1278)this[_0x3197f3(0x4bd)](_0x37761d,_0x590dd3);_0x2348cc=_0x37761d[_0x3197f3(0x4a7)](0x0,_0x368fd3),_0xa88fb1[_0x3197f3(0x41e)]-=_0x1a97a2;}return new _0x3ec12a[(_0x3197f3(0x489))](_0x2348cc,_0x1a97a2);},'clone':function(){var _0x150686=_0x4cdf51,_0x53b7fa=_0x14d664[_0x150686(0x2e7)][_0x150686(0x244)](this);return _0x53b7fa['_data']=this[_0x150686(0x3cd)][_0x150686(0x2e7)](),_0x53b7fa;},'_minBufferSize':0x0});_0x482e62['Hasher']=_0x38eac6[_0x4cdf51(0x2d6)]({'cfg':_0x14d664[_0x4cdf51(0x2d6)](),'init':function(_0x202bbd){var _0x445afc=_0x4cdf51;this['cfg']=this[_0x445afc(0x3f9)][_0x445afc(0x2d6)](_0x202bbd),this[_0x445afc(0x314)]();},'reset':function(){var _0x443f93=_0x4cdf51;_0x38eac6[_0x443f93(0x314)][_0x443f93(0x244)](this),this[_0x443f93(0x281)]();},'update':function(_0x5c1b29){var _0x1b0d0c=_0x4cdf51;return this[_0x1b0d0c(0x400)](_0x5c1b29),this['_process'](),this;},'finalize':function(_0x15cb4e){var _0x5198a7=_0x4cdf51;_0x15cb4e&&this['_append'](_0x15cb4e);var _0x30adde=this[_0x5198a7(0x276)]();return _0x30adde;},'blockSize':0x10,'_createHelper':function(_0x3055cf){return function(_0x5088e3,_0x3ddcf8){var _0x1f054a=_0x430f;return new _0x3055cf['init'](_0x3ddcf8)[_0x1f054a(0x177)](_0x5088e3);};},'_createHmacHelper':function(_0x28e24c){return function(_0x3641a4,_0x4a2786){var _0x46739f=_0x430f;return new _0x224727[(_0x46739f(0x2d3))][(_0x46739f(0x489))](_0x28e24c,_0x4a2786)[_0x46739f(0x177)](_0x3641a4);};}});var _0x224727=_0x3a6692['algo']={};return _0x3a6692;}(Math);return _0x39cccc;}));}(pe)),pe[_0x2718ec(0x3cc)];}var ge={'exports':{}},xi=ge[_0xfb6c54(0x3cc)],Qe;function Ut(){var _0x481d01=_0xfb6c54;return Qe||(Qe=0x1,function(_0x210d84,_0x366708){(function(_0x2ef993,_0x3797ec){var _0x212724=_0x430f;_0x210d84[_0x212724(0x3cc)]=_0x3797ec(ee());}(xi,function(_0x96290d){var _0x29a955=_0x430f;return(function(){var _0x8b8e48=_0x430f,_0x52325d=_0x96290d,_0x7c5392=_0x52325d[_0x8b8e48(0x335)],_0x225ad4=_0x7c5392[_0x8b8e48(0x472)],_0x3b00fe=_0x52325d[_0x8b8e48(0x2cd)];_0x3b00fe['Base64']={'stringify':function(_0xb4be62){var _0x5cd847=_0x8b8e48,_0x14dc71=_0xb4be62[_0x5cd847(0x2a0)],_0x1a3033=_0xb4be62[_0x5cd847(0x41e)],_0x83dabc=this[_0x5cd847(0x1bf)];_0xb4be62[_0x5cd847(0x2f5)]();for(var _0x550b30=[],_0x4297af=0x0;_0x4297af<_0x1a3033;_0x4297af+=0x3)for(var _0xfc39bc=_0x14dc71[_0x4297af>>>0x2]>>>0x18-_0x4297af%0x4*0x8&0xff,_0x5b630d=_0x14dc71[_0x4297af+0x1>>>0x2]>>>0x18-(_0x4297af+0x1)%0x4*0x8&0xff,_0x24365b=_0x14dc71[_0x4297af+0x2>>>0x2]>>>0x18-(_0x4297af+0x2)%0x4*0x8&0xff,_0x7c807=_0xfc39bc<<0x10|_0x5b630d<<0x8|_0x24365b,_0x4e4928=0x0;_0x4e4928<0x4&&_0x4297af+_0x4e4928*0.75<_0x1a3033;_0x4e4928++)_0x550b30[_0x5cd847(0x308)](_0x83dabc[_0x5cd847(0x47e)](_0x7c807>>>0x6*(0x3-_0x4e4928)&0x3f));var _0x4465b8=_0x83dabc[_0x5cd847(0x47e)](0x40);if(_0x4465b8){for(;_0x550b30['length']%0x4;)_0x550b30[_0x5cd847(0x308)](_0x4465b8);}return _0x550b30[_0x5cd847(0x38b)]('');},'parse':function(_0xefd777){var _0x2a40c3=_0x8b8e48,_0x589126=_0xefd777['length'],_0x31a1e0=this[_0x2a40c3(0x1bf)],_0x3eb3d9=this[_0x2a40c3(0x300)];if(!_0x3eb3d9){_0x3eb3d9=this[_0x2a40c3(0x300)]=[];for(var _0x123e10=0x0;_0x123e10<_0x31a1e0[_0x2a40c3(0x266)];_0x123e10++)_0x3eb3d9[_0x31a1e0[_0x2a40c3(0x23b)](_0x123e10)]=_0x123e10;}var _0x46b69d=_0x31a1e0[_0x2a40c3(0x47e)](0x40);if(_0x46b69d){var _0x3eef93=_0xefd777[_0x2a40c3(0x1dc)](_0x46b69d);_0x3eef93!==-0x1&&(_0x589126=_0x3eef93);}return _0x5cb938(_0xefd777,_0x589126,_0x3eb3d9);},'_map':_0x8b8e48(0x29c)};function _0x5cb938(_0x3088c4,_0x3889b4,_0x11841b){var _0x49d9a4=_0x8b8e48;for(var _0x57ba50=[],_0x40029f=0x0,_0x43b40a=0x0;_0x43b40a<_0x3889b4;_0x43b40a++)if(_0x43b40a%0x4){var _0x3637a2=_0x11841b[_0x3088c4[_0x49d9a4(0x23b)](_0x43b40a-0x1)]<<_0x43b40a%0x4*0x2,_0x1079b1=_0x11841b[_0x3088c4[_0x49d9a4(0x23b)](_0x43b40a)]>>>0x6-_0x43b40a%0x4*0x2,_0x3446f0=_0x3637a2|_0x1079b1;_0x57ba50[_0x40029f>>>0x2]|=_0x3446f0<<0x18-_0x40029f%0x4*0x8,_0x40029f++;}return _0x225ad4[_0x49d9a4(0x4cb)](_0x57ba50,_0x40029f);}}()),_0x96290d[_0x29a955(0x2cd)]['Base64'];}));}(ge)),ge[_0x481d01(0x3cc)];}var me={'exports':{}},ki=me['exports'],et;function Hi(){var _0xf9a5b=_0xfb6c54;return et||(et=0x1,function(_0x5226b3,_0x36f486){(function(_0x18742f,_0x2ef586){_0x5226b3['exports']=_0x2ef586(ee());}(ki,function(_0xd3357f){var _0x57c7ba=_0x430f;return function(_0x4b7d82){var _0x4b55dd=_0x430f,_0x45129a=_0xd3357f,_0x1f516b=_0x45129a[_0x4b55dd(0x335)],_0x1a6848=_0x1f516b[_0x4b55dd(0x472)],_0x460139=_0x1f516b['Hasher'],_0x191c7d=_0x45129a['algo'],_0x58aa2e=[];(function(){var _0x40ee87=_0x4b55dd;for(var _0x39f59d=0x0;_0x39f59d<0x40;_0x39f59d++)_0x58aa2e[_0x39f59d]=_0x4b7d82[_0x40ee87(0x351)](_0x4b7d82[_0x40ee87(0x273)](_0x39f59d+0x1))*0x100000000|0x0;}());var _0x524af5=_0x191c7d[_0x4b55dd(0x259)]=_0x460139['extend']({'_doReset':function(){var _0x4a3b0c=_0x4b55dd;this[_0x4a3b0c(0x2ea)]=new _0x1a6848['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2759c5,_0x91c738){var _0x1bbf85=_0x4b55dd;for(var _0x51b567=0x0;_0x51b567<0x10;_0x51b567++){var _0x46cc47=_0x91c738+_0x51b567,_0x323633=_0x2759c5[_0x46cc47];_0x2759c5[_0x46cc47]=(_0x323633<<0x8|_0x323633>>>0x18)&0xff00ff|(_0x323633<<0x18|_0x323633>>>0x8)&0xff00ff00;}var _0x1792bb=this[_0x1bbf85(0x2ea)][_0x1bbf85(0x2a0)],_0x59dd42=_0x2759c5[_0x91c738+0x0],_0x289e96=_0x2759c5[_0x91c738+0x1],_0x4a68c1=_0x2759c5[_0x91c738+0x2],_0x2d6ace=_0x2759c5[_0x91c738+0x3],_0x569f1b=_0x2759c5[_0x91c738+0x4],_0x5cfd04=_0x2759c5[_0x91c738+0x5],_0x3b1c19=_0x2759c5[_0x91c738+0x6],_0xa5f913=_0x2759c5[_0x91c738+0x7],_0xbbe3e9=_0x2759c5[_0x91c738+0x8],_0x417a9d=_0x2759c5[_0x91c738+0x9],_0x799337=_0x2759c5[_0x91c738+0xa],_0xff4b9c=_0x2759c5[_0x91c738+0xb],_0x5c2631=_0x2759c5[_0x91c738+0xc],_0x43c711=_0x2759c5[_0x91c738+0xd],_0x3036ca=_0x2759c5[_0x91c738+0xe],_0x371158=_0x2759c5[_0x91c738+0xf],_0x2b849f=_0x1792bb[0x0],_0x29de2e=_0x1792bb[0x1],_0x8fce1b=_0x1792bb[0x2],_0x216e6e=_0x1792bb[0x3];_0x2b849f=_0x153d28(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x59dd42,0x7,_0x58aa2e[0x0]),_0x216e6e=_0x153d28(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x289e96,0xc,_0x58aa2e[0x1]),_0x8fce1b=_0x153d28(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x4a68c1,0x11,_0x58aa2e[0x2]),_0x29de2e=_0x153d28(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x2d6ace,0x16,_0x58aa2e[0x3]),_0x2b849f=_0x153d28(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x569f1b,0x7,_0x58aa2e[0x4]),_0x216e6e=_0x153d28(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x5cfd04,0xc,_0x58aa2e[0x5]),_0x8fce1b=_0x153d28(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x3b1c19,0x11,_0x58aa2e[0x6]),_0x29de2e=_0x153d28(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0xa5f913,0x16,_0x58aa2e[0x7]),_0x2b849f=_0x153d28(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0xbbe3e9,0x7,_0x58aa2e[0x8]),_0x216e6e=_0x153d28(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x417a9d,0xc,_0x58aa2e[0x9]),_0x8fce1b=_0x153d28(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x799337,0x11,_0x58aa2e[0xa]),_0x29de2e=_0x153d28(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0xff4b9c,0x16,_0x58aa2e[0xb]),_0x2b849f=_0x153d28(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x5c2631,0x7,_0x58aa2e[0xc]),_0x216e6e=_0x153d28(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x43c711,0xc,_0x58aa2e[0xd]),_0x8fce1b=_0x153d28(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x3036ca,0x11,_0x58aa2e[0xe]),_0x29de2e=_0x153d28(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x371158,0x16,_0x58aa2e[0xf]),_0x2b849f=_0x4c302f(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x289e96,0x5,_0x58aa2e[0x10]),_0x216e6e=_0x4c302f(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x3b1c19,0x9,_0x58aa2e[0x11]),_0x8fce1b=_0x4c302f(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0xff4b9c,0xe,_0x58aa2e[0x12]),_0x29de2e=_0x4c302f(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x59dd42,0x14,_0x58aa2e[0x13]),_0x2b849f=_0x4c302f(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x5cfd04,0x5,_0x58aa2e[0x14]),_0x216e6e=_0x4c302f(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x799337,0x9,_0x58aa2e[0x15]),_0x8fce1b=_0x4c302f(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x371158,0xe,_0x58aa2e[0x16]),_0x29de2e=_0x4c302f(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x569f1b,0x14,_0x58aa2e[0x17]),_0x2b849f=_0x4c302f(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x417a9d,0x5,_0x58aa2e[0x18]),_0x216e6e=_0x4c302f(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x3036ca,0x9,_0x58aa2e[0x19]),_0x8fce1b=_0x4c302f(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x2d6ace,0xe,_0x58aa2e[0x1a]),_0x29de2e=_0x4c302f(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0xbbe3e9,0x14,_0x58aa2e[0x1b]),_0x2b849f=_0x4c302f(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x43c711,0x5,_0x58aa2e[0x1c]),_0x216e6e=_0x4c302f(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x4a68c1,0x9,_0x58aa2e[0x1d]),_0x8fce1b=_0x4c302f(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0xa5f913,0xe,_0x58aa2e[0x1e]),_0x29de2e=_0x4c302f(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x5c2631,0x14,_0x58aa2e[0x1f]),_0x2b849f=_0x583360(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x5cfd04,0x4,_0x58aa2e[0x20]),_0x216e6e=_0x583360(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0xbbe3e9,0xb,_0x58aa2e[0x21]),_0x8fce1b=_0x583360(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0xff4b9c,0x10,_0x58aa2e[0x22]),_0x29de2e=_0x583360(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x3036ca,0x17,_0x58aa2e[0x23]),_0x2b849f=_0x583360(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x289e96,0x4,_0x58aa2e[0x24]),_0x216e6e=_0x583360(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x569f1b,0xb,_0x58aa2e[0x25]),_0x8fce1b=_0x583360(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0xa5f913,0x10,_0x58aa2e[0x26]),_0x29de2e=_0x583360(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x799337,0x17,_0x58aa2e[0x27]),_0x2b849f=_0x583360(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x43c711,0x4,_0x58aa2e[0x28]),_0x216e6e=_0x583360(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x59dd42,0xb,_0x58aa2e[0x29]),_0x8fce1b=_0x583360(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x2d6ace,0x10,_0x58aa2e[0x2a]),_0x29de2e=_0x583360(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x3b1c19,0x17,_0x58aa2e[0x2b]),_0x2b849f=_0x583360(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x417a9d,0x4,_0x58aa2e[0x2c]),_0x216e6e=_0x583360(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x5c2631,0xb,_0x58aa2e[0x2d]),_0x8fce1b=_0x583360(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x371158,0x10,_0x58aa2e[0x2e]),_0x29de2e=_0x583360(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x4a68c1,0x17,_0x58aa2e[0x2f]),_0x2b849f=_0x6571e5(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x59dd42,0x6,_0x58aa2e[0x30]),_0x216e6e=_0x6571e5(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0xa5f913,0xa,_0x58aa2e[0x31]),_0x8fce1b=_0x6571e5(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x3036ca,0xf,_0x58aa2e[0x32]),_0x29de2e=_0x6571e5(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x5cfd04,0x15,_0x58aa2e[0x33]),_0x2b849f=_0x6571e5(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x5c2631,0x6,_0x58aa2e[0x34]),_0x216e6e=_0x6571e5(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x2d6ace,0xa,_0x58aa2e[0x35]),_0x8fce1b=_0x6571e5(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x799337,0xf,_0x58aa2e[0x36]),_0x29de2e=_0x6571e5(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x289e96,0x15,_0x58aa2e[0x37]),_0x2b849f=_0x6571e5(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0xbbe3e9,0x6,_0x58aa2e[0x38]),_0x216e6e=_0x6571e5(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0x371158,0xa,_0x58aa2e[0x39]),_0x8fce1b=_0x6571e5(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x3b1c19,0xf,_0x58aa2e[0x3a]),_0x29de2e=_0x6571e5(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x43c711,0x15,_0x58aa2e[0x3b]),_0x2b849f=_0x6571e5(_0x2b849f,_0x29de2e,_0x8fce1b,_0x216e6e,_0x569f1b,0x6,_0x58aa2e[0x3c]),_0x216e6e=_0x6571e5(_0x216e6e,_0x2b849f,_0x29de2e,_0x8fce1b,_0xff4b9c,0xa,_0x58aa2e[0x3d]),_0x8fce1b=_0x6571e5(_0x8fce1b,_0x216e6e,_0x2b849f,_0x29de2e,_0x4a68c1,0xf,_0x58aa2e[0x3e]),_0x29de2e=_0x6571e5(_0x29de2e,_0x8fce1b,_0x216e6e,_0x2b849f,_0x417a9d,0x15,_0x58aa2e[0x3f]),_0x1792bb[0x0]=_0x1792bb[0x0]+_0x2b849f|0x0,_0x1792bb[0x1]=_0x1792bb[0x1]+_0x29de2e|0x0,_0x1792bb[0x2]=_0x1792bb[0x2]+_0x8fce1b|0x0,_0x1792bb[0x3]=_0x1792bb[0x3]+_0x216e6e|0x0;},'_doFinalize':function(){var _0x455fd2=_0x4b55dd,_0x46f374=this['_data'],_0x439d35=_0x46f374[_0x455fd2(0x2a0)],_0x244deb=this[_0x455fd2(0x27c)]*0x8,_0x54f1af=_0x46f374[_0x455fd2(0x41e)]*0x8;_0x439d35[_0x54f1af>>>0x5]|=0x80<<0x18-_0x54f1af%0x20;var _0x3ed858=_0x4b7d82['floor'](_0x244deb/0x100000000),_0x43edd8=_0x244deb;_0x439d35[(_0x54f1af+0x40>>>0x9<<0x4)+0xf]=(_0x3ed858<<0x8|_0x3ed858>>>0x18)&0xff00ff|(_0x3ed858<<0x18|_0x3ed858>>>0x8)&0xff00ff00,_0x439d35[(_0x54f1af+0x40>>>0x9<<0x4)+0xe]=(_0x43edd8<<0x8|_0x43edd8>>>0x18)&0xff00ff|(_0x43edd8<<0x18|_0x43edd8>>>0x8)&0xff00ff00,_0x46f374[_0x455fd2(0x41e)]=(_0x439d35[_0x455fd2(0x266)]+0x1)*0x4,this[_0x455fd2(0x3e1)]();for(var _0x310c14=this[_0x455fd2(0x2ea)],_0x821b18=_0x310c14[_0x455fd2(0x2a0)],_0x3aa4c9=0x0;_0x3aa4c9<0x4;_0x3aa4c9++){var _0x2f59cb=_0x821b18[_0x3aa4c9];_0x821b18[_0x3aa4c9]=(_0x2f59cb<<0x8|_0x2f59cb>>>0x18)&0xff00ff|(_0x2f59cb<<0x18|_0x2f59cb>>>0x8)&0xff00ff00;}return _0x310c14;},'clone':function(){var _0x2f4b54=_0x4b55dd,_0x4fc505=_0x460139[_0x2f4b54(0x2e7)]['call'](this);return _0x4fc505[_0x2f4b54(0x2ea)]=this[_0x2f4b54(0x2ea)][_0x2f4b54(0x2e7)](),_0x4fc505;}});function _0x153d28(_0xecb64e,_0x942fcc,_0x3272df,_0x361566,_0x10100e,_0x3fa1e1,_0x11a188){var _0x56801f=_0xecb64e+(_0x942fcc&_0x3272df|~_0x942fcc&_0x361566)+_0x10100e+_0x11a188;return(_0x56801f<<_0x3fa1e1|_0x56801f>>>0x20-_0x3fa1e1)+_0x942fcc;}function _0x4c302f(_0x562e99,_0x91d64c,_0x16e01b,_0xf48fa,_0x119ac0,_0x2e4958,_0x5a9a11){var _0x30a91c=_0x562e99+(_0x91d64c&_0xf48fa|_0x16e01b&~_0xf48fa)+_0x119ac0+_0x5a9a11;return(_0x30a91c<<_0x2e4958|_0x30a91c>>>0x20-_0x2e4958)+_0x91d64c;}function _0x583360(_0x21b3ff,_0x1c43e5,_0xfe4897,_0x2e232c,_0x367fb3,_0x3068d8,_0x28d7d8){var _0xb2ce79=_0x21b3ff+(_0x1c43e5^_0xfe4897^_0x2e232c)+_0x367fb3+_0x28d7d8;return(_0xb2ce79<<_0x3068d8|_0xb2ce79>>>0x20-_0x3068d8)+_0x1c43e5;}function _0x6571e5(_0x1ad71a,_0x596c71,_0x17b636,_0x344694,_0x30ebad,_0x5a5aeb,_0x2bb6ba){var _0x4ffc33=_0x1ad71a+(_0x17b636^(_0x596c71|~_0x344694))+_0x30ebad+_0x2bb6ba;return(_0x4ffc33<<_0x5a5aeb|_0x4ffc33>>>0x20-_0x5a5aeb)+_0x596c71;}_0x45129a[_0x4b55dd(0x259)]=_0x460139['_createHelper'](_0x524af5),_0x45129a['HmacMD5']=_0x460139[_0x4b55dd(0x3f7)](_0x524af5);}(Math),_0xd3357f[_0x57c7ba(0x259)];}));}(me)),me[_0xf9a5b(0x3cc)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){return tt||(tt=0x1,function(_0x38b53c,_0x3a09a9){(function(_0x37fa17,_0x564915){_0x38b53c['exports']=_0x564915(ee());}(ji,function(_0x193e9e){var _0x2211de=_0x430f;return(function(){var _0x11c49c=_0x430f,_0x1c82e8=_0x193e9e,_0x27e028=_0x1c82e8['lib'],_0x29b25e=_0x27e028[_0x11c49c(0x472)],_0x16af1c=_0x27e028['Hasher'],_0x5aedb5=_0x1c82e8[_0x11c49c(0x4c1)],_0x415777=[],_0x9884d6=_0x5aedb5[_0x11c49c(0x357)]=_0x16af1c[_0x11c49c(0x2d6)]({'_doReset':function(){var _0x1e9797=_0x11c49c;this[_0x1e9797(0x2ea)]=new _0x29b25e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x445bdf,_0x180bb3){var _0x153545=_0x11c49c;for(var _0x57e657=this['_hash'][_0x153545(0x2a0)],_0x4a1442=_0x57e657[0x0],_0x1a31ea=_0x57e657[0x1],_0x3d05ef=_0x57e657[0x2],_0x304a2c=_0x57e657[0x3],_0x470beb=_0x57e657[0x4],_0x2d97d8=0x0;_0x2d97d8<0x50;_0x2d97d8++){if(_0x2d97d8<0x10)_0x415777[_0x2d97d8]=_0x445bdf[_0x180bb3+_0x2d97d8]|0x0;else{var _0x4bf21c=_0x415777[_0x2d97d8-0x3]^_0x415777[_0x2d97d8-0x8]^_0x415777[_0x2d97d8-0xe]^_0x415777[_0x2d97d8-0x10];_0x415777[_0x2d97d8]=_0x4bf21c<<0x1|_0x4bf21c>>>0x1f;}var _0x2bc644=(_0x4a1442<<0x5|_0x4a1442>>>0x1b)+_0x470beb+_0x415777[_0x2d97d8];_0x2d97d8<0x14?_0x2bc644+=(_0x1a31ea&_0x3d05ef|~_0x1a31ea&_0x304a2c)+0x5a827999:_0x2d97d8<0x28?_0x2bc644+=(_0x1a31ea^_0x3d05ef^_0x304a2c)+0x6ed9eba1:_0x2d97d8<0x3c?_0x2bc644+=(_0x1a31ea&_0x3d05ef|_0x1a31ea&_0x304a2c|_0x3d05ef&_0x304a2c)-0x70e44324:_0x2bc644+=(_0x1a31ea^_0x3d05ef^_0x304a2c)-0x359d3e2a,_0x470beb=_0x304a2c,_0x304a2c=_0x3d05ef,_0x3d05ef=_0x1a31ea<<0x1e|_0x1a31ea>>>0x2,_0x1a31ea=_0x4a1442,_0x4a1442=_0x2bc644;}_0x57e657[0x0]=_0x57e657[0x0]+_0x4a1442|0x0,_0x57e657[0x1]=_0x57e657[0x1]+_0x1a31ea|0x0,_0x57e657[0x2]=_0x57e657[0x2]+_0x3d05ef|0x0,_0x57e657[0x3]=_0x57e657[0x3]+_0x304a2c|0x0,_0x57e657[0x4]=_0x57e657[0x4]+_0x470beb|0x0;},'_doFinalize':function(){var _0xb665b2=_0x11c49c,_0xe6e59a=this[_0xb665b2(0x3cd)],_0x5165b2=_0xe6e59a[_0xb665b2(0x2a0)],_0x528807=this[_0xb665b2(0x27c)]*0x8,_0x2bb0aa=_0xe6e59a[_0xb665b2(0x41e)]*0x8;return _0x5165b2[_0x2bb0aa>>>0x5]|=0x80<<0x18-_0x2bb0aa%0x20,_0x5165b2[(_0x2bb0aa+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x528807/0x100000000),_0x5165b2[(_0x2bb0aa+0x40>>>0x9<<0x4)+0xf]=_0x528807,_0xe6e59a[_0xb665b2(0x41e)]=_0x5165b2[_0xb665b2(0x266)]*0x4,this[_0xb665b2(0x3e1)](),this[_0xb665b2(0x2ea)];},'clone':function(){var _0x187072=_0x11c49c,_0xf91ec7=_0x16af1c[_0x187072(0x2e7)][_0x187072(0x244)](this);return _0xf91ec7['_hash']=this[_0x187072(0x2ea)][_0x187072(0x2e7)](),_0xf91ec7;}});_0x1c82e8[_0x11c49c(0x357)]=_0x16af1c[_0x11c49c(0x41b)](_0x9884d6),_0x1c82e8['HmacSHA1']=_0x16af1c[_0x11c49c(0x3f7)](_0x9884d6);}()),_0x193e9e[_0x2211de(0x357)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){return it||(it=0x1,function(_0x253091,_0x269282){(function(_0x46497b,_0x2c2e5d){var _0x1d9145=_0x430f;_0x253091[_0x1d9145(0x3cc)]=_0x2c2e5d(ee());}(Bi,function(_0x12e367){(function(){var _0x369c5b=_0x430f,_0x53e629=_0x12e367,_0x7e8f14=_0x53e629['lib'],_0x156ef5=_0x7e8f14[_0x369c5b(0x480)],_0x22915d=_0x53e629['enc'],_0x1b4972=_0x22915d['Utf8'],_0x40a22f=_0x53e629['algo'];_0x40a22f[_0x369c5b(0x2d3)]=_0x156ef5[_0x369c5b(0x2d6)]({'init':function(_0x2c33c6,_0x30954a){var _0x4b5759=_0x369c5b;_0x2c33c6=this[_0x4b5759(0x1ed)]=new _0x2c33c6[(_0x4b5759(0x489))](),typeof _0x30954a==_0x4b5759(0x4c8)&&(_0x30954a=_0x1b4972['parse'](_0x30954a));var _0x3a7e5c=_0x2c33c6[_0x4b5759(0x42c)],_0x1a1cb6=_0x3a7e5c*0x4;_0x30954a[_0x4b5759(0x41e)]>_0x1a1cb6&&(_0x30954a=_0x2c33c6[_0x4b5759(0x177)](_0x30954a)),_0x30954a[_0x4b5759(0x2f5)]();for(var _0x3f2e3f=this[_0x4b5759(0x442)]=_0x30954a[_0x4b5759(0x2e7)](),_0x290b6a=this['_iKey']=_0x30954a[_0x4b5759(0x2e7)](),_0xdbf4ea=_0x3f2e3f[_0x4b5759(0x2a0)],_0x37668a=_0x290b6a[_0x4b5759(0x2a0)],_0xf30a4d=0x0;_0xf30a4d<_0x3a7e5c;_0xf30a4d++)_0xdbf4ea[_0xf30a4d]^=0x5c5c5c5c,_0x37668a[_0xf30a4d]^=0x36363636;_0x3f2e3f[_0x4b5759(0x41e)]=_0x290b6a['sigBytes']=_0x1a1cb6,this[_0x4b5759(0x314)]();},'reset':function(){var _0x5410b0=_0x369c5b,_0x3d5340=this[_0x5410b0(0x1ed)];_0x3d5340[_0x5410b0(0x314)](),_0x3d5340[_0x5410b0(0x459)](this[_0x5410b0(0x494)]);},'update':function(_0x4510f1){var _0x147e3d=_0x369c5b;return this[_0x147e3d(0x1ed)][_0x147e3d(0x459)](_0x4510f1),this;},'finalize':function(_0x26bc39){var _0x52bd68=_0x369c5b,_0x5eeab6=this[_0x52bd68(0x1ed)],_0x2272f8=_0x5eeab6[_0x52bd68(0x177)](_0x26bc39);_0x5eeab6[_0x52bd68(0x314)]();var _0x4eb46d=_0x5eeab6[_0x52bd68(0x177)](this[_0x52bd68(0x442)][_0x52bd68(0x2e7)]()[_0x52bd68(0x36e)](_0x2272f8));return _0x4eb46d;}});}());}));}(Ce)),Ce['exports'];}var Vi=Ie[_0xfb6c54(0x3cc)],nt;function At(){var _0x466fca=_0xfb6c54;return nt||(nt=0x1,function(_0x3ee19f,_0x2ef021){(function(_0x583113,_0x310dad,_0x57b5c9){var _0x53bac9=_0x430f;_0x3ee19f[_0x53bac9(0x3cc)]=_0x310dad(ee(),$i(),Fi());}(Vi,function(_0x438ada){var _0x41aa44=_0x430f;return(function(){var _0x5c2068=_0x430f,_0x11ae01=_0x438ada,_0x5c35ce=_0x11ae01[_0x5c2068(0x335)],_0xf77f1e=_0x5c35ce[_0x5c2068(0x480)],_0x47b428=_0x5c35ce[_0x5c2068(0x472)],_0x50a8cd=_0x11ae01['algo'],_0xff511a=_0x50a8cd[_0x5c2068(0x259)],_0x24f5ec=_0x50a8cd[_0x5c2068(0x1ba)]=_0xf77f1e[_0x5c2068(0x2d6)]({'cfg':_0xf77f1e[_0x5c2068(0x2d6)]({'keySize':0x80/0x20,'hasher':_0xff511a,'iterations':0x1}),'init':function(_0xb46ffc){var _0x2de066=_0x5c2068;this[_0x2de066(0x3f9)]=this[_0x2de066(0x3f9)][_0x2de066(0x2d6)](_0xb46ffc);},'compute':function(_0x7cc4b0,_0xad1eb8){var _0x321dc0=_0x5c2068;for(var _0x38ed65,_0x5aeabe=this[_0x321dc0(0x3f9)],_0x19616d=_0x5aeabe[_0x321dc0(0x219)][_0x321dc0(0x4cb)](),_0x1153b4=_0x47b428[_0x321dc0(0x4cb)](),_0x3310e2=_0x1153b4[_0x321dc0(0x2a0)],_0x1ff794=_0x5aeabe['keySize'],_0x23ab4b=_0x5aeabe[_0x321dc0(0x41a)];_0x3310e2['length']<_0x1ff794;){_0x38ed65&&_0x19616d[_0x321dc0(0x459)](_0x38ed65),_0x38ed65=_0x19616d[_0x321dc0(0x459)](_0x7cc4b0)[_0x321dc0(0x177)](_0xad1eb8),_0x19616d[_0x321dc0(0x314)]();for(var _0xb18a02=0x1;_0xb18a02<_0x23ab4b;_0xb18a02++)_0x38ed65=_0x19616d['finalize'](_0x38ed65),_0x19616d[_0x321dc0(0x314)]();_0x1153b4['concat'](_0x38ed65);}return _0x1153b4[_0x321dc0(0x41e)]=_0x1ff794*0x4,_0x1153b4;}});_0x11ae01[_0x5c2068(0x1ba)]=function(_0x3313e3,_0x5e6e29,_0x253f94){var _0xa2b2e=_0x5c2068;return _0x24f5ec[_0xa2b2e(0x4cb)](_0x253f94)[_0xa2b2e(0x420)](_0x3313e3,_0x5e6e29);};}()),_0x438ada[_0x41aa44(0x1ba)];}));}(Ie)),Ie[_0x466fca(0x3cc)];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){var _0x30b86d=_0xfb6c54;return rt||(rt=0x1,function(_0xf51c1d,_0x1b0c6f){(function(_0x4a9353,_0x34e928,_0x272f97){var _0x2b7471=_0x430f;_0xf51c1d[_0x2b7471(0x3cc)]=_0x34e928(ee(),At());}(Wi,function(_0x6491b4){var _0x57d850=_0x430f;_0x6491b4['lib'][_0x57d850(0x446)]||function(_0x402ec6){var _0x48bc18=_0x57d850,_0x3d840f=_0x6491b4,_0x29a403=_0x3d840f[_0x48bc18(0x335)],_0x52e9af=_0x29a403['Base'],_0x453a1f=_0x29a403[_0x48bc18(0x472)],_0x3d0027=_0x29a403[_0x48bc18(0x4cf)],_0x12dd6a=_0x3d840f['enc'];_0x12dd6a['Utf8'];var _0x547f1a=_0x12dd6a[_0x48bc18(0x399)],_0x3c1d3e=_0x3d840f['algo'],_0x38a07e=_0x3c1d3e['EvpKDF'],_0x39006a=_0x29a403[_0x48bc18(0x446)]=_0x3d0027[_0x48bc18(0x2d6)]({'cfg':_0x52e9af['extend'](),'createEncryptor':function(_0x266a4f,_0x4870c2){var _0x5ed1f6=_0x48bc18;return this[_0x5ed1f6(0x4cb)](this[_0x5ed1f6(0x1fa)],_0x266a4f,_0x4870c2);},'createDecryptor':function(_0x388b1e,_0x4b15d5){var _0x477157=_0x48bc18;return this[_0x477157(0x4cb)](this['_DEC_XFORM_MODE'],_0x388b1e,_0x4b15d5);},'init':function(_0x333df1,_0xdea16e,_0x10c150){var _0x115a50=_0x48bc18;this[_0x115a50(0x3f9)]=this[_0x115a50(0x3f9)]['extend'](_0x10c150),this[_0x115a50(0x2aa)]=_0x333df1,this[_0x115a50(0x2dd)]=_0xdea16e,this[_0x115a50(0x314)]();},'reset':function(){var _0x4560f8=_0x48bc18;_0x3d0027[_0x4560f8(0x314)][_0x4560f8(0x244)](this),this[_0x4560f8(0x281)]();},'process':function(_0x3645be){return this['_append'](_0x3645be),this['_process']();},'finalize':function(_0x413b57){var _0x1fe191=_0x48bc18;_0x413b57&&this[_0x1fe191(0x400)](_0x413b57);var _0x4524b5=this[_0x1fe191(0x276)]();return _0x4524b5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa6c3a3(_0x22e2b0){var _0x1cef5c=_0x430f;return typeof _0x22e2b0==_0x1cef5c(0x4c8)?_0x144ff3:_0x102748;}return function(_0x15745e){return{'encrypt':function(_0xc97e91,_0x77be9d,_0x585f22){return _0xa6c3a3(_0x77be9d)['encrypt'](_0x15745e,_0xc97e91,_0x77be9d,_0x585f22);},'decrypt':function(_0x30d437,_0x5c1fca,_0x5ad751){var _0x15def0=_0x430f;return _0xa6c3a3(_0x5c1fca)[_0x15def0(0x3fa)](_0x15745e,_0x30d437,_0x5c1fca,_0x5ad751);}};};}())});_0x29a403[_0x48bc18(0x23e)]=_0x39006a[_0x48bc18(0x2d6)]({'_doFinalize':function(){var _0x3dd5ec=_0x48bc18,_0x46fbf3=this[_0x3dd5ec(0x3e1)](!0x0);return _0x46fbf3;},'blockSize':0x1});var _0x59bfec=_0x3d840f[_0x48bc18(0x3f3)]={},_0x32b775=_0x29a403[_0x48bc18(0x44a)]=_0x52e9af[_0x48bc18(0x2d6)]({'createEncryptor':function(_0x2e9746,_0x5071a6){var _0x14fffc=_0x48bc18;return this[_0x14fffc(0x2b4)]['create'](_0x2e9746,_0x5071a6);},'createDecryptor':function(_0x10bf51,_0x44594d){var _0x1d0a33=_0x48bc18;return this[_0x1d0a33(0x28e)][_0x1d0a33(0x4cb)](_0x10bf51,_0x44594d);},'init':function(_0x185bbf,_0x4eca14){var _0xafeb5d=_0x48bc18;this['_cipher']=_0x185bbf,this[_0xafeb5d(0x4c3)]=_0x4eca14;}}),_0x1267af=_0x59bfec[_0x48bc18(0x3e4)]=(function(){var _0x2da8e3=_0x48bc18,_0x2c0e26=_0x32b775[_0x2da8e3(0x2d6)]();_0x2c0e26[_0x2da8e3(0x2b4)]=_0x2c0e26[_0x2da8e3(0x2d6)]({'processBlock':function(_0x14a713,_0x5e5faf){var _0xa56e94=_0x2da8e3,_0xb57eb4=this[_0xa56e94(0x4ae)],_0x2e1f33=_0xb57eb4['blockSize'];_0x5399ff[_0xa56e94(0x244)](this,_0x14a713,_0x5e5faf,_0x2e1f33),_0xb57eb4[_0xa56e94(0x4c5)](_0x14a713,_0x5e5faf),this[_0xa56e94(0x3a3)]=_0x14a713[_0xa56e94(0x25a)](_0x5e5faf,_0x5e5faf+_0x2e1f33);}}),_0x2c0e26[_0x2da8e3(0x28e)]=_0x2c0e26[_0x2da8e3(0x2d6)]({'processBlock':function(_0x52de21,_0x4d16a6){var _0x3e8d5b=_0x2da8e3,_0x1111b1=this[_0x3e8d5b(0x4ae)],_0x2ae213=_0x1111b1['blockSize'],_0x31ad02=_0x52de21[_0x3e8d5b(0x25a)](_0x4d16a6,_0x4d16a6+_0x2ae213);_0x1111b1[_0x3e8d5b(0x412)](_0x52de21,_0x4d16a6),_0x5399ff[_0x3e8d5b(0x244)](this,_0x52de21,_0x4d16a6,_0x2ae213),this[_0x3e8d5b(0x3a3)]=_0x31ad02;}});function _0x5399ff(_0x2f6689,_0x56d6d2,_0x2a4585){var _0x2f5014=_0x2da8e3,_0x2f4b28,_0x3be6b5=this[_0x2f5014(0x4c3)];_0x3be6b5?(_0x2f4b28=_0x3be6b5,this[_0x2f5014(0x4c3)]=_0x402ec6):_0x2f4b28=this[_0x2f5014(0x3a3)];for(var _0x5f5c31=0x0;_0x5f5c31<_0x2a4585;_0x5f5c31++)_0x2f6689[_0x56d6d2+_0x5f5c31]^=_0x2f4b28[_0x5f5c31];}return _0x2c0e26;}()),_0x1ee0d1=_0x3d840f['pad']={},_0xbc2e98=_0x1ee0d1[_0x48bc18(0x340)]={'pad':function(_0x121d26,_0x107944){var _0x23aba9=_0x48bc18;for(var _0x3c45dd=_0x107944*0x4,_0x34c36f=_0x3c45dd-_0x121d26[_0x23aba9(0x41e)]%_0x3c45dd,_0x1b6aee=_0x34c36f<<0x18|_0x34c36f<<0x10|_0x34c36f<<0x8|_0x34c36f,_0x454a12=[],_0x2a7209=0x0;_0x2a7209<_0x34c36f;_0x2a7209+=0x4)_0x454a12[_0x23aba9(0x308)](_0x1b6aee);var _0xd5d3ec=_0x453a1f[_0x23aba9(0x4cb)](_0x454a12,_0x34c36f);_0x121d26[_0x23aba9(0x36e)](_0xd5d3ec);},'unpad':function(_0x18bbb3){var _0x27ffcc=_0x48bc18,_0x15e0c9=_0x18bbb3[_0x27ffcc(0x2a0)][_0x18bbb3[_0x27ffcc(0x41e)]-0x1>>>0x2]&0xff;_0x18bbb3['sigBytes']-=_0x15e0c9;}};_0x29a403[_0x48bc18(0x30b)]=_0x39006a['extend']({'cfg':_0x39006a['cfg']['extend']({'mode':_0x1267af,'padding':_0xbc2e98}),'reset':function(){var _0x3feaaf=_0x48bc18,_0x63e2d8;_0x39006a[_0x3feaaf(0x314)][_0x3feaaf(0x244)](this);var _0x2e137a=this[_0x3feaaf(0x3f9)],_0x1013a3=_0x2e137a['iv'],_0x40a2cb=_0x2e137a[_0x3feaaf(0x3f3)];this[_0x3feaaf(0x2aa)]==this['_ENC_XFORM_MODE']?_0x63e2d8=_0x40a2cb[_0x3feaaf(0x3ba)]:(_0x63e2d8=_0x40a2cb[_0x3feaaf(0x2a6)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x3feaaf(0x17c)]==_0x63e2d8?this['_mode'][_0x3feaaf(0x489)](this,_0x1013a3&&_0x1013a3[_0x3feaaf(0x2a0)]):(this[_0x3feaaf(0x232)]=_0x63e2d8[_0x3feaaf(0x244)](_0x40a2cb,this,_0x1013a3&&_0x1013a3[_0x3feaaf(0x2a0)]),this[_0x3feaaf(0x232)][_0x3feaaf(0x17c)]=_0x63e2d8);},'_doProcessBlock':function(_0xaa6804,_0x2098c1){var _0x31cc5e=_0x48bc18;this[_0x31cc5e(0x232)]['processBlock'](_0xaa6804,_0x2098c1);},'_doFinalize':function(){var _0x4538db=_0x48bc18,_0x49dd0b,_0x597ad5=this[_0x4538db(0x3f9)][_0x4538db(0x2b9)];return this[_0x4538db(0x2aa)]==this[_0x4538db(0x1fa)]?(_0x597ad5[_0x4538db(0x164)](this['_data'],this[_0x4538db(0x42c)]),_0x49dd0b=this[_0x4538db(0x3e1)](!0x0)):(_0x49dd0b=this[_0x4538db(0x3e1)](!0x0),_0x597ad5[_0x4538db(0x1e7)](_0x49dd0b)),_0x49dd0b;},'blockSize':0x80/0x20});var _0x4597bb=_0x29a403[_0x48bc18(0x1d0)]=_0x52e9af[_0x48bc18(0x2d6)]({'init':function(_0x38fd55){this['mixIn'](_0x38fd55);},'toString':function(_0x150dbf){var _0x38a1ac=_0x48bc18;return(_0x150dbf||this[_0x38a1ac(0x203)])['stringify'](this);}}),_0xa35a2e=_0x3d840f[_0x48bc18(0x47d)]={},_0x26a5bd=_0xa35a2e[_0x48bc18(0x42a)]={'stringify':function(_0x3ff2b6){var _0x3a33a6=_0x48bc18,_0x321c33,_0x7a26dd=_0x3ff2b6[_0x3a33a6(0x30d)],_0xd444f8=_0x3ff2b6['salt'];return _0xd444f8?_0x321c33=_0x453a1f[_0x3a33a6(0x4cb)]([0x53616c74,0x65645f5f])[_0x3a33a6(0x36e)](_0xd444f8)['concat'](_0x7a26dd):_0x321c33=_0x7a26dd,_0x321c33['toString'](_0x547f1a);},'parse':function(_0x4b396e){var _0x2a8303=_0x48bc18,_0x3a6c01,_0x36c9ea=_0x547f1a[_0x2a8303(0x16c)](_0x4b396e),_0x346a8d=_0x36c9ea[_0x2a8303(0x2a0)];return _0x346a8d[0x0]==0x53616c74&&_0x346a8d[0x1]==0x65645f5f&&(_0x3a6c01=_0x453a1f['create'](_0x346a8d[_0x2a8303(0x25a)](0x2,0x4)),_0x346a8d[_0x2a8303(0x4a7)](0x0,0x4),_0x36c9ea[_0x2a8303(0x41e)]-=0x10),_0x4597bb[_0x2a8303(0x4cb)]({'ciphertext':_0x36c9ea,'salt':_0x3a6c01});}},_0x102748=_0x29a403[_0x48bc18(0x2ff)]=_0x52e9af[_0x48bc18(0x2d6)]({'cfg':_0x52e9af[_0x48bc18(0x2d6)]({'format':_0x26a5bd}),'encrypt':function(_0xe1882e,_0x26474c,_0x28940c,_0x5ccc11){var _0x59ab32=_0x48bc18;_0x5ccc11=this['cfg'][_0x59ab32(0x2d6)](_0x5ccc11);var _0x64dfcc=_0xe1882e['createEncryptor'](_0x28940c,_0x5ccc11),_0x2224f0=_0x64dfcc[_0x59ab32(0x177)](_0x26474c),_0x5b3d4a=_0x64dfcc[_0x59ab32(0x3f9)];return _0x4597bb['create']({'ciphertext':_0x2224f0,'key':_0x28940c,'iv':_0x5b3d4a['iv'],'algorithm':_0xe1882e,'mode':_0x5b3d4a[_0x59ab32(0x3f3)],'padding':_0x5b3d4a[_0x59ab32(0x2b9)],'blockSize':_0xe1882e['blockSize'],'formatter':_0x5ccc11['format']});},'decrypt':function(_0x4f010b,_0x17d3c1,_0x9a9814,_0x224b8a){var _0x11f6fd=_0x48bc18;_0x224b8a=this['cfg'][_0x11f6fd(0x2d6)](_0x224b8a),_0x17d3c1=this[_0x11f6fd(0x2f7)](_0x17d3c1,_0x224b8a[_0x11f6fd(0x47d)]);var _0x4aafc9=_0x4f010b[_0x11f6fd(0x2a6)](_0x9a9814,_0x224b8a)[_0x11f6fd(0x177)](_0x17d3c1[_0x11f6fd(0x30d)]);return _0x4aafc9;},'_parse':function(_0x7e6250,_0x2dc1d2){var _0x2c01cf=_0x48bc18;return typeof _0x7e6250==_0x2c01cf(0x4c8)?_0x2dc1d2[_0x2c01cf(0x16c)](_0x7e6250,this):_0x7e6250;}}),_0x400040=_0x3d840f[_0x48bc18(0x1bd)]={},_0x5e99e6=_0x400040['OpenSSL']={'execute':function(_0x22fd7a,_0x2d1412,_0x112498,_0x258ba8,_0x563f61){var _0x39021e=_0x48bc18;if(_0x258ba8||(_0x258ba8=_0x453a1f[_0x39021e(0x27e)](0x40/0x8)),_0x563f61)var _0x4d0834=_0x38a07e[_0x39021e(0x4cb)]({'keySize':_0x2d1412+_0x112498,'hasher':_0x563f61})['compute'](_0x22fd7a,_0x258ba8);else var _0x4d0834=_0x38a07e[_0x39021e(0x4cb)]({'keySize':_0x2d1412+_0x112498})[_0x39021e(0x420)](_0x22fd7a,_0x258ba8);var _0x56777d=_0x453a1f[_0x39021e(0x4cb)](_0x4d0834[_0x39021e(0x2a0)][_0x39021e(0x25a)](_0x2d1412),_0x112498*0x4);return _0x4d0834[_0x39021e(0x41e)]=_0x2d1412*0x4,_0x4597bb[_0x39021e(0x4cb)]({'key':_0x4d0834,'iv':_0x56777d,'salt':_0x258ba8});}},_0x144ff3=_0x29a403[_0x48bc18(0x331)]=_0x102748[_0x48bc18(0x2d6)]({'cfg':_0x102748[_0x48bc18(0x3f9)][_0x48bc18(0x2d6)]({'kdf':_0x5e99e6}),'encrypt':function(_0x2fdb86,_0x4260aa,_0x11a386,_0x365cef){var _0x2cf913=_0x48bc18;_0x365cef=this[_0x2cf913(0x3f9)][_0x2cf913(0x2d6)](_0x365cef);var _0x4818a8=_0x365cef[_0x2cf913(0x1bd)][_0x2cf913(0x272)](_0x11a386,_0x2fdb86[_0x2cf913(0x19f)],_0x2fdb86[_0x2cf913(0x41c)],_0x365cef[_0x2cf913(0x2a7)],_0x365cef[_0x2cf913(0x219)]);_0x365cef['iv']=_0x4818a8['iv'];var _0x79bf7a=_0x102748[_0x2cf913(0x378)][_0x2cf913(0x244)](this,_0x2fdb86,_0x4260aa,_0x4818a8[_0x2cf913(0x17b)],_0x365cef);return _0x79bf7a[_0x2cf913(0x3f1)](_0x4818a8),_0x79bf7a;},'decrypt':function(_0x5a50d3,_0x144fbc,_0x39eba9,_0x24192b){var _0x28dd91=_0x48bc18;_0x24192b=this[_0x28dd91(0x3f9)][_0x28dd91(0x2d6)](_0x24192b),_0x144fbc=this[_0x28dd91(0x2f7)](_0x144fbc,_0x24192b[_0x28dd91(0x47d)]);var _0x23d559=_0x24192b[_0x28dd91(0x1bd)][_0x28dd91(0x272)](_0x39eba9,_0x5a50d3['keySize'],_0x5a50d3[_0x28dd91(0x41c)],_0x144fbc['salt'],_0x24192b[_0x28dd91(0x219)]);_0x24192b['iv']=_0x23d559['iv'];var _0x1e1507=_0x102748[_0x28dd91(0x3fa)]['call'](this,_0x5a50d3,_0x144fbc,_0x23d559[_0x28dd91(0x17b)],_0x24192b);return _0x1e1507;}});}();}));}(Te)),Te[_0x30b86d(0x3cc)];}var Gi=fe['exports'],st;function Ki(){var _0x4067b9=_0xfb6c54;return st||(st=0x1,function(_0x1a6ad1,_0x1bc1ea){(function(_0xc1b60,_0x2482e3,_0x8e46da){var _0x13428f=_0x430f;_0x1a6ad1[_0x13428f(0x3cc)]=_0x2482e3(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x2e2bf9){var _0x158ce7=_0x430f;return(function(){var _0x21ffe8=_0x430f,_0x2c16f4=_0x2e2bf9,_0x331bdf=_0x2c16f4[_0x21ffe8(0x335)],_0x5d4788=_0x331bdf[_0x21ffe8(0x30b)],_0x36a9df=_0x2c16f4[_0x21ffe8(0x4c1)],_0xec0185=[],_0x4ef7a8=[],_0x213aa4=[],_0x59ce09=[],_0x5701c1=[],_0x85fcf0=[],_0x46bcc2=[],_0x47ffd8=[],_0x5bde10=[],_0x32f2d9=[];(function(){for(var _0x524e85=[],_0x467d6d=0x0;_0x467d6d<0x100;_0x467d6d++)_0x467d6d<0x80?_0x524e85[_0x467d6d]=_0x467d6d<<0x1:_0x524e85[_0x467d6d]=_0x467d6d<<0x1^0x11b;for(var _0x4e6799=0x0,_0x4a171e=0x0,_0x467d6d=0x0;_0x467d6d<0x100;_0x467d6d++){var _0x547ecf=_0x4a171e^_0x4a171e<<0x1^_0x4a171e<<0x2^_0x4a171e<<0x3^_0x4a171e<<0x4;_0x547ecf=_0x547ecf>>>0x8^_0x547ecf&0xff^0x63,_0xec0185[_0x4e6799]=_0x547ecf,_0x4ef7a8[_0x547ecf]=_0x4e6799;var _0x309803=_0x524e85[_0x4e6799],_0x5723ba=_0x524e85[_0x309803],_0x1f6b68=_0x524e85[_0x5723ba],_0x1bd566=_0x524e85[_0x547ecf]*0x101^_0x547ecf*0x1010100;_0x213aa4[_0x4e6799]=_0x1bd566<<0x18|_0x1bd566>>>0x8,_0x59ce09[_0x4e6799]=_0x1bd566<<0x10|_0x1bd566>>>0x10,_0x5701c1[_0x4e6799]=_0x1bd566<<0x8|_0x1bd566>>>0x18,_0x85fcf0[_0x4e6799]=_0x1bd566;var _0x1bd566=_0x1f6b68*0x1010101^_0x5723ba*0x10001^_0x309803*0x101^_0x4e6799*0x1010100;_0x46bcc2[_0x547ecf]=_0x1bd566<<0x18|_0x1bd566>>>0x8,_0x47ffd8[_0x547ecf]=_0x1bd566<<0x10|_0x1bd566>>>0x10,_0x5bde10[_0x547ecf]=_0x1bd566<<0x8|_0x1bd566>>>0x18,_0x32f2d9[_0x547ecf]=_0x1bd566,_0x4e6799?(_0x4e6799=_0x309803^_0x524e85[_0x524e85[_0x524e85[_0x1f6b68^_0x309803]]],_0x4a171e^=_0x524e85[_0x524e85[_0x4a171e]]):_0x4e6799=_0x4a171e=0x1;}}());var _0x51ffef=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x232641=_0x36a9df[_0x21ffe8(0x452)]=_0x5d4788[_0x21ffe8(0x2d6)]({'_doReset':function(){var _0x2e45e9=_0x21ffe8,_0x592b0e;if(!(this[_0x2e45e9(0x49d)]&&this[_0x2e45e9(0x491)]===this['_key'])){for(var _0x4385a6=this[_0x2e45e9(0x491)]=this['_key'],_0x37daa0=_0x4385a6[_0x2e45e9(0x2a0)],_0x5c6435=_0x4385a6[_0x2e45e9(0x41e)]/0x4,_0x3aa08c=this[_0x2e45e9(0x49d)]=_0x5c6435+0x6,_0x184678=(_0x3aa08c+0x1)*0x4,_0xd6c00=this[_0x2e45e9(0x27f)]=[],_0x383434=0x0;_0x383434<_0x184678;_0x383434++)_0x383434<_0x5c6435?_0xd6c00[_0x383434]=_0x37daa0[_0x383434]:(_0x592b0e=_0xd6c00[_0x383434-0x1],_0x383434%_0x5c6435?_0x5c6435>0x6&&_0x383434%_0x5c6435==0x4&&(_0x592b0e=_0xec0185[_0x592b0e>>>0x18]<<0x18|_0xec0185[_0x592b0e>>>0x10&0xff]<<0x10|_0xec0185[_0x592b0e>>>0x8&0xff]<<0x8|_0xec0185[_0x592b0e&0xff]):(_0x592b0e=_0x592b0e<<0x8|_0x592b0e>>>0x18,_0x592b0e=_0xec0185[_0x592b0e>>>0x18]<<0x18|_0xec0185[_0x592b0e>>>0x10&0xff]<<0x10|_0xec0185[_0x592b0e>>>0x8&0xff]<<0x8|_0xec0185[_0x592b0e&0xff],_0x592b0e^=_0x51ffef[_0x383434/_0x5c6435|0x0]<<0x18),_0xd6c00[_0x383434]=_0xd6c00[_0x383434-_0x5c6435]^_0x592b0e);for(var _0x4acde4=this[_0x2e45e9(0x270)]=[],_0x47b2ac=0x0;_0x47b2ac<_0x184678;_0x47b2ac++){var _0x383434=_0x184678-_0x47b2ac;if(_0x47b2ac%0x4)var _0x592b0e=_0xd6c00[_0x383434];else var _0x592b0e=_0xd6c00[_0x383434-0x4];_0x47b2ac<0x4||_0x383434<=0x4?_0x4acde4[_0x47b2ac]=_0x592b0e:_0x4acde4[_0x47b2ac]=_0x46bcc2[_0xec0185[_0x592b0e>>>0x18]]^_0x47ffd8[_0xec0185[_0x592b0e>>>0x10&0xff]]^_0x5bde10[_0xec0185[_0x592b0e>>>0x8&0xff]]^_0x32f2d9[_0xec0185[_0x592b0e&0xff]];}}},'encryptBlock':function(_0x55c8bd,_0xe7ae63){var _0x1a910b=_0x21ffe8;this[_0x1a910b(0x2f9)](_0x55c8bd,_0xe7ae63,this['_keySchedule'],_0x213aa4,_0x59ce09,_0x5701c1,_0x85fcf0,_0xec0185);},'decryptBlock':function(_0x185533,_0x486fe7){var _0x2180be=_0x21ffe8,_0x5b0f8f=_0x185533[_0x486fe7+0x1];_0x185533[_0x486fe7+0x1]=_0x185533[_0x486fe7+0x3],_0x185533[_0x486fe7+0x3]=_0x5b0f8f,this[_0x2180be(0x2f9)](_0x185533,_0x486fe7,this[_0x2180be(0x270)],_0x46bcc2,_0x47ffd8,_0x5bde10,_0x32f2d9,_0x4ef7a8);var _0x5b0f8f=_0x185533[_0x486fe7+0x1];_0x185533[_0x486fe7+0x1]=_0x185533[_0x486fe7+0x3],_0x185533[_0x486fe7+0x3]=_0x5b0f8f;},'_doCryptBlock':function(_0xa6a68f,_0x519781,_0x21bc95,_0x1be7eb,_0x251fd5,_0x581711,_0x598f91,_0x546c5f){var _0x8e9e37=_0x21ffe8;for(var _0x82ab46=this[_0x8e9e37(0x49d)],_0x26ed7d=_0xa6a68f[_0x519781]^_0x21bc95[0x0],_0x1c2f6e=_0xa6a68f[_0x519781+0x1]^_0x21bc95[0x1],_0x1da068=_0xa6a68f[_0x519781+0x2]^_0x21bc95[0x2],_0x63117d=_0xa6a68f[_0x519781+0x3]^_0x21bc95[0x3],_0x19c25c=0x4,_0x1c1209=0x1;_0x1c1209<_0x82ab46;_0x1c1209++){var _0x314d39=_0x1be7eb[_0x26ed7d>>>0x18]^_0x251fd5[_0x1c2f6e>>>0x10&0xff]^_0x581711[_0x1da068>>>0x8&0xff]^_0x598f91[_0x63117d&0xff]^_0x21bc95[_0x19c25c++],_0xa23030=_0x1be7eb[_0x1c2f6e>>>0x18]^_0x251fd5[_0x1da068>>>0x10&0xff]^_0x581711[_0x63117d>>>0x8&0xff]^_0x598f91[_0x26ed7d&0xff]^_0x21bc95[_0x19c25c++],_0x11f6d0=_0x1be7eb[_0x1da068>>>0x18]^_0x251fd5[_0x63117d>>>0x10&0xff]^_0x581711[_0x26ed7d>>>0x8&0xff]^_0x598f91[_0x1c2f6e&0xff]^_0x21bc95[_0x19c25c++],_0x17842d=_0x1be7eb[_0x63117d>>>0x18]^_0x251fd5[_0x26ed7d>>>0x10&0xff]^_0x581711[_0x1c2f6e>>>0x8&0xff]^_0x598f91[_0x1da068&0xff]^_0x21bc95[_0x19c25c++];_0x26ed7d=_0x314d39,_0x1c2f6e=_0xa23030,_0x1da068=_0x11f6d0,_0x63117d=_0x17842d;}var _0x314d39=(_0x546c5f[_0x26ed7d>>>0x18]<<0x18|_0x546c5f[_0x1c2f6e>>>0x10&0xff]<<0x10|_0x546c5f[_0x1da068>>>0x8&0xff]<<0x8|_0x546c5f[_0x63117d&0xff])^_0x21bc95[_0x19c25c++],_0xa23030=(_0x546c5f[_0x1c2f6e>>>0x18]<<0x18|_0x546c5f[_0x1da068>>>0x10&0xff]<<0x10|_0x546c5f[_0x63117d>>>0x8&0xff]<<0x8|_0x546c5f[_0x26ed7d&0xff])^_0x21bc95[_0x19c25c++],_0x11f6d0=(_0x546c5f[_0x1da068>>>0x18]<<0x18|_0x546c5f[_0x63117d>>>0x10&0xff]<<0x10|_0x546c5f[_0x26ed7d>>>0x8&0xff]<<0x8|_0x546c5f[_0x1c2f6e&0xff])^_0x21bc95[_0x19c25c++],_0x17842d=(_0x546c5f[_0x63117d>>>0x18]<<0x18|_0x546c5f[_0x26ed7d>>>0x10&0xff]<<0x10|_0x546c5f[_0x1c2f6e>>>0x8&0xff]<<0x8|_0x546c5f[_0x1da068&0xff])^_0x21bc95[_0x19c25c++];_0xa6a68f[_0x519781]=_0x314d39,_0xa6a68f[_0x519781+0x1]=_0xa23030,_0xa6a68f[_0x519781+0x2]=_0x11f6d0,_0xa6a68f[_0x519781+0x3]=_0x17842d;},'keySize':0x100/0x20});_0x2c16f4[_0x21ffe8(0x452)]=_0x5d4788[_0x21ffe8(0x41b)](_0x232641);}()),_0x2e2bf9[_0x158ce7(0x452)];}));}(fe)),fe[_0x4067b9(0x3cc)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0xfb6c54(0x3cc)],at;function Xi(){return at||(at=0x1,function(_0x6dabd8,_0x25394b){(function(_0x5f3d03,_0x3489b9){var _0x13b2c8=_0x430f;_0x6dabd8[_0x13b2c8(0x3cc)]=_0x3489b9(ee());}(Ji,function(_0x27572f){var _0x136748=_0x430f;return _0x27572f['enc'][_0x136748(0x2f6)];}));}(be)),be['exports'];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re['exports'],ct;function tn(){var _0x41c1ac=_0xfb6c54;return ct||(ct=0x1,function(_0x32b7e0,_0x3a4688){(function(_0xa6dc40,_0x129502){var _0x53e4d0=_0x430f;_0x32b7e0[_0x53e4d0(0x3cc)]=_0x129502(ee());}(en,function(_0x5d093b){var _0x5c5152=_0x430f;return(function(){var _0x5a7014=_0x430f;if(typeof ArrayBuffer=='function'){var _0x1e1304=_0x5d093b,_0x196e63=_0x1e1304[_0x5a7014(0x335)],_0xcdd3d0=_0x196e63[_0x5a7014(0x472)],_0x397520=_0xcdd3d0[_0x5a7014(0x489)],_0x303e57=_0xcdd3d0[_0x5a7014(0x489)]=function(_0x6774ca){var _0x1ebb68=_0x5a7014;if(_0x6774ca instanceof ArrayBuffer&&(_0x6774ca=new Uint8Array(_0x6774ca)),(_0x6774ca instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x6774ca instanceof Uint8ClampedArray||_0x6774ca instanceof Int16Array||_0x6774ca instanceof Uint16Array||_0x6774ca instanceof Int32Array||_0x6774ca instanceof Uint32Array||_0x6774ca instanceof Float32Array||_0x6774ca instanceof Float64Array)&&(_0x6774ca=new Uint8Array(_0x6774ca[_0x1ebb68(0x2fe)],_0x6774ca[_0x1ebb68(0x1c1)],_0x6774ca[_0x1ebb68(0x43e)])),_0x6774ca instanceof Uint8Array){for(var _0x3f1cd9=_0x6774ca[_0x1ebb68(0x43e)],_0x15c040=[],_0x131879=0x0;_0x131879<_0x3f1cd9;_0x131879++)_0x15c040[_0x131879>>>0x2]|=_0x6774ca[_0x131879]<<0x18-_0x131879%0x4*0x8;_0x397520[_0x1ebb68(0x244)](this,_0x15c040,_0x3f1cd9);}else _0x397520['apply'](this,arguments);};_0x303e57[_0x5a7014(0x33a)]=_0xcdd3d0;}}()),_0x5d093b[_0x5c5152(0x335)]['WordArray'];}));}(Re)),Re[_0x41c1ac(0x3cc)];}function _0x2464(){var _0x15d353=['WorkbookEditablePermission','Could\x20not\x20dynamically\x20require\x20\x22','_tryReconnect','actions','_initMergeInterceptor','120672tBnyDM','mixIn','collaboration-client.local-cache-service','mode','state','dispose','pauseCollaboration','_createHmacHelper','getRandomValues','cfg','decrypt','_change$','_commandService','b64DecodeUnicode','awaitingChangeset','HttpImport','_append','getFocusedUnit','_shouldReportTelemetry','_undoRedoService','IUniverInstanceService','ALREADY_EXISTS','Plugin','textRanges','title','CollaborationUIEventService','SnapshotServerOverHTTPService','_getUploadFileURL','_startTelemetryCollaborationNewChangeset','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','touchDependencies','_sheetTransformSelectionsService','_checkMissing','CommentService','decryptBlock','getMemberID','BehaviorSubject','SheetsSelectionsService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','find','socketService','onTransformIME','iterations','_createHelper','ivSize','toggleOffline','sigBytes','ISingleActiveUnitService','compute','SyncedState','image/jpg','apply','_onRemoteRejected','LocaleService','UnitEmbedded','/object/','responseType','_socketMessageSubscription','OpenSSL','setCurrentUser','blockSize','MUTATION','CONNECTOR_DATA_TOO_LARGE','onRemoteRetry','INVALID_ARGUMENT','LOCAL_CACHE_INTERVAL_KEY','176744JTrLKR','collaMsg','_entities','JOIN','JSONX','reqId','_logService','[CollaborationSessionService]','filter','ERROR_IMAGE_TYPE','_getCurrentRevision','editing\x20status\x20changed\x20to','byteLength','TOO_MANY_REQUESTS','_replaceFileID','UniverCollaborationClientPlugin','_oKey','ISocketService','registerDependencies','CollaborationImageIoService','Cipher','_eventService','DataLoaderService','getMember','BlockCipherMode','_unlockTransition','c2Prime','getTypeOfUnitAdded$','LIVESHARE_FETCH_OPERATIONS','requestParams','DocCollaborationEntity','awaiting_with_pending','AES','_onRecvEvent','forEach','@univerjs/drawing','SheetPermissionInitController','selections','defineProperty','update','resourceIDs','UNIVER_SHEET','getSheetBlock','ERROR_IMAGE','_univerInstanceService','/universer-api/file/{fileID}/sign-url','_throwTelemetryCollaborationNewChangeset','FETCH_MISSING','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','generateRandomId','Rectangle','baseRev','[UniverCollaborationClientPlugin]','CollaborationSession','members','result','IImageIoService','createInstance','awaiting','_sender','_loadSheet','_showConflictNotification','_memberService','INVALID_INVITE_CODE','WordArray','/universer-api/oidc/authpage','[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.','getSnapshotAPIPath','roles','take','onTransformState','/rev/','startsWith','enableSingleActiveInstanceLock','getTypeOfUnitDisposed$','format','charAt','NOT_COLLAB','Base','focused$','debug','[OfflineState]:\x20received\x20acknowledgement.','url','onCommentUpdate','ws://127.0.0.1:8000/universer-api/comb/connect','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPLETION_FINISHED','init','onCommandExecuted','[CollaborationSession]','fetchMissingChangesets','_sessionStatus$','UNAUTHENTICATED','_incrementRevisionNumber','createIdentifier','_keyPriorReset','image/png','_userManagerService','_iKey','JOINING','allowed','appendMutation','USERS_ENTER','putCollaborators','getInterceptPoints','getOwnPropertyDescriptor','onload','_nRounds','_createInitialState','IContextService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','8GMmcJn','collaboration_new_changeset','_commentService','leaveEvent','objectType','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','splice','size','Malformed\x20UTF-8\x20data','JOIN_ROOM_NOT_EXISTS','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sessionStatus$','CollaborationSessionService','_cipher','values','collabSubmitChangesetUrl','LIVESHARE_REQUEST_HOST','onlyLocal','enableAuthServer','error','_removeRoom','commentUpdate$','updateCollaborator','HttpExport','RECV','signUrlServerUrl','AWAITING','_getSendChangesetTimeout','_doProcessBlock','sendChangesetTimeout','_startCollaboration','UNRECOGNIZED','algo','APPLY_DUPLICATED','_iv','fetch_missing','encryptBlock','LIVESHARE_NEW_HOST','rng','string','APPLY_REVISION_CONFILICT','cmd','create','onSendChangeset','[FetchMissState]','getLatestCsReqIdBySid','BufferedBlockAlgorithm','SHOULD_CLOSE_CONN','_members$','c1Prime','toString','online$','_config','INTERNAL_ERROR','?url=','COMPRESS_MUTATION_SEND','rxjs/operators','_clearCollaborationTimeoutTimer','onMissedChangesetFetched','capture','@univerjs-pro/license','_unitID','readInt32LE','roomInfos','body','_loadDoc','_stopTelemetryCollaborationNewChangeset','_onConflict','pad','_scheduleCompleteTimestamp','listCollaborators','CLOSE_ROOM','x-univer-host','_registerDependencies','duration','error$','parse','_getDownloadEndpointURL','snapshotServerUrl','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','name','_acknowledgedAwaitingChangeset','withCredentials','_updateStatus','BASE64','UniverNetworkPlugin','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','finalize','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','CollaborationUIEventId','onStateChange','key','__creator','[SyncedState]:\x20received\x20acknowledgement.','_roomMembers','reconnect','FetchingMissState','_doCreateSocket','LIVESHARE_OPERATION','retryConnectingInterval','close','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CONFLICT','DEFAULT_WS_SESSION_TICKET_URL','&to=','updateOfflineData','subject','now','_httpService','revision','saveChangeset','/universer-api/user/session-ticket','ISnapshotServerService','_telemetryService','setShowComponents','transformUndoRedo','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_candidateSocket','serializeCombRequest','joinRsp','getLocalCacheKey','delete','sid','PERMISSION_DENIED','range','_createInitialStateImpl','onMissingChangesets','keySize','SEND_CHANGESET_TIMEOUT_KEY','getUnitOnRev','updateMember','UNDEFINED','resend','CommandType','_collaborationSessionService','CHANGESET_REVISION_CONFILICT','MentionType','_resendTimeout','_waitForHeartbeatResponse','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','MentionIoHttpService','_minBufferSize','unit-cache-','compose','data','INVITE_CODE_ALREADY_BOUND','mutations','JOIN_ROOM_FAILED','Failed\x20to\x20update\x20permission\x20point','JOIN_ROOM_FULL','_rescheduleHeartbeat','_onFetchMissResult','OFFLINE','state$','EvpKDF','requireSession','interceptor','kdf','getGlobalObject','_map','_injector','byteOffset','rev','session.join-failed','_transformRemoteChangesetByIMECache','_retryCount','AuthzIoHttpService','function','getCurrentRevOfUnit','_clearRedo','_sendingTimer','UniverCollaborationPlugin','removeMember','encodeURIComponent','unitId','LICENSE_DISTRO_REJECTED','CipherParams','AwaitingWithPendingState','HELLO','waitForRoom$','open$','fromCollab','reduce','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[CollaborationUndoRedoService]','takeUntil','set','INVITE_CODE_HAS_BEEN_UES','indexOf','_syncEditingCollabCursor','_getAPIPrefix','disableLocalCache','UNISCRIPT_RUN','APPLY_REJECT','unitId\x20is\x20not\x20found','Error\x20on\x20receiving\x20event','OfflineState','/allowed','/universer-api/comb','unpad','mergeOverrideWithDependencies','univer-pro.collaboration-client-socket-service','getUnitStatus$','@univerjs/core','CompressMutationService','_hasher','[CollaborationState]:\x20apply\x20error!','originalMeta','members$','emitEvent','ConflictState','crypto','_getUndoStack','_onRemoteChangeset','reject','uploadFileServerUrl','_transformSelections','LICENSE_EXPORT_SIZE_EXCEEDED','_ENC_XFORM_MODE','getActiveSheet','override','synced','POST','_pendingMutations','addImageSourceCache','SheetCollaborationEntity','_unitInfo$','formatter','offline','Inject','updateCursorEvent','loadDoc','dispose$','loginUrlKey','executeCommand','COLLAB_SUBMIT_CHANGESET_URL_KEY','$super','_onRemoteACK','CollaborationEvent','routeKey','_changesetSessionId','_HTTPService','session.room-cnt-exceeds','_event$','CollaborativeUndoRedoService','randomBytes','15VpxWVU','workbook','_init','hasher','UPDATE_PERMISSION_OBJ','entries','floor','_initDependencies','collaborators','concatMap','setConfig','RETRY_CONNECTING_MAX_COUNT','userID','joinEvent','_disableEditing','_instanceService','SessionStatus','18501pbXTIn','_resendTimer','from','onLocalMutation','getSheetId','CHANGESET_ACK','YUUMI_UNABLE_LOAD_URL','_onOffline','_networkConditionService','PERMISSION_REJ','UserManagerService','_mode','downloadEndpointUrl','randomUUID','RevisionService','not_collab','3066190MjWAmB','toDisposable','msCrypto','_createHandler','charCodeAt','refreshPermission','isPermissionRej','StreamCipher','transformChangesets','bind','getWorkbookSelections','_transformIMECache','_clearLocalCache','call','fromCharCode','INGEST','session.room-permission-denied','CHANGESET_SHOULD_RETRY','_entityInit$','fetchThroughInterceptors','failed\x20to\x20apply\x20missed\x20changesets!','event$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','complete','then','m2Prime','saveSnapshot','closeSession','LICENSE_IMPORT_SIZE_EXCEEDED','newCsEvent','JOIN_ROOM_PERMISSION_DENIED','unitInfo$','ImageSourceType','list','MD5','slice','saveImage','PERSON','onTransformSelections','COMMENT_UPDATE','_onConnectionOpen','_transformService','FAIL','_snapshotService','FETCH_MISS','AwaitingState','onTransformRemoteChangesetByIMECache','length','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_localCacheService','FileId','put','save\x20fail\x20reason\x20is\x20','_emitMembers','min','disposeWithMe','IDLE','_invKeySchedule','_getCtorByUniverType','execute','sin','_state','image/bmp','_doFinalize','liveShareOperation','submit\x20changeset\x20error!','_sendHeartbeatTimer','_onMessage','fetchMiss','_nDataBytes','_onLocalMutation','random','_keySchedule','eventID','_doReset','rxjs','send','onSyncEditingCollabCursor','_telemetryInfo','_changesetReqId','HEARTBEAT_TIMEOUT_KEY','_submitChangeset','clear','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ICommandService','HEARTBEAT_INTERVAL','href','Decryptor','UNKNOWN_CMD','_initUnitPermissionChange','fetching\x20missing\x20changesets\x20from\x20','_transformStack','Hex','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','@univerjs/docs','Univer','SNAPSHOT_HAS_BEEN_REMOVED','NOT_FOUND','_revisionService','getCollabEntity$','/universer-api/snapshot','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LOGIN_URL_KEY','\x0aCurrent:\x20','localeService','words','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','merge','_toggleOnline','_onJoinRoomEvent','OTHER_CLIENT_EDITING','createDecryptor','salt','isInternalEditorID','AUTHZ_URL_KEY','_xformMode','_remoteChangesetQueue','method','deserializeToCombResponse','_listenToNetworkCondition','_waitCount','RxDisposable','status$','map','_collaborationUIEventService','Encryptor','UniverInstanceType','_timeoutTimer','getResourcesRequest','location','padding','textEncoder','transformMutationsWithChangeset','UnitStatus','_scheduleCollaborationTimeoutTimer','_isPermissionRej','SNAPSHOT_URL_KEY','_initRequestHeader','getUnitType','_redoStacks','status','get','USERS_LEAVE','readAsDataURL','DependentOn','stringify','_onConnectionFailed','PSEUDO_FETCH_MISSING_RESULT','SOCKET_FAILED','socket\x20close','enc','collaboration-client.config','_substituteUndoStack','\x0aAfter:\x20','SNAPSHOT_INVALID_SNAPSHOT','incrementRevOfUnit','HMAC','_getSignURL','SYNCED','extend','_getAPIPrefixPath','OPTIONAL','batchAllowed','_decreaseWaiting','image/gif','SheetTransformSelectionsService','_key','LOCAL_CACHE_INTERVAL','YUUMI_SUBSCRIPTION_NOT_FOUND','max','sequenceExecute','_state$','isArray','unknown','listRoles','entityInit$','clone','createSocket','/object','_hash','_permissionService','9vXrWnK','1325358ECAJAr','pipe','onTransformRemoteChangesetByStateCache','GLOBAL_ROOMS_CNT_EXCEEDS','_toggleOffline','[CollaborationEntity]','encode','_socketService','clamp','Utf8','_parse','Quantity','_doCryptBlock','unsubscribe','UNIVER_SLIDE','setWaitCount','parseProtocolChangeset','buffer','SerializableCipher','_reverseMap','\x20in\x20_schedule.','_clearHeartbeatTimer','SNAPSHOT_SERVER_URL_KEY','getDeserializedSheetBlock','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','AWAITING_WITH_PENDING','push','_transitionLocked','_localeService','BlockCipher','Latin1','ciphertext','\x20-\x20','ITransformService','_compressMutationService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SUCCUSS','replace','reset','_roomCreated$','ITelemetryService','/universer-api/snapshot/','getRoom','_queuedRemoteChangesets','getValue','YUUMI_URL_COL_OUT_OF_RANGE','session','socket\x20open.','_transformUndoredo','USER_NOT_INVITED_CODE','next','_status$','COMPRESS_MUTATION_APPLY','Injector','3710493ATpTyL','isTransformChangesetsSuccess','Disposable','UPDATE_CURSOR','firstValueFrom','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_handler','_collabSessionService','/-/object/-/batch_allowed','SEND_CHANGESET_TIMEOUT','code','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','PasswordBasedCipher','_clearUndo','Undefined','NEW_CHANGESETS','lib','LICENSE_MAX_UNITS_EXCEEDED','ILocalCacheService','src','authzUrl','prototype','onRemoteChangeset','updatePermissionPoint','LIVESHARE_TERMINATE','_awaitingChangeset','getCurrentUser','Pkcs7','751552CzOLXf','csAckEvent','_transformRemoteChangesetByStateCache','APPLY_PERMISSION_DENIED','_socket$','readyForCollab','hasOwnProperty','_members','People','_configService','registerHTTPInterceptor','HTTPService','_updateLocalCache','unitID','isTransformMutationsWithChangesetSuccess','RETRY_CONNECTING_MAX_COUNT_KEY','abs','/collaborator','message$','getConfig','onRemoteAck','SOCKET_FAILED_RETRY','SHA1','objectActions','&assign=','SnapshotService','_executeRemoteChangeset','close$','equals','DEFAULT_FILE_NAME','SUBMIT_CHANGESET','[DataLoaderService]','/universer-api/authz','CollaborationController','MSG_FOR_ERROR','_clearRetryConnectingTimer','getCollabEntity','_onUserLeave','liveShareNewHost','isTransformMutationsWithChangesetFailure','loadSheet','IPermissionService','DEFAULT_COLLAB_WEB_SOCKET_URL','OTHER_CLIENTS_EDITING','Tools','concat','_applyRemoteChangeset','univer-pro.collaboration-client.network-condition.service','SetSelectionsOperation','socket$','_retryConnectingTimer','_type','deepClone','HEARTBEAT_INTERVAL_KEY','collabWebSocketUrl','encrypt','editingUnit','ONLINE','RichTextEditingMutation','getUnit','ICollaborationSocketService','patch','type','asObservable','ILogService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_sendHeartbeat','_socketReady','localCacheService','change$','_collaborationPaused','_snapshotServerService','\x20to\x20','/universer-api/stream/file/upload','join','_sessions','_schedule','subscribe','_clearScheduledTask','UNIVER_PROJECT','_onUserJoin','has','_commentUpdate$','startTime','onRemoteRej','IUndoRedoService','CollaborationStatus','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Base64','ceil','hostname','_joinRoom','ENSURE_SNAPSHOT_EXECUTION','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getImage','_exhaustRemoteChangesetQueue','_imageSourceCache','_resendWithTimeout','_prevBlock','objectID','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','initWorkbookPermissionChange','_onCombEvent','PendingState','CollaborationSocketService','LEAVE','onStarting','PY_RUNTIME_SCRIPT_ERROR','HEARTBEAT','toggleOnline','add','_createSocket','/fetchmissing?from=','ImageUploadStatusType','@univerjs/network','connection\x20error','_tryEnsureSocket','params','_collaborationTimeoutTimer','_updateState','getUnitId','createEncryptor','_initCloseConn','parseChangesetToProtocol','@univerjs-pro/collaboration','repeat','_handlerCallback','CollaborationEntity','_substituteRedoStack','_replayCachedMutations','getTime','pending','Optional','Module','delay','_socket','UNKNOWN_CODE','_fetchMissChangesets','conflict','exports','_data','updatePermissionObjEvent','/block/','IConfigService','transformSelections','33kPkMVD','copyFileMeta','_clearTimeoutTimer','auth.needGotoLoginAlert','post','_getRedoStack','collaboratorID','SUBMIT_CHANGESET_TIMEOUT','COLLAB_SUBMIT_CHANGESET_URL','memberID','INVITE_CODE_REQUIRED','loadOfflineData','MemberService','every','/-/object/list','_process','Subject','NO_OTHER_CLIENTS_EDITING','CBC','DisposableCollection','_lockTransition','UNIVER_DOC','/unit/','_singleActiveUnitService','NoPadding'];_0x2464=function(){return _0x15d353;};return _0x2464();}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0xfb6c54(0x3cc)],ht;function on(){var _0x222678=_0xfb6c54;return ht||(ht=0x1,function(_0xffb0e5,_0xebf659){(function(_0x4d11e1,_0x47b47b,_0x468788){var _0x5c08d8=_0x430f;_0xffb0e5[_0x5c08d8(0x3cc)]=_0x47b47b(ee(),Pt());}(sn,function(_0x7a25fd){var _0x33bb45=_0x430f;return _0x7a25fd[_0x33bb45(0x164)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x7a25fd[_0x33bb45(0x164)][_0x33bb45(0x3ea)];}));}(ye)),ye[_0x222678(0x3cc)];}var an=on();const cn=Se(an);function hn(_0x279cfd,_0x38f607){var _0x383eb1=_0xfb6c54;const _0x271a68=_0x38f607-_0x279cfd[_0x383eb1(0x266)]%_0x38f607,_0x7d32b=String[_0x383eb1(0x245)](_0x271a68)[_0x383eb1(0x3be)](_0x271a68);return _0x279cfd+_0x7d32b;}function ln(_0xdf74cc,_0x2e23e8){var _0x35b497=_0xfb6c54;const _0x33a234=rn['random'](0x10),_0x529bed=hn(_0xdf74cc,0x10),_0x58d9d8=qi[_0x35b497(0x378)](Qi[_0x35b497(0x16c)](_0x529bed),ot[_0x35b497(0x16c)](_0x2e23e8),{'iv':_0x33a234,'padding':cn});return _0x33a234[_0x35b497(0x36e)](_0x58d9d8['ciphertext'])[_0x35b497(0x4d3)](ot);}function _n(){var _0x177086=_0xfb6c54;const _0x599a3c=xt[_0x177086(0x1be)]()['__Key__'];if(_0x599a3c){const _0xb378e2={'time':Math[_0x177086(0x21c)](Date[_0x177086(0x18b)]()/0x3e8),'domain':location[_0x177086(0x39b)]};return ln(JSON[_0x177086(0x2c8)](_0xb378e2),_0x599a3c);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x504324,_0x256b8c,_0x3f0ffa,_0x4dac52)=>{var _0x2da4cb=_0xfb6c54;for(var _0xc05b1f=_0x4dac52>0x1?void 0x0:_0x4dac52?un(_0x256b8c,_0x3f0ffa):_0x256b8c,_0x582a5e=_0x504324[_0x2da4cb(0x266)]-0x1,_0x16d32d;_0x582a5e>=0x0;_0x582a5e--)(_0x16d32d=_0x504324[_0x582a5e])&&(_0xc05b1f=_0x16d32d(_0xc05b1f)||_0xc05b1f);return _0xc05b1f;},vn=(_0x54c52c,_0x4867a6)=>(_0x3b1f66,_0x2cff90)=>_0x4867a6(_0x3b1f66,_0x2cff90,_0x54c52c);let Ne=class{constructor(_0x2b163a){var _0x3af75e=_0xfb6c54;this[_0x3af75e(0x18c)]=_0x2b163a,this[_0x3af75e(0x2c0)]();}[_0xfb6c54(0x2c0)](){var _0x2eb18c=_0xfb6c54;this[_0x2eb18c(0x18c)][_0x2eb18c(0x34b)]({'interceptor':(_0xb7266f,_0x1b4bf3)=>{var _0x305d27=_0x2eb18c;const _0x465297=_0xb7266f['headers'],_0x5d6383=_n();return _0x5d6383&&_0x465297[_0x305d27(0x1da)](_0x305d27(0x168),_0x5d6383),_0x1b4bf3(_0xb7266f);}});}};Ne=dn([vn(0x0,a[_0xfb6c54(0x205)](q[_0xfb6c54(0x34c)]))],Ne);var Sn=Object[_0xfb6c54(0x49b)],fn=(_0x431586,_0x54bc27,_0x58f0d5,_0x1b23ee)=>{var _0x4b784e=_0xfb6c54;for(var _0x2a800c=_0x1b23ee>0x1?void 0x0:_0x1b23ee?Sn(_0x54bc27,_0x58f0d5):_0x54bc27,_0x5b3b10=_0x431586[_0x4b784e(0x266)]-0x1,_0x49db07;_0x5b3b10>=0x0;_0x5b3b10--)(_0x49db07=_0x431586[_0x5b3b10])&&(_0x2a800c=_0x49db07(_0x2a800c)||_0x2a800c);return _0x2a800c;},Me=(_0x14cc3d,_0x296a0a)=>(_0x2d9cfe,_0x1e89d3)=>_0x296a0a(_0x2d9cfe,_0x1e89d3,_0x14cc3d);exports[_0xfb6c54(0x448)]=class extends a[_0xfb6c54(0x2b0)]{constructor(_0x114b2c,_0x2f2287,_0x3ca5aa){var _0xf09bd8=_0xfb6c54;super(),A(this,_0xf09bd8(0x202),new j[(_0xf09bd8(0x414))](null)),A(this,_0xf09bd8(0x256),this[_0xf09bd8(0x202)][_0xf09bd8(0x380)]()),(this['_logService']=_0x114b2c,this[_0xf09bd8(0x262)]=_0x2f2287,this['_localCacheService']=_0x3ca5aa);}async['loadUnit'](_0x2ead84,_0x897034,_0x926a6e){var _0x29293d=_0xfb6c54;this[_0x29293d(0x202)][_0x29293d(0x320)]({'unitId':_0x2ead84,'type':_0x897034,'subUnitId':_0x926a6e});let _0x3b946d=null;switch(_0x897034){case X['UNIVER_SHEET']:{_0x3b946d=await this[_0x29293d(0x46e)](_0x2ead84);break;}case X[_0x29293d(0x3e7)]:{_0x3b946d=await this[_0x29293d(0x161)](_0x2ead84);break;}default:{this[_0x29293d(0x438)]['error'](_0x29293d(0x360),_0x29293d(0x311));break;}}return _0x3b946d;}async['_loadSheet'](_0x407dea){var _0x371867=_0xfb6c54,_0x2672f3;let _0x55703d=0x0;const _0x541b5e=await((_0x2672f3=this[_0x371867(0x268)])==null?void 0x0:_0x2672f3[_0x371867(0x3dd)](_0x407dea));return _0x541b5e&&(_0x541b5e[_0x371867(0x3fe)]||_0x541b5e[_0x371867(0x1b2)][_0x371867(0x266)]!==0x0)&&(_0x55703d=_0x541b5e[_0x371867(0x1c2)]),_0x55703d===0x0&&this['_logService']['debug'](_0x371867(0x360),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x371867(0x262)][_0x371867(0x369)](_0x407dea,_0x55703d);}async[_0xfb6c54(0x161)](_0x2506c9){var _0x242d2d=_0xfb6c54,_0x49320c;let _0x4d7815=0x0;const _0x5946bf=await((_0x49320c=this['_localCacheService'])==null?void 0x0:_0x49320c[_0x242d2d(0x3dd)](_0x2506c9));return _0x5946bf&&(_0x5946bf[_0x242d2d(0x3fe)]||_0x5946bf[_0x242d2d(0x1b2)][_0x242d2d(0x266)]!==0x0)&&(_0x4d7815=_0x5946bf['rev']),_0x4d7815===0x0&&this[_0x242d2d(0x438)][_0x242d2d(0x482)](_0x242d2d(0x360),_0x242d2d(0x305)),this[_0x242d2d(0x262)][_0x242d2d(0x207)](_0x2506c9,_0x4d7815);}},exports[_0xfb6c54(0x448)]=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0xfb6c54(0x205)](g[_0xfb6c54(0x35a)])),Me(0x2,a['Optional'](z))],exports[_0xfb6c54(0x448)]);var pn=Object[_0xfb6c54(0x49b)],gn=(_0x42f385,_0x49dbb8,_0x518241,_0x5c0999)=>{var _0x1094f6=_0xfb6c54;for(var _0x34e8a4=_0x5c0999>0x1?void 0x0:_0x5c0999?pn(_0x49dbb8,_0x518241):_0x49dbb8,_0x4456b7=_0x42f385[_0x1094f6(0x266)]-0x1,_0x1bb34e;_0x4456b7>=0x0;_0x4456b7--)(_0x1bb34e=_0x42f385[_0x4456b7])&&(_0x34e8a4=_0x1bb34e(_0x34e8a4)||_0x34e8a4);return _0x34e8a4;},xe=(_0x34dbea,_0x4e2203)=>(_0x39db9b,_0x5796b2)=>_0x4e2203(_0x39db9b,_0x5796b2,_0x34dbea);const mn=[_0xfb6c54(0x492),'image/jpeg',_0xfb6c54(0x422),_0xfb6c54(0x2db),_0xfb6c54(0x275)],In=0x5*0x400*0x400,En=_0xfb6c54(0x382),Cn=_0xfb6c54(0x38a),Tn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',bn=_0xfb6c54(0x45f);exports['CollaborationImageIoService']=class{constructor(_0x24a7d8,_0x4122ee,_0xa3c78b){var _0x8eb24c=_0xfb6c54;A(this,_0x8eb24c(0x2af),0x0),A(this,_0x8eb24c(0x3fb),new j['Subject']()),A(this,_0x8eb24c(0x386),this['_change$']),A(this,_0x8eb24c(0x3a1),new Map()),(this[_0x8eb24c(0x18c)]=_0x24a7d8,this[_0x8eb24c(0x34a)]=_0x4122ee,this[_0x8eb24c(0x45e)]=_0xa3c78b);}[_0xfb6c54(0x2fc)](_0x49d6be){var _0x3e8dd4=_0xfb6c54;this[_0x3e8dd4(0x2af)]=_0x49d6be,this[_0x3e8dd4(0x3fb)][_0x3e8dd4(0x320)](_0x49d6be);}['getImageSourceCache'](_0x5744d2,_0x344077){var _0x1196d3=_0xfb6c54;if(_0x344077===J['ImageSourceType']['BASE64']){const _0x1561af=new Image();return _0x1561af[_0x1196d3(0x338)]=_0x5744d2,_0x1561af;}return this[_0x1196d3(0x3a1)][_0x1196d3(0x2c4)](_0x5744d2);}[_0xfb6c54(0x200)](_0x47be40,_0x591c79,_0x669a28){var _0x167d25=_0xfb6c54;_0x591c79===J[_0x167d25(0x257)][_0x167d25(0x174)]||_0x669a28==null||this[_0x167d25(0x3a1)][_0x167d25(0x1da)](_0x47be40,_0x669a28);}async[_0xfb6c54(0x39f)](_0x1be192){var _0x3064d3=_0xfb6c54;try{const _0xc89130=this[_0x3064d3(0x440)](this[_0x3064d3(0x2d4)](),''+_0x1be192),_0x4b0d4e=(await this[_0x3064d3(0x18c)][_0x3064d3(0x2c4)](_0xc89130))[_0x3064d3(0x160)];if(_0x4b0d4e['error']&&_0x4b0d4e['error']['code']===Ct['OK']){const _0x2a1271=new URL(_0x4b0d4e[_0x3064d3(0x484)],this['_getDownloadEndpointURL']())[_0x3064d3(0x4d3)]();return Promise['resolve'](_0x2a1271);}return Promise[_0x3064d3(0x1f6)](_0x4b0d4e[_0x3064d3(0x4b4)]);}catch(_0x221996){return Promise[_0x3064d3(0x1f6)](_0x221996);}}async[_0xfb6c54(0x25b)](_0x4287cf){var _0x5da1cc=_0xfb6c54;let _0x36da55='';if(!mn['includes'](_0x4287cf['type']))return this['_decreaseWaiting'](),Promise[_0x5da1cc(0x1f6)](new Error(J[_0x5da1cc(0x3b2)][_0x5da1cc(0x43b)]));if(_0x4287cf[_0x5da1cc(0x4a8)]>In)return this[_0x5da1cc(0x2da)](),Promise[_0x5da1cc(0x1f6)](new Error(J[_0x5da1cc(0x3b2)]['ERROR_EXCEED_SIZE']));try{const _0x55eb89=new FormData();_0x55eb89['append']('file',_0x4287cf);const _0x1b0cb2=this[_0x5da1cc(0x45e)][_0x5da1cc(0x401)](),_0x2cc251=_0x1b0cb2==null?void 0x0:_0x1b0cb2[_0x5da1cc(0x3b9)]();if(!_0x2cc251)throw new Error(_0x5da1cc(0x1e2));const _0x1d3f44=this[_0x5da1cc(0x40b)]()+'?size='+_0x4287cf[_0x5da1cc(0x4a8)][_0x5da1cc(0x4d3)]()+'&source='+Tt[_0x5da1cc(0x426)]+_0x5da1cc(0x359)+encodeURIComponent(_0x2cc251),_0x318636=await(await fetch(_0x1d3f44,{'method':_0x5da1cc(0x1fe),'body':_0x55eb89}))['json']();if(typeof _0x318636[_0x5da1cc(0x269)]!=_0x5da1cc(0x4c8))return this[_0x5da1cc(0x2da)](),Promise[_0x5da1cc(0x1f6)](new Error(J['ImageUploadStatusType'][_0x5da1cc(0x45d)]));_0x36da55=_0x318636[_0x5da1cc(0x269)];}catch{return this[_0x5da1cc(0x2da)](),Promise[_0x5da1cc(0x1f6)](new Error(J[_0x5da1cc(0x3b2)][_0x5da1cc(0x45d)]));}return new Promise((_0x37fc43,_0x4dde48)=>{var _0x4a78dc=_0x5da1cc;const _0x1e5213=new FileReader();_0x1e5213[_0x4a78dc(0x2c6)](_0x4287cf),_0x1e5213[_0x4a78dc(0x49c)]=_0x1f34d7=>{var _0x4f5c59=_0x4a78dc,_0x546843;const _0x177f0e=(_0x546843=_0x1f34d7['target'])==null?void 0x0:_0x546843[_0x4f5c59(0x469)];if(_0x177f0e==null){this['_decreaseWaiting'](),_0x4dde48(new Error(J[_0x4f5c59(0x3b2)][_0x4f5c59(0x45d)]));return;}const _0x595799=a['Tools'][_0x4f5c59(0x463)](0x6);_0x37fc43({'imageId':_0x595799,'imageSourceType':J[_0x4f5c59(0x257)]['UUID'],'source':_0x36da55,'base64Cache':_0x177f0e,'status':J[_0x4f5c59(0x3b2)][_0x4f5c59(0x312)]}),this[_0x4f5c59(0x2da)]();};});}[_0xfb6c54(0x40b)](){var _0x425f2d=_0xfb6c54,_0xae9bb4,_0x3a3f88;const _0x41a546=this[_0x425f2d(0x34a)][_0x425f2d(0x354)](En),_0x2f25f4=this[_0x425f2d(0x34a)]['getConfig'](Y);return(_0x3a3f88=(_0xae9bb4=_0x2f25f4==null?void 0x0:_0x2f25f4[_0x425f2d(0x1f7)])!=null?_0xae9bb4:_0x41a546)!=null?_0x3a3f88:Cn;}[_0xfb6c54(0x2d4)](){var _0x2d1e59=_0xfb6c54,_0x30d220,_0x26b7fb;const _0x1bce6c=this[_0x2d1e59(0x34a)][_0x2d1e59(0x354)](Tn),_0x25f00e=this[_0x2d1e59(0x34a)][_0x2d1e59(0x354)](Y);return(_0x26b7fb=(_0x30d220=_0x25f00e==null?void 0x0:_0x25f00e[_0x2d1e59(0x4ba)])!=null?_0x30d220:_0x1bce6c)!=null?_0x26b7fb:bn;}[_0xfb6c54(0x16d)](){var _0x384193=_0xfb6c54,_0x18eb28;const _0x25253a=this[_0x384193(0x34a)]['getConfig'](Y);return(_0x18eb28=_0x25253a==null?void 0x0:_0x25253a[_0x384193(0x233)])!=null?_0x18eb28:location['origin'];}[_0xfb6c54(0x440)](_0x15a542,_0x3b9f83){var _0x1d88ef=_0xfb6c54;return _0x15a542[_0x1d88ef(0x313)]('{fileID}',_0x3b9f83);}[_0xfb6c54(0x2da)](){var _0x2279dd=_0xfb6c54;this[_0x2279dd(0x2af)]-=0x1,this[_0x2279dd(0x3fb)][_0x2279dd(0x320)](this[_0x2279dd(0x2af)]);}},exports[_0xfb6c54(0x445)]=gn([xe(0x0,a[_0xfb6c54(0x205)](q[_0xfb6c54(0x34c)])),xe(0x1,a[_0xfb6c54(0x3d0)]),xe(0x2,a['Inject'](a[_0xfb6c54(0x404)]))],exports[_0xfb6c54(0x445)]);var Rn=Object['getOwnPropertyDescriptor'],yn=(_0x2a28b6,_0xec3d54,_0x151f3d,_0x392129)=>{var _0x1fca23=_0xfb6c54;for(var _0x438f18=_0x392129>0x1?void 0x0:_0x392129?Rn(_0xec3d54,_0x151f3d):_0xec3d54,_0x4027cc=_0x2a28b6[_0x1fca23(0x266)]-0x1,_0x7c26c3;_0x4027cc>=0x0;_0x4027cc--)(_0x7c26c3=_0x2a28b6[_0x4027cc])&&(_0x438f18=_0x7c26c3(_0x438f18)||_0x438f18);return _0x438f18;},lt=(_0x5a6055,_0x55c7f9)=>(_0x158587,_0x4d23a8)=>_0x55c7f9(_0x158587,_0x4d23a8,_0x5a6055);const On='/universer-api/authz';exports[_0xfb6c54(0x1ac)]=class{constructor(_0x4ad7eb,_0x2b77b1){var _0x359ef4=_0xfb6c54;this[_0x359ef4(0x34a)]=_0x4ad7eb,this['_HTTPService']=_0x2b77b1;}['_getAPIPrefixPath'](){var _0x2646cd=_0xfb6c54,_0x387f61,_0x3ba2dd;const _0xbcd3cb=this[_0x2646cd(0x34a)][_0x2646cd(0x354)](Ge),_0x4d4600=this['_configService'][_0x2646cd(0x354)](Y);return(_0x3ba2dd=(_0x387f61=_0x4d4600==null?void 0x0:_0x4d4600[_0x2646cd(0x339)])!=null?_0x387f61:_0xbcd3cb)!=null?_0x3ba2dd:On;}async[_0xfb6c54(0x258)](_0x49d723){var _0x4d60c5=_0xfb6c54;const _0x339226=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x4d60c5(0x349),'mentions':(await this[_0x4d60c5(0x211)][_0x4d60c5(0x2c4)](_0x339226,{'params':{'objectID':_0x49d723['unitId'],'unitID':_0x49d723[_0x4d60c5(0x1ce)]}}))[_0x4d60c5(0x160)][_0x4d60c5(0x21e)]['map'](_0x16e4cb=>({'objectId':_0x16e4cb['id'],'name':_0x16e4cb[_0x4d60c5(0x18a)]['name'],'metadata':{'icon':_0x16e4cb[_0x4d60c5(0x18a)]['avatar']},'label':_0x16e4cb[_0x4d60c5(0x18a)]['name'],'objectType':a[_0x4d60c5(0x1a8)][_0x4d60c5(0x25c)]})),'metadata':{},'type':a[_0x4d60c5(0x1a8)][_0x4d60c5(0x25c)]}]};}},exports[_0xfb6c54(0x1ac)]=yn([lt(0x0,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x3d0)])),lt(0x1,a[_0xfb6c54(0x205)](q['HTTPService']))],exports['MentionIoHttpService']);var Nn=Object['getOwnPropertyDescriptor'],Dn=(_0x5678f5,_0x348b1d,_0x521681,_0x3d704a)=>{var _0x3183f3=_0xfb6c54;for(var _0x4febc0=_0x3d704a>0x1?void 0x0:_0x3d704a?Nn(_0x348b1d,_0x521681):_0x348b1d,_0x5c0c75=_0x5678f5[_0x3183f3(0x266)]-0x1,_0x68edbf;_0x5c0c75>=0x0;_0x5c0c75--)(_0x68edbf=_0x5678f5[_0x5c0c75])&&(_0x4febc0=_0x68edbf(_0x4febc0)||_0x4febc0);return _0x4febc0;},ue=(_0x3c754b,_0x59120e)=>(_0x5f0b90,_0x595538)=>_0x59120e(_0x5f0b90,_0x595538,_0x3c754b);let De=class extends a[_0xfb6c54(0x2b0)]{constructor(_0x43d674,_0x29e7f5,_0x5ec4c3,_0x13d53c,_0xf1e3f0){var _0x579bd8=_0xfb6c54;super(),this[_0x579bd8(0x1c0)]=_0x43d674,this['_univerInstanceService']=_0x29e7f5,this['_permissionService']=_0x5ec4c3,this[_0x579bd8(0x1a6)]=_0x13d53c,this[_0x579bd8(0x2b3)]=_0xf1e3f0,this[_0x579bd8(0x290)](),this[_0x579bd8(0x3bb)]();}['_initCloseConn'](){var _0x1d335c=_0xfb6c54;const _0x4a05cc=async _0x28a1a5=>{var _0x36b2d9=_0x430f;(await this[_0x36b2d9(0x1a6)][_0x36b2d9(0x1bb)](_0x28a1a5))[_0x36b2d9(0x24c)]['pipe'](V['filter'](_0x3e6236=>_0x3e6236[_0x36b2d9(0x280)]===g['CollaborationEvent']['SHOULD_CLOSE_CONN']),V[_0x36b2d9(0x1d9)](this[_0x36b2d9(0x208)]))[_0x36b2d9(0x38e)](_0x2b7c3b=>{var _0xe4052f=_0x36b2d9;const _0x38423d=_0x2b7c3b,{reason:_0x79432d}=_0x38423d[_0xe4052f(0x1b0)];this['_collaborationUIEventService'][_0xe4052f(0x1f1)]({'id':Q['CLOSE_ROOM'],'data':_0x79432d}),this[_0xe4052f(0x2eb)][_0xe4052f(0x33c)](new Z[(_0xe4052f(0x3eb))](_0x28a1a5)['id'],!0x1),this[_0xe4052f(0x1a6)][_0xe4052f(0x252)](_0x28a1a5);});};j[_0x1d335c(0x2a2)](this[_0x1d335c(0x45e)][_0x1d335c(0x44d)](a[_0x1d335c(0x2b5)][_0x1d335c(0x45b)]),this[_0x1d335c(0x45e)][_0x1d335c(0x44d)](a[_0x1d335c(0x2b5)][_0x1d335c(0x3e7)]))[_0x1d335c(0x2ee)](V[_0x1d335c(0x2b2)](_0x2540e2=>_0x2540e2[_0x1d335c(0x3b9)]()),V[_0x1d335c(0x43a)](_0x3b9eb5=>!a[_0x1d335c(0x2a8)](_0x3b9eb5)),V['takeUntil'](this[_0x1d335c(0x208)]))['subscribe'](_0x4ea76f=>{_0x4a05cc(_0x4ea76f);});}[_0xfb6c54(0x290)](){var _0x2c49ea=_0xfb6c54;const _0x2f7436=async _0x27c045=>{var _0x171f64=_0x430f;const _0x3459dd=await this[_0x171f64(0x1a6)][_0x171f64(0x1bb)](_0x27c045),_0x31bdff=this[_0x171f64(0x1c0)][_0x171f64(0x2c4)](Z[_0x171f64(0x456)]);_0x3459dd[_0x171f64(0x24c)][_0x171f64(0x2ee)](V[_0x171f64(0x43a)](_0x19aa08=>_0x19aa08[_0x171f64(0x280)]===g[_0x171f64(0x20e)][_0x171f64(0x21a)]),V[_0x171f64(0x1d9)](this[_0x171f64(0x208)]))['subscribe'](_0xda006f=>{var _0xc57f3c=_0x171f64;const _0x1beca3=_0xda006f,{objectId:_0x4218e6}=_0x1beca3[_0xc57f3c(0x1b0)];_0x4218e6===_0x27c045?_0x31bdff[_0xc57f3c(0x3a6)](_0x27c045):_0x31bdff[_0xc57f3c(0x23c)](_0x27c045,_0x4218e6);});};j[_0x2c49ea(0x2a2)](this[_0x2c49ea(0x45e)][_0x2c49ea(0x44d)](a[_0x2c49ea(0x2b5)][_0x2c49ea(0x45b)]))[_0x2c49ea(0x2ee)](V[_0x2c49ea(0x2b2)](_0x9849d7=>_0x9849d7['getUnitId']()),V[_0x2c49ea(0x43a)](_0x2ccee0=>!a[_0x2c49ea(0x2a8)](_0x2ccee0)),V[_0x2c49ea(0x1d9)](this[_0x2c49ea(0x208)]))[_0x2c49ea(0x38e)](_0x1907d0=>{_0x2f7436(_0x1907d0);});}};De=Dn([ue(0x0,a[_0xfb6c54(0x205)](a[_0xfb6c54(0x323)])),ue(0x1,a[_0xfb6c54(0x404)]),ue(0x2,a[_0xfb6c54(0x36a)]),ue(0x3,a[_0xfb6c54(0x205)](exports['CollaborationSessionService'])),ue(0x4,a[_0xfb6c54(0x205)](te))],De);var Un=Object['getOwnPropertyDescriptor'],An=(_0x49efbd,_0xa840fd,_0x38be20,_0xbb6ede)=>{for(var _0x576524=_0xbb6ede>0x1?void 0x0:_0xbb6ede?Un(_0xa840fd,_0x38be20):_0xa840fd,_0x1045ae=_0x49efbd['length']-0x1,_0x12ad1f;_0x1045ae>=0x0;_0x1045ae--)(_0x12ad1f=_0x49efbd[_0x1045ae])&&(_0x576524=_0x12ad1f(_0x576524)||_0x576524);return _0x576524;},_t=(_0x398e44,_0x10c724)=>(_0xfba959,_0x36964d)=>_0x10c724(_0xfba959,_0x36964d,_0x398e44);exports[_0xfb6c54(0x40a)]=class{constructor(_0x42ceb7,_0x1936c4){var _0x3cb1af=_0xfb6c54;this[_0x3cb1af(0x34a)]=_0x42ceb7,this[_0x3cb1af(0x18c)]=_0x1936c4;}async[_0xfb6c54(0x1a1)](_0x19efb7,_0x1afc2b){var _0x41bbf1=_0xfb6c54,_0x553aeb;const {unitID:_0x8a9c58,type:_0xdd136a,revision:_0x28ea22=0x0}=_0x1afc2b,_0x563ef3=this[_0x41bbf1(0x475)]()+'/'+_0xdd136a+_0x41bbf1(0x3e8)+_0x8a9c58+_0x41bbf1(0x479)+_0x28ea22,_0x21a357=(await this[_0x41bbf1(0x18c)]['get'](_0x563ef3))['body'],_0x5c4d2b=(_0x553aeb=_0x21a357['snapshot'])==null?void 0x0:_0x553aeb[_0x41bbf1(0x217)];if(_0x5c4d2b){const _0x2e7964=_0x5c4d2b==null?void 0x0:_0x5c4d2b['originalMeta'],_0xb4e0f4=g[_0x41bbf1(0x2ba)][_0x41bbf1(0x2f3)](g[_0x41bbf1(0x3fd)](_0x2e7964));_0x5c4d2b[_0x41bbf1(0x1ef)]=_0xb4e0f4,Object[_0x41bbf1(0x21b)](_0x5c4d2b['sheets'])['forEach'](([,_0x1edbca])=>{var _0x2c5fc7=_0x41bbf1;const _0x5a4eca=_0x1edbca[_0x2c5fc7(0x1ef)],_0x1a346e=g[_0x2c5fc7(0x2ba)][_0x2c5fc7(0x2f3)](g['b64DecodeUnicode'](_0x5a4eca));_0x1edbca[_0x2c5fc7(0x1ef)]=_0x1a346e;});}return _0x21a357;}async[_0xfb6c54(0x45c)](_0x2b7b3c,_0x2bb9c8){var _0xaa5390=_0xfb6c54;const {unitID:_0x5e0284,type:_0x343a12,blockID:_0x53efea}=_0x2bb9c8,_0x4d4af1=this['_getAPIPrefix']()+'/'+_0x343a12+_0xaa5390(0x3e8)+_0x5e0284+_0xaa5390(0x3cf)+_0x53efea;return(await this[_0xaa5390(0x18c)][_0xaa5390(0x2c4)](_0x4d4af1))[_0xaa5390(0x160)];}async[_0xfb6c54(0x304)](_0x178d96,_0x1e409f){var _0x2b8943=_0xfb6c54;const {unitID:_0x238844,type:_0x23d10d,blockID:_0x23454f}=_0x1e409f,_0x485d6f=this[_0x2b8943(0x1de)]()+_0x2b8943(0x3cf)+_0x23d10d+'/unit/'+_0x238844+_0x2b8943(0x3cf)+_0x23454f;return(await this[_0x2b8943(0x18c)][_0x2b8943(0x2c4)](_0x485d6f))[_0x2b8943(0x160)];}async[_0xfb6c54(0x48c)](_0x34306f,_0x378998){var _0x549914=_0xfb6c54;const {unitID:_0x335883,type:_0x16d4db,from:_0x2e4f40,to:_0xaa62dd}=_0x378998,_0x499621=this[_0x549914(0x1de)]()+'/'+_0x16d4db+_0x549914(0x3e8)+_0x335883+_0x549914(0x3b1)+_0x2e4f40+_0x549914(0x188)+_0xaa62dd;return(await this[_0x549914(0x18c)][_0x549914(0x2c4)](_0x499621))[_0x549914(0x160)];}['getSnapshotAPIPath'](){var _0x356a77=_0xfb6c54,_0x4b183e;return(_0x4b183e=this[_0x356a77(0x34a)][_0x356a77(0x354)](vt))!=null?_0x4b183e:this['_getAPIPrefix']();}[_0xfb6c54(0x1de)](){var _0x36c507=_0xfb6c54,_0x50171d,_0x59d8eb;const _0x14236f=this['_configService']['getConfig'](dt),_0x47bbf3=this[_0x36c507(0x34a)][_0x36c507(0x354)](Y);return(_0x59d8eb=(_0x50171d=_0x47bbf3==null?void 0x0:_0x47bbf3[_0x36c507(0x16e)])!=null?_0x50171d:_0x14236f)!=null?_0x59d8eb:kt;}async[_0xfb6c54(0x2b7)](_0x4412b7,_0x2239ff){var _0x1025fa=_0xfb6c54;const _0x59b6ea=_0x1025fa(0x317)+_0x2239ff['type']+_0x1025fa(0x3e8)+_0x2239ff[_0x1025fa(0x34e)]+'/resources';return(await this[_0x1025fa(0x18c)][_0x1025fa(0x2c4)](_0x59b6ea,{'params':{'resourceId':JSON[_0x1025fa(0x2c8)](_0x2239ff[_0x1025fa(0x45a)])}}))[_0x1025fa(0x160)];}[_0xfb6c54(0x251)](){var _0x7de1c8=_0xfb6c54;throw new Error(_0x7de1c8(0x294));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xfb6c54(0x18e)](){var _0x175e27=_0xfb6c54;throw new Error(_0x175e27(0x294));}[_0xfb6c54(0x3d3)](){var _0x2ae35a=_0xfb6c54;throw new Error(_0x2ae35a(0x294));}[_0xfb6c54(0x4ce)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0xfb6c54(0x40a)]=An([_t(0x0,a['IConfigService']),_t(0x1,a[_0xfb6c54(0x205)](q[_0xfb6c54(0x34c)]))],exports[_0xfb6c54(0x40a)]);var Pn=Object['getOwnPropertyDescriptor'],wn=(_0x3fe040,_0x33c31c,_0x3e0743,_0x26ae9c)=>{var _0x355560=_0xfb6c54;for(var _0x7f1a0=_0x26ae9c>0x1?void 0x0:_0x26ae9c?Pn(_0x33c31c,_0x3e0743):_0x33c31c,_0x429948=_0x3fe040[_0x355560(0x266)]-0x1,_0x242c97;_0x429948>=0x0;_0x429948--)(_0x242c97=_0x3fe040[_0x429948])&&(_0x7f1a0=_0x242c97(_0x7f1a0)||_0x7f1a0);return _0x7f1a0;},de=(_0x9f90aa,_0x2322a7)=>(_0x5b10d4,_0x3949a6)=>_0x2322a7(_0x5b10d4,_0x3949a6,_0x9f90aa);exports[_0xfb6c54(0x214)]=class extends a['LocalUndoRedoService']{constructor(_0x4d967e,_0x1c2dda,_0x8d495,_0x2bdfaa,_0x79a569){var _0x2652e7=_0xfb6c54;super(_0x4d967e,_0x1c2dda,_0x8d495),this[_0x2652e7(0x260)]=_0x2bdfaa,this[_0x2652e7(0x438)]=_0x79a569;}[_0xfb6c54(0x193)](_0x4afbed,_0xb3f47c){var _0x1b6d42=_0xfb6c54;const _0x180986=this[_0x1b6d42(0x1f4)](_0x4afbed);if(_0x180986)try{const _0x3a5729=this[_0x1b6d42(0x292)](_0x180986,_0xb3f47c);this[_0x1b6d42(0x2cf)](_0x4afbed,_0x3a5729);}catch(_0x600797){this['_logService']['error']('[CollaborationUndoRedoService]',_0x600797),this[_0x1b6d42(0x332)](_0x4afbed);}const _0x57e155=this['_getRedoStack'](_0x4afbed);if(_0x57e155)try{const _0x2c02b8=this[_0x1b6d42(0x292)](_0x57e155,_0xb3f47c);this[_0x1b6d42(0x3c1)](_0x4afbed,_0x2c02b8);}catch(_0x296017){this['_logService'][_0x1b6d42(0x4b4)](_0x296017),this[_0x1b6d42(0x1c9)](_0x4afbed);}}['_clearUndo'](_0x2b1709){var _0x4db2a3=_0xfb6c54;const _0x335f04=this[_0x4db2a3(0x1f4)](_0x2b1709);_0x335f04&&(_0x335f04[_0x4db2a3(0x266)]=0x0,this[_0x4db2a3(0x173)]());}[_0xfb6c54(0x1c9)](_0x3f5cbf){var _0x11a917=_0xfb6c54;const _0x5f12f8=this[_0x11a917(0x3d7)](_0x3f5cbf);_0x5f12f8&&(_0x5f12f8['length']=0x0,this[_0x11a917(0x173)]());}[_0xfb6c54(0x2cf)](_0x4dbc2d,_0x3ad127){var _0x218896=_0xfb6c54;this['_undoStacks'][_0x218896(0x1da)](_0x4dbc2d,_0x3ad127),this['_updateStatus']();}[_0xfb6c54(0x3c1)](_0x2f480e,_0x4d2e5f){var _0x19f147=_0xfb6c54;this[_0x19f147(0x2c2)][_0x19f147(0x1da)](_0x2f480e,_0x4d2e5f),this[_0x19f147(0x173)]();}[_0xfb6c54(0x292)](_0x50a999,_0x426dbf){var _0x3deef6=_0xfb6c54;const _0xb3157b=[];let _0x5a3d40=_0x426dbf,_0x136418=_0x426dbf;for(let _0xa6c23c=_0x50a999[_0x3deef6(0x266)]-0x1;_0xa6c23c>=0x0;_0xa6c23c--){const {unitID:_0xaf6ad5,undoMutations:_0x181acd,redoMutations:_0x4a36bc}=_0x50a999[_0xa6c23c],_0x117aa5=this[_0x3deef6(0x260)]['transformMutationsWithChangeset'](_0x5a3d40,_0x181acd),_0x45d342=this['_transformService'][_0x3deef6(0x2bb)](_0x136418,_0x4a36bc);if(g[_0x3deef6(0x368)](_0x117aa5)||g['isTransformMutationsWithChangesetFailure'](_0x45d342)){this['_logService']['error'](_0x3deef6(0x1d8),'transformStack\x20failed!',_0x117aa5,_0x45d342);break;}_0x5a3d40=_0x117aa5[_0x3deef6(0x4d2)],_0x136418=_0x45d342[_0x3deef6(0x4d2)],_0xb3157b[_0x3deef6(0x308)]({'unitID':_0xaf6ad5,'undoMutations':_0x117aa5[_0x3deef6(0x250)],'redoMutations':_0x45d342[_0x3deef6(0x250)]});}return _0xb3157b['reverse']();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0xfb6c54(0x404)]),de(0x1,a[_0xfb6c54(0x28b)]),de(0x2,a[_0xfb6c54(0x49f)]),de(0x3,g[_0xfb6c54(0x30f)]),de(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var Ln=Object[_0xfb6c54(0x458)],Mn=Object[_0xfb6c54(0x49b)],xn=(_0xbc1e7,_0x49c6fd,_0x3002df)=>_0x49c6fd in _0xbc1e7?Ln(_0xbc1e7,_0x49c6fd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3002df}):_0xbc1e7[_0x49c6fd]=_0x3002df,kn=(_0x49a038,_0x3a4cd5,_0x2125b1,_0x574bed)=>{var _0x52ceb6=_0xfb6c54;for(var _0x4fb79b=_0x574bed>0x1?void 0x0:_0x574bed?Mn(_0x3a4cd5,_0x2125b1):_0x3a4cd5,_0x15515e=_0x49a038[_0x52ceb6(0x266)]-0x1,_0x4b8267;_0x15515e>=0x0;_0x15515e--)(_0x4b8267=_0x49a038[_0x15515e])&&(_0x4fb79b=_0x4b8267(_0x4fb79b)||_0x4fb79b);return _0x4fb79b;},ke=(_0x59d0d5,_0x7344bc)=>(_0x25afe9,_0x279fa6)=>_0x7344bc(_0x25afe9,_0x279fa6,_0x59d0d5),Hn=(_0x2ee4f7,_0x4fc75c,_0x2ca21b)=>xn(_0x2ee4f7,_0x4fc75c+'',_0x2ca21b);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0xfb6c54(0x441)]=class extends a[_0xfb6c54(0x406)]{constructor(_0x3960a9,_0x318f4e,_0x42d717,_0x5eccdd){var _0xf39501=_0xfb6c54;super(),A(this,'_config'),(this[_0xf39501(0x438)]=_0x318f4e,this[_0xf39501(0x1c0)]=_0x42d717,this[_0xf39501(0x34a)]=_0x5eccdd);const {..._0x40d90c}=a[_0xf39501(0x2a2)]({},Jt,_0x3960a9);if(!_0x40d90c[_0xf39501(0x418)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0xf39501(0x4d5)]=_0x40d90c,this[_0xf39501(0x34a)][_0xf39501(0x220)](Y,_0x40d90c);}[_0xfb6c54(0x3ab)](){var _0x21e35b=_0xfb6c54;this[_0x21e35b(0x169)](),this[_0x21e35b(0x21d)]();}[_0xfb6c54(0x169)](){var _0x3bc151=_0xfb6c54,_0xfa01b,_0x22b735;this[_0x3bc151(0x1c0)][_0x3bc151(0x392)](a['IUndoRedoService'])&&this[_0x3bc151(0x438)]['error'](_0x3bc151(0x466),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4e5a65=a[_0x3bc151(0x1e8)]([[a[_0x3bc151(0x396)],{'useClass':exports[_0x3bc151(0x214)]}],[exports['CollaborationSessionService']],[exports[_0x3bc151(0x3de)]],[exports[_0x3bc151(0x2dc)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x3bc151(0x448)]],[$e,{'useClass':this['_config'][_0x3bc151(0x418)]}],[g[_0x3bc151(0x190)],{'useClass':exports[_0x3bc151(0x40a)]}],[a['IAuthzIoService'],{'useClass':exports[_0x3bc151(0x1c6)]}],[J[_0x3bc151(0x46a)],{'useClass':exports[_0x3bc151(0x445)]}],[a['IMentionIOService'],{'useClass':exports[_0x3bc151(0x1ac)]}],[exports['CollaborationController']],[He]],(_0xfa01b=this[_0x3bc151(0x4d5)])==null?void 0x0:_0xfa01b[_0x3bc151(0x1fc)]);if(!((_0x22b735=this[_0x3bc151(0x4d5)])!=null&&_0x22b735[_0x3bc151(0x47b)])){const _0x1a066e=_0x4e5a65['findIndex'](([_0x5c4ff5])=>_0x5c4ff5===ve);_0x1a066e!==-0x1&&_0x4e5a65[_0x3bc151(0x4a7)](_0x1a066e,0x1);}a[_0x3bc151(0x444)](this[_0x3bc151(0x1c0)],_0x4e5a65);}[_0xfb6c54(0x21d)](){var _0x5a021f=_0xfb6c54,_0x27b7d0,_0x8c3648,_0xf2d360;this[_0x5a021f(0x1c0)][_0x5a021f(0x2c4)](q[_0x5a021f(0x34c)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x27b7d0=this[_0x5a021f(0x4d5)])!=null&&_0x27b7d0['enableOfflineEditing']||(_0x8c3648=this[_0x5a021f(0x1c0)][_0x5a021f(0x2c4)](z,a[_0x5a021f(0x2f8)][_0x5a021f(0x2d8)]))==null||_0x8c3648[_0x5a021f(0x1df)](),(_0xf2d360=this['_config'])!=null&&_0xf2d360[_0x5a021f(0x4b3)]&&a[_0x5a021f(0x40e)](this[_0x5a021f(0x1c0)],[[Oe]]),a[_0x5a021f(0x40e)](this[_0x5a021f(0x1c0)],[[Ne],[exports[_0x5a021f(0x362)]],[De]]);}},Hn(exports[_0xfb6c54(0x441)],'pluginName',jn),exports[_0xfb6c54(0x441)]=kn([a[_0xfb6c54(0x2c7)](g[_0xfb6c54(0x1cb)],q[_0xfb6c54(0x175)]),ke(0x1,a[_0xfb6c54(0x381)]),ke(0x2,a['Inject'](a['Injector'])),ke(0x3,a[_0xfb6c54(0x3d0)])],exports['UniverCollaborationClientPlugin']),exports[_0xfb6c54(0x2a9)]=Ge,exports[_0xfb6c54(0x462)]=Y,exports[_0xfb6c54(0x20b)]=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0xfb6c54(0x397)]=Ve,exports[_0xfb6c54(0x179)]=Q,exports[_0xfb6c54(0x409)]=te,exports[_0xfb6c54(0x411)]=Be,exports[_0xfb6c54(0x36b)]=ft,exports[_0xfb6c54(0x40d)]=zt,exports[_0xfb6c54(0x187)]=$t,exports[_0xfb6c54(0x376)]=pt,exports[_0xfb6c54(0x287)]=je,exports[_0xfb6c54(0x37d)]=$e,exports[_0xfb6c54(0x337)]=z,exports['INetworkConditionService']=bt,exports[_0xfb6c54(0x41f)]=ve,exports[_0xfb6c54(0x2de)]=Gt,exports[_0xfb6c54(0x431)]=Wt,exports[_0xfb6c54(0x29d)]=Et,exports[_0xfb6c54(0x4a6)]=qt,exports[_0xfb6c54(0x350)]=mt,exports[_0xfb6c54(0x1a0)]=Ht,exports[_0xfb6c54(0x303)]=dt,exports[_0xfb6c54(0x2bf)]=vt,exports[_0xfb6c54(0x226)]=se,exports[_0xfb6c54(0x2bc)]=Fe,exports[_0xfb6c54(0x2ad)]=Rt,exports[_0xfb6c54(0x198)]=vi,exports[_0xfb6c54(0x196)]=yt;
|
1
|
+
'use strict';var _0x46c1fd=_0x65d2;(function(_0xa7061a,_0x4fe727){var _0x4fb3c1=_0x65d2,_0x4ec05e=_0xa7061a();while(!![]){try{var _0x1b38b8=-parseInt(_0x4fb3c1(0x481))/0x1+parseInt(_0x4fb3c1(0x2fb))/0x2+parseInt(_0x4fb3c1(0x3ba))/0x3+parseInt(_0x4fb3c1(0x477))/0x4+-parseInt(_0x4fb3c1(0x55c))/0x5*(parseInt(_0x4fb3c1(0x385))/0x6)+-parseInt(_0x4fb3c1(0x366))/0x7*(-parseInt(_0x4fb3c1(0x3e6))/0x8)+parseInt(_0x4fb3c1(0x3b5))/0x9*(-parseInt(_0x4fb3c1(0x273))/0xa);if(_0x1b38b8===_0x4fe727)break;else _0x4ec05e['push'](_0x4ec05e['shift']());}catch(_0x208ed6){_0x4ec05e['push'](_0x4ec05e['shift']());}}}(_0x2a73,0x5dedb));var wt=Object[_0x46c1fd(0x33a)],Lt=(_0x49242a,_0x3ad2b1,_0x3e42be)=>_0x3ad2b1 in _0x49242a?wt(_0x49242a,_0x3ad2b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e42be}):_0x49242a[_0x3ad2b1]=_0x3e42be,A=(_0x5301e6,_0x26d6db,_0x352fa3)=>Lt(_0x5301e6,typeof _0x26d6db!='symbol'?_0x26d6db+'':_0x26d6db,_0x352fa3);Object[_0x46c1fd(0x33a)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x46c1fd(0x3df)),j=require(_0x46c1fd(0x317)),V=require('rxjs/operators'),g=require(_0x46c1fd(0x2b2)),q=require(_0x46c1fd(0x350)),Mt=require(_0x46c1fd(0x2a5)),ut=require(_0x46c1fd(0x281)),Z=require(_0x46c1fd(0x480)),J=require(_0x46c1fd(0x2e1)),xt=require(_0x46c1fd(0x31f)),dt=_0x46c1fd(0x291),kt=_0x46c1fd(0x39e),vt=_0x46c1fd(0x567),Ht=_0x46c1fd(0x33e),jt=0x7d0,St='COLLAB_WEB_SOCKET_URL',ft=_0x46c1fd(0x3e8),$t=_0x46c1fd(0x4b7),pt='HEARTBEAT_INTERVAL',Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt=_0x46c1fd(0x355),Gt=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Kt=_0x46c1fd(0x211),Et='LOGIN_URL_KEY',Yt=_0x46c1fd(0x3b8),qt=_0x46c1fd(0x3a1),zt='/universer-api/uniscript';var Ct=(_0xe21369=>(_0xe21369[_0xe21369[_0x46c1fd(0x524)]=0x0]=_0x46c1fd(0x524),_0xe21369[_0xe21369['OK']=0x1]='OK',_0xe21369[_0xe21369['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0xe21369[_0xe21369[_0x46c1fd(0x566)]=0x3]=_0x46c1fd(0x566),_0xe21369[_0xe21369[_0x46c1fd(0x4ab)]=0x4]=_0x46c1fd(0x4ab),_0xe21369[_0xe21369[_0x46c1fd(0x2e4)]=0x5]=_0x46c1fd(0x2e4),_0xe21369[_0xe21369[_0x46c1fd(0x4fb)]=0x6]='ALREADY_EXISTS',_0xe21369[_0xe21369['INVALID_ARGUMENT']=0x7]=_0x46c1fd(0x47b),_0xe21369[_0xe21369['TOO_MANY_REQUESTS']=0x8]=_0x46c1fd(0x26a),_0xe21369[_0xe21369[_0x46c1fd(0x362)]=0x9]=_0x46c1fd(0x362),_0xe21369[_0xe21369[_0x46c1fd(0x49d)]=0xa]=_0x46c1fd(0x49d),_0xe21369[_0xe21369[_0x46c1fd(0x548)]=0x1389]=_0x46c1fd(0x548),_0xe21369[_0xe21369['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x46c1fd(0x209),_0xe21369[_0xe21369[_0x46c1fd(0x228)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xe21369[_0xe21369[_0x46c1fd(0x41c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xe21369[_0xe21369[_0x46c1fd(0x2cd)]=0x1b59]=_0x46c1fd(0x2cd),_0xe21369[_0xe21369[_0x46c1fd(0x541)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xe21369[_0xe21369[_0x46c1fd(0x22d)]=0x1b5b]=_0x46c1fd(0x22d),_0xe21369[_0xe21369[_0x46c1fd(0x3c3)]=0x1b5c]=_0x46c1fd(0x3c3),_0xe21369[_0xe21369[_0x46c1fd(0x22e)]=0x1b5d]='APPLY_DUPLICATED',_0xe21369[_0xe21369[_0x46c1fd(0x414)]=0x1f41]=_0x46c1fd(0x414),_0xe21369[_0xe21369[_0x46c1fd(0x3c2)]=0x2329]=_0x46c1fd(0x3c2),_0xe21369[_0xe21369[_0x46c1fd(0x359)]=0x232a]=_0x46c1fd(0x359),_0xe21369[_0xe21369[_0x46c1fd(0x2f0)]=0x232b]=_0x46c1fd(0x2f0),_0xe21369[_0xe21369[_0x46c1fd(0x494)]=0x232c]=_0x46c1fd(0x494),_0xe21369[_0xe21369[_0x46c1fd(0x515)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xe21369[_0xe21369[_0x46c1fd(0x563)]=0x2711]=_0x46c1fd(0x563),_0xe21369[_0xe21369['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x46c1fd(0x56e),_0xe21369[_0xe21369[_0x46c1fd(0x2b3)]=0x2713]=_0x46c1fd(0x2b3),_0xe21369[_0xe21369['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x46c1fd(0x2b6),_0xe21369[_0xe21369['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x46c1fd(0x55a),_0xe21369[_0xe21369[_0x46c1fd(0x40c)]=0x2ee1]=_0x46c1fd(0x40c),_0xe21369[_0xe21369[_0x46c1fd(0x2e2)]=0x2ee2]=_0x46c1fd(0x2e2),_0xe21369[_0xe21369[_0x46c1fd(0x3cc)]=0x2ee3]=_0x46c1fd(0x3cc),_0xe21369[_0xe21369[_0x46c1fd(0x290)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xe21369[_0xe21369['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x46c1fd(0x34b),_0xe21369[_0xe21369[_0x46c1fd(0x412)]=-0x1]='UNRECOGNIZED',_0xe21369))(Ct||{}),X=(_0x280313=>(_0x280313[_0x280313[_0x46c1fd(0x43d)]=0x0]=_0x46c1fd(0x43d),_0x280313[_0x280313[_0x46c1fd(0x272)]=0x1]='UNIVER_DOC',_0x280313[_0x280313[_0x46c1fd(0x38b)]=0x2]=_0x46c1fd(0x38b),_0x280313[_0x280313[_0x46c1fd(0x32f)]=0x3]=_0x46c1fd(0x32f),_0x280313[_0x280313[_0x46c1fd(0x4a6)]=0x4]=_0x46c1fd(0x4a6),_0x280313[_0x280313[_0x46c1fd(0x412)]=-0x1]=_0x46c1fd(0x412),_0x280313))(X||{}),W=(_0x1c26ad=>(_0x1c26ad[_0x1c26ad[_0x46c1fd(0x3f9)]=0x0]='UNKNOWN_CMD',_0x1c26ad[_0x1c26ad['HELLO']=0x1]='HELLO',_0x1c26ad[_0x1c26ad[_0x46c1fd(0x459)]=0x2]=_0x46c1fd(0x459),_0x1c26ad[_0x1c26ad[_0x46c1fd(0x4ae)]=0x3]='LEAVE',_0x1c26ad[_0x1c26ad[_0x46c1fd(0x3ff)]=0x4]=_0x46c1fd(0x3ff),_0x1c26ad[_0x1c26ad[_0x46c1fd(0x29a)]=0x5]=_0x46c1fd(0x29a),_0x1c26ad[_0x1c26ad[_0x46c1fd(0x371)]=0x6]=_0x46c1fd(0x371),_0x1c26ad[_0x1c26ad[_0x46c1fd(0x412)]=-0x1]=_0x46c1fd(0x412),_0x1c26ad))(W||{}),ae=(_0x47162d=>(_0x47162d[_0x47162d[_0x46c1fd(0x242)]=0x0]=_0x46c1fd(0x242),_0x47162d[_0x47162d['OK']=0x1]='OK',_0x47162d[_0x47162d[_0x46c1fd(0x4c1)]=0x2]='FAIL',_0x47162d[_0x47162d[_0x46c1fd(0x248)]=0x3e9]=_0x46c1fd(0x248),_0x47162d[_0x47162d[_0x46c1fd(0x262)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x47162d[_0x47162d[_0x46c1fd(0x3e4)]=0x3eb]=_0x46c1fd(0x3e4),_0x47162d[_0x47162d[_0x46c1fd(0x326)]=0x3ec]=_0x46c1fd(0x326),_0x47162d[_0x47162d[_0x46c1fd(0x412)]=-0x1]=_0x46c1fd(0x412),_0x47162d))(ae||{}),Tt=(_0x1e94dd=>(_0x1e94dd[_0x1e94dd['Undefined']=0x0]=_0x46c1fd(0x454),_0x1e94dd[_0x1e94dd[_0x46c1fd(0x21d)]=0x1]='HttpImport',_0x1e94dd[_0x1e94dd[_0x46c1fd(0x47d)]=0x2]=_0x46c1fd(0x47d),_0x1e94dd[_0x1e94dd[_0x46c1fd(0x50d)]=0x3]=_0x46c1fd(0x50d),_0x1e94dd[_0x1e94dd[_0x46c1fd(0x236)]=0x4]=_0x46c1fd(0x236),_0x1e94dd[_0x1e94dd[_0x46c1fd(0x412)]=-0x1]=_0x46c1fd(0x412),_0x1e94dd))(Tt||{});const Y=_0x46c1fd(0x27e),Jt={};var Q=(_0x4e2dd5=>(_0x4e2dd5[_0x46c1fd(0x3f0)]=_0x46c1fd(0x3f0),_0x4e2dd5[_0x46c1fd(0x566)]=_0x46c1fd(0x566),_0x4e2dd5[_0x46c1fd(0x462)]=_0x46c1fd(0x462),_0x4e2dd5[_0x46c1fd(0x4e2)]='CLOSE_ROOM',_0x4e2dd5['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x4e2dd5['SOCKET_FAILED_RETRY']=_0x46c1fd(0x551),_0x4e2dd5[_0x46c1fd(0x31b)]='SOCKET_FAILED',_0x4e2dd5[_0x46c1fd(0x2c6)]='SUBMIT_CHANGESET_TIMEOUT',_0x4e2dd5))(Q||{});class te{constructor(){var _0x363c00=_0x46c1fd;A(this,'_event$',new j[(_0x363c00(0x3a4))]()),A(this,_0x363c00(0x498),this['_event$'][_0x363c00(0x378)]());}['emitEvent'](_0x13cebe){var _0x42a0f2=_0x46c1fd;this[_0x42a0f2(0x437)]['next'](_0x13cebe);}}const bt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Rt(_0xa55dc1){var _0x447e80=_0x46c1fd,_0x320cd6,_0x4c3611,_0xb57626,_0x320452,_0x4359b4;const _0x2f2f6a=_0xa55dc1[_0x447e80(0x23d)],_0x3fd675=JSON[_0x447e80(0x308)](_0x2f2f6a);switch(_0x3fd675[_0x447e80(0x54b)]){case W[_0x447e80(0x29a)]:case W[_0x447e80(0x408)]:{const _0x177f18=_0x3fd675[_0x447e80(0x363)];return{..._0x3fd675,'data':_0x177f18,'cmd':_0x3fd675['cmd']};}case W[_0x447e80(0x459)]:{const _0x5ea235=_0x3fd675[_0x447e80(0x2a1)];return{..._0x3fd675,'data':_0x5ea235,'cmd':_0x3fd675['cmd']};}case W[_0x447e80(0x371)]:{const _0x4bf8ad=_0x3fd675[_0x447e80(0x45b)];switch(_0x4bf8ad['eventID']){case g[_0x447e80(0x396)]['PERMISSION_REJ']:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':(_0x320cd6=_0x4bf8ad[_0x447e80(0x3f4)])==null?void 0x0:_0x320cd6['cs']},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g[_0x447e80(0x396)][_0x447e80(0x271)]:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':(_0x4c3611=_0x4bf8ad[_0x447e80(0x32e)])==null?void 0x0:_0x4c3611['cs']},'cmd':_0x3fd675['cmd']};case g[_0x447e80(0x396)]['NEW_CHANGESETS']:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':(_0xb57626=_0x4bf8ad[_0x447e80(0x46e)])==null?void 0x0:_0xb57626['cs']},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g[_0x447e80(0x396)][_0x447e80(0x2d4)]:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':(_0x320452=_0x4bf8ad[_0x447e80(0x526)])==null?void 0x0:_0x320452['cs']},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g[_0x447e80(0x396)][_0x447e80(0x447)]:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':(_0x4359b4=_0x4bf8ad[_0x447e80(0x530)])==null?void 0x0:_0x4359b4['cs']},'cmd':_0x3fd675['cmd']};case g['CollaborationEvent'][_0x447e80(0x23a)]:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':_0x4bf8ad[_0x447e80(0x310)]},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g['CollaborationEvent'][_0x447e80(0x28a)]:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':_0x4bf8ad[_0x447e80(0x53e)]},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g[_0x447e80(0x396)][_0x447e80(0x1f0)]:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':_0x4bf8ad[_0x447e80(0x29f)]},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g[_0x447e80(0x396)]['LIVESHARE_NEW_HOST']:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':_0x4bf8ad[_0x447e80(0x20d)]},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g[_0x447e80(0x396)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x447e80(0x396)][_0x447e80(0x518)]:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':_0x4bf8ad[_0x447e80(0x351)]},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g[_0x447e80(0x396)]['LIVESHARE_TERMINATE']:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':_0x4bf8ad['liveShareNewHost']},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x3fd675,'data':_0x4bf8ad,'cmd':_0x3fd675[_0x447e80(0x54b)]};case g[_0x447e80(0x396)][_0x447e80(0x483)]:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':_0x4bf8ad[_0x447e80(0x434)]},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g[_0x447e80(0x396)][_0x447e80(0x32b)]:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':_0x4bf8ad[_0x447e80(0x2ad)]},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g['CollaborationEvent'][_0x447e80(0x377)]:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':_0x4bf8ad['shouldCloseConn']},'cmd':_0x3fd675[_0x447e80(0x54b)]};case g[_0x447e80(0x396)]['UNISCRIPT_RUN']:return{..._0x3fd675,'data':{..._0x4bf8ad,'data':_0x4bf8ad[_0x447e80(0x2ce)]},'cmd':_0x3fd675['cmd']};default:return _0x3fd675;}}default:return _0x3fd675;}}function yt(_0x239e09){var _0x508483=_0x46c1fd;switch(_0x239e09['cmd']){case W[_0x508483(0x29a)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x239e09[_0x508483(0x54b)],'routeKey':_0x239e09['routeKey']});case W[_0x508483(0x3ff)]:{let _0x5d5a8c;switch(_0x239e09['data'][_0x508483(0x3bb)]){case g[_0x508483(0x396)][_0x508483(0x23a)]:{_0x5d5a8c={'eventID':g['CollaborationEvent'][_0x508483(0x23a)],'updateCursorEvent':_0x239e09['data'][_0x508483(0x23d)]};break;}case g['CollaborationEvent'][_0x508483(0x1f0)]:{_0x5d5a8c={'eventID':g['CollaborationEvent'][_0x508483(0x1f0)],'leaveEvent':_0x239e09[_0x508483(0x23d)]['data']};break;}case g['CollaborationEvent'][_0x508483(0x28a)]:{_0x5d5a8c={'eventID':g[_0x508483(0x396)][_0x508483(0x28a)],'joinEvent':_0x239e09[_0x508483(0x23d)][_0x508483(0x23d)]};break;}case g[_0x508483(0x396)][_0x508483(0x3bd)]:{_0x5d5a8c={'eventID':g[_0x508483(0x396)][_0x508483(0x3bd)],'liveShareNewHost':_0x239e09[_0x508483(0x23d)]['data']};break;}case g['CollaborationEvent'][_0x508483(0x518)]:{_0x5d5a8c={'eventID':g[_0x508483(0x396)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x239e09[_0x508483(0x23d)][_0x508483(0x23d)]};break;}case g[_0x508483(0x396)]['LIVESHARE_TERMINATE']:{_0x5d5a8c={'eventID':g[_0x508483(0x396)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x239e09[_0x508483(0x23d)][_0x508483(0x23d)]};break;}case g['CollaborationEvent'][_0x508483(0x4c2)]:{_0x5d5a8c={'eventID':g[_0x508483(0x396)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x239e09[_0x508483(0x23d)][_0x508483(0x23d)]};break;}case g[_0x508483(0x396)]['LIVESHARE_FETCH_OPERATIONS']:{_0x5d5a8c={'eventID':g[_0x508483(0x396)][_0x508483(0x421)]};break;}default:_0x5d5a8c={'eventID':_0x239e09[_0x508483(0x23d)][_0x508483(0x3bb)]};}return JSON['stringify']({'cmd':_0x239e09[_0x508483(0x54b)],'routeKey':_0x239e09[_0x508483(0x329)],'collaMsg':_0x5d5a8c});}case W['JOIN']:return JSON[_0x508483(0x4e3)]({'cmd':_0x239e09['cmd'],'routeKey':_0x239e09[_0x508483(0x329)],'joinReq':_0x239e09[_0x508483(0x23d)]});case W[_0x508483(0x4ae)]:return JSON[_0x508483(0x4e3)]({'cmd':_0x239e09['cmd'],'routeKey':_0x239e09[_0x508483(0x329)],'leaveReq':_0x239e09[_0x508483(0x23d)]});default:throw new Error(_0x508483(0x2a9));}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x536083,_0x26bad2,_0x2aa3e9,_0x436cf7)=>{for(var _0x357d6e=_0x436cf7>0x1?void 0x0:_0x436cf7?Xt(_0x26bad2,_0x2aa3e9):_0x26bad2,_0x5e98b4=_0x536083['length']-0x1,_0x434982;_0x5e98b4>=0x0;_0x5e98b4--)(_0x434982=_0x536083[_0x5e98b4])&&(_0x357d6e=_0x434982(_0x357d6e)||_0x357d6e);return _0x357d6e;},_e=(_0x1673c2,_0x330886)=>(_0x66da58,_0x55f5b8)=>_0x330886(_0x66da58,_0x55f5b8,_0x1673c2);const $e=a['createIdentifier'](_0x46c1fd(0x534));function Qt(_0x218ca3,_0x597e4b,_0x5d5b58){var _0x44c2e3=_0x46c1fd;return _0x218ca3+'/'+_0x597e4b+'/unit/'+_0x5d5b58+_0x44c2e3(0x428);}exports[_0x46c1fd(0x47e)]=class extends a[_0x46c1fd(0x4e0)]{constructor(_0x360116,_0x2e3d6e,_0x5e1a21,_0x25d3de,_0x5b7120){var _0x36d193=_0x46c1fd;super(),this[_0x36d193(0x3a5)]=_0x360116,this[_0x36d193(0x41f)]=_0x2e3d6e,this[_0x36d193(0x486)]=_0x5e1a21,this[_0x36d193(0x3de)]=_0x25d3de,this['_snapshotServerService']=_0x5b7120;}[_0x46c1fd(0x560)](_0x4d3bcd){var _0x2a1726=_0x46c1fd;const _0xffc656=this[_0x2a1726(0x3a5)][_0x2a1726(0x528)](q['ISocketService']);if(!_0xffc656)throw new Error(_0x2a1726(0x20c));const _0x10087a=_0xffc656[_0x2a1726(0x340)](_0x4d3bcd);if(!_0x10087a)throw new Error(_0x2a1726(0x2dd));const _0x502771=new a['DisposableCollection'](),_0x2984b8=new j[(_0x2a1726(0x3a4))]();_0x502771['add'](_0x10087a[_0x2a1726(0x2aa)][_0x2a1726(0x28d)](_0x52c064=>_0x2984b8['next'](_0x52c064))),_0x502771[_0x2a1726(0x26e)](a[_0x2a1726(0x47c)](()=>_0x2984b8['complete']()));const _0x4593d2=new j['Subject']();_0x502771[_0x2a1726(0x26e)](_0x10087a[_0x2a1726(0x3a8)][_0x2a1726(0x28d)](_0x452249=>_0x4593d2['next'](_0x452249))),_0x502771['add'](a['toDisposable'](()=>_0x4593d2[_0x2a1726(0x4eb)]()));const _0x80e12a=new j[(_0x2a1726(0x3a4))]();_0x502771[_0x2a1726(0x26e)](_0x10087a[_0x2a1726(0x357)][_0x2a1726(0x28d)](_0x384752=>{var _0x2d913c=_0x2a1726;const _0xce68a7=Rt(_0x384752);_0x80e12a[_0x2d913c(0x26f)](_0xce68a7);})),_0x502771[_0x2a1726(0x26e)](a[_0x2a1726(0x47c)](()=>_0x80e12a[_0x2a1726(0x4eb)]()));let _0x2254f5;const _0x5534ad=()=>{var _0x71aafb=_0x2a1726;_0x4593d2[_0x71aafb(0x26f)](new Event(_0x71aafb(0x527))),_0x2984b8[_0x71aafb(0x26f)](new Event(_0x71aafb(0x527))),_0x2254f5[_0x71aafb(0x561)]();};return _0x2254f5={'memberID':'','close$':_0x2984b8[_0x2a1726(0x378)](),'error$':_0x4593d2[_0x2a1726(0x378)](),'open$':_0x10087a['open$'],'message$':_0x80e12a['asObservable'](),'send':_0x498ecf=>{var _0x386d72=_0x2a1726;if(_0x498ecf[_0x386d72(0x54b)]===W[_0x386d72(0x3ff)]){if(_0x498ecf[_0x386d72(0x23d)][_0x386d72(0x3bb)]===g[_0x386d72(0x396)][_0x386d72(0x21e)]){this[_0x386d72(0x4a9)](_0x2254f5,_0x498ecf[_0x386d72(0x23d)])[_0x386d72(0x1fc)](_0x43e6e3=>{var _0x5ea019=_0x386d72;this[_0x5ea019(0x3de)][_0x5ea019(0x33c)](_0x43e6e3),_0x5534ad();});return;}if(_0x498ecf[_0x386d72(0x23d)][_0x386d72(0x3bb)]===g[_0x386d72(0x396)]['FETCH_MISSING']){const _0x475705=_0x498ecf[_0x386d72(0x23d)];this[_0x386d72(0x406)](_0x475705)[_0x386d72(0x34e)](_0x50b659=>{var _0x267550=_0x386d72;_0x80e12a[_0x267550(0x26f)]({'cmd':W['RECV'],'code':ae['OK'],'routeKey':_0x475705['data'][_0x267550(0x467)],'routeType':'','data':{'eventID':g[_0x267550(0x396)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x50b659}}});})[_0x386d72(0x1fc)](_0x56e2f1=>{var _0x5025f1=_0x386d72;this[_0x5025f1(0x3de)][_0x5025f1(0x33c)](_0x56e2f1),_0x5534ad();});return;}}_0x10087a['send'](yt(_0x498ecf));},'close':()=>{var _0x2ef672=_0x2a1726;_0x10087a[_0x2ef672(0x561)](),_0x502771[_0x2ef672(0x456)]();}},_0x2254f5;}async[_0x46c1fd(0x4a9)](_0x27d557,_0x206ef6){var _0x1b11c4=_0x46c1fd,_0x474bc2,_0x23dcab;const {unitType:_0x62fc0b,unitID:_0xffb43a,changeset:_0x8a6959}=_0x206ef6[_0x1b11c4(0x23d)],_0x2a192f={'unitID':_0xffb43a,'memberID':_0x27d557[_0x1b11c4(0x346)],'type':_0x62fc0b,'changeset':g[_0x1b11c4(0x514)](_0x8a6959)},_0x36a3e9=this[_0x1b11c4(0x486)][_0x1b11c4(0x38a)](It),_0x6a4851=this[_0x1b11c4(0x486)]['getConfig'](Y),_0xc6de0c=Qt((_0x23dcab=(_0x474bc2=_0x6a4851==null?void 0x0:_0x6a4851[_0x1b11c4(0x249)])!=null?_0x474bc2:_0x36a3e9)!=null?_0x23dcab:Kt,_0x62fc0b,_0xffb43a);try{await this['_httpService'][_0x1b11c4(0x274)](_0xc6de0c,{'body':_0x2a192f});}catch(_0x4d93e4){throw this[_0x1b11c4(0x3de)][_0x1b11c4(0x33c)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x4d93e4;}}async['_fetchMissChangesets'](_0x24391e){var _0x333237=_0x46c1fd;const {unitID:_0x1e255f,from:_0x5dc61d,to:_0x21b99c,unitType:_0xa0e12a}=_0x24391e[_0x333237(0x23d)];return(await this['_snapshotServerService'][_0x333237(0x2ae)]({'metadata':void 0x0},{'unitID':_0x1e255f,'type':_0xa0e12a,'from':_0x5dc61d,'to':_0x21b99c}))[_0x333237(0x411)];}},exports[_0x46c1fd(0x47e)]=Zt([_e(0x0,a['Inject'](a['Injector'])),_e(0x1,a['Inject'](q[_0x46c1fd(0x250)])),_e(0x2,a[_0x46c1fd(0x449)]),_e(0x3,a[_0x46c1fd(0x4de)]),_e(0x4,g[_0x46c1fd(0x368)])],exports[_0x46c1fd(0x47e)]);const ei=_0x46c1fd(0x42a);function ti(_0x27303d){var _0x4a8292=_0x46c1fd;return JSON['stringify'](_0x27303d)[_0x4a8292(0x3c0)];}class Be{constructor(){var _0x4093d0=_0x46c1fd;A(this,_0x4093d0(0x2c1),new j[(_0x4093d0(0x3a4))]()),A(this,_0x4093d0(0x4b9),this[_0x4093d0(0x2c1)]['asObservable']());}[_0x46c1fd(0x4be)](_0x187001){var _0x3e9bf1=_0x46c1fd;this[_0x3e9bf1(0x2c1)][_0x3e9bf1(0x26f)](_0x187001);}}var ii=Object[_0x46c1fd(0x425)],ni=(_0x482bda,_0x9c9bb2,_0x48c4bb,_0x56f580)=>{var _0x7c33ed=_0x46c1fd;for(var _0x331281=_0x56f580>0x1?void 0x0:_0x56f580?ii(_0x9c9bb2,_0x48c4bb):_0x9c9bb2,_0x10836d=_0x482bda[_0x7c33ed(0x3c0)]-0x1,_0x4b7407;_0x10836d>=0x0;_0x10836d--)(_0x4b7407=_0x482bda[_0x10836d])&&(_0x331281=_0x4b7407(_0x331281)||_0x331281);return _0x331281;},Ke=(_0xc46e97,_0x3d97b0)=>(_0x29bafb,_0x41c01b)=>_0x3d97b0(_0x29bafb,_0x41c01b,_0xc46e97);exports[_0x46c1fd(0x3f1)]=class extends a['Disposable']{constructor(_0x4f2a83,_0x463d75){var _0x4fdb06=_0x46c1fd;super(),A(this,_0x4fdb06(0x2c5),new Map()),A(this,_0x4fdb06(0x468),new j[(_0x4fdb06(0x3a4))]()),(this[_0x4fdb06(0x543)]=_0x4f2a83,this[_0x4fdb06(0x20f)]=_0x463d75,this[_0x4fdb06(0x4df)](j[_0x4fdb06(0x31c)](this['_univerInstanceService'][_0x4fdb06(0x3dc)](a[_0x4fdb06(0x499)]['UNIVER_SHEET'])[_0x4fdb06(0x388)](V[_0x4fdb06(0x2f3)](_0x19a068=>_0x19a068['getUnitId']())),this[_0x4fdb06(0x543)][_0x4fdb06(0x3dc)](a[_0x4fdb06(0x499)][_0x4fdb06(0x272)])[_0x4fdb06(0x388)](V['map'](_0x1b32d5=>_0x1b32d5[_0x4fdb06(0x49c)]())),this[_0x4fdb06(0x543)][_0x4fdb06(0x3dc)](a[_0x4fdb06(0x499)][_0x4fdb06(0x32f)])[_0x4fdb06(0x388)](V[_0x4fdb06(0x2f3)](_0x35863c=>_0x35863c[_0x4fdb06(0x49c)]())))[_0x4fdb06(0x28d)](_0x1cae3f=>this[_0x4fdb06(0x502)](_0x1cae3f))));}[_0x46c1fd(0x3fe)](_0x41fd5a){var _0x41a76e=_0x46c1fd;return this[_0x41a76e(0x2c5)][_0x41a76e(0x3c5)](_0x41fd5a)?j['of'](this['_roomMembers'][_0x41a76e(0x528)](_0x41fd5a)):this['_roomCreated$']['pipe'](V['map'](_0x17a072=>{var _0x37b843=_0x41a76e;if(_0x17a072===_0x41fd5a)return this[_0x37b843(0x2c5)]['get'](_0x17a072);}));}[_0x46c1fd(0x2d8)](_0x5d19dc){var _0x1fd264=_0x46c1fd;this[_0x1fd264(0x20f)][_0x1fd264(0x2d8)](_0x5d19dc);}[_0x46c1fd(0x4ac)](){var _0x235efe=_0x46c1fd;return this[_0x235efe(0x20f)][_0x235efe(0x4ac)]();}['updateMember'](_0x4f93b6,_0xd70c0e){var _0x28d393=_0x46c1fd;let _0x43e2d0=this[_0x28d393(0x2c5)]['get'](_0x4f93b6);_0x43e2d0||(_0x43e2d0=new ri(),this[_0x28d393(0x2c5)][_0x28d393(0x307)](_0x4f93b6,_0x43e2d0),this[_0x28d393(0x468)]['next'](_0x4f93b6)),_0x43e2d0[_0x28d393(0x2a7)](_0xd70c0e);}[_0x46c1fd(0x2e0)](_0x2d1375,_0x3bdac8){var _0x189d2a=_0x46c1fd;const _0x3d80d5=this[_0x189d2a(0x2c5)][_0x189d2a(0x528)](_0x2d1375);_0x3d80d5&&_0x3d80d5[_0x189d2a(0x2e0)](_0x3bdac8);}[_0x46c1fd(0x415)](_0x541a71){var _0xd24082=_0x46c1fd;return this[_0xd24082(0x2c5)][_0xd24082(0x528)](_0x541a71);}[_0x46c1fd(0x353)](_0x9d02df,_0x17d6fb){var _0x3456d2=_0x46c1fd;const _0x21c05e=this['_roomMembers'][_0x3456d2(0x528)](_0x9d02df);if(_0x21c05e)return _0x21c05e[_0x3456d2(0x353)](_0x17d6fb);}['_removeRoom'](_0x346d44){var _0x20387f=_0x46c1fd;const _0x39191f=this[_0x20387f(0x2c5)][_0x20387f(0x528)](_0x346d44);_0x39191f&&(_0x39191f[_0x20387f(0x456)](),this[_0x20387f(0x2c5)][_0x20387f(0x564)](_0x346d44));}[_0x46c1fd(0x456)](){var _0x8e2e6=_0x46c1fd;this[_0x8e2e6(0x2c5)][_0x8e2e6(0x245)](_0x11ca3a=>_0x11ca3a['dispose']()),this[_0x8e2e6(0x2c5)][_0x8e2e6(0x402)](),this['_roomCreated$']['complete']();}},exports['MemberService']=ni([Ke(0x0,a[_0x46c1fd(0x41a)]),Ke(0x1,a['Inject'](a[_0x46c1fd(0x342)]))],exports['MemberService']);class ri extends a['Disposable']{constructor(){var _0x3218ba=_0x46c1fd;super(...arguments),A(this,_0x3218ba(0x56b),new Map()),A(this,_0x3218ba(0x254),new j['BehaviorSubject'](this[_0x3218ba(0x56b)])),A(this,'members$',this['_members$'][_0x3218ba(0x378)]());}['dispose'](){var _0xe02754=_0x46c1fd;this[_0xe02754(0x56b)]['clear']();}[_0x46c1fd(0x2a7)](_0x27b7b0){var _0x5b45f2=_0x46c1fd;this[_0x5b45f2(0x56b)][_0x5b45f2(0x307)](_0x27b7b0[_0x5b45f2(0x346)],_0x27b7b0),this[_0x5b45f2(0x490)]();}['removeMember'](_0x565d75){var _0x229d6d=_0x46c1fd;this['_members'][_0x229d6d(0x564)](_0x565d75);}[_0x46c1fd(0x353)](_0x7d7f39){var _0x5baf02=_0x46c1fd;return this[_0x5baf02(0x56b)]['get'](_0x7d7f39);}[_0x46c1fd(0x2e3)](){var _0x84f312=_0x46c1fd;return Array[_0x84f312(0x52a)](this[_0x84f312(0x56b)][_0x84f312(0x389)]());}[_0x46c1fd(0x490)](){var _0x2484c5=_0x46c1fd;this[_0x2484c5(0x254)]['next'](this[_0x2484c5(0x56b)]);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x5106db,_0x5797df,_0x424650,_0x93672d)=>{var _0x53851c=_0x46c1fd;for(var _0x52fe47=_0x93672d>0x1?void 0x0:_0x93672d?si(_0x5797df,_0x424650):_0x5797df,_0x186aa2=_0x5106db[_0x53851c(0x3c0)]-0x1,_0x2722d4;_0x186aa2>=0x0;_0x186aa2--)(_0x2722d4=_0x5106db[_0x186aa2])&&(_0x52fe47=_0x2722d4(_0x52fe47)||_0x52fe47);return _0x52fe47;},oe=(_0x42d67d,_0x19f96e)=>(_0x284ad4,_0x3a9558)=>_0x19f96e(_0x284ad4,_0x3a9558,_0x42d67d),se=(_0x5cd2eb=>(_0x5cd2eb[_0x5cd2eb[_0x46c1fd(0x471)]=0x0]=_0x46c1fd(0x471),_0x5cd2eb[_0x5cd2eb['JOINING']=0x1]=_0x46c1fd(0x35c),_0x5cd2eb[_0x5cd2eb['OFFLINE']=0x2]=_0x46c1fd(0x2bb),_0x5cd2eb[_0x5cd2eb[_0x46c1fd(0x25b)]=0x3]='ONLINE',_0x5cd2eb))(se||{});const Ye={[ae[_0x46c1fd(0x4c1)]]:_0x46c1fd(0x38d),[ae[_0x46c1fd(0x248)]]:_0x46c1fd(0x2f6),[ae[_0x46c1fd(0x262)]]:'session.room-not-exists',[ae[_0x46c1fd(0x3e4)]]:_0x46c1fd(0x556),[ae[_0x46c1fd(0x326)]]:_0x46c1fd(0x28f)};exports[_0x46c1fd(0x4d9)]=class extends a[_0x46c1fd(0x232)]{constructor(_0x172f82,_0x291594,_0x4977f3,_0x3c6074,_0x4f5060,_0x3807c4,_0x5cf058,_0x151a21,_0x3a83a1){var _0x593b1b=_0x46c1fd;super(),A(this,_0x593b1b(0x383),new j['BehaviorSubject'](0x0)),A(this,_0x593b1b(0x283),this[_0x593b1b(0x383)][_0x593b1b(0x378)]()),A(this,_0x593b1b(0x437),new j[(_0x593b1b(0x3a4))]()),A(this,_0x593b1b(0x498),this[_0x593b1b(0x437)][_0x593b1b(0x378)]()),A(this,_0x593b1b(0x212)),A(this,_0x593b1b(0x4ba)),A(this,_0x593b1b(0x23c)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x593b1b(0x4c3),null),(this['_unitID']=_0x172f82,this[_0x593b1b(0x3de)]=_0x4977f3,this[_0x593b1b(0x486)]=_0x3c6074,this[_0x593b1b(0x555)]=_0x4f5060,this[_0x593b1b(0x43e)]=_0x3807c4,this[_0x593b1b(0x503)]=_0x5cf058,this[_0x593b1b(0x360)]=_0x151a21,this['_telemetryService']=_0x3a83a1,this[_0x593b1b(0x4bb)]=!!this[_0x593b1b(0x252)],_0x291594[_0x593b1b(0x388)](j[_0x593b1b(0x33b)](this['dispose$']))[_0x593b1b(0x28d)](_0x504d7e=>{var _0x1f579f=_0x593b1b,_0x45bb2a;typeof _0x504d7e>'u'||(this['_socket']=_0x504d7e,_0x504d7e?(this['_joinRoom'](_0x504d7e),this[_0x1f579f(0x4ba)]=_0x504d7e['message$'][_0x1f579f(0x28d)](_0x887cb8=>{var _0x4a559d=_0x1f579f;_0x887cb8[_0x4a559d(0x329)]===this['_unitID']&&this[_0x4a559d(0x331)](_0x887cb8);})):(this[_0x1f579f(0x370)](),this[_0x1f579f(0x383)]['next'](0x2),(_0x45bb2a=this[_0x1f579f(0x4ba)])==null||_0x45bb2a[_0x1f579f(0x4ea)](),this['_socketMessageSubscription']=null));}));}get[_0x46c1fd(0x364)](){var _0x53f814=_0x46c1fd;return this[_0x53f814(0x383)][_0x53f814(0x4d0)]();}[_0x46c1fd(0x516)](){var _0x49a433=_0x46c1fd,_0x495336,_0x1ddaed;return(_0x1ddaed=(_0x495336=this['_socket'])==null?void 0x0:_0x495336[_0x49a433(0x346)])!=null?_0x1ddaed:null;}[_0x46c1fd(0x456)](){var _0x3e756e=_0x46c1fd;super[_0x3e756e(0x456)](),this[_0x3e756e(0x54d)][_0x3e756e(0x26f)](),this[_0x3e756e(0x54d)]['complete']();}[_0x46c1fd(0x561)](){var _0x420e9b=_0x46c1fd,_0x53d75e,_0x206e68;this['_throwTelemetryCollaborationNewChangeset'](),(_0x53d75e=this[_0x420e9b(0x212)])==null||_0x53d75e[_0x420e9b(0x264)]({'cmd':W[_0x420e9b(0x4ae)],'data':{'roomID':this[_0x420e9b(0x513)]}}),(_0x206e68=this[_0x420e9b(0x212)])==null||_0x206e68[_0x420e9b(0x561)](),this[_0x420e9b(0x437)][_0x420e9b(0x4eb)](),this[_0x420e9b(0x383)][_0x420e9b(0x4eb)](),this[_0x420e9b(0x456)]();}[_0x46c1fd(0x331)](_0x50f65d){var _0x209392=_0x46c1fd;_0x50f65d[_0x209392(0x54b)]===W['JOIN']?this['_onJoinRoomEvent'](_0x50f65d):_0x50f65d['cmd']===W[_0x209392(0x371)]&&this[_0x209392(0x2f2)](_0x50f65d);}[_0x46c1fd(0x334)](_0x3e2686){var _0x276e63=_0x46c1fd;this[_0x276e63(0x383)]['next'](0x1),_0x3e2686['send']({'cmd':W[_0x276e63(0x459)],'routeKey':this[_0x276e63(0x513)],'routeType':'','data':{'rooms':[{'roomID':this[_0x276e63(0x513)]}]}});}[_0x46c1fd(0x49a)](_0x4942b9){var _0x3618b2=_0x46c1fd,_0x2a7b30;if(_0x4942b9[_0x3618b2(0x2ed)]in Ye){this['_collaborationUIEventService'][_0x3618b2(0x2ec)]({'id':Q[_0x3618b2(0x4d4)],'data':Ye[_0x4942b9[_0x3618b2(0x2ed)]]}),this[_0x3618b2(0x383)][_0x3618b2(0x26f)](0x2);return;}this[_0x3618b2(0x383)][_0x3618b2(0x26f)](0x3);const _0x160cbb=(_0x2a7b30=_0x4942b9['data'][_0x3618b2(0x38c)][this[_0x3618b2(0x513)]])==null?void 0x0:_0x2a7b30[_0x3618b2(0x2a3)];_0x160cbb&&_0x160cbb[_0x3618b2(0x245)](_0x5c08cf=>this[_0x3618b2(0x43e)][_0x3618b2(0x2a7)](this[_0x3618b2(0x513)],_0x5c08cf));}[_0x46c1fd(0x2f2)](_0x5775a3){var _0x2c0299=_0x46c1fd;try{const _0x5914a0=_0x5775a3['data'];switch(_0x5914a0[_0x2c0299(0x3bb)]){case g[_0x2c0299(0x396)]['USERS_ENTER']:this['_onUserJoin'](_0x5914a0),this[_0x2c0299(0x437)][_0x2c0299(0x26f)](_0x5914a0);break;case g[_0x2c0299(0x396)][_0x2c0299(0x1f0)]:this[_0x2c0299(0x570)](_0x5914a0),this[_0x2c0299(0x437)]['next'](_0x5914a0);break;case g[_0x2c0299(0x396)]['CHANGESET_ACK']:case g[_0x2c0299(0x396)][_0x2c0299(0x447)]:this[_0x2c0299(0x27f)](),this[_0x2c0299(0x312)](),this[_0x2c0299(0x437)]['next'](_0x5914a0);break;case g[_0x2c0299(0x396)][_0x2c0299(0x299)]:this[_0x2c0299(0x3de)][_0x2c0299(0x33c)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x5914a0)),this[_0x2c0299(0x437)]['next'](_0x5914a0);break;case g[_0x2c0299(0x396)]['COMMENT_UPDATE']:this[_0x2c0299(0x503)][_0x2c0299(0x4be)](_0x5914a0[_0x2c0299(0x23d)]),this[_0x2c0299(0x437)][_0x2c0299(0x26f)](_0x5914a0);break;default:this[_0x2c0299(0x437)]['next'](_0x5914a0);}}catch(_0x3af3d4){this['_logService']['error'](_0x3af3d4,_0x5775a3);}}['_onUserJoin'](_0x7f4a98){var _0xdfb812=_0x46c1fd;this[_0xdfb812(0x43e)][_0xdfb812(0x2a7)](this[_0xdfb812(0x513)],_0x7f4a98[_0xdfb812(0x23d)]);}[_0x46c1fd(0x570)](_0x3798a9){var _0x227261=_0x46c1fd;this[_0x227261(0x43e)][_0x227261(0x2e0)](this[_0x227261(0x513)],_0x3798a9[_0x227261(0x23d)]['memberID']);}async[_0x46c1fd(0x264)](_0x1f0cfd,_0x4efd67){var _0x3e3537=_0x46c1fd;if(this['sessionStatus']!==0x3||!this[_0x3e3537(0x212)])throw new Error(_0x3e3537(0x1fa));try{_0x1f0cfd[_0x3e3537(0x3bb)]===g[_0x3e3537(0x396)]['SUBMIT_CHANGESET']&&(this[_0x3e3537(0x4aa)](),this[_0x3e3537(0x3f6)](_0x1f0cfd)),this['_socket']['send']({'cmd':W[_0x3e3537(0x3ff)],'routeKey':_0x4efd67,'routeType':'','data':_0x1f0cfd});}catch(_0x1c3f8a){this['_logService'][_0x3e3537(0x33c)](_0x1c3f8a);}}[_0x46c1fd(0x4aa)](){var _0x1edf62=_0x46c1fd,_0x5076a5;this[_0x1edf62(0x23c)]=setTimeout(()=>{var _0x296bf1=_0x1edf62;this[_0x296bf1(0x23c)]=null,this[_0x296bf1(0x360)][_0x296bf1(0x2ec)]({'id':Q[_0x296bf1(0x2c6)]});},(_0x5076a5=this[_0x1edf62(0x486)]['getConfig'](je))!=null?_0x5076a5:gt);}[_0x46c1fd(0x312)](){var _0x5e5a84=_0x46c1fd;this[_0x5e5a84(0x23c)]&&(clearTimeout(this[_0x5e5a84(0x23c)]),this['_collaborationTimeoutTimer']=null);}[_0x46c1fd(0x3f6)](_0x543f14){var _0x1a7422=_0x46c1fd;if(!this['_shouldReportTelemetry'])return;const {data:_0x2712c1}=_0x543f14,{unitID:_0x4913e5,changeset:_0x1c571e}=_0x2712c1,{mutations:_0x4af029,type:_0xbd5fdd}=_0x1c571e;this[_0x1a7422(0x4c3)]={'unitId':_0x4913e5,'type':_0xbd5fdd,'startTime':performance[_0x1a7422(0x49e)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x4af029)};}[_0x46c1fd(0x27f)](){var _0x21b022=_0x46c1fd;if(this['_shouldReportTelemetry']){if(!this[_0x21b022(0x4c3)]){this[_0x21b022(0x3de)][_0x21b022(0x33c)](_0x21b022(0x487),_0x21b022(0x2c3));return;}this[_0x21b022(0x4c3)][_0x21b022(0x4f0)]=performance[_0x21b022(0x49e)](),this[_0x21b022(0x4c3)][_0x21b022(0x220)]=this[_0x21b022(0x4c3)][_0x21b022(0x4f0)]-this[_0x21b022(0x4c3)][_0x21b022(0x4b2)],this[_0x21b022(0x252)][_0x21b022(0x550)](ei,this[_0x21b022(0x4c3)]),this['_telemetryInfo']=null;}}[_0x46c1fd(0x370)](){var _0x425d2c=_0x46c1fd;this[_0x425d2c(0x4c3)]=null;}},exports[_0x46c1fd(0x4d9)]=oi([oe(0x2,a[_0x46c1fd(0x4de)]),oe(0x3,a[_0x46c1fd(0x449)]),oe(0x4,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x42b)])),oe(0x5,a[_0x46c1fd(0x24f)](exports[_0x46c1fd(0x3f1)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x46c1fd(0x24f)](te)),oe(0x8,a[_0x46c1fd(0x347)](Mt[_0x46c1fd(0x4ad)]))],exports[_0x46c1fd(0x4d9)]);var ai=Object[_0x46c1fd(0x425)],ci=(_0x36d1f4,_0x718ea2,_0x145ec8,_0x40bbca)=>{var _0x313662=_0x46c1fd;for(var _0x4eb18b=_0x40bbca>0x1?void 0x0:_0x40bbca?ai(_0x718ea2,_0x145ec8):_0x718ea2,_0xc7a7aa=_0x36d1f4[_0x313662(0x3c0)]-0x1,_0x504618;_0xc7a7aa>=0x0;_0xc7a7aa--)(_0x504618=_0x36d1f4[_0xc7a7aa])&&(_0x4eb18b=_0x504618(_0x4eb18b)||_0x4eb18b);return _0x4eb18b;},le=(_0x52fda0,_0x2ef495)=>(_0x32e0cc,_0x294240)=>_0x2ef495(_0x32e0cc,_0x294240,_0x52fda0);exports[_0x46c1fd(0x33d)]=class extends a[_0x46c1fd(0x4e0)]{constructor(_0x5da895,_0x414b6d,_0x5517a6,_0x2696a1,_0x3a541c,_0xc418a0){var _0x1d9a87=_0x46c1fd;super(),A(this,'_socket$',new j[(_0x1d9a87(0x216))](void 0x0)),A(this,_0x1d9a87(0x306),this[_0x1d9a87(0x358)]['asObservable']()),A(this,'_candidateSocket',null),A(this,_0x1d9a87(0x36a),new Map()),A(this,_0x1d9a87(0x225),new j[(_0x1d9a87(0x216))](se[_0x1d9a87(0x471)])),A(this,_0x1d9a87(0x1f1),this[_0x1d9a87(0x225)][_0x1d9a87(0x378)]()),A(this,'_socketReady',!0x1),A(this,_0x1d9a87(0x438)),A(this,_0x1d9a87(0x39d),0x0),A(this,_0x1d9a87(0x56f)),A(this,_0x1d9a87(0x2d5)),(this[_0x1d9a87(0x3a5)]=_0x5da895,this[_0x1d9a87(0x3de)]=_0x414b6d,this[_0x1d9a87(0x486)]=_0x5517a6,this[_0x1d9a87(0x2d2)]=_0x2696a1,this[_0x1d9a87(0x360)]=_0x3a541c,this['_networkConditionService']=_0xc418a0,this['_listenToNetworkCondition']());}get[_0x46c1fd(0x212)](){var _0x1ee2dd=_0x46c1fd;return this[_0x1ee2dd(0x358)]['getValue']();}['_listenToNetworkCondition'](){var _0x230e21=_0x46c1fd;this[_0x230e21(0x294)]&&this['disposeWithMe'](this[_0x230e21(0x294)][_0x230e21(0x34f)][_0x230e21(0x28d)](_0x563d22=>{var _0x56811d=_0x230e21;_0x563d22&&!this[_0x56811d(0x212)]&&this[_0x56811d(0x399)](),_0x563d22||this[_0x56811d(0x2af)]();}));}[_0x46c1fd(0x456)](){var _0x3e7862=_0x46c1fd;super[_0x3e7862(0x456)](),this[_0x3e7862(0x2f8)](),this[_0x3e7862(0x201)](),this[_0x3e7862(0x4f3)](),this['_sessions'][_0x3e7862(0x245)](_0x5013cb=>_0x5013cb[_0x3e7862(0x456)]()),this[_0x3e7862(0x36a)][_0x3e7862(0x402)](),this[_0x3e7862(0x225)][_0x3e7862(0x4eb)]();}async[_0x46c1fd(0x571)](_0x3a406e){var _0x46f818=_0x46c1fd;if(this[_0x46f818(0x36a)][_0x46f818(0x3c5)](_0x3a406e))return this[_0x46f818(0x36a)][_0x46f818(0x528)](_0x3a406e);this[_0x46f818(0x1f6)]();const _0x34d996=this[_0x46f818(0x3a5)][_0x46f818(0x559)](exports[_0x46f818(0x4d9)],_0x3a406e,this[_0x46f818(0x358)]['asObservable']());return this[_0x46f818(0x36a)]['set'](_0x3a406e,_0x34d996),_0x34d996;}[_0x46c1fd(0x386)](_0x233247){var _0x484e0d=_0x46c1fd,_0x3a9cd0;const _0x275639=this[_0x484e0d(0x36a)][_0x484e0d(0x528)](_0x233247);_0x275639&&(this[_0x484e0d(0x36a)][_0x484e0d(0x564)](_0x233247),_0x275639[_0x484e0d(0x561)]()),this[_0x484e0d(0x36a)][_0x484e0d(0x536)]||(_0x3a9cd0=this['_socket'])==null||_0x3a9cd0[_0x484e0d(0x561)]();}[_0x46c1fd(0x399)](){var _0x202673=_0x46c1fd;this[_0x202673(0x39d)]=0x0,this[_0x202673(0x2f8)](),this[_0x202673(0x2b1)]();}[_0x46c1fd(0x2f8)](){var _0x3160c4=_0x46c1fd;this[_0x3160c4(0x438)]!=null&&(clearTimeout(this[_0x3160c4(0x438)]),this[_0x3160c4(0x438)]=null);}async[_0x46c1fd(0x3e1)](){var _0x4323ca=_0x46c1fd,_0x20f237,_0x58a69a;const _0x5c818c=this[_0x4323ca(0x486)]['getConfig'](St),_0x40120a=this[_0x4323ca(0x486)]['getConfig'](Y),_0x1a0e42=(_0x58a69a=(_0x20f237=_0x40120a==null?void 0x0:_0x40120a[_0x4323ca(0x3c6)])!=null?_0x20f237:_0x5c818c)!=null?_0x58a69a:ft,_0x1c4e47=await this[_0x4323ca(0x2d2)][_0x4323ca(0x340)](_0x1a0e42);return this['_candidateSocket']=_0x1c4e47,_0x1c4e47;}async[_0x46c1fd(0x1f6)](){var _0xd9d003=_0x46c1fd,_0x2ad210,_0x1103eb;try{const _0x3e8597=(_0x1103eb=(_0x2ad210=this['_socket'])!=null?_0x2ad210:this[_0xd9d003(0x504)])!=null?_0x1103eb:await this[_0xd9d003(0x3e1)]();if(_0x3e8597){const _0x5101ff=_0x3e8597[_0xd9d003(0x264)];_0x3e8597['send']=_0xbf8f79=>(this[_0xd9d003(0x227)](),_0x5101ff[_0xd9d003(0x42d)](_0x3e8597,[_0xbf8f79])),_0x3e8597[_0xd9d003(0x357)][_0xd9d003(0x28d)](_0x222994=>this[_0xd9d003(0x239)](_0x3e8597,_0x222994)),_0x3e8597[_0xd9d003(0x3a8)][_0xd9d003(0x388)](V[_0xd9d003(0x2d7)](0x1))[_0xd9d003(0x28d)](_0x5f929f=>this[_0xd9d003(0x3de)][_0xd9d003(0x33c)](_0xd9d003(0x485),_0x5f929f)),_0x3e8597[_0xd9d003(0x44f)]['pipe'](V[_0xd9d003(0x2d7)](0x1))[_0xd9d003(0x28d)](()=>{var _0x39201e=_0xd9d003;this[_0x39201e(0x49b)](_0x3e8597);}),_0x3e8597[_0xd9d003(0x2aa)]['pipe'](V[_0xd9d003(0x2d7)](0x1))['subscribe'](_0x10943d=>{var _0x3ae8b8=_0xd9d003;this[_0x3ae8b8(0x3de)][_0x3ae8b8(0x390)](_0x3ae8b8(0x53a),_0x3ae8b8(0x243),_0x10943d),this['_onConnectionFailed']();});}}catch(_0x16d5f3){this[_0xd9d003(0x3de)][_0xd9d003(0x33c)](_0x16d5f3),this[_0xd9d003(0x4c8)]();}}[_0x46c1fd(0x49b)](_0x9b5dcc){var _0x2040c9=_0x46c1fd;this['_logService'][_0x2040c9(0x390)](_0x2040c9(0x53a),'socket\x20open.'),_0x9b5dcc[_0x2040c9(0x264)]({'cmd':W[_0x2040c9(0x408)]}),this[_0x2040c9(0x227)]();}[_0x46c1fd(0x2af)](){var _0x2e9321=_0x46c1fd;this[_0x2e9321(0x3f2)]=!0x1,this[_0x2e9321(0x504)]=null,this['_status$'][_0x2e9321(0x26f)](se['OFFLINE']),this[_0x2e9321(0x358)][_0x2e9321(0x26f)](null),this[_0x2e9321(0x201)](),this[_0x2e9321(0x4f3)]();}[_0x46c1fd(0x4c8)](){var _0x5953b7=_0x46c1fd,_0x4bb140;this[_0x5953b7(0x2af)](),this['_retryCount']<((_0x4bb140=this['_configService'][_0x5953b7(0x38a)](mt))!=null?_0x4bb140:Vt)?(this[_0x5953b7(0x360)][_0x5953b7(0x2ec)]({'id':Q[_0x5953b7(0x551)]}),this[_0x5953b7(0x2b1)]()):this[_0x5953b7(0x360)]['emitEvent']({'id':Q[_0x5953b7(0x31b)]});}['_tryReconnect'](){var _0x43523e=_0x46c1fd,_0x1c2d4b;const _0x1fe9e3=this[_0x43523e(0x39d)],_0x506dd4=this[_0x43523e(0x486)]['getConfig'](Y),_0xed8d2a=_0x1fe9e3===0x0?0x0:((_0x1c2d4b=_0x506dd4==null?void 0x0:_0x506dd4[_0x43523e(0x426)])!=null?_0x1c2d4b:Ft)*0x2**_0x1fe9e3;this['_retryConnectingTimer']=setTimeout(()=>{var _0x30587c=_0x43523e;clearTimeout(this[_0x30587c(0x438)]),this[_0x30587c(0x438)]=null,this[_0x30587c(0x1f6)]();},_0xed8d2a),this[_0x43523e(0x39d)]+=0x1;}[_0x46c1fd(0x239)](_0x4bd0da,_0x178515){var _0x559a0f=_0x46c1fd;const {cmd:_0x44d105}=_0x178515;_0x44d105===W[_0x559a0f(0x408)]&&!this[_0x559a0f(0x3f2)]&&(_0x4bd0da[_0x559a0f(0x346)]=_0x178515[_0x559a0f(0x23d)][_0x559a0f(0x346)],this[_0x559a0f(0x358)]['next'](_0x4bd0da),this[_0x559a0f(0x225)][_0x559a0f(0x26f)](se[_0x559a0f(0x25b)]),this[_0x559a0f(0x3f2)]=!0x0,this[_0x559a0f(0x504)]=null),_0x44d105===W['HEARTBEAT']&&this[_0x559a0f(0x201)](),this['_rescheduleHeartbeat']();}[_0x46c1fd(0x227)](){var _0x181e1c=_0x46c1fd,_0x2ea574;this['_clearHeartbeatTimer'](),this[_0x181e1c(0x56f)]=setTimeout(()=>this[_0x181e1c(0x404)](),(_0x2ea574=this[_0x181e1c(0x486)][_0x181e1c(0x38a)](pt))!=null?_0x2ea574:Bt);}[_0x46c1fd(0x404)](){var _0x8308ec=_0x46c1fd;this['_socket'][_0x8308ec(0x264)]({'cmd':W['HEARTBEAT']}),this[_0x8308ec(0x287)]();}['_waitForHeartbeatResponse'](){var _0x26e252=_0x46c1fd,_0x5d64fe;this[_0x26e252(0x2d5)]=setTimeout(()=>this[_0x26e252(0x4c8)](),(_0x5d64fe=this['_configService'][_0x26e252(0x38a)](je))!=null?_0x5d64fe:gt);}[_0x46c1fd(0x4f3)](){var _0xe5a60b=_0x46c1fd;this[_0xe5a60b(0x56f)]!=null&&(clearTimeout(this[_0xe5a60b(0x56f)]),this[_0xe5a60b(0x56f)]=null);}[_0x46c1fd(0x201)](){var _0x595278=_0x46c1fd;this[_0x595278(0x2d5)]!=null&&(clearTimeout(this[_0x595278(0x2d5)]),this[_0x595278(0x2d5)]=null);}},exports[_0x46c1fd(0x33d)]=ci([le(0x0,a['Inject'](a['Injector'])),le(0x1,a['ILogService']),le(0x2,a[_0x46c1fd(0x449)]),le(0x3,$e),le(0x4,a[_0x46c1fd(0x24f)](te)),le(0x5,a[_0x46c1fd(0x347)](bt))],exports[_0x46c1fd(0x33d)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x46c1fd(0x259)]((n+0x100)[_0x46c1fd(0x423)](0x10)[_0x46c1fd(0x484)](0x1));function hi(_0x2797f3,_0x3d0923=0x0){return(G[_0x2797f3[_0x3d0923+0x0]]+G[_0x2797f3[_0x3d0923+0x1]]+G[_0x2797f3[_0x3d0923+0x2]]+G[_0x2797f3[_0x3d0923+0x3]]+'-'+G[_0x2797f3[_0x3d0923+0x4]]+G[_0x2797f3[_0x3d0923+0x5]]+'-'+G[_0x2797f3[_0x3d0923+0x6]]+G[_0x2797f3[_0x3d0923+0x7]]+'-'+G[_0x2797f3[_0x3d0923+0x8]]+G[_0x2797f3[_0x3d0923+0x9]]+'-'+G[_0x2797f3[_0x3d0923+0xa]]+G[_0x2797f3[_0x3d0923+0xb]]+G[_0x2797f3[_0x3d0923+0xc]]+G[_0x2797f3[_0x3d0923+0xd]]+G[_0x2797f3[_0x3d0923+0xe]]+G[_0x2797f3[_0x3d0923+0xf]])['toLowerCase']();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x25df53=_0x46c1fd;if(!Ue){if(typeof crypto>'u'||!crypto[_0x25df53(0x3fc)])throw new Error(_0x25df53(0x558));Ue=crypto[_0x25df53(0x3fc)]['bind'](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x46c1fd(0x3b9)]&&crypto[_0x46c1fd(0x3b9)][_0x46c1fd(0x3e5)](crypto),qe={'randomUUID':ui};function di(_0x549135,_0x587cad,_0x56f872){var _0x25308f=_0x46c1fd,_0x39861a,_0x2db2d1,_0x42dca1;if(qe[_0x25308f(0x3b9)]&&!_0x549135)return qe[_0x25308f(0x3b9)]();_0x549135=_0x549135||{};const _0x422f98=(_0x42dca1=(_0x2db2d1=_0x549135['random'])!=null?_0x2db2d1:(_0x39861a=_0x549135[_0x25308f(0x251)])==null?void 0x0:_0x39861a[_0x25308f(0x238)](_0x549135))!=null?_0x42dca1:_i();if(_0x422f98[_0x25308f(0x3c0)]<0x10)throw new Error(_0x25308f(0x448));return _0x422f98[0x6]=_0x422f98[0x6]&0xf|0x40,_0x422f98[0x8]=_0x422f98[0x8]&0x3f|0x80,hi(_0x422f98);}const z=a[_0x46c1fd(0x400)](_0x46c1fd(0x2a8));function vi(_0x4878b7){var _0x2f2b9b=_0x46c1fd;return _0x2f2b9b(0x31e)+_0x4878b7;}var Si=Object[_0x46c1fd(0x425)],fi=(_0x246203,_0x13ae83,_0x2c53d6,_0x4f3868)=>{for(var _0x147d28=_0x4f3868>0x1?void 0x0:_0x4f3868?Si(_0x13ae83,_0x2c53d6):_0x13ae83,_0x4a06a8=_0x246203['length']-0x1,_0x3c27b3;_0x4a06a8>=0x0;_0x4a06a8--)(_0x3c27b3=_0x246203[_0x4a06a8])&&(_0x147d28=_0x3c27b3(_0x147d28)||_0x147d28);return _0x147d28;},Ae=(_0x535618,_0x39f0dc)=>(_0x453942,_0x10a336)=>_0x39f0dc(_0x453942,_0x10a336,_0x535618);function pi(_0x48084a){var _0x194898=_0x46c1fd;const {unitID:_0x321c13,mutations:_0x42422e}=_0x48084a;return{'unitId':_0x321c13,'subUnitId':_0x42422e[0x0][_0x194898(0x4c7)][_0x194898(0x444)]};}exports[_0x46c1fd(0x20b)]=class{constructor(_0x470923,_0xd97ba8,_0x2aa777){var _0x4ee081=_0x46c1fd;this[_0x4ee081(0x3a5)]=_0x470923,this[_0x4ee081(0x268)]=_0xd97ba8,this[_0x4ee081(0x510)]=_0x2aa777;}[_0x46c1fd(0x495)](_0x48c5e2){var _0x49003f=_0x46c1fd,_0x324f1c,_0x102481,_0x35575e,_0x15b38d;const _0x5dfe10=this[_0x49003f(0x3a5)][_0x49003f(0x528)](Z[_0x49003f(0x277)]),{unitId:_0x113ea0,subUnitId:_0x4be079}=pi(_0x48c5e2),_0x4e0fc1=_0x5dfe10==null?void 0x0:_0x5dfe10[_0x49003f(0x43a)](_0x113ea0)[_0x49003f(0x2ba)](),_0x5534ed=(_0x102481=(_0x324f1c=this[_0x49003f(0x510)]['getUnit'](_0x113ea0))==null?void 0x0:_0x324f1c['getActiveSheet']())==null?void 0x0:_0x102481[_0x49003f(0x3c8)]();if(_0x4e0fc1[_0x49003f(0x3c0)]===0x0||!_0x113ea0||!_0x4be079)return;const _0x5a8adb=[{'id':Z[_0x49003f(0x3cf)]['id'],'params':{'unitId':_0x113ea0,'subUnitId':_0x5534ed,'selections':a[_0x49003f(0x568)]['deepClone'](_0x4e0fc1)}}],_0x558d3e=this['_transformService'][_0x49003f(0x3be)](_0x48c5e2,_0x5a8adb);if(!g['isTransformMutationsWithChangesetSuccess'](_0x558d3e))throw _0x558d3e[_0x49003f(0x33c)];const _0x1f2336=(_0x15b38d=(_0x35575e=_0x558d3e[_0x49003f(0x295)][0x0])==null?void 0x0:_0x35575e[_0x49003f(0x4c7)])==null?void 0x0:_0x15b38d['selections'];if(Array['isArray'](_0x1f2336)&&_0x1f2336['length']){if(_0x1f2336['length']===_0x5a8adb[0x0][_0x49003f(0x4c7)][_0x49003f(0x492)][_0x49003f(0x3c0)]&&_0x1f2336[_0x49003f(0x2c8)]((_0x54271f,_0x5bf90a)=>a['Rectangle'][_0x49003f(0x2b4)](_0x54271f[_0x49003f(0x30f)],_0x5a8adb[0x0][_0x49003f(0x4c7)]['selections'][_0x5bf90a][_0x49003f(0x30f)])))return;this[_0x49003f(0x3a5)][_0x49003f(0x528)](a['ICommandService'])[_0x49003f(0x51e)](Z[_0x49003f(0x3cf)]['id'],{'unitId':_0x113ea0,'subUnitId':_0x5534ed,'selections':_0x1f2336});}}},exports[_0x46c1fd(0x20b)]=fi([Ae(0x0,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x30c)])),Ae(0x1,g['ITransformService']),Ae(0x2,a[_0x46c1fd(0x41a)])],exports[_0x46c1fd(0x20b)]);const ve=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x3d4616=>(_0x3d4616[_0x3d4616[_0x46c1fd(0x3ae)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3d4616[_0x3d4616[_0x46c1fd(0x2c9)]=0x1]=_0x46c1fd(0x2c9),_0x3d4616))(Fe||{});const gi=new Set([Z[_0x46c1fd(0x49f)]['id']]);function ze(_0x27ba9b,_0x5b14b6,_0x5ce86d,_0x4820e2,_0x2c4e52){var _0x4b6ca9=_0x46c1fd,_0x1a3362,_0x2ba142,_0x593779,_0x1e25f4;const _0x3e7b4c=[];for(const _0x4d1737 of _0x27ba9b)if(gi[_0x4b6ca9(0x3c5)](_0x4d1737['id'])){if(_0x3e7b4c[_0x4b6ca9(0x3c0)]>0x0)break;_0x3e7b4c[_0x4b6ca9(0x259)](_0x4d1737);break;}else _0x3e7b4c['push'](_0x4d1737);const _0xd7d661=(_0x2ba142=(_0x1a3362=_0x2c4e52['getCurrentUser']())==null?void 0x0:_0x1a3362[_0x4b6ca9(0x215)])!=null?_0x2ba142:'unknown',_0x4b2ee7=(_0x1e25f4=(_0x593779=_0x2c4e52['getCurrentUser']())==null?void 0x0:_0x593779[_0x4b6ca9(0x346)])!=null?_0x1e25f4:_0x4b6ca9(0x55d);return{'changeset':{'unitID':_0x5b14b6,'type':g[_0x4b6ca9(0x208)](_0x5ce86d['getUnitType'](_0x5b14b6)),'baseRev':_0x4820e2['getCurrentRevOfUnit'](_0x5b14b6),'revision':0x0,'userID':_0xd7d661,'memberID':_0x4b2ee7,'mutations':_0x3e7b4c},'pendingMutations':_0x27ba9b[_0x4b6ca9(0x484)](_0x3e7b4c['length'])};}function mi(_0x41383e,_0x26a7d0,_0xabb8be,_0x974646,_0x20c8fc){var _0x3a7c17=_0x46c1fd,_0x3e631c,_0x263166,_0x1c2425,_0x3ac8b0;const _0x25cf49=[_0x41383e[_0x3a7c17(0x341)]((_0x175c78,_0x4aba03)=>{var _0x39b885=_0x3a7c17,_0x18ca42;const {id:_0x3abc67}=_0x175c78,{id:_0x9e326b,type:_0x1ab7dc}=_0x4aba03,_0x35737b=(_0x18ca42=_0x175c78['params'])!=null?_0x18ca42:{'actions':null},_0x2ab86d=_0x4aba03[_0x39b885(0x4c7)];if(_0x3abc67&&_0x3abc67!==_0x9e326b)throw new Error(_0x39b885(0x27c)+_0x3abc67+'\x20-\x20'+_0x9e326b+'.');return{..._0x175c78,'id':_0x9e326b,'type':_0x1ab7dc,'params':{'unitId':_0x2ab86d[_0x39b885(0x285)],'textRanges':_0x2ab86d[_0x39b885(0x45e)],'actions':a['JSONX'][_0x39b885(0x22f)](_0x35737b[_0x39b885(0x44e)],_0x2ab86d['actions'])}};},{})],_0x2d73b7=(_0x263166=(_0x3e631c=_0x20c8fc['getCurrentUser']())==null?void 0x0:_0x3e631c[_0x3a7c17(0x215)])!=null?_0x263166:_0x3a7c17(0x55d),_0x16bb7a=(_0x3ac8b0=(_0x1c2425=_0x20c8fc[_0x3a7c17(0x4ac)]())==null?void 0x0:_0x1c2425[_0x3a7c17(0x346)])!=null?_0x3ac8b0:'unknown';return{'changeset':{'unitID':_0x26a7d0,'type':g['mapDocumentTypeToUniverType'](_0xabb8be['getUnitType'](_0x26a7d0)),'baseRev':_0x974646[_0x3a7c17(0x21b)](_0x26a7d0),'revision':0x0,'userID':_0x2d73b7,'memberID':_0x16bb7a,'mutations':_0x25cf49},'pendingMutations':[]};}function Ot(_0x2f8858,_0x375a18){var _0x55aff5=_0x46c1fd;const _0x2fde2d=new j[(_0x55aff5(0x4e4))](0x1);return setTimeout(()=>_0x2fde2d[_0x55aff5(0x26f)](_0x375a18),_0x2f8858),_0x2fde2d[_0x55aff5(0x378)]()[_0x55aff5(0x388)](j[_0x55aff5(0x2d7)](0x1));}const Ii={'id':Z[_0x46c1fd(0x25d)]['id'],'type':a['CommandType'][_0x46c1fd(0x223)],'params':{}};var Ei=Object[_0x46c1fd(0x425)],ce=(_0x1d52cf,_0x13a880,_0x5d6c2e,_0x49b17e)=>{for(var _0x558293=_0x49b17e>0x1?void 0x0:_0x49b17e?Ei(_0x13a880,_0x5d6c2e):_0x13a880,_0xbb101d=_0x1d52cf['length']-0x1,_0x21167d;_0xbb101d>=0x0;_0xbb101d--)(_0x21167d=_0x1d52cf[_0xbb101d])&&(_0x558293=_0x21167d(_0x558293)||_0x558293);return _0x558293;},w=(_0x222a70,_0x2b7b28)=>(_0x33e4cc,_0xa2f797)=>_0x2b7b28(_0x33e4cc,_0xa2f797,_0x222a70),Ve=(_0x30b4fe=>(_0x30b4fe[_0x46c1fd(0x4fe)]=_0x46c1fd(0x4f4),_0x30b4fe[_0x46c1fd(0x460)]=_0x46c1fd(0x413),_0x30b4fe['PENDING']=_0x46c1fd(0x44c),_0x30b4fe[_0x46c1fd(0x512)]='awaiting',_0x30b4fe['AWAITING_WITH_PENDING']=_0x46c1fd(0x261),_0x30b4fe[_0x46c1fd(0x38f)]='fetch_missing',_0x30b4fe[_0x46c1fd(0x462)]=_0x46c1fd(0x36e),_0x30b4fe[_0x46c1fd(0x2bb)]=_0x46c1fd(0x1f5),_0x30b4fe))(Ve||{});const Nt=0xea60;class he{constructor(_0x2c5e37,_0x572803,_0x296ffb,_0x274c1a,_0x2a2b37,_0x4db8da,_0x3c97d8,_0x501252,_0x5a6149){var _0x5a0e85=_0x46c1fd;A(this,'_awaitingChangeset',null),A(this,'_pendingMutations',[]),(this[_0x5a0e85(0x467)]=_0x2c5e37,this[_0x5a0e85(0x337)]=_0x572803,this[_0x5a0e85(0x42c)]=_0x2a2b37,this[_0x5a0e85(0x328)]=_0x4db8da,this[_0x5a0e85(0x27a)]=_0x3c97d8,this[_0x5a0e85(0x3d7)]=_0x501252,this['_localCacheService']=_0x5a6149,this[_0x5a0e85(0x4ce)]=_0x296ffb,this[_0x5a0e85(0x1ff)]=_0x274c1a);}['_checkMissing'](_0x372543){var _0x27b288=_0x46c1fd;const _0x47681b=this[_0x27b288(0x3d7)]['getCurrentRevOfUnit'](this[_0x27b288(0x467)]);return _0x372543['revision']>_0x47681b+0x1?(this[_0x27b288(0x42c)]['onMissingChangesets']({'from':_0x47681b,'to':_0x372543[_0x27b288(0x4ee)]-0x1}),!0x0):!0x1;}[_0x46c1fd(0x1f2)](_0xe5bc89){var _0x5cc96d=_0x46c1fd;this[_0x5cc96d(0x27a)][_0x5cc96d(0x37e)](this[_0x5cc96d(0x467)],_0xe5bc89);}['_transformSelections'](_0x1ca46e){var _0x99146e=_0x46c1fd,_0x2895c4,_0x819b4b;(_0x819b4b=(_0x2895c4=this[_0x99146e(0x42c)])[_0x99146e(0x446)])==null||_0x819b4b[_0x99146e(0x238)](_0x2895c4,_0x1ca46e);}[_0x46c1fd(0x4f8)](_0x29c060){var _0x4861df=_0x46c1fd,_0x1dbb00,_0x3e6b78;return(_0x3e6b78=(_0x1dbb00=this[_0x4861df(0x42c)])[_0x4861df(0x521)])==null?void 0x0:_0x3e6b78[_0x4861df(0x238)](_0x1dbb00,_0x29c060);}[_0x46c1fd(0x22a)](_0x9ecf17){var _0x740c38=_0x46c1fd,_0xed41aa,_0x1e7aea;return(_0x1e7aea=(_0xed41aa=this[_0x740c38(0x42c)])[_0x740c38(0x380)])==null?void 0x0:_0x1e7aea[_0x740c38(0x238)](_0xed41aa,_0x9ecf17);}[_0x46c1fd(0x382)](_0x259424){var _0x510311=_0x46c1fd,_0x392429,_0x419291,_0x149fe7;return(_0x149fe7=(_0x419291=(_0x392429=this[_0x510311(0x42c)])[_0x510311(0x30b)])==null?void 0x0:_0x419291[_0x510311(0x238)](_0x392429,_0x259424))!=null?_0x149fe7:_0x259424;}[_0x46c1fd(0x258)](_0x581f3d){var _0x34602f=_0x46c1fd,_0x10e683,_0x5e77aa,_0x30dd8a;return(_0x30dd8a=(_0x5e77aa=(_0x10e683=this[_0x34602f(0x42c)])[_0x34602f(0x50c)])==null?void 0x0:_0x5e77aa['call'](_0x10e683,_0x581f3d))!=null?_0x30dd8a:_0x581f3d;}['_syncEditingCollabCursor'](_0x516168){var _0x23bcee=_0x46c1fd,_0x1b01ae,_0x3a11cb;if(this[_0x23bcee(0x337)]===X[_0x23bcee(0x272)]){const {unitID:_0x423c2e,mutations:_0xc933d0,memberID:_0x5ac4c3}=_0x516168,_0x46bffb=_0xc933d0[0x0][_0x23bcee(0x4c7)][_0x23bcee(0x45e)];Array['isArray'](_0x46bffb)&&_0x46bffb[_0x23bcee(0x3c0)]>0x0&&((_0x3a11cb=(_0x1b01ae=this['_handler'])[_0x23bcee(0x3ed)])==null||_0x3a11cb[_0x23bcee(0x238)](_0x1b01ae,{'unitID':_0x423c2e,'memberID':_0x5ac4c3,'textRanges':_0x46bffb}));}}[_0x46c1fd(0x48d)](){var _0x4a282d=_0x46c1fd,_0x59b95f;(_0x59b95f=this[_0x4a282d(0x4d6)])==null||_0x59b95f[_0x4a282d(0x2dc)](this[_0x4a282d(0x467)],this[_0x4a282d(0x337)],this['_awaitingChangeset'],this[_0x4a282d(0x1ff)]);}[_0x46c1fd(0x4d5)](){var _0x36a7f4=_0x46c1fd;return this[_0x36a7f4(0x3d7)]['getCurrentRevOfUnit'](this[_0x36a7f4(0x467)]);}[_0x46c1fd(0x2e7)](){var _0x4f8cd6=_0x46c1fd;this[_0x4f8cd6(0x3d7)]['incrementRevOfUnit'](this[_0x4f8cd6(0x467)]);}['_executeRemoteChangeset'](_0x1de3c5){var _0x8b64ab=_0x46c1fd,_0x29ca45;let _0x533288=this[_0x8b64ab(0x382)](_0x1de3c5);_0x533288=this[_0x8b64ab(0x258)](_0x533288);const _0x3ed485=a['sequenceExecute'](_0x533288[_0x8b64ab(0x324)],this['_commandService'],{'fromCollab':!0x0});if(!_0x3ed485[_0x8b64ab(0x224)])throw _0x3ed485[_0x8b64ab(0x33c)]instanceof Error?_0x3ed485[_0x8b64ab(0x33c)]:new Error((_0x29ca45=_0x3ed485[_0x8b64ab(0x33c)])!=null?_0x29ca45:_0x8b64ab(0x2cc));this[_0x8b64ab(0x4f8)](_0x533288),this['_transformStateCache'](_0x533288),this[_0x8b64ab(0x1f2)](_0x1de3c5),this['_transformSelections'](_0x533288),this[_0x8b64ab(0x51c)](_0x533288),this[_0x8b64ab(0x2e7)]();}}exports['SyncedState']=class extends he{constructor(_0x33837c,_0x4a5a9e,_0xe67fdb,_0x40f577,_0xf61e98,_0x325453,_0x51782d,_0x3fdebf,_0x572106,_0x2552dd){var _0x5a04bd=_0x46c1fd;super(_0x33837c,_0x4a5a9e,null,[],_0xe67fdb,_0x51782d,_0x325453,_0x40f577,_0x2552dd),A(this,_0x5a04bd(0x4dd),_0x5a04bd(0x413)),(this[_0x5a04bd(0x3a5)]=_0xf61e98,this['_logService']=_0x3fdebf,this['_transformService']=_0x572106,this[_0x5a04bd(0x28b)]=_0x2552dd);}[_0x46c1fd(0x53b)](_0x584579){var _0x3555e8=_0x46c1fd;const _0x3f926d=this['_injector']['createInstance'](exports[_0x3555e8(0x4dc)],this[_0x3555e8(0x467)],this[_0x3555e8(0x337)],[_0x584579],this[_0x3555e8(0x42c)]);return _0x3f926d['_schedule'](),_0x3f926d[_0x3555e8(0x48d)](),_0x3f926d;}[_0x46c1fd(0x525)](_0x3a451e){var _0x277ebb=_0x46c1fd;if(this[_0x277ebb(0x4fa)](_0x3a451e))return this['_injector'][_0x277ebb(0x559)](exports[_0x277ebb(0x572)],this[_0x277ebb(0x467)],this[_0x277ebb(0x337)],null,[],null,[_0x3a451e],this[_0x277ebb(0x42c)]);try{const _0x4985cb=this[_0x277ebb(0x268)]['transformMutationsWithChangeset'](_0x3a451e,[Ii]);if(g[_0x277ebb(0x30e)](_0x4985cb)){const {c1Prime:_0x25d0a6}=_0x4985cb;return this[_0x277ebb(0x523)](_0x25d0a6),this;}throw _0x4985cb[_0x277ebb(0x33c)];}catch(_0x43e54e){return this[_0x277ebb(0x3de)][_0x277ebb(0x33c)](_0x43e54e),this[_0x277ebb(0x319)](!0x1);}}['_onConflict'](_0x393ff7){var _0x1771d9=_0x46c1fd;return this[_0x1771d9(0x3a5)][_0x1771d9(0x559)](exports[_0x1771d9(0x397)],this[_0x1771d9(0x467)],this[_0x1771d9(0x337)],null,[],this[_0x1771d9(0x42c)],_0x393ff7);}[_0x46c1fd(0x4a4)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x23424d=_0x46c1fd;throw new Error(_0x23424d(0x2e5));}[_0x46c1fd(0x1fb)](){return this;}[_0x46c1fd(0x538)](){var _0x483e12=_0x46c1fd;return this[_0x483e12(0x3a5)][_0x483e12(0x559)](exports['OfflineState'],this[_0x483e12(0x467)],this[_0x483e12(0x337)],null,[],this[_0x483e12(0x42c)]);}[_0x46c1fd(0x4b0)](){return this;}[_0x46c1fd(0x4a1)](){var _0x54902f=_0x46c1fd;throw new Error(_0x54902f(0x1ef));}[_0x46c1fd(0x451)](){var _0xf63617=_0x46c1fd;const _0xecd655=this[_0xf63617(0x3d7)][_0xf63617(0x21b)](this[_0xf63617(0x467)]);return this[_0xf63617(0x42c)][_0xf63617(0x440)]({'from':_0xecd655,'to':0x0}),this[_0xf63617(0x3a5)][_0xf63617(0x559)](exports['FetchingMissState'],this['unitID'],this[_0xf63617(0x337)],null,[],null,[],this[_0xf63617(0x42c)]);}},exports[_0x46c1fd(0x387)]=ce([w(0x3,a['Inject'](g['RevisionService'])),w(0x4,a['Inject'](a[_0x46c1fd(0x30c)])),w(0x5,a[_0x46c1fd(0x3c4)]),w(0x6,a[_0x46c1fd(0x3f7)]),w(0x7,a[_0x46c1fd(0x4de)]),w(0x8,g[_0x46c1fd(0x231)]),w(0x9,a['Optional'](z))],exports[_0x46c1fd(0x387)]),exports[_0x46c1fd(0x4dc)]=class extends he{constructor(_0x105ae2,_0x29707e,_0x174e69,_0x383d05,_0x1031fb,_0x2851d4,_0x467e34,_0x3af9a4,_0x346916,_0x166463,_0x41f9c9,_0x1668e6,_0x4c1cda,_0x39e383){var _0x3bbdf6=_0x46c1fd;super(_0x105ae2,_0x29707e,null,_0x174e69,_0x383d05,_0x346916,_0x4c1cda,_0x2851d4,_0x39e383),A(this,_0x3bbdf6(0x4dd),_0x3bbdf6(0x44c)),A(this,_0x3bbdf6(0x275),null),A(this,_0x3bbdf6(0x4db),null),(this['_injector']=_0x1031fb,this[_0x3bbdf6(0x43e)]=_0x467e34,this[_0x3bbdf6(0x3de)]=_0x3af9a4,this[_0x3bbdf6(0x486)]=_0x166463,this['_transformService']=_0x41f9c9,this[_0x3bbdf6(0x543)]=_0x1668e6);}[_0x46c1fd(0x53b)](_0x59582c){var _0x5674dd=_0x46c1fd;return this[_0x5674dd(0x1ff)][_0x5674dd(0x259)](_0x59582c),this[_0x5674dd(0x48d)](),this;}[_0x46c1fd(0x525)](_0x170328){var _0x2f17be=_0x46c1fd;if(this[_0x2f17be(0x4fa)](_0x170328))return this[_0x2f17be(0x546)](),this[_0x2f17be(0x3a5)][_0x2f17be(0x559)](exports[_0x2f17be(0x572)],this['unitID'],this[_0x2f17be(0x337)],null,this[_0x2f17be(0x1ff)],null,[_0x170328],this[_0x2f17be(0x42c)]);try{const _0x445c8c=this[_0x2f17be(0x268)][_0x2f17be(0x3be)](_0x170328,this[_0x2f17be(0x1ff)]);if(g[_0x2f17be(0x30e)](_0x445c8c)){const {c1Prime:_0x28c247,m2Prime:_0x29f9ca}=_0x445c8c;this[_0x2f17be(0x523)](_0x28c247);const _0x5e4983=this[_0x2f17be(0x3a5)][_0x2f17be(0x559)](exports[_0x2f17be(0x4dc)],this[_0x2f17be(0x467)],this[_0x2f17be(0x337)],_0x29f9ca,this['_handler']);this[_0x2f17be(0x546)]();const _0x3aed6e=new Date()[_0x2f17be(0x37f)](),_0x1c1532=this['_scheduleCompleteTimestamp']?Math[_0x2f17be(0x41b)](this[_0x2f17be(0x275)]-_0x3aed6e,0x0):this[_0x2f17be(0x56a)]();return _0x5e4983[_0x2f17be(0x52f)](_0x1c1532),_0x5e4983;}throw _0x445c8c[_0x2f17be(0x33c)];}catch(_0x2e0f0c){return this[_0x2f17be(0x3de)]['error'](_0x2e0f0c),this[_0x2f17be(0x319)](!0x1);}}[_0x46c1fd(0x4a4)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x46c1fd(0x279)](){var _0x1d8c91=_0x46c1fd;throw new Error(_0x1d8c91(0x4bf));}[_0x46c1fd(0x1fb)](){return this;}[_0x46c1fd(0x538)](){var _0x415708=_0x46c1fd;return this[_0x415708(0x546)](),this[_0x415708(0x3a5)]['createInstance'](exports[_0x415708(0x55f)],this[_0x415708(0x467)],this['type'],null,this[_0x415708(0x1ff)],this[_0x415708(0x42c)]);}[_0x46c1fd(0x4b0)](){return this;}[_0x46c1fd(0x52f)](_0x4c1549){var _0x27eaa7=_0x46c1fd;const _0x4e1a9f=_0x4c1549!=null?_0x4c1549:this[_0x27eaa7(0x56a)]();this['_scheduleCompleteTimestamp']=new Date()[_0x27eaa7(0x37f)]()+_0x4e1a9f,this['_sendingTimer']=setTimeout(()=>{var _0x11058b=_0x27eaa7;this['_clearScheduledTask']();let _0x44cdfe=null;switch(this[_0x11058b(0x337)]){case X[_0x11058b(0x38b)]:{_0x44cdfe=ze(this[_0x11058b(0x1ff)],this[_0x11058b(0x467)],this[_0x11058b(0x543)],this[_0x11058b(0x3d7)],this[_0x11058b(0x43e)]);break;}case X[_0x11058b(0x272)]:{this[_0x11058b(0x1ff)][_0x11058b(0x2c8)](_0x34887b=>_0x34887b['id']===ut[_0x11058b(0x452)]['id'])?_0x44cdfe=mi(this[_0x11058b(0x1ff)],this[_0x11058b(0x467)],this[_0x11058b(0x543)],this['_revisionService'],this[_0x11058b(0x43e)]):_0x44cdfe=ze(this['_pendingMutations'],this[_0x11058b(0x467)],this[_0x11058b(0x543)],this[_0x11058b(0x3d7)],this[_0x11058b(0x43e)]);break;}default:throw new Error(_0x11058b(0x352)+this['type']+_0x11058b(0x2a6));}const {changeset:_0x32f04a,pendingMutations:_0x57d266}=_0x44cdfe;this[_0x11058b(0x42c)]['onSendChangeset'](_0x32f04a);const _0x101e64=_0x57d266['length']?this['_injector'][_0x11058b(0x559)](exports[_0x11058b(0x3ec)],this['unitID'],this[_0x11058b(0x337)],_0x32f04a,_0x57d266,this[_0x11058b(0x42c)],void 0x0):this[_0x11058b(0x3a5)][_0x11058b(0x559)](exports[_0x11058b(0x46a)],this[_0x11058b(0x467)],this[_0x11058b(0x337)],_0x32f04a,this['_handler']);_0x101e64[_0x11058b(0x48d)](),this['_handler'][_0x11058b(0x32d)](this,_0x101e64);},_0x4e1a9f);}[_0x46c1fd(0x56a)](){var _0x28c2fb=_0x46c1fd,_0x130d8c;const _0x34bb49=this[_0x28c2fb(0x486)][_0x28c2fb(0x38a)](Y);return(_0x130d8c=_0x34bb49==null?void 0x0:_0x34bb49['sendChangesetTimeout'])!=null?_0x130d8c:jt;}[_0x46c1fd(0x4a1)](){var _0x23dbab=_0x46c1fd;throw new Error(_0x23dbab(0x230));}[_0x46c1fd(0x546)](){var _0x319127=_0x46c1fd;this[_0x319127(0x4db)]!=null&&(clearTimeout(this[_0x319127(0x4db)]),this[_0x319127(0x4db)]=null);}[_0x46c1fd(0x319)](_0x41c2cd){var _0x40727b=_0x46c1fd;return this['_clearScheduledTask'](),this[_0x40727b(0x3a5)][_0x40727b(0x559)](exports[_0x40727b(0x397)],this[_0x40727b(0x467)],this[_0x40727b(0x337)],null,this[_0x40727b(0x1ff)],this['_handler'],_0x41c2cd);}},exports[_0x46c1fd(0x4dc)]=ce([w(0x4,a['Inject'](a[_0x46c1fd(0x30c)])),w(0x5,a[_0x46c1fd(0x24f)](g[_0x46c1fd(0x4cf)])),w(0x6,a[_0x46c1fd(0x24f)](exports[_0x46c1fd(0x3f1)])),w(0x7,a[_0x46c1fd(0x4de)]),w(0x8,a[_0x46c1fd(0x3f7)]),w(0x9,a['IConfigService']),w(0xa,g[_0x46c1fd(0x231)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x46c1fd(0x3c4)]),w(0xd,a[_0x46c1fd(0x347)](z))],exports[_0x46c1fd(0x4dc)]),exports[_0x46c1fd(0x46a)]=class extends he{constructor(_0xfa2be6,_0x24d2e5,_0x64a598,_0x43e547,_0x2f2b28,_0x1f1f09,_0xab5163,_0x5df820,_0x1f61b2,_0xf440a7,_0x55ee2d){var _0x1dd387=_0x46c1fd;super(_0xfa2be6,_0x24d2e5,_0x64a598,[],_0x43e547,_0xab5163,_0xf440a7,_0x1f1f09,_0x55ee2d),A(this,_0x1dd387(0x4dd),_0x1dd387(0x52c)),A(this,_0x1dd387(0x338),0x0),A(this,_0x1dd387(0x369)),A(this,'_sender'),(this[_0x1dd387(0x3a5)]=_0x2f2b28,this[_0x1dd387(0x3de)]=_0x5df820,this['_transformService']=_0x1f61b2);}[_0x46c1fd(0x53b)](_0x5f2c24){var _0x4c800d=_0x46c1fd;this[_0x4c800d(0x546)]();const _0x459083=this[_0x4c800d(0x3a5)]['createInstance'](exports[_0x4c800d(0x3ec)],this[_0x4c800d(0x467)],this[_0x4c800d(0x337)],this[_0x4c800d(0x4ce)],[_0x5f2c24],this[_0x4c800d(0x42c)],this[_0x4c800d(0x369)]);return _0x459083[_0x4c800d(0x48d)](),_0x459083;}[_0x46c1fd(0x525)](_0x2534c7){var _0x3680b2=_0x46c1fd;if(this[_0x3680b2(0x4fa)](_0x2534c7))return this[_0x3680b2(0x546)](),this[_0x3680b2(0x3a5)][_0x3680b2(0x559)](exports[_0x3680b2(0x572)],this['unitID'],this[_0x3680b2(0x337)],this[_0x3680b2(0x4ce)],[],null,[_0x2534c7],this[_0x3680b2(0x42c)]);try{const _0x13fa6a=this[_0x3680b2(0x268)]['transformChangesets']([_0x2534c7],[this['_awaitingChangeset']],!0x1);if(g[_0x3680b2(0x3d9)](_0x13fa6a)){const {c1Prime:_0x3e4e18,c2Prime:_0x183447}=_0x13fa6a;this[_0x3680b2(0x523)](_0x3e4e18[0x0]),_0x183447[0x0][_0x3680b2(0x4b4)]=this[_0x3680b2(0x4d5)](),this[_0x3680b2(0x546)]();const _0x303ad7=this[_0x3680b2(0x3a5)][_0x3680b2(0x559)](exports[_0x3680b2(0x46a)],this['unitID'],this[_0x3680b2(0x337)],_0x183447[0x0],this[_0x3680b2(0x42c)]);return _0x303ad7[_0x3680b2(0x48d)](),_0x303ad7;}return this[_0x3680b2(0x319)](!0x1);}catch(_0xc41e85){return this['_logService'][_0x3680b2(0x33c)](_0xc41e85),this['_onConflict'](!0x1);}}[_0x46c1fd(0x4a4)](_0x2fce8b){var _0x2ad7f9=_0x46c1fd;this[_0x2ad7f9(0x546)]();const _0x42d81c=this[_0x2ad7f9(0x3d7)][_0x2ad7f9(0x21b)](this[_0x2ad7f9(0x467)]);if(_0x2fce8b[_0x2ad7f9(0x4ee)]<_0x42d81c-0x1)return this;if(this[_0x2ad7f9(0x4fa)](_0x2fce8b))return this['_injector'][_0x2ad7f9(0x559)](exports[_0x2ad7f9(0x572)],this[_0x2ad7f9(0x467)],this[_0x2ad7f9(0x337)],null,[],this[_0x2ad7f9(0x4ce)],[],this[_0x2ad7f9(0x42c)]);this[_0x2ad7f9(0x2e7)]();const _0x4090c6=this[_0x2ad7f9(0x3a5)][_0x2ad7f9(0x559)](exports[_0x2ad7f9(0x387)],this['unitID'],this[_0x2ad7f9(0x337)],this[_0x2ad7f9(0x42c)]);return _0x4090c6[_0x2ad7f9(0x48d)](),_0x4090c6;}['onRemoteRej'](_0x5a9e4d){var _0x258eb0=_0x46c1fd;return this['_onConflict'](!!(_0x5a9e4d!=null&&_0x5a9e4d[_0x258eb0(0x4bc)]));}[_0x46c1fd(0x1fb)](_0x1da3b6){var _0x5c688a=_0x46c1fd;return this[_0x5c688a(0x338)]>Nt?this['toggleOffline']():(this[_0x5c688a(0x369)]=Ot(this['_resendTimeout'],{'timeout':this[_0x5c688a(0x338)],'reqId':_0x1da3b6['reqId']}),this[_0x5c688a(0x2d3)]=this[_0x5c688a(0x369)][_0x5c688a(0x28d)](({reqId:_0x1398a9,timeout:_0x914718})=>{var _0xac79ca=_0x5c688a;this[_0xac79ca(0x500)](_0x1398a9,_0x914718);}),this);}[_0x46c1fd(0x538)](){var _0x5848a5=_0x46c1fd;return this[_0x5848a5(0x546)](),this[_0x5848a5(0x3a5)]['createInstance'](exports[_0x5848a5(0x55f)],this[_0x5848a5(0x467)],this[_0x5848a5(0x337)],this[_0x5848a5(0x4ce)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x46c1fd(0x4a1)](){var _0x47ed36=_0x46c1fd;this['_handler'][_0x47ed36(0x545)](this[_0x47ed36(0x4ce)]);}[_0x46c1fd(0x319)](_0x5cb902){var _0x59db7e=_0x46c1fd;return this[_0x59db7e(0x546)](),this[_0x59db7e(0x3a5)][_0x59db7e(0x559)](exports[_0x59db7e(0x397)],this['unitID'],this[_0x59db7e(0x337)],this[_0x59db7e(0x4ce)],[],this[_0x59db7e(0x42c)],_0x5cb902);}[_0x46c1fd(0x500)](_0x3f165a,_0x32edf0){var _0x671a32=_0x46c1fd,_0x401a26;_0x3f165a===((_0x401a26=this[_0x671a32(0x4ce)])==null?void 0x0:_0x401a26['reqId'])&&(this['resend'](),this[_0x671a32(0x338)]=_0x32edf0===0x0?0x3e8:_0x32edf0*0x2);}[_0x46c1fd(0x546)](){var _0x2cf217=_0x46c1fd,_0x290b48;(_0x290b48=this[_0x2cf217(0x2d3)])==null||_0x290b48['unsubscribe'](),this[_0x2cf217(0x338)]=0x0;}},exports[_0x46c1fd(0x46a)]=ce([w(0x4,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x30c)])),w(0x5,a[_0x46c1fd(0x24f)](g[_0x46c1fd(0x4cf)])),w(0x6,a[_0x46c1fd(0x3f7)]),w(0x7,a['ILogService']),w(0x8,g['ITransformService']),w(0x9,a[_0x46c1fd(0x3c4)]),w(0xa,a[_0x46c1fd(0x347)](z))],exports['AwaitingState']),exports[_0x46c1fd(0x3ec)]=class extends he{constructor(_0x5d1185,_0xa5006c,_0x40b12e,_0x535233,_0x4f2f30,_0x19266a,_0x4f97c7,_0x59aefe,_0x4bc5a2,_0x55531b,_0x28c19f,_0x4b562e,_0x430888){var _0x2337b9=_0x46c1fd;super(_0x5d1185,_0xa5006c,_0x40b12e,_0x535233,_0x4f2f30,_0x4bc5a2,_0x4b562e,_0x59aefe,_0x430888),A(this,_0x2337b9(0x4dd),_0x2337b9(0x261)),A(this,_0x2337b9(0x338),0x0),A(this,_0x2337b9(0x369)),A(this,_0x2337b9(0x2d3)),(this[_0x2337b9(0x3a5)]=_0x4f97c7,this[_0x2337b9(0x3de)]=_0x55531b,this[_0x2337b9(0x268)]=_0x28c19f,this[_0x2337b9(0x28b)]=_0x430888,_0x19266a&&(this[_0x2337b9(0x369)]=_0x19266a,this[_0x2337b9(0x2d3)]=this[_0x2337b9(0x369)]['subscribe'](({reqId:_0x3391bc,timeout:_0x246ea4})=>{var _0x505904=_0x2337b9;this[_0x505904(0x500)](_0x3391bc,_0x246ea4);})));}[_0x46c1fd(0x53b)](_0xe426e9){var _0x2573c0=_0x46c1fd;return this[_0x2573c0(0x1ff)]['push'](_0xe426e9),this;}[_0x46c1fd(0x525)](_0x7a5e9e){var _0x1fe176=_0x46c1fd;if(this[_0x1fe176(0x4fa)](_0x7a5e9e))return this[_0x1fe176(0x546)](),this[_0x1fe176(0x3a5)][_0x1fe176(0x559)](exports[_0x1fe176(0x572)],this[_0x1fe176(0x467)],this['type'],this[_0x1fe176(0x4ce)],this[_0x1fe176(0x1ff)],null,[_0x7a5e9e],this[_0x1fe176(0x42c)]);try{const _0x440322=this[_0x1fe176(0x268)][_0x1fe176(0x544)]([_0x7a5e9e],[this[_0x1fe176(0x4ce)]],!0x1);if(g[_0x1fe176(0x3d9)](_0x440322)){const {c1Prime:_0x1dcf2f,c2Prime:_0x1ca081}=_0x440322,_0x52fafd=this[_0x1fe176(0x268)][_0x1fe176(0x3be)](_0x1dcf2f[0x0],this[_0x1fe176(0x1ff)]);if(g[_0x1fe176(0x30e)](_0x52fafd)){const {c1Prime:_0x1697ae,m2Prime:_0x4b21e6}=_0x52fafd;return this['_executeRemoteChangeset'](_0x1697ae),_0x1ca081[0x0][_0x1fe176(0x4b4)]=this[_0x1fe176(0x4d5)](),this[_0x1fe176(0x546)](),this[_0x1fe176(0x3a5)][_0x1fe176(0x559)](exports['AwaitingWithPendingState'],this[_0x1fe176(0x467)],this[_0x1fe176(0x337)],_0x1ca081[0x0],_0x4b21e6,this[_0x1fe176(0x42c)],void 0x0);}throw _0x52fafd[_0x1fe176(0x33c)];}throw _0x440322[_0x1fe176(0x33c)];}catch(_0x37463d){return this[_0x1fe176(0x3de)][_0x1fe176(0x33c)](_0x37463d),this[_0x1fe176(0x319)](!0x1);}}[_0x46c1fd(0x4a4)](_0x873288){var _0x3958aa=_0x46c1fd;if(this['_clearScheduledTask'](),this[_0x3958aa(0x4fa)](_0x873288))return this['_injector']['createInstance'](exports[_0x3958aa(0x572)],this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x3958aa(0x4ce)],[],this[_0x3958aa(0x42c)]);this[_0x3958aa(0x2e7)]();const _0x47ac55=this[_0x3958aa(0x3a5)][_0x3958aa(0x559)](exports[_0x3958aa(0x4dc)],this[_0x3958aa(0x467)],this[_0x3958aa(0x337)],this[_0x3958aa(0x1ff)],this[_0x3958aa(0x42c)]);return _0x47ac55[_0x3958aa(0x52f)](),_0x47ac55['_updateLocalCache'](),_0x47ac55;}['onRemoteRej'](_0x1a64f7){var _0x1d9370=_0x46c1fd;return this[_0x1d9370(0x319)](!!(_0x1a64f7!=null&&_0x1a64f7[_0x1d9370(0x4bc)]));}[_0x46c1fd(0x1fb)](_0x40c66b){var _0x2ccc95=_0x46c1fd;return this[_0x2ccc95(0x338)]>Nt?this['toggleOffline']():(this[_0x2ccc95(0x369)]=Ot(this[_0x2ccc95(0x338)],{'timeout':this[_0x2ccc95(0x338)],'reqId':_0x40c66b['reqId']}),this[_0x2ccc95(0x2d3)]=this['_resendTimer'][_0x2ccc95(0x28d)](({reqId:_0x79308,timeout:_0x1783a6})=>{var _0x2637f8=_0x2ccc95;this[_0x2637f8(0x500)](_0x79308,_0x1783a6);}),this);}[_0x46c1fd(0x538)](){var _0x11ff4f=_0x46c1fd;return this[_0x11ff4f(0x546)](),this['_injector'][_0x11ff4f(0x559)](exports[_0x11ff4f(0x55f)],this[_0x11ff4f(0x467)],this['type'],this['_awaitingChangeset'],this[_0x11ff4f(0x1ff)],this[_0x11ff4f(0x42c)]);}[_0x46c1fd(0x4b0)](){return this;}['resend'](){var _0x50dc6f=_0x46c1fd;this[_0x50dc6f(0x42c)]['onSendChangeset'](this[_0x50dc6f(0x4ce)]);}[_0x46c1fd(0x319)](_0x5f5836){var _0x17caa6=_0x46c1fd;return this['_clearScheduledTask'](),this[_0x17caa6(0x3a5)]['createInstance'](exports[_0x17caa6(0x397)],this[_0x17caa6(0x467)],this[_0x17caa6(0x337)],null,this['_pendingMutations'],this[_0x17caa6(0x42c)],_0x5f5836);}[_0x46c1fd(0x500)](_0x3bdd97,_0x165318){var _0x314b97=_0x46c1fd,_0x4e817c;_0x3bdd97===((_0x4e817c=this[_0x314b97(0x4ce)])==null?void 0x0:_0x4e817c[_0x314b97(0x562)])&&(this[_0x314b97(0x4a1)](),this[_0x314b97(0x338)]=_0x165318===0x0?0x3e8:_0x165318*0x2);}[_0x46c1fd(0x546)](){var _0x341682=_0x46c1fd,_0x401796;(_0x401796=this[_0x341682(0x2d3)])==null||_0x401796['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0x46c1fd(0x3ec)]=ce([w(0x6,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x30c)])),w(0x7,a[_0x46c1fd(0x24f)](g[_0x46c1fd(0x4cf)])),w(0x8,a[_0x46c1fd(0x3f7)]),w(0x9,a[_0x46c1fd(0x4de)]),w(0xa,g[_0x46c1fd(0x231)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x46c1fd(0x347)](z))],exports['AwaitingWithPendingState']),exports[_0x46c1fd(0x397)]=class extends he{constructor(_0x4eb028,_0x5c5ae3,_0x52a197,_0x271a44,_0x3db76d,_0x4374cc=!0x1,_0x574478,_0x327080,_0x16f573,_0x36df20,_0x582e52,_0x4d8cb3,_0x295213){var _0x4b584c=_0x46c1fd;super(_0x4eb028,_0x5c5ae3,_0x52a197,_0x271a44,_0x3db76d,_0x327080,_0x16f573,_0x36df20,_0x295213),A(this,'status',_0x4b584c(0x36e)),(this[_0x4b584c(0x20e)]=_0x4374cc,this[_0x4b584c(0x2bf)]=_0x574478,this[_0x4b584c(0x555)]=_0x582e52,this[_0x4b584c(0x360)]=_0x4d8cb3,this['localCacheService']=_0x295213,this['_showConflictNotification'](),this[_0x4b584c(0x3f8)](),this[_0x4b584c(0x535)]());}[_0x46c1fd(0x53b)](){return this;}[_0x46c1fd(0x525)](){return this;}[_0x46c1fd(0x4a4)](){return this;}[_0x46c1fd(0x279)](){return this;}[_0x46c1fd(0x1fb)](){return this;}[_0x46c1fd(0x538)](){return this;}[_0x46c1fd(0x4b0)](){return this;}[_0x46c1fd(0x4a1)](){var _0x402b16=_0x46c1fd;throw new Error(_0x402b16(0x316));}[_0x46c1fd(0x3f8)](){var _0x7ace59=_0x46c1fd,_0x193007;(_0x193007=this[_0x7ace59(0x4d6)])==null||_0x193007[_0x7ace59(0x2dc)](this[_0x7ace59(0x467)],this[_0x7ace59(0x337)],null,[]);}[_0x46c1fd(0x47f)](){var _0x50f186=_0x46c1fd;this[_0x50f186(0x20e)]?this['_collaborationUIEventService'][_0x50f186(0x2ec)]({'id':Q['PERMISSION_DENIED']}):this[_0x50f186(0x360)][_0x50f186(0x2ec)]({'id':Q['CONFLICT']});}['_disableEditing'](){var _0x444a7d=_0x46c1fd;this[_0x444a7d(0x2bf)][_0x444a7d(0x23f)](new Z[(_0x444a7d(0x3ea))](this[_0x444a7d(0x467)])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a[_0x46c1fd(0x24f)](a['IPermissionService'])),w(0x7,a[_0x46c1fd(0x3f7)]),w(0x8,a[_0x46c1fd(0x3c4)]),w(0x9,a[_0x46c1fd(0x24f)](g[_0x46c1fd(0x4cf)])),w(0xa,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x42b)])),w(0xb,a['Inject'](te)),w(0xc,a[_0x46c1fd(0x347)](z))],exports[_0x46c1fd(0x397)]),exports[_0x46c1fd(0x55f)]=class extends he{constructor(_0x38a910,_0x54fa96,_0xe6eb5f,_0x1dc7c0,_0x5c462c,_0x500153,_0x3e6509,_0x2a145f,_0x1267b5,_0x7687db){var _0x373beb=_0x46c1fd;super(_0x38a910,_0x54fa96,_0xe6eb5f,_0x1dc7c0,_0x5c462c,_0x2a145f,_0x1267b5,_0x3e6509,_0x7687db),A(this,_0x373beb(0x4dd),_0x373beb(0x1f5)),this['_injector']=_0x500153;}[_0x46c1fd(0x53b)](_0x377f8d){var _0x4bb436=_0x46c1fd;return this[_0x4bb436(0x1ff)][_0x4bb436(0x259)](_0x377f8d),this[_0x4bb436(0x48d)](),this;}[_0x46c1fd(0x525)](_0x48be9f){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x46c1fd(0x279)](){var _0x713b17=_0x46c1fd;throw new Error(_0x713b17(0x517));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x564e1c=_0x46c1fd;const {_injector:_0x11c27a,_pendingMutations:_0x23f541,_awaitingChangeset:_0x332e95,unitID:_0x581cf5,_handler:_0x4d5606,type:_0x160d18}=this,_0x527bae=Dt(_0x11c27a,_0x581cf5,_0x160d18,_0x332e95,_0x23f541,_0x4d5606);return _0x527bae instanceof exports[_0x564e1c(0x4dc)]?_0x527bae['_schedule']():(_0x527bae instanceof exports['AwaitingWithPendingState']||_0x527bae instanceof exports[_0x564e1c(0x46a)])&&_0x527bae[_0x564e1c(0x4a1)](),_0x527bae;}[_0x46c1fd(0x4a1)](){var _0xb224fe=_0x46c1fd;throw new Error(_0xb224fe(0x372));}},exports[_0x46c1fd(0x55f)]=ce([w(0x5,a['Inject'](a['Injector'])),w(0x6,a['Inject'](g[_0x46c1fd(0x4cf)])),w(0x7,a['ICommandService']),w(0x8,a[_0x46c1fd(0x3c4)]),w(0x9,a[_0x46c1fd(0x347)](z))],exports[_0x46c1fd(0x55f)]),exports[_0x46c1fd(0x572)]=class extends he{constructor(_0x15752b,_0x5bfb93,_0x8df01d,_0x58a901,_0x2df2a2,_0x46e728,_0x6f091d,_0x5d3f09,_0x122995,_0x5a08ce,_0x3a074f,_0x4e80bf,_0x41e2ce,_0x592a20){var _0x2a4858=_0x46c1fd;super(_0x15752b,_0x5bfb93,_0x8df01d,_0x58a901,_0x6f091d,_0x3a074f,_0x4e80bf,_0x122995,_0x592a20),A(this,_0x2a4858(0x4dd),_0x2a4858(0x21f)),(this['_acknowledgedAwaitingChangeset']=_0x2df2a2,this['_queuedRemoteChangesets']=_0x46e728,this['_injector']=_0x5d3f09,this[_0x2a4858(0x3de)]=_0x5a08ce,this[_0x2a4858(0x268)]=_0x41e2ce,this[_0x2a4858(0x28b)]=_0x592a20);}[_0x46c1fd(0x39b)](_0x55f23b){var _0xc66098=_0x46c1fd;try{const _0x5baa9f=[..._0x55f23b,...this[_0xc66098(0x37a)]],_0x486d2a=[this['_awaitingChangeset']||this[_0xc66098(0x3b6)]][_0xc66098(0x265)](_0x5edb23=>!!_0x5edb23);let _0x362597,_0x4d1772;if(_0x486d2a['length']){const _0x93713a=this[_0xc66098(0x268)][_0xc66098(0x544)](_0x5baa9f,_0x486d2a,!0x1);if(!g[_0xc66098(0x3d9)](_0x93713a))throw _0x93713a[_0xc66098(0x33c)];_0x362597=_0x93713a[_0xc66098(0x246)],_0x4d1772=_0x93713a['c2Prime'];}else _0x362597=_0x5baa9f,_0x4d1772=[];let _0x47589f=this[_0xc66098(0x1ff)];_0x362597[_0xc66098(0x245)](_0x2a56e2=>{var _0xcdd90c=_0xc66098;let _0x5e325f;if(_0x47589f[_0xcdd90c(0x3c0)]){const _0x2810f3=this[_0xcdd90c(0x268)]['transformMutationsWithChangeset'](_0x2a56e2,_0x47589f);if(!g[_0xcdd90c(0x30e)](_0x2810f3))throw _0x2810f3[_0xcdd90c(0x33c)];_0x5e325f=_0x2810f3[_0xcdd90c(0x246)],_0x47589f=_0x2810f3[_0xcdd90c(0x295)];}else _0x5e325f=_0x2a56e2;this['_executeRemoteChangeset'](_0x5e325f);}),this['_acknowledgedAwaitingChangeset']&&this[_0xc66098(0x2e7)](),this[_0xc66098(0x4ce)]&&_0x4d1772[_0xc66098(0x3c0)]&&(_0x4d1772[0x0][_0xc66098(0x4b4)]=this[_0xc66098(0x4d5)]());let _0x4ecb2f;if(this[_0xc66098(0x4ce)]&&_0x47589f[_0xc66098(0x3c0)]!==0x0)_0x4ecb2f=this[_0xc66098(0x3a5)][_0xc66098(0x559)](exports['AwaitingWithPendingState'],this[_0xc66098(0x467)],this[_0xc66098(0x337)],_0x4d1772[0x0],_0x47589f,this[_0xc66098(0x42c)],void 0x0);else{if(this[_0xc66098(0x4ce)]&&_0x47589f[_0xc66098(0x3c0)]===0x0)_0x4d1772[0x0][_0xc66098(0x4b4)]=this[_0xc66098(0x4d5)](),_0x4ecb2f=this['_injector'][_0xc66098(0x559)](exports['AwaitingState'],this[_0xc66098(0x467)],this[_0xc66098(0x337)],_0x4d1772[0x0],this[_0xc66098(0x42c)]);else{if(_0x47589f['length']!==0x0){const _0x11bf57=this[_0xc66098(0x3a5)][_0xc66098(0x559)](exports[_0xc66098(0x4dc)],this[_0xc66098(0x467)],this[_0xc66098(0x337)],_0x47589f,this['_handler']);_0x11bf57['_schedule'](),_0x4ecb2f=_0x11bf57;}else _0x4ecb2f=this[_0xc66098(0x3a5)][_0xc66098(0x559)](exports[_0xc66098(0x387)],this['unitID'],this[_0xc66098(0x337)],this[_0xc66098(0x42c)]);}}return _0x4ecb2f['_updateLocalCache'](),_0x4ecb2f;}catch(_0x40782a){return this[_0xc66098(0x3de)][_0xc66098(0x33c)]('[FetchMissState]',_0xc66098(0x3e3),_0x40782a),this[_0xc66098(0x3a5)]['createInstance'](exports[_0xc66098(0x397)],this[_0xc66098(0x467)],this['type'],this[_0xc66098(0x4ce)],this['_pendingMutations'],this[_0xc66098(0x42c)],!0x1);}}[_0x46c1fd(0x4a1)](){var _0x4b88e9=_0x46c1fd;throw new Error(_0x4b88e9(0x373));}[_0x46c1fd(0x53b)](_0x49d1f5){var _0x2de923=_0x46c1fd;return this[_0x2de923(0x1ff)]['push'](_0x49d1f5),this;}[_0x46c1fd(0x525)](_0xcffc52){var _0x2cb03c=_0x46c1fd;return this['_queuedRemoteChangesets'][_0x2cb03c(0x259)](_0xcffc52),this;}[_0x46c1fd(0x4a4)](_0xba1229){var _0x54016b=_0x46c1fd;if(this[_0x54016b(0x4ce)])return this[_0x54016b(0x3b6)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x54016b(0x52d));}[_0x46c1fd(0x279)](_0x531fb3){var _0x4a43fe=_0x46c1fd;return this[_0x4a43fe(0x319)](!!(_0x531fb3!=null&&_0x531fb3[_0x4a43fe(0x4bc)]));}[_0x46c1fd(0x1fb)](){return this;}[_0x46c1fd(0x538)](){var _0x5561fa=_0x46c1fd;return this[_0x5561fa(0x3a5)][_0x5561fa(0x559)](exports[_0x5561fa(0x55f)],this['unitID'],this['type'],this[_0x5561fa(0x4ce)],this[_0x5561fa(0x1ff)],this[_0x5561fa(0x42c)]);}['toggleOnline'](){return this;}[_0x46c1fd(0x319)](_0x53c5cb){var _0x15b6be=_0x46c1fd;return this['_injector'][_0x15b6be(0x559)](exports[_0x15b6be(0x397)],this['unitID'],this[_0x15b6be(0x337)],this[_0x15b6be(0x4ce)],this['_pendingMutations'],this[_0x15b6be(0x42c)],_0x53c5cb);}},exports[_0x46c1fd(0x572)]=ce([w(0x7,a['Inject'](a['Injector'])),w(0x8,a['Inject'](g[_0x46c1fd(0x4cf)])),w(0x9,a[_0x46c1fd(0x4de)]),w(0xa,a['ICommandService']),w(0xb,a[_0x46c1fd(0x3c4)]),w(0xc,g[_0x46c1fd(0x231)]),w(0xd,a['Optional'](z))],exports['FetchingMissState']);function Dt(_0x380c88,_0x324b95,_0x1615b0,_0x153d19,_0x49ed72,_0x29535c){var _0xd45c98=_0x46c1fd;return _0x153d19&&_0x49ed72[_0xd45c98(0x3c0)]?_0x380c88[_0xd45c98(0x559)](exports[_0xd45c98(0x3ec)],_0x324b95,_0x1615b0,_0x153d19,_0x49ed72,_0x29535c,void 0x0):_0x153d19?_0x380c88[_0xd45c98(0x559)](exports['AwaitingState'],_0x324b95,_0x1615b0,_0x153d19,_0x29535c):_0x49ed72[_0xd45c98(0x3c0)]?_0x380c88['createInstance'](exports['PendingState'],_0x324b95,_0x1615b0,_0x49ed72,_0x29535c):_0x380c88[_0xd45c98(0x559)](exports[_0xd45c98(0x387)],_0x324b95,_0x1615b0,_0x29535c);}var Ci=Object[_0x46c1fd(0x425)],We=(_0x2ee841,_0x20341f,_0x1ed068,_0x5631fe)=>{var _0x35a392=_0x46c1fd;for(var _0x1a324b=_0x5631fe>0x1?void 0x0:_0x5631fe?Ci(_0x20341f,_0x1ed068):_0x20341f,_0x4211f9=_0x2ee841[_0x35a392(0x3c0)]-0x1,_0x382900;_0x4211f9>=0x0;_0x4211f9--)(_0x382900=_0x2ee841[_0x4211f9])&&(_0x1a324b=_0x382900(_0x1a324b)||_0x1a324b);return _0x1a324b;},$=(_0x18fcbd,_0x225ccb)=>(_0x5505a1,_0x5c3f94)=>_0x225ccb(_0x5505a1,_0x5c3f94,_0x18fcbd);exports[_0x46c1fd(0x2f5)]=class extends a['RxDisposable']{constructor(_0x273b82,_0x5029b0,_0x456f75,_0x27b005,_0x5db6bd,_0x57b0c0,_0x4ca4db,_0x31a417,_0x4f91aa,_0x22af2e,_0x1cba3c,_0x399163,_0x495eb2){var _0x2068ff=_0x46c1fd;super(),A(this,'_state$',new j[(_0x2068ff(0x216))](null)),A(this,_0x2068ff(0x50b),this[_0x2068ff(0x4e8)]['asObservable']()),A(this,'_state'),A(this,_0x2068ff(0x442),!0x1),A(this,_0x2068ff(0x292),''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x2068ff(0x50b)][_0x2068ff(0x388)](j[_0x2068ff(0x2f3)](_0x698265=>_0x698265?_0x698265[_0x2068ff(0x4dd)]:Ve[_0x2068ff(0x2bb)]),j[_0x2068ff(0x2de)](0x1))),A(this,_0x2068ff(0x2fd),!0x1),A(this,_0x2068ff(0x32c),[]),(this[_0x2068ff(0x467)]=_0x273b82,this[_0x2068ff(0x55e)]=_0x5029b0,this[_0x2068ff(0x40e)]=_0x456f75,this[_0x2068ff(0x3a5)]=_0x27b005,this['_compressMutationService']=_0x5db6bd,this[_0x2068ff(0x555)]=_0x57b0c0,this[_0x2068ff(0x3d7)]=_0x4ca4db,this[_0x2068ff(0x45a)]=_0x31a417,this[_0x2068ff(0x3de)]=_0x4f91aa,this[_0x2068ff(0x328)]=_0x22af2e,this[_0x2068ff(0x2bf)]=_0x1cba3c,this[_0x2068ff(0x409)]=_0x399163,this[_0x2068ff(0x4d6)]=_0x495eb2);}get[_0x46c1fd(0x297)](){var _0x598d92=_0x46c1fd;return this[_0x598d92(0x2f4)];}async[_0x46c1fd(0x3bf)](){var _0xa3014a=_0x46c1fd;if(this['state'])throw new Error(_0xa3014a(0x443));await this[_0xa3014a(0x3af)]();}[_0x46c1fd(0x205)](){var _0x382d4e=_0x46c1fd;return this['_collaborationPaused']=!0x0,a[_0x382d4e(0x47c)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x46c1fd(0x497)](_0xe29f59){var _0x29ad47=_0x46c1fd;this[_0x29ad47(0x2be)](_0xe29f59);}['_updateState'](_0x3a7393){var _0x2572c7=_0x46c1fd;this[_0x2572c7(0x2f4)]=_0x3a7393,this[_0x2572c7(0x4e8)]['next'](_0x3a7393);}async[_0x46c1fd(0x3af)](){var _0x58d751=_0x46c1fd,_0x502643;this[_0x58d751(0x2b5)](await this[_0x58d751(0x50e)]()),this[_0x58d751(0x409)]&&((_0x502643=this[_0x58d751(0x409)])==null||_0x502643[_0x58d751(0x311)](this[_0x58d751(0x467)]),this[_0x58d751(0x4df)](this[_0x58d751(0x409)][_0x58d751(0x4a0)](this['unitID'])[_0x58d751(0x28d)](_0x5449b3=>{var _0x2ebc39=_0x58d751;this['_logService'][_0x2ebc39(0x390)](_0x2ebc39(0x3ab),_0x2ebc39(0x441),_0x5449b3),_0x5449b3===Fe[_0x2ebc39(0x2c9)]?(this[_0x2ebc39(0x45a)][_0x2ebc39(0x2ec)]({'id':Q[_0x2ebc39(0x3f0)]}),this[_0x2ebc39(0x2bf)][_0x2ebc39(0x23f)](new Z[(_0x2ebc39(0x3ea))](this['unitID'])['id'],!0x1),this[_0x2ebc39(0x2bf)]['setShowComponents'](!0x1)):(this[_0x2ebc39(0x2bf)][_0x2ebc39(0x23f)](new Z[(_0x2ebc39(0x3ea))](this[_0x2ebc39(0x467)])['id'],!0x0),this[_0x2ebc39(0x2bf)][_0x2ebc39(0x3c1)](!0x0));})));let _0x425702=!0x1;return this['disposeWithMe'](this[_0x58d751(0x55e)]['sessionStatus$']['subscribe'](_0x236a2b=>{var _0x504546=_0x58d751;_0x236a2b===se[_0x504546(0x25b)]?this[_0x504546(0x325)](_0x425702):_0x236a2b===se[_0x504546(0x2bb)]&&(_0x425702=!0x0,this[_0x504546(0x2b0)]());})),this[_0x58d751(0x4df)](this['session'][_0x58d751(0x498)][_0x58d751(0x28d)](_0x3051e3=>{var _0x2f9428=_0x58d751;try{switch(_0x3051e3[_0x2f9428(0x3bb)]){case g['CollaborationEvent'][_0x2f9428(0x381)]:{this[_0x2f9428(0x298)](g[_0x2f9428(0x56c)](_0x3051e3['data']));break;}case g[_0x2f9428(0x396)][_0x2f9428(0x271)]:{this[_0x2f9428(0x4cc)](_0x3051e3[_0x2f9428(0x23d)]);break;}case g[_0x2f9428(0x396)][_0x2f9428(0x2d4)]:{this[_0x2f9428(0x439)]();break;}case g[_0x2f9428(0x396)][_0x2f9428(0x447)]:{this[_0x2f9428(0x1fe)](_0x3051e3[_0x2f9428(0x23d)]);break;}case g['CollaborationEvent'][_0x2f9428(0x46b)]:{this[_0x2f9428(0x3f5)](_0x3051e3[_0x2f9428(0x23d)][_0x2f9428(0x411)]['map'](_0x3279f6=>g['parseProtocolChangeset'](_0x3279f6)));break;}case g[_0x2f9428(0x396)][_0x2f9428(0x222)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g['CollaborationEvent'][_0x2f9428(0x505)]:break;}}catch(_0x2ae948){throw console['error'](_0x2f9428(0x210),_0x2ae948),_0x2ae948;}})),this[_0x58d751(0x2f4)];}[_0x46c1fd(0x55b)](){var _0x244a10=_0x46c1fd;this[_0x244a10(0x2fd)]=!0x1;}[_0x46c1fd(0x2ff)](){var _0x4fd3ca=_0x46c1fd;if(this['_transitionLocked'])throw new Error(_0x4fd3ca(0x457));this[_0x4fd3ca(0x2fd)]=!0x0;}[_0x46c1fd(0x2be)](_0x530a4b){var _0x295068=_0x46c1fd;this[_0x295068(0x2ff)](),this[_0x295068(0x2b5)](this[_0x295068(0x2f4)][_0x295068(0x53b)](_0x530a4b)),this[_0x295068(0x55b)]();}[_0x46c1fd(0x298)](_0x1a7652){var _0x336628=_0x46c1fd;if(!(_0x1a7652[_0x336628(0x4ee)]<=this[_0x336628(0x3d7)][_0x336628(0x21b)](this[_0x336628(0x467)]))){if(this['_collaborationPaused']){this[_0x336628(0x32c)][_0x336628(0x259)](_0x1a7652);return;}this[_0x336628(0x2a0)](_0x1a7652);}}[_0x46c1fd(0x519)](){var _0x5d4598=_0x46c1fd;this[_0x5d4598(0x32c)][_0x5d4598(0x245)](_0x4008c2=>this[_0x5d4598(0x2a0)](_0x4008c2)),this[_0x5d4598(0x32c)]=[];}['_applyRemoteChangeset'](_0x1a8283){var _0x29695a=_0x46c1fd;const _0x1616fc=this[_0x29695a(0x4a7)][_0x29695a(0x4cb)]['fetchThroughInterceptors'](this[_0x29695a(0x4a7)][_0x29695a(0x4cb)][_0x29695a(0x36b)]()['COMPRESS_MUTATION_APPLY'])(_0x1a8283['mutations'],null)||_0x1a8283[_0x29695a(0x324)],_0x33e58a={..._0x1a8283,'mutations':_0x1616fc};this[_0x29695a(0x2ff)](),this[_0x29695a(0x2b5)](this[_0x29695a(0x2f4)][_0x29695a(0x525)](_0x33e58a)),this['_unlockTransition']();}['_onRemoteACK'](_0x3b7d33){var _0x13ceb2=_0x46c1fd;this[_0x13ceb2(0x2ff)](),this[_0x13ceb2(0x2b5)](this[_0x13ceb2(0x2f4)][_0x13ceb2(0x4a4)](_0x3b7d33)),this[_0x13ceb2(0x55b)]();}[_0x46c1fd(0x439)](_0x23a768){var _0x1de071=_0x46c1fd;this[_0x1de071(0x2ff)](),this[_0x1de071(0x2b5)](this[_0x1de071(0x2f4)][_0x1de071(0x279)](_0x23a768)),this['_unlockTransition']();}[_0x46c1fd(0x1fe)](_0x2a3c8d){var _0x10bd86=_0x46c1fd;this[_0x10bd86(0x2ff)](),this['_updateState'](this[_0x10bd86(0x2f4)][_0x10bd86(0x1fb)](_0x2a3c8d)),this['_unlockTransition']();}['_onFetchMissResult'](_0x40e235){var _0x5db1a6=_0x46c1fd;if(!(this[_0x5db1a6(0x2f4)]instanceof exports[_0x5db1a6(0x572)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xc40e88=_0x40e235[_0x5db1a6(0x2f3)](_0x551531=>{var _0x2170e6=_0x5db1a6;const _0x2e1e15=this[_0x2170e6(0x4a7)][_0x2170e6(0x4cb)][_0x2170e6(0x3d1)](this[_0x2170e6(0x4a7)][_0x2170e6(0x4cb)]['getInterceptPoints']()[_0x2170e6(0x493)])(_0x551531[_0x2170e6(0x324)],null)||_0x551531[_0x2170e6(0x324)];return{..._0x551531,'mutations':_0x2e1e15};});this[_0x5db1a6(0x2ff)](),this[_0x5db1a6(0x2b5)](this['_state']['onMissedChangesetFetched'](_0xc40e88)),this[_0x5db1a6(0x55b)]();}[_0x46c1fd(0x2b0)](){var _0x4df577=_0x46c1fd;this[_0x4df577(0x2ff)](),this[_0x4df577(0x2b5)](this['_state'][_0x4df577(0x538)]()),this[_0x4df577(0x55b)]();}[_0x46c1fd(0x325)](_0x3346fe=!0x1){var _0x335fa9=_0x46c1fd;this[_0x335fa9(0x2ff)](),this[_0x335fa9(0x2b5)](this[_0x335fa9(0x2f4)]['toggleOnline']()),this[_0x335fa9(0x55b)]();const _0x1c7641=this[_0x335fa9(0x2f4)];_0x3346fe&&_0x1c7641 instanceof exports[_0x335fa9(0x387)]&&(this['_lockTransition'](),this[_0x335fa9(0x2b5)](_0x1c7641[_0x335fa9(0x451)]()),this['_unlockTransition']());}async[_0x46c1fd(0x50e)](){return new Promise(_0x4ecf07=>{var _0x3b726e=_0x65d2;this[_0x3b726e(0x55e)][_0x3b726e(0x283)][_0x3b726e(0x388)](j['take'](0x1))['subscribe'](async _0xa7130f=>{var _0x126c7f=_0x3b726e;_0x4ecf07(await this['_createInitialStateImpl'](_0xa7130f===se[_0x126c7f(0x25b)]));});});}[_0x46c1fd(0x2d6)](){var _0x266be9=_0x46c1fd;const _0x30355c=this[_0x266be9(0x467)];return{'onStateChange':(_0x2636dd,_0x7c535c)=>{var _0xca8b3e=_0x266be9;if(_0x2636dd!==this[_0xca8b3e(0x2f4)])throw new Error(_0xca8b3e(0x237)+_0x2636dd[_0xca8b3e(0x4dd)]+_0xca8b3e(0x53c)+_0x7c535c[_0xca8b3e(0x4dd)]+_0xca8b3e(0x520)+this['_state'][_0xca8b3e(0x4dd)]);this[_0xca8b3e(0x2b5)](_0x7c535c);},'onSendChangeset':_0x4e86b0=>{var _0x3ad32d=_0x266be9;_0x4e86b0[_0x3ad32d(0x23e)]||(_0x4e86b0['sid']=this[_0x3ad32d(0x292)],_0x4e86b0[_0x3ad32d(0x562)]=++this[_0x3ad32d(0x313)]);const _0x31ba74={'eventID':g['CollaborationEvent'][_0x3ad32d(0x21e)],'data':{'unitID':_0x4e86b0[_0x3ad32d(0x467)],'unitType':this['_type'],'changeset':_0x4e86b0,'memberID':this[_0x3ad32d(0x55e)][_0x3ad32d(0x516)]()}};this['session'][_0x3ad32d(0x264)](_0x31ba74,this[_0x3ad32d(0x467)]);},'onMissingChangesets':({from:_0xe4e88b,to:_0x5d0b5c})=>{var _0x412fcb=_0x266be9;this['_logService'][_0x412fcb(0x390)](_0x412fcb(0x3ab),_0x412fcb(0x2ea)+_0xe4e88b+_0x412fcb(0x44a)+_0x5d0b5c);const _0x199ea1={'eventID':g[_0x412fcb(0x396)]['FETCH_MISSING'],'data':{'unitID':_0x30355c,'unitType':this[_0x412fcb(0x40e)],'from':_0xe4e88b,'to':_0x5d0b5c}};this[_0x412fcb(0x55e)][_0x412fcb(0x264)](_0x199ea1,this[_0x412fcb(0x467)]);}};}async[_0x46c1fd(0x424)](_0x1387b4){var _0x24a0c9=_0x46c1fd,_0x4a08fd,_0x1aa4c6,_0x48ee52;const _0x35b90e=await((_0x4a08fd=this['_localCacheService'])==null?void 0x0:_0x4a08fd[_0x24a0c9(0x511)](this[_0x24a0c9(0x467)])),_0x2ce15e=(_0x1aa4c6=_0x35b90e==null?void 0x0:_0x35b90e['mutations'])!=null?_0x1aa4c6:[],_0x5e91d1=(_0x48ee52=_0x35b90e==null?void 0x0:_0x35b90e[_0x24a0c9(0x429)])!=null?_0x48ee52:null,_0x574778=!!(_0x5e91d1!=null&&_0x5e91d1[_0x24a0c9(0x23e)])&&!!(_0x5e91d1!=null&&_0x5e91d1[_0x24a0c9(0x562)]);this[_0x24a0c9(0x292)]=_0x574778?_0x5e91d1[_0x24a0c9(0x23e)]:di(),this[_0x24a0c9(0x313)]=_0x574778?_0x5e91d1[_0x24a0c9(0x562)]:0x0;const _0x29a71b=this['unitID'];try{this[_0x24a0c9(0x46d)](_0x5e91d1,_0x2ce15e);}catch(_0x3c0976){this[_0x24a0c9(0x3de)][_0x24a0c9(0x33c)](_0x3c0976);}const _0x1f9af7=this[_0x24a0c9(0x2d6)]();if(_0x1387b4){const _0x2c49ab=Dt(this[_0x24a0c9(0x3a5)],_0x29a71b,this[_0x24a0c9(0x40e)],_0x5e91d1,_0x2ce15e,_0x1f9af7);return _0x2c49ab instanceof exports[_0x24a0c9(0x4dc)]?_0x2c49ab[_0x24a0c9(0x52f)]():(_0x2c49ab instanceof exports[_0x24a0c9(0x3ec)]||_0x2c49ab instanceof exports[_0x24a0c9(0x46a)])&&_0x2c49ab[_0x24a0c9(0x4a1)](),_0x2c49ab;}return this[_0x24a0c9(0x3a5)][_0x24a0c9(0x559)](exports[_0x24a0c9(0x55f)],_0x29a71b,this[_0x24a0c9(0x40e)],_0x5e91d1,_0x2ce15e,_0x1f9af7);}[_0x46c1fd(0x46d)](_0x1f2af0,_0x1edb0c){var _0x50032d=_0x46c1fd,_0x2ac81a,_0x143d07;const _0x18d353=this[_0x50032d(0x4a7)][_0x50032d(0x4cb)][_0x50032d(0x3d1)](this[_0x50032d(0x4a7)][_0x50032d(0x4cb)][_0x50032d(0x36b)]()['COMPRESS_MUTATION_APPLY']);(_0x2ac81a=_0x18d353((_0x1f2af0==null?void 0x0:_0x1f2af0[_0x50032d(0x324)])||[],null))==null||_0x2ac81a[_0x50032d(0x245)](_0x49e478=>this['_commandService'][_0x50032d(0x51e)](_0x49e478['id'],_0x49e478[_0x50032d(0x4c7)])),(_0x143d07=_0x18d353(_0x1edb0c||[],null))==null||_0x143d07[_0x50032d(0x245)](_0x2e16cd=>this[_0x50032d(0x328)][_0x50032d(0x51e)](_0x2e16cd['id'],_0x2e16cd[_0x50032d(0x4c7)]));}},exports['CollaborationEntity']=We([$(0x3,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x30c)])),$(0x4,a[_0x46c1fd(0x24f)](g[_0x46c1fd(0x531)])),$(0x5,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x42b)])),$(0x6,a[_0x46c1fd(0x24f)](g['RevisionService'])),$(0x7,a[_0x46c1fd(0x24f)](te)),$(0x8,a[_0x46c1fd(0x4de)]),$(0x9,a[_0x46c1fd(0x3f7)]),$(0xa,a[_0x46c1fd(0x315)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x46c1fd(0x347)](z))],exports[_0x46c1fd(0x2f5)]),exports[_0x46c1fd(0x52e)]=class extends exports[_0x46c1fd(0x2f5)]{constructor(_0x4d5ec5,_0x55c880,_0x5a488a,_0x504992,_0x433b32,_0x596856,_0x3fe0ff,_0x2ca27f,_0x115398,_0x203448,_0x33a048,_0x13ddde,_0x39b653){var _0x4e8701=_0x46c1fd;super(_0x4d5ec5,_0x5a488a,_0x55c880,_0x504992,_0x433b32,_0x596856,_0x3fe0ff,_0x2ca27f,_0x115398,_0x203448,_0x33a048,_0x13ddde,_0x39b653),A(this,_0x4e8701(0x3eb),null),(this[_0x4e8701(0x467)]=_0x4d5ec5,this['type']=_0x55c880);}[_0x46c1fd(0x532)](_0x493812){var _0x3f686d=_0x46c1fd;this[_0x3f686d(0x3eb)]=_0x493812;}[_0x46c1fd(0x456)](){var _0x29b6e7=_0x46c1fd;this[_0x29b6e7(0x3eb)]=null,super[_0x29b6e7(0x456)]();}[_0x46c1fd(0x2d6)](){var _0x242e4a=_0x46c1fd;const _0xb42d81=super[_0x242e4a(0x2d6)]();return _0xb42d81['onTransformIME']=_0x5433cf=>{var _0x16be0a=_0x242e4a,_0x41a07f,_0x307734;return(_0x307734=(_0x41a07f=this[_0x16be0a(0x3eb)])==null?void 0x0:_0x41a07f[_0x16be0a(0x521)])==null?void 0x0:_0x307734[_0x16be0a(0x238)](_0x41a07f,_0x5433cf);},_0xb42d81[_0x242e4a(0x380)]=_0x2a2c81=>{var _0xf77d69=_0x242e4a,_0x597d19,_0x3d1ca2;return(_0x3d1ca2=(_0x597d19=this['_handlerCallback'])==null?void 0x0:_0x597d19['onTransformState'])==null?void 0x0:_0x3d1ca2[_0xf77d69(0x238)](_0x597d19,_0x2a2c81);},_0xb42d81[_0x242e4a(0x446)]=_0xaee32d=>{var _0x15f0e4=_0x242e4a,_0x2d212c,_0x469d93;return(_0x469d93=(_0x2d212c=this[_0x15f0e4(0x3eb)])==null?void 0x0:_0x2d212c[_0x15f0e4(0x446)])==null?void 0x0:_0x469d93[_0x15f0e4(0x238)](_0x2d212c,_0xaee32d);},_0xb42d81[_0x242e4a(0x3ed)]=_0x39bc7e=>{var _0x46c9b3=_0x242e4a,_0x155c23,_0x17163b;return(_0x17163b=(_0x155c23=this[_0x46c9b3(0x3eb)])==null?void 0x0:_0x155c23['onSyncEditingCollabCursor'])==null?void 0x0:_0x17163b[_0x46c9b3(0x238)](_0x155c23,_0x39bc7e);},_0xb42d81[_0x242e4a(0x30b)]=_0x1320d8=>{var _0x582009=_0x242e4a,_0x34ecf5,_0xd9e8c9,_0x42d16d;if(!((_0x34ecf5=this[_0x582009(0x3eb)])!=null&&_0x34ecf5[_0x582009(0x30b)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x42d16d=(_0xd9e8c9=this[_0x582009(0x3eb)])==null?void 0x0:_0xd9e8c9[_0x582009(0x30b)])==null?void 0x0:_0x42d16d[_0x582009(0x238)](_0xd9e8c9,_0x1320d8);},_0xb42d81[_0x242e4a(0x50c)]=_0x399eb9=>{var _0xdca44c=_0x242e4a,_0x3ad2a7,_0x240a94,_0x4d0f12;if(!((_0x3ad2a7=this[_0xdca44c(0x3eb)])!=null&&_0x3ad2a7[_0xdca44c(0x50c)]))throw new Error(_0xdca44c(0x34a));return(_0x4d0f12=(_0x240a94=this[_0xdca44c(0x3eb)])==null?void 0x0:_0x240a94[_0xdca44c(0x50c)])==null?void 0x0:_0x4d0f12[_0xdca44c(0x238)](_0x240a94,_0x399eb9);},_0xb42d81;}async[_0x46c1fd(0x3af)](){var _0x5676b1=_0x46c1fd;const _0x444fb2=await super[_0x5676b1(0x3af)]();return this[_0x5676b1(0x4df)](this[_0x5676b1(0x328)][_0x5676b1(0x3ca)]((_0x3097e3,_0x413fa2)=>{var _0xfd8c28=_0x5676b1;if(_0x3097e3[_0xfd8c28(0x337)]!==a['CommandType'][_0xfd8c28(0x223)]||_0x413fa2!=null&&_0x413fa2[_0xfd8c28(0x336)]||_0x413fa2!=null&&_0x413fa2[_0xfd8c28(0x430)]||_0x3097e3['id']===ut[_0xfd8c28(0x452)]['id'])return;const _0x1cec78=_0x3097e3['params'];if((_0x1cec78==null?void 0x0:_0x1cec78[_0xfd8c28(0x285)])!==this[_0xfd8c28(0x467)])return;const _0x4228ea=_0x3097e3,_0x315ce9=this[_0xfd8c28(0x4a7)]['interceptor'][_0xfd8c28(0x3d1)](this[_0xfd8c28(0x4a7)][_0xfd8c28(0x4cb)][_0xfd8c28(0x36b)]()[_0xfd8c28(0x46f)])([_0x4228ea],null)||[_0x4228ea];this[_0xfd8c28(0x2be)](_0x315ce9[0x0]);})),_0x444fb2;}},exports[_0x46c1fd(0x52e)]=We([$(0x3,a[_0x46c1fd(0x24f)](a['Injector'])),$(0x4,a[_0x46c1fd(0x24f)](g['CompressMutationService'])),$(0x5,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x42b)])),$(0x6,a['Inject'](g['RevisionService'])),$(0x7,a[_0x46c1fd(0x24f)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x46c1fd(0x3f7)]),$(0xa,a[_0x46c1fd(0x315)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x46c1fd(0x347)](z))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x46c1fd(0x2f5)]{constructor(_0x40cefb,_0x291b4a,_0x3699b9,_0x25457e,_0x332b13,_0x3c759c,_0x46f7ed,_0x40632d,_0x4a0191,_0x441cf0,_0x5cc1d8,_0x332b23,_0x4022c7,_0x4f708f){var _0x440eea=_0x46c1fd;super(_0x40cefb,_0x3699b9,_0x291b4a,_0x25457e,_0x332b13,_0x3c759c,_0x46f7ed,_0x4a0191,_0x441cf0,_0x5cc1d8,_0x332b23,_0x4022c7,_0x4f708f),this[_0x440eea(0x467)]=_0x40cefb,this[_0x440eea(0x337)]=_0x291b4a,this[_0x440eea(0x204)]=_0x40632d;}[_0x46c1fd(0x2d6)](){var _0x4690e1=_0x46c1fd;const _0x1e94dc=super[_0x4690e1(0x2d6)]();return _0x1e94dc['onTransformSelections']=_0x501103=>this['_sheetTransformSelectionsService'][_0x4690e1(0x495)](_0x501103),_0x1e94dc;}async[_0x46c1fd(0x3af)](){var _0x391db2=_0x46c1fd;const _0x89ab2=await super[_0x391db2(0x3af)]();return this['disposeWithMe'](this[_0x391db2(0x328)][_0x391db2(0x3ca)]((_0x3630a5,_0x25ce4b)=>{var _0x10422e=_0x391db2;if(_0x3630a5['type']!==a[_0x10422e(0x4a5)]['MUTATION']||_0x25ce4b!=null&&_0x25ce4b[_0x10422e(0x336)]||_0x25ce4b!=null&&_0x25ce4b['onlyLocal'])return;const _0x4d0f38=_0x3630a5[_0x10422e(0x4c7)];if((_0x4d0f38==null?void 0x0:_0x4d0f38[_0x10422e(0x285)])!==this['unitID'])return;const _0x1e4150=_0x3630a5,_0x36c088=this[_0x10422e(0x4a7)][_0x10422e(0x4cb)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x10422e(0x4cb)]['getInterceptPoints']()[_0x10422e(0x46f)])([_0x1e4150],null)||[_0x1e4150];this['_onLocalMutation'](_0x36c088[0x0]);})),_0x89ab2;}},exports[_0x46c1fd(0x344)]=We([$(0x3,a['Inject'](a[_0x46c1fd(0x30c)])),$(0x4,a[_0x46c1fd(0x24f)](g[_0x46c1fd(0x531)])),$(0x5,a['Inject'](a[_0x46c1fd(0x42b)])),$(0x6,a[_0x46c1fd(0x24f)](g['RevisionService'])),$(0x7,a[_0x46c1fd(0x24f)](exports[_0x46c1fd(0x20b)])),$(0x8,a[_0x46c1fd(0x24f)](te)),$(0x9,a[_0x46c1fd(0x4de)]),$(0xa,a['ICommandService']),$(0xb,a[_0x46c1fd(0x315)]),$(0xc,a[_0x46c1fd(0x347)](ve)),$(0xd,a['Optional'](z))],exports[_0x46c1fd(0x344)]);var Ti=Object[_0x46c1fd(0x425)],bi=(_0x46feaf,_0x5a2e51,_0x385fd0,_0x3a02a5)=>{var _0x46c8eb=_0x46c1fd;for(var _0x5ab634=_0x3a02a5>0x1?void 0x0:_0x3a02a5?Ti(_0x5a2e51,_0x385fd0):_0x5a2e51,_0x3cea02=_0x46feaf[_0x46c8eb(0x3c0)]-0x1,_0x5644ea;_0x3cea02>=0x0;_0x3cea02--)(_0x5644ea=_0x46feaf[_0x3cea02])&&(_0x5ab634=_0x5644ea(_0x5ab634)||_0x5ab634);return _0x5ab634;},Pe=(_0x39068f,_0x541f5f)=>(_0x2046c8,_0x505fe7)=>_0x541f5f(_0x2046c8,_0x505fe7,_0x39068f);exports[_0x46c1fd(0x391)]=class extends a[_0x46c1fd(0x232)]{constructor(_0x419cc5,_0x42c3b1,_0x402da4){var _0x4e2818=_0x46c1fd;super(),A(this,_0x4e2818(0x4ec),new Map()),A(this,_0x4e2818(0x207),new j[(_0x4e2818(0x3a4))]()),A(this,_0x4e2818(0x367),this[_0x4e2818(0x207)][_0x4e2818(0x378)]()),(this[_0x4e2818(0x3a5)]=_0x419cc5,this[_0x4e2818(0x35d)]=_0x42c3b1,this[_0x4e2818(0x543)]=_0x402da4,this['_init']());}[_0x46c1fd(0x456)](){var _0x273ff4=_0x46c1fd;super[_0x273ff4(0x456)](),this[_0x273ff4(0x4ec)][_0x273ff4(0x245)](_0x4e6bec=>_0x4e6bec[_0x273ff4(0x456)]()),this[_0x273ff4(0x4ec)][_0x273ff4(0x402)]();}['getCollabEntity'](_0x431e13){var _0x30d3bb=_0x46c1fd,_0x10a09c;return(_0x10a09c=this[_0x30d3bb(0x4ec)][_0x30d3bb(0x528)](_0x431e13))!=null?_0x10a09c:null;}['getCollabEntity$'](_0x49ccae){var _0x5cf077=_0x46c1fd;const _0x4e2787=this[_0x5cf077(0x323)](_0x49ccae);return _0x4e2787?j['of'](_0x4e2787):this['_entityInit$']['pipe'](V['filter'](_0xe8061a=>_0xe8061a[_0x5cf077(0x467)]===_0x49ccae));}[_0x46c1fd(0x509)](_0x29f35e){var _0x5db109=_0x46c1fd;return j['firstValueFrom'](this[_0x5db109(0x270)](_0x29f35e)['pipe'](V[_0x5db109(0x2f3)](()=>{})));}[_0x46c1fd(0x3af)](){var _0x503711=_0x46c1fd;this[_0x503711(0x543)][_0x503711(0x2ac)](a[_0x503711(0x499)][_0x503711(0x38b)])[_0x503711(0x388)](j['takeUntil'](this['dispose$']),V['delay'](0x10))[_0x503711(0x28d)](async _0x302247=>{var _0x3aa5aa=_0x503711;const _0x33e1a6=_0x302247['getUnitId'](),_0x30ab13=await this[_0x3aa5aa(0x461)](_0x33e1a6,X[_0x3aa5aa(0x38b)]);this[_0x3aa5aa(0x4ec)][_0x3aa5aa(0x307)](_0x33e1a6,_0x30ab13);}),this[_0x503711(0x543)][_0x503711(0x2ac)](a[_0x503711(0x499)][_0x503711(0x272)])[_0x503711(0x388)](j[_0x503711(0x33b)](this[_0x503711(0x54d)]),V['delay'](0x10))[_0x503711(0x388)](V['filter'](_0x240b34=>!_0x240b34[_0x503711(0x49c)]()[_0x503711(0x1f8)]('__')))[_0x503711(0x28d)](async _0x26cb21=>{var _0x146359=_0x503711;const _0x3ad0ef=_0x26cb21[_0x146359(0x49c)](),_0x526697=await this[_0x146359(0x461)](_0x3ad0ef,X[_0x146359(0x272)]);this[_0x146359(0x4ec)]['set'](_0x3ad0ef,_0x526697);}),j[_0x503711(0x31c)](this[_0x503711(0x543)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x503711(0x38b)]),this[_0x503711(0x543)][_0x503711(0x3dc)](a['UniverInstanceType'][_0x503711(0x272)]))['pipe'](j[_0x503711(0x33b)](this[_0x503711(0x54d)]))[_0x503711(0x28d)](_0x37c343=>{var _0x1e355a=_0x503711;const _0x546435=_0x37c343[_0x1e355a(0x49c)](),_0x407f28=this[_0x1e355a(0x4ec)][_0x1e355a(0x528)](_0x546435);_0x407f28&&(_0x407f28[_0x1e355a(0x456)](),this[_0x1e355a(0x4ec)][_0x1e355a(0x564)](_0x546435));});}async[_0x46c1fd(0x461)](_0x32cfc7,_0x4034dd){var _0x1c0557=_0x46c1fd;const _0x1ebb06=await this[_0x1c0557(0x35d)][_0x1c0557(0x571)](_0x32cfc7),_0x527a69=this['_injector']['createInstance'](this[_0x1c0557(0x214)](_0x4034dd),_0x32cfc7,_0x4034dd,_0x1ebb06);return await _0x527a69[_0x1c0557(0x3bf)](),this['_entityInit$'][_0x1c0557(0x26f)](_0x527a69),_0x527a69;}[_0x46c1fd(0x214)](_0x13d4a8){var _0x19a71d=_0x46c1fd;switch(_0x13d4a8){case X[_0x19a71d(0x272)]:return exports[_0x19a71d(0x52e)];case X[_0x19a71d(0x38b)]:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x13d4a8);}}},exports[_0x46c1fd(0x391)]=bi([Pe(0x0,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x30c)])),Pe(0x1,a[_0x46c1fd(0x24f)](exports[_0x46c1fd(0x33d)])),Pe(0x2,a[_0x46c1fd(0x41a)])],exports[_0x46c1fd(0x391)]);var Ri=Object[_0x46c1fd(0x425)],yi=(_0x18b8fa,_0x2e4d34,_0x293457,_0x2342e3)=>{var _0x3c125c=_0x46c1fd;for(var _0xb850e1=_0x2342e3>0x1?void 0x0:_0x2342e3?Ri(_0x2e4d34,_0x293457):_0x2e4d34,_0xa9125e=_0x18b8fa[_0x3c125c(0x3c0)]-0x1,_0x32f1a4;_0xa9125e>=0x0;_0xa9125e--)(_0x32f1a4=_0x18b8fa[_0xa9125e])&&(_0xb850e1=_0x32f1a4(_0xb850e1)||_0xb850e1);return _0xb850e1;},Je=(_0x45fb33,_0x21b531)=>(_0x24e408,_0x728aee)=>_0x21b531(_0x24e408,_0x728aee,_0x45fb33);const Oi=_0x46c1fd(0x2c0),Ni=_0x46c1fd(0x2f1);let He=class extends a['Disposable']{constructor(_0x18465e,_0x401450){super(),this['_univerInstanceService']=_0x18465e,this['_configService']=_0x401450,this['_init']();}[_0x46c1fd(0x3af)](){var _0x2064c3=_0x46c1fd;this[_0x2064c3(0x4df)](this[_0x2064c3(0x543)][_0x2064c3(0x469)][_0x2064c3(0x28d)](()=>{var _0x17df87=_0x2064c3,_0x58ada2;const _0x51b153=this[_0x17df87(0x543)][_0x17df87(0x508)]();let _0xd44f71=(_0x58ada2=this[_0x17df87(0x486)][_0x17df87(0x38a)](Oi))!=null?_0x58ada2:Ni;_0x51b153 instanceof a[_0x17df87(0x422)]&&(_0xd44f71=_0x51b153['name']),document[_0x17df87(0x403)]=_0xd44f71;}));}};He=yi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a[_0x46c1fd(0x449)])],He);var Di=Object[_0x46c1fd(0x425)],Ui=(_0xddd0d3,_0x157ed2,_0x320b58,_0x2161ec)=>{var _0x5c7c72=_0x46c1fd;for(var _0x4c0b14=_0x2161ec>0x1?void 0x0:_0x2161ec?Di(_0x157ed2,_0x320b58):_0x157ed2,_0x262153=_0xddd0d3[_0x5c7c72(0x3c0)]-0x1,_0x3bf059;_0x262153>=0x0;_0x262153--)(_0x3bf059=_0xddd0d3[_0x262153])&&(_0x4c0b14=_0x3bf059(_0x4c0b14)||_0x4c0b14);return _0x4c0b14;},we=(_0x1ee6b2,_0x2e315e)=>(_0x49abd1,_0xa6794)=>_0x2e315e(_0x49abd1,_0xa6794,_0x1ee6b2);let Oe=class{constructor(_0x32dfc2,_0x28450d,_0xa9a568){var _0x2c25e4=_0x46c1fd;this[_0x2c25e4(0x486)]=_0x32dfc2,this[_0x2c25e4(0x41f)]=_0x28450d,this['localeService']=_0xa9a568,this[_0x2c25e4(0x3bf)]();}[_0x46c1fd(0x3bf)](){var _0x37eee3=_0x46c1fd;this[_0x37eee3(0x41f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x271b61,_0x471a85)=>_0x471a85(_0x271b61)['pipe'](j[_0x37eee3(0x40a)](async _0x54e767=>{var _0x4f18aa=_0x37eee3;const _0x2b70a9=_0x54e767;if(_0x2b70a9['status']===0x191){if(typeof window>'u')throw new Error(_0x4f18aa(0x229));if(window[_0x4f18aa(0x4f6)](this['localeService']['t'](_0x4f18aa(0x1fd)))){const _0x5f3bf8=window[_0x4f18aa(0x303)](window[_0x4f18aa(0x3a7)]['href']);window[_0x4f18aa(0x3a7)]['href']=this[_0x4f18aa(0x206)]()+_0x4f18aa(0x22b)+_0x5f3bf8;}}return _0x2b70a9;}))});}[_0x46c1fd(0x206)](){var _0x51003b=_0x46c1fd,_0x42ede4,_0x30732d;const _0x36469e=this[_0x51003b(0x486)]['getConfig'](Et),_0x2f0fa1=this[_0x51003b(0x486)][_0x51003b(0x38a)](Y);return(_0x30732d=(_0x42ede4=_0x2f0fa1==null?void 0x0:_0x2f0fa1[_0x51003b(0x3e2)])!=null?_0x42ede4:_0x36469e)!=null?_0x30732d:Yt;}};Oe=Ui([we(0x0,a[_0x46c1fd(0x449)]),we(0x1,a[_0x46c1fd(0x24f)](q[_0x46c1fd(0x250)])),we(0x2,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x42b)]))],Oe);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x4c01ac,_0x2d6975,_0x55bc09,_0x3abd3b)=>{var _0x338cb4=_0x46c1fd;for(var _0x2d0ec6=_0x3abd3b>0x1?void 0x0:_0x3abd3b?Ai(_0x2d6975,_0x55bc09):_0x2d6975,_0x39bf3d=_0x4c01ac[_0x338cb4(0x3c0)]-0x1,_0x5b427b;_0x39bf3d>=0x0;_0x39bf3d--)(_0x5b427b=_0x4c01ac[_0x39bf3d])&&(_0x2d0ec6=_0x5b427b(_0x2d0ec6)||_0x2d0ec6);return _0x2d0ec6;},Xe=(_0x1cb7f7,_0x4c1eaa)=>(_0x20522b,_0xfb1643)=>_0x4c1eaa(_0x20522b,_0xfb1643,_0x1cb7f7);const Ge=_0x46c1fd(0x2ab),wi=_0x46c1fd(0x2e9);exports[_0x46c1fd(0x322)]=class extends a[_0x46c1fd(0x4e0)]{constructor(_0x426317,_0x11768f){var _0x374b1a=_0x46c1fd;super(),this[_0x374b1a(0x23b)]=_0x426317,this[_0x374b1a(0x486)]=_0x11768f,this[_0x374b1a(0x234)]();}[_0x46c1fd(0x234)](){var _0x2c4c3f=_0x46c1fd;const _0xe5d671=this;this[_0x2c4c3f(0x4df)](this[_0x2c4c3f(0x23b)][_0x2c4c3f(0x34d)]({'priority':0x3e7,'interceptor':q[_0x2c4c3f(0x489)]({'isMatch'(_0xcaaa3f){var _0x126c9f=_0x2c4c3f,_0x1750a6;if(_0xcaaa3f[_0x126c9f(0x3b0)]==='POST'&&((_0x1750a6=_0xcaaa3f[_0x126c9f(0x31d)])!=null&&_0x1750a6[_0x126c9f(0x394)])){const {objectID:_0x3da7c,objectType:_0x54924c}=_0xcaaa3f['requestParams'][_0x126c9f(0x394)]||{};if(!_0x3da7c||_0x54924c===void 0x0)return!0x1;const _0x3eb04f=_0xe5d671['_getAPIPrefixPath']()+'/'+_0x54924c+'/object/'+_0x3da7c+'/allowed';if(_0xcaaa3f[_0x126c9f(0x4d8)]===_0x3eb04f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2a4838){var _0x4ccbfa=_0x2c4c3f,_0xc47b53;return(_0xc47b53=_0x2a4838[_0x4ccbfa(0x31d)])==null?void 0x0:_0xc47b53[_0x4ccbfa(0x394)];},'mergeParamsToRequest'(_0x5bc9d4,_0x272246){var _0x3e0d61=_0x2c4c3f;const _0x5b91be=_0xe5d671[_0x3e0d61(0x302)]()+'/-/object/-/batch_allowed',_0x4d2dd0=_0x5bc9d4[_0x3e0d61(0x341)]((_0x1a1f93,_0x27bfa4)=>{var _0x271659=_0x3e0d61;const {unitID:_0x7f22a8,objectID:_0x4a19ca,objectType:_0x161eba,actions:_0x34b6ca}=_0x27bfa4;return _0x1a1f93[_0x7f22a8]||(_0x1a1f93[_0x7f22a8]={}),_0x1a1f93[_0x7f22a8][_0x4a19ca]||(_0x1a1f93[_0x7f22a8][_0x4a19ca]={'objectID':_0x4a19ca,'objectType':_0x161eba,'actions':[]}),_0x1a1f93[_0x7f22a8][_0x4a19ca]['actions'][_0x271659(0x259)](..._0x34b6ca),_0x1a1f93;},{}),_0xf918b4=[];for(const _0x5d8ed6 in _0x4d2dd0)for(const _0x5d8e26 in _0x4d2dd0[_0x5d8ed6]){const {actions:_0x4df7bb,objectType:_0x1099e6}=_0x4d2dd0[_0x5d8ed6][_0x5d8e26],_0x1de45b=[...new Set(_0x4df7bb)];_0xf918b4[_0x3e0d61(0x259)]({'unitID':_0x5d8ed6,'objectID':_0x5d8e26,'objectType':_0x1099e6,'actions':_0x1de45b});}return new q[(_0x3e0d61(0x48f))]('POST',_0x5b91be,{'headers':_0x272246['headers'],'withCredentials':_0x272246[_0x3e0d61(0x45c)],'responseType':_0x272246[_0x3e0d61(0x4ff)],'body':{'requests':_0xf918b4}});}},{'distributeResult'(_0x40664e,_0x4b2834){var _0x47a1f1=_0x2c4c3f;const {objectActions:_0x29f8ab}=_0x40664e;return _0x4b2834[_0x47a1f1(0x2f3)](_0x4a6680=>{var _0xef7f1f=_0x47a1f1;const {unitID:_0xf686e0,objectID:_0x3977d0,actions:_0x47b64a}=_0x4a6680,_0x555b95=_0x29f8ab['find'](_0x26f6b8=>_0x26f6b8[_0xef7f1f(0x467)]===_0xf686e0&&_0x26f6b8['objectID']===_0x3977d0),_0xcc1233=_0x47b64a[_0xef7f1f(0x2f3)](_0x28e989=>_0x555b95==null?void 0x0:_0x555b95[_0xef7f1f(0x44e)][_0xef7f1f(0x327)](_0x52b4b9=>_0x52b4b9['action']===_0x28e989))[_0xef7f1f(0x265)](_0x12d414=>!!_0x12d414);return{'config':_0x4a6680,'result':{'actions':_0xcc1233,'error':_0x40664e['error']}};});}})}));}[_0x46c1fd(0x302)](){var _0x21d0e6=_0x46c1fd,_0x3b8bf2,_0x49a35f;const _0x23f0f0=this[_0x21d0e6(0x486)][_0x21d0e6(0x38a)](Ge),_0x54d76f=this[_0x21d0e6(0x486)][_0x21d0e6(0x38a)](Y);return(_0x49a35f=(_0x3b8bf2=_0x54d76f==null?void 0x0:_0x54d76f[_0x21d0e6(0x2e6)])!=null?_0x3b8bf2:_0x23f0f0)!=null?_0x49a35f:wi;}async[_0x46c1fd(0x35a)](_0xf14280){var _0x23782c=_0x46c1fd;const _0x311b03=this[_0x23782c(0x302)]()+'/'+_0xf14280['objectType']+_0x23782c(0x458);return(await this['_HTTPService'][_0x23782c(0x274)](_0x311b03,{'body':_0xf14280}))[_0x23782c(0x394)][_0x23782c(0x28e)]||'';}async['list'](_0x98916a){var _0x23ec2d=_0x46c1fd;const _0x1c47ca=this[_0x23ec2d(0x302)]()+_0x23ec2d(0x48c);return(await this[_0x23ec2d(0x23b)]['post'](_0x1c47ca,{'body':_0x98916a}))[_0x23ec2d(0x394)][_0x23ec2d(0x4fc)];}async['update'](_0x5e8416){var _0x4b4215=_0x46c1fd,_0x3ed1ed,_0x542920;const _0x1c914f=this[_0x4b4215(0x302)]()+'/'+_0x5e8416['objectType']+_0x4b4215(0x4c6)+_0x5e8416[_0x4b4215(0x28e)],_0x1ce4c8=await this[_0x4b4215(0x23b)][_0x4b4215(0x24a)](_0x1c914f,{'body':_0x5e8416});if(((_0x542920=(_0x3ed1ed=_0x1ce4c8==null?void 0x0:_0x1ce4c8[_0x4b4215(0x394)])==null?void 0x0:_0x3ed1ed['error'])==null?void 0x0:_0x542920[_0x4b4215(0x2ed)])!==0x1)throw new Error(_0x4b4215(0x2a2));}async[_0x46c1fd(0x2c7)](_0xb298bb){var _0x2dc1db=_0x46c1fd;const _0x361b95=this['_getAPIPrefixPath']()+'/'+_0xb298bb['objectType']+_0x2dc1db(0x4c6)+_0xb298bb['objectID']+_0x2dc1db(0x54c);return(await this[_0x2dc1db(0x23b)]['post'](_0x361b95,{'body':_0xb298bb}))[_0x2dc1db(0x394)][_0x2dc1db(0x44e)];}async[_0x46c1fd(0x43c)](_0x475ad1){var _0x2bafa2=_0x46c1fd;const _0xf66c1d=this[_0x2bafa2(0x302)]()+'/-/object/-/batch_allowed';return(await this[_0x2bafa2(0x23b)][_0x2bafa2(0x274)](_0xf66c1d,{'body':{'requests':_0x475ad1}}))[_0x2bafa2(0x394)]['objectActions'];}async['listRoles'](_0x4c3a94){var _0x1a4cd7=_0x46c1fd;const _0x4051fa=this['_getAPIPrefixPath']()+'/'+_0x4c3a94[_0x1a4cd7(0x300)]+'/role',_0x19682f=await this[_0x1a4cd7(0x23b)]['post'](_0x4051fa,{'body':_0x4c3a94});return{'roles':_0x19682f[_0x1a4cd7(0x394)][_0x1a4cd7(0x3ee)],'actions':_0x19682f[_0x1a4cd7(0x394)]['actions']};}async[_0x46c1fd(0x3d3)](_0x6459d3){var _0x131274=_0x46c1fd;const _0x20a9cf=this['_getAPIPrefixPath']()+_0x131274(0x463);await this[_0x131274(0x23b)][_0x131274(0x564)](_0x20a9cf,{'params':{'collaboratorID':_0x6459d3['collaboratorID'],'objectID':_0x6459d3[_0x131274(0x28e)],'unitID':_0x6459d3[_0x131274(0x467)]}});}async[_0x46c1fd(0x1f7)](_0xf1e7cb){var _0x25e930=_0x46c1fd;const _0x262014=this[_0x25e930(0x302)]()+_0x25e930(0x463);await this[_0x25e930(0x23b)][_0x25e930(0x2d0)](_0x262014,{'body':_0xf1e7cb});}async[_0x46c1fd(0x2bd)](_0x1fbe01){var _0x225f32=_0x46c1fd;const _0x4ccdf8=this[_0x225f32(0x302)]()+'/collaborator';await this[_0x225f32(0x23b)]['post'](_0x4ccdf8,{'body':_0x1fbe01});}async[_0x46c1fd(0x288)](_0x5e053e){var _0x2e537e=_0x46c1fd;const _0x4dbc68=this[_0x2e537e(0x302)]()+_0x2e537e(0x463);return(await this['_HTTPService'][_0x2e537e(0x528)](_0x4dbc68,{'params':{'objectID':_0x5e053e[_0x2e537e(0x28e)],'unitID':_0x5e053e[_0x2e537e(0x467)]}}))[_0x2e537e(0x394)][_0x2e537e(0x552)];}async[_0x46c1fd(0x4f7)](_0x2607d3){var _0x4102d5=_0x46c1fd;const _0x13cfc5=this['_getAPIPrefixPath']()+_0x4102d5(0x463);await this[_0x4102d5(0x23b)][_0x4102d5(0x24a)](_0x13cfc5,{'body':_0x2607d3});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a[_0x46c1fd(0x24f)](q[_0x46c1fd(0x250)])),Xe(0x1,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x449)]))],exports[_0x46c1fd(0x322)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x3f64c1){var _0x15c242=_0x46c1fd;return _0x3f64c1&&_0x3f64c1[_0x15c242(0x286)]&&Object['prototype']['hasOwnProperty'][_0x15c242(0x238)](_0x3f64c1,_0x15c242(0x333))?_0x3f64c1['default']:_0x3f64c1;}function _0x65d2(_0x21e8c3,_0x1004f8){var _0x2a7387=_0x2a73();return _0x65d2=function(_0x65d274,_0x16d65d){_0x65d274=_0x65d274-0x1ef;var _0xad3e6e=_0x2a7387[_0x65d274];return _0xad3e6e;},_0x65d2(_0x21e8c3,_0x1004f8);}var fe={'exports':{}};function Li(_0x2051c2){var _0x8566c7=_0x46c1fd;throw new Error(_0x8566c7(0x28c)+_0x2051c2+_0x8566c7(0x305));}var pe={'exports':{}},Mi=pe[_0x46c1fd(0x464)],Ze;function ee(){var _0x4ec348=_0x46c1fd;return Ze||(Ze=0x1,function(_0x134573,_0x430f25){(function(_0x2fefb5,_0x17c1fa){var _0x59ed80=_0x65d2;_0x134573[_0x59ed80(0x464)]=_0x17c1fa();}(Mi,function(){var _0x2f8ca5=_0x2f8ca5||function(_0x1cb294,_0x329275){var _0x37b4b2=_0x65d2,_0x34e1fe;if(typeof window<'u'&&window[_0x37b4b2(0x379)]&&(_0x34e1fe=window['crypto']),typeof self<'u'&&self[_0x37b4b2(0x379)]&&(_0x34e1fe=self[_0x37b4b2(0x379)]),typeof globalThis<'u'&&globalThis[_0x37b4b2(0x379)]&&(_0x34e1fe=globalThis['crypto']),!_0x34e1fe&&typeof window<'u'&&window[_0x37b4b2(0x4e6)]&&(_0x34e1fe=window[_0x37b4b2(0x4e6)]),!_0x34e1fe&&typeof Le<'u'&&Le[_0x37b4b2(0x379)]&&(_0x34e1fe=Le[_0x37b4b2(0x379)]),!_0x34e1fe&&typeof Li==_0x37b4b2(0x1f4))try{_0x34e1fe=require(_0x37b4b2(0x379));}catch{}var _0x3dd3a9=function(){var _0x43c30a=_0x37b4b2;if(_0x34e1fe){if(typeof _0x34e1fe[_0x43c30a(0x3fc)]=='function')try{return _0x34e1fe[_0x43c30a(0x3fc)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x34e1fe[_0x43c30a(0x432)]==_0x43c30a(0x1f4))try{return _0x34e1fe[_0x43c30a(0x432)](0x4)[_0x43c30a(0x3fa)]();}catch{}}throw new Error(_0x43c30a(0x4fd));},_0xff6fd9=Object[_0x37b4b2(0x35a)]||(function(){function _0x590fb1(){}return function(_0x9111e9){var _0xc5e907=_0x65d2,_0x5607d2;return _0x590fb1[_0xc5e907(0x335)]=_0x9111e9,_0x5607d2=new _0x590fb1(),_0x590fb1[_0xc5e907(0x335)]=null,_0x5607d2;};}()),_0x2f17d3={},_0x12d722=_0x2f17d3['lib']={},_0x4b4c2a=_0x12d722[_0x37b4b2(0x384)]=(function(){return{'extend':function(_0x38a22f){var _0x54b1fc=_0x65d2,_0x33846b=_0xff6fd9(this);return _0x38a22f&&_0x33846b[_0x54b1fc(0x213)](_0x38a22f),(!_0x33846b[_0x54b1fc(0x2ee)](_0x54b1fc(0x3bf))||this[_0x54b1fc(0x3bf)]===_0x33846b[_0x54b1fc(0x3bf)])&&(_0x33846b[_0x54b1fc(0x3bf)]=function(){var _0x21661e=_0x54b1fc;_0x33846b[_0x21661e(0x4b1)]['init'][_0x21661e(0x42d)](this,arguments);}),_0x33846b[_0x54b1fc(0x3bf)][_0x54b1fc(0x335)]=_0x33846b,_0x33846b['$super']=this,_0x33846b;},'create':function(){var _0x49de7d=_0x65d2,_0xf8ef99=this[_0x49de7d(0x375)]();return _0xf8ef99[_0x49de7d(0x3bf)][_0x49de7d(0x42d)](_0xf8ef99,arguments),_0xf8ef99;},'init':function(){},'mixIn':function(_0x37ebae){var _0x9e4198=_0x65d2;for(var _0x457f5a in _0x37ebae)_0x37ebae['hasOwnProperty'](_0x457f5a)&&(this[_0x457f5a]=_0x37ebae[_0x457f5a]);_0x37ebae[_0x9e4198(0x2ee)](_0x9e4198(0x423))&&(this[_0x9e4198(0x423)]=_0x37ebae['toString']);},'clone':function(){var _0x3c81bf=_0x65d2;return this[_0x3c81bf(0x3bf)][_0x3c81bf(0x335)]['extend'](this);}};}()),_0x340c20=_0x12d722[_0x37b4b2(0x35e)]=_0x4b4c2a[_0x37b4b2(0x375)]({'init':function(_0x114aef,_0x46f65e){var _0x489f7b=_0x37b4b2;_0x114aef=this[_0x489f7b(0x4b3)]=_0x114aef||[],_0x46f65e!=_0x329275?this['sigBytes']=_0x46f65e:this[_0x489f7b(0x278)]=_0x114aef[_0x489f7b(0x3c0)]*0x4;},'toString':function(_0x4f82c0){var _0x58a31d=_0x37b4b2;return(_0x4f82c0||_0x571610)[_0x58a31d(0x4e3)](this);},'concat':function(_0x14348f){var _0x4fdfa5=_0x37b4b2,_0x48408c=this['words'],_0x40bd75=_0x14348f[_0x4fdfa5(0x4b3)],_0x58098b=this['sigBytes'],_0x4b7112=_0x14348f['sigBytes'];if(this[_0x4fdfa5(0x3ac)](),_0x58098b%0x4)for(var _0x4aa63a=0x0;_0x4aa63a<_0x4b7112;_0x4aa63a++){var _0xf9dd9d=_0x40bd75[_0x4aa63a>>>0x2]>>>0x18-_0x4aa63a%0x4*0x8&0xff;_0x48408c[_0x58098b+_0x4aa63a>>>0x2]|=_0xf9dd9d<<0x18-(_0x58098b+_0x4aa63a)%0x4*0x8;}else{for(var _0x3dd0e1=0x0;_0x3dd0e1<_0x4b7112;_0x3dd0e1+=0x4)_0x48408c[_0x58098b+_0x3dd0e1>>>0x2]=_0x40bd75[_0x3dd0e1>>>0x2];}return this[_0x4fdfa5(0x278)]+=_0x4b7112,this;},'clamp':function(){var _0x36e7ff=_0x37b4b2,_0x2bbfdc=this['words'],_0x380388=this[_0x36e7ff(0x278)];_0x2bbfdc[_0x380388>>>0x2]&=0xffffffff<<0x20-_0x380388%0x4*0x8,_0x2bbfdc[_0x36e7ff(0x3c0)]=_0x1cb294[_0x36e7ff(0x392)](_0x380388/0x4);},'clone':function(){var _0x31d7e6=_0x37b4b2,_0x1edc3a=_0x4b4c2a['clone'][_0x31d7e6(0x238)](this);return _0x1edc3a[_0x31d7e6(0x4b3)]=this[_0x31d7e6(0x4b3)][_0x31d7e6(0x484)](0x0),_0x1edc3a;},'random':function(_0x23ad47){var _0x31e517=_0x37b4b2;for(var _0x53caa6=[],_0x57efb9=0x0;_0x57efb9<_0x23ad47;_0x57efb9+=0x4)_0x53caa6[_0x31e517(0x259)](_0x3dd3a9());return new _0x340c20[(_0x31e517(0x3bf))](_0x53caa6,_0x23ad47);}}),_0x2490bf=_0x2f17d3[_0x37b4b2(0x3e7)]={},_0x571610=_0x2490bf['Hex']={'stringify':function(_0x26ac1e){var _0x466563=_0x37b4b2;for(var _0x2a3ec0=_0x26ac1e['words'],_0x56e21f=_0x26ac1e[_0x466563(0x278)],_0x17ee1f=[],_0x335023=0x0;_0x335023<_0x56e21f;_0x335023++){var _0xb9bef=_0x2a3ec0[_0x335023>>>0x2]>>>0x18-_0x335023%0x4*0x8&0xff;_0x17ee1f[_0x466563(0x259)]((_0xb9bef>>>0x4)[_0x466563(0x423)](0x10)),_0x17ee1f['push']((_0xb9bef&0xf)['toString'](0x10));}return _0x17ee1f[_0x466563(0x4a3)]('');},'parse':function(_0x2a8511){var _0x58b20f=_0x37b4b2;for(var _0x1939d6=_0x2a8511[_0x58b20f(0x3c0)],_0x144d89=[],_0x59c279=0x0;_0x59c279<_0x1939d6;_0x59c279+=0x2)_0x144d89[_0x59c279>>>0x3]|=parseInt(_0x2a8511['substr'](_0x59c279,0x2),0x10)<<0x18-_0x59c279%0x8*0x4;return new _0x340c20['init'](_0x144d89,_0x1939d6/0x2);}},_0x4d1288=_0x2490bf[_0x37b4b2(0x549)]={'stringify':function(_0x45877e){var _0x588c7f=_0x37b4b2;for(var _0x236c37=_0x45877e[_0x588c7f(0x4b3)],_0x3aef15=_0x45877e[_0x588c7f(0x278)],_0x1b4e0d=[],_0x526a61=0x0;_0x526a61<_0x3aef15;_0x526a61++){var _0x45d7f4=_0x236c37[_0x526a61>>>0x2]>>>0x18-_0x526a61%0x4*0x8&0xff;_0x1b4e0d[_0x588c7f(0x259)](String[_0x588c7f(0x4b5)](_0x45d7f4));}return _0x1b4e0d[_0x588c7f(0x4a3)]('');},'parse':function(_0x21e287){var _0x4e7123=_0x37b4b2;for(var _0x2eba26=_0x21e287['length'],_0x4850ba=[],_0x3c48d1=0x0;_0x3c48d1<_0x2eba26;_0x3c48d1++)_0x4850ba[_0x3c48d1>>>0x2]|=(_0x21e287[_0x4e7123(0x427)](_0x3c48d1)&0xff)<<0x18-_0x3c48d1%0x4*0x8;return new _0x340c20[(_0x4e7123(0x3bf))](_0x4850ba,_0x2eba26);}},_0x2a120a=_0x2490bf[_0x37b4b2(0x4bd)]={'stringify':function(_0x4217e9){var _0x23a564=_0x37b4b2;try{return decodeURIComponent(escape(_0x4d1288[_0x23a564(0x4e3)](_0x4217e9)));}catch{throw new Error(_0x23a564(0x393));}},'parse':function(_0x272fb7){var _0x44ce8d=_0x37b4b2;return _0x4d1288[_0x44ce8d(0x308)](unescape(encodeURIComponent(_0x272fb7)));}},_0x20fc46=_0x12d722[_0x37b4b2(0x26b)]=_0x4b4c2a[_0x37b4b2(0x375)]({'reset':function(){var _0x18286a=_0x37b4b2;this['_data']=new _0x340c20['init'](),this[_0x18286a(0x30d)]=0x0;},'_append':function(_0x49a8e1){var _0x4b94cd=_0x37b4b2;typeof _0x49a8e1==_0x4b94cd(0x33f)&&(_0x49a8e1=_0x2a120a['parse'](_0x49a8e1)),this[_0x4b94cd(0x4e1)]['concat'](_0x49a8e1),this[_0x4b94cd(0x30d)]+=_0x49a8e1[_0x4b94cd(0x278)];},'_process':function(_0x917824){var _0x15aec7=_0x37b4b2,_0x30a8f3,_0x3559cc=this[_0x15aec7(0x4e1)],_0x2fb4f4=_0x3559cc[_0x15aec7(0x4b3)],_0x1ac887=_0x3559cc['sigBytes'],_0xac57aa=this[_0x15aec7(0x304)],_0x26f8a0=_0xac57aa*0x4,_0x3ec0bf=_0x1ac887/_0x26f8a0;_0x917824?_0x3ec0bf=_0x1cb294[_0x15aec7(0x392)](_0x3ec0bf):_0x3ec0bf=_0x1cb294[_0x15aec7(0x41b)]((_0x3ec0bf|0x0)-this[_0x15aec7(0x2cf)],0x0);var _0x59f45d=_0x3ec0bf*_0xac57aa,_0x395dba=_0x1cb294[_0x15aec7(0x2b9)](_0x59f45d*0x4,_0x1ac887);if(_0x59f45d){for(var _0x3678b5=0x0;_0x3678b5<_0x59f45d;_0x3678b5+=_0xac57aa)this[_0x15aec7(0x257)](_0x2fb4f4,_0x3678b5);_0x30a8f3=_0x2fb4f4[_0x15aec7(0x321)](0x0,_0x59f45d),_0x3559cc['sigBytes']-=_0x395dba;}return new _0x340c20[(_0x15aec7(0x3bf))](_0x30a8f3,_0x395dba);},'clone':function(){var _0x54940a=_0x37b4b2,_0x3f3c07=_0x4b4c2a[_0x54940a(0x2a4)][_0x54940a(0x238)](this);return _0x3f3c07['_data']=this[_0x54940a(0x4e1)][_0x54940a(0x2a4)](),_0x3f3c07;},'_minBufferSize':0x0});_0x12d722['Hasher']=_0x20fc46[_0x37b4b2(0x375)]({'cfg':_0x4b4c2a[_0x37b4b2(0x375)](),'init':function(_0x5719a3){var _0x1aa72b=_0x37b4b2;this['cfg']=this['cfg'][_0x1aa72b(0x375)](_0x5719a3),this[_0x1aa72b(0x53d)]();},'reset':function(){var _0x272b26=_0x37b4b2;_0x20fc46[_0x272b26(0x53d)][_0x272b26(0x238)](this),this[_0x272b26(0x25f)]();},'update':function(_0x19c090){var _0x3409ca=_0x37b4b2;return this[_0x3409ca(0x3b4)](_0x19c090),this[_0x3409ca(0x376)](),this;},'finalize':function(_0x1a303c){var _0x5be59a=_0x37b4b2;_0x1a303c&&this[_0x5be59a(0x3b4)](_0x1a303c);var _0x2b8011=this[_0x5be59a(0x410)]();return _0x2b8011;},'blockSize':0x10,'_createHelper':function(_0x4d599c){return function(_0x2f974e,_0x40de25){var _0xbf1666=_0x65d2;return new _0x4d599c[(_0xbf1666(0x3bf))](_0x40de25)[_0xbf1666(0x2d9)](_0x2f974e);};},'_createHmacHelper':function(_0x12c211){return function(_0x7aa708,_0x4e5d60){var _0x5bc8ae=_0x65d2;return new _0x3f29ee['HMAC']['init'](_0x12c211,_0x4e5d60)[_0x5bc8ae(0x2d9)](_0x7aa708);};}});var _0x3f29ee=_0x2f17d3[_0x37b4b2(0x533)]={};return _0x2f17d3;}(Math);return _0x2f8ca5;}));}(pe)),pe[_0x4ec348(0x464)];}var ge={'exports':{}},xi=ge[_0x46c1fd(0x464)],Qe;function Ut(){return Qe||(Qe=0x1,function(_0x287379,_0x9d1295){(function(_0x2dc044,_0x1a197c){_0x287379['exports']=_0x1a197c(ee());}(xi,function(_0x4c33a3){var _0x12f8f6=_0x65d2;return(function(){var _0xae66d0=_0x65d2,_0x29b1c2=_0x4c33a3,_0x18f79e=_0x29b1c2[_0xae66d0(0x3b7)],_0x468305=_0x18f79e['WordArray'],_0x43506c=_0x29b1c2[_0xae66d0(0x3e7)];_0x43506c[_0xae66d0(0x417)]={'stringify':function(_0x58887c){var _0x51cd3e=_0xae66d0,_0x231213=_0x58887c[_0x51cd3e(0x4b3)],_0x54f7ec=_0x58887c[_0x51cd3e(0x278)],_0x39a745=this[_0x51cd3e(0x4a2)];_0x58887c[_0x51cd3e(0x3ac)]();for(var _0x12b1d6=[],_0x334576=0x0;_0x334576<_0x54f7ec;_0x334576+=0x3)for(var _0x54af98=_0x231213[_0x334576>>>0x2]>>>0x18-_0x334576%0x4*0x8&0xff,_0x1379b7=_0x231213[_0x334576+0x1>>>0x2]>>>0x18-(_0x334576+0x1)%0x4*0x8&0xff,_0x32bdab=_0x231213[_0x334576+0x2>>>0x2]>>>0x18-(_0x334576+0x2)%0x4*0x8&0xff,_0x113917=_0x54af98<<0x10|_0x1379b7<<0x8|_0x32bdab,_0xaa652b=0x0;_0xaa652b<0x4&&_0x334576+_0xaa652b*0.75<_0x54f7ec;_0xaa652b++)_0x12b1d6[_0x51cd3e(0x259)](_0x39a745['charAt'](_0x113917>>>0x6*(0x3-_0xaa652b)&0x3f));var _0x3b81cb=_0x39a745[_0x51cd3e(0x218)](0x40);if(_0x3b81cb){for(;_0x12b1d6[_0x51cd3e(0x3c0)]%0x4;)_0x12b1d6[_0x51cd3e(0x259)](_0x3b81cb);}return _0x12b1d6[_0x51cd3e(0x4a3)]('');},'parse':function(_0x126a9b){var _0x2e2f0b=_0xae66d0,_0x1b6051=_0x126a9b[_0x2e2f0b(0x3c0)],_0x2688e9=this[_0x2e2f0b(0x4a2)],_0x1101cc=this[_0x2e2f0b(0x4e7)];if(!_0x1101cc){_0x1101cc=this[_0x2e2f0b(0x4e7)]=[];for(var _0x5c4e1a=0x0;_0x5c4e1a<_0x2688e9[_0x2e2f0b(0x3c0)];_0x5c4e1a++)_0x1101cc[_0x2688e9[_0x2e2f0b(0x427)](_0x5c4e1a)]=_0x5c4e1a;}var _0x20c66f=_0x2688e9['charAt'](0x40);if(_0x20c66f){var _0x5937b2=_0x126a9b[_0x2e2f0b(0x37b)](_0x20c66f);_0x5937b2!==-0x1&&(_0x1b6051=_0x5937b2);}return _0x19011b(_0x126a9b,_0x1b6051,_0x1101cc);},'_map':_0xae66d0(0x51b)};function _0x19011b(_0x4d7428,_0x206880,_0x4e1372){var _0x4e0fb2=_0xae66d0;for(var _0xcd0134=[],_0x29b761=0x0,_0x534998=0x0;_0x534998<_0x206880;_0x534998++)if(_0x534998%0x4){var _0x28ae60=_0x4e1372[_0x4d7428[_0x4e0fb2(0x427)](_0x534998-0x1)]<<_0x534998%0x4*0x2,_0x549e82=_0x4e1372[_0x4d7428[_0x4e0fb2(0x427)](_0x534998)]>>>0x6-_0x534998%0x4*0x2,_0x5db3aa=_0x28ae60|_0x549e82;_0xcd0134[_0x29b761>>>0x2]|=_0x5db3aa<<0x18-_0x29b761%0x4*0x8,_0x29b761++;}return _0x468305[_0x4e0fb2(0x35a)](_0xcd0134,_0x29b761);}}()),_0x4c33a3[_0x12f8f6(0x3e7)][_0x12f8f6(0x417)];}));}(ge)),ge['exports'];}var me={'exports':{}},ki=me[_0x46c1fd(0x464)],et;function Hi(){var _0x3779d4=_0x46c1fd;return et||(et=0x1,function(_0x2f01b7,_0x202caf){(function(_0xa370c3,_0x5133b7){var _0x3d3edf=_0x65d2;_0x2f01b7[_0x3d3edf(0x464)]=_0x5133b7(ee());}(ki,function(_0x379142){var _0x1c187d=_0x65d2;return function(_0x3d76b7){var _0x2b30ad=_0x65d2,_0x57c8ca=_0x379142,_0x5a6483=_0x57c8ca[_0x2b30ad(0x3b7)],_0x3f6dca=_0x5a6483[_0x2b30ad(0x35e)],_0x27afa5=_0x5a6483[_0x2b30ad(0x241)],_0x24ad2c=_0x57c8ca[_0x2b30ad(0x533)],_0x54aef2=[];(function(){var _0x2f60cc=_0x2b30ad;for(var _0x34217f=0x0;_0x34217f<0x40;_0x34217f++)_0x54aef2[_0x34217f]=_0x3d76b7['abs'](_0x3d76b7[_0x2f60cc(0x542)](_0x34217f+0x1))*0x100000000|0x0;}());var _0x4361ba=_0x24ad2c['MD5']=_0x27afa5[_0x2b30ad(0x375)]({'_doReset':function(){this['_hash']=new _0x3f6dca['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x9afa5f,_0x4bdf38){var _0x472727=_0x2b30ad;for(var _0x478eb3=0x0;_0x478eb3<0x10;_0x478eb3++){var _0x2d9451=_0x4bdf38+_0x478eb3,_0x564382=_0x9afa5f[_0x2d9451];_0x9afa5f[_0x2d9451]=(_0x564382<<0x8|_0x564382>>>0x18)&0xff00ff|(_0x564382<<0x18|_0x564382>>>0x8)&0xff00ff00;}var _0x81404=this[_0x472727(0x45f)]['words'],_0x42c366=_0x9afa5f[_0x4bdf38+0x0],_0xfe5cf5=_0x9afa5f[_0x4bdf38+0x1],_0x1a2145=_0x9afa5f[_0x4bdf38+0x2],_0x1126ad=_0x9afa5f[_0x4bdf38+0x3],_0x55cc20=_0x9afa5f[_0x4bdf38+0x4],_0x1a29f1=_0x9afa5f[_0x4bdf38+0x5],_0x2a2e36=_0x9afa5f[_0x4bdf38+0x6],_0x38b925=_0x9afa5f[_0x4bdf38+0x7],_0x294cef=_0x9afa5f[_0x4bdf38+0x8],_0x29820d=_0x9afa5f[_0x4bdf38+0x9],_0x1379ee=_0x9afa5f[_0x4bdf38+0xa],_0x40d6c4=_0x9afa5f[_0x4bdf38+0xb],_0x237d18=_0x9afa5f[_0x4bdf38+0xc],_0x2ee290=_0x9afa5f[_0x4bdf38+0xd],_0x5c5dc2=_0x9afa5f[_0x4bdf38+0xe],_0x19ccd9=_0x9afa5f[_0x4bdf38+0xf],_0x6606c7=_0x81404[0x0],_0x5e7cf2=_0x81404[0x1],_0x2831d8=_0x81404[0x2],_0x4b39c4=_0x81404[0x3];_0x6606c7=_0x3f6508(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x42c366,0x7,_0x54aef2[0x0]),_0x4b39c4=_0x3f6508(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0xfe5cf5,0xc,_0x54aef2[0x1]),_0x2831d8=_0x3f6508(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x1a2145,0x11,_0x54aef2[0x2]),_0x5e7cf2=_0x3f6508(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x1126ad,0x16,_0x54aef2[0x3]),_0x6606c7=_0x3f6508(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x55cc20,0x7,_0x54aef2[0x4]),_0x4b39c4=_0x3f6508(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x1a29f1,0xc,_0x54aef2[0x5]),_0x2831d8=_0x3f6508(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2a2e36,0x11,_0x54aef2[0x6]),_0x5e7cf2=_0x3f6508(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x38b925,0x16,_0x54aef2[0x7]),_0x6606c7=_0x3f6508(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x294cef,0x7,_0x54aef2[0x8]),_0x4b39c4=_0x3f6508(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x29820d,0xc,_0x54aef2[0x9]),_0x2831d8=_0x3f6508(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x1379ee,0x11,_0x54aef2[0xa]),_0x5e7cf2=_0x3f6508(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x40d6c4,0x16,_0x54aef2[0xb]),_0x6606c7=_0x3f6508(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x237d18,0x7,_0x54aef2[0xc]),_0x4b39c4=_0x3f6508(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x2ee290,0xc,_0x54aef2[0xd]),_0x2831d8=_0x3f6508(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x5c5dc2,0x11,_0x54aef2[0xe]),_0x5e7cf2=_0x3f6508(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x19ccd9,0x16,_0x54aef2[0xf]),_0x6606c7=_0x1c208c(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0xfe5cf5,0x5,_0x54aef2[0x10]),_0x4b39c4=_0x1c208c(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x2a2e36,0x9,_0x54aef2[0x11]),_0x2831d8=_0x1c208c(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x40d6c4,0xe,_0x54aef2[0x12]),_0x5e7cf2=_0x1c208c(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x42c366,0x14,_0x54aef2[0x13]),_0x6606c7=_0x1c208c(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x1a29f1,0x5,_0x54aef2[0x14]),_0x4b39c4=_0x1c208c(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x1379ee,0x9,_0x54aef2[0x15]),_0x2831d8=_0x1c208c(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x19ccd9,0xe,_0x54aef2[0x16]),_0x5e7cf2=_0x1c208c(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x55cc20,0x14,_0x54aef2[0x17]),_0x6606c7=_0x1c208c(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x29820d,0x5,_0x54aef2[0x18]),_0x4b39c4=_0x1c208c(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x5c5dc2,0x9,_0x54aef2[0x19]),_0x2831d8=_0x1c208c(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x1126ad,0xe,_0x54aef2[0x1a]),_0x5e7cf2=_0x1c208c(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x294cef,0x14,_0x54aef2[0x1b]),_0x6606c7=_0x1c208c(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x2ee290,0x5,_0x54aef2[0x1c]),_0x4b39c4=_0x1c208c(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x1a2145,0x9,_0x54aef2[0x1d]),_0x2831d8=_0x1c208c(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x38b925,0xe,_0x54aef2[0x1e]),_0x5e7cf2=_0x1c208c(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x237d18,0x14,_0x54aef2[0x1f]),_0x6606c7=_0x35687c(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x1a29f1,0x4,_0x54aef2[0x20]),_0x4b39c4=_0x35687c(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x294cef,0xb,_0x54aef2[0x21]),_0x2831d8=_0x35687c(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x40d6c4,0x10,_0x54aef2[0x22]),_0x5e7cf2=_0x35687c(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x5c5dc2,0x17,_0x54aef2[0x23]),_0x6606c7=_0x35687c(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0xfe5cf5,0x4,_0x54aef2[0x24]),_0x4b39c4=_0x35687c(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x55cc20,0xb,_0x54aef2[0x25]),_0x2831d8=_0x35687c(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x38b925,0x10,_0x54aef2[0x26]),_0x5e7cf2=_0x35687c(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x1379ee,0x17,_0x54aef2[0x27]),_0x6606c7=_0x35687c(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x2ee290,0x4,_0x54aef2[0x28]),_0x4b39c4=_0x35687c(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x42c366,0xb,_0x54aef2[0x29]),_0x2831d8=_0x35687c(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x1126ad,0x10,_0x54aef2[0x2a]),_0x5e7cf2=_0x35687c(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x2a2e36,0x17,_0x54aef2[0x2b]),_0x6606c7=_0x35687c(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x29820d,0x4,_0x54aef2[0x2c]),_0x4b39c4=_0x35687c(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x237d18,0xb,_0x54aef2[0x2d]),_0x2831d8=_0x35687c(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x19ccd9,0x10,_0x54aef2[0x2e]),_0x5e7cf2=_0x35687c(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x1a2145,0x17,_0x54aef2[0x2f]),_0x6606c7=_0x26a2a6(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x42c366,0x6,_0x54aef2[0x30]),_0x4b39c4=_0x26a2a6(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x38b925,0xa,_0x54aef2[0x31]),_0x2831d8=_0x26a2a6(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x5c5dc2,0xf,_0x54aef2[0x32]),_0x5e7cf2=_0x26a2a6(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x1a29f1,0x15,_0x54aef2[0x33]),_0x6606c7=_0x26a2a6(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x237d18,0x6,_0x54aef2[0x34]),_0x4b39c4=_0x26a2a6(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x1126ad,0xa,_0x54aef2[0x35]),_0x2831d8=_0x26a2a6(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x1379ee,0xf,_0x54aef2[0x36]),_0x5e7cf2=_0x26a2a6(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0xfe5cf5,0x15,_0x54aef2[0x37]),_0x6606c7=_0x26a2a6(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x294cef,0x6,_0x54aef2[0x38]),_0x4b39c4=_0x26a2a6(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x19ccd9,0xa,_0x54aef2[0x39]),_0x2831d8=_0x26a2a6(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2a2e36,0xf,_0x54aef2[0x3a]),_0x5e7cf2=_0x26a2a6(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x2ee290,0x15,_0x54aef2[0x3b]),_0x6606c7=_0x26a2a6(_0x6606c7,_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x55cc20,0x6,_0x54aef2[0x3c]),_0x4b39c4=_0x26a2a6(_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x2831d8,_0x40d6c4,0xa,_0x54aef2[0x3d]),_0x2831d8=_0x26a2a6(_0x2831d8,_0x4b39c4,_0x6606c7,_0x5e7cf2,_0x1a2145,0xf,_0x54aef2[0x3e]),_0x5e7cf2=_0x26a2a6(_0x5e7cf2,_0x2831d8,_0x4b39c4,_0x6606c7,_0x29820d,0x15,_0x54aef2[0x3f]),_0x81404[0x0]=_0x81404[0x0]+_0x6606c7|0x0,_0x81404[0x1]=_0x81404[0x1]+_0x5e7cf2|0x0,_0x81404[0x2]=_0x81404[0x2]+_0x2831d8|0x0,_0x81404[0x3]=_0x81404[0x3]+_0x4b39c4|0x0;},'_doFinalize':function(){var _0x220dcb=_0x2b30ad,_0x28a9ec=this[_0x220dcb(0x4e1)],_0xa4767c=_0x28a9ec['words'],_0x20bc2f=this[_0x220dcb(0x30d)]*0x8,_0x565e3c=_0x28a9ec[_0x220dcb(0x278)]*0x8;_0xa4767c[_0x565e3c>>>0x5]|=0x80<<0x18-_0x565e3c%0x20;var _0x42602e=_0x3d76b7[_0x220dcb(0x2c2)](_0x20bc2f/0x100000000),_0x5862cd=_0x20bc2f;_0xa4767c[(_0x565e3c+0x40>>>0x9<<0x4)+0xf]=(_0x42602e<<0x8|_0x42602e>>>0x18)&0xff00ff|(_0x42602e<<0x18|_0x42602e>>>0x8)&0xff00ff00,_0xa4767c[(_0x565e3c+0x40>>>0x9<<0x4)+0xe]=(_0x5862cd<<0x8|_0x5862cd>>>0x18)&0xff00ff|(_0x5862cd<<0x18|_0x5862cd>>>0x8)&0xff00ff00,_0x28a9ec[_0x220dcb(0x278)]=(_0xa4767c[_0x220dcb(0x3c0)]+0x1)*0x4,this[_0x220dcb(0x376)]();for(var _0x29d459=this[_0x220dcb(0x45f)],_0x1e873f=_0x29d459['words'],_0x3b8c3d=0x0;_0x3b8c3d<0x4;_0x3b8c3d++){var _0x4d58b0=_0x1e873f[_0x3b8c3d];_0x1e873f[_0x3b8c3d]=(_0x4d58b0<<0x8|_0x4d58b0>>>0x18)&0xff00ff|(_0x4d58b0<<0x18|_0x4d58b0>>>0x8)&0xff00ff00;}return _0x29d459;},'clone':function(){var _0x545d34=_0x2b30ad,_0x19a2cb=_0x27afa5[_0x545d34(0x2a4)]['call'](this);return _0x19a2cb[_0x545d34(0x45f)]=this['_hash'][_0x545d34(0x2a4)](),_0x19a2cb;}});function _0x3f6508(_0x207a38,_0x3e8ed2,_0x179333,_0x3eb918,_0x3978dc,_0x3f71a6,_0x51e6ba){var _0x2d44b5=_0x207a38+(_0x3e8ed2&_0x179333|~_0x3e8ed2&_0x3eb918)+_0x3978dc+_0x51e6ba;return(_0x2d44b5<<_0x3f71a6|_0x2d44b5>>>0x20-_0x3f71a6)+_0x3e8ed2;}function _0x1c208c(_0x17de6d,_0x1d1aca,_0x9340f3,_0x5c95d9,_0x34ee06,_0x2d5092,_0x81e8de){var _0x572330=_0x17de6d+(_0x1d1aca&_0x5c95d9|_0x9340f3&~_0x5c95d9)+_0x34ee06+_0x81e8de;return(_0x572330<<_0x2d5092|_0x572330>>>0x20-_0x2d5092)+_0x1d1aca;}function _0x35687c(_0x522074,_0x36190c,_0x5cee12,_0x2e38e4,_0x38bdaf,_0x4f2a45,_0x12b0b2){var _0x28050d=_0x522074+(_0x36190c^_0x5cee12^_0x2e38e4)+_0x38bdaf+_0x12b0b2;return(_0x28050d<<_0x4f2a45|_0x28050d>>>0x20-_0x4f2a45)+_0x36190c;}function _0x26a2a6(_0x211720,_0xc7254,_0x4f9308,_0xd46fa3,_0x125412,_0x5dc9ea,_0x4bdb3a){var _0x30eda9=_0x211720+(_0x4f9308^(_0xc7254|~_0xd46fa3))+_0x125412+_0x4bdb3a;return(_0x30eda9<<_0x5dc9ea|_0x30eda9>>>0x20-_0x5dc9ea)+_0xc7254;}_0x57c8ca[_0x2b30ad(0x4da)]=_0x27afa5[_0x2b30ad(0x4c9)](_0x4361ba),_0x57c8ca[_0x2b30ad(0x501)]=_0x27afa5['_createHmacHelper'](_0x4361ba);}(Math),_0x379142[_0x1c187d(0x4da)];}));}(me)),me[_0x3779d4(0x464)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x46c1fd(0x464)],tt;function $i(){var _0x25de03=_0x46c1fd;return tt||(tt=0x1,function(_0xf65341,_0x2ed53a){(function(_0x38f795,_0x565d48){var _0x40bdf1=_0x65d2;_0xf65341[_0x40bdf1(0x464)]=_0x565d48(ee());}(ji,function(_0x29fea8){var _0x508fc6=_0x65d2;return(function(){var _0x16dacb=_0x65d2,_0x361f75=_0x29fea8,_0xfbd610=_0x361f75['lib'],_0x16c258=_0xfbd610[_0x16dacb(0x35e)],_0x2aa2ae=_0xfbd610[_0x16dacb(0x241)],_0x122337=_0x361f75['algo'],_0x49ef5b=[],_0x49c1ce=_0x122337[_0x16dacb(0x256)]=_0x2aa2ae[_0x16dacb(0x375)]({'_doReset':function(){var _0x48bed1=_0x16dacb;this[_0x48bed1(0x45f)]=new _0x16c258[(_0x48bed1(0x3bf))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1057f9,_0x39121a){var _0x581343=_0x16dacb;for(var _0x17d460=this[_0x581343(0x45f)][_0x581343(0x4b3)],_0x257d05=_0x17d460[0x0],_0x100785=_0x17d460[0x1],_0x4cf2c4=_0x17d460[0x2],_0xcb828=_0x17d460[0x3],_0x17ef23=_0x17d460[0x4],_0x9c1dd0=0x0;_0x9c1dd0<0x50;_0x9c1dd0++){if(_0x9c1dd0<0x10)_0x49ef5b[_0x9c1dd0]=_0x1057f9[_0x39121a+_0x9c1dd0]|0x0;else{var _0x3fd42e=_0x49ef5b[_0x9c1dd0-0x3]^_0x49ef5b[_0x9c1dd0-0x8]^_0x49ef5b[_0x9c1dd0-0xe]^_0x49ef5b[_0x9c1dd0-0x10];_0x49ef5b[_0x9c1dd0]=_0x3fd42e<<0x1|_0x3fd42e>>>0x1f;}var _0x48e5cc=(_0x257d05<<0x5|_0x257d05>>>0x1b)+_0x17ef23+_0x49ef5b[_0x9c1dd0];_0x9c1dd0<0x14?_0x48e5cc+=(_0x100785&_0x4cf2c4|~_0x100785&_0xcb828)+0x5a827999:_0x9c1dd0<0x28?_0x48e5cc+=(_0x100785^_0x4cf2c4^_0xcb828)+0x6ed9eba1:_0x9c1dd0<0x3c?_0x48e5cc+=(_0x100785&_0x4cf2c4|_0x100785&_0xcb828|_0x4cf2c4&_0xcb828)-0x70e44324:_0x48e5cc+=(_0x100785^_0x4cf2c4^_0xcb828)-0x359d3e2a,_0x17ef23=_0xcb828,_0xcb828=_0x4cf2c4,_0x4cf2c4=_0x100785<<0x1e|_0x100785>>>0x2,_0x100785=_0x257d05,_0x257d05=_0x48e5cc;}_0x17d460[0x0]=_0x17d460[0x0]+_0x257d05|0x0,_0x17d460[0x1]=_0x17d460[0x1]+_0x100785|0x0,_0x17d460[0x2]=_0x17d460[0x2]+_0x4cf2c4|0x0,_0x17d460[0x3]=_0x17d460[0x3]+_0xcb828|0x0,_0x17d460[0x4]=_0x17d460[0x4]+_0x17ef23|0x0;},'_doFinalize':function(){var _0x120937=_0x16dacb,_0x5587ba=this[_0x120937(0x4e1)],_0x138998=_0x5587ba['words'],_0x2efcc2=this[_0x120937(0x30d)]*0x8,_0x486593=_0x5587ba['sigBytes']*0x8;return _0x138998[_0x486593>>>0x5]|=0x80<<0x18-_0x486593%0x20,_0x138998[(_0x486593+0x40>>>0x9<<0x4)+0xe]=Math[_0x120937(0x2c2)](_0x2efcc2/0x100000000),_0x138998[(_0x486593+0x40>>>0x9<<0x4)+0xf]=_0x2efcc2,_0x5587ba['sigBytes']=_0x138998[_0x120937(0x3c0)]*0x4,this[_0x120937(0x376)](),this[_0x120937(0x45f)];},'clone':function(){var _0x581126=_0x16dacb,_0x3e1e8e=_0x2aa2ae[_0x581126(0x2a4)][_0x581126(0x238)](this);return _0x3e1e8e[_0x581126(0x45f)]=this[_0x581126(0x45f)]['clone'](),_0x3e1e8e;}});_0x361f75[_0x16dacb(0x256)]=_0x2aa2ae[_0x16dacb(0x4c9)](_0x49c1ce),_0x361f75[_0x16dacb(0x29e)]=_0x2aa2ae['_createHmacHelper'](_0x49c1ce);}()),_0x29fea8[_0x508fc6(0x256)];}));}(Ee)),Ee[_0x25de03(0x464)];}var Ce={'exports':{}},Bi=Ce[_0x46c1fd(0x464)],it;function Fi(){var _0x25e22a=_0x46c1fd;return it||(it=0x1,function(_0x525833,_0x1ee0f9){(function(_0x35a76c,_0x20ad27){_0x525833['exports']=_0x20ad27(ee());}(Bi,function(_0x3fce71){(function(){var _0x35092a=_0x65d2,_0x1bae89=_0x3fce71,_0x4978b5=_0x1bae89[_0x35092a(0x3b7)],_0x3267ba=_0x4978b5[_0x35092a(0x384)],_0x2ac92d=_0x1bae89[_0x35092a(0x3e7)],_0x44c12c=_0x2ac92d[_0x35092a(0x4bd)],_0x1be756=_0x1bae89['algo'];_0x1be756['HMAC']=_0x3267ba[_0x35092a(0x375)]({'init':function(_0x5bce65,_0x32c2ad){var _0x5a7ccf=_0x35092a;_0x5bce65=this['_hasher']=new _0x5bce65[(_0x5a7ccf(0x3bf))](),typeof _0x32c2ad==_0x5a7ccf(0x33f)&&(_0x32c2ad=_0x44c12c[_0x5a7ccf(0x308)](_0x32c2ad));var _0x19fa95=_0x5bce65[_0x5a7ccf(0x304)],_0x52811e=_0x19fa95*0x4;_0x32c2ad['sigBytes']>_0x52811e&&(_0x32c2ad=_0x5bce65['finalize'](_0x32c2ad)),_0x32c2ad[_0x5a7ccf(0x3ac)]();for(var _0xcc03ad=this[_0x5a7ccf(0x565)]=_0x32c2ad[_0x5a7ccf(0x2a4)](),_0x55a22b=this[_0x5a7ccf(0x26c)]=_0x32c2ad[_0x5a7ccf(0x2a4)](),_0x491f97=_0xcc03ad[_0x5a7ccf(0x4b3)],_0x2d9839=_0x55a22b['words'],_0x24d641=0x0;_0x24d641<_0x19fa95;_0x24d641++)_0x491f97[_0x24d641]^=0x5c5c5c5c,_0x2d9839[_0x24d641]^=0x36363636;_0xcc03ad[_0x5a7ccf(0x278)]=_0x55a22b[_0x5a7ccf(0x278)]=_0x52811e,this[_0x5a7ccf(0x53d)]();},'reset':function(){var _0xf44cf9=_0x35092a,_0x5cc468=this[_0xf44cf9(0x43f)];_0x5cc468[_0xf44cf9(0x53d)](),_0x5cc468[_0xf44cf9(0x431)](this[_0xf44cf9(0x26c)]);},'update':function(_0x2823b0){var _0x49e1ab=_0x35092a;return this[_0x49e1ab(0x43f)]['update'](_0x2823b0),this;},'finalize':function(_0x2069dc){var _0x5209bf=_0x35092a,_0x4cbfb8=this[_0x5209bf(0x43f)],_0xb06657=_0x4cbfb8[_0x5209bf(0x2d9)](_0x2069dc);_0x4cbfb8['reset']();var _0x33fea4=_0x4cbfb8[_0x5209bf(0x2d9)](this[_0x5209bf(0x565)][_0x5209bf(0x2a4)]()[_0x5209bf(0x2f7)](_0xb06657));return _0x33fea4;}});}());}));}(Ce)),Ce[_0x25e22a(0x464)];}var Vi=Ie['exports'],nt;function At(){return nt||(nt=0x1,function(_0x289f18,_0x3f5293){(function(_0x44e2ca,_0x5e0bc4,_0x53e723){var _0xbff734=_0x65d2;_0x289f18[_0xbff734(0x464)]=_0x5e0bc4(ee(),$i(),Fi());}(Vi,function(_0x406966){var _0x58562d=_0x65d2;return(function(){var _0x269976=_0x65d2,_0x5809c9=_0x406966,_0x5c04a8=_0x5809c9[_0x269976(0x3b7)],_0x3fb6d0=_0x5c04a8['Base'],_0x386e9f=_0x5c04a8['WordArray'],_0x1a8b4f=_0x5809c9['algo'],_0x5e108f=_0x1a8b4f[_0x269976(0x4da)],_0x1ba88b=_0x1a8b4f[_0x269976(0x436)]=_0x3fb6d0[_0x269976(0x375)]({'cfg':_0x3fb6d0['extend']({'keySize':0x80/0x20,'hasher':_0x5e108f,'iterations':0x1}),'init':function(_0x56ac4e){var _0x31a348=_0x269976;this[_0x31a348(0x557)]=this['cfg'][_0x31a348(0x375)](_0x56ac4e);},'compute':function(_0xca259a,_0x395437){var _0x5cec28=_0x269976;for(var _0x3e462b,_0x323a9d=this[_0x5cec28(0x557)],_0x511318=_0x323a9d[_0x5cec28(0x3cb)][_0x5cec28(0x35a)](),_0x3bd289=_0x386e9f['create'](),_0xbb6517=_0x3bd289[_0x5cec28(0x4b3)],_0x5d4a70=_0x323a9d[_0x5cec28(0x529)],_0x341d2a=_0x323a9d[_0x5cec28(0x2b8)];_0xbb6517['length']<_0x5d4a70;){_0x3e462b&&_0x511318[_0x5cec28(0x431)](_0x3e462b),_0x3e462b=_0x511318[_0x5cec28(0x431)](_0xca259a)['finalize'](_0x395437),_0x511318[_0x5cec28(0x53d)]();for(var _0x598083=0x1;_0x598083<_0x341d2a;_0x598083++)_0x3e462b=_0x511318[_0x5cec28(0x2d9)](_0x3e462b),_0x511318[_0x5cec28(0x53d)]();_0x3bd289[_0x5cec28(0x2f7)](_0x3e462b);}return _0x3bd289[_0x5cec28(0x278)]=_0x5d4a70*0x4,_0x3bd289;}});_0x5809c9[_0x269976(0x436)]=function(_0x52511b,_0x4fc600,_0x4103e9){var _0x29e06a=_0x269976;return _0x1ba88b[_0x29e06a(0x35a)](_0x4103e9)['compute'](_0x52511b,_0x4fc600);};}()),_0x406966[_0x58562d(0x436)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Wi=Te[_0x46c1fd(0x464)],rt;function Pt(){var _0x3e1728=_0x46c1fd;return rt||(rt=0x1,function(_0x492095,_0x1d66f4){(function(_0x339d9e,_0x5181ee,_0x269f1a){var _0x5b9cbd=_0x65d2;_0x492095[_0x5b9cbd(0x464)]=_0x5181ee(ee(),At());}(Wi,function(_0x2b8b95){var _0x4d0040=_0x65d2;_0x2b8b95[_0x4d0040(0x3b7)][_0x4d0040(0x3a2)]||function(_0x27a03d){var _0x1be25d=_0x4d0040,_0x56a14e=_0x2b8b95,_0x3353f0=_0x56a14e[_0x1be25d(0x3b7)],_0x2cf442=_0x3353f0[_0x1be25d(0x384)],_0x7e9ab3=_0x3353f0[_0x1be25d(0x35e)],_0x1e6a96=_0x3353f0[_0x1be25d(0x26b)],_0x29b77c=_0x56a14e['enc'];_0x29b77c['Utf8'];var _0x5460e9=_0x29b77c[_0x1be25d(0x417)],_0x5f43f9=_0x56a14e[_0x1be25d(0x533)],_0x25c68f=_0x5f43f9[_0x1be25d(0x436)],_0x568300=_0x3353f0['Cipher']=_0x1e6a96[_0x1be25d(0x375)]({'cfg':_0x2cf442['extend'](),'createEncryptor':function(_0x474c74,_0x3518ed){var _0x87e419=_0x1be25d;return this[_0x87e419(0x35a)](this[_0x87e419(0x2d1)],_0x474c74,_0x3518ed);},'createDecryptor':function(_0x57dd63,_0x4794de){var _0x3186e5=_0x1be25d;return this[_0x3186e5(0x35a)](this[_0x3186e5(0x320)],_0x57dd63,_0x4794de);},'init':function(_0x218325,_0x22bb99,_0x5bcf9c){var _0xf9f7bd=_0x1be25d;this[_0xf9f7bd(0x557)]=this[_0xf9f7bd(0x557)][_0xf9f7bd(0x375)](_0x5bcf9c),this[_0xf9f7bd(0x318)]=_0x218325,this[_0xf9f7bd(0x3aa)]=_0x22bb99,this[_0xf9f7bd(0x53d)]();},'reset':function(){var _0x4be131=_0x1be25d;_0x1e6a96[_0x4be131(0x53d)][_0x4be131(0x238)](this),this[_0x4be131(0x25f)]();},'process':function(_0x1d3b96){var _0x28fa13=_0x1be25d;return this['_append'](_0x1d3b96),this[_0x28fa13(0x376)]();},'finalize':function(_0x5ebb15){var _0x343414=_0x1be25d;_0x5ebb15&&this['_append'](_0x5ebb15);var _0x12bac3=this[_0x343414(0x410)]();return _0x12bac3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x31ee58(_0x3975cc){var _0x4d2cef=_0x65d2;return typeof _0x3975cc==_0x4d2cef(0x33f)?_0x58f31f:_0x5655f2;}return function(_0x3412b1){return{'encrypt':function(_0x2b48e1,_0x4e48f2,_0xf1ffd2){var _0x25ea76=_0x65d2;return _0x31ee58(_0x4e48f2)[_0x25ea76(0x39c)](_0x3412b1,_0x2b48e1,_0x4e48f2,_0xf1ffd2);},'decrypt':function(_0x4f81d4,_0x8d1a09,_0x52cdef){var _0x405b6d=_0x65d2;return _0x31ee58(_0x8d1a09)[_0x405b6d(0x332)](_0x3412b1,_0x4f81d4,_0x8d1a09,_0x52cdef);}};};}())});_0x3353f0[_0x1be25d(0x405)]=_0x568300[_0x1be25d(0x375)]({'_doFinalize':function(){var _0x534eb2=_0x1be25d,_0x3e3b72=this[_0x534eb2(0x376)](!0x0);return _0x3e3b72;},'blockSize':0x1});var _0x471764=_0x56a14e['mode']={},_0x2c5e02=_0x3353f0[_0x1be25d(0x263)]=_0x2cf442[_0x1be25d(0x375)]({'createEncryptor':function(_0x4797fc,_0x21e906){var _0x4e62c4=_0x1be25d;return this[_0x4e62c4(0x473)]['create'](_0x4797fc,_0x21e906);},'createDecryptor':function(_0x3b3936,_0x4fe2fa){var _0x4bf31f=_0x1be25d;return this['Decryptor'][_0x4bf31f(0x35a)](_0x3b3936,_0x4fe2fa);},'init':function(_0x5f26fb,_0x232414){var _0x12a17e=_0x1be25d;this[_0x12a17e(0x4b8)]=_0x5f26fb,this['_iv']=_0x232414;}}),_0x2ae01c=_0x471764[_0x1be25d(0x547)]=(function(){var _0x3cf528=_0x1be25d,_0x2bea6d=_0x2c5e02['extend']();_0x2bea6d[_0x3cf528(0x473)]=_0x2bea6d[_0x3cf528(0x375)]({'processBlock':function(_0x5cb3bf,_0x33f8b6){var _0xdd66e7=_0x3cf528,_0x2a00bb=this['_cipher'],_0x8a2ce9=_0x2a00bb[_0xdd66e7(0x304)];_0x5e0563[_0xdd66e7(0x238)](this,_0x5cb3bf,_0x33f8b6,_0x8a2ce9),_0x2a00bb['encryptBlock'](_0x5cb3bf,_0x33f8b6),this[_0xdd66e7(0x2fe)]=_0x5cb3bf[_0xdd66e7(0x484)](_0x33f8b6,_0x33f8b6+_0x8a2ce9);}}),_0x2bea6d['Decryptor']=_0x2bea6d[_0x3cf528(0x375)]({'processBlock':function(_0x9f39ea,_0x20a299){var _0x1fb8a1=_0x3cf528,_0x3d0ab0=this[_0x1fb8a1(0x4b8)],_0x1ab662=_0x3d0ab0[_0x1fb8a1(0x304)],_0x41c600=_0x9f39ea[_0x1fb8a1(0x484)](_0x20a299,_0x20a299+_0x1ab662);_0x3d0ab0[_0x1fb8a1(0x450)](_0x9f39ea,_0x20a299),_0x5e0563['call'](this,_0x9f39ea,_0x20a299,_0x1ab662),this[_0x1fb8a1(0x2fe)]=_0x41c600;}});function _0x5e0563(_0x24717f,_0x30a5d4,_0x4a3def){var _0x1a0670=_0x3cf528,_0x464753,_0x21ee03=this[_0x1a0670(0x53f)];_0x21ee03?(_0x464753=_0x21ee03,this[_0x1a0670(0x53f)]=_0x27a03d):_0x464753=this[_0x1a0670(0x2fe)];for(var _0xafc198=0x0;_0xafc198<_0x4a3def;_0xafc198++)_0x24717f[_0x30a5d4+_0xafc198]^=_0x464753[_0xafc198];}return _0x2bea6d;}()),_0x12ecda=_0x56a14e[_0x1be25d(0x24b)]={},_0x899696=_0x12ecda['Pkcs7']={'pad':function(_0xd978a5,_0x34c2dd){var _0x1d9ac2=_0x1be25d;for(var _0x186f3e=_0x34c2dd*0x4,_0x4ff59c=_0x186f3e-_0xd978a5[_0x1d9ac2(0x278)]%_0x186f3e,_0x3ae399=_0x4ff59c<<0x18|_0x4ff59c<<0x10|_0x4ff59c<<0x8|_0x4ff59c,_0x5c7124=[],_0x3c4f7e=0x0;_0x3c4f7e<_0x4ff59c;_0x3c4f7e+=0x4)_0x5c7124[_0x1d9ac2(0x259)](_0x3ae399);var _0x4e8581=_0x7e9ab3[_0x1d9ac2(0x35a)](_0x5c7124,_0x4ff59c);_0xd978a5['concat'](_0x4e8581);},'unpad':function(_0x26fad2){var _0x51720b=_0x1be25d,_0x439e01=_0x26fad2[_0x51720b(0x4b3)][_0x26fad2[_0x51720b(0x278)]-0x1>>>0x2]&0xff;_0x26fad2[_0x51720b(0x278)]-=_0x439e01;}};_0x3353f0[_0x1be25d(0x398)]=_0x568300[_0x1be25d(0x375)]({'cfg':_0x568300['cfg'][_0x1be25d(0x375)]({'mode':_0x2ae01c,'padding':_0x899696}),'reset':function(){var _0x34b8e4=_0x1be25d,_0x313fca;_0x568300[_0x34b8e4(0x53d)][_0x34b8e4(0x238)](this);var _0x57d6f6=this[_0x34b8e4(0x557)],_0x2109bc=_0x57d6f6['iv'],_0x2806bb=_0x57d6f6[_0x34b8e4(0x48a)];this[_0x34b8e4(0x318)]==this[_0x34b8e4(0x2d1)]?_0x313fca=_0x2806bb[_0x34b8e4(0x284)]:(_0x313fca=_0x2806bb[_0x34b8e4(0x31a)],this[_0x34b8e4(0x2cf)]=0x1),this[_0x34b8e4(0x260)]&&this[_0x34b8e4(0x260)]['__creator']==_0x313fca?this['_mode'][_0x34b8e4(0x3bf)](this,_0x2109bc&&_0x2109bc[_0x34b8e4(0x4b3)]):(this[_0x34b8e4(0x260)]=_0x313fca[_0x34b8e4(0x238)](_0x2806bb,this,_0x2109bc&&_0x2109bc[_0x34b8e4(0x4b3)]),this['_mode'][_0x34b8e4(0x2e8)]=_0x313fca);},'_doProcessBlock':function(_0x4404f1,_0x15d9ef){this['_mode']['processBlock'](_0x4404f1,_0x15d9ef);},'_doFinalize':function(){var _0x37c40a=_0x1be25d,_0x44d39f,_0x49f42d=this[_0x37c40a(0x557)][_0x37c40a(0x4d3)];return this[_0x37c40a(0x318)]==this[_0x37c40a(0x2d1)]?(_0x49f42d[_0x37c40a(0x24b)](this[_0x37c40a(0x4e1)],this[_0x37c40a(0x304)]),_0x44d39f=this[_0x37c40a(0x376)](!0x0)):(_0x44d39f=this[_0x37c40a(0x376)](!0x0),_0x49f42d['unpad'](_0x44d39f)),_0x44d39f;},'blockSize':0x80/0x20});var _0x1bd354=_0x3353f0[_0x1be25d(0x221)]=_0x2cf442[_0x1be25d(0x375)]({'init':function(_0x41b3ed){var _0x4c05ff=_0x1be25d;this[_0x4c05ff(0x213)](_0x41b3ed);},'toString':function(_0x39144c){var _0x17e9cb=_0x1be25d;return(_0x39144c||this['formatter'])[_0x17e9cb(0x4e3)](this);}}),_0x4a613b=_0x56a14e[_0x1be25d(0x289)]={},_0x646ec4=_0x4a613b[_0x1be25d(0x2ef)]={'stringify':function(_0x459926){var _0x3cd352=_0x1be25d,_0x511226,_0x24df15=_0x459926[_0x3cd352(0x3d6)],_0x1d7e62=_0x459926[_0x3cd352(0x309)];return _0x1d7e62?_0x511226=_0x7e9ab3[_0x3cd352(0x35a)]([0x53616c74,0x65645f5f])[_0x3cd352(0x2f7)](_0x1d7e62)[_0x3cd352(0x2f7)](_0x24df15):_0x511226=_0x24df15,_0x511226[_0x3cd352(0x423)](_0x5460e9);},'parse':function(_0x3f48ca){var _0x4c98c8=_0x1be25d,_0x2b19b7,_0x2ffcab=_0x5460e9[_0x4c98c8(0x308)](_0x3f48ca),_0x57b806=_0x2ffcab['words'];return _0x57b806[0x0]==0x53616c74&&_0x57b806[0x1]==0x65645f5f&&(_0x2b19b7=_0x7e9ab3['create'](_0x57b806['slice'](0x2,0x4)),_0x57b806[_0x4c98c8(0x321)](0x0,0x4),_0x2ffcab[_0x4c98c8(0x278)]-=0x10),_0x1bd354[_0x4c98c8(0x35a)]({'ciphertext':_0x2ffcab,'salt':_0x2b19b7});}},_0x5655f2=_0x3353f0[_0x1be25d(0x314)]=_0x2cf442[_0x1be25d(0x375)]({'cfg':_0x2cf442[_0x1be25d(0x375)]({'format':_0x646ec4}),'encrypt':function(_0x348862,_0x3db97e,_0x53dd46,_0x17a8e4){var _0x423c4a=_0x1be25d;_0x17a8e4=this[_0x423c4a(0x557)][_0x423c4a(0x375)](_0x17a8e4);var _0x366814=_0x348862[_0x423c4a(0x284)](_0x53dd46,_0x17a8e4),_0x18de66=_0x366814[_0x423c4a(0x2d9)](_0x3db97e),_0x51ee18=_0x366814['cfg'];return _0x1bd354[_0x423c4a(0x35a)]({'ciphertext':_0x18de66,'key':_0x53dd46,'iv':_0x51ee18['iv'],'algorithm':_0x348862,'mode':_0x51ee18[_0x423c4a(0x48a)],'padding':_0x51ee18[_0x423c4a(0x4d3)],'blockSize':_0x348862['blockSize'],'formatter':_0x17a8e4[_0x423c4a(0x289)]});},'decrypt':function(_0x2942b0,_0x2ef9cb,_0x4e8c7d,_0x1af5c3){var _0x19c203=_0x1be25d;_0x1af5c3=this[_0x19c203(0x557)]['extend'](_0x1af5c3),_0x2ef9cb=this[_0x19c203(0x266)](_0x2ef9cb,_0x1af5c3['format']);var _0xfc2201=_0x2942b0[_0x19c203(0x31a)](_0x4e8c7d,_0x1af5c3)[_0x19c203(0x2d9)](_0x2ef9cb['ciphertext']);return _0xfc2201;},'_parse':function(_0xdc0892,_0x14965c){var _0x3303a1=_0x1be25d;return typeof _0xdc0892==_0x3303a1(0x33f)?_0x14965c['parse'](_0xdc0892,this):_0xdc0892;}}),_0x5b7d5b=_0x56a14e[_0x1be25d(0x29c)]={},_0x5ab624=_0x5b7d5b['OpenSSL']={'execute':function(_0x20aa53,_0x3b8ba7,_0x1b1b9b,_0x385c76,_0x3f321c){var _0x1dacdc=_0x1be25d;if(_0x385c76||(_0x385c76=_0x7e9ab3[_0x1dacdc(0x3fb)](0x40/0x8)),_0x3f321c)var _0x240c4d=_0x25c68f['create']({'keySize':_0x3b8ba7+_0x1b1b9b,'hasher':_0x3f321c})['compute'](_0x20aa53,_0x385c76);else var _0x240c4d=_0x25c68f[_0x1dacdc(0x35a)]({'keySize':_0x3b8ba7+_0x1b1b9b})['compute'](_0x20aa53,_0x385c76);var _0x5bc3d6=_0x7e9ab3[_0x1dacdc(0x35a)](_0x240c4d[_0x1dacdc(0x4b3)]['slice'](_0x3b8ba7),_0x1b1b9b*0x4);return _0x240c4d[_0x1dacdc(0x278)]=_0x3b8ba7*0x4,_0x1bd354['create']({'key':_0x240c4d,'iv':_0x5bc3d6,'salt':_0x385c76});}},_0x58f31f=_0x3353f0[_0x1be25d(0x2cb)]=_0x5655f2[_0x1be25d(0x375)]({'cfg':_0x5655f2[_0x1be25d(0x557)]['extend']({'kdf':_0x5ab624}),'encrypt':function(_0xe244e4,_0x1a5f7f,_0x65ee0,_0x2c6c00){var _0x3e70b3=_0x1be25d;_0x2c6c00=this[_0x3e70b3(0x557)]['extend'](_0x2c6c00);var _0xc419cd=_0x2c6c00[_0x3e70b3(0x29c)][_0x3e70b3(0x4e5)](_0x65ee0,_0xe244e4[_0x3e70b3(0x529)],_0xe244e4[_0x3e70b3(0x219)],_0x2c6c00[_0x3e70b3(0x309)],_0x2c6c00[_0x3e70b3(0x3cb)]);_0x2c6c00['iv']=_0xc419cd['iv'];var _0x45426c=_0x5655f2[_0x3e70b3(0x39c)]['call'](this,_0xe244e4,_0x1a5f7f,_0xc419cd[_0x3e70b3(0x465)],_0x2c6c00);return _0x45426c[_0x3e70b3(0x213)](_0xc419cd),_0x45426c;},'decrypt':function(_0x246e4c,_0x3b4aab,_0x234502,_0x364dbb){var _0x49c425=_0x1be25d;_0x364dbb=this[_0x49c425(0x557)][_0x49c425(0x375)](_0x364dbb),_0x3b4aab=this[_0x49c425(0x266)](_0x3b4aab,_0x364dbb[_0x49c425(0x289)]);var _0x2f4ddb=_0x364dbb[_0x49c425(0x29c)][_0x49c425(0x4e5)](_0x234502,_0x246e4c[_0x49c425(0x529)],_0x246e4c[_0x49c425(0x219)],_0x3b4aab['salt'],_0x364dbb[_0x49c425(0x3cb)]);_0x364dbb['iv']=_0x2f4ddb['iv'];var _0x4e6a6e=_0x5655f2[_0x49c425(0x332)][_0x49c425(0x238)](this,_0x246e4c,_0x3b4aab,_0x2f4ddb[_0x49c425(0x465)],_0x364dbb);return _0x4e6a6e;}});}();}));}(Te)),Te[_0x3e1728(0x464)];}var Gi=fe['exports'],st;function Ki(){return st||(st=0x1,function(_0x5b2303,_0x2f51ec){(function(_0x2cc1cb,_0x46a153,_0x468da3){var _0x3c625d=_0x65d2;_0x5b2303[_0x3c625d(0x464)]=_0x46a153(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x597a82){var _0x2f4062=_0x65d2;return(function(){var _0x3cefc1=_0x65d2,_0x4a9d07=_0x597a82,_0x39bfbc=_0x4a9d07[_0x3cefc1(0x3b7)],_0x51183e=_0x39bfbc[_0x3cefc1(0x398)],_0x24524c=_0x4a9d07[_0x3cefc1(0x533)],_0x16c938=[],_0x1f172b=[],_0xb4aa19=[],_0x5888c7=[],_0x242fe9=[],_0x5d66ca=[],_0x3f5971=[],_0x553f31=[],_0x5cabc3=[],_0x40b2eb=[];(function(){for(var _0x20898b=[],_0x426584=0x0;_0x426584<0x100;_0x426584++)_0x426584<0x80?_0x20898b[_0x426584]=_0x426584<<0x1:_0x20898b[_0x426584]=_0x426584<<0x1^0x11b;for(var _0x3040ea=0x0,_0xc7e234=0x0,_0x426584=0x0;_0x426584<0x100;_0x426584++){var _0x4278da=_0xc7e234^_0xc7e234<<0x1^_0xc7e234<<0x2^_0xc7e234<<0x3^_0xc7e234<<0x4;_0x4278da=_0x4278da>>>0x8^_0x4278da&0xff^0x63,_0x16c938[_0x3040ea]=_0x4278da,_0x1f172b[_0x4278da]=_0x3040ea;var _0x215bd0=_0x20898b[_0x3040ea],_0x3a0427=_0x20898b[_0x215bd0],_0x5e4376=_0x20898b[_0x3a0427],_0x24f07e=_0x20898b[_0x4278da]*0x101^_0x4278da*0x1010100;_0xb4aa19[_0x3040ea]=_0x24f07e<<0x18|_0x24f07e>>>0x8,_0x5888c7[_0x3040ea]=_0x24f07e<<0x10|_0x24f07e>>>0x10,_0x242fe9[_0x3040ea]=_0x24f07e<<0x8|_0x24f07e>>>0x18,_0x5d66ca[_0x3040ea]=_0x24f07e;var _0x24f07e=_0x5e4376*0x1010101^_0x3a0427*0x10001^_0x215bd0*0x101^_0x3040ea*0x1010100;_0x3f5971[_0x4278da]=_0x24f07e<<0x18|_0x24f07e>>>0x8,_0x553f31[_0x4278da]=_0x24f07e<<0x10|_0x24f07e>>>0x10,_0x5cabc3[_0x4278da]=_0x24f07e<<0x8|_0x24f07e>>>0x18,_0x40b2eb[_0x4278da]=_0x24f07e,_0x3040ea?(_0x3040ea=_0x215bd0^_0x20898b[_0x20898b[_0x20898b[_0x5e4376^_0x215bd0]]],_0xc7e234^=_0x20898b[_0x20898b[_0xc7e234]]):_0x3040ea=_0xc7e234=0x1;}}());var _0x25d7a3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x192429=_0x24524c['AES']=_0x51183e[_0x3cefc1(0x375)]({'_doReset':function(){var _0xcbf3d6=_0x3cefc1,_0x422466;if(!(this['_nRounds']&&this[_0xcbf3d6(0x3c9)]===this[_0xcbf3d6(0x3aa)])){for(var _0xc8ddc2=this[_0xcbf3d6(0x3c9)]=this[_0xcbf3d6(0x3aa)],_0x3c06eb=_0xc8ddc2[_0xcbf3d6(0x4b3)],_0xc254cc=_0xc8ddc2[_0xcbf3d6(0x278)]/0x4,_0x5ee26f=this[_0xcbf3d6(0x35f)]=_0xc254cc+0x6,_0x403a27=(_0x5ee26f+0x1)*0x4,_0x46dfef=this['_keySchedule']=[],_0x1d70a1=0x0;_0x1d70a1<_0x403a27;_0x1d70a1++)_0x1d70a1<_0xc254cc?_0x46dfef[_0x1d70a1]=_0x3c06eb[_0x1d70a1]:(_0x422466=_0x46dfef[_0x1d70a1-0x1],_0x1d70a1%_0xc254cc?_0xc254cc>0x6&&_0x1d70a1%_0xc254cc==0x4&&(_0x422466=_0x16c938[_0x422466>>>0x18]<<0x18|_0x16c938[_0x422466>>>0x10&0xff]<<0x10|_0x16c938[_0x422466>>>0x8&0xff]<<0x8|_0x16c938[_0x422466&0xff]):(_0x422466=_0x422466<<0x8|_0x422466>>>0x18,_0x422466=_0x16c938[_0x422466>>>0x18]<<0x18|_0x16c938[_0x422466>>>0x10&0xff]<<0x10|_0x16c938[_0x422466>>>0x8&0xff]<<0x8|_0x16c938[_0x422466&0xff],_0x422466^=_0x25d7a3[_0x1d70a1/_0xc254cc|0x0]<<0x18),_0x46dfef[_0x1d70a1]=_0x46dfef[_0x1d70a1-_0xc254cc]^_0x422466);for(var _0x55478c=this[_0xcbf3d6(0x3d5)]=[],_0x4eeb15=0x0;_0x4eeb15<_0x403a27;_0x4eeb15++){var _0x1d70a1=_0x403a27-_0x4eeb15;if(_0x4eeb15%0x4)var _0x422466=_0x46dfef[_0x1d70a1];else var _0x422466=_0x46dfef[_0x1d70a1-0x4];_0x4eeb15<0x4||_0x1d70a1<=0x4?_0x55478c[_0x4eeb15]=_0x422466:_0x55478c[_0x4eeb15]=_0x3f5971[_0x16c938[_0x422466>>>0x18]]^_0x553f31[_0x16c938[_0x422466>>>0x10&0xff]]^_0x5cabc3[_0x16c938[_0x422466>>>0x8&0xff]]^_0x40b2eb[_0x16c938[_0x422466&0xff]];}}},'encryptBlock':function(_0x5a6ffe,_0x43eb35){var _0x2c20c7=_0x3cefc1;this['_doCryptBlock'](_0x5a6ffe,_0x43eb35,this[_0x2c20c7(0x2ca)],_0xb4aa19,_0x5888c7,_0x242fe9,_0x5d66ca,_0x16c938);},'decryptBlock':function(_0x3756a4,_0x5f294a){var _0x29fd22=_0x3cefc1,_0x2ed2c2=_0x3756a4[_0x5f294a+0x1];_0x3756a4[_0x5f294a+0x1]=_0x3756a4[_0x5f294a+0x3],_0x3756a4[_0x5f294a+0x3]=_0x2ed2c2,this[_0x29fd22(0x356)](_0x3756a4,_0x5f294a,this['_invKeySchedule'],_0x3f5971,_0x553f31,_0x5cabc3,_0x40b2eb,_0x1f172b);var _0x2ed2c2=_0x3756a4[_0x5f294a+0x1];_0x3756a4[_0x5f294a+0x1]=_0x3756a4[_0x5f294a+0x3],_0x3756a4[_0x5f294a+0x3]=_0x2ed2c2;},'_doCryptBlock':function(_0x26afd0,_0x51d1a2,_0x587aca,_0x393614,_0x4c760c,_0x45cb23,_0x2d50d1,_0x8a6c0f){var _0x4468fb=_0x3cefc1;for(var _0x5146bf=this[_0x4468fb(0x35f)],_0x4c226d=_0x26afd0[_0x51d1a2]^_0x587aca[0x0],_0x432a03=_0x26afd0[_0x51d1a2+0x1]^_0x587aca[0x1],_0x2073db=_0x26afd0[_0x51d1a2+0x2]^_0x587aca[0x2],_0x484b99=_0x26afd0[_0x51d1a2+0x3]^_0x587aca[0x3],_0x43a1a8=0x4,_0x4dcfd2=0x1;_0x4dcfd2<_0x5146bf;_0x4dcfd2++){var _0x521912=_0x393614[_0x4c226d>>>0x18]^_0x4c760c[_0x432a03>>>0x10&0xff]^_0x45cb23[_0x2073db>>>0x8&0xff]^_0x2d50d1[_0x484b99&0xff]^_0x587aca[_0x43a1a8++],_0x566f42=_0x393614[_0x432a03>>>0x18]^_0x4c760c[_0x2073db>>>0x10&0xff]^_0x45cb23[_0x484b99>>>0x8&0xff]^_0x2d50d1[_0x4c226d&0xff]^_0x587aca[_0x43a1a8++],_0x43439d=_0x393614[_0x2073db>>>0x18]^_0x4c760c[_0x484b99>>>0x10&0xff]^_0x45cb23[_0x4c226d>>>0x8&0xff]^_0x2d50d1[_0x432a03&0xff]^_0x587aca[_0x43a1a8++],_0x580535=_0x393614[_0x484b99>>>0x18]^_0x4c760c[_0x4c226d>>>0x10&0xff]^_0x45cb23[_0x432a03>>>0x8&0xff]^_0x2d50d1[_0x2073db&0xff]^_0x587aca[_0x43a1a8++];_0x4c226d=_0x521912,_0x432a03=_0x566f42,_0x2073db=_0x43439d,_0x484b99=_0x580535;}var _0x521912=(_0x8a6c0f[_0x4c226d>>>0x18]<<0x18|_0x8a6c0f[_0x432a03>>>0x10&0xff]<<0x10|_0x8a6c0f[_0x2073db>>>0x8&0xff]<<0x8|_0x8a6c0f[_0x484b99&0xff])^_0x587aca[_0x43a1a8++],_0x566f42=(_0x8a6c0f[_0x432a03>>>0x18]<<0x18|_0x8a6c0f[_0x2073db>>>0x10&0xff]<<0x10|_0x8a6c0f[_0x484b99>>>0x8&0xff]<<0x8|_0x8a6c0f[_0x4c226d&0xff])^_0x587aca[_0x43a1a8++],_0x43439d=(_0x8a6c0f[_0x2073db>>>0x18]<<0x18|_0x8a6c0f[_0x484b99>>>0x10&0xff]<<0x10|_0x8a6c0f[_0x4c226d>>>0x8&0xff]<<0x8|_0x8a6c0f[_0x432a03&0xff])^_0x587aca[_0x43a1a8++],_0x580535=(_0x8a6c0f[_0x484b99>>>0x18]<<0x18|_0x8a6c0f[_0x4c226d>>>0x10&0xff]<<0x10|_0x8a6c0f[_0x432a03>>>0x8&0xff]<<0x8|_0x8a6c0f[_0x2073db&0xff])^_0x587aca[_0x43a1a8++];_0x26afd0[_0x51d1a2]=_0x521912,_0x26afd0[_0x51d1a2+0x1]=_0x566f42,_0x26afd0[_0x51d1a2+0x2]=_0x43439d,_0x26afd0[_0x51d1a2+0x3]=_0x580535;},'keySize':0x100/0x20});_0x4a9d07[_0x3cefc1(0x282)]=_0x51183e[_0x3cefc1(0x4c9)](_0x192429);}()),_0x597a82[_0x2f4062(0x282)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x46c1fd(0x464)],at;function Xi(){var _0x5c6dd6=_0x46c1fd;return at||(at=0x1,function(_0x21dd11,_0x120dc5){(function(_0x4d173a,_0x127227){var _0x52d666=_0x65d2;_0x21dd11[_0x52d666(0x464)]=_0x127227(ee());}(Ji,function(_0x30543f){var _0x382d93=_0x65d2;return _0x30543f[_0x382d93(0x3e7)]['Utf8'];}));}(be)),be[_0x5c6dd6(0x464)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x46c1fd(0x464)],ct;function tn(){var _0x50a04d=_0x46c1fd;return ct||(ct=0x1,function(_0x4cce51,_0x305727){(function(_0x5900f0,_0x4f5324){var _0x554b56=_0x65d2;_0x4cce51[_0x554b56(0x464)]=_0x4f5324(ee());}(en,function(_0xab6476){var _0x45f65f=_0x65d2;return(function(){var _0x20d2b5=_0x65d2;if(typeof ArrayBuffer==_0x20d2b5(0x1f4)){var _0x1c47a1=_0xab6476,_0x18c241=_0x1c47a1['lib'],_0xf30c90=_0x18c241[_0x20d2b5(0x35e)],_0x468ff6=_0xf30c90['init'],_0x36b771=_0xf30c90[_0x20d2b5(0x3bf)]=function(_0x25a433){var _0x375b56=_0x20d2b5;if(_0x25a433 instanceof ArrayBuffer&&(_0x25a433=new Uint8Array(_0x25a433)),(_0x25a433 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x25a433 instanceof Uint8ClampedArray||_0x25a433 instanceof Int16Array||_0x25a433 instanceof Uint16Array||_0x25a433 instanceof Int32Array||_0x25a433 instanceof Uint32Array||_0x25a433 instanceof Float32Array||_0x25a433 instanceof Float64Array)&&(_0x25a433=new Uint8Array(_0x25a433[_0x375b56(0x4b6)],_0x25a433['byteOffset'],_0x25a433[_0x375b56(0x453)])),_0x25a433 instanceof Uint8Array){for(var _0x3eea82=_0x25a433[_0x375b56(0x453)],_0x4b7f93=[],_0x190a78=0x0;_0x190a78<_0x3eea82;_0x190a78++)_0x4b7f93[_0x190a78>>>0x2]|=_0x25a433[_0x190a78]<<0x18-_0x190a78%0x4*0x8;_0x468ff6[_0x375b56(0x238)](this,_0x4b7f93,_0x3eea82);}else _0x468ff6[_0x375b56(0x42d)](this,arguments);};_0x36b771[_0x20d2b5(0x335)]=_0xf30c90;}}()),_0xab6476[_0x45f65f(0x3b7)][_0x45f65f(0x35e)];}));}(Re)),Re[_0x50a04d(0x464)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x46c1fd(0x464)],ht;function on(){var _0x515857=_0x46c1fd;return ht||(ht=0x1,function(_0x5b4e44,_0x3877a8){(function(_0x1a04b2,_0x13ba16,_0x46b8f6){var _0x303a0f=_0x65d2;_0x5b4e44[_0x303a0f(0x464)]=_0x13ba16(ee(),Pt());}(sn,function(_0x503387){var _0x456968=_0x65d2;return _0x503387[_0x456968(0x24b)][_0x456968(0x491)]={'pad':function(){},'unpad':function(){}},_0x503387[_0x456968(0x24b)][_0x456968(0x491)];}));}(ye)),ye[_0x515857(0x464)];}var an=on();const cn=Se(an);function hn(_0x1d3d43,_0x203d21){var _0x4fe91c=_0x46c1fd;const _0x5b9f3a=_0x203d21-_0x1d3d43[_0x4fe91c(0x3c0)]%_0x203d21,_0x181f14=String[_0x4fe91c(0x4b5)](_0x5b9f3a)[_0x4fe91c(0x3a3)](_0x5b9f3a);return _0x1d3d43+_0x181f14;}function ln(_0x5ce93f,_0x51de38){var _0x29fe21=_0x46c1fd;const _0x17d70e=rn[_0x29fe21(0x3fb)](0x10),_0xceddd5=hn(_0x5ce93f,0x10),_0x4bed4d=qi[_0x29fe21(0x39c)](Qi['parse'](_0xceddd5),ot[_0x29fe21(0x308)](_0x51de38),{'iv':_0x17d70e,'padding':cn});return _0x17d70e['concat'](_0x4bed4d[_0x29fe21(0x3d6)])[_0x29fe21(0x423)](ot);}function _n(){var _0xee8a36=_0x46c1fd;const _0x5e3b90=xt[_0xee8a36(0x267)]()[_0xee8a36(0x24d)];if(_0x5e3b90){const _0x35d4b2={'time':Math[_0xee8a36(0x2c2)](Date[_0xee8a36(0x49e)]()/0x3e8),'domain':location[_0xee8a36(0x374)]};return ln(JSON[_0xee8a36(0x4e3)](_0x35d4b2),_0x5e3b90);}}var un=Object[_0x46c1fd(0x425)],dn=(_0x374201,_0x3d1c78,_0x5ebcfb,_0x4814d1)=>{var _0x56d0e8=_0x46c1fd;for(var _0x55bedb=_0x4814d1>0x1?void 0x0:_0x4814d1?un(_0x3d1c78,_0x5ebcfb):_0x3d1c78,_0x2d6f75=_0x374201[_0x56d0e8(0x3c0)]-0x1,_0x176815;_0x2d6f75>=0x0;_0x2d6f75--)(_0x176815=_0x374201[_0x2d6f75])&&(_0x55bedb=_0x176815(_0x55bedb)||_0x55bedb);return _0x55bedb;},vn=(_0x4dd76e,_0x638d18)=>(_0x1ee078,_0x269b71)=>_0x638d18(_0x1ee078,_0x269b71,_0x4dd76e);let Ne=class{constructor(_0x2843c6){var _0x149225=_0x46c1fd;this[_0x149225(0x41f)]=_0x2843c6,this[_0x149225(0x365)]();}[_0x46c1fd(0x365)](){var _0x122407=_0x46c1fd;this['_httpService'][_0x122407(0x34d)]({'interceptor':(_0x1eaaba,_0x5a7af0)=>{var _0x5aea35=_0x122407;const _0x27ada4=_0x1eaaba[_0x5aea35(0x482)],_0x58a87d=_n();return _0x58a87d&&_0x27ada4[_0x5aea35(0x307)](_0x5aea35(0x330),_0x58a87d),_0x5a7af0(_0x1eaaba);}});}};Ne=dn([vn(0x0,a[_0x46c1fd(0x24f)](q[_0x46c1fd(0x250)]))],Ne);var Sn=Object[_0x46c1fd(0x425)],fn=(_0xeadd8e,_0x1f0de1,_0x51951d,_0x1bdce3)=>{var _0x5eea0f=_0x46c1fd;for(var _0x5ab1c9=_0x1bdce3>0x1?void 0x0:_0x1bdce3?Sn(_0x1f0de1,_0x51951d):_0x1f0de1,_0x29d202=_0xeadd8e[_0x5eea0f(0x3c0)]-0x1,_0x50c317;_0x29d202>=0x0;_0x29d202--)(_0x50c317=_0xeadd8e[_0x29d202])&&(_0x5ab1c9=_0x50c317(_0x5ab1c9)||_0x5ab1c9);return _0x5ab1c9;},Me=(_0x5de9ce,_0x166f41)=>(_0x37440a,_0xaf6a59)=>_0x166f41(_0x37440a,_0xaf6a59,_0x5de9ce);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x434fb0,_0x3f4637,_0x3a44da){var _0x408a56=_0x46c1fd;super(),A(this,'_unitInfo$',new j[(_0x408a56(0x216))](null)),A(this,_0x408a56(0x30a),this[_0x408a56(0x21a)][_0x408a56(0x378)]()),(this[_0x408a56(0x3de)]=_0x434fb0,this['_snapshotService']=_0x3f4637,this[_0x408a56(0x4d6)]=_0x3a44da);}async[_0x46c1fd(0x407)](_0x267bb4,_0x18d045,_0x23c959){var _0x354d78=_0x46c1fd;this[_0x354d78(0x21a)][_0x354d78(0x26f)]({'unitId':_0x267bb4,'type':_0x18d045,'subUnitId':_0x23c959});let _0x14aaa2=null;switch(_0x18d045){case X[_0x354d78(0x38b)]:{_0x14aaa2=await this[_0x354d78(0x420)](_0x267bb4);break;}case X[_0x354d78(0x272)]:{_0x14aaa2=await this[_0x354d78(0x45d)](_0x267bb4);break;}default:{this[_0x354d78(0x3de)][_0x354d78(0x33c)](_0x354d78(0x51a),_0x354d78(0x3d2));break;}}return _0x14aaa2;}async['_loadSheet'](_0x5b3110){var _0x3f08af=_0x46c1fd,_0x30941e;let _0x125392=0x0;const _0x313219=await((_0x30941e=this[_0x3f08af(0x4d6)])==null?void 0x0:_0x30941e[_0x3f08af(0x511)](_0x5b3110));return _0x313219&&(_0x313219[_0x3f08af(0x429)]||_0x313219[_0x3f08af(0x324)][_0x3f08af(0x3c0)]!==0x0)&&(_0x125392=_0x313219['rev']),_0x125392===0x0&&this['_logService'][_0x3f08af(0x390)](_0x3f08af(0x51a),_0x3f08af(0x200)),this['_snapshotService'][_0x3f08af(0x506)](_0x5b3110,_0x125392);}async[_0x46c1fd(0x45d)](_0x500632){var _0x3cd82e=_0x46c1fd,_0x1a3875;let _0xb88a9e=0x0;const _0x3f985d=await((_0x1a3875=this['_localCacheService'])==null?void 0x0:_0x1a3875['loadOfflineData'](_0x500632));return _0x3f985d&&(_0x3f985d[_0x3cd82e(0x429)]||_0x3f985d[_0x3cd82e(0x324)][_0x3cd82e(0x3c0)]!==0x0)&&(_0xb88a9e=_0x3f985d[_0x3cd82e(0x3e0)]),_0xb88a9e===0x0&&this[_0x3cd82e(0x3de)][_0x3cd82e(0x390)](_0x3cd82e(0x51a),_0x3cd82e(0x200)),this[_0x3cd82e(0x472)][_0x3cd82e(0x3da)](_0x500632,_0xb88a9e);}},exports[_0x46c1fd(0x44b)]=fn([Me(0x0,a[_0x46c1fd(0x4de)]),Me(0x1,a['Inject'](g[_0x46c1fd(0x54e)])),Me(0x2,a[_0x46c1fd(0x347)](z))],exports['DataLoaderService']);var pn=Object[_0x46c1fd(0x425)],gn=(_0x1bc2ed,_0x4a9f8d,_0x364a82,_0x59e2cf)=>{var _0x2d9965=_0x46c1fd;for(var _0x58a310=_0x59e2cf>0x1?void 0x0:_0x59e2cf?pn(_0x4a9f8d,_0x364a82):_0x4a9f8d,_0xbfcd33=_0x1bc2ed[_0x2d9965(0x3c0)]-0x1,_0x2d1c21;_0xbfcd33>=0x0;_0xbfcd33--)(_0x2d1c21=_0x1bc2ed[_0xbfcd33])&&(_0x58a310=_0x2d1c21(_0x58a310)||_0x58a310);return _0x58a310;},xe=(_0x49aac2,_0x2e1f50)=>(_0x5109a1,_0x2c2664)=>_0x2e1f50(_0x5109a1,_0x2c2664,_0x49aac2);const mn=[_0x46c1fd(0x37c),'image/jpeg',_0x46c1fd(0x247),_0x46c1fd(0x553),_0x46c1fd(0x276)],In=0x5*0x400*0x400,En=_0x46c1fd(0x22c),Cn=_0x46c1fd(0x35b),Tn=_0x46c1fd(0x4c0),bn=_0x46c1fd(0x354);exports[_0x46c1fd(0x488)]=class{constructor(_0x22271a,_0x1bdb59,_0x284c5b){var _0xaa7d25=_0x46c1fd;A(this,_0xaa7d25(0x29b),0x0),A(this,_0xaa7d25(0x3e9),new j['Subject']()),A(this,_0xaa7d25(0x56d),this[_0xaa7d25(0x3e9)]),A(this,'_imageSourceCache',new Map()),(this[_0xaa7d25(0x41f)]=_0x22271a,this[_0xaa7d25(0x486)]=_0x1bdb59,this[_0xaa7d25(0x543)]=_0x284c5b);}[_0x46c1fd(0x3b3)](_0x3c085f){var _0x3d57b1=_0x46c1fd;this['_waitCount']=_0x3c085f,this[_0x3d57b1(0x3e9)]['next'](_0x3c085f);}[_0x46c1fd(0x416)](_0x20f784,_0x3a00f8){var _0x320460=_0x46c1fd;if(_0x3a00f8===J[_0x320460(0x235)][_0x320460(0x41e)]){const _0x5f9f8=new Image();return _0x5f9f8[_0x320460(0x38e)]=_0x20f784,_0x5f9f8;}return this[_0x320460(0x217)]['get'](_0x20f784);}[_0x46c1fd(0x37d)](_0x5e22de,_0x334eee,_0x435ae4){var _0x2a1a56=_0x46c1fd;_0x334eee===J[_0x2a1a56(0x235)]['BASE64']||_0x435ae4==null||this[_0x2a1a56(0x217)][_0x2a1a56(0x307)](_0x5e22de,_0x435ae4);}async[_0x46c1fd(0x3d4)](_0x3c5ed4){var _0x36eb60=_0x46c1fd;try{const _0x547238=this[_0x36eb60(0x34c)](this['_getSignURL'](),''+_0x3c5ed4),_0x4d091e=(await this[_0x36eb60(0x41f)]['get'](_0x547238))['body'];if(_0x4d091e['error']&&_0x4d091e[_0x36eb60(0x33c)][_0x36eb60(0x2ed)]===Ct['OK']){const _0x34cc23=new URL(_0x4d091e[_0x36eb60(0x4d8)],this['_getDownloadEndpointURL']())[_0x36eb60(0x423)]();return Promise[_0x36eb60(0x29d)](_0x34cc23);}return Promise[_0x36eb60(0x3dd)](_0x4d091e[_0x36eb60(0x33c)]);}catch(_0x1b5e9d){return Promise['reject'](_0x1b5e9d);}}async['saveImage'](_0x5ae01b){var _0x5cd54f=_0x46c1fd;let _0x4676d6='';if(!mn['includes'](_0x5ae01b['type']))return this[_0x5cd54f(0x51f)](),Promise[_0x5cd54f(0x3dd)](new Error(J[_0x5cd54f(0x46c)][_0x5cd54f(0x48b)]));if(_0x5ae01b[_0x5cd54f(0x536)]>In)return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x5cd54f(0x46c)][_0x5cd54f(0x522)]));try{const _0x2292cd=new FormData();_0x2292cd['append'](_0x5cd54f(0x343),_0x5ae01b);const _0x597b6a=this['_univerInstanceService']['getFocusedUnit'](),_0x453183=_0x597b6a==null?void 0x0:_0x597b6a[_0x5cd54f(0x49c)]();if(!_0x453183)throw new Error(_0x5cd54f(0x478));const _0x5b6619=this[_0x5cd54f(0x4e9)]()+_0x5cd54f(0x2f9)+_0x5ae01b['size'][_0x5cd54f(0x423)]()+_0x5cd54f(0x36d)+Tt[_0x5cd54f(0x50d)]+_0x5cd54f(0x39a)+encodeURIComponent(_0x453183),_0x19a847=await(await fetch(_0x5b6619,{'method':'POST','body':_0x2292cd}))[_0x5cd54f(0x3db)]();if(typeof _0x19a847[_0x5cd54f(0x2c4)]!=_0x5cd54f(0x33f))return this[_0x5cd54f(0x51f)](),Promise[_0x5cd54f(0x3dd)](new Error(J[_0x5cd54f(0x46c)]['ERROR_IMAGE']));_0x4676d6=_0x19a847[_0x5cd54f(0x2c4)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x5cd54f(0x46c)][_0x5cd54f(0x39f)]));}return new Promise((_0x2fba78,_0x360f23)=>{var _0x1bb2c3=_0x5cd54f;const _0x220a31=new FileReader();_0x220a31[_0x1bb2c3(0x507)](_0x5ae01b),_0x220a31['onload']=_0x3f6c45=>{var _0x3d1d2f=_0x1bb2c3,_0x1a2516;const _0xdcc50f=(_0x1a2516=_0x3f6c45['target'])==null?void 0x0:_0x1a2516[_0x3d1d2f(0x224)];if(_0xdcc50f==null){this[_0x3d1d2f(0x51f)](),_0x360f23(new Error(J[_0x3d1d2f(0x46c)][_0x3d1d2f(0x39f)]));return;}const _0x48e3f4=a['Tools'][_0x3d1d2f(0x3b2)](0x6);_0x2fba78({'imageId':_0x48e3f4,'imageSourceType':J[_0x3d1d2f(0x235)][_0x3d1d2f(0x233)],'source':_0x4676d6,'base64Cache':_0xdcc50f,'status':J[_0x3d1d2f(0x46c)][_0x3d1d2f(0x26d)]}),this[_0x3d1d2f(0x51f)]();};});}[_0x46c1fd(0x4e9)](){var _0x4d82c4=_0x46c1fd,_0x1dc4ac,_0x4963b8;const _0x41fbc8=this[_0x4d82c4(0x486)][_0x4d82c4(0x38a)](En),_0x595aff=this[_0x4d82c4(0x486)]['getConfig'](Y);return(_0x4963b8=(_0x1dc4ac=_0x595aff==null?void 0x0:_0x595aff[_0x4d82c4(0x2df)])!=null?_0x1dc4ac:_0x41fbc8)!=null?_0x4963b8:Cn;}[_0x46c1fd(0x1f9)](){var _0x5d0de9=_0x46c1fd,_0x12bbf7,_0x27ecdb;const _0x49f4fd=this[_0x5d0de9(0x486)][_0x5d0de9(0x38a)](Tn),_0x459af1=this[_0x5d0de9(0x486)][_0x5d0de9(0x38a)](Y);return(_0x27ecdb=(_0x12bbf7=_0x459af1==null?void 0x0:_0x459af1[_0x5d0de9(0x4cd)])!=null?_0x12bbf7:_0x49f4fd)!=null?_0x27ecdb:bn;}['_getDownloadEndpointURL'](){var _0x5cb9fb=_0x46c1fd,_0x328353;const _0x16adad=this[_0x5cb9fb(0x486)][_0x5cb9fb(0x38a)](Y);return(_0x328353=_0x16adad==null?void 0x0:_0x16adad[_0x5cb9fb(0x539)])!=null?_0x328353:location[_0x5cb9fb(0x435)];}['_replaceFileID'](_0x33e399,_0x112426){var _0x59997c=_0x46c1fd;return _0x33e399[_0x59997c(0x4f9)]('{fileID}',_0x112426);}[_0x46c1fd(0x51f)](){var _0x5e6247=_0x46c1fd;this['_waitCount']-=0x1,this['_change$'][_0x5e6247(0x26f)](this[_0x5e6247(0x29b)]);}},exports[_0x46c1fd(0x488)]=gn([xe(0x0,a['Inject'](q['HTTPService'])),xe(0x1,a[_0x46c1fd(0x449)]),xe(0x2,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x41a)]))],exports['CollaborationImageIoService']);var Rn=Object[_0x46c1fd(0x425)],yn=(_0x8e8df6,_0xa1e5c9,_0x3d4207,_0x29179b)=>{var _0x569693=_0x46c1fd;for(var _0x1a6124=_0x29179b>0x1?void 0x0:_0x29179b?Rn(_0xa1e5c9,_0x3d4207):_0xa1e5c9,_0x1c5187=_0x8e8df6[_0x569693(0x3c0)]-0x1,_0x143f4b;_0x1c5187>=0x0;_0x1c5187--)(_0x143f4b=_0x8e8df6[_0x1c5187])&&(_0x1a6124=_0x143f4b(_0x1a6124)||_0x1a6124);return _0x1a6124;},lt=(_0xf9af0b,_0xfa7625)=>(_0x15636f,_0x38b1b1)=>_0xfa7625(_0x15636f,_0x38b1b1,_0xf9af0b);const On=_0x46c1fd(0x2e9);exports['MentionIoHttpService']=class{constructor(_0x12914f,_0x41e4ec){var _0x462f02=_0x46c1fd;this[_0x462f02(0x486)]=_0x12914f,this['_HTTPService']=_0x41e4ec;}[_0x46c1fd(0x302)](){var _0xe565f0=_0x46c1fd,_0x4c5823,_0x33d622;const _0x2f432c=this['_configService']['getConfig'](Ge),_0x2b2e54=this[_0xe565f0(0x486)][_0xe565f0(0x38a)](Y);return(_0x33d622=(_0x4c5823=_0x2b2e54==null?void 0x0:_0x2b2e54[_0xe565f0(0x2e6)])!=null?_0x4c5823:_0x2f432c)!=null?_0x33d622:On;}async['list'](_0x4268de){var _0x45bd72=_0x46c1fd;const _0x3cfc76=this['_getAPIPrefixPath']()+_0x45bd72(0x463);return{'list':[{'title':_0x45bd72(0x537),'mentions':(await this[_0x45bd72(0x23b)][_0x45bd72(0x528)](_0x3cfc76,{'params':{'objectID':_0x4268de[_0x45bd72(0x285)],'unitID':_0x4268de[_0x45bd72(0x285)]}}))[_0x45bd72(0x394)][_0x45bd72(0x552)][_0x45bd72(0x2f3)](_0x55922c=>({'objectId':_0x55922c['id'],'name':_0x55922c[_0x45bd72(0x3a0)][_0x45bd72(0x44d)],'metadata':{'icon':_0x55922c[_0x45bd72(0x3a0)][_0x45bd72(0x50a)]},'label':_0x55922c[_0x45bd72(0x3a0)][_0x45bd72(0x44d)],'objectType':a[_0x45bd72(0x4ed)]['PERSON']})),'metadata':{},'type':a[_0x45bd72(0x4ed)][_0x45bd72(0x253)]}]};}},exports[_0x46c1fd(0x3c7)]=yn([lt(0x0,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x449)])),lt(0x1,a[_0x46c1fd(0x24f)](q[_0x46c1fd(0x250)]))],exports[_0x46c1fd(0x3c7)]);var Nn=Object[_0x46c1fd(0x425)],Dn=(_0x5a18e5,_0x35e2a2,_0x186ac2,_0x11e2aa)=>{var _0x48bd05=_0x46c1fd;for(var _0x563b52=_0x11e2aa>0x1?void 0x0:_0x11e2aa?Nn(_0x35e2a2,_0x186ac2):_0x35e2a2,_0x3ab898=_0x5a18e5[_0x48bd05(0x3c0)]-0x1,_0x4d5744;_0x3ab898>=0x0;_0x3ab898--)(_0x4d5744=_0x5a18e5[_0x3ab898])&&(_0x563b52=_0x4d5744(_0x563b52)||_0x563b52);return _0x563b52;},ue=(_0x410eb9,_0x31e3e5)=>(_0x1a810b,_0x3f9d08)=>_0x31e3e5(_0x1a810b,_0x3f9d08,_0x410eb9);function _0x2a73(){var _0xb642e=['/-/object/list','_updateLocalCache','/fetchmissing?from=','HTTPRequest','_emitMembers','NoPadding','selections','COMPRESS_MUTATION_APPLY','LICENSE_EXPORT_SIZE_EXCEEDED','transformSelections','isInternalEditorID','onLocalMutation','event$','UniverInstanceType','_onJoinRoomEvent','_onConnectionOpen','getUnitId','LOGIN_FAILED','now','InsertSheetMutation','getUnitStatus$','resend','_map','join','onRemoteAck','CommandType','UNIVER_PROJECT','_compressMutationService','_substituteUndoStack','_submitChangeset','_scheduleCollaborationTimeoutTimer','NOT_FOUND','getCurrentUser','ITelemetryService','LEAVE','_undoStacks','toggleOnline','$super','startTime','words','baseRev','fromCharCode','buffer','/universer-api/user/session-ticket','_cipher','commentUpdate$','_socketMessageSubscription','_shouldReportTelemetry','isPermissionRej','Utf8','onCommentUpdate','[PendingState]:\x20received\x20rejection.','EXCHANGE_SIGN_URL_SERVER_URL_KEY','FAIL','LIVESHARE_REQUEST_HOST','_telemetryInfo','deserializeToCombResponse','reverse','/object/','params','_onConnectionFailed','_createHelper','SnapshotServerOverHTTPService','interceptor','_onRemoteACK','signUrlServerUrl','_awaitingChangeset','RevisionService','getValue','saveSnapshot','INetworkConditionService','padding','JOIN_ROOM_FAILED','_getCurrentRevision','_localCacheService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','url','CollaborationSession','MD5','_sendingTimer','PendingState','status','ILogService','disposeWithMe','Disposable','_data','CLOSE_ROOM','stringify','ReplaySubject','execute','msCrypto','_reverseMap','_state$','_getUploadFileURL','unsubscribe','complete','_entities','MentionType','revision','CollaborationUIEventId','stopTime','_transformStack','ICollaborationSocketService','_clearHeartbeatTimer','not_collab','&to=','confirm','putCollaborators','_transformIMECache','replace','_checkMissing','ALREADY_EXISTS','objects','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','NOT_COLLAB','responseType','_resendWithTimeout','HmacMD5','_removeRoom','_commentService','_candidateSocket','UNISCRIPT_RUN','loadSheet','readAsDataURL','getFocusedUnit','readyForCollab','avatar','state$','onTransformRemoteChangesetByStateCache','UnitEmbedded','_createInitialState','getSheetBlock','_instanceService','loadOfflineData','AWAITING','_unitID','parseChangesetToProtocol','LICENSE_DISTRO_REJECTED','getMemberID','[OfflineState]:\x20received\x20rejection.','LIVESHARE_OPERATION','_exhaustRemoteChangesetQueue','[DataLoaderService]','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_syncEditingCollabCursor','DEFAULT_WS_SESSION_TICKET_URL','executeCommand','_decreaseWaiting','\x0aCurrent:\x20','onTransformIME','ERROR_EXCEED_SIZE','_executeRemoteChangeset','UNDEFINED','onRemoteChangeset','csRejEvent','connection\x20error','get','keySize','from','saveSheetBlock','awaiting','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','DocCollaborationEntity','_schedule','csShouldRetryEvent','CompressMutationService','addHandlerCallback','algo','univer-pro.collaboration-client-socket-service','_disableEditing','size','People','toggleOffline','downloadEndpointUrl','[CollaborationSessionService]','appendMutation','\x0aAfter:\x20','reset','joinEvent','_iv','LOGIN_URL_KEY','APPLY_NON_SEQUENTIAL_REVISION','sin','_univerInstanceService','transformChangesets','onSendChangeset','_clearScheduledTask','CBC','CHANGESET_REVISION_CONFILICT','Latin1','OPTIONAL','cmd','/allowed','dispose$','SnapshotService','setConfig','capture','SOCKET_FAILED_RETRY','collaborators','image/gif','COLLAB_SUBMIT_CHANGESET_URL_KEY','_localeService','session.room-permission-denied','cfg','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','createInstance','PY_RUNTIME_SCRIPT_ERROR','_unlockTransition','388290zATEWY','unknown','session','OfflineState','_doCreateSocket','close','reqId','YUUMI_UNABLE_LOAD_URL','delete','_oKey','PERMISSION_DENIED','SNAPSHOT_URL_KEY','Tools','workbook','_getSendChangesetTimeout','_members','parseProtocolChangeset','change$','YUUMI_URL_COL_OUT_OF_RANGE','_sendHeartbeatTimer','_onUserLeave','requireSession','FetchingMissState','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','USERS_LEAVE','status$','_transformUndoredo','entries','function','offline','_tryEnsureSocket','updateCollaborator','startsWith','_getSignURL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onRemoteRetry','catch','auth.needGotoLoginAlert','_onRemoteRetry','_pendingMutations','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_clearTimeoutTimer','snapshot','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_sheetTransformSelectionsService','pauseCollaboration','_getLoginPath','_entityInit$','mapDocumentTypeToUniverType','SNAPSHOT_INVALID_SNAPSHOT','_config','SheetTransformSelectionsService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','liveShareNewHost','_isPermissionRej','_userManagerService','Error\x20on\x20receiving\x20event','/universer-api/comb','_socket','mixIn','_getCtorByUniverType','userID','BehaviorSubject','_imageSourceCache','charAt','ivSize','_unitInfo$','getCurrentRevOfUnit','encode','HttpImport','SUBMIT_CHANGESET','fetch_missing','duration','CipherParams','PERMISSION_REJ','MUTATION','result','_status$','isTransformMutationsWithChangesetFailure','_rescheduleHeartbeat','SNAPSHOT_HAS_BEEN_REMOVED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_transformStateCache','?url=','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_REVISION_CONFILICT','APPLY_DUPLICATED','compose','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ITransformService','RxDisposable','UUID','_initMergeInterceptor','ImageSourceType','UnitSnapshot','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','call','_onMessage','UPDATE_CURSOR','_HTTPService','_collaborationTimeoutTimer','data','sid','updatePermissionPoint','ThresholdInterceptorFactory','Hasher','UNKNOWN_CODE','socket\x20close','findIndex','forEach','c1Prime','image/jpg','JOIN_ROOM_FULL','collabSubmitChangesetUrl','put','pad','saveChangeset','__Key__','[CollaborationUndoRedoService]','Inject','HTTPService','rng','_telemetryService','PERSON','_members$','IImageIoService','SHA1','_doProcessBlock','_transformRemoteChangesetByStateCache','push','CollaborativeUndoRedoService','ONLINE','UniverCollaborationPlugin','EmptyMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_doReset','_mode','awaiting_with_pending','JOIN_ROOM_NOT_EXISTS','BlockCipherMode','send','filter','_parse','getGlobalObject','_transformService','/unit/','TOO_MANY_REQUESTS','BufferedBlockAlgorithm','_iKey','SUCCUSS','add','next','getCollabEntity$','CHANGESET_ACK','UNIVER_DOC','80FjGhud','post','_scheduleCompleteTimestamp','image/bmp','SheetsSelectionsService','sigBytes','onRemoteRej','_undoRedoService','ILocalCacheService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','IMentionIOService','collaboration-client.config','_stopTelemetryCollaborationNewChangeset','HEARTBEAT_TIMEOUT_KEY','@univerjs/docs','AES','sessionStatus$','createEncryptor','unitId','__esModule','_waitForHeartbeatResponse','listCollaborators','format','USERS_ENTER','localCacheService','Could\x20not\x20dynamically\x20require\x20\x22','subscribe','objectID','session.room-cnt-exceeds','USER_NOT_INVITED_CODE','SNAPSHOT_SERVER_URL_KEY','_changesetSessionId','IContextService','_networkConditionService','m2Prime','getLatestCsReqIdBySid','state','_onRemoteChangeset','MSG_FOR_ERROR','HEARTBEAT','_waitCount','kdf','resolve','HmacSHA1','leaveEvent','_applyRemoteChangeset','joinRsp','Failed\x20to\x20update\x20permission\x20point','members','clone','@univerjs/telemetry','\x20in\x20_schedule.','updateMember','collaboration-client.local-cache-service','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','close$','AUTHZ_URL_KEY','getTypeOfUnitAdded$','updatePermissionObjEvent','fetchMissingChangesets','_onOffline','_toggleOffline','_tryReconnect','@univerjs-pro/collaboration','YUUMI_RATE_OVER_LIMIT','equals','_updateState','YUUMI_SUBSCRIPTION_NOT_FOUND','_getAPIPrefix','iterations','min','getCurrentSelections','OFFLINE','resourceIDs','createCollaborator','_onLocalMutation','_permissionService','DEFAULT_FILE_NAME','_commentUpdate$','floor','telemetry\x20info\x20is\x20not\x20initialized','FileId','_roomMembers','SUBMIT_CHANGESET_TIMEOUT','allowed','every','OTHER_CLIENTS_EDITING','_keySchedule','PasswordBasedCipher','[CollaborationState]:\x20apply\x20error!','APPLY_REJECT','uniscriptRunEvent','_minBufferSize','patch','_ENC_XFORM_MODE','_socketService','_sender','CHANGESET_REJ','_timeoutTimer','_createHandler','take','setCurrentUser','finalize','disableLocalCache','getSnapshotAPIPath','updateOfflineData','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','shareReplay','uploadFileServerUrl','removeMember','@univerjs/drawing','INVALID_INVITE_CODE','getAllMembers','UNAUTHENTICATED','[SyncedState]:\x20received\x20rejection.','authzUrl','_incrementRevisionNumber','__creator','/universer-api/authz','fetching\x20missing\x20changesets\x20from\x20','enableSingleActiveInstanceLock','emitEvent','code','hasOwnProperty','OpenSSL','LICENSE_IMPORT_SIZE_EXCEEDED','Univer','_onRecvEvent','map','_state','CollaborationEntity','session.room-full','concat','_clearRetryConnectingTimer','?size=','_getUndoStack','968272Ghlgwa','Quantity','_transitionLocked','_prevBlock','_lockTransition','objectType','serializeCombRequest','_getAPIPrefixPath','encodeURIComponent','blockSize','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','socket$','set','parse','salt','unitInfo$','onTransformRemoteChangesetByIMECache','Injector','_nDataBytes','isTransformMutationsWithChangesetSuccess','range','updateCursorEvent','editingUnit','_clearCollaborationTimeoutTimer','_changesetReqId','SerializableCipher','IPermissionService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','rxjs','_xformMode','_onConflict','createDecryptor','SOCKET_FAILED','merge','requestParams','unit-cache-','@univerjs-pro/license','_DEC_XFORM_MODE','splice','AuthzIoHttpService','getCollabEntity','mutations','_toggleOnline','GLOBAL_ROOMS_CNT_EXCEEDS','find','_commandService','routeKey','HEARTBEAT_INTERVAL_KEY','UPDATE_PERMISSION_OBJ','_remoteChangesetQueue','onStateChange','csAckEvent','UNIVER_SLIDE','x-univer-host','_onCombEvent','decrypt','default','_joinRoom','prototype','fromCollab','type','_resendTimeout','touchDependencies','defineProperty','takeUntil','error','CollaborationSessionService','SEND_CHANGESET_TIMEOUT','string','createSocket','reduce','UserManagerService','file','SheetCollaborationEntity','SessionStatus','memberID','Optional','UniverNetworkPlugin','_initCloseConn','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','INVITE_CODE_ALREADY_BOUND','_replaceFileID','registerHTTPInterceptor','then','online$','@univerjs/network','liveShareOperation','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getMember','/universer-api/file/{fileID}/sign-url','LOCAL_CACHE_INTERVAL','_doCryptBlock','message$','_socket$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','create','/universer-api/stream/file/upload','JOINING','_collabSessionService','WordArray','_nRounds','_collaborationUIEventService','socketService','COMPLETION_FINISHED','infoRsp','sessionStatus','_initRequestHeader','464149QInHxg','entityInit$','ISnapshotServerService','_resendTimer','_sessions','getInterceptPoints','enableOfflineEditing','&source=','conflict','/rev/','_throwTelemetryCollaborationNewChangeset','RECV','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','hostname','extend','_process','SHOULD_CLOSE_CONN','asObservable','crypto','_queuedRemoteChangesets','indexOf','image/png','addImageSourceCache','transformUndoRedo','getTime','onTransformState','NEW_CHANGESETS','_transformRemoteChangesetByIMECache','_sessionStatus$','Base','48SEIxeY','closeSession','SyncedState','pipe','values','getConfig','UNIVER_SHEET','roomInfos','session.join-failed','src','FETCH_MISS','debug','CollaborationController','ceil','Malformed\x20UTF-8\x20data','body','_registerDependencies','CollaborationEvent','ConflictState','BlockCipher','reconnect','&assign=','onMissedChangesetFetched','encrypt','_retryCount','/universer-api/snapshot','ERROR_IMAGE','subject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Cipher','repeat','Subject','_injector','COLLAB_WEB_SOCKET_URL_KEY','location','error$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_key','[CollaborationEntity]','clamp','_initDependencies','NO_OTHER_CLIENTS_EDITING','_init','method','sheets','generateRandomId','setWaitCount','_append','288261Tpphwd','_acknowledgedAwaitingChangeset','lib','/universer-api/oidc/authpage','randomUUID','1748286SnHmFp','eventID','DependentOn','LIVESHARE_NEW_HOST','transformMutationsWithChangeset','init','length','setShowComponents','LICENSE_MAX_UNITS_EXCEEDED','APPLY_PERMISSION_DENIED','IUndoRedoService','has','collabWebSocketUrl','MentionIoHttpService','getSheetId','_keyPriorReset','onCommandExecuted','hasher','INVITE_CODE_REQUIRED','registerDependencies','mergeOverrideWithDependencies','SetSelectionsOperation','_substituteRedoStack','fetchThroughInterceptors','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','deleteCollaborator','getImage','_invKeySchedule','ciphertext','_revisionService','RETRY_CONNECTING_MAX_COUNT_KEY','isTransformChangesetsSuccess','loadDoc','json','getTypeOfUnitDisposed$','reject','_logService','@univerjs/core','rev','_createSocket','loginUrlKey','failed\x20to\x20apply\x20missed\x20changesets!','JOIN_ROOM_PERMISSION_DENIED','bind','48talVNx','enc','ws://127.0.0.1:8000/universer-api/comb/connect','_change$','WorkbookEditablePermission','_handlerCallback','AwaitingWithPendingState','onSyncEditingCollabCursor','roles','LOCAL_CACHE_INTERVAL_KEY','OTHER_CLIENT_EDITING','MemberService','_socketReady','pluginName','permissionRejEvent','_onFetchMissResult','_startTelemetryCollaborationNewChangeset','ICommandService','_clearLocalCache','UNKNOWN_CMD','readInt32LE','random','getRandomValues','getLocalCacheKey','waitForRoom$','INGEST','createIdentifier','/universer-api/snapshot/','clear','title','_sendHeartbeat','StreamCipher','_fetchMissChangesets','loadUnit','HELLO','_singleActiveUnitService','concatMap','textEncoder','INVITE_CODE_HAS_BEEN_UES','UniverCollaborationClientPlugin','_type','_updateStatus','_doFinalize','changesets','UNRECOGNIZED','synced','CONNECTOR_DATA_TOO_LARGE','getRoom','getImageSourceCache','Base64','getResourcesRequest','Plugin','IUniverInstanceService','max','ENSURE_SNAPSHOT_EXECUTION','[UniverCollaborationClientPlugin]','BASE64','_httpService','_loadSheet','LIVESHARE_FETCH_OPERATIONS','Workbook','toString','_createInitialStateImpl','getOwnPropertyDescriptor','retryConnectingInterval','charCodeAt','/new_changes','awaitingChangeset','collaboration_new_changeset','LocaleService','_handler','apply','/block/','getUnitOnRev','onlyLocal','update','randomBytes','_getRedoStack','commentUpdateEvent','origin','EvpKDF','_event$','_retryConnectingTimer','_onRemoteRejected','getWorkbookSelections','_collaborationSessionService','batchAllowed','UNIVER_UNKNOWN','_memberService','_hasher','onMissingChangesets','editing\x20status\x20changed\x20to','_collaborationPaused','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','subUnitId','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onTransformSelections','CHANGESET_SHOULD_RETRY','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','IConfigService','\x20to\x20','DataLoaderService','pending','name','actions','open$','decryptBlock','fetchMiss','RichTextEditingMutation','byteLength','Undefined','b64DecodeUnicode','dispose','[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.','/object','JOIN','_eventService','collaMsg','withCredentials','_loadDoc','textRanges','_hash','SYNCED','_startCollaboration','CONFLICT','/collaborator','exports','key','copyFileMeta','unitID','_roomCreated$','focused$','AwaitingState','PSEUDO_FETCH_MISSING_RESULT','ImageUploadStatusType','_replayCachedMutations','newCsEvent','COMPRESS_MUTATION_SEND','onStarting','IDLE','_snapshotService','Encryptor','CollaborationUIEventService','originalMeta','snapshotServerUrl','65412PlFwzR','unitId\x20is\x20not\x20found','UnitStatus','_clearRedo','INVALID_ARGUMENT','toDisposable','HttpExport','CollaborationSocketService','_showConflictNotification','@univerjs/sheets','218866CgLJvC','headers','COMMENT_UPDATE','slice','[CollaborationSessionService]:\x20socket\x20error','_configService','[CollaborationSession]','CollaborationImageIoService','MergeInterceptorFactory','mode','ERROR_IMAGE_TYPE'];_0x2a73=function(){return _0xb642e;};return _0x2a73();}let De=class extends a[_0x46c1fd(0x232)]{constructor(_0x301fd2,_0x195157,_0x1edb9f,_0x5a5f79,_0x254b63){var _0x3ecba2=_0x46c1fd;super(),this[_0x3ecba2(0x3a5)]=_0x301fd2,this[_0x3ecba2(0x543)]=_0x195157,this['_permissionService']=_0x1edb9f,this[_0x3ecba2(0x43b)]=_0x5a5f79,this['_collaborationUIEventService']=_0x254b63,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x46c1fd(0x349)](){var _0xaa2cff=_0x46c1fd;const _0x56433e=async _0x365990=>{var _0x5bb777=_0x65d2;(await this[_0x5bb777(0x43b)][_0x5bb777(0x571)](_0x365990))['event$']['pipe'](V['filter'](_0x5c3111=>_0x5c3111[_0x5bb777(0x3bb)]===g['CollaborationEvent']['SHOULD_CLOSE_CONN']),V[_0x5bb777(0x33b)](this[_0x5bb777(0x54d)]))['subscribe'](_0x558f1c=>{var _0x5aad5d=_0x5bb777;const _0x1c88e4=_0x558f1c,{reason:_0x1cb34c}=_0x1c88e4[_0x5aad5d(0x23d)];this['_collaborationUIEventService'][_0x5aad5d(0x2ec)]({'id':Q[_0x5aad5d(0x4e2)],'data':_0x1cb34c}),this['_permissionService'][_0x5aad5d(0x23f)](new Z[(_0x5aad5d(0x3ea))](_0x365990)['id'],!0x1),this[_0x5aad5d(0x43b)][_0x5aad5d(0x386)](_0x365990);});};j[_0xaa2cff(0x31c)](this[_0xaa2cff(0x543)][_0xaa2cff(0x2ac)](a[_0xaa2cff(0x499)][_0xaa2cff(0x38b)]),this['_univerInstanceService'][_0xaa2cff(0x2ac)](a[_0xaa2cff(0x499)][_0xaa2cff(0x272)]))[_0xaa2cff(0x388)](V['map'](_0xd2f6af=>_0xd2f6af['getUnitId']()),V[_0xaa2cff(0x265)](_0x208a2d=>!a[_0xaa2cff(0x496)](_0x208a2d)),V['takeUntil'](this[_0xaa2cff(0x54d)]))[_0xaa2cff(0x28d)](_0x2f704b=>{_0x56433e(_0x2f704b);});}['_initUnitPermissionChange'](){var _0x1fddfa=_0x46c1fd;const _0x2f4f36=async _0x1d6671=>{var _0x1aa714=_0x65d2;const _0x12f67a=await this[_0x1aa714(0x43b)][_0x1aa714(0x571)](_0x1d6671),_0x401af1=this[_0x1aa714(0x3a5)][_0x1aa714(0x528)](Z['SheetPermissionInitController']);_0x12f67a[_0x1aa714(0x498)][_0x1aa714(0x388)](V[_0x1aa714(0x265)](_0x295ea1=>_0x295ea1[_0x1aa714(0x3bb)]===g['CollaborationEvent'][_0x1aa714(0x32b)]),V[_0x1aa714(0x33b)](this[_0x1aa714(0x54d)]))[_0x1aa714(0x28d)](_0x151c9b=>{var _0x1cac39=_0x1aa714;const _0x1d5e6b=_0x151c9b,{objectId:_0x254106}=_0x1d5e6b[_0x1cac39(0x23d)];_0x254106===_0x1d6671?_0x401af1['initWorkbookPermissionChange'](_0x1d6671):_0x401af1['refreshPermission'](_0x1d6671,_0x254106);});};j[_0x1fddfa(0x31c)](this[_0x1fddfa(0x543)]['getTypeOfUnitAdded$'](a[_0x1fddfa(0x499)][_0x1fddfa(0x38b)]))[_0x1fddfa(0x388)](V[_0x1fddfa(0x2f3)](_0x2a0926=>_0x2a0926[_0x1fddfa(0x49c)]()),V[_0x1fddfa(0x265)](_0x3038a7=>!a[_0x1fddfa(0x496)](_0x3038a7)),V['takeUntil'](this[_0x1fddfa(0x54d)]))['subscribe'](_0x184350=>{_0x2f4f36(_0x184350);});}};De=Dn([ue(0x0,a[_0x46c1fd(0x24f)](a[_0x46c1fd(0x30c)])),ue(0x1,a[_0x46c1fd(0x41a)]),ue(0x2,a['IPermissionService']),ue(0x3,a[_0x46c1fd(0x24f)](exports[_0x46c1fd(0x33d)])),ue(0x4,a[_0x46c1fd(0x24f)](te))],De);var Un=Object[_0x46c1fd(0x425)],An=(_0x2e0c3d,_0x3e5b22,_0x38c202,_0x220e62)=>{var _0x2959fc=_0x46c1fd;for(var _0x572a6c=_0x220e62>0x1?void 0x0:_0x220e62?Un(_0x3e5b22,_0x38c202):_0x3e5b22,_0x3956bb=_0x2e0c3d[_0x2959fc(0x3c0)]-0x1,_0x4c6ee2;_0x3956bb>=0x0;_0x3956bb--)(_0x4c6ee2=_0x2e0c3d[_0x3956bb])&&(_0x572a6c=_0x4c6ee2(_0x572a6c)||_0x572a6c);return _0x572a6c;},_t=(_0x5a32f5,_0x30642a)=>(_0x2c0311,_0x174711)=>_0x30642a(_0x2c0311,_0x174711,_0x5a32f5);exports[_0x46c1fd(0x4ca)]=class{constructor(_0x2ed525,_0x52f7a2){var _0x384952=_0x46c1fd;this[_0x384952(0x486)]=_0x2ed525,this[_0x384952(0x41f)]=_0x52f7a2;}async[_0x46c1fd(0x42f)](_0x16bd06,_0x4280f7){var _0x175a05=_0x46c1fd,_0x4826a2;const {unitID:_0x50ccf6,type:_0x3047bc,revision:_0x1bd238=0x0}=_0x4280f7,_0x22ea99=this['getSnapshotAPIPath']()+'/'+_0x3047bc+_0x175a05(0x269)+_0x50ccf6+_0x175a05(0x36f)+_0x1bd238,_0x517f28=(await this[_0x175a05(0x41f)][_0x175a05(0x528)](_0x22ea99))[_0x175a05(0x394)],_0x40c701=(_0x4826a2=_0x517f28[_0x175a05(0x202)])==null?void 0x0:_0x4826a2[_0x175a05(0x569)];if(_0x40c701){const _0x397e71=_0x40c701==null?void 0x0:_0x40c701['originalMeta'],_0x5bd45f=g[_0x175a05(0x40b)][_0x175a05(0x21c)](g[_0x175a05(0x455)](_0x397e71));_0x40c701[_0x175a05(0x475)]=_0x5bd45f,Object[_0x175a05(0x1f3)](_0x40c701[_0x175a05(0x3b1)])[_0x175a05(0x245)](([,_0x2c5867])=>{var _0x202611=_0x175a05;const _0x26aee9=_0x2c5867[_0x202611(0x475)],_0x2c1985=g['textEncoder'][_0x202611(0x21c)](g['b64DecodeUnicode'](_0x26aee9));_0x2c5867[_0x202611(0x475)]=_0x2c1985;});}return _0x517f28;}async[_0x46c1fd(0x50f)](_0x3fb1b3,_0x36c7b9){var _0x8e1754=_0x46c1fd;const {unitID:_0x19deb1,type:_0x3093e7,blockID:_0x10054c}=_0x36c7b9,_0x2f4a7f=this[_0x8e1754(0x2b7)]()+'/'+_0x3093e7+_0x8e1754(0x269)+_0x19deb1+_0x8e1754(0x42e)+_0x10054c;return(await this['_httpService']['get'](_0x2f4a7f))[_0x8e1754(0x394)];}async['getDeserializedSheetBlock'](_0x33e5a7,_0x3ee092){var _0x2f21f9=_0x46c1fd;const {unitID:_0xab9ecc,type:_0x14534a,blockID:_0x25a18d}=_0x3ee092,_0x57af4f=this[_0x2f21f9(0x2b7)]()+'/block/'+_0x14534a+_0x2f21f9(0x269)+_0xab9ecc+_0x2f21f9(0x42e)+_0x25a18d;return(await this[_0x2f21f9(0x41f)][_0x2f21f9(0x528)](_0x57af4f))['body'];}async[_0x46c1fd(0x2ae)](_0x132734,_0x5e26c6){var _0x25b094=_0x46c1fd;const {unitID:_0x45a883,type:_0x594700,from:_0x48dd07,to:_0x4c7c73}=_0x5e26c6,_0x499c08=this[_0x25b094(0x2b7)]()+'/'+_0x594700+'/unit/'+_0x45a883+_0x25b094(0x48e)+_0x48dd07+_0x25b094(0x4f5)+_0x4c7c73;return(await this[_0x25b094(0x41f)]['get'](_0x499c08))['body'];}[_0x46c1fd(0x2db)](){var _0x3c0e8a=_0x46c1fd,_0x31d1c6;return(_0x31d1c6=this[_0x3c0e8a(0x486)][_0x3c0e8a(0x38a)](vt))!=null?_0x31d1c6:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x491c81=_0x46c1fd,_0x20716a,_0x6f7b78;const _0x527895=this[_0x491c81(0x486)][_0x491c81(0x38a)](dt),_0x32e1db=this[_0x491c81(0x486)][_0x491c81(0x38a)](Y);return(_0x6f7b78=(_0x20716a=_0x32e1db==null?void 0x0:_0x32e1db[_0x491c81(0x476)])!=null?_0x20716a:_0x527895)!=null?_0x6f7b78:kt;}async[_0x46c1fd(0x418)](_0x425cd0,_0x14793e){var _0x4aa147=_0x46c1fd;const _0x4d64ce=_0x4aa147(0x401)+_0x14793e[_0x4aa147(0x337)]+_0x4aa147(0x269)+_0x14793e[_0x4aa147(0x467)]+'/resources';return(await this[_0x4aa147(0x41f)]['get'](_0x4d64ce,{'params':{'resourceId':JSON['stringify'](_0x14793e[_0x4aa147(0x2bc)])}}))[_0x4aa147(0x394)];}[_0x46c1fd(0x4d1)](){var _0x3b5e15=_0x46c1fd;throw new Error(_0x3b5e15(0x445));}[_0x46c1fd(0x52b)](){var _0x1171d9=_0x46c1fd;throw new Error(_0x1171d9(0x445));}[_0x46c1fd(0x24c)](){var _0x2c589e=_0x46c1fd;throw new Error(_0x2c589e(0x445));}[_0x46c1fd(0x466)](){var _0x3b6219=_0x46c1fd;throw new Error(_0x3b6219(0x445));}[_0x46c1fd(0x296)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x46c1fd(0x4ca)]=An([_t(0x0,a[_0x46c1fd(0x449)]),_t(0x1,a[_0x46c1fd(0x24f)](q[_0x46c1fd(0x250)]))],exports[_0x46c1fd(0x4ca)]);var Pn=Object[_0x46c1fd(0x425)],wn=(_0x40a89b,_0x453e13,_0x39593e,_0xc91709)=>{var _0x21d8d2=_0x46c1fd;for(var _0x537e6f=_0xc91709>0x1?void 0x0:_0xc91709?Pn(_0x453e13,_0x39593e):_0x453e13,_0x55c434=_0x40a89b[_0x21d8d2(0x3c0)]-0x1,_0x1cfbad;_0x55c434>=0x0;_0x55c434--)(_0x1cfbad=_0x40a89b[_0x55c434])&&(_0x537e6f=_0x1cfbad(_0x537e6f)||_0x537e6f);return _0x537e6f;},de=(_0x34111d,_0x4a8798)=>(_0x1847ab,_0x537564)=>_0x4a8798(_0x1847ab,_0x537564,_0x34111d);exports['CollaborativeUndoRedoService']=class extends a['LocalUndoRedoService']{constructor(_0x59ca30,_0x2d34f1,_0x94d815,_0x297289,_0x4771a4){var _0x27cacc=_0x46c1fd;super(_0x59ca30,_0x2d34f1,_0x94d815),this[_0x27cacc(0x268)]=_0x297289,this[_0x27cacc(0x3de)]=_0x4771a4;}[_0x46c1fd(0x37e)](_0x2098e7,_0x3dccec){var _0x19580b=_0x46c1fd;const _0x591c48=this[_0x19580b(0x2fa)](_0x2098e7);if(_0x591c48)try{const _0x3d699a=this[_0x19580b(0x4f1)](_0x591c48,_0x3dccec);this[_0x19580b(0x4a8)](_0x2098e7,_0x3d699a);}catch(_0x4bcd00){this[_0x19580b(0x3de)][_0x19580b(0x33c)](_0x19580b(0x24e),_0x4bcd00),this['_clearUndo'](_0x2098e7);}const _0x1fa2f8=this['_getRedoStack'](_0x2098e7);if(_0x1fa2f8)try{const _0x1e65e9=this[_0x19580b(0x4f1)](_0x1fa2f8,_0x3dccec);this[_0x19580b(0x3d0)](_0x2098e7,_0x1e65e9);}catch(_0x387916){this[_0x19580b(0x3de)][_0x19580b(0x33c)](_0x387916),this['_clearRedo'](_0x2098e7);}}['_clearUndo'](_0xcdd9c9){var _0x5562b9=_0x46c1fd;const _0x4750e9=this[_0x5562b9(0x2fa)](_0xcdd9c9);_0x4750e9&&(_0x4750e9[_0x5562b9(0x3c0)]=0x0,this[_0x5562b9(0x40f)]());}[_0x46c1fd(0x47a)](_0x195d0d){var _0x237629=_0x46c1fd;const _0x589316=this[_0x237629(0x433)](_0x195d0d);_0x589316&&(_0x589316['length']=0x0,this[_0x237629(0x40f)]());}[_0x46c1fd(0x4a8)](_0x1ce2bd,_0x20ec08){var _0x2ca3cc=_0x46c1fd;this[_0x2ca3cc(0x4af)]['set'](_0x1ce2bd,_0x20ec08),this['_updateStatus']();}[_0x46c1fd(0x3d0)](_0x585299,_0x30ac3c){var _0x4892b1=_0x46c1fd;this['_redoStacks'][_0x4892b1(0x307)](_0x585299,_0x30ac3c),this[_0x4892b1(0x40f)]();}[_0x46c1fd(0x4f1)](_0x101eda,_0x5e132e){var _0x2bcb09=_0x46c1fd;const _0x44e6f3=[];let _0x4f4650=_0x5e132e,_0x368678=_0x5e132e;for(let _0x186bea=_0x101eda['length']-0x1;_0x186bea>=0x0;_0x186bea--){const {unitID:_0x5c6e9c,undoMutations:_0x4a8e1b,redoMutations:_0xe14a6e}=_0x101eda[_0x186bea],_0x2caea5=this[_0x2bcb09(0x268)][_0x2bcb09(0x3be)](_0x4f4650,_0x4a8e1b),_0xc6a179=this[_0x2bcb09(0x268)][_0x2bcb09(0x3be)](_0x368678,_0xe14a6e);if(g[_0x2bcb09(0x226)](_0x2caea5)||g[_0x2bcb09(0x226)](_0xc6a179)){this[_0x2bcb09(0x3de)][_0x2bcb09(0x33c)](_0x2bcb09(0x24e),'transformStack\x20failed!',_0x2caea5,_0xc6a179);break;}_0x4f4650=_0x2caea5[_0x2bcb09(0x246)],_0x368678=_0xc6a179['c1Prime'],_0x44e6f3[_0x2bcb09(0x259)]({'unitID':_0x5c6e9c,'undoMutations':_0x2caea5[_0x2bcb09(0x295)],'redoMutations':_0xc6a179[_0x2bcb09(0x295)]});}return _0x44e6f3[_0x2bcb09(0x4c5)]();}},exports[_0x46c1fd(0x25a)]=wn([de(0x0,a[_0x46c1fd(0x41a)]),de(0x1,a[_0x46c1fd(0x3f7)]),de(0x2,a[_0x46c1fd(0x293)]),de(0x3,g[_0x46c1fd(0x231)]),de(0x4,a[_0x46c1fd(0x4de)])],exports['CollaborativeUndoRedoService']);var Ln=Object['defineProperty'],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x2d4525,_0x51474f,_0x30c6d6)=>_0x51474f in _0x2d4525?Ln(_0x2d4525,_0x51474f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30c6d6}):_0x2d4525[_0x51474f]=_0x30c6d6,kn=(_0x647179,_0x265d7e,_0x447c3f,_0x529569)=>{var _0xdb10b3=_0x46c1fd;for(var _0x1dffc2=_0x529569>0x1?void 0x0:_0x529569?Mn(_0x265d7e,_0x447c3f):_0x265d7e,_0x3da4bc=_0x647179[_0xdb10b3(0x3c0)]-0x1,_0xfe5361;_0x3da4bc>=0x0;_0x3da4bc--)(_0xfe5361=_0x647179[_0x3da4bc])&&(_0x1dffc2=_0xfe5361(_0x1dffc2)||_0x1dffc2);return _0x1dffc2;},ke=(_0x3fdf2b,_0x56d71f)=>(_0x26890c,_0x3029ee)=>_0x56d71f(_0x26890c,_0x3029ee,_0x3fdf2b),Hn=(_0x172edd,_0x159551,_0x3893f7)=>xn(_0x172edd,_0x159551+'',_0x3893f7);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports['UniverCollaborationClientPlugin']=class extends a[_0x46c1fd(0x419)]{constructor(_0xe06143,_0x3ba21e,_0x52342c,_0x4cf2ae){var _0x111fe1=_0x46c1fd;super(),A(this,_0x111fe1(0x20a)),(this['_logService']=_0x3ba21e,this['_injector']=_0x52342c,this[_0x111fe1(0x486)]=_0x4cf2ae);const {..._0x45cc0f}=a[_0x111fe1(0x31c)]({},Jt,_0xe06143);if(!_0x45cc0f[_0x111fe1(0x361)])throw new Error(_0x111fe1(0x4d7));this[_0x111fe1(0x20a)]=_0x45cc0f,this[_0x111fe1(0x486)][_0x111fe1(0x54f)](Y,_0x45cc0f);}[_0x46c1fd(0x470)](){var _0x241af6=_0x46c1fd;this[_0x241af6(0x395)](),this[_0x241af6(0x3ad)]();}[_0x46c1fd(0x395)](){var _0x491428=_0x46c1fd,_0x25b6dc,_0x242164;this[_0x491428(0x3a5)]['has'](a[_0x491428(0x3c4)])&&this[_0x491428(0x3de)][_0x491428(0x33c)](_0x491428(0x41d),_0x491428(0x25e));const _0xed277c=a[_0x491428(0x3ce)]([[a['IUndoRedoService'],{'useClass':exports[_0x491428(0x25a)]}],[exports[_0x491428(0x33d)]],[exports[_0x491428(0x3f1)]],[exports[_0x491428(0x20b)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x491428(0x44b)]],[$e,{'useClass':this[_0x491428(0x20a)][_0x491428(0x361)]}],[g[_0x491428(0x368)],{'useClass':exports[_0x491428(0x4ca)]}],[a['IAuthzIoService'],{'useClass':exports['AuthzIoHttpService']}],[J[_0x491428(0x255)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x491428(0x27d)],{'useClass':exports[_0x491428(0x3c7)]}],[exports[_0x491428(0x391)]],[He]],(_0x25b6dc=this[_0x491428(0x20a)])==null?void 0x0:_0x25b6dc['override']);if(!((_0x242164=this[_0x491428(0x20a)])!=null&&_0x242164[_0x491428(0x2eb)])){const _0x1b3f14=_0xed277c[_0x491428(0x244)](([_0x31216e])=>_0x31216e===ve);_0x1b3f14!==-0x1&&_0xed277c[_0x491428(0x321)](_0x1b3f14,0x1);}a[_0x491428(0x3cd)](this['_injector'],_0xed277c);}[_0x46c1fd(0x3ad)](){var _0x204174=_0x46c1fd,_0x2416f1,_0x2bfa43,_0x5df926;this[_0x204174(0x3a5)]['get'](q[_0x204174(0x250)])[_0x204174(0x34d)]({'priority':0x14,'interceptor':q[_0x204174(0x240)]({'maxParallel':0x6})}),(_0x2416f1=this[_0x204174(0x20a)])!=null&&_0x2416f1[_0x204174(0x36c)]||(_0x2bfa43=this['_injector'][_0x204174(0x528)](z,a[_0x204174(0x2fc)][_0x204174(0x54a)]))==null||_0x2bfa43[_0x204174(0x2da)](),(_0x5df926=this[_0x204174(0x20a)])!=null&&_0x5df926['enableAuthServer']&&a[_0x204174(0x339)](this[_0x204174(0x3a5)],[[Oe]]),a['touchDependencies'](this[_0x204174(0x3a5)],[[Ne],[exports[_0x204174(0x391)]],[De]]);}},Hn(exports[_0x46c1fd(0x40d)],_0x46c1fd(0x3f3),jn),exports[_0x46c1fd(0x40d)]=kn([a[_0x46c1fd(0x3bc)](g[_0x46c1fd(0x25c)],q[_0x46c1fd(0x348)]),ke(0x1,a[_0x46c1fd(0x4de)]),ke(0x2,a[_0x46c1fd(0x24f)](a['Injector'])),ke(0x3,a[_0x46c1fd(0x449)])],exports['UniverCollaborationClientPlugin']),exports[_0x46c1fd(0x2ab)]=Ge,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x46c1fd(0x554)]=It,exports[_0x46c1fd(0x3a6)]=St,exports['CollaborationStatus']=Ve,exports[_0x46c1fd(0x4ef)]=Q,exports[_0x46c1fd(0x474)]=te,exports['CommentService']=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0x46c1fd(0x203)]=zt,exports[_0x46c1fd(0x51d)]=$t,exports[_0x46c1fd(0x32a)]=pt,exports[_0x46c1fd(0x280)]=je,exports[_0x46c1fd(0x4f2)]=$e,exports[_0x46c1fd(0x27b)]=z,exports[_0x46c1fd(0x4d2)]=bt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Gt,exports[_0x46c1fd(0x3ef)]=Wt,exports[_0x46c1fd(0x540)]=Et,exports[_0x46c1fd(0x3a9)]=qt,exports[_0x46c1fd(0x3d8)]=mt,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x46c1fd(0x567)]=vt,exports[_0x46c1fd(0x345)]=se,exports[_0x46c1fd(0x479)]=Fe,exports[_0x46c1fd(0x4c4)]=Rt,exports[_0x46c1fd(0x3fd)]=vi,exports[_0x46c1fd(0x301)]=yt;
|