@univerjs-pro/collaboration-client 0.7.0-nightly.202505091607 → 0.7.0-nightly.202505101606

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/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x45aab2=_0x5692;(function(_0x310c29,_0x21e916){var _0x5f1a85=_0x5692,_0xcfd187=_0x310c29();while(!![]){try{var _0x9d0d11=parseInt(_0x5f1a85(0x3ec))/0x1+parseInt(_0x5f1a85(0x23d))/0x2+-parseInt(_0x5f1a85(0x432))/0x3*(parseInt(_0x5f1a85(0x1f2))/0x4)+-parseInt(_0x5f1a85(0x3f0))/0x5*(parseInt(_0x5f1a85(0x3ab))/0x6)+parseInt(_0x5f1a85(0x30c))/0x7*(parseInt(_0x5f1a85(0x237))/0x8)+parseInt(_0x5f1a85(0x256))/0x9*(-parseInt(_0x5f1a85(0x312))/0xa)+-parseInt(_0x5f1a85(0x36a))/0xb*(-parseInt(_0x5f1a85(0x26b))/0xc);if(_0x9d0d11===_0x21e916)break;else _0xcfd187['push'](_0xcfd187['shift']());}catch(_0x3edbd4){_0xcfd187['push'](_0xcfd187['shift']());}}}(_0x370a,0xf1301));var wt=Object[_0x45aab2(0x1da)],Lt=(_0x383565,_0x55ff1f,_0x270f75)=>_0x55ff1f in _0x383565?wt(_0x383565,_0x55ff1f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x270f75}):_0x383565[_0x55ff1f]=_0x270f75,A=(_0x55f1a0,_0x44763d,_0x1af059)=>Lt(_0x55f1a0,typeof _0x44763d!='symbol'?_0x44763d+'':_0x44763d,_0x1af059);Object[_0x45aab2(0x1da)](exports,Symbol[_0x45aab2(0x382)],{'value':'Module'});const a=require(_0x45aab2(0x49e)),j=require(_0x45aab2(0x420)),V=require('rxjs/operators'),g=require('@univerjs-pro/collaboration'),q=require(_0x45aab2(0x263)),Mt=require('@univerjs/telemetry'),ut=require(_0x45aab2(0x28c)),Z=require('@univerjs/sheets'),J=require(_0x45aab2(0x1d6)),xt=require(_0x45aab2(0x499)),dt=_0x45aab2(0x511),kt='/universer-api/snapshot',vt=_0x45aab2(0x2a1),Ht=_0x45aab2(0x1ce),jt=0x7d0,St=_0x45aab2(0x322),ft=_0x45aab2(0x4f6),$t=_0x45aab2(0x4ad),pt=_0x45aab2(0x38f),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,It=_0x45aab2(0x4be),Vt=0x3,Wt=_0x45aab2(0x35b),Gt=0x3e8,mt=_0x45aab2(0x3e8),Kt=_0x45aab2(0x4f3),Et=_0x45aab2(0x4f0),Yt=_0x45aab2(0x2a5),qt=_0x45aab2(0x30d),zt=_0x45aab2(0x3f2);var Ct=(_0xd84bcb=>(_0xd84bcb[_0xd84bcb[_0x45aab2(0x3ff)]=0x0]=_0x45aab2(0x3ff),_0xd84bcb[_0xd84bcb['OK']=0x1]='OK',_0xd84bcb[_0xd84bcb[_0x45aab2(0x2b3)]=0x2]=_0x45aab2(0x2b3),_0xd84bcb[_0xd84bcb['PERMISSION_DENIED']=0x3]=_0x45aab2(0x48b),_0xd84bcb[_0xd84bcb[_0x45aab2(0x2c8)]=0x4]=_0x45aab2(0x2c8),_0xd84bcb[_0xd84bcb[_0x45aab2(0x498)]=0x5]=_0x45aab2(0x498),_0xd84bcb[_0xd84bcb[_0x45aab2(0x297)]=0x6]=_0x45aab2(0x297),_0xd84bcb[_0xd84bcb[_0x45aab2(0x2ef)]=0x7]=_0x45aab2(0x2ef),_0xd84bcb[_0xd84bcb[_0x45aab2(0x2c9)]=0x8]='TOO_MANY_REQUESTS',_0xd84bcb[_0xd84bcb[_0x45aab2(0x1cf)]=0x9]=_0x45aab2(0x1cf),_0xd84bcb[_0xd84bcb[_0x45aab2(0x504)]=0xa]=_0x45aab2(0x504),_0xd84bcb[_0xd84bcb['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x45aab2(0x2be),_0xd84bcb[_0xd84bcb[_0x45aab2(0x1ec)]=0x1771]=_0x45aab2(0x1ec),_0xd84bcb[_0xd84bcb[_0x45aab2(0x519)]=0x1772]=_0x45aab2(0x519),_0xd84bcb[_0xd84bcb[_0x45aab2(0x354)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xd84bcb[_0xd84bcb['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0xd84bcb[_0xd84bcb[_0x45aab2(0x4b5)]=0x1b5a]=_0x45aab2(0x4b5),_0xd84bcb[_0xd84bcb['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xd84bcb[_0xd84bcb['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xd84bcb[_0xd84bcb[_0x45aab2(0x4a4)]=0x1b5d]=_0x45aab2(0x4a4),_0xd84bcb[_0xd84bcb[_0x45aab2(0x39a)]=0x1f41]=_0x45aab2(0x39a),_0xd84bcb[_0xd84bcb[_0x45aab2(0x473)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xd84bcb[_0xd84bcb[_0x45aab2(0x262)]=0x232a]=_0x45aab2(0x262),_0xd84bcb[_0xd84bcb['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x45aab2(0x4a9),_0xd84bcb[_0xd84bcb[_0x45aab2(0x208)]=0x232c]=_0x45aab2(0x208),_0xd84bcb[_0xd84bcb[_0x45aab2(0x484)]=0x232d]=_0x45aab2(0x484),_0xd84bcb[_0xd84bcb[_0x45aab2(0x2f1)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xd84bcb[_0xd84bcb[_0x45aab2(0x270)]=0x2712]=_0x45aab2(0x270),_0xd84bcb[_0xd84bcb[_0x45aab2(0x26a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xd84bcb[_0xd84bcb['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x45aab2(0x40d),_0xd84bcb[_0xd84bcb[_0x45aab2(0x31f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xd84bcb[_0xd84bcb['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xd84bcb[_0xd84bcb['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x45aab2(0x1d2),_0xd84bcb[_0xd84bcb[_0x45aab2(0x28f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xd84bcb[_0xd84bcb[_0x45aab2(0x36d)]=0x271e]=_0x45aab2(0x36d),_0xd84bcb[_0xd84bcb[_0x45aab2(0x2db)]=0x271f]=_0x45aab2(0x2db),_0xd84bcb[_0xd84bcb['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x45aab2(0x3c8),_0xd84bcb[_0xd84bcb[_0x45aab2(0x4a6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xd84bcb[_0xd84bcb[_0x45aab2(0x35a)]=0x2ee2]=_0x45aab2(0x35a),_0xd84bcb[_0xd84bcb[_0x45aab2(0x2e2)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xd84bcb[_0xd84bcb[_0x45aab2(0x2e9)]=0x2ee4]=_0x45aab2(0x2e9),_0xd84bcb[_0xd84bcb['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x45aab2(0x447),_0xd84bcb[_0xd84bcb[_0x45aab2(0x49a)]=0x32c9]=_0x45aab2(0x49a),_0xd84bcb[_0xd84bcb[_0x45aab2(0x425)]=0x32ca]=_0x45aab2(0x425),_0xd84bcb[_0xd84bcb[_0x45aab2(0x2ab)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xd84bcb[_0xd84bcb[_0x45aab2(0x2d1)]=-0x1]=_0x45aab2(0x2d1),_0xd84bcb))(Ct||{}),X=(_0x45da91=>(_0x45da91[_0x45da91[_0x45aab2(0x2f6)]=0x0]='UNIVER_UNKNOWN',_0x45da91[_0x45da91[_0x45aab2(0x42a)]=0x1]=_0x45aab2(0x42a),_0x45da91[_0x45da91[_0x45aab2(0x393)]=0x2]=_0x45aab2(0x393),_0x45da91[_0x45da91['UNIVER_SLIDE']=0x3]=_0x45aab2(0x250),_0x45da91[_0x45da91['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x45da91[_0x45da91[_0x45aab2(0x2d1)]=-0x1]=_0x45aab2(0x2d1),_0x45da91))(X||{}),W=(_0x33cad9=>(_0x33cad9[_0x33cad9[_0x45aab2(0x4df)]=0x0]='UNKNOWN_CMD',_0x33cad9[_0x33cad9[_0x45aab2(0x225)]=0x1]=_0x45aab2(0x225),_0x33cad9[_0x33cad9[_0x45aab2(0x3e1)]=0x2]=_0x45aab2(0x3e1),_0x33cad9[_0x33cad9[_0x45aab2(0x216)]=0x3]=_0x45aab2(0x216),_0x33cad9[_0x33cad9[_0x45aab2(0x282)]=0x4]=_0x45aab2(0x282),_0x33cad9[_0x33cad9[_0x45aab2(0x25e)]=0x5]=_0x45aab2(0x25e),_0x33cad9[_0x33cad9[_0x45aab2(0x2a8)]=0x6]=_0x45aab2(0x2a8),_0x33cad9[_0x33cad9[_0x45aab2(0x2d1)]=-0x1]=_0x45aab2(0x2d1),_0x33cad9))(W||{}),ae=(_0x236305=>(_0x236305[_0x236305[_0x45aab2(0x412)]=0x0]=_0x45aab2(0x412),_0x236305[_0x236305['OK']=0x1]='OK',_0x236305[_0x236305[_0x45aab2(0x426)]=0x2]='FAIL',_0x236305[_0x236305[_0x45aab2(0x3d9)]=0x3e9]=_0x45aab2(0x3d9),_0x236305[_0x236305[_0x45aab2(0x27f)]=0x3ea]=_0x45aab2(0x27f),_0x236305[_0x236305['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x236305[_0x236305[_0x45aab2(0x38d)]=0x3ec]=_0x45aab2(0x38d),_0x236305[_0x236305[_0x45aab2(0x2d1)]=-0x1]=_0x45aab2(0x2d1),_0x236305))(ae||{}),Tt=(_0x353e30=>(_0x353e30[_0x353e30[_0x45aab2(0x4b1)]=0x0]=_0x45aab2(0x4b1),_0x353e30[_0x353e30[_0x45aab2(0x51c)]=0x1]=_0x45aab2(0x51c),_0x353e30[_0x353e30[_0x45aab2(0x2fe)]=0x2]=_0x45aab2(0x2fe),_0x353e30[_0x353e30[_0x45aab2(0x399)]=0x3]=_0x45aab2(0x399),_0x353e30[_0x353e30[_0x45aab2(0x4dd)]=0x4]=_0x45aab2(0x4dd),_0x353e30[_0x353e30[_0x45aab2(0x2c3)]=0x5]='UserProfileImg',_0x353e30[_0x353e30[_0x45aab2(0x2d1)]=-0x1]=_0x45aab2(0x2d1),_0x353e30))(Tt||{});const Y=_0x45aab2(0x3b1),Jt={};var Q=(_0x121da5=>(_0x121da5[_0x45aab2(0x3bf)]=_0x45aab2(0x3bf),_0x121da5[_0x45aab2(0x48b)]=_0x45aab2(0x48b),_0x121da5[_0x45aab2(0x232)]=_0x45aab2(0x232),_0x121da5[_0x45aab2(0x3c0)]='CLOSE_ROOM',_0x121da5[_0x45aab2(0x4ee)]=_0x45aab2(0x4ee),_0x121da5[_0x45aab2(0x320)]=_0x45aab2(0x320),_0x121da5['SOCKET_FAILED']=_0x45aab2(0x4c6),_0x121da5[_0x45aab2(0x32b)]=_0x45aab2(0x32b),_0x121da5))(Q||{});class te{constructor(){var _0x15004b=_0x45aab2;A(this,_0x15004b(0x50a),new j[(_0x15004b(0x3d1))]()),A(this,_0x15004b(0x422),this[_0x15004b(0x50a)][_0x15004b(0x3fb)]());}['emitEvent'](_0x553a8e){var _0x17f289=_0x45aab2;this['_event$'][_0x17f289(0x505)](_0x553a8e);}}const bt=a[_0x45aab2(0x1c8)]('univer-pro.collaboration-client.network-condition.service');function Rt(_0x2eaf97){var _0x52e0a=_0x45aab2,_0x523d46,_0x1ad786,_0x114106,_0x52bf7a,_0x3b8cd2;const _0x7651cf=_0x2eaf97[_0x52e0a(0x444)],_0x317795=JSON[_0x52e0a(0x417)](_0x7651cf);switch(_0x317795[_0x52e0a(0x302)]){case W['HEARTBEAT']:case W[_0x52e0a(0x225)]:{const _0x18b9d4=_0x317795['infoRsp'];return{..._0x317795,'data':_0x18b9d4,'cmd':_0x317795[_0x52e0a(0x302)]};}case W['JOIN']:{const _0xef69a3=_0x317795[_0x52e0a(0x24c)];return{..._0x317795,'data':_0xef69a3,'cmd':_0x317795['cmd']};}case W[_0x52e0a(0x2a8)]:{const _0x582ce5=_0x317795[_0x52e0a(0x1c3)];switch(_0x582ce5['eventID']){case g[_0x52e0a(0x341)][_0x52e0a(0x405)]:return{..._0x317795,'data':{..._0x582ce5,'data':(_0x523d46=_0x582ce5[_0x52e0a(0x3ad)])==null?void 0x0:_0x523d46['cs']},'cmd':_0x317795[_0x52e0a(0x302)]};case g[_0x52e0a(0x341)][_0x52e0a(0x4ca)]:return{..._0x317795,'data':{..._0x582ce5,'data':(_0x1ad786=_0x582ce5[_0x52e0a(0x26f)])==null?void 0x0:_0x1ad786['cs']},'cmd':_0x317795[_0x52e0a(0x302)]};case g[_0x52e0a(0x341)][_0x52e0a(0x4e6)]:return{..._0x317795,'data':{..._0x582ce5,'data':(_0x114106=_0x582ce5[_0x52e0a(0x201)])==null?void 0x0:_0x114106['cs']},'cmd':_0x317795['cmd']};case g['CollaborationEvent'][_0x52e0a(0x3b0)]:return{..._0x317795,'data':{..._0x582ce5,'data':(_0x52bf7a=_0x582ce5[_0x52e0a(0x514)])==null?void 0x0:_0x52bf7a['cs']},'cmd':_0x317795[_0x52e0a(0x302)]};case g[_0x52e0a(0x341)][_0x52e0a(0x4d0)]:return{..._0x317795,'data':{..._0x582ce5,'data':(_0x3b8cd2=_0x582ce5['csShouldRetryEvent'])==null?void 0x0:_0x3b8cd2['cs']},'cmd':_0x317795['cmd']};case g[_0x52e0a(0x341)][_0x52e0a(0x4c8)]:return{..._0x317795,'data':{..._0x582ce5,'data':_0x582ce5[_0x52e0a(0x1c5)]},'cmd':_0x317795['cmd']};case g[_0x52e0a(0x341)][_0x52e0a(0x3ac)]:return{..._0x317795,'data':{..._0x582ce5,'data':_0x582ce5[_0x52e0a(0x442)]},'cmd':_0x317795[_0x52e0a(0x302)]};case g[_0x52e0a(0x341)][_0x52e0a(0x448)]:return{..._0x317795,'data':{..._0x582ce5,'data':_0x582ce5[_0x52e0a(0x4fd)]},'cmd':_0x317795[_0x52e0a(0x302)]};case g[_0x52e0a(0x341)]['LIVESHARE_NEW_HOST']:return{..._0x317795,'data':{..._0x582ce5,'data':_0x582ce5['liveShareNewHost']},'cmd':_0x317795[_0x52e0a(0x302)]};case g[_0x52e0a(0x341)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x52e0a(0x341)][_0x52e0a(0x3ed)]:return{..._0x317795,'data':{..._0x582ce5,'data':_0x582ce5['liveShareOperation']},'cmd':_0x317795[_0x52e0a(0x302)]};case g[_0x52e0a(0x341)]['LIVESHARE_TERMINATE']:return{..._0x317795,'data':{..._0x582ce5,'data':_0x582ce5[_0x52e0a(0x36f)]},'cmd':_0x317795[_0x52e0a(0x302)]};case g['CollaborationEvent'][_0x52e0a(0x408)]:return{..._0x317795,'data':_0x582ce5,'cmd':_0x317795['cmd']};case g['CollaborationEvent'][_0x52e0a(0x30e)]:return{..._0x317795,'data':{..._0x582ce5,'data':_0x582ce5[_0x52e0a(0x32c)]},'cmd':_0x317795['cmd']};case g[_0x52e0a(0x341)][_0x52e0a(0x24a)]:return{..._0x317795,'data':{..._0x582ce5,'data':_0x582ce5[_0x52e0a(0x3d3)]},'cmd':_0x317795[_0x52e0a(0x302)]};case g[_0x52e0a(0x341)][_0x52e0a(0x313)]:return{..._0x317795,'data':{..._0x582ce5,'data':_0x582ce5[_0x52e0a(0x1fd)]},'cmd':_0x317795[_0x52e0a(0x302)]};case g['CollaborationEvent'][_0x52e0a(0x1f3)]:return{..._0x317795,'data':{..._0x582ce5,'data':_0x582ce5[_0x52e0a(0x4b9)]},'cmd':_0x317795[_0x52e0a(0x302)]};default:return _0x317795;}}default:return _0x317795;}}function Ot(_0x4d28ac){var _0x283117=_0x45aab2;switch(_0x4d28ac['cmd']){case W['HEARTBEAT']:case W[_0x283117(0x225)]:return JSON[_0x283117(0x2a7)]({'cmd':_0x4d28ac['cmd'],'routeKey':_0x4d28ac[_0x283117(0x34b)]});case W[_0x283117(0x282)]:{let _0x3697df;switch(_0x4d28ac[_0x283117(0x444)][_0x283117(0x301)]){case g[_0x283117(0x341)]['UPDATE_CURSOR']:{_0x3697df={'eventID':g['CollaborationEvent'][_0x283117(0x4c8)],'updateCursorEvent':_0x4d28ac[_0x283117(0x444)][_0x283117(0x444)]};break;}case g['CollaborationEvent'][_0x283117(0x448)]:{_0x3697df={'eventID':g[_0x283117(0x341)][_0x283117(0x448)],'leaveEvent':_0x4d28ac[_0x283117(0x444)][_0x283117(0x444)]};break;}case g[_0x283117(0x341)]['USERS_ENTER']:{_0x3697df={'eventID':g[_0x283117(0x341)][_0x283117(0x3ac)],'joinEvent':_0x4d28ac['data'][_0x283117(0x444)]};break;}case g[_0x283117(0x341)]['LIVESHARE_NEW_HOST']:{_0x3697df={'eventID':g[_0x283117(0x341)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x4d28ac[_0x283117(0x444)]['data']};break;}case g[_0x283117(0x341)][_0x283117(0x3ed)]:{_0x3697df={'eventID':g['CollaborationEvent'][_0x283117(0x3ed)],'liveShareOperation':_0x4d28ac[_0x283117(0x444)]['data']};break;}case g[_0x283117(0x341)]['LIVESHARE_TERMINATE']:{_0x3697df={'eventID':g[_0x283117(0x341)][_0x283117(0x331)],'liveShareTerminate':_0x4d28ac['data'][_0x283117(0x444)]};break;}case g[_0x283117(0x341)][_0x283117(0x44c)]:{_0x3697df={'eventID':g[_0x283117(0x341)][_0x283117(0x44c)],'liveShareRequestHost':_0x4d28ac[_0x283117(0x444)][_0x283117(0x444)]};break;}case g[_0x283117(0x341)][_0x283117(0x27e)]:{_0x3697df={'eventID':g[_0x283117(0x341)][_0x283117(0x27e)]};break;}default:_0x3697df={'eventID':_0x4d28ac[_0x283117(0x444)][_0x283117(0x301)]};}return JSON['stringify']({'cmd':_0x4d28ac['cmd'],'routeKey':_0x4d28ac['routeKey'],'collaMsg':_0x3697df});}case W['JOIN']:return JSON[_0x283117(0x2a7)]({'cmd':_0x4d28ac[_0x283117(0x302)],'routeKey':_0x4d28ac[_0x283117(0x34b)],'joinReq':_0x4d28ac[_0x283117(0x444)]});case W['LEAVE']:return JSON[_0x283117(0x2a7)]({'cmd':_0x4d28ac[_0x283117(0x302)],'routeKey':_0x4d28ac['routeKey'],'leaveReq':_0x4d28ac[_0x283117(0x444)]});default:throw new Error(_0x283117(0x267));}}var Xt=Object[_0x45aab2(0x47b)],Zt=(_0x5dd4c7,_0x425c9d,_0x426668,_0x30979e)=>{var _0x2b1b31=_0x45aab2;for(var _0x54d0da=_0x30979e>0x1?void 0x0:_0x30979e?Xt(_0x425c9d,_0x426668):_0x425c9d,_0x3e4bac=_0x5dd4c7[_0x2b1b31(0x1ef)]-0x1,_0x447032;_0x3e4bac>=0x0;_0x3e4bac--)(_0x447032=_0x5dd4c7[_0x3e4bac])&&(_0x54d0da=_0x447032(_0x54d0da)||_0x54d0da);return _0x54d0da;},le=(_0x2b9db3,_0x1e6558)=>(_0x1adff0,_0x2ad1e5)=>_0x1e6558(_0x1adff0,_0x2ad1e5,_0x2b9db3);const $e=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function Qt(_0x5daaf6,_0x904fe9,_0x4f8135){var _0x240f0d=_0x45aab2;return _0x5daaf6+'/'+_0x904fe9+'/unit/'+_0x4f8135+_0x240f0d(0x307);}exports[_0x45aab2(0x2e7)]=class extends a[_0x45aab2(0x2d8)]{constructor(_0x45f122,_0x18e0a5,_0x4ada76,_0x79b10d,_0x2df7ff){var _0x2a3582=_0x45aab2;super(),this[_0x2a3582(0x4e7)]=_0x45f122,this[_0x2a3582(0x287)]=_0x18e0a5,this[_0x2a3582(0x1cb)]=_0x4ada76,this[_0x2a3582(0x2e8)]=_0x79b10d,this[_0x2a3582(0x3e4)]=_0x2df7ff;}[_0x45aab2(0x36c)](_0x299822){var _0x3170f9=_0x45aab2;const _0x13d13a=this[_0x3170f9(0x4e7)][_0x3170f9(0x2d5)](q[_0x3170f9(0x4fc)]);if(!_0x13d13a)throw new Error(_0x3170f9(0x227));const _0x2292b5=_0x13d13a[_0x3170f9(0x2b5)](_0x299822);if(!_0x2292b5)throw new Error(_0x3170f9(0x294));const _0x4c864d=new a[(_0x3170f9(0x3f6))](),_0x4f9f44=new j[(_0x3170f9(0x3d1))]();_0x4c864d[_0x3170f9(0x259)](_0x2292b5[_0x3170f9(0x23c)]['subscribe'](_0xf1eb3a=>_0x4f9f44[_0x3170f9(0x505)](_0xf1eb3a))),_0x4c864d[_0x3170f9(0x259)](a[_0x3170f9(0x1c6)](()=>_0x4f9f44[_0x3170f9(0x3f7)]()));const _0xcf9694=new j[(_0x3170f9(0x3d1))]();_0x4c864d[_0x3170f9(0x259)](_0x2292b5[_0x3170f9(0x4bf)]['subscribe'](_0x2bc5b7=>_0xcf9694['next'](_0x2bc5b7))),_0x4c864d[_0x3170f9(0x259)](a['toDisposable'](()=>_0xcf9694['complete']()));const _0x46334b=new j[(_0x3170f9(0x3d1))]();_0x4c864d[_0x3170f9(0x259)](_0x2292b5[_0x3170f9(0x391)][_0x3170f9(0x45f)](_0x4367d0=>{const _0x82f796=Rt(_0x4367d0);_0x46334b['next'](_0x82f796);})),_0x4c864d[_0x3170f9(0x259)](a['toDisposable'](()=>_0x46334b['complete']()));let _0x563d87;const _0x530ae6=()=>{var _0xacc51=_0x3170f9;_0xcf9694[_0xacc51(0x505)](new Event(_0xacc51(0x363))),_0x4f9f44[_0xacc51(0x505)](new Event(_0xacc51(0x363))),_0x563d87[_0xacc51(0x501)]();};return _0x563d87={'memberID':'','close$':_0x4f9f44[_0x3170f9(0x3fb)](),'error$':_0xcf9694[_0x3170f9(0x3fb)](),'open$':_0x2292b5[_0x3170f9(0x45a)],'message$':_0x46334b[_0x3170f9(0x3fb)](),'send':_0x35c2e4=>{var _0x1c05f2=_0x3170f9;if(_0x35c2e4['cmd']===W[_0x1c05f2(0x282)]){if(_0x35c2e4[_0x1c05f2(0x444)][_0x1c05f2(0x301)]===g[_0x1c05f2(0x341)][_0x1c05f2(0x3c1)]){this[_0x1c05f2(0x281)](_0x563d87,_0x35c2e4[_0x1c05f2(0x444)])[_0x1c05f2(0x22e)](_0xcc798d=>{var _0x5d467f=_0x1c05f2;this[_0x5d467f(0x2e8)]['error'](_0xcc798d),_0x530ae6();});return;}if(_0x35c2e4[_0x1c05f2(0x444)]['eventID']===g[_0x1c05f2(0x341)][_0x1c05f2(0x1d5)]){const _0x4bed38=_0x35c2e4[_0x1c05f2(0x444)];this[_0x1c05f2(0x489)](_0x4bed38)['then'](_0x29f2b7=>{var _0x15244a=_0x1c05f2;_0x46334b[_0x15244a(0x505)]({'cmd':W['RECV'],'code':ae['OK'],'routeKey':_0x4bed38[_0x15244a(0x444)][_0x15244a(0x479)],'routeType':'','data':{'eventID':g[_0x15244a(0x341)][_0x15244a(0x2b2)],'data':{'changesets':_0x29f2b7}}});})[_0x1c05f2(0x22e)](_0x3ecb61=>{var _0x17b4ae=_0x1c05f2;this[_0x17b4ae(0x2e8)]['error'](_0x3ecb61),_0x530ae6();});return;}}_0x2292b5[_0x1c05f2(0x340)](Ot(_0x35c2e4));},'close':()=>{var _0x2c4e45=_0x3170f9;_0x2292b5[_0x2c4e45(0x501)](),_0x4c864d[_0x2c4e45(0x414)]();}},_0x563d87;}async[_0x45aab2(0x281)](_0x29cd45,_0x176d14){var _0x38295b=_0x45aab2,_0x3f0497,_0x1608c7;const {unitType:_0x1fd195,unitID:_0x3090c5,changeset:_0x4be82d}=_0x176d14[_0x38295b(0x444)],_0x14e5ac={'unitID':_0x3090c5,'memberID':_0x29cd45[_0x38295b(0x220)],'type':_0x1fd195,'changeset':g[_0x38295b(0x324)](_0x4be82d)},_0x1b2d42=this[_0x38295b(0x1cb)]['getConfig'](mt),_0x2ed597=this[_0x38295b(0x1cb)][_0x38295b(0x28d)](Y),_0x2ca97b=Qt((_0x1608c7=(_0x3f0497=_0x2ed597==null?void 0x0:_0x2ed597[_0x38295b(0x378)])!=null?_0x3f0497:_0x1b2d42)!=null?_0x1608c7:Kt,_0x1fd195,_0x3090c5);try{await this[_0x38295b(0x287)]['post'](_0x2ca97b,{'body':_0x14e5ac});}catch(_0x2c2f87){throw this[_0x38295b(0x2e8)][_0x38295b(0x4b4)](_0x38295b(0x4a0),_0x38295b(0x37f)),_0x2c2f87;}}async['_fetchMissChangesets'](_0x252a4d){var _0x40f4c4=_0x45aab2;const {unitID:_0x4431ad,from:_0x141188,to:_0x5f23d3,unitType:_0x14d0cd}=_0x252a4d['data'];return(await this[_0x40f4c4(0x3e4)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4431ad,'type':_0x14d0cd,'from':_0x141188,'to':_0x5f23d3}))[_0x40f4c4(0x46e)];}},exports['CollaborationSocketService']=Zt([le(0x0,a[_0x45aab2(0x46d)](a['Injector'])),le(0x1,a[_0x45aab2(0x46d)](q[_0x45aab2(0x261)])),le(0x2,a['IConfigService']),le(0x3,a[_0x45aab2(0x4bc)]),le(0x4,g[_0x45aab2(0x3fa)])],exports['CollaborationSocketService']);const ei=_0x45aab2(0x500);function ti(_0x219193){var _0x5b4198=_0x45aab2;return JSON[_0x5b4198(0x2a7)](_0x219193)[_0x5b4198(0x1ef)];}class Be{constructor(){var _0x84cc9c=_0x45aab2;A(this,_0x84cc9c(0x1f7),new j[(_0x84cc9c(0x3d1))]()),A(this,_0x84cc9c(0x230),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x3f5a55){var _0x558734=_0x45aab2;this[_0x558734(0x1f7)][_0x558734(0x505)](_0x3f5a55);}}var ii=Object[_0x45aab2(0x47b)],ni=(_0x27dcb4,_0xcd0d72,_0x44fc3b,_0x273ef0)=>{var _0x4394a3=_0x45aab2;for(var _0x579282=_0x273ef0>0x1?void 0x0:_0x273ef0?ii(_0xcd0d72,_0x44fc3b):_0xcd0d72,_0x733a6f=_0x27dcb4[_0x4394a3(0x1ef)]-0x1,_0xb83a4d;_0x733a6f>=0x0;_0x733a6f--)(_0xb83a4d=_0x27dcb4[_0x733a6f])&&(_0x579282=_0xb83a4d(_0x579282)||_0x579282);return _0x579282;},Ke=(_0x4f33a9,_0xa101d9)=>(_0xa9cc3f,_0x2e8ab7)=>_0xa101d9(_0xa9cc3f,_0x2e8ab7,_0x4f33a9);exports[_0x45aab2(0x200)]=class extends a[_0x45aab2(0x2d8)]{constructor(_0x539b32,_0x33b374){var _0x46ffe9=_0x45aab2;super(),A(this,'_roomMembers',new Map()),A(this,_0x46ffe9(0x2f9),new j[(_0x46ffe9(0x3d1))]()),(this[_0x46ffe9(0x20c)]=_0x539b32,this[_0x46ffe9(0x481)]=_0x33b374,this[_0x46ffe9(0x30f)](j['merge'](this['_univerInstanceService'][_0x46ffe9(0x22b)](a['UniverInstanceType'][_0x46ffe9(0x393)])[_0x46ffe9(0x2ce)](V[_0x46ffe9(0x309)](_0x1b5c76=>_0x1b5c76[_0x46ffe9(0x1ea)]())),this[_0x46ffe9(0x20c)][_0x46ffe9(0x22b)](a[_0x46ffe9(0x3a8)][_0x46ffe9(0x42a)])['pipe'](V['map'](_0xa7f28e=>_0xa7f28e[_0x46ffe9(0x1ea)]())),this[_0x46ffe9(0x20c)][_0x46ffe9(0x22b)](a[_0x46ffe9(0x3a8)][_0x46ffe9(0x250)])[_0x46ffe9(0x2ce)](V[_0x46ffe9(0x309)](_0xb218b8=>_0xb218b8[_0x46ffe9(0x1ea)]())))['subscribe'](_0x111422=>this[_0x46ffe9(0x1cd)](_0x111422))));}[_0x45aab2(0x50e)](_0x52073e){var _0x10fd94=_0x45aab2;return this[_0x10fd94(0x400)][_0x10fd94(0x485)](_0x52073e)?j['of'](this[_0x10fd94(0x400)][_0x10fd94(0x2d5)](_0x52073e)):this['_roomCreated$']['pipe'](V[_0x10fd94(0x309)](_0x2e61a4=>{var _0x1b6554=_0x10fd94;if(_0x2e61a4===_0x52073e)return this[_0x1b6554(0x400)][_0x1b6554(0x2d5)](_0x2e61a4);}));}[_0x45aab2(0x338)](_0x500c8e){var _0x301d8c=_0x45aab2;this[_0x301d8c(0x481)]['setCurrentUser'](_0x500c8e);}[_0x45aab2(0x1f6)](){var _0x3d3099=_0x45aab2;return this[_0x3d3099(0x481)]['getCurrentUser']();}[_0x45aab2(0x4a5)](_0x233fa9,_0x126fe4){var _0x29d8b5=_0x45aab2;let _0x2dedf6=this[_0x29d8b5(0x400)]['get'](_0x233fa9);_0x2dedf6||(_0x2dedf6=new ri(),this[_0x29d8b5(0x400)]['set'](_0x233fa9,_0x2dedf6),this[_0x29d8b5(0x2f9)][_0x29d8b5(0x505)](_0x233fa9)),_0x2dedf6[_0x29d8b5(0x4a5)](_0x126fe4);}[_0x45aab2(0x356)](_0x3b8e8,_0x1cf1fe){var _0xa9ff66=_0x45aab2;const _0x248c1b=this[_0xa9ff66(0x400)][_0xa9ff66(0x2d5)](_0x3b8e8);_0x248c1b&&_0x248c1b[_0xa9ff66(0x356)](_0x1cf1fe);}[_0x45aab2(0x47c)](_0x5b9492){var _0x6fea16=_0x45aab2;return this[_0x6fea16(0x400)]['get'](_0x5b9492);}['getMember'](_0xf7c28b,_0x47fb92){var _0x4f07da=_0x45aab2;const _0x540428=this[_0x4f07da(0x400)][_0x4f07da(0x2d5)](_0xf7c28b);if(_0x540428)return _0x540428[_0x4f07da(0x2ac)](_0x47fb92);}['_removeRoom'](_0x29ae44){var _0xae2eec=_0x45aab2;const _0x13c76a=this['_roomMembers'][_0xae2eec(0x2d5)](_0x29ae44);_0x13c76a&&(_0x13c76a[_0xae2eec(0x414)](),this[_0xae2eec(0x400)][_0xae2eec(0x217)](_0x29ae44));}[_0x45aab2(0x414)](){var _0x549f40=_0x45aab2;this[_0x549f40(0x400)]['forEach'](_0x52d4ca=>_0x52d4ca[_0x549f40(0x414)]()),this[_0x549f40(0x400)][_0x549f40(0x467)](),this[_0x549f40(0x2f9)]['complete']();}},exports[_0x45aab2(0x200)]=ni([Ke(0x0,a[_0x45aab2(0x35f)]),Ke(0x1,a['Inject'](a['UserManagerService']))],exports[_0x45aab2(0x200)]);class ri extends a['Disposable']{constructor(){var _0x248b2b=_0x45aab2;super(...arguments),A(this,_0x248b2b(0x434),new Map()),A(this,_0x248b2b(0x48f),new j['BehaviorSubject'](this['_members'])),A(this,_0x248b2b(0x464),this[_0x248b2b(0x48f)][_0x248b2b(0x3fb)]());}[_0x45aab2(0x414)](){var _0x218f4b=_0x45aab2;this['_members'][_0x218f4b(0x467)]();}[_0x45aab2(0x4a5)](_0x4e5cf0){var _0x5ede58=_0x45aab2;this[_0x5ede58(0x434)]['set'](_0x4e5cf0[_0x5ede58(0x220)],_0x4e5cf0),this['_emitMembers']();}[_0x45aab2(0x356)](_0x5db1e5){var _0x3465d1=_0x45aab2;this[_0x3465d1(0x434)][_0x3465d1(0x217)](_0x5db1e5);}[_0x45aab2(0x2ac)](_0x4bc1a9){var _0x3ebf0d=_0x45aab2;return this[_0x3ebf0d(0x434)]['get'](_0x4bc1a9);}[_0x45aab2(0x470)](){var _0x26578c=_0x45aab2;return Array[_0x26578c(0x411)](this[_0x26578c(0x434)]['values']());}[_0x45aab2(0x2d4)](){var _0x47094a=_0x45aab2;this[_0x47094a(0x48f)][_0x47094a(0x505)](this['_members']);}}var si=Object[_0x45aab2(0x47b)],oi=(_0x79d9c0,_0x251744,_0x1f1921,_0x2c4642)=>{var _0x39394e=_0x45aab2;for(var _0x2daad2=_0x2c4642>0x1?void 0x0:_0x2c4642?si(_0x251744,_0x1f1921):_0x251744,_0x205dbd=_0x79d9c0[_0x39394e(0x1ef)]-0x1,_0x5ee446;_0x205dbd>=0x0;_0x205dbd--)(_0x5ee446=_0x79d9c0[_0x205dbd])&&(_0x2daad2=_0x5ee446(_0x2daad2)||_0x2daad2);return _0x2daad2;},oe=(_0x33e87a,_0x5d70c6)=>(_0x2f3f97,_0x2ba356)=>_0x5d70c6(_0x2f3f97,_0x2ba356,_0x33e87a),se=(_0x32f182=>(_0x32f182[_0x32f182[_0x45aab2(0x1b7)]=0x0]=_0x45aab2(0x1b7),_0x32f182[_0x32f182[_0x45aab2(0x213)]=0x1]=_0x45aab2(0x213),_0x32f182[_0x32f182[_0x45aab2(0x4e8)]=0x2]=_0x45aab2(0x4e8),_0x32f182[_0x32f182[_0x45aab2(0x3b4)]=0x3]=_0x45aab2(0x3b4),_0x32f182))(se||{});const Ye={[ae[_0x45aab2(0x426)]]:_0x45aab2(0x443),[ae['JOIN_ROOM_FULL']]:_0x45aab2(0x409),[ae[_0x45aab2(0x27f)]]:_0x45aab2(0x4d1),[ae['JOIN_ROOM_PERMISSION_DENIED']]:_0x45aab2(0x298),[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};exports[_0x45aab2(0x494)]=class extends a[_0x45aab2(0x36e)]{constructor(_0x11190a,_0x3d528e,_0x1fba95,_0x3eed84,_0x4006d6,_0x38b132,_0x2db3fb,_0x33d62f,_0x15c4e7){var _0x3a8eb1=_0x45aab2;super(),A(this,_0x3a8eb1(0x4d9),new j[(_0x3a8eb1(0x4b0))](0x0)),A(this,_0x3a8eb1(0x2e6),this['_sessionStatus$']['asObservable']()),A(this,_0x3a8eb1(0x50a),new j['Subject']()),A(this,_0x3a8eb1(0x422),this[_0x3a8eb1(0x50a)]['asObservable']()),A(this,_0x3a8eb1(0x20f)),A(this,_0x3a8eb1(0x3a3)),A(this,_0x3a8eb1(0x2e3)),A(this,_0x3a8eb1(0x2c2),!0x1),A(this,'_telemetryInfo',null),(this['_unitID']=_0x11190a,this['_logService']=_0x1fba95,this[_0x3a8eb1(0x1cb)]=_0x3eed84,this[_0x3a8eb1(0x2de)]=_0x4006d6,this[_0x3a8eb1(0x453)]=_0x38b132,this[_0x3a8eb1(0x204)]=_0x2db3fb,this[_0x3a8eb1(0x229)]=_0x33d62f,this[_0x3a8eb1(0x4eb)]=_0x15c4e7,this['_shouldReportTelemetry']=!!this[_0x3a8eb1(0x4eb)],_0x3d528e[_0x3a8eb1(0x2ce)](j['takeUntil'](this[_0x3a8eb1(0x4db)]))[_0x3a8eb1(0x45f)](_0x3984a7=>{var _0x3d41c2=_0x3a8eb1,_0x4e68e2;typeof _0x3984a7>'u'||(this['_socket']=_0x3984a7,_0x3984a7?(this[_0x3d41c2(0x32d)](_0x3984a7),this[_0x3d41c2(0x3a3)]=_0x3984a7['message$'][_0x3d41c2(0x45f)](_0xbcec12=>{var _0x287d77=_0x3d41c2;_0xbcec12[_0x287d77(0x34b)]===this['_unitID']&&this[_0x287d77(0x28a)](_0xbcec12);})):(this[_0x3d41c2(0x4a7)](),this['_sessionStatus$'][_0x3d41c2(0x505)](0x2),(_0x4e68e2=this['_socketMessageSubscription'])==null||_0x4e68e2[_0x3d41c2(0x1fc)](),this[_0x3d41c2(0x3a3)]=null));}));}get[_0x45aab2(0x2ec)](){var _0x5a9d3d=_0x45aab2;return this[_0x5a9d3d(0x4d9)]['getValue']();}[_0x45aab2(0x3f4)](){var _0x181ecd=_0x45aab2,_0x1fb951,_0x5a601c;return(_0x5a601c=(_0x1fb951=this[_0x181ecd(0x20f)])==null?void 0x0:_0x1fb951[_0x181ecd(0x220)])!=null?_0x5a601c:null;}[_0x45aab2(0x414)](){var _0x4000ae=_0x45aab2;super[_0x4000ae(0x414)](),this[_0x4000ae(0x4db)][_0x4000ae(0x505)](),this[_0x4000ae(0x4db)][_0x4000ae(0x3f7)]();}[_0x45aab2(0x501)](){var _0xaebd7e=_0x45aab2,_0x140e78,_0x5c9205;this[_0xaebd7e(0x4a7)](),(_0x140e78=this[_0xaebd7e(0x20f)])==null||_0x140e78[_0xaebd7e(0x340)]({'cmd':W[_0xaebd7e(0x216)],'data':{'roomID':this['_unitID']}}),(_0x5c9205=this[_0xaebd7e(0x20f)])==null||_0x5c9205[_0xaebd7e(0x501)](),this[_0xaebd7e(0x50a)][_0xaebd7e(0x3f7)](),this[_0xaebd7e(0x4d9)]['complete'](),this[_0xaebd7e(0x414)]();}[_0x45aab2(0x28a)](_0x345ff2){var _0x5d9079=_0x45aab2;_0x345ff2[_0x5d9079(0x302)]===W[_0x5d9079(0x3e1)]?this[_0x5d9079(0x452)](_0x345ff2):_0x345ff2[_0x5d9079(0x302)]===W[_0x5d9079(0x2a8)]&&this[_0x5d9079(0x3a5)](_0x345ff2);}['_joinRoom'](_0x4860cf){var _0x16dc7e=_0x45aab2;this['_sessionStatus$'][_0x16dc7e(0x505)](0x1),_0x4860cf['send']({'cmd':W[_0x16dc7e(0x3e1)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x16dc7e(0x1f5)]}]}});}[_0x45aab2(0x452)](_0x433ca0){var _0x21b733=_0x45aab2,_0xaf816b;if(_0x433ca0[_0x21b733(0x1fb)]in Ye){this[_0x21b733(0x229)][_0x21b733(0x29f)]({'id':Q[_0x21b733(0x4ee)],'data':Ye[_0x433ca0['code']]}),this['_sessionStatus$'][_0x21b733(0x505)](0x2);return;}this[_0x21b733(0x4d9)]['next'](0x3);const _0x520b46=(_0xaf816b=_0x433ca0[_0x21b733(0x444)][_0x21b733(0x475)][this[_0x21b733(0x1f5)]])==null?void 0x0:_0xaf816b[_0x21b733(0x43a)];_0x520b46&&_0x520b46[_0x21b733(0x42b)](_0xff2270=>this[_0x21b733(0x453)][_0x21b733(0x4a5)](this[_0x21b733(0x1f5)],_0xff2270));}[_0x45aab2(0x3a5)](_0x3a11cf){var _0x40f3de=_0x45aab2;try{const _0x27ac75=_0x3a11cf[_0x40f3de(0x444)];switch(_0x27ac75[_0x40f3de(0x301)]){case g['CollaborationEvent'][_0x40f3de(0x3ac)]:this[_0x40f3de(0x3b8)](_0x27ac75),this[_0x40f3de(0x50a)][_0x40f3de(0x505)](_0x27ac75);break;case g['CollaborationEvent'][_0x40f3de(0x448)]:this[_0x40f3de(0x2ba)](_0x27ac75),this[_0x40f3de(0x50a)][_0x40f3de(0x505)](_0x27ac75);break;case g[_0x40f3de(0x341)][_0x40f3de(0x4ca)]:case g[_0x40f3de(0x341)]['CHANGESET_SHOULD_RETRY']:this[_0x40f3de(0x3ba)](),this[_0x40f3de(0x510)](),this[_0x40f3de(0x50a)][_0x40f3de(0x505)](_0x27ac75);break;case g['CollaborationEvent'][_0x40f3de(0x408)]:this[_0x40f3de(0x2e8)][_0x40f3de(0x4b4)](_0x40f3de(0x402)+JSON['stringify'](_0x27ac75)),this[_0x40f3de(0x50a)][_0x40f3de(0x505)](_0x27ac75);break;case g[_0x40f3de(0x341)][_0x40f3de(0x30e)]:this['_commentService'][_0x40f3de(0x350)](_0x27ac75['data']),this[_0x40f3de(0x50a)][_0x40f3de(0x505)](_0x27ac75);break;default:this['_event$'][_0x40f3de(0x505)](_0x27ac75);}}catch(_0x7ec01e){this['_logService'][_0x40f3de(0x4b4)](_0x7ec01e,_0x3a11cf);}}[_0x45aab2(0x3b8)](_0x40fa56){var _0x12678f=_0x45aab2;this[_0x12678f(0x453)][_0x12678f(0x4a5)](this[_0x12678f(0x1f5)],_0x40fa56[_0x12678f(0x444)]);}[_0x45aab2(0x2ba)](_0x1f7350){var _0x53b06d=_0x45aab2;this[_0x53b06d(0x453)][_0x53b06d(0x356)](this[_0x53b06d(0x1f5)],_0x1f7350[_0x53b06d(0x444)]['memberID']);}async['send'](_0x3e2e35,_0x2701c7){var _0x1e9ef0=_0x45aab2;if(this[_0x1e9ef0(0x2ec)]!==0x3||!this[_0x1e9ef0(0x20f)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3e2e35[_0x1e9ef0(0x301)]===g['CollaborationEvent'][_0x1e9ef0(0x3c1)]&&(this[_0x1e9ef0(0x266)](),this['_startTelemetryCollaborationNewChangeset'](_0x3e2e35)),this[_0x1e9ef0(0x20f)][_0x1e9ef0(0x340)]({'cmd':W[_0x1e9ef0(0x282)],'routeKey':_0x2701c7,'routeType':'','data':_0x3e2e35});}catch(_0x4859fa){this['_logService'][_0x1e9ef0(0x4b4)](_0x4859fa);}}[_0x45aab2(0x266)](){var _0x2e639e=_0x45aab2,_0x37b6a3;this[_0x2e639e(0x2e3)]=setTimeout(()=>{var _0x14e727=_0x2e639e;this[_0x14e727(0x2e3)]=null,this[_0x14e727(0x229)][_0x14e727(0x29f)]({'id':Q[_0x14e727(0x32b)]});},(_0x37b6a3=this[_0x2e639e(0x1cb)][_0x2e639e(0x28d)](je))!=null?_0x37b6a3:gt);}['_clearCollaborationTimeoutTimer'](){var _0x3700dd=_0x45aab2;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3700dd(0x2e3)]),this[_0x3700dd(0x2e3)]=null);}[_0x45aab2(0x330)](_0x42da20){var _0x3fee83=_0x45aab2;if(!this[_0x3fee83(0x2c2)])return;const {data:_0x2bf631}=_0x42da20,{unitID:_0x4e3103,changeset:_0x59b2d2}=_0x2bf631,{mutations:_0x28ca71,type:_0xcadc43}=_0x59b2d2;this[_0x3fee83(0x3df)]={'unitId':_0x4e3103,'type':_0xcadc43,'startTime':performance[_0x3fee83(0x1c2)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x28ca71)};}[_0x45aab2(0x3ba)](){var _0x83b18e=_0x45aab2;if(this[_0x83b18e(0x2c2)]){if(!this[_0x83b18e(0x3df)]){this[_0x83b18e(0x2e8)][_0x83b18e(0x4b4)](_0x83b18e(0x4a0),_0x83b18e(0x3d7));return;}this[_0x83b18e(0x3df)]['stopTime']=performance['now'](),this['_telemetryInfo'][_0x83b18e(0x33f)]=this[_0x83b18e(0x3df)][_0x83b18e(0x423)]-this[_0x83b18e(0x3df)][_0x83b18e(0x2ee)],this[_0x83b18e(0x4eb)][_0x83b18e(0x334)](ei,this[_0x83b18e(0x3df)]),this[_0x83b18e(0x3df)]=null;}}[_0x45aab2(0x4a7)](){var _0x537dc5=_0x45aab2;this[_0x537dc5(0x3df)]=null;}},exports[_0x45aab2(0x494)]=oi([oe(0x2,a[_0x45aab2(0x4bc)]),oe(0x3,a[_0x45aab2(0x43f)]),oe(0x4,a[_0x45aab2(0x46d)](a[_0x45aab2(0x37c)])),oe(0x5,a[_0x45aab2(0x46d)](exports[_0x45aab2(0x200)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x45aab2(0x46d)](te)),oe(0x8,a[_0x45aab2(0x288)](Mt[_0x45aab2(0x219)]))],exports['CollaborationSession']);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x463e76,_0x5d5a0e,_0x36fbc7,_0x28cb1)=>{var _0xb2e2e1=_0x45aab2;for(var _0xd49541=_0x28cb1>0x1?void 0x0:_0x28cb1?ai(_0x5d5a0e,_0x36fbc7):_0x5d5a0e,_0x4e08ed=_0x463e76[_0xb2e2e1(0x1ef)]-0x1,_0xe03be8;_0x4e08ed>=0x0;_0x4e08ed--)(_0xe03be8=_0x463e76[_0x4e08ed])&&(_0xd49541=_0xe03be8(_0xd49541)||_0xd49541);return _0xd49541;},_e=(_0x4e3e80,_0x4fa616)=>(_0x347771,_0x18afde)=>_0x4fa616(_0x347771,_0x18afde,_0x4e3e80);exports[_0x45aab2(0x24d)]=class extends a['Disposable']{constructor(_0x5d1615,_0x2a2c24,_0x3192f8,_0x46c350,_0x53416f,_0x1826d3){var _0x55f88e=_0x45aab2;super(),A(this,_0x55f88e(0x221),new j[(_0x55f88e(0x4b0))](void 0x0)),A(this,'socket$',this[_0x55f88e(0x221)][_0x55f88e(0x3fb)]()),A(this,_0x55f88e(0x310),null),A(this,_0x55f88e(0x2a3),new Map()),A(this,_0x55f88e(0x376),new j[(_0x55f88e(0x4b0))](se[_0x55f88e(0x1b7)])),A(this,_0x55f88e(0x362),this[_0x55f88e(0x376)][_0x55f88e(0x3fb)]()),A(this,'_socketReady',!0x1),A(this,_0x55f88e(0x2fb)),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x55f88e(0x248)),(this['_injector']=_0x5d1615,this[_0x55f88e(0x2e8)]=_0x2a2c24,this['_configService']=_0x3192f8,this[_0x55f88e(0x2c1)]=_0x46c350,this[_0x55f88e(0x229)]=_0x53416f,this['_networkConditionService']=_0x1826d3,this[_0x55f88e(0x4c0)]());}get[_0x45aab2(0x20f)](){var _0x5e56d3=_0x45aab2;return this[_0x5e56d3(0x221)][_0x5e56d3(0x40f)]();}[_0x45aab2(0x4c0)](){var _0x1ee984=_0x45aab2;this[_0x1ee984(0x477)]&&this['disposeWithMe'](this[_0x1ee984(0x477)][_0x1ee984(0x4b3)][_0x1ee984(0x45f)](_0x80138=>{var _0x55c497=_0x1ee984;_0x80138&&!this['_socket']&&this[_0x55c497(0x3d4)](),_0x80138||this[_0x55c497(0x4ce)]();}));}[_0x45aab2(0x414)](){var _0x3f8650=_0x45aab2;super[_0x3f8650(0x414)](),this[_0x3f8650(0x3f9)](),this[_0x3f8650(0x40a)](),this[_0x3f8650(0x407)](),this[_0x3f8650(0x2a3)]['forEach'](_0x58c8c0=>_0x58c8c0[_0x3f8650(0x414)]()),this[_0x3f8650(0x2a3)][_0x3f8650(0x467)](),this[_0x3f8650(0x376)]['complete']();}async[_0x45aab2(0x1e1)](_0x25007b){var _0x4f6453=_0x45aab2;if(this[_0x4f6453(0x2a3)][_0x4f6453(0x485)](_0x25007b))return this[_0x4f6453(0x2a3)]['get'](_0x25007b);this[_0x4f6453(0x1b8)]();const _0x4ee3b0=this[_0x4f6453(0x4e7)][_0x4f6453(0x2aa)](exports[_0x4f6453(0x494)],_0x25007b,this[_0x4f6453(0x221)][_0x4f6453(0x3fb)]());return this[_0x4f6453(0x2a3)][_0x4f6453(0x321)](_0x25007b,_0x4ee3b0),_0x4ee3b0;}[_0x45aab2(0x46c)](_0x2fb585){var _0x28ab7f=_0x45aab2,_0x2789d0;const _0x25dfb8=this[_0x28ab7f(0x2a3)][_0x28ab7f(0x2d5)](_0x2fb585);_0x25dfb8&&(this['_sessions'][_0x28ab7f(0x217)](_0x2fb585),_0x25dfb8[_0x28ab7f(0x501)]()),this['_sessions'][_0x28ab7f(0x342)]||(_0x2789d0=this['_socket'])==null||_0x2789d0[_0x28ab7f(0x501)]();}[_0x45aab2(0x3d4)](){var _0xaf2d5f=_0x45aab2;this[_0xaf2d5f(0x325)]=0x0,this[_0xaf2d5f(0x3f9)](),this[_0xaf2d5f(0x316)]();}[_0x45aab2(0x3f9)](){var _0x12225d=_0x45aab2;this[_0x12225d(0x2fb)]!=null&&(clearTimeout(this[_0x12225d(0x2fb)]),this[_0x12225d(0x2fb)]=null);}async[_0x45aab2(0x244)](){var _0x173185=_0x45aab2,_0x7a2c5,_0x363a2c;const _0x21898d=this['_configService']['getConfig'](St),_0x119955=this[_0x173185(0x1cb)]['getConfig'](Y),_0x108ece=(_0x363a2c=(_0x7a2c5=_0x119955==null?void 0x0:_0x119955[_0x173185(0x314)])!=null?_0x7a2c5:_0x21898d)!=null?_0x363a2c:ft,_0x32e89d=await this['_socketService'][_0x173185(0x2b5)](_0x108ece);return this[_0x173185(0x310)]=_0x32e89d,_0x32e89d;}async[_0x45aab2(0x1b8)](){var _0x233af0=_0x45aab2,_0x2ef7a0,_0x476458;try{const _0x2ae543=(_0x476458=(_0x2ef7a0=this[_0x233af0(0x20f)])!=null?_0x2ef7a0:this[_0x233af0(0x310)])!=null?_0x476458:await this[_0x233af0(0x244)]();if(_0x2ae543){const _0x38dedd=_0x2ae543[_0x233af0(0x340)];_0x2ae543[_0x233af0(0x340)]=_0x344693=>(this['_rescheduleHeartbeat'](),_0x38dedd[_0x233af0(0x48e)](_0x2ae543,[_0x344693])),_0x2ae543[_0x233af0(0x391)][_0x233af0(0x45f)](_0xffd714=>this[_0x233af0(0x516)](_0x2ae543,_0xffd714)),_0x2ae543[_0x233af0(0x4bf)]['pipe'](V[_0x233af0(0x27a)](0x1))[_0x233af0(0x45f)](_0x2bfd33=>this[_0x233af0(0x2e8)][_0x233af0(0x4b4)](_0x233af0(0x257),_0x2bfd33)),_0x2ae543[_0x233af0(0x45a)][_0x233af0(0x2ce)](V[_0x233af0(0x27a)](0x1))[_0x233af0(0x45f)](()=>{var _0x539d42=_0x233af0;this[_0x539d42(0x34a)](_0x2ae543);}),_0x2ae543[_0x233af0(0x23c)][_0x233af0(0x2ce)](V[_0x233af0(0x27a)](0x1))['subscribe'](_0x9acd90=>{var _0x4262b9=_0x233af0;this[_0x4262b9(0x2e8)][_0x4262b9(0x4a8)](_0x4262b9(0x1ed),'socket\x20close',_0x9acd90),this[_0x4262b9(0x50b)]();});}}catch(_0x304024){this['_logService'][_0x233af0(0x4b4)](_0x304024),this['_onConnectionFailed']();}}[_0x45aab2(0x34a)](_0x381de6){var _0x24bc1e=_0x45aab2;this[_0x24bc1e(0x2e8)][_0x24bc1e(0x4a8)](_0x24bc1e(0x1ed),_0x24bc1e(0x472)),_0x381de6[_0x24bc1e(0x340)]({'cmd':W[_0x24bc1e(0x225)]}),this[_0x24bc1e(0x3c6)]();}['_onOffline'](){var _0x1404ee=_0x45aab2;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x1404ee(0x376)][_0x1404ee(0x505)](se[_0x1404ee(0x4e8)]),this[_0x1404ee(0x221)][_0x1404ee(0x505)](null),this[_0x1404ee(0x40a)](),this[_0x1404ee(0x407)]();}[_0x45aab2(0x50b)](){var _0x4cac82=_0x45aab2,_0x3eff15;this['_onOffline'](),this[_0x4cac82(0x325)]<((_0x3eff15=this['_configService'][_0x4cac82(0x28d)](It))!=null?_0x3eff15:Vt)?(this[_0x4cac82(0x229)]['emitEvent']({'id':Q[_0x4cac82(0x320)]}),this[_0x4cac82(0x316)]()):this[_0x4cac82(0x229)][_0x4cac82(0x29f)]({'id':Q[_0x4cac82(0x4c6)]});}[_0x45aab2(0x316)](){var _0x33db0b=_0x45aab2,_0x5ec946;const _0x5c923e=this[_0x33db0b(0x325)],_0x79ab87=this[_0x33db0b(0x1cb)][_0x33db0b(0x28d)](Y),_0x4c1e8c=_0x5c923e===0x0?0x0:((_0x5ec946=_0x79ab87==null?void 0x0:_0x79ab87[_0x33db0b(0x25a)])!=null?_0x5ec946:Ft)*0x2**_0x5c923e;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5b3ead=_0x33db0b;clearTimeout(this[_0x5b3ead(0x2fb)]),this[_0x5b3ead(0x2fb)]=null,this['_tryEnsureSocket']();},_0x4c1e8c),this[_0x33db0b(0x325)]+=0x1;}[_0x45aab2(0x516)](_0x1e1b0c,_0x3bddaa){var _0x5287a=_0x45aab2;const {cmd:_0xece39c}=_0x3bddaa;_0xece39c===W[_0x5287a(0x225)]&&!this['_socketReady']&&(_0x1e1b0c[_0x5287a(0x220)]=_0x3bddaa['data'][_0x5287a(0x220)],this[_0x5287a(0x221)][_0x5287a(0x505)](_0x1e1b0c),this[_0x5287a(0x376)]['next'](se[_0x5287a(0x3b4)]),this[_0x5287a(0x461)]=!0x0,this[_0x5287a(0x310)]=null),_0xece39c===W[_0x5287a(0x25e)]&&this[_0x5287a(0x40a)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x554261=_0x45aab2,_0x3a0f74;this[_0x554261(0x407)](),this[_0x554261(0x32f)]=setTimeout(()=>this[_0x554261(0x3ee)](),(_0x3a0f74=this[_0x554261(0x1cb)][_0x554261(0x28d)](pt))!=null?_0x3a0f74:Bt);}[_0x45aab2(0x3ee)](){var _0x341d1f=_0x45aab2;this[_0x341d1f(0x20f)][_0x341d1f(0x340)]({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x45aab2(0x377)](){var _0x5e4a8e=_0x45aab2,_0x3152e0;this['_timeoutTimer']=setTimeout(()=>this[_0x5e4a8e(0x50b)](),(_0x3152e0=this[_0x5e4a8e(0x1cb)][_0x5e4a8e(0x28d)](je))!=null?_0x3152e0:gt);}[_0x45aab2(0x407)](){var _0x2ebcc4=_0x45aab2;this[_0x2ebcc4(0x32f)]!=null&&(clearTimeout(this[_0x2ebcc4(0x32f)]),this[_0x2ebcc4(0x32f)]=null);}[_0x45aab2(0x40a)](){var _0x4b05a6=_0x45aab2;this[_0x4b05a6(0x248)]!=null&&(clearTimeout(this[_0x4b05a6(0x248)]),this[_0x4b05a6(0x248)]=null);}},exports[_0x45aab2(0x24d)]=ci([_e(0x0,a['Inject'](a[_0x45aab2(0x482)])),_e(0x1,a['ILogService']),_e(0x2,a[_0x45aab2(0x43f)]),_e(0x3,$e),_e(0x4,a['Inject'](te)),_e(0x5,a[_0x45aab2(0x288)](bt))],exports[_0x45aab2(0x24d)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x45aab2(0x360)]((n+0x100)[_0x45aab2(0x31e)](0x10)['slice'](0x1));function hi(_0x5d3bd4,_0x423719=0x0){var _0x466cf3=_0x45aab2;return(G[_0x5d3bd4[_0x423719+0x0]]+G[_0x5d3bd4[_0x423719+0x1]]+G[_0x5d3bd4[_0x423719+0x2]]+G[_0x5d3bd4[_0x423719+0x3]]+'-'+G[_0x5d3bd4[_0x423719+0x4]]+G[_0x5d3bd4[_0x423719+0x5]]+'-'+G[_0x5d3bd4[_0x423719+0x6]]+G[_0x5d3bd4[_0x423719+0x7]]+'-'+G[_0x5d3bd4[_0x423719+0x8]]+G[_0x5d3bd4[_0x423719+0x9]]+'-'+G[_0x5d3bd4[_0x423719+0xa]]+G[_0x5d3bd4[_0x423719+0xb]]+G[_0x5d3bd4[_0x423719+0xc]]+G[_0x5d3bd4[_0x423719+0xd]]+G[_0x5d3bd4[_0x423719+0xe]]+G[_0x5d3bd4[_0x423719+0xf]])[_0x466cf3(0x33c)]();}let De;const _i=new Uint8Array(0x10);function li(){var _0x2ec67b=_0x45aab2;if(!De){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');De=crypto[_0x2ec67b(0x4ef)]['bind'](crypto);}return De(_i);}const ui=typeof crypto<'u'&&crypto[_0x45aab2(0x2a9)]&&crypto['randomUUID'][_0x45aab2(0x515)](crypto),qe={'randomUUID':ui};function di(_0xa23477,_0x3ab4fb,_0x21fb44){var _0x52455f=_0x45aab2,_0x3a69f1,_0x3035b7,_0x5c42b8;if(qe[_0x52455f(0x2a9)]&&!_0xa23477)return qe['randomUUID']();_0xa23477=_0xa23477||{};const _0x549916=(_0x5c42b8=(_0x3035b7=_0xa23477[_0x52455f(0x42f)])!=null?_0x3035b7:(_0x3a69f1=_0xa23477[_0x52455f(0x351)])==null?void 0x0:_0x3a69f1[_0x52455f(0x27b)](_0xa23477))!=null?_0x5c42b8:li();if(_0x549916[_0x52455f(0x1ef)]<0x10)throw new Error(_0x52455f(0x306));return _0x549916[0x6]=_0x549916[0x6]&0xf|0x40,_0x549916[0x8]=_0x549916[0x8]&0x3f|0x80,hi(_0x549916);}const z=a[_0x45aab2(0x1c8)](_0x45aab2(0x3b3));function vi(_0x1f89e6){return'unit-cache-'+_0x1f89e6;}var Si=Object[_0x45aab2(0x47b)],fi=(_0x19a87e,_0x3b6518,_0x5020c6,_0x336a79)=>{var _0x2f2c5c=_0x45aab2;for(var _0x35191b=_0x336a79>0x1?void 0x0:_0x336a79?Si(_0x3b6518,_0x5020c6):_0x3b6518,_0x43bf7b=_0x19a87e[_0x2f2c5c(0x1ef)]-0x1,_0x36e18e;_0x43bf7b>=0x0;_0x43bf7b--)(_0x36e18e=_0x19a87e[_0x43bf7b])&&(_0x35191b=_0x36e18e(_0x35191b)||_0x35191b);return _0x35191b;},Ae=(_0xb160d2,_0x14afa2)=>(_0x5bb102,_0x3f14ba)=>_0x14afa2(_0x5bb102,_0x3f14ba,_0xb160d2);function pi(_0xcb401d){const {unitID:_0x52bdd7,mutations:_0x6ffef4}=_0xcb401d;return{'unitId':_0x52bdd7,'subUnitId':_0x6ffef4[0x0]['params']['subUnitId']};}exports[_0x45aab2(0x3fc)]=class{constructor(_0x536a4c,_0x244b53,_0x2155f5){var _0x450621=_0x45aab2;this['_injector']=_0x536a4c,this['_transformService']=_0x244b53,this[_0x450621(0x3bc)]=_0x2155f5;}[_0x45aab2(0x4ec)](_0x9d785e){var _0x4e1ad0=_0x45aab2,_0x54fe43,_0x3ca511,_0x9681ca,_0x151fd8;const _0x29f9f6=this[_0x4e1ad0(0x4e7)][_0x4e1ad0(0x2d5)](Z[_0x4e1ad0(0x2ca)]),{unitId:_0x176ad6,subUnitId:_0x4709da}=pi(_0x9d785e),_0x15c1aa=_0x29f9f6==null?void 0x0:_0x29f9f6[_0x4e1ad0(0x366)](_0x176ad6)[_0x4e1ad0(0x27d)](),_0x1af800=(_0x3ca511=(_0x54fe43=this[_0x4e1ad0(0x3bc)][_0x4e1ad0(0x2f7)](_0x176ad6))==null?void 0x0:_0x54fe43[_0x4e1ad0(0x1f4)]())==null?void 0x0:_0x3ca511['getSheetId']();if(_0x15c1aa[_0x4e1ad0(0x1ef)]===0x0||!_0x176ad6||!_0x4709da)return;const _0x255537=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x176ad6,'subUnitId':_0x1af800,'selections':a[_0x4e1ad0(0x44a)]['deepClone'](_0x15c1aa)}}],_0x3af8fa=this[_0x4e1ad0(0x386)]['transformMutationsWithChangeset'](_0x9d785e,_0x255537);if(!g['isTransformMutationsWithChangesetSuccess'](_0x3af8fa))throw _0x3af8fa['error'];const _0x39efeb=(_0x151fd8=(_0x9681ca=_0x3af8fa['m2Prime'][0x0])==null?void 0x0:_0x9681ca[_0x4e1ad0(0x4d8)])==null?void 0x0:_0x151fd8['selections'];if(Array['isArray'](_0x39efeb)&&_0x39efeb[_0x4e1ad0(0x1ef)]){if(_0x39efeb[_0x4e1ad0(0x1ef)]===_0x255537[0x0][_0x4e1ad0(0x4d8)][_0x4e1ad0(0x2c6)]['length']&&_0x39efeb[_0x4e1ad0(0x4cb)]((_0x35e636,_0xb651d4)=>a[_0x4e1ad0(0x39d)]['equals'](_0x35e636[_0x4e1ad0(0x45b)],_0x255537[0x0][_0x4e1ad0(0x4d8)][_0x4e1ad0(0x2c6)][_0xb651d4][_0x4e1ad0(0x45b)])))return;this[_0x4e1ad0(0x4e7)][_0x4e1ad0(0x2d5)](a['ICommandService'])[_0x4e1ad0(0x1ae)](Z[_0x4e1ad0(0x284)]['id'],{'unitId':_0x176ad6,'subUnitId':_0x1af800,'selections':_0x39efeb});}}},exports[_0x45aab2(0x3fc)]=fi([Ae(0x0,a[_0x45aab2(0x46d)](a[_0x45aab2(0x482)])),Ae(0x1,g[_0x45aab2(0x3da)]),Ae(0x2,a[_0x45aab2(0x35f)])],exports[_0x45aab2(0x3fc)]);const ve=a[_0x45aab2(0x1c8)](_0x45aab2(0x1ad));var Fe=(_0x7466c9=>(_0x7466c9[_0x7466c9[_0x45aab2(0x2fd)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x7466c9[_0x7466c9[_0x45aab2(0x3e2)]=0x1]='OTHER_CLIENTS_EDITING',_0x7466c9))(Fe||{});const gi=new Set([Z[_0x45aab2(0x344)]['id']]);function ze(_0x356339,_0x486e8d,_0x494e37,_0x594acf,_0x594588){var _0x28b9ab=_0x45aab2,_0x1bc0b6,_0x29a102,_0x2bd009,_0x1bf540;const _0x5df694=[];for(const _0x107a49 of _0x356339)if(gi[_0x28b9ab(0x485)](_0x107a49['id'])){if(_0x5df694[_0x28b9ab(0x1ef)]>0x0)break;_0x5df694[_0x28b9ab(0x360)](_0x107a49);break;}else _0x5df694[_0x28b9ab(0x360)](_0x107a49);const _0x27dc56=(_0x29a102=(_0x1bc0b6=_0x594588['getCurrentUser']())==null?void 0x0:_0x1bc0b6[_0x28b9ab(0x3f3)])!=null?_0x29a102:'unknown',_0x1a2bad=(_0x1bf540=(_0x2bd009=_0x594588[_0x28b9ab(0x1f6)]())==null?void 0x0:_0x2bd009[_0x28b9ab(0x220)])!=null?_0x1bf540:'unknown';return{'changeset':{'unitID':_0x486e8d,'type':g[_0x28b9ab(0x1bf)](_0x494e37[_0x28b9ab(0x431)](_0x486e8d)),'baseRev':_0x594acf[_0x28b9ab(0x51a)](_0x486e8d),'revision':0x0,'userID':_0x27dc56,'memberID':_0x1a2bad,'mutations':_0x5df694},'pendingMutations':_0x356339[_0x28b9ab(0x437)](_0x5df694[_0x28b9ab(0x1ef)])};}function Ii(_0x590f60,_0x4b5d89,_0x52afbd,_0x1a691d,_0x4d49e7){var _0x2eb4b1=_0x45aab2,_0xecfcb5,_0x441d71,_0x292e54,_0x5a0fac;const _0x3ee965=[_0x590f60['reduce']((_0x2bb02a,_0x268265)=>{var _0x4064da=_0x5692,_0x150416;const {id:_0x227501}=_0x2bb02a,{id:_0x4044cf,type:_0x39d7f3}=_0x268265,_0x92252=(_0x150416=_0x2bb02a[_0x4064da(0x4d8)])!=null?_0x150416:{'actions':null},_0x262982=_0x268265[_0x4064da(0x4d8)];if(_0x227501&&_0x227501!==_0x4044cf)throw new Error(_0x4064da(0x2f2)+_0x227501+_0x4064da(0x3a6)+_0x4044cf+'.');return{..._0x2bb02a,'id':_0x4044cf,'type':_0x39d7f3,'params':{'unitId':_0x262982[_0x4064da(0x4bd)],'textRanges':_0x262982[_0x4064da(0x1f8)],'actions':a[_0x4064da(0x242)]['compose'](_0x92252[_0x4064da(0x367)],_0x262982[_0x4064da(0x367)])}};},{})],_0x575747=(_0x441d71=(_0xecfcb5=_0x4d49e7[_0x2eb4b1(0x1f6)]())==null?void 0x0:_0xecfcb5['userID'])!=null?_0x441d71:_0x2eb4b1(0x291),_0x4cacec=(_0x5a0fac=(_0x292e54=_0x4d49e7[_0x2eb4b1(0x1f6)]())==null?void 0x0:_0x292e54['memberID'])!=null?_0x5a0fac:_0x2eb4b1(0x291);return{'changeset':{'unitID':_0x4b5d89,'type':g['mapDocumentTypeToUniverType'](_0x52afbd[_0x2eb4b1(0x431)](_0x4b5d89)),'baseRev':_0x1a691d[_0x2eb4b1(0x51a)](_0x4b5d89),'revision':0x0,'userID':_0x575747,'memberID':_0x4cacec,'mutations':_0x3ee965},'pendingMutations':[]};}function yt(_0x31643c,_0x233bed){var _0x2080d8=_0x45aab2;const _0x242239=new j[(_0x2080d8(0x1b6))](0x1);return setTimeout(()=>_0x242239[_0x2080d8(0x505)](_0x233bed),_0x31643c),_0x242239[_0x2080d8(0x3fb)]()[_0x2080d8(0x2ce)](j[_0x2080d8(0x27a)](0x1));}const mi={'id':Z[_0x45aab2(0x4aa)]['id'],'type':a['CommandType'][_0x45aab2(0x513)],'params':{}};var Ei=Object[_0x45aab2(0x47b)],ce=(_0x11eb9f,_0x19b882,_0xc0a9ff,_0x38e32b)=>{var _0x125b80=_0x45aab2;for(var _0x25fdc9=_0x38e32b>0x1?void 0x0:_0x38e32b?Ei(_0x19b882,_0xc0a9ff):_0x19b882,_0x46a160=_0x11eb9f[_0x125b80(0x1ef)]-0x1,_0x5c0b83;_0x46a160>=0x0;_0x46a160--)(_0x5c0b83=_0x11eb9f[_0x46a160])&&(_0x25fdc9=_0x5c0b83(_0x25fdc9)||_0x25fdc9);return _0x25fdc9;},w=(_0x2d554f,_0x3fc4f4)=>(_0x357a0c,_0x5bd2ab)=>_0x3fc4f4(_0x357a0c,_0x5bd2ab,_0x2d554f),Ve=(_0x294e06=>(_0x294e06[_0x45aab2(0x23e)]='not_collab',_0x294e06[_0x45aab2(0x387)]=_0x45aab2(0x424),_0x294e06['PENDING']=_0x45aab2(0x49c),_0x294e06[_0x45aab2(0x4b2)]=_0x45aab2(0x1bc),_0x294e06[_0x45aab2(0x33d)]=_0x45aab2(0x4d5),_0x294e06['FETCH_MISS']='fetch_missing',_0x294e06[_0x45aab2(0x232)]=_0x45aab2(0x1bb),_0x294e06[_0x45aab2(0x4e8)]=_0x45aab2(0x4ab),_0x294e06))(Ve||{});function _0x5692(_0x22ca41,_0x3117a3){var _0x370a12=_0x370a();return _0x5692=function(_0x569205,_0x4e68c9){_0x569205=_0x569205-0x1ab;var _0x240001=_0x370a12[_0x569205];return _0x240001;},_0x5692(_0x22ca41,_0x3117a3);}const Nt=0xea60;class he{constructor(_0x5546e8,_0x341950,_0x106816,_0x599fcd,_0x429012,_0x23493d,_0xd5f3f1,_0x2f6bfa,_0x4c8458){var _0x1c7c75=_0x45aab2;A(this,_0x1c7c75(0x280),null),A(this,_0x1c7c75(0x35d),[]),(this[_0x1c7c75(0x479)]=_0x5546e8,this[_0x1c7c75(0x3bd)]=_0x341950,this['_handler']=_0x429012,this[_0x1c7c75(0x4f1)]=_0x23493d,this['_undoRedoService']=_0xd5f3f1,this[_0x1c7c75(0x2ed)]=_0x2f6bfa,this[_0x1c7c75(0x2d7)]=_0x4c8458,this['_awaitingChangeset']=_0x106816,this[_0x1c7c75(0x35d)]=_0x599fcd);}[_0x45aab2(0x21f)](_0x4a22e7){var _0x230630=_0x45aab2;const _0x3d7fad=this['_revisionService'][_0x230630(0x51a)](this[_0x230630(0x479)]);return _0x4a22e7[_0x230630(0x292)]>_0x3d7fad+0x1?(this[_0x230630(0x41c)][_0x230630(0x253)]({'from':_0x3d7fad,'to':_0x4a22e7['revision']-0x1}),!0x0):!0x1;}[_0x45aab2(0x4f4)](_0x248496){var _0x973029=_0x45aab2;this[_0x973029(0x47e)]['transformUndoRedo'](this['unitID'],_0x248496);}[_0x45aab2(0x4f2)](_0x3d7ff3){var _0x414db7=_0x45aab2,_0x25db83,_0x395919;(_0x395919=(_0x25db83=this[_0x414db7(0x41c)])[_0x414db7(0x3f1)])==null||_0x395919[_0x414db7(0x27b)](_0x25db83,_0x3d7ff3);}[_0x45aab2(0x339)](_0x419a43){var _0x3d985b=_0x45aab2,_0x43ad80,_0x5868df;return(_0x5868df=(_0x43ad80=this[_0x3d985b(0x41c)])['onTransformIME'])==null?void 0x0:_0x5868df[_0x3d985b(0x27b)](_0x43ad80,_0x419a43);}[_0x45aab2(0x21b)](_0x2070ec){var _0x3d0408=_0x45aab2,_0x2a0776,_0x2da116;return(_0x2da116=(_0x2a0776=this[_0x3d0408(0x41c)])[_0x3d0408(0x243)])==null?void 0x0:_0x2da116['call'](_0x2a0776,_0x2070ec);}[_0x45aab2(0x1b2)](_0x938db7){var _0x4e74e7=_0x45aab2,_0x58a0e7,_0x284a31,_0x5f1c9f;return(_0x5f1c9f=(_0x284a31=(_0x58a0e7=this[_0x4e74e7(0x41c)])[_0x4e74e7(0x337)])==null?void 0x0:_0x284a31[_0x4e74e7(0x27b)](_0x58a0e7,_0x938db7))!=null?_0x5f1c9f:_0x938db7;}[_0x45aab2(0x37d)](_0xf593da){var _0x4f7f12=_0x45aab2,_0x475044,_0x35a592,_0x3679c6;return(_0x3679c6=(_0x35a592=(_0x475044=this[_0x4f7f12(0x41c)])[_0x4f7f12(0x39b)])==null?void 0x0:_0x35a592[_0x4f7f12(0x27b)](_0x475044,_0xf593da))!=null?_0x3679c6:_0xf593da;}['_syncEditingCollabCursor'](_0x45b478){var _0x5cc64b=_0x45aab2,_0x230b33,_0x52a932;if(this[_0x5cc64b(0x3bd)]===X[_0x5cc64b(0x42a)]){const {unitID:_0xeedbcb,mutations:_0x247415,memberID:_0x5ae5d3}=_0x45b478,_0x15ea82=_0x247415[0x0]['params'][_0x5cc64b(0x1f8)];Array[_0x5cc64b(0x487)](_0x15ea82)&&_0x15ea82['length']>0x0&&((_0x52a932=(_0x230b33=this[_0x5cc64b(0x41c)])[_0x5cc64b(0x31d)])==null||_0x52a932[_0x5cc64b(0x27b)](_0x230b33,{'unitID':_0xeedbcb,'memberID':_0x5ae5d3,'textRanges':_0x15ea82}));}}[_0x45aab2(0x35c)](){var _0x2a48ec=_0x45aab2,_0x10cf2b;(_0x10cf2b=this[_0x2a48ec(0x2d7)])==null||_0x10cf2b[_0x2a48ec(0x4f5)](this[_0x2a48ec(0x479)],this[_0x2a48ec(0x3bd)],this[_0x2a48ec(0x280)],this['_pendingMutations']);}[_0x45aab2(0x435)](){var _0x453251=_0x45aab2;return this[_0x453251(0x2ed)][_0x453251(0x51a)](this[_0x453251(0x479)]);}['_incrementRevisionNumber'](){this['_revisionService']['incrementRevOfUnit'](this['unitID']);}[_0x45aab2(0x269)](_0x2158bf){var _0x24723b=_0x45aab2,_0x397b00;let _0xfedc60=this[_0x24723b(0x1b2)](_0x2158bf);_0xfedc60=this['_transformRemoteChangesetByStateCache'](_0xfedc60);const _0x4d64a3=a['sequenceExecute'](_0xfedc60[_0x24723b(0x41d)],this[_0x24723b(0x4f1)],{'fromCollab':!0x0});if(!_0x4d64a3[_0x24723b(0x279)])throw _0x4d64a3[_0x24723b(0x4b4)]instanceof Error?_0x4d64a3[_0x24723b(0x4b4)]:new Error((_0x397b00=_0x4d64a3[_0x24723b(0x4b4)])!=null?_0x397b00:_0x24723b(0x3e6));this['_transformIMECache'](_0xfedc60),this[_0x24723b(0x21b)](_0xfedc60),this['_transformUndoredo'](_0x2158bf),this['_transformSelections'](_0xfedc60),this[_0x24723b(0x389)](_0xfedc60),this[_0x24723b(0x336)]();}}exports[_0x45aab2(0x315)]=class extends he{constructor(_0x508ce3,_0xb05a86,_0x4a051f,_0x363e1b,_0x3c07e3,_0x743bec,_0x4e3d5c,_0x1bcb38,_0x301fc4,_0x56ed40){var _0x231038=_0x45aab2;super(_0x508ce3,_0xb05a86,null,[],_0x4a051f,_0x4e3d5c,_0x743bec,_0x363e1b,_0x56ed40),A(this,'status',_0x231038(0x424)),(this[_0x231038(0x4e7)]=_0x3c07e3,this[_0x231038(0x2e8)]=_0x1bcb38,this[_0x231038(0x386)]=_0x301fc4,this[_0x231038(0x359)]=_0x56ed40);}[_0x45aab2(0x2c4)](_0x4967c6){var _0x2ad6e6=_0x45aab2;const _0x2b4393=this['_injector'][_0x2ad6e6(0x2aa)](exports[_0x2ad6e6(0x1fe)],this[_0x2ad6e6(0x479)],this[_0x2ad6e6(0x3bd)],[_0x4967c6],this['_handler']);return _0x2b4393['_schedule'](),_0x2b4393[_0x2ad6e6(0x35c)](),_0x2b4393;}[_0x45aab2(0x2dd)](_0x325ee8){var _0xdfaf0a=_0x45aab2;if(this[_0xdfaf0a(0x21f)](_0x325ee8))return this[_0xdfaf0a(0x4e7)]['createInstance'](exports['FetchingMissState'],this[_0xdfaf0a(0x479)],this[_0xdfaf0a(0x3bd)],null,[],null,[_0x325ee8],this[_0xdfaf0a(0x41c)]);try{const _0x72473c=this[_0xdfaf0a(0x386)][_0xdfaf0a(0x210)](_0x325ee8,[mi]);if(g[_0xdfaf0a(0x22a)](_0x72473c)){const {c1Prime:_0x11324a}=_0x72473c;return this['_executeRemoteChangeset'](_0x11324a),this;}throw _0x72473c[_0xdfaf0a(0x4b4)];}catch(_0x32206d){return this[_0xdfaf0a(0x2e8)][_0xdfaf0a(0x4b4)](_0x32206d),this['_onConflict'](!0x1);}}[_0x45aab2(0x42c)](_0x5343a6){var _0x427a76=_0x45aab2;return this[_0x427a76(0x4e7)]['createInstance'](exports['ConflictState'],this[_0x427a76(0x479)],this[_0x427a76(0x3bd)],null,[],this['_handler'],_0x5343a6);}[_0x45aab2(0x333)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x45aab2(0x368)](){var _0x14d79f=_0x45aab2;throw new Error(_0x14d79f(0x345));}[_0x45aab2(0x4c5)](){return this;}[_0x45aab2(0x364)](){var _0xb0123e=_0x45aab2;return this[_0xb0123e(0x4e7)][_0xb0123e(0x2aa)](exports[_0xb0123e(0x3d0)],this[_0xb0123e(0x479)],this[_0xb0123e(0x3bd)],null,[],this[_0xb0123e(0x41c)]);}[_0x45aab2(0x4fa)](){return this;}[_0x45aab2(0x1dd)](){var _0x44ddb6=_0x45aab2;throw new Error(_0x44ddb6(0x20e));}[_0x45aab2(0x40b)](){var _0x599d67=_0x45aab2;const _0x5319c6=this[_0x599d67(0x2ed)][_0x599d67(0x51a)](this[_0x599d67(0x479)]);return this['_handler'][_0x599d67(0x253)]({'from':_0x5319c6,'to':0x0}),this[_0x599d67(0x4e7)][_0x599d67(0x2aa)](exports[_0x599d67(0x45d)],this[_0x599d67(0x479)],this[_0x599d67(0x3bd)],null,[],null,[],this[_0x599d67(0x41c)]);}},exports[_0x45aab2(0x315)]=ce([w(0x3,a[_0x45aab2(0x46d)](g[_0x45aab2(0x49b)])),w(0x4,a['Inject'](a['Injector'])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x45aab2(0x379)]),w(0x7,a[_0x45aab2(0x4bc)]),w(0x8,g[_0x45aab2(0x3da)]),w(0x9,a['Optional'](z))],exports['SyncedState']),exports['PendingState']=class extends he{constructor(_0x34b142,_0x29426f,_0x271302,_0x43a1cb,_0x12e586,_0x658cd5,_0x598d4a,_0x890816,_0x5b31b1,_0x2063a8,_0x4127dc,_0x2c67a7,_0x218579,_0x449f43){var _0x4151e3=_0x45aab2;super(_0x34b142,_0x29426f,null,_0x271302,_0x43a1cb,_0x5b31b1,_0x218579,_0x658cd5,_0x449f43),A(this,_0x4151e3(0x36b),_0x4151e3(0x49c)),A(this,_0x4151e3(0x2b9),null),A(this,_0x4151e3(0x2a2),null),(this['_injector']=_0x12e586,this[_0x4151e3(0x453)]=_0x598d4a,this[_0x4151e3(0x2e8)]=_0x890816,this['_configService']=_0x2063a8,this[_0x4151e3(0x386)]=_0x4127dc,this[_0x4151e3(0x20c)]=_0x2c67a7);}[_0x45aab2(0x2c4)](_0xc51c76){var _0x128499=_0x45aab2;return this[_0x128499(0x35d)][_0x128499(0x360)](_0xc51c76),this[_0x128499(0x35c)](),this;}[_0x45aab2(0x2dd)](_0x394e33){var _0x5bf1a5=_0x45aab2;if(this[_0x5bf1a5(0x21f)](_0x394e33))return this['_clearScheduledTask'](),this[_0x5bf1a5(0x4e7)]['createInstance'](exports[_0x5bf1a5(0x45d)],this[_0x5bf1a5(0x479)],this[_0x5bf1a5(0x3bd)],null,this[_0x5bf1a5(0x35d)],null,[_0x394e33],this[_0x5bf1a5(0x41c)]);try{const _0x2ec1b0=this[_0x5bf1a5(0x386)][_0x5bf1a5(0x210)](_0x394e33,this[_0x5bf1a5(0x35d)]);if(g[_0x5bf1a5(0x22a)](_0x2ec1b0)){const {c1Prime:_0xdc468f,m2Prime:_0x3b5fb2}=_0x2ec1b0;this[_0x5bf1a5(0x269)](_0xdc468f);const _0x8b81a5=this[_0x5bf1a5(0x4e7)][_0x5bf1a5(0x2aa)](exports[_0x5bf1a5(0x1fe)],this[_0x5bf1a5(0x479)],this[_0x5bf1a5(0x3bd)],_0x3b5fb2,this[_0x5bf1a5(0x41c)]);this[_0x5bf1a5(0x24e)]();const _0x680d48=new Date()[_0x5bf1a5(0x503)](),_0x2112fd=this[_0x5bf1a5(0x2b9)]?Math[_0x5bf1a5(0x373)](this['_scheduleCompleteTimestamp']-_0x680d48,0x0):this['_getSendChangesetTimeout']();return _0x8b81a5[_0x5bf1a5(0x1e9)](_0x2112fd),_0x8b81a5;}throw _0x2ec1b0[_0x5bf1a5(0x4b4)];}catch(_0x5a496f){return this['_logService'][_0x5bf1a5(0x4b4)](_0x5a496f),this[_0x5bf1a5(0x42c)](!0x1);}}[_0x45aab2(0x333)](){var _0x27e227=_0x45aab2;throw new Error(_0x27e227(0x365));}[_0x45aab2(0x368)](){var _0x10912d=_0x45aab2;throw new Error(_0x10912d(0x329));}['onRemoteRetry'](){return this;}[_0x45aab2(0x364)](){var _0x5162c9=_0x45aab2;return this[_0x5162c9(0x24e)](),this['_injector']['createInstance'](exports[_0x5162c9(0x3d0)],this['unitID'],this['type'],null,this[_0x5162c9(0x35d)],this['_handler']);}['toggleOnline'](){return this;}['_schedule'](_0x7c26ab){var _0xc6b204=_0x45aab2;const _0x5cfb0f=_0x7c26ab!=null?_0x7c26ab:this[_0xc6b204(0x29d)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x5cfb0f,this[_0xc6b204(0x2a2)]=setTimeout(()=>{var _0x4fd558=_0xc6b204;this[_0x4fd558(0x24e)]();let _0x9c3cb7=null;switch(this[_0x4fd558(0x3bd)]){case X['UNIVER_SHEET']:{_0x9c3cb7=ze(this[_0x4fd558(0x35d)],this[_0x4fd558(0x479)],this[_0x4fd558(0x20c)],this['_revisionService'],this[_0x4fd558(0x453)]);break;}case X[_0x4fd558(0x42a)]:{this[_0x4fd558(0x35d)][_0x4fd558(0x4cb)](_0x5059f3=>_0x5059f3['id']===ut[_0x4fd558(0x45c)]['id'])?_0x9c3cb7=Ii(this[_0x4fd558(0x35d)],this[_0x4fd558(0x479)],this[_0x4fd558(0x20c)],this[_0x4fd558(0x2ed)],this[_0x4fd558(0x453)]):_0x9c3cb7=ze(this[_0x4fd558(0x35d)],this[_0x4fd558(0x479)],this['_univerInstanceService'],this[_0x4fd558(0x2ed)],this[_0x4fd558(0x453)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x2326d7,pendingMutations:_0x5c567e}=_0x9c3cb7;this[_0x4fd558(0x41c)][_0x4fd558(0x50d)](_0x2326d7);const _0x3024f9=_0x5c567e['length']?this[_0x4fd558(0x4e7)][_0x4fd558(0x2aa)](exports['AwaitingWithPendingState'],this[_0x4fd558(0x479)],this[_0x4fd558(0x3bd)],_0x2326d7,_0x5c567e,this['_handler'],void 0x0):this[_0x4fd558(0x4e7)][_0x4fd558(0x2aa)](exports[_0x4fd558(0x4d3)],this[_0x4fd558(0x479)],this['type'],_0x2326d7,this[_0x4fd558(0x41c)]);_0x3024f9[_0x4fd558(0x35c)](),this[_0x4fd558(0x41c)][_0x4fd558(0x211)](this,_0x3024f9);},_0x5cfb0f);}[_0x45aab2(0x29d)](){var _0x2111fe=_0x45aab2,_0x51d92f;const _0x45c40e=this[_0x2111fe(0x1cb)][_0x2111fe(0x28d)](Y);return(_0x51d92f=_0x45c40e==null?void 0x0:_0x45c40e[_0x2111fe(0x1c7)])!=null?_0x51d92f:jt;}[_0x45aab2(0x1dd)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x45aab2(0x24e)](){var _0x237bec=_0x45aab2;this[_0x237bec(0x2a2)]!=null&&(clearTimeout(this[_0x237bec(0x2a2)]),this[_0x237bec(0x2a2)]=null);}['_onConflict'](_0x458f7d){var _0x204214=_0x45aab2;return this[_0x204214(0x24e)](),this['_injector'][_0x204214(0x2aa)](exports['ConflictState'],this[_0x204214(0x479)],this[_0x204214(0x3bd)],null,this[_0x204214(0x35d)],this[_0x204214(0x41c)],_0x458f7d);}},exports[_0x45aab2(0x1fe)]=ce([w(0x4,a[_0x45aab2(0x46d)](a[_0x45aab2(0x482)])),w(0x5,a['Inject'](g[_0x45aab2(0x49b)])),w(0x6,a[_0x45aab2(0x46d)](exports[_0x45aab2(0x200)])),w(0x7,a['ILogService']),w(0x8,a['ICommandService']),w(0x9,a[_0x45aab2(0x43f)]),w(0xa,g[_0x45aab2(0x3da)]),w(0xb,a[_0x45aab2(0x35f)]),w(0xc,a[_0x45aab2(0x1de)]),w(0xd,a[_0x45aab2(0x288)](z))],exports['PendingState']),exports[_0x45aab2(0x4d3)]=class extends he{constructor(_0xc6fe10,_0x45b517,_0x5ee69d,_0xef734f,_0x52f90e,_0x5b00b9,_0x1ffc3f,_0x4627a2,_0xbc5b1,_0x59ed72,_0x1a8a69){var _0x49814f=_0x45aab2;super(_0xc6fe10,_0x45b517,_0x5ee69d,[],_0xef734f,_0x1ffc3f,_0x59ed72,_0x5b00b9,_0x1a8a69),A(this,_0x49814f(0x36b),_0x49814f(0x1bc)),A(this,_0x49814f(0x1b5),0x0),A(this,'_resendTimer'),A(this,_0x49814f(0x38b)),(this[_0x49814f(0x4e7)]=_0x52f90e,this[_0x49814f(0x2e8)]=_0x4627a2,this[_0x49814f(0x386)]=_0xbc5b1);}[_0x45aab2(0x2c4)](_0x6a160d){var _0x36c8bc=_0x45aab2;this['_clearScheduledTask']();const _0x502b43=this[_0x36c8bc(0x4e7)][_0x36c8bc(0x2aa)](exports['AwaitingWithPendingState'],this[_0x36c8bc(0x479)],this[_0x36c8bc(0x3bd)],this[_0x36c8bc(0x280)],[_0x6a160d],this[_0x36c8bc(0x41c)],this[_0x36c8bc(0x415)]);return _0x502b43[_0x36c8bc(0x35c)](),_0x502b43;}[_0x45aab2(0x2dd)](_0x2df7af){var _0x3bc7bc=_0x45aab2;if(this['_checkMissing'](_0x2df7af))return this[_0x3bc7bc(0x24e)](),this[_0x3bc7bc(0x4e7)][_0x3bc7bc(0x2aa)](exports['FetchingMissState'],this[_0x3bc7bc(0x479)],this[_0x3bc7bc(0x3bd)],this['_awaitingChangeset'],[],null,[_0x2df7af],this[_0x3bc7bc(0x41c)]);try{const _0x5996e8=this[_0x3bc7bc(0x386)][_0x3bc7bc(0x4f8)]([_0x2df7af],[this[_0x3bc7bc(0x280)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x5996e8)){const {c1Prime:_0x1631c4,c2Prime:_0x360dee}=_0x5996e8;this[_0x3bc7bc(0x269)](_0x1631c4[0x0]),_0x360dee[0x0][_0x3bc7bc(0x3e5)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x5056f5=this[_0x3bc7bc(0x4e7)][_0x3bc7bc(0x2aa)](exports[_0x3bc7bc(0x4d3)],this[_0x3bc7bc(0x479)],this[_0x3bc7bc(0x3bd)],_0x360dee[0x0],this[_0x3bc7bc(0x41c)]);return _0x5056f5[_0x3bc7bc(0x35c)](),_0x5056f5;}return this[_0x3bc7bc(0x42c)](!0x1);}catch(_0x56d931){return this[_0x3bc7bc(0x2e8)][_0x3bc7bc(0x4b4)](_0x56d931),this[_0x3bc7bc(0x42c)](!0x1);}}[_0x45aab2(0x333)](_0x388167){var _0x4e526e=_0x45aab2;this['_clearScheduledTask']();const _0x46d12f=this[_0x4e526e(0x2ed)][_0x4e526e(0x51a)](this[_0x4e526e(0x479)]);if(_0x388167[_0x4e526e(0x292)]<_0x46d12f-0x1)return this;if(this[_0x4e526e(0x21f)](_0x388167))return this[_0x4e526e(0x4e7)][_0x4e526e(0x2aa)](exports['FetchingMissState'],this[_0x4e526e(0x479)],this[_0x4e526e(0x3bd)],null,[],this[_0x4e526e(0x280)],[],this[_0x4e526e(0x41c)]);this[_0x4e526e(0x336)]();const _0x33f5b4=this[_0x4e526e(0x4e7)][_0x4e526e(0x2aa)](exports[_0x4e526e(0x315)],this[_0x4e526e(0x479)],this[_0x4e526e(0x3bd)],this['_handler']);return _0x33f5b4[_0x4e526e(0x35c)](),_0x33f5b4;}[_0x45aab2(0x368)](_0x5194db){var _0x3c408e=_0x45aab2;return this[_0x3c408e(0x42c)](!!(_0x5194db!=null&&_0x5194db[_0x3c408e(0x40c)]));}[_0x45aab2(0x4c5)](_0x4acd56){var _0x3c30a8=_0x45aab2;return this['_resendTimeout']>Nt?this[_0x3c30a8(0x364)]():(this['_resendTimer']=yt(this[_0x3c30a8(0x1b5)],{'timeout':this['_resendTimeout'],'reqId':_0x4acd56[_0x3c30a8(0x1ee)]}),this[_0x3c30a8(0x38b)]=this[_0x3c30a8(0x415)][_0x3c30a8(0x45f)](({reqId:_0x1928ac,timeout:_0x2a4fd8})=>{var _0x261a44=_0x3c30a8;this[_0x261a44(0x4a3)](_0x1928ac,_0x2a4fd8);}),this);}[_0x45aab2(0x364)](){var _0x4f5297=_0x45aab2;return this['_clearScheduledTask'](),this['_injector'][_0x4f5297(0x2aa)](exports['OfflineState'],this[_0x4f5297(0x479)],this[_0x4f5297(0x3bd)],this[_0x4f5297(0x280)],[],this[_0x4f5297(0x41c)]);}[_0x45aab2(0x4fa)](){return this;}['resend'](){var _0xd1ea39=_0x45aab2;this[_0xd1ea39(0x41c)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x45aab2(0x42c)](_0x480ac2){var _0x2cb978=_0x45aab2;return this[_0x2cb978(0x24e)](),this[_0x2cb978(0x4e7)]['createInstance'](exports['ConflictState'],this['unitID'],this[_0x2cb978(0x3bd)],this[_0x2cb978(0x280)],[],this['_handler'],_0x480ac2);}['_resendWithTimeout'](_0x40acb9,_0x12d300){var _0x3c2d06=_0x45aab2,_0x2cd0ed;_0x40acb9===((_0x2cd0ed=this['_awaitingChangeset'])==null?void 0x0:_0x2cd0ed[_0x3c2d06(0x1ee)])&&(this[_0x3c2d06(0x1dd)](),this['_resendTimeout']=_0x12d300===0x0?0x3e8:_0x12d300*0x2);}[_0x45aab2(0x24e)](){var _0x2a96f4=_0x45aab2,_0x26473a;(_0x26473a=this[_0x2a96f4(0x38b)])==null||_0x26473a[_0x2a96f4(0x1fc)](),this[_0x2a96f4(0x1b5)]=0x0;}},exports['AwaitingState']=ce([w(0x4,a['Inject'](a[_0x45aab2(0x482)])),w(0x5,a[_0x45aab2(0x46d)](g[_0x45aab2(0x49b)])),w(0x6,a[_0x45aab2(0x379)]),w(0x7,a['ILogService']),w(0x8,g['ITransformService']),w(0x9,a[_0x45aab2(0x1de)]),w(0xa,a[_0x45aab2(0x288)](z))],exports[_0x45aab2(0x4d3)]),exports['AwaitingWithPendingState']=class extends he{constructor(_0xa90128,_0x4233fd,_0x3e0cc0,_0x18cd7c,_0x1732d7,_0xa2dd9e,_0x4385a2,_0x2f4ec2,_0x1b1729,_0x474272,_0x24097f,_0x34923a,_0x10ad5f){var _0x49249d=_0x45aab2;super(_0xa90128,_0x4233fd,_0x3e0cc0,_0x18cd7c,_0x1732d7,_0x1b1729,_0x34923a,_0x2f4ec2,_0x10ad5f),A(this,_0x49249d(0x36b),'awaiting_with_pending'),A(this,'_resendTimeout',0x0),A(this,'_resendTimer'),A(this,_0x49249d(0x38b)),(this['_injector']=_0x4385a2,this['_logService']=_0x474272,this[_0x49249d(0x386)]=_0x24097f,this['localCacheService']=_0x10ad5f,_0xa2dd9e&&(this[_0x49249d(0x415)]=_0xa2dd9e,this[_0x49249d(0x38b)]=this[_0x49249d(0x415)][_0x49249d(0x45f)](({reqId:_0x4909e0,timeout:_0x3b3333})=>{var _0x179713=_0x49249d;this[_0x179713(0x4a3)](_0x4909e0,_0x3b3333);})));}['appendMutation'](_0x8fef87){return this['_pendingMutations']['push'](_0x8fef87),this;}[_0x45aab2(0x2dd)](_0xabe404){var _0xdd7535=_0x45aab2;if(this[_0xdd7535(0x21f)](_0xabe404))return this[_0xdd7535(0x24e)](),this['_injector'][_0xdd7535(0x2aa)](exports['FetchingMissState'],this[_0xdd7535(0x479)],this[_0xdd7535(0x3bd)],this[_0xdd7535(0x280)],this['_pendingMutations'],null,[_0xabe404],this[_0xdd7535(0x41c)]);try{const _0x1cac5e=this[_0xdd7535(0x386)][_0xdd7535(0x4f8)]([_0xabe404],[this[_0xdd7535(0x280)]],!0x1);if(g[_0xdd7535(0x275)](_0x1cac5e)){const {c1Prime:_0x359cd1,c2Prime:_0xba0c36}=_0x1cac5e,_0x3ec415=this[_0xdd7535(0x386)][_0xdd7535(0x210)](_0x359cd1[0x0],this[_0xdd7535(0x35d)]);if(g[_0xdd7535(0x22a)](_0x3ec415)){const {c1Prime:_0x5253f5,m2Prime:_0x3676ee}=_0x3ec415;return this[_0xdd7535(0x269)](_0x5253f5),_0xba0c36[0x0]['baseRev']=this[_0xdd7535(0x435)](),this['_clearScheduledTask'](),this[_0xdd7535(0x4e7)]['createInstance'](exports[_0xdd7535(0x1dc)],this[_0xdd7535(0x479)],this[_0xdd7535(0x3bd)],_0xba0c36[0x0],_0x3676ee,this[_0xdd7535(0x41c)],void 0x0);}throw _0x3ec415[_0xdd7535(0x4b4)];}throw _0x1cac5e[_0xdd7535(0x4b4)];}catch(_0x2c14d9){return this['_logService'][_0xdd7535(0x4b4)](_0x2c14d9),this[_0xdd7535(0x42c)](!0x1);}}['onRemoteAck'](_0x51c2ac){var _0x66fe01=_0x45aab2;if(this[_0x66fe01(0x24e)](),this[_0x66fe01(0x21f)](_0x51c2ac))return this[_0x66fe01(0x4e7)][_0x66fe01(0x2aa)](exports['FetchingMissState'],this[_0x66fe01(0x479)],this[_0x66fe01(0x3bd)],null,this['_pendingMutations'],this[_0x66fe01(0x280)],[],this[_0x66fe01(0x41c)]);this['_incrementRevisionNumber']();const _0x8cbc07=this[_0x66fe01(0x4e7)][_0x66fe01(0x2aa)](exports[_0x66fe01(0x1fe)],this['unitID'],this[_0x66fe01(0x3bd)],this[_0x66fe01(0x35d)],this['_handler']);return _0x8cbc07[_0x66fe01(0x1e9)](),_0x8cbc07[_0x66fe01(0x35c)](),_0x8cbc07;}[_0x45aab2(0x368)](_0x563639){var _0xc3b2f4=_0x45aab2;return this[_0xc3b2f4(0x42c)](!!(_0x563639!=null&&_0x563639[_0xc3b2f4(0x40c)]));}[_0x45aab2(0x4c5)](_0x3426a5){var _0x529257=_0x45aab2;return this['_resendTimeout']>Nt?this[_0x529257(0x364)]():(this[_0x529257(0x415)]=yt(this[_0x529257(0x1b5)],{'timeout':this['_resendTimeout'],'reqId':_0x3426a5[_0x529257(0x1ee)]}),this[_0x529257(0x38b)]=this[_0x529257(0x415)][_0x529257(0x45f)](({reqId:_0x4f9e9d,timeout:_0x3b2d0f})=>{var _0x333287=_0x529257;this[_0x333287(0x4a3)](_0x4f9e9d,_0x3b2d0f);}),this);}[_0x45aab2(0x364)](){var _0x17a4f8=_0x45aab2;return this[_0x17a4f8(0x24e)](),this[_0x17a4f8(0x4e7)]['createInstance'](exports[_0x17a4f8(0x3d0)],this['unitID'],this[_0x17a4f8(0x3bd)],this[_0x17a4f8(0x280)],this[_0x17a4f8(0x35d)],this['_handler']);}[_0x45aab2(0x4fa)](){return this;}[_0x45aab2(0x1dd)](){var _0x556959=_0x45aab2;this[_0x556959(0x41c)][_0x556959(0x50d)](this[_0x556959(0x280)]);}['_onConflict'](_0x30fd0f){var _0x350577=_0x45aab2;return this[_0x350577(0x24e)](),this[_0x350577(0x4e7)][_0x350577(0x2aa)](exports[_0x350577(0x30b)],this[_0x350577(0x479)],this['type'],null,this[_0x350577(0x35d)],this[_0x350577(0x41c)],_0x30fd0f);}[_0x45aab2(0x4a3)](_0xd5d3e7,_0x33efdd){var _0x70c9b1=_0x45aab2,_0x242807;_0xd5d3e7===((_0x242807=this[_0x70c9b1(0x280)])==null?void 0x0:_0x242807[_0x70c9b1(0x1ee)])&&(this[_0x70c9b1(0x1dd)](),this[_0x70c9b1(0x1b5)]=_0x33efdd===0x0?0x3e8:_0x33efdd*0x2);}[_0x45aab2(0x24e)](){var _0x137480=_0x45aab2,_0x3caef1;(_0x3caef1=this[_0x137480(0x38b)])==null||_0x3caef1[_0x137480(0x1fc)](),this['_resendTimeout']=0x0;}},exports[_0x45aab2(0x1dc)]=ce([w(0x6,a[_0x45aab2(0x46d)](a['Injector'])),w(0x7,a[_0x45aab2(0x46d)](g['RevisionService'])),w(0x8,a[_0x45aab2(0x379)]),w(0x9,a['ILogService']),w(0xa,g['ITransformService']),w(0xb,a[_0x45aab2(0x1de)]),w(0xc,a[_0x45aab2(0x288)](z))],exports[_0x45aab2(0x1dc)]),exports[_0x45aab2(0x30b)]=class extends he{constructor(_0x186c2b,_0x2643e9,_0xe1d300,_0x1d81ac,_0x5686ac,_0xd58e35=!0x1,_0x4a8912,_0x2e8dfa,_0x363843,_0x57e856,_0x5f0ce6,_0x1a8ae,_0x274d4f){var _0x35c1ea=_0x45aab2;super(_0x186c2b,_0x2643e9,_0xe1d300,_0x1d81ac,_0x5686ac,_0x2e8dfa,_0x363843,_0x57e856,_0x274d4f),A(this,_0x35c1ea(0x36b),'conflict'),(this[_0x35c1ea(0x4d6)]=_0xd58e35,this[_0x35c1ea(0x317)]=_0x4a8912,this[_0x35c1ea(0x2de)]=_0x5f0ce6,this['_collaborationUIEventService']=_0x1a8ae,this[_0x35c1ea(0x359)]=_0x274d4f,this[_0x35c1ea(0x388)](),this[_0x35c1ea(0x23b)](),this['_disableEditing']());}[_0x45aab2(0x2c4)](){return this;}[_0x45aab2(0x2dd)](){return this;}[_0x45aab2(0x333)](){return this;}['onRemoteRej'](){return this;}[_0x45aab2(0x4c5)](){return this;}[_0x45aab2(0x364)](){return this;}[_0x45aab2(0x4fa)](){return this;}[_0x45aab2(0x1dd)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x45aab2(0x23b)](){var _0x316d7a=_0x45aab2,_0x46fb96;(_0x46fb96=this[_0x316d7a(0x2d7)])==null||_0x46fb96[_0x316d7a(0x4f5)](this[_0x316d7a(0x479)],this['type'],null,[]);}[_0x45aab2(0x388)](){var _0x539985=_0x45aab2;this['_isPermissionRej']?this[_0x539985(0x229)]['emitEvent']({'id':Q[_0x539985(0x48b)]}):this[_0x539985(0x229)]['emitEvent']({'id':Q[_0x539985(0x232)]});}[_0x45aab2(0x2b1)](){var _0x4c5e7b=_0x45aab2;this[_0x4c5e7b(0x317)][_0x4c5e7b(0x381)](new Z[(_0x4c5e7b(0x508))](this[_0x4c5e7b(0x479)])['id'],!0x1);}},exports[_0x45aab2(0x30b)]=ce([w(0x6,a[_0x45aab2(0x46d)](a[_0x45aab2(0x202)])),w(0x7,a[_0x45aab2(0x379)]),w(0x8,a[_0x45aab2(0x1de)]),w(0x9,a[_0x45aab2(0x46d)](g[_0x45aab2(0x49b)])),w(0xa,a[_0x45aab2(0x46d)](a[_0x45aab2(0x37c)])),w(0xb,a[_0x45aab2(0x46d)](te)),w(0xc,a[_0x45aab2(0x288)](z))],exports[_0x45aab2(0x30b)]),exports['OfflineState']=class extends he{constructor(_0x563963,_0xbc3f71,_0x152655,_0x4ed03d,_0x1904a8,_0x342892,_0x69bfc1,_0x42f43d,_0x20907c,_0x36ea71){var _0x4af702=_0x45aab2;super(_0x563963,_0xbc3f71,_0x152655,_0x4ed03d,_0x1904a8,_0x42f43d,_0x20907c,_0x69bfc1,_0x36ea71),A(this,_0x4af702(0x36b),_0x4af702(0x4ab)),this[_0x4af702(0x4e7)]=_0x342892;}[_0x45aab2(0x2c4)](_0x483600){var _0x20c0f8=_0x45aab2;return this[_0x20c0f8(0x35d)][_0x20c0f8(0x360)](_0x483600),this['_updateLocalCache'](),this;}[_0x45aab2(0x2dd)](_0x3f5efe){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x45aab2(0x333)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x4c6734=_0x45aab2;throw new Error(_0x4c6734(0x235));}[_0x45aab2(0x4c5)](){return this;}[_0x45aab2(0x364)](){return this;}[_0x45aab2(0x4fa)](){var _0x5e6b30=_0x45aab2;const {_injector:_0x3b737f,_pendingMutations:_0x2f9743,_awaitingChangeset:_0x193eca,unitID:_0x21410f,_handler:_0x9896c5,type:_0x1a5e78}=this,_0x343628=Ut(_0x3b737f,_0x21410f,_0x1a5e78,_0x193eca,_0x2f9743,_0x9896c5);return _0x343628 instanceof exports[_0x5e6b30(0x1fe)]?_0x343628[_0x5e6b30(0x1e9)]():(_0x343628 instanceof exports[_0x5e6b30(0x1dc)]||_0x343628 instanceof exports[_0x5e6b30(0x4d3)])&&_0x343628[_0x5e6b30(0x1dd)](),_0x343628;}['resend'](){var _0x4942b0=_0x45aab2;throw new Error(_0x4942b0(0x2c7));}},exports[_0x45aab2(0x3d0)]=ce([w(0x5,a['Inject'](a[_0x45aab2(0x482)])),w(0x6,a['Inject'](g[_0x45aab2(0x49b)])),w(0x7,a[_0x45aab2(0x379)]),w(0x8,a[_0x45aab2(0x1de)]),w(0x9,a[_0x45aab2(0x288)](z))],exports[_0x45aab2(0x3d0)]),exports[_0x45aab2(0x45d)]=class extends he{constructor(_0x494a82,_0x21909a,_0x58ee33,_0xf12b8d,_0x32e585,_0x369cf5,_0x3873da,_0x530191,_0x3a8a65,_0x3e6b75,_0x13d5c0,_0x4ec54e,_0x58b497,_0xab5dc2){var _0x3a4753=_0x45aab2;super(_0x494a82,_0x21909a,_0x58ee33,_0xf12b8d,_0x3873da,_0x13d5c0,_0x4ec54e,_0x3a8a65,_0xab5dc2),A(this,_0x3a4753(0x36b),'fetch_missing'),(this[_0x3a4753(0x436)]=_0x32e585,this[_0x3a4753(0x4cc)]=_0x369cf5,this['_injector']=_0x530191,this[_0x3a4753(0x2e8)]=_0x3e6b75,this[_0x3a4753(0x386)]=_0x58b497,this[_0x3a4753(0x359)]=_0xab5dc2);}[_0x45aab2(0x31c)](_0x296ea1){var _0x35ca90=_0x45aab2;try{const _0x1d6f75=[..._0x296ea1,...this[_0x35ca90(0x4cc)]],_0x463154=[this[_0x35ca90(0x280)]||this['_acknowledgedAwaitingChangeset']][_0x35ca90(0x258)](_0x4ccd65=>!!_0x4ccd65);let _0x4d3e97,_0x1a21be;if(_0x463154[_0x35ca90(0x1ef)]){const _0x4bee62=this['_transformService'][_0x35ca90(0x4f8)](_0x1d6f75,_0x463154,!0x1);if(!g['isTransformChangesetsSuccess'](_0x4bee62))throw _0x4bee62[_0x35ca90(0x4b4)];_0x4d3e97=_0x4bee62[_0x35ca90(0x34c)],_0x1a21be=_0x4bee62[_0x35ca90(0x4de)];}else _0x4d3e97=_0x1d6f75,_0x1a21be=[];let _0x284d54=this[_0x35ca90(0x35d)];_0x4d3e97['forEach'](_0x52a8e4=>{var _0x36921e=_0x35ca90;let _0x4bb641;if(_0x284d54[_0x36921e(0x1ef)]){const _0x1d4742=this[_0x36921e(0x386)][_0x36921e(0x210)](_0x52a8e4,_0x284d54);if(!g['isTransformMutationsWithChangesetSuccess'](_0x1d4742))throw _0x1d4742[_0x36921e(0x4b4)];_0x4bb641=_0x1d4742['c1Prime'],_0x284d54=_0x1d4742['m2Prime'];}else _0x4bb641=_0x52a8e4;this[_0x36921e(0x269)](_0x4bb641);}),this[_0x35ca90(0x436)]&&this['_incrementRevisionNumber'](),this[_0x35ca90(0x280)]&&_0x1a21be[_0x35ca90(0x1ef)]&&(_0x1a21be[0x0][_0x35ca90(0x3e5)]=this[_0x35ca90(0x435)]());let _0x4be6b8;if(this[_0x35ca90(0x280)]&&_0x284d54[_0x35ca90(0x1ef)]!==0x0)_0x4be6b8=this['_injector']['createInstance'](exports[_0x35ca90(0x1dc)],this[_0x35ca90(0x479)],this[_0x35ca90(0x3bd)],_0x1a21be[0x0],_0x284d54,this[_0x35ca90(0x41c)],void 0x0);else{if(this['_awaitingChangeset']&&_0x284d54[_0x35ca90(0x1ef)]===0x0)_0x1a21be[0x0][_0x35ca90(0x3e5)]=this[_0x35ca90(0x435)](),_0x4be6b8=this[_0x35ca90(0x4e7)][_0x35ca90(0x2aa)](exports[_0x35ca90(0x4d3)],this[_0x35ca90(0x479)],this[_0x35ca90(0x3bd)],_0x1a21be[0x0],this[_0x35ca90(0x41c)]);else{if(_0x284d54[_0x35ca90(0x1ef)]!==0x0){const _0x336911=this[_0x35ca90(0x4e7)][_0x35ca90(0x2aa)](exports[_0x35ca90(0x1fe)],this[_0x35ca90(0x479)],this[_0x35ca90(0x3bd)],_0x284d54,this['_handler']);_0x336911[_0x35ca90(0x1e9)](),_0x4be6b8=_0x336911;}else _0x4be6b8=this[_0x35ca90(0x4e7)]['createInstance'](exports[_0x35ca90(0x315)],this[_0x35ca90(0x479)],this[_0x35ca90(0x3bd)],this[_0x35ca90(0x41c)]);}}return _0x4be6b8[_0x35ca90(0x35c)](),_0x4be6b8;}catch(_0x5bbe41){return this[_0x35ca90(0x2e8)][_0x35ca90(0x4b4)](_0x35ca90(0x419),_0x35ca90(0x27c),_0x5bbe41),this[_0x35ca90(0x4e7)][_0x35ca90(0x2aa)](exports[_0x35ca90(0x30b)],this[_0x35ca90(0x479)],this[_0x35ca90(0x3bd)],this[_0x35ca90(0x280)],this[_0x35ca90(0x35d)],this[_0x35ca90(0x41c)],!0x1);}}[_0x45aab2(0x1dd)](){var _0x3bd5b4=_0x45aab2;throw new Error(_0x3bd5b4(0x293));}['appendMutation'](_0x2d356b){var _0x194557=_0x45aab2;return this[_0x194557(0x35d)][_0x194557(0x360)](_0x2d356b),this;}[_0x45aab2(0x2dd)](_0x1fb6b4){var _0x37e088=_0x45aab2;return this['_queuedRemoteChangesets'][_0x37e088(0x360)](_0x1fb6b4),this;}[_0x45aab2(0x333)](_0x55ea5a){var _0x4deecb=_0x45aab2;if(this['_awaitingChangeset'])return this[_0x4deecb(0x436)]=this[_0x4deecb(0x280)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x45aab2(0x368)](_0x2049e6){var _0x578df0=_0x45aab2;return this['_onConflict'](!!(_0x2049e6!=null&&_0x2049e6[_0x578df0(0x40c)]));}[_0x45aab2(0x4c5)](){return this;}['toggleOffline'](){var _0x2378a6=_0x45aab2;return this['_injector'][_0x2378a6(0x2aa)](exports[_0x2378a6(0x3d0)],this['unitID'],this['type'],this[_0x2378a6(0x280)],this[_0x2378a6(0x35d)],this[_0x2378a6(0x41c)]);}[_0x45aab2(0x4fa)](){return this;}[_0x45aab2(0x42c)](_0x37a75e){var _0x3531ee=_0x45aab2;return this[_0x3531ee(0x4e7)][_0x3531ee(0x2aa)](exports['ConflictState'],this['unitID'],this[_0x3531ee(0x3bd)],this[_0x3531ee(0x280)],this[_0x3531ee(0x35d)],this[_0x3531ee(0x41c)],_0x37a75e);}},exports['FetchingMissState']=ce([w(0x7,a[_0x45aab2(0x46d)](a[_0x45aab2(0x482)])),w(0x8,a[_0x45aab2(0x46d)](g[_0x45aab2(0x49b)])),w(0x9,a[_0x45aab2(0x4bc)]),w(0xa,a[_0x45aab2(0x379)]),w(0xb,a[_0x45aab2(0x1de)]),w(0xc,g[_0x45aab2(0x3da)]),w(0xd,a['Optional'](z))],exports[_0x45aab2(0x45d)]);function Ut(_0x2a053d,_0x48e1d4,_0x44af8f,_0x157641,_0x55242e,_0x8470c5){var _0x5a74ee=_0x45aab2;return _0x157641&&_0x55242e[_0x5a74ee(0x1ef)]?_0x2a053d[_0x5a74ee(0x2aa)](exports[_0x5a74ee(0x1dc)],_0x48e1d4,_0x44af8f,_0x157641,_0x55242e,_0x8470c5,void 0x0):_0x157641?_0x2a053d['createInstance'](exports[_0x5a74ee(0x4d3)],_0x48e1d4,_0x44af8f,_0x157641,_0x8470c5):_0x55242e[_0x5a74ee(0x1ef)]?_0x2a053d[_0x5a74ee(0x2aa)](exports[_0x5a74ee(0x1fe)],_0x48e1d4,_0x44af8f,_0x55242e,_0x8470c5):_0x2a053d[_0x5a74ee(0x2aa)](exports['SyncedState'],_0x48e1d4,_0x44af8f,_0x8470c5);}var Ci=Object['getOwnPropertyDescriptor'],We=(_0x43016d,_0x54b4d7,_0x166d61,_0x5e6f9f)=>{var _0x1baedf=_0x45aab2;for(var _0x1ff63a=_0x5e6f9f>0x1?void 0x0:_0x5e6f9f?Ci(_0x54b4d7,_0x166d61):_0x54b4d7,_0x49db28=_0x43016d[_0x1baedf(0x1ef)]-0x1,_0x5ee419;_0x49db28>=0x0;_0x49db28--)(_0x5ee419=_0x43016d[_0x49db28])&&(_0x1ff63a=_0x5ee419(_0x1ff63a)||_0x1ff63a);return _0x1ff63a;},$=(_0xf1428e,_0xb216d3)=>(_0xa225bf,_0x2d8cf6)=>_0xb216d3(_0xa225bf,_0x2d8cf6,_0xf1428e);exports[_0x45aab2(0x439)]=class extends a[_0x45aab2(0x36e)]{constructor(_0x1e1e95,_0x124f60,_0x2b90c6,_0x1ae292,_0x31516d,_0x17d698,_0x57f763,_0x1e89cd,_0x525dec,_0x3f8142,_0xa3d5e8,_0x37894e,_0x4dd3b6){var _0xc7bab6=_0x45aab2;super(),A(this,_0xc7bab6(0x1e3),new j['BehaviorSubject'](null)),A(this,'state$',this[_0xc7bab6(0x1e3)]['asObservable']()),A(this,_0xc7bab6(0x1d0)),A(this,_0xc7bab6(0x457),!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,_0xc7bab6(0x362),this[_0xc7bab6(0x1b3)]['pipe'](j[_0xc7bab6(0x309)](_0x29c6a4=>_0x29c6a4?_0x29c6a4[_0xc7bab6(0x36b)]:Ve[_0xc7bab6(0x4e8)]),j['shareReplay'](0x1))),A(this,_0xc7bab6(0x496),!0x1),A(this,_0xc7bab6(0x4bb),[]),(this[_0xc7bab6(0x479)]=_0x1e1e95,this[_0xc7bab6(0x26e)]=_0x124f60,this[_0xc7bab6(0x2d9)]=_0x2b90c6,this[_0xc7bab6(0x4e7)]=_0x1ae292,this[_0xc7bab6(0x3d6)]=_0x31516d,this['_localeService']=_0x17d698,this[_0xc7bab6(0x2ed)]=_0x57f763,this[_0xc7bab6(0x406)]=_0x1e89cd,this[_0xc7bab6(0x2e8)]=_0x525dec,this[_0xc7bab6(0x4f1)]=_0x3f8142,this[_0xc7bab6(0x317)]=_0xa3d5e8,this[_0xc7bab6(0x50f)]=_0x37894e,this['_localCacheService']=_0x4dd3b6);}get[_0x45aab2(0x403)](){var _0x191afc=_0x45aab2;return this[_0x191afc(0x1d0)];}async[_0x45aab2(0x2dc)](){var _0x22fc4f=_0x45aab2;if(this[_0x22fc4f(0x403)])throw new Error(_0x22fc4f(0x44b));await this[_0x22fc4f(0x48c)]();}[_0x45aab2(0x2ad)](){var _0x2363e0=_0x45aab2;return this[_0x2363e0(0x457)]=!0x0,a['toDisposable'](()=>{var _0x2c5220=_0x2363e0;this[_0x2c5220(0x457)]=!0x1,this[_0x2c5220(0x4c3)]();});}[_0x45aab2(0x2cd)](_0x103b06){var _0x11a7d1=_0x45aab2;this[_0x11a7d1(0x236)](_0x103b06);}[_0x45aab2(0x2e0)](_0x823a1){var _0x530d4c=_0x45aab2;this[_0x530d4c(0x1d0)]=_0x823a1,this['_state$']['next'](_0x823a1);}async[_0x45aab2(0x48c)](){var _0x42d817=_0x45aab2,_0x507a66;this[_0x42d817(0x2e0)](await this['_createInitialState']()),this[_0x42d817(0x50f)]&&((_0x507a66=this[_0x42d817(0x50f)])==null||_0x507a66[_0x42d817(0x471)](this['unitID']),this[_0x42d817(0x30f)](this[_0x42d817(0x50f)][_0x42d817(0x327)](this['unitID'])[_0x42d817(0x45f)](_0x57eb5f=>{var _0x3e8204=_0x42d817;this[_0x3e8204(0x2e8)][_0x3e8204(0x4a8)]('[CollaborationEntity]',_0x3e8204(0x207),_0x57eb5f),_0x57eb5f===Fe[_0x3e8204(0x3e2)]?(this[_0x3e8204(0x406)][_0x3e8204(0x29f)]({'id':Q[_0x3e8204(0x3bf)]}),this[_0x3e8204(0x317)][_0x3e8204(0x381)](new Z['WorkbookEditablePermission'](this[_0x3e8204(0x479)])['id'],!0x1),this[_0x3e8204(0x317)][_0x3e8204(0x491)](!0x1)):(this[_0x3e8204(0x317)][_0x3e8204(0x381)](new Z[(_0x3e8204(0x508))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x3e8204(0x491)](!0x0));})));let _0x26317e=!0x1;return this['disposeWithMe'](this['session'][_0x42d817(0x2e6)][_0x42d817(0x45f)](_0x51808a=>{var _0x3111f1=_0x42d817;_0x51808a===se[_0x3111f1(0x3b4)]?this[_0x3111f1(0x44f)](_0x26317e):_0x51808a===se['OFFLINE']&&(_0x26317e=!0x0,this[_0x3111f1(0x51d)]());})),this[_0x42d817(0x30f)](this[_0x42d817(0x26e)][_0x42d817(0x422)]['subscribe'](_0x5422fb=>{var _0x2ceaf2=_0x42d817;try{switch(_0x5422fb[_0x2ceaf2(0x301)]){case g[_0x2ceaf2(0x341)][_0x2ceaf2(0x4e6)]:{this[_0x2ceaf2(0x497)](g['parseProtocolChangeset'](_0x5422fb['data']));break;}case g[_0x2ceaf2(0x341)]['CHANGESET_ACK']:{this[_0x2ceaf2(0x295)](_0x5422fb['data']);break;}case g[_0x2ceaf2(0x341)][_0x2ceaf2(0x3b0)]:{this[_0x2ceaf2(0x49f)]();break;}case g[_0x2ceaf2(0x341)]['CHANGESET_SHOULD_RETRY']:{this[_0x2ceaf2(0x4f9)](_0x5422fb[_0x2ceaf2(0x444)]);break;}case g[_0x2ceaf2(0x341)][_0x2ceaf2(0x2b2)]:{this[_0x2ceaf2(0x3b9)](_0x5422fb[_0x2ceaf2(0x444)][_0x2ceaf2(0x46e)]['map'](_0x35298c=>g[_0x2ceaf2(0x4e1)](_0x35298c)));break;}case g['CollaborationEvent']['PERMISSION_REJ']:{this[_0x2ceaf2(0x49f)]({'isPermissionRej':!0x0});break;}case g[_0x2ceaf2(0x341)][_0x2ceaf2(0x1f3)]:break;}}catch(_0x3006c6){throw console['error'](_0x2ceaf2(0x252),_0x3006c6),_0x3006c6;}})),this[_0x42d817(0x1d0)];}['_unlockTransition'](){var _0x35e30a=_0x45aab2;this[_0x35e30a(0x496)]=!0x1;}[_0x45aab2(0x450)](){var _0x36f17f=_0x45aab2;if(this[_0x36f17f(0x496)])throw new Error(_0x36f17f(0x223));this[_0x36f17f(0x496)]=!0x0;}[_0x45aab2(0x236)](_0x5a5879){var _0x5c925b=_0x45aab2;this[_0x5c925b(0x450)](),this[_0x5c925b(0x2e0)](this[_0x5c925b(0x1d0)][_0x5c925b(0x2c4)](_0x5a5879)),this['_unlockTransition']();}[_0x45aab2(0x497)](_0x2f3fe7){var _0x43d3a1=_0x45aab2;if(!(_0x2f3fe7[_0x43d3a1(0x292)]<=this[_0x43d3a1(0x2ed)]['getCurrentRevOfUnit'](this[_0x43d3a1(0x479)]))){if(this[_0x43d3a1(0x457)]){this[_0x43d3a1(0x4bb)][_0x43d3a1(0x360)](_0x2f3fe7);return;}this[_0x43d3a1(0x308)](_0x2f3fe7);}}[_0x45aab2(0x4c3)](){var _0x49f601=_0x45aab2;this[_0x49f601(0x4bb)]['forEach'](_0x8b8d65=>this[_0x49f601(0x308)](_0x8b8d65)),this[_0x49f601(0x4bb)]=[];}[_0x45aab2(0x308)](_0x452b41){var _0x1a0358=_0x45aab2;const _0x7a0069=this[_0x1a0358(0x3d6)]['interceptor'][_0x1a0358(0x380)](this[_0x1a0358(0x3d6)][_0x1a0358(0x2e4)][_0x1a0358(0x25c)]()[_0x1a0358(0x273)])(_0x452b41[_0x1a0358(0x41d)],null)||_0x452b41[_0x1a0358(0x41d)],_0x16f4cc={..._0x452b41,'mutations':_0x7a0069};this['_lockTransition'](),this[_0x1a0358(0x2e0)](this['_state'][_0x1a0358(0x2dd)](_0x16f4cc)),this[_0x1a0358(0x26c)]();}['_onRemoteACK'](_0x24b24b){var _0x4eedf0=_0x45aab2;this[_0x4eedf0(0x450)](),this['_updateState'](this['_state'][_0x4eedf0(0x333)](_0x24b24b)),this[_0x4eedf0(0x26c)]();}[_0x45aab2(0x49f)](_0x590dd2){var _0x496c8f=_0x45aab2;this['_lockTransition'](),this[_0x496c8f(0x2e0)](this[_0x496c8f(0x1d0)][_0x496c8f(0x368)](_0x590dd2)),this[_0x496c8f(0x26c)]();}[_0x45aab2(0x4f9)](_0x3d4dbf){var _0x44972d=_0x45aab2;this['_lockTransition'](),this['_updateState'](this[_0x44972d(0x1d0)][_0x44972d(0x4c5)](_0x3d4dbf)),this[_0x44972d(0x26c)]();}['_onFetchMissResult'](_0x1c6a79){var _0x261730=_0x45aab2;if(!(this[_0x261730(0x1d0)]instanceof exports['FetchingMissState']))throw new TypeError(_0x261730(0x348));const _0x550538=_0x1c6a79[_0x261730(0x309)](_0x47f895=>{var _0x461ad9=_0x261730;const _0x1c0872=this[_0x461ad9(0x3d6)]['interceptor'][_0x461ad9(0x380)](this[_0x461ad9(0x3d6)][_0x461ad9(0x2e4)][_0x461ad9(0x25c)]()[_0x461ad9(0x273)])(_0x47f895[_0x461ad9(0x41d)],null)||_0x47f895[_0x461ad9(0x41d)];return{..._0x47f895,'mutations':_0x1c0872};});this['_lockTransition'](),this[_0x261730(0x2e0)](this[_0x261730(0x1d0)]['onMissedChangesetFetched'](_0x550538)),this[_0x261730(0x26c)]();}[_0x45aab2(0x51d)](){var _0xb147d0=_0x45aab2;this['_lockTransition'](),this[_0xb147d0(0x2e0)](this[_0xb147d0(0x1d0)][_0xb147d0(0x364)]()),this[_0xb147d0(0x26c)]();}[_0x45aab2(0x44f)](_0x29e1bd=!0x1){var _0x20fa45=_0x45aab2;this[_0x20fa45(0x450)](),this[_0x20fa45(0x2e0)](this[_0x20fa45(0x1d0)][_0x20fa45(0x4fa)]()),this['_unlockTransition']();const _0x37ed82=this[_0x20fa45(0x1d0)];_0x29e1bd&&_0x37ed82 instanceof exports['SyncedState']&&(this['_lockTransition'](),this[_0x20fa45(0x2e0)](_0x37ed82[_0x20fa45(0x40b)]()),this['_unlockTransition']());}async[_0x45aab2(0x3af)](){return new Promise(_0x5131e1=>{var _0xd9cb46=_0x5692;this['session'][_0xd9cb46(0x2e6)][_0xd9cb46(0x2ce)](j[_0xd9cb46(0x27a)](0x1))[_0xd9cb46(0x45f)](async _0x9abd77=>{var _0x63eed9=_0xd9cb46;_0x5131e1(await this[_0x63eed9(0x413)](_0x9abd77===se['ONLINE']));});});}[_0x45aab2(0x517)](){var _0x347896=_0x45aab2;const _0xcdf7e5=this[_0x347896(0x479)];return{'onStateChange':(_0x30d7e0,_0x38e499)=>{var _0x539bd5=_0x347896;if(_0x30d7e0!==this[_0x539bd5(0x1d0)])throw new Error(_0x539bd5(0x1d3)+_0x30d7e0[_0x539bd5(0x36b)]+_0x539bd5(0x21a)+_0x38e499[_0x539bd5(0x36b)]+'\x0aCurrent:\x20'+this[_0x539bd5(0x1d0)][_0x539bd5(0x36b)]);this['_updateState'](_0x38e499);},'onSendChangeset':_0x4e4939=>{var _0x4717c0=_0x347896;_0x4e4939['sid']||(_0x4e4939[_0x4717c0(0x20a)]=this[_0x4717c0(0x328)],_0x4e4939[_0x4717c0(0x1ee)]=++this[_0x4717c0(0x3b6)]);const _0x5ca891={'eventID':g[_0x4717c0(0x341)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x4e4939[_0x4717c0(0x479)],'unitType':this['_type'],'changeset':_0x4e4939,'memberID':this[_0x4717c0(0x26e)][_0x4717c0(0x3f4)]()}};this[_0x4717c0(0x26e)]['send'](_0x5ca891,this[_0x4717c0(0x479)]);},'onMissingChangesets':({from:_0x1f7583,to:_0x473a0d})=>{var _0x49e55f=_0x347896;this[_0x49e55f(0x2e8)][_0x49e55f(0x4a8)]('[CollaborationEntity]',_0x49e55f(0x390)+_0x1f7583+_0x49e55f(0x4c1)+_0x473a0d);const _0x93f222={'eventID':g[_0x49e55f(0x341)][_0x49e55f(0x1d5)],'data':{'unitID':_0xcdf7e5,'unitType':this['_type'],'from':_0x1f7583,'to':_0x473a0d}};this['session'][_0x49e55f(0x340)](_0x93f222,this['unitID']);}};}async['_createInitialStateImpl'](_0x58e32e){var _0x207b9f=_0x45aab2,_0x56672e,_0x4e9848,_0x456a02;const _0x23f8a4=await((_0x56672e=this[_0x207b9f(0x2d7)])==null?void 0x0:_0x56672e[_0x207b9f(0x34e)](this[_0x207b9f(0x479)])),_0x2eddaa=(_0x4e9848=_0x23f8a4==null?void 0x0:_0x23f8a4[_0x207b9f(0x41d)])!=null?_0x4e9848:[],_0x1b6902=(_0x456a02=_0x23f8a4==null?void 0x0:_0x23f8a4[_0x207b9f(0x323)])!=null?_0x456a02:null,_0x3a8601=!!(_0x1b6902!=null&&_0x1b6902[_0x207b9f(0x20a)])&&!!(_0x1b6902!=null&&_0x1b6902['reqId']);this[_0x207b9f(0x328)]=_0x3a8601?_0x1b6902[_0x207b9f(0x20a)]:di(),this['_changesetReqId']=_0x3a8601?_0x1b6902['reqId']:0x0;const _0x5c739b=this[_0x207b9f(0x479)];try{this['_replayCachedMutations'](_0x1b6902,_0x2eddaa);}catch(_0x59dd19){this[_0x207b9f(0x2e8)][_0x207b9f(0x4b4)](_0x59dd19);}const _0x1bb52b=this[_0x207b9f(0x517)]();if(_0x58e32e){const _0x547fdf=Ut(this['_injector'],_0x5c739b,this['_type'],_0x1b6902,_0x2eddaa,_0x1bb52b);return _0x547fdf instanceof exports['PendingState']?_0x547fdf[_0x207b9f(0x1e9)]():(_0x547fdf instanceof exports[_0x207b9f(0x1dc)]||_0x547fdf instanceof exports[_0x207b9f(0x4d3)])&&_0x547fdf[_0x207b9f(0x1dd)](),_0x547fdf;}return this[_0x207b9f(0x4e7)][_0x207b9f(0x2aa)](exports[_0x207b9f(0x3d0)],_0x5c739b,this[_0x207b9f(0x2d9)],_0x1b6902,_0x2eddaa,_0x1bb52b);}[_0x45aab2(0x1eb)](_0x939ba,_0x404872){var _0x4096a1=_0x45aab2,_0x191b8c,_0x216c6a;const _0x4f37f9=this[_0x4096a1(0x3d6)]['interceptor'][_0x4096a1(0x380)](this[_0x4096a1(0x3d6)][_0x4096a1(0x2e4)][_0x4096a1(0x25c)]()['COMPRESS_MUTATION_APPLY']);(_0x191b8c=_0x4f37f9((_0x939ba==null?void 0x0:_0x939ba[_0x4096a1(0x41d)])||[],null))==null||_0x191b8c[_0x4096a1(0x42b)](_0x499556=>this[_0x4096a1(0x4f1)][_0x4096a1(0x1ae)](_0x499556['id'],_0x499556[_0x4096a1(0x4d8)])),(_0x216c6a=_0x4f37f9(_0x404872||[],null))==null||_0x216c6a['forEach'](_0x392ee7=>this['_commandService'][_0x4096a1(0x1ae)](_0x392ee7['id'],_0x392ee7['params']));}},exports[_0x45aab2(0x439)]=We([$(0x3,a['Inject'](a[_0x45aab2(0x482)])),$(0x4,a[_0x45aab2(0x46d)](g[_0x45aab2(0x1b4)])),$(0x5,a[_0x45aab2(0x46d)](a[_0x45aab2(0x37c)])),$(0x6,a[_0x45aab2(0x46d)](g[_0x45aab2(0x49b)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x45aab2(0x4bc)]),$(0x9,a['ICommandService']),$(0xa,a[_0x45aab2(0x202)]),$(0xb,a[_0x45aab2(0x288)](ve)),$(0xc,a[_0x45aab2(0x288)](z))],exports[_0x45aab2(0x439)]),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x129de5,_0x2cb98d,_0xc9db42,_0x2e51e5,_0xb421e0,_0x5b81be,_0x254ade,_0x27125b,_0x5f27c3,_0x11537e,_0x4c1ecf,_0x18581e,_0x216ea7){var _0x241390=_0x45aab2;super(_0x129de5,_0xc9db42,_0x2cb98d,_0x2e51e5,_0xb421e0,_0x5b81be,_0x254ade,_0x27125b,_0x5f27c3,_0x11537e,_0x4c1ecf,_0x18581e,_0x216ea7),A(this,_0x241390(0x418),null),(this[_0x241390(0x479)]=_0x129de5,this[_0x241390(0x3bd)]=_0x2cb98d);}[_0x45aab2(0x358)](_0x22dae9){var _0x37f031=_0x45aab2;this[_0x37f031(0x418)]=_0x22dae9;}[_0x45aab2(0x414)](){var _0x267252=_0x45aab2;this[_0x267252(0x418)]=null,super[_0x267252(0x414)]();}['_createHandler'](){var _0x5d91e7=_0x45aab2;const _0x5ded95=super[_0x5d91e7(0x517)]();return _0x5ded95[_0x5d91e7(0x4c2)]=_0x581e18=>{var _0x5b77f6=_0x5d91e7,_0x1aeca6,_0x5130a1;return(_0x5130a1=(_0x1aeca6=this['_handlerCallback'])==null?void 0x0:_0x1aeca6['onTransformIME'])==null?void 0x0:_0x5130a1[_0x5b77f6(0x27b)](_0x1aeca6,_0x581e18);},_0x5ded95[_0x5d91e7(0x243)]=_0x30e05d=>{var _0x3c5feb=_0x5d91e7,_0x493998,_0x5cfc20;return(_0x5cfc20=(_0x493998=this[_0x3c5feb(0x418)])==null?void 0x0:_0x493998[_0x3c5feb(0x243)])==null?void 0x0:_0x5cfc20['call'](_0x493998,_0x30e05d);},_0x5ded95[_0x5d91e7(0x3f1)]=_0x2c0016=>{var _0xa1ca31=_0x5d91e7,_0x4889cd,_0x4ada9f;return(_0x4ada9f=(_0x4889cd=this['_handlerCallback'])==null?void 0x0:_0x4889cd['onTransformSelections'])==null?void 0x0:_0x4ada9f[_0xa1ca31(0x27b)](_0x4889cd,_0x2c0016);},_0x5ded95[_0x5d91e7(0x31d)]=_0xc9ce1a=>{var _0x32559c=_0x5d91e7,_0x4c38ed,_0x48d80c;return(_0x48d80c=(_0x4c38ed=this[_0x32559c(0x418)])==null?void 0x0:_0x4c38ed[_0x32559c(0x31d)])==null?void 0x0:_0x48d80c['call'](_0x4c38ed,_0xc9ce1a);},_0x5ded95[_0x5d91e7(0x337)]=_0x2791ae=>{var _0x347923=_0x5d91e7,_0xa88b2a,_0x213c3d,_0x221e8e;if(!((_0xa88b2a=this['_handlerCallback'])!=null&&_0xa88b2a['onTransformRemoteChangesetByIMECache']))throw new Error(_0x347923(0x32e));return(_0x221e8e=(_0x213c3d=this[_0x347923(0x418)])==null?void 0x0:_0x213c3d['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x221e8e[_0x347923(0x27b)](_0x213c3d,_0x2791ae);},_0x5ded95[_0x5d91e7(0x39b)]=_0x57d306=>{var _0xb13564=_0x5d91e7,_0x38d23b,_0x404db1,_0x395c81;if(!((_0x38d23b=this[_0xb13564(0x418)])!=null&&_0x38d23b[_0xb13564(0x39b)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x395c81=(_0x404db1=this[_0xb13564(0x418)])==null?void 0x0:_0x404db1[_0xb13564(0x39b)])==null?void 0x0:_0x395c81[_0xb13564(0x27b)](_0x404db1,_0x57d306);},_0x5ded95;}async[_0x45aab2(0x48c)](){var _0x1b3687=_0x45aab2;const _0x18ace3=await super['_init']();return this[_0x1b3687(0x30f)](this[_0x1b3687(0x4f1)]['onCommandExecuted']((_0x5c3a57,_0x233244)=>{var _0xc55c85=_0x1b3687;if(_0x5c3a57[_0xc55c85(0x3bd)]!==a[_0xc55c85(0x239)][_0xc55c85(0x513)]||_0x233244!=null&&_0x233244[_0xc55c85(0x42e)]||_0x233244!=null&&_0x233244['onlyLocal']||_0x5c3a57['id']===ut[_0xc55c85(0x45c)]['id'])return;const _0x308ec3=_0x5c3a57['params'];if((_0x308ec3==null?void 0x0:_0x308ec3[_0xc55c85(0x4bd)])!==this[_0xc55c85(0x479)])return;const _0x503490=_0x5c3a57,_0x2b9f63=this[_0xc55c85(0x3d6)][_0xc55c85(0x2e4)]['fetchThroughInterceptors'](this[_0xc55c85(0x3d6)][_0xc55c85(0x2e4)][_0xc55c85(0x25c)]()['COMPRESS_MUTATION_SEND'])([_0x503490],null)||[_0x503490];this['_onLocalMutation'](_0x2b9f63[0x0]);})),_0x18ace3;}},exports[_0x45aab2(0x35e)]=We([$(0x3,a['Inject'](a['Injector'])),$(0x4,a[_0x45aab2(0x46d)](g[_0x45aab2(0x1b4)])),$(0x5,a[_0x45aab2(0x46d)](a[_0x45aab2(0x37c)])),$(0x6,a[_0x45aab2(0x46d)](g[_0x45aab2(0x49b)])),$(0x7,a[_0x45aab2(0x46d)](te)),$(0x8,a[_0x45aab2(0x4bc)]),$(0x9,a[_0x45aab2(0x379)]),$(0xa,a['IPermissionService']),$(0xb,a['Optional'](ve)),$(0xc,a[_0x45aab2(0x288)](z))],exports[_0x45aab2(0x35e)]),exports['SheetCollaborationEntity']=class extends exports[_0x45aab2(0x439)]{constructor(_0x3c6e80,_0x59ab8e,_0x3e4a35,_0x157416,_0x2636dc,_0x11ce72,_0xb6e0ae,_0x37e762,_0x211bd9,_0x38fa98,_0x45860c,_0x3bf5e7,_0xc4caf9,_0x2645d0){var _0x10fe53=_0x45aab2;super(_0x3c6e80,_0x3e4a35,_0x59ab8e,_0x157416,_0x2636dc,_0x11ce72,_0xb6e0ae,_0x211bd9,_0x38fa98,_0x45860c,_0x3bf5e7,_0xc4caf9,_0x2645d0),this[_0x10fe53(0x479)]=_0x3c6e80,this['type']=_0x59ab8e,this[_0x10fe53(0x455)]=_0x37e762;}[_0x45aab2(0x517)](){var _0x4bb035=_0x45aab2;const _0xb77052=super[_0x4bb035(0x517)]();return _0xb77052['onTransformSelections']=_0x5455b6=>this[_0x4bb035(0x455)][_0x4bb035(0x4ec)](_0x5455b6),_0xb77052;}async[_0x45aab2(0x48c)](){var _0x3fc35b=_0x45aab2;const _0x8cba28=await super[_0x3fc35b(0x48c)]();return this['disposeWithMe'](this[_0x3fc35b(0x4f1)]['onCommandExecuted']((_0x3ec41d,_0x564ba0)=>{var _0x16486a=_0x3fc35b;if(_0x3ec41d['type']!==a[_0x16486a(0x239)]['MUTATION']||_0x564ba0!=null&&_0x564ba0[_0x16486a(0x42e)]||_0x564ba0!=null&&_0x564ba0[_0x16486a(0x22f)])return;const _0x22b30a=_0x3ec41d[_0x16486a(0x4d8)];if((_0x22b30a==null?void 0x0:_0x22b30a[_0x16486a(0x4bd)])!==this[_0x16486a(0x479)])return;const _0xe64476=_0x3ec41d,_0x2b504d=this[_0x16486a(0x3d6)][_0x16486a(0x2e4)]['fetchThroughInterceptors'](this[_0x16486a(0x3d6)][_0x16486a(0x2e4)]['getInterceptPoints']()[_0x16486a(0x1db)])([_0xe64476],null)||[_0xe64476];this[_0x16486a(0x236)](_0x2b504d[0x0]);})),_0x8cba28;}},exports['SheetCollaborationEntity']=We([$(0x3,a['Inject'](a[_0x45aab2(0x482)])),$(0x4,a[_0x45aab2(0x46d)](g[_0x45aab2(0x1b4)])),$(0x5,a['Inject'](a['LocaleService'])),$(0x6,a[_0x45aab2(0x46d)](g[_0x45aab2(0x49b)])),$(0x7,a[_0x45aab2(0x46d)](exports[_0x45aab2(0x3fc)])),$(0x8,a['Inject'](te)),$(0x9,a[_0x45aab2(0x4bc)]),$(0xa,a[_0x45aab2(0x379)]),$(0xb,a[_0x45aab2(0x202)]),$(0xc,a['Optional'](ve)),$(0xd,a[_0x45aab2(0x288)](z))],exports[_0x45aab2(0x3fe)]);var Ti=Object[_0x45aab2(0x47b)],bi=(_0x3234de,_0x47ee78,_0x1c63bc,_0x482457)=>{for(var _0x49e4c4=_0x482457>0x1?void 0x0:_0x482457?Ti(_0x47ee78,_0x1c63bc):_0x47ee78,_0x4003d1=_0x3234de['length']-0x1,_0x2e4c16;_0x4003d1>=0x0;_0x4003d1--)(_0x2e4c16=_0x3234de[_0x4003d1])&&(_0x49e4c4=_0x2e4c16(_0x49e4c4)||_0x49e4c4);return _0x49e4c4;},Pe=(_0x432007,_0x23b4ea)=>(_0x19a936,_0x1f30d4)=>_0x23b4ea(_0x19a936,_0x1f30d4,_0x432007);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x4a3707,_0xb9b5f3,_0x349022){var _0x198ad8=_0x45aab2;super(),A(this,_0x198ad8(0x372),new Map()),A(this,_0x198ad8(0x3e0),new j['Subject']()),A(this,_0x198ad8(0x469),this[_0x198ad8(0x3e0)][_0x198ad8(0x3fb)]()),(this[_0x198ad8(0x4e7)]=_0x4a3707,this[_0x198ad8(0x396)]=_0xb9b5f3,this[_0x198ad8(0x20c)]=_0x349022,this[_0x198ad8(0x48c)]());}['dispose'](){var _0x529ed9=_0x45aab2;super[_0x529ed9(0x414)](),this[_0x529ed9(0x372)][_0x529ed9(0x42b)](_0x30384e=>_0x30384e['dispose']()),this['_entities']['clear']();}['getCollabEntity'](_0x57db8a){var _0x2eccaa=_0x45aab2,_0x4d5833;return(_0x4d5833=this[_0x2eccaa(0x372)][_0x2eccaa(0x2d5)](_0x57db8a))!=null?_0x4d5833:null;}[_0x45aab2(0x4ea)](_0x2ebce){var _0x4b7555=_0x45aab2;const _0xa6446b=this[_0x4b7555(0x224)](_0x2ebce);return _0xa6446b?j['of'](_0xa6446b):this['_entityInit$'][_0x4b7555(0x2ce)](V[_0x4b7555(0x258)](_0x12dd92=>_0x12dd92[_0x4b7555(0x479)]===_0x2ebce));}['readyForCollab'](_0xd9acd2){var _0x192468=_0x45aab2;return j[_0x192468(0x1e4)](this[_0x192468(0x4ea)](_0xd9acd2)['pipe'](V[_0x192468(0x309)](()=>{})));}[_0x45aab2(0x48c)](){var _0x296d41=_0x45aab2;this['_univerInstanceService'][_0x296d41(0x4b7)](a[_0x296d41(0x3a8)][_0x296d41(0x393)])[_0x296d41(0x2ce)](j[_0x296d41(0x50c)](this[_0x296d41(0x4db)]),V[_0x296d41(0x3a2)](0x10))[_0x296d41(0x45f)](async _0x30c1e5=>{var _0x1900f5=_0x296d41;const _0x452297=_0x30c1e5[_0x1900f5(0x1ea)](),_0x2eff62=await this[_0x1900f5(0x1c9)](_0x452297,X[_0x1900f5(0x393)]);this[_0x1900f5(0x372)][_0x1900f5(0x321)](_0x452297,_0x2eff62);}),this[_0x296d41(0x20c)][_0x296d41(0x4b7)](a[_0x296d41(0x3a8)][_0x296d41(0x42a)])['pipe'](j['takeUntil'](this[_0x296d41(0x4db)]),V[_0x296d41(0x3a2)](0x10))['pipe'](V['filter'](_0x1c68e5=>!_0x1c68e5[_0x296d41(0x1ea)]()[_0x296d41(0x43b)]('__')))[_0x296d41(0x45f)](async _0xde4d3f=>{var _0x1573da=_0x296d41;const _0x22de57=_0xde4d3f[_0x1573da(0x1ea)](),_0x18fa75=await this[_0x1573da(0x1c9)](_0x22de57,X[_0x1573da(0x42a)]);this['_entities'][_0x1573da(0x321)](_0x22de57,_0x18fa75);}),j[_0x296d41(0x46a)](this[_0x296d41(0x20c)][_0x296d41(0x22b)](a[_0x296d41(0x3a8)][_0x296d41(0x393)]),this[_0x296d41(0x20c)]['getTypeOfUnitDisposed$'](a[_0x296d41(0x3a8)][_0x296d41(0x42a)]))[_0x296d41(0x2ce)](j[_0x296d41(0x50c)](this['dispose$']))['subscribe'](_0x312c91=>{var _0x16d083=_0x296d41;const _0x21c63f=_0x312c91[_0x16d083(0x1ea)](),_0x44c301=this[_0x16d083(0x372)][_0x16d083(0x2d5)](_0x21c63f);_0x44c301&&(_0x44c301[_0x16d083(0x414)](),this[_0x16d083(0x372)]['delete'](_0x21c63f));});}async[_0x45aab2(0x1c9)](_0x29196c,_0x5ef0ce){var _0x438fc8=_0x45aab2;const _0x5b3711=await this[_0x438fc8(0x396)][_0x438fc8(0x1e1)](_0x29196c),_0x2d2a35=this[_0x438fc8(0x4e7)][_0x438fc8(0x2aa)](this[_0x438fc8(0x4b6)](_0x5ef0ce),_0x29196c,_0x5ef0ce,_0x5b3711);return await _0x2d2a35[_0x438fc8(0x2dc)](),this[_0x438fc8(0x3e0)][_0x438fc8(0x505)](_0x2d2a35),_0x2d2a35;}['_getCtorByUniverType'](_0x57ab2f){var _0x166adc=_0x45aab2;switch(_0x57ab2f){case X['UNIVER_DOC']:return exports[_0x166adc(0x35e)];case X['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x57ab2f);}}},exports[_0x45aab2(0x1bd)]=bi([Pe(0x0,a[_0x45aab2(0x46d)](a[_0x45aab2(0x482)])),Pe(0x1,a['Inject'](exports[_0x45aab2(0x24d)])),Pe(0x2,a[_0x45aab2(0x35f)])],exports[_0x45aab2(0x1bd)]);var Ri=Object['getOwnPropertyDescriptor'],Oi=(_0x30cbdc,_0x5e9833,_0x271432,_0x2cd519)=>{var _0x267e3d=_0x45aab2;for(var _0x2aebe5=_0x2cd519>0x1?void 0x0:_0x2cd519?Ri(_0x5e9833,_0x271432):_0x5e9833,_0x3c03fd=_0x30cbdc[_0x267e3d(0x1ef)]-0x1,_0x200831;_0x3c03fd>=0x0;_0x3c03fd--)(_0x200831=_0x30cbdc[_0x3c03fd])&&(_0x2aebe5=_0x200831(_0x2aebe5)||_0x2aebe5);return _0x2aebe5;},Je=(_0x325aa5,_0x2e9f3c)=>(_0x186396,_0x21681e)=>_0x2e9f3c(_0x186396,_0x21681e,_0x325aa5);const yi='DEFAULT_FILE_NAME',Ni=_0x45aab2(0x240);let He=class extends a['Disposable']{constructor(_0x54ddce,_0xb969){var _0x2324f6=_0x45aab2;super(),this[_0x2324f6(0x20c)]=_0x54ddce,this[_0x2324f6(0x1cb)]=_0xb969,this['_init']();}['_init'](){var _0xe3cb51=_0x45aab2;this['disposeWithMe'](this[_0xe3cb51(0x20c)][_0xe3cb51(0x28b)][_0xe3cb51(0x45f)](()=>{var _0x24f1f7=_0xe3cb51,_0x815545;const _0x37ce19=this['_univerInstanceService']['getFocusedUnit']();let _0x4685e9=(_0x815545=this['_configService'][_0x24f1f7(0x28d)](yi))!=null?_0x815545:Ni;_0x37ce19 instanceof a[_0x24f1f7(0x21c)]&&(_0x4685e9=_0x37ce19[_0x24f1f7(0x209)]),document[_0x24f1f7(0x2fa)]=_0x4685e9;}));}};He=Oi([Je(0x0,a[_0x45aab2(0x35f)]),Je(0x1,a[_0x45aab2(0x43f)])],He);var Ui=Object[_0x45aab2(0x47b)],Di=(_0x1ca6c6,_0x5ed536,_0x53af7e,_0x232d01)=>{var _0x2936ee=_0x45aab2;for(var _0x5a180b=_0x232d01>0x1?void 0x0:_0x232d01?Ui(_0x5ed536,_0x53af7e):_0x5ed536,_0x325c48=_0x1ca6c6[_0x2936ee(0x1ef)]-0x1,_0x4954c9;_0x325c48>=0x0;_0x325c48--)(_0x4954c9=_0x1ca6c6[_0x325c48])&&(_0x5a180b=_0x4954c9(_0x5a180b)||_0x5a180b);return _0x5a180b;},we=(_0xa07774,_0x3706e0)=>(_0x5b476c,_0xc498f9)=>_0x3706e0(_0x5b476c,_0xc498f9,_0xa07774);let ye=class{constructor(_0x234636,_0x10a7e5,_0x1665a5){var _0x4e1063=_0x45aab2;this[_0x4e1063(0x1cb)]=_0x234636,this['_httpService']=_0x10a7e5,this[_0x4e1063(0x33b)]=_0x1665a5,this[_0x4e1063(0x2dc)]();}[_0x45aab2(0x2dc)](){var _0x419a13=_0x45aab2;this[_0x419a13(0x287)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4f5aed,_0x1652bc)=>_0x1652bc(_0x4f5aed)[_0x419a13(0x2ce)](j[_0x419a13(0x1b9)](async _0x4adde0=>{var _0x79f2fd=_0x419a13;const _0x56ac02=_0x4adde0;if(_0x56ac02[_0x79f2fd(0x36b)]===0x191){if(typeof window>'u')throw new Error(_0x79f2fd(0x2b4));if(window[_0x79f2fd(0x4fb)](this[_0x79f2fd(0x33b)]['t']('auth.needGotoLoginAlert'))){const _0x17c253=window['encodeURIComponent'](window[_0x79f2fd(0x480)][_0x79f2fd(0x31b)]);window[_0x79f2fd(0x480)][_0x79f2fd(0x31b)]=this[_0x79f2fd(0x32a)]()+_0x79f2fd(0x4dc)+_0x17c253;}}return _0x56ac02;}))});}[_0x45aab2(0x32a)](){var _0x283e85=_0x45aab2,_0x5d507f,_0x2b0e91;const _0x3e3c85=this[_0x283e85(0x1cb)][_0x283e85(0x28d)](Et),_0x43d53c=this[_0x283e85(0x1cb)]['getConfig'](Y);return(_0x2b0e91=(_0x5d507f=_0x43d53c==null?void 0x0:_0x43d53c[_0x283e85(0x3b5)])!=null?_0x5d507f:_0x3e3c85)!=null?_0x2b0e91:Yt;}};ye=Di([we(0x0,a[_0x45aab2(0x43f)]),we(0x1,a[_0x45aab2(0x46d)](q[_0x45aab2(0x261)])),we(0x2,a[_0x45aab2(0x46d)](a[_0x45aab2(0x37c)]))],ye);var Ai=Object[_0x45aab2(0x47b)],Pi=(_0x424d10,_0x469bd7,_0x45c95b,_0x4d17d5)=>{var _0x2e6a65=_0x45aab2;for(var _0x4184af=_0x4d17d5>0x1?void 0x0:_0x4d17d5?Ai(_0x469bd7,_0x45c95b):_0x469bd7,_0x32710b=_0x424d10[_0x2e6a65(0x1ef)]-0x1,_0x35b387;_0x32710b>=0x0;_0x32710b--)(_0x35b387=_0x424d10[_0x32710b])&&(_0x4184af=_0x35b387(_0x4184af)||_0x4184af);return _0x4184af;},Xe=(_0x4cda1c,_0x363cfa)=>(_0x1fddd8,_0x520b26)=>_0x363cfa(_0x1fddd8,_0x520b26,_0x4cda1c);const Ge='AUTHZ_URL_KEY',wi=_0x45aab2(0x26d);exports[_0x45aab2(0x488)]=class extends a[_0x45aab2(0x2d8)]{constructor(_0x20a0e4,_0x576303){var _0x526787=_0x45aab2;super(),this['_HTTPService']=_0x20a0e4,this[_0x526787(0x1cb)]=_0x576303,this[_0x526787(0x228)]();}[_0x45aab2(0x228)](){var _0x2d9e15=_0x45aab2;const _0x4ab1cf=this;this[_0x2d9e15(0x30f)](this[_0x2d9e15(0x47d)][_0x2d9e15(0x4af)]({'priority':0x3e7,'interceptor':q[_0x2d9e15(0x34d)]({'isMatch'(_0x4abdd5){var _0xcae5a9=_0x2d9e15,_0x49b400;if(_0x4abdd5['method']===_0xcae5a9(0x41e)&&((_0x49b400=_0x4abdd5['requestParams'])!=null&&_0x49b400[_0xcae5a9(0x520)])){const {objectID:_0x4b1701,objectType:_0x36e08f}=_0x4abdd5[_0xcae5a9(0x4c4)]['body']||{};if(!_0x4b1701||_0x36e08f===void 0x0)return!0x1;const _0x166908=_0x4ab1cf[_0xcae5a9(0x3a9)]()+'/'+_0x36e08f+_0xcae5a9(0x478)+_0x4b1701+_0xcae5a9(0x490);if(_0x4abdd5[_0xcae5a9(0x2cf)]===_0x166908)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x14441a){var _0x46dae1=_0x2d9e15,_0x51bdd4;return(_0x51bdd4=_0x14441a['requestParams'])==null?void 0x0:_0x51bdd4[_0x46dae1(0x520)];},'mergeParamsToRequest'(_0xdab810,_0x4aee57){var _0x550e8a=_0x2d9e15;const _0x15d9cc=_0x4ab1cf[_0x550e8a(0x3a9)]()+_0x550e8a(0x357),_0x3756f6=_0xdab810['reduce']((_0x2d03ca,_0x15bfaf)=>{var _0x17ef7d=_0x550e8a;const {unitID:_0x17be5f,objectID:_0x98569d,objectType:_0x38f53d,actions:_0xd71c8c}=_0x15bfaf;return _0x2d03ca[_0x17be5f]||(_0x2d03ca[_0x17be5f]={}),_0x2d03ca[_0x17be5f][_0x98569d]||(_0x2d03ca[_0x17be5f][_0x98569d]={'objectID':_0x98569d,'objectType':_0x38f53d,'actions':[]}),_0x2d03ca[_0x17be5f][_0x98569d][_0x17ef7d(0x367)][_0x17ef7d(0x360)](..._0xd71c8c),_0x2d03ca;},{}),_0x5ccba2=[];for(const _0x5d7eec in _0x3756f6)for(const _0x580bfb in _0x3756f6[_0x5d7eec]){const {actions:_0x3e695f,objectType:_0x57842c}=_0x3756f6[_0x5d7eec][_0x580bfb],_0x32644d=[...new Set(_0x3e695f)];_0x5ccba2[_0x550e8a(0x360)]({'unitID':_0x5d7eec,'objectID':_0x580bfb,'objectType':_0x57842c,'actions':_0x32644d});}return new q[(_0x550e8a(0x289))](_0x550e8a(0x41e),_0x15d9cc,{'headers':_0x4aee57['headers'],'withCredentials':_0x4aee57[_0x550e8a(0x1f9)],'responseType':_0x4aee57['responseType'],'body':{'requests':_0x5ccba2}});}},{'distributeResult'(_0x42707f,_0x2a2168){var _0x6977c0=_0x2d9e15;const {objectActions:_0xf8e0b0}=_0x42707f;return _0x2a2168[_0x6977c0(0x309)](_0x20be07=>{var _0x3b2d12=_0x6977c0;const {unitID:_0x23950c,objectID:_0xf5aac7,actions:_0x179479}=_0x20be07,_0x46adbb=_0xf8e0b0[_0x3b2d12(0x300)](_0x2205ad=>_0x2205ad['unitID']===_0x23950c&&_0x2205ad[_0x3b2d12(0x332)]===_0xf5aac7),_0x1e8b03=_0x179479[_0x3b2d12(0x309)](_0x3fd761=>_0x46adbb==null?void 0x0:_0x46adbb[_0x3b2d12(0x367)][_0x3b2d12(0x300)](_0x518c6d=>_0x518c6d[_0x3b2d12(0x265)]===_0x3fd761))[_0x3b2d12(0x258)](_0x3d97e6=>!!_0x3d97e6);return{'config':_0x20be07,'result':{'actions':_0x1e8b03,'error':_0x42707f['error']}};});}})}));}[_0x45aab2(0x3a9)](){var _0x2b6480=_0x45aab2,_0x5dde8d,_0x15dc21;const _0x424d67=this[_0x2b6480(0x1cb)][_0x2b6480(0x28d)](Ge),_0x3ce7d3=this[_0x2b6480(0x1cb)][_0x2b6480(0x28d)](Y);return(_0x15dc21=(_0x5dde8d=_0x3ce7d3==null?void 0x0:_0x3ce7d3['authzUrl'])!=null?_0x5dde8d:_0x424d67)!=null?_0x15dc21:wi;}async[_0x45aab2(0x25d)](_0x1d1d9a){var _0x3438e4=_0x45aab2;const _0x299160=this[_0x3438e4(0x3a9)]()+'/'+_0x1d1d9a['objectType']+'/object';return(await this[_0x3438e4(0x47d)][_0x3438e4(0x2cc)](_0x299160,{'body':_0x1d1d9a}))['body']['objectID']||'';}async[_0x45aab2(0x29b)](_0x669ed1){var _0x31697f=_0x45aab2;const _0x5d5153=this[_0x31697f(0x3a9)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x5d5153,{'body':_0x669ed1}))[_0x31697f(0x520)][_0x31697f(0x3cd)];}async[_0x45aab2(0x2b7)](_0x47b538){var _0x303dd9=_0x45aab2,_0x7c3de9,_0x42cbf1;const _0x8cc03b=this[_0x303dd9(0x3a9)]()+'/'+_0x47b538[_0x303dd9(0x34f)]+_0x303dd9(0x478)+_0x47b538[_0x303dd9(0x332)],_0x5e37b0=await this['_HTTPService'][_0x303dd9(0x476)](_0x8cc03b,{'body':_0x47b538});if(((_0x42cbf1=(_0x7c3de9=_0x5e37b0==null?void 0x0:_0x5e37b0[_0x303dd9(0x520)])==null?void 0x0:_0x7c3de9[_0x303dd9(0x4b4)])==null?void 0x0:_0x42cbf1[_0x303dd9(0x1fb)])!==0x1)throw new Error(_0x303dd9(0x2a6));}async[_0x45aab2(0x260)](_0x4916a3){var _0x4f4e21=_0x45aab2;const _0x566425=this[_0x4f4e21(0x3a9)]()+'/'+_0x4916a3['objectType']+_0x4f4e21(0x478)+_0x4916a3[_0x4f4e21(0x332)]+_0x4f4e21(0x490);return(await this['_HTTPService'][_0x4f4e21(0x2cc)](_0x566425,{'body':_0x4916a3}))[_0x4f4e21(0x520)][_0x4f4e21(0x367)];}async[_0x45aab2(0x404)](_0x221a88){var _0x1616ce=_0x45aab2;const _0x6d613d=this['_getAPIPrefixPath']()+_0x1616ce(0x357);return(await this[_0x1616ce(0x47d)][_0x1616ce(0x2cc)](_0x6d613d,{'body':{'requests':_0x221a88}}))[_0x1616ce(0x520)][_0x1616ce(0x3d2)];}async[_0x45aab2(0x247)](_0x1976ea){var _0x565a97=_0x45aab2;const _0x321a46=this[_0x565a97(0x3a9)]()+'/'+_0x1976ea[_0x565a97(0x34f)]+_0x565a97(0x218),_0xb07404=await this[_0x565a97(0x47d)]['post'](_0x321a46,{'body':_0x1976ea});return{'roles':_0xb07404[_0x565a97(0x520)]['roles'],'actions':_0xb07404[_0x565a97(0x520)]['actions']};}async[_0x45aab2(0x421)](_0x2dc366){var _0x458b9f=_0x45aab2;const _0x246b9c=this[_0x458b9f(0x3a9)]()+_0x458b9f(0x2fc);await this['_HTTPService']['delete'](_0x246b9c,{'params':{'collaboratorID':_0x2dc366['collaboratorID'],'objectID':_0x2dc366['objectID'],'unitID':_0x2dc366[_0x458b9f(0x479)]}});}async[_0x45aab2(0x37e)](_0x3666dc){var _0x1ee296=_0x45aab2;const _0x2207c0=this[_0x1ee296(0x3a9)]()+_0x1ee296(0x2fc);await this[_0x1ee296(0x47d)][_0x1ee296(0x401)](_0x2207c0,{'body':_0x3666dc});}async[_0x45aab2(0x2f5)](_0x961365){var _0xb47b2d=_0x45aab2;const _0x14cd7e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0xb47b2d(0x47d)][_0xb47b2d(0x2cc)](_0x14cd7e,{'body':_0x961365});}async[_0x45aab2(0x2f8)](_0x354378){var _0x1c8db7=_0x45aab2;const _0x1655d2=this[_0x1c8db7(0x3a9)]()+_0x1c8db7(0x2fc);return(await this['_HTTPService'][_0x1c8db7(0x2d5)](_0x1655d2,{'params':{'objectID':_0x354378[_0x1c8db7(0x332)],'unitID':_0x354378[_0x1c8db7(0x479)]}}))[_0x1c8db7(0x520)][_0x1c8db7(0x3a1)];}async[_0x45aab2(0x1d1)](_0x98790b){var _0x4ad9e4=_0x45aab2;const _0x150e4e=this[_0x4ad9e4(0x3a9)]()+'/collaborator';await this[_0x4ad9e4(0x47d)]['put'](_0x150e4e,{'body':_0x98790b});}},exports[_0x45aab2(0x488)]=Pi([Xe(0x0,a[_0x45aab2(0x46d)](q['HTTPService'])),Xe(0x1,a[_0x45aab2(0x46d)](a[_0x45aab2(0x43f)]))],exports[_0x45aab2(0x488)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x43fe30){var _0xd83027=_0x45aab2;return _0x43fe30&&_0x43fe30['__esModule']&&Object['prototype'][_0xd83027(0x319)]['call'](_0x43fe30,_0xd83027(0x277))?_0x43fe30[_0xd83027(0x277)]:_0x43fe30;}var fe={'exports':{}};function Li(_0x35caf0){var _0x396ec3=_0x45aab2;throw new Error(_0x396ec3(0x4cf)+_0x35caf0+_0x396ec3(0x371));}var pe={'exports':{}},Mi=pe[_0x45aab2(0x25f)],Ze;function ee(){var _0x3f5272=_0x45aab2;return Ze||(Ze=0x1,function(_0x5f24a3,_0x37c77a){(function(_0x3f0fad,_0x17ca7f){var _0x599de7=_0x5692;_0x5f24a3[_0x599de7(0x25f)]=_0x17ca7f();}(Mi,function(){var _0x11335f=_0x11335f||function(_0x4183b6,_0x460ee4){var _0x50d94c=_0x5692,_0x3214a6;if(typeof window<'u'&&window[_0x50d94c(0x349)]&&(_0x3214a6=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x3214a6=self[_0x50d94c(0x349)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3214a6=globalThis['crypto']),!_0x3214a6&&typeof window<'u'&&window[_0x50d94c(0x48a)]&&(_0x3214a6=window[_0x50d94c(0x48a)]),!_0x3214a6&&typeof Le<'u'&&Le[_0x50d94c(0x349)]&&(_0x3214a6=Le['crypto']),!_0x3214a6&&typeof Li==_0x50d94c(0x51e))try{_0x3214a6=require('crypto');}catch{}var _0x2bc3e0=function(){var _0xe15659=_0x50d94c;if(_0x3214a6){if(typeof _0x3214a6[_0xe15659(0x4ef)]=='function')try{return _0x3214a6[_0xe15659(0x4ef)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3214a6[_0xe15659(0x392)]==_0xe15659(0x51e))try{return _0x3214a6[_0xe15659(0x392)](0x4)['readInt32LE']();}catch{}}throw new Error(_0xe15659(0x3aa));},_0x5d2eb9=Object[_0x50d94c(0x25d)]||(function(){function _0x4e69dd(){}return function(_0x5db550){var _0x23b47c=_0x5692,_0x4dc651;return _0x4e69dd[_0x23b47c(0x2e1)]=_0x5db550,_0x4dc651=new _0x4e69dd(),_0x4e69dd['prototype']=null,_0x4dc651;};}()),_0x35876b={},_0x455e6d=_0x35876b[_0x50d94c(0x440)]={},_0x3e5896=_0x455e6d[_0x50d94c(0x3c9)]=(function(){return{'extend':function(_0x264034){var _0x477a72=_0x5692,_0xb8cba8=_0x5d2eb9(this);return _0x264034&&_0xb8cba8[_0x477a72(0x2a4)](_0x264034),(!_0xb8cba8[_0x477a72(0x319)]('init')||this[_0x477a72(0x2dc)]===_0xb8cba8[_0x477a72(0x2dc)])&&(_0xb8cba8['init']=function(){var _0x404e5c=_0x477a72;_0xb8cba8[_0x404e5c(0x43d)][_0x404e5c(0x2dc)]['apply'](this,arguments);}),_0xb8cba8[_0x477a72(0x2dc)][_0x477a72(0x2e1)]=_0xb8cba8,_0xb8cba8[_0x477a72(0x43d)]=this,_0xb8cba8;},'create':function(){var _0x5a212e=_0x5692,_0x3fe97b=this[_0x5a212e(0x46f)]();return _0x3fe97b[_0x5a212e(0x2dc)]['apply'](_0x3fe97b,arguments),_0x3fe97b;},'init':function(){},'mixIn':function(_0x3fdaa9){var _0x5a6e95=_0x5692;for(var _0x549712 in _0x3fdaa9)_0x3fdaa9[_0x5a6e95(0x319)](_0x549712)&&(this[_0x549712]=_0x3fdaa9[_0x549712]);_0x3fdaa9['hasOwnProperty'](_0x5a6e95(0x31e))&&(this['toString']=_0x3fdaa9['toString']);},'clone':function(){var _0x748afa=_0x5692;return this[_0x748afa(0x2dc)][_0x748afa(0x2e1)][_0x748afa(0x46f)](this);}};}()),_0x28c6bb=_0x455e6d[_0x50d94c(0x43c)]=_0x3e5896[_0x50d94c(0x46f)]({'init':function(_0x23b754,_0x3d8283){var _0x5ef349=_0x50d94c;_0x23b754=this[_0x5ef349(0x33e)]=_0x23b754||[],_0x3d8283!=_0x460ee4?this[_0x5ef349(0x466)]=_0x3d8283:this[_0x5ef349(0x466)]=_0x23b754[_0x5ef349(0x1ef)]*0x4;},'toString':function(_0x2b49ba){var _0x4e06ed=_0x50d94c;return(_0x2b49ba||_0x551376)[_0x4e06ed(0x2a7)](this);},'concat':function(_0x260cb){var _0x1d70a2=_0x50d94c,_0x280324=this['words'],_0xa56ea8=_0x260cb[_0x1d70a2(0x33e)],_0x583172=this['sigBytes'],_0x5c72a8=_0x260cb[_0x1d70a2(0x466)];if(this[_0x1d70a2(0x4e4)](),_0x583172%0x4)for(var _0x22c784=0x0;_0x22c784<_0x5c72a8;_0x22c784++){var _0x3098a5=_0xa56ea8[_0x22c784>>>0x2]>>>0x18-_0x22c784%0x4*0x8&0xff;_0x280324[_0x583172+_0x22c784>>>0x2]|=_0x3098a5<<0x18-(_0x583172+_0x22c784)%0x4*0x8;}else{for(var _0x294dc=0x0;_0x294dc<_0x5c72a8;_0x294dc+=0x4)_0x280324[_0x583172+_0x294dc>>>0x2]=_0xa56ea8[_0x294dc>>>0x2];}return this[_0x1d70a2(0x466)]+=_0x5c72a8,this;},'clamp':function(){var _0xed0b47=_0x50d94c,_0x14bd01=this[_0xed0b47(0x33e)],_0xe7a053=this[_0xed0b47(0x466)];_0x14bd01[_0xe7a053>>>0x2]&=0xffffffff<<0x20-_0xe7a053%0x4*0x8,_0x14bd01['length']=_0x4183b6[_0xed0b47(0x47a)](_0xe7a053/0x4);},'clone':function(){var _0x16da27=_0x50d94c,_0x9aeebd=_0x3e5896[_0x16da27(0x438)][_0x16da27(0x27b)](this);return _0x9aeebd[_0x16da27(0x33e)]=this[_0x16da27(0x33e)][_0x16da27(0x437)](0x0),_0x9aeebd;},'random':function(_0x2d23e6){var _0x32c2d9=_0x50d94c;for(var _0xa7865b=[],_0x57b88a=0x0;_0x57b88a<_0x2d23e6;_0x57b88a+=0x4)_0xa7865b[_0x32c2d9(0x360)](_0x2bc3e0());return new _0x28c6bb[(_0x32c2d9(0x2dc))](_0xa7865b,_0x2d23e6);}}),_0x31b27a=_0x35876b[_0x50d94c(0x20b)]={},_0x551376=_0x31b27a[_0x50d94c(0x2f0)]={'stringify':function(_0x561670){var _0x1667a6=_0x50d94c;for(var _0x370192=_0x561670[_0x1667a6(0x33e)],_0x4d8e68=_0x561670[_0x1667a6(0x466)],_0x77f6f2=[],_0x46ffec=0x0;_0x46ffec<_0x4d8e68;_0x46ffec++){var _0x880140=_0x370192[_0x46ffec>>>0x2]>>>0x18-_0x46ffec%0x4*0x8&0xff;_0x77f6f2[_0x1667a6(0x360)]((_0x880140>>>0x4)['toString'](0x10)),_0x77f6f2['push']((_0x880140&0xf)['toString'](0x10));}return _0x77f6f2[_0x1667a6(0x1e5)]('');},'parse':function(_0x146fb4){var _0x78a37c=_0x50d94c;for(var _0x46ee77=_0x146fb4['length'],_0x57a917=[],_0x2619d6=0x0;_0x2619d6<_0x46ee77;_0x2619d6+=0x2)_0x57a917[_0x2619d6>>>0x3]|=parseInt(_0x146fb4['substr'](_0x2619d6,0x2),0x10)<<0x18-_0x2619d6%0x8*0x4;return new _0x28c6bb[(_0x78a37c(0x2dc))](_0x57a917,_0x46ee77/0x2);}},_0x7e9955=_0x31b27a[_0x50d94c(0x39f)]={'stringify':function(_0x3680d9){var _0x5cefe4=_0x50d94c;for(var _0x3b2a90=_0x3680d9['words'],_0x46406e=_0x3680d9['sigBytes'],_0x59bbfe=[],_0x48933e=0x0;_0x48933e<_0x46406e;_0x48933e++){var _0x44fed9=_0x3b2a90[_0x48933e>>>0x2]>>>0x18-_0x48933e%0x4*0x8&0xff;_0x59bbfe[_0x5cefe4(0x360)](String[_0x5cefe4(0x1c1)](_0x44fed9));}return _0x59bbfe[_0x5cefe4(0x1e5)]('');},'parse':function(_0x49b6bf){var _0xb02855=_0x50d94c;for(var _0x269298=_0x49b6bf[_0xb02855(0x1ef)],_0x3c5383=[],_0x4b24ca=0x0;_0x4b24ca<_0x269298;_0x4b24ca++)_0x3c5383[_0x4b24ca>>>0x2]|=(_0x49b6bf['charCodeAt'](_0x4b24ca)&0xff)<<0x18-_0x4b24ca%0x4*0x8;return new _0x28c6bb[(_0xb02855(0x2dc))](_0x3c5383,_0x269298);}},_0x10368a=_0x31b27a[_0x50d94c(0x46b)]={'stringify':function(_0x5483b6){try{return decodeURIComponent(escape(_0x7e9955['stringify'](_0x5483b6)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x1545bc){return _0x7e9955['parse'](unescape(encodeURIComponent(_0x1545bc)));}},_0x3f31b3=_0x455e6d[_0x50d94c(0x290)]=_0x3e5896[_0x50d94c(0x46f)]({'reset':function(){var _0x7c6bd5=_0x50d94c;this[_0x7c6bd5(0x37a)]=new _0x28c6bb[(_0x7c6bd5(0x2dc))](),this['_nDataBytes']=0x0;},'_append':function(_0x29736e){var _0x43a4eb=_0x50d94c;typeof _0x29736e==_0x43a4eb(0x4d2)&&(_0x29736e=_0x10368a[_0x43a4eb(0x417)](_0x29736e)),this['_data'][_0x43a4eb(0x276)](_0x29736e),this[_0x43a4eb(0x318)]+=_0x29736e['sigBytes'];},'_process':function(_0x269241){var _0x462864=_0x50d94c,_0x451490,_0x106be5=this[_0x462864(0x37a)],_0x3c5b2e=_0x106be5[_0x462864(0x33e)],_0x25d0d6=_0x106be5[_0x462864(0x466)],_0x1df62d=this['blockSize'],_0x5c8633=_0x1df62d*0x4,_0x26d223=_0x25d0d6/_0x5c8633;_0x269241?_0x26d223=_0x4183b6[_0x462864(0x47a)](_0x26d223):_0x26d223=_0x4183b6['max']((_0x26d223|0x0)-this[_0x462864(0x1e2)],0x0);var _0x126928=_0x26d223*_0x1df62d,_0x574fd1=_0x4183b6['min'](_0x126928*0x4,_0x25d0d6);if(_0x126928){for(var _0x5acb0d=0x0;_0x5acb0d<_0x126928;_0x5acb0d+=_0x1df62d)this[_0x462864(0x278)](_0x3c5b2e,_0x5acb0d);_0x451490=_0x3c5b2e[_0x462864(0x255)](0x0,_0x126928),_0x106be5[_0x462864(0x466)]-=_0x574fd1;}return new _0x28c6bb['init'](_0x451490,_0x574fd1);},'clone':function(){var _0x45de1e=_0x50d94c,_0x2d42c8=_0x3e5896[_0x45de1e(0x438)][_0x45de1e(0x27b)](this);return _0x2d42c8['_data']=this[_0x45de1e(0x37a)][_0x45de1e(0x438)](),_0x2d42c8;},'_minBufferSize':0x0});_0x455e6d[_0x50d94c(0x2b8)]=_0x3f31b3['extend']({'cfg':_0x3e5896[_0x50d94c(0x46f)](),'init':function(_0xd9dc5f){var _0x279122=_0x50d94c;this['cfg']=this[_0x279122(0x433)][_0x279122(0x46f)](_0xd9dc5f),this['reset']();},'reset':function(){var _0xadd1e7=_0x50d94c;_0x3f31b3[_0xadd1e7(0x374)]['call'](this),this[_0xadd1e7(0x1d9)]();},'update':function(_0x49750f){var _0x17a1f9=_0x50d94c;return this[_0x17a1f9(0x335)](_0x49750f),this[_0x17a1f9(0x346)](),this;},'finalize':function(_0x2d45ed){var _0x18e12f=_0x50d94c;_0x2d45ed&&this[_0x18e12f(0x335)](_0x2d45ed);var _0x335f0b=this[_0x18e12f(0x4ed)]();return _0x335f0b;},'blockSize':0x10,'_createHelper':function(_0x259d7c){return function(_0x57ac8a,_0x55512e){return new _0x259d7c['init'](_0x55512e)['finalize'](_0x57ac8a);};},'_createHmacHelper':function(_0x264a8b){return function(_0x1dbcc7,_0x12226d){var _0x20b9da=_0x5692;return new _0x41d833[(_0x20b9da(0x458))][(_0x20b9da(0x2dc))](_0x264a8b,_0x12226d)[_0x20b9da(0x3be)](_0x1dbcc7);};}});var _0x41d833=_0x35876b[_0x50d94c(0x3e9)]={};return _0x35876b;}(Math);return _0x11335f;}));}(pe)),pe[_0x3f5272(0x25f)];}var ge={'exports':{}},xi=ge[_0x45aab2(0x25f)],Qe;function Dt(){var _0x3787b5=_0x45aab2;return Qe||(Qe=0x1,function(_0x5a96e2,_0x416577){(function(_0x5a573d,_0x272a3c){var _0x48d965=_0x5692;_0x5a96e2[_0x48d965(0x25f)]=_0x272a3c(ee());}(xi,function(_0x22e7d2){var _0x5b954b=_0x5692;return(function(){var _0x53f258=_0x5692,_0x52390c=_0x22e7d2,_0x1e21b6=_0x52390c[_0x53f258(0x440)],_0x58f628=_0x1e21b6['WordArray'],_0x169d33=_0x52390c[_0x53f258(0x20b)];_0x169d33[_0x53f258(0x4e9)]={'stringify':function(_0x34751d){var _0x18b1bf=_0x53f258,_0x2d3dd5=_0x34751d[_0x18b1bf(0x33e)],_0x1b02b8=_0x34751d[_0x18b1bf(0x466)],_0x3c69d0=this[_0x18b1bf(0x245)];_0x34751d[_0x18b1bf(0x4e4)]();for(var _0x30d821=[],_0x45d2b5=0x0;_0x45d2b5<_0x1b02b8;_0x45d2b5+=0x3)for(var _0x458555=_0x2d3dd5[_0x45d2b5>>>0x2]>>>0x18-_0x45d2b5%0x4*0x8&0xff,_0x4668d3=_0x2d3dd5[_0x45d2b5+0x1>>>0x2]>>>0x18-(_0x45d2b5+0x1)%0x4*0x8&0xff,_0x490d5d=_0x2d3dd5[_0x45d2b5+0x2>>>0x2]>>>0x18-(_0x45d2b5+0x2)%0x4*0x8&0xff,_0x26d898=_0x458555<<0x10|_0x4668d3<<0x8|_0x490d5d,_0x29bb1c=0x0;_0x29bb1c<0x4&&_0x45d2b5+_0x29bb1c*0.75<_0x1b02b8;_0x29bb1c++)_0x30d821[_0x18b1bf(0x360)](_0x3c69d0[_0x18b1bf(0x22c)](_0x26d898>>>0x6*(0x3-_0x29bb1c)&0x3f));var _0xf606cd=_0x3c69d0['charAt'](0x40);if(_0xf606cd){for(;_0x30d821['length']%0x4;)_0x30d821[_0x18b1bf(0x360)](_0xf606cd);}return _0x30d821[_0x18b1bf(0x1e5)]('');},'parse':function(_0x28d886){var _0x30e213=_0x53f258,_0xf68756=_0x28d886['length'],_0x14c59e=this[_0x30e213(0x245)],_0x250549=this[_0x30e213(0x4c7)];if(!_0x250549){_0x250549=this['_reverseMap']=[];for(var _0xf571c2=0x0;_0xf571c2<_0x14c59e['length'];_0xf571c2++)_0x250549[_0x14c59e[_0x30e213(0x3f5)](_0xf571c2)]=_0xf571c2;}var _0x178cb8=_0x14c59e[_0x30e213(0x22c)](0x40);if(_0x178cb8){var _0x7bd36d=_0x28d886['indexOf'](_0x178cb8);_0x7bd36d!==-0x1&&(_0xf68756=_0x7bd36d);}return _0xb7efb5(_0x28d886,_0xf68756,_0x250549);},'_map':_0x53f258(0x268)};function _0xb7efb5(_0x3b8ebe,_0x112883,_0xe84ee7){var _0x57f3c7=_0x53f258;for(var _0x54e83e=[],_0x82d1b7=0x0,_0x3d0654=0x0;_0x3d0654<_0x112883;_0x3d0654++)if(_0x3d0654%0x4){var _0x3104cd=_0xe84ee7[_0x3b8ebe['charCodeAt'](_0x3d0654-0x1)]<<_0x3d0654%0x4*0x2,_0x2e74ec=_0xe84ee7[_0x3b8ebe[_0x57f3c7(0x3f5)](_0x3d0654)]>>>0x6-_0x3d0654%0x4*0x2,_0x4f1c8d=_0x3104cd|_0x2e74ec;_0x54e83e[_0x82d1b7>>>0x2]|=_0x4f1c8d<<0x18-_0x82d1b7%0x4*0x8,_0x82d1b7++;}return _0x58f628[_0x57f3c7(0x25d)](_0x54e83e,_0x82d1b7);}}()),_0x22e7d2['enc'][_0x5b954b(0x4e9)];}));}(ge)),ge[_0x3787b5(0x25f)];}var Ie={'exports':{}},ki=Ie[_0x45aab2(0x25f)],et;function Hi(){var _0x37db3c=_0x45aab2;return et||(et=0x1,function(_0x535313,_0x164f56){(function(_0x4d8d78,_0x4b740a){var _0x1a2388=_0x5692;_0x535313[_0x1a2388(0x25f)]=_0x4b740a(ee());}(ki,function(_0x218c70){var _0x4ae07d=_0x5692;return function(_0x3815d6){var _0x179897=_0x5692,_0x102873=_0x218c70,_0x31d950=_0x102873[_0x179897(0x440)],_0x371ac6=_0x31d950['WordArray'],_0x1ae940=_0x31d950[_0x179897(0x2b8)],_0x42a505=_0x102873[_0x179897(0x3e9)],_0x213a48=[];(function(){var _0x275569=_0x179897;for(var _0x461a13=0x0;_0x461a13<0x40;_0x461a13++)_0x213a48[_0x461a13]=_0x3815d6[_0x275569(0x203)](_0x3815d6[_0x275569(0x1c4)](_0x461a13+0x1))*0x100000000|0x0;}());var _0x12d4a4=_0x42a505['MD5']=_0x1ae940[_0x179897(0x46f)]({'_doReset':function(){var _0x5b008a=_0x179897;this[_0x5b008a(0x3e7)]=new _0x371ac6[(_0x5b008a(0x2dc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11ad2d,_0xa6767e){var _0x13921e=_0x179897;for(var _0x581d5d=0x0;_0x581d5d<0x10;_0x581d5d++){var _0x53134f=_0xa6767e+_0x581d5d,_0x5b8801=_0x11ad2d[_0x53134f];_0x11ad2d[_0x53134f]=(_0x5b8801<<0x8|_0x5b8801>>>0x18)&0xff00ff|(_0x5b8801<<0x18|_0x5b8801>>>0x8)&0xff00ff00;}var _0x24a64a=this[_0x13921e(0x3e7)][_0x13921e(0x33e)],_0xbcac21=_0x11ad2d[_0xa6767e+0x0],_0x40933e=_0x11ad2d[_0xa6767e+0x1],_0x23fc6e=_0x11ad2d[_0xa6767e+0x2],_0x5e14a1=_0x11ad2d[_0xa6767e+0x3],_0x46539b=_0x11ad2d[_0xa6767e+0x4],_0x5508f0=_0x11ad2d[_0xa6767e+0x5],_0x3d8fdd=_0x11ad2d[_0xa6767e+0x6],_0x313cd3=_0x11ad2d[_0xa6767e+0x7],_0x5b484a=_0x11ad2d[_0xa6767e+0x8],_0x3979c3=_0x11ad2d[_0xa6767e+0x9],_0x63c5e7=_0x11ad2d[_0xa6767e+0xa],_0x5c4168=_0x11ad2d[_0xa6767e+0xb],_0x4e7206=_0x11ad2d[_0xa6767e+0xc],_0x3c596e=_0x11ad2d[_0xa6767e+0xd],_0x40be0c=_0x11ad2d[_0xa6767e+0xe],_0x5b618c=_0x11ad2d[_0xa6767e+0xf],_0x163e8d=_0x24a64a[0x0],_0x5ec898=_0x24a64a[0x1],_0xc83690=_0x24a64a[0x2],_0x213fda=_0x24a64a[0x3];_0x163e8d=_0xfe4c2d(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0xbcac21,0x7,_0x213a48[0x0]),_0x213fda=_0xfe4c2d(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x40933e,0xc,_0x213a48[0x1]),_0xc83690=_0xfe4c2d(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x23fc6e,0x11,_0x213a48[0x2]),_0x5ec898=_0xfe4c2d(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x5e14a1,0x16,_0x213a48[0x3]),_0x163e8d=_0xfe4c2d(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x46539b,0x7,_0x213a48[0x4]),_0x213fda=_0xfe4c2d(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x5508f0,0xc,_0x213a48[0x5]),_0xc83690=_0xfe4c2d(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x3d8fdd,0x11,_0x213a48[0x6]),_0x5ec898=_0xfe4c2d(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x313cd3,0x16,_0x213a48[0x7]),_0x163e8d=_0xfe4c2d(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x5b484a,0x7,_0x213a48[0x8]),_0x213fda=_0xfe4c2d(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x3979c3,0xc,_0x213a48[0x9]),_0xc83690=_0xfe4c2d(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x63c5e7,0x11,_0x213a48[0xa]),_0x5ec898=_0xfe4c2d(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x5c4168,0x16,_0x213a48[0xb]),_0x163e8d=_0xfe4c2d(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x4e7206,0x7,_0x213a48[0xc]),_0x213fda=_0xfe4c2d(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x3c596e,0xc,_0x213a48[0xd]),_0xc83690=_0xfe4c2d(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x40be0c,0x11,_0x213a48[0xe]),_0x5ec898=_0xfe4c2d(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x5b618c,0x16,_0x213a48[0xf]),_0x163e8d=_0x5a431d(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x40933e,0x5,_0x213a48[0x10]),_0x213fda=_0x5a431d(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x3d8fdd,0x9,_0x213a48[0x11]),_0xc83690=_0x5a431d(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x5c4168,0xe,_0x213a48[0x12]),_0x5ec898=_0x5a431d(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0xbcac21,0x14,_0x213a48[0x13]),_0x163e8d=_0x5a431d(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x5508f0,0x5,_0x213a48[0x14]),_0x213fda=_0x5a431d(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x63c5e7,0x9,_0x213a48[0x15]),_0xc83690=_0x5a431d(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x5b618c,0xe,_0x213a48[0x16]),_0x5ec898=_0x5a431d(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x46539b,0x14,_0x213a48[0x17]),_0x163e8d=_0x5a431d(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x3979c3,0x5,_0x213a48[0x18]),_0x213fda=_0x5a431d(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x40be0c,0x9,_0x213a48[0x19]),_0xc83690=_0x5a431d(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x5e14a1,0xe,_0x213a48[0x1a]),_0x5ec898=_0x5a431d(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x5b484a,0x14,_0x213a48[0x1b]),_0x163e8d=_0x5a431d(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x3c596e,0x5,_0x213a48[0x1c]),_0x213fda=_0x5a431d(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x23fc6e,0x9,_0x213a48[0x1d]),_0xc83690=_0x5a431d(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x313cd3,0xe,_0x213a48[0x1e]),_0x5ec898=_0x5a431d(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x4e7206,0x14,_0x213a48[0x1f]),_0x163e8d=_0xeb0e7b(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x5508f0,0x4,_0x213a48[0x20]),_0x213fda=_0xeb0e7b(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x5b484a,0xb,_0x213a48[0x21]),_0xc83690=_0xeb0e7b(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x5c4168,0x10,_0x213a48[0x22]),_0x5ec898=_0xeb0e7b(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x40be0c,0x17,_0x213a48[0x23]),_0x163e8d=_0xeb0e7b(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x40933e,0x4,_0x213a48[0x24]),_0x213fda=_0xeb0e7b(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x46539b,0xb,_0x213a48[0x25]),_0xc83690=_0xeb0e7b(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x313cd3,0x10,_0x213a48[0x26]),_0x5ec898=_0xeb0e7b(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x63c5e7,0x17,_0x213a48[0x27]),_0x163e8d=_0xeb0e7b(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x3c596e,0x4,_0x213a48[0x28]),_0x213fda=_0xeb0e7b(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0xbcac21,0xb,_0x213a48[0x29]),_0xc83690=_0xeb0e7b(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x5e14a1,0x10,_0x213a48[0x2a]),_0x5ec898=_0xeb0e7b(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x3d8fdd,0x17,_0x213a48[0x2b]),_0x163e8d=_0xeb0e7b(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x3979c3,0x4,_0x213a48[0x2c]),_0x213fda=_0xeb0e7b(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x4e7206,0xb,_0x213a48[0x2d]),_0xc83690=_0xeb0e7b(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x5b618c,0x10,_0x213a48[0x2e]),_0x5ec898=_0xeb0e7b(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x23fc6e,0x17,_0x213a48[0x2f]),_0x163e8d=_0x39af93(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0xbcac21,0x6,_0x213a48[0x30]),_0x213fda=_0x39af93(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x313cd3,0xa,_0x213a48[0x31]),_0xc83690=_0x39af93(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x40be0c,0xf,_0x213a48[0x32]),_0x5ec898=_0x39af93(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x5508f0,0x15,_0x213a48[0x33]),_0x163e8d=_0x39af93(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x4e7206,0x6,_0x213a48[0x34]),_0x213fda=_0x39af93(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x5e14a1,0xa,_0x213a48[0x35]),_0xc83690=_0x39af93(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x63c5e7,0xf,_0x213a48[0x36]),_0x5ec898=_0x39af93(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x40933e,0x15,_0x213a48[0x37]),_0x163e8d=_0x39af93(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x5b484a,0x6,_0x213a48[0x38]),_0x213fda=_0x39af93(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x5b618c,0xa,_0x213a48[0x39]),_0xc83690=_0x39af93(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x3d8fdd,0xf,_0x213a48[0x3a]),_0x5ec898=_0x39af93(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x3c596e,0x15,_0x213a48[0x3b]),_0x163e8d=_0x39af93(_0x163e8d,_0x5ec898,_0xc83690,_0x213fda,_0x46539b,0x6,_0x213a48[0x3c]),_0x213fda=_0x39af93(_0x213fda,_0x163e8d,_0x5ec898,_0xc83690,_0x5c4168,0xa,_0x213a48[0x3d]),_0xc83690=_0x39af93(_0xc83690,_0x213fda,_0x163e8d,_0x5ec898,_0x23fc6e,0xf,_0x213a48[0x3e]),_0x5ec898=_0x39af93(_0x5ec898,_0xc83690,_0x213fda,_0x163e8d,_0x3979c3,0x15,_0x213a48[0x3f]),_0x24a64a[0x0]=_0x24a64a[0x0]+_0x163e8d|0x0,_0x24a64a[0x1]=_0x24a64a[0x1]+_0x5ec898|0x0,_0x24a64a[0x2]=_0x24a64a[0x2]+_0xc83690|0x0,_0x24a64a[0x3]=_0x24a64a[0x3]+_0x213fda|0x0;},'_doFinalize':function(){var _0x412f80=_0x179897,_0x33fed7=this[_0x412f80(0x37a)],_0x387011=_0x33fed7[_0x412f80(0x33e)],_0x1b5342=this[_0x412f80(0x318)]*0x8,_0x5096ca=_0x33fed7[_0x412f80(0x466)]*0x8;_0x387011[_0x5096ca>>>0x5]|=0x80<<0x18-_0x5096ca%0x20;var _0x11e0e8=_0x3815d6[_0x412f80(0x2ea)](_0x1b5342/0x100000000),_0x537c69=_0x1b5342;_0x387011[(_0x5096ca+0x40>>>0x9<<0x4)+0xf]=(_0x11e0e8<<0x8|_0x11e0e8>>>0x18)&0xff00ff|(_0x11e0e8<<0x18|_0x11e0e8>>>0x8)&0xff00ff00,_0x387011[(_0x5096ca+0x40>>>0x9<<0x4)+0xe]=(_0x537c69<<0x8|_0x537c69>>>0x18)&0xff00ff|(_0x537c69<<0x18|_0x537c69>>>0x8)&0xff00ff00,_0x33fed7[_0x412f80(0x466)]=(_0x387011['length']+0x1)*0x4,this[_0x412f80(0x346)]();for(var _0x3b882b=this[_0x412f80(0x3e7)],_0x54ab8e=_0x3b882b[_0x412f80(0x33e)],_0x2cb830=0x0;_0x2cb830<0x4;_0x2cb830++){var _0xa9e900=_0x54ab8e[_0x2cb830];_0x54ab8e[_0x2cb830]=(_0xa9e900<<0x8|_0xa9e900>>>0x18)&0xff00ff|(_0xa9e900<<0x18|_0xa9e900>>>0x8)&0xff00ff00;}return _0x3b882b;},'clone':function(){var _0x4fde22=_0x179897,_0xfce243=_0x1ae940['clone'][_0x4fde22(0x27b)](this);return _0xfce243[_0x4fde22(0x3e7)]=this[_0x4fde22(0x3e7)][_0x4fde22(0x438)](),_0xfce243;}});function _0xfe4c2d(_0x5f305e,_0x5bf97b,_0xa19183,_0x26a137,_0x49f52b,_0x2b7d06,_0x4d2249){var _0x163e22=_0x5f305e+(_0x5bf97b&_0xa19183|~_0x5bf97b&_0x26a137)+_0x49f52b+_0x4d2249;return(_0x163e22<<_0x2b7d06|_0x163e22>>>0x20-_0x2b7d06)+_0x5bf97b;}function _0x5a431d(_0x176d4e,_0xaf70d3,_0x404ee6,_0x5a7a75,_0x54c293,_0x43a73e,_0x101159){var _0x6a8d6e=_0x176d4e+(_0xaf70d3&_0x5a7a75|_0x404ee6&~_0x5a7a75)+_0x54c293+_0x101159;return(_0x6a8d6e<<_0x43a73e|_0x6a8d6e>>>0x20-_0x43a73e)+_0xaf70d3;}function _0xeb0e7b(_0x3df17e,_0x4cadac,_0x1b80b7,_0x157ee6,_0x3ea89d,_0x45f648,_0x5ee070){var _0xcbfbcf=_0x3df17e+(_0x4cadac^_0x1b80b7^_0x157ee6)+_0x3ea89d+_0x5ee070;return(_0xcbfbcf<<_0x45f648|_0xcbfbcf>>>0x20-_0x45f648)+_0x4cadac;}function _0x39af93(_0x45e0a7,_0x5f11fc,_0x30df15,_0x3d3077,_0x201a46,_0x312fe1,_0x9ae044){var _0x499683=_0x45e0a7+(_0x30df15^(_0x5f11fc|~_0x3d3077))+_0x201a46+_0x9ae044;return(_0x499683<<_0x312fe1|_0x499683>>>0x20-_0x312fe1)+_0x5f11fc;}_0x102873['MD5']=_0x1ae940[_0x179897(0x231)](_0x12d4a4),_0x102873['HmacMD5']=_0x1ae940[_0x179897(0x1ca)](_0x12d4a4);}(Math),_0x218c70[_0x4ae07d(0x4f7)];}));}(Ie)),Ie[_0x37db3c(0x25f)];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x45aab2(0x25f)],tt;function $i(){return tt||(tt=0x1,function(_0x5718db,_0xad95ed){(function(_0x45b321,_0x2cb5c6){_0x5718db['exports']=_0x2cb5c6(ee());}(ji,function(_0x4bd1ec){var _0xb21fcf=_0x5692;return(function(){var _0x35ab98=_0x5692,_0xb9b3a3=_0x4bd1ec,_0x361b72=_0xb9b3a3[_0x35ab98(0x440)],_0x516beb=_0x361b72['WordArray'],_0x527042=_0x361b72[_0x35ab98(0x2b8)],_0x4b29ca=_0xb9b3a3[_0x35ab98(0x3e9)],_0x46aa62=[],_0x3e2dd6=_0x4b29ca['SHA1']=_0x527042[_0x35ab98(0x46f)]({'_doReset':function(){var _0x332e3a=_0x35ab98;this[_0x332e3a(0x3e7)]=new _0x516beb[(_0x332e3a(0x2dc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1cb94c,_0x494314){var _0x12104d=_0x35ab98;for(var _0x2dd89c=this['_hash'][_0x12104d(0x33e)],_0x15ce5f=_0x2dd89c[0x0],_0x2032e1=_0x2dd89c[0x1],_0x11a83b=_0x2dd89c[0x2],_0x5ca246=_0x2dd89c[0x3],_0x2e8c0e=_0x2dd89c[0x4],_0x482bf4=0x0;_0x482bf4<0x50;_0x482bf4++){if(_0x482bf4<0x10)_0x46aa62[_0x482bf4]=_0x1cb94c[_0x494314+_0x482bf4]|0x0;else{var _0x322745=_0x46aa62[_0x482bf4-0x3]^_0x46aa62[_0x482bf4-0x8]^_0x46aa62[_0x482bf4-0xe]^_0x46aa62[_0x482bf4-0x10];_0x46aa62[_0x482bf4]=_0x322745<<0x1|_0x322745>>>0x1f;}var _0x1aa97c=(_0x15ce5f<<0x5|_0x15ce5f>>>0x1b)+_0x2e8c0e+_0x46aa62[_0x482bf4];_0x482bf4<0x14?_0x1aa97c+=(_0x2032e1&_0x11a83b|~_0x2032e1&_0x5ca246)+0x5a827999:_0x482bf4<0x28?_0x1aa97c+=(_0x2032e1^_0x11a83b^_0x5ca246)+0x6ed9eba1:_0x482bf4<0x3c?_0x1aa97c+=(_0x2032e1&_0x11a83b|_0x2032e1&_0x5ca246|_0x11a83b&_0x5ca246)-0x70e44324:_0x1aa97c+=(_0x2032e1^_0x11a83b^_0x5ca246)-0x359d3e2a,_0x2e8c0e=_0x5ca246,_0x5ca246=_0x11a83b,_0x11a83b=_0x2032e1<<0x1e|_0x2032e1>>>0x2,_0x2032e1=_0x15ce5f,_0x15ce5f=_0x1aa97c;}_0x2dd89c[0x0]=_0x2dd89c[0x0]+_0x15ce5f|0x0,_0x2dd89c[0x1]=_0x2dd89c[0x1]+_0x2032e1|0x0,_0x2dd89c[0x2]=_0x2dd89c[0x2]+_0x11a83b|0x0,_0x2dd89c[0x3]=_0x2dd89c[0x3]+_0x5ca246|0x0,_0x2dd89c[0x4]=_0x2dd89c[0x4]+_0x2e8c0e|0x0;},'_doFinalize':function(){var _0x5232cf=_0x35ab98,_0x56ab65=this['_data'],_0x4b1ead=_0x56ab65[_0x5232cf(0x33e)],_0x5af0dd=this[_0x5232cf(0x318)]*0x8,_0x31239d=_0x56ab65[_0x5232cf(0x466)]*0x8;return _0x4b1ead[_0x31239d>>>0x5]|=0x80<<0x18-_0x31239d%0x20,_0x4b1ead[(_0x31239d+0x40>>>0x9<<0x4)+0xe]=Math[_0x5232cf(0x2ea)](_0x5af0dd/0x100000000),_0x4b1ead[(_0x31239d+0x40>>>0x9<<0x4)+0xf]=_0x5af0dd,_0x56ab65['sigBytes']=_0x4b1ead['length']*0x4,this['_process'](),this[_0x5232cf(0x3e7)];},'clone':function(){var _0x3ca285=_0x35ab98,_0x3d5cbc=_0x527042[_0x3ca285(0x438)][_0x3ca285(0x27b)](this);return _0x3d5cbc[_0x3ca285(0x3e7)]=this[_0x3ca285(0x3e7)][_0x3ca285(0x438)](),_0x3d5cbc;}});_0xb9b3a3[_0x35ab98(0x226)]=_0x527042[_0x35ab98(0x231)](_0x3e2dd6),_0xb9b3a3[_0x35ab98(0x385)]=_0x527042['_createHmacHelper'](_0x3e2dd6);}()),_0x4bd1ec[_0xb21fcf(0x226)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce[_0x45aab2(0x25f)],it;function Fi(){var _0x2ba213=_0x45aab2;return it||(it=0x1,function(_0x3175d2,_0xcbac69){(function(_0x10ab25,_0x142710){var _0x48a4a5=_0x5692;_0x3175d2[_0x48a4a5(0x25f)]=_0x142710(ee());}(Bi,function(_0x16dc4a){(function(){var _0x518972=_0x5692,_0x3d7855=_0x16dc4a,_0x14e22a=_0x3d7855['lib'],_0x2882c3=_0x14e22a['Base'],_0x3143c9=_0x3d7855[_0x518972(0x20b)],_0x23a83a=_0x3143c9[_0x518972(0x46b)],_0xba8eb2=_0x3d7855[_0x518972(0x3e9)];_0xba8eb2[_0x518972(0x458)]=_0x2882c3[_0x518972(0x46f)]({'init':function(_0x13d0e1,_0x3767e6){var _0x4cbf1b=_0x518972;_0x13d0e1=this[_0x4cbf1b(0x285)]=new _0x13d0e1[(_0x4cbf1b(0x2dc))](),typeof _0x3767e6=='string'&&(_0x3767e6=_0x23a83a['parse'](_0x3767e6));var _0x3edf1b=_0x13d0e1[_0x4cbf1b(0x1ab)],_0x222f42=_0x3edf1b*0x4;_0x3767e6[_0x4cbf1b(0x466)]>_0x222f42&&(_0x3767e6=_0x13d0e1[_0x4cbf1b(0x3be)](_0x3767e6)),_0x3767e6[_0x4cbf1b(0x4e4)]();for(var _0x4eb146=this[_0x4cbf1b(0x1b0)]=_0x3767e6[_0x4cbf1b(0x438)](),_0x3d5596=this[_0x4cbf1b(0x3a4)]=_0x3767e6[_0x4cbf1b(0x438)](),_0x5ccccd=_0x4eb146[_0x4cbf1b(0x33e)],_0x387480=_0x3d5596[_0x4cbf1b(0x33e)],_0x598ec2=0x0;_0x598ec2<_0x3edf1b;_0x598ec2++)_0x5ccccd[_0x598ec2]^=0x5c5c5c5c,_0x387480[_0x598ec2]^=0x36363636;_0x4eb146[_0x4cbf1b(0x466)]=_0x3d5596[_0x4cbf1b(0x466)]=_0x222f42,this[_0x4cbf1b(0x374)]();},'reset':function(){var _0x3865c2=_0x518972,_0x4bf735=this['_hasher'];_0x4bf735[_0x3865c2(0x374)](),_0x4bf735[_0x3865c2(0x2b7)](this['_iKey']);},'update':function(_0x3d3ccf){var _0x267c6c=_0x518972;return this['_hasher'][_0x267c6c(0x2b7)](_0x3d3ccf),this;},'finalize':function(_0x576968){var _0x416d0b=_0x518972,_0x4f6445=this[_0x416d0b(0x285)],_0xc27cf7=_0x4f6445[_0x416d0b(0x3be)](_0x576968);_0x4f6445[_0x416d0b(0x374)]();var _0x5a39bf=_0x4f6445['finalize'](this[_0x416d0b(0x1b0)][_0x416d0b(0x438)]()[_0x416d0b(0x276)](_0xc27cf7));return _0x5a39bf;}});}());}));}(Ce)),Ce[_0x2ba213(0x25f)];}var Vi=me['exports'],nt;function At(){var _0x438993=_0x45aab2;return nt||(nt=0x1,function(_0x41b3b1,_0x21463a){(function(_0x6837c6,_0x4e2e73,_0x4de30d){_0x41b3b1['exports']=_0x4e2e73(ee(),$i(),Fi());}(Vi,function(_0x15bae7){var _0x133535=_0x5692;return(function(){var _0x5448d9=_0x5692,_0x594943=_0x15bae7,_0x319641=_0x594943[_0x5448d9(0x440)],_0x2018e6=_0x319641[_0x5448d9(0x3c9)],_0x59fca3=_0x319641[_0x5448d9(0x43c)],_0x468661=_0x594943[_0x5448d9(0x3e9)],_0x48e2c5=_0x468661['MD5'],_0x27eae9=_0x468661[_0x5448d9(0x2d6)]=_0x2018e6[_0x5448d9(0x46f)]({'cfg':_0x2018e6['extend']({'keySize':0x80/0x20,'hasher':_0x48e2c5,'iterations':0x1}),'init':function(_0xff83fc){var _0xa1b5f4=_0x5448d9;this['cfg']=this[_0xa1b5f4(0x433)][_0xa1b5f4(0x46f)](_0xff83fc);},'compute':function(_0x1c031d,_0x15de5e){var _0x1ebdac=_0x5448d9;for(var _0x3bb93a,_0x6023df=this[_0x1ebdac(0x433)],_0x192d48=_0x6023df[_0x1ebdac(0x1d8)]['create'](),_0x4a79d3=_0x59fca3[_0x1ebdac(0x25d)](),_0x43fb43=_0x4a79d3[_0x1ebdac(0x33e)],_0x53ef38=_0x6023df[_0x1ebdac(0x4fe)],_0x503381=_0x6023df[_0x1ebdac(0x4a1)];_0x43fb43[_0x1ebdac(0x1ef)]<_0x53ef38;){_0x3bb93a&&_0x192d48[_0x1ebdac(0x2b7)](_0x3bb93a),_0x3bb93a=_0x192d48[_0x1ebdac(0x2b7)](_0x1c031d)[_0x1ebdac(0x3be)](_0x15de5e),_0x192d48[_0x1ebdac(0x374)]();for(var _0x553ca0=0x1;_0x553ca0<_0x503381;_0x553ca0++)_0x3bb93a=_0x192d48[_0x1ebdac(0x3be)](_0x3bb93a),_0x192d48[_0x1ebdac(0x374)]();_0x4a79d3[_0x1ebdac(0x276)](_0x3bb93a);}return _0x4a79d3[_0x1ebdac(0x466)]=_0x53ef38*0x4,_0x4a79d3;}});_0x594943[_0x5448d9(0x2d6)]=function(_0x4c6256,_0x6f6eed,_0x201983){var _0x36c35d=_0x5448d9;return _0x27eae9['create'](_0x201983)[_0x36c35d(0x29c)](_0x4c6256,_0x6f6eed);};}()),_0x15bae7[_0x133535(0x2d6)];}));}(me)),me[_0x438993(0x25f)];}var Te={'exports':{}},Wi=Te[_0x45aab2(0x25f)],rt;function Pt(){var _0xf7c5bb=_0x45aab2;return rt||(rt=0x1,function(_0x228462,_0x4124d8){(function(_0x13b338,_0x1e820e,_0x590767){var _0x16a2ba=_0x5692;_0x228462[_0x16a2ba(0x25f)]=_0x1e820e(ee(),At());}(Wi,function(_0x1bc22b){var _0x4a16b1=_0x5692;_0x1bc22b[_0x4a16b1(0x440)]['Cipher']||function(_0x15747e){var _0x2ff716=_0x4a16b1,_0x2142d9=_0x1bc22b,_0x3d17b2=_0x2142d9['lib'],_0x4524bf=_0x3d17b2[_0x2ff716(0x3c9)],_0x4261b9=_0x3d17b2[_0x2ff716(0x43c)],_0xa723a6=_0x3d17b2['BufferedBlockAlgorithm'],_0x31cda4=_0x2142d9['enc'];_0x31cda4[_0x2ff716(0x46b)];var _0x3f210e=_0x31cda4[_0x2ff716(0x4e9)],_0x5be995=_0x2142d9[_0x2ff716(0x3e9)],_0x10a9d7=_0x5be995[_0x2ff716(0x2d6)],_0x268932=_0x3d17b2[_0x2ff716(0x430)]=_0xa723a6[_0x2ff716(0x46f)]({'cfg':_0x4524bf['extend'](),'createEncryptor':function(_0x48bd93,_0x34a18c){var _0x5ac51c=_0x2ff716;return this[_0x5ac51c(0x25d)](this[_0x5ac51c(0x462)],_0x48bd93,_0x34a18c);},'createDecryptor':function(_0x3e6598,_0x15ddc1){var _0x185ebe=_0x2ff716;return this[_0x185ebe(0x25d)](this[_0x185ebe(0x241)],_0x3e6598,_0x15ddc1);},'init':function(_0x4dc4c5,_0x22fdd7,_0x471860){var _0x5c83da=_0x2ff716;this[_0x5c83da(0x433)]=this['cfg'][_0x5c83da(0x46f)](_0x471860),this[_0x5c83da(0x3cb)]=_0x4dc4c5,this['_key']=_0x22fdd7,this[_0x5c83da(0x374)]();},'reset':function(){var _0x1cee68=_0x2ff716;_0xa723a6[_0x1cee68(0x374)]['call'](this),this[_0x1cee68(0x1d9)]();},'process':function(_0x5535f1){var _0x531124=_0x2ff716;return this[_0x531124(0x335)](_0x5535f1),this[_0x531124(0x346)]();},'finalize':function(_0x27f875){_0x27f875&&this['_append'](_0x27f875);var _0x369139=this['_doFinalize']();return _0x369139;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x511889(_0x2b2cf8){var _0x54e79b=_0x5692;return typeof _0x2b2cf8==_0x54e79b(0x4d2)?_0x4de7dc:_0x3a4e61;}return function(_0x1b9875){return{'encrypt':function(_0x2bd5fc,_0x43c885,_0x2abcb1){var _0x54c25b=_0x5692;return _0x511889(_0x43c885)[_0x54c25b(0x524)](_0x1b9875,_0x2bd5fc,_0x43c885,_0x2abcb1);},'decrypt':function(_0x59f66e,_0x32b568,_0x527041){var _0x44a073=_0x5692;return _0x511889(_0x32b568)[_0x44a073(0x21e)](_0x1b9875,_0x59f66e,_0x32b568,_0x527041);}};};}())});_0x3d17b2[_0x2ff716(0x518)]=_0x268932[_0x2ff716(0x46f)]({'_doFinalize':function(){var _0x201094=_0x2ff716,_0x1a3958=this[_0x201094(0x346)](!0x0);return _0x1a3958;},'blockSize':0x1});var _0x59e289=_0x2142d9[_0x2ff716(0x4cd)]={},_0x2f6355=_0x3d17b2['BlockCipherMode']=_0x4524bf['extend']({'createEncryptor':function(_0x1ed59f,_0x18b39a){var _0x4597eb=_0x2ff716;return this[_0x4597eb(0x4ac)][_0x4597eb(0x25d)](_0x1ed59f,_0x18b39a);},'createDecryptor':function(_0x34e51a,_0x4fdfc6){var _0x135162=_0x2ff716;return this[_0x135162(0x214)]['create'](_0x34e51a,_0x4fdfc6);},'init':function(_0x47135b,_0x3d4c2b){this['_cipher']=_0x47135b,this['_iv']=_0x3d4c2b;}}),_0x1a149d=_0x59e289[_0x2ff716(0x44e)]=(function(){var _0x510aaf=_0x2ff716,_0x49fee8=_0x2f6355['extend']();_0x49fee8['Encryptor']=_0x49fee8['extend']({'processBlock':function(_0x5772dc,_0x26928e){var _0x3306d0=_0x5692,_0x46de21=this[_0x3306d0(0x222)],_0x59e68f=_0x46de21[_0x3306d0(0x1ab)];_0x33a6ef['call'](this,_0x5772dc,_0x26928e,_0x59e68f),_0x46de21[_0x3306d0(0x1e0)](_0x5772dc,_0x26928e),this[_0x3306d0(0x38c)]=_0x5772dc[_0x3306d0(0x437)](_0x26928e,_0x26928e+_0x59e68f);}}),_0x49fee8['Decryptor']=_0x49fee8[_0x510aaf(0x46f)]({'processBlock':function(_0x2a0604,_0x1ddaff){var _0x56cd3e=_0x510aaf,_0x2ab938=this[_0x56cd3e(0x222)],_0x63c673=_0x2ab938[_0x56cd3e(0x1ab)],_0x17a6cf=_0x2a0604[_0x56cd3e(0x437)](_0x1ddaff,_0x1ddaff+_0x63c673);_0x2ab938[_0x56cd3e(0x3b2)](_0x2a0604,_0x1ddaff),_0x33a6ef[_0x56cd3e(0x27b)](this,_0x2a0604,_0x1ddaff,_0x63c673),this[_0x56cd3e(0x38c)]=_0x17a6cf;}});function _0x33a6ef(_0x3c5764,_0x3d239d,_0xa68a31){var _0x431730=_0x510aaf,_0x4a6573,_0x407f26=this[_0x431730(0x206)];_0x407f26?(_0x4a6573=_0x407f26,this[_0x431730(0x206)]=_0x15747e):_0x4a6573=this[_0x431730(0x38c)];for(var _0x535409=0x0;_0x535409<_0xa68a31;_0x535409++)_0x3c5764[_0x3d239d+_0x535409]^=_0x4a6573[_0x535409];}return _0x49fee8;}()),_0x95f7d5=_0x2142d9[_0x2ff716(0x486)]={},_0x22c31d=_0x95f7d5[_0x2ff716(0x427)]={'pad':function(_0x445e81,_0x174f22){var _0x579e09=_0x2ff716;for(var _0x115fc8=_0x174f22*0x4,_0x8986e8=_0x115fc8-_0x445e81['sigBytes']%_0x115fc8,_0xbc3bf6=_0x8986e8<<0x18|_0x8986e8<<0x10|_0x8986e8<<0x8|_0x8986e8,_0x5f3221=[],_0x35eead=0x0;_0x35eead<_0x8986e8;_0x35eead+=0x4)_0x5f3221[_0x579e09(0x360)](_0xbc3bf6);var _0x1ad7fc=_0x4261b9[_0x579e09(0x25d)](_0x5f3221,_0x8986e8);_0x445e81[_0x579e09(0x276)](_0x1ad7fc);},'unpad':function(_0x2ad0ab){var _0x466e1b=_0x2ff716,_0x2db5f7=_0x2ad0ab[_0x466e1b(0x33e)][_0x2ad0ab[_0x466e1b(0x466)]-0x1>>>0x2]&0xff;_0x2ad0ab['sigBytes']-=_0x2db5f7;}};_0x3d17b2[_0x2ff716(0x2da)]=_0x268932['extend']({'cfg':_0x268932[_0x2ff716(0x433)][_0x2ff716(0x46f)]({'mode':_0x1a149d,'padding':_0x22c31d}),'reset':function(){var _0x2a2e09=_0x2ff716,_0x501128;_0x268932[_0x2a2e09(0x374)][_0x2a2e09(0x27b)](this);var _0x12352b=this[_0x2a2e09(0x433)],_0x3cc117=_0x12352b['iv'],_0x21e2f4=_0x12352b[_0x2a2e09(0x4cd)];this[_0x2a2e09(0x3cb)]==this['_ENC_XFORM_MODE']?_0x501128=_0x21e2f4[_0x2a2e09(0x2c5)]:(_0x501128=_0x21e2f4[_0x2a2e09(0x303)],this[_0x2a2e09(0x1e2)]=0x1),this[_0x2a2e09(0x1c0)]&&this[_0x2a2e09(0x1c0)][_0x2a2e09(0x28e)]==_0x501128?this['_mode'][_0x2a2e09(0x2dc)](this,_0x3cc117&&_0x3cc117[_0x2a2e09(0x33e)]):(this[_0x2a2e09(0x1c0)]=_0x501128[_0x2a2e09(0x27b)](_0x21e2f4,this,_0x3cc117&&_0x3cc117[_0x2a2e09(0x33e)]),this[_0x2a2e09(0x1c0)][_0x2a2e09(0x28e)]=_0x501128);},'_doProcessBlock':function(_0xe681d9,_0x2c8473){var _0x2769da=_0x2ff716;this[_0x2769da(0x1c0)]['processBlock'](_0xe681d9,_0x2c8473);},'_doFinalize':function(){var _0x3ab2c3=_0x2ff716,_0x35e7c5,_0x420448=this['cfg'][_0x3ab2c3(0x4e0)];return this[_0x3ab2c3(0x3cb)]==this[_0x3ab2c3(0x462)]?(_0x420448[_0x3ab2c3(0x486)](this[_0x3ab2c3(0x37a)],this[_0x3ab2c3(0x1ab)]),_0x35e7c5=this[_0x3ab2c3(0x346)](!0x0)):(_0x35e7c5=this[_0x3ab2c3(0x346)](!0x0),_0x420448[_0x3ab2c3(0x460)](_0x35e7c5)),_0x35e7c5;},'blockSize':0x80/0x20});var _0x6f3c5a=_0x3d17b2['CipherParams']=_0x4524bf[_0x2ff716(0x46f)]({'init':function(_0x4a34ca){var _0x31d230=_0x2ff716;this[_0x31d230(0x2a4)](_0x4a34ca);},'toString':function(_0x3beafb){var _0x56c3c5=_0x2ff716;return(_0x3beafb||this[_0x56c3c5(0x24f)])[_0x56c3c5(0x2a7)](this);}}),_0x39a8c8=_0x2142d9['format']={},_0x552465=_0x39a8c8[_0x2ff716(0x20d)]={'stringify':function(_0x4879dd){var _0x4d20a7=_0x2ff716,_0x585862,_0x31f27f=_0x4879dd['ciphertext'],_0x253614=_0x4879dd[_0x4d20a7(0x3ea)];return _0x253614?_0x585862=_0x4261b9[_0x4d20a7(0x25d)]([0x53616c74,0x65645f5f])[_0x4d20a7(0x276)](_0x253614)[_0x4d20a7(0x276)](_0x31f27f):_0x585862=_0x31f27f,_0x585862[_0x4d20a7(0x31e)](_0x3f210e);},'parse':function(_0x1be7ce){var _0x219f60=_0x2ff716,_0x45fc80,_0x7afad2=_0x3f210e['parse'](_0x1be7ce),_0x30a8ae=_0x7afad2[_0x219f60(0x33e)];return _0x30a8ae[0x0]==0x53616c74&&_0x30a8ae[0x1]==0x65645f5f&&(_0x45fc80=_0x4261b9[_0x219f60(0x25d)](_0x30a8ae[_0x219f60(0x437)](0x2,0x4)),_0x30a8ae['splice'](0x0,0x4),_0x7afad2['sigBytes']-=0x10),_0x6f3c5a[_0x219f60(0x25d)]({'ciphertext':_0x7afad2,'salt':_0x45fc80});}},_0x3a4e61=_0x3d17b2['SerializableCipher']=_0x4524bf['extend']({'cfg':_0x4524bf[_0x2ff716(0x46f)]({'format':_0x552465}),'encrypt':function(_0x30c459,_0x1a1a52,_0x1a0910,_0x1fba31){var _0xa0e283=_0x2ff716;_0x1fba31=this[_0xa0e283(0x433)]['extend'](_0x1fba31);var _0x1e228d=_0x30c459['createEncryptor'](_0x1a0910,_0x1fba31),_0xee52af=_0x1e228d['finalize'](_0x1a1a52),_0x298307=_0x1e228d[_0xa0e283(0x433)];return _0x6f3c5a['create']({'ciphertext':_0xee52af,'key':_0x1a0910,'iv':_0x298307['iv'],'algorithm':_0x30c459,'mode':_0x298307[_0xa0e283(0x4cd)],'padding':_0x298307[_0xa0e283(0x4e0)],'blockSize':_0x30c459[_0xa0e283(0x1ab)],'formatter':_0x1fba31[_0xa0e283(0x3dc)]});},'decrypt':function(_0x263d4f,_0x929106,_0x881d7,_0x31fd8b){var _0x91abbe=_0x2ff716;_0x31fd8b=this[_0x91abbe(0x433)][_0x91abbe(0x46f)](_0x31fd8b),_0x929106=this['_parse'](_0x929106,_0x31fd8b[_0x91abbe(0x3dc)]);var _0x7c823a=_0x263d4f[_0x91abbe(0x303)](_0x881d7,_0x31fd8b)[_0x91abbe(0x3be)](_0x929106['ciphertext']);return _0x7c823a;},'_parse':function(_0x4a3e95,_0x4bcbab){var _0x726f=_0x2ff716;return typeof _0x4a3e95=='string'?_0x4bcbab[_0x726f(0x417)](_0x4a3e95,this):_0x4a3e95;}}),_0x2ecbbc=_0x2142d9[_0x2ff716(0x212)]={},_0xe8cd24=_0x2ecbbc[_0x2ff716(0x20d)]={'execute':function(_0x26ff33,_0x5eab9d,_0x588707,_0x15ae36,_0xf0dfd1){var _0x39cb5b=_0x2ff716;if(_0x15ae36||(_0x15ae36=_0x4261b9[_0x39cb5b(0x42f)](0x40/0x8)),_0xf0dfd1)var _0x21803a=_0x10a9d7['create']({'keySize':_0x5eab9d+_0x588707,'hasher':_0xf0dfd1})[_0x39cb5b(0x29c)](_0x26ff33,_0x15ae36);else var _0x21803a=_0x10a9d7[_0x39cb5b(0x25d)]({'keySize':_0x5eab9d+_0x588707})[_0x39cb5b(0x29c)](_0x26ff33,_0x15ae36);var _0x144174=_0x4261b9['create'](_0x21803a[_0x39cb5b(0x33e)][_0x39cb5b(0x437)](_0x5eab9d),_0x588707*0x4);return _0x21803a[_0x39cb5b(0x466)]=_0x5eab9d*0x4,_0x6f3c5a[_0x39cb5b(0x25d)]({'key':_0x21803a,'iv':_0x144174,'salt':_0x15ae36});}},_0x4de7dc=_0x3d17b2[_0x2ff716(0x2b6)]=_0x3a4e61[_0x2ff716(0x46f)]({'cfg':_0x3a4e61['cfg']['extend']({'kdf':_0xe8cd24}),'encrypt':function(_0x3babca,_0x3796d3,_0x58147d,_0x31a246){var _0x413529=_0x2ff716;_0x31a246=this[_0x413529(0x433)][_0x413529(0x46f)](_0x31a246);var _0x4f2030=_0x31a246[_0x413529(0x212)][_0x413529(0x445)](_0x58147d,_0x3babca[_0x413529(0x4fe)],_0x3babca[_0x413529(0x1cc)],_0x31a246[_0x413529(0x3ea)],_0x31a246[_0x413529(0x1d8)]);_0x31a246['iv']=_0x4f2030['iv'];var _0x1b9f84=_0x3a4e61[_0x413529(0x524)][_0x413529(0x27b)](this,_0x3babca,_0x3796d3,_0x4f2030[_0x413529(0x3ef)],_0x31a246);return _0x1b9f84[_0x413529(0x2a4)](_0x4f2030),_0x1b9f84;},'decrypt':function(_0x13f99c,_0x32f49f,_0x5749c3,_0x21d2ad){var _0x96a099=_0x2ff716;_0x21d2ad=this[_0x96a099(0x433)][_0x96a099(0x46f)](_0x21d2ad),_0x32f49f=this[_0x96a099(0x23a)](_0x32f49f,_0x21d2ad[_0x96a099(0x3dc)]);var _0x55e02e=_0x21d2ad[_0x96a099(0x212)][_0x96a099(0x445)](_0x5749c3,_0x13f99c[_0x96a099(0x4fe)],_0x13f99c['ivSize'],_0x32f49f[_0x96a099(0x3ea)],_0x21d2ad[_0x96a099(0x1d8)]);_0x21d2ad['iv']=_0x55e02e['iv'];var _0x2106a6=_0x3a4e61[_0x96a099(0x21e)][_0x96a099(0x27b)](this,_0x13f99c,_0x32f49f,_0x55e02e[_0x96a099(0x3ef)],_0x21d2ad);return _0x2106a6;}});}();}));}(Te)),Te[_0xf7c5bb(0x25f)];}var Gi=fe[_0x45aab2(0x25f)],st;function _0x370a(){var _0x255c4a=['SUBMIT_CHANGESET','byteOffset','isTransformMutationsWithChangesetFailure','_getAPIPrefix','AES','_rescheduleHeartbeat','_initRequestHeader','PY_RUNTIME_SCRIPT_ERROR','Base','transformStack\x20failed!','_xformMode','NoPadding','objects','_initDependencies','loadUnit','OfflineState','Subject','objectActions','updatePermissionObjEvent','reconnect','UniverCollaborationClientPlugin','_compressMutationService','telemetry\x20info\x20is\x20not\x20initialized','avatar','JOIN_ROOM_FULL','ITransformService','_transformStack','format','HEARTBEAT_INTERVAL_KEY','origin','_telemetryInfo','_entityInit$','JOIN','OTHER_CLIENTS_EDITING','resourceIDs','_snapshotServerService','baseRev','[CollaborationState]:\x20apply\x20error!','_hash','COLLAB_SUBMIT_CHANGESET_URL','algo','salt','COLLAB_WEB_SOCKET_URL_KEY','1702292GDLTQg','LIVESHARE_OPERATION','_sendHeartbeat','key','15AAApud','onTransformSelections','/universer-api/uniscript','userID','getMemberID','charCodeAt','DisposableCollection','complete','ciphertext','_clearRetryConnectingTimer','ISnapshotServerService','asObservable','SheetTransformSelectionsService','ICollaborationSocketService','SheetCollaborationEntity','UNDEFINED','_roomMembers','patch','save\x20fail\x20reason\x20is\x20','state','batchAllowed','PERMISSION_REJ','_eventService','_clearHeartbeatTimer','MSG_FOR_ERROR','session.room-full','_clearTimeoutTimer','fetchMiss','isPermissionRej','YUUMI_SUBSCRIPTION_NOT_FOUND','sheets','getValue','/rev/','from','UNKNOWN_CODE','_createInitialStateImpl','dispose','_resendTimer','ImageSourceType','parse','_handlerCallback','[FetchMissState]','CollaborationImageIoService','image/bmp','_handler','mutations','POST','SnapshotServerOverHTTPService','rxjs','deleteCollaborator','event$','stopTime','synced','MOBILE_HAS_BEEN_BOUND','FAIL','Pkcs7','LOCAL_CACHE_INTERVAL_KEY','HEARTBEAT_TIMEOUT_KEY','UNIVER_DOC','forEach','_onConflict','[UniverCollaborationClientPlugin]','fromCollab','random','Cipher','getUnitType','3421851JVxCLK','cfg','_members','_getCurrentRevision','_acknowledgedAwaitingChangeset','slice','clone','CollaborationEntity','members','startsWith','WordArray','$super','setConfig','IConfigService','lib','transformUndoRedo','joinEvent','session.join-failed','data','execute','addImageSourceCache','INVITE_CODE_ALREADY_BOUND','USERS_LEAVE','fetchMissingChangesets','Tools','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','LIVESHARE_REQUEST_HOST','ThresholdInterceptorFactory','CBC','_toggleOnline','_lockTransition','IContextService','_onJoinRoomEvent','_memberService','snapshot','_sheetTransformSelectionsService','getResourcesRequest','_collaborationPaused','HMAC','/unit/','open$','range','RichTextEditingMutation','FetchingMissState','_getDownloadEndpointURL','subscribe','unpad','_socketReady','_ENC_XFORM_MODE','FileId','members$','_config','sigBytes','clear','getLocalCacheKey','entityInit$','merge','Utf8','closeSession','Inject','changesets','extend','getAllMembers','editingUnit','socket\x20open.','LICENSE_MAX_UNITS_EXCEEDED','image/gif','roomInfos','put','_networkConditionService','/object/','unitID','ceil','getOwnPropertyDescriptor','getRoom','_HTTPService','_undoRedoService','OPTIONAL','location','_userManagerService','Injector','[CollaborationUndoRedoService]','LICENSE_DISTRO_REJECTED','has','pad','isArray','AuthzIoHttpService','_fetchMissChangesets','msCrypto','PERMISSION_DENIED','_init','_initCloseConn','apply','_members$','/allowed','setShowComponents','_decreaseWaiting','IAuthzIoService','CollaborationSession','loadDoc','_transitionLocked','_onRemoteChangeset','UNAUTHENTICATED','@univerjs-pro/license','WECHAT_HAS_BEEN_BOUND','RevisionService','pending','b64DecodeUnicode','@univerjs/core','_onRemoteRejected','[CollaborationSession]','iterations','UUID','_resendWithTimeout','APPLY_DUPLICATED','updateMember','INVITE_CODE_HAS_BEEN_UES','_throwTelemetryCollaborationNewChangeset','debug','LICENSE_IMPORT_SIZE_EXCEEDED','EmptyMutation','offline','Encryptor','/universer-api/user/session-ticket','uploadFileServerUrl','registerHTTPInterceptor','BehaviorSubject','Undefined','AWAITING','online$','error','APPLY_NON_SEQUENTIAL_REVISION','_getCtorByUniverType','getTypeOfUnitAdded$','entries','uniscriptRunEvent','ERROR_IMAGE_TYPE','_remoteChangesetQueue','ILogService','unitId','RETRY_CONNECTING_MAX_COUNT','error$','_listenToNetworkCondition','\x20to\x20','onTransformIME','_exhaustRemoteChangesetQueue','requestParams','onRemoteRetry','SOCKET_FAILED','_reverseMap','UPDATE_CURSOR','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CHANGESET_ACK','every','_queuedRemoteChangesets','mode','_onOffline','Could\x20not\x20dynamically\x20require\x20\x22','CHANGESET_SHOULD_RETRY','session.room-not-exists','string','AwaitingState','_keySchedule','awaiting_with_pending','_isPermissionRej','_nRounds','params','_sessionStatus$','isInternalEditorID','dispose$','?url=','UnitSnapshot','c2Prime','UNKNOWN_CMD','padding','parseProtocolChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','readAsDataURL','clamp','_clearUndo','NEW_CHANGESETS','_injector','OFFLINE','Base64','getCollabEntity$','_telemetryService','transformSelections','_doFinalize','JOIN_ROOM_FAILED','getRandomValues','LOGIN_URL_KEY','_commandService','_transformSelections','/universer-api/comb','_transformUndoredo','updateOfflineData','ws://127.0.0.1:8000/universer-api/comb/connect','MD5','transformChangesets','_onRemoteRetry','toggleOnline','confirm','ISocketService','leaveEvent','keySize','getUnitOnRev','collaboration_new_changeset','close','ImageUploadStatusType','getTime','LOGIN_FAILED','next','UNIVER_COLLABORATION_CLIENT_PLUGIN','authzUrl','WorkbookEditablePermission','getFocusedUnit','_event$','_onConnectionFailed','takeUntil','onSendChangeset','waitForRoom$','_singleActiveUnitService','_clearCollaborationTimeoutTimer','SNAPSHOT_SERVER_URL_KEY','_doCryptBlock','MUTATION','csRejEvent','bind','_onMessage','_createHandler','StreamCipher','SNAPSHOT_HAS_BEEN_REMOVED','getCurrentRevOfUnit','snapshotServerUrl','HttpImport','_toggleOffline','function','RETRY_CONNECTING_MAX_COUNT_KEY','body','m2Prime','downloadEndpointUrl','unitId\x20is\x20not\x20found','encrypt','_getUndoStack','blockSize','findIndex','univer-pro.collaboration-client.single-active-unit-service','executeCommand','LocalUndoRedoService','_oKey','_loadDoc','_transformRemoteChangesetByIMECache','state$','CompressMutationService','_resendTimeout','ReplaySubject','IDLE','_tryEnsureSocket','concatMap','refreshPermission','conflict','awaiting','CollaborationController','&source=','mapDocumentTypeToUniverType','_mode','fromCharCode','now','collaMsg','sin','updateCursorEvent','toDisposable','sendChangesetTimeout','createIdentifier','_startCollaboration','_createHmacHelper','_configService','ivSize','_removeRoom','SEND_CHANGESET_TIMEOUT','COMPLETION_FINISHED','_state','putCollaborators','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Plugin','FETCH_MISSING','@univerjs/drawing','ILocalCacheService','hasher','_doReset','defineProperty','COMPRESS_MUTATION_SEND','AwaitingWithPendingState','resend','IUndoRedoService','originalMeta','encryptBlock','requireSession','_minBufferSize','_state$','firstValueFrom','join','_invKeySchedule','enableOfflineEditing','target','_schedule','getUnitId','_replayCachedMutations','SNAPSHOT_INVALID_SNAPSHOT','[CollaborationSessionService]','reqId','length','UniverNetworkPlugin','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','4LouXcO','UNISCRIPT_RUN','getActiveSheet','_unitID','getCurrentUser','_commentUpdate$','textRanges','withCredentials','DEFAULT_WS_SESSION_TICKET_URL','code','unsubscribe','shouldCloseConn','PendingState','UniverCollaborationPlugin','MemberService','newCsEvent','IPermissionService','abs','_commentService','hostname','_iv','editing\x20status\x20changed\x20to','LICENSE_EXPORT_SIZE_EXCEEDED','name','sid','enc','_univerInstanceService','OpenSSL','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','transformMutationsWithChangeset','onStateChange','kdf','JOINING','Decryptor','socketService','LEAVE','delete','/role','ITelemetryService','\x0aAfter:\x20','_transformStateCache','Workbook','_initUnitPermissionChange','decrypt','_checkMissing','memberID','_socket$','_cipher','[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.','getCollabEntity','HELLO','SHA1','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_initMergeInterceptor','_collaborationUIEventService','isTransformMutationsWithChangesetSuccess','getTypeOfUnitDisposed$','charAt','x-univer-host','catch','onlyLocal','commentUpdate$','_createHelper','CONFLICT','COLLAB_SUBMIT_CHANGESET_URL_KEY','textEncoder','[OfflineState]:\x20received\x20rejection.','_onLocalMutation','3776pRgDoN','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CommandType','_parse','_clearLocalCache','close$','1022894tqOFXT','NOT_COLLAB','MentionType','Univer','_DEC_XFORM_MODE','JSONX','onTransformState','_createSocket','_map','copyFileMeta','listRoles','_timeoutTimer','/resources','UPDATE_PERMISSION_OBJ','/universer-api/snapshot/','joinRsp','CollaborationSessionService','_clearScheduledTask','formatter','UNIVER_SLIDE','onload','Error\x20on\x20receiving\x20event','onMissingChangesets','saveSheetBlock','splice','9zgCprH','[CollaborationSessionService]:\x20socket\x20error','filter','add','retryConnectingInterval','enableAuthServer','getInterceptPoints','create','HEARTBEAT','exports','allowed','HTTPService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','@univerjs/network','includes','action','_scheduleCollaborationTimeoutTimer','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_executeRemoteChangeset','YUUMI_RATE_OVER_LIMIT','12iMFapR','_unlockTransition','/universer-api/authz','session','csAckEvent','YUUMI_URL_COL_OUT_OF_RANGE','People','_updateStatus','COMPRESS_MUTATION_APPLY','signUrlServerUrl','isTransformChangesetsSuccess','concat','default','_doProcessBlock','result','take','call','failed\x20to\x20apply\x20missed\x20changesets!','getCurrentSelections','LIVESHARE_FETCH_OPERATIONS','JOIN_ROOM_NOT_EXISTS','_awaitingChangeset','_submitChangeset','INGEST','_substituteUndoStack','SetSelectionsOperation','_hasher','ERROR_IMAGE','_httpService','Optional','HTTPRequest','_onCombEvent','focused$','@univerjs/docs','getConfig','__creator','YUUMI_ALL_TABLES_IS_INVALID','BufferedBlockAlgorithm','unknown','revision','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_onRemoteACK','getSnapshotAPIPath','ALREADY_EXISTS','session.room-permission-denied','BASE64','replace','list','compute','_getSendChangesetTimeout','DataLoaderService','emitEvent','change$','SNAPSHOT_URL_KEY','_sendingTimer','_sessions','mixIn','/universer-api/oidc/authpage','Failed\x20to\x20update\x20permission\x20point','stringify','RECV','randomUUID','createInstance','EMAIL_HAS_BEEN_BOUND','getMember','pauseCollaboration','_keyPriorReset','_key','_waitCount','_disableEditing','PSEUDO_FETCH_MISSING_RESULT','INTERNAL_ERROR','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','createSocket','PasswordBasedCipher','update','Hasher','_scheduleCompleteTimestamp','_onUserLeave','/fetchmissing?from=','EXCHANGE_SIGN_URL_SERVER_URL_KEY','IImageIoService','CHANGESET_REVISION_CONFILICT','[DataLoaderService]','registerDependencies','_socketService','_shouldReportTelemetry','UserProfileImg','appendMutation','createEncryptor','selections','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','NOT_FOUND','TOO_MANY_REQUESTS','SheetsSelectionsService','subject','post','onLocalMutation','pipe','url','?size=','UNRECOGNIZED','onStarting','_change$','_emitMembers','get','EvpKDF','_localCacheService','Disposable','_type','BlockCipher','YUUMI_AI_RUN_FAILED','init','onRemoteChangeset','_localeService','byteLength','_updateState','prototype','INVITE_CODE_REQUIRED','_collaborationTimeoutTimer','interceptor','Quantity','sessionStatus$','CollaborationSocketService','_logService','USER_NOT_INVITED_CODE','floor','_imageSourceCache','sessionStatus','_revisionService','startTime','INVALID_ARGUMENT','Hex','YUUMI_UNABLE_LOAD_URL','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','reject','_getUploadFileURL','createCollaborator','UNIVER_UNKNOWN','getUnit','listCollaborators','_roomCreated$','title','_retryConnectingTimer','/collaborator','NO_OTHER_CLIENTS_EDITING','HttpExport','setWaitCount','find','eventID','cmd','createDecryptor','touchDependencies','_snapshotService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','/new_changes','_applyRemoteChangeset','map','_replaceFileID','ConflictState','6874zIlHiB','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','COMMENT_UPDATE','disposeWithMe','_candidateSocket','loadSheet','4852060dtvhRs','SHOULD_CLOSE_CONN','collabWebSocketUrl','SyncedState','_tryReconnect','_permissionService','_nDataBytes','hasOwnProperty','repeat','href','onMissedChangesetFetched','onSyncEditingCollabCursor','toString','YUUMI_NO_CUBOID_FOR_QUESTION','SOCKET_FAILED_RETRY','set','COLLAB_WEB_SOCKET_URL','awaitingChangeset','parseChangesetToProtocol','_retryCount','_undoStacks','getUnitStatus$','_changesetSessionId','[PendingState]:\x20received\x20rejection.','_getLoginPath','SUBMIT_CHANGESET_TIMEOUT','commentUpdateEvent','_joinRoom','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_sendHeartbeatTimer','_startTelemetryCollaborationNewChangeset','LIVESHARE_TERMINATE','objectID','onRemoteAck','capture','_append','_incrementRevisionNumber','onTransformRemoteChangesetByIMECache','setCurrentUser','_transformIMECache','disableLocalCache','localeService','toLowerCase','AWAITING_WITH_PENDING','words','duration','send','CollaborationEvent','size','_unitInfo$','InsertSheetMutation','[SyncedState]:\x20received\x20rejection.','_process','_collaborationSessionService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','crypto','_onConnectionOpen','routeKey','c1Prime','MergeInterceptorFactory','loadOfflineData','objectType','onCommentUpdate','rng','_getRedoStack','__Key__','ENSURE_SNAPSHOT_EXECUTION','getImage','removeMember','/-/object/-/batch_allowed','addHandlerCallback','localCacheService','INVALID_INVITE_CODE','LOCAL_CACHE_INTERVAL','_updateLocalCache','_pendingMutations','DocCollaborationEntity','IUniverInstanceService','push','getImageSourceCache','status$','connection\x20error','toggleOffline','[PendingState]:\x20received\x20acknowledgement.','getWorkbookSelections','actions','onRemoteRej','CollaborationStatus','12941522BiUVNF','status','_doCreateSocket','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','RxDisposable','liveShareNewHost','serializeCombRequest','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_entities','max','reset','_registerDependencies','_status$','_waitForHeartbeatResponse','collabSubmitChangesetUrl','ICommandService','_data','_loadSheet','LocaleService','_transformRemoteChangesetByStateCache','updateCollaborator','submit\x20changeset\x20error!','fetchThroughInterceptors','updatePermissionPoint','toStringTag','MentionIoHttpService','src','HmacSHA1','_transformService','SYNCED','_showConflictNotification','_syncEditingCollabCursor','unitInfo$','_sender','_prevBlock','GLOBAL_ROOMS_CNT_EXCEEDS','generateRandomId','HEARTBEAT_INTERVAL','fetching\x20missing\x20changesets\x20from\x20','message$','randomBytes','UNIVER_SHEET','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getGlobalObject','_collabSessionService','/block/','DependentOn','UnitEmbedded','CONNECTOR_DATA_TOO_LARGE','onTransformRemoteChangesetByStateCache','CollaborativeUndoRedoService','Rectangle','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Latin1','&assign=','collaborators','delay','_socketMessageSubscription','_iKey','_onRecvEvent','\x20-\x20','getSheetBlock','UniverInstanceType','_getAPIPrefixPath','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','2480034KsuZbF','USERS_ENTER','permissionRejEvent','CommentService','_createInitialState','CHANGESET_REJ','collaboration-client.config','decryptBlock','collaboration-client.local-cache-service','ONLINE','loginUrlKey','_changesetReqId','/universer-api/stream/file/upload','_onUserJoin','_onFetchMissResult','_stopTelemetryCollaborationNewChangeset','PERSON','_instanceService','type','finalize','OTHER_CLIENT_EDITING','CLOSE_ROOM'];_0x370a=function(){return _0x255c4a;};return _0x370a();}function Ki(){var _0x591061=_0x45aab2;return st||(st=0x1,function(_0x245929,_0x50d103){(function(_0x19566f,_0x1308d3,_0x2657f5){var _0x21de3e=_0x5692;_0x245929[_0x21de3e(0x25f)]=_0x1308d3(ee(),Dt(),Hi(),At(),Pt());}(Gi,function(_0x57fc9c){var _0x54af4e=_0x5692;return(function(){var _0x2c410b=_0x5692,_0xf6ead1=_0x57fc9c,_0x40657a=_0xf6ead1[_0x2c410b(0x440)],_0x37c910=_0x40657a['BlockCipher'],_0x1b49a9=_0xf6ead1['algo'],_0xa3a46a=[],_0x377826=[],_0x45f907=[],_0x13513b=[],_0x2e024f=[],_0x1bd8d9=[],_0x525284=[],_0x15acbd=[],_0xbb2075=[],_0x2c9580=[];(function(){for(var _0x2642b5=[],_0x5628df=0x0;_0x5628df<0x100;_0x5628df++)_0x5628df<0x80?_0x2642b5[_0x5628df]=_0x5628df<<0x1:_0x2642b5[_0x5628df]=_0x5628df<<0x1^0x11b;for(var _0x1f9e13=0x0,_0x305a3a=0x0,_0x5628df=0x0;_0x5628df<0x100;_0x5628df++){var _0x473cdb=_0x305a3a^_0x305a3a<<0x1^_0x305a3a<<0x2^_0x305a3a<<0x3^_0x305a3a<<0x4;_0x473cdb=_0x473cdb>>>0x8^_0x473cdb&0xff^0x63,_0xa3a46a[_0x1f9e13]=_0x473cdb,_0x377826[_0x473cdb]=_0x1f9e13;var _0x4659c9=_0x2642b5[_0x1f9e13],_0x20d39b=_0x2642b5[_0x4659c9],_0x3cd93d=_0x2642b5[_0x20d39b],_0x17e868=_0x2642b5[_0x473cdb]*0x101^_0x473cdb*0x1010100;_0x45f907[_0x1f9e13]=_0x17e868<<0x18|_0x17e868>>>0x8,_0x13513b[_0x1f9e13]=_0x17e868<<0x10|_0x17e868>>>0x10,_0x2e024f[_0x1f9e13]=_0x17e868<<0x8|_0x17e868>>>0x18,_0x1bd8d9[_0x1f9e13]=_0x17e868;var _0x17e868=_0x3cd93d*0x1010101^_0x20d39b*0x10001^_0x4659c9*0x101^_0x1f9e13*0x1010100;_0x525284[_0x473cdb]=_0x17e868<<0x18|_0x17e868>>>0x8,_0x15acbd[_0x473cdb]=_0x17e868<<0x10|_0x17e868>>>0x10,_0xbb2075[_0x473cdb]=_0x17e868<<0x8|_0x17e868>>>0x18,_0x2c9580[_0x473cdb]=_0x17e868,_0x1f9e13?(_0x1f9e13=_0x4659c9^_0x2642b5[_0x2642b5[_0x2642b5[_0x3cd93d^_0x4659c9]]],_0x305a3a^=_0x2642b5[_0x2642b5[_0x305a3a]]):_0x1f9e13=_0x305a3a=0x1;}}());var _0x5b0919=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x14e3d8=_0x1b49a9[_0x2c410b(0x3c5)]=_0x37c910['extend']({'_doReset':function(){var _0x55a1df=_0x2c410b,_0x2851e8;if(!(this['_nRounds']&&this[_0x55a1df(0x2ae)]===this[_0x55a1df(0x2af)])){for(var _0x4cf047=this[_0x55a1df(0x2ae)]=this[_0x55a1df(0x2af)],_0x4b4c7e=_0x4cf047[_0x55a1df(0x33e)],_0x50db4d=_0x4cf047[_0x55a1df(0x466)]/0x4,_0x8bd3f=this[_0x55a1df(0x4d7)]=_0x50db4d+0x6,_0x1a784a=(_0x8bd3f+0x1)*0x4,_0x3f4700=this[_0x55a1df(0x4d4)]=[],_0xf7324d=0x0;_0xf7324d<_0x1a784a;_0xf7324d++)_0xf7324d<_0x50db4d?_0x3f4700[_0xf7324d]=_0x4b4c7e[_0xf7324d]:(_0x2851e8=_0x3f4700[_0xf7324d-0x1],_0xf7324d%_0x50db4d?_0x50db4d>0x6&&_0xf7324d%_0x50db4d==0x4&&(_0x2851e8=_0xa3a46a[_0x2851e8>>>0x18]<<0x18|_0xa3a46a[_0x2851e8>>>0x10&0xff]<<0x10|_0xa3a46a[_0x2851e8>>>0x8&0xff]<<0x8|_0xa3a46a[_0x2851e8&0xff]):(_0x2851e8=_0x2851e8<<0x8|_0x2851e8>>>0x18,_0x2851e8=_0xa3a46a[_0x2851e8>>>0x18]<<0x18|_0xa3a46a[_0x2851e8>>>0x10&0xff]<<0x10|_0xa3a46a[_0x2851e8>>>0x8&0xff]<<0x8|_0xa3a46a[_0x2851e8&0xff],_0x2851e8^=_0x5b0919[_0xf7324d/_0x50db4d|0x0]<<0x18),_0x3f4700[_0xf7324d]=_0x3f4700[_0xf7324d-_0x50db4d]^_0x2851e8);for(var _0x3b21dc=this[_0x55a1df(0x1e6)]=[],_0xf1a81=0x0;_0xf1a81<_0x1a784a;_0xf1a81++){var _0xf7324d=_0x1a784a-_0xf1a81;if(_0xf1a81%0x4)var _0x2851e8=_0x3f4700[_0xf7324d];else var _0x2851e8=_0x3f4700[_0xf7324d-0x4];_0xf1a81<0x4||_0xf7324d<=0x4?_0x3b21dc[_0xf1a81]=_0x2851e8:_0x3b21dc[_0xf1a81]=_0x525284[_0xa3a46a[_0x2851e8>>>0x18]]^_0x15acbd[_0xa3a46a[_0x2851e8>>>0x10&0xff]]^_0xbb2075[_0xa3a46a[_0x2851e8>>>0x8&0xff]]^_0x2c9580[_0xa3a46a[_0x2851e8&0xff]];}}},'encryptBlock':function(_0x4b15f5,_0x2fcb47){var _0x47b86a=_0x2c410b;this[_0x47b86a(0x512)](_0x4b15f5,_0x2fcb47,this[_0x47b86a(0x4d4)],_0x45f907,_0x13513b,_0x2e024f,_0x1bd8d9,_0xa3a46a);},'decryptBlock':function(_0x49dc2b,_0x294c23){var _0x16fe4f=_0x2c410b,_0x4dbbea=_0x49dc2b[_0x294c23+0x1];_0x49dc2b[_0x294c23+0x1]=_0x49dc2b[_0x294c23+0x3],_0x49dc2b[_0x294c23+0x3]=_0x4dbbea,this[_0x16fe4f(0x512)](_0x49dc2b,_0x294c23,this[_0x16fe4f(0x1e6)],_0x525284,_0x15acbd,_0xbb2075,_0x2c9580,_0x377826);var _0x4dbbea=_0x49dc2b[_0x294c23+0x1];_0x49dc2b[_0x294c23+0x1]=_0x49dc2b[_0x294c23+0x3],_0x49dc2b[_0x294c23+0x3]=_0x4dbbea;},'_doCryptBlock':function(_0x3719d0,_0x43c876,_0xf5f101,_0x5101b8,_0xe7903b,_0x230e9d,_0x132c34,_0x491b69){var _0x59f32b=_0x2c410b;for(var _0x42fba4=this[_0x59f32b(0x4d7)],_0x289e56=_0x3719d0[_0x43c876]^_0xf5f101[0x0],_0xee0fd3=_0x3719d0[_0x43c876+0x1]^_0xf5f101[0x1],_0x84e971=_0x3719d0[_0x43c876+0x2]^_0xf5f101[0x2],_0x5e0e97=_0x3719d0[_0x43c876+0x3]^_0xf5f101[0x3],_0x6922a5=0x4,_0x389f66=0x1;_0x389f66<_0x42fba4;_0x389f66++){var _0x5f2a39=_0x5101b8[_0x289e56>>>0x18]^_0xe7903b[_0xee0fd3>>>0x10&0xff]^_0x230e9d[_0x84e971>>>0x8&0xff]^_0x132c34[_0x5e0e97&0xff]^_0xf5f101[_0x6922a5++],_0x47b238=_0x5101b8[_0xee0fd3>>>0x18]^_0xe7903b[_0x84e971>>>0x10&0xff]^_0x230e9d[_0x5e0e97>>>0x8&0xff]^_0x132c34[_0x289e56&0xff]^_0xf5f101[_0x6922a5++],_0x45836a=_0x5101b8[_0x84e971>>>0x18]^_0xe7903b[_0x5e0e97>>>0x10&0xff]^_0x230e9d[_0x289e56>>>0x8&0xff]^_0x132c34[_0xee0fd3&0xff]^_0xf5f101[_0x6922a5++],_0x49bd6f=_0x5101b8[_0x5e0e97>>>0x18]^_0xe7903b[_0x289e56>>>0x10&0xff]^_0x230e9d[_0xee0fd3>>>0x8&0xff]^_0x132c34[_0x84e971&0xff]^_0xf5f101[_0x6922a5++];_0x289e56=_0x5f2a39,_0xee0fd3=_0x47b238,_0x84e971=_0x45836a,_0x5e0e97=_0x49bd6f;}var _0x5f2a39=(_0x491b69[_0x289e56>>>0x18]<<0x18|_0x491b69[_0xee0fd3>>>0x10&0xff]<<0x10|_0x491b69[_0x84e971>>>0x8&0xff]<<0x8|_0x491b69[_0x5e0e97&0xff])^_0xf5f101[_0x6922a5++],_0x47b238=(_0x491b69[_0xee0fd3>>>0x18]<<0x18|_0x491b69[_0x84e971>>>0x10&0xff]<<0x10|_0x491b69[_0x5e0e97>>>0x8&0xff]<<0x8|_0x491b69[_0x289e56&0xff])^_0xf5f101[_0x6922a5++],_0x45836a=(_0x491b69[_0x84e971>>>0x18]<<0x18|_0x491b69[_0x5e0e97>>>0x10&0xff]<<0x10|_0x491b69[_0x289e56>>>0x8&0xff]<<0x8|_0x491b69[_0xee0fd3&0xff])^_0xf5f101[_0x6922a5++],_0x49bd6f=(_0x491b69[_0x5e0e97>>>0x18]<<0x18|_0x491b69[_0x289e56>>>0x10&0xff]<<0x10|_0x491b69[_0xee0fd3>>>0x8&0xff]<<0x8|_0x491b69[_0x84e971&0xff])^_0xf5f101[_0x6922a5++];_0x3719d0[_0x43c876]=_0x5f2a39,_0x3719d0[_0x43c876+0x1]=_0x47b238,_0x3719d0[_0x43c876+0x2]=_0x45836a,_0x3719d0[_0x43c876+0x3]=_0x49bd6f;},'keySize':0x100/0x20});_0xf6ead1[_0x2c410b(0x3c5)]=_0x37c910[_0x2c410b(0x231)](_0x14e3d8);}()),_0x57fc9c[_0x54af4e(0x3c5)];}));}(fe)),fe[_0x591061(0x25f)];}var Yi=Ki();const qi=Se(Yi);var zi=Dt();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x45aab2(0x25f)],at;function Xi(){var _0x20c586=_0x45aab2;return at||(at=0x1,function(_0x533f18,_0x27ee0e){(function(_0x11139f,_0xe1e44a){var _0x3d35c5=_0x5692;_0x533f18[_0x3d35c5(0x25f)]=_0xe1e44a(ee());}(Ji,function(_0x24f91a){var _0x2beb82=_0x5692;return _0x24f91a[_0x2beb82(0x20b)][_0x2beb82(0x46b)];}));}(be)),be[_0x20c586(0x25f)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x45aab2(0x25f)],ct;function tn(){var _0x12537a=_0x45aab2;return ct||(ct=0x1,function(_0x4b1318,_0x18f7e9){(function(_0x2dbb14,_0x1b4683){var _0x122702=_0x5692;_0x4b1318[_0x122702(0x25f)]=_0x1b4683(ee());}(en,function(_0x6a8395){var _0x2bb495=_0x5692;return(function(){var _0x2c83d1=_0x5692;if(typeof ArrayBuffer=='function'){var _0x3c399c=_0x6a8395,_0x5dfd6a=_0x3c399c[_0x2c83d1(0x440)],_0x52c286=_0x5dfd6a[_0x2c83d1(0x43c)],_0x1720f0=_0x52c286[_0x2c83d1(0x2dc)],_0x2d555e=_0x52c286[_0x2c83d1(0x2dc)]=function(_0x5b9a21){var _0x39d050=_0x2c83d1;if(_0x5b9a21 instanceof ArrayBuffer&&(_0x5b9a21=new Uint8Array(_0x5b9a21)),(_0x5b9a21 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5b9a21 instanceof Uint8ClampedArray||_0x5b9a21 instanceof Int16Array||_0x5b9a21 instanceof Uint16Array||_0x5b9a21 instanceof Int32Array||_0x5b9a21 instanceof Uint32Array||_0x5b9a21 instanceof Float32Array||_0x5b9a21 instanceof Float64Array)&&(_0x5b9a21=new Uint8Array(_0x5b9a21['buffer'],_0x5b9a21[_0x39d050(0x3c2)],_0x5b9a21[_0x39d050(0x2df)])),_0x5b9a21 instanceof Uint8Array){for(var _0x45e29c=_0x5b9a21['byteLength'],_0x594319=[],_0x26b732=0x0;_0x26b732<_0x45e29c;_0x26b732++)_0x594319[_0x26b732>>>0x2]|=_0x5b9a21[_0x26b732]<<0x18-_0x26b732%0x4*0x8;_0x1720f0[_0x39d050(0x27b)](this,_0x594319,_0x45e29c);}else _0x1720f0[_0x39d050(0x48e)](this,arguments);};_0x2d555e[_0x2c83d1(0x2e1)]=_0x52c286;}}()),_0x6a8395[_0x2bb495(0x440)]['WordArray'];}));}(Re)),Re[_0x12537a(0x25f)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x45aab2(0x25f)],ht;function on(){var _0x1faaae=_0x45aab2;return ht||(ht=0x1,function(_0x5201c4,_0x1b15be){(function(_0x9ab689,_0x32737e,_0x481d13){var _0x2a15c0=_0x5692;_0x5201c4[_0x2a15c0(0x25f)]=_0x32737e(ee(),Pt());}(sn,function(_0x36faf9){var _0x5dc135=_0x5692;return _0x36faf9[_0x5dc135(0x486)][_0x5dc135(0x3cc)]={'pad':function(){},'unpad':function(){}},_0x36faf9[_0x5dc135(0x486)]['NoPadding'];}));}(Oe)),Oe[_0x1faaae(0x25f)];}var an=on();const cn=Se(an);function hn(_0x377ba4,_0x58e4d4){var _0x47a91c=_0x45aab2;const _0x4f8e79=_0x58e4d4-_0x377ba4[_0x47a91c(0x1ef)]%_0x58e4d4,_0x473516=String['fromCharCode'](_0x4f8e79)[_0x47a91c(0x31a)](_0x4f8e79);return _0x377ba4+_0x473516;}function _n(_0x53347e,_0x7eab31){var _0x39024e=_0x45aab2;const _0x4bcebb=rn[_0x39024e(0x42f)](0x10),_0x48f8b5=hn(_0x53347e,0x10),_0x2361b7=qi[_0x39024e(0x524)](Qi[_0x39024e(0x417)](_0x48f8b5),ot[_0x39024e(0x417)](_0x7eab31),{'iv':_0x4bcebb,'padding':cn});return _0x4bcebb[_0x39024e(0x276)](_0x2361b7[_0x39024e(0x3f8)])[_0x39024e(0x31e)](ot);}function ln(){var _0xc455bd=_0x45aab2;const _0xce21a4=xt[_0xc455bd(0x395)]()[_0xc455bd(0x353)];if(_0xce21a4){const _0x49e479={'time':Math[_0xc455bd(0x2ea)](Date[_0xc455bd(0x1c2)]()/0x3e8),'domain':location[_0xc455bd(0x205)]};return _n(JSON[_0xc455bd(0x2a7)](_0x49e479),_0xce21a4);}}var un=Object[_0x45aab2(0x47b)],dn=(_0x17c089,_0x37d2cc,_0x5d8aa6,_0xd6123a)=>{var _0x125f91=_0x45aab2;for(var _0x1f336f=_0xd6123a>0x1?void 0x0:_0xd6123a?un(_0x37d2cc,_0x5d8aa6):_0x37d2cc,_0x31e928=_0x17c089[_0x125f91(0x1ef)]-0x1,_0x591410;_0x31e928>=0x0;_0x31e928--)(_0x591410=_0x17c089[_0x31e928])&&(_0x1f336f=_0x591410(_0x1f336f)||_0x1f336f);return _0x1f336f;},vn=(_0x240917,_0x4e2e4a)=>(_0x5fcdaf,_0x58b6c9)=>_0x4e2e4a(_0x5fcdaf,_0x58b6c9,_0x240917);let Ne=class{constructor(_0x123465){var _0x2b7943=_0x45aab2;this[_0x2b7943(0x287)]=_0x123465,this[_0x2b7943(0x3c7)]();}['_initRequestHeader'](){var _0x24130c=_0x45aab2;this[_0x24130c(0x287)][_0x24130c(0x4af)]({'interceptor':(_0x20c75e,_0x3f2b00)=>{var _0x55c271=_0x24130c;const _0x3a6b95=_0x20c75e['headers'],_0x4ff5ce=ln();return _0x4ff5ce&&_0x3a6b95[_0x55c271(0x321)](_0x55c271(0x22d),_0x4ff5ce),_0x3f2b00(_0x20c75e);}});}};Ne=dn([vn(0x0,a[_0x45aab2(0x46d)](q[_0x45aab2(0x261)]))],Ne);var Sn=Object[_0x45aab2(0x47b)],fn=(_0x1ddab0,_0x485fb6,_0x4af572,_0x228b0d)=>{var _0x3f0a9a=_0x45aab2;for(var _0x3be14e=_0x228b0d>0x1?void 0x0:_0x228b0d?Sn(_0x485fb6,_0x4af572):_0x485fb6,_0x4c3b7f=_0x1ddab0[_0x3f0a9a(0x1ef)]-0x1,_0xe109eb;_0x4c3b7f>=0x0;_0x4c3b7f--)(_0xe109eb=_0x1ddab0[_0x4c3b7f])&&(_0x3be14e=_0xe109eb(_0x3be14e)||_0x3be14e);return _0x3be14e;},Me=(_0x5f183d,_0x33ee8b)=>(_0x34904d,_0x1632d3)=>_0x33ee8b(_0x34904d,_0x1632d3,_0x5f183d);exports[_0x45aab2(0x29e)]=class extends a[_0x45aab2(0x36e)]{constructor(_0x4fd660,_0x1c9816,_0x12cd99){var _0xa076ef=_0x45aab2;super(),A(this,_0xa076ef(0x343),new j['BehaviorSubject'](null)),A(this,_0xa076ef(0x38a),this[_0xa076ef(0x343)][_0xa076ef(0x3fb)]()),(this[_0xa076ef(0x2e8)]=_0x4fd660,this[_0xa076ef(0x305)]=_0x1c9816,this[_0xa076ef(0x2d7)]=_0x12cd99);}async[_0x45aab2(0x3cf)](_0x41b90f,_0x18d342,_0xfcd967){var _0x54f00d=_0x45aab2;this[_0x54f00d(0x343)][_0x54f00d(0x505)]({'unitId':_0x41b90f,'type':_0x18d342,'subUnitId':_0xfcd967});let _0x115b1a=null;switch(_0x18d342){case X[_0x54f00d(0x393)]:{_0x115b1a=await this['_loadSheet'](_0x41b90f);break;}case X[_0x54f00d(0x42a)]:{_0x115b1a=await this[_0x54f00d(0x1b1)](_0x41b90f);break;}default:{this[_0x54f00d(0x2e8)]['error'](_0x54f00d(0x2bf),_0x54f00d(0x1f1));break;}}return _0x115b1a;}async[_0x45aab2(0x37b)](_0x337eb8){var _0xf7f356=_0x45aab2,_0x495677;let _0xfe81e1=0x0;const _0x16610b=await((_0x495677=this['_localCacheService'])==null?void 0x0:_0x495677['loadOfflineData'](_0x337eb8));return _0x16610b&&(_0x16610b[_0xf7f356(0x323)]||_0x16610b[_0xf7f356(0x41d)]['length']!==0x0)&&(_0xfe81e1=_0x16610b['rev']),_0xfe81e1===0x0&&this[_0xf7f356(0x2e8)][_0xf7f356(0x4a8)]('[DataLoaderService]',_0xf7f356(0x238)),this['_snapshotService'][_0xf7f356(0x311)](_0x337eb8,_0xfe81e1);}async['_loadDoc'](_0x54162b){var _0x2ae342=_0x45aab2,_0x4e8c69;let _0x576857=0x0;const _0x441b2e=await((_0x4e8c69=this[_0x2ae342(0x2d7)])==null?void 0x0:_0x4e8c69[_0x2ae342(0x34e)](_0x54162b));return _0x441b2e&&(_0x441b2e[_0x2ae342(0x323)]||_0x441b2e['mutations'][_0x2ae342(0x1ef)]!==0x0)&&(_0x576857=_0x441b2e['rev']),_0x576857===0x0&&this[_0x2ae342(0x2e8)][_0x2ae342(0x4a8)](_0x2ae342(0x2bf),_0x2ae342(0x238)),this[_0x2ae342(0x305)][_0x2ae342(0x495)](_0x54162b,_0x576857);}},exports[_0x45aab2(0x29e)]=fn([Me(0x0,a['ILogService']),Me(0x1,a['Inject'](g['SnapshotService'])),Me(0x2,a[_0x45aab2(0x288)](z))],exports[_0x45aab2(0x29e)]);var pn=Object[_0x45aab2(0x47b)],gn=(_0x36ec93,_0x4c2114,_0x26728d,_0x4ee7a7)=>{for(var _0x374706=_0x4ee7a7>0x1?void 0x0:_0x4ee7a7?pn(_0x4c2114,_0x26728d):_0x4c2114,_0x1db089=_0x36ec93['length']-0x1,_0x2ecff4;_0x1db089>=0x0;_0x1db089--)(_0x2ecff4=_0x36ec93[_0x1db089])&&(_0x374706=_0x2ecff4(_0x374706)||_0x374706);return _0x374706;},xe=(_0x2aed80,_0xd002a5)=>(_0x398e6f,_0x165307)=>_0xd002a5(_0x398e6f,_0x165307,_0x2aed80);const In=['image/png','image/jpeg','image/jpg',_0x45aab2(0x474),_0x45aab2(0x41b)],mn=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn=_0x45aab2(0x3b7),Tn=_0x45aab2(0x2bc),bn='/universer-api/file/{fileID}/sign-url';exports[_0x45aab2(0x41a)]=class{constructor(_0x56fe01,_0x5ce444,_0x9caea6){var _0x362b73=_0x45aab2;A(this,_0x362b73(0x2b0),0x0),A(this,_0x362b73(0x2d3),new j[(_0x362b73(0x3d1))]()),A(this,_0x362b73(0x2a0),this[_0x362b73(0x2d3)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x56fe01,this['_configService']=_0x5ce444,this[_0x362b73(0x20c)]=_0x9caea6);}[_0x45aab2(0x2ff)](_0x196abe){var _0x30206a=_0x45aab2;this['_waitCount']=_0x196abe,this[_0x30206a(0x2d3)][_0x30206a(0x505)](_0x196abe);}[_0x45aab2(0x361)](_0x548872,_0x48ff51){var _0x2071e2=_0x45aab2;if(_0x48ff51===J[_0x2071e2(0x416)][_0x2071e2(0x299)]){const _0x4f3c48=new Image();return _0x4f3c48[_0x2071e2(0x384)]=_0x548872,_0x4f3c48;}return this[_0x2071e2(0x2eb)][_0x2071e2(0x2d5)](_0x548872);}[_0x45aab2(0x446)](_0x1b2f49,_0xd5aebe,_0x1200f6){var _0x1e632e=_0x45aab2;_0xd5aebe===J[_0x1e632e(0x416)]['BASE64']||_0x1200f6==null||this[_0x1e632e(0x2eb)][_0x1e632e(0x321)](_0x1b2f49,_0x1200f6);}async[_0x45aab2(0x355)](_0x2143cc){var _0x217414=_0x45aab2;try{const _0x4a47ce=this[_0x217414(0x30a)](this['_getSignURL'](),''+_0x2143cc),_0x26b54a=(await this[_0x217414(0x287)][_0x217414(0x2d5)](_0x4a47ce))[_0x217414(0x520)];if(_0x26b54a[_0x217414(0x4b4)]&&_0x26b54a['error'][_0x217414(0x1fb)]===Ct['OK']){const _0x2530b4=new URL(_0x26b54a['url'],this[_0x217414(0x45e)]())['toString']();return Promise['resolve'](_0x2530b4);}return Promise[_0x217414(0x2f3)](_0x26b54a[_0x217414(0x4b4)]);}catch(_0x1cfe9c){return Promise[_0x217414(0x2f3)](_0x1cfe9c);}}async['saveImage'](_0x2597ac){var _0x457652=_0x45aab2;let _0x4ca1c8='';if(!In[_0x457652(0x264)](_0x2597ac[_0x457652(0x3bd)]))return this[_0x457652(0x492)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x457652(0x4ba)]));if(_0x2597ac[_0x457652(0x342)]>mn)return this[_0x457652(0x492)](),Promise['reject'](new Error(J['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x310063=new FormData();_0x310063['append']('file',_0x2597ac);const _0x22a048=this['_univerInstanceService'][_0x457652(0x509)](),_0x5469ac=_0x22a048==null?void 0x0:_0x22a048[_0x457652(0x1ea)]();if(!_0x5469ac)throw new Error(_0x457652(0x523));const _0xbcfd60=this[_0x457652(0x2f4)]()+_0x457652(0x2d0)+_0x2597ac[_0x457652(0x342)][_0x457652(0x31e)]()+_0x457652(0x1be)+Tt['UnitEmbedded']+_0x457652(0x3a0)+encodeURIComponent(_0x5469ac),_0x3a9364={'body':_0x310063},_0x2b6ccb=(await this['_httpService']['post'](_0xbcfd60,_0x3a9364))['body'];if(typeof _0x2b6ccb[_0x457652(0x463)]!=_0x457652(0x4d2))return this[_0x457652(0x492)](),Promise[_0x457652(0x2f3)](new Error(J[_0x457652(0x502)]['ERROR_IMAGE']));_0x4ca1c8=_0x2b6ccb[_0x457652(0x463)];}catch{return this[_0x457652(0x492)](),Promise[_0x457652(0x2f3)](new Error(J[_0x457652(0x502)][_0x457652(0x286)]));}return new Promise((_0x4e3a7e,_0x4f88d0)=>{var _0x760804=_0x457652;const _0x8efe0e=new FileReader();_0x8efe0e[_0x760804(0x4e3)](_0x2597ac),_0x8efe0e[_0x760804(0x251)]=_0x46e7c5=>{var _0x1c947a=_0x760804,_0x5c4797;const _0x18b580=(_0x5c4797=_0x46e7c5[_0x1c947a(0x1e8)])==null?void 0x0:_0x5c4797['result'];if(_0x18b580==null){this[_0x1c947a(0x492)](),_0x4f88d0(new Error(J[_0x1c947a(0x502)][_0x1c947a(0x286)]));return;}const _0x893f11=a[_0x1c947a(0x44a)][_0x1c947a(0x38e)](0x6);_0x4e3a7e({'imageId':_0x893f11,'imageSourceType':J['ImageSourceType'][_0x1c947a(0x4a2)],'source':_0x4ca1c8,'base64Cache':_0x18b580,'status':J[_0x1c947a(0x502)]['SUCCUSS']}),this[_0x1c947a(0x492)]();};});}[_0x45aab2(0x2f4)](){var _0x1bfc6c=_0x45aab2,_0x350be6,_0x49c0ee;const _0x3e6f1d=this[_0x1bfc6c(0x1cb)][_0x1bfc6c(0x28d)](En),_0x137ff6=this['_configService'][_0x1bfc6c(0x28d)](Y);return(_0x49c0ee=(_0x350be6=_0x137ff6==null?void 0x0:_0x137ff6[_0x1bfc6c(0x4ae)])!=null?_0x350be6:_0x3e6f1d)!=null?_0x49c0ee:Cn;}['_getSignURL'](){var _0x326a75=_0x45aab2,_0x21ad90,_0x125b32;const _0xa027b2=this[_0x326a75(0x1cb)][_0x326a75(0x28d)](Tn),_0x490c34=this[_0x326a75(0x1cb)][_0x326a75(0x28d)](Y);return(_0x125b32=(_0x21ad90=_0x490c34==null?void 0x0:_0x490c34[_0x326a75(0x274)])!=null?_0x21ad90:_0xa027b2)!=null?_0x125b32:bn;}[_0x45aab2(0x45e)](){var _0x24cce4=_0x45aab2,_0x487ac6;const _0xcea784=this[_0x24cce4(0x1cb)]['getConfig'](Y);return(_0x487ac6=_0xcea784==null?void 0x0:_0xcea784[_0x24cce4(0x522)])!=null?_0x487ac6:location[_0x24cce4(0x3de)];}[_0x45aab2(0x30a)](_0x4415ff,_0x35efb7){var _0x56fb82=_0x45aab2;return _0x4415ff[_0x56fb82(0x29a)]('{fileID}',_0x35efb7);}[_0x45aab2(0x492)](){var _0x21f685=_0x45aab2;this['_waitCount']-=0x1,this[_0x21f685(0x2d3)][_0x21f685(0x505)](this[_0x21f685(0x2b0)]);}},exports[_0x45aab2(0x41a)]=gn([xe(0x0,a[_0x45aab2(0x46d)](q['HTTPService'])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x45aab2(0x46d)](a[_0x45aab2(0x35f)]))],exports[_0x45aab2(0x41a)]);var Rn=Object[_0x45aab2(0x47b)],On=(_0x3b8004,_0xdcba4a,_0x2f585d,_0x595190)=>{var _0x23fb23=_0x45aab2;for(var _0x32ed7a=_0x595190>0x1?void 0x0:_0x595190?Rn(_0xdcba4a,_0x2f585d):_0xdcba4a,_0x10a9fc=_0x3b8004[_0x23fb23(0x1ef)]-0x1,_0x18d55d;_0x10a9fc>=0x0;_0x10a9fc--)(_0x18d55d=_0x3b8004[_0x10a9fc])&&(_0x32ed7a=_0x18d55d(_0x32ed7a)||_0x32ed7a);return _0x32ed7a;},_t=(_0x47925e,_0x118062)=>(_0xb29dea,_0x2a467b)=>_0x118062(_0xb29dea,_0x2a467b,_0x47925e);const yn='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x346803,_0x590ca3){var _0x45e61f=_0x45aab2;this[_0x45e61f(0x1cb)]=_0x346803,this['_HTTPService']=_0x590ca3;}[_0x45aab2(0x3a9)](){var _0x3a8004=_0x45aab2,_0xf0b9d3,_0xff8df5;const _0x225cc5=this[_0x3a8004(0x1cb)][_0x3a8004(0x28d)](Ge),_0x1bfc4c=this[_0x3a8004(0x1cb)]['getConfig'](Y);return(_0xff8df5=(_0xf0b9d3=_0x1bfc4c==null?void 0x0:_0x1bfc4c[_0x3a8004(0x507)])!=null?_0xf0b9d3:_0x225cc5)!=null?_0xff8df5:yn;}async[_0x45aab2(0x29b)](_0x3f2e4c){var _0x2c8edd=_0x45aab2;const _0x147c04=this[_0x2c8edd(0x3a9)]()+'/collaborator';return{'list':[{'title':_0x2c8edd(0x271),'mentions':(await this[_0x2c8edd(0x47d)]['get'](_0x147c04,{'params':{'objectID':_0x3f2e4c[_0x2c8edd(0x4bd)],'unitID':_0x3f2e4c[_0x2c8edd(0x4bd)]}}))[_0x2c8edd(0x520)][_0x2c8edd(0x3a1)][_0x2c8edd(0x309)](_0xa19429=>({'objectId':_0xa19429['id'],'name':_0xa19429[_0x2c8edd(0x2cb)][_0x2c8edd(0x209)],'metadata':{'icon':_0xa19429[_0x2c8edd(0x2cb)][_0x2c8edd(0x3d8)]},'label':_0xa19429[_0x2c8edd(0x2cb)][_0x2c8edd(0x209)],'objectType':a[_0x2c8edd(0x23f)][_0x2c8edd(0x3bb)]})),'metadata':{},'type':a[_0x2c8edd(0x23f)][_0x2c8edd(0x3bb)]}]};}},exports[_0x45aab2(0x383)]=On([_t(0x0,a['Inject'](a['IConfigService'])),_t(0x1,a['Inject'](q['HTTPService']))],exports[_0x45aab2(0x383)]);var Nn=Object['getOwnPropertyDescriptor'],Un=(_0x458bba,_0x5eef3f,_0x55b70b,_0x3939a9)=>{var _0x682c3f=_0x45aab2;for(var _0x98a700=_0x3939a9>0x1?void 0x0:_0x3939a9?Nn(_0x5eef3f,_0x55b70b):_0x5eef3f,_0x361200=_0x458bba[_0x682c3f(0x1ef)]-0x1,_0x244c08;_0x361200>=0x0;_0x361200--)(_0x244c08=_0x458bba[_0x361200])&&(_0x98a700=_0x244c08(_0x98a700)||_0x98a700);return _0x98a700;},ue=(_0xdd6fe4,_0x17ea86)=>(_0x2bafa4,_0x46ba70)=>_0x17ea86(_0x2bafa4,_0x46ba70,_0xdd6fe4);let Ue=class extends a[_0x45aab2(0x36e)]{constructor(_0x4aa569,_0x46674e,_0x4c5ce3,_0x473f98,_0x5819fe){var _0xf10fd4=_0x45aab2;super(),this[_0xf10fd4(0x4e7)]=_0x4aa569,this[_0xf10fd4(0x20c)]=_0x46674e,this[_0xf10fd4(0x317)]=_0x4c5ce3,this[_0xf10fd4(0x347)]=_0x473f98,this['_collaborationUIEventService']=_0x5819fe,this[_0xf10fd4(0x21d)](),this['_initCloseConn']();}[_0x45aab2(0x48d)](){var _0x543a17=_0x45aab2;const _0x43fcb3=async _0x4f70bf=>{var _0x52834b=_0x5692;(await this[_0x52834b(0x347)][_0x52834b(0x1e1)](_0x4f70bf))[_0x52834b(0x422)][_0x52834b(0x2ce)](V[_0x52834b(0x258)](_0x3b9cb7=>_0x3b9cb7[_0x52834b(0x301)]===g[_0x52834b(0x341)]['SHOULD_CLOSE_CONN']),V['takeUntil'](this[_0x52834b(0x4db)]))[_0x52834b(0x45f)](_0xa90c3e=>{var _0x3f73b9=_0x52834b;const _0x2bbbb8=_0xa90c3e,{reason:_0x5b85e1}=_0x2bbbb8[_0x3f73b9(0x444)];this[_0x3f73b9(0x229)][_0x3f73b9(0x29f)]({'id':Q[_0x3f73b9(0x3c0)],'data':_0x5b85e1}),this[_0x3f73b9(0x317)][_0x3f73b9(0x381)](new Z['WorkbookEditablePermission'](_0x4f70bf)['id'],!0x1),this[_0x3f73b9(0x347)][_0x3f73b9(0x46c)](_0x4f70bf);});};j[_0x543a17(0x46a)](this[_0x543a17(0x20c)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x543a17(0x393)]),this['_univerInstanceService'][_0x543a17(0x4b7)](a[_0x543a17(0x3a8)][_0x543a17(0x42a)]))[_0x543a17(0x2ce)](V[_0x543a17(0x309)](_0x5130d1=>_0x5130d1[_0x543a17(0x1ea)]()),V['filter'](_0x49dd9f=>!a[_0x543a17(0x4da)](_0x49dd9f)),V[_0x543a17(0x50c)](this[_0x543a17(0x4db)]))[_0x543a17(0x45f)](_0x2b4155=>{_0x43fcb3(_0x2b4155);});}['_initUnitPermissionChange'](){var _0x11abc4=_0x45aab2;const _0x33f6f7=async _0x3e8abd=>{var _0x384aeb=_0x5692;const _0x3e79b8=await this[_0x384aeb(0x347)][_0x384aeb(0x1e1)](_0x3e8abd),_0x4e6547=this[_0x384aeb(0x4e7)][_0x384aeb(0x2d5)](Z['SheetPermissionInitController']);_0x3e79b8[_0x384aeb(0x422)]['pipe'](V[_0x384aeb(0x258)](_0xec87d9=>_0xec87d9[_0x384aeb(0x301)]===g[_0x384aeb(0x341)][_0x384aeb(0x24a)]),V[_0x384aeb(0x50c)](this[_0x384aeb(0x4db)]))['subscribe'](_0x4ede48=>{var _0x46b8a4=_0x384aeb;const _0x2dd8ae=_0x4ede48,{objectId:_0x476afd}=_0x2dd8ae['data'];_0x476afd===_0x3e8abd?_0x4e6547['initWorkbookPermissionChange'](_0x3e8abd):_0x4e6547[_0x46b8a4(0x1ba)](_0x3e8abd,_0x476afd);});};j[_0x11abc4(0x46a)](this[_0x11abc4(0x20c)][_0x11abc4(0x4b7)](a[_0x11abc4(0x3a8)][_0x11abc4(0x393)]))[_0x11abc4(0x2ce)](V[_0x11abc4(0x309)](_0x4a99e0=>_0x4a99e0[_0x11abc4(0x1ea)]()),V['filter'](_0x3293bb=>!a[_0x11abc4(0x4da)](_0x3293bb)),V['takeUntil'](this[_0x11abc4(0x4db)]))[_0x11abc4(0x45f)](_0x999f70=>{_0x33f6f7(_0x999f70);});}};Ue=Un([ue(0x0,a[_0x45aab2(0x46d)](a[_0x45aab2(0x482)])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a[_0x45aab2(0x202)]),ue(0x3,a[_0x45aab2(0x46d)](exports[_0x45aab2(0x24d)])),ue(0x4,a[_0x45aab2(0x46d)](te))],Ue);var Dn=Object['getOwnPropertyDescriptor'],An=(_0x52f64d,_0xf404be,_0x42e4d3,_0x219529)=>{var _0x4630f7=_0x45aab2;for(var _0x53bcc8=_0x219529>0x1?void 0x0:_0x219529?Dn(_0xf404be,_0x42e4d3):_0xf404be,_0x29af2a=_0x52f64d[_0x4630f7(0x1ef)]-0x1,_0x1c4a10;_0x29af2a>=0x0;_0x29af2a--)(_0x1c4a10=_0x52f64d[_0x29af2a])&&(_0x53bcc8=_0x1c4a10(_0x53bcc8)||_0x53bcc8);return _0x53bcc8;},lt=(_0x58986f,_0x2c2a92)=>(_0x3786ec,_0x37b1f6)=>_0x2c2a92(_0x3786ec,_0x37b1f6,_0x58986f);exports[_0x45aab2(0x41f)]=class{constructor(_0x2c2b65,_0x2c7fc5){var _0x2d9b06=_0x45aab2;this[_0x2d9b06(0x1cb)]=_0x2c2b65,this[_0x2d9b06(0x287)]=_0x2c7fc5;}async[_0x45aab2(0x4ff)](_0x24be8f,_0x44fc0c){var _0x4ac3f4=_0x45aab2,_0x561c94;const {unitID:_0x3aa166,type:_0x332b4b,revision:_0x158f73=0x0}=_0x44fc0c,_0xa7f7e4=this[_0x4ac3f4(0x296)]()+'/'+_0x332b4b+'/unit/'+_0x3aa166+_0x4ac3f4(0x410)+_0x158f73,_0x11a1cf=(await this[_0x4ac3f4(0x287)][_0x4ac3f4(0x2d5)](_0xa7f7e4))[_0x4ac3f4(0x520)],_0x52b128=(_0x561c94=_0x11a1cf[_0x4ac3f4(0x454)])==null?void 0x0:_0x561c94['workbook'];if(_0x52b128){const _0x156e71=_0x52b128==null?void 0x0:_0x52b128['originalMeta'],_0x110868=g[_0x4ac3f4(0x234)]['encode'](g['b64DecodeUnicode'](_0x156e71));_0x52b128[_0x4ac3f4(0x1df)]=_0x110868,Object[_0x4ac3f4(0x4b8)](_0x52b128[_0x4ac3f4(0x40e)])[_0x4ac3f4(0x42b)](([,_0x3b130d])=>{var _0x3c532d=_0x4ac3f4;const _0x4c3510=_0x3b130d['originalMeta'],_0x1f331b=g[_0x3c532d(0x234)]['encode'](g[_0x3c532d(0x49d)](_0x4c3510));_0x3b130d[_0x3c532d(0x1df)]=_0x1f331b;});}return _0x11a1cf;}async[_0x45aab2(0x3a7)](_0x50225c,_0x123d7a){var _0xf19b5b=_0x45aab2;const {unitID:_0x1914ee,type:_0x166a15,blockID:_0x98dad2}=_0x123d7a,_0x59cec6=this[_0xf19b5b(0x3c4)]()+'/'+_0x166a15+_0xf19b5b(0x459)+_0x1914ee+_0xf19b5b(0x397)+_0x98dad2;return(await this[_0xf19b5b(0x287)][_0xf19b5b(0x2d5)](_0x59cec6))[_0xf19b5b(0x520)];}async['getDeserializedSheetBlock'](_0x5e986d,_0xb86f5){var _0x312caf=_0x45aab2;const {unitID:_0x47cdae,type:_0x4c8a92,blockID:_0x4dc808}=_0xb86f5,_0x496260=this[_0x312caf(0x3c4)]()+_0x312caf(0x397)+_0x4c8a92+_0x312caf(0x459)+_0x47cdae+_0x312caf(0x397)+_0x4dc808;return(await this[_0x312caf(0x287)][_0x312caf(0x2d5)](_0x496260))[_0x312caf(0x520)];}async[_0x45aab2(0x449)](_0xbe00ff,_0x2ab4f8){var _0x3f516f=_0x45aab2;const {unitID:_0x5b6c5b,type:_0xdc7cd6,from:_0x31b665,to:_0x254ff9}=_0x2ab4f8,_0xe53d6b=this[_0x3f516f(0x3c4)]()+'/'+_0xdc7cd6+_0x3f516f(0x459)+_0x5b6c5b+_0x3f516f(0x2bb)+_0x31b665+'&to='+_0x254ff9;return(await this[_0x3f516f(0x287)][_0x3f516f(0x2d5)](_0xe53d6b))[_0x3f516f(0x520)];}[_0x45aab2(0x296)](){var _0x2fc35d=_0x45aab2,_0x3a993;return(_0x3a993=this[_0x2fc35d(0x1cb)]['getConfig'](vt))!=null?_0x3a993:this[_0x2fc35d(0x3c4)]();}[_0x45aab2(0x3c4)](){var _0x54e0d8=_0x45aab2,_0x32883c,_0x42a834;const _0x53a2fe=this[_0x54e0d8(0x1cb)][_0x54e0d8(0x28d)](dt),_0x329206=this[_0x54e0d8(0x1cb)][_0x54e0d8(0x28d)](Y);return(_0x42a834=(_0x32883c=_0x329206==null?void 0x0:_0x329206[_0x54e0d8(0x51b)])!=null?_0x32883c:_0x53a2fe)!=null?_0x42a834:kt;}async[_0x45aab2(0x456)](_0x370126,_0xfa2b0c){var _0x1d08a6=_0x45aab2;const _0x4278cf=_0x1d08a6(0x24b)+_0xfa2b0c[_0x1d08a6(0x3bd)]+_0x1d08a6(0x459)+_0xfa2b0c[_0x1d08a6(0x479)]+_0x1d08a6(0x249);return(await this[_0x1d08a6(0x287)][_0x1d08a6(0x2d5)](_0x4278cf,{'params':{'resourceId':JSON['stringify'](_0xfa2b0c[_0x1d08a6(0x3e3)])}}))[_0x1d08a6(0x520)];}['saveSnapshot'](){var _0x599803=_0x45aab2;throw new Error(_0x599803(0x4c9));}[_0x45aab2(0x254)](){var _0x2e3d8a=_0x45aab2;throw new Error(_0x2e3d8a(0x4c9));}['saveChangeset'](){var _0x249be8=_0x45aab2;throw new Error(_0x249be8(0x4c9));}[_0x45aab2(0x246)](){var _0x213fdd=_0x45aab2;throw new Error(_0x213fdd(0x4c9));}['getLatestCsReqIdBySid'](){var _0x1560dd=_0x45aab2;throw new Error(_0x1560dd(0x4c9));}},exports[_0x45aab2(0x41f)]=An([lt(0x0,a[_0x45aab2(0x43f)]),lt(0x1,a[_0x45aab2(0x46d)](q[_0x45aab2(0x261)]))],exports[_0x45aab2(0x41f)]);var Pn=Object[_0x45aab2(0x47b)],wn=(_0x3be22e,_0x533e57,_0x2ba372,_0x5bca45)=>{var _0x4b48e0=_0x45aab2;for(var _0x5f59ea=_0x5bca45>0x1?void 0x0:_0x5bca45?Pn(_0x533e57,_0x2ba372):_0x533e57,_0x2fbd4d=_0x3be22e[_0x4b48e0(0x1ef)]-0x1,_0x4fb98d;_0x2fbd4d>=0x0;_0x2fbd4d--)(_0x4fb98d=_0x3be22e[_0x2fbd4d])&&(_0x5f59ea=_0x4fb98d(_0x5f59ea)||_0x5f59ea);return _0x5f59ea;},de=(_0x3833a4,_0x2c4c3b)=>(_0xbd6edf,_0x5a039f)=>_0x2c4c3b(_0xbd6edf,_0x5a039f,_0x3833a4);exports['CollaborativeUndoRedoService']=class extends a[_0x45aab2(0x1af)]{constructor(_0x2627a0,_0x6a55dc,_0x291362,_0x32c95d,_0x44f93c){var _0x28b89c=_0x45aab2;super(_0x2627a0,_0x6a55dc,_0x291362),this[_0x28b89c(0x386)]=_0x32c95d,this['_logService']=_0x44f93c;}[_0x45aab2(0x441)](_0x41b1c1,_0x5c33e0){var _0x570055=_0x45aab2;const _0x4ee1bb=this[_0x570055(0x525)](_0x41b1c1);if(_0x4ee1bb)try{const _0x3a54bb=this['_transformStack'](_0x4ee1bb,_0x5c33e0);this[_0x570055(0x283)](_0x41b1c1,_0x3a54bb);}catch(_0x43acd9){this[_0x570055(0x2e8)][_0x570055(0x4b4)](_0x570055(0x483),_0x43acd9),this[_0x570055(0x4e5)](_0x41b1c1);}const _0x5f1923=this[_0x570055(0x352)](_0x41b1c1);if(_0x5f1923)try{const _0x4e9e1f=this[_0x570055(0x3db)](_0x5f1923,_0x5c33e0);this['_substituteRedoStack'](_0x41b1c1,_0x4e9e1f);}catch(_0x1f5431){this[_0x570055(0x2e8)][_0x570055(0x4b4)](_0x1f5431),this['_clearRedo'](_0x41b1c1);}}['_clearUndo'](_0x489cb7){var _0x55f0b4=_0x45aab2;const _0x4c9565=this[_0x55f0b4(0x525)](_0x489cb7);_0x4c9565&&(_0x4c9565[_0x55f0b4(0x1ef)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x153753){var _0x5eecda=_0x45aab2;const _0x5e1033=this[_0x5eecda(0x352)](_0x153753);_0x5e1033&&(_0x5e1033[_0x5eecda(0x1ef)]=0x0,this[_0x5eecda(0x272)]());}[_0x45aab2(0x283)](_0x47e5c5,_0x2de05e){var _0x121f24=_0x45aab2;this[_0x121f24(0x326)]['set'](_0x47e5c5,_0x2de05e),this[_0x121f24(0x272)]();}['_substituteRedoStack'](_0xdb5f94,_0x2a02e7){var _0x322b27=_0x45aab2;this['_redoStacks'][_0x322b27(0x321)](_0xdb5f94,_0x2a02e7),this[_0x322b27(0x272)]();}['_transformStack'](_0x375689,_0x20f187){var _0x20a06b=_0x45aab2;const _0x414c01=[];let _0x58b2f9=_0x20f187,_0x5cdcab=_0x20f187;for(let _0x10d011=_0x375689[_0x20a06b(0x1ef)]-0x1;_0x10d011>=0x0;_0x10d011--){const {unitID:_0x5b98bb,undoMutations:_0x1d6504,redoMutations:_0x303c83}=_0x375689[_0x10d011],_0x352328=this[_0x20a06b(0x386)][_0x20a06b(0x210)](_0x58b2f9,_0x1d6504),_0x54c202=this[_0x20a06b(0x386)][_0x20a06b(0x210)](_0x5cdcab,_0x303c83);if(g[_0x20a06b(0x3c3)](_0x352328)||g[_0x20a06b(0x3c3)](_0x54c202)){this[_0x20a06b(0x2e8)][_0x20a06b(0x4b4)](_0x20a06b(0x483),_0x20a06b(0x3ca),_0x352328,_0x54c202);break;}_0x58b2f9=_0x352328[_0x20a06b(0x34c)],_0x5cdcab=_0x54c202[_0x20a06b(0x34c)],_0x414c01[_0x20a06b(0x360)]({'unitID':_0x5b98bb,'undoMutations':_0x352328[_0x20a06b(0x521)],'redoMutations':_0x54c202[_0x20a06b(0x521)]});}return _0x414c01['reverse']();}},exports[_0x45aab2(0x39c)]=wn([de(0x0,a[_0x45aab2(0x35f)]),de(0x1,a[_0x45aab2(0x379)]),de(0x2,a[_0x45aab2(0x451)]),de(0x3,g[_0x45aab2(0x3da)]),de(0x4,a[_0x45aab2(0x4bc)])],exports[_0x45aab2(0x39c)]);var Ln=Object['defineProperty'],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x311b12,_0x2a7692,_0x5ce0bd)=>_0x2a7692 in _0x311b12?Ln(_0x311b12,_0x2a7692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ce0bd}):_0x311b12[_0x2a7692]=_0x5ce0bd,kn=(_0x1df80a,_0x29435d,_0x3f1a03,_0x59ac68)=>{var _0x5a076d=_0x45aab2;for(var _0x5be753=_0x59ac68>0x1?void 0x0:_0x59ac68?Mn(_0x29435d,_0x3f1a03):_0x29435d,_0x19ecb7=_0x1df80a[_0x5a076d(0x1ef)]-0x1,_0xb362ae;_0x19ecb7>=0x0;_0x19ecb7--)(_0xb362ae=_0x1df80a[_0x19ecb7])&&(_0x5be753=_0xb362ae(_0x5be753)||_0x5be753);return _0x5be753;},ke=(_0xdcc41d,_0x5d6e58)=>(_0x35f7ef,_0x1eef66)=>_0x5d6e58(_0x35f7ef,_0x1eef66,_0xdcc41d),Hn=(_0xabedbd,_0x5a202a,_0x36f487)=>xn(_0xabedbd,_0x5a202a+'',_0x36f487);const jn=_0x45aab2(0x506);exports[_0x45aab2(0x3d5)]=class extends a[_0x45aab2(0x1d4)]{constructor(_0x1c853a,_0x179d6f,_0x7f43cc,_0x873b34){var _0xcca782=_0x45aab2;super(),A(this,_0xcca782(0x465)),(this[_0xcca782(0x2e8)]=_0x179d6f,this[_0xcca782(0x4e7)]=_0x7f43cc,this[_0xcca782(0x1cb)]=_0x873b34);const {..._0x163b70}=a[_0xcca782(0x46a)]({},Jt,_0x1c853a);if(!_0x163b70[_0xcca782(0x215)])throw new Error(_0xcca782(0x39e));this[_0xcca782(0x465)]=_0x163b70,this[_0xcca782(0x1cb)][_0xcca782(0x43e)](Y,_0x163b70);}[_0x45aab2(0x2d2)](){var _0x14d264=_0x45aab2;this[_0x14d264(0x375)](),this[_0x14d264(0x3ce)]();}[_0x45aab2(0x375)](){var _0x5c5616=_0x45aab2,_0x270df0,_0x2b037c;this[_0x5c5616(0x4e7)][_0x5c5616(0x485)](a[_0x5c5616(0x1de)])&&this[_0x5c5616(0x2e8)][_0x5c5616(0x4b4)](_0x5c5616(0x42d),_0x5c5616(0x4e2));const _0xd640d1=a['mergeOverrideWithDependencies']([[a[_0x5c5616(0x1de)],{'useClass':exports[_0x5c5616(0x39c)]}],[exports[_0x5c5616(0x24d)]],[exports[_0x5c5616(0x200)]],[exports[_0x5c5616(0x3fc)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x5c5616(0x29e)]],[$e,{'useClass':this['_config']['socketService']}],[g[_0x5c5616(0x3fa)],{'useClass':exports[_0x5c5616(0x41f)]}],[a[_0x5c5616(0x493)],{'useClass':exports[_0x5c5616(0x488)]}],[J[_0x5c5616(0x2bd)],{'useClass':exports[_0x5c5616(0x41a)]}],[a['IMentionIOService'],{'useClass':exports[_0x5c5616(0x383)]}],[exports[_0x5c5616(0x1bd)]],[He]],(_0x270df0=this[_0x5c5616(0x465)])==null?void 0x0:_0x270df0['override']);if(!((_0x2b037c=this[_0x5c5616(0x465)])!=null&&_0x2b037c['enableSingleActiveInstanceLock'])){const _0x3fb673=_0xd640d1[_0x5c5616(0x1ac)](([_0x19865d])=>_0x19865d===ve);_0x3fb673!==-0x1&&_0xd640d1[_0x5c5616(0x255)](_0x3fb673,0x1);}a[_0x5c5616(0x2c0)](this[_0x5c5616(0x4e7)],_0xd640d1);}[_0x45aab2(0x3ce)](){var _0x3dd856=_0x45aab2,_0x3861b1,_0x24f723,_0x37007f;this['_injector'][_0x3dd856(0x2d5)](q[_0x3dd856(0x261)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x3dd856(0x44d)]({'maxParallel':0x6})}),(_0x3861b1=this['_config'])!=null&&_0x3861b1[_0x3dd856(0x1e7)]||(_0x24f723=this['_injector']['get'](z,a[_0x3dd856(0x2e5)][_0x3dd856(0x47f)]))==null||_0x24f723[_0x3dd856(0x33a)](),(_0x37007f=this['_config'])!=null&&_0x37007f[_0x3dd856(0x25b)]&&a['touchDependencies'](this['_injector'],[[ye]]),a[_0x3dd856(0x304)](this[_0x3dd856(0x4e7)],[[Ne],[exports['CollaborationController']],[Ue]]);}},Hn(exports[_0x45aab2(0x3d5)],'pluginName',jn),exports[_0x45aab2(0x3d5)]=kn([a[_0x45aab2(0x398)](g[_0x45aab2(0x1ff)],q[_0x45aab2(0x1f0)]),ke(0x1,a[_0x45aab2(0x4bc)]),ke(0x2,a[_0x45aab2(0x46d)](a[_0x45aab2(0x482)])),ke(0x3,a[_0x45aab2(0x43f)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Ge,exports[_0x45aab2(0x394)]=Y,exports[_0x45aab2(0x233)]=mt,exports[_0x45aab2(0x3eb)]=St,exports[_0x45aab2(0x369)]=Ve,exports['CollaborationUIEventId']=Q,exports['CollaborationUIEventService']=te,exports[_0x45aab2(0x3ae)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x45aab2(0x1fa)]=$t,exports[_0x45aab2(0x3dd)]=pt,exports[_0x45aab2(0x429)]=je,exports[_0x45aab2(0x3fd)]=$e,exports[_0x45aab2(0x1d7)]=z,exports['INetworkConditionService']=bt,exports['ISingleActiveUnitService']=ve,exports[_0x45aab2(0x35b)]=Gt,exports[_0x45aab2(0x428)]=Wt,exports['LOGIN_URL_KEY']=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports[_0x45aab2(0x51f)]=It,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports[_0x45aab2(0x511)]=dt,exports[_0x45aab2(0x2a1)]=vt,exports['SessionStatus']=se,exports['UnitStatus']=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x45aab2(0x468)]=vi,exports[_0x45aab2(0x370)]=Ot;
1
+ 'use strict';var _0x4877c9=_0x38be;(function(_0x1abd8c,_0x3564ed){var _0x2bcfa1=_0x38be,_0x5a48db=_0x1abd8c();while(!![]){try{var _0x17b20b=parseInt(_0x2bcfa1(0x35f))/0x1*(-parseInt(_0x2bcfa1(0x25e))/0x2)+parseInt(_0x2bcfa1(0x396))/0x3+parseInt(_0x2bcfa1(0x417))/0x4+-parseInt(_0x2bcfa1(0x11b))/0x5+parseInt(_0x2bcfa1(0x158))/0x6*(parseInt(_0x2bcfa1(0x1d1))/0x7)+-parseInt(_0x2bcfa1(0x13a))/0x8+-parseInt(_0x2bcfa1(0x425))/0x9*(-parseInt(_0x2bcfa1(0x295))/0xa);if(_0x17b20b===_0x3564ed)break;else _0x5a48db['push'](_0x5a48db['shift']());}catch(_0x52d552){_0x5a48db['push'](_0x5a48db['shift']());}}}(_0x3686,0x2cd8e));var wt=Object['defineProperty'],Lt=(_0x1ffe4f,_0x1dcec1,_0x109291)=>_0x1dcec1 in _0x1ffe4f?wt(_0x1ffe4f,_0x1dcec1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x109291}):_0x1ffe4f[_0x1dcec1]=_0x109291,A=(_0x3d8287,_0x24c44b,_0x5a5ba9)=>Lt(_0x3d8287,typeof _0x24c44b!=_0x4877c9(0x355)?_0x24c44b+'':_0x24c44b,_0x5a5ba9);Object['defineProperty'](exports,Symbol[_0x4877c9(0x329)],{'value':'Module'});const a=require('@univerjs/core'),j=require('rxjs'),V=require('rxjs/operators'),g=require(_0x4877c9(0x3bd)),q=require('@univerjs/network'),Mt=require(_0x4877c9(0x36a)),ut=require(_0x4877c9(0x297)),Z=require('@univerjs/sheets'),J=require('@univerjs/drawing'),xt=require(_0x4877c9(0x30f)),dt=_0x4877c9(0x2d9),kt=_0x4877c9(0x2e1),vt='SNAPSHOT_URL_KEY',Ht=_0x4877c9(0x33d),jt=0x7d0,St=_0x4877c9(0x480),ft=_0x4877c9(0x2fc),$t=_0x4877c9(0x474),pt=_0x4877c9(0x2a7),Bt=0x7530,je=_0x4877c9(0x23c),gt=0x4e20,Ft=0x4e20,It=_0x4877c9(0x2e9),Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,mt=_0x4877c9(0x235),Kt='/universer-api/comb',Et=_0x4877c9(0x307),Yt=_0x4877c9(0x30d),qt=_0x4877c9(0x45f),zt=_0x4877c9(0x3d3);var Ct=(_0x1b1442=>(_0x1b1442[_0x1b1442[_0x4877c9(0x3d7)]=0x0]=_0x4877c9(0x3d7),_0x1b1442[_0x1b1442['OK']=0x1]='OK',_0x1b1442[_0x1b1442[_0x4877c9(0x2f7)]=0x2]='INTERNAL_ERROR',_0x1b1442[_0x1b1442[_0x4877c9(0x24f)]=0x3]=_0x4877c9(0x24f),_0x1b1442[_0x1b1442[_0x4877c9(0x3ae)]=0x4]=_0x4877c9(0x3ae),_0x1b1442[_0x1b1442[_0x4877c9(0x399)]=0x5]=_0x4877c9(0x399),_0x1b1442[_0x1b1442['ALREADY_EXISTS']=0x6]=_0x4877c9(0x32b),_0x1b1442[_0x1b1442[_0x4877c9(0x320)]=0x7]=_0x4877c9(0x320),_0x1b1442[_0x1b1442[_0x4877c9(0x395)]=0x8]=_0x4877c9(0x395),_0x1b1442[_0x1b1442[_0x4877c9(0x3e0)]=0x9]=_0x4877c9(0x3e0),_0x1b1442[_0x1b1442['LOGIN_FAILED']=0xa]=_0x4877c9(0x42e),_0x1b1442[_0x1b1442[_0x4877c9(0x448)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1b1442[_0x1b1442['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4877c9(0x468),_0x1b1442[_0x1b1442[_0x4877c9(0x1de)]=0x1772]=_0x4877c9(0x1de),_0x1b1442[_0x1b1442['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4877c9(0x118),_0x1b1442[_0x1b1442[_0x4877c9(0x40a)]=0x1b59]=_0x4877c9(0x40a),_0x1b1442[_0x1b1442[_0x4877c9(0x407)]=0x1b5a]=_0x4877c9(0x407),_0x1b1442[_0x1b1442[_0x4877c9(0x1e2)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1b1442[_0x1b1442['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4877c9(0x446),_0x1b1442[_0x1b1442[_0x4877c9(0x2ee)]=0x1b5d]=_0x4877c9(0x2ee),_0x1b1442[_0x1b1442[_0x4877c9(0x28f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1b1442[_0x1b1442[_0x4877c9(0x3fc)]=0x2329]=_0x4877c9(0x3fc),_0x1b1442[_0x1b1442[_0x4877c9(0x1cc)]=0x232a]=_0x4877c9(0x1cc),_0x1b1442[_0x1b1442[_0x4877c9(0x3d4)]=0x232b]=_0x4877c9(0x3d4),_0x1b1442[_0x1b1442[_0x4877c9(0x1c9)]=0x232c]=_0x4877c9(0x1c9),_0x1b1442[_0x1b1442[_0x4877c9(0x2d8)]=0x232d]=_0x4877c9(0x2d8),_0x1b1442[_0x1b1442[_0x4877c9(0x310)]=0x2711]=_0x4877c9(0x310),_0x1b1442[_0x1b1442[_0x4877c9(0x17e)]=0x2712]=_0x4877c9(0x17e),_0x1b1442[_0x1b1442[_0x4877c9(0x3b8)]=0x2713]=_0x4877c9(0x3b8),_0x1b1442[_0x1b1442['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4877c9(0x168),_0x1b1442[_0x1b1442[_0x4877c9(0x143)]=0x271a]=_0x4877c9(0x143),_0x1b1442[_0x1b1442[_0x4877c9(0x2f3)]=0x271b]=_0x4877c9(0x2f3),_0x1b1442[_0x1b1442[_0x4877c9(0x1ed)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1b1442[_0x1b1442[_0x4877c9(0x392)]=0x271d]=_0x4877c9(0x392),_0x1b1442[_0x1b1442['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4877c9(0x305),_0x1b1442[_0x1b1442[_0x4877c9(0x190)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1b1442[_0x1b1442['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4877c9(0x464),_0x1b1442[_0x1b1442['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1b1442[_0x1b1442['INVALID_INVITE_CODE']=0x2ee2]=_0x4877c9(0x255),_0x1b1442[_0x1b1442['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4877c9(0x3b5),_0x1b1442[_0x1b1442['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1b1442[_0x1b1442[_0x4877c9(0x148)]=0x2ee5]=_0x4877c9(0x148),_0x1b1442[_0x1b1442['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4877c9(0x29e),_0x1b1442[_0x1b1442[_0x4877c9(0x197)]=0x32ca]=_0x4877c9(0x197),_0x1b1442[_0x1b1442[_0x4877c9(0x389)]=0x32cb]=_0x4877c9(0x389),_0x1b1442[_0x1b1442[_0x4877c9(0x337)]=-0x1]=_0x4877c9(0x337),_0x1b1442))(Ct||{}),X=(_0x34bd9e=>(_0x34bd9e[_0x34bd9e[_0x4877c9(0x188)]=0x0]=_0x4877c9(0x188),_0x34bd9e[_0x34bd9e['UNIVER_DOC']=0x1]=_0x4877c9(0x29f),_0x34bd9e[_0x34bd9e[_0x4877c9(0x40d)]=0x2]=_0x4877c9(0x40d),_0x34bd9e[_0x34bd9e['UNIVER_SLIDE']=0x3]=_0x4877c9(0x240),_0x34bd9e[_0x34bd9e[_0x4877c9(0x354)]=0x4]=_0x4877c9(0x354),_0x34bd9e[_0x34bd9e[_0x4877c9(0x337)]=-0x1]=_0x4877c9(0x337),_0x34bd9e))(X||{}),W=(_0x303749=>(_0x303749[_0x303749[_0x4877c9(0x253)]=0x0]=_0x4877c9(0x253),_0x303749[_0x303749[_0x4877c9(0x319)]=0x1]=_0x4877c9(0x319),_0x303749[_0x303749[_0x4877c9(0x366)]=0x2]=_0x4877c9(0x366),_0x303749[_0x303749[_0x4877c9(0x3fa)]=0x3]=_0x4877c9(0x3fa),_0x303749[_0x303749[_0x4877c9(0x43a)]=0x4]='INGEST',_0x303749[_0x303749[_0x4877c9(0x147)]=0x5]=_0x4877c9(0x147),_0x303749[_0x303749['RECV']=0x6]='RECV',_0x303749[_0x303749['UNRECOGNIZED']=-0x1]=_0x4877c9(0x337),_0x303749))(W||{}),ae=(_0x1b4a85=>(_0x1b4a85[_0x1b4a85[_0x4877c9(0x2fe)]=0x0]=_0x4877c9(0x2fe),_0x1b4a85[_0x1b4a85['OK']=0x1]='OK',_0x1b4a85[_0x1b4a85[_0x4877c9(0x250)]=0x2]=_0x4877c9(0x250),_0x1b4a85[_0x1b4a85[_0x4877c9(0x176)]=0x3e9]=_0x4877c9(0x176),_0x1b4a85[_0x1b4a85[_0x4877c9(0x175)]=0x3ea]=_0x4877c9(0x175),_0x1b4a85[_0x1b4a85[_0x4877c9(0x46e)]=0x3eb]=_0x4877c9(0x46e),_0x1b4a85[_0x1b4a85[_0x4877c9(0x3a2)]=0x3ec]=_0x4877c9(0x3a2),_0x1b4a85[_0x1b4a85['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1b4a85))(ae||{}),Tt=(_0x1513cd=>(_0x1513cd[_0x1513cd['Undefined']=0x0]='Undefined',_0x1513cd[_0x1513cd[_0x4877c9(0x193)]=0x1]=_0x4877c9(0x193),_0x1513cd[_0x1513cd[_0x4877c9(0x421)]=0x2]='HttpExport',_0x1513cd[_0x1513cd[_0x4877c9(0x2b0)]=0x3]=_0x4877c9(0x2b0),_0x1513cd[_0x1513cd[_0x4877c9(0x15d)]=0x4]='UnitSnapshot',_0x1513cd[_0x1513cd['UserProfileImg']=0x5]=_0x4877c9(0x462),_0x1513cd[_0x1513cd[_0x4877c9(0x337)]=-0x1]=_0x4877c9(0x337),_0x1513cd))(Tt||{});const Y=_0x4877c9(0x3bf),Jt={};function _0x3686(){var _0x175f97=['[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','AwaitingWithPendingState','sessionStatus$','_fetchMissChangesets','YUUMI_ASYNCIO_CANCELLED','requireSession','_getUndoStack','leaveEvent','INTERNAL_ERROR','entityInit$','localeService','pad','ImageSourceType','ws://127.0.0.1:8000/universer-api/comb/connect','unsubscribe','UNKNOWN_CODE','IUniverInstanceService','delay','BufferedBlockAlgorithm','$super','/allowed','_cipher','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_parse','LOGIN_URL_KEY','_transformUndoredo','_listenToNetworkCondition','ISnapshotServerService','_sendHeartbeat','DEFAULT_WS_SESSION_TICKET_URL','/universer-api/oidc/authpage','_httpService','@univerjs-pro/license','YUUMI_UNABLE_LOAD_URL','_clearUndo','SUBMIT_CHANGESET','isPermissionRej','substr','getCollabEntity','firstValueFrom','onTransformState','copyFileMeta','HELLO','getValue','appendMutation','editingUnit','_instanceService','IContextService','USERS_ENTER','INVALID_ARGUMENT','NoPadding','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','image/bmp','POST','snapshotServerUrl','duration','newCsEvent','find','toStringTag','slice','ALREADY_EXISTS','PendingState','textRanges','then','_emitMembers','commentUpdateEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_shouldReportTelemetry','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','PERSON','getSnapshotAPIPath','UNRECOGNIZED','list','_iKey','deepClone','[CollaborationUndoRedoService]','/-/object/-/batch_allowed','SEND_CHANGESET_TIMEOUT','INetworkConditionService','keySize','_initCloseConn','_socketService','createCollaborator','clamp','createEncryptor','_joinRoom','_sheetTransformSelectionsService','onTransformRemoteChangesetByStateCache','forEach','LocaleService','_decreaseWaiting','SetSelectionsOperation','SheetTransformSelectionsService','mapDocumentTypeToUniverType','createDecryptor','_undoRedoService','Rectangle','session.room-permission-denied','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','univer-pro.collaboration-client.single-active-unit-service','UNIVER_PROJECT','symbol','_toggleOnline','transformUndoRedo','isTransformMutationsWithChangesetSuccess','_clearScheduledTask','onRemoteRej','from','_data','Cipher','_revisionService','1YcNSJN','registerDependencies','actions','_collabSessionService','sigBytes','_getLoginPath','members','JOIN','reconnect','_tryEnsureSocket','IMentionIOService','@univerjs/telemetry','_getCurrentRevision','getMemberID','JOIN_ROOM_FAILED','\x0aCurrent:\x20','_key','getUnit','_retryCount','[OfflineState]:\x20received\x20changeset.','_getSendChangesetTimeout','length','updateOfflineData','_snapshotService','__creator','objectActions','create','_onLocalMutation','_getRedoStack','_reverseMap','_handler','_initMergeInterceptor','_clearLocalCache','/unit/','prototype','_getCtorByUniverType','OTHER_CLIENT_EDITING','[PendingState]:\x20received\x20acknowledgement.','Inject','getCurrentSelections','RETRY_CONNECTING_MAX_COUNT_KEY','target','EMAIL_HAS_BEEN_BOUND','indexOf','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','AUTHZ_URL_KEY','_getUploadFileURL','fetchThroughInterceptors','avatar','RichTextEditingMutation','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','YUUMI_ALL_TABLES_IS_INVALID','LOCAL_CACHE_INTERVAL_KEY','shouldCloseConn','TOO_MANY_REQUESTS','411801CfkgjK','[CollaborationSessionService]:\x20socket\x20error','ERROR_EXCEED_SIZE','UNAUTHENTICATED','\x0aAfter:\x20','_initRequestHeader','_transformRemoteChangesetByIMECache','telemetry\x20info\x20is\x20not\x20initialized','mergeOverrideWithDependencies','_isPermissionRej','getFocusedUnit','COMPRESS_MUTATION_SEND','GLOBAL_ROOMS_CNT_EXCEEDS','EvpKDF','CollaborativeUndoRedoService','_clearRetryConnectingTimer','/object','PasswordBasedCipher','saveSheetBlock','_initDependencies','_onConnectionFailed','univer-pro.collaboration-client-socket-service','random','_sendingTimer','NOT_FOUND','requestParams','userID','finalize','_startCollaboration','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','INVITE_CODE_REQUIRED','_state','MUTATION','YUUMI_RATE_OVER_LIMIT','_memberService','downloadEndpointUrl','connection\x20error','collaboration_new_changeset','@univerjs-pro/collaboration','_onFetchMissResult','collaboration-client.config','disableLocalCache','?size=','originalMeta','[SyncedState]:\x20received\x20acknowledgement.','getAllMembers','IUndoRedoService','init','registerHTTPInterceptor','UNISCRIPT_RUN','complete','_onRemoteRetry','FETCH_MISSING','result','failed\x20to\x20apply\x20missed\x20changesets!','has','encodeURIComponent','_unitInfo$','m2Prime','[PendingState]:\x20received\x20rejection.','/universer-api/uniscript','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutationsWithChangeset','open$','UNDEFINED','clear','socketService','CollaborationImageIoService','_collaborationSessionService','onMissedChangesetFetched','enableOfflineEditing','ISocketService','map','COMPLETION_FINISHED','_candidateSocket','LIVESHARE_TERMINATE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_doCreateSocket','crypto','saveImage','_registerDependencies','UniverNetworkPlugin','toLowerCase','DEFAULT_FILE_NAME','\x20-\x20','LIVESHARE_NEW_HOST','image/jpg','StreamCipher','getRandomValues','NEW_CHANGESETS','reject','Latin1','_unlockTransition','resend','push','enableAuthServer','MemberService','_socketReady','onTransformRemoteChangesetByIMECache','LEAVE','emitEvent','LICENSE_MAX_UNITS_EXCEEDED','subUnitId','cfg','filter','max','_configService','UniverInstanceType','\x20to\x20','put','fromCollab','code','APPLY_NON_SEQUENTIAL_REVISION','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[CollaborationState]:\x20apply\x20error!','APPLY_REJECT','JOINING','_showConflictNotification','UNIVER_SHEET','origin','_waitCount','_telemetryService','removeMember','_socketMessageSubscription','MentionIoHttpService','merge','_userManagerService','take','322712rMrWSE','addHandlerCallback','CHANGESET_REJ','OpenSSL','abs','OFFLINE','_socket','InsertSheetMutation','_config','encryptBlock','HttpExport','_scheduleCompleteTimestamp','byteOffset','JSONX','1134olrfKf','AWAITING','fromCharCode','awaiting_with_pending','authzUrl','change$','resourceIDs','putCollaborators','_clearRedo','LOGIN_FAILED','dispose$','uploadFileServerUrl','_change$','pipe','memberID','_startTelemetryCollaborationNewChangeset','joinRsp','FETCH_MISS','objectID','PENDING','AwaitingState','INGEST','CollaborationSocketService','send','encode','/block/','getResourcesRequest','_rescheduleHeartbeat','_schedule','_loadDoc','Workbook','_onRemoteChangeset','ILogService','APPLY_PERMISSION_DENIED','UserManagerService','CHANGESET_REVISION_CONFILICT','LIVESHARE_FETCH_OPERATIONS','auth.needGotoLoginAlert','_clearHeartbeatTimer','joinEvent','error','changesets','MD5','title','_unitID','reqId','/object/','processBlock','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','stopTime','[CollaborationSessionService]','parse','SOCKET_FAILED','closeSession','call','_getAPIPrefix','_handlerCallback','CLOSE_ROOM','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','string','reset','UserProfileImg','_members$','PY_RUNTIME_SCRIPT_ERROR','__Key__','apply','liveShareOperation','SNAPSHOT_INVALID_SNAPSHOT','DataLoaderService','exports','Malformed\x20UTF-8\x20data','CompressMutationService','RxDisposable','JOIN_ROOM_PERMISSION_DENIED','next','state$','_replaceFileID','defineProperty','_changesetReqId','/universer-api/user/session-ticket','transformChangesets','_transformService','getUnitOnRev','_collaborationTimeoutTimer','isTransformMutationsWithChangesetFailure','onTransformSelections','c1Prime','BASE64','rng','href','headers','COLLAB_WEB_SOCKET_URL','stringify','CollaborationSession','delete','key','shareReplay','getCurrentUser','[OfflineState]:\x20received\x20acknowledgement.','SheetsSelectionsService','save\x20fail\x20reason\x20is\x20','CollaborationUIEventId','src','responseType','capture','join','getTime','fetchMissingChangesets','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_collaborationPaused','/collaborator','/universer-api/stream/file/upload','message$','x-univer-host','ENSURE_SNAPSHOT_EXECUTION','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','close','943385fUaeNu','deserializeToCombResponse','error$','state','_initUnitPermissionChange','uniscriptRunEvent','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_type','_collaborationUIEventService','_resendTimeout','_lockTransition','_snapshotServerService','setShowComponents','_redoStacks','_singleActiveUnitService','MSG_FOR_ERROR','_clearTimeoutTimer','CollaborationEntity','Hasher','online$','_doCryptBlock','_onOffline','csRejEvent','dispose','onCommentUpdate','asObservable','_onConnectionOpen','_commentUpdate$','padding','iterations','onSyncEditingCollabCursor','2904544qeGCEu','EXCHANGE_SIGN_URL_SERVER_URL_KEY','UniverCollaborationPlugin','randomUUID','_undoStacks','now','post','FetchingMissState','Optional','YUUMI_NO_CUBOID_FOR_QUESTION','UniverCollaborationClientPlugin','reverse','isInternalEditorID','HEARTBEAT','INVITE_CODE_ALREADY_BOUND','/new_changes','Tools','_retryConnectingTimer','withCredentials','toggleOnline','commentUpdate$','_logService','ITransformService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_imageSourceCache','getLocalCacheKey','awaitingChangeset','CollaborationController','words','offline','6GYgqoZ','file','splice','isTransformChangesetsSuccess','_waitForHeartbeatResponse','UnitSnapshot','SerializableCipher','AWAITING_WITH_PENDING','_awaitingChangeset','[SyncedState]:\x20received\x20rejection.','CONFLICT','OTHER_CLIENTS_EDITING','_incrementRevisionNumber','SUBMIT_CHANGESET_TIMEOUT','every','_syncEditingCollabCursor','YUUMI_SUBSCRIPTION_NOT_FOUND','_init','_toggleOffline','socket\x20close','enc','_injector','COLLAB_SUBMIT_CHANGESET_URL_KEY','getMember','getSheetBlock','charCodeAt','_oKey','SOCKET_FAILED_RETRY','_resendWithTimeout','JOIN_ROOM_NOT_EXISTS','JOIN_ROOM_FULL','_keySchedule','_sender','CipherParams','_onRemoteRejected','onTransformIME','getTypeOfUnitDisposed$','_sessionStatus$','YUUMI_URL_COL_OUT_OF_RANGE','session','not_collab','DisposableCollection','mutations','UPDATE_PERMISSION_OBJ','fetch_missing','_substituteRedoStack','_tryReconnect','SheetCollaborationEntity','UNIVER_UNKNOWN','HEARTBEAT_TIMEOUT_KEY','_entities','IAuthzIoService','__esModule','IPermissionService','createInstance','range','YUUMI_AI_RUN_FAILED','_createInitialStateImpl','_roomCreated$','HttpImport','_replayCachedMutations','_transformStateCache','SHA1','MOBILE_HAS_BEEN_BOUND','Injector','NO_OTHER_CLIENTS_EDITING','event$','_members','update','patch','Error\x20on\x20receiving\x20event','pluginName','_getAPIPrefixPath','_invKeySchedule','waitForRoom$','_ENC_XFORM_MODE','awaiting','_pendingMutations','sheets','_createHmacHelper','type','IConfigService','getLatestCsReqIdBySid','getUnitType','onStarting','collaborators','session.room-cnt-exceeds','decrypt','_changesetSessionId','setCurrentUser','onRemoteRetry','createSocket','_getDownloadEndpointURL','revision','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','USERS_LEAVE','\x20in\x20_schedule.','onlyLocal','salt','COMMENT_UPDATE','onSendChangeset','unitID','_socket$','pending','ceil','ITelemetryService','_timeoutTimer','toString','default','transformSelections','LIVESHARE_OPERATION','synced','extend','LICENSE_EXPORT_SIZE_EXCEEDED','CollaborationSessionService','CommandType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformSelections','startsWith','COMPRESS_MUTATION_APPLY','ImageUploadStatusType','2227127JwHMiu','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Univer','Utf8','listCollaborators','_nRounds','buffer','sendChangesetTimeout','setConfig','[CollaborationEntity]','_removeRoom','status','enableSingleActiveInstanceLock','SNAPSHOT_HAS_BEEN_REMOVED','repeat','startTime','subscribe','APPLY_REVISION_CONFILICT','selections','_createHandler','_doReset','/universer-api/authz','Decryptor','Hex','addImageSourceCache','ERROR_IMAGE','sid','action','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/-/object/list','HEARTBEAT_INTERVAL_KEY','pauseCollaboration','_onConflict','_localCacheService','ICollaborationSocketService','/universer-api/snapshot/','cmd','CollaborationEvent','getConfig','_xformMode','RECV','_hasher','image/gif','Encryptor','Failed\x20to\x20update\x20permission\x20point','conflict','unknown','permissionRejEvent','_onCombEvent','{fileID}','socket$','close$','snapshot','BlockCipher','_transformStack','get','ConflictState','_submitChangeset','_minBufferSize','b64DecodeUnicode','hasOwnProperty','location','_onRemoteACK','name','byteLength','sequenceExecute','_nDataBytes','touchDependencies','loadSheet','ICommandService','getUnitId','_status$','Base64','disposeWithMe','_process','[DataLoaderService]','&assign=','Disposable','size','_mode','_exhaustRemoteChangesetQueue','WorkbookEditablePermission','debug','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getSignURL','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getInterceptPoints','_state$','createIdentifier','EmptyMutation','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','localCacheService','IDLE','getImage','roles','updateCollaborator','_resendTimer','fetchMiss','DocCollaborationEntity','NOT_COLLAB','COLLAB_SUBMIT_CHANGESET_URL','parseChangesetToProtocol','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','encrypt','_append','toDisposable','_applyRemoteChangeset','HEARTBEAT_TIMEOUT','UNIVER_COLLABORATION_CLIENT_PLUGIN','hostname','_updateStatus','UNIVER_SLIDE','hasher','_transformRemoteChangesetByStateCache','_executeRemoteChangeset','_univerInstanceService','BehaviorSubject','getGlobalObject','session.room-not-exists','_updateLocalCache','_acknowledgedAwaitingChangeset','CHANGESET_ACK','WordArray','eventID','ONLINE','concatMap','PERMISSION_DENIED','FAIL','interceptor','floor','UNKNOWN_CMD','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','INVALID_INVITE_CODE','getCollabEntity$','OfflineState','_scheduleCollaborationTimeoutTimer','_commandService','body','concat','getTypeOfUnitAdded$','decryptBlock','192526uvmZQi','_commentService','collabWebSocketUrl','_HTTPService','csAckEvent','getCurrentRevOfUnit','_throwTelemetryCollaborationNewChangeset','charAt','focused$','sessionStatus','_telemetryInfo','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','univer-pro.collaboration-client.network-condition.service','_updateState','UPDATE_CURSOR','unitId','randomBytes','values','getDeserializedSheetBlock','_prevBlock','ThresholdInterceptorFactory','incrementRevOfUnit','HTTPRequest','SnapshotServerOverHTTPService','loadOfflineData','bind','min','_createHelper','AuthzIoHttpService','updatePermissionPoint','socket\x20open.','parseProtocolChangeset','_sessions','[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.','_onUserLeave','algo','kdf','SyncedState','override','c2Prime','AES','SnapshotService','msCrypto','blockSize','toggleOffline','routeKey','DependentOn','SEND_CHANGESET_TIMEOUT_KEY','CONNECTOR_DATA_TOO_LARGE','deleteCollaborator','_createSocket','catch','takeUntil','transformStack\x20failed!','23460DAlbLw','ciphertext','@univerjs/docs','CHANGESET_SHOULD_RETRY','_localeService','_checkMissing','updateCursorEvent','_hash','_iv','WECHAT_HAS_BEEN_BOUND','UNIVER_DOC','textEncoder','function','refreshPermission','getRoom','confirm','baseRev','PERMISSION_REJ','HEARTBEAT_INTERVAL','FileId','RevisionService','Subject','objectType','getOwnPropertyDescriptor','status$','url','_createInitialState','UnitEmbedded','/resources','onRemoteChangeset','sin','_remoteChangesetQueue','_onUserJoin','generateRandomId','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onRemoteAck','/universer-api/file/{fileID}/sign-url','[CollaborationSession]','execute','UnitStatus','_loadSheet','initWorkbookPermissionChange','HTTPService','_permissionService','Pkcs7','lib','_clearCollaborationTimeoutTimer','SNAPSHOT_URL_KEY','_sendHeartbeatTimer','_event$','add','&source=','set','format','_map','LIVESHARE_REQUEST_HOST','SessionStatus','entries','executeCommand','_entityInit$','liveShareNewHost','SheetPermissionInitController','batchAllowed','params','clone','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','retryConnectingInterval','LICENSE_DISTRO_REJECTED','SNAPSHOT_SERVER_URL_KEY','mode','reduce','subject','data','mixIn','onMissingChangesets','ivSize','/universer-api/snapshot','_compressMutationService','HMAC','updateMember','Base','getActiveSheet','_roomMembers','getWorkbookSelections','RETRY_CONNECTING_MAX_COUNT','isArray','_transitionLocked','collaboration-client.local-cache-service','allowed','APPLY_DUPLICATED'];_0x3686=function(){return _0x175f97;};return _0x3686();}var Q=(_0x4ee8d1=>(_0x4ee8d1[_0x4877c9(0x383)]='OTHER_CLIENT_EDITING',_0x4ee8d1[_0x4877c9(0x24f)]='PERMISSION_DENIED',_0x4ee8d1[_0x4877c9(0x162)]=_0x4877c9(0x162),_0x4ee8d1[_0x4877c9(0x45e)]=_0x4877c9(0x45e),_0x4ee8d1[_0x4877c9(0x36d)]='JOIN_ROOM_FAILED',_0x4ee8d1[_0x4877c9(0x173)]=_0x4877c9(0x173),_0x4ee8d1['SOCKET_FAILED']=_0x4877c9(0x459),_0x4ee8d1[_0x4877c9(0x165)]=_0x4877c9(0x165),_0x4ee8d1))(Q||{});class te{constructor(){var _0x3b62a0=_0x4877c9;A(this,'_event$',new j[(_0x3b62a0(0x2aa))]()),A(this,_0x3b62a0(0x19a),this[_0x3b62a0(0x2c6)][_0x3b62a0(0x134)]());}['emitEvent'](_0x5e8c74){var _0x4ce705=_0x4877c9;this['_event$'][_0x4ce705(0x46f)](_0x5e8c74);}}const bt=a[_0x4877c9(0x229)](_0x4877c9(0x26b));function Rt(_0x33055f){var _0x48cc1f=_0x4877c9,_0x55e5e5,_0x340c35,_0x165830,_0x51e71e,_0x17d403;const _0x254eec=_0x33055f[_0x48cc1f(0x2dd)],_0x227c3c=JSON[_0x48cc1f(0x458)](_0x254eec);switch(_0x227c3c[_0x48cc1f(0x1f5)]){case W[_0x48cc1f(0x147)]:case W[_0x48cc1f(0x319)]:{const _0x14df0e=_0x227c3c['infoRsp'];return{..._0x227c3c,'data':_0x14df0e,'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};}case W['JOIN']:{const _0x51a1ca=_0x227c3c[_0x48cc1f(0x435)];return{..._0x227c3c,'data':_0x51a1ca,'cmd':_0x227c3c['cmd']};}case W[_0x48cc1f(0x1f9)]:{const _0x47f098=_0x227c3c['collaMsg'];switch(_0x47f098[_0x48cc1f(0x24c)]){case g[_0x48cc1f(0x1f6)]['PERMISSION_REJ']:return{..._0x227c3c,'data':{..._0x47f098,'data':(_0x55e5e5=_0x47f098[_0x48cc1f(0x200)])==null?void 0x0:_0x55e5e5['cs']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x24a)]:return{..._0x227c3c,'data':{..._0x47f098,'data':(_0x340c35=_0x47f098[_0x48cc1f(0x262)])==null?void 0x0:_0x340c35['cs']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)]['NEW_CHANGESETS']:return{..._0x227c3c,'data':{..._0x47f098,'data':(_0x165830=_0x47f098[_0x48cc1f(0x327)])==null?void 0x0:_0x165830['cs']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g['CollaborationEvent']['CHANGESET_REJ']:return{..._0x227c3c,'data':{..._0x47f098,'data':(_0x51e71e=_0x47f098[_0x48cc1f(0x131)])==null?void 0x0:_0x51e71e['cs']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g['CollaborationEvent'][_0x48cc1f(0x298)]:return{..._0x227c3c,'data':{..._0x47f098,'data':(_0x17d403=_0x47f098['csShouldRetryEvent'])==null?void 0x0:_0x17d403['cs']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x26d)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x29b)]},'cmd':_0x227c3c['cmd']};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x31f)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x44c)]},'cmd':_0x227c3c['cmd']};case g[_0x48cc1f(0x1f6)]['USERS_LEAVE']:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x2f6)]},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x3ec)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098['liveShareNewHost']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x449)]:case g['CollaborationEvent'][_0x48cc1f(0x1c6)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x467)]},'cmd':_0x227c3c['cmd']};case g['CollaborationEvent'][_0x48cc1f(0x3e2)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x2d1)]},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x12a)]:return{..._0x227c3c,'data':_0x47f098,'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x1bb)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x330)]},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x183)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098['updatePermissionObjEvent']},'cmd':_0x227c3c['cmd']};case g[_0x48cc1f(0x1f6)]['SHOULD_CLOSE_CONN']:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x394)]},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x120)]},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};default:return _0x227c3c;}}default:return _0x227c3c;}}function Ot(_0x458cdd){var _0x2e7a00=_0x4877c9;switch(_0x458cdd[_0x2e7a00(0x1f5)]){case W[_0x2e7a00(0x147)]:case W[_0x2e7a00(0x319)]:return JSON['stringify']({'cmd':_0x458cdd['cmd'],'routeKey':_0x458cdd[_0x2e7a00(0x28c)]});case W['INGEST']:{let _0x28cd26;switch(_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x24c)]){case g[_0x2e7a00(0x1f6)]['UPDATE_CURSOR']:{_0x28cd26={'eventID':g['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x458cdd[_0x2e7a00(0x2dd)]['data']};break;}case g[_0x2e7a00(0x1f6)]['USERS_LEAVE']:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)][_0x2e7a00(0x1b7)],'leaveEvent':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x2dd)]};break;}case g[_0x2e7a00(0x1f6)][_0x2e7a00(0x31f)]:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)]['USERS_ENTER'],'joinEvent':_0x458cdd['data'][_0x2e7a00(0x2dd)]};break;}case g[_0x2e7a00(0x1f6)][_0x2e7a00(0x3ec)]:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)][_0x2e7a00(0x3ec)],'liveShareNewHost':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x2dd)]};break;}case g[_0x2e7a00(0x1f6)]['LIVESHARE_OPERATION']:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x2dd)]};break;}case g[_0x2e7a00(0x1f6)][_0x2e7a00(0x3e2)]:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x2dd)]};break;}case g[_0x2e7a00(0x1f6)][_0x2e7a00(0x2cc)]:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)][_0x2e7a00(0x2cc)],'liveShareRequestHost':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x2dd)]};break;}case g['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x28cd26={'eventID':g['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x28cd26={'eventID':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x24c)]};}return JSON[_0x2e7a00(0x481)]({'cmd':_0x458cdd[_0x2e7a00(0x1f5)],'routeKey':_0x458cdd['routeKey'],'collaMsg':_0x28cd26});}case W[_0x2e7a00(0x366)]:return JSON['stringify']({'cmd':_0x458cdd[_0x2e7a00(0x1f5)],'routeKey':_0x458cdd[_0x2e7a00(0x28c)],'joinReq':_0x458cdd[_0x2e7a00(0x2dd)]});case W[_0x2e7a00(0x3fa)]:return JSON[_0x2e7a00(0x481)]({'cmd':_0x458cdd[_0x2e7a00(0x1f5)],'routeKey':_0x458cdd[_0x2e7a00(0x28c)],'leaveReq':_0x458cdd['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object[_0x4877c9(0x2ac)],Zt=(_0x223e60,_0x22818b,_0xc6c219,_0x25390e)=>{var _0x5ac95f=_0x4877c9;for(var _0x32c73a=_0x25390e>0x1?void 0x0:_0x25390e?Xt(_0x22818b,_0xc6c219):_0x22818b,_0x55c1dc=_0x223e60[_0x5ac95f(0x374)]-0x1,_0x38fd1;_0x55c1dc>=0x0;_0x55c1dc--)(_0x38fd1=_0x223e60[_0x55c1dc])&&(_0x32c73a=_0x38fd1(_0x32c73a)||_0x32c73a);return _0x32c73a;},le=(_0x58930e,_0x2254ee)=>(_0xe2c4b6,_0x2f9e5e)=>_0x2254ee(_0xe2c4b6,_0x2f9e5e,_0x58930e);const $e=a[_0x4877c9(0x229)](_0x4877c9(0x3ab));function Qt(_0x3d8e5d,_0x8f53ff,_0x205ae5){var _0x23c08e=_0x4877c9;return _0x3d8e5d+'/'+_0x8f53ff+_0x23c08e(0x380)+_0x205ae5+_0x23c08e(0x149);}exports[_0x4877c9(0x43b)]=class extends a[_0x4877c9(0x21e)]{constructor(_0xf09ac,_0x23d66a,_0x351dc4,_0x17ba92,_0x5a5372){var _0x363cf2=_0x4877c9;super(),this[_0x363cf2(0x16d)]=_0xf09ac,this[_0x363cf2(0x30e)]=_0x23d66a,this[_0x363cf2(0x401)]=_0x351dc4,this[_0x363cf2(0x14f)]=_0x17ba92,this[_0x363cf2(0x126)]=_0x5a5372;}[_0x4877c9(0x3e4)](_0x377730){var _0x1e1c41=_0x4877c9;const _0x322706=this[_0x1e1c41(0x16d)][_0x1e1c41(0x208)](q[_0x1e1c41(0x3de)]);if(!_0x322706)throw new Error(_0x1e1c41(0x331));const _0x386a9c=_0x322706[_0x1e1c41(0x1b3)](_0x377730);if(!_0x386a9c)throw new Error(_0x1e1c41(0x391));const _0x44a9f0=new a[(_0x1e1c41(0x181))](),_0x5a5e78=new j['Subject']();_0x44a9f0[_0x1e1c41(0x2c7)](_0x386a9c[_0x1e1c41(0x204)][_0x1e1c41(0x1e1)](_0x363849=>_0x5a5e78[_0x1e1c41(0x46f)](_0x363849))),_0x44a9f0['add'](a[_0x1e1c41(0x23a)](()=>_0x5a5e78[_0x1e1c41(0x3c9)]()));const _0x24aded=new j[(_0x1e1c41(0x2aa))]();_0x44a9f0[_0x1e1c41(0x2c7)](_0x386a9c['error$'][_0x1e1c41(0x1e1)](_0x210e48=>_0x24aded[_0x1e1c41(0x46f)](_0x210e48))),_0x44a9f0[_0x1e1c41(0x2c7)](a['toDisposable'](()=>_0x24aded[_0x1e1c41(0x3c9)]()));const _0x2760c5=new j['Subject']();_0x44a9f0[_0x1e1c41(0x2c7)](_0x386a9c['message$'][_0x1e1c41(0x1e1)](_0x5c3ab4=>{var _0x12f726=_0x1e1c41;const _0x252890=Rt(_0x5c3ab4);_0x2760c5[_0x12f726(0x46f)](_0x252890);})),_0x44a9f0[_0x1e1c41(0x2c7)](a['toDisposable'](()=>_0x2760c5['complete']()));let _0x577503;const _0x4d301e=()=>{var _0x3010b1=_0x1e1c41;_0x24aded['next'](new Event(_0x3010b1(0x3bb))),_0x5a5e78['next'](new Event(_0x3010b1(0x3bb))),_0x577503['close']();};return _0x577503={'memberID':'','close$':_0x5a5e78[_0x1e1c41(0x134)](),'error$':_0x24aded[_0x1e1c41(0x134)](),'open$':_0x386a9c['open$'],'message$':_0x2760c5[_0x1e1c41(0x134)](),'send':_0x584303=>{var _0x451d3c=_0x1e1c41;if(_0x584303['cmd']===W[_0x451d3c(0x43a)]){if(_0x584303[_0x451d3c(0x2dd)][_0x451d3c(0x24c)]===g[_0x451d3c(0x1f6)][_0x451d3c(0x312)]){this[_0x451d3c(0x20a)](_0x577503,_0x584303['data'])[_0x451d3c(0x292)](_0x42fac7=>{var _0x1566e0=_0x451d3c;this[_0x1566e0(0x14f)][_0x1566e0(0x44d)](_0x42fac7),_0x4d301e();});return;}if(_0x584303[_0x451d3c(0x2dd)]['eventID']===g[_0x451d3c(0x1f6)][_0x451d3c(0x3cb)]){const _0x3fc810=_0x584303[_0x451d3c(0x2dd)];this[_0x451d3c(0x2f2)](_0x3fc810)[_0x451d3c(0x32e)](_0x562ada=>{var _0x410c99=_0x451d3c;_0x2760c5[_0x410c99(0x46f)]({'cmd':W[_0x410c99(0x1f9)],'code':ae['OK'],'routeKey':_0x3fc810[_0x410c99(0x2dd)][_0x410c99(0x1bd)],'routeType':'','data':{'eventID':g[_0x410c99(0x1f6)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x562ada}}});})[_0x451d3c(0x292)](_0x178300=>{var _0x5e77da=_0x451d3c;this[_0x5e77da(0x14f)][_0x5e77da(0x44d)](_0x178300),_0x4d301e();});return;}}_0x386a9c['send'](Ot(_0x584303));},'close':()=>{var _0x241517=_0x1e1c41;_0x386a9c[_0x241517(0x11a)](),_0x44a9f0[_0x241517(0x132)]();}},_0x577503;}async[_0x4877c9(0x20a)](_0xe7d3df,_0x5b8a72){var _0x1006ee=_0x4877c9,_0x11e51d,_0x4ec79e;const {unitType:_0x4e3a63,unitID:_0x19c913,changeset:_0x586969}=_0x5b8a72[_0x1006ee(0x2dd)],_0x209225={'unitID':_0x19c913,'memberID':_0xe7d3df['memberID'],'type':_0x4e3a63,'changeset':g[_0x1006ee(0x236)](_0x586969)},_0x5277c0=this[_0x1006ee(0x401)][_0x1006ee(0x1f7)](mt),_0x298b79=this[_0x1006ee(0x401)][_0x1006ee(0x1f7)](Y),_0x42a85a=Qt((_0x4ec79e=(_0x11e51d=_0x298b79==null?void 0x0:_0x298b79['collabSubmitChangesetUrl'])!=null?_0x11e51d:_0x5277c0)!=null?_0x4ec79e:Kt,_0x4e3a63,_0x19c913);try{await this[_0x1006ee(0x30e)][_0x1006ee(0x140)](_0x42a85a,{'body':_0x209225});}catch(_0x335b17){throw this[_0x1006ee(0x14f)][_0x1006ee(0x44d)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x335b17;}}async['_fetchMissChangesets'](_0x571eee){var _0x481ed8=_0x4877c9;const {unitID:_0x3c5d36,from:_0x56e858,to:_0x3cf16a,unitType:_0x5373d1}=_0x571eee['data'];return(await this[_0x481ed8(0x126)][_0x481ed8(0x490)]({'metadata':void 0x0},{'unitID':_0x3c5d36,'type':_0x5373d1,'from':_0x56e858,'to':_0x3cf16a}))[_0x481ed8(0x44e)];}},exports[_0x4877c9(0x43b)]=Zt([le(0x0,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),le(0x1,a[_0x4877c9(0x385)](q[_0x4877c9(0x2bf)])),le(0x2,a[_0x4877c9(0x1a9)]),le(0x3,a['ILogService']),le(0x4,g[_0x4877c9(0x30a)])],exports[_0x4877c9(0x43b)]);const ei=_0x4877c9(0x3bc);function ti(_0x4734d3){var _0x415f6f=_0x4877c9;return JSON[_0x415f6f(0x481)](_0x4734d3)[_0x415f6f(0x374)];}class Be{constructor(){var _0x460701=_0x4877c9;A(this,_0x460701(0x136),new j[(_0x460701(0x2aa))]()),A(this,_0x460701(0x14e),this[_0x460701(0x136)]['asObservable']());}['onCommentUpdate'](_0x39c2a6){var _0x1a04d4=_0x4877c9;this[_0x1a04d4(0x136)][_0x1a04d4(0x46f)](_0x39c2a6);}}var ii=Object[_0x4877c9(0x2ac)],ni=(_0x2b95b8,_0x2819f4,_0x4f5e13,_0x239e99)=>{var _0x5d2058=_0x4877c9;for(var _0xedc84b=_0x239e99>0x1?void 0x0:_0x239e99?ii(_0x2819f4,_0x4f5e13):_0x2819f4,_0x45785e=_0x2b95b8[_0x5d2058(0x374)]-0x1,_0x482231;_0x45785e>=0x0;_0x45785e--)(_0x482231=_0x2b95b8[_0x45785e])&&(_0xedc84b=_0x482231(_0xedc84b)||_0xedc84b);return _0xedc84b;},Ke=(_0x599e6a,_0x10545c)=>(_0x35bdda,_0x5dac18)=>_0x10545c(_0x35bdda,_0x5dac18,_0x599e6a);exports[_0x4877c9(0x3f7)]=class extends a[_0x4877c9(0x21e)]{constructor(_0x3302bb,_0x8484f6){var _0x544b57=_0x4877c9;super(),A(this,_0x544b57(0x2e7),new Map()),A(this,_0x544b57(0x192),new j[(_0x544b57(0x2aa))]()),(this[_0x544b57(0x244)]=_0x3302bb,this['_userManagerService']=_0x8484f6,this['disposeWithMe'](j['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x544b57(0x402)][_0x544b57(0x40d)])[_0x544b57(0x432)](V[_0x544b57(0x3df)](_0x44df47=>_0x44df47[_0x544b57(0x217)]())),this[_0x544b57(0x244)]['getTypeOfUnitDisposed$'](a[_0x544b57(0x402)][_0x544b57(0x29f)])['pipe'](V[_0x544b57(0x3df)](_0x55c8ba=>_0x55c8ba[_0x544b57(0x217)]())),this[_0x544b57(0x244)][_0x544b57(0x17c)](a[_0x544b57(0x402)][_0x544b57(0x240)])[_0x544b57(0x432)](V['map'](_0x43bf45=>_0x43bf45['getUnitId']())))['subscribe'](_0x175009=>this[_0x544b57(0x1db)](_0x175009))));}[_0x4877c9(0x1a2)](_0x203a31){var _0x31a5f0=_0x4877c9;return this['_roomMembers'][_0x31a5f0(0x3ce)](_0x203a31)?j['of'](this['_roomMembers'][_0x31a5f0(0x208)](_0x203a31)):this[_0x31a5f0(0x192)][_0x31a5f0(0x432)](V[_0x31a5f0(0x3df)](_0x1c8ccf=>{var _0x54cba0=_0x31a5f0;if(_0x1c8ccf===_0x203a31)return this[_0x54cba0(0x2e7)][_0x54cba0(0x208)](_0x1c8ccf);}));}[_0x4877c9(0x1b1)](_0x451f7e){var _0x1c0f22=_0x4877c9;this[_0x1c0f22(0x415)]['setCurrentUser'](_0x451f7e);}[_0x4877c9(0x486)](){var _0xe8cc42=_0x4877c9;return this[_0xe8cc42(0x415)]['getCurrentUser']();}[_0x4877c9(0x2e4)](_0x2c6a73,_0x625d1){var _0x2147b3=_0x4877c9;let _0x3dda44=this['_roomMembers']['get'](_0x2c6a73);_0x3dda44||(_0x3dda44=new ri(),this[_0x2147b3(0x2e7)]['set'](_0x2c6a73,_0x3dda44),this[_0x2147b3(0x192)][_0x2147b3(0x46f)](_0x2c6a73)),_0x3dda44[_0x2147b3(0x2e4)](_0x625d1);}[_0x4877c9(0x411)](_0x1dd9c4,_0x2e87cd){var _0x5735fb=_0x4877c9;const _0x1afd94=this['_roomMembers'][_0x5735fb(0x208)](_0x1dd9c4);_0x1afd94&&_0x1afd94[_0x5735fb(0x411)](_0x2e87cd);}[_0x4877c9(0x2a3)](_0x2fef8b){var _0x53f763=_0x4877c9;return this[_0x53f763(0x2e7)][_0x53f763(0x208)](_0x2fef8b);}[_0x4877c9(0x16f)](_0x1116de,_0x1cca1d){var _0x397121=_0x4877c9;const _0x436e7b=this[_0x397121(0x2e7)][_0x397121(0x208)](_0x1116de);if(_0x436e7b)return _0x436e7b[_0x397121(0x16f)](_0x1cca1d);}[_0x4877c9(0x1db)](_0x214d90){var _0x75d526=_0x4877c9;const _0x1c30c0=this[_0x75d526(0x2e7)][_0x75d526(0x208)](_0x214d90);_0x1c30c0&&(_0x1c30c0[_0x75d526(0x132)](),this['_roomMembers'][_0x75d526(0x483)](_0x214d90));}[_0x4877c9(0x132)](){var _0x20d548=_0x4877c9;this[_0x20d548(0x2e7)][_0x20d548(0x348)](_0x489a28=>_0x489a28['dispose']()),this['_roomMembers']['clear'](),this[_0x20d548(0x192)][_0x20d548(0x3c9)]();}},exports[_0x4877c9(0x3f7)]=ni([Ke(0x0,a[_0x4877c9(0x2ff)]),Ke(0x1,a[_0x4877c9(0x385)](a[_0x4877c9(0x447)]))],exports[_0x4877c9(0x3f7)]);class ri extends a[_0x4877c9(0x21e)]{constructor(){var _0x4de8f6=_0x4877c9;super(...arguments),A(this,_0x4de8f6(0x19b),new Map()),A(this,_0x4de8f6(0x463),new j['BehaviorSubject'](this[_0x4de8f6(0x19b)])),A(this,'members$',this[_0x4de8f6(0x463)][_0x4de8f6(0x134)]());}[_0x4877c9(0x132)](){var _0x4b0498=_0x4877c9;this[_0x4b0498(0x19b)][_0x4b0498(0x3d8)]();}[_0x4877c9(0x2e4)](_0x220447){var _0x42f0b5=_0x4877c9;this[_0x42f0b5(0x19b)][_0x42f0b5(0x2c9)](_0x220447[_0x42f0b5(0x433)],_0x220447),this['_emitMembers']();}['removeMember'](_0x8073fc){this['_members']['delete'](_0x8073fc);}['getMember'](_0x504526){var _0x27877a=_0x4877c9;return this[_0x27877a(0x19b)][_0x27877a(0x208)](_0x504526);}[_0x4877c9(0x3c4)](){var _0x4d1b56=_0x4877c9;return Array[_0x4d1b56(0x35b)](this[_0x4d1b56(0x19b)][_0x4d1b56(0x270)]());}[_0x4877c9(0x32f)](){var _0x3b026c=_0x4877c9;this[_0x3b026c(0x463)][_0x3b026c(0x46f)](this[_0x3b026c(0x19b)]);}}var si=Object[_0x4877c9(0x2ac)],oi=(_0x27dfa6,_0x235a2c,_0x43147d,_0x1c2453)=>{for(var _0x1529b6=_0x1c2453>0x1?void 0x0:_0x1c2453?si(_0x235a2c,_0x43147d):_0x235a2c,_0x80621a=_0x27dfa6['length']-0x1,_0x283346;_0x80621a>=0x0;_0x80621a--)(_0x283346=_0x27dfa6[_0x80621a])&&(_0x1529b6=_0x283346(_0x1529b6)||_0x1529b6);return _0x1529b6;},oe=(_0x1ff9ce,_0x51d623)=>(_0x600809,_0x334603)=>_0x51d623(_0x600809,_0x334603,_0x1ff9ce),se=(_0x57613f=>(_0x57613f[_0x57613f[_0x4877c9(0x22d)]=0x0]=_0x4877c9(0x22d),_0x57613f[_0x57613f[_0x4877c9(0x40b)]=0x1]=_0x4877c9(0x40b),_0x57613f[_0x57613f[_0x4877c9(0x41c)]=0x2]=_0x4877c9(0x41c),_0x57613f[_0x57613f[_0x4877c9(0x24d)]=0x3]='ONLINE',_0x57613f))(se||{});const Ye={[ae[_0x4877c9(0x250)]]:'session.join-failed',[ae[_0x4877c9(0x176)]]:'session.room-full',[ae[_0x4877c9(0x175)]]:_0x4877c9(0x247),[ae[_0x4877c9(0x46e)]]:_0x4877c9(0x351),[ae[_0x4877c9(0x3a2)]]:_0x4877c9(0x1ae)};exports['CollaborationSession']=class extends a['RxDisposable']{constructor(_0x3e9f1c,_0x30fe9c,_0x13029a,_0x4e5e5f,_0x518a35,_0x421314,_0x2d8c06,_0xf64a43,_0x63bd08){var _0x257125=_0x4877c9;super(),A(this,_0x257125(0x17d),new j['BehaviorSubject'](0x0)),A(this,_0x257125(0x2f1),this[_0x257125(0x17d)]['asObservable']()),A(this,_0x257125(0x2c6),new j[(_0x257125(0x2aa))]()),A(this,_0x257125(0x19a),this['_event$']['asObservable']()),A(this,_0x257125(0x41d)),A(this,_0x257125(0x412)),A(this,_0x257125(0x478)),A(this,_0x257125(0x332),!0x1),A(this,_0x257125(0x268),null),(this[_0x257125(0x451)]=_0x3e9f1c,this[_0x257125(0x14f)]=_0x13029a,this[_0x257125(0x401)]=_0x4e5e5f,this['_localeService']=_0x518a35,this[_0x257125(0x3b9)]=_0x421314,this[_0x257125(0x25f)]=_0x2d8c06,this['_collaborationUIEventService']=_0xf64a43,this[_0x257125(0x410)]=_0x63bd08,this[_0x257125(0x332)]=!!this[_0x257125(0x410)],_0x30fe9c[_0x257125(0x432)](j[_0x257125(0x293)](this[_0x257125(0x42f)]))[_0x257125(0x1e1)](_0x211792=>{var _0x37966a=_0x257125,_0x36fd6c;typeof _0x211792>'u'||(this[_0x37966a(0x41d)]=_0x211792,_0x211792?(this['_joinRoom'](_0x211792),this[_0x37966a(0x412)]=_0x211792['message$'][_0x37966a(0x1e1)](_0x361b22=>{var _0x59218b=_0x37966a;_0x361b22[_0x59218b(0x28c)]===this[_0x59218b(0x451)]&&this[_0x59218b(0x201)](_0x361b22);})):(this[_0x37966a(0x264)](),this['_sessionStatus$']['next'](0x2),(_0x36fd6c=this['_socketMessageSubscription'])==null||_0x36fd6c[_0x37966a(0x2fd)](),this[_0x37966a(0x412)]=null));}));}get[_0x4877c9(0x267)](){var _0x1d9f3b=_0x4877c9;return this[_0x1d9f3b(0x17d)][_0x1d9f3b(0x31a)]();}[_0x4877c9(0x36c)](){var _0x4e2ff2=_0x4877c9,_0x466b67,_0x9bd83e;return(_0x9bd83e=(_0x466b67=this[_0x4e2ff2(0x41d)])==null?void 0x0:_0x466b67[_0x4e2ff2(0x433)])!=null?_0x9bd83e:null;}['dispose'](){var _0x1371b4=_0x4877c9;super[_0x1371b4(0x132)](),this[_0x1371b4(0x42f)][_0x1371b4(0x46f)](),this['dispose$']['complete']();}[_0x4877c9(0x11a)](){var _0x3fd2e7=_0x4877c9,_0x6543bb,_0x5771bf;this[_0x3fd2e7(0x264)](),(_0x6543bb=this['_socket'])==null||_0x6543bb['send']({'cmd':W[_0x3fd2e7(0x3fa)],'data':{'roomID':this[_0x3fd2e7(0x451)]}}),(_0x5771bf=this['_socket'])==null||_0x5771bf['close'](),this[_0x3fd2e7(0x2c6)][_0x3fd2e7(0x3c9)](),this['_sessionStatus$'][_0x3fd2e7(0x3c9)](),this[_0x3fd2e7(0x132)]();}[_0x4877c9(0x201)](_0x208f3f){var _0x1c978c=_0x4877c9;_0x208f3f[_0x1c978c(0x1f5)]===W[_0x1c978c(0x366)]?this['_onJoinRoomEvent'](_0x208f3f):_0x208f3f[_0x1c978c(0x1f5)]===W[_0x1c978c(0x1f9)]&&this['_onRecvEvent'](_0x208f3f);}[_0x4877c9(0x345)](_0x46c583){var _0x1cd53b=_0x4877c9;this['_sessionStatus$']['next'](0x1),_0x46c583['send']({'cmd':W[_0x1cd53b(0x366)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1cd53b(0x451)]}]}});}['_onJoinRoomEvent'](_0x4705e9){var _0x44d5fa=_0x4877c9,_0x3ccc60;if(_0x4705e9[_0x44d5fa(0x406)]in Ye){this[_0x44d5fa(0x123)][_0x44d5fa(0x3fb)]({'id':Q[_0x44d5fa(0x36d)],'data':Ye[_0x4705e9[_0x44d5fa(0x406)]]}),this['_sessionStatus$'][_0x44d5fa(0x46f)](0x2);return;}this[_0x44d5fa(0x17d)][_0x44d5fa(0x46f)](0x3);const _0x1ce789=(_0x3ccc60=_0x4705e9['data']['roomInfos'][this[_0x44d5fa(0x451)]])==null?void 0x0:_0x3ccc60[_0x44d5fa(0x365)];_0x1ce789&&_0x1ce789[_0x44d5fa(0x348)](_0x56ab63=>this[_0x44d5fa(0x3b9)][_0x44d5fa(0x2e4)](this[_0x44d5fa(0x451)],_0x56ab63));}['_onRecvEvent'](_0x4e395f){var _0x3532a6=_0x4877c9;try{const _0xb6f22c=_0x4e395f[_0x3532a6(0x2dd)];switch(_0xb6f22c[_0x3532a6(0x24c)]){case g[_0x3532a6(0x1f6)][_0x3532a6(0x31f)]:this[_0x3532a6(0x2b5)](_0xb6f22c),this['_event$']['next'](_0xb6f22c);break;case g[_0x3532a6(0x1f6)][_0x3532a6(0x1b7)]:this['_onUserLeave'](_0xb6f22c),this[_0x3532a6(0x2c6)][_0x3532a6(0x46f)](_0xb6f22c);break;case g[_0x3532a6(0x1f6)][_0x3532a6(0x24a)]:case g[_0x3532a6(0x1f6)][_0x3532a6(0x298)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3532a6(0x2c3)](),this[_0x3532a6(0x2c6)][_0x3532a6(0x46f)](_0xb6f22c);break;case g[_0x3532a6(0x1f6)][_0x3532a6(0x12a)]:this[_0x3532a6(0x14f)]['error'](_0x3532a6(0x489)+JSON[_0x3532a6(0x481)](_0xb6f22c)),this[_0x3532a6(0x2c6)][_0x3532a6(0x46f)](_0xb6f22c);break;case g[_0x3532a6(0x1f6)][_0x3532a6(0x1bb)]:this[_0x3532a6(0x25f)][_0x3532a6(0x133)](_0xb6f22c[_0x3532a6(0x2dd)]),this['_event$']['next'](_0xb6f22c);break;default:this[_0x3532a6(0x2c6)][_0x3532a6(0x46f)](_0xb6f22c);}}catch(_0x3f1d31){this[_0x3532a6(0x14f)][_0x3532a6(0x44d)](_0x3f1d31,_0x4e395f);}}[_0x4877c9(0x2b5)](_0x37181f){var _0x1164a5=_0x4877c9;this[_0x1164a5(0x3b9)][_0x1164a5(0x2e4)](this[_0x1164a5(0x451)],_0x37181f['data']);}[_0x4877c9(0x281)](_0x6b6c33){var _0x2a9e71=_0x4877c9;this[_0x2a9e71(0x3b9)]['removeMember'](this[_0x2a9e71(0x451)],_0x6b6c33[_0x2a9e71(0x2dd)][_0x2a9e71(0x433)]);}async[_0x4877c9(0x43c)](_0x531914,_0x4692e1){var _0x393ec1=_0x4877c9;if(this[_0x393ec1(0x267)]!==0x3||!this[_0x393ec1(0x41d)])throw new Error(_0x393ec1(0x254));try{_0x531914[_0x393ec1(0x24c)]===g['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x393ec1(0x258)](),this[_0x393ec1(0x434)](_0x531914)),this[_0x393ec1(0x41d)][_0x393ec1(0x43c)]({'cmd':W[_0x393ec1(0x43a)],'routeKey':_0x4692e1,'routeType':'','data':_0x531914});}catch(_0x2bb388){this[_0x393ec1(0x14f)][_0x393ec1(0x44d)](_0x2bb388);}}[_0x4877c9(0x258)](){var _0xec556a=_0x4877c9,_0x4d83c5;this[_0xec556a(0x478)]=setTimeout(()=>{var _0x2ec53e=_0xec556a;this[_0x2ec53e(0x478)]=null,this[_0x2ec53e(0x123)]['emitEvent']({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4d83c5=this[_0xec556a(0x401)]['getConfig'](je))!=null?_0x4d83c5:gt);}[_0x4877c9(0x2c3)](){var _0x137274=_0x4877c9;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x137274(0x478)]),this['_collaborationTimeoutTimer']=null);}[_0x4877c9(0x434)](_0x30ea93){var _0x2dc714=_0x4877c9;if(!this[_0x2dc714(0x332)])return;const {data:_0x1162e2}=_0x30ea93,{unitID:_0x1726fb,changeset:_0x2d1c82}=_0x1162e2,{mutations:_0x45b005,type:_0x29502a}=_0x2d1c82;this[_0x2dc714(0x268)]={'unitId':_0x1726fb,'type':_0x29502a,'startTime':performance[_0x2dc714(0x13f)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x45b005)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xd578cc=_0x4877c9;if(this[_0xd578cc(0x332)]){if(!this[_0xd578cc(0x268)]){this[_0xd578cc(0x14f)][_0xd578cc(0x44d)](_0xd578cc(0x2ba),_0xd578cc(0x39d));return;}this[_0xd578cc(0x268)]['stopTime']=performance[_0xd578cc(0x13f)](),this[_0xd578cc(0x268)][_0xd578cc(0x326)]=this[_0xd578cc(0x268)][_0xd578cc(0x456)]-this['_telemetryInfo'][_0xd578cc(0x1e0)],this[_0xd578cc(0x410)][_0xd578cc(0x48d)](ei,this[_0xd578cc(0x268)]),this[_0xd578cc(0x268)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x10034d=_0x4877c9;this[_0x10034d(0x268)]=null;}},exports[_0x4877c9(0x482)]=oi([oe(0x2,a[_0x4877c9(0x445)]),oe(0x3,a[_0x4877c9(0x1a9)]),oe(0x4,a['Inject'](a['LocaleService'])),oe(0x5,a['Inject'](exports[_0x4877c9(0x3f7)])),oe(0x6,a[_0x4877c9(0x385)](Be)),oe(0x7,a[_0x4877c9(0x385)](te)),oe(0x8,a[_0x4877c9(0x142)](Mt[_0x4877c9(0x1c1)]))],exports[_0x4877c9(0x482)]);var ai=Object[_0x4877c9(0x2ac)],ci=(_0x13c070,_0x47cde2,_0x2366b2,_0x26cd86)=>{var _0x4796d7=_0x4877c9;for(var _0x358765=_0x26cd86>0x1?void 0x0:_0x26cd86?ai(_0x47cde2,_0x2366b2):_0x47cde2,_0x47ec51=_0x13c070[_0x4796d7(0x374)]-0x1,_0x280c9;_0x47ec51>=0x0;_0x47ec51--)(_0x280c9=_0x13c070[_0x47ec51])&&(_0x358765=_0x280c9(_0x358765)||_0x358765);return _0x358765;},_e=(_0xe7a4a6,_0x4ed093)=>(_0x2836ef,_0x40645c)=>_0x4ed093(_0x2836ef,_0x40645c,_0xe7a4a6);exports[_0x4877c9(0x1ca)]=class extends a[_0x4877c9(0x21e)]{constructor(_0x206329,_0x57de5d,_0x4349a3,_0x5db091,_0x2ebab0,_0x39d7dd){var _0x2242ce=_0x4877c9;super(),A(this,_0x2242ce(0x1be),new j['BehaviorSubject'](void 0x0)),A(this,_0x2242ce(0x203),this[_0x2242ce(0x1be)][_0x2242ce(0x134)]()),A(this,'_candidateSocket',null),A(this,_0x2242ce(0x27f),new Map()),A(this,_0x2242ce(0x218),new j['BehaviorSubject'](se[_0x2242ce(0x22d)])),A(this,_0x2242ce(0x2ad),this[_0x2242ce(0x218)][_0x2242ce(0x134)]()),A(this,'_socketReady',!0x1),A(this,_0x2242ce(0x14b)),A(this,_0x2242ce(0x371),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x2242ce(0x1c2)),(this['_injector']=_0x206329,this['_logService']=_0x57de5d,this[_0x2242ce(0x401)]=_0x4349a3,this[_0x2242ce(0x341)]=_0x5db091,this[_0x2242ce(0x123)]=_0x2ebab0,this['_networkConditionService']=_0x39d7dd,this[_0x2242ce(0x309)]());}get[_0x4877c9(0x41d)](){var _0x2e8b5d=_0x4877c9;return this[_0x2e8b5d(0x1be)][_0x2e8b5d(0x31a)]();}[_0x4877c9(0x309)](){var _0x43fe07=_0x4877c9;this['_networkConditionService']&&this[_0x43fe07(0x21a)](this['_networkConditionService'][_0x43fe07(0x12e)][_0x43fe07(0x1e1)](_0x14543e=>{var _0x42d748=_0x43fe07;_0x14543e&&!this[_0x42d748(0x41d)]&&this['reconnect'](),_0x14543e||this['_onOffline']();}));}['dispose'](){var _0x203548=_0x4877c9;super[_0x203548(0x132)](),this['_clearRetryConnectingTimer'](),this[_0x203548(0x12b)](),this['_clearHeartbeatTimer'](),this[_0x203548(0x27f)]['forEach'](_0x46747f=>_0x46747f[_0x203548(0x132)]()),this[_0x203548(0x27f)]['clear'](),this[_0x203548(0x218)]['complete']();}async[_0x4877c9(0x2f4)](_0x2b64c9){var _0x1611a6=_0x4877c9;if(this[_0x1611a6(0x27f)][_0x1611a6(0x3ce)](_0x2b64c9))return this[_0x1611a6(0x27f)][_0x1611a6(0x208)](_0x2b64c9);this['_tryEnsureSocket']();const _0x38b7bb=this[_0x1611a6(0x16d)][_0x1611a6(0x18e)](exports['CollaborationSession'],_0x2b64c9,this['_socket$'][_0x1611a6(0x134)]());return this[_0x1611a6(0x27f)][_0x1611a6(0x2c9)](_0x2b64c9,_0x38b7bb),_0x38b7bb;}[_0x4877c9(0x45a)](_0x2714cf){var _0x4e8cfa=_0x4877c9,_0x4e4ec5;const _0x17d1d8=this[_0x4e8cfa(0x27f)]['get'](_0x2714cf);_0x17d1d8&&(this[_0x4e8cfa(0x27f)][_0x4e8cfa(0x483)](_0x2714cf),_0x17d1d8[_0x4e8cfa(0x11a)]()),this['_sessions'][_0x4e8cfa(0x21f)]||(_0x4e4ec5=this['_socket'])==null||_0x4e4ec5['close']();}[_0x4877c9(0x367)](){var _0x2f2bc7=_0x4877c9;this[_0x2f2bc7(0x371)]=0x0,this[_0x2f2bc7(0x3a5)](),this['_tryReconnect']();}[_0x4877c9(0x3a5)](){var _0x2beb25=_0x4877c9;this[_0x2beb25(0x14b)]!=null&&(clearTimeout(this[_0x2beb25(0x14b)]),this[_0x2beb25(0x14b)]=null);}async[_0x4877c9(0x291)](){var _0xa39b1c=_0x4877c9,_0x26a99c,_0x2a07bf;const _0x51e987=this['_configService'][_0xa39b1c(0x1f7)](St),_0x56afbf=this[_0xa39b1c(0x401)][_0xa39b1c(0x1f7)](Y),_0x25468c=(_0x2a07bf=(_0x26a99c=_0x56afbf==null?void 0x0:_0x56afbf[_0xa39b1c(0x260)])!=null?_0x26a99c:_0x51e987)!=null?_0x2a07bf:ft,_0x46acde=await this[_0xa39b1c(0x341)][_0xa39b1c(0x1b3)](_0x25468c);return this[_0xa39b1c(0x3e1)]=_0x46acde,_0x46acde;}async[_0x4877c9(0x368)](){var _0x18f2d2=_0x4877c9,_0x2ae75a,_0x37c874;try{const _0x288579=(_0x37c874=(_0x2ae75a=this['_socket'])!=null?_0x2ae75a:this[_0x18f2d2(0x3e1)])!=null?_0x37c874:await this[_0x18f2d2(0x291)]();if(_0x288579){const _0x4448db=_0x288579[_0x18f2d2(0x43c)];_0x288579[_0x18f2d2(0x43c)]=_0x3d995e=>(this['_rescheduleHeartbeat'](),_0x4448db[_0x18f2d2(0x466)](_0x288579,[_0x3d995e])),_0x288579[_0x18f2d2(0x116)][_0x18f2d2(0x1e1)](_0x5037c4=>this['_onMessage'](_0x288579,_0x5037c4)),_0x288579[_0x18f2d2(0x11d)]['pipe'](V[_0x18f2d2(0x416)](0x1))['subscribe'](_0x3e26d5=>this[_0x18f2d2(0x14f)][_0x18f2d2(0x44d)](_0x18f2d2(0x397),_0x3e26d5)),_0x288579[_0x18f2d2(0x3d6)]['pipe'](V[_0x18f2d2(0x416)](0x1))[_0x18f2d2(0x1e1)](()=>{var _0x2b85c7=_0x18f2d2;this[_0x2b85c7(0x135)](_0x288579);}),_0x288579[_0x18f2d2(0x204)][_0x18f2d2(0x432)](V[_0x18f2d2(0x416)](0x1))['subscribe'](_0x4ad053=>{var _0x3ab6cd=_0x18f2d2;this[_0x3ab6cd(0x14f)][_0x3ab6cd(0x223)](_0x3ab6cd(0x457),_0x3ab6cd(0x16b),_0x4ad053),this[_0x3ab6cd(0x3aa)]();});}}catch(_0x280d31){this[_0x18f2d2(0x14f)][_0x18f2d2(0x44d)](_0x280d31),this[_0x18f2d2(0x3aa)]();}}[_0x4877c9(0x135)](_0x78f2de){var _0x7f8148=_0x4877c9;this[_0x7f8148(0x14f)][_0x7f8148(0x223)]('[CollaborationSessionService]',_0x7f8148(0x27d)),_0x78f2de[_0x7f8148(0x43c)]({'cmd':W['HELLO']}),this[_0x7f8148(0x440)]();}[_0x4877c9(0x130)](){var _0x4cbb62=_0x4877c9;this[_0x4cbb62(0x3f8)]=!0x1,this[_0x4cbb62(0x3e1)]=null,this[_0x4cbb62(0x218)]['next'](se['OFFLINE']),this[_0x4cbb62(0x1be)][_0x4cbb62(0x46f)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x49324c=_0x4877c9,_0x127b83;this[_0x49324c(0x130)](),this[_0x49324c(0x371)]<((_0x127b83=this[_0x49324c(0x401)][_0x49324c(0x1f7)](It))!=null?_0x127b83:Vt)?(this[_0x49324c(0x123)][_0x49324c(0x3fb)]({'id':Q[_0x49324c(0x173)]}),this[_0x49324c(0x186)]()):this['_collaborationUIEventService'][_0x49324c(0x3fb)]({'id':Q[_0x49324c(0x459)]});}[_0x4877c9(0x186)](){var _0x2884dc=_0x4877c9,_0x1e9e7d;const _0x2c88f3=this['_retryCount'],_0x383d86=this['_configService'][_0x2884dc(0x1f7)](Y),_0x51347d=_0x2c88f3===0x0?0x0:((_0x1e9e7d=_0x383d86==null?void 0x0:_0x383d86[_0x2884dc(0x2d7)])!=null?_0x1e9e7d:Ft)*0x2**_0x2c88f3;this[_0x2884dc(0x14b)]=setTimeout(()=>{var _0x22a77b=_0x2884dc;clearTimeout(this['_retryConnectingTimer']),this[_0x22a77b(0x14b)]=null,this[_0x22a77b(0x368)]();},_0x51347d),this[_0x2884dc(0x371)]+=0x1;}['_onMessage'](_0x4476a1,_0x4cbff8){var _0x5a5a93=_0x4877c9;const {cmd:_0x2bfaca}=_0x4cbff8;_0x2bfaca===W[_0x5a5a93(0x319)]&&!this[_0x5a5a93(0x3f8)]&&(_0x4476a1[_0x5a5a93(0x433)]=_0x4cbff8[_0x5a5a93(0x2dd)][_0x5a5a93(0x433)],this[_0x5a5a93(0x1be)]['next'](_0x4476a1),this[_0x5a5a93(0x218)]['next'](se['ONLINE']),this['_socketReady']=!0x0,this[_0x5a5a93(0x3e1)]=null),_0x2bfaca===W[_0x5a5a93(0x147)]&&this[_0x5a5a93(0x12b)](),this[_0x5a5a93(0x440)]();}[_0x4877c9(0x440)](){var _0x457095=_0x4877c9,_0x4879e4;this[_0x457095(0x44b)](),this[_0x457095(0x2c5)]=setTimeout(()=>this[_0x457095(0x30b)](),(_0x4879e4=this[_0x457095(0x401)]['getConfig'](pt))!=null?_0x4879e4:Bt);}[_0x4877c9(0x30b)](){var _0x32b575=_0x4877c9;this[_0x32b575(0x41d)][_0x32b575(0x43c)]({'cmd':W[_0x32b575(0x147)]}),this[_0x32b575(0x15c)]();}[_0x4877c9(0x15c)](){var _0x2f4aa7=_0x4877c9,_0x1372e4;this['_timeoutTimer']=setTimeout(()=>this[_0x2f4aa7(0x3aa)](),(_0x1372e4=this['_configService']['getConfig'](je))!=null?_0x1372e4:gt);}[_0x4877c9(0x44b)](){var _0x561cd9=_0x4877c9;this[_0x561cd9(0x2c5)]!=null&&(clearTimeout(this[_0x561cd9(0x2c5)]),this[_0x561cd9(0x2c5)]=null);}[_0x4877c9(0x12b)](){var _0x1cc066=_0x4877c9;this[_0x1cc066(0x1c2)]!=null&&(clearTimeout(this[_0x1cc066(0x1c2)]),this[_0x1cc066(0x1c2)]=null);}},exports[_0x4877c9(0x1ca)]=ci([_e(0x0,a[_0x4877c9(0x385)](a['Injector'])),_e(0x1,a[_0x4877c9(0x445)]),_e(0x2,a[_0x4877c9(0x1a9)]),_e(0x3,$e),_e(0x4,a['Inject'](te)),_e(0x5,a[_0x4877c9(0x142)](bt))],exports['CollaborationSessionService']);const G=[];for(let n=0x0;n<0x100;++n)G[_0x4877c9(0x3f5)]((n+0x100)[_0x4877c9(0x1c3)](0x10)[_0x4877c9(0x32a)](0x1));function hi(_0x513685,_0x5a0d03=0x0){var _0x16fbea=_0x4877c9;return(G[_0x513685[_0x5a0d03+0x0]]+G[_0x513685[_0x5a0d03+0x1]]+G[_0x513685[_0x5a0d03+0x2]]+G[_0x513685[_0x5a0d03+0x3]]+'-'+G[_0x513685[_0x5a0d03+0x4]]+G[_0x513685[_0x5a0d03+0x5]]+'-'+G[_0x513685[_0x5a0d03+0x6]]+G[_0x513685[_0x5a0d03+0x7]]+'-'+G[_0x513685[_0x5a0d03+0x8]]+G[_0x513685[_0x5a0d03+0x9]]+'-'+G[_0x513685[_0x5a0d03+0xa]]+G[_0x513685[_0x5a0d03+0xb]]+G[_0x513685[_0x5a0d03+0xc]]+G[_0x513685[_0x5a0d03+0xd]]+G[_0x513685[_0x5a0d03+0xe]]+G[_0x513685[_0x5a0d03+0xf]])[_0x16fbea(0x3e9)]();}function _0x38be(_0xd996f8,_0x3b5303){var _0x3686a5=_0x3686();return _0x38be=function(_0x38be57,_0x3674b9){_0x38be57=_0x38be57-0x113;var _0x5c5ec2=_0x3686a5[_0x38be57];return _0x5c5ec2;},_0x38be(_0xd996f8,_0x3b5303);}let De;const _i=new Uint8Array(0x10);function li(){var _0x18b9c5=_0x4877c9;if(!De){if(typeof crypto>'u'||!crypto[_0x18b9c5(0x3ef)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');De=crypto[_0x18b9c5(0x3ef)][_0x18b9c5(0x278)](crypto);}return De(_i);}const ui=typeof crypto<'u'&&crypto[_0x4877c9(0x13d)]&&crypto[_0x4877c9(0x13d)][_0x4877c9(0x278)](crypto),qe={'randomUUID':ui};function di(_0x9baa56,_0xf98a35,_0xa8384){var _0xd58357=_0x4877c9,_0x5a1ee4,_0x337cf5,_0x56fa84;if(qe['randomUUID']&&!_0x9baa56)return qe['randomUUID']();_0x9baa56=_0x9baa56||{};const _0x3098b2=(_0x56fa84=(_0x337cf5=_0x9baa56[_0xd58357(0x3ac)])!=null?_0x337cf5:(_0x5a1ee4=_0x9baa56[_0xd58357(0x47d)])==null?void 0x0:_0x5a1ee4[_0xd58357(0x45b)](_0x9baa56))!=null?_0x56fa84:li();if(_0x3098b2[_0xd58357(0x374)]<0x10)throw new Error(_0xd58357(0x455));return _0x3098b2[0x6]=_0x3098b2[0x6]&0xf|0x40,_0x3098b2[0x8]=_0x3098b2[0x8]&0x3f|0x80,hi(_0x3098b2);}const z=a['createIdentifier'](_0x4877c9(0x2ec));function vi(_0x134c61){return'unit-cache-'+_0x134c61;}var Si=Object[_0x4877c9(0x2ac)],fi=(_0x261386,_0x594e75,_0x3dbcd1,_0x44cf5c)=>{var _0x503a17=_0x4877c9;for(var _0x43a690=_0x44cf5c>0x1?void 0x0:_0x44cf5c?Si(_0x594e75,_0x3dbcd1):_0x594e75,_0x112ac3=_0x261386[_0x503a17(0x374)]-0x1,_0x533915;_0x112ac3>=0x0;_0x112ac3--)(_0x533915=_0x261386[_0x112ac3])&&(_0x43a690=_0x533915(_0x43a690)||_0x43a690);return _0x43a690;},Ae=(_0x90e025,_0x3119cf)=>(_0x18fe24,_0xc7a58a)=>_0x3119cf(_0x18fe24,_0xc7a58a,_0x90e025);function pi(_0x31cb63){var _0x38bfad=_0x4877c9;const {unitID:_0x59a83c,mutations:_0x3ff2c6}=_0x31cb63;return{'unitId':_0x59a83c,'subUnitId':_0x3ff2c6[0x0][_0x38bfad(0x2d4)][_0x38bfad(0x3fd)]};}exports[_0x4877c9(0x34c)]=class{constructor(_0x5a5c4f,_0x227688,_0x11fe1d){var _0x5d444b=_0x4877c9;this[_0x5d444b(0x16d)]=_0x5a5c4f,this[_0x5d444b(0x476)]=_0x227688,this[_0x5d444b(0x31d)]=_0x11fe1d;}[_0x4877c9(0x1c5)](_0x2d2c25){var _0x51a0be=_0x4877c9,_0xff8fa5,_0x420339,_0x372109,_0x420421;const _0x373ac6=this[_0x51a0be(0x16d)][_0x51a0be(0x208)](Z[_0x51a0be(0x488)]),{unitId:_0x221090,subUnitId:_0x1caa44}=pi(_0x2d2c25),_0x1c7bea=_0x373ac6==null?void 0x0:_0x373ac6[_0x51a0be(0x2e8)](_0x221090)[_0x51a0be(0x386)](),_0x14b8d3=(_0x420339=(_0xff8fa5=this[_0x51a0be(0x31d)][_0x51a0be(0x370)](_0x221090))==null?void 0x0:_0xff8fa5[_0x51a0be(0x2e6)]())==null?void 0x0:_0x420339['getSheetId']();if(_0x1c7bea[_0x51a0be(0x374)]===0x0||!_0x221090||!_0x1caa44)return;const _0x2d28d7=[{'id':Z[_0x51a0be(0x34b)]['id'],'params':{'unitId':_0x221090,'subUnitId':_0x14b8d3,'selections':a['Tools'][_0x51a0be(0x33a)](_0x1c7bea)}}],_0x5c6bcd=this[_0x51a0be(0x476)]['transformMutationsWithChangeset'](_0x2d2c25,_0x2d28d7);if(!g['isTransformMutationsWithChangesetSuccess'](_0x5c6bcd))throw _0x5c6bcd['error'];const _0x40c46e=(_0x420421=(_0x372109=_0x5c6bcd['m2Prime'][0x0])==null?void 0x0:_0x372109[_0x51a0be(0x2d4)])==null?void 0x0:_0x420421[_0x51a0be(0x1e3)];if(Array['isArray'](_0x40c46e)&&_0x40c46e['length']){if(_0x40c46e[_0x51a0be(0x374)]===_0x2d28d7[0x0]['params'][_0x51a0be(0x1e3)][_0x51a0be(0x374)]&&_0x40c46e['every']((_0x515e84,_0x1eb960)=>a[_0x51a0be(0x350)]['equals'](_0x515e84[_0x51a0be(0x18f)],_0x2d28d7[0x0][_0x51a0be(0x2d4)]['selections'][_0x1eb960][_0x51a0be(0x18f)])))return;this[_0x51a0be(0x16d)][_0x51a0be(0x208)](a[_0x51a0be(0x216)])[_0x51a0be(0x2cf)](Z[_0x51a0be(0x34b)]['id'],{'unitId':_0x221090,'subUnitId':_0x14b8d3,'selections':_0x40c46e});}}},exports[_0x4877c9(0x34c)]=fi([Ae(0x0,a['Inject'](a[_0x4877c9(0x198)])),Ae(0x1,g[_0x4877c9(0x150)]),Ae(0x2,a[_0x4877c9(0x2ff)])],exports['SheetTransformSelectionsService']);const ve=a[_0x4877c9(0x229)](_0x4877c9(0x353));var Fe=(_0x53a691=>(_0x53a691[_0x53a691[_0x4877c9(0x199)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x53a691[_0x53a691[_0x4877c9(0x163)]=0x1]=_0x4877c9(0x163),_0x53a691))(Fe||{});const gi=new Set([Z[_0x4877c9(0x41e)]['id']]);function ze(_0x32aa23,_0x1f629f,_0x5022e0,_0x418434,_0x1f68e7){var _0x5a09e4=_0x4877c9,_0x4becdb,_0x1a5ec9,_0x29153d,_0x3199c5;const _0x46b6bc=[];for(const _0x3a2445 of _0x32aa23)if(gi[_0x5a09e4(0x3ce)](_0x3a2445['id'])){if(_0x46b6bc[_0x5a09e4(0x374)]>0x0)break;_0x46b6bc[_0x5a09e4(0x3f5)](_0x3a2445);break;}else _0x46b6bc['push'](_0x3a2445);const _0x1f9b3d=(_0x1a5ec9=(_0x4becdb=_0x1f68e7[_0x5a09e4(0x486)]())==null?void 0x0:_0x4becdb[_0x5a09e4(0x3b0)])!=null?_0x1a5ec9:_0x5a09e4(0x1ff),_0x28e701=(_0x3199c5=(_0x29153d=_0x1f68e7[_0x5a09e4(0x486)]())==null?void 0x0:_0x29153d[_0x5a09e4(0x433)])!=null?_0x3199c5:'unknown';return{'changeset':{'unitID':_0x1f629f,'type':g[_0x5a09e4(0x34d)](_0x5022e0['getUnitType'](_0x1f629f)),'baseRev':_0x418434[_0x5a09e4(0x263)](_0x1f629f),'revision':0x0,'userID':_0x1f9b3d,'memberID':_0x28e701,'mutations':_0x46b6bc},'pendingMutations':_0x32aa23[_0x5a09e4(0x32a)](_0x46b6bc[_0x5a09e4(0x374)])};}function Ii(_0x44fda0,_0x36f559,_0x92399d,_0x2f644b,_0x55ec65){var _0x288040=_0x4877c9,_0x3178eb,_0x16a9c4,_0x71e920,_0x3adf57;const _0x2f942d=[_0x44fda0['reduce']((_0x50d79f,_0x5f49c6)=>{var _0x206a7b=_0x38be,_0x10093a;const {id:_0x170e60}=_0x50d79f,{id:_0x4f82f4,type:_0x1ad992}=_0x5f49c6,_0x467d74=(_0x10093a=_0x50d79f[_0x206a7b(0x2d4)])!=null?_0x10093a:{'actions':null},_0x1e5bd4=_0x5f49c6[_0x206a7b(0x2d4)];if(_0x170e60&&_0x170e60!==_0x4f82f4)throw new Error(_0x206a7b(0x1d2)+_0x170e60+_0x206a7b(0x3eb)+_0x4f82f4+'.');return{..._0x50d79f,'id':_0x4f82f4,'type':_0x1ad992,'params':{'unitId':_0x1e5bd4['unitId'],'textRanges':_0x1e5bd4[_0x206a7b(0x32d)],'actions':a[_0x206a7b(0x424)]['compose'](_0x467d74['actions'],_0x1e5bd4[_0x206a7b(0x361)])}};},{})],_0x56439d=(_0x16a9c4=(_0x3178eb=_0x55ec65['getCurrentUser']())==null?void 0x0:_0x3178eb[_0x288040(0x3b0)])!=null?_0x16a9c4:'unknown',_0x7fe28b=(_0x3adf57=(_0x71e920=_0x55ec65['getCurrentUser']())==null?void 0x0:_0x71e920[_0x288040(0x433)])!=null?_0x3adf57:_0x288040(0x1ff);return{'changeset':{'unitID':_0x36f559,'type':g[_0x288040(0x34d)](_0x92399d[_0x288040(0x1ab)](_0x36f559)),'baseRev':_0x2f644b['getCurrentRevOfUnit'](_0x36f559),'revision':0x0,'userID':_0x56439d,'memberID':_0x7fe28b,'mutations':_0x2f942d},'pendingMutations':[]};}function yt(_0x2f6025,_0x500e80){var _0x286d3d=_0x4877c9;const _0xd10d03=new j['ReplaySubject'](0x1);return setTimeout(()=>_0xd10d03[_0x286d3d(0x46f)](_0x500e80),_0x2f6025),_0xd10d03[_0x286d3d(0x134)]()[_0x286d3d(0x432)](j[_0x286d3d(0x416)](0x1));}const mi={'id':Z[_0x4877c9(0x22a)]['id'],'type':a[_0x4877c9(0x1cb)][_0x4877c9(0x3b7)],'params':{}};var Ei=Object[_0x4877c9(0x2ac)],ce=(_0x41cb70,_0x46d3ea,_0x2fe3a5,_0x433a27)=>{var _0x2dc492=_0x4877c9;for(var _0x364654=_0x433a27>0x1?void 0x0:_0x433a27?Ei(_0x46d3ea,_0x2fe3a5):_0x46d3ea,_0x46f18b=_0x41cb70[_0x2dc492(0x374)]-0x1,_0x436139;_0x46f18b>=0x0;_0x46f18b--)(_0x436139=_0x41cb70[_0x46f18b])&&(_0x364654=_0x436139(_0x364654)||_0x364654);return _0x364654;},w=(_0x4a9a5f,_0x17e482)=>(_0xe87743,_0x2a8ff0)=>_0x17e482(_0xe87743,_0x2a8ff0,_0x4a9a5f),Ve=(_0x48e4cb=>(_0x48e4cb[_0x4877c9(0x234)]=_0x4877c9(0x180),_0x48e4cb['SYNCED']=_0x4877c9(0x1c7),_0x48e4cb[_0x4877c9(0x438)]='pending',_0x48e4cb[_0x4877c9(0x426)]=_0x4877c9(0x1a4),_0x48e4cb[_0x4877c9(0x15f)]=_0x4877c9(0x428),_0x48e4cb[_0x4877c9(0x436)]=_0x4877c9(0x184),_0x48e4cb['CONFLICT']=_0x4877c9(0x1fe),_0x48e4cb['OFFLINE']=_0x4877c9(0x157),_0x48e4cb))(Ve||{});const Nt=0xea60;class he{constructor(_0x31adb5,_0x29dfb0,_0x33c25c,_0xb0b51,_0x2b3815,_0x10745f,_0x138dfa,_0xb3368c,_0x4dc81e){var _0x1cf48f=_0x4877c9;A(this,_0x1cf48f(0x160),null),A(this,_0x1cf48f(0x1a5),[]),(this['unitID']=_0x31adb5,this['type']=_0x29dfb0,this[_0x1cf48f(0x37d)]=_0x2b3815,this[_0x1cf48f(0x259)]=_0x10745f,this[_0x1cf48f(0x34f)]=_0x138dfa,this['_revisionService']=_0xb3368c,this['_localCacheService']=_0x4dc81e,this[_0x1cf48f(0x160)]=_0x33c25c,this['_pendingMutations']=_0xb0b51);}[_0x4877c9(0x29a)](_0x49620e){var _0x54e8e3=_0x4877c9;const _0xa6b523=this['_revisionService'][_0x54e8e3(0x263)](this[_0x54e8e3(0x1bd)]);return _0x49620e[_0x54e8e3(0x1b5)]>_0xa6b523+0x1?(this[_0x54e8e3(0x37d)]['onMissingChangesets']({'from':_0xa6b523,'to':_0x49620e[_0x54e8e3(0x1b5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x29d833){var _0x3c7cce=_0x4877c9;this[_0x3c7cce(0x34f)][_0x3c7cce(0x357)](this[_0x3c7cce(0x1bd)],_0x29d833);}['_transformSelections'](_0x32f68b){var _0x35d0a1=_0x4877c9,_0x5c7bea,_0xfa61fd;(_0xfa61fd=(_0x5c7bea=this['_handler'])[_0x35d0a1(0x47a)])==null||_0xfa61fd[_0x35d0a1(0x45b)](_0x5c7bea,_0x32f68b);}['_transformIMECache'](_0xc8a8f5){var _0x2765cc=_0x4877c9,_0x89c46f,_0x5a387c;return(_0x5a387c=(_0x89c46f=this[_0x2765cc(0x37d)])['onTransformIME'])==null?void 0x0:_0x5a387c[_0x2765cc(0x45b)](_0x89c46f,_0xc8a8f5);}[_0x4877c9(0x195)](_0x4a5a4b){var _0x4686b8=_0x4877c9,_0x4a9b15,_0x2db4d8;return(_0x2db4d8=(_0x4a9b15=this[_0x4686b8(0x37d)])[_0x4686b8(0x317)])==null?void 0x0:_0x2db4d8[_0x4686b8(0x45b)](_0x4a9b15,_0x4a5a4b);}[_0x4877c9(0x39c)](_0xfda7eb){var _0x382091=_0x4877c9,_0x31603c,_0x51c838,_0x4c66c3;return(_0x4c66c3=(_0x51c838=(_0x31603c=this[_0x382091(0x37d)])[_0x382091(0x3f9)])==null?void 0x0:_0x51c838[_0x382091(0x45b)](_0x31603c,_0xfda7eb))!=null?_0x4c66c3:_0xfda7eb;}['_transformRemoteChangesetByStateCache'](_0x48fd1b){var _0x5de628=_0x4877c9,_0x21db9e,_0x52b9a8,_0x3d5765;return(_0x3d5765=(_0x52b9a8=(_0x21db9e=this[_0x5de628(0x37d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x52b9a8['call'](_0x21db9e,_0x48fd1b))!=null?_0x3d5765:_0x48fd1b;}[_0x4877c9(0x167)](_0xda833a){var _0x3541bd=_0x4877c9,_0x3be4fb,_0x15395d;if(this[_0x3541bd(0x1a8)]===X[_0x3541bd(0x29f)]){const {unitID:_0x3faee3,mutations:_0x395738,memberID:_0x1b245f}=_0xda833a,_0x5bf406=_0x395738[0x0][_0x3541bd(0x2d4)][_0x3541bd(0x32d)];Array[_0x3541bd(0x2ea)](_0x5bf406)&&_0x5bf406['length']>0x0&&((_0x15395d=(_0x3be4fb=this[_0x3541bd(0x37d)])['onSyncEditingCollabCursor'])==null||_0x15395d[_0x3541bd(0x45b)](_0x3be4fb,{'unitID':_0x3faee3,'memberID':_0x1b245f,'textRanges':_0x5bf406}));}}[_0x4877c9(0x248)](){var _0x1d5ead=_0x4877c9,_0x380d0a;(_0x380d0a=this['_localCacheService'])==null||_0x380d0a[_0x1d5ead(0x375)](this[_0x1d5ead(0x1bd)],this[_0x1d5ead(0x1a8)],this['_awaitingChangeset'],this[_0x1d5ead(0x1a5)]);}[_0x4877c9(0x36b)](){var _0x1f1d06=_0x4877c9;return this[_0x1f1d06(0x35e)]['getCurrentRevOfUnit'](this[_0x1f1d06(0x1bd)]);}[_0x4877c9(0x164)](){var _0x138ed0=_0x4877c9;this[_0x138ed0(0x35e)][_0x138ed0(0x274)](this[_0x138ed0(0x1bd)]);}[_0x4877c9(0x243)](_0x4d6d9b){var _0x4cc589=_0x4877c9,_0x4a1a25;let _0x200024=this['_transformRemoteChangesetByIMECache'](_0x4d6d9b);_0x200024=this[_0x4cc589(0x242)](_0x200024);const _0x85151=a[_0x4cc589(0x212)](_0x200024[_0x4cc589(0x182)],this[_0x4cc589(0x259)],{'fromCollab':!0x0});if(!_0x85151[_0x4cc589(0x3cc)])throw _0x85151[_0x4cc589(0x44d)]instanceof Error?_0x85151['error']:new Error((_0x4a1a25=_0x85151[_0x4cc589(0x44d)])!=null?_0x4a1a25:_0x4cc589(0x409));this['_transformIMECache'](_0x200024),this['_transformStateCache'](_0x200024),this[_0x4cc589(0x308)](_0x4d6d9b),this[_0x4cc589(0x1cd)](_0x200024),this[_0x4cc589(0x167)](_0x200024),this[_0x4cc589(0x164)]();}}exports[_0x4877c9(0x284)]=class extends he{constructor(_0x1c778c,_0x5f49a2,_0x3abb4d,_0x33e8f4,_0x4e06a9,_0xd64f83,_0xcc47a1,_0x53c23f,_0x4c1191,_0x200788){var _0x5ae3a7=_0x4877c9;super(_0x1c778c,_0x5f49a2,null,[],_0x3abb4d,_0xcc47a1,_0xd64f83,_0x33e8f4,_0x200788),A(this,_0x5ae3a7(0x1dc),_0x5ae3a7(0x1c7)),(this['_injector']=_0x4e06a9,this['_logService']=_0x53c23f,this[_0x5ae3a7(0x476)]=_0x4c1191,this[_0x5ae3a7(0x22c)]=_0x200788);}[_0x4877c9(0x31b)](_0x3e0c8a){var _0xc902fb=_0x4877c9;const _0x2a22e0=this[_0xc902fb(0x16d)][_0xc902fb(0x18e)](exports['PendingState'],this['unitID'],this['type'],[_0x3e0c8a],this[_0xc902fb(0x37d)]);return _0x2a22e0[_0xc902fb(0x441)](),_0x2a22e0[_0xc902fb(0x248)](),_0x2a22e0;}[_0x4877c9(0x2b2)](_0x4b317c){var _0x288a08=_0x4877c9;if(this[_0x288a08(0x29a)](_0x4b317c))return this[_0x288a08(0x16d)][_0x288a08(0x18e)](exports[_0x288a08(0x141)],this[_0x288a08(0x1bd)],this[_0x288a08(0x1a8)],null,[],null,[_0x4b317c],this[_0x288a08(0x37d)]);try{const _0x2c8216=this[_0x288a08(0x476)][_0x288a08(0x3d5)](_0x4b317c,[mi]);if(g[_0x288a08(0x358)](_0x2c8216)){const {c1Prime:_0x39b3bb}=_0x2c8216;return this[_0x288a08(0x243)](_0x39b3bb),this;}throw _0x2c8216[_0x288a08(0x44d)];}catch(_0x59c748){return this[_0x288a08(0x14f)]['error'](_0x59c748),this[_0x288a08(0x1f1)](!0x1);}}[_0x4877c9(0x1f1)](_0x25469a){var _0x5bfae5=_0x4877c9;return this[_0x5bfae5(0x16d)]['createInstance'](exports[_0x5bfae5(0x209)],this[_0x5bfae5(0x1bd)],this[_0x5bfae5(0x1a8)],null,[],this[_0x5bfae5(0x37d)],_0x25469a);}[_0x4877c9(0x2b8)](){var _0x65f0dc=_0x4877c9;throw new Error(_0x65f0dc(0x3c3));}['onRemoteRej'](){var _0x24836f=_0x4877c9;throw new Error(_0x24836f(0x161));}['onRemoteRetry'](){return this;}[_0x4877c9(0x28b)](){var _0xb72f6=_0x4877c9;return this[_0xb72f6(0x16d)][_0xb72f6(0x18e)](exports[_0xb72f6(0x257)],this[_0xb72f6(0x1bd)],this[_0xb72f6(0x1a8)],null,[],this['_handler']);}[_0x4877c9(0x14d)](){return this;}[_0x4877c9(0x3f4)](){var _0x5dc092=_0x4877c9;throw new Error(_0x5dc092(0x224));}['fetchMiss'](){var _0x48d34b=_0x4877c9;const _0x158c38=this[_0x48d34b(0x35e)][_0x48d34b(0x263)](this[_0x48d34b(0x1bd)]);return this[_0x48d34b(0x37d)][_0x48d34b(0x2df)]({'from':_0x158c38,'to':0x0}),this[_0x48d34b(0x16d)]['createInstance'](exports[_0x48d34b(0x141)],this[_0x48d34b(0x1bd)],this[_0x48d34b(0x1a8)],null,[],null,[],this[_0x48d34b(0x37d)]);}},exports[_0x4877c9(0x284)]=ce([w(0x3,a['Inject'](g[_0x4877c9(0x2a9)])),w(0x4,a[_0x4877c9(0x385)](a['Injector'])),w(0x5,a[_0x4877c9(0x3c5)]),w(0x6,a[_0x4877c9(0x216)]),w(0x7,a[_0x4877c9(0x445)]),w(0x8,g[_0x4877c9(0x150)]),w(0x9,a[_0x4877c9(0x142)](z))],exports[_0x4877c9(0x284)]),exports[_0x4877c9(0x32c)]=class extends he{constructor(_0x29dd86,_0x50943e,_0x374426,_0x3a0897,_0x3e1a14,_0x594768,_0x2ec3ef,_0x185c85,_0x481dd7,_0x429658,_0x582f0d,_0x32373a,_0x1a685c,_0x17541e){var _0x173238=_0x4877c9;super(_0x29dd86,_0x50943e,null,_0x374426,_0x3a0897,_0x481dd7,_0x1a685c,_0x594768,_0x17541e),A(this,_0x173238(0x1dc),_0x173238(0x1bf)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x173238(0x3ad),null),(this[_0x173238(0x16d)]=_0x3e1a14,this[_0x173238(0x3b9)]=_0x2ec3ef,this['_logService']=_0x185c85,this['_configService']=_0x429658,this['_transformService']=_0x582f0d,this[_0x173238(0x244)]=_0x32373a);}['appendMutation'](_0x3106e7){var _0x54e905=_0x4877c9;return this['_pendingMutations']['push'](_0x3106e7),this[_0x54e905(0x248)](),this;}[_0x4877c9(0x2b2)](_0x1b96c2){var _0x490736=_0x4877c9;if(this[_0x490736(0x29a)](_0x1b96c2))return this['_clearScheduledTask'](),this[_0x490736(0x16d)][_0x490736(0x18e)](exports[_0x490736(0x141)],this['unitID'],this[_0x490736(0x1a8)],null,this[_0x490736(0x1a5)],null,[_0x1b96c2],this[_0x490736(0x37d)]);try{const _0x44d6d8=this[_0x490736(0x476)][_0x490736(0x3d5)](_0x1b96c2,this[_0x490736(0x1a5)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x44d6d8)){const {c1Prime:_0x98749d,m2Prime:_0x34a811}=_0x44d6d8;this[_0x490736(0x243)](_0x98749d);const _0x367907=this[_0x490736(0x16d)][_0x490736(0x18e)](exports[_0x490736(0x32c)],this[_0x490736(0x1bd)],this[_0x490736(0x1a8)],_0x34a811,this[_0x490736(0x37d)]);this[_0x490736(0x359)]();const _0x2d448b=new Date()[_0x490736(0x48f)](),_0x34119c=this[_0x490736(0x422)]?Math['max'](this[_0x490736(0x422)]-_0x2d448b,0x0):this[_0x490736(0x373)]();return _0x367907[_0x490736(0x441)](_0x34119c),_0x367907;}throw _0x44d6d8['error'];}catch(_0x38837b){return this[_0x490736(0x14f)]['error'](_0x38837b),this['_onConflict'](!0x1);}}[_0x4877c9(0x2b8)](){var _0x512ab5=_0x4877c9;throw new Error(_0x512ab5(0x384));}[_0x4877c9(0x35a)](){var _0x4ae40a=_0x4877c9;throw new Error(_0x4ae40a(0x3d2));}[_0x4877c9(0x1b2)](){return this;}['toggleOffline'](){var _0x3dde3b=_0x4877c9;return this[_0x3dde3b(0x359)](),this['_injector']['createInstance'](exports[_0x3dde3b(0x257)],this[_0x3dde3b(0x1bd)],this[_0x3dde3b(0x1a8)],null,this[_0x3dde3b(0x1a5)],this[_0x3dde3b(0x37d)]);}['toggleOnline'](){return this;}[_0x4877c9(0x441)](_0x529544){var _0x4152a9=_0x4877c9;const _0x2d66f1=_0x529544!=null?_0x529544:this[_0x4152a9(0x373)]();this[_0x4152a9(0x422)]=new Date()['getTime']()+_0x2d66f1,this[_0x4152a9(0x3ad)]=setTimeout(()=>{var _0x55e6a0=_0x4152a9;this[_0x55e6a0(0x359)]();let _0x4ba7dd=null;switch(this[_0x55e6a0(0x1a8)]){case X[_0x55e6a0(0x40d)]:{_0x4ba7dd=ze(this['_pendingMutations'],this[_0x55e6a0(0x1bd)],this[_0x55e6a0(0x244)],this[_0x55e6a0(0x35e)],this['_memberService']);break;}case X[_0x55e6a0(0x29f)]:{this[_0x55e6a0(0x1a5)][_0x55e6a0(0x166)](_0x3812db=>_0x3812db['id']===ut['RichTextEditingMutation']['id'])?_0x4ba7dd=Ii(this['_pendingMutations'],this[_0x55e6a0(0x1bd)],this[_0x55e6a0(0x244)],this[_0x55e6a0(0x35e)],this[_0x55e6a0(0x3b9)]):_0x4ba7dd=ze(this[_0x55e6a0(0x1a5)],this[_0x55e6a0(0x1bd)],this[_0x55e6a0(0x244)],this[_0x55e6a0(0x35e)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x55e6a0(0x1a8)]+_0x55e6a0(0x1b8));}const {changeset:_0x25b702,pendingMutations:_0x35983b}=_0x4ba7dd;this[_0x55e6a0(0x37d)][_0x55e6a0(0x1bc)](_0x25b702);const _0x3f2f6b=_0x35983b[_0x55e6a0(0x374)]?this[_0x55e6a0(0x16d)][_0x55e6a0(0x18e)](exports[_0x55e6a0(0x2f0)],this[_0x55e6a0(0x1bd)],this[_0x55e6a0(0x1a8)],_0x25b702,_0x35983b,this['_handler'],void 0x0):this[_0x55e6a0(0x16d)]['createInstance'](exports[_0x55e6a0(0x439)],this[_0x55e6a0(0x1bd)],this[_0x55e6a0(0x1a8)],_0x25b702,this[_0x55e6a0(0x37d)]);_0x3f2f6b[_0x55e6a0(0x248)](),this['_handler']['onStateChange'](this,_0x3f2f6b);},_0x2d66f1);}[_0x4877c9(0x373)](){var _0x29a46f=_0x4877c9,_0x45329f;const _0x3679ca=this[_0x29a46f(0x401)][_0x29a46f(0x1f7)](Y);return(_0x45329f=_0x3679ca==null?void 0x0:_0x3679ca[_0x29a46f(0x1d8)])!=null?_0x45329f:jt;}[_0x4877c9(0x3f4)](){var _0x10f3a1=_0x4877c9;throw new Error(_0x10f3a1(0x2ef));}[_0x4877c9(0x359)](){var _0x37246a=_0x4877c9;this['_sendingTimer']!=null&&(clearTimeout(this[_0x37246a(0x3ad)]),this[_0x37246a(0x3ad)]=null);}[_0x4877c9(0x1f1)](_0x199a07){var _0x52f804=_0x4877c9;return this[_0x52f804(0x359)](),this[_0x52f804(0x16d)]['createInstance'](exports['ConflictState'],this[_0x52f804(0x1bd)],this[_0x52f804(0x1a8)],null,this[_0x52f804(0x1a5)],this[_0x52f804(0x37d)],_0x199a07);}},exports[_0x4877c9(0x32c)]=ce([w(0x4,a['Inject'](a[_0x4877c9(0x198)])),w(0x5,a['Inject'](g[_0x4877c9(0x2a9)])),w(0x6,a['Inject'](exports[_0x4877c9(0x3f7)])),w(0x7,a['ILogService']),w(0x8,a[_0x4877c9(0x216)]),w(0x9,a[_0x4877c9(0x1a9)]),w(0xa,g['ITransformService']),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x4877c9(0x3c5)]),w(0xd,a['Optional'](z))],exports[_0x4877c9(0x32c)]),exports[_0x4877c9(0x439)]=class extends he{constructor(_0x13eef9,_0x41af8a,_0x579d87,_0x16e4ae,_0x1f0bcb,_0x4ecd02,_0x3c9b78,_0x2e8f9b,_0x438824,_0x5b877d,_0xa5cd5b){var _0x111cd2=_0x4877c9;super(_0x13eef9,_0x41af8a,_0x579d87,[],_0x16e4ae,_0x3c9b78,_0x5b877d,_0x4ecd02,_0xa5cd5b),A(this,'status','awaiting'),A(this,'_resendTimeout',0x0),A(this,_0x111cd2(0x231)),A(this,_0x111cd2(0x178)),(this[_0x111cd2(0x16d)]=_0x1f0bcb,this[_0x111cd2(0x14f)]=_0x2e8f9b,this[_0x111cd2(0x476)]=_0x438824);}[_0x4877c9(0x31b)](_0x27c0a9){var _0x20b974=_0x4877c9;this[_0x20b974(0x359)]();const _0x193344=this[_0x20b974(0x16d)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x20b974(0x1bd)],this[_0x20b974(0x1a8)],this[_0x20b974(0x160)],[_0x27c0a9],this['_handler'],this[_0x20b974(0x231)]);return _0x193344[_0x20b974(0x248)](),_0x193344;}[_0x4877c9(0x2b2)](_0xca2e34){var _0x5e51ce=_0x4877c9;if(this['_checkMissing'](_0xca2e34))return this[_0x5e51ce(0x359)](),this[_0x5e51ce(0x16d)][_0x5e51ce(0x18e)](exports['FetchingMissState'],this['unitID'],this[_0x5e51ce(0x1a8)],this['_awaitingChangeset'],[],null,[_0xca2e34],this[_0x5e51ce(0x37d)]);try{const _0x22151a=this[_0x5e51ce(0x476)][_0x5e51ce(0x475)]([_0xca2e34],[this[_0x5e51ce(0x160)]],!0x1);if(g[_0x5e51ce(0x15b)](_0x22151a)){const {c1Prime:_0x5b0a27,c2Prime:_0x1c2b5e}=_0x22151a;this[_0x5e51ce(0x243)](_0x5b0a27[0x0]),_0x1c2b5e[0x0][_0x5e51ce(0x2a5)]=this[_0x5e51ce(0x36b)](),this[_0x5e51ce(0x359)]();const _0x148f72=this[_0x5e51ce(0x16d)][_0x5e51ce(0x18e)](exports['AwaitingState'],this[_0x5e51ce(0x1bd)],this[_0x5e51ce(0x1a8)],_0x1c2b5e[0x0],this[_0x5e51ce(0x37d)]);return _0x148f72['_updateLocalCache'](),_0x148f72;}return this[_0x5e51ce(0x1f1)](!0x1);}catch(_0x5e0520){return this[_0x5e51ce(0x14f)][_0x5e51ce(0x44d)](_0x5e0520),this[_0x5e51ce(0x1f1)](!0x1);}}[_0x4877c9(0x2b8)](_0x282f7c){var _0x256b9d=_0x4877c9;this[_0x256b9d(0x359)]();const _0x239b21=this[_0x256b9d(0x35e)][_0x256b9d(0x263)](this[_0x256b9d(0x1bd)]);if(_0x282f7c['revision']<_0x239b21-0x1)return this;if(this[_0x256b9d(0x29a)](_0x282f7c))return this[_0x256b9d(0x16d)][_0x256b9d(0x18e)](exports['FetchingMissState'],this[_0x256b9d(0x1bd)],this[_0x256b9d(0x1a8)],null,[],this[_0x256b9d(0x160)],[],this['_handler']);this[_0x256b9d(0x164)]();const _0x2fdd2a=this[_0x256b9d(0x16d)]['createInstance'](exports[_0x256b9d(0x284)],this[_0x256b9d(0x1bd)],this[_0x256b9d(0x1a8)],this[_0x256b9d(0x37d)]);return _0x2fdd2a[_0x256b9d(0x248)](),_0x2fdd2a;}['onRemoteRej'](_0x12e4ee){var _0x3f5e82=_0x4877c9;return this[_0x3f5e82(0x1f1)](!!(_0x12e4ee!=null&&_0x12e4ee[_0x3f5e82(0x313)]));}[_0x4877c9(0x1b2)](_0x2dc203){var _0x3213e3=_0x4877c9;return this['_resendTimeout']>Nt?this[_0x3213e3(0x28b)]():(this[_0x3213e3(0x231)]=yt(this[_0x3213e3(0x124)],{'timeout':this['_resendTimeout'],'reqId':_0x2dc203[_0x3213e3(0x452)]}),this[_0x3213e3(0x178)]=this[_0x3213e3(0x231)][_0x3213e3(0x1e1)](({reqId:_0x53c5b3,timeout:_0x42bc76})=>{var _0x160468=_0x3213e3;this[_0x160468(0x174)](_0x53c5b3,_0x42bc76);}),this);}[_0x4877c9(0x28b)](){var _0x16e680=_0x4877c9;return this['_clearScheduledTask'](),this[_0x16e680(0x16d)][_0x16e680(0x18e)](exports[_0x16e680(0x257)],this[_0x16e680(0x1bd)],this['type'],this[_0x16e680(0x160)],[],this[_0x16e680(0x37d)]);}[_0x4877c9(0x14d)](){return this;}['resend'](){var _0x5d480f=_0x4877c9;this['_handler'][_0x5d480f(0x1bc)](this['_awaitingChangeset']);}[_0x4877c9(0x1f1)](_0x297dc2){var _0x3cfdaa=_0x4877c9;return this[_0x3cfdaa(0x359)](),this[_0x3cfdaa(0x16d)][_0x3cfdaa(0x18e)](exports[_0x3cfdaa(0x209)],this['unitID'],this[_0x3cfdaa(0x1a8)],this['_awaitingChangeset'],[],this[_0x3cfdaa(0x37d)],_0x297dc2);}[_0x4877c9(0x174)](_0x19dbd8,_0x830ba3){var _0x270760=_0x4877c9,_0x4426aa;_0x19dbd8===((_0x4426aa=this[_0x270760(0x160)])==null?void 0x0:_0x4426aa[_0x270760(0x452)])&&(this['resend'](),this['_resendTimeout']=_0x830ba3===0x0?0x3e8:_0x830ba3*0x2);}[_0x4877c9(0x359)](){var _0x39cc1e=_0x4877c9,_0x2babc1;(_0x2babc1=this[_0x39cc1e(0x178)])==null||_0x2babc1[_0x39cc1e(0x2fd)](),this['_resendTimeout']=0x0;}},exports[_0x4877c9(0x439)]=ce([w(0x4,a['Inject'](a[_0x4877c9(0x198)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x4877c9(0x216)]),w(0x7,a[_0x4877c9(0x445)]),w(0x8,g[_0x4877c9(0x150)]),w(0x9,a['IUndoRedoService']),w(0xa,a['Optional'](z))],exports[_0x4877c9(0x439)]),exports[_0x4877c9(0x2f0)]=class extends he{constructor(_0x40fb33,_0x57aabb,_0x28507a,_0x3c6096,_0xc9a65c,_0x40214d,_0x2e5162,_0x235a69,_0x5034a5,_0xfd7f39,_0xa16c15,_0x2d25c7,_0x12c292){var _0x360642=_0x4877c9;super(_0x40fb33,_0x57aabb,_0x28507a,_0x3c6096,_0xc9a65c,_0x5034a5,_0x2d25c7,_0x235a69,_0x12c292),A(this,'status',_0x360642(0x428)),A(this,_0x360642(0x124),0x0),A(this,'_resendTimer'),A(this,_0x360642(0x178)),(this[_0x360642(0x16d)]=_0x2e5162,this[_0x360642(0x14f)]=_0xfd7f39,this[_0x360642(0x476)]=_0xa16c15,this[_0x360642(0x22c)]=_0x12c292,_0x40214d&&(this[_0x360642(0x231)]=_0x40214d,this[_0x360642(0x178)]=this['_resendTimer'][_0x360642(0x1e1)](({reqId:_0x2837d6,timeout:_0x310158})=>{this['_resendWithTimeout'](_0x2837d6,_0x310158);})));}[_0x4877c9(0x31b)](_0x2c7875){var _0xb4412e=_0x4877c9;return this[_0xb4412e(0x1a5)][_0xb4412e(0x3f5)](_0x2c7875),this;}[_0x4877c9(0x2b2)](_0x585c1a){var _0x2655dd=_0x4877c9;if(this[_0x2655dd(0x29a)](_0x585c1a))return this['_clearScheduledTask'](),this['_injector'][_0x2655dd(0x18e)](exports[_0x2655dd(0x141)],this['unitID'],this[_0x2655dd(0x1a8)],this[_0x2655dd(0x160)],this[_0x2655dd(0x1a5)],null,[_0x585c1a],this[_0x2655dd(0x37d)]);try{const _0xabc432=this['_transformService'][_0x2655dd(0x475)]([_0x585c1a],[this[_0x2655dd(0x160)]],!0x1);if(g[_0x2655dd(0x15b)](_0xabc432)){const {c1Prime:_0x1a46a1,c2Prime:_0x6ddc07}=_0xabc432,_0x59791c=this['_transformService'][_0x2655dd(0x3d5)](_0x1a46a1[0x0],this[_0x2655dd(0x1a5)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x59791c)){const {c1Prime:_0x1d9ef9,m2Prime:_0x12b3a4}=_0x59791c;return this[_0x2655dd(0x243)](_0x1d9ef9),_0x6ddc07[0x0][_0x2655dd(0x2a5)]=this[_0x2655dd(0x36b)](),this[_0x2655dd(0x359)](),this[_0x2655dd(0x16d)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x2655dd(0x1bd)],this[_0x2655dd(0x1a8)],_0x6ddc07[0x0],_0x12b3a4,this[_0x2655dd(0x37d)],void 0x0);}throw _0x59791c['error'];}throw _0xabc432['error'];}catch(_0x34f579){return this[_0x2655dd(0x14f)][_0x2655dd(0x44d)](_0x34f579),this[_0x2655dd(0x1f1)](!0x1);}}[_0x4877c9(0x2b8)](_0xa145be){var _0x851105=_0x4877c9;if(this[_0x851105(0x359)](),this['_checkMissing'](_0xa145be))return this[_0x851105(0x16d)][_0x851105(0x18e)](exports[_0x851105(0x141)],this[_0x851105(0x1bd)],this[_0x851105(0x1a8)],null,this[_0x851105(0x1a5)],this[_0x851105(0x160)],[],this[_0x851105(0x37d)]);this['_incrementRevisionNumber']();const _0x301b86=this[_0x851105(0x16d)][_0x851105(0x18e)](exports[_0x851105(0x32c)],this[_0x851105(0x1bd)],this['type'],this[_0x851105(0x1a5)],this[_0x851105(0x37d)]);return _0x301b86[_0x851105(0x441)](),_0x301b86[_0x851105(0x248)](),_0x301b86;}[_0x4877c9(0x35a)](_0x56234b){var _0x454568=_0x4877c9;return this[_0x454568(0x1f1)](!!(_0x56234b!=null&&_0x56234b[_0x454568(0x313)]));}[_0x4877c9(0x1b2)](_0x187eb4){var _0x2a4904=_0x4877c9;return this[_0x2a4904(0x124)]>Nt?this[_0x2a4904(0x28b)]():(this[_0x2a4904(0x231)]=yt(this[_0x2a4904(0x124)],{'timeout':this[_0x2a4904(0x124)],'reqId':_0x187eb4['reqId']}),this[_0x2a4904(0x178)]=this[_0x2a4904(0x231)]['subscribe'](({reqId:_0x14929d,timeout:_0x5f49df})=>{var _0x4ba3cc=_0x2a4904;this[_0x4ba3cc(0x174)](_0x14929d,_0x5f49df);}),this);}[_0x4877c9(0x28b)](){var _0x55db38=_0x4877c9;return this[_0x55db38(0x359)](),this[_0x55db38(0x16d)][_0x55db38(0x18e)](exports[_0x55db38(0x257)],this['unitID'],this[_0x55db38(0x1a8)],this[_0x55db38(0x160)],this[_0x55db38(0x1a5)],this[_0x55db38(0x37d)]);}['toggleOnline'](){return this;}['resend'](){var _0x2e3e91=_0x4877c9;this[_0x2e3e91(0x37d)][_0x2e3e91(0x1bc)](this[_0x2e3e91(0x160)]);}[_0x4877c9(0x1f1)](_0x45ebab){var _0x1cb3ad=_0x4877c9;return this[_0x1cb3ad(0x359)](),this['_injector'][_0x1cb3ad(0x18e)](exports['ConflictState'],this[_0x1cb3ad(0x1bd)],this['type'],null,this[_0x1cb3ad(0x1a5)],this[_0x1cb3ad(0x37d)],_0x45ebab);}[_0x4877c9(0x174)](_0x41c9b2,_0x3894ca){var _0x2b044d=_0x4877c9,_0x3721b2;_0x41c9b2===((_0x3721b2=this['_awaitingChangeset'])==null?void 0x0:_0x3721b2[_0x2b044d(0x452)])&&(this['resend'](),this[_0x2b044d(0x124)]=_0x3894ca===0x0?0x3e8:_0x3894ca*0x2);}[_0x4877c9(0x359)](){var _0xfca559=_0x4877c9,_0x32af4b;(_0x32af4b=this[_0xfca559(0x178)])==null||_0x32af4b[_0xfca559(0x2fd)](),this[_0xfca559(0x124)]=0x0;}},exports[_0x4877c9(0x2f0)]=ce([w(0x6,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),w(0x7,a[_0x4877c9(0x385)](g[_0x4877c9(0x2a9)])),w(0x8,a[_0x4877c9(0x216)]),w(0x9,a['ILogService']),w(0xa,g[_0x4877c9(0x150)]),w(0xb,a[_0x4877c9(0x3c5)]),w(0xc,a[_0x4877c9(0x142)](z))],exports[_0x4877c9(0x2f0)]),exports[_0x4877c9(0x209)]=class extends he{constructor(_0x4730a1,_0x1299ba,_0x3918b1,_0x233f86,_0x49ead1,_0x220a41=!0x1,_0x2ab8b2,_0x371cd4,_0x39ba36,_0x46dd48,_0x1f6d76,_0x53e0fd,_0x1dbce9){var _0x2e95d1=_0x4877c9;super(_0x4730a1,_0x1299ba,_0x3918b1,_0x233f86,_0x49ead1,_0x371cd4,_0x39ba36,_0x46dd48,_0x1dbce9),A(this,'status',_0x2e95d1(0x1fe)),(this[_0x2e95d1(0x39f)]=_0x220a41,this['_permissionService']=_0x2ab8b2,this[_0x2e95d1(0x299)]=_0x1f6d76,this['_collaborationUIEventService']=_0x53e0fd,this[_0x2e95d1(0x22c)]=_0x1dbce9,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x4877c9(0x31b)](){return this;}[_0x4877c9(0x2b2)](){return this;}[_0x4877c9(0x2b8)](){return this;}[_0x4877c9(0x35a)](){return this;}[_0x4877c9(0x1b2)](){return this;}[_0x4877c9(0x28b)](){return this;}['toggleOnline'](){return this;}[_0x4877c9(0x3f4)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4877c9(0x37f)](){var _0x200163=_0x4877c9,_0x3a886c;(_0x3a886c=this['_localCacheService'])==null||_0x3a886c['updateOfflineData'](this[_0x200163(0x1bd)],this[_0x200163(0x1a8)],null,[]);}[_0x4877c9(0x40c)](){var _0x50b5a3=_0x4877c9;this[_0x50b5a3(0x39f)]?this[_0x50b5a3(0x123)][_0x50b5a3(0x3fb)]({'id':Q[_0x50b5a3(0x24f)]}):this[_0x50b5a3(0x123)][_0x50b5a3(0x3fb)]({'id':Q[_0x50b5a3(0x162)]});}['_disableEditing'](){var _0x3a3e2c=_0x4877c9;this[_0x3a3e2c(0x2c0)]['updatePermissionPoint'](new Z[(_0x3a3e2c(0x222))](this[_0x3a3e2c(0x1bd)])['id'],!0x1);}},exports[_0x4877c9(0x209)]=ce([w(0x6,a[_0x4877c9(0x385)](a[_0x4877c9(0x18d)])),w(0x7,a[_0x4877c9(0x216)]),w(0x8,a[_0x4877c9(0x3c5)]),w(0x9,a[_0x4877c9(0x385)](g['RevisionService'])),w(0xa,a[_0x4877c9(0x385)](a[_0x4877c9(0x349)])),w(0xb,a[_0x4877c9(0x385)](te)),w(0xc,a[_0x4877c9(0x142)](z))],exports[_0x4877c9(0x209)]),exports['OfflineState']=class extends he{constructor(_0x2dc757,_0x3618dd,_0x4c71db,_0x4557d9,_0x3904f7,_0x2058f0,_0x55b6a3,_0x3a01c3,_0x1d8d33,_0x5e87f2){var _0x186541=_0x4877c9;super(_0x2dc757,_0x3618dd,_0x4c71db,_0x4557d9,_0x3904f7,_0x3a01c3,_0x1d8d33,_0x55b6a3,_0x5e87f2),A(this,'status','offline'),this[_0x186541(0x16d)]=_0x2058f0;}[_0x4877c9(0x31b)](_0x7af4e5){var _0x1b7d19=_0x4877c9;return this[_0x1b7d19(0x1a5)][_0x1b7d19(0x3f5)](_0x7af4e5),this['_updateLocalCache'](),this;}[_0x4877c9(0x2b2)](_0x23067a){var _0x558b67=_0x4877c9;throw new Error(_0x558b67(0x372));}['onRemoteAck'](){var _0x3eaffd=_0x4877c9;throw new Error(_0x3eaffd(0x487));}[_0x4877c9(0x35a)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4877c9(0x1b2)](){return this;}[_0x4877c9(0x28b)](){return this;}[_0x4877c9(0x14d)](){var _0xc5bb92=_0x4877c9;const {_injector:_0x34dcdd,_pendingMutations:_0x3ee12a,_awaitingChangeset:_0x4f64c9,unitID:_0x6c1b49,_handler:_0x25370e,type:_0x1fc22b}=this,_0xa23871=Ut(_0x34dcdd,_0x6c1b49,_0x1fc22b,_0x4f64c9,_0x3ee12a,_0x25370e);return _0xa23871 instanceof exports['PendingState']?_0xa23871[_0xc5bb92(0x441)]():(_0xa23871 instanceof exports[_0xc5bb92(0x2f0)]||_0xa23871 instanceof exports[_0xc5bb92(0x439)])&&_0xa23871[_0xc5bb92(0x3f4)](),_0xa23871;}[_0x4877c9(0x3f4)](){var _0x268163=_0x4877c9;throw new Error(_0x268163(0x3b3));}},exports[_0x4877c9(0x257)]=ce([w(0x5,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),w(0x6,a[_0x4877c9(0x385)](g[_0x4877c9(0x2a9)])),w(0x7,a['ICommandService']),w(0x8,a[_0x4877c9(0x3c5)]),w(0x9,a['Optional'](z))],exports[_0x4877c9(0x257)]),exports[_0x4877c9(0x141)]=class extends he{constructor(_0x47a34c,_0x5700da,_0x1ebd0c,_0x3d8d2a,_0x12425c,_0x5b824a,_0x4c7c8d,_0xcdc451,_0x299837,_0x487f03,_0x319d69,_0x25e34f,_0x22caec,_0x5b3e94){var _0x18a949=_0x4877c9;super(_0x47a34c,_0x5700da,_0x1ebd0c,_0x3d8d2a,_0x4c7c8d,_0x319d69,_0x25e34f,_0x299837,_0x5b3e94),A(this,_0x18a949(0x1dc),_0x18a949(0x184)),(this[_0x18a949(0x249)]=_0x12425c,this['_queuedRemoteChangesets']=_0x5b824a,this['_injector']=_0xcdc451,this[_0x18a949(0x14f)]=_0x487f03,this[_0x18a949(0x476)]=_0x22caec,this[_0x18a949(0x22c)]=_0x5b3e94);}[_0x4877c9(0x3dc)](_0xbb473c){var _0x76bba0=_0x4877c9;try{const _0x13d1af=[..._0xbb473c,...this['_queuedRemoteChangesets']],_0x216ccc=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x76bba0(0x3ff)](_0x1c9a83=>!!_0x1c9a83);let _0x5377e5,_0x531efc;if(_0x216ccc[_0x76bba0(0x374)]){const _0x560528=this['_transformService'][_0x76bba0(0x475)](_0x13d1af,_0x216ccc,!0x1);if(!g['isTransformChangesetsSuccess'](_0x560528))throw _0x560528['error'];_0x5377e5=_0x560528[_0x76bba0(0x47b)],_0x531efc=_0x560528[_0x76bba0(0x286)];}else _0x5377e5=_0x13d1af,_0x531efc=[];let _0x3d82f2=this[_0x76bba0(0x1a5)];_0x5377e5[_0x76bba0(0x348)](_0x3b0863=>{var _0x396fde=_0x76bba0;let _0x407e45;if(_0x3d82f2[_0x396fde(0x374)]){const _0x56e688=this['_transformService']['transformMutationsWithChangeset'](_0x3b0863,_0x3d82f2);if(!g['isTransformMutationsWithChangesetSuccess'](_0x56e688))throw _0x56e688[_0x396fde(0x44d)];_0x407e45=_0x56e688[_0x396fde(0x47b)],_0x3d82f2=_0x56e688[_0x396fde(0x3d1)];}else _0x407e45=_0x3b0863;this['_executeRemoteChangeset'](_0x407e45);}),this['_acknowledgedAwaitingChangeset']&&this[_0x76bba0(0x164)](),this[_0x76bba0(0x160)]&&_0x531efc['length']&&(_0x531efc[0x0][_0x76bba0(0x2a5)]=this['_getCurrentRevision']());let _0x22cbcd;if(this[_0x76bba0(0x160)]&&_0x3d82f2[_0x76bba0(0x374)]!==0x0)_0x22cbcd=this[_0x76bba0(0x16d)][_0x76bba0(0x18e)](exports[_0x76bba0(0x2f0)],this[_0x76bba0(0x1bd)],this[_0x76bba0(0x1a8)],_0x531efc[0x0],_0x3d82f2,this[_0x76bba0(0x37d)],void 0x0);else{if(this[_0x76bba0(0x160)]&&_0x3d82f2[_0x76bba0(0x374)]===0x0)_0x531efc[0x0]['baseRev']=this[_0x76bba0(0x36b)](),_0x22cbcd=this[_0x76bba0(0x16d)][_0x76bba0(0x18e)](exports[_0x76bba0(0x439)],this[_0x76bba0(0x1bd)],this['type'],_0x531efc[0x0],this['_handler']);else{if(_0x3d82f2['length']!==0x0){const _0x45e9b8=this[_0x76bba0(0x16d)]['createInstance'](exports[_0x76bba0(0x32c)],this[_0x76bba0(0x1bd)],this[_0x76bba0(0x1a8)],_0x3d82f2,this[_0x76bba0(0x37d)]);_0x45e9b8[_0x76bba0(0x441)](),_0x22cbcd=_0x45e9b8;}else _0x22cbcd=this['_injector'][_0x76bba0(0x18e)](exports[_0x76bba0(0x284)],this[_0x76bba0(0x1bd)],this['type'],this[_0x76bba0(0x37d)]);}}return _0x22cbcd[_0x76bba0(0x248)](),_0x22cbcd;}catch(_0x203caf){return this[_0x76bba0(0x14f)][_0x76bba0(0x44d)]('[FetchMissState]',_0x76bba0(0x3cd),_0x203caf),this[_0x76bba0(0x16d)][_0x76bba0(0x18e)](exports[_0x76bba0(0x209)],this[_0x76bba0(0x1bd)],this[_0x76bba0(0x1a8)],this[_0x76bba0(0x160)],this['_pendingMutations'],this[_0x76bba0(0x37d)],!0x1);}}[_0x4877c9(0x3f4)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4877c9(0x31b)](_0xc9005a){var _0x502665=_0x4877c9;return this[_0x502665(0x1a5)][_0x502665(0x3f5)](_0xc9005a),this;}[_0x4877c9(0x2b2)](_0x2412f3){var _0x4f3c0f=_0x4877c9;return this['_queuedRemoteChangesets'][_0x4f3c0f(0x3f5)](_0x2412f3),this;}[_0x4877c9(0x2b8)](_0x4c0d8c){var _0x589a8f=_0x4877c9;if(this[_0x589a8f(0x160)])return this[_0x589a8f(0x249)]=this['_awaitingChangeset'],this[_0x589a8f(0x160)]=null,this;throw new Error(_0x589a8f(0x269));}[_0x4877c9(0x35a)](_0x4519d4){var _0x1d381e=_0x4877c9;return this[_0x1d381e(0x1f1)](!!(_0x4519d4!=null&&_0x4519d4['isPermissionRej']));}[_0x4877c9(0x1b2)](){return this;}[_0x4877c9(0x28b)](){var _0x17151f=_0x4877c9;return this[_0x17151f(0x16d)]['createInstance'](exports[_0x17151f(0x257)],this[_0x17151f(0x1bd)],this[_0x17151f(0x1a8)],this[_0x17151f(0x160)],this['_pendingMutations'],this['_handler']);}[_0x4877c9(0x14d)](){return this;}[_0x4877c9(0x1f1)](_0x1b865c){var _0xbc7c49=_0x4877c9;return this[_0xbc7c49(0x16d)][_0xbc7c49(0x18e)](exports[_0xbc7c49(0x209)],this[_0xbc7c49(0x1bd)],this['type'],this[_0xbc7c49(0x160)],this['_pendingMutations'],this['_handler'],_0x1b865c);}},exports[_0x4877c9(0x141)]=ce([w(0x7,a[_0x4877c9(0x385)](a['Injector'])),w(0x8,a[_0x4877c9(0x385)](g[_0x4877c9(0x2a9)])),w(0x9,a['ILogService']),w(0xa,a['ICommandService']),w(0xb,a[_0x4877c9(0x3c5)]),w(0xc,g['ITransformService']),w(0xd,a[_0x4877c9(0x142)](z))],exports[_0x4877c9(0x141)]);function Ut(_0x591d7d,_0x1fb60d,_0x17a715,_0x14d789,_0x28527a,_0x17971f){var _0x4ad090=_0x4877c9;return _0x14d789&&_0x28527a[_0x4ad090(0x374)]?_0x591d7d[_0x4ad090(0x18e)](exports['AwaitingWithPendingState'],_0x1fb60d,_0x17a715,_0x14d789,_0x28527a,_0x17971f,void 0x0):_0x14d789?_0x591d7d[_0x4ad090(0x18e)](exports[_0x4ad090(0x439)],_0x1fb60d,_0x17a715,_0x14d789,_0x17971f):_0x28527a[_0x4ad090(0x374)]?_0x591d7d[_0x4ad090(0x18e)](exports[_0x4ad090(0x32c)],_0x1fb60d,_0x17a715,_0x28527a,_0x17971f):_0x591d7d[_0x4ad090(0x18e)](exports[_0x4ad090(0x284)],_0x1fb60d,_0x17a715,_0x17971f);}var Ci=Object['getOwnPropertyDescriptor'],We=(_0x6fd22d,_0x27dc9f,_0x20a3d4,_0x4c120b)=>{var _0x492f31=_0x4877c9;for(var _0x28b82c=_0x4c120b>0x1?void 0x0:_0x4c120b?Ci(_0x27dc9f,_0x20a3d4):_0x27dc9f,_0x59e482=_0x6fd22d[_0x492f31(0x374)]-0x1,_0x2fe913;_0x59e482>=0x0;_0x59e482--)(_0x2fe913=_0x6fd22d[_0x59e482])&&(_0x28b82c=_0x2fe913(_0x28b82c)||_0x28b82c);return _0x28b82c;},$=(_0x18ac10,_0x12442b)=>(_0x4442f8,_0x1593e5)=>_0x12442b(_0x4442f8,_0x1593e5,_0x18ac10);exports[_0x4877c9(0x12c)]=class extends a[_0x4877c9(0x46d)]{constructor(_0x1c1253,_0x163e20,_0x2d8a22,_0x3854e7,_0x33f436,_0x457e5d,_0x445fde,_0x48f9d0,_0x39c882,_0x1b2a38,_0x2f59a2,_0x4564c9,_0x20e1fc){var _0x177672=_0x4877c9;super(),A(this,_0x177672(0x228),new j[(_0x177672(0x245))](null)),A(this,_0x177672(0x470),this[_0x177672(0x228)][_0x177672(0x134)]()),A(this,_0x177672(0x3b6)),A(this,_0x177672(0x113),!0x1),A(this,_0x177672(0x1b0),''),A(this,'_changesetReqId',0x0),A(this,_0x177672(0x2ad),this[_0x177672(0x470)]['pipe'](j[_0x177672(0x3df)](_0x2a26c5=>_0x2a26c5?_0x2a26c5[_0x177672(0x1dc)]:Ve['OFFLINE']),j[_0x177672(0x485)](0x1))),A(this,_0x177672(0x2eb),!0x1),A(this,_0x177672(0x2b4),[]),(this['unitID']=_0x1c1253,this['session']=_0x163e20,this[_0x177672(0x122)]=_0x2d8a22,this[_0x177672(0x16d)]=_0x3854e7,this[_0x177672(0x2e2)]=_0x33f436,this[_0x177672(0x299)]=_0x457e5d,this[_0x177672(0x35e)]=_0x445fde,this['_eventService']=_0x48f9d0,this[_0x177672(0x14f)]=_0x39c882,this[_0x177672(0x259)]=_0x1b2a38,this['_permissionService']=_0x2f59a2,this[_0x177672(0x129)]=_0x4564c9,this[_0x177672(0x1f2)]=_0x20e1fc);}get[_0x4877c9(0x11e)](){var _0xea0916=_0x4877c9;return this[_0xea0916(0x3b6)];}async['init'](){var _0x43f001=_0x4877c9;if(this[_0x43f001(0x11e)])throw new Error(_0x43f001(0x119));await this[_0x43f001(0x169)]();}[_0x4877c9(0x1f0)](){var _0x361805=_0x4877c9;return this[_0x361805(0x113)]=!0x0,a[_0x361805(0x23a)](()=>{var _0x538e8b=_0x361805;this[_0x538e8b(0x113)]=!0x1,this[_0x538e8b(0x221)]();});}['onLocalMutation'](_0x5b19af){this['_onLocalMutation'](_0x5b19af);}['_updateState'](_0x142858){var _0x55b5ad=_0x4877c9;this[_0x55b5ad(0x3b6)]=_0x142858,this[_0x55b5ad(0x228)][_0x55b5ad(0x46f)](_0x142858);}async[_0x4877c9(0x169)](){var _0x3b31a4=_0x4877c9,_0x2509ce;this[_0x3b31a4(0x26c)](await this[_0x3b31a4(0x2af)]()),this[_0x3b31a4(0x129)]&&((_0x2509ce=this[_0x3b31a4(0x129)])==null||_0x2509ce[_0x3b31a4(0x31c)](this['unitID']),this[_0x3b31a4(0x21a)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x3b31a4(0x1bd)])['subscribe'](_0x1dfc72=>{var _0x4883b3=_0x3b31a4;this[_0x4883b3(0x14f)][_0x4883b3(0x223)](_0x4883b3(0x1da),'editing\x20status\x20changed\x20to',_0x1dfc72),_0x1dfc72===Fe['OTHER_CLIENTS_EDITING']?(this['_eventService']['emitEvent']({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x4883b3(0x2c0)][_0x4883b3(0x27c)](new Z[(_0x4883b3(0x222))](this[_0x4883b3(0x1bd)])['id'],!0x1),this[_0x4883b3(0x2c0)][_0x4883b3(0x127)](!0x1)):(this[_0x4883b3(0x2c0)][_0x4883b3(0x27c)](new Z['WorkbookEditablePermission'](this[_0x4883b3(0x1bd)])['id'],!0x0),this[_0x4883b3(0x2c0)][_0x4883b3(0x127)](!0x0));})));let _0x1105ac=!0x1;return this[_0x3b31a4(0x21a)](this['session'][_0x3b31a4(0x2f1)]['subscribe'](_0x92116c=>{var _0x21234d=_0x3b31a4;_0x92116c===se[_0x21234d(0x24d)]?this[_0x21234d(0x356)](_0x1105ac):_0x92116c===se[_0x21234d(0x41c)]&&(_0x1105ac=!0x0,this[_0x21234d(0x16a)]());})),this[_0x3b31a4(0x21a)](this[_0x3b31a4(0x17f)][_0x3b31a4(0x19a)]['subscribe'](_0x1e962b=>{var _0xbb7711=_0x3b31a4;try{switch(_0x1e962b[_0xbb7711(0x24c)]){case g['CollaborationEvent'][_0xbb7711(0x3f0)]:{this['_onRemoteChangeset'](g[_0xbb7711(0x27e)](_0x1e962b['data']));break;}case g[_0xbb7711(0x1f6)][_0xbb7711(0x24a)]:{this[_0xbb7711(0x20f)](_0x1e962b[_0xbb7711(0x2dd)]);break;}case g[_0xbb7711(0x1f6)][_0xbb7711(0x419)]:{this[_0xbb7711(0x17a)]();break;}case g[_0xbb7711(0x1f6)][_0xbb7711(0x298)]:{this['_onRemoteRetry'](_0x1e962b['data']);break;}case g[_0xbb7711(0x1f6)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xbb7711(0x3be)](_0x1e962b[_0xbb7711(0x2dd)][_0xbb7711(0x44e)][_0xbb7711(0x3df)](_0xdcdf82=>g[_0xbb7711(0x27e)](_0xdcdf82)));break;}case g['CollaborationEvent'][_0xbb7711(0x2a6)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g[_0xbb7711(0x1f6)][_0xbb7711(0x3c8)]:break;}}catch(_0x363e39){throw console[_0xbb7711(0x44d)](_0xbb7711(0x19e),_0x363e39),_0x363e39;}})),this[_0x3b31a4(0x3b6)];}[_0x4877c9(0x3f3)](){var _0x4bbff4=_0x4877c9;this[_0x4bbff4(0x2eb)]=!0x1;}['_lockTransition'](){var _0x2c3c59=_0x4877c9;if(this['_transitionLocked'])throw new Error(_0x2c3c59(0x280));this['_transitionLocked']=!0x0;}[_0x4877c9(0x37a)](_0x4e1437){var _0x248b4b=_0x4877c9;this[_0x248b4b(0x125)](),this[_0x248b4b(0x26c)](this[_0x248b4b(0x3b6)]['appendMutation'](_0x4e1437)),this[_0x248b4b(0x3f3)]();}[_0x4877c9(0x444)](_0x3c8e06){var _0xf1a637=_0x4877c9;if(!(_0x3c8e06[_0xf1a637(0x1b5)]<=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']))){if(this[_0xf1a637(0x113)]){this[_0xf1a637(0x2b4)][_0xf1a637(0x3f5)](_0x3c8e06);return;}this[_0xf1a637(0x23b)](_0x3c8e06);}}['_exhaustRemoteChangesetQueue'](){var _0x44310a=_0x4877c9;this[_0x44310a(0x2b4)][_0x44310a(0x348)](_0x292c3e=>this[_0x44310a(0x23b)](_0x292c3e)),this['_remoteChangesetQueue']=[];}[_0x4877c9(0x23b)](_0x3c1389){var _0x343a73=_0x4877c9;const _0x34bd2f=this[_0x343a73(0x2e2)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x343a73(0x227)]()[_0x343a73(0x1cf)])(_0x3c1389[_0x343a73(0x182)],null)||_0x3c1389[_0x343a73(0x182)],_0x205e0e={..._0x3c1389,'mutations':_0x34bd2f};this['_lockTransition'](),this['_updateState'](this['_state'][_0x343a73(0x2b2)](_0x205e0e)),this['_unlockTransition']();}['_onRemoteACK'](_0x3a49f6){var _0x579146=_0x4877c9;this[_0x579146(0x125)](),this[_0x579146(0x26c)](this[_0x579146(0x3b6)]['onRemoteAck'](_0x3a49f6)),this[_0x579146(0x3f3)]();}[_0x4877c9(0x17a)](_0x578dfe){var _0x16a830=_0x4877c9;this[_0x16a830(0x125)](),this[_0x16a830(0x26c)](this[_0x16a830(0x3b6)][_0x16a830(0x35a)](_0x578dfe)),this[_0x16a830(0x3f3)]();}[_0x4877c9(0x3ca)](_0x2a47b7){var _0x1a9fe7=_0x4877c9;this[_0x1a9fe7(0x125)](),this['_updateState'](this[_0x1a9fe7(0x3b6)]['onRemoteRetry'](_0x2a47b7)),this[_0x1a9fe7(0x3f3)]();}[_0x4877c9(0x3be)](_0x3a4fd3){var _0x5fc5ef=_0x4877c9;if(!(this[_0x5fc5ef(0x3b6)]instanceof exports[_0x5fc5ef(0x141)]))throw new TypeError(_0x5fc5ef(0x3e3));const _0x5c3e81=_0x3a4fd3['map'](_0x4b977b=>{var _0x7d966e=_0x5fc5ef;const _0x5e0250=this[_0x7d966e(0x2e2)][_0x7d966e(0x251)]['fetchThroughInterceptors'](this[_0x7d966e(0x2e2)][_0x7d966e(0x251)][_0x7d966e(0x227)]()[_0x7d966e(0x1cf)])(_0x4b977b[_0x7d966e(0x182)],null)||_0x4b977b[_0x7d966e(0x182)];return{..._0x4b977b,'mutations':_0x5e0250};});this['_lockTransition'](),this[_0x5fc5ef(0x26c)](this[_0x5fc5ef(0x3b6)][_0x5fc5ef(0x3dc)](_0x5c3e81)),this[_0x5fc5ef(0x3f3)]();}[_0x4877c9(0x16a)](){var _0x14549c=_0x4877c9;this[_0x14549c(0x125)](),this[_0x14549c(0x26c)](this[_0x14549c(0x3b6)][_0x14549c(0x28b)]()),this[_0x14549c(0x3f3)]();}['_toggleOnline'](_0x1053b8=!0x1){var _0x1eb2a7=_0x4877c9;this['_lockTransition'](),this[_0x1eb2a7(0x26c)](this[_0x1eb2a7(0x3b6)]['toggleOnline']()),this['_unlockTransition']();const _0x27e3d5=this['_state'];_0x1053b8&&_0x27e3d5 instanceof exports['SyncedState']&&(this[_0x1eb2a7(0x125)](),this[_0x1eb2a7(0x26c)](_0x27e3d5[_0x1eb2a7(0x232)]()),this[_0x1eb2a7(0x3f3)]());}async[_0x4877c9(0x2af)](){return new Promise(_0x1e19f5=>{var _0x5deef0=_0x38be;this[_0x5deef0(0x17f)]['sessionStatus$'][_0x5deef0(0x432)](j[_0x5deef0(0x416)](0x1))[_0x5deef0(0x1e1)](async _0x5c4472=>{var _0x19b1fc=_0x5deef0;_0x1e19f5(await this[_0x19b1fc(0x191)](_0x5c4472===se[_0x19b1fc(0x24d)]));});});}[_0x4877c9(0x1e4)](){var _0x162b93=_0x4877c9;const _0x3db507=this[_0x162b93(0x1bd)];return{'onStateChange':(_0x4fca3d,_0x38fa59)=>{var _0x152a9d=_0x162b93;if(_0x4fca3d!==this[_0x152a9d(0x3b6)])throw new Error(_0x152a9d(0x334)+_0x4fca3d[_0x152a9d(0x1dc)]+_0x152a9d(0x39a)+_0x38fa59['status']+_0x152a9d(0x36e)+this[_0x152a9d(0x3b6)][_0x152a9d(0x1dc)]);this['_updateState'](_0x38fa59);},'onSendChangeset':_0x768276=>{var _0x3a4096=_0x162b93;_0x768276[_0x3a4096(0x1eb)]||(_0x768276[_0x3a4096(0x1eb)]=this[_0x3a4096(0x1b0)],_0x768276[_0x3a4096(0x452)]=++this[_0x3a4096(0x473)]);const _0x2cde8a={'eventID':g[_0x3a4096(0x1f6)][_0x3a4096(0x312)],'data':{'unitID':_0x768276[_0x3a4096(0x1bd)],'unitType':this[_0x3a4096(0x122)],'changeset':_0x768276,'memberID':this[_0x3a4096(0x17f)][_0x3a4096(0x36c)]()}};this[_0x3a4096(0x17f)][_0x3a4096(0x43c)](_0x2cde8a,this[_0x3a4096(0x1bd)]);},'onMissingChangesets':({from:_0xed36e4,to:_0xb79723})=>{var _0x321ec6=_0x162b93;this[_0x321ec6(0x14f)][_0x321ec6(0x223)](_0x321ec6(0x1da),'fetching\x20missing\x20changesets\x20from\x20'+_0xed36e4+_0x321ec6(0x403)+_0xb79723);const _0x45bcd5={'eventID':g[_0x321ec6(0x1f6)][_0x321ec6(0x3cb)],'data':{'unitID':_0x3db507,'unitType':this[_0x321ec6(0x122)],'from':_0xed36e4,'to':_0xb79723}};this[_0x321ec6(0x17f)][_0x321ec6(0x43c)](_0x45bcd5,this[_0x321ec6(0x1bd)]);}};}async[_0x4877c9(0x191)](_0x59e57c){var _0x17b22a=_0x4877c9,_0xefede,_0x299e0f,_0x15c219;const _0x7e33e8=await((_0xefede=this[_0x17b22a(0x1f2)])==null?void 0x0:_0xefede[_0x17b22a(0x277)](this[_0x17b22a(0x1bd)])),_0x5631a5=(_0x299e0f=_0x7e33e8==null?void 0x0:_0x7e33e8[_0x17b22a(0x182)])!=null?_0x299e0f:[],_0x12c5ae=(_0x15c219=_0x7e33e8==null?void 0x0:_0x7e33e8[_0x17b22a(0x154)])!=null?_0x15c219:null,_0x2e100b=!!(_0x12c5ae!=null&&_0x12c5ae[_0x17b22a(0x1eb)])&&!!(_0x12c5ae!=null&&_0x12c5ae[_0x17b22a(0x452)]);this['_changesetSessionId']=_0x2e100b?_0x12c5ae[_0x17b22a(0x1eb)]:di(),this[_0x17b22a(0x473)]=_0x2e100b?_0x12c5ae[_0x17b22a(0x452)]:0x0;const _0x5db9ba=this[_0x17b22a(0x1bd)];try{this['_replayCachedMutations'](_0x12c5ae,_0x5631a5);}catch(_0x1e1264){this[_0x17b22a(0x14f)][_0x17b22a(0x44d)](_0x1e1264);}const _0x336af8=this['_createHandler']();if(_0x59e57c){const _0x1ecaa7=Ut(this[_0x17b22a(0x16d)],_0x5db9ba,this[_0x17b22a(0x122)],_0x12c5ae,_0x5631a5,_0x336af8);return _0x1ecaa7 instanceof exports[_0x17b22a(0x32c)]?_0x1ecaa7[_0x17b22a(0x441)]():(_0x1ecaa7 instanceof exports[_0x17b22a(0x2f0)]||_0x1ecaa7 instanceof exports[_0x17b22a(0x439)])&&_0x1ecaa7[_0x17b22a(0x3f4)](),_0x1ecaa7;}return this['_injector'][_0x17b22a(0x18e)](exports['OfflineState'],_0x5db9ba,this[_0x17b22a(0x122)],_0x12c5ae,_0x5631a5,_0x336af8);}[_0x4877c9(0x194)](_0x4dc7c1,_0x3a3fc3){var _0xcd324a=_0x4877c9,_0x51a418,_0x2b4385;const _0x3fb959=this[_0xcd324a(0x2e2)][_0xcd324a(0x251)][_0xcd324a(0x38e)](this[_0xcd324a(0x2e2)]['interceptor'][_0xcd324a(0x227)]()[_0xcd324a(0x1cf)]);(_0x51a418=_0x3fb959((_0x4dc7c1==null?void 0x0:_0x4dc7c1[_0xcd324a(0x182)])||[],null))==null||_0x51a418[_0xcd324a(0x348)](_0x5c2397=>this['_commandService'][_0xcd324a(0x2cf)](_0x5c2397['id'],_0x5c2397['params'])),(_0x2b4385=_0x3fb959(_0x3a3fc3||[],null))==null||_0x2b4385[_0xcd324a(0x348)](_0x2a313d=>this[_0xcd324a(0x259)]['executeCommand'](_0x2a313d['id'],_0x2a313d['params']));}},exports['CollaborationEntity']=We([$(0x3,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),$(0x4,a['Inject'](g[_0x4877c9(0x46c)])),$(0x5,a[_0x4877c9(0x385)](a[_0x4877c9(0x349)])),$(0x6,a[_0x4877c9(0x385)](g[_0x4877c9(0x2a9)])),$(0x7,a[_0x4877c9(0x385)](te)),$(0x8,a[_0x4877c9(0x445)]),$(0x9,a['ICommandService']),$(0xa,a[_0x4877c9(0x18d)]),$(0xb,a[_0x4877c9(0x142)](ve)),$(0xc,a[_0x4877c9(0x142)](z))],exports['CollaborationEntity']),exports[_0x4877c9(0x233)]=class extends exports[_0x4877c9(0x12c)]{constructor(_0xa0d2cb,_0x35b168,_0xfa13ca,_0x2953b2,_0x55271b,_0x4b0d43,_0x387385,_0x7473f2,_0x39a5a4,_0x27fb23,_0x202da6,_0x5d7eb7,_0x1e5912){var _0x213498=_0x4877c9;super(_0xa0d2cb,_0xfa13ca,_0x35b168,_0x2953b2,_0x55271b,_0x4b0d43,_0x387385,_0x7473f2,_0x39a5a4,_0x27fb23,_0x202da6,_0x5d7eb7,_0x1e5912),A(this,_0x213498(0x45d),null),(this[_0x213498(0x1bd)]=_0xa0d2cb,this[_0x213498(0x1a8)]=_0x35b168);}[_0x4877c9(0x418)](_0x3d5b08){var _0x2e68b2=_0x4877c9;this[_0x2e68b2(0x45d)]=_0x3d5b08;}[_0x4877c9(0x132)](){var _0x28d5c2=_0x4877c9;this[_0x28d5c2(0x45d)]=null,super[_0x28d5c2(0x132)]();}[_0x4877c9(0x1e4)](){var _0x227e1f=_0x4877c9;const _0x143833=super[_0x227e1f(0x1e4)]();return _0x143833[_0x227e1f(0x17b)]=_0x41a431=>{var _0x37df27=_0x227e1f,_0x301112,_0x2765a4;return(_0x2765a4=(_0x301112=this[_0x37df27(0x45d)])==null?void 0x0:_0x301112[_0x37df27(0x17b)])==null?void 0x0:_0x2765a4[_0x37df27(0x45b)](_0x301112,_0x41a431);},_0x143833[_0x227e1f(0x317)]=_0x781c16=>{var _0x4cc4b5=_0x227e1f,_0x5f23f4,_0xa0c2fc;return(_0xa0c2fc=(_0x5f23f4=this[_0x4cc4b5(0x45d)])==null?void 0x0:_0x5f23f4['onTransformState'])==null?void 0x0:_0xa0c2fc['call'](_0x5f23f4,_0x781c16);},_0x143833[_0x227e1f(0x47a)]=_0xb0e6b9=>{var _0x174047=_0x227e1f,_0x2a873b,_0x15667c;return(_0x15667c=(_0x2a873b=this[_0x174047(0x45d)])==null?void 0x0:_0x2a873b['onTransformSelections'])==null?void 0x0:_0x15667c[_0x174047(0x45b)](_0x2a873b,_0xb0e6b9);},_0x143833[_0x227e1f(0x139)]=_0xebcb1c=>{var _0x332634=_0x227e1f,_0x56659d,_0x289381;return(_0x289381=(_0x56659d=this['_handlerCallback'])==null?void 0x0:_0x56659d[_0x332634(0x139)])==null?void 0x0:_0x289381[_0x332634(0x45b)](_0x56659d,_0xebcb1c);},_0x143833[_0x227e1f(0x3f9)]=_0xf236e5=>{var _0x295086=_0x227e1f,_0x4336c8,_0x1b4ad0,_0x4f14e0;if(!((_0x4336c8=this[_0x295086(0x45d)])!=null&&_0x4336c8['onTransformRemoteChangesetByIMECache']))throw new Error(_0x295086(0x226));return(_0x4f14e0=(_0x1b4ad0=this[_0x295086(0x45d)])==null?void 0x0:_0x1b4ad0[_0x295086(0x3f9)])==null?void 0x0:_0x4f14e0[_0x295086(0x45b)](_0x1b4ad0,_0xf236e5);},_0x143833[_0x227e1f(0x347)]=_0x493e8e=>{var _0xcb8da9=_0x227e1f,_0x320359,_0x10588f,_0x48222b;if(!((_0x320359=this[_0xcb8da9(0x45d)])!=null&&_0x320359[_0xcb8da9(0x347)]))throw new Error(_0xcb8da9(0x26a));return(_0x48222b=(_0x10588f=this[_0xcb8da9(0x45d)])==null?void 0x0:_0x10588f['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x48222b[_0xcb8da9(0x45b)](_0x10588f,_0x493e8e);},_0x143833;}async[_0x4877c9(0x169)](){var _0x5bd0d2=_0x4877c9;const _0x33871a=await super[_0x5bd0d2(0x169)]();return this[_0x5bd0d2(0x21a)](this[_0x5bd0d2(0x259)]['onCommandExecuted']((_0x5dec6f,_0x1165e0)=>{var _0x149e89=_0x5bd0d2;if(_0x5dec6f['type']!==a[_0x149e89(0x1cb)]['MUTATION']||_0x1165e0!=null&&_0x1165e0['fromCollab']||_0x1165e0!=null&&_0x1165e0[_0x149e89(0x1b9)]||_0x5dec6f['id']===ut[_0x149e89(0x390)]['id'])return;const _0x59ee19=_0x5dec6f[_0x149e89(0x2d4)];if((_0x59ee19==null?void 0x0:_0x59ee19[_0x149e89(0x26e)])!==this['unitID'])return;const _0x5edb93=_0x5dec6f,_0x7182a1=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x149e89(0x227)]()[_0x149e89(0x3a1)])([_0x5edb93],null)||[_0x5edb93];this[_0x149e89(0x37a)](_0x7182a1[0x0]);})),_0x33871a;}},exports[_0x4877c9(0x233)]=We([$(0x3,a[_0x4877c9(0x385)](a['Injector'])),$(0x4,a[_0x4877c9(0x385)](g[_0x4877c9(0x46c)])),$(0x5,a['Inject'](a[_0x4877c9(0x349)])),$(0x6,a['Inject'](g[_0x4877c9(0x2a9)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x4877c9(0x445)]),$(0x9,a[_0x4877c9(0x216)]),$(0xa,a[_0x4877c9(0x18d)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x4877c9(0x142)](z))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x4877c9(0x12c)]{constructor(_0x22faa4,_0x23ed77,_0x5b87a7,_0x19ef57,_0x35ca91,_0x59a90b,_0x6d7a16,_0x3c5521,_0x3f8ca3,_0xdc885e,_0x3f0531,_0x3ceac5,_0x31baa8,_0x4c06d8){var _0x3007a7=_0x4877c9;super(_0x22faa4,_0x5b87a7,_0x23ed77,_0x19ef57,_0x35ca91,_0x59a90b,_0x6d7a16,_0x3f8ca3,_0xdc885e,_0x3f0531,_0x3ceac5,_0x31baa8,_0x4c06d8),this[_0x3007a7(0x1bd)]=_0x22faa4,this[_0x3007a7(0x1a8)]=_0x23ed77,this[_0x3007a7(0x346)]=_0x3c5521;}[_0x4877c9(0x1e4)](){var _0x2d814b=_0x4877c9;const _0x589daa=super[_0x2d814b(0x1e4)]();return _0x589daa[_0x2d814b(0x47a)]=_0x4f69d3=>this[_0x2d814b(0x346)][_0x2d814b(0x1c5)](_0x4f69d3),_0x589daa;}async[_0x4877c9(0x169)](){var _0x1a22a9=_0x4877c9;const _0x4decfa=await super[_0x1a22a9(0x169)]();return this[_0x1a22a9(0x21a)](this[_0x1a22a9(0x259)]['onCommandExecuted']((_0x5075ae,_0x13bcdf)=>{var _0xacda6=_0x1a22a9;if(_0x5075ae[_0xacda6(0x1a8)]!==a[_0xacda6(0x1cb)][_0xacda6(0x3b7)]||_0x13bcdf!=null&&_0x13bcdf[_0xacda6(0x405)]||_0x13bcdf!=null&&_0x13bcdf[_0xacda6(0x1b9)])return;const _0x154fc5=_0x5075ae[_0xacda6(0x2d4)];if((_0x154fc5==null?void 0x0:_0x154fc5[_0xacda6(0x26e)])!==this['unitID'])return;const _0x1ad810=_0x5075ae,_0x4fcbba=this[_0xacda6(0x2e2)][_0xacda6(0x251)][_0xacda6(0x38e)](this[_0xacda6(0x2e2)][_0xacda6(0x251)][_0xacda6(0x227)]()['COMPRESS_MUTATION_SEND'])([_0x1ad810],null)||[_0x1ad810];this[_0xacda6(0x37a)](_0x4fcbba[0x0]);})),_0x4decfa;}},exports[_0x4877c9(0x187)]=We([$(0x3,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),$(0x4,a[_0x4877c9(0x385)](g['CompressMutationService'])),$(0x5,a[_0x4877c9(0x385)](a[_0x4877c9(0x349)])),$(0x6,a[_0x4877c9(0x385)](g[_0x4877c9(0x2a9)])),$(0x7,a[_0x4877c9(0x385)](exports[_0x4877c9(0x34c)])),$(0x8,a[_0x4877c9(0x385)](te)),$(0x9,a[_0x4877c9(0x445)]),$(0xa,a[_0x4877c9(0x216)]),$(0xb,a['IPermissionService']),$(0xc,a[_0x4877c9(0x142)](ve)),$(0xd,a[_0x4877c9(0x142)](z))],exports[_0x4877c9(0x187)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x105325,_0x48db02,_0x17e72d,_0x27bef4)=>{var _0x332818=_0x4877c9;for(var _0x554c3c=_0x27bef4>0x1?void 0x0:_0x27bef4?Ti(_0x48db02,_0x17e72d):_0x48db02,_0x1a6680=_0x105325[_0x332818(0x374)]-0x1,_0x275ec7;_0x1a6680>=0x0;_0x1a6680--)(_0x275ec7=_0x105325[_0x1a6680])&&(_0x554c3c=_0x275ec7(_0x554c3c)||_0x554c3c);return _0x554c3c;},Pe=(_0x2fe746,_0x55e910)=>(_0x4bd6fc,_0x5337ec)=>_0x55e910(_0x4bd6fc,_0x5337ec,_0x2fe746);exports[_0x4877c9(0x155)]=class extends a[_0x4877c9(0x46d)]{constructor(_0xad4dcf,_0x1bc1c6,_0xf0b051){var _0x3b5d50=_0x4877c9;super(),A(this,_0x3b5d50(0x18a),new Map()),A(this,_0x3b5d50(0x2d0),new j[(_0x3b5d50(0x2aa))]()),A(this,_0x3b5d50(0x2f8),this[_0x3b5d50(0x2d0)][_0x3b5d50(0x134)]()),(this[_0x3b5d50(0x16d)]=_0xad4dcf,this[_0x3b5d50(0x362)]=_0x1bc1c6,this[_0x3b5d50(0x244)]=_0xf0b051,this[_0x3b5d50(0x169)]());}[_0x4877c9(0x132)](){var _0x1c49da=_0x4877c9;super['dispose'](),this[_0x1c49da(0x18a)]['forEach'](_0x53f96d=>_0x53f96d['dispose']()),this['_entities'][_0x1c49da(0x3d8)]();}[_0x4877c9(0x315)](_0x22f1dc){var _0x4f27c0=_0x4877c9,_0x256225;return(_0x256225=this[_0x4f27c0(0x18a)][_0x4f27c0(0x208)](_0x22f1dc))!=null?_0x256225:null;}[_0x4877c9(0x256)](_0x167993){var _0x958c35=_0x4877c9;const _0x996f69=this[_0x958c35(0x315)](_0x167993);return _0x996f69?j['of'](_0x996f69):this[_0x958c35(0x2d0)]['pipe'](V[_0x958c35(0x3ff)](_0xf601ac=>_0xf601ac[_0x958c35(0x1bd)]===_0x167993));}['readyForCollab'](_0xafe465){var _0x21dfe3=_0x4877c9;return j[_0x21dfe3(0x316)](this[_0x21dfe3(0x256)](_0xafe465)[_0x21dfe3(0x432)](V['map'](()=>{})));}[_0x4877c9(0x169)](){var _0x33728d=_0x4877c9;this['_univerInstanceService'][_0x33728d(0x25c)](a[_0x33728d(0x402)][_0x33728d(0x40d)])['pipe'](j['takeUntil'](this[_0x33728d(0x42f)]),V[_0x33728d(0x300)](0x10))[_0x33728d(0x1e1)](async _0x22a7d4=>{var _0xd842ba=_0x33728d;const _0x689900=_0x22a7d4[_0xd842ba(0x217)](),_0x361bf8=await this[_0xd842ba(0x3b2)](_0x689900,X['UNIVER_SHEET']);this[_0xd842ba(0x18a)][_0xd842ba(0x2c9)](_0x689900,_0x361bf8);}),this['_univerInstanceService'][_0x33728d(0x25c)](a[_0x33728d(0x402)][_0x33728d(0x29f)])[_0x33728d(0x432)](j['takeUntil'](this[_0x33728d(0x42f)]),V[_0x33728d(0x300)](0x10))[_0x33728d(0x432)](V[_0x33728d(0x3ff)](_0x38554d=>!_0x38554d['getUnitId']()[_0x33728d(0x1ce)]('__')))['subscribe'](async _0x5163e9=>{var _0x57bfdc=_0x33728d;const _0x3936a9=_0x5163e9[_0x57bfdc(0x217)](),_0x51c902=await this[_0x57bfdc(0x3b2)](_0x3936a9,X[_0x57bfdc(0x29f)]);this[_0x57bfdc(0x18a)][_0x57bfdc(0x2c9)](_0x3936a9,_0x51c902);}),j[_0x33728d(0x414)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x33728d(0x40d)]),this[_0x33728d(0x244)][_0x33728d(0x17c)](a['UniverInstanceType'][_0x33728d(0x29f)]))[_0x33728d(0x432)](j[_0x33728d(0x293)](this[_0x33728d(0x42f)]))['subscribe'](_0x2cff6c=>{var _0x5dea39=_0x33728d;const _0x12ea99=_0x2cff6c['getUnitId'](),_0x23e3a6=this[_0x5dea39(0x18a)][_0x5dea39(0x208)](_0x12ea99);_0x23e3a6&&(_0x23e3a6[_0x5dea39(0x132)](),this['_entities'][_0x5dea39(0x483)](_0x12ea99));});}async[_0x4877c9(0x3b2)](_0x2e2c25,_0x3a2f16){var _0x329298=_0x4877c9;const _0x39a7b0=await this[_0x329298(0x362)][_0x329298(0x2f4)](_0x2e2c25),_0x4c0616=this[_0x329298(0x16d)][_0x329298(0x18e)](this[_0x329298(0x382)](_0x3a2f16),_0x2e2c25,_0x3a2f16,_0x39a7b0);return await _0x4c0616[_0x329298(0x3c6)](),this['_entityInit$'][_0x329298(0x46f)](_0x4c0616),_0x4c0616;}[_0x4877c9(0x382)](_0x9cb5f7){var _0x201101=_0x4877c9;switch(_0x9cb5f7){case X[_0x201101(0x29f)]:return exports[_0x201101(0x233)];case X['UNIVER_SHEET']:return exports[_0x201101(0x187)];default:throw new Error(_0x201101(0x2b7)+_0x9cb5f7);}}},exports[_0x4877c9(0x155)]=bi([Pe(0x0,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),Pe(0x1,a[_0x4877c9(0x385)](exports[_0x4877c9(0x1ca)])),Pe(0x2,a['IUniverInstanceService'])],exports[_0x4877c9(0x155)]);var Ri=Object[_0x4877c9(0x2ac)],Oi=(_0x5e2d0c,_0x21101e,_0xbd2b3c,_0x108bab)=>{var _0x53f872=_0x4877c9;for(var _0x1da5fb=_0x108bab>0x1?void 0x0:_0x108bab?Ri(_0x21101e,_0xbd2b3c):_0x21101e,_0x5aaf9d=_0x5e2d0c[_0x53f872(0x374)]-0x1,_0x1cb804;_0x5aaf9d>=0x0;_0x5aaf9d--)(_0x1cb804=_0x5e2d0c[_0x5aaf9d])&&(_0x1da5fb=_0x1cb804(_0x1da5fb)||_0x1da5fb);return _0x1da5fb;},Je=(_0x2d82e8,_0x2a36f3)=>(_0x136ca6,_0x30f238)=>_0x2a36f3(_0x136ca6,_0x30f238,_0x2d82e8);const yi=_0x4877c9(0x3ea),Ni=_0x4877c9(0x1d3);let He=class extends a[_0x4877c9(0x21e)]{constructor(_0x2b686f,_0x197967){var _0x55bd64=_0x4877c9;super(),this[_0x55bd64(0x244)]=_0x2b686f,this[_0x55bd64(0x401)]=_0x197967,this['_init']();}[_0x4877c9(0x169)](){var _0x4d1018=_0x4877c9;this[_0x4d1018(0x21a)](this[_0x4d1018(0x244)][_0x4d1018(0x266)][_0x4d1018(0x1e1)](()=>{var _0x3f5104=_0x4d1018,_0x115fcf;const _0x5bef91=this[_0x3f5104(0x244)][_0x3f5104(0x3a0)]();let _0x5555ec=(_0x115fcf=this['_configService']['getConfig'](yi))!=null?_0x115fcf:Ni;_0x5bef91 instanceof a[_0x3f5104(0x443)]&&(_0x5555ec=_0x5bef91[_0x3f5104(0x210)]),document[_0x3f5104(0x450)]=_0x5555ec;}));}};He=Oi([Je(0x0,a[_0x4877c9(0x2ff)]),Je(0x1,a['IConfigService'])],He);var Ui=Object['getOwnPropertyDescriptor'],Di=(_0x2ad70c,_0x48c3bc,_0x58ab93,_0x317c68)=>{for(var _0x1c2ae8=_0x317c68>0x1?void 0x0:_0x317c68?Ui(_0x48c3bc,_0x58ab93):_0x48c3bc,_0x3dbb64=_0x2ad70c['length']-0x1,_0x25b980;_0x3dbb64>=0x0;_0x3dbb64--)(_0x25b980=_0x2ad70c[_0x3dbb64])&&(_0x1c2ae8=_0x25b980(_0x1c2ae8)||_0x1c2ae8);return _0x1c2ae8;},we=(_0x3f33ea,_0x116cbb)=>(_0x9bc9f0,_0x40b8ea)=>_0x116cbb(_0x9bc9f0,_0x40b8ea,_0x3f33ea);let ye=class{constructor(_0x49de93,_0x128db1,_0xcd90d7){var _0x1ed883=_0x4877c9;this[_0x1ed883(0x401)]=_0x49de93,this[_0x1ed883(0x30e)]=_0x128db1,this['localeService']=_0xcd90d7,this['init']();}['init'](){var _0x18daa9=_0x4877c9;this[_0x18daa9(0x30e)][_0x18daa9(0x3c7)]({'priority':0x1,'interceptor':(_0x157b79,_0x12bb15)=>_0x12bb15(_0x157b79)[_0x18daa9(0x432)](j[_0x18daa9(0x24e)](async _0x38b85a=>{var _0x10638b=_0x18daa9;const _0x6c709b=_0x38b85a;if(_0x6c709b['status']===0x191){if(typeof window>'u')throw new Error(_0x10638b(0x352));if(window[_0x10638b(0x2a4)](this[_0x10638b(0x2f9)]['t'](_0x10638b(0x44a)))){const _0x14d03e=window[_0x10638b(0x3cf)](window[_0x10638b(0x20e)]['href']);window['location'][_0x10638b(0x47e)]=this[_0x10638b(0x364)]()+'?url='+_0x14d03e;}}return _0x6c709b;}))});}[_0x4877c9(0x364)](){var _0x16981b=_0x4877c9,_0x2f23eb,_0x1c1a84;const _0x2e1cc3=this[_0x16981b(0x401)][_0x16981b(0x1f7)](Et),_0x1a12e5=this[_0x16981b(0x401)][_0x16981b(0x1f7)](Y);return(_0x1c1a84=(_0x2f23eb=_0x1a12e5==null?void 0x0:_0x1a12e5['loginUrlKey'])!=null?_0x2f23eb:_0x2e1cc3)!=null?_0x1c1a84:Yt;}};ye=Di([we(0x0,a[_0x4877c9(0x1a9)]),we(0x1,a['Inject'](q[_0x4877c9(0x2bf)])),we(0x2,a[_0x4877c9(0x385)](a['LocaleService']))],ye);var Ai=Object[_0x4877c9(0x2ac)],Pi=(_0x4a0855,_0x1b825b,_0x42eb07,_0x546ee4)=>{var _0x4b6887=_0x4877c9;for(var _0x3ed7b4=_0x546ee4>0x1?void 0x0:_0x546ee4?Ai(_0x1b825b,_0x42eb07):_0x1b825b,_0x3f9484=_0x4a0855[_0x4b6887(0x374)]-0x1,_0x4f5a26;_0x3f9484>=0x0;_0x3f9484--)(_0x4f5a26=_0x4a0855[_0x3f9484])&&(_0x3ed7b4=_0x4f5a26(_0x3ed7b4)||_0x3ed7b4);return _0x3ed7b4;},Xe=(_0x853dbf,_0x2b004e)=>(_0x1f477d,_0x3f14f0)=>_0x2b004e(_0x1f477d,_0x3f14f0,_0x853dbf);const Ge=_0x4877c9(0x38c),wi=_0x4877c9(0x1e6);exports[_0x4877c9(0x27b)]=class extends a[_0x4877c9(0x21e)]{constructor(_0x498fba,_0x4d13ed){var _0xa1bb66=_0x4877c9;super(),this[_0xa1bb66(0x261)]=_0x498fba,this[_0xa1bb66(0x401)]=_0x4d13ed,this['_initMergeInterceptor']();}[_0x4877c9(0x37e)](){var _0x39b9e2=_0x4877c9;const _0x1e6afa=this;this[_0x39b9e2(0x21a)](this['_HTTPService'][_0x39b9e2(0x3c7)]({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x99a2c9){var _0x50ade1=_0x39b9e2,_0xeb869f;if(_0x99a2c9['method']===_0x50ade1(0x324)&&((_0xeb869f=_0x99a2c9[_0x50ade1(0x3af)])!=null&&_0xeb869f[_0x50ade1(0x25a)])){const {objectID:_0x56a6f8,objectType:_0x4ce049}=_0x99a2c9[_0x50ade1(0x3af)]['body']||{};if(!_0x56a6f8||_0x4ce049===void 0x0)return!0x1;const _0x56a02a=_0x1e6afa['_getAPIPrefixPath']()+'/'+_0x4ce049+_0x50ade1(0x453)+_0x56a6f8+_0x50ade1(0x303);if(_0x99a2c9[_0x50ade1(0x2ae)]===_0x56a02a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a3d80){var _0x1961f7=_0x39b9e2,_0x5da672;return(_0x5da672=_0x4a3d80['requestParams'])==null?void 0x0:_0x5da672[_0x1961f7(0x25a)];},'mergeParamsToRequest'(_0x2caf3b,_0x2eba7f){var _0x3ae2a0=_0x39b9e2;const _0x39acc4=_0x1e6afa[_0x3ae2a0(0x1a0)]()+_0x3ae2a0(0x33c),_0x1edc96=_0x2caf3b[_0x3ae2a0(0x2db)]((_0x1c4d00,_0x36fe9c)=>{var _0x572558=_0x3ae2a0;const {unitID:_0x20c7e2,objectID:_0x3bf381,objectType:_0x758c41,actions:_0x1eae2f}=_0x36fe9c;return _0x1c4d00[_0x20c7e2]||(_0x1c4d00[_0x20c7e2]={}),_0x1c4d00[_0x20c7e2][_0x3bf381]||(_0x1c4d00[_0x20c7e2][_0x3bf381]={'objectID':_0x3bf381,'objectType':_0x758c41,'actions':[]}),_0x1c4d00[_0x20c7e2][_0x3bf381][_0x572558(0x361)]['push'](..._0x1eae2f),_0x1c4d00;},{}),_0x1dea8c=[];for(const _0x1a16e3 in _0x1edc96)for(const _0x135828 in _0x1edc96[_0x1a16e3]){const {actions:_0x3831d5,objectType:_0x41060f}=_0x1edc96[_0x1a16e3][_0x135828],_0x16e704=[...new Set(_0x3831d5)];_0x1dea8c[_0x3ae2a0(0x3f5)]({'unitID':_0x1a16e3,'objectID':_0x135828,'objectType':_0x41060f,'actions':_0x16e704});}return new q[(_0x3ae2a0(0x275))](_0x3ae2a0(0x324),_0x39acc4,{'headers':_0x2eba7f[_0x3ae2a0(0x47f)],'withCredentials':_0x2eba7f[_0x3ae2a0(0x14c)],'responseType':_0x2eba7f[_0x3ae2a0(0x48c)],'body':{'requests':_0x1dea8c}});}},{'distributeResult'(_0x1a8a70,_0xc6fad6){var _0x4bfbdf=_0x39b9e2;const {objectActions:_0x49ec48}=_0x1a8a70;return _0xc6fad6[_0x4bfbdf(0x3df)](_0xe01954=>{var _0x7642e4=_0x4bfbdf;const {unitID:_0x3bae18,objectID:_0x2bf0a9,actions:_0x274b10}=_0xe01954,_0x3fcfd2=_0x49ec48[_0x7642e4(0x328)](_0x4f8556=>_0x4f8556['unitID']===_0x3bae18&&_0x4f8556[_0x7642e4(0x437)]===_0x2bf0a9),_0x3d59e6=_0x274b10['map'](_0x56bf3a=>_0x3fcfd2==null?void 0x0:_0x3fcfd2[_0x7642e4(0x361)][_0x7642e4(0x328)](_0x1af3c1=>_0x1af3c1[_0x7642e4(0x1ec)]===_0x56bf3a))[_0x7642e4(0x3ff)](_0x43463d=>!!_0x43463d);return{'config':_0xe01954,'result':{'actions':_0x3d59e6,'error':_0x1a8a70[_0x7642e4(0x44d)]}};});}})}));}[_0x4877c9(0x1a0)](){var _0x372148=_0x4877c9,_0x345242,_0x4ed0c5;const _0xdeaa5b=this[_0x372148(0x401)][_0x372148(0x1f7)](Ge),_0x4d6fad=this[_0x372148(0x401)]['getConfig'](Y);return(_0x4ed0c5=(_0x345242=_0x4d6fad==null?void 0x0:_0x4d6fad[_0x372148(0x429)])!=null?_0x345242:_0xdeaa5b)!=null?_0x4ed0c5:wi;}async['create'](_0x25032c){var _0x320801=_0x4877c9;const _0x2a7d33=this[_0x320801(0x1a0)]()+'/'+_0x25032c[_0x320801(0x2ab)]+_0x320801(0x3a6);return(await this[_0x320801(0x261)]['post'](_0x2a7d33,{'body':_0x25032c}))[_0x320801(0x25a)][_0x320801(0x437)]||'';}async[_0x4877c9(0x338)](_0x3fdba1){var _0x398f0a=_0x4877c9;const _0x3b357c=this['_getAPIPrefixPath']()+_0x398f0a(0x1ee);return(await this['_HTTPService'][_0x398f0a(0x140)](_0x3b357c,{'body':_0x3fdba1}))['body']['objects'];}async['update'](_0x12edb7){var _0x56c67f=_0x4877c9,_0xabb67,_0x552eea;const _0x510125=this[_0x56c67f(0x1a0)]()+'/'+_0x12edb7['objectType']+'/object/'+_0x12edb7[_0x56c67f(0x437)],_0x387a45=await this['_HTTPService'][_0x56c67f(0x404)](_0x510125,{'body':_0x12edb7});if(((_0x552eea=(_0xabb67=_0x387a45==null?void 0x0:_0x387a45[_0x56c67f(0x25a)])==null?void 0x0:_0xabb67[_0x56c67f(0x44d)])==null?void 0x0:_0x552eea['code'])!==0x1)throw new Error(_0x56c67f(0x1fd));}async[_0x4877c9(0x2ed)](_0x15f3be){var _0x3c3361=_0x4877c9;const _0x1fd0a7=this[_0x3c3361(0x1a0)]()+'/'+_0x15f3be[_0x3c3361(0x2ab)]+_0x3c3361(0x453)+_0x15f3be['objectID']+_0x3c3361(0x303);return(await this['_HTTPService'][_0x3c3361(0x140)](_0x1fd0a7,{'body':_0x15f3be}))[_0x3c3361(0x25a)][_0x3c3361(0x361)];}async[_0x4877c9(0x2d3)](_0x508e8e){var _0x43c641=_0x4877c9;const _0x17529f=this['_getAPIPrefixPath']()+_0x43c641(0x33c);return(await this[_0x43c641(0x261)]['post'](_0x17529f,{'body':{'requests':_0x508e8e}}))[_0x43c641(0x25a)][_0x43c641(0x378)];}async['listRoles'](_0xfd2e4b){var _0x1f95cc=_0x4877c9;const _0x2d1040=this[_0x1f95cc(0x1a0)]()+'/'+_0xfd2e4b['objectType']+'/role',_0x1424f4=await this['_HTTPService'][_0x1f95cc(0x140)](_0x2d1040,{'body':_0xfd2e4b});return{'roles':_0x1424f4[_0x1f95cc(0x25a)][_0x1f95cc(0x22f)],'actions':_0x1424f4[_0x1f95cc(0x25a)][_0x1f95cc(0x361)]};}async[_0x4877c9(0x290)](_0xdad39d){var _0x5e1a50=_0x4877c9;const _0x25a9df=this[_0x5e1a50(0x1a0)]()+_0x5e1a50(0x114);await this[_0x5e1a50(0x261)][_0x5e1a50(0x483)](_0x25a9df,{'params':{'collaboratorID':_0xdad39d['collaboratorID'],'objectID':_0xdad39d['objectID'],'unitID':_0xdad39d['unitID']}});}async[_0x4877c9(0x230)](_0x20a804){var _0x16e79f=_0x4877c9;const _0x196595=this[_0x16e79f(0x1a0)]()+_0x16e79f(0x114);await this[_0x16e79f(0x261)][_0x16e79f(0x19d)](_0x196595,{'body':_0x20a804});}async[_0x4877c9(0x342)](_0x590093){var _0x1ada59=_0x4877c9;const _0x3dcb02=this[_0x1ada59(0x1a0)]()+'/collaborator';await this[_0x1ada59(0x261)][_0x1ada59(0x140)](_0x3dcb02,{'body':_0x590093});}async[_0x4877c9(0x1d5)](_0x584081){var _0x24b3aa=_0x4877c9;const _0x5ae981=this[_0x24b3aa(0x1a0)]()+_0x24b3aa(0x114);return(await this[_0x24b3aa(0x261)][_0x24b3aa(0x208)](_0x5ae981,{'params':{'objectID':_0x584081[_0x24b3aa(0x437)],'unitID':_0x584081['unitID']}}))[_0x24b3aa(0x25a)][_0x24b3aa(0x1ad)];}async[_0x4877c9(0x42c)](_0x365b1e){var _0x2917e1=_0x4877c9;const _0x20ab1a=this[_0x2917e1(0x1a0)]()+_0x2917e1(0x114);await this[_0x2917e1(0x261)]['put'](_0x20ab1a,{'body':_0x365b1e});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a[_0x4877c9(0x385)](q[_0x4877c9(0x2bf)])),Xe(0x1,a[_0x4877c9(0x385)](a[_0x4877c9(0x1a9)]))],exports[_0x4877c9(0x27b)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x1f3b32){var _0x456cd1=_0x4877c9;return _0x1f3b32&&_0x1f3b32[_0x456cd1(0x18c)]&&Object['prototype'][_0x456cd1(0x20d)][_0x456cd1(0x45b)](_0x1f3b32,_0x456cd1(0x1c4))?_0x1f3b32['default']:_0x1f3b32;}var fe={'exports':{}};function Li(_0x341600){var _0xc39f81=_0x4877c9;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x341600+_0xc39f81(0x491));}var pe={'exports':{}},Mi=pe[_0x4877c9(0x46a)],Ze;function ee(){var _0x421028=_0x4877c9;return Ze||(Ze=0x1,function(_0xe70ef8,_0x42d2ce){(function(_0x4dccf9,_0x31d58a){var _0x32c5d3=_0x38be;_0xe70ef8[_0x32c5d3(0x46a)]=_0x31d58a();}(Mi,function(){var _0x4bde51=_0x4bde51||function(_0x4c44a1,_0x46a94b){var _0x34c9ec=_0x38be,_0x5487c7;if(typeof window<'u'&&window[_0x34c9ec(0x3e5)]&&(_0x5487c7=window[_0x34c9ec(0x3e5)]),typeof self<'u'&&self[_0x34c9ec(0x3e5)]&&(_0x5487c7=self[_0x34c9ec(0x3e5)]),typeof globalThis<'u'&&globalThis[_0x34c9ec(0x3e5)]&&(_0x5487c7=globalThis[_0x34c9ec(0x3e5)]),!_0x5487c7&&typeof window<'u'&&window[_0x34c9ec(0x289)]&&(_0x5487c7=window[_0x34c9ec(0x289)]),!_0x5487c7&&typeof Le<'u'&&Le[_0x34c9ec(0x3e5)]&&(_0x5487c7=Le[_0x34c9ec(0x3e5)]),!_0x5487c7&&typeof Li=='function')try{_0x5487c7=require(_0x34c9ec(0x3e5));}catch{}var _0x41fc5e=function(){var _0x294e03=_0x34c9ec;if(_0x5487c7){if(typeof _0x5487c7['getRandomValues']==_0x294e03(0x2a1))try{return _0x5487c7[_0x294e03(0x3ef)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5487c7[_0x294e03(0x26f)]==_0x294e03(0x2a1))try{return _0x5487c7[_0x294e03(0x26f)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x294e03(0x322));},_0x7b6919=Object[_0x34c9ec(0x379)]||(function(){function _0x1df19a(){}return function(_0x375124){var _0x5be192=_0x38be,_0x349637;return _0x1df19a['prototype']=_0x375124,_0x349637=new _0x1df19a(),_0x1df19a[_0x5be192(0x381)]=null,_0x349637;};}()),_0x31eacd={},_0x4fbb5b=_0x31eacd[_0x34c9ec(0x2c2)]={},_0x525b3b=_0x4fbb5b[_0x34c9ec(0x2e5)]=(function(){return{'extend':function(_0x249a46){var _0x2c9249=_0x38be,_0x3a4cee=_0x7b6919(this);return _0x249a46&&_0x3a4cee[_0x2c9249(0x2de)](_0x249a46),(!_0x3a4cee['hasOwnProperty']('init')||this[_0x2c9249(0x3c6)]===_0x3a4cee['init'])&&(_0x3a4cee[_0x2c9249(0x3c6)]=function(){var _0x51b64d=_0x2c9249;_0x3a4cee[_0x51b64d(0x302)][_0x51b64d(0x3c6)][_0x51b64d(0x466)](this,arguments);}),_0x3a4cee[_0x2c9249(0x3c6)][_0x2c9249(0x381)]=_0x3a4cee,_0x3a4cee[_0x2c9249(0x302)]=this,_0x3a4cee;},'create':function(){var _0x272d37=_0x38be,_0x5b993e=this[_0x272d37(0x1c8)]();return _0x5b993e[_0x272d37(0x3c6)][_0x272d37(0x466)](_0x5b993e,arguments),_0x5b993e;},'init':function(){},'mixIn':function(_0x194433){var _0x381304=_0x38be;for(var _0x560bb1 in _0x194433)_0x194433[_0x381304(0x20d)](_0x560bb1)&&(this[_0x560bb1]=_0x194433[_0x560bb1]);_0x194433[_0x381304(0x20d)](_0x381304(0x1c3))&&(this['toString']=_0x194433[_0x381304(0x1c3)]);},'clone':function(){var _0x19d4be=_0x38be;return this['init'][_0x19d4be(0x381)]['extend'](this);}};}()),_0x58f6b1=_0x4fbb5b[_0x34c9ec(0x24b)]=_0x525b3b[_0x34c9ec(0x1c8)]({'init':function(_0xf3986a,_0x11c7e5){var _0x53cfe9=_0x34c9ec;_0xf3986a=this[_0x53cfe9(0x156)]=_0xf3986a||[],_0x11c7e5!=_0x46a94b?this[_0x53cfe9(0x363)]=_0x11c7e5:this['sigBytes']=_0xf3986a['length']*0x4;},'toString':function(_0x2250c1){var _0x476b4d=_0x34c9ec;return(_0x2250c1||_0x4b2461)[_0x476b4d(0x481)](this);},'concat':function(_0x3a6c6d){var _0x1f2a36=_0x34c9ec,_0xe61646=this[_0x1f2a36(0x156)],_0x2889cc=_0x3a6c6d[_0x1f2a36(0x156)],_0x16410c=this[_0x1f2a36(0x363)],_0x3760f6=_0x3a6c6d[_0x1f2a36(0x363)];if(this[_0x1f2a36(0x343)](),_0x16410c%0x4)for(var _0x181197=0x0;_0x181197<_0x3760f6;_0x181197++){var _0x13a8c6=_0x2889cc[_0x181197>>>0x2]>>>0x18-_0x181197%0x4*0x8&0xff;_0xe61646[_0x16410c+_0x181197>>>0x2]|=_0x13a8c6<<0x18-(_0x16410c+_0x181197)%0x4*0x8;}else{for(var _0x12fe74=0x0;_0x12fe74<_0x3760f6;_0x12fe74+=0x4)_0xe61646[_0x16410c+_0x12fe74>>>0x2]=_0x2889cc[_0x12fe74>>>0x2];}return this['sigBytes']+=_0x3760f6,this;},'clamp':function(){var _0x5ab071=_0x34c9ec,_0x5f1166=this[_0x5ab071(0x156)],_0x5a5d17=this['sigBytes'];_0x5f1166[_0x5a5d17>>>0x2]&=0xffffffff<<0x20-_0x5a5d17%0x4*0x8,_0x5f1166['length']=_0x4c44a1[_0x5ab071(0x1c0)](_0x5a5d17/0x4);},'clone':function(){var _0xbf5bbb=_0x34c9ec,_0x48a1e8=_0x525b3b[_0xbf5bbb(0x2d5)]['call'](this);return _0x48a1e8[_0xbf5bbb(0x156)]=this[_0xbf5bbb(0x156)][_0xbf5bbb(0x32a)](0x0),_0x48a1e8;},'random':function(_0x32365b){var _0x2e7d26=_0x34c9ec;for(var _0x2d8056=[],_0x324b6f=0x0;_0x324b6f<_0x32365b;_0x324b6f+=0x4)_0x2d8056[_0x2e7d26(0x3f5)](_0x41fc5e());return new _0x58f6b1[(_0x2e7d26(0x3c6))](_0x2d8056,_0x32365b);}}),_0x5d8b9f=_0x31eacd[_0x34c9ec(0x16c)]={},_0x4b2461=_0x5d8b9f[_0x34c9ec(0x1e8)]={'stringify':function(_0x382ee5){var _0xf9833b=_0x34c9ec;for(var _0x20f41b=_0x382ee5['words'],_0x2012b3=_0x382ee5[_0xf9833b(0x363)],_0x4e30da=[],_0x4eecfa=0x0;_0x4eecfa<_0x2012b3;_0x4eecfa++){var _0x5e7968=_0x20f41b[_0x4eecfa>>>0x2]>>>0x18-_0x4eecfa%0x4*0x8&0xff;_0x4e30da[_0xf9833b(0x3f5)]((_0x5e7968>>>0x4)[_0xf9833b(0x1c3)](0x10)),_0x4e30da['push']((_0x5e7968&0xf)['toString'](0x10));}return _0x4e30da[_0xf9833b(0x48e)]('');},'parse':function(_0x36a995){var _0x24015b=_0x34c9ec;for(var _0x4eedfd=_0x36a995[_0x24015b(0x374)],_0x177d6c=[],_0x57bcd2=0x0;_0x57bcd2<_0x4eedfd;_0x57bcd2+=0x2)_0x177d6c[_0x57bcd2>>>0x3]|=parseInt(_0x36a995[_0x24015b(0x314)](_0x57bcd2,0x2),0x10)<<0x18-_0x57bcd2%0x8*0x4;return new _0x58f6b1[(_0x24015b(0x3c6))](_0x177d6c,_0x4eedfd/0x2);}},_0x15c118=_0x5d8b9f[_0x34c9ec(0x3f2)]={'stringify':function(_0x7ac907){var _0x188c4b=_0x34c9ec;for(var _0x39d46d=_0x7ac907['words'],_0x4ba3b3=_0x7ac907[_0x188c4b(0x363)],_0x3d286a=[],_0x18ab33=0x0;_0x18ab33<_0x4ba3b3;_0x18ab33++){var _0xaa4be6=_0x39d46d[_0x18ab33>>>0x2]>>>0x18-_0x18ab33%0x4*0x8&0xff;_0x3d286a['push'](String[_0x188c4b(0x427)](_0xaa4be6));}return _0x3d286a[_0x188c4b(0x48e)]('');},'parse':function(_0xdd3bd){var _0xb1e8af=_0x34c9ec;for(var _0x465e49=_0xdd3bd[_0xb1e8af(0x374)],_0x533220=[],_0x1dabc3=0x0;_0x1dabc3<_0x465e49;_0x1dabc3++)_0x533220[_0x1dabc3>>>0x2]|=(_0xdd3bd[_0xb1e8af(0x171)](_0x1dabc3)&0xff)<<0x18-_0x1dabc3%0x4*0x8;return new _0x58f6b1[(_0xb1e8af(0x3c6))](_0x533220,_0x465e49);}},_0x2bc0bf=_0x5d8b9f[_0x34c9ec(0x1d4)]={'stringify':function(_0x1a9e5f){var _0x27a8b8=_0x34c9ec;try{return decodeURIComponent(escape(_0x15c118[_0x27a8b8(0x481)](_0x1a9e5f)));}catch{throw new Error(_0x27a8b8(0x46b));}},'parse':function(_0x3127e5){var _0x1fdd78=_0x34c9ec;return _0x15c118[_0x1fdd78(0x458)](unescape(encodeURIComponent(_0x3127e5)));}},_0x562538=_0x4fbb5b[_0x34c9ec(0x301)]=_0x525b3b[_0x34c9ec(0x1c8)]({'reset':function(){var _0x39a691=_0x34c9ec;this[_0x39a691(0x35c)]=new _0x58f6b1[(_0x39a691(0x3c6))](),this[_0x39a691(0x213)]=0x0;},'_append':function(_0x43d38f){var _0x5c11dc=_0x34c9ec;typeof _0x43d38f==_0x5c11dc(0x460)&&(_0x43d38f=_0x2bc0bf[_0x5c11dc(0x458)](_0x43d38f)),this[_0x5c11dc(0x35c)][_0x5c11dc(0x25b)](_0x43d38f),this['_nDataBytes']+=_0x43d38f['sigBytes'];},'_process':function(_0x447ddc){var _0x57b208=_0x34c9ec,_0x4b8eff,_0x3ccfb1=this[_0x57b208(0x35c)],_0x3b6114=_0x3ccfb1[_0x57b208(0x156)],_0x5563ec=_0x3ccfb1['sigBytes'],_0x9d02d7=this[_0x57b208(0x28a)],_0x3e3b56=_0x9d02d7*0x4,_0x33beb8=_0x5563ec/_0x3e3b56;_0x447ddc?_0x33beb8=_0x4c44a1[_0x57b208(0x1c0)](_0x33beb8):_0x33beb8=_0x4c44a1[_0x57b208(0x400)]((_0x33beb8|0x0)-this['_minBufferSize'],0x0);var _0x2235a7=_0x33beb8*_0x9d02d7,_0x198aa6=_0x4c44a1[_0x57b208(0x279)](_0x2235a7*0x4,_0x5563ec);if(_0x2235a7){for(var _0x253054=0x0;_0x253054<_0x2235a7;_0x253054+=_0x9d02d7)this['_doProcessBlock'](_0x3b6114,_0x253054);_0x4b8eff=_0x3b6114[_0x57b208(0x15a)](0x0,_0x2235a7),_0x3ccfb1[_0x57b208(0x363)]-=_0x198aa6;}return new _0x58f6b1[(_0x57b208(0x3c6))](_0x4b8eff,_0x198aa6);},'clone':function(){var _0x5d0e64=_0x34c9ec,_0x149803=_0x525b3b[_0x5d0e64(0x2d5)][_0x5d0e64(0x45b)](this);return _0x149803['_data']=this[_0x5d0e64(0x35c)][_0x5d0e64(0x2d5)](),_0x149803;},'_minBufferSize':0x0});_0x4fbb5b[_0x34c9ec(0x12d)]=_0x562538['extend']({'cfg':_0x525b3b[_0x34c9ec(0x1c8)](),'init':function(_0x594d45){var _0x2a70dc=_0x34c9ec;this[_0x2a70dc(0x3fe)]=this['cfg'][_0x2a70dc(0x1c8)](_0x594d45),this['reset']();},'reset':function(){var _0x2289b3=_0x34c9ec;_0x562538[_0x2289b3(0x461)]['call'](this),this[_0x2289b3(0x1e5)]();},'update':function(_0x54534e){var _0x53b6f6=_0x34c9ec;return this[_0x53b6f6(0x239)](_0x54534e),this[_0x53b6f6(0x21b)](),this;},'finalize':function(_0x2f51d4){var _0xced968=_0x34c9ec;_0x2f51d4&&this[_0xced968(0x239)](_0x2f51d4);var _0xf3a064=this['_doFinalize']();return _0xf3a064;},'blockSize':0x10,'_createHelper':function(_0x355d26){return function(_0x1fd1c7,_0x1ac6f8){var _0x21aa4d=_0x38be;return new _0x355d26[(_0x21aa4d(0x3c6))](_0x1ac6f8)[_0x21aa4d(0x3b1)](_0x1fd1c7);};},'_createHmacHelper':function(_0x57f4db){return function(_0x164cf0,_0x35ad4b){var _0x527774=_0x38be;return new _0x28af8e[(_0x527774(0x2e3))][(_0x527774(0x3c6))](_0x57f4db,_0x35ad4b)[_0x527774(0x3b1)](_0x164cf0);};}});var _0x28af8e=_0x31eacd[_0x34c9ec(0x282)]={};return _0x31eacd;}(Math);return _0x4bde51;}));}(pe)),pe[_0x421028(0x46a)];}var ge={'exports':{}},xi=ge[_0x4877c9(0x46a)],Qe;function Dt(){var _0x58b1a0=_0x4877c9;return Qe||(Qe=0x1,function(_0x57225f,_0x41b0cc){(function(_0x67cddb,_0x1c80e1){var _0x4c570d=_0x38be;_0x57225f[_0x4c570d(0x46a)]=_0x1c80e1(ee());}(xi,function(_0x3f865c){var _0x292759=_0x38be;return(function(){var _0x29ff7e=_0x38be,_0x232010=_0x3f865c,_0x25fdb0=_0x232010[_0x29ff7e(0x2c2)],_0x1b6b46=_0x25fdb0[_0x29ff7e(0x24b)],_0x3db4e5=_0x232010[_0x29ff7e(0x16c)];_0x3db4e5[_0x29ff7e(0x219)]={'stringify':function(_0xe1f59){var _0x55d1b1=_0x29ff7e,_0x4c26a3=_0xe1f59['words'],_0x3a4927=_0xe1f59['sigBytes'],_0xd8cc31=this[_0x55d1b1(0x2cb)];_0xe1f59[_0x55d1b1(0x343)]();for(var _0xc29596=[],_0x17e5a1=0x0;_0x17e5a1<_0x3a4927;_0x17e5a1+=0x3)for(var _0xdd5972=_0x4c26a3[_0x17e5a1>>>0x2]>>>0x18-_0x17e5a1%0x4*0x8&0xff,_0x148040=_0x4c26a3[_0x17e5a1+0x1>>>0x2]>>>0x18-(_0x17e5a1+0x1)%0x4*0x8&0xff,_0x547672=_0x4c26a3[_0x17e5a1+0x2>>>0x2]>>>0x18-(_0x17e5a1+0x2)%0x4*0x8&0xff,_0x23ca10=_0xdd5972<<0x10|_0x148040<<0x8|_0x547672,_0x31cea2=0x0;_0x31cea2<0x4&&_0x17e5a1+_0x31cea2*0.75<_0x3a4927;_0x31cea2++)_0xc29596[_0x55d1b1(0x3f5)](_0xd8cc31['charAt'](_0x23ca10>>>0x6*(0x3-_0x31cea2)&0x3f));var _0x26de9b=_0xd8cc31[_0x55d1b1(0x265)](0x40);if(_0x26de9b){for(;_0xc29596['length']%0x4;)_0xc29596[_0x55d1b1(0x3f5)](_0x26de9b);}return _0xc29596['join']('');},'parse':function(_0x1bb36f){var _0xf6d8b9=_0x29ff7e,_0x52dcc4=_0x1bb36f['length'],_0x4bf2a3=this[_0xf6d8b9(0x2cb)],_0x3171fc=this[_0xf6d8b9(0x37c)];if(!_0x3171fc){_0x3171fc=this[_0xf6d8b9(0x37c)]=[];for(var _0x27fea3=0x0;_0x27fea3<_0x4bf2a3[_0xf6d8b9(0x374)];_0x27fea3++)_0x3171fc[_0x4bf2a3[_0xf6d8b9(0x171)](_0x27fea3)]=_0x27fea3;}var _0x5025fc=_0x4bf2a3[_0xf6d8b9(0x265)](0x40);if(_0x5025fc){var _0x123ff2=_0x1bb36f[_0xf6d8b9(0x38a)](_0x5025fc);_0x123ff2!==-0x1&&(_0x52dcc4=_0x123ff2);}return _0x13d4b7(_0x1bb36f,_0x52dcc4,_0x3171fc);},'_map':_0x29ff7e(0x151)};function _0x13d4b7(_0x483767,_0x59b0af,_0x5d7172){var _0xdd220b=_0x29ff7e;for(var _0xcc1205=[],_0x53d07c=0x0,_0x2d15e4=0x0;_0x2d15e4<_0x59b0af;_0x2d15e4++)if(_0x2d15e4%0x4){var _0x460b21=_0x5d7172[_0x483767[_0xdd220b(0x171)](_0x2d15e4-0x1)]<<_0x2d15e4%0x4*0x2,_0x4e3c6=_0x5d7172[_0x483767[_0xdd220b(0x171)](_0x2d15e4)]>>>0x6-_0x2d15e4%0x4*0x2,_0x4f32cf=_0x460b21|_0x4e3c6;_0xcc1205[_0x53d07c>>>0x2]|=_0x4f32cf<<0x18-_0x53d07c%0x4*0x8,_0x53d07c++;}return _0x1b6b46[_0xdd220b(0x379)](_0xcc1205,_0x53d07c);}}()),_0x3f865c[_0x292759(0x16c)][_0x292759(0x219)];}));}(ge)),ge[_0x58b1a0(0x46a)];}var Ie={'exports':{}},ki=Ie[_0x4877c9(0x46a)],et;function Hi(){return et||(et=0x1,function(_0x433d9a,_0x505dd0){(function(_0x48cd2b,_0x11f2a0){var _0xfbca8f=_0x38be;_0x433d9a[_0xfbca8f(0x46a)]=_0x11f2a0(ee());}(ki,function(_0x412a19){var _0x15afcc=_0x38be;return function(_0x156ead){var _0x2b2a5a=_0x38be,_0x56980a=_0x412a19,_0x38776c=_0x56980a[_0x2b2a5a(0x2c2)],_0x46af0b=_0x38776c[_0x2b2a5a(0x24b)],_0xb36ce0=_0x38776c[_0x2b2a5a(0x12d)],_0x54cf78=_0x56980a[_0x2b2a5a(0x282)],_0x5ab388=[];(function(){var _0x58cde7=_0x2b2a5a;for(var _0x1a0a01=0x0;_0x1a0a01<0x40;_0x1a0a01++)_0x5ab388[_0x1a0a01]=_0x156ead[_0x58cde7(0x41b)](_0x156ead[_0x58cde7(0x2b3)](_0x1a0a01+0x1))*0x100000000|0x0;}());var _0xd93adf=_0x54cf78['MD5']=_0xb36ce0[_0x2b2a5a(0x1c8)]({'_doReset':function(){var _0x155b31=_0x2b2a5a;this[_0x155b31(0x29c)]=new _0x46af0b[(_0x155b31(0x3c6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1e37a5,_0xbc2186){var _0x419910=_0x2b2a5a;for(var _0x467cd6=0x0;_0x467cd6<0x10;_0x467cd6++){var _0x179dcb=_0xbc2186+_0x467cd6,_0x375753=_0x1e37a5[_0x179dcb];_0x1e37a5[_0x179dcb]=(_0x375753<<0x8|_0x375753>>>0x18)&0xff00ff|(_0x375753<<0x18|_0x375753>>>0x8)&0xff00ff00;}var _0x24936b=this['_hash'][_0x419910(0x156)],_0x579417=_0x1e37a5[_0xbc2186+0x0],_0x35276f=_0x1e37a5[_0xbc2186+0x1],_0x2afe2c=_0x1e37a5[_0xbc2186+0x2],_0x29932=_0x1e37a5[_0xbc2186+0x3],_0x20aef5=_0x1e37a5[_0xbc2186+0x4],_0x21ef6b=_0x1e37a5[_0xbc2186+0x5],_0x42fca6=_0x1e37a5[_0xbc2186+0x6],_0x1c712b=_0x1e37a5[_0xbc2186+0x7],_0x176797=_0x1e37a5[_0xbc2186+0x8],_0x1318d4=_0x1e37a5[_0xbc2186+0x9],_0x1b1666=_0x1e37a5[_0xbc2186+0xa],_0x5d213f=_0x1e37a5[_0xbc2186+0xb],_0xa02a23=_0x1e37a5[_0xbc2186+0xc],_0x1a16f9=_0x1e37a5[_0xbc2186+0xd],_0x16fb2d=_0x1e37a5[_0xbc2186+0xe],_0x1793fa=_0x1e37a5[_0xbc2186+0xf],_0x4775fa=_0x24936b[0x0],_0x570f8c=_0x24936b[0x1],_0x1e61a0=_0x24936b[0x2],_0x1af455=_0x24936b[0x3];_0x4775fa=_0x4b8fdb(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x579417,0x7,_0x5ab388[0x0]),_0x1af455=_0x4b8fdb(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x35276f,0xc,_0x5ab388[0x1]),_0x1e61a0=_0x4b8fdb(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x2afe2c,0x11,_0x5ab388[0x2]),_0x570f8c=_0x4b8fdb(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x29932,0x16,_0x5ab388[0x3]),_0x4775fa=_0x4b8fdb(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x20aef5,0x7,_0x5ab388[0x4]),_0x1af455=_0x4b8fdb(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x21ef6b,0xc,_0x5ab388[0x5]),_0x1e61a0=_0x4b8fdb(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x42fca6,0x11,_0x5ab388[0x6]),_0x570f8c=_0x4b8fdb(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x1c712b,0x16,_0x5ab388[0x7]),_0x4775fa=_0x4b8fdb(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x176797,0x7,_0x5ab388[0x8]),_0x1af455=_0x4b8fdb(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x1318d4,0xc,_0x5ab388[0x9]),_0x1e61a0=_0x4b8fdb(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1b1666,0x11,_0x5ab388[0xa]),_0x570f8c=_0x4b8fdb(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x5d213f,0x16,_0x5ab388[0xb]),_0x4775fa=_0x4b8fdb(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0xa02a23,0x7,_0x5ab388[0xc]),_0x1af455=_0x4b8fdb(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x1a16f9,0xc,_0x5ab388[0xd]),_0x1e61a0=_0x4b8fdb(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x16fb2d,0x11,_0x5ab388[0xe]),_0x570f8c=_0x4b8fdb(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x1793fa,0x16,_0x5ab388[0xf]),_0x4775fa=_0x47c478(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x35276f,0x5,_0x5ab388[0x10]),_0x1af455=_0x47c478(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x42fca6,0x9,_0x5ab388[0x11]),_0x1e61a0=_0x47c478(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x5d213f,0xe,_0x5ab388[0x12]),_0x570f8c=_0x47c478(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x579417,0x14,_0x5ab388[0x13]),_0x4775fa=_0x47c478(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x21ef6b,0x5,_0x5ab388[0x14]),_0x1af455=_0x47c478(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x1b1666,0x9,_0x5ab388[0x15]),_0x1e61a0=_0x47c478(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1793fa,0xe,_0x5ab388[0x16]),_0x570f8c=_0x47c478(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x20aef5,0x14,_0x5ab388[0x17]),_0x4775fa=_0x47c478(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x1318d4,0x5,_0x5ab388[0x18]),_0x1af455=_0x47c478(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x16fb2d,0x9,_0x5ab388[0x19]),_0x1e61a0=_0x47c478(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x29932,0xe,_0x5ab388[0x1a]),_0x570f8c=_0x47c478(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x176797,0x14,_0x5ab388[0x1b]),_0x4775fa=_0x47c478(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x1a16f9,0x5,_0x5ab388[0x1c]),_0x1af455=_0x47c478(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x2afe2c,0x9,_0x5ab388[0x1d]),_0x1e61a0=_0x47c478(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1c712b,0xe,_0x5ab388[0x1e]),_0x570f8c=_0x47c478(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0xa02a23,0x14,_0x5ab388[0x1f]),_0x4775fa=_0x20e264(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x21ef6b,0x4,_0x5ab388[0x20]),_0x1af455=_0x20e264(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x176797,0xb,_0x5ab388[0x21]),_0x1e61a0=_0x20e264(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x5d213f,0x10,_0x5ab388[0x22]),_0x570f8c=_0x20e264(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x16fb2d,0x17,_0x5ab388[0x23]),_0x4775fa=_0x20e264(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x35276f,0x4,_0x5ab388[0x24]),_0x1af455=_0x20e264(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x20aef5,0xb,_0x5ab388[0x25]),_0x1e61a0=_0x20e264(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1c712b,0x10,_0x5ab388[0x26]),_0x570f8c=_0x20e264(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x1b1666,0x17,_0x5ab388[0x27]),_0x4775fa=_0x20e264(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x1a16f9,0x4,_0x5ab388[0x28]),_0x1af455=_0x20e264(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x579417,0xb,_0x5ab388[0x29]),_0x1e61a0=_0x20e264(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x29932,0x10,_0x5ab388[0x2a]),_0x570f8c=_0x20e264(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x42fca6,0x17,_0x5ab388[0x2b]),_0x4775fa=_0x20e264(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x1318d4,0x4,_0x5ab388[0x2c]),_0x1af455=_0x20e264(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0xa02a23,0xb,_0x5ab388[0x2d]),_0x1e61a0=_0x20e264(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1793fa,0x10,_0x5ab388[0x2e]),_0x570f8c=_0x20e264(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x2afe2c,0x17,_0x5ab388[0x2f]),_0x4775fa=_0x776fad(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x579417,0x6,_0x5ab388[0x30]),_0x1af455=_0x776fad(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x1c712b,0xa,_0x5ab388[0x31]),_0x1e61a0=_0x776fad(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x16fb2d,0xf,_0x5ab388[0x32]),_0x570f8c=_0x776fad(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x21ef6b,0x15,_0x5ab388[0x33]),_0x4775fa=_0x776fad(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0xa02a23,0x6,_0x5ab388[0x34]),_0x1af455=_0x776fad(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x29932,0xa,_0x5ab388[0x35]),_0x1e61a0=_0x776fad(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1b1666,0xf,_0x5ab388[0x36]),_0x570f8c=_0x776fad(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x35276f,0x15,_0x5ab388[0x37]),_0x4775fa=_0x776fad(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x176797,0x6,_0x5ab388[0x38]),_0x1af455=_0x776fad(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x1793fa,0xa,_0x5ab388[0x39]),_0x1e61a0=_0x776fad(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x42fca6,0xf,_0x5ab388[0x3a]),_0x570f8c=_0x776fad(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x1a16f9,0x15,_0x5ab388[0x3b]),_0x4775fa=_0x776fad(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x20aef5,0x6,_0x5ab388[0x3c]),_0x1af455=_0x776fad(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x5d213f,0xa,_0x5ab388[0x3d]),_0x1e61a0=_0x776fad(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x2afe2c,0xf,_0x5ab388[0x3e]),_0x570f8c=_0x776fad(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x1318d4,0x15,_0x5ab388[0x3f]),_0x24936b[0x0]=_0x24936b[0x0]+_0x4775fa|0x0,_0x24936b[0x1]=_0x24936b[0x1]+_0x570f8c|0x0,_0x24936b[0x2]=_0x24936b[0x2]+_0x1e61a0|0x0,_0x24936b[0x3]=_0x24936b[0x3]+_0x1af455|0x0;},'_doFinalize':function(){var _0x359c1c=_0x2b2a5a,_0x338ef1=this[_0x359c1c(0x35c)],_0x2d7624=_0x338ef1[_0x359c1c(0x156)],_0xf7c0f0=this[_0x359c1c(0x213)]*0x8,_0x1be820=_0x338ef1[_0x359c1c(0x363)]*0x8;_0x2d7624[_0x1be820>>>0x5]|=0x80<<0x18-_0x1be820%0x20;var _0x3cdd03=_0x156ead[_0x359c1c(0x252)](_0xf7c0f0/0x100000000),_0x4bf038=_0xf7c0f0;_0x2d7624[(_0x1be820+0x40>>>0x9<<0x4)+0xf]=(_0x3cdd03<<0x8|_0x3cdd03>>>0x18)&0xff00ff|(_0x3cdd03<<0x18|_0x3cdd03>>>0x8)&0xff00ff00,_0x2d7624[(_0x1be820+0x40>>>0x9<<0x4)+0xe]=(_0x4bf038<<0x8|_0x4bf038>>>0x18)&0xff00ff|(_0x4bf038<<0x18|_0x4bf038>>>0x8)&0xff00ff00,_0x338ef1[_0x359c1c(0x363)]=(_0x2d7624['length']+0x1)*0x4,this[_0x359c1c(0x21b)]();for(var _0x1010fa=this[_0x359c1c(0x29c)],_0x3142e8=_0x1010fa['words'],_0x126c0d=0x0;_0x126c0d<0x4;_0x126c0d++){var _0x1f63dc=_0x3142e8[_0x126c0d];_0x3142e8[_0x126c0d]=(_0x1f63dc<<0x8|_0x1f63dc>>>0x18)&0xff00ff|(_0x1f63dc<<0x18|_0x1f63dc>>>0x8)&0xff00ff00;}return _0x1010fa;},'clone':function(){var _0x2a6fc9=_0x2b2a5a,_0x1a4cb6=_0xb36ce0[_0x2a6fc9(0x2d5)][_0x2a6fc9(0x45b)](this);return _0x1a4cb6['_hash']=this[_0x2a6fc9(0x29c)][_0x2a6fc9(0x2d5)](),_0x1a4cb6;}});function _0x4b8fdb(_0xe4ecef,_0x5f5def,_0x5bf139,_0x55d010,_0x951262,_0x58f9f2,_0x436c38){var _0x3af808=_0xe4ecef+(_0x5f5def&_0x5bf139|~_0x5f5def&_0x55d010)+_0x951262+_0x436c38;return(_0x3af808<<_0x58f9f2|_0x3af808>>>0x20-_0x58f9f2)+_0x5f5def;}function _0x47c478(_0x1fec3b,_0x544f57,_0x2329a7,_0x3981b4,_0x5667a1,_0xcb99fe,_0x235e37){var _0x25bcb6=_0x1fec3b+(_0x544f57&_0x3981b4|_0x2329a7&~_0x3981b4)+_0x5667a1+_0x235e37;return(_0x25bcb6<<_0xcb99fe|_0x25bcb6>>>0x20-_0xcb99fe)+_0x544f57;}function _0x20e264(_0x50b230,_0x1e3384,_0x5095db,_0x44a883,_0x1f0078,_0x3c024d,_0x430ade){var _0x533ad0=_0x50b230+(_0x1e3384^_0x5095db^_0x44a883)+_0x1f0078+_0x430ade;return(_0x533ad0<<_0x3c024d|_0x533ad0>>>0x20-_0x3c024d)+_0x1e3384;}function _0x776fad(_0x92df2d,_0x437cfd,_0x4da1e3,_0x35330e,_0x2bfc13,_0x3242ca,_0x56e083){var _0x20f7ad=_0x92df2d+(_0x4da1e3^(_0x437cfd|~_0x35330e))+_0x2bfc13+_0x56e083;return(_0x20f7ad<<_0x3242ca|_0x20f7ad>>>0x20-_0x3242ca)+_0x437cfd;}_0x56980a[_0x2b2a5a(0x44f)]=_0xb36ce0['_createHelper'](_0xd93adf),_0x56980a['HmacMD5']=_0xb36ce0[_0x2b2a5a(0x1a7)](_0xd93adf);}(Math),_0x412a19[_0x15afcc(0x44f)];}));}(Ie)),Ie['exports'];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x4877c9(0x46a)],tt;function $i(){return tt||(tt=0x1,function(_0x346048,_0xe4d240){(function(_0x47e3d6,_0x39c23f){var _0x5adc34=_0x38be;_0x346048[_0x5adc34(0x46a)]=_0x39c23f(ee());}(ji,function(_0x54b0df){var _0x550c8a=_0x38be;return(function(){var _0x252a55=_0x38be,_0x24e5fc=_0x54b0df,_0x168d5a=_0x24e5fc[_0x252a55(0x2c2)],_0x4eb1a3=_0x168d5a['WordArray'],_0x3aa384=_0x168d5a['Hasher'],_0x3558a8=_0x24e5fc['algo'],_0x3cd653=[],_0x39d5a=_0x3558a8[_0x252a55(0x196)]=_0x3aa384[_0x252a55(0x1c8)]({'_doReset':function(){var _0x5e4eb5=_0x252a55;this[_0x5e4eb5(0x29c)]=new _0x4eb1a3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x477241,_0x319e40){var _0x362ddf=_0x252a55;for(var _0x1c83ee=this[_0x362ddf(0x29c)]['words'],_0x387985=_0x1c83ee[0x0],_0x46dcd3=_0x1c83ee[0x1],_0x399f69=_0x1c83ee[0x2],_0x2e065e=_0x1c83ee[0x3],_0x40d202=_0x1c83ee[0x4],_0x1940be=0x0;_0x1940be<0x50;_0x1940be++){if(_0x1940be<0x10)_0x3cd653[_0x1940be]=_0x477241[_0x319e40+_0x1940be]|0x0;else{var _0x3cb31f=_0x3cd653[_0x1940be-0x3]^_0x3cd653[_0x1940be-0x8]^_0x3cd653[_0x1940be-0xe]^_0x3cd653[_0x1940be-0x10];_0x3cd653[_0x1940be]=_0x3cb31f<<0x1|_0x3cb31f>>>0x1f;}var _0x16643c=(_0x387985<<0x5|_0x387985>>>0x1b)+_0x40d202+_0x3cd653[_0x1940be];_0x1940be<0x14?_0x16643c+=(_0x46dcd3&_0x399f69|~_0x46dcd3&_0x2e065e)+0x5a827999:_0x1940be<0x28?_0x16643c+=(_0x46dcd3^_0x399f69^_0x2e065e)+0x6ed9eba1:_0x1940be<0x3c?_0x16643c+=(_0x46dcd3&_0x399f69|_0x46dcd3&_0x2e065e|_0x399f69&_0x2e065e)-0x70e44324:_0x16643c+=(_0x46dcd3^_0x399f69^_0x2e065e)-0x359d3e2a,_0x40d202=_0x2e065e,_0x2e065e=_0x399f69,_0x399f69=_0x46dcd3<<0x1e|_0x46dcd3>>>0x2,_0x46dcd3=_0x387985,_0x387985=_0x16643c;}_0x1c83ee[0x0]=_0x1c83ee[0x0]+_0x387985|0x0,_0x1c83ee[0x1]=_0x1c83ee[0x1]+_0x46dcd3|0x0,_0x1c83ee[0x2]=_0x1c83ee[0x2]+_0x399f69|0x0,_0x1c83ee[0x3]=_0x1c83ee[0x3]+_0x2e065e|0x0,_0x1c83ee[0x4]=_0x1c83ee[0x4]+_0x40d202|0x0;},'_doFinalize':function(){var _0x33b080=_0x252a55,_0x216450=this[_0x33b080(0x35c)],_0x27a4fa=_0x216450[_0x33b080(0x156)],_0x1636d3=this[_0x33b080(0x213)]*0x8,_0x14af21=_0x216450[_0x33b080(0x363)]*0x8;return _0x27a4fa[_0x14af21>>>0x5]|=0x80<<0x18-_0x14af21%0x20,_0x27a4fa[(_0x14af21+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x1636d3/0x100000000),_0x27a4fa[(_0x14af21+0x40>>>0x9<<0x4)+0xf]=_0x1636d3,_0x216450[_0x33b080(0x363)]=_0x27a4fa['length']*0x4,this[_0x33b080(0x21b)](),this[_0x33b080(0x29c)];},'clone':function(){var _0x379c49=_0x252a55,_0x491cb3=_0x3aa384[_0x379c49(0x2d5)]['call'](this);return _0x491cb3[_0x379c49(0x29c)]=this[_0x379c49(0x29c)][_0x379c49(0x2d5)](),_0x491cb3;}});_0x24e5fc[_0x252a55(0x196)]=_0x3aa384[_0x252a55(0x27a)](_0x39d5a),_0x24e5fc['HmacSHA1']=_0x3aa384[_0x252a55(0x1a7)](_0x39d5a);}()),_0x54b0df[_0x550c8a(0x196)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x345fd2=_0x4877c9;return it||(it=0x1,function(_0x4b1dd4,_0x4c9d2d){(function(_0x24ef69,_0x29eb6a){_0x4b1dd4['exports']=_0x29eb6a(ee());}(Bi,function(_0x4e3a21){(function(){var _0x2ded27=_0x38be,_0xfea044=_0x4e3a21,_0x49fc93=_0xfea044[_0x2ded27(0x2c2)],_0xf7b079=_0x49fc93[_0x2ded27(0x2e5)],_0x1b0819=_0xfea044[_0x2ded27(0x16c)],_0x47e129=_0x1b0819[_0x2ded27(0x1d4)],_0x1d273d=_0xfea044[_0x2ded27(0x282)];_0x1d273d[_0x2ded27(0x2e3)]=_0xf7b079[_0x2ded27(0x1c8)]({'init':function(_0x107031,_0x2aef54){var _0x1fc7bf=_0x2ded27;_0x107031=this['_hasher']=new _0x107031[(_0x1fc7bf(0x3c6))](),typeof _0x2aef54==_0x1fc7bf(0x460)&&(_0x2aef54=_0x47e129['parse'](_0x2aef54));var _0x3460cf=_0x107031[_0x1fc7bf(0x28a)],_0x49cbcb=_0x3460cf*0x4;_0x2aef54['sigBytes']>_0x49cbcb&&(_0x2aef54=_0x107031[_0x1fc7bf(0x3b1)](_0x2aef54)),_0x2aef54[_0x1fc7bf(0x343)]();for(var _0x13f91d=this['_oKey']=_0x2aef54[_0x1fc7bf(0x2d5)](),_0x3446ed=this[_0x1fc7bf(0x339)]=_0x2aef54[_0x1fc7bf(0x2d5)](),_0x3fbe1c=_0x13f91d[_0x1fc7bf(0x156)],_0x198712=_0x3446ed['words'],_0x4c7462=0x0;_0x4c7462<_0x3460cf;_0x4c7462++)_0x3fbe1c[_0x4c7462]^=0x5c5c5c5c,_0x198712[_0x4c7462]^=0x36363636;_0x13f91d[_0x1fc7bf(0x363)]=_0x3446ed[_0x1fc7bf(0x363)]=_0x49cbcb,this[_0x1fc7bf(0x461)]();},'reset':function(){var _0x1a0ba0=_0x2ded27,_0x19d393=this['_hasher'];_0x19d393[_0x1a0ba0(0x461)](),_0x19d393['update'](this[_0x1a0ba0(0x339)]);},'update':function(_0x12c21c){var _0x504431=_0x2ded27;return this[_0x504431(0x1fa)]['update'](_0x12c21c),this;},'finalize':function(_0x287884){var _0x2c251f=_0x2ded27,_0x308169=this['_hasher'],_0x1158d3=_0x308169['finalize'](_0x287884);_0x308169[_0x2c251f(0x461)]();var _0x5d911d=_0x308169[_0x2c251f(0x3b1)](this[_0x2c251f(0x172)][_0x2c251f(0x2d5)]()[_0x2c251f(0x25b)](_0x1158d3));return _0x5d911d;}});}());}));}(Ce)),Ce[_0x345fd2(0x46a)];}var Vi=me[_0x4877c9(0x46a)],nt;function At(){var _0x48dc8c=_0x4877c9;return nt||(nt=0x1,function(_0x48ecd5,_0x454146){(function(_0x34cfd9,_0x50b25b,_0x30fdf4){var _0x3ee6b6=_0x38be;_0x48ecd5[_0x3ee6b6(0x46a)]=_0x50b25b(ee(),$i(),Fi());}(Vi,function(_0xf0bbad){var _0x1adc7a=_0x38be;return(function(){var _0x4160d1=_0x38be,_0x452cb6=_0xf0bbad,_0x1acb02=_0x452cb6[_0x4160d1(0x2c2)],_0x45b0d8=_0x1acb02['Base'],_0x13099=_0x1acb02['WordArray'],_0x1774c8=_0x452cb6[_0x4160d1(0x282)],_0x126481=_0x1774c8['MD5'],_0x11cacf=_0x1774c8[_0x4160d1(0x3a3)]=_0x45b0d8[_0x4160d1(0x1c8)]({'cfg':_0x45b0d8['extend']({'keySize':0x80/0x20,'hasher':_0x126481,'iterations':0x1}),'init':function(_0x2fcbb6){var _0x5833df=_0x4160d1;this['cfg']=this['cfg'][_0x5833df(0x1c8)](_0x2fcbb6);},'compute':function(_0x192a74,_0x385249){var _0x4bbb7d=_0x4160d1;for(var _0xddc463,_0x35975c=this['cfg'],_0x1fe055=_0x35975c[_0x4bbb7d(0x241)][_0x4bbb7d(0x379)](),_0x9a828f=_0x13099[_0x4bbb7d(0x379)](),_0x35aa86=_0x9a828f[_0x4bbb7d(0x156)],_0x48d3de=_0x35975c[_0x4bbb7d(0x33f)],_0x62d66d=_0x35975c[_0x4bbb7d(0x138)];_0x35aa86[_0x4bbb7d(0x374)]<_0x48d3de;){_0xddc463&&_0x1fe055['update'](_0xddc463),_0xddc463=_0x1fe055[_0x4bbb7d(0x19c)](_0x192a74)[_0x4bbb7d(0x3b1)](_0x385249),_0x1fe055[_0x4bbb7d(0x461)]();for(var _0x38879d=0x1;_0x38879d<_0x62d66d;_0x38879d++)_0xddc463=_0x1fe055[_0x4bbb7d(0x3b1)](_0xddc463),_0x1fe055[_0x4bbb7d(0x461)]();_0x9a828f[_0x4bbb7d(0x25b)](_0xddc463);}return _0x9a828f['sigBytes']=_0x48d3de*0x4,_0x9a828f;}});_0x452cb6['EvpKDF']=function(_0x375a40,_0x574677,_0xdb30bb){var _0x1441c0=_0x4160d1;return _0x11cacf[_0x1441c0(0x379)](_0xdb30bb)['compute'](_0x375a40,_0x574677);};}()),_0xf0bbad[_0x1adc7a(0x3a3)];}));}(me)),me[_0x48dc8c(0x46a)];}var Te={'exports':{}},Wi=Te[_0x4877c9(0x46a)],rt;function Pt(){var _0x2eb96e=_0x4877c9;return rt||(rt=0x1,function(_0x4b32f3,_0x5c746b){(function(_0x31a47c,_0xea5450,_0x2378ce){var _0x4bcb1f=_0x38be;_0x4b32f3[_0x4bcb1f(0x46a)]=_0xea5450(ee(),At());}(Wi,function(_0x104bf8){var _0x52c3e8=_0x38be;_0x104bf8[_0x52c3e8(0x2c2)]['Cipher']||function(_0x4c84d0){var _0x282b45=_0x52c3e8,_0x9e5628=_0x104bf8,_0x1bc9e7=_0x9e5628['lib'],_0x587650=_0x1bc9e7[_0x282b45(0x2e5)],_0x5dbaef=_0x1bc9e7[_0x282b45(0x24b)],_0x3523c6=_0x1bc9e7['BufferedBlockAlgorithm'],_0x154fc2=_0x9e5628['enc'];_0x154fc2[_0x282b45(0x1d4)];var _0x3481a1=_0x154fc2[_0x282b45(0x219)],_0x172a1c=_0x9e5628[_0x282b45(0x282)],_0x5aa691=_0x172a1c[_0x282b45(0x3a3)],_0x1379e4=_0x1bc9e7[_0x282b45(0x35d)]=_0x3523c6[_0x282b45(0x1c8)]({'cfg':_0x587650['extend'](),'createEncryptor':function(_0x4a334b,_0x18ad27){var _0x44df3a=_0x282b45;return this[_0x44df3a(0x379)](this['_ENC_XFORM_MODE'],_0x4a334b,_0x18ad27);},'createDecryptor':function(_0x3b2c33,_0x2cb1e9){var _0x1b8612=_0x282b45;return this[_0x1b8612(0x379)](this['_DEC_XFORM_MODE'],_0x3b2c33,_0x2cb1e9);},'init':function(_0x56eebf,_0x26ee7e,_0x52da58){var _0x2a3aad=_0x282b45;this[_0x2a3aad(0x3fe)]=this[_0x2a3aad(0x3fe)][_0x2a3aad(0x1c8)](_0x52da58),this[_0x2a3aad(0x1f8)]=_0x56eebf,this['_key']=_0x26ee7e,this[_0x2a3aad(0x461)]();},'reset':function(){var _0x1c5fde=_0x282b45;_0x3523c6[_0x1c5fde(0x461)][_0x1c5fde(0x45b)](this),this[_0x1c5fde(0x1e5)]();},'process':function(_0x4b625b){var _0xfa05ab=_0x282b45;return this[_0xfa05ab(0x239)](_0x4b625b),this[_0xfa05ab(0x21b)]();},'finalize':function(_0x585d5b){_0x585d5b&&this['_append'](_0x585d5b);var _0x314e11=this['_doFinalize']();return _0x314e11;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3be69e(_0x104af7){var _0x3260d5=_0x38be;return typeof _0x104af7==_0x3260d5(0x460)?_0x158d1a:_0x472d2f;}return function(_0x2f03d0){return{'encrypt':function(_0x5e911b,_0x31b23c,_0x49d24c){var _0x42f095=_0x38be;return _0x3be69e(_0x31b23c)[_0x42f095(0x238)](_0x2f03d0,_0x5e911b,_0x31b23c,_0x49d24c);},'decrypt':function(_0x401971,_0x5ee2ba,_0x4e751f){var _0x486120=_0x38be;return _0x3be69e(_0x5ee2ba)[_0x486120(0x1af)](_0x2f03d0,_0x401971,_0x5ee2ba,_0x4e751f);}};};}())});_0x1bc9e7[_0x282b45(0x3ee)]=_0x1379e4[_0x282b45(0x1c8)]({'_doFinalize':function(){var _0x1b2596=_0x282b45,_0x5297be=this[_0x1b2596(0x21b)](!0x0);return _0x5297be;},'blockSize':0x1});var _0xf5de9d=_0x9e5628[_0x282b45(0x2da)]={},_0x4bf790=_0x1bc9e7['BlockCipherMode']=_0x587650[_0x282b45(0x1c8)]({'createEncryptor':function(_0x31d325,_0xf5fabb){var _0x295fd0=_0x282b45;return this[_0x295fd0(0x1fc)][_0x295fd0(0x379)](_0x31d325,_0xf5fabb);},'createDecryptor':function(_0x3b5624,_0xe145a3){var _0x23c9f4=_0x282b45;return this[_0x23c9f4(0x1e7)]['create'](_0x3b5624,_0xe145a3);},'init':function(_0x24f28e,_0x6d8a67){var _0x5a6213=_0x282b45;this[_0x5a6213(0x304)]=_0x24f28e,this[_0x5a6213(0x29d)]=_0x6d8a67;}}),_0x5d44e1=_0xf5de9d['CBC']=(function(){var _0x5bc9b3=_0x282b45,_0x52137d=_0x4bf790[_0x5bc9b3(0x1c8)]();_0x52137d[_0x5bc9b3(0x1fc)]=_0x52137d[_0x5bc9b3(0x1c8)]({'processBlock':function(_0x391dc7,_0x1f2271){var _0x59bc54=_0x5bc9b3,_0x22d5c2=this[_0x59bc54(0x304)],_0x54249c=_0x22d5c2[_0x59bc54(0x28a)];_0x37b225[_0x59bc54(0x45b)](this,_0x391dc7,_0x1f2271,_0x54249c),_0x22d5c2[_0x59bc54(0x420)](_0x391dc7,_0x1f2271),this[_0x59bc54(0x272)]=_0x391dc7[_0x59bc54(0x32a)](_0x1f2271,_0x1f2271+_0x54249c);}}),_0x52137d['Decryptor']=_0x52137d[_0x5bc9b3(0x1c8)]({'processBlock':function(_0x54c7ae,_0x15b29e){var _0x39cb2c=_0x5bc9b3,_0x2af7ad=this['_cipher'],_0x370334=_0x2af7ad['blockSize'],_0x527486=_0x54c7ae['slice'](_0x15b29e,_0x15b29e+_0x370334);_0x2af7ad[_0x39cb2c(0x25d)](_0x54c7ae,_0x15b29e),_0x37b225[_0x39cb2c(0x45b)](this,_0x54c7ae,_0x15b29e,_0x370334),this[_0x39cb2c(0x272)]=_0x527486;}});function _0x37b225(_0x505a97,_0x6377f3,_0x3e876c){var _0x583bcf=_0x5bc9b3,_0x30b87e,_0x32045e=this[_0x583bcf(0x29d)];_0x32045e?(_0x30b87e=_0x32045e,this[_0x583bcf(0x29d)]=_0x4c84d0):_0x30b87e=this[_0x583bcf(0x272)];for(var _0x2833cb=0x0;_0x2833cb<_0x3e876c;_0x2833cb++)_0x505a97[_0x6377f3+_0x2833cb]^=_0x30b87e[_0x2833cb];}return _0x52137d;}()),_0x30f7bb=_0x9e5628['pad']={},_0x4edaab=_0x30f7bb[_0x282b45(0x2c1)]={'pad':function(_0x2a1132,_0x5cb70f){var _0x27539a=_0x282b45;for(var _0x5e82d1=_0x5cb70f*0x4,_0x5f324f=_0x5e82d1-_0x2a1132['sigBytes']%_0x5e82d1,_0x20f263=_0x5f324f<<0x18|_0x5f324f<<0x10|_0x5f324f<<0x8|_0x5f324f,_0x804efd=[],_0x441561=0x0;_0x441561<_0x5f324f;_0x441561+=0x4)_0x804efd['push'](_0x20f263);var _0x366759=_0x5dbaef[_0x27539a(0x379)](_0x804efd,_0x5f324f);_0x2a1132['concat'](_0x366759);},'unpad':function(_0x8016c3){var _0x3c3d61=_0x282b45,_0x20142b=_0x8016c3[_0x3c3d61(0x156)][_0x8016c3[_0x3c3d61(0x363)]-0x1>>>0x2]&0xff;_0x8016c3[_0x3c3d61(0x363)]-=_0x20142b;}};_0x1bc9e7[_0x282b45(0x206)]=_0x1379e4[_0x282b45(0x1c8)]({'cfg':_0x1379e4[_0x282b45(0x3fe)][_0x282b45(0x1c8)]({'mode':_0x5d44e1,'padding':_0x4edaab}),'reset':function(){var _0x46c7e4=_0x282b45,_0x4d12db;_0x1379e4['reset'][_0x46c7e4(0x45b)](this);var _0x2dc1d8=this['cfg'],_0x37a4af=_0x2dc1d8['iv'],_0x239faa=_0x2dc1d8[_0x46c7e4(0x2da)];this[_0x46c7e4(0x1f8)]==this['_ENC_XFORM_MODE']?_0x4d12db=_0x239faa[_0x46c7e4(0x344)]:(_0x4d12db=_0x239faa[_0x46c7e4(0x34e)],this[_0x46c7e4(0x20b)]=0x1),this[_0x46c7e4(0x220)]&&this[_0x46c7e4(0x220)][_0x46c7e4(0x377)]==_0x4d12db?this[_0x46c7e4(0x220)][_0x46c7e4(0x3c6)](this,_0x37a4af&&_0x37a4af[_0x46c7e4(0x156)]):(this[_0x46c7e4(0x220)]=_0x4d12db[_0x46c7e4(0x45b)](_0x239faa,this,_0x37a4af&&_0x37a4af['words']),this[_0x46c7e4(0x220)][_0x46c7e4(0x377)]=_0x4d12db);},'_doProcessBlock':function(_0x2debd7,_0x47ee09){var _0x4191dd=_0x282b45;this[_0x4191dd(0x220)][_0x4191dd(0x454)](_0x2debd7,_0x47ee09);},'_doFinalize':function(){var _0x4d85d7=_0x282b45,_0x4cdf72,_0x240ff6=this[_0x4d85d7(0x3fe)]['padding'];return this[_0x4d85d7(0x1f8)]==this[_0x4d85d7(0x1a3)]?(_0x240ff6['pad'](this[_0x4d85d7(0x35c)],this[_0x4d85d7(0x28a)]),_0x4cdf72=this[_0x4d85d7(0x21b)](!0x0)):(_0x4cdf72=this[_0x4d85d7(0x21b)](!0x0),_0x240ff6['unpad'](_0x4cdf72)),_0x4cdf72;},'blockSize':0x80/0x20});var _0x405639=_0x1bc9e7[_0x282b45(0x179)]=_0x587650[_0x282b45(0x1c8)]({'init':function(_0x3893ac){var _0x3b4abb=_0x282b45;this[_0x3b4abb(0x2de)](_0x3893ac);},'toString':function(_0x359495){var _0x5e8d59=_0x282b45;return(_0x359495||this['formatter'])[_0x5e8d59(0x481)](this);}}),_0x286acd=_0x9e5628[_0x282b45(0x2ca)]={},_0x5376d0=_0x286acd[_0x282b45(0x41a)]={'stringify':function(_0x51375a){var _0x3b9c4f=_0x282b45,_0x9e1877,_0x5d75af=_0x51375a['ciphertext'],_0x3f521c=_0x51375a[_0x3b9c4f(0x1ba)];return _0x3f521c?_0x9e1877=_0x5dbaef['create']([0x53616c74,0x65645f5f])[_0x3b9c4f(0x25b)](_0x3f521c)[_0x3b9c4f(0x25b)](_0x5d75af):_0x9e1877=_0x5d75af,_0x9e1877[_0x3b9c4f(0x1c3)](_0x3481a1);},'parse':function(_0x47e0d8){var _0x553cac=_0x282b45,_0x4bc0f8,_0x5af25e=_0x3481a1['parse'](_0x47e0d8),_0x3c1d56=_0x5af25e['words'];return _0x3c1d56[0x0]==0x53616c74&&_0x3c1d56[0x1]==0x65645f5f&&(_0x4bc0f8=_0x5dbaef[_0x553cac(0x379)](_0x3c1d56[_0x553cac(0x32a)](0x2,0x4)),_0x3c1d56[_0x553cac(0x15a)](0x0,0x4),_0x5af25e[_0x553cac(0x363)]-=0x10),_0x405639['create']({'ciphertext':_0x5af25e,'salt':_0x4bc0f8});}},_0x472d2f=_0x1bc9e7[_0x282b45(0x15e)]=_0x587650[_0x282b45(0x1c8)]({'cfg':_0x587650[_0x282b45(0x1c8)]({'format':_0x5376d0}),'encrypt':function(_0x2f229c,_0x31cbd7,_0x853b35,_0x2f915a){var _0x4c497b=_0x282b45;_0x2f915a=this[_0x4c497b(0x3fe)][_0x4c497b(0x1c8)](_0x2f915a);var _0x58a3bf=_0x2f229c[_0x4c497b(0x344)](_0x853b35,_0x2f915a),_0x171877=_0x58a3bf[_0x4c497b(0x3b1)](_0x31cbd7),_0x517c42=_0x58a3bf[_0x4c497b(0x3fe)];return _0x405639['create']({'ciphertext':_0x171877,'key':_0x853b35,'iv':_0x517c42['iv'],'algorithm':_0x2f229c,'mode':_0x517c42['mode'],'padding':_0x517c42[_0x4c497b(0x137)],'blockSize':_0x2f229c[_0x4c497b(0x28a)],'formatter':_0x2f915a[_0x4c497b(0x2ca)]});},'decrypt':function(_0x27b259,_0x5bb5cf,_0x433e0c,_0x11184c){var _0x427e3f=_0x282b45;_0x11184c=this[_0x427e3f(0x3fe)]['extend'](_0x11184c),_0x5bb5cf=this[_0x427e3f(0x306)](_0x5bb5cf,_0x11184c['format']);var _0x4e2701=_0x27b259[_0x427e3f(0x34e)](_0x433e0c,_0x11184c)['finalize'](_0x5bb5cf[_0x427e3f(0x296)]);return _0x4e2701;},'_parse':function(_0x422cdc,_0x484a89){return typeof _0x422cdc=='string'?_0x484a89['parse'](_0x422cdc,this):_0x422cdc;}}),_0x339b95=_0x9e5628[_0x282b45(0x283)]={},_0x4e8a1b=_0x339b95[_0x282b45(0x41a)]={'execute':function(_0x566b8a,_0x31fc2e,_0x9502c,_0x123cd6,_0x5dce66){var _0x23e72a=_0x282b45;if(_0x123cd6||(_0x123cd6=_0x5dbaef['random'](0x40/0x8)),_0x5dce66)var _0x56413f=_0x5aa691['create']({'keySize':_0x31fc2e+_0x9502c,'hasher':_0x5dce66})['compute'](_0x566b8a,_0x123cd6);else var _0x56413f=_0x5aa691[_0x23e72a(0x379)]({'keySize':_0x31fc2e+_0x9502c})['compute'](_0x566b8a,_0x123cd6);var _0xdc7a83=_0x5dbaef[_0x23e72a(0x379)](_0x56413f[_0x23e72a(0x156)][_0x23e72a(0x32a)](_0x31fc2e),_0x9502c*0x4);return _0x56413f[_0x23e72a(0x363)]=_0x31fc2e*0x4,_0x405639['create']({'key':_0x56413f,'iv':_0xdc7a83,'salt':_0x123cd6});}},_0x158d1a=_0x1bc9e7[_0x282b45(0x3a7)]=_0x472d2f[_0x282b45(0x1c8)]({'cfg':_0x472d2f[_0x282b45(0x3fe)][_0x282b45(0x1c8)]({'kdf':_0x4e8a1b}),'encrypt':function(_0x1eaafe,_0x572e3f,_0x1d3072,_0x2ec3fc){var _0x3fc29d=_0x282b45;_0x2ec3fc=this[_0x3fc29d(0x3fe)][_0x3fc29d(0x1c8)](_0x2ec3fc);var _0x57eede=_0x2ec3fc['kdf'][_0x3fc29d(0x2bb)](_0x1d3072,_0x1eaafe[_0x3fc29d(0x33f)],_0x1eaafe[_0x3fc29d(0x2e0)],_0x2ec3fc[_0x3fc29d(0x1ba)],_0x2ec3fc[_0x3fc29d(0x241)]);_0x2ec3fc['iv']=_0x57eede['iv'];var _0x6ae29a=_0x472d2f[_0x3fc29d(0x238)]['call'](this,_0x1eaafe,_0x572e3f,_0x57eede[_0x3fc29d(0x484)],_0x2ec3fc);return _0x6ae29a[_0x3fc29d(0x2de)](_0x57eede),_0x6ae29a;},'decrypt':function(_0x157119,_0x866ff0,_0xef170a,_0x725037){var _0x344257=_0x282b45;_0x725037=this[_0x344257(0x3fe)][_0x344257(0x1c8)](_0x725037),_0x866ff0=this[_0x344257(0x306)](_0x866ff0,_0x725037[_0x344257(0x2ca)]);var _0x279fcc=_0x725037[_0x344257(0x283)]['execute'](_0xef170a,_0x157119[_0x344257(0x33f)],_0x157119['ivSize'],_0x866ff0[_0x344257(0x1ba)],_0x725037[_0x344257(0x241)]);_0x725037['iv']=_0x279fcc['iv'];var _0x374884=_0x472d2f[_0x344257(0x1af)][_0x344257(0x45b)](this,_0x157119,_0x866ff0,_0x279fcc[_0x344257(0x484)],_0x725037);return _0x374884;}});}();}));}(Te)),Te[_0x2eb96e(0x46a)];}var Gi=fe[_0x4877c9(0x46a)],st;function Ki(){return st||(st=0x1,function(_0x1b21c4,_0x2ca25a){(function(_0x8bdc81,_0x310be5,_0x39f898){var _0x1b66c4=_0x38be;_0x1b21c4[_0x1b66c4(0x46a)]=_0x310be5(ee(),Dt(),Hi(),At(),Pt());}(Gi,function(_0x25f944){return(function(){var _0x1862a0=_0x38be,_0x3c8264=_0x25f944,_0x42fc5a=_0x3c8264[_0x1862a0(0x2c2)],_0x291f4f=_0x42fc5a['BlockCipher'],_0x56a9bc=_0x3c8264[_0x1862a0(0x282)],_0x1e2aa0=[],_0x4f8548=[],_0x4a348b=[],_0x8f255c=[],_0x12bd35=[],_0x5f3f1b=[],_0x5cec02=[],_0x4dc501=[],_0x5546d3=[],_0x5b4231=[];(function(){for(var _0x3451e9=[],_0x4d3838=0x0;_0x4d3838<0x100;_0x4d3838++)_0x4d3838<0x80?_0x3451e9[_0x4d3838]=_0x4d3838<<0x1:_0x3451e9[_0x4d3838]=_0x4d3838<<0x1^0x11b;for(var _0x5add58=0x0,_0x3bd762=0x0,_0x4d3838=0x0;_0x4d3838<0x100;_0x4d3838++){var _0x48365f=_0x3bd762^_0x3bd762<<0x1^_0x3bd762<<0x2^_0x3bd762<<0x3^_0x3bd762<<0x4;_0x48365f=_0x48365f>>>0x8^_0x48365f&0xff^0x63,_0x1e2aa0[_0x5add58]=_0x48365f,_0x4f8548[_0x48365f]=_0x5add58;var _0x20812f=_0x3451e9[_0x5add58],_0x35144c=_0x3451e9[_0x20812f],_0x4244d6=_0x3451e9[_0x35144c],_0x5a5206=_0x3451e9[_0x48365f]*0x101^_0x48365f*0x1010100;_0x4a348b[_0x5add58]=_0x5a5206<<0x18|_0x5a5206>>>0x8,_0x8f255c[_0x5add58]=_0x5a5206<<0x10|_0x5a5206>>>0x10,_0x12bd35[_0x5add58]=_0x5a5206<<0x8|_0x5a5206>>>0x18,_0x5f3f1b[_0x5add58]=_0x5a5206;var _0x5a5206=_0x4244d6*0x1010101^_0x35144c*0x10001^_0x20812f*0x101^_0x5add58*0x1010100;_0x5cec02[_0x48365f]=_0x5a5206<<0x18|_0x5a5206>>>0x8,_0x4dc501[_0x48365f]=_0x5a5206<<0x10|_0x5a5206>>>0x10,_0x5546d3[_0x48365f]=_0x5a5206<<0x8|_0x5a5206>>>0x18,_0x5b4231[_0x48365f]=_0x5a5206,_0x5add58?(_0x5add58=_0x20812f^_0x3451e9[_0x3451e9[_0x3451e9[_0x4244d6^_0x20812f]]],_0x3bd762^=_0x3451e9[_0x3451e9[_0x3bd762]]):_0x5add58=_0x3bd762=0x1;}}());var _0x3a4218=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x17d7e7=_0x56a9bc[_0x1862a0(0x287)]=_0x291f4f['extend']({'_doReset':function(){var _0x17220f=_0x1862a0,_0x51cf91;if(!(this[_0x17220f(0x1d6)]&&this['_keyPriorReset']===this[_0x17220f(0x36f)])){for(var _0x472014=this['_keyPriorReset']=this[_0x17220f(0x36f)],_0x4e2d74=_0x472014[_0x17220f(0x156)],_0x127699=_0x472014[_0x17220f(0x363)]/0x4,_0x487fb9=this['_nRounds']=_0x127699+0x6,_0x48ed65=(_0x487fb9+0x1)*0x4,_0x1f6ec9=this[_0x17220f(0x177)]=[],_0x49c671=0x0;_0x49c671<_0x48ed65;_0x49c671++)_0x49c671<_0x127699?_0x1f6ec9[_0x49c671]=_0x4e2d74[_0x49c671]:(_0x51cf91=_0x1f6ec9[_0x49c671-0x1],_0x49c671%_0x127699?_0x127699>0x6&&_0x49c671%_0x127699==0x4&&(_0x51cf91=_0x1e2aa0[_0x51cf91>>>0x18]<<0x18|_0x1e2aa0[_0x51cf91>>>0x10&0xff]<<0x10|_0x1e2aa0[_0x51cf91>>>0x8&0xff]<<0x8|_0x1e2aa0[_0x51cf91&0xff]):(_0x51cf91=_0x51cf91<<0x8|_0x51cf91>>>0x18,_0x51cf91=_0x1e2aa0[_0x51cf91>>>0x18]<<0x18|_0x1e2aa0[_0x51cf91>>>0x10&0xff]<<0x10|_0x1e2aa0[_0x51cf91>>>0x8&0xff]<<0x8|_0x1e2aa0[_0x51cf91&0xff],_0x51cf91^=_0x3a4218[_0x49c671/_0x127699|0x0]<<0x18),_0x1f6ec9[_0x49c671]=_0x1f6ec9[_0x49c671-_0x127699]^_0x51cf91);for(var _0x2bf060=this[_0x17220f(0x1a1)]=[],_0x390cff=0x0;_0x390cff<_0x48ed65;_0x390cff++){var _0x49c671=_0x48ed65-_0x390cff;if(_0x390cff%0x4)var _0x51cf91=_0x1f6ec9[_0x49c671];else var _0x51cf91=_0x1f6ec9[_0x49c671-0x4];_0x390cff<0x4||_0x49c671<=0x4?_0x2bf060[_0x390cff]=_0x51cf91:_0x2bf060[_0x390cff]=_0x5cec02[_0x1e2aa0[_0x51cf91>>>0x18]]^_0x4dc501[_0x1e2aa0[_0x51cf91>>>0x10&0xff]]^_0x5546d3[_0x1e2aa0[_0x51cf91>>>0x8&0xff]]^_0x5b4231[_0x1e2aa0[_0x51cf91&0xff]];}}},'encryptBlock':function(_0x58e0ce,_0xe1d59a){var _0x1ab486=_0x1862a0;this[_0x1ab486(0x12f)](_0x58e0ce,_0xe1d59a,this['_keySchedule'],_0x4a348b,_0x8f255c,_0x12bd35,_0x5f3f1b,_0x1e2aa0);},'decryptBlock':function(_0x4d3fd4,_0x574866){var _0x1119ad=_0x1862a0,_0x4004d3=_0x4d3fd4[_0x574866+0x1];_0x4d3fd4[_0x574866+0x1]=_0x4d3fd4[_0x574866+0x3],_0x4d3fd4[_0x574866+0x3]=_0x4004d3,this[_0x1119ad(0x12f)](_0x4d3fd4,_0x574866,this[_0x1119ad(0x1a1)],_0x5cec02,_0x4dc501,_0x5546d3,_0x5b4231,_0x4f8548);var _0x4004d3=_0x4d3fd4[_0x574866+0x1];_0x4d3fd4[_0x574866+0x1]=_0x4d3fd4[_0x574866+0x3],_0x4d3fd4[_0x574866+0x3]=_0x4004d3;},'_doCryptBlock':function(_0x208649,_0x3d2471,_0x444ddf,_0x4ab7ff,_0x375ef7,_0x139ce3,_0x2cddf1,_0x40d701){var _0x5ec379=_0x1862a0;for(var _0x400ab5=this[_0x5ec379(0x1d6)],_0xf74270=_0x208649[_0x3d2471]^_0x444ddf[0x0],_0x165099=_0x208649[_0x3d2471+0x1]^_0x444ddf[0x1],_0x2e0d0c=_0x208649[_0x3d2471+0x2]^_0x444ddf[0x2],_0x5a5b2f=_0x208649[_0x3d2471+0x3]^_0x444ddf[0x3],_0x10583d=0x4,_0x49e424=0x1;_0x49e424<_0x400ab5;_0x49e424++){var _0x219014=_0x4ab7ff[_0xf74270>>>0x18]^_0x375ef7[_0x165099>>>0x10&0xff]^_0x139ce3[_0x2e0d0c>>>0x8&0xff]^_0x2cddf1[_0x5a5b2f&0xff]^_0x444ddf[_0x10583d++],_0x516f96=_0x4ab7ff[_0x165099>>>0x18]^_0x375ef7[_0x2e0d0c>>>0x10&0xff]^_0x139ce3[_0x5a5b2f>>>0x8&0xff]^_0x2cddf1[_0xf74270&0xff]^_0x444ddf[_0x10583d++],_0xb97fd9=_0x4ab7ff[_0x2e0d0c>>>0x18]^_0x375ef7[_0x5a5b2f>>>0x10&0xff]^_0x139ce3[_0xf74270>>>0x8&0xff]^_0x2cddf1[_0x165099&0xff]^_0x444ddf[_0x10583d++],_0x30a579=_0x4ab7ff[_0x5a5b2f>>>0x18]^_0x375ef7[_0xf74270>>>0x10&0xff]^_0x139ce3[_0x165099>>>0x8&0xff]^_0x2cddf1[_0x2e0d0c&0xff]^_0x444ddf[_0x10583d++];_0xf74270=_0x219014,_0x165099=_0x516f96,_0x2e0d0c=_0xb97fd9,_0x5a5b2f=_0x30a579;}var _0x219014=(_0x40d701[_0xf74270>>>0x18]<<0x18|_0x40d701[_0x165099>>>0x10&0xff]<<0x10|_0x40d701[_0x2e0d0c>>>0x8&0xff]<<0x8|_0x40d701[_0x5a5b2f&0xff])^_0x444ddf[_0x10583d++],_0x516f96=(_0x40d701[_0x165099>>>0x18]<<0x18|_0x40d701[_0x2e0d0c>>>0x10&0xff]<<0x10|_0x40d701[_0x5a5b2f>>>0x8&0xff]<<0x8|_0x40d701[_0xf74270&0xff])^_0x444ddf[_0x10583d++],_0xb97fd9=(_0x40d701[_0x2e0d0c>>>0x18]<<0x18|_0x40d701[_0x5a5b2f>>>0x10&0xff]<<0x10|_0x40d701[_0xf74270>>>0x8&0xff]<<0x8|_0x40d701[_0x165099&0xff])^_0x444ddf[_0x10583d++],_0x30a579=(_0x40d701[_0x5a5b2f>>>0x18]<<0x18|_0x40d701[_0xf74270>>>0x10&0xff]<<0x10|_0x40d701[_0x165099>>>0x8&0xff]<<0x8|_0x40d701[_0x2e0d0c&0xff])^_0x444ddf[_0x10583d++];_0x208649[_0x3d2471]=_0x219014,_0x208649[_0x3d2471+0x1]=_0x516f96,_0x208649[_0x3d2471+0x2]=_0xb97fd9,_0x208649[_0x3d2471+0x3]=_0x30a579;},'keySize':0x100/0x20});_0x3c8264[_0x1862a0(0x287)]=_0x291f4f[_0x1862a0(0x27a)](_0x17d7e7);}()),_0x25f944['AES'];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Dt();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x4877c9(0x46a)],at;function Xi(){return at||(at=0x1,function(_0x2b3ecb,_0x102bf9){(function(_0x1770f4,_0x2dad5e){var _0xe4bf48=_0x38be;_0x2b3ecb[_0xe4bf48(0x46a)]=_0x2dad5e(ee());}(Ji,function(_0xd80800){var _0x4c0563=_0x38be;return _0xd80800[_0x4c0563(0x16c)]['Utf8'];}));}(be)),be['exports'];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x4877c9(0x46a)],ct;function tn(){var _0x3d069a=_0x4877c9;return ct||(ct=0x1,function(_0x1195f3,_0x23a5dd){(function(_0x4bbcbc,_0x355e7a){var _0x266c90=_0x38be;_0x1195f3[_0x266c90(0x46a)]=_0x355e7a(ee());}(en,function(_0x370b42){var _0x465763=_0x38be;return(function(){var _0x17433e=_0x38be;if(typeof ArrayBuffer==_0x17433e(0x2a1)){var _0x43c69b=_0x370b42,_0x51940e=_0x43c69b[_0x17433e(0x2c2)],_0x27b051=_0x51940e['WordArray'],_0x589d6d=_0x27b051[_0x17433e(0x3c6)],_0x1b483=_0x27b051[_0x17433e(0x3c6)]=function(_0x2fe82e){var _0x427e35=_0x17433e;if(_0x2fe82e instanceof ArrayBuffer&&(_0x2fe82e=new Uint8Array(_0x2fe82e)),(_0x2fe82e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2fe82e instanceof Uint8ClampedArray||_0x2fe82e instanceof Int16Array||_0x2fe82e instanceof Uint16Array||_0x2fe82e instanceof Int32Array||_0x2fe82e instanceof Uint32Array||_0x2fe82e instanceof Float32Array||_0x2fe82e instanceof Float64Array)&&(_0x2fe82e=new Uint8Array(_0x2fe82e[_0x427e35(0x1d7)],_0x2fe82e[_0x427e35(0x423)],_0x2fe82e[_0x427e35(0x211)])),_0x2fe82e instanceof Uint8Array){for(var _0x5eb1d8=_0x2fe82e[_0x427e35(0x211)],_0x28fa9b=[],_0x10f599=0x0;_0x10f599<_0x5eb1d8;_0x10f599++)_0x28fa9b[_0x10f599>>>0x2]|=_0x2fe82e[_0x10f599]<<0x18-_0x10f599%0x4*0x8;_0x589d6d[_0x427e35(0x45b)](this,_0x28fa9b,_0x5eb1d8);}else _0x589d6d[_0x427e35(0x466)](this,arguments);};_0x1b483['prototype']=_0x27b051;}}()),_0x370b42[_0x465763(0x2c2)][_0x465763(0x24b)];}));}(Re)),Re[_0x3d069a(0x46a)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x4877c9(0x46a)],ht;function on(){return ht||(ht=0x1,function(_0x3cac30,_0x495c1d){(function(_0x595b93,_0x131deb,_0x2ea18b){var _0x158794=_0x38be;_0x3cac30[_0x158794(0x46a)]=_0x131deb(ee(),Pt());}(sn,function(_0x2d3be7){var _0x474d29=_0x38be;return _0x2d3be7[_0x474d29(0x2fa)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2d3be7[_0x474d29(0x2fa)][_0x474d29(0x321)];}));}(Oe)),Oe['exports'];}var an=on();const cn=Se(an);function hn(_0x3ba653,_0x5a6937){var _0x3a84e0=_0x4877c9;const _0x400f9c=_0x5a6937-_0x3ba653[_0x3a84e0(0x374)]%_0x5a6937,_0x5dce1e=String[_0x3a84e0(0x427)](_0x400f9c)[_0x3a84e0(0x1df)](_0x400f9c);return _0x3ba653+_0x5dce1e;}function _n(_0x2fe240,_0x21f9c8){var _0x40bec5=_0x4877c9;const _0x559dad=rn[_0x40bec5(0x3ac)](0x10),_0x250fd2=hn(_0x2fe240,0x10),_0x2d8963=qi['encrypt'](Qi[_0x40bec5(0x458)](_0x250fd2),ot[_0x40bec5(0x458)](_0x21f9c8),{'iv':_0x559dad,'padding':cn});return _0x559dad['concat'](_0x2d8963[_0x40bec5(0x296)])[_0x40bec5(0x1c3)](ot);}function ln(){var _0x4eaec9=_0x4877c9;const _0x2855d5=xt[_0x4eaec9(0x246)]()[_0x4eaec9(0x465)];if(_0x2855d5){const _0x26535a={'time':Math['floor'](Date[_0x4eaec9(0x13f)]()/0x3e8),'domain':location[_0x4eaec9(0x23e)]};return _n(JSON[_0x4eaec9(0x481)](_0x26535a),_0x2855d5);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x1afb4b,_0x5c2c38,_0x5e12b6,_0x29d781)=>{var _0x1b75ac=_0x4877c9;for(var _0xa140e8=_0x29d781>0x1?void 0x0:_0x29d781?un(_0x5c2c38,_0x5e12b6):_0x5c2c38,_0x458028=_0x1afb4b[_0x1b75ac(0x374)]-0x1,_0x2c6b86;_0x458028>=0x0;_0x458028--)(_0x2c6b86=_0x1afb4b[_0x458028])&&(_0xa140e8=_0x2c6b86(_0xa140e8)||_0xa140e8);return _0xa140e8;},vn=(_0x4f1799,_0x297d50)=>(_0x1cd89b,_0x434093)=>_0x297d50(_0x1cd89b,_0x434093,_0x4f1799);let Ne=class{constructor(_0x2fd499){var _0x151074=_0x4877c9;this[_0x151074(0x30e)]=_0x2fd499,this[_0x151074(0x39b)]();}[_0x4877c9(0x39b)](){var _0x58b699=_0x4877c9;this[_0x58b699(0x30e)][_0x58b699(0x3c7)]({'interceptor':(_0x154e55,_0x25e5c6)=>{var _0x3a4c59=_0x58b699;const _0x88ed2d=_0x154e55['headers'],_0x5c3c76=ln();return _0x5c3c76&&_0x88ed2d[_0x3a4c59(0x2c9)](_0x3a4c59(0x117),_0x5c3c76),_0x25e5c6(_0x154e55);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x4877c9(0x2bf)]))],Ne);var Sn=Object[_0x4877c9(0x2ac)],fn=(_0x3d5c8e,_0x2ba946,_0x1563d6,_0x5307fb)=>{for(var _0x1af933=_0x5307fb>0x1?void 0x0:_0x5307fb?Sn(_0x2ba946,_0x1563d6):_0x2ba946,_0x504930=_0x3d5c8e['length']-0x1,_0x2b1d0c;_0x504930>=0x0;_0x504930--)(_0x2b1d0c=_0x3d5c8e[_0x504930])&&(_0x1af933=_0x2b1d0c(_0x1af933)||_0x1af933);return _0x1af933;},Me=(_0x490577,_0x2a83cb)=>(_0x39c1c8,_0x29bcda)=>_0x2a83cb(_0x39c1c8,_0x29bcda,_0x490577);exports[_0x4877c9(0x469)]=class extends a['RxDisposable']{constructor(_0x3e8cde,_0x37ca8d,_0xa9d1d3){var _0x2052bb=_0x4877c9;super(),A(this,_0x2052bb(0x3d0),new j[(_0x2052bb(0x245))](null)),A(this,'unitInfo$',this[_0x2052bb(0x3d0)][_0x2052bb(0x134)]()),(this[_0x2052bb(0x14f)]=_0x3e8cde,this[_0x2052bb(0x376)]=_0x37ca8d,this['_localCacheService']=_0xa9d1d3);}async['loadUnit'](_0x5d2ea8,_0x3a8304,_0x43cd80){var _0x20b85f=_0x4877c9;this[_0x20b85f(0x3d0)][_0x20b85f(0x46f)]({'unitId':_0x5d2ea8,'type':_0x3a8304,'subUnitId':_0x43cd80});let _0x461c3e=null;switch(_0x3a8304){case X[_0x20b85f(0x40d)]:{_0x461c3e=await this[_0x20b85f(0x2bd)](_0x5d2ea8);break;}case X[_0x20b85f(0x29f)]:{_0x461c3e=await this[_0x20b85f(0x442)](_0x5d2ea8);break;}default:{this[_0x20b85f(0x14f)][_0x20b85f(0x44d)](_0x20b85f(0x21c),_0x20b85f(0x22b));break;}}return _0x461c3e;}async[_0x4877c9(0x2bd)](_0x4dcbd6){var _0x3ecacb=_0x4877c9,_0x38b37b;let _0x2028d5=0x0;const _0x29d23e=await((_0x38b37b=this[_0x3ecacb(0x1f2)])==null?void 0x0:_0x38b37b[_0x3ecacb(0x277)](_0x4dcbd6));return _0x29d23e&&(_0x29d23e[_0x3ecacb(0x154)]||_0x29d23e[_0x3ecacb(0x182)][_0x3ecacb(0x374)]!==0x0)&&(_0x2028d5=_0x29d23e['rev']),_0x2028d5===0x0&&this[_0x3ecacb(0x14f)][_0x3ecacb(0x223)]('[DataLoaderService]',_0x3ecacb(0x38b)),this[_0x3ecacb(0x376)][_0x3ecacb(0x215)](_0x4dcbd6,_0x2028d5);}async[_0x4877c9(0x442)](_0x22e6f7){var _0x567670=_0x4877c9,_0x4c2245;let _0x36e0fe=0x0;const _0x2c2aef=await((_0x4c2245=this[_0x567670(0x1f2)])==null?void 0x0:_0x4c2245[_0x567670(0x277)](_0x22e6f7));return _0x2c2aef&&(_0x2c2aef[_0x567670(0x154)]||_0x2c2aef['mutations'][_0x567670(0x374)]!==0x0)&&(_0x36e0fe=_0x2c2aef['rev']),_0x36e0fe===0x0&&this['_logService'][_0x567670(0x223)](_0x567670(0x21c),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x567670(0x376)]['loadDoc'](_0x22e6f7,_0x36e0fe);}},exports[_0x4877c9(0x469)]=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0x4877c9(0x385)](g[_0x4877c9(0x288)])),Me(0x2,a['Optional'](z))],exports[_0x4877c9(0x469)]);var pn=Object[_0x4877c9(0x2ac)],gn=(_0x54daca,_0x31d663,_0x4ff536,_0x370619)=>{var _0xf5f4d2=_0x4877c9;for(var _0x596404=_0x370619>0x1?void 0x0:_0x370619?pn(_0x31d663,_0x4ff536):_0x31d663,_0x39749e=_0x54daca[_0xf5f4d2(0x374)]-0x1,_0x13f9a4;_0x39749e>=0x0;_0x39749e--)(_0x13f9a4=_0x54daca[_0x39749e])&&(_0x596404=_0x13f9a4(_0x596404)||_0x596404);return _0x596404;},xe=(_0x8531e6,_0x117a59)=>(_0x5219b4,_0x56197f)=>_0x117a59(_0x5219b4,_0x56197f,_0x8531e6);const In=['image/png','image/jpeg',_0x4877c9(0x3ed),_0x4877c9(0x1fb),_0x4877c9(0x323)],mn=0x5*0x400*0x400,En=_0x4877c9(0x408),Cn=_0x4877c9(0x115),Tn=_0x4877c9(0x13b),bn=_0x4877c9(0x2b9);exports[_0x4877c9(0x3da)]=class{constructor(_0x5e88c1,_0x5ce040,_0xafed05){var _0x5d7ba4=_0x4877c9;A(this,_0x5d7ba4(0x40f),0x0),A(this,_0x5d7ba4(0x431),new j[(_0x5d7ba4(0x2aa))]()),A(this,_0x5d7ba4(0x42a),this[_0x5d7ba4(0x431)]),A(this,_0x5d7ba4(0x152),new Map()),(this['_httpService']=_0x5e88c1,this[_0x5d7ba4(0x401)]=_0x5ce040,this[_0x5d7ba4(0x244)]=_0xafed05);}['setWaitCount'](_0x112435){var _0x5b5a1b=_0x4877c9;this[_0x5b5a1b(0x40f)]=_0x112435,this['_change$']['next'](_0x112435);}['getImageSourceCache'](_0xbb8c74,_0x3a35f5){var _0x3b642f=_0x4877c9;if(_0x3a35f5===J[_0x3b642f(0x2fb)][_0x3b642f(0x47c)]){const _0x31c9f3=new Image();return _0x31c9f3[_0x3b642f(0x48b)]=_0xbb8c74,_0x31c9f3;}return this[_0x3b642f(0x152)][_0x3b642f(0x208)](_0xbb8c74);}[_0x4877c9(0x1e9)](_0x595391,_0x1f0308,_0x3e1312){var _0x4c1d50=_0x4877c9;_0x1f0308===J[_0x4c1d50(0x2fb)][_0x4c1d50(0x47c)]||_0x3e1312==null||this[_0x4c1d50(0x152)][_0x4c1d50(0x2c9)](_0x595391,_0x3e1312);}async[_0x4877c9(0x22e)](_0x531818){var _0x5da06b=_0x4877c9;try{const _0x1cefec=this[_0x5da06b(0x471)](this[_0x5da06b(0x225)](),''+_0x531818),_0x21e0ea=(await this['_httpService']['get'](_0x1cefec))[_0x5da06b(0x25a)];if(_0x21e0ea[_0x5da06b(0x44d)]&&_0x21e0ea['error']['code']===Ct['OK']){const _0x4e6809=new URL(_0x21e0ea[_0x5da06b(0x2ae)],this['_getDownloadEndpointURL']())[_0x5da06b(0x1c3)]();return Promise['resolve'](_0x4e6809);}return Promise['reject'](_0x21e0ea[_0x5da06b(0x44d)]);}catch(_0xd2d8b2){return Promise[_0x5da06b(0x3f1)](_0xd2d8b2);}}async[_0x4877c9(0x3e6)](_0xa64906){var _0x50cb3b=_0x4877c9;let _0x5fdd29='';if(!In['includes'](_0xa64906[_0x50cb3b(0x1a8)]))return this[_0x50cb3b(0x34a)](),Promise[_0x50cb3b(0x3f1)](new Error(J[_0x50cb3b(0x1d0)]['ERROR_IMAGE_TYPE']));if(_0xa64906[_0x50cb3b(0x21f)]>mn)return this[_0x50cb3b(0x34a)](),Promise[_0x50cb3b(0x3f1)](new Error(J[_0x50cb3b(0x1d0)][_0x50cb3b(0x398)]));try{const _0x286c6a=new FormData();_0x286c6a['append'](_0x50cb3b(0x159),_0xa64906);const _0x12de3b=this[_0x50cb3b(0x244)][_0x50cb3b(0x3a0)](),_0x1c4a44=_0x12de3b==null?void 0x0:_0x12de3b[_0x50cb3b(0x217)]();if(!_0x1c4a44)throw new Error('unitId\x20is\x20not\x20found');const _0x2ea1a5=this[_0x50cb3b(0x38d)]()+_0x50cb3b(0x3c1)+_0xa64906['size'][_0x50cb3b(0x1c3)]()+_0x50cb3b(0x2c8)+Tt[_0x50cb3b(0x2b0)]+_0x50cb3b(0x21d)+encodeURIComponent(_0x1c4a44),_0x4de5f8={'body':_0x286c6a},_0x37f637=(await this[_0x50cb3b(0x30e)]['post'](_0x2ea1a5,_0x4de5f8))['body'];if(typeof _0x37f637[_0x50cb3b(0x2a8)]!='string')return this[_0x50cb3b(0x34a)](),Promise[_0x50cb3b(0x3f1)](new Error(J[_0x50cb3b(0x1d0)][_0x50cb3b(0x1ea)]));_0x5fdd29=_0x37f637['FileId'];}catch{return this[_0x50cb3b(0x34a)](),Promise[_0x50cb3b(0x3f1)](new Error(J[_0x50cb3b(0x1d0)][_0x50cb3b(0x1ea)]));}return new Promise((_0x1a987f,_0x521f87)=>{const _0x251ef8=new FileReader();_0x251ef8['readAsDataURL'](_0xa64906),_0x251ef8['onload']=_0x32f402=>{var _0x4b1624=_0x38be,_0x4e7163;const _0x487cd5=(_0x4e7163=_0x32f402[_0x4b1624(0x388)])==null?void 0x0:_0x4e7163['result'];if(_0x487cd5==null){this[_0x4b1624(0x34a)](),_0x521f87(new Error(J['ImageUploadStatusType'][_0x4b1624(0x1ea)]));return;}const _0x308bc9=a[_0x4b1624(0x14a)][_0x4b1624(0x2b6)](0x6);_0x1a987f({'imageId':_0x308bc9,'imageSourceType':J['ImageSourceType']['UUID'],'source':_0x5fdd29,'base64Cache':_0x487cd5,'status':J['ImageUploadStatusType']['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x4877c9(0x38d)](){var _0x3f05d7=_0x4877c9,_0x4dd176,_0x59f530;const _0x25d520=this[_0x3f05d7(0x401)][_0x3f05d7(0x1f7)](En),_0x3d87c2=this[_0x3f05d7(0x401)][_0x3f05d7(0x1f7)](Y);return(_0x59f530=(_0x4dd176=_0x3d87c2==null?void 0x0:_0x3d87c2[_0x3f05d7(0x430)])!=null?_0x4dd176:_0x25d520)!=null?_0x59f530:Cn;}[_0x4877c9(0x225)](){var _0xaf2178=_0x4877c9,_0x39505c,_0x5daecb;const _0x13a744=this[_0xaf2178(0x401)][_0xaf2178(0x1f7)](Tn),_0x5acb49=this[_0xaf2178(0x401)][_0xaf2178(0x1f7)](Y);return(_0x5daecb=(_0x39505c=_0x5acb49==null?void 0x0:_0x5acb49['signUrlServerUrl'])!=null?_0x39505c:_0x13a744)!=null?_0x5daecb:bn;}[_0x4877c9(0x1b4)](){var _0x76abd2=_0x4877c9,_0x17c3e3;const _0x99c22e=this['_configService'][_0x76abd2(0x1f7)](Y);return(_0x17c3e3=_0x99c22e==null?void 0x0:_0x99c22e[_0x76abd2(0x3ba)])!=null?_0x17c3e3:location[_0x76abd2(0x40e)];}[_0x4877c9(0x471)](_0x280cf3,_0x487550){var _0x1ce724=_0x4877c9;return _0x280cf3['replace'](_0x1ce724(0x202),_0x487550);}[_0x4877c9(0x34a)](){var _0x30c0d7=_0x4877c9;this[_0x30c0d7(0x40f)]-=0x1,this[_0x30c0d7(0x431)][_0x30c0d7(0x46f)](this[_0x30c0d7(0x40f)]);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0x4877c9(0x385)](q['HTTPService'])),xe(0x1,a[_0x4877c9(0x1a9)]),xe(0x2,a[_0x4877c9(0x385)](a[_0x4877c9(0x2ff)]))],exports[_0x4877c9(0x3da)]);var Rn=Object[_0x4877c9(0x2ac)],On=(_0x301130,_0x57d1ab,_0x13b0c0,_0x306718)=>{var _0x2f4aaf=_0x4877c9;for(var _0x43f096=_0x306718>0x1?void 0x0:_0x306718?Rn(_0x57d1ab,_0x13b0c0):_0x57d1ab,_0x5f2da5=_0x301130[_0x2f4aaf(0x374)]-0x1,_0x17c0a5;_0x5f2da5>=0x0;_0x5f2da5--)(_0x17c0a5=_0x301130[_0x5f2da5])&&(_0x43f096=_0x17c0a5(_0x43f096)||_0x43f096);return _0x43f096;},_t=(_0x3a2c2a,_0x45597)=>(_0x3da5c9,_0x178a56)=>_0x45597(_0x3da5c9,_0x178a56,_0x3a2c2a);const yn=_0x4877c9(0x1e6);exports[_0x4877c9(0x413)]=class{constructor(_0x48bd80,_0x104f90){var _0x18685b=_0x4877c9;this[_0x18685b(0x401)]=_0x48bd80,this[_0x18685b(0x261)]=_0x104f90;}[_0x4877c9(0x1a0)](){var _0x8dcd2d=_0x4877c9,_0x4ef47e,_0x493abb;const _0x31eee7=this[_0x8dcd2d(0x401)]['getConfig'](Ge),_0x344fe2=this[_0x8dcd2d(0x401)][_0x8dcd2d(0x1f7)](Y);return(_0x493abb=(_0x4ef47e=_0x344fe2==null?void 0x0:_0x344fe2[_0x8dcd2d(0x429)])!=null?_0x4ef47e:_0x31eee7)!=null?_0x493abb:yn;}async['list'](_0x24933a){var _0x5480e5=_0x4877c9;const _0x2e71b8=this[_0x5480e5(0x1a0)]()+_0x5480e5(0x114);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x5480e5(0x208)](_0x2e71b8,{'params':{'objectID':_0x24933a[_0x5480e5(0x26e)],'unitID':_0x24933a[_0x5480e5(0x26e)]}}))['body'][_0x5480e5(0x1ad)]['map'](_0x19fb7e=>({'objectId':_0x19fb7e['id'],'name':_0x19fb7e[_0x5480e5(0x2dc)]['name'],'metadata':{'icon':_0x19fb7e[_0x5480e5(0x2dc)][_0x5480e5(0x38f)]},'label':_0x19fb7e[_0x5480e5(0x2dc)]['name'],'objectType':a['MentionType'][_0x5480e5(0x335)]})),'metadata':{},'type':a['MentionType'][_0x5480e5(0x335)]}]};}},exports[_0x4877c9(0x413)]=On([_t(0x0,a[_0x4877c9(0x385)](a['IConfigService'])),_t(0x1,a[_0x4877c9(0x385)](q[_0x4877c9(0x2bf)]))],exports[_0x4877c9(0x413)]);var Nn=Object[_0x4877c9(0x2ac)],Un=(_0x28c962,_0x3b79f0,_0x19ee2f,_0x7f9c58)=>{var _0x26fe46=_0x4877c9;for(var _0x161c3c=_0x7f9c58>0x1?void 0x0:_0x7f9c58?Nn(_0x3b79f0,_0x19ee2f):_0x3b79f0,_0x20f3fe=_0x28c962[_0x26fe46(0x374)]-0x1,_0x40c499;_0x20f3fe>=0x0;_0x20f3fe--)(_0x40c499=_0x28c962[_0x20f3fe])&&(_0x161c3c=_0x40c499(_0x161c3c)||_0x161c3c);return _0x161c3c;},ue=(_0x46c844,_0x4d14f5)=>(_0x1f9c71,_0x3b26e2)=>_0x4d14f5(_0x1f9c71,_0x3b26e2,_0x46c844);let Ue=class extends a[_0x4877c9(0x46d)]{constructor(_0x11678c,_0x2f4796,_0x108631,_0x5350c7,_0x597047){var _0x591f33=_0x4877c9;super(),this[_0x591f33(0x16d)]=_0x11678c,this[_0x591f33(0x244)]=_0x2f4796,this['_permissionService']=_0x108631,this[_0x591f33(0x3db)]=_0x5350c7,this['_collaborationUIEventService']=_0x597047,this[_0x591f33(0x11f)](),this['_initCloseConn']();}[_0x4877c9(0x340)](){var _0x533ed8=_0x4877c9;const _0x1c2ba5=async _0x18539e=>{var _0x79cb4=_0x38be;(await this[_0x79cb4(0x3db)][_0x79cb4(0x2f4)](_0x18539e))[_0x79cb4(0x19a)]['pipe'](V[_0x79cb4(0x3ff)](_0x11aec6=>_0x11aec6['eventID']===g['CollaborationEvent']['SHOULD_CLOSE_CONN']),V[_0x79cb4(0x293)](this['dispose$']))[_0x79cb4(0x1e1)](_0x29a940=>{var _0x4c36cb=_0x79cb4;const _0x40b49f=_0x29a940,{reason:_0x25fe9b}=_0x40b49f[_0x4c36cb(0x2dd)];this[_0x4c36cb(0x123)][_0x4c36cb(0x3fb)]({'id':Q[_0x4c36cb(0x45e)],'data':_0x25fe9b}),this[_0x4c36cb(0x2c0)][_0x4c36cb(0x27c)](new Z[(_0x4c36cb(0x222))](_0x18539e)['id'],!0x1),this[_0x4c36cb(0x3db)][_0x4c36cb(0x45a)](_0x18539e);});};j['merge'](this[_0x533ed8(0x244)][_0x533ed8(0x25c)](a[_0x533ed8(0x402)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x533ed8(0x25c)](a[_0x533ed8(0x402)][_0x533ed8(0x29f)]))[_0x533ed8(0x432)](V[_0x533ed8(0x3df)](_0xf39219=>_0xf39219[_0x533ed8(0x217)]()),V[_0x533ed8(0x3ff)](_0x401e0b=>!a[_0x533ed8(0x146)](_0x401e0b)),V[_0x533ed8(0x293)](this[_0x533ed8(0x42f)]))['subscribe'](_0x482094=>{_0x1c2ba5(_0x482094);});}[_0x4877c9(0x11f)](){var _0x58207f=_0x4877c9;const _0x45652e=async _0x43fb98=>{var _0x3bc1be=_0x38be;const _0xc846aa=await this[_0x3bc1be(0x3db)][_0x3bc1be(0x2f4)](_0x43fb98),_0x3ac222=this['_injector'][_0x3bc1be(0x208)](Z[_0x3bc1be(0x2d2)]);_0xc846aa[_0x3bc1be(0x19a)][_0x3bc1be(0x432)](V[_0x3bc1be(0x3ff)](_0x4216db=>_0x4216db[_0x3bc1be(0x24c)]===g[_0x3bc1be(0x1f6)]['UPDATE_PERMISSION_OBJ']),V[_0x3bc1be(0x293)](this['dispose$']))['subscribe'](_0x5833ec=>{var _0x208e54=_0x3bc1be;const _0x2e1bb3=_0x5833ec,{objectId:_0x3675ea}=_0x2e1bb3[_0x208e54(0x2dd)];_0x3675ea===_0x43fb98?_0x3ac222[_0x208e54(0x2be)](_0x43fb98):_0x3ac222[_0x208e54(0x2a2)](_0x43fb98,_0x3675ea);});};j['merge'](this['_univerInstanceService'][_0x58207f(0x25c)](a[_0x58207f(0x402)][_0x58207f(0x40d)]))['pipe'](V[_0x58207f(0x3df)](_0x4c8894=>_0x4c8894[_0x58207f(0x217)]()),V[_0x58207f(0x3ff)](_0x96d823=>!a['isInternalEditorID'](_0x96d823)),V['takeUntil'](this[_0x58207f(0x42f)]))[_0x58207f(0x1e1)](_0x1261e4=>{_0x45652e(_0x1261e4);});}};Ue=Un([ue(0x0,a['Inject'](a[_0x4877c9(0x198)])),ue(0x1,a[_0x4877c9(0x2ff)]),ue(0x2,a[_0x4877c9(0x18d)]),ue(0x3,a[_0x4877c9(0x385)](exports['CollaborationSessionService'])),ue(0x4,a['Inject'](te))],Ue);var Dn=Object[_0x4877c9(0x2ac)],An=(_0x59e172,_0x26f6ee,_0x3358c2,_0x8ed320)=>{var _0x13fe9c=_0x4877c9;for(var _0x50403a=_0x8ed320>0x1?void 0x0:_0x8ed320?Dn(_0x26f6ee,_0x3358c2):_0x26f6ee,_0x1ed854=_0x59e172[_0x13fe9c(0x374)]-0x1,_0x51af0f;_0x1ed854>=0x0;_0x1ed854--)(_0x51af0f=_0x59e172[_0x1ed854])&&(_0x50403a=_0x51af0f(_0x50403a)||_0x50403a);return _0x50403a;},lt=(_0x1ddb86,_0x29af49)=>(_0x2ab927,_0x19b66b)=>_0x29af49(_0x2ab927,_0x19b66b,_0x1ddb86);exports[_0x4877c9(0x276)]=class{constructor(_0x4b5ca5,_0x4ecb4f){var _0x4dddbc=_0x4877c9;this[_0x4dddbc(0x401)]=_0x4b5ca5,this[_0x4dddbc(0x30e)]=_0x4ecb4f;}async[_0x4877c9(0x477)](_0x5da4cd,_0x2bef97){var _0x5d0f28=_0x4877c9,_0x55899f;const {unitID:_0x3bf014,type:_0x54e99a,revision:_0x5e55d4=0x0}=_0x2bef97,_0x44ffb8=this[_0x5d0f28(0x336)]()+'/'+_0x54e99a+_0x5d0f28(0x380)+_0x3bf014+'/rev/'+_0x5e55d4,_0x183115=(await this[_0x5d0f28(0x30e)][_0x5d0f28(0x208)](_0x44ffb8))[_0x5d0f28(0x25a)],_0x4aeabe=(_0x55899f=_0x183115[_0x5d0f28(0x205)])==null?void 0x0:_0x55899f['workbook'];if(_0x4aeabe){const _0xc9a1b4=_0x4aeabe==null?void 0x0:_0x4aeabe[_0x5d0f28(0x3c2)],_0x50b9ec=g['textEncoder'][_0x5d0f28(0x43d)](g[_0x5d0f28(0x20c)](_0xc9a1b4));_0x4aeabe['originalMeta']=_0x50b9ec,Object[_0x5d0f28(0x2ce)](_0x4aeabe[_0x5d0f28(0x1a6)])['forEach'](([,_0x5ba964])=>{var _0x59dd58=_0x5d0f28;const _0x252356=_0x5ba964[_0x59dd58(0x3c2)],_0x2476df=g[_0x59dd58(0x2a0)][_0x59dd58(0x43d)](g[_0x59dd58(0x20c)](_0x252356));_0x5ba964[_0x59dd58(0x3c2)]=_0x2476df;});}return _0x183115;}async[_0x4877c9(0x170)](_0x321c18,_0xe45bc1){var _0x4b265e=_0x4877c9;const {unitID:_0x16a058,type:_0x2e0261,blockID:_0x5574c5}=_0xe45bc1,_0x596d9c=this[_0x4b265e(0x45c)]()+'/'+_0x2e0261+_0x4b265e(0x380)+_0x16a058+_0x4b265e(0x43e)+_0x5574c5;return(await this[_0x4b265e(0x30e)][_0x4b265e(0x208)](_0x596d9c))[_0x4b265e(0x25a)];}async[_0x4877c9(0x271)](_0x2431b5,_0x4ccf90){var _0x19ca00=_0x4877c9;const {unitID:_0x230833,type:_0x21ca49,blockID:_0x318cf4}=_0x4ccf90,_0x366101=this['_getAPIPrefix']()+'/block/'+_0x21ca49+_0x19ca00(0x380)+_0x230833+_0x19ca00(0x43e)+_0x318cf4;return(await this[_0x19ca00(0x30e)][_0x19ca00(0x208)](_0x366101))[_0x19ca00(0x25a)];}async[_0x4877c9(0x490)](_0x1c601b,_0x4f5b34){var _0x216a7c=_0x4877c9;const {unitID:_0xd1bcc9,type:_0x16bc6d,from:_0x40e37e,to:_0x2ba690}=_0x4f5b34,_0x10105e=this[_0x216a7c(0x45c)]()+'/'+_0x16bc6d+_0x216a7c(0x380)+_0xd1bcc9+'/fetchmissing?from='+_0x40e37e+'&to='+_0x2ba690;return(await this[_0x216a7c(0x30e)][_0x216a7c(0x208)](_0x10105e))['body'];}['getSnapshotAPIPath'](){var _0x496781=_0x4877c9,_0x2293f4;return(_0x2293f4=this[_0x496781(0x401)][_0x496781(0x1f7)](vt))!=null?_0x2293f4:this[_0x496781(0x45c)]();}[_0x4877c9(0x45c)](){var _0x50bf05=_0x4877c9,_0x1db346,_0x509891;const _0x1efa32=this[_0x50bf05(0x401)][_0x50bf05(0x1f7)](dt),_0x4cf055=this[_0x50bf05(0x401)]['getConfig'](Y);return(_0x509891=(_0x1db346=_0x4cf055==null?void 0x0:_0x4cf055[_0x50bf05(0x325)])!=null?_0x1db346:_0x1efa32)!=null?_0x509891:kt;}async[_0x4877c9(0x43f)](_0x17972b,_0x559db8){var _0x4f83de=_0x4877c9;const _0x8ee9b=_0x4f83de(0x1f4)+_0x559db8['type']+_0x4f83de(0x380)+_0x559db8[_0x4f83de(0x1bd)]+_0x4f83de(0x2b1);return(await this[_0x4f83de(0x30e)][_0x4f83de(0x208)](_0x8ee9b,{'params':{'resourceId':JSON[_0x4f83de(0x481)](_0x559db8[_0x4f83de(0x42b)])}}))[_0x4f83de(0x25a)];}['saveSnapshot'](){var _0x362413=_0x4877c9;throw new Error(_0x362413(0x333));}[_0x4877c9(0x3a8)](){var _0x418e9f=_0x4877c9;throw new Error(_0x418e9f(0x333));}['saveChangeset'](){var _0x354952=_0x4877c9;throw new Error(_0x354952(0x333));}[_0x4877c9(0x318)](){var _0x582e84=_0x4877c9;throw new Error(_0x582e84(0x333));}[_0x4877c9(0x1aa)](){var _0x44041e=_0x4877c9;throw new Error(_0x44041e(0x333));}},exports['SnapshotServerOverHTTPService']=An([lt(0x0,a[_0x4877c9(0x1a9)]),lt(0x1,a[_0x4877c9(0x385)](q[_0x4877c9(0x2bf)]))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0x4877c9(0x2ac)],wn=(_0x1d889d,_0x2b09af,_0x35a1b0,_0x14ec67)=>{var _0x15abb1=_0x4877c9;for(var _0x2ff274=_0x14ec67>0x1?void 0x0:_0x14ec67?Pn(_0x2b09af,_0x35a1b0):_0x2b09af,_0xbeb792=_0x1d889d[_0x15abb1(0x374)]-0x1,_0x413ca6;_0xbeb792>=0x0;_0xbeb792--)(_0x413ca6=_0x1d889d[_0xbeb792])&&(_0x2ff274=_0x413ca6(_0x2ff274)||_0x2ff274);return _0x2ff274;},de=(_0x394bad,_0x3ac392)=>(_0x57e4b1,_0x14b26a)=>_0x3ac392(_0x57e4b1,_0x14b26a,_0x394bad);exports['CollaborativeUndoRedoService']=class extends a['LocalUndoRedoService']{constructor(_0x5c1ddd,_0x26043b,_0x55b8e6,_0x35dc5d,_0x1206f9){super(_0x5c1ddd,_0x26043b,_0x55b8e6),this['_transformService']=_0x35dc5d,this['_logService']=_0x1206f9;}['transformUndoRedo'](_0x4f0e15,_0x1f5ef9){var _0x4e044b=_0x4877c9;const _0x146dca=this[_0x4e044b(0x2f5)](_0x4f0e15);if(_0x146dca)try{const _0x26255a=this[_0x4e044b(0x207)](_0x146dca,_0x1f5ef9);this['_substituteUndoStack'](_0x4f0e15,_0x26255a);}catch(_0x3d165f){this['_logService'][_0x4e044b(0x44d)]('[CollaborationUndoRedoService]',_0x3d165f),this[_0x4e044b(0x311)](_0x4f0e15);}const _0x352bb6=this['_getRedoStack'](_0x4f0e15);if(_0x352bb6)try{const _0x2b2ae8=this['_transformStack'](_0x352bb6,_0x1f5ef9);this[_0x4e044b(0x185)](_0x4f0e15,_0x2b2ae8);}catch(_0xe3aaf3){this[_0x4e044b(0x14f)][_0x4e044b(0x44d)](_0xe3aaf3),this[_0x4e044b(0x42d)](_0x4f0e15);}}[_0x4877c9(0x311)](_0x588bdd){var _0x5a4c16=_0x4877c9;const _0x9fd73c=this['_getUndoStack'](_0x588bdd);_0x9fd73c&&(_0x9fd73c[_0x5a4c16(0x374)]=0x0,this[_0x5a4c16(0x23f)]());}['_clearRedo'](_0x121aa3){var _0x574662=_0x4877c9;const _0x16e57e=this[_0x574662(0x37b)](_0x121aa3);_0x16e57e&&(_0x16e57e[_0x574662(0x374)]=0x0,this[_0x574662(0x23f)]());}['_substituteUndoStack'](_0x4845a0,_0x1c33fe){var _0x3a0daf=_0x4877c9;this[_0x3a0daf(0x13e)][_0x3a0daf(0x2c9)](_0x4845a0,_0x1c33fe),this['_updateStatus']();}['_substituteRedoStack'](_0x1c4048,_0x8cde08){var _0x4f8f2e=_0x4877c9;this[_0x4f8f2e(0x128)][_0x4f8f2e(0x2c9)](_0x1c4048,_0x8cde08),this['_updateStatus']();}['_transformStack'](_0x4283f0,_0x904df2){var _0x22d624=_0x4877c9;const _0x4289f9=[];let _0x1f470e=_0x904df2,_0x131b73=_0x904df2;for(let _0x316702=_0x4283f0[_0x22d624(0x374)]-0x1;_0x316702>=0x0;_0x316702--){const {unitID:_0x3b2e18,undoMutations:_0x4e3691,redoMutations:_0x296d1e}=_0x4283f0[_0x316702],_0x3f190d=this['_transformService'][_0x22d624(0x3d5)](_0x1f470e,_0x4e3691),_0x2dd084=this['_transformService'][_0x22d624(0x3d5)](_0x131b73,_0x296d1e);if(g[_0x22d624(0x479)](_0x3f190d)||g[_0x22d624(0x479)](_0x2dd084)){this[_0x22d624(0x14f)][_0x22d624(0x44d)](_0x22d624(0x33b),_0x22d624(0x294),_0x3f190d,_0x2dd084);break;}_0x1f470e=_0x3f190d[_0x22d624(0x47b)],_0x131b73=_0x2dd084[_0x22d624(0x47b)],_0x4289f9[_0x22d624(0x3f5)]({'unitID':_0x3b2e18,'undoMutations':_0x3f190d[_0x22d624(0x3d1)],'redoMutations':_0x2dd084[_0x22d624(0x3d1)]});}return _0x4289f9[_0x22d624(0x145)]();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x4877c9(0x2ff)]),de(0x1,a[_0x4877c9(0x216)]),de(0x2,a[_0x4877c9(0x31e)]),de(0x3,g[_0x4877c9(0x150)]),de(0x4,a[_0x4877c9(0x445)])],exports[_0x4877c9(0x3a4)]);var Ln=Object[_0x4877c9(0x472)],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x2358ae,_0x245962,_0x25e4b4)=>_0x245962 in _0x2358ae?Ln(_0x2358ae,_0x245962,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25e4b4}):_0x2358ae[_0x245962]=_0x25e4b4,kn=(_0x46d863,_0x3950bd,_0x4a0963,_0xa19050)=>{var _0x5e6152=_0x4877c9;for(var _0x3200bb=_0xa19050>0x1?void 0x0:_0xa19050?Mn(_0x3950bd,_0x4a0963):_0x3950bd,_0x58328f=_0x46d863[_0x5e6152(0x374)]-0x1,_0x29621c;_0x58328f>=0x0;_0x58328f--)(_0x29621c=_0x46d863[_0x58328f])&&(_0x3200bb=_0x29621c(_0x3200bb)||_0x3200bb);return _0x3200bb;},ke=(_0x4b5b48,_0x5ce450)=>(_0x59d4b2,_0x497c2d)=>_0x5ce450(_0x59d4b2,_0x497c2d,_0x4b5b48),Hn=(_0x4fd4e0,_0x61a824,_0x1c884b)=>xn(_0x4fd4e0,_0x61a824+'',_0x1c884b);const jn=_0x4877c9(0x23d);exports[_0x4877c9(0x144)]=class extends a['Plugin']{constructor(_0x404b6c,_0x3e51f3,_0x2b53a3,_0x3fa5e2){var _0x3be29c=_0x4877c9;super(),A(this,'_config'),(this[_0x3be29c(0x14f)]=_0x3e51f3,this[_0x3be29c(0x16d)]=_0x2b53a3,this[_0x3be29c(0x401)]=_0x3fa5e2);const {..._0x368541}=a['merge']({},Jt,_0x404b6c);if(!_0x368541[_0x3be29c(0x3d9)])throw new Error(_0x3be29c(0x237));this[_0x3be29c(0x41f)]=_0x368541,this['_configService'][_0x3be29c(0x1d9)](Y,_0x368541);}[_0x4877c9(0x1ac)](){var _0x5ceac0=_0x4877c9;this[_0x5ceac0(0x3e7)](),this[_0x5ceac0(0x3a9)]();}[_0x4877c9(0x3e7)](){var _0x28708b=_0x4877c9,_0x1a6007,_0x2c3ec8;this[_0x28708b(0x16d)][_0x28708b(0x3ce)](a['IUndoRedoService'])&&this[_0x28708b(0x14f)][_0x28708b(0x44d)]('[UniverCollaborationClientPlugin]',_0x28708b(0x121));const _0x1e234e=a[_0x28708b(0x39e)]([[a['IUndoRedoService'],{'useClass':exports[_0x28708b(0x3a4)]}],[exports[_0x28708b(0x1ca)]],[exports[_0x28708b(0x3f7)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[Ue],[te],[exports[_0x28708b(0x469)]],[$e,{'useClass':this['_config'][_0x28708b(0x3d9)]}],[g[_0x28708b(0x30a)],{'useClass':exports[_0x28708b(0x276)]}],[a[_0x28708b(0x18b)],{'useClass':exports[_0x28708b(0x27b)]}],[J['IImageIoService'],{'useClass':exports[_0x28708b(0x3da)]}],[a[_0x28708b(0x369)],{'useClass':exports[_0x28708b(0x413)]}],[exports[_0x28708b(0x155)]],[He]],(_0x1a6007=this[_0x28708b(0x41f)])==null?void 0x0:_0x1a6007[_0x28708b(0x285)]);if(!((_0x2c3ec8=this[_0x28708b(0x41f)])!=null&&_0x2c3ec8[_0x28708b(0x1dd)])){const _0x1a5896=_0x1e234e['findIndex'](([_0x3eee68])=>_0x3eee68===ve);_0x1a5896!==-0x1&&_0x1e234e[_0x28708b(0x15a)](_0x1a5896,0x1);}a[_0x28708b(0x360)](this['_injector'],_0x1e234e);}[_0x4877c9(0x3a9)](){var _0x5537f5=_0x4877c9,_0x48a77d,_0x5dcddc,_0x4860bb;this['_injector'][_0x5537f5(0x208)](q[_0x5537f5(0x2bf)])[_0x5537f5(0x3c7)]({'priority':0x14,'interceptor':q[_0x5537f5(0x273)]({'maxParallel':0x6})}),(_0x48a77d=this[_0x5537f5(0x41f)])!=null&&_0x48a77d[_0x5537f5(0x3dd)]||(_0x5dcddc=this[_0x5537f5(0x16d)][_0x5537f5(0x208)](z,a['Quantity']['OPTIONAL']))==null||_0x5dcddc[_0x5537f5(0x3c0)](),(_0x4860bb=this[_0x5537f5(0x41f)])!=null&&_0x4860bb[_0x5537f5(0x3f6)]&&a[_0x5537f5(0x214)](this['_injector'],[[ye]]),a[_0x5537f5(0x214)](this['_injector'],[[Ne],[exports[_0x5537f5(0x155)]],[Ue]]);}},Hn(exports[_0x4877c9(0x144)],_0x4877c9(0x19f),jn),exports[_0x4877c9(0x144)]=kn([a[_0x4877c9(0x28d)](g[_0x4877c9(0x13c)],q[_0x4877c9(0x3e8)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),ke(0x3,a[_0x4877c9(0x1a9)])],exports['UniverCollaborationClientPlugin']),exports[_0x4877c9(0x38c)]=Ge,exports[_0x4877c9(0x1b6)]=Y,exports[_0x4877c9(0x16e)]=mt,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports['CollaborationStatus']=Ve,exports[_0x4877c9(0x48a)]=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0x4877c9(0x3b4)]=zt,exports[_0x4877c9(0x30c)]=$t,exports[_0x4877c9(0x1ef)]=pt,exports[_0x4877c9(0x189)]=je,exports[_0x4877c9(0x1f3)]=$e,exports['ILocalCacheService']=z,exports[_0x4877c9(0x33e)]=bt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Gt,exports[_0x4877c9(0x393)]=Wt,exports[_0x4877c9(0x307)]=Et,exports[_0x4877c9(0x2d6)]=qt,exports[_0x4877c9(0x387)]=It,exports[_0x4877c9(0x28e)]=Ht,exports[_0x4877c9(0x2d9)]=dt,exports[_0x4877c9(0x2c4)]=vt,exports[_0x4877c9(0x2cd)]=se,exports[_0x4877c9(0x2bc)]=Fe,exports[_0x4877c9(0x11c)]=Rt,exports[_0x4877c9(0x153)]=vi,exports['serializeCombRequest']=Ot;