@univerjs-pro/collaboration-client 0.8.0-nightly.202506041607 → 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/index.js CHANGED
@@ -1 +1 @@
1
- var _0x4d9803=_0x15b0;(function(_0x1b8991,_0x5efd6b){var _0x3b66f3=_0x15b0,_0xb460d=_0x1b8991();while(!![]){try{var _0xfea4c5=parseInt(_0x3b66f3(0x3d5))/0x1*(parseInt(_0x3b66f3(0xf6))/0x2)+parseInt(_0x3b66f3(0x32f))/0x3+-parseInt(_0x3b66f3(0x132))/0x4+parseInt(_0x3b66f3(0x152))/0x5*(-parseInt(_0x3b66f3(0x324))/0x6)+parseInt(_0x3b66f3(0x261))/0x7+parseInt(_0x3b66f3(0x219))/0x8*(parseInt(_0x3b66f3(0x36d))/0x9)+-parseInt(_0x3b66f3(0xe1))/0xa;if(_0xfea4c5===_0x5efd6b)break;else _0xb460d['push'](_0xb460d['shift']());}catch(_0x3c1501){_0xb460d['push'](_0xb460d['shift']());}}}(_0x3e02,0x5aa15));var Di=Object[_0x4d9803(0x10c)],Ui=(_0x260b90,_0x4e7856,_0x5f16d9)=>_0x4e7856 in _0x260b90?Di(_0x260b90,_0x4e7856,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f16d9}):_0x260b90[_0x4e7856]=_0x5f16d9,N=(_0xef8f35,_0x3b0065,_0x332904)=>Ui(_0xef8f35,typeof _0x3b0065!=_0x4d9803(0x1e8)?_0x3b0065+'':_0x3b0065,_0x332904);import{createIdentifier as _0x3ba04f,Inject as _0x26a7b2,Injector as _0xac2571,IConfigService as _0xd6fe56,ILogService as _0x5e0032,Disposable as _0xe2b65c,DisposableCollection as _0x4de8bc,toDisposable as _0x40d965,IUniverInstanceService as _0x3220f3,UserManagerService as _0x4fb9da,UniverInstanceType as _0x4742de,LocaleService as _0x2e4b8f,Optional as _0x426036,RxDisposable as _0x2811ce,Tools as _0x2325fa,Rectangle as _0x5edc8c,ICommandService as _0x4295e4,JSONX as _0x574d17,CommandType as _0x32811a,IUndoRedoService as _0x4f0e5c,IPermissionService as _0x194f04,sequenceExecute as _0x196957,Workbook as _0x30292a,MentionType as _0x132304,isInternalEditorID as _0x2fe1dd,LocalUndoRedoService as _0x142fe6,IContextService as _0x127811,DependentOn as _0x102237,Plugin as _0x31f3ca,merge as _0x286db6,mergeOverrideWithDependencies as _0x4c04a6,IAuthzIoService as _0x3f1267,IMentionIOService as _0x39791e,registerDependencies as _0x530822,Quantity as _0x317b80,touchDependencies as _0xa9512c}from'@univerjs/core';import{Subject as _0x37913a,merge as _0x515759,of as _0x540c1b,BehaviorSubject as _0x48224c,takeUntil as _0x3d6795,ReplaySubject as _0x297fd2,take as _0x2474d8,map as _0x1e40a6,shareReplay as _0xa0608b,firstValueFrom as _0x2c1156,concatMap as _0x441691}from'rxjs';import{map as _0x4c9cb8,take as _0x224d36,filter as _0x5a308f,delay as _0x2187d4,takeUntil as _0x66de9f}from'rxjs/operators';import{CollaborationEvent as _0x363164,ISnapshotServerService as _0x3e4794,parseChangesetToProtocol as _0x31a883,ITransformService as _0x2053d4,isTransformMutationsWithChangesetSuccess as _0x466df9,mapDocumentTypeToUniverType as _0x45d9f6,RevisionService as _0x194843,isTransformChangesetsSuccess as _0x25c1e9,CompressMutationService as _0x1eb892,parseProtocolChangeset as _0x1a5180,uuidv4 as _0x25c7b8,SnapshotService as _0x6321d6,textEncoder as _0x598c79,b64DecodeUnicode as _0x3c3332,isTransformMutationsWithChangesetFailure as _0x4c0a6b,UniverCollaborationPlugin as _0x4336b4}from'@univerjs-pro/collaboration';import{HTTPService as _0x407237,ISocketService as _0x5cd08d,MergeInterceptorFactory as _0xbc831,HTTPRequest as _0x5b3626,UniverNetworkPlugin as _0x5e41ad,ThresholdInterceptorFactory as _0x4f9674}from'@univerjs/network';import{ITelemetryService as _0x1f51d7}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x59d9a6}from'@univerjs/docs';import{SheetsSelectionsService as _0x1f7dad,SetSelectionsOperation as _0x2851c7,InsertSheetMutation as _0x2d3b6f,EmptyMutation as _0x3b4119,WorkbookEditablePermission as _0xec4272,SheetPermissionInitController as _0x15c1ad}from'@univerjs/sheets';import{ImageSourceType as _0x2d0ebc,ImageUploadStatusType as _0x8c8180,IImageIoService as _0xd7b418}from'@univerjs/drawing';import{getGlobalObject as _0x245b45}from'@univerjs-pro/license';const fs=_0x4d9803(0x342),vs=_0x4d9803(0x1aa),ps=_0x4d9803(0x35b),yr=_0x4d9803(0x2e3),ms=0x7d0,gs=_0x4d9803(0x15c),Ss=_0x4d9803(0x3c1),Nr=_0x4d9803(0x1a3),Es=_0x4d9803(0x3d6),Is=0x7530,fi=_0x4d9803(0x206),vi=0x4e20,Ts=0x4e20,Cs='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Dr='LOCAL_CACHE_INTERVAL',Ur=0x3e8,bs='COLLAB_SUBMIT_CHANGESET_URL',Os='/universer-api/comb',ys=_0x4d9803(0x113),Ns='/universer-api/oidc/authpage',Ar=_0x4d9803(0x194),wr=_0x4d9803(0x136);var pi=(_0x30b2b1=>(_0x30b2b1[_0x30b2b1[_0x4d9803(0x24f)]=0x0]=_0x4d9803(0x24f),_0x30b2b1[_0x30b2b1['OK']=0x1]='OK',_0x30b2b1[_0x30b2b1[_0x4d9803(0x1e9)]=0x2]=_0x4d9803(0x1e9),_0x30b2b1[_0x30b2b1[_0x4d9803(0x3cb)]=0x3]=_0x4d9803(0x3cb),_0x30b2b1[_0x30b2b1['NOT_FOUND']=0x4]=_0x4d9803(0x188),_0x30b2b1[_0x30b2b1['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x30b2b1[_0x30b2b1['ALREADY_EXISTS']=0x6]=_0x4d9803(0x358),_0x30b2b1[_0x30b2b1[_0x4d9803(0x1bf)]=0x7]='INVALID_ARGUMENT',_0x30b2b1[_0x30b2b1['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x30b2b1[_0x30b2b1['COMPLETION_FINISHED']=0x9]=_0x4d9803(0x134),_0x30b2b1[_0x30b2b1[_0x4d9803(0x173)]=0xa]=_0x4d9803(0x173),_0x30b2b1[_0x30b2b1['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4d9803(0x2c8),_0x30b2b1[_0x30b2b1[_0x4d9803(0xe2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x30b2b1[_0x30b2b1[_0x4d9803(0x1b7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x30b2b1[_0x30b2b1[_0x4d9803(0x2d3)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x30b2b1[_0x30b2b1[_0x4d9803(0x182)]=0x1b59]=_0x4d9803(0x182),_0x30b2b1[_0x30b2b1['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4d9803(0x379),_0x30b2b1[_0x30b2b1[_0x4d9803(0x2e8)]=0x1b5b]=_0x4d9803(0x2e8),_0x30b2b1[_0x30b2b1['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x30b2b1[_0x30b2b1[_0x4d9803(0x2f0)]=0x1b5d]=_0x4d9803(0x2f0),_0x30b2b1[_0x30b2b1[_0x4d9803(0x36a)]=0x1f41]=_0x4d9803(0x36a),_0x30b2b1[_0x30b2b1[_0x4d9803(0x1d8)]=0x2329]=_0x4d9803(0x1d8),_0x30b2b1[_0x30b2b1[_0x4d9803(0x118)]=0x232a]=_0x4d9803(0x118),_0x30b2b1[_0x30b2b1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4d9803(0x38d),_0x30b2b1[_0x30b2b1[_0x4d9803(0x34a)]=0x232c]=_0x4d9803(0x34a),_0x30b2b1[_0x30b2b1[_0x4d9803(0x2f2)]=0x232d]=_0x4d9803(0x2f2),_0x30b2b1[_0x30b2b1[_0x4d9803(0x278)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x30b2b1[_0x30b2b1['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4d9803(0x3cf),_0x30b2b1[_0x30b2b1['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4d9803(0xc6),_0x30b2b1[_0x30b2b1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x30b2b1[_0x30b2b1[_0x4d9803(0x25e)]=0x271a]=_0x4d9803(0x25e),_0x30b2b1[_0x30b2b1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4d9803(0x1cb),_0x30b2b1[_0x30b2b1[_0x4d9803(0x351)]=0x271c]=_0x4d9803(0x351),_0x30b2b1[_0x30b2b1[_0x4d9803(0x291)]=0x271d]=_0x4d9803(0x291),_0x30b2b1[_0x30b2b1['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4d9803(0x2cf),_0x30b2b1[_0x30b2b1[_0x4d9803(0x256)]=0x271f]=_0x4d9803(0x256),_0x30b2b1[_0x30b2b1[_0x4d9803(0x21a)]=0x2af9]=_0x4d9803(0x21a),_0x30b2b1[_0x30b2b1[_0x4d9803(0x236)]=0x2ee1]=_0x4d9803(0x236),_0x30b2b1[_0x30b2b1[_0x4d9803(0x2f9)]=0x2ee2]='INVALID_INVITE_CODE',_0x30b2b1[_0x30b2b1[_0x4d9803(0xce)]=0x2ee3]=_0x4d9803(0xce),_0x30b2b1[_0x30b2b1[_0x4d9803(0x16e)]=0x2ee4]=_0x4d9803(0x16e),_0x30b2b1[_0x30b2b1['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4d9803(0x15f),_0x30b2b1[_0x30b2b1[_0x4d9803(0xda)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x30b2b1[_0x30b2b1[_0x4d9803(0x2f1)]=0x32ca]=_0x4d9803(0x2f1),_0x30b2b1[_0x30b2b1[_0x4d9803(0x3dd)]=0x32cb]=_0x4d9803(0x3dd),_0x30b2b1[_0x30b2b1[_0x4d9803(0xfc)]=-0x1]='UNRECOGNIZED',_0x30b2b1))(pi||{}),Z=(_0x1bb219=>(_0x1bb219[_0x1bb219[_0x4d9803(0x3a1)]=0x0]='UNIVER_UNKNOWN',_0x1bb219[_0x1bb219['UNIVER_DOC']=0x1]=_0x4d9803(0x34f),_0x1bb219[_0x1bb219[_0x4d9803(0x336)]=0x2]=_0x4d9803(0x336),_0x1bb219[_0x1bb219[_0x4d9803(0x28d)]=0x3]=_0x4d9803(0x28d),_0x1bb219[_0x1bb219[_0x4d9803(0x1cd)]=0x4]='UNIVER_PROJECT',_0x1bb219[_0x1bb219[_0x4d9803(0xfc)]=-0x1]=_0x4d9803(0xfc),_0x1bb219))(Z||{}),F=(_0x26a1f1=>(_0x26a1f1[_0x26a1f1[_0x4d9803(0x3d8)]=0x0]='UNKNOWN_CMD',_0x26a1f1[_0x26a1f1['HELLO']=0x1]=_0x4d9803(0x19d),_0x26a1f1[_0x26a1f1[_0x4d9803(0x3cc)]=0x2]=_0x4d9803(0x3cc),_0x26a1f1[_0x26a1f1['LEAVE']=0x3]=_0x4d9803(0x22f),_0x26a1f1[_0x26a1f1[_0x4d9803(0x35c)]=0x4]=_0x4d9803(0x35c),_0x26a1f1[_0x26a1f1[_0x4d9803(0x3b9)]=0x5]=_0x4d9803(0x3b9),_0x26a1f1[_0x26a1f1['RECV']=0x6]=_0x4d9803(0x372),_0x26a1f1[_0x26a1f1[_0x4d9803(0xfc)]=-0x1]=_0x4d9803(0xfc),_0x26a1f1))(F||{}),me=(_0x4e2015=>(_0x4e2015[_0x4e2015[_0x4d9803(0x224)]=0x0]=_0x4d9803(0x224),_0x4e2015[_0x4e2015['OK']=0x1]='OK',_0x4e2015[_0x4e2015[_0x4d9803(0x1e2)]=0x2]='FAIL',_0x4e2015[_0x4e2015[_0x4d9803(0x36c)]=0x3e9]=_0x4d9803(0x36c),_0x4e2015[_0x4e2015['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x4d9803(0x147),_0x4e2015[_0x4e2015[_0x4d9803(0x101)]=0x3eb]=_0x4d9803(0x101),_0x4e2015[_0x4e2015[_0x4d9803(0x1bd)]=0x3ec]=_0x4d9803(0x1bd),_0x4e2015[_0x4e2015['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4e2015))(me||{}),mi=(_0x4ef2ca=>(_0x4ef2ca[_0x4ef2ca[_0x4d9803(0x239)]=0x0]='Undefined',_0x4ef2ca[_0x4ef2ca[_0x4d9803(0x391)]=0x1]=_0x4d9803(0x391),_0x4ef2ca[_0x4ef2ca[_0x4d9803(0x246)]=0x2]='HttpExport',_0x4ef2ca[_0x4ef2ca[_0x4d9803(0xca)]=0x3]=_0x4d9803(0xca),_0x4ef2ca[_0x4ef2ca[_0x4d9803(0x277)]=0x4]=_0x4d9803(0x277),_0x4ef2ca[_0x4ef2ca[_0x4d9803(0x178)]=0x5]='UserProfileImg',_0x4ef2ca[_0x4ef2ca[_0x4d9803(0xfc)]=-0x1]=_0x4d9803(0xfc),_0x4ef2ca))(mi||{});const K=_0x4d9803(0x386),Ds={};var ne=(_0x4290ac=>(_0x4290ac[_0x4d9803(0x1c4)]=_0x4d9803(0x1c4),_0x4290ac['PERMISSION_DENIED']=_0x4d9803(0x3cb),_0x4290ac['CONFLICT']=_0x4d9803(0xf0),_0x4290ac[_0x4d9803(0x3c5)]=_0x4d9803(0x3c5),_0x4290ac[_0x4d9803(0x176)]=_0x4d9803(0x176),_0x4290ac['SOCKET_FAILED_RETRY']=_0x4d9803(0x22d),_0x4290ac['SOCKET_FAILED']=_0x4d9803(0x3ba),_0x4290ac['SUBMIT_CHANGESET_TIMEOUT']=_0x4d9803(0xe8),_0x4290ac))(ne||{});class ve{constructor(){var _0x937316=_0x4d9803;N(this,'_event$',new _0x37913a()),N(this,_0x937316(0x37a),this[_0x937316(0x202)][_0x937316(0x2bd)]());}[_0x4d9803(0x2cc)](_0x39af04){var _0x7ecdd4=_0x4d9803;this[_0x7ecdd4(0x202)]['next'](_0x39af04);}}const Us=_0x3ba04f(_0x4d9803(0x3b1));function _0x3e02(){var _0x1e3431=['[PendingState]:\x20received\x20acknowledgement.','Cipher','length','[SyncedState]:\x20received\x20rejection.','_localeService','resourceIDs','awaitingChangeset','_userManagerService','dispose$','randomBytes','appendMutation','_logService','reduce','[UniverCollaborationClientPlugin]','onStarting','BufferedBlockAlgorithm','univer-pro.collaboration-client-socket-service','fetchThroughInterceptors','_getSendChangesetTimeout','Failed\x20to\x20update\x20permission\x20point','6vxreCx','_candidateSocket','now','close','uniscriptRunEvent','_onRemoteRejected','hasher','socket\x20open.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_type','then','2085399lYSPlK','listRoles','_joinRoom','src','getCollabEntity','withCredentials','_emitMembers','UNIVER_SHEET','univer-pro.collaboration-client.single-active-unit-service','complete','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','editingUnit','key','unitId\x20is\x20not\x20found','_configService','_nRounds','name','saveImage','/fetchmissing?from=','SNAPSHOT_SERVER_URL_KEY','enableSingleActiveInstanceLock','isPermissionRej','HmacMD5','_removeRoom','unitID','/-/object/list','WordArray','LICENSE_EXPORT_SIZE_EXCEEDED','_collaborationSessionService','disposeWithMe','/resources','_socketReady','UNIVER_DOC','send','YUUMI_TABLE_NOT_FOUND_IN_UNIT','method','COMPRESS_MUTATION_SEND','_initDependencies','blockSize','setWaitCount','reconnect','ALREADY_EXISTS','session.room-permission-denied','get','SNAPSHOT_URL_KEY','INGEST','disableLocalCache','url','body','enableOfflineEditing','max','isArray','_invKeySchedule','csRejEvent','action','init','synced','entries','_data','CONNECTOR_DATA_TOO_LARGE','save\x20fail\x20reason\x20is\x20','JOIN_ROOM_FULL','357741YLAMcv','USERS_LEAVE','_members$','initWorkbookPermissionChange','_disableEditing','RECV','random','socket$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','type','sid','transformStack\x20failed!','APPLY_NON_SEQUENTIAL_REVISION','event$','_toggleOffline','_snapshotServerService','createEncryptor','encrypt','/allowed','_sendingTimer','_executeRemoteChangeset','_reverseMap','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','cmd','_throwTelemetryCollaborationNewChangeset','collaboration-client.config','_compressMutationService','SUCCUSS','_key','catch','execute','_socket$','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','transformChangesets','_checkMissing','HttpImport','charAt','_entityInit$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','UPDATE_PERMISSION_OBJ','executeCommand','capture','sessionStatus$','[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.','USERS_ENTER','headers','_incrementRevisionNumber','Univer','getTypeOfUnitDisposed$','addImageSourceCache','slice','UNIVER_UNKNOWN','_telemetryInfo','delete','_redoStacks','waitForRoom$','getCurrentUser','keySize','decrypt','\x0aCurrent:\x20','params','updateSnapshot','function','&assign=','_doCryptBlock','AES','objectType','univer-pro.collaboration-client.network-condition.service','_append','DEFAULT_FILE_NAME','\x20to\x20','onlyLocal','setConfig','_roomMembers','_onMessage','HEARTBEAT','SOCKET_FAILED','requireSession','onSendChangeset','FETCH_MISSING','revision','subUnitId','_onCombEvent','ws://127.0.0.1:8000/universer-api/comb/connect','_sender','OPTIONAL','_createHelper','CLOSE_ROOM','_onConflict','_nDataBytes','SerializableCipher','_resendWithTimeout','_doFinalize','PERMISSION_DENIED','JOIN','patch','from','YUUMI_URL_COL_OUT_OF_RANGE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearScheduledTask','_replayCachedMutations','_socketService','reqId','1wnjWaj','HEARTBEAT_INTERVAL','/unit/','UNKNOWN_CMD','Decryptor','getUnitStatus$','every','string','EMAIL_HAS_BEEN_BOUND','MSG_FOR_ERROR','ivSize','unsubscribe','uploadFileServerUrl','lib','interceptor','getCurrentSelections','_hash','YUUMI_RATE_OVER_LIMIT','session.room-not-exists','_httpService','_stopTelemetryCollaborationNewChangeset','UnitEmbedded','getActiveSheet','parse','decryptBlock','INVITE_CODE_REQUIRED','authzUrl','find','_getLoginPath','_memberService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','call','_onOffline','message$','_instanceService','_getAPIPrefixPath','getUnit','WECHAT_HAS_BEEN_BOUND','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','deepClone','pipe','substr','put','SUBMIT_CHANGESET','9456570OlUBxH','SNAPSHOT_INVALID_SNAPSHOT','PERSON','_syncEditingCollabCursor','mutations','_waitForHeartbeatResponse','forEach','SUBMIT_CHANGESET_TIMEOUT','OpenSSL','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_minBufferSize','equals','_registerDependencies','onRemoteRetry','createSocket','CONFLICT','abs','_xformMode','getLatestCsReqIdBySid','_updateStatus','OTHER_CLIENTS_EDITING','1242058trGcqB','reject','fetch_missing','updateMember','\x20in\x20_schedule.','EvpKDF','UNRECOGNIZED','leaveEvent','PasswordBasedCipher','_acknowledgedAwaitingChangeset','_process','JOIN_ROOM_PERMISSION_DENIED','_listenToNetworkCondition','session','userID','onRemoteRej','getOwnPropertyDescriptor','_entities','_onJoinRoomEvent','transformUndoRedo','_createInitialStateImpl','session.room-full','defineProperty','list','dispose','[CollaborationSessionService]','_rescheduleHeartbeat','originalMeta','listCollaborators','LOGIN_URL_KEY','_state$','set','_showConflictNotification','/block/','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','pending','[OfflineState]:\x20received\x20changeset.','workbook','_singleActiveUnitService','collaMsg','getWorkbookSelections','byteOffset','deleteCollaborator','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','enableCollaboration','algo','_updateLocalCache','loadUnitOfRevision','state','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_shouldReportTelemetry','indexOf','_collaborationUIEventService','_transformSelections','_prevBlock','_timeoutTimer','{fileID}','getCollabEntity$','mixIn','encode','282536cMIxpF','/-/object/-/batch_allowed','COMPLETION_FINISHED','format','/universer-api/uniscript','next','_socket','_getDownloadEndpointURL','Malformed\x20UTF-8\x20data','ONLINE','_resendTimeout','enableAuthServer','shouldCloseConn','IDLE','getUnitId','onSyncEditingCollabCursor','Base','CHANGESET_ACK','onStateChange','[CollaborationSessionService]:\x20socket\x20error','_collabSessionService','JOIN_ROOM_NOT_EXISTS','href','ERROR_IMAGE_TYPE','Error\x20on\x20receiving\x20event','_imageSourceCache','/universer-api/stream/file/upload','_toggleOnline','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_getSignURL','c2Prime','_sendHeartbeatTimer','1395910oOroty','error','roles','status','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','PERMISSION_REJ','Could\x20not\x20dynamically\x20require\x20\x22','_snapshotService','_iKey','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','COLLAB_WEB_SOCKET_URL','onload','routeKey','INVITE_CODE_ALREADY_BOUND','MUTATION','connection\x20error','add','StreamCipher','mode','_parse','filter','onCommandExecuted','_commentUpdate$','sin','_univerInstanceService','UPDATE_CURSOR','COMPRESS_MUTATION_APPLY','_lockTransition','USER_NOT_INVITED_CODE','__Key__','allowed','ceil','_applyRemoteChangeset','LOGIN_FAILED','_hasher','_initMergeInterceptor','JOIN_ROOM_FAILED','changesets','UserProfileImg','_transformUndoredo','_tryReconnect','_getCurrentRevision','getUnitType','range','HMAC','LIVESHARE_OPERATION','_getUploadFileURL','SYNCED','APPLY_REJECT','_unitID','onTransformRemoteChangesetByIMECache','getTypeOfUnitAdded$','UNISCRIPT_RUN','BlockCipherMode','NOT_FOUND','SHA1','saveChangeset','concat','FileId','hasOwnProperty','unit-cache-','_clearRedo','rev','UUID','_getAPIPrefix','reset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','origin','__esModule','duration','OFFLINE','_initRequestHeader','_doCreateSocket','_remoteChangesetQueue','_collaborationPaused','HELLO','formatter','_waitCount','_state','data','_substituteUndoStack','/universer-api/user/session-ticket','getResourcesRequest','target','sendChangesetTimeout','/universer-api/authz','pluginName','_DEC_XFORM_MODE','/universer-api/snapshot','stringify','closeSession','onTransformSelections','?size=','_onConnectionOpen','actions','_retryConnectingTimer','getImage','ciphertext','getSnapshotAPIPath','status$','_handlerCallback','SNAPSHOT_HAS_BEEN_REMOVED','_keyPriorReset','sessionStatus','unitInfo$','extend','objectActions','GLOBAL_ROOMS_CNT_EXCEEDS','Hasher','INVALID_ARGUMENT','encryptBlock','unitId','commentUpdateEvent','auth.needGotoLoginAlert','OTHER_CLIENT_EDITING','_init','CipherParams','toString','[OfflineState]:\x20received\x20rejection.','responseType','onCommentUpdate','YUUMI_ASYNCIO_CANCELLED','default','UNIVER_PROJECT','byteLength','cfg','CBC','[OfflineState]:\x20received\x20acknowledgement.','FETCH_MISS','updateCursorEvent','findIndex','_keySchedule','fetching\x20missing\x20changesets\x20from\x20','[SyncedState]:\x20received\x20acknowledgement.','LICENSE_MAX_UNITS_EXCEEDED','AUTHZ_URL_KEY','_cipher','PSEUDO_FETCH_MISSING_RESULT','crypto','permissionRejEvent','_oKey','join','_startTelemetryCollaborationNewChangeset','transformMutationsWithChangeset','FAIL','_createHandler','AWAITING_WITH_PENDING','getTime','getUnitOnRev','open$','symbol','INTERNAL_ERROR','BlockCipher','/object/','_isPermissionRej','avatar','loadUnit','_resendTimer','_getCtorByUniverType','_submitChangeset','saveSnapshot','fromCollab','SHOULD_CLOSE_CONN','_transitionLocked','clamp','replace','iterations','textRanges','JOINING','onLocalMutation','fetchMissingChangesets','onTransformRemoteChangesetByStateCache','getConfig','_initCloseConn','NoPadding','$super','_event$','Utf8','_undoRedoService','finalize','HEARTBEAT_TIMEOUT','getMemberID','objectID','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','/object','createInstance','_awaitingChangeset','People','createDecryptor','m2Prime','words','telemetry\x20info\x20is\x20not\x20initialized','_config','saveSheetBlock','charCodeAt','_schedule','_sessions','_transformIMECache','requestParams','8QQiCxH','PY_RUNTIME_SCRIPT_ERROR','_queuedRemoteChangesets','baseRev','commentUpdate$','_iv','_tryEnsureSocket','size','_clearRetryConnectingTimer','getRandomValues','_revisionService','UNKNOWN_CODE','loginUrlKey','title','session.join-failed','removeMember','_transformRemoteChangesetByIMECache','_onRemoteACK','image/gif','subscribe','SOCKET_FAILED_RETRY','_decreaseWaiting','LEAVE','post','_changesetSessionId','_change$','resend','LIVESHARE_TERMINATE','code','INVITE_CODE_HAS_BEEN_UES','collaborators','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Undefined','refreshPermission','_transformService','_unitInfo$','LIVESHARE_NEW_HOST','exports','_ENC_XFORM_MODE','/role','_networkConditionService','_members','transformSelections','fromCharCode','awaiting','HttpExport','file','HmacSHA1','enc','has','startsWith','min','collabSubmitChangesetUrl','getSheetBlock','UNDEFINED','onTransformState','loadSheet','_doProcessBlock','session.room-cnt-exceeds','_handler','setShowComponents','YUUMI_AI_RUN_FAILED','_sendHeartbeat','conflict','_clearTimeoutTimer','_telemetryService','_onUserJoin','onMissedChangesetFetched','_onUserLeave','YUUMI_NO_CUBOID_FOR_QUESTION','updatePermissionPoint','_permissionService','2175481gfZycS','stopTime','collaboration_new_changeset','debug','_HTTPService','setCurrentUser','onTransformIME','map','push','[CollaborationUndoRedoService]','[DataLoaderService]','putCollaborators','_startCollaboration','_undoStacks','_commandService','fetchMiss','update','downloadEndpointUrl','socketService','onRemoteChangeset','infoRsp','[PendingState]:\x20received\x20rejection.','UnitSnapshot','YUUMI_UNABLE_LOAD_URL','PENDING','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','compose','salt','/collaborator','_transformStack','CHANGESET_SHOULD_RETRY','_injector','_getUndoStack','focused$','_onRemoteRetry','pad','confirm','image/jpg','toggleOnline','/universer-api/file/{fileID}/sign-url','_doReset','getAllMembers','_sheetTransformSelectionsService','_sessionStatus$','UNIVER_SLIDE','snapshot','[FetchMissState]','_createHmacHelper','YUUMI_ALL_TABLES_IS_INVALID','_replaceFileID','[CollaborationState]:\x20apply\x20error!','clear','NEW_CHANGESETS','reverse','close$','ERROR_IMAGE','awaiting_with_pending','error$','_onConnectionFailed','_clearCollaborationTimeoutTimer','copyFileMeta','splice','getInterceptPoints','_clearUndo','[CollaborationSession]','state$','?url=','collaboratorID','MD5','POST','createCollaborator','members','getCurrentRevOfUnit','incrementRevOfUnit','_exhaustRemoteChangesetQueue','_map','NO_OTHER_CLIENTS_EDITING','floor','_transformStateCache','localCacheService','COMMENT_UPDATE','apply','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_status$','padding','\x20-\x20','updateCollaborator','loadOfflineData','failed\x20to\x20apply\x20missed\x20changesets!','_transformRemoteChangesetByStateCache','readInt32LE','_changesetReqId','asObservable','location','entityInit$','toggleOffline','encodeURIComponent','compute','Hex','_roomCreated$','sheets','_updateState','members$','CHANGESET_REVISION_CONFILICT','_pendingMutations','getValue','onMissingChangesets','emitEvent','Pkcs7','getRoom','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','registerHTTPInterceptor','ENSURE_SNAPSHOT_EXECUTION','getImageSourceCache','generateRandomId','image/bmp','_fetchMissChangesets','_initUnitPermissionChange','memberID','selections','LIVESHARE_FETCH_OPERATIONS','create','c1Prime','UNIVER_COLLABORATION_CLIENT_PLUGIN','collaboration-client.local-cache-service','_mode','joinRsp','BASE64','SEND_CHANGESET_TIMEOUT','prototype','localeService','processBlock','_unlockTransition','APPLY_REVISION_CONFILICT','roomInfos','_scheduleCollaborationTimeoutTimer','unknown','_onLocalMutation','AWAITING','updateOfflineData','_collaborationTimeoutTimer','APPLY_DUPLICATED','MOBILE_HAS_BEEN_BOUND','LICENSE_DISTRO_REJECTED','LIVESHARE_REQUEST_HOST','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','csAckEvent','eventID','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Base64','INVALID_INVITE_CODE','getSheetId','[CollaborationEntity]','_socketMessageSubscription','_onFetchMissResult','online$','_clearHeartbeatTimer','_retryCount','_eventService','result','getFocusedUnit','submit\x20changeset\x20error!','_scheduleCompleteTimestamp','_createSocket','onRemoteAck','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','subject','_localCacheService','clone','sigBytes','kdf','_getRedoStack','getMember'];_0x3e02=function(){return _0x1e3431;};return _0x3e02();}function As(_0x3deed7){var _0x475eae=_0x4d9803,_0x1bab31,_0x10669e,_0xea3dd4,_0x4015ec,_0x5d2384;const _0x157a42=_0x3deed7[_0x475eae(0x1a1)],_0x1bd93f=JSON[_0x475eae(0xcc)](_0x157a42);switch(_0x1bd93f[_0x475eae(0x384)]){case F[_0x475eae(0x3b9)]:case F[_0x475eae(0x19d)]:{const _0x13705a=_0x1bd93f[_0x475eae(0x275)];return{..._0x1bd93f,'data':_0x13705a,'cmd':_0x1bd93f[_0x475eae(0x384)]};}case F['JOIN']:{const _0x4e7250=_0x1bd93f[_0x475eae(0x2e1)];return{..._0x1bd93f,'data':_0x4e7250,'cmd':_0x1bd93f[_0x475eae(0x384)]};}case F[_0x475eae(0x372)]:{const _0x1509df=_0x1bd93f[_0x475eae(0x11d)];switch(_0x1509df[_0x475eae(0x2f6)]){case _0x363164[_0x475eae(0x157)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':(_0x1bab31=_0x1509df[_0x475eae(0x1dd)])==null?void 0x0:_0x1bab31['cs']},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164[_0x475eae(0x143)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':(_0x10669e=_0x1509df[_0x475eae(0x2f5)])==null?void 0x0:_0x10669e['cs']},'cmd':_0x1bd93f['cmd']};case _0x363164[_0x475eae(0x295)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':(_0xea3dd4=_0x1509df['newCsEvent'])==null?void 0x0:_0xea3dd4['cs']},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164['CHANGESET_REJ']:return{..._0x1bd93f,'data':{..._0x1509df,'data':(_0x4015ec=_0x1509df[_0x475eae(0x364)])==null?void 0x0:_0x4015ec['cs']},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164[_0x475eae(0x27f)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':(_0x5d2384=_0x1509df['csShouldRetryEvent'])==null?void 0x0:_0x5d2384['cs']},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164['UPDATE_CURSOR']:return{..._0x1bd93f,'data':{..._0x1509df,'data':_0x1509df[_0x475eae(0x1d3)]},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164[_0x475eae(0x39a)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':_0x1509df['joinEvent']},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164['USERS_LEAVE']:return{..._0x1bd93f,'data':{..._0x1509df,'data':_0x1509df[_0x475eae(0xfd)]},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164[_0x475eae(0x23d)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':_0x1509df['liveShareNewHost']},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164['LIVESHARE_FETCH_OPERATIONS']:case _0x363164[_0x475eae(0x17f)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':_0x1509df['liveShareOperation']},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164[_0x475eae(0x234)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':_0x1509df['liveShareNewHost']},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164[_0x475eae(0x3de)]:return{..._0x1bd93f,'data':_0x1509df,'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164[_0x475eae(0x2b1)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':_0x1509df[_0x475eae(0x1c2)]},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164[_0x475eae(0x395)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':_0x1509df['updatePermissionObjEvent']},'cmd':_0x1bd93f['cmd']};case _0x363164[_0x475eae(0x1f4)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':_0x1509df[_0x475eae(0x13e)]},'cmd':_0x1bd93f[_0x475eae(0x384)]};case _0x363164[_0x475eae(0x186)]:return{..._0x1bd93f,'data':{..._0x1509df,'data':_0x1509df[_0x475eae(0x328)]},'cmd':_0x1bd93f[_0x475eae(0x384)]};default:return _0x1bd93f;}}default:return _0x1bd93f;}}function ws(_0x42e088){var _0x3ff058=_0x4d9803;switch(_0x42e088[_0x3ff058(0x384)]){case F[_0x3ff058(0x3b9)]:case F[_0x3ff058(0x19d)]:return JSON[_0x3ff058(0x1ab)]({'cmd':_0x42e088[_0x3ff058(0x384)],'routeKey':_0x42e088[_0x3ff058(0x15e)]});case F[_0x3ff058(0x35c)]:{let _0x34a7e6;switch(_0x42e088[_0x3ff058(0x1a1)][_0x3ff058(0x2f6)]){case _0x363164[_0x3ff058(0x16b)]:{_0x34a7e6={'eventID':_0x363164[_0x3ff058(0x16b)],'updateCursorEvent':_0x42e088['data'][_0x3ff058(0x1a1)]};break;}case _0x363164[_0x3ff058(0x36e)]:{_0x34a7e6={'eventID':_0x363164[_0x3ff058(0x36e)],'leaveEvent':_0x42e088[_0x3ff058(0x1a1)][_0x3ff058(0x1a1)]};break;}case _0x363164[_0x3ff058(0x39a)]:{_0x34a7e6={'eventID':_0x363164[_0x3ff058(0x39a)],'joinEvent':_0x42e088[_0x3ff058(0x1a1)][_0x3ff058(0x1a1)]};break;}case _0x363164[_0x3ff058(0x23d)]:{_0x34a7e6={'eventID':_0x363164['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x42e088[_0x3ff058(0x1a1)]['data']};break;}case _0x363164[_0x3ff058(0x17f)]:{_0x34a7e6={'eventID':_0x363164[_0x3ff058(0x17f)],'liveShareOperation':_0x42e088['data']['data']};break;}case _0x363164[_0x3ff058(0x234)]:{_0x34a7e6={'eventID':_0x363164[_0x3ff058(0x234)],'liveShareTerminate':_0x42e088[_0x3ff058(0x1a1)][_0x3ff058(0x1a1)]};break;}case _0x363164[_0x3ff058(0x2f3)]:{_0x34a7e6={'eventID':_0x363164[_0x3ff058(0x2f3)],'liveShareRequestHost':_0x42e088[_0x3ff058(0x1a1)][_0x3ff058(0x1a1)]};break;}case _0x363164['LIVESHARE_FETCH_OPERATIONS']:{_0x34a7e6={'eventID':_0x363164[_0x3ff058(0x2db)]};break;}default:_0x34a7e6={'eventID':_0x42e088[_0x3ff058(0x1a1)][_0x3ff058(0x2f6)]};}return JSON['stringify']({'cmd':_0x42e088[_0x3ff058(0x384)],'routeKey':_0x42e088['routeKey'],'collaMsg':_0x34a7e6});}case F['JOIN']:return JSON[_0x3ff058(0x1ab)]({'cmd':_0x42e088[_0x3ff058(0x384)],'routeKey':_0x42e088[_0x3ff058(0x15e)],'joinReq':_0x42e088[_0x3ff058(0x1a1)]});case F[_0x3ff058(0x22f)]:return JSON[_0x3ff058(0x1ab)]({'cmd':_0x42e088[_0x3ff058(0x384)],'routeKey':_0x42e088[_0x3ff058(0x15e)],'leaveReq':_0x42e088['data']});default:throw new Error(_0x3ff058(0x121));}}var Ps=Object[_0x4d9803(0x106)],Ls=(_0x22b971,_0x1ae6d2,_0x4fa7ff,_0x493a89)=>{for(var _0x284d1c=_0x493a89>0x1?void 0x0:_0x493a89?Ps(_0x1ae6d2,_0x4fa7ff):_0x1ae6d2,_0x4da1c8=_0x22b971['length']-0x1,_0x48f7ab;_0x4da1c8>=0x0;_0x4da1c8--)(_0x48f7ab=_0x22b971[_0x4da1c8])&&(_0x284d1c=_0x48f7ab(_0x284d1c)||_0x284d1c);return _0x284d1c;},Ue=(_0x93458a,_0x155f2f)=>(_0x5cbc29,_0xbd508a)=>_0x155f2f(_0x5cbc29,_0xbd508a,_0x93458a);const gi=_0x3ba04f(_0x4d9803(0x320));function Ms(_0x504f97,_0xd65593,_0x497f6a){var _0x4d6a3c=_0x4d9803;return _0x504f97+'/'+_0xd65593+_0x4d6a3c(0x3d7)+_0x497f6a+'/new_changes';}let Ft=class extends _0xe2b65c{constructor(_0x562358,_0x3e24f3,_0x3d7102,_0x3f6a4b,_0x39f22e){var _0x2267db=_0x4d9803;super(),this[_0x2267db(0x280)]=_0x562358,this[_0x2267db(0xc8)]=_0x3e24f3,this[_0x2267db(0x33d)]=_0x3d7102,this[_0x2267db(0x31b)]=_0x3f6a4b,this[_0x2267db(0x37c)]=_0x39f22e;}[_0x4d9803(0x19a)](_0x1f5634){var _0x59dec8=_0x4d9803;const _0x326d5d=this[_0x59dec8(0x280)][_0x59dec8(0x35a)](_0x5cd08d);if(!_0x326d5d)throw new Error(_0x59dec8(0x27a));const _0x405410=_0x326d5d[_0x59dec8(0xef)](_0x1f5634);if(!_0x405410)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2aa9e8=new _0x4de8bc(),_0x4fe1d0=new _0x37913a();_0x2aa9e8[_0x59dec8(0x162)](_0x405410['close$'][_0x59dec8(0x22c)](_0x11db8c=>_0x4fe1d0[_0x59dec8(0x137)](_0x11db8c))),_0x2aa9e8['add'](_0x40d965(()=>_0x4fe1d0['complete']()));const _0x627ea4=new _0x37913a();_0x2aa9e8[_0x59dec8(0x162)](_0x405410[_0x59dec8(0x29a)][_0x59dec8(0x22c)](_0x5b549e=>_0x627ea4[_0x59dec8(0x137)](_0x5b549e))),_0x2aa9e8[_0x59dec8(0x162)](_0x40d965(()=>_0x627ea4[_0x59dec8(0x338)]()));const _0x51b76a=new _0x37913a();_0x2aa9e8[_0x59dec8(0x162)](_0x405410[_0x59dec8(0xd6)]['subscribe'](_0x5b526f=>{var _0x24566e=_0x59dec8;const _0x51303c=As(_0x5b526f);_0x51b76a[_0x24566e(0x137)](_0x51303c);})),_0x2aa9e8[_0x59dec8(0x162)](_0x40d965(()=>_0x51b76a[_0x59dec8(0x338)]()));let _0x4f4820;const _0xf5b283=()=>{var _0x1ee9b3=_0x59dec8;_0x627ea4[_0x1ee9b3(0x137)](new Event(_0x1ee9b3(0x161))),_0x4fe1d0[_0x1ee9b3(0x137)](new Event(_0x1ee9b3(0x161))),_0x4f4820[_0x1ee9b3(0x327)]();};return _0x4f4820={'memberID':'','close$':_0x4fe1d0['asObservable'](),'error$':_0x627ea4[_0x59dec8(0x2bd)](),'open$':_0x405410[_0x59dec8(0x1e7)],'message$':_0x51b76a[_0x59dec8(0x2bd)](),'send':_0x4d1615=>{var _0x1be7b6=_0x59dec8;if(_0x4d1615['cmd']===F[_0x1be7b6(0x35c)]){if(_0x4d1615[_0x1be7b6(0x1a1)][_0x1be7b6(0x2f6)]===_0x363164[_0x1be7b6(0xe0)]){this[_0x1be7b6(0x1f1)](_0x4f4820,_0x4d1615['data'])[_0x1be7b6(0x38a)](_0x2f573b=>{var _0x4615d8=_0x1be7b6;this[_0x4615d8(0x31b)][_0x4615d8(0x153)](_0x2f573b),_0xf5b283();});return;}if(_0x4d1615[_0x1be7b6(0x1a1)][_0x1be7b6(0x2f6)]===_0x363164[_0x1be7b6(0x3bd)]){const _0x21b414=_0x4d1615[_0x1be7b6(0x1a1)];this[_0x1be7b6(0x2d7)](_0x21b414)[_0x1be7b6(0x32e)](_0x23dfd7=>{var _0x190438=_0x1be7b6;_0x51b76a[_0x190438(0x137)]({'cmd':F[_0x190438(0x372)],'code':me['OK'],'routeKey':_0x21b414['data']['unitID'],'routeType':'','data':{'eventID':_0x363164[_0x190438(0x1db)],'data':{'changesets':_0x23dfd7}}});})[_0x1be7b6(0x38a)](_0x41fd67=>{var _0x4a8fda=_0x1be7b6;this[_0x4a8fda(0x31b)][_0x4a8fda(0x153)](_0x41fd67),_0xf5b283();});return;}}_0x405410[_0x1be7b6(0x350)](ws(_0x4d1615));},'close':()=>{var _0x1e8768=_0x59dec8;_0x405410[_0x1e8768(0x327)](),_0x2aa9e8['dispose']();}},_0x4f4820;}async[_0x4d9803(0x1f1)](_0x109d16,_0x38c2c2){var _0x10b3ca=_0x4d9803,_0x598027,_0x2eca97;const {unitType:_0x2faafa,unitID:_0x52e7ff,changeset:_0x464f97}=_0x38c2c2[_0x10b3ca(0x1a1)],_0x55ad04={'unitID':_0x52e7ff,'memberID':_0x109d16['memberID'],'type':_0x2faafa,'changeset':_0x31a883(_0x464f97)},_0x5480a1=this[_0x10b3ca(0x33d)][_0x10b3ca(0x1fe)](bs),_0x954104=this[_0x10b3ca(0x33d)][_0x10b3ca(0x1fe)](K),_0x59e9d9=Ms((_0x2eca97=(_0x598027=_0x954104==null?void 0x0:_0x954104[_0x10b3ca(0x24d)])!=null?_0x598027:_0x5480a1)!=null?_0x2eca97:Os,_0x2faafa,_0x52e7ff);try{await this[_0x10b3ca(0xc8)]['post'](_0x59e9d9,{'body':_0x55ad04});}catch(_0x54a622){throw this[_0x10b3ca(0x31b)]['error'](_0x10b3ca(0x2a1),_0x10b3ca(0x304)),_0x54a622;}}async[_0x4d9803(0x2d7)](_0x1846e5){var _0x3f011d=_0x4d9803;const {unitID:_0x5d8e4d,from:_0x437f11,to:_0x1215cd,unitType:_0x472828}=_0x1846e5[_0x3f011d(0x1a1)];return(await this[_0x3f011d(0x37c)][_0x3f011d(0x1fc)]({'metadata':void 0x0},{'unitID':_0x5d8e4d,'type':_0x472828,'from':_0x437f11,'to':_0x1215cd}))[_0x3f011d(0x177)];}};Ft=Ls([Ue(0x0,_0x26a7b2(_0xac2571)),Ue(0x1,_0x26a7b2(_0x407237)),Ue(0x2,_0xd6fe56),Ue(0x3,_0x5e0032),Ue(0x4,_0x3e4794)],Ft);const xs=_0x4d9803(0x263);function ks(_0x3d07a0){return JSON['stringify'](_0x3d07a0)['length'];}class Si{constructor(){var _0x542bf6=_0x4d9803;N(this,_0x542bf6(0x168),new _0x37913a()),N(this,_0x542bf6(0x21d),this[_0x542bf6(0x168)]['asObservable']());}[_0x4d9803(0x1ca)](_0x52390d){var _0x4debfc=_0x4d9803;this['_commentUpdate$'][_0x4debfc(0x137)](_0x52390d);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x16acae,_0x45c606,_0x27c0d2,_0x457c9e)=>{var _0xa49981=_0x4d9803;for(var _0x8fd5d9=_0x457c9e>0x1?void 0x0:_0x457c9e?$s(_0x45c606,_0x27c0d2):_0x45c606,_0x3efb05=_0x16acae[_0xa49981(0x312)]-0x1,_0xfa4122;_0x3efb05>=0x0;_0x3efb05--)(_0xfa4122=_0x16acae[_0x3efb05])&&(_0x8fd5d9=_0xfa4122(_0x8fd5d9)||_0x8fd5d9);return _0x8fd5d9;},Vt=(_0x280969,_0x6c8d78)=>(_0x1ae895,_0x1c3068)=>_0x6c8d78(_0x1ae895,_0x1c3068,_0x280969);let Pe=class extends _0xe2b65c{constructor(_0x399bd9,_0x48ad0e){var _0x38598b=_0x4d9803;super(),N(this,_0x38598b(0x3b7),new Map()),N(this,_0x38598b(0x2c4),new _0x37913a()),(this[_0x38598b(0x16a)]=_0x399bd9,this[_0x38598b(0x317)]=_0x48ad0e,this[_0x38598b(0x34c)](_0x515759(this[_0x38598b(0x16a)][_0x38598b(0x39e)](_0x4742de[_0x38598b(0x336)])['pipe'](_0x4c9cb8(_0x47fceb=>_0x47fceb[_0x38598b(0x140)]())),this[_0x38598b(0x16a)][_0x38598b(0x39e)](_0x4742de['UNIVER_DOC'])[_0x38598b(0xdd)](_0x4c9cb8(_0xb2e1db=>_0xb2e1db[_0x38598b(0x140)]())),this['_univerInstanceService'][_0x38598b(0x39e)](_0x4742de[_0x38598b(0x28d)])[_0x38598b(0xdd)](_0x4c9cb8(_0x1e392f=>_0x1e392f[_0x38598b(0x140)]())))['subscribe'](_0x33d060=>this[_0x38598b(0x346)](_0x33d060))));}[_0x4d9803(0x3a5)](_0x458d68){var _0xc358dc=_0x4d9803;return this[_0xc358dc(0x3b7)][_0xc358dc(0x24a)](_0x458d68)?_0x540c1b(this[_0xc358dc(0x3b7)][_0xc358dc(0x35a)](_0x458d68)):this[_0xc358dc(0x2c4)][_0xc358dc(0xdd)](_0x4c9cb8(_0x574c3a=>{var _0x579a70=_0xc358dc;if(_0x574c3a===_0x458d68)return this[_0x579a70(0x3b7)]['get'](_0x574c3a);}));}[_0x4d9803(0x266)](_0xeeb190){var _0x568db1=_0x4d9803;this[_0x568db1(0x317)][_0x568db1(0x266)](_0xeeb190);}[_0x4d9803(0x3a6)](){var _0x476f6f=_0x4d9803;return this[_0x476f6f(0x317)][_0x476f6f(0x3a6)]();}[_0x4d9803(0xf9)](_0x3d18ed,_0x4137c6){var _0x5dd7b1=_0x4d9803;let _0x159c98=this[_0x5dd7b1(0x3b7)][_0x5dd7b1(0x35a)](_0x3d18ed);_0x159c98||(_0x159c98=new Bs(),this[_0x5dd7b1(0x3b7)][_0x5dd7b1(0x115)](_0x3d18ed,_0x159c98),this[_0x5dd7b1(0x2c4)][_0x5dd7b1(0x137)](_0x3d18ed)),_0x159c98[_0x5dd7b1(0xf9)](_0x4137c6);}[_0x4d9803(0x228)](_0x41e826,_0xce0c45){var _0x545ea2=_0x4d9803;const _0x49827f=this['_roomMembers'][_0x545ea2(0x35a)](_0x41e826);_0x49827f&&_0x49827f[_0x545ea2(0x228)](_0xce0c45);}[_0x4d9803(0x2ce)](_0x292065){var _0x1c0e49=_0x4d9803;return this[_0x1c0e49(0x3b7)][_0x1c0e49(0x35a)](_0x292065);}['getMember'](_0x4b79a3,_0x4e1bea){var _0x178f51=_0x4d9803;const _0x228145=this[_0x178f51(0x3b7)]['get'](_0x4b79a3);if(_0x228145)return _0x228145[_0x178f51(0x30f)](_0x4e1bea);}[_0x4d9803(0x346)](_0x390b0c){var _0x1bd58f=_0x4d9803;const _0x48ef69=this['_roomMembers'][_0x1bd58f(0x35a)](_0x390b0c);_0x48ef69&&(_0x48ef69['dispose'](),this['_roomMembers']['delete'](_0x390b0c));}[_0x4d9803(0x10e)](){var _0x280f9e=_0x4d9803;this[_0x280f9e(0x3b7)][_0x280f9e(0xe7)](_0x40f915=>_0x40f915['dispose']()),this[_0x280f9e(0x3b7)][_0x280f9e(0x294)](),this[_0x280f9e(0x2c4)]['complete']();}};Pe=Hs([Vt(0x0,_0x3220f3),Vt(0x1,_0x26a7b2(_0x4fb9da))],Pe);class Bs extends _0xe2b65c{constructor(){var _0x13daf7=_0x4d9803;super(...arguments),N(this,_0x13daf7(0x242),new Map()),N(this,_0x13daf7(0x36f),new _0x48224c(this['_members'])),N(this,_0x13daf7(0x2c7),this[_0x13daf7(0x36f)][_0x13daf7(0x2bd)]());}['dispose'](){var _0xafecc2=_0x4d9803;this[_0xafecc2(0x242)][_0xafecc2(0x294)]();}['updateMember'](_0x165a9c){var _0x50fa89=_0x4d9803;this[_0x50fa89(0x242)][_0x50fa89(0x115)](_0x165a9c[_0x50fa89(0x2d9)],_0x165a9c),this[_0x50fa89(0x335)]();}['removeMember'](_0x3acaf9){var _0xba767b=_0x4d9803;this[_0xba767b(0x242)][_0xba767b(0x3a3)](_0x3acaf9);}[_0x4d9803(0x30f)](_0x3a48f2){var _0x2c29ca=_0x4d9803;return this[_0x2c29ca(0x242)]['get'](_0x3a48f2);}[_0x4d9803(0x28a)](){var _0x4dc9ff=_0x4d9803;return Array[_0x4dc9ff(0x3ce)](this[_0x4dc9ff(0x242)]['values']());}[_0x4d9803(0x335)](){var _0x49f6a4=_0x4d9803;this[_0x49f6a4(0x36f)][_0x49f6a4(0x137)](this[_0x49f6a4(0x242)]);}}var js=Object[_0x4d9803(0x106)],Fs=(_0x2c2f55,_0x45ab0e,_0x461eac,_0x423cee)=>{var _0x5f0835=_0x4d9803;for(var _0x452dfe=_0x423cee>0x1?void 0x0:_0x423cee?js(_0x45ab0e,_0x461eac):_0x45ab0e,_0x2c51d9=_0x2c2f55[_0x5f0835(0x312)]-0x1,_0x456e56;_0x2c51d9>=0x0;_0x2c51d9--)(_0x456e56=_0x2c2f55[_0x2c51d9])&&(_0x452dfe=_0x456e56(_0x452dfe)||_0x452dfe);return _0x452dfe;},pe=(_0x3f6d6a,_0x2c66c2)=>(_0x276793,_0xa9001d)=>_0x2c66c2(_0x276793,_0xa9001d,_0x3f6d6a),Se=(_0x4e7a9c=>(_0x4e7a9c[_0x4e7a9c['IDLE']=0x0]=_0x4d9803(0x13f),_0x4e7a9c[_0x4e7a9c[_0x4d9803(0x1fa)]=0x1]=_0x4d9803(0x1fa),_0x4e7a9c[_0x4e7a9c['OFFLINE']=0x2]=_0x4d9803(0x198),_0x4e7a9c[_0x4e7a9c[_0x4d9803(0x13b)]=0x3]=_0x4d9803(0x13b),_0x4e7a9c))(Se||{});const Gt={[me[_0x4d9803(0x1e2)]]:_0x4d9803(0x227),[me[_0x4d9803(0x36c)]]:_0x4d9803(0x10b),[me[_0x4d9803(0x147)]]:_0x4d9803(0xc7),[me[_0x4d9803(0x101)]]:_0x4d9803(0x359),[me[_0x4d9803(0x1bd)]]:_0x4d9803(0x253)};let gt=class extends _0x2811ce{constructor(_0x4dae76,_0x2d8d6f,_0x2b3691,_0x259776,_0x28fbdf,_0x4c2b76,_0x2fadbb,_0x41b3be,_0x21a1a1){var _0x51f496=_0x4d9803;super(),N(this,_0x51f496(0x28c),new _0x48224c(0x0)),N(this,'sessionStatus$',this[_0x51f496(0x28c)][_0x51f496(0x2bd)]()),N(this,_0x51f496(0x202),new _0x37913a()),N(this,_0x51f496(0x37a),this[_0x51f496(0x202)][_0x51f496(0x2bd)]()),N(this,_0x51f496(0x138)),N(this,_0x51f496(0x2fc)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x51f496(0x3a2),null),(this['_unitID']=_0x4dae76,this[_0x51f496(0x31b)]=_0x2b3691,this[_0x51f496(0x33d)]=_0x259776,this[_0x51f496(0x314)]=_0x28fbdf,this[_0x51f496(0xd2)]=_0x4c2b76,this['_commentService']=_0x2fadbb,this[_0x51f496(0x12a)]=_0x41b3be,this[_0x51f496(0x25a)]=_0x21a1a1,this[_0x51f496(0x128)]=!!this['_telemetryService'],_0x2d8d6f[_0x51f496(0xdd)](_0x3d6795(this[_0x51f496(0x318)]))['subscribe'](_0x225074=>{var _0x59a240=_0x51f496,_0x4a5b54;typeof _0x225074>'u'||(this[_0x59a240(0x138)]=_0x225074,_0x225074?(this['_joinRoom'](_0x225074),this[_0x59a240(0x2fc)]=_0x225074[_0x59a240(0xd6)][_0x59a240(0x22c)](_0xdbd82e=>{var _0x134b60=_0x59a240;_0xdbd82e[_0x134b60(0x15e)]===this[_0x134b60(0x183)]&&this[_0x134b60(0x3c0)](_0xdbd82e);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x59a240(0x28c)][_0x59a240(0x137)](0x2),(_0x4a5b54=this[_0x59a240(0x2fc)])==null||_0x4a5b54['unsubscribe'](),this[_0x59a240(0x2fc)]=null));}));}get[_0x4d9803(0x1b9)](){var _0x1991b9=_0x4d9803;return this['_sessionStatus$'][_0x1991b9(0x2ca)]();}['getMemberID'](){var _0xe71cf2=_0x4d9803,_0x18e0a5,_0x5df08a;return(_0x5df08a=(_0x18e0a5=this[_0xe71cf2(0x138)])==null?void 0x0:_0x18e0a5[_0xe71cf2(0x2d9)])!=null?_0x5df08a:null;}[_0x4d9803(0x10e)](){var _0x53dc2e=_0x4d9803;super[_0x53dc2e(0x10e)](),this[_0x53dc2e(0x318)][_0x53dc2e(0x137)](),this['dispose$']['complete']();}['close'](){var _0x156c25=_0x4d9803,_0x4c3cad,_0x1f25a2;this[_0x156c25(0x385)](),(_0x4c3cad=this[_0x156c25(0x138)])==null||_0x4c3cad[_0x156c25(0x350)]({'cmd':F[_0x156c25(0x22f)],'data':{'roomID':this[_0x156c25(0x183)]}}),(_0x1f25a2=this[_0x156c25(0x138)])==null||_0x1f25a2['close'](),this[_0x156c25(0x202)]['complete'](),this[_0x156c25(0x28c)][_0x156c25(0x338)](),this[_0x156c25(0x10e)]();}[_0x4d9803(0x3c0)](_0x2f043e){var _0x1ca610=_0x4d9803;_0x2f043e[_0x1ca610(0x384)]===F[_0x1ca610(0x3cc)]?this[_0x1ca610(0x108)](_0x2f043e):_0x2f043e[_0x1ca610(0x384)]===F[_0x1ca610(0x372)]&&this['_onRecvEvent'](_0x2f043e);}[_0x4d9803(0x331)](_0x5a49c2){var _0x2c7743=_0x4d9803;this[_0x2c7743(0x28c)][_0x2c7743(0x137)](0x1),_0x5a49c2[_0x2c7743(0x350)]({'cmd':F[_0x2c7743(0x3cc)],'routeKey':this[_0x2c7743(0x183)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x1b4cae){var _0x125d11=_0x4d9803,_0x2a6c56;if(_0x1b4cae[_0x125d11(0x235)]in Gt){this[_0x125d11(0x12a)]['emitEvent']({'id':ne[_0x125d11(0x176)],'data':Gt[_0x1b4cae[_0x125d11(0x235)]]}),this[_0x125d11(0x28c)][_0x125d11(0x137)](0x2);return;}this[_0x125d11(0x28c)][_0x125d11(0x137)](0x3);const _0x1d8e8c=(_0x2a6c56=_0x1b4cae[_0x125d11(0x1a1)][_0x125d11(0x2e9)][this[_0x125d11(0x183)]])==null?void 0x0:_0x2a6c56[_0x125d11(0x2a8)];_0x1d8e8c&&_0x1d8e8c[_0x125d11(0xe7)](_0x4769f4=>this[_0x125d11(0xd2)][_0x125d11(0xf9)](this[_0x125d11(0x183)],_0x4769f4));}['_onRecvEvent'](_0x4ebd43){var _0x4e045b=_0x4d9803;try{const _0x1d48c5=_0x4ebd43[_0x4e045b(0x1a1)];switch(_0x1d48c5[_0x4e045b(0x2f6)]){case _0x363164[_0x4e045b(0x39a)]:this[_0x4e045b(0x25b)](_0x1d48c5),this['_event$'][_0x4e045b(0x137)](_0x1d48c5);break;case _0x363164[_0x4e045b(0x36e)]:this[_0x4e045b(0x25d)](_0x1d48c5),this[_0x4e045b(0x202)][_0x4e045b(0x137)](_0x1d48c5);break;case _0x363164[_0x4e045b(0x143)]:case _0x363164[_0x4e045b(0x27f)]:this[_0x4e045b(0xc9)](),this[_0x4e045b(0x29c)](),this[_0x4e045b(0x202)][_0x4e045b(0x137)](_0x1d48c5);break;case _0x363164['MSG_FOR_ERROR']:this[_0x4e045b(0x31b)][_0x4e045b(0x153)](_0x4e045b(0x36b)+JSON[_0x4e045b(0x1ab)](_0x1d48c5)),this[_0x4e045b(0x202)][_0x4e045b(0x137)](_0x1d48c5);break;case _0x363164[_0x4e045b(0x2b1)]:this['_commentService'][_0x4e045b(0x1ca)](_0x1d48c5[_0x4e045b(0x1a1)]),this[_0x4e045b(0x202)][_0x4e045b(0x137)](_0x1d48c5);break;default:this[_0x4e045b(0x202)][_0x4e045b(0x137)](_0x1d48c5);}}catch(_0x28b3fc){this[_0x4e045b(0x31b)][_0x4e045b(0x153)](_0x28b3fc,_0x4ebd43);}}[_0x4d9803(0x25b)](_0x54a952){var _0x5a23a5=_0x4d9803;this['_memberService'][_0x5a23a5(0xf9)](this[_0x5a23a5(0x183)],_0x54a952[_0x5a23a5(0x1a1)]);}[_0x4d9803(0x25d)](_0x34a2c5){var _0x16219b=_0x4d9803;this[_0x16219b(0xd2)][_0x16219b(0x228)](this['_unitID'],_0x34a2c5[_0x16219b(0x1a1)][_0x16219b(0x2d9)]);}async[_0x4d9803(0x350)](_0x3b53f5,_0x56183c){var _0x14f3da=_0x4d9803;if(this[_0x14f3da(0x1b9)]!==0x3||!this['_socket'])throw new Error(_0x14f3da(0x2b3));try{_0x3b53f5[_0x14f3da(0x2f6)]===_0x363164[_0x14f3da(0xe0)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x3b53f5)),this[_0x14f3da(0x138)][_0x14f3da(0x350)]({'cmd':F['INGEST'],'routeKey':_0x56183c,'routeType':'','data':_0x3b53f5});}catch(_0x5c8135){this[_0x14f3da(0x31b)][_0x14f3da(0x153)](_0x5c8135);}}[_0x4d9803(0x2ea)](){var _0xfd3c85=_0x4d9803,_0x3ca8da;this[_0xfd3c85(0x2ef)]=setTimeout(()=>{var _0x2cb202=_0xfd3c85;this[_0x2cb202(0x2ef)]=null,this['_collaborationUIEventService'][_0x2cb202(0x2cc)]({'id':ne[_0x2cb202(0xe8)]});},(_0x3ca8da=this[_0xfd3c85(0x33d)][_0xfd3c85(0x1fe)](fi))!=null?_0x3ca8da:vi);}[_0x4d9803(0x29c)](){var _0x5886b2=_0x4d9803;this[_0x5886b2(0x2ef)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5886b2(0x2ef)]=null);}[_0x4d9803(0x1e0)](_0x1eb294){var _0x41aaaa=_0x4d9803;if(!this[_0x41aaaa(0x128)])return;const {data:_0xd3b88}=_0x1eb294,{unitID:_0x30f1b4,changeset:_0x115a71}=_0xd3b88,{mutations:_0x2c6527,type:_0x538801}=_0x115a71;this[_0x41aaaa(0x3a2)]={'unitId':_0x30f1b4,'type':_0x538801,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ks(_0x2c6527)};}[_0x4d9803(0xc9)](){var _0x464357=_0x4d9803;if(this[_0x464357(0x128)]){if(!this[_0x464357(0x3a2)]){this['_logService'][_0x464357(0x153)](_0x464357(0x2a1),_0x464357(0x211));return;}this[_0x464357(0x3a2)][_0x464357(0x262)]=performance[_0x464357(0x326)](),this['_telemetryInfo'][_0x464357(0x197)]=this[_0x464357(0x3a2)][_0x464357(0x262)]-this[_0x464357(0x3a2)]['startTime'],this[_0x464357(0x25a)][_0x464357(0x397)](xs,this[_0x464357(0x3a2)]),this[_0x464357(0x3a2)]=null;}}[_0x4d9803(0x385)](){var _0x10a8f5=_0x4d9803;this[_0x10a8f5(0x3a2)]=null;}};gt=Fs([pe(0x2,_0x5e0032),pe(0x3,_0xd6fe56),pe(0x4,_0x26a7b2(_0x2e4b8f)),pe(0x5,_0x26a7b2(Pe)),pe(0x6,_0x26a7b2(Si)),pe(0x7,_0x26a7b2(ve)),pe(0x8,_0x426036(_0x1f51d7))],gt);var Vs=Object[_0x4d9803(0x106)],Gs=(_0x598477,_0x249ab7,_0x2534e8,_0x245604)=>{for(var _0x37ffb6=_0x245604>0x1?void 0x0:_0x245604?Vs(_0x249ab7,_0x2534e8):_0x249ab7,_0x20f662=_0x598477['length']-0x1,_0x441f00;_0x20f662>=0x0;_0x20f662--)(_0x441f00=_0x598477[_0x20f662])&&(_0x37ffb6=_0x441f00(_0x37ffb6)||_0x37ffb6);return _0x37ffb6;},Re=(_0x342e77,_0x113c5e)=>(_0x42de6f,_0x1b6a37)=>_0x113c5e(_0x42de6f,_0x1b6a37,_0x342e77);let Le=class extends _0xe2b65c{constructor(_0x32dbbe,_0x2cb979,_0x2fd001,_0x3066c0,_0x4703b6,_0x5db818){var _0x408f19=_0x4d9803;super(),N(this,_0x408f19(0x38c),new _0x48224c(void 0x0)),N(this,_0x408f19(0x374),this['_socket$'][_0x408f19(0x2bd)]()),N(this,_0x408f19(0x325),null),N(this,_0x408f19(0x216),new Map()),N(this,'_status$',new _0x48224c(Se[_0x408f19(0x13f)])),N(this,_0x408f19(0x1b5),this[_0x408f19(0x2b4)][_0x408f19(0x2bd)]()),N(this,_0x408f19(0x34e),!0x1),N(this,_0x408f19(0x1b1)),N(this,_0x408f19(0x300),0x0),N(this,_0x408f19(0x151)),N(this,_0x408f19(0x12d)),(this[_0x408f19(0x280)]=_0x32dbbe,this[_0x408f19(0x31b)]=_0x2cb979,this[_0x408f19(0x33d)]=_0x2fd001,this['_socketService']=_0x3066c0,this[_0x408f19(0x12a)]=_0x4703b6,this[_0x408f19(0x241)]=_0x5db818,this[_0x408f19(0x102)]());}get[_0x4d9803(0x138)](){var _0x25a206=_0x4d9803;return this[_0x25a206(0x38c)]['getValue']();}[_0x4d9803(0x102)](){var _0x3e6262=_0x4d9803;this[_0x3e6262(0x241)]&&this['disposeWithMe'](this['_networkConditionService'][_0x3e6262(0x2fe)]['subscribe'](_0x3f0724=>{var _0x59bd80=_0x3e6262;_0x3f0724&&!this['_socket']&&this[_0x59bd80(0x357)](),_0x3f0724||this[_0x59bd80(0xd5)]();}));}[_0x4d9803(0x10e)](){var _0x91e8bc=_0x4d9803;super['dispose'](),this[_0x91e8bc(0x221)](),this[_0x91e8bc(0x259)](),this[_0x91e8bc(0x2ff)](),this['_sessions'][_0x91e8bc(0xe7)](_0x4f45e6=>_0x4f45e6[_0x91e8bc(0x10e)]()),this[_0x91e8bc(0x216)][_0x91e8bc(0x294)](),this[_0x91e8bc(0x2b4)][_0x91e8bc(0x338)]();}async[_0x4d9803(0x3bb)](_0x162b1c){var _0x36e492=_0x4d9803;if(this['_sessions'][_0x36e492(0x24a)](_0x162b1c))return this[_0x36e492(0x216)]['get'](_0x162b1c);this[_0x36e492(0x21f)]();const _0x170a4c=this[_0x36e492(0x280)]['createInstance'](gt,_0x162b1c,this[_0x36e492(0x38c)][_0x36e492(0x2bd)]());return this['_sessions'][_0x36e492(0x115)](_0x162b1c,_0x170a4c),_0x170a4c;}[_0x4d9803(0x1ac)](_0x2c7a77){var _0xbbe804=_0x4d9803,_0x163616;const _0x32dd55=this['_sessions'][_0xbbe804(0x35a)](_0x2c7a77);_0x32dd55&&(this['_sessions']['delete'](_0x2c7a77),_0x32dd55['close']()),this[_0xbbe804(0x216)][_0xbbe804(0x220)]||(_0x163616=this[_0xbbe804(0x138)])==null||_0x163616[_0xbbe804(0x327)]();}['reconnect'](){var _0x4d8505=_0x4d9803;this[_0x4d8505(0x300)]=0x0,this[_0x4d8505(0x221)](),this[_0x4d8505(0x17a)]();}['_clearRetryConnectingTimer'](){var _0x4dcc34=_0x4d9803;this[_0x4dcc34(0x1b1)]!=null&&(clearTimeout(this[_0x4dcc34(0x1b1)]),this[_0x4dcc34(0x1b1)]=null);}async[_0x4d9803(0x306)](){var _0xa7bccf=_0x4d9803,_0x41ee02,_0xb9f33f;const _0x1334da=this[_0xa7bccf(0x33d)][_0xa7bccf(0x1fe)](gs),_0x587b00=this['_configService'][_0xa7bccf(0x1fe)](K),_0xc6bddb=(_0xb9f33f=(_0x41ee02=_0x587b00==null?void 0x0:_0x587b00['collabWebSocketUrl'])!=null?_0x41ee02:_0x1334da)!=null?_0xb9f33f:Ss,_0x3a0596=await this[_0xa7bccf(0x3d3)]['createSocket'](_0xc6bddb);return this[_0xa7bccf(0x325)]=_0x3a0596,_0x3a0596;}async[_0x4d9803(0x21f)](){var _0x3c73b8=_0x4d9803,_0x39625b,_0xe30d63;try{const _0x54363f=(_0xe30d63=(_0x39625b=this[_0x3c73b8(0x138)])!=null?_0x39625b:this['_candidateSocket'])!=null?_0xe30d63:await this[_0x3c73b8(0x306)]();if(_0x54363f){const _0x3c6d3a=_0x54363f[_0x3c73b8(0x350)];_0x54363f['send']=_0xcbcb71=>(this[_0x3c73b8(0x110)](),_0x3c6d3a['apply'](_0x54363f,[_0xcbcb71])),_0x54363f['message$']['subscribe'](_0x51a2e4=>this['_onMessage'](_0x54363f,_0x51a2e4)),_0x54363f[_0x3c73b8(0x29a)][_0x3c73b8(0xdd)](_0x224d36(0x1))['subscribe'](_0x5cb7cf=>this['_logService'][_0x3c73b8(0x153)](_0x3c73b8(0x145),_0x5cb7cf)),_0x54363f[_0x3c73b8(0x1e7)]['pipe'](_0x224d36(0x1))[_0x3c73b8(0x22c)](()=>{var _0x4fdd92=_0x3c73b8;this[_0x4fdd92(0x1af)](_0x54363f);}),_0x54363f[_0x3c73b8(0x297)][_0x3c73b8(0xdd)](_0x224d36(0x1))[_0x3c73b8(0x22c)](_0x431578=>{var _0x436589=_0x3c73b8;this[_0x436589(0x31b)][_0x436589(0x264)](_0x436589(0x10f),'socket\x20close',_0x431578),this[_0x436589(0x29b)]();});}}catch(_0x148d8a){this[_0x3c73b8(0x31b)]['error'](_0x148d8a),this[_0x3c73b8(0x29b)]();}}[_0x4d9803(0x1af)](_0x38023d){var _0x438b28=_0x4d9803;this[_0x438b28(0x31b)][_0x438b28(0x264)](_0x438b28(0x10f),_0x438b28(0x32b)),_0x38023d[_0x438b28(0x350)]({'cmd':F[_0x438b28(0x19d)]}),this[_0x438b28(0x110)]();}['_onOffline'](){var _0x11c372=_0x4d9803;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x11c372(0x2b4)][_0x11c372(0x137)](Se['OFFLINE']),this[_0x11c372(0x38c)][_0x11c372(0x137)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0xc5a6e4=_0x4d9803,_0x1dd1dc;this[_0xc5a6e4(0xd5)](),this['_retryCount']<((_0x1dd1dc=this[_0xc5a6e4(0x33d)][_0xc5a6e4(0x1fe)](Cs))!=null?_0x1dd1dc:Rs)?(this['_collaborationUIEventService'][_0xc5a6e4(0x2cc)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0xc5a6e4(0x17a)]()):this[_0xc5a6e4(0x12a)][_0xc5a6e4(0x2cc)]({'id':ne[_0xc5a6e4(0x3ba)]});}[_0x4d9803(0x17a)](){var _0xfb5cde=_0x4d9803,_0x3aedc7;const _0x350ddf=this['_retryCount'],_0x177d74=this[_0xfb5cde(0x33d)][_0xfb5cde(0x1fe)](K),_0x1492ba=_0x350ddf===0x0?0x0:((_0x3aedc7=_0x177d74==null?void 0x0:_0x177d74['retryConnectingInterval'])!=null?_0x3aedc7:Ts)*0x2**_0x350ddf;this[_0xfb5cde(0x1b1)]=setTimeout(()=>{var _0x491762=_0xfb5cde;clearTimeout(this[_0x491762(0x1b1)]),this[_0x491762(0x1b1)]=null,this['_tryEnsureSocket']();},_0x1492ba),this['_retryCount']+=0x1;}[_0x4d9803(0x3b8)](_0x42d967,_0xc013a2){var _0x5bb63b=_0x4d9803;const {cmd:_0x226e36}=_0xc013a2;_0x226e36===F[_0x5bb63b(0x19d)]&&!this[_0x5bb63b(0x34e)]&&(_0x42d967[_0x5bb63b(0x2d9)]=_0xc013a2[_0x5bb63b(0x1a1)][_0x5bb63b(0x2d9)],this[_0x5bb63b(0x38c)][_0x5bb63b(0x137)](_0x42d967),this[_0x5bb63b(0x2b4)]['next'](Se[_0x5bb63b(0x13b)]),this[_0x5bb63b(0x34e)]=!0x0,this[_0x5bb63b(0x325)]=null),_0x226e36===F[_0x5bb63b(0x3b9)]&&this[_0x5bb63b(0x259)](),this['_rescheduleHeartbeat']();}[_0x4d9803(0x110)](){var _0x20e0c5=_0x4d9803,_0x166395;this[_0x20e0c5(0x2ff)](),this[_0x20e0c5(0x151)]=setTimeout(()=>this[_0x20e0c5(0x257)](),(_0x166395=this[_0x20e0c5(0x33d)][_0x20e0c5(0x1fe)](Es))!=null?_0x166395:Is);}[_0x4d9803(0x257)](){var _0x3455c5=_0x4d9803;this[_0x3455c5(0x138)][_0x3455c5(0x350)]({'cmd':F[_0x3455c5(0x3b9)]}),this[_0x3455c5(0xe6)]();}[_0x4d9803(0xe6)](){var _0x37d5c2=_0x4d9803,_0x4e8e8f;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x4e8e8f=this[_0x37d5c2(0x33d)][_0x37d5c2(0x1fe)](fi))!=null?_0x4e8e8f:vi);}['_clearHeartbeatTimer'](){var _0xc5ce17=_0x4d9803;this[_0xc5ce17(0x151)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x4d9803(0x259)](){var _0x2d42ea=_0x4d9803;this[_0x2d42ea(0x12d)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Le=Gs([Re(0x0,_0x26a7b2(_0xac2571)),Re(0x1,_0x5e0032),Re(0x2,_0xd6fe56),Re(0x3,gi),Re(0x4,_0x26a7b2(ve)),Re(0x5,_0x426036(Us))],Le);const J=_0x3ba04f(_0x4d9803(0x2df));function Pr(_0x584c23){var _0x2c0d69=_0x4d9803;return _0x2c0d69(0x18e)+_0x584c23;}var Ws=Object[_0x4d9803(0x106)],Ys=(_0x35bd38,_0x5accb0,_0x120fb5,_0x130aff)=>{var _0x536e1d=_0x4d9803;for(var _0x34caf1=_0x130aff>0x1?void 0x0:_0x130aff?Ws(_0x5accb0,_0x120fb5):_0x5accb0,_0x469d84=_0x35bd38[_0x536e1d(0x312)]-0x1,_0x4d2161;_0x469d84>=0x0;_0x469d84--)(_0x4d2161=_0x35bd38[_0x469d84])&&(_0x34caf1=_0x4d2161(_0x34caf1)||_0x34caf1);return _0x34caf1;},ut=(_0x3a1004,_0x13a742)=>(_0x385a83,_0x5217fd)=>_0x13a742(_0x385a83,_0x5217fd,_0x3a1004);function Ks(_0x5c1c66){var _0x38342e=_0x4d9803;const {unitID:_0x3decd3,mutations:_0x4aa742}=_0x5c1c66;return{'unitId':_0x3decd3,'subUnitId':_0x4aa742[0x0][_0x38342e(0x3aa)][_0x38342e(0x3bf)]};}let it=class{constructor(_0x1c17d4,_0x399690,_0x3a81e0){this['_injector']=_0x1c17d4,this['_transformService']=_0x399690,this['_instanceService']=_0x3a81e0;}[_0x4d9803(0x243)](_0x54894c){var _0x6a8e22=_0x4d9803,_0x420319,_0x3e9d4b,_0xd25a08,_0x3f84a3;const _0x2912a1=this[_0x6a8e22(0x280)][_0x6a8e22(0x35a)](_0x1f7dad),{unitId:_0xbc2b2f,subUnitId:_0x5ebfc6}=Ks(_0x54894c),_0x45ca6b=_0x2912a1==null?void 0x0:_0x2912a1[_0x6a8e22(0x11e)](_0xbc2b2f)[_0x6a8e22(0xc4)](),_0x19bfeb=(_0x3e9d4b=(_0x420319=this[_0x6a8e22(0xd7)][_0x6a8e22(0xd9)](_0xbc2b2f))==null?void 0x0:_0x420319[_0x6a8e22(0xcb)]())==null?void 0x0:_0x3e9d4b[_0x6a8e22(0x2fa)]();if(_0x45ca6b['length']===0x0||!_0xbc2b2f||!_0x5ebfc6)return;const _0x547e17=[{'id':_0x2851c7['id'],'params':{'unitId':_0xbc2b2f,'subUnitId':_0x19bfeb,'selections':_0x2325fa[_0x6a8e22(0xdc)](_0x45ca6b)}}],_0x1bb5d6=this[_0x6a8e22(0x23b)]['transformMutationsWithChangeset'](_0x54894c,_0x547e17);if(!_0x466df9(_0x1bb5d6))throw _0x1bb5d6[_0x6a8e22(0x153)];const _0x3c1b7f=(_0x3f84a3=(_0xd25a08=_0x1bb5d6[_0x6a8e22(0x20f)][0x0])==null?void 0x0:_0xd25a08[_0x6a8e22(0x3aa)])==null?void 0x0:_0x3f84a3[_0x6a8e22(0x2da)];if(Array[_0x6a8e22(0x362)](_0x3c1b7f)&&_0x3c1b7f[_0x6a8e22(0x312)]){if(_0x3c1b7f[_0x6a8e22(0x312)]===_0x547e17[0x0][_0x6a8e22(0x3aa)][_0x6a8e22(0x2da)][_0x6a8e22(0x312)]&&_0x3c1b7f[_0x6a8e22(0x3db)]((_0x174244,_0x5579c2)=>_0x5edc8c[_0x6a8e22(0xec)](_0x174244[_0x6a8e22(0x17d)],_0x547e17[0x0][_0x6a8e22(0x3aa)][_0x6a8e22(0x2da)][_0x5579c2][_0x6a8e22(0x17d)])))return;this[_0x6a8e22(0x280)][_0x6a8e22(0x35a)](_0x4295e4)[_0x6a8e22(0x396)](_0x2851c7['id'],{'unitId':_0xbc2b2f,'subUnitId':_0x19bfeb,'selections':_0x3c1b7f});}}};it=Ys([ut(0x0,_0x26a7b2(_0xac2571)),ut(0x1,_0x2053d4),ut(0x2,_0x3220f3)],it);const ht=_0x3ba04f(_0x4d9803(0x337));var Ei=(_0x4a0e23=>(_0x4a0e23[_0x4a0e23['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4d9803(0x2ad),_0x4a0e23[_0x4a0e23[_0x4d9803(0xf5)]=0x1]='OTHER_CLIENTS_EDITING',_0x4a0e23))(Ei||{});const qs=new Set([_0x2d3b6f['id']]);function Wt(_0x49e73c,_0x243011,_0x4ba004,_0x4c8541,_0x38a924){var _0x18f652=_0x4d9803,_0x3290ef,_0x2708e6,_0x252f99,_0xfeb375;const _0x3e3f16=[];for(const _0x1032bf of _0x49e73c)if(qs[_0x18f652(0x24a)](_0x1032bf['id'])){if(_0x3e3f16['length']>0x0)break;_0x3e3f16[_0x18f652(0x269)](_0x1032bf);break;}else _0x3e3f16[_0x18f652(0x269)](_0x1032bf);const _0x3f19bc=(_0x2708e6=(_0x3290ef=_0x38a924[_0x18f652(0x3a6)]())==null?void 0x0:_0x3290ef[_0x18f652(0x104)])!=null?_0x2708e6:_0x18f652(0x2eb),_0x5630d3=(_0xfeb375=(_0x252f99=_0x38a924['getCurrentUser']())==null?void 0x0:_0x252f99[_0x18f652(0x2d9)])!=null?_0xfeb375:_0x18f652(0x2eb);return{'changeset':{'unitID':_0x243011,'type':_0x45d9f6(_0x4ba004[_0x18f652(0x17c)](_0x243011)),'baseRev':_0x4c8541[_0x18f652(0x2a9)](_0x243011),'revision':0x0,'userID':_0x3f19bc,'memberID':_0x5630d3,'mutations':_0x3e3f16},'pendingMutations':_0x49e73c['slice'](_0x3e3f16[_0x18f652(0x312)])};}function zs(_0x22f5a1,_0x599614,_0x96fa38,_0x3ee775,_0x21e458){var _0x32a973=_0x4d9803,_0x311df9,_0x2f344f,_0x24a544,_0x3122e9;const _0x17f0a1=[_0x22f5a1[_0x32a973(0x31c)]((_0x18cc4e,_0x288f67)=>{var _0x26a2ea=_0x32a973,_0x36715c;const {id:_0x5bb982}=_0x18cc4e,{id:_0x21668b,type:_0xfb3066}=_0x288f67,_0x29de4f=(_0x36715c=_0x18cc4e[_0x26a2ea(0x3aa)])!=null?_0x36715c:{'actions':null},_0x163620=_0x288f67[_0x26a2ea(0x3aa)];if(_0x5bb982&&_0x5bb982!==_0x21668b)throw new Error(_0x26a2ea(0x209)+_0x5bb982+_0x26a2ea(0x2b6)+_0x21668b+'.');return{..._0x18cc4e,'id':_0x21668b,'type':_0xfb3066,'params':{'unitId':_0x163620['unitId'],'textRanges':_0x163620['textRanges'],'actions':_0x574d17[_0x26a2ea(0x27b)](_0x29de4f['actions'],_0x163620[_0x26a2ea(0x1b0)])}};},{})],_0x1219b2=(_0x2f344f=(_0x311df9=_0x21e458[_0x32a973(0x3a6)]())==null?void 0x0:_0x311df9[_0x32a973(0x104)])!=null?_0x2f344f:_0x32a973(0x2eb),_0x101c59=(_0x3122e9=(_0x24a544=_0x21e458[_0x32a973(0x3a6)]())==null?void 0x0:_0x24a544[_0x32a973(0x2d9)])!=null?_0x3122e9:_0x32a973(0x2eb);return{'changeset':{'unitID':_0x599614,'type':_0x45d9f6(_0x96fa38[_0x32a973(0x17c)](_0x599614)),'baseRev':_0x3ee775[_0x32a973(0x2a9)](_0x599614),'revision':0x0,'userID':_0x1219b2,'memberID':_0x101c59,'mutations':_0x17f0a1},'pendingMutations':[]};}function Ii(_0x8fd9a5,_0x296723){const _0x51f855=new _0x297fd2(0x1);return setTimeout(()=>_0x51f855['next'](_0x296723),_0x8fd9a5),_0x51f855['asObservable']()['pipe'](_0x2474d8(0x1));}const Js={'id':_0x3b4119['id'],'type':_0x32811a[_0x4d9803(0x160)],'params':{}};var Xs=Object[_0x4d9803(0x106)],Ie=(_0x2b5cee,_0x48b8cc,_0x3389e6,_0x200f42)=>{for(var _0x3bfb9b=_0x200f42>0x1?void 0x0:_0x200f42?Xs(_0x48b8cc,_0x3389e6):_0x48b8cc,_0x37c922=_0x2b5cee['length']-0x1,_0x455a88;_0x37c922>=0x0;_0x37c922--)(_0x455a88=_0x2b5cee[_0x37c922])&&(_0x3bfb9b=_0x455a88(_0x3bfb9b)||_0x3bfb9b);return _0x3bfb9b;},P=(_0x5bda53,_0x13c139)=>(_0xb4e2f1,_0x3b919a)=>_0x13c139(_0xb4e2f1,_0x3b919a,_0x5bda53),Ti=(_0x4c07fa=>(_0x4c07fa['NOT_COLLAB']='not_collab',_0x4c07fa[_0x4d9803(0x181)]=_0x4d9803(0x367),_0x4c07fa[_0x4d9803(0x279)]=_0x4d9803(0x119),_0x4c07fa[_0x4d9803(0x2ed)]=_0x4d9803(0x245),_0x4c07fa[_0x4d9803(0x1e4)]='awaiting_with_pending',_0x4c07fa[_0x4d9803(0x1d2)]='fetch_missing',_0x4c07fa[_0x4d9803(0xf0)]=_0x4d9803(0x258),_0x4c07fa[_0x4d9803(0x198)]='offline',_0x4c07fa))(Ti||{});const Ci=0xea60;class Te{constructor(_0x1c49f5,_0x275306,_0x29cf2f,_0x3d34c4,_0x38fed2,_0x5d6a0d,_0x41b1e9,_0x787cc7,_0x2a2651){var _0x3b3b4a=_0x4d9803;N(this,'_awaitingChangeset',null),N(this,_0x3b3b4a(0x2c9),[]),(this[_0x3b3b4a(0x347)]=_0x1c49f5,this[_0x3b3b4a(0x376)]=_0x275306,this[_0x3b3b4a(0x254)]=_0x38fed2,this[_0x3b3b4a(0x26f)]=_0x5d6a0d,this[_0x3b3b4a(0x204)]=_0x41b1e9,this[_0x3b3b4a(0x223)]=_0x787cc7,this[_0x3b3b4a(0x30a)]=_0x2a2651,this['_awaitingChangeset']=_0x29cf2f,this[_0x3b3b4a(0x2c9)]=_0x3d34c4);}['_checkMissing'](_0x263d20){var _0x279a72=_0x4d9803;const _0x22597e=this['_revisionService'][_0x279a72(0x2a9)](this[_0x279a72(0x347)]);return _0x263d20['revision']>_0x22597e+0x1?(this[_0x279a72(0x254)]['onMissingChangesets']({'from':_0x22597e,'to':_0x263d20[_0x279a72(0x3be)]-0x1}),!0x0):!0x1;}[_0x4d9803(0x179)](_0x2d827e){var _0x5bd589=_0x4d9803;this['_undoRedoService']['transformUndoRedo'](this[_0x5bd589(0x347)],_0x2d827e);}[_0x4d9803(0x12b)](_0x11057a){var _0x5a6e9a=_0x4d9803,_0x38e17e,_0x2ebde6;(_0x2ebde6=(_0x38e17e=this[_0x5a6e9a(0x254)])['onTransformSelections'])==null||_0x2ebde6[_0x5a6e9a(0xd4)](_0x38e17e,_0x11057a);}[_0x4d9803(0x217)](_0x504450){var _0x18a284=_0x4d9803,_0x53f559,_0x4848ef;return(_0x4848ef=(_0x53f559=this[_0x18a284(0x254)])[_0x18a284(0x267)])==null?void 0x0:_0x4848ef[_0x18a284(0xd4)](_0x53f559,_0x504450);}[_0x4d9803(0x2af)](_0x53c36a){var _0x4939f4=_0x4d9803,_0x3a3687,_0x162985;return(_0x162985=(_0x3a3687=this['_handler'])[_0x4939f4(0x250)])==null?void 0x0:_0x162985[_0x4939f4(0xd4)](_0x3a3687,_0x53c36a);}[_0x4d9803(0x229)](_0x1d3305){var _0xade60=_0x4d9803,_0x2af86e,_0x5aadea,_0x3b1fb7;return(_0x3b1fb7=(_0x5aadea=(_0x2af86e=this[_0xade60(0x254)])[_0xade60(0x184)])==null?void 0x0:_0x5aadea['call'](_0x2af86e,_0x1d3305))!=null?_0x3b1fb7:_0x1d3305;}[_0x4d9803(0x2ba)](_0x58e0b6){var _0x3502dc=_0x4d9803,_0x3bba5e,_0xb7adcc,_0x3b48aa;return(_0x3b48aa=(_0xb7adcc=(_0x3bba5e=this[_0x3502dc(0x254)])[_0x3502dc(0x1fd)])==null?void 0x0:_0xb7adcc[_0x3502dc(0xd4)](_0x3bba5e,_0x58e0b6))!=null?_0x3b48aa:_0x58e0b6;}[_0x4d9803(0xe4)](_0x5d83ef){var _0x2ac302=_0x4d9803,_0x39d731,_0x227aeb;if(this['type']===Z[_0x2ac302(0x34f)]){const {unitID:_0xb18672,mutations:_0x3ad5cb,memberID:_0x37fad9}=_0x5d83ef,_0x3b4140=_0x3ad5cb[0x0][_0x2ac302(0x3aa)][_0x2ac302(0x1f9)];Array[_0x2ac302(0x362)](_0x3b4140)&&_0x3b4140['length']>0x0&&((_0x227aeb=(_0x39d731=this[_0x2ac302(0x254)])[_0x2ac302(0x141)])==null||_0x227aeb[_0x2ac302(0xd4)](_0x39d731,{'unitID':_0xb18672,'memberID':_0x37fad9,'textRanges':_0x3b4140}));}}[_0x4d9803(0x124)](){var _0x36a081=_0x4d9803,_0x4b8918;(_0x4b8918=this[_0x36a081(0x30a)])==null||_0x4b8918[_0x36a081(0x2ee)](this[_0x36a081(0x347)],this[_0x36a081(0x376)],this[_0x36a081(0x20c)],this[_0x36a081(0x2c9)]);}[_0x4d9803(0x17b)](){var _0x5ef1fa=_0x4d9803;return this[_0x5ef1fa(0x223)][_0x5ef1fa(0x2a9)](this[_0x5ef1fa(0x347)]);}[_0x4d9803(0x39c)](){var _0x5aa8fe=_0x4d9803;this[_0x5aa8fe(0x223)][_0x5aa8fe(0x2aa)](this[_0x5aa8fe(0x347)]);}['_executeRemoteChangeset'](_0x34368e){var _0x5da81b=_0x4d9803,_0x399779;let _0x280317=this[_0x5da81b(0x229)](_0x34368e);_0x280317=this[_0x5da81b(0x2ba)](_0x280317);const _0x1e566f=_0x196957(_0x280317[_0x5da81b(0xe5)],this[_0x5da81b(0x26f)],{'fromCollab':!0x0});if(!_0x1e566f['result'])throw _0x1e566f[_0x5da81b(0x153)]instanceof Error?_0x1e566f[_0x5da81b(0x153)]:new Error((_0x399779=_0x1e566f['error'])!=null?_0x399779:_0x5da81b(0x293));this['_transformIMECache'](_0x280317),this['_transformStateCache'](_0x280317),this[_0x5da81b(0x179)](_0x34368e),this[_0x5da81b(0x12b)](_0x280317),this[_0x5da81b(0xe4)](_0x280317),this[_0x5da81b(0x39c)]();}}let ye=class extends Te{constructor(_0x55d40f,_0x328a93,_0x1f9eb6,_0x4279b5,_0x22a978,_0x5ae0ab,_0x35c03c,_0x3ed30d,_0x14f575,_0x40035d){var _0x4d0e6=_0x4d9803;super(_0x55d40f,_0x328a93,null,[],_0x1f9eb6,_0x35c03c,_0x5ae0ab,_0x4279b5,_0x40035d),N(this,_0x4d0e6(0x155),_0x4d0e6(0x367)),(this[_0x4d0e6(0x280)]=_0x22a978,this['_logService']=_0x3ed30d,this[_0x4d0e6(0x23b)]=_0x14f575,this[_0x4d0e6(0x2b0)]=_0x40035d);}['appendMutation'](_0x1f21d6){var _0x32b9be=_0x4d9803;const _0x3c875b=this[_0x32b9be(0x280)]['createInstance'](re,this[_0x32b9be(0x347)],this[_0x32b9be(0x376)],[_0x1f21d6],this[_0x32b9be(0x254)]);return _0x3c875b[_0x32b9be(0x215)](),_0x3c875b[_0x32b9be(0x124)](),_0x3c875b;}['onRemoteChangeset'](_0x42a01d){var _0x100001=_0x4d9803;if(this[_0x100001(0x390)](_0x42a01d))return this['_injector']['createInstance'](Q,this[_0x100001(0x347)],this[_0x100001(0x376)],null,[],null,[_0x42a01d],this['_handler']);try{const _0x1e123c=this['_transformService'][_0x100001(0x1e1)](_0x42a01d,[Js]);if(_0x466df9(_0x1e123c)){const {c1Prime:_0x2f3e06}=_0x1e123c;return this[_0x100001(0x381)](_0x2f3e06),this;}throw _0x1e123c[_0x100001(0x153)];}catch(_0xc1b73f){return this[_0x100001(0x31b)]['error'](_0xc1b73f),this[_0x100001(0x3c6)](!0x1);}}['_onConflict'](_0x841f8c){var _0x46e3e4=_0x4d9803;return this['_injector']['createInstance'](le,this[_0x46e3e4(0x347)],this[_0x46e3e4(0x376)],null,[],this[_0x46e3e4(0x254)],_0x841f8c);}[_0x4d9803(0x307)](){var _0x374051=_0x4d9803;throw new Error(_0x374051(0x1d7));}[_0x4d9803(0x105)](){var _0x10b514=_0x4d9803;throw new Error(_0x10b514(0x313));}[_0x4d9803(0xee)](){return this;}[_0x4d9803(0x2c0)](){var _0x45226f=_0x4d9803;return this[_0x45226f(0x280)][_0x45226f(0x20b)](ue,this[_0x45226f(0x347)],this[_0x45226f(0x376)],null,[],this['_handler']);}[_0x4d9803(0x287)](){return this;}[_0x4d9803(0x233)](){var _0x430b3a=_0x4d9803;throw new Error(_0x430b3a(0xd3));}['fetchMiss'](){var _0x2f4e26=_0x4d9803;const _0x4bf326=this[_0x2f4e26(0x223)][_0x2f4e26(0x2a9)](this[_0x2f4e26(0x347)]);return this[_0x2f4e26(0x254)][_0x2f4e26(0x2cb)]({'from':_0x4bf326,'to':0x0}),this[_0x2f4e26(0x280)][_0x2f4e26(0x20b)](Q,this[_0x2f4e26(0x347)],this[_0x2f4e26(0x376)],null,[],null,[],this[_0x2f4e26(0x254)]);}};ye=Ie([P(0x3,_0x26a7b2(_0x194843)),P(0x4,_0x26a7b2(_0xac2571)),P(0x5,_0x4f0e5c),P(0x6,_0x4295e4),P(0x7,_0x5e0032),P(0x8,_0x2053d4),P(0x9,_0x426036(J))],ye);let re=class extends Te{constructor(_0x359ec8,_0x49c4f6,_0x5b2eb3,_0x4bd4e9,_0x3e4133,_0x47bda1,_0x4eb2ed,_0x2023c1,_0x2ef43c,_0x3e4432,_0x3cf940,_0x501d13,_0x4fcf88,_0x455606){var _0x37b55d=_0x4d9803;super(_0x359ec8,_0x49c4f6,null,_0x5b2eb3,_0x4bd4e9,_0x2ef43c,_0x4fcf88,_0x47bda1,_0x455606),N(this,_0x37b55d(0x155),'pending'),N(this,_0x37b55d(0x305),null),N(this,_0x37b55d(0x380),null),(this[_0x37b55d(0x280)]=_0x3e4133,this[_0x37b55d(0xd2)]=_0x4eb2ed,this[_0x37b55d(0x31b)]=_0x2023c1,this[_0x37b55d(0x33d)]=_0x3e4432,this[_0x37b55d(0x23b)]=_0x3cf940,this[_0x37b55d(0x16a)]=_0x501d13);}['appendMutation'](_0xc66278){var _0x1fdde2=_0x4d9803;return this[_0x1fdde2(0x2c9)][_0x1fdde2(0x269)](_0xc66278),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x57cc21){var _0x28cc25=_0x4d9803;if(this[_0x28cc25(0x390)](_0x57cc21))return this[_0x28cc25(0x3d1)](),this[_0x28cc25(0x280)]['createInstance'](Q,this['unitID'],this[_0x28cc25(0x376)],null,this[_0x28cc25(0x2c9)],null,[_0x57cc21],this[_0x28cc25(0x254)]);try{const _0x30b927=this[_0x28cc25(0x23b)][_0x28cc25(0x1e1)](_0x57cc21,this['_pendingMutations']);if(_0x466df9(_0x30b927)){const {c1Prime:_0x4b7d35,m2Prime:_0xaa6b3}=_0x30b927;this['_executeRemoteChangeset'](_0x4b7d35);const _0x219ebe=this[_0x28cc25(0x280)][_0x28cc25(0x20b)](re,this[_0x28cc25(0x347)],this[_0x28cc25(0x376)],_0xaa6b3,this[_0x28cc25(0x254)]);this[_0x28cc25(0x3d1)]();const _0x4958d0=new Date()[_0x28cc25(0x1e5)](),_0x1d1d94=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x28cc25(0x305)]-_0x4958d0,0x0):this[_0x28cc25(0x322)]();return _0x219ebe[_0x28cc25(0x215)](_0x1d1d94),_0x219ebe;}throw _0x30b927['error'];}catch(_0x2abb1a){return this[_0x28cc25(0x31b)][_0x28cc25(0x153)](_0x2abb1a),this[_0x28cc25(0x3c6)](!0x1);}}[_0x4d9803(0x307)](){var _0x5d9a48=_0x4d9803;throw new Error(_0x5d9a48(0x310));}[_0x4d9803(0x105)](){var _0x2e0a3d=_0x4d9803;throw new Error(_0x2e0a3d(0x276));}[_0x4d9803(0xee)](){return this;}[_0x4d9803(0x2c0)](){var _0x269332=_0x4d9803;return this[_0x269332(0x3d1)](),this[_0x269332(0x280)][_0x269332(0x20b)](ue,this['unitID'],this[_0x269332(0x376)],null,this[_0x269332(0x2c9)],this['_handler']);}[_0x4d9803(0x287)](){return this;}[_0x4d9803(0x215)](_0x45bb6a){var _0x24925c=_0x4d9803;const _0x514017=_0x45bb6a!=null?_0x45bb6a:this[_0x24925c(0x322)]();this[_0x24925c(0x305)]=new Date()['getTime']()+_0x514017,this[_0x24925c(0x380)]=setTimeout(()=>{var _0x228047=_0x24925c;this['_clearScheduledTask']();let _0x8cf113=null;switch(this['type']){case Z['UNIVER_SHEET']:{_0x8cf113=Wt(this[_0x228047(0x2c9)],this['unitID'],this[_0x228047(0x16a)],this[_0x228047(0x223)],this[_0x228047(0xd2)]);break;}case Z[_0x228047(0x34f)]:{this[_0x228047(0x2c9)][_0x228047(0x3db)](_0x2b22d3=>_0x2b22d3['id']===_0x59d9a6['id'])?_0x8cf113=zs(this['_pendingMutations'],this[_0x228047(0x347)],this[_0x228047(0x16a)],this[_0x228047(0x223)],this[_0x228047(0xd2)]):_0x8cf113=Wt(this[_0x228047(0x2c9)],this[_0x228047(0x347)],this[_0x228047(0x16a)],this[_0x228047(0x223)],this[_0x228047(0xd2)]);break;}default:throw new Error(_0x228047(0x32c)+this[_0x228047(0x376)]+_0x228047(0xfa));}const {changeset:_0x45d468,pendingMutations:_0x5a236b}=_0x8cf113;this[_0x228047(0x254)][_0x228047(0x3bc)](_0x45d468);const _0x5024be=_0x5a236b['length']?this[_0x228047(0x280)][_0x228047(0x20b)](ae,this['unitID'],this[_0x228047(0x376)],_0x45d468,_0x5a236b,this[_0x228047(0x254)],void 0x0):this['_injector']['createInstance'](_e,this[_0x228047(0x347)],this[_0x228047(0x376)],_0x45d468,this['_handler']);_0x5024be[_0x228047(0x124)](),this['_handler'][_0x228047(0x144)](this,_0x5024be);},_0x514017);}['_getSendChangesetTimeout'](){var _0x270244=_0x4d9803,_0x3b0aba;const _0x2474a0=this[_0x270244(0x33d)][_0x270244(0x1fe)](K);return(_0x3b0aba=_0x2474a0==null?void 0x0:_0x2474a0[_0x270244(0x1a6)])!=null?_0x3b0aba:ms;}[_0x4d9803(0x233)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4d9803(0x3d1)](){var _0x4f6213=_0x4d9803;this[_0x4f6213(0x380)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x4d9803(0x3c6)](_0x1a9fb6){var _0x1835af=_0x4d9803;return this['_clearScheduledTask'](),this['_injector'][_0x1835af(0x20b)](le,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x1835af(0x254)],_0x1a9fb6);}};re=Ie([P(0x4,_0x26a7b2(_0xac2571)),P(0x5,_0x26a7b2(_0x194843)),P(0x6,_0x26a7b2(Pe)),P(0x7,_0x5e0032),P(0x8,_0x4295e4),P(0x9,_0xd6fe56),P(0xa,_0x2053d4),P(0xb,_0x3220f3),P(0xc,_0x4f0e5c),P(0xd,_0x426036(J))],re);let _e=class extends Te{constructor(_0x4c7a35,_0x29eb43,_0x2ed375,_0x5c08ec,_0x57fa2e,_0x3c84ba,_0x25c848,_0x255618,_0x551915,_0xf344d6,_0x3b4777){var _0x17c88a=_0x4d9803;super(_0x4c7a35,_0x29eb43,_0x2ed375,[],_0x5c08ec,_0x25c848,_0xf344d6,_0x3c84ba,_0x3b4777),N(this,_0x17c88a(0x155),_0x17c88a(0x245)),N(this,_0x17c88a(0x13c),0x0),N(this,'_resendTimer'),N(this,_0x17c88a(0x3c2)),(this[_0x17c88a(0x280)]=_0x57fa2e,this['_logService']=_0x255618,this[_0x17c88a(0x23b)]=_0x551915);}[_0x4d9803(0x31a)](_0x36a52a){var _0x31edcd=_0x4d9803;this[_0x31edcd(0x3d1)]();const _0x21db99=this[_0x31edcd(0x280)]['createInstance'](ae,this['unitID'],this['type'],this[_0x31edcd(0x20c)],[_0x36a52a],this[_0x31edcd(0x254)],this[_0x31edcd(0x1ef)]);return _0x21db99['_updateLocalCache'](),_0x21db99;}[_0x4d9803(0x274)](_0x4be80c){var _0x142623=_0x4d9803;if(this['_checkMissing'](_0x4be80c))return this[_0x142623(0x3d1)](),this[_0x142623(0x280)]['createInstance'](Q,this[_0x142623(0x347)],this[_0x142623(0x376)],this[_0x142623(0x20c)],[],null,[_0x4be80c],this['_handler']);try{const _0x31666b=this[_0x142623(0x23b)][_0x142623(0x38f)]([_0x4be80c],[this[_0x142623(0x20c)]],!0x1);if(_0x25c1e9(_0x31666b)){const {c1Prime:_0x411ea7,c2Prime:_0x51f29e}=_0x31666b;this['_executeRemoteChangeset'](_0x411ea7[0x0]),_0x51f29e[0x0][_0x142623(0x21c)]=this[_0x142623(0x17b)](),this['_clearScheduledTask']();const _0x540a7c=this['_injector'][_0x142623(0x20b)](_e,this[_0x142623(0x347)],this[_0x142623(0x376)],_0x51f29e[0x0],this[_0x142623(0x254)]);return _0x540a7c[_0x142623(0x124)](),_0x540a7c;}return this[_0x142623(0x3c6)](!0x1);}catch(_0x40507e){return this['_logService'][_0x142623(0x153)](_0x40507e),this[_0x142623(0x3c6)](!0x1);}}[_0x4d9803(0x307)](_0x201baf){var _0x3845c5=_0x4d9803;this['_clearScheduledTask']();const _0x15903d=this[_0x3845c5(0x223)][_0x3845c5(0x2a9)](this[_0x3845c5(0x347)]);if(_0x201baf[_0x3845c5(0x3be)]<_0x15903d-0x1)return this;if(this[_0x3845c5(0x390)](_0x201baf))return this[_0x3845c5(0x280)][_0x3845c5(0x20b)](Q,this['unitID'],this[_0x3845c5(0x376)],null,[],this['_awaitingChangeset'],[],this[_0x3845c5(0x254)]);this[_0x3845c5(0x39c)]();const _0x2050a5=this['_injector'][_0x3845c5(0x20b)](ye,this[_0x3845c5(0x347)],this[_0x3845c5(0x376)],this[_0x3845c5(0x254)]);return _0x2050a5['_updateLocalCache'](),_0x2050a5;}[_0x4d9803(0x105)](_0x596ef0){var _0x2a505d=_0x4d9803;return this['_onConflict'](!!(_0x596ef0!=null&&_0x596ef0[_0x2a505d(0x344)]));}[_0x4d9803(0xee)](_0x33fee9){var _0x3393b6=_0x4d9803;return this['_resendTimeout']>Ci?this[_0x3393b6(0x2c0)]():(this[_0x3393b6(0x1ef)]=Ii(this[_0x3393b6(0x13c)],{'timeout':this[_0x3393b6(0x13c)],'reqId':_0x33fee9[_0x3393b6(0x3d4)]}),this[_0x3393b6(0x3c2)]=this[_0x3393b6(0x1ef)][_0x3393b6(0x22c)](({reqId:_0x5c1981,timeout:_0x414c80})=>{var _0x110c8b=_0x3393b6;this[_0x110c8b(0x3c9)](_0x5c1981,_0x414c80);}),this);}[_0x4d9803(0x2c0)](){var _0x4d8a11=_0x4d9803;return this[_0x4d8a11(0x3d1)](),this['_injector'][_0x4d8a11(0x20b)](ue,this[_0x4d8a11(0x347)],this[_0x4d8a11(0x376)],this[_0x4d8a11(0x20c)],[],this['_handler']);}[_0x4d9803(0x287)](){return this;}[_0x4d9803(0x233)](){var _0x1f8f2c=_0x4d9803;this[_0x1f8f2c(0x254)][_0x1f8f2c(0x3bc)](this[_0x1f8f2c(0x20c)]);}['_onConflict'](_0x403c46){var _0x13f141=_0x4d9803;return this['_clearScheduledTask'](),this[_0x13f141(0x280)][_0x13f141(0x20b)](le,this[_0x13f141(0x347)],this[_0x13f141(0x376)],this[_0x13f141(0x20c)],[],this[_0x13f141(0x254)],_0x403c46);}[_0x4d9803(0x3c9)](_0x4657c4,_0x1550e8){var _0x430a36=_0x4d9803,_0x56224a;_0x4657c4===((_0x56224a=this[_0x430a36(0x20c)])==null?void 0x0:_0x56224a[_0x430a36(0x3d4)])&&(this['resend'](),this[_0x430a36(0x13c)]=_0x1550e8===0x0?0x3e8:_0x1550e8*0x2);}[_0x4d9803(0x3d1)](){var _0x5edff0=_0x4d9803,_0x19d96a;(_0x19d96a=this['_sender'])==null||_0x19d96a[_0x5edff0(0x3e0)](),this[_0x5edff0(0x13c)]=0x0;}};_e=Ie([P(0x4,_0x26a7b2(_0xac2571)),P(0x5,_0x26a7b2(_0x194843)),P(0x6,_0x4295e4),P(0x7,_0x5e0032),P(0x8,_0x2053d4),P(0x9,_0x4f0e5c),P(0xa,_0x426036(J))],_e);let ae=class extends Te{constructor(_0x2525d8,_0x47d767,_0x3e127a,_0x2c4377,_0x32b27a,_0x484f70,_0x1b1f2b,_0x2e9291,_0x21e69d,_0x4dcad9,_0x340ac1,_0x544142,_0x4f60db){var _0x3e356d=_0x4d9803;super(_0x2525d8,_0x47d767,_0x3e127a,_0x2c4377,_0x32b27a,_0x21e69d,_0x544142,_0x2e9291,_0x4f60db),N(this,_0x3e356d(0x155),_0x3e356d(0x299)),N(this,_0x3e356d(0x13c),0x0),N(this,_0x3e356d(0x1ef)),N(this,'_sender'),(this[_0x3e356d(0x280)]=_0x1b1f2b,this['_logService']=_0x4dcad9,this['_transformService']=_0x340ac1,this[_0x3e356d(0x2b0)]=_0x4f60db,_0x484f70&&(this['_resendTimer']=_0x484f70,this[_0x3e356d(0x3c2)]=this['_resendTimer'][_0x3e356d(0x22c)](({reqId:_0xdb0050,timeout:_0x516e57})=>{var _0x491e55=_0x3e356d;this[_0x491e55(0x3c9)](_0xdb0050,_0x516e57);})));}[_0x4d9803(0x31a)](_0x3b1fd3){var _0xaf33d6=_0x4d9803;return this['_pendingMutations'][_0xaf33d6(0x269)](_0x3b1fd3),this;}[_0x4d9803(0x274)](_0x806355){var _0x5ee2c9=_0x4d9803;if(this[_0x5ee2c9(0x390)](_0x806355))return this[_0x5ee2c9(0x3d1)](),this[_0x5ee2c9(0x280)][_0x5ee2c9(0x20b)](Q,this[_0x5ee2c9(0x347)],this[_0x5ee2c9(0x376)],this[_0x5ee2c9(0x20c)],this[_0x5ee2c9(0x2c9)],null,[_0x806355],this[_0x5ee2c9(0x254)]);try{const _0x50a161=this['_transformService'][_0x5ee2c9(0x38f)]([_0x806355],[this[_0x5ee2c9(0x20c)]],!0x1);if(_0x25c1e9(_0x50a161)){const {c1Prime:_0x3afe21,c2Prime:_0x33fd1b}=_0x50a161,_0x9be416=this['_transformService'][_0x5ee2c9(0x1e1)](_0x3afe21[0x0],this[_0x5ee2c9(0x2c9)]);if(_0x466df9(_0x9be416)){const {c1Prime:_0x28cbec,m2Prime:_0x12bfc0}=_0x9be416;return this['_executeRemoteChangeset'](_0x28cbec),_0x33fd1b[0x0][_0x5ee2c9(0x21c)]=this[_0x5ee2c9(0x17b)](),this[_0x5ee2c9(0x3d1)](),this[_0x5ee2c9(0x280)][_0x5ee2c9(0x20b)](ae,this[_0x5ee2c9(0x347)],this['type'],_0x33fd1b[0x0],_0x12bfc0,this['_handler'],void 0x0);}throw _0x9be416[_0x5ee2c9(0x153)];}throw _0x50a161[_0x5ee2c9(0x153)];}catch(_0x20c03b){return this[_0x5ee2c9(0x31b)][_0x5ee2c9(0x153)](_0x20c03b),this[_0x5ee2c9(0x3c6)](!0x1);}}[_0x4d9803(0x307)](_0x2ae82a){var _0xae176b=_0x4d9803;if(this[_0xae176b(0x3d1)](),this[_0xae176b(0x390)](_0x2ae82a))return this[_0xae176b(0x280)]['createInstance'](Q,this[_0xae176b(0x347)],this['type'],null,this[_0xae176b(0x2c9)],this['_awaitingChangeset'],[],this[_0xae176b(0x254)]);this['_incrementRevisionNumber']();const _0x50355f=this[_0xae176b(0x280)]['createInstance'](re,this[_0xae176b(0x347)],this['type'],this['_pendingMutations'],this[_0xae176b(0x254)]);return _0x50355f[_0xae176b(0x215)](),_0x50355f[_0xae176b(0x124)](),_0x50355f;}['onRemoteRej'](_0x15cf04){var _0x187973=_0x4d9803;return this['_onConflict'](!!(_0x15cf04!=null&&_0x15cf04[_0x187973(0x344)]));}[_0x4d9803(0xee)](_0x37be19){var _0x41c3ba=_0x4d9803;return this[_0x41c3ba(0x13c)]>Ci?this[_0x41c3ba(0x2c0)]():(this[_0x41c3ba(0x1ef)]=Ii(this[_0x41c3ba(0x13c)],{'timeout':this[_0x41c3ba(0x13c)],'reqId':_0x37be19[_0x41c3ba(0x3d4)]}),this[_0x41c3ba(0x3c2)]=this[_0x41c3ba(0x1ef)]['subscribe'](({reqId:_0x1b0e5a,timeout:_0x520d89})=>{var _0x1ff0c3=_0x41c3ba;this[_0x1ff0c3(0x3c9)](_0x1b0e5a,_0x520d89);}),this);}[_0x4d9803(0x2c0)](){var _0x3ac497=_0x4d9803;return this['_clearScheduledTask'](),this['_injector']['createInstance'](ue,this[_0x3ac497(0x347)],this[_0x3ac497(0x376)],this['_awaitingChangeset'],this[_0x3ac497(0x2c9)],this[_0x3ac497(0x254)]);}[_0x4d9803(0x287)](){return this;}[_0x4d9803(0x233)](){var _0x5ef12a=_0x4d9803;this['_handler'][_0x5ef12a(0x3bc)](this[_0x5ef12a(0x20c)]);}[_0x4d9803(0x3c6)](_0x3c3674){var _0x5e2cd5=_0x4d9803;return this[_0x5e2cd5(0x3d1)](),this[_0x5e2cd5(0x280)]['createInstance'](le,this[_0x5e2cd5(0x347)],this[_0x5e2cd5(0x376)],null,this[_0x5e2cd5(0x2c9)],this[_0x5e2cd5(0x254)],_0x3c3674);}[_0x4d9803(0x3c9)](_0x40ff9b,_0x5dfe31){var _0x2b20d2=_0x4d9803,_0x21e6f6;_0x40ff9b===((_0x21e6f6=this[_0x2b20d2(0x20c)])==null?void 0x0:_0x21e6f6[_0x2b20d2(0x3d4)])&&(this[_0x2b20d2(0x233)](),this[_0x2b20d2(0x13c)]=_0x5dfe31===0x0?0x3e8:_0x5dfe31*0x2);}[_0x4d9803(0x3d1)](){var _0x4079ca=_0x4d9803,_0x519c2a;(_0x519c2a=this[_0x4079ca(0x3c2)])==null||_0x519c2a[_0x4079ca(0x3e0)](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x26a7b2(_0xac2571)),P(0x7,_0x26a7b2(_0x194843)),P(0x8,_0x4295e4),P(0x9,_0x5e0032),P(0xa,_0x2053d4),P(0xb,_0x4f0e5c),P(0xc,_0x426036(J))],ae);function _0x15b0(_0x588c3f,_0x2e14e3){var _0x3e023b=_0x3e02();return _0x15b0=function(_0x15b0b0,_0x309f2d){_0x15b0b0=_0x15b0b0-0xc3;var _0x111104=_0x3e023b[_0x15b0b0];return _0x111104;},_0x15b0(_0x588c3f,_0x2e14e3);}let le=class extends Te{constructor(_0x4d926a,_0x221d00,_0x20b15f,_0x3c21b3,_0x4c0c30,_0x4f5c19=!0x1,_0x40e4d1,_0x11b34e,_0x12ffd3,_0x254794,_0xb0d129,_0x1a19e7,_0x525ffa){var _0x1c31a4=_0x4d9803;super(_0x4d926a,_0x221d00,_0x20b15f,_0x3c21b3,_0x4c0c30,_0x11b34e,_0x12ffd3,_0x254794,_0x525ffa),N(this,_0x1c31a4(0x155),_0x1c31a4(0x258)),(this[_0x1c31a4(0x1ec)]=_0x4f5c19,this[_0x1c31a4(0x260)]=_0x40e4d1,this[_0x1c31a4(0x314)]=_0xb0d129,this[_0x1c31a4(0x12a)]=_0x1a19e7,this['localCacheService']=_0x525ffa,this[_0x1c31a4(0x116)](),this['_clearLocalCache'](),this[_0x1c31a4(0x371)]());}[_0x4d9803(0x31a)](){return this;}[_0x4d9803(0x274)](){return this;}[_0x4d9803(0x307)](){return this;}[_0x4d9803(0x105)](){return this;}[_0x4d9803(0xee)](){return this;}[_0x4d9803(0x2c0)](){return this;}[_0x4d9803(0x287)](){return this;}[_0x4d9803(0x233)](){var _0x535c46=_0x4d9803;throw new Error(_0x535c46(0x156));}['_clearLocalCache'](){var _0x41d06e=_0x4d9803,_0xc900db;(_0xc900db=this[_0x41d06e(0x30a)])==null||_0xc900db[_0x41d06e(0x2ee)](this['unitID'],this[_0x41d06e(0x376)],null,[]);}['_showConflictNotification'](){var _0x152795=_0x4d9803;this['_isPermissionRej']?this[_0x152795(0x12a)]['emitEvent']({'id':ne['PERMISSION_DENIED']}):this[_0x152795(0x12a)][_0x152795(0x2cc)]({'id':ne[_0x152795(0xf0)]});}['_disableEditing'](){this['_permissionService']['updatePermissionPoint'](new _0xec4272(this['unitID'])['id'],!0x1);}};le=Ie([P(0x6,_0x26a7b2(_0x194f04)),P(0x7,_0x4295e4),P(0x8,_0x4f0e5c),P(0x9,_0x26a7b2(_0x194843)),P(0xa,_0x26a7b2(_0x2e4b8f)),P(0xb,_0x26a7b2(ve)),P(0xc,_0x426036(J))],le);let ue=class extends Te{constructor(_0x2eefbd,_0x1fcb9a,_0x2539e7,_0xdf16ac,_0x49775f,_0x179c9f,_0x128686,_0x1b6fe9,_0x73f52f,_0x1a4f24){var _0x5e2b51=_0x4d9803;super(_0x2eefbd,_0x1fcb9a,_0x2539e7,_0xdf16ac,_0x49775f,_0x1b6fe9,_0x73f52f,_0x128686,_0x1a4f24),N(this,_0x5e2b51(0x155),'offline'),this['_injector']=_0x179c9f;}[_0x4d9803(0x31a)](_0x2f7b27){var _0x42fcce=_0x4d9803;return this['_pendingMutations'][_0x42fcce(0x269)](_0x2f7b27),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x5b4458){var _0x55d667=_0x4d9803;throw new Error(_0x55d667(0x11a));}[_0x4d9803(0x307)](){var _0x197b20=_0x4d9803;throw new Error(_0x197b20(0x1d1));}[_0x4d9803(0x105)](){var _0x5a9f36=_0x4d9803;throw new Error(_0x5a9f36(0x1c8));}['onRemoteRetry'](){return this;}[_0x4d9803(0x2c0)](){return this;}[_0x4d9803(0x287)](){var _0x495940=_0x4d9803;const {_injector:_0x35e852,_pendingMutations:_0x4fe59f,_awaitingChangeset:_0x18017e,unitID:_0x5d9406,_handler:_0xef464f,type:_0x81e494}=this,_0x411134=Ri(_0x35e852,_0x5d9406,_0x81e494,_0x18017e,_0x4fe59f,_0xef464f);return _0x411134 instanceof re?_0x411134['_schedule']():(_0x411134 instanceof ae||_0x411134 instanceof _e)&&_0x411134[_0x495940(0x233)](),_0x411134;}['resend'](){var _0xb2966d=_0x4d9803;throw new Error(_0xb2966d(0x3d0));}};ue=Ie([P(0x5,_0x26a7b2(_0xac2571)),P(0x6,_0x26a7b2(_0x194843)),P(0x7,_0x4295e4),P(0x8,_0x4f0e5c),P(0x9,_0x426036(J))],ue);let Q=class extends Te{constructor(_0x405f36,_0x5dac3e,_0x4bd85a,_0x1017c5,_0x44aaec,_0x27a286,_0x33bdb7,_0x1634f1,_0x1e293e,_0x294041,_0xe9fbb3,_0xe558c2,_0x4aeb71,_0x1b1507){var _0x477f0e=_0x4d9803;super(_0x405f36,_0x5dac3e,_0x4bd85a,_0x1017c5,_0x33bdb7,_0xe9fbb3,_0xe558c2,_0x1e293e,_0x1b1507),N(this,'status',_0x477f0e(0xf8)),(this[_0x477f0e(0xff)]=_0x44aaec,this[_0x477f0e(0x21b)]=_0x27a286,this[_0x477f0e(0x280)]=_0x1634f1,this['_logService']=_0x294041,this[_0x477f0e(0x23b)]=_0x4aeb71,this[_0x477f0e(0x2b0)]=_0x1b1507);}[_0x4d9803(0x25c)](_0x17e763){var _0xd63be8=_0x4d9803;try{const _0x35b610=[..._0x17e763,...this[_0xd63be8(0x21b)]],_0x156c84=[this[_0xd63be8(0x20c)]||this['_acknowledgedAwaitingChangeset']][_0xd63be8(0x166)](_0x46c3c1=>!!_0x46c3c1);let _0xedc6b0,_0x83f09d;if(_0x156c84[_0xd63be8(0x312)]){const _0x36b952=this[_0xd63be8(0x23b)]['transformChangesets'](_0x35b610,_0x156c84,!0x1);if(!_0x25c1e9(_0x36b952))throw _0x36b952['error'];_0xedc6b0=_0x36b952[_0xd63be8(0x2dd)],_0x83f09d=_0x36b952[_0xd63be8(0x150)];}else _0xedc6b0=_0x35b610,_0x83f09d=[];let _0x1a0950=this[_0xd63be8(0x2c9)];_0xedc6b0[_0xd63be8(0xe7)](_0x10a08e=>{var _0xb03220=_0xd63be8;let _0x367ded;if(_0x1a0950[_0xb03220(0x312)]){const _0x58499d=this[_0xb03220(0x23b)][_0xb03220(0x1e1)](_0x10a08e,_0x1a0950);if(!_0x466df9(_0x58499d))throw _0x58499d[_0xb03220(0x153)];_0x367ded=_0x58499d['c1Prime'],_0x1a0950=_0x58499d[_0xb03220(0x20f)];}else _0x367ded=_0x10a08e;this[_0xb03220(0x381)](_0x367ded);}),this[_0xd63be8(0xff)]&&this['_incrementRevisionNumber'](),this[_0xd63be8(0x20c)]&&_0x83f09d[_0xd63be8(0x312)]&&(_0x83f09d[0x0][_0xd63be8(0x21c)]=this[_0xd63be8(0x17b)]());let _0x4b7d3b;if(this[_0xd63be8(0x20c)]&&_0x1a0950[_0xd63be8(0x312)]!==0x0)_0x4b7d3b=this[_0xd63be8(0x280)][_0xd63be8(0x20b)](ae,this['unitID'],this[_0xd63be8(0x376)],_0x83f09d[0x0],_0x1a0950,this[_0xd63be8(0x254)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1a0950[_0xd63be8(0x312)]===0x0)_0x83f09d[0x0]['baseRev']=this[_0xd63be8(0x17b)](),_0x4b7d3b=this[_0xd63be8(0x280)][_0xd63be8(0x20b)](_e,this['unitID'],this['type'],_0x83f09d[0x0],this['_handler']);else{if(_0x1a0950[_0xd63be8(0x312)]!==0x0){const _0xa61798=this[_0xd63be8(0x280)][_0xd63be8(0x20b)](re,this[_0xd63be8(0x347)],this[_0xd63be8(0x376)],_0x1a0950,this['_handler']);_0xa61798[_0xd63be8(0x215)](),_0x4b7d3b=_0xa61798;}else _0x4b7d3b=this['_injector']['createInstance'](ye,this[_0xd63be8(0x347)],this[_0xd63be8(0x376)],this[_0xd63be8(0x254)]);}}return _0x4b7d3b[_0xd63be8(0x124)](),_0x4b7d3b;}catch(_0x2d3d70){return this[_0xd63be8(0x31b)][_0xd63be8(0x153)](_0xd63be8(0x28f),_0xd63be8(0x2b9),_0x2d3d70),this[_0xd63be8(0x280)][_0xd63be8(0x20b)](le,this[_0xd63be8(0x347)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0xd63be8(0x254)],!0x1);}}[_0x4d9803(0x233)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4d9803(0x31a)](_0x4b00dc){var _0x43a505=_0x4d9803;return this[_0x43a505(0x2c9)][_0x43a505(0x269)](_0x4b00dc),this;}[_0x4d9803(0x274)](_0x292efb){var _0x4cc1c0=_0x4d9803;return this[_0x4cc1c0(0x21b)]['push'](_0x292efb),this;}['onRemoteAck'](_0xcd0d28){var _0x39ff74=_0x4d9803;if(this['_awaitingChangeset'])return this[_0x39ff74(0xff)]=this['_awaitingChangeset'],this[_0x39ff74(0x20c)]=null,this;throw new Error(_0x39ff74(0x2d0));}[_0x4d9803(0x105)](_0x41d033){var _0x242505=_0x4d9803;return this[_0x242505(0x3c6)](!!(_0x41d033!=null&&_0x41d033[_0x242505(0x344)]));}[_0x4d9803(0xee)](){return this;}[_0x4d9803(0x2c0)](){var _0x2683b9=_0x4d9803;return this['_injector'][_0x2683b9(0x20b)](ue,this[_0x2683b9(0x347)],this[_0x2683b9(0x376)],this[_0x2683b9(0x20c)],this[_0x2683b9(0x2c9)],this[_0x2683b9(0x254)]);}[_0x4d9803(0x287)](){return this;}[_0x4d9803(0x3c6)](_0xcf4aaa){var _0x2679a6=_0x4d9803;return this['_injector'][_0x2679a6(0x20b)](le,this[_0x2679a6(0x347)],this[_0x2679a6(0x376)],this[_0x2679a6(0x20c)],this[_0x2679a6(0x2c9)],this['_handler'],_0xcf4aaa);}};Q=Ie([P(0x7,_0x26a7b2(_0xac2571)),P(0x8,_0x26a7b2(_0x194843)),P(0x9,_0x5e0032),P(0xa,_0x4295e4),P(0xb,_0x4f0e5c),P(0xc,_0x2053d4),P(0xd,_0x426036(J))],Q);function Ri(_0x593da1,_0xfeadc2,_0x6105d9,_0x4aaaab,_0x2631a9,_0x54735c){var _0x2bf0cf=_0x4d9803;return _0x4aaaab&&_0x2631a9[_0x2bf0cf(0x312)]?_0x593da1[_0x2bf0cf(0x20b)](ae,_0xfeadc2,_0x6105d9,_0x4aaaab,_0x2631a9,_0x54735c,void 0x0):_0x4aaaab?_0x593da1[_0x2bf0cf(0x20b)](_e,_0xfeadc2,_0x6105d9,_0x4aaaab,_0x54735c):_0x2631a9['length']?_0x593da1['createInstance'](re,_0xfeadc2,_0x6105d9,_0x2631a9,_0x54735c):_0x593da1[_0x2bf0cf(0x20b)](ye,_0xfeadc2,_0x6105d9,_0x54735c);}var Zs=Object[_0x4d9803(0x106)],wt=(_0x512fcd,_0x378557,_0x2c685f,_0x84d57d)=>{var _0x2a83ad=_0x4d9803;for(var _0x38d313=_0x84d57d>0x1?void 0x0:_0x84d57d?Zs(_0x378557,_0x2c685f):_0x378557,_0x5aea09=_0x512fcd[_0x2a83ad(0x312)]-0x1,_0xd56ec7;_0x5aea09>=0x0;_0x5aea09--)(_0xd56ec7=_0x512fcd[_0x5aea09])&&(_0x38d313=_0xd56ec7(_0x38d313)||_0x38d313);return _0x38d313;},H=(_0x67d990,_0x3cc176)=>(_0x44a5ec,_0x1694c9)=>_0x3cc176(_0x44a5ec,_0x1694c9,_0x67d990);let st=class extends _0x2811ce{constructor(_0x494904,_0x1acb68,_0x1ce42c,_0x2ac7df,_0x43a50e,_0x1b4095,_0xfddd28,_0x10af48,_0x3a08cd,_0x13f3a2,_0x50a864,_0x5a528a,_0x50a676){var _0x25b428=_0x4d9803;super(),N(this,'_state$',new _0x48224c(null)),N(this,'state$',this[_0x25b428(0x114)][_0x25b428(0x2bd)]()),N(this,_0x25b428(0x1a0)),N(this,_0x25b428(0x19c),!0x1),N(this,_0x25b428(0x231),''),N(this,_0x25b428(0x2bc),0x0),N(this,_0x25b428(0x1b5),this[_0x25b428(0x2a2)][_0x25b428(0xdd)](_0x1e40a6(_0x43fbad=>_0x43fbad?_0x43fbad[_0x25b428(0x155)]:Ti['OFFLINE']),_0xa0608b(0x1))),N(this,_0x25b428(0x1f5),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x25b428(0x347)]=_0x494904,this[_0x25b428(0x103)]=_0x1acb68,this['_type']=_0x1ce42c,this[_0x25b428(0x280)]=_0x2ac7df,this[_0x25b428(0x387)]=_0x43a50e,this[_0x25b428(0x314)]=_0x1b4095,this[_0x25b428(0x223)]=_0xfddd28,this[_0x25b428(0x301)]=_0x10af48,this[_0x25b428(0x31b)]=_0x3a08cd,this[_0x25b428(0x26f)]=_0x13f3a2,this['_permissionService']=_0x50a864,this[_0x25b428(0x11c)]=_0x5a528a,this[_0x25b428(0x30a)]=_0x50a676);}get[_0x4d9803(0x126)](){var _0xf81e1=_0x4d9803;return this[_0xf81e1(0x1a0)];}async[_0x4d9803(0x366)](){var _0x4fc68d=_0x4d9803;if(this[_0x4fc68d(0x126)])throw new Error(_0x4fc68d(0x38e));await this[_0x4fc68d(0x1c5)]();}['pauseCollaboration'](){var _0x1eca98=_0x4d9803;return this[_0x1eca98(0x19c)]=!0x0,_0x40d965(()=>{var _0x332655=_0x1eca98;this[_0x332655(0x19c)]=!0x1,this[_0x332655(0x2ab)]();});}[_0x4d9803(0x1fb)](_0x3d7f9f){var _0x143758=_0x4d9803;this[_0x143758(0x2ec)](_0x3d7f9f);}[_0x4d9803(0x2c6)](_0x10d4ab){var _0x33863c=_0x4d9803;this[_0x33863c(0x1a0)]=_0x10d4ab,this[_0x33863c(0x114)][_0x33863c(0x137)](_0x10d4ab);}async[_0x4d9803(0x1c5)](){var _0x797b9a=_0x4d9803,_0x5cb9c4;this['_updateState'](await this['_createInitialState']()),this[_0x797b9a(0x11c)]&&((_0x5cb9c4=this[_0x797b9a(0x11c)])==null||_0x5cb9c4[_0x797b9a(0x33a)](this['unitID']),this[_0x797b9a(0x34c)](this['_singleActiveUnitService'][_0x797b9a(0x3da)](this['unitID'])['subscribe'](_0x846416=>{var _0x4ee36d=_0x797b9a;this['_logService'][_0x4ee36d(0x264)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x846416),_0x846416===Ei[_0x4ee36d(0xf5)]?(this[_0x4ee36d(0x301)][_0x4ee36d(0x2cc)]({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x4ee36d(0x260)][_0x4ee36d(0x25f)](new _0xec4272(this[_0x4ee36d(0x347)])['id'],!0x1),this['_permissionService'][_0x4ee36d(0x255)](!0x1)):(this['_permissionService'][_0x4ee36d(0x25f)](new _0xec4272(this['unitID'])['id'],!0x0),this[_0x4ee36d(0x260)][_0x4ee36d(0x255)](!0x0));})));let _0x4608ee=!0x1;return this[_0x797b9a(0x34c)](this['session']['sessionStatus$'][_0x797b9a(0x22c)](_0x4b5766=>{var _0x28b193=_0x797b9a;_0x4b5766===Se[_0x28b193(0x13b)]?this[_0x28b193(0x14d)](_0x4608ee):_0x4b5766===Se[_0x28b193(0x198)]&&(_0x4608ee=!0x0,this['_toggleOffline']());})),this[_0x797b9a(0x34c)](this[_0x797b9a(0x103)][_0x797b9a(0x37a)][_0x797b9a(0x22c)](_0x195127=>{var _0x2fcb2a=_0x797b9a;try{switch(_0x195127[_0x2fcb2a(0x2f6)]){case _0x363164[_0x2fcb2a(0x295)]:{this['_onRemoteChangeset'](_0x1a5180(_0x195127[_0x2fcb2a(0x1a1)]));break;}case _0x363164['CHANGESET_ACK']:{this[_0x2fcb2a(0x22a)](_0x195127[_0x2fcb2a(0x1a1)]);break;}case _0x363164['CHANGESET_REJ']:{this[_0x2fcb2a(0x329)]();break;}case _0x363164[_0x2fcb2a(0x27f)]:{this[_0x2fcb2a(0x283)](_0x195127[_0x2fcb2a(0x1a1)]);break;}case _0x363164[_0x2fcb2a(0x1db)]:{this[_0x2fcb2a(0x2fd)](_0x195127[_0x2fcb2a(0x1a1)]['changesets'][_0x2fcb2a(0x268)](_0x4bb1e0=>_0x1a5180(_0x4bb1e0)));break;}case _0x363164[_0x2fcb2a(0x157)]:{this[_0x2fcb2a(0x329)]({'isPermissionRej':!0x0});break;}case _0x363164[_0x2fcb2a(0x186)]:break;}}catch(_0x30606e){throw console['error'](_0x2fcb2a(0x14a),_0x30606e),_0x30606e;}})),this['_state'];}[_0x4d9803(0x2e7)](){var _0x3e540f=_0x4d9803;this[_0x3e540f(0x1f5)]=!0x1;}[_0x4d9803(0x16d)](){var _0x4d6355=_0x4d9803;if(this[_0x4d6355(0x1f5)])throw new Error(_0x4d6355(0x399));this['_transitionLocked']=!0x0;}[_0x4d9803(0x2ec)](_0x525e34){var _0x47f92e=_0x4d9803;this[_0x47f92e(0x16d)](),this[_0x47f92e(0x2c6)](this[_0x47f92e(0x1a0)][_0x47f92e(0x31a)](_0x525e34)),this[_0x47f92e(0x2e7)]();}['_onRemoteChangeset'](_0x158508){var _0x2b3a06=_0x4d9803;if(!(_0x158508[_0x2b3a06(0x3be)]<=this[_0x2b3a06(0x223)][_0x2b3a06(0x2a9)](this[_0x2b3a06(0x347)]))){if(this[_0x2b3a06(0x19c)]){this[_0x2b3a06(0x19b)][_0x2b3a06(0x269)](_0x158508);return;}this[_0x2b3a06(0x172)](_0x158508);}}[_0x4d9803(0x2ab)](){var _0x281934=_0x4d9803;this['_remoteChangesetQueue'][_0x281934(0xe7)](_0x112856=>this[_0x281934(0x172)](_0x112856)),this[_0x281934(0x19b)]=[];}[_0x4d9803(0x172)](_0x4e362b){var _0x258229=_0x4d9803;const _0x2874e9=this[_0x258229(0x387)][_0x258229(0xc3)][_0x258229(0x321)](this[_0x258229(0x387)][_0x258229(0xc3)][_0x258229(0x29f)]()[_0x258229(0x16c)])(_0x4e362b[_0x258229(0xe5)],null)||_0x4e362b[_0x258229(0xe5)],_0x502746={..._0x4e362b,'mutations':_0x2874e9};this[_0x258229(0x16d)](),this[_0x258229(0x2c6)](this[_0x258229(0x1a0)][_0x258229(0x274)](_0x502746)),this[_0x258229(0x2e7)]();}[_0x4d9803(0x22a)](_0x40d301){var _0x5d2a81=_0x4d9803;this[_0x5d2a81(0x16d)](),this[_0x5d2a81(0x2c6)](this[_0x5d2a81(0x1a0)][_0x5d2a81(0x307)](_0x40d301)),this[_0x5d2a81(0x2e7)]();}[_0x4d9803(0x329)](_0x2368da){var _0x5f53b5=_0x4d9803;this[_0x5f53b5(0x16d)](),this['_updateState'](this[_0x5f53b5(0x1a0)][_0x5f53b5(0x105)](_0x2368da)),this[_0x5f53b5(0x2e7)]();}[_0x4d9803(0x283)](_0x273170){var _0x1d8006=_0x4d9803;this['_lockTransition'](),this[_0x1d8006(0x2c6)](this['_state'][_0x1d8006(0xee)](_0x273170)),this[_0x1d8006(0x2e7)]();}[_0x4d9803(0x2fd)](_0x42ba76){var _0x400f31=_0x4d9803;if(!(this['_state']instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x31fd2d=_0x42ba76[_0x400f31(0x268)](_0x58bdf9=>{var _0x2499e8=_0x400f31;const _0x4f1f35=this[_0x2499e8(0x387)][_0x2499e8(0xc3)][_0x2499e8(0x321)](this[_0x2499e8(0x387)][_0x2499e8(0xc3)][_0x2499e8(0x29f)]()[_0x2499e8(0x16c)])(_0x58bdf9[_0x2499e8(0xe5)],null)||_0x58bdf9[_0x2499e8(0xe5)];return{..._0x58bdf9,'mutations':_0x4f1f35};});this[_0x400f31(0x16d)](),this[_0x400f31(0x2c6)](this['_state']['onMissedChangesetFetched'](_0x31fd2d)),this[_0x400f31(0x2e7)]();}[_0x4d9803(0x37b)](){var _0x3ea98f=_0x4d9803;this['_lockTransition'](),this['_updateState'](this[_0x3ea98f(0x1a0)]['toggleOffline']()),this[_0x3ea98f(0x2e7)]();}['_toggleOnline'](_0x45e878=!0x1){var _0x385f61=_0x4d9803;this[_0x385f61(0x16d)](),this[_0x385f61(0x2c6)](this['_state']['toggleOnline']()),this[_0x385f61(0x2e7)]();const _0x2397ab=this[_0x385f61(0x1a0)];_0x45e878&&_0x2397ab instanceof ye&&(this[_0x385f61(0x16d)](),this[_0x385f61(0x2c6)](_0x2397ab[_0x385f61(0x270)]()),this[_0x385f61(0x2e7)]());}async['_createInitialState'](){return new Promise(_0x58ce19=>{var _0x204dd3=_0x15b0;this[_0x204dd3(0x103)][_0x204dd3(0x398)]['pipe'](_0x2474d8(0x1))[_0x204dd3(0x22c)](async _0x3e1fca=>{var _0x222849=_0x204dd3;_0x58ce19(await this[_0x222849(0x10a)](_0x3e1fca===Se[_0x222849(0x13b)]));});});}[_0x4d9803(0x1e3)](){var _0x3b8091=_0x4d9803;const _0x243adb=this[_0x3b8091(0x347)];return{'onStateChange':(_0x380dc2,_0x2b28f7)=>{var _0x17a134=_0x3b8091;if(_0x380dc2!==this[_0x17a134(0x1a0)])throw new Error(_0x17a134(0xea)+_0x380dc2['status']+'\x0aAfter:\x20'+_0x2b28f7[_0x17a134(0x155)]+_0x17a134(0x3a9)+this[_0x17a134(0x1a0)][_0x17a134(0x155)]);this[_0x17a134(0x2c6)](_0x2b28f7);},'onSendChangeset':_0xfea28b=>{var _0x49fe82=_0x3b8091;_0xfea28b['sid']||(_0xfea28b[_0x49fe82(0x377)]=this['_changesetSessionId'],_0xfea28b[_0x49fe82(0x3d4)]=++this[_0x49fe82(0x2bc)]);const _0x2fce8e={'eventID':_0x363164[_0x49fe82(0xe0)],'data':{'unitID':_0xfea28b[_0x49fe82(0x347)],'unitType':this[_0x49fe82(0x32d)],'changeset':_0xfea28b,'memberID':this[_0x49fe82(0x103)][_0x49fe82(0x207)]()}};this[_0x49fe82(0x103)][_0x49fe82(0x350)](_0x2fce8e,this[_0x49fe82(0x347)]);},'onMissingChangesets':({from:_0x494efd,to:_0x1b6215})=>{var _0x178c1c=_0x3b8091;this[_0x178c1c(0x31b)]['debug'](_0x178c1c(0x2fb),_0x178c1c(0x1d6)+_0x494efd+_0x178c1c(0x3b4)+_0x1b6215);const _0x385a80={'eventID':_0x363164[_0x178c1c(0x3bd)],'data':{'unitID':_0x243adb,'unitType':this[_0x178c1c(0x32d)],'from':_0x494efd,'to':_0x1b6215}};this[_0x178c1c(0x103)]['send'](_0x385a80,this[_0x178c1c(0x347)]);}};}async[_0x4d9803(0x10a)](_0x3b61f0){var _0x8ed0aa=_0x4d9803,_0x4ce51c,_0x1668aa,_0x2337df;const _0x1431af=await((_0x4ce51c=this[_0x8ed0aa(0x30a)])==null?void 0x0:_0x4ce51c[_0x8ed0aa(0x2b8)](this[_0x8ed0aa(0x347)])),_0x198d65=(_0x1668aa=_0x1431af==null?void 0x0:_0x1431af['mutations'])!=null?_0x1668aa:[],_0xfa8439=(_0x2337df=_0x1431af==null?void 0x0:_0x1431af[_0x8ed0aa(0x316)])!=null?_0x2337df:null,_0x4032e4=!!(_0xfa8439!=null&&_0xfa8439[_0x8ed0aa(0x377)])&&!!(_0xfa8439!=null&&_0xfa8439[_0x8ed0aa(0x3d4)]);this['_changesetSessionId']=_0x4032e4?_0xfa8439[_0x8ed0aa(0x377)]:_0x25c7b8(),this[_0x8ed0aa(0x2bc)]=_0x4032e4?_0xfa8439[_0x8ed0aa(0x3d4)]:0x0;const _0x29e60d=this[_0x8ed0aa(0x347)];try{this[_0x8ed0aa(0x3d2)](_0xfa8439,_0x198d65);}catch(_0x3da619){this[_0x8ed0aa(0x31b)][_0x8ed0aa(0x153)](_0x3da619);}const _0x58e35f=this[_0x8ed0aa(0x1e3)]();if(_0x3b61f0){const _0x1d31d0=Ri(this[_0x8ed0aa(0x280)],_0x29e60d,this[_0x8ed0aa(0x32d)],_0xfa8439,_0x198d65,_0x58e35f);return _0x1d31d0 instanceof re?_0x1d31d0[_0x8ed0aa(0x215)]():(_0x1d31d0 instanceof ae||_0x1d31d0 instanceof _e)&&_0x1d31d0[_0x8ed0aa(0x233)](),_0x1d31d0;}return this[_0x8ed0aa(0x280)][_0x8ed0aa(0x20b)](ue,_0x29e60d,this[_0x8ed0aa(0x32d)],_0xfa8439,_0x198d65,_0x58e35f);}[_0x4d9803(0x3d2)](_0x1684b8,_0x3069bd){var _0x5aa743=_0x4d9803,_0x1bf1f4,_0x3016e8;const _0xa02a2b=this[_0x5aa743(0x387)]['interceptor'][_0x5aa743(0x321)](this[_0x5aa743(0x387)][_0x5aa743(0xc3)]['getInterceptPoints']()[_0x5aa743(0x16c)]);(_0x1bf1f4=_0xa02a2b((_0x1684b8==null?void 0x0:_0x1684b8['mutations'])||[],null))==null||_0x1bf1f4[_0x5aa743(0xe7)](_0x2862f4=>this[_0x5aa743(0x26f)]['executeCommand'](_0x2862f4['id'],_0x2862f4[_0x5aa743(0x3aa)])),(_0x3016e8=_0xa02a2b(_0x3069bd||[],null))==null||_0x3016e8[_0x5aa743(0xe7)](_0x68cb75=>this[_0x5aa743(0x26f)][_0x5aa743(0x396)](_0x68cb75['id'],_0x68cb75['params']));}};st=wt([H(0x3,_0x26a7b2(_0xac2571)),H(0x4,_0x26a7b2(_0x1eb892)),H(0x5,_0x26a7b2(_0x2e4b8f)),H(0x6,_0x26a7b2(_0x194843)),H(0x7,_0x26a7b2(ve)),H(0x8,_0x5e0032),H(0x9,_0x4295e4),H(0xa,_0x194f04),H(0xb,_0x426036(ht)),H(0xc,_0x426036(J))],st);let St=class extends st{constructor(_0x53f3c5,_0x59fb3a,_0x294330,_0x23264d,_0x467506,_0x379701,_0x54cc82,_0x47060e,_0xbe4e4d,_0x211323,_0x496036,_0xf22b09,_0x16b503){super(_0x53f3c5,_0x294330,_0x59fb3a,_0x23264d,_0x467506,_0x379701,_0x54cc82,_0x47060e,_0xbe4e4d,_0x211323,_0x496036,_0xf22b09,_0x16b503),N(this,'_handlerCallback',null),(this['unitID']=_0x53f3c5,this['type']=_0x59fb3a);}['addHandlerCallback'](_0x51dc37){var _0x41002c=_0x4d9803;this[_0x41002c(0x1b6)]=_0x51dc37;}[_0x4d9803(0x10e)](){var _0x4df5f0=_0x4d9803;this['_handlerCallback']=null,super[_0x4df5f0(0x10e)]();}[_0x4d9803(0x1e3)](){var _0x4c9444=_0x4d9803;const _0xd7f3bd=super['_createHandler']();return _0xd7f3bd[_0x4c9444(0x267)]=_0x304cd7=>{var _0x3d4ab0=_0x4c9444,_0xcba9b4,_0xc6b4b;return(_0xc6b4b=(_0xcba9b4=this[_0x3d4ab0(0x1b6)])==null?void 0x0:_0xcba9b4[_0x3d4ab0(0x267)])==null?void 0x0:_0xc6b4b[_0x3d4ab0(0xd4)](_0xcba9b4,_0x304cd7);},_0xd7f3bd[_0x4c9444(0x250)]=_0x4eed9a=>{var _0x58f3b1=_0x4c9444,_0x1dc4a0,_0x2a6220;return(_0x2a6220=(_0x1dc4a0=this[_0x58f3b1(0x1b6)])==null?void 0x0:_0x1dc4a0[_0x58f3b1(0x250)])==null?void 0x0:_0x2a6220[_0x58f3b1(0xd4)](_0x1dc4a0,_0x4eed9a);},_0xd7f3bd[_0x4c9444(0x1ad)]=_0x2ee7e9=>{var _0xc5d9e6=_0x4c9444,_0xbe22ef,_0x1349ec;return(_0x1349ec=(_0xbe22ef=this[_0xc5d9e6(0x1b6)])==null?void 0x0:_0xbe22ef[_0xc5d9e6(0x1ad)])==null?void 0x0:_0x1349ec[_0xc5d9e6(0xd4)](_0xbe22ef,_0x2ee7e9);},_0xd7f3bd[_0x4c9444(0x141)]=_0x1d21a7=>{var _0x5e400a=_0x4c9444,_0x8377fb,_0x24cf99;return(_0x24cf99=(_0x8377fb=this[_0x5e400a(0x1b6)])==null?void 0x0:_0x8377fb[_0x5e400a(0x141)])==null?void 0x0:_0x24cf99[_0x5e400a(0xd4)](_0x8377fb,_0x1d21a7);},_0xd7f3bd[_0x4c9444(0x184)]=_0x4e0fe6=>{var _0x1e6eeb=_0x4c9444,_0x15b18e,_0x3dcfe3,_0x233315;if(!((_0x15b18e=this[_0x1e6eeb(0x1b6)])!=null&&_0x15b18e[_0x1e6eeb(0x184)]))throw new Error(_0x1e6eeb(0x14e));return(_0x233315=(_0x3dcfe3=this[_0x1e6eeb(0x1b6)])==null?void 0x0:_0x3dcfe3[_0x1e6eeb(0x184)])==null?void 0x0:_0x233315[_0x1e6eeb(0xd4)](_0x3dcfe3,_0x4e0fe6);},_0xd7f3bd[_0x4c9444(0x1fd)]=_0x50bc94=>{var _0x708484=_0x4c9444,_0x65b1a,_0x3247f4,_0x41ab64;if(!((_0x65b1a=this[_0x708484(0x1b6)])!=null&&_0x65b1a[_0x708484(0x1fd)]))throw new Error(_0x708484(0x15b));return(_0x41ab64=(_0x3247f4=this[_0x708484(0x1b6)])==null?void 0x0:_0x3247f4[_0x708484(0x1fd)])==null?void 0x0:_0x41ab64[_0x708484(0xd4)](_0x3247f4,_0x50bc94);},_0xd7f3bd;}async[_0x4d9803(0x1c5)](){var _0x112c09=_0x4d9803;const _0x2498d4=await super['_init']();return this[_0x112c09(0x34c)](this[_0x112c09(0x26f)]['onCommandExecuted']((_0x371663,_0x10c68e)=>{var _0x172066=_0x112c09;if(_0x371663['type']!==_0x32811a[_0x172066(0x160)]||_0x10c68e!=null&&_0x10c68e[_0x172066(0x1f3)]||_0x10c68e!=null&&_0x10c68e[_0x172066(0x3b5)]||_0x371663['id']===_0x59d9a6['id'])return;const _0x32c992=_0x371663['params'];if((_0x32c992==null?void 0x0:_0x32c992[_0x172066(0x1c1)])!==this['unitID'])return;const _0x209d2a=_0x371663,_0xeb7215=this[_0x172066(0x387)][_0x172066(0xc3)][_0x172066(0x321)](this['_compressMutationService'][_0x172066(0xc3)][_0x172066(0x29f)]()[_0x172066(0x353)])([_0x209d2a],null)||[_0x209d2a];this['_onLocalMutation'](_0xeb7215[0x0]);})),_0x2498d4;}};St=wt([H(0x3,_0x26a7b2(_0xac2571)),H(0x4,_0x26a7b2(_0x1eb892)),H(0x5,_0x26a7b2(_0x2e4b8f)),H(0x6,_0x26a7b2(_0x194843)),H(0x7,_0x26a7b2(ve)),H(0x8,_0x5e0032),H(0x9,_0x4295e4),H(0xa,_0x194f04),H(0xb,_0x426036(ht)),H(0xc,_0x426036(J))],St);let Et=class extends st{constructor(_0x1a89a5,_0x1ee84c,_0x5275f7,_0x49e3fe,_0x43a929,_0x7a2da4,_0x287082,_0x1e0ac9,_0x2cf8a7,_0x41c793,_0x4eee4e,_0x3cc251,_0xdd0481,_0x2b73ee){var _0x4a7d01=_0x4d9803;super(_0x1a89a5,_0x5275f7,_0x1ee84c,_0x49e3fe,_0x43a929,_0x7a2da4,_0x287082,_0x2cf8a7,_0x41c793,_0x4eee4e,_0x3cc251,_0xdd0481,_0x2b73ee),this[_0x4a7d01(0x347)]=_0x1a89a5,this[_0x4a7d01(0x376)]=_0x1ee84c,this[_0x4a7d01(0x28b)]=_0x1e0ac9;}[_0x4d9803(0x1e3)](){var _0x15dac8=_0x4d9803;const _0x23b34d=super[_0x15dac8(0x1e3)]();return _0x23b34d['onTransformSelections']=_0x34e187=>this[_0x15dac8(0x28b)]['transformSelections'](_0x34e187),_0x23b34d;}async[_0x4d9803(0x1c5)](){var _0x17cb92=_0x4d9803;const _0x5aa5d8=await super[_0x17cb92(0x1c5)]();return this[_0x17cb92(0x34c)](this[_0x17cb92(0x26f)][_0x17cb92(0x167)]((_0x3867d7,_0x1992ec)=>{var _0x221178=_0x17cb92;if(_0x3867d7[_0x221178(0x376)]!==_0x32811a[_0x221178(0x160)]||_0x1992ec!=null&&_0x1992ec['fromCollab']||_0x1992ec!=null&&_0x1992ec[_0x221178(0x3b5)])return;const _0x4e5ecd=_0x3867d7[_0x221178(0x3aa)];if((_0x4e5ecd==null?void 0x0:_0x4e5ecd['unitId'])!==this[_0x221178(0x347)])return;const _0x4aa2cd=_0x3867d7,_0x48e13d=this[_0x221178(0x387)][_0x221178(0xc3)][_0x221178(0x321)](this['_compressMutationService'][_0x221178(0xc3)][_0x221178(0x29f)]()[_0x221178(0x353)])([_0x4aa2cd],null)||[_0x4aa2cd];this['_onLocalMutation'](_0x48e13d[0x0]);})),_0x5aa5d8;}};Et=wt([H(0x3,_0x26a7b2(_0xac2571)),H(0x4,_0x26a7b2(_0x1eb892)),H(0x5,_0x26a7b2(_0x2e4b8f)),H(0x6,_0x26a7b2(_0x194843)),H(0x7,_0x26a7b2(it)),H(0x8,_0x26a7b2(ve)),H(0x9,_0x5e0032),H(0xa,_0x4295e4),H(0xb,_0x194f04),H(0xc,_0x426036(ht)),H(0xd,_0x426036(J))],Et);var Qs=Object['getOwnPropertyDescriptor'],en=(_0x4627e8,_0x5d957b,_0x1b3671,_0x4fcd5f)=>{for(var _0x1f49ae=_0x4fcd5f>0x1?void 0x0:_0x4fcd5f?Qs(_0x5d957b,_0x1b3671):_0x5d957b,_0x130fe1=_0x4627e8['length']-0x1,_0x3ea40e;_0x130fe1>=0x0;_0x130fe1--)(_0x3ea40e=_0x4627e8[_0x130fe1])&&(_0x1f49ae=_0x3ea40e(_0x1f49ae)||_0x1f49ae);return _0x1f49ae;},Be=(_0xf5aa71,_0x3bd9f5)=>(_0x55f8dd,_0x262ca5)=>_0x3bd9f5(_0x55f8dd,_0x262ca5,_0xf5aa71);let nt=class extends _0x2811ce{constructor(_0x82c7a3,_0x82a6fc,_0x2e24a5,_0x5889fc){var _0x5bc61b=_0x4d9803,_0x5d46d5;super(),N(this,_0x5bc61b(0x107),new Map()),N(this,'_entityInit$',new _0x37913a()),N(this,_0x5bc61b(0x2bf),this[_0x5bc61b(0x393)]['asObservable']()),(this[_0x5bc61b(0x280)]=_0x82c7a3,this[_0x5bc61b(0x146)]=_0x82a6fc,this[_0x5bc61b(0x33d)]=_0x2e24a5,this[_0x5bc61b(0x16a)]=_0x5889fc,((_0x5d46d5=this[_0x5bc61b(0x33d)][_0x5bc61b(0x1fe)](K))==null?void 0x0:_0x5d46d5[_0x5bc61b(0x122)])!==!0x1&&this[_0x5bc61b(0x1c5)]());}[_0x4d9803(0x10e)](){var _0x1eed61=_0x4d9803;super['dispose'](),this['_entities'][_0x1eed61(0xe7)](_0x411877=>_0x411877[_0x1eed61(0x10e)]()),this[_0x1eed61(0x107)][_0x1eed61(0x294)]();}[_0x4d9803(0x333)](_0x1c7316){var _0x41e8f6=_0x4d9803,_0x46ccbf;return(_0x46ccbf=this[_0x41e8f6(0x107)][_0x41e8f6(0x35a)](_0x1c7316))!=null?_0x46ccbf:null;}[_0x4d9803(0x12f)](_0x3379fc){var _0x2874ec=_0x4d9803;const _0x44e9d9=this['getCollabEntity'](_0x3379fc);return _0x44e9d9?_0x540c1b(_0x44e9d9):this[_0x2874ec(0x393)][_0x2874ec(0xdd)](_0x5a308f(_0x5d3157=>_0x5d3157['unitID']===_0x3379fc));}['readyForCollab'](_0x13ea83){return _0x2c1156(this['getCollabEntity$'](_0x13ea83)['pipe'](_0x4c9cb8(()=>{})));}[_0x4d9803(0x1c5)](){var _0xcd336b=_0x4d9803;this[_0xcd336b(0x16a)][_0xcd336b(0x185)](_0x4742de[_0xcd336b(0x336)])[_0xcd336b(0xdd)](_0x3d6795(this['dispose$']),_0x2187d4(0x10))[_0xcd336b(0x22c)](async _0x4e27a6=>{var _0x3f0a56=_0xcd336b;const _0x82585d=_0x4e27a6[_0x3f0a56(0x140)](),_0x2e7ea6=await this[_0x3f0a56(0x26d)](_0x82585d,Z[_0x3f0a56(0x336)]);this['_entities'][_0x3f0a56(0x115)](_0x82585d,_0x2e7ea6);}),this[_0xcd336b(0x16a)][_0xcd336b(0x185)](_0x4742de[_0xcd336b(0x34f)])[_0xcd336b(0xdd)](_0x3d6795(this[_0xcd336b(0x318)]),_0x2187d4(0x10))[_0xcd336b(0xdd)](_0x5a308f(_0x36618a=>!_0x36618a[_0xcd336b(0x140)]()[_0xcd336b(0x24b)]('__')))[_0xcd336b(0x22c)](async _0x47bf14=>{var _0x292e7e=_0xcd336b;const _0x4c755b=_0x47bf14['getUnitId'](),_0x566d02=await this[_0x292e7e(0x26d)](_0x4c755b,Z['UNIVER_DOC']);this['_entities']['set'](_0x4c755b,_0x566d02);}),_0x515759(this[_0xcd336b(0x16a)][_0xcd336b(0x39e)](_0x4742de['UNIVER_SHEET']),this[_0xcd336b(0x16a)][_0xcd336b(0x39e)](_0x4742de[_0xcd336b(0x34f)]))[_0xcd336b(0xdd)](_0x3d6795(this[_0xcd336b(0x318)]))['subscribe'](_0x3870e6=>{var _0x46a18c=_0xcd336b;const _0x55b171=_0x3870e6[_0x46a18c(0x140)](),_0x400350=this[_0x46a18c(0x107)][_0x46a18c(0x35a)](_0x55b171);_0x400350&&(_0x400350[_0x46a18c(0x10e)](),this[_0x46a18c(0x107)]['delete'](_0x55b171));});}async['_startCollaboration'](_0x589b4a,_0x25fa24){var _0x3ebc2d=_0x4d9803;const _0x1ed0fe=await this['_collabSessionService']['requireSession'](_0x589b4a),_0x7d12c6=this[_0x3ebc2d(0x280)][_0x3ebc2d(0x20b)](this['_getCtorByUniverType'](_0x25fa24),_0x589b4a,_0x25fa24,_0x1ed0fe);return await _0x7d12c6[_0x3ebc2d(0x366)](),this[_0x3ebc2d(0x393)]['next'](_0x7d12c6),_0x7d12c6;}[_0x4d9803(0x1f0)](_0x19bd18){var _0x5656ef=_0x4d9803;switch(_0x19bd18){case Z[_0x5656ef(0x34f)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x5656ef(0x238)+_0x19bd18);}}};nt=en([Be(0x0,_0x26a7b2(_0xac2571)),Be(0x1,_0x26a7b2(Le)),Be(0x2,_0xd6fe56),Be(0x3,_0x3220f3)],nt);var tn=Object[_0x4d9803(0x106)],sn=(_0x270d41,_0xe991a2,_0x3a0f29,_0x5c041a)=>{var _0x9152a2=_0x4d9803;for(var _0x20b760=_0x5c041a>0x1?void 0x0:_0x5c041a?tn(_0xe991a2,_0x3a0f29):_0xe991a2,_0x7461fc=_0x270d41[_0x9152a2(0x312)]-0x1,_0x53d776;_0x7461fc>=0x0;_0x7461fc--)(_0x53d776=_0x270d41[_0x7461fc])&&(_0x20b760=_0x53d776(_0x20b760)||_0x20b760);return _0x20b760;},Yt=(_0x5617cc,_0x7c6970)=>(_0x204011,_0x13b96b)=>_0x7c6970(_0x204011,_0x13b96b,_0x5617cc);const nn=_0x4d9803(0x3b3),rn=_0x4d9803(0x39d);let It=class extends _0xe2b65c{constructor(_0x43a995,_0x1af05c){var _0x1cc9ec=_0x4d9803;super(),this[_0x1cc9ec(0x16a)]=_0x43a995,this[_0x1cc9ec(0x33d)]=_0x1af05c,this[_0x1cc9ec(0x1c5)]();}[_0x4d9803(0x1c5)](){var _0x1c27ca=_0x4d9803;this[_0x1c27ca(0x34c)](this[_0x1c27ca(0x16a)][_0x1c27ca(0x282)]['subscribe'](()=>{var _0x138c11=_0x1c27ca,_0x59637f;const _0x262ea3=this[_0x138c11(0x16a)][_0x138c11(0x303)]();let _0x5c1334=(_0x59637f=this[_0x138c11(0x33d)][_0x138c11(0x1fe)](nn))!=null?_0x59637f:rn;_0x262ea3 instanceof _0x30292a&&(_0x5c1334=_0x262ea3[_0x138c11(0x33f)]),document[_0x138c11(0x226)]=_0x5c1334;}));}};It=sn([Yt(0x0,_0x3220f3),Yt(0x1,_0xd6fe56)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x27c73d,_0x208d57,_0x37cd45,_0x45b34d)=>{for(var _0x1df31c=_0x45b34d>0x1?void 0x0:_0x45b34d?an(_0x208d57,_0x37cd45):_0x208d57,_0x28ad04=_0x27c73d['length']-0x1,_0x4be57d;_0x28ad04>=0x0;_0x28ad04--)(_0x4be57d=_0x27c73d[_0x28ad04])&&(_0x1df31c=_0x4be57d(_0x1df31c)||_0x1df31c);return _0x1df31c;},dt=(_0x888ab4,_0x48abf3)=>(_0x490001,_0xf0db66)=>_0x48abf3(_0x490001,_0xf0db66,_0x888ab4);let rt=class{constructor(_0x2164a4,_0x2c4ad1,_0x107019){var _0x595127=_0x4d9803;this['_configService']=_0x2164a4,this[_0x595127(0xc8)]=_0x2c4ad1,this[_0x595127(0x2e5)]=_0x107019,this[_0x595127(0x366)]();}[_0x4d9803(0x366)](){var _0x2b9dd2=_0x4d9803;this[_0x2b9dd2(0xc8)][_0x2b9dd2(0x2d2)]({'priority':0x1,'interceptor':(_0x1a0ce7,_0x1d6d72)=>_0x1d6d72(_0x1a0ce7)[_0x2b9dd2(0xdd)](_0x441691(async _0x442ad5=>{var _0x431bbd=_0x2b9dd2;const _0x5daa7c=_0x442ad5;if(_0x5daa7c[_0x431bbd(0x155)]===0x191){if(typeof window>'u')throw new Error(_0x431bbd(0x2f4));if(window[_0x431bbd(0x285)](this['localeService']['t'](_0x431bbd(0x1c3)))){const _0x572eb1=window[_0x431bbd(0x2c1)](window[_0x431bbd(0x2be)][_0x431bbd(0x148)]);window[_0x431bbd(0x2be)][_0x431bbd(0x148)]=this[_0x431bbd(0xd1)]()+_0x431bbd(0x2a3)+_0x572eb1;}}return _0x5daa7c;}))});}[_0x4d9803(0xd1)](){var _0x5eeeec=_0x4d9803,_0x2ca2a3,_0x2e377d;const _0x1ecd1e=this[_0x5eeeec(0x33d)][_0x5eeeec(0x1fe)](ys),_0x4ac288=this[_0x5eeeec(0x33d)]['getConfig'](K);return(_0x2e377d=(_0x2ca2a3=_0x4ac288==null?void 0x0:_0x4ac288[_0x5eeeec(0x225)])!=null?_0x2ca2a3:_0x1ecd1e)!=null?_0x2e377d:Ns;}};rt=on([dt(0x0,_0xd6fe56),dt(0x1,_0x26a7b2(_0x407237)),dt(0x2,_0x26a7b2(_0x2e4b8f))],rt);var cn=Object[_0x4d9803(0x106)],hn=(_0x5a05a5,_0x4d13ad,_0x4a8ec0,_0x26a313)=>{var _0x471bc1=_0x4d9803;for(var _0x37ec55=_0x26a313>0x1?void 0x0:_0x26a313?cn(_0x4d13ad,_0x4a8ec0):_0x4d13ad,_0x3602ac=_0x5a05a5[_0x471bc1(0x312)]-0x1,_0x2e51e5;_0x3602ac>=0x0;_0x3602ac--)(_0x2e51e5=_0x5a05a5[_0x3602ac])&&(_0x37ec55=_0x2e51e5(_0x37ec55)||_0x37ec55);return _0x37ec55;},Kt=(_0x1891a9,_0xc7a58c)=>(_0x304d75,_0x1be66a)=>_0xc7a58c(_0x304d75,_0x1be66a,_0x1891a9);const bi=_0x4d9803(0x1d9),_n=_0x4d9803(0x1a7);let Tt=class extends _0xe2b65c{constructor(_0x58a045,_0x3f26fe){var _0x411616=_0x4d9803;super(),this[_0x411616(0x265)]=_0x58a045,this[_0x411616(0x33d)]=_0x3f26fe,this[_0x411616(0x175)]();}['_initMergeInterceptor'](){var _0x4c62b6=_0x4d9803;const _0x19edf0=this;this[_0x4c62b6(0x34c)](this[_0x4c62b6(0x265)][_0x4c62b6(0x2d2)]({'priority':0x3e7,'interceptor':_0xbc831({'isMatch'(_0x9c3694){var _0xe66518=_0x4c62b6,_0x5f4f4d;if(_0x9c3694[_0xe66518(0x352)]===_0xe66518(0x2a6)&&((_0x5f4f4d=_0x9c3694['requestParams'])!=null&&_0x5f4f4d[_0xe66518(0x35f)])){const {objectID:_0x23a6cb,objectType:_0x882f8c}=_0x9c3694[_0xe66518(0x218)][_0xe66518(0x35f)]||{};if(!_0x23a6cb||_0x882f8c===void 0x0)return!0x1;const _0x2703c7=_0x19edf0[_0xe66518(0xd8)]()+'/'+_0x882f8c+_0xe66518(0x1eb)+_0x23a6cb+_0xe66518(0x37f);if(_0x9c3694['url']===_0x2703c7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x57ffa5){var _0x2b7a9a=_0x4c62b6,_0x1cf9eb;return(_0x1cf9eb=_0x57ffa5[_0x2b7a9a(0x218)])==null?void 0x0:_0x1cf9eb[_0x2b7a9a(0x35f)];},'mergeParamsToRequest'(_0x3fd869,_0x22c675){var _0x1bdb59=_0x4c62b6;const _0x49394f=_0x19edf0['_getAPIPrefixPath']()+_0x1bdb59(0x133),_0x45e81d=_0x3fd869['reduce']((_0x456cae,_0x5b7d83)=>{var _0x6011d2=_0x1bdb59;const {unitID:_0x5d8521,objectID:_0x37d555,objectType:_0x2ba134,actions:_0x5643d2}=_0x5b7d83;return _0x456cae[_0x5d8521]||(_0x456cae[_0x5d8521]={}),_0x456cae[_0x5d8521][_0x37d555]||(_0x456cae[_0x5d8521][_0x37d555]={'objectID':_0x37d555,'objectType':_0x2ba134,'actions':[]}),_0x456cae[_0x5d8521][_0x37d555][_0x6011d2(0x1b0)][_0x6011d2(0x269)](..._0x5643d2),_0x456cae;},{}),_0x3805fb=[];for(const _0x4a26c0 in _0x45e81d)for(const _0x31fe59 in _0x45e81d[_0x4a26c0]){const {actions:_0x1381bd,objectType:_0x34b137}=_0x45e81d[_0x4a26c0][_0x31fe59],_0x30ab39=[...new Set(_0x1381bd)];_0x3805fb[_0x1bdb59(0x269)]({'unitID':_0x4a26c0,'objectID':_0x31fe59,'objectType':_0x34b137,'actions':_0x30ab39});}return new _0x5b3626(_0x1bdb59(0x2a6),_0x49394f,{'headers':_0x22c675[_0x1bdb59(0x39b)],'withCredentials':_0x22c675[_0x1bdb59(0x334)],'responseType':_0x22c675[_0x1bdb59(0x1c9)],'body':{'requests':_0x3805fb}});}},{'distributeResult'(_0x32e45,_0x1fd8de){var _0x3c0678=_0x4c62b6;const {objectActions:_0x19c6ba}=_0x32e45;return _0x1fd8de[_0x3c0678(0x268)](_0x5c0da0=>{var _0x3ca40f=_0x3c0678;const {unitID:_0x5910e8,objectID:_0x1b24c2,actions:_0x6cd909}=_0x5c0da0,_0x3cc1b3=_0x19c6ba[_0x3ca40f(0xd0)](_0x5a0539=>_0x5a0539[_0x3ca40f(0x347)]===_0x5910e8&&_0x5a0539[_0x3ca40f(0x208)]===_0x1b24c2),_0x2f0837=_0x6cd909[_0x3ca40f(0x268)](_0x5aaa25=>_0x3cc1b3==null?void 0x0:_0x3cc1b3[_0x3ca40f(0x1b0)][_0x3ca40f(0xd0)](_0x2d4d7d=>_0x2d4d7d[_0x3ca40f(0x365)]===_0x5aaa25))['filter'](_0x36b711=>!!_0x36b711);return{'config':_0x5c0da0,'result':{'actions':_0x2f0837,'error':_0x32e45[_0x3ca40f(0x153)]}};});}})}));}[_0x4d9803(0xd8)](){var _0x38d633=_0x4d9803,_0x52305c,_0x4fd71f;const _0xd594da=this[_0x38d633(0x33d)][_0x38d633(0x1fe)](bi),_0xc07bfd=this[_0x38d633(0x33d)][_0x38d633(0x1fe)](K);return(_0x4fd71f=(_0x52305c=_0xc07bfd==null?void 0x0:_0xc07bfd[_0x38d633(0xcf)])!=null?_0x52305c:_0xd594da)!=null?_0x4fd71f:_n;}async[_0x4d9803(0x2dc)](_0x2924e1){var _0x27fe8c=_0x4d9803;const _0x1787c9=this[_0x27fe8c(0xd8)]()+'/'+_0x2924e1[_0x27fe8c(0x3b0)]+_0x27fe8c(0x20a);return(await this[_0x27fe8c(0x265)]['post'](_0x1787c9,{'body':_0x2924e1}))[_0x27fe8c(0x35f)][_0x27fe8c(0x208)]||'';}async[_0x4d9803(0x10d)](_0x5f1a16){var _0x477476=_0x4d9803;const _0x3fef67=this[_0x477476(0xd8)]()+_0x477476(0x348);return(await this[_0x477476(0x265)][_0x477476(0x230)](_0x3fef67,{'body':_0x5f1a16}))[_0x477476(0x35f)]['objects'];}async[_0x4d9803(0x271)](_0x353291){var _0x374206=_0x4d9803,_0x33c720,_0x4cb728;const _0x21e162=this['_getAPIPrefixPath']()+'/'+_0x353291['objectType']+_0x374206(0x1eb)+_0x353291[_0x374206(0x208)],_0x5024a8=await this[_0x374206(0x265)][_0x374206(0xdf)](_0x21e162,{'body':_0x353291});if(((_0x4cb728=(_0x33c720=_0x5024a8==null?void 0x0:_0x5024a8[_0x374206(0x35f)])==null?void 0x0:_0x33c720[_0x374206(0x153)])==null?void 0x0:_0x4cb728['code'])!==0x1)throw new Error(_0x374206(0x323));}async[_0x4d9803(0x170)](_0x59fd3d){var _0x2ed76c=_0x4d9803;const _0x11c848=this[_0x2ed76c(0xd8)]()+'/'+_0x59fd3d[_0x2ed76c(0x3b0)]+'/object/'+_0x59fd3d['objectID']+_0x2ed76c(0x37f);return(await this['_HTTPService'][_0x2ed76c(0x230)](_0x11c848,{'body':_0x59fd3d}))[_0x2ed76c(0x35f)][_0x2ed76c(0x1b0)];}async['batchAllowed'](_0x4068bd){var _0x1ef9cc=_0x4d9803;const _0x146b4e=this[_0x1ef9cc(0xd8)]()+_0x1ef9cc(0x133);return(await this['_HTTPService'][_0x1ef9cc(0x230)](_0x146b4e,{'body':{'requests':_0x4068bd}}))[_0x1ef9cc(0x35f)][_0x1ef9cc(0x1bc)];}async[_0x4d9803(0x330)](_0x1305de){var _0x269775=_0x4d9803;const _0x375464=this[_0x269775(0xd8)]()+'/'+_0x1305de[_0x269775(0x3b0)]+_0x269775(0x240),_0x25ad77=await this['_HTTPService'][_0x269775(0x230)](_0x375464,{'body':_0x1305de});return{'roles':_0x25ad77[_0x269775(0x35f)][_0x269775(0x154)],'actions':_0x25ad77['body']['actions']};}async[_0x4d9803(0x120)](_0x499ebb){var _0x603fd3=_0x4d9803;const _0x21c895=this[_0x603fd3(0xd8)]()+_0x603fd3(0x27d);await this[_0x603fd3(0x265)]['delete'](_0x21c895,{'params':{'collaboratorID':_0x499ebb[_0x603fd3(0x2a4)],'objectID':_0x499ebb[_0x603fd3(0x208)],'unitID':_0x499ebb[_0x603fd3(0x347)]}});}async[_0x4d9803(0x2b7)](_0x52cb6d){var _0x11eb0a=_0x4d9803;const _0x29c26b=this['_getAPIPrefixPath']()+_0x11eb0a(0x27d);await this['_HTTPService'][_0x11eb0a(0x3cd)](_0x29c26b,{'body':_0x52cb6d});}async[_0x4d9803(0x2a7)](_0x2d38c0){var _0x261537=_0x4d9803;const _0x298197=this[_0x261537(0xd8)]()+_0x261537(0x27d);await this[_0x261537(0x265)][_0x261537(0x230)](_0x298197,{'body':_0x2d38c0});}async[_0x4d9803(0x112)](_0x230060){var _0x1002a3=_0x4d9803;const _0x29d65a=this['_getAPIPrefixPath']()+_0x1002a3(0x27d);return(await this[_0x1002a3(0x265)][_0x1002a3(0x35a)](_0x29d65a,{'params':{'objectID':_0x230060['objectID'],'unitID':_0x230060[_0x1002a3(0x347)]}}))[_0x1002a3(0x35f)][_0x1002a3(0x237)];}async[_0x4d9803(0x26c)](_0x1c07e1){var _0x5b4602=_0x4d9803;const _0xaad82f=this[_0x5b4602(0xd8)]()+_0x5b4602(0x27d);await this[_0x5b4602(0x265)][_0x5b4602(0xdf)](_0xaad82f,{'body':_0x1c07e1});}};Tt=hn([Kt(0x0,_0x26a7b2(_0x407237)),Kt(0x1,_0x26a7b2(_0xd6fe56))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x22552a){var _0x1391a0=_0x4d9803;return _0x22552a&&_0x22552a[_0x1391a0(0x196)]&&Object[_0x1391a0(0x2e4)][_0x1391a0(0x18d)][_0x1391a0(0xd4)](_0x22552a,'default')?_0x22552a[_0x1391a0(0x1cc)]:_0x22552a;}var Ve={'exports':{}};function ln(_0x1fc17e){var _0x1e087b=_0x4d9803;throw new Error(_0x1e087b(0x158)+_0x1fc17e+_0x1e087b(0x2f7));}var Ge={'exports':{}},un=Ge[_0x4d9803(0x23e)],qt;function te(){var _0x3d3898=_0x4d9803;return qt||(qt=0x1,function(_0x340381,_0x477969){(function(_0x15d153,_0x296ac8){var _0x233752=_0x15b0;_0x340381[_0x233752(0x23e)]=_0x296ac8();}(un,function(){var _0x3511d3=_0x3511d3||function(_0x17228d,_0x2d6ed5){var _0x1fe866=_0x15b0,_0x5dee85;if(typeof window<'u'&&window[_0x1fe866(0x1dc)]&&(_0x5dee85=window[_0x1fe866(0x1dc)]),typeof self<'u'&&self[_0x1fe866(0x1dc)]&&(_0x5dee85=self[_0x1fe866(0x1dc)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5dee85=globalThis[_0x1fe866(0x1dc)]),!_0x5dee85&&typeof window<'u'&&window['msCrypto']&&(_0x5dee85=window['msCrypto']),!_0x5dee85&&typeof ft<'u'&&ft['crypto']&&(_0x5dee85=ft[_0x1fe866(0x1dc)]),!_0x5dee85&&typeof ln==_0x1fe866(0x3ac))try{_0x5dee85=require('crypto');}catch{}var _0x35a276=function(){var _0x47b37e=_0x1fe866;if(_0x5dee85){if(typeof _0x5dee85[_0x47b37e(0x222)]==_0x47b37e(0x3ac))try{return _0x5dee85[_0x47b37e(0x222)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5dee85[_0x47b37e(0x319)]=='function')try{return _0x5dee85[_0x47b37e(0x319)](0x4)[_0x47b37e(0x2bb)]();}catch{}}throw new Error(_0x47b37e(0x339));},_0x118c34=Object[_0x1fe866(0x2dc)]||(function(){function _0x24e491(){}return function(_0x3a060c){var _0x410ef3=_0x15b0,_0x7772a9;return _0x24e491['prototype']=_0x3a060c,_0x7772a9=new _0x24e491(),_0x24e491[_0x410ef3(0x2e4)]=null,_0x7772a9;};}()),_0x203c87={},_0x1788b3=_0x203c87[_0x1fe866(0x3e2)]={},_0x442339=_0x1788b3[_0x1fe866(0x142)]=(function(){return{'extend':function(_0xa4c9e){var _0x2b34a3=_0x15b0,_0x312f4f=_0x118c34(this);return _0xa4c9e&&_0x312f4f[_0x2b34a3(0x130)](_0xa4c9e),(!_0x312f4f['hasOwnProperty'](_0x2b34a3(0x366))||this[_0x2b34a3(0x366)]===_0x312f4f['init'])&&(_0x312f4f[_0x2b34a3(0x366)]=function(){var _0x4f9b8b=_0x2b34a3;_0x312f4f[_0x4f9b8b(0x201)][_0x4f9b8b(0x366)][_0x4f9b8b(0x2b2)](this,arguments);}),_0x312f4f[_0x2b34a3(0x366)][_0x2b34a3(0x2e4)]=_0x312f4f,_0x312f4f['$super']=this,_0x312f4f;},'create':function(){var _0x363a76=_0x15b0,_0x2ed177=this[_0x363a76(0x1bb)]();return _0x2ed177[_0x363a76(0x366)][_0x363a76(0x2b2)](_0x2ed177,arguments),_0x2ed177;},'init':function(){},'mixIn':function(_0xd10154){var _0x3ad5b8=_0x15b0;for(var _0xf7190 in _0xd10154)_0xd10154[_0x3ad5b8(0x18d)](_0xf7190)&&(this[_0xf7190]=_0xd10154[_0xf7190]);_0xd10154[_0x3ad5b8(0x18d)](_0x3ad5b8(0x1c7))&&(this['toString']=_0xd10154['toString']);},'clone':function(){var _0x3c2628=_0x15b0;return this[_0x3c2628(0x366)][_0x3c2628(0x2e4)][_0x3c2628(0x1bb)](this);}};}()),_0x2a6150=_0x1788b3[_0x1fe866(0x349)]=_0x442339['extend']({'init':function(_0x1f5551,_0x4573c7){var _0x2a493b=_0x1fe866;_0x1f5551=this[_0x2a493b(0x210)]=_0x1f5551||[],_0x4573c7!=_0x2d6ed5?this[_0x2a493b(0x30c)]=_0x4573c7:this[_0x2a493b(0x30c)]=_0x1f5551[_0x2a493b(0x312)]*0x4;},'toString':function(_0x304552){var _0x1e4ffa=_0x1fe866;return(_0x304552||_0x4d5ec9)[_0x1e4ffa(0x1ab)](this);},'concat':function(_0x425bcf){var _0x1dc02e=_0x1fe866,_0x5a452e=this[_0x1dc02e(0x210)],_0x12aed9=_0x425bcf[_0x1dc02e(0x210)],_0x32f243=this[_0x1dc02e(0x30c)],_0x218014=_0x425bcf['sigBytes'];if(this[_0x1dc02e(0x1f6)](),_0x32f243%0x4)for(var _0x420e63=0x0;_0x420e63<_0x218014;_0x420e63++){var _0xf16f8d=_0x12aed9[_0x420e63>>>0x2]>>>0x18-_0x420e63%0x4*0x8&0xff;_0x5a452e[_0x32f243+_0x420e63>>>0x2]|=_0xf16f8d<<0x18-(_0x32f243+_0x420e63)%0x4*0x8;}else{for(var _0x14159e=0x0;_0x14159e<_0x218014;_0x14159e+=0x4)_0x5a452e[_0x32f243+_0x14159e>>>0x2]=_0x12aed9[_0x14159e>>>0x2];}return this[_0x1dc02e(0x30c)]+=_0x218014,this;},'clamp':function(){var _0x18b65c=_0x1fe866,_0x500d17=this[_0x18b65c(0x210)],_0x6c918c=this[_0x18b65c(0x30c)];_0x500d17[_0x6c918c>>>0x2]&=0xffffffff<<0x20-_0x6c918c%0x4*0x8,_0x500d17[_0x18b65c(0x312)]=_0x17228d['ceil'](_0x6c918c/0x4);},'clone':function(){var _0x276276=_0x1fe866,_0x2bff5d=_0x442339['clone']['call'](this);return _0x2bff5d[_0x276276(0x210)]=this[_0x276276(0x210)][_0x276276(0x3a0)](0x0),_0x2bff5d;},'random':function(_0x1fb666){var _0x41b994=_0x1fe866;for(var _0xb4f8ef=[],_0x1b3419=0x0;_0x1b3419<_0x1fb666;_0x1b3419+=0x4)_0xb4f8ef['push'](_0x35a276());return new _0x2a6150[(_0x41b994(0x366))](_0xb4f8ef,_0x1fb666);}}),_0x1d62c3=_0x203c87[_0x1fe866(0x249)]={},_0x4d5ec9=_0x1d62c3[_0x1fe866(0x2c3)]={'stringify':function(_0x2a879d){var _0x1ed5a3=_0x1fe866;for(var _0x39cf6e=_0x2a879d[_0x1ed5a3(0x210)],_0x33ad2e=_0x2a879d[_0x1ed5a3(0x30c)],_0x7d4289=[],_0x33adef=0x0;_0x33adef<_0x33ad2e;_0x33adef++){var _0x1cbf54=_0x39cf6e[_0x33adef>>>0x2]>>>0x18-_0x33adef%0x4*0x8&0xff;_0x7d4289['push']((_0x1cbf54>>>0x4)['toString'](0x10)),_0x7d4289[_0x1ed5a3(0x269)]((_0x1cbf54&0xf)[_0x1ed5a3(0x1c7)](0x10));}return _0x7d4289[_0x1ed5a3(0x1df)]('');},'parse':function(_0x6674f2){var _0x23abd4=_0x1fe866;for(var _0x39c41d=_0x6674f2[_0x23abd4(0x312)],_0x277510=[],_0x12a6e0=0x0;_0x12a6e0<_0x39c41d;_0x12a6e0+=0x2)_0x277510[_0x12a6e0>>>0x3]|=parseInt(_0x6674f2[_0x23abd4(0xde)](_0x12a6e0,0x2),0x10)<<0x18-_0x12a6e0%0x8*0x4;return new _0x2a6150['init'](_0x277510,_0x39c41d/0x2);}},_0x1aa7e5=_0x1d62c3['Latin1']={'stringify':function(_0x36e8f6){var _0xf945c4=_0x1fe866;for(var _0x522aa7=_0x36e8f6[_0xf945c4(0x210)],_0x4e672a=_0x36e8f6[_0xf945c4(0x30c)],_0xd104aa=[],_0x2c78b3=0x0;_0x2c78b3<_0x4e672a;_0x2c78b3++){var _0x9ee9b3=_0x522aa7[_0x2c78b3>>>0x2]>>>0x18-_0x2c78b3%0x4*0x8&0xff;_0xd104aa[_0xf945c4(0x269)](String[_0xf945c4(0x244)](_0x9ee9b3));}return _0xd104aa['join']('');},'parse':function(_0x5c643a){var _0x5da7c6=_0x1fe866;for(var _0x437b14=_0x5c643a['length'],_0x38a3a3=[],_0x2db922=0x0;_0x2db922<_0x437b14;_0x2db922++)_0x38a3a3[_0x2db922>>>0x2]|=(_0x5c643a[_0x5da7c6(0x214)](_0x2db922)&0xff)<<0x18-_0x2db922%0x4*0x8;return new _0x2a6150['init'](_0x38a3a3,_0x437b14);}},_0x1fe5a1=_0x1d62c3[_0x1fe866(0x203)]={'stringify':function(_0x8422d2){var _0x3a5d95=_0x1fe866;try{return decodeURIComponent(escape(_0x1aa7e5['stringify'](_0x8422d2)));}catch{throw new Error(_0x3a5d95(0x13a));}},'parse':function(_0x39d585){var _0x3f17f1=_0x1fe866;return _0x1aa7e5[_0x3f17f1(0xcc)](unescape(encodeURIComponent(_0x39d585)));}},_0x537686=_0x1788b3[_0x1fe866(0x31f)]=_0x442339[_0x1fe866(0x1bb)]({'reset':function(){var _0x459297=_0x1fe866;this[_0x459297(0x369)]=new _0x2a6150[(_0x459297(0x366))](),this['_nDataBytes']=0x0;},'_append':function(_0x2d0329){var _0x18ea7e=_0x1fe866;typeof _0x2d0329==_0x18ea7e(0x3dc)&&(_0x2d0329=_0x1fe5a1[_0x18ea7e(0xcc)](_0x2d0329)),this[_0x18ea7e(0x369)]['concat'](_0x2d0329),this[_0x18ea7e(0x3c7)]+=_0x2d0329[_0x18ea7e(0x30c)];},'_process':function(_0x1ccf23){var _0x2f3df3=_0x1fe866,_0x2bbc38,_0x358468=this[_0x2f3df3(0x369)],_0x14fa5f=_0x358468[_0x2f3df3(0x210)],_0x81f017=_0x358468['sigBytes'],_0x588d3c=this[_0x2f3df3(0x355)],_0x780ac=_0x588d3c*0x4,_0x5f1981=_0x81f017/_0x780ac;_0x1ccf23?_0x5f1981=_0x17228d[_0x2f3df3(0x171)](_0x5f1981):_0x5f1981=_0x17228d[_0x2f3df3(0x361)]((_0x5f1981|0x0)-this[_0x2f3df3(0xeb)],0x0);var _0x738240=_0x5f1981*_0x588d3c,_0x5bbcb7=_0x17228d[_0x2f3df3(0x24c)](_0x738240*0x4,_0x81f017);if(_0x738240){for(var _0x1b953f=0x0;_0x1b953f<_0x738240;_0x1b953f+=_0x588d3c)this[_0x2f3df3(0x252)](_0x14fa5f,_0x1b953f);_0x2bbc38=_0x14fa5f[_0x2f3df3(0x29e)](0x0,_0x738240),_0x358468['sigBytes']-=_0x5bbcb7;}return new _0x2a6150[(_0x2f3df3(0x366))](_0x2bbc38,_0x5bbcb7);},'clone':function(){var _0x2e9c73=_0x1fe866,_0x541bd3=_0x442339['clone']['call'](this);return _0x541bd3[_0x2e9c73(0x369)]=this['_data'][_0x2e9c73(0x30b)](),_0x541bd3;},'_minBufferSize':0x0});_0x1788b3[_0x1fe866(0x1be)]=_0x537686[_0x1fe866(0x1bb)]({'cfg':_0x442339[_0x1fe866(0x1bb)](),'init':function(_0x310c8c){var _0x564a98=_0x1fe866;this['cfg']=this['cfg'][_0x564a98(0x1bb)](_0x310c8c),this['reset']();},'reset':function(){var _0x1dd631=_0x1fe866;_0x537686['reset'][_0x1dd631(0xd4)](this),this[_0x1dd631(0x289)]();},'update':function(_0x2ba334){return this['_append'](_0x2ba334),this['_process'](),this;},'finalize':function(_0x34676b){var _0xc0deba=_0x1fe866;_0x34676b&&this[_0xc0deba(0x3b2)](_0x34676b);var _0x29464d=this['_doFinalize']();return _0x29464d;},'blockSize':0x10,'_createHelper':function(_0x210f6d){return function(_0x175ff3,_0x50a184){var _0x5c598b=_0x15b0;return new _0x210f6d[(_0x5c598b(0x366))](_0x50a184)[_0x5c598b(0x205)](_0x175ff3);};},'_createHmacHelper':function(_0x2c176b){return function(_0x5a0b93,_0x3475da){var _0x3986a4=_0x15b0;return new _0x9d2a81[(_0x3986a4(0x17e))][(_0x3986a4(0x366))](_0x2c176b,_0x3475da)[_0x3986a4(0x205)](_0x5a0b93);};}});var _0x9d2a81=_0x203c87[_0x1fe866(0x123)]={};return _0x203c87;}(Math);return _0x3511d3;}));}(Ge)),Ge[_0x3d3898(0x23e)];}var We={'exports':{}},dn=We[_0x4d9803(0x23e)],zt;function Oi(){return zt||(zt=0x1,function(_0x41f0af,_0x2c5df4){(function(_0x1713c4,_0x88ffe4){var _0x6bd8e0=_0x15b0;_0x41f0af[_0x6bd8e0(0x23e)]=_0x88ffe4(te());}(dn,function(_0x1e2e26){var _0x74778a=_0x15b0;return(function(){var _0x4034d0=_0x15b0,_0x2e9f69=_0x1e2e26,_0x2b38df=_0x2e9f69[_0x4034d0(0x3e2)],_0x450992=_0x2b38df[_0x4034d0(0x349)],_0x3d33db=_0x2e9f69[_0x4034d0(0x249)];_0x3d33db[_0x4034d0(0x2f8)]={'stringify':function(_0x202765){var _0x5147ae=_0x4034d0,_0x4750e3=_0x202765[_0x5147ae(0x210)],_0x3c7ab3=_0x202765[_0x5147ae(0x30c)],_0x50c918=this[_0x5147ae(0x2ac)];_0x202765['clamp']();for(var _0x1d9132=[],_0x50cc6f=0x0;_0x50cc6f<_0x3c7ab3;_0x50cc6f+=0x3)for(var _0x1a1605=_0x4750e3[_0x50cc6f>>>0x2]>>>0x18-_0x50cc6f%0x4*0x8&0xff,_0xc8a4af=_0x4750e3[_0x50cc6f+0x1>>>0x2]>>>0x18-(_0x50cc6f+0x1)%0x4*0x8&0xff,_0x214a0a=_0x4750e3[_0x50cc6f+0x2>>>0x2]>>>0x18-(_0x50cc6f+0x2)%0x4*0x8&0xff,_0x227a8c=_0x1a1605<<0x10|_0xc8a4af<<0x8|_0x214a0a,_0x55087d=0x0;_0x55087d<0x4&&_0x50cc6f+_0x55087d*0.75<_0x3c7ab3;_0x55087d++)_0x1d9132[_0x5147ae(0x269)](_0x50c918[_0x5147ae(0x392)](_0x227a8c>>>0x6*(0x3-_0x55087d)&0x3f));var _0x1a866f=_0x50c918[_0x5147ae(0x392)](0x40);if(_0x1a866f){for(;_0x1d9132[_0x5147ae(0x312)]%0x4;)_0x1d9132[_0x5147ae(0x269)](_0x1a866f);}return _0x1d9132[_0x5147ae(0x1df)]('');},'parse':function(_0x223101){var _0x3e4780=_0x4034d0,_0x2344bb=_0x223101['length'],_0x414ee3=this[_0x3e4780(0x2ac)],_0x622338=this[_0x3e4780(0x382)];if(!_0x622338){_0x622338=this['_reverseMap']=[];for(var _0xf49368=0x0;_0xf49368<_0x414ee3[_0x3e4780(0x312)];_0xf49368++)_0x622338[_0x414ee3[_0x3e4780(0x214)](_0xf49368)]=_0xf49368;}var _0x575c04=_0x414ee3[_0x3e4780(0x392)](0x40);if(_0x575c04){var _0x421a14=_0x223101[_0x3e4780(0x129)](_0x575c04);_0x421a14!==-0x1&&(_0x2344bb=_0x421a14);}return _0x3361fc(_0x223101,_0x2344bb,_0x622338);},'_map':_0x4034d0(0x308)};function _0x3361fc(_0x3be8ff,_0x22dfdd,_0x3beb4f){var _0x3521b0=_0x4034d0;for(var _0x24eaa0=[],_0x14b73b=0x0,_0x25040a=0x0;_0x25040a<_0x22dfdd;_0x25040a++)if(_0x25040a%0x4){var _0x1da0a1=_0x3beb4f[_0x3be8ff[_0x3521b0(0x214)](_0x25040a-0x1)]<<_0x25040a%0x4*0x2,_0x5e75f2=_0x3beb4f[_0x3be8ff['charCodeAt'](_0x25040a)]>>>0x6-_0x25040a%0x4*0x2,_0x108a49=_0x1da0a1|_0x5e75f2;_0x24eaa0[_0x14b73b>>>0x2]|=_0x108a49<<0x18-_0x14b73b%0x4*0x8,_0x14b73b++;}return _0x450992[_0x3521b0(0x2dc)](_0x24eaa0,_0x14b73b);}}()),_0x1e2e26['enc'][_0x74778a(0x2f8)];}));}(We)),We['exports'];}var Ye={'exports':{}},fn=Ye[_0x4d9803(0x23e)],Jt;function vn(){var _0x1fb127=_0x4d9803;return Jt||(Jt=0x1,function(_0x5258a0,_0x59cf4b){(function(_0x2ed729,_0x561e0f){var _0x1d9dd0=_0x15b0;_0x5258a0[_0x1d9dd0(0x23e)]=_0x561e0f(te());}(fn,function(_0x57890e){var _0x5e5b9a=_0x15b0;return function(_0x56337d){var _0x4f42d1=_0x15b0,_0x5f4c68=_0x57890e,_0x5cd36e=_0x5f4c68[_0x4f42d1(0x3e2)],_0x287411=_0x5cd36e[_0x4f42d1(0x349)],_0x129bf0=_0x5cd36e['Hasher'],_0x187d3e=_0x5f4c68[_0x4f42d1(0x123)],_0x216080=[];(function(){var _0x2efdeb=_0x4f42d1;for(var _0x5e830a=0x0;_0x5e830a<0x40;_0x5e830a++)_0x216080[_0x5e830a]=_0x56337d[_0x2efdeb(0xf1)](_0x56337d[_0x2efdeb(0x169)](_0x5e830a+0x1))*0x100000000|0x0;}());var _0x3d7fff=_0x187d3e[_0x4f42d1(0x2a5)]=_0x129bf0['extend']({'_doReset':function(){var _0x3797db=_0x4f42d1;this[_0x3797db(0xc5)]=new _0x287411[(_0x3797db(0x366))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x142713,_0x9a55ac){var _0x2e2a5e=_0x4f42d1;for(var _0x3aacaf=0x0;_0x3aacaf<0x10;_0x3aacaf++){var _0xca64a7=_0x9a55ac+_0x3aacaf,_0x221e39=_0x142713[_0xca64a7];_0x142713[_0xca64a7]=(_0x221e39<<0x8|_0x221e39>>>0x18)&0xff00ff|(_0x221e39<<0x18|_0x221e39>>>0x8)&0xff00ff00;}var _0xc66f89=this[_0x2e2a5e(0xc5)][_0x2e2a5e(0x210)],_0x748883=_0x142713[_0x9a55ac+0x0],_0x28b889=_0x142713[_0x9a55ac+0x1],_0x1b292a=_0x142713[_0x9a55ac+0x2],_0x523669=_0x142713[_0x9a55ac+0x3],_0x3435b7=_0x142713[_0x9a55ac+0x4],_0x12ccc2=_0x142713[_0x9a55ac+0x5],_0x2d0dc5=_0x142713[_0x9a55ac+0x6],_0x6cc0b3=_0x142713[_0x9a55ac+0x7],_0x39be47=_0x142713[_0x9a55ac+0x8],_0x8681fe=_0x142713[_0x9a55ac+0x9],_0x412e60=_0x142713[_0x9a55ac+0xa],_0x588fa8=_0x142713[_0x9a55ac+0xb],_0x2052cd=_0x142713[_0x9a55ac+0xc],_0x224f6c=_0x142713[_0x9a55ac+0xd],_0x3b9bd6=_0x142713[_0x9a55ac+0xe],_0xbdadd0=_0x142713[_0x9a55ac+0xf],_0x232bc6=_0xc66f89[0x0],_0x448ce7=_0xc66f89[0x1],_0x45dffe=_0xc66f89[0x2],_0x3a5f14=_0xc66f89[0x3];_0x232bc6=_0x334042(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x748883,0x7,_0x216080[0x0]),_0x3a5f14=_0x334042(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x28b889,0xc,_0x216080[0x1]),_0x45dffe=_0x334042(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x1b292a,0x11,_0x216080[0x2]),_0x448ce7=_0x334042(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x523669,0x16,_0x216080[0x3]),_0x232bc6=_0x334042(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x3435b7,0x7,_0x216080[0x4]),_0x3a5f14=_0x334042(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x12ccc2,0xc,_0x216080[0x5]),_0x45dffe=_0x334042(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x2d0dc5,0x11,_0x216080[0x6]),_0x448ce7=_0x334042(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x6cc0b3,0x16,_0x216080[0x7]),_0x232bc6=_0x334042(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x39be47,0x7,_0x216080[0x8]),_0x3a5f14=_0x334042(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x8681fe,0xc,_0x216080[0x9]),_0x45dffe=_0x334042(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x412e60,0x11,_0x216080[0xa]),_0x448ce7=_0x334042(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x588fa8,0x16,_0x216080[0xb]),_0x232bc6=_0x334042(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x2052cd,0x7,_0x216080[0xc]),_0x3a5f14=_0x334042(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x224f6c,0xc,_0x216080[0xd]),_0x45dffe=_0x334042(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x3b9bd6,0x11,_0x216080[0xe]),_0x448ce7=_0x334042(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0xbdadd0,0x16,_0x216080[0xf]),_0x232bc6=_0x163e74(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x28b889,0x5,_0x216080[0x10]),_0x3a5f14=_0x163e74(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x2d0dc5,0x9,_0x216080[0x11]),_0x45dffe=_0x163e74(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x588fa8,0xe,_0x216080[0x12]),_0x448ce7=_0x163e74(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x748883,0x14,_0x216080[0x13]),_0x232bc6=_0x163e74(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x12ccc2,0x5,_0x216080[0x14]),_0x3a5f14=_0x163e74(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x412e60,0x9,_0x216080[0x15]),_0x45dffe=_0x163e74(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0xbdadd0,0xe,_0x216080[0x16]),_0x448ce7=_0x163e74(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x3435b7,0x14,_0x216080[0x17]),_0x232bc6=_0x163e74(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x8681fe,0x5,_0x216080[0x18]),_0x3a5f14=_0x163e74(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x3b9bd6,0x9,_0x216080[0x19]),_0x45dffe=_0x163e74(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x523669,0xe,_0x216080[0x1a]),_0x448ce7=_0x163e74(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x39be47,0x14,_0x216080[0x1b]),_0x232bc6=_0x163e74(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x224f6c,0x5,_0x216080[0x1c]),_0x3a5f14=_0x163e74(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x1b292a,0x9,_0x216080[0x1d]),_0x45dffe=_0x163e74(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x6cc0b3,0xe,_0x216080[0x1e]),_0x448ce7=_0x163e74(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x2052cd,0x14,_0x216080[0x1f]),_0x232bc6=_0x1e4ff8(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x12ccc2,0x4,_0x216080[0x20]),_0x3a5f14=_0x1e4ff8(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x39be47,0xb,_0x216080[0x21]),_0x45dffe=_0x1e4ff8(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x588fa8,0x10,_0x216080[0x22]),_0x448ce7=_0x1e4ff8(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x3b9bd6,0x17,_0x216080[0x23]),_0x232bc6=_0x1e4ff8(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x28b889,0x4,_0x216080[0x24]),_0x3a5f14=_0x1e4ff8(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x3435b7,0xb,_0x216080[0x25]),_0x45dffe=_0x1e4ff8(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x6cc0b3,0x10,_0x216080[0x26]),_0x448ce7=_0x1e4ff8(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x412e60,0x17,_0x216080[0x27]),_0x232bc6=_0x1e4ff8(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x224f6c,0x4,_0x216080[0x28]),_0x3a5f14=_0x1e4ff8(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x748883,0xb,_0x216080[0x29]),_0x45dffe=_0x1e4ff8(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x523669,0x10,_0x216080[0x2a]),_0x448ce7=_0x1e4ff8(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x2d0dc5,0x17,_0x216080[0x2b]),_0x232bc6=_0x1e4ff8(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x8681fe,0x4,_0x216080[0x2c]),_0x3a5f14=_0x1e4ff8(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x2052cd,0xb,_0x216080[0x2d]),_0x45dffe=_0x1e4ff8(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0xbdadd0,0x10,_0x216080[0x2e]),_0x448ce7=_0x1e4ff8(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x1b292a,0x17,_0x216080[0x2f]),_0x232bc6=_0x589b2e(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x748883,0x6,_0x216080[0x30]),_0x3a5f14=_0x589b2e(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x6cc0b3,0xa,_0x216080[0x31]),_0x45dffe=_0x589b2e(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x3b9bd6,0xf,_0x216080[0x32]),_0x448ce7=_0x589b2e(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x12ccc2,0x15,_0x216080[0x33]),_0x232bc6=_0x589b2e(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x2052cd,0x6,_0x216080[0x34]),_0x3a5f14=_0x589b2e(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x523669,0xa,_0x216080[0x35]),_0x45dffe=_0x589b2e(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x412e60,0xf,_0x216080[0x36]),_0x448ce7=_0x589b2e(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x28b889,0x15,_0x216080[0x37]),_0x232bc6=_0x589b2e(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x39be47,0x6,_0x216080[0x38]),_0x3a5f14=_0x589b2e(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0xbdadd0,0xa,_0x216080[0x39]),_0x45dffe=_0x589b2e(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x2d0dc5,0xf,_0x216080[0x3a]),_0x448ce7=_0x589b2e(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x224f6c,0x15,_0x216080[0x3b]),_0x232bc6=_0x589b2e(_0x232bc6,_0x448ce7,_0x45dffe,_0x3a5f14,_0x3435b7,0x6,_0x216080[0x3c]),_0x3a5f14=_0x589b2e(_0x3a5f14,_0x232bc6,_0x448ce7,_0x45dffe,_0x588fa8,0xa,_0x216080[0x3d]),_0x45dffe=_0x589b2e(_0x45dffe,_0x3a5f14,_0x232bc6,_0x448ce7,_0x1b292a,0xf,_0x216080[0x3e]),_0x448ce7=_0x589b2e(_0x448ce7,_0x45dffe,_0x3a5f14,_0x232bc6,_0x8681fe,0x15,_0x216080[0x3f]),_0xc66f89[0x0]=_0xc66f89[0x0]+_0x232bc6|0x0,_0xc66f89[0x1]=_0xc66f89[0x1]+_0x448ce7|0x0,_0xc66f89[0x2]=_0xc66f89[0x2]+_0x45dffe|0x0,_0xc66f89[0x3]=_0xc66f89[0x3]+_0x3a5f14|0x0;},'_doFinalize':function(){var _0xb616ca=_0x4f42d1,_0x46bd74=this[_0xb616ca(0x369)],_0x4271c0=_0x46bd74['words'],_0x2a7962=this[_0xb616ca(0x3c7)]*0x8,_0x4647ba=_0x46bd74[_0xb616ca(0x30c)]*0x8;_0x4271c0[_0x4647ba>>>0x5]|=0x80<<0x18-_0x4647ba%0x20;var _0x25560e=_0x56337d[_0xb616ca(0x2ae)](_0x2a7962/0x100000000),_0x5d2171=_0x2a7962;_0x4271c0[(_0x4647ba+0x40>>>0x9<<0x4)+0xf]=(_0x25560e<<0x8|_0x25560e>>>0x18)&0xff00ff|(_0x25560e<<0x18|_0x25560e>>>0x8)&0xff00ff00,_0x4271c0[(_0x4647ba+0x40>>>0x9<<0x4)+0xe]=(_0x5d2171<<0x8|_0x5d2171>>>0x18)&0xff00ff|(_0x5d2171<<0x18|_0x5d2171>>>0x8)&0xff00ff00,_0x46bd74[_0xb616ca(0x30c)]=(_0x4271c0['length']+0x1)*0x4,this['_process']();for(var _0x4af151=this[_0xb616ca(0xc5)],_0x531da0=_0x4af151[_0xb616ca(0x210)],_0x5410aa=0x0;_0x5410aa<0x4;_0x5410aa++){var _0xd8f148=_0x531da0[_0x5410aa];_0x531da0[_0x5410aa]=(_0xd8f148<<0x8|_0xd8f148>>>0x18)&0xff00ff|(_0xd8f148<<0x18|_0xd8f148>>>0x8)&0xff00ff00;}return _0x4af151;},'clone':function(){var _0x56967b=_0x4f42d1,_0x475a58=_0x129bf0[_0x56967b(0x30b)][_0x56967b(0xd4)](this);return _0x475a58[_0x56967b(0xc5)]=this[_0x56967b(0xc5)]['clone'](),_0x475a58;}});function _0x334042(_0x3ed751,_0x246cfb,_0x1d9a34,_0x54412e,_0x3cde56,_0x5a04d8,_0x36e4c9){var _0xc08088=_0x3ed751+(_0x246cfb&_0x1d9a34|~_0x246cfb&_0x54412e)+_0x3cde56+_0x36e4c9;return(_0xc08088<<_0x5a04d8|_0xc08088>>>0x20-_0x5a04d8)+_0x246cfb;}function _0x163e74(_0x4d124b,_0x9b716e,_0x1c9560,_0x432248,_0x159aef,_0x4aab7a,_0x1dd31b){var _0x327df8=_0x4d124b+(_0x9b716e&_0x432248|_0x1c9560&~_0x432248)+_0x159aef+_0x1dd31b;return(_0x327df8<<_0x4aab7a|_0x327df8>>>0x20-_0x4aab7a)+_0x9b716e;}function _0x1e4ff8(_0x282411,_0x2e06e0,_0x54ae69,_0x14d972,_0x3c5a5d,_0x30d5e2,_0x2c0460){var _0x12f8fc=_0x282411+(_0x2e06e0^_0x54ae69^_0x14d972)+_0x3c5a5d+_0x2c0460;return(_0x12f8fc<<_0x30d5e2|_0x12f8fc>>>0x20-_0x30d5e2)+_0x2e06e0;}function _0x589b2e(_0x1879d9,_0x3ed182,_0x1076bc,_0x3cd0a1,_0x5d8aae,_0x2141c1,_0x38a4c6){var _0x145da2=_0x1879d9+(_0x1076bc^(_0x3ed182|~_0x3cd0a1))+_0x5d8aae+_0x38a4c6;return(_0x145da2<<_0x2141c1|_0x145da2>>>0x20-_0x2141c1)+_0x3ed182;}_0x5f4c68[_0x4f42d1(0x2a5)]=_0x129bf0['_createHelper'](_0x3d7fff),_0x5f4c68[_0x4f42d1(0x345)]=_0x129bf0[_0x4f42d1(0x290)](_0x3d7fff);}(Math),_0x57890e[_0x5e5b9a(0x2a5)];}));}(Ye)),Ye[_0x1fb127(0x23e)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x4d9803(0x23e)],Xt;function mn(){var _0x59e06a=_0x4d9803;return Xt||(Xt=0x1,function(_0x22f2a0,_0x18fc88){(function(_0x488408,_0x383cc9){var _0x4ef50d=_0x15b0;_0x22f2a0[_0x4ef50d(0x23e)]=_0x383cc9(te());}(pn,function(_0x401d68){var _0x1cd9ef=_0x15b0;return(function(){var _0x266d70=_0x15b0,_0x17fa36=_0x401d68,_0x241c15=_0x17fa36[_0x266d70(0x3e2)],_0xed6cb2=_0x241c15['WordArray'],_0x3d6b92=_0x241c15[_0x266d70(0x1be)],_0x4173f2=_0x17fa36[_0x266d70(0x123)],_0x2a7aef=[],_0x2a368c=_0x4173f2[_0x266d70(0x189)]=_0x3d6b92[_0x266d70(0x1bb)]({'_doReset':function(){var _0xa58d02=_0x266d70;this[_0xa58d02(0xc5)]=new _0xed6cb2['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b42bb,_0x5c3b33){var _0x2e6bd0=_0x266d70;for(var _0x4cfc40=this[_0x2e6bd0(0xc5)]['words'],_0x4393ee=_0x4cfc40[0x0],_0xc37250=_0x4cfc40[0x1],_0x5496a2=_0x4cfc40[0x2],_0x2520b4=_0x4cfc40[0x3],_0x144ebd=_0x4cfc40[0x4],_0x1f0543=0x0;_0x1f0543<0x50;_0x1f0543++){if(_0x1f0543<0x10)_0x2a7aef[_0x1f0543]=_0x4b42bb[_0x5c3b33+_0x1f0543]|0x0;else{var _0x113280=_0x2a7aef[_0x1f0543-0x3]^_0x2a7aef[_0x1f0543-0x8]^_0x2a7aef[_0x1f0543-0xe]^_0x2a7aef[_0x1f0543-0x10];_0x2a7aef[_0x1f0543]=_0x113280<<0x1|_0x113280>>>0x1f;}var _0x3d7a07=(_0x4393ee<<0x5|_0x4393ee>>>0x1b)+_0x144ebd+_0x2a7aef[_0x1f0543];_0x1f0543<0x14?_0x3d7a07+=(_0xc37250&_0x5496a2|~_0xc37250&_0x2520b4)+0x5a827999:_0x1f0543<0x28?_0x3d7a07+=(_0xc37250^_0x5496a2^_0x2520b4)+0x6ed9eba1:_0x1f0543<0x3c?_0x3d7a07+=(_0xc37250&_0x5496a2|_0xc37250&_0x2520b4|_0x5496a2&_0x2520b4)-0x70e44324:_0x3d7a07+=(_0xc37250^_0x5496a2^_0x2520b4)-0x359d3e2a,_0x144ebd=_0x2520b4,_0x2520b4=_0x5496a2,_0x5496a2=_0xc37250<<0x1e|_0xc37250>>>0x2,_0xc37250=_0x4393ee,_0x4393ee=_0x3d7a07;}_0x4cfc40[0x0]=_0x4cfc40[0x0]+_0x4393ee|0x0,_0x4cfc40[0x1]=_0x4cfc40[0x1]+_0xc37250|0x0,_0x4cfc40[0x2]=_0x4cfc40[0x2]+_0x5496a2|0x0,_0x4cfc40[0x3]=_0x4cfc40[0x3]+_0x2520b4|0x0,_0x4cfc40[0x4]=_0x4cfc40[0x4]+_0x144ebd|0x0;},'_doFinalize':function(){var _0x33503e=_0x266d70,_0x4d9752=this[_0x33503e(0x369)],_0x411966=_0x4d9752[_0x33503e(0x210)],_0x596263=this[_0x33503e(0x3c7)]*0x8,_0x6d95=_0x4d9752[_0x33503e(0x30c)]*0x8;return _0x411966[_0x6d95>>>0x5]|=0x80<<0x18-_0x6d95%0x20,_0x411966[(_0x6d95+0x40>>>0x9<<0x4)+0xe]=Math[_0x33503e(0x2ae)](_0x596263/0x100000000),_0x411966[(_0x6d95+0x40>>>0x9<<0x4)+0xf]=_0x596263,_0x4d9752[_0x33503e(0x30c)]=_0x411966[_0x33503e(0x312)]*0x4,this[_0x33503e(0x100)](),this[_0x33503e(0xc5)];},'clone':function(){var _0x3b80e8=_0x266d70,_0x26b74f=_0x3d6b92[_0x3b80e8(0x30b)][_0x3b80e8(0xd4)](this);return _0x26b74f['_hash']=this[_0x3b80e8(0xc5)]['clone'](),_0x26b74f;}});_0x17fa36[_0x266d70(0x189)]=_0x3d6b92['_createHelper'](_0x2a368c),_0x17fa36[_0x266d70(0x248)]=_0x3d6b92['_createHmacHelper'](_0x2a368c);}()),_0x401d68[_0x1cd9ef(0x189)];}));}(qe)),qe[_0x59e06a(0x23e)];}var ze={'exports':{}},gn=ze[_0x4d9803(0x23e)],Zt;function Sn(){var _0x430f42=_0x4d9803;return Zt||(Zt=0x1,function(_0xe6a668,_0x293d10){(function(_0x1228e9,_0x178028){var _0x4b7d80=_0x15b0;_0xe6a668[_0x4b7d80(0x23e)]=_0x178028(te());}(gn,function(_0x3dc6f0){(function(){var _0x33d59d=_0x15b0,_0x2377ba=_0x3dc6f0,_0x3d6769=_0x2377ba[_0x33d59d(0x3e2)],_0x2ead87=_0x3d6769[_0x33d59d(0x142)],_0x320cb8=_0x2377ba[_0x33d59d(0x249)],_0x273e65=_0x320cb8[_0x33d59d(0x203)],_0x348908=_0x2377ba['algo'];_0x348908[_0x33d59d(0x17e)]=_0x2ead87[_0x33d59d(0x1bb)]({'init':function(_0x154719,_0x43427b){var _0xa85dd4=_0x33d59d;_0x154719=this[_0xa85dd4(0x174)]=new _0x154719[(_0xa85dd4(0x366))](),typeof _0x43427b==_0xa85dd4(0x3dc)&&(_0x43427b=_0x273e65[_0xa85dd4(0xcc)](_0x43427b));var _0x2c93d6=_0x154719[_0xa85dd4(0x355)],_0x1ea834=_0x2c93d6*0x4;_0x43427b['sigBytes']>_0x1ea834&&(_0x43427b=_0x154719['finalize'](_0x43427b)),_0x43427b[_0xa85dd4(0x1f6)]();for(var _0x54de21=this['_oKey']=_0x43427b[_0xa85dd4(0x30b)](),_0x1e0bab=this['_iKey']=_0x43427b[_0xa85dd4(0x30b)](),_0x2a7fac=_0x54de21[_0xa85dd4(0x210)],_0x456009=_0x1e0bab[_0xa85dd4(0x210)],_0x43a532=0x0;_0x43a532<_0x2c93d6;_0x43a532++)_0x2a7fac[_0x43a532]^=0x5c5c5c5c,_0x456009[_0x43a532]^=0x36363636;_0x54de21[_0xa85dd4(0x30c)]=_0x1e0bab['sigBytes']=_0x1ea834,this[_0xa85dd4(0x193)]();},'reset':function(){var _0x2846df=_0x33d59d,_0x4be4e0=this['_hasher'];_0x4be4e0[_0x2846df(0x193)](),_0x4be4e0[_0x2846df(0x271)](this[_0x2846df(0x15a)]);},'update':function(_0xfb7b40){return this['_hasher']['update'](_0xfb7b40),this;},'finalize':function(_0x239843){var _0x3d357a=_0x33d59d,_0x40592c=this[_0x3d357a(0x174)],_0x468489=_0x40592c[_0x3d357a(0x205)](_0x239843);_0x40592c[_0x3d357a(0x193)]();var _0x2e7f9b=_0x40592c[_0x3d357a(0x205)](this[_0x3d357a(0x1de)]['clone']()[_0x3d357a(0x18b)](_0x468489));return _0x2e7f9b;}});}());}));}(ze)),ze[_0x430f42(0x23e)];}var En=Ke['exports'],Qt;function yi(){var _0x2c5b6c=_0x4d9803;return Qt||(Qt=0x1,function(_0x52e8df,_0x95c1b2){(function(_0x4f608a,_0x50c896,_0xa296c0){var _0x29797a=_0x15b0;_0x52e8df[_0x29797a(0x23e)]=_0x50c896(te(),mn(),Sn());}(En,function(_0x1fb102){var _0x928382=_0x15b0;return(function(){var _0x233698=_0x15b0,_0x4bfb3b=_0x1fb102,_0x1ee5db=_0x4bfb3b[_0x233698(0x3e2)],_0x362ef7=_0x1ee5db[_0x233698(0x142)],_0x1d8d3d=_0x1ee5db[_0x233698(0x349)],_0x2d022d=_0x4bfb3b[_0x233698(0x123)],_0x2ca89d=_0x2d022d[_0x233698(0x2a5)],_0x579a88=_0x2d022d[_0x233698(0xfb)]=_0x362ef7[_0x233698(0x1bb)]({'cfg':_0x362ef7[_0x233698(0x1bb)]({'keySize':0x80/0x20,'hasher':_0x2ca89d,'iterations':0x1}),'init':function(_0x2ef0ce){var _0x3b3817=_0x233698;this[_0x3b3817(0x1cf)]=this[_0x3b3817(0x1cf)]['extend'](_0x2ef0ce);},'compute':function(_0x4bf9dc,_0x309a3d){var _0x37ed9c=_0x233698;for(var _0x195d85,_0x2f7490=this['cfg'],_0x3d7c1a=_0x2f7490[_0x37ed9c(0x32a)][_0x37ed9c(0x2dc)](),_0x36a7a1=_0x1d8d3d['create'](),_0x524dc5=_0x36a7a1[_0x37ed9c(0x210)],_0xb92456=_0x2f7490[_0x37ed9c(0x3a7)],_0x1f5f22=_0x2f7490[_0x37ed9c(0x1f8)];_0x524dc5[_0x37ed9c(0x312)]<_0xb92456;){_0x195d85&&_0x3d7c1a[_0x37ed9c(0x271)](_0x195d85),_0x195d85=_0x3d7c1a['update'](_0x4bf9dc)[_0x37ed9c(0x205)](_0x309a3d),_0x3d7c1a[_0x37ed9c(0x193)]();for(var _0x5212e7=0x1;_0x5212e7<_0x1f5f22;_0x5212e7++)_0x195d85=_0x3d7c1a[_0x37ed9c(0x205)](_0x195d85),_0x3d7c1a['reset']();_0x36a7a1['concat'](_0x195d85);}return _0x36a7a1[_0x37ed9c(0x30c)]=_0xb92456*0x4,_0x36a7a1;}});_0x4bfb3b[_0x233698(0xfb)]=function(_0x2217b0,_0x5ae659,_0x370312){var _0x1a4ebf=_0x233698;return _0x579a88['create'](_0x370312)[_0x1a4ebf(0x2c2)](_0x2217b0,_0x5ae659);};}()),_0x1fb102[_0x928382(0xfb)];}));}(Ke)),Ke[_0x2c5b6c(0x23e)];}var Je={'exports':{}},In=Je[_0x4d9803(0x23e)],ei;function Ni(){var _0x1020ef=_0x4d9803;return ei||(ei=0x1,function(_0x2ec4fa,_0x491c4f){(function(_0x19100c,_0x269b08,_0x235ef2){var _0xe06261=_0x15b0;_0x2ec4fa[_0xe06261(0x23e)]=_0x269b08(te(),yi());}(In,function(_0x7e90ce){_0x7e90ce['lib']['Cipher']||function(_0x59193c){var _0x12e1b8=_0x15b0,_0x1e5644=_0x7e90ce,_0x2143a1=_0x1e5644[_0x12e1b8(0x3e2)],_0x2f7d30=_0x2143a1[_0x12e1b8(0x142)],_0x193378=_0x2143a1[_0x12e1b8(0x349)],_0x11820e=_0x2143a1[_0x12e1b8(0x31f)],_0x2754b6=_0x1e5644[_0x12e1b8(0x249)];_0x2754b6[_0x12e1b8(0x203)];var _0x155954=_0x2754b6[_0x12e1b8(0x2f8)],_0x70f4e3=_0x1e5644[_0x12e1b8(0x123)],_0x3d47bb=_0x70f4e3[_0x12e1b8(0xfb)],_0x75637e=_0x2143a1[_0x12e1b8(0x311)]=_0x11820e[_0x12e1b8(0x1bb)]({'cfg':_0x2f7d30['extend'](),'createEncryptor':function(_0x3ee2c5,_0x12666c){var _0x15f5df=_0x12e1b8;return this[_0x15f5df(0x2dc)](this['_ENC_XFORM_MODE'],_0x3ee2c5,_0x12666c);},'createDecryptor':function(_0x1b70a1,_0x119158){var _0x21e515=_0x12e1b8;return this[_0x21e515(0x2dc)](this[_0x21e515(0x1a9)],_0x1b70a1,_0x119158);},'init':function(_0x51bec0,_0x14b830,_0x200280){var _0x45be9a=_0x12e1b8;this[_0x45be9a(0x1cf)]=this[_0x45be9a(0x1cf)][_0x45be9a(0x1bb)](_0x200280),this[_0x45be9a(0xf2)]=_0x51bec0,this[_0x45be9a(0x389)]=_0x14b830,this['reset']();},'reset':function(){var _0x58e1fd=_0x12e1b8;_0x11820e[_0x58e1fd(0x193)][_0x58e1fd(0xd4)](this),this['_doReset']();},'process':function(_0x1914b2){var _0x4866b3=_0x12e1b8;return this[_0x4866b3(0x3b2)](_0x1914b2),this['_process']();},'finalize':function(_0x3851e5){var _0x2d7bc9=_0x12e1b8;_0x3851e5&&this['_append'](_0x3851e5);var _0x37b9bf=this[_0x2d7bc9(0x3ca)]();return _0x37b9bf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x19cdae(_0x2ca7c9){return typeof _0x2ca7c9=='string'?_0x1b606e:_0x24cb67;}return function(_0x5c50bf){return{'encrypt':function(_0x3e3697,_0x2dc5e7,_0x120ffe){var _0x32c47b=_0x15b0;return _0x19cdae(_0x2dc5e7)[_0x32c47b(0x37e)](_0x5c50bf,_0x3e3697,_0x2dc5e7,_0x120ffe);},'decrypt':function(_0x4a8987,_0x4bc89f,_0x2a20d7){var _0x36c0b5=_0x15b0;return _0x19cdae(_0x4bc89f)[_0x36c0b5(0x3a8)](_0x5c50bf,_0x4a8987,_0x4bc89f,_0x2a20d7);}};};}())});_0x2143a1[_0x12e1b8(0x163)]=_0x75637e[_0x12e1b8(0x1bb)]({'_doFinalize':function(){var _0x944a0=_0x12e1b8,_0x2f37e1=this[_0x944a0(0x100)](!0x0);return _0x2f37e1;},'blockSize':0x1});var _0x1bb342=_0x1e5644['mode']={},_0x542af3=_0x2143a1[_0x12e1b8(0x187)]=_0x2f7d30[_0x12e1b8(0x1bb)]({'createEncryptor':function(_0x109963,_0x4ae198){var _0x357a9b=_0x12e1b8;return this['Encryptor'][_0x357a9b(0x2dc)](_0x109963,_0x4ae198);},'createDecryptor':function(_0x477564,_0x166b61){var _0x34cff1=_0x12e1b8;return this['Decryptor'][_0x34cff1(0x2dc)](_0x477564,_0x166b61);},'init':function(_0x4ca708,_0x316fcf){var _0x444994=_0x12e1b8;this['_cipher']=_0x4ca708,this[_0x444994(0x21e)]=_0x316fcf;}}),_0x5c4581=_0x1bb342[_0x12e1b8(0x1d0)]=(function(){var _0x30808e=_0x12e1b8,_0x10c3a5=_0x542af3[_0x30808e(0x1bb)]();_0x10c3a5['Encryptor']=_0x10c3a5[_0x30808e(0x1bb)]({'processBlock':function(_0x532826,_0xe0f94f){var _0x196ec6=_0x30808e,_0x5a978e=this['_cipher'],_0x469dfb=_0x5a978e[_0x196ec6(0x355)];_0x48d97f[_0x196ec6(0xd4)](this,_0x532826,_0xe0f94f,_0x469dfb),_0x5a978e[_0x196ec6(0x1c0)](_0x532826,_0xe0f94f),this['_prevBlock']=_0x532826['slice'](_0xe0f94f,_0xe0f94f+_0x469dfb);}}),_0x10c3a5[_0x30808e(0x3d9)]=_0x10c3a5[_0x30808e(0x1bb)]({'processBlock':function(_0x1fd468,_0x38ca9a){var _0x2a0c5c=_0x30808e,_0x2b439f=this[_0x2a0c5c(0x1da)],_0x3add75=_0x2b439f[_0x2a0c5c(0x355)],_0x2ed6f2=_0x1fd468[_0x2a0c5c(0x3a0)](_0x38ca9a,_0x38ca9a+_0x3add75);_0x2b439f[_0x2a0c5c(0xcd)](_0x1fd468,_0x38ca9a),_0x48d97f[_0x2a0c5c(0xd4)](this,_0x1fd468,_0x38ca9a,_0x3add75),this[_0x2a0c5c(0x12c)]=_0x2ed6f2;}});function _0x48d97f(_0x168a6f,_0xb76574,_0x40f0ed){var _0x5004ad=_0x30808e,_0xb85708,_0x1c0103=this[_0x5004ad(0x21e)];_0x1c0103?(_0xb85708=_0x1c0103,this[_0x5004ad(0x21e)]=_0x59193c):_0xb85708=this[_0x5004ad(0x12c)];for(var _0x5558ec=0x0;_0x5558ec<_0x40f0ed;_0x5558ec++)_0x168a6f[_0xb76574+_0x5558ec]^=_0xb85708[_0x5558ec];}return _0x10c3a5;}()),_0x47b1cf=_0x1e5644['pad']={},_0x32c475=_0x47b1cf[_0x12e1b8(0x2cd)]={'pad':function(_0x4519db,_0x2942cb){var _0x2c340f=_0x12e1b8;for(var _0xc5c288=_0x2942cb*0x4,_0x2e39c4=_0xc5c288-_0x4519db[_0x2c340f(0x30c)]%_0xc5c288,_0x174df0=_0x2e39c4<<0x18|_0x2e39c4<<0x10|_0x2e39c4<<0x8|_0x2e39c4,_0xa9a474=[],_0x52c123=0x0;_0x52c123<_0x2e39c4;_0x52c123+=0x4)_0xa9a474[_0x2c340f(0x269)](_0x174df0);var _0x1effb1=_0x193378[_0x2c340f(0x2dc)](_0xa9a474,_0x2e39c4);_0x4519db['concat'](_0x1effb1);},'unpad':function(_0x1be4da){var _0x4bddf4=_0x12e1b8,_0x4583fb=_0x1be4da[_0x4bddf4(0x210)][_0x1be4da[_0x4bddf4(0x30c)]-0x1>>>0x2]&0xff;_0x1be4da[_0x4bddf4(0x30c)]-=_0x4583fb;}};_0x2143a1[_0x12e1b8(0x1ea)]=_0x75637e['extend']({'cfg':_0x75637e[_0x12e1b8(0x1cf)][_0x12e1b8(0x1bb)]({'mode':_0x5c4581,'padding':_0x32c475}),'reset':function(){var _0x3ce829=_0x12e1b8,_0x564a3d;_0x75637e['reset'][_0x3ce829(0xd4)](this);var _0x8c8d01=this[_0x3ce829(0x1cf)],_0x443575=_0x8c8d01['iv'],_0x24dafc=_0x8c8d01['mode'];this[_0x3ce829(0xf2)]==this[_0x3ce829(0x23f)]?_0x564a3d=_0x24dafc[_0x3ce829(0x37d)]:(_0x564a3d=_0x24dafc[_0x3ce829(0x20e)],this[_0x3ce829(0xeb)]=0x1),this[_0x3ce829(0x2e0)]&&this[_0x3ce829(0x2e0)]['__creator']==_0x564a3d?this[_0x3ce829(0x2e0)]['init'](this,_0x443575&&_0x443575[_0x3ce829(0x210)]):(this['_mode']=_0x564a3d[_0x3ce829(0xd4)](_0x24dafc,this,_0x443575&&_0x443575[_0x3ce829(0x210)]),this[_0x3ce829(0x2e0)]['__creator']=_0x564a3d);},'_doProcessBlock':function(_0x51bf4b,_0x20a61b){var _0x53492e=_0x12e1b8;this[_0x53492e(0x2e0)][_0x53492e(0x2e6)](_0x51bf4b,_0x20a61b);},'_doFinalize':function(){var _0x1a1a3d=_0x12e1b8,_0x36506d,_0x106541=this[_0x1a1a3d(0x1cf)][_0x1a1a3d(0x2b5)];return this[_0x1a1a3d(0xf2)]==this[_0x1a1a3d(0x23f)]?(_0x106541[_0x1a1a3d(0x284)](this['_data'],this[_0x1a1a3d(0x355)]),_0x36506d=this['_process'](!0x0)):(_0x36506d=this['_process'](!0x0),_0x106541['unpad'](_0x36506d)),_0x36506d;},'blockSize':0x80/0x20});var _0x168968=_0x2143a1[_0x12e1b8(0x1c6)]=_0x2f7d30[_0x12e1b8(0x1bb)]({'init':function(_0x51b2dd){var _0x16250b=_0x12e1b8;this[_0x16250b(0x130)](_0x51b2dd);},'toString':function(_0x553f3f){var _0x53b9d7=_0x12e1b8;return(_0x553f3f||this[_0x53b9d7(0x19e)])[_0x53b9d7(0x1ab)](this);}}),_0x129a16=_0x1e5644[_0x12e1b8(0x135)]={},_0x2147f9=_0x129a16[_0x12e1b8(0xe9)]={'stringify':function(_0x261b7e){var _0x5d616e=_0x12e1b8,_0x26bd53,_0xb234eb=_0x261b7e[_0x5d616e(0x1b3)],_0x4f8290=_0x261b7e[_0x5d616e(0x27c)];return _0x4f8290?_0x26bd53=_0x193378[_0x5d616e(0x2dc)]([0x53616c74,0x65645f5f])[_0x5d616e(0x18b)](_0x4f8290)[_0x5d616e(0x18b)](_0xb234eb):_0x26bd53=_0xb234eb,_0x26bd53[_0x5d616e(0x1c7)](_0x155954);},'parse':function(_0x27ecf3){var _0x2865c5=_0x12e1b8,_0x4e6466,_0x4e856e=_0x155954['parse'](_0x27ecf3),_0x15fe7c=_0x4e856e[_0x2865c5(0x210)];return _0x15fe7c[0x0]==0x53616c74&&_0x15fe7c[0x1]==0x65645f5f&&(_0x4e6466=_0x193378[_0x2865c5(0x2dc)](_0x15fe7c['slice'](0x2,0x4)),_0x15fe7c[_0x2865c5(0x29e)](0x0,0x4),_0x4e856e['sigBytes']-=0x10),_0x168968['create']({'ciphertext':_0x4e856e,'salt':_0x4e6466});}},_0x24cb67=_0x2143a1[_0x12e1b8(0x3c8)]=_0x2f7d30[_0x12e1b8(0x1bb)]({'cfg':_0x2f7d30['extend']({'format':_0x2147f9}),'encrypt':function(_0x50add7,_0x15201e,_0x5481ca,_0x1be629){var _0x22b1b4=_0x12e1b8;_0x1be629=this[_0x22b1b4(0x1cf)][_0x22b1b4(0x1bb)](_0x1be629);var _0x9bb7a5=_0x50add7[_0x22b1b4(0x37d)](_0x5481ca,_0x1be629),_0x2d6751=_0x9bb7a5['finalize'](_0x15201e),_0x2e2dad=_0x9bb7a5[_0x22b1b4(0x1cf)];return _0x168968[_0x22b1b4(0x2dc)]({'ciphertext':_0x2d6751,'key':_0x5481ca,'iv':_0x2e2dad['iv'],'algorithm':_0x50add7,'mode':_0x2e2dad[_0x22b1b4(0x164)],'padding':_0x2e2dad[_0x22b1b4(0x2b5)],'blockSize':_0x50add7[_0x22b1b4(0x355)],'formatter':_0x1be629[_0x22b1b4(0x135)]});},'decrypt':function(_0x1cd130,_0x3e0b07,_0x12a8b3,_0xdb1094){var _0x1dc436=_0x12e1b8;_0xdb1094=this[_0x1dc436(0x1cf)]['extend'](_0xdb1094),_0x3e0b07=this[_0x1dc436(0x165)](_0x3e0b07,_0xdb1094[_0x1dc436(0x135)]);var _0x3e118e=_0x1cd130[_0x1dc436(0x20e)](_0x12a8b3,_0xdb1094)[_0x1dc436(0x205)](_0x3e0b07['ciphertext']);return _0x3e118e;},'_parse':function(_0x42044d,_0x3cc0c9){var _0x5b3960=_0x12e1b8;return typeof _0x42044d==_0x5b3960(0x3dc)?_0x3cc0c9[_0x5b3960(0xcc)](_0x42044d,this):_0x42044d;}}),_0x1b3073=_0x1e5644[_0x12e1b8(0x30d)]={},_0x4af076=_0x1b3073[_0x12e1b8(0xe9)]={'execute':function(_0x2b3e14,_0x211ea9,_0x19b75c,_0x316c52,_0x15ebcc){var _0x3252a=_0x12e1b8;if(_0x316c52||(_0x316c52=_0x193378[_0x3252a(0x373)](0x40/0x8)),_0x15ebcc)var _0x52f8cd=_0x3d47bb[_0x3252a(0x2dc)]({'keySize':_0x211ea9+_0x19b75c,'hasher':_0x15ebcc})[_0x3252a(0x2c2)](_0x2b3e14,_0x316c52);else var _0x52f8cd=_0x3d47bb[_0x3252a(0x2dc)]({'keySize':_0x211ea9+_0x19b75c})[_0x3252a(0x2c2)](_0x2b3e14,_0x316c52);var _0x2efb3b=_0x193378[_0x3252a(0x2dc)](_0x52f8cd[_0x3252a(0x210)][_0x3252a(0x3a0)](_0x211ea9),_0x19b75c*0x4);return _0x52f8cd['sigBytes']=_0x211ea9*0x4,_0x168968['create']({'key':_0x52f8cd,'iv':_0x2efb3b,'salt':_0x316c52});}},_0x1b606e=_0x2143a1[_0x12e1b8(0xfe)]=_0x24cb67[_0x12e1b8(0x1bb)]({'cfg':_0x24cb67[_0x12e1b8(0x1cf)][_0x12e1b8(0x1bb)]({'kdf':_0x4af076}),'encrypt':function(_0x35e02c,_0xf75dc7,_0xa7cfd,_0x5d0ba8){var _0x36a932=_0x12e1b8;_0x5d0ba8=this['cfg'][_0x36a932(0x1bb)](_0x5d0ba8);var _0x3a2db0=_0x5d0ba8['kdf'][_0x36a932(0x38b)](_0xa7cfd,_0x35e02c[_0x36a932(0x3a7)],_0x35e02c[_0x36a932(0x3df)],_0x5d0ba8['salt'],_0x5d0ba8['hasher']);_0x5d0ba8['iv']=_0x3a2db0['iv'];var _0xfea004=_0x24cb67[_0x36a932(0x37e)][_0x36a932(0xd4)](this,_0x35e02c,_0xf75dc7,_0x3a2db0[_0x36a932(0x33b)],_0x5d0ba8);return _0xfea004['mixIn'](_0x3a2db0),_0xfea004;},'decrypt':function(_0x1fef57,_0x2fbfbc,_0x12c196,_0x26cd7d){var _0x2890ac=_0x12e1b8;_0x26cd7d=this['cfg'][_0x2890ac(0x1bb)](_0x26cd7d),_0x2fbfbc=this[_0x2890ac(0x165)](_0x2fbfbc,_0x26cd7d[_0x2890ac(0x135)]);var _0x5bbabf=_0x26cd7d[_0x2890ac(0x30d)]['execute'](_0x12c196,_0x1fef57[_0x2890ac(0x3a7)],_0x1fef57[_0x2890ac(0x3df)],_0x2fbfbc[_0x2890ac(0x27c)],_0x26cd7d[_0x2890ac(0x32a)]);_0x26cd7d['iv']=_0x5bbabf['iv'];var _0x3f27d0=_0x24cb67[_0x2890ac(0x3a8)][_0x2890ac(0xd4)](this,_0x1fef57,_0x2fbfbc,_0x5bbabf['key'],_0x26cd7d);return _0x3f27d0;}});}();}));}(Je)),Je[_0x1020ef(0x23e)];}var Tn=Ve[_0x4d9803(0x23e)],ti;function Cn(){return ti||(ti=0x1,function(_0x170c5d,_0x5c916a){(function(_0x4df3de,_0x45c1d3,_0x1bfdfa){var _0x1889b9=_0x15b0;_0x170c5d[_0x1889b9(0x23e)]=_0x45c1d3(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x4d5cee){var _0x36d062=_0x15b0;return(function(){var _0x7085fe=_0x15b0,_0x300098=_0x4d5cee,_0x68e69d=_0x300098[_0x7085fe(0x3e2)],_0x5559a4=_0x68e69d['BlockCipher'],_0x3f1efc=_0x300098[_0x7085fe(0x123)],_0x11fd04=[],_0x12f6d1=[],_0x1b3de=[],_0x2d85cd=[],_0x579a94=[],_0x2a27b7=[],_0x3e9455=[],_0x713d66=[],_0x474a07=[],_0x387350=[];(function(){for(var _0x53afd6=[],_0x5b2313=0x0;_0x5b2313<0x100;_0x5b2313++)_0x5b2313<0x80?_0x53afd6[_0x5b2313]=_0x5b2313<<0x1:_0x53afd6[_0x5b2313]=_0x5b2313<<0x1^0x11b;for(var _0x24a6c1=0x0,_0x25a51b=0x0,_0x5b2313=0x0;_0x5b2313<0x100;_0x5b2313++){var _0x2c3c11=_0x25a51b^_0x25a51b<<0x1^_0x25a51b<<0x2^_0x25a51b<<0x3^_0x25a51b<<0x4;_0x2c3c11=_0x2c3c11>>>0x8^_0x2c3c11&0xff^0x63,_0x11fd04[_0x24a6c1]=_0x2c3c11,_0x12f6d1[_0x2c3c11]=_0x24a6c1;var _0x29fc4a=_0x53afd6[_0x24a6c1],_0x5ef117=_0x53afd6[_0x29fc4a],_0x36daaa=_0x53afd6[_0x5ef117],_0x1ad84d=_0x53afd6[_0x2c3c11]*0x101^_0x2c3c11*0x1010100;_0x1b3de[_0x24a6c1]=_0x1ad84d<<0x18|_0x1ad84d>>>0x8,_0x2d85cd[_0x24a6c1]=_0x1ad84d<<0x10|_0x1ad84d>>>0x10,_0x579a94[_0x24a6c1]=_0x1ad84d<<0x8|_0x1ad84d>>>0x18,_0x2a27b7[_0x24a6c1]=_0x1ad84d;var _0x1ad84d=_0x36daaa*0x1010101^_0x5ef117*0x10001^_0x29fc4a*0x101^_0x24a6c1*0x1010100;_0x3e9455[_0x2c3c11]=_0x1ad84d<<0x18|_0x1ad84d>>>0x8,_0x713d66[_0x2c3c11]=_0x1ad84d<<0x10|_0x1ad84d>>>0x10,_0x474a07[_0x2c3c11]=_0x1ad84d<<0x8|_0x1ad84d>>>0x18,_0x387350[_0x2c3c11]=_0x1ad84d,_0x24a6c1?(_0x24a6c1=_0x29fc4a^_0x53afd6[_0x53afd6[_0x53afd6[_0x36daaa^_0x29fc4a]]],_0x25a51b^=_0x53afd6[_0x53afd6[_0x25a51b]]):_0x24a6c1=_0x25a51b=0x1;}}());var _0x3b6b64=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x357620=_0x3f1efc[_0x7085fe(0x3af)]=_0x5559a4[_0x7085fe(0x1bb)]({'_doReset':function(){var _0x572e96=_0x7085fe,_0x186619;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x572e96(0x389)])){for(var _0x20f335=this[_0x572e96(0x1b8)]=this[_0x572e96(0x389)],_0x34c1c3=_0x20f335['words'],_0x190fd2=_0x20f335[_0x572e96(0x30c)]/0x4,_0xf7a2fe=this[_0x572e96(0x33e)]=_0x190fd2+0x6,_0x193844=(_0xf7a2fe+0x1)*0x4,_0x1d3c28=this[_0x572e96(0x1d5)]=[],_0x30916b=0x0;_0x30916b<_0x193844;_0x30916b++)_0x30916b<_0x190fd2?_0x1d3c28[_0x30916b]=_0x34c1c3[_0x30916b]:(_0x186619=_0x1d3c28[_0x30916b-0x1],_0x30916b%_0x190fd2?_0x190fd2>0x6&&_0x30916b%_0x190fd2==0x4&&(_0x186619=_0x11fd04[_0x186619>>>0x18]<<0x18|_0x11fd04[_0x186619>>>0x10&0xff]<<0x10|_0x11fd04[_0x186619>>>0x8&0xff]<<0x8|_0x11fd04[_0x186619&0xff]):(_0x186619=_0x186619<<0x8|_0x186619>>>0x18,_0x186619=_0x11fd04[_0x186619>>>0x18]<<0x18|_0x11fd04[_0x186619>>>0x10&0xff]<<0x10|_0x11fd04[_0x186619>>>0x8&0xff]<<0x8|_0x11fd04[_0x186619&0xff],_0x186619^=_0x3b6b64[_0x30916b/_0x190fd2|0x0]<<0x18),_0x1d3c28[_0x30916b]=_0x1d3c28[_0x30916b-_0x190fd2]^_0x186619);for(var _0xdaa3ff=this[_0x572e96(0x363)]=[],_0x524acd=0x0;_0x524acd<_0x193844;_0x524acd++){var _0x30916b=_0x193844-_0x524acd;if(_0x524acd%0x4)var _0x186619=_0x1d3c28[_0x30916b];else var _0x186619=_0x1d3c28[_0x30916b-0x4];_0x524acd<0x4||_0x30916b<=0x4?_0xdaa3ff[_0x524acd]=_0x186619:_0xdaa3ff[_0x524acd]=_0x3e9455[_0x11fd04[_0x186619>>>0x18]]^_0x713d66[_0x11fd04[_0x186619>>>0x10&0xff]]^_0x474a07[_0x11fd04[_0x186619>>>0x8&0xff]]^_0x387350[_0x11fd04[_0x186619&0xff]];}}},'encryptBlock':function(_0x466e7b,_0x3a5996){var _0x49d63c=_0x7085fe;this[_0x49d63c(0x3ae)](_0x466e7b,_0x3a5996,this[_0x49d63c(0x1d5)],_0x1b3de,_0x2d85cd,_0x579a94,_0x2a27b7,_0x11fd04);},'decryptBlock':function(_0x203846,_0x4681b7){var _0x175ef8=_0x7085fe,_0x5ea05c=_0x203846[_0x4681b7+0x1];_0x203846[_0x4681b7+0x1]=_0x203846[_0x4681b7+0x3],_0x203846[_0x4681b7+0x3]=_0x5ea05c,this[_0x175ef8(0x3ae)](_0x203846,_0x4681b7,this[_0x175ef8(0x363)],_0x3e9455,_0x713d66,_0x474a07,_0x387350,_0x12f6d1);var _0x5ea05c=_0x203846[_0x4681b7+0x1];_0x203846[_0x4681b7+0x1]=_0x203846[_0x4681b7+0x3],_0x203846[_0x4681b7+0x3]=_0x5ea05c;},'_doCryptBlock':function(_0x1dbbd,_0x738232,_0x3e4935,_0x1e38e3,_0x4d0feb,_0x557b81,_0x29303c,_0x471c9b){var _0x3857ca=_0x7085fe;for(var _0x4b92f1=this[_0x3857ca(0x33e)],_0x255343=_0x1dbbd[_0x738232]^_0x3e4935[0x0],_0x28c364=_0x1dbbd[_0x738232+0x1]^_0x3e4935[0x1],_0x10245e=_0x1dbbd[_0x738232+0x2]^_0x3e4935[0x2],_0x2b06d5=_0x1dbbd[_0x738232+0x3]^_0x3e4935[0x3],_0x390e38=0x4,_0x43790a=0x1;_0x43790a<_0x4b92f1;_0x43790a++){var _0x232201=_0x1e38e3[_0x255343>>>0x18]^_0x4d0feb[_0x28c364>>>0x10&0xff]^_0x557b81[_0x10245e>>>0x8&0xff]^_0x29303c[_0x2b06d5&0xff]^_0x3e4935[_0x390e38++],_0x4c1c87=_0x1e38e3[_0x28c364>>>0x18]^_0x4d0feb[_0x10245e>>>0x10&0xff]^_0x557b81[_0x2b06d5>>>0x8&0xff]^_0x29303c[_0x255343&0xff]^_0x3e4935[_0x390e38++],_0x41b5a6=_0x1e38e3[_0x10245e>>>0x18]^_0x4d0feb[_0x2b06d5>>>0x10&0xff]^_0x557b81[_0x255343>>>0x8&0xff]^_0x29303c[_0x28c364&0xff]^_0x3e4935[_0x390e38++],_0x42ab3b=_0x1e38e3[_0x2b06d5>>>0x18]^_0x4d0feb[_0x255343>>>0x10&0xff]^_0x557b81[_0x28c364>>>0x8&0xff]^_0x29303c[_0x10245e&0xff]^_0x3e4935[_0x390e38++];_0x255343=_0x232201,_0x28c364=_0x4c1c87,_0x10245e=_0x41b5a6,_0x2b06d5=_0x42ab3b;}var _0x232201=(_0x471c9b[_0x255343>>>0x18]<<0x18|_0x471c9b[_0x28c364>>>0x10&0xff]<<0x10|_0x471c9b[_0x10245e>>>0x8&0xff]<<0x8|_0x471c9b[_0x2b06d5&0xff])^_0x3e4935[_0x390e38++],_0x4c1c87=(_0x471c9b[_0x28c364>>>0x18]<<0x18|_0x471c9b[_0x10245e>>>0x10&0xff]<<0x10|_0x471c9b[_0x2b06d5>>>0x8&0xff]<<0x8|_0x471c9b[_0x255343&0xff])^_0x3e4935[_0x390e38++],_0x41b5a6=(_0x471c9b[_0x10245e>>>0x18]<<0x18|_0x471c9b[_0x2b06d5>>>0x10&0xff]<<0x10|_0x471c9b[_0x255343>>>0x8&0xff]<<0x8|_0x471c9b[_0x28c364&0xff])^_0x3e4935[_0x390e38++],_0x42ab3b=(_0x471c9b[_0x2b06d5>>>0x18]<<0x18|_0x471c9b[_0x255343>>>0x10&0xff]<<0x10|_0x471c9b[_0x28c364>>>0x8&0xff]<<0x8|_0x471c9b[_0x10245e&0xff])^_0x3e4935[_0x390e38++];_0x1dbbd[_0x738232]=_0x232201,_0x1dbbd[_0x738232+0x1]=_0x4c1c87,_0x1dbbd[_0x738232+0x2]=_0x41b5a6,_0x1dbbd[_0x738232+0x3]=_0x42ab3b;},'keySize':0x100/0x20});_0x300098['AES']=_0x5559a4[_0x7085fe(0x3c4)](_0x357620);}()),_0x4d5cee[_0x36d062(0x3af)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x4d9803(0x23e)],si;function Nn(){var _0x532e33=_0x4d9803;return si||(si=0x1,function(_0x439264,_0x58ed25){(function(_0x3c07da,_0x5e6443){var _0x531259=_0x15b0;_0x439264[_0x531259(0x23e)]=_0x5e6443(te());}(yn,function(_0x12dd18){var _0x2f61a2=_0x15b0;return _0x12dd18['enc'][_0x2f61a2(0x203)];}));}(Xe)),Xe[_0x532e33(0x23e)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){var _0x4e4072=_0x4d9803;return ni||(ni=0x1,function(_0x28cf2f,_0x459129){(function(_0x2c0b10,_0x346f4c){var _0x4f1b77=_0x15b0;_0x28cf2f[_0x4f1b77(0x23e)]=_0x346f4c(te());}(An,function(_0x4aa567){var _0x2f297d=_0x15b0;return(function(){var _0x3dc903=_0x15b0;if(typeof ArrayBuffer==_0x3dc903(0x3ac)){var _0x2d1bdb=_0x4aa567,_0x4e81bd=_0x2d1bdb['lib'],_0x3d1afc=_0x4e81bd[_0x3dc903(0x349)],_0x3ac9ff=_0x3d1afc[_0x3dc903(0x366)],_0x5517f2=_0x3d1afc[_0x3dc903(0x366)]=function(_0x307171){var _0x34e438=_0x3dc903;if(_0x307171 instanceof ArrayBuffer&&(_0x307171=new Uint8Array(_0x307171)),(_0x307171 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x307171 instanceof Uint8ClampedArray||_0x307171 instanceof Int16Array||_0x307171 instanceof Uint16Array||_0x307171 instanceof Int32Array||_0x307171 instanceof Uint32Array||_0x307171 instanceof Float32Array||_0x307171 instanceof Float64Array)&&(_0x307171=new Uint8Array(_0x307171['buffer'],_0x307171[_0x34e438(0x11f)],_0x307171[_0x34e438(0x1ce)])),_0x307171 instanceof Uint8Array){for(var _0x3fc549=_0x307171[_0x34e438(0x1ce)],_0x10387a=[],_0x3a1df4=0x0;_0x3a1df4<_0x3fc549;_0x3a1df4++)_0x10387a[_0x3a1df4>>>0x2]|=_0x307171[_0x3a1df4]<<0x18-_0x3a1df4%0x4*0x8;_0x3ac9ff[_0x34e438(0xd4)](this,_0x10387a,_0x3fc549);}else _0x3ac9ff[_0x34e438(0x2b2)](this,arguments);};_0x5517f2[_0x3dc903(0x2e4)]=_0x3d1afc;}}()),_0x4aa567['lib'][_0x2f297d(0x349)];}));}(Ze)),Ze[_0x4e4072(0x23e)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe['exports'],ri;function xn(){return ri||(ri=0x1,function(_0x990cd8,_0x43fcc7){(function(_0x46d847,_0x46b179,_0x3ae60f){var _0x39fef5=_0x15b0;_0x990cd8[_0x39fef5(0x23e)]=_0x46b179(te(),Ni());}(Mn,function(_0x20cd4f){var _0x3f1a2a=_0x15b0;return _0x20cd4f[_0x3f1a2a(0x284)][_0x3f1a2a(0x200)]={'pad':function(){},'unpad':function(){}},_0x20cd4f[_0x3f1a2a(0x284)][_0x3f1a2a(0x200)];}));}(Qe)),Qe['exports'];}var kn=xn();const $n=$e(kn);function Hn(_0x6d12f1,_0x4ffbf6){var _0x1a471a=_0x4d9803;const _0x14375b=_0x4ffbf6-_0x6d12f1[_0x1a471a(0x312)]%_0x4ffbf6,_0xd5e6c6=String['fromCharCode'](_0x14375b)['repeat'](_0x14375b);return _0x6d12f1+_0xd5e6c6;}function Bn(_0x192fcb,_0x28b8fb){var _0x5aef83=_0x4d9803;const _0xeaaebe=Ln[_0x5aef83(0x373)](0x10),_0x778a7f=Hn(_0x192fcb,0x10),_0x53ee9d=bn[_0x5aef83(0x37e)](Un['parse'](_0x778a7f),ii['parse'](_0x28b8fb),{'iv':_0xeaaebe,'padding':$n});return _0xeaaebe[_0x5aef83(0x18b)](_0x53ee9d[_0x5aef83(0x1b3)])[_0x5aef83(0x1c7)](ii);}function jn(){var _0x4cf3ce=_0x4d9803;const _0xab8e13=_0x245b45()[_0x4cf3ce(0x16f)];if(_0xab8e13){const _0x554c61={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0x4cf3ce(0x1ab)](_0x554c61),_0xab8e13);}}var Fn=Object[_0x4d9803(0x106)],Vn=(_0x9b5332,_0x3b8841,_0x4de12a,_0x4f8db5)=>{var _0x3d241f=_0x4d9803;for(var _0x131c84=_0x4f8db5>0x1?void 0x0:_0x4f8db5?Fn(_0x3b8841,_0x4de12a):_0x3b8841,_0x2c4a8b=_0x9b5332[_0x3d241f(0x312)]-0x1,_0x382f7e;_0x2c4a8b>=0x0;_0x2c4a8b--)(_0x382f7e=_0x9b5332[_0x2c4a8b])&&(_0x131c84=_0x382f7e(_0x131c84)||_0x131c84);return _0x131c84;},Gn=(_0x3c3fa2,_0xec11c0)=>(_0x31b0b1,_0x22915c)=>_0xec11c0(_0x31b0b1,_0x22915c,_0x3c3fa2);let at=class{constructor(_0x21021a){var _0x43e990=_0x4d9803;this[_0x43e990(0xc8)]=_0x21021a,this['_initRequestHeader']();}[_0x4d9803(0x199)](){var _0x2dc60f=_0x4d9803;this['_httpService'][_0x2dc60f(0x2d2)]({'interceptor':(_0x87c7c2,_0x459a9a)=>{var _0x70ba44=_0x2dc60f;const _0x39d52e=_0x87c7c2['headers'],_0x2d3a6a=jn();return _0x2d3a6a&&_0x39d52e[_0x70ba44(0x115)]('x-univer-host',_0x2d3a6a),_0x459a9a(_0x87c7c2);}});}};at=Vn([Gn(0x0,_0x26a7b2(_0x407237))],at);var Wn=Object[_0x4d9803(0x106)],Yn=(_0xef7b40,_0x5bdd18,_0x9afc99,_0x16897c)=>{for(var _0x103c4a=_0x16897c>0x1?void 0x0:_0x16897c?Wn(_0x5bdd18,_0x9afc99):_0x5bdd18,_0x5a239c=_0xef7b40['length']-0x1,_0x2a644e;_0x5a239c>=0x0;_0x5a239c--)(_0x2a644e=_0xef7b40[_0x5a239c])&&(_0x103c4a=_0x2a644e(_0x103c4a)||_0x103c4a);return _0x103c4a;},vt=(_0x23a8de,_0x16c08f)=>(_0x6191f4,_0xe40848)=>_0x16c08f(_0x6191f4,_0xe40848,_0x23a8de);let Ct=class extends _0x2811ce{constructor(_0x40dce7,_0x32af42,_0x46315f){var _0x462183=_0x4d9803;super(),N(this,'_unitInfo$',new _0x48224c(null)),N(this,_0x462183(0x1ba),this[_0x462183(0x23c)][_0x462183(0x2bd)]()),(this[_0x462183(0x31b)]=_0x40dce7,this[_0x462183(0x159)]=_0x32af42,this[_0x462183(0x30a)]=_0x46315f);}async['loadUnitOfRevision'](_0x1aa197,_0x473cfc,_0x2adb85){var _0x374556=_0x4d9803;this['_unitInfo$']['next']({'unitId':_0x1aa197,'type':_0x473cfc});let _0x639296=null;switch(_0x473cfc){case Z[_0x374556(0x336)]:{_0x639296=await this[_0x374556(0x159)][_0x374556(0x251)](_0x1aa197,_0x2adb85);break;}case Z[_0x374556(0x34f)]:{_0x639296=await this[_0x374556(0x159)]['loadDoc'](_0x1aa197,_0x2adb85);break;}default:{this['_logService'][_0x374556(0x153)](_0x374556(0x26b),_0x374556(0xdb));break;}}return _0x639296;}async[_0x4d9803(0x1ee)](_0xd97011,_0x85da34,_0x2ed094){var _0x45c68e=_0x4d9803,_0x40a378;this[_0x45c68e(0x23c)][_0x45c68e(0x137)]({'unitId':_0xd97011,'type':_0x85da34,'subUnitId':_0x2ed094});let _0x15c06a=0x0;const _0x26167b=await((_0x40a378=this['_localCacheService'])==null?void 0x0:_0x40a378['loadOfflineData'](_0xd97011));return _0x26167b&&(_0x26167b[_0x45c68e(0x316)]||_0x26167b['mutations'][_0x45c68e(0x312)]!==0x0)&&(_0x15c06a=_0x26167b[_0x45c68e(0x190)]),_0x15c06a===0x0&&this[_0x45c68e(0x31b)][_0x45c68e(0x264)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x45c68e(0x125)](_0xd97011,_0x85da34,_0x15c06a);}};Ct=Yn([vt(0x0,_0x5e0032),vt(0x1,_0x26a7b2(_0x6321d6)),vt(0x2,_0x426036(J))],Ct);var Kn=Object[_0x4d9803(0x106)],qn=(_0x251b4b,_0x5e3aba,_0x454b09,_0x29c906)=>{var _0x397e00=_0x4d9803;for(var _0x36f899=_0x29c906>0x1?void 0x0:_0x29c906?Kn(_0x5e3aba,_0x454b09):_0x5e3aba,_0x3fbc12=_0x251b4b[_0x397e00(0x312)]-0x1,_0x18c7ff;_0x3fbc12>=0x0;_0x3fbc12--)(_0x18c7ff=_0x251b4b[_0x3fbc12])&&(_0x36f899=_0x18c7ff(_0x36f899)||_0x36f899);return _0x36f899;},pt=(_0x4152b4,_0x24fa4b)=>(_0x361931,_0x38f03c)=>_0x24fa4b(_0x361931,_0x38f03c,_0x4152b4);const zn=['image/png','image/jpeg',_0x4d9803(0x286),_0x4d9803(0x22b),_0x4d9803(0x2d6)],Jn=0x5*0x400*0x400,Xn=_0x4d9803(0x2d1),Zn=_0x4d9803(0x14c),Qn=_0x4d9803(0x394),er=_0x4d9803(0x288);let Rt=class{constructor(_0x5808c4,_0x474851,_0x17dbc7){var _0x59ef8d=_0x4d9803;N(this,_0x59ef8d(0x19f),0x0),N(this,_0x59ef8d(0x232),new _0x37913a()),N(this,'change$',this['_change$']),N(this,_0x59ef8d(0x14b),new Map()),(this[_0x59ef8d(0xc8)]=_0x5808c4,this[_0x59ef8d(0x33d)]=_0x474851,this[_0x59ef8d(0x16a)]=_0x17dbc7);}[_0x4d9803(0x356)](_0x57e222){var _0x69d166=_0x4d9803;this['_waitCount']=_0x57e222,this[_0x69d166(0x232)]['next'](_0x57e222);}[_0x4d9803(0x2d4)](_0x3d27d,_0x348105){var _0x581afe=_0x4d9803;if(_0x348105===_0x2d0ebc[_0x581afe(0x2e2)]){const _0x308441=new Image();return _0x308441[_0x581afe(0x332)]=_0x3d27d,_0x308441;}return this[_0x581afe(0x14b)][_0x581afe(0x35a)](_0x3d27d);}[_0x4d9803(0x39f)](_0x59b340,_0x317c8f,_0x5f3c74){var _0x1f1ad6=_0x4d9803;_0x317c8f===_0x2d0ebc['BASE64']||_0x5f3c74==null||this[_0x1f1ad6(0x14b)][_0x1f1ad6(0x115)](_0x59b340,_0x5f3c74);}async[_0x4d9803(0x1b2)](_0x4d7eac){var _0x2eb5f0=_0x4d9803;try{const _0x468ac1=this[_0x2eb5f0(0x292)](this[_0x2eb5f0(0x14f)](),''+_0x4d7eac),_0x4f564e=(await this['_httpService'][_0x2eb5f0(0x35a)](_0x468ac1))['body'];if(_0x4f564e[_0x2eb5f0(0x153)]&&_0x4f564e[_0x2eb5f0(0x153)][_0x2eb5f0(0x235)]===pi['OK']){const _0x6839f6=new URL(_0x4f564e[_0x2eb5f0(0x35e)],this[_0x2eb5f0(0x139)]())['toString']();return Promise['resolve'](_0x6839f6);}return Promise[_0x2eb5f0(0xf7)](_0x4f564e[_0x2eb5f0(0x153)]);}catch(_0x273202){return Promise[_0x2eb5f0(0xf7)](_0x273202);}}async[_0x4d9803(0x340)](_0x2af998){var _0x3f28cb=_0x4d9803;let _0x3f96b7='';if(!zn['includes'](_0x2af998[_0x3f28cb(0x376)]))return this[_0x3f28cb(0x22e)](),Promise['reject'](new Error(_0x8c8180[_0x3f28cb(0x149)]));if(_0x2af998[_0x3f28cb(0x220)]>Jn)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x8c8180['ERROR_EXCEED_SIZE']));try{const _0x1779c8=new FormData();_0x1779c8['append'](_0x3f28cb(0x247),_0x2af998);const _0x50f354=this['_univerInstanceService']['getFocusedUnit'](),_0x6d06cb=_0x50f354==null?void 0x0:_0x50f354['getUnitId']();if(!_0x6d06cb)throw new Error(_0x3f28cb(0x33c));const _0x2ad3d9=this['_getUploadFileURL']()+_0x3f28cb(0x1ae)+_0x2af998[_0x3f28cb(0x220)][_0x3f28cb(0x1c7)]()+'&source='+mi['UnitEmbedded']+_0x3f28cb(0x3ad)+encodeURIComponent(_0x6d06cb),_0x43aa29={'body':_0x1779c8},_0x14cd07=(await this['_httpService'][_0x3f28cb(0x230)](_0x2ad3d9,_0x43aa29))[_0x3f28cb(0x35f)];if(typeof _0x14cd07[_0x3f28cb(0x18c)]!=_0x3f28cb(0x3dc))return this[_0x3f28cb(0x22e)](),Promise[_0x3f28cb(0xf7)](new Error(_0x8c8180['ERROR_IMAGE']));_0x3f96b7=_0x14cd07[_0x3f28cb(0x18c)];}catch{return this[_0x3f28cb(0x22e)](),Promise[_0x3f28cb(0xf7)](new Error(_0x8c8180[_0x3f28cb(0x298)]));}return new Promise((_0x3dd44c,_0x332ed1)=>{var _0x47b876=_0x3f28cb;const _0x48ddd3=new FileReader();_0x48ddd3['readAsDataURL'](_0x2af998),_0x48ddd3[_0x47b876(0x15d)]=_0x24139a=>{var _0x4687c2=_0x47b876,_0x51f23d;const _0xca6ecd=(_0x51f23d=_0x24139a[_0x4687c2(0x1a5)])==null?void 0x0:_0x51f23d[_0x4687c2(0x302)];if(_0xca6ecd==null){this[_0x4687c2(0x22e)](),_0x332ed1(new Error(_0x8c8180['ERROR_IMAGE']));return;}const _0x461461=_0x2325fa[_0x4687c2(0x2d5)](0x6);_0x3dd44c({'imageId':_0x461461,'imageSourceType':_0x2d0ebc[_0x4687c2(0x191)],'source':_0x3f96b7,'base64Cache':_0xca6ecd,'status':_0x8c8180[_0x4687c2(0x388)]}),this['_decreaseWaiting']();};});}[_0x4d9803(0x180)](){var _0x44e24c=_0x4d9803,_0x38c44a,_0x558d98;const _0x52e511=this[_0x44e24c(0x33d)][_0x44e24c(0x1fe)](Xn),_0x437b99=this[_0x44e24c(0x33d)][_0x44e24c(0x1fe)](K);return(_0x558d98=(_0x38c44a=_0x437b99==null?void 0x0:_0x437b99[_0x44e24c(0x3e1)])!=null?_0x38c44a:_0x52e511)!=null?_0x558d98:Zn;}[_0x4d9803(0x14f)](){var _0x5e8a98=_0x4d9803,_0x5316d8,_0x4dba03;const _0x201201=this['_configService'][_0x5e8a98(0x1fe)](Qn),_0x39feea=this['_configService'][_0x5e8a98(0x1fe)](K);return(_0x4dba03=(_0x5316d8=_0x39feea==null?void 0x0:_0x39feea['signUrlServerUrl'])!=null?_0x5316d8:_0x201201)!=null?_0x4dba03:er;}[_0x4d9803(0x139)](){var _0x446b68=_0x4d9803,_0x352c97;const _0x197ba2=this[_0x446b68(0x33d)][_0x446b68(0x1fe)](K);return(_0x352c97=_0x197ba2==null?void 0x0:_0x197ba2[_0x446b68(0x272)])!=null?_0x352c97:location[_0x446b68(0x195)];}[_0x4d9803(0x292)](_0x49e026,_0x3b9a1b){var _0x431dc7=_0x4d9803;return _0x49e026[_0x431dc7(0x1f7)](_0x431dc7(0x12e),_0x3b9a1b);}[_0x4d9803(0x22e)](){var _0x58f4f6=_0x4d9803;this['_waitCount']-=0x1,this[_0x58f4f6(0x232)]['next'](this['_waitCount']);}};Rt=qn([pt(0x0,_0x26a7b2(_0x407237)),pt(0x1,_0xd6fe56),pt(0x2,_0x26a7b2(_0x3220f3))],Rt);var tr=Object[_0x4d9803(0x106)],ir=(_0x30f004,_0x4d5b56,_0x29fc96,_0x8b5dfe)=>{var _0x511c8b=_0x4d9803;for(var _0x2a565a=_0x8b5dfe>0x1?void 0x0:_0x8b5dfe?tr(_0x4d5b56,_0x29fc96):_0x4d5b56,_0x11ed37=_0x30f004[_0x511c8b(0x312)]-0x1,_0x1e0b29;_0x11ed37>=0x0;_0x11ed37--)(_0x1e0b29=_0x30f004[_0x11ed37])&&(_0x2a565a=_0x1e0b29(_0x2a565a)||_0x2a565a);return _0x2a565a;},ai=(_0x4a8841,_0x5627b5)=>(_0x35a238,_0x5c6e5b)=>_0x5627b5(_0x35a238,_0x5c6e5b,_0x4a8841);const sr=_0x4d9803(0x1a7);let bt=class{constructor(_0x5a0cb8,_0x58922d){var _0x483d5e=_0x4d9803;this[_0x483d5e(0x33d)]=_0x5a0cb8,this[_0x483d5e(0x265)]=_0x58922d;}['_getAPIPrefixPath'](){var _0x44f7cf=_0x4d9803,_0x4f1333,_0xf14977;const _0x3e1246=this[_0x44f7cf(0x33d)][_0x44f7cf(0x1fe)](bi),_0x287318=this[_0x44f7cf(0x33d)]['getConfig'](K);return(_0xf14977=(_0x4f1333=_0x287318==null?void 0x0:_0x287318[_0x44f7cf(0xcf)])!=null?_0x4f1333:_0x3e1246)!=null?_0xf14977:sr;}async[_0x4d9803(0x10d)](_0x25bf10){var _0x1309ec=_0x4d9803;const _0x513caf=this['_getAPIPrefixPath']()+_0x1309ec(0x27d);return{'list':[{'title':_0x1309ec(0x20d),'mentions':(await this[_0x1309ec(0x265)][_0x1309ec(0x35a)](_0x513caf,{'params':{'objectID':_0x25bf10[_0x1309ec(0x1c1)],'unitID':_0x25bf10['unitId']}}))[_0x1309ec(0x35f)]['collaborators']['map'](_0x43a053=>({'objectId':_0x43a053['id'],'name':_0x43a053[_0x1309ec(0x309)][_0x1309ec(0x33f)],'metadata':{'icon':_0x43a053[_0x1309ec(0x309)][_0x1309ec(0x1ed)]},'label':_0x43a053[_0x1309ec(0x309)][_0x1309ec(0x33f)],'objectType':_0x132304[_0x1309ec(0xe3)]})),'metadata':{},'type':_0x132304[_0x1309ec(0xe3)]}]};}};bt=ir([ai(0x0,_0x26a7b2(_0xd6fe56)),ai(0x1,_0x26a7b2(_0x407237))],bt);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x45f9ca,_0x3c1677,_0x1e2c47,_0x4aa4e2)=>{var _0x56d4be=_0x4d9803;for(var _0x2fa45d=_0x4aa4e2>0x1?void 0x0:_0x4aa4e2?nr(_0x3c1677,_0x1e2c47):_0x3c1677,_0x4e4df7=_0x45f9ca[_0x56d4be(0x312)]-0x1,_0x117626;_0x4e4df7>=0x0;_0x4e4df7--)(_0x117626=_0x45f9ca[_0x4e4df7])&&(_0x2fa45d=_0x117626(_0x2fa45d)||_0x2fa45d);return _0x2fa45d;},Ae=(_0xee887,_0x1cfede)=>(_0x1fa7a3,_0x3a0695)=>_0x1cfede(_0x1fa7a3,_0x3a0695,_0xee887);let ot=class extends _0x2811ce{constructor(_0x1b846c,_0x5baf2c,_0x12762e,_0x54666b,_0x141b5a){var _0x12aba1=_0x4d9803;super(),this[_0x12aba1(0x280)]=_0x1b846c,this[_0x12aba1(0x16a)]=_0x5baf2c,this[_0x12aba1(0x260)]=_0x12762e,this[_0x12aba1(0x34b)]=_0x54666b,this[_0x12aba1(0x12a)]=_0x141b5a,this['_initUnitPermissionChange'](),this[_0x12aba1(0x1ff)]();}[_0x4d9803(0x1ff)](){var _0x46199d=_0x4d9803;const _0x21138a=async _0x2e9657=>{var _0x162bf1=_0x15b0;(await this['_collaborationSessionService'][_0x162bf1(0x3bb)](_0x2e9657))['event$'][_0x162bf1(0xdd)](_0x5a308f(_0x42bf89=>_0x42bf89[_0x162bf1(0x2f6)]===_0x363164[_0x162bf1(0x1f4)]),_0x66de9f(this['dispose$']))['subscribe'](_0x4bb38e=>{var _0x579af1=_0x162bf1;const _0x4807f1=_0x4bb38e,{reason:_0x10f42c}=_0x4807f1[_0x579af1(0x1a1)];this[_0x579af1(0x12a)][_0x579af1(0x2cc)]({'id':ne['CLOSE_ROOM'],'data':_0x10f42c}),this[_0x579af1(0x260)][_0x579af1(0x25f)](new _0xec4272(_0x2e9657)['id'],!0x1),this[_0x579af1(0x34b)][_0x579af1(0x1ac)](_0x2e9657);});};_0x515759(this[_0x46199d(0x16a)][_0x46199d(0x185)](_0x4742de['UNIVER_SHEET']),this['_univerInstanceService'][_0x46199d(0x185)](_0x4742de[_0x46199d(0x34f)]))['pipe'](_0x4c9cb8(_0x278da1=>_0x278da1['getUnitId']()),_0x5a308f(_0x5f4dd9=>!_0x2fe1dd(_0x5f4dd9)),_0x66de9f(this['dispose$']))['subscribe'](_0x5b3a29=>{_0x21138a(_0x5b3a29);});}[_0x4d9803(0x2d8)](){var _0x541b98=_0x4d9803;const _0x5a2738=async _0x1f9757=>{var _0x1b6987=_0x15b0;const _0xc59f0e=await this['_collaborationSessionService'][_0x1b6987(0x3bb)](_0x1f9757),_0x489a74=this[_0x1b6987(0x280)][_0x1b6987(0x35a)](_0x15c1ad);_0xc59f0e[_0x1b6987(0x37a)][_0x1b6987(0xdd)](_0x5a308f(_0x550690=>_0x550690[_0x1b6987(0x2f6)]===_0x363164['UPDATE_PERMISSION_OBJ']),_0x66de9f(this[_0x1b6987(0x318)]))[_0x1b6987(0x22c)](_0x5ed7ca=>{var _0x5000f1=_0x1b6987;const _0x49c3f3=_0x5ed7ca,{objectId:_0x436b90}=_0x49c3f3[_0x5000f1(0x1a1)];_0x436b90===_0x1f9757?_0x489a74[_0x5000f1(0x370)](_0x1f9757):_0x489a74[_0x5000f1(0x23a)](_0x1f9757,_0x436b90);});};_0x515759(this[_0x541b98(0x16a)][_0x541b98(0x185)](_0x4742de[_0x541b98(0x336)]))['pipe'](_0x4c9cb8(_0x26e380=>_0x26e380['getUnitId']()),_0x5a308f(_0xec822f=>!_0x2fe1dd(_0xec822f)),_0x66de9f(this['dispose$']))[_0x541b98(0x22c)](_0x48c60c=>{_0x5a2738(_0x48c60c);});}};ot=rr([Ae(0x0,_0x26a7b2(_0xac2571)),Ae(0x1,_0x3220f3),Ae(0x2,_0x194f04),Ae(0x3,_0x26a7b2(Le)),Ae(0x4,_0x26a7b2(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x4aca47,_0x361cbc,_0x2597f0,_0x4c769f)=>{var _0x11010f=_0x4d9803;for(var _0xeb32ae=_0x4c769f>0x1?void 0x0:_0x4c769f?ar(_0x361cbc,_0x2597f0):_0x361cbc,_0xd8b154=_0x4aca47[_0x11010f(0x312)]-0x1,_0x4c7da5;_0xd8b154>=0x0;_0xd8b154--)(_0x4c7da5=_0x4aca47[_0xd8b154])&&(_0xeb32ae=_0x4c7da5(_0xeb32ae)||_0xeb32ae);return _0xeb32ae;},oi=(_0x59f8fe,_0x9ef76a)=>(_0x3936e0,_0x5ae640)=>_0x9ef76a(_0x3936e0,_0x5ae640,_0x59f8fe);let Ot=class{constructor(_0x2eeafb,_0x2d879b){var _0x374c1=_0x4d9803;this['_configService']=_0x2eeafb,this[_0x374c1(0xc8)]=_0x2d879b;}async[_0x4d9803(0x1e6)](_0x426f1a,_0x51ab6a){var _0xb890a3=_0x4d9803,_0x4e8927;const {unitID:_0x98a2c1,type:_0x2e6763,revision:_0x5914c4=0x0}=_0x51ab6a,_0x493537=this[_0xb890a3(0x1b4)]()+'/'+_0x2e6763+_0xb890a3(0x3d7)+_0x98a2c1+'/rev/'+_0x5914c4,_0x267c9e=(await this[_0xb890a3(0xc8)][_0xb890a3(0x35a)](_0x493537))[_0xb890a3(0x35f)],_0x43818b=(_0x4e8927=_0x267c9e[_0xb890a3(0x28e)])==null?void 0x0:_0x4e8927[_0xb890a3(0x11b)];if(_0x43818b){const _0x14ee2e=_0x43818b==null?void 0x0:_0x43818b[_0xb890a3(0x111)],_0x2d3cb6=_0x598c79[_0xb890a3(0x131)](_0x3c3332(_0x14ee2e));_0x43818b[_0xb890a3(0x111)]=_0x2d3cb6,Object[_0xb890a3(0x368)](_0x43818b[_0xb890a3(0x2c5)])[_0xb890a3(0xe7)](([,_0x1a430d])=>{var _0x20fd93=_0xb890a3;const _0x22daee=_0x1a430d[_0x20fd93(0x111)],_0x5093d4=_0x598c79[_0x20fd93(0x131)](_0x3c3332(_0x22daee));_0x1a430d[_0x20fd93(0x111)]=_0x5093d4;});}return _0x267c9e;}async[_0x4d9803(0x24e)](_0xb749c9,_0x13e296){var _0x1dc3d4=_0x4d9803;const {unitID:_0x4ea303,type:_0x5a29b9,blockID:_0x190a72}=_0x13e296,_0x35dd2f=this[_0x1dc3d4(0x192)]()+'/'+_0x5a29b9+_0x1dc3d4(0x3d7)+_0x4ea303+_0x1dc3d4(0x117)+_0x190a72;return(await this[_0x1dc3d4(0xc8)][_0x1dc3d4(0x35a)](_0x35dd2f))['body'];}async['getDeserializedSheetBlock'](_0x46a9b3,_0x1849f8){var _0x80c3e1=_0x4d9803;const {unitID:_0x2a84ee,type:_0x4b7052,blockID:_0x47577d}=_0x1849f8,_0x885935=this['_getAPIPrefix']()+_0x80c3e1(0x117)+_0x4b7052+_0x80c3e1(0x3d7)+_0x2a84ee+'/block/'+_0x47577d;return(await this['_httpService'][_0x80c3e1(0x35a)](_0x885935))[_0x80c3e1(0x35f)];}async[_0x4d9803(0x1fc)](_0xea1ef1,_0x2fbfb9){var _0x149764=_0x4d9803;const {unitID:_0x23ca34,type:_0x391e04,from:_0x1011e5,to:_0x184aa8}=_0x2fbfb9,_0x248daa=this[_0x149764(0x192)]()+'/'+_0x391e04+'/unit/'+_0x23ca34+_0x149764(0x341)+_0x1011e5+'&to='+_0x184aa8;return(await this[_0x149764(0xc8)]['get'](_0x248daa))[_0x149764(0x35f)];}['getSnapshotAPIPath'](){var _0x40456a=_0x4d9803,_0x1ee5c0;return(_0x1ee5c0=this[_0x40456a(0x33d)]['getConfig'](ps))!=null?_0x1ee5c0:this['_getAPIPrefix']();}[_0x4d9803(0x192)](){var _0xb8a9f2=_0x4d9803,_0x4e9305,_0x233481;const _0x2158df=this[_0xb8a9f2(0x33d)][_0xb8a9f2(0x1fe)](fs),_0x455147=this[_0xb8a9f2(0x33d)][_0xb8a9f2(0x1fe)](K);return(_0x233481=(_0x4e9305=_0x455147==null?void 0x0:_0x455147['snapshotServerUrl'])!=null?_0x4e9305:_0x2158df)!=null?_0x233481:vs;}async[_0x4d9803(0x1a4)](_0x3c2902,_0x4dba84){var _0x402feb=_0x4d9803;const _0x486179='/universer-api/snapshot/'+_0x4dba84['type']+_0x402feb(0x3d7)+_0x4dba84[_0x402feb(0x347)]+_0x402feb(0x34d);return(await this[_0x402feb(0xc8)][_0x402feb(0x35a)](_0x486179,{'params':{'resourceId':JSON[_0x402feb(0x1ab)](_0x4dba84[_0x402feb(0x315)])}}))[_0x402feb(0x35f)];}[_0x4d9803(0x1f2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4d9803(0x3ab)](){var _0xc6e548=_0x4d9803;throw new Error(_0xc6e548(0x375));}[_0x4d9803(0x213)](){var _0x333338=_0x4d9803;throw new Error(_0x333338(0x375));}[_0x4d9803(0x18a)](){var _0x303996=_0x4d9803;throw new Error(_0x303996(0x375));}[_0x4d9803(0x29d)](){var _0x58f3a8=_0x4d9803;throw new Error(_0x58f3a8(0x375));}[_0x4d9803(0xf3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ot=or([oi(0x0,_0xd6fe56),oi(0x1,_0x26a7b2(_0x407237))],Ot);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x2e633d,_0x4ae783,_0x135bda,_0x58aeae)=>{var _0x2ff950=_0x4d9803;for(var _0x7bdf72=_0x58aeae>0x1?void 0x0:_0x58aeae?cr(_0x4ae783,_0x135bda):_0x4ae783,_0xa29446=_0x2e633d[_0x2ff950(0x312)]-0x1,_0x57b1db;_0xa29446>=0x0;_0xa29446--)(_0x57b1db=_0x2e633d[_0xa29446])&&(_0x7bdf72=_0x57b1db(_0x7bdf72)||_0x7bdf72);return _0x7bdf72;},we=(_0x95230,_0x3a67f1)=>(_0x2433b9,_0x311001)=>_0x3a67f1(_0x2433b9,_0x311001,_0x95230);let yt=class extends _0x142fe6{constructor(_0x8309b7,_0x1fe8f7,_0x58f1e2,_0x9a79e4,_0x3175be){var _0x29f276=_0x4d9803;super(_0x8309b7,_0x1fe8f7,_0x58f1e2),this[_0x29f276(0x23b)]=_0x9a79e4,this[_0x29f276(0x31b)]=_0x3175be;}[_0x4d9803(0x109)](_0x545536,_0x482b78){var _0x435356=_0x4d9803;const _0x4b5e22=this['_getUndoStack'](_0x545536);if(_0x4b5e22)try{const _0xff34f6=this[_0x435356(0x27e)](_0x4b5e22,_0x482b78);this[_0x435356(0x1a2)](_0x545536,_0xff34f6);}catch(_0x2db26f){this[_0x435356(0x31b)][_0x435356(0x153)](_0x435356(0x26a),_0x2db26f),this[_0x435356(0x2a0)](_0x545536);}const _0xa6fb50=this[_0x435356(0x30e)](_0x545536);if(_0xa6fb50)try{const _0xbdffb8=this[_0x435356(0x27e)](_0xa6fb50,_0x482b78);this['_substituteRedoStack'](_0x545536,_0xbdffb8);}catch(_0xe6132a){this['_logService'][_0x435356(0x153)](_0xe6132a),this[_0x435356(0x18f)](_0x545536);}}['_clearUndo'](_0x5b1e6d){var _0x42956d=_0x4d9803;const _0x32d3ce=this[_0x42956d(0x281)](_0x5b1e6d);_0x32d3ce&&(_0x32d3ce[_0x42956d(0x312)]=0x0,this[_0x42956d(0xf4)]());}[_0x4d9803(0x18f)](_0x1b3e64){var _0x119c18=_0x4d9803;const _0x1cd83c=this['_getRedoStack'](_0x1b3e64);_0x1cd83c&&(_0x1cd83c[_0x119c18(0x312)]=0x0,this[_0x119c18(0xf4)]());}[_0x4d9803(0x1a2)](_0xa8fae4,_0x5daa59){var _0x42835b=_0x4d9803;this[_0x42835b(0x26e)]['set'](_0xa8fae4,_0x5daa59),this[_0x42835b(0xf4)]();}['_substituteRedoStack'](_0x38908a,_0x11051d){var _0x28f107=_0x4d9803;this[_0x28f107(0x3a4)][_0x28f107(0x115)](_0x38908a,_0x11051d),this[_0x28f107(0xf4)]();}[_0x4d9803(0x27e)](_0x1b25d0,_0x5ab068){var _0x559f56=_0x4d9803;const _0x33f96c=[];let _0x2aa5e7=_0x5ab068,_0x145c51=_0x5ab068;for(let _0x43d5e2=_0x1b25d0['length']-0x1;_0x43d5e2>=0x0;_0x43d5e2--){const {unitID:_0x2c57cb,undoMutations:_0x27c94d,redoMutations:_0x3b1f98}=_0x1b25d0[_0x43d5e2],_0x185399=this['_transformService'][_0x559f56(0x1e1)](_0x2aa5e7,_0x27c94d),_0x3f81f1=this[_0x559f56(0x23b)][_0x559f56(0x1e1)](_0x145c51,_0x3b1f98);if(_0x4c0a6b(_0x185399)||_0x4c0a6b(_0x3f81f1)){this['_logService'][_0x559f56(0x153)]('[CollaborationUndoRedoService]',_0x559f56(0x378),_0x185399,_0x3f81f1);break;}_0x2aa5e7=_0x185399[_0x559f56(0x2dd)],_0x145c51=_0x3f81f1[_0x559f56(0x2dd)],_0x33f96c[_0x559f56(0x269)]({'unitID':_0x2c57cb,'undoMutations':_0x185399['m2Prime'],'redoMutations':_0x3f81f1['m2Prime']});}return _0x33f96c[_0x559f56(0x296)]();}};yt=hr([we(0x0,_0x3220f3),we(0x1,_0x4295e4),we(0x2,_0x127811),we(0x3,_0x2053d4),we(0x4,_0x5e0032)],yt);var _r=Object['defineProperty'],lr=Object['getOwnPropertyDescriptor'],ur=(_0x3d9384,_0x273636,_0x1f35b6)=>_0x273636 in _0x3d9384?_r(_0x3d9384,_0x273636,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f35b6}):_0x3d9384[_0x273636]=_0x1f35b6,dr=(_0x155330,_0x129352,_0x477bb5,_0x1b5cf6)=>{var _0x2c5187=_0x4d9803;for(var _0x2eb3fd=_0x1b5cf6>0x1?void 0x0:_0x1b5cf6?lr(_0x129352,_0x477bb5):_0x129352,_0x592c8a=_0x155330[_0x2c5187(0x312)]-0x1,_0x490ca9;_0x592c8a>=0x0;_0x592c8a--)(_0x490ca9=_0x155330[_0x592c8a])&&(_0x2eb3fd=_0x490ca9(_0x2eb3fd)||_0x2eb3fd);return _0x2eb3fd;},mt=(_0x13723c,_0x3a7c6c)=>(_0x5a0760,_0x9ad4f2)=>_0x3a7c6c(_0x5a0760,_0x9ad4f2,_0x13723c),fr=(_0x4d5e18,_0x1dc22b,_0x26bb28)=>ur(_0x4d5e18,_0x1dc22b+'',_0x26bb28);const vr=_0x4d9803(0x2de);let Nt=class extends _0x31f3ca{constructor(_0x1853c3,_0x2013df,_0x537ee3,_0x262f4d){var _0x3acfc0=_0x4d9803;super(),N(this,_0x3acfc0(0x212)),(this['_logService']=_0x2013df,this[_0x3acfc0(0x280)]=_0x537ee3,this[_0x3acfc0(0x33d)]=_0x262f4d);const {..._0x34535b}=_0x286db6({},Ds,_0x1853c3);if(!_0x34535b[_0x3acfc0(0x273)])throw new Error(_0x3acfc0(0x383));this[_0x3acfc0(0x212)]=_0x34535b,this['_configService'][_0x3acfc0(0x3b6)](K,_0x34535b);}[_0x4d9803(0x31e)](){var _0x630a5a=_0x4d9803;this[_0x630a5a(0xed)](),this['_initDependencies']();}[_0x4d9803(0xed)](){var _0x2c27ba=_0x4d9803,_0x2351ca,_0x12f4c1;this[_0x2c27ba(0x280)][_0x2c27ba(0x24a)](_0x4f0e5c)&&this['_logService']['error'](_0x2c27ba(0x31d),_0x2c27ba(0x127));const _0x56c69c=_0x4c04a6([[_0x4f0e5c,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this['_config'][_0x2c27ba(0x273)]}],[_0x3e4794,{'useClass':Ot}],[_0x3f1267,{'useClass':Tt}],[_0xd7b418,{'useClass':Rt}],[_0x39791e,{'useClass':bt}],[nt],[It]],(_0x2351ca=this['_config'])==null?void 0x0:_0x2351ca['override']);if(!((_0x12f4c1=this['_config'])!=null&&_0x12f4c1[_0x2c27ba(0x343)])){const _0xdd0f56=_0x56c69c[_0x2c27ba(0x1d4)](([_0x34aa9a])=>_0x34aa9a===ht);_0xdd0f56!==-0x1&&_0x56c69c[_0x2c27ba(0x29e)](_0xdd0f56,0x1);}_0x530822(this[_0x2c27ba(0x280)],_0x56c69c);}[_0x4d9803(0x354)](){var _0x4368a7=_0x4d9803,_0x3e7c2e,_0x4d786e,_0x41f66d;this[_0x4368a7(0x280)][_0x4368a7(0x35a)](_0x407237)[_0x4368a7(0x2d2)]({'priority':0x14,'interceptor':_0x4f9674({'maxParallel':0x6})}),(_0x3e7c2e=this['_config'])!=null&&_0x3e7c2e[_0x4368a7(0x360)]||(_0x4d786e=this['_injector']['get'](J,_0x317b80[_0x4368a7(0x3c3)]))==null||_0x4d786e[_0x4368a7(0x35d)](),(_0x41f66d=this['_config'])!=null&&_0x41f66d[_0x4368a7(0x13d)]&&_0xa9512c(this['_injector'],[[rt]]),_0xa9512c(this[_0x4368a7(0x280)],[[at],[nt],[ot]]);}};fr(Nt,_0x4d9803(0x1a8),vr),Nt=dr([_0x102237(_0x4336b4,_0x5e41ad),mt(0x1,_0x5e0032),mt(0x2,_0x26a7b2(_0xac2571)),mt(0x3,_0xd6fe56)],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};