@univerjs-pro/collaboration-client 0.6.10-nightly.202504231607 → 0.6.10-nightly.202504241607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0xfe7184=_0xb4ca;(function(_0x94d853,_0x25608c){var _0x215ed1=_0xb4ca,_0x177253=_0x94d853();while(!![]){try{var _0x37bf3f=parseInt(_0x215ed1(0x2bd))/0x1*(-parseInt(_0x215ed1(0x3ad))/0x2)+parseInt(_0x215ed1(0x1dd))/0x3*(parseInt(_0x215ed1(0x330))/0x4)+-parseInt(_0x215ed1(0x1ee))/0x5+parseInt(_0x215ed1(0x311))/0x6+parseInt(_0x215ed1(0x365))/0x7+-parseInt(_0x215ed1(0x3c2))/0x8+parseInt(_0x215ed1(0x230))/0x9;if(_0x37bf3f===_0x25608c)break;else _0x177253['push'](_0x177253['shift']());}catch(_0x271e3c){_0x177253['push'](_0x177253['shift']());}}}(_0x514d,0x529ed));var wi=Object[_0xfe7184(0x47e)],Pi=(_0x2b7b8f,_0x324da0,_0x1d1b20)=>_0x324da0 in _0x2b7b8f?wi(_0x2b7b8f,_0x324da0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d1b20}):_0x2b7b8f[_0x324da0]=_0x1d1b20,N=(_0x3289c5,_0x193f96,_0x53d554)=>Pi(_0x3289c5,typeof _0x193f96!=_0xfe7184(0x3bb)?_0x193f96+'':_0x193f96,_0x53d554);import{createIdentifier as _0x243a96,Inject as _0x133e5e,Injector as _0x723ed9,IConfigService as _0x2f38cd,ILogService as _0x19ce75,Disposable as _0x293672,DisposableCollection as _0x322283,toDisposable as _0x1261ab,IUniverInstanceService as _0x169db5,UserManagerService as _0x38d7df,UniverInstanceType as _0x22def0,LocaleService as _0x20ed6b,Optional as _0x5db4e2,RxDisposable as _0x1f9410,Tools as _0x21badf,Rectangle as _0x107ade,ICommandService as _0x1affd5,JSONX as _0x38ad23,CommandType as _0xd983d8,IUndoRedoService as _0x548330,IPermissionService as _0x446775,sequenceExecute as _0x4ed7c3,Workbook as _0x4e7a87,MentionType as _0x1a7431,isInternalEditorID as _0x3322d4,LocalUndoRedoService as _0x4e4dd0,IContextService as _0x280b22,DependentOn as _0x3d6ca2,Plugin as _0x13aa7c,merge as _0x48b76b,mergeOverrideWithDependencies as _0x4a3bd8,IAuthzIoService as _0x3439c4,IMentionIOService as _0x58151e,registerDependencies as _0x36dd05,Quantity as _0x36efa8,touchDependencies as _0x5123b7}from'@univerjs/core';import{Subject as _0xd7395f,merge as _0x4ef3f9,of as _0x52f9c6,BehaviorSubject as _0x21c115,takeUntil as _0x1bbb70,ReplaySubject as _0x95c752,take as _0x2bbf37,map as _0x197804,shareReplay as _0x327bb4,firstValueFrom as _0x16ae71,concatMap as _0x2e6b2f}from'rxjs';import{map as _0x4851a7,take as _0x15a9bb,filter as _0x5befcb,delay as _0x1717cc,takeUntil as _0x2c5509}from'rxjs/operators';import{CollaborationEvent as _0x12f734,ISnapshotServerService as _0x208e48,parseChangesetToProtocol as _0x3c8545,ITransformService as _0x1f266b,isTransformMutationsWithChangesetSuccess as _0x306b3c,mapDocumentTypeToUniverType as _0x38d550,RevisionService as _0x5bbf37,isTransformChangesetsSuccess as _0x336be0,CompressMutationService as _0x3d5a95,parseProtocolChangeset as _0x4bb8f5,SnapshotService as _0x38c331,textEncoder as _0xdda04e,b64DecodeUnicode as _0x301c1d,isTransformMutationsWithChangesetFailure as _0x49b748,UniverCollaborationPlugin as _0x525806}from'@univerjs-pro/collaboration';import{HTTPService as _0x44d219,ISocketService as _0x59b4a9,MergeInterceptorFactory as _0x2788f5,HTTPRequest as _0x560f8d,UniverNetworkPlugin as _0x277569,ThresholdInterceptorFactory as _0x2aa87c}from'@univerjs/network';import{ITelemetryService as _0x5c0048}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x27617a}from'@univerjs/docs';import{SheetsSelectionsService as _0x536894,SetSelectionsOperation as _0x441337,InsertSheetMutation as _0x404408,EmptyMutation as _0x12cfc9,WorkbookEditablePermission as _0x2e7126,SheetPermissionInitController as _0x198dd2}from'@univerjs/sheets';import{ImageSourceType as _0x332c9f,ImageUploadStatusType as _0x53eb1d,IImageIoService as _0x30b3bd}from'@univerjs/drawing';import{getGlobalObject as _0x12e241}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0xfe7184(0x31c),Sn=_0xfe7184(0x1d4),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0xfe7184(0x472),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',xr=_0xfe7184(0x4b8),Cn=_0xfe7184(0x2e9),Rn=0x7530,mi=_0xfe7184(0x4a0),gi=0x4e20,bn=0x4e20,On=_0xfe7184(0x1c1),yn=0x3,Mr=_0xfe7184(0x1bd),kr=0x3e8,Nn=_0xfe7184(0x401),Dn=_0xfe7184(0x3dd),Un=_0xfe7184(0x450),An=_0xfe7184(0x245),$r=_0xfe7184(0x3cb),Hr=_0xfe7184(0x4bd);var Si=(_0x57c2c4=>(_0x57c2c4[_0x57c2c4[_0xfe7184(0x431)]=0x0]=_0xfe7184(0x431),_0x57c2c4[_0x57c2c4['OK']=0x1]='OK',_0x57c2c4[_0x57c2c4[_0xfe7184(0x49b)]=0x2]=_0xfe7184(0x49b),_0x57c2c4[_0x57c2c4['PERMISSION_DENIED']=0x3]=_0xfe7184(0x207),_0x57c2c4[_0x57c2c4['NOT_FOUND']=0x4]='NOT_FOUND',_0x57c2c4[_0x57c2c4[_0xfe7184(0x27d)]=0x5]=_0xfe7184(0x27d),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2f8)]=0x6]=_0xfe7184(0x2f8),_0x57c2c4[_0x57c2c4[_0xfe7184(0x28d)]=0x7]=_0xfe7184(0x28d),_0x57c2c4[_0x57c2c4['TOO_MANY_REQUESTS']=0x8]=_0xfe7184(0x3e8),_0x57c2c4[_0x57c2c4[_0xfe7184(0x296)]=0x9]=_0xfe7184(0x296),_0x57c2c4[_0x57c2c4[_0xfe7184(0x352)]=0xa]=_0xfe7184(0x352),_0x57c2c4[_0x57c2c4[_0xfe7184(0x46f)]=0x1389]=_0xfe7184(0x46f),_0x57c2c4[_0x57c2c4[_0xfe7184(0x279)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x57c2c4[_0x57c2c4['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xfe7184(0x1fe),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2c5)]=0x1773]=_0xfe7184(0x2c5),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2c3)]=0x1b59]='APPLY_REJECT',_0x57c2c4[_0x57c2c4[_0xfe7184(0x411)]=0x1b5a]=_0xfe7184(0x411),_0x57c2c4[_0x57c2c4[_0xfe7184(0x205)]=0x1b5b]=_0xfe7184(0x205),_0x57c2c4[_0x57c2c4[_0xfe7184(0x36c)]=0x1b5c]=_0xfe7184(0x36c),_0x57c2c4[_0x57c2c4[_0xfe7184(0x3e5)]=0x1b5d]=_0xfe7184(0x3e5),_0x57c2c4[_0x57c2c4[_0xfe7184(0x260)]=0x1f41]=_0xfe7184(0x260),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2a2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x57c2c4[_0x57c2c4[_0xfe7184(0x1dc)]=0x232a]=_0xfe7184(0x1dc),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2f9)]=0x232b]=_0xfe7184(0x2f9),_0x57c2c4[_0x57c2c4[_0xfe7184(0x24b)]=0x232c]=_0xfe7184(0x24b),_0x57c2c4[_0x57c2c4[_0xfe7184(0x252)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x57c2c4[_0x57c2c4[_0xfe7184(0x4b1)]=0x2711]=_0xfe7184(0x4b1),_0x57c2c4[_0x57c2c4[_0xfe7184(0x320)]=0x2712]=_0xfe7184(0x320),_0x57c2c4[_0x57c2c4[_0xfe7184(0x3f5)]=0x2713]=_0xfe7184(0x3f5),_0x57c2c4[_0x57c2c4[_0xfe7184(0x44d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x57c2c4[_0x57c2c4[_0xfe7184(0x3e9)]=0x271a]=_0xfe7184(0x3e9),_0x57c2c4[_0x57c2c4[_0xfe7184(0x3c8)]=0x271b]=_0xfe7184(0x3c8),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2d8)]=0x2af9]=_0xfe7184(0x2d8),_0x57c2c4[_0x57c2c4[_0xfe7184(0x4b5)]=0x2ee1]=_0xfe7184(0x4b5),_0x57c2c4[_0x57c2c4[_0xfe7184(0x35c)]=0x2ee2]=_0xfe7184(0x35c),_0x57c2c4[_0x57c2c4[_0xfe7184(0x29f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x57c2c4[_0x57c2c4['USER_NOT_INVITED_CODE']=0x2ee4]=_0xfe7184(0x496),_0x57c2c4[_0x57c2c4[_0xfe7184(0x4bf)]=0x2ee5]=_0xfe7184(0x4bf),_0x57c2c4[_0x57c2c4[_0xfe7184(0x4a8)]=0x32c9]=_0xfe7184(0x4a8),_0x57c2c4[_0x57c2c4[_0xfe7184(0x259)]=0x32ca]=_0xfe7184(0x259),_0x57c2c4[_0x57c2c4[_0xfe7184(0x295)]=0x32cb]=_0xfe7184(0x295),_0x57c2c4[_0x57c2c4['UNRECOGNIZED']=-0x1]=_0xfe7184(0x2ce),_0x57c2c4))(Si||{}),Q=(_0x166976=>(_0x166976[_0x166976['UNIVER_UNKNOWN']=0x0]=_0xfe7184(0x324),_0x166976[_0x166976['UNIVER_DOC']=0x1]=_0xfe7184(0x1c3),_0x166976[_0x166976[_0xfe7184(0x4c5)]=0x2]=_0xfe7184(0x4c5),_0x166976[_0x166976[_0xfe7184(0x418)]=0x3]=_0xfe7184(0x418),_0x166976[_0x166976['UNIVER_PROJECT']=0x4]=_0xfe7184(0x43c),_0x166976[_0x166976['UNRECOGNIZED']=-0x1]=_0xfe7184(0x2ce),_0x166976))(Q||{}),F=(_0x49194d=>(_0x49194d[_0x49194d[_0xfe7184(0x463)]=0x0]=_0xfe7184(0x463),_0x49194d[_0x49194d[_0xfe7184(0x1d1)]=0x1]=_0xfe7184(0x1d1),_0x49194d[_0x49194d[_0xfe7184(0x20a)]=0x2]='JOIN',_0x49194d[_0x49194d[_0xfe7184(0x39e)]=0x3]=_0xfe7184(0x39e),_0x49194d[_0x49194d[_0xfe7184(0x332)]=0x4]=_0xfe7184(0x332),_0x49194d[_0x49194d[_0xfe7184(0x1ff)]=0x5]=_0xfe7184(0x1ff),_0x49194d[_0x49194d['RECV']=0x6]=_0xfe7184(0x262),_0x49194d[_0x49194d[_0xfe7184(0x2ce)]=-0x1]=_0xfe7184(0x2ce),_0x49194d))(F||{}),ge=(_0xac524d=>(_0xac524d[_0xac524d['UNKNOWN_CODE']=0x0]=_0xfe7184(0x228),_0xac524d[_0xac524d['OK']=0x1]='OK',_0xac524d[_0xac524d[_0xfe7184(0x211)]=0x2]=_0xfe7184(0x211),_0xac524d[_0xac524d['JOIN_ROOM_FULL']=0x3e9]=_0xfe7184(0x1cd),_0xac524d[_0xac524d[_0xfe7184(0x20e)]=0x3ea]=_0xfe7184(0x20e),_0xac524d[_0xac524d['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0xfe7184(0x392),_0xac524d[_0xac524d['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xac524d[_0xac524d[_0xfe7184(0x2ce)]=-0x1]=_0xfe7184(0x2ce),_0xac524d))(ge||{}),Ei=(_0x2cfcc7=>(_0x2cfcc7[_0x2cfcc7['Undefined']=0x0]=_0xfe7184(0x229),_0x2cfcc7[_0x2cfcc7[_0xfe7184(0x242)]=0x1]=_0xfe7184(0x242),_0x2cfcc7[_0x2cfcc7['HttpExport']=0x2]='HttpExport',_0x2cfcc7[_0x2cfcc7['UnitEmbedded']=0x3]=_0xfe7184(0x3d4),_0x2cfcc7[_0x2cfcc7[_0xfe7184(0x32e)]=0x4]=_0xfe7184(0x32e),_0x2cfcc7[_0x2cfcc7[_0xfe7184(0x4b7)]=0x5]=_0xfe7184(0x4b7),_0x2cfcc7[_0x2cfcc7[_0xfe7184(0x2ce)]=-0x1]=_0xfe7184(0x2ce),_0x2cfcc7))(Ei||{});const q=_0xfe7184(0x275),wn={};var re=(_0x1c8c1c=>(_0x1c8c1c[_0xfe7184(0x3ef)]='OTHER_CLIENT_EDITING',_0x1c8c1c[_0xfe7184(0x207)]=_0xfe7184(0x207),_0x1c8c1c[_0xfe7184(0x434)]='CONFLICT',_0x1c8c1c[_0xfe7184(0x239)]=_0xfe7184(0x239),_0x1c8c1c['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x1c8c1c[_0xfe7184(0x426)]=_0xfe7184(0x426),_0x1c8c1c[_0xfe7184(0x480)]=_0xfe7184(0x480),_0x1c8c1c['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x1c8c1c))(re||{});class pe{constructor(){var _0x548014=_0xfe7184;N(this,_0x548014(0x30f),new _0xd7395f()),N(this,_0x548014(0x350),this[_0x548014(0x30f)]['asObservable']());}[_0xfe7184(0x32b)](_0x13d717){var _0x57723a=_0xfe7184;this[_0x57723a(0x30f)][_0x57723a(0x3c3)](_0x13d717);}}const Pn=_0x243a96('univer-pro.collaboration-client.network-condition.service');function Ln(_0x43f232){var _0x385490=_0xfe7184,_0x5d7f73,_0x46eb8f,_0x3ad8fd,_0x31651e,_0x4ea973;const _0x28d614=_0x43f232[_0x385490(0x48f)],_0x203f6c=JSON[_0x385490(0x3d8)](_0x28d614);switch(_0x203f6c['cmd']){case F[_0x385490(0x1ff)]:case F[_0x385490(0x1d1)]:{const _0x457f26=_0x203f6c[_0x385490(0x3c5)];return{..._0x203f6c,'data':_0x457f26,'cmd':_0x203f6c['cmd']};}case F[_0x385490(0x20a)]:{const _0x2366f6=_0x203f6c[_0x385490(0x464)];return{..._0x203f6c,'data':_0x2366f6,'cmd':_0x203f6c['cmd']};}case F['RECV']:{const _0x484df6=_0x203f6c[_0x385490(0x393)];switch(_0x484df6[_0x385490(0x4ce)]){case _0x12f734['PERMISSION_REJ']:return{..._0x203f6c,'data':{..._0x484df6,'data':(_0x5d7f73=_0x484df6[_0x385490(0x3b7)])==null?void 0x0:_0x5d7f73['cs']},'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x244)]:return{..._0x203f6c,'data':{..._0x484df6,'data':(_0x46eb8f=_0x484df6[_0x385490(0x1f2)])==null?void 0x0:_0x46eb8f['cs']},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x206)]:return{..._0x203f6c,'data':{..._0x484df6,'data':(_0x3ad8fd=_0x484df6[_0x385490(0x223)])==null?void 0x0:_0x3ad8fd['cs']},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x3bf)]:return{..._0x203f6c,'data':{..._0x484df6,'data':(_0x31651e=_0x484df6[_0x385490(0x327)])==null?void 0x0:_0x31651e['cs']},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x25c)]:return{..._0x203f6c,'data':{..._0x484df6,'data':(_0x4ea973=_0x484df6[_0x385490(0x3da)])==null?void 0x0:_0x4ea973['cs']},'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x489)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6['updateCursorEvent']},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734['USERS_ENTER']:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x1ef)]},'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x1f0)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x2a4)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x40d)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x492)]},'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x1d0)]:case _0x12f734[_0x385490(0x42d)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x356)]},'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x1d3)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x492)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x1e5)]:return{..._0x203f6c,'data':_0x484df6,'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x2ab)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x4c0)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734['UPDATE_PERMISSION_OBJ']:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x22c)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x458)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x1c0)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x349)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x290)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};default:return _0x203f6c;}}default:return _0x203f6c;}}function xn(_0x234f5a){var _0xaf82aa=_0xfe7184;switch(_0x234f5a[_0xaf82aa(0x2a8)]){case F[_0xaf82aa(0x1ff)]:case F['HELLO']:return JSON[_0xaf82aa(0x291)]({'cmd':_0x234f5a[_0xaf82aa(0x2a8)],'routeKey':_0x234f5a['routeKey']});case F[_0xaf82aa(0x332)]:{let _0x152637;switch(_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x4ce)]){case _0x12f734[_0xaf82aa(0x489)]:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x489)],'updateCursorEvent':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734['USERS_LEAVE']:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x1f0)],'leaveEvent':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734['USERS_ENTER']:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x432)],'joinEvent':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734[_0xaf82aa(0x40d)]:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x40d)],'liveShareNewHost':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734[_0xaf82aa(0x42d)]:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x42d)],'liveShareOperation':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734[_0xaf82aa(0x1d3)]:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x1d3)],'liveShareTerminate':_0x234f5a[_0xaf82aa(0x48f)]['data']};break;}case _0x12f734[_0xaf82aa(0x390)]:{_0x152637={'eventID':_0x12f734['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734[_0xaf82aa(0x1d0)]:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x1d0)]};break;}default:_0x152637={'eventID':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x4ce)]};}return JSON['stringify']({'cmd':_0x234f5a[_0xaf82aa(0x2a8)],'routeKey':_0x234f5a[_0xaf82aa(0x490)],'collaMsg':_0x152637});}case F['JOIN']:return JSON[_0xaf82aa(0x291)]({'cmd':_0x234f5a[_0xaf82aa(0x2a8)],'routeKey':_0x234f5a['routeKey'],'joinReq':_0x234f5a[_0xaf82aa(0x48f)]});case F[_0xaf82aa(0x39e)]:return JSON[_0xaf82aa(0x291)]({'cmd':_0x234f5a[_0xaf82aa(0x2a8)],'routeKey':_0x234f5a[_0xaf82aa(0x490)],'leaveReq':_0x234f5a[_0xaf82aa(0x48f)]});default:throw new Error(_0xaf82aa(0x4a7));}}var Mn=Object[_0xfe7184(0x4a2)],kn=(_0x2f8455,_0x2727b3,_0x430fa9,_0xf332ec)=>{for(var _0x526293=_0xf332ec>0x1?void 0x0:_0xf332ec?Mn(_0x2727b3,_0x430fa9):_0x2727b3,_0x4d1709=_0x2f8455['length']-0x1,_0x4ca148;_0x4d1709>=0x0;_0x4d1709--)(_0x4ca148=_0x2f8455[_0x4d1709])&&(_0x526293=_0x4ca148(_0x526293)||_0x526293);return _0x526293;},Ae=(_0x553bc6,_0x258a8f)=>(_0x1396f2,_0x4de627)=>_0x258a8f(_0x1396f2,_0x4de627,_0x553bc6);const Ii=_0x243a96(_0xfe7184(0x3e7));function $n(_0x3d5e8d,_0x31471e,_0x501e1f){var _0xc51223=_0xfe7184;return _0x3d5e8d+'/'+_0x31471e+_0xc51223(0x44f)+_0x501e1f+_0xc51223(0x2b5);}let Gt=class extends _0x293672{constructor(_0xb710cc,_0x19dedc,_0x2d1705,_0x501845,_0x5a5a7b){var _0x10c1d4=_0xfe7184;super(),this['_injector']=_0xb710cc,this[_0x10c1d4(0x3d2)]=_0x19dedc,this[_0x10c1d4(0x1fa)]=_0x2d1705,this[_0x10c1d4(0x1df)]=_0x501845,this[_0x10c1d4(0x248)]=_0x5a5a7b;}[_0xfe7184(0x41e)](_0x3a5c38){var _0x2249a9=_0xfe7184;const _0x1e561b=this[_0x2249a9(0x3e4)][_0x2249a9(0x404)](_0x59b4a9);if(!_0x1e561b)throw new Error(_0x2249a9(0x1f9));const _0x7d07c3=_0x1e561b[_0x2249a9(0x2f4)](_0x3a5c38);if(!_0x7d07c3)throw new Error(_0x2249a9(0x3db));const _0x3c400c=new _0x322283(),_0x4aed42=new _0xd7395f();_0x3c400c[_0x2249a9(0x3a9)](_0x7d07c3[_0x2249a9(0x343)]['subscribe'](_0x42ff57=>_0x4aed42[_0x2249a9(0x3c3)](_0x42ff57))),_0x3c400c[_0x2249a9(0x3a9)](_0x1261ab(()=>_0x4aed42[_0x2249a9(0x4c9)]()));const _0xd82946=new _0xd7395f();_0x3c400c[_0x2249a9(0x3a9)](_0x7d07c3[_0x2249a9(0x1fd)][_0x2249a9(0x26d)](_0x58c838=>_0xd82946['next'](_0x58c838))),_0x3c400c['add'](_0x1261ab(()=>_0xd82946['complete']()));const _0x48aecf=new _0xd7395f();_0x3c400c[_0x2249a9(0x3a9)](_0x7d07c3[_0x2249a9(0x1f6)][_0x2249a9(0x26d)](_0x27f367=>{var _0x33d3d3=_0x2249a9;const _0x12edce=Ln(_0x27f367);_0x48aecf[_0x33d3d3(0x3c3)](_0x12edce);})),_0x3c400c[_0x2249a9(0x3a9)](_0x1261ab(()=>_0x48aecf[_0x2249a9(0x4c9)]()));let _0x1b4694;const _0xe86089=()=>{var _0x143e4d=_0x2249a9;_0xd82946['next'](new Event(_0x143e4d(0x385))),_0x4aed42[_0x143e4d(0x3c3)](new Event('connection\x20error')),_0x1b4694[_0x143e4d(0x47d)]();};return _0x1b4694={'memberID':'','close$':_0x4aed42[_0x2249a9(0x3a8)](),'error$':_0xd82946[_0x2249a9(0x3a8)](),'open$':_0x7d07c3[_0x2249a9(0x48b)],'message$':_0x48aecf[_0x2249a9(0x3a8)](),'send':_0x219507=>{var _0x3ceb04=_0x2249a9;if(_0x219507[_0x3ceb04(0x2a8)]===F[_0x3ceb04(0x332)]){if(_0x219507[_0x3ceb04(0x48f)][_0x3ceb04(0x4ce)]===_0x12f734[_0x3ceb04(0x1cc)]){this[_0x3ceb04(0x2fd)](_0x1b4694,_0x219507['data'])[_0x3ceb04(0x455)](_0x342eeb=>{var _0x51253f=_0x3ceb04;this['_logService'][_0x51253f(0x21f)](_0x342eeb),_0xe86089();});return;}if(_0x219507[_0x3ceb04(0x48f)][_0x3ceb04(0x4ce)]===_0x12f734[_0x3ceb04(0x231)]){const _0x1f31cc=_0x219507[_0x3ceb04(0x48f)];this[_0x3ceb04(0x1ce)](_0x1f31cc)[_0x3ceb04(0x367)](_0x5774ff=>{var _0x3b12b8=_0x3ceb04;_0x48aecf[_0x3b12b8(0x3c3)]({'cmd':F[_0x3b12b8(0x262)],'code':ge['OK'],'routeKey':_0x1f31cc[_0x3b12b8(0x48f)]['unitID'],'routeType':'','data':{'eventID':_0x12f734[_0x3b12b8(0x378)],'data':{'changesets':_0x5774ff}}});})['catch'](_0xbf4580=>{var _0x29900e=_0x3ceb04;this['_logService'][_0x29900e(0x21f)](_0xbf4580),_0xe86089();});return;}}_0x7d07c3[_0x3ceb04(0x3a2)](xn(_0x219507));},'close':()=>{var _0xc31f3c=_0x2249a9;_0x7d07c3[_0xc31f3c(0x47d)](),_0x3c400c[_0xc31f3c(0x374)]();}},_0x1b4694;}async[_0xfe7184(0x2fd)](_0x301410,_0x59ccb1){var _0xfb713b=_0xfe7184,_0x337a00,_0x5a5b31;const {unitType:_0x1027aa,unitID:_0x13d250,changeset:_0xe53145}=_0x59ccb1['data'],_0x186a02={'unitID':_0x13d250,'memberID':_0x301410[_0xfb713b(0x3df)],'type':_0x1027aa,'changeset':_0x3c8545(_0xe53145)},_0x16b95f=this[_0xfb713b(0x1fa)][_0xfb713b(0x37f)](Nn),_0x38a7b4=this[_0xfb713b(0x1fa)][_0xfb713b(0x37f)](q),_0x4902da=$n((_0x5a5b31=(_0x337a00=_0x38a7b4==null?void 0x0:_0x38a7b4[_0xfb713b(0x204)])!=null?_0x337a00:_0x16b95f)!=null?_0x5a5b31:Dn,_0x1027aa,_0x13d250);try{await this['_httpService'][_0xfb713b(0x43a)](_0x4902da,{'body':_0x186a02});}catch(_0x4ca58c){throw this[_0xfb713b(0x1df)][_0xfb713b(0x21f)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x4ca58c;}}async[_0xfe7184(0x1ce)](_0x31d82a){var _0x2cd15=_0xfe7184;const {unitID:_0x344107,from:_0x1b3da6,to:_0x29bab6,unitType:_0x58868e}=_0x31d82a[_0x2cd15(0x48f)];return(await this[_0x2cd15(0x248)][_0x2cd15(0x270)]({'metadata':void 0x0},{'unitID':_0x344107,'type':_0x58868e,'from':_0x1b3da6,'to':_0x29bab6}))[_0x2cd15(0x484)];}};Gt=kn([Ae(0x0,_0x133e5e(_0x723ed9)),Ae(0x1,_0x133e5e(_0x44d219)),Ae(0x2,_0x2f38cd),Ae(0x3,_0x19ce75),Ae(0x4,_0x208e48)],Gt);const Hn=_0xfe7184(0x200);function Bn(_0x21caf7){var _0x4054fc=_0xfe7184;return JSON[_0x4054fc(0x291)](_0x21caf7)[_0x4054fc(0x44b)];}class Ti{constructor(){var _0x5d569f=_0xfe7184;N(this,'_commentUpdate$',new _0xd7395f()),N(this,'commentUpdate$',this[_0x5d569f(0x274)]['asObservable']());}[_0xfe7184(0x2ef)](_0x515ead){var _0x1dfd0c=_0xfe7184;this['_commentUpdate$'][_0x1dfd0c(0x3c3)](_0x515ead);}}var jn=Object[_0xfe7184(0x4a2)],Fn=(_0x2556a6,_0x3193f1,_0x59ce79,_0x468634)=>{var _0x5a8dcb=_0xfe7184;for(var _0x3bc406=_0x468634>0x1?void 0x0:_0x468634?jn(_0x3193f1,_0x59ce79):_0x3193f1,_0x4fe1c3=_0x2556a6[_0x5a8dcb(0x44b)]-0x1,_0x3c4e2b;_0x4fe1c3>=0x0;_0x4fe1c3--)(_0x3c4e2b=_0x2556a6[_0x4fe1c3])&&(_0x3bc406=_0x3c4e2b(_0x3bc406)||_0x3bc406);return _0x3bc406;},Wt=(_0x14bd5c,_0x48e0bb)=>(_0x1f78a9,_0x83b5ea)=>_0x48e0bb(_0x1f78a9,_0x83b5ea,_0x14bd5c);let Le=class extends _0x293672{constructor(_0x31c85f,_0x37e094){var _0x2f90e2=_0xfe7184;super(),N(this,'_roomMembers',new Map()),N(this,_0x2f90e2(0x4b3),new _0xd7395f()),(this[_0x2f90e2(0x439)]=_0x31c85f,this[_0x2f90e2(0x316)]=_0x37e094,this[_0x2f90e2(0x2d3)](_0x4ef3f9(this[_0x2f90e2(0x439)][_0x2f90e2(0x27f)](_0x22def0[_0x2f90e2(0x4c5)])[_0x2f90e2(0x400)](_0x4851a7(_0x32c4ac=>_0x32c4ac[_0x2f90e2(0x340)]())),this[_0x2f90e2(0x439)][_0x2f90e2(0x27f)](_0x22def0[_0x2f90e2(0x1c3)])[_0x2f90e2(0x400)](_0x4851a7(_0xece7c1=>_0xece7c1[_0x2f90e2(0x340)]())),this[_0x2f90e2(0x439)][_0x2f90e2(0x27f)](_0x22def0['UNIVER_SLIDE'])[_0x2f90e2(0x400)](_0x4851a7(_0x49d215=>_0x49d215[_0x2f90e2(0x340)]())))[_0x2f90e2(0x26d)](_0x455035=>this['_removeRoom'](_0x455035))));}[_0xfe7184(0x319)](_0x19646c){var _0x919005=_0xfe7184;return this[_0x919005(0x4cc)][_0x919005(0x21d)](_0x19646c)?_0x52f9c6(this[_0x919005(0x4cc)][_0x919005(0x404)](_0x19646c)):this[_0x919005(0x4b3)]['pipe'](_0x4851a7(_0x228dab=>{if(_0x228dab===_0x19646c)return this['_roomMembers']['get'](_0x228dab);}));}[_0xfe7184(0x251)](_0x45addd){var _0xd13edc=_0xfe7184;this[_0xd13edc(0x316)][_0xd13edc(0x251)](_0x45addd);}[_0xfe7184(0x3de)](){var _0x4a5a79=_0xfe7184;return this['_userManagerService'][_0x4a5a79(0x3de)]();}[_0xfe7184(0x216)](_0x553ee9,_0x90fb4){var _0x12820a=_0xfe7184;let _0x3b4f8f=this['_roomMembers'][_0x12820a(0x404)](_0x553ee9);_0x3b4f8f||(_0x3b4f8f=new Vn(),this['_roomMembers'][_0x12820a(0x3b6)](_0x553ee9,_0x3b4f8f),this[_0x12820a(0x4b3)]['next'](_0x553ee9)),_0x3b4f8f['updateMember'](_0x90fb4);}[_0xfe7184(0x2ae)](_0x1bc883,_0x2bc9b1){var _0x52941d=_0xfe7184;const _0x4c0a84=this[_0x52941d(0x4cc)][_0x52941d(0x404)](_0x1bc883);_0x4c0a84&&_0x4c0a84[_0x52941d(0x2ae)](_0x2bc9b1);}[_0xfe7184(0x389)](_0x34a6a1){var _0xf4d034=_0xfe7184;return this[_0xf4d034(0x4cc)][_0xf4d034(0x404)](_0x34a6a1);}[_0xfe7184(0x3f8)](_0x491580,_0x3bf5e2){var _0x9d0ad7=_0xfe7184;const _0x360cba=this[_0x9d0ad7(0x4cc)][_0x9d0ad7(0x404)](_0x491580);if(_0x360cba)return _0x360cba['getMember'](_0x3bf5e2);}[_0xfe7184(0x209)](_0x18d067){var _0x3c1466=_0xfe7184;const _0x1a607a=this[_0x3c1466(0x4cc)][_0x3c1466(0x404)](_0x18d067);_0x1a607a&&(_0x1a607a[_0x3c1466(0x374)](),this[_0x3c1466(0x4cc)][_0x3c1466(0x38e)](_0x18d067));}[_0xfe7184(0x374)](){var _0x1914d5=_0xfe7184;this[_0x1914d5(0x4cc)][_0x1914d5(0x1c9)](_0x59168d=>_0x59168d['dispose']()),this[_0x1914d5(0x4cc)]['clear'](),this[_0x1914d5(0x4b3)][_0x1914d5(0x4c9)]();}};Le=Fn([Wt(0x0,_0x169db5),Wt(0x1,_0x133e5e(_0x38d7df))],Le);class Vn extends _0x293672{constructor(){var _0x10e996=_0xfe7184;super(...arguments),N(this,_0x10e996(0x4a3),new Map()),N(this,'_members$',new _0x21c115(this[_0x10e996(0x4a3)])),N(this,'members$',this[_0x10e996(0x1fc)][_0x10e996(0x3a8)]());}['dispose'](){var _0x5769d9=_0xfe7184;this[_0x5769d9(0x4a3)][_0x5769d9(0x3fa)]();}[_0xfe7184(0x216)](_0x529638){var _0x3885a9=_0xfe7184;this['_members'][_0x3885a9(0x3b6)](_0x529638['memberID'],_0x529638),this[_0x3885a9(0x341)]();}[_0xfe7184(0x2ae)](_0x36b5a8){var _0x563022=_0xfe7184;this['_members'][_0x563022(0x38e)](_0x36b5a8);}[_0xfe7184(0x3f8)](_0xa31f9b){var _0x2505e7=_0xfe7184;return this['_members'][_0x2505e7(0x404)](_0xa31f9b);}[_0xfe7184(0x31f)](){var _0x2f4857=_0xfe7184;return Array['from'](this[_0x2f4857(0x4a3)][_0x2f4857(0x363)]());}[_0xfe7184(0x341)](){var _0x1148ad=_0xfe7184;this[_0x1148ad(0x1fc)][_0x1148ad(0x3c3)](this[_0x1148ad(0x4a3)]);}}var Gn=Object['getOwnPropertyDescriptor'],Wn=(_0x30050b,_0xc7816b,_0x50b8e3,_0x3f0cdf)=>{for(var _0x95de2b=_0x3f0cdf>0x1?void 0x0:_0x3f0cdf?Gn(_0xc7816b,_0x50b8e3):_0xc7816b,_0x712f49=_0x30050b['length']-0x1,_0x8d4236;_0x712f49>=0x0;_0x712f49--)(_0x8d4236=_0x30050b[_0x712f49])&&(_0x95de2b=_0x8d4236(_0x95de2b)||_0x95de2b);return _0x95de2b;},me=(_0x589e54,_0x1793a1)=>(_0xc89bd6,_0x52432b)=>_0x1793a1(_0xc89bd6,_0x52432b,_0x589e54),Ee=(_0x115c3a=>(_0x115c3a[_0x115c3a[_0xfe7184(0x213)]=0x0]=_0xfe7184(0x213),_0x115c3a[_0x115c3a[_0xfe7184(0x47c)]=0x1]='JOINING',_0x115c3a[_0x115c3a['OFFLINE']=0x2]=_0xfe7184(0x3ea),_0x115c3a[_0x115c3a[_0xfe7184(0x336)]=0x3]='ONLINE',_0x115c3a))(Ee||{});const Kt={[ge[_0xfe7184(0x211)]]:_0xfe7184(0x306),[ge['JOIN_ROOM_FULL']]:'session.room-full',[ge['JOIN_ROOM_NOT_EXISTS']]:_0xfe7184(0x292),[ge[_0xfe7184(0x392)]]:_0xfe7184(0x317),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0xfe7184(0x25b)};let Et=class extends _0x1f9410{constructor(_0xf88fa8,_0x18b709,_0x27116b,_0x9e6ed7,_0x146238,_0x477fd3,_0x41d71c,_0x501a37,_0xa4c052){var _0x8ea665=_0xfe7184;super(),N(this,_0x8ea665(0x208),new _0x21c115(0x0)),N(this,_0x8ea665(0x24a),this[_0x8ea665(0x208)][_0x8ea665(0x3a8)]()),N(this,_0x8ea665(0x30f),new _0xd7395f()),N(this,_0x8ea665(0x350),this[_0x8ea665(0x30f)][_0x8ea665(0x3a8)]()),N(this,'_socket'),N(this,_0x8ea665(0x2fe)),N(this,_0x8ea665(0x46b)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x8ea665(0x20c),null),(this[_0x8ea665(0x4a4)]=_0xf88fa8,this[_0x8ea665(0x1df)]=_0x27116b,this[_0x8ea665(0x1fa)]=_0x9e6ed7,this['_localeService']=_0x146238,this[_0x8ea665(0x4ba)]=_0x477fd3,this[_0x8ea665(0x3f3)]=_0x41d71c,this['_collaborationUIEventService']=_0x501a37,this['_telemetryService']=_0xa4c052,this[_0x8ea665(0x297)]=!!this[_0x8ea665(0x2c1)],_0x18b709['pipe'](_0x1bbb70(this['dispose$']))[_0x8ea665(0x26d)](_0x4707bc=>{var _0x2e90db=_0x8ea665,_0x725ab1;typeof _0x4707bc>'u'||(this[_0x2e90db(0x487)]=_0x4707bc,_0x4707bc?(this[_0x2e90db(0x2bb)](_0x4707bc),this[_0x2e90db(0x2fe)]=_0x4707bc[_0x2e90db(0x1f6)][_0x2e90db(0x26d)](_0x545ffe=>{var _0x104407=_0x2e90db;_0x545ffe[_0x104407(0x490)]===this[_0x104407(0x4a4)]&&this['_onCombEvent'](_0x545ffe);})):(this[_0x2e90db(0x37e)](),this[_0x2e90db(0x208)][_0x2e90db(0x3c3)](0x2),(_0x725ab1=this[_0x2e90db(0x2fe)])==null||_0x725ab1[_0x2e90db(0x225)](),this['_socketMessageSubscription']=null));}));}get[_0xfe7184(0x2e0)](){var _0x54bb52=_0xfe7184;return this[_0x54bb52(0x208)][_0x54bb52(0x2b8)]();}[_0xfe7184(0x226)](){var _0x1346cc=_0xfe7184,_0x133b41,_0x8ab2f1;return(_0x8ab2f1=(_0x133b41=this[_0x1346cc(0x487)])==null?void 0x0:_0x133b41['memberID'])!=null?_0x8ab2f1:null;}[_0xfe7184(0x374)](){var _0x32f3df=_0xfe7184;super['dispose'](),this[_0x32f3df(0x27c)][_0x32f3df(0x3c3)](),this['dispose$'][_0x32f3df(0x4c9)]();}[_0xfe7184(0x47d)](){var _0x59e805=_0xfe7184,_0x1b9a0e,_0x48567d;this[_0x59e805(0x37e)](),(_0x1b9a0e=this[_0x59e805(0x487)])==null||_0x1b9a0e[_0x59e805(0x3a2)]({'cmd':F[_0x59e805(0x39e)],'data':{'roomID':this['_unitID']}}),(_0x48567d=this['_socket'])==null||_0x48567d[_0x59e805(0x47d)](),this[_0x59e805(0x30f)][_0x59e805(0x4c9)](),this['_sessionStatus$'][_0x59e805(0x4c9)](),this[_0x59e805(0x374)]();}[_0xfe7184(0x449)](_0x3ae47f){var _0x4abe9a=_0xfe7184;_0x3ae47f[_0x4abe9a(0x2a8)]===F[_0x4abe9a(0x20a)]?this['_onJoinRoomEvent'](_0x3ae47f):_0x3ae47f[_0x4abe9a(0x2a8)]===F['RECV']&&this['_onRecvEvent'](_0x3ae47f);}[_0xfe7184(0x2bb)](_0x24e358){var _0x51152b=_0xfe7184;this[_0x51152b(0x208)][_0x51152b(0x3c3)](0x1),_0x24e358['send']({'cmd':F['JOIN'],'routeKey':this[_0x51152b(0x4a4)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x2ef0ee){var _0x310046=_0xfe7184,_0x5efaa4;if(_0x2ef0ee[_0x310046(0x2cf)]in Kt){this[_0x310046(0x384)][_0x310046(0x32b)]({'id':re['JOIN_ROOM_FAILED'],'data':Kt[_0x2ef0ee[_0x310046(0x2cf)]]}),this[_0x310046(0x208)]['next'](0x2);return;}this[_0x310046(0x208)][_0x310046(0x3c3)](0x3);const _0x34923d=(_0x5efaa4=_0x2ef0ee['data'][_0x310046(0x4a1)][this[_0x310046(0x4a4)]])==null?void 0x0:_0x5efaa4[_0x310046(0x2b7)];_0x34923d&&_0x34923d['forEach'](_0x4e16ee=>this[_0x310046(0x4ba)][_0x310046(0x216)](this[_0x310046(0x4a4)],_0x4e16ee));}[_0xfe7184(0x453)](_0x2eb445){var _0x486dee=_0xfe7184;try{const _0x4c10a9=_0x2eb445['data'];switch(_0x4c10a9['eventID']){case _0x12f734[_0x486dee(0x432)]:this[_0x486dee(0x2fb)](_0x4c10a9),this[_0x486dee(0x30f)][_0x486dee(0x3c3)](_0x4c10a9);break;case _0x12f734[_0x486dee(0x1f0)]:this[_0x486dee(0x224)](_0x4c10a9),this[_0x486dee(0x30f)][_0x486dee(0x3c3)](_0x4c10a9);break;case _0x12f734[_0x486dee(0x244)]:case _0x12f734[_0x486dee(0x25c)]:this[_0x486dee(0x31e)](),this['_clearCollaborationTimeoutTimer'](),this[_0x486dee(0x30f)][_0x486dee(0x3c3)](_0x4c10a9);break;case _0x12f734[_0x486dee(0x1e5)]:this[_0x486dee(0x1df)][_0x486dee(0x21f)](_0x486dee(0x2c9)+JSON[_0x486dee(0x291)](_0x4c10a9)),this[_0x486dee(0x30f)][_0x486dee(0x3c3)](_0x4c10a9);break;case _0x12f734[_0x486dee(0x2ab)]:this[_0x486dee(0x3f3)][_0x486dee(0x2ef)](_0x4c10a9[_0x486dee(0x48f)]),this[_0x486dee(0x30f)][_0x486dee(0x3c3)](_0x4c10a9);break;default:this['_event$']['next'](_0x4c10a9);}}catch(_0xabcbb9){this[_0x486dee(0x1df)]['error'](_0xabcbb9,_0x2eb445);}}[_0xfe7184(0x2fb)](_0xef75ac){var _0x497abc=_0xfe7184;this[_0x497abc(0x4ba)][_0x497abc(0x216)](this[_0x497abc(0x4a4)],_0xef75ac[_0x497abc(0x48f)]);}['_onUserLeave'](_0x1ed2dc){var _0x589bd1=_0xfe7184;this[_0x589bd1(0x4ba)][_0x589bd1(0x2ae)](this['_unitID'],_0x1ed2dc[_0x589bd1(0x48f)]['memberID']);}async[_0xfe7184(0x3a2)](_0x1e1e57,_0x300048){var _0x552a49=_0xfe7184;if(this[_0x552a49(0x2e0)]!==0x3||!this[_0x552a49(0x487)])throw new Error(_0x552a49(0x3fd));try{_0x1e1e57[_0x552a49(0x4ce)]===_0x12f734['SUBMIT_CHANGESET']&&(this[_0x552a49(0x3b2)](),this[_0x552a49(0x4cd)](_0x1e1e57)),this['_socket'][_0x552a49(0x3a2)]({'cmd':F[_0x552a49(0x332)],'routeKey':_0x300048,'routeType':'','data':_0x1e1e57});}catch(_0x593459){this['_logService'][_0x552a49(0x21f)](_0x593459);}}[_0xfe7184(0x3b2)](){var _0x155b1d=_0xfe7184,_0x4fe5e3;this[_0x155b1d(0x46b)]=setTimeout(()=>{var _0x11eccb=_0x155b1d;this[_0x11eccb(0x46b)]=null,this['_collaborationUIEventService'][_0x11eccb(0x32b)]({'id':re[_0x11eccb(0x285)]});},(_0x4fe5e3=this[_0x155b1d(0x1fa)][_0x155b1d(0x37f)](mi))!=null?_0x4fe5e3:gi);}['_clearCollaborationTimeoutTimer'](){var _0x1cea1c=_0xfe7184;this[_0x1cea1c(0x46b)]&&(clearTimeout(this[_0x1cea1c(0x46b)]),this['_collaborationTimeoutTimer']=null);}[_0xfe7184(0x4cd)](_0x26b894){var _0x4dca1a=_0xfe7184;if(!this['_shouldReportTelemetry'])return;const {data:_0x28b36c}=_0x26b894,{unitID:_0x8a2b46,changeset:_0x1aedd6}=_0x28b36c,{mutations:_0x3c0900,type:_0x4e483b}=_0x1aedd6;this[_0x4dca1a(0x20c)]={'unitId':_0x8a2b46,'type':_0x4e483b,'startTime':performance[_0x4dca1a(0x3ac)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x3c0900)};}[_0xfe7184(0x31e)](){var _0x1d788e=_0xfe7184;if(this[_0x1d788e(0x297)]){if(!this[_0x1d788e(0x20c)]){this[_0x1d788e(0x1df)]['error'](_0x1d788e(0x2dc),_0x1d788e(0x303));return;}this['_telemetryInfo'][_0x1d788e(0x41c)]=performance[_0x1d788e(0x3ac)](),this[_0x1d788e(0x20c)][_0x1d788e(0x308)]=this[_0x1d788e(0x20c)][_0x1d788e(0x41c)]-this[_0x1d788e(0x20c)][_0x1d788e(0x470)],this[_0x1d788e(0x2c1)][_0x1d788e(0x473)](Hn,this[_0x1d788e(0x20c)]),this[_0x1d788e(0x20c)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x19ce75),me(0x3,_0x2f38cd),me(0x4,_0x133e5e(_0x20ed6b)),me(0x5,_0x133e5e(Le)),me(0x6,_0x133e5e(Ti)),me(0x7,_0x133e5e(pe)),me(0x8,_0x5db4e2(_0x5c0048))],Et);var Kn=Object[_0xfe7184(0x4a2)],Yn=(_0x3d87f0,_0x5a80d8,_0x4b23ad,_0x3edd87)=>{var _0x523284=_0xfe7184;for(var _0xb7feb6=_0x3edd87>0x1?void 0x0:_0x3edd87?Kn(_0x5a80d8,_0x4b23ad):_0x5a80d8,_0x36761a=_0x3d87f0[_0x523284(0x44b)]-0x1,_0x246a79;_0x36761a>=0x0;_0x36761a--)(_0x246a79=_0x3d87f0[_0x36761a])&&(_0xb7feb6=_0x246a79(_0xb7feb6)||_0xb7feb6);return _0xb7feb6;},be=(_0x4916c2,_0x533a9f)=>(_0x23d135,_0x848a09)=>_0x533a9f(_0x23d135,_0x848a09,_0x4916c2);let xe=class extends _0x293672{constructor(_0x2cb925,_0x2976ae,_0x188066,_0xbfb44,_0x34b0ee,_0x407022){var _0x10bb6e=_0xfe7184;super(),N(this,_0x10bb6e(0x43f),new _0x21c115(void 0x0)),N(this,_0x10bb6e(0x2f5),this['_socket$'][_0x10bb6e(0x3a8)]()),N(this,_0x10bb6e(0x4a9),null),N(this,'_sessions',new Map()),N(this,_0x10bb6e(0x4cb),new _0x21c115(Ee[_0x10bb6e(0x213)])),N(this,_0x10bb6e(0x45b),this[_0x10bb6e(0x4cb)][_0x10bb6e(0x3a8)]()),N(this,_0x10bb6e(0x3cf),!0x1),N(this,_0x10bb6e(0x460)),N(this,'_retryCount',0x0),N(this,_0x10bb6e(0x21e)),N(this,_0x10bb6e(0x49f)),(this[_0x10bb6e(0x3e4)]=_0x2cb925,this[_0x10bb6e(0x1df)]=_0x2976ae,this['_configService']=_0x188066,this[_0x10bb6e(0x282)]=_0xbfb44,this[_0x10bb6e(0x384)]=_0x34b0ee,this[_0x10bb6e(0x22e)]=_0x407022,this['_listenToNetworkCondition']());}get[_0xfe7184(0x487)](){var _0xe394e8=_0xfe7184;return this[_0xe394e8(0x43f)][_0xe394e8(0x2b8)]();}[_0xfe7184(0x264)](){var _0x3d5b16=_0xfe7184;this['_networkConditionService']&&this[_0x3d5b16(0x2d3)](this[_0x3d5b16(0x22e)][_0x3d5b16(0x25a)]['subscribe'](_0x19d112=>{var _0x57a01b=_0x3d5b16;_0x19d112&&!this[_0x57a01b(0x487)]&&this[_0x57a01b(0x416)](),_0x19d112||this['_onOffline']();}));}[_0xfe7184(0x374)](){var _0x1a3bd7=_0xfe7184;super[_0x1a3bd7(0x374)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x1a3bd7(0x1c9)](_0x2238e3=>_0x2238e3[_0x1a3bd7(0x374)]()),this[_0x1a3bd7(0x42b)][_0x1a3bd7(0x3fa)](),this[_0x1a3bd7(0x4cb)][_0x1a3bd7(0x4c9)]();}async['requireSession'](_0xc38e21){var _0x254377=_0xfe7184;if(this[_0x254377(0x42b)][_0x254377(0x21d)](_0xc38e21))return this[_0x254377(0x42b)][_0x254377(0x404)](_0xc38e21);this[_0x254377(0x410)]();const _0x2bbc64=this['_injector'][_0x254377(0x1e8)](Et,_0xc38e21,this[_0x254377(0x43f)]['asObservable']());return this['_sessions'][_0x254377(0x3b6)](_0xc38e21,_0x2bbc64),_0x2bbc64;}[_0xfe7184(0x4b0)](_0x5391cd){var _0x3d97eb=_0xfe7184,_0x3f80e3;const _0x3d70e4=this[_0x3d97eb(0x42b)][_0x3d97eb(0x404)](_0x5391cd);_0x3d70e4&&(this[_0x3d97eb(0x42b)][_0x3d97eb(0x38e)](_0x5391cd),_0x3d70e4['close']()),this[_0x3d97eb(0x42b)][_0x3d97eb(0x399)]||(_0x3f80e3=this[_0x3d97eb(0x487)])==null||_0x3f80e3[_0x3d97eb(0x47d)]();}[_0xfe7184(0x416)](){var _0x4c5e18=_0xfe7184;this[_0x4c5e18(0x28e)]=0x0,this[_0x4c5e18(0x45a)](),this[_0x4c5e18(0x395)]();}['_clearRetryConnectingTimer'](){var _0x4bf0e9=_0xfe7184;this[_0x4bf0e9(0x460)]!=null&&(clearTimeout(this[_0x4bf0e9(0x460)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x20f4c7=_0xfe7184,_0x2e19f2,_0x797a48;const _0x574bf1=this[_0x20f4c7(0x1fa)][_0x20f4c7(0x37f)](In),_0x5ced36=this['_configService'][_0x20f4c7(0x37f)](q),_0x238888=(_0x797a48=(_0x2e19f2=_0x5ced36==null?void 0x0:_0x5ced36[_0x20f4c7(0x2b6)])!=null?_0x2e19f2:_0x574bf1)!=null?_0x797a48:Tn,_0x5f2e1c=await this[_0x20f4c7(0x282)][_0x20f4c7(0x2f4)](_0x238888);return this[_0x20f4c7(0x4a9)]=_0x5f2e1c,_0x5f2e1c;}async[_0xfe7184(0x410)](){var _0x1ea4ce=_0xfe7184,_0x3f8718,_0x262dec;try{const _0x19b306=(_0x262dec=(_0x3f8718=this[_0x1ea4ce(0x487)])!=null?_0x3f8718:this[_0x1ea4ce(0x4a9)])!=null?_0x262dec:await this[_0x1ea4ce(0x302)]();if(_0x19b306){const _0x3884a6=_0x19b306[_0x1ea4ce(0x3a2)];_0x19b306[_0x1ea4ce(0x3a2)]=_0x421f28=>(this[_0x1ea4ce(0x24e)](),_0x3884a6[_0x1ea4ce(0x486)](_0x19b306,[_0x421f28])),_0x19b306[_0x1ea4ce(0x1f6)]['subscribe'](_0x19c0c4=>this['_onMessage'](_0x19b306,_0x19c0c4)),_0x19b306[_0x1ea4ce(0x1fd)][_0x1ea4ce(0x400)](_0x15a9bb(0x1))[_0x1ea4ce(0x26d)](_0x3cb7bc=>this[_0x1ea4ce(0x1df)][_0x1ea4ce(0x21f)](_0x1ea4ce(0x36a),_0x3cb7bc)),_0x19b306[_0x1ea4ce(0x48b)]['pipe'](_0x15a9bb(0x1))['subscribe'](()=>{var _0x3e028a=_0x1ea4ce;this[_0x3e028a(0x28c)](_0x19b306);}),_0x19b306[_0x1ea4ce(0x343)][_0x1ea4ce(0x400)](_0x15a9bb(0x1))[_0x1ea4ce(0x26d)](_0x5bbf71=>{var _0x43a5b7=_0x1ea4ce;this['_logService'][_0x43a5b7(0x240)](_0x43a5b7(0x2df),_0x43a5b7(0x2ff),_0x5bbf71),this[_0x43a5b7(0x2ca)]();});}}catch(_0x40065a){this[_0x1ea4ce(0x1df)][_0x1ea4ce(0x21f)](_0x40065a),this['_onConnectionFailed']();}}[_0xfe7184(0x28c)](_0x10a710){var _0x2d390f=_0xfe7184;this['_logService'][_0x2d390f(0x240)](_0x2d390f(0x2df),'socket\x20open.'),_0x10a710[_0x2d390f(0x3a2)]({'cmd':F[_0x2d390f(0x1d1)]}),this[_0x2d390f(0x24e)]();}[_0xfe7184(0x1c2)](){var _0x1e86f4=_0xfe7184;this[_0x1e86f4(0x3cf)]=!0x1,this[_0x1e86f4(0x4a9)]=null,this[_0x1e86f4(0x4cb)][_0x1e86f4(0x3c3)](Ee[_0x1e86f4(0x3ea)]),this[_0x1e86f4(0x43f)]['next'](null),this['_clearTimeoutTimer'](),this[_0x1e86f4(0x30d)]();}[_0xfe7184(0x2ca)](){var _0x19dc4f=_0xfe7184,_0x10c191;this[_0x19dc4f(0x1c2)](),this[_0x19dc4f(0x28e)]<((_0x10c191=this['_configService']['getConfig'](On))!=null?_0x10c191:yn)?(this[_0x19dc4f(0x384)][_0x19dc4f(0x32b)]({'id':re[_0x19dc4f(0x426)]}),this[_0x19dc4f(0x395)]()):this[_0x19dc4f(0x384)]['emitEvent']({'id':re[_0x19dc4f(0x480)]});}[_0xfe7184(0x395)](){var _0x5a2b2e=_0xfe7184,_0x165510;const _0xf9b593=this[_0x5a2b2e(0x28e)],_0x4ae865=this[_0x5a2b2e(0x1fa)]['getConfig'](q),_0x53b50b=_0xf9b593===0x0?0x0:((_0x165510=_0x4ae865==null?void 0x0:_0x4ae865[_0x5a2b2e(0x2b3)])!=null?_0x165510:bn)*0x2**_0xf9b593;this[_0x5a2b2e(0x460)]=setTimeout(()=>{var _0x51eca2=_0x5a2b2e;clearTimeout(this[_0x51eca2(0x460)]),this[_0x51eca2(0x460)]=null,this[_0x51eca2(0x410)]();},_0x53b50b),this[_0x5a2b2e(0x28e)]+=0x1;}[_0xfe7184(0x2f1)](_0x4cc695,_0x2240f7){var _0x2d7402=_0xfe7184;const {cmd:_0x374199}=_0x2240f7;_0x374199===F[_0x2d7402(0x1d1)]&&!this[_0x2d7402(0x3cf)]&&(_0x4cc695[_0x2d7402(0x3df)]=_0x2240f7[_0x2d7402(0x48f)][_0x2d7402(0x3df)],this[_0x2d7402(0x43f)][_0x2d7402(0x3c3)](_0x4cc695),this['_status$'][_0x2d7402(0x3c3)](Ee[_0x2d7402(0x336)]),this[_0x2d7402(0x3cf)]=!0x0,this['_candidateSocket']=null),_0x374199===F[_0x2d7402(0x1ff)]&&this[_0x2d7402(0x21a)](),this[_0x2d7402(0x24e)]();}['_rescheduleHeartbeat'](){var _0x2c9e4e=_0xfe7184,_0x306632;this[_0x2c9e4e(0x30d)](),this[_0x2c9e4e(0x21e)]=setTimeout(()=>this[_0x2c9e4e(0x441)](),(_0x306632=this[_0x2c9e4e(0x1fa)][_0x2c9e4e(0x37f)](Cn))!=null?_0x306632:Rn);}[_0xfe7184(0x441)](){var _0x474704=_0xfe7184;this['_socket'][_0x474704(0x3a2)]({'cmd':F[_0x474704(0x1ff)]}),this[_0x474704(0x32d)]();}[_0xfe7184(0x32d)](){var _0x58c40b=_0xfe7184,_0x4b2ace;this[_0x58c40b(0x49f)]=setTimeout(()=>this[_0x58c40b(0x2ca)](),(_0x4b2ace=this[_0x58c40b(0x1fa)][_0x58c40b(0x37f)](mi))!=null?_0x4b2ace:gi);}[_0xfe7184(0x30d)](){var _0x51824a=_0xfe7184;this[_0x51824a(0x21e)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x380869=_0xfe7184;this[_0x380869(0x49f)]!=null&&(clearTimeout(this[_0x380869(0x49f)]),this[_0x380869(0x49f)]=null);}};xe=Yn([be(0x0,_0x133e5e(_0x723ed9)),be(0x1,_0x19ce75),be(0x2,_0x2f38cd),be(0x3,Ii),be(0x4,_0x133e5e(pe)),be(0x5,_0x5db4e2(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0xfe7184(0x3ca)]((t+0x100)[_0xfe7184(0x1e6)](0x10)[_0xfe7184(0x4a6)](0x1));function qn(_0x14b88b,_0x3c02bb=0x0){return(V[_0x14b88b[_0x3c02bb+0x0]]+V[_0x14b88b[_0x3c02bb+0x1]]+V[_0x14b88b[_0x3c02bb+0x2]]+V[_0x14b88b[_0x3c02bb+0x3]]+'-'+V[_0x14b88b[_0x3c02bb+0x4]]+V[_0x14b88b[_0x3c02bb+0x5]]+'-'+V[_0x14b88b[_0x3c02bb+0x6]]+V[_0x14b88b[_0x3c02bb+0x7]]+'-'+V[_0x14b88b[_0x3c02bb+0x8]]+V[_0x14b88b[_0x3c02bb+0x9]]+'-'+V[_0x14b88b[_0x3c02bb+0xa]]+V[_0x14b88b[_0x3c02bb+0xb]]+V[_0x14b88b[_0x3c02bb+0xc]]+V[_0x14b88b[_0x3c02bb+0xd]]+V[_0x14b88b[_0x3c02bb+0xe]]+V[_0x14b88b[_0x3c02bb+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x7e8fa4=_0xfe7184;if(!ut){if(typeof crypto>'u'||!crypto[_0x7e8fa4(0x32f)])throw new Error(_0x7e8fa4(0x429));ut=crypto[_0x7e8fa4(0x32f)][_0x7e8fa4(0x235)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0xfe7184(0x24f)]&&crypto[_0xfe7184(0x24f)][_0xfe7184(0x235)](crypto),Yt={'randomUUID':Xn};function Zn(_0x3f020e,_0x200985,_0x422d4f){var _0x5b4b3a=_0xfe7184,_0x20768f,_0xcc5fe4,_0x565a8d;if(Yt['randomUUID']&&!_0x3f020e)return Yt[_0x5b4b3a(0x24f)]();_0x3f020e=_0x3f020e||{};const _0x507cc8=(_0x565a8d=(_0xcc5fe4=_0x3f020e[_0x5b4b3a(0x4c2)])!=null?_0xcc5fe4:(_0x20768f=_0x3f020e[_0x5b4b3a(0x35f)])==null?void 0x0:_0x20768f[_0x5b4b3a(0x48d)](_0x3f020e))!=null?_0x565a8d:Jn();if(_0x507cc8['length']<0x10)throw new Error(_0x5b4b3a(0x413));return _0x507cc8[0x6]=_0x507cc8[0x6]&0xf|0x40,_0x507cc8[0x8]=_0x507cc8[0x8]&0x3f|0x80,qn(_0x507cc8);}const J=_0x243a96(_0xfe7184(0x4ad));function Br(_0x2708dd){var _0x2a5244=_0xfe7184;return _0x2a5244(0x2b4)+_0x2708dd;}var Qn=Object[_0xfe7184(0x4a2)],es=(_0x2d9b94,_0x4b029a,_0xcc2a0b,_0x174128)=>{for(var _0x890539=_0x174128>0x1?void 0x0:_0x174128?Qn(_0x4b029a,_0xcc2a0b):_0x4b029a,_0x408e01=_0x2d9b94['length']-0x1,_0x4b5aaa;_0x408e01>=0x0;_0x408e01--)(_0x4b5aaa=_0x2d9b94[_0x408e01])&&(_0x890539=_0x4b5aaa(_0x890539)||_0x890539);return _0x890539;},dt=(_0x14ee9b,_0x36a64d)=>(_0x1f7710,_0x27bb4c)=>_0x36a64d(_0x1f7710,_0x27bb4c,_0x14ee9b);function ts(_0x49f3b9){var _0x8e950=_0xfe7184;const {unitID:_0xfd2ec,mutations:_0xad38b7}=_0x49f3b9;return{'unitId':_0xfd2ec,'subUnitId':_0xad38b7[0x0][_0x8e950(0x300)]['subUnitId']};}let it=class{constructor(_0xa3fff6,_0x406022,_0x411b47){var _0x2781b2=_0xfe7184;this[_0x2781b2(0x3e4)]=_0xa3fff6,this[_0x2781b2(0x2c7)]=_0x406022,this[_0x2781b2(0x2d4)]=_0x411b47;}[_0xfe7184(0x280)](_0x2528c6){var _0x2d0edd=_0xfe7184,_0x2bd6f6,_0x3254f6,_0x378968,_0x303947;const _0x1f9000=this['_injector'][_0x2d0edd(0x404)](_0x536894),{unitId:_0x370e9d,subUnitId:_0x30196f}=ts(_0x2528c6),_0x1a019c=_0x1f9000==null?void 0x0:_0x1f9000[_0x2d0edd(0x3d5)](_0x370e9d)[_0x2d0edd(0x43e)](),_0x52d7d6=(_0x3254f6=(_0x2bd6f6=this['_instanceService']['getUnit'](_0x370e9d))==null?void 0x0:_0x2bd6f6['getActiveSheet']())==null?void 0x0:_0x3254f6['getSheetId']();if(_0x1a019c['length']===0x0||!_0x370e9d||!_0x30196f)return;const _0x3d3306=[{'id':_0x441337['id'],'params':{'unitId':_0x370e9d,'subUnitId':_0x52d7d6,'selections':_0x21badf[_0x2d0edd(0x33d)](_0x1a019c)}}],_0x291179=this[_0x2d0edd(0x2c7)][_0x2d0edd(0x44c)](_0x2528c6,_0x3d3306);if(!_0x306b3c(_0x291179))throw _0x291179[_0x2d0edd(0x21f)];const _0x1a9ff3=(_0x303947=(_0x378968=_0x291179['m2Prime'][0x0])==null?void 0x0:_0x378968[_0x2d0edd(0x300)])==null?void 0x0:_0x303947[_0x2d0edd(0x3d0)];if(Array[_0x2d0edd(0x466)](_0x1a9ff3)&&_0x1a9ff3['length']){if(_0x1a9ff3[_0x2d0edd(0x44b)]===_0x3d3306[0x0][_0x2d0edd(0x300)][_0x2d0edd(0x3d0)][_0x2d0edd(0x44b)]&&_0x1a9ff3[_0x2d0edd(0x407)]((_0x4ce3c7,_0x3bdc29)=>_0x107ade[_0x2d0edd(0x370)](_0x4ce3c7[_0x2d0edd(0x29e)],_0x3d3306[0x0][_0x2d0edd(0x300)][_0x2d0edd(0x3d0)][_0x3bdc29][_0x2d0edd(0x29e)])))return;this[_0x2d0edd(0x3e4)][_0x2d0edd(0x404)](_0x1affd5)[_0x2d0edd(0x361)](_0x441337['id'],{'unitId':_0x370e9d,'subUnitId':_0x52d7d6,'selections':_0x1a9ff3});}}};it=es([dt(0x0,_0x133e5e(_0x723ed9)),dt(0x1,_0x1f266b),dt(0x2,_0x169db5)],it);const ht=_0x243a96(_0xfe7184(0x286));var Ci=(_0x21c09b=>(_0x21c09b[_0x21c09b[_0xfe7184(0x43b)]=0x0]=_0xfe7184(0x43b),_0x21c09b[_0x21c09b[_0xfe7184(0x35d)]=0x1]='OTHER_CLIENTS_EDITING',_0x21c09b))(Ci||{});const is=new Set([_0x404408['id']]);function qt(_0x5a21ed,_0x1bcac1,_0x577649,_0x1de631,_0x39e819){var _0x3a2548=_0xfe7184,_0x43919f,_0x3bf150,_0x29a0c3,_0x25d791;const _0x52dc6f=[];for(const _0xd820e0 of _0x5a21ed)if(is[_0x3a2548(0x21d)](_0xd820e0['id'])){if(_0x52dc6f['length']>0x0)break;_0x52dc6f['push'](_0xd820e0);break;}else _0x52dc6f['push'](_0xd820e0);const _0x159cc7=(_0x3bf150=(_0x43919f=_0x39e819[_0x3a2548(0x3de)]())==null?void 0x0:_0x43919f['userID'])!=null?_0x3bf150:_0x3a2548(0x479),_0x1575fb=(_0x25d791=(_0x29a0c3=_0x39e819['getCurrentUser']())==null?void 0x0:_0x29a0c3[_0x3a2548(0x3df)])!=null?_0x25d791:_0x3a2548(0x479);return{'changeset':{'unitID':_0x1bcac1,'type':_0x38d550(_0x577649[_0x3a2548(0x210)](_0x1bcac1)),'baseRev':_0x1de631[_0x3a2548(0x35a)](_0x1bcac1),'revision':0x0,'userID':_0x159cc7,'memberID':_0x1575fb,'mutations':_0x52dc6f},'pendingMutations':_0x5a21ed[_0x3a2548(0x4a6)](_0x52dc6f[_0x3a2548(0x44b)])};}function ns(_0xa347c9,_0x550ff9,_0x422cf5,_0x886ce4,_0x2c316d){var _0x273a66=_0xfe7184,_0x28ae64,_0x638b14,_0x43f832,_0x39df0d;const _0x125ff8=[_0xa347c9[_0x273a66(0x1db)]((_0x100b6d,_0x5d38b2)=>{var _0x255ccf=_0x273a66,_0x18e29d;const {id:_0x5c89d9}=_0x100b6d,{id:_0x141dba,type:_0x449e00}=_0x5d38b2,_0x3546e9=(_0x18e29d=_0x100b6d[_0x255ccf(0x300)])!=null?_0x18e29d:{'actions':null},_0x5ac69c=_0x5d38b2['params'];if(_0x5c89d9&&_0x5c89d9!==_0x141dba)throw new Error(_0x255ccf(0x437)+_0x5c89d9+_0x255ccf(0x4ac)+_0x141dba+'.');return{..._0x100b6d,'id':_0x141dba,'type':_0x449e00,'params':{'unitId':_0x5ac69c[_0x255ccf(0x214)],'textRanges':_0x5ac69c[_0x255ccf(0x3ae)],'actions':_0x38ad23[_0x255ccf(0x33a)](_0x3546e9[_0x255ccf(0x3b0)],_0x5ac69c[_0x255ccf(0x3b0)])}};},{})],_0x3bcb4d=(_0x638b14=(_0x28ae64=_0x2c316d[_0x273a66(0x3de)]())==null?void 0x0:_0x28ae64[_0x273a66(0x2c6)])!=null?_0x638b14:_0x273a66(0x479),_0x3fe2bd=(_0x39df0d=(_0x43f832=_0x2c316d[_0x273a66(0x3de)]())==null?void 0x0:_0x43f832[_0x273a66(0x3df)])!=null?_0x39df0d:'unknown';return{'changeset':{'unitID':_0x550ff9,'type':_0x38d550(_0x422cf5[_0x273a66(0x210)](_0x550ff9)),'baseRev':_0x886ce4[_0x273a66(0x35a)](_0x550ff9),'revision':0x0,'userID':_0x3bcb4d,'memberID':_0x3fe2bd,'mutations':_0x125ff8},'pendingMutations':[]};}function Ri(_0x5489e2,_0x1207d6){var _0x3ae756=_0xfe7184;const _0x7618f1=new _0x95c752(0x1);return setTimeout(()=>_0x7618f1[_0x3ae756(0x3c3)](_0x1207d6),_0x5489e2),_0x7618f1[_0x3ae756(0x3a8)]()[_0x3ae756(0x400)](_0x2bbf37(0x1));}const ss={'id':_0x12cfc9['id'],'type':_0xd983d8[_0xfe7184(0x491)],'params':{}};var rs=Object[_0xfe7184(0x4a2)],Te=(_0x4c2c4d,_0x304337,_0x22ab06,_0x2ee841)=>{for(var _0x237006=_0x2ee841>0x1?void 0x0:_0x2ee841?rs(_0x304337,_0x22ab06):_0x304337,_0x58e94a=_0x4c2c4d['length']-0x1,_0x25bfdd;_0x58e94a>=0x0;_0x58e94a--)(_0x25bfdd=_0x4c2c4d[_0x58e94a])&&(_0x237006=_0x25bfdd(_0x237006)||_0x237006);return _0x237006;},P=(_0x170585,_0x5be7d0)=>(_0x3090f4,_0x2f4ec8)=>_0x5be7d0(_0x3090f4,_0x2f4ec8,_0x170585),bi=(_0x4e307c=>(_0x4e307c[_0xfe7184(0x3b8)]=_0xfe7184(0x309),_0x4e307c[_0xfe7184(0x2e5)]='synced',_0x4e307c[_0xfe7184(0x2f2)]=_0xfe7184(0x377),_0x4e307c[_0xfe7184(0x3ba)]=_0xfe7184(0x3b3),_0x4e307c[_0xfe7184(0x368)]=_0xfe7184(0x408),_0x4e307c[_0xfe7184(0x246)]=_0xfe7184(0x2d0),_0x4e307c[_0xfe7184(0x434)]=_0xfe7184(0x2f0),_0x4e307c['OFFLINE']=_0xfe7184(0x46e),_0x4e307c))(bi||{});const Oi=0xea60;class Ce{constructor(_0xd6ca98,_0x4d9500,_0x36b162,_0x5a61f4,_0x164b1,_0x5dc313,_0x4eb24f,_0x450cf8,_0x5b3492){var _0x3cb46b=_0xfe7184;N(this,_0x3cb46b(0x307),null),N(this,_0x3cb46b(0x359),[]),(this[_0x3cb46b(0x255)]=_0xd6ca98,this['type']=_0x4d9500,this[_0x3cb46b(0x357)]=_0x164b1,this[_0x3cb46b(0x28a)]=_0x5dc313,this['_undoRedoService']=_0x4eb24f,this[_0x3cb46b(0x1cb)]=_0x450cf8,this[_0x3cb46b(0x386)]=_0x5b3492,this[_0x3cb46b(0x307)]=_0x36b162,this[_0x3cb46b(0x359)]=_0x5a61f4);}['_checkMissing'](_0x2b1612){var _0x17b96b=_0xfe7184;const _0xd9b4f6=this[_0x17b96b(0x1cb)][_0x17b96b(0x35a)](this[_0x17b96b(0x255)]);return _0x2b1612[_0x17b96b(0x417)]>_0xd9b4f6+0x1?(this[_0x17b96b(0x357)]['onMissingChangesets']({'from':_0xd9b4f6,'to':_0x2b1612[_0x17b96b(0x417)]-0x1}),!0x0):!0x1;}[_0xfe7184(0x33e)](_0xb5a64b){var _0x360050=_0xfe7184;this[_0x360050(0x48c)][_0x360050(0x25d)](this[_0x360050(0x255)],_0xb5a64b);}[_0xfe7184(0x2b9)](_0x28563e){var _0xe16006=_0xfe7184,_0x94f0c,_0x545a5e;(_0x545a5e=(_0x94f0c=this['_handler'])[_0xe16006(0x485)])==null||_0x545a5e[_0xe16006(0x48d)](_0x94f0c,_0x28563e);}[_0xfe7184(0x29b)](_0x40e759){var _0x5a9725=_0xfe7184,_0x4195a0,_0x1a1249;return(_0x1a1249=(_0x4195a0=this['_handler'])[_0x5a9725(0x40c)])==null?void 0x0:_0x1a1249[_0x5a9725(0x48d)](_0x4195a0,_0x40e759);}[_0xfe7184(0x364)](_0x55a0db){var _0x289c4e=_0xfe7184,_0x4c51b2,_0x134c18;return(_0x134c18=(_0x4c51b2=this[_0x289c4e(0x357)])['onTransformState'])==null?void 0x0:_0x134c18['call'](_0x4c51b2,_0x55a0db);}[_0xfe7184(0x1e4)](_0x5a0ff8){var _0x2c5b6c=_0xfe7184,_0x3dbc92,_0x4f9697,_0x5a4762;return(_0x5a4762=(_0x4f9697=(_0x3dbc92=this[_0x2c5b6c(0x357)])[_0x2c5b6c(0x268)])==null?void 0x0:_0x4f9697[_0x2c5b6c(0x48d)](_0x3dbc92,_0x5a0ff8))!=null?_0x5a4762:_0x5a0ff8;}[_0xfe7184(0x32a)](_0xfd9891){var _0x52305d=_0xfe7184,_0x1dac14,_0x40bcbf,_0x5a0f79;return(_0x5a0f79=(_0x40bcbf=(_0x1dac14=this[_0x52305d(0x357)])[_0x52305d(0x289)])==null?void 0x0:_0x40bcbf[_0x52305d(0x48d)](_0x1dac14,_0xfd9891))!=null?_0x5a0f79:_0xfd9891;}[_0xfe7184(0x46c)](_0x1fdcc3){var _0x526e3a=_0xfe7184,_0x17bb4f,_0x45f218;if(this[_0x526e3a(0x391)]===Q[_0x526e3a(0x1c3)]){const {unitID:_0x268ca6,mutations:_0x59de68,memberID:_0x2d5c93}=_0x1fdcc3,_0x3e63a7=_0x59de68[0x0][_0x526e3a(0x300)][_0x526e3a(0x3ae)];Array[_0x526e3a(0x466)](_0x3e63a7)&&_0x3e63a7[_0x526e3a(0x44b)]>0x0&&((_0x45f218=(_0x17bb4f=this[_0x526e3a(0x357)])[_0x526e3a(0x266)])==null||_0x45f218[_0x526e3a(0x48d)](_0x17bb4f,{'unitID':_0x268ca6,'memberID':_0x2d5c93,'textRanges':_0x3e63a7}));}}[_0xfe7184(0x446)](){var _0x2ef942=_0xfe7184,_0x239d63;(_0x239d63=this[_0x2ef942(0x386)])==null||_0x239d63['updateOfflineData'](this['unitID'],this[_0x2ef942(0x391)],this[_0x2ef942(0x307)],this['_pendingMutations']);}[_0xfe7184(0x36e)](){var _0x5ea89d=_0xfe7184;return this[_0x5ea89d(0x1cb)][_0x5ea89d(0x35a)](this[_0x5ea89d(0x255)]);}[_0xfe7184(0x338)](){var _0x45049f=_0xfe7184;this['_revisionService'][_0x45049f(0x3fc)](this[_0x45049f(0x255)]);}[_0xfe7184(0x220)](_0x5c8545){var _0x16665d=_0xfe7184,_0xd04879;let _0xdba4c2=this[_0x16665d(0x1e4)](_0x5c8545);_0xdba4c2=this[_0x16665d(0x32a)](_0xdba4c2);const _0x352530=_0x4ed7c3(_0xdba4c2[_0x16665d(0x46d)],this['_commandService'],{'fromCollab':!0x0});if(!_0x352530[_0x16665d(0x281)])throw _0x352530[_0x16665d(0x21f)]instanceof Error?_0x352530[_0x16665d(0x21f)]:new Error((_0xd04879=_0x352530[_0x16665d(0x21f)])!=null?_0xd04879:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0xdba4c2),this[_0x16665d(0x364)](_0xdba4c2),this[_0x16665d(0x33e)](_0x5c8545),this[_0x16665d(0x2b9)](_0xdba4c2),this[_0x16665d(0x46c)](_0xdba4c2),this[_0x16665d(0x338)]();}}let Ne=class extends Ce{constructor(_0x5afe4f,_0x1fc0ed,_0x321bc2,_0x319434,_0x4f6541,_0x5be000,_0x1eeeef,_0x2c51c3,_0x4c0694,_0x452e51){var _0x502392=_0xfe7184;super(_0x5afe4f,_0x1fc0ed,null,[],_0x321bc2,_0x1eeeef,_0x5be000,_0x319434,_0x452e51),N(this,_0x502392(0x2ac),_0x502392(0x3a1)),(this[_0x502392(0x3e4)]=_0x4f6541,this[_0x502392(0x1df)]=_0x2c51c3,this[_0x502392(0x2c7)]=_0x4c0694,this[_0x502392(0x28f)]=_0x452e51);}[_0xfe7184(0x3d1)](_0x59bcb9){var _0x553b79=_0xfe7184;const _0x5ad0eb=this[_0x553b79(0x3e4)][_0x553b79(0x1e8)](ae,this['unitID'],this['type'],[_0x59bcb9],this[_0x553b79(0x357)]);return _0x5ad0eb[_0x553b79(0x1ed)](),_0x5ad0eb['_updateLocalCache'](),_0x5ad0eb;}[_0xfe7184(0x23f)](_0x50e8fa){var _0x2ac49a=_0xfe7184;if(this['_checkMissing'](_0x50e8fa))return this[_0x2ac49a(0x3e4)][_0x2ac49a(0x1e8)](ee,this['unitID'],this[_0x2ac49a(0x391)],null,[],null,[_0x50e8fa],this['_handler']);try{const _0x2660a6=this['_transformService'][_0x2ac49a(0x44c)](_0x50e8fa,[ss]);if(_0x306b3c(_0x2660a6)){const {c1Prime:_0xe980a1}=_0x2660a6;return this[_0x2ac49a(0x220)](_0xe980a1),this;}throw _0x2660a6[_0x2ac49a(0x21f)];}catch(_0x33cb03){return this[_0x2ac49a(0x1df)][_0x2ac49a(0x21f)](_0x33cb03),this[_0x2ac49a(0x46a)](!0x1);}}[_0xfe7184(0x46a)](_0x1c6027){var _0x5a9fd4=_0xfe7184;return this[_0x5a9fd4(0x3e4)][_0x5a9fd4(0x1e8)](ue,this[_0x5a9fd4(0x255)],this[_0x5a9fd4(0x391)],null,[],this['_handler'],_0x1c6027);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xfe7184(0x2e4)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xfe7184(0x38c)](){return this;}[_0xfe7184(0x36b)](){var _0x4d5214=_0xfe7184;return this[_0x4d5214(0x3e4)][_0x4d5214(0x1e8)](de,this[_0x4d5214(0x255)],this[_0x4d5214(0x391)],null,[],this[_0x4d5214(0x357)]);}[_0xfe7184(0x1ea)](){return this;}[_0xfe7184(0x31d)](){var _0x566c79=_0xfe7184;throw new Error(_0x566c79(0x24c));}[_0xfe7184(0x456)](){var _0x242567=_0xfe7184;const _0x2fc630=this[_0x242567(0x1cb)][_0x242567(0x35a)](this[_0x242567(0x255)]);return this[_0x242567(0x357)]['onMissingChangesets']({'from':_0x2fc630,'to':0x0}),this['_injector'][_0x242567(0x1e8)](ee,this[_0x242567(0x255)],this[_0x242567(0x391)],null,[],null,[],this[_0x242567(0x357)]);}};Ne=Te([P(0x3,_0x133e5e(_0x5bbf37)),P(0x4,_0x133e5e(_0x723ed9)),P(0x5,_0x548330),P(0x6,_0x1affd5),P(0x7,_0x19ce75),P(0x8,_0x1f266b),P(0x9,_0x5db4e2(J))],Ne);let ae=class extends Ce{constructor(_0x2db43e,_0x1a8d23,_0x43447b,_0x153900,_0x2b3b36,_0x4ea022,_0x55a529,_0x466211,_0x129746,_0x21b40a,_0x49c83d,_0x392f9e,_0x38ab89,_0xf2fceb){var _0x541ab3=_0xfe7184;super(_0x2db43e,_0x1a8d23,null,_0x43447b,_0x153900,_0x129746,_0x38ab89,_0x4ea022,_0xf2fceb),N(this,'status',_0x541ab3(0x377)),N(this,_0x541ab3(0x45d),null),N(this,_0x541ab3(0x45f),null),(this[_0x541ab3(0x3e4)]=_0x2b3b36,this[_0x541ab3(0x4ba)]=_0x55a529,this['_logService']=_0x466211,this[_0x541ab3(0x1fa)]=_0x21b40a,this['_transformService']=_0x49c83d,this['_univerInstanceService']=_0x392f9e);}['appendMutation'](_0x1de1e1){var _0x4c3407=_0xfe7184;return this[_0x4c3407(0x359)][_0x4c3407(0x3ca)](_0x1de1e1),this['_updateLocalCache'](),this;}[_0xfe7184(0x23f)](_0x57046b){var _0x1a9a55=_0xfe7184;if(this[_0x1a9a55(0x3a4)](_0x57046b))return this[_0x1a9a55(0x1da)](),this[_0x1a9a55(0x3e4)]['createInstance'](ee,this[_0x1a9a55(0x255)],this['type'],null,this[_0x1a9a55(0x359)],null,[_0x57046b],this['_handler']);try{const _0x5963c5=this[_0x1a9a55(0x2c7)][_0x1a9a55(0x44c)](_0x57046b,this['_pendingMutations']);if(_0x306b3c(_0x5963c5)){const {c1Prime:_0x75fb93,m2Prime:_0x4894e1}=_0x5963c5;this[_0x1a9a55(0x220)](_0x75fb93);const _0x57b40a=this[_0x1a9a55(0x3e4)][_0x1a9a55(0x1e8)](ae,this[_0x1a9a55(0x255)],this[_0x1a9a55(0x391)],_0x4894e1,this[_0x1a9a55(0x357)]);this[_0x1a9a55(0x1da)]();const _0x89eb9e=new Date()['getTime'](),_0x3c8e8f=this[_0x1a9a55(0x45d)]?Math[_0x1a9a55(0x38a)](this['_scheduleCompleteTimestamp']-_0x89eb9e,0x0):this[_0x1a9a55(0x31b)]();return _0x57b40a['_schedule'](_0x3c8e8f),_0x57b40a;}throw _0x5963c5['error'];}catch(_0x508c7d){return this[_0x1a9a55(0x1df)]['error'](_0x508c7d),this[_0x1a9a55(0x46a)](!0x1);}}[_0xfe7184(0x47b)](){var _0x19b0b5=_0xfe7184;throw new Error(_0x19b0b5(0x2f7));}[_0xfe7184(0x2e4)](){var _0xc7ad32=_0xfe7184;throw new Error(_0xc7ad32(0x4ca));}[_0xfe7184(0x38c)](){return this;}[_0xfe7184(0x36b)](){var _0x2f81bc=_0xfe7184;return this[_0x2f81bc(0x1da)](),this['_injector'][_0x2f81bc(0x1e8)](de,this['unitID'],this['type'],null,this[_0x2f81bc(0x359)],this[_0x2f81bc(0x357)]);}[_0xfe7184(0x1ea)](){return this;}[_0xfe7184(0x1ed)](_0x520460){var _0x5a5829=_0xfe7184;const _0x28a379=_0x520460!=null?_0x520460:this[_0x5a5829(0x31b)]();this[_0x5a5829(0x45d)]=new Date()[_0x5a5829(0x1bf)]()+_0x28a379,this[_0x5a5829(0x45f)]=setTimeout(()=>{var _0xc35f96=_0x5a5829;this[_0xc35f96(0x1da)]();let _0x30c10d=null;switch(this[_0xc35f96(0x391)]){case Q[_0xc35f96(0x4c5)]:{_0x30c10d=qt(this[_0xc35f96(0x359)],this['unitID'],this[_0xc35f96(0x439)],this[_0xc35f96(0x1cb)],this[_0xc35f96(0x4ba)]);break;}case Q['UNIVER_DOC']:{this[_0xc35f96(0x359)][_0xc35f96(0x407)](_0x59ee48=>_0x59ee48['id']===_0x27617a['id'])?_0x30c10d=ns(this[_0xc35f96(0x359)],this[_0xc35f96(0x255)],this['_univerInstanceService'],this[_0xc35f96(0x1cb)],this[_0xc35f96(0x4ba)]):_0x30c10d=qt(this[_0xc35f96(0x359)],this[_0xc35f96(0x255)],this[_0xc35f96(0x439)],this[_0xc35f96(0x1cb)],this['_memberService']);break;}default:throw new Error(_0xc35f96(0x2ba)+this[_0xc35f96(0x391)]+_0xc35f96(0x26e));}const {changeset:_0x2f01ab,pendingMutations:_0x30b6bb}=_0x30c10d;this['_handler']['onSendChangeset'](_0x2f01ab);const _0x2255c8=_0x30b6bb['length']?this[_0xc35f96(0x3e4)][_0xc35f96(0x1e8)](oe,this['unitID'],this[_0xc35f96(0x391)],_0x2f01ab,_0x30b6bb,this[_0xc35f96(0x357)],void 0x0):this['_injector'][_0xc35f96(0x1e8)](le,this[_0xc35f96(0x255)],this[_0xc35f96(0x391)],_0x2f01ab,this[_0xc35f96(0x357)]);_0x2255c8['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x2255c8);},_0x28a379);}[_0xfe7184(0x31b)](){var _0x5a9435=_0xfe7184,_0x1a59fd;const _0x2a01d2=this['_configService'][_0x5a9435(0x37f)](q);return(_0x1a59fd=_0x2a01d2==null?void 0x0:_0x2a01d2[_0x5a9435(0x334)])!=null?_0x1a59fd:En;}[_0xfe7184(0x31d)](){var _0x14933f=_0xfe7184;throw new Error(_0x14933f(0x21b));}[_0xfe7184(0x1da)](){var _0x26a233=_0xfe7184;this[_0x26a233(0x45f)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x26a233(0x45f)]=null);}[_0xfe7184(0x46a)](_0x1b0e5e){var _0x5d0993=_0xfe7184;return this[_0x5d0993(0x1da)](),this[_0x5d0993(0x3e4)][_0x5d0993(0x1e8)](ue,this[_0x5d0993(0x255)],this[_0x5d0993(0x391)],null,this[_0x5d0993(0x359)],this[_0x5d0993(0x357)],_0x1b0e5e);}};ae=Te([P(0x4,_0x133e5e(_0x723ed9)),P(0x5,_0x133e5e(_0x5bbf37)),P(0x6,_0x133e5e(Le)),P(0x7,_0x19ce75),P(0x8,_0x1affd5),P(0x9,_0x2f38cd),P(0xa,_0x1f266b),P(0xb,_0x169db5),P(0xc,_0x548330),P(0xd,_0x5db4e2(J))],ae);let le=class extends Ce{constructor(_0x5d4ff3,_0x354053,_0x371166,_0x5064d8,_0x42b810,_0xadc61b,_0x16552d,_0x31ea78,_0x5a73c0,_0x6b73f8,_0x239f17){var _0x175719=_0xfe7184;super(_0x5d4ff3,_0x354053,_0x371166,[],_0x5064d8,_0x16552d,_0x6b73f8,_0xadc61b,_0x239f17),N(this,_0x175719(0x2ac),_0x175719(0x3b3)),N(this,_0x175719(0x221),0x0),N(this,'_resendTimer'),N(this,_0x175719(0x3ee)),(this[_0x175719(0x3e4)]=_0x42b810,this['_logService']=_0x31ea78,this[_0x175719(0x2c7)]=_0x5a73c0);}[_0xfe7184(0x3d1)](_0x30132e){var _0x101fc7=_0xfe7184;this['_clearScheduledTask']();const _0x501ee8=this[_0x101fc7(0x3e4)]['createInstance'](oe,this[_0x101fc7(0x255)],this['type'],this[_0x101fc7(0x307)],[_0x30132e],this[_0x101fc7(0x357)],this[_0x101fc7(0x1f5)]);return _0x501ee8['_updateLocalCache'](),_0x501ee8;}[_0xfe7184(0x23f)](_0x4a7526){var _0x2f6884=_0xfe7184;if(this['_checkMissing'](_0x4a7526))return this[_0x2f6884(0x1da)](),this[_0x2f6884(0x3e4)][_0x2f6884(0x1e8)](ee,this['unitID'],this['type'],this[_0x2f6884(0x307)],[],null,[_0x4a7526],this['_handler']);try{const _0x1b5948=this[_0x2f6884(0x2c7)]['transformChangesets']([_0x4a7526],[this[_0x2f6884(0x307)]],!0x1);if(_0x336be0(_0x1b5948)){const {c1Prime:_0x47b1e7,c2Prime:_0x17f934}=_0x1b5948;this[_0x2f6884(0x220)](_0x47b1e7[0x0]),_0x17f934[0x0][_0x2f6884(0x2af)]=this['_getCurrentRevision'](),this[_0x2f6884(0x1da)]();const _0x5d7fa5=this[_0x2f6884(0x3e4)]['createInstance'](le,this[_0x2f6884(0x255)],this[_0x2f6884(0x391)],_0x17f934[0x0],this[_0x2f6884(0x357)]);return _0x5d7fa5[_0x2f6884(0x446)](),_0x5d7fa5;}return this[_0x2f6884(0x46a)](!0x1);}catch(_0x33efa0){return this['_logService'][_0x2f6884(0x21f)](_0x33efa0),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x524696){var _0x434c0d=_0xfe7184;this[_0x434c0d(0x1da)]();const _0x3c486c=this[_0x434c0d(0x1cb)]['getCurrentRevOfUnit'](this[_0x434c0d(0x255)]);if(_0x524696[_0x434c0d(0x417)]<_0x3c486c-0x1)return this;if(this['_checkMissing'](_0x524696))return this[_0x434c0d(0x3e4)]['createInstance'](ee,this[_0x434c0d(0x255)],this[_0x434c0d(0x391)],null,[],this[_0x434c0d(0x307)],[],this[_0x434c0d(0x357)]);this[_0x434c0d(0x338)]();const _0x2fb6a4=this[_0x434c0d(0x3e4)][_0x434c0d(0x1e8)](Ne,this[_0x434c0d(0x255)],this[_0x434c0d(0x391)],this[_0x434c0d(0x357)]);return _0x2fb6a4[_0x434c0d(0x446)](),_0x2fb6a4;}[_0xfe7184(0x2e4)](_0x312e84){var _0x5adbe7=_0xfe7184;return this[_0x5adbe7(0x46a)](!!(_0x312e84!=null&&_0x312e84[_0x5adbe7(0x414)]));}['onRemoteRetry'](_0x352976){var _0x1b86f3=_0xfe7184;return this[_0x1b86f3(0x221)]>Oi?this[_0x1b86f3(0x36b)]():(this['_resendTimer']=Ri(this[_0x1b86f3(0x221)],{'timeout':this['_resendTimeout'],'reqId':_0x352976[_0x1b86f3(0x3ff)]}),this[_0x1b86f3(0x3ee)]=this[_0x1b86f3(0x1f5)]['subscribe'](({reqId:_0xed0840,timeout:_0xc4eabc})=>{var _0x485b4d=_0x1b86f3;this[_0x485b4d(0x22f)](_0xed0840,_0xc4eabc);}),this);}[_0xfe7184(0x36b)](){var _0x3fbc94=_0xfe7184;return this[_0x3fbc94(0x1da)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x3fbc94(0x391)],this[_0x3fbc94(0x307)],[],this[_0x3fbc94(0x357)]);}['toggleOnline'](){return this;}[_0xfe7184(0x31d)](){var _0x292116=_0xfe7184;this[_0x292116(0x357)]['onSendChangeset'](this[_0x292116(0x307)]);}[_0xfe7184(0x46a)](_0x541b9a){var _0xa4cbd0=_0xfe7184;return this[_0xa4cbd0(0x1da)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0xa4cbd0(0x391)],this[_0xa4cbd0(0x307)],[],this['_handler'],_0x541b9a);}[_0xfe7184(0x22f)](_0x30fd13,_0x20a96f){var _0x2118e8=_0xfe7184,_0x3ec023;_0x30fd13===((_0x3ec023=this[_0x2118e8(0x307)])==null?void 0x0:_0x3ec023[_0x2118e8(0x3ff)])&&(this[_0x2118e8(0x31d)](),this['_resendTimeout']=_0x20a96f===0x0?0x3e8:_0x20a96f*0x2);}[_0xfe7184(0x1da)](){var _0x54187f=_0xfe7184,_0x2ab777;(_0x2ab777=this['_sender'])==null||_0x2ab777[_0x54187f(0x225)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x133e5e(_0x723ed9)),P(0x5,_0x133e5e(_0x5bbf37)),P(0x6,_0x1affd5),P(0x7,_0x19ce75),P(0x8,_0x1f266b),P(0x9,_0x548330),P(0xa,_0x5db4e2(J))],le);let oe=class extends Ce{constructor(_0x21cf3b,_0x1b58fe,_0x4bdf8e,_0x29ee02,_0x279237,_0x1fb961,_0x2dc9cd,_0xd56b4b,_0x25e3af,_0x5e4517,_0x562267,_0x416b72,_0x379e59){var _0x5c016e=_0xfe7184;super(_0x21cf3b,_0x1b58fe,_0x4bdf8e,_0x29ee02,_0x279237,_0x25e3af,_0x416b72,_0xd56b4b,_0x379e59),N(this,_0x5c016e(0x2ac),_0x5c016e(0x408)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x5c016e(0x3ee)),(this['_injector']=_0x2dc9cd,this[_0x5c016e(0x1df)]=_0x5e4517,this['_transformService']=_0x562267,this['localCacheService']=_0x379e59,_0x1fb961&&(this['_resendTimer']=_0x1fb961,this['_sender']=this[_0x5c016e(0x1f5)][_0x5c016e(0x26d)](({reqId:_0x1117a4,timeout:_0x3e5e61})=>{var _0x4d4cb6=_0x5c016e;this[_0x4d4cb6(0x22f)](_0x1117a4,_0x3e5e61);})));}[_0xfe7184(0x3d1)](_0x3944f2){var _0x12730f=_0xfe7184;return this[_0x12730f(0x359)][_0x12730f(0x3ca)](_0x3944f2),this;}[_0xfe7184(0x23f)](_0x38b0a3){var _0x4e26f4=_0xfe7184;if(this[_0x4e26f4(0x3a4)](_0x38b0a3))return this[_0x4e26f4(0x1da)](),this[_0x4e26f4(0x3e4)][_0x4e26f4(0x1e8)](ee,this[_0x4e26f4(0x255)],this[_0x4e26f4(0x391)],this[_0x4e26f4(0x307)],this[_0x4e26f4(0x359)],null,[_0x38b0a3],this[_0x4e26f4(0x357)]);try{const _0x135cb4=this[_0x4e26f4(0x2c7)][_0x4e26f4(0x4a5)]([_0x38b0a3],[this['_awaitingChangeset']],!0x1);if(_0x336be0(_0x135cb4)){const {c1Prime:_0x36fd66,c2Prime:_0x21a3bb}=_0x135cb4,_0x2b9b4f=this[_0x4e26f4(0x2c7)][_0x4e26f4(0x44c)](_0x36fd66[0x0],this[_0x4e26f4(0x359)]);if(_0x306b3c(_0x2b9b4f)){const {c1Prime:_0x1b4367,m2Prime:_0x5e44c4}=_0x2b9b4f;return this[_0x4e26f4(0x220)](_0x1b4367),_0x21a3bb[0x0][_0x4e26f4(0x2af)]=this[_0x4e26f4(0x36e)](),this[_0x4e26f4(0x1da)](),this[_0x4e26f4(0x3e4)][_0x4e26f4(0x1e8)](oe,this[_0x4e26f4(0x255)],this[_0x4e26f4(0x391)],_0x21a3bb[0x0],_0x5e44c4,this[_0x4e26f4(0x357)],void 0x0);}throw _0x2b9b4f[_0x4e26f4(0x21f)];}throw _0x135cb4[_0x4e26f4(0x21f)];}catch(_0x2c35ac){return this[_0x4e26f4(0x1df)][_0x4e26f4(0x21f)](_0x2c35ac),this['_onConflict'](!0x1);}}[_0xfe7184(0x47b)](_0x139a5e){var _0x5d5e82=_0xfe7184;if(this[_0x5d5e82(0x1da)](),this[_0x5d5e82(0x3a4)](_0x139a5e))return this[_0x5d5e82(0x3e4)][_0x5d5e82(0x1e8)](ee,this[_0x5d5e82(0x255)],this[_0x5d5e82(0x391)],null,this[_0x5d5e82(0x359)],this[_0x5d5e82(0x307)],[],this[_0x5d5e82(0x357)]);this['_incrementRevisionNumber']();const _0x38a1e8=this['_injector'][_0x5d5e82(0x1e8)](ae,this[_0x5d5e82(0x255)],this[_0x5d5e82(0x391)],this[_0x5d5e82(0x359)],this[_0x5d5e82(0x357)]);return _0x38a1e8[_0x5d5e82(0x1ed)](),_0x38a1e8[_0x5d5e82(0x446)](),_0x38a1e8;}[_0xfe7184(0x2e4)](_0xd1e169){var _0x358602=_0xfe7184;return this['_onConflict'](!!(_0xd1e169!=null&&_0xd1e169[_0x358602(0x414)]));}[_0xfe7184(0x38c)](_0x3284ec){var _0x48a523=_0xfe7184;return this[_0x48a523(0x221)]>Oi?this[_0x48a523(0x36b)]():(this['_resendTimer']=Ri(this[_0x48a523(0x221)],{'timeout':this['_resendTimeout'],'reqId':_0x3284ec[_0x48a523(0x3ff)]}),this['_sender']=this[_0x48a523(0x1f5)][_0x48a523(0x26d)](({reqId:_0x42434f,timeout:_0x4e0b1d})=>{var _0x38845a=_0x48a523;this[_0x38845a(0x22f)](_0x42434f,_0x4e0b1d);}),this);}[_0xfe7184(0x36b)](){var _0x3a4ad6=_0xfe7184;return this[_0x3a4ad6(0x1da)](),this[_0x3a4ad6(0x3e4)][_0x3a4ad6(0x1e8)](de,this[_0x3a4ad6(0x255)],this[_0x3a4ad6(0x391)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0xfe7184(0x1ea)](){return this;}['resend'](){var _0x2a3c45=_0xfe7184;this[_0x2a3c45(0x357)][_0x2a3c45(0x478)](this[_0x2a3c45(0x307)]);}[_0xfe7184(0x46a)](_0x5da15d){var _0xcdb90f=_0xfe7184;return this[_0xcdb90f(0x1da)](),this[_0xcdb90f(0x3e4)]['createInstance'](ue,this[_0xcdb90f(0x255)],this[_0xcdb90f(0x391)],null,this['_pendingMutations'],this[_0xcdb90f(0x357)],_0x5da15d);}[_0xfe7184(0x22f)](_0x2b31be,_0x2e67c5){var _0x2baae0=_0xfe7184,_0xc52b6;_0x2b31be===((_0xc52b6=this[_0x2baae0(0x307)])==null?void 0x0:_0xc52b6['reqId'])&&(this[_0x2baae0(0x31d)](),this[_0x2baae0(0x221)]=_0x2e67c5===0x0?0x3e8:_0x2e67c5*0x2);}['_clearScheduledTask'](){var _0xd0b847=_0xfe7184,_0x2a6ca2;(_0x2a6ca2=this[_0xd0b847(0x3ee)])==null||_0x2a6ca2[_0xd0b847(0x225)](),this[_0xd0b847(0x221)]=0x0;}};oe=Te([P(0x6,_0x133e5e(_0x723ed9)),P(0x7,_0x133e5e(_0x5bbf37)),P(0x8,_0x1affd5),P(0x9,_0x19ce75),P(0xa,_0x1f266b),P(0xb,_0x548330),P(0xc,_0x5db4e2(J))],oe);let ue=class extends Ce{constructor(_0x12e5d5,_0xc1863d,_0x139fc2,_0x27ada0,_0x379181,_0x49de19=!0x1,_0x33c079,_0x1dcbbb,_0xffbf7c,_0xe2f701,_0x278034,_0x34476d,_0x4bb86){var _0x29b831=_0xfe7184;super(_0x12e5d5,_0xc1863d,_0x139fc2,_0x27ada0,_0x379181,_0x1dcbbb,_0xffbf7c,_0xe2f701,_0x4bb86),N(this,_0x29b831(0x2ac),'conflict'),(this[_0x29b831(0x326)]=_0x49de19,this[_0x29b831(0x358)]=_0x33c079,this[_0x29b831(0x3ce)]=_0x278034,this[_0x29b831(0x384)]=_0x34476d,this[_0x29b831(0x28f)]=_0x4bb86,this[_0x29b831(0x2a0)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0xfe7184(0x23f)](){return this;}[_0xfe7184(0x47b)](){return this;}[_0xfe7184(0x2e4)](){return this;}[_0xfe7184(0x38c)](){return this;}['toggleOffline'](){return this;}[_0xfe7184(0x1ea)](){return this;}[_0xfe7184(0x31d)](){var _0x394320=_0xfe7184;throw new Error(_0x394320(0x2a6));}[_0xfe7184(0x2e6)](){var _0x11258a=_0xfe7184,_0x4c5c5d;(_0x4c5c5d=this['_localCacheService'])==null||_0x4c5c5d[_0x11258a(0x3cd)](this[_0x11258a(0x255)],this['type'],null,[]);}[_0xfe7184(0x2a0)](){var _0x59c436=_0xfe7184;this[_0x59c436(0x326)]?this[_0x59c436(0x384)][_0x59c436(0x32b)]({'id':re[_0x59c436(0x207)]}):this[_0x59c436(0x384)][_0x59c436(0x32b)]({'id':re['CONFLICT']});}[_0xfe7184(0x293)](){var _0x131136=_0xfe7184;this[_0x131136(0x358)][_0x131136(0x34c)](new _0x2e7126(this[_0x131136(0x255)])['id'],!0x1);}};function _0x514d(){var _0x10d53c=['__Key__','UNISCRIPT_RUN','Could\x20not\x20dynamically\x20require\x20\x22','objectActions','updatePermissionPoint','hasOwnProperty','/universer-api/stream/file/upload','image/jpeg','event$','state','LOGIN_FAILED','[OfflineState]:\x20received\x20rejection.','People','/allowed','liveShareOperation','_handler','_permissionService','_pendingMutations','getCurrentRevOfUnit','withCredentials','INVALID_INVITE_CODE','OTHER_CLIENTS_EDITING','crypto','rng','sigBytes','executeCommand','Utf8','values','_transformStateCache','3626952axaxCH','_transitionLocked','then','AWAITING_WITH_PENDING','list','[CollaborationSessionService]:\x20socket\x20error','toggleOffline','APPLY_PERMISSION_DENIED','HmacSHA1','_getCurrentRevision','/block/','equals','ivSize','_keyPriorReset','_updateStatus','dispose','saveChangeset','[CollaborationUndoRedoService]','pending','PSEUDO_FETCH_MISSING_RESULT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enc','decryptBlock','_collaborationPaused','setShowComponents','_throwTelemetryCollaborationNewChangeset','getConfig','sheets','EvpKDF','CipherParams','headers','_collaborationUIEventService','connection\x20error','_localCacheService','unpad','_imageSourceCache','getRoom','max','_registerDependencies','onRemoteRetry','prototype','delete','onload','LIVESHARE_REQUEST_HOST','type','JOIN_ROOM_PERMISSION_DENIED','collaMsg','/collaborator','_tryReconnect','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','substr','createCollaborator','size','OpenSSL','_getUploadFileURL','/universer-api/authz','msCrypto','LEAVE','_init','awaitingChangeset','synced','send','ERROR_EXCEED_SIZE','_checkMissing','resolve','sid','fromCharCode','asObservable','add','_key','reset','now','667402YrJEwV','textRanges','[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.','actions','floor','_scheduleCollaborationTimeoutTimer','awaiting','subject','_invKeySchedule','set','permissionRejEvent','NOT_COLLAB','_getUndoStack','AWAITING','symbol','_createHelper','byteLength','_decreaseWaiting','CHANGESET_REJ','BlockCipherMode','_getCtorByUniverType','2777328ymfymH','next','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','infoRsp','registerHTTPInterceptor','_initCloseConn','YUUMI_ASYNCIO_CANCELLED','Univer','push','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','splice','updateOfflineData','_localeService','_socketReady','selections','appendMutation','_httpService','UPDATE_PERMISSION_OBJ','UnitEmbedded','getWorkbookSelections','_doReset','PasswordBasedCipher','parse','_hasher','csShouldRetryEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','update','/universer-api/comb','getCurrentUser','memberID','_sheetTransformSelectionsService','_substituteUndoStack','getSheetBlock','_doFinalize','_injector','APPLY_DUPLICATED','reject','univer-pro.collaboration-client-socket-service','TOO_MANY_REQUESTS','YUUMI_NO_CUBOID_FOR_QUESTION','OFFLINE','\x0aCurrent:\x20','UNIVER_COLLABORATION_CLIENT_PLUGIN','getFocusedUnit','_sender','OTHER_CLIENT_EDITING','encode','_doProcessBlock','_exhaustRemoteChangesetQueue','_commentService','_getAPIPrefix','YUUMI_RATE_OVER_LIMIT','x-univer-host','saveSheetBlock','getMember','buffer','clear','_onRemoteACK','incrementRevOfUnit','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_xformMode','reqId','pipe','COLLAB_SUBMIT_CHANGESET_URL','_collabSessionService','join','get','BlockCipher','loadOfflineData','every','awaiting_with_pending','MD5','_initUnitPermissionChange','/universer-api/file/{fileID}/sign-url','onTransformIME','LIVESHARE_NEW_HOST','loadDoc','$super','_tryEnsureSocket','APPLY_NON_SEQUENTIAL_REVISION','_clearRedo','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','isPermissionRej','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','reconnect','revision','UNIVER_SLIDE','putCollaborators','_initDependencies','map','stopTime','_singleActiveUnitService','_doCreateSocket','hasher','_undoStacks','_unlockTransition','allowed','byteOffset','image/png','_queuedRemoteChangesets','SOCKET_FAILED_RETRY','_DEC_XFORM_MODE','pad','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','objectID','_sessions','_parse','LIVESHARE_OPERATION','_clearUndo','_snapshotService','_lockTransition','UNDEFINED','USERS_ENTER','/object','CONFLICT','loadSheet','_HTTPService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_collaborationSessionService','_univerInstanceService','post','NO_OTHER_CLIENTS_EDITING','UNIVER_PROJECT','_onRemoteChangeset','getCurrentSelections','_socket$','getDeserializedSheetBlock','_sendHeartbeat','enableAuthServer','encodeURIComponent','setWaitCount','_state','_updateLocalCache','_doCryptBlock','/-/object/-/batch_allowed','_onCombEvent','_changesetSessionId','length','transformMutationsWithChangeset','YUUMI_SUBSCRIPTION_NOT_FOUND','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/unit/','LOGIN_URL_KEY','Pkcs7','getLatestCsReqIdBySid','_onRecvEvent','_reverseMap','catch','fetchMiss','append','SHOULD_CLOSE_CONN','editing\x20status\x20changed\x20to','_clearRetryConnectingTimer','status$','Encryptor','_scheduleCompleteTimestamp','StreamCipher','_sendingTimer','_retryConnectingTimer','onMissedChangesetFetched','session','UNKNOWN_CMD','joinRsp','_change$','isArray','SUCCUSS','image/gif','indexOf','_onConflict','_collaborationTimeoutTimer','_syncEditingCollabCursor','mutations','offline','CHANGESET_REVISION_CONFILICT','startTime','compute','COLLAB_WEB_SOCKET_URL','capture','_createHandler','getResourcesRequest','_getLoginPath','_nDataBytes','onSendChangeset','unknown','m2Prime','onRemoteAck','JOINING','close','defineProperty','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SOCKET_FAILED','saveImage','Hasher','listRoles','changesets','onTransformSelections','apply','_socket','_iv','UPDATE_CURSOR','/universer-api/snapshot/','open$','_undoRedoService','call','replace','data','routeKey','MUTATION','liveShareNewHost','_data','_getDownloadEndpointURL','getInterceptPoints','USER_NOT_INVITED_CODE','confirm','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','string','extend','INTERNAL_ERROR','__creator','_getRedoStack','_map','_timeoutTimer','HEARTBEAT_TIMEOUT','roomInfos','getOwnPropertyDescriptor','_members','_unitID','transformChangesets','slice','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','WECHAT_HAS_BEEN_BOUND','_candidateSocket','_mode','_startCollaboration','\x20-\x20','collaboration-client.local-cache-service','change$','_getAPIPrefixPath','closeSession','YUUMI_UNABLE_LOAD_URL','keySize','_roomCreated$','ERROR_IMAGE_TYPE','INVITE_CODE_HAS_BEEN_UES','_waitCount','UserProfileImg','/universer-api/user/session-ticket','createDecryptor','_memberService','/fetchmissing?from=','clone','/universer-api/uniscript','padding','INVITE_CODE_ALREADY_BOUND','commentUpdateEvent','[DataLoaderService]','random','copyFileMeta','getCollabEntity','UNIVER_SHEET','objects','_updateState','cfg','complete','[PendingState]:\x20received\x20rejection.','_status$','_roomMembers','_startTelemetryCollaborationNewChangeset','eventID','action','createEncryptor','LOCAL_CACHE_INTERVAL','getUnitOnRev','getTime','shouldCloseConn','RETRY_CONNECTING_MAX_COUNT','_onOffline','UNIVER_DOC','Cipher','_unitInfo$','WordArray','sin','SerializableCipher','forEach','_prevBlock','_revisionService','SUBMIT_CHANGESET','JOIN_ROOM_FULL','_fetchMissChangesets','_createInitialState','LIVESHARE_FETCH_OPERATIONS','HELLO','listCollaborators','LIVESHARE_TERMINATE','SNAPSHOT_URL_KEY','exports','POST','_initRequestHeader','_changesetReqId','_redoStacks','_clearScheduledTask','reduce','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','15BXKzHx','responseType','_logService','image/jpg','_config','deleteCollaborator','{fileID}','_transformRemoteChangesetByIMECache','MSG_FOR_ERROR','toString','src','createInstance','repeat','toggleOnline','image/bmp','BASE64','_schedule','2494005VjdnMU','joinEvent','USERS_LEAVE','&source=','csAckEvent','words','readInt32LE','_resendTimer','message$','init','_process','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_configService','_minBufferSize','_members$','error$','SNAPSHOT_HAS_BEEN_REMOVED','HEARTBEAT','collaboration_new_changeset','method','processBlock','_cipher','collabSubmitChangesetUrl','APPLY_REVISION_CONFILICT','NEW_CHANGESETS','PERMISSION_DENIED','_sessionStatus$','_removeRoom','JOIN','_toggleOnline','_telemetryInfo','_entityInit$','JOIN_ROOM_NOT_EXISTS','\x0aAfter:\x20','getUnitType','FAIL','encrypt','IDLE','unitId','decrypt','updateMember','ceil','uploadFileServerUrl','fetchThroughInterceptors','_clearTimeoutTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','execute','has','_sendHeartbeatTimer','error','_executeRemoteChangeset','_resendTimeout','_loadDoc','newCsEvent','_onUserLeave','unsubscribe','getMemberID','default','UNKNOWN_CODE','Undefined','_type','PERSON','updatePermissionObjEvent','_state$','_networkConditionService','_resendWithTimeout','7235865ixXddz','FETCH_MISSING','socketService','mode','getImage','bind','onlyLocal','getCollabEntity$','mixIn','CLOSE_ROOM','charCodeAt','ERROR_IMAGE','Malformed\x20UTF-8\x20data','roles','onCommandExecuted','onRemoteChangeset','debug','_applyRemoteChangeset','HttpImport','[CollaborationEntity]','CHANGESET_ACK','/universer-api/oidc/authpage','FETCH_MISS','getImageSourceCache','_snapshotServerService','_ENC_XFORM_MODE','sessionStatus$','LICENSE_EXPORT_SIZE_EXCEEDED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','algo','_rescheduleHeartbeat','randomUUID','iterations','setCurrentUser','LICENSE_DISTRO_REJECTED','_hash','_compressMutationService','unitID','/-/object/list','clamp','_append','MOBILE_HAS_BEEN_BOUND','online$','session.room-cnt-exceeds','CHANGESET_SHOULD_RETRY','transformUndoRedo','salt','[OfflineState]:\x20received\x20changeset.','CONNECTOR_DATA_TOO_LARGE','_replayCachedMutations','RECV','collaborators','_listenToNetworkCondition','COMPRESS_MUTATION_APPLY','onSyncEditingCollabCursor','saveSnapshot','onTransformRemoteChangesetByIMECache','_handlerCallback','FileId','HMAC','origin','subscribe','\x20in\x20_schedule.','_createInitialStateImpl','fetchMissingChangesets','_nRounds','pauseCollaboration','CBC','_commentUpdate$','collaboration-client.config','_onRemoteRejected','objectType','interceptor','SNAPSHOT_INVALID_SNAPSHOT','getSnapshotAPIPath','_keySchedule','dispose$','UNAUTHENTICATED','/rev/','getTypeOfUnitDisposed$','transformSelections','result','_socketService','HmacMD5','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SUBMIT_CHANGESET_TIMEOUT','univer-pro.collaboration-client.single-active-unit-service','_getSignURL','originalMeta','onTransformRemoteChangesetByStateCache','_commandService','format','_onConnectionOpen','INVALID_ARGUMENT','_retryCount','localCacheService','uniscriptRunEvent','stringify','session.room-not-exists','_disableEditing','Hex','EMAIL_HAS_BEEN_BOUND','COMPLETION_FINISHED','_shouldReportTelemetry','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','title','href','_transformIMECache','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','concat','range','INVITE_CODE_REQUIRED','_showConflictNotification','focused$','LICENSE_MAX_UNITS_EXCEEDED','name','leaveEvent','key','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','Base','cmd','unitInfo$','BufferedBlockAlgorithm','COMMENT_UPDATE','status','_acknowledgedAwaitingChangeset','removeMember','baseRev','c1Prime','refreshPermission','/object/','retryConnectingInterval','unit-cache-','/new_changes','collabWebSocketUrl','members','getValue','_transformSelections','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_joinRoom','__esModule','1hifLRE','_onRemoteRetry','onLocalMutation','enableOfflineEditing','_telemetryService','_substituteRedoStack','APPLY_REJECT','workbook','ENSURE_SNAPSHOT_EXECUTION','userID','_transformService','location','save\x20fail\x20reason\x20is\x20','_onConnectionFailed','snapshotServerUrl','localeService','kdf','UNRECOGNIZED','code','fetch_missing','override','/role','disposeWithMe','_instanceService','auth.needGotoLoginAlert','finalize','blockSize','PY_RUNTIME_SCRIPT_ERROR','create','_transformStack','AUTHZ_URL_KEY','[CollaborationSession]','DEFAULT_FILE_NAME','function','[CollaborationSessionService]','sessionStatus','downloadEndpointUrl','addHandlerCallback','ciphertext','onRemoteRej','SYNCED','_clearLocalCache','charAt','AES','HEARTBEAT_INTERVAL','loadUnit','generateRandomId','requireSession','body','_toggleOffline','onCommentUpdate','conflict','_onMessage','PENDING','_remoteChangesetQueue','createSocket','socket$','pluginName','[PendingState]:\x20received\x20acknowledgement.','ALREADY_EXISTS','LICENSE_IMPORT_SIZE_EXCEEDED','randomBytes','_onUserJoin','loginUrlKey','_submitChangeset','_socketMessageSubscription','socket\x20close','params','lib','_createSocket','telemetry\x20info\x20is\x20not\x20initialized','SHA1','NoPadding','session.join-failed','_awaitingChangeset','duration','not_collab','includes','put','onTransformState','_clearHeartbeatTimer','_oKey','_event$','&to=','384630EGzVjQ','Base64','requestParams','_createHmacHelper','readyForCollab','_userManagerService','session.room-permission-denied','updateCollaborator','waitForRoom$','getTypeOfUnitAdded$','_getSendChangesetTimeout','/universer-api/snapshot','resend','_stopTelemetryCollaborationNewChangeset','getAllMembers','YUUMI_URL_COL_OUT_OF_RANGE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_SEND','addImageSourceCache','UNIVER_UNKNOWN','_initMergeInterceptor','_isPermissionRej','csRejEvent','_loadSheet','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_transformRemoteChangesetByStateCache','emitEvent','_eventService','_waitForHeartbeatResponse','UnitSnapshot','getRandomValues','105484hjCXjd','reverse','INGEST','hostname','sendChangesetTimeout','state$','ONLINE','encryptBlock','_incrementRevisionNumber','_onLocalMutation','compose','Decryptor','_onFetchMissResult','deepClone','_transformUndoredo','_entities','getUnitId','_emitMembers','resourceIDs','close$','getUnitStatus$','onStarting','rev','url'];_0x514d=function(){return _0x10d53c;};return _0x514d();}ue=Te([P(0x6,_0x133e5e(_0x446775)),P(0x7,_0x1affd5),P(0x8,_0x548330),P(0x9,_0x133e5e(_0x5bbf37)),P(0xa,_0x133e5e(_0x20ed6b)),P(0xb,_0x133e5e(pe)),P(0xc,_0x5db4e2(J))],ue);let de=class extends Ce{constructor(_0x2bdc13,_0x480a2e,_0x23be50,_0xaea5c0,_0x1fa2a4,_0x57ab27,_0x3080e5,_0xf4cc13,_0xa94b9b,_0x5c4d1d){var _0x5b1b84=_0xfe7184;super(_0x2bdc13,_0x480a2e,_0x23be50,_0xaea5c0,_0x1fa2a4,_0xf4cc13,_0xa94b9b,_0x3080e5,_0x5c4d1d),N(this,_0x5b1b84(0x2ac),_0x5b1b84(0x46e)),this[_0x5b1b84(0x3e4)]=_0x57ab27;}[_0xfe7184(0x3d1)](_0x3bcdbd){var _0x4edc36=_0xfe7184;return this[_0x4edc36(0x359)][_0x4edc36(0x3ca)](_0x3bcdbd),this[_0x4edc36(0x446)](),this;}[_0xfe7184(0x23f)](_0x423bc8){var _0x302a0c=_0xfe7184;throw new Error(_0x302a0c(0x25f));}[_0xfe7184(0x47b)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xfe7184(0x2e4)](){var _0x180100=_0xfe7184;throw new Error(_0x180100(0x353));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0xfe7184(0x1ea)](){var _0x1c7352=_0xfe7184;const {_injector:_0x5f05de,_pendingMutations:_0x173636,_awaitingChangeset:_0x2b1d8f,unitID:_0x49a530,_handler:_0x46a057,type:_0x20b523}=this,_0x2e9d65=yi(_0x5f05de,_0x49a530,_0x20b523,_0x2b1d8f,_0x173636,_0x46a057);return _0x2e9d65 instanceof ae?_0x2e9d65[_0x1c7352(0x1ed)]():(_0x2e9d65 instanceof oe||_0x2e9d65 instanceof le)&&_0x2e9d65[_0x1c7352(0x31d)](),_0x2e9d65;}['resend'](){var _0x5b3605=_0xfe7184;throw new Error(_0x5b3605(0x321));}};de=Te([P(0x5,_0x133e5e(_0x723ed9)),P(0x6,_0x133e5e(_0x5bbf37)),P(0x7,_0x1affd5),P(0x8,_0x548330),P(0x9,_0x5db4e2(J))],de);let ee=class extends Ce{constructor(_0xd571b0,_0x417b5d,_0x5baa01,_0x5f1ac0,_0x4db1f7,_0x57a67c,_0x5dfc86,_0x5503ef,_0x5507eb,_0x22c02d,_0x727525,_0x5c2c7c,_0x3890ce,_0x4edf49){var _0x42a3ee=_0xfe7184;super(_0xd571b0,_0x417b5d,_0x5baa01,_0x5f1ac0,_0x5dfc86,_0x727525,_0x5c2c7c,_0x5507eb,_0x4edf49),N(this,_0x42a3ee(0x2ac),_0x42a3ee(0x2d0)),(this['_acknowledgedAwaitingChangeset']=_0x4db1f7,this[_0x42a3ee(0x425)]=_0x57a67c,this['_injector']=_0x5503ef,this[_0x42a3ee(0x1df)]=_0x22c02d,this[_0x42a3ee(0x2c7)]=_0x3890ce,this[_0x42a3ee(0x28f)]=_0x4edf49);}[_0xfe7184(0x461)](_0x4cc018){var _0x2dd82f=_0xfe7184;try{const _0xeab82b=[..._0x4cc018,...this['_queuedRemoteChangesets']],_0x117643=[this['_awaitingChangeset']||this[_0x2dd82f(0x2ad)]]['filter'](_0x17bd89=>!!_0x17bd89);let _0x257a93,_0x161c0d;if(_0x117643[_0x2dd82f(0x44b)]){const _0x5c2b95=this[_0x2dd82f(0x2c7)][_0x2dd82f(0x4a5)](_0xeab82b,_0x117643,!0x1);if(!_0x336be0(_0x5c2b95))throw _0x5c2b95[_0x2dd82f(0x21f)];_0x257a93=_0x5c2b95[_0x2dd82f(0x2b0)],_0x161c0d=_0x5c2b95['c2Prime'];}else _0x257a93=_0xeab82b,_0x161c0d=[];let _0x9c8e0b=this[_0x2dd82f(0x359)];_0x257a93['forEach'](_0xcbf60e=>{var _0x34cdc1=_0x2dd82f;let _0x4f89d5;if(_0x9c8e0b[_0x34cdc1(0x44b)]){const _0x84f310=this[_0x34cdc1(0x2c7)][_0x34cdc1(0x44c)](_0xcbf60e,_0x9c8e0b);if(!_0x306b3c(_0x84f310))throw _0x84f310[_0x34cdc1(0x21f)];_0x4f89d5=_0x84f310[_0x34cdc1(0x2b0)],_0x9c8e0b=_0x84f310[_0x34cdc1(0x47a)];}else _0x4f89d5=_0xcbf60e;this[_0x34cdc1(0x220)](_0x4f89d5);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2dd82f(0x338)](),this['_awaitingChangeset']&&_0x161c0d[_0x2dd82f(0x44b)]&&(_0x161c0d[0x0][_0x2dd82f(0x2af)]=this['_getCurrentRevision']());let _0x2ab4c6;if(this[_0x2dd82f(0x307)]&&_0x9c8e0b[_0x2dd82f(0x44b)]!==0x0)_0x2ab4c6=this[_0x2dd82f(0x3e4)]['createInstance'](oe,this[_0x2dd82f(0x255)],this['type'],_0x161c0d[0x0],_0x9c8e0b,this[_0x2dd82f(0x357)],void 0x0);else{if(this[_0x2dd82f(0x307)]&&_0x9c8e0b['length']===0x0)_0x161c0d[0x0][_0x2dd82f(0x2af)]=this[_0x2dd82f(0x36e)](),_0x2ab4c6=this[_0x2dd82f(0x3e4)]['createInstance'](le,this[_0x2dd82f(0x255)],this[_0x2dd82f(0x391)],_0x161c0d[0x0],this[_0x2dd82f(0x357)]);else{if(_0x9c8e0b[_0x2dd82f(0x44b)]!==0x0){const _0x22ac9a=this['_injector'][_0x2dd82f(0x1e8)](ae,this[_0x2dd82f(0x255)],this['type'],_0x9c8e0b,this['_handler']);_0x22ac9a[_0x2dd82f(0x1ed)](),_0x2ab4c6=_0x22ac9a;}else _0x2ab4c6=this['_injector'][_0x2dd82f(0x1e8)](Ne,this['unitID'],this[_0x2dd82f(0x391)],this['_handler']);}}return _0x2ab4c6['_updateLocalCache'](),_0x2ab4c6;}catch(_0x173600){return this[_0x2dd82f(0x1df)][_0x2dd82f(0x21f)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x173600),this[_0x2dd82f(0x3e4)][_0x2dd82f(0x1e8)](ue,this['unitID'],this[_0x2dd82f(0x391)],this['_awaitingChangeset'],this[_0x2dd82f(0x359)],this[_0x2dd82f(0x357)],!0x1);}}['resend'](){var _0x31d9c0=_0xfe7184;throw new Error(_0x31d9c0(0x415));}[_0xfe7184(0x3d1)](_0x45e3a0){var _0x292aee=_0xfe7184;return this[_0x292aee(0x359)][_0x292aee(0x3ca)](_0x45e3a0),this;}['onRemoteChangeset'](_0x290850){var _0x2aaf00=_0xfe7184;return this[_0x2aaf00(0x425)][_0x2aaf00(0x3ca)](_0x290850),this;}[_0xfe7184(0x47b)](_0x5137b8){var _0x29f1fa=_0xfe7184;if(this[_0x29f1fa(0x307)])return this[_0x29f1fa(0x2ad)]=this[_0x29f1fa(0x307)],this[_0x29f1fa(0x307)]=null,this;throw new Error(_0x29f1fa(0x47f));}[_0xfe7184(0x2e4)](_0x392cd4){var _0x4ee0f8=_0xfe7184;return this['_onConflict'](!!(_0x392cd4!=null&&_0x392cd4[_0x4ee0f8(0x414)]));}[_0xfe7184(0x38c)](){return this;}[_0xfe7184(0x36b)](){var _0x300eb6=_0xfe7184;return this[_0x300eb6(0x3e4)][_0x300eb6(0x1e8)](de,this[_0x300eb6(0x255)],this[_0x300eb6(0x391)],this[_0x300eb6(0x307)],this[_0x300eb6(0x359)],this[_0x300eb6(0x357)]);}[_0xfe7184(0x1ea)](){return this;}['_onConflict'](_0x2084ce){var _0x40546f=_0xfe7184;return this['_injector'][_0x40546f(0x1e8)](ue,this[_0x40546f(0x255)],this[_0x40546f(0x391)],this[_0x40546f(0x307)],this['_pendingMutations'],this[_0x40546f(0x357)],_0x2084ce);}};ee=Te([P(0x7,_0x133e5e(_0x723ed9)),P(0x8,_0x133e5e(_0x5bbf37)),P(0x9,_0x19ce75),P(0xa,_0x1affd5),P(0xb,_0x548330),P(0xc,_0x1f266b),P(0xd,_0x5db4e2(J))],ee);function yi(_0x37a40f,_0x3066b9,_0x1ef5be,_0x392f4b,_0x1dfca7,_0x1af34d){var _0x539aa2=_0xfe7184;return _0x392f4b&&_0x1dfca7[_0x539aa2(0x44b)]?_0x37a40f['createInstance'](oe,_0x3066b9,_0x1ef5be,_0x392f4b,_0x1dfca7,_0x1af34d,void 0x0):_0x392f4b?_0x37a40f['createInstance'](le,_0x3066b9,_0x1ef5be,_0x392f4b,_0x1af34d):_0x1dfca7[_0x539aa2(0x44b)]?_0x37a40f['createInstance'](ae,_0x3066b9,_0x1ef5be,_0x1dfca7,_0x1af34d):_0x37a40f[_0x539aa2(0x1e8)](Ne,_0x3066b9,_0x1ef5be,_0x1af34d);}var as=Object[_0xfe7184(0x4a2)],Lt=(_0x110417,_0x1ad55b,_0x58bdae,_0x333182)=>{for(var _0x1b674c=_0x333182>0x1?void 0x0:_0x333182?as(_0x1ad55b,_0x58bdae):_0x1ad55b,_0x2f779e=_0x110417['length']-0x1,_0x225bfe;_0x2f779e>=0x0;_0x2f779e--)(_0x225bfe=_0x110417[_0x2f779e])&&(_0x1b674c=_0x225bfe(_0x1b674c)||_0x1b674c);return _0x1b674c;},H=(_0x4f4e8f,_0x265f67)=>(_0x1a12f4,_0xd7cb79)=>_0x265f67(_0x1a12f4,_0xd7cb79,_0x4f4e8f);let nt=class extends _0x1f9410{constructor(_0x31c211,_0x28eb73,_0x272f7c,_0x77a8a2,_0xea99ae,_0x59c92c,_0x1f9c66,_0x39510a,_0x36d47e,_0x3375c9,_0x3ead5e,_0x43735d,_0x951a1c){var _0x544c3f=_0xfe7184;super(),N(this,_0x544c3f(0x22d),new _0x21c115(null)),N(this,_0x544c3f(0x335),this[_0x544c3f(0x22d)][_0x544c3f(0x3a8)]()),N(this,_0x544c3f(0x445)),N(this,_0x544c3f(0x37c),!0x1),N(this,_0x544c3f(0x44a),''),N(this,_0x544c3f(0x1d8),0x0),N(this,_0x544c3f(0x45b),this['state$'][_0x544c3f(0x400)](_0x197804(_0x14825e=>_0x14825e?_0x14825e['status']:bi[_0x544c3f(0x3ea)]),_0x327bb4(0x1))),N(this,_0x544c3f(0x366),!0x1),N(this,_0x544c3f(0x2f3),[]),(this['unitID']=_0x31c211,this[_0x544c3f(0x462)]=_0x28eb73,this[_0x544c3f(0x22a)]=_0x272f7c,this[_0x544c3f(0x3e4)]=_0x77a8a2,this[_0x544c3f(0x254)]=_0xea99ae,this[_0x544c3f(0x3ce)]=_0x59c92c,this[_0x544c3f(0x1cb)]=_0x1f9c66,this[_0x544c3f(0x32c)]=_0x39510a,this[_0x544c3f(0x1df)]=_0x36d47e,this[_0x544c3f(0x28a)]=_0x3375c9,this[_0x544c3f(0x358)]=_0x3ead5e,this[_0x544c3f(0x41d)]=_0x43735d,this[_0x544c3f(0x386)]=_0x951a1c);}get[_0xfe7184(0x351)](){return this['_state'];}async[_0xfe7184(0x1f7)](){var _0x564c2b=_0xfe7184;if(this['state'])throw new Error(_0x564c2b(0x298));await this[_0x564c2b(0x39f)]();}[_0xfe7184(0x272)](){return this['_collaborationPaused']=!0x0,_0x1261ab(()=>{var _0xff9d4d=_0xb4ca;this[_0xff9d4d(0x37c)]=!0x1,this[_0xff9d4d(0x3f2)]();});}[_0xfe7184(0x2bf)](_0x1f7f43){this['_onLocalMutation'](_0x1f7f43);}[_0xfe7184(0x4c7)](_0x628b7b){var _0x156825=_0xfe7184;this['_state']=_0x628b7b,this[_0x156825(0x22d)]['next'](_0x628b7b);}async[_0xfe7184(0x39f)](){var _0x41cd1d=_0xfe7184,_0x380a9b;this[_0x41cd1d(0x4c7)](await this[_0x41cd1d(0x1cf)]()),this[_0x41cd1d(0x41d)]&&((_0x380a9b=this[_0x41cd1d(0x41d)])==null||_0x380a9b['editingUnit'](this[_0x41cd1d(0x255)]),this[_0x41cd1d(0x2d3)](this[_0x41cd1d(0x41d)][_0x41cd1d(0x344)](this[_0x41cd1d(0x255)])[_0x41cd1d(0x26d)](_0x59f61e=>{var _0xa0d069=_0x41cd1d;this[_0xa0d069(0x1df)][_0xa0d069(0x240)](_0xa0d069(0x243),_0xa0d069(0x459),_0x59f61e),_0x59f61e===Ci[_0xa0d069(0x35d)]?(this[_0xa0d069(0x32c)][_0xa0d069(0x32b)]({'id':re[_0xa0d069(0x3ef)]}),this[_0xa0d069(0x358)][_0xa0d069(0x34c)](new _0x2e7126(this[_0xa0d069(0x255)])['id'],!0x1),this[_0xa0d069(0x358)][_0xa0d069(0x37d)](!0x1)):(this[_0xa0d069(0x358)][_0xa0d069(0x34c)](new _0x2e7126(this[_0xa0d069(0x255)])['id'],!0x0),this['_permissionService'][_0xa0d069(0x37d)](!0x0));})));let _0x3ec93a=!0x1;return this[_0x41cd1d(0x2d3)](this[_0x41cd1d(0x462)][_0x41cd1d(0x24a)]['subscribe'](_0x1ac595=>{var _0x3003dc=_0x41cd1d;_0x1ac595===Ee[_0x3003dc(0x336)]?this[_0x3003dc(0x20b)](_0x3ec93a):_0x1ac595===Ee[_0x3003dc(0x3ea)]&&(_0x3ec93a=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this['session'][_0x41cd1d(0x350)]['subscribe'](_0x31b5df=>{var _0x4de02a=_0x41cd1d;try{switch(_0x31b5df[_0x4de02a(0x4ce)]){case _0x12f734['NEW_CHANGESETS']:{this[_0x4de02a(0x43d)](_0x4bb8f5(_0x31b5df[_0x4de02a(0x48f)]));break;}case _0x12f734['CHANGESET_ACK']:{this[_0x4de02a(0x3fb)](_0x31b5df[_0x4de02a(0x48f)]);break;}case _0x12f734['CHANGESET_REJ']:{this[_0x4de02a(0x276)]();break;}case _0x12f734['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x31b5df[_0x4de02a(0x48f)]);break;}case _0x12f734[_0x4de02a(0x378)]:{this[_0x4de02a(0x33c)](_0x31b5df[_0x4de02a(0x48f)][_0x4de02a(0x484)][_0x4de02a(0x41b)](_0x158ef6=>_0x4bb8f5(_0x158ef6)));break;}case _0x12f734['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x12f734[_0x4de02a(0x349)]:break;}}catch(_0x2b07ab){throw console[_0x4de02a(0x21f)]('Error\x20on\x20receiving\x20event',_0x2b07ab),_0x2b07ab;}})),this[_0x41cd1d(0x445)];}[_0xfe7184(0x421)](){var _0x2245be=_0xfe7184;this[_0x2245be(0x366)]=!0x1;}[_0xfe7184(0x430)](){var _0x1ea15a=_0xfe7184;if(this[_0x1ea15a(0x366)])throw new Error(_0x1ea15a(0x3af));this[_0x1ea15a(0x366)]=!0x0;}['_onLocalMutation'](_0x32a5b7){var _0x4cc809=_0xfe7184;this['_lockTransition'](),this[_0x4cc809(0x4c7)](this[_0x4cc809(0x445)][_0x4cc809(0x3d1)](_0x32a5b7)),this[_0x4cc809(0x421)]();}[_0xfe7184(0x43d)](_0x49a1e3){var _0x4ca961=_0xfe7184;if(!(_0x49a1e3[_0x4ca961(0x417)]<=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x4ca961(0x37c)]){this['_remoteChangesetQueue']['push'](_0x49a1e3);return;}this['_applyRemoteChangeset'](_0x49a1e3);}}[_0xfe7184(0x3f2)](){var _0x43a1a1=_0xfe7184;this[_0x43a1a1(0x2f3)]['forEach'](_0x1886ec=>this['_applyRemoteChangeset'](_0x1886ec)),this[_0x43a1a1(0x2f3)]=[];}[_0xfe7184(0x241)](_0x44d79f){var _0xe06652=_0xfe7184;const _0x361dc8=this[_0xe06652(0x254)][_0xe06652(0x278)][_0xe06652(0x219)](this[_0xe06652(0x254)][_0xe06652(0x278)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x44d79f[_0xe06652(0x46d)],null)||_0x44d79f[_0xe06652(0x46d)],_0x59b89a={..._0x44d79f,'mutations':_0x361dc8};this[_0xe06652(0x430)](),this[_0xe06652(0x4c7)](this[_0xe06652(0x445)]['onRemoteChangeset'](_0x59b89a)),this[_0xe06652(0x421)]();}[_0xfe7184(0x3fb)](_0x185cde){var _0x1ad8b7=_0xfe7184;this[_0x1ad8b7(0x430)](),this[_0x1ad8b7(0x4c7)](this['_state'][_0x1ad8b7(0x47b)](_0x185cde)),this[_0x1ad8b7(0x421)]();}[_0xfe7184(0x276)](_0x5f1505){var _0x175e2d=_0xfe7184;this[_0x175e2d(0x430)](),this[_0x175e2d(0x4c7)](this['_state'][_0x175e2d(0x2e4)](_0x5f1505)),this[_0x175e2d(0x421)]();}[_0xfe7184(0x2be)](_0x397464){var _0x4b112e=_0xfe7184;this[_0x4b112e(0x430)](),this['_updateState'](this[_0x4b112e(0x445)]['onRemoteRetry'](_0x397464)),this[_0x4b112e(0x421)]();}['_onFetchMissResult'](_0x126e08){var _0x410b06=_0xfe7184;if(!(this['_state']instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x288d89=_0x126e08['map'](_0x3c3070=>{var _0x40bddc=_0xb4ca;const _0x55c3a2=this[_0x40bddc(0x254)][_0x40bddc(0x278)][_0x40bddc(0x219)](this[_0x40bddc(0x254)]['interceptor'][_0x40bddc(0x495)]()[_0x40bddc(0x265)])(_0x3c3070[_0x40bddc(0x46d)],null)||_0x3c3070[_0x40bddc(0x46d)];return{..._0x3c3070,'mutations':_0x55c3a2};});this['_lockTransition'](),this[_0x410b06(0x4c7)](this[_0x410b06(0x445)][_0x410b06(0x461)](_0x288d89)),this['_unlockTransition']();}[_0xfe7184(0x2ee)](){var _0x314485=_0xfe7184;this[_0x314485(0x430)](),this[_0x314485(0x4c7)](this[_0x314485(0x445)][_0x314485(0x36b)]()),this[_0x314485(0x421)]();}['_toggleOnline'](_0xb0d88=!0x1){var _0x19507b=_0xfe7184;this['_lockTransition'](),this[_0x19507b(0x4c7)](this[_0x19507b(0x445)][_0x19507b(0x1ea)]()),this[_0x19507b(0x421)]();const _0xe5ea5=this[_0x19507b(0x445)];_0xb0d88&&_0xe5ea5 instanceof Ne&&(this['_lockTransition'](),this[_0x19507b(0x4c7)](_0xe5ea5[_0x19507b(0x456)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x209456=>{var _0x25d7c7=_0xb4ca;this[_0x25d7c7(0x462)][_0x25d7c7(0x24a)][_0x25d7c7(0x400)](_0x2bbf37(0x1))['subscribe'](async _0x159605=>{var _0x5b5d9a=_0x25d7c7;_0x209456(await this[_0x5b5d9a(0x26f)](_0x159605===Ee[_0x5b5d9a(0x336)]));});});}[_0xfe7184(0x474)](){var _0x1daeb1=_0xfe7184;const _0x249d41=this[_0x1daeb1(0x255)];return{'onStateChange':(_0x3c2301,_0x26be06)=>{var _0x481dbc=_0x1daeb1;if(_0x3c2301!==this[_0x481dbc(0x445)])throw new Error(_0x481dbc(0x498)+_0x3c2301[_0x481dbc(0x2ac)]+_0x481dbc(0x20f)+_0x26be06[_0x481dbc(0x2ac)]+_0x481dbc(0x3eb)+this['_state'][_0x481dbc(0x2ac)]);this[_0x481dbc(0x4c7)](_0x26be06);},'onSendChangeset':_0x5f3b23=>{var _0x25d1fa=_0x1daeb1;_0x5f3b23['sid']||(_0x5f3b23['sid']=this[_0x25d1fa(0x44a)],_0x5f3b23[_0x25d1fa(0x3ff)]=++this[_0x25d1fa(0x1d8)]);const _0x24e66a={'eventID':_0x12f734[_0x25d1fa(0x1cc)],'data':{'unitID':_0x5f3b23['unitID'],'unitType':this['_type'],'changeset':_0x5f3b23,'memberID':this['session'][_0x25d1fa(0x226)]()}};this[_0x25d1fa(0x462)][_0x25d1fa(0x3a2)](_0x24e66a,this['unitID']);},'onMissingChangesets':({from:_0x54e6d3,to:_0xe18c6b})=>{var _0x17cde8=_0x1daeb1;this[_0x17cde8(0x1df)][_0x17cde8(0x240)](_0x17cde8(0x243),'fetching\x20missing\x20changesets\x20from\x20'+_0x54e6d3+'\x20to\x20'+_0xe18c6b);const _0xf2ff6f={'eventID':_0x12f734[_0x17cde8(0x231)],'data':{'unitID':_0x249d41,'unitType':this['_type'],'from':_0x54e6d3,'to':_0xe18c6b}};this[_0x17cde8(0x462)][_0x17cde8(0x3a2)](_0xf2ff6f,this[_0x17cde8(0x255)]);}};}async[_0xfe7184(0x26f)](_0x39f721){var _0x8a400=_0xfe7184,_0x1af270,_0x1d889d,_0x3a53ae;const _0x45696a=await((_0x1af270=this[_0x8a400(0x386)])==null?void 0x0:_0x1af270[_0x8a400(0x406)](this[_0x8a400(0x255)])),_0x3def91=(_0x1d889d=_0x45696a==null?void 0x0:_0x45696a[_0x8a400(0x46d)])!=null?_0x1d889d:[],_0x4fc41d=(_0x3a53ae=_0x45696a==null?void 0x0:_0x45696a[_0x8a400(0x3a0)])!=null?_0x3a53ae:null,_0x1bd3fc=!!(_0x4fc41d!=null&&_0x4fc41d[_0x8a400(0x3a6)])&&!!(_0x4fc41d!=null&&_0x4fc41d[_0x8a400(0x3ff)]);this[_0x8a400(0x44a)]=_0x1bd3fc?_0x4fc41d['sid']:Zn(),this[_0x8a400(0x1d8)]=_0x1bd3fc?_0x4fc41d['reqId']:0x0;const _0x4507ac=this['unitID'];try{this['_replayCachedMutations'](_0x4fc41d,_0x3def91);}catch(_0x38cc7e){this['_logService']['error'](_0x38cc7e);}const _0x195bdb=this[_0x8a400(0x474)]();if(_0x39f721){const _0x5d75bb=yi(this[_0x8a400(0x3e4)],_0x4507ac,this[_0x8a400(0x22a)],_0x4fc41d,_0x3def91,_0x195bdb);return _0x5d75bb instanceof ae?_0x5d75bb[_0x8a400(0x1ed)]():(_0x5d75bb instanceof oe||_0x5d75bb instanceof le)&&_0x5d75bb[_0x8a400(0x31d)](),_0x5d75bb;}return this[_0x8a400(0x3e4)][_0x8a400(0x1e8)](de,_0x4507ac,this[_0x8a400(0x22a)],_0x4fc41d,_0x3def91,_0x195bdb);}[_0xfe7184(0x261)](_0x1a0df7,_0x473da1){var _0x259e9b=_0xfe7184,_0x2c137f,_0x58bdec;const _0x2c8b79=this['_compressMutationService'][_0x259e9b(0x278)]['fetchThroughInterceptors'](this[_0x259e9b(0x254)][_0x259e9b(0x278)][_0x259e9b(0x495)]()['COMPRESS_MUTATION_APPLY']);(_0x2c137f=_0x2c8b79((_0x1a0df7==null?void 0x0:_0x1a0df7['mutations'])||[],null))==null||_0x2c137f[_0x259e9b(0x1c9)](_0x5aa02d=>this[_0x259e9b(0x28a)][_0x259e9b(0x361)](_0x5aa02d['id'],_0x5aa02d[_0x259e9b(0x300)])),(_0x58bdec=_0x2c8b79(_0x473da1||[],null))==null||_0x58bdec['forEach'](_0x174d7a=>this[_0x259e9b(0x28a)]['executeCommand'](_0x174d7a['id'],_0x174d7a[_0x259e9b(0x300)]));}};nt=Lt([H(0x3,_0x133e5e(_0x723ed9)),H(0x4,_0x133e5e(_0x3d5a95)),H(0x5,_0x133e5e(_0x20ed6b)),H(0x6,_0x133e5e(_0x5bbf37)),H(0x7,_0x133e5e(pe)),H(0x8,_0x19ce75),H(0x9,_0x1affd5),H(0xa,_0x446775),H(0xb,_0x5db4e2(ht)),H(0xc,_0x5db4e2(J))],nt);let It=class extends nt{constructor(_0x53bc75,_0x4e97fd,_0x409771,_0x299f51,_0x2f64c,_0x269d48,_0x438e23,_0x423cb9,_0x5b2a30,_0x10a131,_0x469c40,_0x25247d,_0x1c947a){var _0x4db0b8=_0xfe7184;super(_0x53bc75,_0x409771,_0x4e97fd,_0x299f51,_0x2f64c,_0x269d48,_0x438e23,_0x423cb9,_0x5b2a30,_0x10a131,_0x469c40,_0x25247d,_0x1c947a),N(this,_0x4db0b8(0x269),null),(this[_0x4db0b8(0x255)]=_0x53bc75,this['type']=_0x4e97fd);}[_0xfe7184(0x2e2)](_0x4d3911){var _0x24fb0b=_0xfe7184;this[_0x24fb0b(0x269)]=_0x4d3911;}[_0xfe7184(0x374)](){var _0x56f32a=_0xfe7184;this[_0x56f32a(0x269)]=null,super[_0x56f32a(0x374)]();}['_createHandler'](){var _0x4b0832=_0xfe7184;const _0x21cf5c=super[_0x4b0832(0x474)]();return _0x21cf5c[_0x4b0832(0x40c)]=_0x5d8106=>{var _0x3cfba7=_0x4b0832,_0x516131,_0x22372d;return(_0x22372d=(_0x516131=this['_handlerCallback'])==null?void 0x0:_0x516131[_0x3cfba7(0x40c)])==null?void 0x0:_0x22372d[_0x3cfba7(0x48d)](_0x516131,_0x5d8106);},_0x21cf5c['onTransformState']=_0x7ac951=>{var _0x58528a=_0x4b0832,_0x6302ed,_0x12b6d5;return(_0x12b6d5=(_0x6302ed=this[_0x58528a(0x269)])==null?void 0x0:_0x6302ed[_0x58528a(0x30c)])==null?void 0x0:_0x12b6d5['call'](_0x6302ed,_0x7ac951);},_0x21cf5c[_0x4b0832(0x485)]=_0x4b2691=>{var _0x67596d=_0x4b0832,_0x4a46dd,_0x65b0f2;return(_0x65b0f2=(_0x4a46dd=this[_0x67596d(0x269)])==null?void 0x0:_0x4a46dd[_0x67596d(0x485)])==null?void 0x0:_0x65b0f2['call'](_0x4a46dd,_0x4b2691);},_0x21cf5c['onSyncEditingCollabCursor']=_0x3e5d29=>{var _0x25d24c=_0x4b0832,_0x3f1fc7,_0x55980a;return(_0x55980a=(_0x3f1fc7=this[_0x25d24c(0x269)])==null?void 0x0:_0x3f1fc7[_0x25d24c(0x266)])==null?void 0x0:_0x55980a['call'](_0x3f1fc7,_0x3e5d29);},_0x21cf5c[_0x4b0832(0x268)]=_0x4ac707=>{var _0x289c3b=_0x4b0832,_0x410612,_0x5d8a5e,_0x5740a3;if(!((_0x410612=this['_handlerCallback'])!=null&&_0x410612[_0x289c3b(0x268)]))throw new Error(_0x289c3b(0x284));return(_0x5740a3=(_0x5d8a5e=this[_0x289c3b(0x269)])==null?void 0x0:_0x5d8a5e['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5740a3[_0x289c3b(0x48d)](_0x5d8a5e,_0x4ac707);},_0x21cf5c[_0x4b0832(0x289)]=_0x2ea6b0=>{var _0x415277=_0x4b0832,_0x233f6c,_0x549cb3,_0x47493f;if(!((_0x233f6c=this[_0x415277(0x269)])!=null&&_0x233f6c[_0x415277(0x289)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x47493f=(_0x549cb3=this['_handlerCallback'])==null?void 0x0:_0x549cb3['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x47493f[_0x415277(0x48d)](_0x549cb3,_0x2ea6b0);},_0x21cf5c;}async['_init'](){var _0x1f1d48=_0xfe7184;const _0x4a1a5a=await super[_0x1f1d48(0x39f)]();return this[_0x1f1d48(0x2d3)](this['_commandService'][_0x1f1d48(0x23e)]((_0x139535,_0x115146)=>{var _0x321b1b=_0x1f1d48;if(_0x139535[_0x321b1b(0x391)]!==_0xd983d8[_0x321b1b(0x491)]||_0x115146!=null&&_0x115146['fromCollab']||_0x115146!=null&&_0x115146[_0x321b1b(0x236)]||_0x139535['id']===_0x27617a['id'])return;const _0x4c2da6=_0x139535[_0x321b1b(0x300)];if((_0x4c2da6==null?void 0x0:_0x4c2da6[_0x321b1b(0x214)])!==this['unitID'])return;const _0xfa0a04=_0x139535,_0x3ff86d=this[_0x321b1b(0x254)]['interceptor'][_0x321b1b(0x219)](this['_compressMutationService'][_0x321b1b(0x278)]['getInterceptPoints']()[_0x321b1b(0x322)])([_0xfa0a04],null)||[_0xfa0a04];this['_onLocalMutation'](_0x3ff86d[0x0]);})),_0x4a1a5a;}};It=Lt([H(0x3,_0x133e5e(_0x723ed9)),H(0x4,_0x133e5e(_0x3d5a95)),H(0x5,_0x133e5e(_0x20ed6b)),H(0x6,_0x133e5e(_0x5bbf37)),H(0x7,_0x133e5e(pe)),H(0x8,_0x19ce75),H(0x9,_0x1affd5),H(0xa,_0x446775),H(0xb,_0x5db4e2(ht)),H(0xc,_0x5db4e2(J))],It);let Tt=class extends nt{constructor(_0x525232,_0xb75a79,_0x54ed47,_0x39b3bb,_0xd9b701,_0x3c5191,_0xe6a079,_0x5e8567,_0x510b18,_0x4c0f03,_0x1a9989,_0x303515,_0x36a804,_0x5265cc){var _0x58d3df=_0xfe7184;super(_0x525232,_0x54ed47,_0xb75a79,_0x39b3bb,_0xd9b701,_0x3c5191,_0xe6a079,_0x510b18,_0x4c0f03,_0x1a9989,_0x303515,_0x36a804,_0x5265cc),this[_0x58d3df(0x255)]=_0x525232,this[_0x58d3df(0x391)]=_0xb75a79,this[_0x58d3df(0x3e0)]=_0x5e8567;}[_0xfe7184(0x474)](){var _0x2a303f=_0xfe7184;const _0x360e2c=super[_0x2a303f(0x474)]();return _0x360e2c['onTransformSelections']=_0x3e8b55=>this[_0x2a303f(0x3e0)][_0x2a303f(0x280)](_0x3e8b55),_0x360e2c;}async['_init'](){var _0x23a67d=_0xfe7184;const _0x10ac74=await super[_0x23a67d(0x39f)]();return this[_0x23a67d(0x2d3)](this['_commandService']['onCommandExecuted']((_0x56b8d7,_0xad7377)=>{var _0x49c87f=_0x23a67d;if(_0x56b8d7[_0x49c87f(0x391)]!==_0xd983d8[_0x49c87f(0x491)]||_0xad7377!=null&&_0xad7377['fromCollab']||_0xad7377!=null&&_0xad7377[_0x49c87f(0x236)])return;const _0x39ae36=_0x56b8d7[_0x49c87f(0x300)];if((_0x39ae36==null?void 0x0:_0x39ae36[_0x49c87f(0x214)])!==this[_0x49c87f(0x255)])return;const _0x391164=_0x56b8d7,_0x250781=this['_compressMutationService'][_0x49c87f(0x278)][_0x49c87f(0x219)](this[_0x49c87f(0x254)]['interceptor'][_0x49c87f(0x495)]()[_0x49c87f(0x322)])([_0x391164],null)||[_0x391164];this[_0x49c87f(0x339)](_0x250781[0x0]);})),_0x10ac74;}};Tt=Lt([H(0x3,_0x133e5e(_0x723ed9)),H(0x4,_0x133e5e(_0x3d5a95)),H(0x5,_0x133e5e(_0x20ed6b)),H(0x6,_0x133e5e(_0x5bbf37)),H(0x7,_0x133e5e(it)),H(0x8,_0x133e5e(pe)),H(0x9,_0x19ce75),H(0xa,_0x1affd5),H(0xb,_0x446775),H(0xc,_0x5db4e2(ht)),H(0xd,_0x5db4e2(J))],Tt);var os=Object[_0xfe7184(0x4a2)],cs=(_0x2c9099,_0x3ff9cf,_0x4f3a36,_0x4ba1da)=>{var _0x3e7bba=_0xfe7184;for(var _0x472282=_0x4ba1da>0x1?void 0x0:_0x4ba1da?os(_0x3ff9cf,_0x4f3a36):_0x3ff9cf,_0x295d00=_0x2c9099[_0x3e7bba(0x44b)]-0x1,_0x55dd54;_0x295d00>=0x0;_0x295d00--)(_0x55dd54=_0x2c9099[_0x295d00])&&(_0x472282=_0x55dd54(_0x472282)||_0x472282);return _0x472282;},ft=(_0x3b9cbc,_0x15a0e6)=>(_0x1db904,_0x1866c5)=>_0x15a0e6(_0x1db904,_0x1866c5,_0x3b9cbc);let st=class extends _0x1f9410{constructor(_0x5e2982,_0xa5956d,_0x33ac6a){var _0x5c79c6=_0xfe7184;super(),N(this,_0x5c79c6(0x33f),new Map()),N(this,_0x5c79c6(0x20d),new _0xd7395f()),N(this,'entityInit$',this[_0x5c79c6(0x20d)][_0x5c79c6(0x3a8)]()),(this[_0x5c79c6(0x3e4)]=_0x5e2982,this[_0x5c79c6(0x402)]=_0xa5956d,this[_0x5c79c6(0x439)]=_0x33ac6a,this[_0x5c79c6(0x39f)]());}[_0xfe7184(0x374)](){var _0x15bb03=_0xfe7184;super[_0x15bb03(0x374)](),this[_0x15bb03(0x33f)]['forEach'](_0x4d560c=>_0x4d560c[_0x15bb03(0x374)]()),this['_entities'][_0x15bb03(0x3fa)]();}['getCollabEntity'](_0x20ea2d){var _0x18e0c3;return(_0x18e0c3=this['_entities']['get'](_0x20ea2d))!=null?_0x18e0c3:null;}[_0xfe7184(0x237)](_0xae6b33){var _0x3bc5b5=_0xfe7184;const _0x53bec7=this[_0x3bc5b5(0x4c4)](_0xae6b33);return _0x53bec7?_0x52f9c6(_0x53bec7):this[_0x3bc5b5(0x20d)][_0x3bc5b5(0x400)](_0x5befcb(_0x376c80=>_0x376c80[_0x3bc5b5(0x255)]===_0xae6b33));}[_0xfe7184(0x315)](_0xd91280){var _0x267deb=_0xfe7184;return _0x16ae71(this[_0x267deb(0x237)](_0xd91280)[_0x267deb(0x400)](_0x4851a7(()=>{})));}[_0xfe7184(0x39f)](){var _0x2c0890=_0xfe7184;this[_0x2c0890(0x439)]['getTypeOfUnitAdded$'](_0x22def0[_0x2c0890(0x4c5)])[_0x2c0890(0x400)](_0x1bbb70(this[_0x2c0890(0x27c)]),_0x1717cc(0x10))[_0x2c0890(0x26d)](async _0x560aa8=>{var _0xf3d87c=_0x2c0890;const _0x17b4ce=_0x560aa8[_0xf3d87c(0x340)](),_0x5372b4=await this[_0xf3d87c(0x4ab)](_0x17b4ce,Q['UNIVER_SHEET']);this[_0xf3d87c(0x33f)][_0xf3d87c(0x3b6)](_0x17b4ce,_0x5372b4);}),this[_0x2c0890(0x439)][_0x2c0890(0x31a)](_0x22def0['UNIVER_DOC'])[_0x2c0890(0x400)](_0x1bbb70(this[_0x2c0890(0x27c)]),_0x1717cc(0x10))[_0x2c0890(0x400)](_0x5befcb(_0x305ee3=>!_0x305ee3[_0x2c0890(0x340)]()['startsWith']('__')))[_0x2c0890(0x26d)](async _0x3d41ee=>{var _0x1fecb7=_0x2c0890;const _0x2f7088=_0x3d41ee[_0x1fecb7(0x340)](),_0x5a851a=await this[_0x1fecb7(0x4ab)](_0x2f7088,Q['UNIVER_DOC']);this['_entities'][_0x1fecb7(0x3b6)](_0x2f7088,_0x5a851a);}),_0x4ef3f9(this[_0x2c0890(0x439)][_0x2c0890(0x27f)](_0x22def0[_0x2c0890(0x4c5)]),this['_univerInstanceService'][_0x2c0890(0x27f)](_0x22def0[_0x2c0890(0x1c3)]))[_0x2c0890(0x400)](_0x1bbb70(this['dispose$']))[_0x2c0890(0x26d)](_0xb5769a=>{var _0x4fe1f2=_0x2c0890;const _0x44916f=_0xb5769a[_0x4fe1f2(0x340)](),_0x47a442=this[_0x4fe1f2(0x33f)][_0x4fe1f2(0x404)](_0x44916f);_0x47a442&&(_0x47a442[_0x4fe1f2(0x374)](),this[_0x4fe1f2(0x33f)][_0x4fe1f2(0x38e)](_0x44916f));});}async['_startCollaboration'](_0x20b41e,_0xbddb7d){var _0x4580cf=_0xfe7184;const _0x4562f9=await this['_collabSessionService'][_0x4580cf(0x2ec)](_0x20b41e),_0x4daede=this[_0x4580cf(0x3e4)]['createInstance'](this['_getCtorByUniverType'](_0xbddb7d),_0x20b41e,_0xbddb7d,_0x4562f9);return await _0x4daede[_0x4580cf(0x1f7)](),this[_0x4580cf(0x20d)][_0x4580cf(0x3c3)](_0x4daede),_0x4daede;}[_0xfe7184(0x3c1)](_0x352bcf){switch(_0x352bcf){case Q['UNIVER_DOC']:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x352bcf);}}};st=cs([ft(0x0,_0x133e5e(_0x723ed9)),ft(0x1,_0x133e5e(xe)),ft(0x2,_0x169db5)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0x3107e6,_0x589a5b,_0x409a4c,_0x2ed135)=>{var _0x50b329=_0xfe7184;for(var _0x429b47=_0x2ed135>0x1?void 0x0:_0x2ed135?hs(_0x589a5b,_0x409a4c):_0x589a5b,_0x1053d0=_0x3107e6[_0x50b329(0x44b)]-0x1,_0x27c1c4;_0x1053d0>=0x0;_0x1053d0--)(_0x27c1c4=_0x3107e6[_0x1053d0])&&(_0x429b47=_0x27c1c4(_0x429b47)||_0x429b47);return _0x429b47;},zt=(_0x5881ef,_0x2795d8)=>(_0x4c0c53,_0x4fecba)=>_0x2795d8(_0x4c0c53,_0x4fecba,_0x5881ef);const ls=_0xfe7184(0x2dd),us=_0xfe7184(0x3c9);let Ct=class extends _0x293672{constructor(_0x231a99,_0x1d7832){var _0x48b8e2=_0xfe7184;super(),this['_univerInstanceService']=_0x231a99,this['_configService']=_0x1d7832,this[_0x48b8e2(0x39f)]();}[_0xfe7184(0x39f)](){var _0x5e02a1=_0xfe7184;this[_0x5e02a1(0x2d3)](this[_0x5e02a1(0x439)][_0x5e02a1(0x2a1)]['subscribe'](()=>{var _0x49a858=_0x5e02a1,_0x348b28;const _0x1cb5d5=this[_0x49a858(0x439)]['getFocusedUnit']();let _0x596e41=(_0x348b28=this[_0x49a858(0x1fa)][_0x49a858(0x37f)](ls))!=null?_0x348b28:us;_0x1cb5d5 instanceof _0x4e7a87&&(_0x596e41=_0x1cb5d5[_0x49a858(0x2a3)]),document[_0x49a858(0x299)]=_0x596e41;}));}};Ct=_s([zt(0x0,_0x169db5),zt(0x1,_0x2f38cd)],Ct);var ds=Object[_0xfe7184(0x4a2)],fs=(_0x4c950c,_0x48bf0f,_0x4dc1ce,_0x1e3b54)=>{var _0x5eb6f5=_0xfe7184;for(var _0xadaa12=_0x1e3b54>0x1?void 0x0:_0x1e3b54?ds(_0x48bf0f,_0x4dc1ce):_0x48bf0f,_0x46f1db=_0x4c950c[_0x5eb6f5(0x44b)]-0x1,_0x5a25b0;_0x46f1db>=0x0;_0x46f1db--)(_0x5a25b0=_0x4c950c[_0x46f1db])&&(_0xadaa12=_0x5a25b0(_0xadaa12)||_0xadaa12);return _0xadaa12;},vt=(_0x4e8ce0,_0x529c5d)=>(_0x52cbf3,_0x508e5d)=>_0x529c5d(_0x52cbf3,_0x508e5d,_0x4e8ce0);let rt=class{constructor(_0x214f51,_0x407ccd,_0x1ff5a0){var _0x2bcfa4=_0xfe7184;this[_0x2bcfa4(0x1fa)]=_0x214f51,this[_0x2bcfa4(0x3d2)]=_0x407ccd,this[_0x2bcfa4(0x2cc)]=_0x1ff5a0,this[_0x2bcfa4(0x1f7)]();}[_0xfe7184(0x1f7)](){var _0x36ba29=_0xfe7184;this[_0x36ba29(0x3d2)][_0x36ba29(0x3c6)]({'priority':0x1,'interceptor':(_0xd8b67a,_0x31fb02)=>_0x31fb02(_0xd8b67a)[_0x36ba29(0x400)](_0x2e6b2f(async _0x252079=>{var _0x5423e7=_0x36ba29;const _0x1301e5=_0x252079;if(_0x1301e5[_0x5423e7(0x2ac)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5423e7(0x497)](this[_0x5423e7(0x2cc)]['t'](_0x5423e7(0x2d5)))){const _0x5ce33c=window[_0x5423e7(0x443)](window['location'][_0x5423e7(0x29a)]);window[_0x5423e7(0x2c8)]['href']=this[_0x5423e7(0x476)]()+'?url='+_0x5ce33c;}}return _0x1301e5;}))});}[_0xfe7184(0x476)](){var _0xbf32c1=_0xfe7184,_0x59bb6b,_0xfff031;const _0x472ed0=this[_0xbf32c1(0x1fa)][_0xbf32c1(0x37f)](Un),_0xabc59a=this[_0xbf32c1(0x1fa)][_0xbf32c1(0x37f)](q);return(_0xfff031=(_0x59bb6b=_0xabc59a==null?void 0x0:_0xabc59a[_0xbf32c1(0x2fc)])!=null?_0x59bb6b:_0x472ed0)!=null?_0xfff031:An;}};rt=fs([vt(0x0,_0x2f38cd),vt(0x1,_0x133e5e(_0x44d219)),vt(0x2,_0x133e5e(_0x20ed6b))],rt);var vs=Object[_0xfe7184(0x4a2)],ps=(_0x14c5db,_0x37cabb,_0x5d5929,_0x519b34)=>{var _0x1a167d=_0xfe7184;for(var _0x3e76f4=_0x519b34>0x1?void 0x0:_0x519b34?vs(_0x37cabb,_0x5d5929):_0x37cabb,_0x40af5a=_0x14c5db[_0x1a167d(0x44b)]-0x1,_0x5118c2;_0x40af5a>=0x0;_0x40af5a--)(_0x5118c2=_0x14c5db[_0x40af5a])&&(_0x3e76f4=_0x5118c2(_0x3e76f4)||_0x3e76f4);return _0x3e76f4;},Jt=(_0x2ac8b7,_0x2fc314)=>(_0x5924f4,_0x3b1252)=>_0x2fc314(_0x5924f4,_0x3b1252,_0x2ac8b7);const Ni=_0xfe7184(0x2db),ms=_0xfe7184(0x39c);let Rt=class extends _0x293672{constructor(_0x268364,_0x47c7ad){var _0x42b564=_0xfe7184;super(),this[_0x42b564(0x436)]=_0x268364,this['_configService']=_0x47c7ad,this[_0x42b564(0x325)]();}[_0xfe7184(0x325)](){var _0x3d65e7=_0xfe7184;const _0xd0a900=this;this[_0x3d65e7(0x2d3)](this['_HTTPService'][_0x3d65e7(0x3c6)]({'priority':0x3e7,'interceptor':_0x2788f5({'isMatch'(_0x4a9a99){var _0x1f3aa6=_0x3d65e7,_0x2fe760;if(_0x4a9a99[_0x1f3aa6(0x201)]===_0x1f3aa6(0x1d6)&&((_0x2fe760=_0x4a9a99[_0x1f3aa6(0x313)])!=null&&_0x2fe760['body'])){const {objectID:_0x70a29,objectType:_0x309d91}=_0x4a9a99[_0x1f3aa6(0x313)]['body']||{};if(!_0x70a29||_0x309d91===void 0x0)return!0x1;const _0x1eda81=_0xd0a900[_0x1f3aa6(0x4af)]()+'/'+_0x309d91+_0x1f3aa6(0x2b2)+_0x70a29+_0x1f3aa6(0x355);if(_0x4a9a99[_0x1f3aa6(0x347)]===_0x1eda81)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x9fcb42){var _0x5de16a=_0x3d65e7,_0x4516cc;return(_0x4516cc=_0x9fcb42[_0x5de16a(0x313)])==null?void 0x0:_0x4516cc[_0x5de16a(0x2ed)];},'mergeParamsToRequest'(_0x3ea463,_0x3d1622){var _0x28b15f=_0x3d65e7;const _0x1f62fa=_0xd0a900['_getAPIPrefixPath']()+_0x28b15f(0x448),_0x32bcba=_0x3ea463[_0x28b15f(0x1db)]((_0x5a0fe3,_0x3170a3)=>{var _0x245c6e=_0x28b15f;const {unitID:_0xe957ac,objectID:_0x19b7e0,objectType:_0x5089d4,actions:_0x156930}=_0x3170a3;return _0x5a0fe3[_0xe957ac]||(_0x5a0fe3[_0xe957ac]={}),_0x5a0fe3[_0xe957ac][_0x19b7e0]||(_0x5a0fe3[_0xe957ac][_0x19b7e0]={'objectID':_0x19b7e0,'objectType':_0x5089d4,'actions':[]}),_0x5a0fe3[_0xe957ac][_0x19b7e0][_0x245c6e(0x3b0)][_0x245c6e(0x3ca)](..._0x156930),_0x5a0fe3;},{}),_0x5bd41e=[];for(const _0x244b22 in _0x32bcba)for(const _0x3f0b23 in _0x32bcba[_0x244b22]){const {actions:_0x46a3ca,objectType:_0x29d927}=_0x32bcba[_0x244b22][_0x3f0b23],_0x28697e=[...new Set(_0x46a3ca)];_0x5bd41e['push']({'unitID':_0x244b22,'objectID':_0x3f0b23,'objectType':_0x29d927,'actions':_0x28697e});}return new _0x560f8d('POST',_0x1f62fa,{'headers':_0x3d1622[_0x28b15f(0x383)],'withCredentials':_0x3d1622[_0x28b15f(0x35b)],'responseType':_0x3d1622[_0x28b15f(0x1de)],'body':{'requests':_0x5bd41e}});}},{'distributeResult'(_0x1241c6,_0xbae18b){var _0x316c77=_0x3d65e7;const {objectActions:_0x4c9fd7}=_0x1241c6;return _0xbae18b[_0x316c77(0x41b)](_0x164cd0=>{var _0x4a2b57=_0x316c77;const {unitID:_0x1227dd,objectID:_0x535683,actions:_0x270dea}=_0x164cd0,_0x2f8aa1=_0x4c9fd7['find'](_0x498524=>_0x498524['unitID']===_0x1227dd&&_0x498524[_0x4a2b57(0x42a)]===_0x535683),_0x5322d9=_0x270dea[_0x4a2b57(0x41b)](_0x44094e=>_0x2f8aa1==null?void 0x0:_0x2f8aa1[_0x4a2b57(0x3b0)]['find'](_0x4537ad=>_0x4537ad[_0x4a2b57(0x4cf)]===_0x44094e))['filter'](_0x292588=>!!_0x292588);return{'config':_0x164cd0,'result':{'actions':_0x5322d9,'error':_0x1241c6[_0x4a2b57(0x21f)]}};});}})}));}[_0xfe7184(0x4af)](){var _0x47f157=_0xfe7184,_0x32144e,_0x250298;const _0x2e385e=this[_0x47f157(0x1fa)][_0x47f157(0x37f)](Ni),_0x318cf1=this[_0x47f157(0x1fa)][_0x47f157(0x37f)](q);return(_0x250298=(_0x32144e=_0x318cf1==null?void 0x0:_0x318cf1['authzUrl'])!=null?_0x32144e:_0x2e385e)!=null?_0x250298:ms;}async['create'](_0x5a2769){var _0x505602=_0xfe7184;const _0x3c80bd=this[_0x505602(0x4af)]()+'/'+_0x5a2769[_0x505602(0x277)]+_0x505602(0x433);return(await this[_0x505602(0x436)][_0x505602(0x43a)](_0x3c80bd,{'body':_0x5a2769}))[_0x505602(0x2ed)][_0x505602(0x42a)]||'';}async[_0xfe7184(0x369)](_0x3d633d){var _0x29f425=_0xfe7184;const _0x27f669=this['_getAPIPrefixPath']()+_0x29f425(0x256);return(await this[_0x29f425(0x436)][_0x29f425(0x43a)](_0x27f669,{'body':_0x3d633d}))[_0x29f425(0x2ed)][_0x29f425(0x4c6)];}async[_0xfe7184(0x3dc)](_0x59e697){var _0x136a65=_0xfe7184,_0x37d355,_0x723d35;const _0x2959a=this[_0x136a65(0x4af)]()+'/'+_0x59e697['objectType']+_0x136a65(0x2b2)+_0x59e697[_0x136a65(0x42a)],_0x1aff49=await this['_HTTPService']['put'](_0x2959a,{'body':_0x59e697});if(((_0x723d35=(_0x37d355=_0x1aff49==null?void 0x0:_0x1aff49[_0x136a65(0x2ed)])==null?void 0x0:_0x37d355[_0x136a65(0x21f)])==null?void 0x0:_0x723d35[_0x136a65(0x2cf)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0xfe7184(0x422)](_0x5588fd){var _0x3f8294=_0xfe7184;const _0x59fb05=this[_0x3f8294(0x4af)]()+'/'+_0x5588fd[_0x3f8294(0x277)]+_0x3f8294(0x2b2)+_0x5588fd[_0x3f8294(0x42a)]+_0x3f8294(0x355);return(await this[_0x3f8294(0x436)][_0x3f8294(0x43a)](_0x59fb05,{'body':_0x5588fd}))[_0x3f8294(0x2ed)]['actions'];}async['batchAllowed'](_0x14bec8){var _0x2fc78c=_0xfe7184;const _0x598d5f=this['_getAPIPrefixPath']()+_0x2fc78c(0x448);return(await this[_0x2fc78c(0x436)][_0x2fc78c(0x43a)](_0x598d5f,{'body':{'requests':_0x14bec8}}))[_0x2fc78c(0x2ed)][_0x2fc78c(0x34b)];}async[_0xfe7184(0x483)](_0x414a91){var _0x5c7799=_0xfe7184;const _0x771764=this[_0x5c7799(0x4af)]()+'/'+_0x414a91[_0x5c7799(0x277)]+_0x5c7799(0x2d2),_0x5c5541=await this[_0x5c7799(0x436)][_0x5c7799(0x43a)](_0x771764,{'body':_0x414a91});return{'roles':_0x5c5541[_0x5c7799(0x2ed)][_0x5c7799(0x23d)],'actions':_0x5c5541['body']['actions']};}async[_0xfe7184(0x1e2)](_0x31b420){var _0x1c73e8=_0xfe7184;const _0x3b658d=this[_0x1c73e8(0x4af)]()+_0x1c73e8(0x394);await this['_HTTPService'][_0x1c73e8(0x38e)](_0x3b658d,{'params':{'collaboratorID':_0x31b420['collaboratorID'],'objectID':_0x31b420['objectID'],'unitID':_0x31b420[_0x1c73e8(0x255)]}});}async[_0xfe7184(0x318)](_0x2995f8){var _0x5a8575=_0xfe7184;const _0x398684=this['_getAPIPrefixPath']()+_0x5a8575(0x394);await this[_0x5a8575(0x436)]['patch'](_0x398684,{'body':_0x2995f8});}async[_0xfe7184(0x398)](_0x2269c4){var _0x182be3=_0xfe7184;const _0x4998d1=this['_getAPIPrefixPath']()+_0x182be3(0x394);await this[_0x182be3(0x436)][_0x182be3(0x43a)](_0x4998d1,{'body':_0x2269c4});}async[_0xfe7184(0x1d2)](_0x3906b0){var _0x126938=_0xfe7184;const _0x28877f=this[_0x126938(0x4af)]()+'/collaborator';return(await this['_HTTPService'][_0x126938(0x404)](_0x28877f,{'params':{'objectID':_0x3906b0[_0x126938(0x42a)],'unitID':_0x3906b0[_0x126938(0x255)]}}))[_0x126938(0x2ed)]['collaborators'];}async[_0xfe7184(0x419)](_0x5a83e0){var _0x99f165=_0xfe7184;const _0x15c567=this[_0x99f165(0x4af)]()+_0x99f165(0x394);await this[_0x99f165(0x436)][_0x99f165(0x30b)](_0x15c567,{'body':_0x5a83e0});}};Rt=ps([Jt(0x0,_0x133e5e(_0x44d219)),Jt(0x1,_0x133e5e(_0x2f38cd))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x5b440b){var _0x2526d7=_0xfe7184;return _0x5b440b&&_0x5b440b[_0x2526d7(0x2bc)]&&Object[_0x2526d7(0x38d)][_0x2526d7(0x34d)]['call'](_0x5b440b,'default')?_0x5b440b[_0x2526d7(0x227)]:_0x5b440b;}var Ve={'exports':{}};function gs(_0x16427b){var _0x110251=_0xfe7184;throw new Error(_0x110251(0x34a)+_0x16427b+_0x110251(0x329));}var Ge={'exports':{}},Ss=Ge[_0xfe7184(0x1d5)],Xt;function ie(){var _0x43813c=_0xfe7184;return Xt||(Xt=0x1,function(_0xaa6ca3,_0x41e166){(function(_0x19e246,_0xf44930){_0xaa6ca3['exports']=_0xf44930();}(Ss,function(){var _0x1287a4=_0x1287a4||function(_0x34866f,_0x420a10){var _0xfda893=_0xb4ca,_0x57aff0;if(typeof window<'u'&&window['crypto']&&(_0x57aff0=window[_0xfda893(0x35e)]),typeof self<'u'&&self[_0xfda893(0x35e)]&&(_0x57aff0=self[_0xfda893(0x35e)]),typeof globalThis<'u'&&globalThis[_0xfda893(0x35e)]&&(_0x57aff0=globalThis['crypto']),!_0x57aff0&&typeof window<'u'&&window[_0xfda893(0x39d)]&&(_0x57aff0=window[_0xfda893(0x39d)]),!_0x57aff0&&typeof pt<'u'&&pt[_0xfda893(0x35e)]&&(_0x57aff0=pt[_0xfda893(0x35e)]),!_0x57aff0&&typeof gs=='function')try{_0x57aff0=require(_0xfda893(0x35e));}catch{}var _0x3c870a=function(){var _0x1b832f=_0xfda893;if(_0x57aff0){if(typeof _0x57aff0['getRandomValues']==_0x1b832f(0x2de))try{return _0x57aff0[_0x1b832f(0x32f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x57aff0['randomBytes']==_0x1b832f(0x2de))try{return _0x57aff0[_0x1b832f(0x2fa)](0x4)[_0x1b832f(0x1f4)]();}catch{}}throw new Error(_0x1b832f(0x3c4));},_0x1608e0=Object[_0xfda893(0x2d9)]||(function(){function _0x50f097(){}return function(_0x5b3da1){var _0x478ecf=_0xb4ca,_0x487832;return _0x50f097[_0x478ecf(0x38d)]=_0x5b3da1,_0x487832=new _0x50f097(),_0x50f097[_0x478ecf(0x38d)]=null,_0x487832;};}()),_0x1f4a81={},_0x4dc36b=_0x1f4a81['lib']={},_0x592dbf=_0x4dc36b['Base']=(function(){return{'extend':function(_0x142eba){var _0x581750=_0xb4ca,_0xe36106=_0x1608e0(this);return _0x142eba&&_0xe36106['mixIn'](_0x142eba),(!_0xe36106[_0x581750(0x34d)](_0x581750(0x1f7))||this[_0x581750(0x1f7)]===_0xe36106[_0x581750(0x1f7)])&&(_0xe36106[_0x581750(0x1f7)]=function(){var _0x36dc4a=_0x581750;_0xe36106[_0x36dc4a(0x40f)][_0x36dc4a(0x1f7)][_0x36dc4a(0x486)](this,arguments);}),_0xe36106[_0x581750(0x1f7)]['prototype']=_0xe36106,_0xe36106[_0x581750(0x40f)]=this,_0xe36106;},'create':function(){var _0x3a775e=_0xb4ca,_0x3c7945=this[_0x3a775e(0x49a)]();return _0x3c7945[_0x3a775e(0x1f7)]['apply'](_0x3c7945,arguments),_0x3c7945;},'init':function(){},'mixIn':function(_0x39e337){var _0x55061e=_0xb4ca;for(var _0x4d4981 in _0x39e337)_0x39e337[_0x55061e(0x34d)](_0x4d4981)&&(this[_0x4d4981]=_0x39e337[_0x4d4981]);_0x39e337[_0x55061e(0x34d)](_0x55061e(0x1e6))&&(this[_0x55061e(0x1e6)]=_0x39e337['toString']);},'clone':function(){var _0x20fc24=_0xb4ca;return this[_0x20fc24(0x1f7)]['prototype'][_0x20fc24(0x49a)](this);}};}()),_0xfde50a=_0x4dc36b[_0xfda893(0x1c6)]=_0x592dbf[_0xfda893(0x49a)]({'init':function(_0x1fa4c4,_0xb750ff){var _0x16ccd6=_0xfda893;_0x1fa4c4=this[_0x16ccd6(0x1f3)]=_0x1fa4c4||[],_0xb750ff!=_0x420a10?this[_0x16ccd6(0x360)]=_0xb750ff:this[_0x16ccd6(0x360)]=_0x1fa4c4[_0x16ccd6(0x44b)]*0x4;},'toString':function(_0x137a55){return(_0x137a55||_0x43b678)['stringify'](this);},'concat':function(_0x5ab15f){var _0x349c86=_0xfda893,_0xa038fb=this[_0x349c86(0x1f3)],_0x2bf78f=_0x5ab15f['words'],_0x8145dc=this[_0x349c86(0x360)],_0x2f0f30=_0x5ab15f[_0x349c86(0x360)];if(this['clamp'](),_0x8145dc%0x4)for(var _0x30db5b=0x0;_0x30db5b<_0x2f0f30;_0x30db5b++){var _0x22d147=_0x2bf78f[_0x30db5b>>>0x2]>>>0x18-_0x30db5b%0x4*0x8&0xff;_0xa038fb[_0x8145dc+_0x30db5b>>>0x2]|=_0x22d147<<0x18-(_0x8145dc+_0x30db5b)%0x4*0x8;}else{for(var _0x4ed861=0x0;_0x4ed861<_0x2f0f30;_0x4ed861+=0x4)_0xa038fb[_0x8145dc+_0x4ed861>>>0x2]=_0x2bf78f[_0x4ed861>>>0x2];}return this[_0x349c86(0x360)]+=_0x2f0f30,this;},'clamp':function(){var _0x4eb79e=_0xfda893,_0x4897bf=this[_0x4eb79e(0x1f3)],_0x269060=this[_0x4eb79e(0x360)];_0x4897bf[_0x269060>>>0x2]&=0xffffffff<<0x20-_0x269060%0x4*0x8,_0x4897bf[_0x4eb79e(0x44b)]=_0x34866f[_0x4eb79e(0x217)](_0x269060/0x4);},'clone':function(){var _0x577637=_0xfda893,_0x39cc6a=_0x592dbf[_0x577637(0x4bc)][_0x577637(0x48d)](this);return _0x39cc6a['words']=this['words'][_0x577637(0x4a6)](0x0),_0x39cc6a;},'random':function(_0x4d34df){var _0x316271=_0xfda893;for(var _0x159dfa=[],_0x4a4991=0x0;_0x4a4991<_0x4d34df;_0x4a4991+=0x4)_0x159dfa[_0x316271(0x3ca)](_0x3c870a());return new _0xfde50a[(_0x316271(0x1f7))](_0x159dfa,_0x4d34df);}}),_0x5aa671=_0x1f4a81['enc']={},_0x43b678=_0x5aa671[_0xfda893(0x294)]={'stringify':function(_0x8596e2){var _0x1dcdef=_0xfda893;for(var _0x4e183b=_0x8596e2[_0x1dcdef(0x1f3)],_0x5310f5=_0x8596e2[_0x1dcdef(0x360)],_0xf6f831=[],_0x12e908=0x0;_0x12e908<_0x5310f5;_0x12e908++){var _0x1559bf=_0x4e183b[_0x12e908>>>0x2]>>>0x18-_0x12e908%0x4*0x8&0xff;_0xf6f831[_0x1dcdef(0x3ca)]((_0x1559bf>>>0x4)[_0x1dcdef(0x1e6)](0x10)),_0xf6f831[_0x1dcdef(0x3ca)]((_0x1559bf&0xf)[_0x1dcdef(0x1e6)](0x10));}return _0xf6f831[_0x1dcdef(0x403)]('');},'parse':function(_0x3d57a7){var _0x2f6c0b=_0xfda893;for(var _0x237a76=_0x3d57a7['length'],_0x54c57e=[],_0x41f915=0x0;_0x41f915<_0x237a76;_0x41f915+=0x2)_0x54c57e[_0x41f915>>>0x3]|=parseInt(_0x3d57a7[_0x2f6c0b(0x397)](_0x41f915,0x2),0x10)<<0x18-_0x41f915%0x8*0x4;return new _0xfde50a[(_0x2f6c0b(0x1f7))](_0x54c57e,_0x237a76/0x2);}},_0x35e683=_0x5aa671['Latin1']={'stringify':function(_0x3b5978){var _0x4ae434=_0xfda893;for(var _0x3c9dc1=_0x3b5978[_0x4ae434(0x1f3)],_0x4e585c=_0x3b5978['sigBytes'],_0x3ea45a=[],_0x37cd1c=0x0;_0x37cd1c<_0x4e585c;_0x37cd1c++){var _0x403d6e=_0x3c9dc1[_0x37cd1c>>>0x2]>>>0x18-_0x37cd1c%0x4*0x8&0xff;_0x3ea45a[_0x4ae434(0x3ca)](String['fromCharCode'](_0x403d6e));}return _0x3ea45a[_0x4ae434(0x403)]('');},'parse':function(_0x2f44ac){var _0x4ac460=_0xfda893;for(var _0x4358a9=_0x2f44ac['length'],_0x3938c8=[],_0x325506=0x0;_0x325506<_0x4358a9;_0x325506++)_0x3938c8[_0x325506>>>0x2]|=(_0x2f44ac[_0x4ac460(0x23a)](_0x325506)&0xff)<<0x18-_0x325506%0x4*0x8;return new _0xfde50a[(_0x4ac460(0x1f7))](_0x3938c8,_0x4358a9);}},_0x4bd750=_0x5aa671[_0xfda893(0x362)]={'stringify':function(_0x298a8e){var _0xdcba1f=_0xfda893;try{return decodeURIComponent(escape(_0x35e683['stringify'](_0x298a8e)));}catch{throw new Error(_0xdcba1f(0x23c));}},'parse':function(_0x32fdc3){var _0x2278a9=_0xfda893;return _0x35e683[_0x2278a9(0x3d8)](unescape(encodeURIComponent(_0x32fdc3)));}},_0x4b7001=_0x4dc36b[_0xfda893(0x2aa)]=_0x592dbf[_0xfda893(0x49a)]({'reset':function(){var _0x175831=_0xfda893;this[_0x175831(0x493)]=new _0xfde50a[(_0x175831(0x1f7))](),this[_0x175831(0x477)]=0x0;},'_append':function(_0x6ff47){var _0x69067b=_0xfda893;typeof _0x6ff47==_0x69067b(0x499)&&(_0x6ff47=_0x4bd750['parse'](_0x6ff47)),this[_0x69067b(0x493)][_0x69067b(0x29d)](_0x6ff47),this[_0x69067b(0x477)]+=_0x6ff47[_0x69067b(0x360)];},'_process':function(_0x5f0236){var _0x1d4c5d=_0xfda893,_0x191e19,_0x533c6b=this[_0x1d4c5d(0x493)],_0x2b9f72=_0x533c6b['words'],_0x3d7198=_0x533c6b['sigBytes'],_0x372a45=this['blockSize'],_0x54fdbb=_0x372a45*0x4,_0x52fbde=_0x3d7198/_0x54fdbb;_0x5f0236?_0x52fbde=_0x34866f['ceil'](_0x52fbde):_0x52fbde=_0x34866f['max']((_0x52fbde|0x0)-this[_0x1d4c5d(0x1fb)],0x0);var _0x32dcea=_0x52fbde*_0x372a45,_0x972b43=_0x34866f['min'](_0x32dcea*0x4,_0x3d7198);if(_0x32dcea){for(var _0x5cf510=0x0;_0x5cf510<_0x32dcea;_0x5cf510+=_0x372a45)this[_0x1d4c5d(0x3f1)](_0x2b9f72,_0x5cf510);_0x191e19=_0x2b9f72[_0x1d4c5d(0x3cc)](0x0,_0x32dcea),_0x533c6b['sigBytes']-=_0x972b43;}return new _0xfde50a['init'](_0x191e19,_0x972b43);},'clone':function(){var _0x818f39=_0xfda893,_0xb58661=_0x592dbf[_0x818f39(0x4bc)][_0x818f39(0x48d)](this);return _0xb58661[_0x818f39(0x493)]=this['_data'][_0x818f39(0x4bc)](),_0xb58661;},'_minBufferSize':0x0});_0x4dc36b[_0xfda893(0x482)]=_0x4b7001[_0xfda893(0x49a)]({'cfg':_0x592dbf['extend'](),'init':function(_0xea5986){var _0x3e022d=_0xfda893;this[_0x3e022d(0x4c8)]=this['cfg'][_0x3e022d(0x49a)](_0xea5986),this[_0x3e022d(0x3ab)]();},'reset':function(){var _0xacbe1f=_0xfda893;_0x4b7001['reset']['call'](this),this[_0xacbe1f(0x3d6)]();},'update':function(_0x5d3d02){return this['_append'](_0x5d3d02),this['_process'](),this;},'finalize':function(_0x42e560){var _0x38ce31=_0xfda893;_0x42e560&&this[_0x38ce31(0x258)](_0x42e560);var _0x3e145d=this['_doFinalize']();return _0x3e145d;},'blockSize':0x10,'_createHelper':function(_0xdcb73c){return function(_0x445f35,_0xa84de1){var _0x515666=_0xb4ca;return new _0xdcb73c['init'](_0xa84de1)[_0x515666(0x2d6)](_0x445f35);};},'_createHmacHelper':function(_0x47e098){return function(_0x22aba2,_0x3b36e6){var _0x201c53=_0xb4ca;return new _0x295461[(_0x201c53(0x26b))][(_0x201c53(0x1f7))](_0x47e098,_0x3b36e6)[_0x201c53(0x2d6)](_0x22aba2);};}});var _0x295461=_0x1f4a81['algo']={};return _0x1f4a81;}(Math);return _0x1287a4;}));}(Ge)),Ge[_0x43813c(0x1d5)];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){var _0x19d807=_0xfe7184;return Zt||(Zt=0x1,function(_0x4bf088,_0x31764d){(function(_0x132247,_0x5f03be){_0x4bf088['exports']=_0x5f03be(ie());}(Es,function(_0x2ee832){var _0x4271a7=_0xb4ca;return(function(){var _0x28ddeb=_0xb4ca,_0x5eb184=_0x2ee832,_0x4f0080=_0x5eb184[_0x28ddeb(0x301)],_0x4e7e3f=_0x4f0080[_0x28ddeb(0x1c6)],_0x80c3e3=_0x5eb184[_0x28ddeb(0x37a)];_0x80c3e3[_0x28ddeb(0x312)]={'stringify':function(_0x4c9357){var _0x59787f=_0x28ddeb,_0x14c651=_0x4c9357[_0x59787f(0x1f3)],_0x1305f7=_0x4c9357[_0x59787f(0x360)],_0x57e8d9=this[_0x59787f(0x49e)];_0x4c9357[_0x59787f(0x257)]();for(var _0x57cc0e=[],_0x7970fa=0x0;_0x7970fa<_0x1305f7;_0x7970fa+=0x3)for(var _0x39a3d0=_0x14c651[_0x7970fa>>>0x2]>>>0x18-_0x7970fa%0x4*0x8&0xff,_0x7404a0=_0x14c651[_0x7970fa+0x1>>>0x2]>>>0x18-(_0x7970fa+0x1)%0x4*0x8&0xff,_0x18cc00=_0x14c651[_0x7970fa+0x2>>>0x2]>>>0x18-(_0x7970fa+0x2)%0x4*0x8&0xff,_0x31ef9c=_0x39a3d0<<0x10|_0x7404a0<<0x8|_0x18cc00,_0x33f9c5=0x0;_0x33f9c5<0x4&&_0x7970fa+_0x33f9c5*0.75<_0x1305f7;_0x33f9c5++)_0x57cc0e['push'](_0x57e8d9['charAt'](_0x31ef9c>>>0x6*(0x3-_0x33f9c5)&0x3f));var _0x2da516=_0x57e8d9[_0x59787f(0x2e7)](0x40);if(_0x2da516){for(;_0x57cc0e[_0x59787f(0x44b)]%0x4;)_0x57cc0e[_0x59787f(0x3ca)](_0x2da516);}return _0x57cc0e[_0x59787f(0x403)]('');},'parse':function(_0x8935b){var _0x7cd56d=_0x28ddeb,_0x15b96e=_0x8935b[_0x7cd56d(0x44b)],_0x1a22b8=this['_map'],_0x503837=this[_0x7cd56d(0x454)];if(!_0x503837){_0x503837=this[_0x7cd56d(0x454)]=[];for(var _0x1fa6db=0x0;_0x1fa6db<_0x1a22b8[_0x7cd56d(0x44b)];_0x1fa6db++)_0x503837[_0x1a22b8[_0x7cd56d(0x23a)](_0x1fa6db)]=_0x1fa6db;}var _0x36443c=_0x1a22b8['charAt'](0x40);if(_0x36443c){var _0x42af06=_0x8935b[_0x7cd56d(0x469)](_0x36443c);_0x42af06!==-0x1&&(_0x15b96e=_0x42af06);}return _0xe26a3b(_0x8935b,_0x15b96e,_0x503837);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xe26a3b(_0x41cefc,_0x11ad41,_0x356e03){var _0x24195d=_0x28ddeb;for(var _0x171616=[],_0xd8faf5=0x0,_0x19b88b=0x0;_0x19b88b<_0x11ad41;_0x19b88b++)if(_0x19b88b%0x4){var _0x10a4c3=_0x356e03[_0x41cefc[_0x24195d(0x23a)](_0x19b88b-0x1)]<<_0x19b88b%0x4*0x2,_0x5418d4=_0x356e03[_0x41cefc[_0x24195d(0x23a)](_0x19b88b)]>>>0x6-_0x19b88b%0x4*0x2,_0x531557=_0x10a4c3|_0x5418d4;_0x171616[_0xd8faf5>>>0x2]|=_0x531557<<0x18-_0xd8faf5%0x4*0x8,_0xd8faf5++;}return _0x4e7e3f[_0x24195d(0x2d9)](_0x171616,_0xd8faf5);}}()),_0x2ee832['enc'][_0x4271a7(0x312)];}));}(We)),We[_0x19d807(0x1d5)];}var Ke={'exports':{}},Is=Ke[_0xfe7184(0x1d5)],Qt;function Ts(){var _0x4b79ce=_0xfe7184;return Qt||(Qt=0x1,function(_0x278f84,_0x253934){(function(_0x32e8b8,_0x226228){_0x278f84['exports']=_0x226228(ie());}(Is,function(_0x756198){return function(_0x30b23b){var _0x581493=_0xb4ca,_0x4977b9=_0x756198,_0x468cf2=_0x4977b9['lib'],_0x38f6b2=_0x468cf2[_0x581493(0x1c6)],_0x13406a=_0x468cf2[_0x581493(0x482)],_0x577850=_0x4977b9[_0x581493(0x24d)],_0x16fd0f=[];(function(){var _0x12bfc8=_0x581493;for(var _0x2f0206=0x0;_0x2f0206<0x40;_0x2f0206++)_0x16fd0f[_0x2f0206]=_0x30b23b['abs'](_0x30b23b[_0x12bfc8(0x1c7)](_0x2f0206+0x1))*0x100000000|0x0;}());var _0x3308be=_0x577850[_0x581493(0x409)]=_0x13406a[_0x581493(0x49a)]({'_doReset':function(){var _0x328c04=_0x581493;this['_hash']=new _0x38f6b2[(_0x328c04(0x1f7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1529e7,_0x49c7f3){var _0x2b476c=_0x581493;for(var _0xa90d21=0x0;_0xa90d21<0x10;_0xa90d21++){var _0xf2c08f=_0x49c7f3+_0xa90d21,_0x1121ca=_0x1529e7[_0xf2c08f];_0x1529e7[_0xf2c08f]=(_0x1121ca<<0x8|_0x1121ca>>>0x18)&0xff00ff|(_0x1121ca<<0x18|_0x1121ca>>>0x8)&0xff00ff00;}var _0x21f986=this[_0x2b476c(0x253)][_0x2b476c(0x1f3)],_0x269c04=_0x1529e7[_0x49c7f3+0x0],_0x53f02b=_0x1529e7[_0x49c7f3+0x1],_0x301e31=_0x1529e7[_0x49c7f3+0x2],_0x55e5f2=_0x1529e7[_0x49c7f3+0x3],_0x4630a2=_0x1529e7[_0x49c7f3+0x4],_0x45d5d1=_0x1529e7[_0x49c7f3+0x5],_0x228a89=_0x1529e7[_0x49c7f3+0x6],_0x5aa775=_0x1529e7[_0x49c7f3+0x7],_0x37f94c=_0x1529e7[_0x49c7f3+0x8],_0x312635=_0x1529e7[_0x49c7f3+0x9],_0x2e9254=_0x1529e7[_0x49c7f3+0xa],_0x1d5cef=_0x1529e7[_0x49c7f3+0xb],_0x1248fd=_0x1529e7[_0x49c7f3+0xc],_0x262e7f=_0x1529e7[_0x49c7f3+0xd],_0x2e58fe=_0x1529e7[_0x49c7f3+0xe],_0x124391=_0x1529e7[_0x49c7f3+0xf],_0x34d076=_0x21f986[0x0],_0x3ceb43=_0x21f986[0x1],_0x1af5cf=_0x21f986[0x2],_0x362e57=_0x21f986[0x3];_0x34d076=_0x368c26(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x269c04,0x7,_0x16fd0f[0x0]),_0x362e57=_0x368c26(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x53f02b,0xc,_0x16fd0f[0x1]),_0x1af5cf=_0x368c26(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x301e31,0x11,_0x16fd0f[0x2]),_0x3ceb43=_0x368c26(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x55e5f2,0x16,_0x16fd0f[0x3]),_0x34d076=_0x368c26(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x4630a2,0x7,_0x16fd0f[0x4]),_0x362e57=_0x368c26(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x45d5d1,0xc,_0x16fd0f[0x5]),_0x1af5cf=_0x368c26(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x228a89,0x11,_0x16fd0f[0x6]),_0x3ceb43=_0x368c26(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x5aa775,0x16,_0x16fd0f[0x7]),_0x34d076=_0x368c26(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x37f94c,0x7,_0x16fd0f[0x8]),_0x362e57=_0x368c26(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x312635,0xc,_0x16fd0f[0x9]),_0x1af5cf=_0x368c26(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x2e9254,0x11,_0x16fd0f[0xa]),_0x3ceb43=_0x368c26(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x1d5cef,0x16,_0x16fd0f[0xb]),_0x34d076=_0x368c26(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x1248fd,0x7,_0x16fd0f[0xc]),_0x362e57=_0x368c26(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x262e7f,0xc,_0x16fd0f[0xd]),_0x1af5cf=_0x368c26(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x2e58fe,0x11,_0x16fd0f[0xe]),_0x3ceb43=_0x368c26(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x124391,0x16,_0x16fd0f[0xf]),_0x34d076=_0x59bc5e(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x53f02b,0x5,_0x16fd0f[0x10]),_0x362e57=_0x59bc5e(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x228a89,0x9,_0x16fd0f[0x11]),_0x1af5cf=_0x59bc5e(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x1d5cef,0xe,_0x16fd0f[0x12]),_0x3ceb43=_0x59bc5e(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x269c04,0x14,_0x16fd0f[0x13]),_0x34d076=_0x59bc5e(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x45d5d1,0x5,_0x16fd0f[0x14]),_0x362e57=_0x59bc5e(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x2e9254,0x9,_0x16fd0f[0x15]),_0x1af5cf=_0x59bc5e(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x124391,0xe,_0x16fd0f[0x16]),_0x3ceb43=_0x59bc5e(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x4630a2,0x14,_0x16fd0f[0x17]),_0x34d076=_0x59bc5e(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x312635,0x5,_0x16fd0f[0x18]),_0x362e57=_0x59bc5e(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x2e58fe,0x9,_0x16fd0f[0x19]),_0x1af5cf=_0x59bc5e(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x55e5f2,0xe,_0x16fd0f[0x1a]),_0x3ceb43=_0x59bc5e(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x37f94c,0x14,_0x16fd0f[0x1b]),_0x34d076=_0x59bc5e(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x262e7f,0x5,_0x16fd0f[0x1c]),_0x362e57=_0x59bc5e(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x301e31,0x9,_0x16fd0f[0x1d]),_0x1af5cf=_0x59bc5e(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x5aa775,0xe,_0x16fd0f[0x1e]),_0x3ceb43=_0x59bc5e(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x1248fd,0x14,_0x16fd0f[0x1f]),_0x34d076=_0x4ebd78(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x45d5d1,0x4,_0x16fd0f[0x20]),_0x362e57=_0x4ebd78(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x37f94c,0xb,_0x16fd0f[0x21]),_0x1af5cf=_0x4ebd78(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x1d5cef,0x10,_0x16fd0f[0x22]),_0x3ceb43=_0x4ebd78(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x2e58fe,0x17,_0x16fd0f[0x23]),_0x34d076=_0x4ebd78(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x53f02b,0x4,_0x16fd0f[0x24]),_0x362e57=_0x4ebd78(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x4630a2,0xb,_0x16fd0f[0x25]),_0x1af5cf=_0x4ebd78(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x5aa775,0x10,_0x16fd0f[0x26]),_0x3ceb43=_0x4ebd78(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x2e9254,0x17,_0x16fd0f[0x27]),_0x34d076=_0x4ebd78(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x262e7f,0x4,_0x16fd0f[0x28]),_0x362e57=_0x4ebd78(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x269c04,0xb,_0x16fd0f[0x29]),_0x1af5cf=_0x4ebd78(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x55e5f2,0x10,_0x16fd0f[0x2a]),_0x3ceb43=_0x4ebd78(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x228a89,0x17,_0x16fd0f[0x2b]),_0x34d076=_0x4ebd78(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x312635,0x4,_0x16fd0f[0x2c]),_0x362e57=_0x4ebd78(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x1248fd,0xb,_0x16fd0f[0x2d]),_0x1af5cf=_0x4ebd78(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x124391,0x10,_0x16fd0f[0x2e]),_0x3ceb43=_0x4ebd78(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x301e31,0x17,_0x16fd0f[0x2f]),_0x34d076=_0x3d28cc(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x269c04,0x6,_0x16fd0f[0x30]),_0x362e57=_0x3d28cc(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x5aa775,0xa,_0x16fd0f[0x31]),_0x1af5cf=_0x3d28cc(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x2e58fe,0xf,_0x16fd0f[0x32]),_0x3ceb43=_0x3d28cc(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x45d5d1,0x15,_0x16fd0f[0x33]),_0x34d076=_0x3d28cc(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x1248fd,0x6,_0x16fd0f[0x34]),_0x362e57=_0x3d28cc(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x55e5f2,0xa,_0x16fd0f[0x35]),_0x1af5cf=_0x3d28cc(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x2e9254,0xf,_0x16fd0f[0x36]),_0x3ceb43=_0x3d28cc(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x53f02b,0x15,_0x16fd0f[0x37]),_0x34d076=_0x3d28cc(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x37f94c,0x6,_0x16fd0f[0x38]),_0x362e57=_0x3d28cc(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x124391,0xa,_0x16fd0f[0x39]),_0x1af5cf=_0x3d28cc(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x228a89,0xf,_0x16fd0f[0x3a]),_0x3ceb43=_0x3d28cc(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x262e7f,0x15,_0x16fd0f[0x3b]),_0x34d076=_0x3d28cc(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x4630a2,0x6,_0x16fd0f[0x3c]),_0x362e57=_0x3d28cc(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x1d5cef,0xa,_0x16fd0f[0x3d]),_0x1af5cf=_0x3d28cc(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x301e31,0xf,_0x16fd0f[0x3e]),_0x3ceb43=_0x3d28cc(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x312635,0x15,_0x16fd0f[0x3f]),_0x21f986[0x0]=_0x21f986[0x0]+_0x34d076|0x0,_0x21f986[0x1]=_0x21f986[0x1]+_0x3ceb43|0x0,_0x21f986[0x2]=_0x21f986[0x2]+_0x1af5cf|0x0,_0x21f986[0x3]=_0x21f986[0x3]+_0x362e57|0x0;},'_doFinalize':function(){var _0x2f01b1=_0x581493,_0x58edb5=this[_0x2f01b1(0x493)],_0x484a71=_0x58edb5[_0x2f01b1(0x1f3)],_0x4b04ac=this[_0x2f01b1(0x477)]*0x8,_0x59f953=_0x58edb5[_0x2f01b1(0x360)]*0x8;_0x484a71[_0x59f953>>>0x5]|=0x80<<0x18-_0x59f953%0x20;var _0x440158=_0x30b23b['floor'](_0x4b04ac/0x100000000),_0x46883a=_0x4b04ac;_0x484a71[(_0x59f953+0x40>>>0x9<<0x4)+0xf]=(_0x440158<<0x8|_0x440158>>>0x18)&0xff00ff|(_0x440158<<0x18|_0x440158>>>0x8)&0xff00ff00,_0x484a71[(_0x59f953+0x40>>>0x9<<0x4)+0xe]=(_0x46883a<<0x8|_0x46883a>>>0x18)&0xff00ff|(_0x46883a<<0x18|_0x46883a>>>0x8)&0xff00ff00,_0x58edb5['sigBytes']=(_0x484a71[_0x2f01b1(0x44b)]+0x1)*0x4,this[_0x2f01b1(0x1f8)]();for(var _0x4cf520=this['_hash'],_0x1ecb32=_0x4cf520[_0x2f01b1(0x1f3)],_0x23ffd4=0x0;_0x23ffd4<0x4;_0x23ffd4++){var _0x36fb15=_0x1ecb32[_0x23ffd4];_0x1ecb32[_0x23ffd4]=(_0x36fb15<<0x8|_0x36fb15>>>0x18)&0xff00ff|(_0x36fb15<<0x18|_0x36fb15>>>0x8)&0xff00ff00;}return _0x4cf520;},'clone':function(){var _0x378b20=_0x581493,_0xad59a0=_0x13406a[_0x378b20(0x4bc)][_0x378b20(0x48d)](this);return _0xad59a0['_hash']=this[_0x378b20(0x253)][_0x378b20(0x4bc)](),_0xad59a0;}});function _0x368c26(_0x206836,_0x3fff10,_0x3bea54,_0x52d72b,_0xaffb86,_0x2257b2,_0x3a9983){var _0x5c0339=_0x206836+(_0x3fff10&_0x3bea54|~_0x3fff10&_0x52d72b)+_0xaffb86+_0x3a9983;return(_0x5c0339<<_0x2257b2|_0x5c0339>>>0x20-_0x2257b2)+_0x3fff10;}function _0x59bc5e(_0x1b05bb,_0x180ab3,_0x3878b3,_0x42f0fa,_0x4ed03e,_0x200bbc,_0x11ec81){var _0x560cd3=_0x1b05bb+(_0x180ab3&_0x42f0fa|_0x3878b3&~_0x42f0fa)+_0x4ed03e+_0x11ec81;return(_0x560cd3<<_0x200bbc|_0x560cd3>>>0x20-_0x200bbc)+_0x180ab3;}function _0x4ebd78(_0x10e03d,_0x49363a,_0x1ffe27,_0x19e49c,_0x2f1429,_0x472bb9,_0xb7471){var _0x3e2081=_0x10e03d+(_0x49363a^_0x1ffe27^_0x19e49c)+_0x2f1429+_0xb7471;return(_0x3e2081<<_0x472bb9|_0x3e2081>>>0x20-_0x472bb9)+_0x49363a;}function _0x3d28cc(_0x296717,_0x420993,_0x254c71,_0x3a0698,_0x142334,_0x123fe3,_0xf9c331){var _0x10e7f0=_0x296717+(_0x254c71^(_0x420993|~_0x3a0698))+_0x142334+_0xf9c331;return(_0x10e7f0<<_0x123fe3|_0x10e7f0>>>0x20-_0x123fe3)+_0x420993;}_0x4977b9[_0x581493(0x409)]=_0x13406a[_0x581493(0x3bc)](_0x3308be),_0x4977b9[_0x581493(0x283)]=_0x13406a[_0x581493(0x314)](_0x3308be);}(Math),_0x756198['MD5'];}));}(Ke)),Ke[_0x4b79ce(0x1d5)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0xfe7184(0x1d5)],ei;function Rs(){var _0x387395=_0xfe7184;return ei||(ei=0x1,function(_0x31026c,_0x4d40e1){(function(_0x47af2e,_0x28d66b){_0x31026c['exports']=_0x28d66b(ie());}(Cs,function(_0x56e4a6){return(function(){var _0x59d768=_0xb4ca,_0x558fc9=_0x56e4a6,_0x1844da=_0x558fc9[_0x59d768(0x301)],_0x4a14e3=_0x1844da[_0x59d768(0x1c6)],_0x286e3e=_0x1844da[_0x59d768(0x482)],_0x27fee7=_0x558fc9[_0x59d768(0x24d)],_0x28350a=[],_0x42d35d=_0x27fee7[_0x59d768(0x304)]=_0x286e3e[_0x59d768(0x49a)]({'_doReset':function(){var _0x3a45ef=_0x59d768;this[_0x3a45ef(0x253)]=new _0x4a14e3[(_0x3a45ef(0x1f7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x88d46e,_0xdce354){var _0x3efb76=_0x59d768;for(var _0x582c41=this[_0x3efb76(0x253)]['words'],_0x22148c=_0x582c41[0x0],_0x328cd6=_0x582c41[0x1],_0x42db72=_0x582c41[0x2],_0x26b13b=_0x582c41[0x3],_0x2ef1a7=_0x582c41[0x4],_0xc6317=0x0;_0xc6317<0x50;_0xc6317++){if(_0xc6317<0x10)_0x28350a[_0xc6317]=_0x88d46e[_0xdce354+_0xc6317]|0x0;else{var _0x7cf429=_0x28350a[_0xc6317-0x3]^_0x28350a[_0xc6317-0x8]^_0x28350a[_0xc6317-0xe]^_0x28350a[_0xc6317-0x10];_0x28350a[_0xc6317]=_0x7cf429<<0x1|_0x7cf429>>>0x1f;}var _0x3df1a8=(_0x22148c<<0x5|_0x22148c>>>0x1b)+_0x2ef1a7+_0x28350a[_0xc6317];_0xc6317<0x14?_0x3df1a8+=(_0x328cd6&_0x42db72|~_0x328cd6&_0x26b13b)+0x5a827999:_0xc6317<0x28?_0x3df1a8+=(_0x328cd6^_0x42db72^_0x26b13b)+0x6ed9eba1:_0xc6317<0x3c?_0x3df1a8+=(_0x328cd6&_0x42db72|_0x328cd6&_0x26b13b|_0x42db72&_0x26b13b)-0x70e44324:_0x3df1a8+=(_0x328cd6^_0x42db72^_0x26b13b)-0x359d3e2a,_0x2ef1a7=_0x26b13b,_0x26b13b=_0x42db72,_0x42db72=_0x328cd6<<0x1e|_0x328cd6>>>0x2,_0x328cd6=_0x22148c,_0x22148c=_0x3df1a8;}_0x582c41[0x0]=_0x582c41[0x0]+_0x22148c|0x0,_0x582c41[0x1]=_0x582c41[0x1]+_0x328cd6|0x0,_0x582c41[0x2]=_0x582c41[0x2]+_0x42db72|0x0,_0x582c41[0x3]=_0x582c41[0x3]+_0x26b13b|0x0,_0x582c41[0x4]=_0x582c41[0x4]+_0x2ef1a7|0x0;},'_doFinalize':function(){var _0x5aba51=_0x59d768,_0x13cc2e=this[_0x5aba51(0x493)],_0x5595ce=_0x13cc2e[_0x5aba51(0x1f3)],_0x19a965=this[_0x5aba51(0x477)]*0x8,_0x683a6b=_0x13cc2e[_0x5aba51(0x360)]*0x8;return _0x5595ce[_0x683a6b>>>0x5]|=0x80<<0x18-_0x683a6b%0x20,_0x5595ce[(_0x683a6b+0x40>>>0x9<<0x4)+0xe]=Math[_0x5aba51(0x3b1)](_0x19a965/0x100000000),_0x5595ce[(_0x683a6b+0x40>>>0x9<<0x4)+0xf]=_0x19a965,_0x13cc2e['sigBytes']=_0x5595ce[_0x5aba51(0x44b)]*0x4,this[_0x5aba51(0x1f8)](),this[_0x5aba51(0x253)];},'clone':function(){var _0x41dec4=_0x59d768,_0x1b8a45=_0x286e3e['clone'][_0x41dec4(0x48d)](this);return _0x1b8a45[_0x41dec4(0x253)]=this[_0x41dec4(0x253)][_0x41dec4(0x4bc)](),_0x1b8a45;}});_0x558fc9[_0x59d768(0x304)]=_0x286e3e[_0x59d768(0x3bc)](_0x42d35d),_0x558fc9[_0x59d768(0x36d)]=_0x286e3e['_createHmacHelper'](_0x42d35d);}()),_0x56e4a6['SHA1'];}));}(qe)),qe[_0x387395(0x1d5)];}var ze={'exports':{}},bs=ze[_0xfe7184(0x1d5)],ti;function Os(){var _0x288ace=_0xfe7184;return ti||(ti=0x1,function(_0x519061,_0x5f15d4){(function(_0x37eafb,_0x347b37){var _0x4ef03d=_0xb4ca;_0x519061[_0x4ef03d(0x1d5)]=_0x347b37(ie());}(bs,function(_0x3f7496){(function(){var _0x4f1a46=_0xb4ca,_0x4802fa=_0x3f7496,_0x2eae94=_0x4802fa[_0x4f1a46(0x301)],_0x3a8cc5=_0x2eae94[_0x4f1a46(0x2a7)],_0x573380=_0x4802fa[_0x4f1a46(0x37a)],_0x37a318=_0x573380[_0x4f1a46(0x362)],_0x22a8f1=_0x4802fa['algo'];_0x22a8f1[_0x4f1a46(0x26b)]=_0x3a8cc5[_0x4f1a46(0x49a)]({'init':function(_0x2b782a,_0x50574e){var _0x3dd4e7=_0x4f1a46;_0x2b782a=this[_0x3dd4e7(0x3d9)]=new _0x2b782a[(_0x3dd4e7(0x1f7))](),typeof _0x50574e=='string'&&(_0x50574e=_0x37a318[_0x3dd4e7(0x3d8)](_0x50574e));var _0x5b8375=_0x2b782a['blockSize'],_0x279bda=_0x5b8375*0x4;_0x50574e['sigBytes']>_0x279bda&&(_0x50574e=_0x2b782a[_0x3dd4e7(0x2d6)](_0x50574e)),_0x50574e[_0x3dd4e7(0x257)]();for(var _0x7f9d59=this[_0x3dd4e7(0x30e)]=_0x50574e[_0x3dd4e7(0x4bc)](),_0x57f926=this['_iKey']=_0x50574e[_0x3dd4e7(0x4bc)](),_0x15a783=_0x7f9d59[_0x3dd4e7(0x1f3)],_0x275136=_0x57f926['words'],_0x3b8b9d=0x0;_0x3b8b9d<_0x5b8375;_0x3b8b9d++)_0x15a783[_0x3b8b9d]^=0x5c5c5c5c,_0x275136[_0x3b8b9d]^=0x36363636;_0x7f9d59[_0x3dd4e7(0x360)]=_0x57f926['sigBytes']=_0x279bda,this[_0x3dd4e7(0x3ab)]();},'reset':function(){var _0x5c94bc=_0x4f1a46,_0x13a909=this[_0x5c94bc(0x3d9)];_0x13a909[_0x5c94bc(0x3ab)](),_0x13a909['update'](this['_iKey']);},'update':function(_0x5822cf){var _0x16dcfd=_0x4f1a46;return this[_0x16dcfd(0x3d9)][_0x16dcfd(0x3dc)](_0x5822cf),this;},'finalize':function(_0x34c6b7){var _0x698b3f=_0x4f1a46,_0x582e21=this[_0x698b3f(0x3d9)],_0x45bfad=_0x582e21['finalize'](_0x34c6b7);_0x582e21[_0x698b3f(0x3ab)]();var _0x325b45=_0x582e21['finalize'](this[_0x698b3f(0x30e)]['clone']()['concat'](_0x45bfad));return _0x325b45;}});}());}));}(ze)),ze[_0x288ace(0x1d5)];}var ys=Ye[_0xfe7184(0x1d5)],ii;function Ui(){return ii||(ii=0x1,function(_0x34e840,_0x3822b0){(function(_0x596687,_0x163d81,_0x159abe){_0x34e840['exports']=_0x163d81(ie(),Rs(),Os());}(ys,function(_0x29f2c7){return(function(){var _0xacdb7a=_0xb4ca,_0x5d6a24=_0x29f2c7,_0x2be5ae=_0x5d6a24['lib'],_0x9bf29b=_0x2be5ae[_0xacdb7a(0x2a7)],_0x5be898=_0x2be5ae[_0xacdb7a(0x1c6)],_0xd6a4b=_0x5d6a24[_0xacdb7a(0x24d)],_0x55e9bb=_0xd6a4b[_0xacdb7a(0x409)],_0x14c5bf=_0xd6a4b[_0xacdb7a(0x381)]=_0x9bf29b[_0xacdb7a(0x49a)]({'cfg':_0x9bf29b[_0xacdb7a(0x49a)]({'keySize':0x80/0x20,'hasher':_0x55e9bb,'iterations':0x1}),'init':function(_0x2ddc9e){var _0x4930fa=_0xacdb7a;this[_0x4930fa(0x4c8)]=this['cfg'][_0x4930fa(0x49a)](_0x2ddc9e);},'compute':function(_0x3435d1,_0x11d202){var _0x1ddac6=_0xacdb7a;for(var _0x3985f5,_0xef4bb3=this['cfg'],_0x5c6b59=_0xef4bb3[_0x1ddac6(0x41f)][_0x1ddac6(0x2d9)](),_0x15d7e7=_0x5be898[_0x1ddac6(0x2d9)](),_0x5b68fb=_0x15d7e7[_0x1ddac6(0x1f3)],_0x3efda3=_0xef4bb3[_0x1ddac6(0x4b2)],_0x5bc98c=_0xef4bb3[_0x1ddac6(0x250)];_0x5b68fb[_0x1ddac6(0x44b)]<_0x3efda3;){_0x3985f5&&_0x5c6b59['update'](_0x3985f5),_0x3985f5=_0x5c6b59[_0x1ddac6(0x3dc)](_0x3435d1)[_0x1ddac6(0x2d6)](_0x11d202),_0x5c6b59['reset']();for(var _0x53df39=0x1;_0x53df39<_0x5bc98c;_0x53df39++)_0x3985f5=_0x5c6b59[_0x1ddac6(0x2d6)](_0x3985f5),_0x5c6b59[_0x1ddac6(0x3ab)]();_0x15d7e7[_0x1ddac6(0x29d)](_0x3985f5);}return _0x15d7e7[_0x1ddac6(0x360)]=_0x3efda3*0x4,_0x15d7e7;}});_0x5d6a24[_0xacdb7a(0x381)]=function(_0x474ac9,_0xd50b37,_0x51997d){var _0xdd4e18=_0xacdb7a;return _0x14c5bf['create'](_0x51997d)[_0xdd4e18(0x471)](_0x474ac9,_0xd50b37);};}()),_0x29f2c7['EvpKDF'];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x2cb4b5=_0xfe7184;return ni||(ni=0x1,function(_0x87c07a,_0x5b7836){(function(_0x44fde9,_0x387e7b,_0x361e1c){var _0x3c5f7c=_0xb4ca;_0x87c07a[_0x3c5f7c(0x1d5)]=_0x387e7b(ie(),Ui());}(Ns,function(_0x2a9659){var _0x377de3=_0xb4ca;_0x2a9659[_0x377de3(0x301)][_0x377de3(0x1c4)]||function(_0x2b31f4){var _0x137f6d=_0x377de3,_0x4deccf=_0x2a9659,_0x58c6d2=_0x4deccf['lib'],_0x471f41=_0x58c6d2['Base'],_0x2b8064=_0x58c6d2[_0x137f6d(0x1c6)],_0x48ece9=_0x58c6d2[_0x137f6d(0x2aa)],_0x1981eb=_0x4deccf['enc'];_0x1981eb[_0x137f6d(0x362)];var _0x434c53=_0x1981eb[_0x137f6d(0x312)],_0x2e345f=_0x4deccf['algo'],_0xbf8046=_0x2e345f[_0x137f6d(0x381)],_0xc6df2b=_0x58c6d2['Cipher']=_0x48ece9[_0x137f6d(0x49a)]({'cfg':_0x471f41[_0x137f6d(0x49a)](),'createEncryptor':function(_0x1b8379,_0x3fe400){var _0x411199=_0x137f6d;return this[_0x411199(0x2d9)](this[_0x411199(0x249)],_0x1b8379,_0x3fe400);},'createDecryptor':function(_0x2678ae,_0x3d780c){var _0x1089e3=_0x137f6d;return this[_0x1089e3(0x2d9)](this[_0x1089e3(0x427)],_0x2678ae,_0x3d780c);},'init':function(_0x3f845e,_0x4781b0,_0x22bbc7){var _0x3e54c7=_0x137f6d;this[_0x3e54c7(0x4c8)]=this[_0x3e54c7(0x4c8)][_0x3e54c7(0x49a)](_0x22bbc7),this[_0x3e54c7(0x3fe)]=_0x3f845e,this[_0x3e54c7(0x3aa)]=_0x4781b0,this[_0x3e54c7(0x3ab)]();},'reset':function(){var _0x1dd60d=_0x137f6d;_0x48ece9[_0x1dd60d(0x3ab)][_0x1dd60d(0x48d)](this),this['_doReset']();},'process':function(_0x4ebf1d){var _0x5b6f8b=_0x137f6d;return this[_0x5b6f8b(0x258)](_0x4ebf1d),this[_0x5b6f8b(0x1f8)]();},'finalize':function(_0x2745eb){var _0x49d74d=_0x137f6d;_0x2745eb&&this['_append'](_0x2745eb);var _0x191ec3=this[_0x49d74d(0x3e3)]();return _0x191ec3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x58677e(_0x5799a2){var _0x54e815=_0xb4ca;return typeof _0x5799a2==_0x54e815(0x499)?_0x34bd0c:_0x131ddb;}return function(_0x17d0c0){return{'encrypt':function(_0x360a70,_0x287edf,_0x3ccfb0){var _0x5a5bbd=_0xb4ca;return _0x58677e(_0x287edf)[_0x5a5bbd(0x212)](_0x17d0c0,_0x360a70,_0x287edf,_0x3ccfb0);},'decrypt':function(_0x102709,_0x518bce,_0x374eb5){var _0x56dbbd=_0xb4ca;return _0x58677e(_0x518bce)[_0x56dbbd(0x215)](_0x17d0c0,_0x102709,_0x518bce,_0x374eb5);}};};}())});_0x58c6d2[_0x137f6d(0x45e)]=_0xc6df2b[_0x137f6d(0x49a)]({'_doFinalize':function(){var _0x37789f=_0x137f6d,_0x385645=this[_0x37789f(0x1f8)](!0x0);return _0x385645;},'blockSize':0x1});var _0x4ce1b3=_0x4deccf[_0x137f6d(0x233)]={},_0x558757=_0x58c6d2[_0x137f6d(0x3c0)]=_0x471f41[_0x137f6d(0x49a)]({'createEncryptor':function(_0x7dbcc3,_0x413fd0){var _0xb7797=_0x137f6d;return this['Encryptor'][_0xb7797(0x2d9)](_0x7dbcc3,_0x413fd0);},'createDecryptor':function(_0x35c670,_0x34d902){var _0x4fa923=_0x137f6d;return this[_0x4fa923(0x33b)][_0x4fa923(0x2d9)](_0x35c670,_0x34d902);},'init':function(_0x784d83,_0x52a58c){var _0x4ba591=_0x137f6d;this['_cipher']=_0x784d83,this[_0x4ba591(0x488)]=_0x52a58c;}}),_0x15dbf5=_0x4ce1b3[_0x137f6d(0x273)]=(function(){var _0xffba2c=_0x137f6d,_0x358c70=_0x558757[_0xffba2c(0x49a)]();_0x358c70[_0xffba2c(0x45c)]=_0x358c70['extend']({'processBlock':function(_0x171d73,_0x1e1eac){var _0xdb2f84=_0xffba2c,_0xc83069=this[_0xdb2f84(0x203)],_0x36dbaf=_0xc83069[_0xdb2f84(0x2d7)];_0x36bf87[_0xdb2f84(0x48d)](this,_0x171d73,_0x1e1eac,_0x36dbaf),_0xc83069[_0xdb2f84(0x337)](_0x171d73,_0x1e1eac),this[_0xdb2f84(0x1ca)]=_0x171d73['slice'](_0x1e1eac,_0x1e1eac+_0x36dbaf);}}),_0x358c70[_0xffba2c(0x33b)]=_0x358c70[_0xffba2c(0x49a)]({'processBlock':function(_0x5cc269,_0x12ad22){var _0x20552b=_0xffba2c,_0xe51d1c=this['_cipher'],_0x5bb65d=_0xe51d1c[_0x20552b(0x2d7)],_0x5ce7eb=_0x5cc269[_0x20552b(0x4a6)](_0x12ad22,_0x12ad22+_0x5bb65d);_0xe51d1c[_0x20552b(0x37b)](_0x5cc269,_0x12ad22),_0x36bf87['call'](this,_0x5cc269,_0x12ad22,_0x5bb65d),this[_0x20552b(0x1ca)]=_0x5ce7eb;}});function _0x36bf87(_0x2de7e8,_0x1eb10b,_0x14a73d){var _0x39c4e=_0xffba2c,_0xe8c96e,_0x1143a8=this[_0x39c4e(0x488)];_0x1143a8?(_0xe8c96e=_0x1143a8,this['_iv']=_0x2b31f4):_0xe8c96e=this[_0x39c4e(0x1ca)];for(var _0x3cc4aa=0x0;_0x3cc4aa<_0x14a73d;_0x3cc4aa++)_0x2de7e8[_0x1eb10b+_0x3cc4aa]^=_0xe8c96e[_0x3cc4aa];}return _0x358c70;}()),_0x518f8e=_0x4deccf[_0x137f6d(0x428)]={},_0x1f525e=_0x518f8e[_0x137f6d(0x451)]={'pad':function(_0x1293cd,_0x14db5e){var _0x31631b=_0x137f6d;for(var _0x34cfad=_0x14db5e*0x4,_0x56d81d=_0x34cfad-_0x1293cd[_0x31631b(0x360)]%_0x34cfad,_0x55d8d8=_0x56d81d<<0x18|_0x56d81d<<0x10|_0x56d81d<<0x8|_0x56d81d,_0x54e0cf=[],_0x2558e9=0x0;_0x2558e9<_0x56d81d;_0x2558e9+=0x4)_0x54e0cf['push'](_0x55d8d8);var _0x1cb99b=_0x2b8064[_0x31631b(0x2d9)](_0x54e0cf,_0x56d81d);_0x1293cd['concat'](_0x1cb99b);},'unpad':function(_0x20e25a){var _0x169386=_0x137f6d,_0x244731=_0x20e25a[_0x169386(0x1f3)][_0x20e25a['sigBytes']-0x1>>>0x2]&0xff;_0x20e25a[_0x169386(0x360)]-=_0x244731;}};_0x58c6d2[_0x137f6d(0x405)]=_0xc6df2b['extend']({'cfg':_0xc6df2b[_0x137f6d(0x4c8)][_0x137f6d(0x49a)]({'mode':_0x15dbf5,'padding':_0x1f525e}),'reset':function(){var _0x354985=_0x137f6d,_0x43420a;_0xc6df2b[_0x354985(0x3ab)][_0x354985(0x48d)](this);var _0x3c6d3d=this[_0x354985(0x4c8)],_0x4529c3=_0x3c6d3d['iv'],_0x3592c9=_0x3c6d3d[_0x354985(0x233)];this[_0x354985(0x3fe)]==this[_0x354985(0x249)]?_0x43420a=_0x3592c9[_0x354985(0x4d0)]:(_0x43420a=_0x3592c9[_0x354985(0x4b9)],this['_minBufferSize']=0x1),this[_0x354985(0x4aa)]&&this[_0x354985(0x4aa)]['__creator']==_0x43420a?this[_0x354985(0x4aa)][_0x354985(0x1f7)](this,_0x4529c3&&_0x4529c3[_0x354985(0x1f3)]):(this[_0x354985(0x4aa)]=_0x43420a[_0x354985(0x48d)](_0x3592c9,this,_0x4529c3&&_0x4529c3[_0x354985(0x1f3)]),this[_0x354985(0x4aa)][_0x354985(0x49c)]=_0x43420a);},'_doProcessBlock':function(_0x2b8596,_0x57ce32){var _0xf74c42=_0x137f6d;this[_0xf74c42(0x4aa)][_0xf74c42(0x202)](_0x2b8596,_0x57ce32);},'_doFinalize':function(){var _0x42c577=_0x137f6d,_0x162a9a,_0xd787b7=this[_0x42c577(0x4c8)][_0x42c577(0x4be)];return this[_0x42c577(0x3fe)]==this[_0x42c577(0x249)]?(_0xd787b7[_0x42c577(0x428)](this[_0x42c577(0x493)],this[_0x42c577(0x2d7)]),_0x162a9a=this[_0x42c577(0x1f8)](!0x0)):(_0x162a9a=this[_0x42c577(0x1f8)](!0x0),_0xd787b7[_0x42c577(0x387)](_0x162a9a)),_0x162a9a;},'blockSize':0x80/0x20});var _0x49a7f5=_0x58c6d2[_0x137f6d(0x382)]=_0x471f41['extend']({'init':function(_0x3f1f7e){var _0x4932b6=_0x137f6d;this[_0x4932b6(0x238)](_0x3f1f7e);},'toString':function(_0x2eb6c9){var _0x2762c2=_0x137f6d;return(_0x2eb6c9||this['formatter'])[_0x2762c2(0x291)](this);}}),_0x505b47=_0x4deccf['format']={},_0x49a1de=_0x505b47['OpenSSL']={'stringify':function(_0x21d332){var _0x51d385=_0x137f6d,_0x3c194d,_0x4ceb1b=_0x21d332[_0x51d385(0x2e3)],_0x29de2e=_0x21d332['salt'];return _0x29de2e?_0x3c194d=_0x2b8064[_0x51d385(0x2d9)]([0x53616c74,0x65645f5f])[_0x51d385(0x29d)](_0x29de2e)['concat'](_0x4ceb1b):_0x3c194d=_0x4ceb1b,_0x3c194d[_0x51d385(0x1e6)](_0x434c53);},'parse':function(_0x34a52c){var _0x372f5c=_0x137f6d,_0x2caecb,_0x121f6a=_0x434c53[_0x372f5c(0x3d8)](_0x34a52c),_0x278562=_0x121f6a['words'];return _0x278562[0x0]==0x53616c74&&_0x278562[0x1]==0x65645f5f&&(_0x2caecb=_0x2b8064['create'](_0x278562['slice'](0x2,0x4)),_0x278562[_0x372f5c(0x3cc)](0x0,0x4),_0x121f6a['sigBytes']-=0x10),_0x49a7f5[_0x372f5c(0x2d9)]({'ciphertext':_0x121f6a,'salt':_0x2caecb});}},_0x131ddb=_0x58c6d2[_0x137f6d(0x1c8)]=_0x471f41[_0x137f6d(0x49a)]({'cfg':_0x471f41[_0x137f6d(0x49a)]({'format':_0x49a1de}),'encrypt':function(_0x1f44af,_0x62b46,_0x300e3a,_0x58fa8f){var _0x48cd92=_0x137f6d;_0x58fa8f=this[_0x48cd92(0x4c8)][_0x48cd92(0x49a)](_0x58fa8f);var _0x2600ff=_0x1f44af[_0x48cd92(0x4d0)](_0x300e3a,_0x58fa8f),_0x469dc3=_0x2600ff['finalize'](_0x62b46),_0x303285=_0x2600ff[_0x48cd92(0x4c8)];return _0x49a7f5[_0x48cd92(0x2d9)]({'ciphertext':_0x469dc3,'key':_0x300e3a,'iv':_0x303285['iv'],'algorithm':_0x1f44af,'mode':_0x303285['mode'],'padding':_0x303285[_0x48cd92(0x4be)],'blockSize':_0x1f44af[_0x48cd92(0x2d7)],'formatter':_0x58fa8f[_0x48cd92(0x28b)]});},'decrypt':function(_0x63e9b2,_0x9ccd22,_0x49092d,_0x2117b3){var _0x2451e5=_0x137f6d;_0x2117b3=this['cfg'][_0x2451e5(0x49a)](_0x2117b3),_0x9ccd22=this['_parse'](_0x9ccd22,_0x2117b3[_0x2451e5(0x28b)]);var _0x121ec3=_0x63e9b2[_0x2451e5(0x4b9)](_0x49092d,_0x2117b3)[_0x2451e5(0x2d6)](_0x9ccd22['ciphertext']);return _0x121ec3;},'_parse':function(_0x2378a6,_0x22dce0){var _0x4d5cd4=_0x137f6d;return typeof _0x2378a6==_0x4d5cd4(0x499)?_0x22dce0[_0x4d5cd4(0x3d8)](_0x2378a6,this):_0x2378a6;}}),_0x24150a=_0x4deccf[_0x137f6d(0x2cd)]={},_0x4459d1=_0x24150a[_0x137f6d(0x39a)]={'execute':function(_0x32a6c0,_0x4e65b9,_0x3ffaed,_0x4113a6,_0x133160){var _0x1665b5=_0x137f6d;if(_0x4113a6||(_0x4113a6=_0x2b8064[_0x1665b5(0x4c2)](0x40/0x8)),_0x133160)var _0x5b1bec=_0xbf8046[_0x1665b5(0x2d9)]({'keySize':_0x4e65b9+_0x3ffaed,'hasher':_0x133160})[_0x1665b5(0x471)](_0x32a6c0,_0x4113a6);else var _0x5b1bec=_0xbf8046[_0x1665b5(0x2d9)]({'keySize':_0x4e65b9+_0x3ffaed})[_0x1665b5(0x471)](_0x32a6c0,_0x4113a6);var _0xe1e50=_0x2b8064['create'](_0x5b1bec[_0x1665b5(0x1f3)]['slice'](_0x4e65b9),_0x3ffaed*0x4);return _0x5b1bec[_0x1665b5(0x360)]=_0x4e65b9*0x4,_0x49a7f5[_0x1665b5(0x2d9)]({'key':_0x5b1bec,'iv':_0xe1e50,'salt':_0x4113a6});}},_0x34bd0c=_0x58c6d2[_0x137f6d(0x3d7)]=_0x131ddb[_0x137f6d(0x49a)]({'cfg':_0x131ddb[_0x137f6d(0x4c8)]['extend']({'kdf':_0x4459d1}),'encrypt':function(_0x20141c,_0x1c5382,_0x415fe6,_0x4343ba){var _0x485786=_0x137f6d;_0x4343ba=this[_0x485786(0x4c8)][_0x485786(0x49a)](_0x4343ba);var _0x5358db=_0x4343ba['kdf']['execute'](_0x415fe6,_0x20141c['keySize'],_0x20141c[_0x485786(0x371)],_0x4343ba[_0x485786(0x25e)],_0x4343ba[_0x485786(0x41f)]);_0x4343ba['iv']=_0x5358db['iv'];var _0x35f8de=_0x131ddb[_0x485786(0x212)]['call'](this,_0x20141c,_0x1c5382,_0x5358db[_0x485786(0x2a5)],_0x4343ba);return _0x35f8de[_0x485786(0x238)](_0x5358db),_0x35f8de;},'decrypt':function(_0x226317,_0x2d714c,_0x564ac3,_0x385b83){var _0x2794be=_0x137f6d;_0x385b83=this['cfg'][_0x2794be(0x49a)](_0x385b83),_0x2d714c=this[_0x2794be(0x42c)](_0x2d714c,_0x385b83[_0x2794be(0x28b)]);var _0x244b90=_0x385b83['kdf'][_0x2794be(0x21c)](_0x564ac3,_0x226317[_0x2794be(0x4b2)],_0x226317[_0x2794be(0x371)],_0x2d714c[_0x2794be(0x25e)],_0x385b83[_0x2794be(0x41f)]);_0x385b83['iv']=_0x244b90['iv'];var _0x5a9e71=_0x131ddb[_0x2794be(0x215)]['call'](this,_0x226317,_0x2d714c,_0x244b90[_0x2794be(0x2a5)],_0x385b83);return _0x5a9e71;}});}();}));}(Je)),Je[_0x2cb4b5(0x1d5)];}var Ds=Ve[_0xfe7184(0x1d5)],si;function Us(){var _0x3df834=_0xfe7184;return si||(si=0x1,function(_0x510204,_0x189fff){(function(_0x41da6e,_0x470c8d,_0x4caffb){_0x510204['exports']=_0x470c8d(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x542ac6){var _0x2dfd65=_0xb4ca;return(function(){var _0xdba12a=_0xb4ca,_0x56df87=_0x542ac6,_0x197280=_0x56df87[_0xdba12a(0x301)],_0x47b3fc=_0x197280[_0xdba12a(0x405)],_0x520c08=_0x56df87[_0xdba12a(0x24d)],_0x6e9777=[],_0x5d319f=[],_0x5c3b3b=[],_0x302c02=[],_0x27c48c=[],_0x3853b7=[],_0xd53e02=[],_0x49c76b=[],_0x29b2bf=[],_0x1a31d4=[];(function(){for(var _0x66df53=[],_0x292703=0x0;_0x292703<0x100;_0x292703++)_0x292703<0x80?_0x66df53[_0x292703]=_0x292703<<0x1:_0x66df53[_0x292703]=_0x292703<<0x1^0x11b;for(var _0x126886=0x0,_0x1c758a=0x0,_0x292703=0x0;_0x292703<0x100;_0x292703++){var _0x1a958f=_0x1c758a^_0x1c758a<<0x1^_0x1c758a<<0x2^_0x1c758a<<0x3^_0x1c758a<<0x4;_0x1a958f=_0x1a958f>>>0x8^_0x1a958f&0xff^0x63,_0x6e9777[_0x126886]=_0x1a958f,_0x5d319f[_0x1a958f]=_0x126886;var _0x1ce66c=_0x66df53[_0x126886],_0xc1417c=_0x66df53[_0x1ce66c],_0x1723c9=_0x66df53[_0xc1417c],_0x5141ff=_0x66df53[_0x1a958f]*0x101^_0x1a958f*0x1010100;_0x5c3b3b[_0x126886]=_0x5141ff<<0x18|_0x5141ff>>>0x8,_0x302c02[_0x126886]=_0x5141ff<<0x10|_0x5141ff>>>0x10,_0x27c48c[_0x126886]=_0x5141ff<<0x8|_0x5141ff>>>0x18,_0x3853b7[_0x126886]=_0x5141ff;var _0x5141ff=_0x1723c9*0x1010101^_0xc1417c*0x10001^_0x1ce66c*0x101^_0x126886*0x1010100;_0xd53e02[_0x1a958f]=_0x5141ff<<0x18|_0x5141ff>>>0x8,_0x49c76b[_0x1a958f]=_0x5141ff<<0x10|_0x5141ff>>>0x10,_0x29b2bf[_0x1a958f]=_0x5141ff<<0x8|_0x5141ff>>>0x18,_0x1a31d4[_0x1a958f]=_0x5141ff,_0x126886?(_0x126886=_0x1ce66c^_0x66df53[_0x66df53[_0x66df53[_0x1723c9^_0x1ce66c]]],_0x1c758a^=_0x66df53[_0x66df53[_0x1c758a]]):_0x126886=_0x1c758a=0x1;}}());var _0x4a7235=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2db473=_0x520c08['AES']=_0x47b3fc['extend']({'_doReset':function(){var _0x572b04=_0xdba12a,_0x2c9b02;if(!(this[_0x572b04(0x271)]&&this['_keyPriorReset']===this[_0x572b04(0x3aa)])){for(var _0x5abfc7=this[_0x572b04(0x372)]=this[_0x572b04(0x3aa)],_0x3f9470=_0x5abfc7[_0x572b04(0x1f3)],_0x107186=_0x5abfc7['sigBytes']/0x4,_0x4792b5=this[_0x572b04(0x271)]=_0x107186+0x6,_0x481b0b=(_0x4792b5+0x1)*0x4,_0x29b626=this[_0x572b04(0x27b)]=[],_0x11f3e3=0x0;_0x11f3e3<_0x481b0b;_0x11f3e3++)_0x11f3e3<_0x107186?_0x29b626[_0x11f3e3]=_0x3f9470[_0x11f3e3]:(_0x2c9b02=_0x29b626[_0x11f3e3-0x1],_0x11f3e3%_0x107186?_0x107186>0x6&&_0x11f3e3%_0x107186==0x4&&(_0x2c9b02=_0x6e9777[_0x2c9b02>>>0x18]<<0x18|_0x6e9777[_0x2c9b02>>>0x10&0xff]<<0x10|_0x6e9777[_0x2c9b02>>>0x8&0xff]<<0x8|_0x6e9777[_0x2c9b02&0xff]):(_0x2c9b02=_0x2c9b02<<0x8|_0x2c9b02>>>0x18,_0x2c9b02=_0x6e9777[_0x2c9b02>>>0x18]<<0x18|_0x6e9777[_0x2c9b02>>>0x10&0xff]<<0x10|_0x6e9777[_0x2c9b02>>>0x8&0xff]<<0x8|_0x6e9777[_0x2c9b02&0xff],_0x2c9b02^=_0x4a7235[_0x11f3e3/_0x107186|0x0]<<0x18),_0x29b626[_0x11f3e3]=_0x29b626[_0x11f3e3-_0x107186]^_0x2c9b02);for(var _0x36d6c8=this[_0x572b04(0x3b5)]=[],_0x2a1bc5=0x0;_0x2a1bc5<_0x481b0b;_0x2a1bc5++){var _0x11f3e3=_0x481b0b-_0x2a1bc5;if(_0x2a1bc5%0x4)var _0x2c9b02=_0x29b626[_0x11f3e3];else var _0x2c9b02=_0x29b626[_0x11f3e3-0x4];_0x2a1bc5<0x4||_0x11f3e3<=0x4?_0x36d6c8[_0x2a1bc5]=_0x2c9b02:_0x36d6c8[_0x2a1bc5]=_0xd53e02[_0x6e9777[_0x2c9b02>>>0x18]]^_0x49c76b[_0x6e9777[_0x2c9b02>>>0x10&0xff]]^_0x29b2bf[_0x6e9777[_0x2c9b02>>>0x8&0xff]]^_0x1a31d4[_0x6e9777[_0x2c9b02&0xff]];}}},'encryptBlock':function(_0x39ca56,_0x4abdca){this['_doCryptBlock'](_0x39ca56,_0x4abdca,this['_keySchedule'],_0x5c3b3b,_0x302c02,_0x27c48c,_0x3853b7,_0x6e9777);},'decryptBlock':function(_0x1f1745,_0x24d184){var _0x3cae80=_0xdba12a,_0x561f3e=_0x1f1745[_0x24d184+0x1];_0x1f1745[_0x24d184+0x1]=_0x1f1745[_0x24d184+0x3],_0x1f1745[_0x24d184+0x3]=_0x561f3e,this[_0x3cae80(0x447)](_0x1f1745,_0x24d184,this[_0x3cae80(0x3b5)],_0xd53e02,_0x49c76b,_0x29b2bf,_0x1a31d4,_0x5d319f);var _0x561f3e=_0x1f1745[_0x24d184+0x1];_0x1f1745[_0x24d184+0x1]=_0x1f1745[_0x24d184+0x3],_0x1f1745[_0x24d184+0x3]=_0x561f3e;},'_doCryptBlock':function(_0x52b2e4,_0x4ff052,_0x573b63,_0x4e8d2e,_0x2d4314,_0x26699e,_0x229bbe,_0x1f8eb4){var _0x20249c=_0xdba12a;for(var _0x5d0628=this[_0x20249c(0x271)],_0x255eb8=_0x52b2e4[_0x4ff052]^_0x573b63[0x0],_0x4a5ed2=_0x52b2e4[_0x4ff052+0x1]^_0x573b63[0x1],_0x180e43=_0x52b2e4[_0x4ff052+0x2]^_0x573b63[0x2],_0x193776=_0x52b2e4[_0x4ff052+0x3]^_0x573b63[0x3],_0x8551be=0x4,_0x56b196=0x1;_0x56b196<_0x5d0628;_0x56b196++){var _0x19274c=_0x4e8d2e[_0x255eb8>>>0x18]^_0x2d4314[_0x4a5ed2>>>0x10&0xff]^_0x26699e[_0x180e43>>>0x8&0xff]^_0x229bbe[_0x193776&0xff]^_0x573b63[_0x8551be++],_0x4f5e90=_0x4e8d2e[_0x4a5ed2>>>0x18]^_0x2d4314[_0x180e43>>>0x10&0xff]^_0x26699e[_0x193776>>>0x8&0xff]^_0x229bbe[_0x255eb8&0xff]^_0x573b63[_0x8551be++],_0x789949=_0x4e8d2e[_0x180e43>>>0x18]^_0x2d4314[_0x193776>>>0x10&0xff]^_0x26699e[_0x255eb8>>>0x8&0xff]^_0x229bbe[_0x4a5ed2&0xff]^_0x573b63[_0x8551be++],_0x406d1d=_0x4e8d2e[_0x193776>>>0x18]^_0x2d4314[_0x255eb8>>>0x10&0xff]^_0x26699e[_0x4a5ed2>>>0x8&0xff]^_0x229bbe[_0x180e43&0xff]^_0x573b63[_0x8551be++];_0x255eb8=_0x19274c,_0x4a5ed2=_0x4f5e90,_0x180e43=_0x789949,_0x193776=_0x406d1d;}var _0x19274c=(_0x1f8eb4[_0x255eb8>>>0x18]<<0x18|_0x1f8eb4[_0x4a5ed2>>>0x10&0xff]<<0x10|_0x1f8eb4[_0x180e43>>>0x8&0xff]<<0x8|_0x1f8eb4[_0x193776&0xff])^_0x573b63[_0x8551be++],_0x4f5e90=(_0x1f8eb4[_0x4a5ed2>>>0x18]<<0x18|_0x1f8eb4[_0x180e43>>>0x10&0xff]<<0x10|_0x1f8eb4[_0x193776>>>0x8&0xff]<<0x8|_0x1f8eb4[_0x255eb8&0xff])^_0x573b63[_0x8551be++],_0x789949=(_0x1f8eb4[_0x180e43>>>0x18]<<0x18|_0x1f8eb4[_0x193776>>>0x10&0xff]<<0x10|_0x1f8eb4[_0x255eb8>>>0x8&0xff]<<0x8|_0x1f8eb4[_0x4a5ed2&0xff])^_0x573b63[_0x8551be++],_0x406d1d=(_0x1f8eb4[_0x193776>>>0x18]<<0x18|_0x1f8eb4[_0x255eb8>>>0x10&0xff]<<0x10|_0x1f8eb4[_0x4a5ed2>>>0x8&0xff]<<0x8|_0x1f8eb4[_0x180e43&0xff])^_0x573b63[_0x8551be++];_0x52b2e4[_0x4ff052]=_0x19274c,_0x52b2e4[_0x4ff052+0x1]=_0x4f5e90,_0x52b2e4[_0x4ff052+0x2]=_0x789949,_0x52b2e4[_0x4ff052+0x3]=_0x406d1d;},'keySize':0x100/0x20});_0x56df87[_0xdba12a(0x2e8)]=_0x47b3fc[_0xdba12a(0x3bc)](_0x2db473);}()),_0x542ac6[_0x2dfd65(0x2e8)];}));}(Ve)),Ve[_0x3df834(0x1d5)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0xfe7184(0x1d5)],ai;function xs(){var _0x102d45=_0xfe7184;return ai||(ai=0x1,function(_0x8839b6,_0xbe0c68){(function(_0x1590f,_0x6002ff){var _0x51f915=_0xb4ca;_0x8839b6[_0x51f915(0x1d5)]=_0x6002ff(ie());}(Ls,function(_0x33bef0){var _0x4126bb=_0xb4ca;return _0x33bef0[_0x4126bb(0x37a)][_0x4126bb(0x362)];}));}(Xe)),Xe[_0x102d45(0x1d5)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0xfe7184(0x1d5)],oi;function Hs(){var _0x459e6a=_0xfe7184;return oi||(oi=0x1,function(_0x24d47d,_0x2d66e4){(function(_0x24dc8c,_0x11efe6){var _0x86e03c=_0xb4ca;_0x24d47d[_0x86e03c(0x1d5)]=_0x11efe6(ie());}($s,function(_0x16517){var _0xb1a642=_0xb4ca;return(function(){var _0x3eb1d4=_0xb4ca;if(typeof ArrayBuffer=='function'){var _0x36e756=_0x16517,_0x4c12fe=_0x36e756[_0x3eb1d4(0x301)],_0x1864d0=_0x4c12fe['WordArray'],_0x2107e9=_0x1864d0[_0x3eb1d4(0x1f7)],_0x392bef=_0x1864d0[_0x3eb1d4(0x1f7)]=function(_0x2562fa){var _0x5e294a=_0x3eb1d4;if(_0x2562fa instanceof ArrayBuffer&&(_0x2562fa=new Uint8Array(_0x2562fa)),(_0x2562fa instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2562fa instanceof Uint8ClampedArray||_0x2562fa instanceof Int16Array||_0x2562fa instanceof Uint16Array||_0x2562fa instanceof Int32Array||_0x2562fa instanceof Uint32Array||_0x2562fa instanceof Float32Array||_0x2562fa instanceof Float64Array)&&(_0x2562fa=new Uint8Array(_0x2562fa[_0x5e294a(0x3f9)],_0x2562fa[_0x5e294a(0x423)],_0x2562fa[_0x5e294a(0x3bd)])),_0x2562fa instanceof Uint8Array){for(var _0x57fc94=_0x2562fa['byteLength'],_0x49eabc=[],_0x3bad91=0x0;_0x3bad91<_0x57fc94;_0x3bad91++)_0x49eabc[_0x3bad91>>>0x2]|=_0x2562fa[_0x3bad91]<<0x18-_0x3bad91%0x4*0x8;_0x2107e9[_0x5e294a(0x48d)](this,_0x49eabc,_0x57fc94);}else _0x2107e9[_0x5e294a(0x486)](this,arguments);};_0x392bef['prototype']=_0x1864d0;}}()),_0x16517[_0xb1a642(0x301)][_0xb1a642(0x1c6)];}));}(Ze)),Ze[_0x459e6a(0x1d5)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){return ci||(ci=0x1,function(_0x526971,_0x119445){(function(_0x35ef08,_0x38bca3,_0x17a691){_0x526971['exports']=_0x38bca3(ie(),Ai());}(Fs,function(_0xcbef6f){var _0xc2e48e=_0xb4ca;return _0xcbef6f[_0xc2e48e(0x428)][_0xc2e48e(0x305)]={'pad':function(){},'unpad':function(){}},_0xcbef6f['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x316235,_0xed7719){var _0x163351=_0xfe7184;const _0xd30ecc=_0xed7719-_0x316235[_0x163351(0x44b)]%_0xed7719,_0x3aa51c=String[_0x163351(0x3a7)](_0xd30ecc)[_0x163351(0x1e9)](_0xd30ecc);return _0x316235+_0x3aa51c;}function Ys(_0x162ce3,_0x41237f){var _0x30bfe0=_0xfe7184;const _0x1052f0=js[_0x30bfe0(0x4c2)](0x10),_0x552d8c=Ks(_0x162ce3,0x10),_0x254939=ws[_0x30bfe0(0x212)](ks[_0x30bfe0(0x3d8)](_0x552d8c),ri[_0x30bfe0(0x3d8)](_0x41237f),{'iv':_0x1052f0,'padding':Ws});return _0x1052f0[_0x30bfe0(0x29d)](_0x254939[_0x30bfe0(0x2e3)])[_0x30bfe0(0x1e6)](ri);}function qs(){var _0x23bcbf=_0xfe7184;const _0x53ec20=_0x12e241()[_0x23bcbf(0x348)];if(_0x53ec20){const _0x563e10={'time':Math[_0x23bcbf(0x3b1)](Date[_0x23bcbf(0x3ac)]()/0x3e8),'domain':location[_0x23bcbf(0x333)]};return Ys(JSON['stringify'](_0x563e10),_0x53ec20);}}var zs=Object[_0xfe7184(0x4a2)],Js=(_0x24b96d,_0xaa4f5c,_0x309b12,_0x57754e)=>{var _0x9e427=_0xfe7184;for(var _0x2eca36=_0x57754e>0x1?void 0x0:_0x57754e?zs(_0xaa4f5c,_0x309b12):_0xaa4f5c,_0x5d9641=_0x24b96d[_0x9e427(0x44b)]-0x1,_0x95bd93;_0x5d9641>=0x0;_0x5d9641--)(_0x95bd93=_0x24b96d[_0x5d9641])&&(_0x2eca36=_0x95bd93(_0x2eca36)||_0x2eca36);return _0x2eca36;},Xs=(_0x16fddc,_0x258c1f)=>(_0x3d0cde,_0xd69089)=>_0x258c1f(_0x3d0cde,_0xd69089,_0x16fddc);let at=class{constructor(_0x4600e9){var _0x53190e=_0xfe7184;this[_0x53190e(0x3d2)]=_0x4600e9,this[_0x53190e(0x1d7)]();}['_initRequestHeader'](){var _0x287f37=_0xfe7184;this['_httpService'][_0x287f37(0x3c6)]({'interceptor':(_0x464039,_0x23d276)=>{var _0x513e3e=_0x287f37;const _0x2c0d39=_0x464039[_0x513e3e(0x383)],_0x311c3d=qs();return _0x311c3d&&_0x2c0d39[_0x513e3e(0x3b6)](_0x513e3e(0x3f6),_0x311c3d),_0x23d276(_0x464039);}});}};at=Js([Xs(0x0,_0x133e5e(_0x44d219))],at);var Zs=Object[_0xfe7184(0x4a2)],Qs=(_0x5bf1cc,_0x287d61,_0x3bd724,_0x2b34c8)=>{var _0x5534a3=_0xfe7184;for(var _0x3ab2eb=_0x2b34c8>0x1?void 0x0:_0x2b34c8?Zs(_0x287d61,_0x3bd724):_0x287d61,_0x33f185=_0x5bf1cc[_0x5534a3(0x44b)]-0x1,_0x352e64;_0x33f185>=0x0;_0x33f185--)(_0x352e64=_0x5bf1cc[_0x33f185])&&(_0x3ab2eb=_0x352e64(_0x3ab2eb)||_0x3ab2eb);return _0x3ab2eb;},mt=(_0x5ea132,_0x1cfa41)=>(_0x4652eb,_0xf0bd45)=>_0x1cfa41(_0x4652eb,_0xf0bd45,_0x5ea132);let bt=class extends _0x1f9410{constructor(_0xe7bd04,_0x2833c1,_0x2feeea){var _0x159753=_0xfe7184;super(),N(this,_0x159753(0x1c5),new _0x21c115(null)),N(this,_0x159753(0x2a9),this[_0x159753(0x1c5)][_0x159753(0x3a8)]()),(this[_0x159753(0x1df)]=_0xe7bd04,this[_0x159753(0x42f)]=_0x2833c1,this[_0x159753(0x386)]=_0x2feeea);}async[_0xfe7184(0x2ea)](_0x185d73,_0x3ed3e5,_0x83f595){var _0x49824d=_0xfe7184;this[_0x49824d(0x1c5)][_0x49824d(0x3c3)]({'unitId':_0x185d73,'type':_0x3ed3e5,'subUnitId':_0x83f595});let _0x36ad44=null;switch(_0x3ed3e5){case Q[_0x49824d(0x4c5)]:{_0x36ad44=await this[_0x49824d(0x328)](_0x185d73);break;}case Q[_0x49824d(0x1c3)]:{_0x36ad44=await this['_loadDoc'](_0x185d73);break;}default:{this[_0x49824d(0x1df)][_0x49824d(0x21f)](_0x49824d(0x4c1),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x36ad44;}async[_0xfe7184(0x328)](_0x208dbd){var _0x9f9034=_0xfe7184,_0x5577bd;let _0x1d6dc3=0x0;const _0x45aec5=await((_0x5577bd=this[_0x9f9034(0x386)])==null?void 0x0:_0x5577bd[_0x9f9034(0x406)](_0x208dbd));return _0x45aec5&&(_0x45aec5[_0x9f9034(0x3a0)]||_0x45aec5['mutations'][_0x9f9034(0x44b)]!==0x0)&&(_0x1d6dc3=_0x45aec5[_0x9f9034(0x346)]),_0x1d6dc3===0x0&&this['_logService'][_0x9f9034(0x240)](_0x9f9034(0x4c1),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x9f9034(0x435)](_0x208dbd,_0x1d6dc3);}async[_0xfe7184(0x222)](_0x57416d){var _0x10dc7b=_0xfe7184,_0x56131c;let _0x1c6dcc=0x0;const _0x3d437d=await((_0x56131c=this['_localCacheService'])==null?void 0x0:_0x56131c['loadOfflineData'](_0x57416d));return _0x3d437d&&(_0x3d437d[_0x10dc7b(0x3a0)]||_0x3d437d[_0x10dc7b(0x46d)][_0x10dc7b(0x44b)]!==0x0)&&(_0x1c6dcc=_0x3d437d['rev']),_0x1c6dcc===0x0&&this['_logService'][_0x10dc7b(0x240)](_0x10dc7b(0x4c1),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x10dc7b(0x40e)](_0x57416d,_0x1c6dcc);}};bt=Qs([mt(0x0,_0x19ce75),mt(0x1,_0x133e5e(_0x38c331)),mt(0x2,_0x5db4e2(J))],bt);var er=Object[_0xfe7184(0x4a2)],tr=(_0x18fd00,_0x490c0c,_0x14e0fe,_0x3588d8)=>{for(var _0x39e962=_0x3588d8>0x1?void 0x0:_0x3588d8?er(_0x490c0c,_0x14e0fe):_0x490c0c,_0xa380b0=_0x18fd00['length']-0x1,_0x30a736;_0xa380b0>=0x0;_0xa380b0--)(_0x30a736=_0x18fd00[_0xa380b0])&&(_0x39e962=_0x30a736(_0x39e962)||_0x39e962);return _0x39e962;},gt=(_0x18ea0c,_0xf8d7c7)=>(_0x4d7463,_0x442cb7)=>_0xf8d7c7(_0x4d7463,_0x442cb7,_0x18ea0c);const ir=[_0xfe7184(0x424),_0xfe7184(0x34f),_0xfe7184(0x1e0),_0xfe7184(0x468),_0xfe7184(0x1eb)],nr=0x5*0x400*0x400,sr=_0xfe7184(0x396),rr=_0xfe7184(0x34e),ar=_0xfe7184(0x44e),or=_0xfe7184(0x40b);let Ot=class{constructor(_0x15c374,_0x262f78,_0x4ba4d1){var _0x4795b2=_0xfe7184;N(this,'_waitCount',0x0),N(this,_0x4795b2(0x465),new _0xd7395f()),N(this,_0x4795b2(0x4ae),this[_0x4795b2(0x465)]),N(this,_0x4795b2(0x388),new Map()),(this[_0x4795b2(0x3d2)]=_0x15c374,this[_0x4795b2(0x1fa)]=_0x262f78,this['_univerInstanceService']=_0x4ba4d1);}[_0xfe7184(0x444)](_0x1044d1){var _0x13aa0c=_0xfe7184;this[_0x13aa0c(0x4b6)]=_0x1044d1,this[_0x13aa0c(0x465)][_0x13aa0c(0x3c3)](_0x1044d1);}[_0xfe7184(0x247)](_0x493037,_0xd01865){var _0x22c489=_0xfe7184;if(_0xd01865===_0x332c9f[_0x22c489(0x1ec)]){const _0x3d5992=new Image();return _0x3d5992[_0x22c489(0x1e7)]=_0x493037,_0x3d5992;}return this[_0x22c489(0x388)][_0x22c489(0x404)](_0x493037);}[_0xfe7184(0x323)](_0x2f3eaa,_0x3ce298,_0x56fe6a){var _0x3c6731=_0xfe7184;_0x3ce298===_0x332c9f['BASE64']||_0x56fe6a==null||this[_0x3c6731(0x388)][_0x3c6731(0x3b6)](_0x2f3eaa,_0x56fe6a);}async[_0xfe7184(0x234)](_0x32ab11){var _0x47d71b=_0xfe7184;try{const _0x1ca728=this['_replaceFileID'](this['_getSignURL'](),''+_0x32ab11),_0x31d9a6=(await this[_0x47d71b(0x3d2)]['get'](_0x1ca728))[_0x47d71b(0x2ed)];if(_0x31d9a6[_0x47d71b(0x21f)]&&_0x31d9a6['error']['code']===Si['OK']){const _0x42c6b5=new URL(_0x31d9a6[_0x47d71b(0x347)],this[_0x47d71b(0x494)]())[_0x47d71b(0x1e6)]();return Promise[_0x47d71b(0x3a5)](_0x42c6b5);}return Promise[_0x47d71b(0x3e6)](_0x31d9a6[_0x47d71b(0x21f)]);}catch(_0x3a40d6){return Promise['reject'](_0x3a40d6);}}async[_0xfe7184(0x481)](_0x40e3ee){var _0x11b435=_0xfe7184;let _0x264c7f='';if(!ir[_0x11b435(0x30a)](_0x40e3ee[_0x11b435(0x391)]))return this[_0x11b435(0x3be)](),Promise['reject'](new Error(_0x53eb1d[_0x11b435(0x4b4)]));if(_0x40e3ee[_0x11b435(0x399)]>nr)return this[_0x11b435(0x3be)](),Promise['reject'](new Error(_0x53eb1d[_0x11b435(0x3a3)]));try{const _0x1c24f0=new FormData();_0x1c24f0[_0x11b435(0x457)]('file',_0x40e3ee);const _0x6545f8=this['_univerInstanceService'][_0x11b435(0x3ed)](),_0x7f08bd=_0x6545f8==null?void 0x0:_0x6545f8[_0x11b435(0x340)]();if(!_0x7f08bd)throw new Error('unitId\x20is\x20not\x20found');const _0x44ee9f=this[_0x11b435(0x39b)]()+'?size='+_0x40e3ee[_0x11b435(0x399)][_0x11b435(0x1e6)]()+_0x11b435(0x1f1)+Ei[_0x11b435(0x3d4)]+'&assign='+encodeURIComponent(_0x7f08bd),_0x27d989=await(await fetch(_0x44ee9f,{'method':_0x11b435(0x1d6),'body':_0x1c24f0}))['json']();if(typeof _0x27d989['FileId']!=_0x11b435(0x499))return this[_0x11b435(0x3be)](),Promise['reject'](new Error(_0x53eb1d[_0x11b435(0x23b)]));_0x264c7f=_0x27d989[_0x11b435(0x26a)];}catch{return this[_0x11b435(0x3be)](),Promise[_0x11b435(0x3e6)](new Error(_0x53eb1d[_0x11b435(0x23b)]));}return new Promise((_0x389149,_0x59622a)=>{var _0xd6b95e=_0x11b435;const _0x27fe43=new FileReader();_0x27fe43['readAsDataURL'](_0x40e3ee),_0x27fe43[_0xd6b95e(0x38f)]=_0x29c494=>{var _0x1f3862=_0xd6b95e,_0x4563a2;const _0x12f378=(_0x4563a2=_0x29c494['target'])==null?void 0x0:_0x4563a2[_0x1f3862(0x281)];if(_0x12f378==null){this[_0x1f3862(0x3be)](),_0x59622a(new Error(_0x53eb1d[_0x1f3862(0x23b)]));return;}const _0x14da5a=_0x21badf[_0x1f3862(0x2eb)](0x6);_0x389149({'imageId':_0x14da5a,'imageSourceType':_0x332c9f['UUID'],'source':_0x264c7f,'base64Cache':_0x12f378,'status':_0x53eb1d[_0x1f3862(0x467)]}),this['_decreaseWaiting']();};});}[_0xfe7184(0x39b)](){var _0x4db984=_0xfe7184,_0x17afe3,_0x17856c;const _0x450e5a=this[_0x4db984(0x1fa)][_0x4db984(0x37f)](sr),_0x2bb7f2=this['_configService'][_0x4db984(0x37f)](q);return(_0x17856c=(_0x17afe3=_0x2bb7f2==null?void 0x0:_0x2bb7f2[_0x4db984(0x218)])!=null?_0x17afe3:_0x450e5a)!=null?_0x17856c:rr;}[_0xfe7184(0x287)](){var _0x74d472=_0xfe7184,_0x214759,_0x3ee6cf;const _0x2fef59=this[_0x74d472(0x1fa)]['getConfig'](ar),_0x216dc5=this['_configService'][_0x74d472(0x37f)](q);return(_0x3ee6cf=(_0x214759=_0x216dc5==null?void 0x0:_0x216dc5['signUrlServerUrl'])!=null?_0x214759:_0x2fef59)!=null?_0x3ee6cf:or;}['_getDownloadEndpointURL'](){var _0x2e3430=_0xfe7184,_0x24f90f;const _0xb9f7ea=this[_0x2e3430(0x1fa)][_0x2e3430(0x37f)](q);return(_0x24f90f=_0xb9f7ea==null?void 0x0:_0xb9f7ea[_0x2e3430(0x2e1)])!=null?_0x24f90f:location[_0x2e3430(0x26c)];}['_replaceFileID'](_0x232c35,_0x18212c){var _0x14b597=_0xfe7184;return _0x232c35[_0x14b597(0x48e)](_0x14b597(0x1e3),_0x18212c);}[_0xfe7184(0x3be)](){var _0x342364=_0xfe7184;this['_waitCount']-=0x1,this[_0x342364(0x465)][_0x342364(0x3c3)](this['_waitCount']);}};Ot=tr([gt(0x0,_0x133e5e(_0x44d219)),gt(0x1,_0x2f38cd),gt(0x2,_0x133e5e(_0x169db5))],Ot);var cr=Object[_0xfe7184(0x4a2)],hr=(_0x4e92c5,_0x4040e9,_0x24a11d,_0xc62508)=>{for(var _0xee6460=_0xc62508>0x1?void 0x0:_0xc62508?cr(_0x4040e9,_0x24a11d):_0x4040e9,_0xec3011=_0x4e92c5['length']-0x1,_0x1217ce;_0xec3011>=0x0;_0xec3011--)(_0x1217ce=_0x4e92c5[_0xec3011])&&(_0xee6460=_0x1217ce(_0xee6460)||_0xee6460);return _0xee6460;},hi=(_0x53c54f,_0x99ccbd)=>(_0x2ba103,_0x158496)=>_0x99ccbd(_0x2ba103,_0x158496,_0x53c54f);const _r='/universer-api/authz';let yt=class{constructor(_0x50c189,_0x4b475d){var _0x2877bc=_0xfe7184;this['_configService']=_0x50c189,this[_0x2877bc(0x436)]=_0x4b475d;}[_0xfe7184(0x4af)](){var _0x5ad8bf=_0xfe7184,_0x29583a,_0xf4ca22;const _0x510cd8=this[_0x5ad8bf(0x1fa)][_0x5ad8bf(0x37f)](Ni),_0x597399=this[_0x5ad8bf(0x1fa)]['getConfig'](q);return(_0xf4ca22=(_0x29583a=_0x597399==null?void 0x0:_0x597399['authzUrl'])!=null?_0x29583a:_0x510cd8)!=null?_0xf4ca22:_r;}async['list'](_0x5f3cc9){var _0x3111e=_0xfe7184;const _0x3155f4=this[_0x3111e(0x4af)]()+_0x3111e(0x394);return{'list':[{'title':_0x3111e(0x354),'mentions':(await this['_HTTPService'][_0x3111e(0x404)](_0x3155f4,{'params':{'objectID':_0x5f3cc9[_0x3111e(0x214)],'unitID':_0x5f3cc9[_0x3111e(0x214)]}}))[_0x3111e(0x2ed)][_0x3111e(0x263)]['map'](_0xaa4104=>({'objectId':_0xaa4104['id'],'name':_0xaa4104['subject']['name'],'metadata':{'icon':_0xaa4104[_0x3111e(0x3b4)]['avatar']},'label':_0xaa4104[_0x3111e(0x3b4)]['name'],'objectType':_0x1a7431[_0x3111e(0x22b)]})),'metadata':{},'type':_0x1a7431[_0x3111e(0x22b)]}]};}};yt=hr([hi(0x0,_0x133e5e(_0x2f38cd)),hi(0x1,_0x133e5e(_0x44d219))],yt);var lr=Object[_0xfe7184(0x4a2)],ur=(_0x263153,_0x3c90a1,_0x561240,_0x26c742)=>{for(var _0xd9263d=_0x26c742>0x1?void 0x0:_0x26c742?lr(_0x3c90a1,_0x561240):_0x3c90a1,_0x3149aa=_0x263153['length']-0x1,_0x43d234;_0x3149aa>=0x0;_0x3149aa--)(_0x43d234=_0x263153[_0x3149aa])&&(_0xd9263d=_0x43d234(_0xd9263d)||_0xd9263d);return _0xd9263d;},we=(_0x3a5aa4,_0x3ee67e)=>(_0x1792eb,_0x88352b)=>_0x3ee67e(_0x1792eb,_0x88352b,_0x3a5aa4);let ot=class extends _0x1f9410{constructor(_0x15975f,_0x31b9a6,_0x4bfd2f,_0x5c61b4,_0x35f9b2){var _0x2bcbff=_0xfe7184;super(),this[_0x2bcbff(0x3e4)]=_0x15975f,this[_0x2bcbff(0x439)]=_0x31b9a6,this[_0x2bcbff(0x358)]=_0x4bfd2f,this[_0x2bcbff(0x438)]=_0x5c61b4,this[_0x2bcbff(0x384)]=_0x35f9b2,this[_0x2bcbff(0x40a)](),this[_0x2bcbff(0x3c7)]();}[_0xfe7184(0x3c7)](){var _0x294736=_0xfe7184;const _0x12a280=async _0x56a313=>{var _0x31f831=_0xb4ca;(await this[_0x31f831(0x438)][_0x31f831(0x2ec)](_0x56a313))[_0x31f831(0x350)]['pipe'](_0x5befcb(_0x124bbe=>_0x124bbe[_0x31f831(0x4ce)]===_0x12f734[_0x31f831(0x458)]),_0x2c5509(this[_0x31f831(0x27c)]))[_0x31f831(0x26d)](_0x4053fe=>{var _0x5e25b0=_0x31f831;const _0x456130=_0x4053fe,{reason:_0x423828}=_0x456130[_0x5e25b0(0x48f)];this['_collaborationUIEventService'][_0x5e25b0(0x32b)]({'id':re[_0x5e25b0(0x239)],'data':_0x423828}),this[_0x5e25b0(0x358)]['updatePermissionPoint'](new _0x2e7126(_0x56a313)['id'],!0x1),this[_0x5e25b0(0x438)][_0x5e25b0(0x4b0)](_0x56a313);});};_0x4ef3f9(this[_0x294736(0x439)][_0x294736(0x31a)](_0x22def0[_0x294736(0x4c5)]),this['_univerInstanceService'][_0x294736(0x31a)](_0x22def0[_0x294736(0x1c3)]))['pipe'](_0x4851a7(_0x21977f=>_0x21977f['getUnitId']()),_0x5befcb(_0x3e7b89=>!_0x3322d4(_0x3e7b89)),_0x2c5509(this[_0x294736(0x27c)]))[_0x294736(0x26d)](_0x4e12dc=>{_0x12a280(_0x4e12dc);});}[_0xfe7184(0x40a)](){var _0x449605=_0xfe7184;const _0x6f6ebc=async _0x3d60a1=>{var _0x1e74ce=_0xb4ca;const _0x1cb055=await this[_0x1e74ce(0x438)][_0x1e74ce(0x2ec)](_0x3d60a1),_0x10455d=this['_injector'][_0x1e74ce(0x404)](_0x198dd2);_0x1cb055[_0x1e74ce(0x350)][_0x1e74ce(0x400)](_0x5befcb(_0x3c8daf=>_0x3c8daf[_0x1e74ce(0x4ce)]===_0x12f734[_0x1e74ce(0x3d3)]),_0x2c5509(this['dispose$']))[_0x1e74ce(0x26d)](_0x59283f=>{var _0x184ecd=_0x1e74ce;const _0x5e4d4a=_0x59283f,{objectId:_0x41f4ad}=_0x5e4d4a[_0x184ecd(0x48f)];_0x41f4ad===_0x3d60a1?_0x10455d['initWorkbookPermissionChange'](_0x3d60a1):_0x10455d[_0x184ecd(0x2b1)](_0x3d60a1,_0x41f4ad);});};_0x4ef3f9(this[_0x449605(0x439)][_0x449605(0x31a)](_0x22def0[_0x449605(0x4c5)]))[_0x449605(0x400)](_0x4851a7(_0x437203=>_0x437203[_0x449605(0x340)]()),_0x5befcb(_0x669d7d=>!_0x3322d4(_0x669d7d)),_0x2c5509(this[_0x449605(0x27c)]))[_0x449605(0x26d)](_0xa37d00=>{_0x6f6ebc(_0xa37d00);});}};ot=ur([we(0x0,_0x133e5e(_0x723ed9)),we(0x1,_0x169db5),we(0x2,_0x446775),we(0x3,_0x133e5e(xe)),we(0x4,_0x133e5e(pe))],ot);var dr=Object[_0xfe7184(0x4a2)],fr=(_0x3c4dce,_0x4512f5,_0xf6c6c7,_0x416402)=>{for(var _0x15a082=_0x416402>0x1?void 0x0:_0x416402?dr(_0x4512f5,_0xf6c6c7):_0x4512f5,_0x130d50=_0x3c4dce['length']-0x1,_0x4a4f12;_0x130d50>=0x0;_0x130d50--)(_0x4a4f12=_0x3c4dce[_0x130d50])&&(_0x15a082=_0x4a4f12(_0x15a082)||_0x15a082);return _0x15a082;},_i=(_0x5001de,_0x52f616)=>(_0x306f9a,_0x142d56)=>_0x52f616(_0x306f9a,_0x142d56,_0x5001de);function _0xb4ca(_0x431e6e,_0x2d7561){var _0x514d95=_0x514d();return _0xb4ca=function(_0xb4ca5,_0x5a28a1){_0xb4ca5=_0xb4ca5-0x1bd;var _0x50b16d=_0x514d95[_0xb4ca5];return _0x50b16d;},_0xb4ca(_0x431e6e,_0x2d7561);}let Nt=class{constructor(_0x3c1f35,_0x2f42e7){var _0x51c2fc=_0xfe7184;this[_0x51c2fc(0x1fa)]=_0x3c1f35,this['_httpService']=_0x2f42e7;}async[_0xfe7184(0x1be)](_0x292ab1,_0x1b1723){var _0x2e7b85=_0xfe7184,_0x657e1;const {unitID:_0x12a5f6,type:_0x589dd5,revision:_0xabacce=0x0}=_0x1b1723,_0x38c2bb=this[_0x2e7b85(0x27a)]()+'/'+_0x589dd5+_0x2e7b85(0x44f)+_0x12a5f6+_0x2e7b85(0x27e)+_0xabacce,_0x1d2b85=(await this[_0x2e7b85(0x3d2)]['get'](_0x38c2bb))[_0x2e7b85(0x2ed)],_0x352140=(_0x657e1=_0x1d2b85['snapshot'])==null?void 0x0:_0x657e1[_0x2e7b85(0x2c4)];if(_0x352140){const _0x41055f=_0x352140==null?void 0x0:_0x352140[_0x2e7b85(0x288)],_0xe269fe=_0xdda04e[_0x2e7b85(0x3f0)](_0x301c1d(_0x41055f));_0x352140[_0x2e7b85(0x288)]=_0xe269fe,Object['entries'](_0x352140[_0x2e7b85(0x380)])[_0x2e7b85(0x1c9)](([,_0x161aa7])=>{var _0x363b46=_0x2e7b85;const _0x4d28d8=_0x161aa7['originalMeta'],_0x1dcdbb=_0xdda04e[_0x363b46(0x3f0)](_0x301c1d(_0x4d28d8));_0x161aa7[_0x363b46(0x288)]=_0x1dcdbb;});}return _0x1d2b85;}async[_0xfe7184(0x3e2)](_0x103a12,_0x1e197a){var _0x322d78=_0xfe7184;const {unitID:_0x4c7b30,type:_0x13632f,blockID:_0x44cff3}=_0x1e197a,_0x1a9f89=this[_0x322d78(0x3f4)]()+'/'+_0x13632f+_0x322d78(0x44f)+_0x4c7b30+_0x322d78(0x36f)+_0x44cff3;return(await this[_0x322d78(0x3d2)]['get'](_0x1a9f89))['body'];}async[_0xfe7184(0x440)](_0x188546,_0x458b99){var _0x2c09ea=_0xfe7184;const {unitID:_0x7b73af,type:_0x2a843a,blockID:_0x5208ec}=_0x458b99,_0x4068eb=this[_0x2c09ea(0x3f4)]()+_0x2c09ea(0x36f)+_0x2a843a+_0x2c09ea(0x44f)+_0x7b73af+_0x2c09ea(0x36f)+_0x5208ec;return(await this[_0x2c09ea(0x3d2)][_0x2c09ea(0x404)](_0x4068eb))[_0x2c09ea(0x2ed)];}async[_0xfe7184(0x270)](_0x470424,_0x351dee){var _0x474d79=_0xfe7184;const {unitID:_0x4e50d3,type:_0x3d0264,from:_0x112d3f,to:_0x1dcbef}=_0x351dee,_0x10bd8c=this[_0x474d79(0x3f4)]()+'/'+_0x3d0264+_0x474d79(0x44f)+_0x4e50d3+_0x474d79(0x4bb)+_0x112d3f+_0x474d79(0x310)+_0x1dcbef;return(await this[_0x474d79(0x3d2)][_0x474d79(0x404)](_0x10bd8c))[_0x474d79(0x2ed)];}['getSnapshotAPIPath'](){var _0x38f5c1=_0xfe7184,_0x18301c;return(_0x18301c=this[_0x38f5c1(0x1fa)][_0x38f5c1(0x37f)](Sn))!=null?_0x18301c:this[_0x38f5c1(0x3f4)]();}[_0xfe7184(0x3f4)](){var _0x13ca8d=_0xfe7184,_0x740637,_0x73ee60;const _0x2b5684=this[_0x13ca8d(0x1fa)][_0x13ca8d(0x37f)](mn),_0xe0b3a5=this['_configService'][_0x13ca8d(0x37f)](q);return(_0x73ee60=(_0x740637=_0xe0b3a5==null?void 0x0:_0xe0b3a5[_0x13ca8d(0x2cb)])!=null?_0x740637:_0x2b5684)!=null?_0x73ee60:gn;}async[_0xfe7184(0x475)](_0x34b920,_0x5f4b0e){var _0x39d4c9=_0xfe7184;const _0x326a0e=_0x39d4c9(0x48a)+_0x5f4b0e[_0x39d4c9(0x391)]+_0x39d4c9(0x44f)+_0x5f4b0e['unitID']+'/resources';return(await this[_0x39d4c9(0x3d2)][_0x39d4c9(0x404)](_0x326a0e,{'params':{'resourceId':JSON[_0x39d4c9(0x291)](_0x5f4b0e[_0x39d4c9(0x342)])}}))['body'];}[_0xfe7184(0x267)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xfe7184(0x3f7)](){var _0xd4e001=_0xfe7184;throw new Error(_0xd4e001(0x379));}[_0xfe7184(0x375)](){var _0x3bbfba=_0xfe7184;throw new Error(_0x3bbfba(0x379));}[_0xfe7184(0x4c3)](){var _0x564b22=_0xfe7184;throw new Error(_0x564b22(0x379));}[_0xfe7184(0x452)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x2f38cd),_i(0x1,_0x133e5e(_0x44d219))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x1749cc,_0x1f47da,_0x2ac7ed,_0x7f6312)=>{for(var _0x44a4d7=_0x7f6312>0x1?void 0x0:_0x7f6312?vr(_0x1f47da,_0x2ac7ed):_0x1f47da,_0x4f385d=_0x1749cc['length']-0x1,_0x37d71;_0x4f385d>=0x0;_0x4f385d--)(_0x37d71=_0x1749cc[_0x4f385d])&&(_0x44a4d7=_0x37d71(_0x44a4d7)||_0x44a4d7);return _0x44a4d7;},Pe=(_0xb1ec39,_0x3ccbc6)=>(_0x2150af,_0x2685d6)=>_0x3ccbc6(_0x2150af,_0x2685d6,_0xb1ec39);let Dt=class extends _0x4e4dd0{constructor(_0x49c3a4,_0xf33dbe,_0x57268e,_0x1a4858,_0xa18644){var _0x2ed71c=_0xfe7184;super(_0x49c3a4,_0xf33dbe,_0x57268e),this[_0x2ed71c(0x2c7)]=_0x1a4858,this['_logService']=_0xa18644;}['transformUndoRedo'](_0x22633b,_0x4b5b47){var _0x3aac6a=_0xfe7184;const _0x1c56dd=this[_0x3aac6a(0x3b9)](_0x22633b);if(_0x1c56dd)try{const _0x1882eb=this[_0x3aac6a(0x2da)](_0x1c56dd,_0x4b5b47);this['_substituteUndoStack'](_0x22633b,_0x1882eb);}catch(_0x23fe38){this[_0x3aac6a(0x1df)]['error'](_0x3aac6a(0x376),_0x23fe38),this[_0x3aac6a(0x42e)](_0x22633b);}const _0x1c2313=this[_0x3aac6a(0x49d)](_0x22633b);if(_0x1c2313)try{const _0x1f52d5=this[_0x3aac6a(0x2da)](_0x1c2313,_0x4b5b47);this[_0x3aac6a(0x2c2)](_0x22633b,_0x1f52d5);}catch(_0x11064a){this[_0x3aac6a(0x1df)][_0x3aac6a(0x21f)](_0x11064a),this[_0x3aac6a(0x412)](_0x22633b);}}[_0xfe7184(0x42e)](_0x173372){var _0x33bbdc=_0xfe7184;const _0x2eb50b=this[_0x33bbdc(0x3b9)](_0x173372);_0x2eb50b&&(_0x2eb50b[_0x33bbdc(0x44b)]=0x0,this[_0x33bbdc(0x373)]());}[_0xfe7184(0x412)](_0x23b384){var _0x23a764=_0xfe7184;const _0x39168b=this[_0x23a764(0x49d)](_0x23b384);_0x39168b&&(_0x39168b[_0x23a764(0x44b)]=0x0,this[_0x23a764(0x373)]());}[_0xfe7184(0x3e1)](_0x39c47d,_0x34aa5f){var _0x4b5044=_0xfe7184;this[_0x4b5044(0x420)][_0x4b5044(0x3b6)](_0x39c47d,_0x34aa5f),this['_updateStatus']();}['_substituteRedoStack'](_0x525e90,_0x10be78){var _0x2285d8=_0xfe7184;this[_0x2285d8(0x1d9)][_0x2285d8(0x3b6)](_0x525e90,_0x10be78),this[_0x2285d8(0x373)]();}['_transformStack'](_0x34b2e1,_0x443e11){var _0x56c3fb=_0xfe7184;const _0x13c8d3=[];let _0x4bccc7=_0x443e11,_0x387378=_0x443e11;for(let _0x438752=_0x34b2e1[_0x56c3fb(0x44b)]-0x1;_0x438752>=0x0;_0x438752--){const {unitID:_0xc7e0fe,undoMutations:_0x494ed5,redoMutations:_0x172d3c}=_0x34b2e1[_0x438752],_0x5e761e=this[_0x56c3fb(0x2c7)]['transformMutationsWithChangeset'](_0x4bccc7,_0x494ed5),_0x370b79=this[_0x56c3fb(0x2c7)][_0x56c3fb(0x44c)](_0x387378,_0x172d3c);if(_0x49b748(_0x5e761e)||_0x49b748(_0x370b79)){this[_0x56c3fb(0x1df)][_0x56c3fb(0x21f)](_0x56c3fb(0x376),'transformStack\x20failed!',_0x5e761e,_0x370b79);break;}_0x4bccc7=_0x5e761e[_0x56c3fb(0x2b0)],_0x387378=_0x370b79[_0x56c3fb(0x2b0)],_0x13c8d3['push']({'unitID':_0xc7e0fe,'undoMutations':_0x5e761e['m2Prime'],'redoMutations':_0x370b79[_0x56c3fb(0x47a)]});}return _0x13c8d3[_0x56c3fb(0x331)]();}};Dt=pr([Pe(0x0,_0x169db5),Pe(0x1,_0x1affd5),Pe(0x2,_0x280b22),Pe(0x3,_0x1f266b),Pe(0x4,_0x19ce75)],Dt);var mr=Object[_0xfe7184(0x47e)],gr=Object[_0xfe7184(0x4a2)],Sr=(_0x134fe6,_0x87a43c,_0x3b15e4)=>_0x87a43c in _0x134fe6?mr(_0x134fe6,_0x87a43c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b15e4}):_0x134fe6[_0x87a43c]=_0x3b15e4,Er=(_0x29864b,_0x37904d,_0x3e8a43,_0x114e77)=>{var _0x3fd086=_0xfe7184;for(var _0x5b3f4b=_0x114e77>0x1?void 0x0:_0x114e77?gr(_0x37904d,_0x3e8a43):_0x37904d,_0x5e21e8=_0x29864b[_0x3fd086(0x44b)]-0x1,_0x1118f1;_0x5e21e8>=0x0;_0x5e21e8--)(_0x1118f1=_0x29864b[_0x5e21e8])&&(_0x5b3f4b=_0x1118f1(_0x5b3f4b)||_0x5b3f4b);return _0x5b3f4b;},St=(_0x2ae3f3,_0x44af47)=>(_0x4cc31b,_0x44f644)=>_0x44af47(_0x4cc31b,_0x44f644,_0x2ae3f3),Ir=(_0x339c52,_0x446209,_0x1ba2d0)=>Sr(_0x339c52,_0x446209+'',_0x1ba2d0);const Tr=_0xfe7184(0x3ec);let Ut=class extends _0x13aa7c{constructor(_0x58dd84,_0x1c65b8,_0xba40ce,_0x516b66){var _0x132d79=_0xfe7184;super(),N(this,_0x132d79(0x1e1)),(this['_logService']=_0x1c65b8,this[_0x132d79(0x3e4)]=_0xba40ce,this[_0x132d79(0x1fa)]=_0x516b66);const {..._0x341c58}=_0x48b76b({},wn,_0x58dd84);if(!_0x341c58[_0x132d79(0x232)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x132d79(0x1e1)]=_0x341c58,this[_0x132d79(0x1fa)]['setConfig'](q,_0x341c58);}[_0xfe7184(0x345)](){var _0x530a1=_0xfe7184;this[_0x530a1(0x38b)](),this[_0x530a1(0x41a)]();}[_0xfe7184(0x38b)](){var _0x2b9a34=_0xfe7184,_0x2fbb18,_0x529fe1;this[_0x2b9a34(0x3e4)][_0x2b9a34(0x21d)](_0x548330)&&this['_logService'][_0x2b9a34(0x21f)]('[UniverCollaborationClientPlugin]',_0x2b9a34(0x29c));const _0x480089=_0x4a3bd8([[_0x548330,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x2b9a34(0x1e1)][_0x2b9a34(0x232)]}],[_0x208e48,{'useClass':Nt}],[_0x3439c4,{'useClass':Rt}],[_0x30b3bd,{'useClass':Ot}],[_0x58151e,{'useClass':yt}],[st],[Ct]],(_0x2fbb18=this['_config'])==null?void 0x0:_0x2fbb18[_0x2b9a34(0x2d1)]);if(!((_0x529fe1=this[_0x2b9a34(0x1e1)])!=null&&_0x529fe1['enableSingleActiveInstanceLock'])){const _0x2414b7=_0x480089['findIndex'](([_0x48312c])=>_0x48312c===ht);_0x2414b7!==-0x1&&_0x480089['splice'](_0x2414b7,0x1);}_0x36dd05(this[_0x2b9a34(0x3e4)],_0x480089);}[_0xfe7184(0x41a)](){var _0x3433ed=_0xfe7184,_0x5e022c,_0x35b824,_0x2e0167;this[_0x3433ed(0x3e4)][_0x3433ed(0x404)](_0x44d219)[_0x3433ed(0x3c6)]({'priority':0x14,'interceptor':_0x2aa87c({'maxParallel':0x6})}),(_0x5e022c=this[_0x3433ed(0x1e1)])!=null&&_0x5e022c[_0x3433ed(0x2c0)]||(_0x35b824=this['_injector'][_0x3433ed(0x404)](J,_0x36efa8['OPTIONAL']))==null||_0x35b824['disableLocalCache'](),(_0x2e0167=this[_0x3433ed(0x1e1)])!=null&&_0x2e0167[_0x3433ed(0x442)]&&_0x5123b7(this[_0x3433ed(0x3e4)],[[rt]]),_0x5123b7(this[_0x3433ed(0x3e4)],[[at],[st],[ot]]);}};Ir(Ut,_0xfe7184(0x2f6),Tr),Ut=Er([_0x3d6ca2(_0x525806,_0x277569),St(0x1,_0x19ce75),St(0x2,_0x133e5e(_0x723ed9)),St(0x3,_0x2f38cd)],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,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr 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,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr 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,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|
1
|
+
var _0x56867e=_0x44f8;function _0x12ae(){var _0x506430=['Latin1','_unitInfo$','YUUMI_SUBSCRIPTION_NOT_FOUND','getValue','transformStack\x20failed!','CBC','_nDataBytes','_onConflict','_initDependencies','INVITE_CODE_HAS_BEEN_UES','open$','_executeRemoteChangeset','/block/','HttpExport','WECHAT_HAS_BEEN_BOUND','error','editingUnit','_onRemoteACK','collaboration-client.local-cache-service','Undefined','ws://127.0.0.1:8000/universer-api/comb/connect','_tryEnsureSocket','title','data','onRemoteRetry','_removeRoom','_lockTransition','has','ONLINE','_schedule','unknown','filter','_roomMembers','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_scheduleCompleteTimestamp','salt','_clearUndo','loginUrlKey','string','UNKNOWN_CMD','114qwxvlx','updatePermissionPoint','1832yYfmgO','SUBMIT_CHANGESET_TIMEOUT','complete','repeat','transformChangesets','loadSheet','_clearTimeoutTimer','/universer-api/user/session-ticket','routeKey','slice','refreshPermission','_collaborationTimeoutTimer','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','eventID','m2Prime','_onConnectionOpen','_createInitialStateImpl','pipe','onTransformRemoteChangesetByStateCache','MSG_FOR_ERROR','memberID','_sendHeartbeatTimer','UNIVER_DOC','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','LIVESHARE_OPERATION','_sender','_tryReconnect','_getDownloadEndpointURL','authzUrl','JOIN_ROOM_PERMISSION_DENIED','onTransformState','JOIN_ROOM_FAILED','_undoRedoService','AES','_socketReady','_HTTPService','_scheduleCollaborationTimeoutTimer','People','entityInit$','target','6VRVEhV','saveSnapshot','disableLocalCache','delete','onMissingChangesets','INVALID_INVITE_CODE','message$','_instanceService','byteLength','pad','_localCacheService','infoRsp','charAt','_updateStatus','from','body','_data','_logService','allowed','duration','unitId\x20is\x20not\x20found','HMAC','OPTIONAL','addImageSourceCache','offline','leaveEvent','collaboration-client.config','UnitSnapshot','/fetchmissing?from=','PERMISSION_DENIED','_onRemoteChangeset','SerializableCipher','enc','getInterceptPoints','reduce','_transformSelections','YUUMI_NO_CUBOID_FOR_QUESTION','getMemberID','LIVESHARE_TERMINATE','status$','_configService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','words','_createSocket','responseType','unitInfo$','NOT_COLLAB','getSheetBlock','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','fromCollab','&source=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','objectType','joinEvent','SNAPSHOT_HAS_BEEN_REMOVED','removeMember','UPDATE_CURSOR','deleteCollaborator','SOCKET_FAILED_RETRY','_onUserJoin','YUUMI_RATE_OVER_LIMIT','_append','sheets','/-/object/-/batch_allowed','updateOfflineData','_type','hasher','_roomCreated$','session.join-failed','LOCAL_CACHE_INTERVAL','keySize','onTransformSelections','StreamCipher','_networkConditionService','range','x-univer-host','746573nuJQqz','/rev/','_timeoutTimer','_iv','status','_socket$','/universer-api/oidc/authpage','getRandomValues','size','_waitCount','floor','UNIVER_SLIDE','_config','sendChangesetTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','iterations','readInt32LE','subscribe','SHOULD_CLOSE_CONN','_onConnectionFailed','/universer-api/uniscript','_updateState','snapshotServerUrl','onRemoteChangeset','putCollaborators','collaborators','CHANGESET_ACK','actions','22418847kvryWR','_awaitingChangeset','failed\x20to\x20apply\x20missed\x20changesets!','_compressMutationService','UNIVER_UNKNOWN','USER_NOT_INVITED_CODE','FileId','lib','online$','localeService','find','ALREADY_EXISTS','ENSURE_SNAPSHOT_EXECUTION','parse','JOIN_ROOM_FULL','transformUndoRedo','_sessions','randomBytes','uploadFileServerUrl','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','send','equals','blockSize','enableSingleActiveInstanceLock','_onRemoteRejected','fromCharCode','[SyncedState]:\x20received\x20rejection.','updateCursorEvent','_transformUndoredo','kdf','_retryConnectingTimer','_doFinalize','_createHandler','_applyRemoteChangeset','collaboration_new_changeset','pending','_fetchMissChangesets','[CollaborationUndoRedoService]','get','close','/-/object/list','/universer-api/snapshot','reconnect','create','getAllMembers','COMPRESS_MUTATION_SEND','closeSession','socket\x20open.','_resendTimer','COMMENT_UPDATE','PSEUDO_FETCH_MISSING_RESULT','waitForRoom$','_state$','_init','215rdAdaF','UNRECOGNIZED','rev','crypto','CHANGESET_SHOULD_RETRY','state','_sessionStatus$','exports','_collabSessionService','_clearRedo','_hash','univer-pro.collaboration-client-socket-service','[PendingState]:\x20received\x20acknowledgement.','BufferedBlockAlgorithm','getMember','_httpService','_getUndoStack','collaMsg','\x0aCurrent:\x20','executeCommand','changesets','HEARTBEAT_TIMEOUT','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onCombEvent','encrypt','type','dispose','_mode','image/jpeg','_change$','awaitingChangeset','UUID','_onJoinRoomEvent','_sheetTransformSelectionsService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_createInitialState','registerHTTPInterceptor','_toggleOnline','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','c1Prime','toggleOffline','workbook','max','_iKey','_initUnitPermissionChange','HmacSHA1','{fileID}','_changesetReqId','Pkcs7','UNDEFINED','_revisionService','_map','enableOfflineEditing','_invKeySchedule','saveChangeset','YUUMI_ASYNCIO_CANCELLED','SUBMIT_CHANGESET','SHA1','execute','_sendingTimer','SEND_CHANGESET_TIMEOUT','disposeWithMe','Hex','?size=','concat','_shouldReportTelemetry','BlockCipherMode','LOGIN_URL_KEY','result','src','HttpImport','getCollabEntity$','ciphertext','_collaborationSessionService','EMAIL_HAS_BEEN_BOUND','_socketService','onMissedChangesetFetched','HELLO','_initMergeInterceptor','_socket','call','format','fetching\x20missing\x20changesets\x20from\x20','_members','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getSnapshotAPIPath','getCurrentRevOfUnit','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_imageSourceCache','getSheetId','_redoStacks','fetchMiss','_keyPriorReset','_memberService','YUUMI_URL_COL_OUT_OF_RANGE','confirm','objectID','setShowComponents','/object/','_hasher','_transformStateCache','image/jpg','_key','asObservable','USERS_ENTER','ERROR_IMAGE_TYPE','_commentUpdate$','_onFetchMissResult','LICENSE_DISTRO_REJECTED','selections','event$','ERROR_IMAGE','_getSendChangesetTimeout','[CollaborationEntity]','_collaborationPaused','next','patch','LIVESHARE_FETCH_OPERATIONS','dispose$','LIVESHARE_REQUEST_HOST','getFocusedUnit','_handler','FETCH_MISS','POST','_decreaseWaiting','_transformService','CONFLICT','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','mutations','getUnitStatus$','_transformRemoteChangesetByIMECache','updateMember','min','BASE64','href','createCollaborator','\x20-\x20','[FetchMissState]','_getCtorByUniverType','NoPadding','requireSession','telemetry\x20info\x20is\x20not\x20initialized','JOIN_ROOM_NOT_EXISTS','onSendChangeset','fetchThroughInterceptors','_entityInit$','decrypt','isPermissionRej','Base64','sid','error$','_isPermissionRej','encodeURIComponent','every','reqId','RECV','save\x20fail\x20reason\x20is\x20','_onMessage','padding','reject','[CollaborationSession]','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','clear','_entities','debug','retryConnectingInterval','CLOSE_ROOM','copyFileMeta','updatePermissionObjEvent','Malformed\x20UTF-8\x20data','_members$','UnitEmbedded','bind','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','setCurrentUser','Decryptor','[DataLoaderService]','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','COMPLETION_FINISHED','_updateLocalCache','_onUserLeave','socket\x20close','liveShareNewHost','getCollabEntity','appendMutation','_getLoginPath','INGEST','_event$','capture','algo','COLLAB_SUBMIT_CHANGESET_URL','_socketMessageSubscription','list','_candidateSocket','fetchMissingChangesets','saveSheetBlock','function','[CollaborationSessionService]','_process','snapshot','__creator','_cipher','createDecryptor','_disableEditing','_prevBlock','randomUUID','stringify','Failed\x20to\x20update\x20permission\x20point','compute','interceptor','put','/universer-api/file/{fileID}/sign-url','_checkMissing','_listenToNetworkCondition','_doCreateSocket','_initRequestHeader','synced','_clearRetryConnectingTimer','setConfig','SNAPSHOT_URL_KEY','key','csRejEvent','APPLY_NON_SEQUENTIAL_REVISION','createSocket','userID','_oKey','YUUMI_UNABLE_LOAD_URL','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_transitionLocked','PERSON','getOwnPropertyDescriptor','APPLY_DUPLICATED','_resendTimeout','CHANGESET_REVISION_CONFILICT','_singleActiveUnitService','OpenSSL','_transformRemoteChangesetByStateCache','_showConflictNotification','_snapshotService','awaiting','add','_doReset','_minBufferSize','getUnitId','c2Prime','/universer-api/stream/file/upload','OTHER_CLIENT_EDITING','PERMISSION_REJ','HmacMD5','BlockCipher','univer-pro.collaboration-client.single-active-unit-service','\x0aAfter:\x20','_clearLocalCache','INVITE_CODE_ALREADY_BOUND','_queuedRemoteChangesets','transformMutationsWithChangeset','getTypeOfUnitDisposed$','session','MUTATION','27172czsggX','encode','$super','getUnitType','WordArray','getTime','msCrypto','_ENC_XFORM_MODE','PY_RUNTIME_SCRIPT_ERROR','_substituteRedoStack','__esModule','getWorkbookSelections','_injector','unitID','clone','objectActions','getActiveSheet','LEAVE','INVITE_CODE_REQUIRED','onRemoteAck','LIVESHARE_NEW_HOST','_pendingMutations','image/png','default','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_parse','univer-pro.collaboration-client.network-condition.service','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','GLOBAL_ROOMS_CNT_EXCEEDS','baseRev','Base','originalMeta','createEncryptor','_reverseMap','sessionStatus$','NOT_FOUND','_resendWithTimeout','subject','getTypeOfUnitAdded$','finalize','roomInfos','submit\x20changeset\x20error!','socketService','_loadDoc','hasOwnProperty','\x20in\x20_schedule.','transformSelections','requestParams','/universer-api/authz','onCommentUpdate','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ceil','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','defineProperty','join','onCommandExecuted','values','_clearCollaborationTimeoutTimer','textRanges','EvpKDF','_sendHeartbeat','saveImage','_submitChangeset','_clearScheduledTask','/allowed','_permissionService','cfg','JOINING','LOGIN_FAILED','action','_state','_getAPIPrefix','UPDATE_PERMISSION_OBJ','unsubscribe','includes','INVALID_ARGUMENT','INTERNAL_ERROR','_waitForHeartbeatResponse','_rescheduleHeartbeat','apply','FAIL','newCsEvent','CHANGESET_REJ','byteOffset','loadOfflineData','sessionStatus','revision','onTransformRemoteChangesetByIMECache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','sin','onLocalMutation','_unlockTransition','name','url','commentUpdateEvent','json','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','FETCH_MISSING','_clearHeartbeatTimer','[PendingState]:\x20received\x20rejection.','pauseCollaboration','members$','not_collab','_throwTelemetryCollaborationNewChangeset','_xformMode','subUnitId','isArray','_unitID','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','update','APPLY_REJECT','_commentService','OTHER_CLIENTS_EDITING','_retryCount','unpad','encryptBlock','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_createHmacHelper','initWorkbookPermissionChange','_toggleOffline','CipherParams','_remoteChangesetQueue','mixIn','prototype','_registerDependencies','clamp','conflict','_replayCachedMutations','splice','code','now','_univerInstanceService','_getAPIPrefixPath','_transformStack','csShouldRetryEvent','_nRounds','_loadSheet','addHandlerCallback','close$','_keySchedule','symbol','loadDoc','_telemetryInfo','JOIN','location','UserProfileImg','onlyLocal','charCodeAt','batchAllowed','origin','CONNECTOR_DATA_TOO_LARGE','SOCKET_FAILED','session.room-full','cmd','SNAPSHOT_INVALID_SNAPSHOT','_handlerCallback','shouldCloseConn','Hasher','[UniverCollaborationClientPlugin]','APPLY_PERMISSION_DENIED','forEach','/universer-api/snapshot/','replace','UNISCRIPT_RUN','HEARTBEAT_INTERVAL','IDLE','sigBytes','_onLocalMutation','_acknowledgedAwaitingChangeset','change$','toggleOnline','random','LICENSE_IMPORT_SIZE_EXCEEDED','?url=','_exhaustRemoteChangesetQueue','2277720dPWMlB','headers','permissionRejEvent','_createHelper','setWaitCount','resourceIDs','push','collaboratorID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_onOffline','_DEC_XFORM_MODE','processBlock','UNIVER_SHEET','_startTelemetryCollaborationNewChangeset','_collaborationUIEventService','_telemetryService','post','set','UNIVER_PROJECT','onSyncEditingCollabCursor','LICENSE_MAX_UNITS_EXCEEDED','_replaceFileID','withCredentials','extend','abs','COMPRESS_MUTATION_APPLY','toString','formatter','MD5','getResourcesRequest','_transformIMECache','liveShareOperation','_localeService','mode','readAsDataURL','_getCurrentRevision','fetch_missing','awaiting_with_pending','onTransformIME','collabWebSocketUrl','init','_onRecvEvent','getCurrentUser','TOO_MANY_REQUESTS','readyForCollab','_commandService','getLatestCsReqIdBySid','localCacheService','onRemoteRej','createInstance','/unit/','UNIVER_COLLABORATION_CLIENT_PLUGIN','UNKNOWN_CODE','OFFLINE','params','_onRemoteRetry','listRoles','resend','focused$','_doProcessBlock','csAckEvent','/universer-api/comb','4878lSQTON','695978MjtfOq','_undoStacks','_stopTelemetryCollaborationNewChangeset','map','getDeserializedSheetBlock','_incrementRevisionNumber','_doCryptBlock','_startCollaboration','_getUploadFileURL','LICENSE_EXPORT_SIZE_EXCEEDED','emitEvent','_initCloseConn','unitId','HEARTBEAT','_getSignURL','USERS_LEAVE','Error\x20on\x20receiving\x20event','Utf8','findIndex','getConfig','_eventService','NEW_CHANGESETS','AWAITING','81424hbohrP','onStarting','decryptBlock','/collaborator','length','Univer','_snapshotServerService','reset','UNAUTHENTICATED','deepClone','_status$'];_0x12ae=function(){return _0x506430;};return _0x12ae();}(function(_0x3d93e0,_0x3bcbab){var _0x454305=_0x44f8,_0x32debf=_0x3d93e0();while(!![]){try{var _0xc2a34=-parseInt(_0x454305(0x35b))/0x1+-parseInt(_0x454305(0x29b))/0x2*(parseInt(_0x454305(0x30f))/0x3)+-parseInt(_0x454305(0x1ad))/0x4*(parseInt(_0x454305(0x3ae))/0x5)+parseInt(_0x454305(0x2e5))/0x6*(parseInt(_0x454305(0x2b2))/0x7)+-parseInt(_0x454305(0x2e7))/0x8*(-parseInt(_0x454305(0x29a))/0x9)+-parseInt(_0x454305(0x25c))/0xa+parseInt(_0x454305(0x378))/0xb;if(_0xc2a34===_0x3bcbab)break;else _0x32debf['push'](_0x32debf['shift']());}catch(_0x41af19){_0x32debf['push'](_0x32debf['shift']());}}}(_0x12ae,0x66bad));var wi=Object['defineProperty'],Pi=(_0x2771aa,_0x385959,_0x2e631c)=>_0x385959 in _0x2771aa?wi(_0x2771aa,_0x385959,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e631c}):_0x2771aa[_0x385959]=_0x2e631c,N=(_0x4233d3,_0x503e04,_0xefc393)=>Pi(_0x4233d3,typeof _0x503e04!=_0x56867e(0x239)?_0x503e04+'':_0x503e04,_0xefc393);import{createIdentifier as _0x365cf2,Inject as _0x4e750e,Injector as _0x72784b,IConfigService as _0x32a746,ILogService as _0x2bb004,Disposable as _0x12dfc4,DisposableCollection as _0x31479c,toDisposable as _0xeacc3e,IUniverInstanceService as _0x37d76b,UserManagerService as _0x276847,UniverInstanceType as _0x2f046a,LocaleService as _0x54986a,Optional as _0x5e16b2,RxDisposable as _0x20dae0,Tools as _0x260258,Rectangle as _0x54ddbf,ICommandService as _0x2bf2a0,JSONX as _0x537478,CommandType as _0xa314af,IUndoRedoService as _0x553d9a,IPermissionService as _0x157be6,sequenceExecute as _0x28cf88,Workbook as _0x345c5b,MentionType as _0x558090,isInternalEditorID as _0x1d16dd,LocalUndoRedoService as _0x3a6e57,IContextService as _0x23bf61,DependentOn as _0x391cfc,Plugin as _0x1d77f2,merge as _0x36f3bb,mergeOverrideWithDependencies as _0xaf59f9,IAuthzIoService as _0x55fbcc,IMentionIOService as _0x3616e1,registerDependencies as _0x31c032,Quantity as _0x43db1b,touchDependencies as _0x3d095d}from'@univerjs/core';import{Subject as _0x4197bc,merge as _0x11f00c,of as _0x158b13,BehaviorSubject as _0x4a662d,takeUntil as _0x57c994,ReplaySubject as _0x392a31,take as _0x3fc4c2,map as _0x4c5d20,shareReplay as _0x340841,firstValueFrom as _0x3b490e,concatMap as _0x528b0d}from'rxjs';import{map as _0x52c811,take as _0x1ecce6,filter as _0x50d02f,delay as _0x11e07d,takeUntil as _0xd80e25}from'rxjs/operators';import{CollaborationEvent as _0x4d037b,ISnapshotServerService as _0x208b5e,parseChangesetToProtocol as _0x440a1b,ITransformService as _0x1258ff,isTransformMutationsWithChangesetSuccess as _0x4f40f6,mapDocumentTypeToUniverType as _0x1d382b,RevisionService as _0x4897ad,isTransformChangesetsSuccess as _0x207d8a,CompressMutationService as _0xac807d,parseProtocolChangeset as _0x20caa,SnapshotService as _0x586547,textEncoder as _0x225a1c,b64DecodeUnicode as _0x1f9119,isTransformMutationsWithChangesetFailure as _0x2b2727,UniverCollaborationPlugin as _0x399b5b}from'@univerjs-pro/collaboration';import{HTTPService as _0x459451,ISocketService as _0x34ada3,MergeInterceptorFactory as _0x484a5c,HTTPRequest as _0x1d757c,UniverNetworkPlugin as _0x318d19,ThresholdInterceptorFactory as _0x38e0d8}from'@univerjs/network';import{ITelemetryService as _0x3f5ebf}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x588141}from'@univerjs/docs';import{SheetsSelectionsService as _0x35fc12,SetSelectionsOperation as _0x2a034d,InsertSheetMutation as _0x3cecac,EmptyMutation as _0x3d59de,WorkbookEditablePermission as _0x3b9034,SheetPermissionInitController as _0x185e67}from'@univerjs/sheets';import{ImageSourceType as _0x372b32,ImageUploadStatusType as _0x305813,IImageIoService as _0x289423}from'@univerjs/drawing';import{getGlobalObject as _0x2097bd}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x56867e(0x3a1),Sn=_0x56867e(0x185),Lr=_0x56867e(0xe6),En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x56867e(0x2d1),xr=_0x56867e(0x2ee),Cn=_0x56867e(0x251),Rn=0x7530,mi=_0x56867e(0xbf),gi=0x4e20,bn=0x4e20,On='RETRY_CONNECTING_MAX_COUNT',yn=0x3,Mr=_0x56867e(0x354),kr=0x3e8,Nn=_0x56867e(0x168),Dn=_0x56867e(0x299),Un=_0x56867e(0xed),An=_0x56867e(0x361),$r=_0x56867e(0x1df),Hr=_0x56867e(0x370);var Si=(_0x5275ee=>(_0x5275ee[_0x5275ee[_0x56867e(0xdb)]=0x0]='UNDEFINED',_0x5275ee[_0x5275ee['OK']=0x1]='OK',_0x5275ee[_0x5275ee['INTERNAL_ERROR']=0x2]=_0x56867e(0x1f9),_0x5275ee[_0x5275ee[_0x56867e(0x32c)]=0x3]=_0x56867e(0x32c),_0x5275ee[_0x5275ee[_0x56867e(0x1d0)]=0x4]=_0x56867e(0x1d0),_0x5275ee[_0x5275ee[_0x56867e(0x2ba)]=0x5]='UNAUTHENTICATED',_0x5275ee[_0x5275ee[_0x56867e(0x383)]=0x6]='ALREADY_EXISTS',_0x5275ee[_0x5275ee[_0x56867e(0x1f8)]=0x7]='INVALID_ARGUMENT',_0x5275ee[_0x5275ee[_0x56867e(0x287)]=0x8]='TOO_MANY_REQUESTS',_0x5275ee[_0x5275ee[_0x56867e(0x15c)]=0x9]=_0x56867e(0x15c),_0x5275ee[_0x5275ee[_0x56867e(0x1f1)]=0xa]=_0x56867e(0x1f1),_0x5275ee[_0x5275ee['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x56867e(0x193),_0x5275ee[_0x5275ee[_0x56867e(0x247)]=0x1771]=_0x56867e(0x247),_0x5275ee[_0x5275ee[_0x56867e(0x345)]=0x1772]=_0x56867e(0x345),_0x5275ee[_0x5275ee[_0x56867e(0x384)]=0x1773]=_0x56867e(0x384),_0x5275ee[_0x5275ee[_0x56867e(0x21b)]=0x1b59]=_0x56867e(0x21b),_0x5275ee[_0x5275ee['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x56867e(0x188),_0x5275ee[_0x5275ee['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5275ee[_0x5275ee[_0x56867e(0x24c)]=0x1b5c]=_0x56867e(0x24c),_0x5275ee[_0x5275ee[_0x56867e(0x191)]=0x1b5d]=_0x56867e(0x191),_0x5275ee[_0x5275ee[_0x56867e(0x243)]=0x1f41]=_0x56867e(0x243),_0x5275ee[_0x5275ee['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x56867e(0x270),_0x5275ee[_0x5275ee[_0x56867e(0x369)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5275ee[_0x5275ee[_0x56867e(0x259)]=0x232b]=_0x56867e(0x259),_0x5275ee[_0x5275ee[_0x56867e(0x2a4)]=0x232c]=_0x56867e(0x2a4),_0x5275ee[_0x5275ee[_0x56867e(0x116)]=0x232d]=_0x56867e(0x116),_0x5275ee[_0x5275ee[_0x56867e(0x18c)]=0x2711]=_0x56867e(0x18c),_0x5275ee[_0x5275ee[_0x56867e(0x108)]=0x2712]=_0x56867e(0x108),_0x5275ee[_0x5275ee[_0x56867e(0x34b)]=0x2713]=_0x56867e(0x34b),_0x5275ee[_0x5275ee[_0x56867e(0x2bf)]=0x2714]=_0x56867e(0x2bf),_0x5275ee[_0x5275ee[_0x56867e(0x333)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5275ee[_0x5275ee[_0x56867e(0xe1)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5275ee[_0x5275ee[_0x56867e(0x1b5)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5275ee[_0x5275ee[_0x56867e(0x2c6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5275ee[_0x5275ee[_0x56867e(0x314)]=0x2ee2]=_0x56867e(0x314),_0x5275ee[_0x5275ee[_0x56867e(0x1bf)]=0x2ee3]=_0x56867e(0x1bf),_0x5275ee[_0x5275ee['USER_NOT_INVITED_CODE']=0x2ee4]=_0x56867e(0x37d),_0x5275ee[_0x5275ee[_0x56867e(0x1a7)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5275ee[_0x5275ee[_0x56867e(0x2cb)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5275ee[_0x5275ee['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5275ee[_0x5275ee[_0x56867e(0xf4)]=0x32cb]=_0x56867e(0xf4),_0x5275ee[_0x5275ee[_0x56867e(0x3af)]=-0x1]=_0x56867e(0x3af),_0x5275ee))(Si||{}),Q=(_0x595881=>(_0x595881[_0x595881[_0x56867e(0x37c)]=0x0]=_0x56867e(0x37c),_0x595881[_0x595881[_0x56867e(0x2fd)]=0x1]=_0x56867e(0x2fd),_0x595881[_0x595881[_0x56867e(0x268)]=0x2]=_0x56867e(0x268),_0x595881[_0x595881[_0x56867e(0x366)]=0x3]=_0x56867e(0x366),_0x595881[_0x595881[_0x56867e(0x26e)]=0x4]=_0x56867e(0x26e),_0x595881[_0x595881[_0x56867e(0x3af)]=-0x1]='UNRECOGNIZED',_0x595881))(Q||{}),F=(_0x23562e=>(_0x23562e[_0x23562e[_0x56867e(0x2e4)]=0x0]=_0x56867e(0x2e4),_0x23562e[_0x23562e[_0x56867e(0xf7)]=0x1]='HELLO',_0x23562e[_0x23562e[_0x56867e(0x23c)]=0x2]='JOIN',_0x23562e[_0x23562e[_0x56867e(0x1be)]=0x3]=_0x56867e(0x1be),_0x23562e[_0x23562e[_0x56867e(0x164)]=0x4]=_0x56867e(0x164),_0x23562e[_0x23562e['HEARTBEAT']=0x5]='HEARTBEAT',_0x23562e[_0x23562e[_0x56867e(0x145)]=0x6]=_0x56867e(0x145),_0x23562e[_0x23562e[_0x56867e(0x3af)]=-0x1]=_0x56867e(0x3af),_0x23562e))(F||{}),ge=(_0x10a96d=>(_0x10a96d[_0x10a96d[_0x56867e(0x290)]=0x0]=_0x56867e(0x290),_0x10a96d[_0x10a96d['OK']=0x1]='OK',_0x10a96d[_0x10a96d['FAIL']=0x2]=_0x56867e(0x1fd),_0x10a96d[_0x10a96d['JOIN_ROOM_FULL']=0x3e9]=_0x56867e(0x386),_0x10a96d[_0x10a96d[_0x56867e(0x138)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x10a96d[_0x10a96d['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x56867e(0x304),_0x10a96d[_0x10a96d[_0x56867e(0x1c9)]=0x3ec]=_0x56867e(0x1c9),_0x10a96d[_0x10a96d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x10a96d))(ge||{}),Ei=(_0x3dc469=>(_0x3dc469[_0x3dc469[_0x56867e(0x2d0)]=0x0]=_0x56867e(0x2d0),_0x3dc469[_0x3dc469[_0x56867e(0xf0)]=0x1]='HttpImport',_0x3dc469[_0x3dc469[_0x56867e(0x2ca)]=0x2]='HttpExport',_0x3dc469[_0x3dc469[_0x56867e(0x155)]=0x3]='UnitEmbedded',_0x3dc469[_0x3dc469[_0x56867e(0x32a)]=0x4]=_0x56867e(0x32a),_0x3dc469[_0x3dc469[_0x56867e(0x23e)]=0x5]=_0x56867e(0x23e),_0x3dc469[_0x3dc469[_0x56867e(0x3af)]=-0x1]=_0x56867e(0x3af),_0x3dc469))(Ei||{});const q=_0x56867e(0x329),wn={};var re=(_0x4a22b1=>(_0x4a22b1[_0x56867e(0x1a0)]=_0x56867e(0x1a0),_0x4a22b1[_0x56867e(0x32c)]='PERMISSION_DENIED',_0x4a22b1[_0x56867e(0x128)]=_0x56867e(0x128),_0x4a22b1[_0x56867e(0x150)]=_0x56867e(0x150),_0x4a22b1[_0x56867e(0x306)]='JOIN_ROOM_FAILED',_0x4a22b1['SOCKET_FAILED_RETRY']=_0x56867e(0x349),_0x4a22b1[_0x56867e(0x244)]=_0x56867e(0x244),_0x4a22b1[_0x56867e(0x2e8)]='SUBMIT_CHANGESET_TIMEOUT',_0x4a22b1))(re||{});class pe{constructor(){var _0x20730c=_0x56867e;N(this,_0x20730c(0x165),new _0x4197bc()),N(this,'event$',this[_0x20730c(0x165)][_0x20730c(0x111)]());}[_0x56867e(0x2a5)](_0x542341){var _0x236ce5=_0x56867e;this[_0x236ce5(0x165)][_0x236ce5(0x11d)](_0x542341);}}const Pn=_0x365cf2(_0x56867e(0x1c7));function Ln(_0x2ed8b9){var _0x1e01fc=_0x56867e,_0x295622,_0x4fe2b6,_0x4766c5,_0x192521,_0x4454d6;const _0x77e596=_0x2ed8b9['data'],_0x4e5bee=JSON['parse'](_0x77e596);switch(_0x4e5bee['cmd']){case F['HEARTBEAT']:case F[_0x1e01fc(0xf7)]:{const _0x15e7b7=_0x4e5bee[_0x1e01fc(0x31a)];return{..._0x4e5bee,'data':_0x15e7b7,'cmd':_0x4e5bee[_0x1e01fc(0x246)]};}case F[_0x1e01fc(0x23c)]:{const _0x475863=_0x4e5bee['joinRsp'];return{..._0x4e5bee,'data':_0x475863,'cmd':_0x4e5bee[_0x1e01fc(0x246)]};}case F[_0x1e01fc(0x145)]:{const _0x54ab83=_0x4e5bee[_0x1e01fc(0x3bf)];switch(_0x54ab83[_0x1e01fc(0x2f4)]){case _0x4d037b[_0x1e01fc(0x1a1)]:return{..._0x4e5bee,'data':{..._0x54ab83,'data':(_0x295622=_0x54ab83[_0x1e01fc(0x25e)])==null?void 0x0:_0x295622['cs']},'cmd':_0x4e5bee['cmd']};case _0x4d037b[_0x1e01fc(0x376)]:return{..._0x4e5bee,'data':{..._0x54ab83,'data':(_0x4fe2b6=_0x54ab83[_0x1e01fc(0x298)])==null?void 0x0:_0x4fe2b6['cs']},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b[_0x1e01fc(0x2b0)]:return{..._0x4e5bee,'data':{..._0x54ab83,'data':(_0x4766c5=_0x54ab83[_0x1e01fc(0x1fe)])==null?void 0x0:_0x4766c5['cs']},'cmd':_0x4e5bee['cmd']};case _0x4d037b[_0x1e01fc(0x1ff)]:return{..._0x4e5bee,'data':{..._0x54ab83,'data':(_0x192521=_0x54ab83[_0x1e01fc(0x187)])==null?void 0x0:_0x192521['cs']},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b['CHANGESET_SHOULD_RETRY']:return{..._0x4e5bee,'data':{..._0x54ab83,'data':(_0x4454d6=_0x54ab83[_0x1e01fc(0x233)])==null?void 0x0:_0x4454d6['cs']},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b['UPDATE_CURSOR']:return{..._0x4e5bee,'data':{..._0x54ab83,'data':_0x54ab83[_0x1e01fc(0x393)]},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b['USERS_ENTER']:return{..._0x4e5bee,'data':{..._0x54ab83,'data':_0x54ab83[_0x1e01fc(0x344)]},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b['USERS_LEAVE']:return{..._0x4e5bee,'data':{..._0x54ab83,'data':_0x54ab83[_0x1e01fc(0x328)]},'cmd':_0x4e5bee['cmd']};case _0x4d037b[_0x1e01fc(0x1c1)]:return{..._0x4e5bee,'data':{..._0x54ab83,'data':_0x54ab83[_0x1e01fc(0x160)]},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b[_0x1e01fc(0x11f)]:case _0x4d037b[_0x1e01fc(0x2ff)]:return{..._0x4e5bee,'data':{..._0x54ab83,'data':_0x54ab83[_0x1e01fc(0x27b)]},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b['LIVESHARE_TERMINATE']:return{..._0x4e5bee,'data':{..._0x54ab83,'data':_0x54ab83[_0x1e01fc(0x160)]},'cmd':_0x4e5bee['cmd']};case _0x4d037b[_0x1e01fc(0x2fa)]:return{..._0x4e5bee,'data':_0x54ab83,'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b['COMMENT_UPDATE']:return{..._0x4e5bee,'data':{..._0x54ab83,'data':_0x54ab83[_0x1e01fc(0x20b)]},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b[_0x1e01fc(0x1f5)]:return{..._0x4e5bee,'data':{..._0x54ab83,'data':_0x54ab83[_0x1e01fc(0x152)]},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b[_0x1e01fc(0x36e)]:return{..._0x4e5bee,'data':{..._0x54ab83,'data':_0x54ab83[_0x1e01fc(0x249)]},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};case _0x4d037b[_0x1e01fc(0x250)]:return{..._0x4e5bee,'data':{..._0x54ab83,'data':_0x54ab83['uniscriptRunEvent']},'cmd':_0x4e5bee[_0x1e01fc(0x246)]};default:return _0x4e5bee;}}default:return _0x4e5bee;}}function xn(_0x401440){var _0x517dc4=_0x56867e;switch(_0x401440[_0x517dc4(0x246)]){case F[_0x517dc4(0x2a8)]:case F[_0x517dc4(0xf7)]:return JSON['stringify']({'cmd':_0x401440['cmd'],'routeKey':_0x401440['routeKey']});case F[_0x517dc4(0x164)]:{let _0xc54590;switch(_0x401440[_0x517dc4(0x2d4)][_0x517dc4(0x2f4)]){case _0x4d037b['UPDATE_CURSOR']:{_0xc54590={'eventID':_0x4d037b[_0x517dc4(0x347)],'updateCursorEvent':_0x401440[_0x517dc4(0x2d4)][_0x517dc4(0x2d4)]};break;}case _0x4d037b[_0x517dc4(0x2aa)]:{_0xc54590={'eventID':_0x4d037b['USERS_LEAVE'],'leaveEvent':_0x401440['data'][_0x517dc4(0x2d4)]};break;}case _0x4d037b['USERS_ENTER']:{_0xc54590={'eventID':_0x4d037b[_0x517dc4(0x112)],'joinEvent':_0x401440[_0x517dc4(0x2d4)][_0x517dc4(0x2d4)]};break;}case _0x4d037b['LIVESHARE_NEW_HOST']:{_0xc54590={'eventID':_0x4d037b[_0x517dc4(0x1c1)],'liveShareNewHost':_0x401440['data'][_0x517dc4(0x2d4)]};break;}case _0x4d037b[_0x517dc4(0x2ff)]:{_0xc54590={'eventID':_0x4d037b[_0x517dc4(0x2ff)],'liveShareOperation':_0x401440['data'][_0x517dc4(0x2d4)]};break;}case _0x4d037b['LIVESHARE_TERMINATE']:{_0xc54590={'eventID':_0x4d037b[_0x517dc4(0x335)],'liveShareTerminate':_0x401440[_0x517dc4(0x2d4)][_0x517dc4(0x2d4)]};break;}case _0x4d037b[_0x517dc4(0x121)]:{_0xc54590={'eventID':_0x4d037b['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x401440['data'][_0x517dc4(0x2d4)]};break;}case _0x4d037b[_0x517dc4(0x11f)]:{_0xc54590={'eventID':_0x4d037b[_0x517dc4(0x11f)]};break;}default:_0xc54590={'eventID':_0x401440[_0x517dc4(0x2d4)]['eventID']};}return JSON['stringify']({'cmd':_0x401440[_0x517dc4(0x246)],'routeKey':_0x401440[_0x517dc4(0x2ef)],'collaMsg':_0xc54590});}case F[_0x517dc4(0x23c)]:return JSON[_0x517dc4(0x178)]({'cmd':_0x401440[_0x517dc4(0x246)],'routeKey':_0x401440['routeKey'],'joinReq':_0x401440[_0x517dc4(0x2d4)]});case F[_0x517dc4(0x1be)]:return JSON[_0x517dc4(0x178)]({'cmd':_0x401440['cmd'],'routeKey':_0x401440[_0x517dc4(0x2ef)],'leaveReq':_0x401440[_0x517dc4(0x2d4)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Mn=Object['getOwnPropertyDescriptor'],kn=(_0x120803,_0x503d53,_0x4ff8b4,_0x1b126e)=>{var _0x22e31e=_0x56867e;for(var _0x533112=_0x1b126e>0x1?void 0x0:_0x1b126e?Mn(_0x503d53,_0x4ff8b4):_0x503d53,_0x27b0cf=_0x120803[_0x22e31e(0x2b6)]-0x1,_0x4aa25e;_0x27b0cf>=0x0;_0x27b0cf--)(_0x4aa25e=_0x120803[_0x27b0cf])&&(_0x533112=_0x4aa25e(_0x533112)||_0x533112);return _0x533112;},Ae=(_0x16e16b,_0x106e72)=>(_0x5422f5,_0x14ac12)=>_0x106e72(_0x5422f5,_0x14ac12,_0x16e16b);const Ii=_0x365cf2(_0x56867e(0x3b9));function $n(_0x5babf5,_0x43b3d9,_0x4e97f5){var _0x41a27a=_0x56867e;return _0x5babf5+'/'+_0x43b3d9+_0x41a27a(0x28e)+_0x4e97f5+'/new_changes';}let Gt=class extends _0x12dfc4{constructor(_0x18a4da,_0x45b6fb,_0x466790,_0x204c9b,_0x1b97d2){var _0x581000=_0x56867e;super(),this[_0x581000(0x1b9)]=_0x18a4da,this[_0x581000(0x3bd)]=_0x45b6fb,this[_0x581000(0x337)]=_0x466790,this[_0x581000(0x320)]=_0x204c9b,this['_snapshotServerService']=_0x1b97d2;}[_0x56867e(0x180)](_0x25552f){var _0x1ac925=_0x56867e;const _0x481461=this[_0x1ac925(0x1b9)][_0x1ac925(0x39e)](_0x34ada3);if(!_0x481461)throw new Error(_0x1ac925(0x14b));const _0x56a55c=_0x481461['createSocket'](_0x25552f);if(!_0x56a55c)throw new Error(_0x1ac925(0x157));const _0x8f66f0=new _0x31479c(),_0x4e7df5=new _0x4197bc();_0x8f66f0['add'](_0x56a55c[_0x1ac925(0x237)][_0x1ac925(0x36d)](_0x294066=>_0x4e7df5[_0x1ac925(0x11d)](_0x294066))),_0x8f66f0[_0x1ac925(0x19a)](_0xeacc3e(()=>_0x4e7df5[_0x1ac925(0x2e9)]()));const _0x31b7f5=new _0x4197bc();_0x8f66f0[_0x1ac925(0x19a)](_0x56a55c[_0x1ac925(0x140)][_0x1ac925(0x36d)](_0x389282=>_0x31b7f5['next'](_0x389282))),_0x8f66f0['add'](_0xeacc3e(()=>_0x31b7f5[_0x1ac925(0x2e9)]()));const _0x4b7f50=new _0x4197bc();_0x8f66f0[_0x1ac925(0x19a)](_0x56a55c[_0x1ac925(0x315)][_0x1ac925(0x36d)](_0x5884ee=>{const _0x118efa=Ln(_0x5884ee);_0x4b7f50['next'](_0x118efa);})),_0x8f66f0[_0x1ac925(0x19a)](_0xeacc3e(()=>_0x4b7f50[_0x1ac925(0x2e9)]()));let _0x87db14;const _0x5a3b19=()=>{var _0x2e8ce4=_0x1ac925;_0x31b7f5[_0x2e8ce4(0x11d)](new Event('connection\x20error')),_0x4e7df5[_0x2e8ce4(0x11d)](new Event('connection\x20error')),_0x87db14[_0x2e8ce4(0x39f)]();};return _0x87db14={'memberID':'','close$':_0x4e7df5[_0x1ac925(0x111)](),'error$':_0x31b7f5[_0x1ac925(0x111)](),'open$':_0x56a55c[_0x1ac925(0x2c7)],'message$':_0x4b7f50[_0x1ac925(0x111)](),'send':_0x1ea1b0=>{var _0x18d55b=_0x1ac925;if(_0x1ea1b0['cmd']===F[_0x18d55b(0x164)]){if(_0x1ea1b0[_0x18d55b(0x2d4)][_0x18d55b(0x2f4)]===_0x4d037b['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x87db14,_0x1ea1b0[_0x18d55b(0x2d4)])['catch'](_0x538777=>{var _0x2a6316=_0x18d55b;this[_0x2a6316(0x320)]['error'](_0x538777),_0x5a3b19();});return;}if(_0x1ea1b0[_0x18d55b(0x2d4)][_0x18d55b(0x2f4)]===_0x4d037b[_0x18d55b(0x20e)]){const _0x3d6ac7=_0x1ea1b0['data'];this[_0x18d55b(0x39c)](_0x3d6ac7)['then'](_0x54c6b0=>{var _0x37d6ad=_0x18d55b;_0x4b7f50[_0x37d6ad(0x11d)]({'cmd':F[_0x37d6ad(0x145)],'code':ge['OK'],'routeKey':_0x3d6ac7[_0x37d6ad(0x2d4)][_0x37d6ad(0x1ba)],'routeType':'','data':{'eventID':_0x4d037b[_0x37d6ad(0x3aa)],'data':{'changesets':_0x54c6b0}}});})['catch'](_0x49ba9f=>{var _0x128d94=_0x18d55b;this[_0x128d94(0x320)][_0x128d94(0x2cc)](_0x49ba9f),_0x5a3b19();});return;}}_0x56a55c[_0x18d55b(0x38c)](xn(_0x1ea1b0));},'close':()=>{var _0x246388=_0x1ac925;_0x56a55c['close'](),_0x8f66f0[_0x246388(0xc4)]();}},_0x87db14;}async[_0x56867e(0x1eb)](_0x48c2e7,_0x4d57e2){var _0x3261f9=_0x56867e,_0x27b946,_0x5aa589;const {unitType:_0x115eda,unitID:_0x17bd5a,changeset:_0x28f7d4}=_0x4d57e2[_0x3261f9(0x2d4)],_0x34294e={'unitID':_0x17bd5a,'memberID':_0x48c2e7[_0x3261f9(0x2fb)],'type':_0x115eda,'changeset':_0x440a1b(_0x28f7d4)},_0x639a47=this[_0x3261f9(0x337)][_0x3261f9(0x2ae)](Nn),_0xd5ef71=this[_0x3261f9(0x337)][_0x3261f9(0x2ae)](q),_0x1cccc6=$n((_0x5aa589=(_0x27b946=_0xd5ef71==null?void 0x0:_0xd5ef71['collabSubmitChangesetUrl'])!=null?_0x27b946:_0x639a47)!=null?_0x5aa589:Dn,_0x115eda,_0x17bd5a);try{await this[_0x3261f9(0x3bd)][_0x3261f9(0x26c)](_0x1cccc6,{'body':_0x34294e});}catch(_0x52ea34){throw this['_logService'][_0x3261f9(0x2cc)](_0x3261f9(0x14a),_0x3261f9(0x1d6)),_0x52ea34;}}async[_0x56867e(0x39c)](_0x16a4ff){var _0xb4fdf0=_0x56867e;const {unitID:_0x136e86,from:_0x8a11e1,to:_0x2964d1,unitType:_0x40fa4b}=_0x16a4ff[_0xb4fdf0(0x2d4)];return(await this[_0xb4fdf0(0x2b8)][_0xb4fdf0(0x16c)]({'metadata':void 0x0},{'unitID':_0x136e86,'type':_0x40fa4b,'from':_0x8a11e1,'to':_0x2964d1}))[_0xb4fdf0(0xbe)];}};Gt=kn([Ae(0x0,_0x4e750e(_0x72784b)),Ae(0x1,_0x4e750e(_0x459451)),Ae(0x2,_0x32a746),Ae(0x3,_0x2bb004),Ae(0x4,_0x208b5e)],Gt);const Hn=_0x56867e(0x39a);function Bn(_0x56ef6d){var _0x2df97b=_0x56867e;return JSON['stringify'](_0x56ef6d)[_0x2df97b(0x2b6)];}class Ti{constructor(){var _0x3cc399=_0x56867e;N(this,'_commentUpdate$',new _0x4197bc()),N(this,'commentUpdate$',this[_0x3cc399(0x114)][_0x3cc399(0x111)]());}[_0x56867e(0x1de)](_0x3bab5e){this['_commentUpdate$']['next'](_0x3bab5e);}}var jn=Object[_0x56867e(0x190)],Fn=(_0x209b56,_0x3e5dbe,_0x4409cc,_0x125020)=>{var _0xcb65f=_0x56867e;for(var _0x12a144=_0x125020>0x1?void 0x0:_0x125020?jn(_0x3e5dbe,_0x4409cc):_0x3e5dbe,_0x4c993a=_0x209b56[_0xcb65f(0x2b6)]-0x1,_0x22e1a5;_0x4c993a>=0x0;_0x4c993a--)(_0x22e1a5=_0x209b56[_0x4c993a])&&(_0x12a144=_0x22e1a5(_0x12a144)||_0x12a144);return _0x12a144;},Wt=(_0x5415bf,_0x534659)=>(_0x1eb639,_0x54be84)=>_0x534659(_0x1eb639,_0x54be84,_0x5415bf);let Le=class extends _0x12dfc4{constructor(_0x4d94aa,_0x2770b9){var _0x2525cd=_0x56867e;super(),N(this,_0x2525cd(0x2dd),new Map()),N(this,_0x2525cd(0x352),new _0x4197bc()),(this[_0x2525cd(0x230)]=_0x4d94aa,this['_userManagerService']=_0x2770b9,this[_0x2525cd(0xe7)](_0x11f00c(this[_0x2525cd(0x230)][_0x2525cd(0x1aa)](_0x2f046a[_0x2525cd(0x268)])[_0x2525cd(0x2f8)](_0x52c811(_0x2c5c53=>_0x2c5c53['getUnitId']())),this[_0x2525cd(0x230)][_0x2525cd(0x1aa)](_0x2f046a[_0x2525cd(0x2fd)])[_0x2525cd(0x2f8)](_0x52c811(_0x31f9bd=>_0x31f9bd[_0x2525cd(0x19d)]())),this[_0x2525cd(0x230)][_0x2525cd(0x1aa)](_0x2f046a[_0x2525cd(0x366)])[_0x2525cd(0x2f8)](_0x52c811(_0x25af8d=>_0x25af8d[_0x2525cd(0x19d)]())))[_0x2525cd(0x36d)](_0x1122e8=>this[_0x2525cd(0x2d6)](_0x1122e8))));}[_0x56867e(0x3ab)](_0x202eaf){var _0x3ad9d7=_0x56867e;return this[_0x3ad9d7(0x2dd)]['has'](_0x202eaf)?_0x158b13(this[_0x3ad9d7(0x2dd)]['get'](_0x202eaf)):this['_roomCreated$'][_0x3ad9d7(0x2f8)](_0x52c811(_0x47a066=>{var _0x57f104=_0x3ad9d7;if(_0x47a066===_0x202eaf)return this[_0x57f104(0x2dd)][_0x57f104(0x39e)](_0x47a066);}));}[_0x56867e(0x158)](_0x26d471){this['_userManagerService']['setCurrentUser'](_0x26d471);}[_0x56867e(0x286)](){var _0x3c7068=_0x56867e;return this['_userManagerService'][_0x3c7068(0x286)]();}['updateMember'](_0xa108d1,_0x4b2ac4){var _0x4be646=_0x56867e;let _0x53b6df=this[_0x4be646(0x2dd)][_0x4be646(0x39e)](_0xa108d1);_0x53b6df||(_0x53b6df=new Vn(),this[_0x4be646(0x2dd)][_0x4be646(0x26d)](_0xa108d1,_0x53b6df),this[_0x4be646(0x352)][_0x4be646(0x11d)](_0xa108d1)),_0x53b6df['updateMember'](_0x4b2ac4);}[_0x56867e(0x346)](_0x4f32f1,_0x16395a){var _0x494d8d=_0x56867e;const _0x2e313f=this[_0x494d8d(0x2dd)]['get'](_0x4f32f1);_0x2e313f&&_0x2e313f[_0x494d8d(0x346)](_0x16395a);}['getRoom'](_0x18e818){var _0x37ed83=_0x56867e;return this[_0x37ed83(0x2dd)][_0x37ed83(0x39e)](_0x18e818);}[_0x56867e(0x3bc)](_0x371a7b,_0x4f3cde){var _0x406592=_0x56867e;const _0x1c1d02=this[_0x406592(0x2dd)][_0x406592(0x39e)](_0x371a7b);if(_0x1c1d02)return _0x1c1d02[_0x406592(0x3bc)](_0x4f3cde);}['_removeRoom'](_0x42bdcb){var _0x365847=_0x56867e;const _0x42a90f=this[_0x365847(0x2dd)][_0x365847(0x39e)](_0x42bdcb);_0x42a90f&&(_0x42a90f[_0x365847(0xc4)](),this['_roomMembers'][_0x365847(0x312)](_0x42bdcb));}[_0x56867e(0xc4)](){var _0x110bfa=_0x56867e;this['_roomMembers'][_0x110bfa(0x24d)](_0x48afa6=>_0x48afa6[_0x110bfa(0xc4)]()),this[_0x110bfa(0x2dd)][_0x110bfa(0x14c)](),this[_0x110bfa(0x352)]['complete']();}};Le=Fn([Wt(0x0,_0x37d76b),Wt(0x1,_0x4e750e(_0x276847))],Le);class Vn extends _0x12dfc4{constructor(){var _0x370340=_0x56867e;super(...arguments),N(this,'_members',new Map()),N(this,_0x370340(0x154),new _0x4a662d(this[_0x370340(0xfd)])),N(this,_0x370340(0x212),this[_0x370340(0x154)][_0x370340(0x111)]());}[_0x56867e(0xc4)](){var _0x44a795=_0x56867e;this[_0x44a795(0xfd)][_0x44a795(0x14c)]();}[_0x56867e(0x12d)](_0x4ca9b6){var _0x4956f1=_0x56867e;this['_members'][_0x4956f1(0x26d)](_0x4ca9b6['memberID'],_0x4ca9b6),this['_emitMembers']();}[_0x56867e(0x346)](_0x256e67){var _0x292a18=_0x56867e;this[_0x292a18(0xfd)][_0x292a18(0x312)](_0x256e67);}[_0x56867e(0x3bc)](_0x58cea1){var _0x1656c2=_0x56867e;return this[_0x1656c2(0xfd)][_0x1656c2(0x39e)](_0x58cea1);}[_0x56867e(0x3a4)](){var _0x7abc48=_0x56867e;return Array[_0x7abc48(0x31d)](this['_members'][_0x7abc48(0x1e5)]());}['_emitMembers'](){var _0x105667=_0x56867e;this[_0x105667(0x154)][_0x105667(0x11d)](this[_0x105667(0xfd)]);}}var Gn=Object[_0x56867e(0x190)],Wn=(_0x354703,_0x1a2827,_0x1440e4,_0xc2a210)=>{var _0x3208ad=_0x56867e;for(var _0x5cce76=_0xc2a210>0x1?void 0x0:_0xc2a210?Gn(_0x1a2827,_0x1440e4):_0x1a2827,_0xb0c19b=_0x354703[_0x3208ad(0x2b6)]-0x1,_0x175864;_0xb0c19b>=0x0;_0xb0c19b--)(_0x175864=_0x354703[_0xb0c19b])&&(_0x5cce76=_0x175864(_0x5cce76)||_0x5cce76);return _0x5cce76;},me=(_0x16d4f6,_0x35f5ea)=>(_0x195984,_0x45ef30)=>_0x35f5ea(_0x195984,_0x45ef30,_0x16d4f6),Ee=(_0x371c59=>(_0x371c59[_0x371c59['IDLE']=0x0]=_0x56867e(0x252),_0x371c59[_0x371c59[_0x56867e(0x1f0)]=0x1]=_0x56867e(0x1f0),_0x371c59[_0x371c59[_0x56867e(0x291)]=0x2]=_0x56867e(0x291),_0x371c59[_0x371c59[_0x56867e(0x2d9)]=0x3]=_0x56867e(0x2d9),_0x371c59))(Ee||{});const Kt={[ge[_0x56867e(0x1fd)]]:_0x56867e(0x353),[ge['JOIN_ROOM_FULL']]:_0x56867e(0x245),[ge[_0x56867e(0x138)]]:'session.room-not-exists',[ge[_0x56867e(0x304)]]:'session.room-permission-denied',[ge[_0x56867e(0x1c9)]]:'session.room-cnt-exceeds'};let Et=class extends _0x20dae0{constructor(_0x21da17,_0x43efce,_0x2535c0,_0xd702af,_0x4cb13d,_0x6035f7,_0x89f616,_0x3e0a55,_0x3f486e){var _0x225bc7=_0x56867e;super(),N(this,_0x225bc7(0x3b4),new _0x4a662d(0x0)),N(this,'sessionStatus$',this[_0x225bc7(0x3b4)][_0x225bc7(0x111)]()),N(this,_0x225bc7(0x165),new _0x4197bc()),N(this,_0x225bc7(0x118),this[_0x225bc7(0x165)][_0x225bc7(0x111)]()),N(this,_0x225bc7(0xf9)),N(this,_0x225bc7(0x169)),N(this,_0x225bc7(0x2f2)),N(this,_0x225bc7(0xeb),!0x1),N(this,_0x225bc7(0x23b),null),(this[_0x225bc7(0x218)]=_0x21da17,this[_0x225bc7(0x320)]=_0x2535c0,this['_configService']=_0xd702af,this[_0x225bc7(0x27c)]=_0x4cb13d,this[_0x225bc7(0x107)]=_0x6035f7,this[_0x225bc7(0x21c)]=_0x89f616,this[_0x225bc7(0x26a)]=_0x3e0a55,this[_0x225bc7(0x26b)]=_0x3f486e,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x43efce[_0x225bc7(0x2f8)](_0x57c994(this[_0x225bc7(0x120)]))[_0x225bc7(0x36d)](_0x417ca6=>{var _0x48396a=_0x225bc7,_0x575b48;typeof _0x417ca6>'u'||(this[_0x48396a(0xf9)]=_0x417ca6,_0x417ca6?(this['_joinRoom'](_0x417ca6),this[_0x48396a(0x169)]=_0x417ca6[_0x48396a(0x315)][_0x48396a(0x36d)](_0x12172d=>{var _0x58fce5=_0x48396a;_0x12172d[_0x58fce5(0x2ef)]===this['_unitID']&&this[_0x58fce5(0xc1)](_0x12172d);})):(this[_0x48396a(0x214)](),this[_0x48396a(0x3b4)]['next'](0x2),(_0x575b48=this[_0x48396a(0x169)])==null||_0x575b48['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x56867e(0x202)](){var _0x15b471=_0x56867e;return this[_0x15b471(0x3b4)][_0x15b471(0x2c0)]();}[_0x56867e(0x334)](){var _0x492f9a=_0x56867e,_0x523b2b,_0x3393e7;return(_0x3393e7=(_0x523b2b=this[_0x492f9a(0xf9)])==null?void 0x0:_0x523b2b[_0x492f9a(0x2fb)])!=null?_0x3393e7:null;}['dispose'](){var _0x47eeba=_0x56867e;super[_0x47eeba(0xc4)](),this[_0x47eeba(0x120)][_0x47eeba(0x11d)](),this[_0x47eeba(0x120)][_0x47eeba(0x2e9)]();}[_0x56867e(0x39f)](){var _0x5a5a53=_0x56867e,_0x5b1174,_0x6219d8;this[_0x5a5a53(0x214)](),(_0x5b1174=this[_0x5a5a53(0xf9)])==null||_0x5b1174[_0x5a5a53(0x38c)]({'cmd':F[_0x5a5a53(0x1be)],'data':{'roomID':this[_0x5a5a53(0x218)]}}),(_0x6219d8=this[_0x5a5a53(0xf9)])==null||_0x6219d8[_0x5a5a53(0x39f)](),this['_event$'][_0x5a5a53(0x2e9)](),this[_0x5a5a53(0x3b4)][_0x5a5a53(0x2e9)](),this[_0x5a5a53(0xc4)]();}[_0x56867e(0xc1)](_0x38b526){var _0x12307e=_0x56867e;_0x38b526[_0x12307e(0x246)]===F['JOIN']?this[_0x12307e(0xca)](_0x38b526):_0x38b526[_0x12307e(0x246)]===F[_0x12307e(0x145)]&&this[_0x12307e(0x285)](_0x38b526);}['_joinRoom'](_0x1bb210){var _0x2e77dd=_0x56867e;this['_sessionStatus$'][_0x2e77dd(0x11d)](0x1),_0x1bb210['send']({'cmd':F[_0x2e77dd(0x23c)],'routeKey':this[_0x2e77dd(0x218)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2e77dd(0x218)]}]}});}[_0x56867e(0xca)](_0x5ce580){var _0x24adae=_0x56867e,_0x5095be;if(_0x5ce580[_0x24adae(0x22e)]in Kt){this[_0x24adae(0x26a)][_0x24adae(0x2a5)]({'id':re[_0x24adae(0x306)],'data':Kt[_0x5ce580[_0x24adae(0x22e)]]}),this[_0x24adae(0x3b4)]['next'](0x2);return;}this[_0x24adae(0x3b4)]['next'](0x3);const _0x1bf243=(_0x5095be=_0x5ce580[_0x24adae(0x2d4)][_0x24adae(0x1d5)][this[_0x24adae(0x218)]])==null?void 0x0:_0x5095be['members'];_0x1bf243&&_0x1bf243[_0x24adae(0x24d)](_0x30779d=>this['_memberService'][_0x24adae(0x12d)](this[_0x24adae(0x218)],_0x30779d));}[_0x56867e(0x285)](_0x4716f7){var _0x1710f8=_0x56867e;try{const _0x1e011c=_0x4716f7[_0x1710f8(0x2d4)];switch(_0x1e011c[_0x1710f8(0x2f4)]){case _0x4d037b[_0x1710f8(0x112)]:this[_0x1710f8(0x34a)](_0x1e011c),this[_0x1710f8(0x165)]['next'](_0x1e011c);break;case _0x4d037b[_0x1710f8(0x2aa)]:this[_0x1710f8(0x15e)](_0x1e011c),this[_0x1710f8(0x165)][_0x1710f8(0x11d)](_0x1e011c);break;case _0x4d037b[_0x1710f8(0x376)]:case _0x4d037b[_0x1710f8(0x3b2)]:this[_0x1710f8(0x29d)](),this['_clearCollaborationTimeoutTimer'](),this[_0x1710f8(0x165)][_0x1710f8(0x11d)](_0x1e011c);break;case _0x4d037b[_0x1710f8(0x2fa)]:this['_logService'][_0x1710f8(0x2cc)](_0x1710f8(0x146)+JSON[_0x1710f8(0x178)](_0x1e011c)),this[_0x1710f8(0x165)][_0x1710f8(0x11d)](_0x1e011c);break;case _0x4d037b[_0x1710f8(0x3a9)]:this[_0x1710f8(0x21c)]['onCommentUpdate'](_0x1e011c[_0x1710f8(0x2d4)]),this[_0x1710f8(0x165)]['next'](_0x1e011c);break;default:this[_0x1710f8(0x165)]['next'](_0x1e011c);}}catch(_0x8d501){this[_0x1710f8(0x320)][_0x1710f8(0x2cc)](_0x8d501,_0x4716f7);}}['_onUserJoin'](_0x5a18b9){var _0x26ebb6=_0x56867e;this[_0x26ebb6(0x107)]['updateMember'](this[_0x26ebb6(0x218)],_0x5a18b9[_0x26ebb6(0x2d4)]);}[_0x56867e(0x15e)](_0x5edb43){var _0xa9f388=_0x56867e;this[_0xa9f388(0x107)]['removeMember'](this[_0xa9f388(0x218)],_0x5edb43['data']['memberID']);}async[_0x56867e(0x38c)](_0x3fb866,_0x4379ab){var _0x44ae52=_0x56867e;if(this['sessionStatus']!==0x3||!this[_0x44ae52(0xf9)])throw new Error(_0x44ae52(0x33f));try{_0x3fb866[_0x44ae52(0x2f4)]===_0x4d037b[_0x44ae52(0xe2)]&&(this[_0x44ae52(0x30b)](),this[_0x44ae52(0x269)](_0x3fb866)),this['_socket'][_0x44ae52(0x38c)]({'cmd':F[_0x44ae52(0x164)],'routeKey':_0x4379ab,'routeType':'','data':_0x3fb866});}catch(_0x1aa98b){this[_0x44ae52(0x320)][_0x44ae52(0x2cc)](_0x1aa98b);}}[_0x56867e(0x30b)](){var _0x34cd33=_0x56867e,_0x40097f;this[_0x34cd33(0x2f2)]=setTimeout(()=>{var _0x3b710b=_0x34cd33;this['_collaborationTimeoutTimer']=null,this[_0x3b710b(0x26a)][_0x3b710b(0x2a5)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x40097f=this[_0x34cd33(0x337)][_0x34cd33(0x2ae)](mi))!=null?_0x40097f:gi);}[_0x56867e(0x1e6)](){var _0xc631a3=_0x56867e;this[_0xc631a3(0x2f2)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xc631a3(0x2f2)]=null);}[_0x56867e(0x269)](_0x20d84a){var _0x1da0c5=_0x56867e;if(!this['_shouldReportTelemetry'])return;const {data:_0xee3a81}=_0x20d84a,{unitID:_0x1aaecb,changeset:_0x3453c2}=_0xee3a81,{mutations:_0x5624b6,type:_0x1439ba}=_0x3453c2;this['_telemetryInfo']={'unitId':_0x1aaecb,'type':_0x1439ba,'startTime':performance[_0x1da0c5(0x22f)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x5624b6)};}[_0x56867e(0x29d)](){var _0x4eb2a9=_0x56867e;if(this['_shouldReportTelemetry']){if(!this[_0x4eb2a9(0x23b)]){this[_0x4eb2a9(0x320)]['error'](_0x4eb2a9(0x14a),_0x4eb2a9(0x137));return;}this[_0x4eb2a9(0x23b)]['stopTime']=performance[_0x4eb2a9(0x22f)](),this[_0x4eb2a9(0x23b)][_0x4eb2a9(0x322)]=this[_0x4eb2a9(0x23b)]['stopTime']-this['_telemetryInfo']['startTime'],this[_0x4eb2a9(0x26b)][_0x4eb2a9(0x166)](Hn,this[_0x4eb2a9(0x23b)]),this[_0x4eb2a9(0x23b)]=null;}}[_0x56867e(0x214)](){var _0x524a4c=_0x56867e;this[_0x524a4c(0x23b)]=null;}};Et=Wn([me(0x2,_0x2bb004),me(0x3,_0x32a746),me(0x4,_0x4e750e(_0x54986a)),me(0x5,_0x4e750e(Le)),me(0x6,_0x4e750e(Ti)),me(0x7,_0x4e750e(pe)),me(0x8,_0x5e16b2(_0x3f5ebf))],Et);var Kn=Object[_0x56867e(0x190)],Yn=(_0x53c2ed,_0x25bd9c,_0x380965,_0x2d9ba6)=>{var _0x514e93=_0x56867e;for(var _0x443bca=_0x2d9ba6>0x1?void 0x0:_0x2d9ba6?Kn(_0x25bd9c,_0x380965):_0x25bd9c,_0x5a08f5=_0x53c2ed[_0x514e93(0x2b6)]-0x1,_0x5baebf;_0x5a08f5>=0x0;_0x5a08f5--)(_0x5baebf=_0x53c2ed[_0x5a08f5])&&(_0x443bca=_0x5baebf(_0x443bca)||_0x443bca);return _0x443bca;},be=(_0x378b01,_0xd89d59)=>(_0x40e495,_0x59aa84)=>_0xd89d59(_0x40e495,_0x59aa84,_0x378b01);let xe=class extends _0x12dfc4{constructor(_0x346521,_0x13b695,_0x190bdd,_0x440a86,_0x111d0d,_0x4ae831){var _0x50dc7a=_0x56867e;super(),N(this,_0x50dc7a(0x360),new _0x4a662d(void 0x0)),N(this,'socket$',this[_0x50dc7a(0x360)][_0x50dc7a(0x111)]()),N(this,'_candidateSocket',null),N(this,_0x50dc7a(0x388),new Map()),N(this,_0x50dc7a(0x2bc),new _0x4a662d(Ee[_0x50dc7a(0x252)])),N(this,_0x50dc7a(0x336),this[_0x50dc7a(0x2bc)][_0x50dc7a(0x111)]()),N(this,_0x50dc7a(0x309),!0x1),N(this,_0x50dc7a(0x396)),N(this,_0x50dc7a(0x21e),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x50dc7a(0x35d)),(this['_injector']=_0x346521,this[_0x50dc7a(0x320)]=_0x13b695,this[_0x50dc7a(0x337)]=_0x190bdd,this['_socketService']=_0x440a86,this[_0x50dc7a(0x26a)]=_0x111d0d,this['_networkConditionService']=_0x4ae831,this[_0x50dc7a(0x17f)]());}get[_0x56867e(0xf9)](){var _0x348080=_0x56867e;return this[_0x348080(0x360)][_0x348080(0x2c0)]();}[_0x56867e(0x17f)](){var _0x19fda2=_0x56867e;this[_0x19fda2(0x358)]&&this[_0x19fda2(0xe7)](this['_networkConditionService'][_0x19fda2(0x380)][_0x19fda2(0x36d)](_0x2f4ea3=>{var _0x26ad5b=_0x19fda2;_0x2f4ea3&&!this[_0x26ad5b(0xf9)]&&this[_0x26ad5b(0x3a2)](),_0x2f4ea3||this[_0x26ad5b(0x265)]();}));}['dispose'](){var _0x50d53d=_0x56867e;super['dispose'](),this[_0x50d53d(0x183)](),this[_0x50d53d(0x2ed)](),this['_clearHeartbeatTimer'](),this[_0x50d53d(0x388)]['forEach'](_0x507120=>_0x507120[_0x50d53d(0xc4)]()),this['_sessions']['clear'](),this[_0x50d53d(0x2bc)][_0x50d53d(0x2e9)]();}async[_0x56867e(0x136)](_0x3aa2e9){var _0x324ad9=_0x56867e;if(this[_0x324ad9(0x388)][_0x324ad9(0x2d8)](_0x3aa2e9))return this['_sessions'][_0x324ad9(0x39e)](_0x3aa2e9);this[_0x324ad9(0x2d2)]();const _0xd02aa1=this['_injector'][_0x324ad9(0x28d)](Et,_0x3aa2e9,this[_0x324ad9(0x360)]['asObservable']());return this[_0x324ad9(0x388)][_0x324ad9(0x26d)](_0x3aa2e9,_0xd02aa1),_0xd02aa1;}['closeSession'](_0x2167c6){var _0x3f1dd7=_0x56867e,_0x232012;const _0x361fb0=this[_0x3f1dd7(0x388)]['get'](_0x2167c6);_0x361fb0&&(this[_0x3f1dd7(0x388)][_0x3f1dd7(0x312)](_0x2167c6),_0x361fb0[_0x3f1dd7(0x39f)]()),this['_sessions'][_0x3f1dd7(0x363)]||(_0x232012=this[_0x3f1dd7(0xf9)])==null||_0x232012[_0x3f1dd7(0x39f)]();}[_0x56867e(0x3a2)](){var _0x2fec4e=_0x56867e;this[_0x2fec4e(0x21e)]=0x0,this[_0x2fec4e(0x183)](),this[_0x2fec4e(0x301)]();}[_0x56867e(0x183)](){var _0x5ef92a=_0x56867e;this[_0x5ef92a(0x396)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x5ef92a(0x396)]=null);}async[_0x56867e(0x33a)](){var _0x242d6d=_0x56867e,_0x4b5974,_0x431893;const _0x4f933a=this[_0x242d6d(0x337)][_0x242d6d(0x2ae)](In),_0x1c28b2=this[_0x242d6d(0x337)]['getConfig'](q),_0x28b5de=(_0x431893=(_0x4b5974=_0x1c28b2==null?void 0x0:_0x1c28b2[_0x242d6d(0x283)])!=null?_0x4b5974:_0x4f933a)!=null?_0x431893:Tn,_0x1617b1=await this[_0x242d6d(0xf5)][_0x242d6d(0x189)](_0x28b5de);return this[_0x242d6d(0x16b)]=_0x1617b1,_0x1617b1;}async['_tryEnsureSocket'](){var _0x4bc4f4=_0x56867e,_0x2d6776,_0x5e7657;try{const _0xb79176=(_0x5e7657=(_0x2d6776=this[_0x4bc4f4(0xf9)])!=null?_0x2d6776:this[_0x4bc4f4(0x16b)])!=null?_0x5e7657:await this[_0x4bc4f4(0x33a)]();if(_0xb79176){const _0x283a1c=_0xb79176[_0x4bc4f4(0x38c)];_0xb79176[_0x4bc4f4(0x38c)]=_0x6307fe=>(this[_0x4bc4f4(0x1fb)](),_0x283a1c[_0x4bc4f4(0x1fc)](_0xb79176,[_0x6307fe])),_0xb79176[_0x4bc4f4(0x315)][_0x4bc4f4(0x36d)](_0x36f28c=>this[_0x4bc4f4(0x147)](_0xb79176,_0x36f28c)),_0xb79176[_0x4bc4f4(0x140)]['pipe'](_0x1ecce6(0x1))[_0x4bc4f4(0x36d)](_0x321c6b=>this['_logService']['error']('[CollaborationSessionService]:\x20socket\x20error',_0x321c6b)),_0xb79176[_0x4bc4f4(0x2c7)]['pipe'](_0x1ecce6(0x1))[_0x4bc4f4(0x36d)](()=>{var _0x39026a=_0x4bc4f4;this[_0x39026a(0x2f6)](_0xb79176);}),_0xb79176['close$'][_0x4bc4f4(0x2f8)](_0x1ecce6(0x1))['subscribe'](_0x56113f=>{var _0x23b16c=_0x4bc4f4;this[_0x23b16c(0x320)][_0x23b16c(0x14e)](_0x23b16c(0x16f),_0x23b16c(0x15f),_0x56113f),this[_0x23b16c(0x36f)]();});}}catch(_0x30287e){this[_0x4bc4f4(0x320)]['error'](_0x30287e),this[_0x4bc4f4(0x36f)]();}}[_0x56867e(0x2f6)](_0x1ea713){var _0x27df7e=_0x56867e;this['_logService'][_0x27df7e(0x14e)](_0x27df7e(0x16f),_0x27df7e(0x3a7)),_0x1ea713[_0x27df7e(0x38c)]({'cmd':F[_0x27df7e(0xf7)]}),this[_0x27df7e(0x1fb)]();}[_0x56867e(0x265)](){var _0xf55e02=_0x56867e;this[_0xf55e02(0x309)]=!0x1,this[_0xf55e02(0x16b)]=null,this[_0xf55e02(0x2bc)][_0xf55e02(0x11d)](Ee[_0xf55e02(0x291)]),this[_0xf55e02(0x360)][_0xf55e02(0x11d)](null),this[_0xf55e02(0x2ed)](),this[_0xf55e02(0x20f)]();}['_onConnectionFailed'](){var _0x3b82f8=_0x56867e,_0x3f7fd2;this[_0x3b82f8(0x265)](),this[_0x3b82f8(0x21e)]<((_0x3f7fd2=this['_configService'][_0x3b82f8(0x2ae)](On))!=null?_0x3f7fd2:yn)?(this[_0x3b82f8(0x26a)][_0x3b82f8(0x2a5)]({'id':re['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x3b82f8(0x26a)][_0x3b82f8(0x2a5)]({'id':re['SOCKET_FAILED']});}[_0x56867e(0x301)](){var _0x700250=_0x56867e,_0x3c40db;const _0x385504=this['_retryCount'],_0x655b45=this[_0x700250(0x337)][_0x700250(0x2ae)](q),_0x52cb22=_0x385504===0x0?0x0:((_0x3c40db=_0x655b45==null?void 0x0:_0x655b45[_0x700250(0x14f)])!=null?_0x3c40db:bn)*0x2**_0x385504;this[_0x700250(0x396)]=setTimeout(()=>{var _0xdc9bf6=_0x700250;clearTimeout(this['_retryConnectingTimer']),this[_0xdc9bf6(0x396)]=null,this[_0xdc9bf6(0x2d2)]();},_0x52cb22),this[_0x700250(0x21e)]+=0x1;}[_0x56867e(0x147)](_0x53b28a,_0x27a694){var _0x12d5ea=_0x56867e;const {cmd:_0x23057c}=_0x27a694;_0x23057c===F[_0x12d5ea(0xf7)]&&!this[_0x12d5ea(0x309)]&&(_0x53b28a['memberID']=_0x27a694[_0x12d5ea(0x2d4)][_0x12d5ea(0x2fb)],this[_0x12d5ea(0x360)]['next'](_0x53b28a),this[_0x12d5ea(0x2bc)]['next'](Ee[_0x12d5ea(0x2d9)]),this[_0x12d5ea(0x309)]=!0x0,this[_0x12d5ea(0x16b)]=null),_0x23057c===F[_0x12d5ea(0x2a8)]&&this[_0x12d5ea(0x2ed)](),this[_0x12d5ea(0x1fb)]();}[_0x56867e(0x1fb)](){var _0x347a91=_0x56867e,_0x19c5c2;this[_0x347a91(0x20f)](),this[_0x347a91(0x2fc)]=setTimeout(()=>this[_0x347a91(0x1e9)](),(_0x19c5c2=this[_0x347a91(0x337)][_0x347a91(0x2ae)](Cn))!=null?_0x19c5c2:Rn);}[_0x56867e(0x1e9)](){var _0x16526d=_0x56867e;this[_0x16526d(0xf9)][_0x16526d(0x38c)]({'cmd':F[_0x16526d(0x2a8)]}),this['_waitForHeartbeatResponse']();}[_0x56867e(0x1fa)](){var _0x1ee4dc=_0x56867e,_0x42d943;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x42d943=this[_0x1ee4dc(0x337)][_0x1ee4dc(0x2ae)](mi))!=null?_0x42d943:gi);}[_0x56867e(0x20f)](){var _0x17d4ef=_0x56867e;this[_0x17d4ef(0x2fc)]!=null&&(clearTimeout(this[_0x17d4ef(0x2fc)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x2ae337=_0x56867e;this[_0x2ae337(0x35d)]!=null&&(clearTimeout(this[_0x2ae337(0x35d)]),this[_0x2ae337(0x35d)]=null);}};xe=Yn([be(0x0,_0x4e750e(_0x72784b)),be(0x1,_0x2bb004),be(0x2,_0x32a746),be(0x3,Ii),be(0x4,_0x4e750e(pe)),be(0x5,_0x5e16b2(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x56867e(0x262)]((t+0x100)[_0x56867e(0x276)](0x10)['slice'](0x1));function qn(_0x4a23a0,_0x4ab326=0x0){return(V[_0x4a23a0[_0x4ab326+0x0]]+V[_0x4a23a0[_0x4ab326+0x1]]+V[_0x4a23a0[_0x4ab326+0x2]]+V[_0x4a23a0[_0x4ab326+0x3]]+'-'+V[_0x4a23a0[_0x4ab326+0x4]]+V[_0x4a23a0[_0x4ab326+0x5]]+'-'+V[_0x4a23a0[_0x4ab326+0x6]]+V[_0x4a23a0[_0x4ab326+0x7]]+'-'+V[_0x4a23a0[_0x4ab326+0x8]]+V[_0x4a23a0[_0x4ab326+0x9]]+'-'+V[_0x4a23a0[_0x4ab326+0xa]]+V[_0x4a23a0[_0x4ab326+0xb]]+V[_0x4a23a0[_0x4ab326+0xc]]+V[_0x4a23a0[_0x4ab326+0xd]]+V[_0x4a23a0[_0x4ab326+0xe]]+V[_0x4a23a0[_0x4ab326+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x22bbc5=_0x56867e;if(!ut){if(typeof crypto>'u'||!crypto[_0x22bbc5(0x362)])throw new Error(_0x22bbc5(0x219));ut=crypto[_0x22bbc5(0x362)][_0x22bbc5(0x156)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x56867e(0x177)]['bind'](crypto),Yt={'randomUUID':Xn};function Zn(_0x129fc6,_0x410a73,_0x463cb4){var _0x51eea1=_0x56867e,_0x1c0ff7,_0x240d09,_0x300f2c;if(Yt[_0x51eea1(0x177)]&&!_0x129fc6)return Yt['randomUUID']();_0x129fc6=_0x129fc6||{};const _0x319afb=(_0x300f2c=(_0x240d09=_0x129fc6['random'])!=null?_0x240d09:(_0x1c0ff7=_0x129fc6['rng'])==null?void 0x0:_0x1c0ff7[_0x51eea1(0xfa)](_0x129fc6))!=null?_0x300f2c:Jn();if(_0x319afb['length']<0x10)throw new Error(_0x51eea1(0x1e1));return _0x319afb[0x6]=_0x319afb[0x6]&0xf|0x40,_0x319afb[0x8]=_0x319afb[0x8]&0x3f|0x80,qn(_0x319afb);}const J=_0x365cf2(_0x56867e(0x2cf));function Br(_0x24234f){return'unit-cache-'+_0x24234f;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x233d08,_0x517df7,_0xc41848,_0x25faed)=>{for(var _0x3a6a83=_0x25faed>0x1?void 0x0:_0x25faed?Qn(_0x517df7,_0xc41848):_0x517df7,_0x269c2c=_0x233d08['length']-0x1,_0xd166aa;_0x269c2c>=0x0;_0x269c2c--)(_0xd166aa=_0x233d08[_0x269c2c])&&(_0x3a6a83=_0xd166aa(_0x3a6a83)||_0x3a6a83);return _0x3a6a83;},dt=(_0x205f0b,_0x22c5ee)=>(_0xc4cede,_0x3fd176)=>_0x22c5ee(_0xc4cede,_0x3fd176,_0x205f0b);function ts(_0xaf1bd5){var _0x4fdce9=_0x56867e;const {unitID:_0x496f72,mutations:_0x235ea6}=_0xaf1bd5;return{'unitId':_0x496f72,'subUnitId':_0x235ea6[0x0][_0x4fdce9(0x292)][_0x4fdce9(0x216)]};}let it=class{constructor(_0x2ac27b,_0x2cb404,_0x1a9b51){var _0x3f9c20=_0x56867e;this[_0x3f9c20(0x1b9)]=_0x2ac27b,this[_0x3f9c20(0x127)]=_0x2cb404,this[_0x3f9c20(0x316)]=_0x1a9b51;}[_0x56867e(0x1db)](_0x293ad0){var _0x1087ca=_0x56867e,_0x1fbdec,_0x57a717,_0x15fed8,_0x34a9e9;const _0x47dd42=this[_0x1087ca(0x1b9)][_0x1087ca(0x39e)](_0x35fc12),{unitId:_0x594968,subUnitId:_0x449af0}=ts(_0x293ad0),_0x330d7e=_0x47dd42==null?void 0x0:_0x47dd42[_0x1087ca(0x1b8)](_0x594968)['getCurrentSelections'](),_0x29c043=(_0x57a717=(_0x1fbdec=this[_0x1087ca(0x316)]['getUnit'](_0x594968))==null?void 0x0:_0x1fbdec[_0x1087ca(0x1bd)]())==null?void 0x0:_0x57a717[_0x1087ca(0x103)]();if(_0x330d7e[_0x1087ca(0x2b6)]===0x0||!_0x594968||!_0x449af0)return;const _0xe7ee05=[{'id':_0x2a034d['id'],'params':{'unitId':_0x594968,'subUnitId':_0x29c043,'selections':_0x260258[_0x1087ca(0x2bb)](_0x330d7e)}}],_0x111622=this[_0x1087ca(0x127)]['transformMutationsWithChangeset'](_0x293ad0,_0xe7ee05);if(!_0x4f40f6(_0x111622))throw _0x111622['error'];const _0x1b3da0=(_0x34a9e9=(_0x15fed8=_0x111622[_0x1087ca(0x2f5)][0x0])==null?void 0x0:_0x15fed8[_0x1087ca(0x292)])==null?void 0x0:_0x34a9e9['selections'];if(Array[_0x1087ca(0x217)](_0x1b3da0)&&_0x1b3da0[_0x1087ca(0x2b6)]){if(_0x1b3da0[_0x1087ca(0x2b6)]===_0xe7ee05[0x0][_0x1087ca(0x292)][_0x1087ca(0x117)][_0x1087ca(0x2b6)]&&_0x1b3da0[_0x1087ca(0x143)]((_0x17a113,_0x3df753)=>_0x54ddbf[_0x1087ca(0x38d)](_0x17a113[_0x1087ca(0x359)],_0xe7ee05[0x0]['params'][_0x1087ca(0x117)][_0x3df753][_0x1087ca(0x359)])))return;this[_0x1087ca(0x1b9)][_0x1087ca(0x39e)](_0x2bf2a0)[_0x1087ca(0xbd)](_0x2a034d['id'],{'unitId':_0x594968,'subUnitId':_0x29c043,'selections':_0x1b3da0});}}};it=es([dt(0x0,_0x4e750e(_0x72784b)),dt(0x1,_0x1258ff),dt(0x2,_0x37d76b)],it);const ht=_0x365cf2(_0x56867e(0x1a4));var Ci=(_0x14bcc3=>(_0x14bcc3[_0x14bcc3['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x14bcc3[_0x14bcc3[_0x56867e(0x21d)]=0x1]=_0x56867e(0x21d),_0x14bcc3))(Ci||{});const is=new Set([_0x3cecac['id']]);function qt(_0x2361af,_0x1854ed,_0x38de52,_0xa41467,_0x534b0f){var _0x3ca4d7=_0x56867e,_0x49e082,_0x13c2c2,_0x4a3487,_0x13b6f8;const _0x17d10a=[];for(const _0x1453b5 of _0x2361af)if(is['has'](_0x1453b5['id'])){if(_0x17d10a[_0x3ca4d7(0x2b6)]>0x0)break;_0x17d10a[_0x3ca4d7(0x262)](_0x1453b5);break;}else _0x17d10a[_0x3ca4d7(0x262)](_0x1453b5);const _0x2020a9=(_0x13c2c2=(_0x49e082=_0x534b0f[_0x3ca4d7(0x286)]())==null?void 0x0:_0x49e082[_0x3ca4d7(0x18a)])!=null?_0x13c2c2:'unknown',_0x1f6c3d=(_0x13b6f8=(_0x4a3487=_0x534b0f['getCurrentUser']())==null?void 0x0:_0x4a3487[_0x3ca4d7(0x2fb)])!=null?_0x13b6f8:_0x3ca4d7(0x2db);return{'changeset':{'unitID':_0x1854ed,'type':_0x1d382b(_0x38de52[_0x3ca4d7(0x1b0)](_0x1854ed)),'baseRev':_0xa41467[_0x3ca4d7(0x100)](_0x1854ed),'revision':0x0,'userID':_0x2020a9,'memberID':_0x1f6c3d,'mutations':_0x17d10a},'pendingMutations':_0x2361af[_0x3ca4d7(0x2f0)](_0x17d10a[_0x3ca4d7(0x2b6)])};}function ns(_0x18434b,_0x29e799,_0x44098e,_0x1ba40b,_0x5c4d8a){var _0x47be5c=_0x56867e,_0x29aa00,_0x240931,_0x2cff2e,_0x10421a;const _0x49dbac=[_0x18434b['reduce']((_0x86f598,_0x432b66)=>{var _0x4cdedf=_0x44f8,_0x183bbf;const {id:_0x4223c5}=_0x86f598,{id:_0x4295d3,type:_0x5351ae}=_0x432b66,_0x560eeb=(_0x183bbf=_0x86f598[_0x4cdedf(0x292)])!=null?_0x183bbf:{'actions':null},_0x599464=_0x432b66[_0x4cdedf(0x292)];if(_0x4223c5&&_0x4223c5!==_0x4295d3)throw new Error(_0x4cdedf(0xcc)+_0x4223c5+_0x4cdedf(0x132)+_0x4295d3+'.');return{..._0x86f598,'id':_0x4295d3,'type':_0x5351ae,'params':{'unitId':_0x599464[_0x4cdedf(0x2a7)],'textRanges':_0x599464[_0x4cdedf(0x1e7)],'actions':_0x537478['compose'](_0x560eeb[_0x4cdedf(0x377)],_0x599464[_0x4cdedf(0x377)])}};},{})],_0x182a07=(_0x240931=(_0x29aa00=_0x5c4d8a[_0x47be5c(0x286)]())==null?void 0x0:_0x29aa00[_0x47be5c(0x18a)])!=null?_0x240931:_0x47be5c(0x2db),_0x1bf808=(_0x10421a=(_0x2cff2e=_0x5c4d8a['getCurrentUser']())==null?void 0x0:_0x2cff2e[_0x47be5c(0x2fb)])!=null?_0x10421a:_0x47be5c(0x2db);return{'changeset':{'unitID':_0x29e799,'type':_0x1d382b(_0x44098e[_0x47be5c(0x1b0)](_0x29e799)),'baseRev':_0x1ba40b[_0x47be5c(0x100)](_0x29e799),'revision':0x0,'userID':_0x182a07,'memberID':_0x1bf808,'mutations':_0x49dbac},'pendingMutations':[]};}function Ri(_0x32dc37,_0xbfefe6){var _0x21bcb5=_0x56867e;const _0x449ed9=new _0x392a31(0x1);return setTimeout(()=>_0x449ed9[_0x21bcb5(0x11d)](_0xbfefe6),_0x32dc37),_0x449ed9[_0x21bcb5(0x111)]()[_0x21bcb5(0x2f8)](_0x3fc4c2(0x1));}const ss={'id':_0x3d59de['id'],'type':_0xa314af[_0x56867e(0x1ac)],'params':{}};var rs=Object[_0x56867e(0x190)],Te=(_0x437770,_0x2adea3,_0x41a1d4,_0x3f2e7b)=>{var _0x6cf913=_0x56867e;for(var _0x3d0441=_0x3f2e7b>0x1?void 0x0:_0x3f2e7b?rs(_0x2adea3,_0x41a1d4):_0x2adea3,_0x10446f=_0x437770[_0x6cf913(0x2b6)]-0x1,_0x1d48a8;_0x10446f>=0x0;_0x10446f--)(_0x1d48a8=_0x437770[_0x10446f])&&(_0x3d0441=_0x1d48a8(_0x3d0441)||_0x3d0441);return _0x3d0441;},P=(_0x48c979,_0x1e8b52)=>(_0xc14b1,_0x529a3a)=>_0x1e8b52(_0xc14b1,_0x529a3a,_0x48c979),bi=(_0x491fc9=>(_0x491fc9[_0x56867e(0x33d)]=_0x56867e(0x213),_0x491fc9['SYNCED']=_0x56867e(0x182),_0x491fc9['PENDING']=_0x56867e(0x39b),_0x491fc9[_0x56867e(0x2b1)]=_0x56867e(0x199),_0x491fc9['AWAITING_WITH_PENDING']=_0x56867e(0x281),_0x491fc9[_0x56867e(0x124)]='fetch_missing',_0x491fc9[_0x56867e(0x128)]=_0x56867e(0x22b),_0x491fc9[_0x56867e(0x291)]='offline',_0x491fc9))(bi||{});const Oi=0xea60;class Ce{constructor(_0x29b40a,_0x81c2bb,_0x14956d,_0x3c58e3,_0x385b27,_0x326d11,_0x154c15,_0x2c6a90,_0x4ecb32){var _0x1dcef1=_0x56867e;N(this,_0x1dcef1(0x379),null),N(this,'_pendingMutations',[]),(this[_0x1dcef1(0x1ba)]=_0x29b40a,this[_0x1dcef1(0xc3)]=_0x81c2bb,this[_0x1dcef1(0x123)]=_0x385b27,this[_0x1dcef1(0x289)]=_0x326d11,this[_0x1dcef1(0x307)]=_0x154c15,this[_0x1dcef1(0xdc)]=_0x2c6a90,this['_localCacheService']=_0x4ecb32,this[_0x1dcef1(0x379)]=_0x14956d,this['_pendingMutations']=_0x3c58e3);}[_0x56867e(0x17e)](_0x371c58){var _0x15022a=_0x56867e;const _0x39e0a5=this['_revisionService'][_0x15022a(0x100)](this['unitID']);return _0x371c58['revision']>_0x39e0a5+0x1?(this[_0x15022a(0x123)]['onMissingChangesets']({'from':_0x39e0a5,'to':_0x371c58[_0x15022a(0x203)]-0x1}),!0x0):!0x1;}[_0x56867e(0x394)](_0x589427){var _0x17610c=_0x56867e;this['_undoRedoService']['transformUndoRedo'](this[_0x17610c(0x1ba)],_0x589427);}[_0x56867e(0x332)](_0x3fd527){var _0x468492=_0x56867e,_0x39b966,_0x36fbe9;(_0x36fbe9=(_0x39b966=this[_0x468492(0x123)])['onTransformSelections'])==null||_0x36fbe9[_0x468492(0xfa)](_0x39b966,_0x3fd527);}[_0x56867e(0x27a)](_0x44afe1){var _0x3edd7e=_0x56867e,_0xc29e5,_0x34fdb6;return(_0x34fdb6=(_0xc29e5=this[_0x3edd7e(0x123)])['onTransformIME'])==null?void 0x0:_0x34fdb6[_0x3edd7e(0xfa)](_0xc29e5,_0x44afe1);}['_transformStateCache'](_0x1d17c6){var _0x5e61fa=_0x56867e,_0x909ffe,_0x500e62;return(_0x500e62=(_0x909ffe=this[_0x5e61fa(0x123)])['onTransformState'])==null?void 0x0:_0x500e62[_0x5e61fa(0xfa)](_0x909ffe,_0x1d17c6);}[_0x56867e(0x12c)](_0xcafc3e){var _0x52ae68=_0x56867e,_0x2b9606,_0xc5d5e0,_0x25a610;return(_0x25a610=(_0xc5d5e0=(_0x2b9606=this[_0x52ae68(0x123)])[_0x52ae68(0x204)])==null?void 0x0:_0xc5d5e0[_0x52ae68(0xfa)](_0x2b9606,_0xcafc3e))!=null?_0x25a610:_0xcafc3e;}[_0x56867e(0x196)](_0x5b0b1c){var _0x113f29=_0x56867e,_0x53885f,_0x25f157,_0x3d1b3b;return(_0x3d1b3b=(_0x25f157=(_0x53885f=this[_0x113f29(0x123)])[_0x113f29(0x2f9)])==null?void 0x0:_0x25f157[_0x113f29(0xfa)](_0x53885f,_0x5b0b1c))!=null?_0x3d1b3b:_0x5b0b1c;}['_syncEditingCollabCursor'](_0x4f9c18){var _0x2c5376=_0x56867e,_0xa9df0f,_0x58e6af;if(this[_0x2c5376(0xc3)]===Q[_0x2c5376(0x2fd)]){const {unitID:_0x5c5791,mutations:_0x215174,memberID:_0x918e80}=_0x4f9c18,_0x4df606=_0x215174[0x0][_0x2c5376(0x292)][_0x2c5376(0x1e7)];Array[_0x2c5376(0x217)](_0x4df606)&&_0x4df606[_0x2c5376(0x2b6)]>0x0&&((_0x58e6af=(_0xa9df0f=this[_0x2c5376(0x123)])['onSyncEditingCollabCursor'])==null||_0x58e6af['call'](_0xa9df0f,{'unitID':_0x5c5791,'memberID':_0x918e80,'textRanges':_0x4df606}));}}[_0x56867e(0x15d)](){var _0x206444=_0x56867e,_0x37d3e2;(_0x37d3e2=this[_0x206444(0x319)])==null||_0x37d3e2[_0x206444(0x34f)](this[_0x206444(0x1ba)],this['type'],this[_0x206444(0x379)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x4c0511=_0x56867e;return this[_0x4c0511(0xdc)][_0x4c0511(0x100)](this['unitID']);}['_incrementRevisionNumber'](){var _0xf5203=_0x56867e;this['_revisionService']['incrementRevOfUnit'](this[_0xf5203(0x1ba)]);}['_executeRemoteChangeset'](_0x111572){var _0x4bf426=_0x56867e,_0x22f745;let _0x2c9e04=this[_0x4bf426(0x12c)](_0x111572);_0x2c9e04=this[_0x4bf426(0x196)](_0x2c9e04);const _0x58b9d7=_0x28cf88(_0x2c9e04[_0x4bf426(0x12a)],this[_0x4bf426(0x289)],{'fromCollab':!0x0});if(!_0x58b9d7[_0x4bf426(0xee)])throw _0x58b9d7[_0x4bf426(0x2cc)]instanceof Error?_0x58b9d7['error']:new Error((_0x22f745=_0x58b9d7[_0x4bf426(0x2cc)])!=null?_0x22f745:'[CollaborationState]:\x20apply\x20error!');this[_0x4bf426(0x27a)](_0x2c9e04),this[_0x4bf426(0x10e)](_0x2c9e04),this[_0x4bf426(0x394)](_0x111572),this[_0x4bf426(0x332)](_0x2c9e04),this['_syncEditingCollabCursor'](_0x2c9e04),this[_0x4bf426(0x2a0)]();}}let Ne=class extends Ce{constructor(_0x40ac03,_0x408dcd,_0x460dfb,_0x5386a3,_0x2ebdaa,_0x2fafaf,_0x424457,_0x25facc,_0x174434,_0x253a25){var _0x14464b=_0x56867e;super(_0x40ac03,_0x408dcd,null,[],_0x460dfb,_0x424457,_0x2fafaf,_0x5386a3,_0x253a25),N(this,_0x14464b(0x35f),_0x14464b(0x182)),(this[_0x14464b(0x1b9)]=_0x2ebdaa,this[_0x14464b(0x320)]=_0x25facc,this['_transformService']=_0x174434,this['localCacheService']=_0x253a25);}[_0x56867e(0x162)](_0x49b0f4){var _0x39fbd1=_0x56867e;const _0x38cae3=this[_0x39fbd1(0x1b9)][_0x39fbd1(0x28d)](ae,this[_0x39fbd1(0x1ba)],this[_0x39fbd1(0xc3)],[_0x49b0f4],this['_handler']);return _0x38cae3[_0x39fbd1(0x2da)](),_0x38cae3[_0x39fbd1(0x15d)](),_0x38cae3;}[_0x56867e(0x373)](_0x3348d9){var _0x203943=_0x56867e;if(this[_0x203943(0x17e)](_0x3348d9))return this[_0x203943(0x1b9)][_0x203943(0x28d)](ee,this[_0x203943(0x1ba)],this[_0x203943(0xc3)],null,[],null,[_0x3348d9],this[_0x203943(0x123)]);try{const _0x2c3cc3=this[_0x203943(0x127)][_0x203943(0x1a9)](_0x3348d9,[ss]);if(_0x4f40f6(_0x2c3cc3)){const {c1Prime:_0x291109}=_0x2c3cc3;return this['_executeRemoteChangeset'](_0x291109),this;}throw _0x2c3cc3[_0x203943(0x2cc)];}catch(_0x90726b){return this[_0x203943(0x320)][_0x203943(0x2cc)](_0x90726b),this[_0x203943(0x2c4)](!0x1);}}[_0x56867e(0x2c4)](_0xb96717){var _0x3a7a91=_0x56867e;return this[_0x3a7a91(0x1b9)][_0x3a7a91(0x28d)](ue,this[_0x3a7a91(0x1ba)],this[_0x3a7a91(0xc3)],null,[],this[_0x3a7a91(0x123)],_0xb96717);}[_0x56867e(0x1c0)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x56867e(0x28c)](){var _0x3d9205=_0x56867e;throw new Error(_0x3d9205(0x392));}[_0x56867e(0x2d5)](){return this;}[_0x56867e(0xd2)](){var _0x119716=_0x56867e;return this['_injector']['createInstance'](de,this['unitID'],this[_0x119716(0xc3)],null,[],this[_0x119716(0x123)]);}['toggleOnline'](){return this;}[_0x56867e(0x295)](){var _0x5c01c=_0x56867e;throw new Error(_0x5c01c(0x1c5));}[_0x56867e(0x105)](){var _0x1c0228=_0x56867e;const _0x1a9769=this['_revisionService'][_0x1c0228(0x100)](this['unitID']);return this[_0x1c0228(0x123)][_0x1c0228(0x313)]({'from':_0x1a9769,'to':0x0}),this[_0x1c0228(0x1b9)]['createInstance'](ee,this[_0x1c0228(0x1ba)],this[_0x1c0228(0xc3)],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x4e750e(_0x4897ad)),P(0x4,_0x4e750e(_0x72784b)),P(0x5,_0x553d9a),P(0x6,_0x2bf2a0),P(0x7,_0x2bb004),P(0x8,_0x1258ff),P(0x9,_0x5e16b2(J))],Ne);let ae=class extends Ce{constructor(_0x567e06,_0x4fd732,_0x5207d4,_0x3f5753,_0x979fc0,_0x5e191b,_0x43846b,_0xfa6c25,_0x4a8311,_0x58a750,_0x3adb98,_0x1d9638,_0x5b36ec,_0x36c361){var _0x23f8c0=_0x56867e;super(_0x567e06,_0x4fd732,null,_0x5207d4,_0x3f5753,_0x4a8311,_0x5b36ec,_0x5e191b,_0x36c361),N(this,_0x23f8c0(0x35f),_0x23f8c0(0x39b)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x23f8c0(0xe5),null),(this[_0x23f8c0(0x1b9)]=_0x979fc0,this[_0x23f8c0(0x107)]=_0x43846b,this[_0x23f8c0(0x320)]=_0xfa6c25,this[_0x23f8c0(0x337)]=_0x58a750,this[_0x23f8c0(0x127)]=_0x3adb98,this[_0x23f8c0(0x230)]=_0x1d9638);}[_0x56867e(0x162)](_0x5c2b4a){var _0x327bcf=_0x56867e;return this['_pendingMutations'][_0x327bcf(0x262)](_0x5c2b4a),this['_updateLocalCache'](),this;}[_0x56867e(0x373)](_0x16104f){var _0x4c202e=_0x56867e;if(this['_checkMissing'](_0x16104f))return this['_clearScheduledTask'](),this[_0x4c202e(0x1b9)][_0x4c202e(0x28d)](ee,this[_0x4c202e(0x1ba)],this[_0x4c202e(0xc3)],null,this[_0x4c202e(0x1c2)],null,[_0x16104f],this[_0x4c202e(0x123)]);try{const _0x24e277=this[_0x4c202e(0x127)][_0x4c202e(0x1a9)](_0x16104f,this['_pendingMutations']);if(_0x4f40f6(_0x24e277)){const {c1Prime:_0x541bdb,m2Prime:_0x161283}=_0x24e277;this[_0x4c202e(0x2c8)](_0x541bdb);const _0x55e166=this[_0x4c202e(0x1b9)]['createInstance'](ae,this[_0x4c202e(0x1ba)],this['type'],_0x161283,this[_0x4c202e(0x123)]);this[_0x4c202e(0x1ec)]();const _0x225a5e=new Date()[_0x4c202e(0x1b2)](),_0x22145f=this[_0x4c202e(0x2df)]?Math['max'](this[_0x4c202e(0x2df)]-_0x225a5e,0x0):this[_0x4c202e(0x11a)]();return _0x55e166[_0x4c202e(0x2da)](_0x22145f),_0x55e166;}throw _0x24e277[_0x4c202e(0x2cc)];}catch(_0x195a5f){return this['_logService'][_0x4c202e(0x2cc)](_0x195a5f),this[_0x4c202e(0x2c4)](!0x1);}}[_0x56867e(0x1c0)](){var _0xdd19b1=_0x56867e;throw new Error(_0xdd19b1(0x3ba));}[_0x56867e(0x28c)](){var _0x526dd8=_0x56867e;throw new Error(_0x526dd8(0x210));}[_0x56867e(0x2d5)](){return this;}[_0x56867e(0xd2)](){var _0x256670=_0x56867e;return this['_clearScheduledTask'](),this[_0x256670(0x1b9)][_0x256670(0x28d)](de,this[_0x256670(0x1ba)],this[_0x256670(0xc3)],null,this['_pendingMutations'],this[_0x256670(0x123)]);}[_0x56867e(0x257)](){return this;}[_0x56867e(0x2da)](_0x3fed96){var _0x34ef19=_0x56867e;const _0x3ae28e=_0x3fed96!=null?_0x3fed96:this['_getSendChangesetTimeout']();this[_0x34ef19(0x2df)]=new Date()[_0x34ef19(0x1b2)]()+_0x3ae28e,this[_0x34ef19(0xe5)]=setTimeout(()=>{var _0x2b35d5=_0x34ef19;this['_clearScheduledTask']();let _0x4b9281=null;switch(this[_0x2b35d5(0xc3)]){case Q[_0x2b35d5(0x268)]:{_0x4b9281=qt(this['_pendingMutations'],this[_0x2b35d5(0x1ba)],this[_0x2b35d5(0x230)],this[_0x2b35d5(0xdc)],this[_0x2b35d5(0x107)]);break;}case Q[_0x2b35d5(0x2fd)]:{this[_0x2b35d5(0x1c2)][_0x2b35d5(0x143)](_0x5c76e8=>_0x5c76e8['id']===_0x588141['id'])?_0x4b9281=ns(this[_0x2b35d5(0x1c2)],this[_0x2b35d5(0x1ba)],this[_0x2b35d5(0x230)],this[_0x2b35d5(0xdc)],this[_0x2b35d5(0x107)]):_0x4b9281=qt(this[_0x2b35d5(0x1c2)],this[_0x2b35d5(0x1ba)],this[_0x2b35d5(0x230)],this[_0x2b35d5(0xdc)],this[_0x2b35d5(0x107)]);break;}default:throw new Error(_0x2b35d5(0x205)+this[_0x2b35d5(0xc3)]+_0x2b35d5(0x1da));}const {changeset:_0x12602f,pendingMutations:_0x5ef21d}=_0x4b9281;this[_0x2b35d5(0x123)]['onSendChangeset'](_0x12602f);const _0x50c529=_0x5ef21d[_0x2b35d5(0x2b6)]?this[_0x2b35d5(0x1b9)][_0x2b35d5(0x28d)](oe,this[_0x2b35d5(0x1ba)],this[_0x2b35d5(0xc3)],_0x12602f,_0x5ef21d,this['_handler'],void 0x0):this['_injector'][_0x2b35d5(0x28d)](le,this[_0x2b35d5(0x1ba)],this[_0x2b35d5(0xc3)],_0x12602f,this[_0x2b35d5(0x123)]);_0x50c529['_updateLocalCache'](),this[_0x2b35d5(0x123)]['onStateChange'](this,_0x50c529);},_0x3ae28e);}['_getSendChangesetTimeout'](){var _0x19b351=_0x56867e,_0x328e29;const _0x31ce25=this[_0x19b351(0x337)][_0x19b351(0x2ae)](q);return(_0x328e29=_0x31ce25==null?void 0x0:_0x31ce25[_0x19b351(0x368)])!=null?_0x328e29:En;}[_0x56867e(0x295)](){var _0x5708ba=_0x56867e;throw new Error(_0x5708ba(0x18d));}['_clearScheduledTask'](){var _0x5d6f6f=_0x56867e;this['_sendingTimer']!=null&&(clearTimeout(this[_0x5d6f6f(0xe5)]),this['_sendingTimer']=null);}[_0x56867e(0x2c4)](_0x1d15af){var _0x41416c=_0x56867e;return this[_0x41416c(0x1ec)](),this[_0x41416c(0x1b9)][_0x41416c(0x28d)](ue,this[_0x41416c(0x1ba)],this['type'],null,this[_0x41416c(0x1c2)],this[_0x41416c(0x123)],_0x1d15af);}};ae=Te([P(0x4,_0x4e750e(_0x72784b)),P(0x5,_0x4e750e(_0x4897ad)),P(0x6,_0x4e750e(Le)),P(0x7,_0x2bb004),P(0x8,_0x2bf2a0),P(0x9,_0x32a746),P(0xa,_0x1258ff),P(0xb,_0x37d76b),P(0xc,_0x553d9a),P(0xd,_0x5e16b2(J))],ae);let le=class extends Ce{constructor(_0x461f50,_0x23551b,_0x4492b4,_0x40eaa4,_0x31d5e5,_0x42916d,_0x41be74,_0x27428f,_0x502323,_0x3f5d99,_0x5010f0){var _0x273caa=_0x56867e;super(_0x461f50,_0x23551b,_0x4492b4,[],_0x40eaa4,_0x41be74,_0x3f5d99,_0x42916d,_0x5010f0),N(this,_0x273caa(0x35f),_0x273caa(0x199)),N(this,_0x273caa(0x192),0x0),N(this,_0x273caa(0x3a8)),N(this,_0x273caa(0x300)),(this[_0x273caa(0x1b9)]=_0x31d5e5,this[_0x273caa(0x320)]=_0x27428f,this[_0x273caa(0x127)]=_0x502323);}[_0x56867e(0x162)](_0x29582c){var _0x91b43f=_0x56867e;this[_0x91b43f(0x1ec)]();const _0x266fc5=this['_injector']['createInstance'](oe,this[_0x91b43f(0x1ba)],this['type'],this[_0x91b43f(0x379)],[_0x29582c],this['_handler'],this['_resendTimer']);return _0x266fc5[_0x91b43f(0x15d)](),_0x266fc5;}['onRemoteChangeset'](_0x293723){var _0xce95ef=_0x56867e;if(this[_0xce95ef(0x17e)](_0x293723))return this[_0xce95ef(0x1ec)](),this['_injector'][_0xce95ef(0x28d)](ee,this[_0xce95ef(0x1ba)],this[_0xce95ef(0xc3)],this[_0xce95ef(0x379)],[],null,[_0x293723],this['_handler']);try{const _0x461a45=this[_0xce95ef(0x127)][_0xce95ef(0x2eb)]([_0x293723],[this['_awaitingChangeset']],!0x1);if(_0x207d8a(_0x461a45)){const {c1Prime:_0x134480,c2Prime:_0x4b5626}=_0x461a45;this['_executeRemoteChangeset'](_0x134480[0x0]),_0x4b5626[0x0]['baseRev']=this[_0xce95ef(0x27f)](),this[_0xce95ef(0x1ec)]();const _0x265174=this[_0xce95ef(0x1b9)][_0xce95ef(0x28d)](le,this['unitID'],this[_0xce95ef(0xc3)],_0x4b5626[0x0],this[_0xce95ef(0x123)]);return _0x265174[_0xce95ef(0x15d)](),_0x265174;}return this[_0xce95ef(0x2c4)](!0x1);}catch(_0x24d55a){return this[_0xce95ef(0x320)][_0xce95ef(0x2cc)](_0x24d55a),this[_0xce95ef(0x2c4)](!0x1);}}[_0x56867e(0x1c0)](_0x251d14){var _0xaa493b=_0x56867e;this[_0xaa493b(0x1ec)]();const _0x4f3c83=this['_revisionService'][_0xaa493b(0x100)](this[_0xaa493b(0x1ba)]);if(_0x251d14[_0xaa493b(0x203)]<_0x4f3c83-0x1)return this;if(this[_0xaa493b(0x17e)](_0x251d14))return this[_0xaa493b(0x1b9)][_0xaa493b(0x28d)](ee,this[_0xaa493b(0x1ba)],this[_0xaa493b(0xc3)],null,[],this[_0xaa493b(0x379)],[],this[_0xaa493b(0x123)]);this[_0xaa493b(0x2a0)]();const _0x4d52c7=this[_0xaa493b(0x1b9)]['createInstance'](Ne,this[_0xaa493b(0x1ba)],this[_0xaa493b(0xc3)],this[_0xaa493b(0x123)]);return _0x4d52c7[_0xaa493b(0x15d)](),_0x4d52c7;}[_0x56867e(0x28c)](_0x4769c8){var _0x37b9bb=_0x56867e;return this[_0x37b9bb(0x2c4)](!!(_0x4769c8!=null&&_0x4769c8[_0x37b9bb(0x13d)]));}['onRemoteRetry'](_0x47df83){var _0x2aeafb=_0x56867e;return this['_resendTimeout']>Oi?this[_0x2aeafb(0xd2)]():(this['_resendTimer']=Ri(this[_0x2aeafb(0x192)],{'timeout':this['_resendTimeout'],'reqId':_0x47df83[_0x2aeafb(0x144)]}),this[_0x2aeafb(0x300)]=this[_0x2aeafb(0x3a8)][_0x2aeafb(0x36d)](({reqId:_0x12fe42,timeout:_0x4c8293})=>{this['_resendWithTimeout'](_0x12fe42,_0x4c8293);}),this);}[_0x56867e(0xd2)](){var _0x18edc8=_0x56867e;return this[_0x18edc8(0x1ec)](),this[_0x18edc8(0x1b9)][_0x18edc8(0x28d)](de,this[_0x18edc8(0x1ba)],this[_0x18edc8(0xc3)],this['_awaitingChangeset'],[],this[_0x18edc8(0x123)]);}[_0x56867e(0x257)](){return this;}[_0x56867e(0x295)](){var _0xdd907b=_0x56867e;this['_handler'][_0xdd907b(0x139)](this[_0xdd907b(0x379)]);}[_0x56867e(0x2c4)](_0x1acd19){var _0x5ed7f7=_0x56867e;return this['_clearScheduledTask'](),this[_0x5ed7f7(0x1b9)]['createInstance'](ue,this[_0x5ed7f7(0x1ba)],this[_0x5ed7f7(0xc3)],this[_0x5ed7f7(0x379)],[],this[_0x5ed7f7(0x123)],_0x1acd19);}[_0x56867e(0x1d1)](_0x1bf090,_0x198bcc){var _0x31bdb0=_0x56867e,_0x4b94ef;_0x1bf090===((_0x4b94ef=this['_awaitingChangeset'])==null?void 0x0:_0x4b94ef['reqId'])&&(this[_0x31bdb0(0x295)](),this['_resendTimeout']=_0x198bcc===0x0?0x3e8:_0x198bcc*0x2);}[_0x56867e(0x1ec)](){var _0x598698=_0x56867e,_0x38eab5;(_0x38eab5=this[_0x598698(0x300)])==null||_0x38eab5['unsubscribe'](),this[_0x598698(0x192)]=0x0;}};le=Te([P(0x4,_0x4e750e(_0x72784b)),P(0x5,_0x4e750e(_0x4897ad)),P(0x6,_0x2bf2a0),P(0x7,_0x2bb004),P(0x8,_0x1258ff),P(0x9,_0x553d9a),P(0xa,_0x5e16b2(J))],le);let oe=class extends Ce{constructor(_0x5caa0c,_0x5a033e,_0x12e87a,_0x55f161,_0x242cbf,_0x15f9ea,_0x20beb5,_0x33ccb6,_0x47cc01,_0x18cc5d,_0x289af4,_0x4b7a15,_0x552a66){var _0x48c205=_0x56867e;super(_0x5caa0c,_0x5a033e,_0x12e87a,_0x55f161,_0x242cbf,_0x47cc01,_0x4b7a15,_0x33ccb6,_0x552a66),N(this,_0x48c205(0x35f),_0x48c205(0x281)),N(this,_0x48c205(0x192),0x0),N(this,_0x48c205(0x3a8)),N(this,'_sender'),(this['_injector']=_0x20beb5,this[_0x48c205(0x320)]=_0x18cc5d,this[_0x48c205(0x127)]=_0x289af4,this[_0x48c205(0x28b)]=_0x552a66,_0x15f9ea&&(this[_0x48c205(0x3a8)]=_0x15f9ea,this[_0x48c205(0x300)]=this['_resendTimer']['subscribe'](({reqId:_0x12210d,timeout:_0x27ae1a})=>{var _0x1fde10=_0x48c205;this[_0x1fde10(0x1d1)](_0x12210d,_0x27ae1a);})));}['appendMutation'](_0x5a3a83){var _0x200e3b=_0x56867e;return this[_0x200e3b(0x1c2)]['push'](_0x5a3a83),this;}['onRemoteChangeset'](_0x407301){var _0x1368a3=_0x56867e;if(this[_0x1368a3(0x17e)](_0x407301))return this['_clearScheduledTask'](),this[_0x1368a3(0x1b9)]['createInstance'](ee,this[_0x1368a3(0x1ba)],this[_0x1368a3(0xc3)],this[_0x1368a3(0x379)],this[_0x1368a3(0x1c2)],null,[_0x407301],this[_0x1368a3(0x123)]);try{const _0x615016=this[_0x1368a3(0x127)]['transformChangesets']([_0x407301],[this[_0x1368a3(0x379)]],!0x1);if(_0x207d8a(_0x615016)){const {c1Prime:_0x2a3c97,c2Prime:_0x4a3c13}=_0x615016,_0x4c9426=this[_0x1368a3(0x127)][_0x1368a3(0x1a9)](_0x2a3c97[0x0],this[_0x1368a3(0x1c2)]);if(_0x4f40f6(_0x4c9426)){const {c1Prime:_0x28c803,m2Prime:_0x2df218}=_0x4c9426;return this[_0x1368a3(0x2c8)](_0x28c803),_0x4a3c13[0x0][_0x1368a3(0x1ca)]=this[_0x1368a3(0x27f)](),this[_0x1368a3(0x1ec)](),this[_0x1368a3(0x1b9)][_0x1368a3(0x28d)](oe,this['unitID'],this[_0x1368a3(0xc3)],_0x4a3c13[0x0],_0x2df218,this['_handler'],void 0x0);}throw _0x4c9426['error'];}throw _0x615016[_0x1368a3(0x2cc)];}catch(_0xb3a82d){return this[_0x1368a3(0x320)][_0x1368a3(0x2cc)](_0xb3a82d),this[_0x1368a3(0x2c4)](!0x1);}}[_0x56867e(0x1c0)](_0x1d3258){var _0x7d1089=_0x56867e;if(this[_0x7d1089(0x1ec)](),this[_0x7d1089(0x17e)](_0x1d3258))return this[_0x7d1089(0x1b9)][_0x7d1089(0x28d)](ee,this[_0x7d1089(0x1ba)],this[_0x7d1089(0xc3)],null,this[_0x7d1089(0x1c2)],this[_0x7d1089(0x379)],[],this[_0x7d1089(0x123)]);this[_0x7d1089(0x2a0)]();const _0x40fab2=this[_0x7d1089(0x1b9)][_0x7d1089(0x28d)](ae,this['unitID'],this['type'],this['_pendingMutations'],this[_0x7d1089(0x123)]);return _0x40fab2['_schedule'](),_0x40fab2['_updateLocalCache'](),_0x40fab2;}[_0x56867e(0x28c)](_0x5103a9){var _0x32cb9a=_0x56867e;return this[_0x32cb9a(0x2c4)](!!(_0x5103a9!=null&&_0x5103a9[_0x32cb9a(0x13d)]));}[_0x56867e(0x2d5)](_0x1da2af){var _0x3e5808=_0x56867e;return this['_resendTimeout']>Oi?this[_0x3e5808(0xd2)]():(this[_0x3e5808(0x3a8)]=Ri(this[_0x3e5808(0x192)],{'timeout':this[_0x3e5808(0x192)],'reqId':_0x1da2af[_0x3e5808(0x144)]}),this[_0x3e5808(0x300)]=this[_0x3e5808(0x3a8)]['subscribe'](({reqId:_0x1fa1da,timeout:_0x4ec8b4})=>{this['_resendWithTimeout'](_0x1fa1da,_0x4ec8b4);}),this);}[_0x56867e(0xd2)](){var _0x28e242=_0x56867e;return this[_0x28e242(0x1ec)](),this['_injector'][_0x28e242(0x28d)](de,this[_0x28e242(0x1ba)],this[_0x28e242(0xc3)],this['_awaitingChangeset'],this[_0x28e242(0x1c2)],this['_handler']);}[_0x56867e(0x257)](){return this;}['resend'](){var _0x32867a=_0x56867e;this['_handler'][_0x32867a(0x139)](this[_0x32867a(0x379)]);}['_onConflict'](_0x2ffd4e){var _0x544ac8=_0x56867e;return this[_0x544ac8(0x1ec)](),this[_0x544ac8(0x1b9)][_0x544ac8(0x28d)](ue,this[_0x544ac8(0x1ba)],this['type'],null,this[_0x544ac8(0x1c2)],this[_0x544ac8(0x123)],_0x2ffd4e);}[_0x56867e(0x1d1)](_0xff5c69,_0x2128dd){var _0x1583ee=_0x56867e,_0x1e2a8c;_0xff5c69===((_0x1e2a8c=this[_0x1583ee(0x379)])==null?void 0x0:_0x1e2a8c[_0x1583ee(0x144)])&&(this[_0x1583ee(0x295)](),this[_0x1583ee(0x192)]=_0x2128dd===0x0?0x3e8:_0x2128dd*0x2);}[_0x56867e(0x1ec)](){var _0x3b5e54=_0x56867e,_0x2363ff;(_0x2363ff=this[_0x3b5e54(0x300)])==null||_0x2363ff[_0x3b5e54(0x1f6)](),this[_0x3b5e54(0x192)]=0x0;}};oe=Te([P(0x6,_0x4e750e(_0x72784b)),P(0x7,_0x4e750e(_0x4897ad)),P(0x8,_0x2bf2a0),P(0x9,_0x2bb004),P(0xa,_0x1258ff),P(0xb,_0x553d9a),P(0xc,_0x5e16b2(J))],oe);let ue=class extends Ce{constructor(_0x589a45,_0x4e8273,_0x38c228,_0x229f78,_0x559a31,_0x5c7548=!0x1,_0x1152d7,_0x2b96bb,_0x5ed04c,_0x590f47,_0x29f494,_0x3b4009,_0x4e40e8){var _0x424296=_0x56867e;super(_0x589a45,_0x4e8273,_0x38c228,_0x229f78,_0x559a31,_0x2b96bb,_0x5ed04c,_0x590f47,_0x4e40e8),N(this,_0x424296(0x35f),'conflict'),(this[_0x424296(0x141)]=_0x5c7548,this[_0x424296(0x1ee)]=_0x1152d7,this[_0x424296(0x27c)]=_0x29f494,this[_0x424296(0x26a)]=_0x3b4009,this[_0x424296(0x28b)]=_0x4e40e8,this[_0x424296(0x197)](),this[_0x424296(0x1a6)](),this[_0x424296(0x175)]());}[_0x56867e(0x162)](){return this;}['onRemoteChangeset'](){return this;}[_0x56867e(0x1c0)](){return this;}['onRemoteRej'](){return this;}[_0x56867e(0x2d5)](){return this;}['toggleOffline'](){return this;}[_0x56867e(0x257)](){return this;}[_0x56867e(0x295)](){var _0x144acf=_0x56867e;throw new Error(_0x144acf(0x36a));}[_0x56867e(0x1a6)](){var _0x38433b=_0x56867e,_0x22b076;(_0x22b076=this[_0x38433b(0x319)])==null||_0x22b076['updateOfflineData'](this[_0x38433b(0x1ba)],this[_0x38433b(0xc3)],null,[]);}['_showConflictNotification'](){var _0xd62187=_0x56867e;this[_0xd62187(0x141)]?this[_0xd62187(0x26a)][_0xd62187(0x2a5)]({'id':re[_0xd62187(0x32c)]}):this[_0xd62187(0x26a)][_0xd62187(0x2a5)]({'id':re[_0xd62187(0x128)]});}[_0x56867e(0x175)](){var _0x194a34=_0x56867e;this[_0x194a34(0x1ee)]['updatePermissionPoint'](new _0x3b9034(this[_0x194a34(0x1ba)])['id'],!0x1);}};ue=Te([P(0x6,_0x4e750e(_0x157be6)),P(0x7,_0x2bf2a0),P(0x8,_0x553d9a),P(0x9,_0x4e750e(_0x4897ad)),P(0xa,_0x4e750e(_0x54986a)),P(0xb,_0x4e750e(pe)),P(0xc,_0x5e16b2(J))],ue);let de=class extends Ce{constructor(_0xa48c6f,_0x50b3ad,_0x17822b,_0x15462a,_0x389b9e,_0x5d1880,_0x172989,_0x28b6d8,_0x17ec17,_0x1c941b){var _0x50a275=_0x56867e;super(_0xa48c6f,_0x50b3ad,_0x17822b,_0x15462a,_0x389b9e,_0x28b6d8,_0x17ec17,_0x172989,_0x1c941b),N(this,'status',_0x50a275(0x327)),this[_0x50a275(0x1b9)]=_0x5d1880;}[_0x56867e(0x162)](_0x2b7836){var _0x1a3b35=_0x56867e;return this[_0x1a3b35(0x1c2)][_0x1a3b35(0x262)](_0x2b7836),this[_0x1a3b35(0x15d)](),this;}['onRemoteChangeset'](_0x2a5908){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x56867e(0x1c0)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x56867e(0x28c)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x56867e(0x2d5)](){return this;}[_0x56867e(0xd2)](){return this;}[_0x56867e(0x257)](){var _0x4a7ff0=_0x56867e;const {_injector:_0x2b451d,_pendingMutations:_0x4ed663,_awaitingChangeset:_0x19a6be,unitID:_0x5fdaeb,_handler:_0x3ee231,type:_0x590c36}=this,_0x9ed7d0=yi(_0x2b451d,_0x5fdaeb,_0x590c36,_0x19a6be,_0x4ed663,_0x3ee231);return _0x9ed7d0 instanceof ae?_0x9ed7d0[_0x4a7ff0(0x2da)]():(_0x9ed7d0 instanceof oe||_0x9ed7d0 instanceof le)&&_0x9ed7d0[_0x4a7ff0(0x295)](),_0x9ed7d0;}[_0x56867e(0x295)](){var _0x6c306a=_0x56867e;throw new Error(_0x6c306a(0x342));}};de=Te([P(0x5,_0x4e750e(_0x72784b)),P(0x6,_0x4e750e(_0x4897ad)),P(0x7,_0x2bf2a0),P(0x8,_0x553d9a),P(0x9,_0x5e16b2(J))],de);let ee=class extends Ce{constructor(_0x1dd739,_0x50e224,_0x2ff64e,_0x33a561,_0x5fba34,_0x240bab,_0x21a77c,_0x1a0fee,_0x4dce76,_0x1a6eb5,_0x2e00d4,_0xb4e799,_0x4c5b06,_0x576e46){var _0x46b717=_0x56867e;super(_0x1dd739,_0x50e224,_0x2ff64e,_0x33a561,_0x21a77c,_0x2e00d4,_0xb4e799,_0x4dce76,_0x576e46),N(this,_0x46b717(0x35f),_0x46b717(0x280)),(this[_0x46b717(0x255)]=_0x5fba34,this[_0x46b717(0x1a8)]=_0x240bab,this[_0x46b717(0x1b9)]=_0x1a0fee,this[_0x46b717(0x320)]=_0x1a6eb5,this['_transformService']=_0x4c5b06,this[_0x46b717(0x28b)]=_0x576e46);}[_0x56867e(0xf6)](_0x5bcaac){var _0x988b62=_0x56867e;try{const _0x596cca=[..._0x5bcaac,...this[_0x988b62(0x1a8)]],_0x67054=[this[_0x988b62(0x379)]||this[_0x988b62(0x255)]][_0x988b62(0x2dc)](_0x2c48f0=>!!_0x2c48f0);let _0x5dcb8b,_0x2aba42;if(_0x67054[_0x988b62(0x2b6)]){const _0x150dfe=this[_0x988b62(0x127)][_0x988b62(0x2eb)](_0x596cca,_0x67054,!0x1);if(!_0x207d8a(_0x150dfe))throw _0x150dfe[_0x988b62(0x2cc)];_0x5dcb8b=_0x150dfe[_0x988b62(0xd1)],_0x2aba42=_0x150dfe[_0x988b62(0x19e)];}else _0x5dcb8b=_0x596cca,_0x2aba42=[];let _0x6e445a=this[_0x988b62(0x1c2)];_0x5dcb8b[_0x988b62(0x24d)](_0x5574e4=>{var _0x2dd7f1=_0x988b62;let _0x587184;if(_0x6e445a['length']){const _0xce8d5d=this[_0x2dd7f1(0x127)][_0x2dd7f1(0x1a9)](_0x5574e4,_0x6e445a);if(!_0x4f40f6(_0xce8d5d))throw _0xce8d5d['error'];_0x587184=_0xce8d5d[_0x2dd7f1(0xd1)],_0x6e445a=_0xce8d5d[_0x2dd7f1(0x2f5)];}else _0x587184=_0x5574e4;this[_0x2dd7f1(0x2c8)](_0x587184);}),this['_acknowledgedAwaitingChangeset']&&this[_0x988b62(0x2a0)](),this[_0x988b62(0x379)]&&_0x2aba42[_0x988b62(0x2b6)]&&(_0x2aba42[0x0][_0x988b62(0x1ca)]=this['_getCurrentRevision']());let _0x34dbbf;if(this[_0x988b62(0x379)]&&_0x6e445a[_0x988b62(0x2b6)]!==0x0)_0x34dbbf=this[_0x988b62(0x1b9)][_0x988b62(0x28d)](oe,this[_0x988b62(0x1ba)],this[_0x988b62(0xc3)],_0x2aba42[0x0],_0x6e445a,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x6e445a[_0x988b62(0x2b6)]===0x0)_0x2aba42[0x0][_0x988b62(0x1ca)]=this[_0x988b62(0x27f)](),_0x34dbbf=this[_0x988b62(0x1b9)][_0x988b62(0x28d)](le,this[_0x988b62(0x1ba)],this[_0x988b62(0xc3)],_0x2aba42[0x0],this[_0x988b62(0x123)]);else{if(_0x6e445a['length']!==0x0){const _0x5641f2=this[_0x988b62(0x1b9)]['createInstance'](ae,this[_0x988b62(0x1ba)],this['type'],_0x6e445a,this['_handler']);_0x5641f2[_0x988b62(0x2da)](),_0x34dbbf=_0x5641f2;}else _0x34dbbf=this[_0x988b62(0x1b9)]['createInstance'](Ne,this[_0x988b62(0x1ba)],this[_0x988b62(0xc3)],this[_0x988b62(0x123)]);}}return _0x34dbbf[_0x988b62(0x15d)](),_0x34dbbf;}catch(_0xb52c92){return this[_0x988b62(0x320)]['error'](_0x988b62(0x133),_0x988b62(0x37a),_0xb52c92),this[_0x988b62(0x1b9)]['createInstance'](ue,this[_0x988b62(0x1ba)],this['type'],this['_awaitingChangeset'],this[_0x988b62(0x1c2)],this['_handler'],!0x1);}}[_0x56867e(0x295)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x56867e(0x162)](_0x55120a){var _0x475447=_0x56867e;return this[_0x475447(0x1c2)]['push'](_0x55120a),this;}[_0x56867e(0x373)](_0x4a63f5){var _0x1bf5c0=_0x56867e;return this[_0x1bf5c0(0x1a8)][_0x1bf5c0(0x262)](_0x4a63f5),this;}[_0x56867e(0x1c0)](_0x4bcb8e){var _0x3a6d25=_0x56867e;if(this[_0x3a6d25(0x379)])return this[_0x3a6d25(0x255)]=this['_awaitingChangeset'],this[_0x3a6d25(0x379)]=null,this;throw new Error(_0x3a6d25(0x221));}['onRemoteRej'](_0x582934){return this['_onConflict'](!!(_0x582934!=null&&_0x582934['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2987b0=_0x56867e;return this[_0x2987b0(0x1b9)][_0x2987b0(0x28d)](de,this[_0x2987b0(0x1ba)],this[_0x2987b0(0xc3)],this[_0x2987b0(0x379)],this[_0x2987b0(0x1c2)],this[_0x2987b0(0x123)]);}[_0x56867e(0x257)](){return this;}[_0x56867e(0x2c4)](_0x89d7ae){var _0x5c51f6=_0x56867e;return this[_0x5c51f6(0x1b9)][_0x5c51f6(0x28d)](ue,this['unitID'],this[_0x5c51f6(0xc3)],this[_0x5c51f6(0x379)],this['_pendingMutations'],this[_0x5c51f6(0x123)],_0x89d7ae);}};ee=Te([P(0x7,_0x4e750e(_0x72784b)),P(0x8,_0x4e750e(_0x4897ad)),P(0x9,_0x2bb004),P(0xa,_0x2bf2a0),P(0xb,_0x553d9a),P(0xc,_0x1258ff),P(0xd,_0x5e16b2(J))],ee);function yi(_0x47e51a,_0x1ca41e,_0xb099ec,_0x2cd092,_0x558656,_0x18c34a){var _0x482ec2=_0x56867e;return _0x2cd092&&_0x558656['length']?_0x47e51a['createInstance'](oe,_0x1ca41e,_0xb099ec,_0x2cd092,_0x558656,_0x18c34a,void 0x0):_0x2cd092?_0x47e51a['createInstance'](le,_0x1ca41e,_0xb099ec,_0x2cd092,_0x18c34a):_0x558656[_0x482ec2(0x2b6)]?_0x47e51a[_0x482ec2(0x28d)](ae,_0x1ca41e,_0xb099ec,_0x558656,_0x18c34a):_0x47e51a['createInstance'](Ne,_0x1ca41e,_0xb099ec,_0x18c34a);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x387c61,_0x1ab764,_0x1b24f8,_0x5924a4)=>{var _0x34829b=_0x56867e;for(var _0x368a5a=_0x5924a4>0x1?void 0x0:_0x5924a4?as(_0x1ab764,_0x1b24f8):_0x1ab764,_0x39fef6=_0x387c61[_0x34829b(0x2b6)]-0x1,_0x1c7513;_0x39fef6>=0x0;_0x39fef6--)(_0x1c7513=_0x387c61[_0x39fef6])&&(_0x368a5a=_0x1c7513(_0x368a5a)||_0x368a5a);return _0x368a5a;},H=(_0x13a8a5,_0x98d834)=>(_0x1c1889,_0x496b07)=>_0x98d834(_0x1c1889,_0x496b07,_0x13a8a5);let nt=class extends _0x20dae0{constructor(_0x492734,_0x4d3a41,_0x4cf474,_0x13670a,_0xd3585c,_0x4397d1,_0x11df67,_0x164233,_0xda7490,_0x3106e4,_0x31cff0,_0x7833e7,_0x4abf8d){var _0x79243b=_0x56867e;super(),N(this,_0x79243b(0x3ac),new _0x4a662d(null)),N(this,'state$',this[_0x79243b(0x3ac)][_0x79243b(0x111)]()),N(this,_0x79243b(0x1f3)),N(this,_0x79243b(0x11c),!0x1),N(this,'_changesetSessionId',''),N(this,_0x79243b(0xd9),0x0),N(this,'status$',this['state$'][_0x79243b(0x2f8)](_0x4c5d20(_0x161433=>_0x161433?_0x161433[_0x79243b(0x35f)]:bi[_0x79243b(0x291)]),_0x340841(0x1))),N(this,_0x79243b(0x18e),!0x1),N(this,_0x79243b(0x226),[]),(this[_0x79243b(0x1ba)]=_0x492734,this[_0x79243b(0x1ab)]=_0x4d3a41,this[_0x79243b(0x350)]=_0x4cf474,this[_0x79243b(0x1b9)]=_0x13670a,this['_compressMutationService']=_0xd3585c,this['_localeService']=_0x4397d1,this['_revisionService']=_0x11df67,this['_eventService']=_0x164233,this[_0x79243b(0x320)]=_0xda7490,this[_0x79243b(0x289)]=_0x3106e4,this[_0x79243b(0x1ee)]=_0x31cff0,this['_singleActiveUnitService']=_0x7833e7,this['_localCacheService']=_0x4abf8d);}get[_0x56867e(0x3b3)](){var _0x185e25=_0x56867e;return this[_0x185e25(0x1f3)];}async[_0x56867e(0x284)](){var _0x5f5287=_0x56867e;if(this[_0x5f5287(0x3b3)])throw new Error(_0x5f5287(0x2fe));await this[_0x5f5287(0x3ad)]();}[_0x56867e(0x211)](){return this['_collaborationPaused']=!0x0,_0xeacc3e(()=>{var _0x4fb406=_0x44f8;this[_0x4fb406(0x11c)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x56867e(0x207)](_0x452cc5){var _0x43691c=_0x56867e;this[_0x43691c(0x254)](_0x452cc5);}['_updateState'](_0x5ac584){var _0x4345c0=_0x56867e;this[_0x4345c0(0x1f3)]=_0x5ac584,this[_0x4345c0(0x3ac)][_0x4345c0(0x11d)](_0x5ac584);}async[_0x56867e(0x3ad)](){var _0x4a0351=_0x56867e,_0x59d53f;this[_0x4a0351(0x371)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x59d53f=this[_0x4a0351(0x194)])==null||_0x59d53f[_0x4a0351(0x2cd)](this[_0x4a0351(0x1ba)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x4a0351(0x12b)](this[_0x4a0351(0x1ba)])[_0x4a0351(0x36d)](_0x526521=>{var _0x333edb=_0x4a0351;this[_0x333edb(0x320)]['debug'](_0x333edb(0x11b),'editing\x20status\x20changed\x20to',_0x526521),_0x526521===Ci['OTHER_CLIENTS_EDITING']?(this[_0x333edb(0x2af)][_0x333edb(0x2a5)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x333edb(0x1ee)][_0x333edb(0x2e6)](new _0x3b9034(this[_0x333edb(0x1ba)])['id'],!0x1),this[_0x333edb(0x1ee)]['setShowComponents'](!0x1)):(this[_0x333edb(0x1ee)][_0x333edb(0x2e6)](new _0x3b9034(this['unitID'])['id'],!0x0),this[_0x333edb(0x1ee)][_0x333edb(0x10b)](!0x0));})));let _0x11087e=!0x1;return this[_0x4a0351(0xe7)](this['session'][_0x4a0351(0x1cf)][_0x4a0351(0x36d)](_0xe0bef2=>{var _0x1e58b7=_0x4a0351;_0xe0bef2===Ee[_0x1e58b7(0x2d9)]?this[_0x1e58b7(0xcf)](_0x11087e):_0xe0bef2===Ee[_0x1e58b7(0x291)]&&(_0x11087e=!0x0,this[_0x1e58b7(0x224)]());})),this[_0x4a0351(0xe7)](this[_0x4a0351(0x1ab)][_0x4a0351(0x118)][_0x4a0351(0x36d)](_0x5eef0c=>{var _0xb6f09d=_0x4a0351;try{switch(_0x5eef0c[_0xb6f09d(0x2f4)]){case _0x4d037b[_0xb6f09d(0x2b0)]:{this[_0xb6f09d(0x32d)](_0x20caa(_0x5eef0c[_0xb6f09d(0x2d4)]));break;}case _0x4d037b[_0xb6f09d(0x376)]:{this[_0xb6f09d(0x2ce)](_0x5eef0c[_0xb6f09d(0x2d4)]);break;}case _0x4d037b['CHANGESET_REJ']:{this[_0xb6f09d(0x390)]();break;}case _0x4d037b[_0xb6f09d(0x3b2)]:{this[_0xb6f09d(0x293)](_0x5eef0c[_0xb6f09d(0x2d4)]);break;}case _0x4d037b['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xb6f09d(0x115)](_0x5eef0c[_0xb6f09d(0x2d4)][_0xb6f09d(0xbe)][_0xb6f09d(0x29e)](_0x32d20b=>_0x20caa(_0x32d20b)));break;}case _0x4d037b[_0xb6f09d(0x1a1)]:{this[_0xb6f09d(0x390)]({'isPermissionRej':!0x0});break;}case _0x4d037b[_0xb6f09d(0x250)]:break;}}catch(_0x40cabc){throw console[_0xb6f09d(0x2cc)](_0xb6f09d(0x2ab),_0x40cabc),_0x40cabc;}})),this[_0x4a0351(0x1f3)];}[_0x56867e(0x208)](){var _0x4ad55c=_0x56867e;this[_0x4ad55c(0x18e)]=!0x1;}[_0x56867e(0x2d7)](){var _0xeca3b8=_0x56867e;if(this[_0xeca3b8(0x18e)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0xeca3b8(0x18e)]=!0x0;}[_0x56867e(0x254)](_0x6d05d8){var _0x3cf817=_0x56867e;this[_0x3cf817(0x2d7)](),this['_updateState'](this[_0x3cf817(0x1f3)][_0x3cf817(0x162)](_0x6d05d8)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x1f4416){var _0x8af8b8=_0x56867e;if(!(_0x1f4416[_0x8af8b8(0x203)]<=this[_0x8af8b8(0xdc)][_0x8af8b8(0x100)](this[_0x8af8b8(0x1ba)]))){if(this['_collaborationPaused']){this[_0x8af8b8(0x226)][_0x8af8b8(0x262)](_0x1f4416);return;}this[_0x8af8b8(0x399)](_0x1f4416);}}[_0x56867e(0x25b)](){var _0x2dd657=_0x56867e;this[_0x2dd657(0x226)][_0x2dd657(0x24d)](_0x353659=>this[_0x2dd657(0x399)](_0x353659)),this[_0x2dd657(0x226)]=[];}[_0x56867e(0x399)](_0x1075d7){var _0x335127=_0x56867e;const _0x1fa219=this['_compressMutationService'][_0x335127(0x17b)][_0x335127(0x13a)](this[_0x335127(0x37b)][_0x335127(0x17b)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x1075d7[_0x335127(0x12a)],null)||_0x1075d7[_0x335127(0x12a)],_0x26db6e={..._0x1075d7,'mutations':_0x1fa219};this['_lockTransition'](),this[_0x335127(0x371)](this[_0x335127(0x1f3)][_0x335127(0x373)](_0x26db6e)),this[_0x335127(0x208)]();}['_onRemoteACK'](_0x4abd1a){var _0x5173d9=_0x56867e;this[_0x5173d9(0x2d7)](),this[_0x5173d9(0x371)](this['_state']['onRemoteAck'](_0x4abd1a)),this[_0x5173d9(0x208)]();}['_onRemoteRejected'](_0x53f7ab){var _0x47b0f5=_0x56867e;this[_0x47b0f5(0x2d7)](),this[_0x47b0f5(0x371)](this[_0x47b0f5(0x1f3)][_0x47b0f5(0x28c)](_0x53f7ab)),this[_0x47b0f5(0x208)]();}[_0x56867e(0x293)](_0x4c57f0){var _0x6107fc=_0x56867e;this[_0x6107fc(0x2d7)](),this[_0x6107fc(0x371)](this[_0x6107fc(0x1f3)]['onRemoteRetry'](_0x4c57f0)),this['_unlockTransition']();}[_0x56867e(0x115)](_0x27cfaa){var _0x28f116=_0x56867e;if(!(this[_0x28f116(0x1f3)]instanceof ee))throw new TypeError(_0x28f116(0xfe));const _0x523367=_0x27cfaa[_0x28f116(0x29e)](_0x5b183c=>{var _0x246cd9=_0x28f116;const _0x4818ce=this[_0x246cd9(0x37b)]['interceptor'][_0x246cd9(0x13a)](this['_compressMutationService'][_0x246cd9(0x17b)][_0x246cd9(0x330)]()[_0x246cd9(0x275)])(_0x5b183c[_0x246cd9(0x12a)],null)||_0x5b183c[_0x246cd9(0x12a)];return{..._0x5b183c,'mutations':_0x4818ce};});this['_lockTransition'](),this[_0x28f116(0x371)](this['_state'][_0x28f116(0xf6)](_0x523367)),this[_0x28f116(0x208)]();}[_0x56867e(0x224)](){var _0x3ab191=_0x56867e;this['_lockTransition'](),this[_0x3ab191(0x371)](this[_0x3ab191(0x1f3)][_0x3ab191(0xd2)]()),this[_0x3ab191(0x208)]();}[_0x56867e(0xcf)](_0x5f3de5=!0x1){var _0x458f2f=_0x56867e;this[_0x458f2f(0x2d7)](),this['_updateState'](this[_0x458f2f(0x1f3)][_0x458f2f(0x257)]()),this['_unlockTransition']();const _0x296791=this[_0x458f2f(0x1f3)];_0x5f3de5&&_0x296791 instanceof Ne&&(this[_0x458f2f(0x2d7)](),this[_0x458f2f(0x371)](_0x296791[_0x458f2f(0x105)]()),this[_0x458f2f(0x208)]());}async[_0x56867e(0xcd)](){return new Promise(_0x333439=>{var _0x197e9a=_0x44f8;this[_0x197e9a(0x1ab)][_0x197e9a(0x1cf)]['pipe'](_0x3fc4c2(0x1))[_0x197e9a(0x36d)](async _0x266670=>{var _0x534d0f=_0x197e9a;_0x333439(await this['_createInitialStateImpl'](_0x266670===Ee[_0x534d0f(0x2d9)]));});});}[_0x56867e(0x398)](){const _0x689b25=this['unitID'];return{'onStateChange':(_0x3f3514,_0x234c34)=>{var _0x495c0e=_0x44f8;if(_0x3f3514!==this[_0x495c0e(0x1f3)])throw new Error(_0x495c0e(0xd0)+_0x3f3514[_0x495c0e(0x35f)]+_0x495c0e(0x1a5)+_0x234c34[_0x495c0e(0x35f)]+_0x495c0e(0xbc)+this[_0x495c0e(0x1f3)][_0x495c0e(0x35f)]);this[_0x495c0e(0x371)](_0x234c34);},'onSendChangeset':_0x2d63d5=>{var _0x53d1bb=_0x44f8;_0x2d63d5[_0x53d1bb(0x13f)]||(_0x2d63d5[_0x53d1bb(0x13f)]=this['_changesetSessionId'],_0x2d63d5[_0x53d1bb(0x144)]=++this[_0x53d1bb(0xd9)]);const _0xf1e84={'eventID':_0x4d037b[_0x53d1bb(0xe2)],'data':{'unitID':_0x2d63d5[_0x53d1bb(0x1ba)],'unitType':this['_type'],'changeset':_0x2d63d5,'memberID':this[_0x53d1bb(0x1ab)][_0x53d1bb(0x334)]()}};this[_0x53d1bb(0x1ab)][_0x53d1bb(0x38c)](_0xf1e84,this[_0x53d1bb(0x1ba)]);},'onMissingChangesets':({from:_0x2f5ea3,to:_0x2ba889})=>{var _0x38c4dd=_0x44f8;this[_0x38c4dd(0x320)][_0x38c4dd(0x14e)](_0x38c4dd(0x11b),_0x38c4dd(0xfc)+_0x2f5ea3+'\x20to\x20'+_0x2ba889);const _0x3b0782={'eventID':_0x4d037b[_0x38c4dd(0x20e)],'data':{'unitID':_0x689b25,'unitType':this[_0x38c4dd(0x350)],'from':_0x2f5ea3,'to':_0x2ba889}};this[_0x38c4dd(0x1ab)][_0x38c4dd(0x38c)](_0x3b0782,this[_0x38c4dd(0x1ba)]);}};}async[_0x56867e(0x2f7)](_0xda859a){var _0x254556=_0x56867e,_0x1171e7,_0x3a2129,_0x258da9;const _0x4d7bac=await((_0x1171e7=this[_0x254556(0x319)])==null?void 0x0:_0x1171e7[_0x254556(0x201)](this[_0x254556(0x1ba)])),_0x142a7b=(_0x3a2129=_0x4d7bac==null?void 0x0:_0x4d7bac[_0x254556(0x12a)])!=null?_0x3a2129:[],_0xe9a57a=(_0x258da9=_0x4d7bac==null?void 0x0:_0x4d7bac[_0x254556(0xc8)])!=null?_0x258da9:null,_0x3f9c38=!!(_0xe9a57a!=null&&_0xe9a57a['sid'])&&!!(_0xe9a57a!=null&&_0xe9a57a[_0x254556(0x144)]);this['_changesetSessionId']=_0x3f9c38?_0xe9a57a[_0x254556(0x13f)]:Zn(),this[_0x254556(0xd9)]=_0x3f9c38?_0xe9a57a[_0x254556(0x144)]:0x0;const _0x9bdb32=this['unitID'];try{this[_0x254556(0x22c)](_0xe9a57a,_0x142a7b);}catch(_0x1d80c9){this[_0x254556(0x320)][_0x254556(0x2cc)](_0x1d80c9);}const _0x5db96f=this[_0x254556(0x398)]();if(_0xda859a){const _0x7ce9f8=yi(this[_0x254556(0x1b9)],_0x9bdb32,this[_0x254556(0x350)],_0xe9a57a,_0x142a7b,_0x5db96f);return _0x7ce9f8 instanceof ae?_0x7ce9f8[_0x254556(0x2da)]():(_0x7ce9f8 instanceof oe||_0x7ce9f8 instanceof le)&&_0x7ce9f8['resend'](),_0x7ce9f8;}return this[_0x254556(0x1b9)][_0x254556(0x28d)](de,_0x9bdb32,this[_0x254556(0x350)],_0xe9a57a,_0x142a7b,_0x5db96f);}[_0x56867e(0x22c)](_0x1b4b05,_0x2926a5){var _0x16fcf1=_0x56867e,_0x49347d,_0x53d222;const _0x495c00=this[_0x16fcf1(0x37b)]['interceptor'][_0x16fcf1(0x13a)](this['_compressMutationService'][_0x16fcf1(0x17b)]['getInterceptPoints']()[_0x16fcf1(0x275)]);(_0x49347d=_0x495c00((_0x1b4b05==null?void 0x0:_0x1b4b05[_0x16fcf1(0x12a)])||[],null))==null||_0x49347d[_0x16fcf1(0x24d)](_0x8b0d94=>this[_0x16fcf1(0x289)]['executeCommand'](_0x8b0d94['id'],_0x8b0d94['params'])),(_0x53d222=_0x495c00(_0x2926a5||[],null))==null||_0x53d222[_0x16fcf1(0x24d)](_0x1d7abf=>this[_0x16fcf1(0x289)][_0x16fcf1(0xbd)](_0x1d7abf['id'],_0x1d7abf[_0x16fcf1(0x292)]));}};nt=Lt([H(0x3,_0x4e750e(_0x72784b)),H(0x4,_0x4e750e(_0xac807d)),H(0x5,_0x4e750e(_0x54986a)),H(0x6,_0x4e750e(_0x4897ad)),H(0x7,_0x4e750e(pe)),H(0x8,_0x2bb004),H(0x9,_0x2bf2a0),H(0xa,_0x157be6),H(0xb,_0x5e16b2(ht)),H(0xc,_0x5e16b2(J))],nt);let It=class extends nt{constructor(_0x2c35e0,_0x4d7307,_0x4b4395,_0x184e08,_0x4e8791,_0x52ef6e,_0x52b1e7,_0x5bb183,_0x36093a,_0x52a233,_0x5ada02,_0x3d6397,_0x33c224){var _0xaebba0=_0x56867e;super(_0x2c35e0,_0x4b4395,_0x4d7307,_0x184e08,_0x4e8791,_0x52ef6e,_0x52b1e7,_0x5bb183,_0x36093a,_0x52a233,_0x5ada02,_0x3d6397,_0x33c224),N(this,'_handlerCallback',null),(this[_0xaebba0(0x1ba)]=_0x2c35e0,this[_0xaebba0(0xc3)]=_0x4d7307);}[_0x56867e(0x236)](_0x192621){var _0x31c9d2=_0x56867e;this[_0x31c9d2(0x248)]=_0x192621;}[_0x56867e(0xc4)](){var _0x22a2f8=_0x56867e;this[_0x22a2f8(0x248)]=null,super[_0x22a2f8(0xc4)]();}['_createHandler'](){var _0x22be84=_0x56867e;const _0x561a28=super[_0x22be84(0x398)]();return _0x561a28[_0x22be84(0x282)]=_0x551265=>{var _0x5d5f3b=_0x22be84,_0x45a124,_0xdbcbee;return(_0xdbcbee=(_0x45a124=this['_handlerCallback'])==null?void 0x0:_0x45a124[_0x5d5f3b(0x282)])==null?void 0x0:_0xdbcbee['call'](_0x45a124,_0x551265);},_0x561a28[_0x22be84(0x305)]=_0xfb0dc=>{var _0x3a38b7=_0x22be84,_0x58acf0,_0x3b7ad7;return(_0x3b7ad7=(_0x58acf0=this['_handlerCallback'])==null?void 0x0:_0x58acf0[_0x3a38b7(0x305)])==null?void 0x0:_0x3b7ad7[_0x3a38b7(0xfa)](_0x58acf0,_0xfb0dc);},_0x561a28['onTransformSelections']=_0x566b7c=>{var _0x5c0196=_0x22be84,_0x1b9ee9,_0x276c80;return(_0x276c80=(_0x1b9ee9=this['_handlerCallback'])==null?void 0x0:_0x1b9ee9[_0x5c0196(0x356)])==null?void 0x0:_0x276c80['call'](_0x1b9ee9,_0x566b7c);},_0x561a28[_0x22be84(0x26f)]=_0x2aa290=>{var _0x2957c4=_0x22be84,_0x171f76,_0x5e6be9;return(_0x5e6be9=(_0x171f76=this[_0x2957c4(0x248)])==null?void 0x0:_0x171f76[_0x2957c4(0x26f)])==null?void 0x0:_0x5e6be9[_0x2957c4(0xfa)](_0x171f76,_0x2aa290);},_0x561a28[_0x22be84(0x204)]=_0x3d1b9d=>{var _0xc2829e=_0x22be84,_0x5da656,_0x182905,_0x506fc1;if(!((_0x5da656=this[_0xc2829e(0x248)])!=null&&_0x5da656[_0xc2829e(0x204)]))throw new Error(_0xc2829e(0x1c8));return(_0x506fc1=(_0x182905=this[_0xc2829e(0x248)])==null?void 0x0:_0x182905[_0xc2829e(0x204)])==null?void 0x0:_0x506fc1['call'](_0x182905,_0x3d1b9d);},_0x561a28[_0x22be84(0x2f9)]=_0x569c6d=>{var _0xe64e2f=_0x22be84,_0x15cfb6,_0x20039b,_0x377557;if(!((_0x15cfb6=this[_0xe64e2f(0x248)])!=null&&_0x15cfb6[_0xe64e2f(0x2f9)]))throw new Error(_0xe64e2f(0x2de));return(_0x377557=(_0x20039b=this['_handlerCallback'])==null?void 0x0:_0x20039b['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x377557[_0xe64e2f(0xfa)](_0x20039b,_0x569c6d);},_0x561a28;}async[_0x56867e(0x3ad)](){var _0x44ddd2=_0x56867e;const _0x3a494f=await super[_0x44ddd2(0x3ad)]();return this[_0x44ddd2(0xe7)](this[_0x44ddd2(0x289)]['onCommandExecuted']((_0x54ac47,_0x21223b)=>{var _0x58137f=_0x44ddd2;if(_0x54ac47[_0x58137f(0xc3)]!==_0xa314af[_0x58137f(0x1ac)]||_0x21223b!=null&&_0x21223b[_0x58137f(0x340)]||_0x21223b!=null&&_0x21223b[_0x58137f(0x23f)]||_0x54ac47['id']===_0x588141['id'])return;const _0x280cff=_0x54ac47[_0x58137f(0x292)];if((_0x280cff==null?void 0x0:_0x280cff[_0x58137f(0x2a7)])!==this['unitID'])return;const _0x4f07e3=_0x54ac47,_0x43a756=this[_0x58137f(0x37b)]['interceptor'][_0x58137f(0x13a)](this[_0x58137f(0x37b)][_0x58137f(0x17b)]['getInterceptPoints']()[_0x58137f(0x3a5)])([_0x4f07e3],null)||[_0x4f07e3];this[_0x58137f(0x254)](_0x43a756[0x0]);})),_0x3a494f;}};It=Lt([H(0x3,_0x4e750e(_0x72784b)),H(0x4,_0x4e750e(_0xac807d)),H(0x5,_0x4e750e(_0x54986a)),H(0x6,_0x4e750e(_0x4897ad)),H(0x7,_0x4e750e(pe)),H(0x8,_0x2bb004),H(0x9,_0x2bf2a0),H(0xa,_0x157be6),H(0xb,_0x5e16b2(ht)),H(0xc,_0x5e16b2(J))],It);let Tt=class extends nt{constructor(_0x18f7f1,_0x3819a9,_0x576535,_0x2477a5,_0x20c563,_0xd308c5,_0x206703,_0x1d1dd6,_0x2f81fc,_0x1d7927,_0x3bab23,_0x5f05b4,_0x3384ae,_0x49ef82){var _0x2d104f=_0x56867e;super(_0x18f7f1,_0x576535,_0x3819a9,_0x2477a5,_0x20c563,_0xd308c5,_0x206703,_0x2f81fc,_0x1d7927,_0x3bab23,_0x5f05b4,_0x3384ae,_0x49ef82),this[_0x2d104f(0x1ba)]=_0x18f7f1,this['type']=_0x3819a9,this[_0x2d104f(0xcb)]=_0x1d1dd6;}['_createHandler'](){var _0x1b41e2=_0x56867e;const _0x236b42=super['_createHandler']();return _0x236b42[_0x1b41e2(0x356)]=_0x348df4=>this[_0x1b41e2(0xcb)][_0x1b41e2(0x1db)](_0x348df4),_0x236b42;}async[_0x56867e(0x3ad)](){var _0x45afaa=_0x56867e;const _0x1a6fc2=await super[_0x45afaa(0x3ad)]();return this['disposeWithMe'](this[_0x45afaa(0x289)][_0x45afaa(0x1e4)]((_0x21767a,_0x38613c)=>{var _0x53feca=_0x45afaa;if(_0x21767a[_0x53feca(0xc3)]!==_0xa314af[_0x53feca(0x1ac)]||_0x38613c!=null&&_0x38613c[_0x53feca(0x340)]||_0x38613c!=null&&_0x38613c['onlyLocal'])return;const _0x3df45b=_0x21767a[_0x53feca(0x292)];if((_0x3df45b==null?void 0x0:_0x3df45b['unitId'])!==this['unitID'])return;const _0x28f5af=_0x21767a,_0x339797=this[_0x53feca(0x37b)]['interceptor'][_0x53feca(0x13a)](this['_compressMutationService'][_0x53feca(0x17b)][_0x53feca(0x330)]()[_0x53feca(0x3a5)])([_0x28f5af],null)||[_0x28f5af];this[_0x53feca(0x254)](_0x339797[0x0]);})),_0x1a6fc2;}};Tt=Lt([H(0x3,_0x4e750e(_0x72784b)),H(0x4,_0x4e750e(_0xac807d)),H(0x5,_0x4e750e(_0x54986a)),H(0x6,_0x4e750e(_0x4897ad)),H(0x7,_0x4e750e(it)),H(0x8,_0x4e750e(pe)),H(0x9,_0x2bb004),H(0xa,_0x2bf2a0),H(0xb,_0x157be6),H(0xc,_0x5e16b2(ht)),H(0xd,_0x5e16b2(J))],Tt);var os=Object[_0x56867e(0x190)],cs=(_0x1e9daa,_0x5d9fcd,_0x48a16b,_0x2899cb)=>{var _0x31e7ff=_0x56867e;for(var _0x2abc3e=_0x2899cb>0x1?void 0x0:_0x2899cb?os(_0x5d9fcd,_0x48a16b):_0x5d9fcd,_0x22325b=_0x1e9daa[_0x31e7ff(0x2b6)]-0x1,_0x454e8e;_0x22325b>=0x0;_0x22325b--)(_0x454e8e=_0x1e9daa[_0x22325b])&&(_0x2abc3e=_0x454e8e(_0x2abc3e)||_0x2abc3e);return _0x2abc3e;},ft=(_0x217411,_0x1f96f4)=>(_0x4edbd3,_0x479a4c)=>_0x1f96f4(_0x4edbd3,_0x479a4c,_0x217411);let st=class extends _0x20dae0{constructor(_0x5ce670,_0x18e902,_0x46a15f){var _0x435776=_0x56867e;super(),N(this,_0x435776(0x14d),new Map()),N(this,_0x435776(0x13b),new _0x4197bc()),N(this,_0x435776(0x30d),this[_0x435776(0x13b)][_0x435776(0x111)]()),(this[_0x435776(0x1b9)]=_0x5ce670,this['_collabSessionService']=_0x18e902,this[_0x435776(0x230)]=_0x46a15f,this[_0x435776(0x3ad)]());}['dispose'](){var _0x228e36=_0x56867e;super['dispose'](),this[_0x228e36(0x14d)][_0x228e36(0x24d)](_0x482e2b=>_0x482e2b[_0x228e36(0xc4)]()),this['_entities'][_0x228e36(0x14c)]();}[_0x56867e(0x161)](_0x17c898){var _0x5e9db3=_0x56867e,_0x443a75;return(_0x443a75=this[_0x5e9db3(0x14d)][_0x5e9db3(0x39e)](_0x17c898))!=null?_0x443a75:null;}[_0x56867e(0xf1)](_0xe4d2b7){var _0x191c7b=_0x56867e;const _0x31039b=this[_0x191c7b(0x161)](_0xe4d2b7);return _0x31039b?_0x158b13(_0x31039b):this['_entityInit$'][_0x191c7b(0x2f8)](_0x50d02f(_0x207559=>_0x207559[_0x191c7b(0x1ba)]===_0xe4d2b7));}[_0x56867e(0x288)](_0x342d71){var _0x1c913e=_0x56867e;return _0x3b490e(this[_0x1c913e(0xf1)](_0x342d71)['pipe'](_0x52c811(()=>{})));}[_0x56867e(0x3ad)](){var _0x40a5c1=_0x56867e;this['_univerInstanceService'][_0x40a5c1(0x1d3)](_0x2f046a[_0x40a5c1(0x268)])[_0x40a5c1(0x2f8)](_0x57c994(this[_0x40a5c1(0x120)]),_0x11e07d(0x10))[_0x40a5c1(0x36d)](async _0x5dd264=>{var _0x5c9229=_0x40a5c1;const _0x1c69ac=_0x5dd264['getUnitId'](),_0x49186b=await this[_0x5c9229(0x2a2)](_0x1c69ac,Q['UNIVER_SHEET']);this[_0x5c9229(0x14d)][_0x5c9229(0x26d)](_0x1c69ac,_0x49186b);}),this['_univerInstanceService'][_0x40a5c1(0x1d3)](_0x2f046a[_0x40a5c1(0x2fd)])[_0x40a5c1(0x2f8)](_0x57c994(this[_0x40a5c1(0x120)]),_0x11e07d(0x10))['pipe'](_0x50d02f(_0x2dfef7=>!_0x2dfef7[_0x40a5c1(0x19d)]()['startsWith']('__')))[_0x40a5c1(0x36d)](async _0x4a111e=>{var _0x22c9d7=_0x40a5c1;const _0x30facf=_0x4a111e[_0x22c9d7(0x19d)](),_0x56806d=await this['_startCollaboration'](_0x30facf,Q[_0x22c9d7(0x2fd)]);this[_0x22c9d7(0x14d)][_0x22c9d7(0x26d)](_0x30facf,_0x56806d);}),_0x11f00c(this[_0x40a5c1(0x230)][_0x40a5c1(0x1aa)](_0x2f046a[_0x40a5c1(0x268)]),this[_0x40a5c1(0x230)]['getTypeOfUnitDisposed$'](_0x2f046a['UNIVER_DOC']))[_0x40a5c1(0x2f8)](_0x57c994(this['dispose$']))[_0x40a5c1(0x36d)](_0x4881aa=>{var _0x33e820=_0x40a5c1;const _0x567d63=_0x4881aa[_0x33e820(0x19d)](),_0x470600=this[_0x33e820(0x14d)][_0x33e820(0x39e)](_0x567d63);_0x470600&&(_0x470600[_0x33e820(0xc4)](),this[_0x33e820(0x14d)][_0x33e820(0x312)](_0x567d63));});}async[_0x56867e(0x2a2)](_0x27bef9,_0x1ae0e5){var _0x4d2e96=_0x56867e;const _0x3fc92d=await this[_0x4d2e96(0x3b6)][_0x4d2e96(0x136)](_0x27bef9),_0x1b5f27=this[_0x4d2e96(0x1b9)][_0x4d2e96(0x28d)](this['_getCtorByUniverType'](_0x1ae0e5),_0x27bef9,_0x1ae0e5,_0x3fc92d);return await _0x1b5f27[_0x4d2e96(0x284)](),this['_entityInit$']['next'](_0x1b5f27),_0x1b5f27;}[_0x56867e(0x134)](_0x19c95c){var _0x26f45b=_0x56867e;switch(_0x19c95c){case Q['UNIVER_DOC']:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x26f45b(0x338)+_0x19c95c);}}};st=cs([ft(0x0,_0x4e750e(_0x72784b)),ft(0x1,_0x4e750e(xe)),ft(0x2,_0x37d76b)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0x2701b4,_0x570110,_0x4a0e3d,_0x8d3e51)=>{for(var _0x29bd8b=_0x8d3e51>0x1?void 0x0:_0x8d3e51?hs(_0x570110,_0x4a0e3d):_0x570110,_0x21ceab=_0x2701b4['length']-0x1,_0x27a762;_0x21ceab>=0x0;_0x21ceab--)(_0x27a762=_0x2701b4[_0x21ceab])&&(_0x29bd8b=_0x27a762(_0x29bd8b)||_0x29bd8b);return _0x29bd8b;},zt=(_0x2ca583,_0x494e1e)=>(_0x5e15f0,_0x217cfb)=>_0x494e1e(_0x5e15f0,_0x217cfb,_0x2ca583);const ls='DEFAULT_FILE_NAME',us=_0x56867e(0x2b7);let Ct=class extends _0x12dfc4{constructor(_0x488424,_0x4e63c2){var _0x21d298=_0x56867e;super(),this[_0x21d298(0x230)]=_0x488424,this['_configService']=_0x4e63c2,this['_init']();}[_0x56867e(0x3ad)](){var _0x1f1022=_0x56867e;this[_0x1f1022(0xe7)](this[_0x1f1022(0x230)][_0x1f1022(0x296)][_0x1f1022(0x36d)](()=>{var _0x2f865a=_0x1f1022,_0x14b9aa;const _0x2e26fb=this['_univerInstanceService'][_0x2f865a(0x122)]();let _0x1d4f0d=(_0x14b9aa=this['_configService'][_0x2f865a(0x2ae)](ls))!=null?_0x14b9aa:us;_0x2e26fb instanceof _0x345c5b&&(_0x1d4f0d=_0x2e26fb[_0x2f865a(0x209)]),document[_0x2f865a(0x2d3)]=_0x1d4f0d;}));}};Ct=_s([zt(0x0,_0x37d76b),zt(0x1,_0x32a746)],Ct);var ds=Object[_0x56867e(0x190)],fs=(_0x1bff08,_0x294337,_0x273dbc,_0x5137ce)=>{var _0x50b462=_0x56867e;for(var _0x1df695=_0x5137ce>0x1?void 0x0:_0x5137ce?ds(_0x294337,_0x273dbc):_0x294337,_0xc72358=_0x1bff08[_0x50b462(0x2b6)]-0x1,_0x4ad282;_0xc72358>=0x0;_0xc72358--)(_0x4ad282=_0x1bff08[_0xc72358])&&(_0x1df695=_0x4ad282(_0x1df695)||_0x1df695);return _0x1df695;},vt=(_0xf012c7,_0x3f1b57)=>(_0x128a4b,_0x110a45)=>_0x3f1b57(_0x128a4b,_0x110a45,_0xf012c7);let rt=class{constructor(_0x38616d,_0x29d772,_0x2e373c){var _0x25b443=_0x56867e;this[_0x25b443(0x337)]=_0x38616d,this[_0x25b443(0x3bd)]=_0x29d772,this[_0x25b443(0x381)]=_0x2e373c,this[_0x25b443(0x284)]();}[_0x56867e(0x284)](){var _0xaeb4d8=_0x56867e;this[_0xaeb4d8(0x3bd)][_0xaeb4d8(0xce)]({'priority':0x1,'interceptor':(_0x1c8d35,_0x31d5d0)=>_0x31d5d0(_0x1c8d35)['pipe'](_0x528b0d(async _0x146288=>{var _0x64ed85=_0xaeb4d8;const _0x4d7c00=_0x146288;if(_0x4d7c00[_0x64ed85(0x35f)]===0x191){if(typeof window>'u')throw new Error(_0x64ed85(0x2f3));if(window[_0x64ed85(0x109)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x51e9df=window[_0x64ed85(0x142)](window[_0x64ed85(0x23d)][_0x64ed85(0x130)]);window[_0x64ed85(0x23d)]['href']=this[_0x64ed85(0x163)]()+_0x64ed85(0x25a)+_0x51e9df;}}return _0x4d7c00;}))});}[_0x56867e(0x163)](){var _0x2bd361=_0x56867e,_0x2718cc,_0xdeb740;const _0x10111b=this['_configService'][_0x2bd361(0x2ae)](Un),_0x535446=this['_configService'][_0x2bd361(0x2ae)](q);return(_0xdeb740=(_0x2718cc=_0x535446==null?void 0x0:_0x535446[_0x2bd361(0x2e2)])!=null?_0x2718cc:_0x10111b)!=null?_0xdeb740:An;}};rt=fs([vt(0x0,_0x32a746),vt(0x1,_0x4e750e(_0x459451)),vt(0x2,_0x4e750e(_0x54986a))],rt);var vs=Object[_0x56867e(0x190)],ps=(_0x101fdd,_0x310bd3,_0x50ff3e,_0xd12e12)=>{var _0x47d64e=_0x56867e;for(var _0xa4f11=_0xd12e12>0x1?void 0x0:_0xd12e12?vs(_0x310bd3,_0x50ff3e):_0x310bd3,_0x4de353=_0x101fdd[_0x47d64e(0x2b6)]-0x1,_0x1a1794;_0x4de353>=0x0;_0x4de353--)(_0x1a1794=_0x101fdd[_0x4de353])&&(_0xa4f11=_0x1a1794(_0xa4f11)||_0xa4f11);return _0xa4f11;},Jt=(_0x257a37,_0xc7e092)=>(_0x231691,_0x9641d5)=>_0xc7e092(_0x231691,_0x9641d5,_0x257a37);const Ni='AUTHZ_URL_KEY',ms=_0x56867e(0x1dd);let Rt=class extends _0x12dfc4{constructor(_0x164bea,_0x387592){var _0x317962=_0x56867e;super(),this[_0x317962(0x30a)]=_0x164bea,this[_0x317962(0x337)]=_0x387592,this[_0x317962(0xf8)]();}[_0x56867e(0xf8)](){var _0x4427f5=_0x56867e;const _0x1b7f32=this;this[_0x4427f5(0xe7)](this[_0x4427f5(0x30a)][_0x4427f5(0xce)]({'priority':0x3e7,'interceptor':_0x484a5c({'isMatch'(_0x14375e){var _0x5d8a29=_0x4427f5,_0xd280;if(_0x14375e['method']===_0x5d8a29(0x125)&&((_0xd280=_0x14375e['requestParams'])!=null&&_0xd280[_0x5d8a29(0x31e)])){const {objectID:_0x5b482f,objectType:_0x461f7a}=_0x14375e[_0x5d8a29(0x1dc)]['body']||{};if(!_0x5b482f||_0x461f7a===void 0x0)return!0x1;const _0x2ee094=_0x1b7f32[_0x5d8a29(0x231)]()+'/'+_0x461f7a+'/object/'+_0x5b482f+_0x5d8a29(0x1ed);if(_0x14375e[_0x5d8a29(0x20a)]===_0x2ee094)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1421ca){var _0x39929a;return(_0x39929a=_0x1421ca['requestParams'])==null?void 0x0:_0x39929a['body'];},'mergeParamsToRequest'(_0x1e6859,_0x25a393){var _0x2a7910=_0x4427f5;const _0x28ec2a=_0x1b7f32[_0x2a7910(0x231)]()+_0x2a7910(0x34e),_0x36cffd=_0x1e6859[_0x2a7910(0x331)]((_0x5b112f,_0x5eb079)=>{var _0x3c6d9a=_0x2a7910;const {unitID:_0x1c56e1,objectID:_0x781cf8,objectType:_0x3688b3,actions:_0x18a88e}=_0x5eb079;return _0x5b112f[_0x1c56e1]||(_0x5b112f[_0x1c56e1]={}),_0x5b112f[_0x1c56e1][_0x781cf8]||(_0x5b112f[_0x1c56e1][_0x781cf8]={'objectID':_0x781cf8,'objectType':_0x3688b3,'actions':[]}),_0x5b112f[_0x1c56e1][_0x781cf8][_0x3c6d9a(0x377)]['push'](..._0x18a88e),_0x5b112f;},{}),_0x2b2708=[];for(const _0x5a7dfd in _0x36cffd)for(const _0x144908 in _0x36cffd[_0x5a7dfd]){const {actions:_0x18d2c9,objectType:_0x4138fc}=_0x36cffd[_0x5a7dfd][_0x144908],_0x34484b=[...new Set(_0x18d2c9)];_0x2b2708[_0x2a7910(0x262)]({'unitID':_0x5a7dfd,'objectID':_0x144908,'objectType':_0x4138fc,'actions':_0x34484b});}return new _0x1d757c(_0x2a7910(0x125),_0x28ec2a,{'headers':_0x25a393[_0x2a7910(0x25d)],'withCredentials':_0x25a393[_0x2a7910(0x272)],'responseType':_0x25a393[_0x2a7910(0x33b)],'body':{'requests':_0x2b2708}});}},{'distributeResult'(_0x32aa4f,_0x513ac0){var _0x588724=_0x4427f5;const {objectActions:_0x14eb08}=_0x32aa4f;return _0x513ac0[_0x588724(0x29e)](_0x39a6ac=>{var _0x2a306e=_0x588724;const {unitID:_0x5137fd,objectID:_0x3393a2,actions:_0x458bca}=_0x39a6ac,_0x2209ca=_0x14eb08[_0x2a306e(0x382)](_0x4ab853=>_0x4ab853[_0x2a306e(0x1ba)]===_0x5137fd&&_0x4ab853[_0x2a306e(0x10a)]===_0x3393a2),_0x37187b=_0x458bca[_0x2a306e(0x29e)](_0x334000=>_0x2209ca==null?void 0x0:_0x2209ca['actions'][_0x2a306e(0x382)](_0x10ae96=>_0x10ae96[_0x2a306e(0x1f2)]===_0x334000))[_0x2a306e(0x2dc)](_0x47ab0e=>!!_0x47ab0e);return{'config':_0x39a6ac,'result':{'actions':_0x37187b,'error':_0x32aa4f[_0x2a306e(0x2cc)]}};});}})}));}[_0x56867e(0x231)](){var _0x3d1cd6=_0x56867e,_0x26b378,_0x4fbb77;const _0x42d8a3=this[_0x3d1cd6(0x337)]['getConfig'](Ni),_0xd9bdec=this['_configService']['getConfig'](q);return(_0x4fbb77=(_0x26b378=_0xd9bdec==null?void 0x0:_0xd9bdec[_0x3d1cd6(0x303)])!=null?_0x26b378:_0x42d8a3)!=null?_0x4fbb77:ms;}async[_0x56867e(0x3a3)](_0x25c8a4){var _0x42dca0=_0x56867e;const _0x35b6d1=this['_getAPIPrefixPath']()+'/'+_0x25c8a4[_0x42dca0(0x343)]+'/object';return(await this[_0x42dca0(0x30a)][_0x42dca0(0x26c)](_0x35b6d1,{'body':_0x25c8a4}))['body'][_0x42dca0(0x10a)]||'';}async[_0x56867e(0x16a)](_0x3b7374){var _0x131c1b=_0x56867e;const _0x11f42a=this[_0x131c1b(0x231)]()+_0x131c1b(0x3a0);return(await this['_HTTPService'][_0x131c1b(0x26c)](_0x11f42a,{'body':_0x3b7374}))[_0x131c1b(0x31e)]['objects'];}async['update'](_0x18699b){var _0x15274b=_0x56867e,_0x4cd7ad,_0x3ffff5;const _0x3b6346=this[_0x15274b(0x231)]()+'/'+_0x18699b[_0x15274b(0x343)]+_0x15274b(0x10c)+_0x18699b[_0x15274b(0x10a)],_0x55f8d4=await this[_0x15274b(0x30a)][_0x15274b(0x17c)](_0x3b6346,{'body':_0x18699b});if(((_0x3ffff5=(_0x4cd7ad=_0x55f8d4==null?void 0x0:_0x55f8d4[_0x15274b(0x31e)])==null?void 0x0:_0x4cd7ad[_0x15274b(0x2cc)])==null?void 0x0:_0x3ffff5[_0x15274b(0x22e)])!==0x1)throw new Error(_0x15274b(0x179));}async[_0x56867e(0x321)](_0x2f3b48){var _0x46ccd8=_0x56867e;const _0x1e0f5b=this[_0x46ccd8(0x231)]()+'/'+_0x2f3b48[_0x46ccd8(0x343)]+_0x46ccd8(0x10c)+_0x2f3b48[_0x46ccd8(0x10a)]+_0x46ccd8(0x1ed);return(await this[_0x46ccd8(0x30a)][_0x46ccd8(0x26c)](_0x1e0f5b,{'body':_0x2f3b48}))['body'][_0x46ccd8(0x377)];}async[_0x56867e(0x241)](_0x56d635){var _0x230e1c=_0x56867e;const _0x489a3f=this['_getAPIPrefixPath']()+_0x230e1c(0x34e);return(await this[_0x230e1c(0x30a)][_0x230e1c(0x26c)](_0x489a3f,{'body':{'requests':_0x56d635}}))[_0x230e1c(0x31e)][_0x230e1c(0x1bc)];}async[_0x56867e(0x294)](_0x5daf05){var _0x1fbbea=_0x56867e;const _0x5e31ec=this[_0x1fbbea(0x231)]()+'/'+_0x5daf05[_0x1fbbea(0x343)]+'/role',_0x488fa0=await this[_0x1fbbea(0x30a)][_0x1fbbea(0x26c)](_0x5e31ec,{'body':_0x5daf05});return{'roles':_0x488fa0['body']['roles'],'actions':_0x488fa0[_0x1fbbea(0x31e)][_0x1fbbea(0x377)]};}async[_0x56867e(0x348)](_0x188964){var _0x157598=_0x56867e;const _0x541252=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x157598(0x30a)][_0x157598(0x312)](_0x541252,{'params':{'collaboratorID':_0x188964[_0x157598(0x263)],'objectID':_0x188964['objectID'],'unitID':_0x188964['unitID']}});}async['updateCollaborator'](_0x5e1774){var _0x13c7cc=_0x56867e;const _0x391303=this[_0x13c7cc(0x231)]()+'/collaborator';await this['_HTTPService'][_0x13c7cc(0x11e)](_0x391303,{'body':_0x5e1774});}async[_0x56867e(0x131)](_0x36d37d){var _0x545536=_0x56867e;const _0x12184a=this[_0x545536(0x231)]()+_0x545536(0x2b5);await this[_0x545536(0x30a)][_0x545536(0x26c)](_0x12184a,{'body':_0x36d37d});}async['listCollaborators'](_0x24f805){var _0xa6097e=_0x56867e;const _0x2ec079=this[_0xa6097e(0x231)]()+_0xa6097e(0x2b5);return(await this[_0xa6097e(0x30a)][_0xa6097e(0x39e)](_0x2ec079,{'params':{'objectID':_0x24f805['objectID'],'unitID':_0x24f805[_0xa6097e(0x1ba)]}}))['body'][_0xa6097e(0x375)];}async[_0x56867e(0x374)](_0x47c85d){var _0x364ec3=_0x56867e;const _0x28c240=this[_0x364ec3(0x231)]()+_0x364ec3(0x2b5);await this['_HTTPService'][_0x364ec3(0x17c)](_0x28c240,{'body':_0x47c85d});}};Rt=ps([Jt(0x0,_0x4e750e(_0x459451)),Jt(0x1,_0x4e750e(_0x32a746))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3608bf){var _0x1534f2=_0x56867e;return _0x3608bf&&_0x3608bf[_0x1534f2(0x1b7)]&&Object['prototype'][_0x1534f2(0x1d9)][_0x1534f2(0xfa)](_0x3608bf,_0x1534f2(0x1c4))?_0x3608bf[_0x1534f2(0x1c4)]:_0x3608bf;}var Ve={'exports':{}};function gs(_0x41ba1c){var _0x449edb=_0x56867e;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x41ba1c+_0x449edb(0x129));}var Ge={'exports':{}},Ss=Ge[_0x56867e(0x3b5)],Xt;function ie(){var _0x185cad=_0x56867e;return Xt||(Xt=0x1,function(_0x380b80,_0x32c47d){(function(_0x39f28a,_0x527c4c){var _0x1c6a8b=_0x44f8;_0x380b80[_0x1c6a8b(0x3b5)]=_0x527c4c();}(Ss,function(){var _0x563ede=_0x563ede||function(_0x326cb6,_0x58c39b){var _0x6ae9c4=_0x44f8,_0x1bcb96;if(typeof window<'u'&&window[_0x6ae9c4(0x3b1)]&&(_0x1bcb96=window[_0x6ae9c4(0x3b1)]),typeof self<'u'&&self['crypto']&&(_0x1bcb96=self[_0x6ae9c4(0x3b1)]),typeof globalThis<'u'&&globalThis[_0x6ae9c4(0x3b1)]&&(_0x1bcb96=globalThis[_0x6ae9c4(0x3b1)]),!_0x1bcb96&&typeof window<'u'&&window[_0x6ae9c4(0x1b3)]&&(_0x1bcb96=window[_0x6ae9c4(0x1b3)]),!_0x1bcb96&&typeof pt<'u'&&pt[_0x6ae9c4(0x3b1)]&&(_0x1bcb96=pt[_0x6ae9c4(0x3b1)]),!_0x1bcb96&&typeof gs==_0x6ae9c4(0x16e))try{_0x1bcb96=require(_0x6ae9c4(0x3b1));}catch{}var _0x4cf726=function(){var _0x5c0846=_0x6ae9c4;if(_0x1bcb96){if(typeof _0x1bcb96[_0x5c0846(0x362)]==_0x5c0846(0x16e))try{return _0x1bcb96[_0x5c0846(0x362)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1bcb96[_0x5c0846(0x389)]==_0x5c0846(0x16e))try{return _0x1bcb96[_0x5c0846(0x389)](0x4)[_0x5c0846(0x36c)]();}catch{}}throw new Error(_0x5c0846(0x101));},_0x2bf69d=Object['create']||(function(){function _0x583aa5(){}return function(_0x57c146){var _0x3fe250=_0x44f8,_0x12b9f1;return _0x583aa5['prototype']=_0x57c146,_0x12b9f1=new _0x583aa5(),_0x583aa5[_0x3fe250(0x228)]=null,_0x12b9f1;};}()),_0x385593={},_0x5af0ef=_0x385593[_0x6ae9c4(0x37f)]={},_0x413451=_0x5af0ef[_0x6ae9c4(0x1cb)]=(function(){return{'extend':function(_0x19a8e7){var _0xeab3dc=_0x44f8,_0xa477a=_0x2bf69d(this);return _0x19a8e7&&_0xa477a[_0xeab3dc(0x227)](_0x19a8e7),(!_0xa477a[_0xeab3dc(0x1d9)](_0xeab3dc(0x284))||this['init']===_0xa477a[_0xeab3dc(0x284)])&&(_0xa477a[_0xeab3dc(0x284)]=function(){var _0x5e2d4c=_0xeab3dc;_0xa477a[_0x5e2d4c(0x1af)][_0x5e2d4c(0x284)][_0x5e2d4c(0x1fc)](this,arguments);}),_0xa477a[_0xeab3dc(0x284)]['prototype']=_0xa477a,_0xa477a[_0xeab3dc(0x1af)]=this,_0xa477a;},'create':function(){var _0x1abcc4=_0x44f8,_0x17262f=this[_0x1abcc4(0x273)]();return _0x17262f[_0x1abcc4(0x284)]['apply'](_0x17262f,arguments),_0x17262f;},'init':function(){},'mixIn':function(_0xa7f941){var _0x348546=_0x44f8;for(var _0x365ed9 in _0xa7f941)_0xa7f941[_0x348546(0x1d9)](_0x365ed9)&&(this[_0x365ed9]=_0xa7f941[_0x365ed9]);_0xa7f941[_0x348546(0x1d9)](_0x348546(0x276))&&(this['toString']=_0xa7f941[_0x348546(0x276)]);},'clone':function(){var _0x551415=_0x44f8;return this[_0x551415(0x284)][_0x551415(0x228)][_0x551415(0x273)](this);}};}()),_0x21283e=_0x5af0ef[_0x6ae9c4(0x1b1)]=_0x413451[_0x6ae9c4(0x273)]({'init':function(_0x823d86,_0x5d4880){var _0x30d509=_0x6ae9c4;_0x823d86=this['words']=_0x823d86||[],_0x5d4880!=_0x58c39b?this['sigBytes']=_0x5d4880:this[_0x30d509(0x253)]=_0x823d86[_0x30d509(0x2b6)]*0x4;},'toString':function(_0xaa2f8f){return(_0xaa2f8f||_0x1744b2)['stringify'](this);},'concat':function(_0x581d62){var _0x3c708f=_0x6ae9c4,_0xf803c4=this['words'],_0x5adbd7=_0x581d62['words'],_0x33b7d7=this['sigBytes'],_0x419acb=_0x581d62[_0x3c708f(0x253)];if(this['clamp'](),_0x33b7d7%0x4)for(var _0x14573f=0x0;_0x14573f<_0x419acb;_0x14573f++){var _0x173cde=_0x5adbd7[_0x14573f>>>0x2]>>>0x18-_0x14573f%0x4*0x8&0xff;_0xf803c4[_0x33b7d7+_0x14573f>>>0x2]|=_0x173cde<<0x18-(_0x33b7d7+_0x14573f)%0x4*0x8;}else{for(var _0x4a7a7c=0x0;_0x4a7a7c<_0x419acb;_0x4a7a7c+=0x4)_0xf803c4[_0x33b7d7+_0x4a7a7c>>>0x2]=_0x5adbd7[_0x4a7a7c>>>0x2];}return this['sigBytes']+=_0x419acb,this;},'clamp':function(){var _0x587f0a=_0x6ae9c4,_0x1c28fa=this['words'],_0x5d4d88=this[_0x587f0a(0x253)];_0x1c28fa[_0x5d4d88>>>0x2]&=0xffffffff<<0x20-_0x5d4d88%0x4*0x8,_0x1c28fa[_0x587f0a(0x2b6)]=_0x326cb6[_0x587f0a(0x1e0)](_0x5d4d88/0x4);},'clone':function(){var _0x813196=_0x6ae9c4,_0x288ddd=_0x413451[_0x813196(0x1bb)][_0x813196(0xfa)](this);return _0x288ddd[_0x813196(0x339)]=this[_0x813196(0x339)][_0x813196(0x2f0)](0x0),_0x288ddd;},'random':function(_0xd47319){var _0x1ff1e7=_0x6ae9c4;for(var _0x5342ff=[],_0x5cc7cf=0x0;_0x5cc7cf<_0xd47319;_0x5cc7cf+=0x4)_0x5342ff[_0x1ff1e7(0x262)](_0x4cf726());return new _0x21283e[(_0x1ff1e7(0x284))](_0x5342ff,_0xd47319);}}),_0x564f75=_0x385593[_0x6ae9c4(0x32f)]={},_0x1744b2=_0x564f75[_0x6ae9c4(0xe8)]={'stringify':function(_0x1f454f){var _0x42d267=_0x6ae9c4;for(var _0x24f225=_0x1f454f[_0x42d267(0x339)],_0xafc3c0=_0x1f454f[_0x42d267(0x253)],_0x3d6dc3=[],_0x1fc18c=0x0;_0x1fc18c<_0xafc3c0;_0x1fc18c++){var _0x63627e=_0x24f225[_0x1fc18c>>>0x2]>>>0x18-_0x1fc18c%0x4*0x8&0xff;_0x3d6dc3['push']((_0x63627e>>>0x4)[_0x42d267(0x276)](0x10)),_0x3d6dc3[_0x42d267(0x262)]((_0x63627e&0xf)['toString'](0x10));}return _0x3d6dc3[_0x42d267(0x1e3)]('');},'parse':function(_0x101ca6){var _0x39fe96=_0x6ae9c4;for(var _0x54edea=_0x101ca6[_0x39fe96(0x2b6)],_0x1656f8=[],_0x1fa45e=0x0;_0x1fa45e<_0x54edea;_0x1fa45e+=0x2)_0x1656f8[_0x1fa45e>>>0x3]|=parseInt(_0x101ca6['substr'](_0x1fa45e,0x2),0x10)<<0x18-_0x1fa45e%0x8*0x4;return new _0x21283e['init'](_0x1656f8,_0x54edea/0x2);}},_0x4eab43=_0x564f75[_0x6ae9c4(0x2bd)]={'stringify':function(_0x5946dc){var _0x1a28e5=_0x6ae9c4;for(var _0x317c38=_0x5946dc[_0x1a28e5(0x339)],_0x103489=_0x5946dc[_0x1a28e5(0x253)],_0x30fc10=[],_0x5b3a15=0x0;_0x5b3a15<_0x103489;_0x5b3a15++){var _0x2714a6=_0x317c38[_0x5b3a15>>>0x2]>>>0x18-_0x5b3a15%0x4*0x8&0xff;_0x30fc10[_0x1a28e5(0x262)](String[_0x1a28e5(0x391)](_0x2714a6));}return _0x30fc10[_0x1a28e5(0x1e3)]('');},'parse':function(_0xfabf95){var _0x2c79b9=_0x6ae9c4;for(var _0x50abc3=_0xfabf95[_0x2c79b9(0x2b6)],_0x4adff0=[],_0x39ae42=0x0;_0x39ae42<_0x50abc3;_0x39ae42++)_0x4adff0[_0x39ae42>>>0x2]|=(_0xfabf95['charCodeAt'](_0x39ae42)&0xff)<<0x18-_0x39ae42%0x4*0x8;return new _0x21283e['init'](_0x4adff0,_0x50abc3);}},_0x4e6ed6=_0x564f75[_0x6ae9c4(0x2ac)]={'stringify':function(_0x5551c8){var _0x12142f=_0x6ae9c4;try{return decodeURIComponent(escape(_0x4eab43['stringify'](_0x5551c8)));}catch{throw new Error(_0x12142f(0x153));}},'parse':function(_0x10111d){var _0x400fcd=_0x6ae9c4;return _0x4eab43[_0x400fcd(0x385)](unescape(encodeURIComponent(_0x10111d)));}},_0x196ec7=_0x5af0ef[_0x6ae9c4(0x3bb)]=_0x413451[_0x6ae9c4(0x273)]({'reset':function(){var _0x1e09f0=_0x6ae9c4;this[_0x1e09f0(0x31f)]=new _0x21283e['init'](),this[_0x1e09f0(0x2c3)]=0x0;},'_append':function(_0x151552){var _0x5d7793=_0x6ae9c4;typeof _0x151552=='string'&&(_0x151552=_0x4e6ed6[_0x5d7793(0x385)](_0x151552)),this[_0x5d7793(0x31f)]['concat'](_0x151552),this[_0x5d7793(0x2c3)]+=_0x151552[_0x5d7793(0x253)];},'_process':function(_0x2bf307){var _0x5af7c2=_0x6ae9c4,_0x5f03ce,_0x197a6a=this['_data'],_0x4ba0f9=_0x197a6a[_0x5af7c2(0x339)],_0x8cd830=_0x197a6a[_0x5af7c2(0x253)],_0x56cd40=this['blockSize'],_0x13856d=_0x56cd40*0x4,_0x254c8e=_0x8cd830/_0x13856d;_0x2bf307?_0x254c8e=_0x326cb6['ceil'](_0x254c8e):_0x254c8e=_0x326cb6[_0x5af7c2(0xd4)]((_0x254c8e|0x0)-this[_0x5af7c2(0x19c)],0x0);var _0x10755c=_0x254c8e*_0x56cd40,_0x4c544d=_0x326cb6[_0x5af7c2(0x12e)](_0x10755c*0x4,_0x8cd830);if(_0x10755c){for(var _0x2d17dd=0x0;_0x2d17dd<_0x10755c;_0x2d17dd+=_0x56cd40)this[_0x5af7c2(0x297)](_0x4ba0f9,_0x2d17dd);_0x5f03ce=_0x4ba0f9['splice'](0x0,_0x10755c),_0x197a6a[_0x5af7c2(0x253)]-=_0x4c544d;}return new _0x21283e[(_0x5af7c2(0x284))](_0x5f03ce,_0x4c544d);},'clone':function(){var _0x2cb07b=_0x6ae9c4,_0x532008=_0x413451[_0x2cb07b(0x1bb)][_0x2cb07b(0xfa)](this);return _0x532008['_data']=this['_data'][_0x2cb07b(0x1bb)](),_0x532008;},'_minBufferSize':0x0});_0x5af0ef[_0x6ae9c4(0x24a)]=_0x196ec7[_0x6ae9c4(0x273)]({'cfg':_0x413451[_0x6ae9c4(0x273)](),'init':function(_0x1dadcf){var _0x9d99c0=_0x6ae9c4;this[_0x9d99c0(0x1ef)]=this[_0x9d99c0(0x1ef)][_0x9d99c0(0x273)](_0x1dadcf),this['reset']();},'reset':function(){var _0x320f6f=_0x6ae9c4;_0x196ec7[_0x320f6f(0x2b9)][_0x320f6f(0xfa)](this),this[_0x320f6f(0x19b)]();},'update':function(_0x12474a){var _0x3ce6c1=_0x6ae9c4;return this[_0x3ce6c1(0x34c)](_0x12474a),this[_0x3ce6c1(0x170)](),this;},'finalize':function(_0x31e357){var _0x2f5377=_0x6ae9c4;_0x31e357&&this['_append'](_0x31e357);var _0x1d3bae=this[_0x2f5377(0x397)]();return _0x1d3bae;},'blockSize':0x10,'_createHelper':function(_0x1aa3ce){return function(_0x1a673f,_0x55fbf3){var _0x33ad58=_0x44f8;return new _0x1aa3ce[(_0x33ad58(0x284))](_0x55fbf3)[_0x33ad58(0x1d4)](_0x1a673f);};},'_createHmacHelper':function(_0x34d116){return function(_0x302fd6,_0xccdb19){var _0x14e5d9=_0x44f8;return new _0x437448[(_0x14e5d9(0x324))]['init'](_0x34d116,_0xccdb19)[_0x14e5d9(0x1d4)](_0x302fd6);};}});var _0x437448=_0x385593['algo']={};return _0x385593;}(Math);return _0x563ede;}));}(Ge)),Ge[_0x185cad(0x3b5)];}var We={'exports':{}},Es=We[_0x56867e(0x3b5)],Zt;function Di(){var _0x25b871=_0x56867e;return Zt||(Zt=0x1,function(_0x11c3d6,_0x4096cc){(function(_0x466c0b,_0x2b52f6){var _0x367f65=_0x44f8;_0x11c3d6[_0x367f65(0x3b5)]=_0x2b52f6(ie());}(Es,function(_0x308b62){var _0x43b23b=_0x44f8;return(function(){var _0x7e8d30=_0x44f8,_0x24ec9a=_0x308b62,_0x14e86c=_0x24ec9a[_0x7e8d30(0x37f)],_0x2e1ddb=_0x14e86c[_0x7e8d30(0x1b1)],_0x5ae5f4=_0x24ec9a[_0x7e8d30(0x32f)];_0x5ae5f4[_0x7e8d30(0x13e)]={'stringify':function(_0x59aa5f){var _0x2d4a18=_0x7e8d30,_0x204df4=_0x59aa5f[_0x2d4a18(0x339)],_0x217990=_0x59aa5f[_0x2d4a18(0x253)],_0x257080=this[_0x2d4a18(0xdd)];_0x59aa5f['clamp']();for(var _0x9019c8=[],_0x502af8=0x0;_0x502af8<_0x217990;_0x502af8+=0x3)for(var _0x2fceb8=_0x204df4[_0x502af8>>>0x2]>>>0x18-_0x502af8%0x4*0x8&0xff,_0x2ae83b=_0x204df4[_0x502af8+0x1>>>0x2]>>>0x18-(_0x502af8+0x1)%0x4*0x8&0xff,_0x397898=_0x204df4[_0x502af8+0x2>>>0x2]>>>0x18-(_0x502af8+0x2)%0x4*0x8&0xff,_0x3fbeab=_0x2fceb8<<0x10|_0x2ae83b<<0x8|_0x397898,_0xa0393f=0x0;_0xa0393f<0x4&&_0x502af8+_0xa0393f*0.75<_0x217990;_0xa0393f++)_0x9019c8['push'](_0x257080[_0x2d4a18(0x31b)](_0x3fbeab>>>0x6*(0x3-_0xa0393f)&0x3f));var _0xba3d64=_0x257080[_0x2d4a18(0x31b)](0x40);if(_0xba3d64){for(;_0x9019c8['length']%0x4;)_0x9019c8[_0x2d4a18(0x262)](_0xba3d64);}return _0x9019c8[_0x2d4a18(0x1e3)]('');},'parse':function(_0x437f04){var _0x564f17=_0x7e8d30,_0x11d356=_0x437f04[_0x564f17(0x2b6)],_0x435def=this['_map'],_0x2a4bbc=this[_0x564f17(0x1ce)];if(!_0x2a4bbc){_0x2a4bbc=this[_0x564f17(0x1ce)]=[];for(var _0x10dd30=0x0;_0x10dd30<_0x435def['length'];_0x10dd30++)_0x2a4bbc[_0x435def[_0x564f17(0x240)](_0x10dd30)]=_0x10dd30;}var _0x1ff850=_0x435def[_0x564f17(0x31b)](0x40);if(_0x1ff850){var _0x41bb85=_0x437f04['indexOf'](_0x1ff850);_0x41bb85!==-0x1&&(_0x11d356=_0x41bb85);}return _0x3e36bf(_0x437f04,_0x11d356,_0x2a4bbc);},'_map':_0x7e8d30(0x264)};function _0x3e36bf(_0x26bfc2,_0x1a69b8,_0x1a3b32){var _0x3ce558=_0x7e8d30;for(var _0x4703db=[],_0x52694c=0x0,_0x939cd3=0x0;_0x939cd3<_0x1a69b8;_0x939cd3++)if(_0x939cd3%0x4){var _0x544ca5=_0x1a3b32[_0x26bfc2[_0x3ce558(0x240)](_0x939cd3-0x1)]<<_0x939cd3%0x4*0x2,_0x40ec95=_0x1a3b32[_0x26bfc2['charCodeAt'](_0x939cd3)]>>>0x6-_0x939cd3%0x4*0x2,_0xab0a8b=_0x544ca5|_0x40ec95;_0x4703db[_0x52694c>>>0x2]|=_0xab0a8b<<0x18-_0x52694c%0x4*0x8,_0x52694c++;}return _0x2e1ddb[_0x3ce558(0x3a3)](_0x4703db,_0x52694c);}}()),_0x308b62[_0x43b23b(0x32f)][_0x43b23b(0x13e)];}));}(We)),We[_0x25b871(0x3b5)];}var Ke={'exports':{}},Is=Ke[_0x56867e(0x3b5)],Qt;function Ts(){var _0xbc651b=_0x56867e;return Qt||(Qt=0x1,function(_0xcf76f8,_0x5aa75c){(function(_0x570a8e,_0x475d87){var _0x20d879=_0x44f8;_0xcf76f8[_0x20d879(0x3b5)]=_0x475d87(ie());}(Is,function(_0x565190){var _0x577d10=_0x44f8;return function(_0x3617ae){var _0x50dcd5=_0x44f8,_0x7e776a=_0x565190,_0xbc9c6d=_0x7e776a[_0x50dcd5(0x37f)],_0x4f9fdd=_0xbc9c6d[_0x50dcd5(0x1b1)],_0x32083e=_0xbc9c6d[_0x50dcd5(0x24a)],_0x105f31=_0x7e776a[_0x50dcd5(0x167)],_0xc5eb82=[];(function(){var _0x356fe0=_0x50dcd5;for(var _0x2c4654=0x0;_0x2c4654<0x40;_0x2c4654++)_0xc5eb82[_0x2c4654]=_0x3617ae[_0x356fe0(0x274)](_0x3617ae[_0x356fe0(0x206)](_0x2c4654+0x1))*0x100000000|0x0;}());var _0x3e0680=_0x105f31[_0x50dcd5(0x278)]=_0x32083e[_0x50dcd5(0x273)]({'_doReset':function(){var _0xd51c0d=_0x50dcd5;this[_0xd51c0d(0x3b8)]=new _0x4f9fdd[(_0xd51c0d(0x284))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1b63ec,_0x24c70b){var _0x1d3896=_0x50dcd5;for(var _0x1b8276=0x0;_0x1b8276<0x10;_0x1b8276++){var _0x34af34=_0x24c70b+_0x1b8276,_0x28364e=_0x1b63ec[_0x34af34];_0x1b63ec[_0x34af34]=(_0x28364e<<0x8|_0x28364e>>>0x18)&0xff00ff|(_0x28364e<<0x18|_0x28364e>>>0x8)&0xff00ff00;}var _0x147d35=this['_hash'][_0x1d3896(0x339)],_0x1f5de9=_0x1b63ec[_0x24c70b+0x0],_0x48e9ca=_0x1b63ec[_0x24c70b+0x1],_0x298fad=_0x1b63ec[_0x24c70b+0x2],_0x2787ac=_0x1b63ec[_0x24c70b+0x3],_0x30942f=_0x1b63ec[_0x24c70b+0x4],_0x12b6b5=_0x1b63ec[_0x24c70b+0x5],_0xbd67be=_0x1b63ec[_0x24c70b+0x6],_0x50be02=_0x1b63ec[_0x24c70b+0x7],_0x3fae3a=_0x1b63ec[_0x24c70b+0x8],_0xf2fcea=_0x1b63ec[_0x24c70b+0x9],_0xa757dc=_0x1b63ec[_0x24c70b+0xa],_0x8a0f9e=_0x1b63ec[_0x24c70b+0xb],_0x4a9902=_0x1b63ec[_0x24c70b+0xc],_0x23eadc=_0x1b63ec[_0x24c70b+0xd],_0x28cb09=_0x1b63ec[_0x24c70b+0xe],_0x5f5302=_0x1b63ec[_0x24c70b+0xf],_0x2c0f76=_0x147d35[0x0],_0xa5ff3e=_0x147d35[0x1],_0x2affed=_0x147d35[0x2],_0x227ffe=_0x147d35[0x3];_0x2c0f76=_0x13609c(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x1f5de9,0x7,_0xc5eb82[0x0]),_0x227ffe=_0x13609c(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x48e9ca,0xc,_0xc5eb82[0x1]),_0x2affed=_0x13609c(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x298fad,0x11,_0xc5eb82[0x2]),_0xa5ff3e=_0x13609c(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x2787ac,0x16,_0xc5eb82[0x3]),_0x2c0f76=_0x13609c(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x30942f,0x7,_0xc5eb82[0x4]),_0x227ffe=_0x13609c(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x12b6b5,0xc,_0xc5eb82[0x5]),_0x2affed=_0x13609c(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0xbd67be,0x11,_0xc5eb82[0x6]),_0xa5ff3e=_0x13609c(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x50be02,0x16,_0xc5eb82[0x7]),_0x2c0f76=_0x13609c(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x3fae3a,0x7,_0xc5eb82[0x8]),_0x227ffe=_0x13609c(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0xf2fcea,0xc,_0xc5eb82[0x9]),_0x2affed=_0x13609c(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0xa757dc,0x11,_0xc5eb82[0xa]),_0xa5ff3e=_0x13609c(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x8a0f9e,0x16,_0xc5eb82[0xb]),_0x2c0f76=_0x13609c(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x4a9902,0x7,_0xc5eb82[0xc]),_0x227ffe=_0x13609c(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x23eadc,0xc,_0xc5eb82[0xd]),_0x2affed=_0x13609c(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x28cb09,0x11,_0xc5eb82[0xe]),_0xa5ff3e=_0x13609c(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x5f5302,0x16,_0xc5eb82[0xf]),_0x2c0f76=_0x5574d3(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x48e9ca,0x5,_0xc5eb82[0x10]),_0x227ffe=_0x5574d3(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0xbd67be,0x9,_0xc5eb82[0x11]),_0x2affed=_0x5574d3(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x8a0f9e,0xe,_0xc5eb82[0x12]),_0xa5ff3e=_0x5574d3(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x1f5de9,0x14,_0xc5eb82[0x13]),_0x2c0f76=_0x5574d3(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x12b6b5,0x5,_0xc5eb82[0x14]),_0x227ffe=_0x5574d3(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0xa757dc,0x9,_0xc5eb82[0x15]),_0x2affed=_0x5574d3(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x5f5302,0xe,_0xc5eb82[0x16]),_0xa5ff3e=_0x5574d3(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x30942f,0x14,_0xc5eb82[0x17]),_0x2c0f76=_0x5574d3(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0xf2fcea,0x5,_0xc5eb82[0x18]),_0x227ffe=_0x5574d3(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x28cb09,0x9,_0xc5eb82[0x19]),_0x2affed=_0x5574d3(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2787ac,0xe,_0xc5eb82[0x1a]),_0xa5ff3e=_0x5574d3(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x3fae3a,0x14,_0xc5eb82[0x1b]),_0x2c0f76=_0x5574d3(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x23eadc,0x5,_0xc5eb82[0x1c]),_0x227ffe=_0x5574d3(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x298fad,0x9,_0xc5eb82[0x1d]),_0x2affed=_0x5574d3(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x50be02,0xe,_0xc5eb82[0x1e]),_0xa5ff3e=_0x5574d3(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x4a9902,0x14,_0xc5eb82[0x1f]),_0x2c0f76=_0x3d1cea(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x12b6b5,0x4,_0xc5eb82[0x20]),_0x227ffe=_0x3d1cea(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x3fae3a,0xb,_0xc5eb82[0x21]),_0x2affed=_0x3d1cea(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x8a0f9e,0x10,_0xc5eb82[0x22]),_0xa5ff3e=_0x3d1cea(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x28cb09,0x17,_0xc5eb82[0x23]),_0x2c0f76=_0x3d1cea(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x48e9ca,0x4,_0xc5eb82[0x24]),_0x227ffe=_0x3d1cea(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x30942f,0xb,_0xc5eb82[0x25]),_0x2affed=_0x3d1cea(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x50be02,0x10,_0xc5eb82[0x26]),_0xa5ff3e=_0x3d1cea(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0xa757dc,0x17,_0xc5eb82[0x27]),_0x2c0f76=_0x3d1cea(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x23eadc,0x4,_0xc5eb82[0x28]),_0x227ffe=_0x3d1cea(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x1f5de9,0xb,_0xc5eb82[0x29]),_0x2affed=_0x3d1cea(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2787ac,0x10,_0xc5eb82[0x2a]),_0xa5ff3e=_0x3d1cea(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0xbd67be,0x17,_0xc5eb82[0x2b]),_0x2c0f76=_0x3d1cea(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0xf2fcea,0x4,_0xc5eb82[0x2c]),_0x227ffe=_0x3d1cea(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x4a9902,0xb,_0xc5eb82[0x2d]),_0x2affed=_0x3d1cea(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x5f5302,0x10,_0xc5eb82[0x2e]),_0xa5ff3e=_0x3d1cea(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x298fad,0x17,_0xc5eb82[0x2f]),_0x2c0f76=_0x190fc1(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x1f5de9,0x6,_0xc5eb82[0x30]),_0x227ffe=_0x190fc1(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x50be02,0xa,_0xc5eb82[0x31]),_0x2affed=_0x190fc1(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x28cb09,0xf,_0xc5eb82[0x32]),_0xa5ff3e=_0x190fc1(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x12b6b5,0x15,_0xc5eb82[0x33]),_0x2c0f76=_0x190fc1(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x4a9902,0x6,_0xc5eb82[0x34]),_0x227ffe=_0x190fc1(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x2787ac,0xa,_0xc5eb82[0x35]),_0x2affed=_0x190fc1(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0xa757dc,0xf,_0xc5eb82[0x36]),_0xa5ff3e=_0x190fc1(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x48e9ca,0x15,_0xc5eb82[0x37]),_0x2c0f76=_0x190fc1(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x3fae3a,0x6,_0xc5eb82[0x38]),_0x227ffe=_0x190fc1(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x5f5302,0xa,_0xc5eb82[0x39]),_0x2affed=_0x190fc1(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0xbd67be,0xf,_0xc5eb82[0x3a]),_0xa5ff3e=_0x190fc1(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0x23eadc,0x15,_0xc5eb82[0x3b]),_0x2c0f76=_0x190fc1(_0x2c0f76,_0xa5ff3e,_0x2affed,_0x227ffe,_0x30942f,0x6,_0xc5eb82[0x3c]),_0x227ffe=_0x190fc1(_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x2affed,_0x8a0f9e,0xa,_0xc5eb82[0x3d]),_0x2affed=_0x190fc1(_0x2affed,_0x227ffe,_0x2c0f76,_0xa5ff3e,_0x298fad,0xf,_0xc5eb82[0x3e]),_0xa5ff3e=_0x190fc1(_0xa5ff3e,_0x2affed,_0x227ffe,_0x2c0f76,_0xf2fcea,0x15,_0xc5eb82[0x3f]),_0x147d35[0x0]=_0x147d35[0x0]+_0x2c0f76|0x0,_0x147d35[0x1]=_0x147d35[0x1]+_0xa5ff3e|0x0,_0x147d35[0x2]=_0x147d35[0x2]+_0x2affed|0x0,_0x147d35[0x3]=_0x147d35[0x3]+_0x227ffe|0x0;},'_doFinalize':function(){var _0x3a6920=_0x50dcd5,_0x1b6c54=this[_0x3a6920(0x31f)],_0x5db568=_0x1b6c54[_0x3a6920(0x339)],_0xf978d1=this[_0x3a6920(0x2c3)]*0x8,_0x484bfc=_0x1b6c54[_0x3a6920(0x253)]*0x8;_0x5db568[_0x484bfc>>>0x5]|=0x80<<0x18-_0x484bfc%0x20;var _0x52c4a7=_0x3617ae[_0x3a6920(0x365)](_0xf978d1/0x100000000),_0x3b918e=_0xf978d1;_0x5db568[(_0x484bfc+0x40>>>0x9<<0x4)+0xf]=(_0x52c4a7<<0x8|_0x52c4a7>>>0x18)&0xff00ff|(_0x52c4a7<<0x18|_0x52c4a7>>>0x8)&0xff00ff00,_0x5db568[(_0x484bfc+0x40>>>0x9<<0x4)+0xe]=(_0x3b918e<<0x8|_0x3b918e>>>0x18)&0xff00ff|(_0x3b918e<<0x18|_0x3b918e>>>0x8)&0xff00ff00,_0x1b6c54['sigBytes']=(_0x5db568['length']+0x1)*0x4,this[_0x3a6920(0x170)]();for(var _0x1e39b5=this[_0x3a6920(0x3b8)],_0x409746=_0x1e39b5[_0x3a6920(0x339)],_0x2ba975=0x0;_0x2ba975<0x4;_0x2ba975++){var _0x3542af=_0x409746[_0x2ba975];_0x409746[_0x2ba975]=(_0x3542af<<0x8|_0x3542af>>>0x18)&0xff00ff|(_0x3542af<<0x18|_0x3542af>>>0x8)&0xff00ff00;}return _0x1e39b5;},'clone':function(){var _0x50854b=_0x50dcd5,_0x5646ff=_0x32083e[_0x50854b(0x1bb)][_0x50854b(0xfa)](this);return _0x5646ff[_0x50854b(0x3b8)]=this[_0x50854b(0x3b8)][_0x50854b(0x1bb)](),_0x5646ff;}});function _0x13609c(_0x2e43e6,_0x3c8c58,_0x587f81,_0x37855e,_0x1ccebd,_0x5814ac,_0x50859e){var _0x52a650=_0x2e43e6+(_0x3c8c58&_0x587f81|~_0x3c8c58&_0x37855e)+_0x1ccebd+_0x50859e;return(_0x52a650<<_0x5814ac|_0x52a650>>>0x20-_0x5814ac)+_0x3c8c58;}function _0x5574d3(_0x3814da,_0x4e6af9,_0x5a165b,_0x2e35bd,_0x4d1c9a,_0x44a451,_0x56e4b1){var _0x33d66f=_0x3814da+(_0x4e6af9&_0x2e35bd|_0x5a165b&~_0x2e35bd)+_0x4d1c9a+_0x56e4b1;return(_0x33d66f<<_0x44a451|_0x33d66f>>>0x20-_0x44a451)+_0x4e6af9;}function _0x3d1cea(_0x2bcae4,_0x532f52,_0x50ed40,_0x47c6c3,_0x3b69cd,_0x3ea53d,_0x3b0591){var _0x4dd278=_0x2bcae4+(_0x532f52^_0x50ed40^_0x47c6c3)+_0x3b69cd+_0x3b0591;return(_0x4dd278<<_0x3ea53d|_0x4dd278>>>0x20-_0x3ea53d)+_0x532f52;}function _0x190fc1(_0x43cb8f,_0x5324d8,_0x6bc8d2,_0x3f4f80,_0x10ad61,_0x3e4c1d,_0x5076f7){var _0x42fd3f=_0x43cb8f+(_0x6bc8d2^(_0x5324d8|~_0x3f4f80))+_0x10ad61+_0x5076f7;return(_0x42fd3f<<_0x3e4c1d|_0x42fd3f>>>0x20-_0x3e4c1d)+_0x5324d8;}_0x7e776a[_0x50dcd5(0x278)]=_0x32083e[_0x50dcd5(0x25f)](_0x3e0680),_0x7e776a[_0x50dcd5(0x1a2)]=_0x32083e[_0x50dcd5(0x222)](_0x3e0680);}(Math),_0x565190[_0x577d10(0x278)];}));}(Ke)),Ke[_0xbc651b(0x3b5)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x56867e(0x3b5)],ei;function Rs(){var _0x1052f6=_0x56867e;return ei||(ei=0x1,function(_0x543fb6,_0x438624){(function(_0x425873,_0x1abbee){_0x543fb6['exports']=_0x1abbee(ie());}(Cs,function(_0x4317a1){var _0x5230f7=_0x44f8;return(function(){var _0x50a51e=_0x44f8,_0x300663=_0x4317a1,_0x24147a=_0x300663[_0x50a51e(0x37f)],_0x1fc70b=_0x24147a[_0x50a51e(0x1b1)],_0x899ecd=_0x24147a[_0x50a51e(0x24a)],_0x11f486=_0x300663[_0x50a51e(0x167)],_0x1a6636=[],_0x3df434=_0x11f486[_0x50a51e(0xe3)]=_0x899ecd[_0x50a51e(0x273)]({'_doReset':function(){var _0x4d689a=_0x50a51e;this[_0x4d689a(0x3b8)]=new _0x1fc70b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x43347b,_0x21b50c){var _0x262d2e=_0x50a51e;for(var _0x1147b7=this[_0x262d2e(0x3b8)][_0x262d2e(0x339)],_0x16a5d0=_0x1147b7[0x0],_0xc6a514=_0x1147b7[0x1],_0x271199=_0x1147b7[0x2],_0xd59db7=_0x1147b7[0x3],_0x263095=_0x1147b7[0x4],_0x3869af=0x0;_0x3869af<0x50;_0x3869af++){if(_0x3869af<0x10)_0x1a6636[_0x3869af]=_0x43347b[_0x21b50c+_0x3869af]|0x0;else{var _0x30dd5b=_0x1a6636[_0x3869af-0x3]^_0x1a6636[_0x3869af-0x8]^_0x1a6636[_0x3869af-0xe]^_0x1a6636[_0x3869af-0x10];_0x1a6636[_0x3869af]=_0x30dd5b<<0x1|_0x30dd5b>>>0x1f;}var _0x4c0c3e=(_0x16a5d0<<0x5|_0x16a5d0>>>0x1b)+_0x263095+_0x1a6636[_0x3869af];_0x3869af<0x14?_0x4c0c3e+=(_0xc6a514&_0x271199|~_0xc6a514&_0xd59db7)+0x5a827999:_0x3869af<0x28?_0x4c0c3e+=(_0xc6a514^_0x271199^_0xd59db7)+0x6ed9eba1:_0x3869af<0x3c?_0x4c0c3e+=(_0xc6a514&_0x271199|_0xc6a514&_0xd59db7|_0x271199&_0xd59db7)-0x70e44324:_0x4c0c3e+=(_0xc6a514^_0x271199^_0xd59db7)-0x359d3e2a,_0x263095=_0xd59db7,_0xd59db7=_0x271199,_0x271199=_0xc6a514<<0x1e|_0xc6a514>>>0x2,_0xc6a514=_0x16a5d0,_0x16a5d0=_0x4c0c3e;}_0x1147b7[0x0]=_0x1147b7[0x0]+_0x16a5d0|0x0,_0x1147b7[0x1]=_0x1147b7[0x1]+_0xc6a514|0x0,_0x1147b7[0x2]=_0x1147b7[0x2]+_0x271199|0x0,_0x1147b7[0x3]=_0x1147b7[0x3]+_0xd59db7|0x0,_0x1147b7[0x4]=_0x1147b7[0x4]+_0x263095|0x0;},'_doFinalize':function(){var _0x3808ab=_0x50a51e,_0x5135a4=this[_0x3808ab(0x31f)],_0xda8153=_0x5135a4[_0x3808ab(0x339)],_0x55a346=this[_0x3808ab(0x2c3)]*0x8,_0x5947da=_0x5135a4[_0x3808ab(0x253)]*0x8;return _0xda8153[_0x5947da>>>0x5]|=0x80<<0x18-_0x5947da%0x20,_0xda8153[(_0x5947da+0x40>>>0x9<<0x4)+0xe]=Math[_0x3808ab(0x365)](_0x55a346/0x100000000),_0xda8153[(_0x5947da+0x40>>>0x9<<0x4)+0xf]=_0x55a346,_0x5135a4[_0x3808ab(0x253)]=_0xda8153[_0x3808ab(0x2b6)]*0x4,this[_0x3808ab(0x170)](),this[_0x3808ab(0x3b8)];},'clone':function(){var _0x5ea2ed=_0x50a51e,_0x5d778b=_0x899ecd[_0x5ea2ed(0x1bb)][_0x5ea2ed(0xfa)](this);return _0x5d778b[_0x5ea2ed(0x3b8)]=this[_0x5ea2ed(0x3b8)][_0x5ea2ed(0x1bb)](),_0x5d778b;}});_0x300663[_0x50a51e(0xe3)]=_0x899ecd['_createHelper'](_0x3df434),_0x300663[_0x50a51e(0xd7)]=_0x899ecd[_0x50a51e(0x222)](_0x3df434);}()),_0x4317a1[_0x5230f7(0xe3)];}));}(qe)),qe[_0x1052f6(0x3b5)];}var ze={'exports':{}},bs=ze[_0x56867e(0x3b5)],ti;function _0x44f8(_0x4b1953,_0x236336){var _0x12aefe=_0x12ae();return _0x44f8=function(_0x44f8d8,_0x5be3e5){_0x44f8d8=_0x44f8d8-0xbc;var _0x510905=_0x12aefe[_0x44f8d8];return _0x510905;},_0x44f8(_0x4b1953,_0x236336);}function Os(){var _0x40a517=_0x56867e;return ti||(ti=0x1,function(_0x143b98,_0x1e4d30){(function(_0x6b4070,_0x273655){_0x143b98['exports']=_0x273655(ie());}(bs,function(_0x45af1b){(function(){var _0x5dfd8e=_0x44f8,_0x516906=_0x45af1b,_0x29ccd8=_0x516906[_0x5dfd8e(0x37f)],_0x5967d1=_0x29ccd8[_0x5dfd8e(0x1cb)],_0x55ffac=_0x516906[_0x5dfd8e(0x32f)],_0x251ce9=_0x55ffac['Utf8'],_0x5070b5=_0x516906[_0x5dfd8e(0x167)];_0x5070b5[_0x5dfd8e(0x324)]=_0x5967d1[_0x5dfd8e(0x273)]({'init':function(_0x2da714,_0x26b301){var _0x2442d7=_0x5dfd8e;_0x2da714=this['_hasher']=new _0x2da714[(_0x2442d7(0x284))](),typeof _0x26b301==_0x2442d7(0x2e3)&&(_0x26b301=_0x251ce9[_0x2442d7(0x385)](_0x26b301));var _0x497513=_0x2da714['blockSize'],_0x1b4fb5=_0x497513*0x4;_0x26b301[_0x2442d7(0x253)]>_0x1b4fb5&&(_0x26b301=_0x2da714['finalize'](_0x26b301)),_0x26b301[_0x2442d7(0x22a)]();for(var _0x134620=this[_0x2442d7(0x18b)]=_0x26b301[_0x2442d7(0x1bb)](),_0x12b91a=this['_iKey']=_0x26b301['clone'](),_0x10e720=_0x134620['words'],_0x5804e6=_0x12b91a['words'],_0x2a1fb0=0x0;_0x2a1fb0<_0x497513;_0x2a1fb0++)_0x10e720[_0x2a1fb0]^=0x5c5c5c5c,_0x5804e6[_0x2a1fb0]^=0x36363636;_0x134620[_0x2442d7(0x253)]=_0x12b91a[_0x2442d7(0x253)]=_0x1b4fb5,this[_0x2442d7(0x2b9)]();},'reset':function(){var _0x755512=_0x5dfd8e,_0x1cedf7=this[_0x755512(0x10d)];_0x1cedf7[_0x755512(0x2b9)](),_0x1cedf7[_0x755512(0x21a)](this[_0x755512(0xd5)]);},'update':function(_0x489a9a){var _0x2ae35f=_0x5dfd8e;return this['_hasher'][_0x2ae35f(0x21a)](_0x489a9a),this;},'finalize':function(_0x34a658){var _0x25c25a=_0x5dfd8e,_0x262cb6=this[_0x25c25a(0x10d)],_0x48e4eb=_0x262cb6[_0x25c25a(0x1d4)](_0x34a658);_0x262cb6['reset']();var _0x16c219=_0x262cb6['finalize'](this['_oKey']['clone']()[_0x25c25a(0xea)](_0x48e4eb));return _0x16c219;}});}());}));}(ze)),ze[_0x40a517(0x3b5)];}var ys=Ye[_0x56867e(0x3b5)],ii;function Ui(){var _0x3fd7ad=_0x56867e;return ii||(ii=0x1,function(_0x1ac482,_0x10cd48){(function(_0x354bdc,_0x5e23cd,_0x3f1306){var _0x52134f=_0x44f8;_0x1ac482[_0x52134f(0x3b5)]=_0x5e23cd(ie(),Rs(),Os());}(ys,function(_0x1fb3c3){return(function(){var _0x17c71e=_0x44f8,_0x19118f=_0x1fb3c3,_0x58a22f=_0x19118f[_0x17c71e(0x37f)],_0x185d2d=_0x58a22f[_0x17c71e(0x1cb)],_0x235055=_0x58a22f[_0x17c71e(0x1b1)],_0x3d03f6=_0x19118f['algo'],_0x55ef9e=_0x3d03f6[_0x17c71e(0x278)],_0x851bc1=_0x3d03f6[_0x17c71e(0x1e8)]=_0x185d2d[_0x17c71e(0x273)]({'cfg':_0x185d2d['extend']({'keySize':0x80/0x20,'hasher':_0x55ef9e,'iterations':0x1}),'init':function(_0x1c2418){var _0x304089=_0x17c71e;this[_0x304089(0x1ef)]=this[_0x304089(0x1ef)][_0x304089(0x273)](_0x1c2418);},'compute':function(_0x1197b1,_0x1f069b){var _0x5e57b7=_0x17c71e;for(var _0x2c4612,_0x40c489=this[_0x5e57b7(0x1ef)],_0x2136b3=_0x40c489[_0x5e57b7(0x351)]['create'](),_0x27dc7b=_0x235055[_0x5e57b7(0x3a3)](),_0x589a8a=_0x27dc7b[_0x5e57b7(0x339)],_0x137b43=_0x40c489[_0x5e57b7(0x355)],_0x15598f=_0x40c489[_0x5e57b7(0x36b)];_0x589a8a[_0x5e57b7(0x2b6)]<_0x137b43;){_0x2c4612&&_0x2136b3[_0x5e57b7(0x21a)](_0x2c4612),_0x2c4612=_0x2136b3[_0x5e57b7(0x21a)](_0x1197b1)[_0x5e57b7(0x1d4)](_0x1f069b),_0x2136b3['reset']();for(var _0xfcd16e=0x1;_0xfcd16e<_0x15598f;_0xfcd16e++)_0x2c4612=_0x2136b3[_0x5e57b7(0x1d4)](_0x2c4612),_0x2136b3[_0x5e57b7(0x2b9)]();_0x27dc7b[_0x5e57b7(0xea)](_0x2c4612);}return _0x27dc7b[_0x5e57b7(0x253)]=_0x137b43*0x4,_0x27dc7b;}});_0x19118f['EvpKDF']=function(_0x182304,_0x13a109,_0x426fb0){var _0x33d565=_0x17c71e;return _0x851bc1['create'](_0x426fb0)[_0x33d565(0x17a)](_0x182304,_0x13a109);};}()),_0x1fb3c3['EvpKDF'];}));}(Ye)),Ye[_0x3fd7ad(0x3b5)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x349436=_0x56867e;return ni||(ni=0x1,function(_0x110bdf,_0x5a136e){(function(_0x1b1b1a,_0xecc0b7,_0x470d07){var _0x2740c0=_0x44f8;_0x110bdf[_0x2740c0(0x3b5)]=_0xecc0b7(ie(),Ui());}(Ns,function(_0x8c6237){_0x8c6237['lib']['Cipher']||function(_0xdd25ea){var _0x11d5a8=_0x44f8,_0x3b2159=_0x8c6237,_0xe25ee9=_0x3b2159['lib'],_0x9cf1a0=_0xe25ee9[_0x11d5a8(0x1cb)],_0x26ad42=_0xe25ee9['WordArray'],_0x2f51bf=_0xe25ee9[_0x11d5a8(0x3bb)],_0x5345eb=_0x3b2159[_0x11d5a8(0x32f)];_0x5345eb[_0x11d5a8(0x2ac)];var _0xff4558=_0x5345eb[_0x11d5a8(0x13e)],_0x3ca05b=_0x3b2159[_0x11d5a8(0x167)],_0x4d7fd2=_0x3ca05b[_0x11d5a8(0x1e8)],_0x7ad1d=_0xe25ee9['Cipher']=_0x2f51bf[_0x11d5a8(0x273)]({'cfg':_0x9cf1a0[_0x11d5a8(0x273)](),'createEncryptor':function(_0x115fd8,_0xef7cb2){var _0x4e9bc9=_0x11d5a8;return this[_0x4e9bc9(0x3a3)](this[_0x4e9bc9(0x1b4)],_0x115fd8,_0xef7cb2);},'createDecryptor':function(_0x42374e,_0x16b2b5){var _0xcc522c=_0x11d5a8;return this['create'](this[_0xcc522c(0x266)],_0x42374e,_0x16b2b5);},'init':function(_0x6803c3,_0xd45829,_0xa0ecb4){var _0x44ee05=_0x11d5a8;this[_0x44ee05(0x1ef)]=this[_0x44ee05(0x1ef)]['extend'](_0xa0ecb4),this['_xformMode']=_0x6803c3,this[_0x44ee05(0x110)]=_0xd45829,this[_0x44ee05(0x2b9)]();},'reset':function(){var _0x168ef9=_0x11d5a8;_0x2f51bf['reset']['call'](this),this[_0x168ef9(0x19b)]();},'process':function(_0x34d762){var _0xbc3ab9=_0x11d5a8;return this[_0xbc3ab9(0x34c)](_0x34d762),this[_0xbc3ab9(0x170)]();},'finalize':function(_0x5aa013){var _0x8418d6=_0x11d5a8;_0x5aa013&&this[_0x8418d6(0x34c)](_0x5aa013);var _0xec8a10=this[_0x8418d6(0x397)]();return _0xec8a10;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x460132(_0x3b70ea){return typeof _0x3b70ea=='string'?_0x242c12:_0x2276a0;}return function(_0x5e44ec){return{'encrypt':function(_0x8d139a,_0x1b23e3,_0x3fc9ec){var _0x4ab436=_0x44f8;return _0x460132(_0x1b23e3)[_0x4ab436(0xc2)](_0x5e44ec,_0x8d139a,_0x1b23e3,_0x3fc9ec);},'decrypt':function(_0x2f8634,_0x5514c3,_0x187af9){return _0x460132(_0x5514c3)['decrypt'](_0x5e44ec,_0x2f8634,_0x5514c3,_0x187af9);}};};}())});_0xe25ee9[_0x11d5a8(0x357)]=_0x7ad1d[_0x11d5a8(0x273)]({'_doFinalize':function(){var _0x8bb91e=_0x11d5a8,_0x169ae4=this[_0x8bb91e(0x170)](!0x0);return _0x169ae4;},'blockSize':0x1});var _0x142aed=_0x3b2159[_0x11d5a8(0x27d)]={},_0x28fa6d=_0xe25ee9[_0x11d5a8(0xec)]=_0x9cf1a0[_0x11d5a8(0x273)]({'createEncryptor':function(_0x31128f,_0x372651){var _0x1004e4=_0x11d5a8;return this['Encryptor'][_0x1004e4(0x3a3)](_0x31128f,_0x372651);},'createDecryptor':function(_0x1e884e,_0x1ba7bf){var _0x156f19=_0x11d5a8;return this['Decryptor'][_0x156f19(0x3a3)](_0x1e884e,_0x1ba7bf);},'init':function(_0x2aa871,_0x672450){var _0x5e609a=_0x11d5a8;this[_0x5e609a(0x173)]=_0x2aa871,this[_0x5e609a(0x35e)]=_0x672450;}}),_0x563304=_0x142aed[_0x11d5a8(0x2c2)]=(function(){var _0x4d5fb9=_0x11d5a8,_0x44df44=_0x28fa6d[_0x4d5fb9(0x273)]();_0x44df44['Encryptor']=_0x44df44[_0x4d5fb9(0x273)]({'processBlock':function(_0x4ba83e,_0x3ba928){var _0x3c3c41=_0x4d5fb9,_0x516e5a=this[_0x3c3c41(0x173)],_0x799a11=_0x516e5a['blockSize'];_0x548346[_0x3c3c41(0xfa)](this,_0x4ba83e,_0x3ba928,_0x799a11),_0x516e5a[_0x3c3c41(0x220)](_0x4ba83e,_0x3ba928),this[_0x3c3c41(0x176)]=_0x4ba83e[_0x3c3c41(0x2f0)](_0x3ba928,_0x3ba928+_0x799a11);}}),_0x44df44[_0x4d5fb9(0x159)]=_0x44df44[_0x4d5fb9(0x273)]({'processBlock':function(_0x179728,_0x1cb5b8){var _0xb30d9c=_0x4d5fb9,_0xb333b1=this['_cipher'],_0x5064bf=_0xb333b1['blockSize'],_0x2b1a49=_0x179728['slice'](_0x1cb5b8,_0x1cb5b8+_0x5064bf);_0xb333b1[_0xb30d9c(0x2b4)](_0x179728,_0x1cb5b8),_0x548346[_0xb30d9c(0xfa)](this,_0x179728,_0x1cb5b8,_0x5064bf),this['_prevBlock']=_0x2b1a49;}});function _0x548346(_0x1d6c35,_0x4f4104,_0x22ee24){var _0x551b69=_0x4d5fb9,_0x1bf9d4,_0x511dfd=this[_0x551b69(0x35e)];_0x511dfd?(_0x1bf9d4=_0x511dfd,this[_0x551b69(0x35e)]=_0xdd25ea):_0x1bf9d4=this[_0x551b69(0x176)];for(var _0x354204=0x0;_0x354204<_0x22ee24;_0x354204++)_0x1d6c35[_0x4f4104+_0x354204]^=_0x1bf9d4[_0x354204];}return _0x44df44;}()),_0x33cbcc=_0x3b2159['pad']={},_0x16c223=_0x33cbcc[_0x11d5a8(0xda)]={'pad':function(_0x815859,_0x27731a){var _0x292916=_0x11d5a8;for(var _0x319eb3=_0x27731a*0x4,_0x2e7c5c=_0x319eb3-_0x815859[_0x292916(0x253)]%_0x319eb3,_0x255680=_0x2e7c5c<<0x18|_0x2e7c5c<<0x10|_0x2e7c5c<<0x8|_0x2e7c5c,_0x1e53ba=[],_0x35c42d=0x0;_0x35c42d<_0x2e7c5c;_0x35c42d+=0x4)_0x1e53ba[_0x292916(0x262)](_0x255680);var _0x4be563=_0x26ad42[_0x292916(0x3a3)](_0x1e53ba,_0x2e7c5c);_0x815859[_0x292916(0xea)](_0x4be563);},'unpad':function(_0x379136){var _0x46d558=_0x11d5a8,_0x2defd7=_0x379136[_0x46d558(0x339)][_0x379136[_0x46d558(0x253)]-0x1>>>0x2]&0xff;_0x379136[_0x46d558(0x253)]-=_0x2defd7;}};_0xe25ee9[_0x11d5a8(0x1a3)]=_0x7ad1d[_0x11d5a8(0x273)]({'cfg':_0x7ad1d[_0x11d5a8(0x1ef)][_0x11d5a8(0x273)]({'mode':_0x563304,'padding':_0x16c223}),'reset':function(){var _0x325063=_0x11d5a8,_0x3b0802;_0x7ad1d[_0x325063(0x2b9)]['call'](this);var _0xf99e3c=this[_0x325063(0x1ef)],_0x17d2e4=_0xf99e3c['iv'],_0x4b44ad=_0xf99e3c[_0x325063(0x27d)];this[_0x325063(0x215)]==this[_0x325063(0x1b4)]?_0x3b0802=_0x4b44ad[_0x325063(0x1cd)]:(_0x3b0802=_0x4b44ad['createDecryptor'],this[_0x325063(0x19c)]=0x1),this['_mode']&&this[_0x325063(0xc5)][_0x325063(0x172)]==_0x3b0802?this['_mode'][_0x325063(0x284)](this,_0x17d2e4&&_0x17d2e4[_0x325063(0x339)]):(this[_0x325063(0xc5)]=_0x3b0802[_0x325063(0xfa)](_0x4b44ad,this,_0x17d2e4&&_0x17d2e4[_0x325063(0x339)]),this[_0x325063(0xc5)]['__creator']=_0x3b0802);},'_doProcessBlock':function(_0x1131d8,_0xb5d9bd){var _0x31e569=_0x11d5a8;this[_0x31e569(0xc5)][_0x31e569(0x267)](_0x1131d8,_0xb5d9bd);},'_doFinalize':function(){var _0x444220=_0x11d5a8,_0x4e0456,_0xcda159=this[_0x444220(0x1ef)][_0x444220(0x148)];return this['_xformMode']==this[_0x444220(0x1b4)]?(_0xcda159[_0x444220(0x318)](this['_data'],this[_0x444220(0x38e)]),_0x4e0456=this[_0x444220(0x170)](!0x0)):(_0x4e0456=this[_0x444220(0x170)](!0x0),_0xcda159[_0x444220(0x21f)](_0x4e0456)),_0x4e0456;},'blockSize':0x80/0x20});var _0x4b0a73=_0xe25ee9[_0x11d5a8(0x225)]=_0x9cf1a0[_0x11d5a8(0x273)]({'init':function(_0x4cfef8){var _0x41f9b6=_0x11d5a8;this[_0x41f9b6(0x227)](_0x4cfef8);},'toString':function(_0x4910b7){var _0x220b74=_0x11d5a8;return(_0x4910b7||this[_0x220b74(0x277)])[_0x220b74(0x178)](this);}}),_0x48ef27=_0x3b2159[_0x11d5a8(0xfb)]={},_0xca8179=_0x48ef27[_0x11d5a8(0x195)]={'stringify':function(_0x59987a){var _0x22ab1a=_0x11d5a8,_0x419ce7,_0x58daf7=_0x59987a['ciphertext'],_0x381390=_0x59987a[_0x22ab1a(0x2e0)];return _0x381390?_0x419ce7=_0x26ad42['create']([0x53616c74,0x65645f5f])[_0x22ab1a(0xea)](_0x381390)[_0x22ab1a(0xea)](_0x58daf7):_0x419ce7=_0x58daf7,_0x419ce7['toString'](_0xff4558);},'parse':function(_0x2187d1){var _0x539636=_0x11d5a8,_0x328eba,_0x5b0cd7=_0xff4558['parse'](_0x2187d1),_0x120bf1=_0x5b0cd7[_0x539636(0x339)];return _0x120bf1[0x0]==0x53616c74&&_0x120bf1[0x1]==0x65645f5f&&(_0x328eba=_0x26ad42[_0x539636(0x3a3)](_0x120bf1[_0x539636(0x2f0)](0x2,0x4)),_0x120bf1['splice'](0x0,0x4),_0x5b0cd7[_0x539636(0x253)]-=0x10),_0x4b0a73[_0x539636(0x3a3)]({'ciphertext':_0x5b0cd7,'salt':_0x328eba});}},_0x2276a0=_0xe25ee9[_0x11d5a8(0x32e)]=_0x9cf1a0[_0x11d5a8(0x273)]({'cfg':_0x9cf1a0[_0x11d5a8(0x273)]({'format':_0xca8179}),'encrypt':function(_0x1addf9,_0x30d4da,_0x36bac2,_0xf69d1f){var _0x5bff43=_0x11d5a8;_0xf69d1f=this[_0x5bff43(0x1ef)][_0x5bff43(0x273)](_0xf69d1f);var _0x421b3c=_0x1addf9[_0x5bff43(0x1cd)](_0x36bac2,_0xf69d1f),_0x424223=_0x421b3c['finalize'](_0x30d4da),_0x1385f6=_0x421b3c['cfg'];return _0x4b0a73[_0x5bff43(0x3a3)]({'ciphertext':_0x424223,'key':_0x36bac2,'iv':_0x1385f6['iv'],'algorithm':_0x1addf9,'mode':_0x1385f6[_0x5bff43(0x27d)],'padding':_0x1385f6[_0x5bff43(0x148)],'blockSize':_0x1addf9[_0x5bff43(0x38e)],'formatter':_0xf69d1f[_0x5bff43(0xfb)]});},'decrypt':function(_0x2b7198,_0x583cbe,_0x2d137d,_0x5eff87){var _0x539e05=_0x11d5a8;_0x5eff87=this['cfg'][_0x539e05(0x273)](_0x5eff87),_0x583cbe=this[_0x539e05(0x1c6)](_0x583cbe,_0x5eff87['format']);var _0x5083a7=_0x2b7198[_0x539e05(0x174)](_0x2d137d,_0x5eff87)['finalize'](_0x583cbe[_0x539e05(0xf2)]);return _0x5083a7;},'_parse':function(_0x171d84,_0x11b476){var _0x5e8c0d=_0x11d5a8;return typeof _0x171d84=='string'?_0x11b476[_0x5e8c0d(0x385)](_0x171d84,this):_0x171d84;}}),_0x56ae27=_0x3b2159[_0x11d5a8(0x395)]={},_0x2c32fd=_0x56ae27[_0x11d5a8(0x195)]={'execute':function(_0x4f1f45,_0x2bc444,_0x35b0b1,_0x342870,_0x166e76){var _0x8e1366=_0x11d5a8;if(_0x342870||(_0x342870=_0x26ad42[_0x8e1366(0x258)](0x40/0x8)),_0x166e76)var _0x2dcde3=_0x4d7fd2[_0x8e1366(0x3a3)]({'keySize':_0x2bc444+_0x35b0b1,'hasher':_0x166e76})['compute'](_0x4f1f45,_0x342870);else var _0x2dcde3=_0x4d7fd2[_0x8e1366(0x3a3)]({'keySize':_0x2bc444+_0x35b0b1})[_0x8e1366(0x17a)](_0x4f1f45,_0x342870);var _0x1d5771=_0x26ad42[_0x8e1366(0x3a3)](_0x2dcde3['words'][_0x8e1366(0x2f0)](_0x2bc444),_0x35b0b1*0x4);return _0x2dcde3['sigBytes']=_0x2bc444*0x4,_0x4b0a73[_0x8e1366(0x3a3)]({'key':_0x2dcde3,'iv':_0x1d5771,'salt':_0x342870});}},_0x242c12=_0xe25ee9['PasswordBasedCipher']=_0x2276a0['extend']({'cfg':_0x2276a0[_0x11d5a8(0x1ef)][_0x11d5a8(0x273)]({'kdf':_0x2c32fd}),'encrypt':function(_0x32deaf,_0x27114a,_0x340fba,_0x4cf4c4){var _0x5f144b=_0x11d5a8;_0x4cf4c4=this[_0x5f144b(0x1ef)][_0x5f144b(0x273)](_0x4cf4c4);var _0x41d1ab=_0x4cf4c4[_0x5f144b(0x395)][_0x5f144b(0xe4)](_0x340fba,_0x32deaf[_0x5f144b(0x355)],_0x32deaf['ivSize'],_0x4cf4c4[_0x5f144b(0x2e0)],_0x4cf4c4[_0x5f144b(0x351)]);_0x4cf4c4['iv']=_0x41d1ab['iv'];var _0x756e2f=_0x2276a0[_0x5f144b(0xc2)][_0x5f144b(0xfa)](this,_0x32deaf,_0x27114a,_0x41d1ab[_0x5f144b(0x186)],_0x4cf4c4);return _0x756e2f[_0x5f144b(0x227)](_0x41d1ab),_0x756e2f;},'decrypt':function(_0x7364b8,_0x356076,_0x1f417e,_0x1b880c){var _0x18bdf0=_0x11d5a8;_0x1b880c=this[_0x18bdf0(0x1ef)][_0x18bdf0(0x273)](_0x1b880c),_0x356076=this['_parse'](_0x356076,_0x1b880c['format']);var _0x501a90=_0x1b880c['kdf']['execute'](_0x1f417e,_0x7364b8[_0x18bdf0(0x355)],_0x7364b8['ivSize'],_0x356076[_0x18bdf0(0x2e0)],_0x1b880c[_0x18bdf0(0x351)]);_0x1b880c['iv']=_0x501a90['iv'];var _0x223de4=_0x2276a0[_0x18bdf0(0x13c)][_0x18bdf0(0xfa)](this,_0x7364b8,_0x356076,_0x501a90[_0x18bdf0(0x186)],_0x1b880c);return _0x223de4;}});}();}));}(Je)),Je[_0x349436(0x3b5)];}var Ds=Ve[_0x56867e(0x3b5)],si;function Us(){return si||(si=0x1,function(_0x555e98,_0x5bbfdd){(function(_0x585fd5,_0x53d4a6,_0x13b101){var _0x18d45b=_0x44f8;_0x555e98[_0x18d45b(0x3b5)]=_0x53d4a6(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x597d9f){var _0x56c9c5=_0x44f8;return(function(){var _0x19ea7e=_0x44f8,_0x1a848c=_0x597d9f,_0x41104d=_0x1a848c[_0x19ea7e(0x37f)],_0x45c8c8=_0x41104d['BlockCipher'],_0x242770=_0x1a848c['algo'],_0x3b66d1=[],_0x3894fa=[],_0x14b831=[],_0x3420ba=[],_0x22b627=[],_0x54c2df=[],_0x4321b3=[],_0x413d06=[],_0x451ab=[],_0x4bb22c=[];(function(){for(var _0x518624=[],_0x5b0f65=0x0;_0x5b0f65<0x100;_0x5b0f65++)_0x5b0f65<0x80?_0x518624[_0x5b0f65]=_0x5b0f65<<0x1:_0x518624[_0x5b0f65]=_0x5b0f65<<0x1^0x11b;for(var _0x3f5d92=0x0,_0x561674=0x0,_0x5b0f65=0x0;_0x5b0f65<0x100;_0x5b0f65++){var _0x5dcee1=_0x561674^_0x561674<<0x1^_0x561674<<0x2^_0x561674<<0x3^_0x561674<<0x4;_0x5dcee1=_0x5dcee1>>>0x8^_0x5dcee1&0xff^0x63,_0x3b66d1[_0x3f5d92]=_0x5dcee1,_0x3894fa[_0x5dcee1]=_0x3f5d92;var _0x516a0e=_0x518624[_0x3f5d92],_0x170a89=_0x518624[_0x516a0e],_0x406186=_0x518624[_0x170a89],_0x39e7c5=_0x518624[_0x5dcee1]*0x101^_0x5dcee1*0x1010100;_0x14b831[_0x3f5d92]=_0x39e7c5<<0x18|_0x39e7c5>>>0x8,_0x3420ba[_0x3f5d92]=_0x39e7c5<<0x10|_0x39e7c5>>>0x10,_0x22b627[_0x3f5d92]=_0x39e7c5<<0x8|_0x39e7c5>>>0x18,_0x54c2df[_0x3f5d92]=_0x39e7c5;var _0x39e7c5=_0x406186*0x1010101^_0x170a89*0x10001^_0x516a0e*0x101^_0x3f5d92*0x1010100;_0x4321b3[_0x5dcee1]=_0x39e7c5<<0x18|_0x39e7c5>>>0x8,_0x413d06[_0x5dcee1]=_0x39e7c5<<0x10|_0x39e7c5>>>0x10,_0x451ab[_0x5dcee1]=_0x39e7c5<<0x8|_0x39e7c5>>>0x18,_0x4bb22c[_0x5dcee1]=_0x39e7c5,_0x3f5d92?(_0x3f5d92=_0x516a0e^_0x518624[_0x518624[_0x518624[_0x406186^_0x516a0e]]],_0x561674^=_0x518624[_0x518624[_0x561674]]):_0x3f5d92=_0x561674=0x1;}}());var _0x3c4950=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5dc622=_0x242770[_0x19ea7e(0x308)]=_0x45c8c8['extend']({'_doReset':function(){var _0x1e4503=_0x19ea7e,_0x581ea0;if(!(this[_0x1e4503(0x234)]&&this[_0x1e4503(0x106)]===this['_key'])){for(var _0x302024=this['_keyPriorReset']=this[_0x1e4503(0x110)],_0x4a31d9=_0x302024[_0x1e4503(0x339)],_0x2aa4f1=_0x302024['sigBytes']/0x4,_0x4389ae=this[_0x1e4503(0x234)]=_0x2aa4f1+0x6,_0x2b0ec7=(_0x4389ae+0x1)*0x4,_0x33888d=this['_keySchedule']=[],_0x3cb55f=0x0;_0x3cb55f<_0x2b0ec7;_0x3cb55f++)_0x3cb55f<_0x2aa4f1?_0x33888d[_0x3cb55f]=_0x4a31d9[_0x3cb55f]:(_0x581ea0=_0x33888d[_0x3cb55f-0x1],_0x3cb55f%_0x2aa4f1?_0x2aa4f1>0x6&&_0x3cb55f%_0x2aa4f1==0x4&&(_0x581ea0=_0x3b66d1[_0x581ea0>>>0x18]<<0x18|_0x3b66d1[_0x581ea0>>>0x10&0xff]<<0x10|_0x3b66d1[_0x581ea0>>>0x8&0xff]<<0x8|_0x3b66d1[_0x581ea0&0xff]):(_0x581ea0=_0x581ea0<<0x8|_0x581ea0>>>0x18,_0x581ea0=_0x3b66d1[_0x581ea0>>>0x18]<<0x18|_0x3b66d1[_0x581ea0>>>0x10&0xff]<<0x10|_0x3b66d1[_0x581ea0>>>0x8&0xff]<<0x8|_0x3b66d1[_0x581ea0&0xff],_0x581ea0^=_0x3c4950[_0x3cb55f/_0x2aa4f1|0x0]<<0x18),_0x33888d[_0x3cb55f]=_0x33888d[_0x3cb55f-_0x2aa4f1]^_0x581ea0);for(var _0x28a310=this[_0x1e4503(0xdf)]=[],_0x8ccdd2=0x0;_0x8ccdd2<_0x2b0ec7;_0x8ccdd2++){var _0x3cb55f=_0x2b0ec7-_0x8ccdd2;if(_0x8ccdd2%0x4)var _0x581ea0=_0x33888d[_0x3cb55f];else var _0x581ea0=_0x33888d[_0x3cb55f-0x4];_0x8ccdd2<0x4||_0x3cb55f<=0x4?_0x28a310[_0x8ccdd2]=_0x581ea0:_0x28a310[_0x8ccdd2]=_0x4321b3[_0x3b66d1[_0x581ea0>>>0x18]]^_0x413d06[_0x3b66d1[_0x581ea0>>>0x10&0xff]]^_0x451ab[_0x3b66d1[_0x581ea0>>>0x8&0xff]]^_0x4bb22c[_0x3b66d1[_0x581ea0&0xff]];}}},'encryptBlock':function(_0x1b432b,_0x5cb04a){var _0x164876=_0x19ea7e;this[_0x164876(0x2a1)](_0x1b432b,_0x5cb04a,this[_0x164876(0x238)],_0x14b831,_0x3420ba,_0x22b627,_0x54c2df,_0x3b66d1);},'decryptBlock':function(_0x54583a,_0x25d8ef){var _0x21d7be=_0x19ea7e,_0x409224=_0x54583a[_0x25d8ef+0x1];_0x54583a[_0x25d8ef+0x1]=_0x54583a[_0x25d8ef+0x3],_0x54583a[_0x25d8ef+0x3]=_0x409224,this['_doCryptBlock'](_0x54583a,_0x25d8ef,this[_0x21d7be(0xdf)],_0x4321b3,_0x413d06,_0x451ab,_0x4bb22c,_0x3894fa);var _0x409224=_0x54583a[_0x25d8ef+0x1];_0x54583a[_0x25d8ef+0x1]=_0x54583a[_0x25d8ef+0x3],_0x54583a[_0x25d8ef+0x3]=_0x409224;},'_doCryptBlock':function(_0x375965,_0x16ce6d,_0x1d9a02,_0x48c07e,_0x5b7f62,_0x493d87,_0x103c3b,_0x43cb4c){var _0x34361e=_0x19ea7e;for(var _0x26fdb1=this[_0x34361e(0x234)],_0xc11101=_0x375965[_0x16ce6d]^_0x1d9a02[0x0],_0x58b086=_0x375965[_0x16ce6d+0x1]^_0x1d9a02[0x1],_0x565486=_0x375965[_0x16ce6d+0x2]^_0x1d9a02[0x2],_0x2a41d0=_0x375965[_0x16ce6d+0x3]^_0x1d9a02[0x3],_0x1faa12=0x4,_0x20bfba=0x1;_0x20bfba<_0x26fdb1;_0x20bfba++){var _0x57f1e7=_0x48c07e[_0xc11101>>>0x18]^_0x5b7f62[_0x58b086>>>0x10&0xff]^_0x493d87[_0x565486>>>0x8&0xff]^_0x103c3b[_0x2a41d0&0xff]^_0x1d9a02[_0x1faa12++],_0x348898=_0x48c07e[_0x58b086>>>0x18]^_0x5b7f62[_0x565486>>>0x10&0xff]^_0x493d87[_0x2a41d0>>>0x8&0xff]^_0x103c3b[_0xc11101&0xff]^_0x1d9a02[_0x1faa12++],_0x2d12ca=_0x48c07e[_0x565486>>>0x18]^_0x5b7f62[_0x2a41d0>>>0x10&0xff]^_0x493d87[_0xc11101>>>0x8&0xff]^_0x103c3b[_0x58b086&0xff]^_0x1d9a02[_0x1faa12++],_0x515303=_0x48c07e[_0x2a41d0>>>0x18]^_0x5b7f62[_0xc11101>>>0x10&0xff]^_0x493d87[_0x58b086>>>0x8&0xff]^_0x103c3b[_0x565486&0xff]^_0x1d9a02[_0x1faa12++];_0xc11101=_0x57f1e7,_0x58b086=_0x348898,_0x565486=_0x2d12ca,_0x2a41d0=_0x515303;}var _0x57f1e7=(_0x43cb4c[_0xc11101>>>0x18]<<0x18|_0x43cb4c[_0x58b086>>>0x10&0xff]<<0x10|_0x43cb4c[_0x565486>>>0x8&0xff]<<0x8|_0x43cb4c[_0x2a41d0&0xff])^_0x1d9a02[_0x1faa12++],_0x348898=(_0x43cb4c[_0x58b086>>>0x18]<<0x18|_0x43cb4c[_0x565486>>>0x10&0xff]<<0x10|_0x43cb4c[_0x2a41d0>>>0x8&0xff]<<0x8|_0x43cb4c[_0xc11101&0xff])^_0x1d9a02[_0x1faa12++],_0x2d12ca=(_0x43cb4c[_0x565486>>>0x18]<<0x18|_0x43cb4c[_0x2a41d0>>>0x10&0xff]<<0x10|_0x43cb4c[_0xc11101>>>0x8&0xff]<<0x8|_0x43cb4c[_0x58b086&0xff])^_0x1d9a02[_0x1faa12++],_0x515303=(_0x43cb4c[_0x2a41d0>>>0x18]<<0x18|_0x43cb4c[_0xc11101>>>0x10&0xff]<<0x10|_0x43cb4c[_0x58b086>>>0x8&0xff]<<0x8|_0x43cb4c[_0x565486&0xff])^_0x1d9a02[_0x1faa12++];_0x375965[_0x16ce6d]=_0x57f1e7,_0x375965[_0x16ce6d+0x1]=_0x348898,_0x375965[_0x16ce6d+0x2]=_0x2d12ca,_0x375965[_0x16ce6d+0x3]=_0x515303;},'keySize':0x100/0x20});_0x1a848c[_0x19ea7e(0x308)]=_0x45c8c8[_0x19ea7e(0x25f)](_0x5dc622);}()),_0x597d9f[_0x56c9c5(0x308)];}));}(Ve)),Ve['exports'];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x56867e(0x3b5)],ai;function xs(){var _0x3795c4=_0x56867e;return ai||(ai=0x1,function(_0x87bbde,_0x174b31){(function(_0x4f1809,_0x496ac1){var _0x2ef09b=_0x44f8;_0x87bbde[_0x2ef09b(0x3b5)]=_0x496ac1(ie());}(Ls,function(_0x1541d8){var _0x21911f=_0x44f8;return _0x1541d8[_0x21911f(0x32f)][_0x21911f(0x2ac)];}));}(Xe)),Xe[_0x3795c4(0x3b5)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x56867e(0x3b5)],oi;function Hs(){var _0x41531f=_0x56867e;return oi||(oi=0x1,function(_0x528dca,_0x3763b6){(function(_0xae4296,_0x1c1008){_0x528dca['exports']=_0x1c1008(ie());}($s,function(_0x22db6f){var _0x33477b=_0x44f8;return(function(){var _0x4e2819=_0x44f8;if(typeof ArrayBuffer==_0x4e2819(0x16e)){var _0x1ba306=_0x22db6f,_0xed008b=_0x1ba306['lib'],_0xaa43f2=_0xed008b[_0x4e2819(0x1b1)],_0x819464=_0xaa43f2[_0x4e2819(0x284)],_0x485b27=_0xaa43f2[_0x4e2819(0x284)]=function(_0x2c0b0f){var _0x1912d2=_0x4e2819;if(_0x2c0b0f instanceof ArrayBuffer&&(_0x2c0b0f=new Uint8Array(_0x2c0b0f)),(_0x2c0b0f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2c0b0f instanceof Uint8ClampedArray||_0x2c0b0f instanceof Int16Array||_0x2c0b0f instanceof Uint16Array||_0x2c0b0f instanceof Int32Array||_0x2c0b0f instanceof Uint32Array||_0x2c0b0f instanceof Float32Array||_0x2c0b0f instanceof Float64Array)&&(_0x2c0b0f=new Uint8Array(_0x2c0b0f['buffer'],_0x2c0b0f[_0x1912d2(0x200)],_0x2c0b0f[_0x1912d2(0x317)])),_0x2c0b0f instanceof Uint8Array){for(var _0x18bae0=_0x2c0b0f['byteLength'],_0x4ab5b8=[],_0x21d54d=0x0;_0x21d54d<_0x18bae0;_0x21d54d++)_0x4ab5b8[_0x21d54d>>>0x2]|=_0x2c0b0f[_0x21d54d]<<0x18-_0x21d54d%0x4*0x8;_0x819464['call'](this,_0x4ab5b8,_0x18bae0);}else _0x819464['apply'](this,arguments);};_0x485b27[_0x4e2819(0x228)]=_0xaa43f2;}}()),_0x22db6f[_0x33477b(0x37f)][_0x33477b(0x1b1)];}));}(Ze)),Ze[_0x41531f(0x3b5)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x56867e(0x3b5)],ci;function Vs(){var _0x4dbe41=_0x56867e;return ci||(ci=0x1,function(_0x5428bc,_0x595a33){(function(_0x3187ce,_0x1c65fa,_0x141063){_0x5428bc['exports']=_0x1c65fa(ie(),Ai());}(Fs,function(_0x25ca32){var _0x123973=_0x44f8;return _0x25ca32[_0x123973(0x318)][_0x123973(0x135)]={'pad':function(){},'unpad':function(){}},_0x25ca32['pad']['NoPadding'];}));}(Qe)),Qe[_0x4dbe41(0x3b5)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x4ecdb2,_0x46b54e){var _0xc9a884=_0x56867e;const _0x51f4b6=_0x46b54e-_0x4ecdb2[_0xc9a884(0x2b6)]%_0x46b54e,_0x10c2e7=String[_0xc9a884(0x391)](_0x51f4b6)[_0xc9a884(0x2ea)](_0x51f4b6);return _0x4ecdb2+_0x10c2e7;}function Ys(_0x4e195,_0x4f325a){var _0x25c3ca=_0x56867e;const _0x22dc41=js[_0x25c3ca(0x258)](0x10),_0x460444=Ks(_0x4e195,0x10),_0xe769b1=ws[_0x25c3ca(0xc2)](ks['parse'](_0x460444),ri[_0x25c3ca(0x385)](_0x4f325a),{'iv':_0x22dc41,'padding':Ws});return _0x22dc41[_0x25c3ca(0xea)](_0xe769b1[_0x25c3ca(0xf2)])[_0x25c3ca(0x276)](ri);}function qs(){var _0x35517b=_0x56867e;const _0xe1279e=_0x2097bd()['__Key__'];if(_0xe1279e){const _0x389d87={'time':Math[_0x35517b(0x365)](Date['now']()/0x3e8),'domain':location['hostname']};return Ys(JSON[_0x35517b(0x178)](_0x389d87),_0xe1279e);}}var zs=Object[_0x56867e(0x190)],Js=(_0x4b54b6,_0x13f605,_0x423981,_0x4e67e9)=>{var _0x1a04a8=_0x56867e;for(var _0x3a1aca=_0x4e67e9>0x1?void 0x0:_0x4e67e9?zs(_0x13f605,_0x423981):_0x13f605,_0x4c563f=_0x4b54b6[_0x1a04a8(0x2b6)]-0x1,_0x3baa2e;_0x4c563f>=0x0;_0x4c563f--)(_0x3baa2e=_0x4b54b6[_0x4c563f])&&(_0x3a1aca=_0x3baa2e(_0x3a1aca)||_0x3a1aca);return _0x3a1aca;},Xs=(_0x1b3a60,_0x4221e9)=>(_0x5c3a44,_0x2a24aa)=>_0x4221e9(_0x5c3a44,_0x2a24aa,_0x1b3a60);let at=class{constructor(_0x33f34d){var _0x2a6403=_0x56867e;this[_0x2a6403(0x3bd)]=_0x33f34d,this[_0x2a6403(0x181)]();}[_0x56867e(0x181)](){var _0x1158ec=_0x56867e;this[_0x1158ec(0x3bd)][_0x1158ec(0xce)]({'interceptor':(_0x1847f3,_0x366fab)=>{var _0x5e0c50=_0x1158ec;const _0x5a311e=_0x1847f3[_0x5e0c50(0x25d)],_0x16cfb3=qs();return _0x16cfb3&&_0x5a311e['set'](_0x5e0c50(0x35a),_0x16cfb3),_0x366fab(_0x1847f3);}});}};at=Js([Xs(0x0,_0x4e750e(_0x459451))],at);var Zs=Object[_0x56867e(0x190)],Qs=(_0x151cfa,_0x1c3a9e,_0x518d17,_0x2ccf3d)=>{var _0x4555c5=_0x56867e;for(var _0x568555=_0x2ccf3d>0x1?void 0x0:_0x2ccf3d?Zs(_0x1c3a9e,_0x518d17):_0x1c3a9e,_0x6f47c8=_0x151cfa[_0x4555c5(0x2b6)]-0x1,_0x1ee719;_0x6f47c8>=0x0;_0x6f47c8--)(_0x1ee719=_0x151cfa[_0x6f47c8])&&(_0x568555=_0x1ee719(_0x568555)||_0x568555);return _0x568555;},mt=(_0x6fe285,_0xa6e930)=>(_0xfc52d5,_0x2ec998)=>_0xa6e930(_0xfc52d5,_0x2ec998,_0x6fe285);let bt=class extends _0x20dae0{constructor(_0xb30c93,_0x4789c0,_0x2a73cd){var _0x937c6=_0x56867e;super(),N(this,_0x937c6(0x2be),new _0x4a662d(null)),N(this,_0x937c6(0x33c),this[_0x937c6(0x2be)]['asObservable']()),(this[_0x937c6(0x320)]=_0xb30c93,this[_0x937c6(0x198)]=_0x4789c0,this[_0x937c6(0x319)]=_0x2a73cd);}async['loadUnit'](_0xd465ed,_0x4c2087,_0x49ba2e){var _0x49a53b=_0x56867e;this[_0x49a53b(0x2be)][_0x49a53b(0x11d)]({'unitId':_0xd465ed,'type':_0x4c2087,'subUnitId':_0x49ba2e});let _0x893b3=null;switch(_0x4c2087){case Q[_0x49a53b(0x268)]:{_0x893b3=await this[_0x49a53b(0x235)](_0xd465ed);break;}case Q['UNIVER_DOC']:{_0x893b3=await this[_0x49a53b(0x1d8)](_0xd465ed);break;}default:{this[_0x49a53b(0x320)][_0x49a53b(0x2cc)](_0x49a53b(0x15a),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x893b3;}async[_0x56867e(0x235)](_0x4337a0){var _0x40875c=_0x56867e,_0x3f598e;let _0x3deb4b=0x0;const _0x2d90ca=await((_0x3f598e=this[_0x40875c(0x319)])==null?void 0x0:_0x3f598e[_0x40875c(0x201)](_0x4337a0));return _0x2d90ca&&(_0x2d90ca[_0x40875c(0xc8)]||_0x2d90ca[_0x40875c(0x12a)][_0x40875c(0x2b6)]!==0x0)&&(_0x3deb4b=_0x2d90ca[_0x40875c(0x3b0)]),_0x3deb4b===0x0&&this[_0x40875c(0x320)][_0x40875c(0x14e)](_0x40875c(0x15a),_0x40875c(0x38b)),this[_0x40875c(0x198)][_0x40875c(0x2ec)](_0x4337a0,_0x3deb4b);}async[_0x56867e(0x1d8)](_0x2514ad){var _0x19f309=_0x56867e,_0x3cd402;let _0x434bbb=0x0;const _0x17cd26=await((_0x3cd402=this[_0x19f309(0x319)])==null?void 0x0:_0x3cd402[_0x19f309(0x201)](_0x2514ad));return _0x17cd26&&(_0x17cd26[_0x19f309(0xc8)]||_0x17cd26[_0x19f309(0x12a)][_0x19f309(0x2b6)]!==0x0)&&(_0x434bbb=_0x17cd26[_0x19f309(0x3b0)]),_0x434bbb===0x0&&this[_0x19f309(0x320)]['debug'](_0x19f309(0x15a),_0x19f309(0x38b)),this[_0x19f309(0x198)][_0x19f309(0x23a)](_0x2514ad,_0x434bbb);}};bt=Qs([mt(0x0,_0x2bb004),mt(0x1,_0x4e750e(_0x586547)),mt(0x2,_0x5e16b2(J))],bt);var er=Object[_0x56867e(0x190)],tr=(_0x34da58,_0x1b2195,_0x4eb815,_0x4289be)=>{var _0x2407dd=_0x56867e;for(var _0xd079a9=_0x4289be>0x1?void 0x0:_0x4289be?er(_0x1b2195,_0x4eb815):_0x1b2195,_0x52aa1d=_0x34da58[_0x2407dd(0x2b6)]-0x1,_0x51b0c2;_0x52aa1d>=0x0;_0x52aa1d--)(_0x51b0c2=_0x34da58[_0x52aa1d])&&(_0xd079a9=_0x51b0c2(_0xd079a9)||_0xd079a9);return _0xd079a9;},gt=(_0x472e5b,_0x49a8b8)=>(_0x453b1f,_0x1cce0a)=>_0x49a8b8(_0x453b1f,_0x1cce0a,_0x472e5b);const ir=[_0x56867e(0x1c3),_0x56867e(0xc6),_0x56867e(0x10f),'image/gif','image/bmp'],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr=_0x56867e(0x19f),ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0x56867e(0x17d);let Ot=class{constructor(_0x2e47ab,_0x5d5488,_0x3964f5){var _0xfc5069=_0x56867e;N(this,_0xfc5069(0x364),0x0),N(this,_0xfc5069(0xc7),new _0x4197bc()),N(this,_0xfc5069(0x256),this[_0xfc5069(0xc7)]),N(this,_0xfc5069(0x102),new Map()),(this[_0xfc5069(0x3bd)]=_0x2e47ab,this[_0xfc5069(0x337)]=_0x5d5488,this['_univerInstanceService']=_0x3964f5);}[_0x56867e(0x260)](_0x44c338){var _0x177241=_0x56867e;this['_waitCount']=_0x44c338,this[_0x177241(0xc7)][_0x177241(0x11d)](_0x44c338);}['getImageSourceCache'](_0x183c6c,_0x649a77){var _0x574998=_0x56867e;if(_0x649a77===_0x372b32[_0x574998(0x12f)]){const _0x55e77c=new Image();return _0x55e77c[_0x574998(0xef)]=_0x183c6c,_0x55e77c;}return this[_0x574998(0x102)][_0x574998(0x39e)](_0x183c6c);}[_0x56867e(0x326)](_0x233a7e,_0x224c90,_0x6786ad){var _0x42e04d=_0x56867e;_0x224c90===_0x372b32[_0x42e04d(0x12f)]||_0x6786ad==null||this[_0x42e04d(0x102)][_0x42e04d(0x26d)](_0x233a7e,_0x6786ad);}async['getImage'](_0xc7d03f){var _0x178f68=_0x56867e;try{const _0x349d5f=this['_replaceFileID'](this[_0x178f68(0x2a9)](),''+_0xc7d03f),_0x53e3e8=(await this[_0x178f68(0x3bd)][_0x178f68(0x39e)](_0x349d5f))[_0x178f68(0x31e)];if(_0x53e3e8['error']&&_0x53e3e8[_0x178f68(0x2cc)][_0x178f68(0x22e)]===Si['OK']){const _0x225b69=new URL(_0x53e3e8[_0x178f68(0x20a)],this['_getDownloadEndpointURL']())[_0x178f68(0x276)]();return Promise['resolve'](_0x225b69);}return Promise[_0x178f68(0x149)](_0x53e3e8[_0x178f68(0x2cc)]);}catch(_0xcfbb31){return Promise[_0x178f68(0x149)](_0xcfbb31);}}async[_0x56867e(0x1ea)](_0x302c83){var _0x1bee31=_0x56867e;let _0x803808='';if(!ir[_0x1bee31(0x1f7)](_0x302c83['type']))return this[_0x1bee31(0x126)](),Promise[_0x1bee31(0x149)](new Error(_0x305813[_0x1bee31(0x113)]));if(_0x302c83[_0x1bee31(0x363)]>nr)return this[_0x1bee31(0x126)](),Promise[_0x1bee31(0x149)](new Error(_0x305813['ERROR_EXCEED_SIZE']));try{const _0x1ed24a=new FormData();_0x1ed24a['append']('file',_0x302c83);const _0x10350f=this[_0x1bee31(0x230)][_0x1bee31(0x122)](),_0x7ffec3=_0x10350f==null?void 0x0:_0x10350f[_0x1bee31(0x19d)]();if(!_0x7ffec3)throw new Error(_0x1bee31(0x323));const _0x348933=this[_0x1bee31(0x2a3)]()+_0x1bee31(0xe9)+_0x302c83[_0x1bee31(0x363)][_0x1bee31(0x276)]()+_0x1bee31(0x341)+Ei[_0x1bee31(0x155)]+'&assign='+encodeURIComponent(_0x7ffec3),_0xbb7dd4=await(await fetch(_0x348933,{'method':_0x1bee31(0x125),'body':_0x1ed24a}))[_0x1bee31(0x20c)]();if(typeof _0xbb7dd4[_0x1bee31(0x37e)]!=_0x1bee31(0x2e3))return this[_0x1bee31(0x126)](),Promise[_0x1bee31(0x149)](new Error(_0x305813[_0x1bee31(0x119)]));_0x803808=_0xbb7dd4[_0x1bee31(0x37e)];}catch{return this[_0x1bee31(0x126)](),Promise[_0x1bee31(0x149)](new Error(_0x305813[_0x1bee31(0x119)]));}return new Promise((_0x501d02,_0x49d65d)=>{var _0xb409a7=_0x1bee31;const _0x5bfae8=new FileReader();_0x5bfae8[_0xb409a7(0x27e)](_0x302c83),_0x5bfae8['onload']=_0x6b7716=>{var _0x77c016=_0xb409a7,_0x4b5482;const _0x379f36=(_0x4b5482=_0x6b7716[_0x77c016(0x30e)])==null?void 0x0:_0x4b5482[_0x77c016(0xee)];if(_0x379f36==null){this[_0x77c016(0x126)](),_0x49d65d(new Error(_0x305813[_0x77c016(0x119)]));return;}const _0x403127=_0x260258['generateRandomId'](0x6);_0x501d02({'imageId':_0x403127,'imageSourceType':_0x372b32[_0x77c016(0xc9)],'source':_0x803808,'base64Cache':_0x379f36,'status':_0x305813['SUCCUSS']}),this[_0x77c016(0x126)]();};});}[_0x56867e(0x2a3)](){var _0xe49a33=_0x56867e,_0x29cc80,_0x537628;const _0x23184a=this[_0xe49a33(0x337)][_0xe49a33(0x2ae)](sr),_0x558f29=this['_configService'][_0xe49a33(0x2ae)](q);return(_0x537628=(_0x29cc80=_0x558f29==null?void 0x0:_0x558f29[_0xe49a33(0x38a)])!=null?_0x29cc80:_0x23184a)!=null?_0x537628:rr;}[_0x56867e(0x2a9)](){var _0xae1af6=_0x56867e,_0x31e757,_0x4f5569;const _0x3ce955=this[_0xae1af6(0x337)][_0xae1af6(0x2ae)](ar),_0xa9bbf3=this[_0xae1af6(0x337)][_0xae1af6(0x2ae)](q);return(_0x4f5569=(_0x31e757=_0xa9bbf3==null?void 0x0:_0xa9bbf3['signUrlServerUrl'])!=null?_0x31e757:_0x3ce955)!=null?_0x4f5569:or;}[_0x56867e(0x302)](){var _0x13e156=_0x56867e,_0x428eae;const _0x18e955=this['_configService'][_0x13e156(0x2ae)](q);return(_0x428eae=_0x18e955==null?void 0x0:_0x18e955['downloadEndpointUrl'])!=null?_0x428eae:location[_0x13e156(0x242)];}[_0x56867e(0x271)](_0x251ae7,_0x48f5d8){var _0x143b47=_0x56867e;return _0x251ae7[_0x143b47(0x24f)](_0x143b47(0xd8),_0x48f5d8);}['_decreaseWaiting'](){var _0x34a503=_0x56867e;this[_0x34a503(0x364)]-=0x1,this[_0x34a503(0xc7)]['next'](this[_0x34a503(0x364)]);}};Ot=tr([gt(0x0,_0x4e750e(_0x459451)),gt(0x1,_0x32a746),gt(0x2,_0x4e750e(_0x37d76b))],Ot);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x1faf2,_0x350678,_0x11ab28,_0x553da1)=>{var _0x54de4c=_0x56867e;for(var _0x12c7bc=_0x553da1>0x1?void 0x0:_0x553da1?cr(_0x350678,_0x11ab28):_0x350678,_0x3ad8ad=_0x1faf2[_0x54de4c(0x2b6)]-0x1,_0x48be3a;_0x3ad8ad>=0x0;_0x3ad8ad--)(_0x48be3a=_0x1faf2[_0x3ad8ad])&&(_0x12c7bc=_0x48be3a(_0x12c7bc)||_0x12c7bc);return _0x12c7bc;},hi=(_0x339fd0,_0x4a21aa)=>(_0x7037e4,_0x57cc9c)=>_0x4a21aa(_0x7037e4,_0x57cc9c,_0x339fd0);const _r=_0x56867e(0x1dd);let yt=class{constructor(_0x5f2ddf,_0xca2b62){var _0x9a37c1=_0x56867e;this[_0x9a37c1(0x337)]=_0x5f2ddf,this['_HTTPService']=_0xca2b62;}[_0x56867e(0x231)](){var _0x27628d=_0x56867e,_0x2916e1,_0x511ca5;const _0x3f2011=this[_0x27628d(0x337)][_0x27628d(0x2ae)](Ni),_0xf79cd9=this[_0x27628d(0x337)][_0x27628d(0x2ae)](q);return(_0x511ca5=(_0x2916e1=_0xf79cd9==null?void 0x0:_0xf79cd9['authzUrl'])!=null?_0x2916e1:_0x3f2011)!=null?_0x511ca5:_r;}async[_0x56867e(0x16a)](_0x51f999){var _0x29a8e6=_0x56867e;const _0x4f4815=this[_0x29a8e6(0x231)]()+_0x29a8e6(0x2b5);return{'list':[{'title':_0x29a8e6(0x30c),'mentions':(await this[_0x29a8e6(0x30a)]['get'](_0x4f4815,{'params':{'objectID':_0x51f999[_0x29a8e6(0x2a7)],'unitID':_0x51f999[_0x29a8e6(0x2a7)]}}))[_0x29a8e6(0x31e)][_0x29a8e6(0x375)]['map'](_0x3fbd89=>({'objectId':_0x3fbd89['id'],'name':_0x3fbd89[_0x29a8e6(0x1d2)][_0x29a8e6(0x209)],'metadata':{'icon':_0x3fbd89[_0x29a8e6(0x1d2)]['avatar']},'label':_0x3fbd89[_0x29a8e6(0x1d2)][_0x29a8e6(0x209)],'objectType':_0x558090[_0x29a8e6(0x18f)]})),'metadata':{},'type':_0x558090[_0x29a8e6(0x18f)]}]};}};yt=hr([hi(0x0,_0x4e750e(_0x32a746)),hi(0x1,_0x4e750e(_0x459451))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x1e2326,_0x187522,_0x31be8d,_0x4253f4)=>{var _0x2611e8=_0x56867e;for(var _0x54e272=_0x4253f4>0x1?void 0x0:_0x4253f4?lr(_0x187522,_0x31be8d):_0x187522,_0x10a9ce=_0x1e2326[_0x2611e8(0x2b6)]-0x1,_0x45526f;_0x10a9ce>=0x0;_0x10a9ce--)(_0x45526f=_0x1e2326[_0x10a9ce])&&(_0x54e272=_0x45526f(_0x54e272)||_0x54e272);return _0x54e272;},we=(_0x4d5f22,_0x3f60ae)=>(_0xba494a,_0x965c18)=>_0x3f60ae(_0xba494a,_0x965c18,_0x4d5f22);let ot=class extends _0x20dae0{constructor(_0x53bdbe,_0x271bb7,_0x12315f,_0xb7bbad,_0x4cccc7){var _0x1ef237=_0x56867e;super(),this[_0x1ef237(0x1b9)]=_0x53bdbe,this['_univerInstanceService']=_0x271bb7,this[_0x1ef237(0x1ee)]=_0x12315f,this[_0x1ef237(0xf3)]=_0xb7bbad,this[_0x1ef237(0x26a)]=_0x4cccc7,this[_0x1ef237(0xd6)](),this[_0x1ef237(0x2a6)]();}[_0x56867e(0x2a6)](){var _0x1bdf07=_0x56867e;const _0x1232e7=async _0x34e7fa=>{var _0x22ca12=_0x44f8;(await this[_0x22ca12(0xf3)]['requireSession'](_0x34e7fa))['event$'][_0x22ca12(0x2f8)](_0x50d02f(_0x23f256=>_0x23f256[_0x22ca12(0x2f4)]===_0x4d037b['SHOULD_CLOSE_CONN']),_0xd80e25(this[_0x22ca12(0x120)]))['subscribe'](_0x29094c=>{var _0x4168c3=_0x22ca12;const _0x57eedc=_0x29094c,{reason:_0x5c4752}=_0x57eedc[_0x4168c3(0x2d4)];this[_0x4168c3(0x26a)][_0x4168c3(0x2a5)]({'id':re[_0x4168c3(0x150)],'data':_0x5c4752}),this['_permissionService'][_0x4168c3(0x2e6)](new _0x3b9034(_0x34e7fa)['id'],!0x1),this[_0x4168c3(0xf3)][_0x4168c3(0x3a6)](_0x34e7fa);});};_0x11f00c(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2f046a[_0x1bdf07(0x268)]),this['_univerInstanceService'][_0x1bdf07(0x1d3)](_0x2f046a['UNIVER_DOC']))['pipe'](_0x52c811(_0x20e755=>_0x20e755[_0x1bdf07(0x19d)]()),_0x50d02f(_0xea47eb=>!_0x1d16dd(_0xea47eb)),_0xd80e25(this[_0x1bdf07(0x120)]))['subscribe'](_0x295b59=>{_0x1232e7(_0x295b59);});}[_0x56867e(0xd6)](){var _0x40dcc4=_0x56867e;const _0x9e5ac9=async _0x11a42d=>{var _0x5545b5=_0x44f8;const _0x563c60=await this['_collaborationSessionService'][_0x5545b5(0x136)](_0x11a42d),_0x56c40b=this['_injector']['get'](_0x185e67);_0x563c60[_0x5545b5(0x118)][_0x5545b5(0x2f8)](_0x50d02f(_0x1e4448=>_0x1e4448[_0x5545b5(0x2f4)]===_0x4d037b['UPDATE_PERMISSION_OBJ']),_0xd80e25(this[_0x5545b5(0x120)]))['subscribe'](_0x585415=>{var _0xc932a5=_0x5545b5;const _0x931004=_0x585415,{objectId:_0x2aaf0a}=_0x931004['data'];_0x2aaf0a===_0x11a42d?_0x56c40b[_0xc932a5(0x223)](_0x11a42d):_0x56c40b[_0xc932a5(0x2f1)](_0x11a42d,_0x2aaf0a);});};_0x11f00c(this[_0x40dcc4(0x230)][_0x40dcc4(0x1d3)](_0x2f046a[_0x40dcc4(0x268)]))[_0x40dcc4(0x2f8)](_0x52c811(_0x336a3e=>_0x336a3e[_0x40dcc4(0x19d)]()),_0x50d02f(_0x3c0dd9=>!_0x1d16dd(_0x3c0dd9)),_0xd80e25(this[_0x40dcc4(0x120)]))[_0x40dcc4(0x36d)](_0x1a59f4=>{_0x9e5ac9(_0x1a59f4);});}};ot=ur([we(0x0,_0x4e750e(_0x72784b)),we(0x1,_0x37d76b),we(0x2,_0x157be6),we(0x3,_0x4e750e(xe)),we(0x4,_0x4e750e(pe))],ot);var dr=Object[_0x56867e(0x190)],fr=(_0x1c15d3,_0x98910b,_0x51f5a5,_0x2b3aa7)=>{for(var _0x4fb0ac=_0x2b3aa7>0x1?void 0x0:_0x2b3aa7?dr(_0x98910b,_0x51f5a5):_0x98910b,_0x50380c=_0x1c15d3['length']-0x1,_0x1f98f6;_0x50380c>=0x0;_0x50380c--)(_0x1f98f6=_0x1c15d3[_0x50380c])&&(_0x4fb0ac=_0x1f98f6(_0x4fb0ac)||_0x4fb0ac);return _0x4fb0ac;},_i=(_0xb8e6d2,_0x4a46e1)=>(_0x291005,_0x1aa947)=>_0x4a46e1(_0x291005,_0x1aa947,_0xb8e6d2);let Nt=class{constructor(_0x2ba931,_0x569c9d){var _0x349cd5=_0x56867e;this[_0x349cd5(0x337)]=_0x2ba931,this['_httpService']=_0x569c9d;}async['getUnitOnRev'](_0x465cb0,_0xf3bf08){var _0x11580b=_0x56867e,_0x9b644f;const {unitID:_0x201b6b,type:_0x371330,revision:_0x186901=0x0}=_0xf3bf08,_0x1079f8=this[_0x11580b(0xff)]()+'/'+_0x371330+'/unit/'+_0x201b6b+_0x11580b(0x35c)+_0x186901,_0x3e228f=(await this['_httpService'][_0x11580b(0x39e)](_0x1079f8))[_0x11580b(0x31e)],_0x512f1c=(_0x9b644f=_0x3e228f[_0x11580b(0x171)])==null?void 0x0:_0x9b644f[_0x11580b(0xd3)];if(_0x512f1c){const _0x43ab4c=_0x512f1c==null?void 0x0:_0x512f1c[_0x11580b(0x1cc)],_0x3b9245=_0x225a1c[_0x11580b(0x1ae)](_0x1f9119(_0x43ab4c));_0x512f1c[_0x11580b(0x1cc)]=_0x3b9245,Object['entries'](_0x512f1c[_0x11580b(0x34d)])[_0x11580b(0x24d)](([,_0x4c315c])=>{var _0x26c2f8=_0x11580b;const _0x5f58d9=_0x4c315c['originalMeta'],_0x2a837c=_0x225a1c[_0x26c2f8(0x1ae)](_0x1f9119(_0x5f58d9));_0x4c315c['originalMeta']=_0x2a837c;});}return _0x3e228f;}async[_0x56867e(0x33e)](_0x292db0,_0x16fd9b){var _0xbfcf68=_0x56867e;const {unitID:_0x19d16a,type:_0x80acc,blockID:_0x5aa14f}=_0x16fd9b,_0x5d00de=this[_0xbfcf68(0x1f4)]()+'/'+_0x80acc+_0xbfcf68(0x28e)+_0x19d16a+'/block/'+_0x5aa14f;return(await this['_httpService']['get'](_0x5d00de))[_0xbfcf68(0x31e)];}async[_0x56867e(0x29f)](_0x33cd89,_0x4972ca){var _0x3b0af6=_0x56867e;const {unitID:_0x193a0d,type:_0x49f575,blockID:_0x35776d}=_0x4972ca,_0x1a7447=this[_0x3b0af6(0x1f4)]()+_0x3b0af6(0x2c9)+_0x49f575+_0x3b0af6(0x28e)+_0x193a0d+_0x3b0af6(0x2c9)+_0x35776d;return(await this['_httpService']['get'](_0x1a7447))[_0x3b0af6(0x31e)];}async[_0x56867e(0x16c)](_0x5221da,_0x40c429){var _0x2244f1=_0x56867e;const {unitID:_0x34752f,type:_0x25bf18,from:_0x337810,to:_0x5a80d1}=_0x40c429,_0x5cfa5e=this[_0x2244f1(0x1f4)]()+'/'+_0x25bf18+_0x2244f1(0x28e)+_0x34752f+_0x2244f1(0x32b)+_0x337810+'&to='+_0x5a80d1;return(await this[_0x2244f1(0x3bd)][_0x2244f1(0x39e)](_0x5cfa5e))['body'];}[_0x56867e(0xff)](){var _0x259b73=_0x56867e,_0xb39b83;return(_0xb39b83=this[_0x259b73(0x337)][_0x259b73(0x2ae)](Sn))!=null?_0xb39b83:this[_0x259b73(0x1f4)]();}[_0x56867e(0x1f4)](){var _0xe8fe6=_0x56867e,_0x428916,_0x4fdbeb;const _0x4f0c94=this[_0xe8fe6(0x337)]['getConfig'](mn),_0x51c788=this[_0xe8fe6(0x337)]['getConfig'](q);return(_0x4fdbeb=(_0x428916=_0x51c788==null?void 0x0:_0x51c788[_0xe8fe6(0x372)])!=null?_0x428916:_0x4f0c94)!=null?_0x4fdbeb:gn;}async[_0x56867e(0x279)](_0xca168a,_0x10d6dd){var _0x3198e8=_0x56867e;const _0xaa28d9=_0x3198e8(0x24e)+_0x10d6dd[_0x3198e8(0xc3)]+'/unit/'+_0x10d6dd['unitID']+'/resources';return(await this[_0x3198e8(0x3bd)][_0x3198e8(0x39e)](_0xaa28d9,{'params':{'resourceId':JSON['stringify'](_0x10d6dd[_0x3198e8(0x261)])}}))[_0x3198e8(0x31e)];}[_0x56867e(0x310)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x56867e(0x16d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x56867e(0xe0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x56867e(0x151)](){var _0x4f3c07=_0x56867e;throw new Error(_0x4f3c07(0x20d));}[_0x56867e(0x28a)](){var _0x34572c=_0x56867e;throw new Error(_0x34572c(0x20d));}};Nt=fr([_i(0x0,_0x32a746),_i(0x1,_0x4e750e(_0x459451))],Nt);var vr=Object[_0x56867e(0x190)],pr=(_0x2daf0c,_0x345ec5,_0x3e27fe,_0xaa827d)=>{for(var _0xe5acf=_0xaa827d>0x1?void 0x0:_0xaa827d?vr(_0x345ec5,_0x3e27fe):_0x345ec5,_0x49428b=_0x2daf0c['length']-0x1,_0x26b120;_0x49428b>=0x0;_0x49428b--)(_0x26b120=_0x2daf0c[_0x49428b])&&(_0xe5acf=_0x26b120(_0xe5acf)||_0xe5acf);return _0xe5acf;},Pe=(_0x53c996,_0x3cdb0e)=>(_0x40f026,_0x2ff6b9)=>_0x3cdb0e(_0x40f026,_0x2ff6b9,_0x53c996);let Dt=class extends _0x3a6e57{constructor(_0x57e9b4,_0xdf2ade,_0xc13570,_0x3f8f15,_0x248673){super(_0x57e9b4,_0xdf2ade,_0xc13570),this['_transformService']=_0x3f8f15,this['_logService']=_0x248673;}[_0x56867e(0x387)](_0x4a2c34,_0xf4e5){var _0x4f8d86=_0x56867e;const _0x288b5e=this[_0x4f8d86(0x3be)](_0x4a2c34);if(_0x288b5e)try{const _0x134296=this[_0x4f8d86(0x232)](_0x288b5e,_0xf4e5);this['_substituteUndoStack'](_0x4a2c34,_0x134296);}catch(_0x28ab77){this[_0x4f8d86(0x320)][_0x4f8d86(0x2cc)](_0x4f8d86(0x39d),_0x28ab77),this['_clearUndo'](_0x4a2c34);}const _0x54d31d=this['_getRedoStack'](_0x4a2c34);if(_0x54d31d)try{const _0x2ac91e=this['_transformStack'](_0x54d31d,_0xf4e5);this[_0x4f8d86(0x1b6)](_0x4a2c34,_0x2ac91e);}catch(_0x41eef6){this[_0x4f8d86(0x320)][_0x4f8d86(0x2cc)](_0x41eef6),this[_0x4f8d86(0x3b7)](_0x4a2c34);}}[_0x56867e(0x2e1)](_0x152d2f){var _0x141e08=_0x56867e;const _0xc45b66=this[_0x141e08(0x3be)](_0x152d2f);_0xc45b66&&(_0xc45b66[_0x141e08(0x2b6)]=0x0,this['_updateStatus']());}[_0x56867e(0x3b7)](_0x5392c7){var _0x3a55f9=_0x56867e;const _0x5d67ee=this['_getRedoStack'](_0x5392c7);_0x5d67ee&&(_0x5d67ee[_0x3a55f9(0x2b6)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x28ca7a,_0x2dea43){var _0x3adec7=_0x56867e;this[_0x3adec7(0x29c)]['set'](_0x28ca7a,_0x2dea43),this[_0x3adec7(0x31c)]();}['_substituteRedoStack'](_0x22c6d5,_0x122a6e){var _0x316a2b=_0x56867e;this[_0x316a2b(0x104)][_0x316a2b(0x26d)](_0x22c6d5,_0x122a6e),this[_0x316a2b(0x31c)]();}['_transformStack'](_0x5da575,_0x8b81a4){var _0x45cc79=_0x56867e;const _0x5592f7=[];let _0x52b19d=_0x8b81a4,_0x5a3961=_0x8b81a4;for(let _0x5b82f8=_0x5da575['length']-0x1;_0x5b82f8>=0x0;_0x5b82f8--){const {unitID:_0x55bf78,undoMutations:_0x379641,redoMutations:_0x26384c}=_0x5da575[_0x5b82f8],_0x19c5a0=this[_0x45cc79(0x127)]['transformMutationsWithChangeset'](_0x52b19d,_0x379641),_0x21b196=this[_0x45cc79(0x127)][_0x45cc79(0x1a9)](_0x5a3961,_0x26384c);if(_0x2b2727(_0x19c5a0)||_0x2b2727(_0x21b196)){this[_0x45cc79(0x320)][_0x45cc79(0x2cc)]('[CollaborationUndoRedoService]',_0x45cc79(0x2c1),_0x19c5a0,_0x21b196);break;}_0x52b19d=_0x19c5a0[_0x45cc79(0xd1)],_0x5a3961=_0x21b196[_0x45cc79(0xd1)],_0x5592f7['push']({'unitID':_0x55bf78,'undoMutations':_0x19c5a0[_0x45cc79(0x2f5)],'redoMutations':_0x21b196[_0x45cc79(0x2f5)]});}return _0x5592f7['reverse']();}};Dt=pr([Pe(0x0,_0x37d76b),Pe(0x1,_0x2bf2a0),Pe(0x2,_0x23bf61),Pe(0x3,_0x1258ff),Pe(0x4,_0x2bb004)],Dt);var mr=Object[_0x56867e(0x1e2)],gr=Object[_0x56867e(0x190)],Sr=(_0x4ff150,_0xb1cbbe,_0x5bbda3)=>_0xb1cbbe in _0x4ff150?mr(_0x4ff150,_0xb1cbbe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bbda3}):_0x4ff150[_0xb1cbbe]=_0x5bbda3,Er=(_0x283c41,_0x406aa1,_0x585fb9,_0x3ff044)=>{var _0x1a38e4=_0x56867e;for(var _0x156cc3=_0x3ff044>0x1?void 0x0:_0x3ff044?gr(_0x406aa1,_0x585fb9):_0x406aa1,_0x50554d=_0x283c41[_0x1a38e4(0x2b6)]-0x1,_0x27f7d4;_0x50554d>=0x0;_0x50554d--)(_0x27f7d4=_0x283c41[_0x50554d])&&(_0x156cc3=_0x27f7d4(_0x156cc3)||_0x156cc3);return _0x156cc3;},St=(_0x43a341,_0x3313d3)=>(_0x3fb0ca,_0x22404a)=>_0x3313d3(_0x3fb0ca,_0x22404a,_0x43a341),Ir=(_0x270f2a,_0x10f960,_0x5cf691)=>Sr(_0x270f2a,_0x10f960+'',_0x5cf691);const Tr=_0x56867e(0x28f);let Ut=class extends _0x1d77f2{constructor(_0x3af7e0,_0xb170b0,_0x34f6c8,_0x54e1d2){var _0x142fc3=_0x56867e;super(),N(this,_0x142fc3(0x367)),(this['_logService']=_0xb170b0,this[_0x142fc3(0x1b9)]=_0x34f6c8,this['_configService']=_0x54e1d2);const {..._0x651b1c}=_0x36f3bb({},wn,_0x3af7e0);if(!_0x651b1c[_0x142fc3(0x1d7)])throw new Error(_0x142fc3(0x15b));this[_0x142fc3(0x367)]=_0x651b1c,this[_0x142fc3(0x337)][_0x142fc3(0x184)](q,_0x651b1c);}[_0x56867e(0x2b3)](){var _0x29fe22=_0x56867e;this['_registerDependencies'](),this[_0x29fe22(0x2c5)]();}[_0x56867e(0x229)](){var _0x38081a=_0x56867e,_0x17b784,_0x4f325c;this[_0x38081a(0x1b9)][_0x38081a(0x2d8)](_0x553d9a)&&this['_logService'][_0x38081a(0x2cc)](_0x38081a(0x24b),_0x38081a(0xc0));const _0x30f0b6=_0xaf59f9([[_0x553d9a,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x38081a(0x1d7)]}],[_0x208b5e,{'useClass':Nt}],[_0x55fbcc,{'useClass':Rt}],[_0x289423,{'useClass':Ot}],[_0x3616e1,{'useClass':yt}],[st],[Ct]],(_0x17b784=this[_0x38081a(0x367)])==null?void 0x0:_0x17b784['override']);if(!((_0x4f325c=this['_config'])!=null&&_0x4f325c[_0x38081a(0x38f)])){const _0x1a7a86=_0x30f0b6[_0x38081a(0x2ad)](([_0x408af0])=>_0x408af0===ht);_0x1a7a86!==-0x1&&_0x30f0b6[_0x38081a(0x22d)](_0x1a7a86,0x1);}_0x31c032(this[_0x38081a(0x1b9)],_0x30f0b6);}[_0x56867e(0x2c5)](){var _0x5397a7=_0x56867e,_0x51ddde,_0x21c284,_0x3fd638;this[_0x5397a7(0x1b9)][_0x5397a7(0x39e)](_0x459451)[_0x5397a7(0xce)]({'priority':0x14,'interceptor':_0x38e0d8({'maxParallel':0x6})}),(_0x51ddde=this[_0x5397a7(0x367)])!=null&&_0x51ddde[_0x5397a7(0xde)]||(_0x21c284=this[_0x5397a7(0x1b9)][_0x5397a7(0x39e)](J,_0x43db1b[_0x5397a7(0x325)]))==null||_0x21c284[_0x5397a7(0x311)](),(_0x3fd638=this['_config'])!=null&&_0x3fd638['enableAuthServer']&&_0x3d095d(this[_0x5397a7(0x1b9)],[[rt]]),_0x3d095d(this[_0x5397a7(0x1b9)],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x391cfc(_0x399b5b,_0x318d19),St(0x1,_0x2bb004),St(0x2,_0x4e750e(_0x72784b)),St(0x3,_0x32a746)],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,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr 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,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr 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,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|