@univerjs-pro/collaboration-client 0.10.7-nightly.202509130618 → 0.10.7-nightly.202509130703
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x5410a2=_0x48ad;(function(_0x2b5a82,_0x5388e8){var _0xdc61f0=_0x48ad,_0x2d742e=_0x2b5a82();while(!![]){try{var _0x5e69cd=parseInt(_0xdc61f0(0x425))/0x1*(parseInt(_0xdc61f0(0x426))/0x2)+parseInt(_0xdc61f0(0x23d))/0x3+-parseInt(_0xdc61f0(0x3bd))/0x4+parseInt(_0xdc61f0(0x373))/0x5+parseInt(_0xdc61f0(0x408))/0x6*(-parseInt(_0xdc61f0(0x30b))/0x7)+-parseInt(_0xdc61f0(0x1ca))/0x8+parseInt(_0xdc61f0(0x28e))/0x9;if(_0x5e69cd===_0x5388e8)break;else _0x2d742e['push'](_0x2d742e['shift']());}catch(_0x18903b){_0x2d742e['push'](_0x2d742e['shift']());}}}(_0x28c4,0xdbce3));var yi=Object[_0x5410a2(0x226)],Ni=(_0x4daaa3,_0x1755a9,_0x36a1ba)=>_0x1755a9 in _0x4daaa3?yi(_0x4daaa3,_0x1755a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36a1ba}):_0x4daaa3[_0x1755a9]=_0x36a1ba,N=(_0x3f5320,_0x185438,_0x49126c)=>Ni(_0x3f5320,typeof _0x185438!=_0x5410a2(0x1f2)?_0x185438+'':_0x185438,_0x49126c);import{CollaborationEvent as _0x58a832,ITransformService as _0x66570c,isTransformMutationsWithChangesetSuccess as _0x4f2573,mapDocumentTypeToUniverType as _0x15f91b,RevisionService as _0x4291a6,isTransformChangesetsSuccess as _0x596bf2,CompressMutationService as _0x19a54c,parseProtocolChangeset as _0x596723,uuidv4 as _0x4076b1,ISnapshotServerService as _0x781d63,parseChangesetToProtocol as _0x3be09d,SnapshotService as _0x495ffc,textEncoder as _0x53a6e2,b64DecodeUnicode as _0x1e11c7,isTransformMutationsWithChangesetFailure as _0x5a9458,UniverCollaborationPlugin as _0x229b71}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1f2fda,Inject as _0x2a67ea,UserManagerService as _0x10e3a5,Disposable as _0xba8b36,UniverInstanceType as _0x6591bc,ILogService as _0x3229e5,IConfigService as _0x54dc50,Optional as _0x38fedb,RxDisposable as _0x11e454,createIdentifier as _0x4f0779,Injector as _0xb9171d,Tools as _0x29cb85,Rectangle as _0x349d7c,ICommandService as _0x51e75f,JSONX as _0x4510ac,CommandType as _0x21f367,IUndoRedoService as _0x384b35,IPermissionService as _0x5a942e,LocaleService as _0x2cfa1d,sequenceExecute as _0x4aa62c,toDisposable as _0x4c369e,DisposableCollection as _0x1fcbec,Workbook as _0x62eeb6,generateRandomId as _0x38c2fb,MentionType as _0x50c1f8,isInternalEditorID as _0x52ebf6,LocalUndoRedoService as _0x2681bb,IContextService as _0x808715,DependentOn as _0x367f7b,Plugin as _0x1808a6,merge as _0xb87e1b,mergeOverrideWithDependencies as _0x400c6f,IAuthzIoService as _0x2e929d,IMentionIOService as _0x554ac2,registerDependencies as _0x5a059c,Quantity as _0x1b3167,touchDependencies as _0x2fc19d}from'@univerjs/core';import{RichTextEditingMutation as _0x43c442}from'@univerjs/docs';import{SheetsSelectionsService as _0x4230a1,SetSelectionsOperation as _0x1b63c7,InsertSheetMutation as _0x47fa51,EmptyMutation as _0x13a043,WorkbookEditablePermission as _0x3078fa,SheetPermissionInitController as _0x4231b0}from'@univerjs/sheets';import{Subject as _0x3a3a31,merge as _0x350ea0,of as _0x4ba3a3,BehaviorSubject as _0xc40a72,takeUntil as _0x3f1efb,ReplaySubject as _0x1326d6,take as _0x39041d,map as _0x3abd4f,shareReplay as _0x2d840f,firstValueFrom as _0x36bd98,concatMap as _0x4d0d28}from'rxjs';import{ITelemetryService as _0x59f2ae}from'@univerjs/telemetry';import{map as _0x271875,take as _0x4bd71c,filter as _0x1eed09,delay as _0x199731,takeUntil as _0x5c1d21}from'rxjs/operators';import{HTTPService as _0x4adef9,ISocketService as _0x3e8cce,MergeInterceptorFactory as _0x5b8ea8,HTTPRequest as _0x15092a,UniverNetworkPlugin as _0x531c34,ThresholdInterceptorFactory as _0x2b1539}from'@univerjs/network';import{ImageSourceType as _0x109204,ImageUploadStatusType as _0x1ac2f5,IImageIoService as _0x126bd0}from'@univerjs/drawing';import{getGlobalObject as _0x1a58a6}from'@univerjs-pro/license';const fs=_0x5410a2(0x18a),vs=_0x5410a2(0x1ba),ps=0x7d0,ms='ws://127.0.0.1:8000/universer-api/comb/connect',Ir='/universer-api/user/session-ticket',gs=_0x5410a2(0x1b9),Ss=0x7530,di=_0x5410a2(0x2ef),fi=0x4e20,Es=0x4e20,Is=_0x5410a2(0x23e),Ts=0x3,Tr=_0x5410a2(0x24a),Cr=0x3e8,Cs=_0x5410a2(0x257),Rs=_0x5410a2(0x234),Rr=_0x5410a2(0x45c),Or=_0x5410a2(0x46a);function _0x28c4(){var _0x24d166=['unitId\x20is\x20not\x20found','OTHER_CLIENTS_EDITING','session.room-not-exists','[OfflineState]:\x20received\x20rejection.','create','not_collab','updateCollaborator','target','mutations','NOT_FOUND','_substituteRedoStack','_getAPIPrefixPath','repeat','/unit/','UNRECOGNIZED','actions','update','listRoles','sessionStatus','createInstance','substr','byteLength','getSheetBlock','resolve','add','_univerInstanceService','addImageSourceCache','_parse','updateMember','clone','ONLINE','[CollaborationEntity]','_queuedRemoteChangesets','_logService','push','_init','executeCommand','YUUMI_URL_COL_OUT_OF_RANGE','_retryCount','onCommentUpdate','randomBytes','\x20-\x20','blockSize','_invKeySchedule','clamp','capture','_createInitialStateImpl','joinEvent','decryptBlock','ERROR_IMAGE','_append','UNISCRIPT_RUN','_keySchedule','members$','Hex','loadUnit','fetch_missing','image/jpg','_onRemoteRetry','_revisionService','keySize','encrypt','BufferedBlockAlgorithm','ceil','avatar','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','520070LzHFHc','HELLO','c2Prime','UNKNOWN_CODE','YUUMI_RATE_OVER_LIMIT','socket\x20close','unpad','PERSON','PasswordBasedCipher','toggleOffline','CLOSE_ROOM','UPDATE_CURSOR','_unlockTransition','SNAPSHOT_HAS_BEEN_REMOVED','GLOBAL_ROOMS_CNT_EXCEEDS','encode','_doCryptBlock','/object','words','UNIVER_SHEET','_waitForHeartbeatResponse','awaitingChangeset','updateOfflineData','_updateLocalCache','getUnitType','hostname','_replayCachedMutations','Utf8','LICENSE_EXPORT_SIZE_EXCEEDED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','url','apply','focused$','map','dispose','EvpKDF','authzUrl','_tryReconnect','{fileID}','_listenToNetworkCondition','charCodeAt','SUBMIT_CHANGESET_TIMEOUT','revision','getValue','_configService','Decryptor','_emitMembers','JOINING','socket\x20open.','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','slice','_commentService','_httpService','subscribe','now','onTransformRemoteChangesetByStateCache','_lockTransition','onSyncEditingCollabCursor','max','[UniverCollaborationClientPlugin]','session.room-cnt-exceeds','OPTIONAL','algo','_members$','UNIVER_PROJECT','CHANGESET_REVISION_CONFILICT','cmd','_createHandler','concat','selections','stopTime','_change$','_initMergeInterceptor','enableAuthServer','1022196IqnLsT','fetchThroughInterceptors','YUUMI_ALL_TABLES_IS_INVALID','_collabSessionService','_initDependencies','post','_injector','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','USERS_LEAVE','_onUserJoin','UNIVER_DOC','list','_telemetryInfo','_startCollaboration','WordArray','_getCurrentRevision','sessionStatus$','_sessions','[CollaborationSession]','getMemberID','_scheduleCompleteTimestamp','SOCKET_FAILED','_updateState','_fetchMissChangesets','error$','POST','reject','toString','_getSignURL','_timeoutTimer','shouldCloseConn','YUUMI_ASYNCIO_CANCELLED','__creator','pauseCollaboration','__Key__','rev','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','SerializableCipher','encryptBlock','_localCacheService','resourceIDs','_onLocalMutation','memberID','_clearRetryConnectingTimer','result','updatePermissionPoint','createEncryptor','extend','LIVESHARE_REQUEST_HOST','eventID','HttpExport','offline','debug','submit\x20changeset\x20error!','baseRev','event$','HmacMD5','_sessionStatus$','msCrypto','People','_iKey','lib','transformStack\x20failed!','status','floor','_onCombEvent','_onConflict','infoRsp','clear','onTransformSelections','COMPLETION_FINISHED','_waitCount','roles','loginUrlKey','/-/object/-/batch_allowed','318OKBLNg','params','salt','name','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','originalMeta','crypto','LIVESHARE_OPERATION','_transformSelections','image/jpeg','getRandomValues','UserProfileImg','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SHOULD_CLOSE_CONN','collaMsg','saveImage','_cipher','requestParams','unknown','/universer-api/snapshot/','_status$','find','PERMISSION_DENIED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','pad','filter','AWAITING_WITH_PENDING','onTransformRemoteChangesetByIMECache','WECHAT_HAS_BEEN_BOUND','115891hTtuDL','8ANgkym','_sendingTimer','USERS_ENTER','sin','getTime','_getDownloadEndpointURL','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_clearScheduledTask','setShowComponents','_socketReady','_collaborationPaused','getCollabEntity$','socket$','requireSession','univer-pro.collaboration-client.network-condition.service','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','changesets','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','LICENSE_DISTRO_REJECTED','_ENC_XFORM_MODE','every','size','_acknowledgedAwaitingChangeset','_exhaustRemoteChangesetQueue','[CollaborationUndoRedoService]','resend','?size=','putCollaborators','&assign=','UNDEFINED','close$','charAt','Cipher','_executeRemoteChangeset','_getLoginPath','asObservable','_clearLocalCache','_initRequestHeader','_transformRemoteChangesetByStateCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_changesetSessionId','Undefined','COMPRESS_MUTATION_SEND','next','transformSelections','compose','_socket$','\x20in\x20_schedule.','_config','BASE64','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','members','HttpImport','stringify','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','FAIL','getAllMembers','transformChangesets','_resendTimeout','_getAPIPrefix','onCommandExecuted','_resendWithTimeout','APPLY_REJECT','_clearUndo','collaborators','getConfig','_handler','userID','/universer-api/uniscript','_mode','_memberService','cfg','sheets','[PendingState]:\x20received\x20rejection.','registerHTTPInterceptor','\x0aCurrent:\x20','_nDataBytes','join','_transformRemoteChangesetByIMECache','LIVESHARE_NEW_HOST','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onRemoteChangeset','abs','\x0aAfter:\x20','_socket','sid','csShouldRetryEvent','onRemoteAck','init','_collaborationTimeoutTimer','collaboratorID','getTypeOfUnitAdded$','/universer-api/file/{fileID}/sign-url','padding','CHANGESET_SHOULD_RETRY','ALREADY_EXISTS','reduce','collabWebSocketUrl','INVITE_CODE_ALREADY_BOUND','Hasher','responseType','delete','leaveEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_keyPriorReset','/universer-api/snapshot','onTransformState','\x20to\x20','conflict','_shouldReportTelemetry','execute','_doFinalize','entries','_sendHeartbeat','waitForRoom$','_unitInfo$','CONFLICT','createSocket','_collaborationSessionService','indexOf','format','onRemoteRetry','[CollaborationState]:\x20apply\x20error!','unitID','fetching\x20missing\x20changesets\x20from\x20','objectActions','get','/role','getInterceptPoints','onLocalMutation','getUnitStatus$','_compressMutationService','MSG_FOR_ERROR','message$','hasher','type','getImageSourceCache','univer-pro.collaboration-client-socket-service','interceptor','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LEAVE','complete','transformMutationsWithChangeset','LOGIN_FAILED','addHandlerCallback','set','_key','&to=','getFocusedUnit','listCollaborators','getCollabEntity','INVITE_CODE_HAS_BEEN_UES','HEARTBEAT_INTERVAL','SNAPSHOT_URL_KEY','UNAUTHENTICATED','_initCloseConn','_undoRedoService','_instanceService','pipe','INVITE_CODE_REQUIRED','/resources','_clearHeartbeatTimer','snapshotServerUrl','INVALID_ARGUMENT','updateSnapshot','?url=','onlyLocal','onTransformIME','FileId','7011496mQKRds','updateCursorEvent','_onMessage','CBC','_xformMode','CHANGESET_ACK','_getUndoStack','_transformUndoredo','put','_DEC_XFORM_MODE','_resendTimer','uploadFileServerUrl','EMAIL_HAS_BEEN_BOUND','/block/','unitId','ENSURE_SNAPSHOT_EXECUTION','awaiting_with_pending','_transformStateCache','compute','pending','_decreaseWaiting','[CollaborationSessionService]:\x20socket\x20error','permissionRejEvent','PENDING','setConfig','Base','_networkConditionService','_schedule','splice','_awaitingChangeset','PY_RUNTIME_SCRIPT_ERROR','[OfflineState]:\x20received\x20changeset.','image/gif','function','_removeRoom','close','_onConnectionOpen','_data','_commandService','session','symbol','onload','_remoteChangesetQueue','LIVESHARE_FETCH_OPERATIONS','setCurrentUser','roomInfos','MOBILE_HAS_BEEN_BOUND','RECV','_clearCollaborationTimeoutTimer','_incrementRevisionNumber','collaboration-client.config','reqId','LICENSE_MAX_UNITS_EXCEEDED','error','_applyRemoteChangeset','unitInfo$','_disableEditing','byteOffset','objectType','UPDATE_PERMISSION_OBJ','_onRemoteACK','c1Prime','removeMember','_updateStatus','_tryEnsureSocket','encodeURIComponent','CHANGESET_REJ','_isPermissionRej','[DataLoaderService]','forEach','headers','getActiveSheet','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','joinRsp','state','YUUMI_UNABLE_LOAD_URL','enc','_candidateSocket','_type','COMPRESS_MUTATION_APPLY','_entities','_collaborationUIEventService','enableCollaboration','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','exports','FETCH_MISS','_map','transformUndoRedo','isPermissionRej','AWAITING','_joinRoom','_sheetTransformSelectionsService','defineProperty','decrypt','textRanges','origin','_event$','HMAC','confirm','CONNECTOR_DATA_TOO_LARGE','fetchMiss','_syncEditingCollabCursor','default','AES','YUUMI_NO_CUBOID_FOR_QUESTION','saveChangeset','/universer-api/oidc/authpage','Malformed\x20UTF-8\x20data','BlockCipher','JOIN_ROOM_NOT_EXISTS','INTERNAL_ERROR','COMMENT_UPDATE','APPLY_REVISION_CONFILICT','_hasher','/new_changes','1798992DQRtwG','RETRY_CONNECTING_MAX_COUNT','_stopTelemetryCollaborationNewChangeset','[FetchMissState]','dispose$','_getCtorByUniverType','ciphertext','_eventService','patch','data','method','ivSize','_transformService','LOCAL_CACHE_INTERVAL','loadDoc','_throwTelemetryCollaborationNewChangeset','iterations','save\x20fail\x20reason\x20is\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','NoPadding','values','ERROR_IMAGE_TYPE','/collaborator','_hash','key','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','/universer-api/comb','_onFetchMissResult','_initUnitPermissionChange','_state','/-/object/list','localeService','toggleOnline','LICENSE_IMPORT_SIZE_EXCEEDED','liveShareOperation','SUBMIT_CHANGESET','/rev/','_onUserLeave','Pkcs7','_socketMessageSubscription','_localeService','_createInitialState','_onRemoteChangeset','onMissedChangesetFetched','collaboration-client.local-cache-service','body','__esModule','mode','loadUnitOfRevision','_iv','APPLY_PERMISSION_DENIED','_sendHeartbeatTimer','OpenSSL','_singleActiveUnitService','reconnect','onSendChangeset','_reverseMap','_getRedoStack','_permissionService','code','_HTTPService','MD5','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','mixIn','SNAPSHOT_INVALID_SNAPSHOT','kdf','_prevBlock','call','_substituteUndoStack','_doCreateSocket','HEARTBEAT','hasOwnProperty','formatter','min','PSEUDO_FETCH_MISSING_RESULT','YUUMI_AI_RUN_FAILED','title','_snapshotService','socketService','_handlerCallback','13885002OWGNaL','JOIN','has','_retryConnectingTimer','disposeWithMe','commentUpdateEvent','closeSession','parse','$super','reverse','YUUMI_CONNECTOR_URL_NOT_FOUND','APPLY_DUPLICATED','allowed','deepClone','_state$','[CollaborationSessionService]','_sender','/object/','open$','_scheduleCollaborationTimeoutTimer','UNIVER_SLIDE','getOwnPropertyDescriptor','APPLY_NON_SEQUENTIAL_REVISION','_roomMembers','onRemoteRej','UnitEmbedded','LIVESHARE_TERMINATE','fetchMissingChangesets','EMAIL_VERIFY_CODE_MISMATCH','UNIVER_COLLABORATION_CLIENT_PLUGIN','_roomCreated$','JOIN_ROOM_FULL','routeKey','readyForCollab','univer-pro.collaboration-client.single-active-unit-service','location','JOIN_ROOM_FAILED','connection\x20error','emitEvent','readInt32LE','_imageSourceCache','&source=','_checkMissing','_transformStack','/universer-api/authz','PERMISSION_REJ','_transformIMECache','Univer','getCurrentUser','fromCharCode','FETCH_MISSING','INGEST','getTypeOfUnitDisposed$','objectID','CipherParams','Base64','synced','subject','reset','replace','NEW_CHANGESETS','OFFLINE','_onJoinRoomEvent','_transitionLocked','collabSubmitChangesetUrl','_socketService','action','_onRemoteRejected','_unitID','objects','_process','_getSendChangesetTimeout','refreshPermission','_onConnectionFailed','snapshot','getCurrentSelections','retryConnectingInterval','initWorkbookPermissionChange','editingUnit','batchAllowed','_nRounds','INVALID_INVITE_CODE','_doProcessBlock','enableOfflineEditing','NO_OTHER_CLIENTS_EDITING','UUID','MOBILE_VERIFY_CODE_MISMATCH','liveShareNewHost','SHA1','[PendingState]:\x20unhandled\x20univer\x20type:\x20','isArray','IDLE','status$','SUCCUSS','getSnapshotAPIPath','ERROR_EXCEED_SIZE','image/png','HEARTBEAT_TIMEOUT','_members','prototype','finalize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','unsubscribe','_commentUpdate$','_pendingMutations','_submitChangeset','JOIN_ROOM_PERMISSION_DENIED','UNKNOWN_CMD','_getUploadFileURL','entityInit$','session.room-full','_doReset','onMissingChangesets','_toggleOnline','_onOffline','_createSocket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_replaceFileID','override','_registerDependencies','_toggleOffline','_userManagerService','online$','range','_clearTimeoutTimer','89509xRbJKo','_oKey','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','localCacheService','_startTelemetryCollaborationNewChangeset','state$','SOCKET_FAILED_RETRY','string','getUnitId','DEFAULT_FILE_NAME','src','_clearRedo','createDecryptor','session.join-failed','YUUMI_SUBSCRIPTION_NOT_FOUND','_changesetReqId','getCurrentRevOfUnit','appendMutation','/allowed','newCsEvent','m2Prime','MUTATION','_entityInit$','_createHmacHelper','length','send','USER_NOT_INVITED_CODE','OTHER_CLIENT_EDITING','_snapshotServerService','sigBytes','csRejEvent','x-univer-host','Encryptor','then','_rescheduleHeartbeat','image/bmp','BlockCipherMode','_telemetryService'];_0x28c4=function(){return _0x24d166;};return _0x28c4();}var vi=(_0x125ff1=>(_0x125ff1[_0x125ff1[_0x5410a2(0x443)]=0x0]=_0x5410a2(0x443),_0x125ff1[_0x125ff1['OK']=0x1]='OK',_0x125ff1[_0x125ff1[_0x5410a2(0x238)]=0x2]=_0x5410a2(0x238),_0x125ff1[_0x125ff1[_0x5410a2(0x41e)]=0x3]=_0x5410a2(0x41e),_0x125ff1[_0x125ff1['NOT_FOUND']=0x4]=_0x5410a2(0x33a),_0x125ff1[_0x125ff1[_0x5410a2(0x1bb)]=0x5]=_0x5410a2(0x1bb),_0x125ff1[_0x125ff1[_0x5410a2(0x180)]=0x6]=_0x5410a2(0x180),_0x125ff1[_0x125ff1[_0x5410a2(0x1c4)]=0x7]=_0x5410a2(0x1c4),_0x125ff1[_0x125ff1['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x125ff1[_0x125ff1[_0x5410a2(0x403)]=0x9]=_0x5410a2(0x403),_0x125ff1[_0x125ff1[_0x5410a2(0x1b0)]=0xa]=_0x5410a2(0x1b0),_0x125ff1[_0x125ff1[_0x5410a2(0x2e4)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x125ff1[_0x125ff1[_0x5410a2(0x44d)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x125ff1[_0x125ff1[_0x5410a2(0x2aa)]=0xd]=_0x5410a2(0x2aa),_0x125ff1[_0x125ff1[_0x5410a2(0x414)]=0xe]=_0x5410a2(0x414),_0x125ff1[_0x125ff1['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5410a2(0x3b4),_0x125ff1[_0x125ff1[_0x5410a2(0x27e)]=0x1771]=_0x5410a2(0x27e),_0x125ff1[_0x125ff1[_0x5410a2(0x380)]=0x1772]=_0x5410a2(0x380),_0x125ff1[_0x125ff1[_0x5410a2(0x1d9)]=0x1773]=_0x5410a2(0x1d9),_0x125ff1[_0x125ff1[_0x5410a2(0x464)]=0x1b59]=_0x5410a2(0x464),_0x125ff1[_0x125ff1[_0x5410a2(0x2a4)]=0x1b5a]=_0x5410a2(0x2a4),_0x125ff1[_0x125ff1[_0x5410a2(0x23a)]=0x1b5b]=_0x5410a2(0x23a),_0x125ff1[_0x125ff1[_0x5410a2(0x26f)]=0x1b5c]=_0x5410a2(0x26f),_0x125ff1[_0x125ff1[_0x5410a2(0x299)]=0x1b5d]='APPLY_DUPLICATED',_0x125ff1[_0x125ff1[_0x5410a2(0x22d)]=0x1f41]=_0x5410a2(0x22d),_0x125ff1[_0x125ff1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5410a2(0x1fe),_0x125ff1[_0x125ff1[_0x5410a2(0x435)]=0x232a]=_0x5410a2(0x435),_0x125ff1[_0x125ff1[_0x5410a2(0x25e)]=0x232b]=_0x5410a2(0x25e),_0x125ff1[_0x125ff1[_0x5410a2(0x38f)]=0x232c]=_0x5410a2(0x38f),_0x125ff1[_0x125ff1[_0x5410a2(0x438)]=0x232d]=_0x5410a2(0x438),_0x125ff1[_0x125ff1[_0x5410a2(0x215)]=0x2711]=_0x5410a2(0x215),_0x125ff1[_0x125ff1[_0x5410a2(0x356)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x125ff1[_0x125ff1[_0x5410a2(0x377)]=0x2713]=_0x5410a2(0x377),_0x125ff1[_0x125ff1[_0x5410a2(0x319)]=0x2714]=_0x5410a2(0x319),_0x125ff1[_0x125ff1[_0x5410a2(0x232)]=0x271a]=_0x5410a2(0x232),_0x125ff1[_0x125ff1[_0x5410a2(0x3dc)]=0x271b]=_0x5410a2(0x3dc),_0x125ff1[_0x125ff1[_0x5410a2(0x302)]=0x271c]=_0x5410a2(0x302),_0x125ff1[_0x125ff1[_0x5410a2(0x3bf)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x125ff1[_0x125ff1[_0x5410a2(0x40c)]=0x271e]=_0x5410a2(0x40c),_0x125ff1[_0x125ff1[_0x5410a2(0x289)]=0x271f]=_0x5410a2(0x289),_0x125ff1[_0x125ff1['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5410a2(0x298),_0x125ff1[_0x125ff1[_0x5410a2(0x1e8)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x125ff1[_0x125ff1[_0x5410a2(0x1b8)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x125ff1[_0x125ff1[_0x5410a2(0x2df)]=0x2ee2]=_0x5410a2(0x2df),_0x125ff1[_0x125ff1[_0x5410a2(0x1c0)]=0x2ee3]=_0x5410a2(0x1c0),_0x125ff1[_0x125ff1[_0x5410a2(0x325)]=0x2ee4]=_0x5410a2(0x325),_0x125ff1[_0x125ff1[_0x5410a2(0x183)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x125ff1[_0x125ff1[_0x5410a2(0x424)]=0x32c9]=_0x5410a2(0x424),_0x125ff1[_0x125ff1[_0x5410a2(0x1f8)]=0x32ca]=_0x5410a2(0x1f8),_0x125ff1[_0x125ff1[_0x5410a2(0x1d6)]=0x32cb]=_0x5410a2(0x1d6),_0x125ff1[_0x125ff1[_0x5410a2(0x33f)]=-0x1]=_0x5410a2(0x33f),_0x125ff1))(vi||{}),Z=(_0x353102=>(_0x353102[_0x353102['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x353102[_0x353102[_0x5410a2(0x3c7)]=0x1]=_0x5410a2(0x3c7),_0x353102[_0x353102[_0x5410a2(0x386)]=0x2]=_0x5410a2(0x386),_0x353102[_0x353102[_0x5410a2(0x2a2)]=0x3]=_0x5410a2(0x2a2),_0x353102[_0x353102[_0x5410a2(0x3b3)]=0x4]=_0x5410a2(0x3b3),_0x353102[_0x353102[_0x5410a2(0x33f)]=-0x1]=_0x5410a2(0x33f),_0x353102))(Z||{}),F=(_0x46d5ef=>(_0x46d5ef[_0x46d5ef[_0x5410a2(0x2f9)]=0x0]=_0x5410a2(0x2f9),_0x46d5ef[_0x46d5ef['HELLO']=0x1]=_0x5410a2(0x374),_0x46d5ef[_0x46d5ef[_0x5410a2(0x28f)]=0x2]='JOIN',_0x46d5ef[_0x46d5ef[_0x5410a2(0x1ad)]=0x3]='LEAVE',_0x46d5ef[_0x46d5ef[_0x5410a2(0x2c1)]=0x4]=_0x5410a2(0x2c1),_0x46d5ef[_0x46d5ef[_0x5410a2(0x284)]=0x5]=_0x5410a2(0x284),_0x46d5ef[_0x46d5ef[_0x5410a2(0x1f9)]=0x6]=_0x5410a2(0x1f9),_0x46d5ef[_0x46d5ef['UNRECOGNIZED']=-0x1]=_0x5410a2(0x33f),_0x46d5ef))(F||{}),pe=(_0x6c13db=>(_0x6c13db[_0x6c13db[_0x5410a2(0x376)]=0x0]=_0x5410a2(0x376),_0x6c13db[_0x6c13db['OK']=0x1]='OK',_0x6c13db[_0x6c13db[_0x5410a2(0x45d)]=0x2]=_0x5410a2(0x45d),_0x6c13db[_0x6c13db[_0x5410a2(0x2ad)]=0x3e9]='JOIN_ROOM_FULL',_0x6c13db[_0x6c13db[_0x5410a2(0x237)]=0x3ea]=_0x5410a2(0x237),_0x6c13db[_0x6c13db[_0x5410a2(0x2f8)]=0x3eb]=_0x5410a2(0x2f8),_0x6c13db[_0x6c13db[_0x5410a2(0x381)]=0x3ec]=_0x5410a2(0x381),_0x6c13db[_0x6c13db[_0x5410a2(0x33f)]=-0x1]=_0x5410a2(0x33f),_0x6c13db))(pe||{}),pi=(_0x545fd6=>(_0x545fd6[_0x545fd6[_0x5410a2(0x44f)]=0x0]=_0x5410a2(0x44f),_0x545fd6[_0x545fd6[_0x5410a2(0x45a)]=0x1]=_0x5410a2(0x45a),_0x545fd6[_0x545fd6[_0x5410a2(0x3ef)]=0x2]='HttpExport',_0x545fd6[_0x545fd6[_0x5410a2(0x2a7)]=0x3]=_0x5410a2(0x2a7),_0x545fd6[_0x545fd6['UnitSnapshot']=0x4]='UnitSnapshot',_0x545fd6[_0x545fd6[_0x5410a2(0x413)]=0x5]=_0x5410a2(0x413),_0x545fd6[_0x545fd6[_0x5410a2(0x33f)]=-0x1]='UNRECOGNIZED',_0x545fd6))(pi||{});const Os='collaboration_new_changeset';function bs(_0x18fefd){var _0x2dd334=_0x5410a2;return JSON[_0x2dd334(0x45b)](_0x18fefd)['length'];}var ne=(_0x197b82=>(_0x197b82[_0x5410a2(0x326)]=_0x5410a2(0x326),_0x197b82[_0x5410a2(0x41e)]=_0x5410a2(0x41e),_0x197b82[_0x5410a2(0x195)]='CONFLICT',_0x197b82[_0x5410a2(0x37d)]='CLOSE_ROOM',_0x197b82[_0x5410a2(0x2b2)]=_0x5410a2(0x2b2),_0x197b82[_0x5410a2(0x311)]='SOCKET_FAILED_RETRY',_0x197b82[_0x5410a2(0x3d2)]=_0x5410a2(0x3d2),_0x197b82[_0x5410a2(0x39c)]=_0x5410a2(0x39c),_0x197b82))(ne||{});class ve{constructor(){var _0x2610de=_0x5410a2;N(this,_0x2610de(0x22a),new _0x3a3a31()),N(this,_0x2610de(0x3f4),this[_0x2610de(0x22a)]['asObservable']());}['emitEvent'](_0x212aa5){var _0x39047d=_0x5410a2;this[_0x39047d(0x22a)]['next'](_0x212aa5);}}class mi{constructor(){var _0x51e1b6=_0x5410a2;N(this,_0x51e1b6(0x2f5),new _0x3a3a31()),N(this,'commentUpdate$',this[_0x51e1b6(0x2f5)][_0x51e1b6(0x449)]());}['onCommentUpdate'](_0x5e3e3a){var _0x1abd47=_0x5410a2;this[_0x1abd47(0x2f5)][_0x1abd47(0x451)](_0x5e3e3a);}}var ys=Object[_0x5410a2(0x2a3)],Ns=(_0x48e6da,_0x17b059,_0x50bf28,_0x128d84)=>{var _0x4546de=_0x5410a2;for(var _0x2987a6=_0x128d84>0x1?void 0x0:_0x128d84?ys(_0x17b059,_0x50bf28):_0x17b059,_0x58077f=_0x48e6da[_0x4546de(0x323)]-0x1,_0xb64250;_0x58077f>=0x0;_0x58077f--)(_0xb64250=_0x48e6da[_0x58077f])&&(_0x2987a6=_0xb64250(_0x2987a6)||_0x2987a6);return _0x2987a6;},Ft=(_0x2ef5b7,_0x4d1fe3)=>(_0x1d8dc1,_0x429ab4)=>_0x4d1fe3(_0x1d8dc1,_0x429ab4,_0x2ef5b7);let we=class extends _0xba8b36{constructor(_0x2c1454,_0x1562f2){var _0x22c7c6=_0x5410a2;super(),N(this,_0x22c7c6(0x2a5),new Map()),N(this,_0x22c7c6(0x2ac),new _0x3a3a31()),(this[_0x22c7c6(0x34a)]=_0x2c1454,this[_0x22c7c6(0x307)]=_0x1562f2,this[_0x22c7c6(0x292)](_0x350ea0(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x6591bc[_0x22c7c6(0x386)])['pipe'](_0x271875(_0x18f91e=>_0x18f91e[_0x22c7c6(0x313)]())),this[_0x22c7c6(0x34a)][_0x22c7c6(0x2c2)](_0x6591bc[_0x22c7c6(0x3c7)])[_0x22c7c6(0x1bf)](_0x271875(_0x1b138e=>_0x1b138e[_0x22c7c6(0x313)]())),this['_univerInstanceService'][_0x22c7c6(0x2c2)](_0x6591bc[_0x22c7c6(0x2a2)])[_0x22c7c6(0x1bf)](_0x271875(_0x487dcb=>_0x487dcb[_0x22c7c6(0x313)]())))[_0x22c7c6(0x3a8)](_0x45addf=>this[_0x22c7c6(0x1ec)](_0x45addf))));}[_0x5410a2(0x193)](_0x47a196){var _0x59ea11=_0x5410a2;return this[_0x59ea11(0x2a5)][_0x59ea11(0x290)](_0x47a196)?_0x4ba3a3(this[_0x59ea11(0x2a5)][_0x59ea11(0x19f)](_0x47a196)):this[_0x59ea11(0x2ac)][_0x59ea11(0x1bf)](_0x271875(_0x498921=>{var _0x2b3258=_0x59ea11;if(_0x498921===_0x47a196)return this[_0x2b3258(0x2a5)][_0x2b3258(0x19f)](_0x498921);}));}['setCurrentUser'](_0x35551e){var _0x44b54b=_0x5410a2;this[_0x44b54b(0x307)][_0x44b54b(0x1f6)](_0x35551e);}[_0x5410a2(0x2be)](){var _0x5f1207=_0x5410a2;return this[_0x5f1207(0x307)][_0x5f1207(0x2be)]();}[_0x5410a2(0x34d)](_0x3386b2,_0x23e688){var _0x2bbe1f=_0x5410a2;let _0x35298a=this[_0x2bbe1f(0x2a5)]['get'](_0x3386b2);_0x35298a||(_0x35298a=new Ds(),this[_0x2bbe1f(0x2a5)]['set'](_0x3386b2,_0x35298a),this['_roomCreated$'][_0x2bbe1f(0x451)](_0x3386b2)),_0x35298a[_0x2bbe1f(0x34d)](_0x23e688);}[_0x5410a2(0x208)](_0x54d99e,_0x47e3b6){var _0x56509f=_0x5410a2;const _0x30b65c=this[_0x56509f(0x2a5)][_0x56509f(0x19f)](_0x54d99e);_0x30b65c&&_0x30b65c[_0x56509f(0x208)](_0x47e3b6);}['getRoom'](_0x3fda25){var _0x3fffdd=_0x5410a2;return this[_0x3fffdd(0x2a5)][_0x3fffdd(0x19f)](_0x3fda25);}['getMember'](_0x41967d,_0x101a47){var _0x272c38=_0x5410a2;const _0x47a673=this[_0x272c38(0x2a5)][_0x272c38(0x19f)](_0x41967d);if(_0x47a673)return _0x47a673['getMember'](_0x101a47);}[_0x5410a2(0x1ec)](_0x460744){var _0x254456=_0x5410a2;const _0x1f1555=this['_roomMembers']['get'](_0x460744);_0x1f1555&&(_0x1f1555[_0x254456(0x395)](),this['_roomMembers'][_0x254456(0x186)](_0x460744));}[_0x5410a2(0x395)](){var _0x452d46=_0x5410a2;this[_0x452d46(0x2a5)][_0x452d46(0x20f)](_0x3432af=>_0x3432af[_0x452d46(0x395)]()),this[_0x452d46(0x2a5)][_0x452d46(0x401)](),this[_0x452d46(0x2ac)][_0x452d46(0x1ae)]();}};we=Ns([Ft(0x0,_0x1f2fda),Ft(0x1,_0x2a67ea(_0x10e3a5))],we);class Ds extends _0xba8b36{constructor(){var _0x437651=_0x5410a2;super(...arguments),N(this,'_members',new Map()),N(this,_0x437651(0x3b2),new _0xc40a72(this[_0x437651(0x2f0)])),N(this,_0x437651(0x366),this[_0x437651(0x3b2)]['asObservable']());}[_0x5410a2(0x395)](){this['_members']['clear']();}[_0x5410a2(0x34d)](_0x395a74){var _0x58912c=_0x5410a2;this[_0x58912c(0x2f0)][_0x58912c(0x1b2)](_0x395a74[_0x58912c(0x3e7)],_0x395a74),this[_0x58912c(0x3a1)]();}[_0x5410a2(0x208)](_0x4d8705){this['_members']['delete'](_0x4d8705);}['getMember'](_0x45be77){var _0x1ab365=_0x5410a2;return this[_0x1ab365(0x2f0)][_0x1ab365(0x19f)](_0x45be77);}[_0x5410a2(0x45e)](){var _0xe5273a=_0x5410a2;return Array['from'](this[_0xe5273a(0x2f0)][_0xe5273a(0x251)]());}[_0x5410a2(0x3a1)](){var _0x2e6926=_0x5410a2;this[_0x2e6926(0x3b2)][_0x2e6926(0x451)](this['_members']);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0xf93a46,_0x1112a6,_0x30ef91,_0x3bad49)=>{var _0x38b8ed=_0x5410a2;for(var _0xc19abe=_0x3bad49>0x1?void 0x0:_0x3bad49?Us(_0x1112a6,_0x30ef91):_0x1112a6,_0x3bda85=_0xf93a46[_0x38b8ed(0x323)]-0x1,_0x439a79;_0x3bda85>=0x0;_0x3bda85--)(_0x439a79=_0xf93a46[_0x3bda85])&&(_0xc19abe=_0x439a79(_0xc19abe)||_0xc19abe);return _0xc19abe;},Ce=(_0x2a4d4c,_0x3da300)=>(_0x6fd3b1,_0x16fd1c)=>_0x3da300(_0x6fd3b1,_0x16fd1c,_0x2a4d4c),ge=(_0x3c3193=>(_0x3c3193[_0x3c3193[_0x5410a2(0x2e9)]=0x0]='IDLE',_0x3c3193[_0x3c3193[_0x5410a2(0x3a2)]=0x1]='JOINING',_0x3c3193[_0x3c3193[_0x5410a2(0x2cb)]=0x2]='OFFLINE',_0x3c3193[_0x3c3193[_0x5410a2(0x34f)]=0x3]=_0x5410a2(0x34f),_0x3c3193))(ge||{});const Vt={[pe['FAIL']]:_0x5410a2(0x318),[pe[_0x5410a2(0x2ad)]]:_0x5410a2(0x2fc),[pe[_0x5410a2(0x237)]]:_0x5410a2(0x333),[pe[_0x5410a2(0x2f8)]]:'session.room-permission-denied',[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5410a2(0x3af)};let gt=class extends _0x11e454{constructor(_0x41df0e,_0x5d0a2d,_0x1316d2,_0x553210,_0x136419,_0x286bf6,_0x1f57f8,_0x3ff08e){var _0x5bd5e2=_0x5410a2;super(),N(this,_0x5bd5e2(0x3f6),new _0xc40a72(0x0)),N(this,_0x5bd5e2(0x3cd),this[_0x5bd5e2(0x3f6)][_0x5bd5e2(0x449)]()),N(this,_0x5bd5e2(0x22a),new _0x3a3a31()),N(this,_0x5bd5e2(0x3f4),this['_event$'][_0x5bd5e2(0x449)]()),N(this,_0x5bd5e2(0x47a)),N(this,_0x5bd5e2(0x264)),N(this,_0x5bd5e2(0x47f)),N(this,_0x5bd5e2(0x18e),!0x1),N(this,'_telemetryInfo',null),(this[_0x5bd5e2(0x2d2)]=_0x41df0e,this[_0x5bd5e2(0x352)]=_0x1316d2,this[_0x5bd5e2(0x39f)]=_0x553210,this['_memberService']=_0x136419,this[_0x5bd5e2(0x3a6)]=_0x286bf6,this[_0x5bd5e2(0x21b)]=_0x1f57f8,this[_0x5bd5e2(0x330)]=_0x3ff08e,this['_shouldReportTelemetry']=!!this[_0x5bd5e2(0x330)],_0x5d0a2d[_0x5bd5e2(0x1bf)](_0x3f1efb(this[_0x5bd5e2(0x241)]))[_0x5bd5e2(0x3a8)](_0x352215=>{var _0x2f810e=_0x5bd5e2,_0x3dd787;typeof _0x352215>'u'||(this[_0x2f810e(0x47a)]=_0x352215,_0x352215?(this[_0x2f810e(0x224)](_0x352215),this[_0x2f810e(0x264)]=_0x352215[_0x2f810e(0x1a6)][_0x2f810e(0x3a8)](_0x5cdc15=>{var _0x16d3e3=_0x2f810e;_0x5cdc15['routeKey']===this[_0x16d3e3(0x2d2)]&&this[_0x16d3e3(0x3fe)](_0x5cdc15);})):(this[_0x2f810e(0x24c)](),this[_0x2f810e(0x3f6)][_0x2f810e(0x451)](0x2),(_0x3dd787=this[_0x2f810e(0x264)])==null||_0x3dd787[_0x2f810e(0x2f4)](),this['_socketMessageSubscription']=null));}));}get[_0x5410a2(0x343)](){var _0xc2fad8=_0x5410a2;return this[_0xc2fad8(0x3f6)]['getValue']();}[_0x5410a2(0x3d0)](){var _0x10f218=_0x5410a2,_0x2dc6ca,_0xb59dab;return(_0xb59dab=(_0x2dc6ca=this[_0x10f218(0x47a)])==null?void 0x0:_0x2dc6ca[_0x10f218(0x3e7)])!=null?_0xb59dab:null;}['dispose'](){var _0x4aaf41=_0x5410a2;super['dispose'](),this[_0x4aaf41(0x241)]['next'](),this['dispose$'][_0x4aaf41(0x1ae)]();}[_0x5410a2(0x1ed)](){var _0x1c76c7=_0x5410a2,_0x59b3a0,_0x509203;this[_0x1c76c7(0x24c)](),(_0x59b3a0=this[_0x1c76c7(0x47a)])==null||_0x59b3a0['send']({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x509203=this['_socket'])==null||_0x509203[_0x1c76c7(0x1ed)](),this[_0x1c76c7(0x22a)][_0x1c76c7(0x1ae)](),this[_0x1c76c7(0x3f6)]['complete'](),this[_0x1c76c7(0x395)]();}[_0x5410a2(0x3fe)](_0x17ba25){var _0x14d693=_0x5410a2;_0x17ba25['cmd']===F['JOIN']?this[_0x14d693(0x2cc)](_0x17ba25):_0x17ba25[_0x14d693(0x3b5)]===F['RECV']&&this['_onRecvEvent'](_0x17ba25);}[_0x5410a2(0x224)](_0x2cc3f6){var _0x14c37e=_0x5410a2;this[_0x14c37e(0x3f6)][_0x14c37e(0x451)](0x1),_0x2cc3f6[_0x14c37e(0x324)]({'cmd':F[_0x14c37e(0x28f)],'routeKey':this[_0x14c37e(0x2d2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x14c37e(0x2d2)]}]}});}['_onJoinRoomEvent'](_0x56cec6){var _0x2e4b41=_0x5410a2,_0x3e390a;if(_0x56cec6['code']in Vt){this[_0x2e4b41(0x21b)]['emitEvent']({'id':ne[_0x2e4b41(0x2b2)],'data':Vt[_0x56cec6[_0x2e4b41(0x278)]]}),this['_sessionStatus$'][_0x2e4b41(0x451)](0x2);return;}this[_0x2e4b41(0x3f6)][_0x2e4b41(0x451)](0x3);const _0x1dcef3=(_0x3e390a=_0x56cec6[_0x2e4b41(0x246)][_0x2e4b41(0x1f7)][this[_0x2e4b41(0x2d2)]])==null?void 0x0:_0x3e390a[_0x2e4b41(0x459)];_0x1dcef3&&_0x1dcef3[_0x2e4b41(0x20f)](_0x270f4d=>this['_memberService']['updateMember'](this[_0x2e4b41(0x2d2)],_0x270f4d));}['_onRecvEvent'](_0x15cf1b){var _0x5a3198=_0x5410a2;try{const _0xa02a10=_0x15cf1b[_0x5a3198(0x246)];switch(_0xa02a10[_0x5a3198(0x3ee)]){case _0x58a832['USERS_ENTER']:this['_onUserJoin'](_0xa02a10),this[_0x5a3198(0x22a)][_0x5a3198(0x451)](_0xa02a10);break;case _0x58a832[_0x5a3198(0x3c5)]:this[_0x5a3198(0x262)](_0xa02a10),this[_0x5a3198(0x22a)][_0x5a3198(0x451)](_0xa02a10);break;case _0x58a832[_0x5a3198(0x1cf)]:case _0x58a832[_0x5a3198(0x17f)]:this[_0x5a3198(0x23f)](),this[_0x5a3198(0x1fa)](),this[_0x5a3198(0x22a)]['next'](_0xa02a10);break;case _0x58a832[_0x5a3198(0x1a5)]:this['_logService']['error'](_0x5a3198(0x24e)+JSON[_0x5a3198(0x45b)](_0xa02a10)),this[_0x5a3198(0x22a)][_0x5a3198(0x451)](_0xa02a10);break;case _0x58a832[_0x5a3198(0x239)]:this[_0x5a3198(0x3a6)][_0x5a3198(0x358)](_0xa02a10[_0x5a3198(0x246)]),this['_event$'][_0x5a3198(0x451)](_0xa02a10);break;default:this['_event$']['next'](_0xa02a10);}}catch(_0x4dfd5a){this[_0x5a3198(0x352)][_0x5a3198(0x1ff)](_0x4dfd5a,_0x15cf1b);}}[_0x5410a2(0x3c6)](_0x528cf4){var _0x3dd751=_0x5410a2;this[_0x3dd751(0x46c)][_0x3dd751(0x34d)](this['_unitID'],_0x528cf4['data']);}['_onUserLeave'](_0x5ba68b){var _0x298d4c=_0x5410a2;this[_0x298d4c(0x46c)]['removeMember'](this['_unitID'],_0x5ba68b[_0x298d4c(0x246)][_0x298d4c(0x3e7)]);}async['send'](_0x12ac6a,_0x523b84){var _0x2bc11c=_0x5410a2;if(this[_0x2bc11c(0x343)]!==0x3||!this[_0x2bc11c(0x47a)])throw new Error(_0x2bc11c(0x2f3));try{_0x12ac6a['eventID']===_0x58a832[_0x2bc11c(0x260)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2bc11c(0x30f)](_0x12ac6a)),this[_0x2bc11c(0x47a)][_0x2bc11c(0x324)]({'cmd':F[_0x2bc11c(0x2c1)],'routeKey':_0x523b84,'routeType':'','data':_0x12ac6a});}catch(_0x42d27f){this[_0x2bc11c(0x352)]['error'](_0x42d27f);}}[_0x5410a2(0x2a1)](){var _0x372f92=_0x5410a2,_0x5ae391;this[_0x372f92(0x47f)]=setTimeout(()=>{var _0x40ae34=_0x372f92;this[_0x40ae34(0x47f)]=null,this[_0x40ae34(0x21b)][_0x40ae34(0x2b4)]({'id':ne[_0x40ae34(0x39c)]});},(_0x5ae391=this[_0x372f92(0x39f)]['getConfig'](di))!=null?_0x5ae391:fi);}[_0x5410a2(0x1fa)](){var _0x39135b=_0x5410a2;this[_0x39135b(0x47f)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x5410a2(0x30f)](_0x468435){var _0x152e3e=_0x5410a2;if(!this[_0x152e3e(0x18e)])return;const {data:_0x2e93cf}=_0x468435,{unitID:_0x579f4e,changeset:_0x9d91fa}=_0x2e93cf,{mutations:_0x192805,type:_0x1b4ff1}=_0x9d91fa;this[_0x152e3e(0x3c9)]={'unitId':_0x579f4e,'type':_0x1b4ff1,'startTime':performance[_0x152e3e(0x3a9)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x192805)};}[_0x5410a2(0x23f)](){var _0x25d55c=_0x5410a2;if(this[_0x25d55c(0x18e)]){if(!this[_0x25d55c(0x3c9)]){this['_logService'][_0x25d55c(0x1ff)](_0x25d55c(0x3cf),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x25d55c(0x3b9)]=performance[_0x25d55c(0x3a9)](),this['_telemetryInfo']['duration']=this['_telemetryInfo'][_0x25d55c(0x3b9)]-this['_telemetryInfo']['startTime'],this[_0x25d55c(0x330)][_0x25d55c(0x35e)](Os,this[_0x25d55c(0x3c9)]),this[_0x25d55c(0x3c9)]=null;}}[_0x5410a2(0x24c)](){this['_telemetryInfo']=null;}};gt=As([Ce(0x2,_0x3229e5),Ce(0x3,_0x54dc50),Ce(0x4,_0x2a67ea(we)),Ce(0x5,_0x2a67ea(mi)),Ce(0x6,_0x2a67ea(ve)),Ce(0x7,_0x38fedb(_0x59f2ae))],gt);const J=_0x4f0779(_0x5410a2(0x269));function br(_0xdc3c60){return'unit-cache-'+_0xdc3c60;}var ws=Object[_0x5410a2(0x2a3)],Ps=(_0x2ad16d,_0x59ea70,_0x5ef3fa,_0x48084f)=>{var _0xfd9819=_0x5410a2;for(var _0x5a0033=_0x48084f>0x1?void 0x0:_0x48084f?ws(_0x59ea70,_0x5ef3fa):_0x59ea70,_0x2ff74c=_0x2ad16d[_0xfd9819(0x323)]-0x1,_0x132b8d;_0x2ff74c>=0x0;_0x2ff74c--)(_0x132b8d=_0x2ad16d[_0x2ff74c])&&(_0x5a0033=_0x132b8d(_0x5a0033)||_0x5a0033);return _0x5a0033;},ut=(_0x109b08,_0x22531b)=>(_0xd72b1f,_0xda8f09)=>_0x22531b(_0xd72b1f,_0xda8f09,_0x109b08);function Ms(_0x325a96){var _0x19c8ca=_0x5410a2;const {unitID:_0x3b796c,mutations:_0x3c2c0b}=_0x325a96;return{'unitId':_0x3b796c,'subUnitId':_0x3c2c0b[0x0][_0x19c8ca(0x409)]['subUnitId']};}let it=class{constructor(_0x4889e6,_0x627eeb,_0x28404e){var _0x22473e=_0x5410a2;this[_0x22473e(0x3c3)]=_0x4889e6,this[_0x22473e(0x249)]=_0x627eeb,this[_0x22473e(0x1be)]=_0x28404e;}['transformSelections'](_0x9c10d4){var _0x570de6=_0x5410a2,_0x1458b7,_0x311c7c,_0x36dba1,_0x1fe2b5;const _0x5b75fd=this['_injector'][_0x570de6(0x19f)](_0x4230a1),{unitId:_0x199852,subUnitId:_0x53a2be}=Ms(_0x9c10d4),_0x47b3e3=_0x5b75fd==null?void 0x0:_0x5b75fd['getWorkbookSelections'](_0x199852)[_0x570de6(0x2d9)](),_0x4e9030=(_0x311c7c=(_0x1458b7=this[_0x570de6(0x1be)]['getUnit'](_0x199852))==null?void 0x0:_0x1458b7[_0x570de6(0x211)]())==null?void 0x0:_0x311c7c['getSheetId']();if(_0x47b3e3[_0x570de6(0x323)]===0x0||!_0x199852||!_0x53a2be)return;const _0x33de4a=[{'id':_0x1b63c7['id'],'params':{'unitId':_0x199852,'subUnitId':_0x4e9030,'selections':_0x29cb85[_0x570de6(0x29b)](_0x47b3e3)}}],_0x372564=this[_0x570de6(0x249)][_0x570de6(0x1af)](_0x9c10d4,_0x33de4a);if(!_0x4f2573(_0x372564))throw _0x372564[_0x570de6(0x1ff)];const _0x3026dd=(_0x1fe2b5=(_0x36dba1=_0x372564[_0x570de6(0x31f)][0x0])==null?void 0x0:_0x36dba1[_0x570de6(0x409)])==null?void 0x0:_0x1fe2b5[_0x570de6(0x3b8)];if(Array['isArray'](_0x3026dd)&&_0x3026dd['length']){if(_0x3026dd[_0x570de6(0x323)]===_0x33de4a[0x0][_0x570de6(0x409)][_0x570de6(0x3b8)][_0x570de6(0x323)]&&_0x3026dd[_0x570de6(0x43a)]((_0xc157d4,_0x1d9fd7)=>_0x349d7c['equals'](_0xc157d4['range'],_0x33de4a[0x0][_0x570de6(0x409)][_0x570de6(0x3b8)][_0x1d9fd7][_0x570de6(0x309)])))return;this['_injector'][_0x570de6(0x19f)](_0x51e75f)[_0x570de6(0x355)](_0x1b63c7['id'],{'unitId':_0x199852,'subUnitId':_0x4e9030,'selections':_0x3026dd});}}};it=Ps([ut(0x0,_0x2a67ea(_0xb9171d)),ut(0x1,_0x66570c),ut(0x2,_0x1f2fda)],it);const ht=_0x4f0779(_0x5410a2(0x2b0));var gi=(_0x5cc00a=>(_0x5cc00a[_0x5cc00a[_0x5410a2(0x2e2)]=0x0]=_0x5410a2(0x2e2),_0x5cc00a[_0x5cc00a[_0x5410a2(0x332)]=0x1]='OTHER_CLIENTS_EDITING',_0x5cc00a))(gi||{});const K=_0x5410a2(0x1fc),Ls={},xs=new Set([_0x47fa51['id']]);function Wt(_0x4dcf49,_0x2e0157,_0x5a3605,_0x526564,_0x304ad4){var _0x4f5a6e=_0x5410a2,_0x1ec2e5,_0x314662,_0x54c0b7,_0x1a05b6;const _0x418893=[];for(const _0x11bea1 of _0x4dcf49)if(xs[_0x4f5a6e(0x290)](_0x11bea1['id'])){if(_0x418893['length']>0x0)break;_0x418893['push'](_0x11bea1);break;}else _0x418893['push'](_0x11bea1);const _0x4859ae=(_0x314662=(_0x1ec2e5=_0x304ad4[_0x4f5a6e(0x2be)]())==null?void 0x0:_0x1ec2e5[_0x4f5a6e(0x469)])!=null?_0x314662:_0x4f5a6e(0x41a),_0x5f70da=(_0x1a05b6=(_0x54c0b7=_0x304ad4[_0x4f5a6e(0x2be)]())==null?void 0x0:_0x54c0b7[_0x4f5a6e(0x3e7)])!=null?_0x1a05b6:_0x4f5a6e(0x41a);return{'changeset':{'unitID':_0x2e0157,'type':_0x15f91b(_0x5a3605[_0x4f5a6e(0x38b)](_0x2e0157)),'baseRev':_0x526564[_0x4f5a6e(0x31b)](_0x2e0157),'revision':0x0,'userID':_0x4859ae,'memberID':_0x5f70da,'mutations':_0x418893},'pendingMutations':_0x4dcf49['slice'](_0x418893[_0x4f5a6e(0x323)])};}function ks(_0x2a9707,_0x3103c5,_0x3d1983,_0x131165,_0x1e3078){var _0x592010=_0x5410a2,_0x42b66e,_0x3e94b6,_0x382c86,_0x828c1e;const _0x39019f=[_0x2a9707['reduce']((_0x3ec154,_0x5ac560)=>{var _0x109132=_0x48ad,_0x538f75;const {id:_0x51a4c7}=_0x3ec154,{id:_0x330386,type:_0x733318}=_0x5ac560,_0x5088c9=(_0x538f75=_0x3ec154[_0x109132(0x409)])!=null?_0x538f75:{'actions':null},_0x2f33b3=_0x5ac560[_0x109132(0x409)];if(_0x51a4c7&&_0x51a4c7!==_0x330386)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x51a4c7+_0x109132(0x35a)+_0x330386+'.');return{..._0x3ec154,'id':_0x330386,'type':_0x733318,'params':{'unitId':_0x2f33b3[_0x109132(0x1d8)],'textRanges':_0x2f33b3['textRanges'],'actions':_0x4510ac[_0x109132(0x453)](_0x5088c9['actions'],_0x2f33b3[_0x109132(0x340)])}};},{})],_0x192127=(_0x3e94b6=(_0x42b66e=_0x1e3078['getCurrentUser']())==null?void 0x0:_0x42b66e['userID'])!=null?_0x3e94b6:'unknown',_0x1ee771=(_0x828c1e=(_0x382c86=_0x1e3078[_0x592010(0x2be)]())==null?void 0x0:_0x382c86['memberID'])!=null?_0x828c1e:'unknown';return{'changeset':{'unitID':_0x3103c5,'type':_0x15f91b(_0x3d1983[_0x592010(0x38b)](_0x3103c5)),'baseRev':_0x131165[_0x592010(0x31b)](_0x3103c5),'revision':0x0,'userID':_0x192127,'memberID':_0x1ee771,'mutations':_0x39019f},'pendingMutations':[]};}function Si(_0x373264,_0xb83039){var _0x5f5807=_0x5410a2;const _0x2c5353=new _0x1326d6(0x1);return setTimeout(()=>_0x2c5353[_0x5f5807(0x451)](_0xb83039),_0x373264),_0x2c5353[_0x5f5807(0x449)]()[_0x5f5807(0x1bf)](_0x39041d(0x1));}const $s={'id':_0x13a043['id'],'type':_0x21f367[_0x5410a2(0x320)],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Ee=(_0x3f1db0,_0x362b86,_0x3a29a9,_0x291790)=>{var _0x3016f5=_0x5410a2;for(var _0x187fee=_0x291790>0x1?void 0x0:_0x291790?Hs(_0x362b86,_0x3a29a9):_0x362b86,_0x264583=_0x3f1db0[_0x3016f5(0x323)]-0x1,_0x36a726;_0x264583>=0x0;_0x264583--)(_0x36a726=_0x3f1db0[_0x264583])&&(_0x187fee=_0x36a726(_0x187fee)||_0x187fee);return _0x187fee;},P=(_0x2d8852,_0x32e1f7)=>(_0x471679,_0x35b399)=>_0x32e1f7(_0x471679,_0x35b399,_0x2d8852),Ei=(_0x5a6bc9=>(_0x5a6bc9['NOT_COLLAB']=_0x5410a2(0x336),_0x5a6bc9['SYNCED']=_0x5410a2(0x2c6),_0x5a6bc9[_0x5410a2(0x1e1)]='pending',_0x5a6bc9[_0x5410a2(0x223)]='awaiting',_0x5a6bc9[_0x5410a2(0x422)]=_0x5410a2(0x1da),_0x5a6bc9[_0x5410a2(0x21f)]=_0x5410a2(0x369),_0x5a6bc9[_0x5410a2(0x195)]=_0x5410a2(0x18d),_0x5a6bc9[_0x5410a2(0x2cb)]=_0x5410a2(0x3f0),_0x5a6bc9))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x376010,_0x2fab82,_0x31c90d,_0x1d656a,_0x4a1c36,_0x1629f2,_0x5033e1,_0x3f2ced,_0x35fc6e){var _0x174906=_0x5410a2;N(this,_0x174906(0x1e7),null),N(this,_0x174906(0x2f6),[]),(this[_0x174906(0x19c)]=_0x376010,this[_0x174906(0x1a8)]=_0x2fab82,this['_handler']=_0x4a1c36,this[_0x174906(0x1f0)]=_0x1629f2,this[_0x174906(0x1bd)]=_0x5033e1,this[_0x174906(0x36c)]=_0x3f2ced,this[_0x174906(0x3e4)]=_0x35fc6e,this[_0x174906(0x1e7)]=_0x31c90d,this[_0x174906(0x2f6)]=_0x1d656a);}[_0x5410a2(0x2b8)](_0x58e6b8){var _0x3b035a=_0x5410a2;const _0x3caeef=this['_revisionService'][_0x3b035a(0x31b)](this[_0x3b035a(0x19c)]);return _0x58e6b8['revision']>_0x3caeef+0x1?(this[_0x3b035a(0x468)][_0x3b035a(0x2fe)]({'from':_0x3caeef,'to':_0x58e6b8['revision']-0x1}),!0x0):!0x1;}[_0x5410a2(0x1d1)](_0x532676){var _0x3b6faf=_0x5410a2;this[_0x3b6faf(0x1bd)][_0x3b6faf(0x221)](this[_0x3b6faf(0x19c)],_0x532676);}[_0x5410a2(0x410)](_0x1ba231){var _0x5012cb=_0x5410a2,_0x49c434,_0x5477cc;(_0x5477cc=(_0x49c434=this[_0x5012cb(0x468)])['onTransformSelections'])==null||_0x5477cc[_0x5012cb(0x281)](_0x49c434,_0x1ba231);}[_0x5410a2(0x2bc)](_0x17a87e){var _0x34c595=_0x5410a2,_0x4b50e9,_0xbe114d;return(_0xbe114d=(_0x4b50e9=this[_0x34c595(0x468)])['onTransformIME'])==null?void 0x0:_0xbe114d['call'](_0x4b50e9,_0x17a87e);}[_0x5410a2(0x1db)](_0x47081e){var _0x441953=_0x5410a2,_0x2a7cce,_0x599440;return(_0x599440=(_0x2a7cce=this[_0x441953(0x468)])[_0x441953(0x18b)])==null?void 0x0:_0x599440[_0x441953(0x281)](_0x2a7cce,_0x47081e);}['_transformRemoteChangesetByIMECache'](_0x31273f){var _0x563bc6=_0x5410a2,_0x2a08f3,_0x3c40c4,_0x419f3d;return(_0x419f3d=(_0x3c40c4=(_0x2a08f3=this[_0x563bc6(0x468)])[_0x563bc6(0x423)])==null?void 0x0:_0x3c40c4['call'](_0x2a08f3,_0x31273f))!=null?_0x419f3d:_0x31273f;}['_transformRemoteChangesetByStateCache'](_0x164128){var _0x1ece82=_0x5410a2,_0x19b645,_0x418bc,_0x5a36a8;return(_0x5a36a8=(_0x418bc=(_0x19b645=this[_0x1ece82(0x468)])[_0x1ece82(0x3aa)])==null?void 0x0:_0x418bc[_0x1ece82(0x281)](_0x19b645,_0x164128))!=null?_0x5a36a8:_0x164128;}['_syncEditingCollabCursor'](_0x1e95f0){var _0x50cfad=_0x5410a2,_0xa221c6,_0x5c7dba;if(this[_0x50cfad(0x1a8)]===Z[_0x50cfad(0x3c7)]){const {unitID:_0x297791,mutations:_0x566c18,memberID:_0x506a25}=_0x1e95f0,_0x4a7a26=_0x566c18[0x0]['params'][_0x50cfad(0x228)];Array[_0x50cfad(0x2e8)](_0x4a7a26)&&_0x4a7a26['length']>0x0&&((_0x5c7dba=(_0xa221c6=this[_0x50cfad(0x468)])[_0x50cfad(0x3ac)])==null||_0x5c7dba[_0x50cfad(0x281)](_0xa221c6,{'unitID':_0x297791,'memberID':_0x506a25,'textRanges':_0x4a7a26}));}}[_0x5410a2(0x38a)](){var _0x510ef9=_0x5410a2,_0x5886f7;(_0x5886f7=this[_0x510ef9(0x3e4)])==null||_0x5886f7[_0x510ef9(0x389)](this['unitID'],this[_0x510ef9(0x1a8)],this['_awaitingChangeset'],this[_0x510ef9(0x2f6)]);}['_getCurrentRevision'](){var _0x5cf233=_0x5410a2;return this[_0x5cf233(0x36c)][_0x5cf233(0x31b)](this['unitID']);}['_incrementRevisionNumber'](){var _0x58e2e0=_0x5410a2;this[_0x58e2e0(0x36c)]['incrementRevOfUnit'](this[_0x58e2e0(0x19c)]);}['_executeRemoteChangeset'](_0x9a1f7b){var _0x5805ad=_0x5410a2,_0x265f6a;let _0xf9c130=this[_0x5805ad(0x474)](_0x9a1f7b);_0xf9c130=this[_0x5805ad(0x44c)](_0xf9c130);const _0x395e41=_0x4aa62c(_0xf9c130['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x395e41['result'])throw _0x395e41[_0x5805ad(0x1ff)]instanceof Error?_0x395e41[_0x5805ad(0x1ff)]:new Error((_0x265f6a=_0x395e41[_0x5805ad(0x1ff)])!=null?_0x265f6a:_0x5805ad(0x19b));this['_transformIMECache'](_0xf9c130),this[_0x5805ad(0x1db)](_0xf9c130),this[_0x5805ad(0x1d1)](_0x9a1f7b),this['_transformSelections'](_0xf9c130),this[_0x5805ad(0x22f)](_0xf9c130),this[_0x5805ad(0x1fb)]();}}let ye=class extends Ie{constructor(_0x4bcb62,_0x432f9e,_0x2ee590,_0x35d2bf,_0x302db4,_0x30ac39,_0x5474d4,_0x3e593c,_0x266aae,_0x4b380a){var _0x1f7c78=_0x5410a2;super(_0x4bcb62,_0x432f9e,null,[],_0x2ee590,_0x5474d4,_0x30ac39,_0x35d2bf,_0x4b380a),N(this,_0x1f7c78(0x3fc),'synced'),(this[_0x1f7c78(0x3c3)]=_0x302db4,this[_0x1f7c78(0x352)]=_0x3e593c,this[_0x1f7c78(0x249)]=_0x266aae,this[_0x1f7c78(0x30e)]=_0x4b380a);}[_0x5410a2(0x31c)](_0x1b2af7){var _0xa033cb=_0x5410a2;const _0x341101=this[_0xa033cb(0x3c3)][_0xa033cb(0x344)](re,this['unitID'],this[_0xa033cb(0x1a8)],[_0x1b2af7],this[_0xa033cb(0x468)]);return _0x341101[_0xa033cb(0x1e5)](),_0x341101['_updateLocalCache'](),_0x341101;}['onRemoteChangeset'](_0x2d3ed2){var _0x1c6015=_0x5410a2;if(this[_0x1c6015(0x2b8)](_0x2d3ed2))return this[_0x1c6015(0x3c3)][_0x1c6015(0x344)](Q,this['unitID'],this['type'],null,[],null,[_0x2d3ed2],this['_handler']);try{const _0x260350=this[_0x1c6015(0x249)][_0x1c6015(0x1af)](_0x2d3ed2,[$s]);if(_0x4f2573(_0x260350)){const {c1Prime:_0x4bc1}=_0x260350;return this[_0x1c6015(0x447)](_0x4bc1),this;}throw _0x260350[_0x1c6015(0x1ff)];}catch(_0x3c3e06){return this[_0x1c6015(0x352)]['error'](_0x3c3e06),this[_0x1c6015(0x3ff)](!0x1);}}['_onConflict'](_0x4563ed){var _0x492ab0=_0x5410a2;return this[_0x492ab0(0x3c3)][_0x492ab0(0x344)](le,this['unitID'],this['type'],null,[],this[_0x492ab0(0x468)],_0x4563ed);}[_0x5410a2(0x47d)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5410a2(0x2a6)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5410a2(0x19a)](){return this;}[_0x5410a2(0x37c)](){var _0xe5037=_0x5410a2;return this[_0xe5037(0x3c3)][_0xe5037(0x344)](ue,this[_0xe5037(0x19c)],this['type'],null,[],this[_0xe5037(0x468)]);}['toggleOnline'](){return this;}[_0x5410a2(0x43f)](){var _0xcbbec5=_0x5410a2;throw new Error(_0xcbbec5(0x3c4));}[_0x5410a2(0x22e)](){var _0xb7b2aa=_0x5410a2;const _0x3fd325=this['_revisionService'][_0xb7b2aa(0x31b)](this['unitID']);return this[_0xb7b2aa(0x468)]['onMissingChangesets']({'from':_0x3fd325,'to':0x0}),this[_0xb7b2aa(0x3c3)][_0xb7b2aa(0x344)](Q,this['unitID'],this['type'],null,[],null,[],this[_0xb7b2aa(0x468)]);}};ye=Ee([P(0x3,_0x2a67ea(_0x4291a6)),P(0x4,_0x2a67ea(_0xb9171d)),P(0x5,_0x384b35),P(0x6,_0x51e75f),P(0x7,_0x3229e5),P(0x8,_0x66570c),P(0x9,_0x38fedb(J))],ye);function _0x48ad(_0x13c972,_0x62430a){var _0x28c4d=_0x28c4();return _0x48ad=function(_0x48ad4b,_0x493071){_0x48ad4b=_0x48ad4b-0x17c;var _0x1a9a3d=_0x28c4d[_0x48ad4b];return _0x1a9a3d;},_0x48ad(_0x13c972,_0x62430a);}let re=class extends Ie{constructor(_0x1c8c62,_0x5cdf97,_0x26964c,_0x403e42,_0x327679,_0x4f8535,_0x1a59d1,_0x4c72a9,_0x186f10,_0x362972,_0x21e81b,_0x26819d,_0x43f5a4,_0xeb2384){var _0x4957e0=_0x5410a2;super(_0x1c8c62,_0x5cdf97,null,_0x26964c,_0x403e42,_0x186f10,_0x43f5a4,_0x4f8535,_0xeb2384),N(this,'status',_0x4957e0(0x1dd)),N(this,_0x4957e0(0x3d1),null),N(this,_0x4957e0(0x427),null),(this[_0x4957e0(0x3c3)]=_0x327679,this[_0x4957e0(0x46c)]=_0x1a59d1,this[_0x4957e0(0x352)]=_0x4c72a9,this[_0x4957e0(0x39f)]=_0x362972,this['_transformService']=_0x21e81b,this[_0x4957e0(0x34a)]=_0x26819d);}[_0x5410a2(0x31c)](_0x4ecd8a){var _0x3363e2=_0x5410a2;return this['_pendingMutations'][_0x3363e2(0x353)](_0x4ecd8a),this[_0x3363e2(0x38a)](),this;}['onRemoteChangeset'](_0x5c3601){var _0x41c3d7=_0x5410a2;if(this['_checkMissing'](_0x5c3601))return this[_0x41c3d7(0x42d)](),this[_0x41c3d7(0x3c3)][_0x41c3d7(0x344)](Q,this[_0x41c3d7(0x19c)],this[_0x41c3d7(0x1a8)],null,this[_0x41c3d7(0x2f6)],null,[_0x5c3601],this['_handler']);try{const _0x7bdd54=this['_transformService'][_0x41c3d7(0x1af)](_0x5c3601,this['_pendingMutations']);if(_0x4f2573(_0x7bdd54)){const {c1Prime:_0x2da44d,m2Prime:_0x309461}=_0x7bdd54;this[_0x41c3d7(0x447)](_0x2da44d);const _0x277ed9=this[_0x41c3d7(0x3c3)]['createInstance'](re,this['unitID'],this[_0x41c3d7(0x1a8)],_0x309461,this[_0x41c3d7(0x468)]);this[_0x41c3d7(0x42d)]();const _0x487db9=new Date()[_0x41c3d7(0x42a)](),_0xdf49c3=this[_0x41c3d7(0x3d1)]?Math['max'](this[_0x41c3d7(0x3d1)]-_0x487db9,0x0):this['_getSendChangesetTimeout']();return _0x277ed9[_0x41c3d7(0x1e5)](_0xdf49c3),_0x277ed9;}throw _0x7bdd54[_0x41c3d7(0x1ff)];}catch(_0x9621e7){return this['_logService'][_0x41c3d7(0x1ff)](_0x9621e7),this[_0x41c3d7(0x3ff)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5b9788=_0x5410a2;throw new Error(_0x5b9788(0x46f));}['onRemoteRetry'](){return this;}[_0x5410a2(0x37c)](){var _0x3d370f=_0x5410a2;return this[_0x3d370f(0x42d)](),this['_injector'][_0x3d370f(0x344)](ue,this[_0x3d370f(0x19c)],this[_0x3d370f(0x1a8)],null,this[_0x3d370f(0x2f6)],this['_handler']);}[_0x5410a2(0x25d)](){return this;}[_0x5410a2(0x1e5)](_0x488c11){var _0x11844c=_0x5410a2;const _0xe22b69=_0x488c11!=null?_0x488c11:this[_0x11844c(0x2d5)]();this[_0x11844c(0x3d1)]=new Date()[_0x11844c(0x42a)]()+_0xe22b69,this[_0x11844c(0x427)]=setTimeout(()=>{var _0x4f13ba=_0x11844c;this['_clearScheduledTask']();let _0x31e211=null;switch(this['type']){case Z[_0x4f13ba(0x386)]:{_0x31e211=Wt(this[_0x4f13ba(0x2f6)],this[_0x4f13ba(0x19c)],this['_univerInstanceService'],this[_0x4f13ba(0x36c)],this[_0x4f13ba(0x46c)]);break;}case Z[_0x4f13ba(0x3c7)]:{this[_0x4f13ba(0x2f6)][_0x4f13ba(0x43a)](_0x571914=>_0x571914['id']===_0x43c442['id'])?_0x31e211=ks(this['_pendingMutations'],this[_0x4f13ba(0x19c)],this['_univerInstanceService'],this[_0x4f13ba(0x36c)],this['_memberService']):_0x31e211=Wt(this[_0x4f13ba(0x2f6)],this[_0x4f13ba(0x19c)],this[_0x4f13ba(0x34a)],this[_0x4f13ba(0x36c)],this[_0x4f13ba(0x46c)]);break;}default:throw new Error(_0x4f13ba(0x2e7)+this[_0x4f13ba(0x1a8)]+_0x4f13ba(0x455));}const {changeset:_0x188332,pendingMutations:_0x4ce42d}=_0x31e211;this[_0x4f13ba(0x468)][_0x4f13ba(0x274)](_0x188332);const _0x5781d2=_0x4ce42d[_0x4f13ba(0x323)]?this[_0x4f13ba(0x3c3)]['createInstance'](ae,this[_0x4f13ba(0x19c)],this['type'],_0x188332,_0x4ce42d,this['_handler'],void 0x0):this[_0x4f13ba(0x3c3)]['createInstance'](_e,this[_0x4f13ba(0x19c)],this[_0x4f13ba(0x1a8)],_0x188332,this[_0x4f13ba(0x468)]);_0x5781d2[_0x4f13ba(0x38a)](),this[_0x4f13ba(0x468)]['onStateChange'](this,_0x5781d2);},_0xe22b69);}[_0x5410a2(0x2d5)](){var _0x695b84=_0x5410a2,_0x2972af;const _0x125f35=this[_0x695b84(0x39f)]['getConfig'](K);return(_0x2972af=_0x125f35==null?void 0x0:_0x125f35['sendChangesetTimeout'])!=null?_0x2972af:ps;}[_0x5410a2(0x43f)](){var _0x1dc94c=_0x5410a2;throw new Error(_0x1dc94c(0x27c));}['_clearScheduledTask'](){var _0x17d33c=_0x5410a2;this[_0x17d33c(0x427)]!=null&&(clearTimeout(this[_0x17d33c(0x427)]),this['_sendingTimer']=null);}[_0x5410a2(0x3ff)](_0x104519){var _0x577bf0=_0x5410a2;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x577bf0(0x468)],_0x104519);}};re=Ee([P(0x4,_0x2a67ea(_0xb9171d)),P(0x5,_0x2a67ea(_0x4291a6)),P(0x6,_0x2a67ea(we)),P(0x7,_0x3229e5),P(0x8,_0x51e75f),P(0x9,_0x54dc50),P(0xa,_0x66570c),P(0xb,_0x1f2fda),P(0xc,_0x384b35),P(0xd,_0x38fedb(J))],re);let _e=class extends Ie{constructor(_0x5cca9b,_0x5721a6,_0x43e532,_0x1eadce,_0x4f571a,_0x2cb1bf,_0x107b13,_0xa61483,_0x5e54a1,_0xa0f48c,_0x545ef9){var _0x2c776d=_0x5410a2;super(_0x5cca9b,_0x5721a6,_0x43e532,[],_0x1eadce,_0x107b13,_0xa0f48c,_0x2cb1bf,_0x545ef9),N(this,'status','awaiting'),N(this,_0x2c776d(0x460),0x0),N(this,_0x2c776d(0x1d4)),N(this,_0x2c776d(0x29e)),(this[_0x2c776d(0x3c3)]=_0x4f571a,this['_logService']=_0xa61483,this[_0x2c776d(0x249)]=_0x5e54a1);}['appendMutation'](_0x532b7b){var _0x32783a=_0x5410a2;this['_clearScheduledTask']();const _0x249938=this['_injector']['createInstance'](ae,this[_0x32783a(0x19c)],this['type'],this['_awaitingChangeset'],[_0x532b7b],this[_0x32783a(0x468)],this[_0x32783a(0x1d4)]);return _0x249938[_0x32783a(0x38a)](),_0x249938;}['onRemoteChangeset'](_0x2be533){var _0xa4318f=_0x5410a2;if(this[_0xa4318f(0x2b8)](_0x2be533))return this[_0xa4318f(0x42d)](),this[_0xa4318f(0x3c3)][_0xa4318f(0x344)](Q,this[_0xa4318f(0x19c)],this[_0xa4318f(0x1a8)],this[_0xa4318f(0x1e7)],[],null,[_0x2be533],this['_handler']);try{const _0x380865=this[_0xa4318f(0x249)][_0xa4318f(0x45f)]([_0x2be533],[this['_awaitingChangeset']],!0x1);if(_0x596bf2(_0x380865)){const {c1Prime:_0x8493f3,c2Prime:_0x2623b0}=_0x380865;this[_0xa4318f(0x447)](_0x8493f3[0x0]),_0x2623b0[0x0][_0xa4318f(0x3f3)]=this[_0xa4318f(0x3cc)](),this[_0xa4318f(0x42d)]();const _0x24334a=this['_injector'][_0xa4318f(0x344)](_e,this[_0xa4318f(0x19c)],this[_0xa4318f(0x1a8)],_0x2623b0[0x0],this[_0xa4318f(0x468)]);return _0x24334a['_updateLocalCache'](),_0x24334a;}return this[_0xa4318f(0x3ff)](!0x1);}catch(_0x21ab0a){return this['_logService'][_0xa4318f(0x1ff)](_0x21ab0a),this[_0xa4318f(0x3ff)](!0x1);}}['onRemoteAck'](_0x4945fe){var _0x13e947=_0x5410a2;this[_0x13e947(0x42d)]();const _0x4f1bc7=this[_0x13e947(0x36c)][_0x13e947(0x31b)](this[_0x13e947(0x19c)]);if(_0x4945fe[_0x13e947(0x39d)]<_0x4f1bc7-0x1)return this;if(this['_checkMissing'](_0x4945fe))return this[_0x13e947(0x3c3)][_0x13e947(0x344)](Q,this[_0x13e947(0x19c)],this['type'],null,[],this[_0x13e947(0x1e7)],[],this['_handler']);this[_0x13e947(0x1fb)]();const _0x25f318=this[_0x13e947(0x3c3)][_0x13e947(0x344)](ye,this[_0x13e947(0x19c)],this[_0x13e947(0x1a8)],this[_0x13e947(0x468)]);return _0x25f318[_0x13e947(0x38a)](),_0x25f318;}['onRemoteRej'](_0xd5882c){var _0x2e95e7=_0x5410a2;return this[_0x2e95e7(0x3ff)](!!(_0xd5882c!=null&&_0xd5882c[_0x2e95e7(0x222)]));}[_0x5410a2(0x19a)](_0x5a72b3){var _0x5d409e=_0x5410a2;return this['_resendTimeout']>Ii?this['toggleOffline']():(this[_0x5d409e(0x1d4)]=Si(this[_0x5d409e(0x460)],{'timeout':this[_0x5d409e(0x460)],'reqId':_0x5a72b3[_0x5d409e(0x1fd)]}),this[_0x5d409e(0x29e)]=this['_resendTimer'][_0x5d409e(0x3a8)](({reqId:_0x1d5b46,timeout:_0xd4363})=>{var _0x5a41df=_0x5d409e;this[_0x5a41df(0x463)](_0x1d5b46,_0xd4363);}),this);}[_0x5410a2(0x37c)](){var _0x3f7ac8=_0x5410a2;return this[_0x3f7ac8(0x42d)](),this[_0x3f7ac8(0x3c3)]['createInstance'](ue,this[_0x3f7ac8(0x19c)],this[_0x3f7ac8(0x1a8)],this[_0x3f7ac8(0x1e7)],[],this[_0x3f7ac8(0x468)]);}[_0x5410a2(0x25d)](){return this;}[_0x5410a2(0x43f)](){var _0x47aa7f=_0x5410a2;this['_handler'][_0x47aa7f(0x274)](this['_awaitingChangeset']);}[_0x5410a2(0x3ff)](_0x2d2740){var _0x3789b2=_0x5410a2;return this['_clearScheduledTask'](),this[_0x3789b2(0x3c3)][_0x3789b2(0x344)](le,this[_0x3789b2(0x19c)],this[_0x3789b2(0x1a8)],this['_awaitingChangeset'],[],this[_0x3789b2(0x468)],_0x2d2740);}['_resendWithTimeout'](_0x21f553,_0x1ff7f1){var _0x77dd82=_0x5410a2,_0x39da22;_0x21f553===((_0x39da22=this['_awaitingChangeset'])==null?void 0x0:_0x39da22[_0x77dd82(0x1fd)])&&(this[_0x77dd82(0x43f)](),this[_0x77dd82(0x460)]=_0x1ff7f1===0x0?0x3e8:_0x1ff7f1*0x2);}[_0x5410a2(0x42d)](){var _0x3d680f=_0x5410a2,_0x297faa;(_0x297faa=this[_0x3d680f(0x29e)])==null||_0x297faa[_0x3d680f(0x2f4)](),this[_0x3d680f(0x460)]=0x0;}};_e=Ee([P(0x4,_0x2a67ea(_0xb9171d)),P(0x5,_0x2a67ea(_0x4291a6)),P(0x6,_0x51e75f),P(0x7,_0x3229e5),P(0x8,_0x66570c),P(0x9,_0x384b35),P(0xa,_0x38fedb(J))],_e);let ae=class extends Ie{constructor(_0xe4af37,_0x3e6b10,_0xb02c10,_0xa2f57c,_0x7dc746,_0x26bb52,_0x1b1408,_0x126a43,_0x41753f,_0x1dcad7,_0x196ec4,_0x35adcd,_0x5554ea){var _0x21aa1a=_0x5410a2;super(_0xe4af37,_0x3e6b10,_0xb02c10,_0xa2f57c,_0x7dc746,_0x41753f,_0x35adcd,_0x126a43,_0x5554ea),N(this,_0x21aa1a(0x3fc),_0x21aa1a(0x1da)),N(this,_0x21aa1a(0x460),0x0),N(this,_0x21aa1a(0x1d4)),N(this,_0x21aa1a(0x29e)),(this[_0x21aa1a(0x3c3)]=_0x1b1408,this[_0x21aa1a(0x352)]=_0x1dcad7,this[_0x21aa1a(0x249)]=_0x196ec4,this[_0x21aa1a(0x30e)]=_0x5554ea,_0x26bb52&&(this[_0x21aa1a(0x1d4)]=_0x26bb52,this['_sender']=this[_0x21aa1a(0x1d4)][_0x21aa1a(0x3a8)](({reqId:_0x2f9ecb,timeout:_0x44983e})=>{this['_resendWithTimeout'](_0x2f9ecb,_0x44983e);})));}[_0x5410a2(0x31c)](_0x1f6598){var _0x55d779=_0x5410a2;return this[_0x55d779(0x2f6)]['push'](_0x1f6598),this;}[_0x5410a2(0x477)](_0x40668d){var _0x199405=_0x5410a2;if(this[_0x199405(0x2b8)](_0x40668d))return this['_clearScheduledTask'](),this[_0x199405(0x3c3)]['createInstance'](Q,this[_0x199405(0x19c)],this[_0x199405(0x1a8)],this[_0x199405(0x1e7)],this['_pendingMutations'],null,[_0x40668d],this[_0x199405(0x468)]);try{const _0x29449d=this[_0x199405(0x249)][_0x199405(0x45f)]([_0x40668d],[this[_0x199405(0x1e7)]],!0x1);if(_0x596bf2(_0x29449d)){const {c1Prime:_0x2e697c,c2Prime:_0x9386e6}=_0x29449d,_0x2ac3f=this['_transformService'][_0x199405(0x1af)](_0x2e697c[0x0],this[_0x199405(0x2f6)]);if(_0x4f2573(_0x2ac3f)){const {c1Prime:_0x14d4cb,m2Prime:_0x326849}=_0x2ac3f;return this[_0x199405(0x447)](_0x14d4cb),_0x9386e6[0x0]['baseRev']=this[_0x199405(0x3cc)](),this[_0x199405(0x42d)](),this['_injector'][_0x199405(0x344)](ae,this[_0x199405(0x19c)],this[_0x199405(0x1a8)],_0x9386e6[0x0],_0x326849,this[_0x199405(0x468)],void 0x0);}throw _0x2ac3f[_0x199405(0x1ff)];}throw _0x29449d[_0x199405(0x1ff)];}catch(_0x4e3a6c){return this['_logService']['error'](_0x4e3a6c),this['_onConflict'](!0x1);}}['onRemoteAck'](_0xc010d5){var _0x1a482e=_0x5410a2;if(this[_0x1a482e(0x42d)](),this['_checkMissing'](_0xc010d5))return this[_0x1a482e(0x3c3)][_0x1a482e(0x344)](Q,this['unitID'],this[_0x1a482e(0x1a8)],null,this[_0x1a482e(0x2f6)],this[_0x1a482e(0x1e7)],[],this[_0x1a482e(0x468)]);this[_0x1a482e(0x1fb)]();const _0x395cad=this[_0x1a482e(0x3c3)]['createInstance'](re,this[_0x1a482e(0x19c)],this['type'],this['_pendingMutations'],this[_0x1a482e(0x468)]);return _0x395cad[_0x1a482e(0x1e5)](),_0x395cad[_0x1a482e(0x38a)](),_0x395cad;}[_0x5410a2(0x2a6)](_0x8338){var _0x2551b4=_0x5410a2;return this[_0x2551b4(0x3ff)](!!(_0x8338!=null&&_0x8338[_0x2551b4(0x222)]));}['onRemoteRetry'](_0x2a8395){var _0x146062=_0x5410a2;return this[_0x146062(0x460)]>Ii?this[_0x146062(0x37c)]():(this[_0x146062(0x1d4)]=Si(this['_resendTimeout'],{'timeout':this[_0x146062(0x460)],'reqId':_0x2a8395['reqId']}),this[_0x146062(0x29e)]=this['_resendTimer'][_0x146062(0x3a8)](({reqId:_0x2807b6,timeout:_0x1c4074})=>{var _0x343d58=_0x146062;this[_0x343d58(0x463)](_0x2807b6,_0x1c4074);}),this);}[_0x5410a2(0x37c)](){var _0x5f178a=_0x5410a2;return this[_0x5f178a(0x42d)](),this[_0x5f178a(0x3c3)][_0x5f178a(0x344)](ue,this[_0x5f178a(0x19c)],this[_0x5f178a(0x1a8)],this['_awaitingChangeset'],this[_0x5f178a(0x2f6)],this[_0x5f178a(0x468)]);}['toggleOnline'](){return this;}[_0x5410a2(0x43f)](){var _0x42e369=_0x5410a2;this[_0x42e369(0x468)][_0x42e369(0x274)](this[_0x42e369(0x1e7)]);}[_0x5410a2(0x3ff)](_0x3ae89b){var _0x523d99=_0x5410a2;return this[_0x523d99(0x42d)](),this[_0x523d99(0x3c3)][_0x523d99(0x344)](le,this[_0x523d99(0x19c)],this[_0x523d99(0x1a8)],null,this['_pendingMutations'],this[_0x523d99(0x468)],_0x3ae89b);}[_0x5410a2(0x463)](_0x13e986,_0x1d0e66){var _0x59c0e9=_0x5410a2,_0x467c84;_0x13e986===((_0x467c84=this[_0x59c0e9(0x1e7)])==null?void 0x0:_0x467c84[_0x59c0e9(0x1fd)])&&(this[_0x59c0e9(0x43f)](),this[_0x59c0e9(0x460)]=_0x1d0e66===0x0?0x3e8:_0x1d0e66*0x2);}[_0x5410a2(0x42d)](){var _0x178760=_0x5410a2,_0x81ae9;(_0x81ae9=this[_0x178760(0x29e)])==null||_0x81ae9['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x2a67ea(_0xb9171d)),P(0x7,_0x2a67ea(_0x4291a6)),P(0x8,_0x51e75f),P(0x9,_0x3229e5),P(0xa,_0x66570c),P(0xb,_0x384b35),P(0xc,_0x38fedb(J))],ae);let le=class extends Ie{constructor(_0x20bce9,_0x17b8fd,_0x24b6c1,_0x5575f0,_0x374a96,_0x19851c=!0x1,_0x240ec7,_0x37f027,_0x4bc80d,_0x2b7037,_0x1bd12b,_0x571507,_0x4a9770){var _0x383d8e=_0x5410a2;super(_0x20bce9,_0x17b8fd,_0x24b6c1,_0x5575f0,_0x374a96,_0x37f027,_0x4bc80d,_0x2b7037,_0x4a9770),N(this,_0x383d8e(0x3fc),_0x383d8e(0x18d)),(this[_0x383d8e(0x20d)]=_0x19851c,this[_0x383d8e(0x277)]=_0x240ec7,this[_0x383d8e(0x265)]=_0x1bd12b,this[_0x383d8e(0x21b)]=_0x571507,this[_0x383d8e(0x30e)]=_0x4a9770,this['_showConflictNotification'](),this[_0x383d8e(0x44a)](),this[_0x383d8e(0x202)]());}[_0x5410a2(0x31c)](){return this;}[_0x5410a2(0x477)](){return this;}[_0x5410a2(0x47d)](){return this;}[_0x5410a2(0x2a6)](){return this;}[_0x5410a2(0x19a)](){return this;}[_0x5410a2(0x37c)](){return this;}[_0x5410a2(0x25d)](){return this;}[_0x5410a2(0x43f)](){var _0x879226=_0x5410a2;throw new Error(_0x879226(0x390));}[_0x5410a2(0x44a)](){var _0x4174e0=_0x5410a2,_0x3a819e;(_0x3a819e=this[_0x4174e0(0x3e4)])==null||_0x3a819e[_0x4174e0(0x389)](this[_0x4174e0(0x19c)],this[_0x4174e0(0x1a8)],null,[]);}['_showConflictNotification'](){var _0x1d45e4=_0x5410a2;this['_isPermissionRej']?this[_0x1d45e4(0x21b)][_0x1d45e4(0x2b4)]({'id':ne[_0x1d45e4(0x41e)]}):this[_0x1d45e4(0x21b)][_0x1d45e4(0x2b4)]({'id':ne[_0x1d45e4(0x195)]});}[_0x5410a2(0x202)](){var _0x15b3d7=_0x5410a2;this['_permissionService']['updatePermissionPoint'](new _0x3078fa(this[_0x15b3d7(0x19c)])['id'],!0x1);}};le=Ee([P(0x6,_0x2a67ea(_0x5a942e)),P(0x7,_0x51e75f),P(0x8,_0x384b35),P(0x9,_0x2a67ea(_0x4291a6)),P(0xa,_0x2a67ea(_0x2cfa1d)),P(0xb,_0x2a67ea(ve)),P(0xc,_0x38fedb(J))],le);let ue=class extends Ie{constructor(_0x2b6834,_0x6e7be8,_0x2a11e6,_0x122d3e,_0x338291,_0x3a9026,_0x2e0e7f,_0x53afde,_0x4f5caa,_0x4dbf7f){var _0x3b0d8f=_0x5410a2;super(_0x2b6834,_0x6e7be8,_0x2a11e6,_0x122d3e,_0x338291,_0x53afde,_0x4f5caa,_0x2e0e7f,_0x4dbf7f),N(this,_0x3b0d8f(0x3fc),_0x3b0d8f(0x3f0)),this[_0x3b0d8f(0x3c3)]=_0x3a9026;}['appendMutation'](_0x41c3c4){var _0x41c876=_0x5410a2;return this[_0x41c876(0x2f6)]['push'](_0x41c3c4),this[_0x41c876(0x38a)](),this;}[_0x5410a2(0x477)](_0x1e342a){var _0x27e913=_0x5410a2;throw new Error(_0x27e913(0x1e9));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x172bb7=_0x5410a2;throw new Error(_0x172bb7(0x334));}[_0x5410a2(0x19a)](){return this;}[_0x5410a2(0x37c)](){return this;}[_0x5410a2(0x25d)](){var _0x4c36d9=_0x5410a2;const {_injector:_0x20d31e,_pendingMutations:_0x3b3466,_awaitingChangeset:_0x4e30f3,unitID:_0x553925,_handler:_0x53df34,type:_0x5e0c82}=this,_0x38aa9b=Ti(_0x20d31e,_0x553925,_0x5e0c82,_0x4e30f3,_0x3b3466,_0x53df34);return _0x38aa9b instanceof re?_0x38aa9b['_schedule']():(_0x38aa9b instanceof ae||_0x38aa9b instanceof _e)&&_0x38aa9b[_0x4c36d9(0x43f)](),_0x38aa9b;}[_0x5410a2(0x43f)](){var _0x29744e=_0x5410a2;throw new Error(_0x29744e(0x1ac));}};ue=Ee([P(0x5,_0x2a67ea(_0xb9171d)),P(0x6,_0x2a67ea(_0x4291a6)),P(0x7,_0x51e75f),P(0x8,_0x384b35),P(0x9,_0x38fedb(J))],ue);let Q=class extends Ie{constructor(_0xfb0336,_0x1da210,_0x28cb31,_0x48639f,_0x4efd70,_0x509837,_0x262ffd,_0x21fcdb,_0xd43224,_0xcbc6e6,_0x3580b3,_0x22573f,_0x53d5fd,_0x181950){var _0x49ddb1=_0x5410a2;super(_0xfb0336,_0x1da210,_0x28cb31,_0x48639f,_0x262ffd,_0x3580b3,_0x22573f,_0xd43224,_0x181950),N(this,_0x49ddb1(0x3fc),_0x49ddb1(0x369)),(this[_0x49ddb1(0x43c)]=_0x4efd70,this[_0x49ddb1(0x351)]=_0x509837,this[_0x49ddb1(0x3c3)]=_0x21fcdb,this[_0x49ddb1(0x352)]=_0xcbc6e6,this[_0x49ddb1(0x249)]=_0x53d5fd,this['localCacheService']=_0x181950);}[_0x5410a2(0x268)](_0x3356bc){var _0x59bc15=_0x5410a2;try{const _0x413e07=[..._0x3356bc,...this['_queuedRemoteChangesets']],_0x58c53b=[this['_awaitingChangeset']||this[_0x59bc15(0x43c)]][_0x59bc15(0x421)](_0x98da20=>!!_0x98da20);let _0x20269d,_0x2fcbbc;if(_0x58c53b[_0x59bc15(0x323)]){const _0xe7e322=this['_transformService'][_0x59bc15(0x45f)](_0x413e07,_0x58c53b,!0x1);if(!_0x596bf2(_0xe7e322))throw _0xe7e322[_0x59bc15(0x1ff)];_0x20269d=_0xe7e322['c1Prime'],_0x2fcbbc=_0xe7e322[_0x59bc15(0x375)];}else _0x20269d=_0x413e07,_0x2fcbbc=[];let _0x48da1a=this[_0x59bc15(0x2f6)];_0x20269d['forEach'](_0x2ab73d=>{var _0x30bf69=_0x59bc15;let _0x3727b4;if(_0x48da1a[_0x30bf69(0x323)]){const _0x479606=this[_0x30bf69(0x249)][_0x30bf69(0x1af)](_0x2ab73d,_0x48da1a);if(!_0x4f2573(_0x479606))throw _0x479606[_0x30bf69(0x1ff)];_0x3727b4=_0x479606[_0x30bf69(0x207)],_0x48da1a=_0x479606[_0x30bf69(0x31f)];}else _0x3727b4=_0x2ab73d;this[_0x30bf69(0x447)](_0x3727b4);}),this[_0x59bc15(0x43c)]&&this[_0x59bc15(0x1fb)](),this[_0x59bc15(0x1e7)]&&_0x2fcbbc[_0x59bc15(0x323)]&&(_0x2fcbbc[0x0]['baseRev']=this['_getCurrentRevision']());let _0x3f9c62;if(this[_0x59bc15(0x1e7)]&&_0x48da1a[_0x59bc15(0x323)]!==0x0)_0x3f9c62=this['_injector'][_0x59bc15(0x344)](ae,this[_0x59bc15(0x19c)],this[_0x59bc15(0x1a8)],_0x2fcbbc[0x0],_0x48da1a,this[_0x59bc15(0x468)],void 0x0);else{if(this[_0x59bc15(0x1e7)]&&_0x48da1a[_0x59bc15(0x323)]===0x0)_0x2fcbbc[0x0][_0x59bc15(0x3f3)]=this[_0x59bc15(0x3cc)](),_0x3f9c62=this['_injector'][_0x59bc15(0x344)](_e,this['unitID'],this[_0x59bc15(0x1a8)],_0x2fcbbc[0x0],this[_0x59bc15(0x468)]);else{if(_0x48da1a[_0x59bc15(0x323)]!==0x0){const _0x564151=this[_0x59bc15(0x3c3)][_0x59bc15(0x344)](re,this[_0x59bc15(0x19c)],this[_0x59bc15(0x1a8)],_0x48da1a,this[_0x59bc15(0x468)]);_0x564151['_schedule'](),_0x3f9c62=_0x564151;}else _0x3f9c62=this[_0x59bc15(0x3c3)]['createInstance'](ye,this[_0x59bc15(0x19c)],this['type'],this[_0x59bc15(0x468)]);}}return _0x3f9c62[_0x59bc15(0x38a)](),_0x3f9c62;}catch(_0x36372a){return this[_0x59bc15(0x352)][_0x59bc15(0x1ff)](_0x59bc15(0x240),'failed\x20to\x20apply\x20missed\x20changesets!',_0x36372a),this[_0x59bc15(0x3c3)][_0x59bc15(0x344)](le,this[_0x59bc15(0x19c)],this[_0x59bc15(0x1a8)],this[_0x59bc15(0x1e7)],this[_0x59bc15(0x2f6)],this[_0x59bc15(0x468)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5410a2(0x31c)](_0x2b4ed5){var _0x31a025=_0x5410a2;return this[_0x31a025(0x2f6)][_0x31a025(0x353)](_0x2b4ed5),this;}[_0x5410a2(0x477)](_0x102e49){var _0x5c90cd=_0x5410a2;return this[_0x5c90cd(0x351)][_0x5c90cd(0x353)](_0x102e49),this;}[_0x5410a2(0x47d)](_0x57d65c){var _0x5e0e1e=_0x5410a2;if(this[_0x5e0e1e(0x1e7)])return this[_0x5e0e1e(0x43c)]=this[_0x5e0e1e(0x1e7)],this[_0x5e0e1e(0x1e7)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x175d07){var _0x211dbd=_0x5410a2;return this['_onConflict'](!!(_0x175d07!=null&&_0x175d07[_0x211dbd(0x222)]));}[_0x5410a2(0x19a)](){return this;}[_0x5410a2(0x37c)](){var _0x19280b=_0x5410a2;return this[_0x19280b(0x3c3)][_0x19280b(0x344)](ue,this[_0x19280b(0x19c)],this[_0x19280b(0x1a8)],this[_0x19280b(0x1e7)],this[_0x19280b(0x2f6)],this[_0x19280b(0x468)]);}[_0x5410a2(0x25d)](){return this;}[_0x5410a2(0x3ff)](_0x32cb17){var _0x1aa7f2=_0x5410a2;return this[_0x1aa7f2(0x3c3)][_0x1aa7f2(0x344)](le,this['unitID'],this['type'],this[_0x1aa7f2(0x1e7)],this[_0x1aa7f2(0x2f6)],this['_handler'],_0x32cb17);}};Q=Ee([P(0x7,_0x2a67ea(_0xb9171d)),P(0x8,_0x2a67ea(_0x4291a6)),P(0x9,_0x3229e5),P(0xa,_0x51e75f),P(0xb,_0x384b35),P(0xc,_0x66570c),P(0xd,_0x38fedb(J))],Q);function Ti(_0x3aab1a,_0x59bb2b,_0x2ea6db,_0x6d67d7,_0x2a5e92,_0x48f346){var _0x360338=_0x5410a2;return _0x6d67d7&&_0x2a5e92[_0x360338(0x323)]?_0x3aab1a[_0x360338(0x344)](ae,_0x59bb2b,_0x2ea6db,_0x6d67d7,_0x2a5e92,_0x48f346,void 0x0):_0x6d67d7?_0x3aab1a[_0x360338(0x344)](_e,_0x59bb2b,_0x2ea6db,_0x6d67d7,_0x48f346):_0x2a5e92[_0x360338(0x323)]?_0x3aab1a[_0x360338(0x344)](re,_0x59bb2b,_0x2ea6db,_0x2a5e92,_0x48f346):_0x3aab1a[_0x360338(0x344)](ye,_0x59bb2b,_0x2ea6db,_0x48f346);}var Bs=Object[_0x5410a2(0x2a3)],wt=(_0x3a6c6d,_0x5445b0,_0x1ef0c2,_0x446769)=>{for(var _0x5026fc=_0x446769>0x1?void 0x0:_0x446769?Bs(_0x5445b0,_0x1ef0c2):_0x5445b0,_0x425643=_0x3a6c6d['length']-0x1,_0x3b4e7e;_0x425643>=0x0;_0x425643--)(_0x3b4e7e=_0x3a6c6d[_0x425643])&&(_0x5026fc=_0x3b4e7e(_0x5026fc)||_0x5026fc);return _0x5026fc;},H=(_0x5f3078,_0x18a3bc)=>(_0x18df35,_0x16487e)=>_0x18a3bc(_0x18df35,_0x16487e,_0x5f3078);let st=class extends _0x11e454{constructor(_0x5927e9,_0x4323a1,_0x1d9250,_0x9e839c,_0x4b4ed4,_0x57f575,_0x40e997,_0x55605b,_0x1efb82,_0x5e357e,_0x42eb3c,_0x528945,_0x271755){var _0x30e799=_0x5410a2;super(),N(this,_0x30e799(0x29c),new _0xc40a72(null)),N(this,_0x30e799(0x310),this[_0x30e799(0x29c)]['asObservable']()),N(this,_0x30e799(0x25a)),N(this,'_collaborationPaused',!0x1),N(this,_0x30e799(0x44e),''),N(this,_0x30e799(0x31a),0x0),N(this,'status$',this[_0x30e799(0x310)][_0x30e799(0x1bf)](_0x3abd4f(_0x51f56a=>_0x51f56a?_0x51f56a[_0x30e799(0x3fc)]:Ei['OFFLINE']),_0x2d840f(0x1))),N(this,_0x30e799(0x2cd),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x30e799(0x19c)]=_0x5927e9,this['session']=_0x4323a1,this[_0x30e799(0x218)]=_0x1d9250,this[_0x30e799(0x3c3)]=_0x9e839c,this[_0x30e799(0x1a4)]=_0x4b4ed4,this[_0x30e799(0x265)]=_0x57f575,this['_revisionService']=_0x40e997,this[_0x30e799(0x244)]=_0x55605b,this[_0x30e799(0x352)]=_0x1efb82,this[_0x30e799(0x1f0)]=_0x5e357e,this['_permissionService']=_0x42eb3c,this['_singleActiveUnitService']=_0x528945,this[_0x30e799(0x3e4)]=_0x271755);}get[_0x5410a2(0x214)](){var _0xffc39f=_0x5410a2;return this[_0xffc39f(0x25a)];}async[_0x5410a2(0x47e)](){var _0x5ca316=_0x5410a2;if(this[_0x5ca316(0x214)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5ca316(0x354)]();}[_0x5410a2(0x3de)](){return this['_collaborationPaused']=!0x0,_0x4c369e(()=>{var _0x454a45=_0x48ad;this[_0x454a45(0x430)]=!0x1,this[_0x454a45(0x43d)]();});}[_0x5410a2(0x1a2)](_0x53e99e){var _0x54d109=_0x5410a2;this[_0x54d109(0x3e6)](_0x53e99e);}[_0x5410a2(0x3d3)](_0xfb9f87){var _0x134b09=_0x5410a2;this[_0x134b09(0x25a)]=_0xfb9f87,this['_state$']['next'](_0xfb9f87);}async['_init'](){var _0x104464=_0x5410a2,_0x26390b;this[_0x104464(0x3d3)](await this[_0x104464(0x266)]()),this[_0x104464(0x272)]&&((_0x26390b=this[_0x104464(0x272)])==null||_0x26390b[_0x104464(0x2dc)](this['unitID']),this[_0x104464(0x292)](this[_0x104464(0x272)][_0x104464(0x1a3)](this['unitID'])[_0x104464(0x3a8)](_0x2342ea=>{var _0x2cb8b6=_0x104464;this[_0x2cb8b6(0x352)][_0x2cb8b6(0x3f1)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x2342ea),_0x2342ea===gi[_0x2cb8b6(0x332)]?(this[_0x2cb8b6(0x244)][_0x2cb8b6(0x2b4)]({'id':ne[_0x2cb8b6(0x326)]}),this[_0x2cb8b6(0x277)]['updatePermissionPoint'](new _0x3078fa(this[_0x2cb8b6(0x19c)])['id'],!0x1),this[_0x2cb8b6(0x277)][_0x2cb8b6(0x42e)](!0x1)):(this[_0x2cb8b6(0x277)][_0x2cb8b6(0x3ea)](new _0x3078fa(this['unitID'])['id'],!0x0),this[_0x2cb8b6(0x277)][_0x2cb8b6(0x42e)](!0x0));})));let _0x5574a3=!0x1;return this[_0x104464(0x292)](this[_0x104464(0x1f1)][_0x104464(0x3cd)][_0x104464(0x3a8)](_0x1c8f47=>{var _0x399910=_0x104464;_0x1c8f47===ge[_0x399910(0x34f)]?this[_0x399910(0x2ff)](_0x5574a3):_0x1c8f47===ge[_0x399910(0x2cb)]&&(_0x5574a3=!0x0,this[_0x399910(0x306)]());})),this['disposeWithMe'](this[_0x104464(0x1f1)][_0x104464(0x3f4)][_0x104464(0x3a8)](_0x328280=>{var _0xbcf4c9=_0x104464;try{switch(_0x328280['eventID']){case _0x58a832['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x596723(_0x328280['data']));break;}case _0x58a832[_0xbcf4c9(0x1cf)]:{this[_0xbcf4c9(0x206)](_0x328280[_0xbcf4c9(0x246)]);break;}case _0x58a832[_0xbcf4c9(0x20c)]:{this[_0xbcf4c9(0x2d1)]();break;}case _0x58a832['CHANGESET_SHOULD_RETRY']:{this[_0xbcf4c9(0x36b)](_0x328280['data']);break;}case _0x58a832[_0xbcf4c9(0x288)]:{this['_onFetchMissResult'](_0x328280['data'][_0xbcf4c9(0x436)][_0xbcf4c9(0x394)](_0xaa22b8=>_0x596723(_0xaa22b8)));break;}case _0x58a832[_0xbcf4c9(0x2bb)]:{this[_0xbcf4c9(0x2d1)]({'isPermissionRej':!0x0});break;}case _0x58a832[_0xbcf4c9(0x364)]:break;}}catch(_0x303155){throw console['error']('Error\x20on\x20receiving\x20event',_0x303155),_0x303155;}})),this['_state'];}[_0x5410a2(0x37f)](){var _0x2670ee=_0x5410a2;this[_0x2670ee(0x2cd)]=!0x1;}[_0x5410a2(0x3ab)](){var _0x1cf428=_0x5410a2;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1cf428(0x2cd)]=!0x0;}[_0x5410a2(0x3e6)](_0xf8ba96){var _0x17e90d=_0x5410a2;this[_0x17e90d(0x3ab)](),this[_0x17e90d(0x3d3)](this[_0x17e90d(0x25a)][_0x17e90d(0x31c)](_0xf8ba96)),this[_0x17e90d(0x37f)]();}[_0x5410a2(0x267)](_0x37ee0d){var _0x50de61=_0x5410a2;if(!(_0x37ee0d[_0x50de61(0x39d)]<=this['_revisionService'][_0x50de61(0x31b)](this[_0x50de61(0x19c)]))){if(this[_0x50de61(0x430)]){this[_0x50de61(0x1f4)][_0x50de61(0x353)](_0x37ee0d);return;}this[_0x50de61(0x200)](_0x37ee0d);}}['_exhaustRemoteChangesetQueue'](){var _0x12f6ed=_0x5410a2;this[_0x12f6ed(0x1f4)][_0x12f6ed(0x20f)](_0x365d0f=>this[_0x12f6ed(0x200)](_0x365d0f)),this[_0x12f6ed(0x1f4)]=[];}[_0x5410a2(0x200)](_0x292c82){var _0xd13c3d=_0x5410a2;const _0x3bb03e=this[_0xd13c3d(0x1a4)][_0xd13c3d(0x1ab)]['fetchThroughInterceptors'](this[_0xd13c3d(0x1a4)][_0xd13c3d(0x1ab)][_0xd13c3d(0x1a1)]()['COMPRESS_MUTATION_APPLY'])(_0x292c82[_0xd13c3d(0x339)],null)||_0x292c82[_0xd13c3d(0x339)],_0x4bf6a5={..._0x292c82,'mutations':_0x3bb03e};this[_0xd13c3d(0x3ab)](),this[_0xd13c3d(0x3d3)](this[_0xd13c3d(0x25a)][_0xd13c3d(0x477)](_0x4bf6a5)),this[_0xd13c3d(0x37f)]();}['_onRemoteACK'](_0x390334){var _0x38ba98=_0x5410a2;this['_lockTransition'](),this[_0x38ba98(0x3d3)](this[_0x38ba98(0x25a)][_0x38ba98(0x47d)](_0x390334)),this[_0x38ba98(0x37f)]();}[_0x5410a2(0x2d1)](_0x1e39c9){var _0x34c6a2=_0x5410a2;this['_lockTransition'](),this[_0x34c6a2(0x3d3)](this[_0x34c6a2(0x25a)][_0x34c6a2(0x2a6)](_0x1e39c9)),this[_0x34c6a2(0x37f)]();}['_onRemoteRetry'](_0x405c62){var _0x33755e=_0x5410a2;this[_0x33755e(0x3ab)](),this[_0x33755e(0x3d3)](this[_0x33755e(0x25a)][_0x33755e(0x19a)](_0x405c62)),this[_0x33755e(0x37f)]();}[_0x5410a2(0x258)](_0x59cf0b){var _0x400182=_0x5410a2;if(!(this[_0x400182(0x25a)]instanceof Q))throw new TypeError(_0x400182(0x476));const _0x1d61fc=_0x59cf0b['map'](_0x254773=>{var _0x9fcf64=_0x400182;const _0x416bd6=this[_0x9fcf64(0x1a4)][_0x9fcf64(0x1ab)]['fetchThroughInterceptors'](this[_0x9fcf64(0x1a4)]['interceptor'][_0x9fcf64(0x1a1)]()[_0x9fcf64(0x219)])(_0x254773[_0x9fcf64(0x339)],null)||_0x254773[_0x9fcf64(0x339)];return{..._0x254773,'mutations':_0x416bd6};});this['_lockTransition'](),this[_0x400182(0x3d3)](this[_0x400182(0x25a)][_0x400182(0x268)](_0x1d61fc)),this[_0x400182(0x37f)]();}[_0x5410a2(0x306)](){var _0x2ae9fb=_0x5410a2;this[_0x2ae9fb(0x3ab)](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x2ae9fb(0x37f)]();}[_0x5410a2(0x2ff)](_0x5e919f=!0x1){var _0x27a317=_0x5410a2;this[_0x27a317(0x3ab)](),this[_0x27a317(0x3d3)](this[_0x27a317(0x25a)]['toggleOnline']()),this[_0x27a317(0x37f)]();const _0x4a4698=this[_0x27a317(0x25a)];_0x5e919f&&_0x4a4698 instanceof ye&&(this['_lockTransition'](),this[_0x27a317(0x3d3)](_0x4a4698['fetchMiss']()),this[_0x27a317(0x37f)]());}async[_0x5410a2(0x266)](){return new Promise(_0x361ff0=>{var _0x5745a2=_0x48ad;this[_0x5745a2(0x1f1)][_0x5745a2(0x3cd)]['pipe'](_0x39041d(0x1))[_0x5745a2(0x3a8)](async _0xf9301a=>{var _0x1fd28d=_0x5745a2;_0x361ff0(await this[_0x1fd28d(0x35f)](_0xf9301a===ge[_0x1fd28d(0x34f)]));});});}['_createHandler'](){const _0x23a3f6=this['unitID'];return{'onStateChange':(_0xbeb4d1,_0x480cab)=>{var _0x123d8f=_0x48ad;if(_0xbeb4d1!==this[_0x123d8f(0x25a)])throw new Error(_0x123d8f(0x42c)+_0xbeb4d1[_0x123d8f(0x3fc)]+_0x123d8f(0x479)+_0x480cab[_0x123d8f(0x3fc)]+_0x123d8f(0x471)+this[_0x123d8f(0x25a)][_0x123d8f(0x3fc)]);this[_0x123d8f(0x3d3)](_0x480cab);},'onSendChangeset':_0x4675d5=>{var _0x8be30a=_0x48ad;_0x4675d5['sid']||(_0x4675d5['sid']=this[_0x8be30a(0x44e)],_0x4675d5['reqId']=++this[_0x8be30a(0x31a)]);const _0x26cfdc={'eventID':_0x58a832[_0x8be30a(0x260)],'data':{'unitID':_0x4675d5[_0x8be30a(0x19c)],'unitType':this['_type'],'changeset':_0x4675d5,'memberID':this[_0x8be30a(0x1f1)][_0x8be30a(0x3d0)]()}};this[_0x8be30a(0x1f1)][_0x8be30a(0x324)](_0x26cfdc,this['unitID']);},'onMissingChangesets':({from:_0x88d1e8,to:_0x59f6a5})=>{var _0x38c49b=_0x48ad;this[_0x38c49b(0x352)][_0x38c49b(0x3f1)](_0x38c49b(0x350),_0x38c49b(0x19d)+_0x88d1e8+_0x38c49b(0x18c)+_0x59f6a5);const _0xf7c602={'eventID':_0x58a832['FETCH_MISSING'],'data':{'unitID':_0x23a3f6,'unitType':this['_type'],'from':_0x88d1e8,'to':_0x59f6a5}};this[_0x38c49b(0x1f1)]['send'](_0xf7c602,this[_0x38c49b(0x19c)]);}};}async[_0x5410a2(0x35f)](_0x16aec6){var _0x1585ab=_0x5410a2,_0x2792d4,_0xf62092,_0x578988;const _0x3e7993=await((_0x2792d4=this[_0x1585ab(0x3e4)])==null?void 0x0:_0x2792d4['loadOfflineData'](this[_0x1585ab(0x19c)])),_0x49bd77=(_0xf62092=_0x3e7993==null?void 0x0:_0x3e7993['mutations'])!=null?_0xf62092:[],_0x32b99d=(_0x578988=_0x3e7993==null?void 0x0:_0x3e7993[_0x1585ab(0x388)])!=null?_0x578988:null,_0x11f9fe=!!(_0x32b99d!=null&&_0x32b99d[_0x1585ab(0x47b)])&&!!(_0x32b99d!=null&&_0x32b99d['reqId']);this[_0x1585ab(0x44e)]=_0x11f9fe?_0x32b99d[_0x1585ab(0x47b)]:_0x4076b1(),this[_0x1585ab(0x31a)]=_0x11f9fe?_0x32b99d['reqId']:0x0;const _0x2e67b5=this['unitID'];try{this['_replayCachedMutations'](_0x32b99d,_0x49bd77);}catch(_0x5b0146){this['_logService'][_0x1585ab(0x1ff)](_0x5b0146);}const _0x174f9c=this[_0x1585ab(0x3b6)]();if(_0x16aec6){const _0x1ff23f=Ti(this[_0x1585ab(0x3c3)],_0x2e67b5,this[_0x1585ab(0x218)],_0x32b99d,_0x49bd77,_0x174f9c);return _0x1ff23f instanceof re?_0x1ff23f['_schedule']():(_0x1ff23f instanceof ae||_0x1ff23f instanceof _e)&&_0x1ff23f[_0x1585ab(0x43f)](),_0x1ff23f;}return this[_0x1585ab(0x3c3)]['createInstance'](ue,_0x2e67b5,this[_0x1585ab(0x218)],_0x32b99d,_0x49bd77,_0x174f9c);}[_0x5410a2(0x38d)](_0x182a40,_0x3a658b){var _0x20587d=_0x5410a2,_0x50d8aa,_0x294dab;const _0x51d6d4=this['_compressMutationService'][_0x20587d(0x1ab)][_0x20587d(0x3be)](this[_0x20587d(0x1a4)]['interceptor'][_0x20587d(0x1a1)]()[_0x20587d(0x219)]);(_0x50d8aa=_0x51d6d4((_0x182a40==null?void 0x0:_0x182a40[_0x20587d(0x339)])||[],null))==null||_0x50d8aa[_0x20587d(0x20f)](_0x22981b=>this['_commandService'][_0x20587d(0x355)](_0x22981b['id'],_0x22981b[_0x20587d(0x409)])),(_0x294dab=_0x51d6d4(_0x3a658b||[],null))==null||_0x294dab[_0x20587d(0x20f)](_0x4f919e=>this[_0x20587d(0x1f0)][_0x20587d(0x355)](_0x4f919e['id'],_0x4f919e['params']));}};st=wt([H(0x3,_0x2a67ea(_0xb9171d)),H(0x4,_0x2a67ea(_0x19a54c)),H(0x5,_0x2a67ea(_0x2cfa1d)),H(0x6,_0x2a67ea(_0x4291a6)),H(0x7,_0x2a67ea(ve)),H(0x8,_0x3229e5),H(0x9,_0x51e75f),H(0xa,_0x5a942e),H(0xb,_0x38fedb(ht)),H(0xc,_0x38fedb(J))],st);let St=class extends st{constructor(_0x5911e6,_0x5148d7,_0x3a841d,_0x574f39,_0x26bdfe,_0x4160cc,_0x8f402c,_0x4ef35b,_0x51b7b6,_0x2ad400,_0x486a05,_0x1f2d51,_0x1e1434){var _0xa2b3c0=_0x5410a2;super(_0x5911e6,_0x3a841d,_0x5148d7,_0x574f39,_0x26bdfe,_0x4160cc,_0x8f402c,_0x4ef35b,_0x51b7b6,_0x2ad400,_0x486a05,_0x1f2d51,_0x1e1434),N(this,'_handlerCallback',null),(this['unitID']=_0x5911e6,this[_0xa2b3c0(0x1a8)]=_0x5148d7);}[_0x5410a2(0x1b1)](_0x56d2cd){this['_handlerCallback']=_0x56d2cd;}[_0x5410a2(0x395)](){var _0x3d827f=_0x5410a2;this[_0x3d827f(0x28d)]=null,super[_0x3d827f(0x395)]();}[_0x5410a2(0x3b6)](){var _0x556ea4=_0x5410a2;const _0x5808a9=super['_createHandler']();return _0x5808a9[_0x556ea4(0x1c8)]=_0x1715ca=>{var _0x8dea5f=_0x556ea4,_0x5be6c8,_0x12e15b;return(_0x12e15b=(_0x5be6c8=this[_0x8dea5f(0x28d)])==null?void 0x0:_0x5be6c8[_0x8dea5f(0x1c8)])==null?void 0x0:_0x12e15b[_0x8dea5f(0x281)](_0x5be6c8,_0x1715ca);},_0x5808a9[_0x556ea4(0x18b)]=_0x306c80=>{var _0x364c24=_0x556ea4,_0x39c896,_0x53e065;return(_0x53e065=(_0x39c896=this[_0x364c24(0x28d)])==null?void 0x0:_0x39c896[_0x364c24(0x18b)])==null?void 0x0:_0x53e065[_0x364c24(0x281)](_0x39c896,_0x306c80);},_0x5808a9[_0x556ea4(0x402)]=_0x38e216=>{var _0x40ad02=_0x556ea4,_0x257070,_0x426d1c;return(_0x426d1c=(_0x257070=this[_0x40ad02(0x28d)])==null?void 0x0:_0x257070['onTransformSelections'])==null?void 0x0:_0x426d1c[_0x40ad02(0x281)](_0x257070,_0x38e216);},_0x5808a9[_0x556ea4(0x3ac)]=_0x341b10=>{var _0x40bdc1=_0x556ea4,_0x5d2bae,_0x3043bc;return(_0x3043bc=(_0x5d2bae=this[_0x40bdc1(0x28d)])==null?void 0x0:_0x5d2bae[_0x40bdc1(0x3ac)])==null?void 0x0:_0x3043bc[_0x40bdc1(0x281)](_0x5d2bae,_0x341b10);},_0x5808a9['onTransformRemoteChangesetByIMECache']=_0x158a28=>{var _0x3f55bd=_0x556ea4,_0x4baa70,_0xf9309c,_0xd9d737;if(!((_0x4baa70=this['_handlerCallback'])!=null&&_0x4baa70[_0x3f55bd(0x423)]))throw new Error(_0x3f55bd(0x437));return(_0xd9d737=(_0xf9309c=this[_0x3f55bd(0x28d)])==null?void 0x0:_0xf9309c[_0x3f55bd(0x423)])==null?void 0x0:_0xd9d737['call'](_0xf9309c,_0x158a28);},_0x5808a9[_0x556ea4(0x3aa)]=_0x33f581=>{var _0x2bf2c8=_0x556ea4,_0x1e386e,_0x4e2bbc,_0x595465;if(!((_0x1e386e=this[_0x2bf2c8(0x28d)])!=null&&_0x1e386e[_0x2bf2c8(0x3aa)]))throw new Error(_0x2bf2c8(0x24f));return(_0x595465=(_0x4e2bbc=this[_0x2bf2c8(0x28d)])==null?void 0x0:_0x4e2bbc[_0x2bf2c8(0x3aa)])==null?void 0x0:_0x595465[_0x2bf2c8(0x281)](_0x4e2bbc,_0x33f581);},_0x5808a9;}async[_0x5410a2(0x354)](){var _0x139533=_0x5410a2;const _0x9207f=await super['_init']();return this['disposeWithMe'](this[_0x139533(0x1f0)]['onCommandExecuted']((_0x249746,_0xdc3a11)=>{var _0x4fb687=_0x139533;if(_0x249746['type']!==_0x21f367[_0x4fb687(0x320)]||_0xdc3a11!=null&&_0xdc3a11['fromCollab']||_0xdc3a11!=null&&_0xdc3a11[_0x4fb687(0x1c7)]||_0x249746['id']===_0x43c442['id'])return;const _0x33dffe=_0x249746[_0x4fb687(0x409)];if((_0x33dffe==null?void 0x0:_0x33dffe[_0x4fb687(0x1d8)])!==this[_0x4fb687(0x19c)])return;const _0x2cd8e7=_0x249746,_0x364241=this[_0x4fb687(0x1a4)]['interceptor'][_0x4fb687(0x3be)](this[_0x4fb687(0x1a4)][_0x4fb687(0x1ab)]['getInterceptPoints']()[_0x4fb687(0x450)])([_0x2cd8e7],null)||[_0x2cd8e7];this[_0x4fb687(0x3e6)](_0x364241[0x0]);})),_0x9207f;}};St=wt([H(0x3,_0x2a67ea(_0xb9171d)),H(0x4,_0x2a67ea(_0x19a54c)),H(0x5,_0x2a67ea(_0x2cfa1d)),H(0x6,_0x2a67ea(_0x4291a6)),H(0x7,_0x2a67ea(ve)),H(0x8,_0x3229e5),H(0x9,_0x51e75f),H(0xa,_0x5a942e),H(0xb,_0x38fedb(ht)),H(0xc,_0x38fedb(J))],St);let Et=class extends st{constructor(_0x2446f2,_0x26b9c2,_0x1301cc,_0x512762,_0x37398d,_0x1a79f9,_0x47758d,_0x426e1b,_0x17ea2f,_0x1805c6,_0x439a6f,_0x54b3f7,_0x52a005,_0x110a6e){var _0x186966=_0x5410a2;super(_0x2446f2,_0x1301cc,_0x26b9c2,_0x512762,_0x37398d,_0x1a79f9,_0x47758d,_0x17ea2f,_0x1805c6,_0x439a6f,_0x54b3f7,_0x52a005,_0x110a6e),this['unitID']=_0x2446f2,this[_0x186966(0x1a8)]=_0x26b9c2,this[_0x186966(0x225)]=_0x426e1b;}['_createHandler'](){var _0x5effa0=_0x5410a2;const _0x1494e2=super[_0x5effa0(0x3b6)]();return _0x1494e2[_0x5effa0(0x402)]=_0x59b983=>this['_sheetTransformSelectionsService'][_0x5effa0(0x452)](_0x59b983),_0x1494e2;}async[_0x5410a2(0x354)](){var _0x2a440d=_0x5410a2;const _0x4520a2=await super[_0x2a440d(0x354)]();return this[_0x2a440d(0x292)](this[_0x2a440d(0x1f0)][_0x2a440d(0x462)]((_0x1d56d9,_0x292f4b)=>{var _0x3ae7f3=_0x2a440d;if(_0x1d56d9[_0x3ae7f3(0x1a8)]!==_0x21f367['MUTATION']||_0x292f4b!=null&&_0x292f4b['fromCollab']||_0x292f4b!=null&&_0x292f4b[_0x3ae7f3(0x1c7)])return;const _0x3f655e=_0x1d56d9[_0x3ae7f3(0x409)];if((_0x3f655e==null?void 0x0:_0x3f655e[_0x3ae7f3(0x1d8)])!==this[_0x3ae7f3(0x19c)])return;const _0x537db1=_0x1d56d9,_0x3b0df0=this['_compressMutationService']['interceptor'][_0x3ae7f3(0x3be)](this[_0x3ae7f3(0x1a4)][_0x3ae7f3(0x1ab)][_0x3ae7f3(0x1a1)]()[_0x3ae7f3(0x450)])([_0x537db1],null)||[_0x537db1];this[_0x3ae7f3(0x3e6)](_0x3b0df0[0x0]);})),_0x4520a2;}};Et=wt([H(0x3,_0x2a67ea(_0xb9171d)),H(0x4,_0x2a67ea(_0x19a54c)),H(0x5,_0x2a67ea(_0x2cfa1d)),H(0x6,_0x2a67ea(_0x4291a6)),H(0x7,_0x2a67ea(it)),H(0x8,_0x2a67ea(ve)),H(0x9,_0x3229e5),H(0xa,_0x51e75f),H(0xb,_0x5a942e),H(0xc,_0x38fedb(ht)),H(0xd,_0x38fedb(J))],Et);const js=_0x4f0779(_0x5410a2(0x434));function Fs(_0x1f8fbc){var _0x374ebc=_0x5410a2,_0x3f867e,_0x3b9b69,_0x4d4cdf,_0x762320,_0x1a78e0;const _0x49209f=_0x1f8fbc[_0x374ebc(0x246)],_0x5bb33d=JSON['parse'](_0x49209f);switch(_0x5bb33d[_0x374ebc(0x3b5)]){case F['HEARTBEAT']:case F[_0x374ebc(0x374)]:{const _0x26baf1=_0x5bb33d[_0x374ebc(0x400)];return{..._0x5bb33d,'data':_0x26baf1,'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};}case F[_0x374ebc(0x28f)]:{const _0x2df284=_0x5bb33d[_0x374ebc(0x213)];return{..._0x5bb33d,'data':_0x2df284,'cmd':_0x5bb33d['cmd']};}case F['RECV']:{const _0x4c04f9=_0x5bb33d[_0x374ebc(0x416)];switch(_0x4c04f9[_0x374ebc(0x3ee)]){case _0x58a832[_0x374ebc(0x2bb)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':(_0x3f867e=_0x4c04f9[_0x374ebc(0x1e0)])==null?void 0x0:_0x3f867e['cs']},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832['CHANGESET_ACK']:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':(_0x3b9b69=_0x4c04f9['csAckEvent'])==null?void 0x0:_0x3b9b69['cs']},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x2ca)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':(_0x4d4cdf=_0x4c04f9[_0x374ebc(0x31e)])==null?void 0x0:_0x4d4cdf['cs']},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x20c)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':(_0x762320=_0x4c04f9[_0x374ebc(0x329)])==null?void 0x0:_0x762320['cs']},'cmd':_0x5bb33d['cmd']};case _0x58a832['CHANGESET_SHOULD_RETRY']:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':(_0x1a78e0=_0x4c04f9[_0x374ebc(0x47c)])==null?void 0x0:_0x1a78e0['cs']},'cmd':_0x5bb33d['cmd']};case _0x58a832[_0x374ebc(0x37e)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x1cb)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x428)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x360)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x3c5)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x187)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x475)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x2e5)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x1f5)]:case _0x58a832['LIVESHARE_OPERATION']:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x25f)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x2a8)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x2e5)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x1a5)]:return{..._0x5bb33d,'data':_0x4c04f9,'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x239)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x293)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x205)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9['updatePermissionObjEvent']},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x415)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x3db)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x364)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9['uniscriptRunEvent']},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};default:return _0x5bb33d;}}default:return _0x5bb33d;}}function Vs(_0x5ecad7){var _0x411062=_0x5410a2;switch(_0x5ecad7[_0x411062(0x3b5)]){case F[_0x411062(0x284)]:case F[_0x411062(0x374)]:return JSON[_0x411062(0x45b)]({'cmd':_0x5ecad7['cmd'],'routeKey':_0x5ecad7['routeKey']});case F[_0x411062(0x2c1)]:{let _0x332e9d;switch(_0x5ecad7[_0x411062(0x246)][_0x411062(0x3ee)]){case _0x58a832[_0x411062(0x37e)]:{_0x332e9d={'eventID':_0x58a832['UPDATE_CURSOR'],'updateCursorEvent':_0x5ecad7[_0x411062(0x246)][_0x411062(0x246)]};break;}case _0x58a832[_0x411062(0x3c5)]:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x3c5)],'leaveEvent':_0x5ecad7[_0x411062(0x246)][_0x411062(0x246)]};break;}case _0x58a832[_0x411062(0x428)]:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x428)],'joinEvent':_0x5ecad7[_0x411062(0x246)][_0x411062(0x246)]};break;}case _0x58a832['LIVESHARE_NEW_HOST']:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x475)],'liveShareNewHost':_0x5ecad7[_0x411062(0x246)][_0x411062(0x246)]};break;}case _0x58a832[_0x411062(0x40f)]:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x40f)],'liveShareOperation':_0x5ecad7[_0x411062(0x246)][_0x411062(0x246)]};break;}case _0x58a832[_0x411062(0x2a8)]:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x2a8)],'liveShareTerminate':_0x5ecad7['data'][_0x411062(0x246)]};break;}case _0x58a832[_0x411062(0x3ed)]:{_0x332e9d={'eventID':_0x58a832['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5ecad7[_0x411062(0x246)]['data']};break;}case _0x58a832['LIVESHARE_FETCH_OPERATIONS']:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x1f5)]};break;}default:_0x332e9d={'eventID':_0x5ecad7[_0x411062(0x246)][_0x411062(0x3ee)]};}return JSON[_0x411062(0x45b)]({'cmd':_0x5ecad7[_0x411062(0x3b5)],'routeKey':_0x5ecad7[_0x411062(0x2ae)],'collaMsg':_0x332e9d});}case F[_0x411062(0x28f)]:return JSON[_0x411062(0x45b)]({'cmd':_0x5ecad7[_0x411062(0x3b5)],'routeKey':_0x5ecad7[_0x411062(0x2ae)],'joinReq':_0x5ecad7[_0x411062(0x246)]});case F['LEAVE']:return JSON[_0x411062(0x45b)]({'cmd':_0x5ecad7[_0x411062(0x3b5)],'routeKey':_0x5ecad7['routeKey'],'leaveReq':_0x5ecad7['data']});default:throw new Error(_0x411062(0x21d));}}var Ws=Object[_0x5410a2(0x2a3)],Gs=(_0x572f14,_0x5ab348,_0x59ec19,_0x313ca7)=>{for(var _0x3c2fb5=_0x313ca7>0x1?void 0x0:_0x313ca7?Ws(_0x5ab348,_0x59ec19):_0x5ab348,_0x564e85=_0x572f14['length']-0x1,_0x4db63a;_0x564e85>=0x0;_0x564e85--)(_0x4db63a=_0x572f14[_0x564e85])&&(_0x3c2fb5=_0x4db63a(_0x3c2fb5)||_0x3c2fb5);return _0x3c2fb5;},De=(_0x4236be,_0x2a0423)=>(_0x166bd9,_0x34edda)=>_0x2a0423(_0x166bd9,_0x34edda,_0x4236be);const Ci=_0x4f0779(_0x5410a2(0x1aa));function Ys(_0x261c5e,_0xe3a632,_0x22113d){var _0x1888d6=_0x5410a2;return _0x261c5e+'/'+_0xe3a632+_0x1888d6(0x33e)+_0x22113d+_0x1888d6(0x23c);}let Gt=class extends _0xba8b36{constructor(_0x1be2af,_0x5173ea,_0x45f398,_0xdc579,_0x3c48d5){var _0x4c6c99=_0x5410a2;super(),this['_injector']=_0x1be2af,this[_0x4c6c99(0x3a7)]=_0x5173ea,this[_0x4c6c99(0x39f)]=_0x45f398,this['_logService']=_0xdc579,this[_0x4c6c99(0x327)]=_0x3c48d5;}[_0x5410a2(0x283)](_0x4cf838){var _0xcc6f00=_0x5410a2;const _0x1b3875=this[_0xcc6f00(0x3c3)][_0xcc6f00(0x19f)](_0x3e8cce);if(!_0x1b3875)throw new Error(_0xcc6f00(0x458));const _0x5915e3=_0x1b3875[_0xcc6f00(0x196)](_0x4cf838);if(!_0x5915e3)throw new Error(_0xcc6f00(0x3e1));const _0x4d2e02=new _0x1fcbec(),_0x1920bc=new _0x3a3a31();_0x4d2e02[_0xcc6f00(0x349)](_0x5915e3[_0xcc6f00(0x444)][_0xcc6f00(0x3a8)](_0x512f7c=>_0x1920bc[_0xcc6f00(0x451)](_0x512f7c))),_0x4d2e02[_0xcc6f00(0x349)](_0x4c369e(()=>_0x1920bc[_0xcc6f00(0x1ae)]()));const _0x3fd237=new _0x3a3a31();_0x4d2e02['add'](_0x5915e3[_0xcc6f00(0x3d5)][_0xcc6f00(0x3a8)](_0x13db0d=>_0x3fd237[_0xcc6f00(0x451)](_0x13db0d))),_0x4d2e02[_0xcc6f00(0x349)](_0x4c369e(()=>_0x3fd237['complete']()));const _0x58ccad=new _0x3a3a31();_0x4d2e02[_0xcc6f00(0x349)](_0x5915e3['message$']['subscribe'](_0x41181d=>{var _0x30e7a2=_0xcc6f00;const _0xc05d5c=Fs(_0x41181d);_0x58ccad[_0x30e7a2(0x451)](_0xc05d5c);})),_0x4d2e02[_0xcc6f00(0x349)](_0x4c369e(()=>_0x58ccad['complete']()));let _0x458747;const _0x2bc388=()=>{var _0x35e36f=_0xcc6f00;_0x3fd237[_0x35e36f(0x451)](new Event('connection\x20error')),_0x1920bc[_0x35e36f(0x451)](new Event(_0x35e36f(0x2b3))),_0x458747['close']();};return _0x458747={'memberID':'','close$':_0x1920bc[_0xcc6f00(0x449)](),'error$':_0x3fd237[_0xcc6f00(0x449)](),'open$':_0x5915e3[_0xcc6f00(0x2a0)],'message$':_0x58ccad[_0xcc6f00(0x449)](),'send':_0x3ca57e=>{var _0x5cf642=_0xcc6f00;if(_0x3ca57e[_0x5cf642(0x3b5)]===F[_0x5cf642(0x2c1)]){if(_0x3ca57e[_0x5cf642(0x246)][_0x5cf642(0x3ee)]===_0x58a832[_0x5cf642(0x260)]){this[_0x5cf642(0x2f7)](_0x458747,_0x3ca57e[_0x5cf642(0x246)])['catch'](_0x1ed34b=>{var _0xf6c397=_0x5cf642;this['_logService'][_0xf6c397(0x1ff)](_0x1ed34b),_0x2bc388();});return;}if(_0x3ca57e[_0x5cf642(0x246)]['eventID']===_0x58a832[_0x5cf642(0x2c0)]){const _0x468e40=_0x3ca57e['data'];this[_0x5cf642(0x3d4)](_0x468e40)[_0x5cf642(0x32c)](_0x360cc2=>{var _0x5be4e2=_0x5cf642;_0x58ccad['next']({'cmd':F[_0x5be4e2(0x1f9)],'code':pe['OK'],'routeKey':_0x468e40[_0x5be4e2(0x246)][_0x5be4e2(0x19c)],'routeType':'','data':{'eventID':_0x58a832[_0x5be4e2(0x288)],'data':{'changesets':_0x360cc2}}});})['catch'](_0x588374=>{var _0x5b204c=_0x5cf642;this[_0x5b204c(0x352)][_0x5b204c(0x1ff)](_0x588374),_0x2bc388();});return;}}_0x5915e3['send'](Vs(_0x3ca57e));},'close':()=>{var _0x5245ed=_0xcc6f00;_0x5915e3['close'](),_0x4d2e02[_0x5245ed(0x395)]();}},_0x458747;}async[_0x5410a2(0x2f7)](_0x3a1f38,_0x2411da){var _0x378bf2=_0x5410a2,_0x5ae6cf;const {unitType:_0x4b4d54,unitID:_0x10a2ae,changeset:_0x240002}=_0x2411da[_0x378bf2(0x246)],_0x51d92e={'unitID':_0x10a2ae,'memberID':_0x3a1f38['memberID'],'type':_0x4b4d54,'changeset':_0x3be09d(_0x240002)},_0x5d4d5a=this['_configService'][_0x378bf2(0x467)](K),_0x5a13d2=Ys((_0x5ae6cf=_0x5d4d5a==null?void 0x0:_0x5d4d5a[_0x378bf2(0x2ce)])!=null?_0x5ae6cf:Cs,_0x4b4d54,_0x10a2ae);try{await this[_0x378bf2(0x3a7)]['post'](_0x5a13d2,{'body':_0x51d92e});}catch(_0x126dcc){throw this[_0x378bf2(0x352)][_0x378bf2(0x1ff)](_0x378bf2(0x3cf),_0x378bf2(0x3f2)),_0x126dcc;}}async[_0x5410a2(0x3d4)](_0x4fa024){var _0x373d90=_0x5410a2;const {unitID:_0x11c2ff,from:_0x276964,to:_0xa64bce,unitType:_0x157947}=_0x4fa024[_0x373d90(0x246)];return(await this[_0x373d90(0x327)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x11c2ff,'type':_0x157947,'from':_0x276964,'to':_0xa64bce}))[_0x373d90(0x436)];}};Gt=Gs([De(0x0,_0x2a67ea(_0xb9171d)),De(0x1,_0x2a67ea(_0x4adef9)),De(0x2,_0x54dc50),De(0x3,_0x3229e5),De(0x4,_0x781d63)],Gt);var Ks=Object[_0x5410a2(0x2a3)],qs=(_0x4f1cf8,_0x8a735a,_0x3b8b6a,_0x393813)=>{for(var _0x3a23a1=_0x393813>0x1?void 0x0:_0x393813?Ks(_0x8a735a,_0x3b8b6a):_0x8a735a,_0x1ae7f6=_0x4f1cf8['length']-0x1,_0x422c53;_0x1ae7f6>=0x0;_0x1ae7f6--)(_0x422c53=_0x4f1cf8[_0x1ae7f6])&&(_0x3a23a1=_0x422c53(_0x3a23a1)||_0x3a23a1);return _0x3a23a1;},Re=(_0x3d2042,_0xd12e33)=>(_0x453fcb,_0x5954f5)=>_0xd12e33(_0x453fcb,_0x5954f5,_0x3d2042);let Pe=class extends _0xba8b36{constructor(_0x1153e6,_0x48d277,_0x2b44bc,_0x454dd0,_0x210d59,_0x5938d3){var _0x211988=_0x5410a2;super(),N(this,_0x211988(0x454),new _0xc40a72(void 0x0)),N(this,_0x211988(0x432),this[_0x211988(0x454)][_0x211988(0x449)]()),N(this,_0x211988(0x217),null),N(this,_0x211988(0x3ce),new Map()),N(this,'_status$',new _0xc40a72(ge[_0x211988(0x2e9)])),N(this,_0x211988(0x2ea),this[_0x211988(0x41c)][_0x211988(0x449)]()),N(this,_0x211988(0x42f),!0x1),N(this,_0x211988(0x291)),N(this,'_retryCount',0x0),N(this,_0x211988(0x270)),N(this,_0x211988(0x3da)),(this['_injector']=_0x1153e6,this[_0x211988(0x352)]=_0x48d277,this[_0x211988(0x39f)]=_0x2b44bc,this[_0x211988(0x2cf)]=_0x454dd0,this['_collaborationUIEventService']=_0x210d59,this[_0x211988(0x1e4)]=_0x5938d3,this[_0x211988(0x39a)]());}get[_0x5410a2(0x47a)](){var _0x3f3816=_0x5410a2;return this['_socket$'][_0x3f3816(0x39e)]();}[_0x5410a2(0x39a)](){var _0x456f86=_0x5410a2;this[_0x456f86(0x1e4)]&&this['disposeWithMe'](this[_0x456f86(0x1e4)][_0x456f86(0x308)]['subscribe'](_0x3b0ebe=>{var _0x1e97c3=_0x456f86;_0x3b0ebe&&!this[_0x1e97c3(0x47a)]&&this['reconnect'](),_0x3b0ebe||this['_onOffline']();}));}[_0x5410a2(0x395)](){var _0x55b8c7=_0x5410a2;super['dispose'](),this[_0x55b8c7(0x3e8)](),this[_0x55b8c7(0x30a)](),this['_clearHeartbeatTimer'](),this[_0x55b8c7(0x3ce)][_0x55b8c7(0x20f)](_0x3f9e28=>_0x3f9e28[_0x55b8c7(0x395)]()),this['_sessions']['clear'](),this[_0x55b8c7(0x41c)][_0x55b8c7(0x1ae)]();}async['requireSession'](_0x5ecb71){var _0x346395=_0x5410a2;if(this[_0x346395(0x3ce)][_0x346395(0x290)](_0x5ecb71))return this[_0x346395(0x3ce)][_0x346395(0x19f)](_0x5ecb71);this[_0x346395(0x20a)]();const _0x265c1a=this[_0x346395(0x3c3)][_0x346395(0x344)](gt,_0x5ecb71,this['_socket$'][_0x346395(0x449)]());return this[_0x346395(0x3ce)][_0x346395(0x1b2)](_0x5ecb71,_0x265c1a),_0x265c1a;}[_0x5410a2(0x294)](_0x3a52a0){var _0x51aaee=_0x5410a2,_0x176efd;const _0x1658b4=this[_0x51aaee(0x3ce)][_0x51aaee(0x19f)](_0x3a52a0);_0x1658b4&&(this[_0x51aaee(0x3ce)][_0x51aaee(0x186)](_0x3a52a0),_0x1658b4[_0x51aaee(0x1ed)]()),this['_sessions'][_0x51aaee(0x43b)]||(_0x176efd=this['_socket'])==null||_0x176efd[_0x51aaee(0x1ed)]();}[_0x5410a2(0x273)](){var _0x120aff=_0x5410a2;this[_0x120aff(0x357)]=0x0,this[_0x120aff(0x3e8)](),this[_0x120aff(0x398)]();}['_clearRetryConnectingTimer'](){var _0x2ad5b4=_0x5410a2;this[_0x2ad5b4(0x291)]!=null&&(clearTimeout(this[_0x2ad5b4(0x291)]),this[_0x2ad5b4(0x291)]=null);}async['_createSocket'](){var _0x41cdb7=_0x5410a2,_0x1dac72;const _0x5f10d6=this[_0x41cdb7(0x39f)][_0x41cdb7(0x467)](K),_0xf85272=(_0x1dac72=_0x5f10d6==null?void 0x0:_0x5f10d6[_0x41cdb7(0x182)])!=null?_0x1dac72:ms,_0x832ae3=await this[_0x41cdb7(0x2cf)][_0x41cdb7(0x196)](_0xf85272);return this[_0x41cdb7(0x217)]=_0x832ae3,_0x832ae3;}async[_0x5410a2(0x20a)](){var _0xe6c34=_0x5410a2,_0x3bb87e,_0x262b8c;try{const _0xab88d8=(_0x262b8c=(_0x3bb87e=this[_0xe6c34(0x47a)])!=null?_0x3bb87e:this[_0xe6c34(0x217)])!=null?_0x262b8c:await this[_0xe6c34(0x301)]();if(_0xab88d8){const _0x3e5f33=_0xab88d8[_0xe6c34(0x324)];_0xab88d8[_0xe6c34(0x324)]=_0xd33e5f=>(this[_0xe6c34(0x32d)](),_0x3e5f33[_0xe6c34(0x392)](_0xab88d8,[_0xd33e5f])),_0xab88d8['message$'][_0xe6c34(0x3a8)](_0x452357=>this[_0xe6c34(0x1cc)](_0xab88d8,_0x452357)),_0xab88d8[_0xe6c34(0x3d5)][_0xe6c34(0x1bf)](_0x4bd71c(0x1))[_0xe6c34(0x3a8)](_0x287d5b=>this[_0xe6c34(0x352)][_0xe6c34(0x1ff)](_0xe6c34(0x1df),_0x287d5b)),_0xab88d8[_0xe6c34(0x2a0)][_0xe6c34(0x1bf)](_0x4bd71c(0x1))['subscribe'](()=>{var _0x285f02=_0xe6c34;this[_0x285f02(0x1ee)](_0xab88d8);}),_0xab88d8[_0xe6c34(0x444)][_0xe6c34(0x1bf)](_0x4bd71c(0x1))['subscribe'](_0x2b3414=>{var _0x4f6fe3=_0xe6c34;this['_logService']['debug'](_0x4f6fe3(0x29d),_0x4f6fe3(0x378),_0x2b3414),this[_0x4f6fe3(0x2d7)]();});}}catch(_0x37b4e8){this['_logService'][_0xe6c34(0x1ff)](_0x37b4e8),this[_0xe6c34(0x2d7)]();}}['_onConnectionOpen'](_0x206ec2){var _0x194113=_0x5410a2;this[_0x194113(0x352)]['debug'](_0x194113(0x29d),_0x194113(0x3a3)),_0x206ec2[_0x194113(0x324)]({'cmd':F['HELLO']}),this[_0x194113(0x32d)]();}['_onOffline'](){var _0xf10127=_0x5410a2;this[_0xf10127(0x42f)]=!0x1,this['_candidateSocket']=null,this[_0xf10127(0x41c)][_0xf10127(0x451)](ge[_0xf10127(0x2cb)]),this['_socket$'][_0xf10127(0x451)](null),this[_0xf10127(0x30a)](),this[_0xf10127(0x1c2)]();}[_0x5410a2(0x2d7)](){var _0x242917=_0x5410a2,_0x21feff;this[_0x242917(0x300)](),this['_retryCount']<((_0x21feff=this['_configService'][_0x242917(0x467)](Is))!=null?_0x21feff:Ts)?(this[_0x242917(0x21b)]['emitEvent']({'id':ne[_0x242917(0x311)]}),this[_0x242917(0x398)]()):this['_collaborationUIEventService'][_0x242917(0x2b4)]({'id':ne[_0x242917(0x3d2)]});}[_0x5410a2(0x398)](){var _0x27b454=_0x5410a2,_0x5664b8;const _0x3a3496=this[_0x27b454(0x357)],_0x2446c4=this[_0x27b454(0x39f)]['getConfig'](K),_0x5771f4=_0x3a3496===0x0?0x0:((_0x5664b8=_0x2446c4==null?void 0x0:_0x2446c4[_0x27b454(0x2da)])!=null?_0x5664b8:Es)*0x2**_0x3a3496;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2e1166=_0x27b454;clearTimeout(this[_0x2e1166(0x291)]),this['_retryConnectingTimer']=null,this[_0x2e1166(0x20a)]();},_0x5771f4),this[_0x27b454(0x357)]+=0x1;}[_0x5410a2(0x1cc)](_0x1c3d87,_0x54fd8c){var _0x50aac1=_0x5410a2;const {cmd:_0x469d4f}=_0x54fd8c;_0x469d4f===F[_0x50aac1(0x374)]&&!this[_0x50aac1(0x42f)]&&(_0x1c3d87[_0x50aac1(0x3e7)]=_0x54fd8c[_0x50aac1(0x246)][_0x50aac1(0x3e7)],this[_0x50aac1(0x454)][_0x50aac1(0x451)](_0x1c3d87),this[_0x50aac1(0x41c)]['next'](ge[_0x50aac1(0x34f)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x469d4f===F[_0x50aac1(0x284)]&&this['_clearTimeoutTimer'](),this[_0x50aac1(0x32d)]();}['_rescheduleHeartbeat'](){var _0x346ed2=_0x5410a2,_0x19827c;this[_0x346ed2(0x1c2)](),this[_0x346ed2(0x270)]=setTimeout(()=>this[_0x346ed2(0x192)](),(_0x19827c=this[_0x346ed2(0x39f)]['getConfig'](gs))!=null?_0x19827c:Ss);}[_0x5410a2(0x192)](){var _0x1229d2=_0x5410a2;this['_socket'][_0x1229d2(0x324)]({'cmd':F[_0x1229d2(0x284)]}),this[_0x1229d2(0x387)]();}[_0x5410a2(0x387)](){var _0x2c7ce3=_0x5410a2,_0x30e672;this[_0x2c7ce3(0x3da)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x30e672=this[_0x2c7ce3(0x39f)][_0x2c7ce3(0x467)](di))!=null?_0x30e672:fi);}[_0x5410a2(0x1c2)](){var _0x9c8e9a=_0x5410a2;this[_0x9c8e9a(0x270)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x9c8e9a(0x270)]=null);}[_0x5410a2(0x30a)](){var _0x4b5a39=_0x5410a2;this[_0x4b5a39(0x3da)]!=null&&(clearTimeout(this[_0x4b5a39(0x3da)]),this[_0x4b5a39(0x3da)]=null);}};Pe=qs([Re(0x0,_0x2a67ea(_0xb9171d)),Re(0x1,_0x3229e5),Re(0x2,_0x54dc50),Re(0x3,Ci),Re(0x4,_0x2a67ea(ve)),Re(0x5,_0x38fedb(js))],Pe);var zs=Object[_0x5410a2(0x2a3)],Js=(_0x2b7474,_0x40fb7d,_0x5c0f60,_0x8f890f)=>{var _0x43228e=_0x5410a2;for(var _0x3392bd=_0x8f890f>0x1?void 0x0:_0x8f890f?zs(_0x40fb7d,_0x5c0f60):_0x40fb7d,_0x394361=_0x2b7474[_0x43228e(0x323)]-0x1,_0x541ab;_0x394361>=0x0;_0x394361--)(_0x541ab=_0x2b7474[_0x394361])&&(_0x3392bd=_0x541ab(_0x3392bd)||_0x3392bd);return _0x3392bd;},Be=(_0x594260,_0xca868f)=>(_0x56778d,_0x2f9d9d)=>_0xca868f(_0x56778d,_0x2f9d9d,_0x594260);let nt=class extends _0x11e454{constructor(_0x3a32e3,_0x3889e1,_0x1300f6,_0x160425){var _0x434fca=_0x5410a2,_0x336872;super(),N(this,_0x434fca(0x21a),new Map()),N(this,_0x434fca(0x321),new _0x3a3a31()),N(this,_0x434fca(0x2fb),this[_0x434fca(0x321)][_0x434fca(0x449)]()),(this['_injector']=_0x3a32e3,this['_collabSessionService']=_0x3889e1,this[_0x434fca(0x39f)]=_0x1300f6,this[_0x434fca(0x34a)]=_0x160425,((_0x336872=this[_0x434fca(0x39f)]['getConfig'](K))==null?void 0x0:_0x336872[_0x434fca(0x21c)])!==!0x1&&this['_init']());}[_0x5410a2(0x395)](){var _0x2bcff6=_0x5410a2;super[_0x2bcff6(0x395)](),this['_entities']['forEach'](_0x97eeb2=>_0x97eeb2[_0x2bcff6(0x395)]()),this[_0x2bcff6(0x21a)]['clear']();}['getCollabEntity'](_0x26669e){var _0x22a8f0=_0x5410a2,_0x1278f6;return(_0x1278f6=this['_entities'][_0x22a8f0(0x19f)](_0x26669e))!=null?_0x1278f6:null;}[_0x5410a2(0x431)](_0x22ee77){var _0x30b2d3=_0x5410a2;const _0x1b4bb1=this[_0x30b2d3(0x1b7)](_0x22ee77);return _0x1b4bb1?_0x4ba3a3(_0x1b4bb1):this[_0x30b2d3(0x321)][_0x30b2d3(0x1bf)](_0x1eed09(_0x3c30f6=>_0x3c30f6[_0x30b2d3(0x19c)]===_0x22ee77));}[_0x5410a2(0x2af)](_0x4dcf39){var _0x401c28=_0x5410a2;return _0x36bd98(this['getCollabEntity$'](_0x4dcf39)[_0x401c28(0x1bf)](_0x271875(()=>{})));}['_init'](){var _0x4f9454=_0x5410a2;this[_0x4f9454(0x34a)]['getTypeOfUnitAdded$'](_0x6591bc[_0x4f9454(0x386)])['pipe'](_0x3f1efb(this[_0x4f9454(0x241)]),_0x199731(0x10))[_0x4f9454(0x3a8)](async _0x428503=>{var _0x343351=_0x4f9454;const _0x590748=_0x428503['getUnitId'](),_0x4e46b6=await this[_0x343351(0x3ca)](_0x590748,Z[_0x343351(0x386)]);this[_0x343351(0x21a)][_0x343351(0x1b2)](_0x590748,_0x4e46b6);}),this[_0x4f9454(0x34a)][_0x4f9454(0x17c)](_0x6591bc['UNIVER_DOC'])[_0x4f9454(0x1bf)](_0x3f1efb(this[_0x4f9454(0x241)]),_0x199731(0x10))[_0x4f9454(0x1bf)](_0x1eed09(_0x25c03f=>!_0x25c03f[_0x4f9454(0x313)]()['startsWith']('__')))['subscribe'](async _0x3fe6f9=>{var _0x32f46f=_0x4f9454;const _0x248fab=_0x3fe6f9['getUnitId'](),_0x1b5c2b=await this['_startCollaboration'](_0x248fab,Z[_0x32f46f(0x3c7)]);this[_0x32f46f(0x21a)][_0x32f46f(0x1b2)](_0x248fab,_0x1b5c2b);}),_0x350ea0(this[_0x4f9454(0x34a)][_0x4f9454(0x2c2)](_0x6591bc['UNIVER_SHEET']),this['_univerInstanceService'][_0x4f9454(0x2c2)](_0x6591bc[_0x4f9454(0x3c7)]))[_0x4f9454(0x1bf)](_0x3f1efb(this[_0x4f9454(0x241)]))[_0x4f9454(0x3a8)](_0x2e95ae=>{var _0x5e37ee=_0x4f9454;const _0x1a0d94=_0x2e95ae[_0x5e37ee(0x313)](),_0x2bfefb=this[_0x5e37ee(0x21a)][_0x5e37ee(0x19f)](_0x1a0d94);_0x2bfefb&&(_0x2bfefb['dispose'](),this['_entities'][_0x5e37ee(0x186)](_0x1a0d94));});}async[_0x5410a2(0x3ca)](_0x5e85eb,_0x19baac){var _0x18a737=_0x5410a2;const _0x5001cc=await this[_0x18a737(0x3c0)][_0x18a737(0x433)](_0x5e85eb),_0x2eb774=this[_0x18a737(0x3c3)][_0x18a737(0x344)](this[_0x18a737(0x242)](_0x19baac),_0x5e85eb,_0x19baac,_0x5001cc);return await _0x2eb774[_0x18a737(0x47e)](),this[_0x18a737(0x321)][_0x18a737(0x451)](_0x2eb774),_0x2eb774;}['_getCtorByUniverType'](_0x23929b){var _0x208634=_0x5410a2;switch(_0x23929b){case Z['UNIVER_DOC']:return St;case Z[_0x208634(0x386)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x23929b);}}};nt=Js([Be(0x0,_0x2a67ea(_0xb9171d)),Be(0x1,_0x2a67ea(Pe)),Be(0x2,_0x54dc50),Be(0x3,_0x1f2fda)],nt);var Xs=Object[_0x5410a2(0x2a3)],Zs=(_0x2187ff,_0x4f4718,_0x1cea0f,_0x829180)=>{for(var _0x5cd721=_0x829180>0x1?void 0x0:_0x829180?Xs(_0x4f4718,_0x1cea0f):_0x4f4718,_0x10f4d=_0x2187ff['length']-0x1,_0x4df11a;_0x10f4d>=0x0;_0x10f4d--)(_0x4df11a=_0x2187ff[_0x10f4d])&&(_0x5cd721=_0x4df11a(_0x5cd721)||_0x5cd721);return _0x5cd721;},Yt=(_0x283e05,_0x375fa3)=>(_0x26cd9c,_0x30fe42)=>_0x375fa3(_0x26cd9c,_0x30fe42,_0x283e05);const Qs=_0x5410a2(0x314),en=_0x5410a2(0x2bd);let It=class extends _0xba8b36{constructor(_0x368bd7,_0x58b85e){var _0x5d7e96=_0x5410a2;super(),this['_univerInstanceService']=_0x368bd7,this[_0x5d7e96(0x39f)]=_0x58b85e,this[_0x5d7e96(0x354)]();}[_0x5410a2(0x354)](){var _0x313499=_0x5410a2;this['disposeWithMe'](this[_0x313499(0x34a)][_0x313499(0x393)][_0x313499(0x3a8)](()=>{var _0x31af38=_0x313499,_0x5d47f9;const _0x172208=this[_0x31af38(0x34a)][_0x31af38(0x1b5)]();let _0x53ac0b=(_0x5d47f9=this['_configService']['getConfig'](Qs))!=null?_0x5d47f9:en;_0x172208 instanceof _0x62eeb6&&(_0x53ac0b=_0x172208[_0x31af38(0x40b)]),document[_0x31af38(0x28a)]=_0x53ac0b;}));}};It=Zs([Yt(0x0,_0x1f2fda),Yt(0x1,_0x54dc50)],It);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x317089,_0x5aa56d,_0xef019d,_0x171cf7)=>{var _0x381739=_0x5410a2;for(var _0x4936a7=_0x171cf7>0x1?void 0x0:_0x171cf7?tn(_0x5aa56d,_0xef019d):_0x5aa56d,_0x5dee60=_0x317089[_0x381739(0x323)]-0x1,_0x2cd059;_0x5dee60>=0x0;_0x5dee60--)(_0x2cd059=_0x317089[_0x5dee60])&&(_0x4936a7=_0x2cd059(_0x4936a7)||_0x4936a7);return _0x4936a7;},dt=(_0x1ccb29,_0x42b643)=>(_0x4c3958,_0x51d365)=>_0x42b643(_0x4c3958,_0x51d365,_0x1ccb29);let rt=class{constructor(_0x1227fd,_0x4590b2,_0x338f93){var _0x4ea76b=_0x5410a2;this['_configService']=_0x1227fd,this[_0x4ea76b(0x3a7)]=_0x4590b2,this['localeService']=_0x338f93,this[_0x4ea76b(0x47e)]();}[_0x5410a2(0x47e)](){this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x49e8a8,_0x2c45ce)=>_0x2c45ce(_0x49e8a8)['pipe'](_0x4d0d28(async _0x1928d3=>{var _0x4f31b0=_0x48ad;const _0xc1c9df=_0x1928d3;if(_0xc1c9df[_0x4f31b0(0x3fc)]===0x191){if(typeof window>'u')throw new Error(_0x4f31b0(0x256));if(window[_0x4f31b0(0x22c)](this[_0x4f31b0(0x25c)]['t']('auth.needGotoLoginAlert'))){const _0x593ae2=window[_0x4f31b0(0x20b)](window['location']['href']);window[_0x4f31b0(0x2b1)]['href']=this['_getLoginPath']()+_0x4f31b0(0x1c6)+_0x593ae2;}}return _0xc1c9df;}))});}[_0x5410a2(0x448)](){var _0x506080=_0x5410a2,_0x21b4d8;const _0x1c2af6=this[_0x506080(0x39f)][_0x506080(0x467)](K);return(_0x21b4d8=_0x1c2af6==null?void 0x0:_0x1c2af6[_0x506080(0x406)])!=null?_0x21b4d8:Rs;}};rt=sn([dt(0x0,_0x54dc50),dt(0x1,_0x2a67ea(_0x4adef9)),dt(0x2,_0x2a67ea(_0x2cfa1d))],rt);var nn=Object[_0x5410a2(0x2a3)],rn=(_0x56ee37,_0x155332,_0x51c5ba,_0x3d5147)=>{var _0x356064=_0x5410a2;for(var _0x22b727=_0x3d5147>0x1?void 0x0:_0x3d5147?nn(_0x155332,_0x51c5ba):_0x155332,_0x376f99=_0x56ee37[_0x356064(0x323)]-0x1,_0x3b00d9;_0x376f99>=0x0;_0x376f99--)(_0x3b00d9=_0x56ee37[_0x376f99])&&(_0x22b727=_0x3b00d9(_0x22b727)||_0x22b727);return _0x22b727;},Kt=(_0x5992f7,_0x1c0583)=>(_0x50dd42,_0x54936e)=>_0x1c0583(_0x50dd42,_0x54936e,_0x5992f7);const an='/universer-api/authz';let Tt=class extends _0xba8b36{constructor(_0x3fbdfa,_0x1a2eed){var _0x1e16ac=_0x5410a2;super(),this[_0x1e16ac(0x279)]=_0x3fbdfa,this[_0x1e16ac(0x39f)]=_0x1a2eed,this['_initMergeInterceptor']();}[_0x5410a2(0x3bb)](){var _0x5b5241=_0x5410a2;const _0x25b7f9=this;this['disposeWithMe'](this[_0x5b5241(0x279)][_0x5b5241(0x470)]({'priority':0x3e7,'interceptor':_0x5b8ea8({'isMatch'(_0x4cdfce){var _0x5ab6fc=_0x5b5241,_0x4a7f36;if(_0x4cdfce[_0x5ab6fc(0x247)]===_0x5ab6fc(0x3d6)&&((_0x4a7f36=_0x4cdfce[_0x5ab6fc(0x419)])!=null&&_0x4a7f36[_0x5ab6fc(0x26a)])){const {objectID:_0x47936c,objectType:_0x5d1fb2}=_0x4cdfce[_0x5ab6fc(0x419)][_0x5ab6fc(0x26a)]||{};if(!_0x47936c||_0x5d1fb2===void 0x0)return!0x1;const _0x2eea99=_0x25b7f9[_0x5ab6fc(0x33c)]()+'/'+_0x5d1fb2+_0x5ab6fc(0x29f)+_0x47936c+'/allowed';if(_0x4cdfce[_0x5ab6fc(0x391)]===_0x2eea99)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1c7766){var _0x58527f=_0x5b5241,_0x1cb0f5;return(_0x1cb0f5=_0x1c7766[_0x58527f(0x419)])==null?void 0x0:_0x1cb0f5[_0x58527f(0x26a)];},'mergeParamsToRequest'(_0x340cc7,_0x3acf81){var _0x2ef8b9=_0x5b5241;const _0x2c1a01=_0x25b7f9[_0x2ef8b9(0x33c)]()+_0x2ef8b9(0x407),_0x9a8b44=_0x340cc7[_0x2ef8b9(0x181)]((_0x6bc72f,_0x995958)=>{var _0x2e46bd=_0x2ef8b9;const {unitID:_0x36699a,objectID:_0x309262,objectType:_0x452ecc,actions:_0x586ebc}=_0x995958;return _0x6bc72f[_0x36699a]||(_0x6bc72f[_0x36699a]={}),_0x6bc72f[_0x36699a][_0x309262]||(_0x6bc72f[_0x36699a][_0x309262]={'objectID':_0x309262,'objectType':_0x452ecc,'actions':[]}),_0x6bc72f[_0x36699a][_0x309262][_0x2e46bd(0x340)][_0x2e46bd(0x353)](..._0x586ebc),_0x6bc72f;},{}),_0x5e1393=[];for(const _0x14e7ee in _0x9a8b44)for(const _0x2598ca in _0x9a8b44[_0x14e7ee]){const {actions:_0x5b92a3,objectType:_0x3031b0}=_0x9a8b44[_0x14e7ee][_0x2598ca],_0x218d2b=[...new Set(_0x5b92a3)];_0x5e1393[_0x2ef8b9(0x353)]({'unitID':_0x14e7ee,'objectID':_0x2598ca,'objectType':_0x3031b0,'actions':_0x218d2b});}return new _0x15092a(_0x2ef8b9(0x3d6),_0x2c1a01,{'headers':_0x3acf81[_0x2ef8b9(0x210)],'withCredentials':_0x3acf81['withCredentials'],'responseType':_0x3acf81[_0x2ef8b9(0x185)],'body':{'requests':_0x5e1393}});}},{'distributeResult'(_0x711b07,_0x5c1a60){var _0xc35a2=_0x5b5241;const {objectActions:_0x29b23d}=_0x711b07;return _0x5c1a60[_0xc35a2(0x394)](_0x325275=>{var _0x168de6=_0xc35a2;const {unitID:_0x321c61,objectID:_0x17738c,actions:_0x51acbc}=_0x325275,_0x5e443d=_0x29b23d['find'](_0x3302a9=>_0x3302a9[_0x168de6(0x19c)]===_0x321c61&&_0x3302a9[_0x168de6(0x2c3)]===_0x17738c),_0x3f8850=_0x51acbc[_0x168de6(0x394)](_0x4488e4=>_0x5e443d==null?void 0x0:_0x5e443d[_0x168de6(0x340)][_0x168de6(0x41d)](_0x34f47e=>_0x34f47e[_0x168de6(0x2d0)]===_0x4488e4))[_0x168de6(0x421)](_0xc68473=>!!_0xc68473);return{'config':_0x325275,'result':{'actions':_0x3f8850,'error':_0x711b07[_0x168de6(0x1ff)]}};});}})}));}[_0x5410a2(0x33c)](){var _0x147ac8=_0x5410a2,_0x2b044b;const _0x5d816f=this[_0x147ac8(0x39f)][_0x147ac8(0x467)](K);return(_0x2b044b=_0x5d816f==null?void 0x0:_0x5d816f[_0x147ac8(0x397)])!=null?_0x2b044b:an;}async[_0x5410a2(0x335)](_0x270af4){var _0x19aeb5=_0x5410a2;const _0x2abe59=this[_0x19aeb5(0x33c)]()+'/'+_0x270af4['objectType']+_0x19aeb5(0x384);return(await this[_0x19aeb5(0x279)]['post'](_0x2abe59,{'body':_0x270af4}))[_0x19aeb5(0x26a)]['objectID']||'';}async[_0x5410a2(0x3c8)](_0x1f81f7){var _0x57d41b=_0x5410a2;const _0xa9c660=this[_0x57d41b(0x33c)]()+_0x57d41b(0x25b);return(await this[_0x57d41b(0x279)][_0x57d41b(0x3c2)](_0xa9c660,{'body':_0x1f81f7}))[_0x57d41b(0x26a)][_0x57d41b(0x2d3)];}async['update'](_0x1ecb29){var _0x26a59c=_0x5410a2,_0x1f68ec,_0xcecc45;const _0xf3e0f1=this['_getAPIPrefixPath']()+'/'+_0x1ecb29['objectType']+_0x26a59c(0x29f)+_0x1ecb29[_0x26a59c(0x2c3)],_0x158fab=await this[_0x26a59c(0x279)]['put'](_0xf3e0f1,{'body':_0x1ecb29});if(((_0xcecc45=(_0x1f68ec=_0x158fab==null?void 0x0:_0x158fab[_0x26a59c(0x26a)])==null?void 0x0:_0x1f68ec[_0x26a59c(0x1ff)])==null?void 0x0:_0xcecc45[_0x26a59c(0x278)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x5410a2(0x29a)](_0x4c6295){var _0x813edf=_0x5410a2;const _0x1e47af=this[_0x813edf(0x33c)]()+'/'+_0x4c6295[_0x813edf(0x204)]+_0x813edf(0x29f)+_0x4c6295[_0x813edf(0x2c3)]+_0x813edf(0x31d);return(await this[_0x813edf(0x279)][_0x813edf(0x3c2)](_0x1e47af,{'body':_0x4c6295}))[_0x813edf(0x26a)][_0x813edf(0x340)];}async[_0x5410a2(0x2dd)](_0x146a4d){var _0x3a36e7=_0x5410a2;const _0x41d9f4=this[_0x3a36e7(0x33c)]()+'/-/object/-/batch_allowed';return(await this[_0x3a36e7(0x279)][_0x3a36e7(0x3c2)](_0x41d9f4,{'body':{'requests':_0x146a4d}}))[_0x3a36e7(0x26a)][_0x3a36e7(0x19e)];}async[_0x5410a2(0x342)](_0x35cce3){var _0x2f921a=_0x5410a2;const _0x28562c=this[_0x2f921a(0x33c)]()+'/'+_0x35cce3[_0x2f921a(0x204)]+_0x2f921a(0x1a0),_0x2199d1=await this[_0x2f921a(0x279)][_0x2f921a(0x3c2)](_0x28562c,{'body':_0x35cce3});return{'roles':_0x2199d1['body'][_0x2f921a(0x405)],'actions':_0x2199d1[_0x2f921a(0x26a)][_0x2f921a(0x340)]};}async['deleteCollaborator'](_0x11fa95){var _0x7b935e=_0x5410a2;const _0x279eb5=this['_getAPIPrefixPath']()+_0x7b935e(0x253);await this[_0x7b935e(0x279)][_0x7b935e(0x186)](_0x279eb5,{'params':{'collaboratorID':_0x11fa95[_0x7b935e(0x480)],'objectID':_0x11fa95[_0x7b935e(0x2c3)],'unitID':_0x11fa95['unitID']}});}async[_0x5410a2(0x337)](_0x570d99){var _0x4fd435=_0x5410a2;const _0x359df2=this['_getAPIPrefixPath']()+_0x4fd435(0x253);await this[_0x4fd435(0x279)][_0x4fd435(0x245)](_0x359df2,{'body':_0x570d99});}async['createCollaborator'](_0x331191){var _0x5ca321=_0x5410a2;const _0x172cd4=this[_0x5ca321(0x33c)]()+'/collaborator';await this['_HTTPService']['post'](_0x172cd4,{'body':_0x331191});}async[_0x5410a2(0x1b6)](_0x3baae5){var _0x15a63a=_0x5410a2;const _0x1f3c6c=this[_0x15a63a(0x33c)]()+'/collaborator';return(await this['_HTTPService'][_0x15a63a(0x19f)](_0x1f3c6c,{'params':{'objectID':_0x3baae5['objectID'],'unitID':_0x3baae5[_0x15a63a(0x19c)]}}))['body']['collaborators'];}async[_0x5410a2(0x441)](_0x184029){var _0x25339f=_0x5410a2;const _0x586e03=this['_getAPIPrefixPath']()+_0x25339f(0x253);await this[_0x25339f(0x279)][_0x25339f(0x1d2)](_0x586e03,{'body':_0x184029});}};Tt=rn([Kt(0x0,_0x2a67ea(_0x4adef9)),Kt(0x1,_0x2a67ea(_0x54dc50))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2de53a){var _0x57e6ce=_0x5410a2;return _0x2de53a&&_0x2de53a[_0x57e6ce(0x26b)]&&Object[_0x57e6ce(0x2f1)][_0x57e6ce(0x285)][_0x57e6ce(0x281)](_0x2de53a,_0x57e6ce(0x230))?_0x2de53a['default']:_0x2de53a;}var Ve={'exports':{}};function on(_0x3d5864){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3d5864+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var We={'exports':{}},cn=We['exports'],qt;function te(){var _0x1c4482=_0x5410a2;return qt||(qt=0x1,function(_0x7bba23,_0x266feb){(function(_0x4771ca,_0x291f2c){var _0x14d7b5=_0x48ad;_0x7bba23[_0x14d7b5(0x21e)]=_0x291f2c();}(cn,function(){var _0x7e36d6=_0x7e36d6||function(_0x2e1c49,_0x14fcd5){var _0x577fb2=_0x48ad,_0xd51734;if(typeof window<'u'&&window[_0x577fb2(0x40e)]&&(_0xd51734=window[_0x577fb2(0x40e)]),typeof self<'u'&&self[_0x577fb2(0x40e)]&&(_0xd51734=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0xd51734=globalThis[_0x577fb2(0x40e)]),!_0xd51734&&typeof window<'u'&&window['msCrypto']&&(_0xd51734=window[_0x577fb2(0x3f7)]),!_0xd51734&&typeof ft<'u'&&ft['crypto']&&(_0xd51734=ft[_0x577fb2(0x40e)]),!_0xd51734&&typeof on=='function')try{_0xd51734=require('crypto');}catch{}var _0x4b9d1a=function(){var _0x3c201a=_0x577fb2;if(_0xd51734){if(typeof _0xd51734['getRandomValues']==_0x3c201a(0x1eb))try{return _0xd51734[_0x3c201a(0x412)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xd51734[_0x3c201a(0x359)]==_0x3c201a(0x1eb))try{return _0xd51734[_0x3c201a(0x359)](0x4)[_0x3c201a(0x2b5)]();}catch{}}throw new Error(_0x3c201a(0x188));},_0x9b81c1=Object[_0x577fb2(0x335)]||(function(){function _0x573feb(){}return function(_0x1a3f39){var _0x502ce6=_0x48ad,_0x5e43b3;return _0x573feb['prototype']=_0x1a3f39,_0x5e43b3=new _0x573feb(),_0x573feb[_0x502ce6(0x2f1)]=null,_0x5e43b3;};}()),_0x309786={},_0x516334=_0x309786[_0x577fb2(0x3fa)]={},_0x24ecfc=_0x516334['Base']=(function(){return{'extend':function(_0x4f3d57){var _0xc607dc=_0x48ad,_0x38a03f=_0x9b81c1(this);return _0x4f3d57&&_0x38a03f[_0xc607dc(0x27d)](_0x4f3d57),(!_0x38a03f[_0xc607dc(0x285)](_0xc607dc(0x47e))||this[_0xc607dc(0x47e)]===_0x38a03f[_0xc607dc(0x47e)])&&(_0x38a03f[_0xc607dc(0x47e)]=function(){var _0x5185a8=_0xc607dc;_0x38a03f[_0x5185a8(0x296)]['init'][_0x5185a8(0x392)](this,arguments);}),_0x38a03f[_0xc607dc(0x47e)][_0xc607dc(0x2f1)]=_0x38a03f,_0x38a03f[_0xc607dc(0x296)]=this,_0x38a03f;},'create':function(){var _0x21cf0d=_0x48ad,_0x23a943=this[_0x21cf0d(0x3ec)]();return _0x23a943[_0x21cf0d(0x47e)][_0x21cf0d(0x392)](_0x23a943,arguments),_0x23a943;},'init':function(){},'mixIn':function(_0x2f0235){var _0x3feef6=_0x48ad;for(var _0x25da93 in _0x2f0235)_0x2f0235[_0x3feef6(0x285)](_0x25da93)&&(this[_0x25da93]=_0x2f0235[_0x25da93]);_0x2f0235[_0x3feef6(0x285)](_0x3feef6(0x3d8))&&(this[_0x3feef6(0x3d8)]=_0x2f0235[_0x3feef6(0x3d8)]);},'clone':function(){var _0x4339d6=_0x48ad;return this[_0x4339d6(0x47e)][_0x4339d6(0x2f1)][_0x4339d6(0x3ec)](this);}};}()),_0x1f3c58=_0x516334[_0x577fb2(0x3cb)]=_0x24ecfc[_0x577fb2(0x3ec)]({'init':function(_0x38bb69,_0x24dca2){var _0x2753d9=_0x577fb2;_0x38bb69=this[_0x2753d9(0x385)]=_0x38bb69||[],_0x24dca2!=_0x14fcd5?this['sigBytes']=_0x24dca2:this[_0x2753d9(0x328)]=_0x38bb69[_0x2753d9(0x323)]*0x4;},'toString':function(_0x589c8f){return(_0x589c8f||_0xa33d23)['stringify'](this);},'concat':function(_0x65c8e3){var _0x108819=_0x577fb2,_0x39e985=this[_0x108819(0x385)],_0x346809=_0x65c8e3[_0x108819(0x385)],_0x409c9f=this[_0x108819(0x328)],_0x5c0793=_0x65c8e3[_0x108819(0x328)];if(this[_0x108819(0x35d)](),_0x409c9f%0x4)for(var _0x1dff95=0x0;_0x1dff95<_0x5c0793;_0x1dff95++){var _0x4c3ced=_0x346809[_0x1dff95>>>0x2]>>>0x18-_0x1dff95%0x4*0x8&0xff;_0x39e985[_0x409c9f+_0x1dff95>>>0x2]|=_0x4c3ced<<0x18-(_0x409c9f+_0x1dff95)%0x4*0x8;}else{for(var _0x50ee9d=0x0;_0x50ee9d<_0x5c0793;_0x50ee9d+=0x4)_0x39e985[_0x409c9f+_0x50ee9d>>>0x2]=_0x346809[_0x50ee9d>>>0x2];}return this[_0x108819(0x328)]+=_0x5c0793,this;},'clamp':function(){var _0x15de70=_0x577fb2,_0x57c84b=this['words'],_0x5223df=this['sigBytes'];_0x57c84b[_0x5223df>>>0x2]&=0xffffffff<<0x20-_0x5223df%0x4*0x8,_0x57c84b['length']=_0x2e1c49[_0x15de70(0x370)](_0x5223df/0x4);},'clone':function(){var _0x2653a2=_0x577fb2,_0x24a59b=_0x24ecfc[_0x2653a2(0x34e)][_0x2653a2(0x281)](this);return _0x24a59b[_0x2653a2(0x385)]=this[_0x2653a2(0x385)][_0x2653a2(0x3a5)](0x0),_0x24a59b;},'random':function(_0x134749){var _0x1e6604=_0x577fb2;for(var _0x61808b=[],_0x443d6a=0x0;_0x443d6a<_0x134749;_0x443d6a+=0x4)_0x61808b[_0x1e6604(0x353)](_0x4b9d1a());return new _0x1f3c58[(_0x1e6604(0x47e))](_0x61808b,_0x134749);}}),_0x2f8f55=_0x309786[_0x577fb2(0x216)]={},_0xa33d23=_0x2f8f55[_0x577fb2(0x367)]={'stringify':function(_0xc2cf6b){var _0xd83c3c=_0x577fb2;for(var _0x244c30=_0xc2cf6b[_0xd83c3c(0x385)],_0x21167b=_0xc2cf6b[_0xd83c3c(0x328)],_0x4cee1c=[],_0x5b383e=0x0;_0x5b383e<_0x21167b;_0x5b383e++){var _0x1a5be3=_0x244c30[_0x5b383e>>>0x2]>>>0x18-_0x5b383e%0x4*0x8&0xff;_0x4cee1c['push']((_0x1a5be3>>>0x4)[_0xd83c3c(0x3d8)](0x10)),_0x4cee1c[_0xd83c3c(0x353)]((_0x1a5be3&0xf)[_0xd83c3c(0x3d8)](0x10));}return _0x4cee1c[_0xd83c3c(0x473)]('');},'parse':function(_0x7adbd2){var _0x34fe5b=_0x577fb2;for(var _0x3b47de=_0x7adbd2[_0x34fe5b(0x323)],_0x171103=[],_0x1db8b7=0x0;_0x1db8b7<_0x3b47de;_0x1db8b7+=0x2)_0x171103[_0x1db8b7>>>0x3]|=parseInt(_0x7adbd2[_0x34fe5b(0x345)](_0x1db8b7,0x2),0x10)<<0x18-_0x1db8b7%0x8*0x4;return new _0x1f3c58[(_0x34fe5b(0x47e))](_0x171103,_0x3b47de/0x2);}},_0x35effd=_0x2f8f55['Latin1']={'stringify':function(_0x9e2de0){var _0x2dc250=_0x577fb2;for(var _0x8cf2b1=_0x9e2de0[_0x2dc250(0x385)],_0xc91dc3=_0x9e2de0[_0x2dc250(0x328)],_0x42e093=[],_0xf1884e=0x0;_0xf1884e<_0xc91dc3;_0xf1884e++){var _0x977325=_0x8cf2b1[_0xf1884e>>>0x2]>>>0x18-_0xf1884e%0x4*0x8&0xff;_0x42e093[_0x2dc250(0x353)](String[_0x2dc250(0x2bf)](_0x977325));}return _0x42e093['join']('');},'parse':function(_0x1c393f){var _0x2b79bf=_0x577fb2;for(var _0x176cc8=_0x1c393f[_0x2b79bf(0x323)],_0x49f495=[],_0x589a4c=0x0;_0x589a4c<_0x176cc8;_0x589a4c++)_0x49f495[_0x589a4c>>>0x2]|=(_0x1c393f[_0x2b79bf(0x39b)](_0x589a4c)&0xff)<<0x18-_0x589a4c%0x4*0x8;return new _0x1f3c58[(_0x2b79bf(0x47e))](_0x49f495,_0x176cc8);}},_0x2d33b0=_0x2f8f55[_0x577fb2(0x38e)]={'stringify':function(_0x133149){var _0x43a68b=_0x577fb2;try{return decodeURIComponent(escape(_0x35effd['stringify'](_0x133149)));}catch{throw new Error(_0x43a68b(0x235));}},'parse':function(_0xaaea1f){var _0x515bc3=_0x577fb2;return _0x35effd[_0x515bc3(0x295)](unescape(encodeURIComponent(_0xaaea1f)));}},_0x4b1397=_0x516334[_0x577fb2(0x36f)]=_0x24ecfc['extend']({'reset':function(){var _0x641ca7=_0x577fb2;this[_0x641ca7(0x1ef)]=new _0x1f3c58[(_0x641ca7(0x47e))](),this[_0x641ca7(0x472)]=0x0;},'_append':function(_0x4d30b1){var _0x88e95f=_0x577fb2;typeof _0x4d30b1=='string'&&(_0x4d30b1=_0x2d33b0[_0x88e95f(0x295)](_0x4d30b1)),this[_0x88e95f(0x1ef)][_0x88e95f(0x3b7)](_0x4d30b1),this['_nDataBytes']+=_0x4d30b1[_0x88e95f(0x328)];},'_process':function(_0x2d1dfe){var _0x3bd4f9=_0x577fb2,_0x157895,_0x489b3f=this['_data'],_0x1acb3d=_0x489b3f[_0x3bd4f9(0x385)],_0x2601d7=_0x489b3f[_0x3bd4f9(0x328)],_0x700bfa=this[_0x3bd4f9(0x35b)],_0x1458a5=_0x700bfa*0x4,_0x1085e0=_0x2601d7/_0x1458a5;_0x2d1dfe?_0x1085e0=_0x2e1c49['ceil'](_0x1085e0):_0x1085e0=_0x2e1c49[_0x3bd4f9(0x3ad)]((_0x1085e0|0x0)-this['_minBufferSize'],0x0);var _0x5611b5=_0x1085e0*_0x700bfa,_0x44862b=_0x2e1c49[_0x3bd4f9(0x287)](_0x5611b5*0x4,_0x2601d7);if(_0x5611b5){for(var _0x2b040a=0x0;_0x2b040a<_0x5611b5;_0x2b040a+=_0x700bfa)this[_0x3bd4f9(0x2e0)](_0x1acb3d,_0x2b040a);_0x157895=_0x1acb3d['splice'](0x0,_0x5611b5),_0x489b3f[_0x3bd4f9(0x328)]-=_0x44862b;}return new _0x1f3c58[(_0x3bd4f9(0x47e))](_0x157895,_0x44862b);},'clone':function(){var _0x35e78c=_0x577fb2,_0x1e39bd=_0x24ecfc['clone'][_0x35e78c(0x281)](this);return _0x1e39bd[_0x35e78c(0x1ef)]=this[_0x35e78c(0x1ef)][_0x35e78c(0x34e)](),_0x1e39bd;},'_minBufferSize':0x0});_0x516334['Hasher']=_0x4b1397[_0x577fb2(0x3ec)]({'cfg':_0x24ecfc['extend'](),'init':function(_0x1b2d4b){var _0xa7bbdc=_0x577fb2;this[_0xa7bbdc(0x46d)]=this[_0xa7bbdc(0x46d)]['extend'](_0x1b2d4b),this[_0xa7bbdc(0x2c8)]();},'reset':function(){var _0x448cb6=_0x577fb2;_0x4b1397[_0x448cb6(0x2c8)][_0x448cb6(0x281)](this),this[_0x448cb6(0x2fd)]();},'update':function(_0x120607){var _0x2e2021=_0x577fb2;return this[_0x2e2021(0x363)](_0x120607),this[_0x2e2021(0x2d4)](),this;},'finalize':function(_0x4bac0a){var _0x5d1423=_0x577fb2;_0x4bac0a&&this[_0x5d1423(0x363)](_0x4bac0a);var _0x1db340=this[_0x5d1423(0x190)]();return _0x1db340;},'blockSize':0x10,'_createHelper':function(_0x5eaf79){return function(_0x9d7a71,_0x590676){var _0x41cb8d=_0x48ad;return new _0x5eaf79[(_0x41cb8d(0x47e))](_0x590676)['finalize'](_0x9d7a71);};},'_createHmacHelper':function(_0x5bc7cc){return function(_0xa74b4f,_0x4620b2){var _0x44d5b1=_0x48ad;return new _0x45ca5d[(_0x44d5b1(0x22b))][(_0x44d5b1(0x47e))](_0x5bc7cc,_0x4620b2)['finalize'](_0xa74b4f);};}});var _0x45ca5d=_0x309786[_0x577fb2(0x3b1)]={};return _0x309786;}(Math);return _0x7e36d6;}));}(We)),We[_0x1c4482(0x21e)];}var Ge={'exports':{}},hn=Ge[_0x5410a2(0x21e)],zt;function Ri(){var _0x494853=_0x5410a2;return zt||(zt=0x1,function(_0x5e061b,_0xb7fde3){(function(_0x308d25,_0x5386f7){var _0x2aad35=_0x48ad;_0x5e061b[_0x2aad35(0x21e)]=_0x5386f7(te());}(hn,function(_0xe1a730){var _0x2ee520=_0x48ad;return(function(){var _0x47f01d=_0x48ad,_0x265f8b=_0xe1a730,_0x1f16ef=_0x265f8b[_0x47f01d(0x3fa)],_0x309f68=_0x1f16ef[_0x47f01d(0x3cb)],_0xf1cf7d=_0x265f8b[_0x47f01d(0x216)];_0xf1cf7d[_0x47f01d(0x2c5)]={'stringify':function(_0x2573b3){var _0x40ea5f=_0x47f01d,_0x52837b=_0x2573b3[_0x40ea5f(0x385)],_0xb59a23=_0x2573b3['sigBytes'],_0x4af7ef=this[_0x40ea5f(0x220)];_0x2573b3[_0x40ea5f(0x35d)]();for(var _0x7f7332=[],_0x33c0fd=0x0;_0x33c0fd<_0xb59a23;_0x33c0fd+=0x3)for(var _0x2ce179=_0x52837b[_0x33c0fd>>>0x2]>>>0x18-_0x33c0fd%0x4*0x8&0xff,_0x18906b=_0x52837b[_0x33c0fd+0x1>>>0x2]>>>0x18-(_0x33c0fd+0x1)%0x4*0x8&0xff,_0x25305e=_0x52837b[_0x33c0fd+0x2>>>0x2]>>>0x18-(_0x33c0fd+0x2)%0x4*0x8&0xff,_0x570c4a=_0x2ce179<<0x10|_0x18906b<<0x8|_0x25305e,_0x39f6dc=0x0;_0x39f6dc<0x4&&_0x33c0fd+_0x39f6dc*0.75<_0xb59a23;_0x39f6dc++)_0x7f7332[_0x40ea5f(0x353)](_0x4af7ef['charAt'](_0x570c4a>>>0x6*(0x3-_0x39f6dc)&0x3f));var _0x3a5b3c=_0x4af7ef[_0x40ea5f(0x445)](0x40);if(_0x3a5b3c){for(;_0x7f7332[_0x40ea5f(0x323)]%0x4;)_0x7f7332['push'](_0x3a5b3c);}return _0x7f7332[_0x40ea5f(0x473)]('');},'parse':function(_0x1c4606){var _0x197a5a=_0x47f01d,_0xa7e472=_0x1c4606[_0x197a5a(0x323)],_0x27c738=this['_map'],_0x1a7de7=this[_0x197a5a(0x275)];if(!_0x1a7de7){_0x1a7de7=this[_0x197a5a(0x275)]=[];for(var _0x17b201=0x0;_0x17b201<_0x27c738['length'];_0x17b201++)_0x1a7de7[_0x27c738[_0x197a5a(0x39b)](_0x17b201)]=_0x17b201;}var _0x311aad=_0x27c738['charAt'](0x40);if(_0x311aad){var _0x3c2393=_0x1c4606[_0x197a5a(0x198)](_0x311aad);_0x3c2393!==-0x1&&(_0xa7e472=_0x3c2393);}return _0x5d3e8e(_0x1c4606,_0xa7e472,_0x1a7de7);},'_map':_0x47f01d(0x41f)};function _0x5d3e8e(_0x1e1fc9,_0x137d01,_0x14e2b7){var _0x111e5f=_0x47f01d;for(var _0x3c71cf=[],_0x47df17=0x0,_0x4fea53=0x0;_0x4fea53<_0x137d01;_0x4fea53++)if(_0x4fea53%0x4){var _0x11ec91=_0x14e2b7[_0x1e1fc9[_0x111e5f(0x39b)](_0x4fea53-0x1)]<<_0x4fea53%0x4*0x2,_0x57cd5b=_0x14e2b7[_0x1e1fc9['charCodeAt'](_0x4fea53)]>>>0x6-_0x4fea53%0x4*0x2,_0x5721c1=_0x11ec91|_0x57cd5b;_0x3c71cf[_0x47df17>>>0x2]|=_0x5721c1<<0x18-_0x47df17%0x4*0x8,_0x47df17++;}return _0x309f68['create'](_0x3c71cf,_0x47df17);}}()),_0xe1a730[_0x2ee520(0x216)][_0x2ee520(0x2c5)];}));}(Ge)),Ge[_0x494853(0x21e)];}var Ye={'exports':{}},_n=Ye[_0x5410a2(0x21e)],Jt;function ln(){var _0x5b1a0c=_0x5410a2;return Jt||(Jt=0x1,function(_0x41281f,_0x4a96e0){(function(_0x433a1e,_0x54c25b){var _0x3e4947=_0x48ad;_0x41281f[_0x3e4947(0x21e)]=_0x54c25b(te());}(_n,function(_0x4bb359){var _0x49c0f7=_0x48ad;return function(_0xa3f25){var _0x225230=_0x48ad,_0x4546c5=_0x4bb359,_0x45967b=_0x4546c5['lib'],_0x2ee01c=_0x45967b[_0x225230(0x3cb)],_0x2cbae5=_0x45967b['Hasher'],_0x155f3c=_0x4546c5['algo'],_0x5ef00e=[];(function(){var _0x3832d9=_0x225230;for(var _0x48403b=0x0;_0x48403b<0x40;_0x48403b++)_0x5ef00e[_0x48403b]=_0xa3f25[_0x3832d9(0x478)](_0xa3f25[_0x3832d9(0x429)](_0x48403b+0x1))*0x100000000|0x0;}());var _0x153915=_0x155f3c[_0x225230(0x27a)]=_0x2cbae5['extend']({'_doReset':function(){var _0x5bd65c=_0x225230;this[_0x5bd65c(0x254)]=new _0x2ee01c[(_0x5bd65c(0x47e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f68de,_0x37bc62){var _0x1127e6=_0x225230;for(var _0x333de9=0x0;_0x333de9<0x10;_0x333de9++){var _0x3045a7=_0x37bc62+_0x333de9,_0x19389b=_0x2f68de[_0x3045a7];_0x2f68de[_0x3045a7]=(_0x19389b<<0x8|_0x19389b>>>0x18)&0xff00ff|(_0x19389b<<0x18|_0x19389b>>>0x8)&0xff00ff00;}var _0x527868=this[_0x1127e6(0x254)]['words'],_0x3dadf2=_0x2f68de[_0x37bc62+0x0],_0x5d1109=_0x2f68de[_0x37bc62+0x1],_0x434f0a=_0x2f68de[_0x37bc62+0x2],_0x3a0309=_0x2f68de[_0x37bc62+0x3],_0x1aa81f=_0x2f68de[_0x37bc62+0x4],_0x2c8c93=_0x2f68de[_0x37bc62+0x5],_0x39b552=_0x2f68de[_0x37bc62+0x6],_0x59f0a7=_0x2f68de[_0x37bc62+0x7],_0x274032=_0x2f68de[_0x37bc62+0x8],_0x42be95=_0x2f68de[_0x37bc62+0x9],_0x59993c=_0x2f68de[_0x37bc62+0xa],_0x1b6b84=_0x2f68de[_0x37bc62+0xb],_0x4a0332=_0x2f68de[_0x37bc62+0xc],_0x11dda2=_0x2f68de[_0x37bc62+0xd],_0x249aa5=_0x2f68de[_0x37bc62+0xe],_0x4f35fa=_0x2f68de[_0x37bc62+0xf],_0x228a8d=_0x527868[0x0],_0x1a751e=_0x527868[0x1],_0x9f6380=_0x527868[0x2],_0x418091=_0x527868[0x3];_0x228a8d=_0x8bbd0d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x3dadf2,0x7,_0x5ef00e[0x0]),_0x418091=_0x8bbd0d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x5d1109,0xc,_0x5ef00e[0x1]),_0x9f6380=_0x8bbd0d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x434f0a,0x11,_0x5ef00e[0x2]),_0x1a751e=_0x8bbd0d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x3a0309,0x16,_0x5ef00e[0x3]),_0x228a8d=_0x8bbd0d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x1aa81f,0x7,_0x5ef00e[0x4]),_0x418091=_0x8bbd0d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x2c8c93,0xc,_0x5ef00e[0x5]),_0x9f6380=_0x8bbd0d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x39b552,0x11,_0x5ef00e[0x6]),_0x1a751e=_0x8bbd0d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x59f0a7,0x16,_0x5ef00e[0x7]),_0x228a8d=_0x8bbd0d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x274032,0x7,_0x5ef00e[0x8]),_0x418091=_0x8bbd0d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x42be95,0xc,_0x5ef00e[0x9]),_0x9f6380=_0x8bbd0d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x59993c,0x11,_0x5ef00e[0xa]),_0x1a751e=_0x8bbd0d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x1b6b84,0x16,_0x5ef00e[0xb]),_0x228a8d=_0x8bbd0d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x4a0332,0x7,_0x5ef00e[0xc]),_0x418091=_0x8bbd0d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x11dda2,0xc,_0x5ef00e[0xd]),_0x9f6380=_0x8bbd0d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x249aa5,0x11,_0x5ef00e[0xe]),_0x1a751e=_0x8bbd0d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x4f35fa,0x16,_0x5ef00e[0xf]),_0x228a8d=_0x33822b(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x5d1109,0x5,_0x5ef00e[0x10]),_0x418091=_0x33822b(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x39b552,0x9,_0x5ef00e[0x11]),_0x9f6380=_0x33822b(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x1b6b84,0xe,_0x5ef00e[0x12]),_0x1a751e=_0x33822b(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x3dadf2,0x14,_0x5ef00e[0x13]),_0x228a8d=_0x33822b(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x2c8c93,0x5,_0x5ef00e[0x14]),_0x418091=_0x33822b(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x59993c,0x9,_0x5ef00e[0x15]),_0x9f6380=_0x33822b(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x4f35fa,0xe,_0x5ef00e[0x16]),_0x1a751e=_0x33822b(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x1aa81f,0x14,_0x5ef00e[0x17]),_0x228a8d=_0x33822b(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x42be95,0x5,_0x5ef00e[0x18]),_0x418091=_0x33822b(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x249aa5,0x9,_0x5ef00e[0x19]),_0x9f6380=_0x33822b(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x3a0309,0xe,_0x5ef00e[0x1a]),_0x1a751e=_0x33822b(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x274032,0x14,_0x5ef00e[0x1b]),_0x228a8d=_0x33822b(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x11dda2,0x5,_0x5ef00e[0x1c]),_0x418091=_0x33822b(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x434f0a,0x9,_0x5ef00e[0x1d]),_0x9f6380=_0x33822b(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x59f0a7,0xe,_0x5ef00e[0x1e]),_0x1a751e=_0x33822b(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x4a0332,0x14,_0x5ef00e[0x1f]),_0x228a8d=_0x47b55d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x2c8c93,0x4,_0x5ef00e[0x20]),_0x418091=_0x47b55d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x274032,0xb,_0x5ef00e[0x21]),_0x9f6380=_0x47b55d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x1b6b84,0x10,_0x5ef00e[0x22]),_0x1a751e=_0x47b55d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x249aa5,0x17,_0x5ef00e[0x23]),_0x228a8d=_0x47b55d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x5d1109,0x4,_0x5ef00e[0x24]),_0x418091=_0x47b55d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x1aa81f,0xb,_0x5ef00e[0x25]),_0x9f6380=_0x47b55d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x59f0a7,0x10,_0x5ef00e[0x26]),_0x1a751e=_0x47b55d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x59993c,0x17,_0x5ef00e[0x27]),_0x228a8d=_0x47b55d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x11dda2,0x4,_0x5ef00e[0x28]),_0x418091=_0x47b55d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x3dadf2,0xb,_0x5ef00e[0x29]),_0x9f6380=_0x47b55d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x3a0309,0x10,_0x5ef00e[0x2a]),_0x1a751e=_0x47b55d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x39b552,0x17,_0x5ef00e[0x2b]),_0x228a8d=_0x47b55d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x42be95,0x4,_0x5ef00e[0x2c]),_0x418091=_0x47b55d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x4a0332,0xb,_0x5ef00e[0x2d]),_0x9f6380=_0x47b55d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x4f35fa,0x10,_0x5ef00e[0x2e]),_0x1a751e=_0x47b55d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x434f0a,0x17,_0x5ef00e[0x2f]),_0x228a8d=_0x5c7fd5(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x3dadf2,0x6,_0x5ef00e[0x30]),_0x418091=_0x5c7fd5(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x59f0a7,0xa,_0x5ef00e[0x31]),_0x9f6380=_0x5c7fd5(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x249aa5,0xf,_0x5ef00e[0x32]),_0x1a751e=_0x5c7fd5(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x2c8c93,0x15,_0x5ef00e[0x33]),_0x228a8d=_0x5c7fd5(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x4a0332,0x6,_0x5ef00e[0x34]),_0x418091=_0x5c7fd5(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x3a0309,0xa,_0x5ef00e[0x35]),_0x9f6380=_0x5c7fd5(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x59993c,0xf,_0x5ef00e[0x36]),_0x1a751e=_0x5c7fd5(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x5d1109,0x15,_0x5ef00e[0x37]),_0x228a8d=_0x5c7fd5(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x274032,0x6,_0x5ef00e[0x38]),_0x418091=_0x5c7fd5(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x4f35fa,0xa,_0x5ef00e[0x39]),_0x9f6380=_0x5c7fd5(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x39b552,0xf,_0x5ef00e[0x3a]),_0x1a751e=_0x5c7fd5(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x11dda2,0x15,_0x5ef00e[0x3b]),_0x228a8d=_0x5c7fd5(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x1aa81f,0x6,_0x5ef00e[0x3c]),_0x418091=_0x5c7fd5(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x1b6b84,0xa,_0x5ef00e[0x3d]),_0x9f6380=_0x5c7fd5(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x434f0a,0xf,_0x5ef00e[0x3e]),_0x1a751e=_0x5c7fd5(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x42be95,0x15,_0x5ef00e[0x3f]),_0x527868[0x0]=_0x527868[0x0]+_0x228a8d|0x0,_0x527868[0x1]=_0x527868[0x1]+_0x1a751e|0x0,_0x527868[0x2]=_0x527868[0x2]+_0x9f6380|0x0,_0x527868[0x3]=_0x527868[0x3]+_0x418091|0x0;},'_doFinalize':function(){var _0x344628=_0x225230,_0x4feeb3=this[_0x344628(0x1ef)],_0x84370=_0x4feeb3[_0x344628(0x385)],_0x4c7e92=this['_nDataBytes']*0x8,_0x15af35=_0x4feeb3[_0x344628(0x328)]*0x8;_0x84370[_0x15af35>>>0x5]|=0x80<<0x18-_0x15af35%0x20;var _0x50676d=_0xa3f25[_0x344628(0x3fd)](_0x4c7e92/0x100000000),_0x40eeda=_0x4c7e92;_0x84370[(_0x15af35+0x40>>>0x9<<0x4)+0xf]=(_0x50676d<<0x8|_0x50676d>>>0x18)&0xff00ff|(_0x50676d<<0x18|_0x50676d>>>0x8)&0xff00ff00,_0x84370[(_0x15af35+0x40>>>0x9<<0x4)+0xe]=(_0x40eeda<<0x8|_0x40eeda>>>0x18)&0xff00ff|(_0x40eeda<<0x18|_0x40eeda>>>0x8)&0xff00ff00,_0x4feeb3[_0x344628(0x328)]=(_0x84370['length']+0x1)*0x4,this[_0x344628(0x2d4)]();for(var _0x30518b=this[_0x344628(0x254)],_0x28fee1=_0x30518b[_0x344628(0x385)],_0x31bf19=0x0;_0x31bf19<0x4;_0x31bf19++){var _0x24cb58=_0x28fee1[_0x31bf19];_0x28fee1[_0x31bf19]=(_0x24cb58<<0x8|_0x24cb58>>>0x18)&0xff00ff|(_0x24cb58<<0x18|_0x24cb58>>>0x8)&0xff00ff00;}return _0x30518b;},'clone':function(){var _0x57fcd7=_0x225230,_0x164b30=_0x2cbae5[_0x57fcd7(0x34e)]['call'](this);return _0x164b30['_hash']=this[_0x57fcd7(0x254)][_0x57fcd7(0x34e)](),_0x164b30;}});function _0x8bbd0d(_0xebd51b,_0x47e11c,_0x44d9cd,_0x3e58bb,_0x2a57b8,_0x540654,_0x8132c2){var _0x277625=_0xebd51b+(_0x47e11c&_0x44d9cd|~_0x47e11c&_0x3e58bb)+_0x2a57b8+_0x8132c2;return(_0x277625<<_0x540654|_0x277625>>>0x20-_0x540654)+_0x47e11c;}function _0x33822b(_0x3b3393,_0x2efef3,_0x43e21b,_0x3363b5,_0xc0328a,_0x11a39c,_0x3fa204){var _0x2d2982=_0x3b3393+(_0x2efef3&_0x3363b5|_0x43e21b&~_0x3363b5)+_0xc0328a+_0x3fa204;return(_0x2d2982<<_0x11a39c|_0x2d2982>>>0x20-_0x11a39c)+_0x2efef3;}function _0x47b55d(_0x40f95f,_0x4b1e0a,_0x57990b,_0x54c5b9,_0x5c6682,_0xb3a690,_0x29550f){var _0x23dc4e=_0x40f95f+(_0x4b1e0a^_0x57990b^_0x54c5b9)+_0x5c6682+_0x29550f;return(_0x23dc4e<<_0xb3a690|_0x23dc4e>>>0x20-_0xb3a690)+_0x4b1e0a;}function _0x5c7fd5(_0x13f5cc,_0x48fa68,_0x4f7edf,_0x5bb139,_0x7ebb0a,_0x48f505,_0x4c1d1a){var _0x326bb7=_0x13f5cc+(_0x4f7edf^(_0x48fa68|~_0x5bb139))+_0x7ebb0a+_0x4c1d1a;return(_0x326bb7<<_0x48f505|_0x326bb7>>>0x20-_0x48f505)+_0x48fa68;}_0x4546c5['MD5']=_0x2cbae5['_createHelper'](_0x153915),_0x4546c5[_0x225230(0x3f5)]=_0x2cbae5[_0x225230(0x322)](_0x153915);}(Math),_0x4bb359[_0x49c0f7(0x27a)];}));}(Ye)),Ye[_0x5b1a0c(0x21e)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x5410a2(0x21e)],Xt;function dn(){var _0x912ea6=_0x5410a2;return Xt||(Xt=0x1,function(_0x419359,_0x18f6af){(function(_0x10129a,_0x2e83f9){var _0x369f7b=_0x48ad;_0x419359[_0x369f7b(0x21e)]=_0x2e83f9(te());}(un,function(_0x1f7f6e){var _0x42a59b=_0x48ad;return(function(){var _0x31b537=_0x48ad,_0x4131e7=_0x1f7f6e,_0x1684cf=_0x4131e7['lib'],_0x1334a4=_0x1684cf[_0x31b537(0x3cb)],_0xdf1df9=_0x1684cf[_0x31b537(0x184)],_0x109d97=_0x4131e7[_0x31b537(0x3b1)],_0x1606b7=[],_0xaa9089=_0x109d97[_0x31b537(0x2e6)]=_0xdf1df9[_0x31b537(0x3ec)]({'_doReset':function(){var _0x54ad7d=_0x31b537;this['_hash']=new _0x1334a4[(_0x54ad7d(0x47e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3dba58,_0x487bc7){for(var _0x5db0fe=this['_hash']['words'],_0x5ad86c=_0x5db0fe[0x0],_0x3987e6=_0x5db0fe[0x1],_0x1e2f5a=_0x5db0fe[0x2],_0x118d4c=_0x5db0fe[0x3],_0x504f1d=_0x5db0fe[0x4],_0x5957fe=0x0;_0x5957fe<0x50;_0x5957fe++){if(_0x5957fe<0x10)_0x1606b7[_0x5957fe]=_0x3dba58[_0x487bc7+_0x5957fe]|0x0;else{var _0x257be4=_0x1606b7[_0x5957fe-0x3]^_0x1606b7[_0x5957fe-0x8]^_0x1606b7[_0x5957fe-0xe]^_0x1606b7[_0x5957fe-0x10];_0x1606b7[_0x5957fe]=_0x257be4<<0x1|_0x257be4>>>0x1f;}var _0x30ed70=(_0x5ad86c<<0x5|_0x5ad86c>>>0x1b)+_0x504f1d+_0x1606b7[_0x5957fe];_0x5957fe<0x14?_0x30ed70+=(_0x3987e6&_0x1e2f5a|~_0x3987e6&_0x118d4c)+0x5a827999:_0x5957fe<0x28?_0x30ed70+=(_0x3987e6^_0x1e2f5a^_0x118d4c)+0x6ed9eba1:_0x5957fe<0x3c?_0x30ed70+=(_0x3987e6&_0x1e2f5a|_0x3987e6&_0x118d4c|_0x1e2f5a&_0x118d4c)-0x70e44324:_0x30ed70+=(_0x3987e6^_0x1e2f5a^_0x118d4c)-0x359d3e2a,_0x504f1d=_0x118d4c,_0x118d4c=_0x1e2f5a,_0x1e2f5a=_0x3987e6<<0x1e|_0x3987e6>>>0x2,_0x3987e6=_0x5ad86c,_0x5ad86c=_0x30ed70;}_0x5db0fe[0x0]=_0x5db0fe[0x0]+_0x5ad86c|0x0,_0x5db0fe[0x1]=_0x5db0fe[0x1]+_0x3987e6|0x0,_0x5db0fe[0x2]=_0x5db0fe[0x2]+_0x1e2f5a|0x0,_0x5db0fe[0x3]=_0x5db0fe[0x3]+_0x118d4c|0x0,_0x5db0fe[0x4]=_0x5db0fe[0x4]+_0x504f1d|0x0;},'_doFinalize':function(){var _0x3e7659=_0x31b537,_0x5d21e1=this[_0x3e7659(0x1ef)],_0x471723=_0x5d21e1[_0x3e7659(0x385)],_0x4d14bb=this[_0x3e7659(0x472)]*0x8,_0x35288f=_0x5d21e1[_0x3e7659(0x328)]*0x8;return _0x471723[_0x35288f>>>0x5]|=0x80<<0x18-_0x35288f%0x20,_0x471723[(_0x35288f+0x40>>>0x9<<0x4)+0xe]=Math[_0x3e7659(0x3fd)](_0x4d14bb/0x100000000),_0x471723[(_0x35288f+0x40>>>0x9<<0x4)+0xf]=_0x4d14bb,_0x5d21e1[_0x3e7659(0x328)]=_0x471723[_0x3e7659(0x323)]*0x4,this['_process'](),this[_0x3e7659(0x254)];},'clone':function(){var _0x4c41e2=_0x31b537,_0xa5e3f9=_0xdf1df9[_0x4c41e2(0x34e)][_0x4c41e2(0x281)](this);return _0xa5e3f9[_0x4c41e2(0x254)]=this[_0x4c41e2(0x254)][_0x4c41e2(0x34e)](),_0xa5e3f9;}});_0x4131e7[_0x31b537(0x2e6)]=_0xdf1df9['_createHelper'](_0xaa9089),_0x4131e7['HmacSHA1']=_0xdf1df9[_0x31b537(0x322)](_0xaa9089);}()),_0x1f7f6e[_0x42a59b(0x2e6)];}));}(qe)),qe[_0x912ea6(0x21e)];}var ze={'exports':{}},fn=ze[_0x5410a2(0x21e)],Zt;function vn(){var _0x3f0758=_0x5410a2;return Zt||(Zt=0x1,function(_0x4761c0,_0x5d4b40){(function(_0x5afee3,_0x174df7){var _0x25c2e8=_0x48ad;_0x4761c0[_0x25c2e8(0x21e)]=_0x174df7(te());}(fn,function(_0x3f3a7b){(function(){var _0x1585d5=_0x48ad,_0x44b560=_0x3f3a7b,_0xf72849=_0x44b560[_0x1585d5(0x3fa)],_0x25e788=_0xf72849[_0x1585d5(0x1e3)],_0x8c1958=_0x44b560[_0x1585d5(0x216)],_0x8d7208=_0x8c1958[_0x1585d5(0x38e)],_0x3ddb44=_0x44b560['algo'];_0x3ddb44['HMAC']=_0x25e788[_0x1585d5(0x3ec)]({'init':function(_0x7a46dd,_0x106714){var _0x5e913b=_0x1585d5;_0x7a46dd=this[_0x5e913b(0x23b)]=new _0x7a46dd[(_0x5e913b(0x47e))](),typeof _0x106714=='string'&&(_0x106714=_0x8d7208[_0x5e913b(0x295)](_0x106714));var _0x1e4f56=_0x7a46dd['blockSize'],_0x136818=_0x1e4f56*0x4;_0x106714[_0x5e913b(0x328)]>_0x136818&&(_0x106714=_0x7a46dd[_0x5e913b(0x2f2)](_0x106714)),_0x106714[_0x5e913b(0x35d)]();for(var _0x562cec=this['_oKey']=_0x106714[_0x5e913b(0x34e)](),_0x2d3d4a=this['_iKey']=_0x106714[_0x5e913b(0x34e)](),_0x20e8f6=_0x562cec[_0x5e913b(0x385)],_0x485196=_0x2d3d4a['words'],_0x395ed1=0x0;_0x395ed1<_0x1e4f56;_0x395ed1++)_0x20e8f6[_0x395ed1]^=0x5c5c5c5c,_0x485196[_0x395ed1]^=0x36363636;_0x562cec['sigBytes']=_0x2d3d4a[_0x5e913b(0x328)]=_0x136818,this[_0x5e913b(0x2c8)]();},'reset':function(){var _0x21fcb4=_0x1585d5,_0x17c16=this[_0x21fcb4(0x23b)];_0x17c16[_0x21fcb4(0x2c8)](),_0x17c16[_0x21fcb4(0x341)](this[_0x21fcb4(0x3f9)]);},'update':function(_0x2e252f){var _0x1d17ab=_0x1585d5;return this[_0x1d17ab(0x23b)][_0x1d17ab(0x341)](_0x2e252f),this;},'finalize':function(_0x11c2f8){var _0x310089=_0x1585d5,_0x2af827=this['_hasher'],_0x1a2c38=_0x2af827['finalize'](_0x11c2f8);_0x2af827[_0x310089(0x2c8)]();var _0xc994dd=_0x2af827['finalize'](this[_0x310089(0x30c)][_0x310089(0x34e)]()['concat'](_0x1a2c38));return _0xc994dd;}});}());}));}(ze)),ze[_0x3f0758(0x21e)];}var pn=Ke['exports'],Qt;function Oi(){return Qt||(Qt=0x1,function(_0x285eb5,_0x235bfb){(function(_0x5ad54e,_0x2fe985,_0x242bf4){_0x285eb5['exports']=_0x2fe985(te(),dn(),vn());}(pn,function(_0x106188){return(function(){var _0x5b00ec=_0x48ad,_0x440196=_0x106188,_0x1116bf=_0x440196[_0x5b00ec(0x3fa)],_0x266ee0=_0x1116bf[_0x5b00ec(0x1e3)],_0x3e1386=_0x1116bf['WordArray'],_0x384dce=_0x440196[_0x5b00ec(0x3b1)],_0x296689=_0x384dce[_0x5b00ec(0x27a)],_0x43a448=_0x384dce[_0x5b00ec(0x396)]=_0x266ee0['extend']({'cfg':_0x266ee0[_0x5b00ec(0x3ec)]({'keySize':0x80/0x20,'hasher':_0x296689,'iterations':0x1}),'init':function(_0x7024aa){var _0x3eac07=_0x5b00ec;this['cfg']=this[_0x3eac07(0x46d)][_0x3eac07(0x3ec)](_0x7024aa);},'compute':function(_0x1ba4ac,_0x4dc096){var _0x4c84ad=_0x5b00ec;for(var _0x341059,_0x237fd6=this['cfg'],_0x36658b=_0x237fd6[_0x4c84ad(0x1a7)][_0x4c84ad(0x335)](),_0x429c1a=_0x3e1386['create'](),_0x109bab=_0x429c1a[_0x4c84ad(0x385)],_0x452925=_0x237fd6[_0x4c84ad(0x36d)],_0x4cae73=_0x237fd6[_0x4c84ad(0x24d)];_0x109bab['length']<_0x452925;){_0x341059&&_0x36658b[_0x4c84ad(0x341)](_0x341059),_0x341059=_0x36658b[_0x4c84ad(0x341)](_0x1ba4ac)[_0x4c84ad(0x2f2)](_0x4dc096),_0x36658b['reset']();for(var _0x2d6ff7=0x1;_0x2d6ff7<_0x4cae73;_0x2d6ff7++)_0x341059=_0x36658b[_0x4c84ad(0x2f2)](_0x341059),_0x36658b[_0x4c84ad(0x2c8)]();_0x429c1a[_0x4c84ad(0x3b7)](_0x341059);}return _0x429c1a[_0x4c84ad(0x328)]=_0x452925*0x4,_0x429c1a;}});_0x440196['EvpKDF']=function(_0x140e09,_0x4f588b,_0x208e46){var _0x4c9654=_0x5b00ec;return _0x43a448[_0x4c9654(0x335)](_0x208e46)['compute'](_0x140e09,_0x4f588b);};}()),_0x106188['EvpKDF'];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0x5410a2(0x21e)],ei;function bi(){return ei||(ei=0x1,function(_0x59f031,_0x2e6fa1){(function(_0x1ed84f,_0x24e1a8,_0x3bbc62){var _0x59d8f5=_0x48ad;_0x59f031[_0x59d8f5(0x21e)]=_0x24e1a8(te(),Oi());}(mn,function(_0x34706a){var _0x3b431b=_0x48ad;_0x34706a[_0x3b431b(0x3fa)][_0x3b431b(0x446)]||function(_0x1fe019){var _0x32f9c7=_0x3b431b,_0x36b024=_0x34706a,_0x2d3e5b=_0x36b024[_0x32f9c7(0x3fa)],_0x1b1a81=_0x2d3e5b[_0x32f9c7(0x1e3)],_0x52f3df=_0x2d3e5b[_0x32f9c7(0x3cb)],_0x351226=_0x2d3e5b[_0x32f9c7(0x36f)],_0x1f2867=_0x36b024['enc'];_0x1f2867[_0x32f9c7(0x38e)];var _0x53dc36=_0x1f2867[_0x32f9c7(0x2c5)],_0x1c1a45=_0x36b024[_0x32f9c7(0x3b1)],_0xf753cc=_0x1c1a45[_0x32f9c7(0x396)],_0x320b4e=_0x2d3e5b[_0x32f9c7(0x446)]=_0x351226[_0x32f9c7(0x3ec)]({'cfg':_0x1b1a81[_0x32f9c7(0x3ec)](),'createEncryptor':function(_0x290e5a,_0x5a4401){var _0x5606a9=_0x32f9c7;return this[_0x5606a9(0x335)](this[_0x5606a9(0x439)],_0x290e5a,_0x5a4401);},'createDecryptor':function(_0x5b2205,_0x5f0063){var _0x28c507=_0x32f9c7;return this[_0x28c507(0x335)](this[_0x28c507(0x1d3)],_0x5b2205,_0x5f0063);},'init':function(_0x5f40d7,_0x3a93d3,_0x19b339){var _0x2d26e2=_0x32f9c7;this[_0x2d26e2(0x46d)]=this['cfg'][_0x2d26e2(0x3ec)](_0x19b339),this['_xformMode']=_0x5f40d7,this[_0x2d26e2(0x1b3)]=_0x3a93d3,this[_0x2d26e2(0x2c8)]();},'reset':function(){var _0x1796ce=_0x32f9c7;_0x351226[_0x1796ce(0x2c8)][_0x1796ce(0x281)](this),this[_0x1796ce(0x2fd)]();},'process':function(_0x6af23d){var _0x376fca=_0x32f9c7;return this[_0x376fca(0x363)](_0x6af23d),this[_0x376fca(0x2d4)]();},'finalize':function(_0x5c0562){var _0x1520e9=_0x32f9c7;_0x5c0562&&this[_0x1520e9(0x363)](_0x5c0562);var _0x237abc=this[_0x1520e9(0x190)]();return _0x237abc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2c1d7f(_0xad879f){var _0x97ac56=_0x48ad;return typeof _0xad879f==_0x97ac56(0x312)?_0x51eb26:_0x3e70fe;}return function(_0x459bfe){return{'encrypt':function(_0x48afaa,_0x6d54f7,_0x552e8a){var _0x502345=_0x48ad;return _0x2c1d7f(_0x6d54f7)[_0x502345(0x36e)](_0x459bfe,_0x48afaa,_0x6d54f7,_0x552e8a);},'decrypt':function(_0xadb411,_0x1be7b5,_0x302948){var _0x28bc35=_0x48ad;return _0x2c1d7f(_0x1be7b5)[_0x28bc35(0x227)](_0x459bfe,_0xadb411,_0x1be7b5,_0x302948);}};};}())});_0x2d3e5b['StreamCipher']=_0x320b4e[_0x32f9c7(0x3ec)]({'_doFinalize':function(){var _0x7560e3=_0x32f9c7,_0x56814d=this[_0x7560e3(0x2d4)](!0x0);return _0x56814d;},'blockSize':0x1});var _0x89a3b8=_0x36b024[_0x32f9c7(0x26c)]={},_0x35de91=_0x2d3e5b[_0x32f9c7(0x32f)]=_0x1b1a81[_0x32f9c7(0x3ec)]({'createEncryptor':function(_0xfc5f01,_0xa3ff4b){var _0x1f8dbb=_0x32f9c7;return this[_0x1f8dbb(0x32b)][_0x1f8dbb(0x335)](_0xfc5f01,_0xa3ff4b);},'createDecryptor':function(_0x5cc4d4,_0x5c1258){var _0x1cbf95=_0x32f9c7;return this[_0x1cbf95(0x3a0)][_0x1cbf95(0x335)](_0x5cc4d4,_0x5c1258);},'init':function(_0x3387d4,_0x29af2c){var _0x370dee=_0x32f9c7;this[_0x370dee(0x418)]=_0x3387d4,this[_0x370dee(0x26e)]=_0x29af2c;}}),_0xa3c79=_0x89a3b8[_0x32f9c7(0x1cd)]=(function(){var _0x53de30=_0x32f9c7,_0x1917dc=_0x35de91[_0x53de30(0x3ec)]();_0x1917dc[_0x53de30(0x32b)]=_0x1917dc[_0x53de30(0x3ec)]({'processBlock':function(_0x11bec4,_0x532412){var _0x2186cb=_0x53de30,_0x33a178=this['_cipher'],_0x1bb286=_0x33a178[_0x2186cb(0x35b)];_0xb82eb5['call'](this,_0x11bec4,_0x532412,_0x1bb286),_0x33a178[_0x2186cb(0x3e3)](_0x11bec4,_0x532412),this[_0x2186cb(0x280)]=_0x11bec4['slice'](_0x532412,_0x532412+_0x1bb286);}}),_0x1917dc[_0x53de30(0x3a0)]=_0x1917dc[_0x53de30(0x3ec)]({'processBlock':function(_0x3195e9,_0x4f1dde){var _0x13107f=_0x53de30,_0x23228c=this[_0x13107f(0x418)],_0xd127c1=_0x23228c[_0x13107f(0x35b)],_0x1738e8=_0x3195e9[_0x13107f(0x3a5)](_0x4f1dde,_0x4f1dde+_0xd127c1);_0x23228c[_0x13107f(0x361)](_0x3195e9,_0x4f1dde),_0xb82eb5[_0x13107f(0x281)](this,_0x3195e9,_0x4f1dde,_0xd127c1),this['_prevBlock']=_0x1738e8;}});function _0xb82eb5(_0x94ef4d,_0x34ca75,_0x3c3510){var _0x47b843=_0x53de30,_0x48fcbd,_0x398317=this[_0x47b843(0x26e)];_0x398317?(_0x48fcbd=_0x398317,this[_0x47b843(0x26e)]=_0x1fe019):_0x48fcbd=this[_0x47b843(0x280)];for(var _0x5dadda=0x0;_0x5dadda<_0x3c3510;_0x5dadda++)_0x94ef4d[_0x34ca75+_0x5dadda]^=_0x48fcbd[_0x5dadda];}return _0x1917dc;}()),_0x2c1b56=_0x36b024['pad']={},_0x4eb1b9=_0x2c1b56[_0x32f9c7(0x263)]={'pad':function(_0x4172f5,_0x3d523f){var _0x568324=_0x32f9c7;for(var _0x38775f=_0x3d523f*0x4,_0x500c2a=_0x38775f-_0x4172f5[_0x568324(0x328)]%_0x38775f,_0x55e8c3=_0x500c2a<<0x18|_0x500c2a<<0x10|_0x500c2a<<0x8|_0x500c2a,_0x4e3611=[],_0x2e67e6=0x0;_0x2e67e6<_0x500c2a;_0x2e67e6+=0x4)_0x4e3611[_0x568324(0x353)](_0x55e8c3);var _0x3c5102=_0x52f3df['create'](_0x4e3611,_0x500c2a);_0x4172f5[_0x568324(0x3b7)](_0x3c5102);},'unpad':function(_0x24bb62){var _0x47ad52=_0x32f9c7,_0x2b89ca=_0x24bb62[_0x47ad52(0x385)][_0x24bb62['sigBytes']-0x1>>>0x2]&0xff;_0x24bb62[_0x47ad52(0x328)]-=_0x2b89ca;}};_0x2d3e5b[_0x32f9c7(0x236)]=_0x320b4e[_0x32f9c7(0x3ec)]({'cfg':_0x320b4e[_0x32f9c7(0x46d)]['extend']({'mode':_0xa3c79,'padding':_0x4eb1b9}),'reset':function(){var _0x45a0a0=_0x32f9c7,_0x4bac96;_0x320b4e['reset']['call'](this);var _0xbafabc=this[_0x45a0a0(0x46d)],_0x179dd7=_0xbafabc['iv'],_0x277895=_0xbafabc[_0x45a0a0(0x26c)];this[_0x45a0a0(0x1ce)]==this[_0x45a0a0(0x439)]?_0x4bac96=_0x277895[_0x45a0a0(0x3eb)]:(_0x4bac96=_0x277895[_0x45a0a0(0x317)],this['_minBufferSize']=0x1),this[_0x45a0a0(0x46b)]&&this[_0x45a0a0(0x46b)][_0x45a0a0(0x3dd)]==_0x4bac96?this[_0x45a0a0(0x46b)][_0x45a0a0(0x47e)](this,_0x179dd7&&_0x179dd7['words']):(this[_0x45a0a0(0x46b)]=_0x4bac96[_0x45a0a0(0x281)](_0x277895,this,_0x179dd7&&_0x179dd7[_0x45a0a0(0x385)]),this[_0x45a0a0(0x46b)]['__creator']=_0x4bac96);},'_doProcessBlock':function(_0x58cc31,_0xa5647b){this['_mode']['processBlock'](_0x58cc31,_0xa5647b);},'_doFinalize':function(){var _0x176518=_0x32f9c7,_0x10265b,_0x531c07=this[_0x176518(0x46d)][_0x176518(0x17e)];return this[_0x176518(0x1ce)]==this['_ENC_XFORM_MODE']?(_0x531c07[_0x176518(0x420)](this[_0x176518(0x1ef)],this[_0x176518(0x35b)]),_0x10265b=this['_process'](!0x0)):(_0x10265b=this[_0x176518(0x2d4)](!0x0),_0x531c07[_0x176518(0x379)](_0x10265b)),_0x10265b;},'blockSize':0x80/0x20});var _0x880733=_0x2d3e5b[_0x32f9c7(0x2c4)]=_0x1b1a81['extend']({'init':function(_0x4d8d05){var _0x1bf54a=_0x32f9c7;this[_0x1bf54a(0x27d)](_0x4d8d05);},'toString':function(_0x21111a){var _0x1429d5=_0x32f9c7;return(_0x21111a||this[_0x1429d5(0x286)])[_0x1429d5(0x45b)](this);}}),_0x15abf7=_0x36b024[_0x32f9c7(0x199)]={},_0x1fb4d6=_0x15abf7['OpenSSL']={'stringify':function(_0x25c8c0){var _0x1f8c65=_0x32f9c7,_0x4881e9,_0x5f063d=_0x25c8c0[_0x1f8c65(0x243)],_0x3d0e54=_0x25c8c0[_0x1f8c65(0x40a)];return _0x3d0e54?_0x4881e9=_0x52f3df[_0x1f8c65(0x335)]([0x53616c74,0x65645f5f])[_0x1f8c65(0x3b7)](_0x3d0e54)[_0x1f8c65(0x3b7)](_0x5f063d):_0x4881e9=_0x5f063d,_0x4881e9[_0x1f8c65(0x3d8)](_0x53dc36);},'parse':function(_0x3427dc){var _0x5c6be4=_0x32f9c7,_0x19dc59,_0xec6ba5=_0x53dc36[_0x5c6be4(0x295)](_0x3427dc),_0x2ffb47=_0xec6ba5[_0x5c6be4(0x385)];return _0x2ffb47[0x0]==0x53616c74&&_0x2ffb47[0x1]==0x65645f5f&&(_0x19dc59=_0x52f3df['create'](_0x2ffb47[_0x5c6be4(0x3a5)](0x2,0x4)),_0x2ffb47[_0x5c6be4(0x1e6)](0x0,0x4),_0xec6ba5[_0x5c6be4(0x328)]-=0x10),_0x880733[_0x5c6be4(0x335)]({'ciphertext':_0xec6ba5,'salt':_0x19dc59});}},_0x3e70fe=_0x2d3e5b[_0x32f9c7(0x3e2)]=_0x1b1a81[_0x32f9c7(0x3ec)]({'cfg':_0x1b1a81[_0x32f9c7(0x3ec)]({'format':_0x1fb4d6}),'encrypt':function(_0x49ce6f,_0x3ccef5,_0x14af99,_0x15e893){var _0x3941b7=_0x32f9c7;_0x15e893=this[_0x3941b7(0x46d)]['extend'](_0x15e893);var _0x16af05=_0x49ce6f[_0x3941b7(0x3eb)](_0x14af99,_0x15e893),_0x412ec6=_0x16af05[_0x3941b7(0x2f2)](_0x3ccef5),_0x4b5001=_0x16af05[_0x3941b7(0x46d)];return _0x880733[_0x3941b7(0x335)]({'ciphertext':_0x412ec6,'key':_0x14af99,'iv':_0x4b5001['iv'],'algorithm':_0x49ce6f,'mode':_0x4b5001[_0x3941b7(0x26c)],'padding':_0x4b5001[_0x3941b7(0x17e)],'blockSize':_0x49ce6f['blockSize'],'formatter':_0x15e893[_0x3941b7(0x199)]});},'decrypt':function(_0x4bc279,_0x3983a9,_0x40c9f9,_0x388b5e){var _0x55f359=_0x32f9c7;_0x388b5e=this['cfg'][_0x55f359(0x3ec)](_0x388b5e),_0x3983a9=this[_0x55f359(0x34c)](_0x3983a9,_0x388b5e[_0x55f359(0x199)]);var _0x4fff65=_0x4bc279[_0x55f359(0x317)](_0x40c9f9,_0x388b5e)[_0x55f359(0x2f2)](_0x3983a9[_0x55f359(0x243)]);return _0x4fff65;},'_parse':function(_0x3cf22f,_0x4d29f9){var _0x27ff70=_0x32f9c7;return typeof _0x3cf22f==_0x27ff70(0x312)?_0x4d29f9[_0x27ff70(0x295)](_0x3cf22f,this):_0x3cf22f;}}),_0x2ffb99=_0x36b024['kdf']={},_0x53d7ff=_0x2ffb99[_0x32f9c7(0x271)]={'execute':function(_0x41ad7a,_0x19e122,_0x4e4fa3,_0x9ab075,_0x2ec4fd){var _0x52caab=_0x32f9c7;if(_0x9ab075||(_0x9ab075=_0x52f3df['random'](0x40/0x8)),_0x2ec4fd)var _0x1c69e5=_0xf753cc[_0x52caab(0x335)]({'keySize':_0x19e122+_0x4e4fa3,'hasher':_0x2ec4fd})[_0x52caab(0x1dc)](_0x41ad7a,_0x9ab075);else var _0x1c69e5=_0xf753cc[_0x52caab(0x335)]({'keySize':_0x19e122+_0x4e4fa3})[_0x52caab(0x1dc)](_0x41ad7a,_0x9ab075);var _0x3faaf4=_0x52f3df[_0x52caab(0x335)](_0x1c69e5['words'][_0x52caab(0x3a5)](_0x19e122),_0x4e4fa3*0x4);return _0x1c69e5[_0x52caab(0x328)]=_0x19e122*0x4,_0x880733[_0x52caab(0x335)]({'key':_0x1c69e5,'iv':_0x3faaf4,'salt':_0x9ab075});}},_0x51eb26=_0x2d3e5b[_0x32f9c7(0x37b)]=_0x3e70fe['extend']({'cfg':_0x3e70fe[_0x32f9c7(0x46d)][_0x32f9c7(0x3ec)]({'kdf':_0x53d7ff}),'encrypt':function(_0x5cee10,_0x547a4e,_0x417603,_0x56181f){var _0x241297=_0x32f9c7;_0x56181f=this['cfg'][_0x241297(0x3ec)](_0x56181f);var _0x59ec2f=_0x56181f[_0x241297(0x27f)][_0x241297(0x18f)](_0x417603,_0x5cee10['keySize'],_0x5cee10[_0x241297(0x248)],_0x56181f['salt'],_0x56181f['hasher']);_0x56181f['iv']=_0x59ec2f['iv'];var _0x39448c=_0x3e70fe[_0x241297(0x36e)][_0x241297(0x281)](this,_0x5cee10,_0x547a4e,_0x59ec2f[_0x241297(0x255)],_0x56181f);return _0x39448c['mixIn'](_0x59ec2f),_0x39448c;},'decrypt':function(_0x5ece4d,_0x5ddd7a,_0x49262c,_0x2114b7){var _0x33cd4f=_0x32f9c7;_0x2114b7=this[_0x33cd4f(0x46d)][_0x33cd4f(0x3ec)](_0x2114b7),_0x5ddd7a=this[_0x33cd4f(0x34c)](_0x5ddd7a,_0x2114b7[_0x33cd4f(0x199)]);var _0x467e01=_0x2114b7[_0x33cd4f(0x27f)][_0x33cd4f(0x18f)](_0x49262c,_0x5ece4d['keySize'],_0x5ece4d[_0x33cd4f(0x248)],_0x5ddd7a[_0x33cd4f(0x40a)],_0x2114b7['hasher']);_0x2114b7['iv']=_0x467e01['iv'];var _0x20ed09=_0x3e70fe[_0x33cd4f(0x227)]['call'](this,_0x5ece4d,_0x5ddd7a,_0x467e01['key'],_0x2114b7);return _0x20ed09;}});}();}));}(Je)),Je['exports'];}var gn=Ve['exports'],ti;function Sn(){var _0x21d08a=_0x5410a2;return ti||(ti=0x1,function(_0x2dd687,_0x5487b1){(function(_0x4b77f4,_0x4206f2,_0x47a82c){var _0x217005=_0x48ad;_0x2dd687[_0x217005(0x21e)]=_0x4206f2(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x26adff){var _0x729ce4=_0x48ad;return(function(){var _0x90b37b=_0x48ad,_0x2aee63=_0x26adff,_0x4a5187=_0x2aee63[_0x90b37b(0x3fa)],_0x1e9156=_0x4a5187[_0x90b37b(0x236)],_0x5080cd=_0x2aee63[_0x90b37b(0x3b1)],_0x39d49d=[],_0x36eb0d=[],_0x44e3f1=[],_0x2f4493=[],_0x16d04d=[],_0x385e69=[],_0x453f29=[],_0x2c1408=[],_0x33aa19=[],_0x1f0cc0=[];(function(){for(var _0x42bda6=[],_0x58f659=0x0;_0x58f659<0x100;_0x58f659++)_0x58f659<0x80?_0x42bda6[_0x58f659]=_0x58f659<<0x1:_0x42bda6[_0x58f659]=_0x58f659<<0x1^0x11b;for(var _0x29e6a8=0x0,_0x18ee5e=0x0,_0x58f659=0x0;_0x58f659<0x100;_0x58f659++){var _0x19ed4c=_0x18ee5e^_0x18ee5e<<0x1^_0x18ee5e<<0x2^_0x18ee5e<<0x3^_0x18ee5e<<0x4;_0x19ed4c=_0x19ed4c>>>0x8^_0x19ed4c&0xff^0x63,_0x39d49d[_0x29e6a8]=_0x19ed4c,_0x36eb0d[_0x19ed4c]=_0x29e6a8;var _0x52ff53=_0x42bda6[_0x29e6a8],_0x1b7aad=_0x42bda6[_0x52ff53],_0x5ab267=_0x42bda6[_0x1b7aad],_0xa939a1=_0x42bda6[_0x19ed4c]*0x101^_0x19ed4c*0x1010100;_0x44e3f1[_0x29e6a8]=_0xa939a1<<0x18|_0xa939a1>>>0x8,_0x2f4493[_0x29e6a8]=_0xa939a1<<0x10|_0xa939a1>>>0x10,_0x16d04d[_0x29e6a8]=_0xa939a1<<0x8|_0xa939a1>>>0x18,_0x385e69[_0x29e6a8]=_0xa939a1;var _0xa939a1=_0x5ab267*0x1010101^_0x1b7aad*0x10001^_0x52ff53*0x101^_0x29e6a8*0x1010100;_0x453f29[_0x19ed4c]=_0xa939a1<<0x18|_0xa939a1>>>0x8,_0x2c1408[_0x19ed4c]=_0xa939a1<<0x10|_0xa939a1>>>0x10,_0x33aa19[_0x19ed4c]=_0xa939a1<<0x8|_0xa939a1>>>0x18,_0x1f0cc0[_0x19ed4c]=_0xa939a1,_0x29e6a8?(_0x29e6a8=_0x52ff53^_0x42bda6[_0x42bda6[_0x42bda6[_0x5ab267^_0x52ff53]]],_0x18ee5e^=_0x42bda6[_0x42bda6[_0x18ee5e]]):_0x29e6a8=_0x18ee5e=0x1;}}());var _0x45d10d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x344f47=_0x5080cd[_0x90b37b(0x231)]=_0x1e9156[_0x90b37b(0x3ec)]({'_doReset':function(){var _0x38fb96=_0x90b37b,_0x326ce7;if(!(this[_0x38fb96(0x2de)]&&this[_0x38fb96(0x189)]===this[_0x38fb96(0x1b3)])){for(var _0x3ca0be=this[_0x38fb96(0x189)]=this[_0x38fb96(0x1b3)],_0x1881c3=_0x3ca0be[_0x38fb96(0x385)],_0x332835=_0x3ca0be['sigBytes']/0x4,_0x4e5937=this[_0x38fb96(0x2de)]=_0x332835+0x6,_0x402533=(_0x4e5937+0x1)*0x4,_0x1c6afb=this[_0x38fb96(0x365)]=[],_0x2690b7=0x0;_0x2690b7<_0x402533;_0x2690b7++)_0x2690b7<_0x332835?_0x1c6afb[_0x2690b7]=_0x1881c3[_0x2690b7]:(_0x326ce7=_0x1c6afb[_0x2690b7-0x1],_0x2690b7%_0x332835?_0x332835>0x6&&_0x2690b7%_0x332835==0x4&&(_0x326ce7=_0x39d49d[_0x326ce7>>>0x18]<<0x18|_0x39d49d[_0x326ce7>>>0x10&0xff]<<0x10|_0x39d49d[_0x326ce7>>>0x8&0xff]<<0x8|_0x39d49d[_0x326ce7&0xff]):(_0x326ce7=_0x326ce7<<0x8|_0x326ce7>>>0x18,_0x326ce7=_0x39d49d[_0x326ce7>>>0x18]<<0x18|_0x39d49d[_0x326ce7>>>0x10&0xff]<<0x10|_0x39d49d[_0x326ce7>>>0x8&0xff]<<0x8|_0x39d49d[_0x326ce7&0xff],_0x326ce7^=_0x45d10d[_0x2690b7/_0x332835|0x0]<<0x18),_0x1c6afb[_0x2690b7]=_0x1c6afb[_0x2690b7-_0x332835]^_0x326ce7);for(var _0x246d4e=this[_0x38fb96(0x35c)]=[],_0x55842c=0x0;_0x55842c<_0x402533;_0x55842c++){var _0x2690b7=_0x402533-_0x55842c;if(_0x55842c%0x4)var _0x326ce7=_0x1c6afb[_0x2690b7];else var _0x326ce7=_0x1c6afb[_0x2690b7-0x4];_0x55842c<0x4||_0x2690b7<=0x4?_0x246d4e[_0x55842c]=_0x326ce7:_0x246d4e[_0x55842c]=_0x453f29[_0x39d49d[_0x326ce7>>>0x18]]^_0x2c1408[_0x39d49d[_0x326ce7>>>0x10&0xff]]^_0x33aa19[_0x39d49d[_0x326ce7>>>0x8&0xff]]^_0x1f0cc0[_0x39d49d[_0x326ce7&0xff]];}}},'encryptBlock':function(_0x56b777,_0x5c0e87){this['_doCryptBlock'](_0x56b777,_0x5c0e87,this['_keySchedule'],_0x44e3f1,_0x2f4493,_0x16d04d,_0x385e69,_0x39d49d);},'decryptBlock':function(_0x2d29ee,_0x1d479a){var _0x2d7eb6=_0x90b37b,_0x3c6f5a=_0x2d29ee[_0x1d479a+0x1];_0x2d29ee[_0x1d479a+0x1]=_0x2d29ee[_0x1d479a+0x3],_0x2d29ee[_0x1d479a+0x3]=_0x3c6f5a,this[_0x2d7eb6(0x383)](_0x2d29ee,_0x1d479a,this['_invKeySchedule'],_0x453f29,_0x2c1408,_0x33aa19,_0x1f0cc0,_0x36eb0d);var _0x3c6f5a=_0x2d29ee[_0x1d479a+0x1];_0x2d29ee[_0x1d479a+0x1]=_0x2d29ee[_0x1d479a+0x3],_0x2d29ee[_0x1d479a+0x3]=_0x3c6f5a;},'_doCryptBlock':function(_0xac3e27,_0x533e67,_0x574ac1,_0x3094d7,_0x3403ff,_0x399930,_0x1d0057,_0x37eb0a){for(var _0x570d29=this['_nRounds'],_0x3bdf01=_0xac3e27[_0x533e67]^_0x574ac1[0x0],_0x17c7ba=_0xac3e27[_0x533e67+0x1]^_0x574ac1[0x1],_0x3320bd=_0xac3e27[_0x533e67+0x2]^_0x574ac1[0x2],_0x4b0b60=_0xac3e27[_0x533e67+0x3]^_0x574ac1[0x3],_0x51c68d=0x4,_0x598ad3=0x1;_0x598ad3<_0x570d29;_0x598ad3++){var _0x35fea0=_0x3094d7[_0x3bdf01>>>0x18]^_0x3403ff[_0x17c7ba>>>0x10&0xff]^_0x399930[_0x3320bd>>>0x8&0xff]^_0x1d0057[_0x4b0b60&0xff]^_0x574ac1[_0x51c68d++],_0x1b456c=_0x3094d7[_0x17c7ba>>>0x18]^_0x3403ff[_0x3320bd>>>0x10&0xff]^_0x399930[_0x4b0b60>>>0x8&0xff]^_0x1d0057[_0x3bdf01&0xff]^_0x574ac1[_0x51c68d++],_0x3db63c=_0x3094d7[_0x3320bd>>>0x18]^_0x3403ff[_0x4b0b60>>>0x10&0xff]^_0x399930[_0x3bdf01>>>0x8&0xff]^_0x1d0057[_0x17c7ba&0xff]^_0x574ac1[_0x51c68d++],_0x2f1b1a=_0x3094d7[_0x4b0b60>>>0x18]^_0x3403ff[_0x3bdf01>>>0x10&0xff]^_0x399930[_0x17c7ba>>>0x8&0xff]^_0x1d0057[_0x3320bd&0xff]^_0x574ac1[_0x51c68d++];_0x3bdf01=_0x35fea0,_0x17c7ba=_0x1b456c,_0x3320bd=_0x3db63c,_0x4b0b60=_0x2f1b1a;}var _0x35fea0=(_0x37eb0a[_0x3bdf01>>>0x18]<<0x18|_0x37eb0a[_0x17c7ba>>>0x10&0xff]<<0x10|_0x37eb0a[_0x3320bd>>>0x8&0xff]<<0x8|_0x37eb0a[_0x4b0b60&0xff])^_0x574ac1[_0x51c68d++],_0x1b456c=(_0x37eb0a[_0x17c7ba>>>0x18]<<0x18|_0x37eb0a[_0x3320bd>>>0x10&0xff]<<0x10|_0x37eb0a[_0x4b0b60>>>0x8&0xff]<<0x8|_0x37eb0a[_0x3bdf01&0xff])^_0x574ac1[_0x51c68d++],_0x3db63c=(_0x37eb0a[_0x3320bd>>>0x18]<<0x18|_0x37eb0a[_0x4b0b60>>>0x10&0xff]<<0x10|_0x37eb0a[_0x3bdf01>>>0x8&0xff]<<0x8|_0x37eb0a[_0x17c7ba&0xff])^_0x574ac1[_0x51c68d++],_0x2f1b1a=(_0x37eb0a[_0x4b0b60>>>0x18]<<0x18|_0x37eb0a[_0x3bdf01>>>0x10&0xff]<<0x10|_0x37eb0a[_0x17c7ba>>>0x8&0xff]<<0x8|_0x37eb0a[_0x3320bd&0xff])^_0x574ac1[_0x51c68d++];_0xac3e27[_0x533e67]=_0x35fea0,_0xac3e27[_0x533e67+0x1]=_0x1b456c,_0xac3e27[_0x533e67+0x2]=_0x3db63c,_0xac3e27[_0x533e67+0x3]=_0x2f1b1a;},'keySize':0x100/0x20});_0x2aee63[_0x90b37b(0x231)]=_0x1e9156['_createHelper'](_0x344f47);}()),_0x26adff[_0x729ce4(0x231)];}));}(Ve)),Ve[_0x21d08a(0x21e)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe['exports'],si;function Rn(){var _0x279284=_0x5410a2;return si||(si=0x1,function(_0x13d671,_0xa48356){(function(_0x47f59a,_0x3e8a88){var _0x24dbc1=_0x48ad;_0x13d671[_0x24dbc1(0x21e)]=_0x3e8a88(te());}(Cn,function(_0x39e5ab){var _0x57058e=_0x48ad;return _0x39e5ab[_0x57058e(0x216)][_0x57058e(0x38e)];}));}(Xe)),Xe[_0x279284(0x21e)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x5410a2(0x21e)],ni;function Nn(){var _0x1fddfb=_0x5410a2;return ni||(ni=0x1,function(_0x577631,_0x3b1210){(function(_0x4c8b0a,_0x39058e){var _0x1f8018=_0x48ad;_0x577631[_0x1f8018(0x21e)]=_0x39058e(te());}(yn,function(_0x975461){var _0x5d0ac7=_0x48ad;return(function(){var _0x3b37b4=_0x48ad;if(typeof ArrayBuffer=='function'){var _0x2c3097=_0x975461,_0x43c00a=_0x2c3097[_0x3b37b4(0x3fa)],_0x1bcb04=_0x43c00a[_0x3b37b4(0x3cb)],_0x4e46a9=_0x1bcb04['init'],_0x16dc09=_0x1bcb04['init']=function(_0x3a5857){var _0x39c85b=_0x3b37b4;if(_0x3a5857 instanceof ArrayBuffer&&(_0x3a5857=new Uint8Array(_0x3a5857)),(_0x3a5857 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3a5857 instanceof Uint8ClampedArray||_0x3a5857 instanceof Int16Array||_0x3a5857 instanceof Uint16Array||_0x3a5857 instanceof Int32Array||_0x3a5857 instanceof Uint32Array||_0x3a5857 instanceof Float32Array||_0x3a5857 instanceof Float64Array)&&(_0x3a5857=new Uint8Array(_0x3a5857['buffer'],_0x3a5857[_0x39c85b(0x203)],_0x3a5857[_0x39c85b(0x346)])),_0x3a5857 instanceof Uint8Array){for(var _0x48eb0=_0x3a5857[_0x39c85b(0x346)],_0x2fc17d=[],_0x1f8500=0x0;_0x1f8500<_0x48eb0;_0x1f8500++)_0x2fc17d[_0x1f8500>>>0x2]|=_0x3a5857[_0x1f8500]<<0x18-_0x1f8500%0x4*0x8;_0x4e46a9[_0x39c85b(0x281)](this,_0x2fc17d,_0x48eb0);}else _0x4e46a9[_0x39c85b(0x392)](this,arguments);};_0x16dc09[_0x3b37b4(0x2f1)]=_0x1bcb04;}}()),_0x975461['lib'][_0x5d0ac7(0x3cb)];}));}(Ze)),Ze[_0x1fddfb(0x21e)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x382a73=_0x5410a2;return ri||(ri=0x1,function(_0xd7be23,_0x74fb56){(function(_0x482fee,_0x1a86d8,_0x2423af){var _0x477ea7=_0x48ad;_0xd7be23[_0x477ea7(0x21e)]=_0x1a86d8(te(),bi());}(An,function(_0xb2b3ce){var _0x31138d=_0x48ad;return _0xb2b3ce[_0x31138d(0x420)][_0x31138d(0x250)]={'pad':function(){},'unpad':function(){}},_0xb2b3ce[_0x31138d(0x420)][_0x31138d(0x250)];}));}(Qe)),Qe[_0x382a73(0x21e)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x3dcfb2,_0x22c4b6){var _0x1252b5=_0x5410a2;const _0x119a7d=_0x22c4b6-_0x3dcfb2[_0x1252b5(0x323)]%_0x22c4b6,_0x1c1561=String[_0x1252b5(0x2bf)](_0x119a7d)[_0x1252b5(0x33d)](_0x119a7d);return _0x3dcfb2+_0x1c1561;}function xn(_0x44c79b,_0x116f61){var _0x5ee9a0=_0x5410a2;const _0x4e2f62=Un['random'](0x10),_0x4ccb8b=Ln(_0x44c79b,0x10),_0x2e30f1=In['encrypt'](bn[_0x5ee9a0(0x295)](_0x4ccb8b),ii[_0x5ee9a0(0x295)](_0x116f61),{'iv':_0x4e2f62,'padding':Mn});return _0x4e2f62['concat'](_0x2e30f1[_0x5ee9a0(0x243)])[_0x5ee9a0(0x3d8)](ii);}function kn(){var _0xad28fe=_0x5410a2;const _0x56696=_0x1a58a6()[_0xad28fe(0x3df)];if(_0x56696){const _0x43f119={'time':Math[_0xad28fe(0x3fd)](Date[_0xad28fe(0x3a9)]()/0x3e8),'domain':location[_0xad28fe(0x38c)]};return xn(JSON[_0xad28fe(0x45b)](_0x43f119),_0x56696);}}var $n=Object[_0x5410a2(0x2a3)],Hn=(_0x17f51e,_0xb7e829,_0x27e73b,_0xc1a556)=>{var _0x29d7e5=_0x5410a2;for(var _0x5bbeb1=_0xc1a556>0x1?void 0x0:_0xc1a556?$n(_0xb7e829,_0x27e73b):_0xb7e829,_0x385f32=_0x17f51e[_0x29d7e5(0x323)]-0x1,_0x331e9d;_0x385f32>=0x0;_0x385f32--)(_0x331e9d=_0x17f51e[_0x385f32])&&(_0x5bbeb1=_0x331e9d(_0x5bbeb1)||_0x5bbeb1);return _0x5bbeb1;},Bn=(_0x550581,_0x495de9)=>(_0x43e7a1,_0x13d2ee)=>_0x495de9(_0x43e7a1,_0x13d2ee,_0x550581);let at=class{constructor(_0x7f09ee){var _0x2e651d=_0x5410a2;this[_0x2e651d(0x3a7)]=_0x7f09ee,this['_initRequestHeader']();}[_0x5410a2(0x44b)](){var _0x793cf3=_0x5410a2;this['_httpService'][_0x793cf3(0x470)]({'interceptor':(_0x5eda32,_0x142162)=>{var _0x3cf735=_0x793cf3;const _0xb805b7=_0x5eda32[_0x3cf735(0x210)],_0x13444e=kn();return _0x13444e&&_0xb805b7[_0x3cf735(0x1b2)](_0x3cf735(0x32a),_0x13444e),_0x142162(_0x5eda32);}});}};at=Hn([Bn(0x0,_0x2a67ea(_0x4adef9))],at);var jn=Object[_0x5410a2(0x2a3)],Fn=(_0x36dc83,_0x1b5202,_0x5ab0c0,_0x5d7c8f)=>{for(var _0x4cbb66=_0x5d7c8f>0x1?void 0x0:_0x5d7c8f?jn(_0x1b5202,_0x5ab0c0):_0x1b5202,_0x3e634a=_0x36dc83['length']-0x1,_0x165de6;_0x3e634a>=0x0;_0x3e634a--)(_0x165de6=_0x36dc83[_0x3e634a])&&(_0x4cbb66=_0x165de6(_0x4cbb66)||_0x4cbb66);return _0x4cbb66;},vt=(_0x5f0891,_0x486323)=>(_0x331c34,_0x325175)=>_0x486323(_0x331c34,_0x325175,_0x5f0891);let Ct=class extends _0x11e454{constructor(_0x319082,_0x2c5e86,_0x28930f){var _0x27ac3d=_0x5410a2;super(),N(this,'_unitInfo$',new _0xc40a72(null)),N(this,_0x27ac3d(0x201),this[_0x27ac3d(0x194)][_0x27ac3d(0x449)]()),(this[_0x27ac3d(0x352)]=_0x319082,this[_0x27ac3d(0x28b)]=_0x2c5e86,this['_localCacheService']=_0x28930f);}async['loadUnitOfRevision'](_0x443884,_0x32d21d,_0x5526f2){var _0x576fc5=_0x5410a2;this['_unitInfo$'][_0x576fc5(0x451)]({'unitId':_0x443884,'type':_0x32d21d});let _0x56d5b7=null;switch(_0x32d21d){case Z[_0x576fc5(0x386)]:{_0x56d5b7=await this['_snapshotService']['loadSheet'](_0x443884,_0x5526f2);break;}case Z[_0x576fc5(0x3c7)]:{_0x56d5b7=await this[_0x576fc5(0x28b)][_0x576fc5(0x24b)](_0x443884,_0x5526f2);break;}default:{this[_0x576fc5(0x352)][_0x576fc5(0x1ff)](_0x576fc5(0x20e),_0x576fc5(0x372));break;}}return _0x56d5b7;}async[_0x5410a2(0x368)](_0x14ed3c,_0x19a0e3,_0x7b8701){var _0x176976=_0x5410a2,_0x369e84;this[_0x176976(0x194)]['next']({'unitId':_0x14ed3c,'type':_0x19a0e3,'subUnitId':_0x7b8701});let _0x6b2246=0x0;const _0x483f76=await((_0x369e84=this[_0x176976(0x3e4)])==null?void 0x0:_0x369e84['loadOfflineData'](_0x14ed3c));return _0x483f76&&(_0x483f76[_0x176976(0x388)]||_0x483f76[_0x176976(0x339)][_0x176976(0x323)]!==0x0)&&(_0x6b2246=_0x483f76[_0x176976(0x3e0)]),_0x6b2246===0x0&&this['_logService'][_0x176976(0x3f1)](_0x176976(0x20e),_0x176976(0x30d)),this[_0x176976(0x26d)](_0x14ed3c,_0x19a0e3,_0x6b2246);}};Ct=Fn([vt(0x0,_0x3229e5),vt(0x1,_0x2a67ea(_0x495ffc)),vt(0x2,_0x38fedb(J))],Ct);var Vn=Object[_0x5410a2(0x2a3)],Wn=(_0x391b57,_0x1bfecb,_0x46cc32,_0x3e4c24)=>{var _0x1e1e83=_0x5410a2;for(var _0x5f4e02=_0x3e4c24>0x1?void 0x0:_0x3e4c24?Vn(_0x1bfecb,_0x46cc32):_0x1bfecb,_0xbd3ba=_0x391b57[_0x1e1e83(0x323)]-0x1,_0x4d37e0;_0xbd3ba>=0x0;_0xbd3ba--)(_0x4d37e0=_0x391b57[_0xbd3ba])&&(_0x5f4e02=_0x4d37e0(_0x5f4e02)||_0x5f4e02);return _0x5f4e02;},pt=(_0x3ea7a5,_0x4ce253)=>(_0x5426a0,_0xa07f06)=>_0x4ce253(_0x5426a0,_0xa07f06,_0x3ea7a5);const Gn=[_0x5410a2(0x2ee),_0x5410a2(0x411),_0x5410a2(0x36a),_0x5410a2(0x1ea),_0x5410a2(0x32e)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x5410a2(0x17d);let Rt=class{constructor(_0x2cafe0,_0x450a1b,_0xae36fd){var _0x22046f=_0x5410a2;N(this,_0x22046f(0x404),0x0),N(this,_0x22046f(0x3ba),new _0x3a3a31()),N(this,'change$',this[_0x22046f(0x3ba)]),N(this,'_imageSourceCache',new Map()),(this[_0x22046f(0x3a7)]=_0x2cafe0,this[_0x22046f(0x39f)]=_0x450a1b,this['_univerInstanceService']=_0xae36fd);}['setWaitCount'](_0x1d1101){var _0x520684=_0x5410a2;this[_0x520684(0x404)]=_0x1d1101,this[_0x520684(0x3ba)][_0x520684(0x451)](_0x1d1101);}[_0x5410a2(0x1a9)](_0x1f19e2,_0x2e406b){var _0x2ea3ba=_0x5410a2;if(_0x2e406b===_0x109204[_0x2ea3ba(0x457)]){const _0x7bd27f=new Image();return _0x7bd27f[_0x2ea3ba(0x315)]=_0x1f19e2,_0x7bd27f;}return this[_0x2ea3ba(0x2b6)][_0x2ea3ba(0x19f)](_0x1f19e2);}[_0x5410a2(0x34b)](_0x204185,_0x31032d,_0x19e60e){var _0xb11af5=_0x5410a2;_0x31032d===_0x109204[_0xb11af5(0x457)]||_0x19e60e==null||this[_0xb11af5(0x2b6)][_0xb11af5(0x1b2)](_0x204185,_0x19e60e);}async['getImage'](_0x4a6f14){var _0x2b7955=_0x5410a2;try{const _0x209c57=this[_0x2b7955(0x303)](this[_0x2b7955(0x3d9)](),''+_0x4a6f14),_0xa75529=(await this[_0x2b7955(0x3a7)][_0x2b7955(0x19f)](_0x209c57))[_0x2b7955(0x26a)];if(_0xa75529['error']&&_0xa75529[_0x2b7955(0x1ff)][_0x2b7955(0x278)]===vi['OK']){const _0x5eda0e=new URL(_0xa75529[_0x2b7955(0x391)],this[_0x2b7955(0x42b)]())['toString']();return Promise[_0x2b7955(0x348)](_0x5eda0e);}return Promise[_0x2b7955(0x3d7)](_0xa75529['error']);}catch(_0x2ccf93){return Promise[_0x2b7955(0x3d7)](_0x2ccf93);}}async[_0x5410a2(0x417)](_0xdeb384){var _0x386365=_0x5410a2;let _0x199788='';if(!Gn['includes'](_0xdeb384[_0x386365(0x1a8)]))return this[_0x386365(0x1de)](),Promise[_0x386365(0x3d7)](new Error(_0x1ac2f5[_0x386365(0x252)]));if(_0xdeb384[_0x386365(0x43b)]>Yn)return this[_0x386365(0x1de)](),Promise[_0x386365(0x3d7)](new Error(_0x1ac2f5[_0x386365(0x2ed)]));try{const _0x7d0d72=new FormData();_0x7d0d72['append']('file',_0xdeb384);const _0x42d8b7=this[_0x386365(0x34a)][_0x386365(0x1b5)](),_0x4da082=_0x42d8b7==null?void 0x0:_0x42d8b7[_0x386365(0x313)]();if(!_0x4da082)throw new Error(_0x386365(0x331));const _0x34fc67=this['_getUploadFileURL']()+_0x386365(0x440)+_0xdeb384['size'][_0x386365(0x3d8)]()+_0x386365(0x2b7)+pi[_0x386365(0x2a7)]+_0x386365(0x442)+encodeURIComponent(_0x4da082),_0x3ae27e={'body':_0x7d0d72},_0xc8fc9=(await this[_0x386365(0x3a7)][_0x386365(0x3c2)](_0x34fc67,_0x3ae27e))['body'];if(typeof _0xc8fc9[_0x386365(0x1c9)]!='string')return this[_0x386365(0x1de)](),Promise[_0x386365(0x3d7)](new Error(_0x1ac2f5[_0x386365(0x362)]));_0x199788=_0xc8fc9['FileId'];}catch{return this[_0x386365(0x1de)](),Promise[_0x386365(0x3d7)](new Error(_0x1ac2f5[_0x386365(0x362)]));}return new Promise((_0x4991d2,_0xf0246e)=>{var _0x404358=_0x386365;const _0x307d0a=new FileReader();_0x307d0a['readAsDataURL'](_0xdeb384),_0x307d0a[_0x404358(0x1f3)]=_0x346627=>{var _0x21dd04=_0x404358,_0x1d7143;const _0x3ba005=(_0x1d7143=_0x346627[_0x21dd04(0x338)])==null?void 0x0:_0x1d7143[_0x21dd04(0x3e9)];if(_0x3ba005==null){this[_0x21dd04(0x1de)](),_0xf0246e(new Error(_0x1ac2f5[_0x21dd04(0x362)]));return;}const _0x3cfcc0=_0x38c2fb(0x6);_0x4991d2({'imageId':_0x3cfcc0,'imageSourceType':_0x109204[_0x21dd04(0x2e3)],'source':_0x199788,'base64Cache':_0x3ba005,'status':_0x1ac2f5[_0x21dd04(0x2eb)]}),this[_0x21dd04(0x1de)]();};});}[_0x5410a2(0x2fa)](){var _0xe3a07b=_0x5410a2,_0x40e876;const _0x2b5e65=this['_configService'][_0xe3a07b(0x467)](K);return(_0x40e876=_0x2b5e65==null?void 0x0:_0x2b5e65[_0xe3a07b(0x1d5)])!=null?_0x40e876:Kn;}[_0x5410a2(0x3d9)](){var _0x258c32=_0x5410a2,_0x52260a;const _0x5e4753=this[_0x258c32(0x39f)][_0x258c32(0x467)](K);return(_0x52260a=_0x5e4753==null?void 0x0:_0x5e4753['signUrlServerUrl'])!=null?_0x52260a:qn;}['_getDownloadEndpointURL'](){var _0x5da949=_0x5410a2,_0x593c06;const _0x44074d=this[_0x5da949(0x39f)][_0x5da949(0x467)](K);return(_0x593c06=_0x44074d==null?void 0x0:_0x44074d['downloadEndpointUrl'])!=null?_0x593c06:location[_0x5da949(0x229)];}[_0x5410a2(0x303)](_0x30f5ae,_0xd81b54){var _0x4b29f0=_0x5410a2;return _0x30f5ae[_0x4b29f0(0x2c9)](_0x4b29f0(0x399),_0xd81b54);}[_0x5410a2(0x1de)](){var _0x3af756=_0x5410a2;this[_0x3af756(0x404)]-=0x1,this[_0x3af756(0x3ba)][_0x3af756(0x451)](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x2a67ea(_0x4adef9)),pt(0x1,_0x54dc50),pt(0x2,_0x2a67ea(_0x1f2fda))],Rt);var zn=Object[_0x5410a2(0x2a3)],Jn=(_0x1ccd52,_0x457b20,_0x36d653,_0x376fdd)=>{var _0x1f130a=_0x5410a2;for(var _0x280be7=_0x376fdd>0x1?void 0x0:_0x376fdd?zn(_0x457b20,_0x36d653):_0x457b20,_0xffd4bb=_0x1ccd52[_0x1f130a(0x323)]-0x1,_0x50b09a;_0xffd4bb>=0x0;_0xffd4bb--)(_0x50b09a=_0x1ccd52[_0xffd4bb])&&(_0x280be7=_0x50b09a(_0x280be7)||_0x280be7);return _0x280be7;},ai=(_0x388bb0,_0x3a70f3)=>(_0x517378,_0x53c905)=>_0x3a70f3(_0x517378,_0x53c905,_0x388bb0);const Xn=_0x5410a2(0x2ba);let Ot=class{constructor(_0x82d0c1,_0x8671d4){var _0x99d751=_0x5410a2;this['_configService']=_0x82d0c1,this[_0x99d751(0x279)]=_0x8671d4;}['_getAPIPrefixPath'](){var _0xf67a97=_0x5410a2,_0x763cb7;const _0x5be488=this[_0xf67a97(0x39f)][_0xf67a97(0x467)](K);return(_0x763cb7=_0x5be488==null?void 0x0:_0x5be488[_0xf67a97(0x397)])!=null?_0x763cb7:Xn;}async[_0x5410a2(0x3c8)](_0x29b1d1){var _0x2a58e8=_0x5410a2;const _0x49e81b=this[_0x2a58e8(0x33c)]()+_0x2a58e8(0x253);return{'list':[{'title':_0x2a58e8(0x3f8),'mentions':(await this[_0x2a58e8(0x279)][_0x2a58e8(0x19f)](_0x49e81b,{'params':{'objectID':_0x29b1d1['unitId'],'unitID':_0x29b1d1[_0x2a58e8(0x1d8)]}}))['body'][_0x2a58e8(0x466)]['map'](_0x15e176=>({'objectId':_0x15e176['id'],'name':_0x15e176[_0x2a58e8(0x2c7)][_0x2a58e8(0x40b)],'metadata':{'icon':_0x15e176[_0x2a58e8(0x2c7)][_0x2a58e8(0x371)]},'label':_0x15e176[_0x2a58e8(0x2c7)]['name'],'objectType':_0x50c1f8['PERSON']})),'metadata':{},'type':_0x50c1f8[_0x2a58e8(0x37a)]}]};}};Ot=Jn([ai(0x0,_0x2a67ea(_0x54dc50)),ai(0x1,_0x2a67ea(_0x4adef9))],Ot);var Zn=Object[_0x5410a2(0x2a3)],Qn=(_0x24c42c,_0x112575,_0x3df1ea,_0x61d3cc)=>{for(var _0x5f2e0f=_0x61d3cc>0x1?void 0x0:_0x61d3cc?Zn(_0x112575,_0x3df1ea):_0x112575,_0x46bf0f=_0x24c42c['length']-0x1,_0xccc78d;_0x46bf0f>=0x0;_0x46bf0f--)(_0xccc78d=_0x24c42c[_0x46bf0f])&&(_0x5f2e0f=_0xccc78d(_0x5f2e0f)||_0x5f2e0f);return _0x5f2e0f;},Ue=(_0xfbaa23,_0x5291b7)=>(_0x4c912f,_0x504e82)=>_0x5291b7(_0x4c912f,_0x504e82,_0xfbaa23);let ot=class extends _0x11e454{constructor(_0x4debce,_0x15cda9,_0x42b5dd,_0x3f1487,_0x3ba6b5){var _0x31f8cf=_0x5410a2;super(),this[_0x31f8cf(0x3c3)]=_0x4debce,this[_0x31f8cf(0x34a)]=_0x15cda9,this['_permissionService']=_0x42b5dd,this[_0x31f8cf(0x197)]=_0x3f1487,this[_0x31f8cf(0x21b)]=_0x3ba6b5,this[_0x31f8cf(0x259)](),this[_0x31f8cf(0x1bc)]();}[_0x5410a2(0x1bc)](){var _0x5a1417=_0x5410a2;const _0x3a3507=async _0xd5fb0e=>{var _0x47d8d5=_0x48ad;(await this['_collaborationSessionService'][_0x47d8d5(0x433)](_0xd5fb0e))[_0x47d8d5(0x3f4)][_0x47d8d5(0x1bf)](_0x1eed09(_0x14e3ef=>_0x14e3ef['eventID']===_0x58a832[_0x47d8d5(0x415)]),_0x5c1d21(this['dispose$']))[_0x47d8d5(0x3a8)](_0x493aeb=>{var _0x2cfa09=_0x47d8d5;const _0x1a15cf=_0x493aeb,{reason:_0xf35305}=_0x1a15cf[_0x2cfa09(0x246)];this[_0x2cfa09(0x21b)][_0x2cfa09(0x2b4)]({'id':ne[_0x2cfa09(0x37d)],'data':_0xf35305}),this[_0x2cfa09(0x277)][_0x2cfa09(0x3ea)](new _0x3078fa(_0xd5fb0e)['id'],!0x1),this[_0x2cfa09(0x197)][_0x2cfa09(0x294)](_0xd5fb0e);});};_0x350ea0(this['_univerInstanceService'][_0x5a1417(0x17c)](_0x6591bc[_0x5a1417(0x386)]),this[_0x5a1417(0x34a)]['getTypeOfUnitAdded$'](_0x6591bc[_0x5a1417(0x3c7)]))['pipe'](_0x271875(_0x5f121b=>_0x5f121b['getUnitId']()),_0x1eed09(_0x136ade=>!_0x52ebf6(_0x136ade)),_0x5c1d21(this[_0x5a1417(0x241)]))[_0x5a1417(0x3a8)](_0x46134c=>{_0x3a3507(_0x46134c);});}[_0x5410a2(0x259)](){var _0x317a98=_0x5410a2;const _0x324842=async _0x579054=>{var _0x4b4f0f=_0x48ad;const _0x3cbf7d=await this[_0x4b4f0f(0x197)][_0x4b4f0f(0x433)](_0x579054),_0x4ea65b=this[_0x4b4f0f(0x3c3)]['get'](_0x4231b0);_0x3cbf7d[_0x4b4f0f(0x3f4)]['pipe'](_0x1eed09(_0x2e0d1c=>_0x2e0d1c['eventID']===_0x58a832[_0x4b4f0f(0x205)]),_0x5c1d21(this[_0x4b4f0f(0x241)]))['subscribe'](_0x56f954=>{var _0x6bb156=_0x4b4f0f;const _0x34dd72=_0x56f954,{objectId:_0x519afa}=_0x34dd72[_0x6bb156(0x246)];_0x519afa===_0x579054?_0x4ea65b[_0x6bb156(0x2db)](_0x579054):_0x4ea65b[_0x6bb156(0x2d6)](_0x579054,_0x519afa);});};_0x350ea0(this[_0x317a98(0x34a)][_0x317a98(0x17c)](_0x6591bc[_0x317a98(0x386)]))[_0x317a98(0x1bf)](_0x271875(_0x567fd4=>_0x567fd4[_0x317a98(0x313)]()),_0x1eed09(_0x44c531=>!_0x52ebf6(_0x44c531)),_0x5c1d21(this[_0x317a98(0x241)]))[_0x317a98(0x3a8)](_0x3d25ea=>{_0x324842(_0x3d25ea);});}};ot=Qn([Ue(0x0,_0x2a67ea(_0xb9171d)),Ue(0x1,_0x1f2fda),Ue(0x2,_0x5a942e),Ue(0x3,_0x2a67ea(Pe)),Ue(0x4,_0x2a67ea(ve))],ot);var er=Object[_0x5410a2(0x2a3)],tr=(_0x1940b7,_0x21d37d,_0x412c89,_0x25e79a)=>{var _0x429319=_0x5410a2;for(var _0xb5f407=_0x25e79a>0x1?void 0x0:_0x25e79a?er(_0x21d37d,_0x412c89):_0x21d37d,_0x6d6546=_0x1940b7[_0x429319(0x323)]-0x1,_0x5e826d;_0x6d6546>=0x0;_0x6d6546--)(_0x5e826d=_0x1940b7[_0x6d6546])&&(_0xb5f407=_0x5e826d(_0xb5f407)||_0xb5f407);return _0xb5f407;},oi=(_0x570ff8,_0x2ee714)=>(_0x249545,_0x419ba3)=>_0x2ee714(_0x249545,_0x419ba3,_0x570ff8);let bt=class{constructor(_0x2485e7,_0x211088){var _0x29fd88=_0x5410a2;this[_0x29fd88(0x39f)]=_0x2485e7,this['_httpService']=_0x211088;}async['getUnitOnRev'](_0xa9492,_0x48815d){var _0x47a7ff=_0x5410a2,_0x16662b;const {unitID:_0x25202b,type:_0x5d996d,revision:_0x415016=0x0}=_0x48815d,_0x563584=this['getSnapshotAPIPath']()+'/'+_0x5d996d+_0x47a7ff(0x33e)+_0x25202b+_0x47a7ff(0x261)+_0x415016,_0x3c728c=(await this[_0x47a7ff(0x3a7)][_0x47a7ff(0x19f)](_0x563584))['body'],_0x188ca4=(_0x16662b=_0x3c728c[_0x47a7ff(0x2d8)])==null?void 0x0:_0x16662b['workbook'];if(_0x188ca4){const _0x30655f=_0x188ca4==null?void 0x0:_0x188ca4['originalMeta'],_0x8b854=_0x53a6e2[_0x47a7ff(0x382)](_0x1e11c7(_0x30655f));_0x188ca4[_0x47a7ff(0x40d)]=_0x8b854,Object[_0x47a7ff(0x191)](_0x188ca4[_0x47a7ff(0x46e)])[_0x47a7ff(0x20f)](([,_0x2a062b])=>{var _0x44ad15=_0x47a7ff;const _0x28dab5=_0x2a062b[_0x44ad15(0x40d)],_0xef2e4a=_0x53a6e2[_0x44ad15(0x382)](_0x1e11c7(_0x28dab5));_0x2a062b[_0x44ad15(0x40d)]=_0xef2e4a;});}return _0x3c728c;}async[_0x5410a2(0x347)](_0x443dc2,_0x3cdc35){var _0x5d51a5=_0x5410a2;const {unitID:_0x1e6c1c,type:_0x229a2b,blockID:_0x200b6d}=_0x3cdc35,_0x10ece2=this[_0x5d51a5(0x461)]()+'/'+_0x229a2b+_0x5d51a5(0x33e)+_0x1e6c1c+_0x5d51a5(0x1d7)+_0x200b6d;return(await this[_0x5d51a5(0x3a7)][_0x5d51a5(0x19f)](_0x10ece2))[_0x5d51a5(0x26a)];}async['getDeserializedSheetBlock'](_0x329328,_0x1bf6c0){var _0x3555aa=_0x5410a2;const {unitID:_0x404129,type:_0x278ecd,blockID:_0x5c780f}=_0x1bf6c0,_0x1a0d4e=this[_0x3555aa(0x461)]()+_0x3555aa(0x1d7)+_0x278ecd+_0x3555aa(0x33e)+_0x404129+_0x3555aa(0x1d7)+_0x5c780f;return(await this[_0x3555aa(0x3a7)][_0x3555aa(0x19f)](_0x1a0d4e))[_0x3555aa(0x26a)];}async[_0x5410a2(0x2a9)](_0x504710,_0x2dc5ca){var _0x523d89=_0x5410a2;const {unitID:_0x4fd581,type:_0x55aa29,from:_0x363137,to:_0x4215ed}=_0x2dc5ca,_0x1d897e=this[_0x523d89(0x461)]()+'/'+_0x55aa29+'/unit/'+_0x4fd581+'/fetchmissing?from='+_0x363137+_0x523d89(0x1b4)+_0x4215ed;return(await this[_0x523d89(0x3a7)]['get'](_0x1d897e))['body'];}[_0x5410a2(0x2ec)](){var _0x5cb238=_0x5410a2,_0xa34b48;return(_0xa34b48=this[_0x5cb238(0x39f)]['getConfig'](vs))!=null?_0xa34b48:this['_getAPIPrefix']();}[_0x5410a2(0x461)](){var _0x2d5798=_0x5410a2,_0x2a324a;const _0x2cf43a=this[_0x2d5798(0x39f)]['getConfig'](K);return(_0x2a324a=_0x2cf43a==null?void 0x0:_0x2cf43a[_0x2d5798(0x1c3)])!=null?_0x2a324a:fs;}async['getResourcesRequest'](_0x268955,_0x283f6e){var _0x17ba53=_0x5410a2;const _0x72022e=_0x17ba53(0x41b)+_0x283f6e[_0x17ba53(0x1a8)]+_0x17ba53(0x33e)+_0x283f6e[_0x17ba53(0x19c)]+_0x17ba53(0x1c1);return(await this['_httpService'][_0x17ba53(0x19f)](_0x72022e,{'params':{'resourceId':JSON[_0x17ba53(0x45b)](_0x283f6e[_0x17ba53(0x3e5)])}}))[_0x17ba53(0x26a)];}['saveSnapshot'](){var _0x5cd396=_0x5410a2;throw new Error(_0x5cd396(0x27b));}[_0x5410a2(0x1c5)](){var _0x406428=_0x5410a2;throw new Error(_0x406428(0x27b));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5410a2(0x233)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x5cf997=_0x5410a2;throw new Error(_0x5cf997(0x27b));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=tr([oi(0x0,_0x54dc50),oi(0x1,_0x2a67ea(_0x4adef9))],bt);var ir=Object[_0x5410a2(0x2a3)],sr=(_0x471d10,_0x43508c,_0x12b3f1,_0x1d07b2)=>{var _0x622b51=_0x5410a2;for(var _0x27f64f=_0x1d07b2>0x1?void 0x0:_0x1d07b2?ir(_0x43508c,_0x12b3f1):_0x43508c,_0x44dff7=_0x471d10[_0x622b51(0x323)]-0x1,_0x14f51c;_0x44dff7>=0x0;_0x44dff7--)(_0x14f51c=_0x471d10[_0x44dff7])&&(_0x27f64f=_0x14f51c(_0x27f64f)||_0x27f64f);return _0x27f64f;},Ae=(_0x3565a2,_0x357edb)=>(_0x6e89d3,_0x12387b)=>_0x357edb(_0x6e89d3,_0x12387b,_0x3565a2);let yt=class extends _0x2681bb{constructor(_0x5985c3,_0x3df8db,_0x596d8f,_0xbaa657,_0x29d4d8){var _0x2ff63d=_0x5410a2;super(_0x5985c3,_0x3df8db,_0x596d8f),this[_0x2ff63d(0x249)]=_0xbaa657,this[_0x2ff63d(0x352)]=_0x29d4d8;}[_0x5410a2(0x221)](_0x5b65bb,_0x531979){var _0x2d24e5=_0x5410a2;const _0x1fdee1=this[_0x2d24e5(0x1d0)](_0x5b65bb);if(_0x1fdee1)try{const _0x54e387=this['_transformStack'](_0x1fdee1,_0x531979);this[_0x2d24e5(0x282)](_0x5b65bb,_0x54e387);}catch(_0x47322d){this[_0x2d24e5(0x352)][_0x2d24e5(0x1ff)](_0x2d24e5(0x43e),_0x47322d),this['_clearUndo'](_0x5b65bb);}const _0x38d8bd=this[_0x2d24e5(0x276)](_0x5b65bb);if(_0x38d8bd)try{const _0x1e57a8=this[_0x2d24e5(0x2b9)](_0x38d8bd,_0x531979);this['_substituteRedoStack'](_0x5b65bb,_0x1e57a8);}catch(_0x1ddcf4){this['_logService'][_0x2d24e5(0x1ff)](_0x1ddcf4),this['_clearRedo'](_0x5b65bb);}}[_0x5410a2(0x465)](_0x4e9392){var _0x43414c=_0x5410a2;const _0x41b5f4=this[_0x43414c(0x1d0)](_0x4e9392);_0x41b5f4&&(_0x41b5f4['length']=0x0,this['_updateStatus']());}[_0x5410a2(0x316)](_0x50a596){var _0x184cf8=_0x5410a2;const _0x1c2618=this[_0x184cf8(0x276)](_0x50a596);_0x1c2618&&(_0x1c2618[_0x184cf8(0x323)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x14f641,_0x438418){var _0x50de1f=_0x5410a2;this['_undoStacks'][_0x50de1f(0x1b2)](_0x14f641,_0x438418),this[_0x50de1f(0x209)]();}[_0x5410a2(0x33b)](_0x22d22c,_0x497bd9){var _0x183f3a=_0x5410a2;this['_redoStacks'][_0x183f3a(0x1b2)](_0x22d22c,_0x497bd9),this[_0x183f3a(0x209)]();}['_transformStack'](_0x50450b,_0x2afcd4){var _0x1f420c=_0x5410a2;const _0x1c3023=[];let _0x317116=_0x2afcd4,_0x2abe1f=_0x2afcd4;for(let _0x1460ff=_0x50450b[_0x1f420c(0x323)]-0x1;_0x1460ff>=0x0;_0x1460ff--){const {unitID:_0xf11f9b,undoMutations:_0x5ef29f,redoMutations:_0x522375}=_0x50450b[_0x1460ff],_0x1aee79=this[_0x1f420c(0x249)][_0x1f420c(0x1af)](_0x317116,_0x5ef29f),_0xf3a895=this[_0x1f420c(0x249)][_0x1f420c(0x1af)](_0x2abe1f,_0x522375);if(_0x5a9458(_0x1aee79)||_0x5a9458(_0xf3a895)){this[_0x1f420c(0x352)][_0x1f420c(0x1ff)](_0x1f420c(0x43e),_0x1f420c(0x3fb),_0x1aee79,_0xf3a895);break;}_0x317116=_0x1aee79[_0x1f420c(0x207)],_0x2abe1f=_0xf3a895[_0x1f420c(0x207)],_0x1c3023['push']({'unitID':_0xf11f9b,'undoMutations':_0x1aee79['m2Prime'],'redoMutations':_0xf3a895[_0x1f420c(0x31f)]});}return _0x1c3023[_0x1f420c(0x297)]();}};yt=sr([Ae(0x0,_0x1f2fda),Ae(0x1,_0x51e75f),Ae(0x2,_0x808715),Ae(0x3,_0x66570c),Ae(0x4,_0x3229e5)],yt);var nr=Object[_0x5410a2(0x226)],rr=Object[_0x5410a2(0x2a3)],ar=(_0x178819,_0x11e699,_0x400749)=>_0x11e699 in _0x178819?nr(_0x178819,_0x11e699,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x400749}):_0x178819[_0x11e699]=_0x400749,or=(_0xaf0bf2,_0x5f012c,_0x102d95,_0x2977e4)=>{for(var _0x3134ba=_0x2977e4>0x1?void 0x0:_0x2977e4?rr(_0x5f012c,_0x102d95):_0x5f012c,_0x36cdf1=_0xaf0bf2['length']-0x1,_0x1d5048;_0x36cdf1>=0x0;_0x36cdf1--)(_0x1d5048=_0xaf0bf2[_0x36cdf1])&&(_0x3134ba=_0x1d5048(_0x3134ba)||_0x3134ba);return _0x3134ba;},mt=(_0xca0ab4,_0x1e8423)=>(_0x583292,_0xedf92b)=>_0x1e8423(_0x583292,_0xedf92b,_0xca0ab4),cr=(_0x3dc2ba,_0x206101,_0x246cc9)=>ar(_0x3dc2ba,_0x206101+'',_0x246cc9);const hr=_0x5410a2(0x2ab);let Nt=class extends _0x1808a6{constructor(_0x123fb4,_0x407f13,_0xa2a80,_0x11eb1f){var _0x24dfde=_0x5410a2;super(),N(this,_0x24dfde(0x456)),(this[_0x24dfde(0x352)]=_0x407f13,this['_injector']=_0xa2a80,this[_0x24dfde(0x39f)]=_0x11eb1f);const {..._0x561299}=_0xb87e1b({},Ls,_0x123fb4);if(!_0x561299[_0x24dfde(0x28c)])throw new Error(_0x24dfde(0x212));this['_config']=_0x561299,this[_0x24dfde(0x39f)][_0x24dfde(0x1e2)](K,_0x561299);}['onStarting'](){var _0x4a7a47=_0x5410a2;this[_0x4a7a47(0x305)](),this[_0x4a7a47(0x3c1)]();}[_0x5410a2(0x305)](){var _0x2ae452=_0x5410a2,_0x24f2c6,_0x1f1939;this[_0x2ae452(0x3c3)][_0x2ae452(0x290)](_0x384b35)&&this['_logService'][_0x2ae452(0x1ff)](_0x2ae452(0x3ae),_0x2ae452(0x3a4));const _0x15cf71=_0x400c6f([[_0x384b35,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this['_config']['socketService']}],[_0x781d63,{'useClass':bt}],[_0x2e929d,{'useClass':Tt}],[_0x126bd0,{'useClass':Rt}],[_0x554ac2,{'useClass':Ot}],[nt],[It]],(_0x24f2c6=this['_config'])==null?void 0x0:_0x24f2c6[_0x2ae452(0x304)]);if(!((_0x1f1939=this[_0x2ae452(0x456)])!=null&&_0x1f1939['enableSingleActiveInstanceLock'])){const _0x52cbf0=_0x15cf71['findIndex'](([_0x1ad0fe])=>_0x1ad0fe===ht);_0x52cbf0!==-0x1&&_0x15cf71[_0x2ae452(0x1e6)](_0x52cbf0,0x1);}_0x5a059c(this[_0x2ae452(0x3c3)],_0x15cf71);}[_0x5410a2(0x3c1)](){var _0x448271=_0x5410a2,_0x2e3253,_0x369741,_0x10eb60;this['_injector'][_0x448271(0x19f)](_0x4adef9)[_0x448271(0x470)]({'priority':0x14,'interceptor':_0x2b1539({'maxParallel':0x6})}),(_0x2e3253=this[_0x448271(0x456)])!=null&&_0x2e3253[_0x448271(0x2e1)]||(_0x369741=this[_0x448271(0x3c3)][_0x448271(0x19f)](J,_0x1b3167[_0x448271(0x3b0)]))==null||_0x369741['disableLocalCache'](),(_0x10eb60=this[_0x448271(0x456)])!=null&&_0x10eb60[_0x448271(0x3bc)]&&_0x2fc19d(this['_injector'],[[rt]]),_0x2fc19d(this[_0x448271(0x3c3)],[[at],[nt],[ot]]);}};cr(Nt,'pluginName',hr),Nt=or([_0x367f7b(_0x229b71,_0x531c34),mt(0x1,_0x3229e5),mt(0x2,_0x2a67ea(_0xb9171d)),mt(0x3,_0x54dc50)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
|
|
1
|
+
var _0x1b0175=_0x33ac;(function(_0x392251,_0x497a56){var _0x9c9d44=_0x33ac,_0x559132=_0x392251();while(!![]){try{var _0x365f36=-parseInt(_0x9c9d44(0x183))/0x1*(-parseInt(_0x9c9d44(0x438))/0x2)+-parseInt(_0x9c9d44(0x429))/0x3*(parseInt(_0x9c9d44(0x1b2))/0x4)+parseInt(_0x9c9d44(0x477))/0x5+-parseInt(_0x9c9d44(0x27a))/0x6+parseInt(_0x9c9d44(0x441))/0x7+-parseInt(_0x9c9d44(0x433))/0x8+-parseInt(_0x9c9d44(0x20e))/0x9;if(_0x365f36===_0x497a56)break;else _0x559132['push'](_0x559132['shift']());}catch(_0x40504d){_0x559132['push'](_0x559132['shift']());}}}(_0x1090,0xb7c2e));var yi=Object['defineProperty'],Ni=(_0xf8425d,_0x2d72f2,_0x428800)=>_0x2d72f2 in _0xf8425d?yi(_0xf8425d,_0x2d72f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x428800}):_0xf8425d[_0x2d72f2]=_0x428800,N=(_0xc8eebc,_0x227a33,_0x2dec71)=>Ni(_0xc8eebc,typeof _0x227a33!='symbol'?_0x227a33+'':_0x227a33,_0x2dec71);import{CollaborationEvent as _0x270543,ITransformService as _0x21e51c,isTransformMutationsWithChangesetSuccess as _0x125d13,mapDocumentTypeToUniverType as _0x50b966,RevisionService as _0x1b2f89,isTransformChangesetsSuccess as _0x23e1df,CompressMutationService as _0x4c718f,parseProtocolChangeset as _0x43ca57,uuidv4 as _0x3cf683,ISnapshotServerService as _0x44dcd2,parseChangesetToProtocol as _0x5ac210,SnapshotService as _0x15d8ca,textEncoder as _0x540dd0,b64DecodeUnicode as _0x9670fd,isTransformMutationsWithChangesetFailure as _0x189a65,UniverCollaborationPlugin as _0x41e863}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1465c0,Inject as _0x2350f5,UserManagerService as _0x19ee4a,Disposable as _0x5b6ec2,UniverInstanceType as _0x4db1c1,ILogService as _0x27c895,IConfigService as _0x39ec1e,Optional as _0x364642,RxDisposable as _0x1947f8,createIdentifier as _0x2c3a23,Injector as _0x4fef0a,Tools as _0x48f3be,Rectangle as _0xb4aff,ICommandService as _0x5c1e8c,JSONX as _0x20ee78,CommandType as _0x4f80e7,IUndoRedoService as _0x2c5918,IPermissionService as _0x33cf07,LocaleService as _0x167f10,sequenceExecute as _0x3751f6,toDisposable as _0x3a0139,DisposableCollection as _0x1eec7b,Workbook as _0x255f9c,generateRandomId as _0x92a8ec,MentionType as _0x213571,isInternalEditorID as _0x4600f9,LocalUndoRedoService as _0x2cd083,IContextService as _0x1f12bc,DependentOn as _0x35f593,Plugin as _0x5b0e47,merge as _0x43e317,mergeOverrideWithDependencies as _0x4120aa,IAuthzIoService as _0x36006a,IMentionIOService as _0x4a24b9,registerDependencies as _0x443c1e,Quantity as _0x5c2b5c,touchDependencies as _0x43a5c9}from'@univerjs/core';import{RichTextEditingMutation as _0x1d8c39}from'@univerjs/docs';import{SheetsSelectionsService as _0x44ba87,SetSelectionsOperation as _0x2bcc14,InsertSheetMutation as _0x55805a,EmptyMutation as _0x39779e,WorkbookEditablePermission as _0x1e11ff,SheetPermissionInitController as _0x31e8a6}from'@univerjs/sheets';import{Subject as _0xbd57ee,merge as _0x3ec2c8,of as _0x2cf37a,BehaviorSubject as _0x1babcb,takeUntil as _0x43488c,ReplaySubject as _0x5b3914,take as _0x1ebb68,map as _0x546cc8,shareReplay as _0x405424,firstValueFrom as _0x47678f,concatMap as _0xfc20c9}from'rxjs';import{ITelemetryService as _0x4a9116}from'@univerjs/telemetry';import{map as _0x2af321,take as _0x2bb393,filter as _0x4ecac2,delay as _0x119bcd,takeUntil as _0x51df8f}from'rxjs/operators';import{HTTPService as _0x3d8309,ISocketService as _0x5dfa6a,MergeInterceptorFactory as _0x1e4518,HTTPRequest as _0x244645,UniverNetworkPlugin as _0x27dfbb,ThresholdInterceptorFactory as _0x18420d}from'@univerjs/network';import{ImageSourceType as _0x49a779,ImageUploadStatusType as _0x26d4ad,IImageIoService as _0x108855}from'@univerjs/drawing';import{getGlobalObject as _0x449230}from'@univerjs-pro/license';const fs=_0x1b0175(0x1ed),vs=_0x1b0175(0x416),ps=0x7d0,ms=_0x1b0175(0x2df),Ir=_0x1b0175(0x43b),gs=_0x1b0175(0x2dc),Ss=0x7530,di=_0x1b0175(0x1d9),fi=0x4e20,Es=0x4e20,Is=_0x1b0175(0x305),Ts=0x3,Tr=_0x1b0175(0x3e1),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0x1b0175(0x415),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or=_0x1b0175(0x3ad);var vi=(_0x166839=>(_0x166839[_0x166839['UNDEFINED']=0x0]='UNDEFINED',_0x166839[_0x166839['OK']=0x1]='OK',_0x166839[_0x166839[_0x1b0175(0x3a1)]=0x2]=_0x1b0175(0x3a1),_0x166839[_0x166839[_0x1b0175(0x38b)]=0x3]=_0x1b0175(0x38b),_0x166839[_0x166839[_0x1b0175(0x32b)]=0x4]=_0x1b0175(0x32b),_0x166839[_0x166839[_0x1b0175(0x1c3)]=0x5]='UNAUTHENTICATED',_0x166839[_0x166839[_0x1b0175(0x23e)]=0x6]=_0x1b0175(0x23e),_0x166839[_0x166839[_0x1b0175(0x3c9)]=0x7]='INVALID_ARGUMENT',_0x166839[_0x166839[_0x1b0175(0x3fd)]=0x8]='TOO_MANY_REQUESTS',_0x166839[_0x166839['COMPLETION_FINISHED']=0x9]=_0x1b0175(0x18e),_0x166839[_0x166839['LOGIN_FAILED']=0xa]=_0x1b0175(0x264),_0x166839[_0x166839['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x166839[_0x166839['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x166839[_0x166839['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1b0175(0x317),_0x166839[_0x166839[_0x1b0175(0x42f)]=0xe]=_0x1b0175(0x42f),_0x166839[_0x166839['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x166839[_0x166839['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1b0175(0x1a4),_0x166839[_0x166839[_0x1b0175(0x2ce)]=0x1772]=_0x1b0175(0x2ce),_0x166839[_0x166839[_0x1b0175(0x2fb)]=0x1773]=_0x1b0175(0x2fb),_0x166839[_0x166839[_0x1b0175(0x452)]=0x1b59]=_0x1b0175(0x452),_0x166839[_0x166839[_0x1b0175(0x298)]=0x1b5a]=_0x1b0175(0x298),_0x166839[_0x166839[_0x1b0175(0x1c6)]=0x1b5b]=_0x1b0175(0x1c6),_0x166839[_0x166839[_0x1b0175(0x45a)]=0x1b5c]=_0x1b0175(0x45a),_0x166839[_0x166839['APPLY_DUPLICATED']=0x1b5d]=_0x1b0175(0x376),_0x166839[_0x166839[_0x1b0175(0x3d6)]=0x1f41]=_0x1b0175(0x3d6),_0x166839[_0x166839['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1b0175(0x1c8),_0x166839[_0x166839[_0x1b0175(0x1a3)]=0x232a]=_0x1b0175(0x1a3),_0x166839[_0x166839['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x166839[_0x166839[_0x1b0175(0x3b9)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x166839[_0x166839['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1b0175(0x239),_0x166839[_0x166839[_0x1b0175(0x339)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x166839[_0x166839['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1b0175(0x284),_0x166839[_0x166839[_0x1b0175(0x465)]=0x2713]=_0x1b0175(0x465),_0x166839[_0x166839['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1b0175(0x44b),_0x166839[_0x166839[_0x1b0175(0x3a9)]=0x271a]=_0x1b0175(0x3a9),_0x166839[_0x166839[_0x1b0175(0x42e)]=0x271b]=_0x1b0175(0x42e),_0x166839[_0x166839[_0x1b0175(0x41b)]=0x271c]=_0x1b0175(0x41b),_0x166839[_0x166839[_0x1b0175(0x430)]=0x271d]=_0x1b0175(0x430),_0x166839[_0x166839[_0x1b0175(0x190)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x166839[_0x166839[_0x1b0175(0x3ba)]=0x271f]=_0x1b0175(0x3ba),_0x166839[_0x166839[_0x1b0175(0x35e)]=0x2720]=_0x1b0175(0x35e),_0x166839[_0x166839[_0x1b0175(0x3e3)]=0x2af9]=_0x1b0175(0x3e3),_0x166839[_0x166839[_0x1b0175(0x27f)]=0x2ee1]=_0x1b0175(0x27f),_0x166839[_0x166839[_0x1b0175(0x408)]=0x2ee2]=_0x1b0175(0x408),_0x166839[_0x166839[_0x1b0175(0x3fa)]=0x2ee3]=_0x1b0175(0x3fa),_0x166839[_0x166839[_0x1b0175(0x353)]=0x2ee4]=_0x1b0175(0x353),_0x166839[_0x166839[_0x1b0175(0x1b1)]=0x2ee5]=_0x1b0175(0x1b1),_0x166839[_0x166839['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1b0175(0x3f5),_0x166839[_0x166839[_0x1b0175(0x1dd)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x166839[_0x166839[_0x1b0175(0x1f5)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x166839[_0x166839[_0x1b0175(0x282)]=-0x1]='UNRECOGNIZED',_0x166839))(vi||{}),Z=(_0x146968=>(_0x146968[_0x146968[_0x1b0175(0x2f4)]=0x0]=_0x1b0175(0x2f4),_0x146968[_0x146968[_0x1b0175(0x293)]=0x1]=_0x1b0175(0x293),_0x146968[_0x146968[_0x1b0175(0x245)]=0x2]=_0x1b0175(0x245),_0x146968[_0x146968['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x146968[_0x146968[_0x1b0175(0x201)]=0x4]=_0x1b0175(0x201),_0x146968[_0x146968['UNRECOGNIZED']=-0x1]=_0x1b0175(0x282),_0x146968))(Z||{}),F=(_0x27a044=>(_0x27a044[_0x27a044['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x27a044[_0x27a044['HELLO']=0x1]=_0x1b0175(0x2cb),_0x27a044[_0x27a044['JOIN']=0x2]=_0x1b0175(0x229),_0x27a044[_0x27a044['LEAVE']=0x3]=_0x1b0175(0x1b9),_0x27a044[_0x27a044[_0x1b0175(0x170)]=0x4]=_0x1b0175(0x170),_0x27a044[_0x27a044['HEARTBEAT']=0x5]='HEARTBEAT',_0x27a044[_0x27a044[_0x1b0175(0x368)]=0x6]=_0x1b0175(0x368),_0x27a044[_0x27a044[_0x1b0175(0x282)]=-0x1]='UNRECOGNIZED',_0x27a044))(F||{}),pe=(_0x424923=>(_0x424923[_0x424923[_0x1b0175(0x431)]=0x0]=_0x1b0175(0x431),_0x424923[_0x424923['OK']=0x1]='OK',_0x424923[_0x424923[_0x1b0175(0x3be)]=0x2]='FAIL',_0x424923[_0x424923[_0x1b0175(0x249)]=0x3e9]=_0x1b0175(0x249),_0x424923[_0x424923[_0x1b0175(0x367)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x424923[_0x424923['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x1b0175(0x1d2),_0x424923[_0x424923[_0x1b0175(0x1ae)]=0x3ec]=_0x1b0175(0x1ae),_0x424923[_0x424923['UNRECOGNIZED']=-0x1]=_0x1b0175(0x282),_0x424923))(pe||{}),pi=(_0x1d0efd=>(_0x1d0efd[_0x1d0efd['Undefined']=0x0]=_0x1b0175(0x1b3),_0x1d0efd[_0x1d0efd[_0x1b0175(0x3f7)]=0x1]=_0x1b0175(0x3f7),_0x1d0efd[_0x1d0efd['HttpExport']=0x2]=_0x1b0175(0x2b6),_0x1d0efd[_0x1d0efd[_0x1b0175(0x1b4)]=0x3]=_0x1b0175(0x1b4),_0x1d0efd[_0x1d0efd[_0x1b0175(0x40a)]=0x4]=_0x1b0175(0x40a),_0x1d0efd[_0x1d0efd[_0x1b0175(0x1e6)]=0x5]=_0x1b0175(0x1e6),_0x1d0efd[_0x1d0efd[_0x1b0175(0x282)]=-0x1]=_0x1b0175(0x282),_0x1d0efd))(pi||{});const Os=_0x1b0175(0x2a8);function bs(_0xf238df){var _0x13ac53=_0x1b0175;return JSON[_0x13ac53(0x445)](_0xf238df)[_0x13ac53(0x32a)];}var ne=(_0x27fd00=>(_0x27fd00[_0x1b0175(0x20d)]=_0x1b0175(0x20d),_0x27fd00[_0x1b0175(0x38b)]=_0x1b0175(0x38b),_0x27fd00['CONFLICT']='CONFLICT',_0x27fd00['CLOSE_ROOM']=_0x1b0175(0x2b2),_0x27fd00['JOIN_ROOM_FAILED']=_0x1b0175(0x32c),_0x27fd00[_0x1b0175(0x3d0)]=_0x1b0175(0x3d0),_0x27fd00[_0x1b0175(0x418)]='SOCKET_FAILED',_0x27fd00['SUBMIT_CHANGESET_TIMEOUT']=_0x1b0175(0x2d1),_0x27fd00))(ne||{});class ve{constructor(){var _0x23fb4f=_0x1b0175;N(this,_0x23fb4f(0x26f),new _0xbd57ee()),N(this,_0x23fb4f(0x207),this[_0x23fb4f(0x26f)][_0x23fb4f(0x28c)]());}['emitEvent'](_0x33d4f2){var _0x5c7fb9=_0x1b0175;this['_event$'][_0x5c7fb9(0x377)](_0x33d4f2);}}class mi{constructor(){var _0x1e980e=_0x1b0175;N(this,_0x1e980e(0x3ee),new _0xbd57ee()),N(this,'commentUpdate$',this['_commentUpdate$'][_0x1e980e(0x28c)]());}[_0x1b0175(0x3ac)](_0x141dac){var _0x24b58c=_0x1b0175;this[_0x24b58c(0x3ee)][_0x24b58c(0x377)](_0x141dac);}}var ys=Object[_0x1b0175(0x469)],Ns=(_0x625917,_0x3bf1c5,_0x2494b6,_0x160a98)=>{for(var _0x49010f=_0x160a98>0x1?void 0x0:_0x160a98?ys(_0x3bf1c5,_0x2494b6):_0x3bf1c5,_0x15dea0=_0x625917['length']-0x1,_0x3dbf4e;_0x15dea0>=0x0;_0x15dea0--)(_0x3dbf4e=_0x625917[_0x15dea0])&&(_0x49010f=_0x3dbf4e(_0x49010f)||_0x49010f);return _0x49010f;},Ft=(_0x5205fd,_0x29514e)=>(_0x29d305,_0x3861d5)=>_0x29514e(_0x29d305,_0x3861d5,_0x5205fd);let we=class extends _0x5b6ec2{constructor(_0x15b4d4,_0x5d270f){var _0x5ad07c=_0x1b0175;super(),N(this,_0x5ad07c(0x2be),new Map()),N(this,_0x5ad07c(0x3a7),new _0xbd57ee()),(this[_0x5ad07c(0x1cf)]=_0x15b4d4,this[_0x5ad07c(0x223)]=_0x5d270f,this[_0x5ad07c(0x188)](_0x3ec2c8(this[_0x5ad07c(0x1cf)][_0x5ad07c(0x436)](_0x4db1c1[_0x5ad07c(0x245)])[_0x5ad07c(0x3f2)](_0x2af321(_0x467a77=>_0x467a77[_0x5ad07c(0x3e5)]())),this['_univerInstanceService'][_0x5ad07c(0x436)](_0x4db1c1[_0x5ad07c(0x293)])[_0x5ad07c(0x3f2)](_0x2af321(_0x132db0=>_0x132db0[_0x5ad07c(0x3e5)]())),this['_univerInstanceService'][_0x5ad07c(0x436)](_0x4db1c1[_0x5ad07c(0x28b)])[_0x5ad07c(0x3f2)](_0x2af321(_0xc365fe=>_0xc365fe[_0x5ad07c(0x3e5)]())))[_0x5ad07c(0x17c)](_0x1b7d71=>this[_0x5ad07c(0x2ec)](_0x1b7d71))));}[_0x1b0175(0x464)](_0x2904a9){var _0x224336=_0x1b0175;return this[_0x224336(0x2be)][_0x224336(0x378)](_0x2904a9)?_0x2cf37a(this[_0x224336(0x2be)][_0x224336(0x41d)](_0x2904a9)):this[_0x224336(0x3a7)][_0x224336(0x3f2)](_0x2af321(_0x4b8740=>{var _0x1a893c=_0x224336;if(_0x4b8740===_0x2904a9)return this[_0x1a893c(0x2be)][_0x1a893c(0x41d)](_0x4b8740);}));}[_0x1b0175(0x28a)](_0xd671ac){var _0x381f29=_0x1b0175;this[_0x381f29(0x223)][_0x381f29(0x28a)](_0xd671ac);}[_0x1b0175(0x1f0)](){var _0x28b221=_0x1b0175;return this[_0x28b221(0x223)]['getCurrentUser']();}[_0x1b0175(0x44d)](_0x7b8bb3,_0x5d278d){var _0x50c5f9=_0x1b0175;let _0x2befcc=this[_0x50c5f9(0x2be)][_0x50c5f9(0x41d)](_0x7b8bb3);_0x2befcc||(_0x2befcc=new Ds(),this['_roomMembers'][_0x50c5f9(0x392)](_0x7b8bb3,_0x2befcc),this[_0x50c5f9(0x3a7)][_0x50c5f9(0x377)](_0x7b8bb3)),_0x2befcc[_0x50c5f9(0x44d)](_0x5d278d);}[_0x1b0175(0x261)](_0x4a7204,_0x24ed3f){var _0x12c263=_0x1b0175;const _0x479dee=this[_0x12c263(0x2be)][_0x12c263(0x41d)](_0x4a7204);_0x479dee&&_0x479dee[_0x12c263(0x261)](_0x24ed3f);}['getRoom'](_0x50dcf4){var _0x1a0881=_0x1b0175;return this[_0x1a0881(0x2be)]['get'](_0x50dcf4);}[_0x1b0175(0x23f)](_0x31d00d,_0x3a5ceb){var _0x294e85=_0x1b0175;const _0x2c0dfc=this[_0x294e85(0x2be)]['get'](_0x31d00d);if(_0x2c0dfc)return _0x2c0dfc[_0x294e85(0x23f)](_0x3a5ceb);}[_0x1b0175(0x2ec)](_0x25c775){var _0x317037=_0x1b0175;const _0x8cd556=this['_roomMembers'][_0x317037(0x41d)](_0x25c775);_0x8cd556&&(_0x8cd556[_0x317037(0x45c)](),this[_0x317037(0x2be)][_0x317037(0x1d1)](_0x25c775));}[_0x1b0175(0x45c)](){var _0xff9817=_0x1b0175;this[_0xff9817(0x2be)][_0xff9817(0x2c3)](_0x17b307=>_0x17b307['dispose']()),this[_0xff9817(0x2be)]['clear'](),this['_roomCreated$'][_0xff9817(0x374)]();}};we=Ns([Ft(0x0,_0x1465c0),Ft(0x1,_0x2350f5(_0x19ee4a))],we);class Ds extends _0x5b6ec2{constructor(){var _0x6a3b8=_0x1b0175;super(...arguments),N(this,_0x6a3b8(0x20c),new Map()),N(this,_0x6a3b8(0x34c),new _0x1babcb(this[_0x6a3b8(0x20c)])),N(this,_0x6a3b8(0x472),this['_members$'][_0x6a3b8(0x28c)]());}[_0x1b0175(0x45c)](){var _0x67a0f3=_0x1b0175;this[_0x67a0f3(0x20c)][_0x67a0f3(0x1bc)]();}['updateMember'](_0x542e9b){var _0x15a944=_0x1b0175;this[_0x15a944(0x20c)]['set'](_0x542e9b[_0x15a944(0x2de)],_0x542e9b),this[_0x15a944(0x19b)]();}[_0x1b0175(0x261)](_0x1a2765){var _0x44e110=_0x1b0175;this[_0x44e110(0x20c)][_0x44e110(0x1d1)](_0x1a2765);}[_0x1b0175(0x23f)](_0x5b6241){var _0x210c32=_0x1b0175;return this[_0x210c32(0x20c)][_0x210c32(0x41d)](_0x5b6241);}[_0x1b0175(0x311)](){var _0x5356c4=_0x1b0175;return Array[_0x5356c4(0x21f)](this[_0x5356c4(0x20c)][_0x5356c4(0x3d4)]());}[_0x1b0175(0x19b)](){var _0xa4272c=_0x1b0175;this['_members$'][_0xa4272c(0x377)](this[_0xa4272c(0x20c)]);}}var Us=Object[_0x1b0175(0x469)],As=(_0x5c6b86,_0x282de8,_0x2f8fb0,_0x339a94)=>{var _0x5837fd=_0x1b0175;for(var _0x5285a9=_0x339a94>0x1?void 0x0:_0x339a94?Us(_0x282de8,_0x2f8fb0):_0x282de8,_0x146f76=_0x5c6b86[_0x5837fd(0x32a)]-0x1,_0x3d55bb;_0x146f76>=0x0;_0x146f76--)(_0x3d55bb=_0x5c6b86[_0x146f76])&&(_0x5285a9=_0x3d55bb(_0x5285a9)||_0x5285a9);return _0x5285a9;},Ce=(_0x52bb68,_0x5a865f)=>(_0x12c8dd,_0x1d29fd)=>_0x5a865f(_0x12c8dd,_0x1d29fd,_0x52bb68),ge=(_0x3f8547=>(_0x3f8547[_0x3f8547[_0x1b0175(0x459)]=0x0]=_0x1b0175(0x459),_0x3f8547[_0x3f8547[_0x1b0175(0x3e7)]=0x1]=_0x1b0175(0x3e7),_0x3f8547[_0x3f8547[_0x1b0175(0x286)]=0x2]='OFFLINE',_0x3f8547[_0x3f8547[_0x1b0175(0x1bf)]=0x3]=_0x1b0175(0x1bf),_0x3f8547))(ge||{});const Vt={[pe['FAIL']]:_0x1b0175(0x1cc),[pe[_0x1b0175(0x249)]]:'session.room-full',[pe[_0x1b0175(0x367)]]:_0x1b0175(0x33c),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x1b0175(0x38d),[pe[_0x1b0175(0x1ae)]]:_0x1b0175(0x450)};let gt=class extends _0x1947f8{constructor(_0x2b5594,_0x15e4e1,_0xfa06d3,_0xc53c9f,_0x34b218,_0xaa7347,_0x216a0c,_0x549bda){var _0x77a736=_0x1b0175;super(),N(this,_0x77a736(0x283),new _0x1babcb(0x0)),N(this,_0x77a736(0x334),this[_0x77a736(0x283)][_0x77a736(0x28c)]()),N(this,_0x77a736(0x26f),new _0xbd57ee()),N(this,_0x77a736(0x207),this[_0x77a736(0x26f)][_0x77a736(0x28c)]()),N(this,_0x77a736(0x1a1)),N(this,_0x77a736(0x214)),N(this,_0x77a736(0x3fc)),N(this,_0x77a736(0x22c),!0x1),N(this,'_telemetryInfo',null),(this[_0x77a736(0x292)]=_0x2b5594,this[_0x77a736(0x362)]=_0xfa06d3,this[_0x77a736(0x3d9)]=_0xc53c9f,this[_0x77a736(0x251)]=_0x34b218,this['_commentService']=_0xaa7347,this[_0x77a736(0x38f)]=_0x216a0c,this['_telemetryService']=_0x549bda,this[_0x77a736(0x22c)]=!!this[_0x77a736(0x3c1)],_0x15e4e1[_0x77a736(0x3f2)](_0x43488c(this[_0x77a736(0x185)]))[_0x77a736(0x17c)](_0x5f0e68=>{var _0x28b33f=_0x77a736,_0x37ad61;typeof _0x5f0e68>'u'||(this[_0x28b33f(0x1a1)]=_0x5f0e68,_0x5f0e68?(this[_0x28b33f(0x1dc)](_0x5f0e68),this[_0x28b33f(0x214)]=_0x5f0e68[_0x28b33f(0x220)][_0x28b33f(0x17c)](_0xe78cb9=>{var _0x5a2d07=_0x28b33f;_0xe78cb9[_0x5a2d07(0x1d7)]===this[_0x5a2d07(0x292)]&&this['_onCombEvent'](_0xe78cb9);})):(this[_0x28b33f(0x202)](),this[_0x28b33f(0x283)]['next'](0x2),(_0x37ad61=this[_0x28b33f(0x214)])==null||_0x37ad61[_0x28b33f(0x417)](),this[_0x28b33f(0x214)]=null));}));}get['sessionStatus'](){var _0x279962=_0x1b0175;return this[_0x279962(0x283)][_0x279962(0x3f4)]();}[_0x1b0175(0x318)](){var _0x2f1537=_0x1b0175,_0x10fb53,_0x426680;return(_0x426680=(_0x10fb53=this[_0x2f1537(0x1a1)])==null?void 0x0:_0x10fb53['memberID'])!=null?_0x426680:null;}['dispose'](){var _0x4a7730=_0x1b0175;super[_0x4a7730(0x45c)](),this['dispose$'][_0x4a7730(0x377)](),this[_0x4a7730(0x185)][_0x4a7730(0x374)]();}[_0x1b0175(0x3fe)](){var _0x519ed8=_0x1b0175,_0x1b9e50,_0x3d6ed8;this[_0x519ed8(0x202)](),(_0x1b9e50=this[_0x519ed8(0x1a1)])==null||_0x1b9e50[_0x519ed8(0x2a5)]({'cmd':F[_0x519ed8(0x1b9)],'data':{'roomID':this['_unitID']}}),(_0x3d6ed8=this['_socket'])==null||_0x3d6ed8[_0x519ed8(0x3fe)](),this['_event$'][_0x519ed8(0x374)](),this[_0x519ed8(0x283)][_0x519ed8(0x374)](),this['dispose']();}[_0x1b0175(0x1a5)](_0x2027fd){var _0x3e08d6=_0x1b0175;_0x2027fd[_0x3e08d6(0x342)]===F[_0x3e08d6(0x229)]?this[_0x3e08d6(0x2ab)](_0x2027fd):_0x2027fd['cmd']===F[_0x3e08d6(0x368)]&&this[_0x3e08d6(0x263)](_0x2027fd);}['_joinRoom'](_0x1e87df){var _0x2ab6ed=_0x1b0175;this[_0x2ab6ed(0x283)][_0x2ab6ed(0x377)](0x1),_0x1e87df[_0x2ab6ed(0x2a5)]({'cmd':F['JOIN'],'routeKey':this[_0x2ab6ed(0x292)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2ab6ed(0x292)]}]}});}[_0x1b0175(0x2ab)](_0x5873de){var _0x589f28=_0x1b0175,_0x29c38b;if(_0x5873de[_0x589f28(0x1fe)]in Vt){this[_0x589f28(0x38f)][_0x589f28(0x29e)]({'id':ne[_0x589f28(0x32c)],'data':Vt[_0x5873de['code']]}),this[_0x589f28(0x283)][_0x589f28(0x377)](0x2);return;}this[_0x589f28(0x283)][_0x589f28(0x377)](0x3);const _0x2e10c9=(_0x29c38b=_0x5873de[_0x589f28(0x219)][_0x589f28(0x2c9)][this[_0x589f28(0x292)]])==null?void 0x0:_0x29c38b[_0x589f28(0x328)];_0x2e10c9&&_0x2e10c9[_0x589f28(0x2c3)](_0x530c79=>this[_0x589f28(0x251)][_0x589f28(0x44d)](this[_0x589f28(0x292)],_0x530c79));}['_onRecvEvent'](_0x2e76a4){var _0x4a3721=_0x1b0175;try{const _0x1ac9ab=_0x2e76a4[_0x4a3721(0x219)];switch(_0x1ac9ab[_0x4a3721(0x2d6)]){case _0x270543[_0x4a3721(0x240)]:this['_onUserJoin'](_0x1ac9ab),this['_event$']['next'](_0x1ac9ab);break;case _0x270543[_0x4a3721(0x300)]:this[_0x4a3721(0x2ca)](_0x1ac9ab),this[_0x4a3721(0x26f)][_0x4a3721(0x377)](_0x1ac9ab);break;case _0x270543[_0x4a3721(0x326)]:case _0x270543[_0x4a3721(0x461)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4a3721(0x280)](),this[_0x4a3721(0x26f)][_0x4a3721(0x377)](_0x1ac9ab);break;case _0x270543['MSG_FOR_ERROR']:this[_0x4a3721(0x362)][_0x4a3721(0x31f)](_0x4a3721(0x2b4)+JSON[_0x4a3721(0x445)](_0x1ac9ab)),this['_event$'][_0x4a3721(0x377)](_0x1ac9ab);break;case _0x270543[_0x4a3721(0x226)]:this[_0x4a3721(0x228)][_0x4a3721(0x3ac)](_0x1ac9ab[_0x4a3721(0x219)]),this[_0x4a3721(0x26f)][_0x4a3721(0x377)](_0x1ac9ab);break;default:this[_0x4a3721(0x26f)]['next'](_0x1ac9ab);}}catch(_0x80c70f){this[_0x4a3721(0x362)][_0x4a3721(0x31f)](_0x80c70f,_0x2e76a4);}}[_0x1b0175(0x405)](_0x3fc688){var _0x44f1a1=_0x1b0175;this[_0x44f1a1(0x251)][_0x44f1a1(0x44d)](this[_0x44f1a1(0x292)],_0x3fc688[_0x44f1a1(0x219)]);}[_0x1b0175(0x2ca)](_0x20fc62){var _0x9d9cd7=_0x1b0175;this[_0x9d9cd7(0x251)][_0x9d9cd7(0x261)](this['_unitID'],_0x20fc62[_0x9d9cd7(0x219)][_0x9d9cd7(0x2de)]);}async['send'](_0x30a57d,_0x2017a7){var _0x2e8b57=_0x1b0175;if(this[_0x2e8b57(0x2bd)]!==0x3||!this[_0x2e8b57(0x1a1)])throw new Error(_0x2e8b57(0x21a));try{_0x30a57d[_0x2e8b57(0x2d6)]===_0x270543['SUBMIT_CHANGESET']&&(this[_0x2e8b57(0x312)](),this[_0x2e8b57(0x2d5)](_0x30a57d)),this[_0x2e8b57(0x1a1)][_0x2e8b57(0x2a5)]({'cmd':F[_0x2e8b57(0x170)],'routeKey':_0x2017a7,'routeType':'','data':_0x30a57d});}catch(_0x5c086f){this[_0x2e8b57(0x362)][_0x2e8b57(0x31f)](_0x5c086f);}}[_0x1b0175(0x312)](){var _0x489872=_0x1b0175,_0x306a94;this[_0x489872(0x3fc)]=setTimeout(()=>{var _0x401c91=_0x489872;this['_collaborationTimeoutTimer']=null,this[_0x401c91(0x38f)][_0x401c91(0x29e)]({'id':ne[_0x401c91(0x2d1)]});},(_0x306a94=this[_0x489872(0x3d9)][_0x489872(0x2d4)](di))!=null?_0x306a94:fi);}[_0x1b0175(0x280)](){var _0x87205c=_0x1b0175;this[_0x87205c(0x3fc)]&&(clearTimeout(this[_0x87205c(0x3fc)]),this[_0x87205c(0x3fc)]=null);}[_0x1b0175(0x2d5)](_0x121791){var _0x494fa5=_0x1b0175;if(!this[_0x494fa5(0x22c)])return;const {data:_0x1bf18f}=_0x121791,{unitID:_0x26420f,changeset:_0x407ead}=_0x1bf18f,{mutations:_0x9c7d4f,type:_0x281faa}=_0x407ead;this[_0x494fa5(0x23b)]={'unitId':_0x26420f,'type':_0x281faa,'startTime':performance[_0x494fa5(0x1f4)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x9c7d4f)};}[_0x1b0175(0x222)](){var _0x223f33=_0x1b0175;if(this[_0x223f33(0x22c)]){if(!this['_telemetryInfo']){this['_logService'][_0x223f33(0x31f)](_0x223f33(0x2c1),_0x223f33(0x444));return;}this[_0x223f33(0x23b)]['stopTime']=performance[_0x223f33(0x1f4)](),this[_0x223f33(0x23b)][_0x223f33(0x38a)]=this[_0x223f33(0x23b)][_0x223f33(0x449)]-this['_telemetryInfo'][_0x223f33(0x1db)],this[_0x223f33(0x3c1)][_0x223f33(0x241)](Os,this[_0x223f33(0x23b)]),this[_0x223f33(0x23b)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2d51ce=_0x1b0175;this[_0x2d51ce(0x23b)]=null;}};gt=As([Ce(0x2,_0x27c895),Ce(0x3,_0x39ec1e),Ce(0x4,_0x2350f5(we)),Ce(0x5,_0x2350f5(mi)),Ce(0x6,_0x2350f5(ve)),Ce(0x7,_0x364642(_0x4a9116))],gt);const J=_0x2c3a23(_0x1b0175(0x34f));function br(_0xde80e9){var _0x14f6d8=_0x1b0175;return _0x14f6d8(0x2fc)+_0xde80e9;}var ws=Object[_0x1b0175(0x469)],Ps=(_0x1b6631,_0x12f03c,_0x27baac,_0x4fbc23)=>{for(var _0x385727=_0x4fbc23>0x1?void 0x0:_0x4fbc23?ws(_0x12f03c,_0x27baac):_0x12f03c,_0x42dc0f=_0x1b6631['length']-0x1,_0x261725;_0x42dc0f>=0x0;_0x42dc0f--)(_0x261725=_0x1b6631[_0x42dc0f])&&(_0x385727=_0x261725(_0x385727)||_0x385727);return _0x385727;},ut=(_0x166947,_0x14183d)=>(_0x297b5a,_0x4fe805)=>_0x14183d(_0x297b5a,_0x4fe805,_0x166947);function Ms(_0x3106f4){var _0x4041c8=_0x1b0175;const {unitID:_0x504de0,mutations:_0x7fc59c}=_0x3106f4;return{'unitId':_0x504de0,'subUnitId':_0x7fc59c[0x0]['params'][_0x4041c8(0x233)]};}let it=class{constructor(_0x3a76e9,_0xbce8,_0x350621){var _0x59b9e6=_0x1b0175;this[_0x59b9e6(0x295)]=_0x3a76e9,this[_0x59b9e6(0x3ab)]=_0xbce8,this[_0x59b9e6(0x301)]=_0x350621;}[_0x1b0175(0x356)](_0x525683){var _0x45cf70=_0x1b0175,_0x94837a,_0x10db4b,_0x45f63c,_0x205971;const _0x351a9c=this[_0x45cf70(0x295)]['get'](_0x44ba87),{unitId:_0x26d4cf,subUnitId:_0x24269e}=Ms(_0x525683),_0x46c35d=_0x351a9c==null?void 0x0:_0x351a9c[_0x45cf70(0x3ce)](_0x26d4cf)[_0x45cf70(0x277)](),_0x20b257=(_0x10db4b=(_0x94837a=this[_0x45cf70(0x301)][_0x45cf70(0x2f3)](_0x26d4cf))==null?void 0x0:_0x94837a['getActiveSheet']())==null?void 0x0:_0x10db4b['getSheetId']();if(_0x46c35d[_0x45cf70(0x32a)]===0x0||!_0x26d4cf||!_0x24269e)return;const _0x5408de=[{'id':_0x2bcc14['id'],'params':{'unitId':_0x26d4cf,'subUnitId':_0x20b257,'selections':_0x48f3be[_0x45cf70(0x3bb)](_0x46c35d)}}],_0x2659b5=this[_0x45cf70(0x3ab)]['transformMutationsWithChangeset'](_0x525683,_0x5408de);if(!_0x125d13(_0x2659b5))throw _0x2659b5[_0x45cf70(0x31f)];const _0x1f198e=(_0x205971=(_0x45f63c=_0x2659b5[_0x45cf70(0x3c4)][0x0])==null?void 0x0:_0x45f63c[_0x45cf70(0x2e9)])==null?void 0x0:_0x205971['selections'];if(Array[_0x45cf70(0x1f3)](_0x1f198e)&&_0x1f198e[_0x45cf70(0x32a)]){if(_0x1f198e[_0x45cf70(0x32a)]===_0x5408de[0x0][_0x45cf70(0x2e9)][_0x45cf70(0x460)][_0x45cf70(0x32a)]&&_0x1f198e[_0x45cf70(0x1bd)]((_0x48029e,_0x365b8d)=>_0xb4aff[_0x45cf70(0x2db)](_0x48029e[_0x45cf70(0x373)],_0x5408de[0x0]['params']['selections'][_0x365b8d]['range'])))return;this['_injector'][_0x45cf70(0x41d)](_0x5c1e8c)[_0x45cf70(0x384)](_0x2bcc14['id'],{'unitId':_0x26d4cf,'subUnitId':_0x20b257,'selections':_0x1f198e});}}};it=Ps([ut(0x0,_0x2350f5(_0x4fef0a)),ut(0x1,_0x21e51c),ut(0x2,_0x1465c0)],it);const ht=_0x2c3a23(_0x1b0175(0x43d));var gi=(_0x2f9e63=>(_0x2f9e63[_0x2f9e63[_0x1b0175(0x478)]=0x0]=_0x1b0175(0x478),_0x2f9e63[_0x2f9e63[_0x1b0175(0x29d)]=0x1]=_0x1b0175(0x29d),_0x2f9e63))(gi||{});const K='collaboration-client.config',Ls={},xs=new Set([_0x55805a['id']]);function Wt(_0x2105e6,_0x4cd864,_0x5bfbfe,_0x479710,_0xa6aa47){var _0x297de7=_0x1b0175,_0x495cfa,_0x8245aa,_0x45624a,_0x921b58;const _0x3ae7ad=[];for(const _0x410513 of _0x2105e6)if(xs['has'](_0x410513['id'])){if(_0x3ae7ad[_0x297de7(0x32a)]>0x0)break;_0x3ae7ad['push'](_0x410513);break;}else _0x3ae7ad[_0x297de7(0x1ac)](_0x410513);const _0x10ec5b=(_0x8245aa=(_0x495cfa=_0xa6aa47[_0x297de7(0x1f0)]())==null?void 0x0:_0x495cfa[_0x297de7(0x262)])!=null?_0x8245aa:_0x297de7(0x3bd),_0x5e0a77=(_0x921b58=(_0x45624a=_0xa6aa47['getCurrentUser']())==null?void 0x0:_0x45624a[_0x297de7(0x2de)])!=null?_0x921b58:_0x297de7(0x3bd);return{'changeset':{'unitID':_0x4cd864,'type':_0x50b966(_0x5bfbfe['getUnitType'](_0x4cd864)),'baseRev':_0x479710['getCurrentRevOfUnit'](_0x4cd864),'revision':0x0,'userID':_0x10ec5b,'memberID':_0x5e0a77,'mutations':_0x3ae7ad},'pendingMutations':_0x2105e6['slice'](_0x3ae7ad[_0x297de7(0x32a)])};}function ks(_0x2c1313,_0x18dfab,_0x392b2d,_0x23e5d6,_0x1ff9d5){var _0x274c33=_0x1b0175,_0x48ddc6,_0x5164e3,_0x27656c,_0x42fcfc;const _0x497aef=[_0x2c1313['reduce']((_0x3d3fdb,_0x54b2a1)=>{var _0x24720a=_0x33ac,_0x5b2ca2;const {id:_0x1c9ce5}=_0x3d3fdb,{id:_0x5524d4,type:_0x4f2dcb}=_0x54b2a1,_0x4a302d=(_0x5b2ca2=_0x3d3fdb[_0x24720a(0x2e9)])!=null?_0x5b2ca2:{'actions':null},_0x5b7436=_0x54b2a1['params'];if(_0x1c9ce5&&_0x1c9ce5!==_0x5524d4)throw new Error(_0x24720a(0x473)+_0x1c9ce5+'\x20-\x20'+_0x5524d4+'.');return{..._0x3d3fdb,'id':_0x5524d4,'type':_0x4f2dcb,'params':{'unitId':_0x5b7436[_0x24720a(0x359)],'textRanges':_0x5b7436[_0x24720a(0x18f)],'actions':_0x20ee78[_0x24720a(0x2a4)](_0x4a302d['actions'],_0x5b7436[_0x24720a(0x24d)])}};},{})],_0x2b297d=(_0x5164e3=(_0x48ddc6=_0x1ff9d5[_0x274c33(0x1f0)]())==null?void 0x0:_0x48ddc6[_0x274c33(0x262)])!=null?_0x5164e3:'unknown',_0x21dfee=(_0x42fcfc=(_0x27656c=_0x1ff9d5[_0x274c33(0x1f0)]())==null?void 0x0:_0x27656c[_0x274c33(0x2de)])!=null?_0x42fcfc:'unknown';return{'changeset':{'unitID':_0x18dfab,'type':_0x50b966(_0x392b2d[_0x274c33(0x38c)](_0x18dfab)),'baseRev':_0x23e5d6[_0x274c33(0x1ea)](_0x18dfab),'revision':0x0,'userID':_0x2b297d,'memberID':_0x21dfee,'mutations':_0x497aef},'pendingMutations':[]};}function Si(_0xde90f1,_0x2e1b08){var _0x377655=_0x1b0175;const _0x37783d=new _0x5b3914(0x1);return setTimeout(()=>_0x37783d[_0x377655(0x377)](_0x2e1b08),_0xde90f1),_0x37783d['asObservable']()[_0x377655(0x3f2)](_0x1ebb68(0x1));}const $s={'id':_0x39779e['id'],'type':_0x4f80e7[_0x1b0175(0x177)],'params':{}};var Hs=Object[_0x1b0175(0x469)],Ee=(_0xccbc7d,_0x5dccdc,_0x570dc7,_0x22fa4d)=>{var _0xf3f523=_0x1b0175;for(var _0x55cd9b=_0x22fa4d>0x1?void 0x0:_0x22fa4d?Hs(_0x5dccdc,_0x570dc7):_0x5dccdc,_0x567573=_0xccbc7d[_0xf3f523(0x32a)]-0x1,_0x41cd49;_0x567573>=0x0;_0x567573--)(_0x41cd49=_0xccbc7d[_0x567573])&&(_0x55cd9b=_0x41cd49(_0x55cd9b)||_0x55cd9b);return _0x55cd9b;},P=(_0x520185,_0x3b7def)=>(_0x591b23,_0x8cab3b)=>_0x3b7def(_0x591b23,_0x8cab3b,_0x520185),Ei=(_0x514d7c=>(_0x514d7c[_0x1b0175(0x258)]='not_collab',_0x514d7c[_0x1b0175(0x1ca)]=_0x1b0175(0x2ff),_0x514d7c[_0x1b0175(0x1ec)]=_0x1b0175(0x1e5),_0x514d7c[_0x1b0175(0x40c)]=_0x1b0175(0x320),_0x514d7c['AWAITING_WITH_PENDING']=_0x1b0175(0x1f1),_0x514d7c[_0x1b0175(0x289)]=_0x1b0175(0x410),_0x514d7c[_0x1b0175(0x1a7)]=_0x1b0175(0x173),_0x514d7c[_0x1b0175(0x286)]=_0x1b0175(0x3b3),_0x514d7c))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x52a54e,_0x471a8e,_0x112947,_0x514d13,_0x23cb85,_0x1c25e0,_0x2dfdcc,_0x23e967,_0x51a701){var _0x44338=_0x1b0175;N(this,_0x44338(0x307),null),N(this,_0x44338(0x456),[]),(this[_0x44338(0x2a9)]=_0x52a54e,this[_0x44338(0x279)]=_0x471a8e,this['_handler']=_0x23cb85,this[_0x44338(0x371)]=_0x1c25e0,this[_0x44338(0x46a)]=_0x2dfdcc,this['_revisionService']=_0x23e967,this[_0x44338(0x32d)]=_0x51a701,this[_0x44338(0x307)]=_0x112947,this[_0x44338(0x456)]=_0x514d13);}[_0x1b0175(0x1c2)](_0x2386b9){var _0x4a9ec8=_0x1b0175;const _0x2998fd=this[_0x4a9ec8(0x30c)]['getCurrentRevOfUnit'](this[_0x4a9ec8(0x2a9)]);return _0x2386b9[_0x4a9ec8(0x2b5)]>_0x2998fd+0x1?(this[_0x4a9ec8(0x3d8)][_0x4a9ec8(0x3d2)]({'from':_0x2998fd,'to':_0x2386b9[_0x4a9ec8(0x2b5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x463208){var _0xfb24ab=_0x1b0175;this['_undoRedoService'][_0xfb24ab(0x3c7)](this[_0xfb24ab(0x2a9)],_0x463208);}[_0x1b0175(0x1ce)](_0x229e5b){var _0x2dc011=_0x1b0175,_0x516590,_0x2bf03f;(_0x2bf03f=(_0x516590=this['_handler'])[_0x2dc011(0x265)])==null||_0x2bf03f[_0x2dc011(0x21d)](_0x516590,_0x229e5b);}['_transformIMECache'](_0x394178){var _0xe6a75a=_0x1b0175,_0xb58815,_0x42065f;return(_0x42065f=(_0xb58815=this[_0xe6a75a(0x3d8)])[_0xe6a75a(0x448)])==null?void 0x0:_0x42065f[_0xe6a75a(0x21d)](_0xb58815,_0x394178);}['_transformStateCache'](_0x26dd1b){var _0x42652c=_0x1b0175,_0x40f6a1,_0x50e853;return(_0x50e853=(_0x40f6a1=this[_0x42652c(0x3d8)])[_0x42652c(0x455)])==null?void 0x0:_0x50e853[_0x42652c(0x21d)](_0x40f6a1,_0x26dd1b);}[_0x1b0175(0x2d3)](_0x204608){var _0x2e2ff0=_0x1b0175,_0xc2b8,_0x1c363e,_0x37ed16;return(_0x37ed16=(_0x1c363e=(_0xc2b8=this['_handler'])[_0x2e2ff0(0x466)])==null?void 0x0:_0x1c363e[_0x2e2ff0(0x21d)](_0xc2b8,_0x204608))!=null?_0x37ed16:_0x204608;}['_transformRemoteChangesetByStateCache'](_0x2a5688){var _0x56aa73=_0x1b0175,_0x24c2df,_0x71f235,_0x3d8f9b;return(_0x3d8f9b=(_0x71f235=(_0x24c2df=this[_0x56aa73(0x3d8)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x71f235[_0x56aa73(0x21d)](_0x24c2df,_0x2a5688))!=null?_0x3d8f9b:_0x2a5688;}[_0x1b0175(0x451)](_0x5b1a4d){var _0x2754be=_0x1b0175,_0x5ca6a2,_0x115d78;if(this[_0x2754be(0x279)]===Z['UNIVER_DOC']){const {unitID:_0xe5c985,mutations:_0x589efd,memberID:_0x2da1eb}=_0x5b1a4d,_0x215984=_0x589efd[0x0][_0x2754be(0x2e9)][_0x2754be(0x18f)];Array[_0x2754be(0x1f3)](_0x215984)&&_0x215984['length']>0x0&&((_0x115d78=(_0x5ca6a2=this[_0x2754be(0x3d8)])[_0x2754be(0x33a)])==null||_0x115d78[_0x2754be(0x21d)](_0x5ca6a2,{'unitID':_0xe5c985,'memberID':_0x2da1eb,'textRanges':_0x215984}));}}['_updateLocalCache'](){var _0x30f19a=_0x1b0175,_0x497b04;(_0x497b04=this['_localCacheService'])==null||_0x497b04[_0x30f19a(0x267)](this[_0x30f19a(0x2a9)],this[_0x30f19a(0x279)],this[_0x30f19a(0x307)],this[_0x30f19a(0x456)]);}[_0x1b0175(0x411)](){var _0x5085f9=_0x1b0175;return this[_0x5085f9(0x30c)][_0x5085f9(0x1ea)](this['unitID']);}[_0x1b0175(0x36b)](){var _0x585f6d=_0x1b0175;this[_0x585f6d(0x30c)][_0x585f6d(0x322)](this[_0x585f6d(0x2a9)]);}[_0x1b0175(0x2e0)](_0x5bf3cc){var _0x126ae2=_0x1b0175,_0x14749f;let _0x2d091b=this[_0x126ae2(0x2d3)](_0x5bf3cc);_0x2d091b=this[_0x126ae2(0x3c5)](_0x2d091b);const _0x555579=_0x3751f6(_0x2d091b['mutations'],this[_0x126ae2(0x371)],{'fromCollab':!0x0});if(!_0x555579[_0x126ae2(0x1ad)])throw _0x555579[_0x126ae2(0x31f)]instanceof Error?_0x555579[_0x126ae2(0x31f)]:new Error((_0x14749f=_0x555579[_0x126ae2(0x31f)])!=null?_0x14749f:_0x126ae2(0x35b));this[_0x126ae2(0x3b2)](_0x2d091b),this[_0x126ae2(0x2af)](_0x2d091b),this[_0x126ae2(0x355)](_0x5bf3cc),this[_0x126ae2(0x1ce)](_0x2d091b),this[_0x126ae2(0x451)](_0x2d091b),this[_0x126ae2(0x36b)]();}}let ye=class extends Ie{constructor(_0x4f563b,_0x2adabc,_0x52d184,_0x381c3d,_0xfe0489,_0x39608a,_0x58f315,_0x24cccf,_0x40ddbb,_0x198960){var _0x1c84ea=_0x1b0175;super(_0x4f563b,_0x2adabc,null,[],_0x52d184,_0x58f315,_0x39608a,_0x381c3d,_0x198960),N(this,_0x1c84ea(0x27c),_0x1c84ea(0x2ff)),(this[_0x1c84ea(0x295)]=_0xfe0489,this[_0x1c84ea(0x362)]=_0x24cccf,this[_0x1c84ea(0x3ab)]=_0x40ddbb,this[_0x1c84ea(0x1a6)]=_0x198960);}[_0x1b0175(0x3cb)](_0x3d64c3){var _0x1d9f8a=_0x1b0175;const _0x2e5547=this[_0x1d9f8a(0x295)][_0x1d9f8a(0x209)](re,this[_0x1d9f8a(0x2a9)],this[_0x1d9f8a(0x279)],[_0x3d64c3],this[_0x1d9f8a(0x3d8)]);return _0x2e5547[_0x1d9f8a(0x266)](),_0x2e5547[_0x1d9f8a(0x2c5)](),_0x2e5547;}[_0x1b0175(0x2e3)](_0x3d71a5){var _0x464a8d=_0x1b0175;if(this['_checkMissing'](_0x3d71a5))return this[_0x464a8d(0x295)]['createInstance'](Q,this[_0x464a8d(0x2a9)],this[_0x464a8d(0x279)],null,[],null,[_0x3d71a5],this['_handler']);try{const _0x13e93c=this['_transformService'][_0x464a8d(0x244)](_0x3d71a5,[$s]);if(_0x125d13(_0x13e93c)){const {c1Prime:_0x201121}=_0x13e93c;return this[_0x464a8d(0x2e0)](_0x201121),this;}throw _0x13e93c[_0x464a8d(0x31f)];}catch(_0x2526b1){return this[_0x464a8d(0x362)]['error'](_0x2526b1),this[_0x464a8d(0x179)](!0x1);}}['_onConflict'](_0x535981){var _0x550c74=_0x1b0175;return this[_0x550c74(0x295)]['createInstance'](le,this[_0x550c74(0x2a9)],this[_0x550c74(0x279)],null,[],this['_handler'],_0x535981);}[_0x1b0175(0x352)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x34831c=_0x1b0175;throw new Error(_0x34831c(0x1d5));}[_0x1b0175(0x2c4)](){return this;}['toggleOffline'](){var _0x1c70dd=_0x1b0175;return this[_0x1c70dd(0x295)]['createInstance'](ue,this[_0x1c70dd(0x2a9)],this['type'],null,[],this[_0x1c70dd(0x3d8)]);}[_0x1b0175(0x365)](){return this;}['resend'](){var _0x1cae85=_0x1b0175;throw new Error(_0x1cae85(0x330));}['fetchMiss'](){var _0x440aee=_0x1b0175;const _0x3de897=this['_revisionService'][_0x440aee(0x1ea)](this['unitID']);return this[_0x440aee(0x3d8)][_0x440aee(0x3d2)]({'from':_0x3de897,'to':0x0}),this['_injector'][_0x440aee(0x209)](Q,this[_0x440aee(0x2a9)],this['type'],null,[],null,[],this[_0x440aee(0x3d8)]);}};ye=Ee([P(0x3,_0x2350f5(_0x1b2f89)),P(0x4,_0x2350f5(_0x4fef0a)),P(0x5,_0x2c5918),P(0x6,_0x5c1e8c),P(0x7,_0x27c895),P(0x8,_0x21e51c),P(0x9,_0x364642(J))],ye);let re=class extends Ie{constructor(_0x3fcb1c,_0x9282fd,_0x196dfb,_0x570403,_0x5e4c13,_0x5aca5c,_0x3a5e6f,_0x584851,_0x11661f,_0x3f2aeb,_0x1a1ce2,_0x2a3f59,_0x4ce70d,_0x3781e7){var _0x388e99=_0x1b0175;super(_0x3fcb1c,_0x9282fd,null,_0x196dfb,_0x570403,_0x11661f,_0x4ce70d,_0x5aca5c,_0x3781e7),N(this,_0x388e99(0x27c),_0x388e99(0x1e5)),N(this,_0x388e99(0x3b4),null),N(this,'_sendingTimer',null),(this[_0x388e99(0x295)]=_0x5e4c13,this[_0x388e99(0x251)]=_0x3a5e6f,this['_logService']=_0x584851,this[_0x388e99(0x3d9)]=_0x3f2aeb,this['_transformService']=_0x1a1ce2,this[_0x388e99(0x1cf)]=_0x2a3f59);}[_0x1b0175(0x3cb)](_0x30f89e){var _0x5d85d8=_0x1b0175;return this[_0x5d85d8(0x456)][_0x5d85d8(0x1ac)](_0x30f89e),this[_0x5d85d8(0x2c5)](),this;}[_0x1b0175(0x2e3)](_0x4b7afb){var _0x11cf0f=_0x1b0175;if(this[_0x11cf0f(0x1c2)](_0x4b7afb))return this[_0x11cf0f(0x3b6)](),this[_0x11cf0f(0x295)]['createInstance'](Q,this[_0x11cf0f(0x2a9)],this['type'],null,this[_0x11cf0f(0x456)],null,[_0x4b7afb],this[_0x11cf0f(0x3d8)]);try{const _0x490ab2=this['_transformService']['transformMutationsWithChangeset'](_0x4b7afb,this[_0x11cf0f(0x456)]);if(_0x125d13(_0x490ab2)){const {c1Prime:_0xb24b7,m2Prime:_0x2439e0}=_0x490ab2;this[_0x11cf0f(0x2e0)](_0xb24b7);const _0x1b7fab=this['_injector']['createInstance'](re,this[_0x11cf0f(0x2a9)],this[_0x11cf0f(0x279)],_0x2439e0,this[_0x11cf0f(0x3d8)]);this[_0x11cf0f(0x3b6)]();const _0x4ec638=new Date()[_0x11cf0f(0x400)](),_0x3498d9=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x11cf0f(0x3b4)]-_0x4ec638,0x0):this['_getSendChangesetTimeout']();return _0x1b7fab[_0x11cf0f(0x266)](_0x3498d9),_0x1b7fab;}throw _0x490ab2[_0x11cf0f(0x31f)];}catch(_0x529c13){return this[_0x11cf0f(0x362)][_0x11cf0f(0x31f)](_0x529c13),this[_0x11cf0f(0x179)](!0x1);}}[_0x1b0175(0x352)](){var _0x493a31=_0x1b0175;throw new Error(_0x493a31(0x28d));}[_0x1b0175(0x395)](){var _0x493b12=_0x1b0175;throw new Error(_0x493b12(0x231));}[_0x1b0175(0x2c4)](){return this;}[_0x1b0175(0x215)](){var _0xbe0cf8=_0x1b0175;return this[_0xbe0cf8(0x3b6)](),this[_0xbe0cf8(0x295)][_0xbe0cf8(0x209)](ue,this['unitID'],this[_0xbe0cf8(0x279)],null,this[_0xbe0cf8(0x456)],this[_0xbe0cf8(0x3d8)]);}[_0x1b0175(0x365)](){return this;}[_0x1b0175(0x266)](_0x366706){var _0x455723=_0x1b0175;const _0xa662c8=_0x366706!=null?_0x366706:this['_getSendChangesetTimeout']();this[_0x455723(0x3b4)]=new Date()[_0x455723(0x400)]()+_0xa662c8,this[_0x455723(0x2f2)]=setTimeout(()=>{var _0x43f774=_0x455723;this[_0x43f774(0x3b6)]();let _0x2d628a=null;switch(this[_0x43f774(0x279)]){case Z[_0x43f774(0x245)]:{_0x2d628a=Wt(this[_0x43f774(0x456)],this[_0x43f774(0x2a9)],this['_univerInstanceService'],this['_revisionService'],this[_0x43f774(0x251)]);break;}case Z[_0x43f774(0x293)]:{this[_0x43f774(0x456)][_0x43f774(0x1bd)](_0x217aba=>_0x217aba['id']===_0x1d8c39['id'])?_0x2d628a=ks(this[_0x43f774(0x456)],this[_0x43f774(0x2a9)],this[_0x43f774(0x1cf)],this['_revisionService'],this[_0x43f774(0x251)]):_0x2d628a=Wt(this[_0x43f774(0x456)],this['unitID'],this['_univerInstanceService'],this[_0x43f774(0x30c)],this[_0x43f774(0x251)]);break;}default:throw new Error(_0x43f774(0x2b1)+this[_0x43f774(0x279)]+_0x43f774(0x3a3));}const {changeset:_0x2b34c6,pendingMutations:_0x6b095a}=_0x2d628a;this[_0x43f774(0x3d8)][_0x43f774(0x2f9)](_0x2b34c6);const _0x3783c2=_0x6b095a['length']?this[_0x43f774(0x295)]['createInstance'](ae,this[_0x43f774(0x2a9)],this[_0x43f774(0x279)],_0x2b34c6,_0x6b095a,this[_0x43f774(0x3d8)],void 0x0):this[_0x43f774(0x295)][_0x43f774(0x209)](_e,this['unitID'],this[_0x43f774(0x279)],_0x2b34c6,this[_0x43f774(0x3d8)]);_0x3783c2[_0x43f774(0x2c5)](),this[_0x43f774(0x3d8)][_0x43f774(0x1c1)](this,_0x3783c2);},_0xa662c8);}[_0x1b0175(0x3e2)](){var _0x328504=_0x1b0175,_0x636fea;const _0x34e965=this[_0x328504(0x3d9)][_0x328504(0x2d4)](K);return(_0x636fea=_0x34e965==null?void 0x0:_0x34e965[_0x328504(0x45f)])!=null?_0x636fea:ps;}[_0x1b0175(0x195)](){var _0xa7394b=_0x1b0175;throw new Error(_0xa7394b(0x348));}[_0x1b0175(0x3b6)](){var _0x4754c6=_0x1b0175;this[_0x4754c6(0x2f2)]!=null&&(clearTimeout(this[_0x4754c6(0x2f2)]),this['_sendingTimer']=null);}['_onConflict'](_0x374bf0){var _0x591bb4=_0x1b0175;return this[_0x591bb4(0x3b6)](),this['_injector']['createInstance'](le,this['unitID'],this['type'],null,this[_0x591bb4(0x456)],this[_0x591bb4(0x3d8)],_0x374bf0);}};re=Ee([P(0x4,_0x2350f5(_0x4fef0a)),P(0x5,_0x2350f5(_0x1b2f89)),P(0x6,_0x2350f5(we)),P(0x7,_0x27c895),P(0x8,_0x5c1e8c),P(0x9,_0x39ec1e),P(0xa,_0x21e51c),P(0xb,_0x1465c0),P(0xc,_0x2c5918),P(0xd,_0x364642(J))],re);let _e=class extends Ie{constructor(_0x149c09,_0x368a94,_0x201071,_0x3b9c83,_0x841417,_0x45077f,_0x4e91ea,_0x175054,_0x21898c,_0xba4f9e,_0x4c1e29){var _0x431f23=_0x1b0175;super(_0x149c09,_0x368a94,_0x201071,[],_0x3b9c83,_0x4e91ea,_0xba4f9e,_0x45077f,_0x4c1e29),N(this,_0x431f23(0x27c),_0x431f23(0x320)),N(this,'_resendTimeout',0x0),N(this,_0x431f23(0x453)),N(this,_0x431f23(0x39d)),(this[_0x431f23(0x295)]=_0x841417,this[_0x431f23(0x362)]=_0x175054,this[_0x431f23(0x3ab)]=_0x21898c);}[_0x1b0175(0x3cb)](_0x2f1876){var _0x25b644=_0x1b0175;this['_clearScheduledTask']();const _0x2b4585=this[_0x25b644(0x295)][_0x25b644(0x209)](ae,this['unitID'],this['type'],this[_0x25b644(0x307)],[_0x2f1876],this[_0x25b644(0x3d8)],this[_0x25b644(0x453)]);return _0x2b4585[_0x25b644(0x2c5)](),_0x2b4585;}[_0x1b0175(0x2e3)](_0x1a2de1){var _0xd80402=_0x1b0175;if(this['_checkMissing'](_0x1a2de1))return this[_0xd80402(0x3b6)](),this[_0xd80402(0x295)]['createInstance'](Q,this[_0xd80402(0x2a9)],this[_0xd80402(0x279)],this['_awaitingChangeset'],[],null,[_0x1a2de1],this[_0xd80402(0x3d8)]);try{const _0x5db8f9=this[_0xd80402(0x3ab)]['transformChangesets']([_0x1a2de1],[this[_0xd80402(0x307)]],!0x1);if(_0x23e1df(_0x5db8f9)){const {c1Prime:_0x27868b,c2Prime:_0x1b513f}=_0x5db8f9;this['_executeRemoteChangeset'](_0x27868b[0x0]),_0x1b513f[0x0][_0xd80402(0x1c9)]=this[_0xd80402(0x411)](),this[_0xd80402(0x3b6)]();const _0xd509fe=this['_injector'][_0xd80402(0x209)](_e,this[_0xd80402(0x2a9)],this[_0xd80402(0x279)],_0x1b513f[0x0],this[_0xd80402(0x3d8)]);return _0xd509fe['_updateLocalCache'](),_0xd509fe;}return this[_0xd80402(0x179)](!0x1);}catch(_0x378fe8){return this[_0xd80402(0x362)][_0xd80402(0x31f)](_0x378fe8),this[_0xd80402(0x179)](!0x1);}}[_0x1b0175(0x352)](_0x296c20){var _0x2bd61e=_0x1b0175;this[_0x2bd61e(0x3b6)]();const _0x19cfb8=this[_0x2bd61e(0x30c)][_0x2bd61e(0x1ea)](this['unitID']);if(_0x296c20[_0x2bd61e(0x2b5)]<_0x19cfb8-0x1)return this;if(this[_0x2bd61e(0x1c2)](_0x296c20))return this['_injector'][_0x2bd61e(0x209)](Q,this[_0x2bd61e(0x2a9)],this[_0x2bd61e(0x279)],null,[],this[_0x2bd61e(0x307)],[],this[_0x2bd61e(0x3d8)]);this['_incrementRevisionNumber']();const _0x28e676=this[_0x2bd61e(0x295)][_0x2bd61e(0x209)](ye,this[_0x2bd61e(0x2a9)],this['type'],this[_0x2bd61e(0x3d8)]);return _0x28e676[_0x2bd61e(0x2c5)](),_0x28e676;}['onRemoteRej'](_0x9514ab){var _0x301244=_0x1b0175;return this[_0x301244(0x179)](!!(_0x9514ab!=null&&_0x9514ab[_0x301244(0x1cb)]));}[_0x1b0175(0x2c4)](_0x58d646){var _0x508b35=_0x1b0175;return this[_0x508b35(0x288)]>Ii?this[_0x508b35(0x215)]():(this[_0x508b35(0x453)]=Si(this[_0x508b35(0x288)],{'timeout':this[_0x508b35(0x288)],'reqId':_0x58d646[_0x508b35(0x3ca)]}),this[_0x508b35(0x39d)]=this[_0x508b35(0x453)][_0x508b35(0x17c)](({reqId:_0x427e28,timeout:_0x4f7fe4})=>{var _0x3acaf2=_0x508b35;this[_0x3acaf2(0x25c)](_0x427e28,_0x4f7fe4);}),this);}['toggleOffline'](){var _0x50b105=_0x1b0175;return this[_0x50b105(0x3b6)](),this['_injector'][_0x50b105(0x209)](ue,this['unitID'],this[_0x50b105(0x279)],this[_0x50b105(0x307)],[],this[_0x50b105(0x3d8)]);}[_0x1b0175(0x365)](){return this;}[_0x1b0175(0x195)](){var _0x5a3c6f=_0x1b0175;this[_0x5a3c6f(0x3d8)][_0x5a3c6f(0x2f9)](this[_0x5a3c6f(0x307)]);}[_0x1b0175(0x179)](_0x5c4903){var _0x1d1f9f=_0x1b0175;return this[_0x1d1f9f(0x3b6)](),this[_0x1d1f9f(0x295)][_0x1d1f9f(0x209)](le,this[_0x1d1f9f(0x2a9)],this[_0x1d1f9f(0x279)],this['_awaitingChangeset'],[],this[_0x1d1f9f(0x3d8)],_0x5c4903);}['_resendWithTimeout'](_0x383773,_0x3e1778){var _0x462efb=_0x1b0175,_0x1731d1;_0x383773===((_0x1731d1=this[_0x462efb(0x307)])==null?void 0x0:_0x1731d1['reqId'])&&(this[_0x462efb(0x195)](),this['_resendTimeout']=_0x3e1778===0x0?0x3e8:_0x3e1778*0x2);}[_0x1b0175(0x3b6)](){var _0x5c9cca=_0x1b0175,_0x7099b7;(_0x7099b7=this[_0x5c9cca(0x39d)])==null||_0x7099b7[_0x5c9cca(0x417)](),this[_0x5c9cca(0x288)]=0x0;}};_e=Ee([P(0x4,_0x2350f5(_0x4fef0a)),P(0x5,_0x2350f5(_0x1b2f89)),P(0x6,_0x5c1e8c),P(0x7,_0x27c895),P(0x8,_0x21e51c),P(0x9,_0x2c5918),P(0xa,_0x364642(J))],_e);let ae=class extends Ie{constructor(_0x3a8542,_0x1f6477,_0x5745e8,_0x3baf59,_0x20da37,_0x150c4e,_0x180d84,_0x11c606,_0x1c6a7c,_0x1621b8,_0x4e5f0a,_0x317c90,_0x12ffad){var _0x25a14b=_0x1b0175;super(_0x3a8542,_0x1f6477,_0x5745e8,_0x3baf59,_0x20da37,_0x1c6a7c,_0x317c90,_0x11c606,_0x12ffad),N(this,'status',_0x25a14b(0x1f1)),N(this,_0x25a14b(0x288),0x0),N(this,_0x25a14b(0x453)),N(this,'_sender'),(this[_0x25a14b(0x295)]=_0x180d84,this[_0x25a14b(0x362)]=_0x1621b8,this[_0x25a14b(0x3ab)]=_0x4e5f0a,this[_0x25a14b(0x1a6)]=_0x12ffad,_0x150c4e&&(this[_0x25a14b(0x453)]=_0x150c4e,this[_0x25a14b(0x39d)]=this[_0x25a14b(0x453)][_0x25a14b(0x17c)](({reqId:_0x2cfd9f,timeout:_0x58a86e})=>{var _0x5298b9=_0x25a14b;this[_0x5298b9(0x25c)](_0x2cfd9f,_0x58a86e);})));}[_0x1b0175(0x3cb)](_0x5619de){var _0x7fb44e=_0x1b0175;return this[_0x7fb44e(0x456)]['push'](_0x5619de),this;}['onRemoteChangeset'](_0x342cfa){var _0x43da05=_0x1b0175;if(this[_0x43da05(0x1c2)](_0x342cfa))return this[_0x43da05(0x3b6)](),this[_0x43da05(0x295)][_0x43da05(0x209)](Q,this[_0x43da05(0x2a9)],this[_0x43da05(0x279)],this[_0x43da05(0x307)],this['_pendingMutations'],null,[_0x342cfa],this[_0x43da05(0x3d8)]);try{const _0x14324c=this[_0x43da05(0x3ab)][_0x43da05(0x37a)]([_0x342cfa],[this[_0x43da05(0x307)]],!0x1);if(_0x23e1df(_0x14324c)){const {c1Prime:_0x21196a,c2Prime:_0x354ab7}=_0x14324c,_0x537264=this[_0x43da05(0x3ab)][_0x43da05(0x244)](_0x21196a[0x0],this[_0x43da05(0x456)]);if(_0x125d13(_0x537264)){const {c1Prime:_0x465d1d,m2Prime:_0x4fb6fa}=_0x537264;return this['_executeRemoteChangeset'](_0x465d1d),_0x354ab7[0x0][_0x43da05(0x1c9)]=this['_getCurrentRevision'](),this[_0x43da05(0x3b6)](),this[_0x43da05(0x295)][_0x43da05(0x209)](ae,this[_0x43da05(0x2a9)],this['type'],_0x354ab7[0x0],_0x4fb6fa,this[_0x43da05(0x3d8)],void 0x0);}throw _0x537264['error'];}throw _0x14324c['error'];}catch(_0x1fe3e3){return this['_logService']['error'](_0x1fe3e3),this[_0x43da05(0x179)](!0x1);}}[_0x1b0175(0x352)](_0x16ef03){var _0x600179=_0x1b0175;if(this[_0x600179(0x3b6)](),this[_0x600179(0x1c2)](_0x16ef03))return this[_0x600179(0x295)][_0x600179(0x209)](Q,this[_0x600179(0x2a9)],this[_0x600179(0x279)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x600179(0x3d8)]);this['_incrementRevisionNumber']();const _0x46b023=this[_0x600179(0x295)]['createInstance'](re,this[_0x600179(0x2a9)],this['type'],this[_0x600179(0x456)],this[_0x600179(0x3d8)]);return _0x46b023[_0x600179(0x266)](),_0x46b023[_0x600179(0x2c5)](),_0x46b023;}[_0x1b0175(0x395)](_0x3b3588){var _0x3b58a0=_0x1b0175;return this['_onConflict'](!!(_0x3b3588!=null&&_0x3b3588[_0x3b58a0(0x1cb)]));}[_0x1b0175(0x2c4)](_0x515f87){var _0x2d7452=_0x1b0175;return this['_resendTimeout']>Ii?this['toggleOffline']():(this[_0x2d7452(0x453)]=Si(this[_0x2d7452(0x288)],{'timeout':this[_0x2d7452(0x288)],'reqId':_0x515f87['reqId']}),this['_sender']=this['_resendTimer'][_0x2d7452(0x17c)](({reqId:_0x30bb77,timeout:_0x49331a})=>{var _0x510974=_0x2d7452;this[_0x510974(0x25c)](_0x30bb77,_0x49331a);}),this);}[_0x1b0175(0x215)](){var _0x2d4aed=_0x1b0175;return this[_0x2d4aed(0x3b6)](),this[_0x2d4aed(0x295)][_0x2d4aed(0x209)](ue,this['unitID'],this[_0x2d4aed(0x279)],this['_awaitingChangeset'],this[_0x2d4aed(0x456)],this[_0x2d4aed(0x3d8)]);}[_0x1b0175(0x365)](){return this;}[_0x1b0175(0x195)](){var _0x2a5ffc=_0x1b0175;this[_0x2a5ffc(0x3d8)][_0x2a5ffc(0x2f9)](this[_0x2a5ffc(0x307)]);}['_onConflict'](_0x58e54a){var _0x170531=_0x1b0175;return this[_0x170531(0x3b6)](),this[_0x170531(0x295)]['createInstance'](le,this['unitID'],this['type'],null,this[_0x170531(0x456)],this[_0x170531(0x3d8)],_0x58e54a);}['_resendWithTimeout'](_0x3cf07a,_0x43f68f){var _0x39f16a=_0x1b0175,_0x3c3a33;_0x3cf07a===((_0x3c3a33=this[_0x39f16a(0x307)])==null?void 0x0:_0x3c3a33[_0x39f16a(0x3ca)])&&(this[_0x39f16a(0x195)](),this[_0x39f16a(0x288)]=_0x43f68f===0x0?0x3e8:_0x43f68f*0x2);}[_0x1b0175(0x3b6)](){var _0x49d09d=_0x1b0175,_0xdca516;(_0xdca516=this[_0x49d09d(0x39d)])==null||_0xdca516[_0x49d09d(0x417)](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x2350f5(_0x4fef0a)),P(0x7,_0x2350f5(_0x1b2f89)),P(0x8,_0x5c1e8c),P(0x9,_0x27c895),P(0xa,_0x21e51c),P(0xb,_0x2c5918),P(0xc,_0x364642(J))],ae);let le=class extends Ie{constructor(_0x52657b,_0x1349b4,_0x150d85,_0x8c2f61,_0x491ec0,_0x2b1393=!0x1,_0x114be7,_0x146611,_0x1354e7,_0x576c13,_0x3a77a0,_0xfd67f4,_0x3fc8fd){var _0x22a0c3=_0x1b0175;super(_0x52657b,_0x1349b4,_0x150d85,_0x8c2f61,_0x491ec0,_0x146611,_0x1354e7,_0x576c13,_0x3fc8fd),N(this,'status','conflict'),(this[_0x22a0c3(0x1ff)]=_0x2b1393,this['_permissionService']=_0x114be7,this['_localeService']=_0x3a77a0,this['_collaborationUIEventService']=_0xfd67f4,this['localCacheService']=_0x3fc8fd,this[_0x22a0c3(0x412)](),this[_0x22a0c3(0x1cd)](),this[_0x22a0c3(0x349)]());}[_0x1b0175(0x3cb)](){return this;}[_0x1b0175(0x2e3)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x1b0175(0x2c4)](){return this;}[_0x1b0175(0x215)](){return this;}[_0x1b0175(0x365)](){return this;}[_0x1b0175(0x195)](){var _0x3c3d61=_0x1b0175;throw new Error(_0x3c3d61(0x210));}[_0x1b0175(0x1cd)](){var _0x526f92=_0x1b0175,_0x417f61;(_0x417f61=this['_localCacheService'])==null||_0x417f61[_0x526f92(0x267)](this[_0x526f92(0x2a9)],this[_0x526f92(0x279)],null,[]);}[_0x1b0175(0x412)](){var _0x4a6ba6=_0x1b0175;this[_0x4a6ba6(0x1ff)]?this[_0x4a6ba6(0x38f)]['emitEvent']({'id':ne[_0x4a6ba6(0x38b)]}):this[_0x4a6ba6(0x38f)]['emitEvent']({'id':ne[_0x4a6ba6(0x1a7)]});}[_0x1b0175(0x349)](){var _0x33ca8d=_0x1b0175;this[_0x33ca8d(0x2ed)][_0x33ca8d(0x20b)](new _0x1e11ff(this[_0x33ca8d(0x2a9)])['id'],!0x1);}};le=Ee([P(0x6,_0x2350f5(_0x33cf07)),P(0x7,_0x5c1e8c),P(0x8,_0x2c5918),P(0x9,_0x2350f5(_0x1b2f89)),P(0xa,_0x2350f5(_0x167f10)),P(0xb,_0x2350f5(ve)),P(0xc,_0x364642(J))],le);let ue=class extends Ie{constructor(_0x3e73e7,_0x19865c,_0x2772a8,_0x479cc2,_0x421e6c,_0x1cacec,_0x57131c,_0x18a3a1,_0xd7e600,_0x3f9026){var _0x26fb47=_0x1b0175;super(_0x3e73e7,_0x19865c,_0x2772a8,_0x479cc2,_0x421e6c,_0x18a3a1,_0xd7e600,_0x57131c,_0x3f9026),N(this,_0x26fb47(0x27c),'offline'),this[_0x26fb47(0x295)]=_0x1cacec;}['appendMutation'](_0x368b08){var _0x52769c=_0x1b0175;return this['_pendingMutations'][_0x52769c(0x1ac)](_0x368b08),this[_0x52769c(0x2c5)](),this;}[_0x1b0175(0x2e3)](_0x23e483){var _0x366ab0=_0x1b0175;throw new Error(_0x366ab0(0x3b8));}[_0x1b0175(0x352)](){var _0x24f0b4=_0x1b0175;throw new Error(_0x24f0b4(0x1ab));}[_0x1b0175(0x395)](){var _0x345312=_0x1b0175;throw new Error(_0x345312(0x3a5));}[_0x1b0175(0x2c4)](){return this;}[_0x1b0175(0x215)](){return this;}[_0x1b0175(0x365)](){var _0x2c3151=_0x1b0175;const {_injector:_0xbde47,_pendingMutations:_0x183450,_awaitingChangeset:_0xd6c9b3,unitID:_0x10f564,_handler:_0x18d899,type:_0x4f92b0}=this,_0x4b0f6c=Ti(_0xbde47,_0x10f564,_0x4f92b0,_0xd6c9b3,_0x183450,_0x18d899);return _0x4b0f6c instanceof re?_0x4b0f6c[_0x2c3151(0x266)]():(_0x4b0f6c instanceof ae||_0x4b0f6c instanceof _e)&&_0x4b0f6c['resend'](),_0x4b0f6c;}[_0x1b0175(0x195)](){var _0x5c19c5=_0x1b0175;throw new Error(_0x5c19c5(0x2cc));}};ue=Ee([P(0x5,_0x2350f5(_0x4fef0a)),P(0x6,_0x2350f5(_0x1b2f89)),P(0x7,_0x5c1e8c),P(0x8,_0x2c5918),P(0x9,_0x364642(J))],ue);let Q=class extends Ie{constructor(_0xdccb96,_0x2e87bb,_0x51ea9c,_0x5f4523,_0x2105a6,_0x28b827,_0x3a92d3,_0x28760a,_0x1999f1,_0x351b80,_0x49058d,_0x4de78c,_0x3efa02,_0x3b0199){var _0x4a8ed4=_0x1b0175;super(_0xdccb96,_0x2e87bb,_0x51ea9c,_0x5f4523,_0x3a92d3,_0x49058d,_0x4de78c,_0x1999f1,_0x3b0199),N(this,'status',_0x4a8ed4(0x410)),(this[_0x4a8ed4(0x243)]=_0x2105a6,this[_0x4a8ed4(0x30a)]=_0x28b827,this[_0x4a8ed4(0x295)]=_0x28760a,this[_0x4a8ed4(0x362)]=_0x351b80,this[_0x4a8ed4(0x3ab)]=_0x3efa02,this[_0x4a8ed4(0x1a6)]=_0x3b0199);}[_0x1b0175(0x2e7)](_0x316f4a){var _0x146f5d=_0x1b0175;try{const _0x57fcd9=[..._0x316f4a,...this[_0x146f5d(0x30a)]],_0x30d774=[this[_0x146f5d(0x307)]||this[_0x146f5d(0x243)]][_0x146f5d(0x354)](_0x31734b=>!!_0x31734b);let _0x1eace7,_0x1a4e66;if(_0x30d774['length']){const _0xa33322=this[_0x146f5d(0x3ab)]['transformChangesets'](_0x57fcd9,_0x30d774,!0x1);if(!_0x23e1df(_0xa33322))throw _0xa33322[_0x146f5d(0x31f)];_0x1eace7=_0xa33322[_0x146f5d(0x19a)],_0x1a4e66=_0xa33322[_0x146f5d(0x413)];}else _0x1eace7=_0x57fcd9,_0x1a4e66=[];let _0x158de9=this[_0x146f5d(0x456)];_0x1eace7[_0x146f5d(0x2c3)](_0x311c0d=>{var _0x3330cf=_0x146f5d;let _0xde2764;if(_0x158de9['length']){const _0x9bcc44=this[_0x3330cf(0x3ab)][_0x3330cf(0x244)](_0x311c0d,_0x158de9);if(!_0x125d13(_0x9bcc44))throw _0x9bcc44['error'];_0xde2764=_0x9bcc44[_0x3330cf(0x19a)],_0x158de9=_0x9bcc44[_0x3330cf(0x3c4)];}else _0xde2764=_0x311c0d;this[_0x3330cf(0x2e0)](_0xde2764);}),this[_0x146f5d(0x243)]&&this['_incrementRevisionNumber'](),this[_0x146f5d(0x307)]&&_0x1a4e66[_0x146f5d(0x32a)]&&(_0x1a4e66[0x0][_0x146f5d(0x1c9)]=this['_getCurrentRevision']());let _0x42ea4e;if(this[_0x146f5d(0x307)]&&_0x158de9[_0x146f5d(0x32a)]!==0x0)_0x42ea4e=this['_injector'][_0x146f5d(0x209)](ae,this[_0x146f5d(0x2a9)],this[_0x146f5d(0x279)],_0x1a4e66[0x0],_0x158de9,this['_handler'],void 0x0);else{if(this[_0x146f5d(0x307)]&&_0x158de9['length']===0x0)_0x1a4e66[0x0]['baseRev']=this['_getCurrentRevision'](),_0x42ea4e=this['_injector']['createInstance'](_e,this[_0x146f5d(0x2a9)],this[_0x146f5d(0x279)],_0x1a4e66[0x0],this[_0x146f5d(0x3d8)]);else{if(_0x158de9[_0x146f5d(0x32a)]!==0x0){const _0x5a7fc1=this[_0x146f5d(0x295)][_0x146f5d(0x209)](re,this[_0x146f5d(0x2a9)],this[_0x146f5d(0x279)],_0x158de9,this[_0x146f5d(0x3d8)]);_0x5a7fc1[_0x146f5d(0x266)](),_0x42ea4e=_0x5a7fc1;}else _0x42ea4e=this[_0x146f5d(0x295)]['createInstance'](ye,this['unitID'],this['type'],this[_0x146f5d(0x3d8)]);}}return _0x42ea4e[_0x146f5d(0x2c5)](),_0x42ea4e;}catch(_0x48b1c8){return this['_logService'][_0x146f5d(0x31f)](_0x146f5d(0x1b0),_0x146f5d(0x421),_0x48b1c8),this['_injector']['createInstance'](le,this[_0x146f5d(0x2a9)],this[_0x146f5d(0x279)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x146f5d(0x3d8)],!0x1);}}[_0x1b0175(0x195)](){var _0x11aa08=_0x1b0175;throw new Error(_0x11aa08(0x35f));}['appendMutation'](_0x4ba9bb){return this['_pendingMutations']['push'](_0x4ba9bb),this;}[_0x1b0175(0x2e3)](_0x372bb0){var _0x223aaf=_0x1b0175;return this[_0x223aaf(0x30a)][_0x223aaf(0x1ac)](_0x372bb0),this;}[_0x1b0175(0x352)](_0x53d60e){var _0x3bf825=_0x1b0175;if(this[_0x3bf825(0x307)])return this[_0x3bf825(0x243)]=this['_awaitingChangeset'],this[_0x3bf825(0x307)]=null,this;throw new Error(_0x3bf825(0x33f));}[_0x1b0175(0x395)](_0x1fc9e9){var _0x1fb846=_0x1b0175;return this['_onConflict'](!!(_0x1fc9e9!=null&&_0x1fc9e9[_0x1fb846(0x1cb)]));}[_0x1b0175(0x2c4)](){return this;}[_0x1b0175(0x215)](){var _0x22c272=_0x1b0175;return this[_0x22c272(0x295)]['createInstance'](ue,this[_0x22c272(0x2a9)],this['type'],this[_0x22c272(0x307)],this[_0x22c272(0x456)],this[_0x22c272(0x3d8)]);}[_0x1b0175(0x365)](){return this;}[_0x1b0175(0x179)](_0x5cf6ff){var _0xff9b29=_0x1b0175;return this[_0xff9b29(0x295)][_0xff9b29(0x209)](le,this['unitID'],this['type'],this[_0xff9b29(0x307)],this[_0xff9b29(0x456)],this[_0xff9b29(0x3d8)],_0x5cf6ff);}};function _0x1090(){var _0x432864=['fetchMissingChangesets','_transformService','onCommentUpdate','/universer-api/uniscript','COMPRESS_MUTATION_SEND','$super','x-univer-host','debug','_transformIMECache','offline','_scheduleCompleteTimestamp','_tryEnsureSocket','_clearScheduledTask','_retryConnectingTimer','[OfflineState]:\x20received\x20changeset.','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_AI_RUN_FAILED','deepClone','_lockTransition','unknown','FAIL','objectID','ERROR_EXCEED_SIZE','_telemetryService','LIVESHARE_OPERATION','onlyLocal','m2Prime','_transformRemoteChangesetByStateCache','_listenToNetworkCondition','transformUndoRedo','BufferedBlockAlgorithm','INVALID_ARGUMENT','reqId','appendMutation','_updateStatus','sigBytes','getWorkbookSelections','state$','SOCKET_FAILED_RETRY','image/bmp','onMissingChangesets','list','values','enc','CONNECTOR_DATA_TOO_LARGE','newCsEvent','_handler','_configService','Pkcs7','_singleActiveUnitService','location','put','_clearUndo','createCollaborator','/universer-api/authz','LOCAL_CACHE_INTERVAL','_getSendChangesetTimeout','PY_RUNTIME_SCRIPT_ERROR','_decreaseWaiting','getUnitId','Utf8','JOINING','init','_networkConditionService','COMPRESS_MUTATION_APPLY','_startCollaboration','UNISCRIPT_RUN','_applyRemoteChangeset','_commentUpdate$','default','setConfig','_reverseMap','pipe','FETCH_MISSING','getValue','WECHAT_HAS_BEEN_BOUND','href','HttpImport','ivSize','_replayCachedMutations','INVITE_CODE_REQUIRED','_submitChangeset','_collaborationTimeoutTimer','TOO_MANY_REQUESTS','close','connection\x20error','getTime','_toggleOffline','socket\x20close','status$','getImageSourceCache','_onUserJoin','_exhaustRemoteChangesetQueue','socket\x20open.','INVALID_INVITE_CODE','/universer-api/snapshot/','UnitSnapshot','crypto','AWAITING','sid','hasher','_eventService','fetch_missing','_getCurrentRevision','_showConflictNotification','c2Prime','_xformMode','/universer-api/oidc/authpage','SNAPSHOT_URL_KEY','unsubscribe','SOCKET_FAILED','awaitingChangeset','requestParams','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_map','get','state','_entities','/object','failed\x20to\x20apply\x20missed\x20changesets!','processBlock','collabSubmitChangesetUrl','blockSize','WordArray','_process','_cipher','_onRemoteRetry','3RaVURK','_clearRedo','findIndex','kdf','cfg','YUUMI_ASYNCIO_CANCELLED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_ALL_TABLES_IS_INVALID','UNKNOWN_CODE','objectType','792640vmRBxQ','size','hasOwnProperty','getTypeOfUnitDisposed$','_HTTPService','2768494Djdnib','substr','CBC','/universer-api/user/session-ticket','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','univer-pro.collaboration-client.single-active-unit-service','_onRemoteACK','ciphertext','[DataLoaderService]','9718121aaAoCN','origin','auth.needGotoLoginAlert','telemetry\x20info\x20is\x20not\x20initialized','stringify','_getCtorByUniverType','OPTIONAL','onTransformIME','stopTime','_timeoutTimer','YUUMI_SUBSCRIPTION_NOT_FOUND','exports','updateMember','PSEUDO_FETCH_MISSING_RESULT','target','session.room-cnt-exceeds','_syncEditingCollabCursor','APPLY_REJECT','_resendTimer','keySize','onTransformState','_pendingMutations','_status$','_getRedoStack','IDLE','APPLY_PERMISSION_DENIED','localeService','dispose','objects','_mode','sendChangesetTimeout','selections','CHANGESET_SHOULD_RETRY','prototype','_undoStacks','waitForRoom$','YUUMI_RATE_OVER_LIMIT','onTransformRemoteChangesetByIMECache','readAsDataURL','Hasher','getOwnPropertyDescriptor','_undoRedoService','_snapshotService','authzUrl','ERROR_IMAGE','formatter','collaborators','url','listCollaborators','members$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_key','_transitionLocked','changesets','4567295KoduxH','NO_OTHER_CLIENTS_EDITING','_onFetchMissResult','BASE64','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_hasher','&source=','join','INGEST','clone','objectActions','conflict','[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.','DEFAULT_FILE_NAME','getUnitOnRev','MUTATION','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onConflict','/collaborator','pauseCollaboration','subscribe','UNIVER_COLLABORATION_CLIENT_PLUGIN','_sendHeartbeatTimer','_getUploadFileURL','People','encodeURIComponent','startsWith','1pYEjGL','floor','dispose$','_createHmacHelper','online$','disposeWithMe','_unlockTransition','encode','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','toString','UPDATE_CURSOR','COMPLETION_FINISHED','textRanges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Encryptor','univer-pro.collaboration-client-socket-service','loadUnit','_hash','resend','session','commentUpdateEvent','action','_fetchMissChangesets','c1Prime','_emitMembers','_localeService','charCodeAt','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','entityInit$','uniscriptRunEvent','_socket','MD5','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','_onCombEvent','localCacheService','CONFLICT','createDecryptor','[CollaborationUndoRedoService]','headers','[OfflineState]:\x20received\x20acknowledgement.','push','result','GLOBAL_ROOMS_CNT_EXCEEDS','compute','[FetchMissState]','INVITE_CODE_ALREADY_BOUND','364420zKkUAu','Undefined','UnitEmbedded','byteLength','ERROR_IMAGE_TYPE','Decryptor','/allowed','LEAVE','reject','getCollabEntity$','clear','every','SerializableCipher','ONLINE','?url=','onStateChange','_checkMissing','UNAUTHENTICATED','roles','words','APPLY_REVISION_CONFILICT','_clearTimeoutTimer','LICENSE_MAX_UNITS_EXCEEDED','baseRev','SYNCED','isPermissionRej','session.join-failed','_clearLocalCache','_transformSelections','_univerInstanceService','_getSignURL','delete','JOIN_ROOM_PERMISSION_DENIED','lib','_onRemoteRejected','[SyncedState]:\x20received\x20rejection.','append','routeKey','_initUnitPermissionChange','HEARTBEAT_TIMEOUT','concat','startTime','_joinRoom','MOBILE_HAS_BEEN_BOUND','_changesetReqId','format','_doProcessBlock','_snapshotServerService','_oKey','HmacSHA1','_initRequestHeader','pending','UserProfileImg','clamp','encrypt','_substituteUndoStack','getCurrentRevOfUnit','Hex','PENDING','/universer-api/snapshot','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','Cipher','getCurrentUser','awaiting_with_pending','\x0aCurrent:\x20','isArray','now','EMAIL_HAS_BEEN_BOUND','responseType','{fileID}','csAckEvent','snapshotServerUrl','socketService','_httpService','[CollaborationSessionService]:\x20socket\x20error','getInterceptPoints','code','_isPermissionRej','_onConnectionOpen','UNIVER_PROJECT','_throwTelemetryCollaborationNewChangeset','getUnitStatus$','getLatestCsReqIdBySid','getCollabEntity','error$','event$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','createInstance','OpenSSL','updatePermissionPoint','_members','OTHER_CLIENT_EDITING','17064792hRNdOg','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','MSG_FOR_ERROR','_collaborationPaused','_sheetTransformSelectionsService','_socketMessageSubscription','toggleOffline','_doCryptBlock','_createInitialState','csRejEvent','data','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','resourceIDs','Base64','call','hostname','from','message$','_createHandler','_stopTelemetryCollaborationNewChangeset','_userManagerService','addImageSourceCache','string','COMMENT_UPDATE','pad','_commentService','JOIN','UPDATE_PERMISSION_OBJ','_sessions','_shouldReportTelemetry','BlockCipher','onStarting','_compressMutationService','apply','[PendingState]:\x20received\x20rejection.','update','subUnitId','LIVESHARE_REQUEST_HOST','EvpKDF','addHandlerCallback','enableAuthServer','finalize','LICENSE_DISTRO_REJECTED','buffer','_telemetryInfo','copyFileMeta','_tryReconnect','ALREADY_EXISTS','getMember','USERS_ENTER','capture','_invKeySchedule','_acknowledgedAwaitingChangeset','transformMutationsWithChangeset','UNIVER_SHEET','enableOfflineEditing','min','editing\x20status\x20changed\x20to','JOIN_ROOM_FULL','ceil','_type','function','actions','key','setWaitCount','confirm','_memberService','putCollaborators','loadSheet','batchAllowed','CipherParams','collaboratorID','_initDependencies','NOT_COLLAB','AES','?size=','originalMeta','_resendWithTimeout','reconnect','_getUndoStack','Malformed\x20UTF-8\x20data','loadUnitOfRevision','removeMember','userID','_onRecvEvent','LOGIN_FAILED','onTransformSelections','_schedule','updateOfflineData','getFocusedUnit','getTypeOfUnitAdded$','reduce','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onConnectionFailed','_nRounds','_transformStack','_event$','src','slice','loadDoc','_imageSourceCache','[CollaborationEntity]','_updateState','PasswordBasedCipher','getCurrentSelections','_getDownloadEndpointURL','type','5082300vFqaZo','shouldCloseConn','status','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_collabSessionService','INVITE_CODE_HAS_BEEN_UES','_clearCollaborationTimeoutTimer','_collaborationSessionService','UNRECOGNIZED','_sessionStatus$','YUUMI_URL_COL_OUT_OF_RANGE','_iKey','OFFLINE','_minBufferSize','_resendTimeout','FETCH_MISS','setCurrentUser','UNIVER_SLIDE','asObservable','[PendingState]:\x20received\x20acknowledgement.','_state$','_substituteRedoStack','createEncryptor','image/jpg','_unitID','UNIVER_DOC','patch','_injector','requireSession','SHA1','APPLY_NON_SEQUENTIAL_REVISION','_onMessage','/unit/','/new_changes','_ENC_XFORM_MODE','OTHER_CLIENTS_EDITING','emitEvent','_retryCount','salt','post','_candidateSocket','_append','compose','send','retryConnectingInterval','listRoles','collaboration_new_changeset','unitID','submit\x20changeset\x20error!','_onJoinRoomEvent','random','decrypt','/-/object/list','_transformStateCache','entries','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CLOSE_ROOM','_socketReady','save\x20fail\x20reason\x20is\x20','revision','HttpExport','setShowComponents','_waitForHeartbeatResponse','method','onTransformRemoteChangesetByStateCache','getRandomValues','charAt','sessionStatus','_roomMembers','mutations','LIVESHARE_NEW_HOST','[CollaborationSession]','csShouldRetryEvent','forEach','onRemoteRetry','_updateLocalCache','rev','__Key__','HMAC','roomInfos','_onUserLeave','HELLO','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','NEW_CHANGESETS','SNAPSHOT_HAS_BEEN_REMOVED','/object/','Latin1','SUBMIT_CHANGESET_TIMEOUT','registerHTTPInterceptor','_transformRemoteChangesetByIMECache','getConfig','_startTelemetryCollaborationNewChangeset','eventID','splice','PERSON','/resources','/-/object/-/batch_allowed','equals','HEARTBEAT_INTERVAL','getDeserializedSheetBlock','memberID','ws://127.0.0.1:8000/universer-api/comb/connect','_executeRemoteChangeset','name','SHOULD_CLOSE_CONN','onRemoteChangeset','add','onCommandExecuted','getSnapshotAPIPath','onMissedChangesetFetched','getSheetBlock','params','_initCloseConn','HEARTBEAT','_removeRoom','_permissionService','fetchThroughInterceptors','UUID','interceptor','_parse','_sendingTimer','getUnit','UNIVER_UNKNOWN','_doReset','getImage','HmacMD5','signUrlServerUrl','onSendChangeset','defineProperty','ENSURE_SNAPSHOT_EXECUTION','unit-cache-','_getLoginPath','LIVESHARE_TERMINATE','synced','USERS_LEAVE','_instanceService','_nDataBytes','allowed','algo','RETRY_CONNECTING_MAX_COUNT','change$','_awaitingChangeset','/block/','_createHelper','_queuedRemoteChangesets','_change$','_revisionService','refreshPermission','[UniverCollaborationClientPlugin]','collaMsg','fetching\x20missing\x20changesets\x20from\x20','getAllMembers','_scheduleCollaborationTimeoutTimer','Univer','_registerDependencies','transformStack\x20failed!','FileId','EMAIL_VERIFY_CODE_MISMATCH','getMemberID','_clearHeartbeatTimer','infoRsp','_remoteChangesetQueue','_config','univer-pro.collaboration-client.network-condition.service','SUBMIT_CHANGESET','error','awaiting','permissionRejEvent','incrementRevOfUnit','joinEvent','catch','unpad','CHANGESET_ACK','_initMergeInterceptor','members','[CollaborationSessionService]','length','NOT_FOUND','JOIN_ROOM_FAILED','_localCacheService','_createSocket','extend','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','randomBytes','__creator','parse','sessionStatus$','readInt32LE','_iv','_init','image/png','YUUMI_UNABLE_LOAD_URL','onSyncEditingCollabCursor','saveSnapshot','session.room-not-exists','_DEC_XFORM_MODE','map','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_sendHeartbeat','reverse','cmd','reset','_replaceFileID','_onLocalMutation','Base','NoPadding','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_disableEditing','closeSession','max','_members$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Failed\x20to\x20update\x20permission\x20point','collaboration-client.local-cache-service','LIVESHARE_FETCH_OPERATIONS','POST','onRemoteAck','USER_NOT_INVITED_CODE','filter','_transformUndoredo','transformSelections','_data','repeat','unitId','liveShareNewHost','[CollaborationState]:\x20apply\x20error!','readyForCollab','byteOffset','YUUMI_CONNECTOR_URL_NOT_FOUND','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','create','msCrypto','_logService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_toggleOnline','toggleOnline','mode','JOIN_ROOM_NOT_EXISTS','RECV','/role','saveSheetBlock','_incrementRevisionNumber','subject','BlockCipherMode','unitInfo$','StreamCipher','_getAPIPrefix','_commandService','image/jpeg','range','complete','snapshot','APPLY_DUPLICATED','next','has','_createInitialStateImpl','transformChangesets','sheets','_getAPIPrefixPath','_socket$','_waitCount','fromCharCode','liveShareOperation','find','_rescheduleHeartbeat','padding','executeCommand','_unitInfo$','_keySchedule','_entityInit$','PERMISSION_REJ','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','duration','PERMISSION_DENIED','getUnitType','session.room-permission-denied','_keyPriorReset','_collaborationUIEventService','mixIn','open$','set','_prevBlock','_clearRetryConnectingTimer','onRemoteRej','_state','close$','_changesetSessionId','_onRemoteChangeset','pluginName','replace','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_sender','\x20to\x20','_handlerCallback','loginUrlKey','INTERNAL_ERROR','/rev/','\x20in\x20_schedule.','_onOffline','[OfflineState]:\x20received\x20rejection.','body','_roomCreated$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','YUUMI_NO_CUBOID_FOR_QUESTION'];_0x1090=function(){return _0x432864;};return _0x1090();}Q=Ee([P(0x7,_0x2350f5(_0x4fef0a)),P(0x8,_0x2350f5(_0x1b2f89)),P(0x9,_0x27c895),P(0xa,_0x5c1e8c),P(0xb,_0x2c5918),P(0xc,_0x21e51c),P(0xd,_0x364642(J))],Q);function Ti(_0x3d971a,_0x1a1a17,_0x43c368,_0x367657,_0x162623,_0x597683){var _0x206999=_0x1b0175;return _0x367657&&_0x162623[_0x206999(0x32a)]?_0x3d971a['createInstance'](ae,_0x1a1a17,_0x43c368,_0x367657,_0x162623,_0x597683,void 0x0):_0x367657?_0x3d971a[_0x206999(0x209)](_e,_0x1a1a17,_0x43c368,_0x367657,_0x597683):_0x162623['length']?_0x3d971a['createInstance'](re,_0x1a1a17,_0x43c368,_0x162623,_0x597683):_0x3d971a[_0x206999(0x209)](ye,_0x1a1a17,_0x43c368,_0x597683);}var Bs=Object[_0x1b0175(0x469)],wt=(_0x586e35,_0x5d5ecd,_0x13849d,_0x2bb161)=>{var _0x2809c6=_0x1b0175;for(var _0x289ab2=_0x2bb161>0x1?void 0x0:_0x2bb161?Bs(_0x5d5ecd,_0x13849d):_0x5d5ecd,_0xf2b3be=_0x586e35[_0x2809c6(0x32a)]-0x1,_0x37a9c5;_0xf2b3be>=0x0;_0xf2b3be--)(_0x37a9c5=_0x586e35[_0xf2b3be])&&(_0x289ab2=_0x37a9c5(_0x289ab2)||_0x289ab2);return _0x289ab2;},H=(_0x1c63e6,_0x430bb6)=>(_0x8433a3,_0x232628)=>_0x430bb6(_0x8433a3,_0x232628,_0x1c63e6);let st=class extends _0x1947f8{constructor(_0x19cd58,_0x261bff,_0x4fb528,_0x59f67b,_0x3703a1,_0xf011f3,_0x5b9944,_0x799c6d,_0x2cf659,_0xa0267b,_0x16c8ac,_0x5af5b8,_0x50cbb1){var _0x50dadc=_0x1b0175;super(),N(this,_0x50dadc(0x28e),new _0x1babcb(null)),N(this,'state$',this[_0x50dadc(0x28e)][_0x50dadc(0x28c)]()),N(this,_0x50dadc(0x396)),N(this,_0x50dadc(0x212),!0x1),N(this,'_changesetSessionId',''),N(this,_0x50dadc(0x1de),0x0),N(this,_0x50dadc(0x403),this[_0x50dadc(0x3cf)]['pipe'](_0x546cc8(_0x242686=>_0x242686?_0x242686['status']:Ei[_0x50dadc(0x286)]),_0x405424(0x1))),N(this,_0x50dadc(0x475),!0x1),N(this,_0x50dadc(0x31b),[]),(this[_0x50dadc(0x2a9)]=_0x19cd58,this[_0x50dadc(0x196)]=_0x261bff,this['_type']=_0x4fb528,this['_injector']=_0x59f67b,this['_compressMutationService']=_0x3703a1,this[_0x50dadc(0x19c)]=_0xf011f3,this[_0x50dadc(0x30c)]=_0x5b9944,this[_0x50dadc(0x40f)]=_0x799c6d,this['_logService']=_0x2cf659,this[_0x50dadc(0x371)]=_0xa0267b,this[_0x50dadc(0x2ed)]=_0x16c8ac,this[_0x50dadc(0x3db)]=_0x5af5b8,this[_0x50dadc(0x32d)]=_0x50cbb1);}get[_0x1b0175(0x41e)](){var _0x1a9d25=_0x1b0175;return this[_0x1a9d25(0x396)];}async[_0x1b0175(0x3e8)](){var _0x4c6950=_0x1b0175;if(this[_0x4c6950(0x41e)])throw new Error(_0x4c6950(0x43c));await this[_0x4c6950(0x337)]();}[_0x1b0175(0x17b)](){var _0xb0904=_0x1b0175;return this[_0xb0904(0x212)]=!0x0,_0x3a0139(()=>{var _0xc2b4a3=_0xb0904;this[_0xc2b4a3(0x212)]=!0x1,this[_0xc2b4a3(0x406)]();});}['onLocalMutation'](_0x4980a9){var _0x3387af=_0x1b0175;this[_0x3387af(0x345)](_0x4980a9);}['_updateState'](_0x4af5f6){var _0x426e90=_0x1b0175;this[_0x426e90(0x396)]=_0x4af5f6,this[_0x426e90(0x28e)][_0x426e90(0x377)](_0x4af5f6);}async['_init'](){var _0x4bbfc9=_0x1b0175,_0xdfccd1;this[_0x4bbfc9(0x275)](await this[_0x4bbfc9(0x217)]()),this[_0x4bbfc9(0x3db)]&&((_0xdfccd1=this[_0x4bbfc9(0x3db)])==null||_0xdfccd1['editingUnit'](this[_0x4bbfc9(0x2a9)]),this[_0x4bbfc9(0x188)](this['_singleActiveUnitService'][_0x4bbfc9(0x203)](this[_0x4bbfc9(0x2a9)])['subscribe'](_0x366033=>{var _0x20dcac=_0x4bbfc9;this[_0x20dcac(0x362)][_0x20dcac(0x3b1)](_0x20dcac(0x274),_0x20dcac(0x248),_0x366033),_0x366033===gi[_0x20dcac(0x29d)]?(this[_0x20dcac(0x40f)][_0x20dcac(0x29e)]({'id':ne[_0x20dcac(0x20d)]}),this[_0x20dcac(0x2ed)][_0x20dcac(0x20b)](new _0x1e11ff(this[_0x20dcac(0x2a9)])['id'],!0x1),this['_permissionService'][_0x20dcac(0x2b7)](!0x1)):(this[_0x20dcac(0x2ed)][_0x20dcac(0x20b)](new _0x1e11ff(this['unitID'])['id'],!0x0),this[_0x20dcac(0x2ed)][_0x20dcac(0x2b7)](!0x0));})));let _0x4ec038=!0x1;return this[_0x4bbfc9(0x188)](this['session'][_0x4bbfc9(0x334)][_0x4bbfc9(0x17c)](_0x29c55d=>{var _0x3ede6d=_0x4bbfc9;_0x29c55d===ge['ONLINE']?this[_0x3ede6d(0x364)](_0x4ec038):_0x29c55d===ge[_0x3ede6d(0x286)]&&(_0x4ec038=!0x0,this[_0x3ede6d(0x401)]());})),this[_0x4bbfc9(0x188)](this[_0x4bbfc9(0x196)][_0x4bbfc9(0x207)][_0x4bbfc9(0x17c)](_0x583352=>{var _0x708b41=_0x4bbfc9;try{switch(_0x583352[_0x708b41(0x2d6)]){case _0x270543[_0x708b41(0x2cd)]:{this[_0x708b41(0x399)](_0x43ca57(_0x583352[_0x708b41(0x219)]));break;}case _0x270543[_0x708b41(0x326)]:{this[_0x708b41(0x43e)](_0x583352[_0x708b41(0x219)]);break;}case _0x270543['CHANGESET_REJ']:{this[_0x708b41(0x1d4)]();break;}case _0x270543[_0x708b41(0x461)]:{this[_0x708b41(0x428)](_0x583352[_0x708b41(0x219)]);break;}case _0x270543[_0x708b41(0x44e)]:{this[_0x708b41(0x479)](_0x583352[_0x708b41(0x219)][_0x708b41(0x476)]['map'](_0x35c84a=>_0x43ca57(_0x35c84a)));break;}case _0x270543['PERMISSION_REJ']:{this[_0x708b41(0x1d4)]({'isPermissionRej':!0x0});break;}case _0x270543[_0x708b41(0x3ec)]:break;}}catch(_0x261abe){throw console[_0x708b41(0x31f)]('Error\x20on\x20receiving\x20event',_0x261abe),_0x261abe;}})),this['_state'];}[_0x1b0175(0x189)](){var _0x29107e=_0x1b0175;this[_0x29107e(0x475)]=!0x1;}['_lockTransition'](){var _0x5e1b63=_0x1b0175;if(this[_0x5e1b63(0x475)])throw new Error(_0x5e1b63(0x174));this[_0x5e1b63(0x475)]=!0x0;}[_0x1b0175(0x345)](_0x215635){var _0x546d42=_0x1b0175;this[_0x546d42(0x3bc)](),this['_updateState'](this[_0x546d42(0x396)]['appendMutation'](_0x215635)),this[_0x546d42(0x189)]();}[_0x1b0175(0x399)](_0x5cb9e3){var _0xf15f4d=_0x1b0175;if(!(_0x5cb9e3[_0xf15f4d(0x2b5)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0xf15f4d(0x2a9)]))){if(this[_0xf15f4d(0x212)]){this[_0xf15f4d(0x31b)][_0xf15f4d(0x1ac)](_0x5cb9e3);return;}this[_0xf15f4d(0x3ed)](_0x5cb9e3);}}[_0x1b0175(0x406)](){var _0x1c5c07=_0x1b0175;this[_0x1c5c07(0x31b)][_0x1c5c07(0x2c3)](_0x2f3ec5=>this['_applyRemoteChangeset'](_0x2f3ec5)),this['_remoteChangesetQueue']=[];}[_0x1b0175(0x3ed)](_0x5206d1){var _0x5351e9=_0x1b0175;const _0x175fc7=this[_0x5351e9(0x22f)][_0x5351e9(0x2f0)][_0x5351e9(0x2ee)](this[_0x5351e9(0x22f)][_0x5351e9(0x2f0)][_0x5351e9(0x1fd)]()['COMPRESS_MUTATION_APPLY'])(_0x5206d1[_0x5351e9(0x2bf)],null)||_0x5206d1['mutations'],_0x437670={..._0x5206d1,'mutations':_0x175fc7};this[_0x5351e9(0x3bc)](),this['_updateState'](this[_0x5351e9(0x396)][_0x5351e9(0x2e3)](_0x437670)),this[_0x5351e9(0x189)]();}[_0x1b0175(0x43e)](_0x79bcd0){var _0x323580=_0x1b0175;this['_lockTransition'](),this[_0x323580(0x275)](this[_0x323580(0x396)][_0x323580(0x352)](_0x79bcd0)),this[_0x323580(0x189)]();}[_0x1b0175(0x1d4)](_0x289b6d){var _0x1ed9d8=_0x1b0175;this[_0x1ed9d8(0x3bc)](),this[_0x1ed9d8(0x275)](this[_0x1ed9d8(0x396)][_0x1ed9d8(0x395)](_0x289b6d)),this['_unlockTransition']();}[_0x1b0175(0x428)](_0x1bb05e){var _0x498ee9=_0x1b0175;this[_0x498ee9(0x3bc)](),this[_0x498ee9(0x275)](this[_0x498ee9(0x396)][_0x498ee9(0x2c4)](_0x1bb05e)),this[_0x498ee9(0x189)]();}[_0x1b0175(0x479)](_0x155871){var _0x246071=_0x1b0175;if(!(this[_0x246071(0x396)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x61d4e8=_0x155871[_0x246071(0x33e)](_0x171528=>{var _0x4922e3=_0x246071;const _0x5bb064=this[_0x4922e3(0x22f)][_0x4922e3(0x2f0)][_0x4922e3(0x2ee)](this[_0x4922e3(0x22f)][_0x4922e3(0x2f0)][_0x4922e3(0x1fd)]()[_0x4922e3(0x3ea)])(_0x171528[_0x4922e3(0x2bf)],null)||_0x171528['mutations'];return{..._0x171528,'mutations':_0x5bb064};});this['_lockTransition'](),this[_0x246071(0x275)](this[_0x246071(0x396)][_0x246071(0x2e7)](_0x61d4e8)),this[_0x246071(0x189)]();}[_0x1b0175(0x401)](){var _0xb33ebb=_0x1b0175;this[_0xb33ebb(0x3bc)](),this[_0xb33ebb(0x275)](this[_0xb33ebb(0x396)][_0xb33ebb(0x215)]()),this['_unlockTransition']();}['_toggleOnline'](_0x1fbeb6=!0x1){var _0x5dcc8c=_0x1b0175;this[_0x5dcc8c(0x3bc)](),this[_0x5dcc8c(0x275)](this['_state'][_0x5dcc8c(0x365)]()),this[_0x5dcc8c(0x189)]();const _0x11364e=this[_0x5dcc8c(0x396)];_0x1fbeb6&&_0x11364e instanceof ye&&(this['_lockTransition'](),this['_updateState'](_0x11364e['fetchMiss']()),this[_0x5dcc8c(0x189)]());}async[_0x1b0175(0x217)](){return new Promise(_0x1e27f9=>{var _0x277913=_0x33ac;this[_0x277913(0x196)]['sessionStatus$'][_0x277913(0x3f2)](_0x1ebb68(0x1))[_0x277913(0x17c)](async _0x4a2f05=>{var _0x8316b=_0x277913;_0x1e27f9(await this['_createInitialStateImpl'](_0x4a2f05===ge[_0x8316b(0x1bf)]));});});}[_0x1b0175(0x221)](){var _0x1b8e7f=_0x1b0175;const _0x2b0d86=this[_0x1b8e7f(0x2a9)];return{'onStateChange':(_0x15ec0e,_0x5af8af)=>{var _0x6b09a4=_0x1b8e7f;if(_0x15ec0e!==this[_0x6b09a4(0x396)])throw new Error(_0x6b09a4(0x3a8)+_0x15ec0e[_0x6b09a4(0x27c)]+'\x0aAfter:\x20'+_0x5af8af[_0x6b09a4(0x27c)]+_0x6b09a4(0x1f2)+this['_state']['status']);this['_updateState'](_0x5af8af);},'onSendChangeset':_0x142d29=>{var _0x23f3c1=_0x1b8e7f;_0x142d29[_0x23f3c1(0x40d)]||(_0x142d29[_0x23f3c1(0x40d)]=this['_changesetSessionId'],_0x142d29[_0x23f3c1(0x3ca)]=++this['_changesetReqId']);const _0x4bf9a2={'eventID':_0x270543[_0x23f3c1(0x31e)],'data':{'unitID':_0x142d29[_0x23f3c1(0x2a9)],'unitType':this['_type'],'changeset':_0x142d29,'memberID':this[_0x23f3c1(0x196)][_0x23f3c1(0x318)]()}};this[_0x23f3c1(0x196)][_0x23f3c1(0x2a5)](_0x4bf9a2,this['unitID']);},'onMissingChangesets':({from:_0x30c61f,to:_0x1cc091})=>{var _0x1b211c=_0x1b8e7f;this[_0x1b211c(0x362)]['debug'](_0x1b211c(0x274),_0x1b211c(0x310)+_0x30c61f+_0x1b211c(0x39e)+_0x1cc091);const _0x312d4a={'eventID':_0x270543[_0x1b211c(0x3f3)],'data':{'unitID':_0x2b0d86,'unitType':this['_type'],'from':_0x30c61f,'to':_0x1cc091}};this[_0x1b211c(0x196)][_0x1b211c(0x2a5)](_0x312d4a,this[_0x1b211c(0x2a9)]);}};}async[_0x1b0175(0x379)](_0x22228b){var _0x539daa=_0x1b0175,_0x4246ba,_0x582dae,_0x927c68;const _0x4cbf60=await((_0x4246ba=this['_localCacheService'])==null?void 0x0:_0x4246ba['loadOfflineData'](this[_0x539daa(0x2a9)])),_0x2e3528=(_0x582dae=_0x4cbf60==null?void 0x0:_0x4cbf60[_0x539daa(0x2bf)])!=null?_0x582dae:[],_0x5344ed=(_0x927c68=_0x4cbf60==null?void 0x0:_0x4cbf60[_0x539daa(0x419)])!=null?_0x927c68:null,_0x162cd9=!!(_0x5344ed!=null&&_0x5344ed[_0x539daa(0x40d)])&&!!(_0x5344ed!=null&&_0x5344ed[_0x539daa(0x3ca)]);this[_0x539daa(0x398)]=_0x162cd9?_0x5344ed[_0x539daa(0x40d)]:_0x3cf683(),this[_0x539daa(0x1de)]=_0x162cd9?_0x5344ed[_0x539daa(0x3ca)]:0x0;const _0x1a37d3=this[_0x539daa(0x2a9)];try{this['_replayCachedMutations'](_0x5344ed,_0x2e3528);}catch(_0x8133fb){this[_0x539daa(0x362)]['error'](_0x8133fb);}const _0x5e6812=this[_0x539daa(0x221)]();if(_0x22228b){const _0x1572ed=Ti(this['_injector'],_0x1a37d3,this['_type'],_0x5344ed,_0x2e3528,_0x5e6812);return _0x1572ed instanceof re?_0x1572ed[_0x539daa(0x266)]():(_0x1572ed instanceof ae||_0x1572ed instanceof _e)&&_0x1572ed['resend'](),_0x1572ed;}return this[_0x539daa(0x295)][_0x539daa(0x209)](ue,_0x1a37d3,this[_0x539daa(0x24b)],_0x5344ed,_0x2e3528,_0x5e6812);}[_0x1b0175(0x3f9)](_0x436d87,_0x5d0f5f){var _0x157361=_0x1b0175,_0x56b93f,_0x86a379;const _0x428935=this[_0x157361(0x22f)]['interceptor'][_0x157361(0x2ee)](this[_0x157361(0x22f)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x56b93f=_0x428935((_0x436d87==null?void 0x0:_0x436d87[_0x157361(0x2bf)])||[],null))==null||_0x56b93f[_0x157361(0x2c3)](_0x2e7383=>this[_0x157361(0x371)][_0x157361(0x384)](_0x2e7383['id'],_0x2e7383[_0x157361(0x2e9)])),(_0x86a379=_0x428935(_0x5d0f5f||[],null))==null||_0x86a379[_0x157361(0x2c3)](_0xdbe81=>this['_commandService']['executeCommand'](_0xdbe81['id'],_0xdbe81['params']));}};st=wt([H(0x3,_0x2350f5(_0x4fef0a)),H(0x4,_0x2350f5(_0x4c718f)),H(0x5,_0x2350f5(_0x167f10)),H(0x6,_0x2350f5(_0x1b2f89)),H(0x7,_0x2350f5(ve)),H(0x8,_0x27c895),H(0x9,_0x5c1e8c),H(0xa,_0x33cf07),H(0xb,_0x364642(ht)),H(0xc,_0x364642(J))],st);function _0x33ac(_0x5a2f3f,_0x106996){var _0x10906f=_0x1090();return _0x33ac=function(_0x33acbd,_0x36a618){_0x33acbd=_0x33acbd-0x16f;var _0x281552=_0x10906f[_0x33acbd];return _0x281552;},_0x33ac(_0x5a2f3f,_0x106996);}let St=class extends st{constructor(_0x326491,_0x4aac77,_0x4a8e47,_0x2e6e15,_0x1280fe,_0x485155,_0x5a455c,_0x395d87,_0x2dccf5,_0x2322a4,_0x472204,_0x367c2e,_0x3b08b3){var _0x256fca=_0x1b0175;super(_0x326491,_0x4a8e47,_0x4aac77,_0x2e6e15,_0x1280fe,_0x485155,_0x5a455c,_0x395d87,_0x2dccf5,_0x2322a4,_0x472204,_0x367c2e,_0x3b08b3),N(this,_0x256fca(0x39f),null),(this[_0x256fca(0x2a9)]=_0x326491,this['type']=_0x4aac77);}[_0x1b0175(0x236)](_0x2fe1d5){var _0x56ad3b=_0x1b0175;this[_0x56ad3b(0x39f)]=_0x2fe1d5;}[_0x1b0175(0x45c)](){var _0x1347be=_0x1b0175;this[_0x1347be(0x39f)]=null,super[_0x1347be(0x45c)]();}['_createHandler'](){var _0x2818b5=_0x1b0175;const _0x1f3e23=super['_createHandler']();return _0x1f3e23[_0x2818b5(0x448)]=_0x48f148=>{var _0xfac8d=_0x2818b5,_0x54a969,_0x37a0d8;return(_0x37a0d8=(_0x54a969=this['_handlerCallback'])==null?void 0x0:_0x54a969[_0xfac8d(0x448)])==null?void 0x0:_0x37a0d8[_0xfac8d(0x21d)](_0x54a969,_0x48f148);},_0x1f3e23[_0x2818b5(0x455)]=_0x47a57c=>{var _0x2250c6=_0x2818b5,_0x620f25,_0x3654f9;return(_0x3654f9=(_0x620f25=this[_0x2250c6(0x39f)])==null?void 0x0:_0x620f25['onTransformState'])==null?void 0x0:_0x3654f9[_0x2250c6(0x21d)](_0x620f25,_0x47a57c);},_0x1f3e23[_0x2818b5(0x265)]=_0x44a916=>{var _0x5928d3=_0x2818b5,_0xbe2a7b,_0x6d4eb9;return(_0x6d4eb9=(_0xbe2a7b=this[_0x5928d3(0x39f)])==null?void 0x0:_0xbe2a7b[_0x5928d3(0x265)])==null?void 0x0:_0x6d4eb9[_0x5928d3(0x21d)](_0xbe2a7b,_0x44a916);},_0x1f3e23['onSyncEditingCollabCursor']=_0x6a6e33=>{var _0x428887=_0x2818b5,_0x29a807,_0x40d4fe;return(_0x40d4fe=(_0x29a807=this[_0x428887(0x39f)])==null?void 0x0:_0x29a807[_0x428887(0x33a)])==null?void 0x0:_0x40d4fe[_0x428887(0x21d)](_0x29a807,_0x6a6e33);},_0x1f3e23[_0x2818b5(0x466)]=_0x30ddfe=>{var _0x12e300=_0x2818b5,_0x2ef80c,_0x4618cf,_0x59f338;if(!((_0x2ef80c=this[_0x12e300(0x39f)])!=null&&_0x2ef80c[_0x12e300(0x466)]))throw new Error(_0x12e300(0x208));return(_0x59f338=(_0x4618cf=this[_0x12e300(0x39f)])==null?void 0x0:_0x4618cf[_0x12e300(0x466)])==null?void 0x0:_0x59f338[_0x12e300(0x21d)](_0x4618cf,_0x30ddfe);},_0x1f3e23[_0x2818b5(0x2ba)]=_0x2cc488=>{var _0x53e3ea=_0x2818b5,_0x4f38b0,_0x3c5499,_0x342db5;if(!((_0x4f38b0=this['_handlerCallback'])!=null&&_0x4f38b0[_0x53e3ea(0x2ba)]))throw new Error(_0x53e3ea(0x27d));return(_0x342db5=(_0x3c5499=this['_handlerCallback'])==null?void 0x0:_0x3c5499[_0x53e3ea(0x2ba)])==null?void 0x0:_0x342db5[_0x53e3ea(0x21d)](_0x3c5499,_0x2cc488);},_0x1f3e23;}async[_0x1b0175(0x337)](){var _0x177ed9=_0x1b0175;const _0x3d3324=await super[_0x177ed9(0x337)]();return this[_0x177ed9(0x188)](this['_commandService'][_0x177ed9(0x2e5)]((_0x58032f,_0x196f47)=>{var _0x2671a3=_0x177ed9;if(_0x58032f['type']!==_0x4f80e7[_0x2671a3(0x177)]||_0x196f47!=null&&_0x196f47['fromCollab']||_0x196f47!=null&&_0x196f47['onlyLocal']||_0x58032f['id']===_0x1d8c39['id'])return;const _0x14a59e=_0x58032f[_0x2671a3(0x2e9)];if((_0x14a59e==null?void 0x0:_0x14a59e[_0x2671a3(0x359)])!==this[_0x2671a3(0x2a9)])return;const _0x36f101=_0x58032f,_0x1c30cf=this[_0x2671a3(0x22f)][_0x2671a3(0x2f0)][_0x2671a3(0x2ee)](this[_0x2671a3(0x22f)]['interceptor'][_0x2671a3(0x1fd)]()[_0x2671a3(0x3ae)])([_0x36f101],null)||[_0x36f101];this[_0x2671a3(0x345)](_0x1c30cf[0x0]);})),_0x3d3324;}};St=wt([H(0x3,_0x2350f5(_0x4fef0a)),H(0x4,_0x2350f5(_0x4c718f)),H(0x5,_0x2350f5(_0x167f10)),H(0x6,_0x2350f5(_0x1b2f89)),H(0x7,_0x2350f5(ve)),H(0x8,_0x27c895),H(0x9,_0x5c1e8c),H(0xa,_0x33cf07),H(0xb,_0x364642(ht)),H(0xc,_0x364642(J))],St);let Et=class extends st{constructor(_0x40535c,_0x2a2006,_0x4d335b,_0x2add3a,_0x1b5458,_0x34a596,_0x314ed5,_0x241a23,_0x3941b1,_0x59507f,_0x36dbb0,_0x137a3d,_0x2c4891,_0xd959d0){var _0x28fc4a=_0x1b0175;super(_0x40535c,_0x4d335b,_0x2a2006,_0x2add3a,_0x1b5458,_0x34a596,_0x314ed5,_0x3941b1,_0x59507f,_0x36dbb0,_0x137a3d,_0x2c4891,_0xd959d0),this[_0x28fc4a(0x2a9)]=_0x40535c,this[_0x28fc4a(0x279)]=_0x2a2006,this[_0x28fc4a(0x213)]=_0x241a23;}[_0x1b0175(0x221)](){var _0x182fd6=_0x1b0175;const _0x511a2b=super[_0x182fd6(0x221)]();return _0x511a2b[_0x182fd6(0x265)]=_0x4ab4f5=>this[_0x182fd6(0x213)][_0x182fd6(0x356)](_0x4ab4f5),_0x511a2b;}async[_0x1b0175(0x337)](){var _0x516f77=_0x1b0175;const _0x134fd4=await super[_0x516f77(0x337)]();return this[_0x516f77(0x188)](this[_0x516f77(0x371)]['onCommandExecuted']((_0x1d56d0,_0x8980bd)=>{var _0x3bac82=_0x516f77;if(_0x1d56d0[_0x3bac82(0x279)]!==_0x4f80e7[_0x3bac82(0x177)]||_0x8980bd!=null&&_0x8980bd['fromCollab']||_0x8980bd!=null&&_0x8980bd[_0x3bac82(0x3c3)])return;const _0x2db4bf=_0x1d56d0[_0x3bac82(0x2e9)];if((_0x2db4bf==null?void 0x0:_0x2db4bf[_0x3bac82(0x359)])!==this[_0x3bac82(0x2a9)])return;const _0x23933e=_0x1d56d0,_0x32fbdd=this[_0x3bac82(0x22f)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x3bac82(0x2f0)][_0x3bac82(0x1fd)]()[_0x3bac82(0x3ae)])([_0x23933e],null)||[_0x23933e];this[_0x3bac82(0x345)](_0x32fbdd[0x0]);})),_0x134fd4;}};Et=wt([H(0x3,_0x2350f5(_0x4fef0a)),H(0x4,_0x2350f5(_0x4c718f)),H(0x5,_0x2350f5(_0x167f10)),H(0x6,_0x2350f5(_0x1b2f89)),H(0x7,_0x2350f5(it)),H(0x8,_0x2350f5(ve)),H(0x9,_0x27c895),H(0xa,_0x5c1e8c),H(0xb,_0x33cf07),H(0xc,_0x364642(ht)),H(0xd,_0x364642(J))],Et);const js=_0x2c3a23(_0x1b0175(0x31d));function Fs(_0x746fba){var _0x538fb5=_0x1b0175,_0x4a7734,_0x22ee61,_0x23ed64,_0xcbb1a7,_0x3951dd;const _0x1dad7d=_0x746fba[_0x538fb5(0x219)],_0xa49e4b=JSON[_0x538fb5(0x333)](_0x1dad7d);switch(_0xa49e4b[_0x538fb5(0x342)]){case F[_0x538fb5(0x2eb)]:case F['HELLO']:{const _0x336656=_0xa49e4b[_0x538fb5(0x31a)];return{..._0xa49e4b,'data':_0x336656,'cmd':_0xa49e4b['cmd']};}case F[_0x538fb5(0x229)]:{const _0x171e7b=_0xa49e4b['joinRsp'];return{..._0xa49e4b,'data':_0x171e7b,'cmd':_0xa49e4b[_0x538fb5(0x342)]};}case F[_0x538fb5(0x368)]:{const _0x3825bd=_0xa49e4b[_0x538fb5(0x30f)];switch(_0x3825bd[_0x538fb5(0x2d6)]){case _0x270543[_0x538fb5(0x388)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':(_0x4a7734=_0x3825bd[_0x538fb5(0x321)])==null?void 0x0:_0x4a7734['cs']},'cmd':_0xa49e4b['cmd']};case _0x270543['CHANGESET_ACK']:return{..._0xa49e4b,'data':{..._0x3825bd,'data':(_0x22ee61=_0x3825bd[_0x538fb5(0x1f8)])==null?void 0x0:_0x22ee61['cs']},'cmd':_0xa49e4b['cmd']};case _0x270543[_0x538fb5(0x2cd)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':(_0x23ed64=_0x3825bd[_0x538fb5(0x3d7)])==null?void 0x0:_0x23ed64['cs']},'cmd':_0xa49e4b['cmd']};case _0x270543['CHANGESET_REJ']:return{..._0xa49e4b,'data':{..._0x3825bd,'data':(_0xcbb1a7=_0x3825bd[_0x538fb5(0x218)])==null?void 0x0:_0xcbb1a7['cs']},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543['CHANGESET_SHOULD_RETRY']:return{..._0xa49e4b,'data':{..._0x3825bd,'data':(_0x3951dd=_0x3825bd[_0x538fb5(0x2c2)])==null?void 0x0:_0x3951dd['cs']},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543['UPDATE_CURSOR']:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd['updateCursorEvent']},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543[_0x538fb5(0x240)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x323)]},'cmd':_0xa49e4b['cmd']};case _0x270543[_0x538fb5(0x300)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd['leaveEvent']},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543[_0x538fb5(0x2c0)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x35a)]},'cmd':_0xa49e4b['cmd']};case _0x270543['LIVESHARE_FETCH_OPERATIONS']:case _0x270543[_0x538fb5(0x3c2)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x380)]},'cmd':_0xa49e4b['cmd']};case _0x270543[_0x538fb5(0x2fe)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x35a)]},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543[_0x538fb5(0x211)]:return{..._0xa49e4b,'data':_0x3825bd,'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543[_0x538fb5(0x226)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x197)]},'cmd':_0xa49e4b['cmd']};case _0x270543[_0x538fb5(0x22a)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd['updatePermissionObjEvent']},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543[_0x538fb5(0x2e2)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x27b)]},'cmd':_0xa49e4b['cmd']};case _0x270543[_0x538fb5(0x3ec)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x1a0)]},'cmd':_0xa49e4b[_0x538fb5(0x342)]};default:return _0xa49e4b;}}default:return _0xa49e4b;}}function Vs(_0x592490){var _0x2bfff4=_0x1b0175;switch(_0x592490['cmd']){case F['HEARTBEAT']:case F[_0x2bfff4(0x2cb)]:return JSON[_0x2bfff4(0x445)]({'cmd':_0x592490[_0x2bfff4(0x342)],'routeKey':_0x592490[_0x2bfff4(0x1d7)]});case F[_0x2bfff4(0x170)]:{let _0x2dba0d;switch(_0x592490[_0x2bfff4(0x219)][_0x2bfff4(0x2d6)]){case _0x270543['UPDATE_CURSOR']:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x18d)],'updateCursorEvent':_0x592490[_0x2bfff4(0x219)][_0x2bfff4(0x219)]};break;}case _0x270543[_0x2bfff4(0x300)]:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x300)],'leaveEvent':_0x592490[_0x2bfff4(0x219)][_0x2bfff4(0x219)]};break;}case _0x270543[_0x2bfff4(0x240)]:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x240)],'joinEvent':_0x592490['data']['data']};break;}case _0x270543['LIVESHARE_NEW_HOST']:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x2c0)],'liveShareNewHost':_0x592490[_0x2bfff4(0x219)][_0x2bfff4(0x219)]};break;}case _0x270543[_0x2bfff4(0x3c2)]:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x3c2)],'liveShareOperation':_0x592490[_0x2bfff4(0x219)][_0x2bfff4(0x219)]};break;}case _0x270543[_0x2bfff4(0x2fe)]:{_0x2dba0d={'eventID':_0x270543['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x592490['data']['data']};break;}case _0x270543[_0x2bfff4(0x234)]:{_0x2dba0d={'eventID':_0x270543['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x592490[_0x2bfff4(0x219)]['data']};break;}case _0x270543[_0x2bfff4(0x350)]:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x350)]};break;}default:_0x2dba0d={'eventID':_0x592490['data'][_0x2bfff4(0x2d6)]};}return JSON[_0x2bfff4(0x445)]({'cmd':_0x592490['cmd'],'routeKey':_0x592490[_0x2bfff4(0x1d7)],'collaMsg':_0x2dba0d});}case F['JOIN']:return JSON[_0x2bfff4(0x445)]({'cmd':_0x592490[_0x2bfff4(0x342)],'routeKey':_0x592490['routeKey'],'joinReq':_0x592490[_0x2bfff4(0x219)]});case F['LEAVE']:return JSON[_0x2bfff4(0x445)]({'cmd':_0x592490[_0x2bfff4(0x342)],'routeKey':_0x592490['routeKey'],'leaveReq':_0x592490[_0x2bfff4(0x219)]});default:throw new Error(_0x2bfff4(0x34d));}}var Ws=Object[_0x1b0175(0x469)],Gs=(_0x44b8fe,_0x23a5f0,_0x1dd264,_0x5393fa)=>{var _0x5a9aaf=_0x1b0175;for(var _0x3f7eca=_0x5393fa>0x1?void 0x0:_0x5393fa?Ws(_0x23a5f0,_0x1dd264):_0x23a5f0,_0xb0d4a9=_0x44b8fe[_0x5a9aaf(0x32a)]-0x1,_0x3913e9;_0xb0d4a9>=0x0;_0xb0d4a9--)(_0x3913e9=_0x44b8fe[_0xb0d4a9])&&(_0x3f7eca=_0x3913e9(_0x3f7eca)||_0x3f7eca);return _0x3f7eca;},De=(_0x54239a,_0x4d6216)=>(_0x3f592c,_0x41378a)=>_0x4d6216(_0x3f592c,_0x41378a,_0x54239a);const Ci=_0x2c3a23(_0x1b0175(0x192));function Ys(_0x431267,_0x502a22,_0x189ce4){var _0x222c99=_0x1b0175;return _0x431267+'/'+_0x502a22+_0x222c99(0x29a)+_0x189ce4+_0x222c99(0x29b);}let Gt=class extends _0x5b6ec2{constructor(_0x425eec,_0x541fdb,_0x4bf9e4,_0x1cff42,_0x35fa1f){var _0x3660ce=_0x1b0175;super(),this[_0x3660ce(0x295)]=_0x425eec,this['_httpService']=_0x541fdb,this['_configService']=_0x4bf9e4,this['_logService']=_0x1cff42,this[_0x3660ce(0x1e1)]=_0x35fa1f;}['_doCreateSocket'](_0x995a0b){var _0x432339=_0x1b0175;const _0x117939=this[_0x432339(0x295)]['get'](_0x5dfa6a);if(!_0x117939)throw new Error(_0x432339(0x47b));const _0x24ff17=_0x117939['createSocket'](_0x995a0b);if(!_0x24ff17)throw new Error(_0x432339(0x1ee));const _0x251a98=new _0x1eec7b(),_0x2a99aa=new _0xbd57ee();_0x251a98[_0x432339(0x2e4)](_0x24ff17['close$'][_0x432339(0x17c)](_0x19a6a2=>_0x2a99aa[_0x432339(0x377)](_0x19a6a2))),_0x251a98[_0x432339(0x2e4)](_0x3a0139(()=>_0x2a99aa[_0x432339(0x374)]()));const _0x59c553=new _0xbd57ee();_0x251a98[_0x432339(0x2e4)](_0x24ff17[_0x432339(0x206)][_0x432339(0x17c)](_0x7479df=>_0x59c553[_0x432339(0x377)](_0x7479df))),_0x251a98[_0x432339(0x2e4)](_0x3a0139(()=>_0x59c553[_0x432339(0x374)]()));const _0x39804e=new _0xbd57ee();_0x251a98['add'](_0x24ff17[_0x432339(0x220)][_0x432339(0x17c)](_0x2997f0=>{var _0x5e9fa9=_0x432339;const _0x4e362f=Fs(_0x2997f0);_0x39804e[_0x5e9fa9(0x377)](_0x4e362f);})),_0x251a98['add'](_0x3a0139(()=>_0x39804e[_0x432339(0x374)]()));let _0x43e928;const _0x521c0e=()=>{var _0x492709=_0x432339;_0x59c553[_0x492709(0x377)](new Event(_0x492709(0x3ff))),_0x2a99aa[_0x492709(0x377)](new Event(_0x492709(0x3ff))),_0x43e928[_0x492709(0x3fe)]();};return _0x43e928={'memberID':'','close$':_0x2a99aa['asObservable'](),'error$':_0x59c553[_0x432339(0x28c)](),'open$':_0x24ff17[_0x432339(0x391)],'message$':_0x39804e[_0x432339(0x28c)](),'send':_0x355427=>{var _0x3ecf26=_0x432339;if(_0x355427[_0x3ecf26(0x342)]===F[_0x3ecf26(0x170)]){if(_0x355427[_0x3ecf26(0x219)][_0x3ecf26(0x2d6)]===_0x270543[_0x3ecf26(0x31e)]){this[_0x3ecf26(0x3fb)](_0x43e928,_0x355427['data'])['catch'](_0xca1069=>{var _0x2c9046=_0x3ecf26;this['_logService'][_0x2c9046(0x31f)](_0xca1069),_0x521c0e();});return;}if(_0x355427[_0x3ecf26(0x219)][_0x3ecf26(0x2d6)]===_0x270543[_0x3ecf26(0x3f3)]){const _0x180918=_0x355427['data'];this[_0x3ecf26(0x199)](_0x180918)['then'](_0x5d6674=>{var _0x368ee6=_0x3ecf26;_0x39804e[_0x368ee6(0x377)]({'cmd':F['RECV'],'code':pe['OK'],'routeKey':_0x180918[_0x368ee6(0x219)][_0x368ee6(0x2a9)],'routeType':'','data':{'eventID':_0x270543[_0x368ee6(0x44e)],'data':{'changesets':_0x5d6674}}});})[_0x3ecf26(0x324)](_0x582d93=>{var _0x151e9e=_0x3ecf26;this['_logService'][_0x151e9e(0x31f)](_0x582d93),_0x521c0e();});return;}}_0x24ff17['send'](Vs(_0x355427));},'close':()=>{var _0x3744ba=_0x432339;_0x24ff17[_0x3744ba(0x3fe)](),_0x251a98[_0x3744ba(0x45c)]();}},_0x43e928;}async[_0x1b0175(0x3fb)](_0x13ca31,_0x1c5428){var _0x834038=_0x1b0175,_0x2db188;const {unitType:_0x5e9fc7,unitID:_0x3b8238,changeset:_0x349e1f}=_0x1c5428[_0x834038(0x219)],_0x37d5c4={'unitID':_0x3b8238,'memberID':_0x13ca31[_0x834038(0x2de)],'type':_0x5e9fc7,'changeset':_0x5ac210(_0x349e1f)},_0x3bc053=this['_configService'][_0x834038(0x2d4)](K),_0x4d68db=Ys((_0x2db188=_0x3bc053==null?void 0x0:_0x3bc053[_0x834038(0x423)])!=null?_0x2db188:Cs,_0x5e9fc7,_0x3b8238);try{await this[_0x834038(0x1fb)][_0x834038(0x2a1)](_0x4d68db,{'body':_0x37d5c4});}catch(_0x270a76){throw this[_0x834038(0x362)][_0x834038(0x31f)](_0x834038(0x2c1),_0x834038(0x2aa)),_0x270a76;}}async[_0x1b0175(0x199)](_0x2203ae){var _0x3f1669=_0x1b0175;const {unitID:_0x3c80e1,from:_0x252730,to:_0x40a3b0,unitType:_0x20c7f3}=_0x2203ae[_0x3f1669(0x219)];return(await this['_snapshotServerService'][_0x3f1669(0x3aa)]({'metadata':void 0x0},{'unitID':_0x3c80e1,'type':_0x20c7f3,'from':_0x252730,'to':_0x40a3b0}))[_0x3f1669(0x476)];}};Gt=Gs([De(0x0,_0x2350f5(_0x4fef0a)),De(0x1,_0x2350f5(_0x3d8309)),De(0x2,_0x39ec1e),De(0x3,_0x27c895),De(0x4,_0x44dcd2)],Gt);var Ks=Object[_0x1b0175(0x469)],qs=(_0x51ddf8,_0x5073a1,_0x33c039,_0x238b6a)=>{var _0x33d145=_0x1b0175;for(var _0x9fd83c=_0x238b6a>0x1?void 0x0:_0x238b6a?Ks(_0x5073a1,_0x33c039):_0x5073a1,_0x2eb043=_0x51ddf8[_0x33d145(0x32a)]-0x1,_0x5dc242;_0x2eb043>=0x0;_0x2eb043--)(_0x5dc242=_0x51ddf8[_0x2eb043])&&(_0x9fd83c=_0x5dc242(_0x9fd83c)||_0x9fd83c);return _0x9fd83c;},Re=(_0x21ca7b,_0x34c8fa)=>(_0x4d21ad,_0x12a2b0)=>_0x34c8fa(_0x4d21ad,_0x12a2b0,_0x21ca7b);let Pe=class extends _0x5b6ec2{constructor(_0x73e12a,_0x12c104,_0x4d47b9,_0x5b51b9,_0x471918,_0x245297){var _0x237c9b=_0x1b0175;super(),N(this,_0x237c9b(0x37d),new _0x1babcb(void 0x0)),N(this,'socket$',this['_socket$'][_0x237c9b(0x28c)]()),N(this,_0x237c9b(0x2a2),null),N(this,'_sessions',new Map()),N(this,_0x237c9b(0x457),new _0x1babcb(ge[_0x237c9b(0x459)])),N(this,_0x237c9b(0x403),this['_status$'][_0x237c9b(0x28c)]()),N(this,_0x237c9b(0x2b3),!0x1),N(this,_0x237c9b(0x3b7)),N(this,_0x237c9b(0x29f),0x0),N(this,_0x237c9b(0x17e)),N(this,'_timeoutTimer'),(this[_0x237c9b(0x295)]=_0x73e12a,this[_0x237c9b(0x362)]=_0x12c104,this['_configService']=_0x4d47b9,this['_socketService']=_0x5b51b9,this[_0x237c9b(0x38f)]=_0x471918,this['_networkConditionService']=_0x245297,this['_listenToNetworkCondition']());}get[_0x1b0175(0x1a1)](){var _0x2f7bd3=_0x1b0175;return this['_socket$'][_0x2f7bd3(0x3f4)]();}[_0x1b0175(0x3c6)](){var _0x91cefe=_0x1b0175;this['_networkConditionService']&&this['disposeWithMe'](this[_0x91cefe(0x3e9)][_0x91cefe(0x187)][_0x91cefe(0x17c)](_0x221ed9=>{_0x221ed9&&!this['_socket']&&this['reconnect'](),_0x221ed9||this['_onOffline']();}));}[_0x1b0175(0x45c)](){var _0x43683f=_0x1b0175;super[_0x43683f(0x45c)](),this[_0x43683f(0x394)](),this[_0x43683f(0x1c7)](),this[_0x43683f(0x319)](),this['_sessions'][_0x43683f(0x2c3)](_0x4e1cd0=>_0x4e1cd0[_0x43683f(0x45c)]()),this[_0x43683f(0x22b)][_0x43683f(0x1bc)](),this[_0x43683f(0x457)][_0x43683f(0x374)]();}async[_0x1b0175(0x296)](_0x3b5611){var _0x120a39=_0x1b0175;if(this['_sessions'][_0x120a39(0x378)](_0x3b5611))return this[_0x120a39(0x22b)]['get'](_0x3b5611);this[_0x120a39(0x3b5)]();const _0x122d9c=this[_0x120a39(0x295)]['createInstance'](gt,_0x3b5611,this[_0x120a39(0x37d)][_0x120a39(0x28c)]());return this['_sessions']['set'](_0x3b5611,_0x122d9c),_0x122d9c;}[_0x1b0175(0x34a)](_0xfd15a3){var _0x1d08ac=_0x1b0175,_0x53a4ac;const _0x15ff5b=this[_0x1d08ac(0x22b)][_0x1d08ac(0x41d)](_0xfd15a3);_0x15ff5b&&(this[_0x1d08ac(0x22b)]['delete'](_0xfd15a3),_0x15ff5b['close']()),this['_sessions'][_0x1d08ac(0x434)]||(_0x53a4ac=this[_0x1d08ac(0x1a1)])==null||_0x53a4ac[_0x1d08ac(0x3fe)]();}[_0x1b0175(0x25d)](){var _0x1d39a2=_0x1b0175;this['_retryCount']=0x0,this[_0x1d39a2(0x394)](),this['_tryReconnect']();}[_0x1b0175(0x394)](){var _0xfcca37=_0x1b0175;this[_0xfcca37(0x3b7)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xfcca37(0x3b7)]=null);}async[_0x1b0175(0x32e)](){var _0x3a66da=_0x1b0175,_0x39119e;const _0x35e90a=this[_0x3a66da(0x3d9)]['getConfig'](K),_0x165ada=(_0x39119e=_0x35e90a==null?void 0x0:_0x35e90a['collabWebSocketUrl'])!=null?_0x39119e:ms,_0x3a26b5=await this['_socketService']['createSocket'](_0x165ada);return this[_0x3a66da(0x2a2)]=_0x3a26b5,_0x3a26b5;}async[_0x1b0175(0x3b5)](){var _0x64c95d=_0x1b0175,_0x52b9d8,_0x4a9402;try{const _0xe59b7a=(_0x4a9402=(_0x52b9d8=this[_0x64c95d(0x1a1)])!=null?_0x52b9d8:this[_0x64c95d(0x2a2)])!=null?_0x4a9402:await this[_0x64c95d(0x32e)]();if(_0xe59b7a){const _0x2766be=_0xe59b7a[_0x64c95d(0x2a5)];_0xe59b7a[_0x64c95d(0x2a5)]=_0x5dcea0=>(this[_0x64c95d(0x382)](),_0x2766be[_0x64c95d(0x230)](_0xe59b7a,[_0x5dcea0])),_0xe59b7a[_0x64c95d(0x220)][_0x64c95d(0x17c)](_0x3705e7=>this[_0x64c95d(0x299)](_0xe59b7a,_0x3705e7)),_0xe59b7a[_0x64c95d(0x206)][_0x64c95d(0x3f2)](_0x2bb393(0x1))[_0x64c95d(0x17c)](_0x3a165b=>this[_0x64c95d(0x362)][_0x64c95d(0x31f)](_0x64c95d(0x1fc),_0x3a165b)),_0xe59b7a['open$'][_0x64c95d(0x3f2)](_0x2bb393(0x1))[_0x64c95d(0x17c)](()=>{var _0x1cbd5b=_0x64c95d;this[_0x1cbd5b(0x200)](_0xe59b7a);}),_0xe59b7a[_0x64c95d(0x397)][_0x64c95d(0x3f2)](_0x2bb393(0x1))[_0x64c95d(0x17c)](_0x1f0ef4=>{var _0x5b8427=_0x64c95d;this[_0x5b8427(0x362)][_0x5b8427(0x3b1)](_0x5b8427(0x329),_0x5b8427(0x402),_0x1f0ef4),this[_0x5b8427(0x26c)]();});}}catch(_0x100a3b){this[_0x64c95d(0x362)][_0x64c95d(0x31f)](_0x100a3b),this[_0x64c95d(0x26c)]();}}[_0x1b0175(0x200)](_0x39fcb4){var _0x3f62c2=_0x1b0175;this['_logService']['debug'](_0x3f62c2(0x329),_0x3f62c2(0x407)),_0x39fcb4[_0x3f62c2(0x2a5)]({'cmd':F[_0x3f62c2(0x2cb)]}),this[_0x3f62c2(0x382)]();}[_0x1b0175(0x3a4)](){var _0x4c85a3=_0x1b0175;this[_0x4c85a3(0x2b3)]=!0x1,this[_0x4c85a3(0x2a2)]=null,this[_0x4c85a3(0x457)][_0x4c85a3(0x377)](ge[_0x4c85a3(0x286)]),this[_0x4c85a3(0x37d)][_0x4c85a3(0x377)](null),this['_clearTimeoutTimer'](),this[_0x4c85a3(0x319)]();}[_0x1b0175(0x26c)](){var _0xd269e5=_0x1b0175,_0x40bee4;this[_0xd269e5(0x3a4)](),this['_retryCount']<((_0x40bee4=this[_0xd269e5(0x3d9)][_0xd269e5(0x2d4)](Is))!=null?_0x40bee4:Ts)?(this[_0xd269e5(0x38f)]['emitEvent']({'id':ne[_0xd269e5(0x3d0)]}),this[_0xd269e5(0x23d)]()):this['_collaborationUIEventService'][_0xd269e5(0x29e)]({'id':ne[_0xd269e5(0x418)]});}[_0x1b0175(0x23d)](){var _0x253d00=_0x1b0175,_0x50bea4;const _0x1bf43e=this[_0x253d00(0x29f)],_0x1f3e3d=this[_0x253d00(0x3d9)][_0x253d00(0x2d4)](K),_0x214063=_0x1bf43e===0x0?0x0:((_0x50bea4=_0x1f3e3d==null?void 0x0:_0x1f3e3d[_0x253d00(0x2a6)])!=null?_0x50bea4:Es)*0x2**_0x1bf43e;this[_0x253d00(0x3b7)]=setTimeout(()=>{var _0x3482da=_0x253d00;clearTimeout(this[_0x3482da(0x3b7)]),this['_retryConnectingTimer']=null,this[_0x3482da(0x3b5)]();},_0x214063),this['_retryCount']+=0x1;}[_0x1b0175(0x299)](_0x45e975,_0x5b75b4){var _0x4c91e4=_0x1b0175;const {cmd:_0x2a7547}=_0x5b75b4;_0x2a7547===F[_0x4c91e4(0x2cb)]&&!this['_socketReady']&&(_0x45e975['memberID']=_0x5b75b4[_0x4c91e4(0x219)][_0x4c91e4(0x2de)],this['_socket$'][_0x4c91e4(0x377)](_0x45e975),this[_0x4c91e4(0x457)][_0x4c91e4(0x377)](ge['ONLINE']),this[_0x4c91e4(0x2b3)]=!0x0,this[_0x4c91e4(0x2a2)]=null),_0x2a7547===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x4c91e4(0x382)]();}[_0x1b0175(0x382)](){var _0x49982b=_0x1b0175,_0x502d33;this['_clearHeartbeatTimer'](),this[_0x49982b(0x17e)]=setTimeout(()=>this[_0x49982b(0x340)](),(_0x502d33=this[_0x49982b(0x3d9)]['getConfig'](gs))!=null?_0x502d33:Ss);}[_0x1b0175(0x340)](){var _0x22e03a=_0x1b0175;this['_socket']['send']({'cmd':F[_0x22e03a(0x2eb)]}),this[_0x22e03a(0x2b8)]();}[_0x1b0175(0x2b8)](){var _0x53cc08=_0x1b0175,_0x4523f5;this[_0x53cc08(0x44a)]=setTimeout(()=>this[_0x53cc08(0x26c)](),(_0x4523f5=this['_configService'][_0x53cc08(0x2d4)](di))!=null?_0x4523f5:fi);}[_0x1b0175(0x319)](){var _0x27be0a=_0x1b0175;this[_0x27be0a(0x17e)]!=null&&(clearTimeout(this[_0x27be0a(0x17e)]),this[_0x27be0a(0x17e)]=null);}[_0x1b0175(0x1c7)](){var _0x3ac0f5=_0x1b0175;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3ac0f5(0x44a)]),this[_0x3ac0f5(0x44a)]=null);}};Pe=qs([Re(0x0,_0x2350f5(_0x4fef0a)),Re(0x1,_0x27c895),Re(0x2,_0x39ec1e),Re(0x3,Ci),Re(0x4,_0x2350f5(ve)),Re(0x5,_0x364642(js))],Pe);var zs=Object[_0x1b0175(0x469)],Js=(_0x537f1e,_0x145322,_0x51e91b,_0x449e43)=>{var _0x69e41=_0x1b0175;for(var _0x4b0aa9=_0x449e43>0x1?void 0x0:_0x449e43?zs(_0x145322,_0x51e91b):_0x145322,_0x7cbd6e=_0x537f1e[_0x69e41(0x32a)]-0x1,_0x294a2a;_0x7cbd6e>=0x0;_0x7cbd6e--)(_0x294a2a=_0x537f1e[_0x7cbd6e])&&(_0x4b0aa9=_0x294a2a(_0x4b0aa9)||_0x4b0aa9);return _0x4b0aa9;},Be=(_0x560a12,_0x30acad)=>(_0x3a62cd,_0x6b518f)=>_0x30acad(_0x3a62cd,_0x6b518f,_0x560a12);let nt=class extends _0x1947f8{constructor(_0x43477c,_0x299ec3,_0x6aa104,_0x403a1c){var _0x361a08=_0x1b0175,_0x24d4c0;super(),N(this,_0x361a08(0x41f),new Map()),N(this,'_entityInit$',new _0xbd57ee()),N(this,_0x361a08(0x19f),this[_0x361a08(0x387)][_0x361a08(0x28c)]()),(this[_0x361a08(0x295)]=_0x43477c,this[_0x361a08(0x27e)]=_0x299ec3,this[_0x361a08(0x3d9)]=_0x6aa104,this['_univerInstanceService']=_0x403a1c,((_0x24d4c0=this[_0x361a08(0x3d9)][_0x361a08(0x2d4)](K))==null?void 0x0:_0x24d4c0['enableCollaboration'])!==!0x1&&this['_init']());}['dispose'](){var _0x173b8c=_0x1b0175;super['dispose'](),this['_entities'][_0x173b8c(0x2c3)](_0x5643f9=>_0x5643f9[_0x173b8c(0x45c)]()),this[_0x173b8c(0x41f)][_0x173b8c(0x1bc)]();}[_0x1b0175(0x205)](_0x3068b3){var _0x5cfa4f=_0x1b0175,_0x419ecf;return(_0x419ecf=this[_0x5cfa4f(0x41f)][_0x5cfa4f(0x41d)](_0x3068b3))!=null?_0x419ecf:null;}[_0x1b0175(0x1bb)](_0x46c35b){var _0x36cef4=_0x1b0175;const _0x4370a9=this['getCollabEntity'](_0x46c35b);return _0x4370a9?_0x2cf37a(_0x4370a9):this[_0x36cef4(0x387)][_0x36cef4(0x3f2)](_0x4ecac2(_0x40f853=>_0x40f853[_0x36cef4(0x2a9)]===_0x46c35b));}[_0x1b0175(0x35c)](_0x301e8f){var _0x137aba=_0x1b0175;return _0x47678f(this[_0x137aba(0x1bb)](_0x301e8f)[_0x137aba(0x3f2)](_0x2af321(()=>{})));}[_0x1b0175(0x337)](){var _0x5873fe=_0x1b0175;this[_0x5873fe(0x1cf)][_0x5873fe(0x269)](_0x4db1c1[_0x5873fe(0x245)])[_0x5873fe(0x3f2)](_0x43488c(this[_0x5873fe(0x185)]),_0x119bcd(0x10))['subscribe'](async _0xbb07de=>{var _0x3800a5=_0x5873fe;const _0x1d54b0=_0xbb07de['getUnitId'](),_0x18914a=await this[_0x3800a5(0x3eb)](_0x1d54b0,Z[_0x3800a5(0x245)]);this[_0x3800a5(0x41f)][_0x3800a5(0x392)](_0x1d54b0,_0x18914a);}),this[_0x5873fe(0x1cf)][_0x5873fe(0x269)](_0x4db1c1[_0x5873fe(0x293)])['pipe'](_0x43488c(this[_0x5873fe(0x185)]),_0x119bcd(0x10))[_0x5873fe(0x3f2)](_0x4ecac2(_0x1d45eb=>!_0x1d45eb[_0x5873fe(0x3e5)]()[_0x5873fe(0x182)]('__')))['subscribe'](async _0x1af954=>{var _0x812be3=_0x5873fe;const _0x29c7d2=_0x1af954['getUnitId'](),_0x129fa3=await this[_0x812be3(0x3eb)](_0x29c7d2,Z[_0x812be3(0x293)]);this[_0x812be3(0x41f)][_0x812be3(0x392)](_0x29c7d2,_0x129fa3);}),_0x3ec2c8(this[_0x5873fe(0x1cf)]['getTypeOfUnitDisposed$'](_0x4db1c1['UNIVER_SHEET']),this[_0x5873fe(0x1cf)][_0x5873fe(0x436)](_0x4db1c1[_0x5873fe(0x293)]))[_0x5873fe(0x3f2)](_0x43488c(this[_0x5873fe(0x185)]))[_0x5873fe(0x17c)](_0x189f73=>{var _0x297a1a=_0x5873fe;const _0x2f14f4=_0x189f73['getUnitId'](),_0x4f9d8c=this[_0x297a1a(0x41f)][_0x297a1a(0x41d)](_0x2f14f4);_0x4f9d8c&&(_0x4f9d8c[_0x297a1a(0x45c)](),this[_0x297a1a(0x41f)][_0x297a1a(0x1d1)](_0x2f14f4));});}async[_0x1b0175(0x3eb)](_0x11c3d9,_0x536631){var _0x4c0261=_0x1b0175;const _0x2d85f0=await this[_0x4c0261(0x27e)][_0x4c0261(0x296)](_0x11c3d9),_0x293ad4=this[_0x4c0261(0x295)]['createInstance'](this[_0x4c0261(0x446)](_0x536631),_0x11c3d9,_0x536631,_0x2d85f0);return await _0x293ad4[_0x4c0261(0x3e8)](),this[_0x4c0261(0x387)][_0x4c0261(0x377)](_0x293ad4),_0x293ad4;}['_getCtorByUniverType'](_0x1e9443){var _0xc4b049=_0x1b0175;switch(_0x1e9443){case Z[_0xc4b049(0x293)]:return St;case Z[_0xc4b049(0x245)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1e9443);}}};nt=Js([Be(0x0,_0x2350f5(_0x4fef0a)),Be(0x1,_0x2350f5(Pe)),Be(0x2,_0x39ec1e),Be(0x3,_0x1465c0)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x498483,_0x456d27,_0x5a4944,_0x47c48e)=>{var _0x553506=_0x1b0175;for(var _0x28cfb9=_0x47c48e>0x1?void 0x0:_0x47c48e?Xs(_0x456d27,_0x5a4944):_0x456d27,_0x3d850b=_0x498483[_0x553506(0x32a)]-0x1,_0x47fa1a;_0x3d850b>=0x0;_0x3d850b--)(_0x47fa1a=_0x498483[_0x3d850b])&&(_0x28cfb9=_0x47fa1a(_0x28cfb9)||_0x28cfb9);return _0x28cfb9;},Yt=(_0x17c74a,_0x9b86b9)=>(_0x2a1823,_0x540b45)=>_0x9b86b9(_0x2a1823,_0x540b45,_0x17c74a);const Qs=_0x1b0175(0x175),en=_0x1b0175(0x313);let It=class extends _0x5b6ec2{constructor(_0x3c5b1a,_0x582f53){var _0x35f69b=_0x1b0175;super(),this[_0x35f69b(0x1cf)]=_0x3c5b1a,this['_configService']=_0x582f53,this[_0x35f69b(0x337)]();}['_init'](){var _0x8a635d=_0x1b0175;this['disposeWithMe'](this[_0x8a635d(0x1cf)]['focused$'][_0x8a635d(0x17c)](()=>{var _0x37572c=_0x8a635d,_0x3740b6;const _0x16838e=this['_univerInstanceService'][_0x37572c(0x268)]();let _0x36dc0b=(_0x3740b6=this[_0x37572c(0x3d9)][_0x37572c(0x2d4)](Qs))!=null?_0x3740b6:en;_0x16838e instanceof _0x255f9c&&(_0x36dc0b=_0x16838e[_0x37572c(0x2e1)]),document['title']=_0x36dc0b;}));}};It=Zs([Yt(0x0,_0x1465c0),Yt(0x1,_0x39ec1e)],It);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x385528,_0x40d421,_0x21057c,_0x645ee2)=>{for(var _0x204df1=_0x645ee2>0x1?void 0x0:_0x645ee2?tn(_0x40d421,_0x21057c):_0x40d421,_0x310eef=_0x385528['length']-0x1,_0x59b146;_0x310eef>=0x0;_0x310eef--)(_0x59b146=_0x385528[_0x310eef])&&(_0x204df1=_0x59b146(_0x204df1)||_0x204df1);return _0x204df1;},dt=(_0x4db183,_0x2726f6)=>(_0x54d259,_0x2177ee)=>_0x2726f6(_0x54d259,_0x2177ee,_0x4db183);let rt=class{constructor(_0xb346af,_0x29ceb5,_0x31a6ea){var _0xe05120=_0x1b0175;this[_0xe05120(0x3d9)]=_0xb346af,this[_0xe05120(0x1fb)]=_0x29ceb5,this[_0xe05120(0x45b)]=_0x31a6ea,this[_0xe05120(0x3e8)]();}[_0x1b0175(0x3e8)](){var _0x149bec=_0x1b0175;this[_0x149bec(0x1fb)][_0x149bec(0x2d2)]({'priority':0x1,'interceptor':(_0x2b990b,_0xc631e0)=>_0xc631e0(_0x2b990b)['pipe'](_0xfc20c9(async _0x172131=>{var _0x48e692=_0x149bec;const _0x319a7c=_0x172131;if(_0x319a7c[_0x48e692(0x27c)]===0x191){if(typeof window>'u')throw new Error(_0x48e692(0x20f));if(window[_0x48e692(0x250)](this[_0x48e692(0x45b)]['t'](_0x48e692(0x443)))){const _0x3fe42d=window[_0x48e692(0x181)](window['location'][_0x48e692(0x3f6)]);window[_0x48e692(0x3dc)][_0x48e692(0x3f6)]=this[_0x48e692(0x2fd)]()+_0x48e692(0x1c0)+_0x3fe42d;}}return _0x319a7c;}))});}[_0x1b0175(0x2fd)](){var _0x4171d8=_0x1b0175,_0x38dcfe;const _0x14468f=this[_0x4171d8(0x3d9)]['getConfig'](K);return(_0x38dcfe=_0x14468f==null?void 0x0:_0x14468f[_0x4171d8(0x3a0)])!=null?_0x38dcfe:Rs;}};rt=sn([dt(0x0,_0x39ec1e),dt(0x1,_0x2350f5(_0x3d8309)),dt(0x2,_0x2350f5(_0x167f10))],rt);var nn=Object[_0x1b0175(0x469)],rn=(_0x21b30d,_0x5bb5e0,_0x421d7f,_0x45ce05)=>{var _0x44cef6=_0x1b0175;for(var _0x3cf9e8=_0x45ce05>0x1?void 0x0:_0x45ce05?nn(_0x5bb5e0,_0x421d7f):_0x5bb5e0,_0x4f5b60=_0x21b30d[_0x44cef6(0x32a)]-0x1,_0x1ba2ce;_0x4f5b60>=0x0;_0x4f5b60--)(_0x1ba2ce=_0x21b30d[_0x4f5b60])&&(_0x3cf9e8=_0x1ba2ce(_0x3cf9e8)||_0x3cf9e8);return _0x3cf9e8;},Kt=(_0x5143c9,_0x8ef6d3)=>(_0x16953e,_0x573c16)=>_0x8ef6d3(_0x16953e,_0x573c16,_0x5143c9);const an=_0x1b0175(0x3e0);let Tt=class extends _0x5b6ec2{constructor(_0x4a37aa,_0x4577c0){var _0x2de3ed=_0x1b0175;super(),this[_0x2de3ed(0x437)]=_0x4a37aa,this[_0x2de3ed(0x3d9)]=_0x4577c0,this['_initMergeInterceptor']();}[_0x1b0175(0x327)](){var _0x35cf74=_0x1b0175;const _0x39fe71=this;this['disposeWithMe'](this[_0x35cf74(0x437)][_0x35cf74(0x2d2)]({'priority':0x3e7,'interceptor':_0x1e4518({'isMatch'(_0xb12948){var _0xea71aa=_0x35cf74,_0x3ec69;if(_0xb12948[_0xea71aa(0x2b9)]==='POST'&&((_0x3ec69=_0xb12948['requestParams'])!=null&&_0x3ec69[_0xea71aa(0x3a6)])){const {objectID:_0x1029eb,objectType:_0x666dd9}=_0xb12948['requestParams'][_0xea71aa(0x3a6)]||{};if(!_0x1029eb||_0x666dd9===void 0x0)return!0x1;const _0x481636=_0x39fe71[_0xea71aa(0x37c)]()+'/'+_0x666dd9+_0xea71aa(0x2cf)+_0x1029eb+_0xea71aa(0x1b8);if(_0xb12948[_0xea71aa(0x470)]===_0x481636)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x53532b){var _0x18d2db=_0x35cf74,_0x58dfbb;return(_0x58dfbb=_0x53532b[_0x18d2db(0x41a)])==null?void 0x0:_0x58dfbb[_0x18d2db(0x3a6)];},'mergeParamsToRequest'(_0x291367,_0x51b501){var _0x3498b2=_0x35cf74;const _0x581703=_0x39fe71[_0x3498b2(0x37c)]()+_0x3498b2(0x2da),_0x25939e=_0x291367[_0x3498b2(0x26a)]((_0xfbd88c,_0x388ff3)=>{var _0x171610=_0x3498b2;const {unitID:_0x546993,objectID:_0x4dc6ef,objectType:_0x12fc43,actions:_0x30ab2b}=_0x388ff3;return _0xfbd88c[_0x546993]||(_0xfbd88c[_0x546993]={}),_0xfbd88c[_0x546993][_0x4dc6ef]||(_0xfbd88c[_0x546993][_0x4dc6ef]={'objectID':_0x4dc6ef,'objectType':_0x12fc43,'actions':[]}),_0xfbd88c[_0x546993][_0x4dc6ef]['actions'][_0x171610(0x1ac)](..._0x30ab2b),_0xfbd88c;},{}),_0x49ff7b=[];for(const _0x347584 in _0x25939e)for(const _0x5c9a2b in _0x25939e[_0x347584]){const {actions:_0x80ad50,objectType:_0x453587}=_0x25939e[_0x347584][_0x5c9a2b],_0x4fd55d=[...new Set(_0x80ad50)];_0x49ff7b[_0x3498b2(0x1ac)]({'unitID':_0x347584,'objectID':_0x5c9a2b,'objectType':_0x453587,'actions':_0x4fd55d});}return new _0x244645(_0x3498b2(0x351),_0x581703,{'headers':_0x51b501[_0x3498b2(0x1aa)],'withCredentials':_0x51b501['withCredentials'],'responseType':_0x51b501[_0x3498b2(0x1f6)],'body':{'requests':_0x49ff7b}});}},{'distributeResult'(_0xdec381,_0x4b0e3e){var _0xf28d3=_0x35cf74;const {objectActions:_0x5f3807}=_0xdec381;return _0x4b0e3e[_0xf28d3(0x33e)](_0x110a9a=>{var _0x5aee2c=_0xf28d3;const {unitID:_0x465400,objectID:_0x393338,actions:_0x4aa179}=_0x110a9a,_0x567c40=_0x5f3807[_0x5aee2c(0x381)](_0x3fcb19=>_0x3fcb19['unitID']===_0x465400&&_0x3fcb19[_0x5aee2c(0x3bf)]===_0x393338),_0x5f242c=_0x4aa179['map'](_0x4b9f84=>_0x567c40==null?void 0x0:_0x567c40[_0x5aee2c(0x24d)]['find'](_0x440af1=>_0x440af1[_0x5aee2c(0x198)]===_0x4b9f84))[_0x5aee2c(0x354)](_0x4715c4=>!!_0x4715c4);return{'config':_0x110a9a,'result':{'actions':_0x5f242c,'error':_0xdec381['error']}};});}})}));}[_0x1b0175(0x37c)](){var _0x4f4163=_0x1b0175,_0x1625d0;const _0x309fb4=this[_0x4f4163(0x3d9)][_0x4f4163(0x2d4)](K);return(_0x1625d0=_0x309fb4==null?void 0x0:_0x309fb4[_0x4f4163(0x46c)])!=null?_0x1625d0:an;}async[_0x1b0175(0x360)](_0x27aec1){var _0x3b82ce=_0x1b0175;const _0x2e5c19=this[_0x3b82ce(0x37c)]()+'/'+_0x27aec1[_0x3b82ce(0x432)]+_0x3b82ce(0x420);return(await this[_0x3b82ce(0x437)][_0x3b82ce(0x2a1)](_0x2e5c19,{'body':_0x27aec1}))[_0x3b82ce(0x3a6)][_0x3b82ce(0x3bf)]||'';}async[_0x1b0175(0x3d3)](_0x4638fb){var _0x6254d=_0x1b0175;const _0x2a6397=this[_0x6254d(0x37c)]()+_0x6254d(0x2ae);return(await this[_0x6254d(0x437)][_0x6254d(0x2a1)](_0x2a6397,{'body':_0x4638fb}))['body'][_0x6254d(0x45d)];}async['update'](_0x417faa){var _0x4ebc6f=_0x1b0175,_0x153a5e,_0x5d7464;const _0x5f57af=this['_getAPIPrefixPath']()+'/'+_0x417faa[_0x4ebc6f(0x432)]+_0x4ebc6f(0x2cf)+_0x417faa['objectID'],_0x4d67ec=await this['_HTTPService'][_0x4ebc6f(0x3dd)](_0x5f57af,{'body':_0x417faa});if(((_0x5d7464=(_0x153a5e=_0x4d67ec==null?void 0x0:_0x4d67ec[_0x4ebc6f(0x3a6)])==null?void 0x0:_0x153a5e[_0x4ebc6f(0x31f)])==null?void 0x0:_0x5d7464[_0x4ebc6f(0x1fe)])!==0x1)throw new Error(_0x4ebc6f(0x34e));}async[_0x1b0175(0x303)](_0x561584){var _0x373b92=_0x1b0175;const _0x1932de=this['_getAPIPrefixPath']()+'/'+_0x561584['objectType']+'/object/'+_0x561584[_0x373b92(0x3bf)]+_0x373b92(0x1b8);return(await this[_0x373b92(0x437)][_0x373b92(0x2a1)](_0x1932de,{'body':_0x561584}))[_0x373b92(0x3a6)]['actions'];}async[_0x1b0175(0x254)](_0x4689dd){var _0xbd3ae2=_0x1b0175;const _0xed1f6d=this[_0xbd3ae2(0x37c)]()+_0xbd3ae2(0x2da);return(await this['_HTTPService'][_0xbd3ae2(0x2a1)](_0xed1f6d,{'body':{'requests':_0x4689dd}}))[_0xbd3ae2(0x3a6)][_0xbd3ae2(0x172)];}async[_0x1b0175(0x2a7)](_0x2c0bb9){var _0x2845b1=_0x1b0175;const _0x888803=this[_0x2845b1(0x37c)]()+'/'+_0x2c0bb9[_0x2845b1(0x432)]+_0x2845b1(0x369),_0x1563a8=await this['_HTTPService']['post'](_0x888803,{'body':_0x2c0bb9});return{'roles':_0x1563a8[_0x2845b1(0x3a6)][_0x2845b1(0x1c4)],'actions':_0x1563a8[_0x2845b1(0x3a6)][_0x2845b1(0x24d)]};}async['deleteCollaborator'](_0x364436){var _0x26c32a=_0x1b0175;const _0x55f433=this[_0x26c32a(0x37c)]()+'/collaborator';await this[_0x26c32a(0x437)][_0x26c32a(0x1d1)](_0x55f433,{'params':{'collaboratorID':_0x364436[_0x26c32a(0x256)],'objectID':_0x364436[_0x26c32a(0x3bf)],'unitID':_0x364436[_0x26c32a(0x2a9)]}});}async['updateCollaborator'](_0x2ced28){var _0x37ebda=_0x1b0175;const _0x883cb2=this[_0x37ebda(0x37c)]()+'/collaborator';await this[_0x37ebda(0x437)][_0x37ebda(0x294)](_0x883cb2,{'body':_0x2ced28});}async[_0x1b0175(0x3df)](_0x1e211e){var _0x1b63b5=_0x1b0175;const _0x1de43b=this['_getAPIPrefixPath']()+_0x1b63b5(0x17a);await this['_HTTPService'][_0x1b63b5(0x2a1)](_0x1de43b,{'body':_0x1e211e});}async[_0x1b0175(0x471)](_0x569b4c){var _0x3ed7c0=_0x1b0175;const _0x599839=this[_0x3ed7c0(0x37c)]()+'/collaborator';return(await this[_0x3ed7c0(0x437)][_0x3ed7c0(0x41d)](_0x599839,{'params':{'objectID':_0x569b4c[_0x3ed7c0(0x3bf)],'unitID':_0x569b4c[_0x3ed7c0(0x2a9)]}}))[_0x3ed7c0(0x3a6)][_0x3ed7c0(0x46f)];}async[_0x1b0175(0x252)](_0x23c2be){var _0x11842e=_0x1b0175;const _0x5d2799=this[_0x11842e(0x37c)]()+_0x11842e(0x17a);await this[_0x11842e(0x437)]['put'](_0x5d2799,{'body':_0x23c2be});}};Tt=rn([Kt(0x0,_0x2350f5(_0x3d8309)),Kt(0x1,_0x2350f5(_0x39ec1e))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x558301){var _0x24e9ba=_0x1b0175;return _0x558301&&_0x558301['__esModule']&&Object[_0x24e9ba(0x462)][_0x24e9ba(0x435)][_0x24e9ba(0x21d)](_0x558301,_0x24e9ba(0x3ef))?_0x558301[_0x24e9ba(0x3ef)]:_0x558301;}var Ve={'exports':{}};function on(_0x280703){var _0x452563=_0x1b0175;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x280703+_0x452563(0x39c));}var We={'exports':{}},cn=We[_0x1b0175(0x44c)],qt;function te(){var _0x4d9ed5=_0x1b0175;return qt||(qt=0x1,function(_0x9252b8,_0x1143d7){(function(_0x401c2d,_0x30e01e){_0x9252b8['exports']=_0x30e01e();}(cn,function(){var _0x2cb28b=_0x2cb28b||function(_0x1695c3,_0x152e2b){var _0x5d55cc=_0x33ac,_0x4ba99c;if(typeof window<'u'&&window[_0x5d55cc(0x40b)]&&(_0x4ba99c=window[_0x5d55cc(0x40b)]),typeof self<'u'&&self[_0x5d55cc(0x40b)]&&(_0x4ba99c=self[_0x5d55cc(0x40b)]),typeof globalThis<'u'&&globalThis[_0x5d55cc(0x40b)]&&(_0x4ba99c=globalThis[_0x5d55cc(0x40b)]),!_0x4ba99c&&typeof window<'u'&&window[_0x5d55cc(0x361)]&&(_0x4ba99c=window[_0x5d55cc(0x361)]),!_0x4ba99c&&typeof ft<'u'&&ft[_0x5d55cc(0x40b)]&&(_0x4ba99c=ft[_0x5d55cc(0x40b)]),!_0x4ba99c&&typeof on==_0x5d55cc(0x24c))try{_0x4ba99c=require('crypto');}catch{}var _0xc774cb=function(){var _0x406dca=_0x5d55cc;if(_0x4ba99c){if(typeof _0x4ba99c[_0x406dca(0x2bb)]=='function')try{return _0x4ba99c[_0x406dca(0x2bb)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4ba99c[_0x406dca(0x331)]==_0x406dca(0x24c))try{return _0x4ba99c[_0x406dca(0x331)](0x4)[_0x406dca(0x335)]();}catch{}}throw new Error(_0x406dca(0x178));},_0x326827=Object['create']||(function(){function _0x104163(){}return function(_0x281383){var _0x4eaf1d=_0x33ac,_0x4ffd2c;return _0x104163[_0x4eaf1d(0x462)]=_0x281383,_0x4ffd2c=new _0x104163(),_0x104163['prototype']=null,_0x4ffd2c;};}()),_0x4fa344={},_0x15849e=_0x4fa344['lib']={},_0x293dfa=_0x15849e[_0x5d55cc(0x346)]=(function(){return{'extend':function(_0x57d7fb){var _0x5ca41e=_0x33ac,_0xfd7331=_0x326827(this);return _0x57d7fb&&_0xfd7331[_0x5ca41e(0x390)](_0x57d7fb),(!_0xfd7331[_0x5ca41e(0x435)]('init')||this[_0x5ca41e(0x3e8)]===_0xfd7331[_0x5ca41e(0x3e8)])&&(_0xfd7331[_0x5ca41e(0x3e8)]=function(){var _0x4dadf4=_0x5ca41e;_0xfd7331[_0x4dadf4(0x3af)][_0x4dadf4(0x3e8)][_0x4dadf4(0x230)](this,arguments);}),_0xfd7331[_0x5ca41e(0x3e8)][_0x5ca41e(0x462)]=_0xfd7331,_0xfd7331['$super']=this,_0xfd7331;},'create':function(){var _0x23b96d=_0x33ac,_0x105d4f=this['extend']();return _0x105d4f['init'][_0x23b96d(0x230)](_0x105d4f,arguments),_0x105d4f;},'init':function(){},'mixIn':function(_0x52334c){var _0x43aee8=_0x33ac;for(var _0x2ea745 in _0x52334c)_0x52334c[_0x43aee8(0x435)](_0x2ea745)&&(this[_0x2ea745]=_0x52334c[_0x2ea745]);_0x52334c[_0x43aee8(0x435)](_0x43aee8(0x18c))&&(this[_0x43aee8(0x18c)]=_0x52334c[_0x43aee8(0x18c)]);},'clone':function(){var _0x212a73=_0x33ac;return this['init'][_0x212a73(0x462)][_0x212a73(0x32f)](this);}};}()),_0x36482d=_0x15849e[_0x5d55cc(0x425)]=_0x293dfa['extend']({'init':function(_0x3d0d9a,_0x5e1f43){var _0x576558=_0x5d55cc;_0x3d0d9a=this['words']=_0x3d0d9a||[],_0x5e1f43!=_0x152e2b?this[_0x576558(0x3cd)]=_0x5e1f43:this[_0x576558(0x3cd)]=_0x3d0d9a[_0x576558(0x32a)]*0x4;},'toString':function(_0x1497b8){return(_0x1497b8||_0x2233e7)['stringify'](this);},'concat':function(_0x3405ae){var _0x11c5f3=_0x5d55cc,_0x51498=this[_0x11c5f3(0x1c5)],_0x12dcd6=_0x3405ae['words'],_0x28a324=this[_0x11c5f3(0x3cd)],_0x153138=_0x3405ae[_0x11c5f3(0x3cd)];if(this[_0x11c5f3(0x1e7)](),_0x28a324%0x4)for(var _0x2069b8=0x0;_0x2069b8<_0x153138;_0x2069b8++){var _0x38a94c=_0x12dcd6[_0x2069b8>>>0x2]>>>0x18-_0x2069b8%0x4*0x8&0xff;_0x51498[_0x28a324+_0x2069b8>>>0x2]|=_0x38a94c<<0x18-(_0x28a324+_0x2069b8)%0x4*0x8;}else{for(var _0x18e0ce=0x0;_0x18e0ce<_0x153138;_0x18e0ce+=0x4)_0x51498[_0x28a324+_0x18e0ce>>>0x2]=_0x12dcd6[_0x18e0ce>>>0x2];}return this[_0x11c5f3(0x3cd)]+=_0x153138,this;},'clamp':function(){var _0x32b4f4=_0x5d55cc,_0x540bf6=this['words'],_0x53e5fb=this['sigBytes'];_0x540bf6[_0x53e5fb>>>0x2]&=0xffffffff<<0x20-_0x53e5fb%0x4*0x8,_0x540bf6[_0x32b4f4(0x32a)]=_0x1695c3[_0x32b4f4(0x24a)](_0x53e5fb/0x4);},'clone':function(){var _0x2ab343=_0x5d55cc,_0xc046b=_0x293dfa[_0x2ab343(0x171)][_0x2ab343(0x21d)](this);return _0xc046b[_0x2ab343(0x1c5)]=this[_0x2ab343(0x1c5)][_0x2ab343(0x271)](0x0),_0xc046b;},'random':function(_0x24855b){var _0x4e6a68=_0x5d55cc;for(var _0x52cb43=[],_0x5d6a7a=0x0;_0x5d6a7a<_0x24855b;_0x5d6a7a+=0x4)_0x52cb43['push'](_0xc774cb());return new _0x36482d[(_0x4e6a68(0x3e8))](_0x52cb43,_0x24855b);}}),_0x5c6f2e=_0x4fa344[_0x5d55cc(0x3d5)]={},_0x2233e7=_0x5c6f2e[_0x5d55cc(0x1eb)]={'stringify':function(_0x1a25d0){var _0x41058b=_0x5d55cc;for(var _0x9af6b3=_0x1a25d0[_0x41058b(0x1c5)],_0x2843f4=_0x1a25d0[_0x41058b(0x3cd)],_0x4c5406=[],_0xa899d=0x0;_0xa899d<_0x2843f4;_0xa899d++){var _0x16659d=_0x9af6b3[_0xa899d>>>0x2]>>>0x18-_0xa899d%0x4*0x8&0xff;_0x4c5406[_0x41058b(0x1ac)]((_0x16659d>>>0x4)[_0x41058b(0x18c)](0x10)),_0x4c5406[_0x41058b(0x1ac)]((_0x16659d&0xf)[_0x41058b(0x18c)](0x10));}return _0x4c5406[_0x41058b(0x16f)]('');},'parse':function(_0x1dbfe0){var _0x2edabb=_0x5d55cc;for(var _0x116e56=_0x1dbfe0[_0x2edabb(0x32a)],_0x549716=[],_0x1ca96a=0x0;_0x1ca96a<_0x116e56;_0x1ca96a+=0x2)_0x549716[_0x1ca96a>>>0x3]|=parseInt(_0x1dbfe0[_0x2edabb(0x439)](_0x1ca96a,0x2),0x10)<<0x18-_0x1ca96a%0x8*0x4;return new _0x36482d['init'](_0x549716,_0x116e56/0x2);}},_0x37f749=_0x5c6f2e[_0x5d55cc(0x2d0)]={'stringify':function(_0x167a59){var _0x1966b4=_0x5d55cc;for(var _0x25576b=_0x167a59[_0x1966b4(0x1c5)],_0x40212a=_0x167a59[_0x1966b4(0x3cd)],_0x8bc516=[],_0x4090b1=0x0;_0x4090b1<_0x40212a;_0x4090b1++){var _0xfce4b0=_0x25576b[_0x4090b1>>>0x2]>>>0x18-_0x4090b1%0x4*0x8&0xff;_0x8bc516['push'](String[_0x1966b4(0x37f)](_0xfce4b0));}return _0x8bc516[_0x1966b4(0x16f)]('');},'parse':function(_0x24cd3d){var _0x58bcf5=_0x5d55cc;for(var _0x34b60c=_0x24cd3d[_0x58bcf5(0x32a)],_0x3c575d=[],_0xa635f7=0x0;_0xa635f7<_0x34b60c;_0xa635f7++)_0x3c575d[_0xa635f7>>>0x2]|=(_0x24cd3d[_0x58bcf5(0x19d)](_0xa635f7)&0xff)<<0x18-_0xa635f7%0x4*0x8;return new _0x36482d[(_0x58bcf5(0x3e8))](_0x3c575d,_0x34b60c);}},_0x24932e=_0x5c6f2e[_0x5d55cc(0x3e6)]={'stringify':function(_0x34b427){var _0x53caa5=_0x5d55cc;try{return decodeURIComponent(escape(_0x37f749['stringify'](_0x34b427)));}catch{throw new Error(_0x53caa5(0x25f));}},'parse':function(_0x322a90){var _0x25a4d2=_0x5d55cc;return _0x37f749[_0x25a4d2(0x333)](unescape(encodeURIComponent(_0x322a90)));}},_0xbad2fc=_0x15849e['BufferedBlockAlgorithm']=_0x293dfa[_0x5d55cc(0x32f)]({'reset':function(){var _0x3a4b69=_0x5d55cc;this[_0x3a4b69(0x357)]=new _0x36482d['init'](),this[_0x3a4b69(0x302)]=0x0;},'_append':function(_0x476b8b){var _0x16ab19=_0x5d55cc;typeof _0x476b8b==_0x16ab19(0x225)&&(_0x476b8b=_0x24932e[_0x16ab19(0x333)](_0x476b8b)),this[_0x16ab19(0x357)]['concat'](_0x476b8b),this[_0x16ab19(0x302)]+=_0x476b8b[_0x16ab19(0x3cd)];},'_process':function(_0x5cf2e7){var _0x35b1a0=_0x5d55cc,_0x54be8e,_0x3dbfdf=this[_0x35b1a0(0x357)],_0x2d17a4=_0x3dbfdf[_0x35b1a0(0x1c5)],_0x3b102a=_0x3dbfdf[_0x35b1a0(0x3cd)],_0x1e4965=this['blockSize'],_0x360726=_0x1e4965*0x4,_0x495efa=_0x3b102a/_0x360726;_0x5cf2e7?_0x495efa=_0x1695c3[_0x35b1a0(0x24a)](_0x495efa):_0x495efa=_0x1695c3[_0x35b1a0(0x34b)]((_0x495efa|0x0)-this['_minBufferSize'],0x0);var _0x620fcc=_0x495efa*_0x1e4965,_0x4940ac=_0x1695c3[_0x35b1a0(0x247)](_0x620fcc*0x4,_0x3b102a);if(_0x620fcc){for(var _0x399ab6=0x0;_0x399ab6<_0x620fcc;_0x399ab6+=_0x1e4965)this[_0x35b1a0(0x1e0)](_0x2d17a4,_0x399ab6);_0x54be8e=_0x2d17a4[_0x35b1a0(0x2d7)](0x0,_0x620fcc),_0x3dbfdf[_0x35b1a0(0x3cd)]-=_0x4940ac;}return new _0x36482d[(_0x35b1a0(0x3e8))](_0x54be8e,_0x4940ac);},'clone':function(){var _0x40b8b1=_0x5d55cc,_0x467f7e=_0x293dfa['clone'][_0x40b8b1(0x21d)](this);return _0x467f7e['_data']=this[_0x40b8b1(0x357)][_0x40b8b1(0x171)](),_0x467f7e;},'_minBufferSize':0x0});_0x15849e[_0x5d55cc(0x468)]=_0xbad2fc[_0x5d55cc(0x32f)]({'cfg':_0x293dfa[_0x5d55cc(0x32f)](),'init':function(_0x2e1ce1){var _0x227b8d=_0x5d55cc;this[_0x227b8d(0x42d)]=this[_0x227b8d(0x42d)][_0x227b8d(0x32f)](_0x2e1ce1),this[_0x227b8d(0x343)]();},'reset':function(){_0xbad2fc['reset']['call'](this),this['_doReset']();},'update':function(_0x1d68e6){var _0x4eed29=_0x5d55cc;return this['_append'](_0x1d68e6),this[_0x4eed29(0x426)](),this;},'finalize':function(_0x25148b){var _0x22bb25=_0x5d55cc;_0x25148b&&this[_0x22bb25(0x2a3)](_0x25148b);var _0x404b22=this['_doFinalize']();return _0x404b22;},'blockSize':0x10,'_createHelper':function(_0x13cf53){return function(_0x24ad96,_0x237def){var _0x14d860=_0x33ac;return new _0x13cf53[(_0x14d860(0x3e8))](_0x237def)[_0x14d860(0x238)](_0x24ad96);};},'_createHmacHelper':function(_0x5d8598){return function(_0x15e442,_0x423705){var _0xf52c90=_0x33ac;return new _0x54600a[(_0xf52c90(0x2c8))]['init'](_0x5d8598,_0x423705)[_0xf52c90(0x238)](_0x15e442);};}});var _0x54600a=_0x4fa344[_0x5d55cc(0x304)]={};return _0x4fa344;}(Math);return _0x2cb28b;}));}(We)),We[_0x4d9ed5(0x44c)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){var _0x472a52=_0x1b0175;return zt||(zt=0x1,function(_0x1ee2b9,_0x4a187d){(function(_0x3e1413,_0xdd245e){var _0x3f525a=_0x33ac;_0x1ee2b9[_0x3f525a(0x44c)]=_0xdd245e(te());}(hn,function(_0x25476c){var _0x1c0f00=_0x33ac;return(function(){var _0x2f241d=_0x33ac,_0x285a48=_0x25476c,_0xa992a7=_0x285a48['lib'],_0x1613e8=_0xa992a7[_0x2f241d(0x425)],_0x36a8ab=_0x285a48[_0x2f241d(0x3d5)];_0x36a8ab[_0x2f241d(0x21c)]={'stringify':function(_0x4273e4){var _0x4d090f=_0x2f241d,_0xa45d08=_0x4273e4[_0x4d090f(0x1c5)],_0x5690a7=_0x4273e4[_0x4d090f(0x3cd)],_0x20d393=this[_0x4d090f(0x41c)];_0x4273e4[_0x4d090f(0x1e7)]();for(var _0x42aea0=[],_0x4abb32=0x0;_0x4abb32<_0x5690a7;_0x4abb32+=0x3)for(var _0x1ce177=_0xa45d08[_0x4abb32>>>0x2]>>>0x18-_0x4abb32%0x4*0x8&0xff,_0x4c60c1=_0xa45d08[_0x4abb32+0x1>>>0x2]>>>0x18-(_0x4abb32+0x1)%0x4*0x8&0xff,_0x1ae472=_0xa45d08[_0x4abb32+0x2>>>0x2]>>>0x18-(_0x4abb32+0x2)%0x4*0x8&0xff,_0x3c82d4=_0x1ce177<<0x10|_0x4c60c1<<0x8|_0x1ae472,_0x3c9b8f=0x0;_0x3c9b8f<0x4&&_0x4abb32+_0x3c9b8f*0.75<_0x5690a7;_0x3c9b8f++)_0x42aea0['push'](_0x20d393[_0x4d090f(0x2bc)](_0x3c82d4>>>0x6*(0x3-_0x3c9b8f)&0x3f));var _0x206d31=_0x20d393['charAt'](0x40);if(_0x206d31){for(;_0x42aea0[_0x4d090f(0x32a)]%0x4;)_0x42aea0[_0x4d090f(0x1ac)](_0x206d31);}return _0x42aea0[_0x4d090f(0x16f)]('');},'parse':function(_0x278b5d){var _0x2382fd=_0x2f241d,_0x3c9d93=_0x278b5d[_0x2382fd(0x32a)],_0x6330ad=this[_0x2382fd(0x41c)],_0x45cdd0=this[_0x2382fd(0x3f1)];if(!_0x45cdd0){_0x45cdd0=this['_reverseMap']=[];for(var _0x4d07a7=0x0;_0x4d07a7<_0x6330ad['length'];_0x4d07a7++)_0x45cdd0[_0x6330ad[_0x2382fd(0x19d)](_0x4d07a7)]=_0x4d07a7;}var _0x8ef80f=_0x6330ad[_0x2382fd(0x2bc)](0x40);if(_0x8ef80f){var _0x39166c=_0x278b5d['indexOf'](_0x8ef80f);_0x39166c!==-0x1&&(_0x3c9d93=_0x39166c);}return _0xa07756(_0x278b5d,_0x3c9d93,_0x45cdd0);},'_map':_0x2f241d(0x363)};function _0xa07756(_0x2c5284,_0x426322,_0x30797c){var _0x585726=_0x2f241d;for(var _0x33c541=[],_0x3d808f=0x0,_0xc590b7=0x0;_0xc590b7<_0x426322;_0xc590b7++)if(_0xc590b7%0x4){var _0x31d388=_0x30797c[_0x2c5284[_0x585726(0x19d)](_0xc590b7-0x1)]<<_0xc590b7%0x4*0x2,_0x24ebe0=_0x30797c[_0x2c5284[_0x585726(0x19d)](_0xc590b7)]>>>0x6-_0xc590b7%0x4*0x2,_0x1c37ef=_0x31d388|_0x24ebe0;_0x33c541[_0x3d808f>>>0x2]|=_0x1c37ef<<0x18-_0x3d808f%0x4*0x8,_0x3d808f++;}return _0x1613e8[_0x585726(0x360)](_0x33c541,_0x3d808f);}}()),_0x25476c[_0x1c0f00(0x3d5)]['Base64'];}));}(Ge)),Ge[_0x472a52(0x44c)];}var Ye={'exports':{}},_n=Ye[_0x1b0175(0x44c)],Jt;function ln(){var _0xd89c6a=_0x1b0175;return Jt||(Jt=0x1,function(_0x4eb163,_0x1c49a2){(function(_0x453a49,_0x2b7d09){var _0x27ffcc=_0x33ac;_0x4eb163[_0x27ffcc(0x44c)]=_0x2b7d09(te());}(_n,function(_0x380315){var _0x5993f1=_0x33ac;return function(_0x348c6f){var _0x5ae7f8=_0x33ac,_0x3f71d1=_0x380315,_0x51520e=_0x3f71d1[_0x5ae7f8(0x1d3)],_0x10e1d4=_0x51520e[_0x5ae7f8(0x425)],_0x3aa300=_0x51520e[_0x5ae7f8(0x468)],_0x1fec92=_0x3f71d1['algo'],_0xd68b8d=[];(function(){for(var _0x1440e5=0x0;_0x1440e5<0x40;_0x1440e5++)_0xd68b8d[_0x1440e5]=_0x348c6f['abs'](_0x348c6f['sin'](_0x1440e5+0x1))*0x100000000|0x0;}());var _0x3e163b=_0x1fec92[_0x5ae7f8(0x1a2)]=_0x3aa300[_0x5ae7f8(0x32f)]({'_doReset':function(){var _0x4a4bfb=_0x5ae7f8;this[_0x4a4bfb(0x194)]=new _0x10e1d4[(_0x4a4bfb(0x3e8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x29d54b,_0x29a0fb){var _0x5f2a32=_0x5ae7f8;for(var _0x4b3edf=0x0;_0x4b3edf<0x10;_0x4b3edf++){var _0x3f5a9b=_0x29a0fb+_0x4b3edf,_0x53f859=_0x29d54b[_0x3f5a9b];_0x29d54b[_0x3f5a9b]=(_0x53f859<<0x8|_0x53f859>>>0x18)&0xff00ff|(_0x53f859<<0x18|_0x53f859>>>0x8)&0xff00ff00;}var _0x29f7a6=this['_hash'][_0x5f2a32(0x1c5)],_0x4664d6=_0x29d54b[_0x29a0fb+0x0],_0x20c2b7=_0x29d54b[_0x29a0fb+0x1],_0x1104ab=_0x29d54b[_0x29a0fb+0x2],_0x5bf306=_0x29d54b[_0x29a0fb+0x3],_0x15572f=_0x29d54b[_0x29a0fb+0x4],_0x10a111=_0x29d54b[_0x29a0fb+0x5],_0x5a7901=_0x29d54b[_0x29a0fb+0x6],_0x11bfe6=_0x29d54b[_0x29a0fb+0x7],_0x18af47=_0x29d54b[_0x29a0fb+0x8],_0x24b8af=_0x29d54b[_0x29a0fb+0x9],_0x4435b9=_0x29d54b[_0x29a0fb+0xa],_0xf6408=_0x29d54b[_0x29a0fb+0xb],_0x605a43=_0x29d54b[_0x29a0fb+0xc],_0x177de0=_0x29d54b[_0x29a0fb+0xd],_0x1fb936=_0x29d54b[_0x29a0fb+0xe],_0x34a87e=_0x29d54b[_0x29a0fb+0xf],_0x464728=_0x29f7a6[0x0],_0x4f6466=_0x29f7a6[0x1],_0x1689ea=_0x29f7a6[0x2],_0x4322dd=_0x29f7a6[0x3];_0x464728=_0x555e8b(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x4664d6,0x7,_0xd68b8d[0x0]),_0x4322dd=_0x555e8b(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x20c2b7,0xc,_0xd68b8d[0x1]),_0x1689ea=_0x555e8b(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x1104ab,0x11,_0xd68b8d[0x2]),_0x4f6466=_0x555e8b(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x5bf306,0x16,_0xd68b8d[0x3]),_0x464728=_0x555e8b(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x15572f,0x7,_0xd68b8d[0x4]),_0x4322dd=_0x555e8b(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x10a111,0xc,_0xd68b8d[0x5]),_0x1689ea=_0x555e8b(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x5a7901,0x11,_0xd68b8d[0x6]),_0x4f6466=_0x555e8b(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x11bfe6,0x16,_0xd68b8d[0x7]),_0x464728=_0x555e8b(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x18af47,0x7,_0xd68b8d[0x8]),_0x4322dd=_0x555e8b(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x24b8af,0xc,_0xd68b8d[0x9]),_0x1689ea=_0x555e8b(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x4435b9,0x11,_0xd68b8d[0xa]),_0x4f6466=_0x555e8b(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0xf6408,0x16,_0xd68b8d[0xb]),_0x464728=_0x555e8b(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x605a43,0x7,_0xd68b8d[0xc]),_0x4322dd=_0x555e8b(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x177de0,0xc,_0xd68b8d[0xd]),_0x1689ea=_0x555e8b(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x1fb936,0x11,_0xd68b8d[0xe]),_0x4f6466=_0x555e8b(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x34a87e,0x16,_0xd68b8d[0xf]),_0x464728=_0x145a9a(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x20c2b7,0x5,_0xd68b8d[0x10]),_0x4322dd=_0x145a9a(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x5a7901,0x9,_0xd68b8d[0x11]),_0x1689ea=_0x145a9a(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0xf6408,0xe,_0xd68b8d[0x12]),_0x4f6466=_0x145a9a(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x4664d6,0x14,_0xd68b8d[0x13]),_0x464728=_0x145a9a(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x10a111,0x5,_0xd68b8d[0x14]),_0x4322dd=_0x145a9a(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x4435b9,0x9,_0xd68b8d[0x15]),_0x1689ea=_0x145a9a(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x34a87e,0xe,_0xd68b8d[0x16]),_0x4f6466=_0x145a9a(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x15572f,0x14,_0xd68b8d[0x17]),_0x464728=_0x145a9a(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x24b8af,0x5,_0xd68b8d[0x18]),_0x4322dd=_0x145a9a(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x1fb936,0x9,_0xd68b8d[0x19]),_0x1689ea=_0x145a9a(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x5bf306,0xe,_0xd68b8d[0x1a]),_0x4f6466=_0x145a9a(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x18af47,0x14,_0xd68b8d[0x1b]),_0x464728=_0x145a9a(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x177de0,0x5,_0xd68b8d[0x1c]),_0x4322dd=_0x145a9a(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x1104ab,0x9,_0xd68b8d[0x1d]),_0x1689ea=_0x145a9a(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x11bfe6,0xe,_0xd68b8d[0x1e]),_0x4f6466=_0x145a9a(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x605a43,0x14,_0xd68b8d[0x1f]),_0x464728=_0x108783(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x10a111,0x4,_0xd68b8d[0x20]),_0x4322dd=_0x108783(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x18af47,0xb,_0xd68b8d[0x21]),_0x1689ea=_0x108783(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0xf6408,0x10,_0xd68b8d[0x22]),_0x4f6466=_0x108783(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x1fb936,0x17,_0xd68b8d[0x23]),_0x464728=_0x108783(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x20c2b7,0x4,_0xd68b8d[0x24]),_0x4322dd=_0x108783(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x15572f,0xb,_0xd68b8d[0x25]),_0x1689ea=_0x108783(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x11bfe6,0x10,_0xd68b8d[0x26]),_0x4f6466=_0x108783(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x4435b9,0x17,_0xd68b8d[0x27]),_0x464728=_0x108783(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x177de0,0x4,_0xd68b8d[0x28]),_0x4322dd=_0x108783(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x4664d6,0xb,_0xd68b8d[0x29]),_0x1689ea=_0x108783(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x5bf306,0x10,_0xd68b8d[0x2a]),_0x4f6466=_0x108783(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x5a7901,0x17,_0xd68b8d[0x2b]),_0x464728=_0x108783(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x24b8af,0x4,_0xd68b8d[0x2c]),_0x4322dd=_0x108783(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x605a43,0xb,_0xd68b8d[0x2d]),_0x1689ea=_0x108783(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x34a87e,0x10,_0xd68b8d[0x2e]),_0x4f6466=_0x108783(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x1104ab,0x17,_0xd68b8d[0x2f]),_0x464728=_0x37f483(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x4664d6,0x6,_0xd68b8d[0x30]),_0x4322dd=_0x37f483(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x11bfe6,0xa,_0xd68b8d[0x31]),_0x1689ea=_0x37f483(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x1fb936,0xf,_0xd68b8d[0x32]),_0x4f6466=_0x37f483(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x10a111,0x15,_0xd68b8d[0x33]),_0x464728=_0x37f483(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x605a43,0x6,_0xd68b8d[0x34]),_0x4322dd=_0x37f483(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x5bf306,0xa,_0xd68b8d[0x35]),_0x1689ea=_0x37f483(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x4435b9,0xf,_0xd68b8d[0x36]),_0x4f6466=_0x37f483(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x20c2b7,0x15,_0xd68b8d[0x37]),_0x464728=_0x37f483(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x18af47,0x6,_0xd68b8d[0x38]),_0x4322dd=_0x37f483(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x34a87e,0xa,_0xd68b8d[0x39]),_0x1689ea=_0x37f483(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x5a7901,0xf,_0xd68b8d[0x3a]),_0x4f6466=_0x37f483(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x177de0,0x15,_0xd68b8d[0x3b]),_0x464728=_0x37f483(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x15572f,0x6,_0xd68b8d[0x3c]),_0x4322dd=_0x37f483(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0xf6408,0xa,_0xd68b8d[0x3d]),_0x1689ea=_0x37f483(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x1104ab,0xf,_0xd68b8d[0x3e]),_0x4f6466=_0x37f483(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x24b8af,0x15,_0xd68b8d[0x3f]),_0x29f7a6[0x0]=_0x29f7a6[0x0]+_0x464728|0x0,_0x29f7a6[0x1]=_0x29f7a6[0x1]+_0x4f6466|0x0,_0x29f7a6[0x2]=_0x29f7a6[0x2]+_0x1689ea|0x0,_0x29f7a6[0x3]=_0x29f7a6[0x3]+_0x4322dd|0x0;},'_doFinalize':function(){var _0x7bf325=_0x5ae7f8,_0x114dc1=this[_0x7bf325(0x357)],_0x1875c2=_0x114dc1[_0x7bf325(0x1c5)],_0x5330e1=this[_0x7bf325(0x302)]*0x8,_0x588a00=_0x114dc1[_0x7bf325(0x3cd)]*0x8;_0x1875c2[_0x588a00>>>0x5]|=0x80<<0x18-_0x588a00%0x20;var _0x1878c3=_0x348c6f[_0x7bf325(0x184)](_0x5330e1/0x100000000),_0x802ddb=_0x5330e1;_0x1875c2[(_0x588a00+0x40>>>0x9<<0x4)+0xf]=(_0x1878c3<<0x8|_0x1878c3>>>0x18)&0xff00ff|(_0x1878c3<<0x18|_0x1878c3>>>0x8)&0xff00ff00,_0x1875c2[(_0x588a00+0x40>>>0x9<<0x4)+0xe]=(_0x802ddb<<0x8|_0x802ddb>>>0x18)&0xff00ff|(_0x802ddb<<0x18|_0x802ddb>>>0x8)&0xff00ff00,_0x114dc1['sigBytes']=(_0x1875c2[_0x7bf325(0x32a)]+0x1)*0x4,this[_0x7bf325(0x426)]();for(var _0x45d2ad=this[_0x7bf325(0x194)],_0xd06949=_0x45d2ad[_0x7bf325(0x1c5)],_0x400a48=0x0;_0x400a48<0x4;_0x400a48++){var _0x3cfb01=_0xd06949[_0x400a48];_0xd06949[_0x400a48]=(_0x3cfb01<<0x8|_0x3cfb01>>>0x18)&0xff00ff|(_0x3cfb01<<0x18|_0x3cfb01>>>0x8)&0xff00ff00;}return _0x45d2ad;},'clone':function(){var _0x3cc98e=_0x5ae7f8,_0x776eb3=_0x3aa300['clone'][_0x3cc98e(0x21d)](this);return _0x776eb3['_hash']=this[_0x3cc98e(0x194)]['clone'](),_0x776eb3;}});function _0x555e8b(_0x473d11,_0x54ce6a,_0xf971ab,_0x4cd562,_0x22a4ac,_0x28598f,_0x12abc3){var _0x4bc451=_0x473d11+(_0x54ce6a&_0xf971ab|~_0x54ce6a&_0x4cd562)+_0x22a4ac+_0x12abc3;return(_0x4bc451<<_0x28598f|_0x4bc451>>>0x20-_0x28598f)+_0x54ce6a;}function _0x145a9a(_0x425722,_0x34dc37,_0x555e71,_0x1190dc,_0x511ac5,_0x34d094,_0x1ba612){var _0x10c8d2=_0x425722+(_0x34dc37&_0x1190dc|_0x555e71&~_0x1190dc)+_0x511ac5+_0x1ba612;return(_0x10c8d2<<_0x34d094|_0x10c8d2>>>0x20-_0x34d094)+_0x34dc37;}function _0x108783(_0x457609,_0x587f58,_0x247d6e,_0x4463ad,_0x859c93,_0x8b8d92,_0x197e79){var _0xb4737a=_0x457609+(_0x587f58^_0x247d6e^_0x4463ad)+_0x859c93+_0x197e79;return(_0xb4737a<<_0x8b8d92|_0xb4737a>>>0x20-_0x8b8d92)+_0x587f58;}function _0x37f483(_0x5d2924,_0x2493d7,_0x2b8199,_0x2a023a,_0x5bc142,_0x1230af,_0x36e3e5){var _0x26f99b=_0x5d2924+(_0x2b8199^(_0x2493d7|~_0x2a023a))+_0x5bc142+_0x36e3e5;return(_0x26f99b<<_0x1230af|_0x26f99b>>>0x20-_0x1230af)+_0x2493d7;}_0x3f71d1[_0x5ae7f8(0x1a2)]=_0x3aa300[_0x5ae7f8(0x309)](_0x3e163b),_0x3f71d1[_0x5ae7f8(0x2f7)]=_0x3aa300[_0x5ae7f8(0x186)](_0x3e163b);}(Math),_0x380315[_0x5993f1(0x1a2)];}));}(Ye)),Ye[_0xd89c6a(0x44c)];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){var _0x35e184=_0x1b0175;return Xt||(Xt=0x1,function(_0x492870,_0x28caed){(function(_0x17bb2c,_0x2144b3){_0x492870['exports']=_0x2144b3(te());}(un,function(_0x1cc959){var _0x416bb5=_0x33ac;return(function(){var _0x35a430=_0x33ac,_0x3692f6=_0x1cc959,_0x4255a9=_0x3692f6[_0x35a430(0x1d3)],_0x275bdc=_0x4255a9[_0x35a430(0x425)],_0x14c0b3=_0x4255a9[_0x35a430(0x468)],_0x1dc888=_0x3692f6[_0x35a430(0x304)],_0x479203=[],_0x598084=_0x1dc888['SHA1']=_0x14c0b3[_0x35a430(0x32f)]({'_doReset':function(){var _0x52ab71=_0x35a430;this['_hash']=new _0x275bdc[(_0x52ab71(0x3e8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x46206a,_0x51b483){var _0x19d08f=_0x35a430;for(var _0x2c15d5=this[_0x19d08f(0x194)][_0x19d08f(0x1c5)],_0x1aa94e=_0x2c15d5[0x0],_0x53a869=_0x2c15d5[0x1],_0x4c0037=_0x2c15d5[0x2],_0x7f07cf=_0x2c15d5[0x3],_0x3359f8=_0x2c15d5[0x4],_0x41182f=0x0;_0x41182f<0x50;_0x41182f++){if(_0x41182f<0x10)_0x479203[_0x41182f]=_0x46206a[_0x51b483+_0x41182f]|0x0;else{var _0x57a9a1=_0x479203[_0x41182f-0x3]^_0x479203[_0x41182f-0x8]^_0x479203[_0x41182f-0xe]^_0x479203[_0x41182f-0x10];_0x479203[_0x41182f]=_0x57a9a1<<0x1|_0x57a9a1>>>0x1f;}var _0x19c264=(_0x1aa94e<<0x5|_0x1aa94e>>>0x1b)+_0x3359f8+_0x479203[_0x41182f];_0x41182f<0x14?_0x19c264+=(_0x53a869&_0x4c0037|~_0x53a869&_0x7f07cf)+0x5a827999:_0x41182f<0x28?_0x19c264+=(_0x53a869^_0x4c0037^_0x7f07cf)+0x6ed9eba1:_0x41182f<0x3c?_0x19c264+=(_0x53a869&_0x4c0037|_0x53a869&_0x7f07cf|_0x4c0037&_0x7f07cf)-0x70e44324:_0x19c264+=(_0x53a869^_0x4c0037^_0x7f07cf)-0x359d3e2a,_0x3359f8=_0x7f07cf,_0x7f07cf=_0x4c0037,_0x4c0037=_0x53a869<<0x1e|_0x53a869>>>0x2,_0x53a869=_0x1aa94e,_0x1aa94e=_0x19c264;}_0x2c15d5[0x0]=_0x2c15d5[0x0]+_0x1aa94e|0x0,_0x2c15d5[0x1]=_0x2c15d5[0x1]+_0x53a869|0x0,_0x2c15d5[0x2]=_0x2c15d5[0x2]+_0x4c0037|0x0,_0x2c15d5[0x3]=_0x2c15d5[0x3]+_0x7f07cf|0x0,_0x2c15d5[0x4]=_0x2c15d5[0x4]+_0x3359f8|0x0;},'_doFinalize':function(){var _0x5d6a63=_0x35a430,_0x489063=this['_data'],_0x2f6e0c=_0x489063[_0x5d6a63(0x1c5)],_0x5497e8=this[_0x5d6a63(0x302)]*0x8,_0x2f2604=_0x489063[_0x5d6a63(0x3cd)]*0x8;return _0x2f6e0c[_0x2f2604>>>0x5]|=0x80<<0x18-_0x2f2604%0x20,_0x2f6e0c[(_0x2f2604+0x40>>>0x9<<0x4)+0xe]=Math[_0x5d6a63(0x184)](_0x5497e8/0x100000000),_0x2f6e0c[(_0x2f2604+0x40>>>0x9<<0x4)+0xf]=_0x5497e8,_0x489063[_0x5d6a63(0x3cd)]=_0x2f6e0c[_0x5d6a63(0x32a)]*0x4,this[_0x5d6a63(0x426)](),this[_0x5d6a63(0x194)];},'clone':function(){var _0x33addf=_0x35a430,_0x3f2ea2=_0x14c0b3[_0x33addf(0x171)]['call'](this);return _0x3f2ea2['_hash']=this[_0x33addf(0x194)][_0x33addf(0x171)](),_0x3f2ea2;}});_0x3692f6[_0x35a430(0x297)]=_0x14c0b3[_0x35a430(0x309)](_0x598084),_0x3692f6[_0x35a430(0x1e3)]=_0x14c0b3['_createHmacHelper'](_0x598084);}()),_0x1cc959[_0x416bb5(0x297)];}));}(qe)),qe[_0x35e184(0x44c)];}var ze={'exports':{}},fn=ze[_0x1b0175(0x44c)],Zt;function vn(){var _0x57458c=_0x1b0175;return Zt||(Zt=0x1,function(_0xadefb2,_0x1dc8cf){(function(_0x1ad07f,_0x46298e){var _0x524049=_0x33ac;_0xadefb2[_0x524049(0x44c)]=_0x46298e(te());}(fn,function(_0x3b48f2){(function(){var _0x3d3b3d=_0x33ac,_0x5b6314=_0x3b48f2,_0x4d4945=_0x5b6314[_0x3d3b3d(0x1d3)],_0x1e5622=_0x4d4945[_0x3d3b3d(0x346)],_0x403f88=_0x5b6314['enc'],_0x5ed4f3=_0x403f88[_0x3d3b3d(0x3e6)],_0x421c67=_0x5b6314[_0x3d3b3d(0x304)];_0x421c67[_0x3d3b3d(0x2c8)]=_0x1e5622[_0x3d3b3d(0x32f)]({'init':function(_0x4f8e65,_0x468408){var _0x58824e=_0x3d3b3d;_0x4f8e65=this[_0x58824e(0x47c)]=new _0x4f8e65['init'](),typeof _0x468408==_0x58824e(0x225)&&(_0x468408=_0x5ed4f3['parse'](_0x468408));var _0x359e2e=_0x4f8e65[_0x58824e(0x424)],_0x130543=_0x359e2e*0x4;_0x468408[_0x58824e(0x3cd)]>_0x130543&&(_0x468408=_0x4f8e65[_0x58824e(0x238)](_0x468408)),_0x468408[_0x58824e(0x1e7)]();for(var _0x843184=this[_0x58824e(0x1e2)]=_0x468408[_0x58824e(0x171)](),_0x4d37a1=this[_0x58824e(0x285)]=_0x468408['clone'](),_0x2fb86d=_0x843184[_0x58824e(0x1c5)],_0x5076a8=_0x4d37a1[_0x58824e(0x1c5)],_0x4784e6=0x0;_0x4784e6<_0x359e2e;_0x4784e6++)_0x2fb86d[_0x4784e6]^=0x5c5c5c5c,_0x5076a8[_0x4784e6]^=0x36363636;_0x843184[_0x58824e(0x3cd)]=_0x4d37a1[_0x58824e(0x3cd)]=_0x130543,this['reset']();},'reset':function(){var _0x32d778=_0x3d3b3d,_0xebceb8=this[_0x32d778(0x47c)];_0xebceb8[_0x32d778(0x343)](),_0xebceb8[_0x32d778(0x232)](this[_0x32d778(0x285)]);},'update':function(_0x18a0f0){var _0x742f64=_0x3d3b3d;return this[_0x742f64(0x47c)][_0x742f64(0x232)](_0x18a0f0),this;},'finalize':function(_0x17034e){var _0x27b767=_0x3d3b3d,_0x21f9ea=this[_0x27b767(0x47c)],_0x36cdeb=_0x21f9ea[_0x27b767(0x238)](_0x17034e);_0x21f9ea[_0x27b767(0x343)]();var _0x1e2c3=_0x21f9ea[_0x27b767(0x238)](this[_0x27b767(0x1e2)][_0x27b767(0x171)]()[_0x27b767(0x1da)](_0x36cdeb));return _0x1e2c3;}});}());}));}(ze)),ze[_0x57458c(0x44c)];}var pn=Ke[_0x1b0175(0x44c)],Qt;function Oi(){var _0x594b5e=_0x1b0175;return Qt||(Qt=0x1,function(_0xcce868,_0x2d67aa){(function(_0x22aec2,_0x304664,_0x403280){_0xcce868['exports']=_0x304664(te(),dn(),vn());}(pn,function(_0xc0690e){var _0x3d1be0=_0x33ac;return(function(){var _0x209d03=_0x33ac,_0x1c65bb=_0xc0690e,_0x3be429=_0x1c65bb['lib'],_0x67d8b8=_0x3be429['Base'],_0x50515d=_0x3be429[_0x209d03(0x425)],_0x22497b=_0x1c65bb['algo'],_0x3c9cde=_0x22497b[_0x209d03(0x1a2)],_0x15a987=_0x22497b[_0x209d03(0x235)]=_0x67d8b8[_0x209d03(0x32f)]({'cfg':_0x67d8b8['extend']({'keySize':0x80/0x20,'hasher':_0x3c9cde,'iterations':0x1}),'init':function(_0x4b1991){var _0x3450d3=_0x209d03;this[_0x3450d3(0x42d)]=this[_0x3450d3(0x42d)][_0x3450d3(0x32f)](_0x4b1991);},'compute':function(_0x27d049,_0x1b5e85){var _0x39491e=_0x209d03;for(var _0x193a7f,_0x20d4a8=this[_0x39491e(0x42d)],_0x23c907=_0x20d4a8[_0x39491e(0x40e)]['create'](),_0x3f9786=_0x50515d[_0x39491e(0x360)](),_0x2e7fbe=_0x3f9786[_0x39491e(0x1c5)],_0x5a7386=_0x20d4a8[_0x39491e(0x454)],_0x2bf9d5=_0x20d4a8['iterations'];_0x2e7fbe[_0x39491e(0x32a)]<_0x5a7386;){_0x193a7f&&_0x23c907[_0x39491e(0x232)](_0x193a7f),_0x193a7f=_0x23c907[_0x39491e(0x232)](_0x27d049)['finalize'](_0x1b5e85),_0x23c907[_0x39491e(0x343)]();for(var _0x5eee20=0x1;_0x5eee20<_0x2bf9d5;_0x5eee20++)_0x193a7f=_0x23c907[_0x39491e(0x238)](_0x193a7f),_0x23c907[_0x39491e(0x343)]();_0x3f9786['concat'](_0x193a7f);}return _0x3f9786['sigBytes']=_0x5a7386*0x4,_0x3f9786;}});_0x1c65bb[_0x209d03(0x235)]=function(_0x522288,_0x2b74ab,_0x27840b){var _0x547c4b=_0x209d03;return _0x15a987['create'](_0x27840b)[_0x547c4b(0x1af)](_0x522288,_0x2b74ab);};}()),_0xc0690e[_0x3d1be0(0x235)];}));}(Ke)),Ke[_0x594b5e(0x44c)];}var Je={'exports':{}},mn=Je[_0x1b0175(0x44c)],ei;function bi(){var _0xc8184c=_0x1b0175;return ei||(ei=0x1,function(_0x1991f1,_0x49516b){(function(_0x5a70fa,_0x54a342,_0x2aa03d){var _0x4cd854=_0x33ac;_0x1991f1[_0x4cd854(0x44c)]=_0x54a342(te(),Oi());}(mn,function(_0x3dd015){var _0x44a2ef=_0x33ac;_0x3dd015['lib'][_0x44a2ef(0x1ef)]||function(_0x5c73af){var _0x8bb5d5=_0x44a2ef,_0x3c2b36=_0x3dd015,_0x18a4e8=_0x3c2b36[_0x8bb5d5(0x1d3)],_0x24d81a=_0x18a4e8[_0x8bb5d5(0x346)],_0x5d364d=_0x18a4e8[_0x8bb5d5(0x425)],_0x538209=_0x18a4e8[_0x8bb5d5(0x3c8)],_0x33c924=_0x3c2b36[_0x8bb5d5(0x3d5)];_0x33c924[_0x8bb5d5(0x3e6)];var _0x4669e1=_0x33c924[_0x8bb5d5(0x21c)],_0x36d4d7=_0x3c2b36[_0x8bb5d5(0x304)],_0x4c6e05=_0x36d4d7['EvpKDF'],_0x42d618=_0x18a4e8['Cipher']=_0x538209[_0x8bb5d5(0x32f)]({'cfg':_0x24d81a['extend'](),'createEncryptor':function(_0x127034,_0x3161c9){var _0x1c88b1=_0x8bb5d5;return this[_0x1c88b1(0x360)](this[_0x1c88b1(0x29c)],_0x127034,_0x3161c9);},'createDecryptor':function(_0xa9817d,_0x419a44){var _0x5be0f5=_0x8bb5d5;return this[_0x5be0f5(0x360)](this[_0x5be0f5(0x33d)],_0xa9817d,_0x419a44);},'init':function(_0x2e74a2,_0x41b12d,_0x249252){var _0x5adec6=_0x8bb5d5;this[_0x5adec6(0x42d)]=this['cfg']['extend'](_0x249252),this[_0x5adec6(0x414)]=_0x2e74a2,this['_key']=_0x41b12d,this[_0x5adec6(0x343)]();},'reset':function(){var _0x50faa2=_0x8bb5d5;_0x538209[_0x50faa2(0x343)]['call'](this),this[_0x50faa2(0x2f5)]();},'process':function(_0x4caa0a){var _0x3674fc=_0x8bb5d5;return this[_0x3674fc(0x2a3)](_0x4caa0a),this[_0x3674fc(0x426)]();},'finalize':function(_0x2faaa6){_0x2faaa6&&this['_append'](_0x2faaa6);var _0x2eed1f=this['_doFinalize']();return _0x2eed1f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x54f52d(_0x5ece29){var _0x40491c=_0x33ac;return typeof _0x5ece29==_0x40491c(0x225)?_0x1efcd9:_0x2e07ac;}return function(_0x2aef4b){return{'encrypt':function(_0x3c406b,_0x45ecb9,_0x521312){var _0x683957=_0x33ac;return _0x54f52d(_0x45ecb9)[_0x683957(0x1e8)](_0x2aef4b,_0x3c406b,_0x45ecb9,_0x521312);},'decrypt':function(_0x3f9708,_0x57c5d1,_0x289fe0){var _0x42a633=_0x33ac;return _0x54f52d(_0x57c5d1)[_0x42a633(0x2ad)](_0x2aef4b,_0x3f9708,_0x57c5d1,_0x289fe0);}};};}())});_0x18a4e8[_0x8bb5d5(0x36f)]=_0x42d618['extend']({'_doFinalize':function(){var _0x2b0e9d=_0x8bb5d5,_0x14cb55=this[_0x2b0e9d(0x426)](!0x0);return _0x14cb55;},'blockSize':0x1});var _0x3474d2=_0x3c2b36[_0x8bb5d5(0x366)]={},_0x338b42=_0x18a4e8[_0x8bb5d5(0x36d)]=_0x24d81a[_0x8bb5d5(0x32f)]({'createEncryptor':function(_0x4bbff4,_0x4c2f2f){return this['Encryptor']['create'](_0x4bbff4,_0x4c2f2f);},'createDecryptor':function(_0x3b2296,_0x5078e8){var _0x3d9ff7=_0x8bb5d5;return this[_0x3d9ff7(0x1b7)][_0x3d9ff7(0x360)](_0x3b2296,_0x5078e8);},'init':function(_0x418a84,_0x4654ea){var _0xe7e70f=_0x8bb5d5;this[_0xe7e70f(0x427)]=_0x418a84,this[_0xe7e70f(0x336)]=_0x4654ea;}}),_0x23992c=_0x3474d2[_0x8bb5d5(0x43a)]=(function(){var _0x34dfff=_0x8bb5d5,_0x3f1d32=_0x338b42[_0x34dfff(0x32f)]();_0x3f1d32[_0x34dfff(0x191)]=_0x3f1d32[_0x34dfff(0x32f)]({'processBlock':function(_0x5920d2,_0x457fdf){var _0x30eb7b=_0x34dfff,_0x25fb9a=this['_cipher'],_0x494c02=_0x25fb9a[_0x30eb7b(0x424)];_0x687c46[_0x30eb7b(0x21d)](this,_0x5920d2,_0x457fdf,_0x494c02),_0x25fb9a['encryptBlock'](_0x5920d2,_0x457fdf),this[_0x30eb7b(0x393)]=_0x5920d2['slice'](_0x457fdf,_0x457fdf+_0x494c02);}}),_0x3f1d32[_0x34dfff(0x1b7)]=_0x3f1d32[_0x34dfff(0x32f)]({'processBlock':function(_0x44b50d,_0x410a81){var _0x149e28=_0x34dfff,_0x3f2357=this[_0x149e28(0x427)],_0x31263c=_0x3f2357[_0x149e28(0x424)],_0x428c8e=_0x44b50d[_0x149e28(0x271)](_0x410a81,_0x410a81+_0x31263c);_0x3f2357['decryptBlock'](_0x44b50d,_0x410a81),_0x687c46[_0x149e28(0x21d)](this,_0x44b50d,_0x410a81,_0x31263c),this[_0x149e28(0x393)]=_0x428c8e;}});function _0x687c46(_0x42ba98,_0x4191b4,_0x959dce){var _0x39108b=_0x34dfff,_0xe498bd,_0xcde4b0=this['_iv'];_0xcde4b0?(_0xe498bd=_0xcde4b0,this[_0x39108b(0x336)]=_0x5c73af):_0xe498bd=this[_0x39108b(0x393)];for(var _0xc42ed0=0x0;_0xc42ed0<_0x959dce;_0xc42ed0++)_0x42ba98[_0x4191b4+_0xc42ed0]^=_0xe498bd[_0xc42ed0];}return _0x3f1d32;}()),_0x3e9e09=_0x3c2b36[_0x8bb5d5(0x227)]={},_0x48d065=_0x3e9e09[_0x8bb5d5(0x3da)]={'pad':function(_0x45c21a,_0x5209ff){var _0x2ee897=_0x8bb5d5;for(var _0x4c67f2=_0x5209ff*0x4,_0x17f838=_0x4c67f2-_0x45c21a[_0x2ee897(0x3cd)]%_0x4c67f2,_0x1b7478=_0x17f838<<0x18|_0x17f838<<0x10|_0x17f838<<0x8|_0x17f838,_0x2a8f8c=[],_0x368242=0x0;_0x368242<_0x17f838;_0x368242+=0x4)_0x2a8f8c[_0x2ee897(0x1ac)](_0x1b7478);var _0xda068f=_0x5d364d[_0x2ee897(0x360)](_0x2a8f8c,_0x17f838);_0x45c21a[_0x2ee897(0x1da)](_0xda068f);},'unpad':function(_0x450767){var _0x3c3346=_0x8bb5d5,_0x3f90e6=_0x450767[_0x3c3346(0x1c5)][_0x450767['sigBytes']-0x1>>>0x2]&0xff;_0x450767[_0x3c3346(0x3cd)]-=_0x3f90e6;}};_0x18a4e8[_0x8bb5d5(0x22d)]=_0x42d618['extend']({'cfg':_0x42d618[_0x8bb5d5(0x42d)][_0x8bb5d5(0x32f)]({'mode':_0x23992c,'padding':_0x48d065}),'reset':function(){var _0x593be0=_0x8bb5d5,_0x41e91c;_0x42d618[_0x593be0(0x343)][_0x593be0(0x21d)](this);var _0x2930d6=this[_0x593be0(0x42d)],_0x3f38c1=_0x2930d6['iv'],_0x125469=_0x2930d6['mode'];this[_0x593be0(0x414)]==this[_0x593be0(0x29c)]?_0x41e91c=_0x125469['createEncryptor']:(_0x41e91c=_0x125469[_0x593be0(0x1a8)],this[_0x593be0(0x287)]=0x1),this[_0x593be0(0x45e)]&&this['_mode'][_0x593be0(0x332)]==_0x41e91c?this[_0x593be0(0x45e)]['init'](this,_0x3f38c1&&_0x3f38c1[_0x593be0(0x1c5)]):(this[_0x593be0(0x45e)]=_0x41e91c['call'](_0x125469,this,_0x3f38c1&&_0x3f38c1['words']),this[_0x593be0(0x45e)][_0x593be0(0x332)]=_0x41e91c);},'_doProcessBlock':function(_0x3e4262,_0x5d43fe){var _0xbd8d57=_0x8bb5d5;this[_0xbd8d57(0x45e)][_0xbd8d57(0x422)](_0x3e4262,_0x5d43fe);},'_doFinalize':function(){var _0x3a4d25=_0x8bb5d5,_0x4ba87a,_0xf8f674=this[_0x3a4d25(0x42d)][_0x3a4d25(0x383)];return this[_0x3a4d25(0x414)]==this[_0x3a4d25(0x29c)]?(_0xf8f674[_0x3a4d25(0x227)](this[_0x3a4d25(0x357)],this['blockSize']),_0x4ba87a=this[_0x3a4d25(0x426)](!0x0)):(_0x4ba87a=this['_process'](!0x0),_0xf8f674[_0x3a4d25(0x325)](_0x4ba87a)),_0x4ba87a;},'blockSize':0x80/0x20});var _0x5e2b38=_0x18a4e8[_0x8bb5d5(0x255)]=_0x24d81a['extend']({'init':function(_0x14acc0){this['mixIn'](_0x14acc0);},'toString':function(_0x9f2307){var _0x32abf6=_0x8bb5d5;return(_0x9f2307||this[_0x32abf6(0x46e)])[_0x32abf6(0x445)](this);}}),_0x3ba3eb=_0x3c2b36[_0x8bb5d5(0x1df)]={},_0x451f6d=_0x3ba3eb[_0x8bb5d5(0x20a)]={'stringify':function(_0xbc5cb7){var _0x117448=_0x8bb5d5,_0x46768f,_0x5e70b1=_0xbc5cb7[_0x117448(0x43f)],_0x5ab1a3=_0xbc5cb7[_0x117448(0x2a0)];return _0x5ab1a3?_0x46768f=_0x5d364d[_0x117448(0x360)]([0x53616c74,0x65645f5f])[_0x117448(0x1da)](_0x5ab1a3)['concat'](_0x5e70b1):_0x46768f=_0x5e70b1,_0x46768f[_0x117448(0x18c)](_0x4669e1);},'parse':function(_0x93a335){var _0x468218=_0x8bb5d5,_0x53116c,_0xb9c3f6=_0x4669e1[_0x468218(0x333)](_0x93a335),_0xaa100b=_0xb9c3f6[_0x468218(0x1c5)];return _0xaa100b[0x0]==0x53616c74&&_0xaa100b[0x1]==0x65645f5f&&(_0x53116c=_0x5d364d['create'](_0xaa100b[_0x468218(0x271)](0x2,0x4)),_0xaa100b[_0x468218(0x2d7)](0x0,0x4),_0xb9c3f6[_0x468218(0x3cd)]-=0x10),_0x5e2b38['create']({'ciphertext':_0xb9c3f6,'salt':_0x53116c});}},_0x2e07ac=_0x18a4e8[_0x8bb5d5(0x1be)]=_0x24d81a[_0x8bb5d5(0x32f)]({'cfg':_0x24d81a[_0x8bb5d5(0x32f)]({'format':_0x451f6d}),'encrypt':function(_0x34daca,_0x385112,_0x38606f,_0x42c981){var _0x3df4ff=_0x8bb5d5;_0x42c981=this[_0x3df4ff(0x42d)]['extend'](_0x42c981);var _0x5ab0d7=_0x34daca[_0x3df4ff(0x290)](_0x38606f,_0x42c981),_0x555f13=_0x5ab0d7[_0x3df4ff(0x238)](_0x385112),_0x5c5177=_0x5ab0d7['cfg'];return _0x5e2b38[_0x3df4ff(0x360)]({'ciphertext':_0x555f13,'key':_0x38606f,'iv':_0x5c5177['iv'],'algorithm':_0x34daca,'mode':_0x5c5177[_0x3df4ff(0x366)],'padding':_0x5c5177[_0x3df4ff(0x383)],'blockSize':_0x34daca[_0x3df4ff(0x424)],'formatter':_0x42c981[_0x3df4ff(0x1df)]});},'decrypt':function(_0x52310d,_0x58ef11,_0x4e8545,_0xe95a9){var _0x345b9f=_0x8bb5d5;_0xe95a9=this[_0x345b9f(0x42d)]['extend'](_0xe95a9),_0x58ef11=this['_parse'](_0x58ef11,_0xe95a9[_0x345b9f(0x1df)]);var _0x5dc2c1=_0x52310d[_0x345b9f(0x1a8)](_0x4e8545,_0xe95a9)[_0x345b9f(0x238)](_0x58ef11[_0x345b9f(0x43f)]);return _0x5dc2c1;},'_parse':function(_0x570fcd,_0x1b12e7){var _0xe20a51=_0x8bb5d5;return typeof _0x570fcd=='string'?_0x1b12e7[_0xe20a51(0x333)](_0x570fcd,this):_0x570fcd;}}),_0x287f1f=_0x3c2b36[_0x8bb5d5(0x42c)]={},_0x19d242=_0x287f1f[_0x8bb5d5(0x20a)]={'execute':function(_0x4797c6,_0x14b03e,_0x19c173,_0x1d61c5,_0x423f09){var _0x2bfc02=_0x8bb5d5;if(_0x1d61c5||(_0x1d61c5=_0x5d364d[_0x2bfc02(0x2ac)](0x40/0x8)),_0x423f09)var _0x41d80d=_0x4c6e05[_0x2bfc02(0x360)]({'keySize':_0x14b03e+_0x19c173,'hasher':_0x423f09})[_0x2bfc02(0x1af)](_0x4797c6,_0x1d61c5);else var _0x41d80d=_0x4c6e05[_0x2bfc02(0x360)]({'keySize':_0x14b03e+_0x19c173})[_0x2bfc02(0x1af)](_0x4797c6,_0x1d61c5);var _0x5e238f=_0x5d364d['create'](_0x41d80d['words'][_0x2bfc02(0x271)](_0x14b03e),_0x19c173*0x4);return _0x41d80d[_0x2bfc02(0x3cd)]=_0x14b03e*0x4,_0x5e2b38[_0x2bfc02(0x360)]({'key':_0x41d80d,'iv':_0x5e238f,'salt':_0x1d61c5});}},_0x1efcd9=_0x18a4e8[_0x8bb5d5(0x276)]=_0x2e07ac['extend']({'cfg':_0x2e07ac['cfg'][_0x8bb5d5(0x32f)]({'kdf':_0x19d242}),'encrypt':function(_0x1425f2,_0x2244e8,_0x1bbf90,_0x1402ac){var _0x2ea4fb=_0x8bb5d5;_0x1402ac=this[_0x2ea4fb(0x42d)]['extend'](_0x1402ac);var _0x5db97f=_0x1402ac['kdf']['execute'](_0x1bbf90,_0x1425f2[_0x2ea4fb(0x454)],_0x1425f2['ivSize'],_0x1402ac['salt'],_0x1402ac[_0x2ea4fb(0x40e)]);_0x1402ac['iv']=_0x5db97f['iv'];var _0x1d0b6e=_0x2e07ac[_0x2ea4fb(0x1e8)][_0x2ea4fb(0x21d)](this,_0x1425f2,_0x2244e8,_0x5db97f['key'],_0x1402ac);return _0x1d0b6e['mixIn'](_0x5db97f),_0x1d0b6e;},'decrypt':function(_0x2f7f72,_0x59e4c5,_0x49cb36,_0x53fa38){var _0x52fa60=_0x8bb5d5;_0x53fa38=this[_0x52fa60(0x42d)][_0x52fa60(0x32f)](_0x53fa38),_0x59e4c5=this[_0x52fa60(0x2f1)](_0x59e4c5,_0x53fa38[_0x52fa60(0x1df)]);var _0x433368=_0x53fa38[_0x52fa60(0x42c)]['execute'](_0x49cb36,_0x2f7f72[_0x52fa60(0x454)],_0x2f7f72[_0x52fa60(0x3f8)],_0x59e4c5['salt'],_0x53fa38[_0x52fa60(0x40e)]);_0x53fa38['iv']=_0x433368['iv'];var _0x1f6e68=_0x2e07ac[_0x52fa60(0x2ad)][_0x52fa60(0x21d)](this,_0x2f7f72,_0x59e4c5,_0x433368[_0x52fa60(0x24e)],_0x53fa38);return _0x1f6e68;}});}();}));}(Je)),Je[_0xc8184c(0x44c)];}var gn=Ve['exports'],ti;function Sn(){var _0x44a3ed=_0x1b0175;return ti||(ti=0x1,function(_0x4eb018,_0x20aad5){(function(_0xb9c2ea,_0x105d2d,_0x8742ef){var _0x20a5a0=_0x33ac;_0x4eb018[_0x20a5a0(0x44c)]=_0x105d2d(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x75426a){return(function(){var _0x4b0046=_0x33ac,_0x3d6647=_0x75426a,_0x224a2a=_0x3d6647[_0x4b0046(0x1d3)],_0xa5e88=_0x224a2a['BlockCipher'],_0xd423a9=_0x3d6647[_0x4b0046(0x304)],_0x4b0767=[],_0x375df0=[],_0x90ce03=[],_0x580889=[],_0x5405a0=[],_0x49cb31=[],_0x4fe1ef=[],_0x224ef8=[],_0xf51b0f=[],_0x26b67e=[];(function(){for(var _0x47b63e=[],_0x11424f=0x0;_0x11424f<0x100;_0x11424f++)_0x11424f<0x80?_0x47b63e[_0x11424f]=_0x11424f<<0x1:_0x47b63e[_0x11424f]=_0x11424f<<0x1^0x11b;for(var _0x40f385=0x0,_0x2bc7a1=0x0,_0x11424f=0x0;_0x11424f<0x100;_0x11424f++){var _0xeb742b=_0x2bc7a1^_0x2bc7a1<<0x1^_0x2bc7a1<<0x2^_0x2bc7a1<<0x3^_0x2bc7a1<<0x4;_0xeb742b=_0xeb742b>>>0x8^_0xeb742b&0xff^0x63,_0x4b0767[_0x40f385]=_0xeb742b,_0x375df0[_0xeb742b]=_0x40f385;var _0xaacc4f=_0x47b63e[_0x40f385],_0xcc55d9=_0x47b63e[_0xaacc4f],_0x514ae4=_0x47b63e[_0xcc55d9],_0x18ee93=_0x47b63e[_0xeb742b]*0x101^_0xeb742b*0x1010100;_0x90ce03[_0x40f385]=_0x18ee93<<0x18|_0x18ee93>>>0x8,_0x580889[_0x40f385]=_0x18ee93<<0x10|_0x18ee93>>>0x10,_0x5405a0[_0x40f385]=_0x18ee93<<0x8|_0x18ee93>>>0x18,_0x49cb31[_0x40f385]=_0x18ee93;var _0x18ee93=_0x514ae4*0x1010101^_0xcc55d9*0x10001^_0xaacc4f*0x101^_0x40f385*0x1010100;_0x4fe1ef[_0xeb742b]=_0x18ee93<<0x18|_0x18ee93>>>0x8,_0x224ef8[_0xeb742b]=_0x18ee93<<0x10|_0x18ee93>>>0x10,_0xf51b0f[_0xeb742b]=_0x18ee93<<0x8|_0x18ee93>>>0x18,_0x26b67e[_0xeb742b]=_0x18ee93,_0x40f385?(_0x40f385=_0xaacc4f^_0x47b63e[_0x47b63e[_0x47b63e[_0x514ae4^_0xaacc4f]]],_0x2bc7a1^=_0x47b63e[_0x47b63e[_0x2bc7a1]]):_0x40f385=_0x2bc7a1=0x1;}}());var _0x2df6bc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x230706=_0xd423a9[_0x4b0046(0x259)]=_0xa5e88[_0x4b0046(0x32f)]({'_doReset':function(){var _0x16ce68=_0x4b0046,_0x3caaa5;if(!(this[_0x16ce68(0x26d)]&&this['_keyPriorReset']===this[_0x16ce68(0x474)])){for(var _0x2626d8=this[_0x16ce68(0x38e)]=this[_0x16ce68(0x474)],_0x2a32ee=_0x2626d8['words'],_0x512fcb=_0x2626d8[_0x16ce68(0x3cd)]/0x4,_0x33b993=this[_0x16ce68(0x26d)]=_0x512fcb+0x6,_0x37f686=(_0x33b993+0x1)*0x4,_0x5f4063=this[_0x16ce68(0x386)]=[],_0x3e262d=0x0;_0x3e262d<_0x37f686;_0x3e262d++)_0x3e262d<_0x512fcb?_0x5f4063[_0x3e262d]=_0x2a32ee[_0x3e262d]:(_0x3caaa5=_0x5f4063[_0x3e262d-0x1],_0x3e262d%_0x512fcb?_0x512fcb>0x6&&_0x3e262d%_0x512fcb==0x4&&(_0x3caaa5=_0x4b0767[_0x3caaa5>>>0x18]<<0x18|_0x4b0767[_0x3caaa5>>>0x10&0xff]<<0x10|_0x4b0767[_0x3caaa5>>>0x8&0xff]<<0x8|_0x4b0767[_0x3caaa5&0xff]):(_0x3caaa5=_0x3caaa5<<0x8|_0x3caaa5>>>0x18,_0x3caaa5=_0x4b0767[_0x3caaa5>>>0x18]<<0x18|_0x4b0767[_0x3caaa5>>>0x10&0xff]<<0x10|_0x4b0767[_0x3caaa5>>>0x8&0xff]<<0x8|_0x4b0767[_0x3caaa5&0xff],_0x3caaa5^=_0x2df6bc[_0x3e262d/_0x512fcb|0x0]<<0x18),_0x5f4063[_0x3e262d]=_0x5f4063[_0x3e262d-_0x512fcb]^_0x3caaa5);for(var _0x1649c8=this[_0x16ce68(0x242)]=[],_0x4791f6=0x0;_0x4791f6<_0x37f686;_0x4791f6++){var _0x3e262d=_0x37f686-_0x4791f6;if(_0x4791f6%0x4)var _0x3caaa5=_0x5f4063[_0x3e262d];else var _0x3caaa5=_0x5f4063[_0x3e262d-0x4];_0x4791f6<0x4||_0x3e262d<=0x4?_0x1649c8[_0x4791f6]=_0x3caaa5:_0x1649c8[_0x4791f6]=_0x4fe1ef[_0x4b0767[_0x3caaa5>>>0x18]]^_0x224ef8[_0x4b0767[_0x3caaa5>>>0x10&0xff]]^_0xf51b0f[_0x4b0767[_0x3caaa5>>>0x8&0xff]]^_0x26b67e[_0x4b0767[_0x3caaa5&0xff]];}}},'encryptBlock':function(_0x634b98,_0x4355c3){var _0x108004=_0x4b0046;this['_doCryptBlock'](_0x634b98,_0x4355c3,this[_0x108004(0x386)],_0x90ce03,_0x580889,_0x5405a0,_0x49cb31,_0x4b0767);},'decryptBlock':function(_0x3c5e76,_0x32d55d){var _0x2f922d=_0x4b0046,_0x538449=_0x3c5e76[_0x32d55d+0x1];_0x3c5e76[_0x32d55d+0x1]=_0x3c5e76[_0x32d55d+0x3],_0x3c5e76[_0x32d55d+0x3]=_0x538449,this[_0x2f922d(0x216)](_0x3c5e76,_0x32d55d,this['_invKeySchedule'],_0x4fe1ef,_0x224ef8,_0xf51b0f,_0x26b67e,_0x375df0);var _0x538449=_0x3c5e76[_0x32d55d+0x1];_0x3c5e76[_0x32d55d+0x1]=_0x3c5e76[_0x32d55d+0x3],_0x3c5e76[_0x32d55d+0x3]=_0x538449;},'_doCryptBlock':function(_0x5063bc,_0x4d6460,_0x4bf2f7,_0x3adaf5,_0x298a99,_0x3001bb,_0xfb2aef,_0x576aec){var _0x5b7190=_0x4b0046;for(var _0x380ad5=this[_0x5b7190(0x26d)],_0xae3a99=_0x5063bc[_0x4d6460]^_0x4bf2f7[0x0],_0x1b3bcf=_0x5063bc[_0x4d6460+0x1]^_0x4bf2f7[0x1],_0x5bccc0=_0x5063bc[_0x4d6460+0x2]^_0x4bf2f7[0x2],_0x117c84=_0x5063bc[_0x4d6460+0x3]^_0x4bf2f7[0x3],_0x1428f0=0x4,_0xcad0c4=0x1;_0xcad0c4<_0x380ad5;_0xcad0c4++){var _0x2ee300=_0x3adaf5[_0xae3a99>>>0x18]^_0x298a99[_0x1b3bcf>>>0x10&0xff]^_0x3001bb[_0x5bccc0>>>0x8&0xff]^_0xfb2aef[_0x117c84&0xff]^_0x4bf2f7[_0x1428f0++],_0x3c18ef=_0x3adaf5[_0x1b3bcf>>>0x18]^_0x298a99[_0x5bccc0>>>0x10&0xff]^_0x3001bb[_0x117c84>>>0x8&0xff]^_0xfb2aef[_0xae3a99&0xff]^_0x4bf2f7[_0x1428f0++],_0x400b70=_0x3adaf5[_0x5bccc0>>>0x18]^_0x298a99[_0x117c84>>>0x10&0xff]^_0x3001bb[_0xae3a99>>>0x8&0xff]^_0xfb2aef[_0x1b3bcf&0xff]^_0x4bf2f7[_0x1428f0++],_0x4ca7b7=_0x3adaf5[_0x117c84>>>0x18]^_0x298a99[_0xae3a99>>>0x10&0xff]^_0x3001bb[_0x1b3bcf>>>0x8&0xff]^_0xfb2aef[_0x5bccc0&0xff]^_0x4bf2f7[_0x1428f0++];_0xae3a99=_0x2ee300,_0x1b3bcf=_0x3c18ef,_0x5bccc0=_0x400b70,_0x117c84=_0x4ca7b7;}var _0x2ee300=(_0x576aec[_0xae3a99>>>0x18]<<0x18|_0x576aec[_0x1b3bcf>>>0x10&0xff]<<0x10|_0x576aec[_0x5bccc0>>>0x8&0xff]<<0x8|_0x576aec[_0x117c84&0xff])^_0x4bf2f7[_0x1428f0++],_0x3c18ef=(_0x576aec[_0x1b3bcf>>>0x18]<<0x18|_0x576aec[_0x5bccc0>>>0x10&0xff]<<0x10|_0x576aec[_0x117c84>>>0x8&0xff]<<0x8|_0x576aec[_0xae3a99&0xff])^_0x4bf2f7[_0x1428f0++],_0x400b70=(_0x576aec[_0x5bccc0>>>0x18]<<0x18|_0x576aec[_0x117c84>>>0x10&0xff]<<0x10|_0x576aec[_0xae3a99>>>0x8&0xff]<<0x8|_0x576aec[_0x1b3bcf&0xff])^_0x4bf2f7[_0x1428f0++],_0x4ca7b7=(_0x576aec[_0x117c84>>>0x18]<<0x18|_0x576aec[_0xae3a99>>>0x10&0xff]<<0x10|_0x576aec[_0x1b3bcf>>>0x8&0xff]<<0x8|_0x576aec[_0x5bccc0&0xff])^_0x4bf2f7[_0x1428f0++];_0x5063bc[_0x4d6460]=_0x2ee300,_0x5063bc[_0x4d6460+0x1]=_0x3c18ef,_0x5063bc[_0x4d6460+0x2]=_0x400b70,_0x5063bc[_0x4d6460+0x3]=_0x4ca7b7;},'keySize':0x100/0x20});_0x3d6647['AES']=_0xa5e88[_0x4b0046(0x309)](_0x230706);}()),_0x75426a['AES'];}));}(Ve)),Ve[_0x44a3ed(0x44c)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe['exports'],si;function Rn(){var _0x2b154b=_0x1b0175;return si||(si=0x1,function(_0x5b7235,_0x410f4b){(function(_0x19cbd9,_0x3bde27){var _0x421061=_0x33ac;_0x5b7235[_0x421061(0x44c)]=_0x3bde27(te());}(Cn,function(_0x1b4cbf){var _0x452dac=_0x33ac;return _0x1b4cbf[_0x452dac(0x3d5)][_0x452dac(0x3e6)];}));}(Xe)),Xe[_0x2b154b(0x44c)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x1b0175(0x44c)],ni;function Nn(){var _0x2179a2=_0x1b0175;return ni||(ni=0x1,function(_0x25f0f9,_0x5b9669){(function(_0x22780f,_0x18dad6){var _0x2c4178=_0x33ac;_0x25f0f9[_0x2c4178(0x44c)]=_0x18dad6(te());}(yn,function(_0xb75e04){var _0x157b9a=_0x33ac;return(function(){var _0x2b40f3=_0x33ac;if(typeof ArrayBuffer==_0x2b40f3(0x24c)){var _0x4b588d=_0xb75e04,_0x4881b3=_0x4b588d[_0x2b40f3(0x1d3)],_0x1adbc2=_0x4881b3['WordArray'],_0x549626=_0x1adbc2[_0x2b40f3(0x3e8)],_0x5a10f3=_0x1adbc2[_0x2b40f3(0x3e8)]=function(_0x588206){var _0x462dba=_0x2b40f3;if(_0x588206 instanceof ArrayBuffer&&(_0x588206=new Uint8Array(_0x588206)),(_0x588206 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x588206 instanceof Uint8ClampedArray||_0x588206 instanceof Int16Array||_0x588206 instanceof Uint16Array||_0x588206 instanceof Int32Array||_0x588206 instanceof Uint32Array||_0x588206 instanceof Float32Array||_0x588206 instanceof Float64Array)&&(_0x588206=new Uint8Array(_0x588206[_0x462dba(0x23a)],_0x588206[_0x462dba(0x35d)],_0x588206[_0x462dba(0x1b5)])),_0x588206 instanceof Uint8Array){for(var _0x3758de=_0x588206[_0x462dba(0x1b5)],_0x484ca2=[],_0x52dd9f=0x0;_0x52dd9f<_0x3758de;_0x52dd9f++)_0x484ca2[_0x52dd9f>>>0x2]|=_0x588206[_0x52dd9f]<<0x18-_0x52dd9f%0x4*0x8;_0x549626[_0x462dba(0x21d)](this,_0x484ca2,_0x3758de);}else _0x549626[_0x462dba(0x230)](this,arguments);};_0x5a10f3[_0x2b40f3(0x462)]=_0x1adbc2;}}()),_0xb75e04[_0x157b9a(0x1d3)][_0x157b9a(0x425)];}));}(Ze)),Ze[_0x2179a2(0x44c)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x1b0175(0x44c)],ri;function wn(){var _0x114aba=_0x1b0175;return ri||(ri=0x1,function(_0x5e9258,_0x4c53c2){(function(_0x11f013,_0x4e5f8a,_0xc20131){var _0x112b3d=_0x33ac;_0x5e9258[_0x112b3d(0x44c)]=_0x4e5f8a(te(),bi());}(An,function(_0x4c2047){var _0x46661f=_0x33ac;return _0x4c2047[_0x46661f(0x227)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4c2047[_0x46661f(0x227)][_0x46661f(0x347)];}));}(Qe)),Qe[_0x114aba(0x44c)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x54300e,_0x42c9a6){var _0x2087d0=_0x1b0175;const _0x190981=_0x42c9a6-_0x54300e[_0x2087d0(0x32a)]%_0x42c9a6,_0x3cc9b3=String[_0x2087d0(0x37f)](_0x190981)[_0x2087d0(0x358)](_0x190981);return _0x54300e+_0x3cc9b3;}function xn(_0x4736a6,_0x31cbc8){var _0x3386fc=_0x1b0175;const _0x20a84d=Un[_0x3386fc(0x2ac)](0x10),_0x576830=Ln(_0x4736a6,0x10),_0x39ce22=In[_0x3386fc(0x1e8)](bn[_0x3386fc(0x333)](_0x576830),ii['parse'](_0x31cbc8),{'iv':_0x20a84d,'padding':Mn});return _0x20a84d[_0x3386fc(0x1da)](_0x39ce22[_0x3386fc(0x43f)])[_0x3386fc(0x18c)](ii);}function kn(){var _0x20eda5=_0x1b0175;const _0x5a7852=_0x449230()[_0x20eda5(0x2c7)];if(_0x5a7852){const _0x5d0258={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x20eda5(0x21e)]};return xn(JSON[_0x20eda5(0x445)](_0x5d0258),_0x5a7852);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x1e011a,_0x1b74c5,_0x22db78,_0x36b56f)=>{var _0x5a0c16=_0x1b0175;for(var _0x7525d3=_0x36b56f>0x1?void 0x0:_0x36b56f?$n(_0x1b74c5,_0x22db78):_0x1b74c5,_0xf43841=_0x1e011a[_0x5a0c16(0x32a)]-0x1,_0x5e9134;_0xf43841>=0x0;_0xf43841--)(_0x5e9134=_0x1e011a[_0xf43841])&&(_0x7525d3=_0x5e9134(_0x7525d3)||_0x7525d3);return _0x7525d3;},Bn=(_0x3874d6,_0x47ab54)=>(_0x380551,_0x5cdf30)=>_0x47ab54(_0x380551,_0x5cdf30,_0x3874d6);let at=class{constructor(_0x2e733d){var _0x1e04c1=_0x1b0175;this[_0x1e04c1(0x1fb)]=_0x2e733d,this[_0x1e04c1(0x1e4)]();}[_0x1b0175(0x1e4)](){var _0x251dd4=_0x1b0175;this[_0x251dd4(0x1fb)]['registerHTTPInterceptor']({'interceptor':(_0x357f89,_0x53392b)=>{var _0x1ff119=_0x251dd4;const _0x3b305b=_0x357f89['headers'],_0xecd208=kn();return _0xecd208&&_0x3b305b[_0x1ff119(0x392)](_0x1ff119(0x3b0),_0xecd208),_0x53392b(_0x357f89);}});}};at=Hn([Bn(0x0,_0x2350f5(_0x3d8309))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x3ddf3e,_0xde8eda,_0x346d44,_0x6ff61e)=>{var _0x433752=_0x1b0175;for(var _0xe811a=_0x6ff61e>0x1?void 0x0:_0x6ff61e?jn(_0xde8eda,_0x346d44):_0xde8eda,_0x31662e=_0x3ddf3e[_0x433752(0x32a)]-0x1,_0xb0dbdc;_0x31662e>=0x0;_0x31662e--)(_0xb0dbdc=_0x3ddf3e[_0x31662e])&&(_0xe811a=_0xb0dbdc(_0xe811a)||_0xe811a);return _0xe811a;},vt=(_0x84bb2e,_0x3e76b8)=>(_0x3d5dba,_0x58a4bd)=>_0x3e76b8(_0x3d5dba,_0x58a4bd,_0x84bb2e);let Ct=class extends _0x1947f8{constructor(_0x3f2512,_0x447131,_0x2b5ce4){var _0x1e568c=_0x1b0175;super(),N(this,_0x1e568c(0x385),new _0x1babcb(null)),N(this,_0x1e568c(0x36e),this['_unitInfo$'][_0x1e568c(0x28c)]()),(this[_0x1e568c(0x362)]=_0x3f2512,this[_0x1e568c(0x46b)]=_0x447131,this['_localCacheService']=_0x2b5ce4);}async[_0x1b0175(0x260)](_0x3d3cac,_0xec8ae1,_0x29a483){var _0x21b56f=_0x1b0175;this['_unitInfo$']['next']({'unitId':_0x3d3cac,'type':_0xec8ae1});let _0x34a6e7=null;switch(_0xec8ae1){case Z[_0x21b56f(0x245)]:{_0x34a6e7=await this[_0x21b56f(0x46b)][_0x21b56f(0x253)](_0x3d3cac,_0x29a483);break;}case Z['UNIVER_DOC']:{_0x34a6e7=await this[_0x21b56f(0x46b)][_0x21b56f(0x272)](_0x3d3cac,_0x29a483);break;}default:{this[_0x21b56f(0x362)][_0x21b56f(0x31f)](_0x21b56f(0x440),_0x21b56f(0x389));break;}}return _0x34a6e7;}async[_0x1b0175(0x193)](_0x29f62d,_0x1054e9,_0x3812c2){var _0x6b153b=_0x1b0175,_0x1f9cc3;this[_0x6b153b(0x385)][_0x6b153b(0x377)]({'unitId':_0x29f62d,'type':_0x1054e9,'subUnitId':_0x3812c2});let _0x1ef84c=0x0;const _0x22becb=await((_0x1f9cc3=this[_0x6b153b(0x32d)])==null?void 0x0:_0x1f9cc3['loadOfflineData'](_0x29f62d));return _0x22becb&&(_0x22becb['awaitingChangeset']||_0x22becb[_0x6b153b(0x2bf)][_0x6b153b(0x32a)]!==0x0)&&(_0x1ef84c=_0x22becb[_0x6b153b(0x2c6)]),_0x1ef84c===0x0&&this[_0x6b153b(0x362)][_0x6b153b(0x3b1)](_0x6b153b(0x440),_0x6b153b(0x26b)),this['loadUnitOfRevision'](_0x29f62d,_0x1054e9,_0x1ef84c);}};Ct=Fn([vt(0x0,_0x27c895),vt(0x1,_0x2350f5(_0x15d8ca)),vt(0x2,_0x364642(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0xb74bc8,_0x1b92c7,_0x39b698,_0x1ee763)=>{for(var _0x1337d0=_0x1ee763>0x1?void 0x0:_0x1ee763?Vn(_0x1b92c7,_0x39b698):_0x1b92c7,_0x5743e1=_0xb74bc8['length']-0x1,_0x511a15;_0x5743e1>=0x0;_0x5743e1--)(_0x511a15=_0xb74bc8[_0x5743e1])&&(_0x1337d0=_0x511a15(_0x1337d0)||_0x1337d0);return _0x1337d0;},pt=(_0x5086f8,_0xd5a789)=>(_0x5ad64f,_0x2a3705)=>_0xd5a789(_0x5ad64f,_0x2a3705,_0x5086f8);const Gn=[_0x1b0175(0x338),_0x1b0175(0x372),_0x1b0175(0x291),'image/gif',_0x1b0175(0x3d1)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x4697e0,_0x343a5c,_0x20ccf0){var _0x27c831=_0x1b0175;N(this,_0x27c831(0x37e),0x0),N(this,'_change$',new _0xbd57ee()),N(this,_0x27c831(0x306),this[_0x27c831(0x30b)]),N(this,_0x27c831(0x273),new Map()),(this['_httpService']=_0x4697e0,this['_configService']=_0x343a5c,this[_0x27c831(0x1cf)]=_0x20ccf0);}[_0x1b0175(0x24f)](_0x1ef3e5){var _0x373f9b=_0x1b0175;this['_waitCount']=_0x1ef3e5,this[_0x373f9b(0x30b)]['next'](_0x1ef3e5);}[_0x1b0175(0x404)](_0x12ba42,_0x174842){var _0x4aeefb=_0x1b0175;if(_0x174842===_0x49a779[_0x4aeefb(0x47a)]){const _0x12c248=new Image();return _0x12c248[_0x4aeefb(0x270)]=_0x12ba42,_0x12c248;}return this[_0x4aeefb(0x273)]['get'](_0x12ba42);}[_0x1b0175(0x224)](_0x4b4afa,_0x36edc8,_0x49d70e){var _0x51f6fd=_0x1b0175;_0x36edc8===_0x49a779[_0x51f6fd(0x47a)]||_0x49d70e==null||this[_0x51f6fd(0x273)][_0x51f6fd(0x392)](_0x4b4afa,_0x49d70e);}async[_0x1b0175(0x2f6)](_0x35e1e4){var _0x57417e=_0x1b0175;try{const _0x654ed2=this[_0x57417e(0x344)](this[_0x57417e(0x1d0)](),''+_0x35e1e4),_0x257e36=(await this[_0x57417e(0x1fb)][_0x57417e(0x41d)](_0x654ed2))[_0x57417e(0x3a6)];if(_0x257e36[_0x57417e(0x31f)]&&_0x257e36[_0x57417e(0x31f)][_0x57417e(0x1fe)]===vi['OK']){const _0x329393=new URL(_0x257e36[_0x57417e(0x470)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x329393);}return Promise[_0x57417e(0x1ba)](_0x257e36['error']);}catch(_0x5f17ac){return Promise[_0x57417e(0x1ba)](_0x5f17ac);}}async['saveImage'](_0x550de8){var _0x14d889=_0x1b0175;let _0x33d57f='';if(!Gn['includes'](_0x550de8[_0x14d889(0x279)]))return this[_0x14d889(0x3e4)](),Promise[_0x14d889(0x1ba)](new Error(_0x26d4ad[_0x14d889(0x1b6)]));if(_0x550de8[_0x14d889(0x434)]>Yn)return this[_0x14d889(0x3e4)](),Promise['reject'](new Error(_0x26d4ad[_0x14d889(0x3c0)]));try{const _0xb55290=new FormData();_0xb55290[_0x14d889(0x1d6)]('file',_0x550de8);const _0x440ce5=this['_univerInstanceService'][_0x14d889(0x268)](),_0x204ef4=_0x440ce5==null?void 0x0:_0x440ce5[_0x14d889(0x3e5)]();if(!_0x204ef4)throw new Error('unitId\x20is\x20not\x20found');const _0x52a8c9=this[_0x14d889(0x17f)]()+_0x14d889(0x25a)+_0x550de8[_0x14d889(0x434)][_0x14d889(0x18c)]()+_0x14d889(0x47d)+pi['UnitEmbedded']+'&assign='+encodeURIComponent(_0x204ef4),_0x54d095={'body':_0xb55290},_0x4616c8=(await this[_0x14d889(0x1fb)]['post'](_0x52a8c9,_0x54d095))[_0x14d889(0x3a6)];if(typeof _0x4616c8[_0x14d889(0x316)]!=_0x14d889(0x225))return this[_0x14d889(0x3e4)](),Promise['reject'](new Error(_0x26d4ad[_0x14d889(0x46d)]));_0x33d57f=_0x4616c8[_0x14d889(0x316)];}catch{return this[_0x14d889(0x3e4)](),Promise[_0x14d889(0x1ba)](new Error(_0x26d4ad[_0x14d889(0x46d)]));}return new Promise((_0x47d4f8,_0x5f39d7)=>{var _0x4d6404=_0x14d889;const _0x301b96=new FileReader();_0x301b96[_0x4d6404(0x467)](_0x550de8),_0x301b96['onload']=_0x509ab2=>{var _0x2523c0=_0x4d6404,_0x4fc881;const _0x4a9435=(_0x4fc881=_0x509ab2[_0x2523c0(0x44f)])==null?void 0x0:_0x4fc881[_0x2523c0(0x1ad)];if(_0x4a9435==null){this[_0x2523c0(0x3e4)](),_0x5f39d7(new Error(_0x26d4ad[_0x2523c0(0x46d)]));return;}const _0x16e215=_0x92a8ec(0x6);_0x47d4f8({'imageId':_0x16e215,'imageSourceType':_0x49a779[_0x2523c0(0x2ef)],'source':_0x33d57f,'base64Cache':_0x4a9435,'status':_0x26d4ad['SUCCUSS']}),this[_0x2523c0(0x3e4)]();};});}[_0x1b0175(0x17f)](){var _0x52dd0a=_0x1b0175,_0x105a95;const _0x47fc45=this[_0x52dd0a(0x3d9)][_0x52dd0a(0x2d4)](K);return(_0x105a95=_0x47fc45==null?void 0x0:_0x47fc45['uploadFileServerUrl'])!=null?_0x105a95:Kn;}[_0x1b0175(0x1d0)](){var _0x471d4b=_0x1b0175,_0x87edcb;const _0x32cd19=this[_0x471d4b(0x3d9)][_0x471d4b(0x2d4)](K);return(_0x87edcb=_0x32cd19==null?void 0x0:_0x32cd19[_0x471d4b(0x2f8)])!=null?_0x87edcb:qn;}[_0x1b0175(0x278)](){var _0x273c97=_0x1b0175,_0x150178;const _0x1fa78b=this[_0x273c97(0x3d9)][_0x273c97(0x2d4)](K);return(_0x150178=_0x1fa78b==null?void 0x0:_0x1fa78b['downloadEndpointUrl'])!=null?_0x150178:location[_0x273c97(0x442)];}['_replaceFileID'](_0x4e65ce,_0x596176){var _0x408f91=_0x1b0175;return _0x4e65ce[_0x408f91(0x39b)](_0x408f91(0x1f7),_0x596176);}[_0x1b0175(0x3e4)](){var _0x43b50d=_0x1b0175;this['_waitCount']-=0x1,this[_0x43b50d(0x30b)][_0x43b50d(0x377)](this[_0x43b50d(0x37e)]);}};Rt=Wn([pt(0x0,_0x2350f5(_0x3d8309)),pt(0x1,_0x39ec1e),pt(0x2,_0x2350f5(_0x1465c0))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x4e125a,_0x27bff2,_0x5cf4df,_0x14e20e)=>{for(var _0xa16a2a=_0x14e20e>0x1?void 0x0:_0x14e20e?zn(_0x27bff2,_0x5cf4df):_0x27bff2,_0x53d0ea=_0x4e125a['length']-0x1,_0x27031c;_0x53d0ea>=0x0;_0x53d0ea--)(_0x27031c=_0x4e125a[_0x53d0ea])&&(_0xa16a2a=_0x27031c(_0xa16a2a)||_0xa16a2a);return _0xa16a2a;},ai=(_0x13b696,_0x5f1bc5)=>(_0x48ec57,_0x1e513f)=>_0x5f1bc5(_0x48ec57,_0x1e513f,_0x13b696);const Xn=_0x1b0175(0x3e0);let Ot=class{constructor(_0x50e0d5,_0x4a420c){var _0x4acbce=_0x1b0175;this['_configService']=_0x50e0d5,this[_0x4acbce(0x437)]=_0x4a420c;}[_0x1b0175(0x37c)](){var _0x107c8d=_0x1b0175,_0x372713;const _0x222d0c=this[_0x107c8d(0x3d9)][_0x107c8d(0x2d4)](K);return(_0x372713=_0x222d0c==null?void 0x0:_0x222d0c[_0x107c8d(0x46c)])!=null?_0x372713:Xn;}async['list'](_0x59091a){var _0x205619=_0x1b0175;const _0x48a3d3=this['_getAPIPrefixPath']()+_0x205619(0x17a);return{'list':[{'title':_0x205619(0x180),'mentions':(await this[_0x205619(0x437)][_0x205619(0x41d)](_0x48a3d3,{'params':{'objectID':_0x59091a['unitId'],'unitID':_0x59091a[_0x205619(0x359)]}}))['body'][_0x205619(0x46f)][_0x205619(0x33e)](_0x1b7450=>({'objectId':_0x1b7450['id'],'name':_0x1b7450[_0x205619(0x36c)][_0x205619(0x2e1)],'metadata':{'icon':_0x1b7450['subject']['avatar']},'label':_0x1b7450[_0x205619(0x36c)][_0x205619(0x2e1)],'objectType':_0x213571[_0x205619(0x2d8)]})),'metadata':{},'type':_0x213571['PERSON']}]};}};Ot=Jn([ai(0x0,_0x2350f5(_0x39ec1e)),ai(0x1,_0x2350f5(_0x3d8309))],Ot);var Zn=Object[_0x1b0175(0x469)],Qn=(_0x2c7ffd,_0x1cd5bf,_0x2f5fe1,_0x15944f)=>{for(var _0x22044a=_0x15944f>0x1?void 0x0:_0x15944f?Zn(_0x1cd5bf,_0x2f5fe1):_0x1cd5bf,_0x1b80bf=_0x2c7ffd['length']-0x1,_0x71434d;_0x1b80bf>=0x0;_0x1b80bf--)(_0x71434d=_0x2c7ffd[_0x1b80bf])&&(_0x22044a=_0x71434d(_0x22044a)||_0x22044a);return _0x22044a;},Ue=(_0x2de5e0,_0x233582)=>(_0x194a1f,_0xfe897c)=>_0x233582(_0x194a1f,_0xfe897c,_0x2de5e0);let ot=class extends _0x1947f8{constructor(_0x183faa,_0x3cd057,_0x6fe3a3,_0x313d18,_0x1ba8b6){var _0xea5b8c=_0x1b0175;super(),this[_0xea5b8c(0x295)]=_0x183faa,this[_0xea5b8c(0x1cf)]=_0x3cd057,this[_0xea5b8c(0x2ed)]=_0x6fe3a3,this[_0xea5b8c(0x281)]=_0x313d18,this[_0xea5b8c(0x38f)]=_0x1ba8b6,this['_initUnitPermissionChange'](),this[_0xea5b8c(0x2ea)]();}[_0x1b0175(0x2ea)](){var _0x4b1a0c=_0x1b0175;const _0x4b0f19=async _0x4ff7e8=>{var _0x24e457=_0x33ac;(await this[_0x24e457(0x281)][_0x24e457(0x296)](_0x4ff7e8))[_0x24e457(0x207)][_0x24e457(0x3f2)](_0x4ecac2(_0x5beac3=>_0x5beac3[_0x24e457(0x2d6)]===_0x270543['SHOULD_CLOSE_CONN']),_0x51df8f(this[_0x24e457(0x185)]))[_0x24e457(0x17c)](_0x2e3995=>{var _0x804132=_0x24e457;const _0x1fb050=_0x2e3995,{reason:_0x2c49af}=_0x1fb050['data'];this[_0x804132(0x38f)][_0x804132(0x29e)]({'id':ne[_0x804132(0x2b2)],'data':_0x2c49af}),this[_0x804132(0x2ed)][_0x804132(0x20b)](new _0x1e11ff(_0x4ff7e8)['id'],!0x1),this[_0x804132(0x281)][_0x804132(0x34a)](_0x4ff7e8);});};_0x3ec2c8(this[_0x4b1a0c(0x1cf)]['getTypeOfUnitAdded$'](_0x4db1c1[_0x4b1a0c(0x245)]),this['_univerInstanceService'][_0x4b1a0c(0x269)](_0x4db1c1['UNIVER_DOC']))[_0x4b1a0c(0x3f2)](_0x2af321(_0x9916ca=>_0x9916ca['getUnitId']()),_0x4ecac2(_0x89419d=>!_0x4600f9(_0x89419d)),_0x51df8f(this[_0x4b1a0c(0x185)]))['subscribe'](_0x3d0988=>{_0x4b0f19(_0x3d0988);});}[_0x1b0175(0x1d8)](){var _0x5962d7=_0x1b0175;const _0x5670b6=async _0x36d8bd=>{var _0x47ae0f=_0x33ac;const _0x47635e=await this[_0x47ae0f(0x281)][_0x47ae0f(0x296)](_0x36d8bd),_0x373b06=this['_injector'][_0x47ae0f(0x41d)](_0x31e8a6);_0x47635e['event$'][_0x47ae0f(0x3f2)](_0x4ecac2(_0x2f6c0c=>_0x2f6c0c[_0x47ae0f(0x2d6)]===_0x270543[_0x47ae0f(0x22a)]),_0x51df8f(this[_0x47ae0f(0x185)]))[_0x47ae0f(0x17c)](_0xfc2a46=>{var _0x5cf6cb=_0x47ae0f;const _0x4ce09b=_0xfc2a46,{objectId:_0x4dfec0}=_0x4ce09b[_0x5cf6cb(0x219)];_0x4dfec0===_0x36d8bd?_0x373b06['initWorkbookPermissionChange'](_0x36d8bd):_0x373b06[_0x5cf6cb(0x30d)](_0x36d8bd,_0x4dfec0);});};_0x3ec2c8(this[_0x5962d7(0x1cf)][_0x5962d7(0x269)](_0x4db1c1[_0x5962d7(0x245)]))['pipe'](_0x2af321(_0x5c5474=>_0x5c5474[_0x5962d7(0x3e5)]()),_0x4ecac2(_0x500f09=>!_0x4600f9(_0x500f09)),_0x51df8f(this['dispose$']))[_0x5962d7(0x17c)](_0x4e3a90=>{_0x5670b6(_0x4e3a90);});}};ot=Qn([Ue(0x0,_0x2350f5(_0x4fef0a)),Ue(0x1,_0x1465c0),Ue(0x2,_0x33cf07),Ue(0x3,_0x2350f5(Pe)),Ue(0x4,_0x2350f5(ve))],ot);var er=Object[_0x1b0175(0x469)],tr=(_0x14866b,_0x37f0b5,_0x525f16,_0x5ebb3a)=>{for(var _0x500d3e=_0x5ebb3a>0x1?void 0x0:_0x5ebb3a?er(_0x37f0b5,_0x525f16):_0x37f0b5,_0x75bbe=_0x14866b['length']-0x1,_0x4ebc55;_0x75bbe>=0x0;_0x75bbe--)(_0x4ebc55=_0x14866b[_0x75bbe])&&(_0x500d3e=_0x4ebc55(_0x500d3e)||_0x500d3e);return _0x500d3e;},oi=(_0x5d41f4,_0x593613)=>(_0x2b2542,_0x2bcfcc)=>_0x593613(_0x2b2542,_0x2bcfcc,_0x5d41f4);let bt=class{constructor(_0x33b3a2,_0x340682){var _0x5b2f59=_0x1b0175;this[_0x5b2f59(0x3d9)]=_0x33b3a2,this[_0x5b2f59(0x1fb)]=_0x340682;}async[_0x1b0175(0x176)](_0x5af04e,_0x132b1e){var _0x54b994=_0x1b0175,_0x1f0592;const {unitID:_0x35cf83,type:_0x440ec4,revision:_0x101844=0x0}=_0x132b1e,_0x4ee017=this[_0x54b994(0x2e6)]()+'/'+_0x440ec4+_0x54b994(0x29a)+_0x35cf83+_0x54b994(0x3a2)+_0x101844,_0x34f6ae=(await this[_0x54b994(0x1fb)][_0x54b994(0x41d)](_0x4ee017))[_0x54b994(0x3a6)],_0x2b89e1=(_0x1f0592=_0x34f6ae[_0x54b994(0x375)])==null?void 0x0:_0x1f0592['workbook'];if(_0x2b89e1){const _0x48104a=_0x2b89e1==null?void 0x0:_0x2b89e1[_0x54b994(0x25b)],_0x5d72c3=_0x540dd0[_0x54b994(0x18a)](_0x9670fd(_0x48104a));_0x2b89e1[_0x54b994(0x25b)]=_0x5d72c3,Object[_0x54b994(0x2b0)](_0x2b89e1[_0x54b994(0x37b)])[_0x54b994(0x2c3)](([,_0x580597])=>{var _0x245950=_0x54b994;const _0x28e9dd=_0x580597['originalMeta'],_0x5ef3bb=_0x540dd0[_0x245950(0x18a)](_0x9670fd(_0x28e9dd));_0x580597[_0x245950(0x25b)]=_0x5ef3bb;});}return _0x34f6ae;}async[_0x1b0175(0x2e8)](_0x30678f,_0x258554){var _0x574107=_0x1b0175;const {unitID:_0x51112b,type:_0xc09549,blockID:_0x3e19a0}=_0x258554,_0x5c2c7f=this[_0x574107(0x370)]()+'/'+_0xc09549+_0x574107(0x29a)+_0x51112b+'/block/'+_0x3e19a0;return(await this['_httpService']['get'](_0x5c2c7f))[_0x574107(0x3a6)];}async[_0x1b0175(0x2dd)](_0x30aad7,_0x40442e){var _0x137163=_0x1b0175;const {unitID:_0x343aeb,type:_0x103abf,blockID:_0x5abbbb}=_0x40442e,_0x334afc=this['_getAPIPrefix']()+_0x137163(0x308)+_0x103abf+_0x137163(0x29a)+_0x343aeb+_0x137163(0x308)+_0x5abbbb;return(await this[_0x137163(0x1fb)]['get'](_0x334afc))['body'];}async[_0x1b0175(0x3aa)](_0x252a74,_0x538cd4){var _0x2d4f2f=_0x1b0175;const {unitID:_0x319a60,type:_0x1d97fa,from:_0x5c672d,to:_0x4998e5}=_0x538cd4,_0x4d32fd=this[_0x2d4f2f(0x370)]()+'/'+_0x1d97fa+'/unit/'+_0x319a60+'/fetchmissing?from='+_0x5c672d+'&to='+_0x4998e5;return(await this[_0x2d4f2f(0x1fb)][_0x2d4f2f(0x41d)](_0x4d32fd))[_0x2d4f2f(0x3a6)];}['getSnapshotAPIPath'](){var _0x81232f=_0x1b0175,_0x491b7b;return(_0x491b7b=this[_0x81232f(0x3d9)][_0x81232f(0x2d4)](vs))!=null?_0x491b7b:this[_0x81232f(0x370)]();}[_0x1b0175(0x370)](){var _0x422fcb=_0x1b0175,_0x2e56a7;const _0x4cd894=this[_0x422fcb(0x3d9)]['getConfig'](K);return(_0x2e56a7=_0x4cd894==null?void 0x0:_0x4cd894[_0x422fcb(0x1f9)])!=null?_0x2e56a7:fs;}async['getResourcesRequest'](_0x29c1d4,_0x5bf8fd){var _0x30b38d=_0x1b0175;const _0x5e9138=_0x30b38d(0x409)+_0x5bf8fd[_0x30b38d(0x279)]+_0x30b38d(0x29a)+_0x5bf8fd[_0x30b38d(0x2a9)]+_0x30b38d(0x2d9);return(await this[_0x30b38d(0x1fb)][_0x30b38d(0x41d)](_0x5e9138,{'params':{'resourceId':JSON[_0x30b38d(0x445)](_0x5bf8fd[_0x30b38d(0x21b)])}}))[_0x30b38d(0x3a6)];}[_0x1b0175(0x33b)](){var _0x320d0c=_0x1b0175;throw new Error(_0x320d0c(0x19e));}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1b0175(0x36a)](){var _0x1ba1ad=_0x1b0175;throw new Error(_0x1ba1ad(0x19e));}['saveChangeset'](){var _0x1cd2c3=_0x1b0175;throw new Error(_0x1cd2c3(0x19e));}[_0x1b0175(0x23c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1b0175(0x204)](){var _0x298fc6=_0x1b0175;throw new Error(_0x298fc6(0x19e));}};bt=tr([oi(0x0,_0x39ec1e),oi(0x1,_0x2350f5(_0x3d8309))],bt);var ir=Object[_0x1b0175(0x469)],sr=(_0x4873fc,_0x45e806,_0x26c44c,_0x52f11f)=>{for(var _0x1e01c7=_0x52f11f>0x1?void 0x0:_0x52f11f?ir(_0x45e806,_0x26c44c):_0x45e806,_0x8a4823=_0x4873fc['length']-0x1,_0x1e2834;_0x8a4823>=0x0;_0x8a4823--)(_0x1e2834=_0x4873fc[_0x8a4823])&&(_0x1e01c7=_0x1e2834(_0x1e01c7)||_0x1e01c7);return _0x1e01c7;},Ae=(_0x2d8674,_0x20f852)=>(_0x4597d4,_0x128ea0)=>_0x20f852(_0x4597d4,_0x128ea0,_0x2d8674);let yt=class extends _0x2cd083{constructor(_0x4b5741,_0x35c9a0,_0x1fc8cc,_0xc970dd,_0x4ec060){var _0xd1ff22=_0x1b0175;super(_0x4b5741,_0x35c9a0,_0x1fc8cc),this[_0xd1ff22(0x3ab)]=_0xc970dd,this[_0xd1ff22(0x362)]=_0x4ec060;}[_0x1b0175(0x3c7)](_0x36c6ab,_0x1d3ce8){var _0x1be652=_0x1b0175;const _0x3e168d=this[_0x1be652(0x25e)](_0x36c6ab);if(_0x3e168d)try{const _0x27a329=this[_0x1be652(0x26e)](_0x3e168d,_0x1d3ce8);this[_0x1be652(0x1e9)](_0x36c6ab,_0x27a329);}catch(_0x5d2a34){this['_logService'][_0x1be652(0x31f)](_0x1be652(0x1a9),_0x5d2a34),this[_0x1be652(0x3de)](_0x36c6ab);}const _0x1f4c0a=this[_0x1be652(0x458)](_0x36c6ab);if(_0x1f4c0a)try{const _0x460d08=this['_transformStack'](_0x1f4c0a,_0x1d3ce8);this[_0x1be652(0x28f)](_0x36c6ab,_0x460d08);}catch(_0x5f4ea4){this['_logService'][_0x1be652(0x31f)](_0x5f4ea4),this[_0x1be652(0x42a)](_0x36c6ab);}}[_0x1b0175(0x3de)](_0x105434){var _0x1ca436=_0x1b0175;const _0x3e326e=this[_0x1ca436(0x25e)](_0x105434);_0x3e326e&&(_0x3e326e['length']=0x0,this['_updateStatus']());}[_0x1b0175(0x42a)](_0x4aeb84){var _0x458b92=_0x1b0175;const _0x119d03=this[_0x458b92(0x458)](_0x4aeb84);_0x119d03&&(_0x119d03[_0x458b92(0x32a)]=0x0,this['_updateStatus']());}[_0x1b0175(0x1e9)](_0x4e5da0,_0x187f4d){var _0x4dfa81=_0x1b0175;this[_0x4dfa81(0x463)][_0x4dfa81(0x392)](_0x4e5da0,_0x187f4d),this[_0x4dfa81(0x3cc)]();}[_0x1b0175(0x28f)](_0xa65191,_0x5abfa7){var _0x3229e6=_0x1b0175;this['_redoStacks'][_0x3229e6(0x392)](_0xa65191,_0x5abfa7),this[_0x3229e6(0x3cc)]();}[_0x1b0175(0x26e)](_0x348556,_0x45b46c){var _0x1e5da2=_0x1b0175;const _0x545667=[];let _0x20fd15=_0x45b46c,_0x50b90e=_0x45b46c;for(let _0x23b27f=_0x348556[_0x1e5da2(0x32a)]-0x1;_0x23b27f>=0x0;_0x23b27f--){const {unitID:_0x115e5b,undoMutations:_0x56220c,redoMutations:_0x326f11}=_0x348556[_0x23b27f],_0x52122e=this[_0x1e5da2(0x3ab)]['transformMutationsWithChangeset'](_0x20fd15,_0x56220c),_0x398d6b=this[_0x1e5da2(0x3ab)]['transformMutationsWithChangeset'](_0x50b90e,_0x326f11);if(_0x189a65(_0x52122e)||_0x189a65(_0x398d6b)){this[_0x1e5da2(0x362)][_0x1e5da2(0x31f)]('[CollaborationUndoRedoService]',_0x1e5da2(0x315),_0x52122e,_0x398d6b);break;}_0x20fd15=_0x52122e['c1Prime'],_0x50b90e=_0x398d6b[_0x1e5da2(0x19a)],_0x545667[_0x1e5da2(0x1ac)]({'unitID':_0x115e5b,'undoMutations':_0x52122e[_0x1e5da2(0x3c4)],'redoMutations':_0x398d6b[_0x1e5da2(0x3c4)]});}return _0x545667[_0x1e5da2(0x341)]();}};yt=sr([Ae(0x0,_0x1465c0),Ae(0x1,_0x5c1e8c),Ae(0x2,_0x1f12bc),Ae(0x3,_0x21e51c),Ae(0x4,_0x27c895)],yt);var nr=Object[_0x1b0175(0x2fa)],rr=Object[_0x1b0175(0x469)],ar=(_0x4636d4,_0x250dc9,_0x34e0c8)=>_0x250dc9 in _0x4636d4?nr(_0x4636d4,_0x250dc9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34e0c8}):_0x4636d4[_0x250dc9]=_0x34e0c8,or=(_0x34ef4b,_0x135840,_0x28eaef,_0x40e63f)=>{var _0x4a1fab=_0x1b0175;for(var _0x2c0d52=_0x40e63f>0x1?void 0x0:_0x40e63f?rr(_0x135840,_0x28eaef):_0x135840,_0x181e43=_0x34ef4b[_0x4a1fab(0x32a)]-0x1,_0x5b5710;_0x181e43>=0x0;_0x181e43--)(_0x5b5710=_0x34ef4b[_0x181e43])&&(_0x2c0d52=_0x5b5710(_0x2c0d52)||_0x2c0d52);return _0x2c0d52;},mt=(_0x17b6d6,_0x2732e2)=>(_0x5c3954,_0xeba372)=>_0x2732e2(_0x5c3954,_0xeba372,_0x17b6d6),cr=(_0x39f302,_0x259cc5,_0x18a0c1)=>ar(_0x39f302,_0x259cc5+'',_0x18a0c1);const hr=_0x1b0175(0x17d);let Nt=class extends _0x5b0e47{constructor(_0x21a3b8,_0xc4b237,_0xc58983,_0x3752c0){var _0x11f6fd=_0x1b0175;super(),N(this,_0x11f6fd(0x31c)),(this[_0x11f6fd(0x362)]=_0xc4b237,this[_0x11f6fd(0x295)]=_0xc58983,this[_0x11f6fd(0x3d9)]=_0x3752c0);const {..._0x3e0816}=_0x43e317({},Ls,_0x21a3b8);if(!_0x3e0816[_0x11f6fd(0x1fa)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x3e0816,this['_configService'][_0x11f6fd(0x3f0)](K,_0x3e0816);}[_0x1b0175(0x22e)](){var _0x460bec=_0x1b0175;this[_0x460bec(0x314)](),this[_0x460bec(0x257)]();}['_registerDependencies'](){var _0xd5fd78=_0x1b0175,_0x3592ae,_0x4ae5f8;this[_0xd5fd78(0x295)][_0xd5fd78(0x378)](_0x2c5918)&&this[_0xd5fd78(0x362)][_0xd5fd78(0x31f)](_0xd5fd78(0x30e),_0xd5fd78(0x18b));const _0x36933d=_0x4120aa([[_0x2c5918,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this['_config'][_0xd5fd78(0x1fa)]}],[_0x44dcd2,{'useClass':bt}],[_0x36006a,{'useClass':Tt}],[_0x108855,{'useClass':Rt}],[_0x4a24b9,{'useClass':Ot}],[nt],[It]],(_0x3592ae=this[_0xd5fd78(0x31c)])==null?void 0x0:_0x3592ae['override']);if(!((_0x4ae5f8=this[_0xd5fd78(0x31c)])!=null&&_0x4ae5f8['enableSingleActiveInstanceLock'])){const _0x1ac2ec=_0x36933d[_0xd5fd78(0x42b)](([_0x626d0e])=>_0x626d0e===ht);_0x1ac2ec!==-0x1&&_0x36933d[_0xd5fd78(0x2d7)](_0x1ac2ec,0x1);}_0x443c1e(this[_0xd5fd78(0x295)],_0x36933d);}[_0x1b0175(0x257)](){var _0x3c5a61=_0x1b0175,_0x39a5c6,_0xfddf4a,_0x25aacf;this['_injector'][_0x3c5a61(0x41d)](_0x3d8309)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x18420d({'maxParallel':0x6})}),(_0x39a5c6=this['_config'])!=null&&_0x39a5c6[_0x3c5a61(0x246)]||(_0xfddf4a=this[_0x3c5a61(0x295)][_0x3c5a61(0x41d)](J,_0x5c2b5c[_0x3c5a61(0x447)]))==null||_0xfddf4a['disableLocalCache'](),(_0x25aacf=this['_config'])!=null&&_0x25aacf[_0x3c5a61(0x237)]&&_0x43a5c9(this[_0x3c5a61(0x295)],[[rt]]),_0x43a5c9(this[_0x3c5a61(0x295)],[[at],[nt],[ot]]);}};cr(Nt,_0x1b0175(0x39a),hr),Nt=or([_0x35f593(_0x41e863,_0x27dfbb),mt(0x1,_0x27c895),mt(0x2,_0x2350f5(_0x4fef0a)),mt(0x3,_0x39ec1e)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
|