@univerjs-pro/collaboration-client 0.8.2-nightly.202506201607 → 0.8.2-nightly.202506221606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x1e1a91=_0x1283;(function(_0x37520f,_0x29661f){var _0x12d329=_0x1283,_0x452b1b=_0x37520f();while(!![]){try{var _0x39eff5=parseInt(_0x12d329(0x46e))/0x1+-parseInt(_0x12d329(0x252))/0x2*(-parseInt(_0x12d329(0x479))/0x3)+-parseInt(_0x12d329(0x1c2))/0x4+-parseInt(_0x12d329(0x20d))/0x5*(-parseInt(_0x12d329(0x3a3))/0x6)+-parseInt(_0x12d329(0x316))/0x7*(-parseInt(_0x12d329(0x1b0))/0x8)+-parseInt(_0x12d329(0x262))/0x9+-parseInt(_0x12d329(0x3af))/0xa;if(_0x39eff5===_0x29661f)break;else _0x452b1b['push'](_0x452b1b['shift']());}catch(_0x4c6a8a){_0x452b1b['push'](_0x452b1b['shift']());}}}(_0x29ff,0xb88f8));var Di=Object[_0x1e1a91(0x2e4)],Ui=(_0x277b7d,_0x502250,_0x2d2db6)=>_0x502250 in _0x277b7d?Di(_0x277b7d,_0x502250,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d2db6}):_0x277b7d[_0x502250]=_0x2d2db6,N=(_0x57dba1,_0x9333f6,_0x2a3008)=>Ui(_0x57dba1,typeof _0x9333f6!='symbol'?_0x9333f6+'':_0x9333f6,_0x2a3008);import{createIdentifier as _0x5b8112,Inject as _0x31e33e,Injector as _0x3d0bb7,IConfigService as _0x21d6f2,ILogService as _0x187ac5,Disposable as _0x38cb48,DisposableCollection as _0x3bca18,toDisposable as _0x46687d,IUniverInstanceService as _0x58b7fa,UserManagerService as _0x4683f0,UniverInstanceType as _0x2ebbd1,LocaleService as _0x5de357,Optional as _0x914e26,RxDisposable as _0x10a3a4,Tools as _0x85369,Rectangle as _0x31ffd0,ICommandService as _0x497b9c,JSONX as _0x440f39,CommandType as _0x5c1ed1,IUndoRedoService as _0x5a6188,IPermissionService as _0x590a86,sequenceExecute as _0x313571,Workbook as _0xe9d235,MentionType as _0x557a47,isInternalEditorID as _0x17910a,LocalUndoRedoService as _0x29978d,IContextService as _0x496ad0,DependentOn as _0x43163f,Plugin as _0x3dfb67,merge as _0x5bc37f,mergeOverrideWithDependencies as _0x509dda,IAuthzIoService as _0x431968,IMentionIOService as _0x34560c,registerDependencies as _0x1eac5a,Quantity as _0x1e8dbb,touchDependencies as _0x12af23}from'@univerjs/core';import{Subject as _0x5a2205,merge as _0x12b484,of as _0x18813a,BehaviorSubject as _0x4a01a6,takeUntil as _0x212c06,ReplaySubject as _0xe6f886,take as _0x5ef4f3,map as _0x245703,shareReplay as _0x5da2bf,firstValueFrom as _0x4fc70a,concatMap as _0x4f64b7}from'rxjs';import{map as _0x442736,take as _0x4adfdf,filter as _0x3b78b7,delay as _0x5d2b37,takeUntil as _0x32bbdc}from'rxjs/operators';import{CollaborationEvent as _0x4ac4f0,ISnapshotServerService as _0x5cd755,parseChangesetToProtocol as _0x233a40,ITransformService as _0x520a88,isTransformMutationsWithChangesetSuccess as _0x1e2f79,mapDocumentTypeToUniverType as _0x1250eb,RevisionService as _0xc767d8,isTransformChangesetsSuccess as _0x1fd8e2,CompressMutationService as _0x26a6d4,parseProtocolChangeset as _0x1b76a1,uuidv4 as _0x46802c,SnapshotService as _0x32f555,textEncoder as _0x418e43,b64DecodeUnicode as _0x34fa87,isTransformMutationsWithChangesetFailure as _0x3d642d,UniverCollaborationPlugin as _0x4cdb25}from'@univerjs-pro/collaboration';import{HTTPService as _0x2cc90d,ISocketService as _0x16d426,MergeInterceptorFactory as _0x198543,HTTPRequest as _0x1f1c15,UniverNetworkPlugin as _0x20f1ba,ThresholdInterceptorFactory as _0x5d89ab}from'@univerjs/network';import{ITelemetryService as _0x17ec48}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x32ad84}from'@univerjs/docs';import{SheetsSelectionsService as _0x477662,SetSelectionsOperation as _0x2ee557,InsertSheetMutation as _0x5ebeb6,EmptyMutation as _0x2a3d53,WorkbookEditablePermission as _0x4eee01,SheetPermissionInitController as _0x1c49c3}from'@univerjs/sheets';import{ImageSourceType as _0xf9bbef,ImageUploadStatusType as _0x205ffc,IImageIoService as _0x5a5280}from'@univerjs/drawing';import{getGlobalObject as _0x3f926b}from'@univerjs-pro/license';const fs=_0x1e1a91(0x27d),vs=_0x1e1a91(0x304),ps=_0x1e1a91(0x1b2),yr=_0x1e1a91(0x376),ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss='ws://127.0.0.1:8000/universer-api/comb/connect',Nr=_0x1e1a91(0x2e5),Es=_0x1e1a91(0x35a),Is=0x7530,fi=_0x1e1a91(0x276),vi=0x4e20,Ts=0x4e20,Cs=_0x1e1a91(0x2b5),Rs=0x3,Dr=_0x1e1a91(0x334),Ur=0x3e8,Os='COLLAB_SUBMIT_CHANGESET_URL',bs=_0x1e1a91(0x2b9),ys=_0x1e1a91(0x41e),Ns=_0x1e1a91(0x393),Ar='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',wr=_0x1e1a91(0x19a);var pi=(_0x1badcc=>(_0x1badcc[_0x1badcc[_0x1e1a91(0x279)]=0x0]=_0x1e1a91(0x279),_0x1badcc[_0x1badcc['OK']=0x1]='OK',_0x1badcc[_0x1badcc[_0x1e1a91(0x42e)]=0x2]=_0x1e1a91(0x42e),_0x1badcc[_0x1badcc['PERMISSION_DENIED']=0x3]=_0x1e1a91(0x330),_0x1badcc[_0x1badcc[_0x1e1a91(0x2c7)]=0x4]='NOT_FOUND',_0x1badcc[_0x1badcc[_0x1e1a91(0x239)]=0x5]='UNAUTHENTICATED',_0x1badcc[_0x1badcc[_0x1e1a91(0x3ef)]=0x6]=_0x1e1a91(0x3ef),_0x1badcc[_0x1badcc[_0x1e1a91(0x3e0)]=0x7]=_0x1e1a91(0x3e0),_0x1badcc[_0x1badcc[_0x1e1a91(0x1ee)]=0x8]=_0x1e1a91(0x1ee),_0x1badcc[_0x1badcc[_0x1e1a91(0x3a6)]=0x9]='COMPLETION_FINISHED',_0x1badcc[_0x1badcc[_0x1e1a91(0x215)]=0xa]=_0x1e1a91(0x215),_0x1badcc[_0x1badcc['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1badcc[_0x1badcc[_0x1e1a91(0x2b7)]=0xc]=_0x1e1a91(0x2b7),_0x1badcc[_0x1badcc['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1e1a91(0x1fb),_0x1badcc[_0x1badcc[_0x1e1a91(0x394)]=0xe]=_0x1e1a91(0x394),_0x1badcc[_0x1badcc['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1e1a91(0x19c),_0x1badcc[_0x1badcc[_0x1e1a91(0x347)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1badcc[_0x1badcc[_0x1e1a91(0x34e)]=0x1772]=_0x1e1a91(0x34e),_0x1badcc[_0x1badcc[_0x1e1a91(0x2d8)]=0x1773]=_0x1e1a91(0x2d8),_0x1badcc[_0x1badcc[_0x1e1a91(0x326)]=0x1b59]=_0x1e1a91(0x326),_0x1badcc[_0x1badcc[_0x1e1a91(0x38f)]=0x1b5a]=_0x1e1a91(0x38f),_0x1badcc[_0x1badcc[_0x1e1a91(0x27a)]=0x1b5b]=_0x1e1a91(0x27a),_0x1badcc[_0x1badcc[_0x1e1a91(0x278)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1badcc[_0x1badcc[_0x1e1a91(0x229)]=0x1b5d]=_0x1e1a91(0x229),_0x1badcc[_0x1badcc['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1badcc[_0x1badcc[_0x1e1a91(0x3ed)]=0x2329]=_0x1e1a91(0x3ed),_0x1badcc[_0x1badcc[_0x1e1a91(0x2c9)]=0x232a]=_0x1e1a91(0x2c9),_0x1badcc[_0x1badcc[_0x1e1a91(0x488)]=0x232b]=_0x1e1a91(0x488),_0x1badcc[_0x1badcc[_0x1e1a91(0x2a4)]=0x232c]=_0x1e1a91(0x2a4),_0x1badcc[_0x1badcc['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1e1a91(0x343),_0x1badcc[_0x1badcc[_0x1e1a91(0x332)]=0x2711]=_0x1e1a91(0x332),_0x1badcc[_0x1badcc[_0x1e1a91(0x233)]=0x2712]=_0x1e1a91(0x233),_0x1badcc[_0x1badcc[_0x1e1a91(0x1fd)]=0x2713]=_0x1e1a91(0x1fd),_0x1badcc[_0x1badcc['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1e1a91(0x2e7),_0x1badcc[_0x1badcc[_0x1e1a91(0x31c)]=0x271a]=_0x1e1a91(0x31c),_0x1badcc[_0x1badcc[_0x1e1a91(0x425)]=0x271b]=_0x1e1a91(0x425),_0x1badcc[_0x1badcc[_0x1e1a91(0x23e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1badcc[_0x1badcc[_0x1e1a91(0x23f)]=0x271d]=_0x1e1a91(0x23f),_0x1badcc[_0x1badcc['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1e1a91(0x3c7),_0x1badcc[_0x1badcc['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x1badcc[_0x1badcc[_0x1e1a91(0x470)]=0x2720]=_0x1e1a91(0x470),_0x1badcc[_0x1badcc[_0x1e1a91(0x25e)]=0x2af9]=_0x1e1a91(0x25e),_0x1badcc[_0x1badcc['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1e1a91(0x289),_0x1badcc[_0x1badcc[_0x1e1a91(0x19e)]=0x2ee2]=_0x1e1a91(0x19e),_0x1badcc[_0x1badcc['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1e1a91(0x254),_0x1badcc[_0x1badcc['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1badcc[_0x1badcc[_0x1e1a91(0x408)]=0x2ee5]=_0x1e1a91(0x408),_0x1badcc[_0x1badcc[_0x1e1a91(0x2cb)]=0x32c9]=_0x1e1a91(0x2cb),_0x1badcc[_0x1badcc[_0x1e1a91(0x208)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1badcc[_0x1badcc['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1e1a91(0x211),_0x1badcc[_0x1badcc[_0x1e1a91(0x1ae)]=-0x1]='UNRECOGNIZED',_0x1badcc))(pi||{}),Z=(_0x121fb2=>(_0x121fb2[_0x121fb2['UNIVER_UNKNOWN']=0x0]=_0x1e1a91(0x2e0),_0x121fb2[_0x121fb2['UNIVER_DOC']=0x1]=_0x1e1a91(0x3ab),_0x121fb2[_0x121fb2[_0x1e1a91(0x473)]=0x2]=_0x1e1a91(0x473),_0x121fb2[_0x121fb2[_0x1e1a91(0x20c)]=0x3]=_0x1e1a91(0x20c),_0x121fb2[_0x121fb2[_0x1e1a91(0x285)]=0x4]=_0x1e1a91(0x285),_0x121fb2[_0x121fb2[_0x1e1a91(0x1ae)]=-0x1]=_0x1e1a91(0x1ae),_0x121fb2))(Z||{}),F=(_0x28a2c0=>(_0x28a2c0[_0x28a2c0[_0x1e1a91(0x27f)]=0x0]=_0x1e1a91(0x27f),_0x28a2c0[_0x28a2c0['HELLO']=0x1]=_0x1e1a91(0x492),_0x28a2c0[_0x28a2c0[_0x1e1a91(0x329)]=0x2]=_0x1e1a91(0x329),_0x28a2c0[_0x28a2c0[_0x1e1a91(0x39a)]=0x3]=_0x1e1a91(0x39a),_0x28a2c0[_0x28a2c0[_0x1e1a91(0x2de)]=0x4]=_0x1e1a91(0x2de),_0x28a2c0[_0x28a2c0['HEARTBEAT']=0x5]=_0x1e1a91(0x48e),_0x28a2c0[_0x28a2c0[_0x1e1a91(0x2b0)]=0x6]=_0x1e1a91(0x2b0),_0x28a2c0[_0x28a2c0['UNRECOGNIZED']=-0x1]=_0x1e1a91(0x1ae),_0x28a2c0))(F||{}),me=(_0x4cd73e=>(_0x4cd73e[_0x4cd73e['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x4cd73e[_0x4cd73e['OK']=0x1]='OK',_0x4cd73e[_0x4cd73e[_0x1e1a91(0x24a)]=0x2]=_0x1e1a91(0x24a),_0x4cd73e[_0x4cd73e['JOIN_ROOM_FULL']=0x3e9]=_0x1e1a91(0x2bc),_0x4cd73e[_0x4cd73e[_0x1e1a91(0x3ba)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4cd73e[_0x4cd73e['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x1e1a91(0x29b),_0x4cd73e[_0x4cd73e[_0x1e1a91(0x321)]=0x3ec]=_0x1e1a91(0x321),_0x4cd73e[_0x4cd73e[_0x1e1a91(0x1ae)]=-0x1]='UNRECOGNIZED',_0x4cd73e))(me||{}),mi=(_0x55c027=>(_0x55c027[_0x55c027[_0x1e1a91(0x240)]=0x0]=_0x1e1a91(0x240),_0x55c027[_0x55c027[_0x1e1a91(0x469)]=0x1]=_0x1e1a91(0x469),_0x55c027[_0x55c027[_0x1e1a91(0x294)]=0x2]=_0x1e1a91(0x294),_0x55c027[_0x55c027['UnitEmbedded']=0x3]='UnitEmbedded',_0x55c027[_0x55c027[_0x1e1a91(0x2bf)]=0x4]=_0x1e1a91(0x2bf),_0x55c027[_0x55c027['UserProfileImg']=0x5]='UserProfileImg',_0x55c027[_0x55c027['UNRECOGNIZED']=-0x1]=_0x1e1a91(0x1ae),_0x55c027))(mi||{});const K=_0x1e1a91(0x499),Ds={};var ne=(_0x3dfbd1=>(_0x3dfbd1[_0x1e1a91(0x46a)]=_0x1e1a91(0x46a),_0x3dfbd1['PERMISSION_DENIED']=_0x1e1a91(0x330),_0x3dfbd1[_0x1e1a91(0x1f7)]=_0x1e1a91(0x1f7),_0x3dfbd1[_0x1e1a91(0x2a6)]=_0x1e1a91(0x2a6),_0x3dfbd1['JOIN_ROOM_FAILED']=_0x1e1a91(0x399),_0x3dfbd1[_0x1e1a91(0x30c)]=_0x1e1a91(0x30c),_0x3dfbd1[_0x1e1a91(0x353)]=_0x1e1a91(0x353),_0x3dfbd1['SUBMIT_CHANGESET_TIMEOUT']=_0x1e1a91(0x3ea),_0x3dfbd1))(ne||{});class ve{constructor(){var _0x1b5111=_0x1e1a91;N(this,_0x1b5111(0x3bd),new _0x5a2205()),N(this,_0x1b5111(0x354),this[_0x1b5111(0x3bd)][_0x1b5111(0x3a7)]());}[_0x1e1a91(0x33b)](_0x3536f0){var _0xcadf0b=_0x1e1a91;this[_0xcadf0b(0x3bd)][_0xcadf0b(0x2f9)](_0x3536f0);}}const Us=_0x5b8112(_0x1e1a91(0x26b));function As(_0x470b87){var _0x4f27a2=_0x1e1a91,_0x524018,_0x59059f,_0xea0452,_0x439ca7,_0x686230;const _0x211f7c=_0x470b87[_0x4f27a2(0x21e)],_0x5370e8=JSON[_0x4f27a2(0x264)](_0x211f7c);switch(_0x5370e8[_0x4f27a2(0x3d1)]){case F[_0x4f27a2(0x48e)]:case F['HELLO']:{const _0x51fbe1=_0x5370e8[_0x4f27a2(0x2d6)];return{..._0x5370e8,'data':_0x51fbe1,'cmd':_0x5370e8['cmd']};}case F[_0x4f27a2(0x329)]:{const _0x9a9c23=_0x5370e8['joinRsp'];return{..._0x5370e8,'data':_0x9a9c23,'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};}case F[_0x4f27a2(0x2b0)]:{const _0x96a0f5=_0x5370e8[_0x4f27a2(0x3e1)];switch(_0x96a0f5[_0x4f27a2(0x46d)]){case _0x4ac4f0[_0x4f27a2(0x45d)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':(_0x524018=_0x96a0f5[_0x4f27a2(0x1e3)])==null?void 0x0:_0x524018['cs']},'cmd':_0x5370e8['cmd']};case _0x4ac4f0[_0x4f27a2(0x352)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':(_0x59059f=_0x96a0f5[_0x4f27a2(0x457)])==null?void 0x0:_0x59059f['cs']},'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};case _0x4ac4f0[_0x4f27a2(0x196)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':(_0xea0452=_0x96a0f5[_0x4f27a2(0x2f0)])==null?void 0x0:_0xea0452['cs']},'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};case _0x4ac4f0[_0x4f27a2(0x29a)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':(_0x439ca7=_0x96a0f5[_0x4f27a2(0x246)])==null?void 0x0:_0x439ca7['cs']},'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};case _0x4ac4f0[_0x4f27a2(0x231)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':(_0x686230=_0x96a0f5[_0x4f27a2(0x35f)])==null?void 0x0:_0x686230['cs']},'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};case _0x4ac4f0[_0x4f27a2(0x1f0)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':_0x96a0f5['updateCursorEvent']},'cmd':_0x5370e8['cmd']};case _0x4ac4f0[_0x4f27a2(0x47c)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':_0x96a0f5[_0x4f27a2(0x39c)]},'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};case _0x4ac4f0[_0x4f27a2(0x3d7)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':_0x96a0f5[_0x4f27a2(0x4a0)]},'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};case _0x4ac4f0[_0x4f27a2(0x29d)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':_0x96a0f5[_0x4f27a2(0x37f)]},'cmd':_0x5370e8['cmd']};case _0x4ac4f0['LIVESHARE_FETCH_OPERATIONS']:case _0x4ac4f0[_0x4f27a2(0x3a2)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':_0x96a0f5['liveShareOperation']},'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};case _0x4ac4f0[_0x4f27a2(0x198)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':_0x96a0f5['liveShareNewHost']},'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};case _0x4ac4f0['MSG_FOR_ERROR']:return{..._0x5370e8,'data':_0x96a0f5,'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};case _0x4ac4f0['COMMENT_UPDATE']:return{..._0x5370e8,'data':{..._0x96a0f5,'data':_0x96a0f5[_0x4f27a2(0x471)]},'cmd':_0x5370e8['cmd']};case _0x4ac4f0[_0x4f27a2(0x3f8)]:return{..._0x5370e8,'data':{..._0x96a0f5,'data':_0x96a0f5[_0x4f27a2(0x30a)]},'cmd':_0x5370e8['cmd']};case _0x4ac4f0['SHOULD_CLOSE_CONN']:return{..._0x5370e8,'data':{..._0x96a0f5,'data':_0x96a0f5[_0x4f27a2(0x446)]},'cmd':_0x5370e8[_0x4f27a2(0x3d1)]};case _0x4ac4f0['UNISCRIPT_RUN']:return{..._0x5370e8,'data':{..._0x96a0f5,'data':_0x96a0f5['uniscriptRunEvent']},'cmd':_0x5370e8['cmd']};default:return _0x5370e8;}}default:return _0x5370e8;}}function ws(_0x1f9a98){var _0x1118c8=_0x1e1a91;switch(_0x1f9a98[_0x1118c8(0x3d1)]){case F[_0x1118c8(0x48e)]:case F[_0x1118c8(0x492)]:return JSON['stringify']({'cmd':_0x1f9a98[_0x1118c8(0x3d1)],'routeKey':_0x1f9a98['routeKey']});case F[_0x1118c8(0x2de)]:{let _0x4fdcc2;switch(_0x1f9a98[_0x1118c8(0x21e)][_0x1118c8(0x46d)]){case _0x4ac4f0[_0x1118c8(0x1f0)]:{_0x4fdcc2={'eventID':_0x4ac4f0[_0x1118c8(0x1f0)],'updateCursorEvent':_0x1f9a98[_0x1118c8(0x21e)][_0x1118c8(0x21e)]};break;}case _0x4ac4f0[_0x1118c8(0x3d7)]:{_0x4fdcc2={'eventID':_0x4ac4f0[_0x1118c8(0x3d7)],'leaveEvent':_0x1f9a98['data'][_0x1118c8(0x21e)]};break;}case _0x4ac4f0[_0x1118c8(0x47c)]:{_0x4fdcc2={'eventID':_0x4ac4f0['USERS_ENTER'],'joinEvent':_0x1f9a98[_0x1118c8(0x21e)][_0x1118c8(0x21e)]};break;}case _0x4ac4f0['LIVESHARE_NEW_HOST']:{_0x4fdcc2={'eventID':_0x4ac4f0[_0x1118c8(0x29d)],'liveShareNewHost':_0x1f9a98[_0x1118c8(0x21e)][_0x1118c8(0x21e)]};break;}case _0x4ac4f0[_0x1118c8(0x3a2)]:{_0x4fdcc2={'eventID':_0x4ac4f0[_0x1118c8(0x3a2)],'liveShareOperation':_0x1f9a98[_0x1118c8(0x21e)][_0x1118c8(0x21e)]};break;}case _0x4ac4f0[_0x1118c8(0x198)]:{_0x4fdcc2={'eventID':_0x4ac4f0[_0x1118c8(0x198)],'liveShareTerminate':_0x1f9a98['data']['data']};break;}case _0x4ac4f0['LIVESHARE_REQUEST_HOST']:{_0x4fdcc2={'eventID':_0x4ac4f0[_0x1118c8(0x29f)],'liveShareRequestHost':_0x1f9a98[_0x1118c8(0x21e)][_0x1118c8(0x21e)]};break;}case _0x4ac4f0[_0x1118c8(0x25f)]:{_0x4fdcc2={'eventID':_0x4ac4f0['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4fdcc2={'eventID':_0x1f9a98['data'][_0x1118c8(0x46d)]};}return JSON[_0x1118c8(0x39f)]({'cmd':_0x1f9a98[_0x1118c8(0x3d1)],'routeKey':_0x1f9a98['routeKey'],'collaMsg':_0x4fdcc2});}case F[_0x1118c8(0x329)]:return JSON[_0x1118c8(0x39f)]({'cmd':_0x1f9a98[_0x1118c8(0x3d1)],'routeKey':_0x1f9a98['routeKey'],'joinReq':_0x1f9a98[_0x1118c8(0x21e)]});case F['LEAVE']:return JSON[_0x1118c8(0x39f)]({'cmd':_0x1f9a98[_0x1118c8(0x3d1)],'routeKey':_0x1f9a98[_0x1118c8(0x478)],'leaveReq':_0x1f9a98[_0x1118c8(0x21e)]});default:throw new Error(_0x1118c8(0x42a));}}var Ps=Object[_0x1e1a91(0x38a)],Ls=(_0x2a8c59,_0x316bfb,_0x3db715,_0x19b905)=>{var _0x5a2a76=_0x1e1a91;for(var _0x2663e6=_0x19b905>0x1?void 0x0:_0x19b905?Ps(_0x316bfb,_0x3db715):_0x316bfb,_0x38dee6=_0x2a8c59[_0x5a2a76(0x1ec)]-0x1,_0x4fe759;_0x38dee6>=0x0;_0x38dee6--)(_0x4fe759=_0x2a8c59[_0x38dee6])&&(_0x2663e6=_0x4fe759(_0x2663e6)||_0x2663e6);return _0x2663e6;},Ue=(_0x3e6d30,_0xb9390b)=>(_0x17410e,_0x24f24b)=>_0xb9390b(_0x17410e,_0x24f24b,_0x3e6d30);const gi=_0x5b8112(_0x1e1a91(0x1f4));function Ms(_0x4e6839,_0x5b2c7c,_0x261e42){var _0xa89a96=_0x1e1a91;return _0x4e6839+'/'+_0x5b2c7c+_0xa89a96(0x465)+_0x261e42+_0xa89a96(0x228);}let Ft=class extends _0x38cb48{constructor(_0x5d6a3e,_0x3a6282,_0x3b65b9,_0x39faf6,_0x2667a4){var _0x3ee320=_0x1e1a91;super(),this[_0x3ee320(0x1a3)]=_0x5d6a3e,this[_0x3ee320(0x49f)]=_0x3a6282,this[_0x3ee320(0x2c8)]=_0x3b65b9,this[_0x3ee320(0x255)]=_0x39faf6,this['_snapshotServerService']=_0x2667a4;}[_0x1e1a91(0x333)](_0x20645a){var _0x13cb97=_0x1e1a91;const _0x2bd5da=this[_0x13cb97(0x1a3)]['get'](_0x16d426);if(!_0x2bd5da)throw new Error(_0x13cb97(0x225));const _0x23db84=_0x2bd5da[_0x13cb97(0x3b5)](_0x20645a);if(!_0x23db84)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xb0667=new _0x3bca18(),_0x84837e=new _0x5a2205();_0xb0667[_0x13cb97(0x396)](_0x23db84[_0x13cb97(0x2bb)][_0x13cb97(0x412)](_0x537a08=>_0x84837e[_0x13cb97(0x2f9)](_0x537a08))),_0xb0667['add'](_0x46687d(()=>_0x84837e[_0x13cb97(0x49e)]()));const _0x3471cb=new _0x5a2205();_0xb0667[_0x13cb97(0x396)](_0x23db84[_0x13cb97(0x359)]['subscribe'](_0x388d84=>_0x3471cb[_0x13cb97(0x2f9)](_0x388d84))),_0xb0667[_0x13cb97(0x396)](_0x46687d(()=>_0x3471cb[_0x13cb97(0x49e)]()));const _0x5caa30=new _0x5a2205();_0xb0667['add'](_0x23db84[_0x13cb97(0x442)][_0x13cb97(0x412)](_0x11b296=>{const _0x26e936=As(_0x11b296);_0x5caa30['next'](_0x26e936);})),_0xb0667['add'](_0x46687d(()=>_0x5caa30['complete']()));let _0x90c1b9;const _0x171a23=()=>{var _0x3a4ffe=_0x13cb97;_0x3471cb['next'](new Event(_0x3a4ffe(0x1f9))),_0x84837e[_0x3a4ffe(0x2f9)](new Event(_0x3a4ffe(0x1f9))),_0x90c1b9[_0x3a4ffe(0x2ca)]();};return _0x90c1b9={'memberID':'','close$':_0x84837e['asObservable'](),'error$':_0x3471cb[_0x13cb97(0x3a7)](),'open$':_0x23db84[_0x13cb97(0x1bc)],'message$':_0x5caa30[_0x13cb97(0x3a7)](),'send':_0x311f4d=>{var _0x19cf1e=_0x13cb97;if(_0x311f4d[_0x19cf1e(0x3d1)]===F[_0x19cf1e(0x2de)]){if(_0x311f4d[_0x19cf1e(0x21e)][_0x19cf1e(0x46d)]===_0x4ac4f0[_0x19cf1e(0x1bf)]){this[_0x19cf1e(0x2f4)](_0x90c1b9,_0x311f4d[_0x19cf1e(0x21e)])[_0x19cf1e(0x2e9)](_0x404aa1=>{var _0x4c7a86=_0x19cf1e;this[_0x4c7a86(0x255)][_0x4c7a86(0x1fc)](_0x404aa1),_0x171a23();});return;}if(_0x311f4d['data'][_0x19cf1e(0x46d)]===_0x4ac4f0['FETCH_MISSING']){const _0x4c12cd=_0x311f4d['data'];this[_0x19cf1e(0x303)](_0x4c12cd)['then'](_0x4bdab4=>{var _0x147f7c=_0x19cf1e;_0x5caa30[_0x147f7c(0x2f9)]({'cmd':F[_0x147f7c(0x2b0)],'code':me['OK'],'routeKey':_0x4c12cd[_0x147f7c(0x21e)]['unitID'],'routeType':'','data':{'eventID':_0x4ac4f0[_0x147f7c(0x44b)],'data':{'changesets':_0x4bdab4}}});})[_0x19cf1e(0x2e9)](_0x3e21c8=>{var _0xf1774=_0x19cf1e;this[_0xf1774(0x255)]['error'](_0x3e21c8),_0x171a23();});return;}}_0x23db84['send'](ws(_0x311f4d));},'close':()=>{var _0x27b514=_0x13cb97;_0x23db84[_0x27b514(0x2ca)](),_0xb0667['dispose']();}},_0x90c1b9;}async[_0x1e1a91(0x2f4)](_0xc81179,_0x1f49e8){var _0x22bb7b=_0x1e1a91,_0x37115f,_0x15b4b7;const {unitType:_0x183a25,unitID:_0x7d32a9,changeset:_0x4d0216}=_0x1f49e8['data'],_0x33c386={'unitID':_0x7d32a9,'memberID':_0xc81179[_0x22bb7b(0x388)],'type':_0x183a25,'changeset':_0x233a40(_0x4d0216)},_0x1ddc96=this[_0x22bb7b(0x2c8)][_0x22bb7b(0x1e9)](Os),_0x3ee43b=this[_0x22bb7b(0x2c8)][_0x22bb7b(0x1e9)](K),_0xff55d2=Ms((_0x15b4b7=(_0x37115f=_0x3ee43b==null?void 0x0:_0x3ee43b[_0x22bb7b(0x37b)])!=null?_0x37115f:_0x1ddc96)!=null?_0x15b4b7:bs,_0x183a25,_0x7d32a9);try{await this[_0x22bb7b(0x49f)][_0x22bb7b(0x31a)](_0xff55d2,{'body':_0x33c386});}catch(_0x38659f){throw this[_0x22bb7b(0x255)][_0x22bb7b(0x1fc)](_0x22bb7b(0x323),_0x22bb7b(0x345)),_0x38659f;}}async[_0x1e1a91(0x303)](_0x24c649){var _0x21a202=_0x1e1a91;const {unitID:_0x139afa,from:_0xa6adeb,to:_0x322c8c,unitType:_0x567d4e}=_0x24c649['data'];return(await this['_snapshotServerService'][_0x21a202(0x3b0)]({'metadata':void 0x0},{'unitID':_0x139afa,'type':_0x567d4e,'from':_0xa6adeb,'to':_0x322c8c}))['changesets'];}};Ft=Ls([Ue(0x0,_0x31e33e(_0x3d0bb7)),Ue(0x1,_0x31e33e(_0x2cc90d)),Ue(0x2,_0x21d6f2),Ue(0x3,_0x187ac5),Ue(0x4,_0x5cd755)],Ft);const xs=_0x1e1a91(0x1bd);function ks(_0xd72167){var _0x4a2f1=_0x1e1a91;return JSON[_0x4a2f1(0x39f)](_0xd72167)['length'];}class Si{constructor(){var _0x841620=_0x1e1a91;N(this,_0x841620(0x36c),new _0x5a2205()),N(this,_0x841620(0x38e),this['_commentUpdate$'][_0x841620(0x3a7)]());}[_0x1e1a91(0x319)](_0x22c30a){var _0x5b8698=_0x1e1a91;this[_0x5b8698(0x36c)][_0x5b8698(0x2f9)](_0x22c30a);}}var $s=Object[_0x1e1a91(0x38a)],Hs=(_0x3ddb78,_0x5857ef,_0x11d2f4,_0x337cfa)=>{var _0x52ab85=_0x1e1a91;for(var _0x423eca=_0x337cfa>0x1?void 0x0:_0x337cfa?$s(_0x5857ef,_0x11d2f4):_0x5857ef,_0xe41bd9=_0x3ddb78[_0x52ab85(0x1ec)]-0x1,_0x793bed;_0xe41bd9>=0x0;_0xe41bd9--)(_0x793bed=_0x3ddb78[_0xe41bd9])&&(_0x423eca=_0x793bed(_0x423eca)||_0x423eca);return _0x423eca;},Vt=(_0x3d6758,_0x37f8c7)=>(_0x1873ab,_0x2b1a84)=>_0x37f8c7(_0x1873ab,_0x2b1a84,_0x3d6758);let Pe=class extends _0x38cb48{constructor(_0x18ce89,_0x28696d){var _0x5daeb0=_0x1e1a91;super(),N(this,'_roomMembers',new Map()),N(this,_0x5daeb0(0x43d),new _0x5a2205()),(this[_0x5daeb0(0x43e)]=_0x18ce89,this['_userManagerService']=_0x28696d,this[_0x5daeb0(0x1a7)](_0x12b484(this['_univerInstanceService'][_0x5daeb0(0x1dd)](_0x2ebbd1['UNIVER_SHEET'])[_0x5daeb0(0x2c2)](_0x442736(_0x2dc76c=>_0x2dc76c[_0x5daeb0(0x3d6)]())),this[_0x5daeb0(0x43e)][_0x5daeb0(0x1dd)](_0x2ebbd1[_0x5daeb0(0x3ab)])[_0x5daeb0(0x2c2)](_0x442736(_0x3487fb=>_0x3487fb[_0x5daeb0(0x3d6)]())),this[_0x5daeb0(0x43e)][_0x5daeb0(0x1dd)](_0x2ebbd1['UNIVER_SLIDE'])[_0x5daeb0(0x2c2)](_0x442736(_0x44588a=>_0x44588a['getUnitId']())))['subscribe'](_0x47329f=>this[_0x5daeb0(0x47b)](_0x47329f))));}[_0x1e1a91(0x3a9)](_0x36a3f6){var _0x30a2a2=_0x1e1a91;return this['_roomMembers'][_0x30a2a2(0x38b)](_0x36a3f6)?_0x18813a(this[_0x30a2a2(0x1b3)]['get'](_0x36a3f6)):this[_0x30a2a2(0x43d)][_0x30a2a2(0x2c2)](_0x442736(_0x3b7208=>{var _0x57680b=_0x30a2a2;if(_0x3b7208===_0x36a3f6)return this[_0x57680b(0x1b3)]['get'](_0x3b7208);}));}[_0x1e1a91(0x33a)](_0x175935){var _0x38414e=_0x1e1a91;this[_0x38414e(0x443)][_0x38414e(0x33a)](_0x175935);}[_0x1e1a91(0x468)](){var _0x5b748e=_0x1e1a91;return this['_userManagerService'][_0x5b748e(0x468)]();}[_0x1e1a91(0x40b)](_0x37876c,_0x48d8fe){var _0x2b863e=_0x1e1a91;let _0x29b26f=this[_0x2b863e(0x1b3)][_0x2b863e(0x2ff)](_0x37876c);_0x29b26f||(_0x29b26f=new Bs(),this[_0x2b863e(0x1b3)]['set'](_0x37876c,_0x29b26f),this[_0x2b863e(0x43d)]['next'](_0x37876c)),_0x29b26f[_0x2b863e(0x40b)](_0x48d8fe);}[_0x1e1a91(0x477)](_0x11b407,_0x3d4180){var _0x464ea5=_0x1e1a91;const _0x5da0cf=this['_roomMembers'][_0x464ea5(0x2ff)](_0x11b407);_0x5da0cf&&_0x5da0cf[_0x464ea5(0x477)](_0x3d4180);}[_0x1e1a91(0x44a)](_0x473966){return this['_roomMembers']['get'](_0x473966);}[_0x1e1a91(0x1f2)](_0x3b76f8,_0xd94c79){var _0x1b9fa6=_0x1e1a91;const _0x292ef2=this[_0x1b9fa6(0x1b3)][_0x1b9fa6(0x2ff)](_0x3b76f8);if(_0x292ef2)return _0x292ef2[_0x1b9fa6(0x1f2)](_0xd94c79);}[_0x1e1a91(0x47b)](_0x24ab6b){var _0x457b70=_0x1e1a91;const _0xa91588=this[_0x457b70(0x1b3)]['get'](_0x24ab6b);_0xa91588&&(_0xa91588[_0x457b70(0x24c)](),this[_0x457b70(0x1b3)]['delete'](_0x24ab6b));}[_0x1e1a91(0x24c)](){var _0x4f537e=_0x1e1a91;this[_0x4f537e(0x1b3)][_0x4f537e(0x19d)](_0x55cfd4=>_0x55cfd4[_0x4f537e(0x24c)]()),this[_0x4f537e(0x1b3)]['clear'](),this[_0x4f537e(0x43d)][_0x4f537e(0x49e)]();}};Pe=Hs([Vt(0x0,_0x58b7fa),Vt(0x1,_0x31e33e(_0x4683f0))],Pe);class Bs extends _0x38cb48{constructor(){var _0x36fc92=_0x1e1a91;super(...arguments),N(this,_0x36fc92(0x1d2),new Map()),N(this,_0x36fc92(0x424),new _0x4a01a6(this['_members'])),N(this,_0x36fc92(0x21a),this[_0x36fc92(0x424)][_0x36fc92(0x3a7)]());}[_0x1e1a91(0x24c)](){var _0x52941a=_0x1e1a91;this[_0x52941a(0x1d2)][_0x52941a(0x1e0)]();}['updateMember'](_0x2f09e1){var _0x2d3327=_0x1e1a91;this[_0x2d3327(0x1d2)][_0x2d3327(0x1b4)](_0x2f09e1['memberID'],_0x2f09e1),this[_0x2d3327(0x341)]();}['removeMember'](_0x5762b0){var _0x569921=_0x1e1a91;this[_0x569921(0x1d2)][_0x569921(0x3f7)](_0x5762b0);}[_0x1e1a91(0x1f2)](_0x29323f){var _0x40c0e9=_0x1e1a91;return this[_0x40c0e9(0x1d2)]['get'](_0x29323f);}['getAllMembers'](){var _0x46b292=_0x1e1a91;return Array[_0x46b292(0x2ba)](this[_0x46b292(0x1d2)]['values']());}['_emitMembers'](){var _0x170156=_0x1e1a91;this['_members$'][_0x170156(0x2f9)](this[_0x170156(0x1d2)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x459e5b,_0x5e881,_0x56b250,_0x34e819)=>{for(var _0x28ece9=_0x34e819>0x1?void 0x0:_0x34e819?js(_0x5e881,_0x56b250):_0x5e881,_0x234444=_0x459e5b['length']-0x1,_0x4a9771;_0x234444>=0x0;_0x234444--)(_0x4a9771=_0x459e5b[_0x234444])&&(_0x28ece9=_0x4a9771(_0x28ece9)||_0x28ece9);return _0x28ece9;},pe=(_0x49ab01,_0x326355)=>(_0x52afdd,_0x18a21d)=>_0x326355(_0x52afdd,_0x18a21d,_0x49ab01),Se=(_0x59cb59=>(_0x59cb59[_0x59cb59[_0x1e1a91(0x420)]=0x0]='IDLE',_0x59cb59[_0x59cb59[_0x1e1a91(0x2e8)]=0x1]=_0x1e1a91(0x2e8),_0x59cb59[_0x59cb59[_0x1e1a91(0x370)]=0x2]=_0x1e1a91(0x370),_0x59cb59[_0x59cb59[_0x1e1a91(0x1b6)]=0x3]=_0x1e1a91(0x1b6),_0x59cb59))(Se||{});const Gt={[me[_0x1e1a91(0x24a)]]:_0x1e1a91(0x2be),[me[_0x1e1a91(0x2bc)]]:_0x1e1a91(0x1ad),[me['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[me[_0x1e1a91(0x29b)]]:_0x1e1a91(0x3cd),[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x1e1a91(0x221)};let gt=class extends _0x10a3a4{constructor(_0x174eba,_0x302bca,_0x3a590d,_0x7ff886,_0x31836f,_0x2abc27,_0x4ec0ea,_0x4bdc84,_0x383988){var _0x4311bc=_0x1e1a91;super(),N(this,'_sessionStatus$',new _0x4a01a6(0x0)),N(this,_0x4311bc(0x453),this[_0x4311bc(0x33f)][_0x4311bc(0x3a7)]()),N(this,_0x4311bc(0x3bd),new _0x5a2205()),N(this,_0x4311bc(0x354),this['_event$'][_0x4311bc(0x3a7)]()),N(this,_0x4311bc(0x320)),N(this,_0x4311bc(0x3b2)),N(this,_0x4311bc(0x2a3)),N(this,_0x4311bc(0x1cf),!0x1),N(this,_0x4311bc(0x24d),null),(this['_unitID']=_0x174eba,this['_logService']=_0x3a590d,this['_configService']=_0x7ff886,this['_localeService']=_0x31836f,this[_0x4311bc(0x293)]=_0x2abc27,this[_0x4311bc(0x30b)]=_0x4ec0ea,this[_0x4311bc(0x375)]=_0x4bdc84,this[_0x4311bc(0x28f)]=_0x383988,this[_0x4311bc(0x1cf)]=!!this[_0x4311bc(0x28f)],_0x302bca[_0x4311bc(0x2c2)](_0x212c06(this[_0x4311bc(0x197)]))[_0x4311bc(0x412)](_0x3db6d2=>{var _0x522d71=_0x4311bc,_0x1af0c1;typeof _0x3db6d2>'u'||(this[_0x522d71(0x320)]=_0x3db6d2,_0x3db6d2?(this['_joinRoom'](_0x3db6d2),this[_0x522d71(0x3b2)]=_0x3db6d2['message$']['subscribe'](_0x5679c5=>{var _0x3e546f=_0x522d71;_0x5679c5[_0x3e546f(0x478)]===this['_unitID']&&this['_onCombEvent'](_0x5679c5);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x522d71(0x33f)]['next'](0x2),(_0x1af0c1=this[_0x522d71(0x3b2)])==null||_0x1af0c1[_0x522d71(0x204)](),this['_socketMessageSubscription']=null));}));}get[_0x1e1a91(0x272)](){var _0x148e21=_0x1e1a91;return this[_0x148e21(0x33f)][_0x148e21(0x1c5)]();}['getMemberID'](){var _0x4a6660=_0x1e1a91,_0x4dc623,_0x2c0d29;return(_0x2c0d29=(_0x4dc623=this[_0x4a6660(0x320)])==null?void 0x0:_0x4dc623[_0x4a6660(0x388)])!=null?_0x2c0d29:null;}['dispose'](){var _0x526f39=_0x1e1a91;super[_0x526f39(0x24c)](),this['dispose$'][_0x526f39(0x2f9)](),this[_0x526f39(0x197)][_0x526f39(0x49e)]();}['close'](){var _0x367f51=_0x1e1a91,_0x3a8068,_0x2cdca9;this[_0x367f51(0x386)](),(_0x3a8068=this[_0x367f51(0x320)])==null||_0x3a8068['send']({'cmd':F[_0x367f51(0x39a)],'data':{'roomID':this[_0x367f51(0x230)]}}),(_0x2cdca9=this['_socket'])==null||_0x2cdca9['close'](),this['_event$'][_0x367f51(0x49e)](),this['_sessionStatus$'][_0x367f51(0x49e)](),this[_0x367f51(0x24c)]();}[_0x1e1a91(0x49b)](_0x596381){var _0x5ae6b3=_0x1e1a91;_0x596381[_0x5ae6b3(0x3d1)]===F['JOIN']?this[_0x5ae6b3(0x259)](_0x596381):_0x596381[_0x5ae6b3(0x3d1)]===F[_0x5ae6b3(0x2b0)]&&this[_0x5ae6b3(0x467)](_0x596381);}[_0x1e1a91(0x356)](_0x452ec3){var _0x218ec7=_0x1e1a91;this[_0x218ec7(0x33f)][_0x218ec7(0x2f9)](0x1),_0x452ec3[_0x218ec7(0x1c3)]({'cmd':F['JOIN'],'routeKey':this[_0x218ec7(0x230)],'routeType':'','data':{'rooms':[{'roomID':this[_0x218ec7(0x230)]}]}});}[_0x1e1a91(0x259)](_0x568bd6){var _0x2a6002=_0x1e1a91,_0x5b765d;if(_0x568bd6['code']in Gt){this[_0x2a6002(0x375)][_0x2a6002(0x33b)]({'id':ne[_0x2a6002(0x399)],'data':Gt[_0x568bd6[_0x2a6002(0x440)]]}),this['_sessionStatus$'][_0x2a6002(0x2f9)](0x2);return;}this[_0x2a6002(0x33f)][_0x2a6002(0x2f9)](0x3);const _0x435d46=(_0x5b765d=_0x568bd6[_0x2a6002(0x21e)][_0x2a6002(0x3e3)][this[_0x2a6002(0x230)]])==null?void 0x0:_0x5b765d[_0x2a6002(0x3cb)];_0x435d46&&_0x435d46['forEach'](_0x3db96b=>this[_0x2a6002(0x293)][_0x2a6002(0x40b)](this[_0x2a6002(0x230)],_0x3db96b));}['_onRecvEvent'](_0x17392b){var _0x875964=_0x1e1a91;try{const _0x4afec5=_0x17392b['data'];switch(_0x4afec5[_0x875964(0x46d)]){case _0x4ac4f0[_0x875964(0x47c)]:this[_0x875964(0x40a)](_0x4afec5),this['_event$'][_0x875964(0x2f9)](_0x4afec5);break;case _0x4ac4f0[_0x875964(0x3d7)]:this[_0x875964(0x2f1)](_0x4afec5),this[_0x875964(0x3bd)][_0x875964(0x2f9)](_0x4afec5);break;case _0x4ac4f0[_0x875964(0x352)]:case _0x4ac4f0[_0x875964(0x231)]:this[_0x875964(0x224)](),this['_clearCollaborationTimeoutTimer'](),this[_0x875964(0x3bd)][_0x875964(0x2f9)](_0x4afec5);break;case _0x4ac4f0['MSG_FOR_ERROR']:this[_0x875964(0x255)][_0x875964(0x1fc)](_0x875964(0x2d9)+JSON[_0x875964(0x39f)](_0x4afec5)),this['_event$'][_0x875964(0x2f9)](_0x4afec5);break;case _0x4ac4f0[_0x875964(0x3c9)]:this[_0x875964(0x30b)][_0x875964(0x319)](_0x4afec5[_0x875964(0x21e)]),this['_event$'][_0x875964(0x2f9)](_0x4afec5);break;default:this[_0x875964(0x3bd)][_0x875964(0x2f9)](_0x4afec5);}}catch(_0x3ceed9){this[_0x875964(0x255)][_0x875964(0x1fc)](_0x3ceed9,_0x17392b);}}[_0x1e1a91(0x40a)](_0x2c6f53){var _0x17f517=_0x1e1a91;this[_0x17f517(0x293)][_0x17f517(0x40b)](this['_unitID'],_0x2c6f53[_0x17f517(0x21e)]);}['_onUserLeave'](_0x93a88c){var _0x6113dd=_0x1e1a91;this['_memberService'][_0x6113dd(0x477)](this['_unitID'],_0x93a88c[_0x6113dd(0x21e)][_0x6113dd(0x388)]);}async[_0x1e1a91(0x1c3)](_0x19cee4,_0x286112){var _0x5a4e00=_0x1e1a91;if(this['sessionStatus']!==0x3||!this[_0x5a4e00(0x320)])throw new Error(_0x5a4e00(0x385));try{_0x19cee4[_0x5a4e00(0x46d)]===_0x4ac4f0['SUBMIT_CHANGESET']&&(this[_0x5a4e00(0x203)](),this[_0x5a4e00(0x46c)](_0x19cee4)),this[_0x5a4e00(0x320)]['send']({'cmd':F[_0x5a4e00(0x2de)],'routeKey':_0x286112,'routeType':'','data':_0x19cee4});}catch(_0x16667b){this[_0x5a4e00(0x255)][_0x5a4e00(0x1fc)](_0x16667b);}}[_0x1e1a91(0x203)](){var _0x5f1a28=_0x1e1a91,_0x2b0bd4;this[_0x5f1a28(0x2a3)]=setTimeout(()=>{var _0xcd3e1=_0x5f1a28;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0xcd3e1(0x33b)]({'id':ne[_0xcd3e1(0x3ea)]});},(_0x2b0bd4=this[_0x5f1a28(0x2c8)][_0x5f1a28(0x1e9)](fi))!=null?_0x2b0bd4:vi);}[_0x1e1a91(0x40c)](){var _0x2f03bf=_0x1e1a91;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2f03bf(0x2a3)]=null);}[_0x1e1a91(0x46c)](_0x2c1efd){var _0x3a1bdd=_0x1e1a91;if(!this[_0x3a1bdd(0x1cf)])return;const {data:_0x2a6e40}=_0x2c1efd,{unitID:_0x555ed8,changeset:_0x4fadfa}=_0x2a6e40,{mutations:_0x3f210b,type:_0x25e98e}=_0x4fadfa;this[_0x3a1bdd(0x24d)]={'unitId':_0x555ed8,'type':_0x25e98e,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ks(_0x3f210b)};}[_0x1e1a91(0x224)](){var _0x4f52eb=_0x1e1a91;if(this[_0x4f52eb(0x1cf)]){if(!this['_telemetryInfo']){this[_0x4f52eb(0x255)][_0x4f52eb(0x1fc)](_0x4f52eb(0x323),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4f52eb(0x24d)][_0x4f52eb(0x28b)]=performance[_0x4f52eb(0x2e2)](),this['_telemetryInfo'][_0x4f52eb(0x40d)]=this[_0x4f52eb(0x24d)][_0x4f52eb(0x28b)]-this[_0x4f52eb(0x24d)][_0x4f52eb(0x2ec)],this[_0x4f52eb(0x28f)][_0x4f52eb(0x495)](xs,this[_0x4f52eb(0x24d)]),this[_0x4f52eb(0x24d)]=null;}}[_0x1e1a91(0x386)](){var _0xe79e81=_0x1e1a91;this[_0xe79e81(0x24d)]=null;}};gt=Fs([pe(0x2,_0x187ac5),pe(0x3,_0x21d6f2),pe(0x4,_0x31e33e(_0x5de357)),pe(0x5,_0x31e33e(Pe)),pe(0x6,_0x31e33e(Si)),pe(0x7,_0x31e33e(ve)),pe(0x8,_0x914e26(_0x17ec48))],gt);var Vs=Object[_0x1e1a91(0x38a)],Gs=(_0x4edd08,_0x44e03a,_0x6323ed,_0x9a65c5)=>{var _0x8fcc6f=_0x1e1a91;for(var _0x59eedf=_0x9a65c5>0x1?void 0x0:_0x9a65c5?Vs(_0x44e03a,_0x6323ed):_0x44e03a,_0x1d698e=_0x4edd08[_0x8fcc6f(0x1ec)]-0x1,_0xb715f2;_0x1d698e>=0x0;_0x1d698e--)(_0xb715f2=_0x4edd08[_0x1d698e])&&(_0x59eedf=_0xb715f2(_0x59eedf)||_0x59eedf);return _0x59eedf;},Re=(_0x416c60,_0x887cd3)=>(_0x585b9b,_0x4c48dd)=>_0x887cd3(_0x585b9b,_0x4c48dd,_0x416c60);let Le=class extends _0x38cb48{constructor(_0xc7087e,_0x2ca33a,_0x837d93,_0x1c62de,_0x24db85,_0x2c11fb){var _0xcc82a9=_0x1e1a91;super(),N(this,_0xcc82a9(0x3e9),new _0x4a01a6(void 0x0)),N(this,_0xcc82a9(0x1ba),this[_0xcc82a9(0x3e9)][_0xcc82a9(0x3a7)]()),N(this,_0xcc82a9(0x409),null),N(this,_0xcc82a9(0x390),new Map()),N(this,_0xcc82a9(0x3b9),new _0x4a01a6(Se[_0xcc82a9(0x420)])),N(this,_0xcc82a9(0x43a),this[_0xcc82a9(0x3b9)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,_0xcc82a9(0x3da)),N(this,_0xcc82a9(0x480),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0xcc82a9(0x200)),(this[_0xcc82a9(0x1a3)]=_0xc7087e,this[_0xcc82a9(0x255)]=_0x2ca33a,this['_configService']=_0x837d93,this[_0xcc82a9(0x244)]=_0x1c62de,this[_0xcc82a9(0x375)]=_0x24db85,this[_0xcc82a9(0x435)]=_0x2c11fb,this['_listenToNetworkCondition']());}get[_0x1e1a91(0x320)](){var _0x381409=_0x1e1a91;return this[_0x381409(0x3e9)][_0x381409(0x1c5)]();}[_0x1e1a91(0x34b)](){var _0x4042f4=_0x1e1a91;this['_networkConditionService']&&this[_0x4042f4(0x1a7)](this[_0x4042f4(0x435)][_0x4042f4(0x220)][_0x4042f4(0x412)](_0x3fc118=>{var _0x1a1071=_0x4042f4;_0x3fc118&&!this[_0x1a1071(0x320)]&&this[_0x1a1071(0x486)](),_0x3fc118||this[_0x1a1071(0x28e)]();}));}[_0x1e1a91(0x24c)](){var _0x3452e9=_0x1e1a91;super['dispose'](),this[_0x3452e9(0x2b6)](),this[_0x3452e9(0x41c)](),this['_clearHeartbeatTimer'](),this[_0x3452e9(0x390)][_0x3452e9(0x19d)](_0x1b0375=>_0x1b0375['dispose']()),this[_0x3452e9(0x390)][_0x3452e9(0x1e0)](),this['_status$'][_0x3452e9(0x49e)]();}async['requireSession'](_0x4352e4){var _0x53d411=_0x1e1a91;if(this[_0x53d411(0x390)][_0x53d411(0x38b)](_0x4352e4))return this[_0x53d411(0x390)][_0x53d411(0x2ff)](_0x4352e4);this[_0x53d411(0x489)]();const _0x2f8094=this[_0x53d411(0x1a3)][_0x53d411(0x41d)](gt,_0x4352e4,this['_socket$'][_0x53d411(0x3a7)]());return this[_0x53d411(0x390)][_0x53d411(0x1b4)](_0x4352e4,_0x2f8094),_0x2f8094;}[_0x1e1a91(0x48f)](_0x843f71){var _0x3b88e3=_0x1e1a91,_0x19b785;const _0x14e060=this[_0x3b88e3(0x390)][_0x3b88e3(0x2ff)](_0x843f71);_0x14e060&&(this[_0x3b88e3(0x390)]['delete'](_0x843f71),_0x14e060[_0x3b88e3(0x2ca)]()),this[_0x3b88e3(0x390)][_0x3b88e3(0x437)]||(_0x19b785=this[_0x3b88e3(0x320)])==null||_0x19b785['close']();}[_0x1e1a91(0x486)](){var _0x44f3eb=_0x1e1a91;this[_0x44f3eb(0x480)]=0x0,this[_0x44f3eb(0x2b6)](),this[_0x44f3eb(0x3d2)]();}[_0x1e1a91(0x2b6)](){var _0x3a4307=_0x1e1a91;this[_0x3a4307(0x3da)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3a4307(0x3da)]=null);}async['_createSocket'](){var _0x2dab58=_0x1e1a91,_0x2c3b8f,_0x1c4812;const _0x353746=this['_configService'][_0x2dab58(0x1e9)](gs),_0x5d64e3=this[_0x2dab58(0x2c8)][_0x2dab58(0x1e9)](K),_0x3431e1=(_0x1c4812=(_0x2c3b8f=_0x5d64e3==null?void 0x0:_0x5d64e3[_0x2dab58(0x1fa)])!=null?_0x2c3b8f:_0x353746)!=null?_0x1c4812:Ss,_0x52c0d2=await this[_0x2dab58(0x244)]['createSocket'](_0x3431e1);return this[_0x2dab58(0x409)]=_0x52c0d2,_0x52c0d2;}async[_0x1e1a91(0x489)](){var _0x1fa51e=_0x1e1a91,_0xaea5c4,_0x2ce192;try{const _0x53e54d=(_0x2ce192=(_0xaea5c4=this['_socket'])!=null?_0xaea5c4:this[_0x1fa51e(0x409)])!=null?_0x2ce192:await this[_0x1fa51e(0x414)]();if(_0x53e54d){const _0x270317=_0x53e54d['send'];_0x53e54d[_0x1fa51e(0x1c3)]=_0x1827e6=>(this[_0x1fa51e(0x2f8)](),_0x270317[_0x1fa51e(0x26a)](_0x53e54d,[_0x1827e6])),_0x53e54d['message$'][_0x1fa51e(0x412)](_0x1e4501=>this[_0x1fa51e(0x2b8)](_0x53e54d,_0x1e4501)),_0x53e54d['error$'][_0x1fa51e(0x2c2)](_0x4adfdf(0x1))[_0x1fa51e(0x412)](_0x137ed9=>this[_0x1fa51e(0x255)][_0x1fa51e(0x1fc)](_0x1fa51e(0x336),_0x137ed9)),_0x53e54d[_0x1fa51e(0x1bc)]['pipe'](_0x4adfdf(0x1))[_0x1fa51e(0x412)](()=>{var _0x165899=_0x1fa51e;this[_0x165899(0x1f3)](_0x53e54d);}),_0x53e54d[_0x1fa51e(0x2bb)][_0x1fa51e(0x2c2)](_0x4adfdf(0x1))[_0x1fa51e(0x412)](_0xb02ebf=>{var _0x457d0e=_0x1fa51e;this[_0x457d0e(0x255)][_0x457d0e(0x299)](_0x457d0e(0x348),'socket\x20close',_0xb02ebf),this['_onConnectionFailed']();});}}catch(_0x10e62a){this['_logService'][_0x1fa51e(0x1fc)](_0x10e62a),this[_0x1fa51e(0x3d3)]();}}['_onConnectionOpen'](_0x59f32f){var _0x3bdcbd=_0x1e1a91;this['_logService'][_0x3bdcbd(0x299)](_0x3bdcbd(0x348),_0x3bdcbd(0x1c6)),_0x59f32f[_0x3bdcbd(0x1c3)]({'cmd':F[_0x3bdcbd(0x492)]}),this[_0x3bdcbd(0x2f8)]();}[_0x1e1a91(0x28e)](){var _0x3ac2af=_0x1e1a91;this[_0x3ac2af(0x447)]=!0x1,this[_0x3ac2af(0x409)]=null,this[_0x3ac2af(0x3b9)][_0x3ac2af(0x2f9)](Se[_0x3ac2af(0x370)]),this[_0x3ac2af(0x3e9)][_0x3ac2af(0x2f9)](null),this[_0x3ac2af(0x41c)](),this[_0x3ac2af(0x2c6)]();}[_0x1e1a91(0x3d3)](){var _0x2c9350=_0x1e1a91,_0x5d9d93;this['_onOffline'](),this['_retryCount']<((_0x5d9d93=this[_0x2c9350(0x2c8)][_0x2c9350(0x1e9)](Cs))!=null?_0x5d9d93:Rs)?(this[_0x2c9350(0x375)][_0x2c9350(0x33b)]({'id':ne[_0x2c9350(0x30c)]}),this[_0x2c9350(0x3d2)]()):this[_0x2c9350(0x375)][_0x2c9350(0x33b)]({'id':ne[_0x2c9350(0x353)]});}[_0x1e1a91(0x3d2)](){var _0x8994c0=_0x1e1a91,_0x31e962;const _0x168f26=this['_retryCount'],_0x47fadb=this[_0x8994c0(0x2c8)][_0x8994c0(0x1e9)](K),_0x123662=_0x168f26===0x0?0x0:((_0x31e962=_0x47fadb==null?void 0x0:_0x47fadb[_0x8994c0(0x2fb)])!=null?_0x31e962:Ts)*0x2**_0x168f26;this[_0x8994c0(0x3da)]=setTimeout(()=>{var _0xc02175=_0x8994c0;clearTimeout(this[_0xc02175(0x3da)]),this[_0xc02175(0x3da)]=null,this[_0xc02175(0x489)]();},_0x123662),this[_0x8994c0(0x480)]+=0x1;}[_0x1e1a91(0x2b8)](_0x5336ac,_0xfbcba2){var _0x4dbec6=_0x1e1a91;const {cmd:_0x2c5bfa}=_0xfbcba2;_0x2c5bfa===F[_0x4dbec6(0x492)]&&!this[_0x4dbec6(0x447)]&&(_0x5336ac[_0x4dbec6(0x388)]=_0xfbcba2[_0x4dbec6(0x21e)][_0x4dbec6(0x388)],this[_0x4dbec6(0x3e9)]['next'](_0x5336ac),this[_0x4dbec6(0x3b9)][_0x4dbec6(0x2f9)](Se[_0x4dbec6(0x1b6)]),this['_socketReady']=!0x0,this[_0x4dbec6(0x409)]=null),_0x2c5bfa===F[_0x4dbec6(0x48e)]&&this[_0x4dbec6(0x41c)](),this[_0x4dbec6(0x2f8)]();}[_0x1e1a91(0x2f8)](){var _0x2debbf=_0x1e1a91,_0x288653;this[_0x2debbf(0x2c6)](),this[_0x2debbf(0x451)]=setTimeout(()=>this[_0x2debbf(0x349)](),(_0x288653=this[_0x2debbf(0x2c8)][_0x2debbf(0x1e9)](Es))!=null?_0x288653:Is);}[_0x1e1a91(0x349)](){var _0x4629e7=_0x1e1a91;this[_0x4629e7(0x320)][_0x4629e7(0x1c3)]({'cmd':F[_0x4629e7(0x48e)]}),this[_0x4629e7(0x444)]();}['_waitForHeartbeatResponse'](){var _0x137487=_0x1e1a91,_0x583970;this[_0x137487(0x200)]=setTimeout(()=>this[_0x137487(0x3d3)](),(_0x583970=this[_0x137487(0x2c8)]['getConfig'](fi))!=null?_0x583970:vi);}['_clearHeartbeatTimer'](){var _0x293f28=_0x1e1a91;this[_0x293f28(0x451)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x293f28(0x451)]=null);}[_0x1e1a91(0x41c)](){var _0x7a8791=_0x1e1a91;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x7a8791(0x200)]),this[_0x7a8791(0x200)]=null);}};Le=Gs([Re(0x0,_0x31e33e(_0x3d0bb7)),Re(0x1,_0x187ac5),Re(0x2,_0x21d6f2),Re(0x3,gi),Re(0x4,_0x31e33e(ve)),Re(0x5,_0x914e26(Us))],Le);const J=_0x5b8112(_0x1e1a91(0x1e5));function Pr(_0x48cda0){var _0x3d5b7f=_0x1e1a91;return _0x3d5b7f(0x245)+_0x48cda0;}var Ys=Object['getOwnPropertyDescriptor'],Ws=(_0x2bd495,_0x305db5,_0x448440,_0x2add77)=>{for(var _0x4af227=_0x2add77>0x1?void 0x0:_0x2add77?Ys(_0x305db5,_0x448440):_0x305db5,_0xe98bec=_0x2bd495['length']-0x1,_0x12bde6;_0xe98bec>=0x0;_0xe98bec--)(_0x12bde6=_0x2bd495[_0xe98bec])&&(_0x4af227=_0x12bde6(_0x4af227)||_0x4af227);return _0x4af227;},ut=(_0x6b4f4c,_0x3d86ef)=>(_0x5b4aca,_0x273ca9)=>_0x3d86ef(_0x5b4aca,_0x273ca9,_0x6b4f4c);function Ks(_0x4662f0){var _0x48a6d8=_0x1e1a91;const {unitID:_0x9a24df,mutations:_0x187fb5}=_0x4662f0;return{'unitId':_0x9a24df,'subUnitId':_0x187fb5[0x0]['params'][_0x48a6d8(0x441)]};}let it=class{constructor(_0x271b32,_0x5c604a,_0x790973){var _0x12b9c2=_0x1e1a91;this['_injector']=_0x271b32,this[_0x12b9c2(0x41a)]=_0x5c604a,this[_0x12b9c2(0x25a)]=_0x790973;}[_0x1e1a91(0x313)](_0x8a11eb){var _0x2c88fe=_0x1e1a91,_0x3032a2,_0x5cf3dc,_0xe8c4bf,_0x95675e;const _0x3b1902=this['_injector'][_0x2c88fe(0x2ff)](_0x477662),{unitId:_0x5897a3,subUnitId:_0x2a2495}=Ks(_0x8a11eb),_0x56ae9d=_0x3b1902==null?void 0x0:_0x3b1902['getWorkbookSelections'](_0x5897a3)[_0x2c88fe(0x3d4)](),_0x3e9ae7=(_0x5cf3dc=(_0x3032a2=this[_0x2c88fe(0x25a)][_0x2c88fe(0x3de)](_0x5897a3))==null?void 0x0:_0x3032a2['getActiveSheet']())==null?void 0x0:_0x5cf3dc[_0x2c88fe(0x199)]();if(_0x56ae9d[_0x2c88fe(0x1ec)]===0x0||!_0x5897a3||!_0x2a2495)return;const _0x43195d=[{'id':_0x2ee557['id'],'params':{'unitId':_0x5897a3,'subUnitId':_0x3e9ae7,'selections':_0x85369[_0x2c88fe(0x20a)](_0x56ae9d)}}],_0x23304f=this['_transformService'][_0x2c88fe(0x3a4)](_0x8a11eb,_0x43195d);if(!_0x1e2f79(_0x23304f))throw _0x23304f[_0x2c88fe(0x1fc)];const _0x134c53=(_0x95675e=(_0xe8c4bf=_0x23304f[_0x2c88fe(0x34c)][0x0])==null?void 0x0:_0xe8c4bf[_0x2c88fe(0x400)])==null?void 0x0:_0x95675e[_0x2c88fe(0x1c9)];if(Array[_0x2c88fe(0x1a8)](_0x134c53)&&_0x134c53[_0x2c88fe(0x1ec)]){if(_0x134c53[_0x2c88fe(0x1ec)]===_0x43195d[0x0]['params']['selections'][_0x2c88fe(0x1ec)]&&_0x134c53[_0x2c88fe(0x3c4)]((_0x5dd915,_0x2a19df)=>_0x31ffd0[_0x2c88fe(0x3dc)](_0x5dd915[_0x2c88fe(0x43b)],_0x43195d[0x0][_0x2c88fe(0x400)][_0x2c88fe(0x1c9)][_0x2a19df][_0x2c88fe(0x43b)])))return;this[_0x2c88fe(0x1a3)]['get'](_0x497b9c)[_0x2c88fe(0x1ef)](_0x2ee557['id'],{'unitId':_0x5897a3,'subUnitId':_0x3e9ae7,'selections':_0x134c53});}}};it=Ws([ut(0x0,_0x31e33e(_0x3d0bb7)),ut(0x1,_0x520a88),ut(0x2,_0x58b7fa)],it);const ht=_0x5b8112('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x2b31b6=>(_0x2b31b6[_0x2b31b6[_0x1e1a91(0x22b)]=0x0]=_0x1e1a91(0x22b),_0x2b31b6[_0x2b31b6[_0x1e1a91(0x32f)]=0x1]=_0x1e1a91(0x32f),_0x2b31b6))(Ei||{});const qs=new Set([_0x5ebeb6['id']]);function Yt(_0x17f2be,_0x26e868,_0x332627,_0x31a986,_0x3f6223){var _0x2552ea=_0x1e1a91,_0x5c78ea,_0x343df3,_0x9fa06b,_0x391524;const _0x4c9731=[];for(const _0x35975d of _0x17f2be)if(qs[_0x2552ea(0x38b)](_0x35975d['id'])){if(_0x4c9731[_0x2552ea(0x1ec)]>0x0)break;_0x4c9731[_0x2552ea(0x3b3)](_0x35975d);break;}else _0x4c9731[_0x2552ea(0x3b3)](_0x35975d);const _0x5de3a5=(_0x343df3=(_0x5c78ea=_0x3f6223['getCurrentUser']())==null?void 0x0:_0x5c78ea[_0x2552ea(0x250)])!=null?_0x343df3:_0x2552ea(0x1d6),_0x524e48=(_0x391524=(_0x9fa06b=_0x3f6223[_0x2552ea(0x468)]())==null?void 0x0:_0x9fa06b[_0x2552ea(0x388)])!=null?_0x391524:_0x2552ea(0x1d6);return{'changeset':{'unitID':_0x26e868,'type':_0x1250eb(_0x332627[_0x2552ea(0x484)](_0x26e868)),'baseRev':_0x31a986[_0x2552ea(0x1cc)](_0x26e868),'revision':0x0,'userID':_0x5de3a5,'memberID':_0x524e48,'mutations':_0x4c9731},'pendingMutations':_0x17f2be[_0x2552ea(0x431)](_0x4c9731[_0x2552ea(0x1ec)])};}function zs(_0xe9440,_0x24cc19,_0xf9adf4,_0x2d0f5c,_0x29beaa){var _0x1ea444=_0x1e1a91,_0x1efbd7,_0x2b4934,_0x4b9ca9,_0x4d0ea2;const _0x1f5de5=[_0xe9440[_0x1ea444(0x251)]((_0x45de2a,_0x295d3f)=>{var _0x4d03a4=_0x1ea444,_0x3cbb41;const {id:_0x1a4f0d}=_0x45de2a,{id:_0x2bd216,type:_0x4e8f04}=_0x295d3f,_0x319fbd=(_0x3cbb41=_0x45de2a[_0x4d03a4(0x400)])!=null?_0x3cbb41:{'actions':null},_0x423a81=_0x295d3f[_0x4d03a4(0x400)];if(_0x1a4f0d&&_0x1a4f0d!==_0x2bd216)throw new Error(_0x4d03a4(0x3fb)+_0x1a4f0d+'\x20-\x20'+_0x2bd216+'.');return{..._0x45de2a,'id':_0x2bd216,'type':_0x4e8f04,'params':{'unitId':_0x423a81[_0x4d03a4(0x406)],'textRanges':_0x423a81['textRanges'],'actions':_0x440f39[_0x4d03a4(0x236)](_0x319fbd[_0x4d03a4(0x41b)],_0x423a81[_0x4d03a4(0x41b)])}};},{})],_0x1fd768=(_0x2b4934=(_0x1efbd7=_0x29beaa[_0x1ea444(0x468)]())==null?void 0x0:_0x1efbd7[_0x1ea444(0x250)])!=null?_0x2b4934:'unknown',_0x48e8c6=(_0x4d0ea2=(_0x4b9ca9=_0x29beaa[_0x1ea444(0x468)]())==null?void 0x0:_0x4b9ca9[_0x1ea444(0x388)])!=null?_0x4d0ea2:'unknown';return{'changeset':{'unitID':_0x24cc19,'type':_0x1250eb(_0xf9adf4[_0x1ea444(0x484)](_0x24cc19)),'baseRev':_0x2d0f5c[_0x1ea444(0x1cc)](_0x24cc19),'revision':0x0,'userID':_0x1fd768,'memberID':_0x48e8c6,'mutations':_0x1f5de5},'pendingMutations':[]};}function Ii(_0x21f6c2,_0x58a577){var _0x2f473e=_0x1e1a91;const _0x5c12a4=new _0xe6f886(0x1);return setTimeout(()=>_0x5c12a4[_0x2f473e(0x2f9)](_0x58a577),_0x21f6c2),_0x5c12a4['asObservable']()['pipe'](_0x5ef4f3(0x1));}const Js={'id':_0x2a3d53['id'],'type':_0x5c1ed1['MUTATION'],'params':{}};var Xs=Object[_0x1e1a91(0x38a)],Ie=(_0x5f446c,_0x3696c3,_0x35f0ea,_0x4803e6)=>{var _0x24d9f3=_0x1e1a91;for(var _0xecf261=_0x4803e6>0x1?void 0x0:_0x4803e6?Xs(_0x3696c3,_0x35f0ea):_0x3696c3,_0x137281=_0x5f446c[_0x24d9f3(0x1ec)]-0x1,_0x54a9e2;_0x137281>=0x0;_0x137281--)(_0x54a9e2=_0x5f446c[_0x137281])&&(_0xecf261=_0x54a9e2(_0xecf261)||_0xecf261);return _0xecf261;},P=(_0x1048f3,_0x1ec092)=>(_0x49ea2e,_0x5743e8)=>_0x1ec092(_0x49ea2e,_0x5743e8,_0x1048f3),Ti=(_0x1ed198=>(_0x1ed198[_0x1e1a91(0x377)]='not_collab',_0x1ed198[_0x1e1a91(0x46b)]='synced',_0x1ed198[_0x1e1a91(0x405)]='pending',_0x1ed198[_0x1e1a91(0x28a)]=_0x1e1a91(0x362),_0x1ed198[_0x1e1a91(0x237)]=_0x1e1a91(0x21c),_0x1ed198['FETCH_MISS']=_0x1e1a91(0x3c1),_0x1ed198[_0x1e1a91(0x1f7)]=_0x1e1a91(0x382),_0x1ed198[_0x1e1a91(0x370)]=_0x1e1a91(0x2fa),_0x1ed198))(Ti||{});const Ci=0xea60;class Te{constructor(_0x2b6693,_0x173d12,_0x2c8f8a,_0x5ee417,_0x5612c2,_0xa44bbb,_0x4ec47b,_0x1b20cf,_0xa2cb61){var _0x30ceef=_0x1e1a91;N(this,_0x30ceef(0x309),null),N(this,_0x30ceef(0x2ef),[]),(this[_0x30ceef(0x421)]=_0x2b6693,this['type']=_0x173d12,this[_0x30ceef(0x340)]=_0x5612c2,this['_commandService']=_0xa44bbb,this[_0x30ceef(0x339)]=_0x4ec47b,this[_0x30ceef(0x461)]=_0x1b20cf,this[_0x30ceef(0x392)]=_0xa2cb61,this[_0x30ceef(0x309)]=_0x2c8f8a,this[_0x30ceef(0x2ef)]=_0x5ee417);}[_0x1e1a91(0x1e2)](_0x43c678){var _0x2a352a=_0x1e1a91;const _0x1b8e78=this[_0x2a352a(0x461)][_0x2a352a(0x1cc)](this[_0x2a352a(0x421)]);return _0x43c678['revision']>_0x1b8e78+0x1?(this[_0x2a352a(0x340)][_0x2a352a(0x1ce)]({'from':_0x1b8e78,'to':_0x43c678[_0x2a352a(0x36a)]-0x1}),!0x0):!0x1;}[_0x1e1a91(0x269)](_0x39a0d2){var _0x1dbc50=_0x1e1a91;this[_0x1dbc50(0x339)][_0x1dbc50(0x48b)](this['unitID'],_0x39a0d2);}[_0x1e1a91(0x3cc)](_0x281dec){var _0x56435b=_0x1e1a91,_0x3f4a08,_0x3a2a12;(_0x3a2a12=(_0x3f4a08=this[_0x56435b(0x340)])[_0x56435b(0x464)])==null||_0x3a2a12['call'](_0x3f4a08,_0x281dec);}[_0x1e1a91(0x3ee)](_0x4fee63){var _0x48a030=_0x1e1a91,_0x46deb7,_0x202029;return(_0x202029=(_0x46deb7=this[_0x48a030(0x340)])[_0x48a030(0x497)])==null?void 0x0:_0x202029[_0x48a030(0x310)](_0x46deb7,_0x4fee63);}[_0x1e1a91(0x2fe)](_0x1fed9a){var _0x57deba=_0x1e1a91,_0x5f2111,_0x329360;return(_0x329360=(_0x5f2111=this[_0x57deba(0x340)])['onTransformState'])==null?void 0x0:_0x329360['call'](_0x5f2111,_0x1fed9a);}[_0x1e1a91(0x455)](_0x33bf84){var _0xfd49d7=_0x1e1a91,_0xc37ff1,_0x13465a,_0x5aade1;return(_0x5aade1=(_0x13465a=(_0xc37ff1=this[_0xfd49d7(0x340)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x13465a[_0xfd49d7(0x310)](_0xc37ff1,_0x33bf84))!=null?_0x5aade1:_0x33bf84;}[_0x1e1a91(0x427)](_0x45778a){var _0x49823a=_0x1e1a91,_0x1a57fa,_0x56978e,_0x55904c;return(_0x55904c=(_0x56978e=(_0x1a57fa=this[_0x49823a(0x340)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x56978e[_0x49823a(0x310)](_0x1a57fa,_0x45778a))!=null?_0x55904c:_0x45778a;}[_0x1e1a91(0x2c1)](_0x20b3df){var _0x58df23=_0x1e1a91,_0x5ccd48,_0xad5d2a;if(this['type']===Z[_0x58df23(0x3ab)]){const {unitID:_0x32d6d8,mutations:_0x388490,memberID:_0x166a31}=_0x20b3df,_0x341a5f=_0x388490[0x0]['params'][_0x58df23(0x3fc)];Array['isArray'](_0x341a5f)&&_0x341a5f['length']>0x0&&((_0xad5d2a=(_0x5ccd48=this[_0x58df23(0x340)])[_0x58df23(0x31f)])==null||_0xad5d2a[_0x58df23(0x310)](_0x5ccd48,{'unitID':_0x32d6d8,'memberID':_0x166a31,'textRanges':_0x341a5f}));}}[_0x1e1a91(0x384)](){var _0x42de76=_0x1e1a91,_0xb530bd;(_0xb530bd=this['_localCacheService'])==null||_0xb530bd[_0x42de76(0x3e6)](this[_0x42de76(0x421)],this['type'],this[_0x42de76(0x309)],this['_pendingMutations']);}[_0x1e1a91(0x33e)](){var _0x356aa6=_0x1e1a91;return this[_0x356aa6(0x461)]['getCurrentRevOfUnit'](this[_0x356aa6(0x421)]);}[_0x1e1a91(0x417)](){var _0x16c2cf=_0x1e1a91;this['_revisionService']['incrementRevOfUnit'](this[_0x16c2cf(0x421)]);}[_0x1e1a91(0x1a9)](_0x5f2d2d){var _0x338b57=_0x1e1a91,_0x44c19c;let _0x4c5ac1=this[_0x338b57(0x455)](_0x5f2d2d);_0x4c5ac1=this[_0x338b57(0x427)](_0x4c5ac1);const _0x2aeecd=_0x313571(_0x4c5ac1['mutations'],this[_0x338b57(0x305)],{'fromCollab':!0x0});if(!_0x2aeecd[_0x338b57(0x2da)])throw _0x2aeecd[_0x338b57(0x1fc)]instanceof Error?_0x2aeecd[_0x338b57(0x1fc)]:new Error((_0x44c19c=_0x2aeecd[_0x338b57(0x1fc)])!=null?_0x44c19c:_0x338b57(0x2e1));this[_0x338b57(0x3ee)](_0x4c5ac1),this[_0x338b57(0x2fe)](_0x4c5ac1),this['_transformUndoredo'](_0x5f2d2d),this[_0x338b57(0x3cc)](_0x4c5ac1),this[_0x338b57(0x2c1)](_0x4c5ac1),this[_0x338b57(0x417)]();}}let ye=class extends Te{constructor(_0x5e273b,_0x2cfc5a,_0x62b3b0,_0x2bf6b3,_0x42808a,_0x3d14cd,_0xae8189,_0x1acaaa,_0x14b5c4,_0x2fd4db){var _0xc626f6=_0x1e1a91;super(_0x5e273b,_0x2cfc5a,null,[],_0x62b3b0,_0xae8189,_0x3d14cd,_0x2bf6b3,_0x2fd4db),N(this,'status',_0xc626f6(0x207)),(this[_0xc626f6(0x1a3)]=_0x42808a,this['_logService']=_0x1acaaa,this['_transformService']=_0x14b5c4,this[_0xc626f6(0x27e)]=_0x2fd4db);}[_0x1e1a91(0x20f)](_0x233bbe){var _0x31d387=_0x1e1a91;const _0x393040=this[_0x31d387(0x1a3)][_0x31d387(0x41d)](re,this[_0x31d387(0x421)],this['type'],[_0x233bbe],this[_0x31d387(0x340)]);return _0x393040[_0x31d387(0x372)](),_0x393040['_updateLocalCache'](),_0x393040;}[_0x1e1a91(0x3e8)](_0x355c0e){var _0x43c9b9=_0x1e1a91;if(this[_0x43c9b9(0x1e2)](_0x355c0e))return this[_0x43c9b9(0x1a3)][_0x43c9b9(0x41d)](Q,this['unitID'],this[_0x43c9b9(0x263)],null,[],null,[_0x355c0e],this[_0x43c9b9(0x340)]);try{const _0x5d8871=this[_0x43c9b9(0x41a)]['transformMutationsWithChangeset'](_0x355c0e,[Js]);if(_0x1e2f79(_0x5d8871)){const {c1Prime:_0x1e0a38}=_0x5d8871;return this[_0x43c9b9(0x1a9)](_0x1e0a38),this;}throw _0x5d8871['error'];}catch(_0x27c2ef){return this[_0x43c9b9(0x255)][_0x43c9b9(0x1fc)](_0x27c2ef),this[_0x43c9b9(0x482)](!0x1);}}[_0x1e1a91(0x482)](_0x4314d7){var _0x1a27c5=_0x1e1a91;return this[_0x1a27c5(0x1a3)][_0x1a27c5(0x41d)](le,this[_0x1a27c5(0x421)],this['type'],null,[],this[_0x1a27c5(0x340)],_0x4314d7);}[_0x1e1a91(0x2cd)](){var _0x472cb9=_0x1e1a91;throw new Error(_0x472cb9(0x1cb));}['onRemoteRej'](){var _0xa70212=_0x1e1a91;throw new Error(_0xa70212(0x2d2));}['onRemoteRetry'](){return this;}[_0x1e1a91(0x2c4)](){var _0x348e10=_0x1e1a91;return this['_injector'][_0x348e10(0x41d)](ue,this[_0x348e10(0x421)],this[_0x348e10(0x263)],null,[],this[_0x348e10(0x340)]);}[_0x1e1a91(0x328)](){return this;}[_0x1e1a91(0x466)](){var _0x43ca24=_0x1e1a91;throw new Error(_0x43ca24(0x32a));}['fetchMiss'](){var _0x1bc662=_0x1e1a91;const _0x586271=this[_0x1bc662(0x461)][_0x1bc662(0x1cc)](this[_0x1bc662(0x421)]);return this[_0x1bc662(0x340)]['onMissingChangesets']({'from':_0x586271,'to':0x0}),this[_0x1bc662(0x1a3)][_0x1bc662(0x41d)](Q,this[_0x1bc662(0x421)],this[_0x1bc662(0x263)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x31e33e(_0xc767d8)),P(0x4,_0x31e33e(_0x3d0bb7)),P(0x5,_0x5a6188),P(0x6,_0x497b9c),P(0x7,_0x187ac5),P(0x8,_0x520a88),P(0x9,_0x914e26(J))],ye);let re=class extends Te{constructor(_0x5e7d1b,_0x1e8114,_0x2253c4,_0x4123e6,_0x8f4779,_0x23dd82,_0x33a0f3,_0x164be8,_0x476e28,_0x454630,_0x1cb39b,_0x5d4acc,_0x4b76d3,_0x182c4a){var _0x1398fc=_0x1e1a91;super(_0x5e7d1b,_0x1e8114,null,_0x2253c4,_0x4123e6,_0x476e28,_0x4b76d3,_0x23dd82,_0x182c4a),N(this,'status','pending'),N(this,_0x1398fc(0x247),null),N(this,'_sendingTimer',null),(this[_0x1398fc(0x1a3)]=_0x8f4779,this[_0x1398fc(0x293)]=_0x33a0f3,this[_0x1398fc(0x255)]=_0x164be8,this[_0x1398fc(0x2c8)]=_0x454630,this['_transformService']=_0x1cb39b,this[_0x1398fc(0x43e)]=_0x5d4acc);}[_0x1e1a91(0x20f)](_0x517639){var _0x42b768=_0x1e1a91;return this[_0x42b768(0x2ef)][_0x42b768(0x3b3)](_0x517639),this[_0x42b768(0x384)](),this;}[_0x1e1a91(0x3e8)](_0x2b0c62){var _0x3b03a3=_0x1e1a91;if(this[_0x3b03a3(0x1e2)](_0x2b0c62))return this['_clearScheduledTask'](),this[_0x3b03a3(0x1a3)]['createInstance'](Q,this[_0x3b03a3(0x421)],this['type'],null,this[_0x3b03a3(0x2ef)],null,[_0x2b0c62],this[_0x3b03a3(0x340)]);try{const _0x31b616=this['_transformService'][_0x3b03a3(0x3a4)](_0x2b0c62,this[_0x3b03a3(0x2ef)]);if(_0x1e2f79(_0x31b616)){const {c1Prime:_0x5d7732,m2Prime:_0x98f96b}=_0x31b616;this['_executeRemoteChangeset'](_0x5d7732);const _0x5f0c08=this['_injector']['createInstance'](re,this[_0x3b03a3(0x421)],this[_0x3b03a3(0x263)],_0x98f96b,this[_0x3b03a3(0x340)]);this[_0x3b03a3(0x1ac)]();const _0x3fad96=new Date()['getTime'](),_0x22887b=this[_0x3b03a3(0x247)]?Math[_0x3b03a3(0x1d7)](this['_scheduleCompleteTimestamp']-_0x3fad96,0x0):this[_0x3b03a3(0x411)]();return _0x5f0c08[_0x3b03a3(0x372)](_0x22887b),_0x5f0c08;}throw _0x31b616[_0x3b03a3(0x1fc)];}catch(_0x1774ce){return this[_0x3b03a3(0x255)][_0x3b03a3(0x1fc)](_0x1774ce),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x49eed6=_0x1e1a91;throw new Error(_0x49eed6(0x3eb));}[_0x1e1a91(0x24e)](){var _0x3a9dc0=_0x1e1a91;throw new Error(_0x3a9dc0(0x44c));}[_0x1e1a91(0x19b)](){return this;}['toggleOffline'](){var _0x136827=_0x1e1a91;return this[_0x136827(0x1ac)](),this[_0x136827(0x1a3)]['createInstance'](ue,this[_0x136827(0x421)],this[_0x136827(0x263)],null,this[_0x136827(0x2ef)],this[_0x136827(0x340)]);}[_0x1e1a91(0x328)](){return this;}[_0x1e1a91(0x372)](_0x467e15){var _0x2814b9=_0x1e1a91;const _0x4acbd6=_0x467e15!=null?_0x467e15:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x2814b9(0x1a0)]()+_0x4acbd6,this['_sendingTimer']=setTimeout(()=>{var _0x3d45ff=_0x2814b9;this[_0x3d45ff(0x1ac)]();let _0x5c169d=null;switch(this[_0x3d45ff(0x263)]){case Z['UNIVER_SHEET']:{_0x5c169d=Yt(this[_0x3d45ff(0x2ef)],this[_0x3d45ff(0x421)],this[_0x3d45ff(0x43e)],this[_0x3d45ff(0x461)],this[_0x3d45ff(0x293)]);break;}case Z['UNIVER_DOC']:{this[_0x3d45ff(0x2ef)][_0x3d45ff(0x3c4)](_0x4fb239=>_0x4fb239['id']===_0x32ad84['id'])?_0x5c169d=zs(this[_0x3d45ff(0x2ef)],this[_0x3d45ff(0x421)],this['_univerInstanceService'],this[_0x3d45ff(0x461)],this[_0x3d45ff(0x293)]):_0x5c169d=Yt(this[_0x3d45ff(0x2ef)],this[_0x3d45ff(0x421)],this[_0x3d45ff(0x43e)],this[_0x3d45ff(0x461)],this[_0x3d45ff(0x293)]);break;}default:throw new Error(_0x3d45ff(0x1ab)+this[_0x3d45ff(0x263)]+_0x3d45ff(0x3fe));}const {changeset:_0x1ba8db,pendingMutations:_0x3716a6}=_0x5c169d;this['_handler'][_0x3d45ff(0x1be)](_0x1ba8db);const _0x405a5f=_0x3716a6[_0x3d45ff(0x1ec)]?this[_0x3d45ff(0x1a3)][_0x3d45ff(0x41d)](ae,this[_0x3d45ff(0x421)],this[_0x3d45ff(0x263)],_0x1ba8db,_0x3716a6,this['_handler'],void 0x0):this[_0x3d45ff(0x1a3)][_0x3d45ff(0x41d)](_e,this[_0x3d45ff(0x421)],this[_0x3d45ff(0x263)],_0x1ba8db,this[_0x3d45ff(0x340)]);_0x405a5f['_updateLocalCache'](),this[_0x3d45ff(0x340)][_0x3d45ff(0x2c3)](this,_0x405a5f);},_0x4acbd6);}[_0x1e1a91(0x411)](){var _0x1fba02=_0x1e1a91,_0x59068c;const _0x25a299=this[_0x1fba02(0x2c8)][_0x1fba02(0x1e9)](K);return(_0x59068c=_0x25a299==null?void 0x0:_0x25a299['sendChangesetTimeout'])!=null?_0x59068c:ms;}['resend'](){var _0x43ae94=_0x1e1a91;throw new Error(_0x43ae94(0x297));}[_0x1e1a91(0x1ac)](){var _0x401014=_0x1e1a91;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x401014(0x29e)]=null);}[_0x1e1a91(0x482)](_0x310b83){var _0x5aeebd=_0x1e1a91;return this[_0x5aeebd(0x1ac)](),this[_0x5aeebd(0x1a3)][_0x5aeebd(0x41d)](le,this[_0x5aeebd(0x421)],this['type'],null,this[_0x5aeebd(0x2ef)],this[_0x5aeebd(0x340)],_0x310b83);}};re=Ie([P(0x4,_0x31e33e(_0x3d0bb7)),P(0x5,_0x31e33e(_0xc767d8)),P(0x6,_0x31e33e(Pe)),P(0x7,_0x187ac5),P(0x8,_0x497b9c),P(0x9,_0x21d6f2),P(0xa,_0x520a88),P(0xb,_0x58b7fa),P(0xc,_0x5a6188),P(0xd,_0x914e26(J))],re);let _e=class extends Te{constructor(_0x52400d,_0x559850,_0x4778d5,_0x4f7f83,_0xfe9784,_0x3f6297,_0x2db580,_0x3fc76b,_0x174a3d,_0x48b27c,_0x46cc4c){var _0x330400=_0x1e1a91;super(_0x52400d,_0x559850,_0x4778d5,[],_0x4f7f83,_0x2db580,_0x48b27c,_0x3f6297,_0x46cc4c),N(this,_0x330400(0x1d1),_0x330400(0x362)),N(this,_0x330400(0x397),0x0),N(this,_0x330400(0x2b3)),N(this,_0x330400(0x26e)),(this[_0x330400(0x1a3)]=_0xfe9784,this[_0x330400(0x255)]=_0x3fc76b,this['_transformService']=_0x174a3d);}[_0x1e1a91(0x20f)](_0x499205){var _0xde54b5=_0x1e1a91;this[_0xde54b5(0x1ac)]();const _0x4d8cb5=this[_0xde54b5(0x1a3)][_0xde54b5(0x41d)](ae,this[_0xde54b5(0x421)],this[_0xde54b5(0x263)],this[_0xde54b5(0x309)],[_0x499205],this[_0xde54b5(0x340)],this['_resendTimer']);return _0x4d8cb5[_0xde54b5(0x384)](),_0x4d8cb5;}[_0x1e1a91(0x3e8)](_0x32e9f4){var _0x522bf3=_0x1e1a91;if(this['_checkMissing'](_0x32e9f4))return this['_clearScheduledTask'](),this['_injector'][_0x522bf3(0x41d)](Q,this[_0x522bf3(0x421)],this[_0x522bf3(0x263)],this[_0x522bf3(0x309)],[],null,[_0x32e9f4],this[_0x522bf3(0x340)]);try{const _0x2fa89d=this[_0x522bf3(0x41a)][_0x522bf3(0x25b)]([_0x32e9f4],[this[_0x522bf3(0x309)]],!0x1);if(_0x1fd8e2(_0x2fa89d)){const {c1Prime:_0x2566de,c2Prime:_0x1dcf3b}=_0x2fa89d;this[_0x522bf3(0x1a9)](_0x2566de[0x0]),_0x1dcf3b[0x0][_0x522bf3(0x403)]=this[_0x522bf3(0x33e)](),this[_0x522bf3(0x1ac)]();const _0x5afbbe=this[_0x522bf3(0x1a3)]['createInstance'](_e,this[_0x522bf3(0x421)],this[_0x522bf3(0x263)],_0x1dcf3b[0x0],this['_handler']);return _0x5afbbe[_0x522bf3(0x384)](),_0x5afbbe;}return this['_onConflict'](!0x1);}catch(_0xfdc4c1){return this[_0x522bf3(0x255)][_0x522bf3(0x1fc)](_0xfdc4c1),this['_onConflict'](!0x1);}}[_0x1e1a91(0x2cd)](_0x56ae8a){var _0x533400=_0x1e1a91;this[_0x533400(0x1ac)]();const _0x44be34=this[_0x533400(0x461)][_0x533400(0x1cc)](this[_0x533400(0x421)]);if(_0x56ae8a[_0x533400(0x36a)]<_0x44be34-0x1)return this;if(this[_0x533400(0x1e2)](_0x56ae8a))return this['_injector']['createInstance'](Q,this[_0x533400(0x421)],this[_0x533400(0x263)],null,[],this[_0x533400(0x309)],[],this[_0x533400(0x340)]);this[_0x533400(0x417)]();const _0x1029a9=this[_0x533400(0x1a3)]['createInstance'](ye,this[_0x533400(0x421)],this['type'],this[_0x533400(0x340)]);return _0x1029a9[_0x533400(0x384)](),_0x1029a9;}['onRemoteRej'](_0x31c08a){var _0xccade6=_0x1e1a91;return this[_0xccade6(0x482)](!!(_0x31c08a!=null&&_0x31c08a['isPermissionRej']));}[_0x1e1a91(0x19b)](_0x3d0e3d){var _0xfb9a2d=_0x1e1a91;return this[_0xfb9a2d(0x397)]>Ci?this[_0xfb9a2d(0x2c4)]():(this[_0xfb9a2d(0x2b3)]=Ii(this['_resendTimeout'],{'timeout':this[_0xfb9a2d(0x397)],'reqId':_0x3d0e3d['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x5ebe02,timeout:_0x53bc24})=>{var _0x180b45=_0xfb9a2d;this[_0x180b45(0x283)](_0x5ebe02,_0x53bc24);}),this);}[_0x1e1a91(0x2c4)](){var _0x59af82=_0x1e1a91;return this[_0x59af82(0x1ac)](),this[_0x59af82(0x1a3)][_0x59af82(0x41d)](ue,this['unitID'],this[_0x59af82(0x263)],this[_0x59af82(0x309)],[],this['_handler']);}[_0x1e1a91(0x328)](){return this;}['resend'](){var _0xd46473=_0x1e1a91;this[_0xd46473(0x340)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x5118b3){var _0x18da43=_0x1e1a91;return this[_0x18da43(0x1ac)](),this[_0x18da43(0x1a3)][_0x18da43(0x41d)](le,this[_0x18da43(0x421)],this['type'],this[_0x18da43(0x309)],[],this[_0x18da43(0x340)],_0x5118b3);}[_0x1e1a91(0x283)](_0x296634,_0x1cead4){var _0x4024f8=_0x1e1a91,_0xdb0280;_0x296634===((_0xdb0280=this[_0x4024f8(0x309)])==null?void 0x0:_0xdb0280[_0x4024f8(0x452)])&&(this[_0x4024f8(0x466)](),this[_0x4024f8(0x397)]=_0x1cead4===0x0?0x3e8:_0x1cead4*0x2);}['_clearScheduledTask'](){var _0x2dcd68=_0x1e1a91,_0x3a401f;(_0x3a401f=this[_0x2dcd68(0x26e)])==null||_0x3a401f[_0x2dcd68(0x204)](),this[_0x2dcd68(0x397)]=0x0;}};_e=Ie([P(0x4,_0x31e33e(_0x3d0bb7)),P(0x5,_0x31e33e(_0xc767d8)),P(0x6,_0x497b9c),P(0x7,_0x187ac5),P(0x8,_0x520a88),P(0x9,_0x5a6188),P(0xa,_0x914e26(J))],_e);let ae=class extends Te{constructor(_0x1cfc39,_0x26a104,_0x61fa85,_0x3899be,_0x9c30ef,_0x378d44,_0x505a7c,_0x1fe25b,_0x3de9cb,_0x9c02f,_0x2396b0,_0x6111be,_0x26eb04){var _0x503297=_0x1e1a91;super(_0x1cfc39,_0x26a104,_0x61fa85,_0x3899be,_0x9c30ef,_0x3de9cb,_0x6111be,_0x1fe25b,_0x26eb04),N(this,_0x503297(0x1d1),_0x503297(0x21c)),N(this,_0x503297(0x397),0x0),N(this,_0x503297(0x2b3)),N(this,_0x503297(0x26e)),(this[_0x503297(0x1a3)]=_0x505a7c,this[_0x503297(0x255)]=_0x9c02f,this['_transformService']=_0x2396b0,this[_0x503297(0x27e)]=_0x26eb04,_0x378d44&&(this[_0x503297(0x2b3)]=_0x378d44,this[_0x503297(0x26e)]=this[_0x503297(0x2b3)][_0x503297(0x412)](({reqId:_0x5c4f54,timeout:_0x10fe25})=>{var _0x5c0080=_0x503297;this[_0x5c0080(0x283)](_0x5c4f54,_0x10fe25);})));}['appendMutation'](_0x2733d7){var _0x3940e5=_0x1e1a91;return this[_0x3940e5(0x2ef)][_0x3940e5(0x3b3)](_0x2733d7),this;}[_0x1e1a91(0x3e8)](_0x399c83){var _0x2e9524=_0x1e1a91;if(this['_checkMissing'](_0x399c83))return this['_clearScheduledTask'](),this['_injector'][_0x2e9524(0x41d)](Q,this[_0x2e9524(0x421)],this[_0x2e9524(0x263)],this['_awaitingChangeset'],this[_0x2e9524(0x2ef)],null,[_0x399c83],this['_handler']);try{const _0x8d5fa7=this[_0x2e9524(0x41a)][_0x2e9524(0x25b)]([_0x399c83],[this[_0x2e9524(0x309)]],!0x1);if(_0x1fd8e2(_0x8d5fa7)){const {c1Prime:_0x3fb3e2,c2Prime:_0x49da59}=_0x8d5fa7,_0x4afd87=this['_transformService'][_0x2e9524(0x3a4)](_0x3fb3e2[0x0],this['_pendingMutations']);if(_0x1e2f79(_0x4afd87)){const {c1Prime:_0x6765f6,m2Prime:_0xd2d0e6}=_0x4afd87;return this[_0x2e9524(0x1a9)](_0x6765f6),_0x49da59[0x0][_0x2e9524(0x403)]=this[_0x2e9524(0x33e)](),this[_0x2e9524(0x1ac)](),this[_0x2e9524(0x1a3)][_0x2e9524(0x41d)](ae,this[_0x2e9524(0x421)],this['type'],_0x49da59[0x0],_0xd2d0e6,this['_handler'],void 0x0);}throw _0x4afd87[_0x2e9524(0x1fc)];}throw _0x8d5fa7['error'];}catch(_0x2df7cf){return this['_logService']['error'](_0x2df7cf),this['_onConflict'](!0x1);}}[_0x1e1a91(0x2cd)](_0x5f6eb4){var _0x48ffb2=_0x1e1a91;if(this[_0x48ffb2(0x1ac)](),this[_0x48ffb2(0x1e2)](_0x5f6eb4))return this[_0x48ffb2(0x1a3)][_0x48ffb2(0x41d)](Q,this['unitID'],this[_0x48ffb2(0x263)],null,this['_pendingMutations'],this[_0x48ffb2(0x309)],[],this[_0x48ffb2(0x340)]);this['_incrementRevisionNumber']();const _0x418f7e=this[_0x48ffb2(0x1a3)]['createInstance'](re,this[_0x48ffb2(0x421)],this[_0x48ffb2(0x263)],this[_0x48ffb2(0x2ef)],this[_0x48ffb2(0x340)]);return _0x418f7e[_0x48ffb2(0x372)](),_0x418f7e[_0x48ffb2(0x384)](),_0x418f7e;}[_0x1e1a91(0x24e)](_0x3417da){var _0x247279=_0x1e1a91;return this[_0x247279(0x482)](!!(_0x3417da!=null&&_0x3417da[_0x247279(0x1ff)]));}[_0x1e1a91(0x19b)](_0x2b369c){var _0x4c327f=_0x1e1a91;return this['_resendTimeout']>Ci?this['toggleOffline']():(this[_0x4c327f(0x2b3)]=Ii(this[_0x4c327f(0x397)],{'timeout':this['_resendTimeout'],'reqId':_0x2b369c['reqId']}),this[_0x4c327f(0x26e)]=this[_0x4c327f(0x2b3)][_0x4c327f(0x412)](({reqId:_0x15c48f,timeout:_0x235048})=>{var _0x3b6575=_0x4c327f;this[_0x3b6575(0x283)](_0x15c48f,_0x235048);}),this);}[_0x1e1a91(0x2c4)](){var _0x3f04d0=_0x1e1a91;return this['_clearScheduledTask'](),this[_0x3f04d0(0x1a3)]['createInstance'](ue,this['unitID'],this[_0x3f04d0(0x263)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3f04d0(0x340)]);}['toggleOnline'](){return this;}[_0x1e1a91(0x466)](){var _0x4f1c8e=_0x1e1a91;this[_0x4f1c8e(0x340)][_0x4f1c8e(0x1be)](this[_0x4f1c8e(0x309)]);}['_onConflict'](_0x4e874c){var _0x41fdcc=_0x1e1a91;return this[_0x41fdcc(0x1ac)](),this['_injector']['createInstance'](le,this['unitID'],this[_0x41fdcc(0x263)],null,this[_0x41fdcc(0x2ef)],this[_0x41fdcc(0x340)],_0x4e874c);}[_0x1e1a91(0x283)](_0x280562,_0x5dd54d){var _0x4fe62d=_0x1e1a91,_0x2c7c17;_0x280562===((_0x2c7c17=this[_0x4fe62d(0x309)])==null?void 0x0:_0x2c7c17['reqId'])&&(this[_0x4fe62d(0x466)](),this['_resendTimeout']=_0x5dd54d===0x0?0x3e8:_0x5dd54d*0x2);}[_0x1e1a91(0x1ac)](){var _0xaf6b7=_0x1e1a91,_0x3bd94c;(_0x3bd94c=this['_sender'])==null||_0x3bd94c[_0xaf6b7(0x204)](),this[_0xaf6b7(0x397)]=0x0;}};ae=Ie([P(0x6,_0x31e33e(_0x3d0bb7)),P(0x7,_0x31e33e(_0xc767d8)),P(0x8,_0x497b9c),P(0x9,_0x187ac5),P(0xa,_0x520a88),P(0xb,_0x5a6188),P(0xc,_0x914e26(J))],ae);let le=class extends Te{constructor(_0x5f2d3f,_0x1a600c,_0x22638b,_0x4d0c08,_0x571f5d,_0x51ce70=!0x1,_0x4df225,_0x483ac8,_0x4563cf,_0x22a0fc,_0x3ec45f,_0x5874f2,_0x578d37){var _0x23d8c9=_0x1e1a91;super(_0x5f2d3f,_0x1a600c,_0x22638b,_0x4d0c08,_0x571f5d,_0x483ac8,_0x4563cf,_0x22a0fc,_0x578d37),N(this,_0x23d8c9(0x1d1),_0x23d8c9(0x382)),(this[_0x23d8c9(0x3dd)]=_0x51ce70,this[_0x23d8c9(0x20e)]=_0x4df225,this[_0x23d8c9(0x3b8)]=_0x3ec45f,this['_collaborationUIEventService']=_0x5874f2,this[_0x23d8c9(0x27e)]=_0x578d37,this[_0x23d8c9(0x280)](),this[_0x23d8c9(0x481)](),this['_disableEditing']());}[_0x1e1a91(0x20f)](){return this;}[_0x1e1a91(0x3e8)](){return this;}[_0x1e1a91(0x2cd)](){return this;}[_0x1e1a91(0x24e)](){return this;}[_0x1e1a91(0x19b)](){return this;}[_0x1e1a91(0x2c4)](){return this;}['toggleOnline'](){return this;}[_0x1e1a91(0x466)](){var _0x17a571=_0x1e1a91;throw new Error(_0x17a571(0x351));}[_0x1e1a91(0x481)](){var _0x2e89c7=_0x1e1a91,_0x56475f;(_0x56475f=this[_0x2e89c7(0x392)])==null||_0x56475f[_0x2e89c7(0x3e6)](this['unitID'],this[_0x2e89c7(0x263)],null,[]);}[_0x1e1a91(0x280)](){var _0x4c36a1=_0x1e1a91;this[_0x4c36a1(0x3dd)]?this['_collaborationUIEventService'][_0x4c36a1(0x33b)]({'id':ne[_0x4c36a1(0x330)]}):this['_collaborationUIEventService'][_0x4c36a1(0x33b)]({'id':ne[_0x4c36a1(0x1f7)]});}['_disableEditing'](){var _0xc845d8=_0x1e1a91;this[_0xc845d8(0x20e)][_0xc845d8(0x379)](new _0x4eee01(this[_0xc845d8(0x421)])['id'],!0x1);}};le=Ie([P(0x6,_0x31e33e(_0x590a86)),P(0x7,_0x497b9c),P(0x8,_0x5a6188),P(0x9,_0x31e33e(_0xc767d8)),P(0xa,_0x31e33e(_0x5de357)),P(0xb,_0x31e33e(ve)),P(0xc,_0x914e26(J))],le);let ue=class extends Te{constructor(_0x530d63,_0x4726c1,_0x5746f7,_0x3ecb5a,_0x127a0d,_0x291a0a,_0x1ce0ac,_0xafac86,_0x21e1e0,_0x476619){var _0x31ce99=_0x1e1a91;super(_0x530d63,_0x4726c1,_0x5746f7,_0x3ecb5a,_0x127a0d,_0xafac86,_0x21e1e0,_0x1ce0ac,_0x476619),N(this,_0x31ce99(0x1d1),_0x31ce99(0x2fa)),this[_0x31ce99(0x1a3)]=_0x291a0a;}[_0x1e1a91(0x20f)](_0x30fd75){var _0x2f7245=_0x1e1a91;return this[_0x2f7245(0x2ef)][_0x2f7245(0x3b3)](_0x30fd75),this[_0x2f7245(0x384)](),this;}['onRemoteChangeset'](_0x592075){var _0x599a21=_0x1e1a91;throw new Error(_0x599a21(0x1b8));}[_0x1e1a91(0x2cd)](){var _0x3a0787=_0x1e1a91;throw new Error(_0x3a0787(0x248));}[_0x1e1a91(0x24e)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1e1a91(0x19b)](){return this;}[_0x1e1a91(0x2c4)](){return this;}[_0x1e1a91(0x328)](){var _0x2ccf3c=_0x1e1a91;const {_injector:_0xf2ee5d,_pendingMutations:_0x83d149,_awaitingChangeset:_0x58d735,unitID:_0x3e198f,_handler:_0x3f25cd,type:_0xf0824e}=this,_0x408eed=Ri(_0xf2ee5d,_0x3e198f,_0xf0824e,_0x58d735,_0x83d149,_0x3f25cd);return _0x408eed instanceof re?_0x408eed[_0x2ccf3c(0x372)]():(_0x408eed instanceof ae||_0x408eed instanceof _e)&&_0x408eed[_0x2ccf3c(0x466)](),_0x408eed;}[_0x1e1a91(0x466)](){var _0x27f47f=_0x1e1a91;throw new Error(_0x27f47f(0x1f6));}};ue=Ie([P(0x5,_0x31e33e(_0x3d0bb7)),P(0x6,_0x31e33e(_0xc767d8)),P(0x7,_0x497b9c),P(0x8,_0x5a6188),P(0x9,_0x914e26(J))],ue);let Q=class extends Te{constructor(_0x2cdf75,_0x3ba140,_0x513f51,_0x4bf254,_0x268229,_0xfbec6e,_0x2df4c9,_0x19bdc6,_0x3b30d4,_0x53eff0,_0x2660b6,_0x153813,_0x44a1d7,_0x2c67e5){var _0x410ff5=_0x1e1a91;super(_0x2cdf75,_0x3ba140,_0x513f51,_0x4bf254,_0x2df4c9,_0x2660b6,_0x153813,_0x3b30d4,_0x2c67e5),N(this,_0x410ff5(0x1d1),'fetch_missing'),(this[_0x410ff5(0x32d)]=_0x268229,this[_0x410ff5(0x3c5)]=_0xfbec6e,this[_0x410ff5(0x1a3)]=_0x19bdc6,this[_0x410ff5(0x255)]=_0x53eff0,this['_transformService']=_0x44a1d7,this[_0x410ff5(0x27e)]=_0x2c67e5);}[_0x1e1a91(0x454)](_0x3b4bb0){var _0x40442f=_0x1e1a91;try{const _0x485573=[..._0x3b4bb0,...this[_0x40442f(0x3c5)]],_0x555cdb=[this[_0x40442f(0x309)]||this[_0x40442f(0x32d)]][_0x40442f(0x216)](_0x38e607=>!!_0x38e607);let _0x43ec82,_0xb20a47;if(_0x555cdb[_0x40442f(0x1ec)]){const _0x5656ae=this[_0x40442f(0x41a)][_0x40442f(0x25b)](_0x485573,_0x555cdb,!0x1);if(!_0x1fd8e2(_0x5656ae))throw _0x5656ae[_0x40442f(0x1fc)];_0x43ec82=_0x5656ae['c1Prime'],_0xb20a47=_0x5656ae[_0x40442f(0x363)];}else _0x43ec82=_0x485573,_0xb20a47=[];let _0x104ea3=this['_pendingMutations'];_0x43ec82[_0x40442f(0x19d)](_0x31467f=>{var _0x59b43a=_0x40442f;let _0x1f602f;if(_0x104ea3[_0x59b43a(0x1ec)]){const _0x58d168=this[_0x59b43a(0x41a)][_0x59b43a(0x3a4)](_0x31467f,_0x104ea3);if(!_0x1e2f79(_0x58d168))throw _0x58d168['error'];_0x1f602f=_0x58d168['c1Prime'],_0x104ea3=_0x58d168['m2Prime'];}else _0x1f602f=_0x31467f;this['_executeRemoteChangeset'](_0x1f602f);}),this['_acknowledgedAwaitingChangeset']&&this[_0x40442f(0x417)](),this[_0x40442f(0x309)]&&_0xb20a47[_0x40442f(0x1ec)]&&(_0xb20a47[0x0][_0x40442f(0x403)]=this['_getCurrentRevision']());let _0x544378;if(this['_awaitingChangeset']&&_0x104ea3[_0x40442f(0x1ec)]!==0x0)_0x544378=this[_0x40442f(0x1a3)]['createInstance'](ae,this[_0x40442f(0x421)],this[_0x40442f(0x263)],_0xb20a47[0x0],_0x104ea3,this[_0x40442f(0x340)],void 0x0);else{if(this['_awaitingChangeset']&&_0x104ea3['length']===0x0)_0xb20a47[0x0][_0x40442f(0x403)]=this[_0x40442f(0x33e)](),_0x544378=this['_injector'][_0x40442f(0x41d)](_e,this['unitID'],this[_0x40442f(0x263)],_0xb20a47[0x0],this[_0x40442f(0x340)]);else{if(_0x104ea3[_0x40442f(0x1ec)]!==0x0){const _0x168beb=this[_0x40442f(0x1a3)]['createInstance'](re,this[_0x40442f(0x421)],this['type'],_0x104ea3,this[_0x40442f(0x340)]);_0x168beb[_0x40442f(0x372)](),_0x544378=_0x168beb;}else _0x544378=this[_0x40442f(0x1a3)][_0x40442f(0x41d)](ye,this[_0x40442f(0x421)],this['type'],this['_handler']);}}return _0x544378['_updateLocalCache'](),_0x544378;}catch(_0x1ece07){return this[_0x40442f(0x255)][_0x40442f(0x1fc)](_0x40442f(0x34d),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1ece07),this[_0x40442f(0x1a3)][_0x40442f(0x41d)](le,this[_0x40442f(0x421)],this[_0x40442f(0x263)],this[_0x40442f(0x309)],this[_0x40442f(0x2ef)],this[_0x40442f(0x340)],!0x1);}}['resend'](){var _0x490460=_0x1e1a91;throw new Error(_0x490460(0x1a4));}[_0x1e1a91(0x20f)](_0x460599){var _0x5e7a61=_0x1e1a91;return this[_0x5e7a61(0x2ef)][_0x5e7a61(0x3b3)](_0x460599),this;}[_0x1e1a91(0x3e8)](_0x4b5bff){var _0x1daca7=_0x1e1a91;return this[_0x1daca7(0x3c5)]['push'](_0x4b5bff),this;}['onRemoteAck'](_0x36b047){var _0x4c449c=_0x1e1a91;if(this['_awaitingChangeset'])return this[_0x4c449c(0x32d)]=this[_0x4c449c(0x309)],this[_0x4c449c(0x309)]=null,this;throw new Error(_0x4c449c(0x3ce));}[_0x1e1a91(0x24e)](_0x218f50){var _0x1f52a7=_0x1e1a91;return this['_onConflict'](!!(_0x218f50!=null&&_0x218f50[_0x1f52a7(0x1ff)]));}[_0x1e1a91(0x19b)](){return this;}['toggleOffline'](){var _0x28bb1b=_0x1e1a91;return this[_0x28bb1b(0x1a3)][_0x28bb1b(0x41d)](ue,this[_0x28bb1b(0x421)],this[_0x28bb1b(0x263)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x28bb1b(0x340)]);}[_0x1e1a91(0x328)](){return this;}['_onConflict'](_0x304c39){var _0x3229ca=_0x1e1a91;return this[_0x3229ca(0x1a3)][_0x3229ca(0x41d)](le,this['unitID'],this['type'],this[_0x3229ca(0x309)],this[_0x3229ca(0x2ef)],this['_handler'],_0x304c39);}};Q=Ie([P(0x7,_0x31e33e(_0x3d0bb7)),P(0x8,_0x31e33e(_0xc767d8)),P(0x9,_0x187ac5),P(0xa,_0x497b9c),P(0xb,_0x5a6188),P(0xc,_0x520a88),P(0xd,_0x914e26(J))],Q);function Ri(_0x2222cc,_0xbef538,_0x3d30c9,_0x315348,_0x305b1d,_0x210a0f){var _0x4cd046=_0x1e1a91;return _0x315348&&_0x305b1d[_0x4cd046(0x1ec)]?_0x2222cc['createInstance'](ae,_0xbef538,_0x3d30c9,_0x315348,_0x305b1d,_0x210a0f,void 0x0):_0x315348?_0x2222cc['createInstance'](_e,_0xbef538,_0x3d30c9,_0x315348,_0x210a0f):_0x305b1d[_0x4cd046(0x1ec)]?_0x2222cc[_0x4cd046(0x41d)](re,_0xbef538,_0x3d30c9,_0x305b1d,_0x210a0f):_0x2222cc[_0x4cd046(0x41d)](ye,_0xbef538,_0x3d30c9,_0x210a0f);}function _0x29ff(){var _0x30e1f7=['UNIVER_DOC','_getUndoStack','deleteCollaborator','objectType','4982840IeTJUP','fetchMissingChangesets','getImageSourceCache','_socketMessageSubscription','push','_exhaustRemoteChangesetQueue','createSocket','getFocusedUnit','onload','_localeService','_status$','JOIN_ROOM_NOT_EXISTS','_keyPriorReset','charCodeAt','_event$','_iv','create','_doReset','fetch_missing','src','originalMeta','every','_queuedRemoteChangesets','toString','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','keySize','COMMENT_UPDATE','unitId\x20is\x20not\x20found','members','_transformSelections','session.room-permission-denied','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_doProcessBlock','_imageSourceCache','cmd','_tryReconnect','_onConnectionFailed','getCurrentSelections','_sheetTransformSelectionsService','getUnitId','USERS_LEAVE','url','_getDownloadEndpointURL','_retryConnectingTimer','_remoteChangesetQueue','equals','_isPermissionRej','getUnit','fetchMiss','INVALID_ARGUMENT','collaMsg','join','roomInfos','pauseCollaboration','compute','updateOfflineData','_collaborationSessionService','onRemoteChangeset','_socket$','SUBMIT_CHANGESET_TIMEOUT','[PendingState]:\x20received\x20acknowledgement.','/universer-api/snapshot/','LICENSE_MAX_UNITS_EXCEEDED','_transformIMECache','ALREADY_EXISTS','Latin1','method','addImageSourceCache','Base','_clearRedo','[CollaborationUndoRedoService]','_clearUndo','delete','UPDATE_PERMISSION_OBJ','_redoStacks','POST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','textRanges','{fileID}','\x20in\x20_schedule.','collaboratorID','params','/-/object/-/batch_allowed','loadOfflineData','baseRev','getRandomValues','PENDING','unitId','[DataLoaderService]','INVITE_CODE_ALREADY_BOUND','_candidateSocket','_onUserJoin','updateMember','_clearCollaborationTimeoutTimer','duration','AUTHZ_URL_KEY','randomBytes','onCommandExecuted','_getSendChangesetTimeout','subscribe','_append','_createSocket','mixIn','session','_incrementRevisionNumber','fromCharCode','origin','_transformService','actions','_clearTimeoutTimer','createInstance','LOGIN_URL_KEY','_xformMode','IDLE','unitID','ceil','generateRandomId','_members$','YUUMI_ASYNCIO_CANCELLED','batchAllowed','_transformRemoteChangesetByStateCache','clamp','uploadFileServerUrl','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_getLoginPath','saveSheetBlock','/resources','INTERNAL_ERROR','location','BlockCipherMode','slice','_data','&assign=','setWaitCount','_networkConditionService','c1Prime','size','_initRequestHeader','format','status$','range','/fetchmissing?from=','_roomCreated$','_univerInstanceService','copyFileMeta','code','subUnitId','message$','_userManagerService','_waitForHeartbeatResponse','PERSON','shouldCloseConn','_socketReady','Hasher','saveChangeset','getRoom','PSEUDO_FETCH_MISSING_RESULT','[PendingState]:\x20received\x20rejection.','includes','init','focused$','readyForCollab','_sendHeartbeatTimer','reqId','sessionStatus$','onMissedChangesetFetched','_transformRemoteChangesetByIMECache','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','csAckEvent','_iKey','_mode','enableSingleActiveInstanceLock','body','_updateState','PERMISSION_REJ','state','byteLength','hasher','_revisionService','setShowComponents','resourceIDs','onTransformSelections','/unit/','resend','_onRecvEvent','getCurrentUser','HttpImport','OTHER_CLIENT_EDITING','SYNCED','_startTelemetryCollaborationNewChangeset','eventID','497187JkZSXG','fetching\x20missing\x20changesets\x20from\x20','YUUMI_CONNECTOR_URL_NOT_FOUND','commentUpdateEvent','_substituteRedoStack','UNIVER_SHEET','addHandlerCallback','cfg','socketService','removeMember','routeKey','461217lhSJft','/role','_removeRoom','USERS_ENTER','map','list','responseType','_retryCount','_clearLocalCache','_onConflict','_onRemoteRetry','getUnitType','UnitEmbedded','reconnect','editingUnit','LICENSE_IMPORT_SIZE_EXCEEDED','_tryEnsureSocket','/block/','transformUndoRedo','ivSize','WordArray','HEARTBEAT','closeSession','HmacSHA1','[CollaborationEntity]','HELLO','sid','onLocalMutation','capture','getCollabEntity','onTransformIME','FETCH_MISSING','collaboration-client.config','reject','_onCombEvent','reverse','Cipher','complete','_httpService','leaveEvent','getLatestCsReqIdBySid','readAsDataURL','NEW_CHANGESETS','dispose$','LIVESHARE_TERMINATE','getSheetId','/universer-api/uniscript','onRemoteRetry','CHANGESET_REVISION_CONFILICT','forEach','INVALID_INVITE_CODE','People','getTime','readInt32LE','onTransformRemoteChangesetByIMECache','_injector','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','replace','_collabSessionService','disposeWithMe','isArray','_executeRemoteChangeset','requestParams','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_clearScheduledTask','session.room-full','UNRECOGNIZED','_reverseMap','7688LBaQDV','function','SNAPSHOT_URL_KEY','_roomMembers','set','getCollabEntity$','ONLINE','/universer-api/authz','[OfflineState]:\x20received\x20changeset.','?url=','socket$','crypto','open$','collaboration_new_changeset','onSendChangeset','SUBMIT_CHANGESET','_getUploadFileURL','OPTIONAL','1425932EuYwLR','send','COMPRESS_MUTATION_SEND','getValue','socket\x20open.','_onLocalMutation','awaitingChangeset','selections','getImage','[SyncedState]:\x20received\x20acknowledgement.','getCurrentRevOfUnit','key','onMissingChangesets','_shouldReportTelemetry','putCollaborators','status','_members','state$','__esModule','_hasher','unknown','max','string','image/gif','_onRemoteChangeset','_replayCachedMutations','Malformed\x20UTF-8\x20data','getTypeOfUnitDisposed$','Failed\x20to\x20update\x20permission\x20point','padding','clear','HMAC','_checkMissing','permissionRejEvent','_waitCount','collaboration-client.local-cache-service','patch','_type','AES','getConfig','updateCollaborator','_entityInit$','length','SUCCUSS','TOO_MANY_REQUESTS','executeCommand','UPDATE_CURSOR','_process','getMember','_onConnectionOpen','univer-pro.collaboration-client-socket-service','subject','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','CONFLICT','[UniverCollaborationClientPlugin]','connection\x20error','collabWebSocketUrl','EMAIL_VERIFY_CODE_MISMATCH','error','YUUMI_RATE_OVER_LIMIT','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','isPermissionRej','_timeoutTimer','BASE64','_lockTransition','_scheduleCollaborationTimeoutTimer','unsubscribe','__creator','getUnitOnRev','synced','MOBILE_HAS_BEEN_BOUND','_minBufferSize','deepClone','_replaceFileID','UNIVER_SLIDE','10hqtIfr','_permissionService','appendMutation','sin','EMAIL_HAS_BEEN_BOUND','repeat','_substituteUndoStack','objectID','LOGIN_FAILED','filter','_transitionLocked','salt','_getCtorByUniverType','members$','\x0aAfter:\x20','awaiting_with_pending','onStarting','data','_decreaseWaiting','online$','session.room-cnt-exceeds','fetchThroughInterceptors','abs','_stopTelemetryCollaborationNewChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','encrypt','/object','/new_changes','APPLY_DUPLICATED','_singleActiveUnitService','NO_OTHER_CLIENTS_EDITING','onTransformRemoteChangesetByStateCache','DEFAULT_FILE_NAME','_undoStacks','enableOfflineEditing','_unitID','CHANGESET_SHOULD_RETRY','_doFinalize','YUUMI_URL_COL_OUT_OF_RANGE','_state$','loadUnit','compose','AWAITING_WITH_PENDING','_map','UNAUTHENTICATED','_unlockTransition','Utf8','_initDependencies','pluginName','YUUMI_TABLE_NOT_FOUND_IN_UNIT','YUUMI_ALL_TABLES_IS_INVALID','Undefined','_change$','listRoles','entries','_socketService','unit-cache-','csRejEvent','_scheduleCompleteTimestamp','[OfflineState]:\x20received\x20acknowledgement.','mutations','FAIL','findIndex','dispose','_telemetryInfo','onRemoteRej','_changesetSessionId','userID','reduce','2ZwuQqP','UUID','INVITE_CODE_REQUIRED','_logService','_onFetchMissResult','_HTTPService','encodeURIComponent','_onJoinRoomEvent','_instanceService','transformChangesets','\x0aCurrent:\x20','/universer-api/file/{fileID}/sign-url','PY_RUNTIME_SCRIPT_ERROR','LIVESHARE_FETCH_OPERATIONS','FileId','algo','9740124xcalyh','type','parse','MUTATION','mode','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MD5','_transformUndoredo','apply','univer-pro.collaboration-client.network-condition.service','ciphertext','CipherParams','_sender','/allowed','transformStack\x20failed!','hasOwnProperty','sessionStatus','_toggleOnline','Pkcs7','reset','HEARTBEAT_TIMEOUT','iterations','APPLY_PERMISSION_DENIED','UNDEFINED','APPLY_REVISION_CONFILICT','_getAPIPrefixPath','initWorkbookPermissionChange','SNAPSHOT_SERVER_URL_KEY','localCacheService','UNKNOWN_CMD','_showConflictNotification','sigBytes','requireSession','_resendWithTimeout','_changesetReqId','UNIVER_PROJECT','_DEC_XFORM_MODE','changesets','extend','INVITE_CODE_HAS_BEEN_UES','AWAITING','stopTime','kdf','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_onOffline','_telemetryService','_handlerCallback','/-/object/list','/rev/','_memberService','HttpExport','substr','_getSignURL','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Encryptor','debug','CHANGESET_REJ','JOIN_ROOM_PERMISSION_DENIED','getResourcesRequest','LIVESHARE_NEW_HOST','_sendingTimer','LIVESHARE_REQUEST_HOST','enableCollaboration','_entities','words','_collaborationTimeoutTimer','LICENSE_EXPORT_SIZE_EXCEEDED','finalize','CLOSE_ROOM','BufferedBlockAlgorithm','getSheetBlock','getMemberID','_applyRemoteChangeset','_snapshotService','target','HmacMD5','registerHTTPInterceptor','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','RECV','authzUrl','formatter','_resendTimer','splice','RETRY_CONNECTING_MAX_COUNT','_clearRetryConnectingTimer','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onMessage','/universer-api/comb','from','close$','JOIN_ROOM_FULL','find','session.join-failed','UnitSnapshot','snapshotServerUrl','_syncEditingCollabCursor','pipe','onStateChange','toggleOffline','StreamCipher','_clearHeartbeatTimer','NOT_FOUND','_configService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','close','WECHAT_HAS_BEEN_BOUND','interceptor','onRemoteAck','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','image/jpeg','/universer-api/stream/file/upload','_nRounds','[SyncedState]:\x20received\x20rejection.','_collaborationPaused','Base64','action','infoRsp','collaborators','ENSURE_SNAPSHOT_EXECUTION','save\x20fail\x20reason\x20is\x20','result','_compressMutationService','_init','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','INGEST','signUrlServerUrl','UNIVER_UNKNOWN','[CollaborationState]:\x20apply\x20error!','now','rev','defineProperty','/universer-api/user/session-ticket','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','YUUMI_SUBSCRIPTION_NOT_FOUND','JOINING','catch','setConfig','COMPRESS_MUTATION_APPLY','startTime','_initCloseConn','_createHmacHelper','_pendingMutations','newCsEvent','_onUserLeave','pad','getInterceptPoints','_submitChangeset','OpenSSL','onlyLocal','BlockCipher','_rescheduleHeartbeat','next','offline','retryConnectingInterval','loadUnitOfRevision','_hash','_transformStateCache','get','_state','_toggleOffline','objects','_fetchMissChangesets','/universer-api/snapshot','_commandService','_startCollaboration','Error\x20on\x20receiving\x20event','$super','_awaitingChangeset','updatePermissionObjEvent','_commentService','SOCKET_FAILED_RETRY','confirm','_transformStack','clone','call','min','default','transformSelections','_getAPIPrefix','disableLocalCache','4781iPxZnh','_createInitialState','getSnapshotAPIPath','onCommentUpdate','post','lib','YUUMI_NO_CUBOID_FOR_QUESTION','EvpKDF','SHA1','onSyncEditingCollabCursor','_socket','GLOBAL_ROOMS_CNT_EXCEEDS','entityInit$','[CollaborationSession]','x-univer-host','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','APPLY_REJECT','_createHandler','toggleOnline','JOIN','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','allowed','_initUnitPermissionChange','_acknowledgedAwaitingChangeset','put','OTHER_CLIENTS_EDITING','PERMISSION_DENIED','_cipher','YUUMI_UNABLE_LOAD_URL','_doCreateSocket','LOCAL_CACHE_INTERVAL','charAt','[CollaborationSessionService]:\x20socket\x20error','prototype','getTypeOfUnitAdded$','_undoRedoService','setCurrentUser','emitEvent','enableAuthServer','title','_getCurrentRevision','_sessionStatus$','_handler','_emitMembers','floor','LICENSE_DISTRO_REJECTED','_initMergeInterceptor','submit\x20changeset\x20error!','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','SNAPSHOT_INVALID_SNAPSHOT','[CollaborationSessionService]','_sendHeartbeat','_parse','_listenToNetworkCondition','m2Prime','[FetchMissState]','SNAPSHOT_HAS_BEEN_REMOVED','ERROR_IMAGE','update','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_ACK','SOCKET_FAILED','event$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_joinRoom','_key','auth.needGotoLoginAlert','error$','HEARTBEAT_INTERVAL','_doCryptBlock','Decryptor','saveSnapshot','SHOULD_CLOSE_CONN','csShouldRetryEvent','append','_onRemoteRejected','awaiting','c2Prime','_ENC_XFORM_MODE','execute','onTransformState','loginUrlKey','_invKeySchedule','decrypt','revision','_updateStatus','_commentUpdate$','refreshPermission','localeService','loadDoc','OFFLINE','NoPadding','_schedule','createEncryptor','_config','_collaborationUIEventService','SEND_CHANGESET_TIMEOUT','NOT_COLLAB','ERROR_IMAGE_TYPE','updatePermissionPoint','_onRemoteACK','collabSubmitChangesetUrl','_nDataBytes','enc','blockSize','liveShareNewHost','_getRedoStack','_registerDependencies','conflict','exports','_updateLocalCache','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_throwTelemetryCollaborationNewChangeset','workbook','memberID','concat','getOwnPropertyDescriptor','has','\x20to\x20','/collaborator','commentUpdate$','APPLY_NON_SEQUENTIAL_REVISION','_sessions','_keySchedule','_localCacheService','/universer-api/oidc/authpage','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','decryptBlock','add','_resendTimeout','_createHelper','JOIN_ROOM_FAILED','LEAVE','getDeserializedSheetBlock','joinEvent','/object/','_unitInfo$','stringify','msCrypto','name','LIVESHARE_OPERATION','4157022oVLcOc','transformMutationsWithChangeset','href','COMPLETION_FINISHED','asObservable','_eventService','waitForRoom$','_prevBlock'];_0x29ff=function(){return _0x30e1f7;};return _0x29ff();}var Zs=Object[_0x1e1a91(0x38a)],wt=(_0x1d9f40,_0x1f5cbb,_0x300f3c,_0x420ed5)=>{var _0x28848d=_0x1e1a91;for(var _0x69b1d4=_0x420ed5>0x1?void 0x0:_0x420ed5?Zs(_0x1f5cbb,_0x300f3c):_0x1f5cbb,_0x28b9c3=_0x1d9f40[_0x28848d(0x1ec)]-0x1,_0x531e1f;_0x28b9c3>=0x0;_0x28b9c3--)(_0x531e1f=_0x1d9f40[_0x28b9c3])&&(_0x69b1d4=_0x531e1f(_0x69b1d4)||_0x69b1d4);return _0x69b1d4;},H=(_0x2cec79,_0x45ab97)=>(_0x3c0964,_0x5a4f58)=>_0x45ab97(_0x3c0964,_0x5a4f58,_0x2cec79);let st=class extends _0x10a3a4{constructor(_0x5d921a,_0x1256eb,_0x1e401a,_0x510d68,_0x20eefa,_0x566fab,_0x1d26d5,_0x20166b,_0x4905ce,_0x306e85,_0x391d8f,_0x15ca4f,_0x490169){var _0x116b21=_0x1e1a91;super(),N(this,_0x116b21(0x234),new _0x4a01a6(null)),N(this,_0x116b21(0x1d3),this[_0x116b21(0x234)][_0x116b21(0x3a7)]()),N(this,_0x116b21(0x300)),N(this,_0x116b21(0x2d3),!0x1),N(this,_0x116b21(0x24f),''),N(this,_0x116b21(0x284),0x0),N(this,_0x116b21(0x43a),this[_0x116b21(0x1d3)][_0x116b21(0x2c2)](_0x245703(_0x11433a=>_0x11433a?_0x11433a[_0x116b21(0x1d1)]:Ti[_0x116b21(0x370)]),_0x5da2bf(0x1))),N(this,_0x116b21(0x217),!0x1),N(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x5d921a,this[_0x116b21(0x416)]=_0x1256eb,this[_0x116b21(0x1e7)]=_0x1e401a,this[_0x116b21(0x1a3)]=_0x510d68,this['_compressMutationService']=_0x20eefa,this[_0x116b21(0x3b8)]=_0x566fab,this[_0x116b21(0x461)]=_0x1d26d5,this[_0x116b21(0x3a8)]=_0x20166b,this[_0x116b21(0x255)]=_0x4905ce,this[_0x116b21(0x305)]=_0x306e85,this[_0x116b21(0x20e)]=_0x391d8f,this['_singleActiveUnitService']=_0x15ca4f,this[_0x116b21(0x392)]=_0x490169);}get[_0x1e1a91(0x45e)](){var _0x471c23=_0x1e1a91;return this[_0x471c23(0x300)];}async[_0x1e1a91(0x44e)](){var _0x5c2bbc=_0x1e1a91;if(this[_0x5c2bbc(0x45e)])throw new Error(_0x5c2bbc(0x355));await this[_0x5c2bbc(0x2dc)]();}[_0x1e1a91(0x3e4)](){var _0x5a2b35=_0x1e1a91;return this[_0x5a2b35(0x2d3)]=!0x0,_0x46687d(()=>{var _0x44995a=_0x5a2b35;this[_0x44995a(0x2d3)]=!0x1,this[_0x44995a(0x3b4)]();});}[_0x1e1a91(0x494)](_0x567bbe){var _0x346b4e=_0x1e1a91;this[_0x346b4e(0x1c7)](_0x567bbe);}[_0x1e1a91(0x45c)](_0x101310){var _0x3fe77e=_0x1e1a91;this[_0x3fe77e(0x300)]=_0x101310,this[_0x3fe77e(0x234)][_0x3fe77e(0x2f9)](_0x101310);}async['_init'](){var _0x8aa51=_0x1e1a91,_0x162f13;this[_0x8aa51(0x45c)](await this[_0x8aa51(0x317)]()),this[_0x8aa51(0x22a)]&&((_0x162f13=this[_0x8aa51(0x22a)])==null||_0x162f13[_0x8aa51(0x487)](this['unitID']),this[_0x8aa51(0x1a7)](this[_0x8aa51(0x22a)]['getUnitStatus$'](this[_0x8aa51(0x421)])[_0x8aa51(0x412)](_0x56b9d1=>{var _0x16e535=_0x8aa51;this[_0x16e535(0x255)][_0x16e535(0x299)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x56b9d1),_0x56b9d1===Ei[_0x16e535(0x32f)]?(this['_eventService'][_0x16e535(0x33b)]({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x16e535(0x20e)]['updatePermissionPoint'](new _0x4eee01(this[_0x16e535(0x421)])['id'],!0x1),this[_0x16e535(0x20e)][_0x16e535(0x462)](!0x1)):(this[_0x16e535(0x20e)][_0x16e535(0x379)](new _0x4eee01(this[_0x16e535(0x421)])['id'],!0x0),this[_0x16e535(0x20e)][_0x16e535(0x462)](!0x0));})));let _0x5de1ff=!0x1;return this['disposeWithMe'](this[_0x8aa51(0x416)]['sessionStatus$']['subscribe'](_0x1fb783=>{var _0x1f7d15=_0x8aa51;_0x1fb783===Se[_0x1f7d15(0x1b6)]?this[_0x1f7d15(0x273)](_0x5de1ff):_0x1fb783===Se['OFFLINE']&&(_0x5de1ff=!0x0,this['_toggleOffline']());})),this[_0x8aa51(0x1a7)](this['session'][_0x8aa51(0x354)]['subscribe'](_0x376224=>{var _0x110786=_0x8aa51;try{switch(_0x376224['eventID']){case _0x4ac4f0[_0x110786(0x196)]:{this[_0x110786(0x1da)](_0x1b76a1(_0x376224[_0x110786(0x21e)]));break;}case _0x4ac4f0['CHANGESET_ACK']:{this[_0x110786(0x37a)](_0x376224[_0x110786(0x21e)]);break;}case _0x4ac4f0[_0x110786(0x29a)]:{this[_0x110786(0x361)]();break;}case _0x4ac4f0[_0x110786(0x231)]:{this[_0x110786(0x483)](_0x376224[_0x110786(0x21e)]);break;}case _0x4ac4f0[_0x110786(0x44b)]:{this[_0x110786(0x256)](_0x376224['data'][_0x110786(0x287)][_0x110786(0x47d)](_0x8b0025=>_0x1b76a1(_0x8b0025)));break;}case _0x4ac4f0['PERMISSION_REJ']:{this[_0x110786(0x361)]({'isPermissionRej':!0x0});break;}case _0x4ac4f0['UNISCRIPT_RUN']:break;}}catch(_0x2498dc){throw console['error'](_0x110786(0x307),_0x2498dc),_0x2498dc;}})),this['_state'];}['_unlockTransition'](){var _0x59e62f=_0x1e1a91;this[_0x59e62f(0x217)]=!0x1;}[_0x1e1a91(0x202)](){var _0x3fbde3=_0x1e1a91;if(this[_0x3fbde3(0x217)])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[_0x3fbde3(0x217)]=!0x0;}['_onLocalMutation'](_0x5005e){var _0x570c3b=_0x1e1a91;this['_lockTransition'](),this[_0x570c3b(0x45c)](this[_0x570c3b(0x300)][_0x570c3b(0x20f)](_0x5005e)),this[_0x570c3b(0x23a)]();}['_onRemoteChangeset'](_0x5d9085){var _0x53c711=_0x1e1a91;if(!(_0x5d9085[_0x53c711(0x36a)]<=this[_0x53c711(0x461)][_0x53c711(0x1cc)](this[_0x53c711(0x421)]))){if(this[_0x53c711(0x2d3)]){this[_0x53c711(0x3db)][_0x53c711(0x3b3)](_0x5d9085);return;}this['_applyRemoteChangeset'](_0x5d9085);}}[_0x1e1a91(0x3b4)](){var _0x3f0d74=_0x1e1a91;this[_0x3f0d74(0x3db)][_0x3f0d74(0x19d)](_0x49af34=>this[_0x3f0d74(0x2aa)](_0x49af34)),this['_remoteChangesetQueue']=[];}[_0x1e1a91(0x2aa)](_0x2923f8){var _0x3eb515=_0x1e1a91;const _0x10a132=this['_compressMutationService'][_0x3eb515(0x2cc)][_0x3eb515(0x222)](this[_0x3eb515(0x2db)][_0x3eb515(0x2cc)][_0x3eb515(0x2f3)]()[_0x3eb515(0x2eb)])(_0x2923f8[_0x3eb515(0x249)],null)||_0x2923f8[_0x3eb515(0x249)],_0x1486f9={..._0x2923f8,'mutations':_0x10a132};this[_0x3eb515(0x202)](),this[_0x3eb515(0x45c)](this[_0x3eb515(0x300)]['onRemoteChangeset'](_0x1486f9)),this[_0x3eb515(0x23a)]();}[_0x1e1a91(0x37a)](_0x2369ff){var _0x517906=_0x1e1a91;this['_lockTransition'](),this[_0x517906(0x45c)](this[_0x517906(0x300)]['onRemoteAck'](_0x2369ff)),this['_unlockTransition']();}[_0x1e1a91(0x361)](_0x4cb492){var _0x28850b=_0x1e1a91;this[_0x28850b(0x202)](),this['_updateState'](this[_0x28850b(0x300)][_0x28850b(0x24e)](_0x4cb492)),this['_unlockTransition']();}[_0x1e1a91(0x483)](_0x16ecf9){var _0x5e3613=_0x1e1a91;this[_0x5e3613(0x202)](),this['_updateState'](this[_0x5e3613(0x300)][_0x5e3613(0x19b)](_0x16ecf9)),this['_unlockTransition']();}[_0x1e1a91(0x256)](_0x4145fe){var _0x190236=_0x1e1a91;if(!(this[_0x190236(0x300)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x50d3b7=_0x4145fe[_0x190236(0x47d)](_0x495670=>{var _0x3561bf=_0x190236;const _0x55d760=this['_compressMutationService'][_0x3561bf(0x2cc)][_0x3561bf(0x222)](this['_compressMutationService'][_0x3561bf(0x2cc)][_0x3561bf(0x2f3)]()[_0x3561bf(0x2eb)])(_0x495670[_0x3561bf(0x249)],null)||_0x495670['mutations'];return{..._0x495670,'mutations':_0x55d760};});this[_0x190236(0x202)](),this[_0x190236(0x45c)](this[_0x190236(0x300)][_0x190236(0x454)](_0x50d3b7)),this['_unlockTransition']();}[_0x1e1a91(0x301)](){var _0x1b9af3=_0x1e1a91;this[_0x1b9af3(0x202)](),this[_0x1b9af3(0x45c)](this[_0x1b9af3(0x300)]['toggleOffline']()),this[_0x1b9af3(0x23a)]();}[_0x1e1a91(0x273)](_0x10777f=!0x1){var _0x18f62e=_0x1e1a91;this[_0x18f62e(0x202)](),this[_0x18f62e(0x45c)](this[_0x18f62e(0x300)][_0x18f62e(0x328)]()),this[_0x18f62e(0x23a)]();const _0x5d6353=this[_0x18f62e(0x300)];_0x10777f&&_0x5d6353 instanceof ye&&(this[_0x18f62e(0x202)](),this[_0x18f62e(0x45c)](_0x5d6353[_0x18f62e(0x3df)]()),this[_0x18f62e(0x23a)]());}async[_0x1e1a91(0x317)](){return new Promise(_0x4abff0=>{var _0x488d3f=_0x1283;this[_0x488d3f(0x416)][_0x488d3f(0x453)][_0x488d3f(0x2c2)](_0x5ef4f3(0x1))['subscribe'](async _0x26bc4b=>{var _0x146057=_0x488d3f;_0x4abff0(await this['_createInitialStateImpl'](_0x26bc4b===Se[_0x146057(0x1b6)]));});});}[_0x1e1a91(0x327)](){const _0x53edda=this['unitID'];return{'onStateChange':(_0x43a6f4,_0x254b3a)=>{var _0x5c6f51=_0x1283;if(_0x43a6f4!==this[_0x5c6f51(0x300)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x43a6f4[_0x5c6f51(0x1d1)]+_0x5c6f51(0x21b)+_0x254b3a['status']+_0x5c6f51(0x25c)+this[_0x5c6f51(0x300)]['status']);this[_0x5c6f51(0x45c)](_0x254b3a);},'onSendChangeset':_0x55fd30=>{var _0x33a06e=_0x1283;_0x55fd30[_0x33a06e(0x493)]||(_0x55fd30[_0x33a06e(0x493)]=this['_changesetSessionId'],_0x55fd30[_0x33a06e(0x452)]=++this[_0x33a06e(0x284)]);const _0x3d974d={'eventID':_0x4ac4f0[_0x33a06e(0x1bf)],'data':{'unitID':_0x55fd30['unitID'],'unitType':this['_type'],'changeset':_0x55fd30,'memberID':this[_0x33a06e(0x416)][_0x33a06e(0x2a9)]()}};this['session'][_0x33a06e(0x1c3)](_0x3d974d,this['unitID']);},'onMissingChangesets':({from:_0x4ca1a7,to:_0x543224})=>{var _0x5095f4=_0x1283;this[_0x5095f4(0x255)][_0x5095f4(0x299)](_0x5095f4(0x491),_0x5095f4(0x46f)+_0x4ca1a7+_0x5095f4(0x38c)+_0x543224);const _0x4089ba={'eventID':_0x4ac4f0[_0x5095f4(0x498)],'data':{'unitID':_0x53edda,'unitType':this[_0x5095f4(0x1e7)],'from':_0x4ca1a7,'to':_0x543224}};this['session'][_0x5095f4(0x1c3)](_0x4089ba,this['unitID']);}};}async['_createInitialStateImpl'](_0xaf116b){var _0x19603e=_0x1e1a91,_0x117626,_0x17fdbb,_0x20ac02;const _0x481cbd=await((_0x117626=this[_0x19603e(0x392)])==null?void 0x0:_0x117626[_0x19603e(0x402)](this[_0x19603e(0x421)])),_0x4e45ac=(_0x17fdbb=_0x481cbd==null?void 0x0:_0x481cbd[_0x19603e(0x249)])!=null?_0x17fdbb:[],_0x295986=(_0x20ac02=_0x481cbd==null?void 0x0:_0x481cbd[_0x19603e(0x1c8)])!=null?_0x20ac02:null,_0x2e1554=!!(_0x295986!=null&&_0x295986[_0x19603e(0x493)])&&!!(_0x295986!=null&&_0x295986[_0x19603e(0x452)]);this[_0x19603e(0x24f)]=_0x2e1554?_0x295986[_0x19603e(0x493)]:_0x46802c(),this['_changesetReqId']=_0x2e1554?_0x295986[_0x19603e(0x452)]:0x0;const _0x284aac=this[_0x19603e(0x421)];try{this[_0x19603e(0x1db)](_0x295986,_0x4e45ac);}catch(_0x4babff){this['_logService'][_0x19603e(0x1fc)](_0x4babff);}const _0x13aae2=this[_0x19603e(0x327)]();if(_0xaf116b){const _0x5ba50e=Ri(this['_injector'],_0x284aac,this['_type'],_0x295986,_0x4e45ac,_0x13aae2);return _0x5ba50e instanceof re?_0x5ba50e[_0x19603e(0x372)]():(_0x5ba50e instanceof ae||_0x5ba50e instanceof _e)&&_0x5ba50e['resend'](),_0x5ba50e;}return this[_0x19603e(0x1a3)][_0x19603e(0x41d)](ue,_0x284aac,this['_type'],_0x295986,_0x4e45ac,_0x13aae2);}[_0x1e1a91(0x1db)](_0x1b54f6,_0x2a7fdb){var _0x4f0781=_0x1e1a91,_0xf6cadc,_0x5cc897;const _0x45e0b3=this[_0x4f0781(0x2db)][_0x4f0781(0x2cc)][_0x4f0781(0x222)](this['_compressMutationService'][_0x4f0781(0x2cc)][_0x4f0781(0x2f3)]()[_0x4f0781(0x2eb)]);(_0xf6cadc=_0x45e0b3((_0x1b54f6==null?void 0x0:_0x1b54f6[_0x4f0781(0x249)])||[],null))==null||_0xf6cadc[_0x4f0781(0x19d)](_0xe772b6=>this['_commandService'][_0x4f0781(0x1ef)](_0xe772b6['id'],_0xe772b6[_0x4f0781(0x400)])),(_0x5cc897=_0x45e0b3(_0x2a7fdb||[],null))==null||_0x5cc897[_0x4f0781(0x19d)](_0x475a0c=>this[_0x4f0781(0x305)]['executeCommand'](_0x475a0c['id'],_0x475a0c[_0x4f0781(0x400)]));}};st=wt([H(0x3,_0x31e33e(_0x3d0bb7)),H(0x4,_0x31e33e(_0x26a6d4)),H(0x5,_0x31e33e(_0x5de357)),H(0x6,_0x31e33e(_0xc767d8)),H(0x7,_0x31e33e(ve)),H(0x8,_0x187ac5),H(0x9,_0x497b9c),H(0xa,_0x590a86),H(0xb,_0x914e26(ht)),H(0xc,_0x914e26(J))],st);let St=class extends st{constructor(_0x15f7cd,_0x597f77,_0x354258,_0x59f199,_0x626ded,_0x3befb0,_0xf38504,_0x1343b7,_0x5bbc0f,_0x260dc5,_0x28f0b7,_0x4d74c1,_0x23e349){var _0x3bdb98=_0x1e1a91;super(_0x15f7cd,_0x354258,_0x597f77,_0x59f199,_0x626ded,_0x3befb0,_0xf38504,_0x1343b7,_0x5bbc0f,_0x260dc5,_0x28f0b7,_0x4d74c1,_0x23e349),N(this,'_handlerCallback',null),(this[_0x3bdb98(0x421)]=_0x15f7cd,this[_0x3bdb98(0x263)]=_0x597f77);}[_0x1e1a91(0x474)](_0x32f114){var _0x3b7c3e=_0x1e1a91;this[_0x3b7c3e(0x290)]=_0x32f114;}[_0x1e1a91(0x24c)](){var _0x349531=_0x1e1a91;this[_0x349531(0x290)]=null,super[_0x349531(0x24c)]();}[_0x1e1a91(0x327)](){var _0x39a7eb=_0x1e1a91;const _0x2b4c0a=super[_0x39a7eb(0x327)]();return _0x2b4c0a[_0x39a7eb(0x497)]=_0x4ee004=>{var _0x38c4d1=_0x39a7eb,_0x513b00,_0x16302c;return(_0x16302c=(_0x513b00=this[_0x38c4d1(0x290)])==null?void 0x0:_0x513b00[_0x38c4d1(0x497)])==null?void 0x0:_0x16302c[_0x38c4d1(0x310)](_0x513b00,_0x4ee004);},_0x2b4c0a[_0x39a7eb(0x366)]=_0xd08aab=>{var _0x26fc58=_0x39a7eb,_0x7f4ce3,_0x38176d;return(_0x38176d=(_0x7f4ce3=this[_0x26fc58(0x290)])==null?void 0x0:_0x7f4ce3[_0x26fc58(0x366)])==null?void 0x0:_0x38176d[_0x26fc58(0x310)](_0x7f4ce3,_0xd08aab);},_0x2b4c0a[_0x39a7eb(0x464)]=_0x2e98c5=>{var _0x123aac=_0x39a7eb,_0x1b7b30,_0xe249ac;return(_0xe249ac=(_0x1b7b30=this[_0x123aac(0x290)])==null?void 0x0:_0x1b7b30[_0x123aac(0x464)])==null?void 0x0:_0xe249ac[_0x123aac(0x310)](_0x1b7b30,_0x2e98c5);},_0x2b4c0a[_0x39a7eb(0x31f)]=_0x1cf828=>{var _0x465aab=_0x39a7eb,_0x2bef39,_0xdc1281;return(_0xdc1281=(_0x2bef39=this[_0x465aab(0x290)])==null?void 0x0:_0x2bef39[_0x465aab(0x31f)])==null?void 0x0:_0xdc1281['call'](_0x2bef39,_0x1cf828);},_0x2b4c0a[_0x39a7eb(0x1a2)]=_0x3a9765=>{var _0x5ec631=_0x39a7eb,_0x530709,_0x2b8854,_0x3a0680;if(!((_0x530709=this[_0x5ec631(0x290)])!=null&&_0x530709[_0x5ec631(0x1a2)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3a0680=(_0x2b8854=this[_0x5ec631(0x290)])==null?void 0x0:_0x2b8854['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3a0680[_0x5ec631(0x310)](_0x2b8854,_0x3a9765);},_0x2b4c0a['onTransformRemoteChangesetByStateCache']=_0x3f06ab=>{var _0x3c3738=_0x39a7eb,_0x3760ae,_0x5b0a89,_0x2d2fb2;if(!((_0x3760ae=this['_handlerCallback'])!=null&&_0x3760ae[_0x3c3738(0x22c)]))throw new Error(_0x3c3738(0x2af));return(_0x2d2fb2=(_0x5b0a89=this['_handlerCallback'])==null?void 0x0:_0x5b0a89[_0x3c3738(0x22c)])==null?void 0x0:_0x2d2fb2['call'](_0x5b0a89,_0x3f06ab);},_0x2b4c0a;}async['_init'](){var _0x330371=_0x1e1a91;const _0x3a672c=await super['_init']();return this[_0x330371(0x1a7)](this[_0x330371(0x305)][_0x330371(0x410)]((_0x3d9360,_0x5880f1)=>{var _0x1a609a=_0x330371;if(_0x3d9360[_0x1a609a(0x263)]!==_0x5c1ed1[_0x1a609a(0x265)]||_0x5880f1!=null&&_0x5880f1['fromCollab']||_0x5880f1!=null&&_0x5880f1[_0x1a609a(0x2f6)]||_0x3d9360['id']===_0x32ad84['id'])return;const _0x5f02be=_0x3d9360[_0x1a609a(0x400)];if((_0x5f02be==null?void 0x0:_0x5f02be[_0x1a609a(0x406)])!==this[_0x1a609a(0x421)])return;const _0x29dd70=_0x3d9360,_0x46474b=this[_0x1a609a(0x2db)]['interceptor'][_0x1a609a(0x222)](this[_0x1a609a(0x2db)][_0x1a609a(0x2cc)][_0x1a609a(0x2f3)]()[_0x1a609a(0x1c4)])([_0x29dd70],null)||[_0x29dd70];this[_0x1a609a(0x1c7)](_0x46474b[0x0]);})),_0x3a672c;}};St=wt([H(0x3,_0x31e33e(_0x3d0bb7)),H(0x4,_0x31e33e(_0x26a6d4)),H(0x5,_0x31e33e(_0x5de357)),H(0x6,_0x31e33e(_0xc767d8)),H(0x7,_0x31e33e(ve)),H(0x8,_0x187ac5),H(0x9,_0x497b9c),H(0xa,_0x590a86),H(0xb,_0x914e26(ht)),H(0xc,_0x914e26(J))],St);let Et=class extends st{constructor(_0x3b0119,_0x3f58cd,_0x51a422,_0x565271,_0x286055,_0x47d55b,_0x4b0f8c,_0x52b54f,_0x33e63e,_0x14133a,_0x5a7e37,_0x40e1da,_0x2bcc9c,_0xb7e965){var _0x47509a=_0x1e1a91;super(_0x3b0119,_0x51a422,_0x3f58cd,_0x565271,_0x286055,_0x47d55b,_0x4b0f8c,_0x33e63e,_0x14133a,_0x5a7e37,_0x40e1da,_0x2bcc9c,_0xb7e965),this[_0x47509a(0x421)]=_0x3b0119,this[_0x47509a(0x263)]=_0x3f58cd,this[_0x47509a(0x3d5)]=_0x52b54f;}[_0x1e1a91(0x327)](){var _0xb40451=_0x1e1a91;const _0x360850=super['_createHandler']();return _0x360850[_0xb40451(0x464)]=_0x411d98=>this[_0xb40451(0x3d5)][_0xb40451(0x313)](_0x411d98),_0x360850;}async[_0x1e1a91(0x2dc)](){var _0x5a251d=_0x1e1a91;const _0x18517d=await super[_0x5a251d(0x2dc)]();return this['disposeWithMe'](this[_0x5a251d(0x305)][_0x5a251d(0x410)]((_0x5c7c1f,_0x5c1138)=>{var _0x4647a2=_0x5a251d;if(_0x5c7c1f['type']!==_0x5c1ed1[_0x4647a2(0x265)]||_0x5c1138!=null&&_0x5c1138['fromCollab']||_0x5c1138!=null&&_0x5c1138[_0x4647a2(0x2f6)])return;const _0x209b74=_0x5c7c1f['params'];if((_0x209b74==null?void 0x0:_0x209b74[_0x4647a2(0x406)])!==this['unitID'])return;const _0xd1ef12=_0x5c7c1f,_0x53703d=this[_0x4647a2(0x2db)][_0x4647a2(0x2cc)][_0x4647a2(0x222)](this[_0x4647a2(0x2db)][_0x4647a2(0x2cc)][_0x4647a2(0x2f3)]()[_0x4647a2(0x1c4)])([_0xd1ef12],null)||[_0xd1ef12];this[_0x4647a2(0x1c7)](_0x53703d[0x0]);})),_0x18517d;}};Et=wt([H(0x3,_0x31e33e(_0x3d0bb7)),H(0x4,_0x31e33e(_0x26a6d4)),H(0x5,_0x31e33e(_0x5de357)),H(0x6,_0x31e33e(_0xc767d8)),H(0x7,_0x31e33e(it)),H(0x8,_0x31e33e(ve)),H(0x9,_0x187ac5),H(0xa,_0x497b9c),H(0xb,_0x590a86),H(0xc,_0x914e26(ht)),H(0xd,_0x914e26(J))],Et);var Qs=Object[_0x1e1a91(0x38a)],en=(_0x3367bc,_0x1aef1b,_0x470cd3,_0x39034b)=>{for(var _0x55c21f=_0x39034b>0x1?void 0x0:_0x39034b?Qs(_0x1aef1b,_0x470cd3):_0x1aef1b,_0x430c04=_0x3367bc['length']-0x1,_0x569c39;_0x430c04>=0x0;_0x430c04--)(_0x569c39=_0x3367bc[_0x430c04])&&(_0x55c21f=_0x569c39(_0x55c21f)||_0x55c21f);return _0x55c21f;},Be=(_0x1895be,_0x13b4c6)=>(_0x1489a6,_0x14af1c)=>_0x13b4c6(_0x1489a6,_0x14af1c,_0x1895be);let nt=class extends _0x10a3a4{constructor(_0x3c8b1b,_0x4741d5,_0x4a0ef1,_0x22e0f5){var _0x5626c7=_0x1e1a91,_0x56a970;super(),N(this,_0x5626c7(0x2a1),new Map()),N(this,_0x5626c7(0x1eb),new _0x5a2205()),N(this,_0x5626c7(0x322),this[_0x5626c7(0x1eb)][_0x5626c7(0x3a7)]()),(this['_injector']=_0x3c8b1b,this[_0x5626c7(0x1a6)]=_0x4741d5,this[_0x5626c7(0x2c8)]=_0x4a0ef1,this[_0x5626c7(0x43e)]=_0x22e0f5,((_0x56a970=this[_0x5626c7(0x2c8)][_0x5626c7(0x1e9)](K))==null?void 0x0:_0x56a970[_0x5626c7(0x2a0)])!==!0x1&&this[_0x5626c7(0x2dc)]());}[_0x1e1a91(0x24c)](){var _0x2475be=_0x1e1a91;super[_0x2475be(0x24c)](),this['_entities']['forEach'](_0x4cb577=>_0x4cb577[_0x2475be(0x24c)]()),this[_0x2475be(0x2a1)]['clear']();}[_0x1e1a91(0x496)](_0x4df6e5){var _0x2529a5=_0x1e1a91,_0x516a4c;return(_0x516a4c=this[_0x2529a5(0x2a1)][_0x2529a5(0x2ff)](_0x4df6e5))!=null?_0x516a4c:null;}[_0x1e1a91(0x1b5)](_0x5e6da6){var _0x38d259=_0x1e1a91;const _0x25ba8c=this[_0x38d259(0x496)](_0x5e6da6);return _0x25ba8c?_0x18813a(_0x25ba8c):this[_0x38d259(0x1eb)][_0x38d259(0x2c2)](_0x3b78b7(_0x501e2c=>_0x501e2c[_0x38d259(0x421)]===_0x5e6da6));}[_0x1e1a91(0x450)](_0x2d1a7d){var _0x3812fe=_0x1e1a91;return _0x4fc70a(this['getCollabEntity$'](_0x2d1a7d)[_0x3812fe(0x2c2)](_0x442736(()=>{})));}[_0x1e1a91(0x2dc)](){var _0x2904bd=_0x1e1a91;this[_0x2904bd(0x43e)][_0x2904bd(0x338)](_0x2ebbd1[_0x2904bd(0x473)])['pipe'](_0x212c06(this[_0x2904bd(0x197)]),_0x5d2b37(0x10))[_0x2904bd(0x412)](async _0x25cbb2=>{var _0x9f6002=_0x2904bd;const _0x28bc62=_0x25cbb2[_0x9f6002(0x3d6)](),_0x36032c=await this[_0x9f6002(0x306)](_0x28bc62,Z[_0x9f6002(0x473)]);this[_0x9f6002(0x2a1)][_0x9f6002(0x1b4)](_0x28bc62,_0x36032c);}),this[_0x2904bd(0x43e)][_0x2904bd(0x338)](_0x2ebbd1['UNIVER_DOC'])['pipe'](_0x212c06(this[_0x2904bd(0x197)]),_0x5d2b37(0x10))['pipe'](_0x3b78b7(_0x13a4f7=>!_0x13a4f7[_0x2904bd(0x3d6)]()['startsWith']('__')))[_0x2904bd(0x412)](async _0x583073=>{var _0x41b40f=_0x2904bd;const _0x29e3dd=_0x583073[_0x41b40f(0x3d6)](),_0x2e62a3=await this['_startCollaboration'](_0x29e3dd,Z[_0x41b40f(0x3ab)]);this[_0x41b40f(0x2a1)][_0x41b40f(0x1b4)](_0x29e3dd,_0x2e62a3);}),_0x12b484(this[_0x2904bd(0x43e)][_0x2904bd(0x1dd)](_0x2ebbd1[_0x2904bd(0x473)]),this['_univerInstanceService'][_0x2904bd(0x1dd)](_0x2ebbd1[_0x2904bd(0x3ab)]))[_0x2904bd(0x2c2)](_0x212c06(this['dispose$']))[_0x2904bd(0x412)](_0x51b30d=>{var _0x4f094b=_0x2904bd;const _0x569388=_0x51b30d[_0x4f094b(0x3d6)](),_0x4c70e8=this[_0x4f094b(0x2a1)][_0x4f094b(0x2ff)](_0x569388);_0x4c70e8&&(_0x4c70e8['dispose'](),this[_0x4f094b(0x2a1)]['delete'](_0x569388));});}async['_startCollaboration'](_0x2e03e7,_0x4bf544){var _0x4d0593=_0x1e1a91;const _0x1fc27d=await this[_0x4d0593(0x1a6)][_0x4d0593(0x282)](_0x2e03e7),_0x2f01e1=this['_injector'][_0x4d0593(0x41d)](this[_0x4d0593(0x219)](_0x4bf544),_0x2e03e7,_0x4bf544,_0x1fc27d);return await _0x2f01e1[_0x4d0593(0x44e)](),this[_0x4d0593(0x1eb)][_0x4d0593(0x2f9)](_0x2f01e1),_0x2f01e1;}[_0x1e1a91(0x219)](_0x2f4b9c){var _0x440ac0=_0x1e1a91;switch(_0x2f4b9c){case Z[_0x440ac0(0x3ab)]:return St;case Z[_0x440ac0(0x473)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2f4b9c);}}};nt=en([Be(0x0,_0x31e33e(_0x3d0bb7)),Be(0x1,_0x31e33e(Le)),Be(0x2,_0x21d6f2),Be(0x3,_0x58b7fa)],nt);var tn=Object[_0x1e1a91(0x38a)],sn=(_0x5c21f3,_0xb9fcf8,_0x16b321,_0x28a570)=>{var _0x41482c=_0x1e1a91;for(var _0x123d48=_0x28a570>0x1?void 0x0:_0x28a570?tn(_0xb9fcf8,_0x16b321):_0xb9fcf8,_0x860366=_0x5c21f3[_0x41482c(0x1ec)]-0x1,_0x1445e4;_0x860366>=0x0;_0x860366--)(_0x1445e4=_0x5c21f3[_0x860366])&&(_0x123d48=_0x1445e4(_0x123d48)||_0x123d48);return _0x123d48;},Wt=(_0x22a3b0,_0x3921ec)=>(_0x223310,_0xce3e9f)=>_0x3921ec(_0x223310,_0xce3e9f,_0x22a3b0);const nn=_0x1e1a91(0x22d),rn='Univer';let It=class extends _0x38cb48{constructor(_0xa9c2b4,_0x3c86d2){var _0x472f13=_0x1e1a91;super(),this[_0x472f13(0x43e)]=_0xa9c2b4,this[_0x472f13(0x2c8)]=_0x3c86d2,this[_0x472f13(0x2dc)]();}['_init'](){var _0x5d59e7=_0x1e1a91;this[_0x5d59e7(0x1a7)](this[_0x5d59e7(0x43e)][_0x5d59e7(0x44f)]['subscribe'](()=>{var _0x4ca80c=_0x5d59e7,_0x386c2f;const _0xf1dfe1=this[_0x4ca80c(0x43e)][_0x4ca80c(0x3b6)]();let _0x568c59=(_0x386c2f=this[_0x4ca80c(0x2c8)]['getConfig'](nn))!=null?_0x386c2f:rn;_0xf1dfe1 instanceof _0xe9d235&&(_0x568c59=_0xf1dfe1['name']),document[_0x4ca80c(0x33d)]=_0x568c59;}));}};It=sn([Wt(0x0,_0x58b7fa),Wt(0x1,_0x21d6f2)],It);var an=Object[_0x1e1a91(0x38a)],on=(_0xef24ce,_0x533b06,_0x4c5957,_0x5db2c7)=>{for(var _0x556482=_0x5db2c7>0x1?void 0x0:_0x5db2c7?an(_0x533b06,_0x4c5957):_0x533b06,_0x2e41b0=_0xef24ce['length']-0x1,_0x2c15be;_0x2e41b0>=0x0;_0x2e41b0--)(_0x2c15be=_0xef24ce[_0x2e41b0])&&(_0x556482=_0x2c15be(_0x556482)||_0x556482);return _0x556482;},dt=(_0x321722,_0x5716c1)=>(_0x4e66ea,_0x2148d6)=>_0x5716c1(_0x4e66ea,_0x2148d6,_0x321722);let rt=class{constructor(_0x4eaaa0,_0x2a025a,_0x41979a){var _0x1f4c5e=_0x1e1a91;this[_0x1f4c5e(0x2c8)]=_0x4eaaa0,this[_0x1f4c5e(0x49f)]=_0x2a025a,this['localeService']=_0x41979a,this[_0x1f4c5e(0x44e)]();}['init'](){var _0x2875e4=_0x1e1a91;this[_0x2875e4(0x49f)][_0x2875e4(0x2ae)]({'priority':0x1,'interceptor':(_0x35eaaf,_0x4ac6a7)=>_0x4ac6a7(_0x35eaaf)[_0x2875e4(0x2c2)](_0x4f64b7(async _0x16939b=>{var _0x5592da=_0x2875e4;const _0x2f02fa=_0x16939b;if(_0x2f02fa['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5592da(0x30d)](this[_0x5592da(0x36e)]['t'](_0x5592da(0x358)))){const _0x59b6ae=window[_0x5592da(0x258)](window[_0x5592da(0x42f)][_0x5592da(0x3a5)]);window[_0x5592da(0x42f)][_0x5592da(0x3a5)]=this[_0x5592da(0x42b)]()+_0x5592da(0x1b9)+_0x59b6ae;}}return _0x2f02fa;}))});}[_0x1e1a91(0x42b)](){var _0x55a365=_0x1e1a91,_0x366b3f,_0x1ec3c9;const _0x1092b6=this['_configService'][_0x55a365(0x1e9)](ys),_0x296768=this[_0x55a365(0x2c8)]['getConfig'](K);return(_0x1ec3c9=(_0x366b3f=_0x296768==null?void 0x0:_0x296768[_0x55a365(0x367)])!=null?_0x366b3f:_0x1092b6)!=null?_0x1ec3c9:Ns;}};rt=on([dt(0x0,_0x21d6f2),dt(0x1,_0x31e33e(_0x2cc90d)),dt(0x2,_0x31e33e(_0x5de357))],rt);var cn=Object[_0x1e1a91(0x38a)],hn=(_0x4874be,_0x4d6b1c,_0x3e877a,_0x507aca)=>{var _0x2ae2c=_0x1e1a91;for(var _0xb2551e=_0x507aca>0x1?void 0x0:_0x507aca?cn(_0x4d6b1c,_0x3e877a):_0x4d6b1c,_0x1b8614=_0x4874be[_0x2ae2c(0x1ec)]-0x1,_0x2313eb;_0x1b8614>=0x0;_0x1b8614--)(_0x2313eb=_0x4874be[_0x1b8614])&&(_0xb2551e=_0x2313eb(_0xb2551e)||_0xb2551e);return _0xb2551e;},Kt=(_0x4b7c85,_0x4cee8a)=>(_0x2e4863,_0xcf775c)=>_0x4cee8a(_0x2e4863,_0xcf775c,_0x4b7c85);const Oi=_0x1e1a91(0x40e),_n=_0x1e1a91(0x1b7);let Tt=class extends _0x38cb48{constructor(_0x57db82,_0x3fbd16){var _0x176a0d=_0x1e1a91;super(),this[_0x176a0d(0x257)]=_0x57db82,this[_0x176a0d(0x2c8)]=_0x3fbd16,this['_initMergeInterceptor']();}[_0x1e1a91(0x344)](){var _0x836b35=_0x1e1a91;const _0x1e9392=this;this[_0x836b35(0x1a7)](this[_0x836b35(0x257)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x198543({'isMatch'(_0x2aeb5a){var _0x5da0c8=_0x836b35,_0xaec5ad;if(_0x2aeb5a[_0x5da0c8(0x3f1)]===_0x5da0c8(0x3fa)&&((_0xaec5ad=_0x2aeb5a[_0x5da0c8(0x1aa)])!=null&&_0xaec5ad[_0x5da0c8(0x45b)])){const {objectID:_0x9a7e71,objectType:_0x562b0a}=_0x2aeb5a[_0x5da0c8(0x1aa)][_0x5da0c8(0x45b)]||{};if(!_0x9a7e71||_0x562b0a===void 0x0)return!0x1;const _0x4d152a=_0x1e9392[_0x5da0c8(0x27b)]()+'/'+_0x562b0a+_0x5da0c8(0x39d)+_0x9a7e71+_0x5da0c8(0x26f);if(_0x2aeb5a[_0x5da0c8(0x3d8)]===_0x4d152a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x31aae8){var _0x31fc4f=_0x836b35,_0x5eb91c;return(_0x5eb91c=_0x31aae8['requestParams'])==null?void 0x0:_0x5eb91c[_0x31fc4f(0x45b)];},'mergeParamsToRequest'(_0x37f0cb,_0x3f6bf3){var _0x2cc637=_0x836b35;const _0x176406=_0x1e9392[_0x2cc637(0x27b)]()+_0x2cc637(0x401),_0x6420cd=_0x37f0cb[_0x2cc637(0x251)]((_0x52ebd5,_0x4612c8)=>{var _0x430cc8=_0x2cc637;const {unitID:_0x59bdd1,objectID:_0x543cf5,objectType:_0x2b9526,actions:_0x470abf}=_0x4612c8;return _0x52ebd5[_0x59bdd1]||(_0x52ebd5[_0x59bdd1]={}),_0x52ebd5[_0x59bdd1][_0x543cf5]||(_0x52ebd5[_0x59bdd1][_0x543cf5]={'objectID':_0x543cf5,'objectType':_0x2b9526,'actions':[]}),_0x52ebd5[_0x59bdd1][_0x543cf5][_0x430cc8(0x41b)][_0x430cc8(0x3b3)](..._0x470abf),_0x52ebd5;},{}),_0xb6a022=[];for(const _0x523c65 in _0x6420cd)for(const _0x458ded in _0x6420cd[_0x523c65]){const {actions:_0xca03ac,objectType:_0x334503}=_0x6420cd[_0x523c65][_0x458ded],_0x2943e8=[...new Set(_0xca03ac)];_0xb6a022[_0x2cc637(0x3b3)]({'unitID':_0x523c65,'objectID':_0x458ded,'objectType':_0x334503,'actions':_0x2943e8});}return new _0x1f1c15(_0x2cc637(0x3fa),_0x176406,{'headers':_0x3f6bf3['headers'],'withCredentials':_0x3f6bf3['withCredentials'],'responseType':_0x3f6bf3[_0x2cc637(0x47f)],'body':{'requests':_0xb6a022}});}},{'distributeResult'(_0x1ff77f,_0x4871f4){var _0x2b3383=_0x836b35;const {objectActions:_0x1f9e52}=_0x1ff77f;return _0x4871f4[_0x2b3383(0x47d)](_0x21d806=>{var _0xc0861c=_0x2b3383;const {unitID:_0xd778f4,objectID:_0xc3b084,actions:_0x288fe8}=_0x21d806,_0x1dc8ae=_0x1f9e52['find'](_0x2ab301=>_0x2ab301[_0xc0861c(0x421)]===_0xd778f4&&_0x2ab301[_0xc0861c(0x214)]===_0xc3b084),_0x34a1eb=_0x288fe8[_0xc0861c(0x47d)](_0x582568=>_0x1dc8ae==null?void 0x0:_0x1dc8ae['actions'][_0xc0861c(0x2bd)](_0x46c49f=>_0x46c49f[_0xc0861c(0x2d5)]===_0x582568))[_0xc0861c(0x216)](_0x210546=>!!_0x210546);return{'config':_0x21d806,'result':{'actions':_0x34a1eb,'error':_0x1ff77f['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x124bd7=_0x1e1a91,_0x1eae59,_0x174f49;const _0x506e04=this[_0x124bd7(0x2c8)]['getConfig'](Oi),_0xdfd80b=this[_0x124bd7(0x2c8)][_0x124bd7(0x1e9)](K);return(_0x174f49=(_0x1eae59=_0xdfd80b==null?void 0x0:_0xdfd80b['authzUrl'])!=null?_0x1eae59:_0x506e04)!=null?_0x174f49:_n;}async[_0x1e1a91(0x3bf)](_0x5e9eda){var _0x5ef5e2=_0x1e1a91;const _0x48caea=this['_getAPIPrefixPath']()+'/'+_0x5e9eda[_0x5ef5e2(0x3ae)]+_0x5ef5e2(0x227);return(await this[_0x5ef5e2(0x257)]['post'](_0x48caea,{'body':_0x5e9eda}))[_0x5ef5e2(0x45b)][_0x5ef5e2(0x214)]||'';}async[_0x1e1a91(0x47e)](_0x176657){var _0x3139b5=_0x1e1a91;const _0x48855d=this[_0x3139b5(0x27b)]()+_0x3139b5(0x291);return(await this[_0x3139b5(0x257)][_0x3139b5(0x31a)](_0x48855d,{'body':_0x176657}))['body'][_0x3139b5(0x302)];}async[_0x1e1a91(0x350)](_0x53442d){var _0x43cb78=_0x1e1a91,_0x54b1b4,_0xcd58db;const _0x472d9c=this[_0x43cb78(0x27b)]()+'/'+_0x53442d[_0x43cb78(0x3ae)]+_0x43cb78(0x39d)+_0x53442d['objectID'],_0x199da1=await this[_0x43cb78(0x257)][_0x43cb78(0x32e)](_0x472d9c,{'body':_0x53442d});if(((_0xcd58db=(_0x54b1b4=_0x199da1==null?void 0x0:_0x199da1[_0x43cb78(0x45b)])==null?void 0x0:_0x54b1b4['error'])==null?void 0x0:_0xcd58db[_0x43cb78(0x440)])!==0x1)throw new Error(_0x43cb78(0x1de));}async[_0x1e1a91(0x32b)](_0x2188db){var _0x539701=_0x1e1a91;const _0x3c4809=this[_0x539701(0x27b)]()+'/'+_0x2188db['objectType']+_0x539701(0x39d)+_0x2188db[_0x539701(0x214)]+_0x539701(0x26f);return(await this[_0x539701(0x257)]['post'](_0x3c4809,{'body':_0x2188db}))[_0x539701(0x45b)][_0x539701(0x41b)];}async[_0x1e1a91(0x426)](_0x292ebf){var _0x308a86=_0x1e1a91;const _0x4721e4=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x308a86(0x257)][_0x308a86(0x31a)](_0x4721e4,{'body':{'requests':_0x292ebf}}))[_0x308a86(0x45b)]['objectActions'];}async[_0x1e1a91(0x242)](_0x5626ba){var _0x7e80bf=_0x1e1a91;const _0x964b87=this['_getAPIPrefixPath']()+'/'+_0x5626ba[_0x7e80bf(0x3ae)]+_0x7e80bf(0x47a),_0x5e5198=await this['_HTTPService'][_0x7e80bf(0x31a)](_0x964b87,{'body':_0x5626ba});return{'roles':_0x5e5198[_0x7e80bf(0x45b)]['roles'],'actions':_0x5e5198[_0x7e80bf(0x45b)][_0x7e80bf(0x41b)]};}async[_0x1e1a91(0x3ad)](_0x6b7dde){var _0x1c2a59=_0x1e1a91;const _0x7dbed5=this[_0x1c2a59(0x27b)]()+'/collaborator';await this['_HTTPService']['delete'](_0x7dbed5,{'params':{'collaboratorID':_0x6b7dde[_0x1c2a59(0x3ff)],'objectID':_0x6b7dde['objectID'],'unitID':_0x6b7dde[_0x1c2a59(0x421)]}});}async[_0x1e1a91(0x1ea)](_0x5919ad){var _0x4e94a0=_0x1e1a91;const _0x5a5292=this['_getAPIPrefixPath']()+_0x4e94a0(0x38d);await this[_0x4e94a0(0x257)][_0x4e94a0(0x1e6)](_0x5a5292,{'body':_0x5919ad});}async['createCollaborator'](_0x452e0a){var _0x3c066d=_0x1e1a91;const _0x571db8=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x3c066d(0x31a)](_0x571db8,{'body':_0x452e0a});}async['listCollaborators'](_0x61a5){var _0xc52c40=_0x1e1a91;const _0x4b2e19=this['_getAPIPrefixPath']()+_0xc52c40(0x38d);return(await this[_0xc52c40(0x257)][_0xc52c40(0x2ff)](_0x4b2e19,{'params':{'objectID':_0x61a5['objectID'],'unitID':_0x61a5[_0xc52c40(0x421)]}}))[_0xc52c40(0x45b)]['collaborators'];}async[_0x1e1a91(0x1d0)](_0x4aea76){var _0x5b59b1=_0x1e1a91;const _0x2fe408=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5b59b1(0x257)][_0x5b59b1(0x32e)](_0x2fe408,{'body':_0x4aea76});}};Tt=hn([Kt(0x0,_0x31e33e(_0x2cc90d)),Kt(0x1,_0x31e33e(_0x21d6f2))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xe18546){var _0x57b15f=_0x1e1a91;return _0xe18546&&_0xe18546[_0x57b15f(0x1d4)]&&Object[_0x57b15f(0x337)][_0x57b15f(0x271)][_0x57b15f(0x310)](_0xe18546,'default')?_0xe18546[_0x57b15f(0x312)]:_0xe18546;}var Ve={'exports':{}};function ln(_0x179b28){var _0xc3546d=_0x1e1a91;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x179b28+_0xc3546d(0x2e6));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0x12af0c=_0x1e1a91;return qt||(qt=0x1,function(_0x177231,_0x4deff7){(function(_0x1ad95a,_0x5c7ca9){var _0x51633c=_0x1283;_0x177231[_0x51633c(0x383)]=_0x5c7ca9();}(un,function(){var _0x364542=_0x364542||function(_0x170181,_0x36f1ba){var _0x2742f3=_0x1283,_0x3afa48;if(typeof window<'u'&&window[_0x2742f3(0x1bb)]&&(_0x3afa48=window[_0x2742f3(0x1bb)]),typeof self<'u'&&self[_0x2742f3(0x1bb)]&&(_0x3afa48=self[_0x2742f3(0x1bb)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3afa48=globalThis[_0x2742f3(0x1bb)]),!_0x3afa48&&typeof window<'u'&&window['msCrypto']&&(_0x3afa48=window[_0x2742f3(0x3a0)]),!_0x3afa48&&typeof ft<'u'&&ft[_0x2742f3(0x1bb)]&&(_0x3afa48=ft['crypto']),!_0x3afa48&&typeof ln=='function')try{_0x3afa48=require(_0x2742f3(0x1bb));}catch{}var _0x4817bb=function(){var _0x132e9d=_0x2742f3;if(_0x3afa48){if(typeof _0x3afa48[_0x132e9d(0x404)]==_0x132e9d(0x1b1))try{return _0x3afa48[_0x132e9d(0x404)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3afa48[_0x132e9d(0x40f)]==_0x132e9d(0x1b1))try{return _0x3afa48[_0x132e9d(0x40f)](0x4)[_0x132e9d(0x1a1)]();}catch{}}throw new Error(_0x132e9d(0x1fe));},_0x59f0bd=Object['create']||(function(){function _0x1aeeed(){}return function(_0x5b7205){var _0x1f587b=_0x1283,_0x2f7960;return _0x1aeeed[_0x1f587b(0x337)]=_0x5b7205,_0x2f7960=new _0x1aeeed(),_0x1aeeed[_0x1f587b(0x337)]=null,_0x2f7960;};}()),_0x1e417b={},_0x56f508=_0x1e417b['lib']={},_0x19b3c9=_0x56f508[_0x2742f3(0x3f3)]=(function(){return{'extend':function(_0x57d51b){var _0xb7171c=_0x1283,_0x3dde76=_0x59f0bd(this);return _0x57d51b&&_0x3dde76[_0xb7171c(0x415)](_0x57d51b),(!_0x3dde76[_0xb7171c(0x271)](_0xb7171c(0x44e))||this[_0xb7171c(0x44e)]===_0x3dde76['init'])&&(_0x3dde76[_0xb7171c(0x44e)]=function(){var _0xe0d352=_0xb7171c;_0x3dde76[_0xe0d352(0x308)][_0xe0d352(0x44e)]['apply'](this,arguments);}),_0x3dde76[_0xb7171c(0x44e)]['prototype']=_0x3dde76,_0x3dde76[_0xb7171c(0x308)]=this,_0x3dde76;},'create':function(){var _0x5ad3e6=_0x1283,_0x5ef52e=this['extend']();return _0x5ef52e['init'][_0x5ad3e6(0x26a)](_0x5ef52e,arguments),_0x5ef52e;},'init':function(){},'mixIn':function(_0x1347fd){var _0x35f4a5=_0x1283;for(var _0x3f2db9 in _0x1347fd)_0x1347fd['hasOwnProperty'](_0x3f2db9)&&(this[_0x3f2db9]=_0x1347fd[_0x3f2db9]);_0x1347fd[_0x35f4a5(0x271)](_0x35f4a5(0x3c6))&&(this[_0x35f4a5(0x3c6)]=_0x1347fd[_0x35f4a5(0x3c6)]);},'clone':function(){var _0x1697c1=_0x1283;return this['init']['prototype'][_0x1697c1(0x288)](this);}};}()),_0x23b964=_0x56f508['WordArray']=_0x19b3c9[_0x2742f3(0x288)]({'init':function(_0x149fd9,_0x1d8446){var _0x24edfb=_0x2742f3;_0x149fd9=this[_0x24edfb(0x2a2)]=_0x149fd9||[],_0x1d8446!=_0x36f1ba?this[_0x24edfb(0x281)]=_0x1d8446:this[_0x24edfb(0x281)]=_0x149fd9['length']*0x4;},'toString':function(_0x364abd){var _0x432d3b=_0x2742f3;return(_0x364abd||_0x1cb7e5)[_0x432d3b(0x39f)](this);},'concat':function(_0x1b69e8){var _0x2efc85=_0x2742f3,_0x139487=this['words'],_0x354137=_0x1b69e8[_0x2efc85(0x2a2)],_0x9606f7=this[_0x2efc85(0x281)],_0x191894=_0x1b69e8[_0x2efc85(0x281)];if(this[_0x2efc85(0x428)](),_0x9606f7%0x4)for(var _0x25b995=0x0;_0x25b995<_0x191894;_0x25b995++){var _0x10a1a6=_0x354137[_0x25b995>>>0x2]>>>0x18-_0x25b995%0x4*0x8&0xff;_0x139487[_0x9606f7+_0x25b995>>>0x2]|=_0x10a1a6<<0x18-(_0x9606f7+_0x25b995)%0x4*0x8;}else{for(var _0x901ac=0x0;_0x901ac<_0x191894;_0x901ac+=0x4)_0x139487[_0x9606f7+_0x901ac>>>0x2]=_0x354137[_0x901ac>>>0x2];}return this['sigBytes']+=_0x191894,this;},'clamp':function(){var _0x507ee9=_0x2742f3,_0x28e3e4=this['words'],_0x2f916a=this[_0x507ee9(0x281)];_0x28e3e4[_0x2f916a>>>0x2]&=0xffffffff<<0x20-_0x2f916a%0x4*0x8,_0x28e3e4['length']=_0x170181[_0x507ee9(0x422)](_0x2f916a/0x4);},'clone':function(){var _0x48f407=_0x2742f3,_0x14d477=_0x19b3c9[_0x48f407(0x30f)][_0x48f407(0x310)](this);return _0x14d477[_0x48f407(0x2a2)]=this[_0x48f407(0x2a2)][_0x48f407(0x431)](0x0),_0x14d477;},'random':function(_0x3380be){for(var _0x37c92b=[],_0xcc157d=0x0;_0xcc157d<_0x3380be;_0xcc157d+=0x4)_0x37c92b['push'](_0x4817bb());return new _0x23b964['init'](_0x37c92b,_0x3380be);}}),_0x34b2c4=_0x1e417b[_0x2742f3(0x37d)]={},_0x1cb7e5=_0x34b2c4['Hex']={'stringify':function(_0x3ecaba){var _0x4e7c0c=_0x2742f3;for(var _0x4d1f07=_0x3ecaba[_0x4e7c0c(0x2a2)],_0x10b252=_0x3ecaba['sigBytes'],_0x8ca95b=[],_0xd22bdf=0x0;_0xd22bdf<_0x10b252;_0xd22bdf++){var _0x44ea19=_0x4d1f07[_0xd22bdf>>>0x2]>>>0x18-_0xd22bdf%0x4*0x8&0xff;_0x8ca95b[_0x4e7c0c(0x3b3)]((_0x44ea19>>>0x4)[_0x4e7c0c(0x3c6)](0x10)),_0x8ca95b[_0x4e7c0c(0x3b3)]((_0x44ea19&0xf)[_0x4e7c0c(0x3c6)](0x10));}return _0x8ca95b[_0x4e7c0c(0x3e2)]('');},'parse':function(_0x3df9a1){var _0x1f7958=_0x2742f3;for(var _0x522498=_0x3df9a1[_0x1f7958(0x1ec)],_0x5dbb0f=[],_0x42b0d9=0x0;_0x42b0d9<_0x522498;_0x42b0d9+=0x2)_0x5dbb0f[_0x42b0d9>>>0x3]|=parseInt(_0x3df9a1[_0x1f7958(0x295)](_0x42b0d9,0x2),0x10)<<0x18-_0x42b0d9%0x8*0x4;return new _0x23b964[(_0x1f7958(0x44e))](_0x5dbb0f,_0x522498/0x2);}},_0x333d4d=_0x34b2c4[_0x2742f3(0x3f0)]={'stringify':function(_0x4f6468){var _0xad2bdf=_0x2742f3;for(var _0x5eab9c=_0x4f6468['words'],_0x2f75f2=_0x4f6468['sigBytes'],_0xdb29d9=[],_0x2d0867=0x0;_0x2d0867<_0x2f75f2;_0x2d0867++){var _0x371748=_0x5eab9c[_0x2d0867>>>0x2]>>>0x18-_0x2d0867%0x4*0x8&0xff;_0xdb29d9[_0xad2bdf(0x3b3)](String[_0xad2bdf(0x418)](_0x371748));}return _0xdb29d9[_0xad2bdf(0x3e2)]('');},'parse':function(_0x5a7dbb){var _0x512f8b=_0x2742f3;for(var _0x1d4ccd=_0x5a7dbb[_0x512f8b(0x1ec)],_0x527ce7=[],_0x3f2633=0x0;_0x3f2633<_0x1d4ccd;_0x3f2633++)_0x527ce7[_0x3f2633>>>0x2]|=(_0x5a7dbb[_0x512f8b(0x3bc)](_0x3f2633)&0xff)<<0x18-_0x3f2633%0x4*0x8;return new _0x23b964[(_0x512f8b(0x44e))](_0x527ce7,_0x1d4ccd);}},_0x369b74=_0x34b2c4['Utf8']={'stringify':function(_0x1cfd38){var _0x37368b=_0x2742f3;try{return decodeURIComponent(escape(_0x333d4d[_0x37368b(0x39f)](_0x1cfd38)));}catch{throw new Error(_0x37368b(0x1dc));}},'parse':function(_0x1abe04){var _0x4585a7=_0x2742f3;return _0x333d4d[_0x4585a7(0x264)](unescape(encodeURIComponent(_0x1abe04)));}},_0x4bcd12=_0x56f508[_0x2742f3(0x2a7)]=_0x19b3c9['extend']({'reset':function(){var _0x276e00=_0x2742f3;this['_data']=new _0x23b964[(_0x276e00(0x44e))](),this['_nDataBytes']=0x0;},'_append':function(_0x2cb84c){var _0x565e06=_0x2742f3;typeof _0x2cb84c=='string'&&(_0x2cb84c=_0x369b74[_0x565e06(0x264)](_0x2cb84c)),this[_0x565e06(0x432)][_0x565e06(0x389)](_0x2cb84c),this[_0x565e06(0x37c)]+=_0x2cb84c['sigBytes'];},'_process':function(_0x426c81){var _0x419e5b=_0x2742f3,_0x38d4f2,_0x4843bf=this[_0x419e5b(0x432)],_0x12725d=_0x4843bf['words'],_0x4f3460=_0x4843bf[_0x419e5b(0x281)],_0x562198=this[_0x419e5b(0x37e)],_0xf5aef1=_0x562198*0x4,_0x4d9b9a=_0x4f3460/_0xf5aef1;_0x426c81?_0x4d9b9a=_0x170181['ceil'](_0x4d9b9a):_0x4d9b9a=_0x170181['max']((_0x4d9b9a|0x0)-this[_0x419e5b(0x209)],0x0);var _0x241297=_0x4d9b9a*_0x562198,_0x165ca9=_0x170181[_0x419e5b(0x311)](_0x241297*0x4,_0x4f3460);if(_0x241297){for(var _0x9a7672=0x0;_0x9a7672<_0x241297;_0x9a7672+=_0x562198)this[_0x419e5b(0x3cf)](_0x12725d,_0x9a7672);_0x38d4f2=_0x12725d[_0x419e5b(0x2b4)](0x0,_0x241297),_0x4843bf['sigBytes']-=_0x165ca9;}return new _0x23b964[(_0x419e5b(0x44e))](_0x38d4f2,_0x165ca9);},'clone':function(){var _0x114ad0=_0x2742f3,_0x46d1a3=_0x19b3c9[_0x114ad0(0x30f)][_0x114ad0(0x310)](this);return _0x46d1a3['_data']=this[_0x114ad0(0x432)][_0x114ad0(0x30f)](),_0x46d1a3;},'_minBufferSize':0x0});_0x56f508[_0x2742f3(0x448)]=_0x4bcd12[_0x2742f3(0x288)]({'cfg':_0x19b3c9[_0x2742f3(0x288)](),'init':function(_0xa6ced5){var _0x50325c=_0x2742f3;this[_0x50325c(0x475)]=this[_0x50325c(0x475)][_0x50325c(0x288)](_0xa6ced5),this['reset']();},'reset':function(){var _0x1a7e57=_0x2742f3;_0x4bcd12['reset'][_0x1a7e57(0x310)](this),this[_0x1a7e57(0x3c0)]();},'update':function(_0x4e675b){var _0x2c167b=_0x2742f3;return this[_0x2c167b(0x413)](_0x4e675b),this[_0x2c167b(0x1f1)](),this;},'finalize':function(_0x23b321){var _0x39733f=_0x2742f3;_0x23b321&&this[_0x39733f(0x413)](_0x23b321);var _0x10e293=this[_0x39733f(0x232)]();return _0x10e293;},'blockSize':0x10,'_createHelper':function(_0x28370f){return function(_0x3baf2c,_0x4ac214){var _0x4994ed=_0x1283;return new _0x28370f[(_0x4994ed(0x44e))](_0x4ac214)[_0x4994ed(0x2a5)](_0x3baf2c);};},'_createHmacHelper':function(_0x40ca56){return function(_0x2946ac,_0x361cc5){var _0x5d1830=_0x1283;return new _0x3e2df1[(_0x5d1830(0x1e1))][(_0x5d1830(0x44e))](_0x40ca56,_0x361cc5)['finalize'](_0x2946ac);};}});var _0x3e2df1=_0x1e417b[_0x2742f3(0x261)]={};return _0x1e417b;}(Math);return _0x364542;}));}(Ge)),Ge[_0x12af0c(0x383)];}var Ye={'exports':{}},dn=Ye['exports'],zt;function bi(){var _0x6f3714=_0x1e1a91;return zt||(zt=0x1,function(_0x12c975,_0x45f5d9){(function(_0x5239f8,_0x100a45){_0x12c975['exports']=_0x100a45(te());}(dn,function(_0x18a78d){var _0x4072d4=_0x1283;return(function(){var _0x144ca0=_0x1283,_0x31e82c=_0x18a78d,_0x46a05c=_0x31e82c['lib'],_0x777361=_0x46a05c['WordArray'],_0x53cd1b=_0x31e82c[_0x144ca0(0x37d)];_0x53cd1b[_0x144ca0(0x2d4)]={'stringify':function(_0x4ce683){var _0x3aad5e=_0x144ca0,_0x3d9445=_0x4ce683[_0x3aad5e(0x2a2)],_0x248214=_0x4ce683[_0x3aad5e(0x281)],_0x25d0ef=this[_0x3aad5e(0x238)];_0x4ce683[_0x3aad5e(0x428)]();for(var _0x5d079a=[],_0x330cac=0x0;_0x330cac<_0x248214;_0x330cac+=0x3)for(var _0xe5215d=_0x3d9445[_0x330cac>>>0x2]>>>0x18-_0x330cac%0x4*0x8&0xff,_0x59928d=_0x3d9445[_0x330cac+0x1>>>0x2]>>>0x18-(_0x330cac+0x1)%0x4*0x8&0xff,_0x5c3a5a=_0x3d9445[_0x330cac+0x2>>>0x2]>>>0x18-(_0x330cac+0x2)%0x4*0x8&0xff,_0x48b27a=_0xe5215d<<0x10|_0x59928d<<0x8|_0x5c3a5a,_0x48c2e4=0x0;_0x48c2e4<0x4&&_0x330cac+_0x48c2e4*0.75<_0x248214;_0x48c2e4++)_0x5d079a['push'](_0x25d0ef[_0x3aad5e(0x335)](_0x48b27a>>>0x6*(0x3-_0x48c2e4)&0x3f));var _0x21bb22=_0x25d0ef[_0x3aad5e(0x335)](0x40);if(_0x21bb22){for(;_0x5d079a['length']%0x4;)_0x5d079a['push'](_0x21bb22);}return _0x5d079a[_0x3aad5e(0x3e2)]('');},'parse':function(_0x4a75dd){var _0x371a9d=_0x144ca0,_0x4e33b2=_0x4a75dd[_0x371a9d(0x1ec)],_0x3250b1=this['_map'],_0x318342=this[_0x371a9d(0x1af)];if(!_0x318342){_0x318342=this['_reverseMap']=[];for(var _0xde668c=0x0;_0xde668c<_0x3250b1['length'];_0xde668c++)_0x318342[_0x3250b1[_0x371a9d(0x3bc)](_0xde668c)]=_0xde668c;}var _0x5db9bc=_0x3250b1[_0x371a9d(0x335)](0x40);if(_0x5db9bc){var _0x23c051=_0x4a75dd['indexOf'](_0x5db9bc);_0x23c051!==-0x1&&(_0x4e33b2=_0x23c051);}return _0x5b8fc5(_0x4a75dd,_0x4e33b2,_0x318342);},'_map':_0x144ca0(0x325)};function _0x5b8fc5(_0x45354a,_0x123231,_0x35fa41){var _0x507a56=_0x144ca0;for(var _0x51b717=[],_0x1255ac=0x0,_0x5e379b=0x0;_0x5e379b<_0x123231;_0x5e379b++)if(_0x5e379b%0x4){var _0x2c50f0=_0x35fa41[_0x45354a['charCodeAt'](_0x5e379b-0x1)]<<_0x5e379b%0x4*0x2,_0x44faf4=_0x35fa41[_0x45354a['charCodeAt'](_0x5e379b)]>>>0x6-_0x5e379b%0x4*0x2,_0x30f914=_0x2c50f0|_0x44faf4;_0x51b717[_0x1255ac>>>0x2]|=_0x30f914<<0x18-_0x1255ac%0x4*0x8,_0x1255ac++;}return _0x777361[_0x507a56(0x3bf)](_0x51b717,_0x1255ac);}}()),_0x18a78d[_0x4072d4(0x37d)][_0x4072d4(0x2d4)];}));}(Ye)),Ye[_0x6f3714(0x383)];}var We={'exports':{}},fn=We[_0x1e1a91(0x383)],Jt;function vn(){var _0x5a4e0d=_0x1e1a91;return Jt||(Jt=0x1,function(_0x3ef2c6,_0x242ad8){(function(_0x190d32,_0x2a434f){var _0xd7d96a=_0x1283;_0x3ef2c6[_0xd7d96a(0x383)]=_0x2a434f(te());}(fn,function(_0x50cb0f){var _0x3f779f=_0x1283;return function(_0x4ae9ca){var _0x500848=_0x1283,_0x449e77=_0x50cb0f,_0x15107f=_0x449e77[_0x500848(0x31b)],_0x2074cf=_0x15107f[_0x500848(0x48d)],_0x5633a4=_0x15107f[_0x500848(0x448)],_0x542321=_0x449e77[_0x500848(0x261)],_0x4c989f=[];(function(){var _0xcee70e=_0x500848;for(var _0xda5f77=0x0;_0xda5f77<0x40;_0xda5f77++)_0x4c989f[_0xda5f77]=_0x4ae9ca[_0xcee70e(0x223)](_0x4ae9ca[_0xcee70e(0x210)](_0xda5f77+0x1))*0x100000000|0x0;}());var _0x1a106f=_0x542321[_0x500848(0x268)]=_0x5633a4[_0x500848(0x288)]({'_doReset':function(){var _0x470ef3=_0x500848;this[_0x470ef3(0x2fd)]=new _0x2074cf[(_0x470ef3(0x44e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4bee4a,_0x4d7463){var _0x3ffe0c=_0x500848;for(var _0x426626=0x0;_0x426626<0x10;_0x426626++){var _0x4c1f87=_0x4d7463+_0x426626,_0x101bde=_0x4bee4a[_0x4c1f87];_0x4bee4a[_0x4c1f87]=(_0x101bde<<0x8|_0x101bde>>>0x18)&0xff00ff|(_0x101bde<<0x18|_0x101bde>>>0x8)&0xff00ff00;}var _0x3ff5d0=this[_0x3ffe0c(0x2fd)][_0x3ffe0c(0x2a2)],_0x1f7e5d=_0x4bee4a[_0x4d7463+0x0],_0x455099=_0x4bee4a[_0x4d7463+0x1],_0x5e8fc9=_0x4bee4a[_0x4d7463+0x2],_0x5891b7=_0x4bee4a[_0x4d7463+0x3],_0x2b1781=_0x4bee4a[_0x4d7463+0x4],_0x2662c6=_0x4bee4a[_0x4d7463+0x5],_0xa5fe5c=_0x4bee4a[_0x4d7463+0x6],_0x1334ee=_0x4bee4a[_0x4d7463+0x7],_0x34c680=_0x4bee4a[_0x4d7463+0x8],_0x52e8a0=_0x4bee4a[_0x4d7463+0x9],_0x46c006=_0x4bee4a[_0x4d7463+0xa],_0x49a95d=_0x4bee4a[_0x4d7463+0xb],_0x4c709d=_0x4bee4a[_0x4d7463+0xc],_0x472d2b=_0x4bee4a[_0x4d7463+0xd],_0x2d8b63=_0x4bee4a[_0x4d7463+0xe],_0x105b73=_0x4bee4a[_0x4d7463+0xf],_0x4ce541=_0x3ff5d0[0x0],_0xd4bad7=_0x3ff5d0[0x1],_0x3379dc=_0x3ff5d0[0x2],_0x53cda2=_0x3ff5d0[0x3];_0x4ce541=_0x5b3334(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x1f7e5d,0x7,_0x4c989f[0x0]),_0x53cda2=_0x5b3334(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x455099,0xc,_0x4c989f[0x1]),_0x3379dc=_0x5b3334(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x5e8fc9,0x11,_0x4c989f[0x2]),_0xd4bad7=_0x5b3334(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x5891b7,0x16,_0x4c989f[0x3]),_0x4ce541=_0x5b3334(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x2b1781,0x7,_0x4c989f[0x4]),_0x53cda2=_0x5b3334(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x2662c6,0xc,_0x4c989f[0x5]),_0x3379dc=_0x5b3334(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0xa5fe5c,0x11,_0x4c989f[0x6]),_0xd4bad7=_0x5b3334(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x1334ee,0x16,_0x4c989f[0x7]),_0x4ce541=_0x5b3334(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x34c680,0x7,_0x4c989f[0x8]),_0x53cda2=_0x5b3334(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x52e8a0,0xc,_0x4c989f[0x9]),_0x3379dc=_0x5b3334(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x46c006,0x11,_0x4c989f[0xa]),_0xd4bad7=_0x5b3334(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x49a95d,0x16,_0x4c989f[0xb]),_0x4ce541=_0x5b3334(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x4c709d,0x7,_0x4c989f[0xc]),_0x53cda2=_0x5b3334(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x472d2b,0xc,_0x4c989f[0xd]),_0x3379dc=_0x5b3334(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x2d8b63,0x11,_0x4c989f[0xe]),_0xd4bad7=_0x5b3334(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x105b73,0x16,_0x4c989f[0xf]),_0x4ce541=_0x6b88e0(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x455099,0x5,_0x4c989f[0x10]),_0x53cda2=_0x6b88e0(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0xa5fe5c,0x9,_0x4c989f[0x11]),_0x3379dc=_0x6b88e0(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x49a95d,0xe,_0x4c989f[0x12]),_0xd4bad7=_0x6b88e0(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x1f7e5d,0x14,_0x4c989f[0x13]),_0x4ce541=_0x6b88e0(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x2662c6,0x5,_0x4c989f[0x14]),_0x53cda2=_0x6b88e0(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x46c006,0x9,_0x4c989f[0x15]),_0x3379dc=_0x6b88e0(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x105b73,0xe,_0x4c989f[0x16]),_0xd4bad7=_0x6b88e0(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x2b1781,0x14,_0x4c989f[0x17]),_0x4ce541=_0x6b88e0(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x52e8a0,0x5,_0x4c989f[0x18]),_0x53cda2=_0x6b88e0(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x2d8b63,0x9,_0x4c989f[0x19]),_0x3379dc=_0x6b88e0(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x5891b7,0xe,_0x4c989f[0x1a]),_0xd4bad7=_0x6b88e0(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x34c680,0x14,_0x4c989f[0x1b]),_0x4ce541=_0x6b88e0(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x472d2b,0x5,_0x4c989f[0x1c]),_0x53cda2=_0x6b88e0(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x5e8fc9,0x9,_0x4c989f[0x1d]),_0x3379dc=_0x6b88e0(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x1334ee,0xe,_0x4c989f[0x1e]),_0xd4bad7=_0x6b88e0(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x4c709d,0x14,_0x4c989f[0x1f]),_0x4ce541=_0xbeb6bf(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x2662c6,0x4,_0x4c989f[0x20]),_0x53cda2=_0xbeb6bf(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x34c680,0xb,_0x4c989f[0x21]),_0x3379dc=_0xbeb6bf(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x49a95d,0x10,_0x4c989f[0x22]),_0xd4bad7=_0xbeb6bf(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x2d8b63,0x17,_0x4c989f[0x23]),_0x4ce541=_0xbeb6bf(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x455099,0x4,_0x4c989f[0x24]),_0x53cda2=_0xbeb6bf(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x2b1781,0xb,_0x4c989f[0x25]),_0x3379dc=_0xbeb6bf(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x1334ee,0x10,_0x4c989f[0x26]),_0xd4bad7=_0xbeb6bf(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x46c006,0x17,_0x4c989f[0x27]),_0x4ce541=_0xbeb6bf(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x472d2b,0x4,_0x4c989f[0x28]),_0x53cda2=_0xbeb6bf(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x1f7e5d,0xb,_0x4c989f[0x29]),_0x3379dc=_0xbeb6bf(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x5891b7,0x10,_0x4c989f[0x2a]),_0xd4bad7=_0xbeb6bf(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0xa5fe5c,0x17,_0x4c989f[0x2b]),_0x4ce541=_0xbeb6bf(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x52e8a0,0x4,_0x4c989f[0x2c]),_0x53cda2=_0xbeb6bf(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x4c709d,0xb,_0x4c989f[0x2d]),_0x3379dc=_0xbeb6bf(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x105b73,0x10,_0x4c989f[0x2e]),_0xd4bad7=_0xbeb6bf(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x5e8fc9,0x17,_0x4c989f[0x2f]),_0x4ce541=_0x33fb01(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x1f7e5d,0x6,_0x4c989f[0x30]),_0x53cda2=_0x33fb01(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x1334ee,0xa,_0x4c989f[0x31]),_0x3379dc=_0x33fb01(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x2d8b63,0xf,_0x4c989f[0x32]),_0xd4bad7=_0x33fb01(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x2662c6,0x15,_0x4c989f[0x33]),_0x4ce541=_0x33fb01(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x4c709d,0x6,_0x4c989f[0x34]),_0x53cda2=_0x33fb01(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x5891b7,0xa,_0x4c989f[0x35]),_0x3379dc=_0x33fb01(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x46c006,0xf,_0x4c989f[0x36]),_0xd4bad7=_0x33fb01(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x455099,0x15,_0x4c989f[0x37]),_0x4ce541=_0x33fb01(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x34c680,0x6,_0x4c989f[0x38]),_0x53cda2=_0x33fb01(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x105b73,0xa,_0x4c989f[0x39]),_0x3379dc=_0x33fb01(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0xa5fe5c,0xf,_0x4c989f[0x3a]),_0xd4bad7=_0x33fb01(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x472d2b,0x15,_0x4c989f[0x3b]),_0x4ce541=_0x33fb01(_0x4ce541,_0xd4bad7,_0x3379dc,_0x53cda2,_0x2b1781,0x6,_0x4c989f[0x3c]),_0x53cda2=_0x33fb01(_0x53cda2,_0x4ce541,_0xd4bad7,_0x3379dc,_0x49a95d,0xa,_0x4c989f[0x3d]),_0x3379dc=_0x33fb01(_0x3379dc,_0x53cda2,_0x4ce541,_0xd4bad7,_0x5e8fc9,0xf,_0x4c989f[0x3e]),_0xd4bad7=_0x33fb01(_0xd4bad7,_0x3379dc,_0x53cda2,_0x4ce541,_0x52e8a0,0x15,_0x4c989f[0x3f]),_0x3ff5d0[0x0]=_0x3ff5d0[0x0]+_0x4ce541|0x0,_0x3ff5d0[0x1]=_0x3ff5d0[0x1]+_0xd4bad7|0x0,_0x3ff5d0[0x2]=_0x3ff5d0[0x2]+_0x3379dc|0x0,_0x3ff5d0[0x3]=_0x3ff5d0[0x3]+_0x53cda2|0x0;},'_doFinalize':function(){var _0x128add=_0x500848,_0x385848=this[_0x128add(0x432)],_0x1bcf03=_0x385848['words'],_0x1785ff=this[_0x128add(0x37c)]*0x8,_0x2ccd05=_0x385848['sigBytes']*0x8;_0x1bcf03[_0x2ccd05>>>0x5]|=0x80<<0x18-_0x2ccd05%0x20;var _0xb92ffc=_0x4ae9ca['floor'](_0x1785ff/0x100000000),_0x118329=_0x1785ff;_0x1bcf03[(_0x2ccd05+0x40>>>0x9<<0x4)+0xf]=(_0xb92ffc<<0x8|_0xb92ffc>>>0x18)&0xff00ff|(_0xb92ffc<<0x18|_0xb92ffc>>>0x8)&0xff00ff00,_0x1bcf03[(_0x2ccd05+0x40>>>0x9<<0x4)+0xe]=(_0x118329<<0x8|_0x118329>>>0x18)&0xff00ff|(_0x118329<<0x18|_0x118329>>>0x8)&0xff00ff00,_0x385848[_0x128add(0x281)]=(_0x1bcf03['length']+0x1)*0x4,this[_0x128add(0x1f1)]();for(var _0x274e5a=this[_0x128add(0x2fd)],_0x3a49cf=_0x274e5a[_0x128add(0x2a2)],_0x1aa1aa=0x0;_0x1aa1aa<0x4;_0x1aa1aa++){var _0x37725b=_0x3a49cf[_0x1aa1aa];_0x3a49cf[_0x1aa1aa]=(_0x37725b<<0x8|_0x37725b>>>0x18)&0xff00ff|(_0x37725b<<0x18|_0x37725b>>>0x8)&0xff00ff00;}return _0x274e5a;},'clone':function(){var _0x328ec2=_0x500848,_0x254fad=_0x5633a4[_0x328ec2(0x30f)][_0x328ec2(0x310)](this);return _0x254fad[_0x328ec2(0x2fd)]=this['_hash']['clone'](),_0x254fad;}});function _0x5b3334(_0x1e1d5a,_0x2ce9c8,_0x5ca75b,_0x17a947,_0x563a00,_0x2087ff,_0x448ae6){var _0x30258c=_0x1e1d5a+(_0x2ce9c8&_0x5ca75b|~_0x2ce9c8&_0x17a947)+_0x563a00+_0x448ae6;return(_0x30258c<<_0x2087ff|_0x30258c>>>0x20-_0x2087ff)+_0x2ce9c8;}function _0x6b88e0(_0x2efd51,_0x323cc8,_0x1cf9ec,_0x1a7711,_0x5a7614,_0x3cdd3a,_0x541f49){var _0x476923=_0x2efd51+(_0x323cc8&_0x1a7711|_0x1cf9ec&~_0x1a7711)+_0x5a7614+_0x541f49;return(_0x476923<<_0x3cdd3a|_0x476923>>>0x20-_0x3cdd3a)+_0x323cc8;}function _0xbeb6bf(_0x18b86e,_0x12be84,_0x42cc11,_0x1d5db8,_0x1b7c22,_0x4bfb49,_0x11f331){var _0x1c60c8=_0x18b86e+(_0x12be84^_0x42cc11^_0x1d5db8)+_0x1b7c22+_0x11f331;return(_0x1c60c8<<_0x4bfb49|_0x1c60c8>>>0x20-_0x4bfb49)+_0x12be84;}function _0x33fb01(_0x128ddd,_0x1ceb40,_0x5a08fe,_0x4d2619,_0x3ea8d8,_0x5fd4be,_0x203d8c){var _0x85a0e3=_0x128ddd+(_0x5a08fe^(_0x1ceb40|~_0x4d2619))+_0x3ea8d8+_0x203d8c;return(_0x85a0e3<<_0x5fd4be|_0x85a0e3>>>0x20-_0x5fd4be)+_0x1ceb40;}_0x449e77['MD5']=_0x5633a4[_0x500848(0x398)](_0x1a106f),_0x449e77[_0x500848(0x2ad)]=_0x5633a4[_0x500848(0x2ee)](_0x1a106f);}(Math),_0x50cb0f[_0x3f779f(0x268)];}));}(We)),We[_0x5a4e0d(0x383)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x1e1a91(0x383)],Xt;function mn(){var _0x9128d9=_0x1e1a91;return Xt||(Xt=0x1,function(_0x1492ce,_0xf515a9){(function(_0x2995f5,_0x1e9d11){var _0x29e4ef=_0x1283;_0x1492ce[_0x29e4ef(0x383)]=_0x1e9d11(te());}(pn,function(_0xd58f5d){var _0x46d413=_0x1283;return(function(){var _0x48fd7e=_0x1283,_0x130bc4=_0xd58f5d,_0xf54354=_0x130bc4[_0x48fd7e(0x31b)],_0xace91c=_0xf54354['WordArray'],_0x53c149=_0xf54354['Hasher'],_0x224b81=_0x130bc4['algo'],_0x1b32d7=[],_0x3aa6ac=_0x224b81['SHA1']=_0x53c149[_0x48fd7e(0x288)]({'_doReset':function(){var _0xdbca8f=_0x48fd7e;this[_0xdbca8f(0x2fd)]=new _0xace91c[(_0xdbca8f(0x44e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x697bb,_0x20fbb){for(var _0x1448a4=this['_hash']['words'],_0x3d140f=_0x1448a4[0x0],_0x133ec1=_0x1448a4[0x1],_0x16a3ef=_0x1448a4[0x2],_0x91e587=_0x1448a4[0x3],_0x42bad1=_0x1448a4[0x4],_0x513227=0x0;_0x513227<0x50;_0x513227++){if(_0x513227<0x10)_0x1b32d7[_0x513227]=_0x697bb[_0x20fbb+_0x513227]|0x0;else{var _0x1e5d8a=_0x1b32d7[_0x513227-0x3]^_0x1b32d7[_0x513227-0x8]^_0x1b32d7[_0x513227-0xe]^_0x1b32d7[_0x513227-0x10];_0x1b32d7[_0x513227]=_0x1e5d8a<<0x1|_0x1e5d8a>>>0x1f;}var _0x5c60cd=(_0x3d140f<<0x5|_0x3d140f>>>0x1b)+_0x42bad1+_0x1b32d7[_0x513227];_0x513227<0x14?_0x5c60cd+=(_0x133ec1&_0x16a3ef|~_0x133ec1&_0x91e587)+0x5a827999:_0x513227<0x28?_0x5c60cd+=(_0x133ec1^_0x16a3ef^_0x91e587)+0x6ed9eba1:_0x513227<0x3c?_0x5c60cd+=(_0x133ec1&_0x16a3ef|_0x133ec1&_0x91e587|_0x16a3ef&_0x91e587)-0x70e44324:_0x5c60cd+=(_0x133ec1^_0x16a3ef^_0x91e587)-0x359d3e2a,_0x42bad1=_0x91e587,_0x91e587=_0x16a3ef,_0x16a3ef=_0x133ec1<<0x1e|_0x133ec1>>>0x2,_0x133ec1=_0x3d140f,_0x3d140f=_0x5c60cd;}_0x1448a4[0x0]=_0x1448a4[0x0]+_0x3d140f|0x0,_0x1448a4[0x1]=_0x1448a4[0x1]+_0x133ec1|0x0,_0x1448a4[0x2]=_0x1448a4[0x2]+_0x16a3ef|0x0,_0x1448a4[0x3]=_0x1448a4[0x3]+_0x91e587|0x0,_0x1448a4[0x4]=_0x1448a4[0x4]+_0x42bad1|0x0;},'_doFinalize':function(){var _0x302731=_0x48fd7e,_0x4244f6=this['_data'],_0x48ccb9=_0x4244f6[_0x302731(0x2a2)],_0x1fd501=this[_0x302731(0x37c)]*0x8,_0x59f936=_0x4244f6[_0x302731(0x281)]*0x8;return _0x48ccb9[_0x59f936>>>0x5]|=0x80<<0x18-_0x59f936%0x20,_0x48ccb9[(_0x59f936+0x40>>>0x9<<0x4)+0xe]=Math[_0x302731(0x342)](_0x1fd501/0x100000000),_0x48ccb9[(_0x59f936+0x40>>>0x9<<0x4)+0xf]=_0x1fd501,_0x4244f6[_0x302731(0x281)]=_0x48ccb9[_0x302731(0x1ec)]*0x4,this[_0x302731(0x1f1)](),this[_0x302731(0x2fd)];},'clone':function(){var _0x1e8afc=_0x48fd7e,_0x49db2a=_0x53c149['clone'][_0x1e8afc(0x310)](this);return _0x49db2a[_0x1e8afc(0x2fd)]=this['_hash']['clone'](),_0x49db2a;}});_0x130bc4[_0x48fd7e(0x31e)]=_0x53c149[_0x48fd7e(0x398)](_0x3aa6ac),_0x130bc4[_0x48fd7e(0x490)]=_0x53c149['_createHmacHelper'](_0x3aa6ac);}()),_0xd58f5d[_0x46d413(0x31e)];}));}(qe)),qe[_0x9128d9(0x383)];}var ze={'exports':{}},gn=ze[_0x1e1a91(0x383)],Zt;function Sn(){var _0x47ee1d=_0x1e1a91;return Zt||(Zt=0x1,function(_0x34a92b,_0x1f73ef){(function(_0x264101,_0x4e8752){var _0x336d87=_0x1283;_0x34a92b[_0x336d87(0x383)]=_0x4e8752(te());}(gn,function(_0x274f81){(function(){var _0x2ba0ba=_0x1283,_0x1bc608=_0x274f81,_0x105269=_0x1bc608['lib'],_0xc318d6=_0x105269['Base'],_0x429574=_0x1bc608[_0x2ba0ba(0x37d)],_0x409792=_0x429574['Utf8'],_0x1cc38e=_0x1bc608[_0x2ba0ba(0x261)];_0x1cc38e['HMAC']=_0xc318d6[_0x2ba0ba(0x288)]({'init':function(_0x36b65b,_0x1f374a){var _0x3d8db4=_0x2ba0ba;_0x36b65b=this[_0x3d8db4(0x1d5)]=new _0x36b65b[(_0x3d8db4(0x44e))](),typeof _0x1f374a==_0x3d8db4(0x1d8)&&(_0x1f374a=_0x409792[_0x3d8db4(0x264)](_0x1f374a));var _0x5b3c39=_0x36b65b['blockSize'],_0xfcd909=_0x5b3c39*0x4;_0x1f374a[_0x3d8db4(0x281)]>_0xfcd909&&(_0x1f374a=_0x36b65b[_0x3d8db4(0x2a5)](_0x1f374a)),_0x1f374a[_0x3d8db4(0x428)]();for(var _0x1c5dfe=this['_oKey']=_0x1f374a['clone'](),_0x5f59ff=this[_0x3d8db4(0x458)]=_0x1f374a[_0x3d8db4(0x30f)](),_0x1c69a4=_0x1c5dfe[_0x3d8db4(0x2a2)],_0x283890=_0x5f59ff[_0x3d8db4(0x2a2)],_0xb4f2a9=0x0;_0xb4f2a9<_0x5b3c39;_0xb4f2a9++)_0x1c69a4[_0xb4f2a9]^=0x5c5c5c5c,_0x283890[_0xb4f2a9]^=0x36363636;_0x1c5dfe[_0x3d8db4(0x281)]=_0x5f59ff[_0x3d8db4(0x281)]=_0xfcd909,this[_0x3d8db4(0x275)]();},'reset':function(){var _0x47235d=_0x2ba0ba,_0x4ba4be=this[_0x47235d(0x1d5)];_0x4ba4be[_0x47235d(0x275)](),_0x4ba4be['update'](this['_iKey']);},'update':function(_0x5af6b4){var _0x438082=_0x2ba0ba;return this[_0x438082(0x1d5)][_0x438082(0x350)](_0x5af6b4),this;},'finalize':function(_0x4b2b36){var _0x4bac66=_0x2ba0ba,_0x10551d=this[_0x4bac66(0x1d5)],_0x216c9d=_0x10551d['finalize'](_0x4b2b36);_0x10551d['reset']();var _0xb64cd2=_0x10551d[_0x4bac66(0x2a5)](this['_oKey'][_0x4bac66(0x30f)]()[_0x4bac66(0x389)](_0x216c9d));return _0xb64cd2;}});}());}));}(ze)),ze[_0x47ee1d(0x383)];}var En=Ke[_0x1e1a91(0x383)],Qt;function yi(){var _0x5e81d8=_0x1e1a91;return Qt||(Qt=0x1,function(_0x1add40,_0x2eebcf){(function(_0x393aa1,_0xee6857,_0x4af3e6){var _0x5951e8=_0x1283;_0x1add40[_0x5951e8(0x383)]=_0xee6857(te(),mn(),Sn());}(En,function(_0x4de624){var _0x4c537d=_0x1283;return(function(){var _0xa32754=_0x1283,_0x12ca25=_0x4de624,_0xc64e01=_0x12ca25['lib'],_0x3bb3e7=_0xc64e01[_0xa32754(0x3f3)],_0x4d54b6=_0xc64e01['WordArray'],_0x4f82a6=_0x12ca25['algo'],_0x3e2e35=_0x4f82a6[_0xa32754(0x268)],_0x23476d=_0x4f82a6['EvpKDF']=_0x3bb3e7[_0xa32754(0x288)]({'cfg':_0x3bb3e7[_0xa32754(0x288)]({'keySize':0x80/0x20,'hasher':_0x3e2e35,'iterations':0x1}),'init':function(_0x39145d){var _0x47cc62=_0xa32754;this[_0x47cc62(0x475)]=this['cfg'][_0x47cc62(0x288)](_0x39145d);},'compute':function(_0x1c620a,_0x29ceb7){var _0x21eeed=_0xa32754;for(var _0x12bc2f,_0x1cff37=this['cfg'],_0x4d0121=_0x1cff37['hasher'][_0x21eeed(0x3bf)](),_0x5a1b7b=_0x4d54b6[_0x21eeed(0x3bf)](),_0x34d9bf=_0x5a1b7b['words'],_0x325a95=_0x1cff37[_0x21eeed(0x3c8)],_0x192c13=_0x1cff37[_0x21eeed(0x277)];_0x34d9bf[_0x21eeed(0x1ec)]<_0x325a95;){_0x12bc2f&&_0x4d0121[_0x21eeed(0x350)](_0x12bc2f),_0x12bc2f=_0x4d0121['update'](_0x1c620a)[_0x21eeed(0x2a5)](_0x29ceb7),_0x4d0121[_0x21eeed(0x275)]();for(var _0x24eb8e=0x1;_0x24eb8e<_0x192c13;_0x24eb8e++)_0x12bc2f=_0x4d0121[_0x21eeed(0x2a5)](_0x12bc2f),_0x4d0121[_0x21eeed(0x275)]();_0x5a1b7b[_0x21eeed(0x389)](_0x12bc2f);}return _0x5a1b7b[_0x21eeed(0x281)]=_0x325a95*0x4,_0x5a1b7b;}});_0x12ca25[_0xa32754(0x31d)]=function(_0x1b04c3,_0xab41fa,_0x1d7c35){var _0x4cd1e7=_0xa32754;return _0x23476d['create'](_0x1d7c35)[_0x4cd1e7(0x3e5)](_0x1b04c3,_0xab41fa);};}()),_0x4de624[_0x4c537d(0x31d)];}));}(Ke)),Ke[_0x5e81d8(0x383)];}var Je={'exports':{}},In=Je[_0x1e1a91(0x383)],ei;function Ni(){var _0x136390=_0x1e1a91;return ei||(ei=0x1,function(_0x3e6b2d,_0x55d299){(function(_0x22d2a3,_0x511a51,_0x1d5bc2){var _0x29f9e7=_0x1283;_0x3e6b2d[_0x29f9e7(0x383)]=_0x511a51(te(),yi());}(In,function(_0x150fce){_0x150fce['lib']['Cipher']||function(_0x3c6c21){var _0x4497d9=_0x1283,_0x257be3=_0x150fce,_0xaa2aba=_0x257be3[_0x4497d9(0x31b)],_0x2426a1=_0xaa2aba[_0x4497d9(0x3f3)],_0x75d95=_0xaa2aba[_0x4497d9(0x48d)],_0x506990=_0xaa2aba[_0x4497d9(0x2a7)],_0x39ac16=_0x257be3[_0x4497d9(0x37d)];_0x39ac16[_0x4497d9(0x23b)];var _0x43aebe=_0x39ac16[_0x4497d9(0x2d4)],_0x339351=_0x257be3[_0x4497d9(0x261)],_0x49f5b1=_0x339351[_0x4497d9(0x31d)],_0x64133d=_0xaa2aba[_0x4497d9(0x49d)]=_0x506990[_0x4497d9(0x288)]({'cfg':_0x2426a1['extend'](),'createEncryptor':function(_0x4cb0b9,_0x31e0aa){var _0x3ab5e3=_0x4497d9;return this[_0x3ab5e3(0x3bf)](this[_0x3ab5e3(0x364)],_0x4cb0b9,_0x31e0aa);},'createDecryptor':function(_0xd11d4f,_0x21eb8e){var _0x3fb5fd=_0x4497d9;return this[_0x3fb5fd(0x3bf)](this[_0x3fb5fd(0x286)],_0xd11d4f,_0x21eb8e);},'init':function(_0x31c36a,_0x18dfcd,_0x5f1553){var _0x474385=_0x4497d9;this[_0x474385(0x475)]=this['cfg'][_0x474385(0x288)](_0x5f1553),this['_xformMode']=_0x31c36a,this[_0x474385(0x357)]=_0x18dfcd,this[_0x474385(0x275)]();},'reset':function(){var _0x52d5af=_0x4497d9;_0x506990[_0x52d5af(0x275)][_0x52d5af(0x310)](this),this['_doReset']();},'process':function(_0x1bcf50){var _0x295c57=_0x4497d9;return this['_append'](_0x1bcf50),this[_0x295c57(0x1f1)]();},'finalize':function(_0x510c4f){var _0x2b5344=_0x4497d9;_0x510c4f&&this[_0x2b5344(0x413)](_0x510c4f);var _0x71b151=this[_0x2b5344(0x232)]();return _0x71b151;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2be02f(_0x427027){var _0x38eff1=_0x1283;return typeof _0x427027==_0x38eff1(0x1d8)?_0x4af4ab:_0x5dee11;}return function(_0x112b9d){return{'encrypt':function(_0x2a5562,_0x168dc2,_0x1b6418){return _0x2be02f(_0x168dc2)['encrypt'](_0x112b9d,_0x2a5562,_0x168dc2,_0x1b6418);},'decrypt':function(_0x39d0e5,_0x9c066b,_0xe6dcbe){var _0xcea8d8=_0x1283;return _0x2be02f(_0x9c066b)[_0xcea8d8(0x369)](_0x112b9d,_0x39d0e5,_0x9c066b,_0xe6dcbe);}};};}())});_0xaa2aba[_0x4497d9(0x2c5)]=_0x64133d[_0x4497d9(0x288)]({'_doFinalize':function(){var _0x2ddea6=_0x4497d9,_0xc916f0=this[_0x2ddea6(0x1f1)](!0x0);return _0xc916f0;},'blockSize':0x1});var _0x3f2f09=_0x257be3[_0x4497d9(0x266)]={},_0x2f940b=_0xaa2aba[_0x4497d9(0x430)]=_0x2426a1[_0x4497d9(0x288)]({'createEncryptor':function(_0x1bff86,_0xbf6058){var _0x403a4e=_0x4497d9;return this[_0x403a4e(0x298)]['create'](_0x1bff86,_0xbf6058);},'createDecryptor':function(_0x2aacff,_0x194842){var _0x8b5001=_0x4497d9;return this['Decryptor'][_0x8b5001(0x3bf)](_0x2aacff,_0x194842);},'init':function(_0x7a9ccc,_0x16e3ee){var _0x9847af=_0x4497d9;this[_0x9847af(0x331)]=_0x7a9ccc,this[_0x9847af(0x3be)]=_0x16e3ee;}}),_0x5beb71=_0x3f2f09['CBC']=(function(){var _0x38e8b2=_0x4497d9,_0x271759=_0x2f940b[_0x38e8b2(0x288)]();_0x271759[_0x38e8b2(0x298)]=_0x271759[_0x38e8b2(0x288)]({'processBlock':function(_0x2ac41a,_0x191b80){var _0x122381=_0x38e8b2,_0x28bd9b=this['_cipher'],_0x21d84b=_0x28bd9b[_0x122381(0x37e)];_0x5ee45f['call'](this,_0x2ac41a,_0x191b80,_0x21d84b),_0x28bd9b['encryptBlock'](_0x2ac41a,_0x191b80),this['_prevBlock']=_0x2ac41a[_0x122381(0x431)](_0x191b80,_0x191b80+_0x21d84b);}}),_0x271759[_0x38e8b2(0x35c)]=_0x271759[_0x38e8b2(0x288)]({'processBlock':function(_0x12d5c7,_0x3ca9fd){var _0x1f2123=_0x38e8b2,_0x2a8db2=this[_0x1f2123(0x331)],_0x41ce22=_0x2a8db2['blockSize'],_0x52cb8f=_0x12d5c7['slice'](_0x3ca9fd,_0x3ca9fd+_0x41ce22);_0x2a8db2[_0x1f2123(0x395)](_0x12d5c7,_0x3ca9fd),_0x5ee45f['call'](this,_0x12d5c7,_0x3ca9fd,_0x41ce22),this[_0x1f2123(0x3aa)]=_0x52cb8f;}});function _0x5ee45f(_0x1c497a,_0x3f0b5b,_0x289a02){var _0x40c068=_0x38e8b2,_0x289849,_0x14cc34=this[_0x40c068(0x3be)];_0x14cc34?(_0x289849=_0x14cc34,this[_0x40c068(0x3be)]=_0x3c6c21):_0x289849=this[_0x40c068(0x3aa)];for(var _0x35e101=0x0;_0x35e101<_0x289a02;_0x35e101++)_0x1c497a[_0x3f0b5b+_0x35e101]^=_0x289849[_0x35e101];}return _0x271759;}()),_0x45693b=_0x257be3[_0x4497d9(0x2f2)]={},_0x336897=_0x45693b[_0x4497d9(0x274)]={'pad':function(_0x16c110,_0xe7e400){var _0x5a58ad=_0x4497d9;for(var _0xfad431=_0xe7e400*0x4,_0x95ab73=_0xfad431-_0x16c110[_0x5a58ad(0x281)]%_0xfad431,_0x8c9b32=_0x95ab73<<0x18|_0x95ab73<<0x10|_0x95ab73<<0x8|_0x95ab73,_0x1c7530=[],_0x287554=0x0;_0x287554<_0x95ab73;_0x287554+=0x4)_0x1c7530[_0x5a58ad(0x3b3)](_0x8c9b32);var _0x15d197=_0x75d95[_0x5a58ad(0x3bf)](_0x1c7530,_0x95ab73);_0x16c110[_0x5a58ad(0x389)](_0x15d197);},'unpad':function(_0x13026f){var _0x290f2c=_0x4497d9,_0x5e3bc2=_0x13026f[_0x290f2c(0x2a2)][_0x13026f[_0x290f2c(0x281)]-0x1>>>0x2]&0xff;_0x13026f['sigBytes']-=_0x5e3bc2;}};_0xaa2aba[_0x4497d9(0x2f7)]=_0x64133d[_0x4497d9(0x288)]({'cfg':_0x64133d[_0x4497d9(0x475)]['extend']({'mode':_0x5beb71,'padding':_0x336897}),'reset':function(){var _0x5d8ec7=_0x4497d9,_0x524c71;_0x64133d[_0x5d8ec7(0x275)]['call'](this);var _0x31f3af=this[_0x5d8ec7(0x475)],_0x3c86a5=_0x31f3af['iv'],_0x97d27f=_0x31f3af['mode'];this[_0x5d8ec7(0x41f)]==this['_ENC_XFORM_MODE']?_0x524c71=_0x97d27f[_0x5d8ec7(0x373)]:(_0x524c71=_0x97d27f['createDecryptor'],this[_0x5d8ec7(0x209)]=0x1),this[_0x5d8ec7(0x459)]&&this[_0x5d8ec7(0x459)]['__creator']==_0x524c71?this['_mode'][_0x5d8ec7(0x44e)](this,_0x3c86a5&&_0x3c86a5[_0x5d8ec7(0x2a2)]):(this[_0x5d8ec7(0x459)]=_0x524c71[_0x5d8ec7(0x310)](_0x97d27f,this,_0x3c86a5&&_0x3c86a5[_0x5d8ec7(0x2a2)]),this['_mode'][_0x5d8ec7(0x205)]=_0x524c71);},'_doProcessBlock':function(_0x2c85dc,_0x48ea87){var _0x561463=_0x4497d9;this[_0x561463(0x459)]['processBlock'](_0x2c85dc,_0x48ea87);},'_doFinalize':function(){var _0x6228d=_0x4497d9,_0x71a137,_0x48511d=this['cfg'][_0x6228d(0x1df)];return this[_0x6228d(0x41f)]==this[_0x6228d(0x364)]?(_0x48511d[_0x6228d(0x2f2)](this[_0x6228d(0x432)],this[_0x6228d(0x37e)]),_0x71a137=this[_0x6228d(0x1f1)](!0x0)):(_0x71a137=this['_process'](!0x0),_0x48511d['unpad'](_0x71a137)),_0x71a137;},'blockSize':0x80/0x20});var _0x2be073=_0xaa2aba[_0x4497d9(0x26d)]=_0x2426a1['extend']({'init':function(_0x3fac70){this['mixIn'](_0x3fac70);},'toString':function(_0x87abe9){var _0x3d0bb2=_0x4497d9;return(_0x87abe9||this[_0x3d0bb2(0x2b2)])[_0x3d0bb2(0x39f)](this);}}),_0x47ca7a=_0x257be3[_0x4497d9(0x439)]={},_0x29f0f1=_0x47ca7a[_0x4497d9(0x2f5)]={'stringify':function(_0x120508){var _0x350cdb=_0x4497d9,_0x55420e,_0x39aedb=_0x120508[_0x350cdb(0x26c)],_0x3741b9=_0x120508['salt'];return _0x3741b9?_0x55420e=_0x75d95[_0x350cdb(0x3bf)]([0x53616c74,0x65645f5f])[_0x350cdb(0x389)](_0x3741b9)[_0x350cdb(0x389)](_0x39aedb):_0x55420e=_0x39aedb,_0x55420e['toString'](_0x43aebe);},'parse':function(_0xa089d2){var _0x47c66e=_0x4497d9,_0x183110,_0x551620=_0x43aebe[_0x47c66e(0x264)](_0xa089d2),_0x2032b2=_0x551620[_0x47c66e(0x2a2)];return _0x2032b2[0x0]==0x53616c74&&_0x2032b2[0x1]==0x65645f5f&&(_0x183110=_0x75d95[_0x47c66e(0x3bf)](_0x2032b2[_0x47c66e(0x431)](0x2,0x4)),_0x2032b2[_0x47c66e(0x2b4)](0x0,0x4),_0x551620[_0x47c66e(0x281)]-=0x10),_0x2be073[_0x47c66e(0x3bf)]({'ciphertext':_0x551620,'salt':_0x183110});}},_0x5dee11=_0xaa2aba['SerializableCipher']=_0x2426a1[_0x4497d9(0x288)]({'cfg':_0x2426a1['extend']({'format':_0x29f0f1}),'encrypt':function(_0x4df2f9,_0x3a28d4,_0x15ad85,_0xc85bfb){var _0x51fe7d=_0x4497d9;_0xc85bfb=this[_0x51fe7d(0x475)][_0x51fe7d(0x288)](_0xc85bfb);var _0x38c6c4=_0x4df2f9[_0x51fe7d(0x373)](_0x15ad85,_0xc85bfb),_0x1ec442=_0x38c6c4[_0x51fe7d(0x2a5)](_0x3a28d4),_0x95d4a0=_0x38c6c4[_0x51fe7d(0x475)];return _0x2be073['create']({'ciphertext':_0x1ec442,'key':_0x15ad85,'iv':_0x95d4a0['iv'],'algorithm':_0x4df2f9,'mode':_0x95d4a0['mode'],'padding':_0x95d4a0[_0x51fe7d(0x1df)],'blockSize':_0x4df2f9[_0x51fe7d(0x37e)],'formatter':_0xc85bfb[_0x51fe7d(0x439)]});},'decrypt':function(_0x205a0f,_0x2a34cb,_0x41ec08,_0xc308e6){var _0x1b693a=_0x4497d9;_0xc308e6=this['cfg'][_0x1b693a(0x288)](_0xc308e6),_0x2a34cb=this[_0x1b693a(0x34a)](_0x2a34cb,_0xc308e6[_0x1b693a(0x439)]);var _0x2514a4=_0x205a0f['createDecryptor'](_0x41ec08,_0xc308e6)[_0x1b693a(0x2a5)](_0x2a34cb[_0x1b693a(0x26c)]);return _0x2514a4;},'_parse':function(_0x3f5984,_0x31cd7f){var _0x299157=_0x4497d9;return typeof _0x3f5984=='string'?_0x31cd7f[_0x299157(0x264)](_0x3f5984,this):_0x3f5984;}}),_0x2d7861=_0x257be3[_0x4497d9(0x28c)]={},_0x4e409b=_0x2d7861['OpenSSL']={'execute':function(_0x435617,_0x3951fe,_0x260004,_0x5d9fa6,_0x1e21a6){var _0x20d8c1=_0x4497d9;if(_0x5d9fa6||(_0x5d9fa6=_0x75d95['random'](0x40/0x8)),_0x1e21a6)var _0x2a0f2d=_0x49f5b1['create']({'keySize':_0x3951fe+_0x260004,'hasher':_0x1e21a6})[_0x20d8c1(0x3e5)](_0x435617,_0x5d9fa6);else var _0x2a0f2d=_0x49f5b1[_0x20d8c1(0x3bf)]({'keySize':_0x3951fe+_0x260004})['compute'](_0x435617,_0x5d9fa6);var _0x3e5f49=_0x75d95[_0x20d8c1(0x3bf)](_0x2a0f2d[_0x20d8c1(0x2a2)][_0x20d8c1(0x431)](_0x3951fe),_0x260004*0x4);return _0x2a0f2d['sigBytes']=_0x3951fe*0x4,_0x2be073[_0x20d8c1(0x3bf)]({'key':_0x2a0f2d,'iv':_0x3e5f49,'salt':_0x5d9fa6});}},_0x4af4ab=_0xaa2aba['PasswordBasedCipher']=_0x5dee11[_0x4497d9(0x288)]({'cfg':_0x5dee11[_0x4497d9(0x475)]['extend']({'kdf':_0x4e409b}),'encrypt':function(_0x573611,_0x1ce490,_0x472aed,_0x4055cc){var _0x4de924=_0x4497d9;_0x4055cc=this[_0x4de924(0x475)][_0x4de924(0x288)](_0x4055cc);var _0x2eb1bc=_0x4055cc['kdf'][_0x4de924(0x365)](_0x472aed,_0x573611[_0x4de924(0x3c8)],_0x573611[_0x4de924(0x48c)],_0x4055cc[_0x4de924(0x218)],_0x4055cc[_0x4de924(0x460)]);_0x4055cc['iv']=_0x2eb1bc['iv'];var _0xbe5d38=_0x5dee11[_0x4de924(0x226)][_0x4de924(0x310)](this,_0x573611,_0x1ce490,_0x2eb1bc[_0x4de924(0x1cd)],_0x4055cc);return _0xbe5d38['mixIn'](_0x2eb1bc),_0xbe5d38;},'decrypt':function(_0xda48d2,_0x178964,_0x4d304b,_0x2707cf){var _0xb4d727=_0x4497d9;_0x2707cf=this['cfg'][_0xb4d727(0x288)](_0x2707cf),_0x178964=this[_0xb4d727(0x34a)](_0x178964,_0x2707cf['format']);var _0x7a7af3=_0x2707cf[_0xb4d727(0x28c)][_0xb4d727(0x365)](_0x4d304b,_0xda48d2[_0xb4d727(0x3c8)],_0xda48d2[_0xb4d727(0x48c)],_0x178964['salt'],_0x2707cf['hasher']);_0x2707cf['iv']=_0x7a7af3['iv'];var _0x5a5f65=_0x5dee11[_0xb4d727(0x369)][_0xb4d727(0x310)](this,_0xda48d2,_0x178964,_0x7a7af3[_0xb4d727(0x1cd)],_0x2707cf);return _0x5a5f65;}});}();}));}(Je)),Je[_0x136390(0x383)];}var Tn=Ve['exports'],ti;function Cn(){var _0x3c85a9=_0x1e1a91;return ti||(ti=0x1,function(_0x2e7694,_0x1aefb0){(function(_0x142c69,_0x10ff6d,_0x406f9f){var _0x34c331=_0x1283;_0x2e7694[_0x34c331(0x383)]=_0x10ff6d(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x415ad5){var _0x4e222a=_0x1283;return(function(){var _0x4aaf75=_0x1283,_0x1fa0bc=_0x415ad5,_0x5b8875=_0x1fa0bc['lib'],_0x305aae=_0x5b8875[_0x4aaf75(0x2f7)],_0x503fa7=_0x1fa0bc['algo'],_0x1f0a0a=[],_0x571829=[],_0x27864c=[],_0x4d5f4c=[],_0x3f9f14=[],_0x186085=[],_0x3476c7=[],_0x411b5e=[],_0x5ad9e3=[],_0x7d4d51=[];(function(){for(var _0x50f8ec=[],_0x4206a2=0x0;_0x4206a2<0x100;_0x4206a2++)_0x4206a2<0x80?_0x50f8ec[_0x4206a2]=_0x4206a2<<0x1:_0x50f8ec[_0x4206a2]=_0x4206a2<<0x1^0x11b;for(var _0x1fb4c9=0x0,_0x162b46=0x0,_0x4206a2=0x0;_0x4206a2<0x100;_0x4206a2++){var _0x56ec3b=_0x162b46^_0x162b46<<0x1^_0x162b46<<0x2^_0x162b46<<0x3^_0x162b46<<0x4;_0x56ec3b=_0x56ec3b>>>0x8^_0x56ec3b&0xff^0x63,_0x1f0a0a[_0x1fb4c9]=_0x56ec3b,_0x571829[_0x56ec3b]=_0x1fb4c9;var _0x20852d=_0x50f8ec[_0x1fb4c9],_0x3f47fc=_0x50f8ec[_0x20852d],_0x134069=_0x50f8ec[_0x3f47fc],_0x5953c7=_0x50f8ec[_0x56ec3b]*0x101^_0x56ec3b*0x1010100;_0x27864c[_0x1fb4c9]=_0x5953c7<<0x18|_0x5953c7>>>0x8,_0x4d5f4c[_0x1fb4c9]=_0x5953c7<<0x10|_0x5953c7>>>0x10,_0x3f9f14[_0x1fb4c9]=_0x5953c7<<0x8|_0x5953c7>>>0x18,_0x186085[_0x1fb4c9]=_0x5953c7;var _0x5953c7=_0x134069*0x1010101^_0x3f47fc*0x10001^_0x20852d*0x101^_0x1fb4c9*0x1010100;_0x3476c7[_0x56ec3b]=_0x5953c7<<0x18|_0x5953c7>>>0x8,_0x411b5e[_0x56ec3b]=_0x5953c7<<0x10|_0x5953c7>>>0x10,_0x5ad9e3[_0x56ec3b]=_0x5953c7<<0x8|_0x5953c7>>>0x18,_0x7d4d51[_0x56ec3b]=_0x5953c7,_0x1fb4c9?(_0x1fb4c9=_0x20852d^_0x50f8ec[_0x50f8ec[_0x50f8ec[_0x134069^_0x20852d]]],_0x162b46^=_0x50f8ec[_0x50f8ec[_0x162b46]]):_0x1fb4c9=_0x162b46=0x1;}}());var _0x5bcfd7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1deba9=_0x503fa7[_0x4aaf75(0x1e8)]=_0x305aae['extend']({'_doReset':function(){var _0x1f8b41=_0x4aaf75,_0x1d5791;if(!(this['_nRounds']&&this[_0x1f8b41(0x3bb)]===this[_0x1f8b41(0x357)])){for(var _0x3770e1=this[_0x1f8b41(0x3bb)]=this[_0x1f8b41(0x357)],_0x5a31ac=_0x3770e1['words'],_0x4934ff=_0x3770e1['sigBytes']/0x4,_0x35780d=this[_0x1f8b41(0x2d1)]=_0x4934ff+0x6,_0xf028c0=(_0x35780d+0x1)*0x4,_0x3f420a=this[_0x1f8b41(0x391)]=[],_0xf26cd3=0x0;_0xf26cd3<_0xf028c0;_0xf26cd3++)_0xf26cd3<_0x4934ff?_0x3f420a[_0xf26cd3]=_0x5a31ac[_0xf26cd3]:(_0x1d5791=_0x3f420a[_0xf26cd3-0x1],_0xf26cd3%_0x4934ff?_0x4934ff>0x6&&_0xf26cd3%_0x4934ff==0x4&&(_0x1d5791=_0x1f0a0a[_0x1d5791>>>0x18]<<0x18|_0x1f0a0a[_0x1d5791>>>0x10&0xff]<<0x10|_0x1f0a0a[_0x1d5791>>>0x8&0xff]<<0x8|_0x1f0a0a[_0x1d5791&0xff]):(_0x1d5791=_0x1d5791<<0x8|_0x1d5791>>>0x18,_0x1d5791=_0x1f0a0a[_0x1d5791>>>0x18]<<0x18|_0x1f0a0a[_0x1d5791>>>0x10&0xff]<<0x10|_0x1f0a0a[_0x1d5791>>>0x8&0xff]<<0x8|_0x1f0a0a[_0x1d5791&0xff],_0x1d5791^=_0x5bcfd7[_0xf26cd3/_0x4934ff|0x0]<<0x18),_0x3f420a[_0xf26cd3]=_0x3f420a[_0xf26cd3-_0x4934ff]^_0x1d5791);for(var _0x2eb1c7=this[_0x1f8b41(0x368)]=[],_0x3a92ad=0x0;_0x3a92ad<_0xf028c0;_0x3a92ad++){var _0xf26cd3=_0xf028c0-_0x3a92ad;if(_0x3a92ad%0x4)var _0x1d5791=_0x3f420a[_0xf26cd3];else var _0x1d5791=_0x3f420a[_0xf26cd3-0x4];_0x3a92ad<0x4||_0xf26cd3<=0x4?_0x2eb1c7[_0x3a92ad]=_0x1d5791:_0x2eb1c7[_0x3a92ad]=_0x3476c7[_0x1f0a0a[_0x1d5791>>>0x18]]^_0x411b5e[_0x1f0a0a[_0x1d5791>>>0x10&0xff]]^_0x5ad9e3[_0x1f0a0a[_0x1d5791>>>0x8&0xff]]^_0x7d4d51[_0x1f0a0a[_0x1d5791&0xff]];}}},'encryptBlock':function(_0x38f494,_0x5bf812){var _0x44834a=_0x4aaf75;this[_0x44834a(0x35b)](_0x38f494,_0x5bf812,this['_keySchedule'],_0x27864c,_0x4d5f4c,_0x3f9f14,_0x186085,_0x1f0a0a);},'decryptBlock':function(_0x45f29c,_0x4ee855){var _0x18e4f2=_0x4aaf75,_0x2423c3=_0x45f29c[_0x4ee855+0x1];_0x45f29c[_0x4ee855+0x1]=_0x45f29c[_0x4ee855+0x3],_0x45f29c[_0x4ee855+0x3]=_0x2423c3,this[_0x18e4f2(0x35b)](_0x45f29c,_0x4ee855,this[_0x18e4f2(0x368)],_0x3476c7,_0x411b5e,_0x5ad9e3,_0x7d4d51,_0x571829);var _0x2423c3=_0x45f29c[_0x4ee855+0x1];_0x45f29c[_0x4ee855+0x1]=_0x45f29c[_0x4ee855+0x3],_0x45f29c[_0x4ee855+0x3]=_0x2423c3;},'_doCryptBlock':function(_0x166393,_0x179f4a,_0x592663,_0x1dcb77,_0x36a1e4,_0x43353c,_0x413e93,_0x380fc7){var _0x4eda45=_0x4aaf75;for(var _0x100bcc=this[_0x4eda45(0x2d1)],_0x535ffd=_0x166393[_0x179f4a]^_0x592663[0x0],_0x1173ec=_0x166393[_0x179f4a+0x1]^_0x592663[0x1],_0x210e31=_0x166393[_0x179f4a+0x2]^_0x592663[0x2],_0x12017a=_0x166393[_0x179f4a+0x3]^_0x592663[0x3],_0x155fbb=0x4,_0x5f4ae2=0x1;_0x5f4ae2<_0x100bcc;_0x5f4ae2++){var _0x69885e=_0x1dcb77[_0x535ffd>>>0x18]^_0x36a1e4[_0x1173ec>>>0x10&0xff]^_0x43353c[_0x210e31>>>0x8&0xff]^_0x413e93[_0x12017a&0xff]^_0x592663[_0x155fbb++],_0x295aef=_0x1dcb77[_0x1173ec>>>0x18]^_0x36a1e4[_0x210e31>>>0x10&0xff]^_0x43353c[_0x12017a>>>0x8&0xff]^_0x413e93[_0x535ffd&0xff]^_0x592663[_0x155fbb++],_0x36c36b=_0x1dcb77[_0x210e31>>>0x18]^_0x36a1e4[_0x12017a>>>0x10&0xff]^_0x43353c[_0x535ffd>>>0x8&0xff]^_0x413e93[_0x1173ec&0xff]^_0x592663[_0x155fbb++],_0x34c7af=_0x1dcb77[_0x12017a>>>0x18]^_0x36a1e4[_0x535ffd>>>0x10&0xff]^_0x43353c[_0x1173ec>>>0x8&0xff]^_0x413e93[_0x210e31&0xff]^_0x592663[_0x155fbb++];_0x535ffd=_0x69885e,_0x1173ec=_0x295aef,_0x210e31=_0x36c36b,_0x12017a=_0x34c7af;}var _0x69885e=(_0x380fc7[_0x535ffd>>>0x18]<<0x18|_0x380fc7[_0x1173ec>>>0x10&0xff]<<0x10|_0x380fc7[_0x210e31>>>0x8&0xff]<<0x8|_0x380fc7[_0x12017a&0xff])^_0x592663[_0x155fbb++],_0x295aef=(_0x380fc7[_0x1173ec>>>0x18]<<0x18|_0x380fc7[_0x210e31>>>0x10&0xff]<<0x10|_0x380fc7[_0x12017a>>>0x8&0xff]<<0x8|_0x380fc7[_0x535ffd&0xff])^_0x592663[_0x155fbb++],_0x36c36b=(_0x380fc7[_0x210e31>>>0x18]<<0x18|_0x380fc7[_0x12017a>>>0x10&0xff]<<0x10|_0x380fc7[_0x535ffd>>>0x8&0xff]<<0x8|_0x380fc7[_0x1173ec&0xff])^_0x592663[_0x155fbb++],_0x34c7af=(_0x380fc7[_0x12017a>>>0x18]<<0x18|_0x380fc7[_0x535ffd>>>0x10&0xff]<<0x10|_0x380fc7[_0x1173ec>>>0x8&0xff]<<0x8|_0x380fc7[_0x210e31&0xff])^_0x592663[_0x155fbb++];_0x166393[_0x179f4a]=_0x69885e,_0x166393[_0x179f4a+0x1]=_0x295aef,_0x166393[_0x179f4a+0x2]=_0x36c36b,_0x166393[_0x179f4a+0x3]=_0x34c7af;},'keySize':0x100/0x20});_0x1fa0bc[_0x4aaf75(0x1e8)]=_0x305aae[_0x4aaf75(0x398)](_0x1deba9);}()),_0x415ad5[_0x4e222a(0x1e8)];}));}(Ve)),Ve[_0x3c85a9(0x383)];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x2d6506=_0x1e1a91;return si||(si=0x1,function(_0x1603d3,_0x3c57dd){(function(_0x5d7f57,_0x395fde){var _0x5bd3b6=_0x1283;_0x1603d3[_0x5bd3b6(0x383)]=_0x395fde(te());}(yn,function(_0x420273){var _0x405076=_0x1283;return _0x420273['enc'][_0x405076(0x23b)];}));}(Xe)),Xe[_0x2d6506(0x383)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x1e1a91(0x383)],ni;function wn(){return ni||(ni=0x1,function(_0x134cd8,_0x490bb2){(function(_0x3ae116,_0x563f05){_0x134cd8['exports']=_0x563f05(te());}(An,function(_0x9aab3f){var _0x2bf6ed=_0x1283;return(function(){var _0x1fccc2=_0x1283;if(typeof ArrayBuffer==_0x1fccc2(0x1b1)){var _0x441bf0=_0x9aab3f,_0x2edb02=_0x441bf0[_0x1fccc2(0x31b)],_0x2b8465=_0x2edb02[_0x1fccc2(0x48d)],_0x527760=_0x2b8465['init'],_0xc6429e=_0x2b8465[_0x1fccc2(0x44e)]=function(_0x1ad484){var _0x45d470=_0x1fccc2;if(_0x1ad484 instanceof ArrayBuffer&&(_0x1ad484=new Uint8Array(_0x1ad484)),(_0x1ad484 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1ad484 instanceof Uint8ClampedArray||_0x1ad484 instanceof Int16Array||_0x1ad484 instanceof Uint16Array||_0x1ad484 instanceof Int32Array||_0x1ad484 instanceof Uint32Array||_0x1ad484 instanceof Float32Array||_0x1ad484 instanceof Float64Array)&&(_0x1ad484=new Uint8Array(_0x1ad484['buffer'],_0x1ad484['byteOffset'],_0x1ad484[_0x45d470(0x45f)])),_0x1ad484 instanceof Uint8Array){for(var _0x4b776d=_0x1ad484[_0x45d470(0x45f)],_0x3d7b8a=[],_0x3ab7ce=0x0;_0x3ab7ce<_0x4b776d;_0x3ab7ce++)_0x3d7b8a[_0x3ab7ce>>>0x2]|=_0x1ad484[_0x3ab7ce]<<0x18-_0x3ab7ce%0x4*0x8;_0x527760[_0x45d470(0x310)](this,_0x3d7b8a,_0x4b776d);}else _0x527760['apply'](this,arguments);};_0xc6429e[_0x1fccc2(0x337)]=_0x2b8465;}}()),_0x9aab3f[_0x2bf6ed(0x31b)][_0x2bf6ed(0x48d)];}));}(Ze)),Ze['exports'];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x1e1a91(0x383)],ri;function xn(){var _0x4a70fd=_0x1e1a91;return ri||(ri=0x1,function(_0x3d65c2,_0x1ed345){(function(_0x25b659,_0x520d95,_0x2a6f81){var _0x45296c=_0x1283;_0x3d65c2[_0x45296c(0x383)]=_0x520d95(te(),Ni());}(Mn,function(_0x368568){var _0x235ca2=_0x1283;return _0x368568['pad'][_0x235ca2(0x371)]={'pad':function(){},'unpad':function(){}},_0x368568[_0x235ca2(0x2f2)][_0x235ca2(0x371)];}));}(Qe)),Qe[_0x4a70fd(0x383)];}var kn=xn();const $n=$e(kn);function Hn(_0x385a6d,_0x394d9a){var _0x3c92e1=_0x1e1a91;const _0x4b1dca=_0x394d9a-_0x385a6d[_0x3c92e1(0x1ec)]%_0x394d9a,_0x436ef3=String[_0x3c92e1(0x418)](_0x4b1dca)[_0x3c92e1(0x212)](_0x4b1dca);return _0x385a6d+_0x436ef3;}function Bn(_0x12d551,_0x45cbd3){var _0x29d5e6=_0x1e1a91;const _0x3614f3=Ln['random'](0x10),_0x4d6392=Hn(_0x12d551,0x10),_0x50d064=On['encrypt'](Un[_0x29d5e6(0x264)](_0x4d6392),ii[_0x29d5e6(0x264)](_0x45cbd3),{'iv':_0x3614f3,'padding':$n});return _0x3614f3[_0x29d5e6(0x389)](_0x50d064[_0x29d5e6(0x26c)])[_0x29d5e6(0x3c6)](ii);}function jn(){var _0x3a8333=_0x1e1a91;const _0x102a0d=_0x3f926b()['__Key__'];if(_0x102a0d){const _0x492317={'time':Math[_0x3a8333(0x342)](Date[_0x3a8333(0x2e2)]()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0x3a8333(0x39f)](_0x492317),_0x102a0d);}}var Fn=Object[_0x1e1a91(0x38a)],Vn=(_0x4993f0,_0x4ff610,_0x17d20e,_0x1ce619)=>{var _0x567603=_0x1e1a91;for(var _0x2b22cb=_0x1ce619>0x1?void 0x0:_0x1ce619?Fn(_0x4ff610,_0x17d20e):_0x4ff610,_0x3c2783=_0x4993f0[_0x567603(0x1ec)]-0x1,_0xdb0f1e;_0x3c2783>=0x0;_0x3c2783--)(_0xdb0f1e=_0x4993f0[_0x3c2783])&&(_0x2b22cb=_0xdb0f1e(_0x2b22cb)||_0x2b22cb);return _0x2b22cb;},Gn=(_0x830852,_0x18d8f1)=>(_0x101ed0,_0x4e9091)=>_0x18d8f1(_0x101ed0,_0x4e9091,_0x830852);let at=class{constructor(_0xff4106){var _0x3b032d=_0x1e1a91;this[_0x3b032d(0x49f)]=_0xff4106,this['_initRequestHeader']();}[_0x1e1a91(0x438)](){var _0x49c0c9=_0x1e1a91;this[_0x49c0c9(0x49f)][_0x49c0c9(0x2ae)]({'interceptor':(_0x4f409b,_0x1a5d3e)=>{var _0x2b477d=_0x49c0c9;const _0xb1ce9c=_0x4f409b['headers'],_0x33e645=jn();return _0x33e645&&_0xb1ce9c[_0x2b477d(0x1b4)](_0x2b477d(0x324),_0x33e645),_0x1a5d3e(_0x4f409b);}});}};at=Vn([Gn(0x0,_0x31e33e(_0x2cc90d))],at);var Yn=Object['getOwnPropertyDescriptor'],Wn=(_0x21f124,_0x1f08f8,_0x15aa7b,_0x2bc098)=>{var _0x5d1843=_0x1e1a91;for(var _0x52a53c=_0x2bc098>0x1?void 0x0:_0x2bc098?Yn(_0x1f08f8,_0x15aa7b):_0x1f08f8,_0x377aaf=_0x21f124[_0x5d1843(0x1ec)]-0x1,_0x166745;_0x377aaf>=0x0;_0x377aaf--)(_0x166745=_0x21f124[_0x377aaf])&&(_0x52a53c=_0x166745(_0x52a53c)||_0x52a53c);return _0x52a53c;},vt=(_0x18dafc,_0x4f2210)=>(_0x3215df,_0x48d435)=>_0x4f2210(_0x3215df,_0x48d435,_0x18dafc);let Ct=class extends _0x10a3a4{constructor(_0xf25738,_0x459ea7,_0x4158f6){var _0x3acaa2=_0x1e1a91;super(),N(this,_0x3acaa2(0x39e),new _0x4a01a6(null)),N(this,'unitInfo$',this['_unitInfo$'][_0x3acaa2(0x3a7)]()),(this['_logService']=_0xf25738,this[_0x3acaa2(0x2ab)]=_0x459ea7,this[_0x3acaa2(0x392)]=_0x4158f6);}async[_0x1e1a91(0x2fc)](_0x13c94f,_0xa88a82,_0x573ad6){var _0x49e9c4=_0x1e1a91;this[_0x49e9c4(0x39e)]['next']({'unitId':_0x13c94f,'type':_0xa88a82});let _0x5ed13e=null;switch(_0xa88a82){case Z[_0x49e9c4(0x473)]:{_0x5ed13e=await this['_snapshotService']['loadSheet'](_0x13c94f,_0x573ad6);break;}case Z[_0x49e9c4(0x3ab)]:{_0x5ed13e=await this[_0x49e9c4(0x2ab)][_0x49e9c4(0x36f)](_0x13c94f,_0x573ad6);break;}default:{this[_0x49e9c4(0x255)][_0x49e9c4(0x1fc)](_0x49e9c4(0x407),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5ed13e;}async[_0x1e1a91(0x235)](_0x5ad32d,_0x41157e,_0x3180e8){var _0x416135=_0x1e1a91,_0x40402a;this['_unitInfo$']['next']({'unitId':_0x5ad32d,'type':_0x41157e,'subUnitId':_0x3180e8});let _0xa959d0=0x0;const _0x6fe9b4=await((_0x40402a=this[_0x416135(0x392)])==null?void 0x0:_0x40402a[_0x416135(0x402)](_0x5ad32d));return _0x6fe9b4&&(_0x6fe9b4['awaitingChangeset']||_0x6fe9b4[_0x416135(0x249)][_0x416135(0x1ec)]!==0x0)&&(_0xa959d0=_0x6fe9b4[_0x416135(0x2e3)]),_0xa959d0===0x0&&this['_logService'][_0x416135(0x299)](_0x416135(0x407),_0x416135(0x2ce)),this[_0x416135(0x2fc)](_0x5ad32d,_0x41157e,_0xa959d0);}};Ct=Wn([vt(0x0,_0x187ac5),vt(0x1,_0x31e33e(_0x32f555)),vt(0x2,_0x914e26(J))],Ct);var Kn=Object[_0x1e1a91(0x38a)],qn=(_0x5b632d,_0x3d7686,_0x550f25,_0x14c476)=>{var _0x4bae30=_0x1e1a91;for(var _0x306009=_0x14c476>0x1?void 0x0:_0x14c476?Kn(_0x3d7686,_0x550f25):_0x3d7686,_0x51441a=_0x5b632d[_0x4bae30(0x1ec)]-0x1,_0x17cc41;_0x51441a>=0x0;_0x51441a--)(_0x17cc41=_0x5b632d[_0x51441a])&&(_0x306009=_0x17cc41(_0x306009)||_0x306009);return _0x306009;},pt=(_0x41b931,_0x522d64)=>(_0x2b8f4b,_0x352e30)=>_0x522d64(_0x2b8f4b,_0x352e30,_0x41b931);const zn=['image/png',_0x1e1a91(0x2cf),'image/jpg',_0x1e1a91(0x1d9),'image/bmp'],Jn=0x5*0x400*0x400,Xn=_0x1e1a91(0x456),Zn=_0x1e1a91(0x2d0),Qn=_0x1e1a91(0x28d),er=_0x1e1a91(0x25d);let Rt=class{constructor(_0x3c150e,_0x5651cc,_0x292342){var _0x13b36b=_0x1e1a91;N(this,_0x13b36b(0x1e4),0x0),N(this,_0x13b36b(0x241),new _0x5a2205()),N(this,'change$',this['_change$']),N(this,_0x13b36b(0x3d0),new Map()),(this['_httpService']=_0x3c150e,this[_0x13b36b(0x2c8)]=_0x5651cc,this[_0x13b36b(0x43e)]=_0x292342);}[_0x1e1a91(0x434)](_0x5550dc){this['_waitCount']=_0x5550dc,this['_change$']['next'](_0x5550dc);}[_0x1e1a91(0x3b1)](_0x2edceb,_0x2e30db){var _0x5c21a3=_0x1e1a91;if(_0x2e30db===_0xf9bbef[_0x5c21a3(0x201)]){const _0x237278=new Image();return _0x237278[_0x5c21a3(0x3c2)]=_0x2edceb,_0x237278;}return this['_imageSourceCache'][_0x5c21a3(0x2ff)](_0x2edceb);}[_0x1e1a91(0x3f2)](_0x24c7b1,_0x553d80,_0x29a744){var _0x559d4b=_0x1e1a91;_0x553d80===_0xf9bbef[_0x559d4b(0x201)]||_0x29a744==null||this['_imageSourceCache'][_0x559d4b(0x1b4)](_0x24c7b1,_0x29a744);}async[_0x1e1a91(0x1ca)](_0x37d020){var _0x5ec03e=_0x1e1a91;try{const _0x323452=this['_replaceFileID'](this[_0x5ec03e(0x296)](),''+_0x37d020),_0xada1bd=(await this[_0x5ec03e(0x49f)][_0x5ec03e(0x2ff)](_0x323452))['body'];if(_0xada1bd[_0x5ec03e(0x1fc)]&&_0xada1bd[_0x5ec03e(0x1fc)][_0x5ec03e(0x440)]===pi['OK']){const _0x43a9ba=new URL(_0xada1bd['url'],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x43a9ba);}return Promise[_0x5ec03e(0x49a)](_0xada1bd[_0x5ec03e(0x1fc)]);}catch(_0x2f64fe){return Promise[_0x5ec03e(0x49a)](_0x2f64fe);}}async['saveImage'](_0x28092f){var _0x201e25=_0x1e1a91;let _0x3721a3='';if(!zn[_0x201e25(0x44d)](_0x28092f[_0x201e25(0x263)]))return this[_0x201e25(0x21f)](),Promise[_0x201e25(0x49a)](new Error(_0x205ffc[_0x201e25(0x378)]));if(_0x28092f[_0x201e25(0x437)]>Jn)return this['_decreaseWaiting'](),Promise[_0x201e25(0x49a)](new Error(_0x205ffc['ERROR_EXCEED_SIZE']));try{const _0x3e357c=new FormData();_0x3e357c[_0x201e25(0x360)]('file',_0x28092f);const _0x5941e3=this[_0x201e25(0x43e)][_0x201e25(0x3b6)](),_0x229b8d=_0x5941e3==null?void 0x0:_0x5941e3[_0x201e25(0x3d6)]();if(!_0x229b8d)throw new Error(_0x201e25(0x3ca));const _0x135e20=this[_0x201e25(0x1c0)]()+'?size='+_0x28092f[_0x201e25(0x437)][_0x201e25(0x3c6)]()+'&source='+mi[_0x201e25(0x485)]+_0x201e25(0x433)+encodeURIComponent(_0x229b8d),_0x58fa3e={'body':_0x3e357c},_0x54d438=(await this['_httpService']['post'](_0x135e20,_0x58fa3e))[_0x201e25(0x45b)];if(typeof _0x54d438[_0x201e25(0x260)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x205ffc[_0x201e25(0x34f)]));_0x3721a3=_0x54d438[_0x201e25(0x260)];}catch{return this[_0x201e25(0x21f)](),Promise[_0x201e25(0x49a)](new Error(_0x205ffc['ERROR_IMAGE']));}return new Promise((_0x40e755,_0x292fa7)=>{var _0x129aae=_0x201e25;const _0x464816=new FileReader();_0x464816[_0x129aae(0x195)](_0x28092f),_0x464816[_0x129aae(0x3b7)]=_0x3fbe4a=>{var _0x36b592=_0x129aae,_0x4a5812;const _0xf6a0e1=(_0x4a5812=_0x3fbe4a[_0x36b592(0x2ac)])==null?void 0x0:_0x4a5812['result'];if(_0xf6a0e1==null){this[_0x36b592(0x21f)](),_0x292fa7(new Error(_0x205ffc[_0x36b592(0x34f)]));return;}const _0x1ffb84=_0x85369[_0x36b592(0x423)](0x6);_0x40e755({'imageId':_0x1ffb84,'imageSourceType':_0xf9bbef[_0x36b592(0x253)],'source':_0x3721a3,'base64Cache':_0xf6a0e1,'status':_0x205ffc[_0x36b592(0x1ed)]}),this['_decreaseWaiting']();};});}[_0x1e1a91(0x1c0)](){var _0x408b41=_0x1e1a91,_0x59236,_0x1a76f4;const _0x5e7d66=this[_0x408b41(0x2c8)][_0x408b41(0x1e9)](Xn),_0x388ae9=this[_0x408b41(0x2c8)][_0x408b41(0x1e9)](K);return(_0x1a76f4=(_0x59236=_0x388ae9==null?void 0x0:_0x388ae9[_0x408b41(0x429)])!=null?_0x59236:_0x5e7d66)!=null?_0x1a76f4:Zn;}['_getSignURL'](){var _0x421b5c=_0x1e1a91,_0x5adddb,_0xcddb4;const _0x3414c5=this[_0x421b5c(0x2c8)]['getConfig'](Qn),_0x44f01e=this['_configService']['getConfig'](K);return(_0xcddb4=(_0x5adddb=_0x44f01e==null?void 0x0:_0x44f01e[_0x421b5c(0x2df)])!=null?_0x5adddb:_0x3414c5)!=null?_0xcddb4:er;}[_0x1e1a91(0x3d9)](){var _0x3e5ccf=_0x1e1a91,_0xdcb64b;const _0x38a9f4=this['_configService'][_0x3e5ccf(0x1e9)](K);return(_0xdcb64b=_0x38a9f4==null?void 0x0:_0x38a9f4['downloadEndpointUrl'])!=null?_0xdcb64b:location[_0x3e5ccf(0x419)];}[_0x1e1a91(0x20b)](_0x15a4ab,_0x16ac10){var _0x2b16ec=_0x1e1a91;return _0x15a4ab[_0x2b16ec(0x1a5)](_0x2b16ec(0x3fd),_0x16ac10);}['_decreaseWaiting'](){var _0x2e4af5=_0x1e1a91;this['_waitCount']-=0x1,this[_0x2e4af5(0x241)][_0x2e4af5(0x2f9)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x31e33e(_0x2cc90d)),pt(0x1,_0x21d6f2),pt(0x2,_0x31e33e(_0x58b7fa))],Rt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x2afa1c,_0x3bea5b,_0x1e9d5a,_0x78bd9d)=>{var _0x3984bb=_0x1e1a91;for(var _0x5ebed2=_0x78bd9d>0x1?void 0x0:_0x78bd9d?tr(_0x3bea5b,_0x1e9d5a):_0x3bea5b,_0x2bf97a=_0x2afa1c[_0x3984bb(0x1ec)]-0x1,_0x56fdbe;_0x2bf97a>=0x0;_0x2bf97a--)(_0x56fdbe=_0x2afa1c[_0x2bf97a])&&(_0x5ebed2=_0x56fdbe(_0x5ebed2)||_0x5ebed2);return _0x5ebed2;},ai=(_0x3a7a11,_0x1a7cba)=>(_0x2e4dcd,_0x4313b1)=>_0x1a7cba(_0x2e4dcd,_0x4313b1,_0x3a7a11);const sr=_0x1e1a91(0x1b7);let Ot=class{constructor(_0x3da5,_0xd391ec){var _0x2efbe6=_0x1e1a91;this['_configService']=_0x3da5,this[_0x2efbe6(0x257)]=_0xd391ec;}[_0x1e1a91(0x27b)](){var _0x485df3=_0x1e1a91,_0x33d95b,_0xa24cd3;const _0x45334c=this['_configService'][_0x485df3(0x1e9)](Oi),_0x3bc6df=this[_0x485df3(0x2c8)][_0x485df3(0x1e9)](K);return(_0xa24cd3=(_0x33d95b=_0x3bc6df==null?void 0x0:_0x3bc6df[_0x485df3(0x2b1)])!=null?_0x33d95b:_0x45334c)!=null?_0xa24cd3:sr;}async[_0x1e1a91(0x47e)](_0x52b8e4){var _0x34abfd=_0x1e1a91;const _0xaa2905=this[_0x34abfd(0x27b)]()+_0x34abfd(0x38d);return{'list':[{'title':_0x34abfd(0x19f),'mentions':(await this[_0x34abfd(0x257)][_0x34abfd(0x2ff)](_0xaa2905,{'params':{'objectID':_0x52b8e4[_0x34abfd(0x406)],'unitID':_0x52b8e4[_0x34abfd(0x406)]}}))[_0x34abfd(0x45b)][_0x34abfd(0x2d7)][_0x34abfd(0x47d)](_0x472d57=>({'objectId':_0x472d57['id'],'name':_0x472d57['subject'][_0x34abfd(0x3a1)],'metadata':{'icon':_0x472d57['subject']['avatar']},'label':_0x472d57[_0x34abfd(0x1f5)][_0x34abfd(0x3a1)],'objectType':_0x557a47[_0x34abfd(0x445)]})),'metadata':{},'type':_0x557a47[_0x34abfd(0x445)]}]};}};Ot=ir([ai(0x0,_0x31e33e(_0x21d6f2)),ai(0x1,_0x31e33e(_0x2cc90d))],Ot);var nr=Object[_0x1e1a91(0x38a)],rr=(_0x1a160d,_0x5e040e,_0x5ed464,_0x5f036f)=>{var _0x2f4311=_0x1e1a91;for(var _0x539f9f=_0x5f036f>0x1?void 0x0:_0x5f036f?nr(_0x5e040e,_0x5ed464):_0x5e040e,_0x19b53b=_0x1a160d[_0x2f4311(0x1ec)]-0x1,_0x1bc950;_0x19b53b>=0x0;_0x19b53b--)(_0x1bc950=_0x1a160d[_0x19b53b])&&(_0x539f9f=_0x1bc950(_0x539f9f)||_0x539f9f);return _0x539f9f;},Ae=(_0xc0c622,_0x4d3e43)=>(_0x2ca82c,_0x2a2743)=>_0x4d3e43(_0x2ca82c,_0x2a2743,_0xc0c622);let ot=class extends _0x10a3a4{constructor(_0x320bd5,_0x39c602,_0x5bf560,_0x23c242,_0x5d8514){var _0x2db684=_0x1e1a91;super(),this[_0x2db684(0x1a3)]=_0x320bd5,this['_univerInstanceService']=_0x39c602,this[_0x2db684(0x20e)]=_0x5bf560,this[_0x2db684(0x3e7)]=_0x23c242,this[_0x2db684(0x375)]=_0x5d8514,this['_initUnitPermissionChange'](),this[_0x2db684(0x2ed)]();}[_0x1e1a91(0x2ed)](){var _0x1dee6b=_0x1e1a91;const _0x3b86f3=async _0x3c5d5c=>{var _0x27ccb2=_0x1283;(await this['_collaborationSessionService'][_0x27ccb2(0x282)](_0x3c5d5c))[_0x27ccb2(0x354)][_0x27ccb2(0x2c2)](_0x3b78b7(_0x522550=>_0x522550[_0x27ccb2(0x46d)]===_0x4ac4f0[_0x27ccb2(0x35e)]),_0x32bbdc(this[_0x27ccb2(0x197)]))['subscribe'](_0x37c2ef=>{var _0x5bd988=_0x27ccb2;const _0x3db2e6=_0x37c2ef,{reason:_0x3018e5}=_0x3db2e6[_0x5bd988(0x21e)];this[_0x5bd988(0x375)][_0x5bd988(0x33b)]({'id':ne[_0x5bd988(0x2a6)],'data':_0x3018e5}),this['_permissionService'][_0x5bd988(0x379)](new _0x4eee01(_0x3c5d5c)['id'],!0x1),this['_collaborationSessionService'][_0x5bd988(0x48f)](_0x3c5d5c);});};_0x12b484(this[_0x1dee6b(0x43e)][_0x1dee6b(0x338)](_0x2ebbd1['UNIVER_SHEET']),this[_0x1dee6b(0x43e)][_0x1dee6b(0x338)](_0x2ebbd1[_0x1dee6b(0x3ab)]))['pipe'](_0x442736(_0x88f1e8=>_0x88f1e8[_0x1dee6b(0x3d6)]()),_0x3b78b7(_0x2ca5c8=>!_0x17910a(_0x2ca5c8)),_0x32bbdc(this['dispose$']))[_0x1dee6b(0x412)](_0x2b0d23=>{_0x3b86f3(_0x2b0d23);});}[_0x1e1a91(0x32c)](){var _0x193406=_0x1e1a91;const _0x4ce65e=async _0x1186af=>{var _0x581b3d=_0x1283;const _0x3d1b73=await this[_0x581b3d(0x3e7)][_0x581b3d(0x282)](_0x1186af),_0x2d1504=this['_injector'][_0x581b3d(0x2ff)](_0x1c49c3);_0x3d1b73[_0x581b3d(0x354)][_0x581b3d(0x2c2)](_0x3b78b7(_0x6d559b=>_0x6d559b[_0x581b3d(0x46d)]===_0x4ac4f0['UPDATE_PERMISSION_OBJ']),_0x32bbdc(this[_0x581b3d(0x197)]))['subscribe'](_0x16f142=>{var _0x4743ca=_0x581b3d;const _0x11317b=_0x16f142,{objectId:_0x11f85c}=_0x11317b['data'];_0x11f85c===_0x1186af?_0x2d1504[_0x4743ca(0x27c)](_0x1186af):_0x2d1504[_0x4743ca(0x36d)](_0x1186af,_0x11f85c);});};_0x12b484(this[_0x193406(0x43e)][_0x193406(0x338)](_0x2ebbd1['UNIVER_SHEET']))['pipe'](_0x442736(_0x54572a=>_0x54572a[_0x193406(0x3d6)]()),_0x3b78b7(_0x574b89=>!_0x17910a(_0x574b89)),_0x32bbdc(this[_0x193406(0x197)]))[_0x193406(0x412)](_0x1de677=>{_0x4ce65e(_0x1de677);});}};ot=rr([Ae(0x0,_0x31e33e(_0x3d0bb7)),Ae(0x1,_0x58b7fa),Ae(0x2,_0x590a86),Ae(0x3,_0x31e33e(Le)),Ae(0x4,_0x31e33e(ve))],ot);var ar=Object[_0x1e1a91(0x38a)],or=(_0x13adc3,_0x2294a2,_0x2e00d0,_0x56e2bf)=>{var _0x5b7376=_0x1e1a91;for(var _0x53adbd=_0x56e2bf>0x1?void 0x0:_0x56e2bf?ar(_0x2294a2,_0x2e00d0):_0x2294a2,_0x5cbd93=_0x13adc3[_0x5b7376(0x1ec)]-0x1,_0x1f68fe;_0x5cbd93>=0x0;_0x5cbd93--)(_0x1f68fe=_0x13adc3[_0x5cbd93])&&(_0x53adbd=_0x1f68fe(_0x53adbd)||_0x53adbd);return _0x53adbd;},oi=(_0x560628,_0x559084)=>(_0x1375e9,_0x466508)=>_0x559084(_0x1375e9,_0x466508,_0x560628);let bt=class{constructor(_0x515fb6,_0xc6b243){var _0x1b4331=_0x1e1a91;this[_0x1b4331(0x2c8)]=_0x515fb6,this[_0x1b4331(0x49f)]=_0xc6b243;}async[_0x1e1a91(0x206)](_0x220277,_0x1a9841){var _0x396754=_0x1e1a91,_0x368b18;const {unitID:_0xb6ac03,type:_0x126dab,revision:_0x59a4d9=0x0}=_0x1a9841,_0x3c3852=this[_0x396754(0x318)]()+'/'+_0x126dab+_0x396754(0x465)+_0xb6ac03+_0x396754(0x292)+_0x59a4d9,_0x42c274=(await this[_0x396754(0x49f)][_0x396754(0x2ff)](_0x3c3852))[_0x396754(0x45b)],_0x2972f1=(_0x368b18=_0x42c274['snapshot'])==null?void 0x0:_0x368b18[_0x396754(0x387)];if(_0x2972f1){const _0x48fcf3=_0x2972f1==null?void 0x0:_0x2972f1['originalMeta'],_0x2b4de8=_0x418e43['encode'](_0x34fa87(_0x48fcf3));_0x2972f1[_0x396754(0x3c3)]=_0x2b4de8,Object[_0x396754(0x243)](_0x2972f1['sheets'])[_0x396754(0x19d)](([,_0x59a6ab])=>{var _0x97ee33=_0x396754;const _0x145ab4=_0x59a6ab[_0x97ee33(0x3c3)],_0x15c20a=_0x418e43['encode'](_0x34fa87(_0x145ab4));_0x59a6ab[_0x97ee33(0x3c3)]=_0x15c20a;});}return _0x42c274;}async[_0x1e1a91(0x2a8)](_0xc11f3,_0x4e1536){var _0x3005f4=_0x1e1a91;const {unitID:_0x176a6d,type:_0x335696,blockID:_0x114da3}=_0x4e1536,_0x5c1656=this[_0x3005f4(0x314)]()+'/'+_0x335696+_0x3005f4(0x465)+_0x176a6d+'/block/'+_0x114da3;return(await this[_0x3005f4(0x49f)][_0x3005f4(0x2ff)](_0x5c1656))[_0x3005f4(0x45b)];}async[_0x1e1a91(0x39b)](_0x475b6e,_0xe3fd69){var _0x259f7e=_0x1e1a91;const {unitID:_0xd5240f,type:_0x2073bd,blockID:_0x1346ab}=_0xe3fd69,_0x51907f=this[_0x259f7e(0x314)]()+'/block/'+_0x2073bd+'/unit/'+_0xd5240f+_0x259f7e(0x48a)+_0x1346ab;return(await this[_0x259f7e(0x49f)][_0x259f7e(0x2ff)](_0x51907f))[_0x259f7e(0x45b)];}async[_0x1e1a91(0x3b0)](_0x6fa8ea,_0x37581d){var _0x10b9cf=_0x1e1a91;const {unitID:_0x2b0ad3,type:_0xb757b,from:_0x5562c3,to:_0x45ca75}=_0x37581d,_0x24f5a0=this[_0x10b9cf(0x314)]()+'/'+_0xb757b+_0x10b9cf(0x465)+_0x2b0ad3+_0x10b9cf(0x43c)+_0x5562c3+'&to='+_0x45ca75;return(await this[_0x10b9cf(0x49f)][_0x10b9cf(0x2ff)](_0x24f5a0))[_0x10b9cf(0x45b)];}['getSnapshotAPIPath'](){var _0x2617c3=_0x1e1a91,_0x498b5e;return(_0x498b5e=this[_0x2617c3(0x2c8)][_0x2617c3(0x1e9)](ps))!=null?_0x498b5e:this[_0x2617c3(0x314)]();}[_0x1e1a91(0x314)](){var _0x3a66c5=_0x1e1a91,_0x339229,_0x7f754d;const _0x354ef5=this[_0x3a66c5(0x2c8)]['getConfig'](fs),_0x4f977e=this[_0x3a66c5(0x2c8)][_0x3a66c5(0x1e9)](K);return(_0x7f754d=(_0x339229=_0x4f977e==null?void 0x0:_0x4f977e[_0x3a66c5(0x2c0)])!=null?_0x339229:_0x354ef5)!=null?_0x7f754d:vs;}async[_0x1e1a91(0x29c)](_0x1e7203,_0x229bd3){var _0x210c35=_0x1e1a91;const _0x345835=_0x210c35(0x3ec)+_0x229bd3[_0x210c35(0x263)]+_0x210c35(0x465)+_0x229bd3[_0x210c35(0x421)]+_0x210c35(0x42d);return(await this['_httpService']['get'](_0x345835,{'params':{'resourceId':JSON[_0x210c35(0x39f)](_0x229bd3[_0x210c35(0x463)])}}))[_0x210c35(0x45b)];}[_0x1e1a91(0x35d)](){var _0x1c1727=_0x1e1a91;throw new Error(_0x1c1727(0x267));}['updateSnapshot'](){var _0x3f0c7a=_0x1e1a91;throw new Error(_0x3f0c7a(0x267));}[_0x1e1a91(0x42c)](){var _0x9b8ff4=_0x1e1a91;throw new Error(_0x9b8ff4(0x267));}[_0x1e1a91(0x449)](){var _0x1da21e=_0x1e1a91;throw new Error(_0x1da21e(0x267));}[_0x1e1a91(0x43f)](){var _0x38fd98=_0x1e1a91;throw new Error(_0x38fd98(0x267));}[_0x1e1a91(0x4a1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=or([oi(0x0,_0x21d6f2),oi(0x1,_0x31e33e(_0x2cc90d))],bt);var cr=Object[_0x1e1a91(0x38a)],hr=(_0x35b4d4,_0xf3eb4f,_0x4c93d6,_0x1fa90a)=>{var _0x434e5a=_0x1e1a91;for(var _0x13f103=_0x1fa90a>0x1?void 0x0:_0x1fa90a?cr(_0xf3eb4f,_0x4c93d6):_0xf3eb4f,_0x5b2e9f=_0x35b4d4[_0x434e5a(0x1ec)]-0x1,_0x4737fd;_0x5b2e9f>=0x0;_0x5b2e9f--)(_0x4737fd=_0x35b4d4[_0x5b2e9f])&&(_0x13f103=_0x4737fd(_0x13f103)||_0x13f103);return _0x13f103;},we=(_0x3e4e7f,_0x235742)=>(_0x46e5f7,_0x190a6e)=>_0x235742(_0x46e5f7,_0x190a6e,_0x3e4e7f);let yt=class extends _0x29978d{constructor(_0x614f8a,_0x441bcf,_0xedf69,_0x2236eb,_0x3bfe56){var _0x11f271=_0x1e1a91;super(_0x614f8a,_0x441bcf,_0xedf69),this[_0x11f271(0x41a)]=_0x2236eb,this[_0x11f271(0x255)]=_0x3bfe56;}['transformUndoRedo'](_0x21ee60,_0x48ee96){var _0x43117c=_0x1e1a91;const _0x44f4f5=this[_0x43117c(0x3ac)](_0x21ee60);if(_0x44f4f5)try{const _0xe79f95=this['_transformStack'](_0x44f4f5,_0x48ee96);this[_0x43117c(0x213)](_0x21ee60,_0xe79f95);}catch(_0x364aaa){this['_logService']['error'](_0x43117c(0x3f5),_0x364aaa),this[_0x43117c(0x3f6)](_0x21ee60);}const _0x9b4c5c=this[_0x43117c(0x380)](_0x21ee60);if(_0x9b4c5c)try{const _0x3a3dec=this[_0x43117c(0x30e)](_0x9b4c5c,_0x48ee96);this[_0x43117c(0x472)](_0x21ee60,_0x3a3dec);}catch(_0x25791d){this[_0x43117c(0x255)]['error'](_0x25791d),this[_0x43117c(0x3f4)](_0x21ee60);}}[_0x1e1a91(0x3f6)](_0x315d7e){var _0x326e85=_0x1e1a91;const _0x414b5f=this[_0x326e85(0x3ac)](_0x315d7e);_0x414b5f&&(_0x414b5f[_0x326e85(0x1ec)]=0x0,this[_0x326e85(0x36b)]());}[_0x1e1a91(0x3f4)](_0x3922ba){var _0x3c86ba=_0x1e1a91;const _0x839af0=this[_0x3c86ba(0x380)](_0x3922ba);_0x839af0&&(_0x839af0['length']=0x0,this[_0x3c86ba(0x36b)]());}[_0x1e1a91(0x213)](_0x15ca20,_0x329c62){var _0x1b37f4=_0x1e1a91;this[_0x1b37f4(0x22e)][_0x1b37f4(0x1b4)](_0x15ca20,_0x329c62),this[_0x1b37f4(0x36b)]();}[_0x1e1a91(0x472)](_0x1524b9,_0x18bdd7){var _0x59fd72=_0x1e1a91;this[_0x59fd72(0x3f9)][_0x59fd72(0x1b4)](_0x1524b9,_0x18bdd7),this['_updateStatus']();}['_transformStack'](_0x1fa59b,_0x304f2d){var _0x1727fc=_0x1e1a91;const _0x52e995=[];let _0x2e7826=_0x304f2d,_0x5b8d00=_0x304f2d;for(let _0x12289e=_0x1fa59b[_0x1727fc(0x1ec)]-0x1;_0x12289e>=0x0;_0x12289e--){const {unitID:_0x29730c,undoMutations:_0x55e293,redoMutations:_0x35455c}=_0x1fa59b[_0x12289e],_0x27dc3f=this['_transformService'][_0x1727fc(0x3a4)](_0x2e7826,_0x55e293),_0x2e7f00=this[_0x1727fc(0x41a)]['transformMutationsWithChangeset'](_0x5b8d00,_0x35455c);if(_0x3d642d(_0x27dc3f)||_0x3d642d(_0x2e7f00)){this['_logService'][_0x1727fc(0x1fc)](_0x1727fc(0x3f5),_0x1727fc(0x270),_0x27dc3f,_0x2e7f00);break;}_0x2e7826=_0x27dc3f[_0x1727fc(0x436)],_0x5b8d00=_0x2e7f00[_0x1727fc(0x436)],_0x52e995[_0x1727fc(0x3b3)]({'unitID':_0x29730c,'undoMutations':_0x27dc3f['m2Prime'],'redoMutations':_0x2e7f00[_0x1727fc(0x34c)]});}return _0x52e995[_0x1727fc(0x49c)]();}};yt=hr([we(0x0,_0x58b7fa),we(0x1,_0x497b9c),we(0x2,_0x496ad0),we(0x3,_0x520a88),we(0x4,_0x187ac5)],yt);var _r=Object[_0x1e1a91(0x2e4)],lr=Object[_0x1e1a91(0x38a)],ur=(_0x41cb4d,_0x50f52c,_0x5b8392)=>_0x50f52c in _0x41cb4d?_r(_0x41cb4d,_0x50f52c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b8392}):_0x41cb4d[_0x50f52c]=_0x5b8392,dr=(_0x32d03c,_0x1333eb,_0xd202bc,_0x1a69a5)=>{var _0x5b0125=_0x1e1a91;for(var _0x92912e=_0x1a69a5>0x1?void 0x0:_0x1a69a5?lr(_0x1333eb,_0xd202bc):_0x1333eb,_0x184590=_0x32d03c[_0x5b0125(0x1ec)]-0x1,_0x49ccc0;_0x184590>=0x0;_0x184590--)(_0x49ccc0=_0x32d03c[_0x184590])&&(_0x92912e=_0x49ccc0(_0x92912e)||_0x92912e);return _0x92912e;},mt=(_0x248bba,_0x9ed8e1)=>(_0x3ee8e8,_0x5b16bc)=>_0x9ed8e1(_0x3ee8e8,_0x5b16bc,_0x248bba),fr=(_0xa15052,_0x1d7423,_0x407e29)=>ur(_0xa15052,_0x1d7423+'',_0x407e29);function _0x1283(_0x372f54,_0x2c4583){var _0x29ffd6=_0x29ff();return _0x1283=function(_0x12831a,_0x1548fb){_0x12831a=_0x12831a-0x195;var _0x10ce9f=_0x29ffd6[_0x12831a];return _0x10ce9f;},_0x1283(_0x372f54,_0x2c4583);}const vr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Nt=class extends _0x3dfb67{constructor(_0x57f110,_0x103d54,_0x17827b,_0x17e9aa){var _0x4fbb87=_0x1e1a91;super(),N(this,_0x4fbb87(0x374)),(this[_0x4fbb87(0x255)]=_0x103d54,this[_0x4fbb87(0x1a3)]=_0x17827b,this[_0x4fbb87(0x2c8)]=_0x17e9aa);const {..._0x1394d3}=_0x5bc37f({},Ds,_0x57f110);if(!_0x1394d3[_0x4fbb87(0x476)])throw new Error(_0x4fbb87(0x346));this['_config']=_0x1394d3,this[_0x4fbb87(0x2c8)][_0x4fbb87(0x2ea)](K,_0x1394d3);}[_0x1e1a91(0x21d)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1e1a91(0x381)](){var _0x21f918=_0x1e1a91,_0x26e740,_0x22f81f;this[_0x21f918(0x1a3)][_0x21f918(0x38b)](_0x5a6188)&&this[_0x21f918(0x255)]['error'](_0x21f918(0x1f8),_0x21f918(0x2dd));const _0x37f659=_0x509dda([[_0x5a6188,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x21f918(0x374)][_0x21f918(0x476)]}],[_0x5cd755,{'useClass':bt}],[_0x431968,{'useClass':Tt}],[_0x5a5280,{'useClass':Rt}],[_0x34560c,{'useClass':Ot}],[nt],[It]],(_0x26e740=this[_0x21f918(0x374)])==null?void 0x0:_0x26e740['override']);if(!((_0x22f81f=this[_0x21f918(0x374)])!=null&&_0x22f81f[_0x21f918(0x45a)])){const _0x4e0e9e=_0x37f659[_0x21f918(0x24b)](([_0x45bd93])=>_0x45bd93===ht);_0x4e0e9e!==-0x1&&_0x37f659[_0x21f918(0x2b4)](_0x4e0e9e,0x1);}_0x1eac5a(this[_0x21f918(0x1a3)],_0x37f659);}[_0x1e1a91(0x23c)](){var _0x2d5219=_0x1e1a91,_0x21c15f,_0x31d74c,_0x42efe6;this[_0x2d5219(0x1a3)]['get'](_0x2cc90d)[_0x2d5219(0x2ae)]({'priority':0x14,'interceptor':_0x5d89ab({'maxParallel':0x6})}),(_0x21c15f=this[_0x2d5219(0x374)])!=null&&_0x21c15f[_0x2d5219(0x22f)]||(_0x31d74c=this[_0x2d5219(0x1a3)]['get'](J,_0x1e8dbb[_0x2d5219(0x1c1)]))==null||_0x31d74c[_0x2d5219(0x315)](),(_0x42efe6=this[_0x2d5219(0x374)])!=null&&_0x42efe6[_0x2d5219(0x33c)]&&_0x12af23(this[_0x2d5219(0x1a3)],[[rt]]),_0x12af23(this[_0x2d5219(0x1a3)],[[at],[nt],[ot]]);}};fr(Nt,_0x1e1a91(0x23d),vr),Nt=dr([_0x43163f(_0x4cdb25,_0x20f1ba),mt(0x1,_0x187ac5),mt(0x2,_0x31e33e(_0x3d0bb7)),mt(0x3,_0x21d6f2)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
1
+ var _0x1bf9e4=_0xcbfd;(function(_0x28dfe5,_0x386211){var _0xe38587=_0xcbfd,_0x2aa36a=_0x28dfe5();while(!![]){try{var _0x1911ee=-parseInt(_0xe38587(0x408))/0x1+parseInt(_0xe38587(0x398))/0x2+-parseInt(_0xe38587(0x184))/0x3+parseInt(_0xe38587(0x3ec))/0x4+-parseInt(_0xe38587(0x307))/0x5*(parseInt(_0xe38587(0x1b9))/0x6)+parseInt(_0xe38587(0x3eb))/0x7+-parseInt(_0xe38587(0x37d))/0x8*(-parseInt(_0xe38587(0x1fe))/0x9);if(_0x1911ee===_0x386211)break;else _0x2aa36a['push'](_0x2aa36a['shift']());}catch(_0xb7f6b0){_0x2aa36a['push'](_0x2aa36a['shift']());}}}(_0x282a,0x268f9));var Di=Object[_0x1bf9e4(0x39a)],Ui=(_0x296c50,_0x2375c5,_0x1db3e4)=>_0x2375c5 in _0x296c50?Di(_0x296c50,_0x2375c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1db3e4}):_0x296c50[_0x2375c5]=_0x1db3e4,N=(_0xf29a33,_0x276760,_0x5a32cc)=>Ui(_0xf29a33,typeof _0x276760!=_0x1bf9e4(0x2f7)?_0x276760+'':_0x276760,_0x5a32cc);import{createIdentifier as _0x1e116d,Inject as _0x1eb2b7,Injector as _0x3ba5a5,IConfigService as _0x2711b7,ILogService as _0x4020c,Disposable as _0x16428c,DisposableCollection as _0xc86a07,toDisposable as _0x4c9abc,IUniverInstanceService as _0x1dd505,UserManagerService as _0x119af1,UniverInstanceType as _0x2f1c63,LocaleService as _0x5855e2,Optional as _0x471747,RxDisposable as _0x3f1edd,Tools as _0x1e6211,Rectangle as _0x58ba93,ICommandService as _0x163994,JSONX as _0x5703e5,CommandType as _0x4b8a53,IUndoRedoService as _0x3aa1c3,IPermissionService as _0x4eca75,sequenceExecute as _0x5569a9,Workbook as _0x41539c,MentionType as _0x2d6580,isInternalEditorID as _0x2c0233,LocalUndoRedoService as _0x556fe9,IContextService as _0x3992d9,DependentOn as _0x5233fa,Plugin as _0x13a678,merge as _0x235acb,mergeOverrideWithDependencies as _0x354fa5,IAuthzIoService as _0x4f1f4e,IMentionIOService as _0x3def4e,registerDependencies as _0x3b854f,Quantity as _0x48a7b4,touchDependencies as _0x53c293}from'@univerjs/core';import{Subject as _0x3b4cf0,merge as _0x539a72,of as _0x1be741,BehaviorSubject as _0x320cd9,takeUntil as _0x57d01b,ReplaySubject as _0x2c051e,take as _0x19b6b3,map as _0x4427f2,shareReplay as _0x2393d1,firstValueFrom as _0x4e7989,concatMap as _0x114434}from'rxjs';import{map as _0xe868af,take as _0xde693b,filter as _0x1b0e17,delay as _0x4e84b7,takeUntil as _0xab55ca}from'rxjs/operators';import{CollaborationEvent as _0x40976b,ISnapshotServerService as _0xcb8e22,parseChangesetToProtocol as _0x524410,ITransformService as _0xaa4b07,isTransformMutationsWithChangesetSuccess as _0x164c96,mapDocumentTypeToUniverType as _0x2f1f22,RevisionService as _0x3169f6,isTransformChangesetsSuccess as _0x382369,CompressMutationService as _0x8c156e,parseProtocolChangeset as _0xdc4ddf,uuidv4 as _0x1e371c,SnapshotService as _0x564bfd,textEncoder as _0x155d8a,b64DecodeUnicode as _0x500fc0,isTransformMutationsWithChangesetFailure as _0x32b4f2,UniverCollaborationPlugin as _0x3a0ca8}from'@univerjs-pro/collaboration';import{HTTPService as _0x4a6b11,ISocketService as _0x46b8c2,MergeInterceptorFactory as _0xf1eb0,HTTPRequest as _0x109566,UniverNetworkPlugin as _0x36cc3f,ThresholdInterceptorFactory as _0x4addde}from'@univerjs/network';import{ITelemetryService as _0x4c8905}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5d5737}from'@univerjs/docs';import{SheetsSelectionsService as _0x21249a,SetSelectionsOperation as _0x305b77,InsertSheetMutation as _0x54cdc3,EmptyMutation as _0x44180c,WorkbookEditablePermission as _0x158a95,SheetPermissionInitController as _0x4728e4}from'@univerjs/sheets';import{ImageSourceType as _0x18d0bc,ImageUploadStatusType as _0x3a7256,IImageIoService as _0x47119c}from'@univerjs/drawing';import{getGlobalObject as _0x40af40}from'@univerjs-pro/license';const fs=_0x1bf9e4(0x1c4),vs=_0x1bf9e4(0x19f),ps=_0x1bf9e4(0x274),yr=_0x1bf9e4(0x1de),ms=0x7d0,gs=_0x1bf9e4(0x3e2),Ss=_0x1bf9e4(0x392),Nr=_0x1bf9e4(0x356),Es=_0x1bf9e4(0x2b0),Is=0x7530,fi=_0x1bf9e4(0x24c),vi=0x4e20,Ts=0x4e20,Cs=_0x1bf9e4(0x3c8),Rs=0x3,Dr=_0x1bf9e4(0x41f),Ur=0x3e8,Os=_0x1bf9e4(0x3d7),bs='/universer-api/comb',ys='LOGIN_URL_KEY',Ns=_0x1bf9e4(0x256),Ar=_0x1bf9e4(0x2bb),wr=_0x1bf9e4(0x270);function _0x282a(){var _0x1a7489=['_transformRemoteChangesetByStateCache','resourceIDs','/universer-api/user/session-ticket','_submitChangeset','findIndex','AUTHZ_URL_KEY','shouldCloseConn','csRejEvent','abs','getDeserializedSheetBlock','_clearRetryConnectingTimer','_roomMembers','_parse','Latin1','_socket$','_getUploadFileURL','actions','ivSize','_createHandler','CBC','SHA1','_transformStateCache','objectActions','Failed\x20to\x20update\x20permission\x20point','error$','clone','_joinRoom','univer-pro.collaboration-client-socket-service','_onUserLeave','_queuedRemoteChangesets','_sendHeartbeatTimer','unknown','salt','unpad','_eventService','getValue','x-univer-host','stringify','PSEUDO_FETCH_MISSING_RESULT','getTypeOfUnitDisposed$','transformStack\x20failed!','568kkTbLu','OpenSSL','_socketService','_onLocalMutation','roles','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','compute','collabSubmitChangesetUrl','univer-pro.collaboration-client.single-active-unit-service','onTransformRemoteChangesetByIMECache','MSG_FOR_ERROR','COMPLETION_FINISHED','EMAIL_HAS_BEEN_BOUND','onSendChangeset','_collaborationPaused','_schedule','[CollaborationSession]','_clearCollaborationTimeoutTimer','words','_incrementRevisionNumber','YUUMI_CONNECTOR_URL_NOT_FOUND','ws://127.0.0.1:8000/universer-api/comb/connect','enableOfflineEditing','JOIN_ROOM_NOT_EXISTS','members','SerializableCipher','GLOBAL_ROOMS_CNT_EXCEEDS','183656PKaIfX','_createInitialStateImpl','defineProperty','APPLY_NON_SEQUENTIAL_REVISION','loadUnitOfRevision','_changesetReqId','UNRECOGNIZED','_executeRemoteChangeset','_registerDependencies','_transformIMECache','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','IDLE','_transformUndoredo','INVITE_CODE_REQUIRED','mutations','OPTIONAL','_collaborationTimeoutTimer','objectType','/rev/','socket\x20open.','csShouldRetryEvent','/block/','onlyLocal','_doCryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','WordArray','processBlock','EvpKDF','ENSURE_SNAPSHOT_EXECUTION','exports','startTime','YUUMI_ASYNCIO_CANCELLED','_key','\x20to\x20','Error\x20on\x20receiving\x20event','_process','UNIVER_UNKNOWN','_decreaseWaiting','_initDependencies','format','resolve','Decryptor','NOT_FOUND','Pkcs7','_remoteChangesetQueue','/allowed','confirm','HEARTBEAT','RETRY_CONNECTING_MAX_COUNT','splice','unitId\x20is\x20not\x20found','deepClone','_initCloseConn','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','values','_onRemoteRetry','createEncryptor','session','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_handler','_createHelper','_clearUndo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','COLLAB_SUBMIT_CHANGESET_URL','decrypt','session.join-failed','substr','Base','BlockCipher','AWAITING_WITH_PENDING','getCurrentSelections','headers','_scheduleCollaborationTimeoutTimer','downloadEndpointUrl','COLLAB_WEB_SOCKET_URL','transformUndoRedo','sid','collaborators','HmacMD5','getImage','session.room-full','SUCCUSS','delete','1535667jfQGQF','1248740qcDGeG','_doCreateSocket','_networkConditionService','waitForRoom$','indexOf','APPLY_REVISION_CONFILICT','getInterceptPoints','SOCKET_FAILED','_onConflict','withCredentials','incrementRevOfUnit','appendMutation','_doReset','_transformRemoteChangesetByIMECache','unitID','_entityInit$','CHANGESET_ACK','_telemetryInfo','_sessions','toString','enableSingleActiveInstanceLock','/collaborator','ONLINE','USERS_LEAVE','_xformMode','refreshPermission','YUUMI_URL_COL_OUT_OF_RANGE','charAt','227973eJIcsM','HELLO','subject','close','byteOffset','conflict','_onConnectionOpen','key','iterations','PERMISSION_DENIED','status','putCollaborators','_changesetSessionId','getSheetBlock','getUnitId','failed\x20to\x20apply\x20missed\x20changesets!','find','sendChangesetTimeout','_awaitingChangeset','reconnect','image/jpg','stopTime','LOGIN_FAILED','LOCAL_CACHE_INTERVAL','retryConnectingInterval','_clearHeartbeatTimer','AWAITING','ALREADY_EXISTS','socket\x20close','updateSnapshot','_telemetryService','createInstance','_cipher','has','from','_mode','CHANGESET_SHOULD_RETRY','workbook','fetchMiss','offline','memberID','_change$','_univerInstanceService','INTERNAL_ERROR','UNIVER_COLLABORATION_CLIENT_PLUGIN','onRemoteChangeset','cfg','disposeWithMe','eventID','crypto','finalize','concat','addHandlerCallback','INGEST','registerHTTPInterceptor','Hex','_redoStacks','unit-cache-','FETCH_MISS','CHANGESET_REJ','liveShareOperation','_listenToNetworkCondition','MUTATION','initWorkbookPermissionChange','_HTTPService','_handlerCallback','_retryConnectingTimer','APPLY_PERMISSION_DENIED','_onRemoteRejected','COMPRESS_MUTATION_SEND','_getUndoStack','UPDATE_PERMISSION_OBJ','image/gif','INVITE_CODE_ALREADY_BOUND','signUrlServerUrl','_commentUpdate$','_reverseMap','url','_hash','body','apply','FETCH_MISSING','leaveEvent','CONFLICT','YUUMI_RATE_OVER_LIMIT','SHOULD_CLOSE_CONN','put','loadDoc','_nDataBytes','lib','save\x20fail\x20reason\x20is\x20','emitEvent','_shouldReportTelemetry','loadSheet','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','univer-pro.collaboration-client.network-condition.service','pad','BASE64','message$','LICENSE_IMPORT_SIZE_EXCEEDED','catch','_waitCount','LICENSE_DISTRO_REJECTED','hasOwnProperty','_keySchedule','MOBILE_VERIFY_CODE_MISMATCH','fetchMissingChangesets','reset','_entities','OTHER_CLIENT_EDITING','saveChangeset','_onUserJoin','[CollaborationUndoRedoService]','create','_clearTimeoutTimer','LIVESHARE_TERMINATE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_snapshotService','LEAVE','?url=','_hasher','startsWith','encrypt','mixIn','_resendTimeout','getMemberID','getWorkbookSelections','_applyRemoteChangeset','getFocusedUnit','listCollaborators','image/jpeg','_type','readInt32LE','type','getConfig','_lockTransition','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','snapshotServerUrl','APPLY_DUPLICATED','PY_RUNTIME_SCRIPT_ERROR','/universer-api/stream/file/upload','732522LsKzZR','_disableEditing','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','synced','BlockCipherMode','_append','_updateStatus','UnitSnapshot','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_DOC','execute','_resendTimer','_sheetTransformSelectionsService','MD5','_state','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','params','_keyPriorReset','max','error','_stopTelemetryCollaborationNewChangeset','ERROR_EXCEED_SIZE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getLatestCsReqIdBySid','FAIL','_updateState','collaboratorID','/universer-api/snapshot','getCollabEntity','getImageSourceCache','getUnit','MOBILE_HAS_BEEN_BOUND','INVITE_CODE_HAS_BEEN_UES','_userManagerService','debug','getActiveSheet','CipherParams','call','_getSendChangesetTimeout','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_createSocket','online$','filter','onStateChange','SOCKET_FAILED_RETRY','editing\x20status\x20changed\x20to','_updateLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','removeMember','changesets','getTime','fetching\x20missing\x20changesets\x20from\x20','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','486byLate','NoPadding','_clearScheduledTask','YUUMI_UNABLE_LOAD_URL','_onRecvEvent','HMAC','_throwTelemetryCollaborationNewChangeset','revision','c1Prime','href','SNAPSHOT_HAS_BEEN_REMOVED','SNAPSHOT_SERVER_URL_KEY','getTypeOfUnitAdded$','_exhaustRemoteChangesetQueue','data','copyFileMeta','_localeService','event$','_iv','encryptBlock','slice','patch','UPDATE_CURSOR','_commentService','/universer-api/authz','snapshot','UNKNOWN_CMD','DEFAULT_FILE_NAME','POST','_toggleOffline','_data','INVALID_INVITE_CODE','selections','prototype','_replayCachedMutations','[SyncedState]:\x20received\x20rejection.','msCrypto','SEND_CHANGESET_TIMEOUT','_replaceFileID','_snapshotServerService','SNAPSHOT_INVALID_SNAPSHOT','resend','_fetchMissChangesets','_ENC_XFORM_MODE','session.room-permission-denied','Undefined','_unitID','session.room-not-exists','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','random','_socketReady','UNIVER_SHEET','padding','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_revisionService','LIVESHARE_OPERATION','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_doFinalize','set','_getCurrentRevision','UserProfileImg','APPLY_REJECT','_roomCreated$','reqId','_configService','hasher','_candidateSocket','collaboration-client.local-cache-service','setCurrentUser','5490LTyfMr','_undoRedoService','PERMISSION_REJ','_removeRoom','decryptBlock','_collaborationUIEventService','connection\x20error','__creator','SYNCED','_transitionLocked','_instanceService','randomBytes','_event$','_sessionStatus$','ceil','LIVESHARE_FETCH_OPERATIONS','transformChangesets','code','transformMutationsWithChangeset','updateCursorEvent','open$','fromCharCode','NEW_CHANGESETS','[OfflineState]:\x20received\x20changeset.','getCurrentRevOfUnit','_isPermissionRej','then','_emitMembers','method','compose','reduce','[OfflineState]:\x20received\x20acknowledgement.','Hasher','floor','createDecryptor','updatePermissionObjEvent','[CollaborationState]:\x20apply\x20error!','_init','fetch_missing','onTransformSelections','collabWebSocketUrl','AES','_memberService','_getAPIPrefix','awaitingChangeset','originalMeta','repeat','post','JOINING','clamp','socket$','onCommandExecuted','next','BufferedBlockAlgorithm','setConfig','UNDEFINED','_substituteRedoStack','_startTelemetryCollaborationNewChangeset','&source=','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_onMessage','baseRev','TOO_MANY_REQUESTS','focused$','reverse','_acknowledgedAwaitingChangeset','roomInfos','getOwnPropertyDescriptor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','USERS_ENTER','LIVESHARE_REQUEST_HOST','onRemoteAck','complete','INVALID_ARGUMENT','onTransformRemoteChangesetByStateCache','newCsEvent','__esModule','_compressMutationService','HEARTBEAT_TIMEOUT','_sendHeartbeat','enc','_substituteUndoStack','COMPRESS_MUTATION_APPLY','add','_tryEnsureSocket','saveImage','_logService','[CollaborationSessionService]','/universer-api/oidc/authpage','[CollaborationSessionService]:\x20socket\x20error','collaMsg','createSocket','sessionStatus','sessionStatus$','uniscriptRunEvent','_initRequestHeader','\x0aCurrent:\x20','entries','OTHER_CLIENTS_EDITING','_onConnectionFailed','subscribe','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onLocalMutation','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformState','hostname','_showConflictNotification','every','ERROR_IMAGE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getCurrentUser','unitId','_permissionService','_scheduleCompleteTimestamp','/universer-api/uniscript','pauseCollaboration','People','default','SNAPSHOT_URL_KEY','CONNECTOR_DATA_TOO_LARGE','EMAIL_VERIFY_CODE_MISMATCH','uploadFileServerUrl','socketService','toggleOnline','updatePermissionPoint','reject','get','clear','getUnitOnRev','_transformStack','fromCollab','USER_NOT_INVITED_CODE','_onRemoteACK','target','push','infoRsp','isArray','collaboration-client.config','_clearRedo','_prevBlock','_tryReconnect','_onCombEvent','JOIN','_minBufferSize','encodeURIComponent','NO_OTHER_CLIENTS_EDITING','onMissedChangesetFetched','size','_onOffline','algo','userID','ciphertext','range','_startCollaboration','YUUMI_ALL_TABLES_IS_INVALID','init','_collaborationSessionService','pipe','YUUMI_NO_CUBOID_FOR_QUESTION','HttpImport','readyForCollab','_DEC_XFORM_MODE','_unitInfo$','isPermissionRej','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_SLIDE','LIVESHARE_NEW_HOST','_resendWithTimeout','Base64','state','mode','extend','map','_map','_initUnitPermissionChange','_commandService','/-/object/list','_createInitialState','HEARTBEAT_INTERVAL','function','cmd','_transformService','entityInit$','encode','includes','_injector','_onJoinRoomEvent','_sendingTimer','send','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','routeKey','LICENSE_MAX_UNITS_EXCEEDED','list','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_localCacheService','_sender','updateMember','SUBMIT_CHANGESET','/object/','sheets','byteLength','UNIVER_PROJECT','saveSheetBlock','now','setShowComponents','HttpExport','[PendingState]:\x20received\x20rejection.','image/bmp','override','RECV','UnitEmbedded','kdf','_status$','parse','_iKey','[PendingState]:\x20unhandled\x20univer\x20type:\x20','$super','[OfflineState]:\x20received\x20rejection.','requireSession','enableAuthServer','[CollaborationEntity]','keySize','objectID','fetchThroughInterceptors','_imageSourceCache','[FetchMissState]','_members$','unsubscribe','getSnapshotAPIPath','FileId','charCodeAt','csAckEvent','awaiting_with_pending','sin','_nRounds','_httpService','UNISCRIPT_RUN','_getCtorByUniverType','sigBytes','CLOSE_ROOM','JOIN_ROOM_PERMISSION_DENIED','Cipher','JOIN_ROOM_FAILED','textRanges','[SyncedState]:\x20received\x20acknowledgement.','_checkMissing','Utf8','_retryCount','onMissingChangesets','symbol','_timeoutTimer','addImageSourceCache','avatar','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','auth.needGotoLoginAlert','length','/unit/','Univer','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REVISION_CONFILICT','requestParams','status$','_syncEditingCollabCursor','joinEvent','getRandomValues','2260qUboHN','_socketMessageSubscription','_socket','_waitForHeartbeatResponse','submit\x20changeset\x20error!','blockSize','updateOfflineData','_rescheduleHeartbeat','append','state$','executeCommand','[UniverCollaborationClientPlugin]','authzUrl','interceptor','_undoStacks','equals','_config','location','update','dispose$','_doProcessBlock','loadOfflineData','onRemoteRetry','_getAPIPrefixPath','getCollabEntity$','_singleActiveUnitService','onCommentUpdate','closeSession','_invKeySchedule','localeService','deleteCollaborator','\x20-\x20','generateRandomId','replace','getSheetId','image/png','/-/object/-/batch_allowed','Encryptor','_pendingMutations','JOIN_ROOM_FULL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','change$','enableCollaboration','asObservable','_clearLocalCache','COMMENT_UPDATE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','dispose','_transformSelections','_initMergeInterceptor','result','forEach','localCacheService','_getDownloadEndpointURL','_state$','string','HmacSHA1','_unlockTransition','_createHmacHelper','OFFLINE','min','subUnitId','_members','onRemoteRej','getMember','close$','join','SUBMIT_CHANGESET_TIMEOUT','YUUMI_AI_RUN_FAILED','m2Prime','PERSON','ERROR_IMAGE_TYPE','toggleOffline','name','\x0aAfter:\x20','commentUpdate$','capture'];_0x282a=function(){return _0x1a7489;};return _0x282a();}var pi=(_0x239582=>(_0x239582[_0x239582[_0x1bf9e4(0x235)]=0x0]=_0x1bf9e4(0x235),_0x239582[_0x239582['OK']=0x1]='OK',_0x239582[_0x239582[_0x1bf9e4(0x433)]=0x2]=_0x1bf9e4(0x433),_0x239582[_0x239582[_0x1bf9e4(0x411)]=0x3]=_0x1bf9e4(0x411),_0x239582[_0x239582[_0x1bf9e4(0x3c2)]=0x4]='NOT_FOUND',_0x239582[_0x239582['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x239582[_0x239582[_0x1bf9e4(0x423)]=0x6]=_0x1bf9e4(0x423),_0x239582[_0x239582[_0x1bf9e4(0x247)]=0x7]=_0x1bf9e4(0x247),_0x239582[_0x239582[_0x1bf9e4(0x23c)]=0x8]=_0x1bf9e4(0x23c),_0x239582[_0x239582[_0x1bf9e4(0x388)]=0x9]=_0x1bf9e4(0x388),_0x239582[_0x239582[_0x1bf9e4(0x41e)]=0xa]='LOGIN_FAILED',_0x239582[_0x239582[_0x1bf9e4(0x160)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x239582[_0x239582[_0x1bf9e4(0x3d6)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x239582[_0x239582[_0x1bf9e4(0x276)]=0xd]=_0x1bf9e4(0x276),_0x239582[_0x239582[_0x1bf9e4(0x382)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x239582[_0x239582[_0x1bf9e4(0x301)]=0x1389]=_0x1bf9e4(0x301),_0x239582[_0x239582[_0x1bf9e4(0x1e1)]=0x1771]=_0x1bf9e4(0x1e1),_0x239582[_0x239582[_0x1bf9e4(0x1c3)]=0x1772]=_0x1bf9e4(0x1c3),_0x239582[_0x239582[_0x1bf9e4(0x3b4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x239582[_0x239582['APPLY_REJECT']=0x1b59]=_0x1bf9e4(0x1f6),_0x239582[_0x239582['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1bf9e4(0x39b),_0x239582[_0x239582['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1bf9e4(0x3f1),_0x239582[_0x239582[_0x1bf9e4(0x44b)]=0x1b5c]=_0x1bf9e4(0x44b),_0x239582[_0x239582['APPLY_DUPLICATED']=0x1b5d]=_0x1bf9e4(0x181),_0x239582[_0x239582[_0x1bf9e4(0x275)]=0x1f41]=_0x1bf9e4(0x275),_0x239582[_0x239582[_0x1bf9e4(0x2bd)]=0x2329]=_0x1bf9e4(0x2bd),_0x239582[_0x239582[_0x1bf9e4(0x18c)]=0x232a]=_0x1bf9e4(0x18c),_0x239582[_0x239582[_0x1bf9e4(0x46b)]=0x232b]=_0x1bf9e4(0x46b),_0x239582[_0x239582['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x239582[_0x239582[_0x1bf9e4(0x15d)]=0x232d]=_0x1bf9e4(0x15d),_0x239582[_0x239582[_0x1bf9e4(0x1bc)]=0x2711]=_0x1bf9e4(0x1bc),_0x239582[_0x239582['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1bf9e4(0x406),_0x239582[_0x239582[_0x1bf9e4(0x45c)]=0x2713]=_0x1bf9e4(0x45c),_0x239582[_0x239582['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1bf9e4(0x1b3),_0x239582[_0x239582[_0x1bf9e4(0x29c)]=0x271a]=_0x1bf9e4(0x29c),_0x239582[_0x239582[_0x1bf9e4(0x3b7)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x239582[_0x239582[_0x1bf9e4(0x242)]=0x271c]=_0x1bf9e4(0x242),_0x239582[_0x239582[_0x1bf9e4(0x298)]=0x271d]=_0x1bf9e4(0x298),_0x239582[_0x239582[_0x1bf9e4(0x1f1)]=0x271e]=_0x1bf9e4(0x1f1),_0x239582[_0x239582[_0x1bf9e4(0x34b)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x239582[_0x239582[_0x1bf9e4(0x391)]=0x2720]=_0x1bf9e4(0x391),_0x239582[_0x239582[_0x1bf9e4(0x182)]=0x2af9]=_0x1bf9e4(0x182),_0x239582[_0x239582[_0x1bf9e4(0x1a4)]=0x2ee1]=_0x1bf9e4(0x1a4),_0x239582[_0x239582['INVALID_INVITE_CODE']=0x2ee2]=_0x1bf9e4(0x1d8),_0x239582[_0x239582[_0x1bf9e4(0x3a5)]=0x2ee3]=_0x1bf9e4(0x3a5),_0x239582[_0x239582[_0x1bf9e4(0x281)]=0x2ee4]=_0x1bf9e4(0x281),_0x239582[_0x239582[_0x1bf9e4(0x451)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x239582[_0x239582['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x239582[_0x239582[_0x1bf9e4(0x1a3)]=0x32ca]=_0x1bf9e4(0x1a3),_0x239582[_0x239582[_0x1bf9e4(0x389)]=0x32cb]=_0x1bf9e4(0x389),_0x239582[_0x239582['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x239582))(pi||{}),Z=(_0xc75a26=>(_0xc75a26[_0xc75a26[_0x1bf9e4(0x3bc)]=0x0]=_0x1bf9e4(0x3bc),_0xc75a26[_0xc75a26[_0x1bf9e4(0x18d)]=0x1]=_0x1bf9e4(0x18d),_0xc75a26[_0xc75a26['UNIVER_SHEET']=0x2]=_0x1bf9e4(0x1ec),_0xc75a26[_0xc75a26[_0x1bf9e4(0x2a3)]=0x3]=_0x1bf9e4(0x2a3),_0xc75a26[_0xc75a26['UNIVER_PROJECT']=0x4]=_0x1bf9e4(0x2c7),_0xc75a26[_0xc75a26['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xc75a26))(Z||{}),F=(_0x374928=>(_0x374928[_0x374928[_0x1bf9e4(0x1d3)]=0x0]='UNKNOWN_CMD',_0x374928[_0x374928[_0x1bf9e4(0x409)]=0x1]=_0x1bf9e4(0x409),_0x374928[_0x374928[_0x1bf9e4(0x28c)]=0x2]=_0x1bf9e4(0x28c),_0x374928[_0x374928['LEAVE']=0x3]=_0x1bf9e4(0x16d),_0x374928[_0x374928['INGEST']=0x4]=_0x1bf9e4(0x43d),_0x374928[_0x374928[_0x1bf9e4(0x3c7)]=0x5]=_0x1bf9e4(0x3c7),_0x374928[_0x374928[_0x1bf9e4(0x2cf)]=0x6]=_0x1bf9e4(0x2cf),_0x374928[_0x374928[_0x1bf9e4(0x39e)]=-0x1]=_0x1bf9e4(0x39e),_0x374928))(F||{}),me=(_0x18c717=>(_0x18c717[_0x18c717['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x18c717[_0x18c717['OK']=0x1]='OK',_0x18c717[_0x18c717[_0x1bf9e4(0x19c)]=0x2]=_0x1bf9e4(0x19c),_0x18c717[_0x18c717[_0x1bf9e4(0x32e)]=0x3e9]=_0x1bf9e4(0x32e),_0x18c717[_0x18c717[_0x1bf9e4(0x394)]=0x3ea]=_0x1bf9e4(0x394),_0x18c717[_0x18c717[_0x1bf9e4(0x2ee)]=0x3eb]=_0x1bf9e4(0x2ee),_0x18c717[_0x18c717[_0x1bf9e4(0x397)]=0x3ec]=_0x1bf9e4(0x397),_0x18c717[_0x18c717[_0x1bf9e4(0x39e)]=-0x1]='UNRECOGNIZED',_0x18c717))(me||{}),mi=(_0x378075=>(_0x378075[_0x378075[_0x1bf9e4(0x1e6)]=0x0]=_0x1bf9e4(0x1e6),_0x378075[_0x378075[_0x1bf9e4(0x29d)]=0x1]=_0x1bf9e4(0x29d),_0x378075[_0x378075['HttpExport']=0x2]=_0x1bf9e4(0x2cb),_0x378075[_0x378075[_0x1bf9e4(0x2d0)]=0x3]='UnitEmbedded',_0x378075[_0x378075[_0x1bf9e4(0x18b)]=0x4]='UnitSnapshot',_0x378075[_0x378075[_0x1bf9e4(0x1f5)]=0x5]=_0x1bf9e4(0x1f5),_0x378075[_0x378075[_0x1bf9e4(0x39e)]=-0x1]=_0x1bf9e4(0x39e),_0x378075))(mi||{});const K=_0x1bf9e4(0x287),Ds={};var ne=(_0x5e9ef0=>(_0x5e9ef0[_0x1bf9e4(0x164)]=_0x1bf9e4(0x164),_0x5e9ef0[_0x1bf9e4(0x411)]='PERMISSION_DENIED',_0x5e9ef0['CONFLICT']='CONFLICT',_0x5e9ef0[_0x1bf9e4(0x2ed)]=_0x1bf9e4(0x2ed),_0x5e9ef0[_0x1bf9e4(0x2f0)]=_0x1bf9e4(0x2f0),_0x5e9ef0[_0x1bf9e4(0x1b0)]=_0x1bf9e4(0x1b0),_0x5e9ef0[_0x1bf9e4(0x3f3)]='SOCKET_FAILED',_0x5e9ef0[_0x1bf9e4(0x34a)]=_0x1bf9e4(0x34a),_0x5e9ef0))(ne||{});class ve{constructor(){var _0x1df6ae=_0x1bf9e4;N(this,_0x1df6ae(0x20a),new _0x3b4cf0()),N(this,_0x1df6ae(0x1ca),this[_0x1df6ae(0x20a)][_0x1df6ae(0x332)]());}[_0x1bf9e4(0x463)](_0x5b4d1d){var _0x1e7c25=_0x1bf9e4;this['_event$'][_0x1e7c25(0x232)](_0x5b4d1d);}}const Us=_0x1e116d(_0x1bf9e4(0x467));function As(_0x181aa9){var _0x257ad4=_0x1bf9e4,_0x3bfdbd,_0x54434e,_0x41ce46,_0x3d2cd1,_0x14bf66;const _0x1c2eca=_0x181aa9[_0x257ad4(0x1c7)],_0x4e676a=JSON['parse'](_0x1c2eca);switch(_0x4e676a[_0x257ad4(0x2b2)]){case F[_0x257ad4(0x3c7)]:case F[_0x257ad4(0x409)]:{const _0x12082d=_0x4e676a[_0x257ad4(0x285)];return{..._0x4e676a,'data':_0x12082d,'cmd':_0x4e676a[_0x257ad4(0x2b2)]};}case F[_0x257ad4(0x28c)]:{const _0x265938=_0x4e676a['joinRsp'];return{..._0x4e676a,'data':_0x265938,'cmd':_0x4e676a[_0x257ad4(0x2b2)]};}case F['RECV']:{const _0x17177b=_0x4e676a[_0x257ad4(0x258)];switch(_0x17177b[_0x257ad4(0x438)]){case _0x40976b['PERMISSION_REJ']:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x3bfdbd=_0x17177b['permissionRejEvent'])==null?void 0x0:_0x3bfdbd['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x3fc)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x54434e=_0x17177b[_0x257ad4(0x2e5)])==null?void 0x0:_0x54434e['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x214)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x41ce46=_0x17177b[_0x257ad4(0x249)])==null?void 0x0:_0x41ce46['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x443)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x3d2cd1=_0x17177b[_0x257ad4(0x35b)])==null?void 0x0:_0x3d2cd1['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x42c)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x14bf66=_0x17177b[_0x257ad4(0x3ac)])==null?void 0x0:_0x14bf66['cs']},'cmd':_0x4e676a['cmd']};case _0x40976b['UPDATE_CURSOR']:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x211)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x243)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x305)]},'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x403)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x45a)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x2a4)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b['liveShareNewHost']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x20d)]:case _0x40976b[_0x257ad4(0x1f0)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x444)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x16a)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b['liveShareNewHost']},'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x387)]:return{..._0x4e676a,'data':_0x17177b,'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x334)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b['commentUpdateEvent']},'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x44f)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x221)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b['SHOULD_CLOSE_CONN']:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x35a)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b['UNISCRIPT_RUN']:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x25c)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};default:return _0x4e676a;}}default:return _0x4e676a;}}function ws(_0x53a357){var _0x1572a7=_0x1bf9e4;switch(_0x53a357['cmd']){case F[_0x1572a7(0x3c7)]:case F[_0x1572a7(0x409)]:return JSON['stringify']({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357[_0x1572a7(0x2bc)]});case F['INGEST']:{let _0x496fdf;switch(_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x438)]){case _0x40976b[_0x1572a7(0x1cf)]:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x1cf)],'updateCursorEvent':_0x53a357['data']['data']};break;}case _0x40976b['USERS_LEAVE']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x403)],'leaveEvent':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b[_0x1572a7(0x243)]:{_0x496fdf={'eventID':_0x40976b['USERS_ENTER'],'joinEvent':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b[_0x1572a7(0x2a4)]:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x2a4)],'liveShareNewHost':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b['LIVESHARE_OPERATION']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x1f0)],'liveShareOperation':_0x53a357[_0x1572a7(0x1c7)]['data']};break;}case _0x40976b['LIVESHARE_TERMINATE']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x16a)],'liveShareTerminate':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b[_0x1572a7(0x244)]:{_0x496fdf={'eventID':_0x40976b['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x53a357['data'][_0x1572a7(0x1c7)]};break;}case _0x40976b['LIVESHARE_FETCH_OPERATIONS']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x20d)]};break;}default:_0x496fdf={'eventID':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x438)]};}return JSON[_0x1572a7(0x379)]({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357['routeKey'],'collaMsg':_0x496fdf});}case F[_0x1572a7(0x28c)]:return JSON[_0x1572a7(0x379)]({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357[_0x1572a7(0x2bc)],'joinReq':_0x53a357[_0x1572a7(0x1c7)]});case F[_0x1572a7(0x16d)]:return JSON[_0x1572a7(0x379)]({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357['routeKey'],'leaveReq':_0x53a357[_0x1572a7(0x1c7)]});default:throw new Error(_0x1572a7(0x1b8));}}var Ps=Object[_0x1bf9e4(0x241)],Ls=(_0x7fd98,_0x55c00a,_0x4f8216,_0x1b815c)=>{var _0x2456dd=_0x1bf9e4;for(var _0x5323b3=_0x1b815c>0x1?void 0x0:_0x1b815c?Ps(_0x55c00a,_0x4f8216):_0x55c00a,_0x354ba7=_0x7fd98[_0x2456dd(0x2fd)]-0x1,_0x531836;_0x354ba7>=0x0;_0x354ba7--)(_0x531836=_0x7fd98[_0x354ba7])&&(_0x5323b3=_0x531836(_0x5323b3)||_0x5323b3);return _0x5323b3;},Ue=(_0x3bd2c1,_0x447db9)=>(_0x1e4ead,_0x19b9c5)=>_0x447db9(_0x1e4ead,_0x19b9c5,_0x3bd2c1);const gi=_0x1e116d(_0x1bf9e4(0x36f));function Ms(_0x338590,_0x3933bf,_0x130186){var _0x5807be=_0x1bf9e4;return _0x338590+'/'+_0x3933bf+_0x5807be(0x2fe)+_0x130186+'/new_changes';}let Ft=class extends _0x16428c{constructor(_0x209acc,_0x2de80c,_0x4d439f,_0x36d117,_0x251a5e){var _0x5e54a4=_0x1bf9e4;super(),this[_0x5e54a4(0x2b7)]=_0x209acc,this['_httpService']=_0x2de80c,this[_0x5e54a4(0x1f9)]=_0x4d439f,this[_0x5e54a4(0x254)]=_0x36d117,this[_0x5e54a4(0x1e0)]=_0x251a5e;}[_0x1bf9e4(0x3ed)](_0xf1d49c){var _0x3773c9=_0x1bf9e4;const _0xeea1f2=this['_injector'][_0x3773c9(0x27c)](_0x46b8c2);if(!_0xeea1f2)throw new Error(_0x3773c9(0x3b0));const _0x534b53=_0xeea1f2[_0x3773c9(0x259)](_0xf1d49c);if(!_0x534b53)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x55b8fb=new _0xc86a07(),_0x183560=new _0x3b4cf0();_0x55b8fb[_0x3773c9(0x251)](_0x534b53[_0x3773c9(0x348)][_0x3773c9(0x262)](_0x2f609f=>_0x183560['next'](_0x2f609f))),_0x55b8fb['add'](_0x4c9abc(()=>_0x183560[_0x3773c9(0x246)]()));const _0xd5e1b3=new _0x3b4cf0();_0x55b8fb[_0x3773c9(0x251)](_0x534b53[_0x3773c9(0x36c)][_0x3773c9(0x262)](_0x50c756=>_0xd5e1b3['next'](_0x50c756))),_0x55b8fb[_0x3773c9(0x251)](_0x4c9abc(()=>_0xd5e1b3[_0x3773c9(0x246)]()));const _0x144d95=new _0x3b4cf0();_0x55b8fb[_0x3773c9(0x251)](_0x534b53[_0x3773c9(0x46a)][_0x3773c9(0x262)](_0x487799=>{var _0x1c9aba=_0x3773c9;const _0x24f4f9=As(_0x487799);_0x144d95[_0x1c9aba(0x232)](_0x24f4f9);})),_0x55b8fb[_0x3773c9(0x251)](_0x4c9abc(()=>_0x144d95['complete']()));let _0x35990d;const _0x41ddca=()=>{var _0x5afbe7=_0x3773c9;_0xd5e1b3['next'](new Event(_0x5afbe7(0x204))),_0x183560[_0x5afbe7(0x232)](new Event(_0x5afbe7(0x204))),_0x35990d[_0x5afbe7(0x40b)]();};return _0x35990d={'memberID':'','close$':_0x183560[_0x3773c9(0x332)](),'error$':_0xd5e1b3[_0x3773c9(0x332)](),'open$':_0x534b53[_0x3773c9(0x212)],'message$':_0x144d95['asObservable'](),'send':_0x323067=>{var _0x4d27e5=_0x3773c9;if(_0x323067[_0x4d27e5(0x2b2)]===F[_0x4d27e5(0x43d)]){if(_0x323067['data']['eventID']===_0x40976b['SUBMIT_CHANGESET']){this[_0x4d27e5(0x357)](_0x35990d,_0x323067[_0x4d27e5(0x1c7)])['catch'](_0x2b2c71=>{var _0x5cbab6=_0x4d27e5;this[_0x5cbab6(0x254)][_0x5cbab6(0x197)](_0x2b2c71),_0x41ddca();});return;}if(_0x323067[_0x4d27e5(0x1c7)][_0x4d27e5(0x438)]===_0x40976b[_0x4d27e5(0x459)]){const _0xe25382=_0x323067['data'];this[_0x4d27e5(0x1e3)](_0xe25382)[_0x4d27e5(0x218)](_0x222bef=>{var _0x5435a1=_0x4d27e5;_0x144d95[_0x5435a1(0x232)]({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0xe25382['data'][_0x5435a1(0x3fa)],'routeType':'','data':{'eventID':_0x40976b[_0x5435a1(0x37a)],'data':{'changesets':_0x222bef}}});})[_0x4d27e5(0x15b)](_0x4211a8=>{var _0x51f4ac=_0x4d27e5;this[_0x51f4ac(0x254)][_0x51f4ac(0x197)](_0x4211a8),_0x41ddca();});return;}}_0x534b53[_0x4d27e5(0x2ba)](ws(_0x323067));},'close':()=>{var _0x277203=_0x3773c9;_0x534b53['close'](),_0x55b8fb[_0x277203(0x336)]();}},_0x35990d;}async[_0x1bf9e4(0x357)](_0x49870d,_0x452d9d){var _0x3d318d=_0x1bf9e4,_0x1ccdc9,_0x5170f2;const {unitType:_0x57c5e0,unitID:_0x83ea0d,changeset:_0x4bb442}=_0x452d9d[_0x3d318d(0x1c7)],_0x464cbf={'unitID':_0x83ea0d,'memberID':_0x49870d[_0x3d318d(0x430)],'type':_0x57c5e0,'changeset':_0x524410(_0x4bb442)},_0x2e9a82=this[_0x3d318d(0x1f9)][_0x3d318d(0x17d)](Os),_0x2b92db=this[_0x3d318d(0x1f9)][_0x3d318d(0x17d)](K),_0x584735=Ms((_0x5170f2=(_0x1ccdc9=_0x2b92db==null?void 0x0:_0x2b92db[_0x3d318d(0x384)])!=null?_0x1ccdc9:_0x2e9a82)!=null?_0x5170f2:bs,_0x57c5e0,_0x83ea0d);try{await this[_0x3d318d(0x2e9)][_0x3d318d(0x22d)](_0x584735,{'body':_0x464cbf});}catch(_0x5c7665){throw this[_0x3d318d(0x254)][_0x3d318d(0x197)](_0x3d318d(0x38d),_0x3d318d(0x30b)),_0x5c7665;}}async['_fetchMissChangesets'](_0x8aa146){var _0x5b3f77=_0x1bf9e4;const {unitID:_0x3ac7a1,from:_0x5068a8,to:_0x16e100,unitType:_0x25fc0b}=_0x8aa146[_0x5b3f77(0x1c7)];return(await this[_0x5b3f77(0x1e0)][_0x5b3f77(0x161)]({'metadata':void 0x0},{'unitID':_0x3ac7a1,'type':_0x25fc0b,'from':_0x5068a8,'to':_0x16e100}))[_0x5b3f77(0x1b5)];}};Ft=Ls([Ue(0x0,_0x1eb2b7(_0x3ba5a5)),Ue(0x1,_0x1eb2b7(_0x4a6b11)),Ue(0x2,_0x2711b7),Ue(0x3,_0x4020c),Ue(0x4,_0xcb8e22)],Ft);const xs='collaboration_new_changeset';function ks(_0x10a8b8){var _0x326740=_0x1bf9e4;return JSON[_0x326740(0x379)](_0x10a8b8)['length'];}class Si{constructor(){var _0x37d95d=_0x1bf9e4;N(this,_0x37d95d(0x453),new _0x3b4cf0()),N(this,_0x37d95d(0x352),this[_0x37d95d(0x453)][_0x37d95d(0x332)]());}[_0x1bf9e4(0x321)](_0x4f5933){var _0xeb479f=_0x1bf9e4;this[_0xeb479f(0x453)]['next'](_0x4f5933);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x517518,_0x397cf5,_0x101df3,_0x3f7f14)=>{for(var _0x499f60=_0x3f7f14>0x1?void 0x0:_0x3f7f14?$s(_0x397cf5,_0x101df3):_0x397cf5,_0x3ed0f1=_0x517518['length']-0x1,_0x527a49;_0x3ed0f1>=0x0;_0x3ed0f1--)(_0x527a49=_0x517518[_0x3ed0f1])&&(_0x499f60=_0x527a49(_0x499f60)||_0x499f60);return _0x499f60;},Vt=(_0x536331,_0x32a661)=>(_0xa1b131,_0xff12f8)=>_0x32a661(_0xa1b131,_0xff12f8,_0x536331);let Pe=class extends _0x16428c{constructor(_0x42199e,_0xc60ba7){var _0x304642=_0x1bf9e4;super(),N(this,'_roomMembers',new Map()),N(this,_0x304642(0x1f7),new _0x3b4cf0()),(this[_0x304642(0x432)]=_0x42199e,this[_0x304642(0x1a5)]=_0xc60ba7,this[_0x304642(0x437)](_0x539a72(this[_0x304642(0x432)]['getTypeOfUnitDisposed$'](_0x2f1c63[_0x304642(0x1ec)])[_0x304642(0x29b)](_0xe868af(_0x4bf2df=>_0x4bf2df[_0x304642(0x416)]())),this[_0x304642(0x432)][_0x304642(0x37b)](_0x2f1c63[_0x304642(0x18d)])[_0x304642(0x29b)](_0xe868af(_0xb0949a=>_0xb0949a[_0x304642(0x416)]())),this['_univerInstanceService'][_0x304642(0x37b)](_0x2f1c63[_0x304642(0x2a3)])['pipe'](_0xe868af(_0x58ae6a=>_0x58ae6a['getUnitId']())))[_0x304642(0x262)](_0x3c6e1d=>this[_0x304642(0x201)](_0x3c6e1d))));}[_0x1bf9e4(0x3ef)](_0x30dad4){var _0x1b289a=_0x1bf9e4;return this[_0x1b289a(0x35f)][_0x1b289a(0x429)](_0x30dad4)?_0x1be741(this[_0x1b289a(0x35f)][_0x1b289a(0x27c)](_0x30dad4)):this[_0x1b289a(0x1f7)][_0x1b289a(0x29b)](_0xe868af(_0x182741=>{var _0x2055e7=_0x1b289a;if(_0x182741===_0x30dad4)return this[_0x2055e7(0x35f)][_0x2055e7(0x27c)](_0x182741);}));}[_0x1bf9e4(0x1fd)](_0x2bb804){var _0x2b3f36=_0x1bf9e4;this[_0x2b3f36(0x1a5)][_0x2b3f36(0x1fd)](_0x2bb804);}[_0x1bf9e4(0x26c)](){var _0x1aff19=_0x1bf9e4;return this['_userManagerService'][_0x1aff19(0x26c)]();}[_0x1bf9e4(0x2c2)](_0x1b557d,_0x2fc3db){var _0x191f7f=_0x1bf9e4;let _0x389e3a=this['_roomMembers']['get'](_0x1b557d);_0x389e3a||(_0x389e3a=new Bs(),this[_0x191f7f(0x35f)][_0x191f7f(0x1f3)](_0x1b557d,_0x389e3a),this['_roomCreated$'][_0x191f7f(0x232)](_0x1b557d)),_0x389e3a[_0x191f7f(0x2c2)](_0x2fc3db);}[_0x1bf9e4(0x1b4)](_0x436138,_0x31d662){var _0x1df087=_0x1bf9e4;const _0x50f490=this['_roomMembers'][_0x1df087(0x27c)](_0x436138);_0x50f490&&_0x50f490[_0x1df087(0x1b4)](_0x31d662);}['getRoom'](_0x598393){var _0x16823c=_0x1bf9e4;return this[_0x16823c(0x35f)]['get'](_0x598393);}[_0x1bf9e4(0x347)](_0x234722,_0x371a8d){var _0x59f842=_0x1bf9e4;const _0x2302e8=this[_0x59f842(0x35f)]['get'](_0x234722);if(_0x2302e8)return _0x2302e8[_0x59f842(0x347)](_0x371a8d);}[_0x1bf9e4(0x201)](_0x9f2b71){var _0x2400f7=_0x1bf9e4;const _0x32cb32=this[_0x2400f7(0x35f)][_0x2400f7(0x27c)](_0x9f2b71);_0x32cb32&&(_0x32cb32[_0x2400f7(0x336)](),this[_0x2400f7(0x35f)][_0x2400f7(0x3ea)](_0x9f2b71));}[_0x1bf9e4(0x336)](){var _0x1889d7=_0x1bf9e4;this[_0x1889d7(0x35f)][_0x1889d7(0x33a)](_0x4ed7aa=>_0x4ed7aa['dispose']()),this[_0x1889d7(0x35f)]['clear'](),this['_roomCreated$']['complete']();}};Pe=Hs([Vt(0x0,_0x1dd505),Vt(0x1,_0x1eb2b7(_0x119af1))],Pe);class Bs extends _0x16428c{constructor(){var _0x57f7c2=_0x1bf9e4;super(...arguments),N(this,_0x57f7c2(0x345),new Map()),N(this,'_members$',new _0x320cd9(this[_0x57f7c2(0x345)])),N(this,'members$',this[_0x57f7c2(0x2e0)][_0x57f7c2(0x332)]());}[_0x1bf9e4(0x336)](){var _0x5f329c=_0x1bf9e4;this[_0x5f329c(0x345)][_0x5f329c(0x27d)]();}[_0x1bf9e4(0x2c2)](_0x527c85){var _0x3c2ca6=_0x1bf9e4;this['_members']['set'](_0x527c85['memberID'],_0x527c85),this[_0x3c2ca6(0x219)]();}[_0x1bf9e4(0x1b4)](_0x2b49dd){var _0x4e89b4=_0x1bf9e4;this[_0x4e89b4(0x345)][_0x4e89b4(0x3ea)](_0x2b49dd);}[_0x1bf9e4(0x347)](_0x37eec0){var _0x36e309=_0x1bf9e4;return this[_0x36e309(0x345)][_0x36e309(0x27c)](_0x37eec0);}['getAllMembers'](){var _0x38bb09=_0x1bf9e4;return Array[_0x38bb09(0x42a)](this['_members'][_0x38bb09(0x3ce)]());}[_0x1bf9e4(0x219)](){var _0x15082d=_0x1bf9e4;this[_0x15082d(0x2e0)][_0x15082d(0x232)](this['_members']);}}var js=Object[_0x1bf9e4(0x241)],Fs=(_0x5e4312,_0x1135bf,_0x396022,_0x343025)=>{var _0xbae6dd=_0x1bf9e4;for(var _0x420b2f=_0x343025>0x1?void 0x0:_0x343025?js(_0x1135bf,_0x396022):_0x1135bf,_0x1847df=_0x5e4312[_0xbae6dd(0x2fd)]-0x1,_0x4bd97d;_0x1847df>=0x0;_0x1847df--)(_0x4bd97d=_0x5e4312[_0x1847df])&&(_0x420b2f=_0x4bd97d(_0x420b2f)||_0x420b2f);return _0x420b2f;},pe=(_0x23855c,_0x19b117)=>(_0x50cdd8,_0x3ac6b5)=>_0x19b117(_0x50cdd8,_0x3ac6b5,_0x23855c),Se=(_0x167ab9=>(_0x167ab9[_0x167ab9[_0x1bf9e4(0x3a3)]=0x0]='IDLE',_0x167ab9[_0x167ab9['JOINING']=0x1]=_0x1bf9e4(0x22e),_0x167ab9[_0x167ab9[_0x1bf9e4(0x342)]=0x2]=_0x1bf9e4(0x342),_0x167ab9[_0x167ab9[_0x1bf9e4(0x402)]=0x3]=_0x1bf9e4(0x402),_0x167ab9))(Se||{});const Gt={[me['FAIL']]:_0x1bf9e4(0x3d9),[me[_0x1bf9e4(0x32e)]]:_0x1bf9e4(0x3e8),[me['JOIN_ROOM_NOT_EXISTS']]:_0x1bf9e4(0x1e8),[me[_0x1bf9e4(0x2ee)]]:_0x1bf9e4(0x1e5),[me[_0x1bf9e4(0x397)]]:'session.room-cnt-exceeds'};let gt=class extends _0x3f1edd{constructor(_0xcc78e3,_0xdc4b32,_0x31301a,_0x44e0bf,_0x2d550a,_0x4d1b97,_0x521bd0,_0x3312f9,_0x4989e5){var _0x23f563=_0x1bf9e4;super(),N(this,_0x23f563(0x20b),new _0x320cd9(0x0)),N(this,_0x23f563(0x25b),this[_0x23f563(0x20b)][_0x23f563(0x332)]()),N(this,_0x23f563(0x20a),new _0x3b4cf0()),N(this,_0x23f563(0x1ca),this['_event$'][_0x23f563(0x332)]()),N(this,_0x23f563(0x309)),N(this,'_socketMessageSubscription'),N(this,_0x23f563(0x3a8)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x23f563(0x3fd),null),(this[_0x23f563(0x1e7)]=_0xcc78e3,this[_0x23f563(0x254)]=_0x31301a,this[_0x23f563(0x1f9)]=_0x44e0bf,this[_0x23f563(0x1c9)]=_0x2d550a,this[_0x23f563(0x228)]=_0x4d1b97,this[_0x23f563(0x1d0)]=_0x521bd0,this['_collaborationUIEventService']=_0x3312f9,this['_telemetryService']=_0x4989e5,this[_0x23f563(0x464)]=!!this[_0x23f563(0x426)],_0xdc4b32['pipe'](_0x57d01b(this[_0x23f563(0x31a)]))[_0x23f563(0x262)](_0x730325=>{var _0x412591=_0x23f563,_0x35e7d7;typeof _0x730325>'u'||(this[_0x412591(0x309)]=_0x730325,_0x730325?(this[_0x412591(0x36e)](_0x730325),this[_0x412591(0x308)]=_0x730325[_0x412591(0x46a)]['subscribe'](_0x4c23fa=>{var _0xe52b10=_0x412591;_0x4c23fa['routeKey']===this['_unitID']&&this[_0xe52b10(0x28b)](_0x4c23fa);})):(this[_0x412591(0x1bf)](),this[_0x412591(0x20b)][_0x412591(0x232)](0x2),(_0x35e7d7=this['_socketMessageSubscription'])==null||_0x35e7d7[_0x412591(0x2e1)](),this[_0x412591(0x308)]=null));}));}get['sessionStatus'](){var _0x3ea525=_0x1bf9e4;return this[_0x3ea525(0x20b)]['getValue']();}['getMemberID'](){var _0x2040a7=_0x1bf9e4,_0x428775,_0x28a046;return(_0x28a046=(_0x428775=this[_0x2040a7(0x309)])==null?void 0x0:_0x428775[_0x2040a7(0x430)])!=null?_0x28a046:null;}[_0x1bf9e4(0x336)](){var _0x551c45=_0x1bf9e4;super[_0x551c45(0x336)](),this['dispose$'][_0x551c45(0x232)](),this[_0x551c45(0x31a)]['complete']();}[_0x1bf9e4(0x40b)](){var _0x193337=_0x1bf9e4,_0x2ead89,_0x38c580;this[_0x193337(0x1bf)](),(_0x2ead89=this[_0x193337(0x309)])==null||_0x2ead89[_0x193337(0x2ba)]({'cmd':F[_0x193337(0x16d)],'data':{'roomID':this[_0x193337(0x1e7)]}}),(_0x38c580=this[_0x193337(0x309)])==null||_0x38c580[_0x193337(0x40b)](),this['_event$']['complete'](),this[_0x193337(0x20b)][_0x193337(0x246)](),this[_0x193337(0x336)]();}[_0x1bf9e4(0x28b)](_0x1511b4){var _0x4eadd2=_0x1bf9e4;_0x1511b4[_0x4eadd2(0x2b2)]===F[_0x4eadd2(0x28c)]?this[_0x4eadd2(0x2b8)](_0x1511b4):_0x1511b4[_0x4eadd2(0x2b2)]===F[_0x4eadd2(0x2cf)]&&this[_0x4eadd2(0x1bd)](_0x1511b4);}['_joinRoom'](_0x30860c){var _0x21f7c5=_0x1bf9e4;this[_0x21f7c5(0x20b)][_0x21f7c5(0x232)](0x1),_0x30860c['send']({'cmd':F[_0x21f7c5(0x28c)],'routeKey':this[_0x21f7c5(0x1e7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x21f7c5(0x1e7)]}]}});}[_0x1bf9e4(0x2b8)](_0x5ae3d2){var _0x16e20d=_0x1bf9e4,_0x1e1e69;if(_0x5ae3d2[_0x16e20d(0x20f)]in Gt){this[_0x16e20d(0x203)][_0x16e20d(0x463)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x5ae3d2[_0x16e20d(0x20f)]]}),this[_0x16e20d(0x20b)]['next'](0x2);return;}this['_sessionStatus$'][_0x16e20d(0x232)](0x3);const _0x4c4031=(_0x1e1e69=_0x5ae3d2[_0x16e20d(0x1c7)][_0x16e20d(0x240)][this[_0x16e20d(0x1e7)]])==null?void 0x0:_0x1e1e69[_0x16e20d(0x395)];_0x4c4031&&_0x4c4031['forEach'](_0x28049b=>this[_0x16e20d(0x228)][_0x16e20d(0x2c2)](this[_0x16e20d(0x1e7)],_0x28049b));}[_0x1bf9e4(0x1bd)](_0x5f087b){var _0x22abef=_0x1bf9e4;try{const _0x2e6673=_0x5f087b[_0x22abef(0x1c7)];switch(_0x2e6673['eventID']){case _0x40976b[_0x22abef(0x243)]:this[_0x22abef(0x166)](_0x2e6673),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;case _0x40976b['USERS_LEAVE']:this[_0x22abef(0x370)](_0x2e6673),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;case _0x40976b['CHANGESET_ACK']:case _0x40976b[_0x22abef(0x42c)]:this[_0x22abef(0x198)](),this[_0x22abef(0x38e)](),this[_0x22abef(0x20a)]['next'](_0x2e6673);break;case _0x40976b['MSG_FOR_ERROR']:this[_0x22abef(0x254)][_0x22abef(0x197)](_0x22abef(0x462)+JSON['stringify'](_0x2e6673)),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;case _0x40976b[_0x22abef(0x334)]:this[_0x22abef(0x1d0)]['onCommentUpdate'](_0x2e6673[_0x22abef(0x1c7)]),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;default:this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);}}catch(_0x5b6184){this['_logService'][_0x22abef(0x197)](_0x5b6184,_0x5f087b);}}[_0x1bf9e4(0x166)](_0x449218){var _0x2a44a4=_0x1bf9e4;this[_0x2a44a4(0x228)][_0x2a44a4(0x2c2)](this['_unitID'],_0x449218[_0x2a44a4(0x1c7)]);}['_onUserLeave'](_0x59be4e){var _0x5ddb60=_0x1bf9e4;this[_0x5ddb60(0x228)][_0x5ddb60(0x1b4)](this[_0x5ddb60(0x1e7)],_0x59be4e['data'][_0x5ddb60(0x430)]);}async[_0x1bf9e4(0x2ba)](_0x5bf01,_0x42f393){var _0x48352a=_0x1bf9e4;if(this[_0x48352a(0x25a)]!==0x3||!this['_socket'])throw new Error(_0x48352a(0x17f));try{_0x5bf01[_0x48352a(0x438)]===_0x40976b[_0x48352a(0x2c3)]&&(this[_0x48352a(0x3e0)](),this[_0x48352a(0x237)](_0x5bf01)),this[_0x48352a(0x309)][_0x48352a(0x2ba)]({'cmd':F[_0x48352a(0x43d)],'routeKey':_0x42f393,'routeType':'','data':_0x5bf01});}catch(_0x261b3a){this['_logService'][_0x48352a(0x197)](_0x261b3a);}}[_0x1bf9e4(0x3e0)](){var _0x2ac64e=_0x1bf9e4,_0x2c6d35;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x39c0b3=_0xcbfd;this[_0x39c0b3(0x3a8)]=null,this[_0x39c0b3(0x203)][_0x39c0b3(0x463)]({'id':ne['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2c6d35=this['_configService'][_0x2ac64e(0x17d)](fi))!=null?_0x2c6d35:vi);}[_0x1bf9e4(0x38e)](){var _0x4c2195=_0x1bf9e4;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4c2195(0x3a8)]),this[_0x4c2195(0x3a8)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2ad81f){var _0x35d2b6=_0x1bf9e4;if(!this[_0x35d2b6(0x464)])return;const {data:_0xaa1fd4}=_0x2ad81f,{unitID:_0x40da5e,changeset:_0x4bda81}=_0xaa1fd4,{mutations:_0x313f3a,type:_0x1f54b7}=_0x4bda81;this[_0x35d2b6(0x3fd)]={'unitId':_0x40da5e,'type':_0x1f54b7,'startTime':performance[_0x35d2b6(0x2c9)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x313f3a)};}[_0x1bf9e4(0x198)](){var _0x173f8c=_0x1bf9e4;if(this[_0x173f8c(0x464)]){if(!this['_telemetryInfo']){this[_0x173f8c(0x254)][_0x173f8c(0x197)](_0x173f8c(0x38d),_0x173f8c(0x2a2));return;}this[_0x173f8c(0x3fd)][_0x173f8c(0x41d)]=performance[_0x173f8c(0x2c9)](),this['_telemetryInfo']['duration']=this[_0x173f8c(0x3fd)]['stopTime']-this[_0x173f8c(0x3fd)][_0x173f8c(0x3b6)],this[_0x173f8c(0x426)][_0x173f8c(0x353)](xs,this[_0x173f8c(0x3fd)]),this[_0x173f8c(0x3fd)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4381eb=_0x1bf9e4;this[_0x4381eb(0x3fd)]=null;}};gt=Fs([pe(0x2,_0x4020c),pe(0x3,_0x2711b7),pe(0x4,_0x1eb2b7(_0x5855e2)),pe(0x5,_0x1eb2b7(Pe)),pe(0x6,_0x1eb2b7(Si)),pe(0x7,_0x1eb2b7(ve)),pe(0x8,_0x471747(_0x4c8905))],gt);var Vs=Object[_0x1bf9e4(0x241)],Gs=(_0x3a50a7,_0x52b586,_0x908773,_0x4d45b0)=>{var _0x30e84d=_0x1bf9e4;for(var _0x1a54a6=_0x4d45b0>0x1?void 0x0:_0x4d45b0?Vs(_0x52b586,_0x908773):_0x52b586,_0x1c146b=_0x3a50a7[_0x30e84d(0x2fd)]-0x1,_0x243fbc;_0x1c146b>=0x0;_0x1c146b--)(_0x243fbc=_0x3a50a7[_0x1c146b])&&(_0x1a54a6=_0x243fbc(_0x1a54a6)||_0x1a54a6);return _0x1a54a6;},Re=(_0x400199,_0x52f80e)=>(_0x343065,_0x4b1f93)=>_0x52f80e(_0x343065,_0x4b1f93,_0x400199);let Le=class extends _0x16428c{constructor(_0x508bdb,_0x4eab5f,_0xd80561,_0x4e53f7,_0x23d45e,_0x5aefc6){var _0x33f488=_0x1bf9e4;super(),N(this,'_socket$',new _0x320cd9(void 0x0)),N(this,_0x33f488(0x230),this[_0x33f488(0x362)][_0x33f488(0x332)]()),N(this,_0x33f488(0x1fb),null),N(this,_0x33f488(0x3fe),new Map()),N(this,_0x33f488(0x2d2),new _0x320cd9(Se[_0x33f488(0x3a3)])),N(this,_0x33f488(0x303),this['_status$'][_0x33f488(0x332)]()),N(this,_0x33f488(0x1eb),!0x1),N(this,_0x33f488(0x44a)),N(this,'_retryCount',0x0),N(this,_0x33f488(0x372)),N(this,_0x33f488(0x2f8)),(this[_0x33f488(0x2b7)]=_0x508bdb,this[_0x33f488(0x254)]=_0x4eab5f,this[_0x33f488(0x1f9)]=_0xd80561,this[_0x33f488(0x37f)]=_0x4e53f7,this['_collaborationUIEventService']=_0x23d45e,this[_0x33f488(0x3ee)]=_0x5aefc6,this[_0x33f488(0x445)]());}get[_0x1bf9e4(0x309)](){var _0x1e83a9=_0x1bf9e4;return this[_0x1e83a9(0x362)][_0x1e83a9(0x377)]();}['_listenToNetworkCondition'](){var _0x454799=_0x1bf9e4;this[_0x454799(0x3ee)]&&this['disposeWithMe'](this['_networkConditionService'][_0x454799(0x1ad)][_0x454799(0x262)](_0x1ddf37=>{var _0x2a0898=_0x454799;_0x1ddf37&&!this['_socket']&&this['reconnect'](),_0x1ddf37||this[_0x2a0898(0x292)]();}));}[_0x1bf9e4(0x336)](){var _0x59ca08=_0x1bf9e4;super[_0x59ca08(0x336)](),this[_0x59ca08(0x35e)](),this['_clearTimeoutTimer'](),this[_0x59ca08(0x421)](),this[_0x59ca08(0x3fe)][_0x59ca08(0x33a)](_0x4bf8cd=>_0x4bf8cd[_0x59ca08(0x336)]()),this['_sessions']['clear'](),this['_status$'][_0x59ca08(0x246)]();}async[_0x1bf9e4(0x2d8)](_0x545ee0){var _0x293367=_0x1bf9e4;if(this[_0x293367(0x3fe)][_0x293367(0x429)](_0x545ee0))return this[_0x293367(0x3fe)]['get'](_0x545ee0);this[_0x293367(0x252)]();const _0x342843=this[_0x293367(0x2b7)][_0x293367(0x427)](gt,_0x545ee0,this[_0x293367(0x362)]['asObservable']());return this['_sessions'][_0x293367(0x1f3)](_0x545ee0,_0x342843),_0x342843;}[_0x1bf9e4(0x322)](_0x27dfe3){var _0x43fdf8=_0x1bf9e4,_0x32089a;const _0x12b798=this['_sessions'][_0x43fdf8(0x27c)](_0x27dfe3);_0x12b798&&(this[_0x43fdf8(0x3fe)][_0x43fdf8(0x3ea)](_0x27dfe3),_0x12b798[_0x43fdf8(0x40b)]()),this[_0x43fdf8(0x3fe)][_0x43fdf8(0x291)]||(_0x32089a=this[_0x43fdf8(0x309)])==null||_0x32089a['close']();}[_0x1bf9e4(0x41b)](){var _0x179a94=_0x1bf9e4;this[_0x179a94(0x2f5)]=0x0,this[_0x179a94(0x35e)](),this[_0x179a94(0x28a)]();}['_clearRetryConnectingTimer'](){var _0x199b39=_0x1bf9e4;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x199b39(0x44a)]),this[_0x199b39(0x44a)]=null);}async[_0x1bf9e4(0x1ac)](){var _0x2c6d32=_0x1bf9e4,_0x2b0b1c,_0x2e3ed5;const _0x1b5922=this[_0x2c6d32(0x1f9)][_0x2c6d32(0x17d)](gs),_0x1d51f5=this['_configService'][_0x2c6d32(0x17d)](K),_0x1b9855=(_0x2e3ed5=(_0x2b0b1c=_0x1d51f5==null?void 0x0:_0x1d51f5[_0x2c6d32(0x226)])!=null?_0x2b0b1c:_0x1b5922)!=null?_0x2e3ed5:Ss,_0x128b56=await this[_0x2c6d32(0x37f)][_0x2c6d32(0x259)](_0x1b9855);return this[_0x2c6d32(0x1fb)]=_0x128b56,_0x128b56;}async[_0x1bf9e4(0x252)](){var _0x48aae2=_0x1bf9e4,_0x2e984b,_0x183d38;try{const _0x60d6c3=(_0x183d38=(_0x2e984b=this[_0x48aae2(0x309)])!=null?_0x2e984b:this['_candidateSocket'])!=null?_0x183d38:await this[_0x48aae2(0x1ac)]();if(_0x60d6c3){const _0x33d974=_0x60d6c3[_0x48aae2(0x2ba)];_0x60d6c3[_0x48aae2(0x2ba)]=_0x15e910=>(this[_0x48aae2(0x30e)](),_0x33d974[_0x48aae2(0x458)](_0x60d6c3,[_0x15e910])),_0x60d6c3[_0x48aae2(0x46a)][_0x48aae2(0x262)](_0x4602b6=>this[_0x48aae2(0x23a)](_0x60d6c3,_0x4602b6)),_0x60d6c3['error$'][_0x48aae2(0x29b)](_0xde693b(0x1))[_0x48aae2(0x262)](_0x5242b6=>this['_logService'][_0x48aae2(0x197)](_0x48aae2(0x257),_0x5242b6)),_0x60d6c3[_0x48aae2(0x212)][_0x48aae2(0x29b)](_0xde693b(0x1))[_0x48aae2(0x262)](()=>{var _0x42ddb5=_0x48aae2;this[_0x42ddb5(0x40e)](_0x60d6c3);}),_0x60d6c3[_0x48aae2(0x348)][_0x48aae2(0x29b)](_0xde693b(0x1))['subscribe'](_0x523c3c=>{var _0x5f257f=_0x48aae2;this[_0x5f257f(0x254)][_0x5f257f(0x1a6)](_0x5f257f(0x255),_0x5f257f(0x424),_0x523c3c),this[_0x5f257f(0x261)]();});}}catch(_0x29c530){this['_logService'][_0x48aae2(0x197)](_0x29c530),this[_0x48aae2(0x261)]();}}[_0x1bf9e4(0x40e)](_0xb7ce73){var _0x5376a5=_0x1bf9e4;this[_0x5376a5(0x254)]['debug'](_0x5376a5(0x255),_0x5376a5(0x3ab)),_0xb7ce73[_0x5376a5(0x2ba)]({'cmd':F[_0x5376a5(0x409)]}),this[_0x5376a5(0x30e)]();}['_onOffline'](){var _0xea6e6e=_0x1bf9e4;this[_0xea6e6e(0x1eb)]=!0x1,this[_0xea6e6e(0x1fb)]=null,this[_0xea6e6e(0x2d2)][_0xea6e6e(0x232)](Se['OFFLINE']),this['_socket$'][_0xea6e6e(0x232)](null),this[_0xea6e6e(0x169)](),this[_0xea6e6e(0x421)]();}['_onConnectionFailed'](){var _0x947006=_0x1bf9e4,_0x14b72c;this[_0x947006(0x292)](),this['_retryCount']<((_0x14b72c=this['_configService'][_0x947006(0x17d)](Cs))!=null?_0x14b72c:Rs)?(this[_0x947006(0x203)][_0x947006(0x463)]({'id':ne[_0x947006(0x1b0)]}),this[_0x947006(0x28a)]()):this[_0x947006(0x203)]['emitEvent']({'id':ne[_0x947006(0x3f3)]});}[_0x1bf9e4(0x28a)](){var _0x3b37fe=_0x1bf9e4,_0x32c1cd;const _0x1c0c5c=this[_0x3b37fe(0x2f5)],_0x485eef=this['_configService'][_0x3b37fe(0x17d)](K),_0x3314dc=_0x1c0c5c===0x0?0x0:((_0x32c1cd=_0x485eef==null?void 0x0:_0x485eef[_0x3b37fe(0x420)])!=null?_0x32c1cd:Ts)*0x2**_0x1c0c5c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x444c48=_0x3b37fe;clearTimeout(this[_0x444c48(0x44a)]),this['_retryConnectingTimer']=null,this[_0x444c48(0x252)]();},_0x3314dc),this[_0x3b37fe(0x2f5)]+=0x1;}['_onMessage'](_0x1c5b4e,_0x35a8cf){var _0x3d1cf4=_0x1bf9e4;const {cmd:_0x232957}=_0x35a8cf;_0x232957===F[_0x3d1cf4(0x409)]&&!this[_0x3d1cf4(0x1eb)]&&(_0x1c5b4e[_0x3d1cf4(0x430)]=_0x35a8cf['data'][_0x3d1cf4(0x430)],this[_0x3d1cf4(0x362)][_0x3d1cf4(0x232)](_0x1c5b4e),this[_0x3d1cf4(0x2d2)][_0x3d1cf4(0x232)](Se[_0x3d1cf4(0x402)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x232957===F['HEARTBEAT']&&this[_0x3d1cf4(0x169)](),this[_0x3d1cf4(0x30e)]();}[_0x1bf9e4(0x30e)](){var _0x247f2a=_0x1bf9e4,_0x3e1a33;this[_0x247f2a(0x421)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x247f2a(0x24d)](),(_0x3e1a33=this[_0x247f2a(0x1f9)][_0x247f2a(0x17d)](Es))!=null?_0x3e1a33:Is);}[_0x1bf9e4(0x24d)](){var _0x3ec9ab=_0x1bf9e4;this['_socket'][_0x3ec9ab(0x2ba)]({'cmd':F[_0x3ec9ab(0x3c7)]}),this[_0x3ec9ab(0x30a)]();}[_0x1bf9e4(0x30a)](){var _0x32bff2=_0x1bf9e4,_0xdf75c9;this['_timeoutTimer']=setTimeout(()=>this[_0x32bff2(0x261)](),(_0xdf75c9=this[_0x32bff2(0x1f9)][_0x32bff2(0x17d)](fi))!=null?_0xdf75c9:vi);}['_clearHeartbeatTimer'](){var _0x1c0b4a=_0x1bf9e4;this[_0x1c0b4a(0x372)]!=null&&(clearTimeout(this[_0x1c0b4a(0x372)]),this[_0x1c0b4a(0x372)]=null);}['_clearTimeoutTimer'](){var _0x110b00=_0x1bf9e4;this[_0x110b00(0x2f8)]!=null&&(clearTimeout(this[_0x110b00(0x2f8)]),this[_0x110b00(0x2f8)]=null);}};Le=Gs([Re(0x0,_0x1eb2b7(_0x3ba5a5)),Re(0x1,_0x4020c),Re(0x2,_0x2711b7),Re(0x3,gi),Re(0x4,_0x1eb2b7(ve)),Re(0x5,_0x471747(Us))],Le);const J=_0x1e116d(_0x1bf9e4(0x1fc));function Pr(_0x2b9297){var _0x4362a9=_0x1bf9e4;return _0x4362a9(0x441)+_0x2b9297;}var Ys=Object['getOwnPropertyDescriptor'],Ws=(_0x2f5b8d,_0x556083,_0x1859af,_0x3c620e)=>{var _0x9844bf=_0x1bf9e4;for(var _0x437df8=_0x3c620e>0x1?void 0x0:_0x3c620e?Ys(_0x556083,_0x1859af):_0x556083,_0x50fdfa=_0x2f5b8d[_0x9844bf(0x2fd)]-0x1,_0x21fc3b;_0x50fdfa>=0x0;_0x50fdfa--)(_0x21fc3b=_0x2f5b8d[_0x50fdfa])&&(_0x437df8=_0x21fc3b(_0x437df8)||_0x437df8);return _0x437df8;},ut=(_0x1a1233,_0x57053a)=>(_0x53537b,_0x41a7a3)=>_0x57053a(_0x53537b,_0x41a7a3,_0x1a1233);function Ks(_0x36f7ec){var _0x23f952=_0x1bf9e4;const {unitID:_0x37f394,mutations:_0x35b52a}=_0x36f7ec;return{'unitId':_0x37f394,'subUnitId':_0x35b52a[0x0][_0x23f952(0x194)][_0x23f952(0x344)]};}function _0xcbfd(_0x5bcc85,_0x31537e){var _0x282ac7=_0x282a();return _0xcbfd=function(_0xcbfde4,_0x263f7e){_0xcbfde4=_0xcbfde4-0x15b;var _0xe1d516=_0x282ac7[_0xcbfde4];return _0xe1d516;},_0xcbfd(_0x5bcc85,_0x31537e);}let it=class{constructor(_0x3d10fc,_0x6173ca,_0x5c6b70){var _0x25729c=_0x1bf9e4;this[_0x25729c(0x2b7)]=_0x3d10fc,this[_0x25729c(0x2b3)]=_0x6173ca,this['_instanceService']=_0x5c6b70;}['transformSelections'](_0x57fd65){var _0x11a8db=_0x1bf9e4,_0x2d4ee7,_0x5b6d2e,_0x955de7,_0x383a63;const _0x2f8835=this[_0x11a8db(0x2b7)][_0x11a8db(0x27c)](_0x21249a),{unitId:_0x791ad0,subUnitId:_0x5789b2}=Ks(_0x57fd65),_0x1910c5=_0x2f8835==null?void 0x0:_0x2f8835[_0x11a8db(0x175)](_0x791ad0)[_0x11a8db(0x3de)](),_0x5d153d=(_0x5b6d2e=(_0x2d4ee7=this[_0x11a8db(0x208)][_0x11a8db(0x1a2)](_0x791ad0))==null?void 0x0:_0x2d4ee7[_0x11a8db(0x1a7)]())==null?void 0x0:_0x5b6d2e[_0x11a8db(0x329)]();if(_0x1910c5['length']===0x0||!_0x791ad0||!_0x5789b2)return;const _0x365f14=[{'id':_0x305b77['id'],'params':{'unitId':_0x791ad0,'subUnitId':_0x5d153d,'selections':_0x1e6211[_0x11a8db(0x3cb)](_0x1910c5)}}],_0x51f540=this[_0x11a8db(0x2b3)][_0x11a8db(0x210)](_0x57fd65,_0x365f14);if(!_0x164c96(_0x51f540))throw _0x51f540[_0x11a8db(0x197)];const _0x3622aa=(_0x383a63=(_0x955de7=_0x51f540[_0x11a8db(0x34c)][0x0])==null?void 0x0:_0x955de7[_0x11a8db(0x194)])==null?void 0x0:_0x383a63['selections'];if(Array[_0x11a8db(0x286)](_0x3622aa)&&_0x3622aa['length']){if(_0x3622aa[_0x11a8db(0x2fd)]===_0x365f14[0x0][_0x11a8db(0x194)][_0x11a8db(0x1d9)][_0x11a8db(0x2fd)]&&_0x3622aa['every']((_0x4b16f5,_0x20e3d2)=>_0x58ba93[_0x11a8db(0x316)](_0x4b16f5[_0x11a8db(0x296)],_0x365f14[0x0][_0x11a8db(0x194)][_0x11a8db(0x1d9)][_0x20e3d2][_0x11a8db(0x296)])))return;this[_0x11a8db(0x2b7)][_0x11a8db(0x27c)](_0x163994)[_0x11a8db(0x311)](_0x305b77['id'],{'unitId':_0x791ad0,'subUnitId':_0x5d153d,'selections':_0x3622aa});}}};it=Ws([ut(0x0,_0x1eb2b7(_0x3ba5a5)),ut(0x1,_0xaa4b07),ut(0x2,_0x1dd505)],it);const ht=_0x1e116d(_0x1bf9e4(0x385));var Ei=(_0x243a49=>(_0x243a49[_0x243a49[_0x1bf9e4(0x28f)]=0x0]=_0x1bf9e4(0x28f),_0x243a49[_0x243a49[_0x1bf9e4(0x260)]=0x1]=_0x1bf9e4(0x260),_0x243a49))(Ei||{});const qs=new Set([_0x54cdc3['id']]);function Yt(_0x41c307,_0x5e5f21,_0x4fcf8b,_0x31661e,_0x278cf6){var _0x2817e4=_0x1bf9e4,_0x451079,_0x22a5b3,_0x5e0aa4,_0x197d58;const _0x303709=[];for(const _0x14e6ad of _0x41c307)if(qs[_0x2817e4(0x429)](_0x14e6ad['id'])){if(_0x303709['length']>0x0)break;_0x303709['push'](_0x14e6ad);break;}else _0x303709[_0x2817e4(0x284)](_0x14e6ad);const _0xcf33d2=(_0x22a5b3=(_0x451079=_0x278cf6['getCurrentUser']())==null?void 0x0:_0x451079[_0x2817e4(0x294)])!=null?_0x22a5b3:_0x2817e4(0x373),_0x140b98=(_0x197d58=(_0x5e0aa4=_0x278cf6[_0x2817e4(0x26c)]())==null?void 0x0:_0x5e0aa4[_0x2817e4(0x430)])!=null?_0x197d58:_0x2817e4(0x373);return{'changeset':{'unitID':_0x5e5f21,'type':_0x2f1f22(_0x4fcf8b['getUnitType'](_0x5e5f21)),'baseRev':_0x31661e['getCurrentRevOfUnit'](_0x5e5f21),'revision':0x0,'userID':_0xcf33d2,'memberID':_0x140b98,'mutations':_0x303709},'pendingMutations':_0x41c307[_0x2817e4(0x1cd)](_0x303709[_0x2817e4(0x2fd)])};}function zs(_0x3cccbb,_0x48c858,_0x5e2409,_0x4e55b1,_0x59c6b6){var _0x42cc5b=_0x1bf9e4,_0x7d555d,_0x4f6a79,_0x3142e6,_0x5d2f1c;const _0x43f8c4=[_0x3cccbb[_0x42cc5b(0x21c)]((_0x26405a,_0x6ea77c)=>{var _0x1d4a60=_0x42cc5b,_0x1d505f;const {id:_0x14a6bc}=_0x26405a,{id:_0x54b812,type:_0x42d63e}=_0x6ea77c,_0x28a889=(_0x1d505f=_0x26405a[_0x1d4a60(0x194)])!=null?_0x1d505f:{'actions':null},_0x4953d3=_0x6ea77c[_0x1d4a60(0x194)];if(_0x14a6bc&&_0x14a6bc!==_0x54b812)throw new Error(_0x1d4a60(0x193)+_0x14a6bc+_0x1d4a60(0x326)+_0x54b812+'.');return{..._0x26405a,'id':_0x54b812,'type':_0x42d63e,'params':{'unitId':_0x4953d3[_0x1d4a60(0x26d)],'textRanges':_0x4953d3[_0x1d4a60(0x2f1)],'actions':_0x5703e5[_0x1d4a60(0x21b)](_0x28a889[_0x1d4a60(0x364)],_0x4953d3[_0x1d4a60(0x364)])}};},{})],_0x91c46a=(_0x4f6a79=(_0x7d555d=_0x59c6b6[_0x42cc5b(0x26c)]())==null?void 0x0:_0x7d555d[_0x42cc5b(0x294)])!=null?_0x4f6a79:_0x42cc5b(0x373),_0x40f94a=(_0x5d2f1c=(_0x3142e6=_0x59c6b6[_0x42cc5b(0x26c)]())==null?void 0x0:_0x3142e6['memberID'])!=null?_0x5d2f1c:_0x42cc5b(0x373);return{'changeset':{'unitID':_0x48c858,'type':_0x2f1f22(_0x5e2409['getUnitType'](_0x48c858)),'baseRev':_0x4e55b1[_0x42cc5b(0x216)](_0x48c858),'revision':0x0,'userID':_0x91c46a,'memberID':_0x40f94a,'mutations':_0x43f8c4},'pendingMutations':[]};}function Ii(_0x3e5849,_0x3f45ad){var _0x18fb25=_0x1bf9e4;const _0x105f9b=new _0x2c051e(0x1);return setTimeout(()=>_0x105f9b['next'](_0x3f45ad),_0x3e5849),_0x105f9b[_0x18fb25(0x332)]()[_0x18fb25(0x29b)](_0x19b6b3(0x1));}const Js={'id':_0x44180c['id'],'type':_0x4b8a53['MUTATION'],'params':{}};var Xs=Object[_0x1bf9e4(0x241)],Ie=(_0x21fbf2,_0x137879,_0x33690d,_0x44a1ff)=>{for(var _0x304a5f=_0x44a1ff>0x1?void 0x0:_0x44a1ff?Xs(_0x137879,_0x33690d):_0x137879,_0x40cfd7=_0x21fbf2['length']-0x1,_0x2bfcc6;_0x40cfd7>=0x0;_0x40cfd7--)(_0x2bfcc6=_0x21fbf2[_0x40cfd7])&&(_0x304a5f=_0x2bfcc6(_0x304a5f)||_0x304a5f);return _0x304a5f;},P=(_0x4bcc22,_0x6809a5)=>(_0x1d77d5,_0x3edeee)=>_0x6809a5(_0x1d77d5,_0x3edeee,_0x4bcc22),Ti=(_0x443223=>(_0x443223['NOT_COLLAB']='not_collab',_0x443223[_0x1bf9e4(0x206)]=_0x1bf9e4(0x187),_0x443223['PENDING']='pending',_0x443223[_0x1bf9e4(0x422)]='awaiting',_0x443223[_0x1bf9e4(0x3dd)]=_0x1bf9e4(0x2e6),_0x443223[_0x1bf9e4(0x442)]=_0x1bf9e4(0x224),_0x443223[_0x1bf9e4(0x45b)]=_0x1bf9e4(0x40d),_0x443223[_0x1bf9e4(0x342)]=_0x1bf9e4(0x42f),_0x443223))(Ti||{});const Ci=0xea60;class Te{constructor(_0x156a30,_0x2b9bfc,_0x200528,_0x2c434e,_0x44f8f5,_0x2f7be2,_0x250364,_0x31c5f0,_0x468822){var _0x20a8a5=_0x1bf9e4;N(this,_0x20a8a5(0x41a),null),N(this,_0x20a8a5(0x32d),[]),(this[_0x20a8a5(0x3fa)]=_0x156a30,this['type']=_0x2b9bfc,this[_0x20a8a5(0x3d3)]=_0x44f8f5,this['_commandService']=_0x2f7be2,this['_undoRedoService']=_0x250364,this[_0x20a8a5(0x1ef)]=_0x31c5f0,this[_0x20a8a5(0x2c0)]=_0x468822,this[_0x20a8a5(0x41a)]=_0x200528,this[_0x20a8a5(0x32d)]=_0x2c434e);}['_checkMissing'](_0x44da3e){var _0x2df001=_0x1bf9e4;const _0x1dbbb8=this[_0x2df001(0x1ef)][_0x2df001(0x216)](this[_0x2df001(0x3fa)]);return _0x44da3e[_0x2df001(0x1c0)]>_0x1dbbb8+0x1?(this[_0x2df001(0x3d3)][_0x2df001(0x2f6)]({'from':_0x1dbbb8,'to':_0x44da3e[_0x2df001(0x1c0)]-0x1}),!0x0):!0x1;}[_0x1bf9e4(0x3a4)](_0x55caf2){var _0x52d667=_0x1bf9e4;this[_0x52d667(0x1ff)]['transformUndoRedo'](this['unitID'],_0x55caf2);}['_transformSelections'](_0x2d361f){var _0x2e2776=_0x1bf9e4,_0x209bb3,_0x3d1887;(_0x3d1887=(_0x209bb3=this[_0x2e2776(0x3d3)])[_0x2e2776(0x225)])==null||_0x3d1887[_0x2e2776(0x1a9)](_0x209bb3,_0x2d361f);}[_0x1bf9e4(0x3a1)](_0x28e90b){var _0xf9742c=_0x1bf9e4,_0x378932,_0xe4f8f8;return(_0xe4f8f8=(_0x378932=this[_0xf9742c(0x3d3)])['onTransformIME'])==null?void 0x0:_0xe4f8f8[_0xf9742c(0x1a9)](_0x378932,_0x28e90b);}[_0x1bf9e4(0x369)](_0x12bd58){var _0x27ad22=_0x1bf9e4,_0x32eb75,_0x1f68e0;return(_0x1f68e0=(_0x32eb75=this[_0x27ad22(0x3d3)])['onTransformState'])==null?void 0x0:_0x1f68e0[_0x27ad22(0x1a9)](_0x32eb75,_0x12bd58);}[_0x1bf9e4(0x3f9)](_0x10985b){var _0x18b36e=_0x1bf9e4,_0x334040,_0x501f3a,_0xd139f9;return(_0xd139f9=(_0x501f3a=(_0x334040=this[_0x18b36e(0x3d3)])[_0x18b36e(0x386)])==null?void 0x0:_0x501f3a[_0x18b36e(0x1a9)](_0x334040,_0x10985b))!=null?_0xd139f9:_0x10985b;}[_0x1bf9e4(0x354)](_0x3fe9fe){var _0x258a67=_0x1bf9e4,_0x338339,_0x2ea9e3,_0xd3c29a;return(_0xd3c29a=(_0x2ea9e3=(_0x338339=this['_handler'])[_0x258a67(0x248)])==null?void 0x0:_0x2ea9e3[_0x258a67(0x1a9)](_0x338339,_0x3fe9fe))!=null?_0xd3c29a:_0x3fe9fe;}[_0x1bf9e4(0x304)](_0x16c730){var _0x35ae65=_0x1bf9e4,_0x24704c,_0x3e1594;if(this[_0x35ae65(0x17c)]===Z[_0x35ae65(0x18d)]){const {unitID:_0x24e021,mutations:_0x14c532,memberID:_0x1a7cca}=_0x16c730,_0x90a3f2=_0x14c532[0x0]['params'][_0x35ae65(0x2f1)];Array[_0x35ae65(0x286)](_0x90a3f2)&&_0x90a3f2[_0x35ae65(0x2fd)]>0x0&&((_0x3e1594=(_0x24704c=this[_0x35ae65(0x3d3)])['onSyncEditingCollabCursor'])==null||_0x3e1594[_0x35ae65(0x1a9)](_0x24704c,{'unitID':_0x24e021,'memberID':_0x1a7cca,'textRanges':_0x90a3f2}));}}[_0x1bf9e4(0x1b2)](){var _0x3b0135=_0x1bf9e4,_0x15da81;(_0x15da81=this['_localCacheService'])==null||_0x15da81[_0x3b0135(0x30d)](this[_0x3b0135(0x3fa)],this[_0x3b0135(0x17c)],this[_0x3b0135(0x41a)],this[_0x3b0135(0x32d)]);}['_getCurrentRevision'](){var _0x5bde62=_0x1bf9e4;return this['_revisionService'][_0x5bde62(0x216)](this[_0x5bde62(0x3fa)]);}[_0x1bf9e4(0x390)](){var _0x274513=_0x1bf9e4;this[_0x274513(0x1ef)][_0x274513(0x3f6)](this['unitID']);}[_0x1bf9e4(0x39f)](_0x5d8dcd){var _0x557d31=_0x1bf9e4,_0x23ab08;let _0x3e4113=this[_0x557d31(0x3f9)](_0x5d8dcd);_0x3e4113=this[_0x557d31(0x354)](_0x3e4113);const _0x1569e9=_0x5569a9(_0x3e4113['mutations'],this[_0x557d31(0x2ad)],{'fromCollab':!0x0});if(!_0x1569e9[_0x557d31(0x339)])throw _0x1569e9[_0x557d31(0x197)]instanceof Error?_0x1569e9[_0x557d31(0x197)]:new Error((_0x23ab08=_0x1569e9[_0x557d31(0x197)])!=null?_0x23ab08:_0x557d31(0x222));this['_transformIMECache'](_0x3e4113),this[_0x557d31(0x369)](_0x3e4113),this[_0x557d31(0x3a4)](_0x5d8dcd),this[_0x557d31(0x337)](_0x3e4113),this[_0x557d31(0x304)](_0x3e4113),this[_0x557d31(0x390)]();}}let ye=class extends Te{constructor(_0xe12cba,_0x22de1e,_0x3f8d2c,_0x168f06,_0x483cfe,_0x3f4d9f,_0x1ca43e,_0xde6d1f,_0x5cb8eb,_0x252410){var _0x1fa7dd=_0x1bf9e4;super(_0xe12cba,_0x22de1e,null,[],_0x3f8d2c,_0x1ca43e,_0x3f4d9f,_0x168f06,_0x252410),N(this,'status','synced'),(this[_0x1fa7dd(0x2b7)]=_0x483cfe,this['_logService']=_0xde6d1f,this['_transformService']=_0x5cb8eb,this['localCacheService']=_0x252410);}['appendMutation'](_0x356cc6){var _0x513de5=_0x1bf9e4;const _0x52f8a4=this[_0x513de5(0x2b7)][_0x513de5(0x427)](re,this[_0x513de5(0x3fa)],this['type'],[_0x356cc6],this['_handler']);return _0x52f8a4['_schedule'](),_0x52f8a4[_0x513de5(0x1b2)](),_0x52f8a4;}['onRemoteChangeset'](_0x4042f8){var _0x47872e=_0x1bf9e4;if(this[_0x47872e(0x2f3)](_0x4042f8))return this[_0x47872e(0x2b7)][_0x47872e(0x427)](Q,this[_0x47872e(0x3fa)],this[_0x47872e(0x17c)],null,[],null,[_0x4042f8],this[_0x47872e(0x3d3)]);try{const _0x252ef1=this[_0x47872e(0x2b3)][_0x47872e(0x210)](_0x4042f8,[Js]);if(_0x164c96(_0x252ef1)){const {c1Prime:_0x54c5e3}=_0x252ef1;return this[_0x47872e(0x39f)](_0x54c5e3),this;}throw _0x252ef1[_0x47872e(0x197)];}catch(_0x4b45d5){return this['_logService'][_0x47872e(0x197)](_0x4b45d5),this[_0x47872e(0x3f4)](!0x1);}}[_0x1bf9e4(0x3f4)](_0x2c7a3b){var _0x17c0d0=_0x1bf9e4;return this[_0x17c0d0(0x2b7)][_0x17c0d0(0x427)](le,this[_0x17c0d0(0x3fa)],this['type'],null,[],this[_0x17c0d0(0x3d3)],_0x2c7a3b);}[_0x1bf9e4(0x245)](){var _0x42cc1f=_0x1bf9e4;throw new Error(_0x42cc1f(0x2f2));}[_0x1bf9e4(0x346)](){var _0x29314f=_0x1bf9e4;throw new Error(_0x29314f(0x1dc));}[_0x1bf9e4(0x31d)](){return this;}[_0x1bf9e4(0x34f)](){var _0x1b395c=_0x1bf9e4;return this['_injector'][_0x1b395c(0x427)](ue,this[_0x1b395c(0x3fa)],this['type'],null,[],this[_0x1b395c(0x3d3)]);}['toggleOnline'](){return this;}[_0x1bf9e4(0x1e2)](){var _0xa2c595=_0x1bf9e4;throw new Error(_0xa2c595(0x1e9));}[_0x1bf9e4(0x42e)](){var _0x10f891=_0x1bf9e4;const _0x3f507a=this[_0x10f891(0x1ef)]['getCurrentRevOfUnit'](this[_0x10f891(0x3fa)]);return this[_0x10f891(0x3d3)][_0x10f891(0x2f6)]({'from':_0x3f507a,'to':0x0}),this['_injector']['createInstance'](Q,this[_0x10f891(0x3fa)],this['type'],null,[],null,[],this[_0x10f891(0x3d3)]);}};ye=Ie([P(0x3,_0x1eb2b7(_0x3169f6)),P(0x4,_0x1eb2b7(_0x3ba5a5)),P(0x5,_0x3aa1c3),P(0x6,_0x163994),P(0x7,_0x4020c),P(0x8,_0xaa4b07),P(0x9,_0x471747(J))],ye);let re=class extends Te{constructor(_0x4f6d7a,_0x1542b2,_0x40ee3e,_0x39132a,_0x42376a,_0x4d45a3,_0x3f8fd5,_0x47d6ea,_0x5f2008,_0x25b3ee,_0x681886,_0x547868,_0x4cee96,_0x2dc6c0){var _0x7989e7=_0x1bf9e4;super(_0x4f6d7a,_0x1542b2,null,_0x40ee3e,_0x39132a,_0x5f2008,_0x4cee96,_0x4d45a3,_0x2dc6c0),N(this,_0x7989e7(0x412),'pending'),N(this,_0x7989e7(0x26f),null),N(this,_0x7989e7(0x2b9),null),(this['_injector']=_0x42376a,this[_0x7989e7(0x228)]=_0x3f8fd5,this[_0x7989e7(0x254)]=_0x47d6ea,this[_0x7989e7(0x1f9)]=_0x25b3ee,this[_0x7989e7(0x2b3)]=_0x681886,this[_0x7989e7(0x432)]=_0x547868);}[_0x1bf9e4(0x3f7)](_0x2ccbdb){var _0x518baf=_0x1bf9e4;return this[_0x518baf(0x32d)][_0x518baf(0x284)](_0x2ccbdb),this['_updateLocalCache'](),this;}[_0x1bf9e4(0x435)](_0x2f6d8c){var _0x354f8a=_0x1bf9e4;if(this['_checkMissing'](_0x2f6d8c))return this['_clearScheduledTask'](),this[_0x354f8a(0x2b7)][_0x354f8a(0x427)](Q,this[_0x354f8a(0x3fa)],this['type'],null,this[_0x354f8a(0x32d)],null,[_0x2f6d8c],this[_0x354f8a(0x3d3)]);try{const _0x2fc13d=this[_0x354f8a(0x2b3)]['transformMutationsWithChangeset'](_0x2f6d8c,this['_pendingMutations']);if(_0x164c96(_0x2fc13d)){const {c1Prime:_0x1391c8,m2Prime:_0x169ba0}=_0x2fc13d;this['_executeRemoteChangeset'](_0x1391c8);const _0x3745d2=this[_0x354f8a(0x2b7)][_0x354f8a(0x427)](re,this['unitID'],this['type'],_0x169ba0,this[_0x354f8a(0x3d3)]);this[_0x354f8a(0x1bb)]();const _0x23a373=new Date()['getTime'](),_0x5bcc1d=this[_0x354f8a(0x26f)]?Math[_0x354f8a(0x196)](this['_scheduleCompleteTimestamp']-_0x23a373,0x0):this[_0x354f8a(0x1aa)]();return _0x3745d2['_schedule'](_0x5bcc1d),_0x3745d2;}throw _0x2fc13d['error'];}catch(_0x69e8c4){return this[_0x354f8a(0x254)]['error'](_0x69e8c4),this[_0x354f8a(0x3f4)](!0x1);}}[_0x1bf9e4(0x245)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x7ad0b0=_0x1bf9e4;throw new Error(_0x7ad0b0(0x2cc));}[_0x1bf9e4(0x31d)](){return this;}['toggleOffline'](){var _0x45969b=_0x1bf9e4;return this[_0x45969b(0x1bb)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x45969b(0x17c)],null,this[_0x45969b(0x32d)],this[_0x45969b(0x3d3)]);}['toggleOnline'](){return this;}['_schedule'](_0xc99b3d){var _0x3a0c8b=_0x1bf9e4;const _0x87c112=_0xc99b3d!=null?_0xc99b3d:this[_0x3a0c8b(0x1aa)]();this[_0x3a0c8b(0x26f)]=new Date()[_0x3a0c8b(0x1b6)]()+_0x87c112,this[_0x3a0c8b(0x2b9)]=setTimeout(()=>{var _0x31cd79=_0x3a0c8b;this['_clearScheduledTask']();let _0x262ba1=null;switch(this[_0x31cd79(0x17c)]){case Z[_0x31cd79(0x1ec)]:{_0x262ba1=Yt(this[_0x31cd79(0x32d)],this[_0x31cd79(0x3fa)],this[_0x31cd79(0x432)],this[_0x31cd79(0x1ef)],this[_0x31cd79(0x228)]);break;}case Z['UNIVER_DOC']:{this[_0x31cd79(0x32d)][_0x31cd79(0x269)](_0x7790e9=>_0x7790e9['id']===_0x5d5737['id'])?_0x262ba1=zs(this['_pendingMutations'],this[_0x31cd79(0x3fa)],this[_0x31cd79(0x432)],this['_revisionService'],this[_0x31cd79(0x228)]):_0x262ba1=Yt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x31cd79(0x1ef)],this[_0x31cd79(0x228)]);break;}default:throw new Error(_0x31cd79(0x2d5)+this[_0x31cd79(0x17c)]+'\x20in\x20_schedule.');}const {changeset:_0x511c3a,pendingMutations:_0x54f2fe}=_0x262ba1;this[_0x31cd79(0x3d3)]['onSendChangeset'](_0x511c3a);const _0x144383=_0x54f2fe[_0x31cd79(0x2fd)]?this[_0x31cd79(0x2b7)][_0x31cd79(0x427)](ae,this['unitID'],this['type'],_0x511c3a,_0x54f2fe,this[_0x31cd79(0x3d3)],void 0x0):this[_0x31cd79(0x2b7)][_0x31cd79(0x427)](_e,this['unitID'],this['type'],_0x511c3a,this[_0x31cd79(0x3d3)]);_0x144383['_updateLocalCache'](),this['_handler'][_0x31cd79(0x1af)](this,_0x144383);},_0x87c112);}['_getSendChangesetTimeout'](){var _0x59fcbd=_0x1bf9e4,_0x23601d;const _0x4b69d5=this[_0x59fcbd(0x1f9)][_0x59fcbd(0x17d)](K);return(_0x23601d=_0x4b69d5==null?void 0x0:_0x4b69d5[_0x59fcbd(0x419)])!=null?_0x23601d:ms;}[_0x1bf9e4(0x1e2)](){var _0x23aff0=_0x1bf9e4;throw new Error(_0x23aff0(0x26b));}[_0x1bf9e4(0x1bb)](){var _0x5cc359=_0x1bf9e4;this[_0x5cc359(0x2b9)]!=null&&(clearTimeout(this[_0x5cc359(0x2b9)]),this[_0x5cc359(0x2b9)]=null);}[_0x1bf9e4(0x3f4)](_0x2cc459){var _0x2963d9=_0x1bf9e4;return this[_0x2963d9(0x1bb)](),this[_0x2963d9(0x2b7)][_0x2963d9(0x427)](le,this['unitID'],this[_0x2963d9(0x17c)],null,this['_pendingMutations'],this[_0x2963d9(0x3d3)],_0x2cc459);}};re=Ie([P(0x4,_0x1eb2b7(_0x3ba5a5)),P(0x5,_0x1eb2b7(_0x3169f6)),P(0x6,_0x1eb2b7(Pe)),P(0x7,_0x4020c),P(0x8,_0x163994),P(0x9,_0x2711b7),P(0xa,_0xaa4b07),P(0xb,_0x1dd505),P(0xc,_0x3aa1c3),P(0xd,_0x471747(J))],re);let _e=class extends Te{constructor(_0x481041,_0x3c080c,_0x59ae69,_0x542623,_0x417dff,_0x147c6a,_0x47dc95,_0x2bd7c2,_0x19b20f,_0x2551e5,_0x17d4ff){var _0x4d3c1d=_0x1bf9e4;super(_0x481041,_0x3c080c,_0x59ae69,[],_0x542623,_0x47dc95,_0x2551e5,_0x147c6a,_0x17d4ff),N(this,_0x4d3c1d(0x412),'awaiting'),N(this,_0x4d3c1d(0x173),0x0),N(this,_0x4d3c1d(0x18f)),N(this,_0x4d3c1d(0x2c1)),(this[_0x4d3c1d(0x2b7)]=_0x417dff,this[_0x4d3c1d(0x254)]=_0x2bd7c2,this[_0x4d3c1d(0x2b3)]=_0x19b20f);}['appendMutation'](_0x3832fd){var _0x5b1882=_0x1bf9e4;this[_0x5b1882(0x1bb)]();const _0x4416b5=this[_0x5b1882(0x2b7)][_0x5b1882(0x427)](ae,this['unitID'],this[_0x5b1882(0x17c)],this[_0x5b1882(0x41a)],[_0x3832fd],this[_0x5b1882(0x3d3)],this['_resendTimer']);return _0x4416b5['_updateLocalCache'](),_0x4416b5;}['onRemoteChangeset'](_0x386f9b){var _0x152acb=_0x1bf9e4;if(this[_0x152acb(0x2f3)](_0x386f9b))return this['_clearScheduledTask'](),this[_0x152acb(0x2b7)][_0x152acb(0x427)](Q,this['unitID'],this[_0x152acb(0x17c)],this[_0x152acb(0x41a)],[],null,[_0x386f9b],this['_handler']);try{const _0x4eb6ed=this[_0x152acb(0x2b3)]['transformChangesets']([_0x386f9b],[this['_awaitingChangeset']],!0x1);if(_0x382369(_0x4eb6ed)){const {c1Prime:_0x25981d,c2Prime:_0x14cda0}=_0x4eb6ed;this[_0x152acb(0x39f)](_0x25981d[0x0]),_0x14cda0[0x0][_0x152acb(0x23b)]=this[_0x152acb(0x1f4)](),this[_0x152acb(0x1bb)]();const _0x341d97=this[_0x152acb(0x2b7)]['createInstance'](_e,this[_0x152acb(0x3fa)],this[_0x152acb(0x17c)],_0x14cda0[0x0],this[_0x152acb(0x3d3)]);return _0x341d97[_0x152acb(0x1b2)](),_0x341d97;}return this[_0x152acb(0x3f4)](!0x1);}catch(_0x48b017){return this[_0x152acb(0x254)][_0x152acb(0x197)](_0x48b017),this['_onConflict'](!0x1);}}[_0x1bf9e4(0x245)](_0x3378a2){var _0x55cf05=_0x1bf9e4;this[_0x55cf05(0x1bb)]();const _0x10b159=this[_0x55cf05(0x1ef)]['getCurrentRevOfUnit'](this[_0x55cf05(0x3fa)]);if(_0x3378a2['revision']<_0x10b159-0x1)return this;if(this['_checkMissing'](_0x3378a2))return this[_0x55cf05(0x2b7)][_0x55cf05(0x427)](Q,this[_0x55cf05(0x3fa)],this['type'],null,[],this[_0x55cf05(0x41a)],[],this[_0x55cf05(0x3d3)]);this[_0x55cf05(0x390)]();const _0x4aa2dd=this[_0x55cf05(0x2b7)][_0x55cf05(0x427)](ye,this[_0x55cf05(0x3fa)],this[_0x55cf05(0x17c)],this[_0x55cf05(0x3d3)]);return _0x4aa2dd[_0x55cf05(0x1b2)](),_0x4aa2dd;}[_0x1bf9e4(0x346)](_0x60b122){var _0x307e45=_0x1bf9e4;return this['_onConflict'](!!(_0x60b122!=null&&_0x60b122[_0x307e45(0x2a1)]));}[_0x1bf9e4(0x31d)](_0x3bf296){var _0x3e08b4=_0x1bf9e4;return this[_0x3e08b4(0x173)]>Ci?this[_0x3e08b4(0x34f)]():(this[_0x3e08b4(0x18f)]=Ii(this[_0x3e08b4(0x173)],{'timeout':this[_0x3e08b4(0x173)],'reqId':_0x3bf296['reqId']}),this['_sender']=this[_0x3e08b4(0x18f)][_0x3e08b4(0x262)](({reqId:_0x38cfac,timeout:_0x17ebc1})=>{var _0x6fc382=_0x3e08b4;this[_0x6fc382(0x2a5)](_0x38cfac,_0x17ebc1);}),this);}[_0x1bf9e4(0x34f)](){var _0x3a9cff=_0x1bf9e4;return this[_0x3a9cff(0x1bb)](),this[_0x3a9cff(0x2b7)][_0x3a9cff(0x427)](ue,this[_0x3a9cff(0x3fa)],this[_0x3a9cff(0x17c)],this['_awaitingChangeset'],[],this[_0x3a9cff(0x3d3)]);}[_0x1bf9e4(0x279)](){return this;}[_0x1bf9e4(0x1e2)](){var _0x5486d3=_0x1bf9e4;this[_0x5486d3(0x3d3)][_0x5486d3(0x38a)](this[_0x5486d3(0x41a)]);}[_0x1bf9e4(0x3f4)](_0x301964){var _0x33650e=_0x1bf9e4;return this[_0x33650e(0x1bb)](),this[_0x33650e(0x2b7)][_0x33650e(0x427)](le,this[_0x33650e(0x3fa)],this[_0x33650e(0x17c)],this['_awaitingChangeset'],[],this['_handler'],_0x301964);}[_0x1bf9e4(0x2a5)](_0x3ca7ce,_0x4f6e31){var _0x1bf745=_0x1bf9e4,_0x165a00;_0x3ca7ce===((_0x165a00=this[_0x1bf745(0x41a)])==null?void 0x0:_0x165a00[_0x1bf745(0x1f8)])&&(this[_0x1bf745(0x1e2)](),this[_0x1bf745(0x173)]=_0x4f6e31===0x0?0x3e8:_0x4f6e31*0x2);}[_0x1bf9e4(0x1bb)](){var _0x57d61f=_0x1bf9e4,_0x315d6d;(_0x315d6d=this[_0x57d61f(0x2c1)])==null||_0x315d6d[_0x57d61f(0x2e1)](),this[_0x57d61f(0x173)]=0x0;}};_e=Ie([P(0x4,_0x1eb2b7(_0x3ba5a5)),P(0x5,_0x1eb2b7(_0x3169f6)),P(0x6,_0x163994),P(0x7,_0x4020c),P(0x8,_0xaa4b07),P(0x9,_0x3aa1c3),P(0xa,_0x471747(J))],_e);let ae=class extends Te{constructor(_0x1cdeda,_0x41a42a,_0x120c0c,_0x41b4cc,_0x10dad9,_0x4a95b5,_0x31a3df,_0x3da7ac,_0x7af350,_0x7dba86,_0xce256a,_0xabe2a6,_0x2dc27d){var _0x2423a1=_0x1bf9e4;super(_0x1cdeda,_0x41a42a,_0x120c0c,_0x41b4cc,_0x10dad9,_0x7af350,_0xabe2a6,_0x3da7ac,_0x2dc27d),N(this,_0x2423a1(0x412),_0x2423a1(0x2e6)),N(this,_0x2423a1(0x173),0x0),N(this,_0x2423a1(0x18f)),N(this,_0x2423a1(0x2c1)),(this[_0x2423a1(0x2b7)]=_0x31a3df,this[_0x2423a1(0x254)]=_0x7dba86,this[_0x2423a1(0x2b3)]=_0xce256a,this['localCacheService']=_0x2dc27d,_0x4a95b5&&(this[_0x2423a1(0x18f)]=_0x4a95b5,this[_0x2423a1(0x2c1)]=this[_0x2423a1(0x18f)][_0x2423a1(0x262)](({reqId:_0x285bd2,timeout:_0x1688ae})=>{this['_resendWithTimeout'](_0x285bd2,_0x1688ae);})));}[_0x1bf9e4(0x3f7)](_0x3b8317){var _0x269c4c=_0x1bf9e4;return this[_0x269c4c(0x32d)][_0x269c4c(0x284)](_0x3b8317),this;}[_0x1bf9e4(0x435)](_0x408e0b){var _0x39536d=_0x1bf9e4;if(this[_0x39536d(0x2f3)](_0x408e0b))return this['_clearScheduledTask'](),this['_injector'][_0x39536d(0x427)](Q,this[_0x39536d(0x3fa)],this['type'],this[_0x39536d(0x41a)],this[_0x39536d(0x32d)],null,[_0x408e0b],this[_0x39536d(0x3d3)]);try{const _0xa92da9=this['_transformService'][_0x39536d(0x20e)]([_0x408e0b],[this[_0x39536d(0x41a)]],!0x1);if(_0x382369(_0xa92da9)){const {c1Prime:_0x2f4da9,c2Prime:_0x151448}=_0xa92da9,_0x1ee2a3=this[_0x39536d(0x2b3)]['transformMutationsWithChangeset'](_0x2f4da9[0x0],this['_pendingMutations']);if(_0x164c96(_0x1ee2a3)){const {c1Prime:_0x211632,m2Prime:_0x6b7b7b}=_0x1ee2a3;return this[_0x39536d(0x39f)](_0x211632),_0x151448[0x0][_0x39536d(0x23b)]=this['_getCurrentRevision'](),this[_0x39536d(0x1bb)](),this[_0x39536d(0x2b7)][_0x39536d(0x427)](ae,this[_0x39536d(0x3fa)],this[_0x39536d(0x17c)],_0x151448[0x0],_0x6b7b7b,this[_0x39536d(0x3d3)],void 0x0);}throw _0x1ee2a3[_0x39536d(0x197)];}throw _0xa92da9['error'];}catch(_0x348072){return this['_logService'][_0x39536d(0x197)](_0x348072),this[_0x39536d(0x3f4)](!0x1);}}['onRemoteAck'](_0x2759c7){var _0x3fc581=_0x1bf9e4;if(this[_0x3fc581(0x1bb)](),this[_0x3fc581(0x2f3)](_0x2759c7))return this[_0x3fc581(0x2b7)][_0x3fc581(0x427)](Q,this[_0x3fc581(0x3fa)],this[_0x3fc581(0x17c)],null,this['_pendingMutations'],this[_0x3fc581(0x41a)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x2911e5=this[_0x3fc581(0x2b7)][_0x3fc581(0x427)](re,this[_0x3fc581(0x3fa)],this[_0x3fc581(0x17c)],this['_pendingMutations'],this['_handler']);return _0x2911e5['_schedule'](),_0x2911e5[_0x3fc581(0x1b2)](),_0x2911e5;}['onRemoteRej'](_0x1c00b9){return this['_onConflict'](!!(_0x1c00b9!=null&&_0x1c00b9['isPermissionRej']));}['onRemoteRetry'](_0x32f0a8){var _0xed1eb8=_0x1bf9e4;return this['_resendTimeout']>Ci?this[_0xed1eb8(0x34f)]():(this['_resendTimer']=Ii(this[_0xed1eb8(0x173)],{'timeout':this[_0xed1eb8(0x173)],'reqId':_0x32f0a8[_0xed1eb8(0x1f8)]}),this[_0xed1eb8(0x2c1)]=this[_0xed1eb8(0x18f)][_0xed1eb8(0x262)](({reqId:_0x2256bc,timeout:_0x3e0922})=>{var _0x130f4b=_0xed1eb8;this[_0x130f4b(0x2a5)](_0x2256bc,_0x3e0922);}),this);}[_0x1bf9e4(0x34f)](){var _0x559878=_0x1bf9e4;return this['_clearScheduledTask'](),this[_0x559878(0x2b7)]['createInstance'](ue,this['unitID'],this[_0x559878(0x17c)],this[_0x559878(0x41a)],this[_0x559878(0x32d)],this['_handler']);}[_0x1bf9e4(0x279)](){return this;}[_0x1bf9e4(0x1e2)](){var _0x266163=_0x1bf9e4;this[_0x266163(0x3d3)][_0x266163(0x38a)](this[_0x266163(0x41a)]);}[_0x1bf9e4(0x3f4)](_0x2850c6){var _0x3c5643=_0x1bf9e4;return this[_0x3c5643(0x1bb)](),this[_0x3c5643(0x2b7)][_0x3c5643(0x427)](le,this[_0x3c5643(0x3fa)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x2850c6);}['_resendWithTimeout'](_0x5cf7f6,_0x14a37f){var _0x3aead3=_0x1bf9e4,_0x2cdc2a;_0x5cf7f6===((_0x2cdc2a=this[_0x3aead3(0x41a)])==null?void 0x0:_0x2cdc2a[_0x3aead3(0x1f8)])&&(this[_0x3aead3(0x1e2)](),this['_resendTimeout']=_0x14a37f===0x0?0x3e8:_0x14a37f*0x2);}[_0x1bf9e4(0x1bb)](){var _0x1743ff=_0x1bf9e4,_0x272e6b;(_0x272e6b=this['_sender'])==null||_0x272e6b[_0x1743ff(0x2e1)](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x1eb2b7(_0x3ba5a5)),P(0x7,_0x1eb2b7(_0x3169f6)),P(0x8,_0x163994),P(0x9,_0x4020c),P(0xa,_0xaa4b07),P(0xb,_0x3aa1c3),P(0xc,_0x471747(J))],ae);let le=class extends Te{constructor(_0x4a0e19,_0xc16e3b,_0x20d444,_0x411a84,_0x305316,_0x52873a=!0x1,_0x5ae673,_0x36b822,_0x44b8aa,_0x26c783,_0x329b9d,_0x1432e8,_0x124504){var _0x351647=_0x1bf9e4;super(_0x4a0e19,_0xc16e3b,_0x20d444,_0x411a84,_0x305316,_0x36b822,_0x44b8aa,_0x26c783,_0x124504),N(this,_0x351647(0x412),_0x351647(0x40d)),(this[_0x351647(0x217)]=_0x52873a,this[_0x351647(0x26e)]=_0x5ae673,this['_localeService']=_0x329b9d,this['_collaborationUIEventService']=_0x1432e8,this[_0x351647(0x33b)]=_0x124504,this['_showConflictNotification'](),this[_0x351647(0x333)](),this[_0x351647(0x185)]());}[_0x1bf9e4(0x3f7)](){return this;}[_0x1bf9e4(0x435)](){return this;}['onRemoteAck'](){return this;}[_0x1bf9e4(0x346)](){return this;}[_0x1bf9e4(0x31d)](){return this;}[_0x1bf9e4(0x34f)](){return this;}[_0x1bf9e4(0x279)](){return this;}['resend'](){var _0x1ce805=_0x1bf9e4;throw new Error(_0x1ce805(0x2fb));}[_0x1bf9e4(0x333)](){var _0x1a4a1f=_0x1bf9e4,_0x3c615e;(_0x3c615e=this['_localCacheService'])==null||_0x3c615e['updateOfflineData'](this['unitID'],this[_0x1a4a1f(0x17c)],null,[]);}[_0x1bf9e4(0x268)](){var _0x40d625=_0x1bf9e4;this[_0x40d625(0x217)]?this[_0x40d625(0x203)][_0x40d625(0x463)]({'id':ne[_0x40d625(0x411)]}):this[_0x40d625(0x203)][_0x40d625(0x463)]({'id':ne[_0x40d625(0x45b)]});}[_0x1bf9e4(0x185)](){var _0x199fbd=_0x1bf9e4;this[_0x199fbd(0x26e)][_0x199fbd(0x27a)](new _0x158a95(this[_0x199fbd(0x3fa)])['id'],!0x1);}};le=Ie([P(0x6,_0x1eb2b7(_0x4eca75)),P(0x7,_0x163994),P(0x8,_0x3aa1c3),P(0x9,_0x1eb2b7(_0x3169f6)),P(0xa,_0x1eb2b7(_0x5855e2)),P(0xb,_0x1eb2b7(ve)),P(0xc,_0x471747(J))],le);let ue=class extends Te{constructor(_0x5d8175,_0x5aa9b0,_0x1715d3,_0x59f6db,_0x3aa219,_0x49b672,_0x323f,_0x2518e3,_0x58062a,_0x10a23e){var _0x51800b=_0x1bf9e4;super(_0x5d8175,_0x5aa9b0,_0x1715d3,_0x59f6db,_0x3aa219,_0x2518e3,_0x58062a,_0x323f,_0x10a23e),N(this,_0x51800b(0x412),_0x51800b(0x42f)),this[_0x51800b(0x2b7)]=_0x49b672;}[_0x1bf9e4(0x3f7)](_0xd3d1a3){var _0x599ca4=_0x1bf9e4;return this[_0x599ca4(0x32d)][_0x599ca4(0x284)](_0xd3d1a3),this[_0x599ca4(0x1b2)](),this;}[_0x1bf9e4(0x435)](_0x454116){var _0x345598=_0x1bf9e4;throw new Error(_0x345598(0x215));}['onRemoteAck'](){var _0x520e97=_0x1bf9e4;throw new Error(_0x520e97(0x21d));}[_0x1bf9e4(0x346)](){var _0x492514=_0x1bf9e4;throw new Error(_0x492514(0x2d7));}[_0x1bf9e4(0x31d)](){return this;}[_0x1bf9e4(0x34f)](){return this;}[_0x1bf9e4(0x279)](){var _0x5c7a4d=_0x1bf9e4;const {_injector:_0x16df52,_pendingMutations:_0x3cbe51,_awaitingChangeset:_0x5812b7,unitID:_0x5925dd,_handler:_0x3688cc,type:_0x3c2300}=this,_0x20f991=Ri(_0x16df52,_0x5925dd,_0x3c2300,_0x5812b7,_0x3cbe51,_0x3688cc);return _0x20f991 instanceof re?_0x20f991[_0x5c7a4d(0x38c)]():(_0x20f991 instanceof ae||_0x20f991 instanceof _e)&&_0x20f991[_0x5c7a4d(0x1e2)](),_0x20f991;}['resend'](){var _0x152961=_0x1bf9e4;throw new Error(_0x152961(0x265));}};ue=Ie([P(0x5,_0x1eb2b7(_0x3ba5a5)),P(0x6,_0x1eb2b7(_0x3169f6)),P(0x7,_0x163994),P(0x8,_0x3aa1c3),P(0x9,_0x471747(J))],ue);let Q=class extends Te{constructor(_0x4673f2,_0xf4ba13,_0x1be4b4,_0x2483bb,_0x36a20b,_0x129a72,_0x2c405e,_0x4788f9,_0x5bbacf,_0x1b7db7,_0x39e390,_0x1dc1f7,_0x1788d1,_0xc5311){var _0x4babe9=_0x1bf9e4;super(_0x4673f2,_0xf4ba13,_0x1be4b4,_0x2483bb,_0x2c405e,_0x39e390,_0x1dc1f7,_0x5bbacf,_0xc5311),N(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x36a20b,this['_queuedRemoteChangesets']=_0x129a72,this['_injector']=_0x4788f9,this[_0x4babe9(0x254)]=_0x1b7db7,this['_transformService']=_0x1788d1,this[_0x4babe9(0x33b)]=_0xc5311);}[_0x1bf9e4(0x290)](_0x147533){var _0x4aed35=_0x1bf9e4;try{const _0x2eab5f=[..._0x147533,...this[_0x4aed35(0x371)]],_0x5eea61=[this[_0x4aed35(0x41a)]||this[_0x4aed35(0x23f)]][_0x4aed35(0x1ae)](_0x4683fe=>!!_0x4683fe);let _0x36d396,_0x38aceb;if(_0x5eea61['length']){const _0x5e7126=this[_0x4aed35(0x2b3)][_0x4aed35(0x20e)](_0x2eab5f,_0x5eea61,!0x1);if(!_0x382369(_0x5e7126))throw _0x5e7126['error'];_0x36d396=_0x5e7126[_0x4aed35(0x1c1)],_0x38aceb=_0x5e7126['c2Prime'];}else _0x36d396=_0x2eab5f,_0x38aceb=[];let _0x598c29=this[_0x4aed35(0x32d)];_0x36d396[_0x4aed35(0x33a)](_0x266768=>{var _0x9e0246=_0x4aed35;let _0x4b348a;if(_0x598c29[_0x9e0246(0x2fd)]){const _0x262893=this['_transformService'][_0x9e0246(0x210)](_0x266768,_0x598c29);if(!_0x164c96(_0x262893))throw _0x262893[_0x9e0246(0x197)];_0x4b348a=_0x262893[_0x9e0246(0x1c1)],_0x598c29=_0x262893[_0x9e0246(0x34c)];}else _0x4b348a=_0x266768;this[_0x9e0246(0x39f)](_0x4b348a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4aed35(0x390)](),this['_awaitingChangeset']&&_0x38aceb['length']&&(_0x38aceb[0x0][_0x4aed35(0x23b)]=this[_0x4aed35(0x1f4)]());let _0x4ea161;if(this[_0x4aed35(0x41a)]&&_0x598c29['length']!==0x0)_0x4ea161=this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](ae,this[_0x4aed35(0x3fa)],this[_0x4aed35(0x17c)],_0x38aceb[0x0],_0x598c29,this[_0x4aed35(0x3d3)],void 0x0);else{if(this[_0x4aed35(0x41a)]&&_0x598c29['length']===0x0)_0x38aceb[0x0][_0x4aed35(0x23b)]=this['_getCurrentRevision'](),_0x4ea161=this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](_e,this['unitID'],this['type'],_0x38aceb[0x0],this[_0x4aed35(0x3d3)]);else{if(_0x598c29[_0x4aed35(0x2fd)]!==0x0){const _0x35cfda=this['_injector'][_0x4aed35(0x427)](re,this[_0x4aed35(0x3fa)],this[_0x4aed35(0x17c)],_0x598c29,this[_0x4aed35(0x3d3)]);_0x35cfda['_schedule'](),_0x4ea161=_0x35cfda;}else _0x4ea161=this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](ye,this[_0x4aed35(0x3fa)],this['type'],this['_handler']);}}return _0x4ea161['_updateLocalCache'](),_0x4ea161;}catch(_0x3dd6a7){return this[_0x4aed35(0x254)]['error'](_0x4aed35(0x2df),_0x4aed35(0x417),_0x3dd6a7),this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](le,this[_0x4aed35(0x3fa)],this['type'],this[_0x4aed35(0x41a)],this[_0x4aed35(0x32d)],this[_0x4aed35(0x3d3)],!0x1);}}[_0x1bf9e4(0x1e2)](){var _0x541683=_0x1bf9e4;throw new Error(_0x541683(0x300));}['appendMutation'](_0x3bd008){var _0x1c29cb=_0x1bf9e4;return this[_0x1c29cb(0x32d)][_0x1c29cb(0x284)](_0x3bd008),this;}[_0x1bf9e4(0x435)](_0x134fba){return this['_queuedRemoteChangesets']['push'](_0x134fba),this;}[_0x1bf9e4(0x245)](_0x34b5e7){var _0xb6c133=_0x1bf9e4;if(this['_awaitingChangeset'])return this[_0xb6c133(0x23f)]=this[_0xb6c133(0x41a)],this[_0xb6c133(0x41a)]=null,this;throw new Error(_0xb6c133(0x3a2));}[_0x1bf9e4(0x346)](_0x11448d){var _0x4a516c=_0x1bf9e4;return this[_0x4a516c(0x3f4)](!!(_0x11448d!=null&&_0x11448d[_0x4a516c(0x2a1)]));}['onRemoteRetry'](){return this;}[_0x1bf9e4(0x34f)](){var _0x1f87ca=_0x1bf9e4;return this[_0x1f87ca(0x2b7)][_0x1f87ca(0x427)](ue,this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1f87ca(0x3d3)]);}[_0x1bf9e4(0x279)](){return this;}[_0x1bf9e4(0x3f4)](_0x307df4){var _0x2225e4=_0x1bf9e4;return this[_0x2225e4(0x2b7)]['createInstance'](le,this[_0x2225e4(0x3fa)],this[_0x2225e4(0x17c)],this[_0x2225e4(0x41a)],this['_pendingMutations'],this['_handler'],_0x307df4);}};Q=Ie([P(0x7,_0x1eb2b7(_0x3ba5a5)),P(0x8,_0x1eb2b7(_0x3169f6)),P(0x9,_0x4020c),P(0xa,_0x163994),P(0xb,_0x3aa1c3),P(0xc,_0xaa4b07),P(0xd,_0x471747(J))],Q);function Ri(_0x4fc218,_0x3197c0,_0x148d55,_0x5a3cba,_0x59fd83,_0x18fbde){var _0x4a94e3=_0x1bf9e4;return _0x5a3cba&&_0x59fd83['length']?_0x4fc218[_0x4a94e3(0x427)](ae,_0x3197c0,_0x148d55,_0x5a3cba,_0x59fd83,_0x18fbde,void 0x0):_0x5a3cba?_0x4fc218[_0x4a94e3(0x427)](_e,_0x3197c0,_0x148d55,_0x5a3cba,_0x18fbde):_0x59fd83[_0x4a94e3(0x2fd)]?_0x4fc218[_0x4a94e3(0x427)](re,_0x3197c0,_0x148d55,_0x59fd83,_0x18fbde):_0x4fc218['createInstance'](ye,_0x3197c0,_0x148d55,_0x18fbde);}var Zs=Object[_0x1bf9e4(0x241)],wt=(_0x5c0a93,_0x1618ce,_0x14a9bb,_0x40b043)=>{var _0x3735e0=_0x1bf9e4;for(var _0x56a934=_0x40b043>0x1?void 0x0:_0x40b043?Zs(_0x1618ce,_0x14a9bb):_0x1618ce,_0x3da3a9=_0x5c0a93[_0x3735e0(0x2fd)]-0x1,_0x42719d;_0x3da3a9>=0x0;_0x3da3a9--)(_0x42719d=_0x5c0a93[_0x3da3a9])&&(_0x56a934=_0x42719d(_0x56a934)||_0x56a934);return _0x56a934;},H=(_0x49c4f7,_0x5d7f61)=>(_0x3d72a5,_0x18c3e9)=>_0x5d7f61(_0x3d72a5,_0x18c3e9,_0x49c4f7);let st=class extends _0x3f1edd{constructor(_0xe4634b,_0x2500e9,_0xc850b2,_0x364070,_0x56ac9e,_0x276c1d,_0x28ee7e,_0x175990,_0x12c9d0,_0x406e0f,_0x447738,_0x59485f,_0x38d44d){var _0xeb6c4b=_0x1bf9e4;super(),N(this,_0xeb6c4b(0x33d),new _0x320cd9(null)),N(this,_0xeb6c4b(0x310),this[_0xeb6c4b(0x33d)]['asObservable']()),N(this,_0xeb6c4b(0x192)),N(this,_0xeb6c4b(0x38b),!0x1),N(this,_0xeb6c4b(0x414),''),N(this,_0xeb6c4b(0x39d),0x0),N(this,_0xeb6c4b(0x303),this[_0xeb6c4b(0x310)]['pipe'](_0x4427f2(_0x3b3f58=>_0x3b3f58?_0x3b3f58[_0xeb6c4b(0x412)]:Ti[_0xeb6c4b(0x342)]),_0x2393d1(0x1))),N(this,_0xeb6c4b(0x207),!0x1),N(this,_0xeb6c4b(0x3c4),[]),(this[_0xeb6c4b(0x3fa)]=_0xe4634b,this[_0xeb6c4b(0x3d1)]=_0x2500e9,this['_type']=_0xc850b2,this[_0xeb6c4b(0x2b7)]=_0x364070,this[_0xeb6c4b(0x24b)]=_0x56ac9e,this[_0xeb6c4b(0x1c9)]=_0x276c1d,this[_0xeb6c4b(0x1ef)]=_0x28ee7e,this['_eventService']=_0x175990,this['_logService']=_0x12c9d0,this['_commandService']=_0x406e0f,this[_0xeb6c4b(0x26e)]=_0x447738,this[_0xeb6c4b(0x320)]=_0x59485f,this[_0xeb6c4b(0x2c0)]=_0x38d44d);}get[_0x1bf9e4(0x2a7)](){return this['_state'];}async[_0x1bf9e4(0x299)](){var _0x130240=_0x1bf9e4;if(this[_0x130240(0x2a7)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x130240(0x223)]();}[_0x1bf9e4(0x271)](){return this['_collaborationPaused']=!0x0,_0x4c9abc(()=>{var _0x3cb9f6=_0xcbfd;this['_collaborationPaused']=!0x1,this[_0x3cb9f6(0x1c6)]();});}[_0x1bf9e4(0x264)](_0x2894f9){var _0x18082b=_0x1bf9e4;this[_0x18082b(0x380)](_0x2894f9);}[_0x1bf9e4(0x19d)](_0x42645b){var _0x2b4969=_0x1bf9e4;this[_0x2b4969(0x192)]=_0x42645b,this[_0x2b4969(0x33d)][_0x2b4969(0x232)](_0x42645b);}async[_0x1bf9e4(0x223)](){var _0x5069a3=_0x1bf9e4,_0x19b6ba;this['_updateState'](await this[_0x5069a3(0x2af)]()),this['_singleActiveUnitService']&&((_0x19b6ba=this[_0x5069a3(0x320)])==null||_0x19b6ba['editingUnit'](this[_0x5069a3(0x3fa)]),this[_0x5069a3(0x437)](this[_0x5069a3(0x320)]['getUnitStatus$'](this[_0x5069a3(0x3fa)])[_0x5069a3(0x262)](_0x26443b=>{var _0x5b7b94=_0x5069a3;this['_logService']['debug'](_0x5b7b94(0x2da),_0x5b7b94(0x1b1),_0x26443b),_0x26443b===Ei[_0x5b7b94(0x260)]?(this[_0x5b7b94(0x376)][_0x5b7b94(0x463)]({'id':ne[_0x5b7b94(0x164)]}),this[_0x5b7b94(0x26e)][_0x5b7b94(0x27a)](new _0x158a95(this[_0x5b7b94(0x3fa)])['id'],!0x1),this[_0x5b7b94(0x26e)][_0x5b7b94(0x2ca)](!0x1)):(this[_0x5b7b94(0x26e)][_0x5b7b94(0x27a)](new _0x158a95(this[_0x5b7b94(0x3fa)])['id'],!0x0),this[_0x5b7b94(0x26e)][_0x5b7b94(0x2ca)](!0x0));})));let _0x8ecd6a=!0x1;return this[_0x5069a3(0x437)](this[_0x5069a3(0x3d1)][_0x5069a3(0x25b)][_0x5069a3(0x262)](_0x242871=>{var _0x65a3f5=_0x5069a3;_0x242871===Se['ONLINE']?this['_toggleOnline'](_0x8ecd6a):_0x242871===Se[_0x65a3f5(0x342)]&&(_0x8ecd6a=!0x0,this[_0x65a3f5(0x1d6)]());})),this[_0x5069a3(0x437)](this['session'][_0x5069a3(0x1ca)][_0x5069a3(0x262)](_0x20a527=>{var _0x493ccf=_0x5069a3;try{switch(_0x20a527[_0x493ccf(0x438)]){case _0x40976b['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0xdc4ddf(_0x20a527[_0x493ccf(0x1c7)]));break;}case _0x40976b[_0x493ccf(0x3fc)]:{this[_0x493ccf(0x282)](_0x20a527['data']);break;}case _0x40976b[_0x493ccf(0x443)]:{this['_onRemoteRejected']();break;}case _0x40976b[_0x493ccf(0x42c)]:{this[_0x493ccf(0x3cf)](_0x20a527[_0x493ccf(0x1c7)]);break;}case _0x40976b['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x20a527[_0x493ccf(0x1c7)][_0x493ccf(0x1b5)][_0x493ccf(0x2aa)](_0x567407=>_0xdc4ddf(_0x567407)));break;}case _0x40976b[_0x493ccf(0x200)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x40976b[_0x493ccf(0x2ea)]:break;}}catch(_0x5ba6ab){throw console[_0x493ccf(0x197)](_0x493ccf(0x3ba),_0x5ba6ab),_0x5ba6ab;}})),this[_0x5069a3(0x192)];}[_0x1bf9e4(0x340)](){var _0x15e9ed=_0x1bf9e4;this[_0x15e9ed(0x207)]=!0x1;}[_0x1bf9e4(0x17e)](){var _0x4671e1=_0x1bf9e4;if(this[_0x4671e1(0x207)])throw new Error(_0x4671e1(0x239));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x2a79b6){var _0x3f76f0=_0x1bf9e4;this[_0x3f76f0(0x17e)](),this[_0x3f76f0(0x19d)](this[_0x3f76f0(0x192)][_0x3f76f0(0x3f7)](_0x2a79b6)),this[_0x3f76f0(0x340)]();}['_onRemoteChangeset'](_0x765ead){var _0x154ea8=_0x1bf9e4;if(!(_0x765ead[_0x154ea8(0x1c0)]<=this[_0x154ea8(0x1ef)]['getCurrentRevOfUnit'](this[_0x154ea8(0x3fa)]))){if(this[_0x154ea8(0x38b)]){this[_0x154ea8(0x3c4)][_0x154ea8(0x284)](_0x765ead);return;}this[_0x154ea8(0x176)](_0x765ead);}}[_0x1bf9e4(0x1c6)](){var _0x5cc465=_0x1bf9e4;this[_0x5cc465(0x3c4)][_0x5cc465(0x33a)](_0x19a6f4=>this[_0x5cc465(0x176)](_0x19a6f4)),this['_remoteChangesetQueue']=[];}[_0x1bf9e4(0x176)](_0xc4a893){var _0x4faf4d=_0x1bf9e4;const _0x40b851=this[_0x4faf4d(0x24b)]['interceptor'][_0x4faf4d(0x2dd)](this[_0x4faf4d(0x24b)][_0x4faf4d(0x314)][_0x4faf4d(0x3f2)]()[_0x4faf4d(0x250)])(_0xc4a893[_0x4faf4d(0x3a6)],null)||_0xc4a893['mutations'],_0x41908b={..._0xc4a893,'mutations':_0x40b851};this['_lockTransition'](),this[_0x4faf4d(0x19d)](this['_state'][_0x4faf4d(0x435)](_0x41908b)),this[_0x4faf4d(0x340)]();}[_0x1bf9e4(0x282)](_0x5f18e7){var _0x51fb4d=_0x1bf9e4;this[_0x51fb4d(0x17e)](),this[_0x51fb4d(0x19d)](this[_0x51fb4d(0x192)][_0x51fb4d(0x245)](_0x5f18e7)),this[_0x51fb4d(0x340)]();}[_0x1bf9e4(0x44c)](_0x49b914){var _0x210bd9=_0x1bf9e4;this[_0x210bd9(0x17e)](),this[_0x210bd9(0x19d)](this['_state']['onRemoteRej'](_0x49b914)),this['_unlockTransition']();}[_0x1bf9e4(0x3cf)](_0x230837){var _0x22417f=_0x1bf9e4;this['_lockTransition'](),this[_0x22417f(0x19d)](this[_0x22417f(0x192)][_0x22417f(0x31d)](_0x230837)),this['_unlockTransition']();}['_onFetchMissResult'](_0x31440a){var _0x11083a=_0x1bf9e4;if(!(this[_0x11083a(0x192)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x408702=_0x31440a[_0x11083a(0x2aa)](_0x9c35fb=>{var _0x5393f6=_0x11083a;const _0x443843=this['_compressMutationService'][_0x5393f6(0x314)][_0x5393f6(0x2dd)](this[_0x5393f6(0x24b)][_0x5393f6(0x314)][_0x5393f6(0x3f2)]()[_0x5393f6(0x250)])(_0x9c35fb[_0x5393f6(0x3a6)],null)||_0x9c35fb[_0x5393f6(0x3a6)];return{..._0x9c35fb,'mutations':_0x443843};});this[_0x11083a(0x17e)](),this['_updateState'](this['_state'][_0x11083a(0x290)](_0x408702)),this[_0x11083a(0x340)]();}[_0x1bf9e4(0x1d6)](){var _0x1eb787=_0x1bf9e4;this['_lockTransition'](),this[_0x1eb787(0x19d)](this[_0x1eb787(0x192)][_0x1eb787(0x34f)]()),this[_0x1eb787(0x340)]();}['_toggleOnline'](_0x57f7d8=!0x1){var _0xb1ce68=_0x1bf9e4;this[_0xb1ce68(0x17e)](),this['_updateState'](this['_state'][_0xb1ce68(0x279)]()),this[_0xb1ce68(0x340)]();const _0x44e816=this[_0xb1ce68(0x192)];_0x57f7d8&&_0x44e816 instanceof ye&&(this[_0xb1ce68(0x17e)](),this[_0xb1ce68(0x19d)](_0x44e816['fetchMiss']()),this[_0xb1ce68(0x340)]());}async[_0x1bf9e4(0x2af)](){return new Promise(_0x15250e=>{var _0x5408be=_0xcbfd;this[_0x5408be(0x3d1)][_0x5408be(0x25b)][_0x5408be(0x29b)](_0x19b6b3(0x1))[_0x5408be(0x262)](async _0x339716=>{var _0x29d3cd=_0x5408be;_0x15250e(await this[_0x29d3cd(0x399)](_0x339716===Se[_0x29d3cd(0x402)]));});});}['_createHandler'](){const _0x4b412f=this['unitID'];return{'onStateChange':(_0x31fb48,_0x5346f2)=>{var _0x131f05=_0xcbfd;if(_0x31fb48!==this[_0x131f05(0x192)])throw new Error(_0x131f05(0x1ee)+_0x31fb48[_0x131f05(0x412)]+_0x131f05(0x351)+_0x5346f2[_0x131f05(0x412)]+_0x131f05(0x25e)+this[_0x131f05(0x192)][_0x131f05(0x412)]);this[_0x131f05(0x19d)](_0x5346f2);},'onSendChangeset':_0xba863a=>{var _0x3c8f07=_0xcbfd;_0xba863a[_0x3c8f07(0x3e4)]||(_0xba863a[_0x3c8f07(0x3e4)]=this['_changesetSessionId'],_0xba863a[_0x3c8f07(0x1f8)]=++this[_0x3c8f07(0x39d)]);const _0x6a697a={'eventID':_0x40976b[_0x3c8f07(0x2c3)],'data':{'unitID':_0xba863a['unitID'],'unitType':this[_0x3c8f07(0x17a)],'changeset':_0xba863a,'memberID':this[_0x3c8f07(0x3d1)][_0x3c8f07(0x174)]()}};this[_0x3c8f07(0x3d1)]['send'](_0x6a697a,this['unitID']);},'onMissingChangesets':({from:_0x300283,to:_0x4c38ac})=>{var _0x2e81e6=_0xcbfd;this['_logService']['debug'](_0x2e81e6(0x2da),_0x2e81e6(0x1b7)+_0x300283+_0x2e81e6(0x3b9)+_0x4c38ac);const _0x173bac={'eventID':_0x40976b['FETCH_MISSING'],'data':{'unitID':_0x4b412f,'unitType':this[_0x2e81e6(0x17a)],'from':_0x300283,'to':_0x4c38ac}};this[_0x2e81e6(0x3d1)][_0x2e81e6(0x2ba)](_0x173bac,this['unitID']);}};}async['_createInitialStateImpl'](_0x702305){var _0xd5a06d=_0x1bf9e4,_0x13698f,_0x5ab064,_0x116a3e;const _0x1092ce=await((_0x13698f=this[_0xd5a06d(0x2c0)])==null?void 0x0:_0x13698f[_0xd5a06d(0x31c)](this[_0xd5a06d(0x3fa)])),_0x380d1b=(_0x5ab064=_0x1092ce==null?void 0x0:_0x1092ce['mutations'])!=null?_0x5ab064:[],_0x353f31=(_0x116a3e=_0x1092ce==null?void 0x0:_0x1092ce[_0xd5a06d(0x22a)])!=null?_0x116a3e:null,_0x330587=!!(_0x353f31!=null&&_0x353f31['sid'])&&!!(_0x353f31!=null&&_0x353f31[_0xd5a06d(0x1f8)]);this[_0xd5a06d(0x414)]=_0x330587?_0x353f31['sid']:_0x1e371c(),this[_0xd5a06d(0x39d)]=_0x330587?_0x353f31[_0xd5a06d(0x1f8)]:0x0;const _0x11c6e7=this['unitID'];try{this[_0xd5a06d(0x1db)](_0x353f31,_0x380d1b);}catch(_0x36b4a1){this[_0xd5a06d(0x254)]['error'](_0x36b4a1);}const _0x1d920b=this[_0xd5a06d(0x366)]();if(_0x702305){const _0x15bcb8=Ri(this[_0xd5a06d(0x2b7)],_0x11c6e7,this[_0xd5a06d(0x17a)],_0x353f31,_0x380d1b,_0x1d920b);return _0x15bcb8 instanceof re?_0x15bcb8[_0xd5a06d(0x38c)]():(_0x15bcb8 instanceof ae||_0x15bcb8 instanceof _e)&&_0x15bcb8['resend'](),_0x15bcb8;}return this['_injector'][_0xd5a06d(0x427)](ue,_0x11c6e7,this['_type'],_0x353f31,_0x380d1b,_0x1d920b);}['_replayCachedMutations'](_0x412dad,_0x190dc5){var _0x4d3d2c=_0x1bf9e4,_0x3e9a79,_0x5c869c;const _0x36f5f1=this[_0x4d3d2c(0x24b)][_0x4d3d2c(0x314)][_0x4d3d2c(0x2dd)](this[_0x4d3d2c(0x24b)]['interceptor']['getInterceptPoints']()[_0x4d3d2c(0x250)]);(_0x3e9a79=_0x36f5f1((_0x412dad==null?void 0x0:_0x412dad['mutations'])||[],null))==null||_0x3e9a79[_0x4d3d2c(0x33a)](_0x3d559c=>this[_0x4d3d2c(0x2ad)][_0x4d3d2c(0x311)](_0x3d559c['id'],_0x3d559c[_0x4d3d2c(0x194)])),(_0x5c869c=_0x36f5f1(_0x190dc5||[],null))==null||_0x5c869c[_0x4d3d2c(0x33a)](_0x13d2aa=>this[_0x4d3d2c(0x2ad)][_0x4d3d2c(0x311)](_0x13d2aa['id'],_0x13d2aa[_0x4d3d2c(0x194)]));}};st=wt([H(0x3,_0x1eb2b7(_0x3ba5a5)),H(0x4,_0x1eb2b7(_0x8c156e)),H(0x5,_0x1eb2b7(_0x5855e2)),H(0x6,_0x1eb2b7(_0x3169f6)),H(0x7,_0x1eb2b7(ve)),H(0x8,_0x4020c),H(0x9,_0x163994),H(0xa,_0x4eca75),H(0xb,_0x471747(ht)),H(0xc,_0x471747(J))],st);let St=class extends st{constructor(_0x8c7f66,_0x433fb9,_0x4fea04,_0x202eba,_0x529319,_0x45701c,_0x183450,_0x299f0f,_0x3b1789,_0x2f2d7a,_0x25af0c,_0x1db1f0,_0x49755f){var _0x4164d4=_0x1bf9e4;super(_0x8c7f66,_0x4fea04,_0x433fb9,_0x202eba,_0x529319,_0x45701c,_0x183450,_0x299f0f,_0x3b1789,_0x2f2d7a,_0x25af0c,_0x1db1f0,_0x49755f),N(this,'_handlerCallback',null),(this[_0x4164d4(0x3fa)]=_0x8c7f66,this['type']=_0x433fb9);}[_0x1bf9e4(0x43c)](_0x2ae034){var _0x4d2453=_0x1bf9e4;this[_0x4d2453(0x449)]=_0x2ae034;}['dispose'](){var _0x25ae6d=_0x1bf9e4;this[_0x25ae6d(0x449)]=null,super['dispose']();}['_createHandler'](){var _0x441dd3=_0x1bf9e4;const _0x5bd9b9=super[_0x441dd3(0x366)]();return _0x5bd9b9['onTransformIME']=_0x1400ea=>{var _0x5f09f4=_0x441dd3,_0x4c175d,_0xbef198;return(_0xbef198=(_0x4c175d=this[_0x5f09f4(0x449)])==null?void 0x0:_0x4c175d['onTransformIME'])==null?void 0x0:_0xbef198[_0x5f09f4(0x1a9)](_0x4c175d,_0x1400ea);},_0x5bd9b9[_0x441dd3(0x266)]=_0x372797=>{var _0x57c29a=_0x441dd3,_0xa58de7,_0x4a0818;return(_0x4a0818=(_0xa58de7=this[_0x57c29a(0x449)])==null?void 0x0:_0xa58de7[_0x57c29a(0x266)])==null?void 0x0:_0x4a0818[_0x57c29a(0x1a9)](_0xa58de7,_0x372797);},_0x5bd9b9[_0x441dd3(0x225)]=_0x2ea69d=>{var _0x59efd5=_0x441dd3,_0x2e949c,_0x13bf9e;return(_0x13bf9e=(_0x2e949c=this[_0x59efd5(0x449)])==null?void 0x0:_0x2e949c['onTransformSelections'])==null?void 0x0:_0x13bf9e[_0x59efd5(0x1a9)](_0x2e949c,_0x2ea69d);},_0x5bd9b9['onSyncEditingCollabCursor']=_0x3fda4e=>{var _0x554226=_0x441dd3,_0x175ca4,_0x162455;return(_0x162455=(_0x175ca4=this[_0x554226(0x449)])==null?void 0x0:_0x175ca4['onSyncEditingCollabCursor'])==null?void 0x0:_0x162455['call'](_0x175ca4,_0x3fda4e);},_0x5bd9b9[_0x441dd3(0x386)]=_0x2ccfd8=>{var _0x3b75d1=_0x441dd3,_0x428321,_0x25a3e2,_0x72d66e;if(!((_0x428321=this['_handlerCallback'])!=null&&_0x428321[_0x3b75d1(0x386)]))throw new Error(_0x3b75d1(0x1ab));return(_0x72d66e=(_0x25a3e2=this[_0x3b75d1(0x449)])==null?void 0x0:_0x25a3e2[_0x3b75d1(0x386)])==null?void 0x0:_0x72d66e['call'](_0x25a3e2,_0x2ccfd8);},_0x5bd9b9[_0x441dd3(0x248)]=_0x16f6aa=>{var _0x552373=_0x441dd3,_0x58986a,_0x436262,_0x1f6cf0;if(!((_0x58986a=this['_handlerCallback'])!=null&&_0x58986a['onTransformRemoteChangesetByStateCache']))throw new Error(_0x552373(0x335));return(_0x1f6cf0=(_0x436262=this[_0x552373(0x449)])==null?void 0x0:_0x436262[_0x552373(0x248)])==null?void 0x0:_0x1f6cf0[_0x552373(0x1a9)](_0x436262,_0x16f6aa);},_0x5bd9b9;}async[_0x1bf9e4(0x223)](){var _0x3f5af1=_0x1bf9e4;const _0x7461f=await super[_0x3f5af1(0x223)]();return this[_0x3f5af1(0x437)](this['_commandService'][_0x3f5af1(0x231)]((_0x49aa19,_0x1a2fd9)=>{var _0x5e81df=_0x3f5af1;if(_0x49aa19[_0x5e81df(0x17c)]!==_0x4b8a53[_0x5e81df(0x446)]||_0x1a2fd9!=null&&_0x1a2fd9[_0x5e81df(0x280)]||_0x1a2fd9!=null&&_0x1a2fd9[_0x5e81df(0x3ae)]||_0x49aa19['id']===_0x5d5737['id'])return;const _0x750f54=_0x49aa19[_0x5e81df(0x194)];if((_0x750f54==null?void 0x0:_0x750f54['unitId'])!==this[_0x5e81df(0x3fa)])return;const _0x29037b=_0x49aa19,_0x3c7178=this[_0x5e81df(0x24b)][_0x5e81df(0x314)][_0x5e81df(0x2dd)](this[_0x5e81df(0x24b)]['interceptor'][_0x5e81df(0x3f2)]()[_0x5e81df(0x44d)])([_0x29037b],null)||[_0x29037b];this['_onLocalMutation'](_0x3c7178[0x0]);})),_0x7461f;}};St=wt([H(0x3,_0x1eb2b7(_0x3ba5a5)),H(0x4,_0x1eb2b7(_0x8c156e)),H(0x5,_0x1eb2b7(_0x5855e2)),H(0x6,_0x1eb2b7(_0x3169f6)),H(0x7,_0x1eb2b7(ve)),H(0x8,_0x4020c),H(0x9,_0x163994),H(0xa,_0x4eca75),H(0xb,_0x471747(ht)),H(0xc,_0x471747(J))],St);let Et=class extends st{constructor(_0x14d091,_0x18af7b,_0x3eb7c0,_0x2c1fc0,_0x297213,_0x1818c1,_0x41d35a,_0x229ec0,_0x1037ca,_0x23382c,_0x154ab9,_0x1a5674,_0x3ba558,_0x2c59bd){var _0x4e79c3=_0x1bf9e4;super(_0x14d091,_0x3eb7c0,_0x18af7b,_0x2c1fc0,_0x297213,_0x1818c1,_0x41d35a,_0x1037ca,_0x23382c,_0x154ab9,_0x1a5674,_0x3ba558,_0x2c59bd),this[_0x4e79c3(0x3fa)]=_0x14d091,this[_0x4e79c3(0x17c)]=_0x18af7b,this[_0x4e79c3(0x190)]=_0x229ec0;}[_0x1bf9e4(0x366)](){var _0x2aad8c=_0x1bf9e4;const _0x23f134=super[_0x2aad8c(0x366)]();return _0x23f134[_0x2aad8c(0x225)]=_0x3639b8=>this['_sheetTransformSelectionsService']['transformSelections'](_0x3639b8),_0x23f134;}async[_0x1bf9e4(0x223)](){var _0x374628=_0x1bf9e4;const _0xc5a3ec=await super[_0x374628(0x223)]();return this[_0x374628(0x437)](this[_0x374628(0x2ad)][_0x374628(0x231)]((_0x48fcbc,_0x422f09)=>{var _0xef4693=_0x374628;if(_0x48fcbc[_0xef4693(0x17c)]!==_0x4b8a53[_0xef4693(0x446)]||_0x422f09!=null&&_0x422f09['fromCollab']||_0x422f09!=null&&_0x422f09[_0xef4693(0x3ae)])return;const _0x224c48=_0x48fcbc[_0xef4693(0x194)];if((_0x224c48==null?void 0x0:_0x224c48['unitId'])!==this[_0xef4693(0x3fa)])return;const _0x4705de=_0x48fcbc,_0x2f0033=this[_0xef4693(0x24b)][_0xef4693(0x314)]['fetchThroughInterceptors'](this[_0xef4693(0x24b)][_0xef4693(0x314)][_0xef4693(0x3f2)]()['COMPRESS_MUTATION_SEND'])([_0x4705de],null)||[_0x4705de];this[_0xef4693(0x380)](_0x2f0033[0x0]);})),_0xc5a3ec;}};Et=wt([H(0x3,_0x1eb2b7(_0x3ba5a5)),H(0x4,_0x1eb2b7(_0x8c156e)),H(0x5,_0x1eb2b7(_0x5855e2)),H(0x6,_0x1eb2b7(_0x3169f6)),H(0x7,_0x1eb2b7(it)),H(0x8,_0x1eb2b7(ve)),H(0x9,_0x4020c),H(0xa,_0x163994),H(0xb,_0x4eca75),H(0xc,_0x471747(ht)),H(0xd,_0x471747(J))],Et);var Qs=Object[_0x1bf9e4(0x241)],en=(_0x1b843b,_0x425fe1,_0x501bc6,_0x204616)=>{var _0x17e3f7=_0x1bf9e4;for(var _0x34cfa8=_0x204616>0x1?void 0x0:_0x204616?Qs(_0x425fe1,_0x501bc6):_0x425fe1,_0x47fc1d=_0x1b843b[_0x17e3f7(0x2fd)]-0x1,_0x4c964d;_0x47fc1d>=0x0;_0x47fc1d--)(_0x4c964d=_0x1b843b[_0x47fc1d])&&(_0x34cfa8=_0x4c964d(_0x34cfa8)||_0x34cfa8);return _0x34cfa8;},Be=(_0x2c774b,_0x5374fc)=>(_0x594ed9,_0x481783)=>_0x5374fc(_0x594ed9,_0x481783,_0x2c774b);let nt=class extends _0x3f1edd{constructor(_0x59b73e,_0x126c0d,_0x18fc20,_0x252528){var _0x551054=_0x1bf9e4,_0x45ee8a;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x3b4cf0()),N(this,_0x551054(0x2b4),this['_entityInit$'][_0x551054(0x332)]()),(this[_0x551054(0x2b7)]=_0x59b73e,this['_collabSessionService']=_0x126c0d,this['_configService']=_0x18fc20,this[_0x551054(0x432)]=_0x252528,((_0x45ee8a=this['_configService'][_0x551054(0x17d)](K))==null?void 0x0:_0x45ee8a[_0x551054(0x331)])!==!0x1&&this[_0x551054(0x223)]());}[_0x1bf9e4(0x336)](){var _0x5548f6=_0x1bf9e4;super[_0x5548f6(0x336)](),this[_0x5548f6(0x163)][_0x5548f6(0x33a)](_0xd502c2=>_0xd502c2[_0x5548f6(0x336)]()),this['_entities'][_0x5548f6(0x27d)]();}[_0x1bf9e4(0x1a0)](_0x6b97f3){var _0xad7bb2=_0x1bf9e4,_0x5561dc;return(_0x5561dc=this[_0xad7bb2(0x163)][_0xad7bb2(0x27c)](_0x6b97f3))!=null?_0x5561dc:null;}[_0x1bf9e4(0x31f)](_0x503dd0){var _0x4912fc=_0x1bf9e4;const _0x52c865=this['getCollabEntity'](_0x503dd0);return _0x52c865?_0x1be741(_0x52c865):this[_0x4912fc(0x3fb)][_0x4912fc(0x29b)](_0x1b0e17(_0xaf1a04=>_0xaf1a04[_0x4912fc(0x3fa)]===_0x503dd0));}[_0x1bf9e4(0x29e)](_0x1b129b){var _0x1b7673=_0x1bf9e4;return _0x4e7989(this[_0x1b7673(0x31f)](_0x1b129b)[_0x1b7673(0x29b)](_0xe868af(()=>{})));}[_0x1bf9e4(0x223)](){var _0x42508c=_0x1bf9e4;this[_0x42508c(0x432)][_0x42508c(0x1c5)](_0x2f1c63[_0x42508c(0x1ec)])[_0x42508c(0x29b)](_0x57d01b(this['dispose$']),_0x4e84b7(0x10))['subscribe'](async _0x265b15=>{var _0x4aacd6=_0x42508c;const _0x501ae0=_0x265b15['getUnitId'](),_0x405ebb=await this[_0x4aacd6(0x297)](_0x501ae0,Z['UNIVER_SHEET']);this[_0x4aacd6(0x163)][_0x4aacd6(0x1f3)](_0x501ae0,_0x405ebb);}),this['_univerInstanceService'][_0x42508c(0x1c5)](_0x2f1c63[_0x42508c(0x18d)])['pipe'](_0x57d01b(this['dispose$']),_0x4e84b7(0x10))[_0x42508c(0x29b)](_0x1b0e17(_0x20eabf=>!_0x20eabf['getUnitId']()[_0x42508c(0x170)]('__')))[_0x42508c(0x262)](async _0x2aa386=>{var _0x3723ba=_0x42508c;const _0x368efc=_0x2aa386['getUnitId'](),_0x12f17b=await this[_0x3723ba(0x297)](_0x368efc,Z['UNIVER_DOC']);this[_0x3723ba(0x163)][_0x3723ba(0x1f3)](_0x368efc,_0x12f17b);}),_0x539a72(this[_0x42508c(0x432)]['getTypeOfUnitDisposed$'](_0x2f1c63[_0x42508c(0x1ec)]),this['_univerInstanceService'][_0x42508c(0x37b)](_0x2f1c63['UNIVER_DOC']))[_0x42508c(0x29b)](_0x57d01b(this[_0x42508c(0x31a)]))[_0x42508c(0x262)](_0x2d81a2=>{var _0x504f78=_0x42508c;const _0x14156a=_0x2d81a2[_0x504f78(0x416)](),_0x4161d1=this[_0x504f78(0x163)][_0x504f78(0x27c)](_0x14156a);_0x4161d1&&(_0x4161d1[_0x504f78(0x336)](),this[_0x504f78(0x163)][_0x504f78(0x3ea)](_0x14156a));});}async[_0x1bf9e4(0x297)](_0xc9a38e,_0x3037b8){var _0x10027e=_0x1bf9e4;const _0x14d609=await this['_collabSessionService'][_0x10027e(0x2d8)](_0xc9a38e),_0x4a7323=this[_0x10027e(0x2b7)][_0x10027e(0x427)](this[_0x10027e(0x2eb)](_0x3037b8),_0xc9a38e,_0x3037b8,_0x14d609);return await _0x4a7323[_0x10027e(0x299)](),this[_0x10027e(0x3fb)][_0x10027e(0x232)](_0x4a7323),_0x4a7323;}[_0x1bf9e4(0x2eb)](_0x344f11){var _0x2cc06a=_0x1bf9e4;switch(_0x344f11){case Z[_0x2cc06a(0x18d)]:return St;case Z[_0x2cc06a(0x1ec)]:return Et;default:throw new Error(_0x2cc06a(0x32f)+_0x344f11);}}};nt=en([Be(0x0,_0x1eb2b7(_0x3ba5a5)),Be(0x1,_0x1eb2b7(Le)),Be(0x2,_0x2711b7),Be(0x3,_0x1dd505)],nt);var tn=Object[_0x1bf9e4(0x241)],sn=(_0x1a6f87,_0x518430,_0x3612b2,_0x3ab5bd)=>{var _0x517611=_0x1bf9e4;for(var _0x2890b6=_0x3ab5bd>0x1?void 0x0:_0x3ab5bd?tn(_0x518430,_0x3612b2):_0x518430,_0x2181e8=_0x1a6f87[_0x517611(0x2fd)]-0x1,_0x35b9f3;_0x2181e8>=0x0;_0x2181e8--)(_0x35b9f3=_0x1a6f87[_0x2181e8])&&(_0x2890b6=_0x35b9f3(_0x2890b6)||_0x2890b6);return _0x2890b6;},Wt=(_0x407f2f,_0x580255)=>(_0x49a837,_0x4cd97f)=>_0x580255(_0x49a837,_0x4cd97f,_0x407f2f);const nn=_0x1bf9e4(0x1d4),rn=_0x1bf9e4(0x2ff);let It=class extends _0x16428c{constructor(_0xcc6704,_0x115d8f){var _0x3ff602=_0x1bf9e4;super(),this['_univerInstanceService']=_0xcc6704,this[_0x3ff602(0x1f9)]=_0x115d8f,this[_0x3ff602(0x223)]();}[_0x1bf9e4(0x223)](){var _0x1c031b=_0x1bf9e4;this['disposeWithMe'](this[_0x1c031b(0x432)][_0x1c031b(0x23d)][_0x1c031b(0x262)](()=>{var _0x508050=_0x1c031b,_0x4bc940;const _0x19ef79=this[_0x508050(0x432)][_0x508050(0x177)]();let _0x36534b=(_0x4bc940=this[_0x508050(0x1f9)][_0x508050(0x17d)](nn))!=null?_0x4bc940:rn;_0x19ef79 instanceof _0x41539c&&(_0x36534b=_0x19ef79[_0x508050(0x350)]),document['title']=_0x36534b;}));}};It=sn([Wt(0x0,_0x1dd505),Wt(0x1,_0x2711b7)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x11e461,_0x3b890f,_0x1d0dd9,_0x2af1dc)=>{var _0x4f5ff9=_0x1bf9e4;for(var _0x5e71ef=_0x2af1dc>0x1?void 0x0:_0x2af1dc?an(_0x3b890f,_0x1d0dd9):_0x3b890f,_0x440e48=_0x11e461[_0x4f5ff9(0x2fd)]-0x1,_0x54d3b8;_0x440e48>=0x0;_0x440e48--)(_0x54d3b8=_0x11e461[_0x440e48])&&(_0x5e71ef=_0x54d3b8(_0x5e71ef)||_0x5e71ef);return _0x5e71ef;},dt=(_0x249fe8,_0x2abfe3)=>(_0x3536d0,_0x27b3d8)=>_0x2abfe3(_0x3536d0,_0x27b3d8,_0x249fe8);let rt=class{constructor(_0x10cce2,_0x29a9d6,_0x2648cc){var _0xf37c0c=_0x1bf9e4;this[_0xf37c0c(0x1f9)]=_0x10cce2,this[_0xf37c0c(0x2e9)]=_0x29a9d6,this[_0xf37c0c(0x324)]=_0x2648cc,this[_0xf37c0c(0x299)]();}[_0x1bf9e4(0x299)](){var _0x3bd5f4=_0x1bf9e4;this[_0x3bd5f4(0x2e9)][_0x3bd5f4(0x43e)]({'priority':0x1,'interceptor':(_0x2ab186,_0x2e9258)=>_0x2e9258(_0x2ab186)[_0x3bd5f4(0x29b)](_0x114434(async _0x39971d=>{var _0x3b2399=_0x3bd5f4;const _0x2b6ccf=_0x39971d;if(_0x2b6ccf[_0x3b2399(0x412)]===0x191){if(typeof window>'u')throw new Error(_0x3b2399(0x19a));if(window[_0x3b2399(0x3c6)](this[_0x3b2399(0x324)]['t'](_0x3b2399(0x2fc)))){const _0x4826f7=window[_0x3b2399(0x28e)](window['location']['href']);window[_0x3b2399(0x318)][_0x3b2399(0x1c2)]=this['_getLoginPath']()+_0x3b2399(0x16e)+_0x4826f7;}}return _0x2b6ccf;}))});}['_getLoginPath'](){var _0x3e64f9=_0x1bf9e4,_0x232661,_0x51d5c3;const _0x347e62=this[_0x3e64f9(0x1f9)][_0x3e64f9(0x17d)](ys),_0x20fd90=this[_0x3e64f9(0x1f9)][_0x3e64f9(0x17d)](K);return(_0x51d5c3=(_0x232661=_0x20fd90==null?void 0x0:_0x20fd90['loginUrlKey'])!=null?_0x232661:_0x347e62)!=null?_0x51d5c3:Ns;}};rt=on([dt(0x0,_0x2711b7),dt(0x1,_0x1eb2b7(_0x4a6b11)),dt(0x2,_0x1eb2b7(_0x5855e2))],rt);var cn=Object[_0x1bf9e4(0x241)],hn=(_0x14280f,_0x1d87d3,_0x130ba6,_0x5a623b)=>{var _0x3c0bad=_0x1bf9e4;for(var _0x5bf946=_0x5a623b>0x1?void 0x0:_0x5a623b?cn(_0x1d87d3,_0x130ba6):_0x1d87d3,_0x48b6fa=_0x14280f[_0x3c0bad(0x2fd)]-0x1,_0x113eb1;_0x48b6fa>=0x0;_0x48b6fa--)(_0x113eb1=_0x14280f[_0x48b6fa])&&(_0x5bf946=_0x113eb1(_0x5bf946)||_0x5bf946);return _0x5bf946;},Kt=(_0x1a09bf,_0x8c8e6d)=>(_0x8ca19e,_0x3fbd51)=>_0x8c8e6d(_0x8ca19e,_0x3fbd51,_0x1a09bf);const Oi=_0x1bf9e4(0x359),_n=_0x1bf9e4(0x1d1);let Tt=class extends _0x16428c{constructor(_0x572199,_0x4d0487){var _0x5d6a0c=_0x1bf9e4;super(),this[_0x5d6a0c(0x448)]=_0x572199,this[_0x5d6a0c(0x1f9)]=_0x4d0487,this[_0x5d6a0c(0x338)]();}['_initMergeInterceptor'](){var _0x4e09c0=_0x1bf9e4;const _0xaa1a=this;this[_0x4e09c0(0x437)](this[_0x4e09c0(0x448)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xf1eb0({'isMatch'(_0x2bb3c7){var _0x202d4e=_0x4e09c0,_0x1539d3;if(_0x2bb3c7[_0x202d4e(0x21a)]===_0x202d4e(0x1d5)&&((_0x1539d3=_0x2bb3c7['requestParams'])!=null&&_0x1539d3['body'])){const {objectID:_0x16814e,objectType:_0x32096b}=_0x2bb3c7[_0x202d4e(0x302)][_0x202d4e(0x457)]||{};if(!_0x16814e||_0x32096b===void 0x0)return!0x1;const _0x42f84e=_0xaa1a[_0x202d4e(0x31e)]()+'/'+_0x32096b+_0x202d4e(0x2c4)+_0x16814e+_0x202d4e(0x3c5);if(_0x2bb3c7[_0x202d4e(0x455)]===_0x42f84e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x23abf2){var _0x14f952=_0x4e09c0,_0x188643;return(_0x188643=_0x23abf2[_0x14f952(0x302)])==null?void 0x0:_0x188643[_0x14f952(0x457)];},'mergeParamsToRequest'(_0x193be6,_0x5fb74d){var _0x194028=_0x4e09c0;const _0xcb6161=_0xaa1a[_0x194028(0x31e)]()+_0x194028(0x32b),_0x404628=_0x193be6['reduce']((_0x5cc7d7,_0x195ef7)=>{var _0xd92c70=_0x194028;const {unitID:_0x343526,objectID:_0x3862d7,objectType:_0x46a42e,actions:_0x77e0a0}=_0x195ef7;return _0x5cc7d7[_0x343526]||(_0x5cc7d7[_0x343526]={}),_0x5cc7d7[_0x343526][_0x3862d7]||(_0x5cc7d7[_0x343526][_0x3862d7]={'objectID':_0x3862d7,'objectType':_0x46a42e,'actions':[]}),_0x5cc7d7[_0x343526][_0x3862d7][_0xd92c70(0x364)]['push'](..._0x77e0a0),_0x5cc7d7;},{}),_0x5d21e1=[];for(const _0x50ae53 in _0x404628)for(const _0x4034e2 in _0x404628[_0x50ae53]){const {actions:_0x4df25d,objectType:_0x230a6e}=_0x404628[_0x50ae53][_0x4034e2],_0x143eea=[...new Set(_0x4df25d)];_0x5d21e1[_0x194028(0x284)]({'unitID':_0x50ae53,'objectID':_0x4034e2,'objectType':_0x230a6e,'actions':_0x143eea});}return new _0x109566(_0x194028(0x1d5),_0xcb6161,{'headers':_0x5fb74d['headers'],'withCredentials':_0x5fb74d[_0x194028(0x3f5)],'responseType':_0x5fb74d['responseType'],'body':{'requests':_0x5d21e1}});}},{'distributeResult'(_0x8804c0,_0x387582){var _0x31ae24=_0x4e09c0;const {objectActions:_0x2233b6}=_0x8804c0;return _0x387582[_0x31ae24(0x2aa)](_0x5704ec=>{var _0x5991f0=_0x31ae24;const {unitID:_0x598bec,objectID:_0x3c7960,actions:_0x5d67de}=_0x5704ec,_0x5ee71d=_0x2233b6['find'](_0x4f23a1=>_0x4f23a1[_0x5991f0(0x3fa)]===_0x598bec&&_0x4f23a1[_0x5991f0(0x2dc)]===_0x3c7960),_0xb5cc7c=_0x5d67de[_0x5991f0(0x2aa)](_0x398257=>_0x5ee71d==null?void 0x0:_0x5ee71d[_0x5991f0(0x364)][_0x5991f0(0x418)](_0x11aa86=>_0x11aa86['action']===_0x398257))[_0x5991f0(0x1ae)](_0xdfe45b=>!!_0xdfe45b);return{'config':_0x5704ec,'result':{'actions':_0xb5cc7c,'error':_0x8804c0[_0x5991f0(0x197)]}};});}})}));}[_0x1bf9e4(0x31e)](){var _0x5d47b8=_0x1bf9e4,_0xe85e5f,_0x2760ec;const _0x4028cb=this[_0x5d47b8(0x1f9)][_0x5d47b8(0x17d)](Oi),_0xc74ba5=this[_0x5d47b8(0x1f9)]['getConfig'](K);return(_0x2760ec=(_0xe85e5f=_0xc74ba5==null?void 0x0:_0xc74ba5[_0x5d47b8(0x313)])!=null?_0xe85e5f:_0x4028cb)!=null?_0x2760ec:_n;}async['create'](_0x66c55c){var _0x3146a1=_0x1bf9e4;const _0x3efb54=this[_0x3146a1(0x31e)]()+'/'+_0x66c55c[_0x3146a1(0x3a9)]+'/object';return(await this['_HTTPService'][_0x3146a1(0x22d)](_0x3efb54,{'body':_0x66c55c}))[_0x3146a1(0x457)][_0x3146a1(0x2dc)]||'';}async[_0x1bf9e4(0x2be)](_0x2d1f68){var _0x20edff=_0x1bf9e4;const _0x46b251=this['_getAPIPrefixPath']()+_0x20edff(0x2ae);return(await this[_0x20edff(0x448)][_0x20edff(0x22d)](_0x46b251,{'body':_0x2d1f68}))[_0x20edff(0x457)]['objects'];}async['update'](_0x4c0809){var _0x48daa5=_0x1bf9e4,_0x406061,_0x1b9ae7;const _0x5c5d07=this[_0x48daa5(0x31e)]()+'/'+_0x4c0809['objectType']+_0x48daa5(0x2c4)+_0x4c0809[_0x48daa5(0x2dc)],_0x20c57e=await this[_0x48daa5(0x448)][_0x48daa5(0x45e)](_0x5c5d07,{'body':_0x4c0809});if(((_0x1b9ae7=(_0x406061=_0x20c57e==null?void 0x0:_0x20c57e[_0x48daa5(0x457)])==null?void 0x0:_0x406061[_0x48daa5(0x197)])==null?void 0x0:_0x1b9ae7['code'])!==0x1)throw new Error(_0x48daa5(0x36b));}async['allowed'](_0x11d5d8){var _0x2f15b2=_0x1bf9e4;const _0x147283=this[_0x2f15b2(0x31e)]()+'/'+_0x11d5d8['objectType']+'/object/'+_0x11d5d8['objectID']+_0x2f15b2(0x3c5);return(await this[_0x2f15b2(0x448)]['post'](_0x147283,{'body':_0x11d5d8}))[_0x2f15b2(0x457)][_0x2f15b2(0x364)];}async['batchAllowed'](_0x12e522){var _0x2a5012=_0x1bf9e4;const _0x19021f=this[_0x2a5012(0x31e)]()+_0x2a5012(0x32b);return(await this[_0x2a5012(0x448)][_0x2a5012(0x22d)](_0x19021f,{'body':{'requests':_0x12e522}}))['body'][_0x2a5012(0x36a)];}async['listRoles'](_0x180f44){var _0x10e959=_0x1bf9e4;const _0x56d848=this[_0x10e959(0x31e)]()+'/'+_0x180f44[_0x10e959(0x3a9)]+'/role',_0x403087=await this[_0x10e959(0x448)][_0x10e959(0x22d)](_0x56d848,{'body':_0x180f44});return{'roles':_0x403087[_0x10e959(0x457)][_0x10e959(0x381)],'actions':_0x403087[_0x10e959(0x457)]['actions']};}async[_0x1bf9e4(0x325)](_0x150e28){var _0x218a1f=_0x1bf9e4;const _0x2a8fa6=this[_0x218a1f(0x31e)]()+_0x218a1f(0x401);await this[_0x218a1f(0x448)]['delete'](_0x2a8fa6,{'params':{'collaboratorID':_0x150e28[_0x218a1f(0x19e)],'objectID':_0x150e28['objectID'],'unitID':_0x150e28[_0x218a1f(0x3fa)]}});}async['updateCollaborator'](_0x1cc9d3){var _0x55249e=_0x1bf9e4;const _0x32368d=this[_0x55249e(0x31e)]()+_0x55249e(0x401);await this[_0x55249e(0x448)][_0x55249e(0x1ce)](_0x32368d,{'body':_0x1cc9d3});}async['createCollaborator'](_0x5a5ff3){var _0x24071e=_0x1bf9e4;const _0x34a82e=this[_0x24071e(0x31e)]()+_0x24071e(0x401);await this[_0x24071e(0x448)][_0x24071e(0x22d)](_0x34a82e,{'body':_0x5a5ff3});}async[_0x1bf9e4(0x178)](_0x4350e0){var _0x1ee7b9=_0x1bf9e4;const _0x124727=this[_0x1ee7b9(0x31e)]()+_0x1ee7b9(0x401);return(await this[_0x1ee7b9(0x448)][_0x1ee7b9(0x27c)](_0x124727,{'params':{'objectID':_0x4350e0[_0x1ee7b9(0x2dc)],'unitID':_0x4350e0['unitID']}}))[_0x1ee7b9(0x457)][_0x1ee7b9(0x3e5)];}async[_0x1bf9e4(0x413)](_0x57961e){var _0x3cff84=_0x1bf9e4;const _0x2082a7=this[_0x3cff84(0x31e)]()+_0x3cff84(0x401);await this[_0x3cff84(0x448)]['put'](_0x2082a7,{'body':_0x57961e});}};Tt=hn([Kt(0x0,_0x1eb2b7(_0x4a6b11)),Kt(0x1,_0x1eb2b7(_0x2711b7))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x415c8a){var _0x58cdb3=_0x1bf9e4;return _0x415c8a&&_0x415c8a[_0x58cdb3(0x24a)]&&Object['prototype'][_0x58cdb3(0x15e)][_0x58cdb3(0x1a9)](_0x415c8a,_0x58cdb3(0x273))?_0x415c8a[_0x58cdb3(0x273)]:_0x415c8a;}var Ve={'exports':{}};function ln(_0x3d49e8){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3d49e8+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},un=Ge[_0x1bf9e4(0x3b5)],qt;function te(){var _0x1358a0=_0x1bf9e4;return qt||(qt=0x1,function(_0x5d3e4c,_0x27b383){(function(_0x2b9f2e,_0x37716f){var _0x569cbd=_0xcbfd;_0x5d3e4c[_0x569cbd(0x3b5)]=_0x37716f();}(un,function(){var _0xb3f9ba=_0xb3f9ba||function(_0xccbacf,_0x1350c8){var _0xbb9a7d=_0xcbfd,_0xe4d6fa;if(typeof window<'u'&&window[_0xbb9a7d(0x439)]&&(_0xe4d6fa=window[_0xbb9a7d(0x439)]),typeof self<'u'&&self[_0xbb9a7d(0x439)]&&(_0xe4d6fa=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0xe4d6fa=globalThis[_0xbb9a7d(0x439)]),!_0xe4d6fa&&typeof window<'u'&&window['msCrypto']&&(_0xe4d6fa=window[_0xbb9a7d(0x1dd)]),!_0xe4d6fa&&typeof ft<'u'&&ft[_0xbb9a7d(0x439)]&&(_0xe4d6fa=ft[_0xbb9a7d(0x439)]),!_0xe4d6fa&&typeof ln==_0xbb9a7d(0x2b1))try{_0xe4d6fa=require(_0xbb9a7d(0x439));}catch{}var _0x851af4=function(){var _0x32a913=_0xbb9a7d;if(_0xe4d6fa){if(typeof _0xe4d6fa[_0x32a913(0x306)]==_0x32a913(0x2b1))try{return _0xe4d6fa[_0x32a913(0x306)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xe4d6fa[_0x32a913(0x209)]==_0x32a913(0x2b1))try{return _0xe4d6fa[_0x32a913(0x209)](0x4)[_0x32a913(0x17b)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3bd4bc=Object['create']||(function(){function _0x4665bb(){}return function(_0x5e079a){var _0x3863cc;return _0x4665bb['prototype']=_0x5e079a,_0x3863cc=new _0x4665bb(),_0x4665bb['prototype']=null,_0x3863cc;};}()),_0x47cf42={},_0x418408=_0x47cf42[_0xbb9a7d(0x461)]={},_0x331c68=_0x418408[_0xbb9a7d(0x3db)]=(function(){return{'extend':function(_0x3752e7){var _0x339eda=_0xcbfd,_0x3c24fa=_0x3bd4bc(this);return _0x3752e7&&_0x3c24fa[_0x339eda(0x172)](_0x3752e7),(!_0x3c24fa[_0x339eda(0x15e)](_0x339eda(0x299))||this[_0x339eda(0x299)]===_0x3c24fa[_0x339eda(0x299)])&&(_0x3c24fa['init']=function(){var _0x4dfce5=_0x339eda;_0x3c24fa['$super'][_0x4dfce5(0x299)][_0x4dfce5(0x458)](this,arguments);}),_0x3c24fa['init'][_0x339eda(0x1da)]=_0x3c24fa,_0x3c24fa[_0x339eda(0x2d6)]=this,_0x3c24fa;},'create':function(){var _0x2e7442=_0xcbfd,_0x1a7f0a=this[_0x2e7442(0x2a9)]();return _0x1a7f0a['init'][_0x2e7442(0x458)](_0x1a7f0a,arguments),_0x1a7f0a;},'init':function(){},'mixIn':function(_0x4f626d){var _0x3d014c=_0xcbfd;for(var _0x3a29c9 in _0x4f626d)_0x4f626d[_0x3d014c(0x15e)](_0x3a29c9)&&(this[_0x3a29c9]=_0x4f626d[_0x3a29c9]);_0x4f626d['hasOwnProperty'](_0x3d014c(0x3ff))&&(this[_0x3d014c(0x3ff)]=_0x4f626d[_0x3d014c(0x3ff)]);},'clone':function(){var _0x444c87=_0xcbfd;return this[_0x444c87(0x299)][_0x444c87(0x1da)][_0x444c87(0x2a9)](this);}};}()),_0x16eed5=_0x418408[_0xbb9a7d(0x3b1)]=_0x331c68['extend']({'init':function(_0x1a667f,_0x17fe2c){var _0x4ee58c=_0xbb9a7d;_0x1a667f=this['words']=_0x1a667f||[],_0x17fe2c!=_0x1350c8?this[_0x4ee58c(0x2ec)]=_0x17fe2c:this['sigBytes']=_0x1a667f[_0x4ee58c(0x2fd)]*0x4;},'toString':function(_0x200fb5){var _0x4218f9=_0xbb9a7d;return(_0x200fb5||_0x109c14)[_0x4218f9(0x379)](this);},'concat':function(_0x53edaa){var _0x152276=_0xbb9a7d,_0x5014f1=this[_0x152276(0x38f)],_0x1056d9=_0x53edaa[_0x152276(0x38f)],_0x21f9d4=this['sigBytes'],_0x2b0fb1=_0x53edaa['sigBytes'];if(this['clamp'](),_0x21f9d4%0x4)for(var _0x446f3b=0x0;_0x446f3b<_0x2b0fb1;_0x446f3b++){var _0x5e0dea=_0x1056d9[_0x446f3b>>>0x2]>>>0x18-_0x446f3b%0x4*0x8&0xff;_0x5014f1[_0x21f9d4+_0x446f3b>>>0x2]|=_0x5e0dea<<0x18-(_0x21f9d4+_0x446f3b)%0x4*0x8;}else{for(var _0x1ec2db=0x0;_0x1ec2db<_0x2b0fb1;_0x1ec2db+=0x4)_0x5014f1[_0x21f9d4+_0x1ec2db>>>0x2]=_0x1056d9[_0x1ec2db>>>0x2];}return this['sigBytes']+=_0x2b0fb1,this;},'clamp':function(){var _0x120eab=this['words'],_0x41ef19=this['sigBytes'];_0x120eab[_0x41ef19>>>0x2]&=0xffffffff<<0x20-_0x41ef19%0x4*0x8,_0x120eab['length']=_0xccbacf['ceil'](_0x41ef19/0x4);},'clone':function(){var _0x34401f=_0xbb9a7d,_0x37a196=_0x331c68[_0x34401f(0x36d)]['call'](this);return _0x37a196['words']=this['words'][_0x34401f(0x1cd)](0x0),_0x37a196;},'random':function(_0x1d8f8b){var _0x1fdd98=_0xbb9a7d;for(var _0x4accb1=[],_0x464547=0x0;_0x464547<_0x1d8f8b;_0x464547+=0x4)_0x4accb1[_0x1fdd98(0x284)](_0x851af4());return new _0x16eed5['init'](_0x4accb1,_0x1d8f8b);}}),_0x5cb7e0=_0x47cf42[_0xbb9a7d(0x24e)]={},_0x109c14=_0x5cb7e0[_0xbb9a7d(0x43f)]={'stringify':function(_0x3c5474){var _0x2b154b=_0xbb9a7d;for(var _0x2f3d30=_0x3c5474[_0x2b154b(0x38f)],_0x5732d5=_0x3c5474[_0x2b154b(0x2ec)],_0x60d073=[],_0x4220c=0x0;_0x4220c<_0x5732d5;_0x4220c++){var _0x3559cd=_0x2f3d30[_0x4220c>>>0x2]>>>0x18-_0x4220c%0x4*0x8&0xff;_0x60d073[_0x2b154b(0x284)]((_0x3559cd>>>0x4)[_0x2b154b(0x3ff)](0x10)),_0x60d073[_0x2b154b(0x284)]((_0x3559cd&0xf)['toString'](0x10));}return _0x60d073[_0x2b154b(0x349)]('');},'parse':function(_0x4a1410){var _0x2e0852=_0xbb9a7d;for(var _0x2cc6af=_0x4a1410[_0x2e0852(0x2fd)],_0x3beb5b=[],_0x226bc9=0x0;_0x226bc9<_0x2cc6af;_0x226bc9+=0x2)_0x3beb5b[_0x226bc9>>>0x3]|=parseInt(_0x4a1410[_0x2e0852(0x3da)](_0x226bc9,0x2),0x10)<<0x18-_0x226bc9%0x8*0x4;return new _0x16eed5[(_0x2e0852(0x299))](_0x3beb5b,_0x2cc6af/0x2);}},_0xee786d=_0x5cb7e0[_0xbb9a7d(0x361)]={'stringify':function(_0x495e91){var _0xa2151d=_0xbb9a7d;for(var _0x3fb968=_0x495e91['words'],_0x5bfe9b=_0x495e91[_0xa2151d(0x2ec)],_0x14fc23=[],_0x2aadcf=0x0;_0x2aadcf<_0x5bfe9b;_0x2aadcf++){var _0x3b0613=_0x3fb968[_0x2aadcf>>>0x2]>>>0x18-_0x2aadcf%0x4*0x8&0xff;_0x14fc23[_0xa2151d(0x284)](String[_0xa2151d(0x213)](_0x3b0613));}return _0x14fc23['join']('');},'parse':function(_0x376042){var _0x4c45d9=_0xbb9a7d;for(var _0x54802c=_0x376042[_0x4c45d9(0x2fd)],_0x2907b4=[],_0x27003e=0x0;_0x27003e<_0x54802c;_0x27003e++)_0x2907b4[_0x27003e>>>0x2]|=(_0x376042['charCodeAt'](_0x27003e)&0xff)<<0x18-_0x27003e%0x4*0x8;return new _0x16eed5[(_0x4c45d9(0x299))](_0x2907b4,_0x54802c);}},_0x202988=_0x5cb7e0[_0xbb9a7d(0x2f4)]={'stringify':function(_0x36d292){try{return decodeURIComponent(escape(_0xee786d['stringify'](_0x36d292)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x50e4fe){var _0x2c068d=_0xbb9a7d;return _0xee786d[_0x2c068d(0x2d3)](unescape(encodeURIComponent(_0x50e4fe)));}},_0x5af68f=_0x418408[_0xbb9a7d(0x233)]=_0x331c68[_0xbb9a7d(0x2a9)]({'reset':function(){var _0x5d46f1=_0xbb9a7d;this[_0x5d46f1(0x1d7)]=new _0x16eed5['init'](),this[_0x5d46f1(0x460)]=0x0;},'_append':function(_0x520675){var _0x5a7df1=_0xbb9a7d;typeof _0x520675==_0x5a7df1(0x33e)&&(_0x520675=_0x202988['parse'](_0x520675)),this[_0x5a7df1(0x1d7)][_0x5a7df1(0x43b)](_0x520675),this[_0x5a7df1(0x460)]+=_0x520675['sigBytes'];},'_process':function(_0xf7a768){var _0x159abf=_0xbb9a7d,_0x10783a,_0x4cb0dd=this[_0x159abf(0x1d7)],_0x58a4b0=_0x4cb0dd[_0x159abf(0x38f)],_0x41bf6b=_0x4cb0dd['sigBytes'],_0x5970b8=this[_0x159abf(0x30c)],_0x4e0a89=_0x5970b8*0x4,_0x22fcc6=_0x41bf6b/_0x4e0a89;_0xf7a768?_0x22fcc6=_0xccbacf[_0x159abf(0x20c)](_0x22fcc6):_0x22fcc6=_0xccbacf[_0x159abf(0x196)]((_0x22fcc6|0x0)-this[_0x159abf(0x28d)],0x0);var _0x5e9c72=_0x22fcc6*_0x5970b8,_0x4ab50d=_0xccbacf[_0x159abf(0x343)](_0x5e9c72*0x4,_0x41bf6b);if(_0x5e9c72){for(var _0x5f5297=0x0;_0x5f5297<_0x5e9c72;_0x5f5297+=_0x5970b8)this[_0x159abf(0x31b)](_0x58a4b0,_0x5f5297);_0x10783a=_0x58a4b0[_0x159abf(0x3c9)](0x0,_0x5e9c72),_0x4cb0dd['sigBytes']-=_0x4ab50d;}return new _0x16eed5[(_0x159abf(0x299))](_0x10783a,_0x4ab50d);},'clone':function(){var _0x221798=_0xbb9a7d,_0x5cd30d=_0x331c68[_0x221798(0x36d)][_0x221798(0x1a9)](this);return _0x5cd30d[_0x221798(0x1d7)]=this[_0x221798(0x1d7)][_0x221798(0x36d)](),_0x5cd30d;},'_minBufferSize':0x0});_0x418408['Hasher']=_0x5af68f[_0xbb9a7d(0x2a9)]({'cfg':_0x331c68['extend'](),'init':function(_0x49660b){var _0x2e9885=_0xbb9a7d;this[_0x2e9885(0x436)]=this[_0x2e9885(0x436)][_0x2e9885(0x2a9)](_0x49660b),this[_0x2e9885(0x162)]();},'reset':function(){var _0x59a4d5=_0xbb9a7d;_0x5af68f[_0x59a4d5(0x162)]['call'](this),this['_doReset']();},'update':function(_0x1eb81b){var _0xb39f1c=_0xbb9a7d;return this[_0xb39f1c(0x189)](_0x1eb81b),this[_0xb39f1c(0x3bb)](),this;},'finalize':function(_0x40cc73){var _0x1acd16=_0xbb9a7d;_0x40cc73&&this[_0x1acd16(0x189)](_0x40cc73);var _0x32c328=this[_0x1acd16(0x1f2)]();return _0x32c328;},'blockSize':0x10,'_createHelper':function(_0x1cfcf3){return function(_0x29d08b,_0x4af783){var _0x2a131f=_0xcbfd;return new _0x1cfcf3['init'](_0x4af783)[_0x2a131f(0x43a)](_0x29d08b);};},'_createHmacHelper':function(_0x99a835){return function(_0x324505,_0x2cff30){var _0x25d264=_0xcbfd;return new _0xa49750['HMAC'][(_0x25d264(0x299))](_0x99a835,_0x2cff30)[_0x25d264(0x43a)](_0x324505);};}});var _0xa49750=_0x47cf42[_0xbb9a7d(0x293)]={};return _0x47cf42;}(Math);return _0xb3f9ba;}));}(Ge)),Ge[_0x1358a0(0x3b5)];}var Ye={'exports':{}},dn=Ye[_0x1bf9e4(0x3b5)],zt;function bi(){var _0x3b2815=_0x1bf9e4;return zt||(zt=0x1,function(_0x4c2400,_0x1359bf){(function(_0x537f21,_0x3c5aab){var _0xd7e7d=_0xcbfd;_0x4c2400[_0xd7e7d(0x3b5)]=_0x3c5aab(te());}(dn,function(_0x57d276){return(function(){var _0x50cf9a=_0xcbfd,_0x769962=_0x57d276,_0x41862d=_0x769962[_0x50cf9a(0x461)],_0x2f1966=_0x41862d[_0x50cf9a(0x3b1)],_0x40dc49=_0x769962[_0x50cf9a(0x24e)];_0x40dc49[_0x50cf9a(0x2a6)]={'stringify':function(_0x45a28f){var _0x2bf672=_0x50cf9a,_0x3532fa=_0x45a28f['words'],_0x29acb0=_0x45a28f['sigBytes'],_0x5552cf=this[_0x2bf672(0x2ab)];_0x45a28f[_0x2bf672(0x22f)]();for(var _0x47a239=[],_0x5eef27=0x0;_0x5eef27<_0x29acb0;_0x5eef27+=0x3)for(var _0x4e676b=_0x3532fa[_0x5eef27>>>0x2]>>>0x18-_0x5eef27%0x4*0x8&0xff,_0x16cc33=_0x3532fa[_0x5eef27+0x1>>>0x2]>>>0x18-(_0x5eef27+0x1)%0x4*0x8&0xff,_0x5129b2=_0x3532fa[_0x5eef27+0x2>>>0x2]>>>0x18-(_0x5eef27+0x2)%0x4*0x8&0xff,_0x324075=_0x4e676b<<0x10|_0x16cc33<<0x8|_0x5129b2,_0x3b0289=0x0;_0x3b0289<0x4&&_0x5eef27+_0x3b0289*0.75<_0x29acb0;_0x3b0289++)_0x47a239[_0x2bf672(0x284)](_0x5552cf[_0x2bf672(0x407)](_0x324075>>>0x6*(0x3-_0x3b0289)&0x3f));var _0x2d2e96=_0x5552cf[_0x2bf672(0x407)](0x40);if(_0x2d2e96){for(;_0x47a239['length']%0x4;)_0x47a239[_0x2bf672(0x284)](_0x2d2e96);}return _0x47a239[_0x2bf672(0x349)]('');},'parse':function(_0x2cb515){var _0x4ef438=_0x50cf9a,_0x3b2c24=_0x2cb515[_0x4ef438(0x2fd)],_0x4ce028=this[_0x4ef438(0x2ab)],_0x2d25f4=this[_0x4ef438(0x454)];if(!_0x2d25f4){_0x2d25f4=this[_0x4ef438(0x454)]=[];for(var _0x541b57=0x0;_0x541b57<_0x4ce028['length'];_0x541b57++)_0x2d25f4[_0x4ce028[_0x4ef438(0x2e4)](_0x541b57)]=_0x541b57;}var _0x53de13=_0x4ce028[_0x4ef438(0x407)](0x40);if(_0x53de13){var _0x20817c=_0x2cb515[_0x4ef438(0x3f0)](_0x53de13);_0x20817c!==-0x1&&(_0x3b2c24=_0x20817c);}return _0x48523c(_0x2cb515,_0x3b2c24,_0x2d25f4);},'_map':_0x50cf9a(0x186)};function _0x48523c(_0x8bfcce,_0x1785cf,_0x61a688){var _0x498a2c=_0x50cf9a;for(var _0x3eb7ff=[],_0x177f87=0x0,_0x257fb7=0x0;_0x257fb7<_0x1785cf;_0x257fb7++)if(_0x257fb7%0x4){var _0xb30f0=_0x61a688[_0x8bfcce[_0x498a2c(0x2e4)](_0x257fb7-0x1)]<<_0x257fb7%0x4*0x2,_0x56ccb5=_0x61a688[_0x8bfcce[_0x498a2c(0x2e4)](_0x257fb7)]>>>0x6-_0x257fb7%0x4*0x2,_0x5133bd=_0xb30f0|_0x56ccb5;_0x3eb7ff[_0x177f87>>>0x2]|=_0x5133bd<<0x18-_0x177f87%0x4*0x8,_0x177f87++;}return _0x2f1966[_0x498a2c(0x168)](_0x3eb7ff,_0x177f87);}}()),_0x57d276['enc']['Base64'];}));}(Ye)),Ye[_0x3b2815(0x3b5)];}var We={'exports':{}},fn=We['exports'],Jt;function vn(){var _0x2bca4e=_0x1bf9e4;return Jt||(Jt=0x1,function(_0x401365,_0xe671ca){(function(_0x324a8c,_0x2fdc9c){_0x401365['exports']=_0x2fdc9c(te());}(fn,function(_0x372987){var _0x13b809=_0xcbfd;return function(_0x1628b4){var _0x202f53=_0xcbfd,_0x1a927b=_0x372987,_0x30bb63=_0x1a927b['lib'],_0xd75c3b=_0x30bb63['WordArray'],_0x1b3059=_0x30bb63[_0x202f53(0x21e)],_0x49af1d=_0x1a927b[_0x202f53(0x293)],_0x5e8ce2=[];(function(){var _0x1db960=_0x202f53;for(var _0xc0815d=0x0;_0xc0815d<0x40;_0xc0815d++)_0x5e8ce2[_0xc0815d]=_0x1628b4[_0x1db960(0x35c)](_0x1628b4[_0x1db960(0x2e7)](_0xc0815d+0x1))*0x100000000|0x0;}());var _0x4dc5b5=_0x49af1d['MD5']=_0x1b3059[_0x202f53(0x2a9)]({'_doReset':function(){this['_hash']=new _0xd75c3b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2a27ff,_0x113218){var _0x28aa75=_0x202f53;for(var _0x59344f=0x0;_0x59344f<0x10;_0x59344f++){var _0x1d65c8=_0x113218+_0x59344f,_0x2b2eb7=_0x2a27ff[_0x1d65c8];_0x2a27ff[_0x1d65c8]=(_0x2b2eb7<<0x8|_0x2b2eb7>>>0x18)&0xff00ff|(_0x2b2eb7<<0x18|_0x2b2eb7>>>0x8)&0xff00ff00;}var _0x4ceeb5=this[_0x28aa75(0x456)][_0x28aa75(0x38f)],_0x4a4b34=_0x2a27ff[_0x113218+0x0],_0xc67083=_0x2a27ff[_0x113218+0x1],_0x3b56f3=_0x2a27ff[_0x113218+0x2],_0x302542=_0x2a27ff[_0x113218+0x3],_0x465141=_0x2a27ff[_0x113218+0x4],_0x58f4ed=_0x2a27ff[_0x113218+0x5],_0x2e73e5=_0x2a27ff[_0x113218+0x6],_0x402477=_0x2a27ff[_0x113218+0x7],_0x48ec0d=_0x2a27ff[_0x113218+0x8],_0x47927b=_0x2a27ff[_0x113218+0x9],_0x2cd41d=_0x2a27ff[_0x113218+0xa],_0x16ce00=_0x2a27ff[_0x113218+0xb],_0xbd5fec=_0x2a27ff[_0x113218+0xc],_0x24e94d=_0x2a27ff[_0x113218+0xd],_0x1f587a=_0x2a27ff[_0x113218+0xe],_0x377c65=_0x2a27ff[_0x113218+0xf],_0x357525=_0x4ceeb5[0x0],_0x1927ed=_0x4ceeb5[0x1],_0x4196d3=_0x4ceeb5[0x2],_0x3a6bb0=_0x4ceeb5[0x3];_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x4a4b34,0x7,_0x5e8ce2[0x0]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0xc67083,0xc,_0x5e8ce2[0x1]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x3b56f3,0x11,_0x5e8ce2[0x2]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x302542,0x16,_0x5e8ce2[0x3]),_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x465141,0x7,_0x5e8ce2[0x4]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x58f4ed,0xc,_0x5e8ce2[0x5]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2e73e5,0x11,_0x5e8ce2[0x6]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x402477,0x16,_0x5e8ce2[0x7]),_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x48ec0d,0x7,_0x5e8ce2[0x8]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x47927b,0xc,_0x5e8ce2[0x9]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2cd41d,0x11,_0x5e8ce2[0xa]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x16ce00,0x16,_0x5e8ce2[0xb]),_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xbd5fec,0x7,_0x5e8ce2[0xc]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x24e94d,0xc,_0x5e8ce2[0xd]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x1f587a,0x11,_0x5e8ce2[0xe]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x377c65,0x16,_0x5e8ce2[0xf]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xc67083,0x5,_0x5e8ce2[0x10]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x2e73e5,0x9,_0x5e8ce2[0x11]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x16ce00,0xe,_0x5e8ce2[0x12]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x4a4b34,0x14,_0x5e8ce2[0x13]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x58f4ed,0x5,_0x5e8ce2[0x14]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x2cd41d,0x9,_0x5e8ce2[0x15]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x377c65,0xe,_0x5e8ce2[0x16]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x465141,0x14,_0x5e8ce2[0x17]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x47927b,0x5,_0x5e8ce2[0x18]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x1f587a,0x9,_0x5e8ce2[0x19]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x302542,0xe,_0x5e8ce2[0x1a]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x48ec0d,0x14,_0x5e8ce2[0x1b]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x24e94d,0x5,_0x5e8ce2[0x1c]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x3b56f3,0x9,_0x5e8ce2[0x1d]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x402477,0xe,_0x5e8ce2[0x1e]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0xbd5fec,0x14,_0x5e8ce2[0x1f]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x58f4ed,0x4,_0x5e8ce2[0x20]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x48ec0d,0xb,_0x5e8ce2[0x21]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x16ce00,0x10,_0x5e8ce2[0x22]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x1f587a,0x17,_0x5e8ce2[0x23]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xc67083,0x4,_0x5e8ce2[0x24]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x465141,0xb,_0x5e8ce2[0x25]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x402477,0x10,_0x5e8ce2[0x26]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x2cd41d,0x17,_0x5e8ce2[0x27]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x24e94d,0x4,_0x5e8ce2[0x28]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x4a4b34,0xb,_0x5e8ce2[0x29]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x302542,0x10,_0x5e8ce2[0x2a]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x2e73e5,0x17,_0x5e8ce2[0x2b]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x47927b,0x4,_0x5e8ce2[0x2c]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0xbd5fec,0xb,_0x5e8ce2[0x2d]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x377c65,0x10,_0x5e8ce2[0x2e]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x3b56f3,0x17,_0x5e8ce2[0x2f]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x4a4b34,0x6,_0x5e8ce2[0x30]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x402477,0xa,_0x5e8ce2[0x31]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x1f587a,0xf,_0x5e8ce2[0x32]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x58f4ed,0x15,_0x5e8ce2[0x33]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xbd5fec,0x6,_0x5e8ce2[0x34]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x302542,0xa,_0x5e8ce2[0x35]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2cd41d,0xf,_0x5e8ce2[0x36]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0xc67083,0x15,_0x5e8ce2[0x37]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x48ec0d,0x6,_0x5e8ce2[0x38]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x377c65,0xa,_0x5e8ce2[0x39]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2e73e5,0xf,_0x5e8ce2[0x3a]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x24e94d,0x15,_0x5e8ce2[0x3b]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x465141,0x6,_0x5e8ce2[0x3c]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x16ce00,0xa,_0x5e8ce2[0x3d]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x3b56f3,0xf,_0x5e8ce2[0x3e]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x47927b,0x15,_0x5e8ce2[0x3f]),_0x4ceeb5[0x0]=_0x4ceeb5[0x0]+_0x357525|0x0,_0x4ceeb5[0x1]=_0x4ceeb5[0x1]+_0x1927ed|0x0,_0x4ceeb5[0x2]=_0x4ceeb5[0x2]+_0x4196d3|0x0,_0x4ceeb5[0x3]=_0x4ceeb5[0x3]+_0x3a6bb0|0x0;},'_doFinalize':function(){var _0x2beb19=_0x202f53,_0x5bf8d2=this[_0x2beb19(0x1d7)],_0x5689ea=_0x5bf8d2[_0x2beb19(0x38f)],_0x2cc957=this[_0x2beb19(0x460)]*0x8,_0x14cc13=_0x5bf8d2[_0x2beb19(0x2ec)]*0x8;_0x5689ea[_0x14cc13>>>0x5]|=0x80<<0x18-_0x14cc13%0x20;var _0x3931d5=_0x1628b4['floor'](_0x2cc957/0x100000000),_0x31d9d3=_0x2cc957;_0x5689ea[(_0x14cc13+0x40>>>0x9<<0x4)+0xf]=(_0x3931d5<<0x8|_0x3931d5>>>0x18)&0xff00ff|(_0x3931d5<<0x18|_0x3931d5>>>0x8)&0xff00ff00,_0x5689ea[(_0x14cc13+0x40>>>0x9<<0x4)+0xe]=(_0x31d9d3<<0x8|_0x31d9d3>>>0x18)&0xff00ff|(_0x31d9d3<<0x18|_0x31d9d3>>>0x8)&0xff00ff00,_0x5bf8d2[_0x2beb19(0x2ec)]=(_0x5689ea[_0x2beb19(0x2fd)]+0x1)*0x4,this[_0x2beb19(0x3bb)]();for(var _0x41da3d=this[_0x2beb19(0x456)],_0x4944ef=_0x41da3d['words'],_0x43b357=0x0;_0x43b357<0x4;_0x43b357++){var _0x16362f=_0x4944ef[_0x43b357];_0x4944ef[_0x43b357]=(_0x16362f<<0x8|_0x16362f>>>0x18)&0xff00ff|(_0x16362f<<0x18|_0x16362f>>>0x8)&0xff00ff00;}return _0x41da3d;},'clone':function(){var _0x177646=_0x202f53,_0x5e48d9=_0x1b3059['clone'][_0x177646(0x1a9)](this);return _0x5e48d9[_0x177646(0x456)]=this[_0x177646(0x456)]['clone'](),_0x5e48d9;}});function _0x214677(_0x256041,_0x5d8ad2,_0x1b5026,_0x34ee93,_0x202d26,_0x377dc0,_0x479acd){var _0x496f90=_0x256041+(_0x5d8ad2&_0x1b5026|~_0x5d8ad2&_0x34ee93)+_0x202d26+_0x479acd;return(_0x496f90<<_0x377dc0|_0x496f90>>>0x20-_0x377dc0)+_0x5d8ad2;}function _0x5c0ac9(_0x1c072d,_0x28eaa2,_0x5f59ec,_0x2361a9,_0x1f5808,_0x148e01,_0x206e7d){var _0x33f7e1=_0x1c072d+(_0x28eaa2&_0x2361a9|_0x5f59ec&~_0x2361a9)+_0x1f5808+_0x206e7d;return(_0x33f7e1<<_0x148e01|_0x33f7e1>>>0x20-_0x148e01)+_0x28eaa2;}function _0x1518d9(_0x53c9c3,_0x48e940,_0x1964d4,_0x32bc47,_0x30f6a8,_0x5836a4,_0x4c6d95){var _0x1c18a1=_0x53c9c3+(_0x48e940^_0x1964d4^_0x32bc47)+_0x30f6a8+_0x4c6d95;return(_0x1c18a1<<_0x5836a4|_0x1c18a1>>>0x20-_0x5836a4)+_0x48e940;}function _0xc7f86b(_0x46d401,_0x4e026a,_0x2ccdb8,_0x5c3df6,_0x5de5cf,_0x8363f8,_0x3408bc){var _0x43e872=_0x46d401+(_0x2ccdb8^(_0x4e026a|~_0x5c3df6))+_0x5de5cf+_0x3408bc;return(_0x43e872<<_0x8363f8|_0x43e872>>>0x20-_0x8363f8)+_0x4e026a;}_0x1a927b[_0x202f53(0x191)]=_0x1b3059[_0x202f53(0x3d4)](_0x4dc5b5),_0x1a927b[_0x202f53(0x3e6)]=_0x1b3059['_createHmacHelper'](_0x4dc5b5);}(Math),_0x372987[_0x13b809(0x191)];}));}(We)),We[_0x2bca4e(0x3b5)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x1bf9e4(0x3b5)],Xt;function mn(){var _0x5ac1f5=_0x1bf9e4;return Xt||(Xt=0x1,function(_0x4d768f,_0x360f3e){(function(_0x4b59b8,_0x18c516){var _0x188589=_0xcbfd;_0x4d768f[_0x188589(0x3b5)]=_0x18c516(te());}(pn,function(_0x29adf4){var _0x395387=_0xcbfd;return(function(){var _0x5b0567=_0xcbfd,_0x5e098b=_0x29adf4,_0x58173c=_0x5e098b[_0x5b0567(0x461)],_0x4bd8a7=_0x58173c[_0x5b0567(0x3b1)],_0x144509=_0x58173c[_0x5b0567(0x21e)],_0x3a60a7=_0x5e098b[_0x5b0567(0x293)],_0x4d25c8=[],_0xea4bd1=_0x3a60a7[_0x5b0567(0x368)]=_0x144509[_0x5b0567(0x2a9)]({'_doReset':function(){var _0x23764d=_0x5b0567;this[_0x23764d(0x456)]=new _0x4bd8a7[(_0x23764d(0x299))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4e042c,_0x3c5272){var _0xe9b65f=_0x5b0567;for(var _0x527f8f=this[_0xe9b65f(0x456)][_0xe9b65f(0x38f)],_0x474b73=_0x527f8f[0x0],_0x6769cb=_0x527f8f[0x1],_0x4b646c=_0x527f8f[0x2],_0x23ac38=_0x527f8f[0x3],_0x20ec9f=_0x527f8f[0x4],_0x4bf111=0x0;_0x4bf111<0x50;_0x4bf111++){if(_0x4bf111<0x10)_0x4d25c8[_0x4bf111]=_0x4e042c[_0x3c5272+_0x4bf111]|0x0;else{var _0x164e96=_0x4d25c8[_0x4bf111-0x3]^_0x4d25c8[_0x4bf111-0x8]^_0x4d25c8[_0x4bf111-0xe]^_0x4d25c8[_0x4bf111-0x10];_0x4d25c8[_0x4bf111]=_0x164e96<<0x1|_0x164e96>>>0x1f;}var _0x144643=(_0x474b73<<0x5|_0x474b73>>>0x1b)+_0x20ec9f+_0x4d25c8[_0x4bf111];_0x4bf111<0x14?_0x144643+=(_0x6769cb&_0x4b646c|~_0x6769cb&_0x23ac38)+0x5a827999:_0x4bf111<0x28?_0x144643+=(_0x6769cb^_0x4b646c^_0x23ac38)+0x6ed9eba1:_0x4bf111<0x3c?_0x144643+=(_0x6769cb&_0x4b646c|_0x6769cb&_0x23ac38|_0x4b646c&_0x23ac38)-0x70e44324:_0x144643+=(_0x6769cb^_0x4b646c^_0x23ac38)-0x359d3e2a,_0x20ec9f=_0x23ac38,_0x23ac38=_0x4b646c,_0x4b646c=_0x6769cb<<0x1e|_0x6769cb>>>0x2,_0x6769cb=_0x474b73,_0x474b73=_0x144643;}_0x527f8f[0x0]=_0x527f8f[0x0]+_0x474b73|0x0,_0x527f8f[0x1]=_0x527f8f[0x1]+_0x6769cb|0x0,_0x527f8f[0x2]=_0x527f8f[0x2]+_0x4b646c|0x0,_0x527f8f[0x3]=_0x527f8f[0x3]+_0x23ac38|0x0,_0x527f8f[0x4]=_0x527f8f[0x4]+_0x20ec9f|0x0;},'_doFinalize':function(){var _0x27d050=_0x5b0567,_0x3cfa6d=this['_data'],_0xd8c82f=_0x3cfa6d['words'],_0x42684c=this[_0x27d050(0x460)]*0x8,_0x5cd1a7=_0x3cfa6d[_0x27d050(0x2ec)]*0x8;return _0xd8c82f[_0x5cd1a7>>>0x5]|=0x80<<0x18-_0x5cd1a7%0x20,_0xd8c82f[(_0x5cd1a7+0x40>>>0x9<<0x4)+0xe]=Math[_0x27d050(0x21f)](_0x42684c/0x100000000),_0xd8c82f[(_0x5cd1a7+0x40>>>0x9<<0x4)+0xf]=_0x42684c,_0x3cfa6d['sigBytes']=_0xd8c82f[_0x27d050(0x2fd)]*0x4,this[_0x27d050(0x3bb)](),this[_0x27d050(0x456)];},'clone':function(){var _0x36537a=_0x5b0567,_0x15a62f=_0x144509[_0x36537a(0x36d)][_0x36537a(0x1a9)](this);return _0x15a62f[_0x36537a(0x456)]=this[_0x36537a(0x456)][_0x36537a(0x36d)](),_0x15a62f;}});_0x5e098b[_0x5b0567(0x368)]=_0x144509[_0x5b0567(0x3d4)](_0xea4bd1),_0x5e098b[_0x5b0567(0x33f)]=_0x144509[_0x5b0567(0x341)](_0xea4bd1);}()),_0x29adf4[_0x395387(0x368)];}));}(qe)),qe[_0x5ac1f5(0x3b5)];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x1e9a6a=_0x1bf9e4;return Zt||(Zt=0x1,function(_0x11f2e0,_0x56ecd3){(function(_0x1a5769,_0x4a0d91){var _0x19dc1e=_0xcbfd;_0x11f2e0[_0x19dc1e(0x3b5)]=_0x4a0d91(te());}(gn,function(_0x2cae5c){(function(){var _0x18f043=_0xcbfd,_0x3e2b1a=_0x2cae5c,_0x544f82=_0x3e2b1a[_0x18f043(0x461)],_0x159e8b=_0x544f82[_0x18f043(0x3db)],_0x58d159=_0x3e2b1a[_0x18f043(0x24e)],_0x574cd7=_0x58d159['Utf8'],_0xac4f9=_0x3e2b1a[_0x18f043(0x293)];_0xac4f9[_0x18f043(0x1be)]=_0x159e8b[_0x18f043(0x2a9)]({'init':function(_0x4ba3a9,_0x4b992b){var _0x280913=_0x18f043;_0x4ba3a9=this[_0x280913(0x16f)]=new _0x4ba3a9[(_0x280913(0x299))](),typeof _0x4b992b=='string'&&(_0x4b992b=_0x574cd7[_0x280913(0x2d3)](_0x4b992b));var _0x2aeeac=_0x4ba3a9[_0x280913(0x30c)],_0x469946=_0x2aeeac*0x4;_0x4b992b['sigBytes']>_0x469946&&(_0x4b992b=_0x4ba3a9['finalize'](_0x4b992b)),_0x4b992b[_0x280913(0x22f)]();for(var _0x3c0072=this['_oKey']=_0x4b992b[_0x280913(0x36d)](),_0x5b431e=this[_0x280913(0x2d4)]=_0x4b992b['clone'](),_0x58acd8=_0x3c0072[_0x280913(0x38f)],_0x2886ef=_0x5b431e[_0x280913(0x38f)],_0x17ea2e=0x0;_0x17ea2e<_0x2aeeac;_0x17ea2e++)_0x58acd8[_0x17ea2e]^=0x5c5c5c5c,_0x2886ef[_0x17ea2e]^=0x36363636;_0x3c0072[_0x280913(0x2ec)]=_0x5b431e[_0x280913(0x2ec)]=_0x469946,this[_0x280913(0x162)]();},'reset':function(){var _0x2d2899=_0x18f043,_0x2d21ed=this[_0x2d2899(0x16f)];_0x2d21ed['reset'](),_0x2d21ed['update'](this['_iKey']);},'update':function(_0x3c4bd4){var _0x33d33b=_0x18f043;return this[_0x33d33b(0x16f)][_0x33d33b(0x319)](_0x3c4bd4),this;},'finalize':function(_0x24a1c8){var _0x56f742=_0x18f043,_0x38b5af=this['_hasher'],_0x25c160=_0x38b5af[_0x56f742(0x43a)](_0x24a1c8);_0x38b5af[_0x56f742(0x162)]();var _0x2d7f3e=_0x38b5af['finalize'](this['_oKey'][_0x56f742(0x36d)]()[_0x56f742(0x43b)](_0x25c160));return _0x2d7f3e;}});}());}));}(ze)),ze[_0x1e9a6a(0x3b5)];}var En=Ke[_0x1bf9e4(0x3b5)],Qt;function yi(){return Qt||(Qt=0x1,function(_0x5f040f,_0x54a695){(function(_0x43b85f,_0x36aa1b,_0x959da4){var _0x5e9aac=_0xcbfd;_0x5f040f[_0x5e9aac(0x3b5)]=_0x36aa1b(te(),mn(),Sn());}(En,function(_0x1191d0){var _0x25bfb0=_0xcbfd;return(function(){var _0x212c35=_0xcbfd,_0x89462c=_0x1191d0,_0x4492a9=_0x89462c[_0x212c35(0x461)],_0x3c1163=_0x4492a9[_0x212c35(0x3db)],_0xf7e245=_0x4492a9[_0x212c35(0x3b1)],_0x4a8355=_0x89462c[_0x212c35(0x293)],_0x318331=_0x4a8355['MD5'],_0x258ec2=_0x4a8355['EvpKDF']=_0x3c1163[_0x212c35(0x2a9)]({'cfg':_0x3c1163['extend']({'keySize':0x80/0x20,'hasher':_0x318331,'iterations':0x1}),'init':function(_0x179a59){var _0x59164c=_0x212c35;this[_0x59164c(0x436)]=this[_0x59164c(0x436)][_0x59164c(0x2a9)](_0x179a59);},'compute':function(_0x16fbd7,_0xcc4326){var _0x6e2605=_0x212c35;for(var _0x126e63,_0x308ae0=this[_0x6e2605(0x436)],_0x4eae7b=_0x308ae0['hasher'][_0x6e2605(0x168)](),_0x4e52f8=_0xf7e245['create'](),_0x382fcb=_0x4e52f8[_0x6e2605(0x38f)],_0x3ced21=_0x308ae0[_0x6e2605(0x2db)],_0x10ad73=_0x308ae0[_0x6e2605(0x410)];_0x382fcb[_0x6e2605(0x2fd)]<_0x3ced21;){_0x126e63&&_0x4eae7b['update'](_0x126e63),_0x126e63=_0x4eae7b[_0x6e2605(0x319)](_0x16fbd7)[_0x6e2605(0x43a)](_0xcc4326),_0x4eae7b[_0x6e2605(0x162)]();for(var _0x520014=0x1;_0x520014<_0x10ad73;_0x520014++)_0x126e63=_0x4eae7b[_0x6e2605(0x43a)](_0x126e63),_0x4eae7b['reset']();_0x4e52f8[_0x6e2605(0x43b)](_0x126e63);}return _0x4e52f8['sigBytes']=_0x3ced21*0x4,_0x4e52f8;}});_0x89462c[_0x212c35(0x3b3)]=function(_0x542654,_0xce75b5,_0x2dc531){var _0x3982ed=_0x212c35;return _0x258ec2[_0x3982ed(0x168)](_0x2dc531)['compute'](_0x542654,_0xce75b5);};}()),_0x1191d0[_0x25bfb0(0x3b3)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},In=Je[_0x1bf9e4(0x3b5)],ei;function Ni(){var _0x1e2784=_0x1bf9e4;return ei||(ei=0x1,function(_0x312acd,_0x8bc465){(function(_0x12b24a,_0xb21783,_0x545542){var _0x44d958=_0xcbfd;_0x312acd[_0x44d958(0x3b5)]=_0xb21783(te(),yi());}(In,function(_0x46d5a4){var _0xca15ca=_0xcbfd;_0x46d5a4[_0xca15ca(0x461)][_0xca15ca(0x2ef)]||function(_0x5dd364){var _0x202ce0=_0xca15ca,_0x305429=_0x46d5a4,_0x1cd296=_0x305429['lib'],_0x195e0a=_0x1cd296['Base'],_0xee3567=_0x1cd296[_0x202ce0(0x3b1)],_0x569be9=_0x1cd296['BufferedBlockAlgorithm'],_0x520081=_0x305429[_0x202ce0(0x24e)];_0x520081['Utf8'];var _0x96f21e=_0x520081[_0x202ce0(0x2a6)],_0x58df88=_0x305429['algo'],_0x1345f4=_0x58df88[_0x202ce0(0x3b3)],_0xe424e7=_0x1cd296[_0x202ce0(0x2ef)]=_0x569be9[_0x202ce0(0x2a9)]({'cfg':_0x195e0a[_0x202ce0(0x2a9)](),'createEncryptor':function(_0x27fe07,_0x2db432){var _0x5c1b25=_0x202ce0;return this[_0x5c1b25(0x168)](this[_0x5c1b25(0x1e4)],_0x27fe07,_0x2db432);},'createDecryptor':function(_0x34bbbf,_0x4e00c1){var _0x589e2a=_0x202ce0;return this[_0x589e2a(0x168)](this[_0x589e2a(0x29f)],_0x34bbbf,_0x4e00c1);},'init':function(_0x39edcd,_0x45c961,_0x2a80e7){var _0x43998a=_0x202ce0;this[_0x43998a(0x436)]=this['cfg'][_0x43998a(0x2a9)](_0x2a80e7),this[_0x43998a(0x404)]=_0x39edcd,this['_key']=_0x45c961,this['reset']();},'reset':function(){var _0x3d8c09=_0x202ce0;_0x569be9[_0x3d8c09(0x162)][_0x3d8c09(0x1a9)](this),this[_0x3d8c09(0x3f8)]();},'process':function(_0x3b1269){var _0x420cfc=_0x202ce0;return this[_0x420cfc(0x189)](_0x3b1269),this[_0x420cfc(0x3bb)]();},'finalize':function(_0x2e8c8a){var _0x57fa12=_0x202ce0;_0x2e8c8a&&this[_0x57fa12(0x189)](_0x2e8c8a);var _0x45533c=this[_0x57fa12(0x1f2)]();return _0x45533c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x38ab22(_0x18ee76){var _0x1d6879=_0xcbfd;return typeof _0x18ee76==_0x1d6879(0x33e)?_0x2d0faa:_0x4632f7;}return function(_0x3541f9){return{'encrypt':function(_0x39b36a,_0x2f8157,_0x4cb5d5){var _0x3e0db9=_0xcbfd;return _0x38ab22(_0x2f8157)[_0x3e0db9(0x171)](_0x3541f9,_0x39b36a,_0x2f8157,_0x4cb5d5);},'decrypt':function(_0x50b45a,_0xbc9332,_0x5c1064){var _0x267667=_0xcbfd;return _0x38ab22(_0xbc9332)[_0x267667(0x3d8)](_0x3541f9,_0x50b45a,_0xbc9332,_0x5c1064);}};};}())});_0x1cd296['StreamCipher']=_0xe424e7[_0x202ce0(0x2a9)]({'_doFinalize':function(){var _0x253646=_0x202ce0,_0x5c078e=this[_0x253646(0x3bb)](!0x0);return _0x5c078e;},'blockSize':0x1});var _0x5674f5=_0x305429[_0x202ce0(0x2a8)]={},_0x20e506=_0x1cd296[_0x202ce0(0x188)]=_0x195e0a['extend']({'createEncryptor':function(_0x1d493a,_0x4f9f74){var _0x262622=_0x202ce0;return this[_0x262622(0x32c)][_0x262622(0x168)](_0x1d493a,_0x4f9f74);},'createDecryptor':function(_0x3bdaec,_0x549ebc){var _0x8f32e8=_0x202ce0;return this[_0x8f32e8(0x3c1)]['create'](_0x3bdaec,_0x549ebc);},'init':function(_0x20606c,_0x1cf9a7){this['_cipher']=_0x20606c,this['_iv']=_0x1cf9a7;}}),_0x3ce643=_0x5674f5[_0x202ce0(0x367)]=(function(){var _0xd47bd6=_0x202ce0,_0x14e702=_0x20e506[_0xd47bd6(0x2a9)]();_0x14e702[_0xd47bd6(0x32c)]=_0x14e702['extend']({'processBlock':function(_0x5bd60d,_0x3f1a75){var _0x44acd3=_0xd47bd6,_0x150a39=this[_0x44acd3(0x428)],_0x4dfcdc=_0x150a39['blockSize'];_0x1a875d[_0x44acd3(0x1a9)](this,_0x5bd60d,_0x3f1a75,_0x4dfcdc),_0x150a39[_0x44acd3(0x1cc)](_0x5bd60d,_0x3f1a75),this[_0x44acd3(0x289)]=_0x5bd60d[_0x44acd3(0x1cd)](_0x3f1a75,_0x3f1a75+_0x4dfcdc);}}),_0x14e702[_0xd47bd6(0x3c1)]=_0x14e702['extend']({'processBlock':function(_0x3617da,_0x28a682){var _0x450202=_0xd47bd6,_0x5dd0f6=this[_0x450202(0x428)],_0x5412e3=_0x5dd0f6[_0x450202(0x30c)],_0x2c87b9=_0x3617da[_0x450202(0x1cd)](_0x28a682,_0x28a682+_0x5412e3);_0x5dd0f6[_0x450202(0x202)](_0x3617da,_0x28a682),_0x1a875d[_0x450202(0x1a9)](this,_0x3617da,_0x28a682,_0x5412e3),this['_prevBlock']=_0x2c87b9;}});function _0x1a875d(_0x7e3746,_0x181cf5,_0x4e05bb){var _0x284976=_0xd47bd6,_0x21fc75,_0x195252=this[_0x284976(0x1cb)];_0x195252?(_0x21fc75=_0x195252,this[_0x284976(0x1cb)]=_0x5dd364):_0x21fc75=this[_0x284976(0x289)];for(var _0x2ec7d9=0x0;_0x2ec7d9<_0x4e05bb;_0x2ec7d9++)_0x7e3746[_0x181cf5+_0x2ec7d9]^=_0x21fc75[_0x2ec7d9];}return _0x14e702;}()),_0x299b42=_0x305429['pad']={},_0x53b647=_0x299b42[_0x202ce0(0x3c3)]={'pad':function(_0x44a84d,_0x5352b7){var _0x148098=_0x202ce0;for(var _0x375afa=_0x5352b7*0x4,_0x4010d4=_0x375afa-_0x44a84d[_0x148098(0x2ec)]%_0x375afa,_0x465ab0=_0x4010d4<<0x18|_0x4010d4<<0x10|_0x4010d4<<0x8|_0x4010d4,_0x50341a=[],_0x31d7b7=0x0;_0x31d7b7<_0x4010d4;_0x31d7b7+=0x4)_0x50341a['push'](_0x465ab0);var _0x1f838c=_0xee3567[_0x148098(0x168)](_0x50341a,_0x4010d4);_0x44a84d['concat'](_0x1f838c);},'unpad':function(_0x2ddbd0){var _0x28fcaf=_0x202ce0,_0x34bbd3=_0x2ddbd0[_0x28fcaf(0x38f)][_0x2ddbd0['sigBytes']-0x1>>>0x2]&0xff;_0x2ddbd0[_0x28fcaf(0x2ec)]-=_0x34bbd3;}};_0x1cd296['BlockCipher']=_0xe424e7[_0x202ce0(0x2a9)]({'cfg':_0xe424e7[_0x202ce0(0x436)][_0x202ce0(0x2a9)]({'mode':_0x3ce643,'padding':_0x53b647}),'reset':function(){var _0x1984a7=_0x202ce0,_0x42b464;_0xe424e7[_0x1984a7(0x162)][_0x1984a7(0x1a9)](this);var _0x536720=this[_0x1984a7(0x436)],_0x392740=_0x536720['iv'],_0x4503ad=_0x536720['mode'];this[_0x1984a7(0x404)]==this[_0x1984a7(0x1e4)]?_0x42b464=_0x4503ad[_0x1984a7(0x3d0)]:(_0x42b464=_0x4503ad[_0x1984a7(0x220)],this[_0x1984a7(0x28d)]=0x1),this[_0x1984a7(0x42b)]&&this[_0x1984a7(0x42b)][_0x1984a7(0x205)]==_0x42b464?this[_0x1984a7(0x42b)]['init'](this,_0x392740&&_0x392740[_0x1984a7(0x38f)]):(this['_mode']=_0x42b464[_0x1984a7(0x1a9)](_0x4503ad,this,_0x392740&&_0x392740[_0x1984a7(0x38f)]),this[_0x1984a7(0x42b)][_0x1984a7(0x205)]=_0x42b464);},'_doProcessBlock':function(_0x555e8b,_0x578ea1){var _0x3043ee=_0x202ce0;this[_0x3043ee(0x42b)][_0x3043ee(0x3b2)](_0x555e8b,_0x578ea1);},'_doFinalize':function(){var _0x2525c4=_0x202ce0,_0x2b866c,_0x40f893=this[_0x2525c4(0x436)][_0x2525c4(0x1ed)];return this[_0x2525c4(0x404)]==this[_0x2525c4(0x1e4)]?(_0x40f893[_0x2525c4(0x468)](this['_data'],this[_0x2525c4(0x30c)]),_0x2b866c=this[_0x2525c4(0x3bb)](!0x0)):(_0x2b866c=this[_0x2525c4(0x3bb)](!0x0),_0x40f893[_0x2525c4(0x375)](_0x2b866c)),_0x2b866c;},'blockSize':0x80/0x20});var _0x18b838=_0x1cd296[_0x202ce0(0x1a8)]=_0x195e0a[_0x202ce0(0x2a9)]({'init':function(_0x1545d7){var _0x52911d=_0x202ce0;this[_0x52911d(0x172)](_0x1545d7);},'toString':function(_0x3aece4){var _0x177f20=_0x202ce0;return(_0x3aece4||this['formatter'])[_0x177f20(0x379)](this);}}),_0x491fc0=_0x305429[_0x202ce0(0x3bf)]={},_0x24279a=_0x491fc0['OpenSSL']={'stringify':function(_0x558e2d){var _0xa3db8f=_0x202ce0,_0x25e92c,_0x2c1001=_0x558e2d[_0xa3db8f(0x295)],_0x3f9a55=_0x558e2d[_0xa3db8f(0x374)];return _0x3f9a55?_0x25e92c=_0xee3567['create']([0x53616c74,0x65645f5f])['concat'](_0x3f9a55)[_0xa3db8f(0x43b)](_0x2c1001):_0x25e92c=_0x2c1001,_0x25e92c[_0xa3db8f(0x3ff)](_0x96f21e);},'parse':function(_0x573316){var _0x3aeef9=_0x202ce0,_0x42db84,_0x43bd11=_0x96f21e[_0x3aeef9(0x2d3)](_0x573316),_0x289ca3=_0x43bd11[_0x3aeef9(0x38f)];return _0x289ca3[0x0]==0x53616c74&&_0x289ca3[0x1]==0x65645f5f&&(_0x42db84=_0xee3567[_0x3aeef9(0x168)](_0x289ca3[_0x3aeef9(0x1cd)](0x2,0x4)),_0x289ca3[_0x3aeef9(0x3c9)](0x0,0x4),_0x43bd11[_0x3aeef9(0x2ec)]-=0x10),_0x18b838['create']({'ciphertext':_0x43bd11,'salt':_0x42db84});}},_0x4632f7=_0x1cd296[_0x202ce0(0x396)]=_0x195e0a[_0x202ce0(0x2a9)]({'cfg':_0x195e0a[_0x202ce0(0x2a9)]({'format':_0x24279a}),'encrypt':function(_0x375c38,_0x37d7ab,_0x521ba4,_0x398415){var _0x1d6df7=_0x202ce0;_0x398415=this[_0x1d6df7(0x436)][_0x1d6df7(0x2a9)](_0x398415);var _0xec606c=_0x375c38[_0x1d6df7(0x3d0)](_0x521ba4,_0x398415),_0x450f7b=_0xec606c[_0x1d6df7(0x43a)](_0x37d7ab),_0x168374=_0xec606c[_0x1d6df7(0x436)];return _0x18b838[_0x1d6df7(0x168)]({'ciphertext':_0x450f7b,'key':_0x521ba4,'iv':_0x168374['iv'],'algorithm':_0x375c38,'mode':_0x168374[_0x1d6df7(0x2a8)],'padding':_0x168374[_0x1d6df7(0x1ed)],'blockSize':_0x375c38[_0x1d6df7(0x30c)],'formatter':_0x398415['format']});},'decrypt':function(_0x2fda88,_0x191ff0,_0xcaff50,_0x147f9b){var _0x56e4b3=_0x202ce0;_0x147f9b=this[_0x56e4b3(0x436)][_0x56e4b3(0x2a9)](_0x147f9b),_0x191ff0=this[_0x56e4b3(0x360)](_0x191ff0,_0x147f9b[_0x56e4b3(0x3bf)]);var _0x487417=_0x2fda88['createDecryptor'](_0xcaff50,_0x147f9b)['finalize'](_0x191ff0['ciphertext']);return _0x487417;},'_parse':function(_0x351c2f,_0x3d8f49){var _0x3dc401=_0x202ce0;return typeof _0x351c2f==_0x3dc401(0x33e)?_0x3d8f49[_0x3dc401(0x2d3)](_0x351c2f,this):_0x351c2f;}}),_0x30d37f=_0x305429[_0x202ce0(0x2d1)]={},_0x21e7ec=_0x30d37f[_0x202ce0(0x37e)]={'execute':function(_0x3cd058,_0x3a058a,_0x29c2a4,_0x584054,_0x4b41d4){var _0x3e4a26=_0x202ce0;if(_0x584054||(_0x584054=_0xee3567[_0x3e4a26(0x1ea)](0x40/0x8)),_0x4b41d4)var _0x56b63d=_0x1345f4[_0x3e4a26(0x168)]({'keySize':_0x3a058a+_0x29c2a4,'hasher':_0x4b41d4})[_0x3e4a26(0x383)](_0x3cd058,_0x584054);else var _0x56b63d=_0x1345f4[_0x3e4a26(0x168)]({'keySize':_0x3a058a+_0x29c2a4})[_0x3e4a26(0x383)](_0x3cd058,_0x584054);var _0x17ea57=_0xee3567['create'](_0x56b63d['words']['slice'](_0x3a058a),_0x29c2a4*0x4);return _0x56b63d['sigBytes']=_0x3a058a*0x4,_0x18b838[_0x3e4a26(0x168)]({'key':_0x56b63d,'iv':_0x17ea57,'salt':_0x584054});}},_0x2d0faa=_0x1cd296['PasswordBasedCipher']=_0x4632f7[_0x202ce0(0x2a9)]({'cfg':_0x4632f7['cfg']['extend']({'kdf':_0x21e7ec}),'encrypt':function(_0x2cc518,_0x2d1efc,_0x2604c4,_0x40aa80){var _0x60652b=_0x202ce0;_0x40aa80=this[_0x60652b(0x436)][_0x60652b(0x2a9)](_0x40aa80);var _0x3c556e=_0x40aa80[_0x60652b(0x2d1)][_0x60652b(0x18e)](_0x2604c4,_0x2cc518['keySize'],_0x2cc518[_0x60652b(0x365)],_0x40aa80[_0x60652b(0x374)],_0x40aa80[_0x60652b(0x1fa)]);_0x40aa80['iv']=_0x3c556e['iv'];var _0x5f6161=_0x4632f7[_0x60652b(0x171)][_0x60652b(0x1a9)](this,_0x2cc518,_0x2d1efc,_0x3c556e[_0x60652b(0x40f)],_0x40aa80);return _0x5f6161['mixIn'](_0x3c556e),_0x5f6161;},'decrypt':function(_0x41753f,_0x3e7d0d,_0x103517,_0x1f9110){var _0x2e6a59=_0x202ce0;_0x1f9110=this['cfg'][_0x2e6a59(0x2a9)](_0x1f9110),_0x3e7d0d=this[_0x2e6a59(0x360)](_0x3e7d0d,_0x1f9110[_0x2e6a59(0x3bf)]);var _0x1c5209=_0x1f9110[_0x2e6a59(0x2d1)][_0x2e6a59(0x18e)](_0x103517,_0x41753f[_0x2e6a59(0x2db)],_0x41753f['ivSize'],_0x3e7d0d['salt'],_0x1f9110[_0x2e6a59(0x1fa)]);_0x1f9110['iv']=_0x1c5209['iv'];var _0x56a1a7=_0x4632f7[_0x2e6a59(0x3d8)]['call'](this,_0x41753f,_0x3e7d0d,_0x1c5209[_0x2e6a59(0x40f)],_0x1f9110);return _0x56a1a7;}});}();}));}(Je)),Je[_0x1e2784(0x3b5)];}var Tn=Ve['exports'],ti;function Cn(){var _0x49b1d8=_0x1bf9e4;return ti||(ti=0x1,function(_0x3ea17f,_0x24fefc){(function(_0x3bc13f,_0x3f89a7,_0x481cae){_0x3ea17f['exports']=_0x3f89a7(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x3b2dc1){var _0x578bc5=_0xcbfd;return(function(){var _0x3a2e96=_0xcbfd,_0x331595=_0x3b2dc1,_0x2395d8=_0x331595['lib'],_0x2899d4=_0x2395d8[_0x3a2e96(0x3dc)],_0x17de47=_0x331595['algo'],_0x41cf75=[],_0x27ba51=[],_0x685ec4=[],_0x193329=[],_0xb9c56d=[],_0x1f5195=[],_0x28825c=[],_0x55592b=[],_0x3dc463=[],_0x3f945a=[];(function(){for(var _0x4706cb=[],_0x34e55e=0x0;_0x34e55e<0x100;_0x34e55e++)_0x34e55e<0x80?_0x4706cb[_0x34e55e]=_0x34e55e<<0x1:_0x4706cb[_0x34e55e]=_0x34e55e<<0x1^0x11b;for(var _0x13e4c8=0x0,_0x4c6cee=0x0,_0x34e55e=0x0;_0x34e55e<0x100;_0x34e55e++){var _0x1f0422=_0x4c6cee^_0x4c6cee<<0x1^_0x4c6cee<<0x2^_0x4c6cee<<0x3^_0x4c6cee<<0x4;_0x1f0422=_0x1f0422>>>0x8^_0x1f0422&0xff^0x63,_0x41cf75[_0x13e4c8]=_0x1f0422,_0x27ba51[_0x1f0422]=_0x13e4c8;var _0x364f32=_0x4706cb[_0x13e4c8],_0x3e1251=_0x4706cb[_0x364f32],_0x4ecd1c=_0x4706cb[_0x3e1251],_0x2650d7=_0x4706cb[_0x1f0422]*0x101^_0x1f0422*0x1010100;_0x685ec4[_0x13e4c8]=_0x2650d7<<0x18|_0x2650d7>>>0x8,_0x193329[_0x13e4c8]=_0x2650d7<<0x10|_0x2650d7>>>0x10,_0xb9c56d[_0x13e4c8]=_0x2650d7<<0x8|_0x2650d7>>>0x18,_0x1f5195[_0x13e4c8]=_0x2650d7;var _0x2650d7=_0x4ecd1c*0x1010101^_0x3e1251*0x10001^_0x364f32*0x101^_0x13e4c8*0x1010100;_0x28825c[_0x1f0422]=_0x2650d7<<0x18|_0x2650d7>>>0x8,_0x55592b[_0x1f0422]=_0x2650d7<<0x10|_0x2650d7>>>0x10,_0x3dc463[_0x1f0422]=_0x2650d7<<0x8|_0x2650d7>>>0x18,_0x3f945a[_0x1f0422]=_0x2650d7,_0x13e4c8?(_0x13e4c8=_0x364f32^_0x4706cb[_0x4706cb[_0x4706cb[_0x4ecd1c^_0x364f32]]],_0x4c6cee^=_0x4706cb[_0x4706cb[_0x4c6cee]]):_0x13e4c8=_0x4c6cee=0x1;}}());var _0x1e9180=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2dc086=_0x17de47[_0x3a2e96(0x227)]=_0x2899d4[_0x3a2e96(0x2a9)]({'_doReset':function(){var _0xc61cd=_0x3a2e96,_0x51e0f5;if(!(this[_0xc61cd(0x2e8)]&&this['_keyPriorReset']===this[_0xc61cd(0x3b8)])){for(var _0x2e75ee=this[_0xc61cd(0x195)]=this['_key'],_0x1a25fa=_0x2e75ee[_0xc61cd(0x38f)],_0x50e110=_0x2e75ee[_0xc61cd(0x2ec)]/0x4,_0x8640a0=this[_0xc61cd(0x2e8)]=_0x50e110+0x6,_0x1f1a8f=(_0x8640a0+0x1)*0x4,_0xf7e11b=this[_0xc61cd(0x15f)]=[],_0x2f2c35=0x0;_0x2f2c35<_0x1f1a8f;_0x2f2c35++)_0x2f2c35<_0x50e110?_0xf7e11b[_0x2f2c35]=_0x1a25fa[_0x2f2c35]:(_0x51e0f5=_0xf7e11b[_0x2f2c35-0x1],_0x2f2c35%_0x50e110?_0x50e110>0x6&&_0x2f2c35%_0x50e110==0x4&&(_0x51e0f5=_0x41cf75[_0x51e0f5>>>0x18]<<0x18|_0x41cf75[_0x51e0f5>>>0x10&0xff]<<0x10|_0x41cf75[_0x51e0f5>>>0x8&0xff]<<0x8|_0x41cf75[_0x51e0f5&0xff]):(_0x51e0f5=_0x51e0f5<<0x8|_0x51e0f5>>>0x18,_0x51e0f5=_0x41cf75[_0x51e0f5>>>0x18]<<0x18|_0x41cf75[_0x51e0f5>>>0x10&0xff]<<0x10|_0x41cf75[_0x51e0f5>>>0x8&0xff]<<0x8|_0x41cf75[_0x51e0f5&0xff],_0x51e0f5^=_0x1e9180[_0x2f2c35/_0x50e110|0x0]<<0x18),_0xf7e11b[_0x2f2c35]=_0xf7e11b[_0x2f2c35-_0x50e110]^_0x51e0f5);for(var _0x46bb66=this[_0xc61cd(0x323)]=[],_0x445f74=0x0;_0x445f74<_0x1f1a8f;_0x445f74++){var _0x2f2c35=_0x1f1a8f-_0x445f74;if(_0x445f74%0x4)var _0x51e0f5=_0xf7e11b[_0x2f2c35];else var _0x51e0f5=_0xf7e11b[_0x2f2c35-0x4];_0x445f74<0x4||_0x2f2c35<=0x4?_0x46bb66[_0x445f74]=_0x51e0f5:_0x46bb66[_0x445f74]=_0x28825c[_0x41cf75[_0x51e0f5>>>0x18]]^_0x55592b[_0x41cf75[_0x51e0f5>>>0x10&0xff]]^_0x3dc463[_0x41cf75[_0x51e0f5>>>0x8&0xff]]^_0x3f945a[_0x41cf75[_0x51e0f5&0xff]];}}},'encryptBlock':function(_0x671a4c,_0x396b07){var _0x24bcf9=_0x3a2e96;this['_doCryptBlock'](_0x671a4c,_0x396b07,this[_0x24bcf9(0x15f)],_0x685ec4,_0x193329,_0xb9c56d,_0x1f5195,_0x41cf75);},'decryptBlock':function(_0x26faa0,_0x539c05){var _0x20e0fe=_0x3a2e96,_0x13d2bc=_0x26faa0[_0x539c05+0x1];_0x26faa0[_0x539c05+0x1]=_0x26faa0[_0x539c05+0x3],_0x26faa0[_0x539c05+0x3]=_0x13d2bc,this[_0x20e0fe(0x3af)](_0x26faa0,_0x539c05,this[_0x20e0fe(0x323)],_0x28825c,_0x55592b,_0x3dc463,_0x3f945a,_0x27ba51);var _0x13d2bc=_0x26faa0[_0x539c05+0x1];_0x26faa0[_0x539c05+0x1]=_0x26faa0[_0x539c05+0x3],_0x26faa0[_0x539c05+0x3]=_0x13d2bc;},'_doCryptBlock':function(_0x1796aa,_0x455d55,_0x426c19,_0x36e63f,_0x32e591,_0x3d3889,_0x296abc,_0x495d07){for(var _0x4aa029=this['_nRounds'],_0xb8502e=_0x1796aa[_0x455d55]^_0x426c19[0x0],_0x14a521=_0x1796aa[_0x455d55+0x1]^_0x426c19[0x1],_0xef9993=_0x1796aa[_0x455d55+0x2]^_0x426c19[0x2],_0x194602=_0x1796aa[_0x455d55+0x3]^_0x426c19[0x3],_0x9463ac=0x4,_0x5980f5=0x1;_0x5980f5<_0x4aa029;_0x5980f5++){var _0x5727f3=_0x36e63f[_0xb8502e>>>0x18]^_0x32e591[_0x14a521>>>0x10&0xff]^_0x3d3889[_0xef9993>>>0x8&0xff]^_0x296abc[_0x194602&0xff]^_0x426c19[_0x9463ac++],_0x3bbe9a=_0x36e63f[_0x14a521>>>0x18]^_0x32e591[_0xef9993>>>0x10&0xff]^_0x3d3889[_0x194602>>>0x8&0xff]^_0x296abc[_0xb8502e&0xff]^_0x426c19[_0x9463ac++],_0x4f5ac4=_0x36e63f[_0xef9993>>>0x18]^_0x32e591[_0x194602>>>0x10&0xff]^_0x3d3889[_0xb8502e>>>0x8&0xff]^_0x296abc[_0x14a521&0xff]^_0x426c19[_0x9463ac++],_0x80ffb7=_0x36e63f[_0x194602>>>0x18]^_0x32e591[_0xb8502e>>>0x10&0xff]^_0x3d3889[_0x14a521>>>0x8&0xff]^_0x296abc[_0xef9993&0xff]^_0x426c19[_0x9463ac++];_0xb8502e=_0x5727f3,_0x14a521=_0x3bbe9a,_0xef9993=_0x4f5ac4,_0x194602=_0x80ffb7;}var _0x5727f3=(_0x495d07[_0xb8502e>>>0x18]<<0x18|_0x495d07[_0x14a521>>>0x10&0xff]<<0x10|_0x495d07[_0xef9993>>>0x8&0xff]<<0x8|_0x495d07[_0x194602&0xff])^_0x426c19[_0x9463ac++],_0x3bbe9a=(_0x495d07[_0x14a521>>>0x18]<<0x18|_0x495d07[_0xef9993>>>0x10&0xff]<<0x10|_0x495d07[_0x194602>>>0x8&0xff]<<0x8|_0x495d07[_0xb8502e&0xff])^_0x426c19[_0x9463ac++],_0x4f5ac4=(_0x495d07[_0xef9993>>>0x18]<<0x18|_0x495d07[_0x194602>>>0x10&0xff]<<0x10|_0x495d07[_0xb8502e>>>0x8&0xff]<<0x8|_0x495d07[_0x14a521&0xff])^_0x426c19[_0x9463ac++],_0x80ffb7=(_0x495d07[_0x194602>>>0x18]<<0x18|_0x495d07[_0xb8502e>>>0x10&0xff]<<0x10|_0x495d07[_0x14a521>>>0x8&0xff]<<0x8|_0x495d07[_0xef9993&0xff])^_0x426c19[_0x9463ac++];_0x1796aa[_0x455d55]=_0x5727f3,_0x1796aa[_0x455d55+0x1]=_0x3bbe9a,_0x1796aa[_0x455d55+0x2]=_0x4f5ac4,_0x1796aa[_0x455d55+0x3]=_0x80ffb7;},'keySize':0x100/0x20});_0x331595[_0x3a2e96(0x227)]=_0x2899d4[_0x3a2e96(0x3d4)](_0x2dc086);}()),_0x3b2dc1[_0x578bc5(0x227)];}));}(Ve)),Ve[_0x49b1d8(0x3b5)];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe[_0x1bf9e4(0x3b5)],si;function Nn(){var _0x5abd45=_0x1bf9e4;return si||(si=0x1,function(_0x1c69fb,_0xbfc8b2){(function(_0x21e035,_0x2e9e00){var _0x25490f=_0xcbfd;_0x1c69fb[_0x25490f(0x3b5)]=_0x2e9e00(te());}(yn,function(_0x177936){var _0x4abb52=_0xcbfd;return _0x177936[_0x4abb52(0x24e)][_0x4abb52(0x2f4)];}));}(Xe)),Xe[_0x5abd45(0x3b5)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x1bf9e4(0x3b5)],ni;function wn(){var _0x3f85e0=_0x1bf9e4;return ni||(ni=0x1,function(_0x1c5b40,_0x5b5911){(function(_0xa218fb,_0x2fb1e2){_0x1c5b40['exports']=_0x2fb1e2(te());}(An,function(_0x3a2f88){var _0x57ad97=_0xcbfd;return(function(){var _0x56cd8a=_0xcbfd;if(typeof ArrayBuffer==_0x56cd8a(0x2b1)){var _0x482f78=_0x3a2f88,_0x66e1cc=_0x482f78[_0x56cd8a(0x461)],_0x542feb=_0x66e1cc[_0x56cd8a(0x3b1)],_0xddd72c=_0x542feb[_0x56cd8a(0x299)],_0x39b824=_0x542feb['init']=function(_0x2838da){var _0x180c8a=_0x56cd8a;if(_0x2838da instanceof ArrayBuffer&&(_0x2838da=new Uint8Array(_0x2838da)),(_0x2838da instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2838da instanceof Uint8ClampedArray||_0x2838da instanceof Int16Array||_0x2838da instanceof Uint16Array||_0x2838da instanceof Int32Array||_0x2838da instanceof Uint32Array||_0x2838da instanceof Float32Array||_0x2838da instanceof Float64Array)&&(_0x2838da=new Uint8Array(_0x2838da['buffer'],_0x2838da[_0x180c8a(0x40c)],_0x2838da[_0x180c8a(0x2c6)])),_0x2838da instanceof Uint8Array){for(var _0x513cd7=_0x2838da['byteLength'],_0x2f27f2=[],_0x452af8=0x0;_0x452af8<_0x513cd7;_0x452af8++)_0x2f27f2[_0x452af8>>>0x2]|=_0x2838da[_0x452af8]<<0x18-_0x452af8%0x4*0x8;_0xddd72c['call'](this,_0x2f27f2,_0x513cd7);}else _0xddd72c[_0x180c8a(0x458)](this,arguments);};_0x39b824[_0x56cd8a(0x1da)]=_0x542feb;}}()),_0x3a2f88['lib'][_0x57ad97(0x3b1)];}));}(Ze)),Ze[_0x3f85e0(0x3b5)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x1bf9e4(0x3b5)],ri;function xn(){var _0x4ff9a9=_0x1bf9e4;return ri||(ri=0x1,function(_0x9a5065,_0x2e5223){(function(_0x48e6f9,_0x380585,_0x40a94c){var _0x221772=_0xcbfd;_0x9a5065[_0x221772(0x3b5)]=_0x380585(te(),Ni());}(Mn,function(_0x4ce027){var _0x524890=_0xcbfd;return _0x4ce027[_0x524890(0x468)][_0x524890(0x1ba)]={'pad':function(){},'unpad':function(){}},_0x4ce027['pad'][_0x524890(0x1ba)];}));}(Qe)),Qe[_0x4ff9a9(0x3b5)];}var kn=xn();const $n=$e(kn);function Hn(_0xc6e295,_0x4d8fdf){var _0x207f92=_0x1bf9e4;const _0x4558a3=_0x4d8fdf-_0xc6e295['length']%_0x4d8fdf,_0x2671fc=String['fromCharCode'](_0x4558a3)[_0x207f92(0x22c)](_0x4558a3);return _0xc6e295+_0x2671fc;}function Bn(_0x2e22c1,_0xe511b8){var _0x416423=_0x1bf9e4;const _0x30859f=Ln['random'](0x10),_0x3f4ca2=Hn(_0x2e22c1,0x10),_0x1978a7=On[_0x416423(0x171)](Un['parse'](_0x3f4ca2),ii['parse'](_0xe511b8),{'iv':_0x30859f,'padding':$n});return _0x30859f[_0x416423(0x43b)](_0x1978a7[_0x416423(0x295)])[_0x416423(0x3ff)](ii);}function jn(){var _0x3913ea=_0x1bf9e4;const _0x349915=_0x40af40()['__Key__'];if(_0x349915){const _0x16683a={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x3913ea(0x267)]};return Bn(JSON[_0x3913ea(0x379)](_0x16683a),_0x349915);}}var Fn=Object[_0x1bf9e4(0x241)],Vn=(_0x11962c,_0x21c6b9,_0x43f9b4,_0x3f908f)=>{var _0x46e83d=_0x1bf9e4;for(var _0x4d0848=_0x3f908f>0x1?void 0x0:_0x3f908f?Fn(_0x21c6b9,_0x43f9b4):_0x21c6b9,_0x461ff1=_0x11962c[_0x46e83d(0x2fd)]-0x1,_0x5c7883;_0x461ff1>=0x0;_0x461ff1--)(_0x5c7883=_0x11962c[_0x461ff1])&&(_0x4d0848=_0x5c7883(_0x4d0848)||_0x4d0848);return _0x4d0848;},Gn=(_0x351a78,_0x3e7915)=>(_0x211bab,_0x431b57)=>_0x3e7915(_0x211bab,_0x431b57,_0x351a78);let at=class{constructor(_0x29b1ea){var _0x38bad9=_0x1bf9e4;this[_0x38bad9(0x2e9)]=_0x29b1ea,this[_0x38bad9(0x25d)]();}[_0x1bf9e4(0x25d)](){var _0x572101=_0x1bf9e4;this[_0x572101(0x2e9)][_0x572101(0x43e)]({'interceptor':(_0x46d3ed,_0x5e66aa)=>{var _0x587db3=_0x572101;const _0x59f38d=_0x46d3ed[_0x587db3(0x3df)],_0xd3503b=jn();return _0xd3503b&&_0x59f38d[_0x587db3(0x1f3)](_0x587db3(0x378),_0xd3503b),_0x5e66aa(_0x46d3ed);}});}};at=Vn([Gn(0x0,_0x1eb2b7(_0x4a6b11))],at);var Yn=Object[_0x1bf9e4(0x241)],Wn=(_0x4210e9,_0x323ecc,_0x954df2,_0x8c9b6d)=>{var _0x1f57ab=_0x1bf9e4;for(var _0x1a9c6f=_0x8c9b6d>0x1?void 0x0:_0x8c9b6d?Yn(_0x323ecc,_0x954df2):_0x323ecc,_0x872094=_0x4210e9[_0x1f57ab(0x2fd)]-0x1,_0x52cbaa;_0x872094>=0x0;_0x872094--)(_0x52cbaa=_0x4210e9[_0x872094])&&(_0x1a9c6f=_0x52cbaa(_0x1a9c6f)||_0x1a9c6f);return _0x1a9c6f;},vt=(_0x4892b3,_0x3411c7)=>(_0x4931d1,_0x9f5835)=>_0x3411c7(_0x4931d1,_0x9f5835,_0x4892b3);let Ct=class extends _0x3f1edd{constructor(_0x3f2d60,_0x470065,_0x4fcc32){var _0x1ebc0c=_0x1bf9e4;super(),N(this,_0x1ebc0c(0x2a0),new _0x320cd9(null)),N(this,'unitInfo$',this[_0x1ebc0c(0x2a0)][_0x1ebc0c(0x332)]()),(this[_0x1ebc0c(0x254)]=_0x3f2d60,this[_0x1ebc0c(0x16c)]=_0x470065,this['_localCacheService']=_0x4fcc32);}async[_0x1bf9e4(0x39c)](_0x835ea3,_0x120c24,_0x2cf97e){var _0x2451dd=_0x1bf9e4;this['_unitInfo$'][_0x2451dd(0x232)]({'unitId':_0x835ea3,'type':_0x120c24});let _0x23cb49=null;switch(_0x120c24){case Z[_0x2451dd(0x1ec)]:{_0x23cb49=await this[_0x2451dd(0x16c)][_0x2451dd(0x465)](_0x835ea3,_0x2cf97e);break;}case Z['UNIVER_DOC']:{_0x23cb49=await this[_0x2451dd(0x16c)][_0x2451dd(0x45f)](_0x835ea3,_0x2cf97e);break;}default:{this[_0x2451dd(0x254)][_0x2451dd(0x197)]('[DataLoaderService]',_0x2451dd(0x2bf));break;}}return _0x23cb49;}async['loadUnit'](_0x59f27c,_0x134c74,_0x1c014b){var _0x2828f0=_0x1bf9e4,_0x5efbf1;this[_0x2828f0(0x2a0)][_0x2828f0(0x232)]({'unitId':_0x59f27c,'type':_0x134c74,'subUnitId':_0x1c014b});let _0x509445=0x0;const _0x19d93b=await((_0x5efbf1=this[_0x2828f0(0x2c0)])==null?void 0x0:_0x5efbf1[_0x2828f0(0x31c)](_0x59f27c));return _0x19d93b&&(_0x19d93b['awaitingChangeset']||_0x19d93b[_0x2828f0(0x3a6)][_0x2828f0(0x2fd)]!==0x0)&&(_0x509445=_0x19d93b['rev']),_0x509445===0x0&&this['_logService']['debug']('[DataLoaderService]',_0x2828f0(0x3cd)),this[_0x2828f0(0x39c)](_0x59f27c,_0x134c74,_0x509445);}};Ct=Wn([vt(0x0,_0x4020c),vt(0x1,_0x1eb2b7(_0x564bfd)),vt(0x2,_0x471747(J))],Ct);var Kn=Object[_0x1bf9e4(0x241)],qn=(_0x2f7563,_0xad1bca,_0x266ccc,_0x2d715a)=>{var _0x49fbfb=_0x1bf9e4;for(var _0x3e3cd7=_0x2d715a>0x1?void 0x0:_0x2d715a?Kn(_0xad1bca,_0x266ccc):_0xad1bca,_0x38144b=_0x2f7563[_0x49fbfb(0x2fd)]-0x1,_0x136841;_0x38144b>=0x0;_0x38144b--)(_0x136841=_0x2f7563[_0x38144b])&&(_0x3e3cd7=_0x136841(_0x3e3cd7)||_0x3e3cd7);return _0x3e3cd7;},pt=(_0x3b8d54,_0x4654ab)=>(_0x56cf25,_0x22f416)=>_0x4654ab(_0x56cf25,_0x22f416,_0x3b8d54);const zn=[_0x1bf9e4(0x32a),_0x1bf9e4(0x179),_0x1bf9e4(0x41c),_0x1bf9e4(0x450),_0x1bf9e4(0x2cd)],Jn=0x5*0x400*0x400,Xn=_0x1bf9e4(0x263),Zn=_0x1bf9e4(0x183),Qn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',er='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x35356c,_0x1cb50b,_0x5aea8e){var _0x3ad179=_0x1bf9e4;N(this,_0x3ad179(0x15c),0x0),N(this,_0x3ad179(0x431),new _0x3b4cf0()),N(this,_0x3ad179(0x330),this[_0x3ad179(0x431)]),N(this,'_imageSourceCache',new Map()),(this[_0x3ad179(0x2e9)]=_0x35356c,this[_0x3ad179(0x1f9)]=_0x1cb50b,this[_0x3ad179(0x432)]=_0x5aea8e);}['setWaitCount'](_0xee3513){var _0x5043c0=_0x1bf9e4;this[_0x5043c0(0x15c)]=_0xee3513,this['_change$'][_0x5043c0(0x232)](_0xee3513);}[_0x1bf9e4(0x1a1)](_0x45cf40,_0x1dfe9e){var _0x87430a=_0x1bf9e4;if(_0x1dfe9e===_0x18d0bc[_0x87430a(0x469)]){const _0x23f652=new Image();return _0x23f652['src']=_0x45cf40,_0x23f652;}return this[_0x87430a(0x2de)][_0x87430a(0x27c)](_0x45cf40);}[_0x1bf9e4(0x2f9)](_0x30bbe4,_0x4fa1fb,_0x496a54){var _0x5cd457=_0x1bf9e4;_0x4fa1fb===_0x18d0bc['BASE64']||_0x496a54==null||this[_0x5cd457(0x2de)]['set'](_0x30bbe4,_0x496a54);}async[_0x1bf9e4(0x3e7)](_0x23a2fb){var _0x1bf6dd=_0x1bf9e4;try{const _0x4d602c=this[_0x1bf6dd(0x1df)](this['_getSignURL'](),''+_0x23a2fb),_0x3e99cb=(await this[_0x1bf6dd(0x2e9)][_0x1bf6dd(0x27c)](_0x4d602c))[_0x1bf6dd(0x457)];if(_0x3e99cb[_0x1bf6dd(0x197)]&&_0x3e99cb['error'][_0x1bf6dd(0x20f)]===pi['OK']){const _0x25be30=new URL(_0x3e99cb['url'],this[_0x1bf6dd(0x33c)]())['toString']();return Promise[_0x1bf6dd(0x3c0)](_0x25be30);}return Promise['reject'](_0x3e99cb[_0x1bf6dd(0x197)]);}catch(_0x559eda){return Promise[_0x1bf6dd(0x27b)](_0x559eda);}}async[_0x1bf9e4(0x253)](_0x49f1c3){var _0x166599=_0x1bf9e4;let _0x23fc43='';if(!zn[_0x166599(0x2b6)](_0x49f1c3[_0x166599(0x17c)]))return this[_0x166599(0x3bd)](),Promise[_0x166599(0x27b)](new Error(_0x3a7256[_0x166599(0x34e)]));if(_0x49f1c3[_0x166599(0x291)]>Jn)return this[_0x166599(0x3bd)](),Promise['reject'](new Error(_0x3a7256[_0x166599(0x199)]));try{const _0x2ada82=new FormData();_0x2ada82[_0x166599(0x30f)]('file',_0x49f1c3);const _0x9ab946=this[_0x166599(0x432)]['getFocusedUnit'](),_0x145854=_0x9ab946==null?void 0x0:_0x9ab946[_0x166599(0x416)]();if(!_0x145854)throw new Error(_0x166599(0x3ca));const _0x9c2f2d=this['_getUploadFileURL']()+'?size='+_0x49f1c3[_0x166599(0x291)][_0x166599(0x3ff)]()+_0x166599(0x238)+mi[_0x166599(0x2d0)]+'&assign='+encodeURIComponent(_0x145854),_0x1a1680={'body':_0x2ada82},_0x488fde=(await this[_0x166599(0x2e9)][_0x166599(0x22d)](_0x9c2f2d,_0x1a1680))[_0x166599(0x457)];if(typeof _0x488fde[_0x166599(0x2e3)]!='string')return this['_decreaseWaiting'](),Promise[_0x166599(0x27b)](new Error(_0x3a7256[_0x166599(0x26a)]));_0x23fc43=_0x488fde[_0x166599(0x2e3)];}catch{return this[_0x166599(0x3bd)](),Promise[_0x166599(0x27b)](new Error(_0x3a7256[_0x166599(0x26a)]));}return new Promise((_0x324cfe,_0x55d685)=>{const _0x4e1644=new FileReader();_0x4e1644['readAsDataURL'](_0x49f1c3),_0x4e1644['onload']=_0x5352e2=>{var _0x2e0499=_0xcbfd,_0x2f5bd9;const _0x487a7e=(_0x2f5bd9=_0x5352e2[_0x2e0499(0x283)])==null?void 0x0:_0x2f5bd9['result'];if(_0x487a7e==null){this['_decreaseWaiting'](),_0x55d685(new Error(_0x3a7256[_0x2e0499(0x26a)]));return;}const _0x187ff1=_0x1e6211[_0x2e0499(0x327)](0x6);_0x324cfe({'imageId':_0x187ff1,'imageSourceType':_0x18d0bc['UUID'],'source':_0x23fc43,'base64Cache':_0x487a7e,'status':_0x3a7256[_0x2e0499(0x3e9)]}),this[_0x2e0499(0x3bd)]();};});}[_0x1bf9e4(0x363)](){var _0x28780c=_0x1bf9e4,_0x174b5e,_0x49cf1e;const _0xe6af5e=this[_0x28780c(0x1f9)][_0x28780c(0x17d)](Xn),_0x50f7c3=this['_configService'][_0x28780c(0x17d)](K);return(_0x49cf1e=(_0x174b5e=_0x50f7c3==null?void 0x0:_0x50f7c3[_0x28780c(0x277)])!=null?_0x174b5e:_0xe6af5e)!=null?_0x49cf1e:Zn;}['_getSignURL'](){var _0xb11f19=_0x1bf9e4,_0x5176b5,_0x150be2;const _0x2e69a4=this[_0xb11f19(0x1f9)][_0xb11f19(0x17d)](Qn),_0x527140=this[_0xb11f19(0x1f9)][_0xb11f19(0x17d)](K);return(_0x150be2=(_0x5176b5=_0x527140==null?void 0x0:_0x527140[_0xb11f19(0x452)])!=null?_0x5176b5:_0x2e69a4)!=null?_0x150be2:er;}[_0x1bf9e4(0x33c)](){var _0x218f35=_0x1bf9e4,_0x32d6c8;const _0x1e0181=this[_0x218f35(0x1f9)][_0x218f35(0x17d)](K);return(_0x32d6c8=_0x1e0181==null?void 0x0:_0x1e0181[_0x218f35(0x3e1)])!=null?_0x32d6c8:location['origin'];}[_0x1bf9e4(0x1df)](_0x54b6b3,_0x439d63){var _0x1188d0=_0x1bf9e4;return _0x54b6b3[_0x1188d0(0x328)]('{fileID}',_0x439d63);}['_decreaseWaiting'](){var _0x999bd3=_0x1bf9e4;this[_0x999bd3(0x15c)]-=0x1,this['_change$'][_0x999bd3(0x232)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x1eb2b7(_0x4a6b11)),pt(0x1,_0x2711b7),pt(0x2,_0x1eb2b7(_0x1dd505))],Rt);var tr=Object[_0x1bf9e4(0x241)],ir=(_0x5b05fa,_0x31d397,_0x38b0ea,_0x4e8f1d)=>{var _0x2c612b=_0x1bf9e4;for(var _0x40b4d8=_0x4e8f1d>0x1?void 0x0:_0x4e8f1d?tr(_0x31d397,_0x38b0ea):_0x31d397,_0x459085=_0x5b05fa[_0x2c612b(0x2fd)]-0x1,_0x58d564;_0x459085>=0x0;_0x459085--)(_0x58d564=_0x5b05fa[_0x459085])&&(_0x40b4d8=_0x58d564(_0x40b4d8)||_0x40b4d8);return _0x40b4d8;},ai=(_0xface77,_0x28e2d3)=>(_0x327c71,_0x5430c2)=>_0x28e2d3(_0x327c71,_0x5430c2,_0xface77);const sr=_0x1bf9e4(0x1d1);let Ot=class{constructor(_0x49d449,_0x317b3a){var _0x27e7df=_0x1bf9e4;this[_0x27e7df(0x1f9)]=_0x49d449,this[_0x27e7df(0x448)]=_0x317b3a;}[_0x1bf9e4(0x31e)](){var _0x192061=_0x1bf9e4,_0x3bbf77,_0x74f38d;const _0x1e9679=this['_configService'][_0x192061(0x17d)](Oi),_0x2b5f81=this[_0x192061(0x1f9)][_0x192061(0x17d)](K);return(_0x74f38d=(_0x3bbf77=_0x2b5f81==null?void 0x0:_0x2b5f81[_0x192061(0x313)])!=null?_0x3bbf77:_0x1e9679)!=null?_0x74f38d:sr;}async[_0x1bf9e4(0x2be)](_0x485313){var _0x2b5329=_0x1bf9e4;const _0x235e8d=this['_getAPIPrefixPath']()+_0x2b5329(0x401);return{'list':[{'title':_0x2b5329(0x272),'mentions':(await this[_0x2b5329(0x448)][_0x2b5329(0x27c)](_0x235e8d,{'params':{'objectID':_0x485313[_0x2b5329(0x26d)],'unitID':_0x485313['unitId']}}))[_0x2b5329(0x457)][_0x2b5329(0x3e5)][_0x2b5329(0x2aa)](_0x531855=>({'objectId':_0x531855['id'],'name':_0x531855[_0x2b5329(0x40a)][_0x2b5329(0x350)],'metadata':{'icon':_0x531855[_0x2b5329(0x40a)][_0x2b5329(0x2fa)]},'label':_0x531855[_0x2b5329(0x40a)][_0x2b5329(0x350)],'objectType':_0x2d6580['PERSON']})),'metadata':{},'type':_0x2d6580[_0x2b5329(0x34d)]}]};}};Ot=ir([ai(0x0,_0x1eb2b7(_0x2711b7)),ai(0x1,_0x1eb2b7(_0x4a6b11))],Ot);var nr=Object[_0x1bf9e4(0x241)],rr=(_0x14e656,_0x31e78e,_0x5e67c0,_0x422524)=>{var _0x2216af=_0x1bf9e4;for(var _0xc6a7d1=_0x422524>0x1?void 0x0:_0x422524?nr(_0x31e78e,_0x5e67c0):_0x31e78e,_0x3b82c2=_0x14e656[_0x2216af(0x2fd)]-0x1,_0x3feef8;_0x3b82c2>=0x0;_0x3b82c2--)(_0x3feef8=_0x14e656[_0x3b82c2])&&(_0xc6a7d1=_0x3feef8(_0xc6a7d1)||_0xc6a7d1);return _0xc6a7d1;},Ae=(_0x1c05d5,_0x366b43)=>(_0x2a53a7,_0x52cfcd)=>_0x366b43(_0x2a53a7,_0x52cfcd,_0x1c05d5);let ot=class extends _0x3f1edd{constructor(_0x578509,_0x16111d,_0x407f59,_0x205805,_0x27e1a3){var _0x25695a=_0x1bf9e4;super(),this[_0x25695a(0x2b7)]=_0x578509,this[_0x25695a(0x432)]=_0x16111d,this[_0x25695a(0x26e)]=_0x407f59,this[_0x25695a(0x29a)]=_0x205805,this['_collaborationUIEventService']=_0x27e1a3,this[_0x25695a(0x2ac)](),this[_0x25695a(0x3cc)]();}[_0x1bf9e4(0x3cc)](){var _0x4bf9fe=_0x1bf9e4;const _0x3de868=async _0x2d182b=>{var _0x13e812=_0xcbfd;(await this[_0x13e812(0x29a)][_0x13e812(0x2d8)](_0x2d182b))['event$'][_0x13e812(0x29b)](_0x1b0e17(_0x2be876=>_0x2be876['eventID']===_0x40976b[_0x13e812(0x45d)]),_0xab55ca(this[_0x13e812(0x31a)]))['subscribe'](_0x3f77ed=>{var _0x8c6ad4=_0x13e812;const _0x161888=_0x3f77ed,{reason:_0x444b2a}=_0x161888[_0x8c6ad4(0x1c7)];this[_0x8c6ad4(0x203)][_0x8c6ad4(0x463)]({'id':ne[_0x8c6ad4(0x2ed)],'data':_0x444b2a}),this[_0x8c6ad4(0x26e)][_0x8c6ad4(0x27a)](new _0x158a95(_0x2d182b)['id'],!0x1),this[_0x8c6ad4(0x29a)][_0x8c6ad4(0x322)](_0x2d182b);});};_0x539a72(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2f1c63[_0x4bf9fe(0x1ec)]),this[_0x4bf9fe(0x432)][_0x4bf9fe(0x1c5)](_0x2f1c63[_0x4bf9fe(0x18d)]))[_0x4bf9fe(0x29b)](_0xe868af(_0x399beb=>_0x399beb['getUnitId']()),_0x1b0e17(_0x2be16b=>!_0x2c0233(_0x2be16b)),_0xab55ca(this[_0x4bf9fe(0x31a)]))[_0x4bf9fe(0x262)](_0x2b45ca=>{_0x3de868(_0x2b45ca);});}[_0x1bf9e4(0x2ac)](){var _0x2e0f23=_0x1bf9e4;const _0x52ce1c=async _0x2d9e1b=>{var _0x5494c2=_0xcbfd;const _0x29455c=await this[_0x5494c2(0x29a)][_0x5494c2(0x2d8)](_0x2d9e1b),_0x5ac942=this[_0x5494c2(0x2b7)][_0x5494c2(0x27c)](_0x4728e4);_0x29455c[_0x5494c2(0x1ca)][_0x5494c2(0x29b)](_0x1b0e17(_0x5658ae=>_0x5658ae['eventID']===_0x40976b[_0x5494c2(0x44f)]),_0xab55ca(this['dispose$']))[_0x5494c2(0x262)](_0x4c2ffd=>{var _0x3b8640=_0x5494c2;const _0x317ed6=_0x4c2ffd,{objectId:_0x59c0d0}=_0x317ed6[_0x3b8640(0x1c7)];_0x59c0d0===_0x2d9e1b?_0x5ac942[_0x3b8640(0x447)](_0x2d9e1b):_0x5ac942[_0x3b8640(0x405)](_0x2d9e1b,_0x59c0d0);});};_0x539a72(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2f1c63[_0x2e0f23(0x1ec)]))['pipe'](_0xe868af(_0x2390ac=>_0x2390ac[_0x2e0f23(0x416)]()),_0x1b0e17(_0x3f37ac=>!_0x2c0233(_0x3f37ac)),_0xab55ca(this[_0x2e0f23(0x31a)]))['subscribe'](_0x3ab7fd=>{_0x52ce1c(_0x3ab7fd);});}};ot=rr([Ae(0x0,_0x1eb2b7(_0x3ba5a5)),Ae(0x1,_0x1dd505),Ae(0x2,_0x4eca75),Ae(0x3,_0x1eb2b7(Le)),Ae(0x4,_0x1eb2b7(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x107fdb,_0x2e339a,_0x18dbe9,_0x4666ba)=>{var _0x376230=_0x1bf9e4;for(var _0x57ed9a=_0x4666ba>0x1?void 0x0:_0x4666ba?ar(_0x2e339a,_0x18dbe9):_0x2e339a,_0x2610b8=_0x107fdb[_0x376230(0x2fd)]-0x1,_0x4a94ad;_0x2610b8>=0x0;_0x2610b8--)(_0x4a94ad=_0x107fdb[_0x2610b8])&&(_0x57ed9a=_0x4a94ad(_0x57ed9a)||_0x57ed9a);return _0x57ed9a;},oi=(_0x24cbf6,_0x479570)=>(_0x4194ca,_0x57c8b2)=>_0x479570(_0x4194ca,_0x57c8b2,_0x24cbf6);let bt=class{constructor(_0x366bec,_0x5ba674){var _0x353b4d=_0x1bf9e4;this[_0x353b4d(0x1f9)]=_0x366bec,this[_0x353b4d(0x2e9)]=_0x5ba674;}async[_0x1bf9e4(0x27e)](_0x537da8,_0x48d92c){var _0x25ef6f=_0x1bf9e4,_0x40afd0;const {unitID:_0x6b5fc4,type:_0x128672,revision:_0x38299f=0x0}=_0x48d92c,_0x326286=this[_0x25ef6f(0x2e2)]()+'/'+_0x128672+'/unit/'+_0x6b5fc4+_0x25ef6f(0x3aa)+_0x38299f,_0x53bfe9=(await this[_0x25ef6f(0x2e9)]['get'](_0x326286))[_0x25ef6f(0x457)],_0x37c0e9=(_0x40afd0=_0x53bfe9[_0x25ef6f(0x1d2)])==null?void 0x0:_0x40afd0[_0x25ef6f(0x42d)];if(_0x37c0e9){const _0x2723f6=_0x37c0e9==null?void 0x0:_0x37c0e9[_0x25ef6f(0x22b)],_0x11d371=_0x155d8a[_0x25ef6f(0x2b5)](_0x500fc0(_0x2723f6));_0x37c0e9[_0x25ef6f(0x22b)]=_0x11d371,Object[_0x25ef6f(0x25f)](_0x37c0e9[_0x25ef6f(0x2c5)])[_0x25ef6f(0x33a)](([,_0x23f7e6])=>{var _0x327ba6=_0x25ef6f;const _0x3c0495=_0x23f7e6[_0x327ba6(0x22b)],_0xfa5dff=_0x155d8a[_0x327ba6(0x2b5)](_0x500fc0(_0x3c0495));_0x23f7e6[_0x327ba6(0x22b)]=_0xfa5dff;});}return _0x53bfe9;}async[_0x1bf9e4(0x415)](_0x52df21,_0x3c5736){var _0x33bcaf=_0x1bf9e4;const {unitID:_0x20c473,type:_0x1c4369,blockID:_0x5568af}=_0x3c5736,_0x1b5945=this['_getAPIPrefix']()+'/'+_0x1c4369+_0x33bcaf(0x2fe)+_0x20c473+_0x33bcaf(0x3ad)+_0x5568af;return(await this[_0x33bcaf(0x2e9)][_0x33bcaf(0x27c)](_0x1b5945))[_0x33bcaf(0x457)];}async[_0x1bf9e4(0x35d)](_0x483f38,_0x271513){var _0x469187=_0x1bf9e4;const {unitID:_0x23950d,type:_0x5b927e,blockID:_0x9102d1}=_0x271513,_0x61fb18=this[_0x469187(0x229)]()+'/block/'+_0x5b927e+'/unit/'+_0x23950d+_0x469187(0x3ad)+_0x9102d1;return(await this['_httpService'][_0x469187(0x27c)](_0x61fb18))['body'];}async[_0x1bf9e4(0x161)](_0x5994d4,_0x5c84a2){var _0x178a9b=_0x1bf9e4;const {unitID:_0x289ea5,type:_0x4775ce,from:_0x296c32,to:_0x9a7b57}=_0x5c84a2,_0x23a84c=this[_0x178a9b(0x229)]()+'/'+_0x4775ce+'/unit/'+_0x289ea5+'/fetchmissing?from='+_0x296c32+'&to='+_0x9a7b57;return(await this[_0x178a9b(0x2e9)][_0x178a9b(0x27c)](_0x23a84c))[_0x178a9b(0x457)];}[_0x1bf9e4(0x2e2)](){var _0x71b162=_0x1bf9e4,_0x19f7f1;return(_0x19f7f1=this[_0x71b162(0x1f9)][_0x71b162(0x17d)](ps))!=null?_0x19f7f1:this[_0x71b162(0x229)]();}[_0x1bf9e4(0x229)](){var _0x4a955d=_0x1bf9e4,_0x58410c,_0x5c0c98;const _0x164caf=this['_configService'][_0x4a955d(0x17d)](fs),_0x4248c9=this[_0x4a955d(0x1f9)]['getConfig'](K);return(_0x5c0c98=(_0x58410c=_0x4248c9==null?void 0x0:_0x4248c9[_0x4a955d(0x180)])!=null?_0x58410c:_0x164caf)!=null?_0x5c0c98:vs;}async['getResourcesRequest'](_0x3f85ed,_0xad2932){var _0x7fd3a7=_0x1bf9e4;const _0x2b164a='/universer-api/snapshot/'+_0xad2932[_0x7fd3a7(0x17c)]+_0x7fd3a7(0x2fe)+_0xad2932[_0x7fd3a7(0x3fa)]+'/resources';return(await this[_0x7fd3a7(0x2e9)][_0x7fd3a7(0x27c)](_0x2b164a,{'params':{'resourceId':JSON[_0x7fd3a7(0x379)](_0xad2932[_0x7fd3a7(0x355)])}}))[_0x7fd3a7(0x457)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1bf9e4(0x425)](){var _0x180918=_0x1bf9e4;throw new Error(_0x180918(0x16b));}[_0x1bf9e4(0x2c8)](){var _0xe2994b=_0x1bf9e4;throw new Error(_0xe2994b(0x16b));}[_0x1bf9e4(0x165)](){var _0x254939=_0x1bf9e4;throw new Error(_0x254939(0x16b));}[_0x1bf9e4(0x1c8)](){var _0x55b398=_0x1bf9e4;throw new Error(_0x55b398(0x16b));}[_0x1bf9e4(0x19b)](){var _0x59311c=_0x1bf9e4;throw new Error(_0x59311c(0x16b));}};bt=or([oi(0x0,_0x2711b7),oi(0x1,_0x1eb2b7(_0x4a6b11))],bt);var cr=Object[_0x1bf9e4(0x241)],hr=(_0x449fa2,_0x143aa5,_0x14c960,_0x19e989)=>{for(var _0x1b600d=_0x19e989>0x1?void 0x0:_0x19e989?cr(_0x143aa5,_0x14c960):_0x143aa5,_0x4c1873=_0x449fa2['length']-0x1,_0x4b0919;_0x4c1873>=0x0;_0x4c1873--)(_0x4b0919=_0x449fa2[_0x4c1873])&&(_0x1b600d=_0x4b0919(_0x1b600d)||_0x1b600d);return _0x1b600d;},we=(_0x5aa6ad,_0x25d66d)=>(_0x222478,_0x46acf0)=>_0x25d66d(_0x222478,_0x46acf0,_0x5aa6ad);let yt=class extends _0x556fe9{constructor(_0x2231c0,_0x51f8d6,_0x591a1e,_0x4a6756,_0x2f7f45){var _0x5c9d1c=_0x1bf9e4;super(_0x2231c0,_0x51f8d6,_0x591a1e),this[_0x5c9d1c(0x2b3)]=_0x4a6756,this[_0x5c9d1c(0x254)]=_0x2f7f45;}[_0x1bf9e4(0x3e3)](_0x20f2f7,_0x1ff258){var _0x403a00=_0x1bf9e4;const _0x3e466f=this['_getUndoStack'](_0x20f2f7);if(_0x3e466f)try{const _0x2a4696=this[_0x403a00(0x27f)](_0x3e466f,_0x1ff258);this[_0x403a00(0x24f)](_0x20f2f7,_0x2a4696);}catch(_0x2851d2){this[_0x403a00(0x254)]['error'](_0x403a00(0x167),_0x2851d2),this[_0x403a00(0x3d5)](_0x20f2f7);}const _0x3a9742=this['_getRedoStack'](_0x20f2f7);if(_0x3a9742)try{const _0x68d02a=this['_transformStack'](_0x3a9742,_0x1ff258);this['_substituteRedoStack'](_0x20f2f7,_0x68d02a);}catch(_0x3d3bea){this[_0x403a00(0x254)][_0x403a00(0x197)](_0x3d3bea),this[_0x403a00(0x288)](_0x20f2f7);}}[_0x1bf9e4(0x3d5)](_0x592bda){var _0x267e53=_0x1bf9e4;const _0x20808a=this[_0x267e53(0x44e)](_0x592bda);_0x20808a&&(_0x20808a[_0x267e53(0x2fd)]=0x0,this[_0x267e53(0x18a)]());}[_0x1bf9e4(0x288)](_0x309857){var _0x36fcd7=_0x1bf9e4;const _0x1bbe06=this['_getRedoStack'](_0x309857);_0x1bbe06&&(_0x1bbe06[_0x36fcd7(0x2fd)]=0x0,this[_0x36fcd7(0x18a)]());}['_substituteUndoStack'](_0x4ac62d,_0x3ab1dc){var _0x5db0a9=_0x1bf9e4;this[_0x5db0a9(0x315)][_0x5db0a9(0x1f3)](_0x4ac62d,_0x3ab1dc),this['_updateStatus']();}[_0x1bf9e4(0x236)](_0x38c9ff,_0x232bf7){var _0x445fc8=_0x1bf9e4;this[_0x445fc8(0x440)]['set'](_0x38c9ff,_0x232bf7),this[_0x445fc8(0x18a)]();}[_0x1bf9e4(0x27f)](_0x4fa70d,_0x2c5604){var _0x228c71=_0x1bf9e4;const _0x1a8b7f=[];let _0x5986df=_0x2c5604,_0x53ca83=_0x2c5604;for(let _0x41cf72=_0x4fa70d[_0x228c71(0x2fd)]-0x1;_0x41cf72>=0x0;_0x41cf72--){const {unitID:_0x9af07b,undoMutations:_0x1ebc37,redoMutations:_0x2ea0ff}=_0x4fa70d[_0x41cf72],_0x5445dd=this[_0x228c71(0x2b3)][_0x228c71(0x210)](_0x5986df,_0x1ebc37),_0x37f9af=this[_0x228c71(0x2b3)][_0x228c71(0x210)](_0x53ca83,_0x2ea0ff);if(_0x32b4f2(_0x5445dd)||_0x32b4f2(_0x37f9af)){this['_logService'][_0x228c71(0x197)](_0x228c71(0x167),_0x228c71(0x37c),_0x5445dd,_0x37f9af);break;}_0x5986df=_0x5445dd[_0x228c71(0x1c1)],_0x53ca83=_0x37f9af[_0x228c71(0x1c1)],_0x1a8b7f[_0x228c71(0x284)]({'unitID':_0x9af07b,'undoMutations':_0x5445dd[_0x228c71(0x34c)],'redoMutations':_0x37f9af[_0x228c71(0x34c)]});}return _0x1a8b7f[_0x228c71(0x23e)]();}};yt=hr([we(0x0,_0x1dd505),we(0x1,_0x163994),we(0x2,_0x3992d9),we(0x3,_0xaa4b07),we(0x4,_0x4020c)],yt);var _r=Object['defineProperty'],lr=Object[_0x1bf9e4(0x241)],ur=(_0xcb5df8,_0x1a7ee7,_0x35d60f)=>_0x1a7ee7 in _0xcb5df8?_r(_0xcb5df8,_0x1a7ee7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35d60f}):_0xcb5df8[_0x1a7ee7]=_0x35d60f,dr=(_0x14668d,_0x54e2ea,_0x1192a9,_0x33eb8d)=>{var _0x1dcec8=_0x1bf9e4;for(var _0x5894b5=_0x33eb8d>0x1?void 0x0:_0x33eb8d?lr(_0x54e2ea,_0x1192a9):_0x54e2ea,_0x2cf109=_0x14668d[_0x1dcec8(0x2fd)]-0x1,_0x18ae0d;_0x2cf109>=0x0;_0x2cf109--)(_0x18ae0d=_0x14668d[_0x2cf109])&&(_0x5894b5=_0x18ae0d(_0x5894b5)||_0x5894b5);return _0x5894b5;},mt=(_0x280135,_0x208544)=>(_0x532b6c,_0x235f09)=>_0x208544(_0x532b6c,_0x235f09,_0x280135),fr=(_0x3a80f8,_0x13a1b5,_0x1744de)=>ur(_0x3a80f8,_0x13a1b5+'',_0x1744de);const vr=_0x1bf9e4(0x434);let Nt=class extends _0x13a678{constructor(_0x1cd0fc,_0x5b7e18,_0x26092e,_0x17fa4a){var _0x436164=_0x1bf9e4;super(),N(this,_0x436164(0x317)),(this[_0x436164(0x254)]=_0x5b7e18,this[_0x436164(0x2b7)]=_0x26092e,this[_0x436164(0x1f9)]=_0x17fa4a);const {..._0xb7b66}=_0x235acb({},Ds,_0x1cd0fc);if(!_0xb7b66[_0x436164(0x278)])throw new Error(_0x436164(0x466));this[_0x436164(0x317)]=_0xb7b66,this[_0x436164(0x1f9)][_0x436164(0x234)](K,_0xb7b66);}['onStarting'](){var _0x697dc2=_0x1bf9e4;this[_0x697dc2(0x3a0)](),this[_0x697dc2(0x3be)]();}[_0x1bf9e4(0x3a0)](){var _0x37d25c=_0x1bf9e4,_0x307e5b,_0x504210;this[_0x37d25c(0x2b7)][_0x37d25c(0x429)](_0x3aa1c3)&&this[_0x37d25c(0x254)]['error'](_0x37d25c(0x312),_0x37d25c(0x3d2));const _0x130632=_0x354fa5([[_0x3aa1c3,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x37d25c(0x317)][_0x37d25c(0x278)]}],[_0xcb8e22,{'useClass':bt}],[_0x4f1f4e,{'useClass':Tt}],[_0x47119c,{'useClass':Rt}],[_0x3def4e,{'useClass':Ot}],[nt],[It]],(_0x307e5b=this['_config'])==null?void 0x0:_0x307e5b[_0x37d25c(0x2ce)]);if(!((_0x504210=this[_0x37d25c(0x317)])!=null&&_0x504210[_0x37d25c(0x400)])){const _0x4276eb=_0x130632[_0x37d25c(0x358)](([_0x3b52e1])=>_0x3b52e1===ht);_0x4276eb!==-0x1&&_0x130632[_0x37d25c(0x3c9)](_0x4276eb,0x1);}_0x3b854f(this['_injector'],_0x130632);}[_0x1bf9e4(0x3be)](){var _0x720478=_0x1bf9e4,_0x25e006,_0x2ea1be,_0x2bd324;this['_injector'][_0x720478(0x27c)](_0x4a6b11)[_0x720478(0x43e)]({'priority':0x14,'interceptor':_0x4addde({'maxParallel':0x6})}),(_0x25e006=this[_0x720478(0x317)])!=null&&_0x25e006[_0x720478(0x393)]||(_0x2ea1be=this[_0x720478(0x2b7)][_0x720478(0x27c)](J,_0x48a7b4[_0x720478(0x3a7)]))==null||_0x2ea1be['disableLocalCache'](),(_0x2bd324=this[_0x720478(0x317)])!=null&&_0x2bd324[_0x720478(0x2d9)]&&_0x53c293(this['_injector'],[[rt]]),_0x53c293(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,'pluginName',vr),Nt=dr([_0x5233fa(_0x3a0ca8,_0x36cc3f),mt(0x1,_0x4020c),mt(0x2,_0x1eb2b7(_0x3ba5a5)),mt(0x3,_0x2711b7)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};