@univerjs-pro/collaboration-client 0.8.0-nightly.202506031608 → 0.8.0-nightly.202506051607

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 _0x3085eb=_0x4c1a;(function(_0x36d6a6,_0x309351){var _0x3fea9c=_0x4c1a,_0x567bf9=_0x36d6a6();while(!![]){try{var _0x665228=parseInt(_0x3fea9c(0x1ae))/0x1+-parseInt(_0x3fea9c(0x321))/0x2+-parseInt(_0x3fea9c(0x2f8))/0x3+parseInt(_0x3fea9c(0x225))/0x4*(parseInt(_0x3fea9c(0x25e))/0x5)+parseInt(_0x3fea9c(0x1fa))/0x6*(parseInt(_0x3fea9c(0x355))/0x7)+-parseInt(_0x3fea9c(0x2d0))/0x8+-parseInt(_0x3fea9c(0x27f))/0x9;if(_0x665228===_0x309351)break;else _0x567bf9['push'](_0x567bf9['shift']());}catch(_0x5aca99){_0x567bf9['push'](_0x567bf9['shift']());}}}(_0x5505,0x2f2aa));var Di=Object[_0x3085eb(0x29e)],Ui=(_0xc0dd2a,_0xf3fd7d,_0x27ee00)=>_0xf3fd7d in _0xc0dd2a?Di(_0xc0dd2a,_0xf3fd7d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27ee00}):_0xc0dd2a[_0xf3fd7d]=_0x27ee00,N=(_0x50b8e0,_0x24c255,_0xda57c9)=>Ui(_0x50b8e0,typeof _0x24c255!=_0x3085eb(0x295)?_0x24c255+'':_0x24c255,_0xda57c9);import{createIdentifier as _0x108b1e,Inject as _0x53dfbc,Injector as _0x49cf2d,IConfigService as _0x22b79b,ILogService as _0x482beb,Disposable as _0xae3b4e,DisposableCollection as _0x251e36,toDisposable as _0x28f1b6,IUniverInstanceService as _0x892ae8,UserManagerService as _0xe4ba63,UniverInstanceType as _0xc8d7d8,LocaleService as _0x4f8456,Optional as _0x1c5f22,RxDisposable as _0x38ff91,Tools as _0x8a68d4,Rectangle as _0x920a50,ICommandService as _0x51862d,JSONX as _0x2f6eee,CommandType as _0x167fd6,IUndoRedoService as _0x52e66a,IPermissionService as _0x5252a6,sequenceExecute as _0x3c84a1,Workbook as _0x467c71,MentionType as _0x4d9592,isInternalEditorID as _0x3016a9,LocalUndoRedoService as _0x585475,IContextService as _0x42675b,DependentOn as _0x56cc43,Plugin as _0x1b8275,merge as _0x331d89,mergeOverrideWithDependencies as _0x12ba78,IAuthzIoService as _0x1f7e6f,IMentionIOService as _0x5c5879,registerDependencies as _0x4cd714,Quantity as _0x5e8517,touchDependencies as _0x59f3d0}from'@univerjs/core';import{Subject as _0x2445c4,merge as _0x4e3d6c,of as _0x47b097,BehaviorSubject as _0x5bc647,takeUntil as _0x4694c8,ReplaySubject as _0x4f7a2a,take as _0x447cb7,map as _0x2421c0,shareReplay as _0x25c334,firstValueFrom as _0x47bac4,concatMap as _0xeb51ec}from'rxjs';import{map as _0xcf8945,take as _0x5b30d0,filter as _0x16ea72,delay as _0x4cf63b,takeUntil as _0x3d915b}from'rxjs/operators';import{CollaborationEvent as _0x527595,ISnapshotServerService as _0x540a4e,parseChangesetToProtocol as _0x3726d0,ITransformService as _0x20599e,isTransformMutationsWithChangesetSuccess as _0x4a7fa7,mapDocumentTypeToUniverType as _0x569a6b,RevisionService as _0x52c054,isTransformChangesetsSuccess as _0xca2bb8,CompressMutationService as _0x27ae3f,parseProtocolChangeset as _0x1b7419,uuidv4 as _0x14df8e,SnapshotService as _0x3da356,textEncoder as _0x1ec9eb,b64DecodeUnicode as _0x11f623,isTransformMutationsWithChangesetFailure as _0x48d286,UniverCollaborationPlugin as _0x4b656d}from'@univerjs-pro/collaboration';import{HTTPService as _0xfd6f9c,ISocketService as _0x26756b,MergeInterceptorFactory as _0x1eed4d,HTTPRequest as _0x2927cc,UniverNetworkPlugin as _0x2580aa,ThresholdInterceptorFactory as _0x548ba0}from'@univerjs/network';import{ITelemetryService as _0x2f90be}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x253a30}from'@univerjs/docs';import{SheetsSelectionsService as _0x26fa03,SetSelectionsOperation as _0x2899fc,InsertSheetMutation as _0x387995,EmptyMutation as _0x23b44f,WorkbookEditablePermission as _0x4e8e57,SheetPermissionInitController as _0x5d2145}from'@univerjs/sheets';import{ImageSourceType as _0x583a19,ImageUploadStatusType as _0x4dbfd5,IImageIoService as _0x5d628a}from'@univerjs/drawing';import{getGlobalObject as _0x30eed1}from'@univerjs-pro/license';const fs='SNAPSHOT_SERVER_URL_KEY',vs=_0x3085eb(0xd9),ps=_0x3085eb(0x265),yr=_0x3085eb(0x343),ms=0x7d0,gs=_0x3085eb(0x1b0),Ss=_0x3085eb(0x239),Nr=_0x3085eb(0x19b),Es='HEARTBEAT_INTERVAL',Is=0x7530,fi=_0x3085eb(0x240),vi=0x4e20,Ts=0x4e20,Cs=_0x3085eb(0xb4),Rs=0x3,Dr=_0x3085eb(0x1d4),Ur=0x3e8,bs=_0x3085eb(0x175),Os=_0x3085eb(0x27d),ys=_0x3085eb(0x1c2),Ns=_0x3085eb(0xe4),Ar=_0x3085eb(0x1b8),wr=_0x3085eb(0x16f);var pi=(_0x4c44fc=>(_0x4c44fc[_0x4c44fc[_0x3085eb(0xff)]=0x0]='UNDEFINED',_0x4c44fc[_0x4c44fc['OK']=0x1]='OK',_0x4c44fc[_0x4c44fc[_0x3085eb(0x322)]=0x2]=_0x3085eb(0x322),_0x4c44fc[_0x4c44fc[_0x3085eb(0x1b5)]=0x3]='PERMISSION_DENIED',_0x4c44fc[_0x4c44fc['NOT_FOUND']=0x4]=_0x3085eb(0x154),_0x4c44fc[_0x4c44fc[_0x3085eb(0x133)]=0x5]=_0x3085eb(0x133),_0x4c44fc[_0x4c44fc[_0x3085eb(0xa0)]=0x6]=_0x3085eb(0xa0),_0x4c44fc[_0x4c44fc[_0x3085eb(0x204)]=0x7]=_0x3085eb(0x204),_0x4c44fc[_0x4c44fc['TOO_MANY_REQUESTS']=0x8]=_0x3085eb(0xd6),_0x4c44fc[_0x4c44fc['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x36e)]=0xa]='LOGIN_FAILED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x37b)]=0x1389]=_0x3085eb(0x37b),_0x4c44fc[_0x4c44fc[_0x3085eb(0x111)]=0x1771]=_0x3085eb(0x111),_0x4c44fc[_0x4c44fc['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x210)]=0x1773]=_0x3085eb(0x210),_0x4c44fc[_0x4c44fc[_0x3085eb(0x1e6)]=0x1b59]=_0x3085eb(0x1e6),_0x4c44fc[_0x4c44fc[_0x3085eb(0xb7)]=0x1b5a]=_0x3085eb(0xb7),_0x4c44fc[_0x4c44fc[_0x3085eb(0xcb)]=0x1b5b]=_0x3085eb(0xcb),_0x4c44fc[_0x4c44fc[_0x3085eb(0x12f)]=0x1b5c]=_0x3085eb(0x12f),_0x4c44fc[_0x4c44fc['APPLY_DUPLICATED']=0x1b5d]=_0x3085eb(0x2bd),_0x4c44fc[_0x4c44fc[_0x3085eb(0x2c6)]=0x1f41]=_0x3085eb(0x2c6),_0x4c44fc[_0x4c44fc[_0x3085eb(0x1b4)]=0x2329]=_0x3085eb(0x1b4),_0x4c44fc[_0x4c44fc[_0x3085eb(0x297)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x15c)]=0x232b]=_0x3085eb(0x15c),_0x4c44fc[_0x4c44fc['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3085eb(0x1f4),_0x4c44fc[_0x4c44fc[_0x3085eb(0x186)]=0x232d]=_0x3085eb(0x186),_0x4c44fc[_0x4c44fc[_0x3085eb(0x248)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4c44fc[_0x4c44fc[_0x3085eb(0x13a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4c44fc[_0x4c44fc[_0x3085eb(0x276)]=0x2713]=_0x3085eb(0x276),_0x4c44fc[_0x4c44fc['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3085eb(0x29b),_0x4c44fc[_0x4c44fc[_0x3085eb(0x2a4)]=0x271a]=_0x3085eb(0x2a4),_0x4c44fc[_0x4c44fc[_0x3085eb(0x350)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x226)]=0x271c]=_0x3085eb(0x226),_0x4c44fc[_0x4c44fc['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4c44fc[_0x4c44fc[_0x3085eb(0x10e)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4c44fc[_0x4c44fc['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3085eb(0x336),_0x4c44fc[_0x4c44fc[_0x3085eb(0x2e3)]=0x2af9]=_0x3085eb(0x2e3),_0x4c44fc[_0x4c44fc[_0x3085eb(0x1d9)]=0x2ee1]=_0x3085eb(0x1d9),_0x4c44fc[_0x4c44fc[_0x3085eb(0x245)]=0x2ee2]=_0x3085eb(0x245),_0x4c44fc[_0x4c44fc['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x33a)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4c44fc[_0x4c44fc[_0x3085eb(0x2f0)]=0x2ee5]=_0x3085eb(0x2f0),_0x4c44fc[_0x4c44fc['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3085eb(0x106),_0x4c44fc[_0x4c44fc['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4c44fc[_0x4c44fc[_0x3085eb(0xb2)]=0x32cb]=_0x3085eb(0xb2),_0x4c44fc[_0x4c44fc[_0x3085eb(0x122)]=-0x1]=_0x3085eb(0x122),_0x4c44fc))(pi||{}),Z=(_0x3e2496=>(_0x3e2496[_0x3e2496[_0x3085eb(0x357)]=0x0]='UNIVER_UNKNOWN',_0x3e2496[_0x3e2496['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3e2496[_0x3e2496[_0x3085eb(0x218)]=0x2]=_0x3085eb(0x218),_0x3e2496[_0x3e2496['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3e2496[_0x3e2496[_0x3085eb(0x164)]=0x4]=_0x3085eb(0x164),_0x3e2496[_0x3e2496['UNRECOGNIZED']=-0x1]=_0x3085eb(0x122),_0x3e2496))(Z||{}),F=(_0x562068=>(_0x562068[_0x562068[_0x3085eb(0xc8)]=0x0]=_0x3085eb(0xc8),_0x562068[_0x562068[_0x3085eb(0x17f)]=0x1]=_0x3085eb(0x17f),_0x562068[_0x562068[_0x3085eb(0xc3)]=0x2]=_0x3085eb(0xc3),_0x562068[_0x562068[_0x3085eb(0x29c)]=0x3]=_0x3085eb(0x29c),_0x562068[_0x562068[_0x3085eb(0x317)]=0x4]='INGEST',_0x562068[_0x562068[_0x3085eb(0x19c)]=0x5]='HEARTBEAT',_0x562068[_0x562068[_0x3085eb(0x31a)]=0x6]='RECV',_0x562068[_0x562068['UNRECOGNIZED']=-0x1]=_0x3085eb(0x122),_0x562068))(F||{}),me=(_0x19ba58=>(_0x19ba58[_0x19ba58[_0x3085eb(0x303)]=0x0]=_0x3085eb(0x303),_0x19ba58[_0x19ba58['OK']=0x1]='OK',_0x19ba58[_0x19ba58[_0x3085eb(0x1e8)]=0x2]=_0x3085eb(0x1e8),_0x19ba58[_0x19ba58['JOIN_ROOM_FULL']=0x3e9]=_0x3085eb(0x2f9),_0x19ba58[_0x19ba58[_0x3085eb(0x36b)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x19ba58[_0x19ba58[_0x3085eb(0x91)]=0x3eb]=_0x3085eb(0x91),_0x19ba58[_0x19ba58[_0x3085eb(0xaf)]=0x3ec]=_0x3085eb(0xaf),_0x19ba58[_0x19ba58[_0x3085eb(0x122)]=-0x1]='UNRECOGNIZED',_0x19ba58))(me||{}),mi=(_0x5ac4ec=>(_0x5ac4ec[_0x5ac4ec['Undefined']=0x0]=_0x3085eb(0xc7),_0x5ac4ec[_0x5ac4ec[_0x3085eb(0x1b3)]=0x1]=_0x3085eb(0x1b3),_0x5ac4ec[_0x5ac4ec[_0x3085eb(0x2e2)]=0x2]='HttpExport',_0x5ac4ec[_0x5ac4ec[_0x3085eb(0x18d)]=0x3]=_0x3085eb(0x18d),_0x5ac4ec[_0x5ac4ec[_0x3085eb(0xc6)]=0x4]=_0x3085eb(0xc6),_0x5ac4ec[_0x5ac4ec['UserProfileImg']=0x5]='UserProfileImg',_0x5ac4ec[_0x5ac4ec[_0x3085eb(0x122)]=-0x1]=_0x3085eb(0x122),_0x5ac4ec))(mi||{});const K=_0x3085eb(0x1bd),Ds={};var ne=(_0x3d1293=>(_0x3d1293[_0x3085eb(0x97)]=_0x3085eb(0x97),_0x3d1293[_0x3085eb(0x1b5)]='PERMISSION_DENIED',_0x3d1293[_0x3085eb(0x274)]=_0x3085eb(0x274),_0x3d1293['CLOSE_ROOM']='CLOSE_ROOM',_0x3d1293[_0x3085eb(0x30d)]=_0x3085eb(0x30d),_0x3d1293[_0x3085eb(0x13f)]=_0x3085eb(0x13f),_0x3d1293['SOCKET_FAILED']='SOCKET_FAILED',_0x3d1293[_0x3085eb(0x2df)]=_0x3085eb(0x2df),_0x3d1293))(ne||{});class ve{constructor(){var _0x375d23=_0x3085eb;N(this,_0x375d23(0x270),new _0x2445c4()),N(this,_0x375d23(0xad),this['_event$'][_0x375d23(0x1a1)]());}[_0x3085eb(0x23b)](_0x41913f){var _0x591033=_0x3085eb;this['_event$'][_0x591033(0x1c4)](_0x41913f);}}const Us=_0x108b1e(_0x3085eb(0x292));function As(_0x5ac5b9){var _0x30a157=_0x3085eb,_0x19be78,_0x53b7c2,_0x365158,_0x36299a,_0x27ed01;const _0x176acd=_0x5ac5b9[_0x30a157(0xf7)],_0x1b0a5a=JSON[_0x30a157(0x358)](_0x176acd);switch(_0x1b0a5a[_0x30a157(0x237)]){case F[_0x30a157(0x19c)]:case F['HELLO']:{const _0x5d60c8=_0x1b0a5a[_0x30a157(0x1ad)];return{..._0x1b0a5a,'data':_0x5d60c8,'cmd':_0x1b0a5a['cmd']};}case F['JOIN']:{const _0x5acb04=_0x1b0a5a[_0x30a157(0x342)];return{..._0x1b0a5a,'data':_0x5acb04,'cmd':_0x1b0a5a[_0x30a157(0x237)]};}case F['RECV']:{const _0xab30ec=_0x1b0a5a[_0x30a157(0xc0)];switch(_0xab30ec[_0x30a157(0xcf)]){case _0x527595[_0x30a157(0x30a)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':(_0x19be78=_0xab30ec[_0x30a157(0x16c)])==null?void 0x0:_0x19be78['cs']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595['CHANGESET_ACK']:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':(_0x53b7c2=_0xab30ec['csAckEvent'])==null?void 0x0:_0x53b7c2['cs']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595['NEW_CHANGESETS']:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':(_0x365158=_0xab30ec[_0x30a157(0x368)])==null?void 0x0:_0x365158['cs']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0x258)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':(_0x36299a=_0xab30ec['csRejEvent'])==null?void 0x0:_0x36299a['cs']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0xee)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':(_0x27ed01=_0xab30ec[_0x30a157(0x23e)])==null?void 0x0:_0x27ed01['cs']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0xfb)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0xe6)]},'cmd':_0x1b0a5a['cmd']};case _0x527595[_0x30a157(0x99)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec['joinEvent']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0xd5)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x365)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0x93)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x361)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595['LIVESHARE_FETCH_OPERATIONS']:case _0x527595[_0x30a157(0x28d)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec['liveShareOperation']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595['LIVESHARE_TERMINATE']:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x361)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0x20f)]:return{..._0x1b0a5a,'data':_0xab30ec,'cmd':_0x1b0a5a['cmd']};case _0x527595['COMMENT_UPDATE']:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x15a)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0x151)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0xdb)]},'cmd':_0x1b0a5a['cmd']};case _0x527595[_0x30a157(0xf4)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x103)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0x160)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x1bc)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};default:return _0x1b0a5a;}}default:return _0x1b0a5a;}}function ws(_0x588ade){var _0x237c0b=_0x3085eb;switch(_0x588ade['cmd']){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x237c0b(0x356)]({'cmd':_0x588ade[_0x237c0b(0x237)],'routeKey':_0x588ade['routeKey']});case F[_0x237c0b(0x317)]:{let _0x364a05;switch(_0x588ade['data'][_0x237c0b(0xcf)]){case _0x527595[_0x237c0b(0xfb)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0xfb)],'updateCursorEvent':_0x588ade[_0x237c0b(0xf7)][_0x237c0b(0xf7)]};break;}case _0x527595[_0x237c0b(0xd5)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0xd5)],'leaveEvent':_0x588ade[_0x237c0b(0xf7)][_0x237c0b(0xf7)]};break;}case _0x527595[_0x237c0b(0x99)]:{_0x364a05={'eventID':_0x527595['USERS_ENTER'],'joinEvent':_0x588ade[_0x237c0b(0xf7)]['data']};break;}case _0x527595[_0x237c0b(0x93)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0x93)],'liveShareNewHost':_0x588ade[_0x237c0b(0xf7)][_0x237c0b(0xf7)]};break;}case _0x527595['LIVESHARE_OPERATION']:{_0x364a05={'eventID':_0x527595[_0x237c0b(0x28d)],'liveShareOperation':_0x588ade[_0x237c0b(0xf7)][_0x237c0b(0xf7)]};break;}case _0x527595[_0x237c0b(0x366)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0x366)],'liveShareTerminate':_0x588ade['data'][_0x237c0b(0xf7)]};break;}case _0x527595[_0x237c0b(0xe5)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0xe5)],'liveShareRequestHost':_0x588ade['data'][_0x237c0b(0xf7)]};break;}case _0x527595[_0x237c0b(0x255)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0x255)]};break;}default:_0x364a05={'eventID':_0x588ade[_0x237c0b(0xf7)][_0x237c0b(0xcf)]};}return JSON[_0x237c0b(0x356)]({'cmd':_0x588ade[_0x237c0b(0x237)],'routeKey':_0x588ade[_0x237c0b(0x25f)],'collaMsg':_0x364a05});}case F[_0x237c0b(0xc3)]:return JSON[_0x237c0b(0x356)]({'cmd':_0x588ade[_0x237c0b(0x237)],'routeKey':_0x588ade[_0x237c0b(0x25f)],'joinReq':_0x588ade['data']});case F[_0x237c0b(0x29c)]:return JSON[_0x237c0b(0x356)]({'cmd':_0x588ade[_0x237c0b(0x237)],'routeKey':_0x588ade[_0x237c0b(0x25f)],'leaveReq':_0x588ade[_0x237c0b(0xf7)]});default:throw new Error(_0x237c0b(0x25a));}}var Ps=Object[_0x3085eb(0x2b1)],Ls=(_0x538185,_0x5b4e9e,_0x276148,_0x219aff)=>{var _0x4feda5=_0x3085eb;for(var _0xa58218=_0x219aff>0x1?void 0x0:_0x219aff?Ps(_0x5b4e9e,_0x276148):_0x5b4e9e,_0x18d4b7=_0x538185[_0x4feda5(0x32b)]-0x1,_0x1cd164;_0x18d4b7>=0x0;_0x18d4b7--)(_0x1cd164=_0x538185[_0x18d4b7])&&(_0xa58218=_0x1cd164(_0xa58218)||_0xa58218);return _0xa58218;},Ue=(_0x4b9190,_0xcf7242)=>(_0x11c798,_0x5eadd7)=>_0xcf7242(_0x11c798,_0x5eadd7,_0x4b9190);const gi=_0x108b1e(_0x3085eb(0x20a));function Ms(_0x172f81,_0x248ba3,_0x27b60f){var _0x5eafbb=_0x3085eb;return _0x172f81+'/'+_0x248ba3+_0x5eafbb(0x11c)+_0x27b60f+_0x5eafbb(0x1f5);}let Ft=class extends _0xae3b4e{constructor(_0x492f13,_0x1bc45c,_0x18d7ba,_0x78e0bd,_0x28149c){var _0x3bb2e8=_0x3085eb;super(),this[_0x3bb2e8(0x191)]=_0x492f13,this[_0x3bb2e8(0x374)]=_0x1bc45c,this[_0x3bb2e8(0x201)]=_0x18d7ba,this['_logService']=_0x78e0bd,this[_0x3bb2e8(0x168)]=_0x28149c;}[_0x3085eb(0x37a)](_0x473b3f){var _0x4850fd=_0x3085eb;const _0x271357=this[_0x4850fd(0x191)][_0x4850fd(0x21f)](_0x26756b);if(!_0x271357)throw new Error(_0x4850fd(0x2ca));const _0x2d6ad1=_0x271357[_0x4850fd(0x1c5)](_0x473b3f);if(!_0x2d6ad1)throw new Error(_0x4850fd(0x32f));const _0x470a6d=new _0x251e36(),_0x563e6d=new _0x2445c4();_0x470a6d[_0x4850fd(0x364)](_0x2d6ad1[_0x4850fd(0x148)][_0x4850fd(0x197)](_0x575f7c=>_0x563e6d[_0x4850fd(0x1c4)](_0x575f7c))),_0x470a6d[_0x4850fd(0x364)](_0x28f1b6(()=>_0x563e6d[_0x4850fd(0x2ba)]()));const _0x12e81b=new _0x2445c4();_0x470a6d[_0x4850fd(0x364)](_0x2d6ad1[_0x4850fd(0x1ab)]['subscribe'](_0x5c3edc=>_0x12e81b['next'](_0x5c3edc))),_0x470a6d[_0x4850fd(0x364)](_0x28f1b6(()=>_0x12e81b[_0x4850fd(0x2ba)]()));const _0xe2219f=new _0x2445c4();_0x470a6d[_0x4850fd(0x364)](_0x2d6ad1[_0x4850fd(0x9e)]['subscribe'](_0x1809d7=>{var _0x4116cd=_0x4850fd;const _0x195eeb=As(_0x1809d7);_0xe2219f[_0x4116cd(0x1c4)](_0x195eeb);})),_0x470a6d['add'](_0x28f1b6(()=>_0xe2219f[_0x4850fd(0x2ba)]()));let _0x1fd11a;const _0x35a191=()=>{var _0x21812a=_0x4850fd;_0x12e81b[_0x21812a(0x1c4)](new Event(_0x21812a(0x376))),_0x563e6d[_0x21812a(0x1c4)](new Event(_0x21812a(0x376))),_0x1fd11a['close']();};return _0x1fd11a={'memberID':'','close$':_0x563e6d[_0x4850fd(0x1a1)](),'error$':_0x12e81b[_0x4850fd(0x1a1)](),'open$':_0x2d6ad1[_0x4850fd(0x1e2)],'message$':_0xe2219f[_0x4850fd(0x1a1)](),'send':_0x58d334=>{var _0x207ccb=_0x4850fd;if(_0x58d334['cmd']===F[_0x207ccb(0x317)]){if(_0x58d334['data'][_0x207ccb(0xcf)]===_0x527595['SUBMIT_CHANGESET']){this[_0x207ccb(0x382)](_0x1fd11a,_0x58d334[_0x207ccb(0xf7)])[_0x207ccb(0x27c)](_0xcb1115=>{var _0x351023=_0x207ccb;this[_0x351023(0x266)][_0x351023(0x269)](_0xcb1115),_0x35a191();});return;}if(_0x58d334['data'][_0x207ccb(0xcf)]===_0x527595[_0x207ccb(0x18c)]){const _0x3b95e1=_0x58d334[_0x207ccb(0xf7)];this['_fetchMissChangesets'](_0x3b95e1)[_0x207ccb(0x1dd)](_0x3a9510=>{var _0x3b97dd=_0x207ccb;_0xe2219f[_0x3b97dd(0x1c4)]({'cmd':F[_0x3b97dd(0x31a)],'code':me['OK'],'routeKey':_0x3b95e1[_0x3b97dd(0xf7)][_0x3b97dd(0x194)],'routeType':'','data':{'eventID':_0x527595[_0x3b97dd(0x305)],'data':{'changesets':_0x3a9510}}});})['catch'](_0x123694=>{var _0xb7f41e=_0x207ccb;this['_logService'][_0xb7f41e(0x269)](_0x123694),_0x35a191();});return;}}_0x2d6ad1[_0x207ccb(0x37d)](ws(_0x58d334));},'close':()=>{var _0x1f2106=_0x4850fd;_0x2d6ad1[_0x1f2106(0x291)](),_0x470a6d[_0x1f2106(0x298)]();}},_0x1fd11a;}async['_submitChangeset'](_0x4d03a2,_0x2f9277){var _0xb3ab0a=_0x3085eb,_0x11fb2e,_0x491176;const {unitType:_0x23870d,unitID:_0x4dd6e0,changeset:_0x5446c9}=_0x2f9277['data'],_0x238a1a={'unitID':_0x4dd6e0,'memberID':_0x4d03a2[_0xb3ab0a(0x2ed)],'type':_0x23870d,'changeset':_0x3726d0(_0x5446c9)},_0x2bd4ec=this['_configService'][_0xb3ab0a(0xa6)](bs),_0x379362=this[_0xb3ab0a(0x201)]['getConfig'](K),_0x492835=Ms((_0x491176=(_0x11fb2e=_0x379362==null?void 0x0:_0x379362[_0xb3ab0a(0xdf)])!=null?_0x11fb2e:_0x2bd4ec)!=null?_0x491176:Os,_0x23870d,_0x4dd6e0);try{await this[_0xb3ab0a(0x374)][_0xb3ab0a(0x125)](_0x492835,{'body':_0x238a1a});}catch(_0x2faad9){throw this[_0xb3ab0a(0x266)][_0xb3ab0a(0x269)](_0xb3ab0a(0x345),'submit\x20changeset\x20error!'),_0x2faad9;}}async[_0x3085eb(0x211)](_0x2e24f8){var _0x48dc88=_0x3085eb;const {unitID:_0x5191f2,from:_0x48e22e,to:_0x3fef59,unitType:_0x4d9891}=_0x2e24f8[_0x48dc88(0xf7)];return(await this['_snapshotServerService'][_0x48dc88(0x85)]({'metadata':void 0x0},{'unitID':_0x5191f2,'type':_0x4d9891,'from':_0x48e22e,'to':_0x3fef59}))[_0x48dc88(0x2e1)];}};Ft=Ls([Ue(0x0,_0x53dfbc(_0x49cf2d)),Ue(0x1,_0x53dfbc(_0xfd6f9c)),Ue(0x2,_0x22b79b),Ue(0x3,_0x482beb),Ue(0x4,_0x540a4e)],Ft);const xs='collaboration_new_changeset';function ks(_0x4c3834){var _0x2c5c11=_0x3085eb;return JSON[_0x2c5c11(0x356)](_0x4c3834)[_0x2c5c11(0x32b)];}class Si{constructor(){var _0x27368a=_0x3085eb;N(this,_0x27368a(0x328),new _0x2445c4()),N(this,_0x27368a(0x141),this['_commentUpdate$'][_0x27368a(0x1a1)]());}[_0x3085eb(0x2d1)](_0x10960e){var _0x6f8aa0=_0x3085eb;this[_0x6f8aa0(0x328)][_0x6f8aa0(0x1c4)](_0x10960e);}}var $s=Object[_0x3085eb(0x2b1)],Hs=(_0x2db78a,_0x263909,_0x13a80b,_0x18ae48)=>{for(var _0x1cb81e=_0x18ae48>0x1?void 0x0:_0x18ae48?$s(_0x263909,_0x13a80b):_0x263909,_0x5df3cc=_0x2db78a['length']-0x1,_0x16f5ec;_0x5df3cc>=0x0;_0x5df3cc--)(_0x16f5ec=_0x2db78a[_0x5df3cc])&&(_0x1cb81e=_0x16f5ec(_0x1cb81e)||_0x1cb81e);return _0x1cb81e;},Vt=(_0x17cfd6,_0x1c02b0)=>(_0x5468c5,_0x2e7215)=>_0x1c02b0(_0x5468c5,_0x2e7215,_0x17cfd6);let Pe=class extends _0xae3b4e{constructor(_0x4f5f0a,_0x550a9d){var _0x4e4b40=_0x3085eb;super(),N(this,_0x4e4b40(0x34a),new Map()),N(this,'_roomCreated$',new _0x2445c4()),(this[_0x4e4b40(0x25b)]=_0x4f5f0a,this[_0x4e4b40(0x36c)]=_0x550a9d,this[_0x4e4b40(0x362)](_0x4e3d6c(this['_univerInstanceService'][_0x4e4b40(0xf1)](_0xc8d7d8['UNIVER_SHEET'])[_0x4e4b40(0x352)](_0xcf8945(_0x148c00=>_0x148c00[_0x4e4b40(0x309)]())),this['_univerInstanceService'][_0x4e4b40(0xf1)](_0xc8d7d8['UNIVER_DOC'])['pipe'](_0xcf8945(_0x44d237=>_0x44d237[_0x4e4b40(0x309)]())),this[_0x4e4b40(0x25b)][_0x4e4b40(0xf1)](_0xc8d7d8['UNIVER_SLIDE'])[_0x4e4b40(0x352)](_0xcf8945(_0x1a207c=>_0x1a207c[_0x4e4b40(0x309)]())))[_0x4e4b40(0x197)](_0x2d8462=>this[_0x4e4b40(0xaa)](_0x2d8462))));}[_0x3085eb(0xb9)](_0x3ea7d1){var _0x349a9b=_0x3085eb;return this['_roomMembers'][_0x349a9b(0x1f3)](_0x3ea7d1)?_0x47b097(this['_roomMembers']['get'](_0x3ea7d1)):this['_roomCreated$']['pipe'](_0xcf8945(_0x26944c=>{var _0x5e008a=_0x349a9b;if(_0x26944c===_0x3ea7d1)return this['_roomMembers'][_0x5e008a(0x21f)](_0x26944c);}));}['setCurrentUser'](_0x3ce044){this['_userManagerService']['setCurrentUser'](_0x3ce044);}[_0x3085eb(0x28b)](){var _0x4ab011=_0x3085eb;return this[_0x4ab011(0x36c)][_0x4ab011(0x28b)]();}['updateMember'](_0x3bbef8,_0x307c7f){var _0x3bb9a8=_0x3085eb;let _0x2dfd6b=this['_roomMembers'][_0x3bb9a8(0x21f)](_0x3bbef8);_0x2dfd6b||(_0x2dfd6b=new Bs(),this[_0x3bb9a8(0x34a)][_0x3bb9a8(0x171)](_0x3bbef8,_0x2dfd6b),this['_roomCreated$'][_0x3bb9a8(0x1c4)](_0x3bbef8)),_0x2dfd6b[_0x3bb9a8(0x207)](_0x307c7f);}[_0x3085eb(0x18a)](_0x174818,_0x31f851){var _0x3c5164=_0x3085eb;const _0x1d2b8b=this[_0x3c5164(0x34a)][_0x3c5164(0x21f)](_0x174818);_0x1d2b8b&&_0x1d2b8b[_0x3c5164(0x18a)](_0x31f851);}[_0x3085eb(0x24f)](_0x74dc17){var _0x1998bd=_0x3085eb;return this[_0x1998bd(0x34a)][_0x1998bd(0x21f)](_0x74dc17);}['getMember'](_0x3e9460,_0x59cc0b){var _0x1a795c=_0x3085eb;const _0x1bd1ca=this[_0x1a795c(0x34a)][_0x1a795c(0x21f)](_0x3e9460);if(_0x1bd1ca)return _0x1bd1ca[_0x1a795c(0xfd)](_0x59cc0b);}['_removeRoom'](_0x16ebdf){var _0x57dcd5=_0x3085eb;const _0x183989=this['_roomMembers']['get'](_0x16ebdf);_0x183989&&(_0x183989['dispose'](),this[_0x57dcd5(0x34a)][_0x57dcd5(0xc2)](_0x16ebdf));}[_0x3085eb(0x298)](){var _0x18eb75=_0x3085eb;this[_0x18eb75(0x34a)][_0x18eb75(0x86)](_0x1406ad=>_0x1406ad[_0x18eb75(0x298)]()),this[_0x18eb75(0x34a)][_0x18eb75(0x138)](),this['_roomCreated$'][_0x18eb75(0x2ba)]();}};Pe=Hs([Vt(0x0,_0x892ae8),Vt(0x1,_0x53dfbc(_0xe4ba63))],Pe);class Bs extends _0xae3b4e{constructor(){var _0x163825=_0x3085eb;super(...arguments),N(this,_0x163825(0x289),new Map()),N(this,_0x163825(0xe1),new _0x5bc647(this[_0x163825(0x289)])),N(this,'members$',this[_0x163825(0xe1)][_0x163825(0x1a1)]());}[_0x3085eb(0x298)](){var _0x4ee3be=_0x3085eb;this['_members'][_0x4ee3be(0x138)]();}[_0x3085eb(0x207)](_0x52d4b2){var _0x22c6dc=_0x3085eb;this['_members']['set'](_0x52d4b2[_0x22c6dc(0x2ed)],_0x52d4b2),this['_emitMembers']();}[_0x3085eb(0x18a)](_0x92a17a){var _0x3fd34a=_0x3085eb;this[_0x3fd34a(0x289)][_0x3fd34a(0xc2)](_0x92a17a);}['getMember'](_0x2efaf6){var _0x587571=_0x3085eb;return this[_0x587571(0x289)][_0x587571(0x21f)](_0x2efaf6);}['getAllMembers'](){var _0x13396b=_0x3085eb;return Array[_0x13396b(0x23c)](this[_0x13396b(0x289)][_0x13396b(0x26f)]());}[_0x3085eb(0x121)](){var _0x4639c2=_0x3085eb;this['_members$'][_0x4639c2(0x1c4)](this[_0x4639c2(0x289)]);}}var js=Object[_0x3085eb(0x2b1)],Fs=(_0x13112a,_0x1e8b61,_0x105216,_0xe83d36)=>{var _0x4dafd5=_0x3085eb;for(var _0xb987a0=_0xe83d36>0x1?void 0x0:_0xe83d36?js(_0x1e8b61,_0x105216):_0x1e8b61,_0x5ea28f=_0x13112a[_0x4dafd5(0x32b)]-0x1,_0x40c2a5;_0x5ea28f>=0x0;_0x5ea28f--)(_0x40c2a5=_0x13112a[_0x5ea28f])&&(_0xb987a0=_0x40c2a5(_0xb987a0)||_0xb987a0);return _0xb987a0;},pe=(_0x8f1922,_0x4e4df8)=>(_0x3645fd,_0x5bb883)=>_0x4e4df8(_0x3645fd,_0x5bb883,_0x8f1922),Se=(_0xd92145=>(_0xd92145[_0xd92145['IDLE']=0x0]='IDLE',_0xd92145[_0xd92145[_0x3085eb(0x202)]=0x1]=_0x3085eb(0x202),_0xd92145[_0xd92145[_0x3085eb(0x15e)]=0x2]=_0x3085eb(0x15e),_0xd92145[_0xd92145[_0x3085eb(0x181)]=0x3]=_0x3085eb(0x181),_0xd92145))(Se||{});const Gt={[me[_0x3085eb(0x1e8)]]:'session.join-failed',[me[_0x3085eb(0x2f9)]]:_0x3085eb(0x2ea),[me['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[me[_0x3085eb(0x91)]]:_0x3085eb(0x28e),[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3085eb(0x301)};let gt=class extends _0x38ff91{constructor(_0x1a5b8e,_0x5072ba,_0x177f4e,_0x4de3ad,_0x1b3b9d,_0x522508,_0x32404a,_0x16dbaa,_0x300af1){var _0x576ea5=_0x3085eb;super(),N(this,_0x576ea5(0x324),new _0x5bc647(0x0)),N(this,_0x576ea5(0x159),this[_0x576ea5(0x324)][_0x576ea5(0x1a1)]()),N(this,_0x576ea5(0x270),new _0x2445c4()),N(this,_0x576ea5(0xad),this[_0x576ea5(0x270)][_0x576ea5(0x1a1)]()),N(this,_0x576ea5(0x1bf)),N(this,'_socketMessageSubscription'),N(this,_0x576ea5(0x29d)),N(this,_0x576ea5(0x158),!0x1),N(this,_0x576ea5(0x1da),null),(this[_0x576ea5(0x296)]=_0x1a5b8e,this['_logService']=_0x177f4e,this['_configService']=_0x4de3ad,this['_localeService']=_0x1b3b9d,this['_memberService']=_0x522508,this[_0x576ea5(0x281)]=_0x32404a,this['_collaborationUIEventService']=_0x16dbaa,this['_telemetryService']=_0x300af1,this['_shouldReportTelemetry']=!!this[_0x576ea5(0x1d5)],_0x5072ba[_0x576ea5(0x352)](_0x4694c8(this[_0x576ea5(0x2cb)]))[_0x576ea5(0x197)](_0x40a027=>{var _0x1cd117=_0x576ea5,_0x337ca6;typeof _0x40a027>'u'||(this[_0x1cd117(0x1bf)]=_0x40a027,_0x40a027?(this['_joinRoom'](_0x40a027),this[_0x1cd117(0x35c)]=_0x40a027[_0x1cd117(0x9e)][_0x1cd117(0x197)](_0x32193f=>{var _0x4b0991=_0x1cd117;_0x32193f[_0x4b0991(0x25f)]===this['_unitID']&&this[_0x4b0991(0x35f)](_0x32193f);})):(this[_0x1cd117(0x2b8)](),this[_0x1cd117(0x324)]['next'](0x2),(_0x337ca6=this[_0x1cd117(0x35c)])==null||_0x337ca6[_0x1cd117(0x12e)](),this['_socketMessageSubscription']=null));}));}get[_0x3085eb(0x2c7)](){var _0x41e5c7=_0x3085eb;return this['_sessionStatus$'][_0x41e5c7(0x128)]();}[_0x3085eb(0x8c)](){var _0x49aa42=_0x3085eb,_0x5926a0,_0x3ad7ee;return(_0x3ad7ee=(_0x5926a0=this[_0x49aa42(0x1bf)])==null?void 0x0:_0x5926a0[_0x49aa42(0x2ed)])!=null?_0x3ad7ee:null;}[_0x3085eb(0x298)](){var _0x254c75=_0x3085eb;super['dispose'](),this[_0x254c75(0x2cb)][_0x254c75(0x1c4)](),this[_0x254c75(0x2cb)][_0x254c75(0x2ba)]();}['close'](){var _0x35ba42=_0x3085eb,_0x4350f5,_0x4ee98b;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4350f5=this[_0x35ba42(0x1bf)])==null||_0x4350f5['send']({'cmd':F[_0x35ba42(0x29c)],'data':{'roomID':this['_unitID']}}),(_0x4ee98b=this[_0x35ba42(0x1bf)])==null||_0x4ee98b[_0x35ba42(0x291)](),this[_0x35ba42(0x270)][_0x35ba42(0x2ba)](),this[_0x35ba42(0x324)]['complete'](),this[_0x35ba42(0x298)]();}[_0x3085eb(0x35f)](_0x23ae23){var _0x11db9d=_0x3085eb;_0x23ae23[_0x11db9d(0x237)]===F['JOIN']?this[_0x11db9d(0x31e)](_0x23ae23):_0x23ae23[_0x11db9d(0x237)]===F['RECV']&&this[_0x11db9d(0x290)](_0x23ae23);}[_0x3085eb(0x192)](_0x32b58d){var _0xb4eaca=_0x3085eb;this[_0xb4eaca(0x324)][_0xb4eaca(0x1c4)](0x1),_0x32b58d[_0xb4eaca(0x37d)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xb4eaca(0x296)]}]}});}[_0x3085eb(0x31e)](_0x4b6c75){var _0x231c72=_0x3085eb,_0x4179e4;if(_0x4b6c75['code']in Gt){this['_collaborationUIEventService'][_0x231c72(0x23b)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x4b6c75['code']]}),this[_0x231c72(0x324)]['next'](0x2);return;}this['_sessionStatus$'][_0x231c72(0x1c4)](0x3);const _0x1bd563=(_0x4179e4=_0x4b6c75[_0x231c72(0xf7)][_0x231c72(0x2dd)][this[_0x231c72(0x296)]])==null?void 0x0:_0x4179e4[_0x231c72(0x326)];_0x1bd563&&_0x1bd563['forEach'](_0x1cbbbe=>this[_0x231c72(0x349)][_0x231c72(0x207)](this[_0x231c72(0x296)],_0x1cbbbe));}[_0x3085eb(0x290)](_0x558f60){var _0x481064=_0x3085eb;try{const _0x259781=_0x558f60[_0x481064(0xf7)];switch(_0x259781[_0x481064(0xcf)]){case _0x527595[_0x481064(0x99)]:this['_onUserJoin'](_0x259781),this['_event$']['next'](_0x259781);break;case _0x527595[_0x481064(0xd5)]:this[_0x481064(0x348)](_0x259781),this[_0x481064(0x270)][_0x481064(0x1c4)](_0x259781);break;case _0x527595['CHANGESET_ACK']:case _0x527595[_0x481064(0xee)]:this[_0x481064(0x18e)](),this[_0x481064(0xa1)](),this[_0x481064(0x270)][_0x481064(0x1c4)](_0x259781);break;case _0x527595[_0x481064(0x20f)]:this[_0x481064(0x266)][_0x481064(0x269)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x259781)),this[_0x481064(0x270)][_0x481064(0x1c4)](_0x259781);break;case _0x527595[_0x481064(0xd4)]:this['_commentService']['onCommentUpdate'](_0x259781[_0x481064(0xf7)]),this['_event$'][_0x481064(0x1c4)](_0x259781);break;default:this[_0x481064(0x270)]['next'](_0x259781);}}catch(_0x1db7a5){this['_logService'][_0x481064(0x269)](_0x1db7a5,_0x558f60);}}['_onUserJoin'](_0x4554f7){var _0x304d41=_0x3085eb;this[_0x304d41(0x349)][_0x304d41(0x207)](this[_0x304d41(0x296)],_0x4554f7[_0x304d41(0xf7)]);}[_0x3085eb(0x348)](_0x1121e4){var _0x54005d=_0x3085eb;this[_0x54005d(0x349)]['removeMember'](this[_0x54005d(0x296)],_0x1121e4[_0x54005d(0xf7)][_0x54005d(0x2ed)]);}async[_0x3085eb(0x37d)](_0x357d35,_0x1f4b5e){var _0x1af1ee=_0x3085eb;if(this[_0x1af1ee(0x2c7)]!==0x3||!this[_0x1af1ee(0x1bf)])throw new Error(_0x1af1ee(0x26c));try{_0x357d35['eventID']===_0x527595[_0x1af1ee(0x12a)]&&(this[_0x1af1ee(0x15b)](),this['_startTelemetryCollaborationNewChangeset'](_0x357d35)),this[_0x1af1ee(0x1bf)][_0x1af1ee(0x37d)]({'cmd':F[_0x1af1ee(0x317)],'routeKey':_0x1f4b5e,'routeType':'','data':_0x357d35});}catch(_0x1b5c98){this['_logService'][_0x1af1ee(0x269)](_0x1b5c98);}}[_0x3085eb(0x15b)](){var _0x50872a=_0x3085eb,_0x304ae4;this[_0x50872a(0x29d)]=setTimeout(()=>{var _0x34e571=_0x50872a;this[_0x34e571(0x29d)]=null,this[_0x34e571(0x29a)][_0x34e571(0x23b)]({'id':ne[_0x34e571(0x2df)]});},(_0x304ae4=this['_configService'][_0x50872a(0xa6)](fi))!=null?_0x304ae4:vi);}['_clearCollaborationTimeoutTimer'](){var _0x1d9fe9=_0x3085eb;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1d9fe9(0x29d)]),this[_0x1d9fe9(0x29d)]=null);}[_0x3085eb(0x2e6)](_0x2c1265){var _0x3fb31d=_0x3085eb;if(!this[_0x3fb31d(0x158)])return;const {data:_0x21a334}=_0x2c1265,{unitID:_0x385cb1,changeset:_0x4d92ad}=_0x21a334,{mutations:_0x11255e,type:_0x491bbf}=_0x4d92ad;this[_0x3fb31d(0x1da)]={'unitId':_0x385cb1,'type':_0x491bbf,'startTime':performance[_0x3fb31d(0x35d)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x11255e)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5172f7=_0x3085eb;if(this[_0x5172f7(0x158)]){if(!this[_0x5172f7(0x1da)]){this[_0x5172f7(0x266)][_0x5172f7(0x269)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x5172f7(0x1da)]['stopTime']=performance[_0x5172f7(0x35d)](),this[_0x5172f7(0x1da)][_0x5172f7(0x367)]=this[_0x5172f7(0x1da)][_0x5172f7(0x325)]-this[_0x5172f7(0x1da)][_0x5172f7(0x17c)],this['_telemetryService'][_0x5172f7(0x1f9)](xs,this[_0x5172f7(0x1da)]),this[_0x5172f7(0x1da)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x482beb),pe(0x3,_0x22b79b),pe(0x4,_0x53dfbc(_0x4f8456)),pe(0x5,_0x53dfbc(Pe)),pe(0x6,_0x53dfbc(Si)),pe(0x7,_0x53dfbc(ve)),pe(0x8,_0x1c5f22(_0x2f90be))],gt);var Vs=Object[_0x3085eb(0x2b1)],Gs=(_0x2bb673,_0x15a4f7,_0x302ec2,_0x53a5d0)=>{for(var _0x462673=_0x53a5d0>0x1?void 0x0:_0x53a5d0?Vs(_0x15a4f7,_0x302ec2):_0x15a4f7,_0x2c4392=_0x2bb673['length']-0x1,_0x57147f;_0x2c4392>=0x0;_0x2c4392--)(_0x57147f=_0x2bb673[_0x2c4392])&&(_0x462673=_0x57147f(_0x462673)||_0x462673);return _0x462673;},Re=(_0x326eaf,_0x1b5568)=>(_0x335ecb,_0x2ee716)=>_0x1b5568(_0x335ecb,_0x2ee716,_0x326eaf);let Le=class extends _0xae3b4e{constructor(_0x3aa46d,_0x1e6a91,_0x215067,_0x5334ca,_0x414bdf,_0x3060c6){var _0x4af506=_0x3085eb;super(),N(this,_0x4af506(0x25c),new _0x5bc647(void 0x0)),N(this,'socket$',this[_0x4af506(0x25c)]['asObservable']()),N(this,_0x4af506(0x238),null),N(this,_0x4af506(0x379),new Map()),N(this,'_status$',new _0x5bc647(Se[_0x4af506(0x2e7)])),N(this,_0x4af506(0x134),this['_status$']['asObservable']()),N(this,_0x4af506(0x11d),!0x1),N(this,_0x4af506(0x332)),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x4af506(0x1d2)),(this['_injector']=_0x3aa46d,this[_0x4af506(0x266)]=_0x1e6a91,this[_0x4af506(0x201)]=_0x215067,this[_0x4af506(0x157)]=_0x5334ca,this[_0x4af506(0x29a)]=_0x414bdf,this[_0x4af506(0x155)]=_0x3060c6,this[_0x4af506(0x94)]());}get[_0x3085eb(0x1bf)](){var _0x185518=_0x3085eb;return this[_0x185518(0x25c)]['getValue']();}[_0x3085eb(0x94)](){var _0x5ba84b=_0x3085eb;this[_0x5ba84b(0x155)]&&this['disposeWithMe'](this[_0x5ba84b(0x155)]['online$'][_0x5ba84b(0x197)](_0x4869ba=>{var _0x2d7100=_0x5ba84b;_0x4869ba&&!this[_0x2d7100(0x1bf)]&&this[_0x2d7100(0x2ad)](),_0x4869ba||this[_0x2d7100(0x1a3)]();}));}[_0x3085eb(0x298)](){var _0x5f339c=_0x3085eb;super[_0x5f339c(0x298)](),this[_0x5f339c(0xeb)](),this[_0x5f339c(0x310)](),this[_0x5f339c(0x1d0)](),this['_sessions']['forEach'](_0x2623c8=>_0x2623c8[_0x5f339c(0x298)]()),this[_0x5f339c(0x379)][_0x5f339c(0x138)](),this[_0x5f339c(0x13e)][_0x5f339c(0x2ba)]();}async['requireSession'](_0x50ad4a){var _0x472337=_0x3085eb;if(this[_0x472337(0x379)]['has'](_0x50ad4a))return this['_sessions'][_0x472337(0x21f)](_0x50ad4a);this[_0x472337(0x178)]();const _0x2ec463=this[_0x472337(0x191)][_0x472337(0x193)](gt,_0x50ad4a,this[_0x472337(0x25c)][_0x472337(0x1a1)]());return this['_sessions'][_0x472337(0x171)](_0x50ad4a,_0x2ec463),_0x2ec463;}['closeSession'](_0x14e494){var _0xa5d08c=_0x3085eb,_0x4228cc;const _0x5f42ef=this['_sessions'][_0xa5d08c(0x21f)](_0x14e494);_0x5f42ef&&(this[_0xa5d08c(0x379)][_0xa5d08c(0xc2)](_0x14e494),_0x5f42ef[_0xa5d08c(0x291)]()),this[_0xa5d08c(0x379)][_0xa5d08c(0x233)]||(_0x4228cc=this['_socket'])==null||_0x4228cc[_0xa5d08c(0x291)]();}[_0x3085eb(0x2ad)](){var _0x4bd556=_0x3085eb;this['_retryCount']=0x0,this[_0x4bd556(0xeb)](),this[_0x4bd556(0x267)]();}[_0x3085eb(0xeb)](){var _0x35b020=_0x3085eb;this[_0x35b020(0x332)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x3085eb(0x2b4)](){var _0x1d5fc7=_0x3085eb,_0x28fb94,_0x2ac7d8;const _0x45e090=this[_0x1d5fc7(0x201)][_0x1d5fc7(0xa6)](gs),_0xc805d5=this[_0x1d5fc7(0x201)][_0x1d5fc7(0xa6)](K),_0x22e8a0=(_0x2ac7d8=(_0x28fb94=_0xc805d5==null?void 0x0:_0xc805d5['collabWebSocketUrl'])!=null?_0x28fb94:_0x45e090)!=null?_0x2ac7d8:Ss,_0x4c971a=await this['_socketService'][_0x1d5fc7(0x1c5)](_0x22e8a0);return this[_0x1d5fc7(0x238)]=_0x4c971a,_0x4c971a;}async[_0x3085eb(0x178)](){var _0x353d6c=_0x3085eb,_0x319093,_0x2e8a16;try{const _0x5b2666=(_0x2e8a16=(_0x319093=this[_0x353d6c(0x1bf)])!=null?_0x319093:this[_0x353d6c(0x238)])!=null?_0x2e8a16:await this[_0x353d6c(0x2b4)]();if(_0x5b2666){const _0x4a6c40=_0x5b2666[_0x353d6c(0x37d)];_0x5b2666[_0x353d6c(0x37d)]=_0x75e1cd=>(this['_rescheduleHeartbeat'](),_0x4a6c40[_0x353d6c(0x1a0)](_0x5b2666,[_0x75e1cd])),_0x5b2666[_0x353d6c(0x9e)][_0x353d6c(0x197)](_0x547b66=>this[_0x353d6c(0x33f)](_0x5b2666,_0x547b66)),_0x5b2666[_0x353d6c(0x1ab)]['pipe'](_0x5b30d0(0x1))[_0x353d6c(0x197)](_0x53138d=>this[_0x353d6c(0x266)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x53138d)),_0x5b2666[_0x353d6c(0x1e2)][_0x353d6c(0x352)](_0x5b30d0(0x1))[_0x353d6c(0x197)](()=>{this['_onConnectionOpen'](_0x5b2666);}),_0x5b2666[_0x353d6c(0x148)][_0x353d6c(0x352)](_0x5b30d0(0x1))['subscribe'](_0x473391=>{var _0x510a98=_0x353d6c;this[_0x510a98(0x266)][_0x510a98(0x11b)](_0x510a98(0x1d1),_0x510a98(0x2ce),_0x473391),this[_0x510a98(0x2fe)]();});}}catch(_0x20a2c5){this['_logService'][_0x353d6c(0x269)](_0x20a2c5),this[_0x353d6c(0x2fe)]();}}[_0x3085eb(0x252)](_0x1a57ab){var _0x2c99a5=_0x3085eb;this[_0x2c99a5(0x266)]['debug'](_0x2c99a5(0x1d1),'socket\x20open.'),_0x1a57ab[_0x2c99a5(0x37d)]({'cmd':F['HELLO']}),this[_0x2c99a5(0x92)]();}['_onOffline'](){var _0x91bbc1=_0x3085eb;this['_socketReady']=!0x1,this[_0x91bbc1(0x238)]=null,this[_0x91bbc1(0x13e)][_0x91bbc1(0x1c4)](Se[_0x91bbc1(0x15e)]),this[_0x91bbc1(0x25c)][_0x91bbc1(0x1c4)](null),this[_0x91bbc1(0x310)](),this['_clearHeartbeatTimer']();}[_0x3085eb(0x2fe)](){var _0x4632ec=_0x3085eb,_0x1274cc;this[_0x4632ec(0x1a3)](),this[_0x4632ec(0x2c1)]<((_0x1274cc=this[_0x4632ec(0x201)]['getConfig'](Cs))!=null?_0x1274cc:Rs)?(this[_0x4632ec(0x29a)][_0x4632ec(0x23b)]({'id':ne[_0x4632ec(0x13f)]}),this[_0x4632ec(0x267)]()):this[_0x4632ec(0x29a)][_0x4632ec(0x23b)]({'id':ne[_0x4632ec(0xf8)]});}[_0x3085eb(0x267)](){var _0x25450e=_0x3085eb,_0xf327da;const _0xcf7779=this[_0x25450e(0x2c1)],_0x2c6bd9=this[_0x25450e(0x201)][_0x25450e(0xa6)](K),_0x5e9d40=_0xcf7779===0x0?0x0:((_0xf327da=_0x2c6bd9==null?void 0x0:_0x2c6bd9[_0x25450e(0x250)])!=null?_0xf327da:Ts)*0x2**_0xcf7779;this[_0x25450e(0x332)]=setTimeout(()=>{var _0x6bf753=_0x25450e;clearTimeout(this[_0x6bf753(0x332)]),this[_0x6bf753(0x332)]=null,this['_tryEnsureSocket']();},_0x5e9d40),this[_0x25450e(0x2c1)]+=0x1;}['_onMessage'](_0x56b1c8,_0x4f656e){var _0x46de37=_0x3085eb;const {cmd:_0x2dbe8a}=_0x4f656e;_0x2dbe8a===F['HELLO']&&!this[_0x46de37(0x11d)]&&(_0x56b1c8[_0x46de37(0x2ed)]=_0x4f656e[_0x46de37(0xf7)]['memberID'],this['_socket$'][_0x46de37(0x1c4)](_0x56b1c8),this['_status$']['next'](Se[_0x46de37(0x181)]),this[_0x46de37(0x11d)]=!0x0,this['_candidateSocket']=null),_0x2dbe8a===F['HEARTBEAT']&&this[_0x46de37(0x310)](),this[_0x46de37(0x92)]();}[_0x3085eb(0x92)](){var _0x5018ed=_0x3085eb,_0xe4146c;this[_0x5018ed(0x1d0)](),this[_0x5018ed(0x35b)]=setTimeout(()=>this[_0x5018ed(0x33e)](),(_0xe4146c=this[_0x5018ed(0x201)][_0x5018ed(0xa6)](Es))!=null?_0xe4146c:Is);}[_0x3085eb(0x33e)](){var _0x3e9f9b=_0x3085eb;this[_0x3e9f9b(0x1bf)][_0x3e9f9b(0x37d)]({'cmd':F[_0x3e9f9b(0x19c)]}),this['_waitForHeartbeatResponse']();}[_0x3085eb(0x166)](){var _0x3bae30=_0x3085eb,_0x494e45;this[_0x3bae30(0x1d2)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x494e45=this[_0x3bae30(0x201)][_0x3bae30(0xa6)](fi))!=null?_0x494e45:vi);}[_0x3085eb(0x1d0)](){var _0x5634ea=_0x3085eb;this[_0x5634ea(0x35b)]!=null&&(clearTimeout(this[_0x5634ea(0x35b)]),this[_0x5634ea(0x35b)]=null);}['_clearTimeoutTimer'](){var _0x20d50b=_0x3085eb;this[_0x20d50b(0x1d2)]!=null&&(clearTimeout(this[_0x20d50b(0x1d2)]),this['_timeoutTimer']=null);}};Le=Gs([Re(0x0,_0x53dfbc(_0x49cf2d)),Re(0x1,_0x482beb),Re(0x2,_0x22b79b),Re(0x3,gi),Re(0x4,_0x53dfbc(ve)),Re(0x5,_0x1c5f22(Us))],Le);const J=_0x108b1e('collaboration-client.local-cache-service');function Pr(_0x24034e){var _0xecaa85=_0x3085eb;return _0xecaa85(0x27a)+_0x24034e;}var Ws=Object[_0x3085eb(0x2b1)],Ys=(_0xdcb3ad,_0x49062a,_0x43b1bb,_0x565f06)=>{for(var _0x4f4663=_0x565f06>0x1?void 0x0:_0x565f06?Ws(_0x49062a,_0x43b1bb):_0x49062a,_0x489064=_0xdcb3ad['length']-0x1,_0x420588;_0x489064>=0x0;_0x489064--)(_0x420588=_0xdcb3ad[_0x489064])&&(_0x4f4663=_0x420588(_0x4f4663)||_0x4f4663);return _0x4f4663;},ut=(_0x3fb7eb,_0x3a12fd)=>(_0x35dbee,_0x29dae3)=>_0x3a12fd(_0x35dbee,_0x29dae3,_0x3fb7eb);function _0x4c1a(_0x59b103,_0x3f9ee8){var _0x55057a=_0x5505();return _0x4c1a=function(_0x4c1af8,_0x10f264){_0x4c1af8=_0x4c1af8-0x7f;var _0x10ec7a=_0x55057a[_0x4c1af8];return _0x10ec7a;},_0x4c1a(_0x59b103,_0x3f9ee8);}function Ks(_0x1cc20b){var _0xcf2738=_0x3085eb;const {unitID:_0x16fa8a,mutations:_0xee33be}=_0x1cc20b;return{'unitId':_0x16fa8a,'subUnitId':_0xee33be[0x0][_0xcf2738(0x329)][_0xcf2738(0x184)]};}let it=class{constructor(_0x432213,_0x39051d,_0x13744f){var _0x4d50bf=_0x3085eb;this[_0x4d50bf(0x191)]=_0x432213,this[_0x4d50bf(0x2a9)]=_0x39051d,this[_0x4d50bf(0x1e5)]=_0x13744f;}[_0x3085eb(0x242)](_0xba9dc1){var _0x1a003e=_0x3085eb,_0x5c968a,_0x20f34d,_0xda77f4,_0x4ce81d;const _0x144f3f=this[_0x1a003e(0x191)][_0x1a003e(0x21f)](_0x26fa03),{unitId:_0x33ca71,subUnitId:_0x2722c9}=Ks(_0xba9dc1),_0x16dc43=_0x144f3f==null?void 0x0:_0x144f3f[_0x1a003e(0x1ea)](_0x33ca71)[_0x1a003e(0x1b7)](),_0x2777a1=(_0x20f34d=(_0x5c968a=this[_0x1a003e(0x1e5)][_0x1a003e(0x9b)](_0x33ca71))==null?void 0x0:_0x5c968a[_0x1a003e(0x2af)]())==null?void 0x0:_0x20f34d[_0x1a003e(0x80)]();if(_0x16dc43[_0x1a003e(0x32b)]===0x0||!_0x33ca71||!_0x2722c9)return;const _0x56d15c=[{'id':_0x2899fc['id'],'params':{'unitId':_0x33ca71,'subUnitId':_0x2777a1,'selections':_0x8a68d4[_0x1a003e(0xb3)](_0x16dc43)}}],_0x2541fe=this[_0x1a003e(0x2a9)]['transformMutationsWithChangeset'](_0xba9dc1,_0x56d15c);if(!_0x4a7fa7(_0x2541fe))throw _0x2541fe[_0x1a003e(0x269)];const _0x1a153b=(_0x4ce81d=(_0xda77f4=_0x2541fe['m2Prime'][0x0])==null?void 0x0:_0xda77f4[_0x1a003e(0x329)])==null?void 0x0:_0x4ce81d[_0x1a003e(0x12c)];if(Array[_0x1a003e(0x1ff)](_0x1a153b)&&_0x1a153b[_0x1a003e(0x32b)]){if(_0x1a153b[_0x1a003e(0x32b)]===_0x56d15c[0x0][_0x1a003e(0x329)][_0x1a003e(0x12c)][_0x1a003e(0x32b)]&&_0x1a153b['every']((_0xfd6093,_0x1fbd18)=>_0x920a50['equals'](_0xfd6093[_0x1a003e(0xb0)],_0x56d15c[0x0]['params'][_0x1a003e(0x12c)][_0x1fbd18][_0x1a003e(0xb0)])))return;this[_0x1a003e(0x191)][_0x1a003e(0x21f)](_0x51862d)[_0x1a003e(0x372)](_0x2899fc['id'],{'unitId':_0x33ca71,'subUnitId':_0x2777a1,'selections':_0x1a153b});}}};it=Ys([ut(0x0,_0x53dfbc(_0x49cf2d)),ut(0x1,_0x20599e),ut(0x2,_0x892ae8)],it);const ht=_0x108b1e('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x2bc1fc=>(_0x2bc1fc[_0x2bc1fc['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x3085eb(0x341),_0x2bc1fc[_0x2bc1fc['OTHER_CLIENTS_EDITING']=0x1]=_0x3085eb(0xdc),_0x2bc1fc))(Ei||{});function _0x5505(){var _0x513e02=['INVALID_ARGUMENT','create','Error\x20on\x20receiving\x20event','updateMember','call','baseRev','univer-pro.collaboration-client-socket-service','&to=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','interceptor','pluginName','MSG_FOR_ERROR','ENSURE_SNAPSHOT_EXECUTION','_fetchMissChangesets','FETCH_MISS','algo','/fetchmissing?from=','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','clamp','fetchThroughInterceptors','UNIVER_SHEET','failed\x20to\x20apply\x20missed\x20changesets!','Failed\x20to\x20update\x20permission\x20point','toggleOnline','_showConflictNotification','includes','_checkMissing','get','_initMergeInterceptor','init','body','_xformMode','_state$','743276ZfAMPA','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onTransformSelections','_remoteChangesetQueue','confirm','_onConflict','location','_type','awaiting_with_pending','[CollaborationUndoRedoService]','_change$','session','_localCacheService','loginUrlKey','size','OpenSSL','_sheetTransformSelectionsService','BASE64','cmd','_candidateSocket','ws://127.0.0.1:8000/universer-api/comb/connect','_onLocalMutation','emitEvent','from','loadUnit','csShouldRetryEvent','map','HEARTBEAT_TIMEOUT','reqId','transformSelections','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','requestParams','INVALID_INVITE_CODE','Cipher','result','YUUMI_UNABLE_LOAD_URL','_incrementRevisionNumber','_resendTimeout','_isPermissionRej','_redoStacks','onTransformIME','_collaborationSessionService','getRoom','retryConnectingInterval','\x20to\x20','_onConnectionOpen','_handlerCallback','change$','LIVESHARE_FETCH_OPERATIONS','type','iterations','CHANGESET_REJ','onRemoteAck','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_univerInstanceService','_socket$','patch','5MfXiII','routeKey','/resources','CipherParams','reject','socketService','?size=','SNAPSHOT_URL_KEY','_logService','_tryReconnect','/role','error','name','_transformUndoredo','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UUID','origin','values','_event$','_initRequestHeader','_resendTimer','objectActions','CONFLICT','loadOfflineData','YUUMI_RATE_OVER_LIMIT','sheets','objectID','lib','unit-cache-','padding','catch','/universer-api/comb','_acknowledgedAwaitingChangeset','1502478wCcUCu','_createHandler','_commentService','_changesetReqId','COMPRESS_MUTATION_APPLY','byteOffset','string','\x20in\x20_schedule.','_getLoginPath','auth.needGotoLoginAlert','_members','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getCurrentUser','editing\x20status\x20changed\x20to','LIVESHARE_OPERATION','session.room-permission-denied','_clearRedo','_onRecvEvent','close','univer-pro.collaboration-client.network-condition.service','_commandService','_iKey','symbol','_unitID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','dispose','getResourcesRequest','_collaborationUIEventService','YUUMI_SUBSCRIPTION_NOT_FOUND','LEAVE','_collaborationTimeoutTimer','defineProperty','mutations','_waitCount','onRemoteRej','src','withCredentials','YUUMI_NO_CUBOID_FOR_QUESTION','max','_toggleOnline','_resendWithTimeout','getCurrentRevOfUnit','_transformService','_transformStateCache','\x0aCurrent:\x20','onLocalMutation','reconnect','function','getActiveSheet','unknown','getOwnPropertyDescriptor','_collabSessionService','_getCtorByUniverType','_createSocket','state$','focused$','_startCollaboration','_throwTelemetryCollaborationNewChangeset','filter','complete','AWAITING','_nRounds','APPLY_DUPLICATED','MUTATION','join','onStateChange','_retryCount','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ceil','_handler','ERROR_IMAGE','CONNECTOR_DATA_TOO_LARGE','sessionStatus','_process','_unlockTransition','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','dispose$','/object/','CLOSE_ROOM','socket\x20close','keySize','1374704hPOrZN','onCommentUpdate','_getSignURL','_nDataBytes','synced','_eventService','_singleActiveUnitService','onRemoteRetry','decryptBlock','createDecryptor','_onFetchMissResult','fetch_missing','uploadFileServerUrl','roomInfos','random','SUBMIT_CHANGESET_TIMEOUT','_undoRedoService','changesets','HttpExport','PY_RUNTIME_SCRIPT_ERROR','_HTTPService','[SyncedState]:\x20received\x20rejection.','_startTelemetryCollaborationNewChangeset','IDLE','fromCollab','Pkcs7','session.room-full','offline','action','memberID','_iv','downloadEndpointUrl','INVITE_CODE_ALREADY_BOUND','_onRemoteRetry','awaitingChangeset','Latin1','[OfflineState]:\x20received\x20rejection.','PERSON','_transformSelections','image/jpg','538299eiEAPC','JOIN_ROOM_FULL','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getUndoStack','collaboratorID','_executeRemoteChangeset','_onConnectionFailed','_cipher','SUCCUSS','session.room-cnt-exceeds','_compressMutationService','UNKNOWN_CODE','/universer-api/authz','PSEUDO_FETCH_MISSING_RESULT','Encryptor','substr','workbook','getUnitId','PERMISSION_REJ','file','clone','JOIN_ROOM_FAILED','batchAllowed','default','_clearTimeoutTimer','execute','isPermissionRej','onRemoteChangeset','[DataLoaderService]','getInterceptPoints','_getUploadFileURL','INGEST','splice','/-/object/list','RECV','listRoles','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_state','_onJoinRoomEvent','_transformStack','concat','6640hRfxjZ','INTERNAL_ERROR','encode','_sessionStatus$','stopTime','members','_getAPIPrefix','_commentUpdate$','params','unitInfo$','length','{fileID}','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','objectType','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','addImageSourceCache','SHA1','_retryConnectingTimer','_unitInfo$','_getCurrentRevision','onTransformRemoteChangesetByIMECache','YUUMI_AI_RUN_FAILED','processBlock','snapshotServerUrl','SYNCED','USER_NOT_INVITED_CODE','_initUnitPermissionChange','min','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sendHeartbeat','_onMessage','_imageSourceCache','NO_OTHER_CLIENTS_EDITING','joinRsp','SEND_CHANGESET_TIMEOUT','registerHTTPInterceptor','[CollaborationSession]','/rev/','userID','_onUserLeave','_memberService','_roomMembers','getRandomValues','getSnapshotAPIPath','_updateStatus','/-/object/-/batch_allowed','_doReset','YUUMI_ASYNCIO_CANCELLED','image/bmp','pipe','_entityInit$','EvpKDF','7YZwAPA','stringify','UNIVER_UNKNOWN','parse','decrypt','cfg','_sendHeartbeatTimer','_socketMessageSubscription','now','/universer-api/file/{fileID}/sign-url','_onCombEvent','pad','liveShareNewHost','disposeWithMe','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','add','leaveEvent','LIVESHARE_TERMINATE','duration','newCsEvent','onMissingChangesets','compose','JOIN_ROOM_NOT_EXISTS','_userManagerService','closeSession','LOGIN_FAILED','_key','HmacMD5','not_collab','executeCommand','_config','_httpService','refreshPermission','connection\x20error','readInt32LE','_transformIMECache','_sessions','_doCreateSocket','CHANGESET_REVISION_CONFILICT','_clearScheduledTask','send','getCollabEntity','reverse','onload','Malformed\x20UTF-8\x20data','_submitChangeset','_createHelper','update','getSheetId','authzUrl','SerializableCipher','loadDoc','incrementRevOfUnit','fetchMissingChangesets','forEach','ERROR_IMAGE_TYPE','_decreaseWaiting','$super','onMissedChangesetFetched','updatePermissionPoint','getMemberID','_sender','onTransformState','_DEC_XFORM_MODE','_map','JOIN_ROOM_PERMISSION_DENIED','_rescheduleHeartbeat','LIVESHARE_NEW_HOST','_listenToNetworkCondition','image/jpeg','_init','OTHER_CLIENT_EDITING','_substituteUndoStack','USERS_ENTER','UNIVER_DOC','getUnit','ciphertext','revision','message$','[PendingState]:\x20received\x20rejection.','ALREADY_EXISTS','_clearCollaborationTimeoutTimer','url','_applyRemoteChangeset','crypto','COMPRESS_MUTATION_SEND','getConfig','originalMeta','__creator','unitId','_removeRoom','floor','words','event$','&source=','GLOBAL_ROOMS_CNT_EXCEEDS','range','_doFinalize','EMAIL_HAS_BEEN_BOUND','deepClone','RETRY_CONNECTING_MAX_COUNT','status','hostname','APPLY_NON_SEQUENTIAL_REVISION','snapshot','waitForRoom$','actions','_syncEditingCollabCursor','saveSnapshot','AWAITING_WITH_PENDING','onSyncEditingCollabCursor','textRanges','collaMsg','conflict','delete','JOIN','format','onlyLocal','UnitSnapshot','Undefined','UNKNOWN_CMD','finalize','resourceIDs','APPLY_REVISION_CONFILICT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_permissionService','setShowComponents','eventID','allowed','image/gif','/object','hasOwnProperty','COMMENT_UPDATE','USERS_LEAVE','TOO_MANY_REQUESTS','_minBufferSize','enableOfflineEditing','/universer-api/snapshot','_lockTransition','updatePermissionObjEvent','OTHER_CLIENTS_EDITING','put','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','collabSubmitChangesetUrl','StreamCipher','_members$','prototype','c1Prime','/universer-api/oidc/authpage','LIVESHARE_REQUEST_HOST','updateCursorEvent','getFocusedUnit','subject','_toggleOffline','BufferedBlockAlgorithm','_clearRetryConnectingTimer','[OfflineState]:\x20received\x20changeset.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CHANGESET_SHOULD_RETRY','method','awaiting','getTypeOfUnitDisposed$','_registerDependencies','_sendingTimer','SHOULD_CLOSE_CONN','_createInitialStateImpl','_createHmacHelper','data','SOCKET_FAILED','People','generateRandomId','UPDATE_CURSOR','PENDING','getMember','encryptBlock','UNDEFINED','mode','Base64','initWorkbookPermissionChange','shouldCloseConn','/collaborator','key','WECHAT_HAS_BEEN_BOUND','_getDownloadEndpointURL','mixIn','_reverseMap','saveChangeset','_transformRemoteChangesetByStateCache','BlockCipher','ivSize','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','NoPadding','_keyPriorReset','SNAPSHOT_INVALID_SNAPSHOT','_onRemoteRejected','PasswordBasedCipher','compute','find','_exhaustRemoteChangesetQueue','objects','resend','_updateState','_updateLocalCache','debug','/unit/','_socketReady','charAt','transformUndoRedo','Could\x20not\x20dynamically\x20require\x20\x22','_emitMembers','UNRECOGNIZED','loadUnitOfRevision','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','post','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','pending','getValue','_hash','SUBMIT_CHANGESET','saveImage','selections','getUnitStatus$','unsubscribe','APPLY_PERMISSION_DENIED','entries','_substituteRedoStack','_mode','UNAUTHENTICATED','status$','_scheduleCompleteTimestamp','_doCryptBlock','c2Prime','clear','blockSize','YUUMI_URL_COL_OUT_OF_RANGE','_queuedRemoteChangesets','charCodeAt','onSendChangeset','_status$','SOCKET_FAILED_RETRY','override','commentUpdate$','getTypeOfUnitAdded$','createEncryptor','getUnitType','onTransformRemoteChangesetByStateCache','_disableEditing','hasher','close$','_append','repeat','msCrypto','FileId','localCacheService','/universer-api/snapshot/','_getAPIPrefixPath','_entities','UPDATE_PERMISSION_OBJ','_snapshotService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','NOT_FOUND','_networkConditionService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketService','_shouldReportTelemetry','sessionStatus$','commentUpdateEvent','_scheduleCollaborationTimeoutTimer','LICENSE_IMPORT_SIZE_EXCEEDED','[PendingState]:\x20received\x20acknowledgement.','OFFLINE','getCollabEntity$','UNISCRIPT_RUN','[OfflineState]:\x20received\x20acknowledgement.','reset','buffer','UNIVER_PROJECT','BlockCipherMode','_waitForHeartbeatResponse','kdf','_snapshotServerService','appendMutation','headers','Utf8','permissionRejEvent','_oKey','_revisionService','/universer-api/uniscript','_replaceFileID','set','NEW_CHANGESETS','copyFileMeta','enc','COLLAB_SUBMIT_CHANGESET_URL','resolve','salt','_tryEnsureSocket','transformChangesets','_getSendChangesetTimeout','enableSingleActiveInstanceLock','startTime','getLatestCsReqIdBySid','encrypt','HELLO','WordArray','ONLINE','_clearUndo','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','subUnitId','requireSession','LICENSE_DISTRO_REJECTED','[CollaborationEntity]','_awaitingChangeset','_keySchedule','removeMember','_clearLocalCache','FETCH_MISSING','UnitEmbedded','_stopTelemetryCollaborationNewChangeset','_prevBlock','m2Prime','_injector','_joinRoom','createInstance','unitID','MD5','Decryptor','subscribe','HmacSHA1','readAsDataURL','_changesetSessionId','/universer-api/user/session-ticket','HEARTBEAT','code','replace','pauseCollaboration','apply','asObservable','_pendingMutations','_onOffline','OPTIONAL','toString','getDeserializedSheetBlock','_onRemoteChangeset','randomBytes','_hasher','HMAC','error$','_collaborationPaused','infoRsp','302470DjYRtT','exports','COLLAB_WEB_SOCKET_URL','_invKeySchedule','_initDependencies','HttpImport','LICENSE_MAX_UNITS_EXCEEDED','PERMISSION_DENIED','_schedule','getCurrentSelections','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','editingUnit','loadSheet','fromCharCode','uniscriptRunEvent','collaboration-client.config','_localeService','_socket','_parse','getSheetBlock','LOGIN_URL_KEY','push','next','createSocket','_ENC_XFORM_MODE','putCollaborators','[FetchMissState]','Hex','toggleOffline','collaborators','_transformRemoteChangesetByIMECache','Base','getImageSourceCache','localeService','_clearHeartbeatTimer','[CollaborationSessionService]','_timeoutTimer','indexOf','LOCAL_CACHE_INTERVAL','_telemetryService','/universer-api/stream/file/upload','_data','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','INVITE_CODE_HAS_BEEN_UES','_telemetryInfo','sin','target','then','_onRemoteACK','_replayCachedMutations','onCommandExecuted','state','open$','setConfig','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_instanceService','APPLY_REJECT','AES','FAIL','[SyncedState]:\x20received\x20acknowledgement.','getWorkbookSelections','fetchMiss','sid','sigBytes','POST','listCollaborators','slice','byteLength','Hasher','has','LICENSE_EXPORT_SIZE_EXCEEDED','/new_changes','onStarting','enableCollaboration','/block/','capture','1358628IizVMo','extend','_transitionLocked','updateCollaborator','transformMutationsWithChangeset','isArray','UNIVER_COLLABORATION_CLIENT_PLUGIN','_configService','JOINING','abs'];_0x5505=function(){return _0x513e02;};return _0x5505();}const qs=new Set([_0x387995['id']]);function Wt(_0x442457,_0xba0040,_0x46b869,_0x56c4dc,_0x31f479){var _0x219e3c=_0x3085eb,_0x5e3413,_0x2c40d0,_0x4b40cf,_0x53c2a9;const _0x2459c9=[];for(const _0x2d9fa4 of _0x442457)if(qs[_0x219e3c(0x1f3)](_0x2d9fa4['id'])){if(_0x2459c9[_0x219e3c(0x32b)]>0x0)break;_0x2459c9[_0x219e3c(0x1c3)](_0x2d9fa4);break;}else _0x2459c9[_0x219e3c(0x1c3)](_0x2d9fa4);const _0x5d30f6=(_0x2c40d0=(_0x5e3413=_0x31f479[_0x219e3c(0x28b)]())==null?void 0x0:_0x5e3413['userID'])!=null?_0x2c40d0:_0x219e3c(0x2b0),_0x5c1e07=(_0x53c2a9=(_0x4b40cf=_0x31f479[_0x219e3c(0x28b)]())==null?void 0x0:_0x4b40cf[_0x219e3c(0x2ed)])!=null?_0x53c2a9:_0x219e3c(0x2b0);return{'changeset':{'unitID':_0xba0040,'type':_0x569a6b(_0x46b869[_0x219e3c(0x144)](_0xba0040)),'baseRev':_0x56c4dc[_0x219e3c(0x2a8)](_0xba0040),'revision':0x0,'userID':_0x5d30f6,'memberID':_0x5c1e07,'mutations':_0x2459c9},'pendingMutations':_0x442457[_0x219e3c(0x1f0)](_0x2459c9[_0x219e3c(0x32b)])};}function zs(_0x2181eb,_0x2a35d7,_0x337d94,_0xf9779,_0x4435a5){var _0x12a727=_0x3085eb,_0x4e54f2,_0x24d6f2,_0x395311,_0x1c2236;const _0x447a48=[_0x2181eb['reduce']((_0x1dd675,_0x3ad523)=>{var _0x133f8e=_0x4c1a,_0x559d08;const {id:_0x30af00}=_0x1dd675,{id:_0x4f878c,type:_0x20addf}=_0x3ad523,_0x32eec2=(_0x559d08=_0x1dd675[_0x133f8e(0x329)])!=null?_0x559d08:{'actions':null},_0x476806=_0x3ad523['params'];if(_0x30af00&&_0x30af00!==_0x4f878c)throw new Error(_0x133f8e(0x215)+_0x30af00+'\x20-\x20'+_0x4f878c+'.');return{..._0x1dd675,'id':_0x4f878c,'type':_0x20addf,'params':{'unitId':_0x476806[_0x133f8e(0xa9)],'textRanges':_0x476806['textRanges'],'actions':_0x2f6eee[_0x133f8e(0x36a)](_0x32eec2['actions'],_0x476806[_0x133f8e(0xba)])}};},{})],_0x21d1bd=(_0x24d6f2=(_0x4e54f2=_0x4435a5['getCurrentUser']())==null?void 0x0:_0x4e54f2[_0x12a727(0x347)])!=null?_0x24d6f2:'unknown',_0x26ae07=(_0x1c2236=(_0x395311=_0x4435a5['getCurrentUser']())==null?void 0x0:_0x395311[_0x12a727(0x2ed)])!=null?_0x1c2236:_0x12a727(0x2b0);return{'changeset':{'unitID':_0x2a35d7,'type':_0x569a6b(_0x337d94['getUnitType'](_0x2a35d7)),'baseRev':_0xf9779[_0x12a727(0x2a8)](_0x2a35d7),'revision':0x0,'userID':_0x21d1bd,'memberID':_0x26ae07,'mutations':_0x447a48},'pendingMutations':[]};}function Ii(_0x1efa1a,_0x37709a){var _0x442e2a=_0x3085eb;const _0x1974bd=new _0x4f7a2a(0x1);return setTimeout(()=>_0x1974bd[_0x442e2a(0x1c4)](_0x37709a),_0x1efa1a),_0x1974bd['asObservable']()['pipe'](_0x447cb7(0x1));}const Js={'id':_0x23b44f['id'],'type':_0x167fd6[_0x3085eb(0x2be)],'params':{}};var Xs=Object['getOwnPropertyDescriptor'],Ie=(_0x3600ac,_0x3e6a65,_0x50c838,_0x1c9fc4)=>{var _0x56634c=_0x3085eb;for(var _0x545ab9=_0x1c9fc4>0x1?void 0x0:_0x1c9fc4?Xs(_0x3e6a65,_0x50c838):_0x3e6a65,_0xc36f6f=_0x3600ac[_0x56634c(0x32b)]-0x1,_0x1fd18e;_0xc36f6f>=0x0;_0xc36f6f--)(_0x1fd18e=_0x3600ac[_0xc36f6f])&&(_0x545ab9=_0x1fd18e(_0x545ab9)||_0x545ab9);return _0x545ab9;},P=(_0x464377,_0x28f703)=>(_0x48b47b,_0x2eced6)=>_0x28f703(_0x48b47b,_0x2eced6,_0x464377),Ti=(_0x4be153=>(_0x4be153['NOT_COLLAB']=_0x3085eb(0x371),_0x4be153[_0x3085eb(0x339)]=_0x3085eb(0x2d4),_0x4be153[_0x3085eb(0xfc)]=_0x3085eb(0x127),_0x4be153[_0x3085eb(0x2bb)]=_0x3085eb(0xf0),_0x4be153[_0x3085eb(0xbd)]=_0x3085eb(0x22d),_0x4be153[_0x3085eb(0x212)]=_0x3085eb(0x2db),_0x4be153['CONFLICT']=_0x3085eb(0xc1),_0x4be153[_0x3085eb(0x15e)]=_0x3085eb(0x2eb),_0x4be153))(Ti||{});const Ci=0xea60;class Te{constructor(_0x41315d,_0x42d480,_0x417b20,_0x2fede2,_0x5e9643,_0x164a80,_0x29b236,_0x5b9b0b,_0x3dab97){var _0x354981=_0x3085eb;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x354981(0x194)]=_0x41315d,this[_0x354981(0x256)]=_0x42d480,this[_0x354981(0x2c4)]=_0x5e9643,this[_0x354981(0x293)]=_0x164a80,this[_0x354981(0x2e0)]=_0x29b236,this[_0x354981(0x16e)]=_0x5b9b0b,this[_0x354981(0x231)]=_0x3dab97,this[_0x354981(0x188)]=_0x417b20,this[_0x354981(0x1a2)]=_0x2fede2);}[_0x3085eb(0x21e)](_0x3bb63a){var _0x2e3eb9=_0x3085eb;const _0x362cea=this[_0x2e3eb9(0x16e)]['getCurrentRevOfUnit'](this[_0x2e3eb9(0x194)]);return _0x3bb63a['revision']>_0x362cea+0x1?(this['_handler']['onMissingChangesets']({'from':_0x362cea,'to':_0x3bb63a[_0x2e3eb9(0x9d)]-0x1}),!0x0):!0x1;}[_0x3085eb(0x26b)](_0x445fe5){var _0x4d8531=_0x3085eb;this[_0x4d8531(0x2e0)][_0x4d8531(0x11f)](this[_0x4d8531(0x194)],_0x445fe5);}[_0x3085eb(0x2f6)](_0x2cd63){var _0x2e1e26=_0x3085eb,_0x1599a8,_0x125707;(_0x125707=(_0x1599a8=this['_handler'])[_0x2e1e26(0x227)])==null||_0x125707[_0x2e1e26(0x208)](_0x1599a8,_0x2cd63);}[_0x3085eb(0x378)](_0x47ac0b){var _0x599018=_0x3085eb,_0x598956,_0x55bdf0;return(_0x55bdf0=(_0x598956=this[_0x599018(0x2c4)])[_0x599018(0x24d)])==null?void 0x0:_0x55bdf0[_0x599018(0x208)](_0x598956,_0x47ac0b);}['_transformStateCache'](_0x65a428){var _0x2319f4=_0x3085eb,_0x342de9,_0x13a29c;return(_0x13a29c=(_0x342de9=this[_0x2319f4(0x2c4)])[_0x2319f4(0x8e)])==null?void 0x0:_0x13a29c[_0x2319f4(0x208)](_0x342de9,_0x65a428);}[_0x3085eb(0x1cc)](_0x23a33d){var _0x3c36af=_0x3085eb,_0x3f0353,_0x572917,_0x3a7cf3;return(_0x3a7cf3=(_0x572917=(_0x3f0353=this[_0x3c36af(0x2c4)])[_0x3c36af(0x335)])==null?void 0x0:_0x572917[_0x3c36af(0x208)](_0x3f0353,_0x23a33d))!=null?_0x3a7cf3:_0x23a33d;}[_0x3085eb(0x10b)](_0x1c6a9b){var _0x582e5c=_0x3085eb,_0x5b26b3,_0x217a74,_0xdd3833;return(_0xdd3833=(_0x217a74=(_0x5b26b3=this[_0x582e5c(0x2c4)])[_0x582e5c(0x145)])==null?void 0x0:_0x217a74[_0x582e5c(0x208)](_0x5b26b3,_0x1c6a9b))!=null?_0xdd3833:_0x1c6a9b;}[_0x3085eb(0xbb)](_0x433338){var _0x5b8d4b=_0x3085eb,_0x5ace3e,_0x24cd91;if(this[_0x5b8d4b(0x256)]===Z[_0x5b8d4b(0x9a)]){const {unitID:_0x183dbb,mutations:_0x740092,memberID:_0x520ccf}=_0x433338,_0x49aa00=_0x740092[0x0][_0x5b8d4b(0x329)][_0x5b8d4b(0xbf)];Array[_0x5b8d4b(0x1ff)](_0x49aa00)&&_0x49aa00[_0x5b8d4b(0x32b)]>0x0&&((_0x24cd91=(_0x5ace3e=this[_0x5b8d4b(0x2c4)])['onSyncEditingCollabCursor'])==null||_0x24cd91[_0x5b8d4b(0x208)](_0x5ace3e,{'unitID':_0x183dbb,'memberID':_0x520ccf,'textRanges':_0x49aa00}));}}[_0x3085eb(0x11a)](){var _0x19e1f2=_0x3085eb,_0x1c3a54;(_0x1c3a54=this[_0x19e1f2(0x231)])==null||_0x1c3a54['updateOfflineData'](this[_0x19e1f2(0x194)],this[_0x19e1f2(0x256)],this[_0x19e1f2(0x188)],this[_0x19e1f2(0x1a2)]);}[_0x3085eb(0x334)](){var _0x1200bf=_0x3085eb;return this['_revisionService'][_0x1200bf(0x2a8)](this[_0x1200bf(0x194)]);}[_0x3085eb(0x249)](){var _0x204f73=_0x3085eb;this[_0x204f73(0x16e)][_0x204f73(0x84)](this[_0x204f73(0x194)]);}[_0x3085eb(0x2fd)](_0x103251){var _0x268052=_0x3085eb,_0x449ed2;let _0x48753e=this[_0x268052(0x1cc)](_0x103251);_0x48753e=this[_0x268052(0x10b)](_0x48753e);const _0x39d203=_0x3c84a1(_0x48753e[_0x268052(0x29f)],this[_0x268052(0x293)],{'fromCollab':!0x0});if(!_0x39d203[_0x268052(0x247)])throw _0x39d203[_0x268052(0x269)]instanceof Error?_0x39d203['error']:new Error((_0x449ed2=_0x39d203['error'])!=null?_0x449ed2:'[CollaborationState]:\x20apply\x20error!');this[_0x268052(0x378)](_0x48753e),this[_0x268052(0x2aa)](_0x48753e),this[_0x268052(0x26b)](_0x103251),this[_0x268052(0x2f6)](_0x48753e),this[_0x268052(0xbb)](_0x48753e),this[_0x268052(0x249)]();}}let ye=class extends Te{constructor(_0x531708,_0x3a5de5,_0x408adf,_0x21eeb6,_0x1adf22,_0x50fdd0,_0x4b6242,_0x12089a,_0x20e1d1,_0x119de7){var _0x151578=_0x3085eb;super(_0x531708,_0x3a5de5,null,[],_0x408adf,_0x4b6242,_0x50fdd0,_0x21eeb6,_0x119de7),N(this,_0x151578(0xb5),_0x151578(0x2d4)),(this[_0x151578(0x191)]=_0x1adf22,this[_0x151578(0x266)]=_0x12089a,this[_0x151578(0x2a9)]=_0x20e1d1,this[_0x151578(0x14d)]=_0x119de7);}[_0x3085eb(0x169)](_0x226371){var _0x5a2845=_0x3085eb;const _0x42bf65=this['_injector'][_0x5a2845(0x193)](re,this[_0x5a2845(0x194)],this[_0x5a2845(0x256)],[_0x226371],this[_0x5a2845(0x2c4)]);return _0x42bf65[_0x5a2845(0x1b6)](),_0x42bf65[_0x5a2845(0x11a)](),_0x42bf65;}['onRemoteChangeset'](_0x1c2adf){var _0x1df699=_0x3085eb;if(this[_0x1df699(0x21e)](_0x1c2adf))return this[_0x1df699(0x191)][_0x1df699(0x193)](Q,this[_0x1df699(0x194)],this[_0x1df699(0x256)],null,[],null,[_0x1c2adf],this['_handler']);try{const _0xc1fe9=this[_0x1df699(0x2a9)]['transformMutationsWithChangeset'](_0x1c2adf,[Js]);if(_0x4a7fa7(_0xc1fe9)){const {c1Prime:_0x46bb12}=_0xc1fe9;return this[_0x1df699(0x2fd)](_0x46bb12),this;}throw _0xc1fe9['error'];}catch(_0x1f5bb8){return this[_0x1df699(0x266)][_0x1df699(0x269)](_0x1f5bb8),this['_onConflict'](!0x1);}}[_0x3085eb(0x22a)](_0x5a36b3){var _0x4d46b6=_0x3085eb;return this['_injector']['createInstance'](le,this['unitID'],this[_0x4d46b6(0x256)],null,[],this['_handler'],_0x5a36b3);}[_0x3085eb(0x259)](){var _0x538e8f=_0x3085eb;throw new Error(_0x538e8f(0x1e9));}[_0x3085eb(0x2a1)](){var _0x225bb1=_0x3085eb;throw new Error(_0x225bb1(0x2e5));}[_0x3085eb(0x2d7)](){return this;}['toggleOffline'](){var _0x478841=_0x3085eb;return this['_injector']['createInstance'](ue,this[_0x478841(0x194)],this[_0x478841(0x256)],null,[],this[_0x478841(0x2c4)]);}[_0x3085eb(0x21b)](){return this;}[_0x3085eb(0x118)](){var _0x47f76e=_0x3085eb;throw new Error(_0x47f76e(0x156));}['fetchMiss'](){var _0x29540e=_0x3085eb;const _0x1b291a=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x29540e(0x2c4)][_0x29540e(0x369)]({'from':_0x1b291a,'to':0x0}),this['_injector']['createInstance'](Q,this[_0x29540e(0x194)],this[_0x29540e(0x256)],null,[],null,[],this[_0x29540e(0x2c4)]);}};ye=Ie([P(0x3,_0x53dfbc(_0x52c054)),P(0x4,_0x53dfbc(_0x49cf2d)),P(0x5,_0x52e66a),P(0x6,_0x51862d),P(0x7,_0x482beb),P(0x8,_0x20599e),P(0x9,_0x1c5f22(J))],ye);let re=class extends Te{constructor(_0x237c1d,_0x24fc75,_0x224c54,_0x400357,_0x2fff04,_0x4fd959,_0x4f1c97,_0x2f7b6c,_0x7c4067,_0x4ef05c,_0x11cdf4,_0x1829c0,_0x2d824a,_0x1eecb4){var _0x29971d=_0x3085eb;super(_0x237c1d,_0x24fc75,null,_0x224c54,_0x400357,_0x7c4067,_0x2d824a,_0x4fd959,_0x1eecb4),N(this,'status','pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x29971d(0xf3),null),(this[_0x29971d(0x191)]=_0x2fff04,this['_memberService']=_0x4f1c97,this[_0x29971d(0x266)]=_0x2f7b6c,this['_configService']=_0x4ef05c,this[_0x29971d(0x2a9)]=_0x11cdf4,this['_univerInstanceService']=_0x1829c0);}[_0x3085eb(0x169)](_0x157a3a){var _0x53dba7=_0x3085eb;return this[_0x53dba7(0x1a2)][_0x53dba7(0x1c3)](_0x157a3a),this['_updateLocalCache'](),this;}[_0x3085eb(0x313)](_0x28acc6){var _0x5de9d9=_0x3085eb;if(this['_checkMissing'](_0x28acc6))return this[_0x5de9d9(0x37c)](),this[_0x5de9d9(0x191)][_0x5de9d9(0x193)](Q,this[_0x5de9d9(0x194)],this[_0x5de9d9(0x256)],null,this[_0x5de9d9(0x1a2)],null,[_0x28acc6],this[_0x5de9d9(0x2c4)]);try{const _0x349386=this[_0x5de9d9(0x2a9)]['transformMutationsWithChangeset'](_0x28acc6,this[_0x5de9d9(0x1a2)]);if(_0x4a7fa7(_0x349386)){const {c1Prime:_0x24bcf9,m2Prime:_0x38ddde}=_0x349386;this[_0x5de9d9(0x2fd)](_0x24bcf9);const _0x5d6bd5=this[_0x5de9d9(0x191)]['createInstance'](re,this[_0x5de9d9(0x194)],this[_0x5de9d9(0x256)],_0x38ddde,this[_0x5de9d9(0x2c4)]);this[_0x5de9d9(0x37c)]();const _0x54fdcc=new Date()['getTime'](),_0x31ccdc=this[_0x5de9d9(0x135)]?Math[_0x5de9d9(0x2a5)](this[_0x5de9d9(0x135)]-_0x54fdcc,0x0):this[_0x5de9d9(0x17a)]();return _0x5d6bd5[_0x5de9d9(0x1b6)](_0x31ccdc),_0x5d6bd5;}throw _0x349386[_0x5de9d9(0x269)];}catch(_0xcc889f){return this[_0x5de9d9(0x266)][_0x5de9d9(0x269)](_0xcc889f),this[_0x5de9d9(0x22a)](!0x1);}}['onRemoteAck'](){var _0xa8eb7d=_0x3085eb;throw new Error(_0xa8eb7d(0x15d));}[_0x3085eb(0x2a1)](){var _0xeee407=_0x3085eb;throw new Error(_0xeee407(0x9f));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x27e619=_0x3085eb;return this[_0x27e619(0x37c)](),this[_0x27e619(0x191)][_0x27e619(0x193)](ue,this['unitID'],this[_0x27e619(0x256)],null,this[_0x27e619(0x1a2)],this['_handler']);}[_0x3085eb(0x21b)](){return this;}[_0x3085eb(0x1b6)](_0x3b1fa4){var _0x4c860b=_0x3085eb;const _0x2cbdcf=_0x3b1fa4!=null?_0x3b1fa4:this[_0x4c860b(0x17a)]();this[_0x4c860b(0x135)]=new Date()['getTime']()+_0x2cbdcf,this['_sendingTimer']=setTimeout(()=>{var _0x1df675=_0x4c860b;this[_0x1df675(0x37c)]();let _0x470d28=null;switch(this[_0x1df675(0x256)]){case Z[_0x1df675(0x218)]:{_0x470d28=Wt(this[_0x1df675(0x1a2)],this[_0x1df675(0x194)],this[_0x1df675(0x25b)],this['_revisionService'],this['_memberService']);break;}case Z[_0x1df675(0x9a)]:{this[_0x1df675(0x1a2)]['every'](_0x23f30e=>_0x23f30e['id']===_0x253a30['id'])?_0x470d28=zs(this[_0x1df675(0x1a2)],this[_0x1df675(0x194)],this[_0x1df675(0x25b)],this[_0x1df675(0x16e)],this[_0x1df675(0x349)]):_0x470d28=Wt(this[_0x1df675(0x1a2)],this[_0x1df675(0x194)],this[_0x1df675(0x25b)],this[_0x1df675(0x16e)],this['_memberService']);break;}default:throw new Error(_0x1df675(0xed)+this[_0x1df675(0x256)]+_0x1df675(0x286));}const {changeset:_0x24c827,pendingMutations:_0x15998f}=_0x470d28;this['_handler'][_0x1df675(0x13d)](_0x24c827);const _0x35ad14=_0x15998f['length']?this[_0x1df675(0x191)][_0x1df675(0x193)](ae,this[_0x1df675(0x194)],this[_0x1df675(0x256)],_0x24c827,_0x15998f,this['_handler'],void 0x0):this[_0x1df675(0x191)][_0x1df675(0x193)](_e,this[_0x1df675(0x194)],this[_0x1df675(0x256)],_0x24c827,this[_0x1df675(0x2c4)]);_0x35ad14[_0x1df675(0x11a)](),this[_0x1df675(0x2c4)][_0x1df675(0x2c0)](this,_0x35ad14);},_0x2cbdcf);}[_0x3085eb(0x17a)](){var _0x3bac39=_0x3085eb,_0x124e72;const _0x1c4bd9=this[_0x3bac39(0x201)][_0x3bac39(0xa6)](K);return(_0x124e72=_0x1c4bd9==null?void 0x0:_0x1c4bd9['sendChangesetTimeout'])!=null?_0x124e72:ms;}[_0x3085eb(0x118)](){var _0x19e554=_0x3085eb;throw new Error(_0x19e554(0x2c2));}[_0x3085eb(0x37c)](){var _0x10e840=_0x3085eb;this[_0x10e840(0xf3)]!=null&&(clearTimeout(this[_0x10e840(0xf3)]),this['_sendingTimer']=null);}[_0x3085eb(0x22a)](_0x4dec5a){var _0x4c7c4d=_0x3085eb;return this['_clearScheduledTask'](),this[_0x4c7c4d(0x191)][_0x4c7c4d(0x193)](le,this['unitID'],this[_0x4c7c4d(0x256)],null,this[_0x4c7c4d(0x1a2)],this[_0x4c7c4d(0x2c4)],_0x4dec5a);}};re=Ie([P(0x4,_0x53dfbc(_0x49cf2d)),P(0x5,_0x53dfbc(_0x52c054)),P(0x6,_0x53dfbc(Pe)),P(0x7,_0x482beb),P(0x8,_0x51862d),P(0x9,_0x22b79b),P(0xa,_0x20599e),P(0xb,_0x892ae8),P(0xc,_0x52e66a),P(0xd,_0x1c5f22(J))],re);let _e=class extends Te{constructor(_0x5d9946,_0x4d88d4,_0x3e1442,_0x229893,_0x1347c4,_0x541b6c,_0x567cbd,_0xc4ac63,_0x4225cc,_0x218177,_0x212a29){var _0x52135c=_0x3085eb;super(_0x5d9946,_0x4d88d4,_0x3e1442,[],_0x229893,_0x567cbd,_0x218177,_0x541b6c,_0x212a29),N(this,_0x52135c(0xb5),_0x52135c(0xf0)),N(this,'_resendTimeout',0x0),N(this,_0x52135c(0x272)),N(this,'_sender'),(this['_injector']=_0x1347c4,this[_0x52135c(0x266)]=_0xc4ac63,this['_transformService']=_0x4225cc);}[_0x3085eb(0x169)](_0x13b69b){var _0x33e161=_0x3085eb;this[_0x33e161(0x37c)]();const _0x1ac3f9=this['_injector']['createInstance'](ae,this['unitID'],this[_0x33e161(0x256)],this[_0x33e161(0x188)],[_0x13b69b],this[_0x33e161(0x2c4)],this['_resendTimer']);return _0x1ac3f9['_updateLocalCache'](),_0x1ac3f9;}[_0x3085eb(0x313)](_0xf0399d){var _0x400b70=_0x3085eb;if(this[_0x400b70(0x21e)](_0xf0399d))return this[_0x400b70(0x37c)](),this[_0x400b70(0x191)]['createInstance'](Q,this[_0x400b70(0x194)],this[_0x400b70(0x256)],this[_0x400b70(0x188)],[],null,[_0xf0399d],this['_handler']);try{const _0x1a8a46=this[_0x400b70(0x2a9)][_0x400b70(0x179)]([_0xf0399d],[this[_0x400b70(0x188)]],!0x1);if(_0xca2bb8(_0x1a8a46)){const {c1Prime:_0x316c7c,c2Prime:_0x3a43e2}=_0x1a8a46;this[_0x400b70(0x2fd)](_0x316c7c[0x0]),_0x3a43e2[0x0][_0x400b70(0x209)]=this['_getCurrentRevision'](),this[_0x400b70(0x37c)]();const _0x25e2f2=this[_0x400b70(0x191)][_0x400b70(0x193)](_e,this[_0x400b70(0x194)],this[_0x400b70(0x256)],_0x3a43e2[0x0],this[_0x400b70(0x2c4)]);return _0x25e2f2['_updateLocalCache'](),_0x25e2f2;}return this[_0x400b70(0x22a)](!0x1);}catch(_0x344244){return this['_logService']['error'](_0x344244),this[_0x400b70(0x22a)](!0x1);}}['onRemoteAck'](_0x210b6c){var _0xd2c3e8=_0x3085eb;this['_clearScheduledTask']();const _0x17b978=this[_0xd2c3e8(0x16e)][_0xd2c3e8(0x2a8)](this[_0xd2c3e8(0x194)]);if(_0x210b6c[_0xd2c3e8(0x9d)]<_0x17b978-0x1)return this;if(this[_0xd2c3e8(0x21e)](_0x210b6c))return this['_injector'][_0xd2c3e8(0x193)](Q,this[_0xd2c3e8(0x194)],this[_0xd2c3e8(0x256)],null,[],this[_0xd2c3e8(0x188)],[],this[_0xd2c3e8(0x2c4)]);this[_0xd2c3e8(0x249)]();const _0x198fa7=this[_0xd2c3e8(0x191)][_0xd2c3e8(0x193)](ye,this[_0xd2c3e8(0x194)],this[_0xd2c3e8(0x256)],this[_0xd2c3e8(0x2c4)]);return _0x198fa7[_0xd2c3e8(0x11a)](),_0x198fa7;}[_0x3085eb(0x2a1)](_0x191409){var _0x92f3ea=_0x3085eb;return this[_0x92f3ea(0x22a)](!!(_0x191409!=null&&_0x191409['isPermissionRej']));}[_0x3085eb(0x2d7)](_0x5c08d6){var _0x9eff8f=_0x3085eb;return this[_0x9eff8f(0x24a)]>Ci?this[_0x9eff8f(0x1ca)]():(this[_0x9eff8f(0x272)]=Ii(this['_resendTimeout'],{'timeout':this[_0x9eff8f(0x24a)],'reqId':_0x5c08d6[_0x9eff8f(0x241)]}),this[_0x9eff8f(0x8d)]=this[_0x9eff8f(0x272)][_0x9eff8f(0x197)](({reqId:_0x5ef3f3,timeout:_0x41a560})=>{var _0x292a4b=_0x9eff8f;this[_0x292a4b(0x2a7)](_0x5ef3f3,_0x41a560);}),this);}[_0x3085eb(0x1ca)](){var _0x598d18=_0x3085eb;return this['_clearScheduledTask'](),this['_injector'][_0x598d18(0x193)](ue,this[_0x598d18(0x194)],this['type'],this[_0x598d18(0x188)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x3085eb(0x118)](){var _0x410304=_0x3085eb;this['_handler'][_0x410304(0x13d)](this[_0x410304(0x188)]);}['_onConflict'](_0x4f5762){var _0x1be833=_0x3085eb;return this[_0x1be833(0x37c)](),this[_0x1be833(0x191)]['createInstance'](le,this[_0x1be833(0x194)],this[_0x1be833(0x256)],this[_0x1be833(0x188)],[],this[_0x1be833(0x2c4)],_0x4f5762);}[_0x3085eb(0x2a7)](_0x130d05,_0x5ef48e){var _0x1f008d=_0x3085eb,_0x2a0218;_0x130d05===((_0x2a0218=this[_0x1f008d(0x188)])==null?void 0x0:_0x2a0218[_0x1f008d(0x241)])&&(this['resend'](),this[_0x1f008d(0x24a)]=_0x5ef48e===0x0?0x3e8:_0x5ef48e*0x2);}[_0x3085eb(0x37c)](){var _0x1c812b=_0x3085eb,_0x480e42;(_0x480e42=this[_0x1c812b(0x8d)])==null||_0x480e42['unsubscribe'](),this[_0x1c812b(0x24a)]=0x0;}};_e=Ie([P(0x4,_0x53dfbc(_0x49cf2d)),P(0x5,_0x53dfbc(_0x52c054)),P(0x6,_0x51862d),P(0x7,_0x482beb),P(0x8,_0x20599e),P(0x9,_0x52e66a),P(0xa,_0x1c5f22(J))],_e);let ae=class extends Te{constructor(_0x1997b8,_0x47ced9,_0x524fb9,_0x5c64c1,_0x1caa7c,_0x45880a,_0x4bfe94,_0x23d73e,_0x27fa5f,_0x4847b8,_0x29e7ac,_0x345d1b,_0x5379e5){var _0x2b7276=_0x3085eb;super(_0x1997b8,_0x47ced9,_0x524fb9,_0x5c64c1,_0x1caa7c,_0x27fa5f,_0x345d1b,_0x23d73e,_0x5379e5),N(this,'status',_0x2b7276(0x22d)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x2b7276(0x8d)),(this['_injector']=_0x4bfe94,this[_0x2b7276(0x266)]=_0x4847b8,this[_0x2b7276(0x2a9)]=_0x29e7ac,this['localCacheService']=_0x5379e5,_0x45880a&&(this[_0x2b7276(0x272)]=_0x45880a,this['_sender']=this[_0x2b7276(0x272)][_0x2b7276(0x197)](({reqId:_0x53613c,timeout:_0x37dd29})=>{var _0xf6927a=_0x2b7276;this[_0xf6927a(0x2a7)](_0x53613c,_0x37dd29);})));}[_0x3085eb(0x169)](_0x1b1f96){var _0xd9afea=_0x3085eb;return this[_0xd9afea(0x1a2)][_0xd9afea(0x1c3)](_0x1b1f96),this;}['onRemoteChangeset'](_0x2e1334){var _0x541811=_0x3085eb;if(this[_0x541811(0x21e)](_0x2e1334))return this['_clearScheduledTask'](),this[_0x541811(0x191)]['createInstance'](Q,this['unitID'],this['type'],this[_0x541811(0x188)],this[_0x541811(0x1a2)],null,[_0x2e1334],this[_0x541811(0x2c4)]);try{const _0x23ed68=this[_0x541811(0x2a9)][_0x541811(0x179)]([_0x2e1334],[this[_0x541811(0x188)]],!0x1);if(_0xca2bb8(_0x23ed68)){const {c1Prime:_0x3784ad,c2Prime:_0xb2de60}=_0x23ed68,_0x5167d1=this[_0x541811(0x2a9)][_0x541811(0x1fe)](_0x3784ad[0x0],this[_0x541811(0x1a2)]);if(_0x4a7fa7(_0x5167d1)){const {c1Prime:_0x58cd19,m2Prime:_0x1d2f86}=_0x5167d1;return this[_0x541811(0x2fd)](_0x58cd19),_0xb2de60[0x0][_0x541811(0x209)]=this['_getCurrentRevision'](),this[_0x541811(0x37c)](),this[_0x541811(0x191)]['createInstance'](ae,this[_0x541811(0x194)],this['type'],_0xb2de60[0x0],_0x1d2f86,this[_0x541811(0x2c4)],void 0x0);}throw _0x5167d1[_0x541811(0x269)];}throw _0x23ed68[_0x541811(0x269)];}catch(_0x42e3ef){return this[_0x541811(0x266)][_0x541811(0x269)](_0x42e3ef),this[_0x541811(0x22a)](!0x1);}}[_0x3085eb(0x259)](_0x4a130e){var _0x11b69c=_0x3085eb;if(this[_0x11b69c(0x37c)](),this[_0x11b69c(0x21e)](_0x4a130e))return this[_0x11b69c(0x191)][_0x11b69c(0x193)](Q,this['unitID'],this[_0x11b69c(0x256)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this[_0x11b69c(0x249)]();const _0x3a5e3d=this[_0x11b69c(0x191)][_0x11b69c(0x193)](re,this[_0x11b69c(0x194)],this[_0x11b69c(0x256)],this[_0x11b69c(0x1a2)],this[_0x11b69c(0x2c4)]);return _0x3a5e3d[_0x11b69c(0x1b6)](),_0x3a5e3d[_0x11b69c(0x11a)](),_0x3a5e3d;}['onRemoteRej'](_0x83247){var _0x3dcac6=_0x3085eb;return this[_0x3dcac6(0x22a)](!!(_0x83247!=null&&_0x83247[_0x3dcac6(0x312)]));}[_0x3085eb(0x2d7)](_0x2e11d2){var _0x5460f7=_0x3085eb;return this[_0x5460f7(0x24a)]>Ci?this[_0x5460f7(0x1ca)]():(this[_0x5460f7(0x272)]=Ii(this[_0x5460f7(0x24a)],{'timeout':this[_0x5460f7(0x24a)],'reqId':_0x2e11d2[_0x5460f7(0x241)]}),this[_0x5460f7(0x8d)]=this[_0x5460f7(0x272)][_0x5460f7(0x197)](({reqId:_0x2f51da,timeout:_0x1979ee})=>{this['_resendWithTimeout'](_0x2f51da,_0x1979ee);}),this);}['toggleOffline'](){var _0x1e74b8=_0x3085eb;return this[_0x1e74b8(0x37c)](),this[_0x1e74b8(0x191)][_0x1e74b8(0x193)](ue,this[_0x1e74b8(0x194)],this[_0x1e74b8(0x256)],this[_0x1e74b8(0x188)],this[_0x1e74b8(0x1a2)],this['_handler']);}[_0x3085eb(0x21b)](){return this;}['resend'](){var _0x2f450e=_0x3085eb;this[_0x2f450e(0x2c4)][_0x2f450e(0x13d)](this['_awaitingChangeset']);}[_0x3085eb(0x22a)](_0x5cca38){var _0x3876b1=_0x3085eb;return this['_clearScheduledTask'](),this[_0x3876b1(0x191)][_0x3876b1(0x193)](le,this[_0x3876b1(0x194)],this[_0x3876b1(0x256)],null,this[_0x3876b1(0x1a2)],this['_handler'],_0x5cca38);}[_0x3085eb(0x2a7)](_0x32c273,_0x506b0e){var _0x386a43=_0x3085eb,_0x4ecc4d;_0x32c273===((_0x4ecc4d=this[_0x386a43(0x188)])==null?void 0x0:_0x4ecc4d['reqId'])&&(this[_0x386a43(0x118)](),this[_0x386a43(0x24a)]=_0x506b0e===0x0?0x3e8:_0x506b0e*0x2);}['_clearScheduledTask'](){var _0x1242e7=_0x3085eb,_0x447a1b;(_0x447a1b=this[_0x1242e7(0x8d)])==null||_0x447a1b[_0x1242e7(0x12e)](),this[_0x1242e7(0x24a)]=0x0;}};ae=Ie([P(0x6,_0x53dfbc(_0x49cf2d)),P(0x7,_0x53dfbc(_0x52c054)),P(0x8,_0x51862d),P(0x9,_0x482beb),P(0xa,_0x20599e),P(0xb,_0x52e66a),P(0xc,_0x1c5f22(J))],ae);let le=class extends Te{constructor(_0x30c825,_0x22a2c4,_0x3e6f8c,_0x5090c2,_0x237373,_0x5d1f53=!0x1,_0xacf23,_0x2bcdeb,_0x2be842,_0x5d6a86,_0x3db221,_0xa1af62,_0x44aea1){var _0x3180e0=_0x3085eb;super(_0x30c825,_0x22a2c4,_0x3e6f8c,_0x5090c2,_0x237373,_0x2bcdeb,_0x2be842,_0x5d6a86,_0x44aea1),N(this,_0x3180e0(0xb5),_0x3180e0(0xc1)),(this[_0x3180e0(0x24b)]=_0x5d1f53,this[_0x3180e0(0xcd)]=_0xacf23,this[_0x3180e0(0x1be)]=_0x3db221,this[_0x3180e0(0x29a)]=_0xa1af62,this[_0x3180e0(0x14d)]=_0x44aea1,this[_0x3180e0(0x21c)](),this[_0x3180e0(0x18b)](),this[_0x3180e0(0x146)]());}[_0x3085eb(0x169)](){return this;}[_0x3085eb(0x313)](){return this;}[_0x3085eb(0x259)](){return this;}[_0x3085eb(0x2a1)](){return this;}[_0x3085eb(0x2d7)](){return this;}[_0x3085eb(0x1ca)](){return this;}[_0x3085eb(0x21b)](){return this;}[_0x3085eb(0x118)](){var _0x16ae1e=_0x3085eb;throw new Error(_0x16ae1e(0x124));}[_0x3085eb(0x18b)](){var _0x2de57e=_0x3085eb,_0x14ff3b;(_0x14ff3b=this[_0x2de57e(0x231)])==null||_0x14ff3b['updateOfflineData'](this[_0x2de57e(0x194)],this[_0x2de57e(0x256)],null,[]);}[_0x3085eb(0x21c)](){var _0x1181e4=_0x3085eb;this[_0x1181e4(0x24b)]?this[_0x1181e4(0x29a)][_0x1181e4(0x23b)]({'id':ne[_0x1181e4(0x1b5)]}):this['_collaborationUIEventService'][_0x1181e4(0x23b)]({'id':ne[_0x1181e4(0x274)]});}[_0x3085eb(0x146)](){var _0x5bf3da=_0x3085eb;this[_0x5bf3da(0xcd)][_0x5bf3da(0x8b)](new _0x4e8e57(this['unitID'])['id'],!0x1);}};le=Ie([P(0x6,_0x53dfbc(_0x5252a6)),P(0x7,_0x51862d),P(0x8,_0x52e66a),P(0x9,_0x53dfbc(_0x52c054)),P(0xa,_0x53dfbc(_0x4f8456)),P(0xb,_0x53dfbc(ve)),P(0xc,_0x1c5f22(J))],le);let ue=class extends Te{constructor(_0x5d78dc,_0x15bf9f,_0x30d62f,_0x4a1428,_0xb7b512,_0x3aef98,_0x45fcc2,_0x31c3b0,_0x8dd4dd,_0x1621a4){var _0x496606=_0x3085eb;super(_0x5d78dc,_0x15bf9f,_0x30d62f,_0x4a1428,_0xb7b512,_0x31c3b0,_0x8dd4dd,_0x45fcc2,_0x1621a4),N(this,'status',_0x496606(0x2eb)),this[_0x496606(0x191)]=_0x3aef98;}[_0x3085eb(0x169)](_0x2d2c03){var _0x2b4346=_0x3085eb;return this['_pendingMutations'][_0x2b4346(0x1c3)](_0x2d2c03),this[_0x2b4346(0x11a)](),this;}[_0x3085eb(0x313)](_0x341dd0){var _0x2ea4b1=_0x3085eb;throw new Error(_0x2ea4b1(0xec));}[_0x3085eb(0x259)](){var _0x4780d1=_0x3085eb;throw new Error(_0x4780d1(0x161));}[_0x3085eb(0x2a1)](){var _0x305fb2=_0x3085eb;throw new Error(_0x305fb2(0x2f4));}[_0x3085eb(0x2d7)](){return this;}[_0x3085eb(0x1ca)](){return this;}['toggleOnline'](){var _0x4e148f=_0x3085eb;const {_injector:_0x3724c8,_pendingMutations:_0x271316,_awaitingChangeset:_0xbb98f3,unitID:_0x4bbcab,_handler:_0x1ecefc,type:_0x16dc62}=this,_0x1a56b3=Ri(_0x3724c8,_0x4bbcab,_0x16dc62,_0xbb98f3,_0x271316,_0x1ecefc);return _0x1a56b3 instanceof re?_0x1a56b3[_0x4e148f(0x1b6)]():(_0x1a56b3 instanceof ae||_0x1a56b3 instanceof _e)&&_0x1a56b3['resend'](),_0x1a56b3;}[_0x3085eb(0x118)](){var _0x454ef8=_0x3085eb;throw new Error(_0x454ef8(0x20c));}};ue=Ie([P(0x5,_0x53dfbc(_0x49cf2d)),P(0x6,_0x53dfbc(_0x52c054)),P(0x7,_0x51862d),P(0x8,_0x52e66a),P(0x9,_0x1c5f22(J))],ue);let Q=class extends Te{constructor(_0x11594a,_0x8ad098,_0x5aaf34,_0x151197,_0x5dbd8a,_0x1f2954,_0x1ac09c,_0x4137a1,_0x403d8c,_0xee857e,_0x551f94,_0xcf965e,_0x384b20,_0x31f41a){var _0x5bb74c=_0x3085eb;super(_0x11594a,_0x8ad098,_0x5aaf34,_0x151197,_0x1ac09c,_0x551f94,_0xcf965e,_0x403d8c,_0x31f41a),N(this,'status',_0x5bb74c(0x2db)),(this[_0x5bb74c(0x27e)]=_0x5dbd8a,this[_0x5bb74c(0x13b)]=_0x1f2954,this['_injector']=_0x4137a1,this[_0x5bb74c(0x266)]=_0xee857e,this[_0x5bb74c(0x2a9)]=_0x384b20,this['localCacheService']=_0x31f41a);}['onMissedChangesetFetched'](_0x3813d2){var _0x313206=_0x3085eb;try{const _0x5b54d8=[..._0x3813d2,...this[_0x313206(0x13b)]],_0x18c49b=[this[_0x313206(0x188)]||this[_0x313206(0x27e)]]['filter'](_0x5b895c=>!!_0x5b895c);let _0x423594,_0x109a35;if(_0x18c49b[_0x313206(0x32b)]){const _0x3d862e=this[_0x313206(0x2a9)][_0x313206(0x179)](_0x5b54d8,_0x18c49b,!0x1);if(!_0xca2bb8(_0x3d862e))throw _0x3d862e[_0x313206(0x269)];_0x423594=_0x3d862e[_0x313206(0xe3)],_0x109a35=_0x3d862e[_0x313206(0x137)];}else _0x423594=_0x5b54d8,_0x109a35=[];let _0x2977dd=this[_0x313206(0x1a2)];_0x423594[_0x313206(0x86)](_0x18f830=>{var _0x444e13=_0x313206;let _0x33c570;if(_0x2977dd[_0x444e13(0x32b)]){const _0x4b57ba=this[_0x444e13(0x2a9)][_0x444e13(0x1fe)](_0x18f830,_0x2977dd);if(!_0x4a7fa7(_0x4b57ba))throw _0x4b57ba[_0x444e13(0x269)];_0x33c570=_0x4b57ba[_0x444e13(0xe3)],_0x2977dd=_0x4b57ba[_0x444e13(0x190)];}else _0x33c570=_0x18f830;this[_0x444e13(0x2fd)](_0x33c570);}),this[_0x313206(0x27e)]&&this[_0x313206(0x249)](),this[_0x313206(0x188)]&&_0x109a35['length']&&(_0x109a35[0x0][_0x313206(0x209)]=this[_0x313206(0x334)]());let _0x562009;if(this[_0x313206(0x188)]&&_0x2977dd[_0x313206(0x32b)]!==0x0)_0x562009=this['_injector']['createInstance'](ae,this[_0x313206(0x194)],this[_0x313206(0x256)],_0x109a35[0x0],_0x2977dd,this[_0x313206(0x2c4)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2977dd[_0x313206(0x32b)]===0x0)_0x109a35[0x0][_0x313206(0x209)]=this[_0x313206(0x334)](),_0x562009=this[_0x313206(0x191)]['createInstance'](_e,this[_0x313206(0x194)],this[_0x313206(0x256)],_0x109a35[0x0],this['_handler']);else{if(_0x2977dd[_0x313206(0x32b)]!==0x0){const _0x5247ef=this[_0x313206(0x191)][_0x313206(0x193)](re,this[_0x313206(0x194)],this[_0x313206(0x256)],_0x2977dd,this[_0x313206(0x2c4)]);_0x5247ef[_0x313206(0x1b6)](),_0x562009=_0x5247ef;}else _0x562009=this[_0x313206(0x191)][_0x313206(0x193)](ye,this[_0x313206(0x194)],this[_0x313206(0x256)],this['_handler']);}}return _0x562009[_0x313206(0x11a)](),_0x562009;}catch(_0x59d02c){return this['_logService'][_0x313206(0x269)](_0x313206(0x1c8),_0x313206(0x219),_0x59d02c),this['_injector'][_0x313206(0x193)](le,this[_0x313206(0x194)],this[_0x313206(0x256)],this[_0x313206(0x188)],this[_0x313206(0x1a2)],this['_handler'],!0x1);}}[_0x3085eb(0x118)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3085eb(0x169)](_0x53d350){var _0x31a266=_0x3085eb;return this[_0x31a266(0x1a2)][_0x31a266(0x1c3)](_0x53d350),this;}['onRemoteChangeset'](_0x40501f){var _0x3edd68=_0x3085eb;return this[_0x3edd68(0x13b)][_0x3edd68(0x1c3)](_0x40501f),this;}[_0x3085eb(0x259)](_0x58ca98){var _0x12179f=_0x3085eb;if(this[_0x12179f(0x188)])return this[_0x12179f(0x27e)]=this[_0x12179f(0x188)],this[_0x12179f(0x188)]=null,this;throw new Error(_0x12179f(0x2fa));}['onRemoteRej'](_0x9a300f){var _0x29c9f7=_0x3085eb;return this[_0x29c9f7(0x22a)](!!(_0x9a300f!=null&&_0x9a300f['isPermissionRej']));}[_0x3085eb(0x2d7)](){return this;}[_0x3085eb(0x1ca)](){var _0x4b43a6=_0x3085eb;return this['_injector'][_0x4b43a6(0x193)](ue,this['unitID'],this[_0x4b43a6(0x256)],this[_0x4b43a6(0x188)],this[_0x4b43a6(0x1a2)],this['_handler']);}[_0x3085eb(0x21b)](){return this;}[_0x3085eb(0x22a)](_0x1216d5){var _0x5d2063=_0x3085eb;return this[_0x5d2063(0x191)]['createInstance'](le,this[_0x5d2063(0x194)],this[_0x5d2063(0x256)],this['_awaitingChangeset'],this[_0x5d2063(0x1a2)],this['_handler'],_0x1216d5);}};Q=Ie([P(0x7,_0x53dfbc(_0x49cf2d)),P(0x8,_0x53dfbc(_0x52c054)),P(0x9,_0x482beb),P(0xa,_0x51862d),P(0xb,_0x52e66a),P(0xc,_0x20599e),P(0xd,_0x1c5f22(J))],Q);function Ri(_0x56f293,_0x18fb06,_0x3db5d7,_0x3bb953,_0xcc19a,_0x18cbb9){var _0x3e0359=_0x3085eb;return _0x3bb953&&_0xcc19a['length']?_0x56f293[_0x3e0359(0x193)](ae,_0x18fb06,_0x3db5d7,_0x3bb953,_0xcc19a,_0x18cbb9,void 0x0):_0x3bb953?_0x56f293['createInstance'](_e,_0x18fb06,_0x3db5d7,_0x3bb953,_0x18cbb9):_0xcc19a[_0x3e0359(0x32b)]?_0x56f293[_0x3e0359(0x193)](re,_0x18fb06,_0x3db5d7,_0xcc19a,_0x18cbb9):_0x56f293[_0x3e0359(0x193)](ye,_0x18fb06,_0x3db5d7,_0x18cbb9);}var Zs=Object['getOwnPropertyDescriptor'],wt=(_0x3b4f74,_0x2bda94,_0x53a082,_0x4cd459)=>{for(var _0x4d1372=_0x4cd459>0x1?void 0x0:_0x4cd459?Zs(_0x2bda94,_0x53a082):_0x2bda94,_0x3b011a=_0x3b4f74['length']-0x1,_0x4a2984;_0x3b011a>=0x0;_0x3b011a--)(_0x4a2984=_0x3b4f74[_0x3b011a])&&(_0x4d1372=_0x4a2984(_0x4d1372)||_0x4d1372);return _0x4d1372;},H=(_0x31cef9,_0x102887)=>(_0x4ebfb,_0x467a1c)=>_0x102887(_0x4ebfb,_0x467a1c,_0x31cef9);let st=class extends _0x38ff91{constructor(_0x11809d,_0x4be0da,_0xfe2547,_0x3c84f6,_0x55d31f,_0xcd9807,_0x51d944,_0x5d720c,_0x2f434a,_0x11dec4,_0x1c9a5d,_0x3de8a5,_0x53dd8c){var _0x262885=_0x3085eb;super(),N(this,_0x262885(0x224),new _0x5bc647(null)),N(this,_0x262885(0x2b5),this[_0x262885(0x224)]['asObservable']()),N(this,_0x262885(0x31d)),N(this,_0x262885(0x1ac),!0x1),N(this,_0x262885(0x19a),''),N(this,_0x262885(0x282),0x0),N(this,'status$',this[_0x262885(0x2b5)][_0x262885(0x352)](_0x2421c0(_0x45078e=>_0x45078e?_0x45078e[_0x262885(0xb5)]:Ti[_0x262885(0x15e)]),_0x25c334(0x1))),N(this,_0x262885(0x1fc),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x262885(0x194)]=_0x11809d,this[_0x262885(0x230)]=_0x4be0da,this[_0x262885(0x22c)]=_0xfe2547,this[_0x262885(0x191)]=_0x3c84f6,this['_compressMutationService']=_0x55d31f,this[_0x262885(0x1be)]=_0xcd9807,this['_revisionService']=_0x51d944,this[_0x262885(0x2d5)]=_0x5d720c,this[_0x262885(0x266)]=_0x2f434a,this[_0x262885(0x293)]=_0x11dec4,this['_permissionService']=_0x1c9a5d,this['_singleActiveUnitService']=_0x3de8a5,this[_0x262885(0x231)]=_0x53dd8c);}get[_0x3085eb(0x1e1)](){return this['_state'];}async[_0x3085eb(0x221)](){var _0x1506be=_0x3085eb;if(this[_0x1506be(0x1e1)])throw new Error(_0x1506be(0x28a));await this[_0x1506be(0x96)]();}[_0x3085eb(0x19f)](){var _0x27b804=_0x3085eb;return this[_0x27b804(0x1ac)]=!0x0,_0x28f1b6(()=>{var _0x25a0f9=_0x27b804;this['_collaborationPaused']=!0x1,this[_0x25a0f9(0x116)]();});}[_0x3085eb(0x2ac)](_0x6c10a6){var _0x50fc5f=_0x3085eb;this[_0x50fc5f(0x23a)](_0x6c10a6);}['_updateState'](_0x494770){var _0x3fb22b=_0x3085eb;this[_0x3fb22b(0x31d)]=_0x494770,this['_state$']['next'](_0x494770);}async[_0x3085eb(0x96)](){var _0x52ea62=_0x3085eb,_0x475ac9;this[_0x52ea62(0x119)](await this['_createInitialState']()),this[_0x52ea62(0x2d6)]&&((_0x475ac9=this[_0x52ea62(0x2d6)])==null||_0x475ac9[_0x52ea62(0x1b9)](this['unitID']),this[_0x52ea62(0x362)](this[_0x52ea62(0x2d6)][_0x52ea62(0x12d)](this['unitID'])['subscribe'](_0x318e31=>{var _0x1d8003=_0x52ea62;this[_0x1d8003(0x266)][_0x1d8003(0x11b)](_0x1d8003(0x187),_0x1d8003(0x28c),_0x318e31),_0x318e31===Ei[_0x1d8003(0xdc)]?(this[_0x1d8003(0x2d5)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x1d8003(0xcd)][_0x1d8003(0x8b)](new _0x4e8e57(this[_0x1d8003(0x194)])['id'],!0x1),this[_0x1d8003(0xcd)]['setShowComponents'](!0x1)):(this[_0x1d8003(0xcd)][_0x1d8003(0x8b)](new _0x4e8e57(this[_0x1d8003(0x194)])['id'],!0x0),this[_0x1d8003(0xcd)][_0x1d8003(0xce)](!0x0));})));let _0x5a4e7c=!0x1;return this[_0x52ea62(0x362)](this[_0x52ea62(0x230)][_0x52ea62(0x159)][_0x52ea62(0x197)](_0x370a50=>{var _0x13e48d=_0x52ea62;_0x370a50===Se[_0x13e48d(0x181)]?this[_0x13e48d(0x2a6)](_0x5a4e7c):_0x370a50===Se['OFFLINE']&&(_0x5a4e7c=!0x0,this['_toggleOffline']());})),this[_0x52ea62(0x362)](this['session'][_0x52ea62(0xad)]['subscribe'](_0x19b56d=>{var _0xa1e28f=_0x52ea62;try{switch(_0x19b56d['eventID']){case _0x527595[_0xa1e28f(0x172)]:{this['_onRemoteChangeset'](_0x1b7419(_0x19b56d[_0xa1e28f(0xf7)]));break;}case _0x527595['CHANGESET_ACK']:{this[_0xa1e28f(0x1de)](_0x19b56d[_0xa1e28f(0xf7)]);break;}case _0x527595[_0xa1e28f(0x258)]:{this['_onRemoteRejected']();break;}case _0x527595[_0xa1e28f(0xee)]:{this[_0xa1e28f(0x2f1)](_0x19b56d['data']);break;}case _0x527595[_0xa1e28f(0x305)]:{this['_onFetchMissResult'](_0x19b56d[_0xa1e28f(0xf7)][_0xa1e28f(0x2e1)][_0xa1e28f(0x23f)](_0x288081=>_0x1b7419(_0x288081)));break;}case _0x527595['PERMISSION_REJ']:{this[_0xa1e28f(0x112)]({'isPermissionRej':!0x0});break;}case _0x527595[_0xa1e28f(0x160)]:break;}}catch(_0x5bc0f6){throw console['error'](_0xa1e28f(0x206),_0x5bc0f6),_0x5bc0f6;}})),this['_state'];}[_0x3085eb(0x2c9)](){var _0x1cadc4=_0x3085eb;this[_0x1cadc4(0x1fc)]=!0x1;}[_0x3085eb(0xda)](){var _0x279c33=_0x3085eb;if(this[_0x279c33(0x1fc)])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[_0x279c33(0x1fc)]=!0x0;}['_onLocalMutation'](_0xe80b82){var _0x5aa375=_0x3085eb;this[_0x5aa375(0xda)](),this[_0x5aa375(0x119)](this[_0x5aa375(0x31d)][_0x5aa375(0x169)](_0xe80b82)),this[_0x5aa375(0x2c9)]();}[_0x3085eb(0x1a7)](_0x90c741){var _0x316f7d=_0x3085eb;if(!(_0x90c741[_0x316f7d(0x9d)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x316f7d(0x194)]))){if(this[_0x316f7d(0x1ac)]){this[_0x316f7d(0x228)][_0x316f7d(0x1c3)](_0x90c741);return;}this[_0x316f7d(0xa3)](_0x90c741);}}[_0x3085eb(0x116)](){var _0x4034cb=_0x3085eb;this[_0x4034cb(0x228)][_0x4034cb(0x86)](_0x3f1a58=>this['_applyRemoteChangeset'](_0x3f1a58)),this[_0x4034cb(0x228)]=[];}[_0x3085eb(0xa3)](_0xbdd46e){var _0x49e268=_0x3085eb;const _0xe37c11=this['_compressMutationService'][_0x49e268(0x20d)][_0x49e268(0x217)](this[_0x49e268(0x302)][_0x49e268(0x20d)][_0x49e268(0x315)]()['COMPRESS_MUTATION_APPLY'])(_0xbdd46e[_0x49e268(0x29f)],null)||_0xbdd46e[_0x49e268(0x29f)],_0x5e761b={..._0xbdd46e,'mutations':_0xe37c11};this[_0x49e268(0xda)](),this[_0x49e268(0x119)](this[_0x49e268(0x31d)]['onRemoteChangeset'](_0x5e761b)),this['_unlockTransition']();}[_0x3085eb(0x1de)](_0x13e653){var _0x582bf1=_0x3085eb;this[_0x582bf1(0xda)](),this['_updateState'](this[_0x582bf1(0x31d)][_0x582bf1(0x259)](_0x13e653)),this['_unlockTransition']();}[_0x3085eb(0x112)](_0x4d0068){var _0x514b66=_0x3085eb;this[_0x514b66(0xda)](),this[_0x514b66(0x119)](this[_0x514b66(0x31d)]['onRemoteRej'](_0x4d0068)),this['_unlockTransition']();}[_0x3085eb(0x2f1)](_0x1e3484){var _0x33e3a6=_0x3085eb;this[_0x33e3a6(0xda)](),this[_0x33e3a6(0x119)](this[_0x33e3a6(0x31d)][_0x33e3a6(0x2d7)](_0x1e3484)),this['_unlockTransition']();}[_0x3085eb(0x2da)](_0x5484e7){var _0x45728f=_0x3085eb;if(!(this[_0x45728f(0x31d)]instanceof Q))throw new TypeError(_0x45728f(0x32d));const _0x3295f6=_0x5484e7[_0x45728f(0x23f)](_0x44092c=>{var _0x39ebc2=_0x45728f;const _0x8e5f09=this[_0x39ebc2(0x302)]['interceptor'][_0x39ebc2(0x217)](this[_0x39ebc2(0x302)]['interceptor'][_0x39ebc2(0x315)]()[_0x39ebc2(0x283)])(_0x44092c[_0x39ebc2(0x29f)],null)||_0x44092c[_0x39ebc2(0x29f)];return{..._0x44092c,'mutations':_0x8e5f09};});this[_0x45728f(0xda)](),this[_0x45728f(0x119)](this[_0x45728f(0x31d)][_0x45728f(0x8a)](_0x3295f6)),this[_0x45728f(0x2c9)]();}[_0x3085eb(0xe9)](){var _0x438737=_0x3085eb;this[_0x438737(0xda)](),this[_0x438737(0x119)](this[_0x438737(0x31d)][_0x438737(0x1ca)]()),this['_unlockTransition']();}[_0x3085eb(0x2a6)](_0x558a2a=!0x1){var _0x1393c1=_0x3085eb;this[_0x1393c1(0xda)](),this[_0x1393c1(0x119)](this[_0x1393c1(0x31d)]['toggleOnline']()),this['_unlockTransition']();const _0x7e27b0=this['_state'];_0x558a2a&&_0x7e27b0 instanceof ye&&(this['_lockTransition'](),this[_0x1393c1(0x119)](_0x7e27b0[_0x1393c1(0x1eb)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x28fcad=>{var _0xa7f77a=_0x4c1a;this[_0xa7f77a(0x230)][_0xa7f77a(0x159)][_0xa7f77a(0x352)](_0x447cb7(0x1))[_0xa7f77a(0x197)](async _0x376e54=>{var _0x58ad1d=_0xa7f77a;_0x28fcad(await this[_0x58ad1d(0xf5)](_0x376e54===Se[_0x58ad1d(0x181)]));});});}[_0x3085eb(0x280)](){var _0x2cb70e=_0x3085eb;const _0xa81cbb=this[_0x2cb70e(0x194)];return{'onStateChange':(_0x9cf107,_0x165e0a)=>{var _0x404ca2=_0x2cb70e;if(_0x9cf107!==this[_0x404ca2(0x31d)])throw new Error(_0x404ca2(0x33d)+_0x9cf107[_0x404ca2(0xb5)]+'\x0aAfter:\x20'+_0x165e0a[_0x404ca2(0xb5)]+_0x404ca2(0x2ab)+this['_state'][_0x404ca2(0xb5)]);this[_0x404ca2(0x119)](_0x165e0a);},'onSendChangeset':_0x25dc50=>{var _0x2c3bc8=_0x2cb70e;_0x25dc50[_0x2c3bc8(0x1ec)]||(_0x25dc50[_0x2c3bc8(0x1ec)]=this['_changesetSessionId'],_0x25dc50[_0x2c3bc8(0x241)]=++this[_0x2c3bc8(0x282)]);const _0x52a356={'eventID':_0x527595[_0x2c3bc8(0x12a)],'data':{'unitID':_0x25dc50['unitID'],'unitType':this[_0x2c3bc8(0x22c)],'changeset':_0x25dc50,'memberID':this[_0x2c3bc8(0x230)][_0x2c3bc8(0x8c)]()}};this[_0x2c3bc8(0x230)][_0x2c3bc8(0x37d)](_0x52a356,this['unitID']);},'onMissingChangesets':({from:_0x19d455,to:_0x3e3408})=>{var _0x83c0e9=_0x2cb70e;this['_logService'][_0x83c0e9(0x11b)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x19d455+_0x83c0e9(0x251)+_0x3e3408);const _0x179390={'eventID':_0x527595['FETCH_MISSING'],'data':{'unitID':_0xa81cbb,'unitType':this[_0x83c0e9(0x22c)],'from':_0x19d455,'to':_0x3e3408}};this['session'][_0x83c0e9(0x37d)](_0x179390,this[_0x83c0e9(0x194)]);}};}async[_0x3085eb(0xf5)](_0x2cf39f){var _0x326a1e=_0x3085eb,_0x30a89f,_0x2f5c9f,_0x37b78e;const _0x4b8140=await((_0x30a89f=this[_0x326a1e(0x231)])==null?void 0x0:_0x30a89f[_0x326a1e(0x275)](this[_0x326a1e(0x194)])),_0x2b2663=(_0x2f5c9f=_0x4b8140==null?void 0x0:_0x4b8140[_0x326a1e(0x29f)])!=null?_0x2f5c9f:[],_0x36c878=(_0x37b78e=_0x4b8140==null?void 0x0:_0x4b8140[_0x326a1e(0x2f2)])!=null?_0x37b78e:null,_0x301ae9=!!(_0x36c878!=null&&_0x36c878[_0x326a1e(0x1ec)])&&!!(_0x36c878!=null&&_0x36c878[_0x326a1e(0x241)]);this[_0x326a1e(0x19a)]=_0x301ae9?_0x36c878[_0x326a1e(0x1ec)]:_0x14df8e(),this[_0x326a1e(0x282)]=_0x301ae9?_0x36c878['reqId']:0x0;const _0x3c91d1=this[_0x326a1e(0x194)];try{this[_0x326a1e(0x1df)](_0x36c878,_0x2b2663);}catch(_0x4e8c4a){this[_0x326a1e(0x266)][_0x326a1e(0x269)](_0x4e8c4a);}const _0x8e4142=this['_createHandler']();if(_0x2cf39f){const _0x9f32cb=Ri(this[_0x326a1e(0x191)],_0x3c91d1,this['_type'],_0x36c878,_0x2b2663,_0x8e4142);return _0x9f32cb instanceof re?_0x9f32cb[_0x326a1e(0x1b6)]():(_0x9f32cb instanceof ae||_0x9f32cb instanceof _e)&&_0x9f32cb[_0x326a1e(0x118)](),_0x9f32cb;}return this[_0x326a1e(0x191)]['createInstance'](ue,_0x3c91d1,this['_type'],_0x36c878,_0x2b2663,_0x8e4142);}[_0x3085eb(0x1df)](_0x7c70fe,_0x24597d){var _0x2f2e8c=_0x3085eb,_0x212b5b,_0x25cebf;const _0x1be949=this[_0x2f2e8c(0x302)][_0x2f2e8c(0x20d)][_0x2f2e8c(0x217)](this[_0x2f2e8c(0x302)]['interceptor'][_0x2f2e8c(0x315)]()['COMPRESS_MUTATION_APPLY']);(_0x212b5b=_0x1be949((_0x7c70fe==null?void 0x0:_0x7c70fe[_0x2f2e8c(0x29f)])||[],null))==null||_0x212b5b['forEach'](_0x582f84=>this[_0x2f2e8c(0x293)][_0x2f2e8c(0x372)](_0x582f84['id'],_0x582f84[_0x2f2e8c(0x329)])),(_0x25cebf=_0x1be949(_0x24597d||[],null))==null||_0x25cebf[_0x2f2e8c(0x86)](_0xc9c738=>this['_commandService']['executeCommand'](_0xc9c738['id'],_0xc9c738[_0x2f2e8c(0x329)]));}};st=wt([H(0x3,_0x53dfbc(_0x49cf2d)),H(0x4,_0x53dfbc(_0x27ae3f)),H(0x5,_0x53dfbc(_0x4f8456)),H(0x6,_0x53dfbc(_0x52c054)),H(0x7,_0x53dfbc(ve)),H(0x8,_0x482beb),H(0x9,_0x51862d),H(0xa,_0x5252a6),H(0xb,_0x1c5f22(ht)),H(0xc,_0x1c5f22(J))],st);let St=class extends st{constructor(_0x34df05,_0x946ec1,_0x248959,_0x24278a,_0x4057a5,_0x26e415,_0x2203fb,_0x10f04e,_0x3ed596,_0x2643d0,_0x1dbeb1,_0x448164,_0x300b53){var _0x4053d3=_0x3085eb;super(_0x34df05,_0x248959,_0x946ec1,_0x24278a,_0x4057a5,_0x26e415,_0x2203fb,_0x10f04e,_0x3ed596,_0x2643d0,_0x1dbeb1,_0x448164,_0x300b53),N(this,'_handlerCallback',null),(this[_0x4053d3(0x194)]=_0x34df05,this[_0x4053d3(0x256)]=_0x946ec1);}['addHandlerCallback'](_0x10a5e3){this['_handlerCallback']=_0x10a5e3;}['dispose'](){var _0x37e1a1=_0x3085eb;this[_0x37e1a1(0x253)]=null,super[_0x37e1a1(0x298)]();}['_createHandler'](){var _0x1c289e=_0x3085eb;const _0x51c5be=super['_createHandler']();return _0x51c5be[_0x1c289e(0x24d)]=_0x499004=>{var _0x2c1872=_0x1c289e,_0xdd7e1b,_0x2e1d56;return(_0x2e1d56=(_0xdd7e1b=this[_0x2c1872(0x253)])==null?void 0x0:_0xdd7e1b[_0x2c1872(0x24d)])==null?void 0x0:_0x2e1d56['call'](_0xdd7e1b,_0x499004);},_0x51c5be[_0x1c289e(0x8e)]=_0x5c3438=>{var _0x138008=_0x1c289e,_0xa733f4,_0x2d7448;return(_0x2d7448=(_0xa733f4=this[_0x138008(0x253)])==null?void 0x0:_0xa733f4['onTransformState'])==null?void 0x0:_0x2d7448[_0x138008(0x208)](_0xa733f4,_0x5c3438);},_0x51c5be[_0x1c289e(0x227)]=_0x229885=>{var _0x418af6=_0x1c289e,_0x5a04d0,_0x4a1653;return(_0x4a1653=(_0x5a04d0=this['_handlerCallback'])==null?void 0x0:_0x5a04d0[_0x418af6(0x227)])==null?void 0x0:_0x4a1653[_0x418af6(0x208)](_0x5a04d0,_0x229885);},_0x51c5be[_0x1c289e(0xbe)]=_0x346bde=>{var _0x2cbfa8=_0x1c289e,_0xfc6054,_0x103d06;return(_0x103d06=(_0xfc6054=this[_0x2cbfa8(0x253)])==null?void 0x0:_0xfc6054[_0x2cbfa8(0xbe)])==null?void 0x0:_0x103d06[_0x2cbfa8(0x208)](_0xfc6054,_0x346bde);},_0x51c5be[_0x1c289e(0x335)]=_0x457be2=>{var _0x4809bd=_0x1c289e,_0x2d45e5,_0x3d586f,_0x1a57b0;if(!((_0x2d45e5=this[_0x4809bd(0x253)])!=null&&_0x2d45e5[_0x4809bd(0x335)]))throw new Error(_0x4809bd(0x183));return(_0x1a57b0=(_0x3d586f=this['_handlerCallback'])==null?void 0x0:_0x3d586f[_0x4809bd(0x335)])==null?void 0x0:_0x1a57b0['call'](_0x3d586f,_0x457be2);},_0x51c5be[_0x1c289e(0x145)]=_0x520f48=>{var _0x239747=_0x1c289e,_0x2e0cf3,_0x33be7e,_0x57bd37;if(!((_0x2e0cf3=this[_0x239747(0x253)])!=null&&_0x2e0cf3['onTransformRemoteChangesetByStateCache']))throw new Error(_0x239747(0xcc));return(_0x57bd37=(_0x33be7e=this['_handlerCallback'])==null?void 0x0:_0x33be7e[_0x239747(0x145)])==null?void 0x0:_0x57bd37[_0x239747(0x208)](_0x33be7e,_0x520f48);},_0x51c5be;}async['_init'](){var _0xbe5974=_0x3085eb;const _0x4b927c=await super[_0xbe5974(0x96)]();return this[_0xbe5974(0x362)](this[_0xbe5974(0x293)][_0xbe5974(0x1e0)]((_0x2eef37,_0x1f5be2)=>{var _0x21a4bc=_0xbe5974;if(_0x2eef37[_0x21a4bc(0x256)]!==_0x167fd6['MUTATION']||_0x1f5be2!=null&&_0x1f5be2[_0x21a4bc(0x2e8)]||_0x1f5be2!=null&&_0x1f5be2['onlyLocal']||_0x2eef37['id']===_0x253a30['id'])return;const _0x311f53=_0x2eef37[_0x21a4bc(0x329)];if((_0x311f53==null?void 0x0:_0x311f53['unitId'])!==this['unitID'])return;const _0x5729ab=_0x2eef37,_0x53a175=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x21a4bc(0x302)][_0x21a4bc(0x20d)]['getInterceptPoints']()[_0x21a4bc(0xa5)])([_0x5729ab],null)||[_0x5729ab];this[_0x21a4bc(0x23a)](_0x53a175[0x0]);})),_0x4b927c;}};St=wt([H(0x3,_0x53dfbc(_0x49cf2d)),H(0x4,_0x53dfbc(_0x27ae3f)),H(0x5,_0x53dfbc(_0x4f8456)),H(0x6,_0x53dfbc(_0x52c054)),H(0x7,_0x53dfbc(ve)),H(0x8,_0x482beb),H(0x9,_0x51862d),H(0xa,_0x5252a6),H(0xb,_0x1c5f22(ht)),H(0xc,_0x1c5f22(J))],St);let Et=class extends st{constructor(_0xf0ffb7,_0x41d73b,_0x51d0c2,_0x6bb9da,_0x1af125,_0x1e483b,_0x3bfe02,_0x187d17,_0x58f435,_0xefa416,_0xe11011,_0x4d3e9e,_0xe55ea0,_0x6af09b){var _0x50b35e=_0x3085eb;super(_0xf0ffb7,_0x51d0c2,_0x41d73b,_0x6bb9da,_0x1af125,_0x1e483b,_0x3bfe02,_0x58f435,_0xefa416,_0xe11011,_0x4d3e9e,_0xe55ea0,_0x6af09b),this[_0x50b35e(0x194)]=_0xf0ffb7,this[_0x50b35e(0x256)]=_0x41d73b,this[_0x50b35e(0x235)]=_0x187d17;}[_0x3085eb(0x280)](){var _0x4d6b14=_0x3085eb;const _0x474ba7=super['_createHandler']();return _0x474ba7['onTransformSelections']=_0x5ded2a=>this[_0x4d6b14(0x235)][_0x4d6b14(0x242)](_0x5ded2a),_0x474ba7;}async[_0x3085eb(0x96)](){var _0xfb143c=_0x3085eb;const _0xbc14a9=await super['_init']();return this[_0xfb143c(0x362)](this[_0xfb143c(0x293)][_0xfb143c(0x1e0)]((_0x43a531,_0xccc3ba)=>{var _0x4a09c1=_0xfb143c;if(_0x43a531[_0x4a09c1(0x256)]!==_0x167fd6[_0x4a09c1(0x2be)]||_0xccc3ba!=null&&_0xccc3ba[_0x4a09c1(0x2e8)]||_0xccc3ba!=null&&_0xccc3ba[_0x4a09c1(0xc5)])return;const _0x5595b9=_0x43a531[_0x4a09c1(0x329)];if((_0x5595b9==null?void 0x0:_0x5595b9[_0x4a09c1(0xa9)])!==this[_0x4a09c1(0x194)])return;const _0x2eefcd=_0x43a531,_0x1eba85=this[_0x4a09c1(0x302)][_0x4a09c1(0x20d)][_0x4a09c1(0x217)](this[_0x4a09c1(0x302)][_0x4a09c1(0x20d)][_0x4a09c1(0x315)]()[_0x4a09c1(0xa5)])([_0x2eefcd],null)||[_0x2eefcd];this[_0x4a09c1(0x23a)](_0x1eba85[0x0]);})),_0xbc14a9;}};Et=wt([H(0x3,_0x53dfbc(_0x49cf2d)),H(0x4,_0x53dfbc(_0x27ae3f)),H(0x5,_0x53dfbc(_0x4f8456)),H(0x6,_0x53dfbc(_0x52c054)),H(0x7,_0x53dfbc(it)),H(0x8,_0x53dfbc(ve)),H(0x9,_0x482beb),H(0xa,_0x51862d),H(0xb,_0x5252a6),H(0xc,_0x1c5f22(ht)),H(0xd,_0x1c5f22(J))],Et);var Qs=Object[_0x3085eb(0x2b1)],en=(_0x2d40f8,_0x48cf5f,_0x2cd8e1,_0x20a1c4)=>{for(var _0xdeed44=_0x20a1c4>0x1?void 0x0:_0x20a1c4?Qs(_0x48cf5f,_0x2cd8e1):_0x48cf5f,_0x178e40=_0x2d40f8['length']-0x1,_0x51860f;_0x178e40>=0x0;_0x178e40--)(_0x51860f=_0x2d40f8[_0x178e40])&&(_0xdeed44=_0x51860f(_0xdeed44)||_0xdeed44);return _0xdeed44;},Be=(_0xf74e11,_0x1d521f)=>(_0x2c6a9f,_0x7cfa07)=>_0x1d521f(_0x2c6a9f,_0x7cfa07,_0xf74e11);let nt=class extends _0x38ff91{constructor(_0x1cfb7c,_0x359d10,_0xc2ad28,_0x300a79){var _0x4f10ff=_0x3085eb,_0x219f62;super(),N(this,'_entities',new Map()),N(this,_0x4f10ff(0x353),new _0x2445c4()),N(this,'entityInit$',this[_0x4f10ff(0x353)][_0x4f10ff(0x1a1)]()),(this[_0x4f10ff(0x191)]=_0x1cfb7c,this[_0x4f10ff(0x2b2)]=_0x359d10,this['_configService']=_0xc2ad28,this[_0x4f10ff(0x25b)]=_0x300a79,((_0x219f62=this[_0x4f10ff(0x201)][_0x4f10ff(0xa6)](K))==null?void 0x0:_0x219f62[_0x4f10ff(0x1f7)])!==!0x1&&this['_init']());}['dispose'](){var _0x187917=_0x3085eb;super[_0x187917(0x298)](),this[_0x187917(0x150)]['forEach'](_0x5d3bc8=>_0x5d3bc8[_0x187917(0x298)]()),this[_0x187917(0x150)][_0x187917(0x138)]();}[_0x3085eb(0x37e)](_0xd3643){var _0x5e6273=_0x3085eb,_0x1b09df;return(_0x1b09df=this[_0x5e6273(0x150)][_0x5e6273(0x21f)](_0xd3643))!=null?_0x1b09df:null;}[_0x3085eb(0x15f)](_0xb48d43){var _0x255b06=_0x3085eb;const _0x1e90e5=this[_0x255b06(0x37e)](_0xb48d43);return _0x1e90e5?_0x47b097(_0x1e90e5):this[_0x255b06(0x353)][_0x255b06(0x352)](_0x16ea72(_0x1039fe=>_0x1039fe[_0x255b06(0x194)]===_0xb48d43));}['readyForCollab'](_0x40516b){var _0x184f93=_0x3085eb;return _0x47bac4(this[_0x184f93(0x15f)](_0x40516b)[_0x184f93(0x352)](_0xcf8945(()=>{})));}['_init'](){var _0x1159b3=_0x3085eb;this[_0x1159b3(0x25b)][_0x1159b3(0x142)](_0xc8d7d8[_0x1159b3(0x218)])['pipe'](_0x4694c8(this[_0x1159b3(0x2cb)]),_0x4cf63b(0x10))[_0x1159b3(0x197)](async _0x32f5e6=>{var _0x152b9f=_0x1159b3;const _0x215e0e=_0x32f5e6[_0x152b9f(0x309)](),_0x55d921=await this['_startCollaboration'](_0x215e0e,Z[_0x152b9f(0x218)]);this[_0x152b9f(0x150)][_0x152b9f(0x171)](_0x215e0e,_0x55d921);}),this[_0x1159b3(0x25b)][_0x1159b3(0x142)](_0xc8d7d8[_0x1159b3(0x9a)])[_0x1159b3(0x352)](_0x4694c8(this[_0x1159b3(0x2cb)]),_0x4cf63b(0x10))[_0x1159b3(0x352)](_0x16ea72(_0x47442b=>!_0x47442b[_0x1159b3(0x309)]()['startsWith']('__')))['subscribe'](async _0x52dd1b=>{var _0x3a9205=_0x1159b3;const _0x5bba0e=_0x52dd1b[_0x3a9205(0x309)](),_0x514470=await this[_0x3a9205(0x2b7)](_0x5bba0e,Z['UNIVER_DOC']);this[_0x3a9205(0x150)][_0x3a9205(0x171)](_0x5bba0e,_0x514470);}),_0x4e3d6c(this[_0x1159b3(0x25b)][_0x1159b3(0xf1)](_0xc8d7d8['UNIVER_SHEET']),this[_0x1159b3(0x25b)]['getTypeOfUnitDisposed$'](_0xc8d7d8[_0x1159b3(0x9a)]))['pipe'](_0x4694c8(this[_0x1159b3(0x2cb)]))[_0x1159b3(0x197)](_0x24c9a3=>{var _0xead8db=_0x1159b3;const _0x1c5d30=_0x24c9a3[_0xead8db(0x309)](),_0x7a9921=this[_0xead8db(0x150)]['get'](_0x1c5d30);_0x7a9921&&(_0x7a9921[_0xead8db(0x298)](),this[_0xead8db(0x150)][_0xead8db(0xc2)](_0x1c5d30));});}async[_0x3085eb(0x2b7)](_0x41b526,_0x1ab444){var _0x40ba72=_0x3085eb;const _0x4a2533=await this['_collabSessionService'][_0x40ba72(0x185)](_0x41b526),_0x17839c=this['_injector'][_0x40ba72(0x193)](this[_0x40ba72(0x2b3)](_0x1ab444),_0x41b526,_0x1ab444,_0x4a2533);return await _0x17839c['init'](),this[_0x40ba72(0x353)][_0x40ba72(0x1c4)](_0x17839c),_0x17839c;}[_0x3085eb(0x2b3)](_0x27c666){var _0x4cd437=_0x3085eb;switch(_0x27c666){case Z[_0x4cd437(0x9a)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x4cd437(0xde)+_0x27c666);}}};nt=en([Be(0x0,_0x53dfbc(_0x49cf2d)),Be(0x1,_0x53dfbc(Le)),Be(0x2,_0x22b79b),Be(0x3,_0x892ae8)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x2d88c6,_0x17e20b,_0x38b719,_0x4cfff7)=>{var _0x6fb35=_0x3085eb;for(var _0x44dbcc=_0x4cfff7>0x1?void 0x0:_0x4cfff7?tn(_0x17e20b,_0x38b719):_0x17e20b,_0x171fdc=_0x2d88c6[_0x6fb35(0x32b)]-0x1,_0x3aaa35;_0x171fdc>=0x0;_0x171fdc--)(_0x3aaa35=_0x2d88c6[_0x171fdc])&&(_0x44dbcc=_0x3aaa35(_0x44dbcc)||_0x44dbcc);return _0x44dbcc;},Yt=(_0x1f7c65,_0x16787c)=>(_0x5f1059,_0x1c5e76)=>_0x16787c(_0x5f1059,_0x1c5e76,_0x1f7c65);const nn='DEFAULT_FILE_NAME',rn='Univer';let It=class extends _0xae3b4e{constructor(_0x7f181b,_0x2a5af6){var _0x2137ae=_0x3085eb;super(),this[_0x2137ae(0x25b)]=_0x7f181b,this['_configService']=_0x2a5af6,this[_0x2137ae(0x96)]();}['_init'](){var _0x2e7ab9=_0x3085eb;this[_0x2e7ab9(0x362)](this[_0x2e7ab9(0x25b)][_0x2e7ab9(0x2b6)]['subscribe'](()=>{var _0x2951a7=_0x2e7ab9,_0x27f674;const _0x250048=this[_0x2951a7(0x25b)][_0x2951a7(0xe7)]();let _0x34b709=(_0x27f674=this[_0x2951a7(0x201)][_0x2951a7(0xa6)](nn))!=null?_0x27f674:rn;_0x250048 instanceof _0x467c71&&(_0x34b709=_0x250048[_0x2951a7(0x26a)]),document['title']=_0x34b709;}));}};It=sn([Yt(0x0,_0x892ae8),Yt(0x1,_0x22b79b)],It);var an=Object[_0x3085eb(0x2b1)],on=(_0x56f500,_0xc9c278,_0x4d86fa,_0x43439c)=>{for(var _0x5cdfb0=_0x43439c>0x1?void 0x0:_0x43439c?an(_0xc9c278,_0x4d86fa):_0xc9c278,_0x1e6b51=_0x56f500['length']-0x1,_0x542710;_0x1e6b51>=0x0;_0x1e6b51--)(_0x542710=_0x56f500[_0x1e6b51])&&(_0x5cdfb0=_0x542710(_0x5cdfb0)||_0x5cdfb0);return _0x5cdfb0;},dt=(_0x3d44f1,_0x7ce2e5)=>(_0x3da797,_0x3d2d4c)=>_0x7ce2e5(_0x3da797,_0x3d2d4c,_0x3d44f1);let rt=class{constructor(_0x31203f,_0x21d7cf,_0x19bef3){var _0x55ab88=_0x3085eb;this[_0x55ab88(0x201)]=_0x31203f,this[_0x55ab88(0x374)]=_0x21d7cf,this['localeService']=_0x19bef3,this[_0x55ab88(0x221)]();}[_0x3085eb(0x221)](){var _0xd34bbb=_0x3085eb;this[_0xd34bbb(0x374)][_0xd34bbb(0x344)]({'priority':0x1,'interceptor':(_0x59171c,_0x5e54d1)=>_0x5e54d1(_0x59171c)[_0xd34bbb(0x352)](_0xeb51ec(async _0x54d546=>{var _0x26b078=_0xd34bbb;const _0x10f653=_0x54d546;if(_0x10f653[_0x26b078(0xb5)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x26b078(0x229)](this[_0x26b078(0x1cf)]['t'](_0x26b078(0x288)))){const _0x39a075=window['encodeURIComponent'](window[_0x26b078(0x22b)]['href']);window[_0x26b078(0x22b)]['href']=this[_0x26b078(0x287)]()+'?url='+_0x39a075;}}return _0x10f653;}))});}[_0x3085eb(0x287)](){var _0x186333=_0x3085eb,_0x38960d,_0x4dcaf1;const _0x3c11c5=this[_0x186333(0x201)][_0x186333(0xa6)](ys),_0x38ece8=this[_0x186333(0x201)][_0x186333(0xa6)](K);return(_0x4dcaf1=(_0x38960d=_0x38ece8==null?void 0x0:_0x38ece8[_0x186333(0x232)])!=null?_0x38960d:_0x3c11c5)!=null?_0x4dcaf1:Ns;}};rt=on([dt(0x0,_0x22b79b),dt(0x1,_0x53dfbc(_0xfd6f9c)),dt(0x2,_0x53dfbc(_0x4f8456))],rt);var cn=Object['getOwnPropertyDescriptor'],hn=(_0x138f5b,_0x3fe229,_0x4fb9e9,_0x878d0a)=>{for(var _0x4c5239=_0x878d0a>0x1?void 0x0:_0x878d0a?cn(_0x3fe229,_0x4fb9e9):_0x3fe229,_0x194421=_0x138f5b['length']-0x1,_0x26465d;_0x194421>=0x0;_0x194421--)(_0x26465d=_0x138f5b[_0x194421])&&(_0x4c5239=_0x26465d(_0x4c5239)||_0x4c5239);return _0x4c5239;},Kt=(_0x18bd15,_0x2b77ff)=>(_0x4969e5,_0x137bef)=>_0x2b77ff(_0x4969e5,_0x137bef,_0x18bd15);const bi='AUTHZ_URL_KEY',_n=_0x3085eb(0x304);let Tt=class extends _0xae3b4e{constructor(_0x3b2fe3,_0xeb0aa6){var _0x559021=_0x3085eb;super(),this[_0x559021(0x2e4)]=_0x3b2fe3,this['_configService']=_0xeb0aa6,this[_0x559021(0x220)]();}['_initMergeInterceptor'](){var _0x247c27=_0x3085eb;const _0x2cb02b=this;this[_0x247c27(0x362)](this[_0x247c27(0x2e4)][_0x247c27(0x344)]({'priority':0x3e7,'interceptor':_0x1eed4d({'isMatch'(_0x4eaa06){var _0x4e5a86=_0x247c27,_0x4aae55;if(_0x4eaa06[_0x4e5a86(0xef)]==='POST'&&((_0x4aae55=_0x4eaa06[_0x4e5a86(0x244)])!=null&&_0x4aae55['body'])){const {objectID:_0x22d82b,objectType:_0xcdc955}=_0x4eaa06['requestParams']['body']||{};if(!_0x22d82b||_0xcdc955===void 0x0)return!0x1;const _0x4d8331=_0x2cb02b['_getAPIPrefixPath']()+'/'+_0xcdc955+_0x4e5a86(0x2cc)+_0x22d82b+'/allowed';if(_0x4eaa06['url']===_0x4d8331)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1802a7){var _0x1d6b87=_0x247c27,_0x23367f;return(_0x23367f=_0x1802a7[_0x1d6b87(0x244)])==null?void 0x0:_0x23367f[_0x1d6b87(0x222)];},'mergeParamsToRequest'(_0x5e0aba,_0x292ae7){var _0x3c14dd=_0x247c27;const _0x3c6fb9=_0x2cb02b[_0x3c14dd(0x14f)]()+_0x3c14dd(0x34e),_0x3ace49=_0x5e0aba['reduce']((_0x8990f0,_0x3299e6)=>{var _0x3413b3=_0x3c14dd;const {unitID:_0x2e2a9b,objectID:_0x3717ae,objectType:_0x1df508,actions:_0x61ce02}=_0x3299e6;return _0x8990f0[_0x2e2a9b]||(_0x8990f0[_0x2e2a9b]={}),_0x8990f0[_0x2e2a9b][_0x3717ae]||(_0x8990f0[_0x2e2a9b][_0x3717ae]={'objectID':_0x3717ae,'objectType':_0x1df508,'actions':[]}),_0x8990f0[_0x2e2a9b][_0x3717ae][_0x3413b3(0xba)][_0x3413b3(0x1c3)](..._0x61ce02),_0x8990f0;},{}),_0x49adea=[];for(const _0x4bc5eb in _0x3ace49)for(const _0x3ba362 in _0x3ace49[_0x4bc5eb]){const {actions:_0x55a63e,objectType:_0x4bddba}=_0x3ace49[_0x4bc5eb][_0x3ba362],_0x168006=[...new Set(_0x55a63e)];_0x49adea['push']({'unitID':_0x4bc5eb,'objectID':_0x3ba362,'objectType':_0x4bddba,'actions':_0x168006});}return new _0x2927cc(_0x3c14dd(0x1ee),_0x3c6fb9,{'headers':_0x292ae7[_0x3c14dd(0x16a)],'withCredentials':_0x292ae7[_0x3c14dd(0x2a3)],'responseType':_0x292ae7['responseType'],'body':{'requests':_0x49adea}});}},{'distributeResult'(_0xa2ba7a,_0x43dec2){const {objectActions:_0x59b62d}=_0xa2ba7a;return _0x43dec2['map'](_0x5d0d5c=>{var _0x1028cd=_0x4c1a;const {unitID:_0x44d05d,objectID:_0x58eebf,actions:_0x30c81a}=_0x5d0d5c,_0x144a42=_0x59b62d[_0x1028cd(0x115)](_0xdc8105=>_0xdc8105['unitID']===_0x44d05d&&_0xdc8105[_0x1028cd(0x278)]===_0x58eebf),_0x361abe=_0x30c81a[_0x1028cd(0x23f)](_0x273f34=>_0x144a42==null?void 0x0:_0x144a42[_0x1028cd(0xba)][_0x1028cd(0x115)](_0x4bea89=>_0x4bea89[_0x1028cd(0x2ec)]===_0x273f34))[_0x1028cd(0x2b9)](_0x7d30f5=>!!_0x7d30f5);return{'config':_0x5d0d5c,'result':{'actions':_0x361abe,'error':_0xa2ba7a['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x371351=_0x3085eb,_0xe77d50,_0x541b9c;const _0x3afd36=this['_configService']['getConfig'](bi),_0x3c77fc=this['_configService'][_0x371351(0xa6)](K);return(_0x541b9c=(_0xe77d50=_0x3c77fc==null?void 0x0:_0x3c77fc['authzUrl'])!=null?_0xe77d50:_0x3afd36)!=null?_0x541b9c:_n;}async['create'](_0x4835ee){var _0x5fb755=_0x3085eb;const _0x97e0b2=this['_getAPIPrefixPath']()+'/'+_0x4835ee[_0x5fb755(0x32e)]+_0x5fb755(0xd2);return(await this[_0x5fb755(0x2e4)][_0x5fb755(0x125)](_0x97e0b2,{'body':_0x4835ee}))['body'][_0x5fb755(0x278)]||'';}async['list'](_0x33712e){var _0x1f72a2=_0x3085eb;const _0x221107=this[_0x1f72a2(0x14f)]()+_0x1f72a2(0x319);return(await this[_0x1f72a2(0x2e4)]['post'](_0x221107,{'body':_0x33712e}))[_0x1f72a2(0x222)][_0x1f72a2(0x117)];}async[_0x3085eb(0x7f)](_0x2a80cb){var _0x16756a=_0x3085eb,_0x3c8ca6,_0x26b2b1;const _0x569f5b=this[_0x16756a(0x14f)]()+'/'+_0x2a80cb['objectType']+_0x16756a(0x2cc)+_0x2a80cb[_0x16756a(0x278)],_0xd467ca=await this[_0x16756a(0x2e4)][_0x16756a(0xdd)](_0x569f5b,{'body':_0x2a80cb});if(((_0x26b2b1=(_0x3c8ca6=_0xd467ca==null?void 0x0:_0xd467ca[_0x16756a(0x222)])==null?void 0x0:_0x3c8ca6[_0x16756a(0x269)])==null?void 0x0:_0x26b2b1[_0x16756a(0x19d)])!==0x1)throw new Error(_0x16756a(0x21a));}async[_0x3085eb(0xd0)](_0x5ed001){var _0x5743ae=_0x3085eb;const _0x1ccd62=this['_getAPIPrefixPath']()+'/'+_0x5ed001[_0x5743ae(0x32e)]+_0x5743ae(0x2cc)+_0x5ed001[_0x5743ae(0x278)]+'/allowed';return(await this[_0x5743ae(0x2e4)][_0x5743ae(0x125)](_0x1ccd62,{'body':_0x5ed001}))['body'][_0x5743ae(0xba)];}async[_0x3085eb(0x30e)](_0x2e2023){var _0x48fad1=_0x3085eb;const _0x3e290c=this[_0x48fad1(0x14f)]()+'/-/object/-/batch_allowed';return(await this[_0x48fad1(0x2e4)][_0x48fad1(0x125)](_0x3e290c,{'body':{'requests':_0x2e2023}}))['body'][_0x48fad1(0x273)];}async[_0x3085eb(0x31b)](_0x2d0ce8){var _0x341364=_0x3085eb;const _0x524b3f=this[_0x341364(0x14f)]()+'/'+_0x2d0ce8[_0x341364(0x32e)]+_0x341364(0x268),_0x59fce1=await this[_0x341364(0x2e4)][_0x341364(0x125)](_0x524b3f,{'body':_0x2d0ce8});return{'roles':_0x59fce1[_0x341364(0x222)]['roles'],'actions':_0x59fce1[_0x341364(0x222)][_0x341364(0xba)]};}async['deleteCollaborator'](_0x20aad7){var _0x14a3bb=_0x3085eb;const _0x530ec9=this[_0x14a3bb(0x14f)]()+_0x14a3bb(0x104);await this[_0x14a3bb(0x2e4)][_0x14a3bb(0xc2)](_0x530ec9,{'params':{'collaboratorID':_0x20aad7[_0x14a3bb(0x2fc)],'objectID':_0x20aad7[_0x14a3bb(0x278)],'unitID':_0x20aad7[_0x14a3bb(0x194)]}});}async[_0x3085eb(0x1fd)](_0x3fb682){var _0x1f1843=_0x3085eb;const _0x3e318b=this[_0x1f1843(0x14f)]()+_0x1f1843(0x104);await this[_0x1f1843(0x2e4)][_0x1f1843(0x25d)](_0x3e318b,{'body':_0x3fb682});}async['createCollaborator'](_0x1ad29d){var _0x22360e=_0x3085eb;const _0x2b683a=this['_getAPIPrefixPath']()+_0x22360e(0x104);await this[_0x22360e(0x2e4)][_0x22360e(0x125)](_0x2b683a,{'body':_0x1ad29d});}async[_0x3085eb(0x1ef)](_0x119572){var _0x312429=_0x3085eb;const _0x497b4e=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService']['get'](_0x497b4e,{'params':{'objectID':_0x119572[_0x312429(0x278)],'unitID':_0x119572[_0x312429(0x194)]}}))['body'][_0x312429(0x1cb)];}async[_0x3085eb(0x1c7)](_0x2e8257){var _0x2d0f09=_0x3085eb;const _0x3ed373=this[_0x2d0f09(0x14f)]()+_0x2d0f09(0x104);await this['_HTTPService'][_0x2d0f09(0xdd)](_0x3ed373,{'body':_0x2e8257});}};Tt=hn([Kt(0x0,_0x53dfbc(_0xfd6f9c)),Kt(0x1,_0x53dfbc(_0x22b79b))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5b46d){var _0x1bc982=_0x3085eb;return _0x5b46d&&_0x5b46d['__esModule']&&Object[_0x1bc982(0xe2)][_0x1bc982(0xd3)][_0x1bc982(0x208)](_0x5b46d,_0x1bc982(0x30f))?_0x5b46d[_0x1bc982(0x30f)]:_0x5b46d;}var Ve={'exports':{}};function ln(_0x4b0874){var _0x565711=_0x3085eb;throw new Error(_0x565711(0x120)+_0x4b0874+_0x565711(0x243));}var Ge={'exports':{}},un=Ge[_0x3085eb(0x1af)],qt;function te(){var _0x275e38=_0x3085eb;return qt||(qt=0x1,function(_0x3cc45b,_0x3a893f){(function(_0x4952d4,_0x5e2013){var _0x5bf809=_0x4c1a;_0x3cc45b[_0x5bf809(0x1af)]=_0x5e2013();}(un,function(){var _0x23fcef=_0x23fcef||function(_0x45b474,_0x542c33){var _0x10839c=_0x4c1a,_0xcd3692;if(typeof window<'u'&&window['crypto']&&(_0xcd3692=window['crypto']),typeof self<'u'&&self[_0x10839c(0xa4)]&&(_0xcd3692=self[_0x10839c(0xa4)]),typeof globalThis<'u'&&globalThis[_0x10839c(0xa4)]&&(_0xcd3692=globalThis[_0x10839c(0xa4)]),!_0xcd3692&&typeof window<'u'&&window[_0x10839c(0x14b)]&&(_0xcd3692=window[_0x10839c(0x14b)]),!_0xcd3692&&typeof ft<'u'&&ft['crypto']&&(_0xcd3692=ft['crypto']),!_0xcd3692&&typeof ln==_0x10839c(0x2ae))try{_0xcd3692=require(_0x10839c(0xa4));}catch{}var _0x334cb2=function(){var _0x4d83a0=_0x10839c;if(_0xcd3692){if(typeof _0xcd3692[_0x4d83a0(0x34b)]=='function')try{return _0xcd3692[_0x4d83a0(0x34b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xcd3692[_0x4d83a0(0x1a8)]==_0x4d83a0(0x2ae))try{return _0xcd3692[_0x4d83a0(0x1a8)](0x4)[_0x4d83a0(0x377)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x48c94f=Object[_0x10839c(0x205)]||(function(){function _0x130c47(){}return function(_0xa721be){var _0x4e083a;return _0x130c47['prototype']=_0xa721be,_0x4e083a=new _0x130c47(),_0x130c47['prototype']=null,_0x4e083a;};}()),_0x87b471={},_0x16d6f2=_0x87b471[_0x10839c(0x279)]={},_0x152c6e=_0x16d6f2[_0x10839c(0x1cd)]=(function(){return{'extend':function(_0x1c8307){var _0x3efd90=_0x4c1a,_0x553902=_0x48c94f(this);return _0x1c8307&&_0x553902[_0x3efd90(0x108)](_0x1c8307),(!_0x553902['hasOwnProperty'](_0x3efd90(0x221))||this[_0x3efd90(0x221)]===_0x553902[_0x3efd90(0x221)])&&(_0x553902['init']=function(){var _0x1b644a=_0x3efd90;_0x553902[_0x1b644a(0x89)][_0x1b644a(0x221)][_0x1b644a(0x1a0)](this,arguments);}),_0x553902[_0x3efd90(0x221)][_0x3efd90(0xe2)]=_0x553902,_0x553902[_0x3efd90(0x89)]=this,_0x553902;},'create':function(){var _0x749c0a=_0x4c1a,_0x2a359a=this[_0x749c0a(0x1fb)]();return _0x2a359a[_0x749c0a(0x221)]['apply'](_0x2a359a,arguments),_0x2a359a;},'init':function(){},'mixIn':function(_0x4f7b98){var _0x5df7d7=_0x4c1a;for(var _0x599065 in _0x4f7b98)_0x4f7b98[_0x5df7d7(0xd3)](_0x599065)&&(this[_0x599065]=_0x4f7b98[_0x599065]);_0x4f7b98['hasOwnProperty']('toString')&&(this[_0x5df7d7(0x1a5)]=_0x4f7b98['toString']);},'clone':function(){var _0x4713c3=_0x4c1a;return this[_0x4713c3(0x221)][_0x4713c3(0xe2)][_0x4713c3(0x1fb)](this);}};}()),_0x43001a=_0x16d6f2[_0x10839c(0x180)]=_0x152c6e[_0x10839c(0x1fb)]({'init':function(_0x23b5ba,_0x40ee63){var _0x3ae42f=_0x10839c;_0x23b5ba=this[_0x3ae42f(0xac)]=_0x23b5ba||[],_0x40ee63!=_0x542c33?this[_0x3ae42f(0x1ed)]=_0x40ee63:this['sigBytes']=_0x23b5ba[_0x3ae42f(0x32b)]*0x4;},'toString':function(_0xb4a6e){var _0x5c3915=_0x10839c;return(_0xb4a6e||_0x27b58f)[_0x5c3915(0x356)](this);},'concat':function(_0x43beb){var _0x57b4c3=_0x10839c,_0x16f4f2=this['words'],_0xcc4360=_0x43beb[_0x57b4c3(0xac)],_0x77dd1f=this[_0x57b4c3(0x1ed)],_0x53fc0a=_0x43beb[_0x57b4c3(0x1ed)];if(this['clamp'](),_0x77dd1f%0x4)for(var _0x1312e6=0x0;_0x1312e6<_0x53fc0a;_0x1312e6++){var _0x4e44b6=_0xcc4360[_0x1312e6>>>0x2]>>>0x18-_0x1312e6%0x4*0x8&0xff;_0x16f4f2[_0x77dd1f+_0x1312e6>>>0x2]|=_0x4e44b6<<0x18-(_0x77dd1f+_0x1312e6)%0x4*0x8;}else{for(var _0x1e3437=0x0;_0x1e3437<_0x53fc0a;_0x1e3437+=0x4)_0x16f4f2[_0x77dd1f+_0x1e3437>>>0x2]=_0xcc4360[_0x1e3437>>>0x2];}return this['sigBytes']+=_0x53fc0a,this;},'clamp':function(){var _0x16748e=_0x10839c,_0x397b9b=this[_0x16748e(0xac)],_0x5258ad=this[_0x16748e(0x1ed)];_0x397b9b[_0x5258ad>>>0x2]&=0xffffffff<<0x20-_0x5258ad%0x4*0x8,_0x397b9b['length']=_0x45b474['ceil'](_0x5258ad/0x4);},'clone':function(){var _0x5b0642=_0x10839c,_0x84c10c=_0x152c6e[_0x5b0642(0x30c)][_0x5b0642(0x208)](this);return _0x84c10c[_0x5b0642(0xac)]=this[_0x5b0642(0xac)][_0x5b0642(0x1f0)](0x0),_0x84c10c;},'random':function(_0x3e0238){var _0x3f7021=_0x10839c;for(var _0xd699b5=[],_0x2e8353=0x0;_0x2e8353<_0x3e0238;_0x2e8353+=0x4)_0xd699b5[_0x3f7021(0x1c3)](_0x334cb2());return new _0x43001a[(_0x3f7021(0x221))](_0xd699b5,_0x3e0238);}}),_0x91a464=_0x87b471['enc']={},_0x27b58f=_0x91a464[_0x10839c(0x1c9)]={'stringify':function(_0x553850){var _0x44fba5=_0x10839c;for(var _0x3e4987=_0x553850[_0x44fba5(0xac)],_0x5406bb=_0x553850[_0x44fba5(0x1ed)],_0x180f91=[],_0x2a5082=0x0;_0x2a5082<_0x5406bb;_0x2a5082++){var _0x4e38ca=_0x3e4987[_0x2a5082>>>0x2]>>>0x18-_0x2a5082%0x4*0x8&0xff;_0x180f91[_0x44fba5(0x1c3)]((_0x4e38ca>>>0x4)[_0x44fba5(0x1a5)](0x10)),_0x180f91[_0x44fba5(0x1c3)]((_0x4e38ca&0xf)[_0x44fba5(0x1a5)](0x10));}return _0x180f91['join']('');},'parse':function(_0x30492b){var _0x19f19f=_0x10839c;for(var _0x203066=_0x30492b['length'],_0x144d1e=[],_0x6c9437=0x0;_0x6c9437<_0x203066;_0x6c9437+=0x2)_0x144d1e[_0x6c9437>>>0x3]|=parseInt(_0x30492b[_0x19f19f(0x307)](_0x6c9437,0x2),0x10)<<0x18-_0x6c9437%0x8*0x4;return new _0x43001a[(_0x19f19f(0x221))](_0x144d1e,_0x203066/0x2);}},_0x5b3ab1=_0x91a464[_0x10839c(0x2f3)]={'stringify':function(_0x972e12){var _0x9cb07b=_0x10839c;for(var _0x1d910d=_0x972e12[_0x9cb07b(0xac)],_0x240019=_0x972e12[_0x9cb07b(0x1ed)],_0x363b00=[],_0x4902cf=0x0;_0x4902cf<_0x240019;_0x4902cf++){var _0x3dbc14=_0x1d910d[_0x4902cf>>>0x2]>>>0x18-_0x4902cf%0x4*0x8&0xff;_0x363b00[_0x9cb07b(0x1c3)](String[_0x9cb07b(0x1bb)](_0x3dbc14));}return _0x363b00[_0x9cb07b(0x2bf)]('');},'parse':function(_0x9add37){var _0x1c7b1d=_0x10839c;for(var _0x30e8df=_0x9add37[_0x1c7b1d(0x32b)],_0x1977f8=[],_0x54ec6f=0x0;_0x54ec6f<_0x30e8df;_0x54ec6f++)_0x1977f8[_0x54ec6f>>>0x2]|=(_0x9add37['charCodeAt'](_0x54ec6f)&0xff)<<0x18-_0x54ec6f%0x4*0x8;return new _0x43001a['init'](_0x1977f8,_0x30e8df);}},_0x2764ea=_0x91a464[_0x10839c(0x16b)]={'stringify':function(_0x96c8ad){var _0x1fc485=_0x10839c;try{return decodeURIComponent(escape(_0x5b3ab1[_0x1fc485(0x356)](_0x96c8ad)));}catch{throw new Error(_0x1fc485(0x381));}},'parse':function(_0x5ea2d2){var _0x34f385=_0x10839c;return _0x5b3ab1[_0x34f385(0x358)](unescape(encodeURIComponent(_0x5ea2d2)));}},_0x3365a0=_0x16d6f2[_0x10839c(0xea)]=_0x152c6e[_0x10839c(0x1fb)]({'reset':function(){var _0x237459=_0x10839c;this[_0x237459(0x1d7)]=new _0x43001a[(_0x237459(0x221))](),this[_0x237459(0x2d3)]=0x0;},'_append':function(_0x5eb2fb){var _0x2e14a4=_0x10839c;typeof _0x5eb2fb==_0x2e14a4(0x285)&&(_0x5eb2fb=_0x2764ea[_0x2e14a4(0x358)](_0x5eb2fb)),this['_data']['concat'](_0x5eb2fb),this[_0x2e14a4(0x2d3)]+=_0x5eb2fb[_0x2e14a4(0x1ed)];},'_process':function(_0x213f93){var _0x5a8353=_0x10839c,_0x4d0866,_0x1069a8=this[_0x5a8353(0x1d7)],_0x38587d=_0x1069a8[_0x5a8353(0xac)],_0x235275=_0x1069a8[_0x5a8353(0x1ed)],_0x3a7d96=this[_0x5a8353(0x139)],_0x2bbead=_0x3a7d96*0x4,_0x12e3e9=_0x235275/_0x2bbead;_0x213f93?_0x12e3e9=_0x45b474[_0x5a8353(0x2c3)](_0x12e3e9):_0x12e3e9=_0x45b474['max']((_0x12e3e9|0x0)-this[_0x5a8353(0xd7)],0x0);var _0x511923=_0x12e3e9*_0x3a7d96,_0x141ecf=_0x45b474[_0x5a8353(0x33c)](_0x511923*0x4,_0x235275);if(_0x511923){for(var _0x4aec57=0x0;_0x4aec57<_0x511923;_0x4aec57+=_0x3a7d96)this['_doProcessBlock'](_0x38587d,_0x4aec57);_0x4d0866=_0x38587d[_0x5a8353(0x318)](0x0,_0x511923),_0x1069a8[_0x5a8353(0x1ed)]-=_0x141ecf;}return new _0x43001a['init'](_0x4d0866,_0x141ecf);},'clone':function(){var _0x374d00=_0x10839c,_0x15cd78=_0x152c6e['clone'][_0x374d00(0x208)](this);return _0x15cd78[_0x374d00(0x1d7)]=this[_0x374d00(0x1d7)][_0x374d00(0x30c)](),_0x15cd78;},'_minBufferSize':0x0});_0x16d6f2[_0x10839c(0x1f2)]=_0x3365a0[_0x10839c(0x1fb)]({'cfg':_0x152c6e[_0x10839c(0x1fb)](),'init':function(_0x2c3bfa){var _0x2d1669=_0x10839c;this[_0x2d1669(0x35a)]=this[_0x2d1669(0x35a)]['extend'](_0x2c3bfa),this[_0x2d1669(0x162)]();},'reset':function(){var _0x363968=_0x10839c;_0x3365a0[_0x363968(0x162)][_0x363968(0x208)](this),this[_0x363968(0x34f)]();},'update':function(_0x5544dc){var _0x4d1daf=_0x10839c;return this[_0x4d1daf(0x149)](_0x5544dc),this[_0x4d1daf(0x2c8)](),this;},'finalize':function(_0x169a97){_0x169a97&&this['_append'](_0x169a97);var _0x45628a=this['_doFinalize']();return _0x45628a;},'blockSize':0x10,'_createHelper':function(_0x5494be){return function(_0x40f96a,_0xc69da6){var _0x42e023=_0x4c1a;return new _0x5494be[(_0x42e023(0x221))](_0xc69da6)[_0x42e023(0xc9)](_0x40f96a);};},'_createHmacHelper':function(_0x2351c8){return function(_0x448c23,_0x13ed8b){var _0x3d994f=_0x4c1a;return new _0x4deb61[(_0x3d994f(0x1aa))]['init'](_0x2351c8,_0x13ed8b)[_0x3d994f(0xc9)](_0x448c23);};}});var _0x4deb61=_0x87b471[_0x10839c(0x213)]={};return _0x87b471;}(Math);return _0x23fcef;}));}(Ge)),Ge[_0x275e38(0x1af)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){var _0x1f29e4=_0x3085eb;return zt||(zt=0x1,function(_0x234574,_0x29b049){(function(_0x289dcf,_0x2f3603){var _0x141f53=_0x4c1a;_0x234574[_0x141f53(0x1af)]=_0x2f3603(te());}(dn,function(_0x44b918){var _0x4382a0=_0x4c1a;return(function(){var _0x2da006=_0x4c1a,_0x161ddf=_0x44b918,_0x43c7f8=_0x161ddf[_0x2da006(0x279)],_0x2f3966=_0x43c7f8[_0x2da006(0x180)],_0x1fd4ba=_0x161ddf[_0x2da006(0x174)];_0x1fd4ba[_0x2da006(0x101)]={'stringify':function(_0x39f0a8){var _0x3095eb=_0x2da006,_0x52be88=_0x39f0a8[_0x3095eb(0xac)],_0x2b602e=_0x39f0a8[_0x3095eb(0x1ed)],_0x2eeb9e=this['_map'];_0x39f0a8[_0x3095eb(0x216)]();for(var _0x5effe7=[],_0x472512=0x0;_0x472512<_0x2b602e;_0x472512+=0x3)for(var _0x266552=_0x52be88[_0x472512>>>0x2]>>>0x18-_0x472512%0x4*0x8&0xff,_0x59b3ec=_0x52be88[_0x472512+0x1>>>0x2]>>>0x18-(_0x472512+0x1)%0x4*0x8&0xff,_0xc37132=_0x52be88[_0x472512+0x2>>>0x2]>>>0x18-(_0x472512+0x2)%0x4*0x8&0xff,_0x1f7106=_0x266552<<0x10|_0x59b3ec<<0x8|_0xc37132,_0x593e05=0x0;_0x593e05<0x4&&_0x472512+_0x593e05*0.75<_0x2b602e;_0x593e05++)_0x5effe7[_0x3095eb(0x1c3)](_0x2eeb9e[_0x3095eb(0x11e)](_0x1f7106>>>0x6*(0x3-_0x593e05)&0x3f));var _0x5b376e=_0x2eeb9e['charAt'](0x40);if(_0x5b376e){for(;_0x5effe7['length']%0x4;)_0x5effe7[_0x3095eb(0x1c3)](_0x5b376e);}return _0x5effe7[_0x3095eb(0x2bf)]('');},'parse':function(_0x5ab95e){var _0x25614d=_0x2da006,_0x2a3583=_0x5ab95e[_0x25614d(0x32b)],_0x4e2baf=this[_0x25614d(0x90)],_0x4dd24b=this[_0x25614d(0x109)];if(!_0x4dd24b){_0x4dd24b=this[_0x25614d(0x109)]=[];for(var _0x2ef21d=0x0;_0x2ef21d<_0x4e2baf['length'];_0x2ef21d++)_0x4dd24b[_0x4e2baf[_0x25614d(0x13c)](_0x2ef21d)]=_0x2ef21d;}var _0x30f26b=_0x4e2baf[_0x25614d(0x11e)](0x40);if(_0x30f26b){var _0x227f1c=_0x5ab95e[_0x25614d(0x1d3)](_0x30f26b);_0x227f1c!==-0x1&&(_0x2a3583=_0x227f1c);}return _0x245d87(_0x5ab95e,_0x2a3583,_0x4dd24b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x245d87(_0x58ce57,_0x2cac3a,_0x481636){var _0x2111bd=_0x2da006;for(var _0x2cf2b8=[],_0x1a4b93=0x0,_0x5da4fe=0x0;_0x5da4fe<_0x2cac3a;_0x5da4fe++)if(_0x5da4fe%0x4){var _0x36ea8c=_0x481636[_0x58ce57[_0x2111bd(0x13c)](_0x5da4fe-0x1)]<<_0x5da4fe%0x4*0x2,_0x188eed=_0x481636[_0x58ce57['charCodeAt'](_0x5da4fe)]>>>0x6-_0x5da4fe%0x4*0x2,_0x2307cd=_0x36ea8c|_0x188eed;_0x2cf2b8[_0x1a4b93>>>0x2]|=_0x2307cd<<0x18-_0x1a4b93%0x4*0x8,_0x1a4b93++;}return _0x2f3966['create'](_0x2cf2b8,_0x1a4b93);}}()),_0x44b918[_0x4382a0(0x174)]['Base64'];}));}(We)),We[_0x1f29e4(0x1af)];}var Ye={'exports':{}},fn=Ye[_0x3085eb(0x1af)],Jt;function vn(){var _0x3ff16c=_0x3085eb;return Jt||(Jt=0x1,function(_0x1863ac,_0x674774){(function(_0x385154,_0x5c7c08){var _0x1e39b1=_0x4c1a;_0x1863ac[_0x1e39b1(0x1af)]=_0x5c7c08(te());}(fn,function(_0x28f2c7){return function(_0x363ed1){var _0x41747c=_0x4c1a,_0x81add9=_0x28f2c7,_0x1e9089=_0x81add9[_0x41747c(0x279)],_0x45b9bc=_0x1e9089['WordArray'],_0x2c79c0=_0x1e9089['Hasher'],_0x51ec13=_0x81add9[_0x41747c(0x213)],_0xa0a697=[];(function(){var _0xcc9c=_0x41747c;for(var _0x431fb5=0x0;_0x431fb5<0x40;_0x431fb5++)_0xa0a697[_0x431fb5]=_0x363ed1[_0xcc9c(0x203)](_0x363ed1[_0xcc9c(0x1db)](_0x431fb5+0x1))*0x100000000|0x0;}());var _0xd5a84=_0x51ec13[_0x41747c(0x195)]=_0x2c79c0[_0x41747c(0x1fb)]({'_doReset':function(){var _0x1bfd94=_0x41747c;this[_0x1bfd94(0x129)]=new _0x45b9bc[(_0x1bfd94(0x221))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x491911,_0xdc6967){var _0x30c75c=_0x41747c;for(var _0xe8346=0x0;_0xe8346<0x10;_0xe8346++){var _0x5055aa=_0xdc6967+_0xe8346,_0x358e2a=_0x491911[_0x5055aa];_0x491911[_0x5055aa]=(_0x358e2a<<0x8|_0x358e2a>>>0x18)&0xff00ff|(_0x358e2a<<0x18|_0x358e2a>>>0x8)&0xff00ff00;}var _0x529747=this[_0x30c75c(0x129)]['words'],_0x3ea026=_0x491911[_0xdc6967+0x0],_0x585028=_0x491911[_0xdc6967+0x1],_0x329a3d=_0x491911[_0xdc6967+0x2],_0x33b3bf=_0x491911[_0xdc6967+0x3],_0x4093df=_0x491911[_0xdc6967+0x4],_0x209ce9=_0x491911[_0xdc6967+0x5],_0x350e1d=_0x491911[_0xdc6967+0x6],_0x6cecfb=_0x491911[_0xdc6967+0x7],_0x535868=_0x491911[_0xdc6967+0x8],_0x258464=_0x491911[_0xdc6967+0x9],_0x523cab=_0x491911[_0xdc6967+0xa],_0x42ac99=_0x491911[_0xdc6967+0xb],_0x2dd6f8=_0x491911[_0xdc6967+0xc],_0x380bbf=_0x491911[_0xdc6967+0xd],_0x115587=_0x491911[_0xdc6967+0xe],_0x4fa6da=_0x491911[_0xdc6967+0xf],_0xbd1bdf=_0x529747[0x0],_0xf25042=_0x529747[0x1],_0x34e9a8=_0x529747[0x2],_0x233f76=_0x529747[0x3];_0xbd1bdf=_0x1cd328(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x3ea026,0x7,_0xa0a697[0x0]),_0x233f76=_0x1cd328(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x585028,0xc,_0xa0a697[0x1]),_0x34e9a8=_0x1cd328(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x329a3d,0x11,_0xa0a697[0x2]),_0xf25042=_0x1cd328(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x33b3bf,0x16,_0xa0a697[0x3]),_0xbd1bdf=_0x1cd328(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x4093df,0x7,_0xa0a697[0x4]),_0x233f76=_0x1cd328(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x209ce9,0xc,_0xa0a697[0x5]),_0x34e9a8=_0x1cd328(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x350e1d,0x11,_0xa0a697[0x6]),_0xf25042=_0x1cd328(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x6cecfb,0x16,_0xa0a697[0x7]),_0xbd1bdf=_0x1cd328(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x535868,0x7,_0xa0a697[0x8]),_0x233f76=_0x1cd328(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x258464,0xc,_0xa0a697[0x9]),_0x34e9a8=_0x1cd328(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x523cab,0x11,_0xa0a697[0xa]),_0xf25042=_0x1cd328(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x42ac99,0x16,_0xa0a697[0xb]),_0xbd1bdf=_0x1cd328(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x2dd6f8,0x7,_0xa0a697[0xc]),_0x233f76=_0x1cd328(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x380bbf,0xc,_0xa0a697[0xd]),_0x34e9a8=_0x1cd328(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x115587,0x11,_0xa0a697[0xe]),_0xf25042=_0x1cd328(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x4fa6da,0x16,_0xa0a697[0xf]),_0xbd1bdf=_0xbe0173(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x585028,0x5,_0xa0a697[0x10]),_0x233f76=_0xbe0173(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x350e1d,0x9,_0xa0a697[0x11]),_0x34e9a8=_0xbe0173(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x42ac99,0xe,_0xa0a697[0x12]),_0xf25042=_0xbe0173(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x3ea026,0x14,_0xa0a697[0x13]),_0xbd1bdf=_0xbe0173(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x209ce9,0x5,_0xa0a697[0x14]),_0x233f76=_0xbe0173(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x523cab,0x9,_0xa0a697[0x15]),_0x34e9a8=_0xbe0173(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x4fa6da,0xe,_0xa0a697[0x16]),_0xf25042=_0xbe0173(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x4093df,0x14,_0xa0a697[0x17]),_0xbd1bdf=_0xbe0173(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x258464,0x5,_0xa0a697[0x18]),_0x233f76=_0xbe0173(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x115587,0x9,_0xa0a697[0x19]),_0x34e9a8=_0xbe0173(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x33b3bf,0xe,_0xa0a697[0x1a]),_0xf25042=_0xbe0173(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x535868,0x14,_0xa0a697[0x1b]),_0xbd1bdf=_0xbe0173(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x380bbf,0x5,_0xa0a697[0x1c]),_0x233f76=_0xbe0173(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x329a3d,0x9,_0xa0a697[0x1d]),_0x34e9a8=_0xbe0173(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x6cecfb,0xe,_0xa0a697[0x1e]),_0xf25042=_0xbe0173(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x2dd6f8,0x14,_0xa0a697[0x1f]),_0xbd1bdf=_0x56f5e1(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x209ce9,0x4,_0xa0a697[0x20]),_0x233f76=_0x56f5e1(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x535868,0xb,_0xa0a697[0x21]),_0x34e9a8=_0x56f5e1(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x42ac99,0x10,_0xa0a697[0x22]),_0xf25042=_0x56f5e1(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x115587,0x17,_0xa0a697[0x23]),_0xbd1bdf=_0x56f5e1(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x585028,0x4,_0xa0a697[0x24]),_0x233f76=_0x56f5e1(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x4093df,0xb,_0xa0a697[0x25]),_0x34e9a8=_0x56f5e1(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x6cecfb,0x10,_0xa0a697[0x26]),_0xf25042=_0x56f5e1(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x523cab,0x17,_0xa0a697[0x27]),_0xbd1bdf=_0x56f5e1(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x380bbf,0x4,_0xa0a697[0x28]),_0x233f76=_0x56f5e1(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x3ea026,0xb,_0xa0a697[0x29]),_0x34e9a8=_0x56f5e1(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x33b3bf,0x10,_0xa0a697[0x2a]),_0xf25042=_0x56f5e1(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x350e1d,0x17,_0xa0a697[0x2b]),_0xbd1bdf=_0x56f5e1(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x258464,0x4,_0xa0a697[0x2c]),_0x233f76=_0x56f5e1(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x2dd6f8,0xb,_0xa0a697[0x2d]),_0x34e9a8=_0x56f5e1(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x4fa6da,0x10,_0xa0a697[0x2e]),_0xf25042=_0x56f5e1(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x329a3d,0x17,_0xa0a697[0x2f]),_0xbd1bdf=_0x3e344f(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x3ea026,0x6,_0xa0a697[0x30]),_0x233f76=_0x3e344f(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x6cecfb,0xa,_0xa0a697[0x31]),_0x34e9a8=_0x3e344f(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x115587,0xf,_0xa0a697[0x32]),_0xf25042=_0x3e344f(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x209ce9,0x15,_0xa0a697[0x33]),_0xbd1bdf=_0x3e344f(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x2dd6f8,0x6,_0xa0a697[0x34]),_0x233f76=_0x3e344f(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x33b3bf,0xa,_0xa0a697[0x35]),_0x34e9a8=_0x3e344f(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x523cab,0xf,_0xa0a697[0x36]),_0xf25042=_0x3e344f(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x585028,0x15,_0xa0a697[0x37]),_0xbd1bdf=_0x3e344f(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x535868,0x6,_0xa0a697[0x38]),_0x233f76=_0x3e344f(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x4fa6da,0xa,_0xa0a697[0x39]),_0x34e9a8=_0x3e344f(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x350e1d,0xf,_0xa0a697[0x3a]),_0xf25042=_0x3e344f(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x380bbf,0x15,_0xa0a697[0x3b]),_0xbd1bdf=_0x3e344f(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x4093df,0x6,_0xa0a697[0x3c]),_0x233f76=_0x3e344f(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x42ac99,0xa,_0xa0a697[0x3d]),_0x34e9a8=_0x3e344f(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x329a3d,0xf,_0xa0a697[0x3e]),_0xf25042=_0x3e344f(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x258464,0x15,_0xa0a697[0x3f]),_0x529747[0x0]=_0x529747[0x0]+_0xbd1bdf|0x0,_0x529747[0x1]=_0x529747[0x1]+_0xf25042|0x0,_0x529747[0x2]=_0x529747[0x2]+_0x34e9a8|0x0,_0x529747[0x3]=_0x529747[0x3]+_0x233f76|0x0;},'_doFinalize':function(){var _0x3df321=_0x41747c,_0x516ead=this[_0x3df321(0x1d7)],_0x5a113a=_0x516ead['words'],_0x1bbb80=this['_nDataBytes']*0x8,_0x4a8eb2=_0x516ead[_0x3df321(0x1ed)]*0x8;_0x5a113a[_0x4a8eb2>>>0x5]|=0x80<<0x18-_0x4a8eb2%0x20;var _0x18486a=_0x363ed1[_0x3df321(0xab)](_0x1bbb80/0x100000000),_0x45a426=_0x1bbb80;_0x5a113a[(_0x4a8eb2+0x40>>>0x9<<0x4)+0xf]=(_0x18486a<<0x8|_0x18486a>>>0x18)&0xff00ff|(_0x18486a<<0x18|_0x18486a>>>0x8)&0xff00ff00,_0x5a113a[(_0x4a8eb2+0x40>>>0x9<<0x4)+0xe]=(_0x45a426<<0x8|_0x45a426>>>0x18)&0xff00ff|(_0x45a426<<0x18|_0x45a426>>>0x8)&0xff00ff00,_0x516ead[_0x3df321(0x1ed)]=(_0x5a113a['length']+0x1)*0x4,this[_0x3df321(0x2c8)]();for(var _0x2a6659=this[_0x3df321(0x129)],_0x518db8=_0x2a6659[_0x3df321(0xac)],_0x42f4f7=0x0;_0x42f4f7<0x4;_0x42f4f7++){var _0x587205=_0x518db8[_0x42f4f7];_0x518db8[_0x42f4f7]=(_0x587205<<0x8|_0x587205>>>0x18)&0xff00ff|(_0x587205<<0x18|_0x587205>>>0x8)&0xff00ff00;}return _0x2a6659;},'clone':function(){var _0x42a40a=_0x41747c,_0x48e9a9=_0x2c79c0[_0x42a40a(0x30c)]['call'](this);return _0x48e9a9[_0x42a40a(0x129)]=this[_0x42a40a(0x129)]['clone'](),_0x48e9a9;}});function _0x1cd328(_0x18963d,_0x4bf10d,_0x4685ff,_0x5a6476,_0x5d1400,_0x14c10a,_0x554417){var _0x2762c3=_0x18963d+(_0x4bf10d&_0x4685ff|~_0x4bf10d&_0x5a6476)+_0x5d1400+_0x554417;return(_0x2762c3<<_0x14c10a|_0x2762c3>>>0x20-_0x14c10a)+_0x4bf10d;}function _0xbe0173(_0x49f932,_0x39106e,_0x228dad,_0x9b97db,_0x527b10,_0x486bbf,_0x3a7f98){var _0x5e5d0f=_0x49f932+(_0x39106e&_0x9b97db|_0x228dad&~_0x9b97db)+_0x527b10+_0x3a7f98;return(_0x5e5d0f<<_0x486bbf|_0x5e5d0f>>>0x20-_0x486bbf)+_0x39106e;}function _0x56f5e1(_0x64e478,_0x3bc63a,_0x2683ee,_0x24fc96,_0x2c9d54,_0x1c12bd,_0x2934d2){var _0x168d64=_0x64e478+(_0x3bc63a^_0x2683ee^_0x24fc96)+_0x2c9d54+_0x2934d2;return(_0x168d64<<_0x1c12bd|_0x168d64>>>0x20-_0x1c12bd)+_0x3bc63a;}function _0x3e344f(_0x424352,_0x1cde27,_0x32932f,_0x4228b6,_0x31fa88,_0x3b7a67,_0x42c092){var _0x1c3d7d=_0x424352+(_0x32932f^(_0x1cde27|~_0x4228b6))+_0x31fa88+_0x42c092;return(_0x1c3d7d<<_0x3b7a67|_0x1c3d7d>>>0x20-_0x3b7a67)+_0x1cde27;}_0x81add9['MD5']=_0x2c79c0['_createHelper'](_0xd5a84),_0x81add9[_0x41747c(0x370)]=_0x2c79c0[_0x41747c(0xf6)](_0xd5a84);}(Math),_0x28f2c7['MD5'];}));}(Ye)),Ye[_0x3ff16c(0x1af)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe['exports'],Xt;function mn(){return Xt||(Xt=0x1,function(_0x2ba417,_0x5b4dc9){(function(_0x41f565,_0x1cec97){var _0x4348df=_0x4c1a;_0x2ba417[_0x4348df(0x1af)]=_0x1cec97(te());}(pn,function(_0x5589b6){return(function(){var _0xfea7fa=_0x4c1a,_0x4a4006=_0x5589b6,_0x931151=_0x4a4006['lib'],_0x119207=_0x931151['WordArray'],_0x5be009=_0x931151[_0xfea7fa(0x1f2)],_0x1ade54=_0x4a4006[_0xfea7fa(0x213)],_0x1c964c=[],_0x4a2c69=_0x1ade54['SHA1']=_0x5be009[_0xfea7fa(0x1fb)]({'_doReset':function(){var _0x3fb42b=_0xfea7fa;this[_0x3fb42b(0x129)]=new _0x119207['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3f5a14,_0x1b7675){var _0x1271af=_0xfea7fa;for(var _0x586e46=this[_0x1271af(0x129)][_0x1271af(0xac)],_0x4b01c0=_0x586e46[0x0],_0x4e7c70=_0x586e46[0x1],_0xd21103=_0x586e46[0x2],_0x357aab=_0x586e46[0x3],_0x3c5695=_0x586e46[0x4],_0x579591=0x0;_0x579591<0x50;_0x579591++){if(_0x579591<0x10)_0x1c964c[_0x579591]=_0x3f5a14[_0x1b7675+_0x579591]|0x0;else{var _0x154f96=_0x1c964c[_0x579591-0x3]^_0x1c964c[_0x579591-0x8]^_0x1c964c[_0x579591-0xe]^_0x1c964c[_0x579591-0x10];_0x1c964c[_0x579591]=_0x154f96<<0x1|_0x154f96>>>0x1f;}var _0x21dea0=(_0x4b01c0<<0x5|_0x4b01c0>>>0x1b)+_0x3c5695+_0x1c964c[_0x579591];_0x579591<0x14?_0x21dea0+=(_0x4e7c70&_0xd21103|~_0x4e7c70&_0x357aab)+0x5a827999:_0x579591<0x28?_0x21dea0+=(_0x4e7c70^_0xd21103^_0x357aab)+0x6ed9eba1:_0x579591<0x3c?_0x21dea0+=(_0x4e7c70&_0xd21103|_0x4e7c70&_0x357aab|_0xd21103&_0x357aab)-0x70e44324:_0x21dea0+=(_0x4e7c70^_0xd21103^_0x357aab)-0x359d3e2a,_0x3c5695=_0x357aab,_0x357aab=_0xd21103,_0xd21103=_0x4e7c70<<0x1e|_0x4e7c70>>>0x2,_0x4e7c70=_0x4b01c0,_0x4b01c0=_0x21dea0;}_0x586e46[0x0]=_0x586e46[0x0]+_0x4b01c0|0x0,_0x586e46[0x1]=_0x586e46[0x1]+_0x4e7c70|0x0,_0x586e46[0x2]=_0x586e46[0x2]+_0xd21103|0x0,_0x586e46[0x3]=_0x586e46[0x3]+_0x357aab|0x0,_0x586e46[0x4]=_0x586e46[0x4]+_0x3c5695|0x0;},'_doFinalize':function(){var _0x3eabcf=_0xfea7fa,_0x2d8fd9=this['_data'],_0x2f7dfb=_0x2d8fd9[_0x3eabcf(0xac)],_0x4b462e=this[_0x3eabcf(0x2d3)]*0x8,_0x30c6bb=_0x2d8fd9[_0x3eabcf(0x1ed)]*0x8;return _0x2f7dfb[_0x30c6bb>>>0x5]|=0x80<<0x18-_0x30c6bb%0x20,_0x2f7dfb[(_0x30c6bb+0x40>>>0x9<<0x4)+0xe]=Math[_0x3eabcf(0xab)](_0x4b462e/0x100000000),_0x2f7dfb[(_0x30c6bb+0x40>>>0x9<<0x4)+0xf]=_0x4b462e,_0x2d8fd9[_0x3eabcf(0x1ed)]=_0x2f7dfb[_0x3eabcf(0x32b)]*0x4,this[_0x3eabcf(0x2c8)](),this[_0x3eabcf(0x129)];},'clone':function(){var _0x56119d=_0xfea7fa,_0x4709c0=_0x5be009[_0x56119d(0x30c)][_0x56119d(0x208)](this);return _0x4709c0[_0x56119d(0x129)]=this[_0x56119d(0x129)][_0x56119d(0x30c)](),_0x4709c0;}});_0x4a4006[_0xfea7fa(0x331)]=_0x5be009[_0xfea7fa(0x383)](_0x4a2c69),_0x4a4006[_0xfea7fa(0x198)]=_0x5be009['_createHmacHelper'](_0x4a2c69);}()),_0x5589b6['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){return Zt||(Zt=0x1,function(_0x4ef059,_0xc56df){(function(_0x32cb83,_0x3da7f1){var _0x23bb00=_0x4c1a;_0x4ef059[_0x23bb00(0x1af)]=_0x3da7f1(te());}(gn,function(_0xbe4c19){(function(){var _0x2c55c2=_0x4c1a,_0xa27412=_0xbe4c19,_0x576e87=_0xa27412[_0x2c55c2(0x279)],_0x29e965=_0x576e87[_0x2c55c2(0x1cd)],_0x22ac64=_0xa27412[_0x2c55c2(0x174)],_0x2bdee9=_0x22ac64[_0x2c55c2(0x16b)],_0x365e15=_0xa27412['algo'];_0x365e15[_0x2c55c2(0x1aa)]=_0x29e965[_0x2c55c2(0x1fb)]({'init':function(_0x18d2f2,_0x4bbf0e){var _0x19c445=_0x2c55c2;_0x18d2f2=this[_0x19c445(0x1a9)]=new _0x18d2f2[(_0x19c445(0x221))](),typeof _0x4bbf0e==_0x19c445(0x285)&&(_0x4bbf0e=_0x2bdee9[_0x19c445(0x358)](_0x4bbf0e));var _0x27e924=_0x18d2f2[_0x19c445(0x139)],_0x4e7dfe=_0x27e924*0x4;_0x4bbf0e['sigBytes']>_0x4e7dfe&&(_0x4bbf0e=_0x18d2f2['finalize'](_0x4bbf0e)),_0x4bbf0e[_0x19c445(0x216)]();for(var _0x52e4d7=this[_0x19c445(0x16d)]=_0x4bbf0e[_0x19c445(0x30c)](),_0x178233=this[_0x19c445(0x294)]=_0x4bbf0e[_0x19c445(0x30c)](),_0x525439=_0x52e4d7['words'],_0x5f1f33=_0x178233[_0x19c445(0xac)],_0x544b4f=0x0;_0x544b4f<_0x27e924;_0x544b4f++)_0x525439[_0x544b4f]^=0x5c5c5c5c,_0x5f1f33[_0x544b4f]^=0x36363636;_0x52e4d7['sigBytes']=_0x178233['sigBytes']=_0x4e7dfe,this['reset']();},'reset':function(){var _0x7294e7=_0x2c55c2,_0x28175a=this[_0x7294e7(0x1a9)];_0x28175a[_0x7294e7(0x162)](),_0x28175a[_0x7294e7(0x7f)](this[_0x7294e7(0x294)]);},'update':function(_0x1d0447){var _0x2849a5=_0x2c55c2;return this['_hasher'][_0x2849a5(0x7f)](_0x1d0447),this;},'finalize':function(_0x3cc3fb){var _0x3a89fc=_0x2c55c2,_0x430746=this['_hasher'],_0x18912d=_0x430746[_0x3a89fc(0xc9)](_0x3cc3fb);_0x430746[_0x3a89fc(0x162)]();var _0x41b487=_0x430746[_0x3a89fc(0xc9)](this[_0x3a89fc(0x16d)][_0x3a89fc(0x30c)]()[_0x3a89fc(0x320)](_0x18912d));return _0x41b487;}});}());}));}(ze)),ze['exports'];}var En=Ke[_0x3085eb(0x1af)],Qt;function yi(){return Qt||(Qt=0x1,function(_0x4901bd,_0x461bfb){(function(_0x13eab8,_0x3cdfb1,_0x511cca){var _0x197d36=_0x4c1a;_0x4901bd[_0x197d36(0x1af)]=_0x3cdfb1(te(),mn(),Sn());}(En,function(_0x3fe470){var _0x46e982=_0x4c1a;return(function(){var _0x61cb43=_0x4c1a,_0x1e920d=_0x3fe470,_0x37bacf=_0x1e920d[_0x61cb43(0x279)],_0x2c343c=_0x37bacf[_0x61cb43(0x1cd)],_0x1822a0=_0x37bacf[_0x61cb43(0x180)],_0x48166f=_0x1e920d['algo'],_0x534855=_0x48166f['MD5'],_0x4c0bc3=_0x48166f['EvpKDF']=_0x2c343c[_0x61cb43(0x1fb)]({'cfg':_0x2c343c['extend']({'keySize':0x80/0x20,'hasher':_0x534855,'iterations':0x1}),'init':function(_0x48d56c){var _0x241bce=_0x61cb43;this['cfg']=this['cfg'][_0x241bce(0x1fb)](_0x48d56c);},'compute':function(_0x3334f4,_0x2bd843){var _0x2cdbb1=_0x61cb43;for(var _0x446c2d,_0x42b21a=this[_0x2cdbb1(0x35a)],_0x3f7b15=_0x42b21a[_0x2cdbb1(0x147)][_0x2cdbb1(0x205)](),_0x173d79=_0x1822a0[_0x2cdbb1(0x205)](),_0x4bab11=_0x173d79[_0x2cdbb1(0xac)],_0x294e92=_0x42b21a[_0x2cdbb1(0x2cf)],_0x58736d=_0x42b21a[_0x2cdbb1(0x257)];_0x4bab11['length']<_0x294e92;){_0x446c2d&&_0x3f7b15[_0x2cdbb1(0x7f)](_0x446c2d),_0x446c2d=_0x3f7b15[_0x2cdbb1(0x7f)](_0x3334f4)[_0x2cdbb1(0xc9)](_0x2bd843),_0x3f7b15[_0x2cdbb1(0x162)]();for(var _0x43dd9a=0x1;_0x43dd9a<_0x58736d;_0x43dd9a++)_0x446c2d=_0x3f7b15[_0x2cdbb1(0xc9)](_0x446c2d),_0x3f7b15[_0x2cdbb1(0x162)]();_0x173d79['concat'](_0x446c2d);}return _0x173d79[_0x2cdbb1(0x1ed)]=_0x294e92*0x4,_0x173d79;}});_0x1e920d[_0x61cb43(0x354)]=function(_0x56cce6,_0x20c4e2,_0x14ba95){var _0x842cbf=_0x61cb43;return _0x4c0bc3['create'](_0x14ba95)[_0x842cbf(0x114)](_0x56cce6,_0x20c4e2);};}()),_0x3fe470[_0x46e982(0x354)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},In=Je['exports'],ei;function Ni(){return ei||(ei=0x1,function(_0x38e577,_0x172107){(function(_0x42ade9,_0x10d386,_0x5f5c7a){_0x38e577['exports']=_0x10d386(te(),yi());}(In,function(_0x2e798c){var _0x24cdbf=_0x4c1a;_0x2e798c[_0x24cdbf(0x279)][_0x24cdbf(0x246)]||function(_0x209da7){var _0x15b10f=_0x24cdbf,_0x491188=_0x2e798c,_0x2a1ecd=_0x491188[_0x15b10f(0x279)],_0x48c234=_0x2a1ecd['Base'],_0x137fe3=_0x2a1ecd[_0x15b10f(0x180)],_0xa788fd=_0x2a1ecd[_0x15b10f(0xea)],_0x3c5e1c=_0x491188[_0x15b10f(0x174)];_0x3c5e1c['Utf8'];var _0x687daa=_0x3c5e1c['Base64'],_0x52f93a=_0x491188[_0x15b10f(0x213)],_0x5cd099=_0x52f93a['EvpKDF'],_0x1fc650=_0x2a1ecd['Cipher']=_0xa788fd[_0x15b10f(0x1fb)]({'cfg':_0x48c234['extend'](),'createEncryptor':function(_0x2654cb,_0x653ef6){var _0x4bde27=_0x15b10f;return this[_0x4bde27(0x205)](this[_0x4bde27(0x1c6)],_0x2654cb,_0x653ef6);},'createDecryptor':function(_0x3b2fdf,_0x2bd706){var _0x3111d7=_0x15b10f;return this[_0x3111d7(0x205)](this[_0x3111d7(0x8f)],_0x3b2fdf,_0x2bd706);},'init':function(_0x4ca914,_0x4f17ff,_0x41d5de){var _0x48e332=_0x15b10f;this[_0x48e332(0x35a)]=this[_0x48e332(0x35a)]['extend'](_0x41d5de),this[_0x48e332(0x223)]=_0x4ca914,this['_key']=_0x4f17ff,this['reset']();},'reset':function(){var _0x14d7e9=_0x15b10f;_0xa788fd[_0x14d7e9(0x162)]['call'](this),this['_doReset']();},'process':function(_0x76d4ca){var _0x22904d=_0x15b10f;return this[_0x22904d(0x149)](_0x76d4ca),this[_0x22904d(0x2c8)]();},'finalize':function(_0x1095bb){var _0x28f562=_0x15b10f;_0x1095bb&&this['_append'](_0x1095bb);var _0x3de361=this[_0x28f562(0xb1)]();return _0x3de361;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xb5afe2(_0x3f74e6){var _0x2c10b1=_0x4c1a;return typeof _0x3f74e6==_0x2c10b1(0x285)?_0xad35c4:_0x279db0;}return function(_0x3ccd4a){return{'encrypt':function(_0x41b771,_0x31b951,_0xd7f8dc){var _0x574478=_0x4c1a;return _0xb5afe2(_0x31b951)[_0x574478(0x17e)](_0x3ccd4a,_0x41b771,_0x31b951,_0xd7f8dc);},'decrypt':function(_0x28a5b8,_0x44d993,_0x58c3fd){var _0x5dcab5=_0x4c1a;return _0xb5afe2(_0x44d993)[_0x5dcab5(0x359)](_0x3ccd4a,_0x28a5b8,_0x44d993,_0x58c3fd);}};};}())});_0x2a1ecd[_0x15b10f(0xe0)]=_0x1fc650[_0x15b10f(0x1fb)]({'_doFinalize':function(){var _0x1fd82a=_0x15b10f,_0x138527=this[_0x1fd82a(0x2c8)](!0x0);return _0x138527;},'blockSize':0x1});var _0x1e0137=_0x491188[_0x15b10f(0x100)]={},_0xf6456c=_0x2a1ecd[_0x15b10f(0x165)]=_0x48c234['extend']({'createEncryptor':function(_0x571d72,_0x1f621c){var _0x143c3a=_0x15b10f;return this[_0x143c3a(0x306)][_0x143c3a(0x205)](_0x571d72,_0x1f621c);},'createDecryptor':function(_0x564add,_0x55e5a4){var _0x42c610=_0x15b10f;return this[_0x42c610(0x196)][_0x42c610(0x205)](_0x564add,_0x55e5a4);},'init':function(_0x5c8533,_0x3d469e){var _0x36c9a0=_0x15b10f;this[_0x36c9a0(0x2ff)]=_0x5c8533,this[_0x36c9a0(0x2ee)]=_0x3d469e;}}),_0x5ac446=_0x1e0137['CBC']=(function(){var _0x4d1bdc=_0x15b10f,_0x414f45=_0xf6456c[_0x4d1bdc(0x1fb)]();_0x414f45[_0x4d1bdc(0x306)]=_0x414f45[_0x4d1bdc(0x1fb)]({'processBlock':function(_0x578fd0,_0x128d5c){var _0x5bda0f=_0x4d1bdc,_0x15a59e=this[_0x5bda0f(0x2ff)],_0x3afe8d=_0x15a59e[_0x5bda0f(0x139)];_0x49a837[_0x5bda0f(0x208)](this,_0x578fd0,_0x128d5c,_0x3afe8d),_0x15a59e[_0x5bda0f(0xfe)](_0x578fd0,_0x128d5c),this[_0x5bda0f(0x18f)]=_0x578fd0[_0x5bda0f(0x1f0)](_0x128d5c,_0x128d5c+_0x3afe8d);}}),_0x414f45[_0x4d1bdc(0x196)]=_0x414f45['extend']({'processBlock':function(_0x1de947,_0x1fad43){var _0x5e51a5=_0x4d1bdc,_0x5ceb29=this[_0x5e51a5(0x2ff)],_0x25b55e=_0x5ceb29[_0x5e51a5(0x139)],_0x400c65=_0x1de947[_0x5e51a5(0x1f0)](_0x1fad43,_0x1fad43+_0x25b55e);_0x5ceb29[_0x5e51a5(0x2d8)](_0x1de947,_0x1fad43),_0x49a837[_0x5e51a5(0x208)](this,_0x1de947,_0x1fad43,_0x25b55e),this[_0x5e51a5(0x18f)]=_0x400c65;}});function _0x49a837(_0xd0b961,_0x1af27f,_0x58e170){var _0x37aa60=_0x4d1bdc,_0x582269,_0x3e0793=this[_0x37aa60(0x2ee)];_0x3e0793?(_0x582269=_0x3e0793,this[_0x37aa60(0x2ee)]=_0x209da7):_0x582269=this[_0x37aa60(0x18f)];for(var _0x53bc87=0x0;_0x53bc87<_0x58e170;_0x53bc87++)_0xd0b961[_0x1af27f+_0x53bc87]^=_0x582269[_0x53bc87];}return _0x414f45;}()),_0x113d4d=_0x491188[_0x15b10f(0x360)]={},_0x3fb155=_0x113d4d[_0x15b10f(0x2e9)]={'pad':function(_0x500413,_0x4b88ab){var _0x157d61=_0x15b10f;for(var _0x2c714a=_0x4b88ab*0x4,_0x8588ce=_0x2c714a-_0x500413['sigBytes']%_0x2c714a,_0x23a3ae=_0x8588ce<<0x18|_0x8588ce<<0x10|_0x8588ce<<0x8|_0x8588ce,_0x39ac15=[],_0x55f341=0x0;_0x55f341<_0x8588ce;_0x55f341+=0x4)_0x39ac15[_0x157d61(0x1c3)](_0x23a3ae);var _0x94f4c6=_0x137fe3[_0x157d61(0x205)](_0x39ac15,_0x8588ce);_0x500413[_0x157d61(0x320)](_0x94f4c6);},'unpad':function(_0x4c7335){var _0x5ce88d=_0x15b10f,_0x45d228=_0x4c7335[_0x5ce88d(0xac)][_0x4c7335[_0x5ce88d(0x1ed)]-0x1>>>0x2]&0xff;_0x4c7335[_0x5ce88d(0x1ed)]-=_0x45d228;}};_0x2a1ecd['BlockCipher']=_0x1fc650['extend']({'cfg':_0x1fc650[_0x15b10f(0x35a)]['extend']({'mode':_0x5ac446,'padding':_0x3fb155}),'reset':function(){var _0x289254=_0x15b10f,_0x5d98e0;_0x1fc650['reset'][_0x289254(0x208)](this);var _0x10f9e0=this[_0x289254(0x35a)],_0x4858bc=_0x10f9e0['iv'],_0x6db5c0=_0x10f9e0['mode'];this[_0x289254(0x223)]==this['_ENC_XFORM_MODE']?_0x5d98e0=_0x6db5c0['createEncryptor']:(_0x5d98e0=_0x6db5c0['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x289254(0xa8)]==_0x5d98e0?this[_0x289254(0x132)]['init'](this,_0x4858bc&&_0x4858bc[_0x289254(0xac)]):(this[_0x289254(0x132)]=_0x5d98e0[_0x289254(0x208)](_0x6db5c0,this,_0x4858bc&&_0x4858bc[_0x289254(0xac)]),this[_0x289254(0x132)][_0x289254(0xa8)]=_0x5d98e0);},'_doProcessBlock':function(_0x4ab225,_0x4e9347){var _0x4c5540=_0x15b10f;this['_mode'][_0x4c5540(0x337)](_0x4ab225,_0x4e9347);},'_doFinalize':function(){var _0x28deb5=_0x15b10f,_0x4ec76b,_0x524e04=this[_0x28deb5(0x35a)][_0x28deb5(0x27b)];return this[_0x28deb5(0x223)]==this[_0x28deb5(0x1c6)]?(_0x524e04[_0x28deb5(0x360)](this[_0x28deb5(0x1d7)],this[_0x28deb5(0x139)]),_0x4ec76b=this[_0x28deb5(0x2c8)](!0x0)):(_0x4ec76b=this[_0x28deb5(0x2c8)](!0x0),_0x524e04['unpad'](_0x4ec76b)),_0x4ec76b;},'blockSize':0x80/0x20});var _0x35bc10=_0x2a1ecd[_0x15b10f(0x261)]=_0x48c234[_0x15b10f(0x1fb)]({'init':function(_0x1054b1){var _0x606a49=_0x15b10f;this[_0x606a49(0x108)](_0x1054b1);},'toString':function(_0x2493dc){var _0x424e5f=_0x15b10f;return(_0x2493dc||this['formatter'])[_0x424e5f(0x356)](this);}}),_0x1c3f95=_0x491188[_0x15b10f(0xc4)]={},_0x5619b6=_0x1c3f95[_0x15b10f(0x234)]={'stringify':function(_0x1db388){var _0x27ff3b=_0x15b10f,_0x53b06d,_0x210c43=_0x1db388[_0x27ff3b(0x9c)],_0x5af06f=_0x1db388[_0x27ff3b(0x177)];return _0x5af06f?_0x53b06d=_0x137fe3[_0x27ff3b(0x205)]([0x53616c74,0x65645f5f])[_0x27ff3b(0x320)](_0x5af06f)['concat'](_0x210c43):_0x53b06d=_0x210c43,_0x53b06d['toString'](_0x687daa);},'parse':function(_0x7a12cb){var _0x1ba13e=_0x15b10f,_0x43774d,_0x133116=_0x687daa[_0x1ba13e(0x358)](_0x7a12cb),_0x2021f4=_0x133116[_0x1ba13e(0xac)];return _0x2021f4[0x0]==0x53616c74&&_0x2021f4[0x1]==0x65645f5f&&(_0x43774d=_0x137fe3['create'](_0x2021f4[_0x1ba13e(0x1f0)](0x2,0x4)),_0x2021f4['splice'](0x0,0x4),_0x133116[_0x1ba13e(0x1ed)]-=0x10),_0x35bc10['create']({'ciphertext':_0x133116,'salt':_0x43774d});}},_0x279db0=_0x2a1ecd[_0x15b10f(0x82)]=_0x48c234[_0x15b10f(0x1fb)]({'cfg':_0x48c234[_0x15b10f(0x1fb)]({'format':_0x5619b6}),'encrypt':function(_0x48a521,_0x786670,_0x5274c6,_0x506769){var _0x2aed57=_0x15b10f;_0x506769=this[_0x2aed57(0x35a)][_0x2aed57(0x1fb)](_0x506769);var _0x5191b7=_0x48a521[_0x2aed57(0x143)](_0x5274c6,_0x506769),_0x2a42d5=_0x5191b7[_0x2aed57(0xc9)](_0x786670),_0x3913c7=_0x5191b7[_0x2aed57(0x35a)];return _0x35bc10[_0x2aed57(0x205)]({'ciphertext':_0x2a42d5,'key':_0x5274c6,'iv':_0x3913c7['iv'],'algorithm':_0x48a521,'mode':_0x3913c7[_0x2aed57(0x100)],'padding':_0x3913c7[_0x2aed57(0x27b)],'blockSize':_0x48a521[_0x2aed57(0x139)],'formatter':_0x506769[_0x2aed57(0xc4)]});},'decrypt':function(_0x5db145,_0x2ed66c,_0x5d9688,_0x3b06b4){var _0x695d39=_0x15b10f;_0x3b06b4=this['cfg'][_0x695d39(0x1fb)](_0x3b06b4),_0x2ed66c=this[_0x695d39(0x1c0)](_0x2ed66c,_0x3b06b4[_0x695d39(0xc4)]);var _0x370a6c=_0x5db145[_0x695d39(0x2d9)](_0x5d9688,_0x3b06b4)[_0x695d39(0xc9)](_0x2ed66c[_0x695d39(0x9c)]);return _0x370a6c;},'_parse':function(_0x5f50c6,_0x56f0e4){var _0x237474=_0x15b10f;return typeof _0x5f50c6==_0x237474(0x285)?_0x56f0e4[_0x237474(0x358)](_0x5f50c6,this):_0x5f50c6;}}),_0x13e23b=_0x491188[_0x15b10f(0x167)]={},_0x7e4794=_0x13e23b[_0x15b10f(0x234)]={'execute':function(_0x59427d,_0x40d3fc,_0x3e0866,_0x4ac2c3,_0x375b9f){var _0x5eb872=_0x15b10f;if(_0x4ac2c3||(_0x4ac2c3=_0x137fe3[_0x5eb872(0x2de)](0x40/0x8)),_0x375b9f)var _0x691a14=_0x5cd099['create']({'keySize':_0x40d3fc+_0x3e0866,'hasher':_0x375b9f})[_0x5eb872(0x114)](_0x59427d,_0x4ac2c3);else var _0x691a14=_0x5cd099[_0x5eb872(0x205)]({'keySize':_0x40d3fc+_0x3e0866})[_0x5eb872(0x114)](_0x59427d,_0x4ac2c3);var _0x573992=_0x137fe3[_0x5eb872(0x205)](_0x691a14[_0x5eb872(0xac)][_0x5eb872(0x1f0)](_0x40d3fc),_0x3e0866*0x4);return _0x691a14[_0x5eb872(0x1ed)]=_0x40d3fc*0x4,_0x35bc10[_0x5eb872(0x205)]({'key':_0x691a14,'iv':_0x573992,'salt':_0x4ac2c3});}},_0xad35c4=_0x2a1ecd[_0x15b10f(0x113)]=_0x279db0[_0x15b10f(0x1fb)]({'cfg':_0x279db0['cfg'][_0x15b10f(0x1fb)]({'kdf':_0x7e4794}),'encrypt':function(_0x21be61,_0x13dc5d,_0x4c0252,_0x35c574){var _0x19560a=_0x15b10f;_0x35c574=this[_0x19560a(0x35a)][_0x19560a(0x1fb)](_0x35c574);var _0x264ad3=_0x35c574[_0x19560a(0x167)]['execute'](_0x4c0252,_0x21be61[_0x19560a(0x2cf)],_0x21be61[_0x19560a(0x10d)],_0x35c574['salt'],_0x35c574['hasher']);_0x35c574['iv']=_0x264ad3['iv'];var _0x4c0218=_0x279db0[_0x19560a(0x17e)][_0x19560a(0x208)](this,_0x21be61,_0x13dc5d,_0x264ad3[_0x19560a(0x105)],_0x35c574);return _0x4c0218['mixIn'](_0x264ad3),_0x4c0218;},'decrypt':function(_0xd3be64,_0x3eedbf,_0x116651,_0x159259){var _0x1cf1af=_0x15b10f;_0x159259=this[_0x1cf1af(0x35a)][_0x1cf1af(0x1fb)](_0x159259),_0x3eedbf=this[_0x1cf1af(0x1c0)](_0x3eedbf,_0x159259[_0x1cf1af(0xc4)]);var _0x3b6344=_0x159259[_0x1cf1af(0x167)][_0x1cf1af(0x311)](_0x116651,_0xd3be64[_0x1cf1af(0x2cf)],_0xd3be64[_0x1cf1af(0x10d)],_0x3eedbf[_0x1cf1af(0x177)],_0x159259[_0x1cf1af(0x147)]);_0x159259['iv']=_0x3b6344['iv'];var _0x5d5502=_0x279db0[_0x1cf1af(0x359)][_0x1cf1af(0x208)](this,_0xd3be64,_0x3eedbf,_0x3b6344[_0x1cf1af(0x105)],_0x159259);return _0x5d5502;}});}();}));}(Je)),Je['exports'];}var Tn=Ve[_0x3085eb(0x1af)],ti;function Cn(){var _0x22e063=_0x3085eb;return ti||(ti=0x1,function(_0x1cc05d,_0x338999){(function(_0x315265,_0x42f75f,_0xb1bb9e){var _0x310ffd=_0x4c1a;_0x1cc05d[_0x310ffd(0x1af)]=_0x42f75f(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x1de6a7){var _0x401e50=_0x4c1a;return(function(){var _0x19a094=_0x4c1a,_0x14a5f4=_0x1de6a7,_0x2274dd=_0x14a5f4['lib'],_0x47e174=_0x2274dd[_0x19a094(0x10c)],_0x22d194=_0x14a5f4[_0x19a094(0x213)],_0x1eab4e=[],_0x52e6b8=[],_0x449e07=[],_0x23194d=[],_0x14eb92=[],_0x4b8f3f=[],_0x11a2ee=[],_0x289e97=[],_0x31cd26=[],_0x432513=[];(function(){for(var _0x2ecb2c=[],_0x4a6655=0x0;_0x4a6655<0x100;_0x4a6655++)_0x4a6655<0x80?_0x2ecb2c[_0x4a6655]=_0x4a6655<<0x1:_0x2ecb2c[_0x4a6655]=_0x4a6655<<0x1^0x11b;for(var _0x381fa0=0x0,_0x12fd69=0x0,_0x4a6655=0x0;_0x4a6655<0x100;_0x4a6655++){var _0x4512cf=_0x12fd69^_0x12fd69<<0x1^_0x12fd69<<0x2^_0x12fd69<<0x3^_0x12fd69<<0x4;_0x4512cf=_0x4512cf>>>0x8^_0x4512cf&0xff^0x63,_0x1eab4e[_0x381fa0]=_0x4512cf,_0x52e6b8[_0x4512cf]=_0x381fa0;var _0x4f2e05=_0x2ecb2c[_0x381fa0],_0x596000=_0x2ecb2c[_0x4f2e05],_0x11ec53=_0x2ecb2c[_0x596000],_0x470630=_0x2ecb2c[_0x4512cf]*0x101^_0x4512cf*0x1010100;_0x449e07[_0x381fa0]=_0x470630<<0x18|_0x470630>>>0x8,_0x23194d[_0x381fa0]=_0x470630<<0x10|_0x470630>>>0x10,_0x14eb92[_0x381fa0]=_0x470630<<0x8|_0x470630>>>0x18,_0x4b8f3f[_0x381fa0]=_0x470630;var _0x470630=_0x11ec53*0x1010101^_0x596000*0x10001^_0x4f2e05*0x101^_0x381fa0*0x1010100;_0x11a2ee[_0x4512cf]=_0x470630<<0x18|_0x470630>>>0x8,_0x289e97[_0x4512cf]=_0x470630<<0x10|_0x470630>>>0x10,_0x31cd26[_0x4512cf]=_0x470630<<0x8|_0x470630>>>0x18,_0x432513[_0x4512cf]=_0x470630,_0x381fa0?(_0x381fa0=_0x4f2e05^_0x2ecb2c[_0x2ecb2c[_0x2ecb2c[_0x11ec53^_0x4f2e05]]],_0x12fd69^=_0x2ecb2c[_0x2ecb2c[_0x12fd69]]):_0x381fa0=_0x12fd69=0x1;}}());var _0x2d00f6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2ad89a=_0x22d194[_0x19a094(0x1e7)]=_0x47e174[_0x19a094(0x1fb)]({'_doReset':function(){var _0xb4a11=_0x19a094,_0x2b7311;if(!(this[_0xb4a11(0x2bc)]&&this[_0xb4a11(0x110)]===this[_0xb4a11(0x36f)])){for(var _0x4aea41=this[_0xb4a11(0x110)]=this['_key'],_0xa4418c=_0x4aea41[_0xb4a11(0xac)],_0x560911=_0x4aea41['sigBytes']/0x4,_0x14df9a=this[_0xb4a11(0x2bc)]=_0x560911+0x6,_0x702cf9=(_0x14df9a+0x1)*0x4,_0x2d68e9=this[_0xb4a11(0x189)]=[],_0x18b269=0x0;_0x18b269<_0x702cf9;_0x18b269++)_0x18b269<_0x560911?_0x2d68e9[_0x18b269]=_0xa4418c[_0x18b269]:(_0x2b7311=_0x2d68e9[_0x18b269-0x1],_0x18b269%_0x560911?_0x560911>0x6&&_0x18b269%_0x560911==0x4&&(_0x2b7311=_0x1eab4e[_0x2b7311>>>0x18]<<0x18|_0x1eab4e[_0x2b7311>>>0x10&0xff]<<0x10|_0x1eab4e[_0x2b7311>>>0x8&0xff]<<0x8|_0x1eab4e[_0x2b7311&0xff]):(_0x2b7311=_0x2b7311<<0x8|_0x2b7311>>>0x18,_0x2b7311=_0x1eab4e[_0x2b7311>>>0x18]<<0x18|_0x1eab4e[_0x2b7311>>>0x10&0xff]<<0x10|_0x1eab4e[_0x2b7311>>>0x8&0xff]<<0x8|_0x1eab4e[_0x2b7311&0xff],_0x2b7311^=_0x2d00f6[_0x18b269/_0x560911|0x0]<<0x18),_0x2d68e9[_0x18b269]=_0x2d68e9[_0x18b269-_0x560911]^_0x2b7311);for(var _0xe6a766=this[_0xb4a11(0x1b1)]=[],_0x58bd5b=0x0;_0x58bd5b<_0x702cf9;_0x58bd5b++){var _0x18b269=_0x702cf9-_0x58bd5b;if(_0x58bd5b%0x4)var _0x2b7311=_0x2d68e9[_0x18b269];else var _0x2b7311=_0x2d68e9[_0x18b269-0x4];_0x58bd5b<0x4||_0x18b269<=0x4?_0xe6a766[_0x58bd5b]=_0x2b7311:_0xe6a766[_0x58bd5b]=_0x11a2ee[_0x1eab4e[_0x2b7311>>>0x18]]^_0x289e97[_0x1eab4e[_0x2b7311>>>0x10&0xff]]^_0x31cd26[_0x1eab4e[_0x2b7311>>>0x8&0xff]]^_0x432513[_0x1eab4e[_0x2b7311&0xff]];}}},'encryptBlock':function(_0x1311b6,_0x50aa37){var _0x41d704=_0x19a094;this['_doCryptBlock'](_0x1311b6,_0x50aa37,this[_0x41d704(0x189)],_0x449e07,_0x23194d,_0x14eb92,_0x4b8f3f,_0x1eab4e);},'decryptBlock':function(_0x1e11e3,_0x513348){var _0x2ff1d2=_0x19a094,_0x46b20c=_0x1e11e3[_0x513348+0x1];_0x1e11e3[_0x513348+0x1]=_0x1e11e3[_0x513348+0x3],_0x1e11e3[_0x513348+0x3]=_0x46b20c,this[_0x2ff1d2(0x136)](_0x1e11e3,_0x513348,this[_0x2ff1d2(0x1b1)],_0x11a2ee,_0x289e97,_0x31cd26,_0x432513,_0x52e6b8);var _0x46b20c=_0x1e11e3[_0x513348+0x1];_0x1e11e3[_0x513348+0x1]=_0x1e11e3[_0x513348+0x3],_0x1e11e3[_0x513348+0x3]=_0x46b20c;},'_doCryptBlock':function(_0x18146f,_0x155f62,_0xc182f3,_0xd25a66,_0x5a5564,_0xa59b39,_0x141c76,_0x52621f){var _0x1044dd=_0x19a094;for(var _0x26a2ef=this[_0x1044dd(0x2bc)],_0x801a5b=_0x18146f[_0x155f62]^_0xc182f3[0x0],_0x3f69a0=_0x18146f[_0x155f62+0x1]^_0xc182f3[0x1],_0x5123ad=_0x18146f[_0x155f62+0x2]^_0xc182f3[0x2],_0x424c7a=_0x18146f[_0x155f62+0x3]^_0xc182f3[0x3],_0x4c38c6=0x4,_0x463841=0x1;_0x463841<_0x26a2ef;_0x463841++){var _0x3cc7d6=_0xd25a66[_0x801a5b>>>0x18]^_0x5a5564[_0x3f69a0>>>0x10&0xff]^_0xa59b39[_0x5123ad>>>0x8&0xff]^_0x141c76[_0x424c7a&0xff]^_0xc182f3[_0x4c38c6++],_0x5d8a7f=_0xd25a66[_0x3f69a0>>>0x18]^_0x5a5564[_0x5123ad>>>0x10&0xff]^_0xa59b39[_0x424c7a>>>0x8&0xff]^_0x141c76[_0x801a5b&0xff]^_0xc182f3[_0x4c38c6++],_0x2b56d6=_0xd25a66[_0x5123ad>>>0x18]^_0x5a5564[_0x424c7a>>>0x10&0xff]^_0xa59b39[_0x801a5b>>>0x8&0xff]^_0x141c76[_0x3f69a0&0xff]^_0xc182f3[_0x4c38c6++],_0x29f387=_0xd25a66[_0x424c7a>>>0x18]^_0x5a5564[_0x801a5b>>>0x10&0xff]^_0xa59b39[_0x3f69a0>>>0x8&0xff]^_0x141c76[_0x5123ad&0xff]^_0xc182f3[_0x4c38c6++];_0x801a5b=_0x3cc7d6,_0x3f69a0=_0x5d8a7f,_0x5123ad=_0x2b56d6,_0x424c7a=_0x29f387;}var _0x3cc7d6=(_0x52621f[_0x801a5b>>>0x18]<<0x18|_0x52621f[_0x3f69a0>>>0x10&0xff]<<0x10|_0x52621f[_0x5123ad>>>0x8&0xff]<<0x8|_0x52621f[_0x424c7a&0xff])^_0xc182f3[_0x4c38c6++],_0x5d8a7f=(_0x52621f[_0x3f69a0>>>0x18]<<0x18|_0x52621f[_0x5123ad>>>0x10&0xff]<<0x10|_0x52621f[_0x424c7a>>>0x8&0xff]<<0x8|_0x52621f[_0x801a5b&0xff])^_0xc182f3[_0x4c38c6++],_0x2b56d6=(_0x52621f[_0x5123ad>>>0x18]<<0x18|_0x52621f[_0x424c7a>>>0x10&0xff]<<0x10|_0x52621f[_0x801a5b>>>0x8&0xff]<<0x8|_0x52621f[_0x3f69a0&0xff])^_0xc182f3[_0x4c38c6++],_0x29f387=(_0x52621f[_0x424c7a>>>0x18]<<0x18|_0x52621f[_0x801a5b>>>0x10&0xff]<<0x10|_0x52621f[_0x3f69a0>>>0x8&0xff]<<0x8|_0x52621f[_0x5123ad&0xff])^_0xc182f3[_0x4c38c6++];_0x18146f[_0x155f62]=_0x3cc7d6,_0x18146f[_0x155f62+0x1]=_0x5d8a7f,_0x18146f[_0x155f62+0x2]=_0x2b56d6,_0x18146f[_0x155f62+0x3]=_0x29f387;},'keySize':0x100/0x20});_0x14a5f4['AES']=_0x47e174['_createHelper'](_0x2ad89a);}()),_0x1de6a7[_0x401e50(0x1e7)];}));}(Ve)),Ve[_0x22e063(0x1af)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x6257d9=_0x3085eb;return si||(si=0x1,function(_0x4346a1,_0x56823f){(function(_0x4fef77,_0x27977d){var _0x5b051f=_0x4c1a;_0x4346a1[_0x5b051f(0x1af)]=_0x27977d(te());}(yn,function(_0xe340a2){var _0x2850f6=_0x4c1a;return _0xe340a2['enc'][_0x2850f6(0x16b)];}));}(Xe)),Xe[_0x6257d9(0x1af)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x3085eb(0x1af)],ni;function wn(){var _0x5f13f7=_0x3085eb;return ni||(ni=0x1,function(_0x52b269,_0x416b49){(function(_0x4e34d7,_0x5b5ecb){var _0x2456c9=_0x4c1a;_0x52b269[_0x2456c9(0x1af)]=_0x5b5ecb(te());}(An,function(_0x2b2995){var _0x466f6c=_0x4c1a;return(function(){var _0x47172e=_0x4c1a;if(typeof ArrayBuffer==_0x47172e(0x2ae)){var _0x3007f0=_0x2b2995,_0x576e0c=_0x3007f0['lib'],_0xc00cfa=_0x576e0c[_0x47172e(0x180)],_0x11c412=_0xc00cfa[_0x47172e(0x221)],_0x46df5c=_0xc00cfa[_0x47172e(0x221)]=function(_0x2e1cdb){var _0x4780e3=_0x47172e;if(_0x2e1cdb instanceof ArrayBuffer&&(_0x2e1cdb=new Uint8Array(_0x2e1cdb)),(_0x2e1cdb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2e1cdb instanceof Uint8ClampedArray||_0x2e1cdb instanceof Int16Array||_0x2e1cdb instanceof Uint16Array||_0x2e1cdb instanceof Int32Array||_0x2e1cdb instanceof Uint32Array||_0x2e1cdb instanceof Float32Array||_0x2e1cdb instanceof Float64Array)&&(_0x2e1cdb=new Uint8Array(_0x2e1cdb[_0x4780e3(0x163)],_0x2e1cdb[_0x4780e3(0x284)],_0x2e1cdb[_0x4780e3(0x1f1)])),_0x2e1cdb instanceof Uint8Array){for(var _0x391f3c=_0x2e1cdb[_0x4780e3(0x1f1)],_0x482e50=[],_0x52aac4=0x0;_0x52aac4<_0x391f3c;_0x52aac4++)_0x482e50[_0x52aac4>>>0x2]|=_0x2e1cdb[_0x52aac4]<<0x18-_0x52aac4%0x4*0x8;_0x11c412['call'](this,_0x482e50,_0x391f3c);}else _0x11c412[_0x4780e3(0x1a0)](this,arguments);};_0x46df5c[_0x47172e(0xe2)]=_0xc00cfa;}}()),_0x2b2995[_0x466f6c(0x279)][_0x466f6c(0x180)];}));}(Ze)),Ze[_0x5f13f7(0x1af)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe['exports'],ri;function xn(){var _0x1c204f=_0x3085eb;return ri||(ri=0x1,function(_0x410896,_0x28657d){(function(_0x485c76,_0x1015c7,_0x9f74ea){var _0x5eb591=_0x4c1a;_0x410896[_0x5eb591(0x1af)]=_0x1015c7(te(),Ni());}(Mn,function(_0x5afce5){var _0x1d3a12=_0x4c1a;return _0x5afce5[_0x1d3a12(0x360)][_0x1d3a12(0x10f)]={'pad':function(){},'unpad':function(){}},_0x5afce5[_0x1d3a12(0x360)][_0x1d3a12(0x10f)];}));}(Qe)),Qe[_0x1c204f(0x1af)];}var kn=xn();const $n=$e(kn);function Hn(_0x5c0d81,_0x2cb4fe){var _0x245ba6=_0x3085eb;const _0x30bd04=_0x2cb4fe-_0x5c0d81[_0x245ba6(0x32b)]%_0x2cb4fe,_0x1feec0=String['fromCharCode'](_0x30bd04)[_0x245ba6(0x14a)](_0x30bd04);return _0x5c0d81+_0x1feec0;}function Bn(_0x421e4e,_0x3ba496){var _0x6fb4b=_0x3085eb;const _0x3d093f=Ln[_0x6fb4b(0x2de)](0x10),_0x3c43a7=Hn(_0x421e4e,0x10),_0x54e0f9=bn['encrypt'](Un['parse'](_0x3c43a7),ii[_0x6fb4b(0x358)](_0x3ba496),{'iv':_0x3d093f,'padding':$n});return _0x3d093f[_0x6fb4b(0x320)](_0x54e0f9['ciphertext'])[_0x6fb4b(0x1a5)](ii);}function jn(){var _0x268103=_0x3085eb;const _0x4d48fa=_0x30eed1()['__Key__'];if(_0x4d48fa){const _0x22d565={'time':Math[_0x268103(0xab)](Date['now']()/0x3e8),'domain':location[_0x268103(0xb6)]};return Bn(JSON[_0x268103(0x356)](_0x22d565),_0x4d48fa);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0xae3ce3,_0x398c9d,_0x322f92,_0x3c7ccf)=>{var _0x38d1ca=_0x3085eb;for(var _0x1b0b40=_0x3c7ccf>0x1?void 0x0:_0x3c7ccf?Fn(_0x398c9d,_0x322f92):_0x398c9d,_0x5248b6=_0xae3ce3[_0x38d1ca(0x32b)]-0x1,_0x4b152a;_0x5248b6>=0x0;_0x5248b6--)(_0x4b152a=_0xae3ce3[_0x5248b6])&&(_0x1b0b40=_0x4b152a(_0x1b0b40)||_0x1b0b40);return _0x1b0b40;},Gn=(_0x1b0773,_0x392462)=>(_0x3a156d,_0x139b83)=>_0x392462(_0x3a156d,_0x139b83,_0x1b0773);let at=class{constructor(_0x1672f1){var _0x49aa0f=_0x3085eb;this[_0x49aa0f(0x374)]=_0x1672f1,this[_0x49aa0f(0x271)]();}[_0x3085eb(0x271)](){var _0x589105=_0x3085eb;this[_0x589105(0x374)]['registerHTTPInterceptor']({'interceptor':(_0x3114d5,_0x35e38f)=>{var _0x3ecd31=_0x589105;const _0x22c405=_0x3114d5[_0x3ecd31(0x16a)],_0x33b2eb=jn();return _0x33b2eb&&_0x22c405['set']('x-univer-host',_0x33b2eb),_0x35e38f(_0x3114d5);}});}};at=Vn([Gn(0x0,_0x53dfbc(_0xfd6f9c))],at);var Wn=Object[_0x3085eb(0x2b1)],Yn=(_0xaff357,_0x280c40,_0x4c7766,_0x372315)=>{var _0x17aa95=_0x3085eb;for(var _0x2e3f42=_0x372315>0x1?void 0x0:_0x372315?Wn(_0x280c40,_0x4c7766):_0x280c40,_0x127af5=_0xaff357[_0x17aa95(0x32b)]-0x1,_0x4f8f24;_0x127af5>=0x0;_0x127af5--)(_0x4f8f24=_0xaff357[_0x127af5])&&(_0x2e3f42=_0x4f8f24(_0x2e3f42)||_0x2e3f42);return _0x2e3f42;},vt=(_0x2d85d3,_0x3db64c)=>(_0x130389,_0x246898)=>_0x3db64c(_0x130389,_0x246898,_0x2d85d3);let Ct=class extends _0x38ff91{constructor(_0x51f206,_0x4c61e1,_0x52928f){var _0x25c8f3=_0x3085eb;super(),N(this,_0x25c8f3(0x333),new _0x5bc647(null)),N(this,_0x25c8f3(0x32a),this[_0x25c8f3(0x333)]['asObservable']()),(this[_0x25c8f3(0x266)]=_0x51f206,this[_0x25c8f3(0x152)]=_0x4c61e1,this[_0x25c8f3(0x231)]=_0x52928f);}async['loadUnitOfRevision'](_0x38db6a,_0x43e11a,_0x5a050f){var _0x5bdd9d=_0x3085eb;this[_0x5bdd9d(0x333)][_0x5bdd9d(0x1c4)]({'unitId':_0x38db6a,'type':_0x43e11a});let _0x19ebb3=null;switch(_0x43e11a){case Z['UNIVER_SHEET']:{_0x19ebb3=await this[_0x5bdd9d(0x152)][_0x5bdd9d(0x1ba)](_0x38db6a,_0x5a050f);break;}case Z[_0x5bdd9d(0x9a)]:{_0x19ebb3=await this['_snapshotService'][_0x5bdd9d(0x83)](_0x38db6a,_0x5a050f);break;}default:{this['_logService'][_0x5bdd9d(0x269)](_0x5bdd9d(0x314),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x19ebb3;}async[_0x3085eb(0x23d)](_0x35f55f,_0x24c649,_0xf9151d){var _0x593450=_0x3085eb,_0x3d9079;this[_0x593450(0x333)][_0x593450(0x1c4)]({'unitId':_0x35f55f,'type':_0x24c649,'subUnitId':_0xf9151d});let _0x1b069b=0x0;const _0x924f2e=await((_0x3d9079=this[_0x593450(0x231)])==null?void 0x0:_0x3d9079[_0x593450(0x275)](_0x35f55f));return _0x924f2e&&(_0x924f2e[_0x593450(0x2f2)]||_0x924f2e[_0x593450(0x29f)][_0x593450(0x32b)]!==0x0)&&(_0x1b069b=_0x924f2e['rev']),_0x1b069b===0x0&&this[_0x593450(0x266)][_0x593450(0x11b)]('[DataLoaderService]',_0x593450(0x126)),this[_0x593450(0x123)](_0x35f55f,_0x24c649,_0x1b069b);}};Ct=Yn([vt(0x0,_0x482beb),vt(0x1,_0x53dfbc(_0x3da356)),vt(0x2,_0x1c5f22(J))],Ct);var Kn=Object[_0x3085eb(0x2b1)],qn=(_0x437ea4,_0x4a2433,_0x32d1a4,_0x8c5cd1)=>{var _0x6e54c9=_0x3085eb;for(var _0x318f84=_0x8c5cd1>0x1?void 0x0:_0x8c5cd1?Kn(_0x4a2433,_0x32d1a4):_0x4a2433,_0x5a7fca=_0x437ea4[_0x6e54c9(0x32b)]-0x1,_0xb33bc7;_0x5a7fca>=0x0;_0x5a7fca--)(_0xb33bc7=_0x437ea4[_0x5a7fca])&&(_0x318f84=_0xb33bc7(_0x318f84)||_0x318f84);return _0x318f84;},pt=(_0x28b58c,_0xb48bb3)=>(_0x92d7f0,_0x2ab88b)=>_0xb48bb3(_0x92d7f0,_0x2ab88b,_0x28b58c);const zn=['image/png',_0x3085eb(0x95),_0x3085eb(0x2f7),_0x3085eb(0xd1),_0x3085eb(0x351)],Jn=0x5*0x400*0x400,Xn=_0x3085eb(0x31c),Zn=_0x3085eb(0x1d6),Qn=_0x3085eb(0x1e4),er=_0x3085eb(0x35e);let Rt=class{constructor(_0x5bdb45,_0x401834,_0x439f96){var _0xba9d3c=_0x3085eb;N(this,_0xba9d3c(0x2a0),0x0),N(this,_0xba9d3c(0x22f),new _0x2445c4()),N(this,_0xba9d3c(0x254),this[_0xba9d3c(0x22f)]),N(this,_0xba9d3c(0x340),new Map()),(this[_0xba9d3c(0x374)]=_0x5bdb45,this[_0xba9d3c(0x201)]=_0x401834,this[_0xba9d3c(0x25b)]=_0x439f96);}['setWaitCount'](_0x5a0062){var _0x2bfadb=_0x3085eb;this[_0x2bfadb(0x2a0)]=_0x5a0062,this[_0x2bfadb(0x22f)][_0x2bfadb(0x1c4)](_0x5a0062);}[_0x3085eb(0x1ce)](_0x3fdf25,_0x1ab7de){var _0x43cce0=_0x3085eb;if(_0x1ab7de===_0x583a19[_0x43cce0(0x236)]){const _0x114818=new Image();return _0x114818[_0x43cce0(0x2a2)]=_0x3fdf25,_0x114818;}return this[_0x43cce0(0x340)][_0x43cce0(0x21f)](_0x3fdf25);}[_0x3085eb(0x330)](_0x27287c,_0x1c2f0a,_0x576311){var _0x1c27e1=_0x3085eb;_0x1c2f0a===_0x583a19[_0x1c27e1(0x236)]||_0x576311==null||this[_0x1c27e1(0x340)]['set'](_0x27287c,_0x576311);}async['getImage'](_0x23b27d){var _0x286de9=_0x3085eb;try{const _0x566b50=this[_0x286de9(0x170)](this[_0x286de9(0x2d2)](),''+_0x23b27d),_0x25b7b3=(await this[_0x286de9(0x374)][_0x286de9(0x21f)](_0x566b50))[_0x286de9(0x222)];if(_0x25b7b3['error']&&_0x25b7b3[_0x286de9(0x269)][_0x286de9(0x19d)]===pi['OK']){const _0x16275f=new URL(_0x25b7b3[_0x286de9(0xa2)],this['_getDownloadEndpointURL']())[_0x286de9(0x1a5)]();return Promise[_0x286de9(0x176)](_0x16275f);}return Promise[_0x286de9(0x262)](_0x25b7b3[_0x286de9(0x269)]);}catch(_0x119c16){return Promise[_0x286de9(0x262)](_0x119c16);}}async[_0x3085eb(0x12b)](_0x3d104d){var _0x266bc5=_0x3085eb;let _0x1909b9='';if(!zn[_0x266bc5(0x21d)](_0x3d104d[_0x266bc5(0x256)]))return this[_0x266bc5(0x88)](),Promise['reject'](new Error(_0x4dbfd5[_0x266bc5(0x87)]));if(_0x3d104d[_0x266bc5(0x233)]>Jn)return this[_0x266bc5(0x88)](),Promise[_0x266bc5(0x262)](new Error(_0x4dbfd5['ERROR_EXCEED_SIZE']));try{const _0x3de157=new FormData();_0x3de157['append'](_0x266bc5(0x30b),_0x3d104d);const _0x33b71c=this[_0x266bc5(0x25b)][_0x266bc5(0xe7)](),_0x498700=_0x33b71c==null?void 0x0:_0x33b71c[_0x266bc5(0x309)]();if(!_0x498700)throw new Error('unitId\x20is\x20not\x20found');const _0x2700b1=this[_0x266bc5(0x316)]()+_0x266bc5(0x264)+_0x3d104d[_0x266bc5(0x233)]['toString']()+_0x266bc5(0xae)+mi[_0x266bc5(0x18d)]+'&assign='+encodeURIComponent(_0x498700),_0x27814f={'body':_0x3de157},_0x46158b=(await this[_0x266bc5(0x374)][_0x266bc5(0x125)](_0x2700b1,_0x27814f))[_0x266bc5(0x222)];if(typeof _0x46158b[_0x266bc5(0x14c)]!=_0x266bc5(0x285))return this['_decreaseWaiting'](),Promise[_0x266bc5(0x262)](new Error(_0x4dbfd5['ERROR_IMAGE']));_0x1909b9=_0x46158b[_0x266bc5(0x14c)];}catch{return this[_0x266bc5(0x88)](),Promise[_0x266bc5(0x262)](new Error(_0x4dbfd5[_0x266bc5(0x2c5)]));}return new Promise((_0x276eae,_0x2f4563)=>{var _0x33efed=_0x266bc5;const _0x3353e7=new FileReader();_0x3353e7[_0x33efed(0x199)](_0x3d104d),_0x3353e7[_0x33efed(0x380)]=_0x1be434=>{var _0x4cf258=_0x33efed,_0x55ecd7;const _0x40f59d=(_0x55ecd7=_0x1be434[_0x4cf258(0x1dc)])==null?void 0x0:_0x55ecd7[_0x4cf258(0x247)];if(_0x40f59d==null){this[_0x4cf258(0x88)](),_0x2f4563(new Error(_0x4dbfd5[_0x4cf258(0x2c5)]));return;}const _0x84a930=_0x8a68d4[_0x4cf258(0xfa)](0x6);_0x276eae({'imageId':_0x84a930,'imageSourceType':_0x583a19[_0x4cf258(0x26d)],'source':_0x1909b9,'base64Cache':_0x40f59d,'status':_0x4dbfd5[_0x4cf258(0x300)]}),this[_0x4cf258(0x88)]();};});}['_getUploadFileURL'](){var _0x57ea39=_0x3085eb,_0x3ed6a5,_0x53670f;const _0x3608ff=this[_0x57ea39(0x201)][_0x57ea39(0xa6)](Xn),_0x2ee12f=this[_0x57ea39(0x201)][_0x57ea39(0xa6)](K);return(_0x53670f=(_0x3ed6a5=_0x2ee12f==null?void 0x0:_0x2ee12f[_0x57ea39(0x2dc)])!=null?_0x3ed6a5:_0x3608ff)!=null?_0x53670f:Zn;}[_0x3085eb(0x2d2)](){var _0x10af5e=_0x3085eb,_0x26d32b,_0x30b32b;const _0x5abce7=this[_0x10af5e(0x201)][_0x10af5e(0xa6)](Qn),_0xa228a8=this['_configService'][_0x10af5e(0xa6)](K);return(_0x30b32b=(_0x26d32b=_0xa228a8==null?void 0x0:_0xa228a8['signUrlServerUrl'])!=null?_0x26d32b:_0x5abce7)!=null?_0x30b32b:er;}[_0x3085eb(0x107)](){var _0xad27cb=_0x3085eb,_0x1c59e3;const _0x554b6d=this[_0xad27cb(0x201)][_0xad27cb(0xa6)](K);return(_0x1c59e3=_0x554b6d==null?void 0x0:_0x554b6d[_0xad27cb(0x2ef)])!=null?_0x1c59e3:location[_0xad27cb(0x26e)];}[_0x3085eb(0x170)](_0x5853cd,_0x327be3){var _0x4391a6=_0x3085eb;return _0x5853cd[_0x4391a6(0x19e)](_0x4391a6(0x32c),_0x327be3);}['_decreaseWaiting'](){var _0x43cb04=_0x3085eb;this['_waitCount']-=0x1,this['_change$'][_0x43cb04(0x1c4)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x53dfbc(_0xfd6f9c)),pt(0x1,_0x22b79b),pt(0x2,_0x53dfbc(_0x892ae8))],Rt);var tr=Object[_0x3085eb(0x2b1)],ir=(_0x76fb27,_0x527ff0,_0x5b9451,_0x2f5e34)=>{var _0x1fb39f=_0x3085eb;for(var _0x154e7b=_0x2f5e34>0x1?void 0x0:_0x2f5e34?tr(_0x527ff0,_0x5b9451):_0x527ff0,_0x4ff4f4=_0x76fb27[_0x1fb39f(0x32b)]-0x1,_0x120cdc;_0x4ff4f4>=0x0;_0x4ff4f4--)(_0x120cdc=_0x76fb27[_0x4ff4f4])&&(_0x154e7b=_0x120cdc(_0x154e7b)||_0x154e7b);return _0x154e7b;},ai=(_0x2c3291,_0x3d707a)=>(_0x59ac2f,_0x43e56a)=>_0x3d707a(_0x59ac2f,_0x43e56a,_0x2c3291);const sr='/universer-api/authz';let bt=class{constructor(_0x274e08,_0x700d5d){var _0xb1565c=_0x3085eb;this[_0xb1565c(0x201)]=_0x274e08,this[_0xb1565c(0x2e4)]=_0x700d5d;}['_getAPIPrefixPath'](){var _0x1e4427=_0x3085eb,_0xfc1a99,_0x4cc555;const _0x2a2520=this[_0x1e4427(0x201)][_0x1e4427(0xa6)](bi),_0x2ae009=this[_0x1e4427(0x201)][_0x1e4427(0xa6)](K);return(_0x4cc555=(_0xfc1a99=_0x2ae009==null?void 0x0:_0x2ae009[_0x1e4427(0x81)])!=null?_0xfc1a99:_0x2a2520)!=null?_0x4cc555:sr;}async['list'](_0x57a39e){var _0x34f491=_0x3085eb;const _0x23e472=this['_getAPIPrefixPath']()+_0x34f491(0x104);return{'list':[{'title':_0x34f491(0xf9),'mentions':(await this[_0x34f491(0x2e4)][_0x34f491(0x21f)](_0x23e472,{'params':{'objectID':_0x57a39e[_0x34f491(0xa9)],'unitID':_0x57a39e['unitId']}}))[_0x34f491(0x222)][_0x34f491(0x1cb)][_0x34f491(0x23f)](_0x24024c=>({'objectId':_0x24024c['id'],'name':_0x24024c[_0x34f491(0xe8)]['name'],'metadata':{'icon':_0x24024c[_0x34f491(0xe8)]['avatar']},'label':_0x24024c[_0x34f491(0xe8)][_0x34f491(0x26a)],'objectType':_0x4d9592[_0x34f491(0x2f5)]})),'metadata':{},'type':_0x4d9592['PERSON']}]};}};bt=ir([ai(0x0,_0x53dfbc(_0x22b79b)),ai(0x1,_0x53dfbc(_0xfd6f9c))],bt);var nr=Object[_0x3085eb(0x2b1)],rr=(_0x202255,_0x5311c8,_0x6b8d0f,_0x3a2003)=>{var _0x361482=_0x3085eb;for(var _0x11cfc1=_0x3a2003>0x1?void 0x0:_0x3a2003?nr(_0x5311c8,_0x6b8d0f):_0x5311c8,_0x57d85a=_0x202255[_0x361482(0x32b)]-0x1,_0x2b80f6;_0x57d85a>=0x0;_0x57d85a--)(_0x2b80f6=_0x202255[_0x57d85a])&&(_0x11cfc1=_0x2b80f6(_0x11cfc1)||_0x11cfc1);return _0x11cfc1;},Ae=(_0xd8330c,_0x3bc3fe)=>(_0xfd8b68,_0x12cc88)=>_0x3bc3fe(_0xfd8b68,_0x12cc88,_0xd8330c);let ot=class extends _0x38ff91{constructor(_0x574415,_0x18cb7c,_0x26b84b,_0xb8cda9,_0x2af1bd){var _0x1649c1=_0x3085eb;super(),this[_0x1649c1(0x191)]=_0x574415,this[_0x1649c1(0x25b)]=_0x18cb7c,this['_permissionService']=_0x26b84b,this['_collaborationSessionService']=_0xb8cda9,this[_0x1649c1(0x29a)]=_0x2af1bd,this[_0x1649c1(0x33b)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x44d0ee=_0x3085eb;const _0x3918da=async _0x44e89c=>{var _0x443b6b=_0x4c1a;(await this[_0x443b6b(0x24e)][_0x443b6b(0x185)](_0x44e89c))[_0x443b6b(0xad)][_0x443b6b(0x352)](_0x16ea72(_0xc4384f=>_0xc4384f['eventID']===_0x527595[_0x443b6b(0xf4)]),_0x3d915b(this[_0x443b6b(0x2cb)]))['subscribe'](_0x5c1a38=>{var _0x4c6425=_0x443b6b;const _0x4e85d5=_0x5c1a38,{reason:_0x4a1316}=_0x4e85d5[_0x4c6425(0xf7)];this[_0x4c6425(0x29a)][_0x4c6425(0x23b)]({'id':ne[_0x4c6425(0x2cd)],'data':_0x4a1316}),this[_0x4c6425(0xcd)][_0x4c6425(0x8b)](new _0x4e8e57(_0x44e89c)['id'],!0x1),this['_collaborationSessionService'][_0x4c6425(0x36d)](_0x44e89c);});};_0x4e3d6c(this[_0x44d0ee(0x25b)]['getTypeOfUnitAdded$'](_0xc8d7d8[_0x44d0ee(0x218)]),this['_univerInstanceService'][_0x44d0ee(0x142)](_0xc8d7d8[_0x44d0ee(0x9a)]))[_0x44d0ee(0x352)](_0xcf8945(_0xe0ca2b=>_0xe0ca2b[_0x44d0ee(0x309)]()),_0x16ea72(_0x5e979f=>!_0x3016a9(_0x5e979f)),_0x3d915b(this[_0x44d0ee(0x2cb)]))[_0x44d0ee(0x197)](_0x1c8391=>{_0x3918da(_0x1c8391);});}[_0x3085eb(0x33b)](){var _0x33d38b=_0x3085eb;const _0xf67296=async _0x67ee86=>{var _0x289c68=_0x4c1a;const _0x4b0b9b=await this['_collaborationSessionService'][_0x289c68(0x185)](_0x67ee86),_0x52a109=this[_0x289c68(0x191)][_0x289c68(0x21f)](_0x5d2145);_0x4b0b9b[_0x289c68(0xad)][_0x289c68(0x352)](_0x16ea72(_0x1333ec=>_0x1333ec[_0x289c68(0xcf)]===_0x527595[_0x289c68(0x151)]),_0x3d915b(this[_0x289c68(0x2cb)]))[_0x289c68(0x197)](_0xb22677=>{var _0x2d65ad=_0x289c68;const _0x5350d5=_0xb22677,{objectId:_0x52916b}=_0x5350d5[_0x2d65ad(0xf7)];_0x52916b===_0x67ee86?_0x52a109[_0x2d65ad(0x102)](_0x67ee86):_0x52a109[_0x2d65ad(0x375)](_0x67ee86,_0x52916b);});};_0x4e3d6c(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xc8d7d8[_0x33d38b(0x218)]))['pipe'](_0xcf8945(_0x18c7db=>_0x18c7db['getUnitId']()),_0x16ea72(_0x19bb57=>!_0x3016a9(_0x19bb57)),_0x3d915b(this[_0x33d38b(0x2cb)]))[_0x33d38b(0x197)](_0x40db4a=>{_0xf67296(_0x40db4a);});}};ot=rr([Ae(0x0,_0x53dfbc(_0x49cf2d)),Ae(0x1,_0x892ae8),Ae(0x2,_0x5252a6),Ae(0x3,_0x53dfbc(Le)),Ae(0x4,_0x53dfbc(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x1b101f,_0x10b772,_0x4850a6,_0x1c1ce4)=>{var _0xedb822=_0x3085eb;for(var _0x263ba1=_0x1c1ce4>0x1?void 0x0:_0x1c1ce4?ar(_0x10b772,_0x4850a6):_0x10b772,_0x1f753a=_0x1b101f[_0xedb822(0x32b)]-0x1,_0x1ec915;_0x1f753a>=0x0;_0x1f753a--)(_0x1ec915=_0x1b101f[_0x1f753a])&&(_0x263ba1=_0x1ec915(_0x263ba1)||_0x263ba1);return _0x263ba1;},oi=(_0x45297f,_0x3972f6)=>(_0xa7e2cc,_0x20b4c7)=>_0x3972f6(_0xa7e2cc,_0x20b4c7,_0x45297f);let Ot=class{constructor(_0x108741,_0x15f522){var _0x436b98=_0x3085eb;this[_0x436b98(0x201)]=_0x108741,this[_0x436b98(0x374)]=_0x15f522;}async['getUnitOnRev'](_0x5d520a,_0x351546){var _0x36a694=_0x3085eb,_0x23d62c;const {unitID:_0x457b16,type:_0x158621,revision:_0xf66be=0x0}=_0x351546,_0x1d02ac=this[_0x36a694(0x34c)]()+'/'+_0x158621+'/unit/'+_0x457b16+_0x36a694(0x346)+_0xf66be,_0x39696f=(await this[_0x36a694(0x374)][_0x36a694(0x21f)](_0x1d02ac))['body'],_0x555186=(_0x23d62c=_0x39696f[_0x36a694(0xb8)])==null?void 0x0:_0x23d62c[_0x36a694(0x308)];if(_0x555186){const _0x100c10=_0x555186==null?void 0x0:_0x555186[_0x36a694(0xa7)],_0x599cc6=_0x1ec9eb[_0x36a694(0x323)](_0x11f623(_0x100c10));_0x555186[_0x36a694(0xa7)]=_0x599cc6,Object[_0x36a694(0x130)](_0x555186[_0x36a694(0x277)])['forEach'](([,_0x4530ae])=>{var _0x2b44db=_0x36a694;const _0x3eecb2=_0x4530ae[_0x2b44db(0xa7)],_0x239026=_0x1ec9eb[_0x2b44db(0x323)](_0x11f623(_0x3eecb2));_0x4530ae[_0x2b44db(0xa7)]=_0x239026;});}return _0x39696f;}async[_0x3085eb(0x1c1)](_0x62072c,_0x5578cf){var _0x500e82=_0x3085eb;const {unitID:_0x33960e,type:_0x580784,blockID:_0x228cf3}=_0x5578cf,_0x370c2e=this['_getAPIPrefix']()+'/'+_0x580784+_0x500e82(0x11c)+_0x33960e+_0x500e82(0x1f8)+_0x228cf3;return(await this['_httpService']['get'](_0x370c2e))[_0x500e82(0x222)];}async[_0x3085eb(0x1a6)](_0x2246c2,_0x48ece1){var _0x35f3dd=_0x3085eb;const {unitID:_0x50ab13,type:_0x44302a,blockID:_0x498f8e}=_0x48ece1,_0x5de13a=this[_0x35f3dd(0x327)]()+_0x35f3dd(0x1f8)+_0x44302a+_0x35f3dd(0x11c)+_0x50ab13+_0x35f3dd(0x1f8)+_0x498f8e;return(await this[_0x35f3dd(0x374)][_0x35f3dd(0x21f)](_0x5de13a))['body'];}async[_0x3085eb(0x85)](_0x4db1d8,_0xedbeb7){var _0x557012=_0x3085eb;const {unitID:_0x17758d,type:_0x20bb5a,from:_0xadc6cb,to:_0x1ab273}=_0xedbeb7,_0x257835=this[_0x557012(0x327)]()+'/'+_0x20bb5a+_0x557012(0x11c)+_0x17758d+_0x557012(0x214)+_0xadc6cb+_0x557012(0x20b)+_0x1ab273;return(await this['_httpService'][_0x557012(0x21f)](_0x257835))[_0x557012(0x222)];}[_0x3085eb(0x34c)](){var _0x48768f=_0x3085eb,_0x2428ff;return(_0x2428ff=this[_0x48768f(0x201)][_0x48768f(0xa6)](ps))!=null?_0x2428ff:this[_0x48768f(0x327)]();}[_0x3085eb(0x327)](){var _0x41fe03=_0x3085eb,_0x3fefb1,_0xee5f0e;const _0x46bcd9=this['_configService'][_0x41fe03(0xa6)](fs),_0x545bcb=this[_0x41fe03(0x201)][_0x41fe03(0xa6)](K);return(_0xee5f0e=(_0x3fefb1=_0x545bcb==null?void 0x0:_0x545bcb[_0x41fe03(0x338)])!=null?_0x3fefb1:_0x46bcd9)!=null?_0xee5f0e:vs;}async[_0x3085eb(0x299)](_0x4859d9,_0x102835){var _0x5e5f19=_0x3085eb;const _0xb24dac=_0x5e5f19(0x14e)+_0x102835[_0x5e5f19(0x256)]+_0x5e5f19(0x11c)+_0x102835['unitID']+_0x5e5f19(0x260);return(await this['_httpService'][_0x5e5f19(0x21f)](_0xb24dac,{'params':{'resourceId':JSON[_0x5e5f19(0x356)](_0x102835[_0x5e5f19(0xca)])}}))[_0x5e5f19(0x222)];}[_0x3085eb(0xbc)](){var _0x4f6083=_0x3085eb;throw new Error(_0x4f6083(0x1d8));}['updateSnapshot'](){var _0x480263=_0x3085eb;throw new Error(_0x480263(0x1d8));}['saveSheetBlock'](){var _0x2ef049=_0x3085eb;throw new Error(_0x2ef049(0x1d8));}[_0x3085eb(0x10a)](){var _0x418783=_0x3085eb;throw new Error(_0x418783(0x1d8));}[_0x3085eb(0x173)](){var _0x262a11=_0x3085eb;throw new Error(_0x262a11(0x1d8));}[_0x3085eb(0x17d)](){var _0x4884b8=_0x3085eb;throw new Error(_0x4884b8(0x1d8));}};Ot=or([oi(0x0,_0x22b79b),oi(0x1,_0x53dfbc(_0xfd6f9c))],Ot);var cr=Object[_0x3085eb(0x2b1)],hr=(_0x2a735c,_0x5afd13,_0x34a516,_0xa74ee8)=>{var _0x4305b0=_0x3085eb;for(var _0x34566b=_0xa74ee8>0x1?void 0x0:_0xa74ee8?cr(_0x5afd13,_0x34a516):_0x5afd13,_0x979085=_0x2a735c[_0x4305b0(0x32b)]-0x1,_0x4fa007;_0x979085>=0x0;_0x979085--)(_0x4fa007=_0x2a735c[_0x979085])&&(_0x34566b=_0x4fa007(_0x34566b)||_0x34566b);return _0x34566b;},we=(_0x1f92ba,_0x221c2e)=>(_0xe8b6d0,_0x41cddf)=>_0x221c2e(_0xe8b6d0,_0x41cddf,_0x1f92ba);let yt=class extends _0x585475{constructor(_0x1566a8,_0x5ab771,_0x4e5b12,_0x5a3640,_0x369f41){var _0x522062=_0x3085eb;super(_0x1566a8,_0x5ab771,_0x4e5b12),this[_0x522062(0x2a9)]=_0x5a3640,this[_0x522062(0x266)]=_0x369f41;}[_0x3085eb(0x11f)](_0x728cb3,_0x5b9aae){var _0x314026=_0x3085eb;const _0x2d5aaa=this[_0x314026(0x2fb)](_0x728cb3);if(_0x2d5aaa)try{const _0x546e9f=this[_0x314026(0x31f)](_0x2d5aaa,_0x5b9aae);this[_0x314026(0x98)](_0x728cb3,_0x546e9f);}catch(_0x16a3e4){this[_0x314026(0x266)][_0x314026(0x269)](_0x314026(0x22e),_0x16a3e4),this['_clearUndo'](_0x728cb3);}const _0x34388a=this['_getRedoStack'](_0x728cb3);if(_0x34388a)try{const _0xbb8b77=this['_transformStack'](_0x34388a,_0x5b9aae);this['_substituteRedoStack'](_0x728cb3,_0xbb8b77);}catch(_0x14bd30){this[_0x314026(0x266)][_0x314026(0x269)](_0x14bd30),this[_0x314026(0x28f)](_0x728cb3);}}[_0x3085eb(0x182)](_0xa1cc76){var _0x1e1f45=_0x3085eb;const _0x4be399=this[_0x1e1f45(0x2fb)](_0xa1cc76);_0x4be399&&(_0x4be399['length']=0x0,this['_updateStatus']());}[_0x3085eb(0x28f)](_0x11352d){var _0x4cc9e4=_0x3085eb;const _0x4b7306=this['_getRedoStack'](_0x11352d);_0x4b7306&&(_0x4b7306[_0x4cc9e4(0x32b)]=0x0,this[_0x4cc9e4(0x34d)]());}[_0x3085eb(0x98)](_0x35bb3b,_0x2213c4){this['_undoStacks']['set'](_0x35bb3b,_0x2213c4),this['_updateStatus']();}[_0x3085eb(0x131)](_0x32053a,_0x537e7e){var _0x225fbe=_0x3085eb;this[_0x225fbe(0x24c)][_0x225fbe(0x171)](_0x32053a,_0x537e7e),this['_updateStatus']();}[_0x3085eb(0x31f)](_0x57260f,_0x5bdc15){var _0x461f1e=_0x3085eb;const _0x19c688=[];let _0x55fb66=_0x5bdc15,_0x41e63d=_0x5bdc15;for(let _0x2b1c86=_0x57260f[_0x461f1e(0x32b)]-0x1;_0x2b1c86>=0x0;_0x2b1c86--){const {unitID:_0x34c22e,undoMutations:_0x59c206,redoMutations:_0x50582a}=_0x57260f[_0x2b1c86],_0x1324c3=this['_transformService'][_0x461f1e(0x1fe)](_0x55fb66,_0x59c206),_0x254518=this['_transformService']['transformMutationsWithChangeset'](_0x41e63d,_0x50582a);if(_0x48d286(_0x1324c3)||_0x48d286(_0x254518)){this[_0x461f1e(0x266)][_0x461f1e(0x269)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x1324c3,_0x254518);break;}_0x55fb66=_0x1324c3[_0x461f1e(0xe3)],_0x41e63d=_0x254518[_0x461f1e(0xe3)],_0x19c688[_0x461f1e(0x1c3)]({'unitID':_0x34c22e,'undoMutations':_0x1324c3[_0x461f1e(0x190)],'redoMutations':_0x254518[_0x461f1e(0x190)]});}return _0x19c688[_0x461f1e(0x37f)]();}};yt=hr([we(0x0,_0x892ae8),we(0x1,_0x51862d),we(0x2,_0x42675b),we(0x3,_0x20599e),we(0x4,_0x482beb)],yt);var _r=Object[_0x3085eb(0x29e)],lr=Object['getOwnPropertyDescriptor'],ur=(_0x28813c,_0x3a7d92,_0x4574e9)=>_0x3a7d92 in _0x28813c?_r(_0x28813c,_0x3a7d92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4574e9}):_0x28813c[_0x3a7d92]=_0x4574e9,dr=(_0x23ca50,_0x4c53d2,_0x3c8ffc,_0x58f538)=>{for(var _0x3cfdcb=_0x58f538>0x1?void 0x0:_0x58f538?lr(_0x4c53d2,_0x3c8ffc):_0x4c53d2,_0x1f0595=_0x23ca50['length']-0x1,_0x1724db;_0x1f0595>=0x0;_0x1f0595--)(_0x1724db=_0x23ca50[_0x1f0595])&&(_0x3cfdcb=_0x1724db(_0x3cfdcb)||_0x3cfdcb);return _0x3cfdcb;},mt=(_0x1d6a64,_0x39c408)=>(_0x51b20e,_0x2116bc)=>_0x39c408(_0x51b20e,_0x2116bc,_0x1d6a64),fr=(_0x13bc1a,_0x2cc4cc,_0x266e85)=>ur(_0x13bc1a,_0x2cc4cc+'',_0x266e85);const vr=_0x3085eb(0x200);let Nt=class extends _0x1b8275{constructor(_0x264947,_0x163ee5,_0xaf64b1,_0x5d82ff){var _0x45adf6=_0x3085eb;super(),N(this,'_config'),(this['_logService']=_0x163ee5,this[_0x45adf6(0x191)]=_0xaf64b1,this[_0x45adf6(0x201)]=_0x5d82ff);const {..._0xd850dc}=_0x331d89({},Ds,_0x264947);if(!_0xd850dc[_0x45adf6(0x263)])throw new Error(_0x45adf6(0x153));this['_config']=_0xd850dc,this[_0x45adf6(0x201)][_0x45adf6(0x1e3)](K,_0xd850dc);}[_0x3085eb(0x1f6)](){var _0x3b480e=_0x3085eb;this[_0x3b480e(0xf2)](),this[_0x3b480e(0x1b2)]();}[_0x3085eb(0xf2)](){var _0x314f9c=_0x3085eb,_0x142357,_0x332fbd;this[_0x314f9c(0x191)][_0x314f9c(0x1f3)](_0x52e66a)&&this[_0x314f9c(0x266)]['error']('[UniverCollaborationClientPlugin]',_0x314f9c(0x363));const _0x107d07=_0x12ba78([[_0x52e66a,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x314f9c(0x373)][_0x314f9c(0x263)]}],[_0x540a4e,{'useClass':Ot}],[_0x1f7e6f,{'useClass':Tt}],[_0x5d628a,{'useClass':Rt}],[_0x5c5879,{'useClass':bt}],[nt],[It]],(_0x142357=this[_0x314f9c(0x373)])==null?void 0x0:_0x142357[_0x314f9c(0x140)]);if(!((_0x332fbd=this['_config'])!=null&&_0x332fbd[_0x314f9c(0x17b)])){const _0x26e46f=_0x107d07['findIndex'](([_0x576224])=>_0x576224===ht);_0x26e46f!==-0x1&&_0x107d07[_0x314f9c(0x318)](_0x26e46f,0x1);}_0x4cd714(this[_0x314f9c(0x191)],_0x107d07);}[_0x3085eb(0x1b2)](){var _0x18a497=_0x3085eb,_0xe17c8b,_0x128f4c,_0x2f2a80;this[_0x18a497(0x191)][_0x18a497(0x21f)](_0xfd6f9c)[_0x18a497(0x344)]({'priority':0x14,'interceptor':_0x548ba0({'maxParallel':0x6})}),(_0xe17c8b=this[_0x18a497(0x373)])!=null&&_0xe17c8b[_0x18a497(0xd8)]||(_0x128f4c=this[_0x18a497(0x191)][_0x18a497(0x21f)](J,_0x5e8517[_0x18a497(0x1a4)]))==null||_0x128f4c['disableLocalCache'](),(_0x2f2a80=this[_0x18a497(0x373)])!=null&&_0x2f2a80['enableAuthServer']&&_0x59f3d0(this[_0x18a497(0x191)],[[rt]]),_0x59f3d0(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,_0x3085eb(0x20e),vr),Nt=dr([_0x56cc43(_0x4b656d,_0x2580aa),mt(0x1,_0x482beb),mt(0x2,_0x53dfbc(_0x49cf2d)),mt(0x3,_0x22b79b)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs 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,bt 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,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
1
+ var _0x72bb68=_0x3e8b;(function(_0x10bfbe,_0x1c68ac){var _0xba57b1=_0x3e8b,_0x14831b=_0x10bfbe();while(!![]){try{var _0x4d4b0e=parseInt(_0xba57b1(0x288))/0x1+parseInt(_0xba57b1(0x382))/0x2+parseInt(_0xba57b1(0x256))/0x3+parseInt(_0xba57b1(0x33d))/0x4+parseInt(_0xba57b1(0x2de))/0x5+-parseInt(_0xba57b1(0x1e5))/0x6*(parseInt(_0xba57b1(0x7f))/0x7)+-parseInt(_0xba57b1(0x2a2))/0x8;if(_0x4d4b0e===_0x1c68ac)break;else _0x14831b['push'](_0x14831b['shift']());}catch(_0x84d373){_0x14831b['push'](_0x14831b['shift']());}}}(_0x3795,0x63ed3));var Di=Object['defineProperty'],Ui=(_0x377946,_0x133c06,_0x22bec0)=>_0x133c06 in _0x377946?Di(_0x377946,_0x133c06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22bec0}):_0x377946[_0x133c06]=_0x22bec0,N=(_0x3f7274,_0x1b4f29,_0x5b6525)=>Ui(_0x3f7274,typeof _0x1b4f29!=_0x72bb68(0x385)?_0x1b4f29+'':_0x1b4f29,_0x5b6525);import{createIdentifier as _0x478483,Inject as _0x41311f,Injector as _0x4cac68,IConfigService as _0x19233d,ILogService as _0x39af9e,Disposable as _0x3b479f,DisposableCollection as _0x15e9f0,toDisposable as _0x6a388a,IUniverInstanceService as _0x4aee63,UserManagerService as _0x4fe951,UniverInstanceType as _0x20b46e,LocaleService as _0x1d4c3f,Optional as _0x3cf774,RxDisposable as _0x184f79,Tools as _0x33b377,Rectangle as _0x2e545e,ICommandService as _0xe29ee9,JSONX as _0x6c7d57,CommandType as _0x558bce,IUndoRedoService as _0x1032f6,IPermissionService as _0x10fa9c,sequenceExecute as _0xa7a5e8,Workbook as _0x4599fd,MentionType as _0x3441e3,isInternalEditorID as _0x1d12f5,LocalUndoRedoService as _0x5b5dbe,IContextService as _0x27aafd,DependentOn as _0x4e7c3d,Plugin as _0x71670f,merge as _0x262291,mergeOverrideWithDependencies as _0x3bbf66,IAuthzIoService as _0x443b62,IMentionIOService as _0x1a925e,registerDependencies as _0x21f56c,Quantity as _0x1a5943,touchDependencies as _0x4a48db}from'@univerjs/core';import{Subject as _0x29e22a,merge as _0x2cf726,of as _0x283c2a,BehaviorSubject as _0x50b1a3,takeUntil as _0x476de2,ReplaySubject as _0x1a811b,take as _0x8eeaf8,map as _0x11bcb9,shareReplay as _0x2e23ba,firstValueFrom as _0x23659e,concatMap as _0x5a191d}from'rxjs';import{map as _0x6504cb,take as _0x342dba,filter as _0x3f4fbb,delay as _0x4b23c7,takeUntil as _0x400782}from'rxjs/operators';import{CollaborationEvent as _0x528d02,ISnapshotServerService as _0x58f01b,parseChangesetToProtocol as _0x8d6978,ITransformService as _0x13d105,isTransformMutationsWithChangesetSuccess as _0x4eb0e0,mapDocumentTypeToUniverType as _0x5f0393,RevisionService as _0x2d82bd,isTransformChangesetsSuccess as _0x3cf099,CompressMutationService as _0x58b918,parseProtocolChangeset as _0x131401,uuidv4 as _0x1da367,SnapshotService as _0x5ac07a,textEncoder as _0x4eae49,b64DecodeUnicode as _0x30f3bb,isTransformMutationsWithChangesetFailure as _0x162bf7,UniverCollaborationPlugin as _0x43fd45}from'@univerjs-pro/collaboration';import{HTTPService as _0x4fe417,ISocketService as _0xcd360b,MergeInterceptorFactory as _0x1c2a31,HTTPRequest as _0x14ac51,UniverNetworkPlugin as _0x21ec6a,ThresholdInterceptorFactory as _0x46408f}from'@univerjs/network';import{ITelemetryService as _0xe3ff86}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x85a4d0}from'@univerjs/docs';import{SheetsSelectionsService as _0x1ec771,SetSelectionsOperation as _0x39686a,InsertSheetMutation as _0x1a947d,EmptyMutation as _0x5e1645,WorkbookEditablePermission as _0x134095,SheetPermissionInitController as _0x4a4ce9}from'@univerjs/sheets';import{ImageSourceType as _0x64dcf1,ImageUploadStatusType as _0x235bfe,IImageIoService as _0x47bf4f}from'@univerjs/drawing';import{getGlobalObject as _0x97c32f}from'@univerjs-pro/license';const fs=_0x72bb68(0x22c),vs=_0x72bb68(0x272),ps=_0x72bb68(0x1e1),yr=_0x72bb68(0x27b),ms=0x7d0,gs=_0x72bb68(0x327),Ss=_0x72bb68(0x2d0),Nr=_0x72bb68(0x135),Es=_0x72bb68(0x166),Is=0x7530,fi='HEARTBEAT_TIMEOUT',vi=0x4e20,Ts=0x4e20,Cs=_0x72bb68(0xeb),Rs=0x3,Dr=_0x72bb68(0xc3),Ur=0x3e8,bs=_0x72bb68(0x81),Os=_0x72bb68(0x2fc),ys=_0x72bb68(0x23f),Ns=_0x72bb68(0x176),Ar=_0x72bb68(0x311),wr=_0x72bb68(0x15e);var pi=(_0x31fca2=>(_0x31fca2[_0x31fca2['UNDEFINED']=0x0]='UNDEFINED',_0x31fca2[_0x31fca2['OK']=0x1]='OK',_0x31fca2[_0x31fca2['INTERNAL_ERROR']=0x2]=_0x72bb68(0x12e),_0x31fca2[_0x31fca2[_0x72bb68(0x2bf)]=0x3]=_0x72bb68(0x2bf),_0x31fca2[_0x31fca2[_0x72bb68(0x36e)]=0x4]=_0x72bb68(0x36e),_0x31fca2[_0x31fca2[_0x72bb68(0x187)]=0x5]='UNAUTHENTICATED',_0x31fca2[_0x31fca2[_0x72bb68(0x36f)]=0x6]=_0x72bb68(0x36f),_0x31fca2[_0x31fca2[_0x72bb68(0x91)]=0x7]=_0x72bb68(0x91),_0x31fca2[_0x31fca2[_0x72bb68(0xd9)]=0x8]=_0x72bb68(0xd9),_0x31fca2[_0x31fca2[_0x72bb68(0x9e)]=0x9]='COMPLETION_FINISHED',_0x31fca2[_0x31fca2['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x31fca2[_0x31fca2[_0x72bb68(0x1ae)]=0x1389]=_0x72bb68(0x1ae),_0x31fca2[_0x31fca2[_0x72bb68(0x234)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x31fca2[_0x31fca2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x31fca2[_0x31fca2[_0x72bb68(0x20e)]=0x1773]=_0x72bb68(0x20e),_0x31fca2[_0x31fca2[_0x72bb68(0xf5)]=0x1b59]=_0x72bb68(0xf5),_0x31fca2[_0x31fca2[_0x72bb68(0x101)]=0x1b5a]=_0x72bb68(0x101),_0x31fca2[_0x31fca2[_0x72bb68(0xf9)]=0x1b5b]=_0x72bb68(0xf9),_0x31fca2[_0x31fca2[_0x72bb68(0x175)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x31fca2[_0x31fca2[_0x72bb68(0x292)]=0x1b5d]=_0x72bb68(0x292),_0x31fca2[_0x31fca2[_0x72bb68(0x128)]=0x1f41]=_0x72bb68(0x128),_0x31fca2[_0x31fca2[_0x72bb68(0x1c3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x31fca2[_0x31fca2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x72bb68(0x207),_0x31fca2[_0x31fca2['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x72bb68(0xef),_0x31fca2[_0x31fca2[_0x72bb68(0x1e4)]=0x232c]=_0x72bb68(0x1e4),_0x31fca2[_0x31fca2[_0x72bb68(0x19d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x31fca2[_0x31fca2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x72bb68(0x1be),_0x31fca2[_0x31fca2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x72bb68(0x2fd),_0x31fca2[_0x31fca2[_0x72bb68(0xba)]=0x2713]=_0x72bb68(0xba),_0x31fca2[_0x31fca2[_0x72bb68(0x22e)]=0x2714]=_0x72bb68(0x22e),_0x31fca2[_0x31fca2[_0x72bb68(0x369)]=0x271a]=_0x72bb68(0x369),_0x31fca2[_0x31fca2['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x31fca2[_0x31fca2['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x72bb68(0x2d6),_0x31fca2[_0x31fca2[_0x72bb68(0x301)]=0x271d]=_0x72bb68(0x301),_0x31fca2[_0x31fca2[_0x72bb68(0x296)]=0x271e]=_0x72bb68(0x296),_0x31fca2[_0x31fca2[_0x72bb68(0x368)]=0x271f]=_0x72bb68(0x368),_0x31fca2[_0x31fca2[_0x72bb68(0x24e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x31fca2[_0x31fca2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x31fca2[_0x31fca2['INVALID_INVITE_CODE']=0x2ee2]=_0x72bb68(0xf1),_0x31fca2[_0x31fca2[_0x72bb68(0x171)]=0x2ee3]=_0x72bb68(0x171),_0x31fca2[_0x31fca2['USER_NOT_INVITED_CODE']=0x2ee4]=_0x72bb68(0x2f5),_0x31fca2[_0x31fca2[_0x72bb68(0x294)]=0x2ee5]=_0x72bb68(0x294),_0x31fca2[_0x31fca2['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x72bb68(0x1de),_0x31fca2[_0x31fca2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x72bb68(0x27a),_0x31fca2[_0x31fca2['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x31fca2[_0x31fca2[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x31fca2))(pi||{}),Z=(_0x26fa66=>(_0x26fa66[_0x26fa66[_0x72bb68(0x150)]=0x0]=_0x72bb68(0x150),_0x26fa66[_0x26fa66[_0x72bb68(0x357)]=0x1]=_0x72bb68(0x357),_0x26fa66[_0x26fa66[_0x72bb68(0x9d)]=0x2]=_0x72bb68(0x9d),_0x26fa66[_0x26fa66[_0x72bb68(0x381)]=0x3]=_0x72bb68(0x381),_0x26fa66[_0x26fa66['UNIVER_PROJECT']=0x4]=_0x72bb68(0x19e),_0x26fa66[_0x26fa66[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x26fa66))(Z||{}),F=(_0x3654ad=>(_0x3654ad[_0x3654ad[_0x72bb68(0x2bc)]=0x0]=_0x72bb68(0x2bc),_0x3654ad[_0x3654ad[_0x72bb68(0x299)]=0x1]=_0x72bb68(0x299),_0x3654ad[_0x3654ad['JOIN']=0x2]=_0x72bb68(0x1fa),_0x3654ad[_0x3654ad['LEAVE']=0x3]=_0x72bb68(0x31f),_0x3654ad[_0x3654ad[_0x72bb68(0x111)]=0x4]='INGEST',_0x3654ad[_0x3654ad['HEARTBEAT']=0x5]=_0x72bb68(0x22f),_0x3654ad[_0x3654ad['RECV']=0x6]='RECV',_0x3654ad[_0x3654ad[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x3654ad))(F||{}),me=(_0x35a0f4=>(_0x35a0f4[_0x35a0f4['UNKNOWN_CODE']=0x0]=_0x72bb68(0x180),_0x35a0f4[_0x35a0f4['OK']=0x1]='OK',_0x35a0f4[_0x35a0f4['FAIL']=0x2]=_0x72bb68(0x302),_0x35a0f4[_0x35a0f4['JOIN_ROOM_FULL']=0x3e9]=_0x72bb68(0x113),_0x35a0f4[_0x35a0f4[_0x72bb68(0x2e5)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x35a0f4[_0x35a0f4[_0x72bb68(0x80)]=0x3eb]=_0x72bb68(0x80),_0x35a0f4[_0x35a0f4[_0x72bb68(0x2da)]=0x3ec]=_0x72bb68(0x2da),_0x35a0f4[_0x35a0f4[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x35a0f4))(me||{}),mi=(_0x510f7d=>(_0x510f7d[_0x510f7d[_0x72bb68(0x376)]=0x0]=_0x72bb68(0x376),_0x510f7d[_0x510f7d[_0x72bb68(0x209)]=0x1]=_0x72bb68(0x209),_0x510f7d[_0x510f7d[_0x72bb68(0x30f)]=0x2]=_0x72bb68(0x30f),_0x510f7d[_0x510f7d['UnitEmbedded']=0x3]=_0x72bb68(0x33b),_0x510f7d[_0x510f7d[_0x72bb68(0x31e)]=0x4]=_0x72bb68(0x31e),_0x510f7d[_0x510f7d[_0x72bb68(0x206)]=0x5]=_0x72bb68(0x206),_0x510f7d[_0x510f7d[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x510f7d))(mi||{});const K=_0x72bb68(0x274),Ds={};var ne=(_0x3c5c39=>(_0x3c5c39[_0x72bb68(0x2e7)]=_0x72bb68(0x2e7),_0x3c5c39[_0x72bb68(0x2bf)]=_0x72bb68(0x2bf),_0x3c5c39[_0x72bb68(0x325)]=_0x72bb68(0x325),_0x3c5c39[_0x72bb68(0x2b7)]=_0x72bb68(0x2b7),_0x3c5c39[_0x72bb68(0x153)]=_0x72bb68(0x153),_0x3c5c39[_0x72bb68(0x37d)]=_0x72bb68(0x37d),_0x3c5c39[_0x72bb68(0x20b)]='SOCKET_FAILED',_0x3c5c39[_0x72bb68(0x21e)]=_0x72bb68(0x21e),_0x3c5c39))(ne||{});class ve{constructor(){var _0x9e9aaa=_0x72bb68;N(this,_0x9e9aaa(0x14f),new _0x29e22a()),N(this,_0x9e9aaa(0x25e),this['_event$'][_0x9e9aaa(0xdc)]());}['emitEvent'](_0x3f2ff1){var _0xc76d7e=_0x72bb68;this[_0xc76d7e(0x14f)][_0xc76d7e(0x173)](_0x3f2ff1);}}const Us=_0x478483(_0x72bb68(0x36b));function As(_0x372f79){var _0x4187cf=_0x72bb68,_0x490c2b,_0x48b59a,_0xaf49ba,_0x34183e,_0x2667f4;const _0x3cc78a=_0x372f79[_0x4187cf(0x13c)],_0xff754=JSON[_0x4187cf(0x12b)](_0x3cc78a);switch(_0xff754[_0x4187cf(0x17b)]){case F[_0x4187cf(0x22f)]:case F[_0x4187cf(0x299)]:{const _0xcd7875=_0xff754[_0x4187cf(0x16b)];return{..._0xff754,'data':_0xcd7875,'cmd':_0xff754[_0x4187cf(0x17b)]};}case F['JOIN']:{const _0x4c5fd1=_0xff754[_0x4187cf(0x181)];return{..._0xff754,'data':_0x4c5fd1,'cmd':_0xff754[_0x4187cf(0x17b)]};}case F[_0x4187cf(0x2a8)]:{const _0x4a4dc6=_0xff754[_0x4187cf(0xcd)];switch(_0x4a4dc6[_0x4187cf(0x1ce)]){case _0x528d02[_0x4187cf(0x295)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x490c2b=_0x4a4dc6[_0x4187cf(0x353)])==null?void 0x0:_0x490c2b['cs']},'cmd':_0xff754['cmd']};case _0x528d02['CHANGESET_ACK']:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x48b59a=_0x4a4dc6[_0x4187cf(0x200)])==null?void 0x0:_0x48b59a['cs']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x1ef)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0xaf49ba=_0x4a4dc6[_0x4187cf(0x2f9)])==null?void 0x0:_0xaf49ba['cs']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02['CHANGESET_REJ']:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x34183e=_0x4a4dc6['csRejEvent'])==null?void 0x0:_0x34183e['cs']},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0x15a)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x2667f4=_0x4a4dc6[_0x4187cf(0x22a)])==null?void 0x0:_0x2667f4['cs']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x33c)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x199)]},'cmd':_0xff754['cmd']};case _0x528d02['USERS_ENTER']:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x240)]},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0x2e6)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x110)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x2be)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x1c4)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x284)]:case _0x528d02[_0x4187cf(0xfc)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x2c0)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x20a)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x1c4)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x2df)]:return{..._0xff754,'data':_0x4a4dc6,'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x1a9)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x14e)]},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0x290)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6['updatePermissionObjEvent']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02['SHOULD_CLOSE_CONN']:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x1d7)]},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0xdd)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x308)]},'cmd':_0xff754['cmd']};default:return _0xff754;}}default:return _0xff754;}}function ws(_0x16d6e7){var _0x4a453d=_0x72bb68;switch(_0x16d6e7[_0x4a453d(0x17b)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x4a453d(0x384)]({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7['routeKey']});case F['INGEST']:{let _0x1000c8;switch(_0x16d6e7[_0x4a453d(0x13c)]['eventID']){case _0x528d02[_0x4a453d(0x33c)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x33c)],'updateCursorEvent':_0x16d6e7['data'][_0x4a453d(0x13c)]};break;}case _0x528d02['USERS_LEAVE']:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x2e6)],'leaveEvent':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x328)]:{_0x1000c8={'eventID':_0x528d02['USERS_ENTER'],'joinEvent':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x2be)]:{_0x1000c8={'eventID':_0x528d02['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x16d6e7['data'][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0xfc)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0xfc)],'liveShareOperation':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x20a)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x20a)],'liveShareTerminate':_0x16d6e7[_0x4a453d(0x13c)]['data']};break;}case _0x528d02[_0x4a453d(0x252)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x252)],'liveShareRequestHost':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x284)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x284)]};break;}default:_0x1000c8={'eventID':_0x16d6e7[_0x4a453d(0x13c)]['eventID']};}return JSON['stringify']({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7[_0x4a453d(0x355)],'collaMsg':_0x1000c8});}case F[_0x4a453d(0x1fa)]:return JSON['stringify']({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7[_0x4a453d(0x355)],'joinReq':_0x16d6e7[_0x4a453d(0x13c)]});case F['LEAVE']:return JSON[_0x4a453d(0x384)]({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7[_0x4a453d(0x355)],'leaveReq':_0x16d6e7[_0x4a453d(0x13c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ps=Object[_0x72bb68(0x159)],Ls=(_0x39bf06,_0x29aacf,_0xccea89,_0x2dc1cc)=>{var _0x3ec137=_0x72bb68;for(var _0x51e5db=_0x2dc1cc>0x1?void 0x0:_0x2dc1cc?Ps(_0x29aacf,_0xccea89):_0x29aacf,_0x1c9da9=_0x39bf06[_0x3ec137(0x182)]-0x1,_0x3a09e1;_0x1c9da9>=0x0;_0x1c9da9--)(_0x3a09e1=_0x39bf06[_0x1c9da9])&&(_0x51e5db=_0x3a09e1(_0x51e5db)||_0x51e5db);return _0x51e5db;},Ue=(_0xbda304,_0x32311b)=>(_0x2c4a9d,_0x3a33df)=>_0x32311b(_0x2c4a9d,_0x3a33df,_0xbda304);const gi=_0x478483(_0x72bb68(0xdf));function Ms(_0x29e9d4,_0x59afd4,_0x5f59bf){var _0xa5bd6a=_0x72bb68;return _0x29e9d4+'/'+_0x59afd4+_0xa5bd6a(0x340)+_0x5f59bf+'/new_changes';}let Ft=class extends _0x3b479f{constructor(_0x4626b3,_0x3b5057,_0x54b01e,_0x2f1273,_0x186dd6){var _0x10ddd4=_0x72bb68;super(),this[_0x10ddd4(0x37c)]=_0x4626b3,this[_0x10ddd4(0x367)]=_0x3b5057,this['_configService']=_0x54b01e,this['_logService']=_0x2f1273,this['_snapshotServerService']=_0x186dd6;}['_doCreateSocket'](_0x226d81){var _0x304c82=_0x72bb68;const _0x5e3e5e=this[_0x304c82(0x37c)][_0x304c82(0x283)](_0xcd360b);if(!_0x5e3e5e)throw new Error(_0x304c82(0x238));const _0x1e5c18=_0x5e3e5e[_0x304c82(0x372)](_0x226d81);if(!_0x1e5c18)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3ac5b4=new _0x15e9f0(),_0x45a1ae=new _0x29e22a();_0x3ac5b4[_0x304c82(0x33e)](_0x1e5c18[_0x304c82(0x219)][_0x304c82(0x7d)](_0x2c4419=>_0x45a1ae[_0x304c82(0x173)](_0x2c4419))),_0x3ac5b4[_0x304c82(0x33e)](_0x6a388a(()=>_0x45a1ae[_0x304c82(0x8c)]()));const _0x4e1fea=new _0x29e22a();_0x3ac5b4['add'](_0x1e5c18['error$']['subscribe'](_0x22a4aa=>_0x4e1fea[_0x304c82(0x173)](_0x22a4aa))),_0x3ac5b4['add'](_0x6a388a(()=>_0x4e1fea[_0x304c82(0x8c)]()));const _0x5ac634=new _0x29e22a();_0x3ac5b4['add'](_0x1e5c18[_0x304c82(0x124)][_0x304c82(0x7d)](_0x7732ec=>{const _0x9a94af=As(_0x7732ec);_0x5ac634['next'](_0x9a94af);})),_0x3ac5b4[_0x304c82(0x33e)](_0x6a388a(()=>_0x5ac634['complete']()));let _0x15aad4;const _0x16282e=()=>{var _0x3ae4c7=_0x304c82;_0x4e1fea['next'](new Event(_0x3ae4c7(0x15b))),_0x45a1ae['next'](new Event(_0x3ae4c7(0x15b))),_0x15aad4[_0x3ae4c7(0x246)]();};return _0x15aad4={'memberID':'','close$':_0x45a1ae[_0x304c82(0xdc)](),'error$':_0x4e1fea['asObservable'](),'open$':_0x1e5c18[_0x304c82(0x162)],'message$':_0x5ac634['asObservable'](),'send':_0x574e75=>{var _0x40148b=_0x304c82;if(_0x574e75['cmd']===F[_0x40148b(0x111)]){if(_0x574e75[_0x40148b(0x13c)][_0x40148b(0x1ce)]===_0x528d02[_0x40148b(0x8b)]){this[_0x40148b(0x348)](_0x15aad4,_0x574e75[_0x40148b(0x13c)])[_0x40148b(0x244)](_0x5ca461=>{var _0x36296a=_0x40148b;this[_0x36296a(0xde)]['error'](_0x5ca461),_0x16282e();});return;}if(_0x574e75[_0x40148b(0x13c)][_0x40148b(0x1ce)]===_0x528d02['FETCH_MISSING']){const _0x27e08a=_0x574e75[_0x40148b(0x13c)];this[_0x40148b(0x259)](_0x27e08a)[_0x40148b(0xae)](_0x5e9a7d=>{var _0x2abb49=_0x40148b;_0x5ac634['next']({'cmd':F[_0x2abb49(0x2a8)],'code':me['OK'],'routeKey':_0x27e08a['data']['unitID'],'routeType':'','data':{'eventID':_0x528d02[_0x2abb49(0x94)],'data':{'changesets':_0x5e9a7d}}});})[_0x40148b(0x244)](_0x3e870b=>{this['_logService']['error'](_0x3e870b),_0x16282e();});return;}}_0x1e5c18[_0x40148b(0x341)](ws(_0x574e75));},'close':()=>{var _0x433fd8=_0x304c82;_0x1e5c18[_0x433fd8(0x246)](),_0x3ac5b4[_0x433fd8(0x97)]();}},_0x15aad4;}async[_0x72bb68(0x348)](_0x274947,_0x511a2b){var _0x619171=_0x72bb68,_0x568e19,_0x1e549e;const {unitType:_0x53bcc2,unitID:_0x2888b5,changeset:_0x4e7ea6}=_0x511a2b[_0x619171(0x13c)],_0x18b073={'unitID':_0x2888b5,'memberID':_0x274947[_0x619171(0x1e6)],'type':_0x53bcc2,'changeset':_0x8d6978(_0x4e7ea6)},_0x2b1060=this[_0x619171(0x184)]['getConfig'](bs),_0x29d5d9=this[_0x619171(0x184)]['getConfig'](K),_0xa23619=Ms((_0x1e549e=(_0x568e19=_0x29d5d9==null?void 0x0:_0x29d5d9[_0x619171(0x2cb)])!=null?_0x568e19:_0x2b1060)!=null?_0x1e549e:Os,_0x53bcc2,_0x2888b5);try{await this[_0x619171(0x367)]['post'](_0xa23619,{'body':_0x18b073});}catch(_0x3d1e3c){throw this[_0x619171(0xde)][_0x619171(0x32f)](_0x619171(0x2c6),'submit\x20changeset\x20error!'),_0x3d1e3c;}}async['_fetchMissChangesets'](_0x4ed4ff){var _0x4d8662=_0x72bb68;const {unitID:_0x5ac433,from:_0x3f765c,to:_0x137b63,unitType:_0x3071fc}=_0x4ed4ff[_0x4d8662(0x13c)];return(await this['_snapshotServerService'][_0x4d8662(0x2ba)]({'metadata':void 0x0},{'unitID':_0x5ac433,'type':_0x3071fc,'from':_0x3f765c,'to':_0x137b63}))[_0x4d8662(0x123)];}};Ft=Ls([Ue(0x0,_0x41311f(_0x4cac68)),Ue(0x1,_0x41311f(_0x4fe417)),Ue(0x2,_0x19233d),Ue(0x3,_0x39af9e),Ue(0x4,_0x58f01b)],Ft);const xs='collaboration_new_changeset';function ks(_0x3a618a){var _0x471285=_0x72bb68;return JSON[_0x471285(0x384)](_0x3a618a)[_0x471285(0x182)];}class Si{constructor(){var _0x5e440b=_0x72bb68;N(this,'_commentUpdate$',new _0x29e22a()),N(this,_0x5e440b(0x378),this[_0x5e440b(0x178)][_0x5e440b(0xdc)]());}[_0x72bb68(0xe9)](_0x5b0b66){var _0x5ab585=_0x72bb68;this[_0x5ab585(0x178)][_0x5ab585(0x173)](_0x5b0b66);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0xa28a55,_0x15921f,_0x35d6cc,_0x2e987d)=>{var _0x252802=_0x72bb68;for(var _0x2ceee7=_0x2e987d>0x1?void 0x0:_0x2e987d?$s(_0x15921f,_0x35d6cc):_0x15921f,_0x4ef518=_0xa28a55[_0x252802(0x182)]-0x1,_0x515e0a;_0x4ef518>=0x0;_0x4ef518--)(_0x515e0a=_0xa28a55[_0x4ef518])&&(_0x2ceee7=_0x515e0a(_0x2ceee7)||_0x2ceee7);return _0x2ceee7;},Vt=(_0x367da9,_0x6180d3)=>(_0x173749,_0x453125)=>_0x6180d3(_0x173749,_0x453125,_0x367da9);let Pe=class extends _0x3b479f{constructor(_0x4cd48c,_0x57605f){var _0x1c280d=_0x72bb68;super(),N(this,'_roomMembers',new Map()),N(this,_0x1c280d(0x1c8),new _0x29e22a()),(this['_univerInstanceService']=_0x4cd48c,this[_0x1c280d(0x9f)]=_0x57605f,this[_0x1c280d(0x2c3)](_0x2cf726(this[_0x1c280d(0xf4)][_0x1c280d(0x2cc)](_0x20b46e[_0x1c280d(0x9d)])[_0x1c280d(0x2ea)](_0x6504cb(_0x257863=>_0x257863[_0x1c280d(0x2a0)]())),this[_0x1c280d(0xf4)][_0x1c280d(0x2cc)](_0x20b46e[_0x1c280d(0x357)])[_0x1c280d(0x2ea)](_0x6504cb(_0xcb54f7=>_0xcb54f7['getUnitId']())),this[_0x1c280d(0xf4)][_0x1c280d(0x2cc)](_0x20b46e[_0x1c280d(0x381)])[_0x1c280d(0x2ea)](_0x6504cb(_0x4a22aa=>_0x4a22aa[_0x1c280d(0x2a0)]())))[_0x1c280d(0x7d)](_0x1a4bfd=>this[_0x1c280d(0x337)](_0x1a4bfd))));}[_0x72bb68(0x29d)](_0x1d54fb){var _0x134e11=_0x72bb68;return this['_roomMembers']['has'](_0x1d54fb)?_0x283c2a(this[_0x134e11(0x8e)][_0x134e11(0x283)](_0x1d54fb)):this[_0x134e11(0x1c8)][_0x134e11(0x2ea)](_0x6504cb(_0x273b8d=>{var _0x4d99cc=_0x134e11;if(_0x273b8d===_0x1d54fb)return this[_0x4d99cc(0x8e)][_0x4d99cc(0x283)](_0x273b8d);}));}[_0x72bb68(0x315)](_0x2391b9){var _0xb71517=_0x72bb68;this[_0xb71517(0x9f)][_0xb71517(0x315)](_0x2391b9);}[_0x72bb68(0x2b5)](){var _0x301f8f=_0x72bb68;return this[_0x301f8f(0x9f)][_0x301f8f(0x2b5)]();}['updateMember'](_0x37bba4,_0x498a44){var _0x240c91=_0x72bb68;let _0x51bbd1=this[_0x240c91(0x8e)][_0x240c91(0x283)](_0x37bba4);_0x51bbd1||(_0x51bbd1=new Bs(),this['_roomMembers'][_0x240c91(0x1c2)](_0x37bba4,_0x51bbd1),this[_0x240c91(0x1c8)]['next'](_0x37bba4)),_0x51bbd1[_0x240c91(0x21c)](_0x498a44);}[_0x72bb68(0x16e)](_0x20cae1,_0x30d696){var _0x802c25=_0x72bb68;const _0x4d9d03=this[_0x802c25(0x8e)][_0x802c25(0x283)](_0x20cae1);_0x4d9d03&&_0x4d9d03[_0x802c25(0x16e)](_0x30d696);}[_0x72bb68(0x13d)](_0x57d29b){var _0x19b5d1=_0x72bb68;return this[_0x19b5d1(0x8e)][_0x19b5d1(0x283)](_0x57d29b);}[_0x72bb68(0x1f1)](_0x3ea134,_0x4d5e24){var _0x122866=_0x72bb68;const _0x1bb311=this['_roomMembers'][_0x122866(0x283)](_0x3ea134);if(_0x1bb311)return _0x1bb311[_0x122866(0x1f1)](_0x4d5e24);}[_0x72bb68(0x337)](_0x497b8d){var _0x56e50d=_0x72bb68;const _0x4a7d76=this[_0x56e50d(0x8e)][_0x56e50d(0x283)](_0x497b8d);_0x4a7d76&&(_0x4a7d76[_0x56e50d(0x97)](),this[_0x56e50d(0x8e)]['delete'](_0x497b8d));}[_0x72bb68(0x97)](){var _0x515008=_0x72bb68;this[_0x515008(0x8e)][_0x515008(0x16a)](_0x11c4cc=>_0x11c4cc[_0x515008(0x97)]()),this[_0x515008(0x8e)][_0x515008(0x318)](),this[_0x515008(0x1c8)][_0x515008(0x8c)]();}};Pe=Hs([Vt(0x0,_0x4aee63),Vt(0x1,_0x41311f(_0x4fe951))],Pe);class Bs extends _0x3b479f{constructor(){var _0x28bb25=_0x72bb68;super(...arguments),N(this,_0x28bb25(0x31b),new Map()),N(this,_0x28bb25(0xab),new _0x50b1a3(this[_0x28bb25(0x31b)])),N(this,_0x28bb25(0x289),this['_members$']['asObservable']());}['dispose'](){var _0x3e6a2a=_0x72bb68;this['_members'][_0x3e6a2a(0x318)]();}[_0x72bb68(0x21c)](_0x333a48){var _0x167a44=_0x72bb68;this['_members'][_0x167a44(0x1c2)](_0x333a48[_0x167a44(0x1e6)],_0x333a48),this[_0x167a44(0x18a)]();}[_0x72bb68(0x16e)](_0x436e96){var _0x4d350f=_0x72bb68;this[_0x4d350f(0x31b)][_0x4d350f(0x1d8)](_0x436e96);}['getMember'](_0x36b474){var _0x588a80=_0x72bb68;return this[_0x588a80(0x31b)][_0x588a80(0x283)](_0x36b474);}['getAllMembers'](){var _0x32f41f=_0x72bb68;return Array[_0x32f41f(0x1b7)](this[_0x32f41f(0x31b)]['values']());}[_0x72bb68(0x18a)](){var _0x3a7d28=_0x72bb68;this[_0x3a7d28(0xab)]['next'](this[_0x3a7d28(0x31b)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x4c2f08,_0x93ceff,_0x12e75b,_0x4352d4)=>{for(var _0x4241ee=_0x4352d4>0x1?void 0x0:_0x4352d4?js(_0x93ceff,_0x12e75b):_0x93ceff,_0x52e8fa=_0x4c2f08['length']-0x1,_0x5aec42;_0x52e8fa>=0x0;_0x52e8fa--)(_0x5aec42=_0x4c2f08[_0x52e8fa])&&(_0x4241ee=_0x5aec42(_0x4241ee)||_0x4241ee);return _0x4241ee;},pe=(_0x3ca388,_0x5ca108)=>(_0x2381cf,_0x5a2161)=>_0x5ca108(_0x2381cf,_0x5a2161,_0x3ca388),Se=(_0x5192f0=>(_0x5192f0[_0x5192f0[_0x72bb68(0x1b4)]=0x0]=_0x72bb68(0x1b4),_0x5192f0[_0x5192f0[_0x72bb68(0x99)]=0x1]='JOINING',_0x5192f0[_0x5192f0['OFFLINE']=0x2]=_0x72bb68(0x243),_0x5192f0[_0x5192f0[_0x72bb68(0x1fb)]=0x3]='ONLINE',_0x5192f0))(Se||{});const Gt={[me['FAIL']]:_0x72bb68(0x188),[me['JOIN_ROOM_FULL']]:_0x72bb68(0x194),[me[_0x72bb68(0x2e5)]]:'session.room-not-exists',[me['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x72bb68(0x142)};let gt=class extends _0x184f79{constructor(_0x41e412,_0x1f6f11,_0x4e9562,_0x263eca,_0x249b9b,_0x5a25ed,_0x13c019,_0x1071ef,_0xdb5f7c){var _0x356515=_0x72bb68;super(),N(this,_0x356515(0x300),new _0x50b1a3(0x0)),N(this,_0x356515(0x2a3),this[_0x356515(0x300)][_0x356515(0xdc)]()),N(this,_0x356515(0x14f),new _0x29e22a()),N(this,_0x356515(0x25e),this[_0x356515(0x14f)][_0x356515(0xdc)]()),N(this,_0x356515(0x280)),N(this,_0x356515(0x1d2)),N(this,_0x356515(0x310)),N(this,_0x356515(0x304),!0x1),N(this,_0x356515(0x25a),null),(this[_0x356515(0x28d)]=_0x41e412,this[_0x356515(0xde)]=_0x4e9562,this[_0x356515(0x184)]=_0x263eca,this[_0x356515(0x287)]=_0x249b9b,this[_0x356515(0xf8)]=_0x5a25ed,this['_commentService']=_0x13c019,this[_0x356515(0x37b)]=_0x1071ef,this[_0x356515(0x2ef)]=_0xdb5f7c,this[_0x356515(0x304)]=!!this[_0x356515(0x2ef)],_0x1f6f11[_0x356515(0x2ea)](_0x476de2(this[_0x356515(0x17a)]))[_0x356515(0x7d)](_0x5e4033=>{var _0x1bd631=_0x356515,_0x2ac978;typeof _0x5e4033>'u'||(this['_socket']=_0x5e4033,_0x5e4033?(this[_0x1bd631(0x2af)](_0x5e4033),this[_0x1bd631(0x1d2)]=_0x5e4033[_0x1bd631(0x124)][_0x1bd631(0x7d)](_0x5efdca=>{var _0x122c28=_0x1bd631;_0x5efdca[_0x122c28(0x355)]===this[_0x122c28(0x28d)]&&this[_0x122c28(0x2e3)](_0x5efdca);})):(this[_0x1bd631(0x375)](),this[_0x1bd631(0x300)]['next'](0x2),(_0x2ac978=this[_0x1bd631(0x1d2)])==null||_0x2ac978[_0x1bd631(0x18e)](),this[_0x1bd631(0x1d2)]=null));}));}get[_0x72bb68(0x134)](){var _0x4e0242=_0x72bb68;return this[_0x4e0242(0x300)][_0x4e0242(0x112)]();}['getMemberID'](){var _0x211f09=_0x72bb68,_0x447760,_0x4d7e07;return(_0x4d7e07=(_0x447760=this['_socket'])==null?void 0x0:_0x447760[_0x211f09(0x1e6)])!=null?_0x4d7e07:null;}['dispose'](){var _0x31b2d1=_0x72bb68;super[_0x31b2d1(0x97)](),this['dispose$'][_0x31b2d1(0x173)](),this[_0x31b2d1(0x17a)][_0x31b2d1(0x8c)]();}[_0x72bb68(0x246)](){var _0x1cd4fd=_0x72bb68,_0x54f5ba,_0x5b7d00;this[_0x1cd4fd(0x375)](),(_0x54f5ba=this[_0x1cd4fd(0x280)])==null||_0x54f5ba[_0x1cd4fd(0x341)]({'cmd':F[_0x1cd4fd(0x31f)],'data':{'roomID':this[_0x1cd4fd(0x28d)]}}),(_0x5b7d00=this[_0x1cd4fd(0x280)])==null||_0x5b7d00[_0x1cd4fd(0x246)](),this[_0x1cd4fd(0x14f)][_0x1cd4fd(0x8c)](),this['_sessionStatus$'][_0x1cd4fd(0x8c)](),this[_0x1cd4fd(0x97)]();}[_0x72bb68(0x2e3)](_0x57000c){var _0xadbda3=_0x72bb68;_0x57000c['cmd']===F[_0xadbda3(0x1fa)]?this[_0xadbda3(0x2ce)](_0x57000c):_0x57000c[_0xadbda3(0x17b)]===F['RECV']&&this[_0xadbda3(0x114)](_0x57000c);}['_joinRoom'](_0x1abd10){var _0x51f45a=_0x72bb68;this[_0x51f45a(0x300)]['next'](0x1),_0x1abd10['send']({'cmd':F[_0x51f45a(0x1fa)],'routeKey':this[_0x51f45a(0x28d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x51f45a(0x28d)]}]}});}[_0x72bb68(0x2ce)](_0x4ba0aa){var _0x53843f=_0x72bb68,_0x2f364e;if(_0x4ba0aa[_0x53843f(0x365)]in Gt){this[_0x53843f(0x37b)][_0x53843f(0x326)]({'id':ne[_0x53843f(0x153)],'data':Gt[_0x4ba0aa[_0x53843f(0x365)]]}),this[_0x53843f(0x300)]['next'](0x2);return;}this[_0x53843f(0x300)][_0x53843f(0x173)](0x3);const _0x4410ec=(_0x2f364e=_0x4ba0aa[_0x53843f(0x13c)][_0x53843f(0x204)][this[_0x53843f(0x28d)]])==null?void 0x0:_0x2f364e[_0x53843f(0x21a)];_0x4410ec&&_0x4410ec['forEach'](_0x21d9d4=>this[_0x53843f(0xf8)][_0x53843f(0x21c)](this[_0x53843f(0x28d)],_0x21d9d4));}[_0x72bb68(0x114)](_0x39d745){var _0x3984ef=_0x72bb68;try{const _0x367dc6=_0x39d745[_0x3984ef(0x13c)];switch(_0x367dc6[_0x3984ef(0x1ce)]){case _0x528d02[_0x3984ef(0x328)]:this[_0x3984ef(0x2b3)](_0x367dc6),this['_event$'][_0x3984ef(0x173)](_0x367dc6);break;case _0x528d02[_0x3984ef(0x2e6)]:this[_0x3984ef(0x205)](_0x367dc6),this[_0x3984ef(0x14f)]['next'](_0x367dc6);break;case _0x528d02[_0x3984ef(0x185)]:case _0x528d02[_0x3984ef(0x15a)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3984ef(0x264)](),this[_0x3984ef(0x14f)][_0x3984ef(0x173)](_0x367dc6);break;case _0x528d02[_0x3984ef(0x2df)]:this[_0x3984ef(0xde)][_0x3984ef(0x32f)](_0x3984ef(0x263)+JSON[_0x3984ef(0x384)](_0x367dc6)),this[_0x3984ef(0x14f)][_0x3984ef(0x173)](_0x367dc6);break;case _0x528d02[_0x3984ef(0x1a9)]:this['_commentService'][_0x3984ef(0xe9)](_0x367dc6[_0x3984ef(0x13c)]),this[_0x3984ef(0x14f)][_0x3984ef(0x173)](_0x367dc6);break;default:this[_0x3984ef(0x14f)]['next'](_0x367dc6);}}catch(_0x51e5af){this[_0x3984ef(0xde)]['error'](_0x51e5af,_0x39d745);}}['_onUserJoin'](_0x232b27){var _0x283511=_0x72bb68;this[_0x283511(0xf8)][_0x283511(0x21c)](this[_0x283511(0x28d)],_0x232b27[_0x283511(0x13c)]);}['_onUserLeave'](_0xd26681){var _0x15b2d5=_0x72bb68;this[_0x15b2d5(0xf8)][_0x15b2d5(0x16e)](this[_0x15b2d5(0x28d)],_0xd26681[_0x15b2d5(0x13c)]['memberID']);}async['send'](_0x880b85,_0x282924){var _0x38aa7e=_0x72bb68;if(this[_0x38aa7e(0x134)]!==0x3||!this[_0x38aa7e(0x280)])throw new Error(_0x38aa7e(0x2e2));try{_0x880b85[_0x38aa7e(0x1ce)]===_0x528d02[_0x38aa7e(0x8b)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x38aa7e(0x88)](_0x880b85)),this['_socket'][_0x38aa7e(0x341)]({'cmd':F['INGEST'],'routeKey':_0x282924,'routeType':'','data':_0x880b85});}catch(_0x5d78ed){this[_0x38aa7e(0xde)][_0x38aa7e(0x32f)](_0x5d78ed);}}['_scheduleCollaborationTimeoutTimer'](){var _0x4bcbb7=_0x72bb68,_0x3d5791;this[_0x4bcbb7(0x310)]=setTimeout(()=>{var _0x240f12=_0x4bcbb7;this['_collaborationTimeoutTimer']=null,this[_0x240f12(0x37b)]['emitEvent']({'id':ne[_0x240f12(0x21e)]});},(_0x3d5791=this[_0x4bcbb7(0x184)][_0x4bcbb7(0x1e2)](fi))!=null?_0x3d5791:vi);}[_0x72bb68(0x264)](){var _0x331dd1=_0x72bb68;this[_0x331dd1(0x310)]&&(clearTimeout(this[_0x331dd1(0x310)]),this[_0x331dd1(0x310)]=null);}[_0x72bb68(0x88)](_0x355793){var _0x411305=_0x72bb68;if(!this[_0x411305(0x304)])return;const {data:_0xe86d58}=_0x355793,{unitID:_0x14207a,changeset:_0x335a11}=_0xe86d58,{mutations:_0x52bd92,type:_0x21187d}=_0x335a11;this[_0x411305(0x25a)]={'unitId':_0x14207a,'type':_0x21187d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ks(_0x52bd92)};}[_0x72bb68(0x84)](){var _0x2ae487=_0x72bb68;if(this[_0x2ae487(0x304)]){if(!this['_telemetryInfo']){this[_0x2ae487(0xde)]['error'](_0x2ae487(0x2c6),_0x2ae487(0xb4));return;}this[_0x2ae487(0x25a)][_0x2ae487(0x298)]=performance[_0x2ae487(0x10d)](),this[_0x2ae487(0x25a)][_0x2ae487(0x335)]=this[_0x2ae487(0x25a)][_0x2ae487(0x298)]-this[_0x2ae487(0x25a)][_0x2ae487(0x33a)],this[_0x2ae487(0x2ef)]['capture'](xs,this[_0x2ae487(0x25a)]),this[_0x2ae487(0x25a)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4915ba=_0x72bb68;this[_0x4915ba(0x25a)]=null;}};gt=Fs([pe(0x2,_0x39af9e),pe(0x3,_0x19233d),pe(0x4,_0x41311f(_0x1d4c3f)),pe(0x5,_0x41311f(Pe)),pe(0x6,_0x41311f(Si)),pe(0x7,_0x41311f(ve)),pe(0x8,_0x3cf774(_0xe3ff86))],gt);var Vs=Object['getOwnPropertyDescriptor'],Gs=(_0x1ac5b3,_0x46a99e,_0x4e7f82,_0x529a56)=>{var _0x49175c=_0x72bb68;for(var _0xebbb3b=_0x529a56>0x1?void 0x0:_0x529a56?Vs(_0x46a99e,_0x4e7f82):_0x46a99e,_0x3655a2=_0x1ac5b3[_0x49175c(0x182)]-0x1,_0x360a0f;_0x3655a2>=0x0;_0x3655a2--)(_0x360a0f=_0x1ac5b3[_0x3655a2])&&(_0xebbb3b=_0x360a0f(_0xebbb3b)||_0xebbb3b);return _0xebbb3b;},Re=(_0x1b0bd1,_0x1d7de0)=>(_0xe8cc46,_0xdb1748)=>_0x1d7de0(_0xe8cc46,_0xdb1748,_0x1b0bd1);let Le=class extends _0x3b479f{constructor(_0x43b180,_0xb389ed,_0xac822e,_0x1b3544,_0x55898b,_0x67c7e){var _0x8a2f05=_0x72bb68;super(),N(this,_0x8a2f05(0x190),new _0x50b1a3(void 0x0)),N(this,_0x8a2f05(0xfd),this[_0x8a2f05(0x190)][_0x8a2f05(0xdc)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x8a2f05(0xa7),new _0x50b1a3(Se['IDLE'])),N(this,_0x8a2f05(0x2b2),this[_0x8a2f05(0xa7)][_0x8a2f05(0xdc)]()),N(this,_0x8a2f05(0x86),!0x1),N(this,_0x8a2f05(0x11f)),N(this,_0x8a2f05(0x28f),0x0),N(this,_0x8a2f05(0x11e)),N(this,_0x8a2f05(0x10e)),(this[_0x8a2f05(0x37c)]=_0x43b180,this[_0x8a2f05(0xde)]=_0xb389ed,this[_0x8a2f05(0x184)]=_0xac822e,this['_socketService']=_0x1b3544,this[_0x8a2f05(0x37b)]=_0x55898b,this[_0x8a2f05(0xe0)]=_0x67c7e,this[_0x8a2f05(0x13a)]());}get[_0x72bb68(0x280)](){var _0x2fce2f=_0x72bb68;return this[_0x2fce2f(0x190)]['getValue']();}[_0x72bb68(0x13a)](){var _0xb8f858=_0x72bb68;this[_0xb8f858(0xe0)]&&this[_0xb8f858(0x2c3)](this[_0xb8f858(0xe0)][_0xb8f858(0x30d)][_0xb8f858(0x7d)](_0x13a8c7=>{var _0x3edc35=_0xb8f858;_0x13a8c7&&!this[_0x3edc35(0x280)]&&this[_0x3edc35(0x1b2)](),_0x13a8c7||this[_0x3edc35(0x160)]();}));}[_0x72bb68(0x97)](){var _0x18876e=_0x72bb68;super[_0x18876e(0x97)](),this[_0x18876e(0x1e3)](),this['_clearTimeoutTimer'](),this[_0x18876e(0x174)](),this[_0x18876e(0x179)][_0x18876e(0x16a)](_0x11743c=>_0x11743c[_0x18876e(0x97)]()),this[_0x18876e(0x179)][_0x18876e(0x318)](),this[_0x18876e(0xa7)][_0x18876e(0x8c)]();}async[_0x72bb68(0xbe)](_0x1f7cc0){var _0x211c34=_0x72bb68;if(this[_0x211c34(0x179)]['has'](_0x1f7cc0))return this['_sessions'][_0x211c34(0x283)](_0x1f7cc0);this[_0x211c34(0x2c9)]();const _0x3c01a0=this[_0x211c34(0x37c)]['createInstance'](gt,_0x1f7cc0,this['_socket$'][_0x211c34(0xdc)]());return this['_sessions'][_0x211c34(0x1c2)](_0x1f7cc0,_0x3c01a0),_0x3c01a0;}['closeSession'](_0x566989){var _0x29ad0b=_0x72bb68,_0x2b1da1;const _0x41150d=this['_sessions'][_0x29ad0b(0x283)](_0x566989);_0x41150d&&(this[_0x29ad0b(0x179)][_0x29ad0b(0x1d8)](_0x566989),_0x41150d[_0x29ad0b(0x246)]()),this[_0x29ad0b(0x179)][_0x29ad0b(0x1ab)]||(_0x2b1da1=this[_0x29ad0b(0x280)])==null||_0x2b1da1[_0x29ad0b(0x246)]();}[_0x72bb68(0x1b2)](){var _0x29f8dd=_0x72bb68;this[_0x29f8dd(0x28f)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x29f8dd(0x370)]();}[_0x72bb68(0x1e3)](){var _0x5a0e33=_0x72bb68;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x5a0e33(0x11f)]),this[_0x5a0e33(0x11f)]=null);}async[_0x72bb68(0x32d)](){var _0x580252=_0x72bb68,_0xb7309,_0x400939;const _0x19ed81=this[_0x580252(0x184)][_0x580252(0x1e2)](gs),_0x3bb03f=this[_0x580252(0x184)][_0x580252(0x1e2)](K),_0x20a64d=(_0x400939=(_0xb7309=_0x3bb03f==null?void 0x0:_0x3bb03f[_0x580252(0x297)])!=null?_0xb7309:_0x19ed81)!=null?_0x400939:Ss,_0x2952db=await this[_0x580252(0x1c1)][_0x580252(0x372)](_0x20a64d);return this[_0x580252(0x20c)]=_0x2952db,_0x2952db;}async[_0x72bb68(0x2c9)](){var _0x5cc2d5=_0x72bb68,_0x357ef2,_0xdf41cd;try{const _0x25ca08=(_0xdf41cd=(_0x357ef2=this[_0x5cc2d5(0x280)])!=null?_0x357ef2:this['_candidateSocket'])!=null?_0xdf41cd:await this[_0x5cc2d5(0x32d)]();if(_0x25ca08){const _0x3fcca1=_0x25ca08[_0x5cc2d5(0x341)];_0x25ca08[_0x5cc2d5(0x341)]=_0x100ddf=>(this['_rescheduleHeartbeat'](),_0x3fcca1[_0x5cc2d5(0x1cf)](_0x25ca08,[_0x100ddf])),_0x25ca08[_0x5cc2d5(0x124)][_0x5cc2d5(0x7d)](_0x2aecc5=>this[_0x5cc2d5(0xa2)](_0x25ca08,_0x2aecc5)),_0x25ca08[_0x5cc2d5(0xea)][_0x5cc2d5(0x2ea)](_0x342dba(0x1))[_0x5cc2d5(0x7d)](_0xb73fc2=>this['_logService']['error'](_0x5cc2d5(0x103),_0xb73fc2)),_0x25ca08[_0x5cc2d5(0x162)][_0x5cc2d5(0x2ea)](_0x342dba(0x1))[_0x5cc2d5(0x7d)](()=>{var _0x4d30e1=_0x5cc2d5;this[_0x4d30e1(0x126)](_0x25ca08);}),_0x25ca08[_0x5cc2d5(0x219)]['pipe'](_0x342dba(0x1))[_0x5cc2d5(0x7d)](_0x4a90f5=>{var _0x4c1228=_0x5cc2d5;this[_0x4c1228(0xde)][_0x4c1228(0x151)](_0x4c1228(0x2c2),'socket\x20close',_0x4a90f5),this['_onConnectionFailed']();});}}catch(_0x24a3bf){this[_0x5cc2d5(0xde)]['error'](_0x24a3bf),this[_0x5cc2d5(0x8f)]();}}[_0x72bb68(0x126)](_0x3c9173){var _0x1bae9d=_0x72bb68;this[_0x1bae9d(0xde)][_0x1bae9d(0x151)]('[CollaborationSessionService]',_0x1bae9d(0xbc)),_0x3c9173[_0x1bae9d(0x341)]({'cmd':F[_0x1bae9d(0x299)]}),this[_0x1bae9d(0x106)]();}[_0x72bb68(0x160)](){var _0x318e8d=_0x72bb68;this['_socketReady']=!0x1,this[_0x318e8d(0x20c)]=null,this[_0x318e8d(0xa7)]['next'](Se[_0x318e8d(0x243)]),this[_0x318e8d(0x190)]['next'](null),this[_0x318e8d(0x14d)](),this[_0x318e8d(0x174)]();}[_0x72bb68(0x8f)](){var _0x1c780e=_0x72bb68,_0x4fdf27;this[_0x1c780e(0x160)](),this[_0x1c780e(0x28f)]<((_0x4fdf27=this[_0x1c780e(0x184)]['getConfig'](Cs))!=null?_0x4fdf27:Rs)?(this[_0x1c780e(0x37b)][_0x1c780e(0x326)]({'id':ne[_0x1c780e(0x37d)]}),this['_tryReconnect']()):this[_0x1c780e(0x37b)][_0x1c780e(0x326)]({'id':ne[_0x1c780e(0x20b)]});}[_0x72bb68(0x370)](){var _0x2ec8d2=_0x72bb68,_0x2e5ae2;const _0x1a260d=this[_0x2ec8d2(0x28f)],_0x4d96b8=this[_0x2ec8d2(0x184)][_0x2ec8d2(0x1e2)](K),_0x436468=_0x1a260d===0x0?0x0:((_0x2e5ae2=_0x4d96b8==null?void 0x0:_0x4d96b8['retryConnectingInterval'])!=null?_0x2e5ae2:Ts)*0x2**_0x1a260d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x16f0c5=_0x2ec8d2;clearTimeout(this[_0x16f0c5(0x11f)]),this['_retryConnectingTimer']=null,this[_0x16f0c5(0x2c9)]();},_0x436468),this[_0x2ec8d2(0x28f)]+=0x1;}[_0x72bb68(0xa2)](_0x23c68d,_0x37f4f0){var _0x275743=_0x72bb68;const {cmd:_0x521719}=_0x37f4f0;_0x521719===F[_0x275743(0x299)]&&!this['_socketReady']&&(_0x23c68d[_0x275743(0x1e6)]=_0x37f4f0[_0x275743(0x13c)]['memberID'],this[_0x275743(0x190)][_0x275743(0x173)](_0x23c68d),this[_0x275743(0xa7)][_0x275743(0x173)](Se['ONLINE']),this['_socketReady']=!0x0,this[_0x275743(0x20c)]=null),_0x521719===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x275743(0x106)]();}[_0x72bb68(0x106)](){var _0x1a85bc=_0x72bb68,_0x4c118a;this[_0x1a85bc(0x174)](),this[_0x1a85bc(0x11e)]=setTimeout(()=>this[_0x1a85bc(0x133)](),(_0x4c118a=this[_0x1a85bc(0x184)][_0x1a85bc(0x1e2)](Es))!=null?_0x4c118a:Is);}[_0x72bb68(0x133)](){var _0x26a05e=_0x72bb68;this[_0x26a05e(0x280)][_0x26a05e(0x341)]({'cmd':F[_0x26a05e(0x22f)]}),this[_0x26a05e(0x307)]();}['_waitForHeartbeatResponse'](){var _0x206614=_0x72bb68,_0x1a9ae1;this['_timeoutTimer']=setTimeout(()=>this[_0x206614(0x8f)](),(_0x1a9ae1=this[_0x206614(0x184)][_0x206614(0x1e2)](fi))!=null?_0x1a9ae1:vi);}[_0x72bb68(0x174)](){var _0x5baec7=_0x72bb68;this[_0x5baec7(0x11e)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5baec7(0x11e)]=null);}[_0x72bb68(0x14d)](){var _0x1cc005=_0x72bb68;this[_0x1cc005(0x10e)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1cc005(0x10e)]=null);}};Le=Gs([Re(0x0,_0x41311f(_0x4cac68)),Re(0x1,_0x39af9e),Re(0x2,_0x19233d),Re(0x3,gi),Re(0x4,_0x41311f(ve)),Re(0x5,_0x3cf774(Us))],Le);const J=_0x478483(_0x72bb68(0x267));function Pr(_0xf27001){var _0x5bfbd8=_0x72bb68;return _0x5bfbd8(0x330)+_0xf27001;}var Ws=Object[_0x72bb68(0x159)],Ys=(_0x45846a,_0x392412,_0x4b2412,_0xe42a07)=>{for(var _0x443ea8=_0xe42a07>0x1?void 0x0:_0xe42a07?Ws(_0x392412,_0x4b2412):_0x392412,_0xec05c0=_0x45846a['length']-0x1,_0x5adc87;_0xec05c0>=0x0;_0xec05c0--)(_0x5adc87=_0x45846a[_0xec05c0])&&(_0x443ea8=_0x5adc87(_0x443ea8)||_0x443ea8);return _0x443ea8;},ut=(_0x5369d4,_0x4123e7)=>(_0x42f6cd,_0x42e7f4)=>_0x4123e7(_0x42f6cd,_0x42e7f4,_0x5369d4);function Ks(_0x91c93f){var _0x2a5067=_0x72bb68;const {unitID:_0x9fc40b,mutations:_0x413a93}=_0x91c93f;return{'unitId':_0x9fc40b,'subUnitId':_0x413a93[0x0][_0x2a5067(0x226)][_0x2a5067(0x14b)]};}let it=class{constructor(_0x2e4365,_0x172f9f,_0xc9015b){var _0x5e2cb3=_0x72bb68;this['_injector']=_0x2e4365,this[_0x5e2cb3(0x23a)]=_0x172f9f,this[_0x5e2cb3(0x10b)]=_0xc9015b;}['transformSelections'](_0x29cb7a){var _0x3d158d=_0x72bb68,_0x1ba12b,_0x28e5fa,_0x27fa6b,_0x9d82e9;const _0x1df18c=this[_0x3d158d(0x37c)][_0x3d158d(0x283)](_0x1ec771),{unitId:_0x1de151,subUnitId:_0x1dab06}=Ks(_0x29cb7a),_0x485d7d=_0x1df18c==null?void 0x0:_0x1df18c[_0x3d158d(0xc4)](_0x1de151)[_0x3d158d(0x35b)](),_0xab97c4=(_0x28e5fa=(_0x1ba12b=this[_0x3d158d(0x10b)][_0x3d158d(0x164)](_0x1de151))==null?void 0x0:_0x1ba12b[_0x3d158d(0x33f)]())==null?void 0x0:_0x28e5fa['getSheetId']();if(_0x485d7d[_0x3d158d(0x182)]===0x0||!_0x1de151||!_0x1dab06)return;const _0x24dd8a=[{'id':_0x39686a['id'],'params':{'unitId':_0x1de151,'subUnitId':_0xab97c4,'selections':_0x33b377['deepClone'](_0x485d7d)}}],_0x43d7ce=this[_0x3d158d(0x23a)][_0x3d158d(0x16f)](_0x29cb7a,_0x24dd8a);if(!_0x4eb0e0(_0x43d7ce))throw _0x43d7ce[_0x3d158d(0x32f)];const _0x430a40=(_0x9d82e9=(_0x27fa6b=_0x43d7ce[_0x3d158d(0x1df)][0x0])==null?void 0x0:_0x27fa6b[_0x3d158d(0x226)])==null?void 0x0:_0x9d82e9[_0x3d158d(0x257)];if(Array[_0x3d158d(0x1ca)](_0x430a40)&&_0x430a40[_0x3d158d(0x182)]){if(_0x430a40['length']===_0x24dd8a[0x0][_0x3d158d(0x226)]['selections'][_0x3d158d(0x182)]&&_0x430a40[_0x3d158d(0x7e)]((_0x228405,_0x291521)=>_0x2e545e[_0x3d158d(0x156)](_0x228405[_0x3d158d(0x2b1)],_0x24dd8a[0x0]['params'][_0x3d158d(0x257)][_0x291521]['range'])))return;this[_0x3d158d(0x37c)][_0x3d158d(0x283)](_0xe29ee9)[_0x3d158d(0x36a)](_0x39686a['id'],{'unitId':_0x1de151,'subUnitId':_0xab97c4,'selections':_0x430a40});}}};it=Ys([ut(0x0,_0x41311f(_0x4cac68)),ut(0x1,_0x13d105),ut(0x2,_0x4aee63)],it);const ht=_0x478483(_0x72bb68(0x1a2));var Ei=(_0x159aab=>(_0x159aab[_0x159aab[_0x72bb68(0x373)]=0x0]=_0x72bb68(0x373),_0x159aab[_0x159aab[_0x72bb68(0x1f8)]=0x1]=_0x72bb68(0x1f8),_0x159aab))(Ei||{});const qs=new Set([_0x1a947d['id']]);function Wt(_0x25beda,_0x48018f,_0x442c82,_0x13dcb0,_0x13d9bb){var _0x1936c5=_0x72bb68,_0x2d1eae,_0x58f6db,_0x327dae,_0x5234ca;const _0x4541e2=[];for(const _0x2e99b5 of _0x25beda)if(qs[_0x1936c5(0xc9)](_0x2e99b5['id'])){if(_0x4541e2[_0x1936c5(0x182)]>0x0)break;_0x4541e2[_0x1936c5(0xe7)](_0x2e99b5);break;}else _0x4541e2[_0x1936c5(0xe7)](_0x2e99b5);const _0x4c175b=(_0x58f6db=(_0x2d1eae=_0x13d9bb[_0x1936c5(0x2b5)]())==null?void 0x0:_0x2d1eae[_0x1936c5(0x90)])!=null?_0x58f6db:_0x1936c5(0x2d9),_0xc33c40=(_0x5234ca=(_0x327dae=_0x13d9bb[_0x1936c5(0x2b5)]())==null?void 0x0:_0x327dae[_0x1936c5(0x1e6)])!=null?_0x5234ca:_0x1936c5(0x2d9);return{'changeset':{'unitID':_0x48018f,'type':_0x5f0393(_0x442c82[_0x1936c5(0xb5)](_0x48018f)),'baseRev':_0x13dcb0[_0x1936c5(0x37a)](_0x48018f),'revision':0x0,'userID':_0x4c175b,'memberID':_0xc33c40,'mutations':_0x4541e2},'pendingMutations':_0x25beda[_0x1936c5(0xb9)](_0x4541e2[_0x1936c5(0x182)])};}function zs(_0x25c85d,_0x5e1893,_0x41e65e,_0x4bac33,_0x6ec15){var _0x5594ad=_0x72bb68,_0x39986e,_0x359da7,_0x2105c8,_0x5a48a9;const _0x20157a=[_0x25c85d[_0x5594ad(0x338)]((_0x2718cc,_0x233b41)=>{var _0x3dd3cf=_0x5594ad,_0x405364;const {id:_0x934a23}=_0x2718cc,{id:_0x1db8b9,type:_0x410cf9}=_0x233b41,_0x2b0d59=(_0x405364=_0x2718cc['params'])!=null?_0x405364:{'actions':null},_0x17600d=_0x233b41[_0x3dd3cf(0x226)];if(_0x934a23&&_0x934a23!==_0x1db8b9)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x934a23+_0x3dd3cf(0xb2)+_0x1db8b9+'.');return{..._0x2718cc,'id':_0x1db8b9,'type':_0x410cf9,'params':{'unitId':_0x17600d[_0x3dd3cf(0x1c6)],'textRanges':_0x17600d[_0x3dd3cf(0x380)],'actions':_0x6c7d57[_0x3dd3cf(0x28b)](_0x2b0d59[_0x3dd3cf(0xc2)],_0x17600d[_0x3dd3cf(0xc2)])}};},{})],_0x35680c=(_0x359da7=(_0x39986e=_0x6ec15[_0x5594ad(0x2b5)]())==null?void 0x0:_0x39986e[_0x5594ad(0x90)])!=null?_0x359da7:_0x5594ad(0x2d9),_0x4e57e6=(_0x5a48a9=(_0x2105c8=_0x6ec15[_0x5594ad(0x2b5)]())==null?void 0x0:_0x2105c8[_0x5594ad(0x1e6)])!=null?_0x5a48a9:_0x5594ad(0x2d9);return{'changeset':{'unitID':_0x5e1893,'type':_0x5f0393(_0x41e65e[_0x5594ad(0xb5)](_0x5e1893)),'baseRev':_0x4bac33[_0x5594ad(0x37a)](_0x5e1893),'revision':0x0,'userID':_0x35680c,'memberID':_0x4e57e6,'mutations':_0x20157a},'pendingMutations':[]};}function Ii(_0x2622b3,_0x1a84b3){var _0x5ecf6f=_0x72bb68;const _0x21084c=new _0x1a811b(0x1);return setTimeout(()=>_0x21084c[_0x5ecf6f(0x173)](_0x1a84b3),_0x2622b3),_0x21084c['asObservable']()['pipe'](_0x8eeaf8(0x1));}const Js={'id':_0x5e1645['id'],'type':_0x558bce['MUTATION'],'params':{}};var Xs=Object[_0x72bb68(0x159)],Ie=(_0x377e9d,_0x3f7f0d,_0x4f7106,_0x47fa20)=>{var _0x371f23=_0x72bb68;for(var _0x17a90c=_0x47fa20>0x1?void 0x0:_0x47fa20?Xs(_0x3f7f0d,_0x4f7106):_0x3f7f0d,_0x31ce4b=_0x377e9d[_0x371f23(0x182)]-0x1,_0x1e4013;_0x31ce4b>=0x0;_0x31ce4b--)(_0x1e4013=_0x377e9d[_0x31ce4b])&&(_0x17a90c=_0x1e4013(_0x17a90c)||_0x17a90c);return _0x17a90c;},P=(_0x4d1f98,_0x5aba98)=>(_0x5c4c17,_0x56fe39)=>_0x5aba98(_0x5c4c17,_0x56fe39,_0x4d1f98),Ti=(_0x8e43ea=>(_0x8e43ea[_0x72bb68(0x17c)]=_0x72bb68(0xc8),_0x8e43ea[_0x72bb68(0x21d)]=_0x72bb68(0x2f0),_0x8e43ea[_0x72bb68(0x145)]=_0x72bb68(0x1eb),_0x8e43ea[_0x72bb68(0x203)]=_0x72bb68(0x2dd),_0x8e43ea['AWAITING_WITH_PENDING']=_0x72bb68(0x215),_0x8e43ea[_0x72bb68(0x12a)]=_0x72bb68(0x1d1),_0x8e43ea[_0x72bb68(0x325)]='conflict',_0x8e43ea[_0x72bb68(0x243)]=_0x72bb68(0xa3),_0x8e43ea))(Ti||{});const Ci=0xea60;class Te{constructor(_0x18cabe,_0x3b46d3,_0x21edff,_0x2dcea0,_0x92e832,_0x11a847,_0x310ba3,_0x303d1c,_0x2a937a){var _0x48d14b=_0x72bb68;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x48d14b(0x211)]=_0x18cabe,this[_0x48d14b(0xcf)]=_0x3b46d3,this['_handler']=_0x92e832,this[_0x48d14b(0x2b8)]=_0x11a847,this[_0x48d14b(0x358)]=_0x310ba3,this['_revisionService']=_0x303d1c,this[_0x48d14b(0x35a)]=_0x2a937a,this[_0x48d14b(0xe3)]=_0x21edff,this['_pendingMutations']=_0x2dcea0);}['_checkMissing'](_0x3651ad){var _0x47dbb0=_0x72bb68;const _0x44af58=this[_0x47dbb0(0xb8)]['getCurrentRevOfUnit'](this[_0x47dbb0(0x211)]);return _0x3651ad[_0x47dbb0(0x2f4)]>_0x44af58+0x1?(this[_0x47dbb0(0x1a5)][_0x47dbb0(0xaa)]({'from':_0x44af58,'to':_0x3651ad[_0x47dbb0(0x2f4)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4888fd){var _0x51216b=_0x72bb68;this[_0x51216b(0x358)]['transformUndoRedo'](this['unitID'],_0x4888fd);}[_0x72bb68(0x248)](_0x42d7ab){var _0x5bdce9=_0x72bb68,_0x55f7d1,_0x24f65f;(_0x24f65f=(_0x55f7d1=this[_0x5bdce9(0x1a5)])['onTransformSelections'])==null||_0x24f65f['call'](_0x55f7d1,_0x42d7ab);}[_0x72bb68(0x107)](_0x47c601){var _0x465ed7=_0x72bb68,_0x96d0ce,_0x45bbe0;return(_0x45bbe0=(_0x96d0ce=this[_0x465ed7(0x1a5)])[_0x465ed7(0x202)])==null?void 0x0:_0x45bbe0[_0x465ed7(0x32b)](_0x96d0ce,_0x47c601);}[_0x72bb68(0x118)](_0x1627bd){var _0x5417d1=_0x72bb68,_0x265e37,_0x8c5684;return(_0x8c5684=(_0x265e37=this[_0x5417d1(0x1a5)])['onTransformState'])==null?void 0x0:_0x8c5684['call'](_0x265e37,_0x1627bd);}[_0x72bb68(0x276)](_0x4a43d8){var _0x5655c3=_0x72bb68,_0x23bef9,_0x28bc25,_0x3f078b;return(_0x3f078b=(_0x28bc25=(_0x23bef9=this[_0x5655c3(0x1a5)])[_0x5655c3(0x30a)])==null?void 0x0:_0x28bc25[_0x5655c3(0x32b)](_0x23bef9,_0x4a43d8))!=null?_0x3f078b:_0x4a43d8;}[_0x72bb68(0xb6)](_0xc1d43c){var _0x16b438=_0x72bb68,_0x469d42,_0x4fadb7,_0x910458;return(_0x910458=(_0x4fadb7=(_0x469d42=this[_0x16b438(0x1a5)])[_0x16b438(0x1e9)])==null?void 0x0:_0x4fadb7[_0x16b438(0x32b)](_0x469d42,_0xc1d43c))!=null?_0x910458:_0xc1d43c;}[_0x72bb68(0x127)](_0x2a3dc1){var _0x1e042a=_0x72bb68,_0x4165b8,_0x115935;if(this['type']===Z[_0x1e042a(0x357)]){const {unitID:_0x5bc6c0,mutations:_0x3a04e4,memberID:_0x214365}=_0x2a3dc1,_0x4133fb=_0x3a04e4[0x0][_0x1e042a(0x226)][_0x1e042a(0x380)];Array['isArray'](_0x4133fb)&&_0x4133fb[_0x1e042a(0x182)]>0x0&&((_0x115935=(_0x4165b8=this[_0x1e042a(0x1a5)])[_0x1e042a(0x8a)])==null||_0x115935[_0x1e042a(0x32b)](_0x4165b8,{'unitID':_0x5bc6c0,'memberID':_0x214365,'textRanges':_0x4133fb}));}}[_0x72bb68(0xec)](){var _0x3919b1=_0x72bb68,_0x2ada9a;(_0x2ada9a=this[_0x3919b1(0x35a)])==null||_0x2ada9a[_0x3919b1(0x377)](this[_0x3919b1(0x211)],this[_0x3919b1(0xcf)],this['_awaitingChangeset'],this[_0x3919b1(0x2fb)]);}[_0x72bb68(0x168)](){var _0x3a06b8=_0x72bb68;return this[_0x3a06b8(0xb8)][_0x3a06b8(0x37a)](this['unitID']);}[_0x72bb68(0x154)](){var _0x33cf95=_0x72bb68;this['_revisionService']['incrementRevOfUnit'](this[_0x33cf95(0x211)]);}[_0x72bb68(0x270)](_0x376eaf){var _0x38a36f=_0x72bb68,_0x3b1613;let _0x265304=this[_0x38a36f(0x276)](_0x376eaf);_0x265304=this['_transformRemoteChangesetByStateCache'](_0x265304);const _0x2dbf9a=_0xa7a5e8(_0x265304[_0x38a36f(0x2ff)],this[_0x38a36f(0x2b8)],{'fromCollab':!0x0});if(!_0x2dbf9a['result'])throw _0x2dbf9a[_0x38a36f(0x32f)]instanceof Error?_0x2dbf9a[_0x38a36f(0x32f)]:new Error((_0x3b1613=_0x2dbf9a[_0x38a36f(0x32f)])!=null?_0x3b1613:'[CollaborationState]:\x20apply\x20error!');this[_0x38a36f(0x107)](_0x265304),this[_0x38a36f(0x118)](_0x265304),this[_0x38a36f(0x1a0)](_0x376eaf),this[_0x38a36f(0x248)](_0x265304),this[_0x38a36f(0x127)](_0x265304),this[_0x38a36f(0x154)]();}}let ye=class extends Te{constructor(_0xc1b6b8,_0xe2712f,_0x553684,_0x42b06b,_0x206b02,_0x2d4e5b,_0x2d732c,_0x57ce9b,_0x5f5403,_0x1cacfd){var _0x31f493=_0x72bb68;super(_0xc1b6b8,_0xe2712f,null,[],_0x553684,_0x2d732c,_0x2d4e5b,_0x42b06b,_0x1cacfd),N(this,'status','synced'),(this[_0x31f493(0x37c)]=_0x206b02,this[_0x31f493(0xde)]=_0x57ce9b,this['_transformService']=_0x5f5403,this[_0x31f493(0x1cd)]=_0x1cacfd);}[_0x72bb68(0x250)](_0x47164b){var _0x2790e1=_0x72bb68;const _0x57b87c=this['_injector'][_0x2790e1(0x20d)](re,this[_0x2790e1(0x211)],this[_0x2790e1(0xcf)],[_0x47164b],this[_0x2790e1(0x1a5)]);return _0x57b87c[_0x2790e1(0x26b)](),_0x57b87c[_0x2790e1(0xec)](),_0x57b87c;}[_0x72bb68(0x19b)](_0x234077){var _0x16770e=_0x72bb68;if(this[_0x16770e(0xa4)](_0x234077))return this[_0x16770e(0x37c)][_0x16770e(0x20d)](Q,this[_0x16770e(0x211)],this[_0x16770e(0xcf)],null,[],null,[_0x234077],this[_0x16770e(0x1a5)]);try{const _0x315c5d=this[_0x16770e(0x23a)][_0x16770e(0x16f)](_0x234077,[Js]);if(_0x4eb0e0(_0x315c5d)){const {c1Prime:_0x59ebaf}=_0x315c5d;return this[_0x16770e(0x270)](_0x59ebaf),this;}throw _0x315c5d[_0x16770e(0x32f)];}catch(_0x1f191c){return this[_0x16770e(0xde)][_0x16770e(0x32f)](_0x1f191c),this[_0x16770e(0x2fa)](!0x1);}}[_0x72bb68(0x2fa)](_0x32354f){var _0x420021=_0x72bb68;return this[_0x420021(0x37c)][_0x420021(0x20d)](le,this[_0x420021(0x211)],this['type'],null,[],this['_handler'],_0x32354f);}['onRemoteAck'](){var _0x380eb=_0x72bb68;throw new Error(_0x380eb(0x36c));}[_0x72bb68(0x34d)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2a1221=_0x72bb68;return this[_0x2a1221(0x37c)][_0x2a1221(0x20d)](ue,this[_0x2a1221(0x211)],this[_0x2a1221(0xcf)],null,[],this[_0x2a1221(0x1a5)]);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x3f4795=_0x72bb68;throw new Error(_0x3f4795(0x360));}[_0x72bb68(0xbd)](){var _0x45ec01=_0x72bb68;const _0x3c026e=this['_revisionService']['getCurrentRevOfUnit'](this[_0x45ec01(0x211)]);return this['_handler']['onMissingChangesets']({'from':_0x3c026e,'to':0x0}),this[_0x45ec01(0x37c)][_0x45ec01(0x20d)](Q,this['unitID'],this[_0x45ec01(0xcf)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x41311f(_0x2d82bd)),P(0x4,_0x41311f(_0x4cac68)),P(0x5,_0x1032f6),P(0x6,_0xe29ee9),P(0x7,_0x39af9e),P(0x8,_0x13d105),P(0x9,_0x3cf774(J))],ye);let re=class extends Te{constructor(_0x5550f4,_0x6432d7,_0xf2c077,_0x362f28,_0x688984,_0x4c2fd8,_0x4475b8,_0x21e266,_0x99b392,_0x27b471,_0x2a7e2a,_0x5ae18f,_0x542ff8,_0x3d75f5){var _0x21eef6=_0x72bb68;super(_0x5550f4,_0x6432d7,null,_0xf2c077,_0x362f28,_0x99b392,_0x542ff8,_0x4c2fd8,_0x3d75f5),N(this,'status','pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x21eef6(0xc0),null),(this[_0x21eef6(0x37c)]=_0x688984,this['_memberService']=_0x4475b8,this[_0x21eef6(0xde)]=_0x21e266,this['_configService']=_0x27b471,this[_0x21eef6(0x23a)]=_0x2a7e2a,this['_univerInstanceService']=_0x5ae18f);}['appendMutation'](_0x4bb975){var _0x583245=_0x72bb68;return this[_0x583245(0x2fb)][_0x583245(0xe7)](_0x4bb975),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x54556f){var _0x397dc0=_0x72bb68;if(this[_0x397dc0(0xa4)](_0x54556f))return this[_0x397dc0(0x1b9)](),this['_injector']['createInstance'](Q,this[_0x397dc0(0x211)],this['type'],null,this[_0x397dc0(0x2fb)],null,[_0x54556f],this[_0x397dc0(0x1a5)]);try{const _0x3aa0ba=this[_0x397dc0(0x23a)][_0x397dc0(0x16f)](_0x54556f,this[_0x397dc0(0x2fb)]);if(_0x4eb0e0(_0x3aa0ba)){const {c1Prime:_0x451d6,m2Prime:_0x116e70}=_0x3aa0ba;this[_0x397dc0(0x270)](_0x451d6);const _0x84f545=this[_0x397dc0(0x37c)][_0x397dc0(0x20d)](re,this['unitID'],this[_0x397dc0(0xcf)],_0x116e70,this[_0x397dc0(0x1a5)]);this[_0x397dc0(0x1b9)]();const _0xa35ad6=new Date()['getTime'](),_0x54f7e6=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x397dc0(0x2bd)]-_0xa35ad6,0x0):this[_0x397dc0(0x25b)]();return _0x84f545['_schedule'](_0x54f7e6),_0x84f545;}throw _0x3aa0ba[_0x397dc0(0x32f)];}catch(_0x28d500){return this[_0x397dc0(0xde)]['error'](_0x28d500),this[_0x397dc0(0x2fa)](!0x1);}}[_0x72bb68(0x195)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x72bb68(0x34d)](){var _0x58a5b1=_0x72bb68;throw new Error(_0x58a5b1(0x108));}[_0x72bb68(0x24d)](){return this;}['toggleOffline'](){var _0x314f11=_0x72bb68;return this[_0x314f11(0x1b9)](),this[_0x314f11(0x37c)][_0x314f11(0x20d)](ue,this['unitID'],this[_0x314f11(0xcf)],null,this[_0x314f11(0x2fb)],this[_0x314f11(0x1a5)]);}['toggleOnline'](){return this;}[_0x72bb68(0x26b)](_0x39353a){var _0x1d7187=_0x72bb68;const _0x505a1d=_0x39353a!=null?_0x39353a:this[_0x1d7187(0x25b)]();this[_0x1d7187(0x2bd)]=new Date()[_0x1d7187(0x201)]()+_0x505a1d,this[_0x1d7187(0xc0)]=setTimeout(()=>{var _0x295118=_0x1d7187;this[_0x295118(0x1b9)]();let _0x90034=null;switch(this['type']){case Z[_0x295118(0x9d)]:{_0x90034=Wt(this[_0x295118(0x2fb)],this[_0x295118(0x211)],this[_0x295118(0xf4)],this[_0x295118(0xb8)],this[_0x295118(0xf8)]);break;}case Z[_0x295118(0x357)]:{this[_0x295118(0x2fb)][_0x295118(0x7e)](_0x4c689d=>_0x4c689d['id']===_0x85a4d0['id'])?_0x90034=zs(this[_0x295118(0x2fb)],this[_0x295118(0x211)],this[_0x295118(0xf4)],this[_0x295118(0xb8)],this[_0x295118(0xf8)]):_0x90034=Wt(this[_0x295118(0x2fb)],this['unitID'],this[_0x295118(0xf4)],this[_0x295118(0xb8)],this[_0x295118(0xf8)]);break;}default:throw new Error(_0x295118(0x11c)+this['type']+_0x295118(0xe6));}const {changeset:_0x14ee21,pendingMutations:_0x1ebb29}=_0x90034;this[_0x295118(0x1a5)][_0x295118(0x132)](_0x14ee21);const _0x5731bf=_0x1ebb29[_0x295118(0x182)]?this[_0x295118(0x37c)][_0x295118(0x20d)](ae,this[_0x295118(0x211)],this[_0x295118(0xcf)],_0x14ee21,_0x1ebb29,this['_handler'],void 0x0):this[_0x295118(0x37c)][_0x295118(0x20d)](_e,this['unitID'],this[_0x295118(0xcf)],_0x14ee21,this['_handler']);_0x5731bf[_0x295118(0xec)](),this[_0x295118(0x1a5)][_0x295118(0xf6)](this,_0x5731bf);},_0x505a1d);}[_0x72bb68(0x25b)](){var _0x571959=_0x72bb68,_0x54a639;const _0x139345=this[_0x571959(0x184)][_0x571959(0x1e2)](K);return(_0x54a639=_0x139345==null?void 0x0:_0x139345[_0x571959(0xfe)])!=null?_0x54a639:ms;}[_0x72bb68(0x92)](){var _0x3e666b=_0x72bb68;throw new Error(_0x3e666b(0x342));}[_0x72bb68(0x1b9)](){var _0x3e95b5=_0x72bb68;this[_0x3e95b5(0xc0)]!=null&&(clearTimeout(this[_0x3e95b5(0xc0)]),this[_0x3e95b5(0xc0)]=null);}[_0x72bb68(0x2fa)](_0x1aa8d3){var _0x56234a=_0x72bb68;return this[_0x56234a(0x1b9)](),this[_0x56234a(0x37c)][_0x56234a(0x20d)](le,this[_0x56234a(0x211)],this[_0x56234a(0xcf)],null,this[_0x56234a(0x2fb)],this[_0x56234a(0x1a5)],_0x1aa8d3);}};re=Ie([P(0x4,_0x41311f(_0x4cac68)),P(0x5,_0x41311f(_0x2d82bd)),P(0x6,_0x41311f(Pe)),P(0x7,_0x39af9e),P(0x8,_0xe29ee9),P(0x9,_0x19233d),P(0xa,_0x13d105),P(0xb,_0x4aee63),P(0xc,_0x1032f6),P(0xd,_0x3cf774(J))],re);function _0x3795(){var _0x1d4a4f=['LIVESHARE_FETCH_OPERATIONS','readInt32LE','concat','_localeService','381832fCugLP','members$','_collaborationSessionService','compose','_changesetSessionId','_unitID','Decryptor','_retryCount','UPDATE_PERMISSION_OBJ','entityInit$','APPLY_DUPLICATED','session','INVITE_CODE_ALREADY_BOUND','PERMISSION_REJ','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabWebSocketUrl','stopTime','HELLO','_cipher','_createInitialStateImpl','&source=','waitForRoom$','pluginName','body','getUnitId','[CollaborationEntity]','12109360LzNKVP','sessionStatus$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ivSize','PERSON','refreshPermission','RECV','enableAuthServer','decrypt','min','readyForCollab','getDeserializedSheetBlock','_substituteUndoStack','_joinRoom','list','range','status$','_onUserJoin','AUTHZ_URL_KEY','getCurrentUser','_createInitialState','CLOSE_ROOM','_commandService','url','fetchMissingChangesets','string','UNKNOWN_CMD','_scheduleCompleteTimestamp','LIVESHARE_NEW_HOST','PERMISSION_DENIED','liveShareOperation','_unitInfo$','[CollaborationSessionService]','disposeWithMe','_entityInit$','result','[CollaborationSession]','/resources','getCollabEntity$','_tryEnsureSocket','POST','collabSubmitChangesetUrl','getTypeOfUnitDisposed$','mode','_onJoinRoomEvent','_onRemoteACK','ws://127.0.0.1:8000/universer-api/comb/connect','_getAPIPrefix','Utf8','BlockCipherMode','&to=','setWaitCount','YUUMI_TABLE_NOT_FOUND_IN_UNIT','HmacSHA1','/-/object/list','unknown','GLOBAL_ROOMS_CNT_EXCEEDS','snapshot','reqId','awaiting','2529990HmbYHZ','MSG_FOR_ERROR','initWorkbookPermissionChange','getSnapshotAPIPath','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onCombEvent','_config','JOIN_ROOM_NOT_EXISTS','USERS_LEAVE','OTHER_CLIENT_EDITING','image/png','Base','pipe','onCommandExecuted','_replaceFileID','msCrypto','onMissedChangesetFetched','_telemetryService','synced','objectID','randomBytes','_initUnitPermissionChange','revision','USER_NOT_INVITED_CODE','_parse','HmacMD5','_state$','newCsEvent','_onConflict','_pendingMutations','/universer-api/comb','YUUMI_URL_COL_OUT_OF_RANGE','_oKey','mutations','_sessionStatus$','YUUMI_ALL_TABLES_IS_INVALID','FAIL','_changesetReqId','_shouldReportTelemetry','AES','createCollaborator','_waitForHeartbeatResponse','uniscriptRunEvent','function','onTransformRemoteChangesetByIMECache','toggleOffline','_permissionService','online$','_sheetTransformSelectionsService','HttpExport','_collaborationTimeoutTimer','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','salt','_state','encrypt','setCurrentUser','_prevBlock','_createHelper','clear','clamp','toggleOnline','_members','/object','_HTTPService','UnitSnapshot','LEAVE','objectType','Hex','/collaborator','findIndex','StreamCipher','CONFLICT','emitEvent','COLLAB_WEB_SOCKET_URL','USERS_ENTER','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','unpad','call','authzUrl','_createSocket','put','error','unit-cache-','_decreaseWaiting','default','entries','formatter','duration','BlockCipher','_removeRoom','reduce','clone','startTime','UnitEmbedded','UPDATE_CURSOR','1476180EdGhOW','add','getActiveSheet','/unit/','send','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getLatestCsReqIdBySid','crypto','_reverseMap','_collaborationPaused','deleteCollaborator','_submitChangeset','BASE64','x-univer-host','_queuedRemoteChangesets','mixIn','onRemoteRej','SHOULD_CLOSE_CONN','post','_getSignURL','join','BufferedBlockAlgorithm','permissionRejEvent','sin','routeKey','getTypeOfUnitAdded$','UNIVER_DOC','_undoRedoService','[OfflineState]:\x20received\x20rejection.','_localCacheService','getCurrentSelections','OPTIONAL','_clearRedo','charAt','loadUnit','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_initMergeInterceptor','readAsDataURL','random','createDecryptor','code','_keySchedule','_httpService','YUUMI_AI_RUN_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','executeCommand','univer-pro.collaboration-client.network-condition.service','[SyncedState]:\x20received\x20acknowledgement.','originalMeta','NOT_FOUND','ALREADY_EXISTS','_tryReconnect','image/jpg','createSocket','NO_OTHER_CLIENTS_EDITING','map','_throwTelemetryCollaborationNewChangeset','Undefined','updateOfflineData','commentUpdate$','transformChangesets','getCurrentRevOfUnit','_collaborationUIEventService','_injector','SOCKET_FAILED_RETRY','onTransformState','updateSnapshot','textRanges','UNIVER_SLIDE','734832HqInwU','updateCollaborator','stringify','symbol','subscribe','every','923237bCkNZY','JOIN_ROOM_PERMISSION_DENIED','COLLAB_SUBMIT_CHANGESET_URL','transformSelections','transformUndoRedo','_stopTelemetryCollaborationNewChangeset','_toggleOnline','_socketReady','ERROR_IMAGE_TYPE','_startTelemetryCollaborationNewChangeset','_nDataBytes','onSyncEditingCollabCursor','SUBMIT_CHANGESET','complete','status','_roomMembers','_onConnectionFailed','userID','INVALID_ARGUMENT','resend','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','PSEUDO_FETCH_MISSING_RESULT','_doCryptBlock','onTransformSelections','dispose','ciphertext','JOINING','create','Error\x20on\x20receiving\x20event','_registerDependencies','UNIVER_SHEET','COMPLETION_FINISHED','_userManagerService','MUTATION','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_onMessage','offline','_checkMissing','filter','editing\x20status\x20changed\x20to','_status$','&assign=','buffer','onMissingChangesets','_members$','listRoles','_iv','then','algo','cfg','conflict','\x20-\x20','avatar','telemetry\x20info\x20is\x20not\x20initialized','getUnitType','_transformRemoteChangesetByStateCache','_DEC_XFORM_MODE','_revisionService','slice','YUUMI_RATE_OVER_LIMIT','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','socket\x20open.','fetchMiss','requireSession','[CollaborationUndoRedoService]','_sendingTimer','_getAPIPrefixPath','actions','LOCAL_CACHE_INTERVAL','getWorkbookSelections','decryptBlock','_waitCount','_change$','not_collab','has','Cipher','_getLoginPath','_onRemoteRetry','collaMsg','startsWith','type','SHA1','words','UNRECOGNIZED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','closeSession','splice','snapshotServerUrl','_clearUndo','_undoStacks','TOO_MANY_REQUESTS','signUrlServerUrl','substr','asObservable','UNISCRIPT_RUN','_logService','univer-pro.collaboration-client-socket-service','_networkConditionService','interceptor','onLocalMutation','_awaitingChangeset','/universer-api/file/{fileID}/sign-url','pauseCollaboration','\x20in\x20_schedule.','push','compute','onCommentUpdate','error$','RETRY_CONNECTING_MAX_COUNT','_updateLocalCache','[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.','HMAC','LICENSE_IMPORT_SIZE_EXCEEDED','c2Prime','INVALID_INVITE_CODE','c1Prime','/universer-api/authz','_univerInstanceService','APPLY_REJECT','onStateChange','_exhaustRemoteChangesetQueue','_memberService','APPLY_REVISION_CONFILICT','getCollabEntity','setShowComponents','LIVESHARE_OPERATION','socket$','sendChangesetTimeout','copyFileMeta','__creator','APPLY_NON_SEQUENTIAL_REVISION','[OfflineState]:\x20received\x20changeset.','[CollaborationSessionService]:\x20socket\x20error','repeat','getSheetBlock','_rescheduleHeartbeat','_transformIMECache','[PendingState]:\x20received\x20rejection.','uploadFileServerUrl','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_instanceService','[DataLoaderService]','now','_timeoutTimer','_compressMutationService','leaveEvent','INGEST','getValue','JOIN_ROOM_FULL','_onRecvEvent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_type','ceil','_transformStateCache','_data','file','[FetchMissState]','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_collabSessionService','_sendHeartbeatTimer','_retryConnectingTimer','resolve','PasswordBasedCipher','enc','changesets','message$','withCredentials','_onConnectionOpen','_syncEditingCollabCursor','CONNECTOR_DATA_TOO_LARGE','socketService','FETCH_MISS','parse','loadOfflineData','_remoteChangesetQueue','INTERNAL_ERROR','ERROR_IMAGE','/universer-api/stream/file/upload','_initRequestHeader','onSendChangeset','_sendHeartbeat','sessionStatus','/universer-api/user/session-ticket','fromCharCode','_transformStack','reset','saveImage','_listenToNetworkCondition','EvpKDF','data','getRoom','Encryptor','includes','_unlockTransition','workbook','session.room-cnt-exceeds','_transitionLocked','name','PENDING','padding','registerHTTPInterceptor','baseRev','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','key','subUnitId','change$','_clearTimeoutTimer','commentUpdateEvent','_event$','UNIVER_UNKNOWN','debug','format','JOIN_ROOM_FAILED','_incrementRevisionNumber','/allowed','equals','failed\x20to\x20apply\x20missed\x20changesets!','/fetchmissing?from=','getOwnPropertyDescriptor','CHANGESET_SHOULD_RETRY','connection\x20error','hasOwnProperty','encryptBlock','/universer-api/uniscript','getFocusedUnit','_onOffline','_isPermissionRej','open$','_minBufferSize','getUnit','_initCloseConn','HEARTBEAT_INTERVAL','toString','_getCurrentRevision','awaitingChangeset','forEach','infoRsp','?size=','_startCollaboration','removeMember','transformMutationsWithChangeset','Malformed\x20UTF-8\x20data','INVITE_CODE_REQUIRED','[UniverCollaborationClientPlugin]','next','_clearHeartbeatTimer','APPLY_PERMISSION_DENIED','/universer-api/oidc/authpage','lib','_commentUpdate$','_sessions','dispose$','cmd','NOT_COLLAB','addHandlerCallback','_initDependencies','\x20to\x20','UNKNOWN_CODE','joinRsp','length','enableSingleActiveInstanceLock','_configService','CHANGESET_ACK','_resendTimeout','UNAUTHENTICATED','session.join-failed','_updateStatus','_emitMembers','OpenSSL','_sender','indexOf','unsubscribe','saveChangeset','_socket$','allowed','_substituteRedoStack','blockSize','session.room-full','onRemoteAck','src','People','_imageSourceCache','updateCursorEvent','state','onRemoteChangeset','UUID','LICENSE_DISTRO_REJECTED','UNIVER_PROJECT','isPermissionRej','_transformUndoredo','_toggleOffline','univer-pro.collaboration-client.single-active-unit-service','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','image/bmp','_handler','CHANGESET_REJ','DEFAULT_FILE_NAME','_snapshotService','COMMENT_UPDATE','_hasher','size','_xformMode','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CHANGESET_REVISION_CONFILICT','getInterceptPoints','_applyRemoteChangeset','getImageSourceCache','reconnect','downloadEndpointUrl','IDLE','objects','auth.needGotoLoginAlert','from','prototype','_clearScheduledTask','_getCtorByUniverType','headers','_createHandler','_mode','YUUMI_UNABLE_LOAD_URL','Pkcs7','_doReset','_socketService','set','LICENSE_MAX_UNITS_EXCEEDED','liveShareNewHost','Univer','unitId','[OfflineState]:\x20received\x20acknowledgement.','_roomCreated$','init','isArray','finalize','_onRemoteRejected','localCacheService','eventID','apply','_nRounds','fetch_missing','_socketMessageSubscription','reverse','_handlerCallback','_entities','_acknowledgedAwaitingChangeset','shouldCloseConn','delete','extend','_invKeySchedule','resourceIDs','update','encodeURIComponent','WECHAT_HAS_BEEN_BOUND','m2Prime','/object/','SNAPSHOT_URL_KEY','getConfig','_clearRetryConnectingTimer','LICENSE_EXPORT_SIZE_EXCEEDED','6naGjuh','memberID','enableCollaboration','getRandomValues','onTransformRemoteChangesetByStateCache','_ENC_XFORM_MODE','pending','pad','_onLocalMutation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','NEW_CHANGESETS','getResourcesRequest','getMember','fetchThroughInterceptors','_resendTimer','hostname','__esModule','COMPRESS_MUTATION_SEND','fetching\x20missing\x20changesets\x20from\x20','OTHER_CLIENTS_EDITING','encode','JOIN','ONLINE','_doFinalize','kdf','Base64','_onFetchMissResult','csAckEvent','getTime','onTransformIME','AWAITING','roomInfos','_onUserLeave','UserProfileImg','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','byteLength','HttpImport','LIVESHARE_TERMINATE','SOCKET_FAILED','_candidateSocket','createInstance','ENSURE_SNAPSHOT_EXECUTION','_doProcessBlock','_getDownloadEndpointURL','unitID','/role','SUCCUSS','_updateState','awaiting_with_pending','_process','MD5','UNIVER_COLLABORATION_CLIENT_PLUGIN','close$','members','processBlock','updateMember','SYNCED','SUBMIT_CHANGESET_TIMEOUT','FileId','_resendWithTimeout','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getUploadFileURL','NoPadding','sid','/block/','params','_eventService','$super','rev','csShouldRetryEvent','collaboratorID','SNAPSHOT_SERVER_URL_KEY','_init','YUUMI_SUBSCRIPTION_NOT_FOUND','HEARTBEAT','floor','iterations','addImageSourceCache','Hasher','SNAPSHOT_INVALID_SNAPSHOT','max','getMemberID','CipherParams','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','objectActions','_transformService','getUnitStatus$','method','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Latin1','LOGIN_URL_KEY','joinEvent','_getRedoStack','COMPRESS_MUTATION_APPLY','OFFLINE','catch','requestParams','close','charCodeAt','_transformSelections','enableOfflineEditing','WordArray','loginUrlKey','_showConflictNotification','onRemoteRetry','PY_RUNTIME_SCRIPT_ERROR','_lockTransition','appendMutation','SerializableCipher','LIVESHARE_REQUEST_HOST','image/gif','ERROR_EXCEED_SIZE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','1291707RroyIz','selections','keySize','_fetchMissChangesets','_telemetryInfo','_getSendChangesetTimeout','_getUndoStack','collaborators','event$','sigBytes','href','_redoStacks','location','save\x20fail\x20reason\x20is\x20','_clearCollaborationTimeoutTimer','_hash','transformStack\x20failed!','collaboration-client.local-cache-service','_singleActiveUnitService','_append','\x0aAfter:\x20','_schedule','__Key__','state$','_createHmacHelper','updatePermissionPoint','_executeRemoteChangeset','exports','/universer-api/snapshot','_key','collaboration-client.config','_disableEditing','_transformRemoteChangesetByIMECache','loadUnitOfRevision','target','_map','MOBILE_HAS_BEEN_BOUND','SEND_CHANGESET_TIMEOUT','origin','hasher','saveSnapshot','createEncryptor','_socket','reject','subject','get'];_0x3795=function(){return _0x1d4a4f;};return _0x3795();}let _e=class extends Te{constructor(_0x2a907c,_0x41f4ce,_0x59b056,_0x4f5524,_0x3c86d1,_0x54b217,_0x4d05d7,_0x1ed21b,_0x2e6379,_0x5ab98d,_0x21cf89){var _0x39e355=_0x72bb68;super(_0x2a907c,_0x41f4ce,_0x59b056,[],_0x4f5524,_0x4d05d7,_0x5ab98d,_0x54b217,_0x21cf89),N(this,_0x39e355(0x8d),_0x39e355(0x2dd)),N(this,_0x39e355(0x186),0x0),N(this,_0x39e355(0x1f3)),N(this,_0x39e355(0x18c)),(this[_0x39e355(0x37c)]=_0x3c86d1,this[_0x39e355(0xde)]=_0x1ed21b,this['_transformService']=_0x2e6379);}['appendMutation'](_0x5a4c8a){var _0x5c0e5a=_0x72bb68;this[_0x5c0e5a(0x1b9)]();const _0x58f113=this['_injector']['createInstance'](ae,this[_0x5c0e5a(0x211)],this['type'],this[_0x5c0e5a(0xe3)],[_0x5a4c8a],this[_0x5c0e5a(0x1a5)],this[_0x5c0e5a(0x1f3)]);return _0x58f113[_0x5c0e5a(0xec)](),_0x58f113;}[_0x72bb68(0x19b)](_0x5a94ab){var _0x3f9a84=_0x72bb68;if(this['_checkMissing'](_0x5a94ab))return this['_clearScheduledTask'](),this['_injector'][_0x3f9a84(0x20d)](Q,this[_0x3f9a84(0x211)],this[_0x3f9a84(0xcf)],this[_0x3f9a84(0xe3)],[],null,[_0x5a94ab],this[_0x3f9a84(0x1a5)]);try{const _0x51b997=this[_0x3f9a84(0x23a)]['transformChangesets']([_0x5a94ab],[this['_awaitingChangeset']],!0x1);if(_0x3cf099(_0x51b997)){const {c1Prime:_0xde0088,c2Prime:_0x4eb0e9}=_0x51b997;this[_0x3f9a84(0x270)](_0xde0088[0x0]),_0x4eb0e9[0x0]['baseRev']=this[_0x3f9a84(0x168)](),this[_0x3f9a84(0x1b9)]();const _0x1f57bc=this[_0x3f9a84(0x37c)][_0x3f9a84(0x20d)](_e,this[_0x3f9a84(0x211)],this[_0x3f9a84(0xcf)],_0x4eb0e9[0x0],this[_0x3f9a84(0x1a5)]);return _0x1f57bc[_0x3f9a84(0xec)](),_0x1f57bc;}return this['_onConflict'](!0x1);}catch(_0x3391db){return this[_0x3f9a84(0xde)][_0x3f9a84(0x32f)](_0x3391db),this[_0x3f9a84(0x2fa)](!0x1);}}[_0x72bb68(0x195)](_0x20536a){var _0x527e43=_0x72bb68;this[_0x527e43(0x1b9)]();const _0x2a693b=this['_revisionService'][_0x527e43(0x37a)](this[_0x527e43(0x211)]);if(_0x20536a[_0x527e43(0x2f4)]<_0x2a693b-0x1)return this;if(this[_0x527e43(0xa4)](_0x20536a))return this[_0x527e43(0x37c)][_0x527e43(0x20d)](Q,this[_0x527e43(0x211)],this[_0x527e43(0xcf)],null,[],this['_awaitingChangeset'],[],this[_0x527e43(0x1a5)]);this['_incrementRevisionNumber']();const _0x474740=this[_0x527e43(0x37c)][_0x527e43(0x20d)](ye,this[_0x527e43(0x211)],this[_0x527e43(0xcf)],this[_0x527e43(0x1a5)]);return _0x474740[_0x527e43(0xec)](),_0x474740;}[_0x72bb68(0x34d)](_0x31d59e){var _0x1d42d8=_0x72bb68;return this[_0x1d42d8(0x2fa)](!!(_0x31d59e!=null&&_0x31d59e['isPermissionRej']));}[_0x72bb68(0x24d)](_0x23910d){var _0x59d74d=_0x72bb68;return this['_resendTimeout']>Ci?this[_0x59d74d(0x30b)]():(this[_0x59d74d(0x1f3)]=Ii(this[_0x59d74d(0x186)],{'timeout':this[_0x59d74d(0x186)],'reqId':_0x23910d[_0x59d74d(0x2dc)]}),this[_0x59d74d(0x18c)]=this[_0x59d74d(0x1f3)]['subscribe'](({reqId:_0x29f9e4,timeout:_0xb10c66})=>{var _0x56749f=_0x59d74d;this[_0x56749f(0x220)](_0x29f9e4,_0xb10c66);}),this);}[_0x72bb68(0x30b)](){var _0x15d2f3=_0x72bb68;return this['_clearScheduledTask'](),this[_0x15d2f3(0x37c)]['createInstance'](ue,this[_0x15d2f3(0x211)],this[_0x15d2f3(0xcf)],this[_0x15d2f3(0xe3)],[],this['_handler']);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x3b07b6=_0x72bb68;this[_0x3b07b6(0x1a5)][_0x3b07b6(0x132)](this['_awaitingChangeset']);}['_onConflict'](_0x51eb2d){var _0x54d440=_0x72bb68;return this[_0x54d440(0x1b9)](),this[_0x54d440(0x37c)][_0x54d440(0x20d)](le,this[_0x54d440(0x211)],this[_0x54d440(0xcf)],this[_0x54d440(0xe3)],[],this[_0x54d440(0x1a5)],_0x51eb2d);}[_0x72bb68(0x220)](_0x14491d,_0x51b578){var _0x1f08cb=_0x72bb68,_0x1a7ab9;_0x14491d===((_0x1a7ab9=this['_awaitingChangeset'])==null?void 0x0:_0x1a7ab9[_0x1f08cb(0x2dc)])&&(this[_0x1f08cb(0x92)](),this[_0x1f08cb(0x186)]=_0x51b578===0x0?0x3e8:_0x51b578*0x2);}[_0x72bb68(0x1b9)](){var _0x475c53=_0x72bb68,_0x238a93;(_0x238a93=this[_0x475c53(0x18c)])==null||_0x238a93['unsubscribe'](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x41311f(_0x4cac68)),P(0x5,_0x41311f(_0x2d82bd)),P(0x6,_0xe29ee9),P(0x7,_0x39af9e),P(0x8,_0x13d105),P(0x9,_0x1032f6),P(0xa,_0x3cf774(J))],_e);let ae=class extends Te{constructor(_0x24e79f,_0x48e83,_0x2a8227,_0xbf306b,_0x1d88c6,_0x37f818,_0x41be29,_0x3b59a5,_0x593936,_0x3e0115,_0x337f47,_0x40cbd6,_0x3b5cff){var _0x2e4126=_0x72bb68;super(_0x24e79f,_0x48e83,_0x2a8227,_0xbf306b,_0x1d88c6,_0x593936,_0x40cbd6,_0x3b59a5,_0x3b5cff),N(this,_0x2e4126(0x8d),_0x2e4126(0x215)),N(this,_0x2e4126(0x186),0x0),N(this,_0x2e4126(0x1f3)),N(this,'_sender'),(this[_0x2e4126(0x37c)]=_0x41be29,this[_0x2e4126(0xde)]=_0x3e0115,this['_transformService']=_0x337f47,this['localCacheService']=_0x3b5cff,_0x37f818&&(this[_0x2e4126(0x1f3)]=_0x37f818,this[_0x2e4126(0x18c)]=this['_resendTimer'][_0x2e4126(0x7d)](({reqId:_0x32c2df,timeout:_0xf57c9d})=>{var _0xcb4f19=_0x2e4126;this[_0xcb4f19(0x220)](_0x32c2df,_0xf57c9d);})));}['appendMutation'](_0x20b7bf){var _0x5349c9=_0x72bb68;return this[_0x5349c9(0x2fb)]['push'](_0x20b7bf),this;}[_0x72bb68(0x19b)](_0x451f26){var _0x4b8551=_0x72bb68;if(this['_checkMissing'](_0x451f26))return this[_0x4b8551(0x1b9)](),this[_0x4b8551(0x37c)][_0x4b8551(0x20d)](Q,this[_0x4b8551(0x211)],this['type'],this[_0x4b8551(0xe3)],this[_0x4b8551(0x2fb)],null,[_0x451f26],this[_0x4b8551(0x1a5)]);try{const _0x30aba0=this[_0x4b8551(0x23a)][_0x4b8551(0x379)]([_0x451f26],[this[_0x4b8551(0xe3)]],!0x1);if(_0x3cf099(_0x30aba0)){const {c1Prime:_0x22d988,c2Prime:_0x8ca96f}=_0x30aba0,_0x372109=this[_0x4b8551(0x23a)][_0x4b8551(0x16f)](_0x22d988[0x0],this[_0x4b8551(0x2fb)]);if(_0x4eb0e0(_0x372109)){const {c1Prime:_0x3ed39d,m2Prime:_0xf486e3}=_0x372109;return this['_executeRemoteChangeset'](_0x3ed39d),_0x8ca96f[0x0][_0x4b8551(0x148)]=this[_0x4b8551(0x168)](),this[_0x4b8551(0x1b9)](),this['_injector']['createInstance'](ae,this[_0x4b8551(0x211)],this['type'],_0x8ca96f[0x0],_0xf486e3,this[_0x4b8551(0x1a5)],void 0x0);}throw _0x372109['error'];}throw _0x30aba0['error'];}catch(_0x34536e){return this[_0x4b8551(0xde)][_0x4b8551(0x32f)](_0x34536e),this[_0x4b8551(0x2fa)](!0x1);}}[_0x72bb68(0x195)](_0x12b56a){var _0x19fe92=_0x72bb68;if(this['_clearScheduledTask'](),this[_0x19fe92(0xa4)](_0x12b56a))return this[_0x19fe92(0x37c)][_0x19fe92(0x20d)](Q,this[_0x19fe92(0x211)],this[_0x19fe92(0xcf)],null,this[_0x19fe92(0x2fb)],this['_awaitingChangeset'],[],this[_0x19fe92(0x1a5)]);this[_0x19fe92(0x154)]();const _0x39f5c0=this['_injector'][_0x19fe92(0x20d)](re,this[_0x19fe92(0x211)],this[_0x19fe92(0xcf)],this[_0x19fe92(0x2fb)],this[_0x19fe92(0x1a5)]);return _0x39f5c0[_0x19fe92(0x26b)](),_0x39f5c0[_0x19fe92(0xec)](),_0x39f5c0;}['onRemoteRej'](_0x7aaa19){var _0x8f8c4d=_0x72bb68;return this[_0x8f8c4d(0x2fa)](!!(_0x7aaa19!=null&&_0x7aaa19['isPermissionRej']));}['onRemoteRetry'](_0x3c11f3){var _0xd342b9=_0x72bb68;return this[_0xd342b9(0x186)]>Ci?this['toggleOffline']():(this[_0xd342b9(0x1f3)]=Ii(this[_0xd342b9(0x186)],{'timeout':this[_0xd342b9(0x186)],'reqId':_0x3c11f3['reqId']}),this[_0xd342b9(0x18c)]=this[_0xd342b9(0x1f3)][_0xd342b9(0x7d)](({reqId:_0x235dfc,timeout:_0x11c4ad})=>{var _0x3ed4af=_0xd342b9;this[_0x3ed4af(0x220)](_0x235dfc,_0x11c4ad);}),this);}[_0x72bb68(0x30b)](){var _0xc1a851=_0x72bb68;return this[_0xc1a851(0x1b9)](),this[_0xc1a851(0x37c)][_0xc1a851(0x20d)](ue,this['unitID'],this['type'],this[_0xc1a851(0xe3)],this['_pendingMutations'],this[_0xc1a851(0x1a5)]);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x5ce3bf=_0x72bb68;this[_0x5ce3bf(0x1a5)][_0x5ce3bf(0x132)](this['_awaitingChangeset']);}['_onConflict'](_0xcac7aa){var _0x41bbe1=_0x72bb68;return this[_0x41bbe1(0x1b9)](),this[_0x41bbe1(0x37c)]['createInstance'](le,this['unitID'],this['type'],null,this[_0x41bbe1(0x2fb)],this[_0x41bbe1(0x1a5)],_0xcac7aa);}[_0x72bb68(0x220)](_0x151638,_0x1d2dc9){var _0x49ab95=_0x72bb68,_0x4b495a;_0x151638===((_0x4b495a=this[_0x49ab95(0xe3)])==null?void 0x0:_0x4b495a[_0x49ab95(0x2dc)])&&(this[_0x49ab95(0x92)](),this[_0x49ab95(0x186)]=_0x1d2dc9===0x0?0x3e8:_0x1d2dc9*0x2);}[_0x72bb68(0x1b9)](){var _0x418fc8=_0x72bb68,_0x46c244;(_0x46c244=this[_0x418fc8(0x18c)])==null||_0x46c244['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x41311f(_0x4cac68)),P(0x7,_0x41311f(_0x2d82bd)),P(0x8,_0xe29ee9),P(0x9,_0x39af9e),P(0xa,_0x13d105),P(0xb,_0x1032f6),P(0xc,_0x3cf774(J))],ae);let le=class extends Te{constructor(_0x25008e,_0x36f555,_0x33cd6b,_0x2218dd,_0x275795,_0x514360=!0x1,_0x23d3df,_0x27a1f5,_0x75c797,_0x24bde5,_0x538c94,_0x21ca08,_0x3f68e0){var _0x125737=_0x72bb68;super(_0x25008e,_0x36f555,_0x33cd6b,_0x2218dd,_0x275795,_0x27a1f5,_0x75c797,_0x24bde5,_0x3f68e0),N(this,_0x125737(0x8d),_0x125737(0xb1)),(this[_0x125737(0x161)]=_0x514360,this[_0x125737(0x30c)]=_0x23d3df,this[_0x125737(0x287)]=_0x538c94,this[_0x125737(0x37b)]=_0x21ca08,this['localCacheService']=_0x3f68e0,this[_0x125737(0x24c)](),this['_clearLocalCache'](),this[_0x125737(0x275)]());}[_0x72bb68(0x250)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x72bb68(0x34d)](){return this;}[_0x72bb68(0x24d)](){return this;}[_0x72bb68(0x30b)](){return this;}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x515c9d=_0x72bb68;throw new Error(_0x515c9d(0x1ee));}['_clearLocalCache'](){var _0x1d93d0=_0x72bb68,_0x5520a1;(_0x5520a1=this[_0x1d93d0(0x35a)])==null||_0x5520a1[_0x1d93d0(0x377)](this['unitID'],this[_0x1d93d0(0xcf)],null,[]);}[_0x72bb68(0x24c)](){var _0x43025f=_0x72bb68;this[_0x43025f(0x161)]?this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x43025f(0x2bf)]}):this[_0x43025f(0x37b)][_0x43025f(0x326)]({'id':ne['CONFLICT']});}[_0x72bb68(0x275)](){var _0x50e4ca=_0x72bb68;this[_0x50e4ca(0x30c)][_0x50e4ca(0x26f)](new _0x134095(this[_0x50e4ca(0x211)])['id'],!0x1);}};le=Ie([P(0x6,_0x41311f(_0x10fa9c)),P(0x7,_0xe29ee9),P(0x8,_0x1032f6),P(0x9,_0x41311f(_0x2d82bd)),P(0xa,_0x41311f(_0x1d4c3f)),P(0xb,_0x41311f(ve)),P(0xc,_0x3cf774(J))],le);let ue=class extends Te{constructor(_0x548455,_0x32c223,_0xa8231d,_0x32f39b,_0x1677a3,_0xa81e63,_0x3d0af7,_0x4b3cce,_0x12eb7a,_0xa240ad){var _0x8e9869=_0x72bb68;super(_0x548455,_0x32c223,_0xa8231d,_0x32f39b,_0x1677a3,_0x4b3cce,_0x12eb7a,_0x3d0af7,_0xa240ad),N(this,_0x8e9869(0x8d),_0x8e9869(0xa3)),this['_injector']=_0xa81e63;}[_0x72bb68(0x250)](_0xf7e2c0){var _0x253342=_0x72bb68;return this[_0x253342(0x2fb)][_0x253342(0xe7)](_0xf7e2c0),this[_0x253342(0xec)](),this;}['onRemoteChangeset'](_0x4eb2f4){var _0x22429c=_0x72bb68;throw new Error(_0x22429c(0x102));}[_0x72bb68(0x195)](){var _0x5b7de1=_0x72bb68;throw new Error(_0x5b7de1(0x1c7));}[_0x72bb68(0x34d)](){var _0x206c6d=_0x72bb68;throw new Error(_0x206c6d(0x359));}[_0x72bb68(0x24d)](){return this;}[_0x72bb68(0x30b)](){return this;}['toggleOnline'](){var _0x1fb804=_0x72bb68;const {_injector:_0x39510a,_pendingMutations:_0x1dd1fd,_awaitingChangeset:_0x33f2b5,unitID:_0x4eafce,_handler:_0x36c67a,type:_0x245ca0}=this,_0x3d396c=Ri(_0x39510a,_0x4eafce,_0x245ca0,_0x33f2b5,_0x1dd1fd,_0x36c67a);return _0x3d396c instanceof re?_0x3d396c[_0x1fb804(0x26b)]():(_0x3d396c instanceof ae||_0x3d396c instanceof _e)&&_0x3d396c[_0x1fb804(0x92)](),_0x3d396c;}[_0x72bb68(0x92)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x41311f(_0x4cac68)),P(0x6,_0x41311f(_0x2d82bd)),P(0x7,_0xe29ee9),P(0x8,_0x1032f6),P(0x9,_0x3cf774(J))],ue);let Q=class extends Te{constructor(_0x2a1c48,_0xe9d9e4,_0x26da33,_0x52b515,_0x394935,_0x1ce58d,_0xe4885c,_0x37feeb,_0x3d6374,_0x46c023,_0x30977b,_0x31153d,_0x410d35,_0x336d02){var _0x49b538=_0x72bb68;super(_0x2a1c48,_0xe9d9e4,_0x26da33,_0x52b515,_0xe4885c,_0x30977b,_0x31153d,_0x3d6374,_0x336d02),N(this,'status',_0x49b538(0x1d1)),(this['_acknowledgedAwaitingChangeset']=_0x394935,this['_queuedRemoteChangesets']=_0x1ce58d,this[_0x49b538(0x37c)]=_0x37feeb,this[_0x49b538(0xde)]=_0x46c023,this['_transformService']=_0x410d35,this['localCacheService']=_0x336d02);}[_0x72bb68(0x2ee)](_0x498599){var _0x356fa3=_0x72bb68;try{const _0x252aef=[..._0x498599,...this[_0x356fa3(0x34b)]],_0x468c55=[this[_0x356fa3(0xe3)]||this[_0x356fa3(0x1d6)]]['filter'](_0x5c5a64=>!!_0x5c5a64);let _0xec6436,_0xc567a2;if(_0x468c55[_0x356fa3(0x182)]){const _0x59fbad=this[_0x356fa3(0x23a)][_0x356fa3(0x379)](_0x252aef,_0x468c55,!0x1);if(!_0x3cf099(_0x59fbad))throw _0x59fbad[_0x356fa3(0x32f)];_0xec6436=_0x59fbad[_0x356fa3(0xf2)],_0xc567a2=_0x59fbad[_0x356fa3(0xf0)];}else _0xec6436=_0x252aef,_0xc567a2=[];let _0x1f313e=this[_0x356fa3(0x2fb)];_0xec6436[_0x356fa3(0x16a)](_0x441d42=>{var _0x5d0e8d=_0x356fa3;let _0x11bee9;if(_0x1f313e[_0x5d0e8d(0x182)]){const _0x314ec2=this[_0x5d0e8d(0x23a)][_0x5d0e8d(0x16f)](_0x441d42,_0x1f313e);if(!_0x4eb0e0(_0x314ec2))throw _0x314ec2[_0x5d0e8d(0x32f)];_0x11bee9=_0x314ec2[_0x5d0e8d(0xf2)],_0x1f313e=_0x314ec2[_0x5d0e8d(0x1df)];}else _0x11bee9=_0x441d42;this[_0x5d0e8d(0x270)](_0x11bee9);}),this['_acknowledgedAwaitingChangeset']&&this[_0x356fa3(0x154)](),this['_awaitingChangeset']&&_0xc567a2[_0x356fa3(0x182)]&&(_0xc567a2[0x0][_0x356fa3(0x148)]=this['_getCurrentRevision']());let _0x1e06b6;if(this[_0x356fa3(0xe3)]&&_0x1f313e[_0x356fa3(0x182)]!==0x0)_0x1e06b6=this['_injector'][_0x356fa3(0x20d)](ae,this[_0x356fa3(0x211)],this[_0x356fa3(0xcf)],_0xc567a2[0x0],_0x1f313e,this[_0x356fa3(0x1a5)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1f313e[_0x356fa3(0x182)]===0x0)_0xc567a2[0x0][_0x356fa3(0x148)]=this[_0x356fa3(0x168)](),_0x1e06b6=this[_0x356fa3(0x37c)]['createInstance'](_e,this['unitID'],this[_0x356fa3(0xcf)],_0xc567a2[0x0],this[_0x356fa3(0x1a5)]);else{if(_0x1f313e[_0x356fa3(0x182)]!==0x0){const _0x13bf3b=this[_0x356fa3(0x37c)][_0x356fa3(0x20d)](re,this[_0x356fa3(0x211)],this[_0x356fa3(0xcf)],_0x1f313e,this[_0x356fa3(0x1a5)]);_0x13bf3b[_0x356fa3(0x26b)](),_0x1e06b6=_0x13bf3b;}else _0x1e06b6=this['_injector']['createInstance'](ye,this[_0x356fa3(0x211)],this[_0x356fa3(0xcf)],this[_0x356fa3(0x1a5)]);}}return _0x1e06b6['_updateLocalCache'](),_0x1e06b6;}catch(_0x257738){return this['_logService'][_0x356fa3(0x32f)](_0x356fa3(0x11b),_0x356fa3(0x157),_0x257738),this[_0x356fa3(0x37c)]['createInstance'](le,this[_0x356fa3(0x211)],this['type'],this[_0x356fa3(0xe3)],this[_0x356fa3(0x2fb)],this[_0x356fa3(0x1a5)],!0x1);}}[_0x72bb68(0x92)](){var _0x1ffda4=_0x72bb68;throw new Error(_0x1ffda4(0x255));}['appendMutation'](_0x3c2137){var _0x4f0e48=_0x72bb68;return this[_0x4f0e48(0x2fb)][_0x4f0e48(0xe7)](_0x3c2137),this;}['onRemoteChangeset'](_0x139e3f){var _0x2f6f67=_0x72bb68;return this[_0x2f6f67(0x34b)][_0x2f6f67(0xe7)](_0x139e3f),this;}[_0x72bb68(0x195)](_0x2dbfd9){var _0x3eee27=_0x72bb68;if(this[_0x3eee27(0xe3)])return this[_0x3eee27(0x1d6)]=this['_awaitingChangeset'],this[_0x3eee27(0xe3)]=null,this;throw new Error(_0x3eee27(0x149));}[_0x72bb68(0x34d)](_0x4f2d46){var _0x858782=_0x72bb68;return this[_0x858782(0x2fa)](!!(_0x4f2d46!=null&&_0x4f2d46[_0x858782(0x19f)]));}[_0x72bb68(0x24d)](){return this;}[_0x72bb68(0x30b)](){var _0x1ead11=_0x72bb68;return this['_injector']['createInstance'](ue,this[_0x1ead11(0x211)],this[_0x1ead11(0xcf)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1ead11(0x1a5)]);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x2fa)](_0x35a4e9){var _0x4d6a67=_0x72bb68;return this['_injector'][_0x4d6a67(0x20d)](le,this[_0x4d6a67(0x211)],this[_0x4d6a67(0xcf)],this['_awaitingChangeset'],this[_0x4d6a67(0x2fb)],this[_0x4d6a67(0x1a5)],_0x35a4e9);}};Q=Ie([P(0x7,_0x41311f(_0x4cac68)),P(0x8,_0x41311f(_0x2d82bd)),P(0x9,_0x39af9e),P(0xa,_0xe29ee9),P(0xb,_0x1032f6),P(0xc,_0x13d105),P(0xd,_0x3cf774(J))],Q);function Ri(_0x4accad,_0x2ee814,_0x117af7,_0x3955b3,_0x1e186a,_0x1ff2d9){var _0x542145=_0x72bb68;return _0x3955b3&&_0x1e186a['length']?_0x4accad[_0x542145(0x20d)](ae,_0x2ee814,_0x117af7,_0x3955b3,_0x1e186a,_0x1ff2d9,void 0x0):_0x3955b3?_0x4accad['createInstance'](_e,_0x2ee814,_0x117af7,_0x3955b3,_0x1ff2d9):_0x1e186a[_0x542145(0x182)]?_0x4accad[_0x542145(0x20d)](re,_0x2ee814,_0x117af7,_0x1e186a,_0x1ff2d9):_0x4accad[_0x542145(0x20d)](ye,_0x2ee814,_0x117af7,_0x1ff2d9);}var Zs=Object[_0x72bb68(0x159)],wt=(_0x5802f3,_0x59ef21,_0x5d5c17,_0x246fb2)=>{for(var _0x49390c=_0x246fb2>0x1?void 0x0:_0x246fb2?Zs(_0x59ef21,_0x5d5c17):_0x59ef21,_0xf74000=_0x5802f3['length']-0x1,_0x411b52;_0xf74000>=0x0;_0xf74000--)(_0x411b52=_0x5802f3[_0xf74000])&&(_0x49390c=_0x411b52(_0x49390c)||_0x49390c);return _0x49390c;},H=(_0x533e89,_0x52201d)=>(_0x40d814,_0x21ece2)=>_0x52201d(_0x40d814,_0x21ece2,_0x533e89);let st=class extends _0x184f79{constructor(_0x1eecab,_0x7b9844,_0xd12486,_0x2c1e03,_0x55646d,_0x1d7585,_0x3d654d,_0x513601,_0x3d879c,_0x20fcc0,_0x4adf17,_0x4c1e33,_0x5af468){var _0x25feb5=_0x72bb68;super(),N(this,_0x25feb5(0x2f8),new _0x50b1a3(null)),N(this,_0x25feb5(0x26d),this[_0x25feb5(0x2f8)][_0x25feb5(0xdc)]()),N(this,_0x25feb5(0x313)),N(this,_0x25feb5(0x346),!0x1),N(this,_0x25feb5(0x28c),''),N(this,_0x25feb5(0x303),0x0),N(this,_0x25feb5(0x2b2),this[_0x25feb5(0x26d)]['pipe'](_0x11bcb9(_0x288f73=>_0x288f73?_0x288f73[_0x25feb5(0x8d)]:Ti[_0x25feb5(0x243)]),_0x2e23ba(0x1))),N(this,_0x25feb5(0x143),!0x1),N(this,_0x25feb5(0x12d),[]),(this['unitID']=_0x1eecab,this[_0x25feb5(0x293)]=_0x7b9844,this[_0x25feb5(0x116)]=_0xd12486,this[_0x25feb5(0x37c)]=_0x2c1e03,this[_0x25feb5(0x10f)]=_0x55646d,this['_localeService']=_0x1d7585,this[_0x25feb5(0xb8)]=_0x3d654d,this[_0x25feb5(0x227)]=_0x513601,this[_0x25feb5(0xde)]=_0x3d879c,this['_commandService']=_0x20fcc0,this[_0x25feb5(0x30c)]=_0x4adf17,this[_0x25feb5(0x268)]=_0x4c1e33,this[_0x25feb5(0x35a)]=_0x5af468);}get[_0x72bb68(0x19a)](){return this['_state'];}async['init'](){var _0x73a3ae=_0x72bb68;if(this[_0x73a3ae(0x19a)])throw new Error(_0x73a3ae(0x1a3));await this['_init']();}[_0x72bb68(0xe5)](){var _0x1e03a3=_0x72bb68;return this[_0x1e03a3(0x346)]=!0x0,_0x6a388a(()=>{var _0x7f112d=_0x1e03a3;this[_0x7f112d(0x346)]=!0x1,this[_0x7f112d(0xf7)]();});}[_0x72bb68(0xe2)](_0x709eb9){var _0x21fa70=_0x72bb68;this[_0x21fa70(0x1ed)](_0x709eb9);}[_0x72bb68(0x214)](_0xb2aae2){var _0x570bfe=_0x72bb68;this[_0x570bfe(0x313)]=_0xb2aae2,this['_state$'][_0x570bfe(0x173)](_0xb2aae2);}async[_0x72bb68(0x22d)](){var _0x163b30=_0x72bb68,_0x75c944;this[_0x163b30(0x214)](await this[_0x163b30(0x2b6)]()),this[_0x163b30(0x268)]&&((_0x75c944=this[_0x163b30(0x268)])==null||_0x75c944['editingUnit'](this['unitID']),this[_0x163b30(0x2c3)](this[_0x163b30(0x268)][_0x163b30(0x23b)](this[_0x163b30(0x211)])[_0x163b30(0x7d)](_0x42b34e=>{var _0x134643=_0x163b30;this[_0x134643(0xde)][_0x134643(0x151)]('[CollaborationEntity]',_0x134643(0xa6),_0x42b34e),_0x42b34e===Ei[_0x134643(0x1f8)]?(this[_0x134643(0x227)]['emitEvent']({'id':ne[_0x134643(0x2e7)]}),this[_0x134643(0x30c)][_0x134643(0x26f)](new _0x134095(this[_0x134643(0x211)])['id'],!0x1),this[_0x134643(0x30c)]['setShowComponents'](!0x1)):(this[_0x134643(0x30c)]['updatePermissionPoint'](new _0x134095(this[_0x134643(0x211)])['id'],!0x0),this['_permissionService'][_0x134643(0xfb)](!0x0));})));let _0x5ea1f0=!0x1;return this[_0x163b30(0x2c3)](this[_0x163b30(0x293)][_0x163b30(0x2a3)][_0x163b30(0x7d)](_0x534525=>{var _0x4f5be2=_0x163b30;_0x534525===Se['ONLINE']?this[_0x4f5be2(0x85)](_0x5ea1f0):_0x534525===Se[_0x4f5be2(0x243)]&&(_0x5ea1f0=!0x0,this[_0x4f5be2(0x1a1)]());})),this['disposeWithMe'](this[_0x163b30(0x293)][_0x163b30(0x25e)][_0x163b30(0x7d)](_0xbe3b53=>{var _0x42588c=_0x163b30;try{switch(_0xbe3b53[_0x42588c(0x1ce)]){case _0x528d02[_0x42588c(0x1ef)]:{this['_onRemoteChangeset'](_0x131401(_0xbe3b53[_0x42588c(0x13c)]));break;}case _0x528d02[_0x42588c(0x185)]:{this['_onRemoteACK'](_0xbe3b53[_0x42588c(0x13c)]);break;}case _0x528d02[_0x42588c(0x1a6)]:{this['_onRemoteRejected']();break;}case _0x528d02[_0x42588c(0x15a)]:{this[_0x42588c(0xcc)](_0xbe3b53[_0x42588c(0x13c)]);break;}case _0x528d02['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xbe3b53[_0x42588c(0x13c)][_0x42588c(0x123)][_0x42588c(0x374)](_0x3af7b8=>_0x131401(_0x3af7b8)));break;}case _0x528d02[_0x42588c(0x295)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x528d02[_0x42588c(0xdd)]:break;}}catch(_0x5a9614){throw console['error'](_0x42588c(0x9b),_0x5a9614),_0x5a9614;}})),this[_0x163b30(0x313)];}[_0x72bb68(0x140)](){var _0xae711e=_0x72bb68;this[_0xae711e(0x143)]=!0x1;}['_lockTransition'](){var _0x4b94c1=_0x72bb68;if(this['_transitionLocked'])throw new Error(_0x4b94c1(0xed));this[_0x4b94c1(0x143)]=!0x0;}['_onLocalMutation'](_0x1bb030){var _0xcd39ca=_0x72bb68;this[_0xcd39ca(0x24f)](),this[_0xcd39ca(0x214)](this[_0xcd39ca(0x313)][_0xcd39ca(0x250)](_0x1bb030)),this[_0xcd39ca(0x140)]();}['_onRemoteChangeset'](_0x52750c){var _0xa4dd67=_0x72bb68;if(!(_0x52750c[_0xa4dd67(0x2f4)]<=this['_revisionService'][_0xa4dd67(0x37a)](this[_0xa4dd67(0x211)]))){if(this[_0xa4dd67(0x346)]){this['_remoteChangesetQueue']['push'](_0x52750c);return;}this[_0xa4dd67(0x1b0)](_0x52750c);}}['_exhaustRemoteChangesetQueue'](){var _0x3a1a11=_0x72bb68;this[_0x3a1a11(0x12d)][_0x3a1a11(0x16a)](_0x55e20b=>this['_applyRemoteChangeset'](_0x55e20b)),this[_0x3a1a11(0x12d)]=[];}['_applyRemoteChangeset'](_0x33f325){var _0x16234a=_0x72bb68;const _0x5e61bf=this['_compressMutationService'][_0x16234a(0xe1)][_0x16234a(0x1f2)](this[_0x16234a(0x10f)][_0x16234a(0xe1)][_0x16234a(0x1af)]()[_0x16234a(0x242)])(_0x33f325[_0x16234a(0x2ff)],null)||_0x33f325[_0x16234a(0x2ff)],_0x1f48d7={..._0x33f325,'mutations':_0x5e61bf};this['_lockTransition'](),this['_updateState'](this[_0x16234a(0x313)][_0x16234a(0x19b)](_0x1f48d7)),this[_0x16234a(0x140)]();}[_0x72bb68(0x2cf)](_0x518909){var _0x4fb251=_0x72bb68;this['_lockTransition'](),this[_0x4fb251(0x214)](this['_state']['onRemoteAck'](_0x518909)),this[_0x4fb251(0x140)]();}[_0x72bb68(0x1cc)](_0x401299){var _0x12a10d=_0x72bb68;this[_0x12a10d(0x24f)](),this[_0x12a10d(0x214)](this[_0x12a10d(0x313)]['onRemoteRej'](_0x401299)),this[_0x12a10d(0x140)]();}[_0x72bb68(0xcc)](_0x4f77ad){var _0x2fba24=_0x72bb68;this['_lockTransition'](),this[_0x2fba24(0x214)](this['_state'][_0x2fba24(0x24d)](_0x4f77ad)),this[_0x2fba24(0x140)]();}[_0x72bb68(0x1ff)](_0x31b0f4){var _0x1cf88a=_0x72bb68;if(!(this['_state']instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xe237fe=_0x31b0f4['map'](_0x1d753c=>{var _0xde6852=_0x3e8b;const _0x25c301=this[_0xde6852(0x10f)][_0xde6852(0xe1)][_0xde6852(0x1f2)](this[_0xde6852(0x10f)][_0xde6852(0xe1)][_0xde6852(0x1af)]()[_0xde6852(0x242)])(_0x1d753c[_0xde6852(0x2ff)],null)||_0x1d753c[_0xde6852(0x2ff)];return{..._0x1d753c,'mutations':_0x25c301};});this[_0x1cf88a(0x24f)](),this[_0x1cf88a(0x214)](this['_state'][_0x1cf88a(0x2ee)](_0xe237fe)),this[_0x1cf88a(0x140)]();}[_0x72bb68(0x1a1)](){var _0x589f6c=_0x72bb68;this[_0x589f6c(0x24f)](),this[_0x589f6c(0x214)](this['_state']['toggleOffline']()),this[_0x589f6c(0x140)]();}[_0x72bb68(0x85)](_0x3edd0a=!0x1){var _0xa71aa4=_0x72bb68;this['_lockTransition'](),this[_0xa71aa4(0x214)](this[_0xa71aa4(0x313)]['toggleOnline']()),this[_0xa71aa4(0x140)]();const _0x400a35=this['_state'];_0x3edd0a&&_0x400a35 instanceof ye&&(this[_0xa71aa4(0x24f)](),this[_0xa71aa4(0x214)](_0x400a35['fetchMiss']()),this[_0xa71aa4(0x140)]());}async[_0x72bb68(0x2b6)](){return new Promise(_0x5363fe=>{var _0x499f34=_0x3e8b;this[_0x499f34(0x293)]['sessionStatus$'][_0x499f34(0x2ea)](_0x8eeaf8(0x1))[_0x499f34(0x7d)](async _0x3b0332=>{_0x5363fe(await this['_createInitialStateImpl'](_0x3b0332===Se['ONLINE']));});});}['_createHandler'](){var _0xec032=_0x72bb68;const _0x301daa=this[_0xec032(0x211)];return{'onStateChange':(_0xdaa38b,_0x49ca01)=>{var _0x11fd5d=_0xec032;if(_0xdaa38b!==this[_0x11fd5d(0x313)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xdaa38b['status']+_0x11fd5d(0x26a)+_0x49ca01[_0x11fd5d(0x8d)]+'\x0aCurrent:\x20'+this[_0x11fd5d(0x313)][_0x11fd5d(0x8d)]);this[_0x11fd5d(0x214)](_0x49ca01);},'onSendChangeset':_0x151edd=>{var _0xcc145b=_0xec032;_0x151edd['sid']||(_0x151edd[_0xcc145b(0x224)]=this[_0xcc145b(0x28c)],_0x151edd[_0xcc145b(0x2dc)]=++this[_0xcc145b(0x303)]);const _0x1a8533={'eventID':_0x528d02[_0xcc145b(0x8b)],'data':{'unitID':_0x151edd['unitID'],'unitType':this[_0xcc145b(0x116)],'changeset':_0x151edd,'memberID':this[_0xcc145b(0x293)][_0xcc145b(0x236)]()}};this[_0xcc145b(0x293)][_0xcc145b(0x341)](_0x1a8533,this['unitID']);},'onMissingChangesets':({from:_0x2f3bd7,to:_0x58ab6c})=>{var _0x5ed5f6=_0xec032;this[_0x5ed5f6(0xde)][_0x5ed5f6(0x151)](_0x5ed5f6(0x2a1),_0x5ed5f6(0x1f7)+_0x2f3bd7+_0x5ed5f6(0x17f)+_0x58ab6c);const _0x26afa0={'eventID':_0x528d02['FETCH_MISSING'],'data':{'unitID':_0x301daa,'unitType':this[_0x5ed5f6(0x116)],'from':_0x2f3bd7,'to':_0x58ab6c}};this[_0x5ed5f6(0x293)][_0x5ed5f6(0x341)](_0x26afa0,this[_0x5ed5f6(0x211)]);}};}async[_0x72bb68(0x29b)](_0x16ab19){var _0x1becaa=_0x72bb68,_0x3b5c39,_0x3f9942,_0x27ab88;const _0x15ee91=await((_0x3b5c39=this[_0x1becaa(0x35a)])==null?void 0x0:_0x3b5c39[_0x1becaa(0x12c)](this[_0x1becaa(0x211)])),_0x52fcb9=(_0x3f9942=_0x15ee91==null?void 0x0:_0x15ee91[_0x1becaa(0x2ff)])!=null?_0x3f9942:[],_0x4c5c6d=(_0x27ab88=_0x15ee91==null?void 0x0:_0x15ee91[_0x1becaa(0x169)])!=null?_0x27ab88:null,_0x5562fb=!!(_0x4c5c6d!=null&&_0x4c5c6d[_0x1becaa(0x224)])&&!!(_0x4c5c6d!=null&&_0x4c5c6d['reqId']);this[_0x1becaa(0x28c)]=_0x5562fb?_0x4c5c6d[_0x1becaa(0x224)]:_0x1da367(),this['_changesetReqId']=_0x5562fb?_0x4c5c6d[_0x1becaa(0x2dc)]:0x0;const _0x142bf6=this['unitID'];try{this['_replayCachedMutations'](_0x4c5c6d,_0x52fcb9);}catch(_0x4ee3b7){this[_0x1becaa(0xde)][_0x1becaa(0x32f)](_0x4ee3b7);}const _0x53c15b=this[_0x1becaa(0x1bc)]();if(_0x16ab19){const _0x4134e1=Ri(this[_0x1becaa(0x37c)],_0x142bf6,this[_0x1becaa(0x116)],_0x4c5c6d,_0x52fcb9,_0x53c15b);return _0x4134e1 instanceof re?_0x4134e1[_0x1becaa(0x26b)]():(_0x4134e1 instanceof ae||_0x4134e1 instanceof _e)&&_0x4134e1[_0x1becaa(0x92)](),_0x4134e1;}return this[_0x1becaa(0x37c)][_0x1becaa(0x20d)](ue,_0x142bf6,this[_0x1becaa(0x116)],_0x4c5c6d,_0x52fcb9,_0x53c15b);}['_replayCachedMutations'](_0x5eadad,_0x3f8e0b){var _0x4f8170=_0x72bb68,_0xa564a,_0x4e47ae;const _0x526590=this[_0x4f8170(0x10f)][_0x4f8170(0xe1)][_0x4f8170(0x1f2)](this[_0x4f8170(0x10f)][_0x4f8170(0xe1)][_0x4f8170(0x1af)]()['COMPRESS_MUTATION_APPLY']);(_0xa564a=_0x526590((_0x5eadad==null?void 0x0:_0x5eadad[_0x4f8170(0x2ff)])||[],null))==null||_0xa564a['forEach'](_0x4b2383=>this['_commandService'][_0x4f8170(0x36a)](_0x4b2383['id'],_0x4b2383['params'])),(_0x4e47ae=_0x526590(_0x3f8e0b||[],null))==null||_0x4e47ae[_0x4f8170(0x16a)](_0x4ce445=>this[_0x4f8170(0x2b8)][_0x4f8170(0x36a)](_0x4ce445['id'],_0x4ce445[_0x4f8170(0x226)]));}};st=wt([H(0x3,_0x41311f(_0x4cac68)),H(0x4,_0x41311f(_0x58b918)),H(0x5,_0x41311f(_0x1d4c3f)),H(0x6,_0x41311f(_0x2d82bd)),H(0x7,_0x41311f(ve)),H(0x8,_0x39af9e),H(0x9,_0xe29ee9),H(0xa,_0x10fa9c),H(0xb,_0x3cf774(ht)),H(0xc,_0x3cf774(J))],st);let St=class extends st{constructor(_0x38583e,_0x33ed48,_0x4998c2,_0x385b3b,_0x388a29,_0x1f3eee,_0x3f47cc,_0x557213,_0x4b220f,_0xe61c72,_0x14c2f9,_0x3b50ee,_0x1cf8de){var _0x4cd8b8=_0x72bb68;super(_0x38583e,_0x4998c2,_0x33ed48,_0x385b3b,_0x388a29,_0x1f3eee,_0x3f47cc,_0x557213,_0x4b220f,_0xe61c72,_0x14c2f9,_0x3b50ee,_0x1cf8de),N(this,_0x4cd8b8(0x1d4),null),(this[_0x4cd8b8(0x211)]=_0x38583e,this[_0x4cd8b8(0xcf)]=_0x33ed48);}[_0x72bb68(0x17d)](_0x547214){var _0x562b95=_0x72bb68;this[_0x562b95(0x1d4)]=_0x547214;}[_0x72bb68(0x97)](){var _0x27c567=_0x72bb68;this[_0x27c567(0x1d4)]=null,super['dispose']();}['_createHandler'](){var _0x5bbb64=_0x72bb68;const _0x5891cc=super[_0x5bbb64(0x1bc)]();return _0x5891cc[_0x5bbb64(0x202)]=_0xf83bd8=>{var _0x3de6fb=_0x5bbb64,_0x1e7cea,_0x3b27af;return(_0x3b27af=(_0x1e7cea=this[_0x3de6fb(0x1d4)])==null?void 0x0:_0x1e7cea[_0x3de6fb(0x202)])==null?void 0x0:_0x3b27af[_0x3de6fb(0x32b)](_0x1e7cea,_0xf83bd8);},_0x5891cc[_0x5bbb64(0x37e)]=_0x20cdc3=>{var _0xd29f37=_0x5bbb64,_0x4e38c4,_0x5e5454;return(_0x5e5454=(_0x4e38c4=this[_0xd29f37(0x1d4)])==null?void 0x0:_0x4e38c4[_0xd29f37(0x37e)])==null?void 0x0:_0x5e5454[_0xd29f37(0x32b)](_0x4e38c4,_0x20cdc3);},_0x5891cc[_0x5bbb64(0x96)]=_0x4b8a49=>{var _0xfbdcf6=_0x5bbb64,_0xa636d8,_0x4224bc;return(_0x4224bc=(_0xa636d8=this['_handlerCallback'])==null?void 0x0:_0xa636d8[_0xfbdcf6(0x96)])==null?void 0x0:_0x4224bc[_0xfbdcf6(0x32b)](_0xa636d8,_0x4b8a49);},_0x5891cc[_0x5bbb64(0x8a)]=_0x493ca3=>{var _0x46a173=_0x5bbb64,_0x4bd3ca,_0x3dcf55;return(_0x3dcf55=(_0x4bd3ca=this[_0x46a173(0x1d4)])==null?void 0x0:_0x4bd3ca['onSyncEditingCollabCursor'])==null?void 0x0:_0x3dcf55[_0x46a173(0x32b)](_0x4bd3ca,_0x493ca3);},_0x5891cc[_0x5bbb64(0x30a)]=_0x1f4b79=>{var _0x5d3d67=_0x5bbb64,_0x2d06a2,_0x5c5015,_0x13c4ab;if(!((_0x2d06a2=this[_0x5d3d67(0x1d4)])!=null&&_0x2d06a2[_0x5d3d67(0x30a)]))throw new Error(_0x5d3d67(0x115));return(_0x13c4ab=(_0x5c5015=this[_0x5d3d67(0x1d4)])==null?void 0x0:_0x5c5015[_0x5d3d67(0x30a)])==null?void 0x0:_0x13c4ab[_0x5d3d67(0x32b)](_0x5c5015,_0x1f4b79);},_0x5891cc[_0x5bbb64(0x1e9)]=_0x590695=>{var _0x16a31a=_0x5bbb64,_0x2f45f6,_0x3b494a,_0x4893e9;if(!((_0x2f45f6=this[_0x16a31a(0x1d4)])!=null&&_0x2f45f6[_0x16a31a(0x1e9)]))throw new Error(_0x16a31a(0x329));return(_0x4893e9=(_0x3b494a=this[_0x16a31a(0x1d4)])==null?void 0x0:_0x3b494a[_0x16a31a(0x1e9)])==null?void 0x0:_0x4893e9[_0x16a31a(0x32b)](_0x3b494a,_0x590695);},_0x5891cc;}async['_init'](){var _0x205845=_0x72bb68;const _0x2134dd=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x205845(0x2eb)]((_0x30ba54,_0x7da092)=>{var _0x409c86=_0x205845;if(_0x30ba54[_0x409c86(0xcf)]!==_0x558bce['MUTATION']||_0x7da092!=null&&_0x7da092['fromCollab']||_0x7da092!=null&&_0x7da092['onlyLocal']||_0x30ba54['id']===_0x85a4d0['id'])return;const _0x143f43=_0x30ba54[_0x409c86(0x226)];if((_0x143f43==null?void 0x0:_0x143f43[_0x409c86(0x1c6)])!==this['unitID'])return;const _0x5a5b64=_0x30ba54,_0xab4000=this[_0x409c86(0x10f)][_0x409c86(0xe1)]['fetchThroughInterceptors'](this[_0x409c86(0x10f)][_0x409c86(0xe1)][_0x409c86(0x1af)]()[_0x409c86(0x1f6)])([_0x5a5b64],null)||[_0x5a5b64];this[_0x409c86(0x1ed)](_0xab4000[0x0]);})),_0x2134dd;}};St=wt([H(0x3,_0x41311f(_0x4cac68)),H(0x4,_0x41311f(_0x58b918)),H(0x5,_0x41311f(_0x1d4c3f)),H(0x6,_0x41311f(_0x2d82bd)),H(0x7,_0x41311f(ve)),H(0x8,_0x39af9e),H(0x9,_0xe29ee9),H(0xa,_0x10fa9c),H(0xb,_0x3cf774(ht)),H(0xc,_0x3cf774(J))],St);let Et=class extends st{constructor(_0x294640,_0x5a1382,_0x547128,_0x417955,_0x2d9be4,_0x45e39d,_0x23c81d,_0x3ef1ae,_0x553a1a,_0x25fa04,_0x55032,_0x175965,_0x3a7fe1,_0x36ce59){var _0x239c22=_0x72bb68;super(_0x294640,_0x547128,_0x5a1382,_0x417955,_0x2d9be4,_0x45e39d,_0x23c81d,_0x553a1a,_0x25fa04,_0x55032,_0x175965,_0x3a7fe1,_0x36ce59),this['unitID']=_0x294640,this[_0x239c22(0xcf)]=_0x5a1382,this[_0x239c22(0x30e)]=_0x3ef1ae;}[_0x72bb68(0x1bc)](){var _0x128f39=_0x72bb68;const _0x45207a=super[_0x128f39(0x1bc)]();return _0x45207a['onTransformSelections']=_0x26ff8a=>this['_sheetTransformSelectionsService'][_0x128f39(0x82)](_0x26ff8a),_0x45207a;}async['_init'](){var _0x5dbff1=_0x72bb68;const _0x1934ad=await super[_0x5dbff1(0x22d)]();return this['disposeWithMe'](this[_0x5dbff1(0x2b8)][_0x5dbff1(0x2eb)]((_0x4e989e,_0x51e027)=>{var _0x3644d4=_0x5dbff1;if(_0x4e989e[_0x3644d4(0xcf)]!==_0x558bce[_0x3644d4(0xa0)]||_0x51e027!=null&&_0x51e027['fromCollab']||_0x51e027!=null&&_0x51e027['onlyLocal'])return;const _0x547c9a=_0x4e989e[_0x3644d4(0x226)];if((_0x547c9a==null?void 0x0:_0x547c9a[_0x3644d4(0x1c6)])!==this[_0x3644d4(0x211)])return;const _0x28569b=_0x4e989e,_0x5f0be7=this[_0x3644d4(0x10f)][_0x3644d4(0xe1)][_0x3644d4(0x1f2)](this[_0x3644d4(0x10f)][_0x3644d4(0xe1)][_0x3644d4(0x1af)]()[_0x3644d4(0x1f6)])([_0x28569b],null)||[_0x28569b];this['_onLocalMutation'](_0x5f0be7[0x0]);})),_0x1934ad;}};Et=wt([H(0x3,_0x41311f(_0x4cac68)),H(0x4,_0x41311f(_0x58b918)),H(0x5,_0x41311f(_0x1d4c3f)),H(0x6,_0x41311f(_0x2d82bd)),H(0x7,_0x41311f(it)),H(0x8,_0x41311f(ve)),H(0x9,_0x39af9e),H(0xa,_0xe29ee9),H(0xb,_0x10fa9c),H(0xc,_0x3cf774(ht)),H(0xd,_0x3cf774(J))],Et);var Qs=Object[_0x72bb68(0x159)],en=(_0x33a436,_0x210362,_0x140701,_0x1fe764)=>{for(var _0x50c2fc=_0x1fe764>0x1?void 0x0:_0x1fe764?Qs(_0x210362,_0x140701):_0x210362,_0x48c5d9=_0x33a436['length']-0x1,_0x69bf14;_0x48c5d9>=0x0;_0x48c5d9--)(_0x69bf14=_0x33a436[_0x48c5d9])&&(_0x50c2fc=_0x69bf14(_0x50c2fc)||_0x50c2fc);return _0x50c2fc;},Be=(_0x510b,_0x4fa5c8)=>(_0x1a3768,_0x5cf9df)=>_0x4fa5c8(_0x1a3768,_0x5cf9df,_0x510b);let nt=class extends _0x184f79{constructor(_0x45ad10,_0x10272a,_0x48196c,_0x53fa70){var _0x749545=_0x72bb68,_0xa28ecd;super(),N(this,_0x749545(0x1d5),new Map()),N(this,_0x749545(0x2c4),new _0x29e22a()),N(this,_0x749545(0x291),this[_0x749545(0x2c4)][_0x749545(0xdc)]()),(this[_0x749545(0x37c)]=_0x45ad10,this[_0x749545(0x11d)]=_0x10272a,this['_configService']=_0x48196c,this[_0x749545(0xf4)]=_0x53fa70,((_0xa28ecd=this['_configService'][_0x749545(0x1e2)](K))==null?void 0x0:_0xa28ecd[_0x749545(0x1e7)])!==!0x1&&this[_0x749545(0x22d)]());}[_0x72bb68(0x97)](){var _0x13e67b=_0x72bb68;super[_0x13e67b(0x97)](),this[_0x13e67b(0x1d5)][_0x13e67b(0x16a)](_0x46244a=>_0x46244a[_0x13e67b(0x97)]()),this[_0x13e67b(0x1d5)][_0x13e67b(0x318)]();}[_0x72bb68(0xfa)](_0x3e09ff){var _0x243d97=_0x72bb68,_0x2e1461;return(_0x2e1461=this[_0x243d97(0x1d5)][_0x243d97(0x283)](_0x3e09ff))!=null?_0x2e1461:null;}[_0x72bb68(0x2c8)](_0x44a8e4){var _0x2c35e8=_0x72bb68;const _0x296ad3=this[_0x2c35e8(0xfa)](_0x44a8e4);return _0x296ad3?_0x283c2a(_0x296ad3):this['_entityInit$'][_0x2c35e8(0x2ea)](_0x3f4fbb(_0x28bec5=>_0x28bec5[_0x2c35e8(0x211)]===_0x44a8e4));}[_0x72bb68(0x2ac)](_0x38830a){var _0x493d7d=_0x72bb68;return _0x23659e(this[_0x493d7d(0x2c8)](_0x38830a)['pipe'](_0x6504cb(()=>{})));}[_0x72bb68(0x22d)](){var _0x4758aa=_0x72bb68;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20b46e[_0x4758aa(0x9d)])[_0x4758aa(0x2ea)](_0x476de2(this[_0x4758aa(0x17a)]),_0x4b23c7(0x10))[_0x4758aa(0x7d)](async _0x47e83c=>{var _0x222c3a=_0x4758aa;const _0x214656=_0x47e83c[_0x222c3a(0x2a0)](),_0x275276=await this['_startCollaboration'](_0x214656,Z[_0x222c3a(0x9d)]);this['_entities']['set'](_0x214656,_0x275276);}),this[_0x4758aa(0xf4)][_0x4758aa(0x356)](_0x20b46e[_0x4758aa(0x357)])[_0x4758aa(0x2ea)](_0x476de2(this['dispose$']),_0x4b23c7(0x10))[_0x4758aa(0x2ea)](_0x3f4fbb(_0x50fbf5=>!_0x50fbf5[_0x4758aa(0x2a0)]()[_0x4758aa(0xce)]('__')))[_0x4758aa(0x7d)](async _0x4fc3a0=>{var _0x24caaa=_0x4758aa;const _0x4d68d9=_0x4fc3a0['getUnitId'](),_0x51d04c=await this[_0x24caaa(0x16d)](_0x4d68d9,Z[_0x24caaa(0x357)]);this[_0x24caaa(0x1d5)][_0x24caaa(0x1c2)](_0x4d68d9,_0x51d04c);}),_0x2cf726(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x20b46e[_0x4758aa(0x9d)]),this['_univerInstanceService'][_0x4758aa(0x2cc)](_0x20b46e[_0x4758aa(0x357)]))['pipe'](_0x476de2(this[_0x4758aa(0x17a)]))['subscribe'](_0x201fed=>{var _0x332f3c=_0x4758aa;const _0x4fe8df=_0x201fed['getUnitId'](),_0x34f1e6=this[_0x332f3c(0x1d5)]['get'](_0x4fe8df);_0x34f1e6&&(_0x34f1e6[_0x332f3c(0x97)](),this[_0x332f3c(0x1d5)][_0x332f3c(0x1d8)](_0x4fe8df));});}async[_0x72bb68(0x16d)](_0x4f54dd,_0x4ec802){var _0x19ae09=_0x72bb68;const _0x1cb2a3=await this['_collabSessionService'][_0x19ae09(0xbe)](_0x4f54dd),_0x10a316=this[_0x19ae09(0x37c)][_0x19ae09(0x20d)](this[_0x19ae09(0x1ba)](_0x4ec802),_0x4f54dd,_0x4ec802,_0x1cb2a3);return await _0x10a316[_0x19ae09(0x1c9)](),this[_0x19ae09(0x2c4)][_0x19ae09(0x173)](_0x10a316),_0x10a316;}[_0x72bb68(0x1ba)](_0x2b1b4c){var _0x29e8ae=_0x72bb68;switch(_0x2b1b4c){case Z[_0x29e8ae(0x357)]:return St;case Z[_0x29e8ae(0x9d)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2b1b4c);}}};nt=en([Be(0x0,_0x41311f(_0x4cac68)),Be(0x1,_0x41311f(Le)),Be(0x2,_0x19233d),Be(0x3,_0x4aee63)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0xb29f7,_0x43de42,_0xeb485a,_0x2fe992)=>{var _0x30f64c=_0x72bb68;for(var _0x1167d5=_0x2fe992>0x1?void 0x0:_0x2fe992?tn(_0x43de42,_0xeb485a):_0x43de42,_0x3cf431=_0xb29f7[_0x30f64c(0x182)]-0x1,_0x413488;_0x3cf431>=0x0;_0x3cf431--)(_0x413488=_0xb29f7[_0x3cf431])&&(_0x1167d5=_0x413488(_0x1167d5)||_0x1167d5);return _0x1167d5;},Yt=(_0x5c06ef,_0x1ca640)=>(_0x244439,_0x32cc33)=>_0x1ca640(_0x244439,_0x32cc33,_0x5c06ef);const nn=_0x72bb68(0x1a7),rn=_0x72bb68(0x1c5);let It=class extends _0x3b479f{constructor(_0x4c952f,_0x396ebf){var _0x5090fe=_0x72bb68;super(),this[_0x5090fe(0xf4)]=_0x4c952f,this['_configService']=_0x396ebf,this[_0x5090fe(0x22d)]();}['_init'](){var _0x177d21=_0x72bb68;this[_0x177d21(0x2c3)](this[_0x177d21(0xf4)]['focused$'][_0x177d21(0x7d)](()=>{var _0x27b351=_0x177d21,_0x3c1699;const _0x5d1a23=this['_univerInstanceService'][_0x27b351(0x15f)]();let _0x34161e=(_0x3c1699=this[_0x27b351(0x184)]['getConfig'](nn))!=null?_0x3c1699:rn;_0x5d1a23 instanceof _0x4599fd&&(_0x34161e=_0x5d1a23[_0x27b351(0x144)]),document['title']=_0x34161e;}));}};It=sn([Yt(0x0,_0x4aee63),Yt(0x1,_0x19233d)],It);var an=Object[_0x72bb68(0x159)],on=(_0x3adab5,_0x891841,_0x1c8385,_0xd5406a)=>{for(var _0x4f8447=_0xd5406a>0x1?void 0x0:_0xd5406a?an(_0x891841,_0x1c8385):_0x891841,_0x3a76b5=_0x3adab5['length']-0x1,_0x668059;_0x3a76b5>=0x0;_0x3a76b5--)(_0x668059=_0x3adab5[_0x3a76b5])&&(_0x4f8447=_0x668059(_0x4f8447)||_0x4f8447);return _0x4f8447;},dt=(_0x192c44,_0x1110e0)=>(_0x5056a7,_0x28a32c)=>_0x1110e0(_0x5056a7,_0x28a32c,_0x192c44);let rt=class{constructor(_0xac9dad,_0x1b9f8c,_0x222779){var _0x3c2fe0=_0x72bb68;this['_configService']=_0xac9dad,this[_0x3c2fe0(0x367)]=_0x1b9f8c,this['localeService']=_0x222779,this[_0x3c2fe0(0x1c9)]();}[_0x72bb68(0x1c9)](){var _0x5d6bc8=_0x72bb68;this[_0x5d6bc8(0x367)][_0x5d6bc8(0x147)]({'priority':0x1,'interceptor':(_0x20a3ac,_0x1754e7)=>_0x1754e7(_0x20a3ac)[_0x5d6bc8(0x2ea)](_0x5a191d(async _0x397a31=>{var _0x377b3a=_0x5d6bc8;const _0x39a644=_0x397a31;if(_0x39a644['status']===0x191){if(typeof window>'u')throw new Error(_0x377b3a(0x23d));if(window['confirm'](this['localeService']['t'](_0x377b3a(0x1b6)))){const _0x245ff2=window[_0x377b3a(0x1dd)](window[_0x377b3a(0x262)]['href']);window[_0x377b3a(0x262)][_0x377b3a(0x260)]=this[_0x377b3a(0xcb)]()+'?url='+_0x245ff2;}}return _0x39a644;}))});}[_0x72bb68(0xcb)](){var _0xcda974=_0x72bb68,_0x4e4708,_0x22cc67;const _0x42babf=this[_0xcda974(0x184)][_0xcda974(0x1e2)](ys),_0xdfabb3=this[_0xcda974(0x184)][_0xcda974(0x1e2)](K);return(_0x22cc67=(_0x4e4708=_0xdfabb3==null?void 0x0:_0xdfabb3[_0xcda974(0x24b)])!=null?_0x4e4708:_0x42babf)!=null?_0x22cc67:Ns;}};rt=on([dt(0x0,_0x19233d),dt(0x1,_0x41311f(_0x4fe417)),dt(0x2,_0x41311f(_0x1d4c3f))],rt);var cn=Object[_0x72bb68(0x159)],hn=(_0x44dc3b,_0x166956,_0x1945eb,_0x2fb1d3)=>{var _0x398495=_0x72bb68;for(var _0x505546=_0x2fb1d3>0x1?void 0x0:_0x2fb1d3?cn(_0x166956,_0x1945eb):_0x166956,_0x45b282=_0x44dc3b[_0x398495(0x182)]-0x1,_0x87cbb4;_0x45b282>=0x0;_0x45b282--)(_0x87cbb4=_0x44dc3b[_0x45b282])&&(_0x505546=_0x87cbb4(_0x505546)||_0x505546);return _0x505546;},Kt=(_0x40d002,_0xc1428a)=>(_0x1fb39f,_0x1c96f7)=>_0xc1428a(_0x1fb39f,_0x1c96f7,_0x40d002);const bi=_0x72bb68(0x2b4),_n='/universer-api/authz';let Tt=class extends _0x3b479f{constructor(_0x85c085,_0x385dcf){var _0x1e8843=_0x72bb68;super(),this[_0x1e8843(0x31d)]=_0x85c085,this['_configService']=_0x385dcf,this[_0x1e8843(0x361)]();}[_0x72bb68(0x361)](){var _0x23e120=_0x72bb68;const _0x173fac=this;this[_0x23e120(0x2c3)](this[_0x23e120(0x31d)][_0x23e120(0x147)]({'priority':0x3e7,'interceptor':_0x1c2a31({'isMatch'(_0x33da8b){var _0x369678=_0x23e120,_0x361946;if(_0x33da8b[_0x369678(0x23c)]===_0x369678(0x2ca)&&((_0x361946=_0x33da8b['requestParams'])!=null&&_0x361946[_0x369678(0x29f)])){const {objectID:_0x431420,objectType:_0x121209}=_0x33da8b[_0x369678(0x245)][_0x369678(0x29f)]||{};if(!_0x431420||_0x121209===void 0x0)return!0x1;const _0x11e72e=_0x173fac[_0x369678(0xc1)]()+'/'+_0x121209+_0x369678(0x1e0)+_0x431420+_0x369678(0x155);if(_0x33da8b['url']===_0x11e72e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1fd564){var _0x264ff0=_0x23e120,_0x903c76;return(_0x903c76=_0x1fd564[_0x264ff0(0x245)])==null?void 0x0:_0x903c76[_0x264ff0(0x29f)];},'mergeParamsToRequest'(_0x35f2ba,_0x56f2c2){var _0x13c8f4=_0x23e120;const _0x491b4d=_0x173fac['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x4ce25a=_0x35f2ba[_0x13c8f4(0x338)]((_0x1cb622,_0x4e7b6c)=>{var _0x4302f8=_0x13c8f4;const {unitID:_0x2ed250,objectID:_0x4d5e84,objectType:_0x6f5a79,actions:_0x48abc5}=_0x4e7b6c;return _0x1cb622[_0x2ed250]||(_0x1cb622[_0x2ed250]={}),_0x1cb622[_0x2ed250][_0x4d5e84]||(_0x1cb622[_0x2ed250][_0x4d5e84]={'objectID':_0x4d5e84,'objectType':_0x6f5a79,'actions':[]}),_0x1cb622[_0x2ed250][_0x4d5e84][_0x4302f8(0xc2)][_0x4302f8(0xe7)](..._0x48abc5),_0x1cb622;},{}),_0x13f449=[];for(const _0x537e89 in _0x4ce25a)for(const _0x1b0d1d in _0x4ce25a[_0x537e89]){const {actions:_0x3e5705,objectType:_0x5d3e1a}=_0x4ce25a[_0x537e89][_0x1b0d1d],_0x354c44=[...new Set(_0x3e5705)];_0x13f449[_0x13c8f4(0xe7)]({'unitID':_0x537e89,'objectID':_0x1b0d1d,'objectType':_0x5d3e1a,'actions':_0x354c44});}return new _0x14ac51(_0x13c8f4(0x2ca),_0x491b4d,{'headers':_0x56f2c2[_0x13c8f4(0x1bb)],'withCredentials':_0x56f2c2[_0x13c8f4(0x125)],'responseType':_0x56f2c2['responseType'],'body':{'requests':_0x13f449}});}},{'distributeResult'(_0x5da009,_0x38af48){var _0x2ecdb4=_0x23e120;const {objectActions:_0x517758}=_0x5da009;return _0x38af48[_0x2ecdb4(0x374)](_0x4ab2cb=>{var _0x38ae93=_0x2ecdb4;const {unitID:_0x339afa,objectID:_0x4b4d65,actions:_0x1afc6f}=_0x4ab2cb,_0x27bb5b=_0x517758['find'](_0x3f068d=>_0x3f068d[_0x38ae93(0x211)]===_0x339afa&&_0x3f068d['objectID']===_0x4b4d65),_0x2d1fd7=_0x1afc6f[_0x38ae93(0x374)](_0x44fd73=>_0x27bb5b==null?void 0x0:_0x27bb5b[_0x38ae93(0xc2)]['find'](_0xedee4b=>_0xedee4b['action']===_0x44fd73))[_0x38ae93(0xa5)](_0x5280d7=>!!_0x5280d7);return{'config':_0x4ab2cb,'result':{'actions':_0x2d1fd7,'error':_0x5da009[_0x38ae93(0x32f)]}};});}})}));}[_0x72bb68(0xc1)](){var _0x3f636c=_0x72bb68,_0x2ffdf9,_0x4d0758;const _0x180100=this['_configService'][_0x3f636c(0x1e2)](bi),_0x1e58b9=this[_0x3f636c(0x184)][_0x3f636c(0x1e2)](K);return(_0x4d0758=(_0x2ffdf9=_0x1e58b9==null?void 0x0:_0x1e58b9[_0x3f636c(0x32c)])!=null?_0x2ffdf9:_0x180100)!=null?_0x4d0758:_n;}async[_0x72bb68(0x9a)](_0x1b21e5){var _0x1ea990=_0x72bb68;const _0x557b5a=this[_0x1ea990(0xc1)]()+'/'+_0x1b21e5['objectType']+_0x1ea990(0x31c);return(await this[_0x1ea990(0x31d)][_0x1ea990(0x34f)](_0x557b5a,{'body':_0x1b21e5}))['body'][_0x1ea990(0x2f1)]||'';}async[_0x72bb68(0x2b0)](_0xc0e335){var _0x2bc925=_0x72bb68;const _0x59cd75=this['_getAPIPrefixPath']()+_0x2bc925(0x2d8);return(await this[_0x2bc925(0x31d)]['post'](_0x59cd75,{'body':_0xc0e335}))[_0x2bc925(0x29f)][_0x2bc925(0x1b5)];}async[_0x72bb68(0x1dc)](_0x457748){var _0x5047f8=_0x72bb68,_0x5c25dc,_0x5ab0ae;const _0x56d8c6=this[_0x5047f8(0xc1)]()+'/'+_0x457748[_0x5047f8(0x320)]+_0x5047f8(0x1e0)+_0x457748[_0x5047f8(0x2f1)],_0x2f5b9e=await this[_0x5047f8(0x31d)][_0x5047f8(0x32e)](_0x56d8c6,{'body':_0x457748});if(((_0x5ab0ae=(_0x5c25dc=_0x2f5b9e==null?void 0x0:_0x2f5b9e['body'])==null?void 0x0:_0x5c25dc['error'])==null?void 0x0:_0x5ab0ae[_0x5047f8(0x365)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x72bb68(0x191)](_0x1fb846){var _0x4b4919=_0x72bb68;const _0x2a0888=this['_getAPIPrefixPath']()+'/'+_0x1fb846[_0x4b4919(0x320)]+_0x4b4919(0x1e0)+_0x1fb846['objectID']+'/allowed';return(await this[_0x4b4919(0x31d)][_0x4b4919(0x34f)](_0x2a0888,{'body':_0x1fb846}))[_0x4b4919(0x29f)]['actions'];}async['batchAllowed'](_0x3538a4){var _0xfe710d=_0x72bb68;const _0xca695f=this[_0xfe710d(0xc1)]()+'/-/object/-/batch_allowed';return(await this[_0xfe710d(0x31d)][_0xfe710d(0x34f)](_0xca695f,{'body':{'requests':_0x3538a4}}))[_0xfe710d(0x29f)][_0xfe710d(0x239)];}async[_0x72bb68(0xac)](_0x2ca371){var _0x5b1120=_0x72bb68;const _0x381256=this[_0x5b1120(0xc1)]()+'/'+_0x2ca371[_0x5b1120(0x320)]+_0x5b1120(0x212),_0x4cf7b7=await this[_0x5b1120(0x31d)][_0x5b1120(0x34f)](_0x381256,{'body':_0x2ca371});return{'roles':_0x4cf7b7[_0x5b1120(0x29f)]['roles'],'actions':_0x4cf7b7[_0x5b1120(0x29f)][_0x5b1120(0xc2)]};}async[_0x72bb68(0x347)](_0x1754e0){var _0x2371b7=_0x72bb68;const _0x17810d=this[_0x2371b7(0xc1)]()+_0x2371b7(0x322);await this[_0x2371b7(0x31d)]['delete'](_0x17810d,{'params':{'collaboratorID':_0x1754e0[_0x2371b7(0x22b)],'objectID':_0x1754e0['objectID'],'unitID':_0x1754e0[_0x2371b7(0x211)]}});}async[_0x72bb68(0x383)](_0x1c0e3a){var _0x139e59=_0x72bb68;const _0xca54e8=this[_0x139e59(0xc1)]()+'/collaborator';await this[_0x139e59(0x31d)]['patch'](_0xca54e8,{'body':_0x1c0e3a});}async[_0x72bb68(0x306)](_0x4547cc){var _0x3e70c2=_0x72bb68;const _0x12880f=this[_0x3e70c2(0xc1)]()+'/collaborator';await this['_HTTPService'][_0x3e70c2(0x34f)](_0x12880f,{'body':_0x4547cc});}async['listCollaborators'](_0x480f9d){var _0x3770aa=_0x72bb68;const _0x5a1ecd=this[_0x3770aa(0xc1)]()+_0x3770aa(0x322);return(await this['_HTTPService'][_0x3770aa(0x283)](_0x5a1ecd,{'params':{'objectID':_0x480f9d['objectID'],'unitID':_0x480f9d[_0x3770aa(0x211)]}}))['body'][_0x3770aa(0x25d)];}async['putCollaborators'](_0xf7d7d5){var _0x659f5d=_0x72bb68;const _0x28e956=this['_getAPIPrefixPath']()+_0x659f5d(0x322);await this[_0x659f5d(0x31d)][_0x659f5d(0x32e)](_0x28e956,{'body':_0xf7d7d5});}};Tt=hn([Kt(0x0,_0x41311f(_0x4fe417)),Kt(0x1,_0x41311f(_0x19233d))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1dc90c){var _0x46ba97=_0x72bb68;return _0x1dc90c&&_0x1dc90c[_0x46ba97(0x1f5)]&&Object['prototype'][_0x46ba97(0x15c)]['call'](_0x1dc90c,_0x46ba97(0x332))?_0x1dc90c[_0x46ba97(0x332)]:_0x1dc90c;}var Ve={'exports':{}};function _0x3e8b(_0x31c652,_0x9feff1){var _0x3795ef=_0x3795();return _0x3e8b=function(_0x3e8bdf,_0x248324){_0x3e8bdf=_0x3e8bdf-0x7d;var _0xd7a3b6=_0x3795ef[_0x3e8bdf];return _0xd7a3b6;},_0x3e8b(_0x31c652,_0x9feff1);}function ln(_0x1f740a){var _0x26e5a8=_0x72bb68;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1f740a+_0x26e5a8(0x10a));}var Ge={'exports':{}},un=Ge[_0x72bb68(0x271)],qt;function te(){var _0x1c4aa6=_0x72bb68;return qt||(qt=0x1,function(_0x51259a,_0xde900f){(function(_0x77b026,_0xe65196){var _0x2e87ea=_0x3e8b;_0x51259a[_0x2e87ea(0x271)]=_0xe65196();}(un,function(){var _0x4176b8=_0x4176b8||function(_0x55eb8c,_0x430905){var _0x3d3811=_0x3e8b,_0x1a115a;if(typeof window<'u'&&window[_0x3d3811(0x344)]&&(_0x1a115a=window[_0x3d3811(0x344)]),typeof self<'u'&&self[_0x3d3811(0x344)]&&(_0x1a115a=self['crypto']),typeof globalThis<'u'&&globalThis[_0x3d3811(0x344)]&&(_0x1a115a=globalThis[_0x3d3811(0x344)]),!_0x1a115a&&typeof window<'u'&&window[_0x3d3811(0x2ed)]&&(_0x1a115a=window[_0x3d3811(0x2ed)]),!_0x1a115a&&typeof ft<'u'&&ft['crypto']&&(_0x1a115a=ft[_0x3d3811(0x344)]),!_0x1a115a&&typeof ln==_0x3d3811(0x309))try{_0x1a115a=require(_0x3d3811(0x344));}catch{}var _0x50c706=function(){var _0x37d54e=_0x3d3811;if(_0x1a115a){if(typeof _0x1a115a[_0x37d54e(0x1e8)]==_0x37d54e(0x309))try{return _0x1a115a[_0x37d54e(0x1e8)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1a115a[_0x37d54e(0x2f2)]==_0x37d54e(0x309))try{return _0x1a115a[_0x37d54e(0x2f2)](0x4)[_0x37d54e(0x285)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x77370e=Object['create']||(function(){function _0x380358(){}return function(_0x2aee89){var _0x5df1cc=_0x3e8b,_0x2e1c26;return _0x380358[_0x5df1cc(0x1b8)]=_0x2aee89,_0x2e1c26=new _0x380358(),_0x380358['prototype']=null,_0x2e1c26;};}()),_0x33c331={},_0x792004=_0x33c331['lib']={},_0x5bcf2e=_0x792004[_0x3d3811(0x2e9)]=(function(){return{'extend':function(_0x5d6613){var _0x8752c8=_0x3e8b,_0x356d57=_0x77370e(this);return _0x5d6613&&_0x356d57['mixIn'](_0x5d6613),(!_0x356d57[_0x8752c8(0x15c)](_0x8752c8(0x1c9))||this['init']===_0x356d57[_0x8752c8(0x1c9)])&&(_0x356d57[_0x8752c8(0x1c9)]=function(){var _0x34f0bd=_0x8752c8;_0x356d57[_0x34f0bd(0x228)][_0x34f0bd(0x1c9)]['apply'](this,arguments);}),_0x356d57['init'][_0x8752c8(0x1b8)]=_0x356d57,_0x356d57[_0x8752c8(0x228)]=this,_0x356d57;},'create':function(){var _0x373197=_0x3e8b,_0x7e0c84=this[_0x373197(0x1d9)]();return _0x7e0c84[_0x373197(0x1c9)][_0x373197(0x1cf)](_0x7e0c84,arguments),_0x7e0c84;},'init':function(){},'mixIn':function(_0x367ea6){var _0x288032=_0x3e8b;for(var _0xafc5dc in _0x367ea6)_0x367ea6[_0x288032(0x15c)](_0xafc5dc)&&(this[_0xafc5dc]=_0x367ea6[_0xafc5dc]);_0x367ea6['hasOwnProperty'](_0x288032(0x167))&&(this['toString']=_0x367ea6['toString']);},'clone':function(){var _0x96572b=_0x3e8b;return this['init'][_0x96572b(0x1b8)][_0x96572b(0x1d9)](this);}};}()),_0x2de1f9=_0x792004[_0x3d3811(0x24a)]=_0x5bcf2e[_0x3d3811(0x1d9)]({'init':function(_0x5c2822,_0x394e03){var _0x279761=_0x3d3811;_0x5c2822=this[_0x279761(0xd1)]=_0x5c2822||[],_0x394e03!=_0x430905?this[_0x279761(0x25f)]=_0x394e03:this[_0x279761(0x25f)]=_0x5c2822['length']*0x4;},'toString':function(_0x2efedb){return(_0x2efedb||_0x40627d)['stringify'](this);},'concat':function(_0x2ae243){var _0x46a840=_0x3d3811,_0x33ba19=this['words'],_0x3a9b0e=_0x2ae243[_0x46a840(0xd1)],_0x2369b1=this[_0x46a840(0x25f)],_0x55436e=_0x2ae243[_0x46a840(0x25f)];if(this[_0x46a840(0x319)](),_0x2369b1%0x4)for(var _0x53249c=0x0;_0x53249c<_0x55436e;_0x53249c++){var _0x1073bc=_0x3a9b0e[_0x53249c>>>0x2]>>>0x18-_0x53249c%0x4*0x8&0xff;_0x33ba19[_0x2369b1+_0x53249c>>>0x2]|=_0x1073bc<<0x18-(_0x2369b1+_0x53249c)%0x4*0x8;}else{for(var _0x562748=0x0;_0x562748<_0x55436e;_0x562748+=0x4)_0x33ba19[_0x2369b1+_0x562748>>>0x2]=_0x3a9b0e[_0x562748>>>0x2];}return this[_0x46a840(0x25f)]+=_0x55436e,this;},'clamp':function(){var _0x35f563=_0x3d3811,_0x4d5819=this[_0x35f563(0xd1)],_0x158d1c=this[_0x35f563(0x25f)];_0x4d5819[_0x158d1c>>>0x2]&=0xffffffff<<0x20-_0x158d1c%0x4*0x8,_0x4d5819[_0x35f563(0x182)]=_0x55eb8c[_0x35f563(0x117)](_0x158d1c/0x4);},'clone':function(){var _0x5b00ff=_0x3d3811,_0x3f7c86=_0x5bcf2e[_0x5b00ff(0x339)][_0x5b00ff(0x32b)](this);return _0x3f7c86[_0x5b00ff(0xd1)]=this[_0x5b00ff(0xd1)][_0x5b00ff(0xb9)](0x0),_0x3f7c86;},'random':function(_0x41dcab){var _0x28f013=_0x3d3811;for(var _0x4687d6=[],_0x9295d4=0x0;_0x9295d4<_0x41dcab;_0x9295d4+=0x4)_0x4687d6[_0x28f013(0xe7)](_0x50c706());return new _0x2de1f9['init'](_0x4687d6,_0x41dcab);}}),_0x277051=_0x33c331[_0x3d3811(0x122)]={},_0x40627d=_0x277051[_0x3d3811(0x321)]={'stringify':function(_0x55653a){var _0x54a929=_0x3d3811;for(var _0x5bc84d=_0x55653a[_0x54a929(0xd1)],_0x3f3865=_0x55653a['sigBytes'],_0x49f87d=[],_0x384c11=0x0;_0x384c11<_0x3f3865;_0x384c11++){var _0x2c88dc=_0x5bc84d[_0x384c11>>>0x2]>>>0x18-_0x384c11%0x4*0x8&0xff;_0x49f87d[_0x54a929(0xe7)]((_0x2c88dc>>>0x4)[_0x54a929(0x167)](0x10)),_0x49f87d[_0x54a929(0xe7)]((_0x2c88dc&0xf)[_0x54a929(0x167)](0x10));}return _0x49f87d[_0x54a929(0x351)]('');},'parse':function(_0x583bb0){var _0x48cae3=_0x3d3811;for(var _0x40a092=_0x583bb0['length'],_0x1aec1d=[],_0x4f1d4e=0x0;_0x4f1d4e<_0x40a092;_0x4f1d4e+=0x2)_0x1aec1d[_0x4f1d4e>>>0x3]|=parseInt(_0x583bb0[_0x48cae3(0xdb)](_0x4f1d4e,0x2),0x10)<<0x18-_0x4f1d4e%0x8*0x4;return new _0x2de1f9[(_0x48cae3(0x1c9))](_0x1aec1d,_0x40a092/0x2);}},_0x16e967=_0x277051[_0x3d3811(0x23e)]={'stringify':function(_0x1169b0){var _0x77f324=_0x3d3811;for(var _0x554e7e=_0x1169b0[_0x77f324(0xd1)],_0x1fa9ac=_0x1169b0[_0x77f324(0x25f)],_0x525655=[],_0x491228=0x0;_0x491228<_0x1fa9ac;_0x491228++){var _0xd46713=_0x554e7e[_0x491228>>>0x2]>>>0x18-_0x491228%0x4*0x8&0xff;_0x525655[_0x77f324(0xe7)](String[_0x77f324(0x136)](_0xd46713));}return _0x525655['join']('');},'parse':function(_0x401ca9){for(var _0x24a61b=_0x401ca9['length'],_0x50af9c=[],_0x2a6327=0x0;_0x2a6327<_0x24a61b;_0x2a6327++)_0x50af9c[_0x2a6327>>>0x2]|=(_0x401ca9['charCodeAt'](_0x2a6327)&0xff)<<0x18-_0x2a6327%0x4*0x8;return new _0x2de1f9['init'](_0x50af9c,_0x24a61b);}},_0x96fa24=_0x277051[_0x3d3811(0x2d2)]={'stringify':function(_0x59faca){var _0x21fc15=_0x3d3811;try{return decodeURIComponent(escape(_0x16e967[_0x21fc15(0x384)](_0x59faca)));}catch{throw new Error(_0x21fc15(0x170));}},'parse':function(_0x3cb8b6){return _0x16e967['parse'](unescape(encodeURIComponent(_0x3cb8b6)));}},_0x27b41c=_0x792004['BufferedBlockAlgorithm']=_0x5bcf2e[_0x3d3811(0x1d9)]({'reset':function(){var _0x3c5b5d=_0x3d3811;this['_data']=new _0x2de1f9[(_0x3c5b5d(0x1c9))](),this[_0x3c5b5d(0x89)]=0x0;},'_append':function(_0x1cafbf){var _0x1dfa9e=_0x3d3811;typeof _0x1cafbf==_0x1dfa9e(0x2bb)&&(_0x1cafbf=_0x96fa24[_0x1dfa9e(0x12b)](_0x1cafbf)),this['_data'][_0x1dfa9e(0x286)](_0x1cafbf),this[_0x1dfa9e(0x89)]+=_0x1cafbf[_0x1dfa9e(0x25f)];},'_process':function(_0x4a589d){var _0x317502=_0x3d3811,_0x5d81fc,_0x51a760=this[_0x317502(0x119)],_0x1f5c7b=_0x51a760[_0x317502(0xd1)],_0x19aa50=_0x51a760[_0x317502(0x25f)],_0x1578d6=this['blockSize'],_0x40eb34=_0x1578d6*0x4,_0x1acbe7=_0x19aa50/_0x40eb34;_0x4a589d?_0x1acbe7=_0x55eb8c[_0x317502(0x117)](_0x1acbe7):_0x1acbe7=_0x55eb8c[_0x317502(0x235)]((_0x1acbe7|0x0)-this[_0x317502(0x163)],0x0);var _0x3ea54b=_0x1acbe7*_0x1578d6,_0x1d1da2=_0x55eb8c[_0x317502(0x2ab)](_0x3ea54b*0x4,_0x19aa50);if(_0x3ea54b){for(var _0x46a6f6=0x0;_0x46a6f6<_0x3ea54b;_0x46a6f6+=_0x1578d6)this[_0x317502(0x20f)](_0x1f5c7b,_0x46a6f6);_0x5d81fc=_0x1f5c7b['splice'](0x0,_0x3ea54b),_0x51a760[_0x317502(0x25f)]-=_0x1d1da2;}return new _0x2de1f9['init'](_0x5d81fc,_0x1d1da2);},'clone':function(){var _0xd7a86a=_0x3d3811,_0x1d2cd2=_0x5bcf2e[_0xd7a86a(0x339)][_0xd7a86a(0x32b)](this);return _0x1d2cd2['_data']=this[_0xd7a86a(0x119)][_0xd7a86a(0x339)](),_0x1d2cd2;},'_minBufferSize':0x0});_0x792004[_0x3d3811(0x233)]=_0x27b41c[_0x3d3811(0x1d9)]({'cfg':_0x5bcf2e[_0x3d3811(0x1d9)](),'init':function(_0x241c61){var _0x1b9992=_0x3d3811;this['cfg']=this[_0x1b9992(0xb0)][_0x1b9992(0x1d9)](_0x241c61),this[_0x1b9992(0x138)]();},'reset':function(){var _0x2bc0e7=_0x3d3811;_0x27b41c[_0x2bc0e7(0x138)][_0x2bc0e7(0x32b)](this),this[_0x2bc0e7(0x1c0)]();},'update':function(_0x167785){var _0xf9b58d=_0x3d3811;return this[_0xf9b58d(0x269)](_0x167785),this[_0xf9b58d(0x216)](),this;},'finalize':function(_0x4d448b){var _0x1f8894=_0x3d3811;_0x4d448b&&this[_0x1f8894(0x269)](_0x4d448b);var _0x10ee05=this[_0x1f8894(0x1fc)]();return _0x10ee05;},'blockSize':0x10,'_createHelper':function(_0x1382d0){return function(_0x22bfd2,_0x27c369){var _0x5a3971=_0x3e8b;return new _0x1382d0[(_0x5a3971(0x1c9))](_0x27c369)['finalize'](_0x22bfd2);};},'_createHmacHelper':function(_0x2764e2){return function(_0x4bd726,_0x706ab7){var _0x5d3a7e=_0x3e8b;return new _0x2cb640[(_0x5d3a7e(0xee))][(_0x5d3a7e(0x1c9))](_0x2764e2,_0x706ab7)[_0x5d3a7e(0x1cb)](_0x4bd726);};}});var _0x2cb640=_0x33c331[_0x3d3811(0xaf)]={};return _0x33c331;}(Math);return _0x4176b8;}));}(Ge)),Ge[_0x1c4aa6(0x271)];}var We={'exports':{}},dn=We[_0x72bb68(0x271)],zt;function Oi(){var _0x5415dc=_0x72bb68;return zt||(zt=0x1,function(_0x54d5d8,_0x53691d){(function(_0x2073b0,_0x386225){var _0x190edf=_0x3e8b;_0x54d5d8[_0x190edf(0x271)]=_0x386225(te());}(dn,function(_0x34455){var _0x3dded5=_0x3e8b;return(function(){var _0x2a2a05=_0x3e8b,_0x14ad4c=_0x34455,_0x17f003=_0x14ad4c['lib'],_0x1d4ec3=_0x17f003[_0x2a2a05(0x24a)],_0x51f963=_0x14ad4c[_0x2a2a05(0x122)];_0x51f963[_0x2a2a05(0x1fe)]={'stringify':function(_0x2dd187){var _0x61a542=_0x2a2a05,_0x32a162=_0x2dd187[_0x61a542(0xd1)],_0x159b40=_0x2dd187[_0x61a542(0x25f)],_0x2097f9=this[_0x61a542(0x279)];_0x2dd187['clamp']();for(var _0x2485a7=[],_0x2524cc=0x0;_0x2524cc<_0x159b40;_0x2524cc+=0x3)for(var _0x41ca5e=_0x32a162[_0x2524cc>>>0x2]>>>0x18-_0x2524cc%0x4*0x8&0xff,_0x190500=_0x32a162[_0x2524cc+0x1>>>0x2]>>>0x18-(_0x2524cc+0x1)%0x4*0x8&0xff,_0x3d20de=_0x32a162[_0x2524cc+0x2>>>0x2]>>>0x18-(_0x2524cc+0x2)%0x4*0x8&0xff,_0x26b7fb=_0x41ca5e<<0x10|_0x190500<<0x8|_0x3d20de,_0x582453=0x0;_0x582453<0x4&&_0x2524cc+_0x582453*0.75<_0x159b40;_0x582453++)_0x2485a7[_0x61a542(0xe7)](_0x2097f9[_0x61a542(0x35e)](_0x26b7fb>>>0x6*(0x3-_0x582453)&0x3f));var _0x449b18=_0x2097f9['charAt'](0x40);if(_0x449b18){for(;_0x2485a7[_0x61a542(0x182)]%0x4;)_0x2485a7[_0x61a542(0xe7)](_0x449b18);}return _0x2485a7[_0x61a542(0x351)]('');},'parse':function(_0x4e56cd){var _0xad7497=_0x2a2a05,_0x3fc101=_0x4e56cd[_0xad7497(0x182)],_0x38bfc0=this['_map'],_0x247e14=this[_0xad7497(0x345)];if(!_0x247e14){_0x247e14=this['_reverseMap']=[];for(var _0x10593b=0x0;_0x10593b<_0x38bfc0[_0xad7497(0x182)];_0x10593b++)_0x247e14[_0x38bfc0['charCodeAt'](_0x10593b)]=_0x10593b;}var _0x42927d=_0x38bfc0[_0xad7497(0x35e)](0x40);if(_0x42927d){var _0x277ea3=_0x4e56cd[_0xad7497(0x18d)](_0x42927d);_0x277ea3!==-0x1&&(_0x3fc101=_0x277ea3);}return _0xa7f68c(_0x4e56cd,_0x3fc101,_0x247e14);},'_map':_0x2a2a05(0xd3)};function _0xa7f68c(_0x3ab84e,_0x3a1574,_0x4ebafa){var _0x37a9a1=_0x2a2a05;for(var _0x38aee6=[],_0x506f57=0x0,_0x1ae63d=0x0;_0x1ae63d<_0x3a1574;_0x1ae63d++)if(_0x1ae63d%0x4){var _0x176ef1=_0x4ebafa[_0x3ab84e[_0x37a9a1(0x247)](_0x1ae63d-0x1)]<<_0x1ae63d%0x4*0x2,_0x44c1b0=_0x4ebafa[_0x3ab84e[_0x37a9a1(0x247)](_0x1ae63d)]>>>0x6-_0x1ae63d%0x4*0x2,_0x5d2834=_0x176ef1|_0x44c1b0;_0x38aee6[_0x506f57>>>0x2]|=_0x5d2834<<0x18-_0x506f57%0x4*0x8,_0x506f57++;}return _0x1d4ec3[_0x37a9a1(0x9a)](_0x38aee6,_0x506f57);}}()),_0x34455[_0x3dded5(0x122)][_0x3dded5(0x1fe)];}));}(We)),We[_0x5415dc(0x271)];}var Ye={'exports':{}},fn=Ye['exports'],Jt;function vn(){var _0x35a189=_0x72bb68;return Jt||(Jt=0x1,function(_0x28bb60,_0x3b6323){(function(_0x4642e8,_0x23e730){_0x28bb60['exports']=_0x23e730(te());}(fn,function(_0x47db3d){return function(_0x3bb53e){var _0x2f838f=_0x3e8b,_0x1cfaa9=_0x47db3d,_0x38f7f1=_0x1cfaa9[_0x2f838f(0x177)],_0x156bf9=_0x38f7f1[_0x2f838f(0x24a)],_0x534b2b=_0x38f7f1['Hasher'],_0x41bc74=_0x1cfaa9[_0x2f838f(0xaf)],_0x25f425=[];(function(){var _0x31fdf6=_0x2f838f;for(var _0x3bcdaf=0x0;_0x3bcdaf<0x40;_0x3bcdaf++)_0x25f425[_0x3bcdaf]=_0x3bb53e['abs'](_0x3bb53e[_0x31fdf6(0x354)](_0x3bcdaf+0x1))*0x100000000|0x0;}());var _0x4bb69a=_0x41bc74[_0x2f838f(0x217)]=_0x534b2b[_0x2f838f(0x1d9)]({'_doReset':function(){var _0xe680e9=_0x2f838f;this[_0xe680e9(0x265)]=new _0x156bf9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3ccea4,_0x31485e){var _0x485452=_0x2f838f;for(var _0x125f34=0x0;_0x125f34<0x10;_0x125f34++){var _0x555c64=_0x31485e+_0x125f34,_0x3e60bd=_0x3ccea4[_0x555c64];_0x3ccea4[_0x555c64]=(_0x3e60bd<<0x8|_0x3e60bd>>>0x18)&0xff00ff|(_0x3e60bd<<0x18|_0x3e60bd>>>0x8)&0xff00ff00;}var _0x276bb6=this[_0x485452(0x265)]['words'],_0xbdf117=_0x3ccea4[_0x31485e+0x0],_0x3a322f=_0x3ccea4[_0x31485e+0x1],_0x25a7fe=_0x3ccea4[_0x31485e+0x2],_0x1be69a=_0x3ccea4[_0x31485e+0x3],_0x59892c=_0x3ccea4[_0x31485e+0x4],_0x2ace4e=_0x3ccea4[_0x31485e+0x5],_0x1c53d1=_0x3ccea4[_0x31485e+0x6],_0xfbac6=_0x3ccea4[_0x31485e+0x7],_0x59aba0=_0x3ccea4[_0x31485e+0x8],_0x34904f=_0x3ccea4[_0x31485e+0x9],_0x4d6b90=_0x3ccea4[_0x31485e+0xa],_0x4b8603=_0x3ccea4[_0x31485e+0xb],_0x28d23e=_0x3ccea4[_0x31485e+0xc],_0xd1ea5a=_0x3ccea4[_0x31485e+0xd],_0x5c68cb=_0x3ccea4[_0x31485e+0xe],_0x12ebe4=_0x3ccea4[_0x31485e+0xf],_0x1d9cba=_0x276bb6[0x0],_0x296636=_0x276bb6[0x1],_0x1ac9ff=_0x276bb6[0x2],_0x230c4f=_0x276bb6[0x3];_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xbdf117,0x7,_0x25f425[0x0]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x3a322f,0xc,_0x25f425[0x1]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x25a7fe,0x11,_0x25f425[0x2]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x1be69a,0x16,_0x25f425[0x3]),_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59892c,0x7,_0x25f425[0x4]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x2ace4e,0xc,_0x25f425[0x5]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1c53d1,0x11,_0x25f425[0x6]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0xfbac6,0x16,_0x25f425[0x7]),_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59aba0,0x7,_0x25f425[0x8]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x34904f,0xc,_0x25f425[0x9]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4d6b90,0x11,_0x25f425[0xa]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x4b8603,0x16,_0x25f425[0xb]),_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x28d23e,0x7,_0x25f425[0xc]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0xd1ea5a,0xc,_0x25f425[0xd]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x5c68cb,0x11,_0x25f425[0xe]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x12ebe4,0x16,_0x25f425[0xf]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x3a322f,0x5,_0x25f425[0x10]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x1c53d1,0x9,_0x25f425[0x11]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4b8603,0xe,_0x25f425[0x12]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0xbdf117,0x14,_0x25f425[0x13]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x2ace4e,0x5,_0x25f425[0x14]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x4d6b90,0x9,_0x25f425[0x15]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x12ebe4,0xe,_0x25f425[0x16]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x59892c,0x14,_0x25f425[0x17]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x34904f,0x5,_0x25f425[0x18]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x5c68cb,0x9,_0x25f425[0x19]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1be69a,0xe,_0x25f425[0x1a]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x59aba0,0x14,_0x25f425[0x1b]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xd1ea5a,0x5,_0x25f425[0x1c]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x25a7fe,0x9,_0x25f425[0x1d]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0xfbac6,0xe,_0x25f425[0x1e]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x28d23e,0x14,_0x25f425[0x1f]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x2ace4e,0x4,_0x25f425[0x20]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x59aba0,0xb,_0x25f425[0x21]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4b8603,0x10,_0x25f425[0x22]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x5c68cb,0x17,_0x25f425[0x23]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x3a322f,0x4,_0x25f425[0x24]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x59892c,0xb,_0x25f425[0x25]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0xfbac6,0x10,_0x25f425[0x26]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x4d6b90,0x17,_0x25f425[0x27]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xd1ea5a,0x4,_0x25f425[0x28]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0xbdf117,0xb,_0x25f425[0x29]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1be69a,0x10,_0x25f425[0x2a]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x1c53d1,0x17,_0x25f425[0x2b]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x34904f,0x4,_0x25f425[0x2c]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x28d23e,0xb,_0x25f425[0x2d]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x12ebe4,0x10,_0x25f425[0x2e]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x25a7fe,0x17,_0x25f425[0x2f]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xbdf117,0x6,_0x25f425[0x30]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0xfbac6,0xa,_0x25f425[0x31]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x5c68cb,0xf,_0x25f425[0x32]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x2ace4e,0x15,_0x25f425[0x33]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x28d23e,0x6,_0x25f425[0x34]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x1be69a,0xa,_0x25f425[0x35]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4d6b90,0xf,_0x25f425[0x36]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x3a322f,0x15,_0x25f425[0x37]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59aba0,0x6,_0x25f425[0x38]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x12ebe4,0xa,_0x25f425[0x39]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1c53d1,0xf,_0x25f425[0x3a]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0xd1ea5a,0x15,_0x25f425[0x3b]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59892c,0x6,_0x25f425[0x3c]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x4b8603,0xa,_0x25f425[0x3d]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x25a7fe,0xf,_0x25f425[0x3e]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x34904f,0x15,_0x25f425[0x3f]),_0x276bb6[0x0]=_0x276bb6[0x0]+_0x1d9cba|0x0,_0x276bb6[0x1]=_0x276bb6[0x1]+_0x296636|0x0,_0x276bb6[0x2]=_0x276bb6[0x2]+_0x1ac9ff|0x0,_0x276bb6[0x3]=_0x276bb6[0x3]+_0x230c4f|0x0;},'_doFinalize':function(){var _0x35a898=_0x2f838f,_0x16400a=this['_data'],_0x518247=_0x16400a[_0x35a898(0xd1)],_0x4a6cc0=this[_0x35a898(0x89)]*0x8,_0xbb792d=_0x16400a['sigBytes']*0x8;_0x518247[_0xbb792d>>>0x5]|=0x80<<0x18-_0xbb792d%0x20;var _0x407d72=_0x3bb53e[_0x35a898(0x230)](_0x4a6cc0/0x100000000),_0x2599c4=_0x4a6cc0;_0x518247[(_0xbb792d+0x40>>>0x9<<0x4)+0xf]=(_0x407d72<<0x8|_0x407d72>>>0x18)&0xff00ff|(_0x407d72<<0x18|_0x407d72>>>0x8)&0xff00ff00,_0x518247[(_0xbb792d+0x40>>>0x9<<0x4)+0xe]=(_0x2599c4<<0x8|_0x2599c4>>>0x18)&0xff00ff|(_0x2599c4<<0x18|_0x2599c4>>>0x8)&0xff00ff00,_0x16400a[_0x35a898(0x25f)]=(_0x518247['length']+0x1)*0x4,this[_0x35a898(0x216)]();for(var _0x56dfaf=this['_hash'],_0x546e27=_0x56dfaf[_0x35a898(0xd1)],_0x166722=0x0;_0x166722<0x4;_0x166722++){var _0x302f74=_0x546e27[_0x166722];_0x546e27[_0x166722]=(_0x302f74<<0x8|_0x302f74>>>0x18)&0xff00ff|(_0x302f74<<0x18|_0x302f74>>>0x8)&0xff00ff00;}return _0x56dfaf;},'clone':function(){var _0x4d4159=_0x2f838f,_0x482fa3=_0x534b2b[_0x4d4159(0x339)][_0x4d4159(0x32b)](this);return _0x482fa3[_0x4d4159(0x265)]=this[_0x4d4159(0x265)][_0x4d4159(0x339)](),_0x482fa3;}});function _0x3b1acc(_0x3204ac,_0x510abf,_0x112d6c,_0x265bce,_0x43d113,_0x423f06,_0xc8f096){var _0x1409f2=_0x3204ac+(_0x510abf&_0x112d6c|~_0x510abf&_0x265bce)+_0x43d113+_0xc8f096;return(_0x1409f2<<_0x423f06|_0x1409f2>>>0x20-_0x423f06)+_0x510abf;}function _0x37748c(_0x46deb7,_0x681893,_0x5afddb,_0xc732a5,_0x16d34f,_0x442be2,_0x35ebed){var _0x42e9aa=_0x46deb7+(_0x681893&_0xc732a5|_0x5afddb&~_0xc732a5)+_0x16d34f+_0x35ebed;return(_0x42e9aa<<_0x442be2|_0x42e9aa>>>0x20-_0x442be2)+_0x681893;}function _0x4e546d(_0x3e9171,_0x4fa17c,_0x386ca7,_0x499a85,_0x2f81d4,_0x524f09,_0x2eb584){var _0x45374f=_0x3e9171+(_0x4fa17c^_0x386ca7^_0x499a85)+_0x2f81d4+_0x2eb584;return(_0x45374f<<_0x524f09|_0x45374f>>>0x20-_0x524f09)+_0x4fa17c;}function _0x4a3b22(_0x2adec9,_0x49ea78,_0x38eaf5,_0x1f1c60,_0x5a22cb,_0x31b025,_0x24e75d){var _0x20e73e=_0x2adec9+(_0x38eaf5^(_0x49ea78|~_0x1f1c60))+_0x5a22cb+_0x24e75d;return(_0x20e73e<<_0x31b025|_0x20e73e>>>0x20-_0x31b025)+_0x49ea78;}_0x1cfaa9['MD5']=_0x534b2b[_0x2f838f(0x317)](_0x4bb69a),_0x1cfaa9[_0x2f838f(0x2f7)]=_0x534b2b['_createHmacHelper'](_0x4bb69a);}(Math),_0x47db3d['MD5'];}));}(Ye)),Ye[_0x35a189(0x271)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x72bb68(0x271)],Xt;function mn(){var _0x429e0a=_0x72bb68;return Xt||(Xt=0x1,function(_0x31a19a,_0x406e17){(function(_0x411057,_0x4c65c6){_0x31a19a['exports']=_0x4c65c6(te());}(pn,function(_0x3a6cd5){var _0x154800=_0x3e8b;return(function(){var _0x5c1803=_0x3e8b,_0x514945=_0x3a6cd5,_0x25290f=_0x514945[_0x5c1803(0x177)],_0x213cb4=_0x25290f[_0x5c1803(0x24a)],_0x2bc02e=_0x25290f['Hasher'],_0x289808=_0x514945[_0x5c1803(0xaf)],_0x161cdf=[],_0x2fdfe0=_0x289808[_0x5c1803(0xd0)]=_0x2bc02e[_0x5c1803(0x1d9)]({'_doReset':function(){var _0x5e4e76=_0x5c1803;this[_0x5e4e76(0x265)]=new _0x213cb4[(_0x5e4e76(0x1c9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x306e66,_0x525c4d){var _0x3eb561=_0x5c1803;for(var _0x58c56f=this[_0x3eb561(0x265)][_0x3eb561(0xd1)],_0x469876=_0x58c56f[0x0],_0x4cdfd8=_0x58c56f[0x1],_0x1319cc=_0x58c56f[0x2],_0x133456=_0x58c56f[0x3],_0x10bf02=_0x58c56f[0x4],_0x49d8e6=0x0;_0x49d8e6<0x50;_0x49d8e6++){if(_0x49d8e6<0x10)_0x161cdf[_0x49d8e6]=_0x306e66[_0x525c4d+_0x49d8e6]|0x0;else{var _0x5e258b=_0x161cdf[_0x49d8e6-0x3]^_0x161cdf[_0x49d8e6-0x8]^_0x161cdf[_0x49d8e6-0xe]^_0x161cdf[_0x49d8e6-0x10];_0x161cdf[_0x49d8e6]=_0x5e258b<<0x1|_0x5e258b>>>0x1f;}var _0x5269db=(_0x469876<<0x5|_0x469876>>>0x1b)+_0x10bf02+_0x161cdf[_0x49d8e6];_0x49d8e6<0x14?_0x5269db+=(_0x4cdfd8&_0x1319cc|~_0x4cdfd8&_0x133456)+0x5a827999:_0x49d8e6<0x28?_0x5269db+=(_0x4cdfd8^_0x1319cc^_0x133456)+0x6ed9eba1:_0x49d8e6<0x3c?_0x5269db+=(_0x4cdfd8&_0x1319cc|_0x4cdfd8&_0x133456|_0x1319cc&_0x133456)-0x70e44324:_0x5269db+=(_0x4cdfd8^_0x1319cc^_0x133456)-0x359d3e2a,_0x10bf02=_0x133456,_0x133456=_0x1319cc,_0x1319cc=_0x4cdfd8<<0x1e|_0x4cdfd8>>>0x2,_0x4cdfd8=_0x469876,_0x469876=_0x5269db;}_0x58c56f[0x0]=_0x58c56f[0x0]+_0x469876|0x0,_0x58c56f[0x1]=_0x58c56f[0x1]+_0x4cdfd8|0x0,_0x58c56f[0x2]=_0x58c56f[0x2]+_0x1319cc|0x0,_0x58c56f[0x3]=_0x58c56f[0x3]+_0x133456|0x0,_0x58c56f[0x4]=_0x58c56f[0x4]+_0x10bf02|0x0;},'_doFinalize':function(){var _0x140872=_0x5c1803,_0x59eb46=this[_0x140872(0x119)],_0x345f0a=_0x59eb46[_0x140872(0xd1)],_0x344877=this[_0x140872(0x89)]*0x8,_0x487e00=_0x59eb46[_0x140872(0x25f)]*0x8;return _0x345f0a[_0x487e00>>>0x5]|=0x80<<0x18-_0x487e00%0x20,_0x345f0a[(_0x487e00+0x40>>>0x9<<0x4)+0xe]=Math[_0x140872(0x230)](_0x344877/0x100000000),_0x345f0a[(_0x487e00+0x40>>>0x9<<0x4)+0xf]=_0x344877,_0x59eb46[_0x140872(0x25f)]=_0x345f0a[_0x140872(0x182)]*0x4,this[_0x140872(0x216)](),this[_0x140872(0x265)];},'clone':function(){var _0x4a03e5=_0x5c1803,_0x4bcae8=_0x2bc02e[_0x4a03e5(0x339)][_0x4a03e5(0x32b)](this);return _0x4bcae8[_0x4a03e5(0x265)]=this[_0x4a03e5(0x265)]['clone'](),_0x4bcae8;}});_0x514945['SHA1']=_0x2bc02e[_0x5c1803(0x317)](_0x2fdfe0),_0x514945[_0x5c1803(0x2d7)]=_0x2bc02e[_0x5c1803(0x26e)](_0x2fdfe0);}()),_0x3a6cd5[_0x154800(0xd0)];}));}(qe)),qe[_0x429e0a(0x271)];}var ze={'exports':{}},gn=ze[_0x72bb68(0x271)],Zt;function Sn(){var _0x3906c1=_0x72bb68;return Zt||(Zt=0x1,function(_0x399ef5,_0x4605e0){(function(_0x1ecf9a,_0x4a1260){_0x399ef5['exports']=_0x4a1260(te());}(gn,function(_0x9a88c4){(function(){var _0x266d95=_0x3e8b,_0xfb63d1=_0x9a88c4,_0x4fae4c=_0xfb63d1[_0x266d95(0x177)],_0x4448cb=_0x4fae4c['Base'],_0x212eff=_0xfb63d1[_0x266d95(0x122)],_0x2ec6ad=_0x212eff[_0x266d95(0x2d2)],_0x2b44bd=_0xfb63d1[_0x266d95(0xaf)];_0x2b44bd[_0x266d95(0xee)]=_0x4448cb[_0x266d95(0x1d9)]({'init':function(_0x5ad770,_0x2ba156){var _0xb8229=_0x266d95;_0x5ad770=this['_hasher']=new _0x5ad770[(_0xb8229(0x1c9))](),typeof _0x2ba156==_0xb8229(0x2bb)&&(_0x2ba156=_0x2ec6ad[_0xb8229(0x12b)](_0x2ba156));var _0x30a750=_0x5ad770[_0xb8229(0x193)],_0x4eeb2b=_0x30a750*0x4;_0x2ba156[_0xb8229(0x25f)]>_0x4eeb2b&&(_0x2ba156=_0x5ad770[_0xb8229(0x1cb)](_0x2ba156)),_0x2ba156['clamp']();for(var _0x1048ee=this[_0xb8229(0x2fe)]=_0x2ba156['clone'](),_0x2c5532=this['_iKey']=_0x2ba156[_0xb8229(0x339)](),_0x49ecda=_0x1048ee['words'],_0x111014=_0x2c5532[_0xb8229(0xd1)],_0x359392=0x0;_0x359392<_0x30a750;_0x359392++)_0x49ecda[_0x359392]^=0x5c5c5c5c,_0x111014[_0x359392]^=0x36363636;_0x1048ee['sigBytes']=_0x2c5532[_0xb8229(0x25f)]=_0x4eeb2b,this[_0xb8229(0x138)]();},'reset':function(){var _0x76bcae=_0x266d95,_0x24c5d5=this[_0x76bcae(0x1aa)];_0x24c5d5[_0x76bcae(0x138)](),_0x24c5d5[_0x76bcae(0x1dc)](this['_iKey']);},'update':function(_0x23c512){var _0x118e4a=_0x266d95;return this['_hasher'][_0x118e4a(0x1dc)](_0x23c512),this;},'finalize':function(_0x3c16b1){var _0x54bf46=_0x266d95,_0x36c66b=this['_hasher'],_0x4ba925=_0x36c66b[_0x54bf46(0x1cb)](_0x3c16b1);_0x36c66b['reset']();var _0x44910a=_0x36c66b[_0x54bf46(0x1cb)](this[_0x54bf46(0x2fe)][_0x54bf46(0x339)]()[_0x54bf46(0x286)](_0x4ba925));return _0x44910a;}});}());}));}(ze)),ze[_0x3906c1(0x271)];}var En=Ke[_0x72bb68(0x271)],Qt;function yi(){var _0x8ee3cc=_0x72bb68;return Qt||(Qt=0x1,function(_0x35a698,_0x1b4bcf){(function(_0x13f539,_0x36bb22,_0x5b4df6){var _0x309035=_0x3e8b;_0x35a698[_0x309035(0x271)]=_0x36bb22(te(),mn(),Sn());}(En,function(_0x2c0d35){return(function(){var _0x3a1efd=_0x3e8b,_0x432c50=_0x2c0d35,_0xd046b=_0x432c50['lib'],_0x3bed6b=_0xd046b[_0x3a1efd(0x2e9)],_0x86797f=_0xd046b[_0x3a1efd(0x24a)],_0x4ca132=_0x432c50[_0x3a1efd(0xaf)],_0x508fb9=_0x4ca132[_0x3a1efd(0x217)],_0x3cfbcf=_0x4ca132[_0x3a1efd(0x13b)]=_0x3bed6b['extend']({'cfg':_0x3bed6b[_0x3a1efd(0x1d9)]({'keySize':0x80/0x20,'hasher':_0x508fb9,'iterations':0x1}),'init':function(_0x160ea5){var _0x223fc0=_0x3a1efd;this[_0x223fc0(0xb0)]=this['cfg'][_0x223fc0(0x1d9)](_0x160ea5);},'compute':function(_0x410287,_0x2242a5){var _0x18665c=_0x3a1efd;for(var _0x3d6770,_0x3a887e=this[_0x18665c(0xb0)],_0x4f93c5=_0x3a887e[_0x18665c(0x27d)][_0x18665c(0x9a)](),_0x582c19=_0x86797f['create'](),_0x22097d=_0x582c19[_0x18665c(0xd1)],_0x4eb7e3=_0x3a887e['keySize'],_0x6550e7=_0x3a887e[_0x18665c(0x231)];_0x22097d[_0x18665c(0x182)]<_0x4eb7e3;){_0x3d6770&&_0x4f93c5[_0x18665c(0x1dc)](_0x3d6770),_0x3d6770=_0x4f93c5[_0x18665c(0x1dc)](_0x410287)[_0x18665c(0x1cb)](_0x2242a5),_0x4f93c5['reset']();for(var _0x50cbf7=0x1;_0x50cbf7<_0x6550e7;_0x50cbf7++)_0x3d6770=_0x4f93c5[_0x18665c(0x1cb)](_0x3d6770),_0x4f93c5[_0x18665c(0x138)]();_0x582c19[_0x18665c(0x286)](_0x3d6770);}return _0x582c19[_0x18665c(0x25f)]=_0x4eb7e3*0x4,_0x582c19;}});_0x432c50[_0x3a1efd(0x13b)]=function(_0x526f42,_0x300991,_0x2acc29){var _0x4d0a83=_0x3a1efd;return _0x3cfbcf[_0x4d0a83(0x9a)](_0x2acc29)[_0x4d0a83(0xe8)](_0x526f42,_0x300991);};}()),_0x2c0d35['EvpKDF'];}));}(Ke)),Ke[_0x8ee3cc(0x271)];}var Je={'exports':{}},In=Je['exports'],ei;function Ni(){var _0x2ebf7c=_0x72bb68;return ei||(ei=0x1,function(_0x1be877,_0x2a7fa6){(function(_0x3a7bca,_0x20b742,_0x23b5ae){_0x1be877['exports']=_0x20b742(te(),yi());}(In,function(_0x1f3aff){var _0x34fad6=_0x3e8b;_0x1f3aff[_0x34fad6(0x177)][_0x34fad6(0xca)]||function(_0x4c1baf){var _0x57ef00=_0x34fad6,_0x75736c=_0x1f3aff,_0x236576=_0x75736c['lib'],_0x50a6b7=_0x236576[_0x57ef00(0x2e9)],_0x316f0a=_0x236576[_0x57ef00(0x24a)],_0xcf4d23=_0x236576[_0x57ef00(0x352)],_0x2397a6=_0x75736c[_0x57ef00(0x122)];_0x2397a6['Utf8'];var _0x27be35=_0x2397a6['Base64'],_0x2cff4a=_0x75736c[_0x57ef00(0xaf)],_0x22153b=_0x2cff4a[_0x57ef00(0x13b)],_0xbd128d=_0x236576[_0x57ef00(0xca)]=_0xcf4d23[_0x57ef00(0x1d9)]({'cfg':_0x50a6b7['extend'](),'createEncryptor':function(_0x4e5f5c,_0x22e528){var _0x2c2647=_0x57ef00;return this[_0x2c2647(0x9a)](this['_ENC_XFORM_MODE'],_0x4e5f5c,_0x22e528);},'createDecryptor':function(_0x4c87dd,_0x1b380f){var _0x4ac169=_0x57ef00;return this['create'](this[_0x4ac169(0xb7)],_0x4c87dd,_0x1b380f);},'init':function(_0xa93c53,_0x23bfc9,_0x4aecd1){var _0x5ce0c2=_0x57ef00;this[_0x5ce0c2(0xb0)]=this[_0x5ce0c2(0xb0)][_0x5ce0c2(0x1d9)](_0x4aecd1),this['_xformMode']=_0xa93c53,this[_0x5ce0c2(0x273)]=_0x23bfc9,this[_0x5ce0c2(0x138)]();},'reset':function(){var _0x524bd8=_0x57ef00;_0xcf4d23[_0x524bd8(0x138)][_0x524bd8(0x32b)](this),this[_0x524bd8(0x1c0)]();},'process':function(_0x22a480){var _0x106d3c=_0x57ef00;return this[_0x106d3c(0x269)](_0x22a480),this[_0x106d3c(0x216)]();},'finalize':function(_0x551de5){_0x551de5&&this['_append'](_0x551de5);var _0x1a5e3e=this['_doFinalize']();return _0x1a5e3e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4923e1(_0x1c2f52){return typeof _0x1c2f52=='string'?_0x4d73d7:_0x4c6dd7;}return function(_0x3aaec){return{'encrypt':function(_0x3c6f03,_0x16e316,_0x35c092){var _0x52d47b=_0x3e8b;return _0x4923e1(_0x16e316)[_0x52d47b(0x314)](_0x3aaec,_0x3c6f03,_0x16e316,_0x35c092);},'decrypt':function(_0x4b1f99,_0x59c24e,_0x4a440c){return _0x4923e1(_0x59c24e)['decrypt'](_0x3aaec,_0x4b1f99,_0x59c24e,_0x4a440c);}};};}())});_0x236576[_0x57ef00(0x324)]=_0xbd128d[_0x57ef00(0x1d9)]({'_doFinalize':function(){var _0x17d397=this['_process'](!0x0);return _0x17d397;},'blockSize':0x1});var _0x4db528=_0x75736c['mode']={},_0x3590fb=_0x236576[_0x57ef00(0x2d3)]=_0x50a6b7[_0x57ef00(0x1d9)]({'createEncryptor':function(_0x1b4ee4,_0x19cbdd){var _0x20b19c=_0x57ef00;return this['Encryptor'][_0x20b19c(0x9a)](_0x1b4ee4,_0x19cbdd);},'createDecryptor':function(_0x151709,_0x2cdbe1){var _0x35e8fc=_0x57ef00;return this[_0x35e8fc(0x28e)][_0x35e8fc(0x9a)](_0x151709,_0x2cdbe1);},'init':function(_0x53009e,_0x1a790a){var _0x23e4e4=_0x57ef00;this[_0x23e4e4(0x29a)]=_0x53009e,this[_0x23e4e4(0xad)]=_0x1a790a;}}),_0x188686=_0x4db528['CBC']=(function(){var _0x155284=_0x57ef00,_0x16b73a=_0x3590fb['extend']();_0x16b73a[_0x155284(0x13e)]=_0x16b73a[_0x155284(0x1d9)]({'processBlock':function(_0x2f141d,_0x14ed74){var _0x3ea96d=_0x155284,_0x1ba602=this[_0x3ea96d(0x29a)],_0x393da5=_0x1ba602[_0x3ea96d(0x193)];_0x10112f[_0x3ea96d(0x32b)](this,_0x2f141d,_0x14ed74,_0x393da5),_0x1ba602[_0x3ea96d(0x15d)](_0x2f141d,_0x14ed74),this[_0x3ea96d(0x316)]=_0x2f141d[_0x3ea96d(0xb9)](_0x14ed74,_0x14ed74+_0x393da5);}}),_0x16b73a[_0x155284(0x28e)]=_0x16b73a['extend']({'processBlock':function(_0x485ec8,_0x299559){var _0x5a3d53=_0x155284,_0x195c43=this['_cipher'],_0x374972=_0x195c43[_0x5a3d53(0x193)],_0x2d9e7b=_0x485ec8['slice'](_0x299559,_0x299559+_0x374972);_0x195c43[_0x5a3d53(0xc5)](_0x485ec8,_0x299559),_0x10112f[_0x5a3d53(0x32b)](this,_0x485ec8,_0x299559,_0x374972),this['_prevBlock']=_0x2d9e7b;}});function _0x10112f(_0x5da05b,_0x4a5a5a,_0x4d7963){var _0x2e08a3=_0x155284,_0xa8320,_0x11af4c=this['_iv'];_0x11af4c?(_0xa8320=_0x11af4c,this[_0x2e08a3(0xad)]=_0x4c1baf):_0xa8320=this[_0x2e08a3(0x316)];for(var _0x30bd87=0x0;_0x30bd87<_0x4d7963;_0x30bd87++)_0x5da05b[_0x4a5a5a+_0x30bd87]^=_0xa8320[_0x30bd87];}return _0x16b73a;}()),_0x315c22=_0x75736c['pad']={},_0x5ec75a=_0x315c22[_0x57ef00(0x1bf)]={'pad':function(_0x9f942a,_0x1da608){var _0x19ff53=_0x57ef00;for(var _0x50aaaa=_0x1da608*0x4,_0x492fbf=_0x50aaaa-_0x9f942a[_0x19ff53(0x25f)]%_0x50aaaa,_0x324caf=_0x492fbf<<0x18|_0x492fbf<<0x10|_0x492fbf<<0x8|_0x492fbf,_0x311ffa=[],_0x4847ba=0x0;_0x4847ba<_0x492fbf;_0x4847ba+=0x4)_0x311ffa[_0x19ff53(0xe7)](_0x324caf);var _0xf3c98c=_0x316f0a['create'](_0x311ffa,_0x492fbf);_0x9f942a[_0x19ff53(0x286)](_0xf3c98c);},'unpad':function(_0x3f1782){var _0x304400=_0x57ef00,_0x21f89f=_0x3f1782[_0x304400(0xd1)][_0x3f1782[_0x304400(0x25f)]-0x1>>>0x2]&0xff;_0x3f1782[_0x304400(0x25f)]-=_0x21f89f;}};_0x236576['BlockCipher']=_0xbd128d[_0x57ef00(0x1d9)]({'cfg':_0xbd128d[_0x57ef00(0xb0)][_0x57ef00(0x1d9)]({'mode':_0x188686,'padding':_0x5ec75a}),'reset':function(){var _0x14a78e=_0x57ef00,_0x3d05e8;_0xbd128d[_0x14a78e(0x138)]['call'](this);var _0x44f764=this[_0x14a78e(0xb0)],_0x312480=_0x44f764['iv'],_0x30d431=_0x44f764[_0x14a78e(0x2cd)];this[_0x14a78e(0x1ac)]==this[_0x14a78e(0x1ea)]?_0x3d05e8=_0x30d431[_0x14a78e(0x27f)]:(_0x3d05e8=_0x30d431[_0x14a78e(0x364)],this[_0x14a78e(0x163)]=0x1),this['_mode']&&this[_0x14a78e(0x1bd)][_0x14a78e(0x100)]==_0x3d05e8?this[_0x14a78e(0x1bd)][_0x14a78e(0x1c9)](this,_0x312480&&_0x312480['words']):(this[_0x14a78e(0x1bd)]=_0x3d05e8[_0x14a78e(0x32b)](_0x30d431,this,_0x312480&&_0x312480[_0x14a78e(0xd1)]),this[_0x14a78e(0x1bd)][_0x14a78e(0x100)]=_0x3d05e8);},'_doProcessBlock':function(_0x521d34,_0x372376){var _0x1b40a8=_0x57ef00;this['_mode'][_0x1b40a8(0x21b)](_0x521d34,_0x372376);},'_doFinalize':function(){var _0x4d0cae=_0x57ef00,_0x284272,_0x2b1ff0=this['cfg'][_0x4d0cae(0x146)];return this[_0x4d0cae(0x1ac)]==this[_0x4d0cae(0x1ea)]?(_0x2b1ff0[_0x4d0cae(0x1ec)](this[_0x4d0cae(0x119)],this[_0x4d0cae(0x193)]),_0x284272=this[_0x4d0cae(0x216)](!0x0)):(_0x284272=this[_0x4d0cae(0x216)](!0x0),_0x2b1ff0[_0x4d0cae(0x32a)](_0x284272)),_0x284272;},'blockSize':0x80/0x20});var _0x3f072c=_0x236576[_0x57ef00(0x237)]=_0x50a6b7[_0x57ef00(0x1d9)]({'init':function(_0x1f383b){this['mixIn'](_0x1f383b);},'toString':function(_0x58f282){var _0x47603c=_0x57ef00;return(_0x58f282||this[_0x47603c(0x334)])[_0x47603c(0x384)](this);}}),_0x5b2d2c=_0x75736c[_0x57ef00(0x152)]={},_0x3ffcfb=_0x5b2d2c['OpenSSL']={'stringify':function(_0x292f80){var _0x4f0191=_0x57ef00,_0x3d6662,_0x328dc5=_0x292f80[_0x4f0191(0x98)],_0x69088f=_0x292f80[_0x4f0191(0x312)];return _0x69088f?_0x3d6662=_0x316f0a[_0x4f0191(0x9a)]([0x53616c74,0x65645f5f])[_0x4f0191(0x286)](_0x69088f)['concat'](_0x328dc5):_0x3d6662=_0x328dc5,_0x3d6662[_0x4f0191(0x167)](_0x27be35);},'parse':function(_0x2335a7){var _0x43a410=_0x57ef00,_0x54070a,_0x1fb019=_0x27be35[_0x43a410(0x12b)](_0x2335a7),_0x3dc77f=_0x1fb019[_0x43a410(0xd1)];return _0x3dc77f[0x0]==0x53616c74&&_0x3dc77f[0x1]==0x65645f5f&&(_0x54070a=_0x316f0a[_0x43a410(0x9a)](_0x3dc77f[_0x43a410(0xb9)](0x2,0x4)),_0x3dc77f[_0x43a410(0xd5)](0x0,0x4),_0x1fb019['sigBytes']-=0x10),_0x3f072c['create']({'ciphertext':_0x1fb019,'salt':_0x54070a});}},_0x4c6dd7=_0x236576[_0x57ef00(0x251)]=_0x50a6b7[_0x57ef00(0x1d9)]({'cfg':_0x50a6b7[_0x57ef00(0x1d9)]({'format':_0x3ffcfb}),'encrypt':function(_0x3dd30f,_0x4b9f16,_0xb2c9a0,_0x38769a){var _0x553ed4=_0x57ef00;_0x38769a=this[_0x553ed4(0xb0)][_0x553ed4(0x1d9)](_0x38769a);var _0x4e833e=_0x3dd30f[_0x553ed4(0x27f)](_0xb2c9a0,_0x38769a),_0x174ae8=_0x4e833e[_0x553ed4(0x1cb)](_0x4b9f16),_0x438e27=_0x4e833e[_0x553ed4(0xb0)];return _0x3f072c[_0x553ed4(0x9a)]({'ciphertext':_0x174ae8,'key':_0xb2c9a0,'iv':_0x438e27['iv'],'algorithm':_0x3dd30f,'mode':_0x438e27[_0x553ed4(0x2cd)],'padding':_0x438e27[_0x553ed4(0x146)],'blockSize':_0x3dd30f[_0x553ed4(0x193)],'formatter':_0x38769a[_0x553ed4(0x152)]});},'decrypt':function(_0x1c22a0,_0xdf505e,_0x262dba,_0x2d0c82){var _0x3db5b1=_0x57ef00;_0x2d0c82=this[_0x3db5b1(0xb0)][_0x3db5b1(0x1d9)](_0x2d0c82),_0xdf505e=this['_parse'](_0xdf505e,_0x2d0c82[_0x3db5b1(0x152)]);var _0x29f234=_0x1c22a0[_0x3db5b1(0x364)](_0x262dba,_0x2d0c82)[_0x3db5b1(0x1cb)](_0xdf505e[_0x3db5b1(0x98)]);return _0x29f234;},'_parse':function(_0x248b87,_0x103df9){var _0x3bd102=_0x57ef00;return typeof _0x248b87==_0x3bd102(0x2bb)?_0x103df9[_0x3bd102(0x12b)](_0x248b87,this):_0x248b87;}}),_0x581ed4=_0x75736c[_0x57ef00(0x1fd)]={},_0x21e1ca=_0x581ed4[_0x57ef00(0x18b)]={'execute':function(_0xbba7d2,_0x870eb4,_0x128597,_0x49d79b,_0x18da74){var _0x12dab0=_0x57ef00;if(_0x49d79b||(_0x49d79b=_0x316f0a[_0x12dab0(0x363)](0x40/0x8)),_0x18da74)var _0x58aae6=_0x22153b[_0x12dab0(0x9a)]({'keySize':_0x870eb4+_0x128597,'hasher':_0x18da74})['compute'](_0xbba7d2,_0x49d79b);else var _0x58aae6=_0x22153b[_0x12dab0(0x9a)]({'keySize':_0x870eb4+_0x128597})[_0x12dab0(0xe8)](_0xbba7d2,_0x49d79b);var _0x420402=_0x316f0a[_0x12dab0(0x9a)](_0x58aae6[_0x12dab0(0xd1)]['slice'](_0x870eb4),_0x128597*0x4);return _0x58aae6[_0x12dab0(0x25f)]=_0x870eb4*0x4,_0x3f072c[_0x12dab0(0x9a)]({'key':_0x58aae6,'iv':_0x420402,'salt':_0x49d79b});}},_0x4d73d7=_0x236576[_0x57ef00(0x121)]=_0x4c6dd7[_0x57ef00(0x1d9)]({'cfg':_0x4c6dd7[_0x57ef00(0xb0)][_0x57ef00(0x1d9)]({'kdf':_0x21e1ca}),'encrypt':function(_0x232664,_0xb51cd5,_0x3fb5ea,_0x3beb00){var _0x599f51=_0x57ef00;_0x3beb00=this['cfg'][_0x599f51(0x1d9)](_0x3beb00);var _0xaf30a6=_0x3beb00[_0x599f51(0x1fd)]['execute'](_0x3fb5ea,_0x232664[_0x599f51(0x258)],_0x232664[_0x599f51(0x2a5)],_0x3beb00['salt'],_0x3beb00[_0x599f51(0x27d)]);_0x3beb00['iv']=_0xaf30a6['iv'];var _0x2be3a3=_0x4c6dd7[_0x599f51(0x314)]['call'](this,_0x232664,_0xb51cd5,_0xaf30a6[_0x599f51(0x14a)],_0x3beb00);return _0x2be3a3[_0x599f51(0x34c)](_0xaf30a6),_0x2be3a3;},'decrypt':function(_0x1d1177,_0x12c592,_0x5650b8,_0x22bcb2){var _0x2bc11a=_0x57ef00;_0x22bcb2=this[_0x2bc11a(0xb0)][_0x2bc11a(0x1d9)](_0x22bcb2),_0x12c592=this[_0x2bc11a(0x2f6)](_0x12c592,_0x22bcb2[_0x2bc11a(0x152)]);var _0xdd4d47=_0x22bcb2[_0x2bc11a(0x1fd)]['execute'](_0x5650b8,_0x1d1177[_0x2bc11a(0x258)],_0x1d1177[_0x2bc11a(0x2a5)],_0x12c592[_0x2bc11a(0x312)],_0x22bcb2[_0x2bc11a(0x27d)]);_0x22bcb2['iv']=_0xdd4d47['iv'];var _0xc8248d=_0x4c6dd7[_0x2bc11a(0x2aa)][_0x2bc11a(0x32b)](this,_0x1d1177,_0x12c592,_0xdd4d47[_0x2bc11a(0x14a)],_0x22bcb2);return _0xc8248d;}});}();}));}(Je)),Je[_0x2ebf7c(0x271)];}var Tn=Ve[_0x72bb68(0x271)],ti;function Cn(){var _0x294b2c=_0x72bb68;return ti||(ti=0x1,function(_0x3658df,_0x5821f6){(function(_0x1bdab2,_0xdeef3a,_0x2982b0){_0x3658df['exports']=_0xdeef3a(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x30f4f3){return(function(){var _0x350b12=_0x3e8b,_0x2103b5=_0x30f4f3,_0x156b36=_0x2103b5['lib'],_0x51272b=_0x156b36[_0x350b12(0x336)],_0x2533a1=_0x2103b5['algo'],_0x48e547=[],_0x2c2d45=[],_0x38eaca=[],_0x26542c=[],_0x3c5cfa=[],_0x13c3a1=[],_0x544f3d=[],_0x4f0e00=[],_0x1ac648=[],_0x359657=[];(function(){for(var _0x7146db=[],_0x397432=0x0;_0x397432<0x100;_0x397432++)_0x397432<0x80?_0x7146db[_0x397432]=_0x397432<<0x1:_0x7146db[_0x397432]=_0x397432<<0x1^0x11b;for(var _0x4c14f0=0x0,_0x5bd84e=0x0,_0x397432=0x0;_0x397432<0x100;_0x397432++){var _0x1d0eb1=_0x5bd84e^_0x5bd84e<<0x1^_0x5bd84e<<0x2^_0x5bd84e<<0x3^_0x5bd84e<<0x4;_0x1d0eb1=_0x1d0eb1>>>0x8^_0x1d0eb1&0xff^0x63,_0x48e547[_0x4c14f0]=_0x1d0eb1,_0x2c2d45[_0x1d0eb1]=_0x4c14f0;var _0x3420c5=_0x7146db[_0x4c14f0],_0xa10ff1=_0x7146db[_0x3420c5],_0x112ee4=_0x7146db[_0xa10ff1],_0x181e31=_0x7146db[_0x1d0eb1]*0x101^_0x1d0eb1*0x1010100;_0x38eaca[_0x4c14f0]=_0x181e31<<0x18|_0x181e31>>>0x8,_0x26542c[_0x4c14f0]=_0x181e31<<0x10|_0x181e31>>>0x10,_0x3c5cfa[_0x4c14f0]=_0x181e31<<0x8|_0x181e31>>>0x18,_0x13c3a1[_0x4c14f0]=_0x181e31;var _0x181e31=_0x112ee4*0x1010101^_0xa10ff1*0x10001^_0x3420c5*0x101^_0x4c14f0*0x1010100;_0x544f3d[_0x1d0eb1]=_0x181e31<<0x18|_0x181e31>>>0x8,_0x4f0e00[_0x1d0eb1]=_0x181e31<<0x10|_0x181e31>>>0x10,_0x1ac648[_0x1d0eb1]=_0x181e31<<0x8|_0x181e31>>>0x18,_0x359657[_0x1d0eb1]=_0x181e31,_0x4c14f0?(_0x4c14f0=_0x3420c5^_0x7146db[_0x7146db[_0x7146db[_0x112ee4^_0x3420c5]]],_0x5bd84e^=_0x7146db[_0x7146db[_0x5bd84e]]):_0x4c14f0=_0x5bd84e=0x1;}}());var _0x3a9536=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x542ef9=_0x2533a1[_0x350b12(0x305)]=_0x51272b[_0x350b12(0x1d9)]({'_doReset':function(){var _0x45272b=_0x350b12,_0xfefe96;if(!(this[_0x45272b(0x1d0)]&&this['_keyPriorReset']===this[_0x45272b(0x273)])){for(var _0x5c95b8=this['_keyPriorReset']=this[_0x45272b(0x273)],_0x3f6978=_0x5c95b8[_0x45272b(0xd1)],_0x2c339c=_0x5c95b8[_0x45272b(0x25f)]/0x4,_0x4c23b7=this['_nRounds']=_0x2c339c+0x6,_0x1311da=(_0x4c23b7+0x1)*0x4,_0x354527=this[_0x45272b(0x366)]=[],_0xf3e580=0x0;_0xf3e580<_0x1311da;_0xf3e580++)_0xf3e580<_0x2c339c?_0x354527[_0xf3e580]=_0x3f6978[_0xf3e580]:(_0xfefe96=_0x354527[_0xf3e580-0x1],_0xf3e580%_0x2c339c?_0x2c339c>0x6&&_0xf3e580%_0x2c339c==0x4&&(_0xfefe96=_0x48e547[_0xfefe96>>>0x18]<<0x18|_0x48e547[_0xfefe96>>>0x10&0xff]<<0x10|_0x48e547[_0xfefe96>>>0x8&0xff]<<0x8|_0x48e547[_0xfefe96&0xff]):(_0xfefe96=_0xfefe96<<0x8|_0xfefe96>>>0x18,_0xfefe96=_0x48e547[_0xfefe96>>>0x18]<<0x18|_0x48e547[_0xfefe96>>>0x10&0xff]<<0x10|_0x48e547[_0xfefe96>>>0x8&0xff]<<0x8|_0x48e547[_0xfefe96&0xff],_0xfefe96^=_0x3a9536[_0xf3e580/_0x2c339c|0x0]<<0x18),_0x354527[_0xf3e580]=_0x354527[_0xf3e580-_0x2c339c]^_0xfefe96);for(var _0x113242=this[_0x45272b(0x1da)]=[],_0x4b45b6=0x0;_0x4b45b6<_0x1311da;_0x4b45b6++){var _0xf3e580=_0x1311da-_0x4b45b6;if(_0x4b45b6%0x4)var _0xfefe96=_0x354527[_0xf3e580];else var _0xfefe96=_0x354527[_0xf3e580-0x4];_0x4b45b6<0x4||_0xf3e580<=0x4?_0x113242[_0x4b45b6]=_0xfefe96:_0x113242[_0x4b45b6]=_0x544f3d[_0x48e547[_0xfefe96>>>0x18]]^_0x4f0e00[_0x48e547[_0xfefe96>>>0x10&0xff]]^_0x1ac648[_0x48e547[_0xfefe96>>>0x8&0xff]]^_0x359657[_0x48e547[_0xfefe96&0xff]];}}},'encryptBlock':function(_0x160d54,_0x1f5b8b){var _0x2c279f=_0x350b12;this[_0x2c279f(0x95)](_0x160d54,_0x1f5b8b,this['_keySchedule'],_0x38eaca,_0x26542c,_0x3c5cfa,_0x13c3a1,_0x48e547);},'decryptBlock':function(_0x402b51,_0x1f7915){var _0x51adc4=_0x350b12,_0x5a15d2=_0x402b51[_0x1f7915+0x1];_0x402b51[_0x1f7915+0x1]=_0x402b51[_0x1f7915+0x3],_0x402b51[_0x1f7915+0x3]=_0x5a15d2,this[_0x51adc4(0x95)](_0x402b51,_0x1f7915,this['_invKeySchedule'],_0x544f3d,_0x4f0e00,_0x1ac648,_0x359657,_0x2c2d45);var _0x5a15d2=_0x402b51[_0x1f7915+0x1];_0x402b51[_0x1f7915+0x1]=_0x402b51[_0x1f7915+0x3],_0x402b51[_0x1f7915+0x3]=_0x5a15d2;},'_doCryptBlock':function(_0x4f0838,_0x18d840,_0x5b50cf,_0x1688e1,_0x107d85,_0x3d8c09,_0xb61f2,_0x4f6019){var _0x186cbc=_0x350b12;for(var _0x382ad9=this[_0x186cbc(0x1d0)],_0x1e8fe0=_0x4f0838[_0x18d840]^_0x5b50cf[0x0],_0x3b8c6d=_0x4f0838[_0x18d840+0x1]^_0x5b50cf[0x1],_0x487796=_0x4f0838[_0x18d840+0x2]^_0x5b50cf[0x2],_0x563ba3=_0x4f0838[_0x18d840+0x3]^_0x5b50cf[0x3],_0x395011=0x4,_0x5af341=0x1;_0x5af341<_0x382ad9;_0x5af341++){var _0x21ad1d=_0x1688e1[_0x1e8fe0>>>0x18]^_0x107d85[_0x3b8c6d>>>0x10&0xff]^_0x3d8c09[_0x487796>>>0x8&0xff]^_0xb61f2[_0x563ba3&0xff]^_0x5b50cf[_0x395011++],_0x5d0797=_0x1688e1[_0x3b8c6d>>>0x18]^_0x107d85[_0x487796>>>0x10&0xff]^_0x3d8c09[_0x563ba3>>>0x8&0xff]^_0xb61f2[_0x1e8fe0&0xff]^_0x5b50cf[_0x395011++],_0x26636b=_0x1688e1[_0x487796>>>0x18]^_0x107d85[_0x563ba3>>>0x10&0xff]^_0x3d8c09[_0x1e8fe0>>>0x8&0xff]^_0xb61f2[_0x3b8c6d&0xff]^_0x5b50cf[_0x395011++],_0x3c5b0a=_0x1688e1[_0x563ba3>>>0x18]^_0x107d85[_0x1e8fe0>>>0x10&0xff]^_0x3d8c09[_0x3b8c6d>>>0x8&0xff]^_0xb61f2[_0x487796&0xff]^_0x5b50cf[_0x395011++];_0x1e8fe0=_0x21ad1d,_0x3b8c6d=_0x5d0797,_0x487796=_0x26636b,_0x563ba3=_0x3c5b0a;}var _0x21ad1d=(_0x4f6019[_0x1e8fe0>>>0x18]<<0x18|_0x4f6019[_0x3b8c6d>>>0x10&0xff]<<0x10|_0x4f6019[_0x487796>>>0x8&0xff]<<0x8|_0x4f6019[_0x563ba3&0xff])^_0x5b50cf[_0x395011++],_0x5d0797=(_0x4f6019[_0x3b8c6d>>>0x18]<<0x18|_0x4f6019[_0x487796>>>0x10&0xff]<<0x10|_0x4f6019[_0x563ba3>>>0x8&0xff]<<0x8|_0x4f6019[_0x1e8fe0&0xff])^_0x5b50cf[_0x395011++],_0x26636b=(_0x4f6019[_0x487796>>>0x18]<<0x18|_0x4f6019[_0x563ba3>>>0x10&0xff]<<0x10|_0x4f6019[_0x1e8fe0>>>0x8&0xff]<<0x8|_0x4f6019[_0x3b8c6d&0xff])^_0x5b50cf[_0x395011++],_0x3c5b0a=(_0x4f6019[_0x563ba3>>>0x18]<<0x18|_0x4f6019[_0x1e8fe0>>>0x10&0xff]<<0x10|_0x4f6019[_0x3b8c6d>>>0x8&0xff]<<0x8|_0x4f6019[_0x487796&0xff])^_0x5b50cf[_0x395011++];_0x4f0838[_0x18d840]=_0x21ad1d,_0x4f0838[_0x18d840+0x1]=_0x5d0797,_0x4f0838[_0x18d840+0x2]=_0x26636b,_0x4f0838[_0x18d840+0x3]=_0x3c5b0a;},'keySize':0x100/0x20});_0x2103b5['AES']=_0x51272b[_0x350b12(0x317)](_0x542ef9);}()),_0x30f4f3['AES'];}));}(Ve)),Ve[_0x294b2c(0x271)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x72bb68(0x271)],si;function Nn(){var _0x52d5ff=_0x72bb68;return si||(si=0x1,function(_0x485e3c,_0x362a79){(function(_0x1d829f,_0x23a987){var _0x785930=_0x3e8b;_0x485e3c[_0x785930(0x271)]=_0x23a987(te());}(yn,function(_0x250ebc){var _0x2a7497=_0x3e8b;return _0x250ebc[_0x2a7497(0x122)][_0x2a7497(0x2d2)];}));}(Xe)),Xe[_0x52d5ff(0x271)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){var _0x39dbad=_0x72bb68;return ni||(ni=0x1,function(_0x3225ab,_0x39d8c9){(function(_0x149773,_0x387c09){var _0x50f103=_0x3e8b;_0x3225ab[_0x50f103(0x271)]=_0x387c09(te());}(An,function(_0x193325){var _0x572b90=_0x3e8b;return(function(){var _0x362beb=_0x3e8b;if(typeof ArrayBuffer==_0x362beb(0x309)){var _0x223a46=_0x193325,_0x514963=_0x223a46[_0x362beb(0x177)],_0x486f2e=_0x514963[_0x362beb(0x24a)],_0x402456=_0x486f2e[_0x362beb(0x1c9)],_0x55693a=_0x486f2e['init']=function(_0x15a2ed){var _0x4c5319=_0x362beb;if(_0x15a2ed instanceof ArrayBuffer&&(_0x15a2ed=new Uint8Array(_0x15a2ed)),(_0x15a2ed instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x15a2ed instanceof Uint8ClampedArray||_0x15a2ed instanceof Int16Array||_0x15a2ed instanceof Uint16Array||_0x15a2ed instanceof Int32Array||_0x15a2ed instanceof Uint32Array||_0x15a2ed instanceof Float32Array||_0x15a2ed instanceof Float64Array)&&(_0x15a2ed=new Uint8Array(_0x15a2ed[_0x4c5319(0xa9)],_0x15a2ed['byteOffset'],_0x15a2ed[_0x4c5319(0x208)])),_0x15a2ed instanceof Uint8Array){for(var _0x4ca01a=_0x15a2ed['byteLength'],_0x35a12f=[],_0x38855a=0x0;_0x38855a<_0x4ca01a;_0x38855a++)_0x35a12f[_0x38855a>>>0x2]|=_0x15a2ed[_0x38855a]<<0x18-_0x38855a%0x4*0x8;_0x402456['call'](this,_0x35a12f,_0x4ca01a);}else _0x402456['apply'](this,arguments);};_0x55693a[_0x362beb(0x1b8)]=_0x486f2e;}}()),_0x193325[_0x572b90(0x177)]['WordArray'];}));}(Ze)),Ze[_0x39dbad(0x271)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x72bb68(0x271)],ri;function xn(){var _0x330af0=_0x72bb68;return ri||(ri=0x1,function(_0x559564,_0x2f015b){(function(_0x13d23f,_0x362f25,_0x54f74e){_0x559564['exports']=_0x362f25(te(),Ni());}(Mn,function(_0x59d8d0){var _0x370bf3=_0x3e8b;return _0x59d8d0[_0x370bf3(0x1ec)][_0x370bf3(0x223)]={'pad':function(){},'unpad':function(){}},_0x59d8d0[_0x370bf3(0x1ec)][_0x370bf3(0x223)];}));}(Qe)),Qe[_0x330af0(0x271)];}var kn=xn();const $n=$e(kn);function Hn(_0x2aa947,_0x464a75){var _0x587f6d=_0x72bb68;const _0x513306=_0x464a75-_0x2aa947['length']%_0x464a75,_0x3a5dd7=String[_0x587f6d(0x136)](_0x513306)[_0x587f6d(0x104)](_0x513306);return _0x2aa947+_0x3a5dd7;}function Bn(_0x3b9036,_0x17200b){var _0x4af768=_0x72bb68;const _0x25885f=Ln[_0x4af768(0x363)](0x10),_0x3ff52f=Hn(_0x3b9036,0x10),_0x407ae7=bn['encrypt'](Un[_0x4af768(0x12b)](_0x3ff52f),ii[_0x4af768(0x12b)](_0x17200b),{'iv':_0x25885f,'padding':$n});return _0x25885f[_0x4af768(0x286)](_0x407ae7[_0x4af768(0x98)])[_0x4af768(0x167)](ii);}function jn(){var _0x12df49=_0x72bb68;const _0x2613b4=_0x97c32f()[_0x12df49(0x26c)];if(_0x2613b4){const _0x2024cb={'time':Math[_0x12df49(0x230)](Date[_0x12df49(0x10d)]()/0x3e8),'domain':location[_0x12df49(0x1f4)]};return Bn(JSON[_0x12df49(0x384)](_0x2024cb),_0x2613b4);}}var Fn=Object[_0x72bb68(0x159)],Vn=(_0x286f95,_0x14bceb,_0x37a5ac,_0x41da22)=>{var _0x59f1c6=_0x72bb68;for(var _0x2e8e49=_0x41da22>0x1?void 0x0:_0x41da22?Fn(_0x14bceb,_0x37a5ac):_0x14bceb,_0x4188f9=_0x286f95[_0x59f1c6(0x182)]-0x1,_0xe4fd5e;_0x4188f9>=0x0;_0x4188f9--)(_0xe4fd5e=_0x286f95[_0x4188f9])&&(_0x2e8e49=_0xe4fd5e(_0x2e8e49)||_0x2e8e49);return _0x2e8e49;},Gn=(_0x5509d8,_0x2f50d6)=>(_0x260273,_0x251f19)=>_0x2f50d6(_0x260273,_0x251f19,_0x5509d8);let at=class{constructor(_0x19538c){var _0x131475=_0x72bb68;this[_0x131475(0x367)]=_0x19538c,this[_0x131475(0x131)]();}['_initRequestHeader'](){var _0x44594c=_0x72bb68;this['_httpService'][_0x44594c(0x147)]({'interceptor':(_0x2f2291,_0x39148d)=>{var _0x5cbb6e=_0x44594c;const _0x10e5bf=_0x2f2291[_0x5cbb6e(0x1bb)],_0x24a0cc=jn();return _0x24a0cc&&_0x10e5bf[_0x5cbb6e(0x1c2)](_0x5cbb6e(0x34a),_0x24a0cc),_0x39148d(_0x2f2291);}});}};at=Vn([Gn(0x0,_0x41311f(_0x4fe417))],at);var Wn=Object[_0x72bb68(0x159)],Yn=(_0x15a232,_0x44f49a,_0x2a0710,_0x51bb8e)=>{var _0x5cec26=_0x72bb68;for(var _0x3d0603=_0x51bb8e>0x1?void 0x0:_0x51bb8e?Wn(_0x44f49a,_0x2a0710):_0x44f49a,_0x2b67d=_0x15a232[_0x5cec26(0x182)]-0x1,_0x46b0b1;_0x2b67d>=0x0;_0x2b67d--)(_0x46b0b1=_0x15a232[_0x2b67d])&&(_0x3d0603=_0x46b0b1(_0x3d0603)||_0x3d0603);return _0x3d0603;},vt=(_0x445e33,_0x28dd38)=>(_0x1bfebe,_0x1f4c35)=>_0x28dd38(_0x1bfebe,_0x1f4c35,_0x445e33);let Ct=class extends _0x184f79{constructor(_0x498d1c,_0x5c53a2,_0x22ead7){var _0x4ed46e=_0x72bb68;super(),N(this,'_unitInfo$',new _0x50b1a3(null)),N(this,'unitInfo$',this[_0x4ed46e(0x2c1)][_0x4ed46e(0xdc)]()),(this['_logService']=_0x498d1c,this[_0x4ed46e(0x1a8)]=_0x5c53a2,this[_0x4ed46e(0x35a)]=_0x22ead7);}async[_0x72bb68(0x277)](_0x2c2f73,_0x53defe,_0x4b30b8){var _0x3e1f3b=_0x72bb68;this[_0x3e1f3b(0x2c1)][_0x3e1f3b(0x173)]({'unitId':_0x2c2f73,'type':_0x53defe});let _0x394c86=null;switch(_0x53defe){case Z[_0x3e1f3b(0x9d)]:{_0x394c86=await this['_snapshotService']['loadSheet'](_0x2c2f73,_0x4b30b8);break;}case Z['UNIVER_DOC']:{_0x394c86=await this[_0x3e1f3b(0x1a8)]['loadDoc'](_0x2c2f73,_0x4b30b8);break;}default:{this['_logService'][_0x3e1f3b(0x32f)](_0x3e1f3b(0x10c),_0x3e1f3b(0xbb));break;}}return _0x394c86;}async[_0x72bb68(0x35f)](_0x180b98,_0xce54b1,_0x2777f5){var _0x59dabb=_0x72bb68,_0x5a4b35;this[_0x59dabb(0x2c1)][_0x59dabb(0x173)]({'unitId':_0x180b98,'type':_0xce54b1,'subUnitId':_0x2777f5});let _0x22d3c6=0x0;const _0x38a230=await((_0x5a4b35=this[_0x59dabb(0x35a)])==null?void 0x0:_0x5a4b35[_0x59dabb(0x12c)](_0x180b98));return _0x38a230&&(_0x38a230[_0x59dabb(0x169)]||_0x38a230['mutations'][_0x59dabb(0x182)]!==0x0)&&(_0x22d3c6=_0x38a230[_0x59dabb(0x229)]),_0x22d3c6===0x0&&this[_0x59dabb(0xde)][_0x59dabb(0x151)](_0x59dabb(0x10c),_0x59dabb(0x1ad)),this[_0x59dabb(0x277)](_0x180b98,_0xce54b1,_0x22d3c6);}};Ct=Yn([vt(0x0,_0x39af9e),vt(0x1,_0x41311f(_0x5ac07a)),vt(0x2,_0x3cf774(J))],Ct);var Kn=Object[_0x72bb68(0x159)],qn=(_0x36bbff,_0x520651,_0x201fec,_0x1ec4c5)=>{var _0x57c438=_0x72bb68;for(var _0x52e959=_0x1ec4c5>0x1?void 0x0:_0x1ec4c5?Kn(_0x520651,_0x201fec):_0x520651,_0x3453cf=_0x36bbff[_0x57c438(0x182)]-0x1,_0x36f19b;_0x3453cf>=0x0;_0x3453cf--)(_0x36f19b=_0x36bbff[_0x3453cf])&&(_0x52e959=_0x36f19b(_0x52e959)||_0x52e959);return _0x52e959;},pt=(_0x4884f,_0x974f94)=>(_0x5ce2a8,_0x3b69f4)=>_0x974f94(_0x5ce2a8,_0x3b69f4,_0x4884f);const zn=[_0x72bb68(0x2e8),'image/jpeg',_0x72bb68(0x371),_0x72bb68(0x253),_0x72bb68(0x1a4)],Jn=0x5*0x400*0x400,Xn=_0x72bb68(0x221),Zn=_0x72bb68(0x130),Qn=_0x72bb68(0xa1),er=_0x72bb68(0xe4);let Rt=class{constructor(_0x43b7a3,_0x3d345f,_0x36ca4c){var _0xdf31d6=_0x72bb68;N(this,_0xdf31d6(0xc6),0x0),N(this,_0xdf31d6(0xc7),new _0x29e22a()),N(this,_0xdf31d6(0x14c),this['_change$']),N(this,_0xdf31d6(0x198),new Map()),(this[_0xdf31d6(0x367)]=_0x43b7a3,this[_0xdf31d6(0x184)]=_0x3d345f,this[_0xdf31d6(0xf4)]=_0x36ca4c);}[_0x72bb68(0x2d5)](_0x42eb85){var _0x17f5aa=_0x72bb68;this['_waitCount']=_0x42eb85,this[_0x17f5aa(0xc7)][_0x17f5aa(0x173)](_0x42eb85);}[_0x72bb68(0x1b1)](_0x2d2c11,_0x40cfe3){var _0x3911ef=_0x72bb68;if(_0x40cfe3===_0x64dcf1[_0x3911ef(0x349)]){const _0x5be262=new Image();return _0x5be262[_0x3911ef(0x196)]=_0x2d2c11,_0x5be262;}return this[_0x3911ef(0x198)][_0x3911ef(0x283)](_0x2d2c11);}[_0x72bb68(0x232)](_0x38e797,_0x211285,_0x12fa36){var _0x41d7a0=_0x72bb68;_0x211285===_0x64dcf1['BASE64']||_0x12fa36==null||this[_0x41d7a0(0x198)]['set'](_0x38e797,_0x12fa36);}async['getImage'](_0x4fbb00){var _0x562d5c=_0x72bb68;try{const _0xce656f=this[_0x562d5c(0x2ec)](this[_0x562d5c(0x350)](),''+_0x4fbb00),_0x4a2ef6=(await this[_0x562d5c(0x367)][_0x562d5c(0x283)](_0xce656f))[_0x562d5c(0x29f)];if(_0x4a2ef6[_0x562d5c(0x32f)]&&_0x4a2ef6[_0x562d5c(0x32f)][_0x562d5c(0x365)]===pi['OK']){const _0xfcfb6d=new URL(_0x4a2ef6[_0x562d5c(0x2b9)],this[_0x562d5c(0x210)]())[_0x562d5c(0x167)]();return Promise[_0x562d5c(0x120)](_0xfcfb6d);}return Promise[_0x562d5c(0x281)](_0x4a2ef6[_0x562d5c(0x32f)]);}catch(_0x2d031c){return Promise['reject'](_0x2d031c);}}async[_0x72bb68(0x139)](_0x50e6c5){var _0x35c7c3=_0x72bb68;let _0x3462cf='';if(!zn[_0x35c7c3(0x13f)](_0x50e6c5['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x235bfe[_0x35c7c3(0x87)]));if(_0x50e6c5[_0x35c7c3(0x1ab)]>Jn)return this['_decreaseWaiting'](),Promise[_0x35c7c3(0x281)](new Error(_0x235bfe[_0x35c7c3(0x254)]));try{const _0x1c7cfb=new FormData();_0x1c7cfb['append'](_0x35c7c3(0x11a),_0x50e6c5);const _0x2f7bd7=this[_0x35c7c3(0xf4)][_0x35c7c3(0x15f)](),_0x4ab4f5=_0x2f7bd7==null?void 0x0:_0x2f7bd7[_0x35c7c3(0x2a0)]();if(!_0x4ab4f5)throw new Error('unitId\x20is\x20not\x20found');const _0x2db484=this[_0x35c7c3(0x222)]()+_0x35c7c3(0x16c)+_0x50e6c5[_0x35c7c3(0x1ab)][_0x35c7c3(0x167)]()+_0x35c7c3(0x29c)+mi[_0x35c7c3(0x33b)]+_0x35c7c3(0xa8)+encodeURIComponent(_0x4ab4f5),_0x2d9c1d={'body':_0x1c7cfb},_0x194fe0=(await this['_httpService'][_0x35c7c3(0x34f)](_0x2db484,_0x2d9c1d))[_0x35c7c3(0x29f)];if(typeof _0x194fe0[_0x35c7c3(0x21f)]!=_0x35c7c3(0x2bb))return this['_decreaseWaiting'](),Promise[_0x35c7c3(0x281)](new Error(_0x235bfe[_0x35c7c3(0x12f)]));_0x3462cf=_0x194fe0[_0x35c7c3(0x21f)];}catch{return this[_0x35c7c3(0x331)](),Promise['reject'](new Error(_0x235bfe[_0x35c7c3(0x12f)]));}return new Promise((_0xfa078f,_0x776860)=>{var _0x57a75c=_0x35c7c3;const _0xba9241=new FileReader();_0xba9241[_0x57a75c(0x362)](_0x50e6c5),_0xba9241['onload']=_0x1f3b6a=>{var _0x158e77=_0x57a75c,_0x9aca1;const _0x50f54e=(_0x9aca1=_0x1f3b6a[_0x158e77(0x278)])==null?void 0x0:_0x9aca1[_0x158e77(0x2c5)];if(_0x50f54e==null){this['_decreaseWaiting'](),_0x776860(new Error(_0x235bfe['ERROR_IMAGE']));return;}const _0x5d3b2a=_0x33b377['generateRandomId'](0x6);_0xfa078f({'imageId':_0x5d3b2a,'imageSourceType':_0x64dcf1[_0x158e77(0x19c)],'source':_0x3462cf,'base64Cache':_0x50f54e,'status':_0x235bfe[_0x158e77(0x213)]}),this[_0x158e77(0x331)]();};});}[_0x72bb68(0x222)](){var _0x56f7b4=_0x72bb68,_0x23e60c,_0x2aefde;const _0x23588f=this[_0x56f7b4(0x184)][_0x56f7b4(0x1e2)](Xn),_0x5227fe=this[_0x56f7b4(0x184)]['getConfig'](K);return(_0x2aefde=(_0x23e60c=_0x5227fe==null?void 0x0:_0x5227fe[_0x56f7b4(0x109)])!=null?_0x23e60c:_0x23588f)!=null?_0x2aefde:Zn;}[_0x72bb68(0x350)](){var _0x52071e=_0x72bb68,_0x58f4fb,_0x260bab;const _0x9922e2=this['_configService'][_0x52071e(0x1e2)](Qn),_0xc8b435=this[_0x52071e(0x184)]['getConfig'](K);return(_0x260bab=(_0x58f4fb=_0xc8b435==null?void 0x0:_0xc8b435[_0x52071e(0xda)])!=null?_0x58f4fb:_0x9922e2)!=null?_0x260bab:er;}['_getDownloadEndpointURL'](){var _0x52cce0=_0x72bb68,_0x5607b5;const _0x5ef2d6=this[_0x52cce0(0x184)][_0x52cce0(0x1e2)](K);return(_0x5607b5=_0x5ef2d6==null?void 0x0:_0x5ef2d6[_0x52cce0(0x1b3)])!=null?_0x5607b5:location[_0x52cce0(0x27c)];}['_replaceFileID'](_0x5940de,_0xbc8cb){return _0x5940de['replace']('{fileID}',_0xbc8cb);}[_0x72bb68(0x331)](){var _0x4cb98d=_0x72bb68;this['_waitCount']-=0x1,this[_0x4cb98d(0xc7)][_0x4cb98d(0x173)](this[_0x4cb98d(0xc6)]);}};Rt=qn([pt(0x0,_0x41311f(_0x4fe417)),pt(0x1,_0x19233d),pt(0x2,_0x41311f(_0x4aee63))],Rt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x1fe52a,_0x30954c,_0x5b045c,_0x2271ec)=>{var _0x1002d4=_0x72bb68;for(var _0x5dd8fe=_0x2271ec>0x1?void 0x0:_0x2271ec?tr(_0x30954c,_0x5b045c):_0x30954c,_0x2d3b43=_0x1fe52a[_0x1002d4(0x182)]-0x1,_0x4d3c25;_0x2d3b43>=0x0;_0x2d3b43--)(_0x4d3c25=_0x1fe52a[_0x2d3b43])&&(_0x5dd8fe=_0x4d3c25(_0x5dd8fe)||_0x5dd8fe);return _0x5dd8fe;},ai=(_0xfec77c,_0xb72b1c)=>(_0x462a8e,_0x7c2aa1)=>_0xb72b1c(_0x462a8e,_0x7c2aa1,_0xfec77c);const sr=_0x72bb68(0xf3);let bt=class{constructor(_0x209718,_0x53e079){var _0x1d9e1f=_0x72bb68;this[_0x1d9e1f(0x184)]=_0x209718,this['_HTTPService']=_0x53e079;}[_0x72bb68(0xc1)](){var _0x5558b6=_0x72bb68,_0x503eb0,_0x4ec2b2;const _0x56d8a2=this[_0x5558b6(0x184)][_0x5558b6(0x1e2)](bi),_0x140f6d=this[_0x5558b6(0x184)][_0x5558b6(0x1e2)](K);return(_0x4ec2b2=(_0x503eb0=_0x140f6d==null?void 0x0:_0x140f6d[_0x5558b6(0x32c)])!=null?_0x503eb0:_0x56d8a2)!=null?_0x4ec2b2:sr;}async[_0x72bb68(0x2b0)](_0x5af3cf){var _0x390a04=_0x72bb68;const _0xe9e74b=this[_0x390a04(0xc1)]()+_0x390a04(0x322);return{'list':[{'title':_0x390a04(0x197),'mentions':(await this[_0x390a04(0x31d)][_0x390a04(0x283)](_0xe9e74b,{'params':{'objectID':_0x5af3cf[_0x390a04(0x1c6)],'unitID':_0x5af3cf[_0x390a04(0x1c6)]}}))[_0x390a04(0x29f)][_0x390a04(0x25d)][_0x390a04(0x374)](_0x212f3b=>({'objectId':_0x212f3b['id'],'name':_0x212f3b[_0x390a04(0x282)][_0x390a04(0x144)],'metadata':{'icon':_0x212f3b[_0x390a04(0x282)][_0x390a04(0xb3)]},'label':_0x212f3b[_0x390a04(0x282)][_0x390a04(0x144)],'objectType':_0x3441e3[_0x390a04(0x2a6)]})),'metadata':{},'type':_0x3441e3[_0x390a04(0x2a6)]}]};}};bt=ir([ai(0x0,_0x41311f(_0x19233d)),ai(0x1,_0x41311f(_0x4fe417))],bt);var nr=Object[_0x72bb68(0x159)],rr=(_0x1b51e6,_0x449884,_0x20410f,_0x5723b7)=>{var _0x336c65=_0x72bb68;for(var _0x6f4d42=_0x5723b7>0x1?void 0x0:_0x5723b7?nr(_0x449884,_0x20410f):_0x449884,_0xf0465c=_0x1b51e6[_0x336c65(0x182)]-0x1,_0x2c7949;_0xf0465c>=0x0;_0xf0465c--)(_0x2c7949=_0x1b51e6[_0xf0465c])&&(_0x6f4d42=_0x2c7949(_0x6f4d42)||_0x6f4d42);return _0x6f4d42;},Ae=(_0x55d787,_0x5a4e19)=>(_0x3a5973,_0x213ab8)=>_0x5a4e19(_0x3a5973,_0x213ab8,_0x55d787);let ot=class extends _0x184f79{constructor(_0x48893a,_0x5d6582,_0x366d1e,_0x80a01,_0x28eb02){var _0x5172ff=_0x72bb68;super(),this[_0x5172ff(0x37c)]=_0x48893a,this['_univerInstanceService']=_0x5d6582,this[_0x5172ff(0x30c)]=_0x366d1e,this[_0x5172ff(0x28a)]=_0x80a01,this[_0x5172ff(0x37b)]=_0x28eb02,this[_0x5172ff(0x2f3)](),this[_0x5172ff(0x165)]();}[_0x72bb68(0x165)](){var _0x38e004=_0x72bb68;const _0x36ad31=async _0x532fad=>{var _0xea857e=_0x3e8b;(await this[_0xea857e(0x28a)][_0xea857e(0xbe)](_0x532fad))[_0xea857e(0x25e)][_0xea857e(0x2ea)](_0x3f4fbb(_0x1477ac=>_0x1477ac[_0xea857e(0x1ce)]===_0x528d02[_0xea857e(0x34e)]),_0x400782(this[_0xea857e(0x17a)]))['subscribe'](_0x3b5539=>{var _0x505670=_0xea857e;const _0x44c46c=_0x3b5539,{reason:_0x4a3ca8}=_0x44c46c[_0x505670(0x13c)];this[_0x505670(0x37b)][_0x505670(0x326)]({'id':ne['CLOSE_ROOM'],'data':_0x4a3ca8}),this[_0x505670(0x30c)][_0x505670(0x26f)](new _0x134095(_0x532fad)['id'],!0x1),this['_collaborationSessionService'][_0x505670(0xd4)](_0x532fad);});};_0x2cf726(this['_univerInstanceService'][_0x38e004(0x356)](_0x20b46e['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20b46e[_0x38e004(0x357)]))[_0x38e004(0x2ea)](_0x6504cb(_0x2be4d3=>_0x2be4d3[_0x38e004(0x2a0)]()),_0x3f4fbb(_0x13c8a2=>!_0x1d12f5(_0x13c8a2)),_0x400782(this['dispose$']))[_0x38e004(0x7d)](_0xa65e0=>{_0x36ad31(_0xa65e0);});}[_0x72bb68(0x2f3)](){var _0xfda54e=_0x72bb68;const _0x58683d=async _0x36f288=>{var _0x61fb13=_0x3e8b;const _0x204674=await this[_0x61fb13(0x28a)][_0x61fb13(0xbe)](_0x36f288),_0x2ea719=this[_0x61fb13(0x37c)]['get'](_0x4a4ce9);_0x204674[_0x61fb13(0x25e)][_0x61fb13(0x2ea)](_0x3f4fbb(_0x139737=>_0x139737['eventID']===_0x528d02[_0x61fb13(0x290)]),_0x400782(this['dispose$']))[_0x61fb13(0x7d)](_0x1e7571=>{var _0x395057=_0x61fb13;const _0x2a0c6a=_0x1e7571,{objectId:_0xe29da5}=_0x2a0c6a[_0x395057(0x13c)];_0xe29da5===_0x36f288?_0x2ea719[_0x395057(0x2e0)](_0x36f288):_0x2ea719[_0x395057(0x2a7)](_0x36f288,_0xe29da5);});};_0x2cf726(this[_0xfda54e(0xf4)][_0xfda54e(0x356)](_0x20b46e[_0xfda54e(0x9d)]))['pipe'](_0x6504cb(_0x158d57=>_0x158d57[_0xfda54e(0x2a0)]()),_0x3f4fbb(_0x56e78b=>!_0x1d12f5(_0x56e78b)),_0x400782(this['dispose$']))[_0xfda54e(0x7d)](_0x47f4aa=>{_0x58683d(_0x47f4aa);});}};ot=rr([Ae(0x0,_0x41311f(_0x4cac68)),Ae(0x1,_0x4aee63),Ae(0x2,_0x10fa9c),Ae(0x3,_0x41311f(Le)),Ae(0x4,_0x41311f(ve))],ot);var ar=Object[_0x72bb68(0x159)],or=(_0x1d686f,_0x36d079,_0x5e4963,_0x22c32c)=>{var _0x3462b5=_0x72bb68;for(var _0x4c0b08=_0x22c32c>0x1?void 0x0:_0x22c32c?ar(_0x36d079,_0x5e4963):_0x36d079,_0x3f5c1e=_0x1d686f[_0x3462b5(0x182)]-0x1,_0x2f357d;_0x3f5c1e>=0x0;_0x3f5c1e--)(_0x2f357d=_0x1d686f[_0x3f5c1e])&&(_0x4c0b08=_0x2f357d(_0x4c0b08)||_0x4c0b08);return _0x4c0b08;},oi=(_0x40d146,_0x328a99)=>(_0x2e4298,_0x7d603)=>_0x328a99(_0x2e4298,_0x7d603,_0x40d146);let Ot=class{constructor(_0x3710af,_0x4f45a7){var _0x2bf407=_0x72bb68;this['_configService']=_0x3710af,this[_0x2bf407(0x367)]=_0x4f45a7;}async['getUnitOnRev'](_0x3e1a83,_0x215eec){var _0x2de59b=_0x72bb68,_0x41f112;const {unitID:_0x52e328,type:_0x3db512,revision:_0x5b3425=0x0}=_0x215eec,_0x9fb0bf=this['getSnapshotAPIPath']()+'/'+_0x3db512+'/unit/'+_0x52e328+'/rev/'+_0x5b3425,_0x13d0b5=(await this[_0x2de59b(0x367)][_0x2de59b(0x283)](_0x9fb0bf))[_0x2de59b(0x29f)],_0x4a1bf8=(_0x41f112=_0x13d0b5[_0x2de59b(0x2db)])==null?void 0x0:_0x41f112[_0x2de59b(0x141)];if(_0x4a1bf8){const _0x5033af=_0x4a1bf8==null?void 0x0:_0x4a1bf8[_0x2de59b(0x36d)],_0x250dc0=_0x4eae49['encode'](_0x30f3bb(_0x5033af));_0x4a1bf8[_0x2de59b(0x36d)]=_0x250dc0,Object[_0x2de59b(0x333)](_0x4a1bf8['sheets'])[_0x2de59b(0x16a)](([,_0x1e045f])=>{var _0x408f26=_0x2de59b;const _0x547b9d=_0x1e045f['originalMeta'],_0x434fbd=_0x4eae49[_0x408f26(0x1f9)](_0x30f3bb(_0x547b9d));_0x1e045f[_0x408f26(0x36d)]=_0x434fbd;});}return _0x13d0b5;}async[_0x72bb68(0x105)](_0x5ad613,_0x5606ae){var _0x40d45e=_0x72bb68;const {unitID:_0x1f09e7,type:_0x4b4da2,blockID:_0x3ba641}=_0x5606ae,_0x114e5f=this[_0x40d45e(0x2d1)]()+'/'+_0x4b4da2+_0x40d45e(0x340)+_0x1f09e7+_0x40d45e(0x225)+_0x3ba641;return(await this[_0x40d45e(0x367)][_0x40d45e(0x283)](_0x114e5f))[_0x40d45e(0x29f)];}async[_0x72bb68(0x2ad)](_0x520ed1,_0x4ed089){var _0x1978ad=_0x72bb68;const {unitID:_0x2259cc,type:_0x27d692,blockID:_0x19c963}=_0x4ed089,_0x4385d7=this[_0x1978ad(0x2d1)]()+_0x1978ad(0x225)+_0x27d692+_0x1978ad(0x340)+_0x2259cc+_0x1978ad(0x225)+_0x19c963;return(await this[_0x1978ad(0x367)]['get'](_0x4385d7))[_0x1978ad(0x29f)];}async[_0x72bb68(0x2ba)](_0x10cd72,_0x29e8d9){var _0x1823d0=_0x72bb68;const {unitID:_0x485ed4,type:_0x535f1d,from:_0x324a48,to:_0x4bb7bd}=_0x29e8d9,_0x412e56=this[_0x1823d0(0x2d1)]()+'/'+_0x535f1d+_0x1823d0(0x340)+_0x485ed4+_0x1823d0(0x158)+_0x324a48+_0x1823d0(0x2d4)+_0x4bb7bd;return(await this['_httpService'][_0x1823d0(0x283)](_0x412e56))[_0x1823d0(0x29f)];}[_0x72bb68(0x2e1)](){var _0x229a02=_0x72bb68,_0x285dbe;return(_0x285dbe=this[_0x229a02(0x184)][_0x229a02(0x1e2)](ps))!=null?_0x285dbe:this[_0x229a02(0x2d1)]();}[_0x72bb68(0x2d1)](){var _0x305ae3=_0x72bb68,_0xa8102f,_0x173669;const _0x54c3d8=this[_0x305ae3(0x184)][_0x305ae3(0x1e2)](fs),_0xb28481=this['_configService']['getConfig'](K);return(_0x173669=(_0xa8102f=_0xb28481==null?void 0x0:_0xb28481[_0x305ae3(0xd6)])!=null?_0xa8102f:_0x54c3d8)!=null?_0x173669:vs;}async[_0x72bb68(0x1f0)](_0x3eec39,_0x1b8b59){var _0x136928=_0x72bb68;const _0x58cc69='/universer-api/snapshot/'+_0x1b8b59['type']+'/unit/'+_0x1b8b59[_0x136928(0x211)]+_0x136928(0x2c7);return(await this[_0x136928(0x367)][_0x136928(0x283)](_0x58cc69,{'params':{'resourceId':JSON[_0x136928(0x384)](_0x1b8b59[_0x136928(0x1db)])}}))[_0x136928(0x29f)];}[_0x72bb68(0x27e)](){var _0x5bccdd=_0x72bb68;throw new Error(_0x5bccdd(0x93));}[_0x72bb68(0x37f)](){var _0x47db80=_0x72bb68;throw new Error(_0x47db80(0x93));}['saveSheetBlock'](){var _0x12ec90=_0x72bb68;throw new Error(_0x12ec90(0x93));}[_0x72bb68(0x18f)](){var _0xd2a74e=_0x72bb68;throw new Error(_0xd2a74e(0x93));}[_0x72bb68(0xff)](){var _0x2d5a3b=_0x72bb68;throw new Error(_0x2d5a3b(0x93));}[_0x72bb68(0x343)](){var _0x2c298c=_0x72bb68;throw new Error(_0x2c298c(0x93));}};Ot=or([oi(0x0,_0x19233d),oi(0x1,_0x41311f(_0x4fe417))],Ot);var cr=Object[_0x72bb68(0x159)],hr=(_0x1dda40,_0x1d6e63,_0x67c62f,_0x35e3a3)=>{for(var _0x3d54ab=_0x35e3a3>0x1?void 0x0:_0x35e3a3?cr(_0x1d6e63,_0x67c62f):_0x1d6e63,_0x2d73c7=_0x1dda40['length']-0x1,_0x53e669;_0x2d73c7>=0x0;_0x2d73c7--)(_0x53e669=_0x1dda40[_0x2d73c7])&&(_0x3d54ab=_0x53e669(_0x3d54ab)||_0x3d54ab);return _0x3d54ab;},we=(_0x1b93de,_0x106c9d)=>(_0x1747d6,_0x87d57f)=>_0x106c9d(_0x1747d6,_0x87d57f,_0x1b93de);let yt=class extends _0x5b5dbe{constructor(_0x1b0a5f,_0x54c1b7,_0x196fd8,_0x455ece,_0x3f90f0){var _0x3051e7=_0x72bb68;super(_0x1b0a5f,_0x54c1b7,_0x196fd8),this[_0x3051e7(0x23a)]=_0x455ece,this[_0x3051e7(0xde)]=_0x3f90f0;}[_0x72bb68(0x83)](_0x33033b,_0xbb7699){var _0x316c4f=_0x72bb68;const _0x1f8202=this[_0x316c4f(0x25c)](_0x33033b);if(_0x1f8202)try{const _0x5556e2=this[_0x316c4f(0x137)](_0x1f8202,_0xbb7699);this['_substituteUndoStack'](_0x33033b,_0x5556e2);}catch(_0x48e4da){this[_0x316c4f(0xde)]['error'](_0x316c4f(0xbf),_0x48e4da),this['_clearUndo'](_0x33033b);}const _0x5639d3=this[_0x316c4f(0x241)](_0x33033b);if(_0x5639d3)try{const _0x5590b7=this[_0x316c4f(0x137)](_0x5639d3,_0xbb7699);this['_substituteRedoStack'](_0x33033b,_0x5590b7);}catch(_0x2b1672){this[_0x316c4f(0xde)][_0x316c4f(0x32f)](_0x2b1672),this[_0x316c4f(0x35d)](_0x33033b);}}[_0x72bb68(0xd7)](_0x4bde36){var _0x24c768=_0x72bb68;const _0x421117=this[_0x24c768(0x25c)](_0x4bde36);_0x421117&&(_0x421117[_0x24c768(0x182)]=0x0,this[_0x24c768(0x189)]());}['_clearRedo'](_0x1b2c15){var _0xb028b8=_0x72bb68;const _0x55cfe2=this[_0xb028b8(0x241)](_0x1b2c15);_0x55cfe2&&(_0x55cfe2['length']=0x0,this[_0xb028b8(0x189)]());}[_0x72bb68(0x2ae)](_0x1f5aa9,_0x3097c8){var _0x4614a3=_0x72bb68;this[_0x4614a3(0xd8)][_0x4614a3(0x1c2)](_0x1f5aa9,_0x3097c8),this[_0x4614a3(0x189)]();}[_0x72bb68(0x192)](_0x236006,_0x2ac3d4){var _0x2a73e5=_0x72bb68;this[_0x2a73e5(0x261)][_0x2a73e5(0x1c2)](_0x236006,_0x2ac3d4),this['_updateStatus']();}[_0x72bb68(0x137)](_0x443494,_0x19f593){var _0x577091=_0x72bb68;const _0x3f5229=[];let _0x576f0f=_0x19f593,_0x10813c=_0x19f593;for(let _0x348959=_0x443494[_0x577091(0x182)]-0x1;_0x348959>=0x0;_0x348959--){const {unitID:_0x280bcf,undoMutations:_0x5b8acf,redoMutations:_0x29d863}=_0x443494[_0x348959],_0x2026ef=this['_transformService']['transformMutationsWithChangeset'](_0x576f0f,_0x5b8acf),_0x4c2e06=this['_transformService'][_0x577091(0x16f)](_0x10813c,_0x29d863);if(_0x162bf7(_0x2026ef)||_0x162bf7(_0x4c2e06)){this[_0x577091(0xde)][_0x577091(0x32f)]('[CollaborationUndoRedoService]',_0x577091(0x266),_0x2026ef,_0x4c2e06);break;}_0x576f0f=_0x2026ef[_0x577091(0xf2)],_0x10813c=_0x4c2e06[_0x577091(0xf2)],_0x3f5229[_0x577091(0xe7)]({'unitID':_0x280bcf,'undoMutations':_0x2026ef[_0x577091(0x1df)],'redoMutations':_0x4c2e06[_0x577091(0x1df)]});}return _0x3f5229[_0x577091(0x1d3)]();}};yt=hr([we(0x0,_0x4aee63),we(0x1,_0xe29ee9),we(0x2,_0x27aafd),we(0x3,_0x13d105),we(0x4,_0x39af9e)],yt);var _r=Object['defineProperty'],lr=Object[_0x72bb68(0x159)],ur=(_0x5870e3,_0x1bbf51,_0x5e50a4)=>_0x1bbf51 in _0x5870e3?_r(_0x5870e3,_0x1bbf51,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e50a4}):_0x5870e3[_0x1bbf51]=_0x5e50a4,dr=(_0x3e0b6b,_0xc31c7c,_0x4f132c,_0xd5d430)=>{var _0x50f905=_0x72bb68;for(var _0x26ea1e=_0xd5d430>0x1?void 0x0:_0xd5d430?lr(_0xc31c7c,_0x4f132c):_0xc31c7c,_0x144428=_0x3e0b6b[_0x50f905(0x182)]-0x1,_0x4cb2c4;_0x144428>=0x0;_0x144428--)(_0x4cb2c4=_0x3e0b6b[_0x144428])&&(_0x26ea1e=_0x4cb2c4(_0x26ea1e)||_0x26ea1e);return _0x26ea1e;},mt=(_0x20ce02,_0x30b7ec)=>(_0x58a30e,_0x1c9a15)=>_0x30b7ec(_0x58a30e,_0x1c9a15,_0x20ce02),fr=(_0x549561,_0x480a32,_0x21f8af)=>ur(_0x549561,_0x480a32+'',_0x21f8af);const vr=_0x72bb68(0x218);let Nt=class extends _0x71670f{constructor(_0x183a74,_0x36c42c,_0x5183ab,_0x26fd9c){var _0x11c65b=_0x72bb68;super(),N(this,'_config'),(this[_0x11c65b(0xde)]=_0x36c42c,this[_0x11c65b(0x37c)]=_0x5183ab,this['_configService']=_0x26fd9c);const {..._0x41d188}=_0x262291({},Ds,_0x183a74);if(!_0x41d188[_0x11c65b(0x129)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x11c65b(0x2e4)]=_0x41d188,this[_0x11c65b(0x184)]['setConfig'](K,_0x41d188);}['onStarting'](){var _0x6a3f50=_0x72bb68;this[_0x6a3f50(0x9c)](),this['_initDependencies']();}[_0x72bb68(0x9c)](){var _0x5377e0=_0x72bb68,_0x469f10,_0x39a023;this[_0x5377e0(0x37c)][_0x5377e0(0xc9)](_0x1032f6)&&this[_0x5377e0(0xde)]['error'](_0x5377e0(0x172),_0x5377e0(0x2a4));const _0xa81583=_0x3bbf66([[_0x1032f6,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x5377e0(0x2e4)][_0x5377e0(0x129)]}],[_0x58f01b,{'useClass':Ot}],[_0x443b62,{'useClass':Tt}],[_0x47bf4f,{'useClass':Rt}],[_0x1a925e,{'useClass':bt}],[nt],[It]],(_0x469f10=this[_0x5377e0(0x2e4)])==null?void 0x0:_0x469f10['override']);if(!((_0x39a023=this[_0x5377e0(0x2e4)])!=null&&_0x39a023[_0x5377e0(0x183)])){const _0x1e4531=_0xa81583[_0x5377e0(0x323)](([_0xc4c699])=>_0xc4c699===ht);_0x1e4531!==-0x1&&_0xa81583[_0x5377e0(0xd5)](_0x1e4531,0x1);}_0x21f56c(this['_injector'],_0xa81583);}[_0x72bb68(0x17e)](){var _0x5cce9f=_0x72bb68,_0x210cc9,_0x2660fd,_0x5ea1be;this[_0x5cce9f(0x37c)][_0x5cce9f(0x283)](_0x4fe417)[_0x5cce9f(0x147)]({'priority':0x14,'interceptor':_0x46408f({'maxParallel':0x6})}),(_0x210cc9=this['_config'])!=null&&_0x210cc9[_0x5cce9f(0x249)]||(_0x2660fd=this[_0x5cce9f(0x37c)][_0x5cce9f(0x283)](J,_0x1a5943[_0x5cce9f(0x35c)]))==null||_0x2660fd['disableLocalCache'](),(_0x5ea1be=this[_0x5cce9f(0x2e4)])!=null&&_0x5ea1be[_0x5cce9f(0x2a9)]&&_0x4a48db(this[_0x5cce9f(0x37c)],[[rt]]),_0x4a48db(this[_0x5cce9f(0x37c)],[[at],[nt],[ot]]);}};fr(Nt,_0x72bb68(0x29e),vr),Nt=dr([_0x4e7c3d(_0x43fd45,_0x21ec6a),mt(0x1,_0x39af9e),mt(0x2,_0x41311f(_0x4cac68)),mt(0x3,_0x19233d)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs 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,bt 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,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};