@univerjs-pro/collaboration-client 0.6.7-experimental.20250326-6499c07 → 0.6.7-experimental.20250328-3aaa828

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x4ddb2a=_0x5161;(function(_0x740fa2,_0x1073cb){var _0x209e9b=_0x5161,_0x2ba2af=_0x740fa2();while(!![]){try{var _0x1ae381=parseInt(_0x209e9b(0x193))/0x1+parseInt(_0x209e9b(0x27e))/0x2+-parseInt(_0x209e9b(0x2eb))/0x3*(-parseInt(_0x209e9b(0x129))/0x4)+parseInt(_0x209e9b(0x19e))/0x5+parseInt(_0x209e9b(0x394))/0x6*(parseInt(_0x209e9b(0x1ad))/0x7)+parseInt(_0x209e9b(0x234))/0x8*(-parseInt(_0x209e9b(0x1d3))/0x9)+-parseInt(_0x209e9b(0x2de))/0xa;if(_0x1ae381===_0x1073cb)break;else _0x2ba2af['push'](_0x2ba2af['shift']());}catch(_0x33bdd9){_0x2ba2af['push'](_0x2ba2af['shift']());}}}(_0x3750,0x39083));var Ai=Object[_0x4ddb2a(0x331)],Pi=(_0x35f217,_0x5a37ce,_0x37948e)=>_0x5a37ce in _0x35f217?Ai(_0x35f217,_0x5a37ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37948e}):_0x35f217[_0x5a37ce]=_0x37948e,N=(_0x46bf85,_0xde9381,_0x5b899f)=>Pi(_0x46bf85,typeof _0xde9381!='symbol'?_0xde9381+'':_0xde9381,_0x5b899f);import{createIdentifier as _0x57e9aa,Inject as _0x50ea96,Injector as _0x1c360b,IConfigService as _0x249369,ILogService as _0x4b6873,Disposable as _0x205f17,DisposableCollection as _0x90b168,toDisposable as _0x1b9cae,IUniverInstanceService as _0x42df50,UserManagerService as _0x2a6337,UniverInstanceType as _0x4eef2e,LocaleService as _0x292edd,Optional as _0x249c72,RxDisposable as _0x2d90bb,Tools as _0x44cea8,Rectangle as _0x32504c,ICommandService as _0x3bba81,JSONX as _0x148635,CommandType as _0x37289a,IUndoRedoService as _0x52e072,IPermissionService as _0x1c4592,sequenceExecute as _0xdd3158,Workbook as _0x55a7f7,MentionType as _0x2e9d94,isInternalEditorID as _0x48ebcf,LocalUndoRedoService as _0x41466a,IContextService as _0x247091,DependentOn as _0x507f29,Plugin as _0x26398a,merge as _0x382be0,mergeOverrideWithDependencies as _0x5a2e2d,IAuthzIoService as _0x1fd645,IMentionIOService as _0x66c976,registerDependencies as _0x5e6949,Quantity as _0x4c5f4f,touchDependencies as _0x5eb3c5}from'@univerjs/core';import{Subject as _0x2253ac,merge as _0x1647c2,of as _0x24adb5,BehaviorSubject as _0x447c42,takeUntil as _0x3fee66,ReplaySubject as _0x50feae,take as _0xc60831,map as _0x13a6ca,shareReplay as _0xa99ad4,firstValueFrom as _0x382eb9,concatMap as _0x4121a0}from'rxjs';import{map as _0x1f6c6b,take as _0x23d58a,filter as _0x3f7eea,delay as _0xdd6934,takeUntil as _0x1153bd}from'rxjs/operators';import{CollaborationEvent as _0xe78c14,ISnapshotServerService as _0x33b622,parseChangesetToProtocol as _0x582345,ITransformService as _0x4d0f68,isTransformMutationsWithChangesetSuccess as _0x15c642,mapDocumentTypeToUniverType as _0xcff311,RevisionService as _0x8d4db7,isTransformChangesetsSuccess as _0x592586,CompressMutationService as _0x23cb2d,parseProtocolChangeset as _0x46c0bf,SnapshotService as _0x121b03,textEncoder as _0x2b2967,b64DecodeUnicode as _0x377209,isTransformMutationsWithChangesetFailure as _0x4f74b4,UniverCollaborationPlugin as _0x29b859}from'@univerjs-pro/collaboration';import{HTTPService as _0x1872c5,ISocketService as _0x3d7211,MergeInterceptorFactory as _0x563612,HTTPRequest as _0x1187a2,UniverNetworkPlugin as _0x1ff4ab,ThresholdInterceptorFactory as _0x510191}from'@univerjs/network';import{ITelemetryService as _0x50f4db}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1b20ba}from'@univerjs/docs';import{SheetsSelectionsService as _0x247ea7,SetSelectionsOperation as _0x5b140b,InsertSheetMutation as _0x157b4e,EmptyMutation as _0x24c1b5,WorkbookEditablePermission as _0x1fcbaa,SheetPermissionInitController as _0xeb5e84}from'@univerjs/sheets';import{ImageSourceType as _0x4cc3a8,ImageUploadStatusType as _0xe0f2f2,IImageIoService as _0x440a38}from'@univerjs/drawing';import{getGlobalObject as _0x1c2133}from'@univerjs-pro/license';const mn=_0x4ddb2a(0x1a4),gn=_0x4ddb2a(0x293),Sn=_0x4ddb2a(0xf8),xs=_0x4ddb2a(0x1f3),En=0x7d0,In=_0x4ddb2a(0x290),Tn=_0x4ddb2a(0x18e),Ls='/universer-api/user/session-ticket',Cn=_0x4ddb2a(0x27c),Rn=0x7530,mi=_0x4ddb2a(0x313),gi=0x4e20,bn=0x4e20,yn='RETRY_CONNECTING_MAX_COUNT',On=0x3,Ms='LOCAL_CACHE_INTERVAL',ks=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x4ddb2a(0x268),Un=_0x4ddb2a(0x2ff),wn='/universer-api/oidc/authpage',$s=_0x4ddb2a(0x362),Hs=_0x4ddb2a(0x21a);var Si=(_0x3d4339=>(_0x3d4339[_0x3d4339[_0x4ddb2a(0x186)]=0x0]='UNDEFINED',_0x3d4339[_0x3d4339['OK']=0x1]='OK',_0x3d4339[_0x3d4339[_0x4ddb2a(0x24e)]=0x2]=_0x4ddb2a(0x24e),_0x3d4339[_0x3d4339[_0x4ddb2a(0x304)]=0x3]=_0x4ddb2a(0x304),_0x3d4339[_0x3d4339[_0x4ddb2a(0x10b)]=0x4]=_0x4ddb2a(0x10b),_0x3d4339[_0x3d4339[_0x4ddb2a(0x364)]=0x5]=_0x4ddb2a(0x364),_0x3d4339[_0x3d4339[_0x4ddb2a(0x30f)]=0x6]=_0x4ddb2a(0x30f),_0x3d4339[_0x3d4339[_0x4ddb2a(0x138)]=0x7]=_0x4ddb2a(0x138),_0x3d4339[_0x3d4339[_0x4ddb2a(0xef)]=0x8]='TOO_MANY_REQUESTS',_0x3d4339[_0x3d4339['COMPLETION_FINISHED']=0x9]=_0x4ddb2a(0x252),_0x3d4339[_0x3d4339['LOGIN_FAILED']=0xa]=_0x4ddb2a(0xe0),_0x3d4339[_0x3d4339[_0x4ddb2a(0x205)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3d4339[_0x3d4339[_0x4ddb2a(0xa6)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3d4339[_0x3d4339[_0x4ddb2a(0x350)]=0x1772]=_0x4ddb2a(0x350),_0x3d4339[_0x3d4339[_0x4ddb2a(0x38d)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3d4339[_0x3d4339[_0x4ddb2a(0x2c2)]=0x1b59]='APPLY_REJECT',_0x3d4339[_0x3d4339[_0x4ddb2a(0x311)]=0x1b5a]=_0x4ddb2a(0x311),_0x3d4339[_0x3d4339['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4ddb2a(0x2cd),_0x3d4339[_0x3d4339[_0x4ddb2a(0x233)]=0x1b5c]=_0x4ddb2a(0x233),_0x3d4339[_0x3d4339[_0x4ddb2a(0x20a)]=0x1b5d]=_0x4ddb2a(0x20a),_0x3d4339[_0x3d4339[_0x4ddb2a(0x14b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3d4339[_0x3d4339['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4ddb2a(0x29f),_0x3d4339[_0x3d4339[_0x4ddb2a(0x39d)]=0x232a]=_0x4ddb2a(0x39d),_0x3d4339[_0x3d4339[_0x4ddb2a(0xc5)]=0x232b]=_0x4ddb2a(0xc5),_0x3d4339[_0x3d4339[_0x4ddb2a(0x1c4)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3d4339[_0x3d4339['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4ddb2a(0x22b),_0x3d4339[_0x3d4339['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4ddb2a(0x15c),_0x3d4339[_0x3d4339[_0x4ddb2a(0x296)]=0x2712]=_0x4ddb2a(0x296),_0x3d4339[_0x3d4339[_0x4ddb2a(0x15a)]=0x2713]=_0x4ddb2a(0x15a),_0x3d4339[_0x3d4339[_0x4ddb2a(0x1a8)]=0x2714]=_0x4ddb2a(0x1a8),_0x3d4339[_0x3d4339['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4ddb2a(0x32a),_0x3d4339[_0x3d4339[_0x4ddb2a(0x392)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3d4339[_0x3d4339[_0x4ddb2a(0x1aa)]=0x2ee2]=_0x4ddb2a(0x1aa),_0x3d4339[_0x3d4339[_0x4ddb2a(0x140)]=0x2ee3]=_0x4ddb2a(0x140),_0x3d4339[_0x3d4339[_0x4ddb2a(0x117)]=0x2ee4]=_0x4ddb2a(0x117),_0x3d4339[_0x3d4339[_0x4ddb2a(0x10a)]=0x2ee5]=_0x4ddb2a(0x10a),_0x3d4339[_0x3d4339[_0x4ddb2a(0x2ef)]=-0x1]=_0x4ddb2a(0x2ef),_0x3d4339))(Si||{}),Q=(_0x48e1cc=>(_0x48e1cc[_0x48e1cc[_0x4ddb2a(0x14c)]=0x0]=_0x4ddb2a(0x14c),_0x48e1cc[_0x48e1cc[_0x4ddb2a(0x200)]=0x1]='UNIVER_DOC',_0x48e1cc[_0x48e1cc[_0x4ddb2a(0x30c)]=0x2]=_0x4ddb2a(0x30c),_0x48e1cc[_0x48e1cc[_0x4ddb2a(0x37c)]=0x3]=_0x4ddb2a(0x37c),_0x48e1cc[_0x48e1cc[_0x4ddb2a(0x1b9)]=0x4]='UNIVER_PROJECT',_0x48e1cc[_0x48e1cc[_0x4ddb2a(0x2ef)]=-0x1]=_0x4ddb2a(0x2ef),_0x48e1cc))(Q||{}),F=(_0x3ab434=>(_0x3ab434[_0x3ab434[_0x4ddb2a(0x384)]=0x0]='UNKNOWN_CMD',_0x3ab434[_0x3ab434[_0x4ddb2a(0xee)]=0x1]='HELLO',_0x3ab434[_0x3ab434[_0x4ddb2a(0x36b)]=0x2]=_0x4ddb2a(0x36b),_0x3ab434[_0x3ab434[_0x4ddb2a(0x12d)]=0x3]=_0x4ddb2a(0x12d),_0x3ab434[_0x3ab434[_0x4ddb2a(0x1bc)]=0x4]=_0x4ddb2a(0x1bc),_0x3ab434[_0x3ab434[_0x4ddb2a(0x25f)]=0x5]='HEARTBEAT',_0x3ab434[_0x3ab434['RECV']=0x6]=_0x4ddb2a(0x2bf),_0x3ab434[_0x3ab434[_0x4ddb2a(0x2ef)]=-0x1]='UNRECOGNIZED',_0x3ab434))(F||{}),ge=(_0xb89f6b=>(_0xb89f6b[_0xb89f6b['UNKNOWN_CODE']=0x0]=_0x4ddb2a(0xba),_0xb89f6b[_0xb89f6b['OK']=0x1]='OK',_0xb89f6b[_0xb89f6b[_0x4ddb2a(0x2b5)]=0x2]=_0x4ddb2a(0x2b5),_0xb89f6b[_0xb89f6b[_0x4ddb2a(0x13d)]=0x3e9]=_0x4ddb2a(0x13d),_0xb89f6b[_0xb89f6b[_0x4ddb2a(0x2da)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0xb89f6b[_0xb89f6b[_0x4ddb2a(0x14a)]=0x3eb]=_0x4ddb2a(0x14a),_0xb89f6b[_0xb89f6b[_0x4ddb2a(0x380)]=0x3ec]=_0x4ddb2a(0x380),_0xb89f6b[_0xb89f6b[_0x4ddb2a(0x2ef)]=-0x1]=_0x4ddb2a(0x2ef),_0xb89f6b))(ge||{}),Ei=(_0x42c544=>(_0x42c544[_0x42c544['Undefined']=0x0]=_0x4ddb2a(0x23e),_0x42c544[_0x42c544['HttpImport']=0x1]=_0x4ddb2a(0xa3),_0x42c544[_0x42c544[_0x4ddb2a(0x1f0)]=0x2]='HttpExport',_0x42c544[_0x42c544[_0x4ddb2a(0xa2)]=0x3]='UnitEmbedded',_0x42c544[_0x42c544[_0x4ddb2a(0x164)]=0x4]=_0x4ddb2a(0x164),_0x42c544[_0x42c544['UNRECOGNIZED']=-0x1]=_0x4ddb2a(0x2ef),_0x42c544))(Ei||{});const q=_0x4ddb2a(0x156),An={};var se=(_0x1c8339=>(_0x1c8339[_0x4ddb2a(0x1e6)]=_0x4ddb2a(0x1e6),_0x1c8339[_0x4ddb2a(0x304)]=_0x4ddb2a(0x304),_0x1c8339[_0x4ddb2a(0x158)]=_0x4ddb2a(0x158),_0x1c8339['CLOSE_ROOM']=_0x4ddb2a(0x10e),_0x1c8339['JOIN_ROOM_FAILED']=_0x4ddb2a(0x1dc),_0x1c8339[_0x4ddb2a(0x2ba)]=_0x4ddb2a(0x2ba),_0x1c8339[_0x4ddb2a(0x35a)]=_0x4ddb2a(0x35a),_0x1c8339['SUBMIT_CHANGESET_TIMEOUT']=_0x4ddb2a(0x23a),_0x1c8339))(se||{});class pe{constructor(){var _0x3de383=_0x4ddb2a;N(this,_0x3de383(0x2fd),new _0x2253ac()),N(this,'event$',this[_0x3de383(0x2fd)][_0x3de383(0xd0)]());}[_0x4ddb2a(0x155)](_0x2aa4e0){var _0x41ecec=_0x4ddb2a;this[_0x41ecec(0x2fd)][_0x41ecec(0x1be)](_0x2aa4e0);}}const Pn=_0x57e9aa(_0x4ddb2a(0x26b));function xn(_0x1a1554){var _0x3a0284=_0x4ddb2a,_0x499de6,_0x555140,_0x21586a,_0x45aba6,_0x4cceb0;const _0x446b15=_0x1a1554[_0x3a0284(0x207)],_0x3abe3f=JSON[_0x3a0284(0xe7)](_0x446b15);switch(_0x3abe3f['cmd']){case F['HEARTBEAT']:case F[_0x3a0284(0xee)]:{const _0x289109=_0x3abe3f['infoRsp'];return{..._0x3abe3f,'data':_0x289109,'cmd':_0x3abe3f[_0x3a0284(0x124)]};}case F[_0x3a0284(0x36b)]:{const _0x48cf13=_0x3abe3f[_0x3a0284(0x2d9)];return{..._0x3abe3f,'data':_0x48cf13,'cmd':_0x3abe3f[_0x3a0284(0x124)]};}case F[_0x3a0284(0x2bf)]:{const _0x1b7c6a=_0x3abe3f[_0x3a0284(0x120)];switch(_0x1b7c6a[_0x3a0284(0xb8)]){case _0xe78c14[_0x3a0284(0x2e5)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':(_0x499de6=_0x1b7c6a[_0x3a0284(0x213)])==null?void 0x0:_0x499de6['cs']},'cmd':_0x3abe3f['cmd']};case _0xe78c14['CHANGESET_ACK']:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':(_0x555140=_0x1b7c6a[_0x3a0284(0x357)])==null?void 0x0:_0x555140['cs']},'cmd':_0x3abe3f[_0x3a0284(0x124)]};case _0xe78c14[_0x3a0284(0x36d)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':(_0x21586a=_0x1b7c6a[_0x3a0284(0x14d)])==null?void 0x0:_0x21586a['cs']},'cmd':_0x3abe3f['cmd']};case _0xe78c14[_0x3a0284(0x143)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':(_0x45aba6=_0x1b7c6a['csRejEvent'])==null?void 0x0:_0x45aba6['cs']},'cmd':_0x3abe3f['cmd']};case _0xe78c14[_0x3a0284(0x249)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':(_0x4cceb0=_0x1b7c6a[_0x3a0284(0x298)])==null?void 0x0:_0x4cceb0['cs']},'cmd':_0x3abe3f[_0x3a0284(0x124)]};case _0xe78c14[_0x3a0284(0x376)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':_0x1b7c6a[_0x3a0284(0x173)]},'cmd':_0x3abe3f[_0x3a0284(0x124)]};case _0xe78c14[_0x3a0284(0x28c)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':_0x1b7c6a['joinEvent']},'cmd':_0x3abe3f['cmd']};case _0xe78c14[_0x3a0284(0x12b)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':_0x1b7c6a[_0x3a0284(0xf9)]},'cmd':_0x3abe3f[_0x3a0284(0x124)]};case _0xe78c14[_0x3a0284(0x177)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':_0x1b7c6a['liveShareNewHost']},'cmd':_0x3abe3f[_0x3a0284(0x124)]};case _0xe78c14[_0x3a0284(0x17c)]:case _0xe78c14['LIVESHARE_OPERATION']:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':_0x1b7c6a[_0x3a0284(0x197)]},'cmd':_0x3abe3f[_0x3a0284(0x124)]};case _0xe78c14[_0x3a0284(0x169)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':_0x1b7c6a[_0x3a0284(0x136)]},'cmd':_0x3abe3f['cmd']};case _0xe78c14[_0x3a0284(0x20f)]:return{..._0x3abe3f,'data':_0x1b7c6a,'cmd':_0x3abe3f[_0x3a0284(0x124)]};case _0xe78c14[_0x3a0284(0xd6)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':_0x1b7c6a[_0x3a0284(0x13f)]},'cmd':_0x3abe3f[_0x3a0284(0x124)]};case _0xe78c14[_0x3a0284(0x19b)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':_0x1b7c6a[_0x3a0284(0x33e)]},'cmd':_0x3abe3f[_0x3a0284(0x124)]};case _0xe78c14[_0x3a0284(0xaa)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':_0x1b7c6a[_0x3a0284(0x1ac)]},'cmd':_0x3abe3f[_0x3a0284(0x124)]};case _0xe78c14[_0x3a0284(0xf5)]:return{..._0x3abe3f,'data':{..._0x1b7c6a,'data':_0x1b7c6a[_0x3a0284(0x361)]},'cmd':_0x3abe3f['cmd']};default:return _0x3abe3f;}}default:return _0x3abe3f;}}function Ln(_0x5549af){var _0x333191=_0x4ddb2a;switch(_0x5549af[_0x333191(0x124)]){case F[_0x333191(0x25f)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x5549af[_0x333191(0x124)],'routeKey':_0x5549af[_0x333191(0x39c)]});case F[_0x333191(0x1bc)]:{let _0x9244db;switch(_0x5549af['data']['eventID']){case _0xe78c14[_0x333191(0x376)]:{_0x9244db={'eventID':_0xe78c14['UPDATE_CURSOR'],'updateCursorEvent':_0x5549af[_0x333191(0x207)][_0x333191(0x207)]};break;}case _0xe78c14['USERS_LEAVE']:{_0x9244db={'eventID':_0xe78c14[_0x333191(0x12b)],'leaveEvent':_0x5549af[_0x333191(0x207)][_0x333191(0x207)]};break;}case _0xe78c14[_0x333191(0x28c)]:{_0x9244db={'eventID':_0xe78c14[_0x333191(0x28c)],'joinEvent':_0x5549af['data'][_0x333191(0x207)]};break;}case _0xe78c14[_0x333191(0x177)]:{_0x9244db={'eventID':_0xe78c14[_0x333191(0x177)],'liveShareNewHost':_0x5549af[_0x333191(0x207)][_0x333191(0x207)]};break;}case _0xe78c14[_0x333191(0xc1)]:{_0x9244db={'eventID':_0xe78c14[_0x333191(0xc1)],'liveShareOperation':_0x5549af[_0x333191(0x207)][_0x333191(0x207)]};break;}case _0xe78c14['LIVESHARE_TERMINATE']:{_0x9244db={'eventID':_0xe78c14[_0x333191(0x169)],'liveShareTerminate':_0x5549af[_0x333191(0x207)][_0x333191(0x207)]};break;}case _0xe78c14[_0x333191(0x1b6)]:{_0x9244db={'eventID':_0xe78c14[_0x333191(0x1b6)],'liveShareRequestHost':_0x5549af[_0x333191(0x207)][_0x333191(0x207)]};break;}case _0xe78c14[_0x333191(0x17c)]:{_0x9244db={'eventID':_0xe78c14[_0x333191(0x17c)]};break;}default:_0x9244db={'eventID':_0x5549af[_0x333191(0x207)][_0x333191(0xb8)]};}return JSON[_0x333191(0x162)]({'cmd':_0x5549af[_0x333191(0x124)],'routeKey':_0x5549af['routeKey'],'collaMsg':_0x9244db});}case F[_0x333191(0x36b)]:return JSON[_0x333191(0x162)]({'cmd':_0x5549af[_0x333191(0x124)],'routeKey':_0x5549af[_0x333191(0x39c)],'joinReq':_0x5549af[_0x333191(0x207)]});case F[_0x333191(0x12d)]:return JSON['stringify']({'cmd':_0x5549af[_0x333191(0x124)],'routeKey':_0x5549af[_0x333191(0x39c)],'leaveReq':_0x5549af['data']});default:throw new Error(_0x333191(0x285));}}var Mn=Object[_0x4ddb2a(0x1d0)],kn=(_0x21262c,_0x38d9f1,_0x1f259a,_0x5d5266)=>{for(var _0x1324b1=_0x5d5266>0x1?void 0x0:_0x5d5266?Mn(_0x38d9f1,_0x1f259a):_0x38d9f1,_0x5100c5=_0x21262c['length']-0x1,_0x193642;_0x5100c5>=0x0;_0x5100c5--)(_0x193642=_0x21262c[_0x5100c5])&&(_0x1324b1=_0x193642(_0x1324b1)||_0x1324b1);return _0x1324b1;},we=(_0xc4e62e,_0x2d18a5)=>(_0x10d13d,_0x319a2e)=>_0x2d18a5(_0x10d13d,_0x319a2e,_0xc4e62e);const Ii=_0x57e9aa('univer-pro.collaboration-client-socket-service');function $n(_0x39a359,_0x37e9c6,_0x2e4426){var _0x3fd7cc=_0x4ddb2a;return _0x39a359+'/'+_0x37e9c6+_0x3fd7cc(0x359)+_0x2e4426+'/new_changes';}let Gt=class extends _0x205f17{constructor(_0x293f59,_0x52a586,_0x58e0ee,_0x39f95e,_0x5290e8){var _0x4b8ff7=_0x4ddb2a;super(),this[_0x4b8ff7(0x351)]=_0x293f59,this[_0x4b8ff7(0x1af)]=_0x52a586,this[_0x4b8ff7(0x191)]=_0x58e0ee,this[_0x4b8ff7(0x23d)]=_0x39f95e,this[_0x4b8ff7(0x28e)]=_0x5290e8;}['_doCreateSocket'](_0x2e38ce){var _0x28ac25=_0x4ddb2a;const _0x294945=this[_0x28ac25(0x351)][_0x28ac25(0x31e)](_0x3d7211);if(!_0x294945)throw new Error(_0x28ac25(0xfa));const _0x2fb348=_0x294945[_0x28ac25(0x375)](_0x2e38ce);if(!_0x2fb348)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x27dc17=new _0x90b168(),_0x4c2f0a=new _0x2253ac();_0x27dc17[_0x28ac25(0x170)](_0x2fb348['close$']['subscribe'](_0xd5c6df=>_0x4c2f0a[_0x28ac25(0x1be)](_0xd5c6df))),_0x27dc17[_0x28ac25(0x170)](_0x1b9cae(()=>_0x4c2f0a[_0x28ac25(0x116)]()));const _0x5cb96c=new _0x2253ac();_0x27dc17[_0x28ac25(0x170)](_0x2fb348[_0x28ac25(0x26a)][_0x28ac25(0x182)](_0x428fc1=>_0x5cb96c[_0x28ac25(0x1be)](_0x428fc1))),_0x27dc17[_0x28ac25(0x170)](_0x1b9cae(()=>_0x5cb96c[_0x28ac25(0x116)]()));const _0x45b0b2=new _0x2253ac();_0x27dc17[_0x28ac25(0x170)](_0x2fb348[_0x28ac25(0x31f)][_0x28ac25(0x182)](_0x4d8d9f=>{var _0x3ef506=_0x28ac25;const _0x53a349=xn(_0x4d8d9f);_0x45b0b2[_0x3ef506(0x1be)](_0x53a349);})),_0x27dc17['add'](_0x1b9cae(()=>_0x45b0b2[_0x28ac25(0x116)]()));let _0x2e1323;const _0x5a50ff=()=>{var _0x2e24da=_0x28ac25;_0x5cb96c['next'](new Event(_0x2e24da(0x21b))),_0x4c2f0a[_0x2e24da(0x1be)](new Event('connection\x20error')),_0x2e1323[_0x2e24da(0xb7)]();};return _0x2e1323={'memberID':'','close$':_0x4c2f0a[_0x28ac25(0xd0)](),'error$':_0x5cb96c['asObservable'](),'open$':_0x2fb348['open$'],'message$':_0x45b0b2[_0x28ac25(0xd0)](),'send':_0x4bdee6=>{var _0x358b18=_0x28ac25;if(_0x4bdee6['cmd']===F['INGEST']){if(_0x4bdee6[_0x358b18(0x207)][_0x358b18(0xb8)]===_0xe78c14[_0x358b18(0x2f9)]){this[_0x358b18(0x2d1)](_0x2e1323,_0x4bdee6[_0x358b18(0x207)])[_0x358b18(0xaf)](_0xb35f14=>{var _0x394390=_0x358b18;this[_0x394390(0x23d)][_0x394390(0x211)](_0xb35f14),_0x5a50ff();});return;}if(_0x4bdee6['data'][_0x358b18(0xb8)]===_0xe78c14[_0x358b18(0x1bd)]){const _0x22e484=_0x4bdee6[_0x358b18(0x207)];this[_0x358b18(0x2a7)](_0x22e484)['then'](_0x3a0ae5=>{var _0x102c88=_0x358b18;_0x45b0b2[_0x102c88(0x1be)]({'cmd':F[_0x102c88(0x2bf)],'code':ge['OK'],'routeKey':_0x22e484['data'][_0x102c88(0x287)],'routeType':'','data':{'eventID':_0xe78c14[_0x102c88(0x1df)],'data':{'changesets':_0x3a0ae5}}});})[_0x358b18(0xaf)](_0x11ae5b=>{var _0x77c895=_0x358b18;this[_0x77c895(0x23d)][_0x77c895(0x211)](_0x11ae5b),_0x5a50ff();});return;}}_0x2fb348[_0x358b18(0xf4)](Ln(_0x4bdee6));},'close':()=>{var _0x205807=_0x28ac25;_0x2fb348[_0x205807(0xb7)](),_0x27dc17['dispose']();}},_0x2e1323;}async[_0x4ddb2a(0x2d1)](_0x5cc8f2,_0x4891c4){var _0x5d1037=_0x4ddb2a,_0x2afcfb,_0x2ff992;const {unitType:_0x2387d8,unitID:_0x390495,changeset:_0x1b20e0}=_0x4891c4['data'],_0x22337b={'unitID':_0x390495,'memberID':_0x5cc8f2['memberID'],'type':_0x2387d8,'changeset':_0x582345(_0x1b20e0)},_0x3ddfd0=this[_0x5d1037(0x191)][_0x5d1037(0x127)](Nn),_0x6d2326=this[_0x5d1037(0x191)][_0x5d1037(0x127)](q),_0x4b2af0=$n((_0x2ff992=(_0x2afcfb=_0x6d2326==null?void 0x0:_0x6d2326[_0x5d1037(0x303)])!=null?_0x2afcfb:_0x3ddfd0)!=null?_0x2ff992:Dn,_0x2387d8,_0x390495);try{await this['_httpService'][_0x5d1037(0x1cf)](_0x4b2af0,{'body':_0x22337b});}catch(_0x4cafb5){throw this[_0x5d1037(0x23d)][_0x5d1037(0x211)](_0x5d1037(0xf2),'submit\x20changeset\x20error!'),_0x4cafb5;}}async[_0x4ddb2a(0x2a7)](_0x1cede4){var _0x5454e5=_0x4ddb2a;const {unitID:_0x40c286,from:_0x17cb13,to:_0x1c34f3,unitType:_0x4cacae}=_0x1cede4[_0x5454e5(0x207)];return(await this[_0x5454e5(0x28e)][_0x5454e5(0x266)]({'metadata':void 0x0},{'unitID':_0x40c286,'type':_0x4cacae,'from':_0x17cb13,'to':_0x1c34f3}))['changesets'];}};Gt=kn([we(0x0,_0x50ea96(_0x1c360b)),we(0x1,_0x50ea96(_0x1872c5)),we(0x2,_0x249369),we(0x3,_0x4b6873),we(0x4,_0x33b622)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x1060e8){var _0x3b183d=_0x4ddb2a;return JSON['stringify'](_0x1060e8)[_0x3b183d(0x108)];}class Ti{constructor(){var _0x43c6d8=_0x4ddb2a;N(this,_0x43c6d8(0x2cb),new _0x2253ac()),N(this,'commentUpdate$',this[_0x43c6d8(0x2cb)][_0x43c6d8(0xd0)]());}[_0x4ddb2a(0x243)](_0x1ce22a){var _0x106827=_0x4ddb2a;this['_commentUpdate$'][_0x106827(0x1be)](_0x1ce22a);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x493c8f,_0x18e7aa,_0x32355b,_0x3a29a0)=>{var _0x540ab4=_0x4ddb2a;for(var _0x4a173d=_0x3a29a0>0x1?void 0x0:_0x3a29a0?jn(_0x18e7aa,_0x32355b):_0x18e7aa,_0xae713f=_0x493c8f[_0x540ab4(0x108)]-0x1,_0x184a15;_0xae713f>=0x0;_0xae713f--)(_0x184a15=_0x493c8f[_0xae713f])&&(_0x4a173d=_0x184a15(_0x4a173d)||_0x4a173d);return _0x4a173d;},Wt=(_0x4c91d5,_0x4844b0)=>(_0x25beb1,_0x2d647e)=>_0x4844b0(_0x25beb1,_0x2d647e,_0x4c91d5);let xe=class extends _0x205f17{constructor(_0x218b97,_0x2d0329){var _0xf96c00=_0x4ddb2a;super(),N(this,_0xf96c00(0x147),new Map()),N(this,_0xf96c00(0xc3),new _0x2253ac()),(this[_0xf96c00(0x1f8)]=_0x218b97,this[_0xf96c00(0x25d)]=_0x2d0329,this['disposeWithMe'](_0x1647c2(this[_0xf96c00(0x1f8)][_0xf96c00(0x235)](_0x4eef2e[_0xf96c00(0x30c)])['pipe'](_0x1f6c6b(_0x379ace=>_0x379ace[_0xf96c00(0xa8)]())),this['_univerInstanceService'][_0xf96c00(0x235)](_0x4eef2e['UNIVER_DOC'])[_0xf96c00(0x2ec)](_0x1f6c6b(_0xe79743=>_0xe79743[_0xf96c00(0xa8)]())),this[_0xf96c00(0x1f8)][_0xf96c00(0x235)](_0x4eef2e['UNIVER_SLIDE'])[_0xf96c00(0x2ec)](_0x1f6c6b(_0x296cfa=>_0x296cfa[_0xf96c00(0xa8)]())))[_0xf96c00(0x182)](_0x4fb953=>this['_removeRoom'](_0x4fb953))));}[_0x4ddb2a(0x2ee)](_0xf4af62){var _0x11a353=_0x4ddb2a;return this[_0x11a353(0x147)][_0x11a353(0x1e7)](_0xf4af62)?_0x24adb5(this[_0x11a353(0x147)][_0x11a353(0x31e)](_0xf4af62)):this[_0x11a353(0xc3)]['pipe'](_0x1f6c6b(_0x2a677e=>{var _0x848a86=_0x11a353;if(_0x2a677e===_0xf4af62)return this[_0x848a86(0x147)][_0x848a86(0x31e)](_0x2a677e);}));}[_0x4ddb2a(0x2a5)](_0x1480dd){var _0x2aa9a1=_0x4ddb2a;this[_0x2aa9a1(0x25d)][_0x2aa9a1(0x2a5)](_0x1480dd);}[_0x4ddb2a(0xb0)](){var _0x4f4718=_0x4ddb2a;return this[_0x4f4718(0x25d)]['getCurrentUser']();}['updateMember'](_0x2888f3,_0x4b03d0){var _0xc6aa6b=_0x4ddb2a;let _0x5467a6=this['_roomMembers'][_0xc6aa6b(0x31e)](_0x2888f3);_0x5467a6||(_0x5467a6=new Vn(),this[_0xc6aa6b(0x147)][_0xc6aa6b(0x201)](_0x2888f3,_0x5467a6),this['_roomCreated$'][_0xc6aa6b(0x1be)](_0x2888f3)),_0x5467a6['updateMember'](_0x4b03d0);}[_0x4ddb2a(0x208)](_0x24e196,_0x5e05b2){var _0x2682bf=_0x4ddb2a;const _0x427295=this[_0x2682bf(0x147)][_0x2682bf(0x31e)](_0x24e196);_0x427295&&_0x427295[_0x2682bf(0x208)](_0x5e05b2);}[_0x4ddb2a(0x332)](_0x34c012){var _0x39916a=_0x4ddb2a;return this['_roomMembers'][_0x39916a(0x31e)](_0x34c012);}[_0x4ddb2a(0x33d)](_0x4a1550,_0x50191c){var _0x3ff6c9=_0x4ddb2a;const _0x5bde6b=this[_0x3ff6c9(0x147)][_0x3ff6c9(0x31e)](_0x4a1550);if(_0x5bde6b)return _0x5bde6b['getMember'](_0x50191c);}[_0x4ddb2a(0x1ef)](_0x48f37f){var _0x4e4516=_0x4ddb2a;const _0x4bc7a0=this[_0x4e4516(0x147)]['get'](_0x48f37f);_0x4bc7a0&&(_0x4bc7a0[_0x4e4516(0x385)](),this[_0x4e4516(0x147)][_0x4e4516(0x13b)](_0x48f37f));}[_0x4ddb2a(0x385)](){var _0x2d2147=_0x4ddb2a;this[_0x2d2147(0x147)]['forEach'](_0x1850dc=>_0x1850dc[_0x2d2147(0x385)]()),this[_0x2d2147(0x147)][_0x2d2147(0x2ac)](),this[_0x2d2147(0xc3)]['complete']();}};xe=Fn([Wt(0x0,_0x42df50),Wt(0x1,_0x50ea96(_0x2a6337))],xe);class Vn extends _0x205f17{constructor(){var _0x45b7dd=_0x4ddb2a;super(...arguments),N(this,'_members',new Map()),N(this,_0x45b7dd(0xdf),new _0x447c42(this[_0x45b7dd(0x388)])),N(this,_0x45b7dd(0x152),this[_0x45b7dd(0xdf)][_0x45b7dd(0xd0)]());}[_0x4ddb2a(0x385)](){var _0x2dd584=_0x4ddb2a;this[_0x2dd584(0x388)][_0x2dd584(0x2ac)]();}[_0x4ddb2a(0x188)](_0x316920){var _0x4768ce=_0x4ddb2a;this[_0x4768ce(0x388)][_0x4768ce(0x201)](_0x316920['memberID'],_0x316920),this['_emitMembers']();}[_0x4ddb2a(0x208)](_0x3c8974){var _0x4aa021=_0x4ddb2a;this[_0x4aa021(0x388)]['delete'](_0x3c8974);}[_0x4ddb2a(0x33d)](_0x2f5ec5){var _0x244a62=_0x4ddb2a;return this[_0x244a62(0x388)][_0x244a62(0x31e)](_0x2f5ec5);}['getAllMembers'](){var _0x47e086=_0x4ddb2a;return Array[_0x47e086(0x133)](this[_0x47e086(0x388)][_0x47e086(0x297)]());}[_0x4ddb2a(0x232)](){var _0x542ab4=_0x4ddb2a;this[_0x542ab4(0xdf)][_0x542ab4(0x1be)](this[_0x542ab4(0x388)]);}}var Gn=Object[_0x4ddb2a(0x1d0)],Wn=(_0x271bec,_0x594879,_0x320a62,_0x45885f)=>{for(var _0x5d6437=_0x45885f>0x1?void 0x0:_0x45885f?Gn(_0x594879,_0x320a62):_0x594879,_0x15b510=_0x271bec['length']-0x1,_0x46aa11;_0x15b510>=0x0;_0x15b510--)(_0x46aa11=_0x271bec[_0x15b510])&&(_0x5d6437=_0x46aa11(_0x5d6437)||_0x5d6437);return _0x5d6437;},me=(_0x1f19be,_0x2eae81)=>(_0x23d696,_0x337e99)=>_0x2eae81(_0x23d696,_0x337e99,_0x1f19be),Ee=(_0x5aac1c=>(_0x5aac1c[_0x5aac1c[_0x4ddb2a(0x1d1)]=0x0]=_0x4ddb2a(0x1d1),_0x5aac1c[_0x5aac1c[_0x4ddb2a(0x2bc)]=0x1]=_0x4ddb2a(0x2bc),_0x5aac1c[_0x5aac1c[_0x4ddb2a(0x1b3)]=0x2]=_0x4ddb2a(0x1b3),_0x5aac1c[_0x5aac1c[_0x4ddb2a(0x259)]=0x3]='ONLINE',_0x5aac1c))(Ee||{});const Kt={[ge[_0x4ddb2a(0x2b5)]]:'session.join-failed',[ge['JOIN_ROOM_FULL']]:_0x4ddb2a(0x1db),[ge[_0x4ddb2a(0x2da)]]:'session.room-not-exists',[ge[_0x4ddb2a(0x14a)]]:_0x4ddb2a(0xb6),[ge[_0x4ddb2a(0x380)]]:_0x4ddb2a(0x1e8)};let Et=class extends _0x2d90bb{constructor(_0x541e19,_0x56c0e0,_0x58f797,_0x3cc3ff,_0xbcc8d7,_0x4e3805,_0x4a3429,_0x140230,_0x447f49){var _0x1bee72=_0x4ddb2a;super(),N(this,'_sessionStatus$',new _0x447c42(0x0)),N(this,_0x1bee72(0x231),this[_0x1bee72(0x343)][_0x1bee72(0xd0)]()),N(this,'_event$',new _0x2253ac()),N(this,_0x1bee72(0x37a),this['_event$'][_0x1bee72(0xd0)]()),N(this,'_socket'),N(this,_0x1bee72(0x189)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x1bee72(0x206),null),(this[_0x1bee72(0xdd)]=_0x541e19,this[_0x1bee72(0x23d)]=_0x58f797,this[_0x1bee72(0x191)]=_0x3cc3ff,this[_0x1bee72(0x34f)]=_0xbcc8d7,this['_memberService']=_0x4e3805,this[_0x1bee72(0xce)]=_0x4a3429,this[_0x1bee72(0x2ad)]=_0x140230,this[_0x1bee72(0x24c)]=_0x447f49,this[_0x1bee72(0x16b)]=!!this['_telemetryService'],_0x56c0e0[_0x1bee72(0x2ec)](_0x3fee66(this[_0x1bee72(0x38f)]))[_0x1bee72(0x182)](_0x1774a5=>{var _0xf90c1c=_0x1bee72,_0x3ec1f5;typeof _0x1774a5>'u'||(this['_socket']=_0x1774a5,_0x1774a5?(this['_joinRoom'](_0x1774a5),this[_0xf90c1c(0x189)]=_0x1774a5[_0xf90c1c(0x31f)][_0xf90c1c(0x182)](_0x21d345=>{var _0x3578c5=_0xf90c1c;_0x21d345['routeKey']===this[_0x3578c5(0xdd)]&&this[_0x3578c5(0xcb)](_0x21d345);})):(this[_0xf90c1c(0x245)](),this[_0xf90c1c(0x343)][_0xf90c1c(0x1be)](0x2),(_0x3ec1f5=this[_0xf90c1c(0x189)])==null||_0x3ec1f5[_0xf90c1c(0xe2)](),this[_0xf90c1c(0x189)]=null));}));}get[_0x4ddb2a(0x222)](){var _0x242b32=_0x4ddb2a;return this[_0x242b32(0x343)][_0x242b32(0x1cc)]();}[_0x4ddb2a(0x1d4)](){var _0x2768cd=_0x4ddb2a,_0x2ba3b8,_0x9b984e;return(_0x9b984e=(_0x2ba3b8=this[_0x2768cd(0x142)])==null?void 0x0:_0x2ba3b8[_0x2768cd(0x210)])!=null?_0x9b984e:null;}[_0x4ddb2a(0x385)](){var _0x24ba29=_0x4ddb2a;super[_0x24ba29(0x385)](),this[_0x24ba29(0x38f)][_0x24ba29(0x1be)](),this[_0x24ba29(0x38f)][_0x24ba29(0x116)]();}[_0x4ddb2a(0xb7)](){var _0x22d0cb=_0x4ddb2a,_0x26f4b0,_0x16a451;this[_0x22d0cb(0x245)](),(_0x26f4b0=this[_0x22d0cb(0x142)])==null||_0x26f4b0[_0x22d0cb(0xf4)]({'cmd':F[_0x22d0cb(0x12d)],'data':{'roomID':this[_0x22d0cb(0xdd)]}}),(_0x16a451=this[_0x22d0cb(0x142)])==null||_0x16a451[_0x22d0cb(0xb7)](),this[_0x22d0cb(0x2fd)][_0x22d0cb(0x116)](),this['_sessionStatus$'][_0x22d0cb(0x116)](),this[_0x22d0cb(0x385)]();}[_0x4ddb2a(0xcb)](_0x2d7efc){var _0x74d948=_0x4ddb2a;_0x2d7efc[_0x74d948(0x124)]===F[_0x74d948(0x36b)]?this[_0x74d948(0x30e)](_0x2d7efc):_0x2d7efc[_0x74d948(0x124)]===F[_0x74d948(0x2bf)]&&this[_0x74d948(0x190)](_0x2d7efc);}[_0x4ddb2a(0x1dd)](_0x196d12){var _0x194b61=_0x4ddb2a;this[_0x194b61(0x343)]['next'](0x1),_0x196d12['send']({'cmd':F[_0x194b61(0x36b)],'routeKey':this[_0x194b61(0xdd)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x5c14f5){var _0x22151a=_0x4ddb2a,_0x4eaf9a;if(_0x5c14f5[_0x22151a(0x126)]in Kt){this[_0x22151a(0x2ad)][_0x22151a(0x155)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x5c14f5[_0x22151a(0x126)]]}),this[_0x22151a(0x343)]['next'](0x2);return;}this[_0x22151a(0x343)][_0x22151a(0x1be)](0x3);const _0x58013f=(_0x4eaf9a=_0x5c14f5[_0x22151a(0x207)][_0x22151a(0x199)][this[_0x22151a(0xdd)]])==null?void 0x0:_0x4eaf9a[_0x22151a(0x119)];_0x58013f&&_0x58013f[_0x22151a(0x224)](_0x3f9f5b=>this[_0x22151a(0x381)][_0x22151a(0x188)](this['_unitID'],_0x3f9f5b));}[_0x4ddb2a(0x190)](_0x40aa71){var _0x17fbe5=_0x4ddb2a;try{const _0x320ea6=_0x40aa71[_0x17fbe5(0x207)];switch(_0x320ea6[_0x17fbe5(0xb8)]){case _0xe78c14[_0x17fbe5(0x28c)]:this[_0x17fbe5(0x25e)](_0x320ea6),this[_0x17fbe5(0x2fd)][_0x17fbe5(0x1be)](_0x320ea6);break;case _0xe78c14[_0x17fbe5(0x12b)]:this['_onUserLeave'](_0x320ea6),this[_0x17fbe5(0x2fd)][_0x17fbe5(0x1be)](_0x320ea6);break;case _0xe78c14[_0x17fbe5(0x274)]:case _0xe78c14[_0x17fbe5(0x249)]:this[_0x17fbe5(0xd7)](),this[_0x17fbe5(0x263)](),this['_event$'][_0x17fbe5(0x1be)](_0x320ea6);break;case _0xe78c14[_0x17fbe5(0x20f)]:this['_logService'][_0x17fbe5(0x211)](_0x17fbe5(0xf0)+JSON[_0x17fbe5(0x162)](_0x320ea6)),this[_0x17fbe5(0x2fd)][_0x17fbe5(0x1be)](_0x320ea6);break;case _0xe78c14[_0x17fbe5(0xd6)]:this[_0x17fbe5(0xce)][_0x17fbe5(0x243)](_0x320ea6[_0x17fbe5(0x207)]),this[_0x17fbe5(0x2fd)]['next'](_0x320ea6);break;default:this[_0x17fbe5(0x2fd)][_0x17fbe5(0x1be)](_0x320ea6);}}catch(_0x2d51de){this[_0x17fbe5(0x23d)][_0x17fbe5(0x211)](_0x2d51de,_0x40aa71);}}[_0x4ddb2a(0x25e)](_0x4a51bf){var _0x788ad5=_0x4ddb2a;this[_0x788ad5(0x381)][_0x788ad5(0x188)](this[_0x788ad5(0xdd)],_0x4a51bf['data']);}['_onUserLeave'](_0x3e4959){var _0x85f44a=_0x4ddb2a;this[_0x85f44a(0x381)][_0x85f44a(0x208)](this[_0x85f44a(0xdd)],_0x3e4959[_0x85f44a(0x207)][_0x85f44a(0x210)]);}async[_0x4ddb2a(0xf4)](_0x1a02a8,_0x1d811d){var _0x3a3702=_0x4ddb2a;if(this['sessionStatus']!==0x3||!this[_0x3a3702(0x142)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1a02a8[_0x3a3702(0xb8)]===_0xe78c14[_0x3a3702(0x2f9)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x1a02a8)),this[_0x3a3702(0x142)]['send']({'cmd':F['INGEST'],'routeKey':_0x1d811d,'routeType':'','data':_0x1a02a8});}catch(_0x264ad4){this['_logService'][_0x3a3702(0x211)](_0x264ad4);}}['_scheduleCollaborationTimeoutTimer'](){var _0x188d18=_0x4ddb2a,_0x3f9544;this[_0x188d18(0x324)]=setTimeout(()=>{var _0x277bff=_0x188d18;this['_collaborationTimeoutTimer']=null,this[_0x277bff(0x2ad)][_0x277bff(0x155)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3f9544=this['_configService']['getConfig'](mi))!=null?_0x3f9544:gi);}[_0x4ddb2a(0x263)](){var _0x12eaa9=_0x4ddb2a;this[_0x12eaa9(0x324)]&&(clearTimeout(this[_0x12eaa9(0x324)]),this[_0x12eaa9(0x324)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4d51e9){var _0x4f638d=_0x4ddb2a;if(!this[_0x4f638d(0x16b)])return;const {data:_0x172858}=_0x4d51e9,{unitID:_0x3c8426,changeset:_0x36e224}=_0x172858,{mutations:_0x4179b1,type:_0x1afabd}=_0x36e224;this[_0x4f638d(0x206)]={'unitId':_0x3c8426,'type':_0x1afabd,'startTime':performance[_0x4f638d(0x373)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x4179b1)};}[_0x4ddb2a(0xd7)](){var _0x3f4f79=_0x4ddb2a;if(this['_shouldReportTelemetry']){if(!this[_0x3f4f79(0x206)]){this[_0x3f4f79(0x23d)]['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x3f4f79(0x34e)]=performance[_0x3f4f79(0x373)](),this['_telemetryInfo']['duration']=this[_0x3f4f79(0x206)][_0x3f4f79(0x34e)]-this[_0x3f4f79(0x206)]['startTime'],this[_0x3f4f79(0x24c)][_0x3f4f79(0x1ee)](Hn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2dc251=_0x4ddb2a;this[_0x2dc251(0x206)]=null;}};Et=Wn([me(0x2,_0x4b6873),me(0x3,_0x249369),me(0x4,_0x50ea96(_0x292edd)),me(0x5,_0x50ea96(xe)),me(0x6,_0x50ea96(Ti)),me(0x7,_0x50ea96(pe)),me(0x8,_0x249c72(_0x50f4db))],Et);var Kn=Object[_0x4ddb2a(0x1d0)],Yn=(_0x27c456,_0x5c32ee,_0x58d802,_0x332b5a)=>{for(var _0x32389c=_0x332b5a>0x1?void 0x0:_0x332b5a?Kn(_0x5c32ee,_0x58d802):_0x5c32ee,_0x1978cd=_0x27c456['length']-0x1,_0x1ad71f;_0x1978cd>=0x0;_0x1978cd--)(_0x1ad71f=_0x27c456[_0x1978cd])&&(_0x32389c=_0x1ad71f(_0x32389c)||_0x32389c);return _0x32389c;},be=(_0x2b7e63,_0x5e3163)=>(_0x3260f6,_0x5544c2)=>_0x5e3163(_0x3260f6,_0x5544c2,_0x2b7e63);let Le=class extends _0x205f17{constructor(_0x14529d,_0x11b1e5,_0x5f3f40,_0xd45755,_0x273f89,_0x57d2e0){var _0x4b12e5=_0x4ddb2a;super(),N(this,'_socket$',new _0x447c42(void 0x0)),N(this,_0x4b12e5(0x237),this['_socket$']['asObservable']()),N(this,_0x4b12e5(0x334),null),N(this,_0x4b12e5(0x277),new Map()),N(this,'_status$',new _0x447c42(Ee['IDLE'])),N(this,_0x4b12e5(0x26d),this['_status$']['asObservable']()),N(this,_0x4b12e5(0xd4),!0x1),N(this,_0x4b12e5(0x220)),N(this,_0x4b12e5(0x23c),0x0),N(this,_0x4b12e5(0xdc)),N(this,_0x4b12e5(0x23f)),(this['_injector']=_0x14529d,this[_0x4b12e5(0x23d)]=_0x11b1e5,this['_configService']=_0x5f3f40,this[_0x4b12e5(0x288)]=_0xd45755,this[_0x4b12e5(0x2ad)]=_0x273f89,this['_networkConditionService']=_0x57d2e0,this[_0x4b12e5(0x12a)]());}get['_socket'](){var _0x58679a=_0x4ddb2a;return this[_0x58679a(0x31b)][_0x58679a(0x1cc)]();}[_0x4ddb2a(0x12a)](){var _0x24f972=_0x4ddb2a;this[_0x24f972(0x128)]&&this[_0x24f972(0x125)](this[_0x24f972(0x128)]['online$']['subscribe'](_0x3dfb9a=>{var _0x658a16=_0x24f972;_0x3dfb9a&&!this[_0x658a16(0x142)]&&this[_0x658a16(0x178)](),_0x3dfb9a||this[_0x658a16(0x31d)]();}));}[_0x4ddb2a(0x385)](){var _0xfd23a4=_0x4ddb2a;super[_0xfd23a4(0x385)](),this[_0xfd23a4(0x225)](),this['_clearTimeoutTimer'](),this[_0xfd23a4(0x264)](),this[_0xfd23a4(0x277)][_0xfd23a4(0x224)](_0x38a589=>_0x38a589[_0xfd23a4(0x385)]()),this['_sessions'][_0xfd23a4(0x2ac)](),this[_0xfd23a4(0x386)][_0xfd23a4(0x116)]();}async['requireSession'](_0x529c5c){var _0x3baaa0=_0x4ddb2a;if(this[_0x3baaa0(0x277)][_0x3baaa0(0x1e7)](_0x529c5c))return this['_sessions']['get'](_0x529c5c);this['_tryEnsureSocket']();const _0x4a9d66=this[_0x3baaa0(0x351)]['createInstance'](Et,_0x529c5c,this[_0x3baaa0(0x31b)]['asObservable']());return this[_0x3baaa0(0x277)]['set'](_0x529c5c,_0x4a9d66),_0x4a9d66;}['closeSession'](_0x2eab01){var _0x52b443=_0x4ddb2a,_0x56d042;const _0x5097ba=this[_0x52b443(0x277)][_0x52b443(0x31e)](_0x2eab01);_0x5097ba&&(this[_0x52b443(0x277)][_0x52b443(0x13b)](_0x2eab01),_0x5097ba['close']()),this[_0x52b443(0x277)][_0x52b443(0x30d)]||(_0x56d042=this[_0x52b443(0x142)])==null||_0x56d042[_0x52b443(0xb7)]();}[_0x4ddb2a(0x178)](){var _0x3c7018=_0x4ddb2a;this[_0x3c7018(0x23c)]=0x0,this[_0x3c7018(0x225)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x41cd53=_0x4ddb2a;this[_0x41cd53(0x220)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x41cd53(0x220)]=null);}async[_0x4ddb2a(0x2ce)](){var _0x42f552=_0x4ddb2a,_0x5cfe4f,_0xce6a52;const _0x4268a6=this[_0x42f552(0x191)][_0x42f552(0x127)](In),_0x7d3a04=this['_configService'][_0x42f552(0x127)](q),_0x96ff50=(_0xce6a52=(_0x5cfe4f=_0x7d3a04==null?void 0x0:_0x7d3a04[_0x42f552(0x347)])!=null?_0x5cfe4f:_0x4268a6)!=null?_0xce6a52:Tn,_0x925e77=await this['_socketService'][_0x42f552(0x375)](_0x96ff50);return this[_0x42f552(0x334)]=_0x925e77,_0x925e77;}async[_0x4ddb2a(0x209)](){var _0x4552ce=_0x4ddb2a,_0x1db8c6,_0x279faa;try{const _0x188a97=(_0x279faa=(_0x1db8c6=this[_0x4552ce(0x142)])!=null?_0x1db8c6:this['_candidateSocket'])!=null?_0x279faa:await this['_createSocket']();if(_0x188a97){const _0x31f6a8=_0x188a97[_0x4552ce(0xf4)];_0x188a97[_0x4552ce(0xf4)]=_0x34ec8c=>(this[_0x4552ce(0x202)](),_0x31f6a8['apply'](_0x188a97,[_0x34ec8c])),_0x188a97['message$'][_0x4552ce(0x182)](_0x111b92=>this[_0x4552ce(0x242)](_0x188a97,_0x111b92)),_0x188a97[_0x4552ce(0x26a)][_0x4552ce(0x2ec)](_0x23d58a(0x1))[_0x4552ce(0x182)](_0x5a108d=>this['_logService'][_0x4552ce(0x211)](_0x4552ce(0x11e),_0x5a108d)),_0x188a97[_0x4552ce(0x2e8)][_0x4552ce(0x2ec)](_0x23d58a(0x1))[_0x4552ce(0x182)](()=>{var _0x4a1897=_0x4552ce;this[_0x4a1897(0x253)](_0x188a97);}),_0x188a97[_0x4552ce(0x15e)][_0x4552ce(0x2ec)](_0x23d58a(0x1))[_0x4552ce(0x182)](_0x1b9956=>{var _0x17709e=_0x4552ce;this[_0x17709e(0x23d)]['debug'](_0x17709e(0x329),'socket\x20close',_0x1b9956),this[_0x17709e(0x26f)]();});}}catch(_0x401b69){this['_logService'][_0x4552ce(0x211)](_0x401b69),this[_0x4552ce(0x26f)]();}}[_0x4ddb2a(0x253)](_0x26ee6c){var _0x182d29=_0x4ddb2a;this[_0x182d29(0x23d)][_0x182d29(0x282)](_0x182d29(0x329),'socket\x20open.'),_0x26ee6c[_0x182d29(0xf4)]({'cmd':F[_0x182d29(0xee)]}),this[_0x182d29(0x202)]();}[_0x4ddb2a(0x31d)](){var _0x53f51c=_0x4ddb2a;this[_0x53f51c(0xd4)]=!0x1,this[_0x53f51c(0x334)]=null,this[_0x53f51c(0x386)][_0x53f51c(0x1be)](Ee[_0x53f51c(0x1b3)]),this[_0x53f51c(0x31b)]['next'](null),this['_clearTimeoutTimer'](),this[_0x53f51c(0x264)]();}[_0x4ddb2a(0x26f)](){var _0x4d66ee=_0x4ddb2a,_0x561487;this[_0x4d66ee(0x31d)](),this['_retryCount']<((_0x561487=this[_0x4d66ee(0x191)][_0x4d66ee(0x127)](yn))!=null?_0x561487:On)?(this[_0x4d66ee(0x2ad)][_0x4d66ee(0x155)]({'id':se[_0x4d66ee(0x2ba)]}),this[_0x4d66ee(0x312)]()):this['_collaborationUIEventService'][_0x4d66ee(0x155)]({'id':se['SOCKET_FAILED']});}[_0x4ddb2a(0x312)](){var _0x1747c9=_0x4ddb2a,_0x31fefb;const _0xc1d5fd=this[_0x1747c9(0x23c)],_0x2bff46=this['_configService'][_0x1747c9(0x127)](q),_0x2db55a=_0xc1d5fd===0x0?0x0:((_0x31fefb=_0x2bff46==null?void 0x0:_0x2bff46['retryConnectingInterval'])!=null?_0x31fefb:bn)*0x2**_0xc1d5fd;this[_0x1747c9(0x220)]=setTimeout(()=>{var _0x29ffca=_0x1747c9;clearTimeout(this[_0x29ffca(0x220)]),this[_0x29ffca(0x220)]=null,this[_0x29ffca(0x209)]();},_0x2db55a),this['_retryCount']+=0x1;}[_0x4ddb2a(0x242)](_0x28142d,_0x3cab52){var _0x46d13b=_0x4ddb2a;const {cmd:_0x1c3df2}=_0x3cab52;_0x1c3df2===F[_0x46d13b(0xee)]&&!this[_0x46d13b(0xd4)]&&(_0x28142d[_0x46d13b(0x210)]=_0x3cab52[_0x46d13b(0x207)]['memberID'],this[_0x46d13b(0x31b)]['next'](_0x28142d),this[_0x46d13b(0x386)][_0x46d13b(0x1be)](Ee[_0x46d13b(0x259)]),this[_0x46d13b(0xd4)]=!0x0,this[_0x46d13b(0x334)]=null),_0x1c3df2===F[_0x46d13b(0x25f)]&&this[_0x46d13b(0x2db)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x4791d0=_0x4ddb2a,_0x4dd1ce;this[_0x4791d0(0x264)](),this[_0x4791d0(0xdc)]=setTimeout(()=>this[_0x4791d0(0x198)](),(_0x4dd1ce=this[_0x4791d0(0x191)][_0x4791d0(0x127)](Cn))!=null?_0x4dd1ce:Rn);}['_sendHeartbeat'](){var _0x3275ad=_0x4ddb2a;this[_0x3275ad(0x142)][_0x3275ad(0xf4)]({'cmd':F[_0x3275ad(0x25f)]}),this['_waitForHeartbeatResponse']();}[_0x4ddb2a(0x1eb)](){var _0x449dfc=_0x4ddb2a,_0x2589bc;this[_0x449dfc(0x23f)]=setTimeout(()=>this[_0x449dfc(0x26f)](),(_0x2589bc=this[_0x449dfc(0x191)][_0x449dfc(0x127)](mi))!=null?_0x2589bc:gi);}[_0x4ddb2a(0x264)](){var _0x522f17=_0x4ddb2a;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x522f17(0xdc)]),this[_0x522f17(0xdc)]=null);}[_0x4ddb2a(0x2db)](){var _0x2cf361=_0x4ddb2a;this[_0x2cf361(0x23f)]!=null&&(clearTimeout(this[_0x2cf361(0x23f)]),this[_0x2cf361(0x23f)]=null);}};Le=Yn([be(0x0,_0x50ea96(_0x1c360b)),be(0x1,_0x4b6873),be(0x2,_0x249369),be(0x3,Ii),be(0x4,_0x50ea96(pe)),be(0x5,_0x249c72(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V['push']((t+0x100)[_0x4ddb2a(0x134)](0x10)[_0x4ddb2a(0xf3)](0x1));function qn(_0x4b4f7a,_0x40837d=0x0){var _0x26666d=_0x4ddb2a;return(V[_0x4b4f7a[_0x40837d+0x0]]+V[_0x4b4f7a[_0x40837d+0x1]]+V[_0x4b4f7a[_0x40837d+0x2]]+V[_0x4b4f7a[_0x40837d+0x3]]+'-'+V[_0x4b4f7a[_0x40837d+0x4]]+V[_0x4b4f7a[_0x40837d+0x5]]+'-'+V[_0x4b4f7a[_0x40837d+0x6]]+V[_0x4b4f7a[_0x40837d+0x7]]+'-'+V[_0x4b4f7a[_0x40837d+0x8]]+V[_0x4b4f7a[_0x40837d+0x9]]+'-'+V[_0x4b4f7a[_0x40837d+0xa]]+V[_0x4b4f7a[_0x40837d+0xb]]+V[_0x4b4f7a[_0x40837d+0xc]]+V[_0x4b4f7a[_0x40837d+0xd]]+V[_0x4b4f7a[_0x40837d+0xe]]+V[_0x4b4f7a[_0x40837d+0xf]])[_0x26666d(0x308)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x13d87d=_0x4ddb2a;if(!ut){if(typeof crypto>'u'||!crypto[_0x13d87d(0x1a9)])throw new Error(_0x13d87d(0x196));ut=crypto[_0x13d87d(0x1a9)][_0x13d87d(0x11a)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x4ddb2a(0xbd)][_0x4ddb2a(0x11a)](crypto),Yt={'randomUUID':Xn};function Zn(_0x284382,_0x5985ec,_0x3990c4){var _0x59919b=_0x4ddb2a,_0x306393,_0xa4a54b,_0x2f18f9;if(Yt['randomUUID']&&!_0x284382)return Yt[_0x59919b(0xbd)]();_0x284382=_0x284382||{};const _0x5cf323=(_0x2f18f9=(_0xa4a54b=_0x284382[_0x59919b(0x17f)])!=null?_0xa4a54b:(_0x306393=_0x284382['rng'])==null?void 0x0:_0x306393[_0x59919b(0x1e2)](_0x284382))!=null?_0x2f18f9:Jn();if(_0x5cf323['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x5cf323[0x6]=_0x5cf323[0x6]&0xf|0x40,_0x5cf323[0x8]=_0x5cf323[0x8]&0x3f|0x80,qn(_0x5cf323);}const J=_0x57e9aa('collaboration-client.local-cache-service');function Bs(_0x598f70){var _0x1a6b79=_0x4ddb2a;return _0x1a6b79(0x358)+_0x598f70;}var Qn=Object[_0x4ddb2a(0x1d0)],er=(_0x3a351f,_0x5f4baa,_0x45d783,_0x5db311)=>{var _0x3642ca=_0x4ddb2a;for(var _0x26ea02=_0x5db311>0x1?void 0x0:_0x5db311?Qn(_0x5f4baa,_0x45d783):_0x5f4baa,_0x274cf0=_0x3a351f[_0x3642ca(0x108)]-0x1,_0x186770;_0x274cf0>=0x0;_0x274cf0--)(_0x186770=_0x3a351f[_0x274cf0])&&(_0x26ea02=_0x186770(_0x26ea02)||_0x26ea02);return _0x26ea02;},dt=(_0x3dc54b,_0x2b9910)=>(_0x219968,_0x14cea1)=>_0x2b9910(_0x219968,_0x14cea1,_0x3dc54b);function tr(_0x43d200){var _0x28e066=_0x4ddb2a;const {unitID:_0x5d8af4,mutations:_0x1b658b}=_0x43d200;return{'unitId':_0x5d8af4,'subUnitId':_0x1b658b[0x0][_0x28e066(0x360)]['subUnitId']};}let it=class{constructor(_0x6f9462,_0x36baf8,_0x2b9376){var _0x5c33e4=_0x4ddb2a;this[_0x5c33e4(0x351)]=_0x6f9462,this[_0x5c33e4(0x1a1)]=_0x36baf8,this[_0x5c33e4(0x10f)]=_0x2b9376;}[_0x4ddb2a(0x374)](_0x34274b){var _0x50d553=_0x4ddb2a,_0x3f3bb1,_0x3fa59b,_0x156caf,_0x510660;const _0x3e5e06=this[_0x50d553(0x351)]['get'](_0x247ea7),{unitId:_0x15f8af,subUnitId:_0x2e9df7}=tr(_0x34274b),_0x3a7f02=_0x3e5e06==null?void 0x0:_0x3e5e06[_0x50d553(0x161)](_0x15f8af)[_0x50d553(0x2d2)](),_0x54ffc2=(_0x3fa59b=(_0x3f3bb1=this['_instanceService'][_0x50d553(0x187)](_0x15f8af))==null?void 0x0:_0x3f3bb1[_0x50d553(0x25c)]())==null?void 0x0:_0x3fa59b[_0x50d553(0x146)]();if(_0x3a7f02[_0x50d553(0x108)]===0x0||!_0x15f8af||!_0x2e9df7)return;const _0x3651ce=[{'id':_0x5b140b['id'],'params':{'unitId':_0x15f8af,'subUnitId':_0x54ffc2,'selections':_0x44cea8[_0x50d553(0xd1)](_0x3a7f02)}}],_0x2c3909=this[_0x50d553(0x1a1)][_0x50d553(0x165)](_0x34274b,_0x3651ce);if(!_0x15c642(_0x2c3909))throw _0x2c3909['error'];const _0x4b9b70=(_0x510660=(_0x156caf=_0x2c3909[_0x50d553(0x307)][0x0])==null?void 0x0:_0x156caf['params'])==null?void 0x0:_0x510660[_0x50d553(0x184)];if(Array[_0x50d553(0x349)](_0x4b9b70)&&_0x4b9b70[_0x50d553(0x108)]){if(_0x4b9b70['length']===_0x3651ce[0x0][_0x50d553(0x360)][_0x50d553(0x184)]['length']&&_0x4b9b70[_0x50d553(0x18c)]((_0x4537ec,_0x36edd2)=>_0x32504c[_0x50d553(0x216)](_0x4537ec['range'],_0x3651ce[0x0]['params'][_0x50d553(0x184)][_0x36edd2]['range'])))return;this[_0x50d553(0x351)][_0x50d553(0x31e)](_0x3bba81)[_0x50d553(0x24a)](_0x5b140b['id'],{'unitId':_0x15f8af,'subUnitId':_0x54ffc2,'selections':_0x4b9b70});}}};it=er([dt(0x0,_0x50ea96(_0x1c360b)),dt(0x1,_0x4d0f68),dt(0x2,_0x42df50)],it);const ht=_0x57e9aa('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x589c7=>(_0x589c7[_0x589c7[_0x4ddb2a(0x2b9)]=0x0]=_0x4ddb2a(0x2b9),_0x589c7[_0x589c7[_0x4ddb2a(0x223)]=0x1]=_0x4ddb2a(0x223),_0x589c7))(Ci||{});const ir=new Set([_0x157b4e['id']]);function qt(_0x3d9f54,_0xa2f4b5,_0x5cd466,_0x53a10b,_0x2b36f6){var _0x55be5a=_0x4ddb2a,_0x246446,_0x4f1d8e,_0x36dd17,_0x50d7d3;const _0x1b3322=[];for(const _0x1064fe of _0x3d9f54)if(ir[_0x55be5a(0x1e7)](_0x1064fe['id'])){if(_0x1b3322[_0x55be5a(0x108)]>0x0)break;_0x1b3322[_0x55be5a(0x317)](_0x1064fe);break;}else _0x1b3322[_0x55be5a(0x317)](_0x1064fe);const _0x259e47=(_0x4f1d8e=(_0x246446=_0x2b36f6[_0x55be5a(0xb0)]())==null?void 0x0:_0x246446[_0x55be5a(0x363)])!=null?_0x4f1d8e:_0x55be5a(0x38a),_0x3a5806=(_0x50d7d3=(_0x36dd17=_0x2b36f6['getCurrentUser']())==null?void 0x0:_0x36dd17[_0x55be5a(0x210)])!=null?_0x50d7d3:_0x55be5a(0x38a);return{'changeset':{'unitID':_0xa2f4b5,'type':_0xcff311(_0x5cd466['getUnitType'](_0xa2f4b5)),'baseRev':_0x53a10b[_0x55be5a(0x346)](_0xa2f4b5),'revision':0x0,'userID':_0x259e47,'memberID':_0x3a5806,'mutations':_0x1b3322},'pendingMutations':_0x3d9f54[_0x55be5a(0xf3)](_0x1b3322[_0x55be5a(0x108)])};}function nr(_0x32ddf2,_0x164ca0,_0x18fb1a,_0x593e8f,_0x1a0d7b){var _0x550d99=_0x4ddb2a,_0x46ba99,_0xff3d03,_0x16bccf,_0x4f91cf;const _0x1f6262=[_0x32ddf2['reduce']((_0x2d5efc,_0xa4144b)=>{var _0x26e101=_0x5161,_0x37ec5a;const {id:_0x382707}=_0x2d5efc,{id:_0x5b45e3,type:_0x2a9a5e}=_0xa4144b,_0x195e32=(_0x37ec5a=_0x2d5efc[_0x26e101(0x360)])!=null?_0x37ec5a:{'actions':null},_0x7b780d=_0xa4144b[_0x26e101(0x360)];if(_0x382707&&_0x382707!==_0x5b45e3)throw new Error(_0x26e101(0x269)+_0x382707+_0x26e101(0x100)+_0x5b45e3+'.');return{..._0x2d5efc,'id':_0x5b45e3,'type':_0x2a9a5e,'params':{'unitId':_0x7b780d[_0x26e101(0x30b)],'textRanges':_0x7b780d[_0x26e101(0x2fc)],'actions':_0x148635[_0x26e101(0xc4)](_0x195e32['actions'],_0x7b780d[_0x26e101(0x166)])}};},{})],_0x22d1fb=(_0xff3d03=(_0x46ba99=_0x1a0d7b['getCurrentUser']())==null?void 0x0:_0x46ba99['userID'])!=null?_0xff3d03:_0x550d99(0x38a),_0x1ae291=(_0x4f91cf=(_0x16bccf=_0x1a0d7b[_0x550d99(0xb0)]())==null?void 0x0:_0x16bccf[_0x550d99(0x210)])!=null?_0x4f91cf:_0x550d99(0x38a);return{'changeset':{'unitID':_0x164ca0,'type':_0xcff311(_0x18fb1a['getUnitType'](_0x164ca0)),'baseRev':_0x593e8f[_0x550d99(0x346)](_0x164ca0),'revision':0x0,'userID':_0x22d1fb,'memberID':_0x1ae291,'mutations':_0x1f6262},'pendingMutations':[]};}function Ri(_0x463099,_0x46992b){var _0x6fd25a=_0x4ddb2a;const _0x4fd367=new _0x50feae(0x1);return setTimeout(()=>_0x4fd367['next'](_0x46992b),_0x463099),_0x4fd367[_0x6fd25a(0xd0)]()[_0x6fd25a(0x2ec)](_0xc60831(0x1));}const rr={'id':_0x24c1b5['id'],'type':_0x37289a[_0x4ddb2a(0x1a2)],'params':{}};var sr=Object[_0x4ddb2a(0x1d0)],Te=(_0x58bb4f,_0x5bb2fb,_0x54ffe7,_0x188acc)=>{for(var _0xea86f4=_0x188acc>0x1?void 0x0:_0x188acc?sr(_0x5bb2fb,_0x54ffe7):_0x5bb2fb,_0x2dcf80=_0x58bb4f['length']-0x1,_0x571009;_0x2dcf80>=0x0;_0x2dcf80--)(_0x571009=_0x58bb4f[_0x2dcf80])&&(_0xea86f4=_0x571009(_0xea86f4)||_0xea86f4);return _0xea86f4;},P=(_0x18d929,_0x3d2f38)=>(_0xccd680,_0x132ab5)=>_0x3d2f38(_0xccd680,_0x132ab5,_0x18d929),bi=(_0x4fc4f8=>(_0x4fc4f8[_0x4ddb2a(0x135)]=_0x4ddb2a(0x17e),_0x4fc4f8[_0x4ddb2a(0x254)]=_0x4ddb2a(0x2f6),_0x4fc4f8[_0x4ddb2a(0x368)]=_0x4ddb2a(0x217),_0x4fc4f8[_0x4ddb2a(0x267)]='awaiting',_0x4fc4f8[_0x4ddb2a(0x194)]=_0x4ddb2a(0xde),_0x4fc4f8[_0x4ddb2a(0x29a)]=_0x4ddb2a(0xfe),_0x4fc4f8[_0x4ddb2a(0x158)]='conflict',_0x4fc4f8[_0x4ddb2a(0x1b3)]=_0x4ddb2a(0x295),_0x4fc4f8))(bi||{});const yi=0xea60;class Ce{constructor(_0x14248d,_0x4db1fb,_0x4651c5,_0x2e269e,_0x52e183,_0x216a00,_0x4e8c1a,_0x302d19,_0x3c6095){var _0x4e6916=_0x4ddb2a;N(this,_0x4e6916(0xe5),null),N(this,_0x4e6916(0x370),[]),(this[_0x4e6916(0x287)]=_0x14248d,this[_0x4e6916(0x355)]=_0x4db1fb,this[_0x4e6916(0x16d)]=_0x52e183,this[_0x4e6916(0x123)]=_0x216a00,this[_0x4e6916(0x2f2)]=_0x4e8c1a,this[_0x4e6916(0x1f1)]=_0x302d19,this[_0x4e6916(0x1bb)]=_0x3c6095,this[_0x4e6916(0xe5)]=_0x4651c5,this[_0x4e6916(0x370)]=_0x2e269e);}['_checkMissing'](_0x29a65e){var _0x333abc=_0x4ddb2a;const _0x2e0c0d=this[_0x333abc(0x1f1)][_0x333abc(0x346)](this[_0x333abc(0x287)]);return _0x29a65e[_0x333abc(0x2bb)]>_0x2e0c0d+0x1?(this[_0x333abc(0x16d)][_0x333abc(0x291)]({'from':_0x2e0c0d,'to':_0x29a65e[_0x333abc(0x2bb)]-0x1}),!0x0):!0x1;}[_0x4ddb2a(0xae)](_0x239b90){var _0xfabf66=_0x4ddb2a;this[_0xfabf66(0x2f2)][_0xfabf66(0x2c4)](this['unitID'],_0x239b90);}[_0x4ddb2a(0x251)](_0x36b463){var _0x2c86b1=_0x4ddb2a,_0x5bea50,_0x548e4c;(_0x548e4c=(_0x5bea50=this['_handler'])['onTransformSelections'])==null||_0x548e4c[_0x2c86b1(0x1e2)](_0x5bea50,_0x36b463);}[_0x4ddb2a(0x1e9)](_0x5c2012){var _0x2ee604=_0x4ddb2a,_0x137b62,_0x7c8725;return(_0x7c8725=(_0x137b62=this['_handler'])['onTransformIME'])==null?void 0x0:_0x7c8725[_0x2ee604(0x1e2)](_0x137b62,_0x5c2012);}[_0x4ddb2a(0xb3)](_0x2c3048){var _0x2041e1=_0x4ddb2a,_0x175499,_0x1b6a4d;return(_0x1b6a4d=(_0x175499=this['_handler'])[_0x2041e1(0x110)])==null?void 0x0:_0x1b6a4d[_0x2041e1(0x1e2)](_0x175499,_0x2c3048);}['_transformRemoteChangesetByIMECache'](_0x4b223d){var _0x2d336b=_0x4ddb2a,_0x38e5ec,_0x5820c5,_0xcfe1c7;return(_0xcfe1c7=(_0x5820c5=(_0x38e5ec=this[_0x2d336b(0x16d)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5820c5[_0x2d336b(0x1e2)](_0x38e5ec,_0x4b223d))!=null?_0xcfe1c7:_0x4b223d;}[_0x4ddb2a(0x1c8)](_0x555e74){var _0x10a8b1=_0x4ddb2a,_0x1e9376,_0x1db18f,_0x21bf06;return(_0x21bf06=(_0x1db18f=(_0x1e9376=this[_0x10a8b1(0x16d)])[_0x10a8b1(0x2b7)])==null?void 0x0:_0x1db18f['call'](_0x1e9376,_0x555e74))!=null?_0x21bf06:_0x555e74;}[_0x4ddb2a(0x32d)](_0x43bdfa){var _0x545e8c=_0x4ddb2a,_0xba6a51,_0x487125;if(this[_0x545e8c(0x355)]===Q[_0x545e8c(0x200)]){const {unitID:_0x201728,mutations:_0x5b6e50,memberID:_0x540b62}=_0x43bdfa,_0x1e3d06=_0x5b6e50[0x0]['params'][_0x545e8c(0x2fc)];Array[_0x545e8c(0x349)](_0x1e3d06)&&_0x1e3d06[_0x545e8c(0x108)]>0x0&&((_0x487125=(_0xba6a51=this[_0x545e8c(0x16d)])[_0x545e8c(0xbb)])==null||_0x487125['call'](_0xba6a51,{'unitID':_0x201728,'memberID':_0x540b62,'textRanges':_0x1e3d06}));}}[_0x4ddb2a(0x160)](){var _0x4ebcfe=_0x4ddb2a,_0x49765c;(_0x49765c=this[_0x4ebcfe(0x1bb)])==null||_0x49765c[_0x4ebcfe(0x163)](this[_0x4ebcfe(0x287)],this[_0x4ebcfe(0x355)],this[_0x4ebcfe(0xe5)],this['_pendingMutations']);}[_0x4ddb2a(0x226)](){var _0x495c74=_0x4ddb2a;return this[_0x495c74(0x1f1)][_0x495c74(0x346)](this[_0x495c74(0x287)]);}[_0x4ddb2a(0x137)](){var _0x164f90=_0x4ddb2a;this[_0x164f90(0x1f1)][_0x164f90(0x122)](this[_0x164f90(0x287)]);}[_0x4ddb2a(0x316)](_0x414542){var _0x70eb8=_0x4ddb2a,_0x1131bb;let _0x164917=this[_0x70eb8(0x2e7)](_0x414542);_0x164917=this[_0x70eb8(0x1c8)](_0x164917);const _0x275e00=_0xdd3158(_0x164917[_0x70eb8(0x239)],this[_0x70eb8(0x123)],{'fromCollab':!0x0});if(!_0x275e00[_0x70eb8(0x18a)])throw _0x275e00[_0x70eb8(0x211)]instanceof Error?_0x275e00[_0x70eb8(0x211)]:new Error((_0x1131bb=_0x275e00[_0x70eb8(0x211)])!=null?_0x1131bb:_0x70eb8(0x342));this[_0x70eb8(0x1e9)](_0x164917),this['_transformStateCache'](_0x164917),this['_transformUndoredo'](_0x414542),this[_0x70eb8(0x251)](_0x164917),this['_syncEditingCollabCursor'](_0x164917),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x23c72c,_0x1133ac,_0x505aac,_0x20785d,_0x17e56c,_0x43cd4f,_0x5224c7,_0xcfc5a0,_0x404db9,_0x48670c){var _0x98cc2=_0x4ddb2a;super(_0x23c72c,_0x1133ac,null,[],_0x505aac,_0x5224c7,_0x43cd4f,_0x20785d,_0x48670c),N(this,_0x98cc2(0xbe),_0x98cc2(0x2f6)),(this[_0x98cc2(0x351)]=_0x17e56c,this[_0x98cc2(0x23d)]=_0xcfc5a0,this[_0x98cc2(0x1a1)]=_0x404db9,this[_0x98cc2(0x2c7)]=_0x48670c);}[_0x4ddb2a(0x109)](_0x57b42f){var _0x26783e=_0x4ddb2a;const _0x1f86bb=this[_0x26783e(0x351)][_0x26783e(0x2a9)](ae,this[_0x26783e(0x287)],this[_0x26783e(0x355)],[_0x57b42f],this[_0x26783e(0x16d)]);return _0x1f86bb['_schedule'](),_0x1f86bb['_updateLocalCache'](),_0x1f86bb;}[_0x4ddb2a(0x38c)](_0x4b8839){var _0x3d2721=_0x4ddb2a;if(this['_checkMissing'](_0x4b8839))return this[_0x3d2721(0x351)][_0x3d2721(0x2a9)](ee,this[_0x3d2721(0x287)],this[_0x3d2721(0x355)],null,[],null,[_0x4b8839],this[_0x3d2721(0x16d)]);try{const _0x47905b=this['_transformService']['transformMutationsWithChangeset'](_0x4b8839,[rr]);if(_0x15c642(_0x47905b)){const {c1Prime:_0x477ac0}=_0x47905b;return this[_0x3d2721(0x316)](_0x477ac0),this;}throw _0x47905b[_0x3d2721(0x211)];}catch(_0x3c246b){return this[_0x3d2721(0x23d)]['error'](_0x3c246b),this['_onConflict'](!0x1);}}[_0x4ddb2a(0x36c)](_0xb1feca){var _0x3914cc=_0x4ddb2a;return this[_0x3914cc(0x351)][_0x3914cc(0x2a9)](ue,this['unitID'],this[_0x3914cc(0x355)],null,[],this[_0x3914cc(0x16d)],_0xb1feca);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x4ddb2a(0x2e1)](){var _0x39abb3=_0x4ddb2a;throw new Error(_0x39abb3(0x11b));}[_0x4ddb2a(0x121)](){return this;}[_0x4ddb2a(0x356)](){var _0x2c099b=_0x4ddb2a;return this[_0x2c099b(0x351)][_0x2c099b(0x2a9)](de,this[_0x2c099b(0x287)],this[_0x2c099b(0x355)],null,[],this[_0x2c099b(0x16d)]);}[_0x4ddb2a(0x265)](){return this;}[_0x4ddb2a(0x28a)](){var _0x3e2bb5=_0x4ddb2a;throw new Error(_0x3e2bb5(0xe1));}[_0x4ddb2a(0x396)](){var _0x1de307=_0x4ddb2a;const _0x9950c7=this[_0x1de307(0x1f1)][_0x1de307(0x346)](this['unitID']);return this[_0x1de307(0x16d)][_0x1de307(0x291)]({'from':_0x9950c7,'to':0x0}),this[_0x1de307(0x351)][_0x1de307(0x2a9)](ee,this[_0x1de307(0x287)],this[_0x1de307(0x355)],null,[],null,[],this[_0x1de307(0x16d)]);}};Ne=Te([P(0x3,_0x50ea96(_0x8d4db7)),P(0x4,_0x50ea96(_0x1c360b)),P(0x5,_0x52e072),P(0x6,_0x3bba81),P(0x7,_0x4b6873),P(0x8,_0x4d0f68),P(0x9,_0x249c72(J))],Ne);let ae=class extends Ce{constructor(_0x367d04,_0x549e99,_0x426025,_0x4a8dee,_0xbe18ed,_0x423903,_0xb1e9fe,_0x1122b8,_0x5e98c7,_0x1b2e65,_0x573511,_0x5da232,_0x3d19cd,_0x2720c6){var _0x5a599c=_0x4ddb2a;super(_0x367d04,_0x549e99,null,_0x426025,_0x4a8dee,_0x5e98c7,_0x3d19cd,_0x423903,_0x2720c6),N(this,_0x5a599c(0xbe),_0x5a599c(0x217)),N(this,_0x5a599c(0x310),null),N(this,_0x5a599c(0x2e9),null),(this['_injector']=_0xbe18ed,this[_0x5a599c(0x381)]=_0xb1e9fe,this[_0x5a599c(0x23d)]=_0x1122b8,this['_configService']=_0x1b2e65,this['_transformService']=_0x573511,this[_0x5a599c(0x1f8)]=_0x5da232);}[_0x4ddb2a(0x109)](_0x11502e){var _0x40209e=_0x4ddb2a;return this[_0x40209e(0x370)][_0x40209e(0x317)](_0x11502e),this[_0x40209e(0x160)](),this;}['onRemoteChangeset'](_0x49174){var _0x12c967=_0x4ddb2a;if(this[_0x12c967(0x2a6)](_0x49174))return this['_clearScheduledTask'](),this[_0x12c967(0x351)][_0x12c967(0x2a9)](ee,this[_0x12c967(0x287)],this['type'],null,this[_0x12c967(0x370)],null,[_0x49174],this[_0x12c967(0x16d)]);try{const _0x311d87=this[_0x12c967(0x1a1)]['transformMutationsWithChangeset'](_0x49174,this[_0x12c967(0x370)]);if(_0x15c642(_0x311d87)){const {c1Prime:_0x600b4d,m2Prime:_0x17c951}=_0x311d87;this['_executeRemoteChangeset'](_0x600b4d);const _0x3ac13d=this[_0x12c967(0x351)][_0x12c967(0x2a9)](ae,this['unitID'],this[_0x12c967(0x355)],_0x17c951,this[_0x12c967(0x16d)]);this[_0x12c967(0x305)]();const _0x25169a=new Date()['getTime'](),_0x24d4d5=this[_0x12c967(0x310)]?Math[_0x12c967(0x306)](this[_0x12c967(0x310)]-_0x25169a,0x0):this[_0x12c967(0x32e)]();return _0x3ac13d[_0x12c967(0x326)](_0x24d4d5),_0x3ac13d;}throw _0x311d87[_0x12c967(0x211)];}catch(_0x57e6a6){return this['_logService'][_0x12c967(0x211)](_0x57e6a6),this[_0x12c967(0x36c)](!0x1);}}['onRemoteAck'](){var _0x4d6ae0=_0x4ddb2a;throw new Error(_0x4d6ae0(0x171));}[_0x4ddb2a(0x2e1)](){var _0x697006=_0x4ddb2a;throw new Error(_0x697006(0x279));}[_0x4ddb2a(0x121)](){return this;}[_0x4ddb2a(0x356)](){var _0x48923f=_0x4ddb2a;return this[_0x48923f(0x305)](),this[_0x48923f(0x351)]['createInstance'](de,this['unitID'],this[_0x48923f(0x355)],null,this[_0x48923f(0x370)],this[_0x48923f(0x16d)]);}[_0x4ddb2a(0x265)](){return this;}[_0x4ddb2a(0x326)](_0x4fe31f){var _0xc3c954=_0x4ddb2a;const _0x5de61c=_0x4fe31f!=null?_0x4fe31f:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0xc3c954(0x244)]()+_0x5de61c,this[_0xc3c954(0x2e9)]=setTimeout(()=>{var _0xbfd0dc=_0xc3c954;this[_0xbfd0dc(0x305)]();let _0x594121=null;switch(this['type']){case Q[_0xbfd0dc(0x30c)]:{_0x594121=qt(this[_0xbfd0dc(0x370)],this[_0xbfd0dc(0x287)],this[_0xbfd0dc(0x1f8)],this[_0xbfd0dc(0x1f1)],this['_memberService']);break;}case Q['UNIVER_DOC']:{this[_0xbfd0dc(0x370)][_0xbfd0dc(0x18c)](_0x1c7a50=>_0x1c7a50['id']===_0x1b20ba['id'])?_0x594121=nr(this[_0xbfd0dc(0x370)],this[_0xbfd0dc(0x287)],this[_0xbfd0dc(0x1f8)],this[_0xbfd0dc(0x1f1)],this[_0xbfd0dc(0x381)]):_0x594121=qt(this[_0xbfd0dc(0x370)],this['unitID'],this[_0xbfd0dc(0x1f8)],this[_0xbfd0dc(0x1f1)],this[_0xbfd0dc(0x381)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x4a1c17,pendingMutations:_0x45a5b5}=_0x594121;this[_0xbfd0dc(0x16d)][_0xbfd0dc(0xd2)](_0x4a1c17);const _0x186b0d=_0x45a5b5[_0xbfd0dc(0x108)]?this[_0xbfd0dc(0x351)][_0xbfd0dc(0x2a9)](oe,this['unitID'],this['type'],_0x4a1c17,_0x45a5b5,this[_0xbfd0dc(0x16d)],void 0x0):this[_0xbfd0dc(0x351)]['createInstance'](le,this['unitID'],this[_0xbfd0dc(0x355)],_0x4a1c17,this[_0xbfd0dc(0x16d)]);_0x186b0d[_0xbfd0dc(0x160)](),this[_0xbfd0dc(0x16d)]['onStateChange'](this,_0x186b0d);},_0x5de61c);}[_0x4ddb2a(0x32e)](){var _0x114a9c=_0x4ddb2a,_0x4838b4;const _0x4f6c66=this[_0x114a9c(0x191)][_0x114a9c(0x127)](q);return(_0x4838b4=_0x4f6c66==null?void 0x0:_0x4f6c66[_0x114a9c(0x168)])!=null?_0x4838b4:En;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x507a48=_0x4ddb2a;this[_0x507a48(0x2e9)]!=null&&(clearTimeout(this[_0x507a48(0x2e9)]),this[_0x507a48(0x2e9)]=null);}[_0x4ddb2a(0x36c)](_0x2ca5a0){var _0x4ebf77=_0x4ddb2a;return this[_0x4ebf77(0x305)](),this['_injector'][_0x4ebf77(0x2a9)](ue,this[_0x4ebf77(0x287)],this['type'],null,this[_0x4ebf77(0x370)],this['_handler'],_0x2ca5a0);}};ae=Te([P(0x4,_0x50ea96(_0x1c360b)),P(0x5,_0x50ea96(_0x8d4db7)),P(0x6,_0x50ea96(xe)),P(0x7,_0x4b6873),P(0x8,_0x3bba81),P(0x9,_0x249369),P(0xa,_0x4d0f68),P(0xb,_0x42df50),P(0xc,_0x52e072),P(0xd,_0x249c72(J))],ae);let le=class extends Ce{constructor(_0x13c21e,_0x569a7c,_0x15186f,_0x59ab85,_0x198b3c,_0x2b6055,_0x221f5d,_0x54c1d2,_0x531be2,_0x137d14,_0x565c85){var _0x4db696=_0x4ddb2a;super(_0x13c21e,_0x569a7c,_0x15186f,[],_0x59ab85,_0x221f5d,_0x137d14,_0x2b6055,_0x565c85),N(this,_0x4db696(0xbe),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x4db696(0x258)),N(this,_0x4db696(0x338)),(this[_0x4db696(0x351)]=_0x198b3c,this['_logService']=_0x54c1d2,this[_0x4db696(0x1a1)]=_0x531be2);}[_0x4ddb2a(0x109)](_0x3bf8cc){var _0x267de9=_0x4ddb2a;this[_0x267de9(0x305)]();const _0x454573=this['_injector']['createInstance'](oe,this[_0x267de9(0x287)],this[_0x267de9(0x355)],this[_0x267de9(0xe5)],[_0x3bf8cc],this[_0x267de9(0x16d)],this[_0x267de9(0x258)]);return _0x454573[_0x267de9(0x160)](),_0x454573;}[_0x4ddb2a(0x38c)](_0x1e6d33){var _0x3df11a=_0x4ddb2a;if(this[_0x3df11a(0x2a6)](_0x1e6d33))return this[_0x3df11a(0x305)](),this[_0x3df11a(0x351)][_0x3df11a(0x2a9)](ee,this[_0x3df11a(0x287)],this[_0x3df11a(0x355)],this[_0x3df11a(0xe5)],[],null,[_0x1e6d33],this[_0x3df11a(0x16d)]);try{const _0x4f8a74=this['_transformService'][_0x3df11a(0x1a5)]([_0x1e6d33],[this[_0x3df11a(0xe5)]],!0x1);if(_0x592586(_0x4f8a74)){const {c1Prime:_0x47c381,c2Prime:_0x5a1443}=_0x4f8a74;this['_executeRemoteChangeset'](_0x47c381[0x0]),_0x5a1443[0x0][_0x3df11a(0x2a2)]=this[_0x3df11a(0x226)](),this['_clearScheduledTask']();const _0xfdfa9e=this[_0x3df11a(0x351)]['createInstance'](le,this[_0x3df11a(0x287)],this['type'],_0x5a1443[0x0],this[_0x3df11a(0x16d)]);return _0xfdfa9e['_updateLocalCache'](),_0xfdfa9e;}return this['_onConflict'](!0x1);}catch(_0x5d1f61){return this['_logService'][_0x3df11a(0x211)](_0x5d1f61),this[_0x3df11a(0x36c)](!0x1);}}[_0x4ddb2a(0x185)](_0xbdc0d8){var _0x24a978=_0x4ddb2a;this[_0x24a978(0x305)]();const _0x3ae6b7=this[_0x24a978(0x1f1)]['getCurrentRevOfUnit'](this[_0x24a978(0x287)]);if(_0xbdc0d8[_0x24a978(0x2bb)]<_0x3ae6b7-0x1)return this;if(this[_0x24a978(0x2a6)](_0xbdc0d8))return this[_0x24a978(0x351)][_0x24a978(0x2a9)](ee,this['unitID'],this['type'],null,[],this[_0x24a978(0xe5)],[],this[_0x24a978(0x16d)]);this[_0x24a978(0x137)]();const _0x4dd9a0=this[_0x24a978(0x351)]['createInstance'](Ne,this['unitID'],this['type'],this['_handler']);return _0x4dd9a0[_0x24a978(0x160)](),_0x4dd9a0;}[_0x4ddb2a(0x2e1)](_0x3f42fb){var _0x1b4aa6=_0x4ddb2a;return this[_0x1b4aa6(0x36c)](!!(_0x3f42fb!=null&&_0x3f42fb[_0x1b4aa6(0x37b)]));}[_0x4ddb2a(0x121)](_0x2abd3b){var _0x83ade1=_0x4ddb2a;return this[_0x83ade1(0x114)]>yi?this[_0x83ade1(0x356)]():(this['_resendTimer']=Ri(this[_0x83ade1(0x114)],{'timeout':this[_0x83ade1(0x114)],'reqId':_0x2abd3b['reqId']}),this[_0x83ade1(0x338)]=this['_resendTimer'][_0x83ade1(0x182)](({reqId:_0x38b74b,timeout:_0x1ed6a2})=>{var _0x5203fe=_0x83ade1;this[_0x5203fe(0x1b8)](_0x38b74b,_0x1ed6a2);}),this);}[_0x4ddb2a(0x356)](){var _0x34ac04=_0x4ddb2a;return this['_clearScheduledTask'](),this[_0x34ac04(0x351)]['createInstance'](de,this[_0x34ac04(0x287)],this[_0x34ac04(0x355)],this['_awaitingChangeset'],[],this[_0x34ac04(0x16d)]);}['toggleOnline'](){return this;}[_0x4ddb2a(0x28a)](){var _0x427a03=_0x4ddb2a;this[_0x427a03(0x16d)][_0x427a03(0xd2)](this[_0x427a03(0xe5)]);}['_onConflict'](_0x5b9bd3){var _0x2d2986=_0x4ddb2a;return this[_0x2d2986(0x305)](),this['_injector'][_0x2d2986(0x2a9)](ue,this[_0x2d2986(0x287)],this[_0x2d2986(0x355)],this[_0x2d2986(0xe5)],[],this['_handler'],_0x5b9bd3);}['_resendWithTimeout'](_0x4784e5,_0x46fb8e){var _0x10c9a1=_0x4ddb2a,_0x2d74df;_0x4784e5===((_0x2d74df=this['_awaitingChangeset'])==null?void 0x0:_0x2d74df[_0x10c9a1(0x18f)])&&(this[_0x10c9a1(0x28a)](),this[_0x10c9a1(0x114)]=_0x46fb8e===0x0?0x3e8:_0x46fb8e*0x2);}[_0x4ddb2a(0x305)](){var _0x5c6b20=_0x4ddb2a,_0x535715;(_0x535715=this[_0x5c6b20(0x338)])==null||_0x535715['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x50ea96(_0x1c360b)),P(0x5,_0x50ea96(_0x8d4db7)),P(0x6,_0x3bba81),P(0x7,_0x4b6873),P(0x8,_0x4d0f68),P(0x9,_0x52e072),P(0xa,_0x249c72(J))],le);let oe=class extends Ce{constructor(_0x209df5,_0x462c10,_0x5f41b2,_0x29fff7,_0x1c81fb,_0x35adea,_0x4b4a23,_0x20a312,_0x349586,_0x10bb9f,_0x534f49,_0x5592aa,_0x346419){var _0x7afe98=_0x4ddb2a;super(_0x209df5,_0x462c10,_0x5f41b2,_0x29fff7,_0x1c81fb,_0x349586,_0x5592aa,_0x20a312,_0x346419),N(this,_0x7afe98(0xbe),_0x7afe98(0xde)),N(this,_0x7afe98(0x114),0x0),N(this,'_resendTimer'),N(this,_0x7afe98(0x338)),(this[_0x7afe98(0x351)]=_0x4b4a23,this['_logService']=_0x10bb9f,this[_0x7afe98(0x1a1)]=_0x534f49,this[_0x7afe98(0x2c7)]=_0x346419,_0x35adea&&(this[_0x7afe98(0x258)]=_0x35adea,this[_0x7afe98(0x338)]=this[_0x7afe98(0x258)][_0x7afe98(0x182)](({reqId:_0x4b0454,timeout:_0x47ca30})=>{var _0xf64d7a=_0x7afe98;this[_0xf64d7a(0x1b8)](_0x4b0454,_0x47ca30);})));}[_0x4ddb2a(0x109)](_0x42b89f){return this['_pendingMutations']['push'](_0x42b89f),this;}['onRemoteChangeset'](_0xa7e0d9){var _0x2a5bba=_0x4ddb2a;if(this['_checkMissing'](_0xa7e0d9))return this[_0x2a5bba(0x305)](),this[_0x2a5bba(0x351)][_0x2a5bba(0x2a9)](ee,this['unitID'],this[_0x2a5bba(0x355)],this['_awaitingChangeset'],this[_0x2a5bba(0x370)],null,[_0xa7e0d9],this[_0x2a5bba(0x16d)]);try{const _0x2f1eb7=this[_0x2a5bba(0x1a1)][_0x2a5bba(0x1a5)]([_0xa7e0d9],[this['_awaitingChangeset']],!0x1);if(_0x592586(_0x2f1eb7)){const {c1Prime:_0x4048da,c2Prime:_0x42e78b}=_0x2f1eb7,_0x53bc1a=this[_0x2a5bba(0x1a1)][_0x2a5bba(0x165)](_0x4048da[0x0],this[_0x2a5bba(0x370)]);if(_0x15c642(_0x53bc1a)){const {c1Prime:_0x46cf38,m2Prime:_0x10331f}=_0x53bc1a;return this[_0x2a5bba(0x316)](_0x46cf38),_0x42e78b[0x0][_0x2a5bba(0x2a2)]=this[_0x2a5bba(0x226)](),this[_0x2a5bba(0x305)](),this['_injector'][_0x2a5bba(0x2a9)](oe,this[_0x2a5bba(0x287)],this[_0x2a5bba(0x355)],_0x42e78b[0x0],_0x10331f,this[_0x2a5bba(0x16d)],void 0x0);}throw _0x53bc1a[_0x2a5bba(0x211)];}throw _0x2f1eb7['error'];}catch(_0x1bfbe){return this[_0x2a5bba(0x23d)][_0x2a5bba(0x211)](_0x1bfbe),this[_0x2a5bba(0x36c)](!0x1);}}[_0x4ddb2a(0x185)](_0xe4ef18){var _0x11afa0=_0x4ddb2a;if(this['_clearScheduledTask'](),this[_0x11afa0(0x2a6)](_0xe4ef18))return this[_0x11afa0(0x351)][_0x11afa0(0x2a9)](ee,this[_0x11afa0(0x287)],this[_0x11afa0(0x355)],null,this['_pendingMutations'],this[_0x11afa0(0xe5)],[],this[_0x11afa0(0x16d)]);this[_0x11afa0(0x137)]();const _0x24e55c=this[_0x11afa0(0x351)][_0x11afa0(0x2a9)](ae,this['unitID'],this[_0x11afa0(0x355)],this[_0x11afa0(0x370)],this['_handler']);return _0x24e55c[_0x11afa0(0x326)](),_0x24e55c[_0x11afa0(0x160)](),_0x24e55c;}[_0x4ddb2a(0x2e1)](_0x412631){var _0xdd2e10=_0x4ddb2a;return this[_0xdd2e10(0x36c)](!!(_0x412631!=null&&_0x412631[_0xdd2e10(0x37b)]));}[_0x4ddb2a(0x121)](_0x55e175){var _0x3242ba=_0x4ddb2a;return this[_0x3242ba(0x114)]>yi?this[_0x3242ba(0x356)]():(this[_0x3242ba(0x258)]=Ri(this['_resendTimeout'],{'timeout':this[_0x3242ba(0x114)],'reqId':_0x55e175[_0x3242ba(0x18f)]}),this[_0x3242ba(0x338)]=this[_0x3242ba(0x258)][_0x3242ba(0x182)](({reqId:_0x17b9d5,timeout:_0x587448})=>{var _0x3d98bb=_0x3242ba;this[_0x3d98bb(0x1b8)](_0x17b9d5,_0x587448);}),this);}[_0x4ddb2a(0x356)](){var _0x35f1d1=_0x4ddb2a;return this['_clearScheduledTask'](),this[_0x35f1d1(0x351)][_0x35f1d1(0x2a9)](de,this[_0x35f1d1(0x287)],this[_0x35f1d1(0x355)],this[_0x35f1d1(0xe5)],this[_0x35f1d1(0x370)],this[_0x35f1d1(0x16d)]);}[_0x4ddb2a(0x265)](){return this;}[_0x4ddb2a(0x28a)](){var _0x36cfc1=_0x4ddb2a;this[_0x36cfc1(0x16d)][_0x36cfc1(0xd2)](this[_0x36cfc1(0xe5)]);}['_onConflict'](_0x5cd9a4){var _0x50fef7=_0x4ddb2a;return this[_0x50fef7(0x305)](),this['_injector'][_0x50fef7(0x2a9)](ue,this['unitID'],this[_0x50fef7(0x355)],null,this[_0x50fef7(0x370)],this[_0x50fef7(0x16d)],_0x5cd9a4);}[_0x4ddb2a(0x1b8)](_0x3aab4c,_0x823701){var _0x46f088=_0x4ddb2a,_0x1068b7;_0x3aab4c===((_0x1068b7=this[_0x46f088(0xe5)])==null?void 0x0:_0x1068b7[_0x46f088(0x18f)])&&(this[_0x46f088(0x28a)](),this[_0x46f088(0x114)]=_0x823701===0x0?0x3e8:_0x823701*0x2);}['_clearScheduledTask'](){var _0x5f1691=_0x4ddb2a,_0x486733;(_0x486733=this['_sender'])==null||_0x486733[_0x5f1691(0xe2)](),this[_0x5f1691(0x114)]=0x0;}};oe=Te([P(0x6,_0x50ea96(_0x1c360b)),P(0x7,_0x50ea96(_0x8d4db7)),P(0x8,_0x3bba81),P(0x9,_0x4b6873),P(0xa,_0x4d0f68),P(0xb,_0x52e072),P(0xc,_0x249c72(J))],oe);let ue=class extends Ce{constructor(_0x4ca00c,_0x5cf5b8,_0x2fcea7,_0x2462e6,_0x119e36,_0xb1044=!0x1,_0x304df8,_0x21fc97,_0x24170c,_0x387ab3,_0x20fc99,_0x18dd5d,_0xfad850){var _0x5e090e=_0x4ddb2a;super(_0x4ca00c,_0x5cf5b8,_0x2fcea7,_0x2462e6,_0x119e36,_0x21fc97,_0x24170c,_0x387ab3,_0xfad850),N(this,_0x5e090e(0xbe),_0x5e090e(0x35e)),(this[_0x5e090e(0x24d)]=_0xb1044,this[_0x5e090e(0x1ec)]=_0x304df8,this[_0x5e090e(0x34f)]=_0x20fc99,this['_collaborationUIEventService']=_0x18dd5d,this[_0x5e090e(0x2c7)]=_0xfad850,this['_showConflictNotification'](),this[_0x5e090e(0x372)](),this['_disableEditing']());}[_0x4ddb2a(0x109)](){return this;}[_0x4ddb2a(0x38c)](){return this;}[_0x4ddb2a(0x185)](){return this;}[_0x4ddb2a(0x2e1)](){return this;}[_0x4ddb2a(0x121)](){return this;}[_0x4ddb2a(0x356)](){return this;}['toggleOnline'](){return this;}[_0x4ddb2a(0x28a)](){var _0x120075=_0x4ddb2a;throw new Error(_0x120075(0x1da));}[_0x4ddb2a(0x372)](){var _0x115f0a=_0x4ddb2a,_0xedfe39;(_0xedfe39=this[_0x115f0a(0x1bb)])==null||_0xedfe39[_0x115f0a(0x163)](this[_0x115f0a(0x287)],this[_0x115f0a(0x355)],null,[]);}[_0x4ddb2a(0x366)](){var _0xbf26cd=_0x4ddb2a;this[_0xbf26cd(0x24d)]?this[_0xbf26cd(0x2ad)]['emitEvent']({'id':se[_0xbf26cd(0x304)]}):this[_0xbf26cd(0x2ad)][_0xbf26cd(0x155)]({'id':se[_0xbf26cd(0x158)]});}[_0x4ddb2a(0x12e)](){var _0x4ee458=_0x4ddb2a;this[_0x4ee458(0x1ec)]['updatePermissionPoint'](new _0x1fcbaa(this[_0x4ee458(0x287)])['id'],!0x1);}};ue=Te([P(0x6,_0x50ea96(_0x1c4592)),P(0x7,_0x3bba81),P(0x8,_0x52e072),P(0x9,_0x50ea96(_0x8d4db7)),P(0xa,_0x50ea96(_0x292edd)),P(0xb,_0x50ea96(pe)),P(0xc,_0x249c72(J))],ue);let de=class extends Ce{constructor(_0x18969f,_0x172496,_0x467d20,_0x4f73a5,_0x2f4532,_0x2cd502,_0x127334,_0x1094f6,_0x5585c0,_0x10909c){var _0x4c5476=_0x4ddb2a;super(_0x18969f,_0x172496,_0x467d20,_0x4f73a5,_0x2f4532,_0x1094f6,_0x5585c0,_0x127334,_0x10909c),N(this,'status',_0x4c5476(0x295)),this[_0x4c5476(0x351)]=_0x2cd502;}[_0x4ddb2a(0x109)](_0x250193){var _0x4911f5=_0x4ddb2a;return this[_0x4911f5(0x370)]['push'](_0x250193),this[_0x4911f5(0x160)](),this;}[_0x4ddb2a(0x38c)](_0x1b7efd){var _0x5aecef=_0x4ddb2a;throw new Error(_0x5aecef(0x29d));}[_0x4ddb2a(0x185)](){var _0x15ab57=_0x4ddb2a;throw new Error(_0x15ab57(0x2f3));}[_0x4ddb2a(0x2e1)](){var _0x477311=_0x4ddb2a;throw new Error(_0x477311(0x257));}[_0x4ddb2a(0x121)](){return this;}[_0x4ddb2a(0x356)](){return this;}[_0x4ddb2a(0x265)](){var _0x5bbd81=_0x4ddb2a;const {_injector:_0x120de0,_pendingMutations:_0x5b99aa,_awaitingChangeset:_0x107a97,unitID:_0x95ed8,_handler:_0x481b49,type:_0x33e68c}=this,_0x3f170d=Oi(_0x120de0,_0x95ed8,_0x33e68c,_0x107a97,_0x5b99aa,_0x481b49);return _0x3f170d instanceof ae?_0x3f170d[_0x5bbd81(0x326)]():(_0x3f170d instanceof oe||_0x3f170d instanceof le)&&_0x3f170d[_0x5bbd81(0x28a)](),_0x3f170d;}[_0x4ddb2a(0x28a)](){var _0x52bd2b=_0x4ddb2a;throw new Error(_0x52bd2b(0x1de));}};de=Te([P(0x5,_0x50ea96(_0x1c360b)),P(0x6,_0x50ea96(_0x8d4db7)),P(0x7,_0x3bba81),P(0x8,_0x52e072),P(0x9,_0x249c72(J))],de);let ee=class extends Ce{constructor(_0xa39c64,_0x5cc280,_0x5ec2a1,_0x3f9080,_0x49f746,_0x2c7228,_0x4daa26,_0x518cc6,_0x2114ad,_0xbe9d06,_0x365e0f,_0x3d97d2,_0x5c5cca,_0x3e65de){var _0x33cb21=_0x4ddb2a;super(_0xa39c64,_0x5cc280,_0x5ec2a1,_0x3f9080,_0x4daa26,_0x365e0f,_0x3d97d2,_0x2114ad,_0x3e65de),N(this,_0x33cb21(0xbe),_0x33cb21(0xfe)),(this[_0x33cb21(0x1bf)]=_0x49f746,this[_0x33cb21(0xcc)]=_0x2c7228,this[_0x33cb21(0x351)]=_0x518cc6,this[_0x33cb21(0x23d)]=_0xbe9d06,this[_0x33cb21(0x1a1)]=_0x5c5cca,this[_0x33cb21(0x2c7)]=_0x3e65de);}[_0x4ddb2a(0x157)](_0x102a3c){var _0x32f20a=_0x4ddb2a;try{const _0x2df21d=[..._0x102a3c,...this[_0x32f20a(0xcc)]],_0x165ad6=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x32f20a(0x280)](_0x265908=>!!_0x265908);let _0x598537,_0x53651f;if(_0x165ad6[_0x32f20a(0x108)]){const _0xb2008=this['_transformService'][_0x32f20a(0x1a5)](_0x2df21d,_0x165ad6,!0x1);if(!_0x592586(_0xb2008))throw _0xb2008[_0x32f20a(0x211)];_0x598537=_0xb2008[_0x32f20a(0x35f)],_0x53651f=_0xb2008[_0x32f20a(0xb9)];}else _0x598537=_0x2df21d,_0x53651f=[];let _0x15ae30=this[_0x32f20a(0x370)];_0x598537[_0x32f20a(0x224)](_0x53c105=>{var _0x5be9cf=_0x32f20a;let _0x248942;if(_0x15ae30[_0x5be9cf(0x108)]){const _0x4a7c15=this['_transformService'][_0x5be9cf(0x165)](_0x53c105,_0x15ae30);if(!_0x15c642(_0x4a7c15))throw _0x4a7c15['error'];_0x248942=_0x4a7c15[_0x5be9cf(0x35f)],_0x15ae30=_0x4a7c15['m2Prime'];}else _0x248942=_0x53c105;this[_0x5be9cf(0x316)](_0x248942);}),this[_0x32f20a(0x1bf)]&&this[_0x32f20a(0x137)](),this[_0x32f20a(0xe5)]&&_0x53651f[_0x32f20a(0x108)]&&(_0x53651f[0x0][_0x32f20a(0x2a2)]=this[_0x32f20a(0x226)]());let _0x39ea67;if(this[_0x32f20a(0xe5)]&&_0x15ae30[_0x32f20a(0x108)]!==0x0)_0x39ea67=this['_injector']['createInstance'](oe,this[_0x32f20a(0x287)],this[_0x32f20a(0x355)],_0x53651f[0x0],_0x15ae30,this[_0x32f20a(0x16d)],void 0x0);else{if(this[_0x32f20a(0xe5)]&&_0x15ae30[_0x32f20a(0x108)]===0x0)_0x53651f[0x0][_0x32f20a(0x2a2)]=this['_getCurrentRevision'](),_0x39ea67=this[_0x32f20a(0x351)]['createInstance'](le,this[_0x32f20a(0x287)],this['type'],_0x53651f[0x0],this[_0x32f20a(0x16d)]);else{if(_0x15ae30[_0x32f20a(0x108)]!==0x0){const _0x2893c9=this[_0x32f20a(0x351)][_0x32f20a(0x2a9)](ae,this[_0x32f20a(0x287)],this[_0x32f20a(0x355)],_0x15ae30,this[_0x32f20a(0x16d)]);_0x2893c9[_0x32f20a(0x326)](),_0x39ea67=_0x2893c9;}else _0x39ea67=this['_injector'][_0x32f20a(0x2a9)](Ne,this['unitID'],this['type'],this[_0x32f20a(0x16d)]);}}return _0x39ea67[_0x32f20a(0x160)](),_0x39ea67;}catch(_0x4b75f1){return this['_logService'][_0x32f20a(0x211)](_0x32f20a(0x141),_0x32f20a(0x214),_0x4b75f1),this['_injector'][_0x32f20a(0x2a9)](ue,this[_0x32f20a(0x287)],this['type'],this[_0x32f20a(0xe5)],this[_0x32f20a(0x370)],this[_0x32f20a(0x16d)],!0x1);}}['resend'](){var _0x2c942d=_0x4ddb2a;throw new Error(_0x2c942d(0x19d));}[_0x4ddb2a(0x109)](_0x433c8d){var _0x509a93=_0x4ddb2a;return this[_0x509a93(0x370)][_0x509a93(0x317)](_0x433c8d),this;}[_0x4ddb2a(0x38c)](_0x593a26){var _0x2eedeb=_0x4ddb2a;return this[_0x2eedeb(0xcc)][_0x2eedeb(0x317)](_0x593a26),this;}[_0x4ddb2a(0x185)](_0x17f657){var _0xd342e7=_0x4ddb2a;if(this[_0xd342e7(0xe5)])return this[_0xd342e7(0x1bf)]=this[_0xd342e7(0xe5)],this[_0xd342e7(0xe5)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x4ddb2a(0x2e1)](_0x4d8ad6){var _0x5800a8=_0x4ddb2a;return this[_0x5800a8(0x36c)](!!(_0x4d8ad6!=null&&_0x4d8ad6[_0x5800a8(0x37b)]));}[_0x4ddb2a(0x121)](){return this;}[_0x4ddb2a(0x356)](){var _0x354e19=_0x4ddb2a;return this[_0x354e19(0x351)][_0x354e19(0x2a9)](de,this[_0x354e19(0x287)],this[_0x354e19(0x355)],this[_0x354e19(0xe5)],this[_0x354e19(0x370)],this[_0x354e19(0x16d)]);}['toggleOnline'](){return this;}[_0x4ddb2a(0x36c)](_0x80a4f6){var _0x196d45=_0x4ddb2a;return this[_0x196d45(0x351)]['createInstance'](ue,this[_0x196d45(0x287)],this['type'],this[_0x196d45(0xe5)],this[_0x196d45(0x370)],this[_0x196d45(0x16d)],_0x80a4f6);}};ee=Te([P(0x7,_0x50ea96(_0x1c360b)),P(0x8,_0x50ea96(_0x8d4db7)),P(0x9,_0x4b6873),P(0xa,_0x3bba81),P(0xb,_0x52e072),P(0xc,_0x4d0f68),P(0xd,_0x249c72(J))],ee);function Oi(_0x2f91c4,_0x599c6c,_0x49e8ba,_0x131355,_0x1723ff,_0x101d4b){var _0x1be139=_0x4ddb2a;return _0x131355&&_0x1723ff[_0x1be139(0x108)]?_0x2f91c4['createInstance'](oe,_0x599c6c,_0x49e8ba,_0x131355,_0x1723ff,_0x101d4b,void 0x0):_0x131355?_0x2f91c4['createInstance'](le,_0x599c6c,_0x49e8ba,_0x131355,_0x101d4b):_0x1723ff[_0x1be139(0x108)]?_0x2f91c4[_0x1be139(0x2a9)](ae,_0x599c6c,_0x49e8ba,_0x1723ff,_0x101d4b):_0x2f91c4[_0x1be139(0x2a9)](Ne,_0x599c6c,_0x49e8ba,_0x101d4b);}var ar=Object[_0x4ddb2a(0x1d0)],xt=(_0x1fab75,_0x6c668c,_0x522c31,_0x19e726)=>{var _0xc19f64=_0x4ddb2a;for(var _0x3c799e=_0x19e726>0x1?void 0x0:_0x19e726?ar(_0x6c668c,_0x522c31):_0x6c668c,_0x1fe095=_0x1fab75[_0xc19f64(0x108)]-0x1,_0x2f7bcf;_0x1fe095>=0x0;_0x1fe095--)(_0x2f7bcf=_0x1fab75[_0x1fe095])&&(_0x3c799e=_0x2f7bcf(_0x3c799e)||_0x3c799e);return _0x3c799e;},H=(_0x3041a3,_0x2c5af1)=>(_0xcce52c,_0xf1ce93)=>_0x2c5af1(_0xcce52c,_0xf1ce93,_0x3041a3);let nt=class extends _0x2d90bb{constructor(_0x191632,_0x2e3473,_0x459554,_0x509dde,_0x2c5132,_0x397d8f,_0x485ec5,_0x350950,_0x26a902,_0x40d199,_0x1c8119,_0x21c138,_0x291fbd){var _0x445ce3=_0x4ddb2a;super(),N(this,_0x445ce3(0x107),new _0x447c42(null)),N(this,_0x445ce3(0x2aa),this[_0x445ce3(0x107)]['asObservable']()),N(this,_0x445ce3(0x15b)),N(this,_0x445ce3(0x112),!0x1),N(this,_0x445ce3(0x1ba),''),N(this,_0x445ce3(0x22f),0x0),N(this,_0x445ce3(0x26d),this['state$']['pipe'](_0x13a6ca(_0x3d1dc3=>_0x3d1dc3?_0x3d1dc3[_0x445ce3(0xbe)]:bi[_0x445ce3(0x1b3)]),_0xa99ad4(0x1))),N(this,_0x445ce3(0x17a),!0x1),N(this,_0x445ce3(0x2d5),[]),(this[_0x445ce3(0x287)]=_0x191632,this[_0x445ce3(0x2b2)]=_0x2e3473,this[_0x445ce3(0x212)]=_0x459554,this[_0x445ce3(0x351)]=_0x509dde,this[_0x445ce3(0x1ab)]=_0x2c5132,this[_0x445ce3(0x34f)]=_0x397d8f,this[_0x445ce3(0x1f1)]=_0x485ec5,this[_0x445ce3(0x32c)]=_0x350950,this[_0x445ce3(0x23d)]=_0x26a902,this['_commandService']=_0x40d199,this[_0x445ce3(0x1ec)]=_0x1c8119,this[_0x445ce3(0x2c1)]=_0x21c138,this[_0x445ce3(0x1bb)]=_0x291fbd);}get['state'](){return this['_state'];}async[_0x4ddb2a(0x219)](){var _0x57337a=_0x4ddb2a;if(this[_0x57337a(0x1e4)])throw new Error(_0x57337a(0x2bd));await this[_0x57337a(0x1b7)]();}[_0x4ddb2a(0x2fa)](){var _0x119068=_0x4ddb2a;return this[_0x119068(0x112)]=!0x0,_0x1b9cae(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x4ddb2a(0x181)](_0xe43dcd){var _0x461e6a=_0x4ddb2a;this[_0x461e6a(0x2d6)](_0xe43dcd);}['_updateState'](_0x39ad15){var _0x249c7c=_0x4ddb2a;this[_0x249c7c(0x15b)]=_0x39ad15,this[_0x249c7c(0x107)][_0x249c7c(0x1be)](_0x39ad15);}async[_0x4ddb2a(0x1b7)](){var _0x591955=_0x4ddb2a,_0x4af97a;this[_0x591955(0x23b)](await this[_0x591955(0x1ce)]()),this[_0x591955(0x2c1)]&&((_0x4af97a=this['_singleActiveUnitService'])==null||_0x4af97a[_0x591955(0xe6)](this[_0x591955(0x287)]),this[_0x591955(0x125)](this['_singleActiveUnitService'][_0x591955(0x300)](this[_0x591955(0x287)])[_0x591955(0x182)](_0x24caaf=>{var _0x2eab7b=_0x591955;this[_0x2eab7b(0x23d)][_0x2eab7b(0x282)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x24caaf),_0x24caaf===Ci['OTHER_CLIENTS_EDITING']?(this[_0x2eab7b(0x32c)][_0x2eab7b(0x155)]({'id':se['OTHER_CLIENT_EDITING']}),this[_0x2eab7b(0x1ec)][_0x2eab7b(0x21f)](new _0x1fcbaa(this[_0x2eab7b(0x287)])['id'],!0x1),this[_0x2eab7b(0x1ec)][_0x2eab7b(0x344)](!0x1)):(this[_0x2eab7b(0x1ec)][_0x2eab7b(0x21f)](new _0x1fcbaa(this[_0x2eab7b(0x287)])['id'],!0x0),this[_0x2eab7b(0x1ec)][_0x2eab7b(0x344)](!0x0));})));let _0x1a3b20=!0x1;return this[_0x591955(0x125)](this[_0x591955(0x2b2)]['sessionStatus$'][_0x591955(0x182)](_0x1de5e9=>{var _0x2c0183=_0x591955;_0x1de5e9===Ee[_0x2c0183(0x259)]?this[_0x2c0183(0x248)](_0x1a3b20):_0x1de5e9===Ee['OFFLINE']&&(_0x1a3b20=!0x0,this[_0x2c0183(0x14e)]());})),this[_0x591955(0x125)](this[_0x591955(0x2b2)][_0x591955(0x37a)][_0x591955(0x182)](_0x594bb3=>{var _0x342b82=_0x591955;try{switch(_0x594bb3[_0x342b82(0xb8)]){case _0xe78c14[_0x342b82(0x36d)]:{this['_onRemoteChangeset'](_0x46c0bf(_0x594bb3[_0x342b82(0x207)]));break;}case _0xe78c14['CHANGESET_ACK']:{this[_0x342b82(0x104)](_0x594bb3[_0x342b82(0x207)]);break;}case _0xe78c14[_0x342b82(0x143)]:{this[_0x342b82(0x2d4)]();break;}case _0xe78c14[_0x342b82(0x249)]:{this[_0x342b82(0x2ae)](_0x594bb3[_0x342b82(0x207)]);break;}case _0xe78c14[_0x342b82(0x1df)]:{this['_onFetchMissResult'](_0x594bb3[_0x342b82(0x207)]['changesets'][_0x342b82(0x172)](_0x903671=>_0x46c0bf(_0x903671)));break;}case _0xe78c14['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0xe78c14[_0x342b82(0xf5)]:break;}}catch(_0x2e4104){throw console[_0x342b82(0x211)]('Error\x20on\x20receiving\x20event',_0x2e4104),_0x2e4104;}})),this[_0x591955(0x15b)];}[_0x4ddb2a(0x174)](){var _0x1160c1=_0x4ddb2a;this[_0x1160c1(0x17a)]=!0x1;}[_0x4ddb2a(0x18b)](){var _0x3896a5=_0x4ddb2a;if(this[_0x3896a5(0x17a)])throw new Error(_0x3896a5(0x241));this['_transitionLocked']=!0x0;}[_0x4ddb2a(0x2d6)](_0x3b206d){var _0x27aa98=_0x4ddb2a;this[_0x27aa98(0x18b)](),this[_0x27aa98(0x23b)](this[_0x27aa98(0x15b)][_0x27aa98(0x109)](_0x3b206d)),this[_0x27aa98(0x174)]();}[_0x4ddb2a(0xed)](_0x574c1e){var _0x1e6c11=_0x4ddb2a;if(!(_0x574c1e[_0x1e6c11(0x2bb)]<=this[_0x1e6c11(0x1f1)][_0x1e6c11(0x346)](this['unitID']))){if(this['_collaborationPaused']){this[_0x1e6c11(0x2d5)][_0x1e6c11(0x317)](_0x574c1e);return;}this[_0x1e6c11(0xb2)](_0x574c1e);}}[_0x4ddb2a(0xea)](){var _0x4f8edb=_0x4ddb2a;this[_0x4f8edb(0x2d5)][_0x4f8edb(0x224)](_0x183a5b=>this['_applyRemoteChangeset'](_0x183a5b)),this[_0x4f8edb(0x2d5)]=[];}[_0x4ddb2a(0xb2)](_0x484000){var _0x56858b=_0x4ddb2a;const _0x1e76d8=this[_0x56858b(0x1ab)][_0x56858b(0x2ea)][_0x56858b(0x1fb)](this['_compressMutationService'][_0x56858b(0x2ea)][_0x56858b(0xf6)]()['COMPRESS_MUTATION_APPLY'])(_0x484000[_0x56858b(0x239)],null)||_0x484000[_0x56858b(0x239)],_0x57dbf9={..._0x484000,'mutations':_0x1e76d8};this[_0x56858b(0x18b)](),this[_0x56858b(0x23b)](this[_0x56858b(0x15b)]['onRemoteChangeset'](_0x57dbf9)),this[_0x56858b(0x174)]();}[_0x4ddb2a(0x104)](_0x17e4e1){var _0x30792c=_0x4ddb2a;this[_0x30792c(0x18b)](),this[_0x30792c(0x23b)](this[_0x30792c(0x15b)]['onRemoteAck'](_0x17e4e1)),this[_0x30792c(0x174)]();}[_0x4ddb2a(0x2d4)](_0x5e0bde){var _0x42e982=_0x4ddb2a;this[_0x42e982(0x18b)](),this[_0x42e982(0x23b)](this[_0x42e982(0x15b)][_0x42e982(0x2e1)](_0x5e0bde)),this[_0x42e982(0x174)]();}[_0x4ddb2a(0x2ae)](_0x4363ec){var _0x4e5a05=_0x4ddb2a;this['_lockTransition'](),this[_0x4e5a05(0x23b)](this[_0x4e5a05(0x15b)][_0x4e5a05(0x121)](_0x4363ec)),this[_0x4e5a05(0x174)]();}[_0x4ddb2a(0x34c)](_0x2a6dcb){var _0x2e7896=_0x4ddb2a;if(!(this[_0x2e7896(0x15b)]instanceof ee))throw new TypeError(_0x2e7896(0x283));const _0x1b8d32=_0x2a6dcb[_0x2e7896(0x172)](_0x3504c4=>{var _0x20ea4f=_0x2e7896;const _0x2e3017=this[_0x20ea4f(0x1ab)]['interceptor'][_0x20ea4f(0x1fb)](this[_0x20ea4f(0x1ab)]['interceptor'][_0x20ea4f(0xf6)]()['COMPRESS_MUTATION_APPLY'])(_0x3504c4[_0x20ea4f(0x239)],null)||_0x3504c4[_0x20ea4f(0x239)];return{..._0x3504c4,'mutations':_0x2e3017};});this[_0x2e7896(0x18b)](),this['_updateState'](this['_state']['onMissedChangesetFetched'](_0x1b8d32)),this['_unlockTransition']();}['_toggleOffline'](){var _0x5b6d7b=_0x4ddb2a;this[_0x5b6d7b(0x18b)](),this[_0x5b6d7b(0x23b)](this[_0x5b6d7b(0x15b)]['toggleOffline']()),this[_0x5b6d7b(0x174)]();}[_0x4ddb2a(0x248)](_0x5bab24=!0x1){var _0xe4c719=_0x4ddb2a;this[_0xe4c719(0x18b)](),this[_0xe4c719(0x23b)](this[_0xe4c719(0x15b)][_0xe4c719(0x265)]()),this[_0xe4c719(0x174)]();const _0xe57cf0=this[_0xe4c719(0x15b)];_0x5bab24&&_0xe57cf0 instanceof Ne&&(this[_0xe4c719(0x18b)](),this[_0xe4c719(0x23b)](_0xe57cf0['fetchMiss']()),this['_unlockTransition']());}async[_0x4ddb2a(0x1ce)](){return new Promise(_0x354eac=>{var _0x5dcf58=_0x5161;this[_0x5dcf58(0x2b2)][_0x5dcf58(0x231)][_0x5dcf58(0x2ec)](_0xc60831(0x1))['subscribe'](async _0x45a011=>{_0x354eac(await this['_createInitialStateImpl'](_0x45a011===Ee['ONLINE']));});});}[_0x4ddb2a(0x377)](){var _0x496b55=_0x4ddb2a;const _0x7c3bea=this[_0x496b55(0x287)];return{'onStateChange':(_0x151b0d,_0x461510)=>{var _0x2a808f=_0x496b55;if(_0x151b0d!==this['_state'])throw new Error(_0x2a808f(0x315)+_0x151b0d[_0x2a808f(0xbe)]+_0x2a808f(0xac)+_0x461510[_0x2a808f(0xbe)]+_0x2a808f(0x19a)+this[_0x2a808f(0x15b)]['status']);this[_0x2a808f(0x23b)](_0x461510);},'onSendChangeset':_0x565e96=>{var _0x5ace06=_0x496b55;_0x565e96[_0x5ace06(0x1cb)]||(_0x565e96['sid']=this['_changesetSessionId'],_0x565e96[_0x5ace06(0x18f)]=++this[_0x5ace06(0x22f)]);const _0x2e6e27={'eventID':_0xe78c14['SUBMIT_CHANGESET'],'data':{'unitID':_0x565e96[_0x5ace06(0x287)],'unitType':this[_0x5ace06(0x212)],'changeset':_0x565e96,'memberID':this[_0x5ace06(0x2b2)]['getMemberID']()}};this['session'][_0x5ace06(0xf4)](_0x2e6e27,this[_0x5ace06(0x287)]);},'onMissingChangesets':({from:_0x2f91bf,to:_0x147455})=>{var _0x27475f=_0x496b55;this[_0x27475f(0x23d)][_0x27475f(0x282)](_0x27475f(0x314),_0x27475f(0xab)+_0x2f91bf+_0x27475f(0x1f6)+_0x147455);const _0x46b9f2={'eventID':_0xe78c14[_0x27475f(0x1bd)],'data':{'unitID':_0x7c3bea,'unitType':this[_0x27475f(0x212)],'from':_0x2f91bf,'to':_0x147455}};this[_0x27475f(0x2b2)][_0x27475f(0xf4)](_0x46b9f2,this[_0x27475f(0x287)]);}};}async[_0x4ddb2a(0x1c7)](_0x4edfa9){var _0x428765=_0x4ddb2a,_0x51d033,_0x5af8af,_0x6e983b;const _0x5a0738=await((_0x51d033=this['_localCacheService'])==null?void 0x0:_0x51d033[_0x428765(0x289)](this['unitID'])),_0x2a835a=(_0x5af8af=_0x5a0738==null?void 0x0:_0x5a0738[_0x428765(0x239)])!=null?_0x5af8af:[],_0x1b34bc=(_0x6e983b=_0x5a0738==null?void 0x0:_0x5a0738[_0x428765(0x354)])!=null?_0x6e983b:null,_0x3259d9=!!(_0x1b34bc!=null&&_0x1b34bc[_0x428765(0x1cb)])&&!!(_0x1b34bc!=null&&_0x1b34bc['reqId']);this[_0x428765(0x1ba)]=_0x3259d9?_0x1b34bc['sid']:Zn(),this[_0x428765(0x22f)]=_0x3259d9?_0x1b34bc['reqId']:0x0;const _0x5f3cbb=this[_0x428765(0x287)];try{this[_0x428765(0x115)](_0x1b34bc,_0x2a835a);}catch(_0x304ec8){this['_logService'][_0x428765(0x211)](_0x304ec8);}const _0x7779cc=this[_0x428765(0x377)]();if(_0x4edfa9){const _0x5cce31=Oi(this[_0x428765(0x351)],_0x5f3cbb,this[_0x428765(0x212)],_0x1b34bc,_0x2a835a,_0x7779cc);return _0x5cce31 instanceof ae?_0x5cce31[_0x428765(0x326)]():(_0x5cce31 instanceof oe||_0x5cce31 instanceof le)&&_0x5cce31[_0x428765(0x28a)](),_0x5cce31;}return this[_0x428765(0x351)][_0x428765(0x2a9)](de,_0x5f3cbb,this['_type'],_0x1b34bc,_0x2a835a,_0x7779cc);}[_0x4ddb2a(0x115)](_0x1c4348,_0x38589b){var _0x1e3d45=_0x4ddb2a,_0x3d859e,_0xa76680;const _0x267fbc=this[_0x1e3d45(0x1ab)]['interceptor'][_0x1e3d45(0x1fb)](this[_0x1e3d45(0x1ab)][_0x1e3d45(0x2ea)]['getInterceptPoints']()[_0x1e3d45(0x15f)]);(_0x3d859e=_0x267fbc((_0x1c4348==null?void 0x0:_0x1c4348[_0x1e3d45(0x239)])||[],null))==null||_0x3d859e[_0x1e3d45(0x224)](_0x162184=>this[_0x1e3d45(0x123)][_0x1e3d45(0x24a)](_0x162184['id'],_0x162184[_0x1e3d45(0x360)])),(_0xa76680=_0x267fbc(_0x38589b||[],null))==null||_0xa76680[_0x1e3d45(0x224)](_0x19306f=>this[_0x1e3d45(0x123)]['executeCommand'](_0x19306f['id'],_0x19306f['params']));}};nt=xt([H(0x3,_0x50ea96(_0x1c360b)),H(0x4,_0x50ea96(_0x23cb2d)),H(0x5,_0x50ea96(_0x292edd)),H(0x6,_0x50ea96(_0x8d4db7)),H(0x7,_0x50ea96(pe)),H(0x8,_0x4b6873),H(0x9,_0x3bba81),H(0xa,_0x1c4592),H(0xb,_0x249c72(ht)),H(0xc,_0x249c72(J))],nt);let It=class extends nt{constructor(_0x37ce2f,_0x54b39c,_0x45efd9,_0x1b63ad,_0x3b4739,_0x3dc7b9,_0x174988,_0x49b924,_0x207e5d,_0x415216,_0x5d749c,_0x2cda7f,_0x36e0d3){var _0x267456=_0x4ddb2a;super(_0x37ce2f,_0x45efd9,_0x54b39c,_0x1b63ad,_0x3b4739,_0x3dc7b9,_0x174988,_0x49b924,_0x207e5d,_0x415216,_0x5d749c,_0x2cda7f,_0x36e0d3),N(this,_0x267456(0x33f),null),(this[_0x267456(0x287)]=_0x37ce2f,this['type']=_0x54b39c);}['addHandlerCallback'](_0x2b977e){var _0x405e98=_0x4ddb2a;this[_0x405e98(0x33f)]=_0x2b977e;}['dispose'](){var _0x27f5a3=_0x4ddb2a;this['_handlerCallback']=null,super[_0x27f5a3(0x385)]();}[_0x4ddb2a(0x377)](){var _0x329b52=_0x4ddb2a;const _0x18810b=super[_0x329b52(0x377)]();return _0x18810b[_0x329b52(0x301)]=_0x2a1cba=>{var _0x1efaa8=_0x329b52,_0x56557a,_0xc927f2;return(_0xc927f2=(_0x56557a=this[_0x1efaa8(0x33f)])==null?void 0x0:_0x56557a['onTransformIME'])==null?void 0x0:_0xc927f2[_0x1efaa8(0x1e2)](_0x56557a,_0x2a1cba);},_0x18810b[_0x329b52(0x110)]=_0x5ee7bb=>{var _0x36e781=_0x329b52,_0x483d0a,_0x6bd85;return(_0x6bd85=(_0x483d0a=this[_0x36e781(0x33f)])==null?void 0x0:_0x483d0a[_0x36e781(0x110)])==null?void 0x0:_0x6bd85[_0x36e781(0x1e2)](_0x483d0a,_0x5ee7bb);},_0x18810b['onTransformSelections']=_0x400f82=>{var _0x483e8b=_0x329b52,_0x15abb4,_0x21d78c;return(_0x21d78c=(_0x15abb4=this['_handlerCallback'])==null?void 0x0:_0x15abb4[_0x483e8b(0x1d6)])==null?void 0x0:_0x21d78c[_0x483e8b(0x1e2)](_0x15abb4,_0x400f82);},_0x18810b[_0x329b52(0xbb)]=_0x3f7b38=>{var _0x36cbb2=_0x329b52,_0x360eab,_0x5b023e;return(_0x5b023e=(_0x360eab=this[_0x36cbb2(0x33f)])==null?void 0x0:_0x360eab[_0x36cbb2(0xbb)])==null?void 0x0:_0x5b023e[_0x36cbb2(0x1e2)](_0x360eab,_0x3f7b38);},_0x18810b['onTransformRemoteChangesetByIMECache']=_0x2f87d7=>{var _0x3c4fbc=_0x329b52,_0x416769,_0x2e924b,_0x12f61a;if(!((_0x416769=this[_0x3c4fbc(0x33f)])!=null&&_0x416769[_0x3c4fbc(0x2f1)]))throw new Error(_0x3c4fbc(0x131));return(_0x12f61a=(_0x2e924b=this['_handlerCallback'])==null?void 0x0:_0x2e924b[_0x3c4fbc(0x2f1)])==null?void 0x0:_0x12f61a[_0x3c4fbc(0x1e2)](_0x2e924b,_0x2f87d7);},_0x18810b[_0x329b52(0x2b7)]=_0x1808af=>{var _0x2161db=_0x329b52,_0x269d44,_0x262605,_0x254b11;if(!((_0x269d44=this[_0x2161db(0x33f)])!=null&&_0x269d44[_0x2161db(0x2b7)]))throw new Error(_0x2161db(0x145));return(_0x254b11=(_0x262605=this[_0x2161db(0x33f)])==null?void 0x0:_0x262605[_0x2161db(0x2b7)])==null?void 0x0:_0x254b11[_0x2161db(0x1e2)](_0x262605,_0x1808af);},_0x18810b;}async['_init'](){const _0x29285e=await super['_init']();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x590b78,_0x384976)=>{var _0x472969=_0x5161;if(_0x590b78[_0x472969(0x355)]!==_0x37289a[_0x472969(0x1a2)]||_0x384976!=null&&_0x384976['fromCollab']||_0x384976!=null&&_0x384976[_0x472969(0x2ca)]||_0x590b78['id']===_0x1b20ba['id'])return;const _0xf97a2e=_0x590b78[_0x472969(0x360)];if((_0xf97a2e==null?void 0x0:_0xf97a2e[_0x472969(0x30b)])!==this[_0x472969(0x287)])return;const _0x428b30=_0x590b78,_0x7e65f4=this['_compressMutationService'][_0x472969(0x2ea)][_0x472969(0x1fb)](this[_0x472969(0x1ab)][_0x472969(0x2ea)]['getInterceptPoints']()[_0x472969(0x1fc)])([_0x428b30],null)||[_0x428b30];this[_0x472969(0x2d6)](_0x7e65f4[0x0]);})),_0x29285e;}};It=xt([H(0x3,_0x50ea96(_0x1c360b)),H(0x4,_0x50ea96(_0x23cb2d)),H(0x5,_0x50ea96(_0x292edd)),H(0x6,_0x50ea96(_0x8d4db7)),H(0x7,_0x50ea96(pe)),H(0x8,_0x4b6873),H(0x9,_0x3bba81),H(0xa,_0x1c4592),H(0xb,_0x249c72(ht)),H(0xc,_0x249c72(J))],It);let Tt=class extends nt{constructor(_0x328478,_0xe47aad,_0x5a1ad7,_0x485520,_0x431b58,_0xdce4c8,_0x1d3938,_0x43a057,_0x189148,_0x3e3059,_0x5dadd4,_0x1d1700,_0xc079d2,_0x12c1a4){var _0x2c52df=_0x4ddb2a;super(_0x328478,_0x5a1ad7,_0xe47aad,_0x485520,_0x431b58,_0xdce4c8,_0x1d3938,_0x189148,_0x3e3059,_0x5dadd4,_0x1d1700,_0xc079d2,_0x12c1a4),this[_0x2c52df(0x287)]=_0x328478,this[_0x2c52df(0x355)]=_0xe47aad,this[_0x2c52df(0x330)]=_0x43a057;}['_createHandler'](){var _0x6a6aa=_0x4ddb2a;const _0x2fe12d=super['_createHandler']();return _0x2fe12d[_0x6a6aa(0x1d6)]=_0x444831=>this[_0x6a6aa(0x330)]['transformSelections'](_0x444831),_0x2fe12d;}async[_0x4ddb2a(0x1b7)](){var _0x2339c2=_0x4ddb2a;const _0x1c5345=await super[_0x2339c2(0x1b7)]();return this['disposeWithMe'](this[_0x2339c2(0x123)]['onCommandExecuted']((_0x221499,_0x5d7d7)=>{var _0x359ebf=_0x2339c2;if(_0x221499[_0x359ebf(0x355)]!==_0x37289a[_0x359ebf(0x1a2)]||_0x5d7d7!=null&&_0x5d7d7[_0x359ebf(0x1f9)]||_0x5d7d7!=null&&_0x5d7d7[_0x359ebf(0x2ca)])return;const _0x4dd209=_0x221499[_0x359ebf(0x360)];if((_0x4dd209==null?void 0x0:_0x4dd209['unitId'])!==this[_0x359ebf(0x287)])return;const _0x53072e=_0x221499,_0x2324c6=this[_0x359ebf(0x1ab)][_0x359ebf(0x2ea)][_0x359ebf(0x1fb)](this[_0x359ebf(0x1ab)][_0x359ebf(0x2ea)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x53072e],null)||[_0x53072e];this[_0x359ebf(0x2d6)](_0x2324c6[0x0]);})),_0x1c5345;}};Tt=xt([H(0x3,_0x50ea96(_0x1c360b)),H(0x4,_0x50ea96(_0x23cb2d)),H(0x5,_0x50ea96(_0x292edd)),H(0x6,_0x50ea96(_0x8d4db7)),H(0x7,_0x50ea96(it)),H(0x8,_0x50ea96(pe)),H(0x9,_0x4b6873),H(0xa,_0x3bba81),H(0xb,_0x1c4592),H(0xc,_0x249c72(ht)),H(0xd,_0x249c72(J))],Tt);var or=Object[_0x4ddb2a(0x1d0)],cr=(_0x54bdc2,_0x39501e,_0x2781dd,_0x5a9dc5)=>{var _0xa680fd=_0x4ddb2a;for(var _0x5edb62=_0x5a9dc5>0x1?void 0x0:_0x5a9dc5?or(_0x39501e,_0x2781dd):_0x39501e,_0x363092=_0x54bdc2[_0xa680fd(0x108)]-0x1,_0x138151;_0x363092>=0x0;_0x363092--)(_0x138151=_0x54bdc2[_0x363092])&&(_0x5edb62=_0x138151(_0x5edb62)||_0x5edb62);return _0x5edb62;},ft=(_0x39a674,_0x3f6a7c)=>(_0x110901,_0x3810fc)=>_0x3f6a7c(_0x110901,_0x3810fc,_0x39a674);let rt=class extends _0x2d90bb{constructor(_0x1e5816,_0x1c341f,_0x3b09ac){var _0x1e062d=_0x4ddb2a;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x2253ac()),N(this,_0x1e062d(0x34d),this[_0x1e062d(0x38e)][_0x1e062d(0xd0)]()),(this[_0x1e062d(0x351)]=_0x1e5816,this[_0x1e062d(0xc6)]=_0x1c341f,this[_0x1e062d(0x1f8)]=_0x3b09ac,this[_0x1e062d(0x1b7)]());}[_0x4ddb2a(0x385)](){var _0x3197f7=_0x4ddb2a;super['dispose'](),this['_entities']['forEach'](_0xa666b2=>_0xa666b2['dispose']()),this[_0x3197f7(0x1a7)]['clear']();}[_0x4ddb2a(0x113)](_0x44d715){var _0x1c94d1=_0x4ddb2a,_0x42d23d;return(_0x42d23d=this[_0x1c94d1(0x1a7)][_0x1c94d1(0x31e)](_0x44d715))!=null?_0x42d23d:null;}[_0x4ddb2a(0x33b)](_0xe11d1){var _0x40890f=_0x4ddb2a;const _0x1c840d=this[_0x40890f(0x113)](_0xe11d1);return _0x1c840d?_0x24adb5(_0x1c840d):this[_0x40890f(0x38e)][_0x40890f(0x2ec)](_0x3f7eea(_0x12d5cf=>_0x12d5cf[_0x40890f(0x287)]===_0xe11d1));}['readyForCollab'](_0x55dbf6){var _0xa91477=_0x4ddb2a;return _0x382eb9(this['getCollabEntity$'](_0x55dbf6)[_0xa91477(0x2ec)](_0x1f6c6b(()=>{})));}[_0x4ddb2a(0x1b7)](){var _0x19ca34=_0x4ddb2a;this[_0x19ca34(0x1f8)]['getTypeOfUnitAdded$'](_0x4eef2e[_0x19ca34(0x30c)])[_0x19ca34(0x2ec)](_0x3fee66(this[_0x19ca34(0x38f)]),_0xdd6934(0x10))[_0x19ca34(0x182)](async _0x2d1bff=>{var _0x40243c=_0x19ca34;const _0x875f5f=_0x2d1bff['getUnitId'](),_0x24690b=await this['_startCollaboration'](_0x875f5f,Q['UNIVER_SHEET']);this[_0x40243c(0x1a7)][_0x40243c(0x201)](_0x875f5f,_0x24690b);}),this[_0x19ca34(0x1f8)][_0x19ca34(0x339)](_0x4eef2e[_0x19ca34(0x200)])[_0x19ca34(0x2ec)](_0x3fee66(this[_0x19ca34(0x38f)]),_0xdd6934(0x10))[_0x19ca34(0x2ec)](_0x3f7eea(_0x416f40=>!_0x416f40[_0x19ca34(0xa8)]()[_0x19ca34(0x20b)]('__')))[_0x19ca34(0x182)](async _0x1dcb34=>{var _0x1d9f72=_0x19ca34;const _0x130f71=_0x1dcb34[_0x1d9f72(0xa8)](),_0x52bed0=await this[_0x1d9f72(0x1d7)](_0x130f71,Q[_0x1d9f72(0x200)]);this[_0x1d9f72(0x1a7)][_0x1d9f72(0x201)](_0x130f71,_0x52bed0);}),_0x1647c2(this[_0x19ca34(0x1f8)][_0x19ca34(0x235)](_0x4eef2e[_0x19ca34(0x30c)]),this[_0x19ca34(0x1f8)][_0x19ca34(0x235)](_0x4eef2e[_0x19ca34(0x200)]))['pipe'](_0x3fee66(this[_0x19ca34(0x38f)]))['subscribe'](_0x46a80e=>{var _0x587b76=_0x19ca34;const _0x34f843=_0x46a80e[_0x587b76(0xa8)](),_0x41e216=this[_0x587b76(0x1a7)][_0x587b76(0x31e)](_0x34f843);_0x41e216&&(_0x41e216['dispose'](),this[_0x587b76(0x1a7)][_0x587b76(0x13b)](_0x34f843));});}async[_0x4ddb2a(0x1d7)](_0x289ded,_0x3b084e){var _0x57c6c4=_0x4ddb2a;const _0xd53122=await this[_0x57c6c4(0xc6)][_0x57c6c4(0x227)](_0x289ded),_0x24a924=this[_0x57c6c4(0x351)][_0x57c6c4(0x2a9)](this[_0x57c6c4(0xcd)](_0x3b084e),_0x289ded,_0x3b084e,_0xd53122);return await _0x24a924[_0x57c6c4(0x219)](),this[_0x57c6c4(0x38e)][_0x57c6c4(0x1be)](_0x24a924),_0x24a924;}['_getCtorByUniverType'](_0x59ef3d){var _0x291df7=_0x4ddb2a;switch(_0x59ef3d){case Q[_0x291df7(0x200)]:return It;case Q[_0x291df7(0x30c)]:return Tt;default:throw new Error(_0x291df7(0x367)+_0x59ef3d);}}};rt=cr([ft(0x0,_0x50ea96(_0x1c360b)),ft(0x1,_0x50ea96(Le)),ft(0x2,_0x42df50)],rt);var hr=Object[_0x4ddb2a(0x1d0)],_r=(_0x4b9537,_0x14cc54,_0x1034d4,_0x32ba0b)=>{var _0x3aaf1d=_0x4ddb2a;for(var _0x24973a=_0x32ba0b>0x1?void 0x0:_0x32ba0b?hr(_0x14cc54,_0x1034d4):_0x14cc54,_0x107f11=_0x4b9537[_0x3aaf1d(0x108)]-0x1,_0x18c200;_0x107f11>=0x0;_0x107f11--)(_0x18c200=_0x4b9537[_0x107f11])&&(_0x24973a=_0x18c200(_0x24973a)||_0x24973a);return _0x24973a;},zt=(_0xfbcab6,_0x402c1d)=>(_0x36c6bf,_0x2555f1)=>_0x402c1d(_0x36c6bf,_0x2555f1,_0xfbcab6);const lr=_0x4ddb2a(0x16e),ur=_0x4ddb2a(0x238);function _0x5161(_0x2ef7a5,_0x1e02aa){var _0x37501e=_0x3750();return _0x5161=function(_0x516142,_0x2588e9){_0x516142=_0x516142-0xa1;var _0x13d930=_0x37501e[_0x516142];return _0x13d930;},_0x5161(_0x2ef7a5,_0x1e02aa);}let Ct=class extends _0x205f17{constructor(_0x5bd6c5,_0x1ec4fc){var _0x52119d=_0x4ddb2a;super(),this['_univerInstanceService']=_0x5bd6c5,this[_0x52119d(0x191)]=_0x1ec4fc,this[_0x52119d(0x1b7)]();}['_init'](){var _0x27aff9=_0x4ddb2a;this[_0x27aff9(0x125)](this['_univerInstanceService'][_0x27aff9(0x391)][_0x27aff9(0x182)](()=>{var _0x1b9728=_0x27aff9,_0x35eb6c;const _0x5b8f8b=this[_0x1b9728(0x1f8)][_0x1b9728(0x399)]();let _0x306111=(_0x35eb6c=this[_0x1b9728(0x191)][_0x1b9728(0x127)](lr))!=null?_0x35eb6c:ur;_0x5b8f8b instanceof _0x55a7f7&&(_0x306111=_0x5b8f8b['name']),document[_0x1b9728(0xda)]=_0x306111;}));}};Ct=_r([zt(0x0,_0x42df50),zt(0x1,_0x249369)],Ct);var dr=Object[_0x4ddb2a(0x1d0)],fr=(_0x315ee2,_0x271bb6,_0x2977f4,_0xf57294)=>{var _0x5cc01f=_0x4ddb2a;for(var _0x23dbc5=_0xf57294>0x1?void 0x0:_0xf57294?dr(_0x271bb6,_0x2977f4):_0x271bb6,_0x2fbe62=_0x315ee2[_0x5cc01f(0x108)]-0x1,_0xaf07f;_0x2fbe62>=0x0;_0x2fbe62--)(_0xaf07f=_0x315ee2[_0x2fbe62])&&(_0x23dbc5=_0xaf07f(_0x23dbc5)||_0x23dbc5);return _0x23dbc5;},vt=(_0x498b2b,_0x59675c)=>(_0x3d03dc,_0x239523)=>_0x59675c(_0x3d03dc,_0x239523,_0x498b2b);let st=class{constructor(_0x10faf1,_0x2d2a92,_0xedeb07){var _0x175f07=_0x4ddb2a;this['_configService']=_0x10faf1,this[_0x175f07(0x1af)]=_0x2d2a92,this[_0x175f07(0xd5)]=_0xedeb07,this[_0x175f07(0x219)]();}[_0x4ddb2a(0x219)](){var _0x414104=_0x4ddb2a;this[_0x414104(0x1af)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2cb6f4,_0x56a628)=>_0x56a628(_0x2cb6f4)['pipe'](_0x4121a0(async _0x4657ac=>{var _0xee791a=_0x414104;const _0x1b12b4=_0x4657ac;if(_0x1b12b4[_0xee791a(0xbe)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0xee791a(0xd5)]['t'](_0xee791a(0x2d7)))){const _0x24ac6e=window[_0xee791a(0x270)](window[_0xee791a(0x150)][_0xee791a(0x39b)]);window[_0xee791a(0x150)][_0xee791a(0x39b)]=this[_0xee791a(0x16f)]()+'?url='+_0x24ac6e;}}return _0x1b12b4;}))});}[_0x4ddb2a(0x16f)](){var _0x4e4b6c=_0x4ddb2a,_0x1fd6d4,_0x29a8b5;const _0x3c3eb4=this[_0x4e4b6c(0x191)]['getConfig'](Un),_0x313623=this[_0x4e4b6c(0x191)][_0x4e4b6c(0x127)](q);return(_0x29a8b5=(_0x1fd6d4=_0x313623==null?void 0x0:_0x313623[_0x4e4b6c(0x144)])!=null?_0x1fd6d4:_0x3c3eb4)!=null?_0x29a8b5:wn;}};st=fr([vt(0x0,_0x249369),vt(0x1,_0x50ea96(_0x1872c5)),vt(0x2,_0x50ea96(_0x292edd))],st);var vr=Object[_0x4ddb2a(0x1d0)],pr=(_0x2b20ef,_0x2f7351,_0x2e0019,_0x5bfed2)=>{var _0x214b49=_0x4ddb2a;for(var _0x34036b=_0x5bfed2>0x1?void 0x0:_0x5bfed2?vr(_0x2f7351,_0x2e0019):_0x2f7351,_0x317c04=_0x2b20ef[_0x214b49(0x108)]-0x1,_0x591589;_0x317c04>=0x0;_0x317c04--)(_0x591589=_0x2b20ef[_0x317c04])&&(_0x34036b=_0x591589(_0x34036b)||_0x34036b);return _0x34036b;},Jt=(_0x15dd79,_0x10db08)=>(_0x23f62a,_0x10ce87)=>_0x10db08(_0x23f62a,_0x10ce87,_0x15dd79);const Ni=_0x4ddb2a(0xf7),mr=_0x4ddb2a(0x294);let Rt=class extends _0x205f17{constructor(_0x3a952c,_0x5001d2){var _0x22beaf=_0x4ddb2a;super(),this[_0x22beaf(0x387)]=_0x3a952c,this[_0x22beaf(0x191)]=_0x5001d2,this[_0x22beaf(0x176)]();}[_0x4ddb2a(0x176)](){var _0x5b8138=_0x4ddb2a;const _0x37c421=this;this[_0x5b8138(0x125)](this[_0x5b8138(0x387)][_0x5b8138(0x365)]({'priority':0x3e7,'interceptor':_0x563612({'isMatch'(_0x248160){var _0x4e33c5=_0x5b8138,_0x4e32f2;if(_0x248160[_0x4e33c5(0x1ca)]===_0x4e33c5(0x105)&&((_0x4e32f2=_0x248160['requestParams'])!=null&&_0x4e32f2[_0x4e33c5(0x1d5)])){const {objectID:_0xe9e033,objectType:_0x4fdd55}=_0x248160[_0x4e33c5(0x39e)]['body']||{};if(!_0xe9e033||_0x4fdd55===void 0x0)return!0x1;const _0x4322c6=_0x37c421[_0x4e33c5(0x26e)]()+'/'+_0x4fdd55+_0x4e33c5(0x203)+_0xe9e033+'/allowed';if(_0x248160['url']===_0x4322c6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3786a1){var _0x1a231a=_0x5b8138,_0x508ac1;return(_0x508ac1=_0x3786a1[_0x1a231a(0x39e)])==null?void 0x0:_0x508ac1[_0x1a231a(0x1d5)];},'mergeParamsToRequest'(_0x2a6569,_0x798322){var _0x2f292b=_0x5b8138;const _0x549f79=_0x37c421['_getAPIPrefixPath']()+_0x2f292b(0xc0),_0x357628=_0x2a6569[_0x2f292b(0x103)]((_0x167950,_0x1e77d1)=>{var _0x4fccee=_0x2f292b;const {unitID:_0x519b76,objectID:_0x443e93,objectType:_0x2bd6d9,actions:_0x5cded4}=_0x1e77d1;return _0x167950[_0x519b76]||(_0x167950[_0x519b76]={}),_0x167950[_0x519b76][_0x443e93]||(_0x167950[_0x519b76][_0x443e93]={'objectID':_0x443e93,'objectType':_0x2bd6d9,'actions':[]}),_0x167950[_0x519b76][_0x443e93][_0x4fccee(0x166)][_0x4fccee(0x317)](..._0x5cded4),_0x167950;},{}),_0x2d63a9=[];for(const _0x191a8e in _0x357628)for(const _0x6fcfb3 in _0x357628[_0x191a8e]){const {actions:_0x2e5fe0,objectType:_0x46b42c}=_0x357628[_0x191a8e][_0x6fcfb3],_0x367170=[...new Set(_0x2e5fe0)];_0x2d63a9[_0x2f292b(0x317)]({'unitID':_0x191a8e,'objectID':_0x6fcfb3,'objectType':_0x46b42c,'actions':_0x367170});}return new _0x1187a2(_0x2f292b(0x105),_0x549f79,{'headers':_0x798322['headers'],'withCredentials':_0x798322['withCredentials'],'responseType':_0x798322[_0x2f292b(0x22d)],'body':{'requests':_0x2d63a9}});}},{'distributeResult'(_0xe8cfc3,_0x25e044){var _0x54c7e7=_0x5b8138;const {objectActions:_0x37e4f3}=_0xe8cfc3;return _0x25e044[_0x54c7e7(0x172)](_0x511e51=>{var _0x1eaa5c=_0x54c7e7;const {unitID:_0x181b1f,objectID:_0x503265,actions:_0x155867}=_0x511e51,_0x59558b=_0x37e4f3[_0x1eaa5c(0x2f7)](_0x30d2b5=>_0x30d2b5['unitID']===_0x181b1f&&_0x30d2b5[_0x1eaa5c(0x1ed)]===_0x503265),_0x46d6fd=_0x155867[_0x1eaa5c(0x172)](_0x1e7f29=>_0x59558b==null?void 0x0:_0x59558b['actions'][_0x1eaa5c(0x2f7)](_0xe62e95=>_0xe62e95['action']===_0x1e7f29))['filter'](_0x1b0bb7=>!!_0x1b0bb7);return{'config':_0x511e51,'result':{'actions':_0x46d6fd,'error':_0xe8cfc3[_0x1eaa5c(0x211)]}};});}})}));}[_0x4ddb2a(0x26e)](){var _0x4e63c0=_0x4ddb2a,_0x5861d3,_0x375d07;const _0x43d7aa=this['_configService']['getConfig'](Ni),_0x33ae1b=this['_configService']['getConfig'](q);return(_0x375d07=(_0x5861d3=_0x33ae1b==null?void 0x0:_0x33ae1b[_0x4e63c0(0x37f)])!=null?_0x5861d3:_0x43d7aa)!=null?_0x375d07:mr;}async[_0x4ddb2a(0x1b1)](_0x3b7575){var _0x917439=_0x4ddb2a;const _0x222c3a=this['_getAPIPrefixPath']()+'/'+_0x3b7575[_0x917439(0x2f4)]+_0x917439(0x389);return(await this['_HTTPService'][_0x917439(0x1cf)](_0x222c3a,{'body':_0x3b7575}))[_0x917439(0x1d5)][_0x917439(0x1ed)]||'';}async['list'](_0x48d4bf){var _0xeec073=_0x4ddb2a;const _0x34d848=this[_0xeec073(0x26e)]()+'/-/object/list';return(await this[_0xeec073(0x387)][_0xeec073(0x1cf)](_0x34d848,{'body':_0x48d4bf}))['body'][_0xeec073(0x2af)];}async[_0x4ddb2a(0x12f)](_0x245796){var _0x2d13a4=_0x4ddb2a,_0x36b8bf,_0x5a68dd;const _0x564487=this[_0x2d13a4(0x26e)]()+'/'+_0x245796[_0x2d13a4(0x2f4)]+_0x2d13a4(0x203)+_0x245796[_0x2d13a4(0x1ed)],_0x3a3b30=await this[_0x2d13a4(0x387)][_0x2d13a4(0x132)](_0x564487,{'body':_0x245796});if(((_0x5a68dd=(_0x36b8bf=_0x3a3b30==null?void 0x0:_0x3a3b30[_0x2d13a4(0x1d5)])==null?void 0x0:_0x36b8bf['error'])==null?void 0x0:_0x5a68dd[_0x2d13a4(0x126)])!==0x0)throw new Error(_0x2d13a4(0x2ed));}async[_0x4ddb2a(0x2c6)](_0x4224c6){var _0x2b8d7f=_0x4ddb2a;const _0x3b69aa=this[_0x2b8d7f(0x26e)]()+'/'+_0x4224c6[_0x2b8d7f(0x2f4)]+_0x2b8d7f(0x203)+_0x4224c6['objectID']+'/allowed';return(await this[_0x2b8d7f(0x387)]['post'](_0x3b69aa,{'body':_0x4224c6}))[_0x2b8d7f(0x1d5)][_0x2b8d7f(0x166)];}async[_0x4ddb2a(0x20d)](_0x4a1e99){var _0xd262a6=_0x4ddb2a;const _0x18caa8=this[_0xd262a6(0x26e)]()+_0xd262a6(0xc0);return(await this[_0xd262a6(0x387)]['post'](_0x18caa8,{'body':{'requests':_0x4a1e99}}))[_0xd262a6(0x1d5)][_0xd262a6(0x13c)];}async[_0x4ddb2a(0x250)](_0xef6515){var _0xcf0a2=_0x4ddb2a;const _0x13a210=this[_0xcf0a2(0x26e)]()+'/'+_0xef6515[_0xcf0a2(0x2f4)]+_0xcf0a2(0x1a6),_0x2e6481=await this[_0xcf0a2(0x387)][_0xcf0a2(0x1cf)](_0x13a210,{'body':_0xef6515});return{'roles':_0x2e6481[_0xcf0a2(0x1d5)][_0xcf0a2(0x1b4)],'actions':_0x2e6481[_0xcf0a2(0x1d5)][_0xcf0a2(0x166)]};}async[_0x4ddb2a(0x153)](_0x4c6879){var _0x1b923d=_0x4ddb2a;const _0x4de792=this[_0x1b923d(0x26e)]()+'/collaborator';await this[_0x1b923d(0x387)][_0x1b923d(0x13b)](_0x4de792,{'params':{'collaboratorID':_0x4c6879['collaboratorID'],'objectID':_0x4c6879[_0x1b923d(0x1ed)],'unitID':_0x4c6879[_0x1b923d(0x287)]}});}async[_0x4ddb2a(0x281)](_0xbeebff){var _0x24a45e=_0x4ddb2a;const _0x1efca1=this['_getAPIPrefixPath']()+_0x24a45e(0x318);await this[_0x24a45e(0x387)][_0x24a45e(0x228)](_0x1efca1,{'body':_0xbeebff});}async[_0x4ddb2a(0x111)](_0x24a947){var _0x57a175=_0x4ddb2a;const _0x944d3a=this[_0x57a175(0x26e)]()+_0x57a175(0x318);await this[_0x57a175(0x387)]['post'](_0x944d3a,{'body':_0x24a947});}async['listCollaborators'](_0x263d8f){var _0x33eb47=_0x4ddb2a;const _0x2c579d=this[_0x33eb47(0x26e)]()+_0x33eb47(0x318);return(await this[_0x33eb47(0x387)][_0x33eb47(0x31e)](_0x2c579d,{'params':{'objectID':_0x263d8f['objectID'],'unitID':_0x263d8f[_0x33eb47(0x287)]}}))[_0x33eb47(0x1d5)][_0x33eb47(0x215)];}async['putCollaborators'](_0x4111e6){var _0x19b7af=_0x4ddb2a;const _0x5d03ae=this['_getAPIPrefixPath']()+_0x19b7af(0x318);await this[_0x19b7af(0x387)][_0x19b7af(0x132)](_0x5d03ae,{'body':_0x4111e6});}};Rt=pr([Jt(0x0,_0x50ea96(_0x1872c5)),Jt(0x1,_0x50ea96(_0x249369))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x563187){var _0x57337e=_0x4ddb2a;return _0x563187&&_0x563187[_0x57337e(0x246)]&&Object[_0x57337e(0x345)]['hasOwnProperty'][_0x57337e(0x1e2)](_0x563187,_0x57337e(0xfb))?_0x563187[_0x57337e(0xfb)]:_0x563187;}var Ve={'exports':{}};function gr(_0x2ee4de){var _0xd01d5b=_0x4ddb2a;throw new Error(_0xd01d5b(0x33a)+_0x2ee4de+_0xd01d5b(0x2c0));}var Ge={'exports':{}},Sr=Ge[_0x4ddb2a(0x22a)],Xt;function ie(){var _0x234f72=_0x4ddb2a;return Xt||(Xt=0x1,function(_0x516f08,_0x5d1553){(function(_0x39338b,_0x138383){_0x516f08['exports']=_0x138383();}(Sr,function(){var _0x2e41d6=_0x2e41d6||function(_0x18bb0e,_0x17b4aa){var _0x3773a2=_0x5161,_0x2309a1;if(typeof window<'u'&&window[_0x3773a2(0x2c3)]&&(_0x2309a1=window[_0x3773a2(0x2c3)]),typeof self<'u'&&self[_0x3773a2(0x2c3)]&&(_0x2309a1=self[_0x3773a2(0x2c3)]),typeof globalThis<'u'&&globalThis[_0x3773a2(0x2c3)]&&(_0x2309a1=globalThis['crypto']),!_0x2309a1&&typeof window<'u'&&window[_0x3773a2(0x284)]&&(_0x2309a1=window[_0x3773a2(0x284)]),!_0x2309a1&&typeof pt<'u'&&pt[_0x3773a2(0x2c3)]&&(_0x2309a1=pt[_0x3773a2(0x2c3)]),!_0x2309a1&&typeof gr==_0x3773a2(0x2b3))try{_0x2309a1=require('crypto');}catch{}var _0x34c44b=function(){var _0x59f306=_0x3773a2;if(_0x2309a1){if(typeof _0x2309a1[_0x59f306(0x1a9)]==_0x59f306(0x2b3))try{return _0x2309a1[_0x59f306(0x1a9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2309a1['randomBytes']=='function')try{return _0x2309a1[_0x59f306(0x31c)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x59f306(0x28b));},_0x40c7d3=Object['create']||(function(){function _0x10bbe5(){}return function(_0x11c94d){var _0xe7377d=_0x5161,_0x743150;return _0x10bbe5[_0xe7377d(0x345)]=_0x11c94d,_0x743150=new _0x10bbe5(),_0x10bbe5[_0xe7377d(0x345)]=null,_0x743150;};}()),_0x3b3154={},_0x55a951=_0x3b3154[_0x3773a2(0x26c)]={},_0x32356f=_0x55a951['Base']=(function(){return{'extend':function(_0x27d5cf){var _0x1d5479=_0x5161,_0x3a9a00=_0x40c7d3(this);return _0x27d5cf&&_0x3a9a00[_0x1d5479(0x379)](_0x27d5cf),(!_0x3a9a00[_0x1d5479(0x17d)](_0x1d5479(0x219))||this[_0x1d5479(0x219)]===_0x3a9a00['init'])&&(_0x3a9a00[_0x1d5479(0x219)]=function(){var _0x2a95ff=_0x1d5479;_0x3a9a00[_0x2a95ff(0x321)][_0x2a95ff(0x219)][_0x2a95ff(0x1e1)](this,arguments);}),_0x3a9a00[_0x1d5479(0x219)][_0x1d5479(0x345)]=_0x3a9a00,_0x3a9a00[_0x1d5479(0x321)]=this,_0x3a9a00;},'create':function(){var _0x4aaeed=_0x5161,_0x5c306d=this[_0x4aaeed(0xbf)]();return _0x5c306d[_0x4aaeed(0x219)][_0x4aaeed(0x1e1)](_0x5c306d,arguments),_0x5c306d;},'init':function(){},'mixIn':function(_0x1656f0){var _0x469f38=_0x5161;for(var _0x558ff2 in _0x1656f0)_0x1656f0[_0x469f38(0x17d)](_0x558ff2)&&(this[_0x558ff2]=_0x1656f0[_0x558ff2]);_0x1656f0[_0x469f38(0x17d)](_0x469f38(0x134))&&(this[_0x469f38(0x134)]=_0x1656f0[_0x469f38(0x134)]);},'clone':function(){var _0x28fc25=_0x5161;return this[_0x28fc25(0x219)]['prototype'][_0x28fc25(0xbf)](this);}};}()),_0x2ded22=_0x55a951['WordArray']=_0x32356f['extend']({'init':function(_0x18c504,_0x16a7d6){var _0x3ed45f=_0x3773a2;_0x18c504=this['words']=_0x18c504||[],_0x16a7d6!=_0x17b4aa?this['sigBytes']=_0x16a7d6:this[_0x3ed45f(0xa4)]=_0x18c504[_0x3ed45f(0x108)]*0x4;},'toString':function(_0x59fcba){return(_0x59fcba||_0x4e0121)['stringify'](this);},'concat':function(_0x11ab71){var _0x1085f9=_0x3773a2,_0x5585e8=this['words'],_0x3f5ff7=_0x11ab71[_0x1085f9(0x383)],_0x9e795f=this[_0x1085f9(0xa4)],_0x262548=_0x11ab71['sigBytes'];if(this[_0x1085f9(0x2dc)](),_0x9e795f%0x4)for(var _0x531179=0x0;_0x531179<_0x262548;_0x531179++){var _0x5316eb=_0x3f5ff7[_0x531179>>>0x2]>>>0x18-_0x531179%0x4*0x8&0xff;_0x5585e8[_0x9e795f+_0x531179>>>0x2]|=_0x5316eb<<0x18-(_0x9e795f+_0x531179)%0x4*0x8;}else{for(var _0x1d36fc=0x0;_0x1d36fc<_0x262548;_0x1d36fc+=0x4)_0x5585e8[_0x9e795f+_0x1d36fc>>>0x2]=_0x3f5ff7[_0x1d36fc>>>0x2];}return this[_0x1085f9(0xa4)]+=_0x262548,this;},'clamp':function(){var _0x56b28a=_0x3773a2,_0x333e45=this[_0x56b28a(0x383)],_0x3f64ca=this[_0x56b28a(0xa4)];_0x333e45[_0x3f64ca>>>0x2]&=0xffffffff<<0x20-_0x3f64ca%0x4*0x8,_0x333e45[_0x56b28a(0x108)]=_0x18bb0e[_0x56b28a(0x159)](_0x3f64ca/0x4);},'clone':function(){var _0x42da22=_0x3773a2,_0x5ce6e6=_0x32356f[_0x42da22(0xcf)][_0x42da22(0x1e2)](this);return _0x5ce6e6[_0x42da22(0x383)]=this[_0x42da22(0x383)][_0x42da22(0xf3)](0x0),_0x5ce6e6;},'random':function(_0x5e5afc){var _0x80b31e=_0x3773a2;for(var _0x509c87=[],_0x4d5037=0x0;_0x4d5037<_0x5e5afc;_0x4d5037+=0x4)_0x509c87[_0x80b31e(0x317)](_0x34c44b());return new _0x2ded22[(_0x80b31e(0x219))](_0x509c87,_0x5e5afc);}}),_0x2141b7=_0x3b3154['enc']={},_0x4e0121=_0x2141b7[_0x3773a2(0x11d)]={'stringify':function(_0x1ebade){var _0x292b09=_0x3773a2;for(var _0x3a4403=_0x1ebade[_0x292b09(0x383)],_0x561b39=_0x1ebade[_0x292b09(0xa4)],_0x12907b=[],_0x55c5e9=0x0;_0x55c5e9<_0x561b39;_0x55c5e9++){var _0x289328=_0x3a4403[_0x55c5e9>>>0x2]>>>0x18-_0x55c5e9%0x4*0x8&0xff;_0x12907b[_0x292b09(0x317)]((_0x289328>>>0x4)[_0x292b09(0x134)](0x10)),_0x12907b['push']((_0x289328&0xf)[_0x292b09(0x134)](0x10));}return _0x12907b[_0x292b09(0x2fb)]('');},'parse':function(_0x5569d1){var _0x4f3789=_0x3773a2;for(var _0x5d8fe6=_0x5569d1[_0x4f3789(0x108)],_0x39295b=[],_0x1fb189=0x0;_0x1fb189<_0x5d8fe6;_0x1fb189+=0x2)_0x39295b[_0x1fb189>>>0x3]|=parseInt(_0x5569d1[_0x4f3789(0x15d)](_0x1fb189,0x2),0x10)<<0x18-_0x1fb189%0x8*0x4;return new _0x2ded22[(_0x4f3789(0x219))](_0x39295b,_0x5d8fe6/0x2);}},_0x4ae373=_0x2141b7[_0x3773a2(0x273)]={'stringify':function(_0x36e322){var _0x25601e=_0x3773a2;for(var _0xa92443=_0x36e322[_0x25601e(0x383)],_0x101dab=_0x36e322['sigBytes'],_0x136267=[],_0x27b852=0x0;_0x27b852<_0x101dab;_0x27b852++){var _0x1ff176=_0xa92443[_0x27b852>>>0x2]>>>0x18-_0x27b852%0x4*0x8&0xff;_0x136267['push'](String['fromCharCode'](_0x1ff176));}return _0x136267[_0x25601e(0x2fb)]('');},'parse':function(_0x202f6a){var _0x271425=_0x3773a2;for(var _0x19f839=_0x202f6a[_0x271425(0x108)],_0x48af3c=[],_0x4d075e=0x0;_0x4d075e<_0x19f839;_0x4d075e++)_0x48af3c[_0x4d075e>>>0x2]|=(_0x202f6a['charCodeAt'](_0x4d075e)&0xff)<<0x18-_0x4d075e%0x4*0x8;return new _0x2ded22[(_0x271425(0x219))](_0x48af3c,_0x19f839);}},_0x444e52=_0x2141b7[_0x3773a2(0x395)]={'stringify':function(_0x2909c7){var _0xb2d92a=_0x3773a2;try{return decodeURIComponent(escape(_0x4ae373[_0xb2d92a(0x162)](_0x2909c7)));}catch{throw new Error(_0xb2d92a(0x229));}},'parse':function(_0x1d36f7){var _0xce6aa0=_0x3773a2;return _0x4ae373[_0xce6aa0(0xe7)](unescape(encodeURIComponent(_0x1d36f7)));}},_0x511764=_0x55a951[_0x3773a2(0x1c6)]=_0x32356f[_0x3773a2(0xbf)]({'reset':function(){var _0x2b2615=_0x3773a2;this[_0x2b2615(0x130)]=new _0x2ded22['init'](),this[_0x2b2615(0x292)]=0x0;},'_append':function(_0xa8ca6c){var _0x58d15c=_0x3773a2;typeof _0xa8ca6c=='string'&&(_0xa8ca6c=_0x444e52[_0x58d15c(0xe7)](_0xa8ca6c)),this[_0x58d15c(0x130)][_0x58d15c(0x261)](_0xa8ca6c),this['_nDataBytes']+=_0xa8ca6c[_0x58d15c(0xa4)];},'_process':function(_0x378e60){var _0x38cf02=_0x3773a2,_0x4169a4,_0x1637e7=this[_0x38cf02(0x130)],_0x549c94=_0x1637e7[_0x38cf02(0x383)],_0x15080e=_0x1637e7[_0x38cf02(0xa4)],_0x645c88=this[_0x38cf02(0x2ab)],_0xff7925=_0x645c88*0x4,_0x1ab879=_0x15080e/_0xff7925;_0x378e60?_0x1ab879=_0x18bb0e[_0x38cf02(0x159)](_0x1ab879):_0x1ab879=_0x18bb0e[_0x38cf02(0x306)]((_0x1ab879|0x0)-this[_0x38cf02(0x204)],0x0);var _0x1fd6f4=_0x1ab879*_0x645c88,_0x3b1850=_0x18bb0e['min'](_0x1fd6f4*0x4,_0x15080e);if(_0x1fd6f4){for(var _0x1d5314=0x0;_0x1d5314<_0x1fd6f4;_0x1d5314+=_0x645c88)this[_0x38cf02(0x353)](_0x549c94,_0x1d5314);_0x4169a4=_0x549c94[_0x38cf02(0xb4)](0x0,_0x1fd6f4),_0x1637e7[_0x38cf02(0xa4)]-=_0x3b1850;}return new _0x2ded22[(_0x38cf02(0x219))](_0x4169a4,_0x3b1850);},'clone':function(){var _0x2dffdf=_0x3773a2,_0xe368d4=_0x32356f['clone'][_0x2dffdf(0x1e2)](this);return _0xe368d4[_0x2dffdf(0x130)]=this['_data'][_0x2dffdf(0xcf)](),_0xe368d4;},'_minBufferSize':0x0});_0x55a951[_0x3773a2(0x340)]=_0x511764['extend']({'cfg':_0x32356f[_0x3773a2(0xbf)](),'init':function(_0x3fa983){var _0xfaf231=_0x3773a2;this[_0xfaf231(0x1a3)]=this[_0xfaf231(0x1a3)]['extend'](_0x3fa983),this[_0xfaf231(0x240)]();},'reset':function(){var _0x3e7792=_0x3773a2;_0x511764[_0x3e7792(0x240)][_0x3e7792(0x1e2)](this),this[_0x3e7792(0x1f2)]();},'update':function(_0x3aa20b){var _0x2e1267=_0x3773a2;return this[_0x2e1267(0x278)](_0x3aa20b),this[_0x2e1267(0x2d0)](),this;},'finalize':function(_0x246e49){var _0x302a27=_0x3773a2;_0x246e49&&this['_append'](_0x246e49);var _0x25ef3c=this[_0x302a27(0x1b5)]();return _0x25ef3c;},'blockSize':0x10,'_createHelper':function(_0x3a8872){return function(_0x3a7efc,_0x2cd6ba){var _0xbc52d=_0x5161;return new _0x3a8872[(_0xbc52d(0x219))](_0x2cd6ba)[_0xbc52d(0x2c9)](_0x3a7efc);};},'_createHmacHelper':function(_0x17f39b){return function(_0x44ae50,_0x5c9ddc){var _0x256e2a=_0x5161;return new _0x119210[(_0x256e2a(0x151))][(_0x256e2a(0x219))](_0x17f39b,_0x5c9ddc)[_0x256e2a(0x2c9)](_0x44ae50);};}});var _0x119210=_0x3b3154[_0x3773a2(0xff)]={};return _0x3b3154;}(Math);return _0x2e41d6;}));}(Ge)),Ge[_0x234f72(0x22a)];}var We={'exports':{}},Er=We[_0x4ddb2a(0x22a)],Zt;function Di(){var _0x21ba44=_0x4ddb2a;return Zt||(Zt=0x1,function(_0x1122c9,_0x4a6832){(function(_0x189ae9,_0x2132b1){_0x1122c9['exports']=_0x2132b1(ie());}(Er,function(_0x5c4c95){return(function(){var _0x51074f=_0x5161,_0x28e557=_0x5c4c95,_0x597ceb=_0x28e557[_0x51074f(0x26c)],_0x298581=_0x597ceb['WordArray'],_0x8a5fc6=_0x28e557['enc'];_0x8a5fc6[_0x51074f(0x195)]={'stringify':function(_0x3b6991){var _0x5ba7d5=_0x51074f,_0xf3cf87=_0x3b6991[_0x5ba7d5(0x383)],_0x477ae9=_0x3b6991[_0x5ba7d5(0xa4)],_0x2dc70a=this[_0x5ba7d5(0x1c2)];_0x3b6991[_0x5ba7d5(0x2dc)]();for(var _0x481d8f=[],_0xe9d63a=0x0;_0xe9d63a<_0x477ae9;_0xe9d63a+=0x3)for(var _0xb6029f=_0xf3cf87[_0xe9d63a>>>0x2]>>>0x18-_0xe9d63a%0x4*0x8&0xff,_0x5a5876=_0xf3cf87[_0xe9d63a+0x1>>>0x2]>>>0x18-(_0xe9d63a+0x1)%0x4*0x8&0xff,_0x1312df=_0xf3cf87[_0xe9d63a+0x2>>>0x2]>>>0x18-(_0xe9d63a+0x2)%0x4*0x8&0xff,_0x42c038=_0xb6029f<<0x10|_0x5a5876<<0x8|_0x1312df,_0x17a6dd=0x0;_0x17a6dd<0x4&&_0xe9d63a+_0x17a6dd*0.75<_0x477ae9;_0x17a6dd++)_0x481d8f[_0x5ba7d5(0x317)](_0x2dc70a[_0x5ba7d5(0x1c5)](_0x42c038>>>0x6*(0x3-_0x17a6dd)&0x3f));var _0x47be91=_0x2dc70a[_0x5ba7d5(0x1c5)](0x40);if(_0x47be91){for(;_0x481d8f[_0x5ba7d5(0x108)]%0x4;)_0x481d8f['push'](_0x47be91);}return _0x481d8f[_0x5ba7d5(0x2fb)]('');},'parse':function(_0x3c22ba){var _0x99b69a=_0x51074f,_0x3a35cf=_0x3c22ba[_0x99b69a(0x108)],_0x5c21fb=this[_0x99b69a(0x1c2)],_0x4b7015=this['_reverseMap'];if(!_0x4b7015){_0x4b7015=this[_0x99b69a(0x31a)]=[];for(var _0x54b73f=0x0;_0x54b73f<_0x5c21fb['length'];_0x54b73f++)_0x4b7015[_0x5c21fb[_0x99b69a(0x179)](_0x54b73f)]=_0x54b73f;}var _0x94bfe9=_0x5c21fb['charAt'](0x40);if(_0x94bfe9){var _0x5a1904=_0x3c22ba[_0x99b69a(0x390)](_0x94bfe9);_0x5a1904!==-0x1&&(_0x3a35cf=_0x5a1904);}return _0x15974e(_0x3c22ba,_0x3a35cf,_0x4b7015);},'_map':_0x51074f(0x21c)};function _0x15974e(_0x2c3a6f,_0x48b415,_0x49dbfd){var _0x12978e=_0x51074f;for(var _0x31f0f2=[],_0x30b3d7=0x0,_0x4cf70c=0x0;_0x4cf70c<_0x48b415;_0x4cf70c++)if(_0x4cf70c%0x4){var _0x24b87f=_0x49dbfd[_0x2c3a6f['charCodeAt'](_0x4cf70c-0x1)]<<_0x4cf70c%0x4*0x2,_0x555d1b=_0x49dbfd[_0x2c3a6f[_0x12978e(0x179)](_0x4cf70c)]>>>0x6-_0x4cf70c%0x4*0x2,_0x57d4b7=_0x24b87f|_0x555d1b;_0x31f0f2[_0x30b3d7>>>0x2]|=_0x57d4b7<<0x18-_0x30b3d7%0x4*0x8,_0x30b3d7++;}return _0x298581[_0x12978e(0x1b1)](_0x31f0f2,_0x30b3d7);}}()),_0x5c4c95['enc']['Base64'];}));}(We)),We[_0x21ba44(0x22a)];}var Ke={'exports':{}},Ir=Ke['exports'],Qt;function Tr(){var _0x19bf32=_0x4ddb2a;return Qt||(Qt=0x1,function(_0x3f8f17,_0x4ac6c9){(function(_0x532967,_0x1e8586){_0x3f8f17['exports']=_0x1e8586(ie());}(Ir,function(_0x120abc){var _0x5e7222=_0x5161;return function(_0x4e6b8c){var _0x2777e7=_0x5161,_0x2a79d7=_0x120abc,_0x255cae=_0x2a79d7[_0x2777e7(0x26c)],_0x455b5c=_0x255cae[_0x2777e7(0x348)],_0x432402=_0x255cae[_0x2777e7(0x340)],_0x48977e=_0x2a79d7[_0x2777e7(0xff)],_0x55e46c=[];(function(){var _0x16542a=_0x2777e7;for(var _0xc46214=0x0;_0xc46214<0x40;_0xc46214++)_0x55e46c[_0xc46214]=_0x4e6b8c[_0x16542a(0x382)](_0x4e6b8c[_0x16542a(0x1d2)](_0xc46214+0x1))*0x100000000|0x0;}());var _0x17b8d5=_0x48977e[_0x2777e7(0x22c)]=_0x432402[_0x2777e7(0xbf)]({'_doReset':function(){var _0x73241c=_0x2777e7;this['_hash']=new _0x455b5c[(_0x73241c(0x219))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x56c067,_0x480af4){var _0x155dc0=_0x2777e7;for(var _0x5d92d1=0x0;_0x5d92d1<0x10;_0x5d92d1++){var _0x40f480=_0x480af4+_0x5d92d1,_0x513e2c=_0x56c067[_0x40f480];_0x56c067[_0x40f480]=(_0x513e2c<<0x8|_0x513e2c>>>0x18)&0xff00ff|(_0x513e2c<<0x18|_0x513e2c>>>0x8)&0xff00ff00;}var _0x453a13=this[_0x155dc0(0x397)]['words'],_0x3bc3bf=_0x56c067[_0x480af4+0x0],_0x28511e=_0x56c067[_0x480af4+0x1],_0x1d912a=_0x56c067[_0x480af4+0x2],_0xd4881=_0x56c067[_0x480af4+0x3],_0x31cbcc=_0x56c067[_0x480af4+0x4],_0x2b8feb=_0x56c067[_0x480af4+0x5],_0x298479=_0x56c067[_0x480af4+0x6],_0x20b773=_0x56c067[_0x480af4+0x7],_0x34070f=_0x56c067[_0x480af4+0x8],_0x4736d8=_0x56c067[_0x480af4+0x9],_0x5a0276=_0x56c067[_0x480af4+0xa],_0x36814e=_0x56c067[_0x480af4+0xb],_0x1c8e04=_0x56c067[_0x480af4+0xc],_0x27c64b=_0x56c067[_0x480af4+0xd],_0x351628=_0x56c067[_0x480af4+0xe],_0x39eef2=_0x56c067[_0x480af4+0xf],_0xf3e75a=_0x453a13[0x0],_0xe10f79=_0x453a13[0x1],_0x2bbfc9=_0x453a13[0x2],_0x3bda1b=_0x453a13[0x3];_0xf3e75a=_0x47f129(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x3bc3bf,0x7,_0x55e46c[0x0]),_0x3bda1b=_0x47f129(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x28511e,0xc,_0x55e46c[0x1]),_0x2bbfc9=_0x47f129(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x1d912a,0x11,_0x55e46c[0x2]),_0xe10f79=_0x47f129(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xd4881,0x16,_0x55e46c[0x3]),_0xf3e75a=_0x47f129(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x31cbcc,0x7,_0x55e46c[0x4]),_0x3bda1b=_0x47f129(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x2b8feb,0xc,_0x55e46c[0x5]),_0x2bbfc9=_0x47f129(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x298479,0x11,_0x55e46c[0x6]),_0xe10f79=_0x47f129(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x20b773,0x16,_0x55e46c[0x7]),_0xf3e75a=_0x47f129(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x34070f,0x7,_0x55e46c[0x8]),_0x3bda1b=_0x47f129(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x4736d8,0xc,_0x55e46c[0x9]),_0x2bbfc9=_0x47f129(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x5a0276,0x11,_0x55e46c[0xa]),_0xe10f79=_0x47f129(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x36814e,0x16,_0x55e46c[0xb]),_0xf3e75a=_0x47f129(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x1c8e04,0x7,_0x55e46c[0xc]),_0x3bda1b=_0x47f129(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x27c64b,0xc,_0x55e46c[0xd]),_0x2bbfc9=_0x47f129(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x351628,0x11,_0x55e46c[0xe]),_0xe10f79=_0x47f129(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x39eef2,0x16,_0x55e46c[0xf]),_0xf3e75a=_0x3ab59c(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x28511e,0x5,_0x55e46c[0x10]),_0x3bda1b=_0x3ab59c(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x298479,0x9,_0x55e46c[0x11]),_0x2bbfc9=_0x3ab59c(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x36814e,0xe,_0x55e46c[0x12]),_0xe10f79=_0x3ab59c(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x3bc3bf,0x14,_0x55e46c[0x13]),_0xf3e75a=_0x3ab59c(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x2b8feb,0x5,_0x55e46c[0x14]),_0x3bda1b=_0x3ab59c(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x5a0276,0x9,_0x55e46c[0x15]),_0x2bbfc9=_0x3ab59c(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x39eef2,0xe,_0x55e46c[0x16]),_0xe10f79=_0x3ab59c(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x31cbcc,0x14,_0x55e46c[0x17]),_0xf3e75a=_0x3ab59c(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x4736d8,0x5,_0x55e46c[0x18]),_0x3bda1b=_0x3ab59c(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x351628,0x9,_0x55e46c[0x19]),_0x2bbfc9=_0x3ab59c(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0xd4881,0xe,_0x55e46c[0x1a]),_0xe10f79=_0x3ab59c(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x34070f,0x14,_0x55e46c[0x1b]),_0xf3e75a=_0x3ab59c(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x27c64b,0x5,_0x55e46c[0x1c]),_0x3bda1b=_0x3ab59c(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x1d912a,0x9,_0x55e46c[0x1d]),_0x2bbfc9=_0x3ab59c(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x20b773,0xe,_0x55e46c[0x1e]),_0xe10f79=_0x3ab59c(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x1c8e04,0x14,_0x55e46c[0x1f]),_0xf3e75a=_0x5907f7(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x2b8feb,0x4,_0x55e46c[0x20]),_0x3bda1b=_0x5907f7(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x34070f,0xb,_0x55e46c[0x21]),_0x2bbfc9=_0x5907f7(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x36814e,0x10,_0x55e46c[0x22]),_0xe10f79=_0x5907f7(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x351628,0x17,_0x55e46c[0x23]),_0xf3e75a=_0x5907f7(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x28511e,0x4,_0x55e46c[0x24]),_0x3bda1b=_0x5907f7(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x31cbcc,0xb,_0x55e46c[0x25]),_0x2bbfc9=_0x5907f7(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x20b773,0x10,_0x55e46c[0x26]),_0xe10f79=_0x5907f7(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x5a0276,0x17,_0x55e46c[0x27]),_0xf3e75a=_0x5907f7(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x27c64b,0x4,_0x55e46c[0x28]),_0x3bda1b=_0x5907f7(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bc3bf,0xb,_0x55e46c[0x29]),_0x2bbfc9=_0x5907f7(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0xd4881,0x10,_0x55e46c[0x2a]),_0xe10f79=_0x5907f7(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x298479,0x17,_0x55e46c[0x2b]),_0xf3e75a=_0x5907f7(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x4736d8,0x4,_0x55e46c[0x2c]),_0x3bda1b=_0x5907f7(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x1c8e04,0xb,_0x55e46c[0x2d]),_0x2bbfc9=_0x5907f7(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x39eef2,0x10,_0x55e46c[0x2e]),_0xe10f79=_0x5907f7(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x1d912a,0x17,_0x55e46c[0x2f]),_0xf3e75a=_0x552e12(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x3bc3bf,0x6,_0x55e46c[0x30]),_0x3bda1b=_0x552e12(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x20b773,0xa,_0x55e46c[0x31]),_0x2bbfc9=_0x552e12(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x351628,0xf,_0x55e46c[0x32]),_0xe10f79=_0x552e12(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x2b8feb,0x15,_0x55e46c[0x33]),_0xf3e75a=_0x552e12(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x1c8e04,0x6,_0x55e46c[0x34]),_0x3bda1b=_0x552e12(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0xd4881,0xa,_0x55e46c[0x35]),_0x2bbfc9=_0x552e12(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x5a0276,0xf,_0x55e46c[0x36]),_0xe10f79=_0x552e12(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x28511e,0x15,_0x55e46c[0x37]),_0xf3e75a=_0x552e12(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x34070f,0x6,_0x55e46c[0x38]),_0x3bda1b=_0x552e12(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x39eef2,0xa,_0x55e46c[0x39]),_0x2bbfc9=_0x552e12(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x298479,0xf,_0x55e46c[0x3a]),_0xe10f79=_0x552e12(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x27c64b,0x15,_0x55e46c[0x3b]),_0xf3e75a=_0x552e12(_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x3bda1b,_0x31cbcc,0x6,_0x55e46c[0x3c]),_0x3bda1b=_0x552e12(_0x3bda1b,_0xf3e75a,_0xe10f79,_0x2bbfc9,_0x36814e,0xa,_0x55e46c[0x3d]),_0x2bbfc9=_0x552e12(_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0xe10f79,_0x1d912a,0xf,_0x55e46c[0x3e]),_0xe10f79=_0x552e12(_0xe10f79,_0x2bbfc9,_0x3bda1b,_0xf3e75a,_0x4736d8,0x15,_0x55e46c[0x3f]),_0x453a13[0x0]=_0x453a13[0x0]+_0xf3e75a|0x0,_0x453a13[0x1]=_0x453a13[0x1]+_0xe10f79|0x0,_0x453a13[0x2]=_0x453a13[0x2]+_0x2bbfc9|0x0,_0x453a13[0x3]=_0x453a13[0x3]+_0x3bda1b|0x0;},'_doFinalize':function(){var _0x52c795=_0x2777e7,_0x3853d8=this[_0x52c795(0x130)],_0x34fe77=_0x3853d8['words'],_0x3ca309=this[_0x52c795(0x292)]*0x8,_0xa82f46=_0x3853d8['sigBytes']*0x8;_0x34fe77[_0xa82f46>>>0x5]|=0x80<<0x18-_0xa82f46%0x20;var _0x231afd=_0x4e6b8c[_0x52c795(0x256)](_0x3ca309/0x100000000),_0x475484=_0x3ca309;_0x34fe77[(_0xa82f46+0x40>>>0x9<<0x4)+0xf]=(_0x231afd<<0x8|_0x231afd>>>0x18)&0xff00ff|(_0x231afd<<0x18|_0x231afd>>>0x8)&0xff00ff00,_0x34fe77[(_0xa82f46+0x40>>>0x9<<0x4)+0xe]=(_0x475484<<0x8|_0x475484>>>0x18)&0xff00ff|(_0x475484<<0x18|_0x475484>>>0x8)&0xff00ff00,_0x3853d8[_0x52c795(0xa4)]=(_0x34fe77[_0x52c795(0x108)]+0x1)*0x4,this['_process']();for(var _0x28f3fb=this[_0x52c795(0x397)],_0x3936cb=_0x28f3fb[_0x52c795(0x383)],_0x310f85=0x0;_0x310f85<0x4;_0x310f85++){var _0x4ad0dc=_0x3936cb[_0x310f85];_0x3936cb[_0x310f85]=(_0x4ad0dc<<0x8|_0x4ad0dc>>>0x18)&0xff00ff|(_0x4ad0dc<<0x18|_0x4ad0dc>>>0x8)&0xff00ff00;}return _0x28f3fb;},'clone':function(){var _0x4c6d0a=_0x2777e7,_0x9662d1=_0x432402['clone'][_0x4c6d0a(0x1e2)](this);return _0x9662d1['_hash']=this[_0x4c6d0a(0x397)][_0x4c6d0a(0xcf)](),_0x9662d1;}});function _0x47f129(_0x193891,_0x3f6b23,_0x26a720,_0x3223ec,_0xef415c,_0xda7fb8,_0x38775a){var _0x18f776=_0x193891+(_0x3f6b23&_0x26a720|~_0x3f6b23&_0x3223ec)+_0xef415c+_0x38775a;return(_0x18f776<<_0xda7fb8|_0x18f776>>>0x20-_0xda7fb8)+_0x3f6b23;}function _0x3ab59c(_0x3501c8,_0x17f989,_0x31d74b,_0x4e86b0,_0x229e57,_0x193694,_0x3e3e30){var _0x9cb17f=_0x3501c8+(_0x17f989&_0x4e86b0|_0x31d74b&~_0x4e86b0)+_0x229e57+_0x3e3e30;return(_0x9cb17f<<_0x193694|_0x9cb17f>>>0x20-_0x193694)+_0x17f989;}function _0x5907f7(_0x220997,_0x114b6d,_0x5c42e5,_0x375086,_0x5df317,_0x2d7e69,_0x42495c){var _0x332cd7=_0x220997+(_0x114b6d^_0x5c42e5^_0x375086)+_0x5df317+_0x42495c;return(_0x332cd7<<_0x2d7e69|_0x332cd7>>>0x20-_0x2d7e69)+_0x114b6d;}function _0x552e12(_0x449fd4,_0x39f24c,_0x1aa472,_0x454615,_0x388c4c,_0x4e95a5,_0x8ac0b){var _0x20ddaa=_0x449fd4+(_0x1aa472^(_0x39f24c|~_0x454615))+_0x388c4c+_0x8ac0b;return(_0x20ddaa<<_0x4e95a5|_0x20ddaa>>>0x20-_0x4e95a5)+_0x39f24c;}_0x2a79d7[_0x2777e7(0x22c)]=_0x432402[_0x2777e7(0x255)](_0x17b8d5),_0x2a79d7[_0x2777e7(0x38b)]=_0x432402['_createHmacHelper'](_0x17b8d5);}(Math),_0x120abc[_0x5e7222(0x22c)];}));}(Ke)),Ke[_0x19bf32(0x22a)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x4ddb2a(0x22a)],ei;function Rr(){var _0xddca97=_0x4ddb2a;return ei||(ei=0x1,function(_0x52b0d3,_0x5a2daf){(function(_0x3bfe2a,_0x5c457f){var _0xc6fb40=_0x5161;_0x52b0d3[_0xc6fb40(0x22a)]=_0x5c457f(ie());}(Cr,function(_0x2f1a4a){var _0x3fd31b=_0x5161;return(function(){var _0x3056c6=_0x5161,_0x6543f6=_0x2f1a4a,_0x15f3c5=_0x6543f6['lib'],_0x3cad4b=_0x15f3c5['WordArray'],_0x35c713=_0x15f3c5[_0x3056c6(0x340)],_0x36470f=_0x6543f6[_0x3056c6(0xff)],_0x12be1e=[],_0x25bf40=_0x36470f[_0x3056c6(0x29e)]=_0x35c713[_0x3056c6(0xbf)]({'_doReset':function(){var _0x1306fb=_0x3056c6;this[_0x1306fb(0x397)]=new _0x3cad4b[(_0x1306fb(0x219))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x20b53b,_0x31270d){var _0x199974=_0x3056c6;for(var _0x3af9aa=this['_hash'][_0x199974(0x383)],_0x2fd079=_0x3af9aa[0x0],_0x55e100=_0x3af9aa[0x1],_0x69daa7=_0x3af9aa[0x2],_0x110e36=_0x3af9aa[0x3],_0x52ea51=_0x3af9aa[0x4],_0x4ba935=0x0;_0x4ba935<0x50;_0x4ba935++){if(_0x4ba935<0x10)_0x12be1e[_0x4ba935]=_0x20b53b[_0x31270d+_0x4ba935]|0x0;else{var _0x45a40e=_0x12be1e[_0x4ba935-0x3]^_0x12be1e[_0x4ba935-0x8]^_0x12be1e[_0x4ba935-0xe]^_0x12be1e[_0x4ba935-0x10];_0x12be1e[_0x4ba935]=_0x45a40e<<0x1|_0x45a40e>>>0x1f;}var _0x3e0854=(_0x2fd079<<0x5|_0x2fd079>>>0x1b)+_0x52ea51+_0x12be1e[_0x4ba935];_0x4ba935<0x14?_0x3e0854+=(_0x55e100&_0x69daa7|~_0x55e100&_0x110e36)+0x5a827999:_0x4ba935<0x28?_0x3e0854+=(_0x55e100^_0x69daa7^_0x110e36)+0x6ed9eba1:_0x4ba935<0x3c?_0x3e0854+=(_0x55e100&_0x69daa7|_0x55e100&_0x110e36|_0x69daa7&_0x110e36)-0x70e44324:_0x3e0854+=(_0x55e100^_0x69daa7^_0x110e36)-0x359d3e2a,_0x52ea51=_0x110e36,_0x110e36=_0x69daa7,_0x69daa7=_0x55e100<<0x1e|_0x55e100>>>0x2,_0x55e100=_0x2fd079,_0x2fd079=_0x3e0854;}_0x3af9aa[0x0]=_0x3af9aa[0x0]+_0x2fd079|0x0,_0x3af9aa[0x1]=_0x3af9aa[0x1]+_0x55e100|0x0,_0x3af9aa[0x2]=_0x3af9aa[0x2]+_0x69daa7|0x0,_0x3af9aa[0x3]=_0x3af9aa[0x3]+_0x110e36|0x0,_0x3af9aa[0x4]=_0x3af9aa[0x4]+_0x52ea51|0x0;},'_doFinalize':function(){var _0xcb1813=_0x3056c6,_0x427ce2=this[_0xcb1813(0x130)],_0x519042=_0x427ce2[_0xcb1813(0x383)],_0x39eb7a=this[_0xcb1813(0x292)]*0x8,_0x17e3bd=_0x427ce2[_0xcb1813(0xa4)]*0x8;return _0x519042[_0x17e3bd>>>0x5]|=0x80<<0x18-_0x17e3bd%0x20,_0x519042[(_0x17e3bd+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x39eb7a/0x100000000),_0x519042[(_0x17e3bd+0x40>>>0x9<<0x4)+0xf]=_0x39eb7a,_0x427ce2['sigBytes']=_0x519042[_0xcb1813(0x108)]*0x4,this[_0xcb1813(0x2d0)](),this['_hash'];},'clone':function(){var _0x10aefd=_0x3056c6,_0x1b8d9c=_0x35c713[_0x10aefd(0xcf)][_0x10aefd(0x1e2)](this);return _0x1b8d9c['_hash']=this['_hash']['clone'](),_0x1b8d9c;}});_0x6543f6[_0x3056c6(0x29e)]=_0x35c713[_0x3056c6(0x255)](_0x25bf40),_0x6543f6[_0x3056c6(0x2a3)]=_0x35c713['_createHmacHelper'](_0x25bf40);}()),_0x2f1a4a[_0x3fd31b(0x29e)];}));}(qe)),qe[_0xddca97(0x22a)];}var ze={'exports':{}},br=ze['exports'],ti;function yr(){var _0x22199d=_0x4ddb2a;return ti||(ti=0x1,function(_0x495b71,_0x33adb9){(function(_0x2975a9,_0x54e309){var _0x3d8318=_0x5161;_0x495b71[_0x3d8318(0x22a)]=_0x54e309(ie());}(br,function(_0x5da864){(function(){var _0x549418=_0x5161,_0xe8806a=_0x5da864,_0x464725=_0xe8806a[_0x549418(0x26c)],_0x1b277b=_0x464725[_0x549418(0x1b0)],_0x2eb20f=_0xe8806a[_0x549418(0x32b)],_0x2eac09=_0x2eb20f[_0x549418(0x395)],_0x2cf603=_0xe8806a[_0x549418(0xff)];_0x2cf603[_0x549418(0x151)]=_0x1b277b[_0x549418(0xbf)]({'init':function(_0x42f34d,_0x324629){var _0x196996=_0x549418;_0x42f34d=this['_hasher']=new _0x42f34d[(_0x196996(0x219))](),typeof _0x324629=='string'&&(_0x324629=_0x2eac09['parse'](_0x324629));var _0x2c396e=_0x42f34d[_0x196996(0x2ab)],_0x1d9bcd=_0x2c396e*0x4;_0x324629[_0x196996(0xa4)]>_0x1d9bcd&&(_0x324629=_0x42f34d[_0x196996(0x2c9)](_0x324629)),_0x324629['clamp']();for(var _0x108e5e=this[_0x196996(0x371)]=_0x324629[_0x196996(0xcf)](),_0x3e53ab=this[_0x196996(0xbc)]=_0x324629['clone'](),_0x5216b6=_0x108e5e['words'],_0x3c0d11=_0x3e53ab[_0x196996(0x383)],_0x138c4e=0x0;_0x138c4e<_0x2c396e;_0x138c4e++)_0x5216b6[_0x138c4e]^=0x5c5c5c5c,_0x3c0d11[_0x138c4e]^=0x36363636;_0x108e5e[_0x196996(0xa4)]=_0x3e53ab[_0x196996(0xa4)]=_0x1d9bcd,this[_0x196996(0x240)]();},'reset':function(){var _0x20cb30=_0x549418,_0x2363b1=this[_0x20cb30(0x28f)];_0x2363b1[_0x20cb30(0x240)](),_0x2363b1[_0x20cb30(0x12f)](this[_0x20cb30(0xbc)]);},'update':function(_0x2ca18e){var _0x346644=_0x549418;return this[_0x346644(0x28f)]['update'](_0x2ca18e),this;},'finalize':function(_0x14a57c){var _0x4a2d20=_0x549418,_0x10a1bc=this[_0x4a2d20(0x28f)],_0x46571e=_0x10a1bc[_0x4a2d20(0x2c9)](_0x14a57c);_0x10a1bc['reset']();var _0x540550=_0x10a1bc['finalize'](this[_0x4a2d20(0x371)][_0x4a2d20(0xcf)]()[_0x4a2d20(0x261)](_0x46571e));return _0x540550;}});}());}));}(ze)),ze[_0x22199d(0x22a)];}var Or=Ye[_0x4ddb2a(0x22a)],ii;function Ui(){var _0x26c019=_0x4ddb2a;return ii||(ii=0x1,function(_0x48a4ae,_0x463ab2){(function(_0x4d4ebe,_0x11e89e,_0x63bc74){var _0x3b5ee9=_0x5161;_0x48a4ae[_0x3b5ee9(0x22a)]=_0x11e89e(ie(),Rr(),yr());}(Or,function(_0x36fa21){var _0x395cc3=_0x5161;return(function(){var _0xf6ae65=_0x5161,_0x52199d=_0x36fa21,_0x110c6e=_0x52199d[_0xf6ae65(0x26c)],_0x597490=_0x110c6e['Base'],_0x1fab95=_0x110c6e[_0xf6ae65(0x348)],_0x201933=_0x52199d[_0xf6ae65(0xff)],_0x5270f7=_0x201933[_0xf6ae65(0x22c)],_0x25d000=_0x201933['EvpKDF']=_0x597490[_0xf6ae65(0xbf)]({'cfg':_0x597490[_0xf6ae65(0xbf)]({'keySize':0x80/0x20,'hasher':_0x5270f7,'iterations':0x1}),'init':function(_0x458a1f){var _0x4bc7ec=_0xf6ae65;this[_0x4bc7ec(0x1a3)]=this[_0x4bc7ec(0x1a3)][_0x4bc7ec(0xbf)](_0x458a1f);},'compute':function(_0x179204,_0x1ec007){var _0x3d617d=_0xf6ae65;for(var _0x2e2c71,_0x56be95=this['cfg'],_0x45e864=_0x56be95[_0x3d617d(0xfd)]['create'](),_0x583946=_0x1fab95[_0x3d617d(0x1b1)](),_0x228f29=_0x583946[_0x3d617d(0x383)],_0x5bce7b=_0x56be95[_0x3d617d(0x369)],_0x2dd721=_0x56be95[_0x3d617d(0x36e)];_0x228f29[_0x3d617d(0x108)]<_0x5bce7b;){_0x2e2c71&&_0x45e864['update'](_0x2e2c71),_0x2e2c71=_0x45e864[_0x3d617d(0x12f)](_0x179204)[_0x3d617d(0x2c9)](_0x1ec007),_0x45e864[_0x3d617d(0x240)]();for(var _0x3526e9=0x1;_0x3526e9<_0x2dd721;_0x3526e9++)_0x2e2c71=_0x45e864[_0x3d617d(0x2c9)](_0x2e2c71),_0x45e864[_0x3d617d(0x240)]();_0x583946['concat'](_0x2e2c71);}return _0x583946[_0x3d617d(0xa4)]=_0x5bce7b*0x4,_0x583946;}});_0x52199d[_0xf6ae65(0x1f4)]=function(_0x1e9451,_0x36db66,_0x34687f){var _0x3e3b49=_0xf6ae65;return _0x25d000[_0x3e3b49(0x1b1)](_0x34687f)['compute'](_0x1e9451,_0x36db66);};}()),_0x36fa21[_0x395cc3(0x1f4)];}));}(Ye)),Ye[_0x26c019(0x22a)];}var Je={'exports':{}},Nr=Je[_0x4ddb2a(0x22a)],ni;function wi(){var _0x5e980c=_0x4ddb2a;return ni||(ni=0x1,function(_0x5332df,_0x3ef909){(function(_0x41051f,_0x559c88,_0x391a0d){var _0x5c9ccc=_0x5161;_0x5332df[_0x5c9ccc(0x22a)]=_0x559c88(ie(),Ui());}(Nr,function(_0x1ca4b8){var _0x26d2b5=_0x5161;_0x1ca4b8[_0x26d2b5(0x26c)]['Cipher']||function(_0x16f5b2){var _0x22b0d6=_0x26d2b5,_0x3e1e37=_0x1ca4b8,_0x1a1667=_0x3e1e37[_0x22b0d6(0x26c)],_0x41d992=_0x1a1667[_0x22b0d6(0x1b0)],_0x1eb973=_0x1a1667[_0x22b0d6(0x348)],_0x98b057=_0x1a1667[_0x22b0d6(0x1c6)],_0x486f51=_0x3e1e37[_0x22b0d6(0x32b)];_0x486f51['Utf8'];var _0x2d8368=_0x486f51[_0x22b0d6(0x195)],_0x52da9c=_0x3e1e37[_0x22b0d6(0xff)],_0x5cd860=_0x52da9c['EvpKDF'],_0x3e0121=_0x1a1667[_0x22b0d6(0x12c)]=_0x98b057[_0x22b0d6(0xbf)]({'cfg':_0x41d992['extend'](),'createEncryptor':function(_0x58e443,_0xa9d9d0){var _0x13fcd2=_0x22b0d6;return this[_0x13fcd2(0x1b1)](this[_0x13fcd2(0x1b2)],_0x58e443,_0xa9d9d0);},'createDecryptor':function(_0x246ac7,_0x12f714){var _0x1a4b44=_0x22b0d6;return this[_0x1a4b44(0x1b1)](this[_0x1a4b44(0x20e)],_0x246ac7,_0x12f714);},'init':function(_0x19ab5b,_0x4b399a,_0x30082b){var _0x449a7a=_0x22b0d6;this[_0x449a7a(0x1a3)]=this[_0x449a7a(0x1a3)][_0x449a7a(0xbf)](_0x30082b),this[_0x449a7a(0xe3)]=_0x19ab5b,this[_0x449a7a(0x325)]=_0x4b399a,this['reset']();},'reset':function(){var _0x50c424=_0x22b0d6;_0x98b057[_0x50c424(0x240)][_0x50c424(0x1e2)](this),this[_0x50c424(0x1f2)]();},'process':function(_0x4116f8){var _0x50bec6=_0x22b0d6;return this[_0x50bec6(0x278)](_0x4116f8),this[_0x50bec6(0x2d0)]();},'finalize':function(_0x328d3b){_0x328d3b&&this['_append'](_0x328d3b);var _0xac6f0c=this['_doFinalize']();return _0xac6f0c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3454fa(_0x1cc488){var _0x1be744=_0x5161;return typeof _0x1cc488==_0x1be744(0x101)?_0x4c4392:_0x179271;}return function(_0x32665e){return{'encrypt':function(_0x50e97d,_0x6d07ec,_0x4e4cd6){var _0x2aa720=_0x5161;return _0x3454fa(_0x6d07ec)[_0x2aa720(0x286)](_0x32665e,_0x50e97d,_0x6d07ec,_0x4e4cd6);},'decrypt':function(_0xfec17f,_0x4e65ed,_0x49b60e){var _0x1644ae=_0x5161;return _0x3454fa(_0x4e65ed)[_0x1644ae(0x180)](_0x32665e,_0xfec17f,_0x4e65ed,_0x49b60e);}};};}())});_0x1a1667[_0x22b0d6(0xb1)]=_0x3e0121[_0x22b0d6(0xbf)]({'_doFinalize':function(){var _0x29a5c6=_0x22b0d6,_0x5e5411=this[_0x29a5c6(0x2d0)](!0x0);return _0x5e5411;},'blockSize':0x1});var _0xd2c0d9=_0x3e1e37[_0x22b0d6(0x230)]={},_0x2b31b9=_0x1a1667['BlockCipherMode']=_0x41d992[_0x22b0d6(0xbf)]({'createEncryptor':function(_0xf288db,_0x27b9dd){var _0x56f14b=_0x22b0d6;return this[_0x56f14b(0xec)][_0x56f14b(0x1b1)](_0xf288db,_0x27b9dd);},'createDecryptor':function(_0x494413,_0x2c3fa4){var _0x58c897=_0x22b0d6;return this[_0x58c897(0x337)][_0x58c897(0x1b1)](_0x494413,_0x2c3fa4);},'init':function(_0x3508cc,_0x52284f){var _0x260357=_0x22b0d6;this[_0x260357(0xca)]=_0x3508cc,this[_0x260357(0x28d)]=_0x52284f;}}),_0x448426=_0xd2c0d9[_0x22b0d6(0x2b8)]=(function(){var _0x36ae9f=_0x22b0d6,_0x148059=_0x2b31b9[_0x36ae9f(0xbf)]();_0x148059[_0x36ae9f(0xec)]=_0x148059[_0x36ae9f(0xbf)]({'processBlock':function(_0x1f07b0,_0x2c11c1){var _0x3c494d=_0x36ae9f,_0x4bc033=this[_0x3c494d(0xca)],_0x524fdd=_0x4bc033[_0x3c494d(0x2ab)];_0x47f9ad['call'](this,_0x1f07b0,_0x2c11c1,_0x524fdd),_0x4bc033['encryptBlock'](_0x1f07b0,_0x2c11c1),this[_0x3c494d(0x37e)]=_0x1f07b0[_0x3c494d(0xf3)](_0x2c11c1,_0x2c11c1+_0x524fdd);}}),_0x148059[_0x36ae9f(0x337)]=_0x148059['extend']({'processBlock':function(_0x5dc6d9,_0xdbad77){var _0x4fc3bd=_0x36ae9f,_0x572177=this['_cipher'],_0x49abb0=_0x572177[_0x4fc3bd(0x2ab)],_0x240e20=_0x5dc6d9[_0x4fc3bd(0xf3)](_0xdbad77,_0xdbad77+_0x49abb0);_0x572177['decryptBlock'](_0x5dc6d9,_0xdbad77),_0x47f9ad[_0x4fc3bd(0x1e2)](this,_0x5dc6d9,_0xdbad77,_0x49abb0),this[_0x4fc3bd(0x37e)]=_0x240e20;}});function _0x47f9ad(_0x52ec9,_0x387f0a,_0x14b076){var _0x446ba6=_0x36ae9f,_0x5cad3c,_0x17a045=this[_0x446ba6(0x28d)];_0x17a045?(_0x5cad3c=_0x17a045,this['_iv']=_0x16f5b2):_0x5cad3c=this[_0x446ba6(0x37e)];for(var _0x4583cb=0x0;_0x4583cb<_0x14b076;_0x4583cb++)_0x52ec9[_0x387f0a+_0x4583cb]^=_0x5cad3c[_0x4583cb];}return _0x148059;}()),_0x473e98=_0x3e1e37['pad']={},_0x2a00cd=_0x473e98[_0x22b0d6(0x25a)]={'pad':function(_0x4b8f21,_0x4daf84){var _0xffd435=_0x22b0d6;for(var _0x49e9f2=_0x4daf84*0x4,_0xd402e3=_0x49e9f2-_0x4b8f21[_0xffd435(0xa4)]%_0x49e9f2,_0x3a7c32=_0xd402e3<<0x18|_0xd402e3<<0x10|_0xd402e3<<0x8|_0xd402e3,_0x2fd67d=[],_0x83b414=0x0;_0x83b414<_0xd402e3;_0x83b414+=0x4)_0x2fd67d[_0xffd435(0x317)](_0x3a7c32);var _0x5905e0=_0x1eb973['create'](_0x2fd67d,_0xd402e3);_0x4b8f21[_0xffd435(0x261)](_0x5905e0);},'unpad':function(_0x29afab){var _0x231b2d=_0x22b0d6,_0x544ecc=_0x29afab[_0x231b2d(0x383)][_0x29afab['sigBytes']-0x1>>>0x2]&0xff;_0x29afab['sigBytes']-=_0x544ecc;}};_0x1a1667['BlockCipher']=_0x3e0121[_0x22b0d6(0xbf)]({'cfg':_0x3e0121[_0x22b0d6(0x1a3)][_0x22b0d6(0xbf)]({'mode':_0x448426,'padding':_0x2a00cd}),'reset':function(){var _0x345590=_0x22b0d6,_0x6d8bc9;_0x3e0121[_0x345590(0x240)][_0x345590(0x1e2)](this);var _0x44e9c8=this['cfg'],_0x7bf852=_0x44e9c8['iv'],_0x3ebd47=_0x44e9c8[_0x345590(0x230)];this[_0x345590(0xe3)]==this[_0x345590(0x1b2)]?_0x6d8bc9=_0x3ebd47[_0x345590(0x35d)]:(_0x6d8bc9=_0x3ebd47[_0x345590(0x35c)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x345590(0x309)][_0x345590(0x333)]==_0x6d8bc9?this[_0x345590(0x309)]['init'](this,_0x7bf852&&_0x7bf852[_0x345590(0x383)]):(this[_0x345590(0x309)]=_0x6d8bc9[_0x345590(0x1e2)](_0x3ebd47,this,_0x7bf852&&_0x7bf852['words']),this[_0x345590(0x309)][_0x345590(0x333)]=_0x6d8bc9);},'_doProcessBlock':function(_0x160011,_0x209f43){var _0x3c6f60=_0x22b0d6;this['_mode'][_0x3c6f60(0xc2)](_0x160011,_0x209f43);},'_doFinalize':function(){var _0x2dad75=_0x22b0d6,_0x151e9e,_0x53346d=this['cfg']['padding'];return this[_0x2dad75(0xe3)]==this['_ENC_XFORM_MODE']?(_0x53346d[_0x2dad75(0x1d8)](this[_0x2dad75(0x130)],this[_0x2dad75(0x2ab)]),_0x151e9e=this[_0x2dad75(0x2d0)](!0x0)):(_0x151e9e=this[_0x2dad75(0x2d0)](!0x0),_0x53346d[_0x2dad75(0x22e)](_0x151e9e)),_0x151e9e;},'blockSize':0x80/0x20});var _0x2602be=_0x1a1667[_0x22b0d6(0x1ea)]=_0x41d992[_0x22b0d6(0xbf)]({'init':function(_0x3d0d7a){var _0x230181=_0x22b0d6;this[_0x230181(0x379)](_0x3d0d7a);},'toString':function(_0x270734){var _0x59f58b=_0x22b0d6;return(_0x270734||this[_0x59f58b(0x398)])[_0x59f58b(0x162)](this);}}),_0x40ae4b=_0x3e1e37[_0x22b0d6(0x14f)]={},_0x56e05b=_0x40ae4b[_0x22b0d6(0x27a)]={'stringify':function(_0xc0ec8d){var _0x974f26=_0x22b0d6,_0x24b56e,_0x159f37=_0xc0ec8d[_0x974f26(0x2e6)],_0x29b193=_0xc0ec8d['salt'];return _0x29b193?_0x24b56e=_0x1eb973[_0x974f26(0x1b1)]([0x53616c74,0x65645f5f])[_0x974f26(0x261)](_0x29b193)['concat'](_0x159f37):_0x24b56e=_0x159f37,_0x24b56e['toString'](_0x2d8368);},'parse':function(_0x7781ec){var _0x1cba16=_0x22b0d6,_0x552340,_0x43974f=_0x2d8368[_0x1cba16(0xe7)](_0x7781ec),_0x33fdf1=_0x43974f[_0x1cba16(0x383)];return _0x33fdf1[0x0]==0x53616c74&&_0x33fdf1[0x1]==0x65645f5f&&(_0x552340=_0x1eb973[_0x1cba16(0x1b1)](_0x33fdf1['slice'](0x2,0x4)),_0x33fdf1['splice'](0x0,0x4),_0x43974f[_0x1cba16(0xa4)]-=0x10),_0x2602be[_0x1cba16(0x1b1)]({'ciphertext':_0x43974f,'salt':_0x552340});}},_0x179271=_0x1a1667[_0x22b0d6(0x139)]=_0x41d992[_0x22b0d6(0xbf)]({'cfg':_0x41d992[_0x22b0d6(0xbf)]({'format':_0x56e05b}),'encrypt':function(_0x348fc1,_0x585603,_0x2fdec8,_0x321d75){var _0x27b8f5=_0x22b0d6;_0x321d75=this[_0x27b8f5(0x1a3)][_0x27b8f5(0xbf)](_0x321d75);var _0x1e3d92=_0x348fc1[_0x27b8f5(0x35d)](_0x2fdec8,_0x321d75),_0x2e1f3a=_0x1e3d92[_0x27b8f5(0x2c9)](_0x585603),_0x4d511c=_0x1e3d92[_0x27b8f5(0x1a3)];return _0x2602be[_0x27b8f5(0x1b1)]({'ciphertext':_0x2e1f3a,'key':_0x2fdec8,'iv':_0x4d511c['iv'],'algorithm':_0x348fc1,'mode':_0x4d511c[_0x27b8f5(0x230)],'padding':_0x4d511c[_0x27b8f5(0x2df)],'blockSize':_0x348fc1[_0x27b8f5(0x2ab)],'formatter':_0x321d75[_0x27b8f5(0x14f)]});},'decrypt':function(_0x650b90,_0x4cb419,_0x176c19,_0x3a90f5){var _0xb7415d=_0x22b0d6;_0x3a90f5=this[_0xb7415d(0x1a3)]['extend'](_0x3a90f5),_0x4cb419=this[_0xb7415d(0xad)](_0x4cb419,_0x3a90f5['format']);var _0xe7744e=_0x650b90[_0xb7415d(0x35c)](_0x176c19,_0x3a90f5)['finalize'](_0x4cb419[_0xb7415d(0x2e6)]);return _0xe7744e;},'_parse':function(_0x4dca7b,_0x262901){var _0xe5ddb=_0x22b0d6;return typeof _0x4dca7b==_0xe5ddb(0x101)?_0x262901[_0xe5ddb(0xe7)](_0x4dca7b,this):_0x4dca7b;}}),_0x5560ba=_0x3e1e37[_0x22b0d6(0xa9)]={},_0x4e582d=_0x5560ba[_0x22b0d6(0x27a)]={'execute':function(_0x3148de,_0x247e85,_0x3c9a9f,_0x2b3d07,_0x437961){var _0x3359d2=_0x22b0d6;if(_0x2b3d07||(_0x2b3d07=_0x1eb973[_0x3359d2(0x17f)](0x40/0x8)),_0x437961)var _0x44ebb4=_0x5cd860[_0x3359d2(0x1b1)]({'keySize':_0x247e85+_0x3c9a9f,'hasher':_0x437961})[_0x3359d2(0x183)](_0x3148de,_0x2b3d07);else var _0x44ebb4=_0x5cd860[_0x3359d2(0x1b1)]({'keySize':_0x247e85+_0x3c9a9f})['compute'](_0x3148de,_0x2b3d07);var _0x14246c=_0x1eb973[_0x3359d2(0x1b1)](_0x44ebb4[_0x3359d2(0x383)]['slice'](_0x247e85),_0x3c9a9f*0x4);return _0x44ebb4[_0x3359d2(0xa4)]=_0x247e85*0x4,_0x2602be[_0x3359d2(0x1b1)]({'key':_0x44ebb4,'iv':_0x14246c,'salt':_0x2b3d07});}},_0x4c4392=_0x1a1667[_0x22b0d6(0x236)]=_0x179271['extend']({'cfg':_0x179271[_0x22b0d6(0x1a3)][_0x22b0d6(0xbf)]({'kdf':_0x4e582d}),'encrypt':function(_0x484d71,_0x5dba10,_0x49cab6,_0x40e4e3){var _0x1b3d61=_0x22b0d6;_0x40e4e3=this[_0x1b3d61(0x1a3)][_0x1b3d61(0xbf)](_0x40e4e3);var _0x34b313=_0x40e4e3['kdf'][_0x1b3d61(0xa1)](_0x49cab6,_0x484d71['keySize'],_0x484d71[_0x1b3d61(0x378)],_0x40e4e3[_0x1b3d61(0x37d)],_0x40e4e3['hasher']);_0x40e4e3['iv']=_0x34b313['iv'];var _0x21e133=_0x179271[_0x1b3d61(0x286)]['call'](this,_0x484d71,_0x5dba10,_0x34b313[_0x1b3d61(0x192)],_0x40e4e3);return _0x21e133['mixIn'](_0x34b313),_0x21e133;},'decrypt':function(_0xfaae15,_0x5878f6,_0x1b59e4,_0x4881b6){var _0x4a6a66=_0x22b0d6;_0x4881b6=this[_0x4a6a66(0x1a3)][_0x4a6a66(0xbf)](_0x4881b6),_0x5878f6=this[_0x4a6a66(0xad)](_0x5878f6,_0x4881b6[_0x4a6a66(0x14f)]);var _0x789553=_0x4881b6[_0x4a6a66(0xa9)][_0x4a6a66(0xa1)](_0x1b59e4,_0xfaae15[_0x4a6a66(0x369)],_0xfaae15['ivSize'],_0x5878f6[_0x4a6a66(0x37d)],_0x4881b6['hasher']);_0x4881b6['iv']=_0x789553['iv'];var _0x5a024f=_0x179271[_0x4a6a66(0x180)][_0x4a6a66(0x1e2)](this,_0xfaae15,_0x5878f6,_0x789553[_0x4a6a66(0x192)],_0x4881b6);return _0x5a024f;}});}();}));}(Je)),Je[_0x5e980c(0x22a)];}var Dr=Ve[_0x4ddb2a(0x22a)],ri;function Ur(){return ri||(ri=0x1,function(_0x536889,_0x49ddec){(function(_0x10c654,_0xaa518e,_0x2bb659){var _0x1e1ad5=_0x5161;_0x536889[_0x1e1ad5(0x22a)]=_0xaa518e(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0xf1f6b5){var _0x4db330=_0x5161;return(function(){var _0x958b84=_0x5161,_0xf6bc2c=_0xf1f6b5,_0x5643e1=_0xf6bc2c['lib'],_0x1e423b=_0x5643e1['BlockCipher'],_0x20d488=_0xf6bc2c[_0x958b84(0xff)],_0x56576e=[],_0x5edfcd=[],_0x41b3fa=[],_0x3636e8=[],_0x5156db=[],_0x3cb4a5=[],_0x52dc1a=[],_0x5702e3=[],_0x4cd51c=[],_0x8ecfb7=[];(function(){for(var _0x485c72=[],_0x500463=0x0;_0x500463<0x100;_0x500463++)_0x500463<0x80?_0x485c72[_0x500463]=_0x500463<<0x1:_0x485c72[_0x500463]=_0x500463<<0x1^0x11b;for(var _0x2356c0=0x0,_0x3e520a=0x0,_0x500463=0x0;_0x500463<0x100;_0x500463++){var _0x32117d=_0x3e520a^_0x3e520a<<0x1^_0x3e520a<<0x2^_0x3e520a<<0x3^_0x3e520a<<0x4;_0x32117d=_0x32117d>>>0x8^_0x32117d&0xff^0x63,_0x56576e[_0x2356c0]=_0x32117d,_0x5edfcd[_0x32117d]=_0x2356c0;var _0x28f60b=_0x485c72[_0x2356c0],_0x42a785=_0x485c72[_0x28f60b],_0x26368a=_0x485c72[_0x42a785],_0x947b3f=_0x485c72[_0x32117d]*0x101^_0x32117d*0x1010100;_0x41b3fa[_0x2356c0]=_0x947b3f<<0x18|_0x947b3f>>>0x8,_0x3636e8[_0x2356c0]=_0x947b3f<<0x10|_0x947b3f>>>0x10,_0x5156db[_0x2356c0]=_0x947b3f<<0x8|_0x947b3f>>>0x18,_0x3cb4a5[_0x2356c0]=_0x947b3f;var _0x947b3f=_0x26368a*0x1010101^_0x42a785*0x10001^_0x28f60b*0x101^_0x2356c0*0x1010100;_0x52dc1a[_0x32117d]=_0x947b3f<<0x18|_0x947b3f>>>0x8,_0x5702e3[_0x32117d]=_0x947b3f<<0x10|_0x947b3f>>>0x10,_0x4cd51c[_0x32117d]=_0x947b3f<<0x8|_0x947b3f>>>0x18,_0x8ecfb7[_0x32117d]=_0x947b3f,_0x2356c0?(_0x2356c0=_0x28f60b^_0x485c72[_0x485c72[_0x485c72[_0x26368a^_0x28f60b]]],_0x3e520a^=_0x485c72[_0x485c72[_0x3e520a]]):_0x2356c0=_0x3e520a=0x1;}}());var _0x1bf424=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x17b15c=_0x20d488[_0x958b84(0x218)]=_0x1e423b[_0x958b84(0xbf)]({'_doReset':function(){var _0x3339f4=_0x958b84,_0x9b51;if(!(this[_0x3339f4(0x302)]&&this[_0x3339f4(0xc8)]===this[_0x3339f4(0x325)])){for(var _0x2ef862=this[_0x3339f4(0xc8)]=this[_0x3339f4(0x325)],_0x42f270=_0x2ef862['words'],_0x391569=_0x2ef862['sigBytes']/0x4,_0x25c828=this[_0x3339f4(0x302)]=_0x391569+0x6,_0x41759f=(_0x25c828+0x1)*0x4,_0x22ab2f=this[_0x3339f4(0x2be)]=[],_0xb29993=0x0;_0xb29993<_0x41759f;_0xb29993++)_0xb29993<_0x391569?_0x22ab2f[_0xb29993]=_0x42f270[_0xb29993]:(_0x9b51=_0x22ab2f[_0xb29993-0x1],_0xb29993%_0x391569?_0x391569>0x6&&_0xb29993%_0x391569==0x4&&(_0x9b51=_0x56576e[_0x9b51>>>0x18]<<0x18|_0x56576e[_0x9b51>>>0x10&0xff]<<0x10|_0x56576e[_0x9b51>>>0x8&0xff]<<0x8|_0x56576e[_0x9b51&0xff]):(_0x9b51=_0x9b51<<0x8|_0x9b51>>>0x18,_0x9b51=_0x56576e[_0x9b51>>>0x18]<<0x18|_0x56576e[_0x9b51>>>0x10&0xff]<<0x10|_0x56576e[_0x9b51>>>0x8&0xff]<<0x8|_0x56576e[_0x9b51&0xff],_0x9b51^=_0x1bf424[_0xb29993/_0x391569|0x0]<<0x18),_0x22ab2f[_0xb29993]=_0x22ab2f[_0xb29993-_0x391569]^_0x9b51);for(var _0x572391=this[_0x3339f4(0x320)]=[],_0x45c079=0x0;_0x45c079<_0x41759f;_0x45c079++){var _0xb29993=_0x41759f-_0x45c079;if(_0x45c079%0x4)var _0x9b51=_0x22ab2f[_0xb29993];else var _0x9b51=_0x22ab2f[_0xb29993-0x4];_0x45c079<0x4||_0xb29993<=0x4?_0x572391[_0x45c079]=_0x9b51:_0x572391[_0x45c079]=_0x52dc1a[_0x56576e[_0x9b51>>>0x18]]^_0x5702e3[_0x56576e[_0x9b51>>>0x10&0xff]]^_0x4cd51c[_0x56576e[_0x9b51>>>0x8&0xff]]^_0x8ecfb7[_0x56576e[_0x9b51&0xff]];}}},'encryptBlock':function(_0x128697,_0x56236a){var _0x175f9c=_0x958b84;this[_0x175f9c(0x322)](_0x128697,_0x56236a,this[_0x175f9c(0x2be)],_0x41b3fa,_0x3636e8,_0x5156db,_0x3cb4a5,_0x56576e);},'decryptBlock':function(_0x438b33,_0x46107a){var _0x1e43c1=_0x958b84,_0x417da0=_0x438b33[_0x46107a+0x1];_0x438b33[_0x46107a+0x1]=_0x438b33[_0x46107a+0x3],_0x438b33[_0x46107a+0x3]=_0x417da0,this[_0x1e43c1(0x322)](_0x438b33,_0x46107a,this[_0x1e43c1(0x320)],_0x52dc1a,_0x5702e3,_0x4cd51c,_0x8ecfb7,_0x5edfcd);var _0x417da0=_0x438b33[_0x46107a+0x1];_0x438b33[_0x46107a+0x1]=_0x438b33[_0x46107a+0x3],_0x438b33[_0x46107a+0x3]=_0x417da0;},'_doCryptBlock':function(_0x48c8a3,_0x52b9d3,_0x5cde6f,_0x5a00e1,_0x3658b7,_0x577021,_0x11412e,_0x326169){var _0x19772e=_0x958b84;for(var _0x3f41e5=this[_0x19772e(0x302)],_0x1a81e9=_0x48c8a3[_0x52b9d3]^_0x5cde6f[0x0],_0x28ab86=_0x48c8a3[_0x52b9d3+0x1]^_0x5cde6f[0x1],_0x4151a2=_0x48c8a3[_0x52b9d3+0x2]^_0x5cde6f[0x2],_0x30fcd2=_0x48c8a3[_0x52b9d3+0x3]^_0x5cde6f[0x3],_0xfbc13a=0x4,_0x31248c=0x1;_0x31248c<_0x3f41e5;_0x31248c++){var _0x38f4e9=_0x5a00e1[_0x1a81e9>>>0x18]^_0x3658b7[_0x28ab86>>>0x10&0xff]^_0x577021[_0x4151a2>>>0x8&0xff]^_0x11412e[_0x30fcd2&0xff]^_0x5cde6f[_0xfbc13a++],_0x1fbffa=_0x5a00e1[_0x28ab86>>>0x18]^_0x3658b7[_0x4151a2>>>0x10&0xff]^_0x577021[_0x30fcd2>>>0x8&0xff]^_0x11412e[_0x1a81e9&0xff]^_0x5cde6f[_0xfbc13a++],_0x1740b5=_0x5a00e1[_0x4151a2>>>0x18]^_0x3658b7[_0x30fcd2>>>0x10&0xff]^_0x577021[_0x1a81e9>>>0x8&0xff]^_0x11412e[_0x28ab86&0xff]^_0x5cde6f[_0xfbc13a++],_0x33843c=_0x5a00e1[_0x30fcd2>>>0x18]^_0x3658b7[_0x1a81e9>>>0x10&0xff]^_0x577021[_0x28ab86>>>0x8&0xff]^_0x11412e[_0x4151a2&0xff]^_0x5cde6f[_0xfbc13a++];_0x1a81e9=_0x38f4e9,_0x28ab86=_0x1fbffa,_0x4151a2=_0x1740b5,_0x30fcd2=_0x33843c;}var _0x38f4e9=(_0x326169[_0x1a81e9>>>0x18]<<0x18|_0x326169[_0x28ab86>>>0x10&0xff]<<0x10|_0x326169[_0x4151a2>>>0x8&0xff]<<0x8|_0x326169[_0x30fcd2&0xff])^_0x5cde6f[_0xfbc13a++],_0x1fbffa=(_0x326169[_0x28ab86>>>0x18]<<0x18|_0x326169[_0x4151a2>>>0x10&0xff]<<0x10|_0x326169[_0x30fcd2>>>0x8&0xff]<<0x8|_0x326169[_0x1a81e9&0xff])^_0x5cde6f[_0xfbc13a++],_0x1740b5=(_0x326169[_0x4151a2>>>0x18]<<0x18|_0x326169[_0x30fcd2>>>0x10&0xff]<<0x10|_0x326169[_0x1a81e9>>>0x8&0xff]<<0x8|_0x326169[_0x28ab86&0xff])^_0x5cde6f[_0xfbc13a++],_0x33843c=(_0x326169[_0x30fcd2>>>0x18]<<0x18|_0x326169[_0x1a81e9>>>0x10&0xff]<<0x10|_0x326169[_0x28ab86>>>0x8&0xff]<<0x8|_0x326169[_0x4151a2&0xff])^_0x5cde6f[_0xfbc13a++];_0x48c8a3[_0x52b9d3]=_0x38f4e9,_0x48c8a3[_0x52b9d3+0x1]=_0x1fbffa,_0x48c8a3[_0x52b9d3+0x2]=_0x1740b5,_0x48c8a3[_0x52b9d3+0x3]=_0x33843c;},'keySize':0x100/0x20});_0xf6bc2c['AES']=_0x1e423b['_createHelper'](_0x17b15c);}()),_0xf1f6b5[_0x4db330(0x218)];}));}(Ve)),Ve['exports'];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x4ddb2a(0x22a)],ai;function Lr(){var _0x584fe8=_0x4ddb2a;return ai||(ai=0x1,function(_0x308f65,_0x37b97b){(function(_0x12aaeb,_0x4b15c5){_0x308f65['exports']=_0x4b15c5(ie());}(xr,function(_0x34a237){var _0x51dbfd=_0x5161;return _0x34a237['enc'][_0x51dbfd(0x395)];}));}(Xe)),Xe[_0x584fe8(0x22a)];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0x4ddb2a(0x22a)],oi;function Hr(){var _0x2e3c73=_0x4ddb2a;return oi||(oi=0x1,function(_0x13747c,_0x3992c0){(function(_0x267679,_0x6b0df0){var _0x4427ea=_0x5161;_0x13747c[_0x4427ea(0x22a)]=_0x6b0df0(ie());}($r,function(_0x1046e0){var _0x3afce7=_0x5161;return(function(){var _0x9a5cbe=_0x5161;if(typeof ArrayBuffer==_0x9a5cbe(0x2b3)){var _0x52c5c6=_0x1046e0,_0x4efafb=_0x52c5c6[_0x9a5cbe(0x26c)],_0x3d9ecf=_0x4efafb['WordArray'],_0x4582e4=_0x3d9ecf[_0x9a5cbe(0x219)],_0x22e1ad=_0x3d9ecf[_0x9a5cbe(0x219)]=function(_0x586a26){var _0x149517=_0x9a5cbe;if(_0x586a26 instanceof ArrayBuffer&&(_0x586a26=new Uint8Array(_0x586a26)),(_0x586a26 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x586a26 instanceof Uint8ClampedArray||_0x586a26 instanceof Int16Array||_0x586a26 instanceof Uint16Array||_0x586a26 instanceof Int32Array||_0x586a26 instanceof Uint32Array||_0x586a26 instanceof Float32Array||_0x586a26 instanceof Float64Array)&&(_0x586a26=new Uint8Array(_0x586a26[_0x149517(0x30a)],_0x586a26[_0x149517(0x2b4)],_0x586a26[_0x149517(0x106)])),_0x586a26 instanceof Uint8Array){for(var _0x14d9c4=_0x586a26[_0x149517(0x106)],_0x252a0e=[],_0x4d5cb8=0x0;_0x4d5cb8<_0x14d9c4;_0x4d5cb8++)_0x252a0e[_0x4d5cb8>>>0x2]|=_0x586a26[_0x4d5cb8]<<0x18-_0x4d5cb8%0x4*0x8;_0x4582e4['call'](this,_0x252a0e,_0x14d9c4);}else _0x4582e4[_0x149517(0x1e1)](this,arguments);};_0x22e1ad[_0x9a5cbe(0x345)]=_0x3d9ecf;}}()),_0x1046e0[_0x3afce7(0x26c)][_0x3afce7(0x348)];}));}(Ze)),Ze[_0x2e3c73(0x22a)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe['exports'],ci;function Vr(){var _0x39f860=_0x4ddb2a;return ci||(ci=0x1,function(_0x3d9fb2,_0x33f64a){(function(_0x111d3a,_0x18bc6b,_0x1b21c0){var _0x311018=_0x5161;_0x3d9fb2[_0x311018(0x22a)]=_0x18bc6b(ie(),wi());}(Fr,function(_0x5df9f4){var _0x190579=_0x5161;return _0x5df9f4[_0x190579(0x1d8)][_0x190579(0x1fd)]={'pad':function(){},'unpad':function(){}},_0x5df9f4[_0x190579(0x1d8)]['NoPadding'];}));}(Qe)),Qe[_0x39f860(0x22a)];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x3935b4,_0x1e6961){var _0x3443d6=_0x4ddb2a;const _0x323782=_0x1e6961-_0x3935b4[_0x3443d6(0x108)]%_0x1e6961,_0x17e6cd=String['fromCharCode'](_0x323782)[_0x3443d6(0xb5)](_0x323782);return _0x3935b4+_0x17e6cd;}function Yr(_0x44cfb3,_0x442e56){var _0x247659=_0x4ddb2a;const _0x16b504=jr[_0x247659(0x17f)](0x10),_0x445344=Kr(_0x44cfb3,0x10),_0x23b8bb=Ar[_0x247659(0x286)](kr['parse'](_0x445344),si[_0x247659(0xe7)](_0x442e56),{'iv':_0x16b504,'padding':Wr});return _0x16b504['concat'](_0x23b8bb[_0x247659(0x2e6)])[_0x247659(0x134)](si);}function qr(){var _0x2cc20d=_0x4ddb2a;const _0x19ab40=_0x1c2133()[_0x2cc20d(0x13e)];if(_0x19ab40){const _0x126884={'time':Math[_0x2cc20d(0x256)](Date[_0x2cc20d(0x373)]()/0x3e8),'domain':location['hostname']};return Yr(JSON[_0x2cc20d(0x162)](_0x126884),_0x19ab40);}}var zr=Object['getOwnPropertyDescriptor'],Jr=(_0x54148e,_0x480552,_0xcfd6cc,_0x9876b)=>{var _0xdb00ee=_0x4ddb2a;for(var _0x1a8d19=_0x9876b>0x1?void 0x0:_0x9876b?zr(_0x480552,_0xcfd6cc):_0x480552,_0x5d80fc=_0x54148e[_0xdb00ee(0x108)]-0x1,_0x3e02f4;_0x5d80fc>=0x0;_0x5d80fc--)(_0x3e02f4=_0x54148e[_0x5d80fc])&&(_0x1a8d19=_0x3e02f4(_0x1a8d19)||_0x1a8d19);return _0x1a8d19;},Xr=(_0x33f81a,_0x133569)=>(_0x1ecab2,_0x47f255)=>_0x133569(_0x1ecab2,_0x47f255,_0x33f81a);let at=class{constructor(_0x1b877b){var _0xb305dc=_0x4ddb2a;this[_0xb305dc(0x1af)]=_0x1b877b,this[_0xb305dc(0x20c)]();}[_0x4ddb2a(0x20c)](){var _0x33bfee=_0x4ddb2a;this['_httpService'][_0x33bfee(0x365)]({'interceptor':(_0x4bf8fa,_0x52bea6)=>{var _0x52ab9f=_0x33bfee;const _0x25f9e5=_0x4bf8fa['headers'],_0x1fc0c3=qr();return _0x1fc0c3&&_0x25f9e5[_0x52ab9f(0x201)]('x-univer-host',_0x1fc0c3),_0x52bea6(_0x4bf8fa);}});}};at=Jr([Xr(0x0,_0x50ea96(_0x1872c5))],at);var Zr=Object[_0x4ddb2a(0x1d0)],Qr=(_0x1944d5,_0x5bce60,_0x3ccd0f,_0x59dec2)=>{var _0x34e752=_0x4ddb2a;for(var _0x1cdc70=_0x59dec2>0x1?void 0x0:_0x59dec2?Zr(_0x5bce60,_0x3ccd0f):_0x5bce60,_0x4bfe6f=_0x1944d5[_0x34e752(0x108)]-0x1,_0x190b38;_0x4bfe6f>=0x0;_0x4bfe6f--)(_0x190b38=_0x1944d5[_0x4bfe6f])&&(_0x1cdc70=_0x190b38(_0x1cdc70)||_0x1cdc70);return _0x1cdc70;},mt=(_0x194dc3,_0x512b19)=>(_0x53e344,_0x255559)=>_0x512b19(_0x53e344,_0x255559,_0x194dc3);let bt=class extends _0x2d90bb{constructor(_0x3a4c10,_0x3fe281,_0x10c59a){var _0x17a499=_0x4ddb2a;super(),N(this,_0x17a499(0x16a),new _0x447c42(null)),N(this,'unitInfo$',this[_0x17a499(0x16a)][_0x17a499(0xd0)]()),(this[_0x17a499(0x23d)]=_0x3a4c10,this['_snapshotService']=_0x3fe281,this[_0x17a499(0x1bb)]=_0x10c59a);}async['loadUnit'](_0x4fadc8,_0x320f56,_0x3b1341){var _0x573278=_0x4ddb2a;this['_unitInfo$'][_0x573278(0x1be)]({'unitId':_0x4fadc8,'type':_0x320f56,'subUnitId':_0x3b1341});let _0x1a4a89=null;switch(_0x320f56){case Q['UNIVER_SHEET']:{_0x1a4a89=await this[_0x573278(0x2b6)](_0x4fadc8);break;}case Q['UNIVER_DOC']:{_0x1a4a89=await this[_0x573278(0x2b1)](_0x4fadc8);break;}default:{this[_0x573278(0x23d)][_0x573278(0x211)](_0x573278(0x275),_0x573278(0x27b));break;}}return _0x1a4a89;}async[_0x4ddb2a(0x2b6)](_0xaf9229){var _0x182408=_0x4ddb2a,_0x32b919;let _0x74bdb7=0x0;const _0x3d79f0=await((_0x32b919=this['_localCacheService'])==null?void 0x0:_0x32b919[_0x182408(0x289)](_0xaf9229));return _0x3d79f0&&(_0x3d79f0['awaitingChangeset']||_0x3d79f0[_0x182408(0x239)][_0x182408(0x108)]!==0x0)&&(_0x74bdb7=_0x3d79f0[_0x182408(0x11f)]),_0x74bdb7===0x0&&this[_0x182408(0x23d)][_0x182408(0x282)](_0x182408(0x275),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x182408(0x13a)](_0xaf9229,_0x74bdb7);}async[_0x4ddb2a(0x2b1)](_0x38f91f){var _0xf7b29=_0x4ddb2a,_0x4a052b;let _0x2c75b9=0x0;const _0x117ab9=await((_0x4a052b=this['_localCacheService'])==null?void 0x0:_0x4a052b['loadOfflineData'](_0x38f91f));return _0x117ab9&&(_0x117ab9[_0xf7b29(0x354)]||_0x117ab9[_0xf7b29(0x239)]['length']!==0x0)&&(_0x2c75b9=_0x117ab9[_0xf7b29(0x11f)]),_0x2c75b9===0x0&&this[_0xf7b29(0x23d)][_0xf7b29(0x282)](_0xf7b29(0x275),_0xf7b29(0x2cf)),this['_snapshotService'][_0xf7b29(0x34b)](_0x38f91f,_0x2c75b9);}};bt=Qr([mt(0x0,_0x4b6873),mt(0x1,_0x50ea96(_0x121b03)),mt(0x2,_0x249c72(J))],bt);var es=Object[_0x4ddb2a(0x1d0)],ts=(_0x19ec6c,_0x1002b0,_0x3c37d0,_0x349911)=>{var _0x2994b1=_0x4ddb2a;for(var _0x5da2d9=_0x349911>0x1?void 0x0:_0x349911?es(_0x1002b0,_0x3c37d0):_0x1002b0,_0x4b6a95=_0x19ec6c[_0x2994b1(0x108)]-0x1,_0x54fba9;_0x4b6a95>=0x0;_0x4b6a95--)(_0x54fba9=_0x19ec6c[_0x4b6a95])&&(_0x5da2d9=_0x54fba9(_0x5da2d9)||_0x5da2d9);return _0x5da2d9;},gt=(_0x457dda,_0x18bf9e)=>(_0x4cac25,_0x149ace)=>_0x18bf9e(_0x4cac25,_0x149ace,_0x457dda);const is=['image/png',_0x4ddb2a(0x33c),'image/jpg',_0x4ddb2a(0x272),_0x4ddb2a(0x327)],ns=0x5*0x400*0x400,rs=_0x4ddb2a(0x2e0),ss=_0x4ddb2a(0x319),as='EXCHANGE_SIGN_URL_SERVER_URL_KEY',os='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x27e85d,_0xe3d5d2,_0x39ba9a){var _0x23920c=_0x4ddb2a;N(this,_0x23920c(0x1c9),0x0),N(this,_0x23920c(0xa5),new _0x2253ac()),N(this,_0x23920c(0xfc),this[_0x23920c(0xa5)]),N(this,_0x23920c(0x34a),new Map()),(this[_0x23920c(0x1af)]=_0x27e85d,this[_0x23920c(0x191)]=_0xe3d5d2,this[_0x23920c(0x1f8)]=_0x39ba9a);}['setWaitCount'](_0x52eeda){var _0x451e80=_0x4ddb2a;this[_0x451e80(0x1c9)]=_0x52eeda,this[_0x451e80(0xa5)][_0x451e80(0x1be)](_0x52eeda);}[_0x4ddb2a(0x27f)](_0x13a597,_0x157994){var _0xb4deb2=_0x4ddb2a;if(_0x157994===_0x4cc3a8[_0xb4deb2(0x25b)]){const _0x1c7c79=new Image();return _0x1c7c79[_0xb4deb2(0x1c0)]=_0x13a597,_0x1c7c79;}return this[_0xb4deb2(0x34a)][_0xb4deb2(0x31e)](_0x13a597);}['addImageSourceCache'](_0x4dddd0,_0x2af2f1,_0x475e34){var _0x2268e1=_0x4ddb2a;_0x2af2f1===_0x4cc3a8[_0x2268e1(0x25b)]||_0x475e34==null||this['_imageSourceCache'][_0x2268e1(0x201)](_0x4dddd0,_0x475e34);}async[_0x4ddb2a(0x247)](_0x18ca51){var _0x4fa6ec=_0x4ddb2a;try{const _0xdad4a5=this[_0x4fa6ec(0x1f7)](this[_0x4fa6ec(0x328)](),''+_0x18ca51),_0x50b55c=(await this[_0x4fa6ec(0x1af)][_0x4fa6ec(0x31e)](_0xdad4a5))[_0x4fa6ec(0x1d5)];if(_0x50b55c[_0x4fa6ec(0x211)]&&_0x50b55c[_0x4fa6ec(0x211)]['code']===Si['OK']){const _0x39376b=new URL(_0x50b55c[_0x4fa6ec(0x39a)],this[_0x4fa6ec(0xf1)]())[_0x4fa6ec(0x134)]();return Promise[_0x4fa6ec(0x36f)](_0x39376b);}return Promise['reject'](_0x50b55c[_0x4fa6ec(0x211)]);}catch(_0x194db0){return Promise['reject'](_0x194db0);}}async[_0x4ddb2a(0xe4)](_0x4dc090){var _0x452972=_0x4ddb2a;let _0x1c4b7d='';if(!is[_0x452972(0x2a1)](_0x4dc090['type']))return this[_0x452972(0x1f5)](),Promise[_0x452972(0x167)](new Error(_0xe0f2f2[_0x452972(0x29b)]));if(_0x4dc090[_0x452972(0x30d)]>ns)return this[_0x452972(0x1f5)](),Promise[_0x452972(0x167)](new Error(_0xe0f2f2[_0x452972(0xd9)]));try{const _0x41a17b=new FormData();_0x41a17b[_0x452972(0x39f)](_0x452972(0xe9),_0x4dc090);const _0x1676b5=this['_univerInstanceService'][_0x452972(0x399)](),_0x2433ed=_0x1676b5==null?void 0x0:_0x1676b5[_0x452972(0xa8)]();if(!_0x2433ed)throw new Error(_0x452972(0x262));const _0x141bba=this[_0x452972(0x148)]()+_0x452972(0x1c1)+_0x4dc090[_0x452972(0x30d)]['toString']()+_0x452972(0xa7)+Ei[_0x452972(0xa2)]+_0x452972(0x221)+encodeURIComponent(_0x2433ed),_0x398988=await(await fetch(_0x141bba,{'method':_0x452972(0x105),'body':_0x41a17b}))[_0x452972(0x2e2)]();if(typeof _0x398988[_0x452972(0x102)]!=_0x452972(0x101))return this['_decreaseWaiting'](),Promise[_0x452972(0x167)](new Error(_0xe0f2f2[_0x452972(0x1e0)]));_0x1c4b7d=_0x398988[_0x452972(0x102)];}catch{return this[_0x452972(0x1f5)](),Promise['reject'](new Error(_0xe0f2f2[_0x452972(0x1e0)]));}return new Promise((_0x48ed24,_0x204c29)=>{var _0x58c244=_0x452972;const _0x51b5d8=new FileReader();_0x51b5d8[_0x58c244(0x18d)](_0x4dc090),_0x51b5d8['onload']=_0x36837f=>{var _0x29c865=_0x58c244,_0x342c93;const _0x1f7f69=(_0x342c93=_0x36837f[_0x29c865(0x1e5)])==null?void 0x0:_0x342c93['result'];if(_0x1f7f69==null){this[_0x29c865(0x1f5)](),_0x204c29(new Error(_0xe0f2f2['ERROR_IMAGE']));return;}const _0x47728b=_0x44cea8[_0x29c865(0x276)](0x6);_0x48ed24({'imageId':_0x47728b,'imageSourceType':_0x4cc3a8[_0x29c865(0x21d)],'source':_0x1c4b7d,'base64Cache':_0x1f7f69,'status':_0xe0f2f2[_0x29c865(0x2c8)]}),this[_0x29c865(0x1f5)]();};});}['_getUploadFileURL'](){var _0x47bf62=_0x4ddb2a,_0x3a585f,_0x5561dc;const _0x4411c0=this[_0x47bf62(0x191)][_0x47bf62(0x127)](rs),_0x316a3b=this[_0x47bf62(0x191)]['getConfig'](q);return(_0x5561dc=(_0x3a585f=_0x316a3b==null?void 0x0:_0x316a3b[_0x47bf62(0x21e)])!=null?_0x3a585f:_0x4411c0)!=null?_0x5561dc:ss;}['_getSignURL'](){var _0x1b9e95=_0x4ddb2a,_0x115aac,_0xe25c0f;const _0x4a56fe=this[_0x1b9e95(0x191)][_0x1b9e95(0x127)](as),_0x1ba88b=this[_0x1b9e95(0x191)][_0x1b9e95(0x127)](q);return(_0xe25c0f=(_0x115aac=_0x1ba88b==null?void 0x0:_0x1ba88b['signUrlServerUrl'])!=null?_0x115aac:_0x4a56fe)!=null?_0xe25c0f:os;}[_0x4ddb2a(0xf1)](){var _0x3b1d22=_0x4ddb2a,_0x192d56;const _0x2692ff=this[_0x3b1d22(0x191)][_0x3b1d22(0x127)](q);return(_0x192d56=_0x2692ff==null?void 0x0:_0x2692ff[_0x3b1d22(0x35b)])!=null?_0x192d56:location[_0x3b1d22(0x299)];}[_0x4ddb2a(0x1f7)](_0xd78163,_0x51d799){var _0x4396f6=_0x4ddb2a;return _0xd78163[_0x4396f6(0x175)]('{fileID}',_0x51d799);}['_decreaseWaiting'](){var _0x1b3477=_0x4ddb2a;this['_waitCount']-=0x1,this[_0x1b3477(0xa5)][_0x1b3477(0x1be)](this[_0x1b3477(0x1c9)]);}};yt=ts([gt(0x0,_0x50ea96(_0x1872c5)),gt(0x1,_0x249369),gt(0x2,_0x50ea96(_0x42df50))],yt);var cs=Object[_0x4ddb2a(0x1d0)],hs=(_0x58bf8b,_0x1ddc4e,_0x2a72c0,_0x1cf603)=>{var _0x112549=_0x4ddb2a;for(var _0x1186a0=_0x1cf603>0x1?void 0x0:_0x1cf603?cs(_0x1ddc4e,_0x2a72c0):_0x1ddc4e,_0x2fb787=_0x58bf8b[_0x112549(0x108)]-0x1,_0x28f485;_0x2fb787>=0x0;_0x2fb787--)(_0x28f485=_0x58bf8b[_0x2fb787])&&(_0x1186a0=_0x28f485(_0x1186a0)||_0x1186a0);return _0x1186a0;},hi=(_0x19966f,_0xe1a517)=>(_0x46440f,_0x522921)=>_0xe1a517(_0x46440f,_0x522921,_0x19966f);const _s=_0x4ddb2a(0x294);function _0x3750(){var _0x1c046a=['COMPRESS_MUTATION_SEND','NoPadding','setConfig','_clearUndo','UNIVER_DOC','set','_rescheduleHeartbeat','/object/','_minBufferSize','CHANGESET_REVISION_CONFILICT','_telemetryInfo','data','removeMember','_tryEnsureSocket','APPLY_DUPLICATED','startsWith','_initRequestHeader','batchAllowed','_DEC_XFORM_MODE','MSG_FOR_ERROR','memberID','error','_type','permissionRejEvent','failed\x20to\x20apply\x20missed\x20changesets!','collaborators','equals','pending','AES','init','/universer-api/uniscript','connection\x20error','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','UUID','uploadFileServerUrl','updatePermissionPoint','_retryConnectingTimer','&assign=','sessionStatus','OTHER_CLIENTS_EDITING','forEach','_clearRetryConnectingTimer','_getCurrentRevision','requireSession','patch','Malformed\x20UTF-8\x20data','exports','LICENSE_DISTRO_REJECTED','MD5','responseType','unpad','_changesetReqId','mode','sessionStatus$','_emitMembers','APPLY_PERMISSION_DENIED','16qozZbr','getTypeOfUnitDisposed$','PasswordBasedCipher','socket$','Univer','mutations','SUBMIT_CHANGESET_TIMEOUT','_updateState','_retryCount','_logService','Undefined','_timeoutTimer','reset','[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.','_onMessage','onCommentUpdate','getTime','_throwTelemetryCollaborationNewChangeset','__esModule','getImage','_toggleOnline','CHANGESET_SHOULD_RETRY','executeCommand','pluginName','_telemetryService','_isPermissionRej','INTERNAL_ERROR','transformStack\x20failed!','listRoles','_transformSelections','COMPLETION_FINISHED','_onConnectionOpen','SYNCED','_createHelper','floor','[OfflineState]:\x20received\x20rejection.','_resendTimer','ONLINE','Pkcs7','BASE64','getActiveSheet','_userManagerService','_onUserJoin','HEARTBEAT','getSheetBlock','concat','unitId\x20is\x20not\x20found','_clearCollaborationTimeoutTimer','_clearHeartbeatTimer','toggleOnline','fetchMissingChangesets','AWAITING','/universer-api/comb','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','error$','univer-pro.collaboration-client.network-condition.service','lib','status$','_getAPIPrefixPath','_onConnectionFailed','encodeURIComponent','refreshPermission','image/gif','Latin1','CHANGESET_ACK','[DataLoaderService]','generateRandomId','_sessions','_append','[PendingState]:\x20received\x20rejection.','OpenSSL','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','HEARTBEAT_INTERVAL','_registerDependencies','631062YOVZDI','getImageSourceCache','filter','updateCollaborator','debug','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','msCrypto','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','encrypt','unitID','_socketService','loadOfflineData','resend','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','USERS_ENTER','_iv','_snapshotServerService','_hasher','COLLAB_WEB_SOCKET_URL','onMissingChangesets','_nDataBytes','/universer-api/snapshot','/universer-api/authz','offline','YUUMI_URL_COL_OUT_OF_RANGE','values','csShouldRetryEvent','origin','FETCH_MISS','ERROR_IMAGE_TYPE','avatar','[OfflineState]:\x20received\x20changeset.','SHA1','LICENSE_MAX_UNITS_EXCEEDED','_getUndoStack','includes','baseRev','HmacSHA1','getLatestCsReqIdBySid','setCurrentUser','_checkMissing','_fetchMissChangesets','sheets','createInstance','state$','blockSize','clear','_collaborationUIEventService','_onRemoteRetry','objects','_getRedoStack','_loadDoc','session','function','byteOffset','FAIL','_loadSheet','onTransformRemoteChangesetByStateCache','CBC','NO_OTHER_CLIENTS_EDITING','SOCKET_FAILED_RETRY','revision','JOINING','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_keySchedule','RECV','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_singleActiveUnitService','APPLY_REJECT','crypto','transformUndoRedo','snapshotServerUrl','allowed','localCacheService','SUCCUSS','finalize','onlyLocal','_commentUpdate$','saveChangeset','APPLY_REVISION_CONFILICT','_createSocket','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_process','_submitChangeset','getCurrentSelections','_collaborationSessionService','_onRemoteRejected','_remoteChangesetQueue','_onLocalMutation','auth.needGotoLoginAlert','/fetchmissing?from=','joinRsp','JOIN_ROOM_NOT_EXISTS','_clearTimeoutTimer','clamp','findIndex','4581440HFCDpQ','padding','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onRemoteRej','json','getSnapshotAPIPath','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','PERMISSION_REJ','ciphertext','_transformRemoteChangesetByIMECache','open$','_sendingTimer','interceptor','327PiNruW','pipe','Failed\x20to\x20update\x20permission\x20point','waitForRoom$','UNRECOGNIZED','_undoStacks','onTransformRemoteChangesetByIMECache','_undoRedoService','[OfflineState]:\x20received\x20acknowledgement.','objectType','encode','synced','find','/universer-api/snapshot/','SUBMIT_CHANGESET','pauseCollaboration','join','textRanges','_event$','[UniverCollaborationClientPlugin]','LOGIN_URL_KEY','getUnitStatus$','onTransformIME','_nRounds','collabSubmitChangesetUrl','PERMISSION_DENIED','_clearScheduledTask','max','m2Prime','toLowerCase','_mode','buffer','unitId','UNIVER_SHEET','size','_onJoinRoomEvent','ALREADY_EXISTS','_scheduleCompleteTimestamp','APPLY_NON_SEQUENTIAL_REVISION','_tryReconnect','HEARTBEAT_TIMEOUT','[CollaborationEntity]','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_executeRemoteChangeset','push','/collaborator','/universer-api/stream/file/upload','_reverseMap','_socket$','randomBytes','_onOffline','get','message$','_invKeySchedule','$super','_doCryptBlock','closeSession','_collaborationTimeoutTimer','_key','_schedule','image/bmp','_getSignURL','[CollaborationSessionService]','PY_RUNTIME_SCRIPT_ERROR','enc','_eventService','_syncEditingCollabCursor','_getSendChangesetTimeout','list','_sheetTransformSelectionsService','defineProperty','getRoom','__creator','_candidateSocket','getResourcesRequest','disableLocalCache','Decryptor','_sender','getTypeOfUnitAdded$','Could\x20not\x20dynamically\x20require\x20\x22','getCollabEntity$','image/jpeg','getMember','updatePermissionObjEvent','_handlerCallback','Hasher','_clearRedo','[CollaborationState]:\x20apply\x20error!','_sessionStatus$','setShowComponents','prototype','getCurrentRevOfUnit','collabWebSocketUrl','WordArray','isArray','_imageSourceCache','loadDoc','_onFetchMissResult','entityInit$','stopTime','_localeService','SNAPSHOT_HAS_BEEN_REMOVED','_injector','_substituteRedoStack','_doProcessBlock','awaitingChangeset','type','toggleOffline','csAckEvent','unit-cache-','/unit/','SOCKET_FAILED','downloadEndpointUrl','createDecryptor','createEncryptor','conflict','c1Prime','params','uniscriptRunEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','userID','UNAUTHENTICATED','registerHTTPInterceptor','_showConflictNotification','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','PENDING','keySize','/block/','JOIN','_onConflict','NEW_CHANGESETS','iterations','resolve','_pendingMutations','_oKey','_clearLocalCache','now','transformSelections','createSocket','UPDATE_CURSOR','_createHandler','ivSize','mixIn','event$','isPermissionRej','UNIVER_SLIDE','salt','_prevBlock','authzUrl','GLOBAL_ROOMS_CNT_EXCEEDS','_memberService','abs','words','UNKNOWN_CMD','dispose','_status$','_HTTPService','_members','/object','unknown','HmacMD5','onRemoteChangeset','ENSURE_SNAPSHOT_EXECUTION','_entityInit$','dispose$','indexOf','focused$','INVITE_CODE_HAS_BEEN_UES','name','6tVJYuo','Utf8','fetchMiss','_hash','formatter','getFocusedUnit','url','href','routeKey','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','requestParams','append','execute','UnitEmbedded','HttpImport','sigBytes','_change$','SNAPSHOT_INVALID_SNAPSHOT','&source=','getUnitId','kdf','SHOULD_CLOSE_CONN','fetching\x20missing\x20changesets\x20from\x20','\x0aAfter:\x20','_parse','_transformUndoredo','catch','getCurrentUser','StreamCipher','_applyRemoteChangeset','_transformStateCache','splice','repeat','session.room-permission-denied','close','eventID','c2Prime','UNKNOWN_CODE','onSyncEditingCollabCursor','_iKey','randomUUID','status','extend','/-/object/-/batch_allowed','LIVESHARE_OPERATION','processBlock','_roomCreated$','compose','LICENSE_IMPORT_SIZE_EXCEEDED','_collabSessionService','[CollaborationUndoRedoService]','_keyPriorReset','PERSON','_cipher','_onCombEvent','_queuedRemoteChangesets','_getCtorByUniverType','_commentService','clone','asObservable','deepClone','onSendChangeset','UNIVER_COLLABORATION_CLIENT_PLUGIN','_socketReady','localeService','COMMENT_UPDATE','_stopTelemetryCollaborationNewChangeset','reverse','ERROR_EXCEED_SIZE','title','_redoStacks','_sendHeartbeatTimer','_unitID','awaiting_with_pending','_members$','LOGIN_FAILED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','unsubscribe','_xformMode','saveImage','_awaitingChangeset','editingUnit','parse','socketService','file','_exhaustRemoteChangesetQueue','saveSheetBlock','Encryptor','_onRemoteChangeset','HELLO','TOO_MANY_REQUESTS','save\x20fail\x20reason\x20is\x20','_getDownloadEndpointURL','[CollaborationSession]','slice','send','UNISCRIPT_RUN','getInterceptPoints','AUTHZ_URL_KEY','SNAPSHOT_URL_KEY','leaveEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','default','change$','hasher','fetch_missing','algo','\x20-\x20','string','FileId','reduce','_onRemoteACK','POST','byteLength','_state$','length','appendMutation','INVITE_CODE_ALREADY_BOUND','NOT_FOUND','snapshot','subject','CLOSE_ROOM','_instanceService','onTransformState','createCollaborator','_collaborationPaused','getCollabEntity','_resendTimeout','_replayCachedMutations','complete','USER_NOT_INVITED_CODE','/rev/','members','bind','[SyncedState]:\x20received\x20rejection.','OPTIONAL','Hex','[CollaborationSessionService]:\x20socket\x20error','rev','collaMsg','onRemoteRetry','incrementRevOfUnit','_commandService','cmd','disposeWithMe','code','getConfig','_networkConditionService','1308SEkWNA','_listenToNetworkCondition','USERS_LEAVE','Cipher','LEAVE','_disableEditing','update','_data','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','put','from','toString','NOT_COLLAB','liveShareNewHost','_incrementRevisionNumber','INVALID_ARGUMENT','SerializableCipher','loadSheet','delete','objectActions','JOIN_ROOM_FULL','__Key__','commentUpdateEvent','INVITE_CODE_REQUIRED','[FetchMissState]','_socket','CHANGESET_REJ','loginUrlKey','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getSheetId','_roomMembers','_getUploadFileURL','originalMeta','JOIN_ROOM_PERMISSION_DENIED','CONNECTOR_DATA_TOO_LARGE','UNIVER_UNKNOWN','newCsEvent','_toggleOffline','format','location','HMAC','members$','deleteCollaborator','enableAuthServer','emitEvent','collaboration-client.config','onMissedChangesetFetched','CONFLICT','ceil','YUUMI_RATE_OVER_LIMIT','_state','YUUMI_UNABLE_LOAD_URL','substr','close$','COMPRESS_MUTATION_APPLY','_updateLocalCache','getWorkbookSelections','stringify','updateOfflineData','UnitSnapshot','transformMutationsWithChangeset','actions','reject','sendChangesetTimeout','LIVESHARE_TERMINATE','_unitInfo$','_shouldReportTelemetry','_config','_handler','DEFAULT_FILE_NAME','_getLoginPath','add','[PendingState]:\x20received\x20acknowledgement.','map','updateCursorEvent','_unlockTransition','replace','_initMergeInterceptor','LIVESHARE_NEW_HOST','reconnect','charCodeAt','_transitionLocked','_transformStack','LIVESHARE_FETCH_OPERATIONS','hasOwnProperty','not_collab','random','decrypt','onLocalMutation','subscribe','compute','selections','onRemoteAck','UNDEFINED','getUnit','updateMember','_socketMessageSubscription','result','_lockTransition','every','readAsDataURL','ws://127.0.0.1:8000/universer-api/comb/connect','reqId','_onRecvEvent','_configService','key','19225eQilsw','AWAITING_WITH_PENDING','Base64','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','liveShareOperation','_sendHeartbeat','roomInfos','\x0aCurrent:\x20','UPDATE_PERMISSION_OBJ','resourceIDs','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','835640apbgli','/resources','enableSingleActiveInstanceLock','_transformService','MUTATION','cfg','SNAPSHOT_SERVER_URL_KEY','transformChangesets','/role','_entities','YUUMI_SUBSCRIPTION_NOT_FOUND','getRandomValues','INVALID_INVITE_CODE','_compressMutationService','shouldCloseConn','3123442FPbmBL','_getAPIPrefix','_httpService','Base','create','_ENC_XFORM_MODE','OFFLINE','roles','_doFinalize','LIVESHARE_REQUEST_HOST','_init','_resendWithTimeout','UNIVER_PROJECT','_changesetSessionId','_localCacheService','INGEST','FETCH_MISSING','next','_acknowledgedAwaitingChangeset','src','?size=','_map','_updateStatus','LICENSE_EXPORT_SIZE_EXCEEDED','charAt','BufferedBlockAlgorithm','_createInitialStateImpl','_transformRemoteChangesetByStateCache','_waitCount','method','sid','getValue','onStarting','_createInitialState','post','getOwnPropertyDescriptor','IDLE','sin','1313937sQzNYT','getMemberID','body','onTransformSelections','_startCollaboration','pad','_substituteUndoStack','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-full','JOIN_ROOM_FAILED','_joinRoom','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','PSEUDO_FETCH_MISSING_RESULT','ERROR_IMAGE','apply','call','enableOfflineEditing','state','target','OTHER_CLIENT_EDITING','has','session.room-cnt-exceeds','_transformIMECache','CipherParams','_waitForHeartbeatResponse','_permissionService','objectID','capture','_removeRoom','HttpExport','_revisionService','_doReset','SEND_CHANGESET_TIMEOUT','EvpKDF','_decreaseWaiting','\x20to\x20','_replaceFileID','_univerInstanceService','fromCollab','_initUnitPermissionChange','fetchThroughInterceptors'];_0x3750=function(){return _0x1c046a;};return _0x3750();}let Ot=class{constructor(_0x458c76,_0x5eb9cb){var _0x16eedc=_0x4ddb2a;this[_0x16eedc(0x191)]=_0x458c76,this[_0x16eedc(0x387)]=_0x5eb9cb;}['_getAPIPrefixPath'](){var _0x2f4d0a=_0x4ddb2a,_0x4598e7,_0x42ffb7;const _0x13864c=this[_0x2f4d0a(0x191)][_0x2f4d0a(0x127)](Ni),_0x33eb55=this[_0x2f4d0a(0x191)][_0x2f4d0a(0x127)](q);return(_0x42ffb7=(_0x4598e7=_0x33eb55==null?void 0x0:_0x33eb55[_0x2f4d0a(0x37f)])!=null?_0x4598e7:_0x13864c)!=null?_0x42ffb7:_s;}async[_0x4ddb2a(0x32f)](_0x57bcac){var _0x55316a=_0x4ddb2a;const _0x15a93b=this[_0x55316a(0x26e)]()+_0x55316a(0x318);return{'list':[{'title':'People','mentions':(await this[_0x55316a(0x387)]['get'](_0x15a93b,{'params':{'objectID':_0x57bcac[_0x55316a(0x30b)],'unitID':_0x57bcac[_0x55316a(0x30b)]}}))[_0x55316a(0x1d5)][_0x55316a(0x215)][_0x55316a(0x172)](_0x591551=>({'objectId':_0x591551['id'],'name':_0x591551[_0x55316a(0x10d)][_0x55316a(0x393)],'metadata':{'icon':_0x591551[_0x55316a(0x10d)][_0x55316a(0x29c)]},'label':_0x591551[_0x55316a(0x10d)]['name'],'objectType':_0x2e9d94[_0x55316a(0xc9)]})),'metadata':{},'type':_0x2e9d94[_0x55316a(0xc9)]}]};}};Ot=hs([hi(0x0,_0x50ea96(_0x249369)),hi(0x1,_0x50ea96(_0x1872c5))],Ot);var ls=Object[_0x4ddb2a(0x1d0)],us=(_0x1aaf49,_0x5bee8f,_0x164dc,_0x26ba0e)=>{var _0x899c34=_0x4ddb2a;for(var _0x3fc639=_0x26ba0e>0x1?void 0x0:_0x26ba0e?ls(_0x5bee8f,_0x164dc):_0x5bee8f,_0x3d5195=_0x1aaf49[_0x899c34(0x108)]-0x1,_0x18cd89;_0x3d5195>=0x0;_0x3d5195--)(_0x18cd89=_0x1aaf49[_0x3d5195])&&(_0x3fc639=_0x18cd89(_0x3fc639)||_0x3fc639);return _0x3fc639;},Ae=(_0x535ce7,_0x116fdf)=>(_0x5bb909,_0x47b668)=>_0x116fdf(_0x5bb909,_0x47b668,_0x535ce7);let ot=class extends _0x2d90bb{constructor(_0x6320e0,_0x288ee5,_0x75a40d,_0x2598ac,_0x231994){var _0x25bd7e=_0x4ddb2a;super(),this[_0x25bd7e(0x351)]=_0x6320e0,this[_0x25bd7e(0x1f8)]=_0x288ee5,this[_0x25bd7e(0x1ec)]=_0x75a40d,this[_0x25bd7e(0x2d3)]=_0x2598ac,this[_0x25bd7e(0x2ad)]=_0x231994,this[_0x25bd7e(0x1fa)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x359183=_0x4ddb2a;const _0x19f9c2=async _0x42add7=>{var _0x4fcb3b=_0x5161;(await this[_0x4fcb3b(0x2d3)][_0x4fcb3b(0x227)](_0x42add7))[_0x4fcb3b(0x37a)][_0x4fcb3b(0x2ec)](_0x3f7eea(_0x545461=>_0x545461[_0x4fcb3b(0xb8)]===_0xe78c14[_0x4fcb3b(0xaa)]),_0x1153bd(this['dispose$']))[_0x4fcb3b(0x182)](_0x414597=>{var _0x5a792b=_0x4fcb3b;const _0x1fecf4=_0x414597,{reason:_0x692138}=_0x1fecf4['data'];this['_collaborationUIEventService'][_0x5a792b(0x155)]({'id':se[_0x5a792b(0x10e)],'data':_0x692138}),this[_0x5a792b(0x1ec)][_0x5a792b(0x21f)](new _0x1fcbaa(_0x42add7)['id'],!0x1),this['_collaborationSessionService'][_0x5a792b(0x323)](_0x42add7);});};_0x1647c2(this['_univerInstanceService'][_0x359183(0x339)](_0x4eef2e[_0x359183(0x30c)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4eef2e[_0x359183(0x200)]))[_0x359183(0x2ec)](_0x1f6c6b(_0x1e89b1=>_0x1e89b1[_0x359183(0xa8)]()),_0x3f7eea(_0x2d5d4a=>!_0x48ebcf(_0x2d5d4a)),_0x1153bd(this[_0x359183(0x38f)]))['subscribe'](_0x450e6c=>{_0x19f9c2(_0x450e6c);});}['_initUnitPermissionChange'](){var _0x266e29=_0x4ddb2a;const _0x57c6b1=async _0x178efd=>{var _0x492419=_0x5161;const _0x3773c9=await this[_0x492419(0x2d3)][_0x492419(0x227)](_0x178efd),_0x4c42c7=this[_0x492419(0x351)][_0x492419(0x31e)](_0xeb5e84);_0x3773c9['event$']['pipe'](_0x3f7eea(_0x161bc4=>_0x161bc4[_0x492419(0xb8)]===_0xe78c14['UPDATE_PERMISSION_OBJ']),_0x1153bd(this['dispose$']))[_0x492419(0x182)](_0x20e1ae=>{var _0x287748=_0x492419;const _0x343df8=_0x20e1ae,{objectId:_0x1c22d9}=_0x343df8[_0x287748(0x207)];_0x1c22d9===_0x178efd?_0x4c42c7['initWorkbookPermissionChange'](_0x178efd):_0x4c42c7[_0x287748(0x271)](_0x178efd,_0x1c22d9);});};_0x1647c2(this[_0x266e29(0x1f8)][_0x266e29(0x339)](_0x4eef2e[_0x266e29(0x30c)]))['pipe'](_0x1f6c6b(_0x5c7027=>_0x5c7027[_0x266e29(0xa8)]()),_0x3f7eea(_0xbf5e42=>!_0x48ebcf(_0xbf5e42)),_0x1153bd(this[_0x266e29(0x38f)]))[_0x266e29(0x182)](_0x5a29c8=>{_0x57c6b1(_0x5a29c8);});}};ot=us([Ae(0x0,_0x50ea96(_0x1c360b)),Ae(0x1,_0x42df50),Ae(0x2,_0x1c4592),Ae(0x3,_0x50ea96(Le)),Ae(0x4,_0x50ea96(pe))],ot);var ds=Object[_0x4ddb2a(0x1d0)],fs=(_0x5eb769,_0x9d1195,_0x1a074a,_0x15d2ab)=>{var _0x4552d0=_0x4ddb2a;for(var _0xaf3560=_0x15d2ab>0x1?void 0x0:_0x15d2ab?ds(_0x9d1195,_0x1a074a):_0x9d1195,_0xaef438=_0x5eb769[_0x4552d0(0x108)]-0x1,_0x12de7e;_0xaef438>=0x0;_0xaef438--)(_0x12de7e=_0x5eb769[_0xaef438])&&(_0xaf3560=_0x12de7e(_0xaf3560)||_0xaf3560);return _0xaf3560;},_i=(_0x3901ab,_0x4f1d96)=>(_0x48748b,_0x150a67)=>_0x4f1d96(_0x48748b,_0x150a67,_0x3901ab);let Nt=class{constructor(_0x155c78,_0x252904){var _0x16bd17=_0x4ddb2a;this['_configService']=_0x155c78,this[_0x16bd17(0x1af)]=_0x252904;}async['getUnitOnRev'](_0x2a7ee8,_0x1950ad){var _0x2362be=_0x4ddb2a,_0x20c337;const {unitID:_0x49f5cc,type:_0x22a03c,revision:_0x32e114=0x0}=_0x1950ad,_0x17c7c1=this[_0x2362be(0x2e3)]()+'/'+_0x22a03c+_0x2362be(0x359)+_0x49f5cc+_0x2362be(0x118)+_0x32e114,_0x1a2720=(await this[_0x2362be(0x1af)][_0x2362be(0x31e)](_0x17c7c1))[_0x2362be(0x1d5)],_0x4b43dc=(_0x20c337=_0x1a2720[_0x2362be(0x10c)])==null?void 0x0:_0x20c337['workbook'];if(_0x4b43dc){const _0x3d752a=_0x4b43dc==null?void 0x0:_0x4b43dc[_0x2362be(0x149)],_0x5897f9=_0x2b2967[_0x2362be(0x2f5)](_0x377209(_0x3d752a));_0x4b43dc[_0x2362be(0x149)]=_0x5897f9,Object['entries'](_0x4b43dc[_0x2362be(0x2a8)])[_0x2362be(0x224)](([,_0x246548])=>{var _0x36ea44=_0x2362be;const _0x4b1be2=_0x246548[_0x36ea44(0x149)],_0x7b3824=_0x2b2967[_0x36ea44(0x2f5)](_0x377209(_0x4b1be2));_0x246548[_0x36ea44(0x149)]=_0x7b3824;});}return _0x1a2720;}async[_0x4ddb2a(0x260)](_0x40fc5c,_0x2cae89){var _0x57e906=_0x4ddb2a;const {unitID:_0x52f00c,type:_0x50e290,blockID:_0x4e6a9d}=_0x2cae89,_0x122f45=this['_getAPIPrefix']()+'/'+_0x50e290+_0x57e906(0x359)+_0x52f00c+'/block/'+_0x4e6a9d;return(await this[_0x57e906(0x1af)][_0x57e906(0x31e)](_0x122f45))['body'];}async['getDeserializedSheetBlock'](_0x337553,_0x1f82aa){var _0x32b4fc=_0x4ddb2a;const {unitID:_0x10f08e,type:_0x1c4262,blockID:_0x4e404e}=_0x1f82aa,_0x2d9c52=this[_0x32b4fc(0x1ae)]()+_0x32b4fc(0x36a)+_0x1c4262+_0x32b4fc(0x359)+_0x10f08e+'/block/'+_0x4e404e;return(await this[_0x32b4fc(0x1af)][_0x32b4fc(0x31e)](_0x2d9c52))[_0x32b4fc(0x1d5)];}async['fetchMissingChangesets'](_0x4cd19b,_0x2907f6){var _0x32eb21=_0x4ddb2a;const {unitID:_0x2ddd50,type:_0x3ea1ee,from:_0x105fab,to:_0x208955}=_0x2907f6,_0x16619f=this[_0x32eb21(0x1ae)]()+'/'+_0x3ea1ee+_0x32eb21(0x359)+_0x2ddd50+_0x32eb21(0x2d8)+_0x105fab+'&to='+_0x208955;return(await this[_0x32eb21(0x1af)][_0x32eb21(0x31e)](_0x16619f))[_0x32eb21(0x1d5)];}[_0x4ddb2a(0x2e3)](){var _0x59bd79=_0x4ddb2a,_0x4315d3;return(_0x4315d3=this[_0x59bd79(0x191)][_0x59bd79(0x127)](Sn))!=null?_0x4315d3:this[_0x59bd79(0x1ae)]();}['_getAPIPrefix'](){var _0x340354=_0x4ddb2a,_0x5f46f5,_0x2a863e;const _0x595247=this[_0x340354(0x191)][_0x340354(0x127)](mn),_0x5cecc7=this['_configService'][_0x340354(0x127)](q);return(_0x2a863e=(_0x5f46f5=_0x5cecc7==null?void 0x0:_0x5cecc7[_0x340354(0x2c5)])!=null?_0x5f46f5:_0x595247)!=null?_0x2a863e:gn;}async[_0x4ddb2a(0x335)](_0xbaa277,_0x3e66a8){var _0x336181=_0x4ddb2a;const _0x26bcab=_0x336181(0x2f8)+_0x3e66a8[_0x336181(0x355)]+_0x336181(0x359)+_0x3e66a8[_0x336181(0x287)]+_0x336181(0x19f);return(await this[_0x336181(0x1af)][_0x336181(0x31e)](_0x26bcab,{'params':{'resourceId':JSON[_0x336181(0x162)](_0x3e66a8[_0x336181(0x19c)])}}))[_0x336181(0x1d5)];}['saveSnapshot'](){var _0xa971ac=_0x4ddb2a;throw new Error(_0xa971ac(0x2e4));}[_0x4ddb2a(0xeb)](){var _0x5adbe0=_0x4ddb2a;throw new Error(_0x5adbe0(0x2e4));}[_0x4ddb2a(0x2cc)](){var _0x23dab5=_0x4ddb2a;throw new Error(_0x23dab5(0x2e4));}['copyFileMeta'](){var _0x5841a2=_0x4ddb2a;throw new Error(_0x5841a2(0x2e4));}[_0x4ddb2a(0x2a4)](){var _0x71094a=_0x4ddb2a;throw new Error(_0x71094a(0x2e4));}};Nt=fs([_i(0x0,_0x249369),_i(0x1,_0x50ea96(_0x1872c5))],Nt);var vs=Object[_0x4ddb2a(0x1d0)],ps=(_0x2b8457,_0x1d0725,_0x54da79,_0x1c435d)=>{var _0x5e60c6=_0x4ddb2a;for(var _0x426c69=_0x1c435d>0x1?void 0x0:_0x1c435d?vs(_0x1d0725,_0x54da79):_0x1d0725,_0x2c217d=_0x2b8457[_0x5e60c6(0x108)]-0x1,_0x2de5ad;_0x2c217d>=0x0;_0x2c217d--)(_0x2de5ad=_0x2b8457[_0x2c217d])&&(_0x426c69=_0x2de5ad(_0x426c69)||_0x426c69);return _0x426c69;},Pe=(_0x4d17ba,_0x4348b6)=>(_0x5ba5ba,_0x20c50b)=>_0x4348b6(_0x5ba5ba,_0x20c50b,_0x4d17ba);let Dt=class extends _0x41466a{constructor(_0x405e3d,_0x3b42be,_0x3ecedc,_0x45fe38,_0x35f537){var _0x288ee1=_0x4ddb2a;super(_0x405e3d,_0x3b42be,_0x3ecedc),this[_0x288ee1(0x1a1)]=_0x45fe38,this['_logService']=_0x35f537;}[_0x4ddb2a(0x2c4)](_0x57f650,_0x288f82){var _0x4f95e7=_0x4ddb2a;const _0x5550be=this[_0x4f95e7(0x2a0)](_0x57f650);if(_0x5550be)try{const _0x56f1da=this['_transformStack'](_0x5550be,_0x288f82);this[_0x4f95e7(0x1d9)](_0x57f650,_0x56f1da);}catch(_0x4f7b85){this[_0x4f95e7(0x23d)]['error'](_0x4f95e7(0xc7),_0x4f7b85),this[_0x4f95e7(0x1ff)](_0x57f650);}const _0x13c31=this[_0x4f95e7(0x2b0)](_0x57f650);if(_0x13c31)try{const _0x389fcb=this[_0x4f95e7(0x17b)](_0x13c31,_0x288f82);this[_0x4f95e7(0x352)](_0x57f650,_0x389fcb);}catch(_0x2f648b){this[_0x4f95e7(0x23d)][_0x4f95e7(0x211)](_0x2f648b),this[_0x4f95e7(0x341)](_0x57f650);}}[_0x4ddb2a(0x1ff)](_0x2a2de7){var _0xdfdefc=_0x4ddb2a;const _0x163a3f=this[_0xdfdefc(0x2a0)](_0x2a2de7);_0x163a3f&&(_0x163a3f[_0xdfdefc(0x108)]=0x0,this[_0xdfdefc(0x1c3)]());}[_0x4ddb2a(0x341)](_0x5c4d8c){var _0x54f49f=_0x4ddb2a;const _0x37fb8d=this['_getRedoStack'](_0x5c4d8c);_0x37fb8d&&(_0x37fb8d[_0x54f49f(0x108)]=0x0,this[_0x54f49f(0x1c3)]());}['_substituteUndoStack'](_0x1c43bf,_0x5d78f7){var _0x3300cf=_0x4ddb2a;this[_0x3300cf(0x2f0)][_0x3300cf(0x201)](_0x1c43bf,_0x5d78f7),this[_0x3300cf(0x1c3)]();}[_0x4ddb2a(0x352)](_0x4783b3,_0x23f5e7){var _0x3d6f3c=_0x4ddb2a;this[_0x3d6f3c(0xdb)][_0x3d6f3c(0x201)](_0x4783b3,_0x23f5e7),this['_updateStatus']();}[_0x4ddb2a(0x17b)](_0x47b3c8,_0x39de4a){var _0x1ad60b=_0x4ddb2a;const _0x30f60c=[];let _0x38ddfb=_0x39de4a,_0x55b434=_0x39de4a;for(let _0x1a65c5=_0x47b3c8[_0x1ad60b(0x108)]-0x1;_0x1a65c5>=0x0;_0x1a65c5--){const {unitID:_0x2e3907,undoMutations:_0x5e06a6,redoMutations:_0x5c9446}=_0x47b3c8[_0x1a65c5],_0xbdab2b=this[_0x1ad60b(0x1a1)]['transformMutationsWithChangeset'](_0x38ddfb,_0x5e06a6),_0x2c1316=this[_0x1ad60b(0x1a1)][_0x1ad60b(0x165)](_0x55b434,_0x5c9446);if(_0x4f74b4(_0xbdab2b)||_0x4f74b4(_0x2c1316)){this[_0x1ad60b(0x23d)][_0x1ad60b(0x211)](_0x1ad60b(0xc7),_0x1ad60b(0x24f),_0xbdab2b,_0x2c1316);break;}_0x38ddfb=_0xbdab2b[_0x1ad60b(0x35f)],_0x55b434=_0x2c1316['c1Prime'],_0x30f60c['push']({'unitID':_0x2e3907,'undoMutations':_0xbdab2b[_0x1ad60b(0x307)],'redoMutations':_0x2c1316['m2Prime']});}return _0x30f60c[_0x1ad60b(0xd8)]();}};Dt=ps([Pe(0x0,_0x42df50),Pe(0x1,_0x3bba81),Pe(0x2,_0x247091),Pe(0x3,_0x4d0f68),Pe(0x4,_0x4b6873)],Dt);var ms=Object[_0x4ddb2a(0x331)],gs=Object[_0x4ddb2a(0x1d0)],Ss=(_0x42e36c,_0x4f29cb,_0x54139)=>_0x4f29cb in _0x42e36c?ms(_0x42e36c,_0x4f29cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54139}):_0x42e36c[_0x4f29cb]=_0x54139,Es=(_0x4c3a8c,_0x28d9fe,_0x3198b4,_0x343e91)=>{var _0xe2afd=_0x4ddb2a;for(var _0x1379b3=_0x343e91>0x1?void 0x0:_0x343e91?gs(_0x28d9fe,_0x3198b4):_0x28d9fe,_0x130934=_0x4c3a8c[_0xe2afd(0x108)]-0x1,_0x700184;_0x130934>=0x0;_0x130934--)(_0x700184=_0x4c3a8c[_0x130934])&&(_0x1379b3=_0x700184(_0x1379b3)||_0x1379b3);return _0x1379b3;},St=(_0x14aa14,_0xf5e419)=>(_0x4d9027,_0x2c68c7)=>_0xf5e419(_0x4d9027,_0x2c68c7,_0x14aa14),Is=(_0xd74aef,_0x10845d,_0x57b931)=>Ss(_0xd74aef,_0x10845d+'',_0x57b931);const Ts=_0x4ddb2a(0xd3);let Ut=class extends _0x26398a{constructor(_0x5efda3,_0x11202a,_0x2eb92b,_0xd55de7){var _0x1eb55f=_0x4ddb2a;super(),N(this,_0x1eb55f(0x16c)),(this[_0x1eb55f(0x23d)]=_0x11202a,this[_0x1eb55f(0x351)]=_0x2eb92b,this[_0x1eb55f(0x191)]=_0xd55de7);const {..._0x4e5cee}=_0x382be0({},An,_0x5efda3);if(!_0x4e5cee[_0x1eb55f(0xe8)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x1eb55f(0x16c)]=_0x4e5cee,this[_0x1eb55f(0x191)][_0x1eb55f(0x1fe)](q,_0x4e5cee);}[_0x4ddb2a(0x1cd)](){var _0x594078=_0x4ddb2a;this[_0x594078(0x27d)](),this['_initDependencies']();}[_0x4ddb2a(0x27d)](){var _0x4b934a=_0x4ddb2a,_0x552167,_0x3ea15a;this['_injector'][_0x4b934a(0x1e7)](_0x52e072)&&this[_0x4b934a(0x23d)][_0x4b934a(0x211)](_0x4b934a(0x2fe),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4ee1d8=_0x5a2e2d([[_0x52e072,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x4b934a(0x16c)]['socketService']}],[_0x33b622,{'useClass':Nt}],[_0x1fd645,{'useClass':Rt}],[_0x440a38,{'useClass':yt}],[_0x66c976,{'useClass':Ot}],[rt],[Ct]],(_0x552167=this['_config'])==null?void 0x0:_0x552167['override']);if(!((_0x3ea15a=this[_0x4b934a(0x16c)])!=null&&_0x3ea15a[_0x4b934a(0x1a0)])){const _0x2fa8e6=_0x4ee1d8[_0x4b934a(0x2dd)](([_0x5c5c88])=>_0x5c5c88===ht);_0x2fa8e6!==-0x1&&_0x4ee1d8[_0x4b934a(0xb4)](_0x2fa8e6,0x1);}_0x5e6949(this[_0x4b934a(0x351)],_0x4ee1d8);}['_initDependencies'](){var _0x567d20=_0x4ddb2a,_0x583c56,_0x45693c,_0x32ae5f;this[_0x567d20(0x351)]['get'](_0x1872c5)[_0x567d20(0x365)]({'priority':0x14,'interceptor':_0x510191({'maxParallel':0x6})}),(_0x583c56=this[_0x567d20(0x16c)])!=null&&_0x583c56[_0x567d20(0x1e3)]||(_0x45693c=this[_0x567d20(0x351)]['get'](J,_0x4c5f4f[_0x567d20(0x11c)]))==null||_0x45693c[_0x567d20(0x336)](),(_0x32ae5f=this[_0x567d20(0x16c)])!=null&&_0x32ae5f[_0x567d20(0x154)]&&_0x5eb3c5(this[_0x567d20(0x351)],[[st]]),_0x5eb3c5(this['_injector'],[[at],[rt],[ot]]);}};Is(Ut,_0x4ddb2a(0x24b),Ts),Ut=Es([_0x507f29(_0x29b859,_0x1ff4ab),St(0x1,_0x4b6873),St(0x2,_0x50ea96(_0x1c360b)),St(0x3,_0x249369)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};
1
+ var _0x2b51d4=_0x3286;(function(_0x43fa86,_0x436841){var _0x2dec0c=_0x3286,_0x2c9269=_0x43fa86();while(!![]){try{var _0x4af531=-parseInt(_0x2dec0c(0x2a3))/0x1*(parseInt(_0x2dec0c(0x435))/0x2)+-parseInt(_0x2dec0c(0x483))/0x3+parseInt(_0x2dec0c(0x28e))/0x4+-parseInt(_0x2dec0c(0x2ab))/0x5*(parseInt(_0x2dec0c(0x3af))/0x6)+parseInt(_0x2dec0c(0x222))/0x7*(parseInt(_0x2dec0c(0x421))/0x8)+parseInt(_0x2dec0c(0x2e5))/0x9+parseInt(_0x2dec0c(0x342))/0xa*(-parseInt(_0x2dec0c(0x266))/0xb);if(_0x4af531===_0x436841)break;else _0x2c9269['push'](_0x2c9269['shift']());}catch(_0x5ca20c){_0x2c9269['push'](_0x2c9269['shift']());}}}(_0x3204,0xe8540));var Ai=Object[_0x2b51d4(0x465)],Pi=(_0x135ea0,_0x144bed,_0x37d201)=>_0x144bed in _0x135ea0?Ai(_0x135ea0,_0x144bed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37d201}):_0x135ea0[_0x144bed]=_0x37d201,N=(_0x4b017f,_0x5b3627,_0x54766c)=>Pi(_0x4b017f,typeof _0x5b3627!='symbol'?_0x5b3627+'':_0x5b3627,_0x54766c);import{createIdentifier as _0x2e4ac6,Inject as _0xbb9044,Injector as _0xe87ffb,IConfigService as _0x3d91ad,ILogService as _0x3e08f2,Disposable as _0x46eb90,DisposableCollection as _0x55beb3,toDisposable as _0x642f1f,IUniverInstanceService as _0xcd0588,UserManagerService as _0x609c05,UniverInstanceType as _0x5d6c54,LocaleService as _0x2fded0,Optional as _0x19063a,RxDisposable as _0xbf3a36,Tools as _0x1f8cee,Rectangle as _0x5e69ad,ICommandService as _0x3b7381,JSONX as _0x322754,CommandType as _0x1d9afc,IUndoRedoService as _0x4955e1,IPermissionService as _0x1f555b,sequenceExecute as _0x915fe6,Workbook as _0x33d3c5,MentionType as _0x3ca0a6,isInternalEditorID as _0x11985f,LocalUndoRedoService as _0x28cec0,IContextService as _0x240438,DependentOn as _0x27f7e5,Plugin as _0x398388,merge as _0x290120,mergeOverrideWithDependencies as _0x20bd82,IAuthzIoService as _0x4a4c6a,IMentionIOService as _0x2eb9c3,registerDependencies as _0xec0d2c,Quantity as _0x513dfb,touchDependencies as _0x51811b}from'@univerjs/core';import{Subject as _0x358ef7,merge as _0xb2540,of as _0x5e2f08,BehaviorSubject as _0x53317a,takeUntil as _0x31b31c,ReplaySubject as _0x465cb8,take as _0xcc9855,map as _0x505aec,shareReplay as _0x28b0fc,firstValueFrom as _0x17bb9a,concatMap as _0x397e18}from'rxjs';import{map as _0x87d7ab,take as _0x5853e7,filter as _0x20767a,delay as _0x1402e1,takeUntil as _0xf90029}from'rxjs/operators';import{CollaborationEvent as _0x1cab20,ISnapshotServerService as _0x20d692,parseChangesetToProtocol as _0x2f9435,ITransformService as _0x5a75cc,isTransformMutationsWithChangesetSuccess as _0x297140,mapDocumentTypeToUniverType as _0xf1726a,RevisionService as _0x294ada,isTransformChangesetsSuccess as _0xf9b32d,CompressMutationService as _0x364d90,parseProtocolChangeset as _0xa28372,SnapshotService as _0x2db77a,textEncoder as _0x3fea26,b64DecodeUnicode as _0x544eac,isTransformMutationsWithChangesetFailure as _0x5846bb,UniverCollaborationPlugin as _0x4c0c58}from'@univerjs-pro/collaboration';import{HTTPService as _0x334dc2,ISocketService as _0x1d1f76,MergeInterceptorFactory as _0x4a25dc,HTTPRequest as _0x2d3670,UniverNetworkPlugin as _0x4ad0a2,ThresholdInterceptorFactory as _0x41fdbc}from'@univerjs/network';import{ITelemetryService as _0x4df784}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3b2784}from'@univerjs/docs';import{SheetsSelectionsService as _0x1a3dc5,SetSelectionsOperation as _0x3be03b,InsertSheetMutation as _0x4eab79,EmptyMutation as _0x536baf,WorkbookEditablePermission as _0x2bbfa7,SheetPermissionInitController as _0x22de8f}from'@univerjs/sheets';import{ImageSourceType as _0x27980d,ImageUploadStatusType as _0x545547,IImageIoService as _0x382575}from'@univerjs/drawing';import{getGlobalObject as _0x4305bb}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn='/universer-api/snapshot',Sn=_0x2b51d4(0x22d),xs='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0x2b51d4(0x33e),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Ls='/universer-api/user/session-ticket',Cn=_0x2b51d4(0x38e),Rn=0x7530,mi=_0x2b51d4(0x231),gi=0x4e20,bn=0x4e20,yn=_0x2b51d4(0x2c0),On=0x3,Ms=_0x2b51d4(0x351),ks=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn='/universer-api/comb',Un=_0x2b51d4(0x1ef),wn=_0x2b51d4(0x267),$s='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hs=_0x2b51d4(0x308);var Si=(_0x53b8a8=>(_0x53b8a8[_0x53b8a8[_0x2b51d4(0x4ae)]=0x0]=_0x2b51d4(0x4ae),_0x53b8a8[_0x53b8a8['OK']=0x1]='OK',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x437)]=0x2]='INTERNAL_ERROR',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x245)]=0x3]='PERMISSION_DENIED',_0x53b8a8[_0x53b8a8['NOT_FOUND']=0x4]='NOT_FOUND',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2cc)]=0x5]=_0x2b51d4(0x2cc),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x3c3)]=0x6]='ALREADY_EXISTS',_0x53b8a8[_0x53b8a8['INVALID_ARGUMENT']=0x7]=_0x2b51d4(0x1b1),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x3ef)]=0x8]='TOO_MANY_REQUESTS',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x319)]=0x9]=_0x2b51d4(0x319),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2d5)]=0xa]=_0x2b51d4(0x2d5),_0x53b8a8[_0x53b8a8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2b51d4(0x2f7),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x339)]=0x1771]=_0x2b51d4(0x339),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x44c)]=0x1772]=_0x2b51d4(0x44c),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x205)]=0x1773]=_0x2b51d4(0x205),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x25c)]=0x1b59]=_0x2b51d4(0x25c),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x462)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x1e7)]=0x1b5b]=_0x2b51d4(0x1e7),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2f9)]=0x1b5c]=_0x2b51d4(0x2f9),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x34d)]=0x1b5d]='APPLY_DUPLICATED',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x49d)]=0x1f41]=_0x2b51d4(0x49d),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x22b)]=0x2329]=_0x2b51d4(0x22b),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x288)]=0x232a]=_0x2b51d4(0x288),_0x53b8a8[_0x53b8a8['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2b51d4(0x2f0),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x3dd)]=0x232c]=_0x2b51d4(0x3dd),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x315)]=0x232d]=_0x2b51d4(0x315),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2bb)]=0x2711]=_0x2b51d4(0x2bb),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x3c9)]=0x2712]=_0x2b51d4(0x3c9),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x331)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x399)]=0x2714]=_0x2b51d4(0x399),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x307)]=0x2af9]=_0x2b51d4(0x307),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2f8)]=0x2ee1]=_0x2b51d4(0x2f8),_0x53b8a8[_0x53b8a8['INVALID_INVITE_CODE']=0x2ee2]=_0x2b51d4(0x3f4),_0x53b8a8[_0x53b8a8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2b51d4(0x1df),_0x53b8a8[_0x53b8a8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2b51d4(0x33a),_0x53b8a8[_0x53b8a8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2b51d4(0x271),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2be)]=-0x1]='UNRECOGNIZED',_0x53b8a8))(Si||{}),Q=(_0x577597=>(_0x577597[_0x577597[_0x2b51d4(0x24a)]=0x0]='UNIVER_UNKNOWN',_0x577597[_0x577597[_0x2b51d4(0x1f8)]=0x1]='UNIVER_DOC',_0x577597[_0x577597[_0x2b51d4(0x1ca)]=0x2]=_0x2b51d4(0x1ca),_0x577597[_0x577597[_0x2b51d4(0x2eb)]=0x3]='UNIVER_SLIDE',_0x577597[_0x577597['UNIVER_PROJECT']=0x4]=_0x2b51d4(0x21f),_0x577597[_0x577597[_0x2b51d4(0x2be)]=-0x1]=_0x2b51d4(0x2be),_0x577597))(Q||{}),F=(_0x7bf6ef=>(_0x7bf6ef[_0x7bf6ef['UNKNOWN_CMD']=0x0]=_0x2b51d4(0x314),_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x1c8)]=0x1]=_0x2b51d4(0x1c8),_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x400)]=0x2]=_0x2b51d4(0x400),_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x3f0)]=0x3]='LEAVE',_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x27a)]=0x4]='INGEST',_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x2fc)]=0x5]=_0x2b51d4(0x2fc),_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x3fd)]=0x6]=_0x2b51d4(0x3fd),_0x7bf6ef[_0x7bf6ef['UNRECOGNIZED']=-0x1]=_0x2b51d4(0x2be),_0x7bf6ef))(F||{}),ge=(_0x2ac503=>(_0x2ac503[_0x2ac503[_0x2b51d4(0x21d)]=0x0]=_0x2b51d4(0x21d),_0x2ac503[_0x2ac503['OK']=0x1]='OK',_0x2ac503[_0x2ac503[_0x2b51d4(0x395)]=0x2]=_0x2b51d4(0x395),_0x2ac503[_0x2ac503[_0x2b51d4(0x2e9)]=0x3e9]=_0x2b51d4(0x2e9),_0x2ac503[_0x2ac503[_0x2b51d4(0x403)]=0x3ea]=_0x2b51d4(0x403),_0x2ac503[_0x2ac503['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2b51d4(0x2e2),_0x2ac503[_0x2ac503[_0x2b51d4(0x20e)]=0x3ec]=_0x2b51d4(0x20e),_0x2ac503[_0x2ac503[_0x2b51d4(0x2be)]=-0x1]=_0x2b51d4(0x2be),_0x2ac503))(ge||{}),Ei=(_0x20e9c5=>(_0x20e9c5[_0x20e9c5[_0x2b51d4(0x3df)]=0x0]=_0x2b51d4(0x3df),_0x20e9c5[_0x20e9c5['HttpImport']=0x1]=_0x2b51d4(0x29b),_0x20e9c5[_0x20e9c5[_0x2b51d4(0x38d)]=0x2]='HttpExport',_0x20e9c5[_0x20e9c5['UnitEmbedded']=0x3]=_0x2b51d4(0x49b),_0x20e9c5[_0x20e9c5[_0x2b51d4(0x3cd)]=0x4]=_0x2b51d4(0x3cd),_0x20e9c5[_0x20e9c5[_0x2b51d4(0x2be)]=-0x1]=_0x2b51d4(0x2be),_0x20e9c5))(Ei||{});const q='collaboration-client.config',An={};var se=(_0x422dd2=>(_0x422dd2['OTHER_CLIENT_EDITING']=_0x2b51d4(0x1e1),_0x422dd2[_0x2b51d4(0x245)]=_0x2b51d4(0x245),_0x422dd2['CONFLICT']=_0x2b51d4(0x385),_0x422dd2[_0x2b51d4(0x1ba)]='CLOSE_ROOM',_0x422dd2['JOIN_ROOM_FAILED']=_0x2b51d4(0x293),_0x422dd2[_0x2b51d4(0x2f5)]=_0x2b51d4(0x2f5),_0x422dd2[_0x2b51d4(0x4a0)]=_0x2b51d4(0x4a0),_0x422dd2[_0x2b51d4(0x3fb)]=_0x2b51d4(0x3fb),_0x422dd2))(se||{});class pe{constructor(){var _0x3b549=_0x2b51d4;N(this,_0x3b549(0x450),new _0x358ef7()),N(this,_0x3b549(0x3e7),this['_event$'][_0x3b549(0x380)]());}['emitEvent'](_0x237a0e){var _0x312f7a=_0x2b51d4;this[_0x312f7a(0x450)]['next'](_0x237a0e);}}const Pn=_0x2e4ac6(_0x2b51d4(0x237));function xn(_0x121b93){var _0x21b276=_0x2b51d4,_0xa7f8a7,_0x4afdfb,_0x23746b,_0x108e09,_0x169ff2;const _0x361cea=_0x121b93['data'],_0x461926=JSON[_0x21b276(0x493)](_0x361cea);switch(_0x461926[_0x21b276(0x1bf)]){case F['HEARTBEAT']:case F[_0x21b276(0x1c8)]:{const _0x40a220=_0x461926[_0x21b276(0x30d)];return{..._0x461926,'data':_0x40a220,'cmd':_0x461926[_0x21b276(0x1bf)]};}case F[_0x21b276(0x400)]:{const _0x790f44=_0x461926['joinRsp'];return{..._0x461926,'data':_0x790f44,'cmd':_0x461926[_0x21b276(0x1bf)]};}case F['RECV']:{const _0x5a254a=_0x461926[_0x21b276(0x3c4)];switch(_0x5a254a[_0x21b276(0x2dd)]){case _0x1cab20[_0x21b276(0x1d0)]:return{..._0x461926,'data':{..._0x5a254a,'data':(_0xa7f8a7=_0x5a254a[_0x21b276(0x487)])==null?void 0x0:_0xa7f8a7['cs']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x1bd)]:return{..._0x461926,'data':{..._0x5a254a,'data':(_0x4afdfb=_0x5a254a['csAckEvent'])==null?void 0x0:_0x4afdfb['cs']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x28d)]:return{..._0x461926,'data':{..._0x5a254a,'data':(_0x23746b=_0x5a254a['newCsEvent'])==null?void 0x0:_0x23746b['cs']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x42e)]:return{..._0x461926,'data':{..._0x5a254a,'data':(_0x108e09=_0x5a254a[_0x21b276(0x21e)])==null?void 0x0:_0x108e09['cs']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x4a1)]:return{..._0x461926,'data':{..._0x5a254a,'data':(_0x169ff2=_0x5a254a[_0x21b276(0x1c3)])==null?void 0x0:_0x169ff2['cs']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x457)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x44e)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x2f2)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x25f)]},'cmd':_0x461926['cmd']};case _0x1cab20['USERS_LEAVE']:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a['leaveEvent']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x2fe)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x494)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20['LIVESHARE_FETCH_OPERATIONS']:case _0x1cab20['LIVESHARE_OPERATION']:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a['liveShareOperation']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x210)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x494)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x3fa)]:return{..._0x461926,'data':_0x5a254a,'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x3d4)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x1e4)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x37d)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x2e8)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20['SHOULD_CLOSE_CONN']:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x415)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x292)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x2e3)]},'cmd':_0x461926[_0x21b276(0x1bf)]};default:return _0x461926;}}default:return _0x461926;}}function _0x3204(){var _0x254b96=['onRemoteChangeset','_onJoinRoomEvent','SNAPSHOT_INVALID_SNAPSHOT','USER_NOT_INVITED_CODE','CipherParams','state$','forEach','COLLAB_WEB_SOCKET_URL','_onConnectionFailed','appendMutation','socket$','8511410tyKiGy','POST','$super','_createHelper','mixIn','collaborators','focused$','location','[OfflineState]:\x20received\x20changeset.','/object/','kdf','APPLY_DUPLICATED','getImage','[CollaborationSessionService]:\x20socket\x20error','slice','LOCAL_CACHE_INTERVAL','saveSnapshot','_getSignURL','getUnitOnRev','default','_redoStacks','downloadEndpointUrl','createSocket','compute','failed\x20to\x20apply\x20missed\x20changesets!','close','&source=','headers','WordArray','PERSON','objectType','getCollabEntity$','hasOwnProperty','requestParams','_unitID','_submitChangeset','getTime','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','&assign=','getCurrentUser','_xformMode','Hasher','editing\x20status\x20changed\x20to','_commentUpdate$','error','subscribe','getImageSourceCache','file','_resendWithTimeout','transformSelections','getOwnPropertyDescriptor','stringify','_createSocket','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','People','_getAPIPrefix','_exhaustRemoteChangesetQueue','_unitInfo$','UPDATE_PERMISSION_OBJ','onMissedChangesetFetched','rev','asObservable','_transformRemoteChangesetByStateCache','_sendHeartbeat','_data','\x20-\x20','CONFLICT','confirm','sin','_clearCollaborationTimeoutTimer','generateRandomId','_config','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_keySchedule','HttpExport','HEARTBEAT_INTERVAL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onConnectionOpen','_transformIMECache','pipe','_sendHeartbeatTimer','selections','FAIL','OPTIONAL','put','responseType','YUUMI_SUBSCRIPTION_NOT_FOUND','_initUnitPermissionChange','status$','FileId','_onRemoteACK','_localCacheService','debug','_clearLocalCache','_throwTelemetryCollaborationNewChangeset','byteLength','_shouldReportTelemetry','cfg','_parse','/universer-api/authz','socket\x20close','FETCH_MISSING','_scheduleCollaborationTimeoutTimer','_startTelemetryCollaborationNewChangeset','crypto','c1Prime','error$','resend','12918TBADQf','_createInitialStateImpl','_createHandler','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','connection\x20error','name','getCurrentRevOfUnit','_collaborationUIEventService','ciphertext','_updateStatus','COMPRESS_MUTATION_APPLY','_applyRemoteChangeset','stopTime','_disableEditing','decrypt','registerHTTPInterceptor','_incrementRevisionNumber','join','ALREADY_EXISTS','collaMsg','unitID','transformStack\x20failed!','/universer-api/snapshot/','_socketService','YUUMI_URL_COL_OUT_OF_RANGE','awaitingChangeset','loginUrlKey','updatePermissionPoint','UnitSnapshot','_sessionStatus$','origin','compose','not_collab','submit\x20changeset\x20error!','AWAITING','COMMENT_UPDATE','&to=','getTypeOfUnitDisposed$','msCrypto','reset','_keyPriorReset','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_onRemoteRejected','_mode','LICENSE_EXPORT_SIZE_EXCEEDED','_compressMutationService','Undefined','/universer-api/stream/file/upload','then','/role','_clearRedo','Base64','_logService','onlyLocal','event$','close$','repeat','_startCollaboration','random','refreshPermission','awaiting','_networkConditionService','TOO_MANY_REQUESTS','LEAVE','_onCombEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','setShowComponents','INVALID_INVITE_CODE','_schedule','_undoRedoService','_transformUndoredo','method','_updateLocalCache','MSG_FOR_ERROR','SUBMIT_CHANGESET_TIMEOUT','univer-pro.collaboration-client-socket-service','RECV','LIVESHARE_OPERATION','avatar','JOIN','_doProcessBlock','editingUnit','JOIN_ROOM_NOT_EXISTS','_transformService','entries','/block/','extend','getValue','title','SHOULD_CLOSE_CONN','USERS_LEAVE','_handlerCallback','onTransformRemoteChangesetByStateCache','_reverseMap','closeSession','post','_hasher','_transformStack','readAsDataURL','setCurrentUser','shouldCloseConn','min','padding','members','JOINING','_change$','fetching\x20missing\x20changesets\x20from\x20','BASE64','_awaitingChangeset','_retryCount','enc','routeKey','8xgHDOw','_onLocalMutation','decryptBlock','params','Could\x20not\x20dynamically\x20require\x20\x22','_clearHeartbeatTimer','getDeserializedSheetBlock','randomBytes','_status$','_telemetryInfo','get','BlockCipherMode','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CHANGESET_REJ','StreamCipher','getFocusedUnit','_onConflict','m2Prime','_oKey','_permissionService','68828FFPccy','_toggleOffline','INTERNAL_ERROR','conflict','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearTimeoutTimer','onSendChangeset','startTime','_collaborationSessionService','_transitionLocked','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','snapshotServerUrl','HmacMD5','enableOfflineEditing','onRemoteRej','EvpKDF','_onUserLeave','socket\x20open.','readyForCollab','_commandService','floor','_roomCreated$','_memberService','SNAPSHOT_HAS_BEEN_REMOVED','session.room-full','updateCursorEvent','exports','_event$','getUnitType','_collaborationTimeoutTimer','isPermissionRej','function','create','_cipher','UPDATE_CURSOR','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_handler','open$','execute','onTransformSelections','BlockCipher','sessionStatus','getInterceptPoints','onCommentUpdate','_snapshotService','APPLY_NON_SEQUENTIAL_REVISION','init','target','defineProperty','_doCryptBlock','{fileID}','_members$','\x20to\x20','capture','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','session.room-not-exists','formatter','indexOf','toggleOnline','MUTATION','_onMessage','update','_prevBlock','getSheetBlock','NoPadding','reqId','/-/object/-/batch_allowed','_clearScheduledTask','every','_state','url','requireSession','interceptor','key','setConfig','send','_remoteChangesetQueue','buffer','2417094IGlnaq','_waitForHeartbeatResponse','socketService','_lockTransition','permissionRejEvent','prototype','disableLocalCache','map','[SyncedState]:\x20received\x20acknowledgement.','_getCtorByUniverType','code','addHandlerCallback','\x20in\x20_schedule.','[DataLoaderService]','_getUndoStack','createInstance','parse','liveShareNewHost','getWorkbookSelections','_onRecvEvent','objectID','createDecryptor','_singleActiveUnitService','_getLoginPath','UnitEmbedded','deleteCollaborator','CONNECTOR_DATA_TOO_LARGE','actions','executeCommand','SOCKET_FAILED','CHANGESET_SHOULD_RETRY','_process','_members','_append','getUnitId','byteOffset','_getSendChangesetTimeout','_roomMembers','keySize','_getRedoStack','_type','onStarting','[CollaborationSession]','UNDEFINED','collaboratorID','__Key__','encodeURIComponent','href','INVALID_ARGUMENT','delete','_initMergeInterceptor','toggleOffline','message$','collaboration_new_changeset','_changesetReqId','_DEC_XFORM_MODE','_isPermissionRej','CLOSE_ROOM','charAt','data','CHANGESET_ACK','objectActions','cmd','[OfflineState]:\x20received\x20acknowledgement.','_tryReconnect','format','csShouldRetryEvent','clone','collabWebSocketUrl','UUID','string','HELLO','_replayCachedMutations','UNIVER_SHEET','max','_userManagerService','HmacSHA1','__esModule','collabSubmitChangesetUrl','PERMISSION_REJ','roles','_instanceService','reconnect','blockSize','fetchMissingChangesets','ERROR_IMAGE_TYPE','unitId\x20is\x20not\x20found','Latin1','unsubscribe','charCodeAt','[OfflineState]:\x20received\x20rejection.','Malformed\x20UTF-8\x20data','_decreaseWaiting','AES','INVITE_CODE_REQUIRED','onCommandExecuted','OTHER_CLIENT_EDITING','_getAPIPrefixPath','body','commentUpdateEvent','Univer','list','APPLY_REVISION_CONFILICT','unpad','clamp','fetchMiss','reverse','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','localCacheService','SHA1','LOGIN_URL_KEY','now','loadSheet','_removeRoom','values','awaiting_with_pending','fetch_missing','_entityInit$','_onFetchMissResult','UNIVER_DOC','x-univer-host','loadDoc','PSEUDO_FETCH_MISSING_RESULT','_showConflictNotification','getActiveSheet','COMPRESS_MUTATION_SEND','isArray','createEncryptor','Encryptor','onTransformIME','_pendingMutations','_hash','ENSURE_SNAPSHOT_EXECUTION','salt','_sheetTransformSelectionsService','/-/object/list','subUnitId','\x0aAfter:\x20','/allowed','[CollaborationSessionService]','resolve','GLOBAL_ROOMS_CNT_EXCEEDS','image/gif','LIVESHARE_TERMINATE','_map','save\x20fail\x20reason\x20is\x20','[CollaborationState]:\x20apply\x20error!','[PendingState]:\x20received\x20acknowledgement.','algo','ONLINE','_iv','set','changesets','Cipher','result','_onRemoteChangeset','UNKNOWN_CODE','csRejEvent','UNIVER_PROJECT','_timeoutTimer','sessionStatus$','10740436TRZWVL','getRandomValues','randomUUID','_queuedRemoteChangesets','?url=','pending','duration','catch','startsWith','LICENSE_MAX_UNITS_EXCEEDED','_localeService','SNAPSHOT_URL_KEY','_configService','_univerInstanceService','revision','HEARTBEAT_TIMEOUT','/resources','_substituteUndoStack','_init','getTypeOfUnitAdded$','signUrlServerUrl','univer-pro.collaboration-client.network-condition.service','mode','onLocalMutation','length','setWaitCount','_getDownloadEndpointURL','session.room-permission-denied','emitEvent','saveSheetBlock','EXCHANGE_SIGN_URL_SERVER_URL_KEY','from','transformUndoRedo','Decryptor','_createInitialState','PERMISSION_DENIED','image/bmp','_invKeySchedule','_scheduleCompleteTimestamp','originalMeta','UNIVER_UNKNOWN','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onRemoteAck','synced','add','_changesetSessionId','loadOfflineData','_stopTelemetryCollaborationNewChangeset','complete','sid','_httpService','reject','\x0aCurrent:\x20','getCollabEntity','SUCCUSS','AWAITING_WITH_PENDING','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','finalize','APPLY_REJECT','_doReset','apply','joinEvent','_resendTimeout','[CollaborationEntity]','fromCollab','_rescheduleHeartbeat','dispose','SUBMIT_CHANGESET','22PqKGgY','/universer-api/oidc/authpage','encode','IDLE','_snapshotServerService','_updateState','getMember','json','type','OTHER_CLIENTS_EDITING','_key','INVITE_CODE_ALREADY_BOUND','src','snapshot','_resendTimer','hasher','push','members$','HMAC','reduce','INGEST','_toggleOnline','Hex','_loadDoc','mutations','disposeWithMe','OpenSSL','_executeRemoteChangeset','offline','subject','sigBytes','_sendingTimer','_retryConnectingTimer','filter','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','deepClone','getLatestCsReqIdBySid','_fetchMissChangesets','/collaborator','NEW_CHANGESETS','6754404DYMnNi','_minBufferSize','_commentService','ceil','UNISCRIPT_RUN','JOIN_ROOM_FAILED','_HTTPService','pad','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_ENC_XFORM_MODE','removeMember','size','_registerDependencies','HttpImport','transformMutationsWithChangeset','_getCurrentRevision','enableSingleActiveInstanceLock','fetchThroughInterceptors','getMemberID','memberID','_entities','7MCfguw','?size=','_doCreateSocket','getCurrentSelections','getConfig','splice','session.room-cnt-exceeds','textRanges','1340ufMMGK','_telemetryService','withCredentials','OFFLINE','_nDataBytes','words','_listenToNetworkCondition','objects','_syncEditingCollabCursor','ERROR_IMAGE','_collaborationPaused','_clearUndo','_unlockTransition','DEFAULT_FILE_NAME','_initRequestHeader','MD5','YUUMI_UNABLE_LOAD_URL','PasswordBasedCipher','localeService','UNRECOGNIZED','getSnapshotAPIPath','RETRY_CONNECTING_MAX_COUNT','status','_sender','hostname','_initCloseConn','onload','has','UNIVER_COLLABORATION_CLIENT_PLUGIN','transformChangesets','override','CBC','onMissingChangesets','UNAUTHENTICATED','encrypt','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','allowed','onSyncEditingCollabCursor','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_collabSessionService','_candidateSocket','_socket','LOGIN_FAILED','baseRev','range','patch','session','LIVESHARE_FETCH_OPERATIONS','_socket$','resourceIDs','eventID','_joinRoom','toString','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','unknown','JOIN_ROOM_PERMISSION_DENIED','uniscriptRunEvent','_waitCount','9490941iEfuJi','_initDependencies','SYNCED','updatePermissionObjEvent','JOIN_ROOM_FULL','call','UNIVER_SLIDE','[PendingState]:\x20received\x20rejection.','_createHmacHelper','_checkMissing','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','LICENSE_IMPORT_SIZE_EXCEEDED','_socketMessageSubscription','USERS_ENTER','_socketReady','onTransformState','SOCKET_FAILED_RETRY','processBlock','CHANGESET_REVISION_CONFILICT','INVITE_CODE_HAS_BEEN_UES','APPLY_PERMISSION_DENIED','updateMember','clear','HEARTBEAT','ivSize','LIVESHARE_NEW_HOST','find','iterations','_clearRetryConnectingTimer','saveImage','auth.needGotoLoginAlert','listCollaborators','_sessions','_emitMembers','PY_RUNTIME_SCRIPT_ERROR','/universer-api/uniscript','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','initWorkbookPermissionChange','_onRemoteRetry','_state$','infoRsp','[FetchMissState]','[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.','_imageSourceCache','_transformRemoteChangesetByIMECache','Utf8','_replaceFileID','UNKNOWN_CMD','LICENSE_DISTRO_REJECTED','/unit/','_tryEnsureSocket','concat','COMPLETION_FINISHED','authzUrl','_nRounds','/fetchmissing?from=','Error\x20on\x20receiving\x20event','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[CollaborationUndoRedoService]','workbook','next','_revisionService','_onOffline','NOT_COLLAB','Failed\x20to\x20update\x20permission\x20point','image/png','onRemoteRetry','toLowerCase','_acknowledgedAwaitingChangeset','Base','unitId','LIVESHARE_REQUEST_HOST','userID','lib','__creator','dispose$','YUUMI_RATE_OVER_LIMIT','_iKey','_injector','state','bind','pluginName'];_0x3204=function(){return _0x254b96;};return _0x3204();}function Ln(_0x537dd0){var _0x31d60d=_0x2b51d4;switch(_0x537dd0[_0x31d60d(0x1bf)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x31d60d(0x375)]({'cmd':_0x537dd0[_0x31d60d(0x1bf)],'routeKey':_0x537dd0['routeKey']});case F[_0x31d60d(0x27a)]:{let _0x3e4c17;switch(_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x2dd)]){case _0x1cab20['UPDATE_CURSOR']:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x457)],'updateCursorEvent':_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x1bc)]};break;}case _0x1cab20[_0x31d60d(0x40b)]:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x40b)],'leaveEvent':_0x537dd0[_0x31d60d(0x1bc)]['data']};break;}case _0x1cab20['USERS_ENTER']:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x2f2)],'joinEvent':_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x1bc)]};break;}case _0x1cab20['LIVESHARE_NEW_HOST']:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x2fe)],'liveShareNewHost':_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x1bc)]};break;}case _0x1cab20['LIVESHARE_OPERATION']:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x3fe)],'liveShareOperation':_0x537dd0[_0x31d60d(0x1bc)]['data']};break;}case _0x1cab20[_0x31d60d(0x210)]:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x210)],'liveShareTerminate':_0x537dd0['data'][_0x31d60d(0x1bc)]};break;}case _0x1cab20['LIVESHARE_REQUEST_HOST']:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x32c)],'liveShareRequestHost':_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x1bc)]};break;}case _0x1cab20[_0x31d60d(0x2da)]:{_0x3e4c17={'eventID':_0x1cab20['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3e4c17={'eventID':_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x2dd)]};}return JSON[_0x31d60d(0x375)]({'cmd':_0x537dd0[_0x31d60d(0x1bf)],'routeKey':_0x537dd0['routeKey'],'collaMsg':_0x3e4c17});}case F[_0x31d60d(0x400)]:return JSON[_0x31d60d(0x375)]({'cmd':_0x537dd0[_0x31d60d(0x1bf)],'routeKey':_0x537dd0[_0x31d60d(0x420)],'joinReq':_0x537dd0[_0x31d60d(0x1bc)]});case F[_0x31d60d(0x3f0)]:return JSON[_0x31d60d(0x375)]({'cmd':_0x537dd0[_0x31d60d(0x1bf)],'routeKey':_0x537dd0[_0x31d60d(0x420)],'leaveReq':_0x537dd0['data']});default:throw new Error(_0x31d60d(0x25a));}}var Mn=Object[_0x2b51d4(0x374)],kn=(_0x475f2b,_0x3c9b8f,_0x18ced2,_0x108bd1)=>{var _0xfae890=_0x2b51d4;for(var _0x39c350=_0x108bd1>0x1?void 0x0:_0x108bd1?Mn(_0x3c9b8f,_0x18ced2):_0x3c9b8f,_0x1321b8=_0x475f2b[_0xfae890(0x23a)]-0x1,_0x46a0c3;_0x1321b8>=0x0;_0x1321b8--)(_0x46a0c3=_0x475f2b[_0x1321b8])&&(_0x39c350=_0x46a0c3(_0x39c350)||_0x39c350);return _0x39c350;},we=(_0x19d516,_0x5bcedd)=>(_0x15982f,_0x50f4d6)=>_0x5bcedd(_0x15982f,_0x50f4d6,_0x19d516);const Ii=_0x2e4ac6(_0x2b51d4(0x3fc));function $n(_0x3d88de,_0x530e01,_0x374ae1){var _0x42078e=_0x2b51d4;return _0x3d88de+'/'+_0x530e01+_0x42078e(0x316)+_0x374ae1+'/new_changes';}let Gt=class extends _0x46eb90{constructor(_0x19b8bc,_0xa8cf33,_0x2264ab,_0x51ca55,_0x50a1a5){var _0x15b24b=_0x2b51d4;super(),this[_0x15b24b(0x333)]=_0x19b8bc,this['_httpService']=_0xa8cf33,this['_configService']=_0x2264ab,this[_0x15b24b(0x3e5)]=_0x51ca55,this['_snapshotServerService']=_0x50a1a5;}[_0x2b51d4(0x2a5)](_0x1604d1){var _0x18a058=_0x2b51d4;const _0xe6fe36=this[_0x18a058(0x333)][_0x18a058(0x42b)](_0x1d1f76);if(!_0xe6fe36)throw new Error(_0x18a058(0x2d1));const _0x2c8d7a=_0xe6fe36['createSocket'](_0x1604d1);if(!_0x2c8d7a)throw new Error(_0x18a058(0x309));const _0x2f6d3f=new _0x55beb3(),_0x87095d=new _0x358ef7();_0x2f6d3f['add'](_0x2c8d7a[_0x18a058(0x3e8)]['subscribe'](_0x4d542c=>_0x87095d[_0x18a058(0x321)](_0x4d542c))),_0x2f6d3f[_0x18a058(0x24e)](_0x642f1f(()=>_0x87095d[_0x18a058(0x252)]()));const _0x4d50e5=new _0x358ef7();_0x2f6d3f[_0x18a058(0x24e)](_0x2c8d7a[_0x18a058(0x3ad)][_0x18a058(0x36f)](_0x477175=>_0x4d50e5['next'](_0x477175))),_0x2f6d3f[_0x18a058(0x24e)](_0x642f1f(()=>_0x4d50e5[_0x18a058(0x252)]()));const _0x335ce4=new _0x358ef7();_0x2f6d3f['add'](_0x2c8d7a[_0x18a058(0x1b5)][_0x18a058(0x36f)](_0x230923=>{var _0x42df87=_0x18a058;const _0x327e9a=xn(_0x230923);_0x335ce4[_0x42df87(0x321)](_0x327e9a);})),_0x2f6d3f['add'](_0x642f1f(()=>_0x335ce4[_0x18a058(0x252)]()));let _0xea6607;const _0x4d8931=()=>{var _0x3e1c45=_0x18a058;_0x4d50e5[_0x3e1c45(0x321)](new Event(_0x3e1c45(0x3b5))),_0x87095d[_0x3e1c45(0x321)](new Event('connection\x20error')),_0xea6607[_0x3e1c45(0x35b)]();};return _0xea6607={'memberID':'','close$':_0x87095d['asObservable'](),'error$':_0x4d50e5[_0x18a058(0x380)](),'open$':_0x2c8d7a[_0x18a058(0x45a)],'message$':_0x335ce4[_0x18a058(0x380)](),'send':_0x325f7e=>{var _0x599ff6=_0x18a058;if(_0x325f7e['cmd']===F['INGEST']){if(_0x325f7e[_0x599ff6(0x1bc)][_0x599ff6(0x2dd)]===_0x1cab20[_0x599ff6(0x265)]){this[_0x599ff6(0x365)](_0xea6607,_0x325f7e[_0x599ff6(0x1bc)])[_0x599ff6(0x229)](_0x18844d=>{var _0x490c0b=_0x599ff6;this[_0x490c0b(0x3e5)][_0x490c0b(0x36e)](_0x18844d),_0x4d8931();});return;}if(_0x325f7e[_0x599ff6(0x1bc)][_0x599ff6(0x2dd)]===_0x1cab20[_0x599ff6(0x3a8)]){const _0x531079=_0x325f7e[_0x599ff6(0x1bc)];this[_0x599ff6(0x28b)](_0x531079)[_0x599ff6(0x3e1)](_0x21e5ed=>{var _0xafc613=_0x599ff6;_0x335ce4[_0xafc613(0x321)]({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x531079[_0xafc613(0x1bc)][_0xafc613(0x3c5)],'routeType':'','data':{'eventID':_0x1cab20[_0xafc613(0x1fb)],'data':{'changesets':_0x21e5ed}}});})[_0x599ff6(0x229)](_0x479565=>{var _0x1e1411=_0x599ff6;this[_0x1e1411(0x3e5)]['error'](_0x479565),_0x4d8931();});return;}}_0x2c8d7a[_0x599ff6(0x480)](Ln(_0x325f7e));},'close':()=>{var _0x29686b=_0x18a058;_0x2c8d7a[_0x29686b(0x35b)](),_0x2f6d3f[_0x29686b(0x264)]();}},_0xea6607;}async['_submitChangeset'](_0x2de431,_0x6a23b4){var _0x5cdef6=_0x2b51d4,_0x5710b4,_0xca79f6;const {unitType:_0x4fd01a,unitID:_0x301b5e,changeset:_0x285eaa}=_0x6a23b4['data'],_0xf05660={'unitID':_0x301b5e,'memberID':_0x2de431[_0x5cdef6(0x2a1)],'type':_0x4fd01a,'changeset':_0x2f9435(_0x285eaa)},_0x549308=this[_0x5cdef6(0x22e)]['getConfig'](Nn),_0x2795eb=this['_configService'][_0x5cdef6(0x2a7)](q),_0x380cf8=$n((_0xca79f6=(_0x5710b4=_0x2795eb==null?void 0x0:_0x2795eb[_0x5cdef6(0x1cf)])!=null?_0x5710b4:_0x549308)!=null?_0xca79f6:Dn,_0x4fd01a,_0x301b5e);try{await this[_0x5cdef6(0x254)][_0x5cdef6(0x410)](_0x380cf8,{'body':_0xf05660});}catch(_0x97ef2d){throw this[_0x5cdef6(0x3e5)][_0x5cdef6(0x36e)](_0x5cdef6(0x4ad),_0x5cdef6(0x3d2)),_0x97ef2d;}}async[_0x2b51d4(0x28b)](_0x1fadf0){var _0x25f8ee=_0x2b51d4;const {unitID:_0xedbd77,from:_0x1f0538,to:_0x5c241c,unitType:_0xef98c4}=_0x1fadf0[_0x25f8ee(0x1bc)];return(await this[_0x25f8ee(0x26a)][_0x25f8ee(0x1d5)]({'metadata':void 0x0},{'unitID':_0xedbd77,'type':_0xef98c4,'from':_0x1f0538,'to':_0x5c241c}))[_0x25f8ee(0x219)];}};Gt=kn([we(0x0,_0xbb9044(_0xe87ffb)),we(0x1,_0xbb9044(_0x334dc2)),we(0x2,_0x3d91ad),we(0x3,_0x3e08f2),we(0x4,_0x20d692)],Gt);const Hn=_0x2b51d4(0x1b6);function Bn(_0x9f0f4b){var _0x1009a7=_0x2b51d4;return JSON[_0x1009a7(0x375)](_0x9f0f4b)[_0x1009a7(0x23a)];}class Ti{constructor(){var _0x253dfb=_0x2b51d4;N(this,_0x253dfb(0x36d),new _0x358ef7()),N(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x2b51d4(0x460)](_0x34f194){var _0xf9b714=_0x2b51d4;this[_0xf9b714(0x36d)][_0xf9b714(0x321)](_0x34f194);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x24aac6,_0x5e4bd8,_0xa88859,_0x2270b2)=>{var _0x4476af=_0x2b51d4;for(var _0x22f89f=_0x2270b2>0x1?void 0x0:_0x2270b2?jn(_0x5e4bd8,_0xa88859):_0x5e4bd8,_0x33a5e4=_0x24aac6[_0x4476af(0x23a)]-0x1,_0x41ab42;_0x33a5e4>=0x0;_0x33a5e4--)(_0x41ab42=_0x24aac6[_0x33a5e4])&&(_0x22f89f=_0x41ab42(_0x22f89f)||_0x22f89f);return _0x22f89f;},Wt=(_0x2c6805,_0x34d1d5)=>(_0x4cb39e,_0x29af52)=>_0x34d1d5(_0x4cb39e,_0x29af52,_0x2c6805);let xe=class extends _0x46eb90{constructor(_0x16fef9,_0x15dc5d){var _0x2a3396=_0x2b51d4;super(),N(this,_0x2a3396(0x4a8),new Map()),N(this,'_roomCreated$',new _0x358ef7()),(this[_0x2a3396(0x22f)]=_0x16fef9,this[_0x2a3396(0x1cc)]=_0x15dc5d,this[_0x2a3396(0x27f)](_0xb2540(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5d6c54[_0x2a3396(0x1ca)])['pipe'](_0x87d7ab(_0x146f94=>_0x146f94['getUnitId']())),this[_0x2a3396(0x22f)][_0x2a3396(0x3d6)](_0x5d6c54[_0x2a3396(0x1f8)])[_0x2a3396(0x392)](_0x87d7ab(_0x30af6c=>_0x30af6c['getUnitId']())),this[_0x2a3396(0x22f)][_0x2a3396(0x3d6)](_0x5d6c54[_0x2a3396(0x2eb)])[_0x2a3396(0x392)](_0x87d7ab(_0x36add6=>_0x36add6[_0x2a3396(0x4a5)]())))['subscribe'](_0x3aa38b=>this['_removeRoom'](_0x3aa38b))));}['waitForRoom$'](_0x1d2f5c){var _0x35ece2=_0x2b51d4;return this[_0x35ece2(0x4a8)][_0x35ece2(0x2c6)](_0x1d2f5c)?_0x5e2f08(this['_roomMembers']['get'](_0x1d2f5c)):this[_0x35ece2(0x44a)][_0x35ece2(0x392)](_0x87d7ab(_0xb1861a=>{var _0x4b9a97=_0x35ece2;if(_0xb1861a===_0x1d2f5c)return this[_0x4b9a97(0x4a8)][_0x4b9a97(0x42b)](_0xb1861a);}));}[_0x2b51d4(0x414)](_0x17212c){var _0x249dca=_0x2b51d4;this[_0x249dca(0x1cc)][_0x249dca(0x414)](_0x17212c);}[_0x2b51d4(0x369)](){return this['_userManagerService']['getCurrentUser']();}[_0x2b51d4(0x2fa)](_0x54cd95,_0xe50454){var _0x28b961=_0x2b51d4;let _0x4a7980=this[_0x28b961(0x4a8)][_0x28b961(0x42b)](_0x54cd95);_0x4a7980||(_0x4a7980=new Vn(),this[_0x28b961(0x4a8)][_0x28b961(0x218)](_0x54cd95,_0x4a7980),this[_0x28b961(0x44a)][_0x28b961(0x321)](_0x54cd95)),_0x4a7980[_0x28b961(0x2fa)](_0xe50454);}[_0x2b51d4(0x298)](_0x40317a,_0x41bec1){var _0x75fb58=_0x2b51d4;const _0x28fff2=this[_0x75fb58(0x4a8)][_0x75fb58(0x42b)](_0x40317a);_0x28fff2&&_0x28fff2[_0x75fb58(0x298)](_0x41bec1);}['getRoom'](_0x208742){var _0x2ec6bc=_0x2b51d4;return this['_roomMembers'][_0x2ec6bc(0x42b)](_0x208742);}[_0x2b51d4(0x26c)](_0x41c23e,_0x449325){var _0x474976=_0x2b51d4;const _0x13d73d=this[_0x474976(0x4a8)][_0x474976(0x42b)](_0x41c23e);if(_0x13d73d)return _0x13d73d[_0x474976(0x26c)](_0x449325);}[_0x2b51d4(0x1f2)](_0x588206){var _0x1db9dd=_0x2b51d4;const _0x47699b=this[_0x1db9dd(0x4a8)][_0x1db9dd(0x42b)](_0x588206);_0x47699b&&(_0x47699b[_0x1db9dd(0x264)](),this[_0x1db9dd(0x4a8)][_0x1db9dd(0x1b2)](_0x588206));}['dispose'](){var _0x126c4e=_0x2b51d4;this[_0x126c4e(0x4a8)]['forEach'](_0x36d148=>_0x36d148[_0x126c4e(0x264)]()),this['_roomMembers'][_0x126c4e(0x2fb)](),this[_0x126c4e(0x44a)][_0x126c4e(0x252)]();}};xe=Fn([Wt(0x0,_0xcd0588),Wt(0x1,_0xbb9044(_0x609c05))],xe);class Vn extends _0x46eb90{constructor(){var _0x1c55c5=_0x2b51d4;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x53317a(this[_0x1c55c5(0x4a3)])),N(this,_0x1c55c5(0x277),this[_0x1c55c5(0x468)][_0x1c55c5(0x380)]());}[_0x2b51d4(0x264)](){var _0x2edccd=_0x2b51d4;this[_0x2edccd(0x4a3)][_0x2edccd(0x2fb)]();}[_0x2b51d4(0x2fa)](_0x4c52c1){var _0xc31b6b=_0x2b51d4;this[_0xc31b6b(0x4a3)][_0xc31b6b(0x218)](_0x4c52c1[_0xc31b6b(0x2a1)],_0x4c52c1),this[_0xc31b6b(0x306)]();}[_0x2b51d4(0x298)](_0x1585bd){var _0x2ea879=_0x2b51d4;this[_0x2ea879(0x4a3)][_0x2ea879(0x1b2)](_0x1585bd);}[_0x2b51d4(0x26c)](_0x566d11){var _0x43342e=_0x2b51d4;return this[_0x43342e(0x4a3)][_0x43342e(0x42b)](_0x566d11);}['getAllMembers'](){var _0x183165=_0x2b51d4;return Array[_0x183165(0x241)](this[_0x183165(0x4a3)][_0x183165(0x1f3)]());}['_emitMembers'](){var _0x540626=_0x2b51d4;this[_0x540626(0x468)][_0x540626(0x321)](this[_0x540626(0x4a3)]);}}var Gn=Object[_0x2b51d4(0x374)],Wn=(_0x299ac1,_0x223d70,_0xcf0a66,_0x3f85ec)=>{var _0x37e6d5=_0x2b51d4;for(var _0x36d921=_0x3f85ec>0x1?void 0x0:_0x3f85ec?Gn(_0x223d70,_0xcf0a66):_0x223d70,_0x68a120=_0x299ac1[_0x37e6d5(0x23a)]-0x1,_0x4758b8;_0x68a120>=0x0;_0x68a120--)(_0x4758b8=_0x299ac1[_0x68a120])&&(_0x36d921=_0x4758b8(_0x36d921)||_0x36d921);return _0x36d921;},me=(_0x35dfb9,_0x5278ea)=>(_0x2a2276,_0x15760d)=>_0x5278ea(_0x2a2276,_0x15760d,_0x35dfb9),Ee=(_0xd18406=>(_0xd18406[_0xd18406[_0x2b51d4(0x269)]=0x0]=_0x2b51d4(0x269),_0xd18406[_0xd18406[_0x2b51d4(0x419)]=0x1]=_0x2b51d4(0x419),_0xd18406[_0xd18406[_0x2b51d4(0x2ae)]=0x2]=_0x2b51d4(0x2ae),_0xd18406[_0xd18406[_0x2b51d4(0x216)]=0x3]=_0x2b51d4(0x216),_0xd18406))(Ee||{});const Kt={[ge[_0x2b51d4(0x395)]]:'session.join-failed',[ge[_0x2b51d4(0x2e9)]]:_0x2b51d4(0x44d),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x2b51d4(0x46c),[ge[_0x2b51d4(0x2e2)]]:_0x2b51d4(0x23d),[ge[_0x2b51d4(0x20e)]]:_0x2b51d4(0x2a9)};let Et=class extends _0xbf3a36{constructor(_0x3e800b,_0x222a42,_0x3af67f,_0x1b88bf,_0x2b2a7a,_0xf3313a,_0x1181d4,_0x1d091a,_0x1ad53e){var _0x55ddd7=_0x2b51d4;super(),N(this,'_sessionStatus$',new _0x53317a(0x0)),N(this,_0x55ddd7(0x221),this['_sessionStatus$'][_0x55ddd7(0x380)]()),N(this,_0x55ddd7(0x450),new _0x358ef7()),N(this,'event$',this[_0x55ddd7(0x450)][_0x55ddd7(0x380)]()),N(this,_0x55ddd7(0x2d4)),N(this,'_socketMessageSubscription'),N(this,_0x55ddd7(0x452)),N(this,'_shouldReportTelemetry',!0x1),N(this,'_telemetryInfo',null),(this[_0x55ddd7(0x364)]=_0x3e800b,this[_0x55ddd7(0x3e5)]=_0x3af67f,this[_0x55ddd7(0x22e)]=_0x1b88bf,this[_0x55ddd7(0x22c)]=_0x2b2a7a,this[_0x55ddd7(0x44b)]=_0xf3313a,this[_0x55ddd7(0x290)]=_0x1181d4,this[_0x55ddd7(0x3b8)]=_0x1d091a,this[_0x55ddd7(0x2ac)]=_0x1ad53e,this['_shouldReportTelemetry']=!!this[_0x55ddd7(0x2ac)],_0x222a42['pipe'](_0x31b31c(this[_0x55ddd7(0x330)]))[_0x55ddd7(0x36f)](_0x378160=>{var _0x8b06ed=_0x55ddd7,_0x380193;typeof _0x378160>'u'||(this[_0x8b06ed(0x2d4)]=_0x378160,_0x378160?(this[_0x8b06ed(0x2de)](_0x378160),this['_socketMessageSubscription']=_0x378160[_0x8b06ed(0x1b5)][_0x8b06ed(0x36f)](_0x43d997=>{var _0x1c0b75=_0x8b06ed;_0x43d997['routeKey']===this['_unitID']&&this[_0x1c0b75(0x3f1)](_0x43d997);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x8b06ed(0x321)](0x2),(_0x380193=this[_0x8b06ed(0x2f1)])==null||_0x380193[_0x8b06ed(0x1d9)](),this[_0x8b06ed(0x2f1)]=null));}));}get[_0x2b51d4(0x45e)](){var _0x4656b5=_0x2b51d4;return this[_0x4656b5(0x3ce)]['getValue']();}['getMemberID'](){var _0x309a0e=_0x2b51d4,_0x3e25d2,_0x5ae2b2;return(_0x5ae2b2=(_0x3e25d2=this[_0x309a0e(0x2d4)])==null?void 0x0:_0x3e25d2['memberID'])!=null?_0x5ae2b2:null;}[_0x2b51d4(0x264)](){var _0x56a221=_0x2b51d4;super[_0x56a221(0x264)](),this[_0x56a221(0x330)][_0x56a221(0x321)](),this[_0x56a221(0x330)]['complete']();}[_0x2b51d4(0x35b)](){var _0x1dab4f=_0x2b51d4,_0x309a37,_0x53b55d;this[_0x1dab4f(0x3a1)](),(_0x309a37=this[_0x1dab4f(0x2d4)])==null||_0x309a37[_0x1dab4f(0x480)]({'cmd':F[_0x1dab4f(0x3f0)],'data':{'roomID':this[_0x1dab4f(0x364)]}}),(_0x53b55d=this['_socket'])==null||_0x53b55d['close'](),this[_0x1dab4f(0x450)]['complete'](),this[_0x1dab4f(0x3ce)][_0x1dab4f(0x252)](),this[_0x1dab4f(0x264)]();}[_0x2b51d4(0x3f1)](_0x1f517a){var _0x21c492=_0x2b51d4;_0x1f517a[_0x21c492(0x1bf)]===F[_0x21c492(0x400)]?this[_0x21c492(0x338)](_0x1f517a):_0x1f517a[_0x21c492(0x1bf)]===F['RECV']&&this[_0x21c492(0x496)](_0x1f517a);}[_0x2b51d4(0x2de)](_0x13c714){var _0x2dde67=_0x2b51d4;this['_sessionStatus$'][_0x2dde67(0x321)](0x1),_0x13c714['send']({'cmd':F[_0x2dde67(0x400)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2dde67(0x364)]}]}});}[_0x2b51d4(0x338)](_0x30c26b){var _0x1da2f8=_0x2b51d4,_0x19d894;if(_0x30c26b[_0x1da2f8(0x48d)]in Kt){this['_collaborationUIEventService'][_0x1da2f8(0x23e)]({'id':se[_0x1da2f8(0x293)],'data':Kt[_0x30c26b[_0x1da2f8(0x48d)]]}),this[_0x1da2f8(0x3ce)][_0x1da2f8(0x321)](0x2);return;}this[_0x1da2f8(0x3ce)]['next'](0x3);const _0x1c2cad=(_0x19d894=_0x30c26b[_0x1da2f8(0x1bc)]['roomInfos'][this[_0x1da2f8(0x364)]])==null?void 0x0:_0x19d894[_0x1da2f8(0x418)];_0x1c2cad&&_0x1c2cad[_0x1da2f8(0x33d)](_0x57974c=>this['_memberService'][_0x1da2f8(0x2fa)](this[_0x1da2f8(0x364)],_0x57974c));}[_0x2b51d4(0x496)](_0x236266){var _0x2f1068=_0x2b51d4;try{const _0x5c2a53=_0x236266['data'];switch(_0x5c2a53['eventID']){case _0x1cab20[_0x2f1068(0x2f2)]:this['_onUserJoin'](_0x5c2a53),this['_event$'][_0x2f1068(0x321)](_0x5c2a53);break;case _0x1cab20[_0x2f1068(0x40b)]:this['_onUserLeave'](_0x5c2a53),this[_0x2f1068(0x450)][_0x2f1068(0x321)](_0x5c2a53);break;case _0x1cab20[_0x2f1068(0x1bd)]:case _0x1cab20['CHANGESET_SHOULD_RETRY']:this[_0x2f1068(0x251)](),this[_0x2f1068(0x388)](),this[_0x2f1068(0x450)]['next'](_0x5c2a53);break;case _0x1cab20['MSG_FOR_ERROR']:this[_0x2f1068(0x3e5)][_0x2f1068(0x36e)](_0x2f1068(0x212)+JSON[_0x2f1068(0x375)](_0x5c2a53)),this[_0x2f1068(0x450)][_0x2f1068(0x321)](_0x5c2a53);break;case _0x1cab20[_0x2f1068(0x3d4)]:this['_commentService'][_0x2f1068(0x460)](_0x5c2a53[_0x2f1068(0x1bc)]),this['_event$'][_0x2f1068(0x321)](_0x5c2a53);break;default:this[_0x2f1068(0x450)][_0x2f1068(0x321)](_0x5c2a53);}}catch(_0x1a0555){this['_logService']['error'](_0x1a0555,_0x236266);}}['_onUserJoin'](_0x54eef9){var _0x28144a=_0x2b51d4;this[_0x28144a(0x44b)]['updateMember'](this[_0x28144a(0x364)],_0x54eef9['data']);}[_0x2b51d4(0x445)](_0x54cf9c){var _0x5d8bea=_0x2b51d4;this[_0x5d8bea(0x44b)][_0x5d8bea(0x298)](this[_0x5d8bea(0x364)],_0x54cf9c[_0x5d8bea(0x1bc)][_0x5d8bea(0x2a1)]);}async[_0x2b51d4(0x480)](_0x3acaf7,_0x263880){var _0x467335=_0x2b51d4;if(this[_0x467335(0x45e)]!==0x3||!this[_0x467335(0x2d4)])throw new Error(_0x467335(0x2ef));try{_0x3acaf7[_0x467335(0x2dd)]===_0x1cab20['SUBMIT_CHANGESET']&&(this[_0x467335(0x3a9)](),this[_0x467335(0x3aa)](_0x3acaf7)),this[_0x467335(0x2d4)]['send']({'cmd':F[_0x467335(0x27a)],'routeKey':_0x263880,'routeType':'','data':_0x3acaf7});}catch(_0x11e9d8){this[_0x467335(0x3e5)]['error'](_0x11e9d8);}}[_0x2b51d4(0x3a9)](){var _0x148d63=_0x2b51d4,_0x57b36e;this[_0x148d63(0x452)]=setTimeout(()=>{var _0x427cfe=_0x148d63;this[_0x427cfe(0x452)]=null,this[_0x427cfe(0x3b8)][_0x427cfe(0x23e)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x57b36e=this['_configService'][_0x148d63(0x2a7)](mi))!=null?_0x57b36e:gi);}[_0x2b51d4(0x388)](){var _0x5197df=_0x2b51d4;this[_0x5197df(0x452)]&&(clearTimeout(this[_0x5197df(0x452)]),this['_collaborationTimeoutTimer']=null);}[_0x2b51d4(0x3aa)](_0x2404c5){var _0x2bbc14=_0x2b51d4;if(!this['_shouldReportTelemetry'])return;const {data:_0x2966c9}=_0x2404c5,{unitID:_0x3cd0b8,changeset:_0x1672c2}=_0x2966c9,{mutations:_0x3e1881,type:_0x5d7e86}=_0x1672c2;this[_0x2bbc14(0x42a)]={'unitId':_0x3cd0b8,'type':_0x5d7e86,'startTime':performance[_0x2bbc14(0x1f0)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x3e1881)};}[_0x2b51d4(0x251)](){var _0x26d33c=_0x2b51d4;if(this[_0x26d33c(0x3a3)]){if(!this[_0x26d33c(0x42a)]){this['_logService']['error'](_0x26d33c(0x4ad),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x26d33c(0x3bd)]=performance[_0x26d33c(0x1f0)](),this[_0x26d33c(0x42a)][_0x26d33c(0x228)]=this[_0x26d33c(0x42a)][_0x26d33c(0x3bd)]-this[_0x26d33c(0x42a)][_0x26d33c(0x43c)],this[_0x26d33c(0x2ac)][_0x26d33c(0x46a)](Hn,this[_0x26d33c(0x42a)]),this[_0x26d33c(0x42a)]=null;}}[_0x2b51d4(0x3a1)](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x3e08f2),me(0x3,_0x3d91ad),me(0x4,_0xbb9044(_0x2fded0)),me(0x5,_0xbb9044(xe)),me(0x6,_0xbb9044(Ti)),me(0x7,_0xbb9044(pe)),me(0x8,_0x19063a(_0x4df784))],Et);var Kn=Object[_0x2b51d4(0x374)],Yn=(_0x19ddc3,_0x1a2135,_0x241d3e,_0x2bdd0f)=>{var _0x537aae=_0x2b51d4;for(var _0x4e28ca=_0x2bdd0f>0x1?void 0x0:_0x2bdd0f?Kn(_0x1a2135,_0x241d3e):_0x1a2135,_0x174228=_0x19ddc3[_0x537aae(0x23a)]-0x1,_0x2590cb;_0x174228>=0x0;_0x174228--)(_0x2590cb=_0x19ddc3[_0x174228])&&(_0x4e28ca=_0x2590cb(_0x4e28ca)||_0x4e28ca);return _0x4e28ca;},be=(_0x1fd29d,_0x53b0b4)=>(_0x42bb2e,_0x2156bb)=>_0x53b0b4(_0x42bb2e,_0x2156bb,_0x1fd29d);let Le=class extends _0x46eb90{constructor(_0x3b1fd6,_0x784534,_0x3e39ca,_0x4c3f2e,_0x127503,_0x179eca){var _0x578f81=_0x2b51d4;super(),N(this,_0x578f81(0x2db),new _0x53317a(void 0x0)),N(this,_0x578f81(0x341),this[_0x578f81(0x2db)]['asObservable']()),N(this,_0x578f81(0x2d3),null),N(this,'_sessions',new Map()),N(this,_0x578f81(0x429),new _0x53317a(Ee['IDLE'])),N(this,_0x578f81(0x39b),this[_0x578f81(0x429)][_0x578f81(0x380)]()),N(this,_0x578f81(0x2f3),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x578f81(0x220)),(this[_0x578f81(0x333)]=_0x3b1fd6,this[_0x578f81(0x3e5)]=_0x784534,this['_configService']=_0x3e39ca,this['_socketService']=_0x4c3f2e,this[_0x578f81(0x3b8)]=_0x127503,this['_networkConditionService']=_0x179eca,this[_0x578f81(0x2b1)]());}get[_0x2b51d4(0x2d4)](){var _0x3cf4a6=_0x2b51d4;return this[_0x3cf4a6(0x2db)][_0x3cf4a6(0x408)]();}[_0x2b51d4(0x2b1)](){var _0x20ecda=_0x2b51d4;this[_0x20ecda(0x3ee)]&&this['disposeWithMe'](this[_0x20ecda(0x3ee)]['online$'][_0x20ecda(0x36f)](_0x46d83b=>{var _0x4d1b29=_0x20ecda;_0x46d83b&&!this['_socket']&&this[_0x4d1b29(0x1d3)](),_0x46d83b||this[_0x4d1b29(0x323)]();}));}[_0x2b51d4(0x264)](){var _0x4c333d=_0x2b51d4;super[_0x4c333d(0x264)](),this[_0x4c333d(0x301)](),this[_0x4c333d(0x43a)](),this[_0x4c333d(0x426)](),this[_0x4c333d(0x305)]['forEach'](_0x406815=>_0x406815['dispose']()),this[_0x4c333d(0x305)][_0x4c333d(0x2fb)](),this[_0x4c333d(0x429)]['complete']();}async[_0x2b51d4(0x47c)](_0x17aac8){var _0x5e9b00=_0x2b51d4;if(this[_0x5e9b00(0x305)]['has'](_0x17aac8))return this['_sessions']['get'](_0x17aac8);this[_0x5e9b00(0x317)]();const _0x4cc044=this['_injector'][_0x5e9b00(0x492)](Et,_0x17aac8,this['_socket$'][_0x5e9b00(0x380)]());return this[_0x5e9b00(0x305)][_0x5e9b00(0x218)](_0x17aac8,_0x4cc044),_0x4cc044;}['closeSession'](_0x3d9a28){var _0x4d1fb2=_0x2b51d4,_0x2bb274;const _0x571659=this[_0x4d1fb2(0x305)][_0x4d1fb2(0x42b)](_0x3d9a28);_0x571659&&(this[_0x4d1fb2(0x305)]['delete'](_0x3d9a28),_0x571659[_0x4d1fb2(0x35b)]()),this['_sessions'][_0x4d1fb2(0x299)]||(_0x2bb274=this[_0x4d1fb2(0x2d4)])==null||_0x2bb274['close']();}[_0x2b51d4(0x1d3)](){var _0x4f594c=_0x2b51d4;this[_0x4f594c(0x41e)]=0x0,this[_0x4f594c(0x301)](),this[_0x4f594c(0x1c1)]();}[_0x2b51d4(0x301)](){var _0x4c88ea=_0x2b51d4;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4c88ea(0x286)]),this[_0x4c88ea(0x286)]=null);}async['_createSocket'](){var _0x46983f=_0x2b51d4,_0xa49cd6,_0x1c8577;const _0x3fc457=this[_0x46983f(0x22e)][_0x46983f(0x2a7)](In),_0x209e29=this[_0x46983f(0x22e)][_0x46983f(0x2a7)](q),_0x4f4a4a=(_0x1c8577=(_0xa49cd6=_0x209e29==null?void 0x0:_0x209e29[_0x46983f(0x1c5)])!=null?_0xa49cd6:_0x3fc457)!=null?_0x1c8577:Tn,_0x594be7=await this[_0x46983f(0x3c8)][_0x46983f(0x358)](_0x4f4a4a);return this[_0x46983f(0x2d3)]=_0x594be7,_0x594be7;}async[_0x2b51d4(0x317)](){var _0x5969a7=_0x2b51d4,_0x3f418f,_0x19ffd0;try{const _0x454c25=(_0x19ffd0=(_0x3f418f=this[_0x5969a7(0x2d4)])!=null?_0x3f418f:this['_candidateSocket'])!=null?_0x19ffd0:await this[_0x5969a7(0x376)]();if(_0x454c25){const _0x43a141=_0x454c25[_0x5969a7(0x480)];_0x454c25[_0x5969a7(0x480)]=_0x4d8c96=>(this[_0x5969a7(0x263)](),_0x43a141[_0x5969a7(0x25e)](_0x454c25,[_0x4d8c96])),_0x454c25[_0x5969a7(0x1b5)][_0x5969a7(0x36f)](_0x3758a5=>this[_0x5969a7(0x471)](_0x454c25,_0x3758a5)),_0x454c25['error$'][_0x5969a7(0x392)](_0x5853e7(0x1))[_0x5969a7(0x36f)](_0x1ede64=>this[_0x5969a7(0x3e5)][_0x5969a7(0x36e)](_0x5969a7(0x34f),_0x1ede64)),_0x454c25[_0x5969a7(0x45a)][_0x5969a7(0x392)](_0x5853e7(0x1))['subscribe'](()=>{var _0x2728e8=_0x5969a7;this[_0x2728e8(0x390)](_0x454c25);}),_0x454c25[_0x5969a7(0x3e8)][_0x5969a7(0x392)](_0x5853e7(0x1))['subscribe'](_0x781939=>{var _0x2b4817=_0x5969a7;this[_0x2b4817(0x3e5)][_0x2b4817(0x39f)]('[CollaborationSessionService]',_0x2b4817(0x3a7),_0x781939),this[_0x2b4817(0x33f)]();});}}catch(_0x4c01a6){this['_logService'][_0x5969a7(0x36e)](_0x4c01a6),this['_onConnectionFailed']();}}[_0x2b51d4(0x390)](_0x342a51){var _0x1632b3=_0x2b51d4;this[_0x1632b3(0x3e5)][_0x1632b3(0x39f)](_0x1632b3(0x20c),_0x1632b3(0x446)),_0x342a51[_0x1632b3(0x480)]({'cmd':F[_0x1632b3(0x1c8)]}),this['_rescheduleHeartbeat']();}[_0x2b51d4(0x323)](){var _0x17c8a0=_0x2b51d4;this['_socketReady']=!0x1,this[_0x17c8a0(0x2d3)]=null,this[_0x17c8a0(0x429)]['next'](Ee[_0x17c8a0(0x2ae)]),this[_0x17c8a0(0x2db)]['next'](null),this['_clearTimeoutTimer'](),this[_0x17c8a0(0x426)]();}[_0x2b51d4(0x33f)](){var _0x192698=_0x2b51d4,_0x52f0ff;this[_0x192698(0x323)](),this[_0x192698(0x41e)]<((_0x52f0ff=this[_0x192698(0x22e)][_0x192698(0x2a7)](yn))!=null?_0x52f0ff:On)?(this[_0x192698(0x3b8)]['emitEvent']({'id':se[_0x192698(0x2f5)]}),this['_tryReconnect']()):this[_0x192698(0x3b8)][_0x192698(0x23e)]({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x263cd9=_0x2b51d4,_0x18dd98;const _0x5c470a=this[_0x263cd9(0x41e)],_0x3fc49f=this['_configService']['getConfig'](q),_0x3cad83=_0x5c470a===0x0?0x0:((_0x18dd98=_0x3fc49f==null?void 0x0:_0x3fc49f['retryConnectingInterval'])!=null?_0x18dd98:bn)*0x2**_0x5c470a;this[_0x263cd9(0x286)]=setTimeout(()=>{var _0x4797dd=_0x263cd9;clearTimeout(this[_0x4797dd(0x286)]),this[_0x4797dd(0x286)]=null,this['_tryEnsureSocket']();},_0x3cad83),this[_0x263cd9(0x41e)]+=0x1;}[_0x2b51d4(0x471)](_0x29eb08,_0x280bd6){var _0x31aa4e=_0x2b51d4;const {cmd:_0x52a5fb}=_0x280bd6;_0x52a5fb===F[_0x31aa4e(0x1c8)]&&!this[_0x31aa4e(0x2f3)]&&(_0x29eb08[_0x31aa4e(0x2a1)]=_0x280bd6['data'][_0x31aa4e(0x2a1)],this[_0x31aa4e(0x2db)][_0x31aa4e(0x321)](_0x29eb08),this[_0x31aa4e(0x429)][_0x31aa4e(0x321)](Ee[_0x31aa4e(0x216)]),this[_0x31aa4e(0x2f3)]=!0x0,this[_0x31aa4e(0x2d3)]=null),_0x52a5fb===F[_0x31aa4e(0x2fc)]&&this['_clearTimeoutTimer'](),this[_0x31aa4e(0x263)]();}[_0x2b51d4(0x263)](){var _0x4bfb75=_0x2b51d4,_0x1180cf;this['_clearHeartbeatTimer'](),this[_0x4bfb75(0x393)]=setTimeout(()=>this[_0x4bfb75(0x382)](),(_0x1180cf=this[_0x4bfb75(0x22e)][_0x4bfb75(0x2a7)](Cn))!=null?_0x1180cf:Rn);}['_sendHeartbeat'](){var _0x1808b8=_0x2b51d4;this[_0x1808b8(0x2d4)][_0x1808b8(0x480)]({'cmd':F[_0x1808b8(0x2fc)]}),this[_0x1808b8(0x484)]();}[_0x2b51d4(0x484)](){var _0x26aef3=_0x2b51d4,_0x588820;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x588820=this[_0x26aef3(0x22e)][_0x26aef3(0x2a7)](mi))!=null?_0x588820:gi);}[_0x2b51d4(0x426)](){var _0x337668=_0x2b51d4;this[_0x337668(0x393)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x2b51d4(0x43a)](){var _0x27bb5b=_0x2b51d4;this[_0x27bb5b(0x220)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x27bb5b(0x220)]=null);}};Le=Yn([be(0x0,_0xbb9044(_0xe87ffb)),be(0x1,_0x3e08f2),be(0x2,_0x3d91ad),be(0x3,Ii),be(0x4,_0xbb9044(pe)),be(0x5,_0x19063a(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x2b51d4(0x276)]((t+0x100)[_0x2b51d4(0x2df)](0x10)[_0x2b51d4(0x350)](0x1));function _0x3286(_0x2ef1e3,_0x4b93d1){var _0x320420=_0x3204();return _0x3286=function(_0x3286c1,_0x13e848){_0x3286c1=_0x3286c1-0x1b0;var _0xba8454=_0x320420[_0x3286c1];return _0xba8454;},_0x3286(_0x2ef1e3,_0x4b93d1);}function qn(_0xf15631,_0x52d77e=0x0){var _0x5daa58=_0x2b51d4;return(V[_0xf15631[_0x52d77e+0x0]]+V[_0xf15631[_0x52d77e+0x1]]+V[_0xf15631[_0x52d77e+0x2]]+V[_0xf15631[_0x52d77e+0x3]]+'-'+V[_0xf15631[_0x52d77e+0x4]]+V[_0xf15631[_0x52d77e+0x5]]+'-'+V[_0xf15631[_0x52d77e+0x6]]+V[_0xf15631[_0x52d77e+0x7]]+'-'+V[_0xf15631[_0x52d77e+0x8]]+V[_0xf15631[_0x52d77e+0x9]]+'-'+V[_0xf15631[_0x52d77e+0xa]]+V[_0xf15631[_0x52d77e+0xb]]+V[_0xf15631[_0x52d77e+0xc]]+V[_0xf15631[_0x52d77e+0xd]]+V[_0xf15631[_0x52d77e+0xe]]+V[_0xf15631[_0x52d77e+0xf]])[_0x5daa58(0x328)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x186560=_0x2b51d4;if(!ut){if(typeof crypto>'u'||!crypto[_0x186560(0x223)])throw new Error(_0x186560(0x38b));ut=crypto[_0x186560(0x223)][_0x186560(0x335)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x2b51d4(0x224)][_0x2b51d4(0x335)](crypto),Yt={'randomUUID':Xn};function Zn(_0x497569,_0x2b6dda,_0x2c1d0a){var _0x53c2f3=_0x2b51d4,_0xc4ce7b,_0x56ec9c,_0x27bb29;if(Yt[_0x53c2f3(0x224)]&&!_0x497569)return Yt[_0x53c2f3(0x224)]();_0x497569=_0x497569||{};const _0x3c8959=(_0x27bb29=(_0x56ec9c=_0x497569[_0x53c2f3(0x3eb)])!=null?_0x56ec9c:(_0xc4ce7b=_0x497569['rng'])==null?void 0x0:_0xc4ce7b[_0x53c2f3(0x2ea)](_0x497569))!=null?_0x27bb29:Jn();if(_0x3c8959['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x3c8959[0x6]=_0x3c8959[0x6]&0xf|0x40,_0x3c8959[0x8]=_0x3c8959[0x8]&0x3f|0x80,qn(_0x3c8959);}const J=_0x2e4ac6('collaboration-client.local-cache-service');function Bs(_0x2bf6f7){return'unit-cache-'+_0x2bf6f7;}var Qn=Object[_0x2b51d4(0x374)],er=(_0x598131,_0x4cb5b0,_0x2be67d,_0x223b0d)=>{var _0x32fb6f=_0x2b51d4;for(var _0x5dd348=_0x223b0d>0x1?void 0x0:_0x223b0d?Qn(_0x4cb5b0,_0x2be67d):_0x4cb5b0,_0x37c8eb=_0x598131[_0x32fb6f(0x23a)]-0x1,_0x37626c;_0x37c8eb>=0x0;_0x37c8eb--)(_0x37626c=_0x598131[_0x37c8eb])&&(_0x5dd348=_0x37626c(_0x5dd348)||_0x5dd348);return _0x5dd348;},dt=(_0xcd6c4b,_0x5ab372)=>(_0x3e432e,_0x235dac)=>_0x5ab372(_0x3e432e,_0x235dac,_0xcd6c4b);function tr(_0x44f8c1){var _0x78ef44=_0x2b51d4;const {unitID:_0x459066,mutations:_0x2cbf1c}=_0x44f8c1;return{'unitId':_0x459066,'subUnitId':_0x2cbf1c[0x0][_0x78ef44(0x424)][_0x78ef44(0x209)]};}let it=class{constructor(_0x5542da,_0x4e0757,_0x349206){var _0x2ba808=_0x2b51d4;this[_0x2ba808(0x333)]=_0x5542da,this[_0x2ba808(0x404)]=_0x4e0757,this['_instanceService']=_0x349206;}[_0x2b51d4(0x373)](_0x51d1cf){var _0x3f8317=_0x2b51d4,_0x15b2ec,_0x239d35,_0x4c241b,_0x42b404;const _0x47dbee=this[_0x3f8317(0x333)][_0x3f8317(0x42b)](_0x1a3dc5),{unitId:_0x1af2f7,subUnitId:_0x3655be}=tr(_0x51d1cf),_0x485b94=_0x47dbee==null?void 0x0:_0x47dbee[_0x3f8317(0x495)](_0x1af2f7)[_0x3f8317(0x2a6)](),_0x105a00=(_0x239d35=(_0x15b2ec=this[_0x3f8317(0x1d2)]['getUnit'](_0x1af2f7))==null?void 0x0:_0x15b2ec[_0x3f8317(0x1fd)]())==null?void 0x0:_0x239d35['getSheetId']();if(_0x485b94['length']===0x0||!_0x1af2f7||!_0x3655be)return;const _0x2df881=[{'id':_0x3be03b['id'],'params':{'unitId':_0x1af2f7,'subUnitId':_0x105a00,'selections':_0x1f8cee[_0x3f8317(0x289)](_0x485b94)}}],_0xae78d5=this[_0x3f8317(0x404)][_0x3f8317(0x29c)](_0x51d1cf,_0x2df881);if(!_0x297140(_0xae78d5))throw _0xae78d5[_0x3f8317(0x36e)];const _0x1736ed=(_0x42b404=(_0x4c241b=_0xae78d5[_0x3f8317(0x432)][0x0])==null?void 0x0:_0x4c241b[_0x3f8317(0x424)])==null?void 0x0:_0x42b404[_0x3f8317(0x394)];if(Array[_0x3f8317(0x1ff)](_0x1736ed)&&_0x1736ed[_0x3f8317(0x23a)]){if(_0x1736ed['length']===_0x2df881[0x0][_0x3f8317(0x424)]['selections']['length']&&_0x1736ed[_0x3f8317(0x479)]((_0x267635,_0x4d0e31)=>_0x5e69ad['equals'](_0x267635[_0x3f8317(0x2d7)],_0x2df881[0x0]['params']['selections'][_0x4d0e31][_0x3f8317(0x2d7)])))return;this['_injector']['get'](_0x3b7381)[_0x3f8317(0x49f)](_0x3be03b['id'],{'unitId':_0x1af2f7,'subUnitId':_0x105a00,'selections':_0x1736ed});}}};it=er([dt(0x0,_0xbb9044(_0xe87ffb)),dt(0x1,_0x5a75cc),dt(0x2,_0xcd0588)],it);const ht=_0x2e4ac6('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x5004a3=>(_0x5004a3[_0x5004a3['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5004a3[_0x5004a3['OTHER_CLIENTS_EDITING']=0x1]=_0x2b51d4(0x26f),_0x5004a3))(Ci||{});const ir=new Set([_0x4eab79['id']]);function qt(_0x689e31,_0xa5b81f,_0xa04f5,_0x924956,_0x3efef2){var _0x2cc3b8=_0x2b51d4,_0x42d1ad,_0x47606d,_0x559f1f,_0x5c9ee3;const _0x1dd4e3=[];for(const _0x1d2830 of _0x689e31)if(ir[_0x2cc3b8(0x2c6)](_0x1d2830['id'])){if(_0x1dd4e3[_0x2cc3b8(0x23a)]>0x0)break;_0x1dd4e3[_0x2cc3b8(0x276)](_0x1d2830);break;}else _0x1dd4e3[_0x2cc3b8(0x276)](_0x1d2830);const _0x4e5b2a=(_0x47606d=(_0x42d1ad=_0x3efef2[_0x2cc3b8(0x369)]())==null?void 0x0:_0x42d1ad['userID'])!=null?_0x47606d:_0x2cc3b8(0x2e1),_0x500450=(_0x5c9ee3=(_0x559f1f=_0x3efef2[_0x2cc3b8(0x369)]())==null?void 0x0:_0x559f1f['memberID'])!=null?_0x5c9ee3:'unknown';return{'changeset':{'unitID':_0xa5b81f,'type':_0xf1726a(_0xa04f5['getUnitType'](_0xa5b81f)),'baseRev':_0x924956['getCurrentRevOfUnit'](_0xa5b81f),'revision':0x0,'userID':_0x4e5b2a,'memberID':_0x500450,'mutations':_0x1dd4e3},'pendingMutations':_0x689e31[_0x2cc3b8(0x350)](_0x1dd4e3[_0x2cc3b8(0x23a)])};}function nr(_0x43d72c,_0x5ed7cc,_0x549b16,_0x481dde,_0x50878f){var _0x29139f=_0x2b51d4,_0x9f2633,_0x5b65b0,_0x5c535a,_0x4fda18;const _0x5a8bbd=[_0x43d72c[_0x29139f(0x279)]((_0x233779,_0x274df3)=>{var _0x18a277=_0x29139f,_0x4f426c;const {id:_0x42ee24}=_0x233779,{id:_0x1f9d39,type:_0x55a6d5}=_0x274df3,_0x4ea76b=(_0x4f426c=_0x233779[_0x18a277(0x424)])!=null?_0x4f426c:{'actions':null},_0x2c866f=_0x274df3[_0x18a277(0x424)];if(_0x42ee24&&_0x42ee24!==_0x1f9d39)throw new Error(_0x18a277(0x1ec)+_0x42ee24+_0x18a277(0x384)+_0x1f9d39+'.');return{..._0x233779,'id':_0x1f9d39,'type':_0x55a6d5,'params':{'unitId':_0x2c866f['unitId'],'textRanges':_0x2c866f[_0x18a277(0x2aa)],'actions':_0x322754[_0x18a277(0x3d0)](_0x4ea76b[_0x18a277(0x49e)],_0x2c866f[_0x18a277(0x49e)])}};},{})],_0x56cccf=(_0x5b65b0=(_0x9f2633=_0x50878f['getCurrentUser']())==null?void 0x0:_0x9f2633[_0x29139f(0x32d)])!=null?_0x5b65b0:_0x29139f(0x2e1),_0x44bc36=(_0x4fda18=(_0x5c535a=_0x50878f[_0x29139f(0x369)]())==null?void 0x0:_0x5c535a[_0x29139f(0x2a1)])!=null?_0x4fda18:_0x29139f(0x2e1);return{'changeset':{'unitID':_0x5ed7cc,'type':_0xf1726a(_0x549b16[_0x29139f(0x451)](_0x5ed7cc)),'baseRev':_0x481dde['getCurrentRevOfUnit'](_0x5ed7cc),'revision':0x0,'userID':_0x56cccf,'memberID':_0x44bc36,'mutations':_0x5a8bbd},'pendingMutations':[]};}function Ri(_0x560668,_0x4f802b){var _0x2922c1=_0x2b51d4;const _0x577711=new _0x465cb8(0x1);return setTimeout(()=>_0x577711[_0x2922c1(0x321)](_0x4f802b),_0x560668),_0x577711[_0x2922c1(0x380)]()[_0x2922c1(0x392)](_0xcc9855(0x1));}const rr={'id':_0x536baf['id'],'type':_0x1d9afc[_0x2b51d4(0x470)],'params':{}};var sr=Object[_0x2b51d4(0x374)],Te=(_0x2ed4e7,_0x474420,_0x2095b5,_0x5d3866)=>{for(var _0x1cd01e=_0x5d3866>0x1?void 0x0:_0x5d3866?sr(_0x474420,_0x2095b5):_0x474420,_0x4a9238=_0x2ed4e7['length']-0x1,_0x5bde2c;_0x4a9238>=0x0;_0x4a9238--)(_0x5bde2c=_0x2ed4e7[_0x4a9238])&&(_0x1cd01e=_0x5bde2c(_0x1cd01e)||_0x1cd01e);return _0x1cd01e;},P=(_0x3fb5e4,_0x26dc21)=>(_0x328bdb,_0x28a121)=>_0x26dc21(_0x328bdb,_0x28a121,_0x3fb5e4),bi=(_0x22f937=>(_0x22f937[_0x2b51d4(0x324)]=_0x2b51d4(0x3d1),_0x22f937[_0x2b51d4(0x2e7)]=_0x2b51d4(0x24d),_0x22f937['PENDING']=_0x2b51d4(0x227),_0x22f937[_0x2b51d4(0x3d3)]=_0x2b51d4(0x3ed),_0x22f937[_0x2b51d4(0x259)]=_0x2b51d4(0x1f4),_0x22f937['FETCH_MISS']=_0x2b51d4(0x1f5),_0x22f937[_0x2b51d4(0x385)]=_0x2b51d4(0x438),_0x22f937[_0x2b51d4(0x2ae)]=_0x2b51d4(0x282),_0x22f937))(bi||{});const yi=0xea60;class Ce{constructor(_0x219da2,_0x66b858,_0x355b86,_0x3b96d2,_0x10ce3a,_0x1ae604,_0x1c6d55,_0x4db51,_0x3fd66a){var _0x405cee=_0x2b51d4;N(this,_0x405cee(0x41d),null),N(this,_0x405cee(0x203),[]),(this['unitID']=_0x219da2,this[_0x405cee(0x26e)]=_0x66b858,this[_0x405cee(0x459)]=_0x10ce3a,this['_commandService']=_0x1ae604,this['_undoRedoService']=_0x1c6d55,this[_0x405cee(0x322)]=_0x4db51,this[_0x405cee(0x39e)]=_0x3fd66a,this['_awaitingChangeset']=_0x355b86,this[_0x405cee(0x203)]=_0x3b96d2);}[_0x2b51d4(0x2ee)](_0x477a98){var _0x59bcf4=_0x2b51d4;const _0x497ad5=this[_0x59bcf4(0x322)][_0x59bcf4(0x3b7)](this[_0x59bcf4(0x3c5)]);return _0x477a98[_0x59bcf4(0x230)]>_0x497ad5+0x1?(this[_0x59bcf4(0x459)][_0x59bcf4(0x2cb)]({'from':_0x497ad5,'to':_0x477a98['revision']-0x1}),!0x0):!0x1;}[_0x2b51d4(0x3f7)](_0x2e5a8c){var _0x2bdcfc=_0x2b51d4;this[_0x2bdcfc(0x3f6)][_0x2bdcfc(0x242)](this[_0x2bdcfc(0x3c5)],_0x2e5a8c);}['_transformSelections'](_0x27bed8){var _0x122811=_0x2b51d4,_0x5f08ae,_0xeff61e;(_0xeff61e=(_0x5f08ae=this['_handler'])['onTransformSelections'])==null||_0xeff61e[_0x122811(0x2ea)](_0x5f08ae,_0x27bed8);}['_transformIMECache'](_0x178e52){var _0x44afa0=_0x2b51d4,_0x5a4c84,_0x3f1ad6;return(_0x3f1ad6=(_0x5a4c84=this[_0x44afa0(0x459)])['onTransformIME'])==null?void 0x0:_0x3f1ad6['call'](_0x5a4c84,_0x178e52);}['_transformStateCache'](_0x5e3eaf){var _0x49d2e6=_0x2b51d4,_0xec5763,_0x505e37;return(_0x505e37=(_0xec5763=this[_0x49d2e6(0x459)])[_0x49d2e6(0x2f4)])==null?void 0x0:_0x505e37[_0x49d2e6(0x2ea)](_0xec5763,_0x5e3eaf);}['_transformRemoteChangesetByIMECache'](_0x446ae1){var _0x2e09ff,_0x25434c,_0x270cf7;return(_0x270cf7=(_0x25434c=(_0x2e09ff=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x25434c['call'](_0x2e09ff,_0x446ae1))!=null?_0x270cf7:_0x446ae1;}[_0x2b51d4(0x381)](_0x39f23c){var _0x57e8c9=_0x2b51d4,_0x2595b2,_0x586c83,_0x4065f5;return(_0x4065f5=(_0x586c83=(_0x2595b2=this[_0x57e8c9(0x459)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x586c83[_0x57e8c9(0x2ea)](_0x2595b2,_0x39f23c))!=null?_0x4065f5:_0x39f23c;}[_0x2b51d4(0x2b3)](_0x528f30){var _0x5bfe91=_0x2b51d4,_0x44061c,_0x2054b2;if(this['type']===Q[_0x5bfe91(0x1f8)]){const {unitID:_0x1ae38d,mutations:_0x23d556,memberID:_0x54873e}=_0x528f30,_0x214293=_0x23d556[0x0][_0x5bfe91(0x424)][_0x5bfe91(0x2aa)];Array[_0x5bfe91(0x1ff)](_0x214293)&&_0x214293[_0x5bfe91(0x23a)]>0x0&&((_0x2054b2=(_0x44061c=this['_handler'])[_0x5bfe91(0x2d0)])==null||_0x2054b2[_0x5bfe91(0x2ea)](_0x44061c,{'unitID':_0x1ae38d,'memberID':_0x54873e,'textRanges':_0x214293}));}}[_0x2b51d4(0x3f9)](){var _0x2ff1c6=_0x2b51d4,_0x23579b;(_0x23579b=this[_0x2ff1c6(0x39e)])==null||_0x23579b['updateOfflineData'](this['unitID'],this[_0x2ff1c6(0x26e)],this['_awaitingChangeset'],this[_0x2ff1c6(0x203)]);}[_0x2b51d4(0x29d)](){var _0x274397=_0x2b51d4;return this['_revisionService'][_0x274397(0x3b7)](this[_0x274397(0x3c5)]);}['_incrementRevisionNumber'](){var _0x9317ae=_0x2b51d4;this[_0x9317ae(0x322)]['incrementRevOfUnit'](this[_0x9317ae(0x3c5)]);}[_0x2b51d4(0x281)](_0x3f5660){var _0x595832=_0x2b51d4,_0x51b44b;let _0x23636b=this[_0x595832(0x311)](_0x3f5660);_0x23636b=this[_0x595832(0x381)](_0x23636b);const _0x444487=_0x915fe6(_0x23636b[_0x595832(0x27e)],this['_commandService'],{'fromCollab':!0x0});if(!_0x444487[_0x595832(0x21b)])throw _0x444487[_0x595832(0x36e)]instanceof Error?_0x444487[_0x595832(0x36e)]:new Error((_0x51b44b=_0x444487[_0x595832(0x36e)])!=null?_0x51b44b:_0x595832(0x213));this[_0x595832(0x391)](_0x23636b),this['_transformStateCache'](_0x23636b),this[_0x595832(0x3f7)](_0x3f5660),this['_transformSelections'](_0x23636b),this[_0x595832(0x2b3)](_0x23636b),this[_0x595832(0x3c1)]();}}let Ne=class extends Ce{constructor(_0xcc57f3,_0x189a5c,_0x4b8a65,_0x514228,_0x597ce3,_0x2648eb,_0x844638,_0x4153b7,_0x475309,_0x26da90){var _0x6c8fcb=_0x2b51d4;super(_0xcc57f3,_0x189a5c,null,[],_0x4b8a65,_0x844638,_0x2648eb,_0x514228,_0x26da90),N(this,_0x6c8fcb(0x2c1),_0x6c8fcb(0x24d)),(this[_0x6c8fcb(0x333)]=_0x597ce3,this[_0x6c8fcb(0x3e5)]=_0x4153b7,this[_0x6c8fcb(0x404)]=_0x475309,this[_0x6c8fcb(0x1ed)]=_0x26da90);}['appendMutation'](_0x4f3be9){var _0x483e34=_0x2b51d4;const _0x597570=this[_0x483e34(0x333)][_0x483e34(0x492)](ae,this[_0x483e34(0x3c5)],this[_0x483e34(0x26e)],[_0x4f3be9],this['_handler']);return _0x597570['_schedule'](),_0x597570[_0x483e34(0x3f9)](),_0x597570;}[_0x2b51d4(0x337)](_0x301f80){var _0x5a3705=_0x2b51d4;if(this['_checkMissing'](_0x301f80))return this[_0x5a3705(0x333)][_0x5a3705(0x492)](ee,this[_0x5a3705(0x3c5)],this[_0x5a3705(0x26e)],null,[],null,[_0x301f80],this[_0x5a3705(0x459)]);try{const _0x511b9b=this[_0x5a3705(0x404)][_0x5a3705(0x29c)](_0x301f80,[rr]);if(_0x297140(_0x511b9b)){const {c1Prime:_0xf0582c}=_0x511b9b;return this[_0x5a3705(0x281)](_0xf0582c),this;}throw _0x511b9b[_0x5a3705(0x36e)];}catch(_0x30b1e0){return this[_0x5a3705(0x3e5)][_0x5a3705(0x36e)](_0x30b1e0),this[_0x5a3705(0x431)](!0x1);}}[_0x2b51d4(0x431)](_0x690996){var _0x120709=_0x2b51d4;return this['_injector']['createInstance'](ue,this[_0x120709(0x3c5)],this[_0x120709(0x26e)],null,[],this[_0x120709(0x459)],_0x690996);}['onRemoteAck'](){var _0x321689=_0x2b51d4;throw new Error(_0x321689(0x48b));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2b51d4(0x1b4)](){var _0x31b7f0=_0x2b51d4;return this[_0x31b7f0(0x333)]['createInstance'](de,this[_0x31b7f0(0x3c5)],this[_0x31b7f0(0x26e)],null,[],this[_0x31b7f0(0x459)]);}[_0x2b51d4(0x46f)](){return this;}[_0x2b51d4(0x3ae)](){var _0x24ae37=_0x2b51d4;throw new Error(_0x24ae37(0x2e0));}[_0x2b51d4(0x1ea)](){var _0x540c20=_0x2b51d4;const _0x22d73f=this[_0x540c20(0x322)][_0x540c20(0x3b7)](this[_0x540c20(0x3c5)]);return this[_0x540c20(0x459)][_0x540c20(0x2cb)]({'from':_0x22d73f,'to':0x0}),this['_injector'][_0x540c20(0x492)](ee,this[_0x540c20(0x3c5)],this[_0x540c20(0x26e)],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0xbb9044(_0x294ada)),P(0x4,_0xbb9044(_0xe87ffb)),P(0x5,_0x4955e1),P(0x6,_0x3b7381),P(0x7,_0x3e08f2),P(0x8,_0x5a75cc),P(0x9,_0x19063a(J))],Ne);let ae=class extends Ce{constructor(_0x526eaf,_0x42f408,_0x19af22,_0x237606,_0x2135db,_0x48a1a6,_0x589851,_0x2c4fbe,_0xde0e9e,_0x26bea5,_0x5954ee,_0x5a934a,_0x32eb39,_0x3397b1){var _0x5c9928=_0x2b51d4;super(_0x526eaf,_0x42f408,null,_0x19af22,_0x237606,_0xde0e9e,_0x32eb39,_0x48a1a6,_0x3397b1),N(this,'status',_0x5c9928(0x227)),N(this,_0x5c9928(0x248),null),N(this,_0x5c9928(0x285),null),(this[_0x5c9928(0x333)]=_0x2135db,this[_0x5c9928(0x44b)]=_0x589851,this[_0x5c9928(0x3e5)]=_0x2c4fbe,this[_0x5c9928(0x22e)]=_0x26bea5,this[_0x5c9928(0x404)]=_0x5954ee,this[_0x5c9928(0x22f)]=_0x5a934a);}[_0x2b51d4(0x340)](_0x370d6b){var _0x45812a=_0x2b51d4;return this[_0x45812a(0x203)][_0x45812a(0x276)](_0x370d6b),this[_0x45812a(0x3f9)](),this;}['onRemoteChangeset'](_0x2f20e6){var _0x53f0c7=_0x2b51d4;if(this[_0x53f0c7(0x2ee)](_0x2f20e6))return this[_0x53f0c7(0x478)](),this['_injector']['createInstance'](ee,this[_0x53f0c7(0x3c5)],this['type'],null,this[_0x53f0c7(0x203)],null,[_0x2f20e6],this['_handler']);try{const _0x32ac22=this[_0x53f0c7(0x404)]['transformMutationsWithChangeset'](_0x2f20e6,this[_0x53f0c7(0x203)]);if(_0x297140(_0x32ac22)){const {c1Prime:_0x3bfc26,m2Prime:_0x337434}=_0x32ac22;this[_0x53f0c7(0x281)](_0x3bfc26);const _0x5967e7=this['_injector']['createInstance'](ae,this[_0x53f0c7(0x3c5)],this['type'],_0x337434,this['_handler']);this[_0x53f0c7(0x478)]();const _0x4e18ad=new Date()['getTime'](),_0x40f3f4=this['_scheduleCompleteTimestamp']?Math[_0x53f0c7(0x1cb)](this[_0x53f0c7(0x248)]-_0x4e18ad,0x0):this[_0x53f0c7(0x4a7)]();return _0x5967e7[_0x53f0c7(0x3f5)](_0x40f3f4),_0x5967e7;}throw _0x32ac22[_0x53f0c7(0x36e)];}catch(_0x459f2b){return this[_0x53f0c7(0x3e5)]['error'](_0x459f2b),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x1807b7=_0x2b51d4;throw new Error(_0x1807b7(0x214));}[_0x2b51d4(0x443)](){var _0x38eacc=_0x2b51d4;throw new Error(_0x38eacc(0x2ec));}[_0x2b51d4(0x327)](){return this;}[_0x2b51d4(0x1b4)](){var _0x3472b1=_0x2b51d4;return this[_0x3472b1(0x478)](),this[_0x3472b1(0x333)][_0x3472b1(0x492)](de,this['unitID'],this[_0x3472b1(0x26e)],null,this[_0x3472b1(0x203)],this[_0x3472b1(0x459)]);}[_0x2b51d4(0x46f)](){return this;}[_0x2b51d4(0x3f5)](_0x2d68e6){var _0x1acbdd=_0x2b51d4;const _0x4bbb26=_0x2d68e6!=null?_0x2d68e6:this['_getSendChangesetTimeout']();this[_0x1acbdd(0x248)]=new Date()[_0x1acbdd(0x366)]()+_0x4bbb26,this['_sendingTimer']=setTimeout(()=>{var _0x348945=_0x1acbdd;this[_0x348945(0x478)]();let _0x160af0=null;switch(this['type']){case Q[_0x348945(0x1ca)]:{_0x160af0=qt(this[_0x348945(0x203)],this[_0x348945(0x3c5)],this[_0x348945(0x22f)],this['_revisionService'],this['_memberService']);break;}case Q['UNIVER_DOC']:{this[_0x348945(0x203)][_0x348945(0x479)](_0x7bc778=>_0x7bc778['id']===_0x3b2784['id'])?_0x160af0=nr(this[_0x348945(0x203)],this[_0x348945(0x3c5)],this['_univerInstanceService'],this[_0x348945(0x322)],this[_0x348945(0x44b)]):_0x160af0=qt(this[_0x348945(0x203)],this[_0x348945(0x3c5)],this['_univerInstanceService'],this[_0x348945(0x322)],this[_0x348945(0x44b)]);break;}default:throw new Error(_0x348945(0x3b4)+this['type']+_0x348945(0x48f));}const {changeset:_0x1a1e44,pendingMutations:_0x49ed25}=_0x160af0;this[_0x348945(0x459)][_0x348945(0x43b)](_0x1a1e44);const _0x20ee19=_0x49ed25[_0x348945(0x23a)]?this['_injector']['createInstance'](oe,this['unitID'],this[_0x348945(0x26e)],_0x1a1e44,_0x49ed25,this[_0x348945(0x459)],void 0x0):this[_0x348945(0x333)][_0x348945(0x492)](le,this['unitID'],this[_0x348945(0x26e)],_0x1a1e44,this['_handler']);_0x20ee19[_0x348945(0x3f9)](),this['_handler']['onStateChange'](this,_0x20ee19);},_0x4bbb26);}[_0x2b51d4(0x4a7)](){var _0x47562a=_0x2b51d4,_0x1752b0;const _0x3ef7bb=this[_0x47562a(0x22e)]['getConfig'](q);return(_0x1752b0=_0x3ef7bb==null?void 0x0:_0x3ef7bb['sendChangesetTimeout'])!=null?_0x1752b0:En;}[_0x2b51d4(0x3ae)](){var _0x2e7316=_0x2b51d4;throw new Error(_0x2e7316(0x43f));}[_0x2b51d4(0x478)](){var _0xb9c39d=_0x2b51d4;this['_sendingTimer']!=null&&(clearTimeout(this[_0xb9c39d(0x285)]),this['_sendingTimer']=null);}[_0x2b51d4(0x431)](_0x1c2449){var _0xb99ae9=_0x2b51d4;return this[_0xb99ae9(0x478)](),this['_injector'][_0xb99ae9(0x492)](ue,this[_0xb99ae9(0x3c5)],this[_0xb99ae9(0x26e)],null,this[_0xb99ae9(0x203)],this[_0xb99ae9(0x459)],_0x1c2449);}};ae=Te([P(0x4,_0xbb9044(_0xe87ffb)),P(0x5,_0xbb9044(_0x294ada)),P(0x6,_0xbb9044(xe)),P(0x7,_0x3e08f2),P(0x8,_0x3b7381),P(0x9,_0x3d91ad),P(0xa,_0x5a75cc),P(0xb,_0xcd0588),P(0xc,_0x4955e1),P(0xd,_0x19063a(J))],ae);let le=class extends Ce{constructor(_0x1712c0,_0x699aa,_0x42d9e2,_0x8049b6,_0x9baa2f,_0x400424,_0x340e67,_0x44d9c6,_0x368843,_0x73a180,_0x1cefd3){var _0x1f1989=_0x2b51d4;super(_0x1712c0,_0x699aa,_0x42d9e2,[],_0x8049b6,_0x340e67,_0x73a180,_0x400424,_0x1cefd3),N(this,_0x1f1989(0x2c1),_0x1f1989(0x3ed)),N(this,_0x1f1989(0x260),0x0),N(this,_0x1f1989(0x274)),N(this,'_sender'),(this['_injector']=_0x9baa2f,this[_0x1f1989(0x3e5)]=_0x44d9c6,this['_transformService']=_0x368843);}[_0x2b51d4(0x340)](_0x583e45){var _0x2eb572=_0x2b51d4;this[_0x2eb572(0x478)]();const _0x366739=this[_0x2eb572(0x333)][_0x2eb572(0x492)](oe,this[_0x2eb572(0x3c5)],this['type'],this[_0x2eb572(0x41d)],[_0x583e45],this['_handler'],this[_0x2eb572(0x274)]);return _0x366739[_0x2eb572(0x3f9)](),_0x366739;}['onRemoteChangeset'](_0x5eee54){var _0x43de03=_0x2b51d4;if(this[_0x43de03(0x2ee)](_0x5eee54))return this['_clearScheduledTask'](),this[_0x43de03(0x333)][_0x43de03(0x492)](ee,this['unitID'],this[_0x43de03(0x26e)],this[_0x43de03(0x41d)],[],null,[_0x5eee54],this[_0x43de03(0x459)]);try{const _0x55b226=this[_0x43de03(0x404)][_0x43de03(0x2c8)]([_0x5eee54],[this[_0x43de03(0x41d)]],!0x1);if(_0xf9b32d(_0x55b226)){const {c1Prime:_0x338ccd,c2Prime:_0x4ce6bb}=_0x55b226;this[_0x43de03(0x281)](_0x338ccd[0x0]),_0x4ce6bb[0x0][_0x43de03(0x2d6)]=this[_0x43de03(0x29d)](),this[_0x43de03(0x478)]();const _0x567a83=this[_0x43de03(0x333)][_0x43de03(0x492)](le,this[_0x43de03(0x3c5)],this[_0x43de03(0x26e)],_0x4ce6bb[0x0],this[_0x43de03(0x459)]);return _0x567a83[_0x43de03(0x3f9)](),_0x567a83;}return this['_onConflict'](!0x1);}catch(_0x59d8f1){return this[_0x43de03(0x3e5)][_0x43de03(0x36e)](_0x59d8f1),this[_0x43de03(0x431)](!0x1);}}[_0x2b51d4(0x24c)](_0x24ef43){var _0x3e0735=_0x2b51d4;this['_clearScheduledTask']();const _0x153eca=this[_0x3e0735(0x322)][_0x3e0735(0x3b7)](this['unitID']);if(_0x24ef43[_0x3e0735(0x230)]<_0x153eca-0x1)return this;if(this[_0x3e0735(0x2ee)](_0x24ef43))return this[_0x3e0735(0x333)][_0x3e0735(0x492)](ee,this[_0x3e0735(0x3c5)],this[_0x3e0735(0x26e)],null,[],this[_0x3e0735(0x41d)],[],this[_0x3e0735(0x459)]);this[_0x3e0735(0x3c1)]();const _0x2c8897=this['_injector']['createInstance'](Ne,this['unitID'],this[_0x3e0735(0x26e)],this[_0x3e0735(0x459)]);return _0x2c8897[_0x3e0735(0x3f9)](),_0x2c8897;}[_0x2b51d4(0x443)](_0x4efee7){var _0x53d255=_0x2b51d4;return this[_0x53d255(0x431)](!!(_0x4efee7!=null&&_0x4efee7[_0x53d255(0x453)]));}[_0x2b51d4(0x327)](_0x1c8771){var _0x26f455=_0x2b51d4;return this['_resendTimeout']>yi?this[_0x26f455(0x1b4)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this[_0x26f455(0x260)],'reqId':_0x1c8771['reqId']}),this[_0x26f455(0x2c2)]=this[_0x26f455(0x274)][_0x26f455(0x36f)](({reqId:_0x3cc76a,timeout:_0x507264})=>{var _0x32de71=_0x26f455;this[_0x32de71(0x372)](_0x3cc76a,_0x507264);}),this);}[_0x2b51d4(0x1b4)](){var _0x1bebf7=_0x2b51d4;return this[_0x1bebf7(0x478)](),this[_0x1bebf7(0x333)][_0x1bebf7(0x492)](de,this[_0x1bebf7(0x3c5)],this[_0x1bebf7(0x26e)],this['_awaitingChangeset'],[],this['_handler']);}[_0x2b51d4(0x46f)](){return this;}[_0x2b51d4(0x3ae)](){var _0x2a6c7e=_0x2b51d4;this[_0x2a6c7e(0x459)][_0x2a6c7e(0x43b)](this[_0x2a6c7e(0x41d)]);}[_0x2b51d4(0x431)](_0x29ab4e){var _0xc3c033=_0x2b51d4;return this[_0xc3c033(0x478)](),this[_0xc3c033(0x333)][_0xc3c033(0x492)](ue,this[_0xc3c033(0x3c5)],this['type'],this[_0xc3c033(0x41d)],[],this[_0xc3c033(0x459)],_0x29ab4e);}[_0x2b51d4(0x372)](_0x2fcd29,_0x1c6e79){var _0x5345a6=_0x2b51d4,_0x11eaad;_0x2fcd29===((_0x11eaad=this[_0x5345a6(0x41d)])==null?void 0x0:_0x11eaad[_0x5345a6(0x476)])&&(this['resend'](),this['_resendTimeout']=_0x1c6e79===0x0?0x3e8:_0x1c6e79*0x2);}[_0x2b51d4(0x478)](){var _0x2e1150=_0x2b51d4,_0x3e25e4;(_0x3e25e4=this[_0x2e1150(0x2c2)])==null||_0x3e25e4[_0x2e1150(0x1d9)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0xbb9044(_0xe87ffb)),P(0x5,_0xbb9044(_0x294ada)),P(0x6,_0x3b7381),P(0x7,_0x3e08f2),P(0x8,_0x5a75cc),P(0x9,_0x4955e1),P(0xa,_0x19063a(J))],le);let oe=class extends Ce{constructor(_0x12223f,_0xc06cc9,_0x411008,_0x15025a,_0x26276d,_0x53de87,_0x36a44a,_0x312c9e,_0x51d638,_0x29ac99,_0x348e2b,_0x5790a3,_0x17c20d){var _0x4ef1ed=_0x2b51d4;super(_0x12223f,_0xc06cc9,_0x411008,_0x15025a,_0x26276d,_0x51d638,_0x5790a3,_0x312c9e,_0x17c20d),N(this,_0x4ef1ed(0x2c1),_0x4ef1ed(0x1f4)),N(this,_0x4ef1ed(0x260),0x0),N(this,_0x4ef1ed(0x274)),N(this,_0x4ef1ed(0x2c2)),(this[_0x4ef1ed(0x333)]=_0x36a44a,this[_0x4ef1ed(0x3e5)]=_0x29ac99,this['_transformService']=_0x348e2b,this[_0x4ef1ed(0x1ed)]=_0x17c20d,_0x53de87&&(this[_0x4ef1ed(0x274)]=_0x53de87,this['_sender']=this[_0x4ef1ed(0x274)][_0x4ef1ed(0x36f)](({reqId:_0x278c0b,timeout:_0x3ce486})=>{this['_resendWithTimeout'](_0x278c0b,_0x3ce486);})));}[_0x2b51d4(0x340)](_0x495be0){var _0x3dc7b8=_0x2b51d4;return this[_0x3dc7b8(0x203)][_0x3dc7b8(0x276)](_0x495be0),this;}[_0x2b51d4(0x337)](_0x358519){var _0x5821cd=_0x2b51d4;if(this[_0x5821cd(0x2ee)](_0x358519))return this[_0x5821cd(0x478)](),this[_0x5821cd(0x333)]['createInstance'](ee,this[_0x5821cd(0x3c5)],this['type'],this[_0x5821cd(0x41d)],this[_0x5821cd(0x203)],null,[_0x358519],this[_0x5821cd(0x459)]);try{const _0x4c501d=this[_0x5821cd(0x404)]['transformChangesets']([_0x358519],[this[_0x5821cd(0x41d)]],!0x1);if(_0xf9b32d(_0x4c501d)){const {c1Prime:_0x422d36,c2Prime:_0x38255a}=_0x4c501d,_0x2baf44=this[_0x5821cd(0x404)][_0x5821cd(0x29c)](_0x422d36[0x0],this[_0x5821cd(0x203)]);if(_0x297140(_0x2baf44)){const {c1Prime:_0x5cd06b,m2Prime:_0x1aeb58}=_0x2baf44;return this[_0x5821cd(0x281)](_0x5cd06b),_0x38255a[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x5821cd(0x478)](),this['_injector'][_0x5821cd(0x492)](oe,this['unitID'],this[_0x5821cd(0x26e)],_0x38255a[0x0],_0x1aeb58,this['_handler'],void 0x0);}throw _0x2baf44[_0x5821cd(0x36e)];}throw _0x4c501d[_0x5821cd(0x36e)];}catch(_0x5d14c8){return this['_logService'][_0x5821cd(0x36e)](_0x5d14c8),this['_onConflict'](!0x1);}}[_0x2b51d4(0x24c)](_0x452ecc){var _0x2a4596=_0x2b51d4;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x452ecc))return this[_0x2a4596(0x333)][_0x2a4596(0x492)](ee,this['unitID'],this[_0x2a4596(0x26e)],null,this[_0x2a4596(0x203)],this[_0x2a4596(0x41d)],[],this[_0x2a4596(0x459)]);this['_incrementRevisionNumber']();const _0x4bfae5=this[_0x2a4596(0x333)]['createInstance'](ae,this[_0x2a4596(0x3c5)],this['type'],this[_0x2a4596(0x203)],this[_0x2a4596(0x459)]);return _0x4bfae5[_0x2a4596(0x3f5)](),_0x4bfae5[_0x2a4596(0x3f9)](),_0x4bfae5;}[_0x2b51d4(0x443)](_0x2f8217){var _0x30ecfb=_0x2b51d4;return this[_0x30ecfb(0x431)](!!(_0x2f8217!=null&&_0x2f8217[_0x30ecfb(0x453)]));}[_0x2b51d4(0x327)](_0x3b3486){var _0x38d402=_0x2b51d4;return this[_0x38d402(0x260)]>yi?this[_0x38d402(0x1b4)]():(this[_0x38d402(0x274)]=Ri(this[_0x38d402(0x260)],{'timeout':this[_0x38d402(0x260)],'reqId':_0x3b3486['reqId']}),this[_0x38d402(0x2c2)]=this[_0x38d402(0x274)][_0x38d402(0x36f)](({reqId:_0x200083,timeout:_0x43aa1f})=>{var _0x120c4e=_0x38d402;this[_0x120c4e(0x372)](_0x200083,_0x43aa1f);}),this);}['toggleOffline'](){var _0x1b7e3b=_0x2b51d4;return this[_0x1b7e3b(0x478)](),this[_0x1b7e3b(0x333)][_0x1b7e3b(0x492)](de,this['unitID'],this[_0x1b7e3b(0x26e)],this[_0x1b7e3b(0x41d)],this[_0x1b7e3b(0x203)],this['_handler']);}[_0x2b51d4(0x46f)](){return this;}['resend'](){var _0x3e178a=_0x2b51d4;this[_0x3e178a(0x459)][_0x3e178a(0x43b)](this['_awaitingChangeset']);}[_0x2b51d4(0x431)](_0x533667){var _0x5873e8=_0x2b51d4;return this[_0x5873e8(0x478)](),this[_0x5873e8(0x333)][_0x5873e8(0x492)](ue,this[_0x5873e8(0x3c5)],this[_0x5873e8(0x26e)],null,this[_0x5873e8(0x203)],this[_0x5873e8(0x459)],_0x533667);}[_0x2b51d4(0x372)](_0x397404,_0x376606){var _0x3e0fdd=_0x2b51d4,_0x2a2631;_0x397404===((_0x2a2631=this[_0x3e0fdd(0x41d)])==null?void 0x0:_0x2a2631[_0x3e0fdd(0x476)])&&(this['resend'](),this['_resendTimeout']=_0x376606===0x0?0x3e8:_0x376606*0x2);}[_0x2b51d4(0x478)](){var _0x50d512=_0x2b51d4,_0x1e203f;(_0x1e203f=this[_0x50d512(0x2c2)])==null||_0x1e203f[_0x50d512(0x1d9)](),this[_0x50d512(0x260)]=0x0;}};oe=Te([P(0x6,_0xbb9044(_0xe87ffb)),P(0x7,_0xbb9044(_0x294ada)),P(0x8,_0x3b7381),P(0x9,_0x3e08f2),P(0xa,_0x5a75cc),P(0xb,_0x4955e1),P(0xc,_0x19063a(J))],oe);let ue=class extends Ce{constructor(_0x34cc55,_0x2307eb,_0x5ad1d1,_0x1b42c1,_0x38f309,_0x2b7ab7=!0x1,_0x413168,_0xc5a150,_0x47bf45,_0x4ad096,_0xf2ddc1,_0x24201c,_0x31f18d){var _0x4ebfe9=_0x2b51d4;super(_0x34cc55,_0x2307eb,_0x5ad1d1,_0x1b42c1,_0x38f309,_0xc5a150,_0x47bf45,_0x4ad096,_0x31f18d),N(this,_0x4ebfe9(0x2c1),'conflict'),(this[_0x4ebfe9(0x1b9)]=_0x2b7ab7,this[_0x4ebfe9(0x434)]=_0x413168,this[_0x4ebfe9(0x22c)]=_0xf2ddc1,this['_collaborationUIEventService']=_0x24201c,this[_0x4ebfe9(0x1ed)]=_0x31f18d,this[_0x4ebfe9(0x1fc)](),this[_0x4ebfe9(0x3a0)](),this[_0x4ebfe9(0x3be)]());}[_0x2b51d4(0x340)](){return this;}['onRemoteChangeset'](){return this;}[_0x2b51d4(0x24c)](){return this;}[_0x2b51d4(0x443)](){return this;}['onRemoteRetry'](){return this;}[_0x2b51d4(0x1b4)](){return this;}[_0x2b51d4(0x46f)](){return this;}[_0x2b51d4(0x3ae)](){var _0x155396=_0x2b51d4;throw new Error(_0x155396(0x378));}['_clearLocalCache'](){var _0x5b60b9=_0x2b51d4,_0x439867;(_0x439867=this[_0x5b60b9(0x39e)])==null||_0x439867['updateOfflineData'](this[_0x5b60b9(0x3c5)],this[_0x5b60b9(0x26e)],null,[]);}['_showConflictNotification'](){var _0x4046e4=_0x2b51d4;this[_0x4046e4(0x1b9)]?this['_collaborationUIEventService'][_0x4046e4(0x23e)]({'id':se[_0x4046e4(0x245)]}):this[_0x4046e4(0x3b8)]['emitEvent']({'id':se[_0x4046e4(0x385)]});}[_0x2b51d4(0x3be)](){var _0x42eb7f=_0x2b51d4;this[_0x42eb7f(0x434)]['updatePermissionPoint'](new _0x2bbfa7(this[_0x42eb7f(0x3c5)])['id'],!0x1);}};ue=Te([P(0x6,_0xbb9044(_0x1f555b)),P(0x7,_0x3b7381),P(0x8,_0x4955e1),P(0x9,_0xbb9044(_0x294ada)),P(0xa,_0xbb9044(_0x2fded0)),P(0xb,_0xbb9044(pe)),P(0xc,_0x19063a(J))],ue);let de=class extends Ce{constructor(_0x365344,_0x573d10,_0x18e61c,_0x54f79e,_0x5272c5,_0x1c123e,_0x392273,_0x1c5211,_0x3884f9,_0x1b7c78){var _0x670d68=_0x2b51d4;super(_0x365344,_0x573d10,_0x18e61c,_0x54f79e,_0x5272c5,_0x1c5211,_0x3884f9,_0x392273,_0x1b7c78),N(this,_0x670d68(0x2c1),_0x670d68(0x282)),this['_injector']=_0x1c123e;}[_0x2b51d4(0x340)](_0x4ba6dc){var _0x38f650=_0x2b51d4;return this[_0x38f650(0x203)][_0x38f650(0x276)](_0x4ba6dc),this[_0x38f650(0x3f9)](),this;}['onRemoteChangeset'](_0x360d83){var _0x255dba=_0x2b51d4;throw new Error(_0x255dba(0x34a));}[_0x2b51d4(0x24c)](){var _0x59a0e4=_0x2b51d4;throw new Error(_0x59a0e4(0x1c0));}[_0x2b51d4(0x443)](){var _0x348d87=_0x2b51d4;throw new Error(_0x348d87(0x1db));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x2b51d4(0x46f)](){var _0x194865=_0x2b51d4;const {_injector:_0x1d9a11,_pendingMutations:_0x14f824,_awaitingChangeset:_0x27d587,unitID:_0x27915f,_handler:_0x5e3964,type:_0x28fe08}=this,_0x57f0ef=Oi(_0x1d9a11,_0x27915f,_0x28fe08,_0x27d587,_0x14f824,_0x5e3964);return _0x57f0ef instanceof ae?_0x57f0ef[_0x194865(0x3f5)]():(_0x57f0ef instanceof oe||_0x57f0ef instanceof le)&&_0x57f0ef[_0x194865(0x3ae)](),_0x57f0ef;}[_0x2b51d4(0x3ae)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0xbb9044(_0xe87ffb)),P(0x6,_0xbb9044(_0x294ada)),P(0x7,_0x3b7381),P(0x8,_0x4955e1),P(0x9,_0x19063a(J))],de);let ee=class extends Ce{constructor(_0x58da9d,_0x497e1a,_0x490784,_0x595719,_0x1d59b0,_0x33fce4,_0x5e271e,_0x541329,_0x50bbef,_0x2af301,_0x305783,_0x121b60,_0x359e55,_0x146f96){var _0x419e0a=_0x2b51d4;super(_0x58da9d,_0x497e1a,_0x490784,_0x595719,_0x5e271e,_0x305783,_0x121b60,_0x50bbef,_0x146f96),N(this,_0x419e0a(0x2c1),_0x419e0a(0x1f5)),(this['_acknowledgedAwaitingChangeset']=_0x1d59b0,this[_0x419e0a(0x225)]=_0x33fce4,this[_0x419e0a(0x333)]=_0x541329,this[_0x419e0a(0x3e5)]=_0x2af301,this['_transformService']=_0x359e55,this['localCacheService']=_0x146f96);}[_0x2b51d4(0x37e)](_0x50872b){var _0x10529b=_0x2b51d4;try{const _0x13a2f9=[..._0x50872b,...this[_0x10529b(0x225)]],_0x5a111b=[this['_awaitingChangeset']||this[_0x10529b(0x329)]][_0x10529b(0x287)](_0xadaae1=>!!_0xadaae1);let _0x1fac8e,_0x3e4d51;if(_0x5a111b[_0x10529b(0x23a)]){const _0x13f4db=this[_0x10529b(0x404)][_0x10529b(0x2c8)](_0x13a2f9,_0x5a111b,!0x1);if(!_0xf9b32d(_0x13f4db))throw _0x13f4db['error'];_0x1fac8e=_0x13f4db[_0x10529b(0x3ac)],_0x3e4d51=_0x13f4db['c2Prime'];}else _0x1fac8e=_0x13a2f9,_0x3e4d51=[];let _0x56b9cb=this[_0x10529b(0x203)];_0x1fac8e[_0x10529b(0x33d)](_0x2a6d3e=>{var _0x38b4f8=_0x10529b;let _0x23f998;if(_0x56b9cb[_0x38b4f8(0x23a)]){const _0x56f710=this[_0x38b4f8(0x404)]['transformMutationsWithChangeset'](_0x2a6d3e,_0x56b9cb);if(!_0x297140(_0x56f710))throw _0x56f710['error'];_0x23f998=_0x56f710[_0x38b4f8(0x3ac)],_0x56b9cb=_0x56f710[_0x38b4f8(0x432)];}else _0x23f998=_0x2a6d3e;this['_executeRemoteChangeset'](_0x23f998);}),this[_0x10529b(0x329)]&&this[_0x10529b(0x3c1)](),this[_0x10529b(0x41d)]&&_0x3e4d51[_0x10529b(0x23a)]&&(_0x3e4d51[0x0]['baseRev']=this[_0x10529b(0x29d)]());let _0x1cc120;if(this[_0x10529b(0x41d)]&&_0x56b9cb['length']!==0x0)_0x1cc120=this[_0x10529b(0x333)]['createInstance'](oe,this[_0x10529b(0x3c5)],this['type'],_0x3e4d51[0x0],_0x56b9cb,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x56b9cb[_0x10529b(0x23a)]===0x0)_0x3e4d51[0x0][_0x10529b(0x2d6)]=this[_0x10529b(0x29d)](),_0x1cc120=this['_injector'][_0x10529b(0x492)](le,this[_0x10529b(0x3c5)],this[_0x10529b(0x26e)],_0x3e4d51[0x0],this[_0x10529b(0x459)]);else{if(_0x56b9cb[_0x10529b(0x23a)]!==0x0){const _0x95891b=this['_injector'][_0x10529b(0x492)](ae,this['unitID'],this[_0x10529b(0x26e)],_0x56b9cb,this[_0x10529b(0x459)]);_0x95891b[_0x10529b(0x3f5)](),_0x1cc120=_0x95891b;}else _0x1cc120=this[_0x10529b(0x333)][_0x10529b(0x492)](Ne,this[_0x10529b(0x3c5)],this[_0x10529b(0x26e)],this[_0x10529b(0x459)]);}}return _0x1cc120[_0x10529b(0x3f9)](),_0x1cc120;}catch(_0x269b7c){return this[_0x10529b(0x3e5)][_0x10529b(0x36e)](_0x10529b(0x30e),_0x10529b(0x35a),_0x269b7c),this[_0x10529b(0x333)][_0x10529b(0x492)](ue,this[_0x10529b(0x3c5)],this[_0x10529b(0x26e)],this[_0x10529b(0x41d)],this[_0x10529b(0x203)],this[_0x10529b(0x459)],!0x1);}}[_0x2b51d4(0x3ae)](){var _0x237b81=_0x2b51d4;throw new Error(_0x237b81(0x3f2));}[_0x2b51d4(0x340)](_0x3eef7e){var _0x3fe8bb=_0x2b51d4;return this[_0x3fe8bb(0x203)]['push'](_0x3eef7e),this;}[_0x2b51d4(0x337)](_0x25fa81){var _0x29e571=_0x2b51d4;return this[_0x29e571(0x225)][_0x29e571(0x276)](_0x25fa81),this;}['onRemoteAck'](_0x131f25){var _0x5ca435=_0x2b51d4;if(this[_0x5ca435(0x41d)])return this['_acknowledgedAwaitingChangeset']=this[_0x5ca435(0x41d)],this['_awaitingChangeset']=null,this;throw new Error(_0x5ca435(0x31e));}[_0x2b51d4(0x443)](_0x293dfb){return this['_onConflict'](!!(_0x293dfb!=null&&_0x293dfb['isPermissionRej']));}[_0x2b51d4(0x327)](){return this;}[_0x2b51d4(0x1b4)](){var _0x57fdda=_0x2b51d4;return this[_0x57fdda(0x333)][_0x57fdda(0x492)](de,this[_0x57fdda(0x3c5)],this[_0x57fdda(0x26e)],this['_awaitingChangeset'],this[_0x57fdda(0x203)],this[_0x57fdda(0x459)]);}['toggleOnline'](){return this;}[_0x2b51d4(0x431)](_0x5accc3){var _0x4db7ce=_0x2b51d4;return this[_0x4db7ce(0x333)][_0x4db7ce(0x492)](ue,this['unitID'],this[_0x4db7ce(0x26e)],this[_0x4db7ce(0x41d)],this[_0x4db7ce(0x203)],this[_0x4db7ce(0x459)],_0x5accc3);}};ee=Te([P(0x7,_0xbb9044(_0xe87ffb)),P(0x8,_0xbb9044(_0x294ada)),P(0x9,_0x3e08f2),P(0xa,_0x3b7381),P(0xb,_0x4955e1),P(0xc,_0x5a75cc),P(0xd,_0x19063a(J))],ee);function Oi(_0x1fff86,_0x49b3c7,_0x2e9a78,_0x2f3700,_0x842080,_0x4aa484){var _0x2e5109=_0x2b51d4;return _0x2f3700&&_0x842080['length']?_0x1fff86[_0x2e5109(0x492)](oe,_0x49b3c7,_0x2e9a78,_0x2f3700,_0x842080,_0x4aa484,void 0x0):_0x2f3700?_0x1fff86['createInstance'](le,_0x49b3c7,_0x2e9a78,_0x2f3700,_0x4aa484):_0x842080[_0x2e5109(0x23a)]?_0x1fff86[_0x2e5109(0x492)](ae,_0x49b3c7,_0x2e9a78,_0x842080,_0x4aa484):_0x1fff86[_0x2e5109(0x492)](Ne,_0x49b3c7,_0x2e9a78,_0x4aa484);}var ar=Object[_0x2b51d4(0x374)],xt=(_0x14da66,_0x52274c,_0x53c85e,_0x48e855)=>{var _0x192281=_0x2b51d4;for(var _0x58d626=_0x48e855>0x1?void 0x0:_0x48e855?ar(_0x52274c,_0x53c85e):_0x52274c,_0x48d449=_0x14da66[_0x192281(0x23a)]-0x1,_0x187f5c;_0x48d449>=0x0;_0x48d449--)(_0x187f5c=_0x14da66[_0x48d449])&&(_0x58d626=_0x187f5c(_0x58d626)||_0x58d626);return _0x58d626;},H=(_0x1f9bb6,_0x367bbe)=>(_0x291114,_0x4c0bf7)=>_0x367bbe(_0x291114,_0x4c0bf7,_0x1f9bb6);let nt=class extends _0xbf3a36{constructor(_0x58faef,_0x28df52,_0x468a12,_0x17b812,_0x44d9bf,_0x3740f3,_0x49c33f,_0x5e763e,_0x46edb9,_0x360fa9,_0x2dd342,_0xa966de,_0x553282){var _0x2c6d15=_0x2b51d4;super(),N(this,'_state$',new _0x53317a(null)),N(this,_0x2c6d15(0x33c),this[_0x2c6d15(0x30c)][_0x2c6d15(0x380)]()),N(this,_0x2c6d15(0x47a)),N(this,_0x2c6d15(0x2b5),!0x1),N(this,_0x2c6d15(0x24f),''),N(this,_0x2c6d15(0x1b7),0x0),N(this,_0x2c6d15(0x39b),this[_0x2c6d15(0x33c)][_0x2c6d15(0x392)](_0x505aec(_0x1a1c7e=>_0x1a1c7e?_0x1a1c7e[_0x2c6d15(0x2c1)]:bi['OFFLINE']),_0x28b0fc(0x1))),N(this,_0x2c6d15(0x43e),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x2c6d15(0x3c5)]=_0x58faef,this['session']=_0x28df52,this[_0x2c6d15(0x4ab)]=_0x468a12,this['_injector']=_0x17b812,this[_0x2c6d15(0x3de)]=_0x44d9bf,this[_0x2c6d15(0x22c)]=_0x3740f3,this[_0x2c6d15(0x322)]=_0x49c33f,this['_eventService']=_0x5e763e,this['_logService']=_0x46edb9,this[_0x2c6d15(0x448)]=_0x360fa9,this[_0x2c6d15(0x434)]=_0x2dd342,this[_0x2c6d15(0x499)]=_0xa966de,this['_localCacheService']=_0x553282);}get[_0x2b51d4(0x334)](){return this['_state'];}async['init'](){var _0x625395=_0x2b51d4;if(this[_0x625395(0x334)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x625395(0x234)]();}['pauseCollaboration'](){var _0x3421b2=_0x2b51d4;return this[_0x3421b2(0x2b5)]=!0x0,_0x642f1f(()=>{var _0x3140cb=_0x3421b2;this[_0x3140cb(0x2b5)]=!0x1,this[_0x3140cb(0x37b)]();});}[_0x2b51d4(0x239)](_0x4b4b42){var _0x52bb0a=_0x2b51d4;this[_0x52bb0a(0x422)](_0x4b4b42);}[_0x2b51d4(0x26b)](_0xc12855){var _0x5ced54=_0x2b51d4;this['_state']=_0xc12855,this[_0x5ced54(0x30c)]['next'](_0xc12855);}async[_0x2b51d4(0x234)](){var _0x1c2bed=_0x2b51d4,_0x39803b;this[_0x1c2bed(0x26b)](await this['_createInitialState']()),this[_0x1c2bed(0x499)]&&((_0x39803b=this[_0x1c2bed(0x499)])==null||_0x39803b[_0x1c2bed(0x402)](this[_0x1c2bed(0x3c5)]),this[_0x1c2bed(0x27f)](this[_0x1c2bed(0x499)]['getUnitStatus$'](this[_0x1c2bed(0x3c5)])[_0x1c2bed(0x36f)](_0x32a588=>{var _0x39e5a8=_0x1c2bed;this['_logService'][_0x39e5a8(0x39f)](_0x39e5a8(0x261),_0x39e5a8(0x36c),_0x32a588),_0x32a588===Ci['OTHER_CLIENTS_EDITING']?(this['_eventService']['emitEvent']({'id':se[_0x39e5a8(0x1e1)]}),this[_0x39e5a8(0x434)][_0x39e5a8(0x3cc)](new _0x2bbfa7(this['unitID'])['id'],!0x1),this[_0x39e5a8(0x434)][_0x39e5a8(0x3f3)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x2bbfa7(this[_0x39e5a8(0x3c5)])['id'],!0x0),this[_0x39e5a8(0x434)][_0x39e5a8(0x3f3)](!0x0));})));let _0x200daa=!0x1;return this[_0x1c2bed(0x27f)](this[_0x1c2bed(0x2d9)]['sessionStatus$'][_0x1c2bed(0x36f)](_0x1086ba=>{var _0x59a0ef=_0x1c2bed;_0x1086ba===Ee[_0x59a0ef(0x216)]?this[_0x59a0ef(0x27b)](_0x200daa):_0x1086ba===Ee[_0x59a0ef(0x2ae)]&&(_0x200daa=!0x0,this[_0x59a0ef(0x436)]());})),this[_0x1c2bed(0x27f)](this[_0x1c2bed(0x2d9)]['event$']['subscribe'](_0x569544=>{var _0x4815c6=_0x1c2bed;try{switch(_0x569544[_0x4815c6(0x2dd)]){case _0x1cab20[_0x4815c6(0x28d)]:{this[_0x4815c6(0x21c)](_0xa28372(_0x569544['data']));break;}case _0x1cab20['CHANGESET_ACK']:{this[_0x4815c6(0x39d)](_0x569544[_0x4815c6(0x1bc)]);break;}case _0x1cab20[_0x4815c6(0x42e)]:{this[_0x4815c6(0x3db)]();break;}case _0x1cab20[_0x4815c6(0x4a1)]:{this[_0x4815c6(0x30b)](_0x569544['data']);break;}case _0x1cab20['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4815c6(0x1f7)](_0x569544[_0x4815c6(0x1bc)][_0x4815c6(0x219)][_0x4815c6(0x48a)](_0x3de81e=>_0xa28372(_0x3de81e)));break;}case _0x1cab20[_0x4815c6(0x1d0)]:{this[_0x4815c6(0x3db)]({'isPermissionRej':!0x0});break;}case _0x1cab20[_0x4815c6(0x292)]:break;}}catch(_0xc1ca7){throw console[_0x4815c6(0x36e)](_0x4815c6(0x31d),_0xc1ca7),_0xc1ca7;}})),this[_0x1c2bed(0x47a)];}[_0x2b51d4(0x2b7)](){var _0x1b0501=_0x2b51d4;this[_0x1b0501(0x43e)]=!0x1;}[_0x2b51d4(0x486)](){var _0x20c7dc=_0x2b51d4;if(this[_0x20c7dc(0x43e)])throw new Error(_0x20c7dc(0x30f));this[_0x20c7dc(0x43e)]=!0x0;}['_onLocalMutation'](_0x5dadca){var _0x262c29=_0x2b51d4;this[_0x262c29(0x486)](),this[_0x262c29(0x26b)](this[_0x262c29(0x47a)][_0x262c29(0x340)](_0x5dadca)),this[_0x262c29(0x2b7)]();}[_0x2b51d4(0x21c)](_0x312a07){var _0x3fea01=_0x2b51d4;if(!(_0x312a07['revision']<=this[_0x3fea01(0x322)][_0x3fea01(0x3b7)](this[_0x3fea01(0x3c5)]))){if(this[_0x3fea01(0x2b5)]){this['_remoteChangesetQueue'][_0x3fea01(0x276)](_0x312a07);return;}this[_0x3fea01(0x3bc)](_0x312a07);}}[_0x2b51d4(0x37b)](){var _0x76bbb3=_0x2b51d4;this[_0x76bbb3(0x481)][_0x76bbb3(0x33d)](_0xc1a63b=>this[_0x76bbb3(0x3bc)](_0xc1a63b)),this[_0x76bbb3(0x481)]=[];}[_0x2b51d4(0x3bc)](_0x32b79b){var _0x5367b7=_0x2b51d4;const _0x440a8b=this[_0x5367b7(0x3de)][_0x5367b7(0x47d)][_0x5367b7(0x29f)](this[_0x5367b7(0x3de)][_0x5367b7(0x47d)][_0x5367b7(0x45f)]()[_0x5367b7(0x3bb)])(_0x32b79b[_0x5367b7(0x27e)],null)||_0x32b79b[_0x5367b7(0x27e)],_0x2d73ec={..._0x32b79b,'mutations':_0x440a8b};this[_0x5367b7(0x486)](),this[_0x5367b7(0x26b)](this[_0x5367b7(0x47a)][_0x5367b7(0x337)](_0x2d73ec)),this[_0x5367b7(0x2b7)]();}[_0x2b51d4(0x39d)](_0x51f9c0){var _0x3b294c=_0x2b51d4;this[_0x3b294c(0x486)](),this['_updateState'](this[_0x3b294c(0x47a)][_0x3b294c(0x24c)](_0x51f9c0)),this[_0x3b294c(0x2b7)]();}[_0x2b51d4(0x3db)](_0x2c3b53){var _0x578248=_0x2b51d4;this[_0x578248(0x486)](),this[_0x578248(0x26b)](this[_0x578248(0x47a)]['onRemoteRej'](_0x2c3b53)),this[_0x578248(0x2b7)]();}[_0x2b51d4(0x30b)](_0x5990b5){var _0x179eef=_0x2b51d4;this[_0x179eef(0x486)](),this[_0x179eef(0x26b)](this[_0x179eef(0x47a)]['onRemoteRetry'](_0x5990b5)),this[_0x179eef(0x2b7)]();}['_onFetchMissResult'](_0x1acc20){var _0x417ed9=_0x2b51d4;if(!(this[_0x417ed9(0x47a)]instanceof ee))throw new TypeError(_0x417ed9(0x367));const _0x1738b2=_0x1acc20[_0x417ed9(0x48a)](_0x4ac584=>{var _0x4f52b2=_0x417ed9;const _0x1b4cbf=this['_compressMutationService'][_0x4f52b2(0x47d)][_0x4f52b2(0x29f)](this['_compressMutationService'][_0x4f52b2(0x47d)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4ac584[_0x4f52b2(0x27e)],null)||_0x4ac584[_0x4f52b2(0x27e)];return{..._0x4ac584,'mutations':_0x1b4cbf};});this[_0x417ed9(0x486)](),this[_0x417ed9(0x26b)](this[_0x417ed9(0x47a)][_0x417ed9(0x37e)](_0x1738b2)),this[_0x417ed9(0x2b7)]();}[_0x2b51d4(0x436)](){var _0x545997=_0x2b51d4;this[_0x545997(0x486)](),this[_0x545997(0x26b)](this['_state'][_0x545997(0x1b4)]()),this[_0x545997(0x2b7)]();}[_0x2b51d4(0x27b)](_0x16c142=!0x1){var _0x54867b=_0x2b51d4;this['_lockTransition'](),this[_0x54867b(0x26b)](this['_state'][_0x54867b(0x46f)]()),this[_0x54867b(0x2b7)]();const _0x4f6513=this[_0x54867b(0x47a)];_0x16c142&&_0x4f6513 instanceof Ne&&(this[_0x54867b(0x486)](),this[_0x54867b(0x26b)](_0x4f6513[_0x54867b(0x1ea)]()),this['_unlockTransition']());}async[_0x2b51d4(0x244)](){return new Promise(_0xf8eec6=>{var _0x19cc07=_0x3286;this['session'][_0x19cc07(0x221)][_0x19cc07(0x392)](_0xcc9855(0x1))['subscribe'](async _0x19a68e=>{var _0x497f80=_0x19cc07;_0xf8eec6(await this[_0x497f80(0x3b0)](_0x19a68e===Ee[_0x497f80(0x216)]));});});}['_createHandler'](){var _0x4a93e3=_0x2b51d4;const _0x128882=this[_0x4a93e3(0x3c5)];return{'onStateChange':(_0x92268e,_0x203b5c)=>{var _0x57c452=_0x4a93e3;if(_0x92268e!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x92268e['status']+_0x57c452(0x20a)+_0x203b5c[_0x57c452(0x2c1)]+_0x57c452(0x256)+this[_0x57c452(0x47a)][_0x57c452(0x2c1)]);this[_0x57c452(0x26b)](_0x203b5c);},'onSendChangeset':_0x38fb93=>{var _0x3a9ad2=_0x4a93e3;_0x38fb93[_0x3a9ad2(0x253)]||(_0x38fb93['sid']=this[_0x3a9ad2(0x24f)],_0x38fb93['reqId']=++this[_0x3a9ad2(0x1b7)]);const _0x14e280={'eventID':_0x1cab20['SUBMIT_CHANGESET'],'data':{'unitID':_0x38fb93['unitID'],'unitType':this[_0x3a9ad2(0x4ab)],'changeset':_0x38fb93,'memberID':this['session'][_0x3a9ad2(0x2a0)]()}};this[_0x3a9ad2(0x2d9)][_0x3a9ad2(0x480)](_0x14e280,this['unitID']);},'onMissingChangesets':({from:_0x48300c,to:_0x77ccc5})=>{var _0x5bef8c=_0x4a93e3;this[_0x5bef8c(0x3e5)]['debug']('[CollaborationEntity]',_0x5bef8c(0x41b)+_0x48300c+_0x5bef8c(0x469)+_0x77ccc5);const _0x102ee7={'eventID':_0x1cab20[_0x5bef8c(0x3a8)],'data':{'unitID':_0x128882,'unitType':this[_0x5bef8c(0x4ab)],'from':_0x48300c,'to':_0x77ccc5}};this['session'][_0x5bef8c(0x480)](_0x102ee7,this[_0x5bef8c(0x3c5)]);}};}async[_0x2b51d4(0x3b0)](_0x58e118){var _0x50d1c7=_0x2b51d4,_0x1b43e3,_0x18a32b,_0x17b5a3;const _0x436dc3=await((_0x1b43e3=this[_0x50d1c7(0x39e)])==null?void 0x0:_0x1b43e3[_0x50d1c7(0x250)](this[_0x50d1c7(0x3c5)])),_0x6fbc4e=(_0x18a32b=_0x436dc3==null?void 0x0:_0x436dc3['mutations'])!=null?_0x18a32b:[],_0x11326c=(_0x17b5a3=_0x436dc3==null?void 0x0:_0x436dc3['awaitingChangeset'])!=null?_0x17b5a3:null,_0x15de85=!!(_0x11326c!=null&&_0x11326c[_0x50d1c7(0x253)])&&!!(_0x11326c!=null&&_0x11326c[_0x50d1c7(0x476)]);this['_changesetSessionId']=_0x15de85?_0x11326c['sid']:Zn(),this[_0x50d1c7(0x1b7)]=_0x15de85?_0x11326c[_0x50d1c7(0x476)]:0x0;const _0x3a1d54=this[_0x50d1c7(0x3c5)];try{this[_0x50d1c7(0x1c9)](_0x11326c,_0x6fbc4e);}catch(_0x6d95a9){this[_0x50d1c7(0x3e5)][_0x50d1c7(0x36e)](_0x6d95a9);}const _0x4c4c3d=this[_0x50d1c7(0x3b1)]();if(_0x58e118){const _0x1f4687=Oi(this[_0x50d1c7(0x333)],_0x3a1d54,this[_0x50d1c7(0x4ab)],_0x11326c,_0x6fbc4e,_0x4c4c3d);return _0x1f4687 instanceof ae?_0x1f4687[_0x50d1c7(0x3f5)]():(_0x1f4687 instanceof oe||_0x1f4687 instanceof le)&&_0x1f4687[_0x50d1c7(0x3ae)](),_0x1f4687;}return this[_0x50d1c7(0x333)][_0x50d1c7(0x492)](de,_0x3a1d54,this[_0x50d1c7(0x4ab)],_0x11326c,_0x6fbc4e,_0x4c4c3d);}[_0x2b51d4(0x1c9)](_0xd3b01f,_0x19b99b){var _0x26fb05=_0x2b51d4,_0x43e841,_0x20563b;const _0x1ea20c=this[_0x26fb05(0x3de)][_0x26fb05(0x47d)][_0x26fb05(0x29f)](this[_0x26fb05(0x3de)]['interceptor'][_0x26fb05(0x45f)]()[_0x26fb05(0x3bb)]);(_0x43e841=_0x1ea20c((_0xd3b01f==null?void 0x0:_0xd3b01f[_0x26fb05(0x27e)])||[],null))==null||_0x43e841['forEach'](_0x585eff=>this['_commandService'][_0x26fb05(0x49f)](_0x585eff['id'],_0x585eff[_0x26fb05(0x424)])),(_0x20563b=_0x1ea20c(_0x19b99b||[],null))==null||_0x20563b['forEach'](_0x2e3fd6=>this[_0x26fb05(0x448)]['executeCommand'](_0x2e3fd6['id'],_0x2e3fd6['params']));}};nt=xt([H(0x3,_0xbb9044(_0xe87ffb)),H(0x4,_0xbb9044(_0x364d90)),H(0x5,_0xbb9044(_0x2fded0)),H(0x6,_0xbb9044(_0x294ada)),H(0x7,_0xbb9044(pe)),H(0x8,_0x3e08f2),H(0x9,_0x3b7381),H(0xa,_0x1f555b),H(0xb,_0x19063a(ht)),H(0xc,_0x19063a(J))],nt);let It=class extends nt{constructor(_0x25c6e6,_0x35dec7,_0x1ed4fc,_0x383ae1,_0x42d817,_0x148774,_0x1f1c4b,_0xc8c476,_0x1faa56,_0x46f8af,_0x2ad8cd,_0x4f5b97,_0x3b0722){var _0xdc630a=_0x2b51d4;super(_0x25c6e6,_0x1ed4fc,_0x35dec7,_0x383ae1,_0x42d817,_0x148774,_0x1f1c4b,_0xc8c476,_0x1faa56,_0x46f8af,_0x2ad8cd,_0x4f5b97,_0x3b0722),N(this,_0xdc630a(0x40c),null),(this[_0xdc630a(0x3c5)]=_0x25c6e6,this[_0xdc630a(0x26e)]=_0x35dec7);}[_0x2b51d4(0x48e)](_0x2a70b6){var _0x286468=_0x2b51d4;this[_0x286468(0x40c)]=_0x2a70b6;}['dispose'](){var _0x4ad8e0=_0x2b51d4;this['_handlerCallback']=null,super[_0x4ad8e0(0x264)]();}[_0x2b51d4(0x3b1)](){var _0x24eb81=_0x2b51d4;const _0x501860=super[_0x24eb81(0x3b1)]();return _0x501860[_0x24eb81(0x202)]=_0x9f9fa4=>{var _0x49e767=_0x24eb81,_0x7433c7,_0x59336e;return(_0x59336e=(_0x7433c7=this[_0x49e767(0x40c)])==null?void 0x0:_0x7433c7[_0x49e767(0x202)])==null?void 0x0:_0x59336e[_0x49e767(0x2ea)](_0x7433c7,_0x9f9fa4);},_0x501860[_0x24eb81(0x2f4)]=_0x9b886c=>{var _0x2c9673=_0x24eb81,_0x5c36ff,_0xdc2e56;return(_0xdc2e56=(_0x5c36ff=this['_handlerCallback'])==null?void 0x0:_0x5c36ff[_0x2c9673(0x2f4)])==null?void 0x0:_0xdc2e56[_0x2c9673(0x2ea)](_0x5c36ff,_0x9b886c);},_0x501860[_0x24eb81(0x45c)]=_0x531ac5=>{var _0x19669a=_0x24eb81,_0x330630,_0x498527;return(_0x498527=(_0x330630=this[_0x19669a(0x40c)])==null?void 0x0:_0x330630[_0x19669a(0x45c)])==null?void 0x0:_0x498527[_0x19669a(0x2ea)](_0x330630,_0x531ac5);},_0x501860[_0x24eb81(0x2d0)]=_0x35db1c=>{var _0x332619=_0x24eb81,_0x5a7b01,_0x343501;return(_0x343501=(_0x5a7b01=this[_0x332619(0x40c)])==null?void 0x0:_0x5a7b01[_0x332619(0x2d0)])==null?void 0x0:_0x343501[_0x332619(0x2ea)](_0x5a7b01,_0x35db1c);},_0x501860['onTransformRemoteChangesetByIMECache']=_0x552114=>{var _0x5bda16=_0x24eb81,_0x5b7825,_0x29436c,_0x89996d;if(!((_0x5b7825=this[_0x5bda16(0x40c)])!=null&&_0x5b7825['onTransformRemoteChangesetByIMECache']))throw new Error(_0x5bda16(0x3b3));return(_0x89996d=(_0x29436c=this[_0x5bda16(0x40c)])==null?void 0x0:_0x29436c['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x89996d[_0x5bda16(0x2ea)](_0x29436c,_0x552114);},_0x501860['onTransformRemoteChangesetByStateCache']=_0x4c2d01=>{var _0x188fc5=_0x24eb81,_0x5bdbb0,_0x567658,_0x1193b8;if(!((_0x5bdbb0=this[_0x188fc5(0x40c)])!=null&&_0x5bdbb0[_0x188fc5(0x40d)]))throw new Error(_0x188fc5(0x439));return(_0x1193b8=(_0x567658=this[_0x188fc5(0x40c)])==null?void 0x0:_0x567658[_0x188fc5(0x40d)])==null?void 0x0:_0x1193b8['call'](_0x567658,_0x4c2d01);},_0x501860;}async[_0x2b51d4(0x234)](){var _0x5e15aa=_0x2b51d4;const _0xb9e635=await super[_0x5e15aa(0x234)]();return this['disposeWithMe'](this[_0x5e15aa(0x448)][_0x5e15aa(0x1e0)]((_0xe084c1,_0x208458)=>{var _0x1057a6=_0x5e15aa;if(_0xe084c1['type']!==_0x1d9afc[_0x1057a6(0x470)]||_0x208458!=null&&_0x208458[_0x1057a6(0x262)]||_0x208458!=null&&_0x208458['onlyLocal']||_0xe084c1['id']===_0x3b2784['id'])return;const _0x1e05c4=_0xe084c1[_0x1057a6(0x424)];if((_0x1e05c4==null?void 0x0:_0x1e05c4[_0x1057a6(0x32b)])!==this[_0x1057a6(0x3c5)])return;const _0x498fa4=_0xe084c1,_0x2b9b6d=this[_0x1057a6(0x3de)][_0x1057a6(0x47d)][_0x1057a6(0x29f)](this[_0x1057a6(0x3de)][_0x1057a6(0x47d)][_0x1057a6(0x45f)]()[_0x1057a6(0x1fe)])([_0x498fa4],null)||[_0x498fa4];this[_0x1057a6(0x422)](_0x2b9b6d[0x0]);})),_0xb9e635;}};It=xt([H(0x3,_0xbb9044(_0xe87ffb)),H(0x4,_0xbb9044(_0x364d90)),H(0x5,_0xbb9044(_0x2fded0)),H(0x6,_0xbb9044(_0x294ada)),H(0x7,_0xbb9044(pe)),H(0x8,_0x3e08f2),H(0x9,_0x3b7381),H(0xa,_0x1f555b),H(0xb,_0x19063a(ht)),H(0xc,_0x19063a(J))],It);let Tt=class extends nt{constructor(_0x59b69b,_0x8734a4,_0x3db779,_0x48e07f,_0x281973,_0x591b98,_0x16b4a3,_0x157495,_0x2a5573,_0x5bd7e5,_0x2e5ee2,_0x5c22f4,_0x78f7ec,_0x256260){var _0x5f1d86=_0x2b51d4;super(_0x59b69b,_0x3db779,_0x8734a4,_0x48e07f,_0x281973,_0x591b98,_0x16b4a3,_0x2a5573,_0x5bd7e5,_0x2e5ee2,_0x5c22f4,_0x78f7ec,_0x256260),this[_0x5f1d86(0x3c5)]=_0x59b69b,this[_0x5f1d86(0x26e)]=_0x8734a4,this[_0x5f1d86(0x207)]=_0x157495;}['_createHandler'](){var _0x38666c=_0x2b51d4;const _0x5c62d1=super[_0x38666c(0x3b1)]();return _0x5c62d1[_0x38666c(0x45c)]=_0x487701=>this[_0x38666c(0x207)][_0x38666c(0x373)](_0x487701),_0x5c62d1;}async[_0x2b51d4(0x234)](){var _0x1107a8=_0x2b51d4;const _0x6f64cf=await super[_0x1107a8(0x234)]();return this['disposeWithMe'](this[_0x1107a8(0x448)][_0x1107a8(0x1e0)]((_0x3441f3,_0x1d3df4)=>{var _0xaac4f7=_0x1107a8;if(_0x3441f3[_0xaac4f7(0x26e)]!==_0x1d9afc['MUTATION']||_0x1d3df4!=null&&_0x1d3df4[_0xaac4f7(0x262)]||_0x1d3df4!=null&&_0x1d3df4[_0xaac4f7(0x3e6)])return;const _0x2397c0=_0x3441f3['params'];if((_0x2397c0==null?void 0x0:_0x2397c0[_0xaac4f7(0x32b)])!==this[_0xaac4f7(0x3c5)])return;const _0xdd207c=_0x3441f3,_0x37ed2a=this[_0xaac4f7(0x3de)]['interceptor'][_0xaac4f7(0x29f)](this['_compressMutationService'][_0xaac4f7(0x47d)]['getInterceptPoints']()[_0xaac4f7(0x1fe)])([_0xdd207c],null)||[_0xdd207c];this['_onLocalMutation'](_0x37ed2a[0x0]);})),_0x6f64cf;}};Tt=xt([H(0x3,_0xbb9044(_0xe87ffb)),H(0x4,_0xbb9044(_0x364d90)),H(0x5,_0xbb9044(_0x2fded0)),H(0x6,_0xbb9044(_0x294ada)),H(0x7,_0xbb9044(it)),H(0x8,_0xbb9044(pe)),H(0x9,_0x3e08f2),H(0xa,_0x3b7381),H(0xb,_0x1f555b),H(0xc,_0x19063a(ht)),H(0xd,_0x19063a(J))],Tt);var or=Object[_0x2b51d4(0x374)],cr=(_0x4652ae,_0x234980,_0x50b43e,_0x173af6)=>{var _0x3e7ade=_0x2b51d4;for(var _0x493789=_0x173af6>0x1?void 0x0:_0x173af6?or(_0x234980,_0x50b43e):_0x234980,_0x2d01ad=_0x4652ae[_0x3e7ade(0x23a)]-0x1,_0x35ce04;_0x2d01ad>=0x0;_0x2d01ad--)(_0x35ce04=_0x4652ae[_0x2d01ad])&&(_0x493789=_0x35ce04(_0x493789)||_0x493789);return _0x493789;},ft=(_0x2d2050,_0x4c3245)=>(_0x36410f,_0x38d058)=>_0x4c3245(_0x36410f,_0x38d058,_0x2d2050);let rt=class extends _0xbf3a36{constructor(_0x56ba98,_0xe3a5de,_0x4d79fc){var _0xea1f88=_0x2b51d4;super(),N(this,_0xea1f88(0x2a2),new Map()),N(this,_0xea1f88(0x1f6),new _0x358ef7()),N(this,'entityInit$',this[_0xea1f88(0x1f6)][_0xea1f88(0x380)]()),(this[_0xea1f88(0x333)]=_0x56ba98,this[_0xea1f88(0x2d2)]=_0xe3a5de,this[_0xea1f88(0x22f)]=_0x4d79fc,this[_0xea1f88(0x234)]());}[_0x2b51d4(0x264)](){var _0x2faa5e=_0x2b51d4;super[_0x2faa5e(0x264)](),this[_0x2faa5e(0x2a2)][_0x2faa5e(0x33d)](_0xf6dc83=>_0xf6dc83[_0x2faa5e(0x264)]()),this[_0x2faa5e(0x2a2)][_0x2faa5e(0x2fb)]();}[_0x2b51d4(0x257)](_0x50c237){var _0x5d0047=_0x2b51d4,_0x5a4c24;return(_0x5a4c24=this[_0x5d0047(0x2a2)][_0x5d0047(0x42b)](_0x50c237))!=null?_0x5a4c24:null;}[_0x2b51d4(0x361)](_0x8dbbb2){var _0x707948=_0x2b51d4;const _0x33b88e=this[_0x707948(0x257)](_0x8dbbb2);return _0x33b88e?_0x5e2f08(_0x33b88e):this[_0x707948(0x1f6)]['pipe'](_0x20767a(_0x4b77aa=>_0x4b77aa[_0x707948(0x3c5)]===_0x8dbbb2));}[_0x2b51d4(0x447)](_0x38c75f){var _0x2b937c=_0x2b51d4;return _0x17bb9a(this[_0x2b937c(0x361)](_0x38c75f)[_0x2b937c(0x392)](_0x87d7ab(()=>{})));}['_init'](){var _0x4bc67d=_0x2b51d4;this[_0x4bc67d(0x22f)][_0x4bc67d(0x235)](_0x5d6c54[_0x4bc67d(0x1ca)])[_0x4bc67d(0x392)](_0x31b31c(this[_0x4bc67d(0x330)]),_0x1402e1(0x10))[_0x4bc67d(0x36f)](async _0x492ee8=>{var _0x363540=_0x4bc67d;const _0x43b3d8=_0x492ee8[_0x363540(0x4a5)](),_0x111beb=await this[_0x363540(0x3ea)](_0x43b3d8,Q[_0x363540(0x1ca)]);this[_0x363540(0x2a2)]['set'](_0x43b3d8,_0x111beb);}),this[_0x4bc67d(0x22f)][_0x4bc67d(0x235)](_0x5d6c54[_0x4bc67d(0x1f8)])[_0x4bc67d(0x392)](_0x31b31c(this[_0x4bc67d(0x330)]),_0x1402e1(0x10))['pipe'](_0x20767a(_0x26e65d=>!_0x26e65d[_0x4bc67d(0x4a5)]()[_0x4bc67d(0x22a)]('__')))[_0x4bc67d(0x36f)](async _0xbc4ed0=>{var _0x2d54f2=_0x4bc67d;const _0x5b43c1=_0xbc4ed0[_0x2d54f2(0x4a5)](),_0x1d025b=await this[_0x2d54f2(0x3ea)](_0x5b43c1,Q[_0x2d54f2(0x1f8)]);this[_0x2d54f2(0x2a2)][_0x2d54f2(0x218)](_0x5b43c1,_0x1d025b);}),_0xb2540(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5d6c54[_0x4bc67d(0x1ca)]),this[_0x4bc67d(0x22f)][_0x4bc67d(0x3d6)](_0x5d6c54['UNIVER_DOC']))['pipe'](_0x31b31c(this[_0x4bc67d(0x330)]))[_0x4bc67d(0x36f)](_0x27ca83=>{var _0x16cac7=_0x4bc67d;const _0x2e52d3=_0x27ca83[_0x16cac7(0x4a5)](),_0x2eaaad=this[_0x16cac7(0x2a2)][_0x16cac7(0x42b)](_0x2e52d3);_0x2eaaad&&(_0x2eaaad['dispose'](),this[_0x16cac7(0x2a2)][_0x16cac7(0x1b2)](_0x2e52d3));});}async[_0x2b51d4(0x3ea)](_0x478e20,_0x54f7db){var _0x4b17da=_0x2b51d4;const _0x2192c0=await this['_collabSessionService'][_0x4b17da(0x47c)](_0x478e20),_0x4a2d75=this[_0x4b17da(0x333)]['createInstance'](this['_getCtorByUniverType'](_0x54f7db),_0x478e20,_0x54f7db,_0x2192c0);return await _0x4a2d75['init'](),this[_0x4b17da(0x1f6)]['next'](_0x4a2d75),_0x4a2d75;}[_0x2b51d4(0x48c)](_0x16fcf5){var _0x4647fe=_0x2b51d4;switch(_0x16fcf5){case Q[_0x4647fe(0x1f8)]:return It;case Q[_0x4647fe(0x1ca)]:return Tt;default:throw new Error(_0x4647fe(0x3da)+_0x16fcf5);}}};rt=cr([ft(0x0,_0xbb9044(_0xe87ffb)),ft(0x1,_0xbb9044(Le)),ft(0x2,_0xcd0588)],rt);var hr=Object['getOwnPropertyDescriptor'],_r=(_0x218262,_0x31062c,_0x16888c,_0x330b62)=>{for(var _0x251b13=_0x330b62>0x1?void 0x0:_0x330b62?hr(_0x31062c,_0x16888c):_0x31062c,_0x453a01=_0x218262['length']-0x1,_0x391a16;_0x453a01>=0x0;_0x453a01--)(_0x391a16=_0x218262[_0x453a01])&&(_0x251b13=_0x391a16(_0x251b13)||_0x251b13);return _0x251b13;},zt=(_0x4ae8ce,_0x4c5194)=>(_0xcd0036,_0xa876be)=>_0x4c5194(_0xcd0036,_0xa876be,_0x4ae8ce);const lr=_0x2b51d4(0x2b8),ur=_0x2b51d4(0x1e5);let Ct=class extends _0x46eb90{constructor(_0x536246,_0x31d8f3){var _0x56cf1a=_0x2b51d4;super(),this['_univerInstanceService']=_0x536246,this[_0x56cf1a(0x22e)]=_0x31d8f3,this[_0x56cf1a(0x234)]();}[_0x2b51d4(0x234)](){var _0x22655c=_0x2b51d4;this['disposeWithMe'](this[_0x22655c(0x22f)][_0x22655c(0x348)][_0x22655c(0x36f)](()=>{var _0x58e55c=_0x22655c,_0x2aab9a;const _0x53abb9=this[_0x58e55c(0x22f)][_0x58e55c(0x430)]();let _0x20260e=(_0x2aab9a=this[_0x58e55c(0x22e)][_0x58e55c(0x2a7)](lr))!=null?_0x2aab9a:ur;_0x53abb9 instanceof _0x33d3c5&&(_0x20260e=_0x53abb9[_0x58e55c(0x3b6)]),document[_0x58e55c(0x409)]=_0x20260e;}));}};Ct=_r([zt(0x0,_0xcd0588),zt(0x1,_0x3d91ad)],Ct);var dr=Object[_0x2b51d4(0x374)],fr=(_0x181e11,_0x48ba72,_0x2027b3,_0x213d3e)=>{var _0x8ae074=_0x2b51d4;for(var _0x942c26=_0x213d3e>0x1?void 0x0:_0x213d3e?dr(_0x48ba72,_0x2027b3):_0x48ba72,_0x31d2ad=_0x181e11[_0x8ae074(0x23a)]-0x1,_0xad85fb;_0x31d2ad>=0x0;_0x31d2ad--)(_0xad85fb=_0x181e11[_0x31d2ad])&&(_0x942c26=_0xad85fb(_0x942c26)||_0x942c26);return _0x942c26;},vt=(_0x4cddc0,_0x113687)=>(_0x2fc77c,_0x232576)=>_0x113687(_0x2fc77c,_0x232576,_0x4cddc0);let st=class{constructor(_0x1dbc97,_0x4f8547,_0x558e67){var _0x3f8d0c=_0x2b51d4;this[_0x3f8d0c(0x22e)]=_0x1dbc97,this['_httpService']=_0x4f8547,this[_0x3f8d0c(0x2bd)]=_0x558e67,this['init']();}[_0x2b51d4(0x463)](){var _0xc21e10=_0x2b51d4;this[_0xc21e10(0x254)][_0xc21e10(0x3c0)]({'priority':0x1,'interceptor':(_0x4d3321,_0x4b211e)=>_0x4b211e(_0x4d3321)[_0xc21e10(0x392)](_0x397e18(async _0xf75ec5=>{var _0x3ccf5a=_0xc21e10;const _0x5bbfd5=_0xf75ec5;if(_0x5bbfd5[_0x3ccf5a(0x2c1)]===0x191){if(typeof window>'u')throw new Error(_0x3ccf5a(0x3b2));if(window[_0x3ccf5a(0x386)](this[_0x3ccf5a(0x2bd)]['t'](_0x3ccf5a(0x303)))){const _0x330c6b=window[_0x3ccf5a(0x4b1)](window[_0x3ccf5a(0x349)][_0x3ccf5a(0x1b0)]);window[_0x3ccf5a(0x349)][_0x3ccf5a(0x1b0)]=this[_0x3ccf5a(0x49a)]()+_0x3ccf5a(0x226)+_0x330c6b;}}return _0x5bbfd5;}))});}[_0x2b51d4(0x49a)](){var _0x23aef7=_0x2b51d4,_0x377ae4,_0x4df1a1;const _0x14feeb=this[_0x23aef7(0x22e)][_0x23aef7(0x2a7)](Un),_0x43602e=this[_0x23aef7(0x22e)][_0x23aef7(0x2a7)](q);return(_0x4df1a1=(_0x377ae4=_0x43602e==null?void 0x0:_0x43602e[_0x23aef7(0x3cb)])!=null?_0x377ae4:_0x14feeb)!=null?_0x4df1a1:wn;}};st=fr([vt(0x0,_0x3d91ad),vt(0x1,_0xbb9044(_0x334dc2)),vt(0x2,_0xbb9044(_0x2fded0))],st);var vr=Object[_0x2b51d4(0x374)],pr=(_0x3a275f,_0x3c0e78,_0x1fa83d,_0x50cf13)=>{var _0x36d34f=_0x2b51d4;for(var _0x116a66=_0x50cf13>0x1?void 0x0:_0x50cf13?vr(_0x3c0e78,_0x1fa83d):_0x3c0e78,_0xc5c73a=_0x3a275f[_0x36d34f(0x23a)]-0x1,_0x563b41;_0xc5c73a>=0x0;_0xc5c73a--)(_0x563b41=_0x3a275f[_0xc5c73a])&&(_0x116a66=_0x563b41(_0x116a66)||_0x116a66);return _0x116a66;},Jt=(_0x19575d,_0x490a12)=>(_0x20e9ee,_0x14ca1a)=>_0x490a12(_0x20e9ee,_0x14ca1a,_0x19575d);const Ni='AUTHZ_URL_KEY',mr=_0x2b51d4(0x3a6);let Rt=class extends _0x46eb90{constructor(_0x5c416e,_0x2d0439){var _0x4f9ae4=_0x2b51d4;super(),this[_0x4f9ae4(0x294)]=_0x5c416e,this[_0x4f9ae4(0x22e)]=_0x2d0439,this[_0x4f9ae4(0x1b3)]();}[_0x2b51d4(0x1b3)](){var _0x3da8eb=_0x2b51d4;const _0x167289=this;this[_0x3da8eb(0x27f)](this[_0x3da8eb(0x294)][_0x3da8eb(0x3c0)]({'priority':0x3e7,'interceptor':_0x4a25dc({'isMatch'(_0x2728fb){var _0x251fbb=_0x3da8eb,_0x3b81c5;if(_0x2728fb[_0x251fbb(0x3f8)]===_0x251fbb(0x343)&&((_0x3b81c5=_0x2728fb[_0x251fbb(0x363)])!=null&&_0x3b81c5[_0x251fbb(0x1e3)])){const {objectID:_0x167f68,objectType:_0x363953}=_0x2728fb[_0x251fbb(0x363)][_0x251fbb(0x1e3)]||{};if(!_0x167f68||_0x363953===void 0x0)return!0x1;const _0x4520ed=_0x167289[_0x251fbb(0x1e2)]()+'/'+_0x363953+'/object/'+_0x167f68+_0x251fbb(0x20b);if(_0x2728fb['url']===_0x4520ed)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3f0671){var _0xcfd2b=_0x3da8eb,_0x5c4855;return(_0x5c4855=_0x3f0671[_0xcfd2b(0x363)])==null?void 0x0:_0x5c4855[_0xcfd2b(0x1e3)];},'mergeParamsToRequest'(_0x100d77,_0x521613){var _0x389a77=_0x3da8eb;const _0x3c30ae=_0x167289[_0x389a77(0x1e2)]()+_0x389a77(0x477),_0x3f62b0=_0x100d77[_0x389a77(0x279)]((_0x1eb83c,_0x550f4f)=>{var _0x479a30=_0x389a77;const {unitID:_0x1ad689,objectID:_0x172237,objectType:_0xc04e75,actions:_0x4a630f}=_0x550f4f;return _0x1eb83c[_0x1ad689]||(_0x1eb83c[_0x1ad689]={}),_0x1eb83c[_0x1ad689][_0x172237]||(_0x1eb83c[_0x1ad689][_0x172237]={'objectID':_0x172237,'objectType':_0xc04e75,'actions':[]}),_0x1eb83c[_0x1ad689][_0x172237][_0x479a30(0x49e)][_0x479a30(0x276)](..._0x4a630f),_0x1eb83c;},{}),_0x216690=[];for(const _0x85acfd in _0x3f62b0)for(const _0x494743 in _0x3f62b0[_0x85acfd]){const {actions:_0x4850d8,objectType:_0x5ed2c3}=_0x3f62b0[_0x85acfd][_0x494743],_0x419183=[...new Set(_0x4850d8)];_0x216690[_0x389a77(0x276)]({'unitID':_0x85acfd,'objectID':_0x494743,'objectType':_0x5ed2c3,'actions':_0x419183});}return new _0x2d3670('POST',_0x3c30ae,{'headers':_0x521613[_0x389a77(0x35d)],'withCredentials':_0x521613[_0x389a77(0x2ad)],'responseType':_0x521613[_0x389a77(0x398)],'body':{'requests':_0x216690}});}},{'distributeResult'(_0x3db332,_0xed3c7f){var _0x540e78=_0x3da8eb;const {objectActions:_0x23e7d3}=_0x3db332;return _0xed3c7f[_0x540e78(0x48a)](_0x3eeb9a=>{var _0x73b943=_0x540e78;const {unitID:_0x4f4d64,objectID:_0x269b0,actions:_0x1e679c}=_0x3eeb9a,_0x3ea7ce=_0x23e7d3[_0x73b943(0x2ff)](_0x493360=>_0x493360[_0x73b943(0x3c5)]===_0x4f4d64&&_0x493360[_0x73b943(0x497)]===_0x269b0),_0xba32dd=_0x1e679c[_0x73b943(0x48a)](_0x41d5ef=>_0x3ea7ce==null?void 0x0:_0x3ea7ce[_0x73b943(0x49e)][_0x73b943(0x2ff)](_0x34f8b4=>_0x34f8b4['action']===_0x41d5ef))[_0x73b943(0x287)](_0x11480d=>!!_0x11480d);return{'config':_0x3eeb9a,'result':{'actions':_0xba32dd,'error':_0x3db332[_0x73b943(0x36e)]}};});}})}));}[_0x2b51d4(0x1e2)](){var _0x5ac8eb=_0x2b51d4,_0x12b393,_0x4ca7ce;const _0x368af8=this[_0x5ac8eb(0x22e)][_0x5ac8eb(0x2a7)](Ni),_0x391f92=this[_0x5ac8eb(0x22e)][_0x5ac8eb(0x2a7)](q);return(_0x4ca7ce=(_0x12b393=_0x391f92==null?void 0x0:_0x391f92['authzUrl'])!=null?_0x12b393:_0x368af8)!=null?_0x4ca7ce:mr;}async[_0x2b51d4(0x455)](_0x474d92){var _0x4e8add=_0x2b51d4;const _0x3b4882=this['_getAPIPrefixPath']()+'/'+_0x474d92[_0x4e8add(0x360)]+'/object';return(await this['_HTTPService']['post'](_0x3b4882,{'body':_0x474d92}))[_0x4e8add(0x1e3)][_0x4e8add(0x497)]||'';}async[_0x2b51d4(0x1e6)](_0x3bc8e9){var _0x367357=_0x2b51d4;const _0x2ea7c7=this[_0x367357(0x1e2)]()+_0x367357(0x208);return(await this[_0x367357(0x294)]['post'](_0x2ea7c7,{'body':_0x3bc8e9}))['body'][_0x367357(0x2b2)];}async[_0x2b51d4(0x472)](_0x1c1d1d){var _0x4eefb1=_0x2b51d4,_0x50480d,_0x113d9a;const _0x20e161=this['_getAPIPrefixPath']()+'/'+_0x1c1d1d[_0x4eefb1(0x360)]+_0x4eefb1(0x34b)+_0x1c1d1d['objectID'],_0x548e57=await this[_0x4eefb1(0x294)][_0x4eefb1(0x397)](_0x20e161,{'body':_0x1c1d1d});if(((_0x113d9a=(_0x50480d=_0x548e57==null?void 0x0:_0x548e57['body'])==null?void 0x0:_0x50480d['error'])==null?void 0x0:_0x113d9a[_0x4eefb1(0x48d)])!==0x0)throw new Error(_0x4eefb1(0x325));}async[_0x2b51d4(0x2cf)](_0x15f789){var _0x127ad1=_0x2b51d4;const _0x1ff9f7=this[_0x127ad1(0x1e2)]()+'/'+_0x15f789['objectType']+_0x127ad1(0x34b)+_0x15f789['objectID']+_0x127ad1(0x20b);return(await this['_HTTPService'][_0x127ad1(0x410)](_0x1ff9f7,{'body':_0x15f789}))['body'][_0x127ad1(0x49e)];}async['batchAllowed'](_0x536beb){var _0x21d280=_0x2b51d4;const _0x225eeb=this[_0x21d280(0x1e2)]()+_0x21d280(0x477);return(await this[_0x21d280(0x294)][_0x21d280(0x410)](_0x225eeb,{'body':{'requests':_0x536beb}}))[_0x21d280(0x1e3)][_0x21d280(0x1be)];}async['listRoles'](_0x3578eb){var _0x15c7b7=_0x2b51d4;const _0x56f6f0=this[_0x15c7b7(0x1e2)]()+'/'+_0x3578eb[_0x15c7b7(0x360)]+_0x15c7b7(0x3e2),_0xf14e9e=await this[_0x15c7b7(0x294)]['post'](_0x56f6f0,{'body':_0x3578eb});return{'roles':_0xf14e9e[_0x15c7b7(0x1e3)][_0x15c7b7(0x1d1)],'actions':_0xf14e9e[_0x15c7b7(0x1e3)][_0x15c7b7(0x49e)]};}async[_0x2b51d4(0x49c)](_0x22bcaf){var _0x4a2e3e=_0x2b51d4;const _0x515eb9=this[_0x4a2e3e(0x1e2)]()+_0x4a2e3e(0x28c);await this[_0x4a2e3e(0x294)][_0x4a2e3e(0x1b2)](_0x515eb9,{'params':{'collaboratorID':_0x22bcaf[_0x4a2e3e(0x4af)],'objectID':_0x22bcaf[_0x4a2e3e(0x497)],'unitID':_0x22bcaf['unitID']}});}async['updateCollaborator'](_0x20aecb){var _0x20f9b9=_0x2b51d4;const _0x3469b6=this['_getAPIPrefixPath']()+_0x20f9b9(0x28c);await this[_0x20f9b9(0x294)][_0x20f9b9(0x2d8)](_0x3469b6,{'body':_0x20aecb});}async['createCollaborator'](_0x1481b2){var _0x375c39=_0x2b51d4;const _0x558509=this[_0x375c39(0x1e2)]()+_0x375c39(0x28c);await this['_HTTPService']['post'](_0x558509,{'body':_0x1481b2});}async[_0x2b51d4(0x304)](_0xdc7d32){var _0x403445=_0x2b51d4;const _0xce22c0=this[_0x403445(0x1e2)]()+'/collaborator';return(await this['_HTTPService'][_0x403445(0x42b)](_0xce22c0,{'params':{'objectID':_0xdc7d32[_0x403445(0x497)],'unitID':_0xdc7d32[_0x403445(0x3c5)]}}))[_0x403445(0x1e3)][_0x403445(0x347)];}async['putCollaborators'](_0x5dc4fa){var _0x24cbfa=_0x2b51d4;const _0x4a63fa=this[_0x24cbfa(0x1e2)]()+'/collaborator';await this[_0x24cbfa(0x294)][_0x24cbfa(0x397)](_0x4a63fa,{'body':_0x5dc4fa});}};Rt=pr([Jt(0x0,_0xbb9044(_0x334dc2)),Jt(0x1,_0xbb9044(_0x3d91ad))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x45567c){var _0x5af600=_0x2b51d4;return _0x45567c&&_0x45567c[_0x5af600(0x1ce)]&&Object[_0x5af600(0x488)][_0x5af600(0x362)][_0x5af600(0x2ea)](_0x45567c,'default')?_0x45567c[_0x5af600(0x355)]:_0x45567c;}var Ve={'exports':{}};function gr(_0x38dd8e){var _0x2d18c2=_0x2b51d4;throw new Error(_0x2d18c2(0x425)+_0x38dd8e+_0x2d18c2(0x24b));}var Ge={'exports':{}},Sr=Ge[_0x2b51d4(0x44f)],Xt;function ie(){var _0x9a2d4f=_0x2b51d4;return Xt||(Xt=0x1,function(_0x1457c1,_0xebc541){(function(_0x26b8de,_0x355557){var _0x3469d4=_0x3286;_0x1457c1[_0x3469d4(0x44f)]=_0x355557();}(Sr,function(){var _0x885bf6=_0x885bf6||function(_0x524bb8,_0x38c832){var _0x1ba424=_0x3286,_0x17d405;if(typeof window<'u'&&window[_0x1ba424(0x3ab)]&&(_0x17d405=window[_0x1ba424(0x3ab)]),typeof self<'u'&&self[_0x1ba424(0x3ab)]&&(_0x17d405=self[_0x1ba424(0x3ab)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x17d405=globalThis[_0x1ba424(0x3ab)]),!_0x17d405&&typeof window<'u'&&window[_0x1ba424(0x3d7)]&&(_0x17d405=window[_0x1ba424(0x3d7)]),!_0x17d405&&typeof pt<'u'&&pt['crypto']&&(_0x17d405=pt[_0x1ba424(0x3ab)]),!_0x17d405&&typeof gr==_0x1ba424(0x454))try{_0x17d405=require(_0x1ba424(0x3ab));}catch{}var _0x2c1e18=function(){var _0x2f8480=_0x1ba424;if(_0x17d405){if(typeof _0x17d405[_0x2f8480(0x223)]==_0x2f8480(0x454))try{return _0x17d405[_0x2f8480(0x223)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x17d405[_0x2f8480(0x428)]=='function')try{return _0x17d405['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2f8480(0x42d));},_0xd9507d=Object['create']||(function(){function _0x24cd81(){}return function(_0x34e587){var _0x7d9b1a=_0x3286,_0x1db27f;return _0x24cd81[_0x7d9b1a(0x488)]=_0x34e587,_0x1db27f=new _0x24cd81(),_0x24cd81[_0x7d9b1a(0x488)]=null,_0x1db27f;};}()),_0x51856e={},_0x1f841b=_0x51856e[_0x1ba424(0x32e)]={},_0x15862a=_0x1f841b[_0x1ba424(0x32a)]=(function(){return{'extend':function(_0x1316f2){var _0xa839e5=_0x3286,_0x547469=_0xd9507d(this);return _0x1316f2&&_0x547469[_0xa839e5(0x346)](_0x1316f2),(!_0x547469[_0xa839e5(0x362)]('init')||this[_0xa839e5(0x463)]===_0x547469[_0xa839e5(0x463)])&&(_0x547469[_0xa839e5(0x463)]=function(){var _0x38d876=_0xa839e5;_0x547469['$super'][_0x38d876(0x463)][_0x38d876(0x25e)](this,arguments);}),_0x547469[_0xa839e5(0x463)][_0xa839e5(0x488)]=_0x547469,_0x547469[_0xa839e5(0x344)]=this,_0x547469;},'create':function(){var _0x40050a=_0x3286,_0x490761=this[_0x40050a(0x407)]();return _0x490761[_0x40050a(0x463)][_0x40050a(0x25e)](_0x490761,arguments),_0x490761;},'init':function(){},'mixIn':function(_0x636477){var _0x2f7443=_0x3286;for(var _0x174c27 in _0x636477)_0x636477[_0x2f7443(0x362)](_0x174c27)&&(this[_0x174c27]=_0x636477[_0x174c27]);_0x636477['hasOwnProperty'](_0x2f7443(0x2df))&&(this[_0x2f7443(0x2df)]=_0x636477['toString']);},'clone':function(){var _0x184812=_0x3286;return this[_0x184812(0x463)][_0x184812(0x488)]['extend'](this);}};}()),_0x4025ce=_0x1f841b[_0x1ba424(0x35e)]=_0x15862a[_0x1ba424(0x407)]({'init':function(_0x5629ed,_0x1cea57){var _0x3cdc03=_0x1ba424;_0x5629ed=this[_0x3cdc03(0x2b0)]=_0x5629ed||[],_0x1cea57!=_0x38c832?this[_0x3cdc03(0x284)]=_0x1cea57:this['sigBytes']=_0x5629ed[_0x3cdc03(0x23a)]*0x4;},'toString':function(_0xea3d3c){var _0x4d5000=_0x1ba424;return(_0xea3d3c||_0x5c95d7)[_0x4d5000(0x375)](this);},'concat':function(_0x69430c){var _0x116bf4=_0x1ba424,_0x163709=this['words'],_0x2c3511=_0x69430c[_0x116bf4(0x2b0)],_0x44e3fd=this[_0x116bf4(0x284)],_0x50c12a=_0x69430c[_0x116bf4(0x284)];if(this['clamp'](),_0x44e3fd%0x4)for(var _0x33fb2e=0x0;_0x33fb2e<_0x50c12a;_0x33fb2e++){var _0xf7f180=_0x2c3511[_0x33fb2e>>>0x2]>>>0x18-_0x33fb2e%0x4*0x8&0xff;_0x163709[_0x44e3fd+_0x33fb2e>>>0x2]|=_0xf7f180<<0x18-(_0x44e3fd+_0x33fb2e)%0x4*0x8;}else{for(var _0x6b8368=0x0;_0x6b8368<_0x50c12a;_0x6b8368+=0x4)_0x163709[_0x44e3fd+_0x6b8368>>>0x2]=_0x2c3511[_0x6b8368>>>0x2];}return this[_0x116bf4(0x284)]+=_0x50c12a,this;},'clamp':function(){var _0x385252=_0x1ba424,_0x21d770=this[_0x385252(0x2b0)],_0x5b571e=this['sigBytes'];_0x21d770[_0x5b571e>>>0x2]&=0xffffffff<<0x20-_0x5b571e%0x4*0x8,_0x21d770[_0x385252(0x23a)]=_0x524bb8[_0x385252(0x291)](_0x5b571e/0x4);},'clone':function(){var _0x7e8d53=_0x1ba424,_0x26ce6b=_0x15862a[_0x7e8d53(0x1c4)]['call'](this);return _0x26ce6b[_0x7e8d53(0x2b0)]=this[_0x7e8d53(0x2b0)][_0x7e8d53(0x350)](0x0),_0x26ce6b;},'random':function(_0x1b458f){var _0x32f498=_0x1ba424;for(var _0x27c47e=[],_0x3bde39=0x0;_0x3bde39<_0x1b458f;_0x3bde39+=0x4)_0x27c47e[_0x32f498(0x276)](_0x2c1e18());return new _0x4025ce['init'](_0x27c47e,_0x1b458f);}}),_0xd44730=_0x51856e['enc']={},_0x5c95d7=_0xd44730[_0x1ba424(0x27c)]={'stringify':function(_0x4e5b9f){var _0x4452bd=_0x1ba424;for(var _0x3383db=_0x4e5b9f[_0x4452bd(0x2b0)],_0x2ad1fb=_0x4e5b9f[_0x4452bd(0x284)],_0x366c87=[],_0x90cd5c=0x0;_0x90cd5c<_0x2ad1fb;_0x90cd5c++){var _0x38162e=_0x3383db[_0x90cd5c>>>0x2]>>>0x18-_0x90cd5c%0x4*0x8&0xff;_0x366c87[_0x4452bd(0x276)]((_0x38162e>>>0x4)['toString'](0x10)),_0x366c87[_0x4452bd(0x276)]((_0x38162e&0xf)['toString'](0x10));}return _0x366c87[_0x4452bd(0x3c2)]('');},'parse':function(_0x3d3e8b){var _0x6f061a=_0x1ba424;for(var _0x1ab89e=_0x3d3e8b[_0x6f061a(0x23a)],_0x1b6498=[],_0x26197a=0x0;_0x26197a<_0x1ab89e;_0x26197a+=0x2)_0x1b6498[_0x26197a>>>0x3]|=parseInt(_0x3d3e8b['substr'](_0x26197a,0x2),0x10)<<0x18-_0x26197a%0x8*0x4;return new _0x4025ce['init'](_0x1b6498,_0x1ab89e/0x2);}},_0x1def6a=_0xd44730[_0x1ba424(0x1d8)]={'stringify':function(_0x5a1df1){var _0x15a6ae=_0x1ba424;for(var _0x249f95=_0x5a1df1[_0x15a6ae(0x2b0)],_0x471d05=_0x5a1df1[_0x15a6ae(0x284)],_0x238755=[],_0x5eec7a=0x0;_0x5eec7a<_0x471d05;_0x5eec7a++){var _0x2a8ac5=_0x249f95[_0x5eec7a>>>0x2]>>>0x18-_0x5eec7a%0x4*0x8&0xff;_0x238755[_0x15a6ae(0x276)](String['fromCharCode'](_0x2a8ac5));}return _0x238755[_0x15a6ae(0x3c2)]('');},'parse':function(_0x25d7ea){var _0x416569=_0x1ba424;for(var _0x132a98=_0x25d7ea[_0x416569(0x23a)],_0x1658f4=[],_0x498cee=0x0;_0x498cee<_0x132a98;_0x498cee++)_0x1658f4[_0x498cee>>>0x2]|=(_0x25d7ea[_0x416569(0x1da)](_0x498cee)&0xff)<<0x18-_0x498cee%0x4*0x8;return new _0x4025ce[(_0x416569(0x463))](_0x1658f4,_0x132a98);}},_0x3a02e3=_0xd44730[_0x1ba424(0x312)]={'stringify':function(_0x171cba){var _0x412267=_0x1ba424;try{return decodeURIComponent(escape(_0x1def6a[_0x412267(0x375)](_0x171cba)));}catch{throw new Error(_0x412267(0x1dc));}},'parse':function(_0x470cbf){var _0x3cbe88=_0x1ba424;return _0x1def6a[_0x3cbe88(0x493)](unescape(encodeURIComponent(_0x470cbf)));}},_0x2361df=_0x1f841b['BufferedBlockAlgorithm']=_0x15862a[_0x1ba424(0x407)]({'reset':function(){var _0x41da4f=_0x1ba424;this[_0x41da4f(0x383)]=new _0x4025ce['init'](),this[_0x41da4f(0x2af)]=0x0;},'_append':function(_0x404d10){var _0x4e7a4d=_0x1ba424;typeof _0x404d10==_0x4e7a4d(0x1c7)&&(_0x404d10=_0x3a02e3[_0x4e7a4d(0x493)](_0x404d10)),this[_0x4e7a4d(0x383)][_0x4e7a4d(0x318)](_0x404d10),this[_0x4e7a4d(0x2af)]+=_0x404d10[_0x4e7a4d(0x284)];},'_process':function(_0x4702a0){var _0xcc7909=_0x1ba424,_0x7328ac,_0x2290a1=this[_0xcc7909(0x383)],_0x1a568e=_0x2290a1[_0xcc7909(0x2b0)],_0x24c7bf=_0x2290a1[_0xcc7909(0x284)],_0x53a6e7=this[_0xcc7909(0x1d4)],_0x4fa8d0=_0x53a6e7*0x4,_0x25fd67=_0x24c7bf/_0x4fa8d0;_0x4702a0?_0x25fd67=_0x524bb8['ceil'](_0x25fd67):_0x25fd67=_0x524bb8[_0xcc7909(0x1cb)]((_0x25fd67|0x0)-this['_minBufferSize'],0x0);var _0x1b4ad0=_0x25fd67*_0x53a6e7,_0x2ee879=_0x524bb8[_0xcc7909(0x416)](_0x1b4ad0*0x4,_0x24c7bf);if(_0x1b4ad0){for(var _0x47b97d=0x0;_0x47b97d<_0x1b4ad0;_0x47b97d+=_0x53a6e7)this[_0xcc7909(0x401)](_0x1a568e,_0x47b97d);_0x7328ac=_0x1a568e['splice'](0x0,_0x1b4ad0),_0x2290a1[_0xcc7909(0x284)]-=_0x2ee879;}return new _0x4025ce[(_0xcc7909(0x463))](_0x7328ac,_0x2ee879);},'clone':function(){var _0x59404d=_0x1ba424,_0x391d91=_0x15862a[_0x59404d(0x1c4)][_0x59404d(0x2ea)](this);return _0x391d91[_0x59404d(0x383)]=this[_0x59404d(0x383)][_0x59404d(0x1c4)](),_0x391d91;},'_minBufferSize':0x0});_0x1f841b[_0x1ba424(0x36b)]=_0x2361df[_0x1ba424(0x407)]({'cfg':_0x15862a[_0x1ba424(0x407)](),'init':function(_0x14014c){var _0x368887=_0x1ba424;this[_0x368887(0x3a4)]=this[_0x368887(0x3a4)][_0x368887(0x407)](_0x14014c),this[_0x368887(0x3d8)]();},'reset':function(){var _0x5c34a9=_0x1ba424;_0x2361df['reset'][_0x5c34a9(0x2ea)](this),this[_0x5c34a9(0x25d)]();},'update':function(_0x3fa1eb){var _0x492c62=_0x1ba424;return this[_0x492c62(0x4a4)](_0x3fa1eb),this[_0x492c62(0x4a2)](),this;},'finalize':function(_0x7e9d7){var _0x125a72=_0x1ba424;_0x7e9d7&&this[_0x125a72(0x4a4)](_0x7e9d7);var _0x452e8a=this['_doFinalize']();return _0x452e8a;},'blockSize':0x10,'_createHelper':function(_0x15bfad){return function(_0x35b65c,_0x541166){var _0x39d8b2=_0x3286;return new _0x15bfad[(_0x39d8b2(0x463))](_0x541166)[_0x39d8b2(0x25b)](_0x35b65c);};},'_createHmacHelper':function(_0x438af9){return function(_0x9f2f59,_0x39c867){var _0x445e50=_0x3286;return new _0x3cd848[(_0x445e50(0x278))][(_0x445e50(0x463))](_0x438af9,_0x39c867)[_0x445e50(0x25b)](_0x9f2f59);};}});var _0x3cd848=_0x51856e['algo']={};return _0x51856e;}(Math);return _0x885bf6;}));}(Ge)),Ge[_0x9a2d4f(0x44f)];}var We={'exports':{}},Er=We[_0x2b51d4(0x44f)],Zt;function Di(){var _0x478c1f=_0x2b51d4;return Zt||(Zt=0x1,function(_0x448981,_0x1810f7){(function(_0x52fc2a,_0x45cc3b){_0x448981['exports']=_0x45cc3b(ie());}(Er,function(_0x25ee01){var _0x7df966=_0x3286;return(function(){var _0x1d997f=_0x3286,_0xacdc3a=_0x25ee01,_0x1204ff=_0xacdc3a['lib'],_0x5c2b5a=_0x1204ff[_0x1d997f(0x35e)],_0x3d08c9=_0xacdc3a[_0x1d997f(0x41f)];_0x3d08c9['Base64']={'stringify':function(_0x53034b){var _0x278664=_0x1d997f,_0xf414f4=_0x53034b[_0x278664(0x2b0)],_0x4555f0=_0x53034b[_0x278664(0x284)],_0x186ba7=this[_0x278664(0x211)];_0x53034b[_0x278664(0x1e9)]();for(var _0x156fc2=[],_0x38622d=0x0;_0x38622d<_0x4555f0;_0x38622d+=0x3)for(var _0x3169e0=_0xf414f4[_0x38622d>>>0x2]>>>0x18-_0x38622d%0x4*0x8&0xff,_0x9de4b8=_0xf414f4[_0x38622d+0x1>>>0x2]>>>0x18-(_0x38622d+0x1)%0x4*0x8&0xff,_0x2dc987=_0xf414f4[_0x38622d+0x2>>>0x2]>>>0x18-(_0x38622d+0x2)%0x4*0x8&0xff,_0x1a598c=_0x3169e0<<0x10|_0x9de4b8<<0x8|_0x2dc987,_0x2d6f77=0x0;_0x2d6f77<0x4&&_0x38622d+_0x2d6f77*0.75<_0x4555f0;_0x2d6f77++)_0x156fc2[_0x278664(0x276)](_0x186ba7[_0x278664(0x1bb)](_0x1a598c>>>0x6*(0x3-_0x2d6f77)&0x3f));var _0x5e1130=_0x186ba7[_0x278664(0x1bb)](0x40);if(_0x5e1130){for(;_0x156fc2[_0x278664(0x23a)]%0x4;)_0x156fc2[_0x278664(0x276)](_0x5e1130);}return _0x156fc2[_0x278664(0x3c2)]('');},'parse':function(_0x57ad4e){var _0x3caeba=_0x1d997f,_0x26c2ee=_0x57ad4e[_0x3caeba(0x23a)],_0x48d5c2=this['_map'],_0x4b53f1=this[_0x3caeba(0x40e)];if(!_0x4b53f1){_0x4b53f1=this['_reverseMap']=[];for(var _0x8a97b6=0x0;_0x8a97b6<_0x48d5c2[_0x3caeba(0x23a)];_0x8a97b6++)_0x4b53f1[_0x48d5c2[_0x3caeba(0x1da)](_0x8a97b6)]=_0x8a97b6;}var _0x1b2953=_0x48d5c2['charAt'](0x40);if(_0x1b2953){var _0xb98ea1=_0x57ad4e[_0x3caeba(0x46e)](_0x1b2953);_0xb98ea1!==-0x1&&(_0x26c2ee=_0xb98ea1);}return _0x58c2b3(_0x57ad4e,_0x26c2ee,_0x4b53f1);},'_map':_0x1d997f(0x296)};function _0x58c2b3(_0x447489,_0x3d7fca,_0x508f02){var _0x2d9363=_0x1d997f;for(var _0x59e2ec=[],_0x542f82=0x0,_0x1945d5=0x0;_0x1945d5<_0x3d7fca;_0x1945d5++)if(_0x1945d5%0x4){var _0x66bfde=_0x508f02[_0x447489[_0x2d9363(0x1da)](_0x1945d5-0x1)]<<_0x1945d5%0x4*0x2,_0x14022a=_0x508f02[_0x447489[_0x2d9363(0x1da)](_0x1945d5)]>>>0x6-_0x1945d5%0x4*0x2,_0x204f5a=_0x66bfde|_0x14022a;_0x59e2ec[_0x542f82>>>0x2]|=_0x204f5a<<0x18-_0x542f82%0x4*0x8,_0x542f82++;}return _0x5c2b5a['create'](_0x59e2ec,_0x542f82);}}()),_0x25ee01['enc'][_0x7df966(0x3e4)];}));}(We)),We[_0x478c1f(0x44f)];}var Ke={'exports':{}},Ir=Ke['exports'],Qt;function Tr(){var _0x51f981=_0x2b51d4;return Qt||(Qt=0x1,function(_0x3a8193,_0x331fd8){(function(_0x226950,_0x20b3bc){var _0x1bc928=_0x3286;_0x3a8193[_0x1bc928(0x44f)]=_0x20b3bc(ie());}(Ir,function(_0x23815b){var _0x341755=_0x3286;return function(_0x459f72){var _0x53d9a3=_0x3286,_0x3cda80=_0x23815b,_0x43e1b6=_0x3cda80[_0x53d9a3(0x32e)],_0x42cbfd=_0x43e1b6[_0x53d9a3(0x35e)],_0x1114c4=_0x43e1b6['Hasher'],_0x508231=_0x3cda80['algo'],_0x1a4c9b=[];(function(){var _0x1a2aea=_0x53d9a3;for(var _0x45b95f=0x0;_0x45b95f<0x40;_0x45b95f++)_0x1a4c9b[_0x45b95f]=_0x459f72['abs'](_0x459f72[_0x1a2aea(0x387)](_0x45b95f+0x1))*0x100000000|0x0;}());var _0x57f442=_0x508231[_0x53d9a3(0x2ba)]=_0x1114c4[_0x53d9a3(0x407)]({'_doReset':function(){var _0x1953f5=_0x53d9a3;this[_0x1953f5(0x204)]=new _0x42cbfd[(_0x1953f5(0x463))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4ced87,_0x536710){var _0xe81dc3=_0x53d9a3;for(var _0x1c2e58=0x0;_0x1c2e58<0x10;_0x1c2e58++){var _0x2daccf=_0x536710+_0x1c2e58,_0x5d6f51=_0x4ced87[_0x2daccf];_0x4ced87[_0x2daccf]=(_0x5d6f51<<0x8|_0x5d6f51>>>0x18)&0xff00ff|(_0x5d6f51<<0x18|_0x5d6f51>>>0x8)&0xff00ff00;}var _0x54bf6c=this[_0xe81dc3(0x204)][_0xe81dc3(0x2b0)],_0x557e4a=_0x4ced87[_0x536710+0x0],_0x4dc1f3=_0x4ced87[_0x536710+0x1],_0xc14312=_0x4ced87[_0x536710+0x2],_0x5eb744=_0x4ced87[_0x536710+0x3],_0x15b6fc=_0x4ced87[_0x536710+0x4],_0x3dea42=_0x4ced87[_0x536710+0x5],_0x421f34=_0x4ced87[_0x536710+0x6],_0x1349f0=_0x4ced87[_0x536710+0x7],_0x5c5bb4=_0x4ced87[_0x536710+0x8],_0x343bb7=_0x4ced87[_0x536710+0x9],_0xd0a306=_0x4ced87[_0x536710+0xa],_0x569da6=_0x4ced87[_0x536710+0xb],_0x2582a2=_0x4ced87[_0x536710+0xc],_0x749a5=_0x4ced87[_0x536710+0xd],_0x2741a0=_0x4ced87[_0x536710+0xe],_0x5b8f12=_0x4ced87[_0x536710+0xf],_0x314e62=_0x54bf6c[0x0],_0x2ee8b0=_0x54bf6c[0x1],_0x902684=_0x54bf6c[0x2],_0x4c21fd=_0x54bf6c[0x3];_0x314e62=_0x1ae9e6(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x557e4a,0x7,_0x1a4c9b[0x0]),_0x4c21fd=_0x1ae9e6(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x4dc1f3,0xc,_0x1a4c9b[0x1]),_0x902684=_0x1ae9e6(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0xc14312,0x11,_0x1a4c9b[0x2]),_0x2ee8b0=_0x1ae9e6(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x5eb744,0x16,_0x1a4c9b[0x3]),_0x314e62=_0x1ae9e6(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x15b6fc,0x7,_0x1a4c9b[0x4]),_0x4c21fd=_0x1ae9e6(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x3dea42,0xc,_0x1a4c9b[0x5]),_0x902684=_0x1ae9e6(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x421f34,0x11,_0x1a4c9b[0x6]),_0x2ee8b0=_0x1ae9e6(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x1349f0,0x16,_0x1a4c9b[0x7]),_0x314e62=_0x1ae9e6(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x5c5bb4,0x7,_0x1a4c9b[0x8]),_0x4c21fd=_0x1ae9e6(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x343bb7,0xc,_0x1a4c9b[0x9]),_0x902684=_0x1ae9e6(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0xd0a306,0x11,_0x1a4c9b[0xa]),_0x2ee8b0=_0x1ae9e6(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x569da6,0x16,_0x1a4c9b[0xb]),_0x314e62=_0x1ae9e6(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x2582a2,0x7,_0x1a4c9b[0xc]),_0x4c21fd=_0x1ae9e6(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x749a5,0xc,_0x1a4c9b[0xd]),_0x902684=_0x1ae9e6(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x2741a0,0x11,_0x1a4c9b[0xe]),_0x2ee8b0=_0x1ae9e6(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x5b8f12,0x16,_0x1a4c9b[0xf]),_0x314e62=_0x45eab4(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x4dc1f3,0x5,_0x1a4c9b[0x10]),_0x4c21fd=_0x45eab4(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x421f34,0x9,_0x1a4c9b[0x11]),_0x902684=_0x45eab4(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x569da6,0xe,_0x1a4c9b[0x12]),_0x2ee8b0=_0x45eab4(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x557e4a,0x14,_0x1a4c9b[0x13]),_0x314e62=_0x45eab4(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x3dea42,0x5,_0x1a4c9b[0x14]),_0x4c21fd=_0x45eab4(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0xd0a306,0x9,_0x1a4c9b[0x15]),_0x902684=_0x45eab4(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x5b8f12,0xe,_0x1a4c9b[0x16]),_0x2ee8b0=_0x45eab4(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x15b6fc,0x14,_0x1a4c9b[0x17]),_0x314e62=_0x45eab4(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x343bb7,0x5,_0x1a4c9b[0x18]),_0x4c21fd=_0x45eab4(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x2741a0,0x9,_0x1a4c9b[0x19]),_0x902684=_0x45eab4(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x5eb744,0xe,_0x1a4c9b[0x1a]),_0x2ee8b0=_0x45eab4(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x5c5bb4,0x14,_0x1a4c9b[0x1b]),_0x314e62=_0x45eab4(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x749a5,0x5,_0x1a4c9b[0x1c]),_0x4c21fd=_0x45eab4(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0xc14312,0x9,_0x1a4c9b[0x1d]),_0x902684=_0x45eab4(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x1349f0,0xe,_0x1a4c9b[0x1e]),_0x2ee8b0=_0x45eab4(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x2582a2,0x14,_0x1a4c9b[0x1f]),_0x314e62=_0x3531c2(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x3dea42,0x4,_0x1a4c9b[0x20]),_0x4c21fd=_0x3531c2(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x5c5bb4,0xb,_0x1a4c9b[0x21]),_0x902684=_0x3531c2(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x569da6,0x10,_0x1a4c9b[0x22]),_0x2ee8b0=_0x3531c2(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x2741a0,0x17,_0x1a4c9b[0x23]),_0x314e62=_0x3531c2(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x4dc1f3,0x4,_0x1a4c9b[0x24]),_0x4c21fd=_0x3531c2(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x15b6fc,0xb,_0x1a4c9b[0x25]),_0x902684=_0x3531c2(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x1349f0,0x10,_0x1a4c9b[0x26]),_0x2ee8b0=_0x3531c2(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0xd0a306,0x17,_0x1a4c9b[0x27]),_0x314e62=_0x3531c2(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x749a5,0x4,_0x1a4c9b[0x28]),_0x4c21fd=_0x3531c2(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x557e4a,0xb,_0x1a4c9b[0x29]),_0x902684=_0x3531c2(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x5eb744,0x10,_0x1a4c9b[0x2a]),_0x2ee8b0=_0x3531c2(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x421f34,0x17,_0x1a4c9b[0x2b]),_0x314e62=_0x3531c2(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x343bb7,0x4,_0x1a4c9b[0x2c]),_0x4c21fd=_0x3531c2(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x2582a2,0xb,_0x1a4c9b[0x2d]),_0x902684=_0x3531c2(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x5b8f12,0x10,_0x1a4c9b[0x2e]),_0x2ee8b0=_0x3531c2(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0xc14312,0x17,_0x1a4c9b[0x2f]),_0x314e62=_0x12d3cb(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x557e4a,0x6,_0x1a4c9b[0x30]),_0x4c21fd=_0x12d3cb(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x1349f0,0xa,_0x1a4c9b[0x31]),_0x902684=_0x12d3cb(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x2741a0,0xf,_0x1a4c9b[0x32]),_0x2ee8b0=_0x12d3cb(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x3dea42,0x15,_0x1a4c9b[0x33]),_0x314e62=_0x12d3cb(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x2582a2,0x6,_0x1a4c9b[0x34]),_0x4c21fd=_0x12d3cb(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x5eb744,0xa,_0x1a4c9b[0x35]),_0x902684=_0x12d3cb(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0xd0a306,0xf,_0x1a4c9b[0x36]),_0x2ee8b0=_0x12d3cb(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x4dc1f3,0x15,_0x1a4c9b[0x37]),_0x314e62=_0x12d3cb(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x5c5bb4,0x6,_0x1a4c9b[0x38]),_0x4c21fd=_0x12d3cb(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x5b8f12,0xa,_0x1a4c9b[0x39]),_0x902684=_0x12d3cb(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x421f34,0xf,_0x1a4c9b[0x3a]),_0x2ee8b0=_0x12d3cb(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x749a5,0x15,_0x1a4c9b[0x3b]),_0x314e62=_0x12d3cb(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x15b6fc,0x6,_0x1a4c9b[0x3c]),_0x4c21fd=_0x12d3cb(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x569da6,0xa,_0x1a4c9b[0x3d]),_0x902684=_0x12d3cb(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0xc14312,0xf,_0x1a4c9b[0x3e]),_0x2ee8b0=_0x12d3cb(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x343bb7,0x15,_0x1a4c9b[0x3f]),_0x54bf6c[0x0]=_0x54bf6c[0x0]+_0x314e62|0x0,_0x54bf6c[0x1]=_0x54bf6c[0x1]+_0x2ee8b0|0x0,_0x54bf6c[0x2]=_0x54bf6c[0x2]+_0x902684|0x0,_0x54bf6c[0x3]=_0x54bf6c[0x3]+_0x4c21fd|0x0;},'_doFinalize':function(){var _0x56be6c=_0x53d9a3,_0x3462d4=this['_data'],_0x409860=_0x3462d4[_0x56be6c(0x2b0)],_0x16a0a8=this['_nDataBytes']*0x8,_0x358634=_0x3462d4['sigBytes']*0x8;_0x409860[_0x358634>>>0x5]|=0x80<<0x18-_0x358634%0x20;var _0x36dc25=_0x459f72['floor'](_0x16a0a8/0x100000000),_0x5b7ec1=_0x16a0a8;_0x409860[(_0x358634+0x40>>>0x9<<0x4)+0xf]=(_0x36dc25<<0x8|_0x36dc25>>>0x18)&0xff00ff|(_0x36dc25<<0x18|_0x36dc25>>>0x8)&0xff00ff00,_0x409860[(_0x358634+0x40>>>0x9<<0x4)+0xe]=(_0x5b7ec1<<0x8|_0x5b7ec1>>>0x18)&0xff00ff|(_0x5b7ec1<<0x18|_0x5b7ec1>>>0x8)&0xff00ff00,_0x3462d4[_0x56be6c(0x284)]=(_0x409860[_0x56be6c(0x23a)]+0x1)*0x4,this[_0x56be6c(0x4a2)]();for(var _0xe7d7ed=this[_0x56be6c(0x204)],_0x261cfa=_0xe7d7ed[_0x56be6c(0x2b0)],_0x5ab5fb=0x0;_0x5ab5fb<0x4;_0x5ab5fb++){var _0x33d40d=_0x261cfa[_0x5ab5fb];_0x261cfa[_0x5ab5fb]=(_0x33d40d<<0x8|_0x33d40d>>>0x18)&0xff00ff|(_0x33d40d<<0x18|_0x33d40d>>>0x8)&0xff00ff00;}return _0xe7d7ed;},'clone':function(){var _0x2b2b8e=_0x53d9a3,_0x5d4598=_0x1114c4[_0x2b2b8e(0x1c4)][_0x2b2b8e(0x2ea)](this);return _0x5d4598[_0x2b2b8e(0x204)]=this[_0x2b2b8e(0x204)]['clone'](),_0x5d4598;}});function _0x1ae9e6(_0x1cc1b2,_0x57face,_0x25c37e,_0x3770b3,_0x78c0ac,_0x4993c6,_0x57bd53){var _0x12d070=_0x1cc1b2+(_0x57face&_0x25c37e|~_0x57face&_0x3770b3)+_0x78c0ac+_0x57bd53;return(_0x12d070<<_0x4993c6|_0x12d070>>>0x20-_0x4993c6)+_0x57face;}function _0x45eab4(_0x133947,_0x37bcb6,_0x1e635c,_0x42da70,_0x183f0e,_0x55e944,_0x162fd1){var _0x3e9e10=_0x133947+(_0x37bcb6&_0x42da70|_0x1e635c&~_0x42da70)+_0x183f0e+_0x162fd1;return(_0x3e9e10<<_0x55e944|_0x3e9e10>>>0x20-_0x55e944)+_0x37bcb6;}function _0x3531c2(_0x5df9c8,_0x26768a,_0x1a7e7e,_0x297a29,_0x5d768d,_0x2043ee,_0x262b38){var _0x434a95=_0x5df9c8+(_0x26768a^_0x1a7e7e^_0x297a29)+_0x5d768d+_0x262b38;return(_0x434a95<<_0x2043ee|_0x434a95>>>0x20-_0x2043ee)+_0x26768a;}function _0x12d3cb(_0x340e17,_0x290f0d,_0x3d8647,_0x134943,_0x4b7502,_0xf4a315,_0xecbcf0){var _0xc34cb3=_0x340e17+(_0x3d8647^(_0x290f0d|~_0x134943))+_0x4b7502+_0xecbcf0;return(_0xc34cb3<<_0xf4a315|_0xc34cb3>>>0x20-_0xf4a315)+_0x290f0d;}_0x3cda80[_0x53d9a3(0x2ba)]=_0x1114c4[_0x53d9a3(0x345)](_0x57f442),_0x3cda80[_0x53d9a3(0x441)]=_0x1114c4[_0x53d9a3(0x2ed)](_0x57f442);}(Math),_0x23815b[_0x341755(0x2ba)];}));}(Ke)),Ke[_0x51f981(0x44f)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x2b51d4(0x44f)],ei;function Rr(){var _0x19f874=_0x2b51d4;return ei||(ei=0x1,function(_0x3f2439,_0x105c97){(function(_0x1597e5,_0x4c9229){var _0x412283=_0x3286;_0x3f2439[_0x412283(0x44f)]=_0x4c9229(ie());}(Cr,function(_0x50335f){var _0x19cf7a=_0x3286;return(function(){var _0x51383f=_0x3286,_0x23f3cf=_0x50335f,_0x4f090e=_0x23f3cf['lib'],_0x27184a=_0x4f090e[_0x51383f(0x35e)],_0x5ced29=_0x4f090e[_0x51383f(0x36b)],_0x46d600=_0x23f3cf[_0x51383f(0x215)],_0x30ed0f=[],_0x32085a=_0x46d600[_0x51383f(0x1ee)]=_0x5ced29[_0x51383f(0x407)]({'_doReset':function(){var _0x49bdfc=_0x51383f;this[_0x49bdfc(0x204)]=new _0x27184a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3793c3,_0xa5f656){var _0x184a6d=_0x51383f;for(var _0x378572=this[_0x184a6d(0x204)][_0x184a6d(0x2b0)],_0x134fa7=_0x378572[0x0],_0x121c39=_0x378572[0x1],_0x2796f2=_0x378572[0x2],_0x161298=_0x378572[0x3],_0x50b0cc=_0x378572[0x4],_0x5a1e9c=0x0;_0x5a1e9c<0x50;_0x5a1e9c++){if(_0x5a1e9c<0x10)_0x30ed0f[_0x5a1e9c]=_0x3793c3[_0xa5f656+_0x5a1e9c]|0x0;else{var _0x365095=_0x30ed0f[_0x5a1e9c-0x3]^_0x30ed0f[_0x5a1e9c-0x8]^_0x30ed0f[_0x5a1e9c-0xe]^_0x30ed0f[_0x5a1e9c-0x10];_0x30ed0f[_0x5a1e9c]=_0x365095<<0x1|_0x365095>>>0x1f;}var _0x44ff65=(_0x134fa7<<0x5|_0x134fa7>>>0x1b)+_0x50b0cc+_0x30ed0f[_0x5a1e9c];_0x5a1e9c<0x14?_0x44ff65+=(_0x121c39&_0x2796f2|~_0x121c39&_0x161298)+0x5a827999:_0x5a1e9c<0x28?_0x44ff65+=(_0x121c39^_0x2796f2^_0x161298)+0x6ed9eba1:_0x5a1e9c<0x3c?_0x44ff65+=(_0x121c39&_0x2796f2|_0x121c39&_0x161298|_0x2796f2&_0x161298)-0x70e44324:_0x44ff65+=(_0x121c39^_0x2796f2^_0x161298)-0x359d3e2a,_0x50b0cc=_0x161298,_0x161298=_0x2796f2,_0x2796f2=_0x121c39<<0x1e|_0x121c39>>>0x2,_0x121c39=_0x134fa7,_0x134fa7=_0x44ff65;}_0x378572[0x0]=_0x378572[0x0]+_0x134fa7|0x0,_0x378572[0x1]=_0x378572[0x1]+_0x121c39|0x0,_0x378572[0x2]=_0x378572[0x2]+_0x2796f2|0x0,_0x378572[0x3]=_0x378572[0x3]+_0x161298|0x0,_0x378572[0x4]=_0x378572[0x4]+_0x50b0cc|0x0;},'_doFinalize':function(){var _0x3db793=_0x51383f,_0x1f6676=this[_0x3db793(0x383)],_0xa9acfe=_0x1f6676[_0x3db793(0x2b0)],_0x48670d=this[_0x3db793(0x2af)]*0x8,_0x3ca6ce=_0x1f6676[_0x3db793(0x284)]*0x8;return _0xa9acfe[_0x3ca6ce>>>0x5]|=0x80<<0x18-_0x3ca6ce%0x20,_0xa9acfe[(_0x3ca6ce+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x48670d/0x100000000),_0xa9acfe[(_0x3ca6ce+0x40>>>0x9<<0x4)+0xf]=_0x48670d,_0x1f6676[_0x3db793(0x284)]=_0xa9acfe['length']*0x4,this[_0x3db793(0x4a2)](),this[_0x3db793(0x204)];},'clone':function(){var _0x29edc6=_0x51383f,_0x1e9690=_0x5ced29[_0x29edc6(0x1c4)]['call'](this);return _0x1e9690[_0x29edc6(0x204)]=this[_0x29edc6(0x204)][_0x29edc6(0x1c4)](),_0x1e9690;}});_0x23f3cf[_0x51383f(0x1ee)]=_0x5ced29[_0x51383f(0x345)](_0x32085a),_0x23f3cf[_0x51383f(0x1cd)]=_0x5ced29['_createHmacHelper'](_0x32085a);}()),_0x50335f[_0x19cf7a(0x1ee)];}));}(qe)),qe[_0x19f874(0x44f)];}var ze={'exports':{}},br=ze[_0x2b51d4(0x44f)],ti;function yr(){return ti||(ti=0x1,function(_0x30379e,_0x287d0c){(function(_0x1a20f3,_0xb91fbb){_0x30379e['exports']=_0xb91fbb(ie());}(br,function(_0x87b766){(function(){var _0x432aa9=_0x3286,_0x134184=_0x87b766,_0x4083ea=_0x134184['lib'],_0x5159bb=_0x4083ea[_0x432aa9(0x32a)],_0x13d127=_0x134184[_0x432aa9(0x41f)],_0x2d29b4=_0x13d127[_0x432aa9(0x312)],_0x1cf31d=_0x134184[_0x432aa9(0x215)];_0x1cf31d['HMAC']=_0x5159bb[_0x432aa9(0x407)]({'init':function(_0x73ca37,_0x2020b7){var _0x294518=_0x432aa9;_0x73ca37=this[_0x294518(0x411)]=new _0x73ca37[(_0x294518(0x463))](),typeof _0x2020b7=='string'&&(_0x2020b7=_0x2d29b4[_0x294518(0x493)](_0x2020b7));var _0x195e85=_0x73ca37[_0x294518(0x1d4)],_0x32dafa=_0x195e85*0x4;_0x2020b7[_0x294518(0x284)]>_0x32dafa&&(_0x2020b7=_0x73ca37[_0x294518(0x25b)](_0x2020b7)),_0x2020b7[_0x294518(0x1e9)]();for(var _0x4294f9=this[_0x294518(0x433)]=_0x2020b7['clone'](),_0x1f58b2=this[_0x294518(0x332)]=_0x2020b7['clone'](),_0x17327a=_0x4294f9[_0x294518(0x2b0)],_0x296916=_0x1f58b2['words'],_0x1466b6=0x0;_0x1466b6<_0x195e85;_0x1466b6++)_0x17327a[_0x1466b6]^=0x5c5c5c5c,_0x296916[_0x1466b6]^=0x36363636;_0x4294f9[_0x294518(0x284)]=_0x1f58b2['sigBytes']=_0x32dafa,this[_0x294518(0x3d8)]();},'reset':function(){var _0x51fdd6=_0x432aa9,_0x84edc1=this[_0x51fdd6(0x411)];_0x84edc1[_0x51fdd6(0x3d8)](),_0x84edc1[_0x51fdd6(0x472)](this[_0x51fdd6(0x332)]);},'update':function(_0x1ddba0){var _0x18dfc3=_0x432aa9;return this[_0x18dfc3(0x411)][_0x18dfc3(0x472)](_0x1ddba0),this;},'finalize':function(_0x44ec66){var _0x3fb39e=_0x432aa9,_0x37d081=this[_0x3fb39e(0x411)],_0x764c82=_0x37d081[_0x3fb39e(0x25b)](_0x44ec66);_0x37d081[_0x3fb39e(0x3d8)]();var _0x3c6974=_0x37d081[_0x3fb39e(0x25b)](this[_0x3fb39e(0x433)][_0x3fb39e(0x1c4)]()[_0x3fb39e(0x318)](_0x764c82));return _0x3c6974;}});}());}));}(ze)),ze['exports'];}var Or=Ye[_0x2b51d4(0x44f)],ii;function Ui(){var _0x1c0712=_0x2b51d4;return ii||(ii=0x1,function(_0x11fb49,_0x1952bf){(function(_0x3280fe,_0x247aa8,_0x3b9db2){var _0x1063f8=_0x3286;_0x11fb49[_0x1063f8(0x44f)]=_0x247aa8(ie(),Rr(),yr());}(Or,function(_0x10e832){var _0x265033=_0x3286;return(function(){var _0x12fb68=_0x3286,_0x3ace53=_0x10e832,_0x32b338=_0x3ace53[_0x12fb68(0x32e)],_0x54fb5a=_0x32b338['Base'],_0x579197=_0x32b338['WordArray'],_0x3a8fa8=_0x3ace53[_0x12fb68(0x215)],_0x1d6ad2=_0x3a8fa8['MD5'],_0x1a43b9=_0x3a8fa8['EvpKDF']=_0x54fb5a[_0x12fb68(0x407)]({'cfg':_0x54fb5a[_0x12fb68(0x407)]({'keySize':0x80/0x20,'hasher':_0x1d6ad2,'iterations':0x1}),'init':function(_0x3fdcbf){var _0xa88dc6=_0x12fb68;this[_0xa88dc6(0x3a4)]=this[_0xa88dc6(0x3a4)][_0xa88dc6(0x407)](_0x3fdcbf);},'compute':function(_0x39de20,_0x1326f1){var _0x4bc459=_0x12fb68;for(var _0xde5d0c,_0xe9605=this[_0x4bc459(0x3a4)],_0x5e109e=_0xe9605[_0x4bc459(0x275)][_0x4bc459(0x455)](),_0x4811d5=_0x579197[_0x4bc459(0x455)](),_0x140516=_0x4811d5[_0x4bc459(0x2b0)],_0x2a1c50=_0xe9605[_0x4bc459(0x4a9)],_0x29fbe9=_0xe9605[_0x4bc459(0x300)];_0x140516['length']<_0x2a1c50;){_0xde5d0c&&_0x5e109e[_0x4bc459(0x472)](_0xde5d0c),_0xde5d0c=_0x5e109e[_0x4bc459(0x472)](_0x39de20)[_0x4bc459(0x25b)](_0x1326f1),_0x5e109e[_0x4bc459(0x3d8)]();for(var _0x354269=0x1;_0x354269<_0x29fbe9;_0x354269++)_0xde5d0c=_0x5e109e[_0x4bc459(0x25b)](_0xde5d0c),_0x5e109e[_0x4bc459(0x3d8)]();_0x4811d5['concat'](_0xde5d0c);}return _0x4811d5[_0x4bc459(0x284)]=_0x2a1c50*0x4,_0x4811d5;}});_0x3ace53[_0x12fb68(0x444)]=function(_0x36b7b3,_0x56661e,_0xbfdc0b){var _0x5ad7f1=_0x12fb68;return _0x1a43b9[_0x5ad7f1(0x455)](_0xbfdc0b)['compute'](_0x36b7b3,_0x56661e);};}()),_0x10e832[_0x265033(0x444)];}));}(Ye)),Ye[_0x1c0712(0x44f)];}var Je={'exports':{}},Nr=Je[_0x2b51d4(0x44f)],ni;function wi(){return ni||(ni=0x1,function(_0x17a388,_0x34ea20){(function(_0x3b92d2,_0x35db31,_0x1178fb){var _0x3e9854=_0x3286;_0x17a388[_0x3e9854(0x44f)]=_0x35db31(ie(),Ui());}(Nr,function(_0x3e89a9){var _0x34ef8b=_0x3286;_0x3e89a9[_0x34ef8b(0x32e)][_0x34ef8b(0x21a)]||function(_0x53606a){var _0x560876=_0x34ef8b,_0x12a526=_0x3e89a9,_0xfcff9e=_0x12a526[_0x560876(0x32e)],_0x33ea35=_0xfcff9e[_0x560876(0x32a)],_0x368ecd=_0xfcff9e['WordArray'],_0x38178d=_0xfcff9e['BufferedBlockAlgorithm'],_0x40409e=_0x12a526[_0x560876(0x41f)];_0x40409e[_0x560876(0x312)];var _0x23f78c=_0x40409e[_0x560876(0x3e4)],_0x51f3cb=_0x12a526[_0x560876(0x215)],_0x12d0d6=_0x51f3cb[_0x560876(0x444)],_0x3a8e6b=_0xfcff9e['Cipher']=_0x38178d[_0x560876(0x407)]({'cfg':_0x33ea35['extend'](),'createEncryptor':function(_0x379318,_0xe3352c){var _0x407a78=_0x560876;return this[_0x407a78(0x455)](this[_0x407a78(0x297)],_0x379318,_0xe3352c);},'createDecryptor':function(_0x1573b2,_0x3ec5d1){var _0x464d88=_0x560876;return this['create'](this[_0x464d88(0x1b8)],_0x1573b2,_0x3ec5d1);},'init':function(_0x2e6188,_0x3dbfa0,_0x7f98e){var _0x46b007=_0x560876;this[_0x46b007(0x3a4)]=this['cfg'][_0x46b007(0x407)](_0x7f98e),this[_0x46b007(0x36a)]=_0x2e6188,this[_0x46b007(0x270)]=_0x3dbfa0,this[_0x46b007(0x3d8)]();},'reset':function(){var _0x4de021=_0x560876;_0x38178d[_0x4de021(0x3d8)][_0x4de021(0x2ea)](this),this[_0x4de021(0x25d)]();},'process':function(_0x50063f){var _0x5419e3=_0x560876;return this['_append'](_0x50063f),this[_0x5419e3(0x4a2)]();},'finalize':function(_0x3a900b){var _0x79bd33=_0x560876;_0x3a900b&&this[_0x79bd33(0x4a4)](_0x3a900b);var _0x4cee18=this['_doFinalize']();return _0x4cee18;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1c931a(_0x41f7b0){var _0x2cb089=_0x3286;return typeof _0x41f7b0==_0x2cb089(0x1c7)?_0x27b2ba:_0x9f1e7d;}return function(_0x35aee0){return{'encrypt':function(_0x1b5bf2,_0x21bb06,_0x2b0eab){return _0x1c931a(_0x21bb06)['encrypt'](_0x35aee0,_0x1b5bf2,_0x21bb06,_0x2b0eab);},'decrypt':function(_0x9bd9ad,_0x303f01,_0x3d4dc9){var _0xb476dc=_0x3286;return _0x1c931a(_0x303f01)[_0xb476dc(0x3bf)](_0x35aee0,_0x9bd9ad,_0x303f01,_0x3d4dc9);}};};}())});_0xfcff9e[_0x560876(0x42f)]=_0x3a8e6b[_0x560876(0x407)]({'_doFinalize':function(){var _0x3d537a=_0x560876,_0x4c1729=this[_0x3d537a(0x4a2)](!0x0);return _0x4c1729;},'blockSize':0x1});var _0x4ef3ff=_0x12a526['mode']={},_0x21ae1f=_0xfcff9e[_0x560876(0x42c)]=_0x33ea35[_0x560876(0x407)]({'createEncryptor':function(_0x1815e0,_0x2ea818){var _0x2624cd=_0x560876;return this[_0x2624cd(0x201)]['create'](_0x1815e0,_0x2ea818);},'createDecryptor':function(_0x88506d,_0x356ccd){var _0x76d01d=_0x560876;return this[_0x76d01d(0x243)][_0x76d01d(0x455)](_0x88506d,_0x356ccd);},'init':function(_0x7e18c0,_0x24d7d2){var _0x173136=_0x560876;this[_0x173136(0x456)]=_0x7e18c0,this[_0x173136(0x217)]=_0x24d7d2;}}),_0x488130=_0x4ef3ff[_0x560876(0x2ca)]=(function(){var _0x1b1175=_0x560876,_0x1ea341=_0x21ae1f[_0x1b1175(0x407)]();_0x1ea341['Encryptor']=_0x1ea341[_0x1b1175(0x407)]({'processBlock':function(_0x404e7d,_0x338a03){var _0x41c975=_0x1b1175,_0x301217=this[_0x41c975(0x456)],_0x26d6a1=_0x301217['blockSize'];_0xd4b06c[_0x41c975(0x2ea)](this,_0x404e7d,_0x338a03,_0x26d6a1),_0x301217['encryptBlock'](_0x404e7d,_0x338a03),this[_0x41c975(0x473)]=_0x404e7d[_0x41c975(0x350)](_0x338a03,_0x338a03+_0x26d6a1);}}),_0x1ea341[_0x1b1175(0x243)]=_0x1ea341[_0x1b1175(0x407)]({'processBlock':function(_0x384d8d,_0xebb4dd){var _0x59825b=_0x1b1175,_0x585d43=this[_0x59825b(0x456)],_0x278c91=_0x585d43[_0x59825b(0x1d4)],_0x1924bd=_0x384d8d[_0x59825b(0x350)](_0xebb4dd,_0xebb4dd+_0x278c91);_0x585d43[_0x59825b(0x423)](_0x384d8d,_0xebb4dd),_0xd4b06c[_0x59825b(0x2ea)](this,_0x384d8d,_0xebb4dd,_0x278c91),this['_prevBlock']=_0x1924bd;}});function _0xd4b06c(_0x4b0cd7,_0x5c220,_0x576059){var _0x849ce=_0x1b1175,_0x3241a4,_0x7dc7d1=this[_0x849ce(0x217)];_0x7dc7d1?(_0x3241a4=_0x7dc7d1,this[_0x849ce(0x217)]=_0x53606a):_0x3241a4=this['_prevBlock'];for(var _0x4776de=0x0;_0x4776de<_0x576059;_0x4776de++)_0x4b0cd7[_0x5c220+_0x4776de]^=_0x3241a4[_0x4776de];}return _0x1ea341;}()),_0x39afbe=_0x12a526[_0x560876(0x295)]={},_0x19cd36=_0x39afbe['Pkcs7']={'pad':function(_0xdc6f48,_0x2fe153){var _0x4cfd95=_0x560876;for(var _0x28f0c5=_0x2fe153*0x4,_0x5cc41f=_0x28f0c5-_0xdc6f48[_0x4cfd95(0x284)]%_0x28f0c5,_0x51f676=_0x5cc41f<<0x18|_0x5cc41f<<0x10|_0x5cc41f<<0x8|_0x5cc41f,_0x1a691e=[],_0x18946a=0x0;_0x18946a<_0x5cc41f;_0x18946a+=0x4)_0x1a691e[_0x4cfd95(0x276)](_0x51f676);var _0x180ee7=_0x368ecd['create'](_0x1a691e,_0x5cc41f);_0xdc6f48[_0x4cfd95(0x318)](_0x180ee7);},'unpad':function(_0x4227b4){var _0x257d39=_0x560876,_0x837b5f=_0x4227b4[_0x257d39(0x2b0)][_0x4227b4[_0x257d39(0x284)]-0x1>>>0x2]&0xff;_0x4227b4['sigBytes']-=_0x837b5f;}};_0xfcff9e['BlockCipher']=_0x3a8e6b[_0x560876(0x407)]({'cfg':_0x3a8e6b[_0x560876(0x3a4)][_0x560876(0x407)]({'mode':_0x488130,'padding':_0x19cd36}),'reset':function(){var _0x5b5b23=_0x560876,_0x3fd958;_0x3a8e6b['reset'][_0x5b5b23(0x2ea)](this);var _0x3d0c1d=this[_0x5b5b23(0x3a4)],_0x351974=_0x3d0c1d['iv'],_0x3beecd=_0x3d0c1d[_0x5b5b23(0x238)];this[_0x5b5b23(0x36a)]==this[_0x5b5b23(0x297)]?_0x3fd958=_0x3beecd[_0x5b5b23(0x200)]:(_0x3fd958=_0x3beecd[_0x5b5b23(0x498)],this[_0x5b5b23(0x28f)]=0x1),this[_0x5b5b23(0x3dc)]&&this[_0x5b5b23(0x3dc)][_0x5b5b23(0x32f)]==_0x3fd958?this[_0x5b5b23(0x3dc)][_0x5b5b23(0x463)](this,_0x351974&&_0x351974[_0x5b5b23(0x2b0)]):(this[_0x5b5b23(0x3dc)]=_0x3fd958['call'](_0x3beecd,this,_0x351974&&_0x351974[_0x5b5b23(0x2b0)]),this[_0x5b5b23(0x3dc)][_0x5b5b23(0x32f)]=_0x3fd958);},'_doProcessBlock':function(_0x141e84,_0x1e3a3f){var _0x1806e3=_0x560876;this['_mode'][_0x1806e3(0x2f6)](_0x141e84,_0x1e3a3f);},'_doFinalize':function(){var _0x272138=_0x560876,_0x10be66,_0x4958bf=this['cfg']['padding'];return this[_0x272138(0x36a)]==this[_0x272138(0x297)]?(_0x4958bf['pad'](this[_0x272138(0x383)],this['blockSize']),_0x10be66=this[_0x272138(0x4a2)](!0x0)):(_0x10be66=this[_0x272138(0x4a2)](!0x0),_0x4958bf[_0x272138(0x1e8)](_0x10be66)),_0x10be66;},'blockSize':0x80/0x20});var _0x419a08=_0xfcff9e[_0x560876(0x33b)]=_0x33ea35['extend']({'init':function(_0x34f0c6){this['mixIn'](_0x34f0c6);},'toString':function(_0x35901a){var _0xac06=_0x560876;return(_0x35901a||this[_0xac06(0x46d)])['stringify'](this);}}),_0x2298c8=_0x12a526[_0x560876(0x1c2)]={},_0x199b19=_0x2298c8['OpenSSL']={'stringify':function(_0x3c4e42){var _0x5f148f=_0x560876,_0x3d94e7,_0xcf6de2=_0x3c4e42[_0x5f148f(0x3b9)],_0x357899=_0x3c4e42[_0x5f148f(0x206)];return _0x357899?_0x3d94e7=_0x368ecd[_0x5f148f(0x455)]([0x53616c74,0x65645f5f])['concat'](_0x357899)[_0x5f148f(0x318)](_0xcf6de2):_0x3d94e7=_0xcf6de2,_0x3d94e7[_0x5f148f(0x2df)](_0x23f78c);},'parse':function(_0x371a54){var _0x20bc8d=_0x560876,_0x1a85ca,_0x1a9d7b=_0x23f78c[_0x20bc8d(0x493)](_0x371a54),_0x4b2290=_0x1a9d7b[_0x20bc8d(0x2b0)];return _0x4b2290[0x0]==0x53616c74&&_0x4b2290[0x1]==0x65645f5f&&(_0x1a85ca=_0x368ecd[_0x20bc8d(0x455)](_0x4b2290[_0x20bc8d(0x350)](0x2,0x4)),_0x4b2290['splice'](0x0,0x4),_0x1a9d7b[_0x20bc8d(0x284)]-=0x10),_0x419a08[_0x20bc8d(0x455)]({'ciphertext':_0x1a9d7b,'salt':_0x1a85ca});}},_0x9f1e7d=_0xfcff9e['SerializableCipher']=_0x33ea35[_0x560876(0x407)]({'cfg':_0x33ea35[_0x560876(0x407)]({'format':_0x199b19}),'encrypt':function(_0x4f1b6b,_0x45bd26,_0x1e6af1,_0xd09ac9){var _0x248da1=_0x560876;_0xd09ac9=this['cfg'][_0x248da1(0x407)](_0xd09ac9);var _0x32d888=_0x4f1b6b[_0x248da1(0x200)](_0x1e6af1,_0xd09ac9),_0x3823ed=_0x32d888[_0x248da1(0x25b)](_0x45bd26),_0x2a4215=_0x32d888['cfg'];return _0x419a08[_0x248da1(0x455)]({'ciphertext':_0x3823ed,'key':_0x1e6af1,'iv':_0x2a4215['iv'],'algorithm':_0x4f1b6b,'mode':_0x2a4215[_0x248da1(0x238)],'padding':_0x2a4215[_0x248da1(0x417)],'blockSize':_0x4f1b6b[_0x248da1(0x1d4)],'formatter':_0xd09ac9[_0x248da1(0x1c2)]});},'decrypt':function(_0x4efef3,_0x4e98af,_0x53ad32,_0x3f5faa){var _0x217dc4=_0x560876;_0x3f5faa=this[_0x217dc4(0x3a4)][_0x217dc4(0x407)](_0x3f5faa),_0x4e98af=this[_0x217dc4(0x3a5)](_0x4e98af,_0x3f5faa[_0x217dc4(0x1c2)]);var _0x213d11=_0x4efef3[_0x217dc4(0x498)](_0x53ad32,_0x3f5faa)[_0x217dc4(0x25b)](_0x4e98af['ciphertext']);return _0x213d11;},'_parse':function(_0xc4f39,_0x5c9b92){var _0x3a4db8=_0x560876;return typeof _0xc4f39=='string'?_0x5c9b92[_0x3a4db8(0x493)](_0xc4f39,this):_0xc4f39;}}),_0x265c8d=_0x12a526[_0x560876(0x34c)]={},_0x4236f9=_0x265c8d[_0x560876(0x280)]={'execute':function(_0x52ad50,_0x3d581f,_0x2e7e2d,_0x3fe963,_0x17efc2){var _0x4a75f1=_0x560876;if(_0x3fe963||(_0x3fe963=_0x368ecd['random'](0x40/0x8)),_0x17efc2)var _0x30f359=_0x12d0d6['create']({'keySize':_0x3d581f+_0x2e7e2d,'hasher':_0x17efc2})['compute'](_0x52ad50,_0x3fe963);else var _0x30f359=_0x12d0d6[_0x4a75f1(0x455)]({'keySize':_0x3d581f+_0x2e7e2d})[_0x4a75f1(0x359)](_0x52ad50,_0x3fe963);var _0xe95dfa=_0x368ecd['create'](_0x30f359[_0x4a75f1(0x2b0)][_0x4a75f1(0x350)](_0x3d581f),_0x2e7e2d*0x4);return _0x30f359[_0x4a75f1(0x284)]=_0x3d581f*0x4,_0x419a08[_0x4a75f1(0x455)]({'key':_0x30f359,'iv':_0xe95dfa,'salt':_0x3fe963});}},_0x27b2ba=_0xfcff9e[_0x560876(0x2bc)]=_0x9f1e7d[_0x560876(0x407)]({'cfg':_0x9f1e7d[_0x560876(0x3a4)][_0x560876(0x407)]({'kdf':_0x4236f9}),'encrypt':function(_0x1c89f7,_0x3f71b9,_0x40fe8a,_0x4db704){var _0x40ee64=_0x560876;_0x4db704=this['cfg']['extend'](_0x4db704);var _0x373934=_0x4db704['kdf'][_0x40ee64(0x45b)](_0x40fe8a,_0x1c89f7[_0x40ee64(0x4a9)],_0x1c89f7[_0x40ee64(0x2fd)],_0x4db704['salt'],_0x4db704[_0x40ee64(0x275)]);_0x4db704['iv']=_0x373934['iv'];var _0x10b79e=_0x9f1e7d[_0x40ee64(0x2cd)][_0x40ee64(0x2ea)](this,_0x1c89f7,_0x3f71b9,_0x373934[_0x40ee64(0x47e)],_0x4db704);return _0x10b79e[_0x40ee64(0x346)](_0x373934),_0x10b79e;},'decrypt':function(_0x48d98d,_0x5c5bdb,_0x45aa36,_0x2c4562){var _0x444304=_0x560876;_0x2c4562=this[_0x444304(0x3a4)][_0x444304(0x407)](_0x2c4562),_0x5c5bdb=this[_0x444304(0x3a5)](_0x5c5bdb,_0x2c4562[_0x444304(0x1c2)]);var _0x28d2d4=_0x2c4562[_0x444304(0x34c)][_0x444304(0x45b)](_0x45aa36,_0x48d98d[_0x444304(0x4a9)],_0x48d98d[_0x444304(0x2fd)],_0x5c5bdb[_0x444304(0x206)],_0x2c4562['hasher']);_0x2c4562['iv']=_0x28d2d4['iv'];var _0x28be73=_0x9f1e7d[_0x444304(0x3bf)][_0x444304(0x2ea)](this,_0x48d98d,_0x5c5bdb,_0x28d2d4['key'],_0x2c4562);return _0x28be73;}});}();}));}(Je)),Je['exports'];}var Dr=Ve['exports'],ri;function Ur(){return ri||(ri=0x1,function(_0x335810,_0x5a3d9a){(function(_0x6a3696,_0x3a1607,_0x23f370){var _0x5e5490=_0x3286;_0x335810[_0x5e5490(0x44f)]=_0x3a1607(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0xa61f7b){var _0x384924=_0x3286;return(function(){var _0x3e1885=_0x3286,_0x39874a=_0xa61f7b,_0x4f166c=_0x39874a[_0x3e1885(0x32e)],_0x24941e=_0x4f166c[_0x3e1885(0x45d)],_0x66826e=_0x39874a[_0x3e1885(0x215)],_0xf0d1bd=[],_0x343b81=[],_0x956308=[],_0x545c2a=[],_0x22fd09=[],_0x21e6e8=[],_0x2cf703=[],_0x19c22e=[],_0x2751d4=[],_0x450564=[];(function(){for(var _0x26909f=[],_0x200fb5=0x0;_0x200fb5<0x100;_0x200fb5++)_0x200fb5<0x80?_0x26909f[_0x200fb5]=_0x200fb5<<0x1:_0x26909f[_0x200fb5]=_0x200fb5<<0x1^0x11b;for(var _0x439d61=0x0,_0x12875b=0x0,_0x200fb5=0x0;_0x200fb5<0x100;_0x200fb5++){var _0x49a5bb=_0x12875b^_0x12875b<<0x1^_0x12875b<<0x2^_0x12875b<<0x3^_0x12875b<<0x4;_0x49a5bb=_0x49a5bb>>>0x8^_0x49a5bb&0xff^0x63,_0xf0d1bd[_0x439d61]=_0x49a5bb,_0x343b81[_0x49a5bb]=_0x439d61;var _0x19d44a=_0x26909f[_0x439d61],_0x349e0d=_0x26909f[_0x19d44a],_0x261294=_0x26909f[_0x349e0d],_0x440f4c=_0x26909f[_0x49a5bb]*0x101^_0x49a5bb*0x1010100;_0x956308[_0x439d61]=_0x440f4c<<0x18|_0x440f4c>>>0x8,_0x545c2a[_0x439d61]=_0x440f4c<<0x10|_0x440f4c>>>0x10,_0x22fd09[_0x439d61]=_0x440f4c<<0x8|_0x440f4c>>>0x18,_0x21e6e8[_0x439d61]=_0x440f4c;var _0x440f4c=_0x261294*0x1010101^_0x349e0d*0x10001^_0x19d44a*0x101^_0x439d61*0x1010100;_0x2cf703[_0x49a5bb]=_0x440f4c<<0x18|_0x440f4c>>>0x8,_0x19c22e[_0x49a5bb]=_0x440f4c<<0x10|_0x440f4c>>>0x10,_0x2751d4[_0x49a5bb]=_0x440f4c<<0x8|_0x440f4c>>>0x18,_0x450564[_0x49a5bb]=_0x440f4c,_0x439d61?(_0x439d61=_0x19d44a^_0x26909f[_0x26909f[_0x26909f[_0x261294^_0x19d44a]]],_0x12875b^=_0x26909f[_0x26909f[_0x12875b]]):_0x439d61=_0x12875b=0x1;}}());var _0x5b31b4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x445de5=_0x66826e[_0x3e1885(0x1de)]=_0x24941e[_0x3e1885(0x407)]({'_doReset':function(){var _0x5499a2=_0x3e1885,_0x1a1daf;if(!(this[_0x5499a2(0x31b)]&&this[_0x5499a2(0x3d9)]===this[_0x5499a2(0x270)])){for(var _0x3e309c=this[_0x5499a2(0x3d9)]=this[_0x5499a2(0x270)],_0x4cf11e=_0x3e309c['words'],_0x47e76b=_0x3e309c[_0x5499a2(0x284)]/0x4,_0x3bc4c0=this['_nRounds']=_0x47e76b+0x6,_0x3268ec=(_0x3bc4c0+0x1)*0x4,_0x4a2027=this[_0x5499a2(0x38c)]=[],_0x516859=0x0;_0x516859<_0x3268ec;_0x516859++)_0x516859<_0x47e76b?_0x4a2027[_0x516859]=_0x4cf11e[_0x516859]:(_0x1a1daf=_0x4a2027[_0x516859-0x1],_0x516859%_0x47e76b?_0x47e76b>0x6&&_0x516859%_0x47e76b==0x4&&(_0x1a1daf=_0xf0d1bd[_0x1a1daf>>>0x18]<<0x18|_0xf0d1bd[_0x1a1daf>>>0x10&0xff]<<0x10|_0xf0d1bd[_0x1a1daf>>>0x8&0xff]<<0x8|_0xf0d1bd[_0x1a1daf&0xff]):(_0x1a1daf=_0x1a1daf<<0x8|_0x1a1daf>>>0x18,_0x1a1daf=_0xf0d1bd[_0x1a1daf>>>0x18]<<0x18|_0xf0d1bd[_0x1a1daf>>>0x10&0xff]<<0x10|_0xf0d1bd[_0x1a1daf>>>0x8&0xff]<<0x8|_0xf0d1bd[_0x1a1daf&0xff],_0x1a1daf^=_0x5b31b4[_0x516859/_0x47e76b|0x0]<<0x18),_0x4a2027[_0x516859]=_0x4a2027[_0x516859-_0x47e76b]^_0x1a1daf);for(var _0x424efe=this[_0x5499a2(0x247)]=[],_0x2c7917=0x0;_0x2c7917<_0x3268ec;_0x2c7917++){var _0x516859=_0x3268ec-_0x2c7917;if(_0x2c7917%0x4)var _0x1a1daf=_0x4a2027[_0x516859];else var _0x1a1daf=_0x4a2027[_0x516859-0x4];_0x2c7917<0x4||_0x516859<=0x4?_0x424efe[_0x2c7917]=_0x1a1daf:_0x424efe[_0x2c7917]=_0x2cf703[_0xf0d1bd[_0x1a1daf>>>0x18]]^_0x19c22e[_0xf0d1bd[_0x1a1daf>>>0x10&0xff]]^_0x2751d4[_0xf0d1bd[_0x1a1daf>>>0x8&0xff]]^_0x450564[_0xf0d1bd[_0x1a1daf&0xff]];}}},'encryptBlock':function(_0x4f02a5,_0x258359){var _0x1837db=_0x3e1885;this[_0x1837db(0x466)](_0x4f02a5,_0x258359,this[_0x1837db(0x38c)],_0x956308,_0x545c2a,_0x22fd09,_0x21e6e8,_0xf0d1bd);},'decryptBlock':function(_0x9ff66e,_0x2c3565){var _0x2a6c3d=_0x3e1885,_0x528f28=_0x9ff66e[_0x2c3565+0x1];_0x9ff66e[_0x2c3565+0x1]=_0x9ff66e[_0x2c3565+0x3],_0x9ff66e[_0x2c3565+0x3]=_0x528f28,this[_0x2a6c3d(0x466)](_0x9ff66e,_0x2c3565,this[_0x2a6c3d(0x247)],_0x2cf703,_0x19c22e,_0x2751d4,_0x450564,_0x343b81);var _0x528f28=_0x9ff66e[_0x2c3565+0x1];_0x9ff66e[_0x2c3565+0x1]=_0x9ff66e[_0x2c3565+0x3],_0x9ff66e[_0x2c3565+0x3]=_0x528f28;},'_doCryptBlock':function(_0x25c820,_0x4b1338,_0x3f9eae,_0x30edfa,_0x4ce3b3,_0x549c77,_0x4895cd,_0x2247f6){var _0x1151fe=_0x3e1885;for(var _0x50a2e1=this[_0x1151fe(0x31b)],_0x236290=_0x25c820[_0x4b1338]^_0x3f9eae[0x0],_0xdb4357=_0x25c820[_0x4b1338+0x1]^_0x3f9eae[0x1],_0x12ce70=_0x25c820[_0x4b1338+0x2]^_0x3f9eae[0x2],_0x786ba1=_0x25c820[_0x4b1338+0x3]^_0x3f9eae[0x3],_0x4e4802=0x4,_0x1c133e=0x1;_0x1c133e<_0x50a2e1;_0x1c133e++){var _0x360f1f=_0x30edfa[_0x236290>>>0x18]^_0x4ce3b3[_0xdb4357>>>0x10&0xff]^_0x549c77[_0x12ce70>>>0x8&0xff]^_0x4895cd[_0x786ba1&0xff]^_0x3f9eae[_0x4e4802++],_0x544e4a=_0x30edfa[_0xdb4357>>>0x18]^_0x4ce3b3[_0x12ce70>>>0x10&0xff]^_0x549c77[_0x786ba1>>>0x8&0xff]^_0x4895cd[_0x236290&0xff]^_0x3f9eae[_0x4e4802++],_0x18c8c2=_0x30edfa[_0x12ce70>>>0x18]^_0x4ce3b3[_0x786ba1>>>0x10&0xff]^_0x549c77[_0x236290>>>0x8&0xff]^_0x4895cd[_0xdb4357&0xff]^_0x3f9eae[_0x4e4802++],_0x1537c3=_0x30edfa[_0x786ba1>>>0x18]^_0x4ce3b3[_0x236290>>>0x10&0xff]^_0x549c77[_0xdb4357>>>0x8&0xff]^_0x4895cd[_0x12ce70&0xff]^_0x3f9eae[_0x4e4802++];_0x236290=_0x360f1f,_0xdb4357=_0x544e4a,_0x12ce70=_0x18c8c2,_0x786ba1=_0x1537c3;}var _0x360f1f=(_0x2247f6[_0x236290>>>0x18]<<0x18|_0x2247f6[_0xdb4357>>>0x10&0xff]<<0x10|_0x2247f6[_0x12ce70>>>0x8&0xff]<<0x8|_0x2247f6[_0x786ba1&0xff])^_0x3f9eae[_0x4e4802++],_0x544e4a=(_0x2247f6[_0xdb4357>>>0x18]<<0x18|_0x2247f6[_0x12ce70>>>0x10&0xff]<<0x10|_0x2247f6[_0x786ba1>>>0x8&0xff]<<0x8|_0x2247f6[_0x236290&0xff])^_0x3f9eae[_0x4e4802++],_0x18c8c2=(_0x2247f6[_0x12ce70>>>0x18]<<0x18|_0x2247f6[_0x786ba1>>>0x10&0xff]<<0x10|_0x2247f6[_0x236290>>>0x8&0xff]<<0x8|_0x2247f6[_0xdb4357&0xff])^_0x3f9eae[_0x4e4802++],_0x1537c3=(_0x2247f6[_0x786ba1>>>0x18]<<0x18|_0x2247f6[_0x236290>>>0x10&0xff]<<0x10|_0x2247f6[_0xdb4357>>>0x8&0xff]<<0x8|_0x2247f6[_0x12ce70&0xff])^_0x3f9eae[_0x4e4802++];_0x25c820[_0x4b1338]=_0x360f1f,_0x25c820[_0x4b1338+0x1]=_0x544e4a,_0x25c820[_0x4b1338+0x2]=_0x18c8c2,_0x25c820[_0x4b1338+0x3]=_0x1537c3;},'keySize':0x100/0x20});_0x39874a[_0x3e1885(0x1de)]=_0x24941e[_0x3e1885(0x345)](_0x445de5);}()),_0xa61f7b[_0x384924(0x1de)];}));}(Ve)),Ve['exports'];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x2b51d4(0x44f)],ai;function Lr(){return ai||(ai=0x1,function(_0x53c734,_0x50b5ff){(function(_0x55a2db,_0x3492b7){_0x53c734['exports']=_0x3492b7(ie());}(xr,function(_0x2470f){var _0x2905af=_0x3286;return _0x2470f[_0x2905af(0x41f)]['Utf8'];}));}(Xe)),Xe['exports'];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0x2b51d4(0x44f)],oi;function Hr(){var _0x2e7389=_0x2b51d4;return oi||(oi=0x1,function(_0x3eab05,_0x46621b){(function(_0x29b5cd,_0x24797b){var _0x4384f5=_0x3286;_0x3eab05[_0x4384f5(0x44f)]=_0x24797b(ie());}($r,function(_0x1b09ef){var _0x43ac7f=_0x3286;return(function(){var _0xcd1783=_0x3286;if(typeof ArrayBuffer==_0xcd1783(0x454)){var _0x5a3615=_0x1b09ef,_0x4107d9=_0x5a3615[_0xcd1783(0x32e)],_0xc9d39d=_0x4107d9[_0xcd1783(0x35e)],_0x2a900e=_0xc9d39d['init'],_0xc1dee0=_0xc9d39d[_0xcd1783(0x463)]=function(_0xa78ccf){var _0x4d213e=_0xcd1783;if(_0xa78ccf instanceof ArrayBuffer&&(_0xa78ccf=new Uint8Array(_0xa78ccf)),(_0xa78ccf instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xa78ccf instanceof Uint8ClampedArray||_0xa78ccf instanceof Int16Array||_0xa78ccf instanceof Uint16Array||_0xa78ccf instanceof Int32Array||_0xa78ccf instanceof Uint32Array||_0xa78ccf instanceof Float32Array||_0xa78ccf instanceof Float64Array)&&(_0xa78ccf=new Uint8Array(_0xa78ccf[_0x4d213e(0x482)],_0xa78ccf[_0x4d213e(0x4a6)],_0xa78ccf[_0x4d213e(0x3a2)])),_0xa78ccf instanceof Uint8Array){for(var _0x422277=_0xa78ccf[_0x4d213e(0x3a2)],_0x3fd401=[],_0x53c1cb=0x0;_0x53c1cb<_0x422277;_0x53c1cb++)_0x3fd401[_0x53c1cb>>>0x2]|=_0xa78ccf[_0x53c1cb]<<0x18-_0x53c1cb%0x4*0x8;_0x2a900e[_0x4d213e(0x2ea)](this,_0x3fd401,_0x422277);}else _0x2a900e[_0x4d213e(0x25e)](this,arguments);};_0xc1dee0[_0xcd1783(0x488)]=_0xc9d39d;}}()),_0x1b09ef[_0x43ac7f(0x32e)][_0x43ac7f(0x35e)];}));}(Ze)),Ze[_0x2e7389(0x44f)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x2b51d4(0x44f)],ci;function Vr(){return ci||(ci=0x1,function(_0xfead5b,_0x157799){(function(_0x64282,_0x317dae,_0x1d374a){_0xfead5b['exports']=_0x317dae(ie(),wi());}(Fr,function(_0x163579){var _0x5471e7=_0x3286;return _0x163579['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x163579[_0x5471e7(0x295)][_0x5471e7(0x475)];}));}(Qe)),Qe['exports'];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x28c9dc,_0x432f6a){var _0x42551a=_0x2b51d4;const _0x226bb4=_0x432f6a-_0x28c9dc[_0x42551a(0x23a)]%_0x432f6a,_0x5b5aba=String['fromCharCode'](_0x226bb4)[_0x42551a(0x3e9)](_0x226bb4);return _0x28c9dc+_0x5b5aba;}function Yr(_0x1d6432,_0x4842aa){var _0x16b2ee=_0x2b51d4;const _0x2d3694=jr['random'](0x10),_0x5dff93=Kr(_0x1d6432,0x10),_0x39347a=Ar[_0x16b2ee(0x2cd)](kr[_0x16b2ee(0x493)](_0x5dff93),si[_0x16b2ee(0x493)](_0x4842aa),{'iv':_0x2d3694,'padding':Wr});return _0x2d3694[_0x16b2ee(0x318)](_0x39347a[_0x16b2ee(0x3b9)])[_0x16b2ee(0x2df)](si);}function qr(){var _0x4675b0=_0x2b51d4;const _0x5d6679=_0x4305bb()[_0x4675b0(0x4b0)];if(_0x5d6679){const _0x540a70={'time':Math[_0x4675b0(0x449)](Date[_0x4675b0(0x1f0)]()/0x3e8),'domain':location[_0x4675b0(0x2c3)]};return Yr(JSON[_0x4675b0(0x375)](_0x540a70),_0x5d6679);}}var zr=Object[_0x2b51d4(0x374)],Jr=(_0x5bab5b,_0x246fe4,_0xd0b42,_0xc5783a)=>{var _0x13680e=_0x2b51d4;for(var _0x42b623=_0xc5783a>0x1?void 0x0:_0xc5783a?zr(_0x246fe4,_0xd0b42):_0x246fe4,_0x277dfd=_0x5bab5b[_0x13680e(0x23a)]-0x1,_0x41156a;_0x277dfd>=0x0;_0x277dfd--)(_0x41156a=_0x5bab5b[_0x277dfd])&&(_0x42b623=_0x41156a(_0x42b623)||_0x42b623);return _0x42b623;},Xr=(_0x201260,_0x4cbe75)=>(_0x162e6e,_0x4b8638)=>_0x4cbe75(_0x162e6e,_0x4b8638,_0x201260);let at=class{constructor(_0x25750f){var _0x3ad26b=_0x2b51d4;this[_0x3ad26b(0x254)]=_0x25750f,this[_0x3ad26b(0x2b9)]();}[_0x2b51d4(0x2b9)](){var _0x1ca549=_0x2b51d4;this[_0x1ca549(0x254)][_0x1ca549(0x3c0)]({'interceptor':(_0x349742,_0x5027af)=>{var _0x5719ae=_0x1ca549;const _0x539a9b=_0x349742[_0x5719ae(0x35d)],_0x34904e=qr();return _0x34904e&&_0x539a9b[_0x5719ae(0x218)](_0x5719ae(0x1f9),_0x34904e),_0x5027af(_0x349742);}});}};at=Jr([Xr(0x0,_0xbb9044(_0x334dc2))],at);var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x20f521,_0x4e62e6,_0x23c8a8,_0x253c0b)=>{for(var _0x19ee91=_0x253c0b>0x1?void 0x0:_0x253c0b?Zr(_0x4e62e6,_0x23c8a8):_0x4e62e6,_0x475a45=_0x20f521['length']-0x1,_0x5d2148;_0x475a45>=0x0;_0x475a45--)(_0x5d2148=_0x20f521[_0x475a45])&&(_0x19ee91=_0x5d2148(_0x19ee91)||_0x19ee91);return _0x19ee91;},mt=(_0x4adc07,_0x44192c)=>(_0x593717,_0x173171)=>_0x44192c(_0x593717,_0x173171,_0x4adc07);let bt=class extends _0xbf3a36{constructor(_0x2fe8af,_0xb6c7c6,_0x4dfc06){var _0x5e091f=_0x2b51d4;super(),N(this,_0x5e091f(0x37c),new _0x53317a(null)),N(this,'unitInfo$',this[_0x5e091f(0x37c)]['asObservable']()),(this[_0x5e091f(0x3e5)]=_0x2fe8af,this[_0x5e091f(0x461)]=_0xb6c7c6,this[_0x5e091f(0x39e)]=_0x4dfc06);}async['loadUnit'](_0x9672d,_0x4082c1,_0x1621df){var _0x29ba98=_0x2b51d4;this[_0x29ba98(0x37c)][_0x29ba98(0x321)]({'unitId':_0x9672d,'type':_0x4082c1,'subUnitId':_0x1621df});let _0x43ba60=null;switch(_0x4082c1){case Q['UNIVER_SHEET']:{_0x43ba60=await this['_loadSheet'](_0x9672d);break;}case Q[_0x29ba98(0x1f8)]:{_0x43ba60=await this['_loadDoc'](_0x9672d);break;}default:{this[_0x29ba98(0x3e5)][_0x29ba98(0x36e)](_0x29ba98(0x490),_0x29ba98(0x46b));break;}}return _0x43ba60;}async['_loadSheet'](_0x58cb40){var _0x27033d=_0x2b51d4,_0x18486f;let _0x1de6b5=0x0;const _0x4d2a3a=await((_0x18486f=this['_localCacheService'])==null?void 0x0:_0x18486f[_0x27033d(0x250)](_0x58cb40));return _0x4d2a3a&&(_0x4d2a3a[_0x27033d(0x3ca)]||_0x4d2a3a[_0x27033d(0x27e)][_0x27033d(0x23a)]!==0x0)&&(_0x1de6b5=_0x4d2a3a[_0x27033d(0x37f)]),_0x1de6b5===0x0&&this[_0x27033d(0x3e5)]['debug'](_0x27033d(0x490),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x27033d(0x461)][_0x27033d(0x1f1)](_0x58cb40,_0x1de6b5);}async[_0x2b51d4(0x27d)](_0xf7b377){var _0xefbd50=_0x2b51d4,_0x52d980;let _0x4f7aa9=0x0;const _0x3229ca=await((_0x52d980=this['_localCacheService'])==null?void 0x0:_0x52d980[_0xefbd50(0x250)](_0xf7b377));return _0x3229ca&&(_0x3229ca[_0xefbd50(0x3ca)]||_0x3229ca['mutations'][_0xefbd50(0x23a)]!==0x0)&&(_0x4f7aa9=_0x3229ca['rev']),_0x4f7aa9===0x0&&this[_0xefbd50(0x3e5)][_0xefbd50(0x39f)]('[DataLoaderService]',_0xefbd50(0x458)),this[_0xefbd50(0x461)][_0xefbd50(0x1fa)](_0xf7b377,_0x4f7aa9);}};bt=Qr([mt(0x0,_0x3e08f2),mt(0x1,_0xbb9044(_0x2db77a)),mt(0x2,_0x19063a(J))],bt);var es=Object[_0x2b51d4(0x374)],ts=(_0x1bc83b,_0x117f38,_0x24a8c2,_0x5a191b)=>{var _0x3f1a5d=_0x2b51d4;for(var _0xf34c63=_0x5a191b>0x1?void 0x0:_0x5a191b?es(_0x117f38,_0x24a8c2):_0x117f38,_0x4ccd4b=_0x1bc83b[_0x3f1a5d(0x23a)]-0x1,_0x4ac02b;_0x4ccd4b>=0x0;_0x4ccd4b--)(_0x4ac02b=_0x1bc83b[_0x4ccd4b])&&(_0xf34c63=_0x4ac02b(_0xf34c63)||_0xf34c63);return _0xf34c63;},gt=(_0x405981,_0x3d9d8d)=>(_0x46d46a,_0x4a33b7)=>_0x3d9d8d(_0x46d46a,_0x4a33b7,_0x405981);const is=[_0x2b51d4(0x326),'image/jpeg','image/jpg',_0x2b51d4(0x20f),_0x2b51d4(0x246)],ns=0x5*0x400*0x400,rs='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss=_0x2b51d4(0x3e0),as=_0x2b51d4(0x240),os='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x41b2a1,_0xd70a03,_0x172af0){var _0x4a2d1c=_0x2b51d4;N(this,_0x4a2d1c(0x2e4),0x0),N(this,'_change$',new _0x358ef7()),N(this,'change$',this['_change$']),N(this,_0x4a2d1c(0x310),new Map()),(this[_0x4a2d1c(0x254)]=_0x41b2a1,this[_0x4a2d1c(0x22e)]=_0xd70a03,this[_0x4a2d1c(0x22f)]=_0x172af0);}[_0x2b51d4(0x23b)](_0x3b9e86){var _0x166906=_0x2b51d4;this['_waitCount']=_0x3b9e86,this[_0x166906(0x41a)][_0x166906(0x321)](_0x3b9e86);}[_0x2b51d4(0x370)](_0x54ed6f,_0x856e9d){var _0x713fe0=_0x2b51d4;if(_0x856e9d===_0x27980d[_0x713fe0(0x41c)]){const _0x1a0c3f=new Image();return _0x1a0c3f[_0x713fe0(0x272)]=_0x54ed6f,_0x1a0c3f;}return this[_0x713fe0(0x310)]['get'](_0x54ed6f);}['addImageSourceCache'](_0x4835fc,_0x3b5032,_0x43834e){var _0x2ee8bd=_0x2b51d4;_0x3b5032===_0x27980d['BASE64']||_0x43834e==null||this['_imageSourceCache'][_0x2ee8bd(0x218)](_0x4835fc,_0x43834e);}async[_0x2b51d4(0x34e)](_0x4334b8){var _0x3afc71=_0x2b51d4;try{const _0x4437d5=this['_replaceFileID'](this['_getSignURL'](),''+_0x4334b8),_0x5dea19=(await this[_0x3afc71(0x254)][_0x3afc71(0x42b)](_0x4437d5))[_0x3afc71(0x1e3)];if(_0x5dea19[_0x3afc71(0x36e)]&&_0x5dea19[_0x3afc71(0x36e)][_0x3afc71(0x48d)]===Si['OK']){const _0x15f70a=new URL(_0x5dea19[_0x3afc71(0x47b)],this[_0x3afc71(0x23c)]())['toString']();return Promise[_0x3afc71(0x20d)](_0x15f70a);}return Promise['reject'](_0x5dea19[_0x3afc71(0x36e)]);}catch(_0x5750cd){return Promise[_0x3afc71(0x255)](_0x5750cd);}}async[_0x2b51d4(0x302)](_0x45a1f5){var _0x141e4d=_0x2b51d4;let _0x5cf1d3='';if(!is['includes'](_0x45a1f5['type']))return this['_decreaseWaiting'](),Promise[_0x141e4d(0x255)](new Error(_0x545547[_0x141e4d(0x1d6)]));if(_0x45a1f5[_0x141e4d(0x299)]>ns)return this[_0x141e4d(0x1dd)](),Promise['reject'](new Error(_0x545547['ERROR_EXCEED_SIZE']));try{const _0x706f9e=new FormData();_0x706f9e['append'](_0x141e4d(0x371),_0x45a1f5);const _0x3a46ff=this[_0x141e4d(0x22f)][_0x141e4d(0x430)](),_0x1d7308=_0x3a46ff==null?void 0x0:_0x3a46ff[_0x141e4d(0x4a5)]();if(!_0x1d7308)throw new Error(_0x141e4d(0x1d7));const _0x582bad=this['_getUploadFileURL']()+_0x141e4d(0x2a4)+_0x45a1f5[_0x141e4d(0x299)][_0x141e4d(0x2df)]()+_0x141e4d(0x35c)+Ei[_0x141e4d(0x49b)]+_0x141e4d(0x368)+encodeURIComponent(_0x1d7308),_0x1fd8e9=await(await fetch(_0x582bad,{'method':_0x141e4d(0x343),'body':_0x706f9e}))[_0x141e4d(0x26d)]();if(typeof _0x1fd8e9[_0x141e4d(0x39c)]!=_0x141e4d(0x1c7))return this['_decreaseWaiting'](),Promise[_0x141e4d(0x255)](new Error(_0x545547[_0x141e4d(0x2b4)]));_0x5cf1d3=_0x1fd8e9[_0x141e4d(0x39c)];}catch{return this['_decreaseWaiting'](),Promise[_0x141e4d(0x255)](new Error(_0x545547[_0x141e4d(0x2b4)]));}return new Promise((_0x948837,_0x483167)=>{var _0x58fb12=_0x141e4d;const _0x3816ff=new FileReader();_0x3816ff[_0x58fb12(0x413)](_0x45a1f5),_0x3816ff[_0x58fb12(0x2c5)]=_0x412300=>{var _0x38763f=_0x58fb12,_0x914355;const _0x4b02fe=(_0x914355=_0x412300[_0x38763f(0x464)])==null?void 0x0:_0x914355['result'];if(_0x4b02fe==null){this[_0x38763f(0x1dd)](),_0x483167(new Error(_0x545547[_0x38763f(0x2b4)]));return;}const _0x2312c7=_0x1f8cee[_0x38763f(0x389)](0x6);_0x948837({'imageId':_0x2312c7,'imageSourceType':_0x27980d[_0x38763f(0x1c6)],'source':_0x5cf1d3,'base64Cache':_0x4b02fe,'status':_0x545547[_0x38763f(0x258)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x39ada1=_0x2b51d4,_0x57ee06,_0x3c77da;const _0x2ae85a=this['_configService'][_0x39ada1(0x2a7)](rs),_0x5dba96=this['_configService'][_0x39ada1(0x2a7)](q);return(_0x3c77da=(_0x57ee06=_0x5dba96==null?void 0x0:_0x5dba96['uploadFileServerUrl'])!=null?_0x57ee06:_0x2ae85a)!=null?_0x3c77da:ss;}[_0x2b51d4(0x353)](){var _0x4b749e=_0x2b51d4,_0x3bd3e8,_0x2dcc8e;const _0x4d70c5=this[_0x4b749e(0x22e)][_0x4b749e(0x2a7)](as),_0x186340=this[_0x4b749e(0x22e)][_0x4b749e(0x2a7)](q);return(_0x2dcc8e=(_0x3bd3e8=_0x186340==null?void 0x0:_0x186340[_0x4b749e(0x236)])!=null?_0x3bd3e8:_0x4d70c5)!=null?_0x2dcc8e:os;}[_0x2b51d4(0x23c)](){var _0x7b834d=_0x2b51d4,_0x205c76;const _0x5750e9=this[_0x7b834d(0x22e)][_0x7b834d(0x2a7)](q);return(_0x205c76=_0x5750e9==null?void 0x0:_0x5750e9[_0x7b834d(0x357)])!=null?_0x205c76:location[_0x7b834d(0x3cf)];}[_0x2b51d4(0x313)](_0x231081,_0x41a0c0){var _0x9437f5=_0x2b51d4;return _0x231081['replace'](_0x9437f5(0x467),_0x41a0c0);}[_0x2b51d4(0x1dd)](){var _0x474689=_0x2b51d4;this[_0x474689(0x2e4)]-=0x1,this[_0x474689(0x41a)]['next'](this[_0x474689(0x2e4)]);}};yt=ts([gt(0x0,_0xbb9044(_0x334dc2)),gt(0x1,_0x3d91ad),gt(0x2,_0xbb9044(_0xcd0588))],yt);var cs=Object[_0x2b51d4(0x374)],hs=(_0x5fffb1,_0x2e2bca,_0x3f9d9d,_0x4d9758)=>{for(var _0xd56bb4=_0x4d9758>0x1?void 0x0:_0x4d9758?cs(_0x2e2bca,_0x3f9d9d):_0x2e2bca,_0x1a8863=_0x5fffb1['length']-0x1,_0x47ee5a;_0x1a8863>=0x0;_0x1a8863--)(_0x47ee5a=_0x5fffb1[_0x1a8863])&&(_0xd56bb4=_0x47ee5a(_0xd56bb4)||_0xd56bb4);return _0xd56bb4;},hi=(_0x4577f9,_0x1f1013)=>(_0x401797,_0x1e6d80)=>_0x1f1013(_0x401797,_0x1e6d80,_0x4577f9);const _s=_0x2b51d4(0x3a6);let Ot=class{constructor(_0x5c4730,_0x3194d9){var _0x5bbd1d=_0x2b51d4;this[_0x5bbd1d(0x22e)]=_0x5c4730,this[_0x5bbd1d(0x294)]=_0x3194d9;}[_0x2b51d4(0x1e2)](){var _0x353581=_0x2b51d4,_0xb39aac,_0x28f39d;const _0x2caaec=this[_0x353581(0x22e)][_0x353581(0x2a7)](Ni),_0x5770f0=this[_0x353581(0x22e)]['getConfig'](q);return(_0x28f39d=(_0xb39aac=_0x5770f0==null?void 0x0:_0x5770f0[_0x353581(0x31a)])!=null?_0xb39aac:_0x2caaec)!=null?_0x28f39d:_s;}async['list'](_0x51d7e4){var _0x420302=_0x2b51d4;const _0x2386f9=this[_0x420302(0x1e2)]()+'/collaborator';return{'list':[{'title':_0x420302(0x379),'mentions':(await this[_0x420302(0x294)]['get'](_0x2386f9,{'params':{'objectID':_0x51d7e4[_0x420302(0x32b)],'unitID':_0x51d7e4[_0x420302(0x32b)]}}))[_0x420302(0x1e3)][_0x420302(0x347)][_0x420302(0x48a)](_0x3441c0=>({'objectId':_0x3441c0['id'],'name':_0x3441c0[_0x420302(0x283)][_0x420302(0x3b6)],'metadata':{'icon':_0x3441c0['subject'][_0x420302(0x3ff)]},'label':_0x3441c0[_0x420302(0x283)][_0x420302(0x3b6)],'objectType':_0x3ca0a6[_0x420302(0x35f)]})),'metadata':{},'type':_0x3ca0a6[_0x420302(0x35f)]}]};}};Ot=hs([hi(0x0,_0xbb9044(_0x3d91ad)),hi(0x1,_0xbb9044(_0x334dc2))],Ot);var ls=Object[_0x2b51d4(0x374)],us=(_0x17096c,_0xaccfa8,_0x55bea1,_0x1a3c89)=>{var _0x466a4d=_0x2b51d4;for(var _0x254c99=_0x1a3c89>0x1?void 0x0:_0x1a3c89?ls(_0xaccfa8,_0x55bea1):_0xaccfa8,_0x4d6e70=_0x17096c[_0x466a4d(0x23a)]-0x1,_0x4fddb9;_0x4d6e70>=0x0;_0x4d6e70--)(_0x4fddb9=_0x17096c[_0x4d6e70])&&(_0x254c99=_0x4fddb9(_0x254c99)||_0x254c99);return _0x254c99;},Ae=(_0x470a87,_0x25a25f)=>(_0x34d0ac,_0x5834da)=>_0x25a25f(_0x34d0ac,_0x5834da,_0x470a87);let ot=class extends _0xbf3a36{constructor(_0x2ca211,_0x28a5f7,_0x179623,_0xda7b89,_0x356c69){var _0x2dbd09=_0x2b51d4;super(),this[_0x2dbd09(0x333)]=_0x2ca211,this[_0x2dbd09(0x22f)]=_0x28a5f7,this[_0x2dbd09(0x434)]=_0x179623,this[_0x2dbd09(0x43d)]=_0xda7b89,this[_0x2dbd09(0x3b8)]=_0x356c69,this[_0x2dbd09(0x39a)](),this[_0x2dbd09(0x2c4)]();}[_0x2b51d4(0x2c4)](){var _0x3f9fa3=_0x2b51d4;const _0x511df0=async _0x4b2846=>{var _0x39f257=_0x3286;(await this[_0x39f257(0x43d)][_0x39f257(0x47c)](_0x4b2846))[_0x39f257(0x3e7)][_0x39f257(0x392)](_0x20767a(_0xf466f4=>_0xf466f4['eventID']===_0x1cab20[_0x39f257(0x40a)]),_0xf90029(this[_0x39f257(0x330)]))['subscribe'](_0x299c26=>{var _0x332cd3=_0x39f257;const _0x1a1f28=_0x299c26,{reason:_0x5a5256}=_0x1a1f28['data'];this[_0x332cd3(0x3b8)][_0x332cd3(0x23e)]({'id':se[_0x332cd3(0x1ba)],'data':_0x5a5256}),this[_0x332cd3(0x434)]['updatePermissionPoint'](new _0x2bbfa7(_0x4b2846)['id'],!0x1),this[_0x332cd3(0x43d)][_0x332cd3(0x40f)](_0x4b2846);});};_0xb2540(this[_0x3f9fa3(0x22f)][_0x3f9fa3(0x235)](_0x5d6c54[_0x3f9fa3(0x1ca)]),this[_0x3f9fa3(0x22f)][_0x3f9fa3(0x235)](_0x5d6c54[_0x3f9fa3(0x1f8)]))[_0x3f9fa3(0x392)](_0x87d7ab(_0x1c4d3d=>_0x1c4d3d[_0x3f9fa3(0x4a5)]()),_0x20767a(_0x11d497=>!_0x11985f(_0x11d497)),_0xf90029(this['dispose$']))['subscribe'](_0x714d3d=>{_0x511df0(_0x714d3d);});}['_initUnitPermissionChange'](){var _0x199224=_0x2b51d4;const _0x191f1b=async _0x5cbc3d=>{var _0x18c3ae=_0x3286;const _0x40224e=await this[_0x18c3ae(0x43d)][_0x18c3ae(0x47c)](_0x5cbc3d),_0x49e617=this[_0x18c3ae(0x333)][_0x18c3ae(0x42b)](_0x22de8f);_0x40224e[_0x18c3ae(0x3e7)][_0x18c3ae(0x392)](_0x20767a(_0x3aaa02=>_0x3aaa02['eventID']===_0x1cab20['UPDATE_PERMISSION_OBJ']),_0xf90029(this[_0x18c3ae(0x330)]))[_0x18c3ae(0x36f)](_0x4d703d=>{var _0x310df1=_0x18c3ae;const _0x6cb1a1=_0x4d703d,{objectId:_0x3821d7}=_0x6cb1a1[_0x310df1(0x1bc)];_0x3821d7===_0x5cbc3d?_0x49e617[_0x310df1(0x30a)](_0x5cbc3d):_0x49e617[_0x310df1(0x3ec)](_0x5cbc3d,_0x3821d7);});};_0xb2540(this[_0x199224(0x22f)][_0x199224(0x235)](_0x5d6c54[_0x199224(0x1ca)]))[_0x199224(0x392)](_0x87d7ab(_0x477e2d=>_0x477e2d[_0x199224(0x4a5)]()),_0x20767a(_0x5adc81=>!_0x11985f(_0x5adc81)),_0xf90029(this[_0x199224(0x330)]))[_0x199224(0x36f)](_0x17c213=>{_0x191f1b(_0x17c213);});}};ot=us([Ae(0x0,_0xbb9044(_0xe87ffb)),Ae(0x1,_0xcd0588),Ae(0x2,_0x1f555b),Ae(0x3,_0xbb9044(Le)),Ae(0x4,_0xbb9044(pe))],ot);var ds=Object[_0x2b51d4(0x374)],fs=(_0x5979bb,_0x5a2b3d,_0x16aab5,_0x3b6cc8)=>{var _0x4a8891=_0x2b51d4;for(var _0x5ac4d5=_0x3b6cc8>0x1?void 0x0:_0x3b6cc8?ds(_0x5a2b3d,_0x16aab5):_0x5a2b3d,_0x51180d=_0x5979bb[_0x4a8891(0x23a)]-0x1,_0x147d2d;_0x51180d>=0x0;_0x51180d--)(_0x147d2d=_0x5979bb[_0x51180d])&&(_0x5ac4d5=_0x147d2d(_0x5ac4d5)||_0x5ac4d5);return _0x5ac4d5;},_i=(_0x2d4d84,_0x2d3eea)=>(_0x2446db,_0x13c820)=>_0x2d3eea(_0x2446db,_0x13c820,_0x2d4d84);let Nt=class{constructor(_0x1d9920,_0x55f426){var _0x5c1bae=_0x2b51d4;this[_0x5c1bae(0x22e)]=_0x1d9920,this['_httpService']=_0x55f426;}async[_0x2b51d4(0x354)](_0x308548,_0x2c3f56){var _0xd84987=_0x2b51d4,_0x1a2428;const {unitID:_0x450d46,type:_0x3f47fa,revision:_0x175555=0x0}=_0x2c3f56,_0x4b2ac5=this[_0xd84987(0x2bf)]()+'/'+_0x3f47fa+_0xd84987(0x316)+_0x450d46+'/rev/'+_0x175555,_0x32108a=(await this[_0xd84987(0x254)][_0xd84987(0x42b)](_0x4b2ac5))['body'],_0x54a587=(_0x1a2428=_0x32108a[_0xd84987(0x273)])==null?void 0x0:_0x1a2428[_0xd84987(0x320)];if(_0x54a587){const _0x532cb4=_0x54a587==null?void 0x0:_0x54a587['originalMeta'],_0x55b100=_0x3fea26[_0xd84987(0x268)](_0x544eac(_0x532cb4));_0x54a587[_0xd84987(0x249)]=_0x55b100,Object[_0xd84987(0x405)](_0x54a587['sheets'])[_0xd84987(0x33d)](([,_0x4bda19])=>{var _0x67773c=_0xd84987;const _0x334807=_0x4bda19['originalMeta'],_0x58b854=_0x3fea26[_0x67773c(0x268)](_0x544eac(_0x334807));_0x4bda19[_0x67773c(0x249)]=_0x58b854;});}return _0x32108a;}async[_0x2b51d4(0x474)](_0x3b49fa,_0x1e3c5d){var _0x8e6518=_0x2b51d4;const {unitID:_0x13dd5d,type:_0x560d63,blockID:_0x2ffd1e}=_0x1e3c5d,_0x59a668=this['_getAPIPrefix']()+'/'+_0x560d63+'/unit/'+_0x13dd5d+_0x8e6518(0x406)+_0x2ffd1e;return(await this[_0x8e6518(0x254)][_0x8e6518(0x42b)](_0x59a668))[_0x8e6518(0x1e3)];}async[_0x2b51d4(0x427)](_0x3a71ce,_0x1c2022){var _0x31824e=_0x2b51d4;const {unitID:_0x448802,type:_0xf804b4,blockID:_0x54cde0}=_0x1c2022,_0x3cbe5a=this[_0x31824e(0x37a)]()+_0x31824e(0x406)+_0xf804b4+_0x31824e(0x316)+_0x448802+_0x31824e(0x406)+_0x54cde0;return(await this['_httpService'][_0x31824e(0x42b)](_0x3cbe5a))[_0x31824e(0x1e3)];}async['fetchMissingChangesets'](_0x13a601,_0x4eb221){var _0x2e8a54=_0x2b51d4;const {unitID:_0x47ce50,type:_0xd0b4d5,from:_0x52e6bf,to:_0x26440a}=_0x4eb221,_0x150c20=this['_getAPIPrefix']()+'/'+_0xd0b4d5+_0x2e8a54(0x316)+_0x47ce50+_0x2e8a54(0x31c)+_0x52e6bf+_0x2e8a54(0x3d5)+_0x26440a;return(await this[_0x2e8a54(0x254)]['get'](_0x150c20))[_0x2e8a54(0x1e3)];}['getSnapshotAPIPath'](){var _0x5382b7=_0x2b51d4,_0x9d583f;return(_0x9d583f=this['_configService'][_0x5382b7(0x2a7)](Sn))!=null?_0x9d583f:this[_0x5382b7(0x37a)]();}['_getAPIPrefix'](){var _0xc132f7=_0x2b51d4,_0x30922d,_0x4696ee;const _0x471cf3=this[_0xc132f7(0x22e)][_0xc132f7(0x2a7)](mn),_0x1d7d76=this[_0xc132f7(0x22e)][_0xc132f7(0x2a7)](q);return(_0x4696ee=(_0x30922d=_0x1d7d76==null?void 0x0:_0x1d7d76[_0xc132f7(0x440)])!=null?_0x30922d:_0x471cf3)!=null?_0x4696ee:gn;}async['getResourcesRequest'](_0x2f1d68,_0xd43eeb){var _0x2100c1=_0x2b51d4;const _0x3d8af4=_0x2100c1(0x3c7)+_0xd43eeb[_0x2100c1(0x26e)]+_0x2100c1(0x316)+_0xd43eeb['unitID']+_0x2100c1(0x232);return(await this[_0x2100c1(0x254)][_0x2100c1(0x42b)](_0x3d8af4,{'params':{'resourceId':JSON[_0x2100c1(0x375)](_0xd43eeb[_0x2100c1(0x2dc)])}}))[_0x2100c1(0x1e3)];}[_0x2b51d4(0x352)](){var _0x3840c3=_0x2b51d4;throw new Error(_0x3840c3(0x38f));}[_0x2b51d4(0x23f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2b51d4(0x28a)](){var _0x5e8a60=_0x2b51d4;throw new Error(_0x5e8a60(0x38f));}};Nt=fs([_i(0x0,_0x3d91ad),_i(0x1,_0xbb9044(_0x334dc2))],Nt);var vs=Object[_0x2b51d4(0x374)],ps=(_0x52cfab,_0x1a98fe,_0x157649,_0x148a91)=>{for(var _0xe6751a=_0x148a91>0x1?void 0x0:_0x148a91?vs(_0x1a98fe,_0x157649):_0x1a98fe,_0x312919=_0x52cfab['length']-0x1,_0x452ea4;_0x312919>=0x0;_0x312919--)(_0x452ea4=_0x52cfab[_0x312919])&&(_0xe6751a=_0x452ea4(_0xe6751a)||_0xe6751a);return _0xe6751a;},Pe=(_0x1cf2c1,_0x4b1267)=>(_0x1772ac,_0xb937cf)=>_0x4b1267(_0x1772ac,_0xb937cf,_0x1cf2c1);let Dt=class extends _0x28cec0{constructor(_0xeec308,_0x43e45d,_0x46775d,_0x4b815b,_0x871132){var _0x5ba0d8=_0x2b51d4;super(_0xeec308,_0x43e45d,_0x46775d),this['_transformService']=_0x4b815b,this[_0x5ba0d8(0x3e5)]=_0x871132;}['transformUndoRedo'](_0x262b28,_0xd1616){var _0x1c0961=_0x2b51d4;const _0x260e52=this['_getUndoStack'](_0x262b28);if(_0x260e52)try{const _0x33bf62=this['_transformStack'](_0x260e52,_0xd1616);this[_0x1c0961(0x233)](_0x262b28,_0x33bf62);}catch(_0x2d9636){this[_0x1c0961(0x3e5)]['error']('[CollaborationUndoRedoService]',_0x2d9636),this[_0x1c0961(0x2b6)](_0x262b28);}const _0xd24528=this[_0x1c0961(0x4aa)](_0x262b28);if(_0xd24528)try{const _0x1032a4=this['_transformStack'](_0xd24528,_0xd1616);this['_substituteRedoStack'](_0x262b28,_0x1032a4);}catch(_0x193ce1){this[_0x1c0961(0x3e5)][_0x1c0961(0x36e)](_0x193ce1),this['_clearRedo'](_0x262b28);}}[_0x2b51d4(0x2b6)](_0x1c453e){var _0x4a55e1=_0x2b51d4;const _0x1b12aa=this[_0x4a55e1(0x491)](_0x1c453e);_0x1b12aa&&(_0x1b12aa[_0x4a55e1(0x23a)]=0x0,this[_0x4a55e1(0x3ba)]());}[_0x2b51d4(0x3e3)](_0x45eb1e){var _0x136a31=_0x2b51d4;const _0x19e892=this[_0x136a31(0x4aa)](_0x45eb1e);_0x19e892&&(_0x19e892[_0x136a31(0x23a)]=0x0,this[_0x136a31(0x3ba)]());}['_substituteUndoStack'](_0x1a8d3a,_0x69a72a){var _0x5aed7=_0x2b51d4;this['_undoStacks'][_0x5aed7(0x218)](_0x1a8d3a,_0x69a72a),this[_0x5aed7(0x3ba)]();}['_substituteRedoStack'](_0x37b8c9,_0x24f539){var _0x3dacda=_0x2b51d4;this[_0x3dacda(0x356)][_0x3dacda(0x218)](_0x37b8c9,_0x24f539),this[_0x3dacda(0x3ba)]();}[_0x2b51d4(0x412)](_0x4d7087,_0x119453){var _0x10457b=_0x2b51d4;const _0x2092d2=[];let _0x5f2465=_0x119453,_0x15431b=_0x119453;for(let _0x20db31=_0x4d7087[_0x10457b(0x23a)]-0x1;_0x20db31>=0x0;_0x20db31--){const {unitID:_0x4c349a,undoMutations:_0x4f10a4,redoMutations:_0x53e415}=_0x4d7087[_0x20db31],_0x15e7ae=this[_0x10457b(0x404)][_0x10457b(0x29c)](_0x5f2465,_0x4f10a4),_0x36c33a=this['_transformService'][_0x10457b(0x29c)](_0x15431b,_0x53e415);if(_0x5846bb(_0x15e7ae)||_0x5846bb(_0x36c33a)){this[_0x10457b(0x3e5)][_0x10457b(0x36e)](_0x10457b(0x31f),_0x10457b(0x3c6),_0x15e7ae,_0x36c33a);break;}_0x5f2465=_0x15e7ae['c1Prime'],_0x15431b=_0x36c33a['c1Prime'],_0x2092d2[_0x10457b(0x276)]({'unitID':_0x4c349a,'undoMutations':_0x15e7ae[_0x10457b(0x432)],'redoMutations':_0x36c33a['m2Prime']});}return _0x2092d2[_0x10457b(0x1eb)]();}};Dt=ps([Pe(0x0,_0xcd0588),Pe(0x1,_0x3b7381),Pe(0x2,_0x240438),Pe(0x3,_0x5a75cc),Pe(0x4,_0x3e08f2)],Dt);var ms=Object[_0x2b51d4(0x465)],gs=Object[_0x2b51d4(0x374)],Ss=(_0x2b7b63,_0x3a2622,_0x30d215)=>_0x3a2622 in _0x2b7b63?ms(_0x2b7b63,_0x3a2622,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30d215}):_0x2b7b63[_0x3a2622]=_0x30d215,Es=(_0x19d95e,_0x42ca84,_0x17eacf,_0xe41b90)=>{var _0x323c17=_0x2b51d4;for(var _0x3d382d=_0xe41b90>0x1?void 0x0:_0xe41b90?gs(_0x42ca84,_0x17eacf):_0x42ca84,_0x4bd53a=_0x19d95e[_0x323c17(0x23a)]-0x1,_0x133c02;_0x4bd53a>=0x0;_0x4bd53a--)(_0x133c02=_0x19d95e[_0x4bd53a])&&(_0x3d382d=_0x133c02(_0x3d382d)||_0x3d382d);return _0x3d382d;},St=(_0x16e494,_0x3b525b)=>(_0x49236b,_0x1eaa4f)=>_0x3b525b(_0x49236b,_0x1eaa4f,_0x16e494),Is=(_0x3fe850,_0x6f92b,_0x19a7c3)=>Ss(_0x3fe850,_0x6f92b+'',_0x19a7c3);const Ts=_0x2b51d4(0x2c7);let Ut=class extends _0x398388{constructor(_0x279c50,_0x32ce12,_0x3087ab,_0x20849e){var _0x5ad216=_0x2b51d4;super(),N(this,_0x5ad216(0x38a)),(this['_logService']=_0x32ce12,this[_0x5ad216(0x333)]=_0x3087ab,this[_0x5ad216(0x22e)]=_0x20849e);const {..._0x48128c}=_0x290120({},An,_0x279c50);if(!_0x48128c[_0x5ad216(0x485)])throw new Error(_0x5ad216(0x2ce));this[_0x5ad216(0x38a)]=_0x48128c,this[_0x5ad216(0x22e)][_0x5ad216(0x47f)](q,_0x48128c);}[_0x2b51d4(0x4ac)](){var _0x25aad3=_0x2b51d4;this[_0x25aad3(0x29a)](),this[_0x25aad3(0x2e6)]();}['_registerDependencies'](){var _0x1c7100=_0x2b51d4,_0xa4f4d6,_0x166d64;this[_0x1c7100(0x333)][_0x1c7100(0x2c6)](_0x4955e1)&&this[_0x1c7100(0x3e5)][_0x1c7100(0x36e)]('[UniverCollaborationClientPlugin]',_0x1c7100(0x377));const _0x4de0a4=_0x20bd82([[_0x4955e1,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x1c7100(0x38a)][_0x1c7100(0x485)]}],[_0x20d692,{'useClass':Nt}],[_0x4a4c6a,{'useClass':Rt}],[_0x382575,{'useClass':yt}],[_0x2eb9c3,{'useClass':Ot}],[rt],[Ct]],(_0xa4f4d6=this[_0x1c7100(0x38a)])==null?void 0x0:_0xa4f4d6[_0x1c7100(0x2c9)]);if(!((_0x166d64=this[_0x1c7100(0x38a)])!=null&&_0x166d64[_0x1c7100(0x29e)])){const _0x12a279=_0x4de0a4['findIndex'](([_0x5f1d46])=>_0x5f1d46===ht);_0x12a279!==-0x1&&_0x4de0a4[_0x1c7100(0x2a8)](_0x12a279,0x1);}_0xec0d2c(this[_0x1c7100(0x333)],_0x4de0a4);}[_0x2b51d4(0x2e6)](){var _0x4fdd40=_0x2b51d4,_0x4b8735,_0x15d8e1,_0x38b873;this[_0x4fdd40(0x333)][_0x4fdd40(0x42b)](_0x334dc2)[_0x4fdd40(0x3c0)]({'priority':0x14,'interceptor':_0x41fdbc({'maxParallel':0x6})}),(_0x4b8735=this[_0x4fdd40(0x38a)])!=null&&_0x4b8735[_0x4fdd40(0x442)]||(_0x15d8e1=this[_0x4fdd40(0x333)][_0x4fdd40(0x42b)](J,_0x513dfb[_0x4fdd40(0x396)]))==null||_0x15d8e1[_0x4fdd40(0x489)](),(_0x38b873=this['_config'])!=null&&_0x38b873['enableAuthServer']&&_0x51811b(this[_0x4fdd40(0x333)],[[st]]),_0x51811b(this[_0x4fdd40(0x333)],[[at],[rt],[ot]]);}};Is(Ut,_0x2b51d4(0x336),Ts),Ut=Es([_0x27f7e5(_0x4c0c58,_0x4ad0a2),St(0x1,_0x3e08f2),St(0x2,_0xbb9044(_0xe87ffb)),St(0x3,_0x3d91ad)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};