@univerjs-pro/collaboration-client 0.10.6-experimental.20250904-9591d16 → 0.10.6-nightly.202509060614
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 _0x453300=_0x3efe;(function(_0x375781,_0x282ea5){var _0x39467b=_0x3efe,_0x2f8cdd=_0x375781();while(!![]){try{var _0x2a0fec=-parseInt(_0x39467b(0x2a3))/0x1+-parseInt(_0x39467b(0x476))/0x2+-parseInt(_0x39467b(0x267))/0x3+parseInt(_0x39467b(0x422))/0x4+-parseInt(_0x39467b(0x307))/0x5*(parseInt(_0x39467b(0x2d7))/0x6)+-parseInt(_0x39467b(0x33f))/0x7+parseInt(_0x39467b(0x4b3))/0x8;if(_0x2a0fec===_0x282ea5)break;else _0x2f8cdd['push'](_0x2f8cdd['shift']());}catch(_0x679859){_0x2f8cdd['push'](_0x2f8cdd['shift']());}}}(_0x280d,0x27e56));var yi=Object[_0x453300(0x272)],Ni=(_0x2add3f,_0x1e5ea1,_0xac40f0)=>_0x1e5ea1 in _0x2add3f?yi(_0x2add3f,_0x1e5ea1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xac40f0}):_0x2add3f[_0x1e5ea1]=_0xac40f0,N=(_0x2046da,_0x500208,_0x19fcb6)=>Ni(_0x2046da,typeof _0x500208!='symbol'?_0x500208+'':_0x500208,_0x19fcb6);import{CollaborationEvent as _0x5d12f3,ITransformService as _0x401a29,isTransformMutationsWithChangesetSuccess as _0x56eaaa,mapDocumentTypeToUniverType as _0x5613a0,RevisionService as _0x5f2a0b,isTransformChangesetsSuccess as _0x457b63,CompressMutationService as _0x4fc4f5,parseProtocolChangeset as _0x5dc1b6,uuidv4 as _0x50016d,ISnapshotServerService as _0x1e567a,parseChangesetToProtocol as _0x24d9d3,SnapshotService as _0x3f6b40,textEncoder as _0x417674,b64DecodeUnicode as _0x1014a4,isTransformMutationsWithChangesetFailure as _0x5adda1,UniverCollaborationPlugin as _0x326d67}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x53fd32,Inject as _0x310792,UserManagerService as _0x1ddf57,Disposable as _0x3ffcb6,UniverInstanceType as _0x4b5640,ILogService as _0x2da007,IConfigService as _0x70ee0c,Optional as _0x3ff866,RxDisposable as _0x38e82b,createIdentifier as _0x4bf165,Injector as _0x152897,Tools as _0x1ceae2,Rectangle as _0x1b88eb,ICommandService as _0x30c9a4,JSONX as _0x4abe97,CommandType as _0x20f682,IUndoRedoService as _0x251170,IPermissionService as _0x5a06f5,LocaleService as _0x1ff2e2,sequenceExecute as _0x2e31a0,toDisposable as _0x20e220,DisposableCollection as _0x399906,Workbook as _0xffb5a,generateRandomId as _0x5f0ebb,MentionType as _0x1f7772,isInternalEditorID as _0xefa77b,LocalUndoRedoService as _0x41e428,IContextService as _0x13644b,DependentOn as _0x274d38,Plugin as _0x29171d,merge as _0x1715a1,mergeOverrideWithDependencies as _0x94ed36,IAuthzIoService as _0x2836b5,IMentionIOService as _0x4202ac,registerDependencies as _0x2ee7bf,Quantity as _0x3ec65e,touchDependencies as _0x249934}from'@univerjs/core';import{RichTextEditingMutation as _0x42c183}from'@univerjs/docs';import{SheetsSelectionsService as _0x2c39b5,SetSelectionsOperation as _0x58c4e9,InsertSheetMutation as _0x557d28,EmptyMutation as _0x57c7fd,WorkbookEditablePermission as _0x148954,SheetPermissionInitController as _0x3657c5}from'@univerjs/sheets';import{Subject as _0x2af173,merge as _0x3a770f,of as _0xf0009c,BehaviorSubject as _0x426c33,takeUntil as _0x857c83,ReplaySubject as _0x3f40f6,take as _0x4a11af,map as _0x362d1b,shareReplay as _0x496c39,firstValueFrom as _0x2bdf72,concatMap as _0x6c9a21}from'rxjs';function _0x280d(){var _0x222606=['[PendingState]:\x20unhandled\x20univer\x20type:\x20','status$','send','format','update','executeCommand','_collaborationUIEventService','title','collaborators','image/bmp','_socket$','post','fetch_missing','BufferedBlockAlgorithm','_sheetTransformSelectionsService','Error\x20on\x20receiving\x20event','toString','_substituteRedoStack','onCommentUpdate','_transformRemoteChangesetByStateCache','reqId','code','auth.needGotoLoginAlert','members','_sessions','fetching\x20missing\x20changesets\x20from\x20','name','MUTATION','cmd','_init','snapshot','getOwnPropertyDescriptor','_createInitialStateImpl','HttpExport','reverse','getCurrentRevOfUnit','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CLOSE_ROOM','_waitCount','[CollaborationState]:\x20apply\x20error!','set','_singleActiveUnitService','__Key__','_onJoinRoomEvent','equals','hasOwnProperty','_localCacheService','substr','event$','_onRemoteRejected','EMAIL_VERIFY_CODE_MISMATCH','getUnitId','roles','decryptBlock','updateMember','collaboration-client.local-cache-service','msCrypto','objectID','_queuedRemoteChangesets','uploadFileServerUrl','Encryptor','not_collab','sessionStatus','_invKeySchedule','_clearTimeoutTimer','_replayCachedMutations','loginUrlKey','[CollaborationEntity]','SNAPSHOT_INVALID_SNAPSHOT','PERMISSION_DENIED','_userManagerService','mutations','_substituteUndoStack','headers','/universer-api/authz','_resendTimer','prototype','forEach','_ENC_XFORM_MODE','_transformIMECache','_initDependencies','getCollabEntity','_nDataBytes','UNIVER_COLLABORATION_CLIENT_PLUGIN','_undoStacks','_eventService','[CollaborationUndoRedoService]','_socket','UNKNOWN_CMD','then','localeService','_unitID','_state','_updateState','put','baseRev','_entityInit$','ceil','onRemoteAck','_config','fetchThroughInterceptors','sendChangesetTimeout','_httpService','/allowed','_cipher','AWAITING','_mode','listRoles','_exhaustRemoteChangesetQueue','emitEvent','_commandService','onTransformRemoteChangesetByStateCache','__creator','close','USER_NOT_INVITED_CODE','/universer-api/comb','NEW_CHANGESETS','getRoom','textRanges','parse','range','deepClone','target','_showConflictNotification','INTERNAL_ERROR','byteLength','awaitingChangeset','cfg','onlyLocal','_transitionLocked','originalMeta','MD5','HEARTBEAT_TIMEOUT','_logService','createInstance','getUnitStatus$','objectActions','_clearUndo','YUUMI_SUBSCRIPTION_NOT_FOUND','676476xFXLjU','_hasher','c1Prime','splice','save\x20fail\x20reason\x20is\x20','floor','liveShareNewHost','clear','SYNCED','getCurrentUser','online$','length','UnitEmbedded','subject','SHA1','_members','_onUserLeave','LOCAL_CACHE_INTERVAL','getMemberID','_oKey','createDecryptor','CHANGESET_REVISION_CONFILICT','readAsDataURL','_getCurrentRevision','readyForCollab','collaboratorID','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_getSignURL','find','telemetry\x20info\x20is\x20not\x20initialized','_removeRoom','addHandlerCallback','from','onCommandExecuted','_sendingTimer','IDLE','has','_incrementRevisionNumber','onSendChangeset','getSnapshotAPIPath','LICENSE_DISTRO_REJECTED','/object/','_lockTransition','[PendingState]:\x20received\x20rejection.','/rev/','BASE64','objectType','UPDATE_CURSOR','UUID','_entities','_collaborationTimeoutTimer','patch','_getRedoStack','_registerDependencies','revision','CBC','sheets','/-/object/-/batch_allowed','_doFinalize','_keySchedule','_remoteChangesetQueue','_imageSourceCache','_initMergeInterceptor','string','_type','disableLocalCache','FAIL','_DEC_XFORM_MODE','collaboration-client.config','catch','keySize','changesets','_pendingMutations','_localeService','_commentUpdate$','LICENSE_IMPORT_SIZE_EXCEEDED','_collaborationSessionService','appendMutation','apply','\x20-\x20','resolve','error','session.room-full','processBlock','461250Vlhzgj','/universer-api/user/session-ticket','extend','clone','loadOfflineData','unknown','getAllMembers','getDeserializedSheetBlock','LIVESHARE_OPERATION','_keyPriorReset','encrypt','APPLY_REJECT','file','CONNECTOR_DATA_TOO_LARGE','BlockCipherMode','getTypeOfUnitDisposed$','/object','message$','PERMISSION_REJ','_startTelemetryCollaborationNewChangeset','getResourcesRequest','YUUMI_URL_COL_OUT_OF_RANGE','list','YUUMI_ASYNCIO_CANCELLED','onStateChange','COMPRESS_MUTATION_SEND','_createHandler','RETRY_CONNECTING_MAX_COUNT','_retryCount','_tryEnsureSocket','SHOULD_CLOSE_CONN','toggleOffline','HmacSHA1','_iv','allowed','SNAPSHOT_HAS_BEEN_REMOVED','requestParams','getTypeOfUnitAdded$','addImageSourceCache','setWaitCount','fromCharCode','_clearRetryConnectingTimer','_socketService','CHANGESET_REJ','univer-pro.collaboration-client.single-active-unit-service','saveChangeset','transformMutationsWithChangeset','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','size','image/jpeg','_handler','_socketMessageSubscription','m2Prime','_executeRemoteChangeset','UNISCRIPT_RUN','iterations','_unlockTransition','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_REQUEST_HOST','setCurrentUser','UserProfileImg','5453816nMEDnJ','_snapshotServerService','sigBytes','actions','_changesetReqId','SUBMIT_CHANGESET_TIMEOUT','UNKNOWN_CODE','_applyRemoteChangeset','_nRounds','userID','_transformRemoteChangesetByIMECache','[OfflineState]:\x20received\x20rejection.','push','PSEUDO_FETCH_MISSING_RESULT','People','_sessionStatus$','_data','sid','csRejEvent','_decreaseWaiting','_initUnitPermissionChange','_redoStacks','_clearLocalCache','_rescheduleHeartbeat','_undoRedoService','MSG_FOR_ERROR','random','onTransformRemoteChangesetByIMECache','abs','ciphertext','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','transformChangesets','socket\x20open.','fromCollab','Could\x20not\x20dynamically\x20require\x20\x22','function','confirm','authzUrl','APPLY_REVISION_CONFILICT','FileId','pipe','delete','_syncEditingCollabCursor','ENSURE_SNAPSHOT_EXECUTION','EvpKDF','onRemoteRej','reject','getUnitOnRev','key','LICENSE_MAX_UNITS_EXCEEDED','/fetchmissing?from=','createCollaborator','USERS_ENTER','pending','byteOffset','onRemoteRetry','Malformed\x20UTF-8\x20data','src','filter','_state$','Cipher','socket$','_transformStateCache','getLatestCsReqIdBySid','asObservable','listCollaborators','Base64','getUnit','_checkMissing','body','getRandomValues','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SUCCUSS','SUBMIT_CHANGESET','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','StreamCipher','isPermissionRej','offline','_stopTelemetryCollaborationNewChangeset','onLocalMutation','JOIN','_candidateSocket','?size=','USERS_LEAVE','_acknowledgedAwaitingChangeset','algo','enc','selections','_waitForHeartbeatResponse','image/jpg','dispose','_map','GLOBAL_ROOMS_CNT_EXCEEDS','LIVESHARE_FETCH_OPERATIONS','conflict','requireSession','DEFAULT_FILE_NAME','create','_doReset','PENDING','collabSubmitChangesetUrl','getCollabEntity$','_socketReady','localCacheService','csAckEvent','capture','PasswordBasedCipher','YUUMI_AI_RUN_FAILED','withCredentials','UPDATE_PERMISSION_OBJ','unitID','_transformSelections','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','batchAllowed','joinRsp','_compressMutationService','_onRecvEvent','CHANGESET_SHOULD_RETRY','mode','_shouldReportTelemetry','socket\x20close','/collaborator','unpad','sin','HELLO','WordArray','getActiveSheet','_getUndoStack','workbook','Base','LOGIN_FAILED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','synced','getSheetBlock','onRemoteChangeset','setShowComponents','fetchMissingChangesets','getFocusedUnit','/-/object/list','LICENSE_EXPORT_SIZE_EXCEEDED','sessionStatus$','APPLY_DUPLICATED','_doProcessBlock','TOO_MANY_REQUESTS','failed\x20to\x20apply\x20missed\x20changesets!','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','POST','/universer-api/snapshot','socketService','_onLocalMutation','_revisionService','params','session.join-failed','randomBytes','_doCreateSocket','clamp','INVALID_INVITE_CODE','CONFLICT','loadDoc','disposeWithMe','_transformStack','UNDEFINED','words','[DataLoaderService]','unitId\x20is\x20not\x20found','NOT_FOUND','transformSelections','open$','entityInit$','UNAUTHENTICATED','saveSnapshot','transformStack\x20failed!','Hasher','every','state','_process','_retryConnectingTimer','_resendTimeout','_clearScheduledTask','/universer-api/uniscript','charAt','method','resourceIDs','isArray','INGEST','_status$','incrementRevOfUnit','INVITE_CODE_ALREADY_BOUND','removeMember','71637UGzeUJ','UNIVER_DOC','retryConnectingInterval','_createHelper','change$','buffer','_append','$super','BlockCipher','action','url','defineProperty','INVITE_CODE_REQUIRED','MOBILE_HAS_BEEN_BOUND','_submitChangeset','YUUMI_RATE_OVER_LIMIT','hasher','_scheduleCompleteTimestamp','_HTTPService','_startCollaboration','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','editing\x20status\x20changed\x20to','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','HEARTBEAT','collaboration_new_changeset','_updateLocalCache','onSyncEditingCollabCursor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_key','_members$','reconnect','COMPRESS_MUTATION_APPLY','onMissedChangesetFetched','session','_minBufferSize','JOINING','SOCKET_FAILED_RETRY','_configService','_xformMode','call','LEAVE','encode','_sendHeartbeatTimer','&source=','{fileID}','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ERROR_IMAGE','_joinRoom','init','_onRemoteACK','updateCursorEvent','encryptBlock','onTransformSelections','_createSocket','enableSingleActiveInstanceLock','subscribe','_onConnectionOpen','error$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','PERSON','216061RTURBg','dispose$','_collabSessionService','updateSnapshot','lib','OTHER_CLIENTS_EDITING','enableOfflineEditing','_memberService','padding','awaiting_with_pending','_roomCreated$','CipherParams','close$','avatar','_snapshotService','map','_change$','location','_onRemoteRetry','fetchMiss','origin','getCurrentSelections','_onRemoteChangeset','routeKey','slice','AES','get','reset','_transformUndoredo','INVALID_ARGUMENT','unsubscribe','_listenToNetworkCondition','/new_changes','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_CONNECTOR_URL_NOT_FOUND','_toggleOffline','putCollaborators','blockSize','objects','_getSendChangesetTimeout','_sendHeartbeat','_scheduleCollaborationTimeoutTimer','finalize','charCodeAt','_toggleOnline','_tryReconnect','c2Prime','_getAPIPrefix','_telemetryInfo','EMAIL_HAS_BEEN_BOUND','_parse','OFFLINE','118482KWZoyT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getConfig','_changesetSessionId','now','_networkConditionService','getInterceptPoints','startTime','createSocket','newCsEvent','registerHTTPInterceptor','Latin1','_createHmacHelper','/block/','downloadEndpointUrl','/universer-api/oidc/authpage','getImage','pluginName','editingUnit','add','_hash','getWorkbookSelections','default','JOIN_ROOM_PERMISSION_DENIED','data','UNIVER_UNKNOWN','SNAPSHOT_URL_KEY','COMPLETION_FINISHED','_timeoutTimer','[SyncedState]:\x20received\x20rejection.','OpenSSL','/universer-api/file/{fileID}/sign-url','createEncryptor','crypto','state$','interceptor','_iKey','duration','onTransformIME','FETCH_MISSING','stringify','_disableEditing','_getUploadFileURL','_clearHeartbeatTimer','roomInfos','memberID','_injector','45KvQRZJ','eventID','_emitMembers','updatePermissionPoint','LIVESHARE_TERMINATE','_onConnectionFailed','_isPermissionRej','_initCloseConn','getMember','stopTime','type','_onConflict','collabWebSocketUrl','_univerInstanceService','ONLINE','_event$','RECV','OPTIONAL','href','join','_roomMembers','updateCollaborator','_getCtorByUniverType','members$','kdf','onload','UnitSnapshot','updateOfflineData','/unit/','YUUMI_ALL_TABLES_IS_INVALID','_transformService','_instanceService','JOIN_ROOM_NOT_EXISTS','UNIVER_SLIDE','YUUMI_UNABLE_LOAD_URL','refreshPermission','_collaborationPaused','LIVESHARE_NEW_HOST','subUnitId','compute','NO_OTHER_CLIENTS_EDITING','_clearCollaborationTimeoutTimer','readInt32LE','unitId','pauseCollaboration','PY_RUNTIME_SCRIPT_ERROR','UNRECOGNIZED','getUnitType','OTHER_CLIENT_EDITING','getValue','debug','connection\x20error','JOIN_ROOM_FULL','Decryptor','focused$','MOBILE_VERIFY_CODE_MISMATCH','274008uoLQQf','shouldCloseConn','\x20in\x20_schedule.','Utf8','getTime','COMMENT_UPDATE','_getDownloadEndpointURL','submit\x20changeset\x20error!','_telemetryService','/role','_initRequestHeader','_reverseMap','INVITE_CODE_HAS_BEEN_UES','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformUndoRedo','[OfflineState]:\x20received\x20acknowledgement.','loadUnitOfRevision','Pkcs7','_doCryptBlock','CHANGESET_ACK','_sender','_prevBlock','_unitInfo$','APPLY_PERMISSION_DENIED','ws://127.0.0.1:8000/universer-api/comb/connect','loadSheet','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onMessage','complete','JOIN_ROOM_FAILED','_commentService','ERROR_EXCEED_SIZE','_onCombEvent','YUUMI_NO_CUBOID_FOR_QUESTION','pad','concat','_permissionService','enableCollaboration','WECHAT_HAS_BEEN_BOUND','_awaitingChangeset','reduce','_onUserJoin','_getLoginPath','_handlerCallback','loadUnit','getImageSourceCache','_fetchMissChangesets','UNIVER_SHEET','execute','_throwTelemetryCollaborationNewChangeset','next','setConfig','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_schedule','signUrlServerUrl','UNIVER_PROJECT','onMissingChangesets','onTransformState','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','encodeURIComponent','exports','resend','status','toggleOnline','_onOffline','mixIn','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','override','_resendWithTimeout','_updateStatus','_getAPIPrefixPath','onStarting','[FetchMissState]','entries','leaveEvent','salt','HttpImport','SOCKET_FAILED','infoRsp','append','_createInitialState','NoPadding','commentUpdateEvent','[CollaborationSession]','enableAuthServer','closeSession','/universer-api/snapshot/','result'];_0x280d=function(){return _0x222606;};return _0x280d();}import{ITelemetryService as _0x5ca0fa}from'@univerjs/telemetry';import{map as _0x3a7978,take as _0xf6860,filter as _0x3a2573,delay as _0xbc7e24,takeUntil as _0x23b76a}from'rxjs/operators';import{HTTPService as _0x3b868d,ISocketService as _0x1016c1,MergeInterceptorFactory as _0x44ee82,HTTPRequest as _0x1039a6,UniverNetworkPlugin as _0x505b31,ThresholdInterceptorFactory as _0x2891a8}from'@univerjs/network';import{ImageSourceType as _0x13812c,ImageUploadStatusType as _0x4a05df,IImageIoService as _0x5a1daa}from'@univerjs/drawing';import{getGlobalObject as _0x3a9287}from'@univerjs-pro/license';const fs=_0x453300(0x23d),vs=_0x453300(0x2f2),ps=0x7d0,ms=_0x453300(0x357),Ir=_0x453300(0x477),gs='HEARTBEAT_INTERVAL',Ss=0x7530,di=_0x453300(0x41b),fi=0x4e20,Es=0x4e20,Is=_0x453300(0x491),Ts=0x3,Tr=_0x453300(0x433),Cr=0x3e8,Cs=_0x453300(0x40a),Rs=_0x453300(0x2e7),Rr=_0x453300(0x1f4),Or=_0x453300(0x25d);var vi=(_0x53138d=>(_0x53138d[_0x53138d['UNDEFINED']=0x0]=_0x453300(0x24b),_0x53138d[_0x53138d['OK']=0x1]='OK',_0x53138d[_0x53138d['INTERNAL_ERROR']=0x2]=_0x453300(0x413),_0x53138d[_0x53138d[_0x453300(0x3dc)]=0x3]='PERMISSION_DENIED',_0x53138d[_0x53138d[_0x453300(0x24f)]=0x4]=_0x453300(0x24f),_0x53138d[_0x53138d[_0x453300(0x253)]=0x5]=_0x453300(0x253),_0x53138d[_0x53138d['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x53138d[_0x53138d[_0x453300(0x2c0)]=0x7]=_0x453300(0x2c0),_0x53138d[_0x53138d[_0x453300(0x239)]=0x8]=_0x453300(0x239),_0x53138d[_0x53138d['COMPLETION_FINISHED']=0x9]=_0x453300(0x2f3),_0x53138d[_0x53138d[_0x453300(0x22c)]=0xa]=_0x453300(0x22c),_0x53138d[_0x53138d['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x453300(0x33e),_0x53138d[_0x53138d[_0x453300(0x34c)]=0xc]=_0x453300(0x34c),_0x53138d[_0x53138d[_0x453300(0x3c9)]=0xd]=_0x453300(0x3c9),_0x53138d[_0x53138d['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x453300(0x2d8),_0x53138d[_0x53138d[_0x453300(0x437)]=0x1389]=_0x453300(0x437),_0x53138d[_0x53138d[_0x453300(0x3db)]=0x1771]=_0x453300(0x3db),_0x53138d[_0x53138d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x453300(0x499),_0x53138d[_0x53138d[_0x453300(0x1d5)]=0x1773]=_0x453300(0x1d5),_0x53138d[_0x53138d[_0x453300(0x481)]=0x1b59]=_0x453300(0x481),_0x53138d[_0x53138d[_0x453300(0x2c4)]=0x1b5a]=_0x453300(0x2c4),_0x53138d[_0x53138d[_0x453300(0x1d0)]=0x1b5b]=_0x453300(0x1d0),_0x53138d[_0x53138d[_0x453300(0x356)]=0x1b5c]=_0x453300(0x356),_0x53138d[_0x53138d[_0x453300(0x237)]=0x1b5d]='APPLY_DUPLICATED',_0x53138d[_0x53138d[_0x453300(0x483)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x53138d[_0x53138d[_0x453300(0x1db)]=0x2329]=_0x453300(0x1db),_0x53138d[_0x53138d[_0x453300(0x2a1)]=0x232a]=_0x453300(0x2a1),_0x53138d[_0x53138d[_0x453300(0x46d)]=0x232b]=_0x453300(0x46d),_0x53138d[_0x53138d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x453300(0x235),_0x53138d[_0x53138d[_0x453300(0x44a)]=0x232d]=_0x453300(0x44a),_0x53138d[_0x53138d[_0x453300(0x329)]=0x2711]=_0x453300(0x329),_0x53138d[_0x53138d[_0x453300(0x48b)]=0x2712]=_0x453300(0x48b),_0x53138d[_0x53138d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x453300(0x276),_0x53138d[_0x53138d[_0x453300(0x421)]=0x2714]=_0x453300(0x421),_0x53138d[_0x53138d[_0x453300(0x360)]=0x271a]=_0x453300(0x360),_0x53138d[_0x53138d[_0x453300(0x48d)]=0x271b]=_0x453300(0x48d),_0x53138d[_0x53138d['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x453300(0x282),_0x53138d[_0x53138d[_0x453300(0x324)]=0x271d]=_0x453300(0x324),_0x53138d[_0x53138d[_0x453300(0x23b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x53138d[_0x53138d[_0x453300(0x215)]=0x271f]=_0x453300(0x215),_0x53138d[_0x53138d[_0x453300(0x2c5)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x53138d[_0x53138d[_0x453300(0x334)]=0x2af9]=_0x453300(0x334),_0x53138d[_0x53138d[_0x453300(0x34b)]=0x2ee1]=_0x453300(0x34b),_0x53138d[_0x53138d[_0x453300(0x246)]=0x2ee2]=_0x453300(0x246),_0x53138d[_0x53138d[_0x453300(0x273)]=0x2ee3]=_0x453300(0x273),_0x53138d[_0x53138d[_0x453300(0x409)]=0x2ee4]=_0x453300(0x409),_0x53138d[_0x53138d[_0x453300(0x265)]=0x2ee5]=_0x453300(0x265),_0x53138d[_0x53138d[_0x453300(0x365)]=0x32c9]=_0x453300(0x365),_0x53138d[_0x53138d[_0x453300(0x274)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x53138d[_0x53138d[_0x453300(0x2d4)]=0x32cb]=_0x453300(0x2d4),_0x53138d[_0x53138d['UNRECOGNIZED']=-0x1]=_0x453300(0x335),_0x53138d))(vi||{}),Z=(_0x58608f=>(_0x58608f[_0x58608f[_0x453300(0x2f1)]=0x0]=_0x453300(0x2f1),_0x58608f[_0x58608f[_0x453300(0x268)]=0x1]=_0x453300(0x268),_0x58608f[_0x58608f[_0x453300(0x36e)]=0x2]=_0x453300(0x36e),_0x58608f[_0x58608f[_0x453300(0x328)]=0x3]=_0x453300(0x328),_0x58608f[_0x58608f[_0x453300(0x376)]=0x4]='UNIVER_PROJECT',_0x58608f[_0x58608f[_0x453300(0x335)]=-0x1]='UNRECOGNIZED',_0x58608f))(Z||{}),F=(_0x373b77=>(_0x373b77[_0x373b77[_0x453300(0x3ef)]=0x0]='UNKNOWN_CMD',_0x373b77[_0x373b77[_0x453300(0x226)]=0x1]=_0x453300(0x226),_0x373b77[_0x373b77[_0x453300(0x1fa)]=0x2]=_0x453300(0x1fa),_0x373b77[_0x373b77[_0x453300(0x28f)]=0x3]=_0x453300(0x28f),_0x373b77[_0x373b77[_0x453300(0x262)]=0x4]=_0x453300(0x262),_0x373b77[_0x373b77[_0x453300(0x27e)]=0x5]=_0x453300(0x27e),_0x373b77[_0x373b77['RECV']=0x6]=_0x453300(0x317),_0x373b77[_0x373b77[_0x453300(0x335)]=-0x1]=_0x453300(0x335),_0x373b77))(F||{}),pe=(_0xb471a=>(_0xb471a[_0xb471a[_0x453300(0x4b9)]=0x0]='UNKNOWN_CODE',_0xb471a[_0xb471a['OK']=0x1]='OK',_0xb471a[_0xb471a[_0x453300(0x464)]=0x2]='FAIL',_0xb471a[_0xb471a['JOIN_ROOM_FULL']=0x3e9]=_0x453300(0x33b),_0xb471a[_0xb471a[_0x453300(0x327)]=0x3ea]=_0x453300(0x327),_0xb471a[_0xb471a[_0x453300(0x2ef)]=0x3eb]=_0x453300(0x2ef),_0xb471a[_0xb471a[_0x453300(0x206)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xb471a[_0xb471a[_0x453300(0x335)]=-0x1]='UNRECOGNIZED',_0xb471a))(pe||{}),pi=(_0x4aba4e=>(_0x4aba4e[_0x4aba4e['Undefined']=0x0]='Undefined',_0x4aba4e[_0x4aba4e[_0x453300(0x38b)]=0x1]=_0x453300(0x38b),_0x4aba4e[_0x4aba4e[_0x453300(0x3b8)]=0x2]=_0x453300(0x3b8),_0x4aba4e[_0x4aba4e['UnitEmbedded']=0x3]=_0x453300(0x42e),_0x4aba4e[_0x4aba4e[_0x453300(0x321)]=0x4]=_0x453300(0x321),_0x4aba4e[_0x4aba4e[_0x453300(0x4b2)]=0x5]=_0x453300(0x4b2),_0x4aba4e[_0x4aba4e['UNRECOGNIZED']=-0x1]=_0x453300(0x335),_0x4aba4e))(pi||{});const Os=_0x453300(0x27f);function bs(_0x11de2d){var _0x1966fd=_0x453300;return JSON[_0x1966fd(0x300)](_0x11de2d)['length'];}var ne=(_0x2bffb7=>(_0x2bffb7['OTHER_CLIENT_EDITING']=_0x453300(0x337),_0x2bffb7[_0x453300(0x3dc)]='PERMISSION_DENIED',_0x2bffb7[_0x453300(0x247)]=_0x453300(0x247),_0x2bffb7['CLOSE_ROOM']='CLOSE_ROOM',_0x2bffb7[_0x453300(0x35c)]=_0x453300(0x35c),_0x2bffb7[_0x453300(0x28b)]=_0x453300(0x28b),_0x2bffb7['SOCKET_FAILED']=_0x453300(0x38c),_0x2bffb7[_0x453300(0x4b8)]='SUBMIT_CHANGESET_TIMEOUT',_0x2bffb7))(ne||{});class ve{constructor(){var _0x398c05=_0x453300;N(this,_0x398c05(0x316),new _0x2af173()),N(this,_0x398c05(0x3c7),this[_0x398c05(0x316)][_0x398c05(0x1ea)]());}['emitEvent'](_0x14ed7d){var _0x12c4e6=_0x453300;this[_0x12c4e6(0x316)][_0x12c4e6(0x371)](_0x14ed7d);}}class mi{constructor(){var _0x3e7be3=_0x453300;N(this,_0x3e7be3(0x46c),new _0x2af173()),N(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x453300(0x3a9)](_0x521f15){this['_commentUpdate$']['next'](_0x521f15);}}var ys=Object['getOwnPropertyDescriptor'],Ns=(_0x4c0f12,_0x1daae6,_0x3eb809,_0x1c92c6)=>{var _0x330dc5=_0x453300;for(var _0x2e040c=_0x1c92c6>0x1?void 0x0:_0x1c92c6?ys(_0x1daae6,_0x3eb809):_0x1daae6,_0x59cc0b=_0x4c0f12[_0x330dc5(0x42d)]-0x1,_0x1c32b8;_0x59cc0b>=0x0;_0x59cc0b--)(_0x1c32b8=_0x4c0f12[_0x59cc0b])&&(_0x2e040c=_0x1c32b8(_0x2e040c)||_0x2e040c);return _0x2e040c;},Ft=(_0x59ae00,_0x531bac)=>(_0x3a4e83,_0x439e9e)=>_0x531bac(_0x3a4e83,_0x439e9e,_0x59ae00);let we=class extends _0x3ffcb6{constructor(_0x3c0b9d,_0x1ef7ae){var _0x481bd4=_0x453300;super(),N(this,_0x481bd4(0x31b),new Map()),N(this,'_roomCreated$',new _0x2af173()),(this[_0x481bd4(0x314)]=_0x3c0b9d,this[_0x481bd4(0x3dd)]=_0x1ef7ae,this[_0x481bd4(0x249)](_0x3a770f(this[_0x481bd4(0x314)][_0x481bd4(0x485)](_0x4b5640['UNIVER_SHEET'])[_0x481bd4(0x1d2)](_0x3a7978(_0xc5a95d=>_0xc5a95d[_0x481bd4(0x3ca)]())),this[_0x481bd4(0x314)][_0x481bd4(0x485)](_0x4b5640['UNIVER_DOC'])[_0x481bd4(0x1d2)](_0x3a7978(_0x3e6ebb=>_0x3e6ebb['getUnitId']())),this[_0x481bd4(0x314)][_0x481bd4(0x485)](_0x4b5640[_0x481bd4(0x328)])['pipe'](_0x3a7978(_0xcabe0e=>_0xcabe0e[_0x481bd4(0x3ca)]())))['subscribe'](_0x109bae=>this[_0x481bd4(0x440)](_0x109bae))));}['waitForRoom$'](_0x47de66){var _0x1cd47f=_0x453300;return this[_0x1cd47f(0x31b)][_0x1cd47f(0x446)](_0x47de66)?_0xf0009c(this[_0x1cd47f(0x31b)][_0x1cd47f(0x2bd)](_0x47de66)):this[_0x1cd47f(0x2ad)][_0x1cd47f(0x1d2)](_0x3a7978(_0x3a61b9=>{var _0x626911=_0x1cd47f;if(_0x3a61b9===_0x47de66)return this[_0x626911(0x31b)]['get'](_0x3a61b9);}));}['setCurrentUser'](_0x2e6915){var _0x3ccc39=_0x453300;this[_0x3ccc39(0x3dd)][_0x3ccc39(0x4b1)](_0x2e6915);}['getCurrentUser'](){var _0xa07d24=_0x453300;return this[_0xa07d24(0x3dd)][_0xa07d24(0x42b)]();}[_0x453300(0x3cd)](_0x1ca9c2,_0x9d54f2){var _0x2f5ea2=_0x453300;let _0x47db1b=this[_0x2f5ea2(0x31b)][_0x2f5ea2(0x2bd)](_0x1ca9c2);_0x47db1b||(_0x47db1b=new Ds(),this[_0x2f5ea2(0x31b)][_0x2f5ea2(0x3bf)](_0x1ca9c2,_0x47db1b),this[_0x2f5ea2(0x2ad)][_0x2f5ea2(0x371)](_0x1ca9c2)),_0x47db1b['updateMember'](_0x9d54f2);}['removeMember'](_0x396134,_0x465b2f){var _0x3b4f80=_0x453300;const _0x44b3b8=this[_0x3b4f80(0x31b)][_0x3b4f80(0x2bd)](_0x396134);_0x44b3b8&&_0x44b3b8[_0x3b4f80(0x266)](_0x465b2f);}[_0x453300(0x40c)](_0x506619){var _0x3ae7ed=_0x453300;return this[_0x3ae7ed(0x31b)][_0x3ae7ed(0x2bd)](_0x506619);}['getMember'](_0x39e6f3,_0x4a6f92){var _0x419a14=_0x453300;const _0x2e3db8=this[_0x419a14(0x31b)][_0x419a14(0x2bd)](_0x39e6f3);if(_0x2e3db8)return _0x2e3db8[_0x419a14(0x30f)](_0x4a6f92);}['_removeRoom'](_0x5389b0){var _0x2d0b15=_0x453300;const _0x197dc9=this[_0x2d0b15(0x31b)][_0x2d0b15(0x2bd)](_0x5389b0);_0x197dc9&&(_0x197dc9['dispose'](),this[_0x2d0b15(0x31b)][_0x2d0b15(0x1d3)](_0x5389b0));}[_0x453300(0x204)](){var _0x235edf=_0x453300;this[_0x235edf(0x31b)]['forEach'](_0x312176=>_0x312176[_0x235edf(0x204)]()),this[_0x235edf(0x31b)][_0x235edf(0x429)](),this[_0x235edf(0x2ad)][_0x235edf(0x35b)]();}};we=Ns([Ft(0x0,_0x53fd32),Ft(0x1,_0x310792(_0x1ddf57))],we);class Ds extends _0x3ffcb6{constructor(){var _0x57acc5=_0x453300;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x426c33(this['_members'])),N(this,_0x57acc5(0x31e),this['_members$']['asObservable']());}[_0x453300(0x204)](){var _0x2a870f=_0x453300;this[_0x2a870f(0x431)][_0x2a870f(0x429)]();}['updateMember'](_0x52ed0b){var _0x5bd5ea=_0x453300;this[_0x5bd5ea(0x431)]['set'](_0x52ed0b['memberID'],_0x52ed0b),this[_0x5bd5ea(0x309)]();}[_0x453300(0x266)](_0x534ab8){var _0x3c5524=_0x453300;this[_0x3c5524(0x431)][_0x3c5524(0x1d3)](_0x534ab8);}[_0x453300(0x30f)](_0x314025){var _0x582500=_0x453300;return this['_members'][_0x582500(0x2bd)](_0x314025);}[_0x453300(0x47c)](){var _0x3fb63c=_0x453300;return Array[_0x3fb63c(0x442)](this[_0x3fb63c(0x431)]['values']());}['_emitMembers'](){var _0xe95a56=_0x453300;this[_0xe95a56(0x284)][_0xe95a56(0x371)](this[_0xe95a56(0x431)]);}}var Us=Object[_0x453300(0x3b6)],As=(_0x17a5e4,_0x5f3582,_0x22efca,_0x28dff5)=>{var _0x2cfe3c=_0x453300;for(var _0x287303=_0x28dff5>0x1?void 0x0:_0x28dff5?Us(_0x5f3582,_0x22efca):_0x5f3582,_0x43ea24=_0x17a5e4[_0x2cfe3c(0x42d)]-0x1,_0x5864e4;_0x43ea24>=0x0;_0x43ea24--)(_0x5864e4=_0x17a5e4[_0x43ea24])&&(_0x287303=_0x5864e4(_0x287303)||_0x287303);return _0x287303;},Ce=(_0x1c0d69,_0x4be57c)=>(_0xcad0a1,_0x48ec1)=>_0x4be57c(_0xcad0a1,_0x48ec1,_0x1c0d69),ge=(_0x122ca9=>(_0x122ca9[_0x122ca9[_0x453300(0x445)]=0x0]=_0x453300(0x445),_0x122ca9[_0x122ca9[_0x453300(0x28a)]=0x1]=_0x453300(0x28a),_0x122ca9[_0x122ca9[_0x453300(0x2d6)]=0x2]=_0x453300(0x2d6),_0x122ca9[_0x122ca9[_0x453300(0x315)]=0x3]=_0x453300(0x315),_0x122ca9))(ge||{});function _0x3efe(_0x13466,_0x67ec5b){var _0x280d35=_0x280d();return _0x3efe=function(_0x3efe61,_0x402606){_0x3efe61=_0x3efe61-0x1c8;var _0xd5d480=_0x280d35[_0x3efe61];return _0xd5d480;},_0x3efe(_0x13466,_0x67ec5b);}const Vt={[pe[_0x453300(0x464)]]:_0x453300(0x242),[pe[_0x453300(0x33b)]]:_0x453300(0x474),[pe[_0x453300(0x327)]]:'session.room-not-exists',[pe[_0x453300(0x2ef)]]:'session.room-permission-denied',[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let gt=class extends _0x38e82b{constructor(_0x4ec91b,_0x4f0b47,_0x5de0f5,_0x20a45d,_0x1ff2c9,_0xb1e590,_0x7b04d8,_0xef16d5){var _0x1c69cf=_0x453300;super(),N(this,_0x1c69cf(0x4c2),new _0x426c33(0x0)),N(this,_0x1c69cf(0x236),this['_sessionStatus$'][_0x1c69cf(0x1ea)]()),N(this,_0x1c69cf(0x316),new _0x2af173()),N(this,'event$',this[_0x1c69cf(0x316)][_0x1c69cf(0x1ea)]()),N(this,_0x1c69cf(0x3ee)),N(this,_0x1c69cf(0x4a9)),N(this,_0x1c69cf(0x454)),N(this,_0x1c69cf(0x221),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x4ec91b,this[_0x1c69cf(0x41c)]=_0x5de0f5,this[_0x1c69cf(0x28c)]=_0x20a45d,this[_0x1c69cf(0x2aa)]=_0x1ff2c9,this['_commentService']=_0xb1e590,this[_0x1c69cf(0x39d)]=_0x7b04d8,this[_0x1c69cf(0x347)]=_0xef16d5,this[_0x1c69cf(0x221)]=!!this[_0x1c69cf(0x347)],_0x4f0b47['pipe'](_0x857c83(this[_0x1c69cf(0x2a4)]))[_0x1c69cf(0x29e)](_0x362b55=>{var _0x3d52df=_0x1c69cf,_0x36f7b0;typeof _0x362b55>'u'||(this[_0x3d52df(0x3ee)]=_0x362b55,_0x362b55?(this['_joinRoom'](_0x362b55),this[_0x3d52df(0x4a9)]=_0x362b55[_0x3d52df(0x487)]['subscribe'](_0x695d62=>{var _0x3e57d4=_0x3d52df;_0x695d62[_0x3e57d4(0x2ba)]===this['_unitID']&&this[_0x3e57d4(0x35f)](_0x695d62);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3d52df(0x4c2)]['next'](0x2),(_0x36f7b0=this[_0x3d52df(0x4a9)])==null||_0x36f7b0[_0x3d52df(0x2c1)](),this[_0x3d52df(0x4a9)]=null));}));}get[_0x453300(0x3d5)](){var _0x47fc45=_0x453300;return this[_0x47fc45(0x4c2)][_0x47fc45(0x338)]();}[_0x453300(0x434)](){var _0x2b65f1=_0x453300,_0x1cfd61,_0x1c80fd;return(_0x1c80fd=(_0x1cfd61=this[_0x2b65f1(0x3ee)])==null?void 0x0:_0x1cfd61[_0x2b65f1(0x305)])!=null?_0x1c80fd:null;}[_0x453300(0x204)](){var _0x5e5a50=_0x453300;super[_0x5e5a50(0x204)](),this['dispose$'][_0x5e5a50(0x371)](),this[_0x5e5a50(0x2a4)][_0x5e5a50(0x35b)]();}[_0x453300(0x408)](){var _0x5f3868=_0x453300,_0x339d1e,_0x3b3d0d;this[_0x5f3868(0x370)](),(_0x339d1e=this[_0x5f3868(0x3ee)])==null||_0x339d1e[_0x5f3868(0x399)]({'cmd':F[_0x5f3868(0x28f)],'data':{'roomID':this[_0x5f3868(0x3f2)]}}),(_0x3b3d0d=this[_0x5f3868(0x3ee)])==null||_0x3b3d0d[_0x5f3868(0x408)](),this['_event$'][_0x5f3868(0x35b)](),this[_0x5f3868(0x4c2)][_0x5f3868(0x35b)](),this['dispose']();}[_0x453300(0x35f)](_0x319ec7){var _0x4c5521=_0x453300;_0x319ec7[_0x4c5521(0x3b3)]===F[_0x4c5521(0x1fa)]?this[_0x4c5521(0x3c2)](_0x319ec7):_0x319ec7[_0x4c5521(0x3b3)]===F[_0x4c5521(0x317)]&&this[_0x4c5521(0x21e)](_0x319ec7);}[_0x453300(0x296)](_0x370512){var _0x4cab29=_0x453300;this[_0x4cab29(0x4c2)][_0x4cab29(0x371)](0x1),_0x370512[_0x4cab29(0x399)]({'cmd':F[_0x4cab29(0x1fa)],'routeKey':this[_0x4cab29(0x3f2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4cab29(0x3f2)]}]}});}['_onJoinRoomEvent'](_0x546a26){var _0x736782=_0x453300,_0x1939dd;if(_0x546a26[_0x736782(0x3ac)]in Vt){this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x736782(0x35c)],'data':Vt[_0x546a26[_0x736782(0x3ac)]]}),this[_0x736782(0x4c2)]['next'](0x2);return;}this[_0x736782(0x4c2)][_0x736782(0x371)](0x3);const _0x31f84d=(_0x1939dd=_0x546a26['data'][_0x736782(0x304)][this[_0x736782(0x3f2)]])==null?void 0x0:_0x1939dd[_0x736782(0x3ae)];_0x31f84d&&_0x31f84d['forEach'](_0x3f7ddf=>this[_0x736782(0x2aa)][_0x736782(0x3cd)](this[_0x736782(0x3f2)],_0x3f7ddf));}[_0x453300(0x21e)](_0x56ec14){var _0x23590b=_0x453300;try{const _0x577c99=_0x56ec14[_0x23590b(0x2f0)];switch(_0x577c99['eventID']){case _0x5d12f3['USERS_ENTER']:this[_0x23590b(0x368)](_0x577c99),this['_event$'][_0x23590b(0x371)](_0x577c99);break;case _0x5d12f3['USERS_LEAVE']:this[_0x23590b(0x432)](_0x577c99),this[_0x23590b(0x316)][_0x23590b(0x371)](_0x577c99);break;case _0x5d12f3[_0x23590b(0x352)]:case _0x5d12f3[_0x23590b(0x21f)]:this[_0x23590b(0x1f8)](),this[_0x23590b(0x330)](),this[_0x23590b(0x316)]['next'](_0x577c99);break;case _0x5d12f3[_0x23590b(0x4cc)]:this[_0x23590b(0x41c)][_0x23590b(0x473)](_0x23590b(0x426)+JSON[_0x23590b(0x300)](_0x577c99)),this[_0x23590b(0x316)][_0x23590b(0x371)](_0x577c99);break;case _0x5d12f3[_0x23590b(0x344)]:this[_0x23590b(0x35d)][_0x23590b(0x3a9)](_0x577c99[_0x23590b(0x2f0)]),this[_0x23590b(0x316)][_0x23590b(0x371)](_0x577c99);break;default:this[_0x23590b(0x316)][_0x23590b(0x371)](_0x577c99);}}catch(_0x9230af){this['_logService']['error'](_0x9230af,_0x56ec14);}}[_0x453300(0x368)](_0x30fef){var _0x5c2f13=_0x453300;this[_0x5c2f13(0x2aa)]['updateMember'](this[_0x5c2f13(0x3f2)],_0x30fef[_0x5c2f13(0x2f0)]);}[_0x453300(0x432)](_0x50a3b5){var _0xbf3450=_0x453300;this['_memberService']['removeMember'](this[_0xbf3450(0x3f2)],_0x50a3b5[_0xbf3450(0x2f0)][_0xbf3450(0x305)]);}async[_0x453300(0x399)](_0x241f86,_0x3d3a6f){var _0x2ecb8c=_0x453300;if(this[_0x2ecb8c(0x3d5)]!==0x3||!this[_0x2ecb8c(0x3ee)])throw new Error(_0x2ecb8c(0x21a));try{_0x241f86['eventID']===_0x5d12f3['SUBMIT_CHANGESET']&&(this[_0x2ecb8c(0x2cc)](),this[_0x2ecb8c(0x489)](_0x241f86)),this[_0x2ecb8c(0x3ee)][_0x2ecb8c(0x399)]({'cmd':F[_0x2ecb8c(0x262)],'routeKey':_0x3d3a6f,'routeType':'','data':_0x241f86});}catch(_0x2fab61){this[_0x2ecb8c(0x41c)]['error'](_0x2fab61);}}['_scheduleCollaborationTimeoutTimer'](){var _0xce6162=_0x453300,_0xb09c51;this[_0xce6162(0x454)]=setTimeout(()=>{var _0x2f9c71=_0xce6162;this[_0x2f9c71(0x454)]=null,this['_collaborationUIEventService'][_0x2f9c71(0x404)]({'id':ne[_0x2f9c71(0x4b8)]});},(_0xb09c51=this[_0xce6162(0x28c)][_0xce6162(0x2da)](di))!=null?_0xb09c51:fi);}[_0x453300(0x330)](){var _0x25ceeb=_0x453300;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x25ceeb(0x454)]),this['_collaborationTimeoutTimer']=null);}[_0x453300(0x489)](_0x495160){var _0x54fa5c=_0x453300;if(!this[_0x54fa5c(0x221)])return;const {data:_0x222b32}=_0x495160,{unitID:_0x1f91b2,changeset:_0x377ec8}=_0x222b32,{mutations:_0x2b7eed,type:_0x69815a}=_0x377ec8;this['_telemetryInfo']={'unitId':_0x1f91b2,'type':_0x69815a,'startTime':performance[_0x54fa5c(0x2dc)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x2b7eed)};}[_0x453300(0x1f8)](){var _0x3464b6=_0x453300;if(this[_0x3464b6(0x221)]){if(!this[_0x3464b6(0x2d3)]){this['_logService']['error'](_0x3464b6(0x392),_0x3464b6(0x43f));return;}this[_0x3464b6(0x2d3)][_0x3464b6(0x310)]=performance[_0x3464b6(0x2dc)](),this[_0x3464b6(0x2d3)][_0x3464b6(0x2fd)]=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0x3464b6(0x2df)],this[_0x3464b6(0x347)][_0x3464b6(0x213)](Os,this['_telemetryInfo']),this[_0x3464b6(0x2d3)]=null;}}[_0x453300(0x370)](){var _0x4e1414=_0x453300;this[_0x4e1414(0x2d3)]=null;}};gt=As([Ce(0x2,_0x2da007),Ce(0x3,_0x70ee0c),Ce(0x4,_0x310792(we)),Ce(0x5,_0x310792(mi)),Ce(0x6,_0x310792(ve)),Ce(0x7,_0x3ff866(_0x5ca0fa))],gt);const J=_0x4bf165(_0x453300(0x3ce));function br(_0x3be24e){return'unit-cache-'+_0x3be24e;}var ws=Object[_0x453300(0x3b6)],Ps=(_0x2c191b,_0xf10740,_0x4cbb26,_0x556bf5)=>{var _0x5f4bf0=_0x453300;for(var _0x34cf1d=_0x556bf5>0x1?void 0x0:_0x556bf5?ws(_0xf10740,_0x4cbb26):_0xf10740,_0x3e9ad7=_0x2c191b[_0x5f4bf0(0x42d)]-0x1,_0xc1a068;_0x3e9ad7>=0x0;_0x3e9ad7--)(_0xc1a068=_0x2c191b[_0x3e9ad7])&&(_0x34cf1d=_0xc1a068(_0x34cf1d)||_0x34cf1d);return _0x34cf1d;},ut=(_0x1d96ce,_0x35886c)=>(_0x67d823,_0x1449d4)=>_0x35886c(_0x67d823,_0x1449d4,_0x1d96ce);function Ms(_0x1cfaef){var _0xecc16e=_0x453300;const {unitID:_0x486a76,mutations:_0x48ce74}=_0x1cfaef;return{'unitId':_0x486a76,'subUnitId':_0x48ce74[0x0][_0xecc16e(0x241)][_0xecc16e(0x32d)]};}let it=class{constructor(_0x640db1,_0x201d0f,_0x6ff20d){var _0x393a15=_0x453300;this['_injector']=_0x640db1,this[_0x393a15(0x325)]=_0x201d0f,this['_instanceService']=_0x6ff20d;}[_0x453300(0x250)](_0x4e5b1b){var _0x5d8a95=_0x453300,_0x15baeb,_0x52a2c3,_0x1d97af,_0x3a7373;const _0x400068=this['_injector'][_0x5d8a95(0x2bd)](_0x2c39b5),{unitId:_0x26bac4,subUnitId:_0x566282}=Ms(_0x4e5b1b),_0x3beb4a=_0x400068==null?void 0x0:_0x400068[_0x5d8a95(0x2ed)](_0x26bac4)[_0x5d8a95(0x2b8)](),_0x2c0369=(_0x52a2c3=(_0x15baeb=this[_0x5d8a95(0x326)][_0x5d8a95(0x1ed)](_0x26bac4))==null?void 0x0:_0x15baeb[_0x5d8a95(0x228)]())==null?void 0x0:_0x52a2c3['getSheetId']();if(_0x3beb4a[_0x5d8a95(0x42d)]===0x0||!_0x26bac4||!_0x566282)return;const _0x154440=[{'id':_0x58c4e9['id'],'params':{'unitId':_0x26bac4,'subUnitId':_0x2c0369,'selections':_0x1ceae2[_0x5d8a95(0x410)](_0x3beb4a)}}],_0x4021af=this[_0x5d8a95(0x325)][_0x5d8a95(0x4a4)](_0x4e5b1b,_0x154440);if(!_0x56eaaa(_0x4021af))throw _0x4021af[_0x5d8a95(0x473)];const _0x5352a6=(_0x3a7373=(_0x1d97af=_0x4021af[_0x5d8a95(0x4aa)][0x0])==null?void 0x0:_0x1d97af[_0x5d8a95(0x241)])==null?void 0x0:_0x3a7373[_0x5d8a95(0x201)];if(Array['isArray'](_0x5352a6)&&_0x5352a6['length']){if(_0x5352a6[_0x5d8a95(0x42d)]===_0x154440[0x0][_0x5d8a95(0x241)][_0x5d8a95(0x201)][_0x5d8a95(0x42d)]&&_0x5352a6[_0x5d8a95(0x257)]((_0x55bbd8,_0x20aa18)=>_0x1b88eb[_0x5d8a95(0x3c3)](_0x55bbd8[_0x5d8a95(0x40f)],_0x154440[0x0]['params']['selections'][_0x20aa18][_0x5d8a95(0x40f)])))return;this[_0x5d8a95(0x306)][_0x5d8a95(0x2bd)](_0x30c9a4)[_0x5d8a95(0x39c)](_0x58c4e9['id'],{'unitId':_0x26bac4,'subUnitId':_0x2c0369,'selections':_0x5352a6});}}};it=Ps([ut(0x0,_0x310792(_0x152897)),ut(0x1,_0x401a29),ut(0x2,_0x53fd32)],it);const ht=_0x4bf165(_0x453300(0x4a2));var gi=(_0xef67c8=>(_0xef67c8[_0xef67c8[_0x453300(0x32f)]=0x0]=_0x453300(0x32f),_0xef67c8[_0xef67c8[_0x453300(0x2a8)]=0x1]='OTHER_CLIENTS_EDITING',_0xef67c8))(gi||{});const K=_0x453300(0x466),Ls={},xs=new Set([_0x557d28['id']]);function Wt(_0x526811,_0x5d24e9,_0x2094fc,_0x580a99,_0x336ce1){var _0x2cb83b=_0x453300,_0x35f0bf,_0x234800,_0x1edde9,_0x3f8197;const _0x5ee617=[];for(const _0x173815 of _0x526811)if(xs['has'](_0x173815['id'])){if(_0x5ee617[_0x2cb83b(0x42d)]>0x0)break;_0x5ee617[_0x2cb83b(0x4bf)](_0x173815);break;}else _0x5ee617[_0x2cb83b(0x4bf)](_0x173815);const _0xb3bb43=(_0x234800=(_0x35f0bf=_0x336ce1['getCurrentUser']())==null?void 0x0:_0x35f0bf[_0x2cb83b(0x4bc)])!=null?_0x234800:_0x2cb83b(0x47b),_0x5113ad=(_0x3f8197=(_0x1edde9=_0x336ce1[_0x2cb83b(0x42b)]())==null?void 0x0:_0x1edde9[_0x2cb83b(0x305)])!=null?_0x3f8197:_0x2cb83b(0x47b);return{'changeset':{'unitID':_0x5d24e9,'type':_0x5613a0(_0x2094fc[_0x2cb83b(0x336)](_0x5d24e9)),'baseRev':_0x580a99[_0x2cb83b(0x3ba)](_0x5d24e9),'revision':0x0,'userID':_0xb3bb43,'memberID':_0x5113ad,'mutations':_0x5ee617},'pendingMutations':_0x526811[_0x2cb83b(0x2bb)](_0x5ee617['length'])};}function ks(_0x34734,_0x46ad51,_0x46ec5f,_0x5e0baf,_0x5e08f7){var _0x5ccc25=_0x453300,_0x5886e9,_0x144d04,_0x3af82c,_0x359636;const _0x21c50d=[_0x34734[_0x5ccc25(0x367)]((_0x29df59,_0x836ec1)=>{var _0x5104f2=_0x5ccc25,_0x374d40;const {id:_0x95ce82}=_0x29df59,{id:_0x1e31bf,type:_0x56bd21}=_0x836ec1,_0x167a28=(_0x374d40=_0x29df59[_0x5104f2(0x241)])!=null?_0x374d40:{'actions':null},_0x128244=_0x836ec1[_0x5104f2(0x241)];if(_0x95ce82&&_0x95ce82!==_0x1e31bf)throw new Error(_0x5104f2(0x43c)+_0x95ce82+_0x5104f2(0x471)+_0x1e31bf+'.');return{..._0x29df59,'id':_0x1e31bf,'type':_0x56bd21,'params':{'unitId':_0x128244['unitId'],'textRanges':_0x128244[_0x5104f2(0x40d)],'actions':_0x4abe97['compose'](_0x167a28[_0x5104f2(0x4b6)],_0x128244[_0x5104f2(0x4b6)])}};},{})],_0x2f3b83=(_0x144d04=(_0x5886e9=_0x5e08f7['getCurrentUser']())==null?void 0x0:_0x5886e9[_0x5ccc25(0x4bc)])!=null?_0x144d04:_0x5ccc25(0x47b),_0x46ed00=(_0x359636=(_0x3af82c=_0x5e08f7[_0x5ccc25(0x42b)]())==null?void 0x0:_0x3af82c[_0x5ccc25(0x305)])!=null?_0x359636:_0x5ccc25(0x47b);return{'changeset':{'unitID':_0x46ad51,'type':_0x5613a0(_0x46ec5f[_0x5ccc25(0x336)](_0x46ad51)),'baseRev':_0x5e0baf[_0x5ccc25(0x3ba)](_0x46ad51),'revision':0x0,'userID':_0x2f3b83,'memberID':_0x46ed00,'mutations':_0x21c50d},'pendingMutations':[]};}function Si(_0x2afdb5,_0x45a628){var _0x561284=_0x453300;const _0x2baa7e=new _0x3f40f6(0x1);return setTimeout(()=>_0x2baa7e[_0x561284(0x371)](_0x45a628),_0x2afdb5),_0x2baa7e[_0x561284(0x1ea)]()[_0x561284(0x1d2)](_0x4a11af(0x1));}const $s={'id':_0x57c7fd['id'],'type':_0x20f682['MUTATION'],'params':{}};var Hs=Object[_0x453300(0x3b6)],Ee=(_0x365099,_0x2aa766,_0x11bbdf,_0x4ec68a)=>{var _0x21e13b=_0x453300;for(var _0x4220b4=_0x4ec68a>0x1?void 0x0:_0x4ec68a?Hs(_0x2aa766,_0x11bbdf):_0x2aa766,_0x557ed2=_0x365099[_0x21e13b(0x42d)]-0x1,_0x192a9c;_0x557ed2>=0x0;_0x557ed2--)(_0x192a9c=_0x365099[_0x557ed2])&&(_0x4220b4=_0x192a9c(_0x4220b4)||_0x4220b4);return _0x4220b4;},P=(_0x5f0540,_0x58e834)=>(_0x34986c,_0x33b2d5)=>_0x58e834(_0x34986c,_0x33b2d5,_0x5f0540),Ei=(_0x207baa=>(_0x207baa['NOT_COLLAB']=_0x453300(0x3d4),_0x207baa[_0x453300(0x42a)]=_0x453300(0x22e),_0x207baa[_0x453300(0x20d)]='pending',_0x207baa[_0x453300(0x400)]='awaiting',_0x207baa['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x207baa['FETCH_MISS']=_0x453300(0x3a3),_0x207baa[_0x453300(0x247)]='conflict',_0x207baa[_0x453300(0x2d6)]='offline',_0x207baa))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x5ddace,_0x90e962,_0x2c6cb5,_0x5b1b86,_0x4de240,_0x204a6c,_0x47794a,_0x3ece07,_0x1b5386){var _0x17c1a1=_0x453300;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this['unitID']=_0x5ddace,this[_0x17c1a1(0x311)]=_0x90e962,this[_0x17c1a1(0x4a8)]=_0x4de240,this[_0x17c1a1(0x405)]=_0x204a6c,this[_0x17c1a1(0x4cb)]=_0x47794a,this[_0x17c1a1(0x240)]=_0x3ece07,this[_0x17c1a1(0x3c5)]=_0x1b5386,this[_0x17c1a1(0x366)]=_0x2c6cb5,this[_0x17c1a1(0x46a)]=_0x5b1b86);}['_checkMissing'](_0x464225){var _0x3b18ef=_0x453300;const _0x44cb10=this['_revisionService'][_0x3b18ef(0x3ba)](this['unitID']);return _0x464225[_0x3b18ef(0x458)]>_0x44cb10+0x1?(this['_handler'][_0x3b18ef(0x377)]({'from':_0x44cb10,'to':_0x464225[_0x3b18ef(0x458)]-0x1}),!0x0):!0x1;}[_0x453300(0x2bf)](_0x4de635){var _0x3e543b=_0x453300;this[_0x3e543b(0x4cb)][_0x3e543b(0x34d)](this['unitID'],_0x4de635);}[_0x453300(0x219)](_0x3da59c){var _0x3b56f5=_0x453300,_0x582960,_0x5d83b6;(_0x5d83b6=(_0x582960=this[_0x3b56f5(0x4a8)])['onTransformSelections'])==null||_0x5d83b6[_0x3b56f5(0x28e)](_0x582960,_0x3da59c);}[_0x453300(0x3e6)](_0x17b5d1){var _0x4b2aa1=_0x453300,_0x17d89a,_0x5b7518;return(_0x5b7518=(_0x17d89a=this[_0x4b2aa1(0x4a8)])[_0x4b2aa1(0x2fe)])==null?void 0x0:_0x5b7518[_0x4b2aa1(0x28e)](_0x17d89a,_0x17b5d1);}[_0x453300(0x1e8)](_0x1ed9cb){var _0x93e776,_0x167459;return(_0x167459=(_0x93e776=this['_handler'])['onTransformState'])==null?void 0x0:_0x167459['call'](_0x93e776,_0x1ed9cb);}[_0x453300(0x4bd)](_0x565c92){var _0x273c49=_0x453300,_0xc1d17d,_0x2e4238,_0x14d692;return(_0x14d692=(_0x2e4238=(_0xc1d17d=this[_0x273c49(0x4a8)])[_0x273c49(0x4ce)])==null?void 0x0:_0x2e4238[_0x273c49(0x28e)](_0xc1d17d,_0x565c92))!=null?_0x14d692:_0x565c92;}[_0x453300(0x3aa)](_0x5f42b9){var _0x25c561=_0x453300,_0x38f304,_0x39e82f,_0x1c5f13;return(_0x1c5f13=(_0x39e82f=(_0x38f304=this[_0x25c561(0x4a8)])[_0x25c561(0x406)])==null?void 0x0:_0x39e82f[_0x25c561(0x28e)](_0x38f304,_0x5f42b9))!=null?_0x1c5f13:_0x5f42b9;}[_0x453300(0x1d4)](_0x43be48){var _0x4ac44c=_0x453300,_0x5852eb,_0x369d5e;if(this[_0x4ac44c(0x311)]===Z['UNIVER_DOC']){const {unitID:_0x4f82c7,mutations:_0x15af69,memberID:_0x2cd436}=_0x43be48,_0x7eb952=_0x15af69[0x0][_0x4ac44c(0x241)]['textRanges'];Array[_0x4ac44c(0x261)](_0x7eb952)&&_0x7eb952[_0x4ac44c(0x42d)]>0x0&&((_0x369d5e=(_0x5852eb=this[_0x4ac44c(0x4a8)])[_0x4ac44c(0x281)])==null||_0x369d5e[_0x4ac44c(0x28e)](_0x5852eb,{'unitID':_0x4f82c7,'memberID':_0x2cd436,'textRanges':_0x7eb952}));}}['_updateLocalCache'](){var _0x5d4c54=_0x453300,_0x2491ad;(_0x2491ad=this[_0x5d4c54(0x3c5)])==null||_0x2491ad[_0x5d4c54(0x322)](this[_0x5d4c54(0x218)],this[_0x5d4c54(0x311)],this[_0x5d4c54(0x366)],this[_0x5d4c54(0x46a)]);}[_0x453300(0x439)](){var _0x44b0af=_0x453300;return this['_revisionService'][_0x44b0af(0x3ba)](this['unitID']);}[_0x453300(0x447)](){var _0x5c9217=_0x453300;this[_0x5c9217(0x240)][_0x5c9217(0x264)](this[_0x5c9217(0x218)]);}[_0x453300(0x4ab)](_0x5e600c){var _0x1a1038=_0x453300,_0x346af1;let _0x72dc4d=this[_0x1a1038(0x4bd)](_0x5e600c);_0x72dc4d=this[_0x1a1038(0x3aa)](_0x72dc4d);const _0x11bf49=_0x2e31a0(_0x72dc4d['mutations'],this[_0x1a1038(0x405)],{'fromCollab':!0x0});if(!_0x11bf49['result'])throw _0x11bf49[_0x1a1038(0x473)]instanceof Error?_0x11bf49[_0x1a1038(0x473)]:new Error((_0x346af1=_0x11bf49[_0x1a1038(0x473)])!=null?_0x346af1:_0x1a1038(0x3be));this[_0x1a1038(0x3e6)](_0x72dc4d),this[_0x1a1038(0x1e8)](_0x72dc4d),this[_0x1a1038(0x2bf)](_0x5e600c),this[_0x1a1038(0x219)](_0x72dc4d),this[_0x1a1038(0x1d4)](_0x72dc4d),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x3aff15,_0x2d0ab4,_0xe36b91,_0x280693,_0x2c93ca,_0xb23298,_0x2df01f,_0x3efa52,_0x40a185,_0x226607){var _0x12b795=_0x453300;super(_0x3aff15,_0x2d0ab4,null,[],_0xe36b91,_0x2df01f,_0xb23298,_0x280693,_0x226607),N(this,_0x12b795(0x37d),_0x12b795(0x22e)),(this['_injector']=_0x2c93ca,this['_logService']=_0x3efa52,this['_transformService']=_0x40a185,this['localCacheService']=_0x226607);}[_0x453300(0x46f)](_0xd6016b){var _0x15aa80=_0x453300;const _0x5c5b11=this['_injector']['createInstance'](re,this['unitID'],this['type'],[_0xd6016b],this[_0x15aa80(0x4a8)]);return _0x5c5b11[_0x15aa80(0x374)](),_0x5c5b11['_updateLocalCache'](),_0x5c5b11;}['onRemoteChangeset'](_0x2b5196){var _0x55dec2=_0x453300;if(this[_0x55dec2(0x1ee)](_0x2b5196))return this[_0x55dec2(0x306)][_0x55dec2(0x41d)](Q,this[_0x55dec2(0x218)],this['type'],null,[],null,[_0x2b5196],this[_0x55dec2(0x4a8)]);try{const _0x592f59=this[_0x55dec2(0x325)]['transformMutationsWithChangeset'](_0x2b5196,[$s]);if(_0x56eaaa(_0x592f59)){const {c1Prime:_0x5c92f4}=_0x592f59;return this['_executeRemoteChangeset'](_0x5c92f4),this;}throw _0x592f59['error'];}catch(_0x3a29c4){return this[_0x55dec2(0x41c)][_0x55dec2(0x473)](_0x3a29c4),this['_onConflict'](!0x1);}}['_onConflict'](_0x3653cd){var _0x3ba121=_0x453300;return this['_injector'][_0x3ba121(0x41d)](le,this[_0x3ba121(0x218)],this[_0x3ba121(0x311)],null,[],this['_handler'],_0x3653cd);}[_0x453300(0x3f9)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x453300(0x1d7)](){var _0x2f1824=_0x453300;throw new Error(_0x2f1824(0x2f5));}[_0x453300(0x1e1)](){return this;}[_0x453300(0x495)](){var _0x49c267=_0x453300;return this[_0x49c267(0x306)][_0x49c267(0x41d)](ue,this[_0x49c267(0x218)],this['type'],null,[],this[_0x49c267(0x4a8)]);}['toggleOnline'](){return this;}[_0x453300(0x37c)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x453300(0x2b6)](){var _0x3677f1=_0x453300;const _0x4a83dd=this['_revisionService'][_0x3677f1(0x3ba)](this[_0x3677f1(0x218)]);return this[_0x3677f1(0x4a8)][_0x3677f1(0x377)]({'from':_0x4a83dd,'to':0x0}),this[_0x3677f1(0x306)][_0x3677f1(0x41d)](Q,this[_0x3677f1(0x218)],this[_0x3677f1(0x311)],null,[],null,[],this[_0x3677f1(0x4a8)]);}};ye=Ee([P(0x3,_0x310792(_0x5f2a0b)),P(0x4,_0x310792(_0x152897)),P(0x5,_0x251170),P(0x6,_0x30c9a4),P(0x7,_0x2da007),P(0x8,_0x401a29),P(0x9,_0x3ff866(J))],ye);let re=class extends Ie{constructor(_0x426bd0,_0x58d769,_0x3c85e4,_0x1b480e,_0x5dc21e,_0x532b57,_0x20bd9b,_0x5d6d7e,_0x2cf712,_0x29f0f2,_0x56a245,_0x15159d,_0x4ff84b,_0x644b10){var _0x3b0285=_0x453300;super(_0x426bd0,_0x58d769,null,_0x3c85e4,_0x1b480e,_0x2cf712,_0x4ff84b,_0x532b57,_0x644b10),N(this,'status',_0x3b0285(0x1df)),N(this,_0x3b0285(0x278),null),N(this,'_sendingTimer',null),(this[_0x3b0285(0x306)]=_0x5dc21e,this[_0x3b0285(0x2aa)]=_0x20bd9b,this['_logService']=_0x5d6d7e,this[_0x3b0285(0x28c)]=_0x29f0f2,this[_0x3b0285(0x325)]=_0x56a245,this[_0x3b0285(0x314)]=_0x15159d);}[_0x453300(0x46f)](_0x54912f){var _0x355c9f=_0x453300;return this[_0x355c9f(0x46a)][_0x355c9f(0x4bf)](_0x54912f),this['_updateLocalCache'](),this;}[_0x453300(0x230)](_0x49a01c){var _0x3a7070=_0x453300;if(this[_0x3a7070(0x1ee)](_0x49a01c))return this['_clearScheduledTask'](),this[_0x3a7070(0x306)]['createInstance'](Q,this[_0x3a7070(0x218)],this[_0x3a7070(0x311)],null,this[_0x3a7070(0x46a)],null,[_0x49a01c],this[_0x3a7070(0x4a8)]);try{const _0x19876f=this['_transformService'][_0x3a7070(0x4a4)](_0x49a01c,this[_0x3a7070(0x46a)]);if(_0x56eaaa(_0x19876f)){const {c1Prime:_0xa566d0,m2Prime:_0x3984fa}=_0x19876f;this[_0x3a7070(0x4ab)](_0xa566d0);const _0x354d09=this[_0x3a7070(0x306)]['createInstance'](re,this[_0x3a7070(0x218)],this[_0x3a7070(0x311)],_0x3984fa,this[_0x3a7070(0x4a8)]);this['_clearScheduledTask']();const _0x5ba4a2=new Date()[_0x3a7070(0x343)](),_0x5efb35=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x3a7070(0x278)]-_0x5ba4a2,0x0):this['_getSendChangesetTimeout']();return _0x354d09[_0x3a7070(0x374)](_0x5efb35),_0x354d09;}throw _0x19876f[_0x3a7070(0x473)];}catch(_0x583218){return this[_0x3a7070(0x41c)][_0x3a7070(0x473)](_0x583218),this[_0x3a7070(0x312)](!0x1);}}[_0x453300(0x3f9)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x453300(0x1d7)](){var _0x4e4cfb=_0x453300;throw new Error(_0x4e4cfb(0x44d));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x268848=_0x453300;return this[_0x268848(0x25c)](),this[_0x268848(0x306)][_0x268848(0x41d)](ue,this[_0x268848(0x218)],this[_0x268848(0x311)],null,this[_0x268848(0x46a)],this[_0x268848(0x4a8)]);}['toggleOnline'](){return this;}['_schedule'](_0x41d663){var _0x4a74fb=_0x453300;const _0x39768c=_0x41d663!=null?_0x41d663:this[_0x4a74fb(0x2ca)]();this[_0x4a74fb(0x278)]=new Date()[_0x4a74fb(0x343)]()+_0x39768c,this['_sendingTimer']=setTimeout(()=>{var _0x1a46e7=_0x4a74fb;this[_0x1a46e7(0x25c)]();let _0xcecf59=null;switch(this[_0x1a46e7(0x311)]){case Z['UNIVER_SHEET']:{_0xcecf59=Wt(this[_0x1a46e7(0x46a)],this[_0x1a46e7(0x218)],this[_0x1a46e7(0x314)],this[_0x1a46e7(0x240)],this['_memberService']);break;}case Z['UNIVER_DOC']:{this['_pendingMutations']['every'](_0x5388fb=>_0x5388fb['id']===_0x42c183['id'])?_0xcecf59=ks(this[_0x1a46e7(0x46a)],this[_0x1a46e7(0x218)],this[_0x1a46e7(0x314)],this[_0x1a46e7(0x240)],this[_0x1a46e7(0x2aa)]):_0xcecf59=Wt(this[_0x1a46e7(0x46a)],this[_0x1a46e7(0x218)],this[_0x1a46e7(0x314)],this[_0x1a46e7(0x240)],this['_memberService']);break;}default:throw new Error(_0x1a46e7(0x397)+this['type']+_0x1a46e7(0x341));}const {changeset:_0x56c50a,pendingMutations:_0xef2ceb}=_0xcecf59;this[_0x1a46e7(0x4a8)][_0x1a46e7(0x448)](_0x56c50a);const _0x1f9873=_0xef2ceb[_0x1a46e7(0x42d)]?this[_0x1a46e7(0x306)][_0x1a46e7(0x41d)](ae,this['unitID'],this[_0x1a46e7(0x311)],_0x56c50a,_0xef2ceb,this[_0x1a46e7(0x4a8)],void 0x0):this['_injector'][_0x1a46e7(0x41d)](_e,this[_0x1a46e7(0x218)],this[_0x1a46e7(0x311)],_0x56c50a,this[_0x1a46e7(0x4a8)]);_0x1f9873[_0x1a46e7(0x280)](),this['_handler'][_0x1a46e7(0x48e)](this,_0x1f9873);},_0x39768c);}[_0x453300(0x2ca)](){var _0x56b893=_0x453300,_0x2e29c7;const _0x1ecdf2=this['_configService'][_0x56b893(0x2da)](K);return(_0x2e29c7=_0x1ecdf2==null?void 0x0:_0x1ecdf2[_0x56b893(0x3fc)])!=null?_0x2e29c7:ps;}[_0x453300(0x37c)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x453300(0x25c)](){var _0x100b68=_0x453300;this[_0x100b68(0x444)]!=null&&(clearTimeout(this[_0x100b68(0x444)]),this[_0x100b68(0x444)]=null);}[_0x453300(0x312)](_0x4ed1bf){var _0x3ebf07=_0x453300;return this[_0x3ebf07(0x25c)](),this[_0x3ebf07(0x306)][_0x3ebf07(0x41d)](le,this[_0x3ebf07(0x218)],this[_0x3ebf07(0x311)],null,this[_0x3ebf07(0x46a)],this[_0x3ebf07(0x4a8)],_0x4ed1bf);}};re=Ee([P(0x4,_0x310792(_0x152897)),P(0x5,_0x310792(_0x5f2a0b)),P(0x6,_0x310792(we)),P(0x7,_0x2da007),P(0x8,_0x30c9a4),P(0x9,_0x70ee0c),P(0xa,_0x401a29),P(0xb,_0x53fd32),P(0xc,_0x251170),P(0xd,_0x3ff866(J))],re);let _e=class extends Ie{constructor(_0x269fc3,_0x47af2a,_0x152aea,_0x56abcf,_0xe0e016,_0x3888e3,_0x2227cf,_0x35794e,_0x40bf10,_0x8c5f27,_0x31563d){var _0x2c40a1=_0x453300;super(_0x269fc3,_0x47af2a,_0x152aea,[],_0x56abcf,_0x2227cf,_0x8c5f27,_0x3888e3,_0x31563d),N(this,_0x2c40a1(0x37d),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x2c40a1(0x3e2)),N(this,'_sender'),(this[_0x2c40a1(0x306)]=_0xe0e016,this['_logService']=_0x35794e,this[_0x2c40a1(0x325)]=_0x40bf10);}[_0x453300(0x46f)](_0x2332f0){var _0x2c4779=_0x453300;this[_0x2c4779(0x25c)]();const _0x1e9104=this[_0x2c4779(0x306)]['createInstance'](ae,this[_0x2c4779(0x218)],this[_0x2c4779(0x311)],this[_0x2c4779(0x366)],[_0x2332f0],this[_0x2c4779(0x4a8)],this[_0x2c4779(0x3e2)]);return _0x1e9104[_0x2c4779(0x280)](),_0x1e9104;}[_0x453300(0x230)](_0x1b7a17){var _0x1bf948=_0x453300;if(this[_0x1bf948(0x1ee)](_0x1b7a17))return this['_clearScheduledTask'](),this[_0x1bf948(0x306)][_0x1bf948(0x41d)](Q,this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x1b7a17],this['_handler']);try{const _0x255783=this[_0x1bf948(0x325)][_0x1bf948(0x1c9)]([_0x1b7a17],[this['_awaitingChangeset']],!0x1);if(_0x457b63(_0x255783)){const {c1Prime:_0x309e02,c2Prime:_0x82abd0}=_0x255783;this[_0x1bf948(0x4ab)](_0x309e02[0x0]),_0x82abd0[0x0][_0x1bf948(0x3f6)]=this[_0x1bf948(0x439)](),this['_clearScheduledTask']();const _0x1db233=this['_injector']['createInstance'](_e,this[_0x1bf948(0x218)],this['type'],_0x82abd0[0x0],this[_0x1bf948(0x4a8)]);return _0x1db233[_0x1bf948(0x280)](),_0x1db233;}return this['_onConflict'](!0x1);}catch(_0x5ca871){return this[_0x1bf948(0x41c)][_0x1bf948(0x473)](_0x5ca871),this[_0x1bf948(0x312)](!0x1);}}[_0x453300(0x3f9)](_0xd81d09){var _0x1b976a=_0x453300;this[_0x1b976a(0x25c)]();const _0x173acb=this[_0x1b976a(0x240)][_0x1b976a(0x3ba)](this['unitID']);if(_0xd81d09[_0x1b976a(0x458)]<_0x173acb-0x1)return this;if(this['_checkMissing'](_0xd81d09))return this[_0x1b976a(0x306)]['createInstance'](Q,this[_0x1b976a(0x218)],this[_0x1b976a(0x311)],null,[],this['_awaitingChangeset'],[],this[_0x1b976a(0x4a8)]);this['_incrementRevisionNumber']();const _0x55c6be=this[_0x1b976a(0x306)][_0x1b976a(0x41d)](ye,this[_0x1b976a(0x218)],this['type'],this[_0x1b976a(0x4a8)]);return _0x55c6be['_updateLocalCache'](),_0x55c6be;}[_0x453300(0x1d7)](_0x1b067b){var _0x59d362=_0x453300;return this[_0x59d362(0x312)](!!(_0x1b067b!=null&&_0x1b067b['isPermissionRej']));}['onRemoteRetry'](_0x738462){var _0x172af4=_0x453300;return this[_0x172af4(0x25b)]>Ii?this[_0x172af4(0x495)]():(this[_0x172af4(0x3e2)]=Si(this[_0x172af4(0x25b)],{'timeout':this[_0x172af4(0x25b)],'reqId':_0x738462[_0x172af4(0x3ab)]}),this[_0x172af4(0x353)]=this[_0x172af4(0x3e2)]['subscribe'](({reqId:_0x2dfc98,timeout:_0x1c4289})=>{this['_resendWithTimeout'](_0x2dfc98,_0x1c4289);}),this);}[_0x453300(0x495)](){var _0x3020cf=_0x453300;return this[_0x3020cf(0x25c)](),this[_0x3020cf(0x306)][_0x3020cf(0x41d)](ue,this[_0x3020cf(0x218)],this['type'],this[_0x3020cf(0x366)],[],this[_0x3020cf(0x4a8)]);}['toggleOnline'](){return this;}[_0x453300(0x37c)](){var _0x5f0807=_0x453300;this[_0x5f0807(0x4a8)][_0x5f0807(0x448)](this['_awaitingChangeset']);}[_0x453300(0x312)](_0x19b7b5){var _0x3d6fe2=_0x453300;return this[_0x3d6fe2(0x25c)](),this[_0x3d6fe2(0x306)][_0x3d6fe2(0x41d)](le,this['unitID'],this['type'],this[_0x3d6fe2(0x366)],[],this[_0x3d6fe2(0x4a8)],_0x19b7b5);}['_resendWithTimeout'](_0x289bea,_0x2dd7ff){var _0x421dff=_0x453300,_0x14f33e;_0x289bea===((_0x14f33e=this['_awaitingChangeset'])==null?void 0x0:_0x14f33e[_0x421dff(0x3ab)])&&(this['resend'](),this[_0x421dff(0x25b)]=_0x2dd7ff===0x0?0x3e8:_0x2dd7ff*0x2);}[_0x453300(0x25c)](){var _0x1635ad=_0x453300,_0x191755;(_0x191755=this['_sender'])==null||_0x191755['unsubscribe'](),this[_0x1635ad(0x25b)]=0x0;}};_e=Ee([P(0x4,_0x310792(_0x152897)),P(0x5,_0x310792(_0x5f2a0b)),P(0x6,_0x30c9a4),P(0x7,_0x2da007),P(0x8,_0x401a29),P(0x9,_0x251170),P(0xa,_0x3ff866(J))],_e);let ae=class extends Ie{constructor(_0x555464,_0x3a1918,_0x18b030,_0xa0d50f,_0x44e3cd,_0x499578,_0x285773,_0x4ba2be,_0xc08557,_0x3704fe,_0x5c4171,_0xaae2c8,_0x229e6a){var _0x596a40=_0x453300;super(_0x555464,_0x3a1918,_0x18b030,_0xa0d50f,_0x44e3cd,_0xc08557,_0xaae2c8,_0x4ba2be,_0x229e6a),N(this,'status',_0x596a40(0x2ac)),N(this,_0x596a40(0x25b),0x0),N(this,'_resendTimer'),N(this,_0x596a40(0x353)),(this['_injector']=_0x285773,this[_0x596a40(0x41c)]=_0x3704fe,this[_0x596a40(0x325)]=_0x5c4171,this['localCacheService']=_0x229e6a,_0x499578&&(this[_0x596a40(0x3e2)]=_0x499578,this[_0x596a40(0x353)]=this[_0x596a40(0x3e2)][_0x596a40(0x29e)](({reqId:_0x4994f8,timeout:_0x273a47})=>{this['_resendWithTimeout'](_0x4994f8,_0x273a47);})));}[_0x453300(0x46f)](_0x27ff05){var _0x3a4c35=_0x453300;return this[_0x3a4c35(0x46a)][_0x3a4c35(0x4bf)](_0x27ff05),this;}[_0x453300(0x230)](_0x2153bd){var _0x4e9ceb=_0x453300;if(this[_0x4e9ceb(0x1ee)](_0x2153bd))return this[_0x4e9ceb(0x25c)](),this[_0x4e9ceb(0x306)][_0x4e9ceb(0x41d)](Q,this[_0x4e9ceb(0x218)],this[_0x4e9ceb(0x311)],this[_0x4e9ceb(0x366)],this[_0x4e9ceb(0x46a)],null,[_0x2153bd],this[_0x4e9ceb(0x4a8)]);try{const _0x343851=this[_0x4e9ceb(0x325)][_0x4e9ceb(0x1c9)]([_0x2153bd],[this['_awaitingChangeset']],!0x1);if(_0x457b63(_0x343851)){const {c1Prime:_0x3e706c,c2Prime:_0x3a3a30}=_0x343851,_0x25a252=this[_0x4e9ceb(0x325)][_0x4e9ceb(0x4a4)](_0x3e706c[0x0],this['_pendingMutations']);if(_0x56eaaa(_0x25a252)){const {c1Prime:_0x290a47,m2Prime:_0x5a1378}=_0x25a252;return this['_executeRemoteChangeset'](_0x290a47),_0x3a3a30[0x0][_0x4e9ceb(0x3f6)]=this[_0x4e9ceb(0x439)](),this[_0x4e9ceb(0x25c)](),this[_0x4e9ceb(0x306)][_0x4e9ceb(0x41d)](ae,this['unitID'],this['type'],_0x3a3a30[0x0],_0x5a1378,this['_handler'],void 0x0);}throw _0x25a252[_0x4e9ceb(0x473)];}throw _0x343851[_0x4e9ceb(0x473)];}catch(_0x851077){return this[_0x4e9ceb(0x41c)][_0x4e9ceb(0x473)](_0x851077),this[_0x4e9ceb(0x312)](!0x1);}}[_0x453300(0x3f9)](_0x2cdd16){var _0x23e8c9=_0x453300;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x2cdd16))return this[_0x23e8c9(0x306)][_0x23e8c9(0x41d)](Q,this['unitID'],this[_0x23e8c9(0x311)],null,this['_pendingMutations'],this[_0x23e8c9(0x366)],[],this['_handler']);this[_0x23e8c9(0x447)]();const _0x8fbb98=this[_0x23e8c9(0x306)][_0x23e8c9(0x41d)](re,this[_0x23e8c9(0x218)],this[_0x23e8c9(0x311)],this[_0x23e8c9(0x46a)],this[_0x23e8c9(0x4a8)]);return _0x8fbb98['_schedule'](),_0x8fbb98[_0x23e8c9(0x280)](),_0x8fbb98;}[_0x453300(0x1d7)](_0x3fa632){var _0x150245=_0x453300;return this[_0x150245(0x312)](!!(_0x3fa632!=null&&_0x3fa632[_0x150245(0x1f6)]));}[_0x453300(0x1e1)](_0x35edb3){var _0x1fc882=_0x453300;return this[_0x1fc882(0x25b)]>Ii?this[_0x1fc882(0x495)]():(this[_0x1fc882(0x3e2)]=Si(this[_0x1fc882(0x25b)],{'timeout':this['_resendTimeout'],'reqId':_0x35edb3[_0x1fc882(0x3ab)]}),this[_0x1fc882(0x353)]=this[_0x1fc882(0x3e2)][_0x1fc882(0x29e)](({reqId:_0x300499,timeout:_0x1d3f94})=>{var _0x30705f=_0x1fc882;this[_0x30705f(0x383)](_0x300499,_0x1d3f94);}),this);}[_0x453300(0x495)](){var _0x5089bf=_0x453300;return this[_0x5089bf(0x25c)](),this[_0x5089bf(0x306)][_0x5089bf(0x41d)](ue,this[_0x5089bf(0x218)],this[_0x5089bf(0x311)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x453300(0x37e)](){return this;}['resend'](){var _0x5c784b=_0x453300;this[_0x5c784b(0x4a8)][_0x5c784b(0x448)](this['_awaitingChangeset']);}[_0x453300(0x312)](_0x23f5e9){var _0x409363=_0x453300;return this[_0x409363(0x25c)](),this['_injector'][_0x409363(0x41d)](le,this['unitID'],this[_0x409363(0x311)],null,this[_0x409363(0x46a)],this[_0x409363(0x4a8)],_0x23f5e9);}[_0x453300(0x383)](_0x5985d5,_0x2b42bc){var _0x2c2a7c=_0x453300,_0x3cc32e;_0x5985d5===((_0x3cc32e=this[_0x2c2a7c(0x366)])==null?void 0x0:_0x3cc32e[_0x2c2a7c(0x3ab)])&&(this[_0x2c2a7c(0x37c)](),this[_0x2c2a7c(0x25b)]=_0x2b42bc===0x0?0x3e8:_0x2b42bc*0x2);}['_clearScheduledTask'](){var _0x1f7a9c=_0x453300,_0x579a46;(_0x579a46=this[_0x1f7a9c(0x353)])==null||_0x579a46['unsubscribe'](),this[_0x1f7a9c(0x25b)]=0x0;}};ae=Ee([P(0x6,_0x310792(_0x152897)),P(0x7,_0x310792(_0x5f2a0b)),P(0x8,_0x30c9a4),P(0x9,_0x2da007),P(0xa,_0x401a29),P(0xb,_0x251170),P(0xc,_0x3ff866(J))],ae);let le=class extends Ie{constructor(_0xc21ed,_0x233864,_0x3f84d5,_0x3bef34,_0x741164,_0x37f968=!0x1,_0x5b3ffa,_0x1dde5c,_0x3c3e09,_0x3dcf5b,_0x428ee6,_0x5c9bd5,_0x3833ed){var _0x35b283=_0x453300;super(_0xc21ed,_0x233864,_0x3f84d5,_0x3bef34,_0x741164,_0x1dde5c,_0x3c3e09,_0x3dcf5b,_0x3833ed),N(this,_0x35b283(0x37d),_0x35b283(0x208)),(this[_0x35b283(0x30d)]=_0x37f968,this['_permissionService']=_0x5b3ffa,this[_0x35b283(0x46b)]=_0x428ee6,this['_collaborationUIEventService']=_0x5c9bd5,this[_0x35b283(0x211)]=_0x3833ed,this['_showConflictNotification'](),this[_0x35b283(0x4c9)](),this[_0x35b283(0x301)]());}[_0x453300(0x46f)](){return this;}[_0x453300(0x230)](){return this;}['onRemoteAck'](){return this;}[_0x453300(0x1d7)](){return this;}['onRemoteRetry'](){return this;}[_0x453300(0x495)](){return this;}[_0x453300(0x37e)](){return this;}[_0x453300(0x37c)](){var _0x3cc00a=_0x453300;throw new Error(_0x3cc00a(0x3bb));}['_clearLocalCache'](){var _0x51a74a=_0x453300,_0x14ffb2;(_0x14ffb2=this['_localCacheService'])==null||_0x14ffb2[_0x51a74a(0x322)](this[_0x51a74a(0x218)],this['type'],null,[]);}[_0x453300(0x412)](){var _0x1caffd=_0x453300;this[_0x1caffd(0x30d)]?this[_0x1caffd(0x39d)]['emitEvent']({'id':ne[_0x1caffd(0x3dc)]}):this[_0x1caffd(0x39d)][_0x1caffd(0x404)]({'id':ne[_0x1caffd(0x247)]});}[_0x453300(0x301)](){var _0xb91661=_0x453300;this[_0xb91661(0x363)][_0xb91661(0x30a)](new _0x148954(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0x310792(_0x5a06f5)),P(0x7,_0x30c9a4),P(0x8,_0x251170),P(0x9,_0x310792(_0x5f2a0b)),P(0xa,_0x310792(_0x1ff2e2)),P(0xb,_0x310792(ve)),P(0xc,_0x3ff866(J))],le);let ue=class extends Ie{constructor(_0x15d66b,_0x3d354e,_0xe84f6b,_0x19b2c6,_0x1e2d89,_0x401fd4,_0x52e94e,_0x1fe1bf,_0xc9c2b8,_0x54e937){var _0x31d5c2=_0x453300;super(_0x15d66b,_0x3d354e,_0xe84f6b,_0x19b2c6,_0x1e2d89,_0x1fe1bf,_0xc9c2b8,_0x52e94e,_0x54e937),N(this,_0x31d5c2(0x37d),_0x31d5c2(0x1f7)),this['_injector']=_0x401fd4;}['appendMutation'](_0x30b7a6){var _0x2b329a=_0x453300;return this[_0x2b329a(0x46a)][_0x2b329a(0x4bf)](_0x30b7a6),this[_0x2b329a(0x280)](),this;}['onRemoteChangeset'](_0x42b75e){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x453300(0x3f9)](){var _0x3af2f2=_0x453300;throw new Error(_0x3af2f2(0x34e));}['onRemoteRej'](){var _0x301d23=_0x453300;throw new Error(_0x301d23(0x4be));}[_0x453300(0x1e1)](){return this;}[_0x453300(0x495)](){return this;}['toggleOnline'](){var _0xc8a60a=_0x453300;const {_injector:_0x2ffa31,_pendingMutations:_0x55d6b4,_awaitingChangeset:_0x5376aa,unitID:_0x4a35e6,_handler:_0x21cb29,type:_0x2b87a4}=this,_0x179a33=Ti(_0x2ffa31,_0x4a35e6,_0x2b87a4,_0x5376aa,_0x55d6b4,_0x21cb29);return _0x179a33 instanceof re?_0x179a33['_schedule']():(_0x179a33 instanceof ae||_0x179a33 instanceof _e)&&_0x179a33[_0xc8a60a(0x37c)](),_0x179a33;}[_0x453300(0x37c)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ee([P(0x5,_0x310792(_0x152897)),P(0x6,_0x310792(_0x5f2a0b)),P(0x7,_0x30c9a4),P(0x8,_0x251170),P(0x9,_0x3ff866(J))],ue);let Q=class extends Ie{constructor(_0x56f7cc,_0x4d5ee5,_0x30e99a,_0x2009e4,_0x4c704b,_0x5cc2ab,_0x3e44c6,_0x42d072,_0x16cde2,_0x48a1fe,_0x157d87,_0x5c2c6b,_0x50766f,_0x3892f5){var _0x115137=_0x453300;super(_0x56f7cc,_0x4d5ee5,_0x30e99a,_0x2009e4,_0x3e44c6,_0x157d87,_0x5c2c6b,_0x16cde2,_0x3892f5),N(this,_0x115137(0x37d),_0x115137(0x3a3)),(this['_acknowledgedAwaitingChangeset']=_0x4c704b,this['_queuedRemoteChangesets']=_0x5cc2ab,this[_0x115137(0x306)]=_0x42d072,this[_0x115137(0x41c)]=_0x48a1fe,this[_0x115137(0x325)]=_0x50766f,this[_0x115137(0x211)]=_0x3892f5);}[_0x453300(0x287)](_0x4b0f78){var _0x369112=_0x453300;try{const _0x22a70d=[..._0x4b0f78,...this[_0x369112(0x3d1)]],_0x1bb978=[this[_0x369112(0x366)]||this[_0x369112(0x1fe)]][_0x369112(0x1e4)](_0x1b2f71=>!!_0x1b2f71);let _0xf1eb0c,_0x29a99e;if(_0x1bb978[_0x369112(0x42d)]){const _0x3ec323=this[_0x369112(0x325)][_0x369112(0x1c9)](_0x22a70d,_0x1bb978,!0x1);if(!_0x457b63(_0x3ec323))throw _0x3ec323[_0x369112(0x473)];_0xf1eb0c=_0x3ec323[_0x369112(0x424)],_0x29a99e=_0x3ec323[_0x369112(0x2d1)];}else _0xf1eb0c=_0x22a70d,_0x29a99e=[];let _0x16c0e3=this[_0x369112(0x46a)];_0xf1eb0c[_0x369112(0x3e4)](_0x29422b=>{var _0x1d525a=_0x369112;let _0x354e3a;if(_0x16c0e3[_0x1d525a(0x42d)]){const _0xbf160a=this['_transformService'][_0x1d525a(0x4a4)](_0x29422b,_0x16c0e3);if(!_0x56eaaa(_0xbf160a))throw _0xbf160a['error'];_0x354e3a=_0xbf160a[_0x1d525a(0x424)],_0x16c0e3=_0xbf160a[_0x1d525a(0x4aa)];}else _0x354e3a=_0x29422b;this['_executeRemoteChangeset'](_0x354e3a);}),this[_0x369112(0x1fe)]&&this[_0x369112(0x447)](),this[_0x369112(0x366)]&&_0x29a99e[_0x369112(0x42d)]&&(_0x29a99e[0x0][_0x369112(0x3f6)]=this[_0x369112(0x439)]());let _0x1122e6;if(this[_0x369112(0x366)]&&_0x16c0e3[_0x369112(0x42d)]!==0x0)_0x1122e6=this[_0x369112(0x306)][_0x369112(0x41d)](ae,this[_0x369112(0x218)],this[_0x369112(0x311)],_0x29a99e[0x0],_0x16c0e3,this[_0x369112(0x4a8)],void 0x0);else{if(this[_0x369112(0x366)]&&_0x16c0e3[_0x369112(0x42d)]===0x0)_0x29a99e[0x0][_0x369112(0x3f6)]=this[_0x369112(0x439)](),_0x1122e6=this[_0x369112(0x306)]['createInstance'](_e,this[_0x369112(0x218)],this[_0x369112(0x311)],_0x29a99e[0x0],this[_0x369112(0x4a8)]);else{if(_0x16c0e3[_0x369112(0x42d)]!==0x0){const _0x1ad460=this[_0x369112(0x306)][_0x369112(0x41d)](re,this[_0x369112(0x218)],this[_0x369112(0x311)],_0x16c0e3,this['_handler']);_0x1ad460[_0x369112(0x374)](),_0x1122e6=_0x1ad460;}else _0x1122e6=this[_0x369112(0x306)][_0x369112(0x41d)](ye,this[_0x369112(0x218)],this[_0x369112(0x311)],this['_handler']);}}return _0x1122e6[_0x369112(0x280)](),_0x1122e6;}catch(_0x5298fe){return this['_logService']['error'](_0x369112(0x387),_0x369112(0x23a),_0x5298fe),this[_0x369112(0x306)][_0x369112(0x41d)](le,this[_0x369112(0x218)],this[_0x369112(0x311)],this[_0x369112(0x366)],this['_pendingMutations'],this[_0x369112(0x4a8)],!0x1);}}[_0x453300(0x37c)](){var _0x29e5ca=_0x453300;throw new Error(_0x29e5ca(0x4af));}['appendMutation'](_0x29e9e5){var _0x1ba840=_0x453300;return this[_0x1ba840(0x46a)][_0x1ba840(0x4bf)](_0x29e9e5),this;}[_0x453300(0x230)](_0x278629){var _0x55f745=_0x453300;return this[_0x55f745(0x3d1)][_0x55f745(0x4bf)](_0x278629),this;}[_0x453300(0x3f9)](_0x2a2ef9){var _0x22e3d9=_0x453300;if(this[_0x22e3d9(0x366)])return this[_0x22e3d9(0x1fe)]=this[_0x22e3d9(0x366)],this[_0x22e3d9(0x366)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x252c16){var _0xa85bb2=_0x453300;return this[_0xa85bb2(0x312)](!!(_0x252c16!=null&&_0x252c16[_0xa85bb2(0x1f6)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2bea61=_0x453300;return this[_0x2bea61(0x306)]['createInstance'](ue,this[_0x2bea61(0x218)],this[_0x2bea61(0x311)],this[_0x2bea61(0x366)],this['_pendingMutations'],this[_0x2bea61(0x4a8)]);}['toggleOnline'](){return this;}[_0x453300(0x312)](_0x3a0f63){var _0x290e00=_0x453300;return this['_injector'][_0x290e00(0x41d)](le,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x290e00(0x46a)],this['_handler'],_0x3a0f63);}};Q=Ee([P(0x7,_0x310792(_0x152897)),P(0x8,_0x310792(_0x5f2a0b)),P(0x9,_0x2da007),P(0xa,_0x30c9a4),P(0xb,_0x251170),P(0xc,_0x401a29),P(0xd,_0x3ff866(J))],Q);function Ti(_0x1dad4b,_0x75c325,_0x1082fa,_0x1625c2,_0x546440,_0x268eeb){var _0x5cf27a=_0x453300;return _0x1625c2&&_0x546440[_0x5cf27a(0x42d)]?_0x1dad4b[_0x5cf27a(0x41d)](ae,_0x75c325,_0x1082fa,_0x1625c2,_0x546440,_0x268eeb,void 0x0):_0x1625c2?_0x1dad4b[_0x5cf27a(0x41d)](_e,_0x75c325,_0x1082fa,_0x1625c2,_0x268eeb):_0x546440[_0x5cf27a(0x42d)]?_0x1dad4b['createInstance'](re,_0x75c325,_0x1082fa,_0x546440,_0x268eeb):_0x1dad4b[_0x5cf27a(0x41d)](ye,_0x75c325,_0x1082fa,_0x268eeb);}var Bs=Object['getOwnPropertyDescriptor'],wt=(_0x527ece,_0x27e8fa,_0x1e8955,_0x28ac38)=>{var _0x57cd0f=_0x453300;for(var _0x5c65ba=_0x28ac38>0x1?void 0x0:_0x28ac38?Bs(_0x27e8fa,_0x1e8955):_0x27e8fa,_0x52726e=_0x527ece[_0x57cd0f(0x42d)]-0x1,_0x38ef52;_0x52726e>=0x0;_0x52726e--)(_0x38ef52=_0x527ece[_0x52726e])&&(_0x5c65ba=_0x38ef52(_0x5c65ba)||_0x5c65ba);return _0x5c65ba;},H=(_0x5ad79c,_0x370c34)=>(_0x548de2,_0x373570)=>_0x370c34(_0x548de2,_0x373570,_0x5ad79c);let st=class extends _0x38e82b{constructor(_0x43d871,_0x484be7,_0x53e415,_0x810b11,_0x40906c,_0x5b5451,_0x42db80,_0x210607,_0x17fe8d,_0x41a6a0,_0x414823,_0x4a88c3,_0x71c6e1){var _0x5eef59=_0x453300;super(),N(this,_0x5eef59(0x1e5),new _0x426c33(null)),N(this,_0x5eef59(0x2fa),this[_0x5eef59(0x1e5)]['asObservable']()),N(this,'_state'),N(this,_0x5eef59(0x32b),!0x1),N(this,_0x5eef59(0x2db),''),N(this,'_changesetReqId',0x0),N(this,_0x5eef59(0x398),this[_0x5eef59(0x2fa)][_0x5eef59(0x1d2)](_0x362d1b(_0x55c91e=>_0x55c91e?_0x55c91e['status']:Ei['OFFLINE']),_0x496c39(0x1))),N(this,_0x5eef59(0x418),!0x1),N(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x43d871,this[_0x5eef59(0x288)]=_0x484be7,this['_type']=_0x53e415,this['_injector']=_0x810b11,this[_0x5eef59(0x21d)]=_0x40906c,this[_0x5eef59(0x46b)]=_0x5b5451,this['_revisionService']=_0x42db80,this[_0x5eef59(0x3ec)]=_0x210607,this[_0x5eef59(0x41c)]=_0x17fe8d,this['_commandService']=_0x41a6a0,this[_0x5eef59(0x363)]=_0x414823,this[_0x5eef59(0x3c0)]=_0x4a88c3,this['_localCacheService']=_0x71c6e1);}get[_0x453300(0x258)](){var _0x349129=_0x453300;return this[_0x349129(0x3f3)];}async[_0x453300(0x297)](){var _0x39969=_0x453300;if(this[_0x39969(0x258)])throw new Error(_0x39969(0x381));await this[_0x39969(0x3b4)]();}[_0x453300(0x333)](){var _0x4d742b=_0x453300;return this[_0x4d742b(0x32b)]=!0x0,_0x20e220(()=>{var _0x3fa799=_0x4d742b;this[_0x3fa799(0x32b)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x453300(0x1f9)](_0xad2ecb){var _0x4f3475=_0x453300;this[_0x4f3475(0x23f)](_0xad2ecb);}[_0x453300(0x3f4)](_0x39ff9c){var _0x1cde8a=_0x453300;this[_0x1cde8a(0x3f3)]=_0x39ff9c,this[_0x1cde8a(0x1e5)]['next'](_0x39ff9c);}async['_init'](){var _0x52982c=_0x453300,_0x16f3cb;this[_0x52982c(0x3f4)](await this[_0x52982c(0x38f)]()),this[_0x52982c(0x3c0)]&&((_0x16f3cb=this[_0x52982c(0x3c0)])==null||_0x16f3cb[_0x52982c(0x2ea)](this[_0x52982c(0x218)]),this[_0x52982c(0x249)](this['_singleActiveUnitService'][_0x52982c(0x41e)](this[_0x52982c(0x218)])[_0x52982c(0x29e)](_0x445599=>{var _0x13d0bf=_0x52982c;this[_0x13d0bf(0x41c)][_0x13d0bf(0x339)](_0x13d0bf(0x3da),_0x13d0bf(0x27c),_0x445599),_0x445599===gi[_0x13d0bf(0x2a8)]?(this[_0x13d0bf(0x3ec)][_0x13d0bf(0x404)]({'id':ne[_0x13d0bf(0x337)]}),this['_permissionService'][_0x13d0bf(0x30a)](new _0x148954(this[_0x13d0bf(0x218)])['id'],!0x1),this[_0x13d0bf(0x363)][_0x13d0bf(0x231)](!0x1)):(this[_0x13d0bf(0x363)][_0x13d0bf(0x30a)](new _0x148954(this[_0x13d0bf(0x218)])['id'],!0x0),this['_permissionService'][_0x13d0bf(0x231)](!0x0));})));let _0x42f2a2=!0x1;return this[_0x52982c(0x249)](this[_0x52982c(0x288)][_0x52982c(0x236)]['subscribe'](_0x5c8714=>{var _0x56bcba=_0x52982c;_0x5c8714===ge[_0x56bcba(0x315)]?this[_0x56bcba(0x2cf)](_0x42f2a2):_0x5c8714===ge[_0x56bcba(0x2d6)]&&(_0x42f2a2=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x52982c(0x288)]['event$'][_0x52982c(0x29e)](_0x3cd35d=>{var _0x19904b=_0x52982c;try{switch(_0x3cd35d[_0x19904b(0x308)]){case _0x5d12f3['NEW_CHANGESETS']:{this[_0x19904b(0x2b9)](_0x5dc1b6(_0x3cd35d[_0x19904b(0x2f0)]));break;}case _0x5d12f3[_0x19904b(0x352)]:{this[_0x19904b(0x298)](_0x3cd35d[_0x19904b(0x2f0)]);break;}case _0x5d12f3[_0x19904b(0x4a1)]:{this[_0x19904b(0x3c8)]();break;}case _0x5d12f3[_0x19904b(0x21f)]:{this[_0x19904b(0x2b5)](_0x3cd35d[_0x19904b(0x2f0)]);break;}case _0x5d12f3[_0x19904b(0x4c0)]:{this['_onFetchMissResult'](_0x3cd35d[_0x19904b(0x2f0)]['changesets'][_0x19904b(0x2b2)](_0x149b5e=>_0x5dc1b6(_0x149b5e)));break;}case _0x5d12f3[_0x19904b(0x488)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5d12f3[_0x19904b(0x4ac)]:break;}}catch(_0x5d1949){throw console[_0x19904b(0x473)](_0x19904b(0x3a6),_0x5d1949),_0x5d1949;}})),this[_0x52982c(0x3f3)];}['_unlockTransition'](){var _0x124521=_0x453300;this[_0x124521(0x418)]=!0x1;}['_lockTransition'](){var _0x22ee17=_0x453300;if(this[_0x22ee17(0x418)])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[_0x22ee17(0x418)]=!0x0;}[_0x453300(0x23f)](_0x3b1b69){var _0x241879=_0x453300;this[_0x241879(0x44c)](),this[_0x241879(0x3f4)](this[_0x241879(0x3f3)][_0x241879(0x46f)](_0x3b1b69)),this[_0x241879(0x4ae)]();}[_0x453300(0x2b9)](_0x59eb0a){var _0x2c0de3=_0x453300;if(!(_0x59eb0a[_0x2c0de3(0x458)]<=this['_revisionService'][_0x2c0de3(0x3ba)](this[_0x2c0de3(0x218)]))){if(this[_0x2c0de3(0x32b)]){this[_0x2c0de3(0x45e)][_0x2c0de3(0x4bf)](_0x59eb0a);return;}this[_0x2c0de3(0x4ba)](_0x59eb0a);}}[_0x453300(0x403)](){var _0x2781c1=_0x453300;this[_0x2781c1(0x45e)][_0x2781c1(0x3e4)](_0x37a594=>this[_0x2781c1(0x4ba)](_0x37a594)),this['_remoteChangesetQueue']=[];}[_0x453300(0x4ba)](_0x44ca90){var _0x374c50=_0x453300;const _0xdbe8d4=this['_compressMutationService'][_0x374c50(0x2fb)]['fetchThroughInterceptors'](this[_0x374c50(0x21d)]['interceptor'][_0x374c50(0x2de)]()['COMPRESS_MUTATION_APPLY'])(_0x44ca90[_0x374c50(0x3de)],null)||_0x44ca90['mutations'],_0x441fe4={..._0x44ca90,'mutations':_0xdbe8d4};this[_0x374c50(0x44c)](),this[_0x374c50(0x3f4)](this['_state'][_0x374c50(0x230)](_0x441fe4)),this[_0x374c50(0x4ae)]();}[_0x453300(0x298)](_0x47501e){var _0x21970e=_0x453300;this[_0x21970e(0x44c)](),this[_0x21970e(0x3f4)](this[_0x21970e(0x3f3)][_0x21970e(0x3f9)](_0x47501e)),this['_unlockTransition']();}[_0x453300(0x3c8)](_0x32faa1){var _0x50f1b3=_0x453300;this['_lockTransition'](),this[_0x50f1b3(0x3f4)](this[_0x50f1b3(0x3f3)][_0x50f1b3(0x1d7)](_0x32faa1)),this['_unlockTransition']();}[_0x453300(0x2b5)](_0x2302a9){var _0x5b2bf8=_0x453300;this[_0x5b2bf8(0x44c)](),this[_0x5b2bf8(0x3f4)](this['_state'][_0x5b2bf8(0x1e1)](_0x2302a9)),this[_0x5b2bf8(0x4ae)]();}['_onFetchMissResult'](_0x95650c){var _0x4b063c=_0x453300;if(!(this[_0x4b063c(0x3f3)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x28232d=_0x95650c[_0x4b063c(0x2b2)](_0x295397=>{var _0x290743=_0x4b063c;const _0x2c45b3=this[_0x290743(0x21d)][_0x290743(0x2fb)][_0x290743(0x3fb)](this['_compressMutationService'][_0x290743(0x2fb)][_0x290743(0x2de)]()[_0x290743(0x286)])(_0x295397['mutations'],null)||_0x295397[_0x290743(0x3de)];return{..._0x295397,'mutations':_0x2c45b3};});this['_lockTransition'](),this[_0x4b063c(0x3f4)](this[_0x4b063c(0x3f3)][_0x4b063c(0x287)](_0x28232d)),this[_0x4b063c(0x4ae)]();}[_0x453300(0x2c6)](){var _0x19c734=_0x453300;this[_0x19c734(0x44c)](),this[_0x19c734(0x3f4)](this['_state'][_0x19c734(0x495)]()),this[_0x19c734(0x4ae)]();}[_0x453300(0x2cf)](_0x36195b=!0x1){var _0x3697ed=_0x453300;this[_0x3697ed(0x44c)](),this[_0x3697ed(0x3f4)](this[_0x3697ed(0x3f3)][_0x3697ed(0x37e)]()),this[_0x3697ed(0x4ae)]();const _0x1599be=this[_0x3697ed(0x3f3)];_0x36195b&&_0x1599be instanceof ye&&(this[_0x3697ed(0x44c)](),this[_0x3697ed(0x3f4)](_0x1599be['fetchMiss']()),this[_0x3697ed(0x4ae)]());}async[_0x453300(0x38f)](){return new Promise(_0x5afbae=>{var _0x3ca9ce=_0x3efe;this['session'][_0x3ca9ce(0x236)][_0x3ca9ce(0x1d2)](_0x4a11af(0x1))['subscribe'](async _0x3e6adc=>{var _0xb8c8d8=_0x3ca9ce;_0x5afbae(await this[_0xb8c8d8(0x3b7)](_0x3e6adc===ge[_0xb8c8d8(0x315)]));});});}['_createHandler'](){var _0x9eb421=_0x453300;const _0x4f2686=this[_0x9eb421(0x218)];return{'onStateChange':(_0x5ec834,_0x3a88f4)=>{var _0x56e1e6=_0x9eb421;if(_0x5ec834!==this[_0x56e1e6(0x3f3)])throw new Error(_0x56e1e6(0x22d)+_0x5ec834[_0x56e1e6(0x37d)]+'\x0aAfter:\x20'+_0x3a88f4['status']+'\x0aCurrent:\x20'+this[_0x56e1e6(0x3f3)][_0x56e1e6(0x37d)]);this[_0x56e1e6(0x3f4)](_0x3a88f4);},'onSendChangeset':_0x1a67f0=>{var _0x5ed516=_0x9eb421;_0x1a67f0[_0x5ed516(0x4c4)]||(_0x1a67f0[_0x5ed516(0x4c4)]=this['_changesetSessionId'],_0x1a67f0[_0x5ed516(0x3ab)]=++this[_0x5ed516(0x4b7)]);const _0x5eaf8b={'eventID':_0x5d12f3[_0x5ed516(0x1f3)],'data':{'unitID':_0x1a67f0[_0x5ed516(0x218)],'unitType':this['_type'],'changeset':_0x1a67f0,'memberID':this[_0x5ed516(0x288)]['getMemberID']()}};this[_0x5ed516(0x288)][_0x5ed516(0x399)](_0x5eaf8b,this[_0x5ed516(0x218)]);},'onMissingChangesets':({from:_0x2abbe0,to:_0xa8d5bd})=>{var _0x552a18=_0x9eb421;this[_0x552a18(0x41c)][_0x552a18(0x339)](_0x552a18(0x3da),_0x552a18(0x3b0)+_0x2abbe0+'\x20to\x20'+_0xa8d5bd);const _0x4786d8={'eventID':_0x5d12f3[_0x552a18(0x2ff)],'data':{'unitID':_0x4f2686,'unitType':this[_0x552a18(0x462)],'from':_0x2abbe0,'to':_0xa8d5bd}};this['session'][_0x552a18(0x399)](_0x4786d8,this[_0x552a18(0x218)]);}};}async['_createInitialStateImpl'](_0x9e4e74){var _0x3b6d30=_0x453300,_0x31f3d9,_0x56a67e,_0x281f8d;const _0x513a4b=await((_0x31f3d9=this['_localCacheService'])==null?void 0x0:_0x31f3d9['loadOfflineData'](this['unitID'])),_0x4d4c9a=(_0x56a67e=_0x513a4b==null?void 0x0:_0x513a4b[_0x3b6d30(0x3de)])!=null?_0x56a67e:[],_0x960534=(_0x281f8d=_0x513a4b==null?void 0x0:_0x513a4b[_0x3b6d30(0x415)])!=null?_0x281f8d:null,_0xa30c33=!!(_0x960534!=null&&_0x960534[_0x3b6d30(0x4c4)])&&!!(_0x960534!=null&&_0x960534[_0x3b6d30(0x3ab)]);this[_0x3b6d30(0x2db)]=_0xa30c33?_0x960534[_0x3b6d30(0x4c4)]:_0x50016d(),this[_0x3b6d30(0x4b7)]=_0xa30c33?_0x960534['reqId']:0x0;const _0x1b197d=this[_0x3b6d30(0x218)];try{this[_0x3b6d30(0x3d8)](_0x960534,_0x4d4c9a);}catch(_0x48f037){this[_0x3b6d30(0x41c)][_0x3b6d30(0x473)](_0x48f037);}const _0x1a52ba=this[_0x3b6d30(0x490)]();if(_0x9e4e74){const _0x3fa302=Ti(this[_0x3b6d30(0x306)],_0x1b197d,this[_0x3b6d30(0x462)],_0x960534,_0x4d4c9a,_0x1a52ba);return _0x3fa302 instanceof re?_0x3fa302['_schedule']():(_0x3fa302 instanceof ae||_0x3fa302 instanceof _e)&&_0x3fa302[_0x3b6d30(0x37c)](),_0x3fa302;}return this[_0x3b6d30(0x306)][_0x3b6d30(0x41d)](ue,_0x1b197d,this[_0x3b6d30(0x462)],_0x960534,_0x4d4c9a,_0x1a52ba);}[_0x453300(0x3d8)](_0x215fa6,_0x55c61e){var _0x29b41f=_0x453300,_0x5c2d83,_0x11a607;const _0x10616d=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x29b41f(0x2de)]()[_0x29b41f(0x286)]);(_0x5c2d83=_0x10616d((_0x215fa6==null?void 0x0:_0x215fa6[_0x29b41f(0x3de)])||[],null))==null||_0x5c2d83[_0x29b41f(0x3e4)](_0x102a55=>this['_commandService']['executeCommand'](_0x102a55['id'],_0x102a55[_0x29b41f(0x241)])),(_0x11a607=_0x10616d(_0x55c61e||[],null))==null||_0x11a607[_0x29b41f(0x3e4)](_0x52cd22=>this[_0x29b41f(0x405)][_0x29b41f(0x39c)](_0x52cd22['id'],_0x52cd22[_0x29b41f(0x241)]));}};st=wt([H(0x3,_0x310792(_0x152897)),H(0x4,_0x310792(_0x4fc4f5)),H(0x5,_0x310792(_0x1ff2e2)),H(0x6,_0x310792(_0x5f2a0b)),H(0x7,_0x310792(ve)),H(0x8,_0x2da007),H(0x9,_0x30c9a4),H(0xa,_0x5a06f5),H(0xb,_0x3ff866(ht)),H(0xc,_0x3ff866(J))],st);let St=class extends st{constructor(_0x5095d0,_0x4b8f79,_0x36dd30,_0xf1545a,_0xb1c0d4,_0x1d675b,_0x5889da,_0x282602,_0x1f33c9,_0x5f4fb1,_0x4f8e76,_0x59d4cf,_0x2cd49d){var _0x3a963c=_0x453300;super(_0x5095d0,_0x36dd30,_0x4b8f79,_0xf1545a,_0xb1c0d4,_0x1d675b,_0x5889da,_0x282602,_0x1f33c9,_0x5f4fb1,_0x4f8e76,_0x59d4cf,_0x2cd49d),N(this,_0x3a963c(0x36a),null),(this['unitID']=_0x5095d0,this[_0x3a963c(0x311)]=_0x4b8f79);}[_0x453300(0x441)](_0x2bccce){var _0x56f3e6=_0x453300;this[_0x56f3e6(0x36a)]=_0x2bccce;}[_0x453300(0x204)](){var _0x3a6684=_0x453300;this[_0x3a6684(0x36a)]=null,super[_0x3a6684(0x204)]();}[_0x453300(0x490)](){var _0x1136e5=_0x453300;const _0x529b0e=super[_0x1136e5(0x490)]();return _0x529b0e[_0x1136e5(0x2fe)]=_0x38afd2=>{var _0xeb8295=_0x1136e5,_0x496228,_0x401e8d;return(_0x401e8d=(_0x496228=this[_0xeb8295(0x36a)])==null?void 0x0:_0x496228['onTransformIME'])==null?void 0x0:_0x401e8d[_0xeb8295(0x28e)](_0x496228,_0x38afd2);},_0x529b0e[_0x1136e5(0x378)]=_0x332743=>{var _0x261b05=_0x1136e5,_0x225647,_0x379f82;return(_0x379f82=(_0x225647=this[_0x261b05(0x36a)])==null?void 0x0:_0x225647[_0x261b05(0x378)])==null?void 0x0:_0x379f82['call'](_0x225647,_0x332743);},_0x529b0e[_0x1136e5(0x29b)]=_0x2c1614=>{var _0x22e887=_0x1136e5,_0x2c7953,_0x3b8edd;return(_0x3b8edd=(_0x2c7953=this[_0x22e887(0x36a)])==null?void 0x0:_0x2c7953['onTransformSelections'])==null?void 0x0:_0x3b8edd[_0x22e887(0x28e)](_0x2c7953,_0x2c1614);},_0x529b0e[_0x1136e5(0x281)]=_0x2cc042=>{var _0x47f4db=_0x1136e5,_0x4d54a0,_0xf3f587;return(_0xf3f587=(_0x4d54a0=this[_0x47f4db(0x36a)])==null?void 0x0:_0x4d54a0[_0x47f4db(0x281)])==null?void 0x0:_0xf3f587['call'](_0x4d54a0,_0x2cc042);},_0x529b0e[_0x1136e5(0x4ce)]=_0x599523=>{var _0x25bf03=_0x1136e5,_0x13538a,_0x2df741,_0xeaf8b6;if(!((_0x13538a=this['_handlerCallback'])!=null&&_0x13538a[_0x25bf03(0x4ce)]))throw new Error(_0x25bf03(0x4a5));return(_0xeaf8b6=(_0x2df741=this[_0x25bf03(0x36a)])==null?void 0x0:_0x2df741[_0x25bf03(0x4ce)])==null?void 0x0:_0xeaf8b6['call'](_0x2df741,_0x599523);},_0x529b0e[_0x1136e5(0x406)]=_0x317ecb=>{var _0x4ac274=_0x1136e5,_0x2ac844,_0x366735,_0x402ee3;if(!((_0x2ac844=this[_0x4ac274(0x36a)])!=null&&_0x2ac844[_0x4ac274(0x406)]))throw new Error(_0x4ac274(0x1c8));return(_0x402ee3=(_0x366735=this[_0x4ac274(0x36a)])==null?void 0x0:_0x366735['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x402ee3[_0x4ac274(0x28e)](_0x366735,_0x317ecb);},_0x529b0e;}async[_0x453300(0x3b4)](){var _0x374387=_0x453300;const _0xf9bb62=await super[_0x374387(0x3b4)]();return this[_0x374387(0x249)](this['_commandService'][_0x374387(0x443)]((_0x26b195,_0x40f66c)=>{var _0x348949=_0x374387;if(_0x26b195[_0x348949(0x311)]!==_0x20f682[_0x348949(0x3b2)]||_0x40f66c!=null&&_0x40f66c[_0x348949(0x1cb)]||_0x40f66c!=null&&_0x40f66c[_0x348949(0x417)]||_0x26b195['id']===_0x42c183['id'])return;const _0x1cac12=_0x26b195['params'];if((_0x1cac12==null?void 0x0:_0x1cac12['unitId'])!==this[_0x348949(0x218)])return;const _0x5a28e9=_0x26b195,_0x3c74d2=this[_0x348949(0x21d)][_0x348949(0x2fb)]['fetchThroughInterceptors'](this[_0x348949(0x21d)][_0x348949(0x2fb)][_0x348949(0x2de)]()[_0x348949(0x48f)])([_0x5a28e9],null)||[_0x5a28e9];this[_0x348949(0x23f)](_0x3c74d2[0x0]);})),_0xf9bb62;}};St=wt([H(0x3,_0x310792(_0x152897)),H(0x4,_0x310792(_0x4fc4f5)),H(0x5,_0x310792(_0x1ff2e2)),H(0x6,_0x310792(_0x5f2a0b)),H(0x7,_0x310792(ve)),H(0x8,_0x2da007),H(0x9,_0x30c9a4),H(0xa,_0x5a06f5),H(0xb,_0x3ff866(ht)),H(0xc,_0x3ff866(J))],St);let Et=class extends st{constructor(_0x10cb18,_0x3748bf,_0x4d79a6,_0x136aac,_0x16974e,_0xa1a531,_0x8ab152,_0x29cbe4,_0x24ea90,_0x57593d,_0x3be2d0,_0x361338,_0xd396ef,_0x4ca793){var _0x4d9e7c=_0x453300;super(_0x10cb18,_0x4d79a6,_0x3748bf,_0x136aac,_0x16974e,_0xa1a531,_0x8ab152,_0x24ea90,_0x57593d,_0x3be2d0,_0x361338,_0xd396ef,_0x4ca793),this[_0x4d9e7c(0x218)]=_0x10cb18,this[_0x4d9e7c(0x311)]=_0x3748bf,this['_sheetTransformSelectionsService']=_0x29cbe4;}[_0x453300(0x490)](){var _0xca5833=_0x453300;const _0x3a7a64=super[_0xca5833(0x490)]();return _0x3a7a64['onTransformSelections']=_0x3e8161=>this[_0xca5833(0x3a5)][_0xca5833(0x250)](_0x3e8161),_0x3a7a64;}async['_init'](){var _0x356fc2=_0x453300;const _0x157b99=await super['_init']();return this[_0x356fc2(0x249)](this[_0x356fc2(0x405)]['onCommandExecuted']((_0x53be86,_0x21a1cd)=>{var _0x5e4999=_0x356fc2;if(_0x53be86[_0x5e4999(0x311)]!==_0x20f682[_0x5e4999(0x3b2)]||_0x21a1cd!=null&&_0x21a1cd[_0x5e4999(0x1cb)]||_0x21a1cd!=null&&_0x21a1cd[_0x5e4999(0x417)])return;const _0x3a8835=_0x53be86[_0x5e4999(0x241)];if((_0x3a8835==null?void 0x0:_0x3a8835[_0x5e4999(0x332)])!==this['unitID'])return;const _0x5cd103=_0x53be86,_0x1712ec=this[_0x5e4999(0x21d)][_0x5e4999(0x2fb)][_0x5e4999(0x3fb)](this[_0x5e4999(0x21d)]['interceptor'][_0x5e4999(0x2de)]()[_0x5e4999(0x48f)])([_0x5cd103],null)||[_0x5cd103];this[_0x5e4999(0x23f)](_0x1712ec[0x0]);})),_0x157b99;}};Et=wt([H(0x3,_0x310792(_0x152897)),H(0x4,_0x310792(_0x4fc4f5)),H(0x5,_0x310792(_0x1ff2e2)),H(0x6,_0x310792(_0x5f2a0b)),H(0x7,_0x310792(it)),H(0x8,_0x310792(ve)),H(0x9,_0x2da007),H(0xa,_0x30c9a4),H(0xb,_0x5a06f5),H(0xc,_0x3ff866(ht)),H(0xd,_0x3ff866(J))],Et);const js=_0x4bf165('univer-pro.collaboration-client.network-condition.service');function Fs(_0x286204){var _0xbdbf0c=_0x453300,_0x2739ad,_0x1fc897,_0x2bb144,_0x4b903c,_0x213317;const _0x17b4ce=_0x286204[_0xbdbf0c(0x2f0)],_0x254c96=JSON[_0xbdbf0c(0x40e)](_0x17b4ce);switch(_0x254c96[_0xbdbf0c(0x3b3)]){case F[_0xbdbf0c(0x27e)]:case F['HELLO']:{const _0x30438c=_0x254c96[_0xbdbf0c(0x38d)];return{..._0x254c96,'data':_0x30438c,'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};}case F[_0xbdbf0c(0x1fa)]:{const _0x597625=_0x254c96[_0xbdbf0c(0x21c)];return{..._0x254c96,'data':_0x597625,'cmd':_0x254c96['cmd']};}case F['RECV']:{const _0x1240e4=_0x254c96['collaMsg'];switch(_0x1240e4[_0xbdbf0c(0x308)]){case _0x5d12f3[_0xbdbf0c(0x488)]:return{..._0x254c96,'data':{..._0x1240e4,'data':(_0x2739ad=_0x1240e4['permissionRejEvent'])==null?void 0x0:_0x2739ad['cs']},'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};case _0x5d12f3[_0xbdbf0c(0x352)]:return{..._0x254c96,'data':{..._0x1240e4,'data':(_0x1fc897=_0x1240e4[_0xbdbf0c(0x212)])==null?void 0x0:_0x1fc897['cs']},'cmd':_0x254c96['cmd']};case _0x5d12f3[_0xbdbf0c(0x40b)]:return{..._0x254c96,'data':{..._0x1240e4,'data':(_0x2bb144=_0x1240e4[_0xbdbf0c(0x2e1)])==null?void 0x0:_0x2bb144['cs']},'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};case _0x5d12f3[_0xbdbf0c(0x4a1)]:return{..._0x254c96,'data':{..._0x1240e4,'data':(_0x4b903c=_0x1240e4[_0xbdbf0c(0x4c5)])==null?void 0x0:_0x4b903c['cs']},'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};case _0x5d12f3[_0xbdbf0c(0x21f)]:return{..._0x254c96,'data':{..._0x1240e4,'data':(_0x213317=_0x1240e4['csShouldRetryEvent'])==null?void 0x0:_0x213317['cs']},'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};case _0x5d12f3[_0xbdbf0c(0x451)]:return{..._0x254c96,'data':{..._0x1240e4,'data':_0x1240e4[_0xbdbf0c(0x299)]},'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};case _0x5d12f3['USERS_ENTER']:return{..._0x254c96,'data':{..._0x1240e4,'data':_0x1240e4['joinEvent']},'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};case _0x5d12f3[_0xbdbf0c(0x1fd)]:return{..._0x254c96,'data':{..._0x1240e4,'data':_0x1240e4[_0xbdbf0c(0x389)]},'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};case _0x5d12f3[_0xbdbf0c(0x32c)]:return{..._0x254c96,'data':{..._0x1240e4,'data':_0x1240e4[_0xbdbf0c(0x428)]},'cmd':_0x254c96['cmd']};case _0x5d12f3['LIVESHARE_FETCH_OPERATIONS']:case _0x5d12f3[_0xbdbf0c(0x47e)]:return{..._0x254c96,'data':{..._0x1240e4,'data':_0x1240e4['liveShareOperation']},'cmd':_0x254c96['cmd']};case _0x5d12f3[_0xbdbf0c(0x30b)]:return{..._0x254c96,'data':{..._0x1240e4,'data':_0x1240e4[_0xbdbf0c(0x428)]},'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};case _0x5d12f3[_0xbdbf0c(0x4cc)]:return{..._0x254c96,'data':_0x1240e4,'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};case _0x5d12f3[_0xbdbf0c(0x344)]:return{..._0x254c96,'data':{..._0x1240e4,'data':_0x1240e4[_0xbdbf0c(0x391)]},'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};case _0x5d12f3['UPDATE_PERMISSION_OBJ']:return{..._0x254c96,'data':{..._0x1240e4,'data':_0x1240e4['updatePermissionObjEvent']},'cmd':_0x254c96['cmd']};case _0x5d12f3[_0xbdbf0c(0x494)]:return{..._0x254c96,'data':{..._0x1240e4,'data':_0x1240e4[_0xbdbf0c(0x340)]},'cmd':_0x254c96['cmd']};case _0x5d12f3['UNISCRIPT_RUN']:return{..._0x254c96,'data':{..._0x1240e4,'data':_0x1240e4['uniscriptRunEvent']},'cmd':_0x254c96[_0xbdbf0c(0x3b3)]};default:return _0x254c96;}}default:return _0x254c96;}}function Vs(_0x11b86c){var _0x4d5625=_0x453300;switch(_0x11b86c['cmd']){case F[_0x4d5625(0x27e)]:case F[_0x4d5625(0x226)]:return JSON['stringify']({'cmd':_0x11b86c[_0x4d5625(0x3b3)],'routeKey':_0x11b86c['routeKey']});case F[_0x4d5625(0x262)]:{let _0x40aee0;switch(_0x11b86c[_0x4d5625(0x2f0)]['eventID']){case _0x5d12f3[_0x4d5625(0x451)]:{_0x40aee0={'eventID':_0x5d12f3['UPDATE_CURSOR'],'updateCursorEvent':_0x11b86c[_0x4d5625(0x2f0)][_0x4d5625(0x2f0)]};break;}case _0x5d12f3[_0x4d5625(0x1fd)]:{_0x40aee0={'eventID':_0x5d12f3['USERS_LEAVE'],'leaveEvent':_0x11b86c[_0x4d5625(0x2f0)][_0x4d5625(0x2f0)]};break;}case _0x5d12f3['USERS_ENTER']:{_0x40aee0={'eventID':_0x5d12f3[_0x4d5625(0x1de)],'joinEvent':_0x11b86c[_0x4d5625(0x2f0)][_0x4d5625(0x2f0)]};break;}case _0x5d12f3['LIVESHARE_NEW_HOST']:{_0x40aee0={'eventID':_0x5d12f3[_0x4d5625(0x32c)],'liveShareNewHost':_0x11b86c[_0x4d5625(0x2f0)][_0x4d5625(0x2f0)]};break;}case _0x5d12f3[_0x4d5625(0x47e)]:{_0x40aee0={'eventID':_0x5d12f3[_0x4d5625(0x47e)],'liveShareOperation':_0x11b86c[_0x4d5625(0x2f0)]['data']};break;}case _0x5d12f3[_0x4d5625(0x30b)]:{_0x40aee0={'eventID':_0x5d12f3[_0x4d5625(0x30b)],'liveShareTerminate':_0x11b86c[_0x4d5625(0x2f0)][_0x4d5625(0x2f0)]};break;}case _0x5d12f3['LIVESHARE_REQUEST_HOST']:{_0x40aee0={'eventID':_0x5d12f3[_0x4d5625(0x4b0)],'liveShareRequestHost':_0x11b86c[_0x4d5625(0x2f0)][_0x4d5625(0x2f0)]};break;}case _0x5d12f3['LIVESHARE_FETCH_OPERATIONS']:{_0x40aee0={'eventID':_0x5d12f3[_0x4d5625(0x207)]};break;}default:_0x40aee0={'eventID':_0x11b86c[_0x4d5625(0x2f0)]['eventID']};}return JSON['stringify']({'cmd':_0x11b86c[_0x4d5625(0x3b3)],'routeKey':_0x11b86c['routeKey'],'collaMsg':_0x40aee0});}case F[_0x4d5625(0x1fa)]:return JSON[_0x4d5625(0x300)]({'cmd':_0x11b86c[_0x4d5625(0x3b3)],'routeKey':_0x11b86c['routeKey'],'joinReq':_0x11b86c[_0x4d5625(0x2f0)]});case F['LEAVE']:return JSON[_0x4d5625(0x300)]({'cmd':_0x11b86c[_0x4d5625(0x3b3)],'routeKey':_0x11b86c[_0x4d5625(0x2ba)],'leaveReq':_0x11b86c['data']});default:throw new Error(_0x4d5625(0x2d9));}}var Ws=Object[_0x453300(0x3b6)],Gs=(_0x377bd8,_0x26659f,_0xd12fe0,_0x18e4cc)=>{var _0x27a623=_0x453300;for(var _0x12ba07=_0x18e4cc>0x1?void 0x0:_0x18e4cc?Ws(_0x26659f,_0xd12fe0):_0x26659f,_0x5d2d98=_0x377bd8[_0x27a623(0x42d)]-0x1,_0x15cc3c;_0x5d2d98>=0x0;_0x5d2d98--)(_0x15cc3c=_0x377bd8[_0x5d2d98])&&(_0x12ba07=_0x15cc3c(_0x12ba07)||_0x12ba07);return _0x12ba07;},De=(_0xd38e65,_0x52e45d)=>(_0x4e34e3,_0x5bbdfd)=>_0x52e45d(_0x4e34e3,_0x5bbdfd,_0xd38e65);const Ci=_0x4bf165('univer-pro.collaboration-client-socket-service');function Ys(_0x52f002,_0xf7b47c,_0x574ce3){var _0x51a5fc=_0x453300;return _0x52f002+'/'+_0xf7b47c+_0x51a5fc(0x323)+_0x574ce3+_0x51a5fc(0x2c3);}let Gt=class extends _0x3ffcb6{constructor(_0x36def5,_0x5bb29e,_0x1a0cd1,_0xf05ca9,_0x500b72){var _0x43c07d=_0x453300;super(),this[_0x43c07d(0x306)]=_0x36def5,this['_httpService']=_0x5bb29e,this[_0x43c07d(0x28c)]=_0x1a0cd1,this['_logService']=_0xf05ca9,this[_0x43c07d(0x4b4)]=_0x500b72;}[_0x453300(0x244)](_0x319008){var _0x151372=_0x453300;const _0x1e459b=this[_0x151372(0x306)][_0x151372(0x2bd)](_0x1016c1);if(!_0x1e459b)throw new Error(_0x151372(0x294));const _0x4b1670=_0x1e459b[_0x151372(0x2e0)](_0x319008);if(!_0x4b1670)throw new Error(_0x151372(0x373));const _0x39f6fd=new _0x399906(),_0x524676=new _0x2af173();_0x39f6fd[_0x151372(0x2eb)](_0x4b1670['close$'][_0x151372(0x29e)](_0x36cbef=>_0x524676['next'](_0x36cbef))),_0x39f6fd['add'](_0x20e220(()=>_0x524676[_0x151372(0x35b)]()));const _0x4ca962=new _0x2af173();_0x39f6fd[_0x151372(0x2eb)](_0x4b1670['error$'][_0x151372(0x29e)](_0x2736f9=>_0x4ca962[_0x151372(0x371)](_0x2736f9))),_0x39f6fd[_0x151372(0x2eb)](_0x20e220(()=>_0x4ca962[_0x151372(0x35b)]()));const _0x3e0569=new _0x2af173();_0x39f6fd['add'](_0x4b1670[_0x151372(0x487)]['subscribe'](_0x17129a=>{var _0x245e7d=_0x151372;const _0x3ecc8d=Fs(_0x17129a);_0x3e0569[_0x245e7d(0x371)](_0x3ecc8d);})),_0x39f6fd[_0x151372(0x2eb)](_0x20e220(()=>_0x3e0569[_0x151372(0x35b)]()));let _0x3fdcd8;const _0x29aee5=()=>{var _0x359617=_0x151372;_0x4ca962['next'](new Event(_0x359617(0x33a))),_0x524676[_0x359617(0x371)](new Event(_0x359617(0x33a))),_0x3fdcd8[_0x359617(0x408)]();};return _0x3fdcd8={'memberID':'','close$':_0x524676['asObservable'](),'error$':_0x4ca962[_0x151372(0x1ea)](),'open$':_0x4b1670[_0x151372(0x251)],'message$':_0x3e0569[_0x151372(0x1ea)](),'send':_0xa5a72=>{var _0xc2c26a=_0x151372;if(_0xa5a72[_0xc2c26a(0x3b3)]===F[_0xc2c26a(0x262)]){if(_0xa5a72['data'][_0xc2c26a(0x308)]===_0x5d12f3[_0xc2c26a(0x1f3)]){this[_0xc2c26a(0x275)](_0x3fdcd8,_0xa5a72[_0xc2c26a(0x2f0)])[_0xc2c26a(0x467)](_0x2958ef=>{var _0x3bc8c3=_0xc2c26a;this[_0x3bc8c3(0x41c)]['error'](_0x2958ef),_0x29aee5();});return;}if(_0xa5a72[_0xc2c26a(0x2f0)][_0xc2c26a(0x308)]===_0x5d12f3[_0xc2c26a(0x2ff)]){const _0x4e1458=_0xa5a72[_0xc2c26a(0x2f0)];this[_0xc2c26a(0x36d)](_0x4e1458)[_0xc2c26a(0x3f0)](_0x34f977=>{var _0x56db3f=_0xc2c26a;_0x3e0569['next']({'cmd':F[_0x56db3f(0x317)],'code':pe['OK'],'routeKey':_0x4e1458[_0x56db3f(0x2f0)][_0x56db3f(0x218)],'routeType':'','data':{'eventID':_0x5d12f3['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x34f977}}});})[_0xc2c26a(0x467)](_0x436cae=>{var _0x44769f=_0xc2c26a;this[_0x44769f(0x41c)][_0x44769f(0x473)](_0x436cae),_0x29aee5();});return;}}_0x4b1670[_0xc2c26a(0x399)](Vs(_0xa5a72));},'close':()=>{var _0x56f6b5=_0x151372;_0x4b1670[_0x56f6b5(0x408)](),_0x39f6fd[_0x56f6b5(0x204)]();}},_0x3fdcd8;}async[_0x453300(0x275)](_0x50b56c,_0x2415cc){var _0x430ea6=_0x453300,_0x20e836;const {unitType:_0xec6160,unitID:_0x182b60,changeset:_0x504bf5}=_0x2415cc[_0x430ea6(0x2f0)],_0xffa347={'unitID':_0x182b60,'memberID':_0x50b56c[_0x430ea6(0x305)],'type':_0xec6160,'changeset':_0x24d9d3(_0x504bf5)},_0xd81c73=this[_0x430ea6(0x28c)]['getConfig'](K),_0x457a4c=Ys((_0x20e836=_0xd81c73==null?void 0x0:_0xd81c73[_0x430ea6(0x20e)])!=null?_0x20e836:Cs,_0xec6160,_0x182b60);try{await this['_httpService']['post'](_0x457a4c,{'body':_0xffa347});}catch(_0x3c3c69){throw this[_0x430ea6(0x41c)][_0x430ea6(0x473)](_0x430ea6(0x392),_0x430ea6(0x346)),_0x3c3c69;}}async[_0x453300(0x36d)](_0x2e366a){var _0x5a2dc1=_0x453300;const {unitID:_0x78f5d9,from:_0x554adc,to:_0xcb8e07,unitType:_0x5b55a6}=_0x2e366a[_0x5a2dc1(0x2f0)];return(await this[_0x5a2dc1(0x4b4)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x78f5d9,'type':_0x5b55a6,'from':_0x554adc,'to':_0xcb8e07}))[_0x5a2dc1(0x469)];}};Gt=Gs([De(0x0,_0x310792(_0x152897)),De(0x1,_0x310792(_0x3b868d)),De(0x2,_0x70ee0c),De(0x3,_0x2da007),De(0x4,_0x1e567a)],Gt);var Ks=Object[_0x453300(0x3b6)],qs=(_0x30aaff,_0xf37b41,_0x4d22af,_0x3868e2)=>{var _0x5d05a6=_0x453300;for(var _0x1fcfee=_0x3868e2>0x1?void 0x0:_0x3868e2?Ks(_0xf37b41,_0x4d22af):_0xf37b41,_0x5b687a=_0x30aaff[_0x5d05a6(0x42d)]-0x1,_0x2c10af;_0x5b687a>=0x0;_0x5b687a--)(_0x2c10af=_0x30aaff[_0x5b687a])&&(_0x1fcfee=_0x2c10af(_0x1fcfee)||_0x1fcfee);return _0x1fcfee;},Re=(_0x54b0cf,_0x580017)=>(_0x2a1265,_0x27b2bc)=>_0x580017(_0x2a1265,_0x27b2bc,_0x54b0cf);let Pe=class extends _0x3ffcb6{constructor(_0x2462d1,_0x41fb43,_0x2ee328,_0x17581f,_0x35c5de,_0xd84127){var _0x388269=_0x453300;super(),N(this,'_socket$',new _0x426c33(void 0x0)),N(this,_0x388269(0x1e7),this[_0x388269(0x3a1)][_0x388269(0x1ea)]()),N(this,_0x388269(0x1fb),null),N(this,'_sessions',new Map()),N(this,_0x388269(0x263),new _0x426c33(ge[_0x388269(0x445)])),N(this,_0x388269(0x398),this[_0x388269(0x263)][_0x388269(0x1ea)]()),N(this,_0x388269(0x210),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x388269(0x492),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x388269(0x306)]=_0x2462d1,this[_0x388269(0x41c)]=_0x41fb43,this[_0x388269(0x28c)]=_0x2ee328,this[_0x388269(0x4a0)]=_0x17581f,this[_0x388269(0x39d)]=_0x35c5de,this[_0x388269(0x2dd)]=_0xd84127,this[_0x388269(0x2c2)]());}get[_0x453300(0x3ee)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x465ad3=_0x453300;this[_0x465ad3(0x2dd)]&&this[_0x465ad3(0x249)](this[_0x465ad3(0x2dd)][_0x465ad3(0x42c)]['subscribe'](_0x3859c8=>{var _0x5c8dab=_0x465ad3;_0x3859c8&&!this[_0x5c8dab(0x3ee)]&&this[_0x5c8dab(0x285)](),_0x3859c8||this[_0x5c8dab(0x37f)]();}));}[_0x453300(0x204)](){var _0x3da993=_0x453300;super['dispose'](),this[_0x3da993(0x49f)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x3da993(0x3af)][_0x3da993(0x3e4)](_0x35df0f=>_0x35df0f[_0x3da993(0x204)]()),this[_0x3da993(0x3af)][_0x3da993(0x429)](),this[_0x3da993(0x263)][_0x3da993(0x35b)]();}async[_0x453300(0x209)](_0x45ad07){var _0x49f7eb=_0x453300;if(this[_0x49f7eb(0x3af)][_0x49f7eb(0x446)](_0x45ad07))return this[_0x49f7eb(0x3af)]['get'](_0x45ad07);this[_0x49f7eb(0x493)]();const _0x59682b=this[_0x49f7eb(0x306)][_0x49f7eb(0x41d)](gt,_0x45ad07,this[_0x49f7eb(0x3a1)]['asObservable']());return this[_0x49f7eb(0x3af)]['set'](_0x45ad07,_0x59682b),_0x59682b;}['closeSession'](_0x1b54b3){var _0xf08fc=_0x453300,_0x52f043;const _0x19fc75=this[_0xf08fc(0x3af)][_0xf08fc(0x2bd)](_0x1b54b3);_0x19fc75&&(this[_0xf08fc(0x3af)][_0xf08fc(0x1d3)](_0x1b54b3),_0x19fc75[_0xf08fc(0x408)]()),this[_0xf08fc(0x3af)][_0xf08fc(0x4a6)]||(_0x52f043=this[_0xf08fc(0x3ee)])==null||_0x52f043[_0xf08fc(0x408)]();}[_0x453300(0x285)](){var _0x1437f7=_0x453300;this['_retryCount']=0x0,this[_0x1437f7(0x49f)](),this['_tryReconnect']();}[_0x453300(0x49f)](){var _0x2cabc9=_0x453300;this[_0x2cabc9(0x25a)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x165860=_0x453300,_0x3bee4a;const _0xace79c=this[_0x165860(0x28c)][_0x165860(0x2da)](K),_0x5ba3ca=(_0x3bee4a=_0xace79c==null?void 0x0:_0xace79c[_0x165860(0x313)])!=null?_0x3bee4a:ms,_0x44cb01=await this[_0x165860(0x4a0)][_0x165860(0x2e0)](_0x5ba3ca);return this[_0x165860(0x1fb)]=_0x44cb01,_0x44cb01;}async[_0x453300(0x493)](){var _0x4ee3be=_0x453300,_0x46b8ab,_0x32fa4e;try{const _0x6b2bd3=(_0x32fa4e=(_0x46b8ab=this[_0x4ee3be(0x3ee)])!=null?_0x46b8ab:this['_candidateSocket'])!=null?_0x32fa4e:await this[_0x4ee3be(0x29c)]();if(_0x6b2bd3){const _0x3bfef4=_0x6b2bd3[_0x4ee3be(0x399)];_0x6b2bd3[_0x4ee3be(0x399)]=_0x1125e7=>(this[_0x4ee3be(0x4ca)](),_0x3bfef4[_0x4ee3be(0x470)](_0x6b2bd3,[_0x1125e7])),_0x6b2bd3[_0x4ee3be(0x487)][_0x4ee3be(0x29e)](_0x48e20c=>this[_0x4ee3be(0x35a)](_0x6b2bd3,_0x48e20c)),_0x6b2bd3[_0x4ee3be(0x2a0)][_0x4ee3be(0x1d2)](_0xf6860(0x1))['subscribe'](_0x50e906=>this['_logService'][_0x4ee3be(0x473)]('[CollaborationSessionService]:\x20socket\x20error',_0x50e906)),_0x6b2bd3[_0x4ee3be(0x251)]['pipe'](_0xf6860(0x1))[_0x4ee3be(0x29e)](()=>{var _0x539b81=_0x4ee3be;this[_0x539b81(0x29f)](_0x6b2bd3);}),_0x6b2bd3[_0x4ee3be(0x2af)][_0x4ee3be(0x1d2)](_0xf6860(0x1))[_0x4ee3be(0x29e)](_0xe776b=>{var _0x41a86b=_0x4ee3be;this[_0x41a86b(0x41c)][_0x41a86b(0x339)]('[CollaborationSessionService]',_0x41a86b(0x222),_0xe776b),this[_0x41a86b(0x30c)]();});}}catch(_0x1c1983){this[_0x4ee3be(0x41c)]['error'](_0x1c1983),this[_0x4ee3be(0x30c)]();}}['_onConnectionOpen'](_0x5ccbb0){var _0x3043b5=_0x453300;this[_0x3043b5(0x41c)][_0x3043b5(0x339)]('[CollaborationSessionService]',_0x3043b5(0x1ca)),_0x5ccbb0[_0x3043b5(0x399)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x453300(0x37f)](){var _0x3aa2c5=_0x453300;this[_0x3aa2c5(0x210)]=!0x1,this[_0x3aa2c5(0x1fb)]=null,this[_0x3aa2c5(0x263)][_0x3aa2c5(0x371)](ge[_0x3aa2c5(0x2d6)]),this[_0x3aa2c5(0x3a1)][_0x3aa2c5(0x371)](null),this[_0x3aa2c5(0x3d7)](),this[_0x3aa2c5(0x303)]();}[_0x453300(0x30c)](){var _0x480dae=_0x453300,_0x196d61;this['_onOffline'](),this['_retryCount']<((_0x196d61=this[_0x480dae(0x28c)][_0x480dae(0x2da)](Is))!=null?_0x196d61:Ts)?(this[_0x480dae(0x39d)][_0x480dae(0x404)]({'id':ne[_0x480dae(0x28b)]}),this[_0x480dae(0x2d0)]()):this['_collaborationUIEventService'][_0x480dae(0x404)]({'id':ne[_0x480dae(0x38c)]});}[_0x453300(0x2d0)](){var _0x15c85f=_0x453300,_0x5ab3bd;const _0x3dc1c1=this[_0x15c85f(0x492)],_0x5936b5=this['_configService'][_0x15c85f(0x2da)](K),_0x22c02e=_0x3dc1c1===0x0?0x0:((_0x5ab3bd=_0x5936b5==null?void 0x0:_0x5936b5[_0x15c85f(0x269)])!=null?_0x5ab3bd:Es)*0x2**_0x3dc1c1;this[_0x15c85f(0x25a)]=setTimeout(()=>{var _0x12214e=_0x15c85f;clearTimeout(this[_0x12214e(0x25a)]),this[_0x12214e(0x25a)]=null,this[_0x12214e(0x493)]();},_0x22c02e),this[_0x15c85f(0x492)]+=0x1;}[_0x453300(0x35a)](_0x2c4a81,_0x4f3cfe){var _0x501298=_0x453300;const {cmd:_0x4d07d6}=_0x4f3cfe;_0x4d07d6===F[_0x501298(0x226)]&&!this[_0x501298(0x210)]&&(_0x2c4a81[_0x501298(0x305)]=_0x4f3cfe[_0x501298(0x2f0)]['memberID'],this[_0x501298(0x3a1)][_0x501298(0x371)](_0x2c4a81),this[_0x501298(0x263)]['next'](ge[_0x501298(0x315)]),this[_0x501298(0x210)]=!0x0,this['_candidateSocket']=null),_0x4d07d6===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x501298(0x4ca)]();}['_rescheduleHeartbeat'](){var _0x4716ad=_0x453300,_0x3133e7;this[_0x4716ad(0x303)](),this[_0x4716ad(0x291)]=setTimeout(()=>this[_0x4716ad(0x2cb)](),(_0x3133e7=this[_0x4716ad(0x28c)][_0x4716ad(0x2da)](gs))!=null?_0x3133e7:Ss);}[_0x453300(0x2cb)](){var _0x3266bd=_0x453300;this[_0x3266bd(0x3ee)]['send']({'cmd':F[_0x3266bd(0x27e)]}),this[_0x3266bd(0x202)]();}[_0x453300(0x202)](){var _0x508c36=_0x453300,_0xcff6d8;this[_0x508c36(0x2f4)]=setTimeout(()=>this[_0x508c36(0x30c)](),(_0xcff6d8=this['_configService'][_0x508c36(0x2da)](di))!=null?_0xcff6d8:fi);}['_clearHeartbeatTimer'](){var _0x1b6764=_0x453300;this[_0x1b6764(0x291)]!=null&&(clearTimeout(this[_0x1b6764(0x291)]),this[_0x1b6764(0x291)]=null);}[_0x453300(0x3d7)](){var _0x120237=_0x453300;this[_0x120237(0x2f4)]!=null&&(clearTimeout(this[_0x120237(0x2f4)]),this[_0x120237(0x2f4)]=null);}};Pe=qs([Re(0x0,_0x310792(_0x152897)),Re(0x1,_0x2da007),Re(0x2,_0x70ee0c),Re(0x3,Ci),Re(0x4,_0x310792(ve)),Re(0x5,_0x3ff866(js))],Pe);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x57da96,_0x324f93,_0x363927,_0x1b012f)=>{var _0xab8970=_0x453300;for(var _0x587677=_0x1b012f>0x1?void 0x0:_0x1b012f?zs(_0x324f93,_0x363927):_0x324f93,_0x8f2804=_0x57da96[_0xab8970(0x42d)]-0x1,_0x4db0c8;_0x8f2804>=0x0;_0x8f2804--)(_0x4db0c8=_0x57da96[_0x8f2804])&&(_0x587677=_0x4db0c8(_0x587677)||_0x587677);return _0x587677;},Be=(_0x3baf08,_0x1b88c)=>(_0x5317bb,_0x1010a3)=>_0x1b88c(_0x5317bb,_0x1010a3,_0x3baf08);let nt=class extends _0x38e82b{constructor(_0x594a05,_0x205493,_0x42a0af,_0x1964db){var _0x5380dc=_0x453300,_0x3eac9d;super(),N(this,_0x5380dc(0x453),new Map()),N(this,_0x5380dc(0x3f7),new _0x2af173()),N(this,_0x5380dc(0x252),this[_0x5380dc(0x3f7)][_0x5380dc(0x1ea)]()),(this['_injector']=_0x594a05,this['_collabSessionService']=_0x205493,this[_0x5380dc(0x28c)]=_0x42a0af,this['_univerInstanceService']=_0x1964db,((_0x3eac9d=this[_0x5380dc(0x28c)][_0x5380dc(0x2da)](K))==null?void 0x0:_0x3eac9d[_0x5380dc(0x364)])!==!0x1&&this[_0x5380dc(0x3b4)]());}['dispose'](){var _0x3e3cf7=_0x453300;super[_0x3e3cf7(0x204)](),this[_0x3e3cf7(0x453)][_0x3e3cf7(0x3e4)](_0x322960=>_0x322960['dispose']()),this[_0x3e3cf7(0x453)][_0x3e3cf7(0x429)]();}[_0x453300(0x3e8)](_0xa8bafb){var _0x1825cd=_0x453300,_0x43d776;return(_0x43d776=this[_0x1825cd(0x453)]['get'](_0xa8bafb))!=null?_0x43d776:null;}[_0x453300(0x20f)](_0x3d6f06){var _0x15e782=_0x453300;const _0x553a21=this[_0x15e782(0x3e8)](_0x3d6f06);return _0x553a21?_0xf0009c(_0x553a21):this[_0x15e782(0x3f7)][_0x15e782(0x1d2)](_0x3a2573(_0x377910=>_0x377910['unitID']===_0x3d6f06));}[_0x453300(0x43a)](_0x4a1e18){var _0x321b4a=_0x453300;return _0x2bdf72(this[_0x321b4a(0x20f)](_0x4a1e18)[_0x321b4a(0x1d2)](_0x3a7978(()=>{})));}[_0x453300(0x3b4)](){var _0x5cd6bb=_0x453300;this[_0x5cd6bb(0x314)][_0x5cd6bb(0x49b)](_0x4b5640['UNIVER_SHEET'])['pipe'](_0x857c83(this['dispose$']),_0xbc7e24(0x10))[_0x5cd6bb(0x29e)](async _0xde7cfb=>{var _0x2255fd=_0x5cd6bb;const _0x539139=_0xde7cfb['getUnitId'](),_0x501d36=await this[_0x2255fd(0x27a)](_0x539139,Z[_0x2255fd(0x36e)]);this[_0x2255fd(0x453)]['set'](_0x539139,_0x501d36);}),this['_univerInstanceService'][_0x5cd6bb(0x49b)](_0x4b5640[_0x5cd6bb(0x268)])[_0x5cd6bb(0x1d2)](_0x857c83(this[_0x5cd6bb(0x2a4)]),_0xbc7e24(0x10))['pipe'](_0x3a2573(_0x53fe75=>!_0x53fe75[_0x5cd6bb(0x3ca)]()['startsWith']('__')))[_0x5cd6bb(0x29e)](async _0x2b6c72=>{var _0x2646e9=_0x5cd6bb;const _0x4d815c=_0x2b6c72['getUnitId'](),_0x3e124f=await this['_startCollaboration'](_0x4d815c,Z[_0x2646e9(0x268)]);this[_0x2646e9(0x453)]['set'](_0x4d815c,_0x3e124f);}),_0x3a770f(this[_0x5cd6bb(0x314)][_0x5cd6bb(0x485)](_0x4b5640['UNIVER_SHEET']),this[_0x5cd6bb(0x314)]['getTypeOfUnitDisposed$'](_0x4b5640['UNIVER_DOC']))[_0x5cd6bb(0x1d2)](_0x857c83(this[_0x5cd6bb(0x2a4)]))['subscribe'](_0x27f62d=>{var _0xcee41=_0x5cd6bb;const _0x3e45f1=_0x27f62d['getUnitId'](),_0x11886=this[_0xcee41(0x453)]['get'](_0x3e45f1);_0x11886&&(_0x11886[_0xcee41(0x204)](),this[_0xcee41(0x453)]['delete'](_0x3e45f1));});}async[_0x453300(0x27a)](_0x586fd4,_0x24e77b){var _0x158b6a=_0x453300;const _0x30c9c9=await this[_0x158b6a(0x2a5)]['requireSession'](_0x586fd4),_0x9d774=this[_0x158b6a(0x306)]['createInstance'](this[_0x158b6a(0x31d)](_0x24e77b),_0x586fd4,_0x24e77b,_0x30c9c9);return await _0x9d774[_0x158b6a(0x297)](),this['_entityInit$'][_0x158b6a(0x371)](_0x9d774),_0x9d774;}['_getCtorByUniverType'](_0x48e8e3){var _0x4377c8=_0x453300;switch(_0x48e8e3){case Z[_0x4377c8(0x268)]:return St;case Z[_0x4377c8(0x36e)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x48e8e3);}}};nt=Js([Be(0x0,_0x310792(_0x152897)),Be(0x1,_0x310792(Pe)),Be(0x2,_0x70ee0c),Be(0x3,_0x53fd32)],nt);var Xs=Object[_0x453300(0x3b6)],Zs=(_0x44179b,_0x31139e,_0x24b802,_0x17eabc)=>{for(var _0x490c26=_0x17eabc>0x1?void 0x0:_0x17eabc?Xs(_0x31139e,_0x24b802):_0x31139e,_0x1ddab7=_0x44179b['length']-0x1,_0x35edc5;_0x1ddab7>=0x0;_0x1ddab7--)(_0x35edc5=_0x44179b[_0x1ddab7])&&(_0x490c26=_0x35edc5(_0x490c26)||_0x490c26);return _0x490c26;},Yt=(_0x4c8979,_0x8d414a)=>(_0x12e50a,_0x254609)=>_0x8d414a(_0x12e50a,_0x254609,_0x4c8979);const Qs=_0x453300(0x20a),en='Univer';let It=class extends _0x3ffcb6{constructor(_0x3290bd,_0x401655){var _0xfe0567=_0x453300;super(),this['_univerInstanceService']=_0x3290bd,this[_0xfe0567(0x28c)]=_0x401655,this[_0xfe0567(0x3b4)]();}['_init'](){var _0x3b711e=_0x453300;this[_0x3b711e(0x249)](this['_univerInstanceService'][_0x3b711e(0x33d)][_0x3b711e(0x29e)](()=>{var _0x33cab9=_0x3b711e,_0x2f5e58;const _0x1423fe=this['_univerInstanceService'][_0x33cab9(0x233)]();let _0x2825a5=(_0x2f5e58=this['_configService'][_0x33cab9(0x2da)](Qs))!=null?_0x2f5e58:en;_0x1423fe instanceof _0xffb5a&&(_0x2825a5=_0x1423fe[_0x33cab9(0x3b1)]),document[_0x33cab9(0x39e)]=_0x2825a5;}));}};It=Zs([Yt(0x0,_0x53fd32),Yt(0x1,_0x70ee0c)],It);var tn=Object[_0x453300(0x3b6)],sn=(_0x49ce9e,_0x52d0d1,_0x4899ee,_0x45c1bf)=>{var _0x12cb8b=_0x453300;for(var _0xec46b6=_0x45c1bf>0x1?void 0x0:_0x45c1bf?tn(_0x52d0d1,_0x4899ee):_0x52d0d1,_0x39f03c=_0x49ce9e[_0x12cb8b(0x42d)]-0x1,_0x57c838;_0x39f03c>=0x0;_0x39f03c--)(_0x57c838=_0x49ce9e[_0x39f03c])&&(_0xec46b6=_0x57c838(_0xec46b6)||_0xec46b6);return _0xec46b6;},dt=(_0x1bcbec,_0x2f004f)=>(_0x4a3db9,_0x83af00)=>_0x2f004f(_0x4a3db9,_0x83af00,_0x1bcbec);let rt=class{constructor(_0x533724,_0x2fed10,_0x5d7b63){var _0x576210=_0x453300;this[_0x576210(0x28c)]=_0x533724,this['_httpService']=_0x2fed10,this['localeService']=_0x5d7b63,this[_0x576210(0x297)]();}[_0x453300(0x297)](){var _0x36fe03=_0x453300;this[_0x36fe03(0x3fd)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x42c8db,_0x5cca31)=>_0x5cca31(_0x42c8db)['pipe'](_0x6c9a21(async _0x491b41=>{var _0x3d8ab0=_0x36fe03;const _0x48c498=_0x491b41;if(_0x48c498[_0x3d8ab0(0x37d)]===0x191){if(typeof window>'u')throw new Error(_0x3d8ab0(0x379));if(window[_0x3d8ab0(0x1ce)](this[_0x3d8ab0(0x3f1)]['t'](_0x3d8ab0(0x3ad)))){const _0x9fb5f9=window[_0x3d8ab0(0x37a)](window[_0x3d8ab0(0x2b4)][_0x3d8ab0(0x319)]);window[_0x3d8ab0(0x2b4)][_0x3d8ab0(0x319)]=this[_0x3d8ab0(0x369)]()+'?url='+_0x9fb5f9;}}return _0x48c498;}))});}[_0x453300(0x369)](){var _0x5cb701=_0x453300,_0x5b2000;const _0x259eae=this['_configService'][_0x5cb701(0x2da)](K);return(_0x5b2000=_0x259eae==null?void 0x0:_0x259eae[_0x5cb701(0x3d9)])!=null?_0x5b2000:Rs;}};rt=sn([dt(0x0,_0x70ee0c),dt(0x1,_0x310792(_0x3b868d)),dt(0x2,_0x310792(_0x1ff2e2))],rt);var nn=Object[_0x453300(0x3b6)],rn=(_0x4fec57,_0xbe8ee0,_0x1c4daa,_0x4d0ec1)=>{var _0x13fac6=_0x453300;for(var _0x10f950=_0x4d0ec1>0x1?void 0x0:_0x4d0ec1?nn(_0xbe8ee0,_0x1c4daa):_0xbe8ee0,_0xf0c034=_0x4fec57[_0x13fac6(0x42d)]-0x1,_0x3ff987;_0xf0c034>=0x0;_0xf0c034--)(_0x3ff987=_0x4fec57[_0xf0c034])&&(_0x10f950=_0x3ff987(_0x10f950)||_0x10f950);return _0x10f950;},Kt=(_0x4e3524,_0x1910d0)=>(_0x21e37c,_0x29e7a3)=>_0x1910d0(_0x21e37c,_0x29e7a3,_0x4e3524);const an=_0x453300(0x3e1);let Tt=class extends _0x3ffcb6{constructor(_0x2824b1,_0x5538c6){var _0x472184=_0x453300;super(),this[_0x472184(0x279)]=_0x2824b1,this[_0x472184(0x28c)]=_0x5538c6,this[_0x472184(0x460)]();}['_initMergeInterceptor'](){const _0x44d9d8=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x44ee82({'isMatch'(_0x9575fa){var _0x411dd8=_0x3efe,_0x5e6fba;if(_0x9575fa[_0x411dd8(0x25f)]==='POST'&&((_0x5e6fba=_0x9575fa['requestParams'])!=null&&_0x5e6fba[_0x411dd8(0x1ef)])){const {objectID:_0x33cd71,objectType:_0x4481ee}=_0x9575fa[_0x411dd8(0x49a)][_0x411dd8(0x1ef)]||{};if(!_0x33cd71||_0x4481ee===void 0x0)return!0x1;const _0x4d2c79=_0x44d9d8['_getAPIPrefixPath']()+'/'+_0x4481ee+_0x411dd8(0x44b)+_0x33cd71+_0x411dd8(0x3fe);if(_0x9575fa['url']===_0x4d2c79)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x20c850){var _0x2d3859=_0x3efe,_0x5f5ad6;return(_0x5f5ad6=_0x20c850['requestParams'])==null?void 0x0:_0x5f5ad6[_0x2d3859(0x1ef)];},'mergeParamsToRequest'(_0xe9f36f,_0x1d3f3e){var _0x2c1588=_0x3efe;const _0x452fff=_0x44d9d8[_0x2c1588(0x385)]()+_0x2c1588(0x45b),_0x214d12=_0xe9f36f[_0x2c1588(0x367)]((_0x348815,_0x38e296)=>{var _0xbcb13f=_0x2c1588;const {unitID:_0x13d193,objectID:_0x2105b0,objectType:_0x459a92,actions:_0x23c0cf}=_0x38e296;return _0x348815[_0x13d193]||(_0x348815[_0x13d193]={}),_0x348815[_0x13d193][_0x2105b0]||(_0x348815[_0x13d193][_0x2105b0]={'objectID':_0x2105b0,'objectType':_0x459a92,'actions':[]}),_0x348815[_0x13d193][_0x2105b0][_0xbcb13f(0x4b6)]['push'](..._0x23c0cf),_0x348815;},{}),_0x4546c2=[];for(const _0x5dbb11 in _0x214d12)for(const _0x22ae54 in _0x214d12[_0x5dbb11]){const {actions:_0x17c7d0,objectType:_0x28cbe1}=_0x214d12[_0x5dbb11][_0x22ae54],_0x47e3ff=[...new Set(_0x17c7d0)];_0x4546c2[_0x2c1588(0x4bf)]({'unitID':_0x5dbb11,'objectID':_0x22ae54,'objectType':_0x28cbe1,'actions':_0x47e3ff});}return new _0x1039a6(_0x2c1588(0x23c),_0x452fff,{'headers':_0x1d3f3e[_0x2c1588(0x3e0)],'withCredentials':_0x1d3f3e[_0x2c1588(0x216)],'responseType':_0x1d3f3e['responseType'],'body':{'requests':_0x4546c2}});}},{'distributeResult'(_0x57eb2b,_0x5f2c9a){var _0xc608c=_0x3efe;const {objectActions:_0x1fe684}=_0x57eb2b;return _0x5f2c9a[_0xc608c(0x2b2)](_0x5342aa=>{var _0x51e9f6=_0xc608c;const {unitID:_0x2ca8e4,objectID:_0x368c9d,actions:_0x535fc8}=_0x5342aa,_0x2eb923=_0x1fe684[_0x51e9f6(0x43e)](_0x31de77=>_0x31de77[_0x51e9f6(0x218)]===_0x2ca8e4&&_0x31de77['objectID']===_0x368c9d),_0x3ece3c=_0x535fc8[_0x51e9f6(0x2b2)](_0x5508a8=>_0x2eb923==null?void 0x0:_0x2eb923['actions'][_0x51e9f6(0x43e)](_0x3b24c2=>_0x3b24c2[_0x51e9f6(0x270)]===_0x5508a8))[_0x51e9f6(0x1e4)](_0x3ca2a1=>!!_0x3ca2a1);return{'config':_0x5342aa,'result':{'actions':_0x3ece3c,'error':_0x57eb2b[_0x51e9f6(0x473)]}};});}})}));}['_getAPIPrefixPath'](){var _0x17a860;const _0x22a37c=this['_configService']['getConfig'](K);return(_0x17a860=_0x22a37c==null?void 0x0:_0x22a37c['authzUrl'])!=null?_0x17a860:an;}async[_0x453300(0x20b)](_0x58f6d0){var _0x52accc=_0x453300;const _0x2919c4=this['_getAPIPrefixPath']()+'/'+_0x58f6d0[_0x52accc(0x450)]+_0x52accc(0x486);return(await this[_0x52accc(0x279)]['post'](_0x2919c4,{'body':_0x58f6d0}))['body'][_0x52accc(0x3d0)]||'';}async[_0x453300(0x48c)](_0x274553){var _0x45090b=_0x453300;const _0x5acf1e=this['_getAPIPrefixPath']()+_0x45090b(0x234);return(await this[_0x45090b(0x279)][_0x45090b(0x3a2)](_0x5acf1e,{'body':_0x274553}))[_0x45090b(0x1ef)][_0x45090b(0x2c9)];}async[_0x453300(0x39b)](_0x119587){var _0x1b13f9=_0x453300,_0x59eb53,_0x84302f;const _0x24c1b8=this[_0x1b13f9(0x385)]()+'/'+_0x119587['objectType']+'/object/'+_0x119587[_0x1b13f9(0x3d0)],_0x123b95=await this[_0x1b13f9(0x279)][_0x1b13f9(0x3f5)](_0x24c1b8,{'body':_0x119587});if(((_0x84302f=(_0x59eb53=_0x123b95==null?void 0x0:_0x123b95['body'])==null?void 0x0:_0x59eb53['error'])==null?void 0x0:_0x84302f[_0x1b13f9(0x3ac)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x453300(0x498)](_0x2d1115){var _0x5dc833=_0x453300;const _0x3fd5df=this['_getAPIPrefixPath']()+'/'+_0x2d1115[_0x5dc833(0x450)]+'/object/'+_0x2d1115[_0x5dc833(0x3d0)]+_0x5dc833(0x3fe);return(await this[_0x5dc833(0x279)]['post'](_0x3fd5df,{'body':_0x2d1115}))['body']['actions'];}async[_0x453300(0x21b)](_0x43805e){var _0x30bf23=_0x453300;const _0x38cb15=this[_0x30bf23(0x385)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x30bf23(0x3a2)](_0x38cb15,{'body':{'requests':_0x43805e}}))[_0x30bf23(0x1ef)][_0x30bf23(0x41f)];}async[_0x453300(0x402)](_0x2841f7){var _0x3807cf=_0x453300;const _0x5481f6=this['_getAPIPrefixPath']()+'/'+_0x2841f7[_0x3807cf(0x450)]+_0x3807cf(0x348),_0x2bcbe4=await this[_0x3807cf(0x279)][_0x3807cf(0x3a2)](_0x5481f6,{'body':_0x2841f7});return{'roles':_0x2bcbe4[_0x3807cf(0x1ef)][_0x3807cf(0x3cb)],'actions':_0x2bcbe4[_0x3807cf(0x1ef)][_0x3807cf(0x4b6)]};}async['deleteCollaborator'](_0x2f0a02){var _0x2d9765=_0x453300;const _0x2921ec=this[_0x2d9765(0x385)]()+_0x2d9765(0x223);await this[_0x2d9765(0x279)][_0x2d9765(0x1d3)](_0x2921ec,{'params':{'collaboratorID':_0x2f0a02[_0x2d9765(0x43b)],'objectID':_0x2f0a02[_0x2d9765(0x3d0)],'unitID':_0x2f0a02[_0x2d9765(0x218)]}});}async[_0x453300(0x31c)](_0x186989){var _0x5ed7f3=_0x453300;const _0x2f556c=this[_0x5ed7f3(0x385)]()+_0x5ed7f3(0x223);await this[_0x5ed7f3(0x279)][_0x5ed7f3(0x455)](_0x2f556c,{'body':_0x186989});}async[_0x453300(0x1dd)](_0x197df8){var _0x18035a=_0x453300;const _0x5a9651=this[_0x18035a(0x385)]()+_0x18035a(0x223);await this[_0x18035a(0x279)][_0x18035a(0x3a2)](_0x5a9651,{'body':_0x197df8});}async[_0x453300(0x1eb)](_0x5bd076){var _0x53696c=_0x453300;const _0x35f19d=this['_getAPIPrefixPath']()+_0x53696c(0x223);return(await this[_0x53696c(0x279)][_0x53696c(0x2bd)](_0x35f19d,{'params':{'objectID':_0x5bd076[_0x53696c(0x3d0)],'unitID':_0x5bd076[_0x53696c(0x218)]}}))[_0x53696c(0x1ef)][_0x53696c(0x39f)];}async[_0x453300(0x2c7)](_0x155738){var _0x329e35=_0x453300;const _0x11b7ff=this['_getAPIPrefixPath']()+_0x329e35(0x223);await this[_0x329e35(0x279)][_0x329e35(0x3f5)](_0x11b7ff,{'body':_0x155738});}};Tt=rn([Kt(0x0,_0x310792(_0x3b868d)),Kt(0x1,_0x310792(_0x70ee0c))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x28102a){var _0x533cd3=_0x453300;return _0x28102a&&_0x28102a['__esModule']&&Object[_0x533cd3(0x3e3)][_0x533cd3(0x3c4)][_0x533cd3(0x28e)](_0x28102a,_0x533cd3(0x2ee))?_0x28102a[_0x533cd3(0x2ee)]:_0x28102a;}var Ve={'exports':{}};function on(_0x159ce5){var _0x16bd14=_0x453300;throw new Error(_0x16bd14(0x1cc)+_0x159ce5+'\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[_0x453300(0x37b)],qt;function te(){var _0x1ff4d2=_0x453300;return qt||(qt=0x1,function(_0x3bdd34,_0x5d37e2){(function(_0x43d24f,_0x5245b4){var _0x43da3d=_0x3efe;_0x3bdd34[_0x43da3d(0x37b)]=_0x5245b4();}(cn,function(){var _0x2728bb=_0x2728bb||function(_0x5cb0b9,_0x520fed){var _0x2635ee=_0x3efe,_0x20e7c7;if(typeof window<'u'&&window['crypto']&&(_0x20e7c7=window[_0x2635ee(0x2f9)]),typeof self<'u'&&self['crypto']&&(_0x20e7c7=self[_0x2635ee(0x2f9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x20e7c7=globalThis[_0x2635ee(0x2f9)]),!_0x20e7c7&&typeof window<'u'&&window[_0x2635ee(0x3cf)]&&(_0x20e7c7=window[_0x2635ee(0x3cf)]),!_0x20e7c7&&typeof ft<'u'&&ft[_0x2635ee(0x2f9)]&&(_0x20e7c7=ft[_0x2635ee(0x2f9)]),!_0x20e7c7&&typeof on==_0x2635ee(0x1cd))try{_0x20e7c7=require('crypto');}catch{}var _0x56153a=function(){var _0x58fe76=_0x2635ee;if(_0x20e7c7){if(typeof _0x20e7c7[_0x58fe76(0x1f0)]==_0x58fe76(0x1cd))try{return _0x20e7c7[_0x58fe76(0x1f0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x20e7c7[_0x58fe76(0x243)]==_0x58fe76(0x1cd))try{return _0x20e7c7['randomBytes'](0x4)[_0x58fe76(0x331)]();}catch{}}throw new Error(_0x58fe76(0x27b));},_0xc9d4d6=Object['create']||(function(){function _0x4ce2f6(){}return function(_0x283ef7){var _0x40ddd9=_0x3efe,_0x2b9b38;return _0x4ce2f6[_0x40ddd9(0x3e3)]=_0x283ef7,_0x2b9b38=new _0x4ce2f6(),_0x4ce2f6[_0x40ddd9(0x3e3)]=null,_0x2b9b38;};}()),_0x30b581={},_0x332132=_0x30b581[_0x2635ee(0x2a7)]={},_0x1d0c3b=_0x332132[_0x2635ee(0x22b)]=(function(){return{'extend':function(_0x21156a){var _0x56148f=_0x3efe,_0x4f2d70=_0xc9d4d6(this);return _0x21156a&&_0x4f2d70[_0x56148f(0x380)](_0x21156a),(!_0x4f2d70[_0x56148f(0x3c4)](_0x56148f(0x297))||this[_0x56148f(0x297)]===_0x4f2d70['init'])&&(_0x4f2d70['init']=function(){var _0x4929b0=_0x56148f;_0x4f2d70[_0x4929b0(0x26e)][_0x4929b0(0x297)][_0x4929b0(0x470)](this,arguments);}),_0x4f2d70[_0x56148f(0x297)]['prototype']=_0x4f2d70,_0x4f2d70[_0x56148f(0x26e)]=this,_0x4f2d70;},'create':function(){var _0x12591d=_0x3efe,_0x14c383=this['extend']();return _0x14c383[_0x12591d(0x297)][_0x12591d(0x470)](_0x14c383,arguments),_0x14c383;},'init':function(){},'mixIn':function(_0x3d40c5){var _0x307eb8=_0x3efe;for(var _0x318a58 in _0x3d40c5)_0x3d40c5[_0x307eb8(0x3c4)](_0x318a58)&&(this[_0x318a58]=_0x3d40c5[_0x318a58]);_0x3d40c5[_0x307eb8(0x3c4)](_0x307eb8(0x3a7))&&(this['toString']=_0x3d40c5[_0x307eb8(0x3a7)]);},'clone':function(){var _0xe4ad4a=_0x3efe;return this['init'][_0xe4ad4a(0x3e3)][_0xe4ad4a(0x478)](this);}};}()),_0x5e0afb=_0x332132['WordArray']=_0x1d0c3b['extend']({'init':function(_0xbe8721,_0x2db5d0){var _0x11caa2=_0x2635ee;_0xbe8721=this[_0x11caa2(0x24c)]=_0xbe8721||[],_0x2db5d0!=_0x520fed?this[_0x11caa2(0x4b5)]=_0x2db5d0:this['sigBytes']=_0xbe8721[_0x11caa2(0x42d)]*0x4;},'toString':function(_0x1ab362){var _0xc23ebb=_0x2635ee;return(_0x1ab362||_0x5bc574)[_0xc23ebb(0x300)](this);},'concat':function(_0x5a724d){var _0x2bd70c=_0x2635ee,_0x40faae=this[_0x2bd70c(0x24c)],_0x570f8c=_0x5a724d[_0x2bd70c(0x24c)],_0x518f26=this[_0x2bd70c(0x4b5)],_0x2e62a6=_0x5a724d[_0x2bd70c(0x4b5)];if(this['clamp'](),_0x518f26%0x4)for(var _0x4405cf=0x0;_0x4405cf<_0x2e62a6;_0x4405cf++){var _0x1d5f0a=_0x570f8c[_0x4405cf>>>0x2]>>>0x18-_0x4405cf%0x4*0x8&0xff;_0x40faae[_0x518f26+_0x4405cf>>>0x2]|=_0x1d5f0a<<0x18-(_0x518f26+_0x4405cf)%0x4*0x8;}else{for(var _0x170912=0x0;_0x170912<_0x2e62a6;_0x170912+=0x4)_0x40faae[_0x518f26+_0x170912>>>0x2]=_0x570f8c[_0x170912>>>0x2];}return this[_0x2bd70c(0x4b5)]+=_0x2e62a6,this;},'clamp':function(){var _0x174bbe=_0x2635ee,_0x293955=this[_0x174bbe(0x24c)],_0x47f440=this[_0x174bbe(0x4b5)];_0x293955[_0x47f440>>>0x2]&=0xffffffff<<0x20-_0x47f440%0x4*0x8,_0x293955[_0x174bbe(0x42d)]=_0x5cb0b9['ceil'](_0x47f440/0x4);},'clone':function(){var _0x44e9ac=_0x2635ee,_0x58f105=_0x1d0c3b[_0x44e9ac(0x479)][_0x44e9ac(0x28e)](this);return _0x58f105[_0x44e9ac(0x24c)]=this['words'][_0x44e9ac(0x2bb)](0x0),_0x58f105;},'random':function(_0x5ec673){var _0x1ba3ab=_0x2635ee;for(var _0x32a83d=[],_0x5991e9=0x0;_0x5991e9<_0x5ec673;_0x5991e9+=0x4)_0x32a83d['push'](_0x56153a());return new _0x5e0afb[(_0x1ba3ab(0x297))](_0x32a83d,_0x5ec673);}}),_0x171e85=_0x30b581['enc']={},_0x5bc574=_0x171e85['Hex']={'stringify':function(_0x253a23){var _0x3d8c5f=_0x2635ee;for(var _0x211ea1=_0x253a23['words'],_0x4213f3=_0x253a23[_0x3d8c5f(0x4b5)],_0x30a7b0=[],_0x483014=0x0;_0x483014<_0x4213f3;_0x483014++){var _0x5bbe39=_0x211ea1[_0x483014>>>0x2]>>>0x18-_0x483014%0x4*0x8&0xff;_0x30a7b0[_0x3d8c5f(0x4bf)]((_0x5bbe39>>>0x4)[_0x3d8c5f(0x3a7)](0x10)),_0x30a7b0[_0x3d8c5f(0x4bf)]((_0x5bbe39&0xf)[_0x3d8c5f(0x3a7)](0x10));}return _0x30a7b0[_0x3d8c5f(0x31a)]('');},'parse':function(_0x1b854f){var _0x5d69f9=_0x2635ee;for(var _0x2469d7=_0x1b854f[_0x5d69f9(0x42d)],_0x818d00=[],_0x28959e=0x0;_0x28959e<_0x2469d7;_0x28959e+=0x2)_0x818d00[_0x28959e>>>0x3]|=parseInt(_0x1b854f[_0x5d69f9(0x3c6)](_0x28959e,0x2),0x10)<<0x18-_0x28959e%0x8*0x4;return new _0x5e0afb['init'](_0x818d00,_0x2469d7/0x2);}},_0x2c6b54=_0x171e85[_0x2635ee(0x2e3)]={'stringify':function(_0x4b353e){var _0x316b13=_0x2635ee;for(var _0x11a873=_0x4b353e['words'],_0x4d0ea8=_0x4b353e[_0x316b13(0x4b5)],_0x2a42f4=[],_0x51b609=0x0;_0x51b609<_0x4d0ea8;_0x51b609++){var _0x3bd01a=_0x11a873[_0x51b609>>>0x2]>>>0x18-_0x51b609%0x4*0x8&0xff;_0x2a42f4[_0x316b13(0x4bf)](String[_0x316b13(0x49e)](_0x3bd01a));}return _0x2a42f4[_0x316b13(0x31a)]('');},'parse':function(_0x1cab31){var _0xf49e59=_0x2635ee;for(var _0x3c50e9=_0x1cab31[_0xf49e59(0x42d)],_0x27af88=[],_0x5229e1=0x0;_0x5229e1<_0x3c50e9;_0x5229e1++)_0x27af88[_0x5229e1>>>0x2]|=(_0x1cab31[_0xf49e59(0x2ce)](_0x5229e1)&0xff)<<0x18-_0x5229e1%0x4*0x8;return new _0x5e0afb[(_0xf49e59(0x297))](_0x27af88,_0x3c50e9);}},_0x2c4de7=_0x171e85[_0x2635ee(0x342)]={'stringify':function(_0x55e1d3){var _0x47e422=_0x2635ee;try{return decodeURIComponent(escape(_0x2c6b54['stringify'](_0x55e1d3)));}catch{throw new Error(_0x47e422(0x1e2));}},'parse':function(_0x887293){return _0x2c6b54['parse'](unescape(encodeURIComponent(_0x887293)));}},_0x1d533b=_0x332132[_0x2635ee(0x3a4)]=_0x1d0c3b[_0x2635ee(0x478)]({'reset':function(){var _0x3cb2ea=_0x2635ee;this[_0x3cb2ea(0x4c3)]=new _0x5e0afb[(_0x3cb2ea(0x297))](),this[_0x3cb2ea(0x3e9)]=0x0;},'_append':function(_0x2e42f0){var _0x10500c=_0x2635ee;typeof _0x2e42f0==_0x10500c(0x461)&&(_0x2e42f0=_0x2c4de7[_0x10500c(0x40e)](_0x2e42f0)),this[_0x10500c(0x4c3)]['concat'](_0x2e42f0),this[_0x10500c(0x3e9)]+=_0x2e42f0['sigBytes'];},'_process':function(_0x3a43de){var _0x5a4b9f=_0x2635ee,_0x1886c5,_0x7e518e=this[_0x5a4b9f(0x4c3)],_0x23e87d=_0x7e518e[_0x5a4b9f(0x24c)],_0x28ac0b=_0x7e518e[_0x5a4b9f(0x4b5)],_0x193728=this['blockSize'],_0x451c28=_0x193728*0x4,_0x3c70c6=_0x28ac0b/_0x451c28;_0x3a43de?_0x3c70c6=_0x5cb0b9[_0x5a4b9f(0x3f8)](_0x3c70c6):_0x3c70c6=_0x5cb0b9['max']((_0x3c70c6|0x0)-this[_0x5a4b9f(0x289)],0x0);var _0x37c5e1=_0x3c70c6*_0x193728,_0x4e59e2=_0x5cb0b9['min'](_0x37c5e1*0x4,_0x28ac0b);if(_0x37c5e1){for(var _0x1e87cc=0x0;_0x1e87cc<_0x37c5e1;_0x1e87cc+=_0x193728)this[_0x5a4b9f(0x238)](_0x23e87d,_0x1e87cc);_0x1886c5=_0x23e87d[_0x5a4b9f(0x425)](0x0,_0x37c5e1),_0x7e518e[_0x5a4b9f(0x4b5)]-=_0x4e59e2;}return new _0x5e0afb[(_0x5a4b9f(0x297))](_0x1886c5,_0x4e59e2);},'clone':function(){var _0x3963bf=_0x2635ee,_0x26a669=_0x1d0c3b[_0x3963bf(0x479)][_0x3963bf(0x28e)](this);return _0x26a669[_0x3963bf(0x4c3)]=this[_0x3963bf(0x4c3)][_0x3963bf(0x479)](),_0x26a669;},'_minBufferSize':0x0});_0x332132[_0x2635ee(0x256)]=_0x1d533b['extend']({'cfg':_0x1d0c3b[_0x2635ee(0x478)](),'init':function(_0x392aeb){var _0x3a26ff=_0x2635ee;this[_0x3a26ff(0x416)]=this[_0x3a26ff(0x416)][_0x3a26ff(0x478)](_0x392aeb),this[_0x3a26ff(0x2be)]();},'reset':function(){var _0x1a174e=_0x2635ee;_0x1d533b['reset']['call'](this),this[_0x1a174e(0x20c)]();},'update':function(_0x4d5f3f){var _0xc827cb=_0x2635ee;return this[_0xc827cb(0x26d)](_0x4d5f3f),this[_0xc827cb(0x259)](),this;},'finalize':function(_0x4e094f){var _0x17e615=_0x2635ee;_0x4e094f&&this[_0x17e615(0x26d)](_0x4e094f);var _0x1b7cb1=this['_doFinalize']();return _0x1b7cb1;},'blockSize':0x10,'_createHelper':function(_0x3717f4){return function(_0x1fb659,_0x15c557){var _0x1af088=_0x3efe;return new _0x3717f4[(_0x1af088(0x297))](_0x15c557)[_0x1af088(0x2cd)](_0x1fb659);};},'_createHmacHelper':function(_0xe0d4d8){return function(_0x46c4a9,_0x1624a5){var _0x33f476=_0x3efe;return new _0xa8df3f['HMAC'][(_0x33f476(0x297))](_0xe0d4d8,_0x1624a5)[_0x33f476(0x2cd)](_0x46c4a9);};}});var _0xa8df3f=_0x30b581[_0x2635ee(0x1ff)]={};return _0x30b581;}(Math);return _0x2728bb;}));}(We)),We[_0x1ff4d2(0x37b)];}var Ge={'exports':{}},hn=Ge[_0x453300(0x37b)],zt;function Ri(){return zt||(zt=0x1,function(_0x4b9e10,_0x400cef){(function(_0x431cca,_0x34256e){var _0x46995e=_0x3efe;_0x4b9e10[_0x46995e(0x37b)]=_0x34256e(te());}(hn,function(_0x51b1fb){var _0x458ff4=_0x3efe;return(function(){var _0x11a9a5=_0x3efe,_0x5a61c6=_0x51b1fb,_0x179c27=_0x5a61c6['lib'],_0xe9b7f5=_0x179c27['WordArray'],_0x5def1e=_0x5a61c6[_0x11a9a5(0x200)];_0x5def1e[_0x11a9a5(0x1ec)]={'stringify':function(_0x587997){var _0x3892a1=_0x11a9a5,_0xa5fd70=_0x587997['words'],_0x107c45=_0x587997[_0x3892a1(0x4b5)],_0x1d7747=this['_map'];_0x587997[_0x3892a1(0x245)]();for(var _0x53bf94=[],_0x2154c9=0x0;_0x2154c9<_0x107c45;_0x2154c9+=0x3)for(var _0x47a2c8=_0xa5fd70[_0x2154c9>>>0x2]>>>0x18-_0x2154c9%0x4*0x8&0xff,_0x30e8df=_0xa5fd70[_0x2154c9+0x1>>>0x2]>>>0x18-(_0x2154c9+0x1)%0x4*0x8&0xff,_0x2898e9=_0xa5fd70[_0x2154c9+0x2>>>0x2]>>>0x18-(_0x2154c9+0x2)%0x4*0x8&0xff,_0x1843f0=_0x47a2c8<<0x10|_0x30e8df<<0x8|_0x2898e9,_0x9076b8=0x0;_0x9076b8<0x4&&_0x2154c9+_0x9076b8*0.75<_0x107c45;_0x9076b8++)_0x53bf94[_0x3892a1(0x4bf)](_0x1d7747[_0x3892a1(0x25e)](_0x1843f0>>>0x6*(0x3-_0x9076b8)&0x3f));var _0x2a8acc=_0x1d7747[_0x3892a1(0x25e)](0x40);if(_0x2a8acc){for(;_0x53bf94[_0x3892a1(0x42d)]%0x4;)_0x53bf94[_0x3892a1(0x4bf)](_0x2a8acc);}return _0x53bf94[_0x3892a1(0x31a)]('');},'parse':function(_0x49c767){var _0xc43bf5=_0x11a9a5,_0x46c3ed=_0x49c767[_0xc43bf5(0x42d)],_0x1448b1=this[_0xc43bf5(0x205)],_0x71d95a=this[_0xc43bf5(0x34a)];if(!_0x71d95a){_0x71d95a=this['_reverseMap']=[];for(var _0x3a1b8f=0x0;_0x3a1b8f<_0x1448b1[_0xc43bf5(0x42d)];_0x3a1b8f++)_0x71d95a[_0x1448b1[_0xc43bf5(0x2ce)](_0x3a1b8f)]=_0x3a1b8f;}var _0x162d67=_0x1448b1[_0xc43bf5(0x25e)](0x40);if(_0x162d67){var _0x2c3fca=_0x49c767['indexOf'](_0x162d67);_0x2c3fca!==-0x1&&(_0x46c3ed=_0x2c3fca);}return _0x2a8169(_0x49c767,_0x46c3ed,_0x71d95a);},'_map':_0x11a9a5(0x4d1)};function _0x2a8169(_0x21d8b5,_0x513e9c,_0x3bcc20){var _0x4c6692=_0x11a9a5;for(var _0x3fdd4d=[],_0x1346cd=0x0,_0x6deea=0x0;_0x6deea<_0x513e9c;_0x6deea++)if(_0x6deea%0x4){var _0x99abae=_0x3bcc20[_0x21d8b5[_0x4c6692(0x2ce)](_0x6deea-0x1)]<<_0x6deea%0x4*0x2,_0x1777e5=_0x3bcc20[_0x21d8b5[_0x4c6692(0x2ce)](_0x6deea)]>>>0x6-_0x6deea%0x4*0x2,_0x33dc73=_0x99abae|_0x1777e5;_0x3fdd4d[_0x1346cd>>>0x2]|=_0x33dc73<<0x18-_0x1346cd%0x4*0x8,_0x1346cd++;}return _0xe9b7f5[_0x4c6692(0x20b)](_0x3fdd4d,_0x1346cd);}}()),_0x51b1fb[_0x458ff4(0x200)]['Base64'];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0x453300(0x37b)],Jt;function ln(){var _0x4e6aa1=_0x453300;return Jt||(Jt=0x1,function(_0x18eedb,_0x3b8baf){(function(_0x5c1f88,_0x285430){_0x18eedb['exports']=_0x285430(te());}(_n,function(_0x4ff2a5){var _0x48d79f=_0x3efe;return function(_0x577906){var _0x42ea90=_0x3efe,_0x26aa2a=_0x4ff2a5,_0x2be701=_0x26aa2a[_0x42ea90(0x2a7)],_0x3a2a50=_0x2be701[_0x42ea90(0x227)],_0x593863=_0x2be701[_0x42ea90(0x256)],_0x3c3de0=_0x26aa2a[_0x42ea90(0x1ff)],_0xd275bc=[];(function(){var _0x1fee36=_0x42ea90;for(var _0x1ae773=0x0;_0x1ae773<0x40;_0x1ae773++)_0xd275bc[_0x1ae773]=_0x577906[_0x1fee36(0x4cf)](_0x577906[_0x1fee36(0x225)](_0x1ae773+0x1))*0x100000000|0x0;}());var _0x2a1dfc=_0x3c3de0['MD5']=_0x593863[_0x42ea90(0x478)]({'_doReset':function(){var _0x13ed9c=_0x42ea90;this[_0x13ed9c(0x2ec)]=new _0x3a2a50[(_0x13ed9c(0x297))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11dfb7,_0x4aa120){var _0x46b988=_0x42ea90;for(var _0x192231=0x0;_0x192231<0x10;_0x192231++){var _0x9e8663=_0x4aa120+_0x192231,_0x1a97ec=_0x11dfb7[_0x9e8663];_0x11dfb7[_0x9e8663]=(_0x1a97ec<<0x8|_0x1a97ec>>>0x18)&0xff00ff|(_0x1a97ec<<0x18|_0x1a97ec>>>0x8)&0xff00ff00;}var _0x36a79d=this[_0x46b988(0x2ec)][_0x46b988(0x24c)],_0x21b194=_0x11dfb7[_0x4aa120+0x0],_0x8dedc=_0x11dfb7[_0x4aa120+0x1],_0x344df7=_0x11dfb7[_0x4aa120+0x2],_0xbe4475=_0x11dfb7[_0x4aa120+0x3],_0x1e293f=_0x11dfb7[_0x4aa120+0x4],_0xce6a31=_0x11dfb7[_0x4aa120+0x5],_0x58da8d=_0x11dfb7[_0x4aa120+0x6],_0x1b38d1=_0x11dfb7[_0x4aa120+0x7],_0x1359d2=_0x11dfb7[_0x4aa120+0x8],_0x133f85=_0x11dfb7[_0x4aa120+0x9],_0x1028b2=_0x11dfb7[_0x4aa120+0xa],_0x4a214e=_0x11dfb7[_0x4aa120+0xb],_0x2dfb16=_0x11dfb7[_0x4aa120+0xc],_0x29fd33=_0x11dfb7[_0x4aa120+0xd],_0x1396db=_0x11dfb7[_0x4aa120+0xe],_0x286904=_0x11dfb7[_0x4aa120+0xf],_0x7765fd=_0x36a79d[0x0],_0x4041c0=_0x36a79d[0x1],_0x4234e1=_0x36a79d[0x2],_0x21f2a0=_0x36a79d[0x3];_0x7765fd=_0x39a005(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x21b194,0x7,_0xd275bc[0x0]),_0x21f2a0=_0x39a005(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x8dedc,0xc,_0xd275bc[0x1]),_0x4234e1=_0x39a005(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x344df7,0x11,_0xd275bc[0x2]),_0x4041c0=_0x39a005(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0xbe4475,0x16,_0xd275bc[0x3]),_0x7765fd=_0x39a005(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x1e293f,0x7,_0xd275bc[0x4]),_0x21f2a0=_0x39a005(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0xce6a31,0xc,_0xd275bc[0x5]),_0x4234e1=_0x39a005(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x58da8d,0x11,_0xd275bc[0x6]),_0x4041c0=_0x39a005(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x1b38d1,0x16,_0xd275bc[0x7]),_0x7765fd=_0x39a005(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x1359d2,0x7,_0xd275bc[0x8]),_0x21f2a0=_0x39a005(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x133f85,0xc,_0xd275bc[0x9]),_0x4234e1=_0x39a005(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x1028b2,0x11,_0xd275bc[0xa]),_0x4041c0=_0x39a005(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x4a214e,0x16,_0xd275bc[0xb]),_0x7765fd=_0x39a005(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x2dfb16,0x7,_0xd275bc[0xc]),_0x21f2a0=_0x39a005(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x29fd33,0xc,_0xd275bc[0xd]),_0x4234e1=_0x39a005(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x1396db,0x11,_0xd275bc[0xe]),_0x4041c0=_0x39a005(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x286904,0x16,_0xd275bc[0xf]),_0x7765fd=_0x1dd7af(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x8dedc,0x5,_0xd275bc[0x10]),_0x21f2a0=_0x1dd7af(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x58da8d,0x9,_0xd275bc[0x11]),_0x4234e1=_0x1dd7af(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x4a214e,0xe,_0xd275bc[0x12]),_0x4041c0=_0x1dd7af(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x21b194,0x14,_0xd275bc[0x13]),_0x7765fd=_0x1dd7af(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0xce6a31,0x5,_0xd275bc[0x14]),_0x21f2a0=_0x1dd7af(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x1028b2,0x9,_0xd275bc[0x15]),_0x4234e1=_0x1dd7af(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x286904,0xe,_0xd275bc[0x16]),_0x4041c0=_0x1dd7af(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x1e293f,0x14,_0xd275bc[0x17]),_0x7765fd=_0x1dd7af(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x133f85,0x5,_0xd275bc[0x18]),_0x21f2a0=_0x1dd7af(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x1396db,0x9,_0xd275bc[0x19]),_0x4234e1=_0x1dd7af(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0xbe4475,0xe,_0xd275bc[0x1a]),_0x4041c0=_0x1dd7af(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x1359d2,0x14,_0xd275bc[0x1b]),_0x7765fd=_0x1dd7af(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x29fd33,0x5,_0xd275bc[0x1c]),_0x21f2a0=_0x1dd7af(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x344df7,0x9,_0xd275bc[0x1d]),_0x4234e1=_0x1dd7af(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x1b38d1,0xe,_0xd275bc[0x1e]),_0x4041c0=_0x1dd7af(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x2dfb16,0x14,_0xd275bc[0x1f]),_0x7765fd=_0x32dcf0(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0xce6a31,0x4,_0xd275bc[0x20]),_0x21f2a0=_0x32dcf0(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x1359d2,0xb,_0xd275bc[0x21]),_0x4234e1=_0x32dcf0(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x4a214e,0x10,_0xd275bc[0x22]),_0x4041c0=_0x32dcf0(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x1396db,0x17,_0xd275bc[0x23]),_0x7765fd=_0x32dcf0(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x8dedc,0x4,_0xd275bc[0x24]),_0x21f2a0=_0x32dcf0(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x1e293f,0xb,_0xd275bc[0x25]),_0x4234e1=_0x32dcf0(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x1b38d1,0x10,_0xd275bc[0x26]),_0x4041c0=_0x32dcf0(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x1028b2,0x17,_0xd275bc[0x27]),_0x7765fd=_0x32dcf0(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x29fd33,0x4,_0xd275bc[0x28]),_0x21f2a0=_0x32dcf0(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x21b194,0xb,_0xd275bc[0x29]),_0x4234e1=_0x32dcf0(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0xbe4475,0x10,_0xd275bc[0x2a]),_0x4041c0=_0x32dcf0(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x58da8d,0x17,_0xd275bc[0x2b]),_0x7765fd=_0x32dcf0(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x133f85,0x4,_0xd275bc[0x2c]),_0x21f2a0=_0x32dcf0(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x2dfb16,0xb,_0xd275bc[0x2d]),_0x4234e1=_0x32dcf0(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x286904,0x10,_0xd275bc[0x2e]),_0x4041c0=_0x32dcf0(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x344df7,0x17,_0xd275bc[0x2f]),_0x7765fd=_0x4df55a(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x21b194,0x6,_0xd275bc[0x30]),_0x21f2a0=_0x4df55a(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x1b38d1,0xa,_0xd275bc[0x31]),_0x4234e1=_0x4df55a(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x1396db,0xf,_0xd275bc[0x32]),_0x4041c0=_0x4df55a(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0xce6a31,0x15,_0xd275bc[0x33]),_0x7765fd=_0x4df55a(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x2dfb16,0x6,_0xd275bc[0x34]),_0x21f2a0=_0x4df55a(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0xbe4475,0xa,_0xd275bc[0x35]),_0x4234e1=_0x4df55a(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x1028b2,0xf,_0xd275bc[0x36]),_0x4041c0=_0x4df55a(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x8dedc,0x15,_0xd275bc[0x37]),_0x7765fd=_0x4df55a(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x1359d2,0x6,_0xd275bc[0x38]),_0x21f2a0=_0x4df55a(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x286904,0xa,_0xd275bc[0x39]),_0x4234e1=_0x4df55a(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x58da8d,0xf,_0xd275bc[0x3a]),_0x4041c0=_0x4df55a(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x29fd33,0x15,_0xd275bc[0x3b]),_0x7765fd=_0x4df55a(_0x7765fd,_0x4041c0,_0x4234e1,_0x21f2a0,_0x1e293f,0x6,_0xd275bc[0x3c]),_0x21f2a0=_0x4df55a(_0x21f2a0,_0x7765fd,_0x4041c0,_0x4234e1,_0x4a214e,0xa,_0xd275bc[0x3d]),_0x4234e1=_0x4df55a(_0x4234e1,_0x21f2a0,_0x7765fd,_0x4041c0,_0x344df7,0xf,_0xd275bc[0x3e]),_0x4041c0=_0x4df55a(_0x4041c0,_0x4234e1,_0x21f2a0,_0x7765fd,_0x133f85,0x15,_0xd275bc[0x3f]),_0x36a79d[0x0]=_0x36a79d[0x0]+_0x7765fd|0x0,_0x36a79d[0x1]=_0x36a79d[0x1]+_0x4041c0|0x0,_0x36a79d[0x2]=_0x36a79d[0x2]+_0x4234e1|0x0,_0x36a79d[0x3]=_0x36a79d[0x3]+_0x21f2a0|0x0;},'_doFinalize':function(){var _0x2a058c=_0x42ea90,_0x56e019=this[_0x2a058c(0x4c3)],_0x5196ef=_0x56e019[_0x2a058c(0x24c)],_0x569bd1=this[_0x2a058c(0x3e9)]*0x8,_0x4f482a=_0x56e019[_0x2a058c(0x4b5)]*0x8;_0x5196ef[_0x4f482a>>>0x5]|=0x80<<0x18-_0x4f482a%0x20;var _0x92d6ad=_0x577906[_0x2a058c(0x427)](_0x569bd1/0x100000000),_0x3c84e3=_0x569bd1;_0x5196ef[(_0x4f482a+0x40>>>0x9<<0x4)+0xf]=(_0x92d6ad<<0x8|_0x92d6ad>>>0x18)&0xff00ff|(_0x92d6ad<<0x18|_0x92d6ad>>>0x8)&0xff00ff00,_0x5196ef[(_0x4f482a+0x40>>>0x9<<0x4)+0xe]=(_0x3c84e3<<0x8|_0x3c84e3>>>0x18)&0xff00ff|(_0x3c84e3<<0x18|_0x3c84e3>>>0x8)&0xff00ff00,_0x56e019['sigBytes']=(_0x5196ef[_0x2a058c(0x42d)]+0x1)*0x4,this['_process']();for(var _0x5dc6ea=this[_0x2a058c(0x2ec)],_0xa240d3=_0x5dc6ea[_0x2a058c(0x24c)],_0x5d323e=0x0;_0x5d323e<0x4;_0x5d323e++){var _0x19fa7d=_0xa240d3[_0x5d323e];_0xa240d3[_0x5d323e]=(_0x19fa7d<<0x8|_0x19fa7d>>>0x18)&0xff00ff|(_0x19fa7d<<0x18|_0x19fa7d>>>0x8)&0xff00ff00;}return _0x5dc6ea;},'clone':function(){var _0x1fe53f=_0x42ea90,_0x3749a8=_0x593863[_0x1fe53f(0x479)][_0x1fe53f(0x28e)](this);return _0x3749a8[_0x1fe53f(0x2ec)]=this['_hash']['clone'](),_0x3749a8;}});function _0x39a005(_0x280892,_0x35dfcc,_0x4271c8,_0x1bf7aa,_0x186170,_0x1c4467,_0x187283){var _0x3e625d=_0x280892+(_0x35dfcc&_0x4271c8|~_0x35dfcc&_0x1bf7aa)+_0x186170+_0x187283;return(_0x3e625d<<_0x1c4467|_0x3e625d>>>0x20-_0x1c4467)+_0x35dfcc;}function _0x1dd7af(_0x58c40c,_0x24a370,_0x1b1e8c,_0x193bda,_0x4cb0,_0x9a7e04,_0x5580b6){var _0x5a6fc6=_0x58c40c+(_0x24a370&_0x193bda|_0x1b1e8c&~_0x193bda)+_0x4cb0+_0x5580b6;return(_0x5a6fc6<<_0x9a7e04|_0x5a6fc6>>>0x20-_0x9a7e04)+_0x24a370;}function _0x32dcf0(_0x5c1fd6,_0x56e6e0,_0x49d672,_0x1edfa6,_0x46c99d,_0x56b26a,_0x35c232){var _0xb156f1=_0x5c1fd6+(_0x56e6e0^_0x49d672^_0x1edfa6)+_0x46c99d+_0x35c232;return(_0xb156f1<<_0x56b26a|_0xb156f1>>>0x20-_0x56b26a)+_0x56e6e0;}function _0x4df55a(_0x162def,_0x35af29,_0x2713a8,_0x2be6e6,_0x1d9327,_0x21f885,_0x5ada9f){var _0xd47b8e=_0x162def+(_0x2713a8^(_0x35af29|~_0x2be6e6))+_0x1d9327+_0x5ada9f;return(_0xd47b8e<<_0x21f885|_0xd47b8e>>>0x20-_0x21f885)+_0x35af29;}_0x26aa2a[_0x42ea90(0x41a)]=_0x593863['_createHelper'](_0x2a1dfc),_0x26aa2a['HmacMD5']=_0x593863[_0x42ea90(0x2e4)](_0x2a1dfc);}(Math),_0x4ff2a5[_0x48d79f(0x41a)];}));}(Ye)),Ye[_0x4e6aa1(0x37b)];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){var _0x353aeb=_0x453300;return Xt||(Xt=0x1,function(_0x468f5c,_0x453b72){(function(_0x36e7b8,_0x4d4c06){var _0x4d3039=_0x3efe;_0x468f5c[_0x4d3039(0x37b)]=_0x4d4c06(te());}(un,function(_0x2456de){return(function(){var _0x82da80=_0x3efe,_0x2fce7f=_0x2456de,_0x21fa02=_0x2fce7f[_0x82da80(0x2a7)],_0x4635ed=_0x21fa02[_0x82da80(0x227)],_0x52b688=_0x21fa02['Hasher'],_0x115332=_0x2fce7f[_0x82da80(0x1ff)],_0x2b0bf6=[],_0x54c78d=_0x115332['SHA1']=_0x52b688[_0x82da80(0x478)]({'_doReset':function(){var _0x3b14f6=_0x82da80;this[_0x3b14f6(0x2ec)]=new _0x4635ed[(_0x3b14f6(0x297))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2688d4,_0x960ffa){var _0x3b1223=_0x82da80;for(var _0x2c24bb=this[_0x3b1223(0x2ec)][_0x3b1223(0x24c)],_0x1dbc05=_0x2c24bb[0x0],_0x24f82f=_0x2c24bb[0x1],_0x4815de=_0x2c24bb[0x2],_0x4e7576=_0x2c24bb[0x3],_0x215dc5=_0x2c24bb[0x4],_0x2a3734=0x0;_0x2a3734<0x50;_0x2a3734++){if(_0x2a3734<0x10)_0x2b0bf6[_0x2a3734]=_0x2688d4[_0x960ffa+_0x2a3734]|0x0;else{var _0x33b50a=_0x2b0bf6[_0x2a3734-0x3]^_0x2b0bf6[_0x2a3734-0x8]^_0x2b0bf6[_0x2a3734-0xe]^_0x2b0bf6[_0x2a3734-0x10];_0x2b0bf6[_0x2a3734]=_0x33b50a<<0x1|_0x33b50a>>>0x1f;}var _0x32878c=(_0x1dbc05<<0x5|_0x1dbc05>>>0x1b)+_0x215dc5+_0x2b0bf6[_0x2a3734];_0x2a3734<0x14?_0x32878c+=(_0x24f82f&_0x4815de|~_0x24f82f&_0x4e7576)+0x5a827999:_0x2a3734<0x28?_0x32878c+=(_0x24f82f^_0x4815de^_0x4e7576)+0x6ed9eba1:_0x2a3734<0x3c?_0x32878c+=(_0x24f82f&_0x4815de|_0x24f82f&_0x4e7576|_0x4815de&_0x4e7576)-0x70e44324:_0x32878c+=(_0x24f82f^_0x4815de^_0x4e7576)-0x359d3e2a,_0x215dc5=_0x4e7576,_0x4e7576=_0x4815de,_0x4815de=_0x24f82f<<0x1e|_0x24f82f>>>0x2,_0x24f82f=_0x1dbc05,_0x1dbc05=_0x32878c;}_0x2c24bb[0x0]=_0x2c24bb[0x0]+_0x1dbc05|0x0,_0x2c24bb[0x1]=_0x2c24bb[0x1]+_0x24f82f|0x0,_0x2c24bb[0x2]=_0x2c24bb[0x2]+_0x4815de|0x0,_0x2c24bb[0x3]=_0x2c24bb[0x3]+_0x4e7576|0x0,_0x2c24bb[0x4]=_0x2c24bb[0x4]+_0x215dc5|0x0;},'_doFinalize':function(){var _0x465bfc=_0x82da80,_0x193ef3=this['_data'],_0x6c798d=_0x193ef3[_0x465bfc(0x24c)],_0xe69796=this['_nDataBytes']*0x8,_0x569fd7=_0x193ef3['sigBytes']*0x8;return _0x6c798d[_0x569fd7>>>0x5]|=0x80<<0x18-_0x569fd7%0x20,_0x6c798d[(_0x569fd7+0x40>>>0x9<<0x4)+0xe]=Math[_0x465bfc(0x427)](_0xe69796/0x100000000),_0x6c798d[(_0x569fd7+0x40>>>0x9<<0x4)+0xf]=_0xe69796,_0x193ef3[_0x465bfc(0x4b5)]=_0x6c798d['length']*0x4,this[_0x465bfc(0x259)](),this[_0x465bfc(0x2ec)];},'clone':function(){var _0x12bda5=_0x82da80,_0x222e53=_0x52b688[_0x12bda5(0x479)][_0x12bda5(0x28e)](this);return _0x222e53[_0x12bda5(0x2ec)]=this[_0x12bda5(0x2ec)][_0x12bda5(0x479)](),_0x222e53;}});_0x2fce7f[_0x82da80(0x430)]=_0x52b688[_0x82da80(0x26a)](_0x54c78d),_0x2fce7f[_0x82da80(0x496)]=_0x52b688[_0x82da80(0x2e4)](_0x54c78d);}()),_0x2456de['SHA1'];}));}(qe)),qe[_0x353aeb(0x37b)];}var ze={'exports':{}},fn=ze[_0x453300(0x37b)],Zt;function vn(){var _0x3b39da=_0x453300;return Zt||(Zt=0x1,function(_0x5c5252,_0xcd4cf9){(function(_0x113174,_0x2466e8){_0x5c5252['exports']=_0x2466e8(te());}(fn,function(_0x561763){(function(){var _0x184c5b=_0x3efe,_0x478a6e=_0x561763,_0x27030f=_0x478a6e[_0x184c5b(0x2a7)],_0x2c02c0=_0x27030f[_0x184c5b(0x22b)],_0xa846e=_0x478a6e['enc'],_0x2f4302=_0xa846e[_0x184c5b(0x342)],_0x36e85e=_0x478a6e[_0x184c5b(0x1ff)];_0x36e85e['HMAC']=_0x2c02c0[_0x184c5b(0x478)]({'init':function(_0x28f76c,_0x5d1482){var _0x39939a=_0x184c5b;_0x28f76c=this[_0x39939a(0x423)]=new _0x28f76c[(_0x39939a(0x297))](),typeof _0x5d1482=='string'&&(_0x5d1482=_0x2f4302[_0x39939a(0x40e)](_0x5d1482));var _0x8f2a93=_0x28f76c[_0x39939a(0x2c8)],_0x63e678=_0x8f2a93*0x4;_0x5d1482[_0x39939a(0x4b5)]>_0x63e678&&(_0x5d1482=_0x28f76c[_0x39939a(0x2cd)](_0x5d1482)),_0x5d1482[_0x39939a(0x245)]();for(var _0x1ec015=this[_0x39939a(0x435)]=_0x5d1482[_0x39939a(0x479)](),_0x4d1d92=this[_0x39939a(0x2fc)]=_0x5d1482['clone'](),_0x1d7f99=_0x1ec015[_0x39939a(0x24c)],_0x455a93=_0x4d1d92[_0x39939a(0x24c)],_0x98a597=0x0;_0x98a597<_0x8f2a93;_0x98a597++)_0x1d7f99[_0x98a597]^=0x5c5c5c5c,_0x455a93[_0x98a597]^=0x36363636;_0x1ec015[_0x39939a(0x4b5)]=_0x4d1d92[_0x39939a(0x4b5)]=_0x63e678,this[_0x39939a(0x2be)]();},'reset':function(){var _0x4b6e9a=_0x184c5b,_0x176b46=this['_hasher'];_0x176b46[_0x4b6e9a(0x2be)](),_0x176b46[_0x4b6e9a(0x39b)](this['_iKey']);},'update':function(_0x3deed4){var _0x337fe4=_0x184c5b;return this[_0x337fe4(0x423)][_0x337fe4(0x39b)](_0x3deed4),this;},'finalize':function(_0x32ecbc){var _0xf496a4=_0x184c5b,_0x54362c=this[_0xf496a4(0x423)],_0x265db8=_0x54362c[_0xf496a4(0x2cd)](_0x32ecbc);_0x54362c['reset']();var _0x2e2e73=_0x54362c[_0xf496a4(0x2cd)](this[_0xf496a4(0x435)][_0xf496a4(0x479)]()[_0xf496a4(0x362)](_0x265db8));return _0x2e2e73;}});}());}));}(ze)),ze[_0x3b39da(0x37b)];}var pn=Ke[_0x453300(0x37b)],Qt;function Oi(){var _0x484ee8=_0x453300;return Qt||(Qt=0x1,function(_0x146cb3,_0xde6522){(function(_0x3c1019,_0x5012b4,_0x40dc07){var _0x3e001f=_0x3efe;_0x146cb3[_0x3e001f(0x37b)]=_0x5012b4(te(),dn(),vn());}(pn,function(_0x277a7d){var _0x53f229=_0x3efe;return(function(){var _0x270198=_0x3efe,_0x1bcf76=_0x277a7d,_0x1ff40f=_0x1bcf76[_0x270198(0x2a7)],_0x2d180d=_0x1ff40f['Base'],_0x1702ef=_0x1ff40f[_0x270198(0x227)],_0x3949a2=_0x1bcf76[_0x270198(0x1ff)],_0x3cbc19=_0x3949a2[_0x270198(0x41a)],_0x580dc9=_0x3949a2[_0x270198(0x1d6)]=_0x2d180d['extend']({'cfg':_0x2d180d[_0x270198(0x478)]({'keySize':0x80/0x20,'hasher':_0x3cbc19,'iterations':0x1}),'init':function(_0x35a6b0){var _0x524a26=_0x270198;this[_0x524a26(0x416)]=this['cfg'][_0x524a26(0x478)](_0x35a6b0);},'compute':function(_0x1865d5,_0x36bd27){var _0x6d37b4=_0x270198;for(var _0x311973,_0x48453c=this[_0x6d37b4(0x416)],_0x199233=_0x48453c['hasher'][_0x6d37b4(0x20b)](),_0x764885=_0x1702ef[_0x6d37b4(0x20b)](),_0x3bd4ad=_0x764885[_0x6d37b4(0x24c)],_0x741413=_0x48453c[_0x6d37b4(0x468)],_0xe50fbd=_0x48453c[_0x6d37b4(0x4ad)];_0x3bd4ad[_0x6d37b4(0x42d)]<_0x741413;){_0x311973&&_0x199233['update'](_0x311973),_0x311973=_0x199233[_0x6d37b4(0x39b)](_0x1865d5)['finalize'](_0x36bd27),_0x199233[_0x6d37b4(0x2be)]();for(var _0x318201=0x1;_0x318201<_0xe50fbd;_0x318201++)_0x311973=_0x199233[_0x6d37b4(0x2cd)](_0x311973),_0x199233[_0x6d37b4(0x2be)]();_0x764885[_0x6d37b4(0x362)](_0x311973);}return _0x764885[_0x6d37b4(0x4b5)]=_0x741413*0x4,_0x764885;}});_0x1bcf76[_0x270198(0x1d6)]=function(_0xc0ea51,_0x171bfc,_0x1e4f15){var _0x57e341=_0x270198;return _0x580dc9[_0x57e341(0x20b)](_0x1e4f15)[_0x57e341(0x32e)](_0xc0ea51,_0x171bfc);};}()),_0x277a7d[_0x53f229(0x1d6)];}));}(Ke)),Ke[_0x484ee8(0x37b)];}var Je={'exports':{}},mn=Je[_0x453300(0x37b)],ei;function bi(){return ei||(ei=0x1,function(_0x5153d6,_0x2732fd){(function(_0x42642d,_0x5e67c0,_0x518693){var _0x3b05de=_0x3efe;_0x5153d6[_0x3b05de(0x37b)]=_0x5e67c0(te(),Oi());}(mn,function(_0x5f5424){var _0x3b564c=_0x3efe;_0x5f5424[_0x3b564c(0x2a7)][_0x3b564c(0x1e6)]||function(_0x3baa41){var _0x277d4c=_0x3b564c,_0x68ea3a=_0x5f5424,_0x5eddce=_0x68ea3a['lib'],_0x3a7584=_0x5eddce['Base'],_0x3bba9e=_0x5eddce[_0x277d4c(0x227)],_0x4cf965=_0x5eddce[_0x277d4c(0x3a4)],_0x265124=_0x68ea3a['enc'];_0x265124[_0x277d4c(0x342)];var _0x233f9b=_0x265124[_0x277d4c(0x1ec)],_0x4bca20=_0x68ea3a[_0x277d4c(0x1ff)],_0x1c3ea8=_0x4bca20[_0x277d4c(0x1d6)],_0x2a08bc=_0x5eddce['Cipher']=_0x4cf965[_0x277d4c(0x478)]({'cfg':_0x3a7584[_0x277d4c(0x478)](),'createEncryptor':function(_0x4963e0,_0x599c3e){var _0x451d08=_0x277d4c;return this[_0x451d08(0x20b)](this['_ENC_XFORM_MODE'],_0x4963e0,_0x599c3e);},'createDecryptor':function(_0x269e96,_0x831bae){var _0x3a3a9d=_0x277d4c;return this[_0x3a3a9d(0x20b)](this[_0x3a3a9d(0x465)],_0x269e96,_0x831bae);},'init':function(_0x1b634d,_0x3ce173,_0x386f74){var _0x2b6e1f=_0x277d4c;this[_0x2b6e1f(0x416)]=this[_0x2b6e1f(0x416)][_0x2b6e1f(0x478)](_0x386f74),this['_xformMode']=_0x1b634d,this[_0x2b6e1f(0x283)]=_0x3ce173,this[_0x2b6e1f(0x2be)]();},'reset':function(){var _0x47b9fa=_0x277d4c;_0x4cf965[_0x47b9fa(0x2be)][_0x47b9fa(0x28e)](this),this[_0x47b9fa(0x20c)]();},'process':function(_0x43945e){var _0x31c63f=_0x277d4c;return this[_0x31c63f(0x26d)](_0x43945e),this[_0x31c63f(0x259)]();},'finalize':function(_0xa05877){var _0x43a88a=_0x277d4c;_0xa05877&&this[_0x43a88a(0x26d)](_0xa05877);var _0x4be6db=this[_0x43a88a(0x45c)]();return _0x4be6db;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x23f518(_0x16b910){var _0xd7fe69=_0x3efe;return typeof _0x16b910==_0xd7fe69(0x461)?_0x3b2fb5:_0x20d24a;}return function(_0x22a4f2){return{'encrypt':function(_0x525dad,_0x46ef13,_0x960021){var _0x5c2002=_0x3efe;return _0x23f518(_0x46ef13)[_0x5c2002(0x480)](_0x22a4f2,_0x525dad,_0x46ef13,_0x960021);},'decrypt':function(_0x3350f4,_0xfa265d,_0x3903eb){return _0x23f518(_0xfa265d)['decrypt'](_0x22a4f2,_0x3350f4,_0xfa265d,_0x3903eb);}};};}())});_0x5eddce[_0x277d4c(0x1f5)]=_0x2a08bc[_0x277d4c(0x478)]({'_doFinalize':function(){var _0x25eb20=_0x277d4c,_0x414ea7=this[_0x25eb20(0x259)](!0x0);return _0x414ea7;},'blockSize':0x1});var _0x3c644f=_0x68ea3a['mode']={},_0x1fa3f2=_0x5eddce[_0x277d4c(0x484)]=_0x3a7584[_0x277d4c(0x478)]({'createEncryptor':function(_0x43066b,_0x3a984f){var _0x227ffd=_0x277d4c;return this[_0x227ffd(0x3d3)][_0x227ffd(0x20b)](_0x43066b,_0x3a984f);},'createDecryptor':function(_0x32e13c,_0x3aef7a){var _0x53ecc5=_0x277d4c;return this[_0x53ecc5(0x33c)][_0x53ecc5(0x20b)](_0x32e13c,_0x3aef7a);},'init':function(_0x497051,_0x3aa7a){var _0x155e39=_0x277d4c;this[_0x155e39(0x3ff)]=_0x497051,this[_0x155e39(0x497)]=_0x3aa7a;}}),_0x16da9b=_0x3c644f[_0x277d4c(0x459)]=(function(){var _0x467cd7=_0x277d4c,_0x187347=_0x1fa3f2[_0x467cd7(0x478)]();_0x187347[_0x467cd7(0x3d3)]=_0x187347['extend']({'processBlock':function(_0x489a18,_0x181347){var _0x115f70=_0x467cd7,_0x21732d=this['_cipher'],_0x342443=_0x21732d['blockSize'];_0x58caf4[_0x115f70(0x28e)](this,_0x489a18,_0x181347,_0x342443),_0x21732d[_0x115f70(0x29a)](_0x489a18,_0x181347),this[_0x115f70(0x354)]=_0x489a18['slice'](_0x181347,_0x181347+_0x342443);}}),_0x187347[_0x467cd7(0x33c)]=_0x187347[_0x467cd7(0x478)]({'processBlock':function(_0x40d442,_0x189d62){var _0x435ae0=_0x467cd7,_0x2e711a=this[_0x435ae0(0x3ff)],_0x99ee49=_0x2e711a['blockSize'],_0x2dc975=_0x40d442[_0x435ae0(0x2bb)](_0x189d62,_0x189d62+_0x99ee49);_0x2e711a[_0x435ae0(0x3cc)](_0x40d442,_0x189d62),_0x58caf4[_0x435ae0(0x28e)](this,_0x40d442,_0x189d62,_0x99ee49),this[_0x435ae0(0x354)]=_0x2dc975;}});function _0x58caf4(_0x3b61f8,_0x79709d,_0x5ac817){var _0x28af44=_0x467cd7,_0x2a3c47,_0x59ed58=this[_0x28af44(0x497)];_0x59ed58?(_0x2a3c47=_0x59ed58,this[_0x28af44(0x497)]=_0x3baa41):_0x2a3c47=this[_0x28af44(0x354)];for(var _0x219fa1=0x0;_0x219fa1<_0x5ac817;_0x219fa1++)_0x3b61f8[_0x79709d+_0x219fa1]^=_0x2a3c47[_0x219fa1];}return _0x187347;}()),_0xe9a476=_0x68ea3a[_0x277d4c(0x361)]={},_0x433e22=_0xe9a476[_0x277d4c(0x350)]={'pad':function(_0x21e60e,_0x13c77c){var _0xcdee61=_0x277d4c;for(var _0x35b8a3=_0x13c77c*0x4,_0x4b3dca=_0x35b8a3-_0x21e60e[_0xcdee61(0x4b5)]%_0x35b8a3,_0x431bcd=_0x4b3dca<<0x18|_0x4b3dca<<0x10|_0x4b3dca<<0x8|_0x4b3dca,_0x3f2775=[],_0x4287b6=0x0;_0x4287b6<_0x4b3dca;_0x4287b6+=0x4)_0x3f2775[_0xcdee61(0x4bf)](_0x431bcd);var _0x37ca8a=_0x3bba9e[_0xcdee61(0x20b)](_0x3f2775,_0x4b3dca);_0x21e60e['concat'](_0x37ca8a);},'unpad':function(_0x32e444){var _0x455b2f=_0x277d4c,_0xb2c0d6=_0x32e444['words'][_0x32e444[_0x455b2f(0x4b5)]-0x1>>>0x2]&0xff;_0x32e444['sigBytes']-=_0xb2c0d6;}};_0x5eddce[_0x277d4c(0x26f)]=_0x2a08bc[_0x277d4c(0x478)]({'cfg':_0x2a08bc[_0x277d4c(0x416)]['extend']({'mode':_0x16da9b,'padding':_0x433e22}),'reset':function(){var _0x558d23=_0x277d4c,_0x396b33;_0x2a08bc[_0x558d23(0x2be)]['call'](this);var _0x5b863b=this[_0x558d23(0x416)],_0x495b36=_0x5b863b['iv'],_0x17ce67=_0x5b863b[_0x558d23(0x220)];this[_0x558d23(0x28d)]==this[_0x558d23(0x3e5)]?_0x396b33=_0x17ce67['createEncryptor']:(_0x396b33=_0x17ce67[_0x558d23(0x436)],this[_0x558d23(0x289)]=0x1),this[_0x558d23(0x401)]&&this['_mode'][_0x558d23(0x407)]==_0x396b33?this[_0x558d23(0x401)][_0x558d23(0x297)](this,_0x495b36&&_0x495b36[_0x558d23(0x24c)]):(this['_mode']=_0x396b33[_0x558d23(0x28e)](_0x17ce67,this,_0x495b36&&_0x495b36[_0x558d23(0x24c)]),this['_mode'][_0x558d23(0x407)]=_0x396b33);},'_doProcessBlock':function(_0x457bcc,_0x5d5789){var _0x39d46c=_0x277d4c;this[_0x39d46c(0x401)][_0x39d46c(0x475)](_0x457bcc,_0x5d5789);},'_doFinalize':function(){var _0x4396b7=_0x277d4c,_0x4c39fe,_0x5a6285=this[_0x4396b7(0x416)]['padding'];return this[_0x4396b7(0x28d)]==this[_0x4396b7(0x3e5)]?(_0x5a6285[_0x4396b7(0x361)](this[_0x4396b7(0x4c3)],this[_0x4396b7(0x2c8)]),_0x4c39fe=this[_0x4396b7(0x259)](!0x0)):(_0x4c39fe=this[_0x4396b7(0x259)](!0x0),_0x5a6285[_0x4396b7(0x224)](_0x4c39fe)),_0x4c39fe;},'blockSize':0x80/0x20});var _0x4f0b00=_0x5eddce[_0x277d4c(0x2ae)]=_0x3a7584[_0x277d4c(0x478)]({'init':function(_0x382070){var _0x435ee0=_0x277d4c;this[_0x435ee0(0x380)](_0x382070);},'toString':function(_0x50c023){var _0x569d06=_0x277d4c;return(_0x50c023||this['formatter'])[_0x569d06(0x300)](this);}}),_0x38128c=_0x68ea3a[_0x277d4c(0x39a)]={},_0x1b502d=_0x38128c[_0x277d4c(0x2f6)]={'stringify':function(_0x2433e2){var _0x369efb=_0x277d4c,_0x3761bd,_0x1e0c8b=_0x2433e2[_0x369efb(0x4d0)],_0x47f386=_0x2433e2[_0x369efb(0x38a)];return _0x47f386?_0x3761bd=_0x3bba9e[_0x369efb(0x20b)]([0x53616c74,0x65645f5f])[_0x369efb(0x362)](_0x47f386)[_0x369efb(0x362)](_0x1e0c8b):_0x3761bd=_0x1e0c8b,_0x3761bd[_0x369efb(0x3a7)](_0x233f9b);},'parse':function(_0x5645a8){var _0x43130e=_0x277d4c,_0x365d22,_0x3a469e=_0x233f9b['parse'](_0x5645a8),_0x2c4a44=_0x3a469e[_0x43130e(0x24c)];return _0x2c4a44[0x0]==0x53616c74&&_0x2c4a44[0x1]==0x65645f5f&&(_0x365d22=_0x3bba9e[_0x43130e(0x20b)](_0x2c4a44[_0x43130e(0x2bb)](0x2,0x4)),_0x2c4a44[_0x43130e(0x425)](0x0,0x4),_0x3a469e[_0x43130e(0x4b5)]-=0x10),_0x4f0b00[_0x43130e(0x20b)]({'ciphertext':_0x3a469e,'salt':_0x365d22});}},_0x20d24a=_0x5eddce['SerializableCipher']=_0x3a7584[_0x277d4c(0x478)]({'cfg':_0x3a7584[_0x277d4c(0x478)]({'format':_0x1b502d}),'encrypt':function(_0x271fbf,_0x37138d,_0x19a620,_0x59463f){var _0x5856f1=_0x277d4c;_0x59463f=this[_0x5856f1(0x416)]['extend'](_0x59463f);var _0x3a9220=_0x271fbf[_0x5856f1(0x2f8)](_0x19a620,_0x59463f),_0x9efb52=_0x3a9220[_0x5856f1(0x2cd)](_0x37138d),_0x165498=_0x3a9220['cfg'];return _0x4f0b00['create']({'ciphertext':_0x9efb52,'key':_0x19a620,'iv':_0x165498['iv'],'algorithm':_0x271fbf,'mode':_0x165498['mode'],'padding':_0x165498[_0x5856f1(0x2ab)],'blockSize':_0x271fbf[_0x5856f1(0x2c8)],'formatter':_0x59463f['format']});},'decrypt':function(_0xa59b96,_0x4529c8,_0x546ef8,_0x6667b0){var _0x2a47e2=_0x277d4c;_0x6667b0=this['cfg'][_0x2a47e2(0x478)](_0x6667b0),_0x4529c8=this[_0x2a47e2(0x2d5)](_0x4529c8,_0x6667b0[_0x2a47e2(0x39a)]);var _0x1bcd01=_0xa59b96['createDecryptor'](_0x546ef8,_0x6667b0)['finalize'](_0x4529c8[_0x2a47e2(0x4d0)]);return _0x1bcd01;},'_parse':function(_0x2a2156,_0x314819){return typeof _0x2a2156=='string'?_0x314819['parse'](_0x2a2156,this):_0x2a2156;}}),_0x57e587=_0x68ea3a[_0x277d4c(0x31f)]={},_0x4d9921=_0x57e587[_0x277d4c(0x2f6)]={'execute':function(_0x2a26c7,_0x5886f5,_0x2beb13,_0x455bb6,_0x5acf61){var _0x130aa8=_0x277d4c;if(_0x455bb6||(_0x455bb6=_0x3bba9e[_0x130aa8(0x4cd)](0x40/0x8)),_0x5acf61)var _0x332ebc=_0x1c3ea8['create']({'keySize':_0x5886f5+_0x2beb13,'hasher':_0x5acf61})['compute'](_0x2a26c7,_0x455bb6);else var _0x332ebc=_0x1c3ea8['create']({'keySize':_0x5886f5+_0x2beb13})[_0x130aa8(0x32e)](_0x2a26c7,_0x455bb6);var _0x48ffd0=_0x3bba9e[_0x130aa8(0x20b)](_0x332ebc['words'][_0x130aa8(0x2bb)](_0x5886f5),_0x2beb13*0x4);return _0x332ebc[_0x130aa8(0x4b5)]=_0x5886f5*0x4,_0x4f0b00[_0x130aa8(0x20b)]({'key':_0x332ebc,'iv':_0x48ffd0,'salt':_0x455bb6});}},_0x3b2fb5=_0x5eddce[_0x277d4c(0x214)]=_0x20d24a[_0x277d4c(0x478)]({'cfg':_0x20d24a[_0x277d4c(0x416)][_0x277d4c(0x478)]({'kdf':_0x4d9921}),'encrypt':function(_0x3d05ee,_0x256a54,_0x3d32ee,_0x2944fd){var _0x44bbfe=_0x277d4c;_0x2944fd=this['cfg'][_0x44bbfe(0x478)](_0x2944fd);var _0x475b6e=_0x2944fd[_0x44bbfe(0x31f)][_0x44bbfe(0x36f)](_0x3d32ee,_0x3d05ee[_0x44bbfe(0x468)],_0x3d05ee['ivSize'],_0x2944fd[_0x44bbfe(0x38a)],_0x2944fd[_0x44bbfe(0x277)]);_0x2944fd['iv']=_0x475b6e['iv'];var _0x204cb1=_0x20d24a[_0x44bbfe(0x480)]['call'](this,_0x3d05ee,_0x256a54,_0x475b6e[_0x44bbfe(0x1da)],_0x2944fd);return _0x204cb1[_0x44bbfe(0x380)](_0x475b6e),_0x204cb1;},'decrypt':function(_0x5676d9,_0x35f467,_0x3f6c40,_0x217a3a){var _0xe26f91=_0x277d4c;_0x217a3a=this['cfg'][_0xe26f91(0x478)](_0x217a3a),_0x35f467=this[_0xe26f91(0x2d5)](_0x35f467,_0x217a3a['format']);var _0x1c200e=_0x217a3a[_0xe26f91(0x31f)][_0xe26f91(0x36f)](_0x3f6c40,_0x5676d9[_0xe26f91(0x468)],_0x5676d9['ivSize'],_0x35f467['salt'],_0x217a3a['hasher']);_0x217a3a['iv']=_0x1c200e['iv'];var _0x5b2112=_0x20d24a['decrypt']['call'](this,_0x5676d9,_0x35f467,_0x1c200e[_0xe26f91(0x1da)],_0x217a3a);return _0x5b2112;}});}();}));}(Je)),Je['exports'];}var gn=Ve[_0x453300(0x37b)],ti;function Sn(){var _0x4c25d7=_0x453300;return ti||(ti=0x1,function(_0x58a4a4,_0x577984){(function(_0x2939f4,_0x4b90cd,_0x5db3d9){var _0x1a1e4b=_0x3efe;_0x58a4a4[_0x1a1e4b(0x37b)]=_0x4b90cd(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x7787c7){var _0x5e0743=_0x3efe;return(function(){var _0x280c98=_0x3efe,_0x2de73f=_0x7787c7,_0x1aa873=_0x2de73f[_0x280c98(0x2a7)],_0x3f4708=_0x1aa873[_0x280c98(0x26f)],_0x45b999=_0x2de73f[_0x280c98(0x1ff)],_0x3ee7dd=[],_0x5c0d62=[],_0x54de24=[],_0x39e4b2=[],_0x1883ed=[],_0x59350c=[],_0x503d91=[],_0x248ae7=[],_0x291d1c=[],_0x55f755=[];(function(){for(var _0x11ba3e=[],_0x3f2d71=0x0;_0x3f2d71<0x100;_0x3f2d71++)_0x3f2d71<0x80?_0x11ba3e[_0x3f2d71]=_0x3f2d71<<0x1:_0x11ba3e[_0x3f2d71]=_0x3f2d71<<0x1^0x11b;for(var _0x1c7118=0x0,_0x2329f4=0x0,_0x3f2d71=0x0;_0x3f2d71<0x100;_0x3f2d71++){var _0x551f3c=_0x2329f4^_0x2329f4<<0x1^_0x2329f4<<0x2^_0x2329f4<<0x3^_0x2329f4<<0x4;_0x551f3c=_0x551f3c>>>0x8^_0x551f3c&0xff^0x63,_0x3ee7dd[_0x1c7118]=_0x551f3c,_0x5c0d62[_0x551f3c]=_0x1c7118;var _0x3f55fe=_0x11ba3e[_0x1c7118],_0x334da2=_0x11ba3e[_0x3f55fe],_0x20dbea=_0x11ba3e[_0x334da2],_0xaef20b=_0x11ba3e[_0x551f3c]*0x101^_0x551f3c*0x1010100;_0x54de24[_0x1c7118]=_0xaef20b<<0x18|_0xaef20b>>>0x8,_0x39e4b2[_0x1c7118]=_0xaef20b<<0x10|_0xaef20b>>>0x10,_0x1883ed[_0x1c7118]=_0xaef20b<<0x8|_0xaef20b>>>0x18,_0x59350c[_0x1c7118]=_0xaef20b;var _0xaef20b=_0x20dbea*0x1010101^_0x334da2*0x10001^_0x3f55fe*0x101^_0x1c7118*0x1010100;_0x503d91[_0x551f3c]=_0xaef20b<<0x18|_0xaef20b>>>0x8,_0x248ae7[_0x551f3c]=_0xaef20b<<0x10|_0xaef20b>>>0x10,_0x291d1c[_0x551f3c]=_0xaef20b<<0x8|_0xaef20b>>>0x18,_0x55f755[_0x551f3c]=_0xaef20b,_0x1c7118?(_0x1c7118=_0x3f55fe^_0x11ba3e[_0x11ba3e[_0x11ba3e[_0x20dbea^_0x3f55fe]]],_0x2329f4^=_0x11ba3e[_0x11ba3e[_0x2329f4]]):_0x1c7118=_0x2329f4=0x1;}}());var _0x1092cf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x45033f=_0x45b999[_0x280c98(0x2bc)]=_0x3f4708[_0x280c98(0x478)]({'_doReset':function(){var _0x503e96=_0x280c98,_0x1dd276;if(!(this[_0x503e96(0x4bb)]&&this[_0x503e96(0x47f)]===this['_key'])){for(var _0x37fa72=this[_0x503e96(0x47f)]=this[_0x503e96(0x283)],_0x417a43=_0x37fa72['words'],_0xad1bc4=_0x37fa72['sigBytes']/0x4,_0x2b9ed2=this[_0x503e96(0x4bb)]=_0xad1bc4+0x6,_0x454209=(_0x2b9ed2+0x1)*0x4,_0x2f0e8a=this[_0x503e96(0x45d)]=[],_0xa2fbae=0x0;_0xa2fbae<_0x454209;_0xa2fbae++)_0xa2fbae<_0xad1bc4?_0x2f0e8a[_0xa2fbae]=_0x417a43[_0xa2fbae]:(_0x1dd276=_0x2f0e8a[_0xa2fbae-0x1],_0xa2fbae%_0xad1bc4?_0xad1bc4>0x6&&_0xa2fbae%_0xad1bc4==0x4&&(_0x1dd276=_0x3ee7dd[_0x1dd276>>>0x18]<<0x18|_0x3ee7dd[_0x1dd276>>>0x10&0xff]<<0x10|_0x3ee7dd[_0x1dd276>>>0x8&0xff]<<0x8|_0x3ee7dd[_0x1dd276&0xff]):(_0x1dd276=_0x1dd276<<0x8|_0x1dd276>>>0x18,_0x1dd276=_0x3ee7dd[_0x1dd276>>>0x18]<<0x18|_0x3ee7dd[_0x1dd276>>>0x10&0xff]<<0x10|_0x3ee7dd[_0x1dd276>>>0x8&0xff]<<0x8|_0x3ee7dd[_0x1dd276&0xff],_0x1dd276^=_0x1092cf[_0xa2fbae/_0xad1bc4|0x0]<<0x18),_0x2f0e8a[_0xa2fbae]=_0x2f0e8a[_0xa2fbae-_0xad1bc4]^_0x1dd276);for(var _0xb0f05e=this[_0x503e96(0x3d6)]=[],_0x3ebac6=0x0;_0x3ebac6<_0x454209;_0x3ebac6++){var _0xa2fbae=_0x454209-_0x3ebac6;if(_0x3ebac6%0x4)var _0x1dd276=_0x2f0e8a[_0xa2fbae];else var _0x1dd276=_0x2f0e8a[_0xa2fbae-0x4];_0x3ebac6<0x4||_0xa2fbae<=0x4?_0xb0f05e[_0x3ebac6]=_0x1dd276:_0xb0f05e[_0x3ebac6]=_0x503d91[_0x3ee7dd[_0x1dd276>>>0x18]]^_0x248ae7[_0x3ee7dd[_0x1dd276>>>0x10&0xff]]^_0x291d1c[_0x3ee7dd[_0x1dd276>>>0x8&0xff]]^_0x55f755[_0x3ee7dd[_0x1dd276&0xff]];}}},'encryptBlock':function(_0x4e6e5d,_0x6aa3a7){var _0x24c201=_0x280c98;this['_doCryptBlock'](_0x4e6e5d,_0x6aa3a7,this[_0x24c201(0x45d)],_0x54de24,_0x39e4b2,_0x1883ed,_0x59350c,_0x3ee7dd);},'decryptBlock':function(_0x1b42c4,_0x1a4509){var _0x16477e=_0x280c98,_0x49d835=_0x1b42c4[_0x1a4509+0x1];_0x1b42c4[_0x1a4509+0x1]=_0x1b42c4[_0x1a4509+0x3],_0x1b42c4[_0x1a4509+0x3]=_0x49d835,this[_0x16477e(0x351)](_0x1b42c4,_0x1a4509,this[_0x16477e(0x3d6)],_0x503d91,_0x248ae7,_0x291d1c,_0x55f755,_0x5c0d62);var _0x49d835=_0x1b42c4[_0x1a4509+0x1];_0x1b42c4[_0x1a4509+0x1]=_0x1b42c4[_0x1a4509+0x3],_0x1b42c4[_0x1a4509+0x3]=_0x49d835;},'_doCryptBlock':function(_0x7070f9,_0x302cc0,_0x250739,_0x5af97a,_0x449c60,_0x311571,_0x659e10,_0x4cb405){for(var _0x279572=this['_nRounds'],_0x77790d=_0x7070f9[_0x302cc0]^_0x250739[0x0],_0x41762c=_0x7070f9[_0x302cc0+0x1]^_0x250739[0x1],_0x53a3d2=_0x7070f9[_0x302cc0+0x2]^_0x250739[0x2],_0x1c95c7=_0x7070f9[_0x302cc0+0x3]^_0x250739[0x3],_0xe6b376=0x4,_0x34fffd=0x1;_0x34fffd<_0x279572;_0x34fffd++){var _0xbc3073=_0x5af97a[_0x77790d>>>0x18]^_0x449c60[_0x41762c>>>0x10&0xff]^_0x311571[_0x53a3d2>>>0x8&0xff]^_0x659e10[_0x1c95c7&0xff]^_0x250739[_0xe6b376++],_0x4e6a7e=_0x5af97a[_0x41762c>>>0x18]^_0x449c60[_0x53a3d2>>>0x10&0xff]^_0x311571[_0x1c95c7>>>0x8&0xff]^_0x659e10[_0x77790d&0xff]^_0x250739[_0xe6b376++],_0x5a5c8d=_0x5af97a[_0x53a3d2>>>0x18]^_0x449c60[_0x1c95c7>>>0x10&0xff]^_0x311571[_0x77790d>>>0x8&0xff]^_0x659e10[_0x41762c&0xff]^_0x250739[_0xe6b376++],_0x4ea507=_0x5af97a[_0x1c95c7>>>0x18]^_0x449c60[_0x77790d>>>0x10&0xff]^_0x311571[_0x41762c>>>0x8&0xff]^_0x659e10[_0x53a3d2&0xff]^_0x250739[_0xe6b376++];_0x77790d=_0xbc3073,_0x41762c=_0x4e6a7e,_0x53a3d2=_0x5a5c8d,_0x1c95c7=_0x4ea507;}var _0xbc3073=(_0x4cb405[_0x77790d>>>0x18]<<0x18|_0x4cb405[_0x41762c>>>0x10&0xff]<<0x10|_0x4cb405[_0x53a3d2>>>0x8&0xff]<<0x8|_0x4cb405[_0x1c95c7&0xff])^_0x250739[_0xe6b376++],_0x4e6a7e=(_0x4cb405[_0x41762c>>>0x18]<<0x18|_0x4cb405[_0x53a3d2>>>0x10&0xff]<<0x10|_0x4cb405[_0x1c95c7>>>0x8&0xff]<<0x8|_0x4cb405[_0x77790d&0xff])^_0x250739[_0xe6b376++],_0x5a5c8d=(_0x4cb405[_0x53a3d2>>>0x18]<<0x18|_0x4cb405[_0x1c95c7>>>0x10&0xff]<<0x10|_0x4cb405[_0x77790d>>>0x8&0xff]<<0x8|_0x4cb405[_0x41762c&0xff])^_0x250739[_0xe6b376++],_0x4ea507=(_0x4cb405[_0x1c95c7>>>0x18]<<0x18|_0x4cb405[_0x77790d>>>0x10&0xff]<<0x10|_0x4cb405[_0x41762c>>>0x8&0xff]<<0x8|_0x4cb405[_0x53a3d2&0xff])^_0x250739[_0xe6b376++];_0x7070f9[_0x302cc0]=_0xbc3073,_0x7070f9[_0x302cc0+0x1]=_0x4e6a7e,_0x7070f9[_0x302cc0+0x2]=_0x5a5c8d,_0x7070f9[_0x302cc0+0x3]=_0x4ea507;},'keySize':0x100/0x20});_0x2de73f[_0x280c98(0x2bc)]=_0x3f4708[_0x280c98(0x26a)](_0x45033f);}()),_0x7787c7[_0x5e0743(0x2bc)];}));}(Ve)),Ve[_0x4c25d7(0x37b)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x453300(0x37b)],si;function Rn(){var _0x15501e=_0x453300;return si||(si=0x1,function(_0x27c224,_0x643dc4){(function(_0x18494d,_0x376ac8){var _0xc1b684=_0x3efe;_0x27c224[_0xc1b684(0x37b)]=_0x376ac8(te());}(Cn,function(_0x3675e6){var _0x108e6d=_0x3efe;return _0x3675e6[_0x108e6d(0x200)][_0x108e6d(0x342)];}));}(Xe)),Xe[_0x15501e(0x37b)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x453300(0x37b)],ni;function Nn(){var _0x23b3bc=_0x453300;return ni||(ni=0x1,function(_0xf202d5,_0x90de5d){(function(_0x5c701e,_0x167515){var _0x559865=_0x3efe;_0xf202d5[_0x559865(0x37b)]=_0x167515(te());}(yn,function(_0x377041){var _0x391fb6=_0x3efe;return(function(){var _0x5a4c7e=_0x3efe;if(typeof ArrayBuffer==_0x5a4c7e(0x1cd)){var _0x1e9e8f=_0x377041,_0x33c644=_0x1e9e8f[_0x5a4c7e(0x2a7)],_0x40a251=_0x33c644['WordArray'],_0x5e121=_0x40a251[_0x5a4c7e(0x297)],_0x51d36e=_0x40a251[_0x5a4c7e(0x297)]=function(_0x59bbfc){var _0x2a5a59=_0x5a4c7e;if(_0x59bbfc instanceof ArrayBuffer&&(_0x59bbfc=new Uint8Array(_0x59bbfc)),(_0x59bbfc instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x59bbfc instanceof Uint8ClampedArray||_0x59bbfc instanceof Int16Array||_0x59bbfc instanceof Uint16Array||_0x59bbfc instanceof Int32Array||_0x59bbfc instanceof Uint32Array||_0x59bbfc instanceof Float32Array||_0x59bbfc instanceof Float64Array)&&(_0x59bbfc=new Uint8Array(_0x59bbfc[_0x2a5a59(0x26c)],_0x59bbfc[_0x2a5a59(0x1e0)],_0x59bbfc[_0x2a5a59(0x414)])),_0x59bbfc instanceof Uint8Array){for(var _0x33c7a8=_0x59bbfc[_0x2a5a59(0x414)],_0x30454f=[],_0x25a4a0=0x0;_0x25a4a0<_0x33c7a8;_0x25a4a0++)_0x30454f[_0x25a4a0>>>0x2]|=_0x59bbfc[_0x25a4a0]<<0x18-_0x25a4a0%0x4*0x8;_0x5e121[_0x2a5a59(0x28e)](this,_0x30454f,_0x33c7a8);}else _0x5e121[_0x2a5a59(0x470)](this,arguments);};_0x51d36e[_0x5a4c7e(0x3e3)]=_0x40a251;}}()),_0x377041[_0x391fb6(0x2a7)][_0x391fb6(0x227)];}));}(Ze)),Ze[_0x23b3bc(0x37b)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x111024=_0x453300;return ri||(ri=0x1,function(_0x2befa8,_0x589c4e){(function(_0x3de185,_0x40a4f4,_0x3b5b9b){var _0x349456=_0x3efe;_0x2befa8[_0x349456(0x37b)]=_0x40a4f4(te(),bi());}(An,function(_0x39cbb5){var _0x4f5670=_0x3efe;return _0x39cbb5[_0x4f5670(0x361)][_0x4f5670(0x390)]={'pad':function(){},'unpad':function(){}},_0x39cbb5['pad'][_0x4f5670(0x390)];}));}(Qe)),Qe[_0x111024(0x37b)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x2f6644,_0x32bbb4){var _0x1b893a=_0x453300;const _0x4022b9=_0x32bbb4-_0x2f6644['length']%_0x32bbb4,_0x36ca2f=String[_0x1b893a(0x49e)](_0x4022b9)['repeat'](_0x4022b9);return _0x2f6644+_0x36ca2f;}function xn(_0x5cfc7f,_0x61cce0){var _0x5892ae=_0x453300;const _0x6d3907=Un[_0x5892ae(0x4cd)](0x10),_0xc3b69=Ln(_0x5cfc7f,0x10),_0x32ff83=In[_0x5892ae(0x480)](bn['parse'](_0xc3b69),ii[_0x5892ae(0x40e)](_0x61cce0),{'iv':_0x6d3907,'padding':Mn});return _0x6d3907[_0x5892ae(0x362)](_0x32ff83[_0x5892ae(0x4d0)])[_0x5892ae(0x3a7)](ii);}function kn(){var _0x8eaaf2=_0x453300;const _0x24c655=_0x3a9287()[_0x8eaaf2(0x3c1)];if(_0x24c655){const _0xd58180={'time':Math[_0x8eaaf2(0x427)](Date[_0x8eaaf2(0x2dc)]()/0x3e8),'domain':location['hostname']};return xn(JSON['stringify'](_0xd58180),_0x24c655);}}var $n=Object[_0x453300(0x3b6)],Hn=(_0x471e5f,_0x44f472,_0x2b5a01,_0x55b58b)=>{var _0x157a09=_0x453300;for(var _0x470efa=_0x55b58b>0x1?void 0x0:_0x55b58b?$n(_0x44f472,_0x2b5a01):_0x44f472,_0x1490e1=_0x471e5f[_0x157a09(0x42d)]-0x1,_0x50a5af;_0x1490e1>=0x0;_0x1490e1--)(_0x50a5af=_0x471e5f[_0x1490e1])&&(_0x470efa=_0x50a5af(_0x470efa)||_0x470efa);return _0x470efa;},Bn=(_0x353d34,_0x8fd593)=>(_0x1ae485,_0x31680e)=>_0x8fd593(_0x1ae485,_0x31680e,_0x353d34);let at=class{constructor(_0x16fc52){var _0x175b6e=_0x453300;this[_0x175b6e(0x3fd)]=_0x16fc52,this[_0x175b6e(0x349)]();}[_0x453300(0x349)](){var _0x48b0bd=_0x453300;this[_0x48b0bd(0x3fd)][_0x48b0bd(0x2e2)]({'interceptor':(_0x12d3d0,_0x2fc00)=>{var _0x2198da=_0x48b0bd;const _0x3b3e8b=_0x12d3d0['headers'],_0x4e2c58=kn();return _0x4e2c58&&_0x3b3e8b[_0x2198da(0x3bf)]('x-univer-host',_0x4e2c58),_0x2fc00(_0x12d3d0);}});}};at=Hn([Bn(0x0,_0x310792(_0x3b868d))],at);var jn=Object[_0x453300(0x3b6)],Fn=(_0x173be4,_0x230c46,_0x4aec62,_0x23de18)=>{for(var _0x4b2e62=_0x23de18>0x1?void 0x0:_0x23de18?jn(_0x230c46,_0x4aec62):_0x230c46,_0x519e7c=_0x173be4['length']-0x1,_0x304b21;_0x519e7c>=0x0;_0x519e7c--)(_0x304b21=_0x173be4[_0x519e7c])&&(_0x4b2e62=_0x304b21(_0x4b2e62)||_0x4b2e62);return _0x4b2e62;},vt=(_0x1a248c,_0x2500a6)=>(_0x42fa0e,_0x19b2b9)=>_0x2500a6(_0x42fa0e,_0x19b2b9,_0x1a248c);let Ct=class extends _0x38e82b{constructor(_0x4556c4,_0x3e584f,_0xeaf4f1){var _0x5f1572=_0x453300;super(),N(this,_0x5f1572(0x355),new _0x426c33(null)),N(this,'unitInfo$',this[_0x5f1572(0x355)][_0x5f1572(0x1ea)]()),(this[_0x5f1572(0x41c)]=_0x4556c4,this['_snapshotService']=_0x3e584f,this[_0x5f1572(0x3c5)]=_0xeaf4f1);}async[_0x453300(0x34f)](_0x1b58bc,_0x894465,_0x51601c){var _0x299e41=_0x453300;this['_unitInfo$']['next']({'unitId':_0x1b58bc,'type':_0x894465});let _0x3db22c=null;switch(_0x894465){case Z[_0x299e41(0x36e)]:{_0x3db22c=await this['_snapshotService'][_0x299e41(0x358)](_0x1b58bc,_0x51601c);break;}case Z[_0x299e41(0x268)]:{_0x3db22c=await this[_0x299e41(0x2b1)][_0x299e41(0x248)](_0x1b58bc,_0x51601c);break;}default:{this[_0x299e41(0x41c)][_0x299e41(0x473)](_0x299e41(0x24d),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x3db22c;}async[_0x453300(0x36b)](_0xf393cc,_0x5bfd20,_0x7aacfc){var _0x826c3f=_0x453300,_0x4e5cd9;this['_unitInfo$']['next']({'unitId':_0xf393cc,'type':_0x5bfd20,'subUnitId':_0x7aacfc});let _0x29173e=0x0;const _0x4f32d0=await((_0x4e5cd9=this[_0x826c3f(0x3c5)])==null?void 0x0:_0x4e5cd9[_0x826c3f(0x47a)](_0xf393cc));return _0x4f32d0&&(_0x4f32d0[_0x826c3f(0x415)]||_0x4f32d0[_0x826c3f(0x3de)][_0x826c3f(0x42d)]!==0x0)&&(_0x29173e=_0x4f32d0['rev']),_0x29173e===0x0&&this[_0x826c3f(0x41c)][_0x826c3f(0x339)](_0x826c3f(0x24d),_0x826c3f(0x1f1)),this['loadUnitOfRevision'](_0xf393cc,_0x5bfd20,_0x29173e);}};Ct=Fn([vt(0x0,_0x2da007),vt(0x1,_0x310792(_0x3f6b40)),vt(0x2,_0x3ff866(J))],Ct);var Vn=Object[_0x453300(0x3b6)],Wn=(_0x233e6a,_0x4c2091,_0x4ffefb,_0x5b4ece)=>{var _0x221363=_0x453300;for(var _0x3da1d=_0x5b4ece>0x1?void 0x0:_0x5b4ece?Vn(_0x4c2091,_0x4ffefb):_0x4c2091,_0x1f2c32=_0x233e6a[_0x221363(0x42d)]-0x1,_0x291228;_0x1f2c32>=0x0;_0x1f2c32--)(_0x291228=_0x233e6a[_0x1f2c32])&&(_0x3da1d=_0x291228(_0x3da1d)||_0x3da1d);return _0x3da1d;},pt=(_0x429669,_0x430905)=>(_0x352c41,_0x5266c3)=>_0x430905(_0x352c41,_0x5266c3,_0x429669);const Gn=['image/png',_0x453300(0x4a7),_0x453300(0x203),'image/gif',_0x453300(0x3a0)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x453300(0x2f7);let Rt=class{constructor(_0xccdbbe,_0x1a44cf,_0x46350e){var _0x224ae9=_0x453300;N(this,_0x224ae9(0x3bd),0x0),N(this,_0x224ae9(0x2b3),new _0x2af173()),N(this,_0x224ae9(0x26b),this[_0x224ae9(0x2b3)]),N(this,_0x224ae9(0x45f),new Map()),(this[_0x224ae9(0x3fd)]=_0xccdbbe,this[_0x224ae9(0x28c)]=_0x1a44cf,this[_0x224ae9(0x314)]=_0x46350e);}[_0x453300(0x49d)](_0x225194){var _0x569728=_0x453300;this[_0x569728(0x3bd)]=_0x225194,this[_0x569728(0x2b3)][_0x569728(0x371)](_0x225194);}[_0x453300(0x36c)](_0x593c89,_0x190d92){var _0x18a5ea=_0x453300;if(_0x190d92===_0x13812c[_0x18a5ea(0x44f)]){const _0x555477=new Image();return _0x555477[_0x18a5ea(0x1e3)]=_0x593c89,_0x555477;}return this[_0x18a5ea(0x45f)][_0x18a5ea(0x2bd)](_0x593c89);}[_0x453300(0x49c)](_0x50e038,_0x4d4a9a,_0x36b368){var _0x819182=_0x453300;_0x4d4a9a===_0x13812c['BASE64']||_0x36b368==null||this['_imageSourceCache'][_0x819182(0x3bf)](_0x50e038,_0x36b368);}async[_0x453300(0x2e8)](_0x2d2b4b){var _0x215cbf=_0x453300;try{const _0x48783a=this['_replaceFileID'](this['_getSignURL'](),''+_0x2d2b4b),_0x489f71=(await this['_httpService'][_0x215cbf(0x2bd)](_0x48783a))['body'];if(_0x489f71[_0x215cbf(0x473)]&&_0x489f71[_0x215cbf(0x473)][_0x215cbf(0x3ac)]===vi['OK']){const _0x744343=new URL(_0x489f71[_0x215cbf(0x271)],this['_getDownloadEndpointURL']())[_0x215cbf(0x3a7)]();return Promise[_0x215cbf(0x472)](_0x744343);}return Promise[_0x215cbf(0x1d8)](_0x489f71['error']);}catch(_0x10a105){return Promise['reject'](_0x10a105);}}async['saveImage'](_0x4c5081){var _0x2d4ee2=_0x453300;let _0x327891='';if(!Gn['includes'](_0x4c5081[_0x2d4ee2(0x311)]))return this[_0x2d4ee2(0x4c6)](),Promise['reject'](new Error(_0x4a05df['ERROR_IMAGE_TYPE']));if(_0x4c5081[_0x2d4ee2(0x4a6)]>Yn)return this[_0x2d4ee2(0x4c6)](),Promise[_0x2d4ee2(0x1d8)](new Error(_0x4a05df[_0x2d4ee2(0x35e)]));try{const _0x50abb3=new FormData();_0x50abb3[_0x2d4ee2(0x38e)](_0x2d4ee2(0x482),_0x4c5081);const _0x19c9b3=this[_0x2d4ee2(0x314)][_0x2d4ee2(0x233)](),_0x225aba=_0x19c9b3==null?void 0x0:_0x19c9b3[_0x2d4ee2(0x3ca)]();if(!_0x225aba)throw new Error(_0x2d4ee2(0x24e));const _0x1326ff=this[_0x2d4ee2(0x302)]()+_0x2d4ee2(0x1fc)+_0x4c5081[_0x2d4ee2(0x4a6)]['toString']()+_0x2d4ee2(0x292)+pi[_0x2d4ee2(0x42e)]+'&assign='+encodeURIComponent(_0x225aba),_0x467ad2={'body':_0x50abb3},_0x8bdf9=(await this['_httpService']['post'](_0x1326ff,_0x467ad2))[_0x2d4ee2(0x1ef)];if(typeof _0x8bdf9[_0x2d4ee2(0x1d1)]!=_0x2d4ee2(0x461))return this[_0x2d4ee2(0x4c6)](),Promise['reject'](new Error(_0x4a05df[_0x2d4ee2(0x295)]));_0x327891=_0x8bdf9[_0x2d4ee2(0x1d1)];}catch{return this[_0x2d4ee2(0x4c6)](),Promise[_0x2d4ee2(0x1d8)](new Error(_0x4a05df[_0x2d4ee2(0x295)]));}return new Promise((_0x4ef802,_0x5a7975)=>{var _0x502b89=_0x2d4ee2;const _0x531e56=new FileReader();_0x531e56[_0x502b89(0x438)](_0x4c5081),_0x531e56[_0x502b89(0x320)]=_0x8e1f61=>{var _0x3f7bbd=_0x502b89,_0x48e547;const _0x40cd67=(_0x48e547=_0x8e1f61[_0x3f7bbd(0x411)])==null?void 0x0:_0x48e547[_0x3f7bbd(0x396)];if(_0x40cd67==null){this[_0x3f7bbd(0x4c6)](),_0x5a7975(new Error(_0x4a05df[_0x3f7bbd(0x295)]));return;}const _0x49fa4b=_0x5f0ebb(0x6);_0x4ef802({'imageId':_0x49fa4b,'imageSourceType':_0x13812c[_0x3f7bbd(0x452)],'source':_0x327891,'base64Cache':_0x40cd67,'status':_0x4a05df[_0x3f7bbd(0x1f2)]}),this[_0x3f7bbd(0x4c6)]();};});}['_getUploadFileURL'](){var _0x5d395d=_0x453300,_0x1e2d54;const _0x1b0331=this[_0x5d395d(0x28c)][_0x5d395d(0x2da)](K);return(_0x1e2d54=_0x1b0331==null?void 0x0:_0x1b0331[_0x5d395d(0x3d2)])!=null?_0x1e2d54:Kn;}[_0x453300(0x43d)](){var _0x4eda92=_0x453300,_0x226e8a;const _0x313a9a=this[_0x4eda92(0x28c)][_0x4eda92(0x2da)](K);return(_0x226e8a=_0x313a9a==null?void 0x0:_0x313a9a[_0x4eda92(0x375)])!=null?_0x226e8a:qn;}[_0x453300(0x345)](){var _0x286cac=_0x453300,_0x4bc4e2;const _0x4c8a2e=this[_0x286cac(0x28c)]['getConfig'](K);return(_0x4bc4e2=_0x4c8a2e==null?void 0x0:_0x4c8a2e[_0x286cac(0x2e6)])!=null?_0x4bc4e2:location[_0x286cac(0x2b7)];}['_replaceFileID'](_0x15e521,_0x94b113){var _0x42add8=_0x453300;return _0x15e521['replace'](_0x42add8(0x293),_0x94b113);}['_decreaseWaiting'](){var _0x642da0=_0x453300;this[_0x642da0(0x3bd)]-=0x1,this[_0x642da0(0x2b3)][_0x642da0(0x371)](this[_0x642da0(0x3bd)]);}};Rt=Wn([pt(0x0,_0x310792(_0x3b868d)),pt(0x1,_0x70ee0c),pt(0x2,_0x310792(_0x53fd32))],Rt);var zn=Object[_0x453300(0x3b6)],Jn=(_0x16c34a,_0x156fe3,_0x5c6f97,_0x105dd8)=>{for(var _0x289bf0=_0x105dd8>0x1?void 0x0:_0x105dd8?zn(_0x156fe3,_0x5c6f97):_0x156fe3,_0x36c583=_0x16c34a['length']-0x1,_0x1717fb;_0x36c583>=0x0;_0x36c583--)(_0x1717fb=_0x16c34a[_0x36c583])&&(_0x289bf0=_0x1717fb(_0x289bf0)||_0x289bf0);return _0x289bf0;},ai=(_0x534e23,_0x5ccf8a)=>(_0x528e5c,_0xb60992)=>_0x5ccf8a(_0x528e5c,_0xb60992,_0x534e23);const Xn=_0x453300(0x3e1);let Ot=class{constructor(_0x23c7fc,_0x49fd88){var _0x4f273c=_0x453300;this[_0x4f273c(0x28c)]=_0x23c7fc,this[_0x4f273c(0x279)]=_0x49fd88;}[_0x453300(0x385)](){var _0x298939=_0x453300,_0x101a92;const _0x1b290b=this[_0x298939(0x28c)][_0x298939(0x2da)](K);return(_0x101a92=_0x1b290b==null?void 0x0:_0x1b290b[_0x298939(0x1cf)])!=null?_0x101a92:Xn;}async[_0x453300(0x48c)](_0x2080d8){var _0x2eacc2=_0x453300;const _0x1dbdc7=this[_0x2eacc2(0x385)]()+'/collaborator';return{'list':[{'title':_0x2eacc2(0x4c1),'mentions':(await this[_0x2eacc2(0x279)]['get'](_0x1dbdc7,{'params':{'objectID':_0x2080d8[_0x2eacc2(0x332)],'unitID':_0x2080d8[_0x2eacc2(0x332)]}}))[_0x2eacc2(0x1ef)][_0x2eacc2(0x39f)]['map'](_0x507bfb=>({'objectId':_0x507bfb['id'],'name':_0x507bfb['subject'][_0x2eacc2(0x3b1)],'metadata':{'icon':_0x507bfb[_0x2eacc2(0x42f)][_0x2eacc2(0x2b0)]},'label':_0x507bfb[_0x2eacc2(0x42f)][_0x2eacc2(0x3b1)],'objectType':_0x1f7772[_0x2eacc2(0x2a2)]})),'metadata':{},'type':_0x1f7772['PERSON']}]};}};Ot=Jn([ai(0x0,_0x310792(_0x70ee0c)),ai(0x1,_0x310792(_0x3b868d))],Ot);var Zn=Object[_0x453300(0x3b6)],Qn=(_0x10a21a,_0x14de60,_0x4340ae,_0x5b78db)=>{var _0x4b0e79=_0x453300;for(var _0x13711d=_0x5b78db>0x1?void 0x0:_0x5b78db?Zn(_0x14de60,_0x4340ae):_0x14de60,_0x419342=_0x10a21a[_0x4b0e79(0x42d)]-0x1,_0x3d9a24;_0x419342>=0x0;_0x419342--)(_0x3d9a24=_0x10a21a[_0x419342])&&(_0x13711d=_0x3d9a24(_0x13711d)||_0x13711d);return _0x13711d;},Ue=(_0x192516,_0x432348)=>(_0x152578,_0x484cd3)=>_0x432348(_0x152578,_0x484cd3,_0x192516);let ot=class extends _0x38e82b{constructor(_0x2edbf9,_0x597946,_0x428bb1,_0x178aa,_0x3a3cb6){var _0x5eaf16=_0x453300;super(),this['_injector']=_0x2edbf9,this[_0x5eaf16(0x314)]=_0x597946,this[_0x5eaf16(0x363)]=_0x428bb1,this[_0x5eaf16(0x46e)]=_0x178aa,this[_0x5eaf16(0x39d)]=_0x3a3cb6,this[_0x5eaf16(0x4c7)](),this[_0x5eaf16(0x30e)]();}[_0x453300(0x30e)](){var _0x43f831=_0x453300;const _0xbd52f8=async _0x40fd02=>{var _0x533bc5=_0x3efe;(await this[_0x533bc5(0x46e)][_0x533bc5(0x209)](_0x40fd02))['event$'][_0x533bc5(0x1d2)](_0x3a2573(_0xe3948c=>_0xe3948c[_0x533bc5(0x308)]===_0x5d12f3[_0x533bc5(0x494)]),_0x23b76a(this[_0x533bc5(0x2a4)]))[_0x533bc5(0x29e)](_0x1338ef=>{var _0x28603f=_0x533bc5;const _0x433ba0=_0x1338ef,{reason:_0x3e126e}=_0x433ba0[_0x28603f(0x2f0)];this[_0x28603f(0x39d)]['emitEvent']({'id':ne[_0x28603f(0x3bc)],'data':_0x3e126e}),this['_permissionService'][_0x28603f(0x30a)](new _0x148954(_0x40fd02)['id'],!0x1),this[_0x28603f(0x46e)][_0x28603f(0x394)](_0x40fd02);});};_0x3a770f(this[_0x43f831(0x314)][_0x43f831(0x49b)](_0x4b5640['UNIVER_SHEET']),this['_univerInstanceService'][_0x43f831(0x49b)](_0x4b5640[_0x43f831(0x268)]))['pipe'](_0x3a7978(_0x2e6fbe=>_0x2e6fbe['getUnitId']()),_0x3a2573(_0x154834=>!_0xefa77b(_0x154834)),_0x23b76a(this[_0x43f831(0x2a4)]))[_0x43f831(0x29e)](_0xe3bda8=>{_0xbd52f8(_0xe3bda8);});}[_0x453300(0x4c7)](){var _0x26cead=_0x453300;const _0x46b658=async _0x26c363=>{var _0xed075e=_0x3efe;const _0x2d1afe=await this[_0xed075e(0x46e)][_0xed075e(0x209)](_0x26c363),_0x42096d=this['_injector'][_0xed075e(0x2bd)](_0x3657c5);_0x2d1afe[_0xed075e(0x3c7)]['pipe'](_0x3a2573(_0x170656=>_0x170656[_0xed075e(0x308)]===_0x5d12f3[_0xed075e(0x217)]),_0x23b76a(this['dispose$']))[_0xed075e(0x29e)](_0x154198=>{var _0x1cf7ff=_0xed075e;const _0x387070=_0x154198,{objectId:_0x1f91b4}=_0x387070['data'];_0x1f91b4===_0x26c363?_0x42096d['initWorkbookPermissionChange'](_0x26c363):_0x42096d[_0x1cf7ff(0x32a)](_0x26c363,_0x1f91b4);});};_0x3a770f(this[_0x26cead(0x314)][_0x26cead(0x49b)](_0x4b5640[_0x26cead(0x36e)]))['pipe'](_0x3a7978(_0x377252=>_0x377252[_0x26cead(0x3ca)]()),_0x3a2573(_0x57271d=>!_0xefa77b(_0x57271d)),_0x23b76a(this[_0x26cead(0x2a4)]))[_0x26cead(0x29e)](_0x353456=>{_0x46b658(_0x353456);});}};ot=Qn([Ue(0x0,_0x310792(_0x152897)),Ue(0x1,_0x53fd32),Ue(0x2,_0x5a06f5),Ue(0x3,_0x310792(Pe)),Ue(0x4,_0x310792(ve))],ot);var er=Object[_0x453300(0x3b6)],tr=(_0x9f9035,_0x1fe43a,_0x386214,_0x475aa1)=>{for(var _0x4d0248=_0x475aa1>0x1?void 0x0:_0x475aa1?er(_0x1fe43a,_0x386214):_0x1fe43a,_0x41aa9e=_0x9f9035['length']-0x1,_0x14b166;_0x41aa9e>=0x0;_0x41aa9e--)(_0x14b166=_0x9f9035[_0x41aa9e])&&(_0x4d0248=_0x14b166(_0x4d0248)||_0x4d0248);return _0x4d0248;},oi=(_0x4deb26,_0x582a0a)=>(_0x4d1633,_0x499d60)=>_0x582a0a(_0x4d1633,_0x499d60,_0x4deb26);let bt=class{constructor(_0x4d1818,_0x39bd4e){var _0x369417=_0x453300;this[_0x369417(0x28c)]=_0x4d1818,this[_0x369417(0x3fd)]=_0x39bd4e;}async[_0x453300(0x1d9)](_0x2c7cf5,_0x445573){var _0x1b2260=_0x453300,_0x317dc8;const {unitID:_0x53d805,type:_0x7358c2,revision:_0x5073e6=0x0}=_0x445573,_0x39e434=this[_0x1b2260(0x449)]()+'/'+_0x7358c2+_0x1b2260(0x323)+_0x53d805+_0x1b2260(0x44e)+_0x5073e6,_0x4f1291=(await this[_0x1b2260(0x3fd)][_0x1b2260(0x2bd)](_0x39e434))[_0x1b2260(0x1ef)],_0x333e72=(_0x317dc8=_0x4f1291[_0x1b2260(0x3b5)])==null?void 0x0:_0x317dc8[_0x1b2260(0x22a)];if(_0x333e72){const _0x53148f=_0x333e72==null?void 0x0:_0x333e72['originalMeta'],_0x2abd72=_0x417674[_0x1b2260(0x290)](_0x1014a4(_0x53148f));_0x333e72['originalMeta']=_0x2abd72,Object[_0x1b2260(0x388)](_0x333e72[_0x1b2260(0x45a)])[_0x1b2260(0x3e4)](([,_0x2f9830])=>{var _0x595d34=_0x1b2260;const _0x441ae9=_0x2f9830[_0x595d34(0x419)],_0x1d0705=_0x417674['encode'](_0x1014a4(_0x441ae9));_0x2f9830[_0x595d34(0x419)]=_0x1d0705;});}return _0x4f1291;}async[_0x453300(0x22f)](_0x16b931,_0x542b92){var _0x4a51a1=_0x453300;const {unitID:_0x4d6ae4,type:_0x18603b,blockID:_0x49f195}=_0x542b92,_0xd6c6f2=this['_getAPIPrefix']()+'/'+_0x18603b+_0x4a51a1(0x323)+_0x4d6ae4+'/block/'+_0x49f195;return(await this['_httpService'][_0x4a51a1(0x2bd)](_0xd6c6f2))[_0x4a51a1(0x1ef)];}async[_0x453300(0x47d)](_0x1c4973,_0x26e297){var _0x3e6672=_0x453300;const {unitID:_0x2c1e43,type:_0x561458,blockID:_0x3082bb}=_0x26e297,_0x45be4d=this[_0x3e6672(0x2d2)]()+_0x3e6672(0x2e5)+_0x561458+_0x3e6672(0x323)+_0x2c1e43+'/block/'+_0x3082bb;return(await this[_0x3e6672(0x3fd)][_0x3e6672(0x2bd)](_0x45be4d))['body'];}async[_0x453300(0x232)](_0x1b49b3,_0x30cddd){var _0x2c8b9a=_0x453300;const {unitID:_0x42ea74,type:_0x43e61d,from:_0x5e960c,to:_0x489d67}=_0x30cddd,_0x421e33=this[_0x2c8b9a(0x2d2)]()+'/'+_0x43e61d+_0x2c8b9a(0x323)+_0x42ea74+_0x2c8b9a(0x1dc)+_0x5e960c+'&to='+_0x489d67;return(await this[_0x2c8b9a(0x3fd)][_0x2c8b9a(0x2bd)](_0x421e33))[_0x2c8b9a(0x1ef)];}[_0x453300(0x449)](){var _0x4bbd5f=_0x453300,_0x47ede2;return(_0x47ede2=this[_0x4bbd5f(0x28c)][_0x4bbd5f(0x2da)](vs))!=null?_0x47ede2:this[_0x4bbd5f(0x2d2)]();}[_0x453300(0x2d2)](){var _0x1b7787=_0x453300,_0x14ee17;const _0x85101d=this[_0x1b7787(0x28c)][_0x1b7787(0x2da)](K);return(_0x14ee17=_0x85101d==null?void 0x0:_0x85101d['snapshotServerUrl'])!=null?_0x14ee17:fs;}async[_0x453300(0x48a)](_0x1be88b,_0x47a2ef){var _0x33da0a=_0x453300;const _0x3a3aa3=_0x33da0a(0x395)+_0x47a2ef['type']+_0x33da0a(0x323)+_0x47a2ef[_0x33da0a(0x218)]+'/resources';return(await this[_0x33da0a(0x3fd)][_0x33da0a(0x2bd)](_0x3a3aa3,{'params':{'resourceId':JSON[_0x33da0a(0x300)](_0x47a2ef[_0x33da0a(0x260)])}}))[_0x33da0a(0x1ef)];}[_0x453300(0x254)](){var _0x496c91=_0x453300;throw new Error(_0x496c91(0x359));}[_0x453300(0x2a6)](){var _0x1a2d5f=_0x453300;throw new Error(_0x1a2d5f(0x359));}['saveSheetBlock'](){var _0x27d728=_0x453300;throw new Error(_0x27d728(0x359));}[_0x453300(0x4a3)](){var _0x2e1e3a=_0x453300;throw new Error(_0x2e1e3a(0x359));}['copyFileMeta'](){var _0x4bddc9=_0x453300;throw new Error(_0x4bddc9(0x359));}[_0x453300(0x1e9)](){var _0x3cde5d=_0x453300;throw new Error(_0x3cde5d(0x359));}};bt=tr([oi(0x0,_0x70ee0c),oi(0x1,_0x310792(_0x3b868d))],bt);var ir=Object[_0x453300(0x3b6)],sr=(_0x2f5a0d,_0x2cfd14,_0xeb8cb9,_0x4d3919)=>{for(var _0x52b7c6=_0x4d3919>0x1?void 0x0:_0x4d3919?ir(_0x2cfd14,_0xeb8cb9):_0x2cfd14,_0x548470=_0x2f5a0d['length']-0x1,_0x52630c;_0x548470>=0x0;_0x548470--)(_0x52630c=_0x2f5a0d[_0x548470])&&(_0x52b7c6=_0x52630c(_0x52b7c6)||_0x52b7c6);return _0x52b7c6;},Ae=(_0x3275b3,_0x1291ec)=>(_0x5b2505,_0x402dfd)=>_0x1291ec(_0x5b2505,_0x402dfd,_0x3275b3);let yt=class extends _0x41e428{constructor(_0x4743ab,_0x445c45,_0x2feee2,_0x5d4d22,_0x56fc2b){var _0x5d2f7a=_0x453300;super(_0x4743ab,_0x445c45,_0x2feee2),this[_0x5d2f7a(0x325)]=_0x5d4d22,this[_0x5d2f7a(0x41c)]=_0x56fc2b;}[_0x453300(0x34d)](_0x3ae2a5,_0x3c95da){var _0x4226a1=_0x453300;const _0x1e06bb=this[_0x4226a1(0x229)](_0x3ae2a5);if(_0x1e06bb)try{const _0x9acd0f=this['_transformStack'](_0x1e06bb,_0x3c95da);this[_0x4226a1(0x3df)](_0x3ae2a5,_0x9acd0f);}catch(_0x35ead3){this[_0x4226a1(0x41c)][_0x4226a1(0x473)]('[CollaborationUndoRedoService]',_0x35ead3),this[_0x4226a1(0x420)](_0x3ae2a5);}const _0xfa03e8=this[_0x4226a1(0x456)](_0x3ae2a5);if(_0xfa03e8)try{const _0x5f587c=this['_transformStack'](_0xfa03e8,_0x3c95da);this[_0x4226a1(0x3a8)](_0x3ae2a5,_0x5f587c);}catch(_0x6e440e){this[_0x4226a1(0x41c)][_0x4226a1(0x473)](_0x6e440e),this['_clearRedo'](_0x3ae2a5);}}[_0x453300(0x420)](_0x2bf9f6){var _0x16ed2d=_0x453300;const _0x1127d8=this[_0x16ed2d(0x229)](_0x2bf9f6);_0x1127d8&&(_0x1127d8[_0x16ed2d(0x42d)]=0x0,this[_0x16ed2d(0x384)]());}['_clearRedo'](_0xafdb71){var _0x687331=_0x453300;const _0x1edc6d=this['_getRedoStack'](_0xafdb71);_0x1edc6d&&(_0x1edc6d['length']=0x0,this[_0x687331(0x384)]());}[_0x453300(0x3df)](_0x297453,_0x111a15){var _0x420b26=_0x453300;this[_0x420b26(0x3eb)][_0x420b26(0x3bf)](_0x297453,_0x111a15),this[_0x420b26(0x384)]();}[_0x453300(0x3a8)](_0x1cd079,_0x2e2ba9){var _0x3d613=_0x453300;this[_0x3d613(0x4c8)]['set'](_0x1cd079,_0x2e2ba9),this[_0x3d613(0x384)]();}[_0x453300(0x24a)](_0xe1a361,_0x5a9c90){var _0x162a2d=_0x453300;const _0x5d3891=[];let _0x190d7c=_0x5a9c90,_0x4a9772=_0x5a9c90;for(let _0x175904=_0xe1a361['length']-0x1;_0x175904>=0x0;_0x175904--){const {unitID:_0x5b0d82,undoMutations:_0x1d71f0,redoMutations:_0x190e3a}=_0xe1a361[_0x175904],_0x6c3159=this['_transformService'][_0x162a2d(0x4a4)](_0x190d7c,_0x1d71f0),_0x1f2646=this[_0x162a2d(0x325)][_0x162a2d(0x4a4)](_0x4a9772,_0x190e3a);if(_0x5adda1(_0x6c3159)||_0x5adda1(_0x1f2646)){this[_0x162a2d(0x41c)][_0x162a2d(0x473)](_0x162a2d(0x3ed),_0x162a2d(0x255),_0x6c3159,_0x1f2646);break;}_0x190d7c=_0x6c3159[_0x162a2d(0x424)],_0x4a9772=_0x1f2646['c1Prime'],_0x5d3891[_0x162a2d(0x4bf)]({'unitID':_0x5b0d82,'undoMutations':_0x6c3159['m2Prime'],'redoMutations':_0x1f2646[_0x162a2d(0x4aa)]});}return _0x5d3891[_0x162a2d(0x3b9)]();}};yt=sr([Ae(0x0,_0x53fd32),Ae(0x1,_0x30c9a4),Ae(0x2,_0x13644b),Ae(0x3,_0x401a29),Ae(0x4,_0x2da007)],yt);var nr=Object[_0x453300(0x272)],rr=Object[_0x453300(0x3b6)],ar=(_0x177502,_0x24f1c5,_0x33f4ba)=>_0x24f1c5 in _0x177502?nr(_0x177502,_0x24f1c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33f4ba}):_0x177502[_0x24f1c5]=_0x33f4ba,or=(_0x265563,_0x532ef3,_0x148af0,_0xdaa39f)=>{for(var _0x52389d=_0xdaa39f>0x1?void 0x0:_0xdaa39f?rr(_0x532ef3,_0x148af0):_0x532ef3,_0x3a4a9b=_0x265563['length']-0x1,_0x301de3;_0x3a4a9b>=0x0;_0x3a4a9b--)(_0x301de3=_0x265563[_0x3a4a9b])&&(_0x52389d=_0x301de3(_0x52389d)||_0x52389d);return _0x52389d;},mt=(_0x39d228,_0x38286b)=>(_0x13e34b,_0x13f693)=>_0x38286b(_0x13e34b,_0x13f693,_0x39d228),cr=(_0x2e71f0,_0x5a249f,_0xc9e7a8)=>ar(_0x2e71f0,_0x5a249f+'',_0xc9e7a8);const hr=_0x453300(0x3ea);let Nt=class extends _0x29171d{constructor(_0x208f14,_0x5c4058,_0x5c3cf0,_0x35cb8b){var _0xd48818=_0x453300;super(),N(this,_0xd48818(0x3fa)),(this[_0xd48818(0x41c)]=_0x5c4058,this['_injector']=_0x5c3cf0,this['_configService']=_0x35cb8b);const {..._0x47d89b}=_0x1715a1({},Ls,_0x208f14);if(!_0x47d89b['socketService'])throw new Error(_0xd48818(0x27d));this[_0xd48818(0x3fa)]=_0x47d89b,this['_configService'][_0xd48818(0x372)](K,_0x47d89b);}[_0x453300(0x386)](){var _0x4a9865=_0x453300;this[_0x4a9865(0x457)](),this[_0x4a9865(0x3e7)]();}[_0x453300(0x457)](){var _0x9f4d1a=_0x453300,_0x50a4f9,_0x40facc;this[_0x9f4d1a(0x306)][_0x9f4d1a(0x446)](_0x251170)&&this[_0x9f4d1a(0x41c)][_0x9f4d1a(0x473)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4998b2=_0x94ed36([[_0x251170,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x9f4d1a(0x3fa)][_0x9f4d1a(0x23e)]}],[_0x1e567a,{'useClass':bt}],[_0x2836b5,{'useClass':Tt}],[_0x5a1daa,{'useClass':Rt}],[_0x4202ac,{'useClass':Ot}],[nt],[It]],(_0x50a4f9=this[_0x9f4d1a(0x3fa)])==null?void 0x0:_0x50a4f9[_0x9f4d1a(0x382)]);if(!((_0x40facc=this[_0x9f4d1a(0x3fa)])!=null&&_0x40facc[_0x9f4d1a(0x29d)])){const _0x6b34cb=_0x4998b2['findIndex'](([_0x164e58])=>_0x164e58===ht);_0x6b34cb!==-0x1&&_0x4998b2[_0x9f4d1a(0x425)](_0x6b34cb,0x1);}_0x2ee7bf(this['_injector'],_0x4998b2);}[_0x453300(0x3e7)](){var _0xc13fcc=_0x453300,_0x1f9a93,_0x126b0b,_0x115339;this['_injector'][_0xc13fcc(0x2bd)](_0x3b868d)[_0xc13fcc(0x2e2)]({'priority':0x14,'interceptor':_0x2891a8({'maxParallel':0x6})}),(_0x1f9a93=this[_0xc13fcc(0x3fa)])!=null&&_0x1f9a93[_0xc13fcc(0x2a9)]||(_0x126b0b=this[_0xc13fcc(0x306)][_0xc13fcc(0x2bd)](J,_0x3ec65e[_0xc13fcc(0x318)]))==null||_0x126b0b[_0xc13fcc(0x463)](),(_0x115339=this[_0xc13fcc(0x3fa)])!=null&&_0x115339[_0xc13fcc(0x393)]&&_0x249934(this[_0xc13fcc(0x306)],[[rt]]),_0x249934(this[_0xc13fcc(0x306)],[[at],[nt],[ot]]);}};cr(Nt,_0x453300(0x2e9),hr),Nt=or([_0x274d38(_0x326d67,_0x505b31),mt(0x1,_0x2da007),mt(0x2,_0x310792(_0x152897)),mt(0x3,_0x70ee0c)],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 _0xe51f24=_0x3c6c;(function(_0xc69221,_0x4e7dd8){var _0x401d67=_0x3c6c,_0x5b084f=_0xc69221();while(!![]){try{var _0x520ef9=parseInt(_0x401d67(0x16d))/0x1*(-parseInt(_0x401d67(0x3a0))/0x2)+parseInt(_0x401d67(0x374))/0x3*(-parseInt(_0x401d67(0x1bb))/0x4)+parseInt(_0x401d67(0x318))/0x5+-parseInt(_0x401d67(0x29d))/0x6+-parseInt(_0x401d67(0x362))/0x7+parseInt(_0x401d67(0x336))/0x8+parseInt(_0x401d67(0x2df))/0x9;if(_0x520ef9===_0x4e7dd8)break;else _0x5b084f['push'](_0x5b084f['shift']());}catch(_0x705c6c){_0x5b084f['push'](_0x5b084f['shift']());}}}(_0x332e,0x4ea10));var yi=Object[_0xe51f24(0x1ab)],Ni=(_0x1f4f9b,_0x202a47,_0x3dbb41)=>_0x202a47 in _0x1f4f9b?yi(_0x1f4f9b,_0x202a47,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dbb41}):_0x1f4f9b[_0x202a47]=_0x3dbb41,N=(_0x131f45,_0x3be213,_0x2a0376)=>Ni(_0x131f45,typeof _0x3be213!=_0xe51f24(0x2bd)?_0x3be213+'':_0x3be213,_0x2a0376);import{CollaborationEvent as _0x27b370,ITransformService as _0x122cfe,isTransformMutationsWithChangesetSuccess as _0x126ba7,mapDocumentTypeToUniverType as _0x145943,RevisionService as _0x543d62,isTransformChangesetsSuccess as _0x4b0873,CompressMutationService as _0x30bbd1,parseProtocolChangeset as _0x45c8d2,uuidv4 as _0x2ed795,ISnapshotServerService as _0x9fb279,parseChangesetToProtocol as _0x32fcff,SnapshotService as _0x58ad02,textEncoder as _0x5630d4,b64DecodeUnicode as _0x5c5340,isTransformMutationsWithChangesetFailure as _0x2c47f4,UniverCollaborationPlugin as _0x51b7d3}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x3f4f9f,Inject as _0x22b342,UserManagerService as _0xd712fb,Disposable as _0x470533,UniverInstanceType as _0x3fce68,ILogService as _0x361d6f,IConfigService as _0x2a9499,Optional as _0x3dfa42,RxDisposable as _0x12bf24,createIdentifier as _0x2bb048,Injector as _0xf56e29,Tools as _0x35a74a,Rectangle as _0x4ab8f6,ICommandService as _0x399e10,JSONX as _0x1eb69f,CommandType as _0x2b89a5,IUndoRedoService as _0x526774,IPermissionService as _0x59ac06,LocaleService as _0x262680,sequenceExecute as _0x187a8c,toDisposable as _0x4cf9a4,DisposableCollection as _0x55320b,Workbook as _0x3e2d69,generateRandomId as _0x13578b,MentionType as _0xcc5d3a,isInternalEditorID as _0x47fad4,LocalUndoRedoService as _0x3b4780,IContextService as _0x3ecbc3,DependentOn as _0x298545,Plugin as _0x19ed38,merge as _0x4d916b,mergeOverrideWithDependencies as _0x419f0a,IAuthzIoService as _0x225829,IMentionIOService as _0x23e59f,registerDependencies as _0x1e36d4,Quantity as _0x1ee2ee,touchDependencies as _0x1ecdb4}from'@univerjs/core';import{RichTextEditingMutation as _0x50563e}from'@univerjs/docs';import{SheetsSelectionsService as _0x15ebd7,SetSelectionsOperation as _0x596e7f,InsertSheetMutation as _0x81dc23,EmptyMutation as _0x3d1609,WorkbookEditablePermission as _0x579aa1,SheetPermissionInitController as _0x3dcd3c}from'@univerjs/sheets';import{Subject as _0x4b7143,merge as _0x7e74aa,of as _0xf996a6,BehaviorSubject as _0x393d97,takeUntil as _0x2b6919,ReplaySubject as _0x38c9b3,take as _0x46cc5c,map as _0x3a9c1e,shareReplay as _0x1f617d,firstValueFrom as _0x4f08aa,concatMap as _0xd4c290}from'rxjs';import{ITelemetryService as _0x596d0e}from'@univerjs/telemetry';function _0x3c6c(_0x58adbf,_0x4aa307){var _0x332eaf=_0x332e();return _0x3c6c=function(_0x3c6c92,_0x4d40cf){_0x3c6c92=_0x3c6c92-0x151;var _0x12a75f=_0x332eaf[_0x3c6c92];return _0x12a75f;},_0x3c6c(_0x58adbf,_0x4aa307);}import{map as _0x57a8a0,take as _0x1b4c2a,filter as _0x9a4196,delay as _0x414843,takeUntil as _0x4f9aa0}from'rxjs/operators';import{HTTPService as _0xd8406a,ISocketService as _0x15b062,MergeInterceptorFactory as _0x92347a,HTTPRequest as _0x3f8dec,UniverNetworkPlugin as _0x20d1bd,ThresholdInterceptorFactory as _0x2ac242}from'@univerjs/network';import{ImageSourceType as _0x35118b,ImageUploadStatusType as _0x340c69,IImageIoService as _0x550849}from'@univerjs/drawing';import{getGlobalObject as _0x4df2fe}from'@univerjs-pro/license';const fs=_0xe51f24(0x270),vs=_0xe51f24(0x385),ps=0x7d0,ms=_0xe51f24(0x1bd),Ir=_0xe51f24(0x308),gs=_0xe51f24(0x297),Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is=_0xe51f24(0x239),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Cr=0x3e8,Cs=_0xe51f24(0x1d3),Rs=_0xe51f24(0x2b2),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or=_0xe51f24(0x28c);var vi=(_0xcb29f5=>(_0xcb29f5[_0xcb29f5[_0xe51f24(0x323)]=0x0]=_0xe51f24(0x323),_0xcb29f5[_0xcb29f5['OK']=0x1]='OK',_0xcb29f5[_0xcb29f5[_0xe51f24(0x1a7)]=0x2]=_0xe51f24(0x1a7),_0xcb29f5[_0xcb29f5[_0xe51f24(0x177)]=0x3]=_0xe51f24(0x177),_0xcb29f5[_0xcb29f5['NOT_FOUND']=0x4]=_0xe51f24(0x1e8),_0xcb29f5[_0xcb29f5[_0xe51f24(0x394)]=0x5]='UNAUTHENTICATED',_0xcb29f5[_0xcb29f5[_0xe51f24(0x391)]=0x6]=_0xe51f24(0x391),_0xcb29f5[_0xcb29f5[_0xe51f24(0x343)]=0x7]=_0xe51f24(0x343),_0xcb29f5[_0xcb29f5[_0xe51f24(0x42b)]=0x8]='TOO_MANY_REQUESTS',_0xcb29f5[_0xcb29f5[_0xe51f24(0x3dc)]=0x9]=_0xe51f24(0x3dc),_0xcb29f5[_0xcb29f5[_0xe51f24(0x3f8)]=0xa]=_0xe51f24(0x3f8),_0xcb29f5[_0xcb29f5[_0xe51f24(0x162)]=0xb]=_0xe51f24(0x162),_0xcb29f5[_0xcb29f5[_0xe51f24(0x30c)]=0xc]=_0xe51f24(0x30c),_0xcb29f5[_0xcb29f5[_0xe51f24(0x1a1)]=0xd]=_0xe51f24(0x1a1),_0xcb29f5[_0xcb29f5['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xcb29f5[_0xcb29f5['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xe51f24(0x37e),_0xcb29f5[_0xcb29f5[_0xe51f24(0x1f5)]=0x1771]=_0xe51f24(0x1f5),_0xcb29f5[_0xcb29f5[_0xe51f24(0x241)]=0x1772]=_0xe51f24(0x241),_0xcb29f5[_0xcb29f5['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xe51f24(0x276),_0xcb29f5[_0xcb29f5[_0xe51f24(0x3d0)]=0x1b59]='APPLY_REJECT',_0xcb29f5[_0xcb29f5[_0xe51f24(0x337)]=0x1b5a]=_0xe51f24(0x337),_0xcb29f5[_0xcb29f5[_0xe51f24(0x212)]=0x1b5b]=_0xe51f24(0x212),_0xcb29f5[_0xcb29f5['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xe51f24(0x1c0),_0xcb29f5[_0xcb29f5[_0xe51f24(0x1c6)]=0x1b5d]=_0xe51f24(0x1c6),_0xcb29f5[_0xcb29f5[_0xe51f24(0x295)]=0x1f41]=_0xe51f24(0x295),_0xcb29f5[_0xcb29f5[_0xe51f24(0x22b)]=0x2329]=_0xe51f24(0x22b),_0xcb29f5[_0xcb29f5[_0xe51f24(0x3b2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xcb29f5[_0xcb29f5['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xcb29f5[_0xcb29f5[_0xe51f24(0x1f2)]=0x232c]=_0xe51f24(0x1f2),_0xcb29f5[_0xcb29f5[_0xe51f24(0x1c7)]=0x232d]=_0xe51f24(0x1c7),_0xcb29f5[_0xcb29f5[_0xe51f24(0x244)]=0x2711]=_0xe51f24(0x244),_0xcb29f5[_0xcb29f5[_0xe51f24(0x438)]=0x2712]=_0xe51f24(0x438),_0xcb29f5[_0xcb29f5['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xcb29f5[_0xcb29f5[_0xe51f24(0x312)]=0x2714]=_0xe51f24(0x312),_0xcb29f5[_0xcb29f5[_0xe51f24(0x319)]=0x271a]=_0xe51f24(0x319),_0xcb29f5[_0xcb29f5[_0xe51f24(0x23c)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xcb29f5[_0xcb29f5[_0xe51f24(0x332)]=0x271c]=_0xe51f24(0x332),_0xcb29f5[_0xcb29f5['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xe51f24(0x33f),_0xcb29f5[_0xcb29f5['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xe51f24(0x43e),_0xcb29f5[_0xcb29f5[_0xe51f24(0x1d9)]=0x271f]=_0xe51f24(0x1d9),_0xcb29f5[_0xcb29f5[_0xe51f24(0x16f)]=0x2720]=_0xe51f24(0x16f),_0xcb29f5[_0xcb29f5[_0xe51f24(0x3a3)]=0x2af9]=_0xe51f24(0x3a3),_0xcb29f5[_0xcb29f5[_0xe51f24(0x357)]=0x2ee1]=_0xe51f24(0x357),_0xcb29f5[_0xcb29f5['INVALID_INVITE_CODE']=0x2ee2]=_0xe51f24(0x2ba),_0xcb29f5[_0xcb29f5['INVITE_CODE_REQUIRED']=0x2ee3]=_0xe51f24(0x213),_0xcb29f5[_0xcb29f5[_0xe51f24(0x22c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xcb29f5[_0xcb29f5['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xcb29f5[_0xcb29f5[_0xe51f24(0x2b7)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xcb29f5[_0xcb29f5[_0xe51f24(0x1c5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xcb29f5[_0xcb29f5[_0xe51f24(0x2dc)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xcb29f5[_0xcb29f5[_0xe51f24(0x214)]=-0x1]=_0xe51f24(0x214),_0xcb29f5))(vi||{}),Z=(_0x883d70=>(_0x883d70[_0x883d70[_0xe51f24(0x2c7)]=0x0]=_0xe51f24(0x2c7),_0x883d70[_0x883d70['UNIVER_DOC']=0x1]=_0xe51f24(0x1ba),_0x883d70[_0x883d70[_0xe51f24(0x3a9)]=0x2]=_0xe51f24(0x3a9),_0x883d70[_0x883d70[_0xe51f24(0x3f0)]=0x3]='UNIVER_SLIDE',_0x883d70[_0x883d70['UNIVER_PROJECT']=0x4]=_0xe51f24(0x245),_0x883d70[_0x883d70['UNRECOGNIZED']=-0x1]=_0xe51f24(0x214),_0x883d70))(Z||{}),F=(_0x157599=>(_0x157599[_0x157599[_0xe51f24(0x183)]=0x0]=_0xe51f24(0x183),_0x157599[_0x157599[_0xe51f24(0x3d6)]=0x1]=_0xe51f24(0x3d6),_0x157599[_0x157599[_0xe51f24(0x166)]=0x2]=_0xe51f24(0x166),_0x157599[_0x157599[_0xe51f24(0x23d)]=0x3]='LEAVE',_0x157599[_0x157599['INGEST']=0x4]=_0xe51f24(0x349),_0x157599[_0x157599[_0xe51f24(0x37d)]=0x5]=_0xe51f24(0x37d),_0x157599[_0x157599['RECV']=0x6]=_0xe51f24(0x187),_0x157599[_0x157599['UNRECOGNIZED']=-0x1]=_0xe51f24(0x214),_0x157599))(F||{}),pe=(_0x571a7a=>(_0x571a7a[_0x571a7a[_0xe51f24(0x33c)]=0x0]=_0xe51f24(0x33c),_0x571a7a[_0x571a7a['OK']=0x1]='OK',_0x571a7a[_0x571a7a[_0xe51f24(0x202)]=0x2]='FAIL',_0x571a7a[_0x571a7a[_0xe51f24(0x217)]=0x3e9]=_0xe51f24(0x217),_0x571a7a[_0x571a7a[_0xe51f24(0x3a7)]=0x3ea]=_0xe51f24(0x3a7),_0x571a7a[_0x571a7a[_0xe51f24(0x34f)]=0x3eb]=_0xe51f24(0x34f),_0x571a7a[_0x571a7a['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xe51f24(0x265),_0x571a7a[_0x571a7a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x571a7a))(pe||{}),pi=(_0x3fa1d6=>(_0x3fa1d6[_0x3fa1d6[_0xe51f24(0x40c)]=0x0]=_0xe51f24(0x40c),_0x3fa1d6[_0x3fa1d6['HttpImport']=0x1]='HttpImport',_0x3fa1d6[_0x3fa1d6[_0xe51f24(0x252)]=0x2]=_0xe51f24(0x252),_0x3fa1d6[_0x3fa1d6['UnitEmbedded']=0x3]=_0xe51f24(0x2c2),_0x3fa1d6[_0x3fa1d6[_0xe51f24(0x328)]=0x4]=_0xe51f24(0x328),_0x3fa1d6[_0x3fa1d6[_0xe51f24(0x1c9)]=0x5]='UserProfileImg',_0x3fa1d6[_0x3fa1d6['UNRECOGNIZED']=-0x1]=_0xe51f24(0x214),_0x3fa1d6))(pi||{});const Os=_0xe51f24(0x1af);function bs(_0xabe6e1){var _0x787dfd=_0xe51f24;return JSON[_0x787dfd(0x283)](_0xabe6e1)[_0x787dfd(0x192)];}var ne=(_0x1c5a1b=>(_0x1c5a1b[_0xe51f24(0x44b)]=_0xe51f24(0x44b),_0x1c5a1b['PERMISSION_DENIED']=_0xe51f24(0x177),_0x1c5a1b[_0xe51f24(0x233)]=_0xe51f24(0x233),_0x1c5a1b[_0xe51f24(0x3dd)]=_0xe51f24(0x3dd),_0x1c5a1b['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x1c5a1b[_0xe51f24(0x287)]=_0xe51f24(0x287),_0x1c5a1b[_0xe51f24(0x326)]=_0xe51f24(0x326),_0x1c5a1b[_0xe51f24(0x184)]=_0xe51f24(0x184),_0x1c5a1b))(ne||{});class ve{constructor(){var _0x51c7b1=_0xe51f24;N(this,_0x51c7b1(0x35f),new _0x4b7143()),N(this,_0x51c7b1(0x351),this[_0x51c7b1(0x35f)][_0x51c7b1(0x43c)]());}[_0xe51f24(0x261)](_0x4f4b53){var _0xf38434=_0xe51f24;this[_0xf38434(0x35f)][_0xf38434(0x3f6)](_0x4f4b53);}}class mi{constructor(){var _0x2dc67e=_0xe51f24;N(this,_0x2dc67e(0x372),new _0x4b7143()),N(this,_0x2dc67e(0x190),this[_0x2dc67e(0x372)][_0x2dc67e(0x43c)]());}[_0xe51f24(0x432)](_0x3b99ff){var _0xf199fc=_0xe51f24;this['_commentUpdate$'][_0xf199fc(0x3f6)](_0x3b99ff);}}var ys=Object['getOwnPropertyDescriptor'],Ns=(_0x1762b0,_0xc20713,_0x15ce70,_0x351f08)=>{var _0x2d9ed1=_0xe51f24;for(var _0x2aa8d3=_0x351f08>0x1?void 0x0:_0x351f08?ys(_0xc20713,_0x15ce70):_0xc20713,_0x2edab1=_0x1762b0[_0x2d9ed1(0x192)]-0x1,_0x50a6a7;_0x2edab1>=0x0;_0x2edab1--)(_0x50a6a7=_0x1762b0[_0x2edab1])&&(_0x2aa8d3=_0x50a6a7(_0x2aa8d3)||_0x2aa8d3);return _0x2aa8d3;},Ft=(_0x140dbb,_0x25e5ce)=>(_0x18b7d1,_0x472f68)=>_0x25e5ce(_0x18b7d1,_0x472f68,_0x140dbb);let we=class extends _0x470533{constructor(_0x875cd7,_0x2680ef){var _0x1a0e52=_0xe51f24;super(),N(this,_0x1a0e52(0x356),new Map()),N(this,'_roomCreated$',new _0x4b7143()),(this[_0x1a0e52(0x215)]=_0x875cd7,this['_userManagerService']=_0x2680ef,this['disposeWithMe'](_0x7e74aa(this[_0x1a0e52(0x215)][_0x1a0e52(0x2e8)](_0x3fce68[_0x1a0e52(0x3a9)])[_0x1a0e52(0x21f)](_0x57a8a0(_0x3f1647=>_0x3f1647['getUnitId']())),this[_0x1a0e52(0x215)]['getTypeOfUnitDisposed$'](_0x3fce68[_0x1a0e52(0x1ba)])[_0x1a0e52(0x21f)](_0x57a8a0(_0x15839f=>_0x15839f[_0x1a0e52(0x40d)]())),this[_0x1a0e52(0x215)][_0x1a0e52(0x2e8)](_0x3fce68['UNIVER_SLIDE'])[_0x1a0e52(0x21f)](_0x57a8a0(_0x54b1f1=>_0x54b1f1['getUnitId']())))['subscribe'](_0x1ec768=>this[_0x1a0e52(0x1ca)](_0x1ec768))));}['waitForRoom$'](_0x229dd9){var _0x584f2e=_0xe51f24;return this['_roomMembers'][_0x584f2e(0x1d1)](_0x229dd9)?_0xf996a6(this[_0x584f2e(0x356)]['get'](_0x229dd9)):this[_0x584f2e(0x303)][_0x584f2e(0x21f)](_0x57a8a0(_0x2c864b=>{var _0x406d97=_0x584f2e;if(_0x2c864b===_0x229dd9)return this[_0x406d97(0x356)][_0x406d97(0x164)](_0x2c864b);}));}['setCurrentUser'](_0x207139){var _0x1c64c3=_0xe51f24;this[_0x1c64c3(0x40a)][_0x1c64c3(0x448)](_0x207139);}[_0xe51f24(0x197)](){var _0x13ef8d=_0xe51f24;return this[_0x13ef8d(0x40a)]['getCurrentUser']();}[_0xe51f24(0x2f9)](_0x5dcdad,_0x336825){var _0x4d4595=_0xe51f24;let _0x1a2e7b=this[_0x4d4595(0x356)][_0x4d4595(0x164)](_0x5dcdad);_0x1a2e7b||(_0x1a2e7b=new Ds(),this[_0x4d4595(0x356)][_0x4d4595(0x3c9)](_0x5dcdad,_0x1a2e7b),this['_roomCreated$'][_0x4d4595(0x3f6)](_0x5dcdad)),_0x1a2e7b[_0x4d4595(0x2f9)](_0x336825);}[_0xe51f24(0x16c)](_0x2ba058,_0x3847b3){var _0x20e202=_0xe51f24;const _0x435811=this[_0x20e202(0x356)][_0x20e202(0x164)](_0x2ba058);_0x435811&&_0x435811[_0x20e202(0x16c)](_0x3847b3);}['getRoom'](_0x29abe3){var _0x49a660=_0xe51f24;return this[_0x49a660(0x356)][_0x49a660(0x164)](_0x29abe3);}[_0xe51f24(0x1ac)](_0x2945e3,_0x3291e9){var _0x5476cc=_0xe51f24;const _0x43e996=this['_roomMembers'][_0x5476cc(0x164)](_0x2945e3);if(_0x43e996)return _0x43e996[_0x5476cc(0x1ac)](_0x3291e9);}[_0xe51f24(0x1ca)](_0x4ac33a){var _0x33bc52=_0xe51f24;const _0x14144e=this[_0x33bc52(0x356)]['get'](_0x4ac33a);_0x14144e&&(_0x14144e[_0x33bc52(0x35e)](),this[_0x33bc52(0x356)]['delete'](_0x4ac33a));}['dispose'](){var _0x925a15=_0xe51f24;this[_0x925a15(0x356)][_0x925a15(0x253)](_0x149735=>_0x149735['dispose']()),this[_0x925a15(0x356)][_0x925a15(0x26e)](),this[_0x925a15(0x303)][_0x925a15(0x39c)]();}};we=Ns([Ft(0x0,_0x3f4f9f),Ft(0x1,_0x22b342(_0xd712fb))],we);class Ds extends _0x470533{constructor(){var _0x170ac6=_0xe51f24;super(...arguments),N(this,_0x170ac6(0x36d),new Map()),N(this,'_members$',new _0x393d97(this[_0x170ac6(0x36d)])),N(this,_0x170ac6(0x170),this['_members$'][_0x170ac6(0x43c)]());}[_0xe51f24(0x35e)](){this['_members']['clear']();}[_0xe51f24(0x2f9)](_0x48cd5d){var _0x1c35a5=_0xe51f24;this[_0x1c35a5(0x36d)]['set'](_0x48cd5d['memberID'],_0x48cd5d),this[_0x1c35a5(0x25d)]();}[_0xe51f24(0x16c)](_0x1acfcc){var _0x1b78d6=_0xe51f24;this[_0x1b78d6(0x36d)][_0x1b78d6(0x3ac)](_0x1acfcc);}[_0xe51f24(0x1ac)](_0x575aae){var _0x4e9f7f=_0xe51f24;return this[_0x4e9f7f(0x36d)][_0x4e9f7f(0x164)](_0x575aae);}['getAllMembers'](){var _0x5479bc=_0xe51f24;return Array[_0x5479bc(0x380)](this[_0x5479bc(0x36d)][_0x5479bc(0x28b)]());}[_0xe51f24(0x25d)](){var _0xaefd31=_0xe51f24;this[_0xaefd31(0x41c)][_0xaefd31(0x3f6)](this[_0xaefd31(0x36d)]);}}var Us=Object[_0xe51f24(0x434)],As=(_0x5aabe0,_0x353f71,_0x325571,_0x1750ff)=>{var _0x462dce=_0xe51f24;for(var _0x44779f=_0x1750ff>0x1?void 0x0:_0x1750ff?Us(_0x353f71,_0x325571):_0x353f71,_0x9c511c=_0x5aabe0[_0x462dce(0x192)]-0x1,_0x2f0226;_0x9c511c>=0x0;_0x9c511c--)(_0x2f0226=_0x5aabe0[_0x9c511c])&&(_0x44779f=_0x2f0226(_0x44779f)||_0x44779f);return _0x44779f;},Ce=(_0xf83649,_0x50b8e3)=>(_0x4172a9,_0x373543)=>_0x50b8e3(_0x4172a9,_0x373543,_0xf83649),ge=(_0x577f3c=>(_0x577f3c[_0x577f3c[_0xe51f24(0x30b)]=0x0]='IDLE',_0x577f3c[_0x577f3c['JOINING']=0x1]=_0xe51f24(0x1fc),_0x577f3c[_0x577f3c[_0xe51f24(0x25f)]=0x2]=_0xe51f24(0x25f),_0x577f3c[_0x577f3c[_0xe51f24(0x17d)]=0x3]=_0xe51f24(0x17d),_0x577f3c))(ge||{});const Vt={[pe['FAIL']]:_0xe51f24(0x224),[pe[_0xe51f24(0x217)]]:_0xe51f24(0x423),[pe[_0xe51f24(0x3a7)]]:_0xe51f24(0x36b),[pe[_0xe51f24(0x34f)]]:'session.room-permission-denied',[pe[_0xe51f24(0x265)]]:'session.room-cnt-exceeds'};let gt=class extends _0x12bf24{constructor(_0x3dfb79,_0x4f4a2e,_0x1aa3ec,_0x23cf8d,_0x449aee,_0x4cf877,_0x22eaea,_0x22a85c){var _0x176831=_0xe51f24;super(),N(this,_0x176831(0x2b0),new _0x393d97(0x0)),N(this,_0x176831(0x17c),this['_sessionStatus$'][_0x176831(0x43c)]()),N(this,_0x176831(0x35f),new _0x4b7143()),N(this,_0x176831(0x351),this[_0x176831(0x35f)][_0x176831(0x43c)]()),N(this,'_socket'),N(this,_0x176831(0x40e)),N(this,'_collaborationTimeoutTimer'),N(this,_0x176831(0x317),!0x1),N(this,_0x176831(0x376),null),(this[_0x176831(0x22f)]=_0x3dfb79,this[_0x176831(0x420)]=_0x1aa3ec,this[_0x176831(0x2ca)]=_0x23cf8d,this[_0x176831(0x2a6)]=_0x449aee,this[_0x176831(0x2c4)]=_0x4cf877,this[_0x176831(0x30a)]=_0x22eaea,this[_0x176831(0x257)]=_0x22a85c,this[_0x176831(0x317)]=!!this[_0x176831(0x257)],_0x4f4a2e['pipe'](_0x2b6919(this[_0x176831(0x218)]))[_0x176831(0x2aa)](_0x23d24c=>{var _0x165e92=_0x176831,_0x11b32c;typeof _0x23d24c>'u'||(this[_0x165e92(0x2a3)]=_0x23d24c,_0x23d24c?(this[_0x165e92(0x396)](_0x23d24c),this[_0x165e92(0x40e)]=_0x23d24c[_0x165e92(0x20d)][_0x165e92(0x2aa)](_0x1f58cb=>{var _0x17b418=_0x165e92;_0x1f58cb[_0x17b418(0x38a)]===this[_0x17b418(0x22f)]&&this['_onCombEvent'](_0x1f58cb);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x165e92(0x2b0)][_0x165e92(0x3f6)](0x2),(_0x11b32c=this['_socketMessageSubscription'])==null||_0x11b32c[_0x165e92(0x2d0)](),this['_socketMessageSubscription']=null));}));}get[_0xe51f24(0x39f)](){var _0x1647fd=_0xe51f24;return this[_0x1647fd(0x2b0)][_0x1647fd(0x311)]();}[_0xe51f24(0x285)](){var _0x4f9bb3=_0xe51f24,_0x3b42e6,_0x5e42a6;return(_0x5e42a6=(_0x3b42e6=this['_socket'])==null?void 0x0:_0x3b42e6[_0x4f9bb3(0x188)])!=null?_0x5e42a6:null;}[_0xe51f24(0x35e)](){var _0x5aeff1=_0xe51f24;super[_0x5aeff1(0x35e)](),this[_0x5aeff1(0x218)]['next'](),this['dispose$'][_0x5aeff1(0x39c)]();}[_0xe51f24(0x21d)](){var _0x52d7d0=_0xe51f24,_0x213a39,_0x58d7e8;this[_0x52d7d0(0x2ae)](),(_0x213a39=this['_socket'])==null||_0x213a39['send']({'cmd':F[_0x52d7d0(0x23d)],'data':{'roomID':this[_0x52d7d0(0x22f)]}}),(_0x58d7e8=this[_0x52d7d0(0x2a3)])==null||_0x58d7e8[_0x52d7d0(0x21d)](),this[_0x52d7d0(0x35f)][_0x52d7d0(0x39c)](),this[_0x52d7d0(0x2b0)]['complete'](),this[_0x52d7d0(0x35e)]();}[_0xe51f24(0x2fd)](_0x22ef0b){var _0x52e672=_0xe51f24;_0x22ef0b[_0x52e672(0x275)]===F[_0x52e672(0x166)]?this[_0x52e672(0x27b)](_0x22ef0b):_0x22ef0b['cmd']===F[_0x52e672(0x187)]&&this[_0x52e672(0x447)](_0x22ef0b);}[_0xe51f24(0x396)](_0x14d3d4){var _0x1db2d8=_0xe51f24;this[_0x1db2d8(0x2b0)][_0x1db2d8(0x3f6)](0x1),_0x14d3d4[_0x1db2d8(0x3c6)]({'cmd':F['JOIN'],'routeKey':this[_0x1db2d8(0x22f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1db2d8(0x22f)]}]}});}[_0xe51f24(0x27b)](_0x796655){var _0xb182e4=_0xe51f24,_0x2f3b6e;if(_0x796655[_0xb182e4(0x3a4)]in Vt){this[_0xb182e4(0x30a)]['emitEvent']({'id':ne[_0xb182e4(0x2a4)],'data':Vt[_0x796655[_0xb182e4(0x3a4)]]}),this['_sessionStatus$'][_0xb182e4(0x3f6)](0x2);return;}this[_0xb182e4(0x2b0)][_0xb182e4(0x3f6)](0x3);const _0x2b3eb=(_0x2f3b6e=_0x796655[_0xb182e4(0x3c2)][_0xb182e4(0x387)][this['_unitID']])==null?void 0x0:_0x2f3b6e[_0xb182e4(0x20e)];_0x2b3eb&&_0x2b3eb[_0xb182e4(0x253)](_0x40afc3=>this[_0xb182e4(0x2a6)][_0xb182e4(0x2f9)](this[_0xb182e4(0x22f)],_0x40afc3));}[_0xe51f24(0x447)](_0x5e0ee1){var _0x92e838=_0xe51f24;try{const _0x2d9b3a=_0x5e0ee1[_0x92e838(0x3c2)];switch(_0x2d9b3a[_0x92e838(0x161)]){case _0x27b370['USERS_ENTER']:this[_0x92e838(0x339)](_0x2d9b3a),this['_event$'][_0x92e838(0x3f6)](_0x2d9b3a);break;case _0x27b370[_0x92e838(0x3f7)]:this[_0x92e838(0x264)](_0x2d9b3a),this[_0x92e838(0x35f)]['next'](_0x2d9b3a);break;case _0x27b370[_0x92e838(0x292)]:case _0x27b370['CHANGESET_SHOULD_RETRY']:this[_0x92e838(0x242)](),this['_clearCollaborationTimeoutTimer'](),this[_0x92e838(0x35f)]['next'](_0x2d9b3a);break;case _0x27b370[_0x92e838(0x413)]:this[_0x92e838(0x420)][_0x92e838(0x35d)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x92e838(0x283)](_0x2d9b3a)),this[_0x92e838(0x35f)]['next'](_0x2d9b3a);break;case _0x27b370[_0x92e838(0x3b0)]:this[_0x92e838(0x2c4)]['onCommentUpdate'](_0x2d9b3a[_0x92e838(0x3c2)]),this['_event$'][_0x92e838(0x3f6)](_0x2d9b3a);break;default:this[_0x92e838(0x35f)][_0x92e838(0x3f6)](_0x2d9b3a);}}catch(_0xc46a6b){this[_0x92e838(0x420)][_0x92e838(0x35d)](_0xc46a6b,_0x5e0ee1);}}['_onUserJoin'](_0x181177){var _0x43fb81=_0xe51f24;this[_0x43fb81(0x2a6)][_0x43fb81(0x2f9)](this['_unitID'],_0x181177[_0x43fb81(0x3c2)]);}[_0xe51f24(0x264)](_0x42f56b){var _0x1371ef=_0xe51f24;this[_0x1371ef(0x2a6)][_0x1371ef(0x16c)](this['_unitID'],_0x42f56b[_0x1371ef(0x3c2)][_0x1371ef(0x188)]);}async[_0xe51f24(0x3c6)](_0x569add,_0x1ea380){var _0x493707=_0xe51f24;if(this['sessionStatus']!==0x3||!this[_0x493707(0x2a3)])throw new Error(_0x493707(0x2b6));try{_0x569add[_0x493707(0x161)]===_0x27b370['SUBMIT_CHANGESET']&&(this[_0x493707(0x200)](),this['_startTelemetryCollaborationNewChangeset'](_0x569add)),this[_0x493707(0x2a3)][_0x493707(0x3c6)]({'cmd':F[_0x493707(0x349)],'routeKey':_0x1ea380,'routeType':'','data':_0x569add});}catch(_0x4d78d0){this['_logService'][_0x493707(0x35d)](_0x4d78d0);}}[_0xe51f24(0x200)](){var _0x57f619=_0xe51f24,_0xaa9796;this[_0x57f619(0x1c3)]=setTimeout(()=>{var _0x533d2c=_0x57f619;this[_0x533d2c(0x1c3)]=null,this[_0x533d2c(0x30a)]['emitEvent']({'id':ne[_0x533d2c(0x184)]});},(_0xaa9796=this[_0x57f619(0x2ca)][_0x57f619(0x39e)](di))!=null?_0xaa9796:fi);}['_clearCollaborationTimeoutTimer'](){var _0x21d504=_0xe51f24;this[_0x21d504(0x1c3)]&&(clearTimeout(this[_0x21d504(0x1c3)]),this[_0x21d504(0x1c3)]=null);}[_0xe51f24(0x1e2)](_0x2d377b){var _0x54f339=_0xe51f24;if(!this[_0x54f339(0x317)])return;const {data:_0x5bedc4}=_0x2d377b,{unitID:_0x57c399,changeset:_0x451672}=_0x5bedc4,{mutations:_0xc18564,type:_0x5f1a6c}=_0x451672;this[_0x54f339(0x376)]={'unitId':_0x57c399,'type':_0x5f1a6c,'startTime':performance[_0x54f339(0x426)](),'stopTime':0x0,'duration':0x0,'size':bs(_0xc18564)};}[_0xe51f24(0x242)](){var _0x57fb7f=_0xe51f24;if(this[_0x57fb7f(0x317)]){if(!this['_telemetryInfo']){this[_0x57fb7f(0x420)][_0x57fb7f(0x35d)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x57fb7f(0x1e5)]=performance['now'](),this[_0x57fb7f(0x376)]['duration']=this[_0x57fb7f(0x376)]['stopTime']-this[_0x57fb7f(0x376)][_0x57fb7f(0x2c9)],this[_0x57fb7f(0x257)][_0x57fb7f(0x22e)](Os,this['_telemetryInfo']),this[_0x57fb7f(0x376)]=null;}}[_0xe51f24(0x2ae)](){var _0x395e71=_0xe51f24;this[_0x395e71(0x376)]=null;}};gt=As([Ce(0x2,_0x361d6f),Ce(0x3,_0x2a9499),Ce(0x4,_0x22b342(we)),Ce(0x5,_0x22b342(mi)),Ce(0x6,_0x22b342(ve)),Ce(0x7,_0x3dfa42(_0x596d0e))],gt);const J=_0x2bb048(_0xe51f24(0x159));function br(_0x5006ed){var _0x4f796e=_0xe51f24;return _0x4f796e(0x3d7)+_0x5006ed;}var ws=Object[_0xe51f24(0x434)],Ps=(_0xf974cc,_0x3aac11,_0x249c1b,_0x439212)=>{var _0x1b0e53=_0xe51f24;for(var _0x20a62c=_0x439212>0x1?void 0x0:_0x439212?ws(_0x3aac11,_0x249c1b):_0x3aac11,_0x13d398=_0xf974cc[_0x1b0e53(0x192)]-0x1,_0x547dad;_0x13d398>=0x0;_0x13d398--)(_0x547dad=_0xf974cc[_0x13d398])&&(_0x20a62c=_0x547dad(_0x20a62c)||_0x20a62c);return _0x20a62c;},ut=(_0xa05deb,_0x2c8955)=>(_0x12477b,_0x125a9b)=>_0x2c8955(_0x12477b,_0x125a9b,_0xa05deb);function Ms(_0x5cf17c){var _0x430a35=_0xe51f24;const {unitID:_0x94e96e,mutations:_0x40c19c}=_0x5cf17c;return{'unitId':_0x94e96e,'subUnitId':_0x40c19c[0x0]['params'][_0x430a35(0x341)]};}let it=class{constructor(_0x7238b9,_0x270fc9,_0x12f7c5){var _0x2ba9ff=_0xe51f24;this['_injector']=_0x7238b9,this[_0x2ba9ff(0x327)]=_0x270fc9,this[_0x2ba9ff(0x407)]=_0x12f7c5;}[_0xe51f24(0x24d)](_0x396b09){var _0x53b601=_0xe51f24,_0x22603f,_0x2dca2d,_0x2ead44,_0x3c6356;const _0x3f6c3e=this[_0x53b601(0x289)][_0x53b601(0x164)](_0x15ebd7),{unitId:_0x435174,subUnitId:_0x42720c}=Ms(_0x396b09),_0x2c3dbe=_0x3f6c3e==null?void 0x0:_0x3f6c3e[_0x53b601(0x404)](_0x435174)[_0x53b601(0x1ef)](),_0x1d2900=(_0x2dca2d=(_0x22603f=this[_0x53b601(0x407)]['getUnit'](_0x435174))==null?void 0x0:_0x22603f[_0x53b601(0x1f0)]())==null?void 0x0:_0x2dca2d['getSheetId']();if(_0x2c3dbe[_0x53b601(0x192)]===0x0||!_0x435174||!_0x42720c)return;const _0x1ef477=[{'id':_0x596e7f['id'],'params':{'unitId':_0x435174,'subUnitId':_0x1d2900,'selections':_0x35a74a[_0x53b601(0x1f7)](_0x2c3dbe)}}],_0x7336e7=this[_0x53b601(0x327)][_0x53b601(0x3e0)](_0x396b09,_0x1ef477);if(!_0x126ba7(_0x7336e7))throw _0x7336e7[_0x53b601(0x35d)];const _0x1096b1=(_0x3c6356=(_0x2ead44=_0x7336e7[_0x53b601(0x2ed)][0x0])==null?void 0x0:_0x2ead44[_0x53b601(0x429)])==null?void 0x0:_0x3c6356[_0x53b601(0x44d)];if(Array[_0x53b601(0x421)](_0x1096b1)&&_0x1096b1[_0x53b601(0x192)]){if(_0x1096b1['length']===_0x1ef477[0x0][_0x53b601(0x429)][_0x53b601(0x44d)]['length']&&_0x1096b1['every']((_0x550115,_0x464615)=>_0x4ab8f6['equals'](_0x550115[_0x53b601(0x1db)],_0x1ef477[0x0][_0x53b601(0x429)][_0x53b601(0x44d)][_0x464615][_0x53b601(0x1db)])))return;this[_0x53b601(0x289)][_0x53b601(0x164)](_0x399e10)[_0x53b601(0x3df)](_0x596e7f['id'],{'unitId':_0x435174,'subUnitId':_0x1d2900,'selections':_0x1096b1});}}};it=Ps([ut(0x0,_0x22b342(_0xf56e29)),ut(0x1,_0x122cfe),ut(0x2,_0x3f4f9f)],it);const ht=_0x2bb048(_0xe51f24(0x2da));var gi=(_0x2c1ceb=>(_0x2c1ceb[_0x2c1ceb[_0xe51f24(0x22a)]=0x0]=_0xe51f24(0x22a),_0x2c1ceb[_0x2c1ceb['OTHER_CLIENTS_EDITING']=0x1]=_0xe51f24(0x260),_0x2c1ceb))(gi||{});const K=_0xe51f24(0x38f),Ls={},xs=new Set([_0x81dc23['id']]);function Wt(_0x44368d,_0x5e6eae,_0x388405,_0x503646,_0x572a04){var _0x14feed=_0xe51f24,_0x19afc3,_0x227f2a,_0x1beba6,_0x2c5f3c;const _0x526828=[];for(const _0x57c401 of _0x44368d)if(xs[_0x14feed(0x1d1)](_0x57c401['id'])){if(_0x526828[_0x14feed(0x192)]>0x0)break;_0x526828['push'](_0x57c401);break;}else _0x526828[_0x14feed(0x27f)](_0x57c401);const _0x136979=(_0x227f2a=(_0x19afc3=_0x572a04['getCurrentUser']())==null?void 0x0:_0x19afc3[_0x14feed(0x436)])!=null?_0x227f2a:_0x14feed(0x196),_0x541855=(_0x2c5f3c=(_0x1beba6=_0x572a04[_0x14feed(0x197)]())==null?void 0x0:_0x1beba6['memberID'])!=null?_0x2c5f3c:'unknown';return{'changeset':{'unitID':_0x5e6eae,'type':_0x145943(_0x388405[_0x14feed(0x427)](_0x5e6eae)),'baseRev':_0x503646['getCurrentRevOfUnit'](_0x5e6eae),'revision':0x0,'userID':_0x136979,'memberID':_0x541855,'mutations':_0x526828},'pendingMutations':_0x44368d[_0x14feed(0x1ee)](_0x526828[_0x14feed(0x192)])};}function ks(_0x309838,_0x9ac3bc,_0x2e3a26,_0x1ddc2d,_0xe3682f){var _0xeb988d=_0xe51f24,_0x50dddd,_0x2c9dea,_0x5a5db6,_0x2397cd;const _0x325364=[_0x309838[_0xeb988d(0x222)]((_0x23b991,_0x4fe92d)=>{var _0x19c6e2=_0xeb988d,_0x14997b;const {id:_0x5da4e6}=_0x23b991,{id:_0x334131,type:_0x24d655}=_0x4fe92d,_0x590068=(_0x14997b=_0x23b991[_0x19c6e2(0x429)])!=null?_0x14997b:{'actions':null},_0x5dfee2=_0x4fe92d['params'];if(_0x5da4e6&&_0x5da4e6!==_0x334131)throw new Error(_0x19c6e2(0x2a9)+_0x5da4e6+_0x19c6e2(0x2fe)+_0x334131+'.');return{..._0x23b991,'id':_0x334131,'type':_0x24d655,'params':{'unitId':_0x5dfee2['unitId'],'textRanges':_0x5dfee2['textRanges'],'actions':_0x1eb69f[_0x19c6e2(0x2b5)](_0x590068[_0x19c6e2(0x2c8)],_0x5dfee2[_0x19c6e2(0x2c8)])}};},{})],_0x29c42f=(_0x2c9dea=(_0x50dddd=_0xe3682f[_0xeb988d(0x197)]())==null?void 0x0:_0x50dddd[_0xeb988d(0x436)])!=null?_0x2c9dea:_0xeb988d(0x196),_0x81121a=(_0x2397cd=(_0x5a5db6=_0xe3682f['getCurrentUser']())==null?void 0x0:_0x5a5db6[_0xeb988d(0x188)])!=null?_0x2397cd:_0xeb988d(0x196);return{'changeset':{'unitID':_0x9ac3bc,'type':_0x145943(_0x2e3a26[_0xeb988d(0x427)](_0x9ac3bc)),'baseRev':_0x1ddc2d[_0xeb988d(0x31d)](_0x9ac3bc),'revision':0x0,'userID':_0x29c42f,'memberID':_0x81121a,'mutations':_0x325364},'pendingMutations':[]};}function Si(_0x43a60b,_0x3e1a36){var _0x12c988=_0xe51f24;const _0x1e80e4=new _0x38c9b3(0x1);return setTimeout(()=>_0x1e80e4[_0x12c988(0x3f6)](_0x3e1a36),_0x43a60b),_0x1e80e4[_0x12c988(0x43c)]()[_0x12c988(0x21f)](_0x46cc5c(0x1));}const $s={'id':_0x3d1609['id'],'type':_0x2b89a5['MUTATION'],'params':{}};var Hs=Object[_0xe51f24(0x434)],Ee=(_0x48c811,_0x524a0d,_0x7046a4,_0x5c7812)=>{var _0x3f676b=_0xe51f24;for(var _0x427ad4=_0x5c7812>0x1?void 0x0:_0x5c7812?Hs(_0x524a0d,_0x7046a4):_0x524a0d,_0x2bf2c4=_0x48c811[_0x3f676b(0x192)]-0x1,_0x2ad5f2;_0x2bf2c4>=0x0;_0x2bf2c4--)(_0x2ad5f2=_0x48c811[_0x2bf2c4])&&(_0x427ad4=_0x2ad5f2(_0x427ad4)||_0x427ad4);return _0x427ad4;},P=(_0x4d199b,_0xe29821)=>(_0x122659,_0x5395f6)=>_0xe29821(_0x122659,_0x5395f6,_0x4d199b),Ei=(_0x3c44ff=>(_0x3c44ff['NOT_COLLAB']='not_collab',_0x3c44ff[_0xe51f24(0x34a)]=_0xe51f24(0x3ab),_0x3c44ff[_0xe51f24(0x300)]=_0xe51f24(0x446),_0x3c44ff[_0xe51f24(0x23f)]=_0xe51f24(0x1eb),_0x3c44ff['AWAITING_WITH_PENDING']=_0xe51f24(0x2a1),_0x3c44ff[_0xe51f24(0x286)]=_0xe51f24(0x41e),_0x3c44ff['CONFLICT']=_0xe51f24(0x173),_0x3c44ff['OFFLINE']=_0xe51f24(0x2ac),_0x3c44ff))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x27b831,_0x4024f1,_0x45301c,_0x4c9268,_0x25fe87,_0x212a1f,_0x2af91e,_0x42b9f0,_0x1d73d0){var _0x184075=_0xe51f24;N(this,_0x184075(0x36e),null),N(this,_0x184075(0x3c3),[]),(this['unitID']=_0x27b831,this[_0x184075(0x2a0)]=_0x4024f1,this['_handler']=_0x25fe87,this[_0x184075(0x1df)]=_0x212a1f,this['_undoRedoService']=_0x2af91e,this[_0x184075(0x1a6)]=_0x42b9f0,this[_0x184075(0x291)]=_0x1d73d0,this[_0x184075(0x36e)]=_0x45301c,this[_0x184075(0x3c3)]=_0x4c9268);}[_0xe51f24(0x2b3)](_0x10a255){var _0x1b4167=_0xe51f24;const _0x3b35ff=this[_0x1b4167(0x1a6)][_0x1b4167(0x31d)](this[_0x1b4167(0x2f5)]);return _0x10a255[_0x1b4167(0x179)]>_0x3b35ff+0x1?(this[_0x1b4167(0x373)][_0x1b4167(0x157)]({'from':_0x3b35ff,'to':_0x10a255[_0x1b4167(0x179)]-0x1}),!0x0):!0x1;}[_0xe51f24(0x3cd)](_0x1e9de9){var _0xe558f6=_0xe51f24;this[_0xe558f6(0x191)][_0xe558f6(0x359)](this['unitID'],_0x1e9de9);}['_transformSelections'](_0x851c94){var _0x4ae223=_0xe51f24,_0x31c17b,_0x26c7ba;(_0x26c7ba=(_0x31c17b=this[_0x4ae223(0x373)])[_0x4ae223(0x15f)])==null||_0x26c7ba['call'](_0x31c17b,_0x851c94);}[_0xe51f24(0x26b)](_0x38f456){var _0x51cd0e=_0xe51f24,_0xc22e88,_0x58e2bb;return(_0x58e2bb=(_0xc22e88=this['_handler'])[_0x51cd0e(0x2b8)])==null?void 0x0:_0x58e2bb[_0x51cd0e(0x29a)](_0xc22e88,_0x38f456);}[_0xe51f24(0x441)](_0x43749e){var _0x485f70=_0xe51f24,_0x3f185f,_0x1a67df;return(_0x1a67df=(_0x3f185f=this[_0x485f70(0x373)])['onTransformState'])==null?void 0x0:_0x1a67df[_0x485f70(0x29a)](_0x3f185f,_0x43749e);}[_0xe51f24(0x41d)](_0x55177a){var _0x4f48a6=_0xe51f24,_0x125908,_0x355440,_0x284dba;return(_0x284dba=(_0x355440=(_0x125908=this[_0x4f48a6(0x373)])[_0x4f48a6(0x15b)])==null?void 0x0:_0x355440[_0x4f48a6(0x29a)](_0x125908,_0x55177a))!=null?_0x284dba:_0x55177a;}[_0xe51f24(0x269)](_0x168a52){var _0x4587d3=_0xe51f24,_0xeb893a,_0x3ee303,_0x15cb95;return(_0x15cb95=(_0x3ee303=(_0xeb893a=this['_handler'])[_0x4587d3(0x42f)])==null?void 0x0:_0x3ee303[_0x4587d3(0x29a)](_0xeb893a,_0x168a52))!=null?_0x15cb95:_0x168a52;}[_0xe51f24(0x1b9)](_0x202f6b){var _0x32ac63=_0xe51f24,_0x50afe8,_0x36a6a5;if(this['type']===Z['UNIVER_DOC']){const {unitID:_0x5e6662,mutations:_0x2cce19,memberID:_0x23c39b}=_0x202f6b,_0x23c3f4=_0x2cce19[0x0][_0x32ac63(0x429)][_0x32ac63(0x1f3)];Array[_0x32ac63(0x421)](_0x23c3f4)&&_0x23c3f4[_0x32ac63(0x192)]>0x0&&((_0x36a6a5=(_0x50afe8=this['_handler'])[_0x32ac63(0x268)])==null||_0x36a6a5[_0x32ac63(0x29a)](_0x50afe8,{'unitID':_0x5e6662,'memberID':_0x23c39b,'textRanges':_0x23c3f4}));}}[_0xe51f24(0x2ee)](){var _0x551903=_0xe51f24,_0xaed70e;(_0xaed70e=this[_0x551903(0x291)])==null||_0xaed70e[_0x551903(0x1a0)](this['unitID'],this[_0x551903(0x2a0)],this[_0x551903(0x36e)],this[_0x551903(0x3c3)]);}['_getCurrentRevision'](){var _0x4f7b28=_0xe51f24;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x4f7b28(0x2f5)]);}[_0xe51f24(0x3d2)](){var _0x2a71d2=_0xe51f24;this[_0x2a71d2(0x1a6)][_0x2a71d2(0x388)](this[_0x2a71d2(0x2f5)]);}[_0xe51f24(0x3a2)](_0x60d48e){var _0x53fde2=_0xe51f24,_0x430e27;let _0x6563f9=this[_0x53fde2(0x41d)](_0x60d48e);_0x6563f9=this['_transformRemoteChangesetByStateCache'](_0x6563f9);const _0x2ae463=_0x187a8c(_0x6563f9['mutations'],this[_0x53fde2(0x1df)],{'fromCollab':!0x0});if(!_0x2ae463['result'])throw _0x2ae463[_0x53fde2(0x35d)]instanceof Error?_0x2ae463[_0x53fde2(0x35d)]:new Error((_0x430e27=_0x2ae463[_0x53fde2(0x35d)])!=null?_0x430e27:'[CollaborationState]:\x20apply\x20error!');this[_0x53fde2(0x26b)](_0x6563f9),this[_0x53fde2(0x441)](_0x6563f9),this[_0x53fde2(0x3cd)](_0x60d48e),this[_0x53fde2(0x3bb)](_0x6563f9),this[_0x53fde2(0x1b9)](_0x6563f9),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x2b27fb,_0x125c75,_0x661faf,_0x86f48d,_0x269a41,_0x2b9b00,_0x7355ef,_0x3ba9fb,_0x1f97f4,_0x3b2614){var _0x38d1be=_0xe51f24;super(_0x2b27fb,_0x125c75,null,[],_0x661faf,_0x7355ef,_0x2b9b00,_0x86f48d,_0x3b2614),N(this,_0x38d1be(0x27a),'synced'),(this[_0x38d1be(0x289)]=_0x269a41,this[_0x38d1be(0x420)]=_0x3ba9fb,this['_transformService']=_0x1f97f4,this[_0x38d1be(0x2e3)]=_0x3b2614);}[_0xe51f24(0x28d)](_0x1f2dcc){var _0x42ed94=_0xe51f24;const _0x2d011a=this[_0x42ed94(0x289)][_0x42ed94(0x1a5)](re,this[_0x42ed94(0x2f5)],this[_0x42ed94(0x2a0)],[_0x1f2dcc],this[_0x42ed94(0x373)]);return _0x2d011a[_0x42ed94(0x38c)](),_0x2d011a[_0x42ed94(0x2ee)](),_0x2d011a;}['onRemoteChangeset'](_0x42f1da){var _0x566f5b=_0xe51f24;if(this[_0x566f5b(0x2b3)](_0x42f1da))return this[_0x566f5b(0x289)][_0x566f5b(0x1a5)](Q,this['unitID'],this['type'],null,[],null,[_0x42f1da],this[_0x566f5b(0x373)]);try{const _0x1f31bb=this[_0x566f5b(0x327)]['transformMutationsWithChangeset'](_0x42f1da,[$s]);if(_0x126ba7(_0x1f31bb)){const {c1Prime:_0x18250b}=_0x1f31bb;return this[_0x566f5b(0x3a2)](_0x18250b),this;}throw _0x1f31bb[_0x566f5b(0x35d)];}catch(_0x5b3c70){return this[_0x566f5b(0x420)][_0x566f5b(0x35d)](_0x5b3c70),this[_0x566f5b(0x368)](!0x1);}}[_0xe51f24(0x368)](_0x5690f9){var _0x141a5e=_0xe51f24;return this[_0x141a5e(0x289)][_0x141a5e(0x1a5)](le,this[_0x141a5e(0x2f5)],this['type'],null,[],this[_0x141a5e(0x373)],_0x5690f9);}['onRemoteAck'](){var _0x5218a9=_0xe51f24;throw new Error(_0x5218a9(0x3ca));}[_0xe51f24(0x1b1)](){var _0x41aed1=_0xe51f24;throw new Error(_0x41aed1(0x360));}[_0xe51f24(0x1bf)](){return this;}['toggleOffline'](){var _0x2337da=_0xe51f24;return this[_0x2337da(0x289)][_0x2337da(0x1a5)](ue,this[_0x2337da(0x2f5)],this[_0x2337da(0x2a0)],null,[],this[_0x2337da(0x373)]);}[_0xe51f24(0x42c)](){return this;}['resend'](){var _0x3056fa=_0xe51f24;throw new Error(_0x3056fa(0x435));}[_0xe51f24(0x2b1)](){var _0x5b5b6c=_0xe51f24;const _0x5e2c8d=this[_0x5b5b6c(0x1a6)][_0x5b5b6c(0x31d)](this[_0x5b5b6c(0x2f5)]);return this[_0x5b5b6c(0x373)][_0x5b5b6c(0x157)]({'from':_0x5e2c8d,'to':0x0}),this[_0x5b5b6c(0x289)]['createInstance'](Q,this[_0x5b5b6c(0x2f5)],this[_0x5b5b6c(0x2a0)],null,[],null,[],this[_0x5b5b6c(0x373)]);}};ye=Ee([P(0x3,_0x22b342(_0x543d62)),P(0x4,_0x22b342(_0xf56e29)),P(0x5,_0x526774),P(0x6,_0x399e10),P(0x7,_0x361d6f),P(0x8,_0x122cfe),P(0x9,_0x3dfa42(J))],ye);let re=class extends Ie{constructor(_0x187c68,_0x1c3a43,_0x26c509,_0x459b74,_0x5731da,_0x5516a7,_0x201fbf,_0x1a39de,_0x475ba7,_0x1cef06,_0x393cea,_0x4811ff,_0x7a0d52,_0x35ab12){var _0x387186=_0xe51f24;super(_0x187c68,_0x1c3a43,null,_0x26c509,_0x459b74,_0x475ba7,_0x7a0d52,_0x5516a7,_0x35ab12),N(this,_0x387186(0x27a),'pending'),N(this,_0x387186(0x31c),null),N(this,'_sendingTimer',null),(this[_0x387186(0x289)]=_0x5731da,this[_0x387186(0x2a6)]=_0x201fbf,this['_logService']=_0x1a39de,this['_configService']=_0x1cef06,this[_0x387186(0x327)]=_0x393cea,this[_0x387186(0x215)]=_0x4811ff);}['appendMutation'](_0x35422c){var _0x14df5d=_0xe51f24;return this[_0x14df5d(0x3c3)]['push'](_0x35422c),this['_updateLocalCache'](),this;}[_0xe51f24(0x369)](_0x153aaf){var _0x4371f2=_0xe51f24;if(this[_0x4371f2(0x2b3)](_0x153aaf))return this['_clearScheduledTask'](),this[_0x4371f2(0x289)][_0x4371f2(0x1a5)](Q,this[_0x4371f2(0x2f5)],this['type'],null,this[_0x4371f2(0x3c3)],null,[_0x153aaf],this[_0x4371f2(0x373)]);try{const _0x5c6e79=this['_transformService'][_0x4371f2(0x3e0)](_0x153aaf,this[_0x4371f2(0x3c3)]);if(_0x126ba7(_0x5c6e79)){const {c1Prime:_0x5d7a50,m2Prime:_0xb02b3f}=_0x5c6e79;this['_executeRemoteChangeset'](_0x5d7a50);const _0x3d781d=this[_0x4371f2(0x289)][_0x4371f2(0x1a5)](re,this[_0x4371f2(0x2f5)],this['type'],_0xb02b3f,this[_0x4371f2(0x373)]);this[_0x4371f2(0x3e3)]();const _0x39eabb=new Date()[_0x4371f2(0x348)](),_0x54bfa8=this[_0x4371f2(0x31c)]?Math[_0x4371f2(0x226)](this[_0x4371f2(0x31c)]-_0x39eabb,0x0):this[_0x4371f2(0x17f)]();return _0x3d781d[_0x4371f2(0x38c)](_0x54bfa8),_0x3d781d;}throw _0x5c6e79[_0x4371f2(0x35d)];}catch(_0x36ee7f){return this['_logService']['error'](_0x36ee7f),this[_0x4371f2(0x368)](!0x1);}}[_0xe51f24(0x1ff)](){var _0xfd42b8=_0xe51f24;throw new Error(_0xfd42b8(0x3d9));}[_0xe51f24(0x1b1)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xe51f24(0x1bf)](){return this;}[_0xe51f24(0x33b)](){var _0xc6a677=_0xe51f24;return this[_0xc6a677(0x3e3)](),this['_injector'][_0xc6a677(0x1a5)](ue,this[_0xc6a677(0x2f5)],this[_0xc6a677(0x2a0)],null,this[_0xc6a677(0x3c3)],this[_0xc6a677(0x373)]);}[_0xe51f24(0x42c)](){return this;}[_0xe51f24(0x38c)](_0x35fd22){var _0x204d7d=_0xe51f24;const _0x5a0d7a=_0x35fd22!=null?_0x35fd22:this[_0x204d7d(0x17f)]();this[_0x204d7d(0x31c)]=new Date()[_0x204d7d(0x348)]()+_0x5a0d7a,this['_sendingTimer']=setTimeout(()=>{var _0x51439d=_0x204d7d;this[_0x51439d(0x3e3)]();let _0x59eb1c=null;switch(this[_0x51439d(0x2a0)]){case Z[_0x51439d(0x3a9)]:{_0x59eb1c=Wt(this[_0x51439d(0x3c3)],this[_0x51439d(0x2f5)],this[_0x51439d(0x215)],this['_revisionService'],this[_0x51439d(0x2a6)]);break;}case Z[_0x51439d(0x1ba)]:{this[_0x51439d(0x3c3)][_0x51439d(0x1de)](_0x9c1317=>_0x9c1317['id']===_0x50563e['id'])?_0x59eb1c=ks(this[_0x51439d(0x3c3)],this['unitID'],this[_0x51439d(0x215)],this['_revisionService'],this[_0x51439d(0x2a6)]):_0x59eb1c=Wt(this[_0x51439d(0x3c3)],this[_0x51439d(0x2f5)],this[_0x51439d(0x215)],this[_0x51439d(0x1a6)],this[_0x51439d(0x2a6)]);break;}default:throw new Error(_0x51439d(0x21a)+this[_0x51439d(0x2a0)]+_0x51439d(0x1e1));}const {changeset:_0x558d1e,pendingMutations:_0x4f58cb}=_0x59eb1c;this[_0x51439d(0x373)]['onSendChangeset'](_0x558d1e);const _0x2af377=_0x4f58cb[_0x51439d(0x192)]?this[_0x51439d(0x289)][_0x51439d(0x1a5)](ae,this[_0x51439d(0x2f5)],this[_0x51439d(0x2a0)],_0x558d1e,_0x4f58cb,this['_handler'],void 0x0):this[_0x51439d(0x289)][_0x51439d(0x1a5)](_e,this[_0x51439d(0x2f5)],this[_0x51439d(0x2a0)],_0x558d1e,this[_0x51439d(0x373)]);_0x2af377['_updateLocalCache'](),this['_handler'][_0x51439d(0x2f8)](this,_0x2af377);},_0x5a0d7a);}[_0xe51f24(0x17f)](){var _0x546bd6=_0xe51f24,_0x4b5c98;const _0x4de512=this[_0x546bd6(0x2ca)][_0x546bd6(0x39e)](K);return(_0x4b5c98=_0x4de512==null?void 0x0:_0x4de512['sendChangesetTimeout'])!=null?_0x4b5c98:ps;}[_0xe51f24(0x2f1)](){var _0x40a3e1=_0xe51f24;throw new Error(_0x40a3e1(0x3ce));}[_0xe51f24(0x3e3)](){var _0x432c32=_0xe51f24;this['_sendingTimer']!=null&&(clearTimeout(this[_0x432c32(0x18f)]),this[_0x432c32(0x18f)]=null);}[_0xe51f24(0x368)](_0x46b2f3){var _0x5a3a49=_0xe51f24;return this['_clearScheduledTask'](),this['_injector'][_0x5a3a49(0x1a5)](le,this['unitID'],this[_0x5a3a49(0x2a0)],null,this[_0x5a3a49(0x3c3)],this[_0x5a3a49(0x373)],_0x46b2f3);}};re=Ee([P(0x4,_0x22b342(_0xf56e29)),P(0x5,_0x22b342(_0x543d62)),P(0x6,_0x22b342(we)),P(0x7,_0x361d6f),P(0x8,_0x399e10),P(0x9,_0x2a9499),P(0xa,_0x122cfe),P(0xb,_0x3f4f9f),P(0xc,_0x526774),P(0xd,_0x3dfa42(J))],re);let _e=class extends Ie{constructor(_0x4e4737,_0x252a6a,_0x5843d0,_0x3e4ca4,_0x5dd75c,_0x2d7b0c,_0x388368,_0x140811,_0x3bb1f3,_0x276e68,_0x25670e){var _0x4a527d=_0xe51f24;super(_0x4e4737,_0x252a6a,_0x5843d0,[],_0x3e4ca4,_0x388368,_0x276e68,_0x2d7b0c,_0x25670e),N(this,_0x4a527d(0x27a),_0x4a527d(0x1eb)),N(this,_0x4a527d(0x271),0x0),N(this,'_resendTimer'),N(this,_0x4a527d(0x199)),(this[_0x4a527d(0x289)]=_0x5dd75c,this['_logService']=_0x140811,this[_0x4a527d(0x327)]=_0x3bb1f3);}['appendMutation'](_0x114274){var _0x3c33cc=_0xe51f24;this[_0x3c33cc(0x3e3)]();const _0x363b5d=this[_0x3c33cc(0x289)]['createInstance'](ae,this[_0x3c33cc(0x2f5)],this[_0x3c33cc(0x2a0)],this[_0x3c33cc(0x36e)],[_0x114274],this[_0x3c33cc(0x373)],this[_0x3c33cc(0x176)]);return _0x363b5d[_0x3c33cc(0x2ee)](),_0x363b5d;}[_0xe51f24(0x369)](_0x39b2b3){var _0x399321=_0xe51f24;if(this[_0x399321(0x2b3)](_0x39b2b3))return this['_clearScheduledTask'](),this[_0x399321(0x289)][_0x399321(0x1a5)](Q,this[_0x399321(0x2f5)],this['type'],this[_0x399321(0x36e)],[],null,[_0x39b2b3],this[_0x399321(0x373)]);try{const _0x1100f5=this[_0x399321(0x327)][_0x399321(0x2bc)]([_0x39b2b3],[this[_0x399321(0x36e)]],!0x1);if(_0x4b0873(_0x1100f5)){const {c1Prime:_0xd6b0b6,c2Prime:_0x58d881}=_0x1100f5;this[_0x399321(0x3a2)](_0xd6b0b6[0x0]),_0x58d881[0x0]['baseRev']=this[_0x399321(0x354)](),this[_0x399321(0x3e3)]();const _0x57edc2=this['_injector'][_0x399321(0x1a5)](_e,this[_0x399321(0x2f5)],this[_0x399321(0x2a0)],_0x58d881[0x0],this[_0x399321(0x373)]);return _0x57edc2[_0x399321(0x2ee)](),_0x57edc2;}return this[_0x399321(0x368)](!0x1);}catch(_0x29eed4){return this['_logService'][_0x399321(0x35d)](_0x29eed4),this['_onConflict'](!0x1);}}[_0xe51f24(0x1ff)](_0x1842b4){var _0x418ab7=_0xe51f24;this[_0x418ab7(0x3e3)]();const _0x191ed9=this[_0x418ab7(0x1a6)][_0x418ab7(0x31d)](this[_0x418ab7(0x2f5)]);if(_0x1842b4[_0x418ab7(0x179)]<_0x191ed9-0x1)return this;if(this[_0x418ab7(0x2b3)](_0x1842b4))return this[_0x418ab7(0x289)]['createInstance'](Q,this[_0x418ab7(0x2f5)],this[_0x418ab7(0x2a0)],null,[],this[_0x418ab7(0x36e)],[],this[_0x418ab7(0x373)]);this[_0x418ab7(0x3d2)]();const _0x5b0ff3=this[_0x418ab7(0x289)]['createInstance'](ye,this[_0x418ab7(0x2f5)],this[_0x418ab7(0x2a0)],this['_handler']);return _0x5b0ff3['_updateLocalCache'](),_0x5b0ff3;}['onRemoteRej'](_0x5df342){var _0x4bac51=_0xe51f24;return this[_0x4bac51(0x368)](!!(_0x5df342!=null&&_0x5df342[_0x4bac51(0x306)]));}['onRemoteRetry'](_0x4b1f5d){var _0x1c9532=_0xe51f24;return this[_0x1c9532(0x271)]>Ii?this[_0x1c9532(0x33b)]():(this[_0x1c9532(0x176)]=Si(this['_resendTimeout'],{'timeout':this[_0x1c9532(0x271)],'reqId':_0x4b1f5d[_0x1c9532(0x2fa)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x41c452,timeout:_0x54af5e})=>{this['_resendWithTimeout'](_0x41c452,_0x54af5e);}),this);}['toggleOffline'](){var _0x2bae62=_0xe51f24;return this[_0x2bae62(0x3e3)](),this[_0x2bae62(0x289)]['createInstance'](ue,this[_0x2bae62(0x2f5)],this[_0x2bae62(0x2a0)],this['_awaitingChangeset'],[],this[_0x2bae62(0x373)]);}['toggleOnline'](){return this;}[_0xe51f24(0x2f1)](){var _0x2f4f2e=_0xe51f24;this[_0x2f4f2e(0x373)]['onSendChangeset'](this[_0x2f4f2e(0x36e)]);}[_0xe51f24(0x368)](_0x5c46ed){var _0x599cc8=_0xe51f24;return this[_0x599cc8(0x3e3)](),this['_injector'][_0x599cc8(0x1a5)](le,this[_0x599cc8(0x2f5)],this[_0x599cc8(0x2a0)],this[_0x599cc8(0x36e)],[],this[_0x599cc8(0x373)],_0x5c46ed);}[_0xe51f24(0x329)](_0x19754d,_0x1d6a01){var _0x42f2cb=_0xe51f24,_0x4fb708;_0x19754d===((_0x4fb708=this[_0x42f2cb(0x36e)])==null?void 0x0:_0x4fb708[_0x42f2cb(0x2fa)])&&(this[_0x42f2cb(0x2f1)](),this[_0x42f2cb(0x271)]=_0x1d6a01===0x0?0x3e8:_0x1d6a01*0x2);}[_0xe51f24(0x3e3)](){var _0x474216=_0xe51f24,_0x2eef0e;(_0x2eef0e=this['_sender'])==null||_0x2eef0e['unsubscribe'](),this[_0x474216(0x271)]=0x0;}};_e=Ee([P(0x4,_0x22b342(_0xf56e29)),P(0x5,_0x22b342(_0x543d62)),P(0x6,_0x399e10),P(0x7,_0x361d6f),P(0x8,_0x122cfe),P(0x9,_0x526774),P(0xa,_0x3dfa42(J))],_e);let ae=class extends Ie{constructor(_0x53d039,_0xdd1e8a,_0x39cd15,_0xbda5e4,_0x50e893,_0x2b725c,_0x4c87f4,_0x2e2afc,_0x3c65c9,_0x3d5141,_0x14aed5,_0x19e405,_0x415edc){var _0x5dde75=_0xe51f24;super(_0x53d039,_0xdd1e8a,_0x39cd15,_0xbda5e4,_0x50e893,_0x3c65c9,_0x19e405,_0x2e2afc,_0x415edc),N(this,_0x5dde75(0x27a),_0x5dde75(0x2a1)),N(this,_0x5dde75(0x271),0x0),N(this,_0x5dde75(0x176)),N(this,_0x5dde75(0x199)),(this[_0x5dde75(0x289)]=_0x4c87f4,this[_0x5dde75(0x420)]=_0x3d5141,this[_0x5dde75(0x327)]=_0x14aed5,this[_0x5dde75(0x2e3)]=_0x415edc,_0x2b725c&&(this[_0x5dde75(0x176)]=_0x2b725c,this[_0x5dde75(0x199)]=this[_0x5dde75(0x176)]['subscribe'](({reqId:_0x10aa3c,timeout:_0x1979bc})=>{var _0x1f2958=_0x5dde75;this[_0x1f2958(0x329)](_0x10aa3c,_0x1979bc);})));}[_0xe51f24(0x28d)](_0x498fa8){var _0x46acd5=_0xe51f24;return this['_pendingMutations'][_0x46acd5(0x27f)](_0x498fa8),this;}[_0xe51f24(0x369)](_0x1cb0ba){var _0x260427=_0xe51f24;if(this[_0x260427(0x2b3)](_0x1cb0ba))return this['_clearScheduledTask'](),this[_0x260427(0x289)]['createInstance'](Q,this['unitID'],this[_0x260427(0x2a0)],this[_0x260427(0x36e)],this[_0x260427(0x3c3)],null,[_0x1cb0ba],this[_0x260427(0x373)]);try{const _0x53c31a=this[_0x260427(0x327)][_0x260427(0x2bc)]([_0x1cb0ba],[this[_0x260427(0x36e)]],!0x1);if(_0x4b0873(_0x53c31a)){const {c1Prime:_0x26fc5c,c2Prime:_0x356102}=_0x53c31a,_0x35aa5a=this[_0x260427(0x327)]['transformMutationsWithChangeset'](_0x26fc5c[0x0],this[_0x260427(0x3c3)]);if(_0x126ba7(_0x35aa5a)){const {c1Prime:_0xbe663,m2Prime:_0x3d5d59}=_0x35aa5a;return this[_0x260427(0x3a2)](_0xbe663),_0x356102[0x0][_0x260427(0x31f)]=this['_getCurrentRevision'](),this[_0x260427(0x3e3)](),this[_0x260427(0x289)][_0x260427(0x1a5)](ae,this[_0x260427(0x2f5)],this[_0x260427(0x2a0)],_0x356102[0x0],_0x3d5d59,this[_0x260427(0x373)],void 0x0);}throw _0x35aa5a[_0x260427(0x35d)];}throw _0x53c31a[_0x260427(0x35d)];}catch(_0x261fdf){return this['_logService']['error'](_0x261fdf),this['_onConflict'](!0x1);}}[_0xe51f24(0x1ff)](_0x18fe72){var _0x2444dc=_0xe51f24;if(this[_0x2444dc(0x3e3)](),this['_checkMissing'](_0x18fe72))return this[_0x2444dc(0x289)][_0x2444dc(0x1a5)](Q,this[_0x2444dc(0x2f5)],this[_0x2444dc(0x2a0)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this[_0x2444dc(0x3d2)]();const _0x550c97=this[_0x2444dc(0x289)]['createInstance'](re,this[_0x2444dc(0x2f5)],this[_0x2444dc(0x2a0)],this[_0x2444dc(0x3c3)],this['_handler']);return _0x550c97['_schedule'](),_0x550c97[_0x2444dc(0x2ee)](),_0x550c97;}[_0xe51f24(0x1b1)](_0x2cb243){var _0x480388=_0xe51f24;return this[_0x480388(0x368)](!!(_0x2cb243!=null&&_0x2cb243[_0x480388(0x306)]));}['onRemoteRetry'](_0x5f010a){var _0x1a8023=_0xe51f24;return this['_resendTimeout']>Ii?this['toggleOffline']():(this[_0x1a8023(0x176)]=Si(this[_0x1a8023(0x271)],{'timeout':this[_0x1a8023(0x271)],'reqId':_0x5f010a['reqId']}),this[_0x1a8023(0x199)]=this['_resendTimer'][_0x1a8023(0x2aa)](({reqId:_0xad5a42,timeout:_0x324a82})=>{var _0x279acc=_0x1a8023;this[_0x279acc(0x329)](_0xad5a42,_0x324a82);}),this);}[_0xe51f24(0x33b)](){var _0x579196=_0xe51f24;return this[_0x579196(0x3e3)](),this['_injector'][_0x579196(0x1a5)](ue,this[_0x579196(0x2f5)],this['type'],this[_0x579196(0x36e)],this[_0x579196(0x3c3)],this[_0x579196(0x373)]);}[_0xe51f24(0x42c)](){return this;}[_0xe51f24(0x2f1)](){var _0x1354cd=_0xe51f24;this[_0x1354cd(0x373)]['onSendChangeset'](this[_0x1354cd(0x36e)]);}['_onConflict'](_0x5233f3){var _0x518713=_0xe51f24;return this[_0x518713(0x3e3)](),this[_0x518713(0x289)]['createInstance'](le,this[_0x518713(0x2f5)],this[_0x518713(0x2a0)],null,this['_pendingMutations'],this[_0x518713(0x373)],_0x5233f3);}['_resendWithTimeout'](_0xcf8ec7,_0x467b6f){var _0x39f94b=_0xe51f24,_0x4877d6;_0xcf8ec7===((_0x4877d6=this[_0x39f94b(0x36e)])==null?void 0x0:_0x4877d6['reqId'])&&(this[_0x39f94b(0x2f1)](),this[_0x39f94b(0x271)]=_0x467b6f===0x0?0x3e8:_0x467b6f*0x2);}[_0xe51f24(0x3e3)](){var _0x4a87cd=_0xe51f24,_0x35cfcc;(_0x35cfcc=this[_0x4a87cd(0x199)])==null||_0x35cfcc[_0x4a87cd(0x2d0)](),this[_0x4a87cd(0x271)]=0x0;}};ae=Ee([P(0x6,_0x22b342(_0xf56e29)),P(0x7,_0x22b342(_0x543d62)),P(0x8,_0x399e10),P(0x9,_0x361d6f),P(0xa,_0x122cfe),P(0xb,_0x526774),P(0xc,_0x3dfa42(J))],ae);let le=class extends Ie{constructor(_0x4a3308,_0x5ef271,_0x406072,_0x5d1e4e,_0x539c87,_0x182eb8=!0x1,_0x4b43d6,_0x1dd060,_0x1b7b17,_0xfc841e,_0x3b5913,_0x33f01f,_0x296d77){var _0x33f918=_0xe51f24;super(_0x4a3308,_0x5ef271,_0x406072,_0x5d1e4e,_0x539c87,_0x1dd060,_0x1b7b17,_0xfc841e,_0x296d77),N(this,_0x33f918(0x27a),_0x33f918(0x173)),(this['_isPermissionRej']=_0x182eb8,this[_0x33f918(0x18a)]=_0x4b43d6,this[_0x33f918(0x301)]=_0x3b5913,this['_collaborationUIEventService']=_0x33f01f,this[_0x33f918(0x2e3)]=_0x296d77,this[_0x33f918(0x1b0)](),this[_0x33f918(0x1a4)](),this['_disableEditing']());}[_0xe51f24(0x28d)](){return this;}[_0xe51f24(0x369)](){return this;}[_0xe51f24(0x1ff)](){return this;}['onRemoteRej'](){return this;}[_0xe51f24(0x1bf)](){return this;}[_0xe51f24(0x33b)](){return this;}[_0xe51f24(0x42c)](){return this;}[_0xe51f24(0x2f1)](){var _0x547ed9=_0xe51f24;throw new Error(_0x547ed9(0x1b2));}[_0xe51f24(0x1a4)](){var _0xc000a8=_0xe51f24,_0x58927b;(_0x58927b=this[_0xc000a8(0x291)])==null||_0x58927b[_0xc000a8(0x1a0)](this[_0xc000a8(0x2f5)],this[_0xc000a8(0x2a0)],null,[]);}[_0xe51f24(0x1b0)](){var _0x15b898=_0xe51f24;this['_isPermissionRej']?this[_0x15b898(0x30a)][_0x15b898(0x261)]({'id':ne[_0x15b898(0x177)]}):this[_0x15b898(0x30a)]['emitEvent']({'id':ne['CONFLICT']});}[_0xe51f24(0x428)](){var _0x4e2e36=_0xe51f24;this['_permissionService']['updatePermissionPoint'](new _0x579aa1(this[_0x4e2e36(0x2f5)])['id'],!0x1);}};le=Ee([P(0x6,_0x22b342(_0x59ac06)),P(0x7,_0x399e10),P(0x8,_0x526774),P(0x9,_0x22b342(_0x543d62)),P(0xa,_0x22b342(_0x262680)),P(0xb,_0x22b342(ve)),P(0xc,_0x3dfa42(J))],le);let ue=class extends Ie{constructor(_0x3066be,_0x2323b6,_0xd445f4,_0x2206d0,_0x44db2f,_0x90f046,_0x565f87,_0x651b0b,_0x267f05,_0x164d45){var _0x94f8e2=_0xe51f24;super(_0x3066be,_0x2323b6,_0xd445f4,_0x2206d0,_0x44db2f,_0x651b0b,_0x267f05,_0x565f87,_0x164d45),N(this,_0x94f8e2(0x27a),'offline'),this[_0x94f8e2(0x289)]=_0x90f046;}[_0xe51f24(0x28d)](_0x12825f){var _0x3eb210=_0xe51f24;return this['_pendingMutations'][_0x3eb210(0x27f)](_0x12825f),this[_0x3eb210(0x2ee)](),this;}['onRemoteChangeset'](_0x3aca44){var _0x19a221=_0xe51f24;throw new Error(_0x19a221(0x21b));}[_0xe51f24(0x1ff)](){var _0x3976ab=_0xe51f24;throw new Error(_0x3976ab(0x18b));}['onRemoteRej'](){var _0x4fcf30=_0xe51f24;throw new Error(_0x4fcf30(0x32e));}[_0xe51f24(0x1bf)](){return this;}[_0xe51f24(0x33b)](){return this;}[_0xe51f24(0x42c)](){var _0x2e0c2d=_0xe51f24;const {_injector:_0x7beaf4,_pendingMutations:_0x4cf337,_awaitingChangeset:_0x166d15,unitID:_0x394680,_handler:_0x3f2d83,type:_0x54b58d}=this,_0x5d886c=Ti(_0x7beaf4,_0x394680,_0x54b58d,_0x166d15,_0x4cf337,_0x3f2d83);return _0x5d886c instanceof re?_0x5d886c['_schedule']():(_0x5d886c instanceof ae||_0x5d886c instanceof _e)&&_0x5d886c[_0x2e0c2d(0x2f1)](),_0x5d886c;}[_0xe51f24(0x2f1)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ee([P(0x5,_0x22b342(_0xf56e29)),P(0x6,_0x22b342(_0x543d62)),P(0x7,_0x399e10),P(0x8,_0x526774),P(0x9,_0x3dfa42(J))],ue);let Q=class extends Ie{constructor(_0x5887b5,_0x223549,_0x1e3a8e,_0x36b75f,_0x23ecaf,_0xf3f00b,_0x3d074a,_0x10125a,_0x20aae4,_0x2efa6b,_0x14bb85,_0x4588df,_0x5b0506,_0xdae2b1){var _0x3aa41d=_0xe51f24;super(_0x5887b5,_0x223549,_0x1e3a8e,_0x36b75f,_0x3d074a,_0x14bb85,_0x4588df,_0x20aae4,_0xdae2b1),N(this,'status','fetch_missing'),(this[_0x3aa41d(0x3cf)]=_0x23ecaf,this[_0x3aa41d(0x1b6)]=_0xf3f00b,this[_0x3aa41d(0x289)]=_0x10125a,this[_0x3aa41d(0x420)]=_0x2efa6b,this[_0x3aa41d(0x327)]=_0x5b0506,this[_0x3aa41d(0x2e3)]=_0xdae2b1);}[_0xe51f24(0x2e6)](_0x1258fd){var _0x1a51d0=_0xe51f24;try{const _0x2c20cb=[..._0x1258fd,...this['_queuedRemoteChangesets']],_0x2685a3=[this[_0x1a51d0(0x36e)]||this[_0x1a51d0(0x3cf)]]['filter'](_0x24a8be=>!!_0x24a8be);let _0x136fd2,_0x129c9f;if(_0x2685a3['length']){const _0x3db83d=this['_transformService'][_0x1a51d0(0x2bc)](_0x2c20cb,_0x2685a3,!0x1);if(!_0x4b0873(_0x3db83d))throw _0x3db83d[_0x1a51d0(0x35d)];_0x136fd2=_0x3db83d[_0x1a51d0(0x248)],_0x129c9f=_0x3db83d[_0x1a51d0(0x44c)];}else _0x136fd2=_0x2c20cb,_0x129c9f=[];let _0x105919=this[_0x1a51d0(0x3c3)];_0x136fd2['forEach'](_0xd28e9e=>{var _0x3ebc7e=_0x1a51d0;let _0xe98a46;if(_0x105919[_0x3ebc7e(0x192)]){const _0x2d63bf=this[_0x3ebc7e(0x327)][_0x3ebc7e(0x3e0)](_0xd28e9e,_0x105919);if(!_0x126ba7(_0x2d63bf))throw _0x2d63bf[_0x3ebc7e(0x35d)];_0xe98a46=_0x2d63bf[_0x3ebc7e(0x248)],_0x105919=_0x2d63bf['m2Prime'];}else _0xe98a46=_0xd28e9e;this[_0x3ebc7e(0x3a2)](_0xe98a46);}),this[_0x1a51d0(0x3cf)]&&this[_0x1a51d0(0x3d2)](),this[_0x1a51d0(0x36e)]&&_0x129c9f[_0x1a51d0(0x192)]&&(_0x129c9f[0x0][_0x1a51d0(0x31f)]=this[_0x1a51d0(0x354)]());let _0x483674;if(this[_0x1a51d0(0x36e)]&&_0x105919['length']!==0x0)_0x483674=this[_0x1a51d0(0x289)]['createInstance'](ae,this[_0x1a51d0(0x2f5)],this[_0x1a51d0(0x2a0)],_0x129c9f[0x0],_0x105919,this[_0x1a51d0(0x373)],void 0x0);else{if(this[_0x1a51d0(0x36e)]&&_0x105919[_0x1a51d0(0x192)]===0x0)_0x129c9f[0x0][_0x1a51d0(0x31f)]=this[_0x1a51d0(0x354)](),_0x483674=this[_0x1a51d0(0x289)][_0x1a51d0(0x1a5)](_e,this[_0x1a51d0(0x2f5)],this[_0x1a51d0(0x2a0)],_0x129c9f[0x0],this[_0x1a51d0(0x373)]);else{if(_0x105919['length']!==0x0){const _0x221cad=this[_0x1a51d0(0x289)][_0x1a51d0(0x1a5)](re,this['unitID'],this[_0x1a51d0(0x2a0)],_0x105919,this['_handler']);_0x221cad['_schedule'](),_0x483674=_0x221cad;}else _0x483674=this[_0x1a51d0(0x289)]['createInstance'](ye,this[_0x1a51d0(0x2f5)],this['type'],this[_0x1a51d0(0x373)]);}}return _0x483674['_updateLocalCache'](),_0x483674;}catch(_0x42fcac){return this['_logService']['error'](_0x1a51d0(0x21c),'failed\x20to\x20apply\x20missed\x20changesets!',_0x42fcac),this['_injector'][_0x1a51d0(0x1a5)](le,this['unitID'],this[_0x1a51d0(0x2a0)],this[_0x1a51d0(0x36e)],this['_pendingMutations'],this[_0x1a51d0(0x373)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x10b6f9){var _0x560d20=_0xe51f24;return this[_0x560d20(0x3c3)][_0x560d20(0x27f)](_0x10b6f9),this;}[_0xe51f24(0x369)](_0x1a839f){var _0x49ff67=_0xe51f24;return this[_0x49ff67(0x1b6)][_0x49ff67(0x27f)](_0x1a839f),this;}[_0xe51f24(0x1ff)](_0x5133e3){var _0x186066=_0xe51f24;if(this['_awaitingChangeset'])return this[_0x186066(0x3cf)]=this[_0x186066(0x36e)],this[_0x186066(0x36e)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0xc65083){var _0x4229b5=_0xe51f24;return this['_onConflict'](!!(_0xc65083!=null&&_0xc65083[_0x4229b5(0x306)]));}[_0xe51f24(0x1bf)](){return this;}[_0xe51f24(0x33b)](){var _0x58c2dc=_0xe51f24;return this[_0x58c2dc(0x289)][_0x58c2dc(0x1a5)](ue,this[_0x58c2dc(0x2f5)],this[_0x58c2dc(0x2a0)],this[_0x58c2dc(0x36e)],this['_pendingMutations'],this[_0x58c2dc(0x373)]);}['toggleOnline'](){return this;}[_0xe51f24(0x368)](_0x4f0154){var _0x1cb5be=_0xe51f24;return this['_injector'][_0x1cb5be(0x1a5)](le,this[_0x1cb5be(0x2f5)],this[_0x1cb5be(0x2a0)],this[_0x1cb5be(0x36e)],this[_0x1cb5be(0x3c3)],this['_handler'],_0x4f0154);}};Q=Ee([P(0x7,_0x22b342(_0xf56e29)),P(0x8,_0x22b342(_0x543d62)),P(0x9,_0x361d6f),P(0xa,_0x399e10),P(0xb,_0x526774),P(0xc,_0x122cfe),P(0xd,_0x3dfa42(J))],Q);function Ti(_0x4b34dd,_0x44cd5e,_0x5ec546,_0x383c78,_0x4c7670,_0x3c6061){var _0x4cd846=_0xe51f24;return _0x383c78&&_0x4c7670[_0x4cd846(0x192)]?_0x4b34dd[_0x4cd846(0x1a5)](ae,_0x44cd5e,_0x5ec546,_0x383c78,_0x4c7670,_0x3c6061,void 0x0):_0x383c78?_0x4b34dd[_0x4cd846(0x1a5)](_e,_0x44cd5e,_0x5ec546,_0x383c78,_0x3c6061):_0x4c7670['length']?_0x4b34dd['createInstance'](re,_0x44cd5e,_0x5ec546,_0x4c7670,_0x3c6061):_0x4b34dd[_0x4cd846(0x1a5)](ye,_0x44cd5e,_0x5ec546,_0x3c6061);}var Bs=Object[_0xe51f24(0x434)],wt=(_0x40686a,_0x20e0c7,_0x50c673,_0x390cd4)=>{var _0x3c4c19=_0xe51f24;for(var _0x472613=_0x390cd4>0x1?void 0x0:_0x390cd4?Bs(_0x20e0c7,_0x50c673):_0x20e0c7,_0x45fd05=_0x40686a[_0x3c4c19(0x192)]-0x1,_0x2521ba;_0x45fd05>=0x0;_0x45fd05--)(_0x2521ba=_0x40686a[_0x45fd05])&&(_0x472613=_0x2521ba(_0x472613)||_0x472613);return _0x472613;},H=(_0x1f06b1,_0x151024)=>(_0x5de330,_0x2bf731)=>_0x151024(_0x5de330,_0x2bf731,_0x1f06b1);let st=class extends _0x12bf24{constructor(_0x54dca3,_0x3a691e,_0xc0bc26,_0xa7ebbd,_0x491bbf,_0x516994,_0x30f1c7,_0x3c62b,_0x1f5990,_0x335060,_0x4b0ca4,_0x5342ee,_0x4217e1){var _0x18be9a=_0xe51f24;super(),N(this,_0x18be9a(0x1ea),new _0x393d97(null)),N(this,_0x18be9a(0x1d7),this[_0x18be9a(0x1ea)][_0x18be9a(0x43c)]()),N(this,_0x18be9a(0x153)),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x18be9a(0x208),0x0),N(this,_0x18be9a(0x251),this[_0x18be9a(0x1d7)][_0x18be9a(0x21f)](_0x3a9c1e(_0x3b9fc4=>_0x3b9fc4?_0x3b9fc4[_0x18be9a(0x27a)]:Ei[_0x18be9a(0x25f)]),_0x1f617d(0x1))),N(this,_0x18be9a(0x3ee),!0x1),N(this,_0x18be9a(0x220),[]),(this[_0x18be9a(0x2f5)]=_0x54dca3,this['session']=_0x3a691e,this[_0x18be9a(0x30d)]=_0xc0bc26,this[_0x18be9a(0x289)]=_0xa7ebbd,this['_compressMutationService']=_0x491bbf,this[_0x18be9a(0x301)]=_0x516994,this[_0x18be9a(0x1a6)]=_0x30f1c7,this['_eventService']=_0x3c62b,this[_0x18be9a(0x420)]=_0x1f5990,this['_commandService']=_0x335060,this[_0x18be9a(0x18a)]=_0x4b0ca4,this['_singleActiveUnitService']=_0x5342ee,this[_0x18be9a(0x291)]=_0x4217e1);}get[_0xe51f24(0x3b6)](){var _0x293634=_0xe51f24;return this[_0x293634(0x153)];}async[_0xe51f24(0x24e)](){var _0x3fb010=_0xe51f24;if(this[_0x3fb010(0x3b6)])throw new Error(_0x3fb010(0x236));await this[_0x3fb010(0x266)]();}[_0xe51f24(0x44a)](){var _0x4f6b20=_0xe51f24;return this[_0x4f6b20(0x227)]=!0x0,_0x4cf9a4(()=>{var _0x1a4439=_0x4f6b20;this[_0x1a4439(0x227)]=!0x1,this[_0x1a4439(0x316)]();});}['onLocalMutation'](_0x2c3b76){var _0x296488=_0xe51f24;this[_0x296488(0x33e)](_0x2c3b76);}[_0xe51f24(0x422)](_0x19f6dd){var _0xcc549d=_0xe51f24;this['_state']=_0x19f6dd,this[_0xcc549d(0x1ea)][_0xcc549d(0x3f6)](_0x19f6dd);}async[_0xe51f24(0x266)](){var _0x1124a0=_0xe51f24,_0x312a5c;this[_0x1124a0(0x422)](await this[_0x1124a0(0x299)]()),this[_0x1124a0(0x168)]&&((_0x312a5c=this[_0x1124a0(0x168)])==null||_0x312a5c[_0x1124a0(0x1b4)](this['unitID']),this[_0x1124a0(0x19c)](this[_0x1124a0(0x168)][_0x1124a0(0x165)](this[_0x1124a0(0x2f5)])[_0x1124a0(0x2aa)](_0x170c8a=>{var _0x340d70=_0x1124a0;this[_0x340d70(0x420)]['debug'](_0x340d70(0x3e2),_0x340d70(0x26f),_0x170c8a),_0x170c8a===gi['OTHER_CLIENTS_EDITING']?(this[_0x340d70(0x399)]['emitEvent']({'id':ne[_0x340d70(0x44b)]}),this[_0x340d70(0x18a)][_0x340d70(0x3ec)](new _0x579aa1(this[_0x340d70(0x2f5)])['id'],!0x1),this[_0x340d70(0x18a)][_0x340d70(0x216)](!0x1)):(this[_0x340d70(0x18a)][_0x340d70(0x3ec)](new _0x579aa1(this[_0x340d70(0x2f5)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x562d37=!0x1;return this['disposeWithMe'](this[_0x1124a0(0x17a)][_0x1124a0(0x17c)]['subscribe'](_0x28354e=>{var _0x1adab0=_0x1124a0;_0x28354e===ge[_0x1adab0(0x17d)]?this[_0x1adab0(0x3f4)](_0x562d37):_0x28354e===ge['OFFLINE']&&(_0x562d37=!0x0,this[_0x1adab0(0x32a)]());})),this['disposeWithMe'](this[_0x1124a0(0x17a)][_0x1124a0(0x351)][_0x1124a0(0x2aa)](_0x142e41=>{var _0x2086ce=_0x1124a0;try{switch(_0x142e41[_0x2086ce(0x161)]){case _0x27b370[_0x2086ce(0x3c1)]:{this[_0x2086ce(0x174)](_0x45c8d2(_0x142e41['data']));break;}case _0x27b370[_0x2086ce(0x292)]:{this[_0x2086ce(0x198)](_0x142e41[_0x2086ce(0x3c2)]);break;}case _0x27b370['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x27b370[_0x2086ce(0x415)]:{this['_onRemoteRetry'](_0x142e41['data']);break;}case _0x27b370[_0x2086ce(0x34d)]:{this[_0x2086ce(0x18d)](_0x142e41[_0x2086ce(0x3c2)][_0x2086ce(0x28f)]['map'](_0x16d04b=>_0x45c8d2(_0x16d04b)));break;}case _0x27b370[_0x2086ce(0x342)]:{this[_0x2086ce(0x2d4)]({'isPermissionRej':!0x0});break;}case _0x27b370[_0x2086ce(0x15e)]:break;}}catch(_0x65cc49){throw console[_0x2086ce(0x35d)](_0x2086ce(0x3c5),_0x65cc49),_0x65cc49;}})),this[_0x1124a0(0x153)];}[_0xe51f24(0x1dc)](){var _0xcf9a3c=_0xe51f24;this[_0xcf9a3c(0x3ee)]=!0x1;}[_0xe51f24(0x1e7)](){var _0xc7313e=_0xe51f24;if(this[_0xc7313e(0x3ee)])throw new Error(_0xc7313e(0x3e4));this['_transitionLocked']=!0x0;}[_0xe51f24(0x33e)](_0x3d773d){var _0x54c05c=_0xe51f24;this['_lockTransition'](),this['_updateState'](this[_0x54c05c(0x153)]['appendMutation'](_0x3d773d)),this[_0x54c05c(0x1dc)]();}[_0xe51f24(0x174)](_0x3e4b4d){var _0x14057f=_0xe51f24;if(!(_0x3e4b4d[_0x14057f(0x179)]<=this[_0x14057f(0x1a6)][_0x14057f(0x31d)](this['unitID']))){if(this['_collaborationPaused']){this[_0x14057f(0x220)][_0x14057f(0x27f)](_0x3e4b4d);return;}this[_0x14057f(0x155)](_0x3e4b4d);}}[_0xe51f24(0x316)](){var _0x1af095=_0xe51f24;this['_remoteChangesetQueue']['forEach'](_0x32afb2=>this['_applyRemoteChangeset'](_0x32afb2)),this[_0x1af095(0x220)]=[];}['_applyRemoteChangeset'](_0x42080c){var _0x5f2f17=_0xe51f24;const _0x3603d5=this[_0x5f2f17(0x379)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x5f2f17(0x17b)][_0x5f2f17(0x273)]()[_0x5f2f17(0x25e)])(_0x42080c[_0x5f2f17(0x158)],null)||_0x42080c[_0x5f2f17(0x158)],_0x2ede00={..._0x42080c,'mutations':_0x3603d5};this['_lockTransition'](),this[_0x5f2f17(0x422)](this[_0x5f2f17(0x153)]['onRemoteChangeset'](_0x2ede00)),this[_0x5f2f17(0x1dc)]();}[_0xe51f24(0x198)](_0x4d5190){var _0x10c99a=_0xe51f24;this['_lockTransition'](),this[_0x10c99a(0x422)](this['_state'][_0x10c99a(0x1ff)](_0x4d5190)),this[_0x10c99a(0x1dc)]();}['_onRemoteRejected'](_0x5e723e){var _0x194f02=_0xe51f24;this['_lockTransition'](),this[_0x194f02(0x422)](this[_0x194f02(0x153)]['onRemoteRej'](_0x5e723e)),this[_0x194f02(0x1dc)]();}[_0xe51f24(0x1a9)](_0x319dfe){var _0x56b591=_0xe51f24;this['_lockTransition'](),this[_0x56b591(0x422)](this[_0x56b591(0x153)][_0x56b591(0x1bf)](_0x319dfe)),this[_0x56b591(0x1dc)]();}[_0xe51f24(0x18d)](_0x66456b){var _0x10f7d5=_0xe51f24;if(!(this[_0x10f7d5(0x153)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3cf5d4=_0x66456b['map'](_0x5131f3=>{var _0x3e4733=_0x10f7d5;const _0x2142c8=this[_0x3e4733(0x379)][_0x3e4733(0x17b)][_0x3e4733(0x375)](this[_0x3e4733(0x379)][_0x3e4733(0x17b)]['getInterceptPoints']()[_0x3e4733(0x25e)])(_0x5131f3[_0x3e4733(0x158)],null)||_0x5131f3['mutations'];return{..._0x5131f3,'mutations':_0x2142c8};});this[_0x10f7d5(0x1e7)](),this['_updateState'](this['_state'][_0x10f7d5(0x2e6)](_0x3cf5d4)),this['_unlockTransition']();}[_0xe51f24(0x32a)](){var _0x5a3f56=_0xe51f24;this[_0x5a3f56(0x1e7)](),this[_0x5a3f56(0x422)](this[_0x5a3f56(0x153)][_0x5a3f56(0x33b)]()),this[_0x5a3f56(0x1dc)]();}[_0xe51f24(0x3f4)](_0x518989=!0x1){var _0x46e58a=_0xe51f24;this[_0x46e58a(0x1e7)](),this[_0x46e58a(0x422)](this['_state'][_0x46e58a(0x42c)]()),this[_0x46e58a(0x1dc)]();const _0x423d05=this[_0x46e58a(0x153)];_0x518989&&_0x423d05 instanceof ye&&(this[_0x46e58a(0x1e7)](),this[_0x46e58a(0x422)](_0x423d05['fetchMiss']()),this[_0x46e58a(0x1dc)]());}async[_0xe51f24(0x299)](){return new Promise(_0x29bca8=>{var _0x1d28f5=_0x3c6c;this[_0x1d28f5(0x17a)][_0x1d28f5(0x17c)][_0x1d28f5(0x21f)](_0x46cc5c(0x1))[_0x1d28f5(0x2aa)](async _0x3b298b=>{var _0x3a42fd=_0x1d28f5;_0x29bca8(await this[_0x3a42fd(0x181)](_0x3b298b===ge[_0x3a42fd(0x17d)]));});});}['_createHandler'](){var _0x1e9184=_0xe51f24;const _0x387303=this[_0x1e9184(0x2f5)];return{'onStateChange':(_0x4b0095,_0x56de55)=>{var _0x5a48f4=_0x1e9184;if(_0x4b0095!==this['_state'])throw new Error(_0x5a48f4(0x1dd)+_0x4b0095[_0x5a48f4(0x27a)]+_0x5a48f4(0x32c)+_0x56de55[_0x5a48f4(0x27a)]+_0x5a48f4(0x2de)+this['_state'][_0x5a48f4(0x27a)]);this[_0x5a48f4(0x422)](_0x56de55);},'onSendChangeset':_0x24e0c1=>{var _0x15bb2c=_0x1e9184;_0x24e0c1[_0x15bb2c(0x2d2)]||(_0x24e0c1[_0x15bb2c(0x2d2)]=this[_0x15bb2c(0x3a1)],_0x24e0c1[_0x15bb2c(0x2fa)]=++this['_changesetReqId']);const _0xe5738a={'eventID':_0x27b370[_0x15bb2c(0x277)],'data':{'unitID':_0x24e0c1['unitID'],'unitType':this[_0x15bb2c(0x30d)],'changeset':_0x24e0c1,'memberID':this[_0x15bb2c(0x17a)][_0x15bb2c(0x285)]()}};this['session'][_0x15bb2c(0x3c6)](_0xe5738a,this['unitID']);},'onMissingChangesets':({from:_0x13f72e,to:_0x1f392c})=>{var _0x1eb0e5=_0x1e9184;this['_logService'][_0x1eb0e5(0x2ab)](_0x1eb0e5(0x3e2),_0x1eb0e5(0x2c3)+_0x13f72e+_0x1eb0e5(0x235)+_0x1f392c);const _0x380899={'eventID':_0x27b370[_0x1eb0e5(0x26c)],'data':{'unitID':_0x387303,'unitType':this[_0x1eb0e5(0x30d)],'from':_0x13f72e,'to':_0x1f392c}};this[_0x1eb0e5(0x17a)][_0x1eb0e5(0x3c6)](_0x380899,this[_0x1eb0e5(0x2f5)]);}};}async[_0xe51f24(0x181)](_0x56f9d5){var _0x678b11=_0xe51f24,_0x159a60,_0x218f9c,_0x144109;const _0x3fb3ea=await((_0x159a60=this['_localCacheService'])==null?void 0x0:_0x159a60[_0x678b11(0x304)](this[_0x678b11(0x2f5)])),_0x429f91=(_0x218f9c=_0x3fb3ea==null?void 0x0:_0x3fb3ea[_0x678b11(0x158)])!=null?_0x218f9c:[],_0x315d53=(_0x144109=_0x3fb3ea==null?void 0x0:_0x3fb3ea[_0x678b11(0x284)])!=null?_0x144109:null,_0x29bf92=!!(_0x315d53!=null&&_0x315d53[_0x678b11(0x2d2)])&&!!(_0x315d53!=null&&_0x315d53[_0x678b11(0x2fa)]);this[_0x678b11(0x3a1)]=_0x29bf92?_0x315d53[_0x678b11(0x2d2)]:_0x2ed795(),this['_changesetReqId']=_0x29bf92?_0x315d53['reqId']:0x0;const _0x3693d4=this['unitID'];try{this[_0x678b11(0x335)](_0x315d53,_0x429f91);}catch(_0x3b91f3){this['_logService'][_0x678b11(0x35d)](_0x3b91f3);}const _0x27f569=this[_0x678b11(0x1b3)]();if(_0x56f9d5){const _0x16746e=Ti(this[_0x678b11(0x289)],_0x3693d4,this[_0x678b11(0x30d)],_0x315d53,_0x429f91,_0x27f569);return _0x16746e instanceof re?_0x16746e[_0x678b11(0x38c)]():(_0x16746e instanceof ae||_0x16746e instanceof _e)&&_0x16746e['resend'](),_0x16746e;}return this[_0x678b11(0x289)][_0x678b11(0x1a5)](ue,_0x3693d4,this[_0x678b11(0x30d)],_0x315d53,_0x429f91,_0x27f569);}[_0xe51f24(0x335)](_0x1a44b7,_0x46cca1){var _0x4fc2de=_0xe51f24,_0x95f612,_0x42d331;const _0x460c92=this[_0x4fc2de(0x379)][_0x4fc2de(0x17b)][_0x4fc2de(0x375)](this[_0x4fc2de(0x379)][_0x4fc2de(0x17b)][_0x4fc2de(0x273)]()['COMPRESS_MUTATION_APPLY']);(_0x95f612=_0x460c92((_0x1a44b7==null?void 0x0:_0x1a44b7[_0x4fc2de(0x158)])||[],null))==null||_0x95f612['forEach'](_0x2befc0=>this[_0x4fc2de(0x1df)]['executeCommand'](_0x2befc0['id'],_0x2befc0['params'])),(_0x42d331=_0x460c92(_0x46cca1||[],null))==null||_0x42d331[_0x4fc2de(0x253)](_0x22b4ee=>this[_0x4fc2de(0x1df)][_0x4fc2de(0x3df)](_0x22b4ee['id'],_0x22b4ee[_0x4fc2de(0x429)]));}};st=wt([H(0x3,_0x22b342(_0xf56e29)),H(0x4,_0x22b342(_0x30bbd1)),H(0x5,_0x22b342(_0x262680)),H(0x6,_0x22b342(_0x543d62)),H(0x7,_0x22b342(ve)),H(0x8,_0x361d6f),H(0x9,_0x399e10),H(0xa,_0x59ac06),H(0xb,_0x3dfa42(ht)),H(0xc,_0x3dfa42(J))],st);let St=class extends st{constructor(_0x483d1d,_0x203a7f,_0x4c7b3e,_0x3dffb5,_0x529493,_0x41c41f,_0x462510,_0x5c82ef,_0x889386,_0xb2904a,_0x54acb7,_0x5abaad,_0x5b39f6){var _0x1ca4e1=_0xe51f24;super(_0x483d1d,_0x4c7b3e,_0x203a7f,_0x3dffb5,_0x529493,_0x41c41f,_0x462510,_0x5c82ef,_0x889386,_0xb2904a,_0x54acb7,_0x5abaad,_0x5b39f6),N(this,_0x1ca4e1(0x1fb),null),(this['unitID']=_0x483d1d,this[_0x1ca4e1(0x2a0)]=_0x203a7f);}['addHandlerCallback'](_0x50f74f){var _0x43f113=_0xe51f24;this[_0x43f113(0x1fb)]=_0x50f74f;}[_0xe51f24(0x35e)](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x47fabb=_0xe51f24;const _0x349a2f=super['_createHandler']();return _0x349a2f[_0x47fabb(0x2b8)]=_0x704651=>{var _0x24ddad=_0x47fabb,_0x18e217,_0x14df6c;return(_0x14df6c=(_0x18e217=this['_handlerCallback'])==null?void 0x0:_0x18e217[_0x24ddad(0x2b8)])==null?void 0x0:_0x14df6c[_0x24ddad(0x29a)](_0x18e217,_0x704651);},_0x349a2f[_0x47fabb(0x3d3)]=_0x5b394c=>{var _0x51c0ad=_0x47fabb,_0x24bf69,_0x750b59;return(_0x750b59=(_0x24bf69=this[_0x51c0ad(0x1fb)])==null?void 0x0:_0x24bf69[_0x51c0ad(0x3d3)])==null?void 0x0:_0x750b59['call'](_0x24bf69,_0x5b394c);},_0x349a2f[_0x47fabb(0x15f)]=_0x1cc244=>{var _0x2915dd=_0x47fabb,_0x4d8c69,_0x235c81;return(_0x235c81=(_0x4d8c69=this[_0x2915dd(0x1fb)])==null?void 0x0:_0x4d8c69[_0x2915dd(0x15f)])==null?void 0x0:_0x235c81[_0x2915dd(0x29a)](_0x4d8c69,_0x1cc244);},_0x349a2f[_0x47fabb(0x268)]=_0x5b2be8=>{var _0x350bdc=_0x47fabb,_0x12c9c3,_0x332bca;return(_0x332bca=(_0x12c9c3=this[_0x350bdc(0x1fb)])==null?void 0x0:_0x12c9c3[_0x350bdc(0x268)])==null?void 0x0:_0x332bca[_0x350bdc(0x29a)](_0x12c9c3,_0x5b2be8);},_0x349a2f['onTransformRemoteChangesetByIMECache']=_0x13a673=>{var _0x18978b=_0x47fabb,_0x36cd53,_0x4e3bc4,_0xe481d7;if(!((_0x36cd53=this['_handlerCallback'])!=null&&_0x36cd53[_0x18978b(0x15b)]))throw new Error(_0x18978b(0x395));return(_0xe481d7=(_0x4e3bc4=this[_0x18978b(0x1fb)])==null?void 0x0:_0x4e3bc4[_0x18978b(0x15b)])==null?void 0x0:_0xe481d7[_0x18978b(0x29a)](_0x4e3bc4,_0x13a673);},_0x349a2f[_0x47fabb(0x42f)]=_0x591d7f=>{var _0x29a5cf=_0x47fabb,_0x26b7a0,_0x32b5e3,_0x692dd7;if(!((_0x26b7a0=this[_0x29a5cf(0x1fb)])!=null&&_0x26b7a0[_0x29a5cf(0x42f)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x692dd7=(_0x32b5e3=this[_0x29a5cf(0x1fb)])==null?void 0x0:_0x32b5e3[_0x29a5cf(0x42f)])==null?void 0x0:_0x692dd7[_0x29a5cf(0x29a)](_0x32b5e3,_0x591d7f);},_0x349a2f;}async[_0xe51f24(0x266)](){var _0x2d26ae=_0xe51f24;const _0x34e7b9=await super[_0x2d26ae(0x266)]();return this[_0x2d26ae(0x19c)](this[_0x2d26ae(0x1df)]['onCommandExecuted']((_0x3e61b3,_0x52687e)=>{var _0x10384e=_0x2d26ae;if(_0x3e61b3[_0x10384e(0x2a0)]!==_0x2b89a5[_0x10384e(0x195)]||_0x52687e!=null&&_0x52687e['fromCollab']||_0x52687e!=null&&_0x52687e[_0x10384e(0x26d)]||_0x3e61b3['id']===_0x50563e['id'])return;const _0x22e863=_0x3e61b3[_0x10384e(0x429)];if((_0x22e863==null?void 0x0:_0x22e863[_0x10384e(0x324)])!==this[_0x10384e(0x2f5)])return;const _0x2250af=_0x3e61b3,_0x835fa3=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x10384e(0x379)][_0x10384e(0x17b)][_0x10384e(0x273)]()[_0x10384e(0x171)])([_0x2250af],null)||[_0x2250af];this[_0x10384e(0x33e)](_0x835fa3[0x0]);})),_0x34e7b9;}};St=wt([H(0x3,_0x22b342(_0xf56e29)),H(0x4,_0x22b342(_0x30bbd1)),H(0x5,_0x22b342(_0x262680)),H(0x6,_0x22b342(_0x543d62)),H(0x7,_0x22b342(ve)),H(0x8,_0x361d6f),H(0x9,_0x399e10),H(0xa,_0x59ac06),H(0xb,_0x3dfa42(ht)),H(0xc,_0x3dfa42(J))],St);let Et=class extends st{constructor(_0x2e84e3,_0x494145,_0x2397ad,_0x593017,_0x442eb8,_0x20e1ac,_0x4cb024,_0x2a40bf,_0x4da50b,_0x5402a3,_0x2a5749,_0x429724,_0x55887d,_0x1c7f84){var _0x4c9bb8=_0xe51f24;super(_0x2e84e3,_0x2397ad,_0x494145,_0x593017,_0x442eb8,_0x20e1ac,_0x4cb024,_0x4da50b,_0x5402a3,_0x2a5749,_0x429724,_0x55887d,_0x1c7f84),this[_0x4c9bb8(0x2f5)]=_0x2e84e3,this[_0x4c9bb8(0x2a0)]=_0x494145,this['_sheetTransformSelectionsService']=_0x2a40bf;}[_0xe51f24(0x1b3)](){var _0x21db26=_0xe51f24;const _0x4afedf=super[_0x21db26(0x1b3)]();return _0x4afedf[_0x21db26(0x15f)]=_0x24da80=>this['_sheetTransformSelectionsService'][_0x21db26(0x24d)](_0x24da80),_0x4afedf;}async[_0xe51f24(0x266)](){var _0x140cfd=_0xe51f24;const _0x2e9315=await super[_0x140cfd(0x266)]();return this[_0x140cfd(0x19c)](this[_0x140cfd(0x1df)][_0x140cfd(0x1e0)]((_0x5561ca,_0x366b38)=>{var _0x488e59=_0x140cfd;if(_0x5561ca[_0x488e59(0x2a0)]!==_0x2b89a5['MUTATION']||_0x366b38!=null&&_0x366b38[_0x488e59(0x3a5)]||_0x366b38!=null&&_0x366b38['onlyLocal'])return;const _0x2c23a8=_0x5561ca['params'];if((_0x2c23a8==null?void 0x0:_0x2c23a8[_0x488e59(0x324)])!==this[_0x488e59(0x2f5)])return;const _0x1dab97=_0x5561ca,_0x27c404=this[_0x488e59(0x379)]['interceptor'][_0x488e59(0x375)](this[_0x488e59(0x379)][_0x488e59(0x17b)][_0x488e59(0x273)]()['COMPRESS_MUTATION_SEND'])([_0x1dab97],null)||[_0x1dab97];this['_onLocalMutation'](_0x27c404[0x0]);})),_0x2e9315;}};Et=wt([H(0x3,_0x22b342(_0xf56e29)),H(0x4,_0x22b342(_0x30bbd1)),H(0x5,_0x22b342(_0x262680)),H(0x6,_0x22b342(_0x543d62)),H(0x7,_0x22b342(it)),H(0x8,_0x22b342(ve)),H(0x9,_0x361d6f),H(0xa,_0x399e10),H(0xb,_0x59ac06),H(0xc,_0x3dfa42(ht)),H(0xd,_0x3dfa42(J))],Et);const js=_0x2bb048(_0xe51f24(0x193));function Fs(_0x521c48){var _0x4790f8=_0xe51f24,_0x251e89,_0x3ca843,_0x5b7598,_0xc5a47c,_0x5ede76;const _0x5421b1=_0x521c48[_0x4790f8(0x3c2)],_0x48b5cf=JSON[_0x4790f8(0x3bc)](_0x5421b1);switch(_0x48b5cf[_0x4790f8(0x275)]){case F[_0x4790f8(0x37d)]:case F[_0x4790f8(0x3d6)]:{const _0x41c318=_0x48b5cf['infoRsp'];return{..._0x48b5cf,'data':_0x41c318,'cmd':_0x48b5cf[_0x4790f8(0x275)]};}case F[_0x4790f8(0x166)]:{const _0x214f39=_0x48b5cf[_0x4790f8(0x1fa)];return{..._0x48b5cf,'data':_0x214f39,'cmd':_0x48b5cf['cmd']};}case F[_0x4790f8(0x187)]:{const _0x501979=_0x48b5cf[_0x4790f8(0x1a3)];switch(_0x501979[_0x4790f8(0x161)]){case _0x27b370[_0x4790f8(0x342)]:return{..._0x48b5cf,'data':{..._0x501979,'data':(_0x251e89=_0x501979[_0x4790f8(0x246)])==null?void 0x0:_0x251e89['cs']},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x292)]:return{..._0x48b5cf,'data':{..._0x501979,'data':(_0x3ca843=_0x501979[_0x4790f8(0x3e5)])==null?void 0x0:_0x3ca843['cs']},'cmd':_0x48b5cf['cmd']};case _0x27b370[_0x4790f8(0x3c1)]:return{..._0x48b5cf,'data':{..._0x501979,'data':(_0x5b7598=_0x501979[_0x4790f8(0x20f)])==null?void 0x0:_0x5b7598['cs']},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x370)]:return{..._0x48b5cf,'data':{..._0x501979,'data':(_0xc5a47c=_0x501979[_0x4790f8(0x38d)])==null?void 0x0:_0xc5a47c['cs']},'cmd':_0x48b5cf['cmd']};case _0x27b370[_0x4790f8(0x415)]:return{..._0x48b5cf,'data':{..._0x501979,'data':(_0x5ede76=_0x501979[_0x4790f8(0x1e3)])==null?void 0x0:_0x5ede76['cs']},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x42e)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x2c1)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x2ce)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x1cd)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x3f7)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979['leaveEvent']},'cmd':_0x48b5cf['cmd']};case _0x27b370['LIVESHARE_NEW_HOST']:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979['liveShareNewHost']},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x40b)]:case _0x27b370[_0x4790f8(0x2af)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x240)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370['LIVESHARE_TERMINATE']:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x3ae)]},'cmd':_0x48b5cf['cmd']};case _0x27b370[_0x4790f8(0x413)]:return{..._0x48b5cf,'data':_0x501979,'cmd':_0x48b5cf['cmd']};case _0x27b370[_0x4790f8(0x3b0)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x340)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370['UPDATE_PERMISSION_OBJ']:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x408)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x350)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x254)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x15e)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x151)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};default:return _0x48b5cf;}}default:return _0x48b5cf;}}function Vs(_0x44ae78){var _0x51a8b5=_0xe51f24;switch(_0x44ae78[_0x51a8b5(0x275)]){case F[_0x51a8b5(0x37d)]:case F[_0x51a8b5(0x3d6)]:return JSON[_0x51a8b5(0x283)]({'cmd':_0x44ae78[_0x51a8b5(0x275)],'routeKey':_0x44ae78[_0x51a8b5(0x38a)]});case F[_0x51a8b5(0x349)]:{let _0x226104;switch(_0x44ae78[_0x51a8b5(0x3c2)][_0x51a8b5(0x161)]){case _0x27b370['UPDATE_CURSOR']:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x42e)],'updateCursorEvent':_0x44ae78[_0x51a8b5(0x3c2)][_0x51a8b5(0x3c2)]};break;}case _0x27b370[_0x51a8b5(0x3f7)]:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x3f7)],'leaveEvent':_0x44ae78['data'][_0x51a8b5(0x3c2)]};break;}case _0x27b370[_0x51a8b5(0x2ce)]:{_0x226104={'eventID':_0x27b370['USERS_ENTER'],'joinEvent':_0x44ae78['data'][_0x51a8b5(0x3c2)]};break;}case _0x27b370[_0x51a8b5(0x2b9)]:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x2b9)],'liveShareNewHost':_0x44ae78[_0x51a8b5(0x3c2)]['data']};break;}case _0x27b370[_0x51a8b5(0x2af)]:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x2af)],'liveShareOperation':_0x44ae78[_0x51a8b5(0x3c2)][_0x51a8b5(0x3c2)]};break;}case _0x27b370[_0x51a8b5(0x15c)]:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x15c)],'liveShareTerminate':_0x44ae78[_0x51a8b5(0x3c2)][_0x51a8b5(0x3c2)]};break;}case _0x27b370['LIVESHARE_REQUEST_HOST']:{_0x226104={'eventID':_0x27b370['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x44ae78['data']['data']};break;}case _0x27b370[_0x51a8b5(0x40b)]:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x40b)]};break;}default:_0x226104={'eventID':_0x44ae78[_0x51a8b5(0x3c2)][_0x51a8b5(0x161)]};}return JSON[_0x51a8b5(0x283)]({'cmd':_0x44ae78[_0x51a8b5(0x275)],'routeKey':_0x44ae78['routeKey'],'collaMsg':_0x226104});}case F['JOIN']:return JSON[_0x51a8b5(0x283)]({'cmd':_0x44ae78[_0x51a8b5(0x275)],'routeKey':_0x44ae78[_0x51a8b5(0x38a)],'joinReq':_0x44ae78['data']});case F[_0x51a8b5(0x23d)]:return JSON['stringify']({'cmd':_0x44ae78[_0x51a8b5(0x275)],'routeKey':_0x44ae78['routeKey'],'leaveReq':_0x44ae78[_0x51a8b5(0x3c2)]});default:throw new Error(_0x51a8b5(0x298));}}var Ws=Object['getOwnPropertyDescriptor'],Gs=(_0xba89f3,_0x1ea0e3,_0x372f28,_0x20c9a8)=>{var _0x3fd34e=_0xe51f24;for(var _0x56612c=_0x20c9a8>0x1?void 0x0:_0x20c9a8?Ws(_0x1ea0e3,_0x372f28):_0x1ea0e3,_0x497033=_0xba89f3[_0x3fd34e(0x192)]-0x1,_0x409c23;_0x497033>=0x0;_0x497033--)(_0x409c23=_0xba89f3[_0x497033])&&(_0x56612c=_0x409c23(_0x56612c)||_0x56612c);return _0x56612c;},De=(_0x3a90bb,_0x26ed23)=>(_0x4f785b,_0x7ef7a)=>_0x26ed23(_0x4f785b,_0x7ef7a,_0x3a90bb);const Ci=_0x2bb048(_0xe51f24(0x282));function Ys(_0x5730b7,_0x3561ac,_0x2859e0){return _0x5730b7+'/'+_0x3561ac+'/unit/'+_0x2859e0+'/new_changes';}let Gt=class extends _0x470533{constructor(_0x2eabb5,_0x1e7bc2,_0x1a650c,_0x228fc1,_0x515017){var _0x365536=_0xe51f24;super(),this['_injector']=_0x2eabb5,this[_0x365536(0x2e1)]=_0x1e7bc2,this[_0x365536(0x2ca)]=_0x1a650c,this[_0x365536(0x420)]=_0x228fc1,this['_snapshotServerService']=_0x515017;}[_0xe51f24(0x33d)](_0x118331){var _0x4b318c=_0xe51f24;const _0x34491c=this[_0x4b318c(0x289)][_0x4b318c(0x164)](_0x15b062);if(!_0x34491c)throw new Error(_0x4b318c(0x1aa));const _0x555e74=_0x34491c['createSocket'](_0x118331);if(!_0x555e74)throw new Error(_0x4b318c(0x3a8));const _0x215fd2=new _0x55320b(),_0x3046a0=new _0x4b7143();_0x215fd2['add'](_0x555e74[_0x4b318c(0x2eb)]['subscribe'](_0x12e31c=>_0x3046a0[_0x4b318c(0x3f6)](_0x12e31c))),_0x215fd2[_0x4b318c(0x296)](_0x4cf9a4(()=>_0x3046a0[_0x4b318c(0x39c)]()));const _0x5ece38=new _0x4b7143();_0x215fd2[_0x4b318c(0x296)](_0x555e74[_0x4b318c(0x167)][_0x4b318c(0x2aa)](_0x301f1e=>_0x5ece38[_0x4b318c(0x3f6)](_0x301f1e))),_0x215fd2[_0x4b318c(0x296)](_0x4cf9a4(()=>_0x5ece38[_0x4b318c(0x39c)]()));const _0x1c0711=new _0x4b7143();_0x215fd2[_0x4b318c(0x296)](_0x555e74[_0x4b318c(0x20d)]['subscribe'](_0x5577dc=>{var _0x149479=_0x4b318c;const _0x444541=Fs(_0x5577dc);_0x1c0711[_0x149479(0x3f6)](_0x444541);})),_0x215fd2['add'](_0x4cf9a4(()=>_0x1c0711[_0x4b318c(0x39c)]()));let _0x5b0ed7;const _0x48f16e=()=>{var _0x1e0e89=_0x4b318c;_0x5ece38['next'](new Event(_0x1e0e89(0x3fe))),_0x3046a0[_0x1e0e89(0x3f6)](new Event(_0x1e0e89(0x3fe))),_0x5b0ed7[_0x1e0e89(0x21d)]();};return _0x5b0ed7={'memberID':'','close$':_0x3046a0[_0x4b318c(0x43c)](),'error$':_0x5ece38[_0x4b318c(0x43c)](),'open$':_0x555e74['open$'],'message$':_0x1c0711['asObservable'](),'send':_0xe42ef1=>{var _0x410e56=_0x4b318c;if(_0xe42ef1['cmd']===F['INGEST']){if(_0xe42ef1[_0x410e56(0x3c2)][_0x410e56(0x161)]===_0x27b370[_0x410e56(0x277)]){this['_submitChangeset'](_0x5b0ed7,_0xe42ef1[_0x410e56(0x3c2)])[_0x410e56(0x43b)](_0x45c712=>{var _0x37cc5b=_0x410e56;this[_0x37cc5b(0x420)][_0x37cc5b(0x35d)](_0x45c712),_0x48f16e();});return;}if(_0xe42ef1[_0x410e56(0x3c2)]['eventID']===_0x27b370['FETCH_MISSING']){const _0x41f396=_0xe42ef1[_0x410e56(0x3c2)];this['_fetchMissChangesets'](_0x41f396)[_0x410e56(0x2ea)](_0x125aa6=>{var _0x5eb981=_0x410e56;_0x1c0711[_0x5eb981(0x3f6)]({'cmd':F[_0x5eb981(0x187)],'code':pe['OK'],'routeKey':_0x41f396[_0x5eb981(0x3c2)][_0x5eb981(0x2f5)],'routeType':'','data':{'eventID':_0x27b370[_0x5eb981(0x34d)],'data':{'changesets':_0x125aa6}}});})[_0x410e56(0x43b)](_0x1713c8=>{var _0x125f75=_0x410e56;this[_0x125f75(0x420)][_0x125f75(0x35d)](_0x1713c8),_0x48f16e();});return;}}_0x555e74[_0x410e56(0x3c6)](Vs(_0xe42ef1));},'close':()=>{var _0x37863a=_0x4b318c;_0x555e74['close'](),_0x215fd2[_0x37863a(0x35e)]();}},_0x5b0ed7;}async[_0xe51f24(0x410)](_0x26ab50,_0x407a98){var _0x4c2efe=_0xe51f24,_0x31d57e;const {unitType:_0x3ca6a8,unitID:_0xe96f24,changeset:_0x731103}=_0x407a98[_0x4c2efe(0x3c2)],_0x3ed882={'unitID':_0xe96f24,'memberID':_0x26ab50[_0x4c2efe(0x188)],'type':_0x3ca6a8,'changeset':_0x32fcff(_0x731103)},_0x474417=this[_0x4c2efe(0x2ca)][_0x4c2efe(0x39e)](K),_0x277bfc=Ys((_0x31d57e=_0x474417==null?void 0x0:_0x474417['collabSubmitChangesetUrl'])!=null?_0x31d57e:Cs,_0x3ca6a8,_0xe96f24);try{await this[_0x4c2efe(0x2e1)][_0x4c2efe(0x1ed)](_0x277bfc,{'body':_0x3ed882});}catch(_0x22a6a9){throw this['_logService'][_0x4c2efe(0x35d)]('[CollaborationSession]',_0x4c2efe(0x2d3)),_0x22a6a9;}}async[_0xe51f24(0x290)](_0x594206){var _0x5d0d2e=_0xe51f24;const {unitID:_0x41d42e,from:_0x22a3a5,to:_0x5948d8,unitType:_0x50d42a}=_0x594206['data'];return(await this[_0x5d0d2e(0x3de)][_0x5d0d2e(0x32d)]({'metadata':void 0x0},{'unitID':_0x41d42e,'type':_0x50d42a,'from':_0x22a3a5,'to':_0x5948d8}))[_0x5d0d2e(0x28f)];}};Gt=Gs([De(0x0,_0x22b342(_0xf56e29)),De(0x1,_0x22b342(_0xd8406a)),De(0x2,_0x2a9499),De(0x3,_0x361d6f),De(0x4,_0x9fb279)],Gt);var Ks=Object[_0xe51f24(0x434)],qs=(_0x49eba1,_0x4b7c49,_0x22d3c3,_0x5e4679)=>{var _0x3385cf=_0xe51f24;for(var _0x350eca=_0x5e4679>0x1?void 0x0:_0x5e4679?Ks(_0x4b7c49,_0x22d3c3):_0x4b7c49,_0x311c8e=_0x49eba1[_0x3385cf(0x192)]-0x1,_0x29f274;_0x311c8e>=0x0;_0x311c8e--)(_0x29f274=_0x49eba1[_0x311c8e])&&(_0x350eca=_0x29f274(_0x350eca)||_0x350eca);return _0x350eca;},Re=(_0x17db10,_0x892e78)=>(_0x1bc63c,_0x31b430)=>_0x892e78(_0x1bc63c,_0x31b430,_0x17db10);let Pe=class extends _0x470533{constructor(_0x235f28,_0x4fa6d8,_0x18f9bd,_0x318f20,_0x28ea81,_0xd1d119){var _0x16eebe=_0xe51f24;super(),N(this,_0x16eebe(0x353),new _0x393d97(void 0x0)),N(this,_0x16eebe(0x2d8),this[_0x16eebe(0x353)]['asObservable']()),N(this,'_candidateSocket',null),N(this,_0x16eebe(0x223),new Map()),N(this,'_status$',new _0x393d97(ge[_0x16eebe(0x30b)])),N(this,_0x16eebe(0x251),this[_0x16eebe(0x228)][_0x16eebe(0x43c)]()),N(this,'_socketReady',!0x1),N(this,_0x16eebe(0x386)),N(this,_0x16eebe(0x43a),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x16eebe(0x289)]=_0x235f28,this[_0x16eebe(0x420)]=_0x4fa6d8,this[_0x16eebe(0x2ca)]=_0x18f9bd,this[_0x16eebe(0x416)]=_0x318f20,this['_collaborationUIEventService']=_0x28ea81,this[_0x16eebe(0x3b5)]=_0xd1d119,this[_0x16eebe(0x2c6)]());}get[_0xe51f24(0x2a3)](){var _0x153fd0=_0xe51f24;return this[_0x153fd0(0x353)][_0x153fd0(0x311)]();}[_0xe51f24(0x2c6)](){var _0x21b81f=_0xe51f24;this[_0x21b81f(0x3b5)]&&this['disposeWithMe'](this['_networkConditionService'][_0x21b81f(0x2f0)][_0x21b81f(0x2aa)](_0xc23730=>{var _0x572d7=_0x21b81f;_0xc23730&&!this[_0x572d7(0x2a3)]&&this[_0x572d7(0x358)](),_0xc23730||this[_0x572d7(0x378)]();}));}['dispose'](){var _0x5cebd8=_0xe51f24;super[_0x5cebd8(0x35e)](),this[_0x5cebd8(0x3e8)](),this[_0x5cebd8(0x294)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x5cebd8(0x253)](_0x4df98e=>_0x4df98e[_0x5cebd8(0x35e)]()),this[_0x5cebd8(0x223)][_0x5cebd8(0x26e)](),this[_0x5cebd8(0x228)][_0x5cebd8(0x39c)]();}async[_0xe51f24(0x2cc)](_0x10e6a0){var _0x34b9ba=_0xe51f24;if(this[_0x34b9ba(0x223)][_0x34b9ba(0x1d1)](_0x10e6a0))return this['_sessions']['get'](_0x10e6a0);this[_0x34b9ba(0x182)]();const _0x795f01=this['_injector'][_0x34b9ba(0x1a5)](gt,_0x10e6a0,this[_0x34b9ba(0x353)][_0x34b9ba(0x43c)]());return this[_0x34b9ba(0x223)][_0x34b9ba(0x3c9)](_0x10e6a0,_0x795f01),_0x795f01;}[_0xe51f24(0x41f)](_0x43fcb9){var _0x4bfa36=_0xe51f24,_0x4a48b7;const _0x362738=this['_sessions']['get'](_0x43fcb9);_0x362738&&(this[_0x4bfa36(0x223)]['delete'](_0x43fcb9),_0x362738[_0x4bfa36(0x21d)]()),this[_0x4bfa36(0x223)][_0x4bfa36(0x231)]||(_0x4a48b7=this[_0x4bfa36(0x2a3)])==null||_0x4a48b7[_0x4bfa36(0x21d)]();}[_0xe51f24(0x358)](){var _0x3d7098=_0xe51f24;this[_0x3d7098(0x43a)]=0x0,this[_0x3d7098(0x3e8)](),this['_tryReconnect']();}[_0xe51f24(0x3e8)](){var _0x3498dc=_0xe51f24;this[_0x3498dc(0x386)]!=null&&(clearTimeout(this[_0x3498dc(0x386)]),this['_retryConnectingTimer']=null);}async[_0xe51f24(0x281)](){var _0x4d3296=_0xe51f24,_0xce8239;const _0x4da851=this[_0x4d3296(0x2ca)][_0x4d3296(0x39e)](K),_0x1839a9=(_0xce8239=_0x4da851==null?void 0x0:_0x4da851[_0x4d3296(0x2e9)])!=null?_0xce8239:ms,_0x5e616a=await this[_0x4d3296(0x416)]['createSocket'](_0x1839a9);return this['_candidateSocket']=_0x5e616a,_0x5e616a;}async[_0xe51f24(0x182)](){var _0x528f7a=_0xe51f24,_0x147f2a,_0x3afa99;try{const _0x9e2734=(_0x3afa99=(_0x147f2a=this[_0x528f7a(0x2a3)])!=null?_0x147f2a:this['_candidateSocket'])!=null?_0x3afa99:await this[_0x528f7a(0x281)]();if(_0x9e2734){const _0x52ec33=_0x9e2734[_0x528f7a(0x3c6)];_0x9e2734[_0x528f7a(0x3c6)]=_0x80e47d=>(this[_0x528f7a(0x26a)](),_0x52ec33['apply'](_0x9e2734,[_0x80e47d])),_0x9e2734[_0x528f7a(0x20d)][_0x528f7a(0x2aa)](_0x17153b=>this['_onMessage'](_0x9e2734,_0x17153b)),_0x9e2734[_0x528f7a(0x167)][_0x528f7a(0x21f)](_0x1b4c2a(0x1))[_0x528f7a(0x2aa)](_0x4f3c80=>this[_0x528f7a(0x420)][_0x528f7a(0x35d)](_0x528f7a(0x443),_0x4f3c80)),_0x9e2734[_0x528f7a(0x390)]['pipe'](_0x1b4c2a(0x1))[_0x528f7a(0x2aa)](()=>{this['_onConnectionOpen'](_0x9e2734);}),_0x9e2734[_0x528f7a(0x2eb)][_0x528f7a(0x21f)](_0x1b4c2a(0x1))[_0x528f7a(0x2aa)](_0x1a1eb7=>{var _0x3cbcaf=_0x528f7a;this[_0x3cbcaf(0x420)]['debug'](_0x3cbcaf(0x1f9),_0x3cbcaf(0x3b9),_0x1a1eb7),this[_0x3cbcaf(0x219)]();});}}catch(_0x2c82c7){this[_0x528f7a(0x420)][_0x528f7a(0x35d)](_0x2c82c7),this['_onConnectionFailed']();}}[_0xe51f24(0x3c0)](_0x39eff0){var _0x16f173=_0xe51f24;this['_logService'][_0x16f173(0x2ab)](_0x16f173(0x1f9),_0x16f173(0x3f2)),_0x39eff0[_0x16f173(0x3c6)]({'cmd':F['HELLO']}),this[_0x16f173(0x26a)]();}['_onOffline'](){var _0x1a196c=_0xe51f24;this[_0x1a196c(0x15a)]=!0x1,this[_0x1a196c(0x2fb)]=null,this[_0x1a196c(0x228)]['next'](ge[_0x1a196c(0x25f)]),this[_0x1a196c(0x353)][_0x1a196c(0x3f6)](null),this[_0x1a196c(0x294)](),this[_0x1a196c(0x17e)]();}[_0xe51f24(0x219)](){var _0x3cd6e1=_0xe51f24,_0x5edb43;this['_onOffline'](),this[_0x3cd6e1(0x43a)]<((_0x5edb43=this['_configService'][_0x3cd6e1(0x39e)](Is))!=null?_0x5edb43:Ts)?(this[_0x3cd6e1(0x30a)]['emitEvent']({'id':ne[_0x3cd6e1(0x287)]}),this[_0x3cd6e1(0x365)]()):this['_collaborationUIEventService'][_0x3cd6e1(0x261)]({'id':ne['SOCKET_FAILED']});}[_0xe51f24(0x365)](){var _0x524cb9=_0xe51f24,_0x439518;const _0x1bdb07=this['_retryCount'],_0x1a2f5e=this['_configService'][_0x524cb9(0x39e)](K),_0x1bd959=_0x1bdb07===0x0?0x0:((_0x439518=_0x1a2f5e==null?void 0x0:_0x1a2f5e['retryConnectingInterval'])!=null?_0x439518:Es)*0x2**_0x1bdb07;this[_0x524cb9(0x386)]=setTimeout(()=>{var _0x87c3a3=_0x524cb9;clearTimeout(this[_0x87c3a3(0x386)]),this[_0x87c3a3(0x386)]=null,this[_0x87c3a3(0x182)]();},_0x1bd959),this[_0x524cb9(0x43a)]+=0x1;}[_0xe51f24(0x2d1)](_0x23d579,_0x221180){var _0x13e979=_0xe51f24;const {cmd:_0x537597}=_0x221180;_0x537597===F[_0x13e979(0x3d6)]&&!this['_socketReady']&&(_0x23d579[_0x13e979(0x188)]=_0x221180[_0x13e979(0x3c2)][_0x13e979(0x188)],this['_socket$'][_0x13e979(0x3f6)](_0x23d579),this[_0x13e979(0x228)][_0x13e979(0x3f6)](ge[_0x13e979(0x17d)]),this[_0x13e979(0x15a)]=!0x0,this[_0x13e979(0x2fb)]=null),_0x537597===F[_0x13e979(0x37d)]&&this['_clearTimeoutTimer'](),this[_0x13e979(0x26a)]();}['_rescheduleHeartbeat'](){var _0x261f14=_0xe51f24,_0x1b5e0a;this[_0x261f14(0x17e)](),this[_0x261f14(0x1b8)]=setTimeout(()=>this[_0x261f14(0x232)](),(_0x1b5e0a=this['_configService'][_0x261f14(0x39e)](gs))!=null?_0x1b5e0a:Ss);}[_0xe51f24(0x232)](){var _0x115ba6=_0xe51f24;this[_0x115ba6(0x2a3)][_0x115ba6(0x3c6)]({'cmd':F[_0x115ba6(0x37d)]}),this[_0x115ba6(0x2ec)]();}[_0xe51f24(0x2ec)](){var _0x585b42=_0xe51f24,_0x14e147;this[_0x585b42(0x406)]=setTimeout(()=>this[_0x585b42(0x219)](),(_0x14e147=this[_0x585b42(0x2ca)][_0x585b42(0x39e)](di))!=null?_0x14e147:fi);}[_0xe51f24(0x17e)](){var _0x14bc8d=_0xe51f24;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x14bc8d(0x1b8)]),this[_0x14bc8d(0x1b8)]=null);}[_0xe51f24(0x294)](){var _0x5df706=_0xe51f24;this[_0x5df706(0x406)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5df706(0x406)]=null);}};Pe=qs([Re(0x0,_0x22b342(_0xf56e29)),Re(0x1,_0x361d6f),Re(0x2,_0x2a9499),Re(0x3,Ci),Re(0x4,_0x22b342(ve)),Re(0x5,_0x3dfa42(js))],Pe);var zs=Object[_0xe51f24(0x434)],Js=(_0x1e667e,_0x2ab08c,_0x2c251e,_0x2c3afe)=>{var _0xf05501=_0xe51f24;for(var _0x3b0917=_0x2c3afe>0x1?void 0x0:_0x2c3afe?zs(_0x2ab08c,_0x2c251e):_0x2ab08c,_0x35359c=_0x1e667e[_0xf05501(0x192)]-0x1,_0x25c2a6;_0x35359c>=0x0;_0x35359c--)(_0x25c2a6=_0x1e667e[_0x35359c])&&(_0x3b0917=_0x25c2a6(_0x3b0917)||_0x3b0917);return _0x3b0917;},Be=(_0x3c2280,_0x1b19e8)=>(_0x51efb2,_0x55053c)=>_0x1b19e8(_0x51efb2,_0x55053c,_0x3c2280);let nt=class extends _0x12bf24{constructor(_0x1d5f43,_0x479407,_0x46fe6b,_0x5c5e8f){var _0x2db477=_0xe51f24,_0x2efed0;super(),N(this,_0x2db477(0x2bb),new Map()),N(this,_0x2db477(0x1c8),new _0x4b7143()),N(this,_0x2db477(0x34e),this[_0x2db477(0x1c8)]['asObservable']()),(this[_0x2db477(0x289)]=_0x1d5f43,this[_0x2db477(0x205)]=_0x479407,this[_0x2db477(0x2ca)]=_0x46fe6b,this[_0x2db477(0x215)]=_0x5c5e8f,((_0x2efed0=this[_0x2db477(0x2ca)][_0x2db477(0x39e)](K))==null?void 0x0:_0x2efed0['enableCollaboration'])!==!0x1&&this['_init']());}['dispose'](){var _0x2f2bfa=_0xe51f24;super[_0x2f2bfa(0x35e)](),this[_0x2f2bfa(0x2bb)][_0x2f2bfa(0x253)](_0x148901=>_0x148901['dispose']()),this[_0x2f2bfa(0x2bb)][_0x2f2bfa(0x26e)]();}[_0xe51f24(0x2f7)](_0x36c95c){var _0x2640b5=_0xe51f24,_0x44be10;return(_0x44be10=this[_0x2640b5(0x2bb)]['get'](_0x36c95c))!=null?_0x44be10:null;}[_0xe51f24(0x382)](_0x51847d){var _0xe1e500=_0xe51f24;const _0x69f470=this[_0xe1e500(0x2f7)](_0x51847d);return _0x69f470?_0xf996a6(_0x69f470):this['_entityInit$'][_0xe1e500(0x21f)](_0x9a4196(_0x22a9b8=>_0x22a9b8[_0xe1e500(0x2f5)]===_0x51847d));}['readyForCollab'](_0x3e89e5){var _0x4399ba=_0xe51f24;return _0x4f08aa(this[_0x4399ba(0x382)](_0x3e89e5)['pipe'](_0x57a8a0(()=>{})));}[_0xe51f24(0x266)](){var _0x19eb30=_0xe51f24;this[_0x19eb30(0x215)][_0x19eb30(0x1fd)](_0x3fce68[_0x19eb30(0x3a9)])[_0x19eb30(0x21f)](_0x2b6919(this[_0x19eb30(0x218)]),_0x414843(0x10))[_0x19eb30(0x2aa)](async _0x36c771=>{var _0x1ccb2b=_0x19eb30;const _0x109e4d=_0x36c771[_0x1ccb2b(0x40d)](),_0x61a0b8=await this[_0x1ccb2b(0x3b3)](_0x109e4d,Z['UNIVER_SHEET']);this['_entities'][_0x1ccb2b(0x3c9)](_0x109e4d,_0x61a0b8);}),this[_0x19eb30(0x215)]['getTypeOfUnitAdded$'](_0x3fce68['UNIVER_DOC'])[_0x19eb30(0x21f)](_0x2b6919(this['dispose$']),_0x414843(0x10))[_0x19eb30(0x21f)](_0x9a4196(_0x2159ca=>!_0x2159ca['getUnitId']()[_0x19eb30(0x274)]('__')))[_0x19eb30(0x2aa)](async _0x1d231c=>{var _0x4b8e3a=_0x19eb30;const _0x13b5b3=_0x1d231c[_0x4b8e3a(0x40d)](),_0x28717d=await this[_0x4b8e3a(0x3b3)](_0x13b5b3,Z[_0x4b8e3a(0x1ba)]);this[_0x4b8e3a(0x2bb)][_0x4b8e3a(0x3c9)](_0x13b5b3,_0x28717d);}),_0x7e74aa(this['_univerInstanceService'][_0x19eb30(0x2e8)](_0x3fce68['UNIVER_SHEET']),this[_0x19eb30(0x215)][_0x19eb30(0x2e8)](_0x3fce68[_0x19eb30(0x1ba)]))[_0x19eb30(0x21f)](_0x2b6919(this[_0x19eb30(0x218)]))[_0x19eb30(0x2aa)](_0x252601=>{var _0x19f785=_0x19eb30;const _0x3dbcea=_0x252601[_0x19f785(0x40d)](),_0x46c5e0=this[_0x19f785(0x2bb)][_0x19f785(0x164)](_0x3dbcea);_0x46c5e0&&(_0x46c5e0[_0x19f785(0x35e)](),this['_entities'][_0x19f785(0x3ac)](_0x3dbcea));});}async[_0xe51f24(0x3b3)](_0x1a0cde,_0x48d7f9){var _0x1c851d=_0xe51f24;const _0x12b28a=await this[_0x1c851d(0x205)]['requireSession'](_0x1a0cde),_0x664117=this[_0x1c851d(0x289)]['createInstance'](this[_0x1c851d(0x3b7)](_0x48d7f9),_0x1a0cde,_0x48d7f9,_0x12b28a);return await _0x664117[_0x1c851d(0x24e)](),this[_0x1c851d(0x1c8)][_0x1c851d(0x3f6)](_0x664117),_0x664117;}[_0xe51f24(0x3b7)](_0x496a12){var _0x4dc33c=_0xe51f24;switch(_0x496a12){case Z[_0x4dc33c(0x1ba)]:return St;case Z[_0x4dc33c(0x3a9)]:return Et;default:throw new Error(_0x4dc33c(0x334)+_0x496a12);}}};nt=Js([Be(0x0,_0x22b342(_0xf56e29)),Be(0x1,_0x22b342(Pe)),Be(0x2,_0x2a9499),Be(0x3,_0x3f4f9f)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x302358,_0x386eff,_0x3b568e,_0x324154)=>{var _0x363987=_0xe51f24;for(var _0x3d1c39=_0x324154>0x1?void 0x0:_0x324154?Xs(_0x386eff,_0x3b568e):_0x386eff,_0x142f21=_0x302358[_0x363987(0x192)]-0x1,_0x3af201;_0x142f21>=0x0;_0x142f21--)(_0x3af201=_0x302358[_0x142f21])&&(_0x3d1c39=_0x3af201(_0x3d1c39)||_0x3d1c39);return _0x3d1c39;},Yt=(_0x2f7207,_0x5434d8)=>(_0xabd0cb,_0x23262c)=>_0x5434d8(_0xabd0cb,_0x23262c,_0x2f7207);const Qs=_0xe51f24(0x1c4),en='Univer';let It=class extends _0x470533{constructor(_0x5436ca,_0x5f303c){var _0x580688=_0xe51f24;super(),this['_univerInstanceService']=_0x5436ca,this[_0x580688(0x2ca)]=_0x5f303c,this[_0x580688(0x266)]();}[_0xe51f24(0x266)](){var _0x1f6015=_0xe51f24;this[_0x1f6015(0x19c)](this[_0x1f6015(0x215)][_0x1f6015(0x2cb)][_0x1f6015(0x2aa)](()=>{var _0x4570bf=_0x1f6015,_0x3fc8a9;const _0x3dcfac=this[_0x4570bf(0x215)][_0x4570bf(0x2ef)]();let _0x464184=(_0x3fc8a9=this[_0x4570bf(0x2ca)]['getConfig'](Qs))!=null?_0x3fc8a9:en;_0x3dcfac instanceof _0x3e2d69&&(_0x464184=_0x3dcfac['name']),document[_0x4570bf(0x419)]=_0x464184;}));}};It=Zs([Yt(0x0,_0x3f4f9f),Yt(0x1,_0x2a9499)],It);var tn=Object[_0xe51f24(0x434)],sn=(_0x27be6e,_0x5c3701,_0x59affb,_0x1fc520)=>{var _0x1f5ee7=_0xe51f24;for(var _0x2098a4=_0x1fc520>0x1?void 0x0:_0x1fc520?tn(_0x5c3701,_0x59affb):_0x5c3701,_0x1e36e7=_0x27be6e[_0x1f5ee7(0x192)]-0x1,_0x582024;_0x1e36e7>=0x0;_0x1e36e7--)(_0x582024=_0x27be6e[_0x1e36e7])&&(_0x2098a4=_0x582024(_0x2098a4)||_0x2098a4);return _0x2098a4;},dt=(_0x2ca2e2,_0x5ccffa)=>(_0x3955c1,_0x3989cb)=>_0x5ccffa(_0x3955c1,_0x3989cb,_0x2ca2e2);let rt=class{constructor(_0x3319a8,_0x2495b4,_0x11fdb){var _0x327547=_0xe51f24;this[_0x327547(0x2ca)]=_0x3319a8,this['_httpService']=_0x2495b4,this[_0x327547(0x3f1)]=_0x11fdb,this[_0x327547(0x24e)]();}[_0xe51f24(0x24e)](){var _0x1ede87=_0xe51f24;this['_httpService'][_0x1ede87(0x24b)]({'priority':0x1,'interceptor':(_0x31c2a2,_0x4e42a5)=>_0x4e42a5(_0x31c2a2)['pipe'](_0xd4c290(async _0x121654=>{var _0x500d08=_0x1ede87;const _0x42f504=_0x121654;if(_0x42f504[_0x500d08(0x27a)]===0x191){if(typeof window>'u')throw new Error(_0x500d08(0x210));if(window[_0x500d08(0x3b1)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x4c5a5b=window['encodeURIComponent'](window[_0x500d08(0x2ff)][_0x500d08(0x366)]);window[_0x500d08(0x2ff)]['href']=this['_getLoginPath']()+'?url='+_0x4c5a5b;}}return _0x42f504;}))});}[_0xe51f24(0x259)](){var _0x3c9808;const _0x582500=this['_configService']['getConfig'](K);return(_0x3c9808=_0x582500==null?void 0x0:_0x582500['loginUrlKey'])!=null?_0x3c9808:Rs;}};rt=sn([dt(0x0,_0x2a9499),dt(0x1,_0x22b342(_0xd8406a)),dt(0x2,_0x22b342(_0x262680))],rt);var nn=Object[_0xe51f24(0x434)],rn=(_0x2159b1,_0x4fd74a,_0x87c0e4,_0x1d07fa)=>{var _0x1cc3ff=_0xe51f24;for(var _0x163de8=_0x1d07fa>0x1?void 0x0:_0x1d07fa?nn(_0x4fd74a,_0x87c0e4):_0x4fd74a,_0x39779c=_0x2159b1[_0x1cc3ff(0x192)]-0x1,_0x2edaca;_0x39779c>=0x0;_0x39779c--)(_0x2edaca=_0x2159b1[_0x39779c])&&(_0x163de8=_0x2edaca(_0x163de8)||_0x163de8);return _0x163de8;},Kt=(_0x1a0870,_0x2ea18f)=>(_0x3e038e,_0x19e2fb)=>_0x2ea18f(_0x3e038e,_0x19e2fb,_0x1a0870);const an=_0xe51f24(0x3d1);let Tt=class extends _0x470533{constructor(_0x2c75da,_0x362018){super(),this['_HTTPService']=_0x2c75da,this['_configService']=_0x362018,this['_initMergeInterceptor']();}[_0xe51f24(0x156)](){var _0x2f4b42=_0xe51f24;const _0x5d14c8=this;this[_0x2f4b42(0x19c)](this[_0x2f4b42(0x1a2)][_0x2f4b42(0x24b)]({'priority':0x3e7,'interceptor':_0x92347a({'isMatch'(_0x409a24){var _0x1376a9=_0x2f4b42,_0x381a6a;if(_0x409a24[_0x1376a9(0x172)]===_0x1376a9(0x1ae)&&((_0x381a6a=_0x409a24[_0x1376a9(0x16e)])!=null&&_0x381a6a[_0x1376a9(0x279)])){const {objectID:_0x5751f4,objectType:_0x157e5e}=_0x409a24[_0x1376a9(0x16e)][_0x1376a9(0x279)]||{};if(!_0x5751f4||_0x157e5e===void 0x0)return!0x1;const _0x4d875a=_0x5d14c8[_0x1376a9(0x1d8)]()+'/'+_0x157e5e+_0x1376a9(0x189)+_0x5751f4+'/allowed';if(_0x409a24[_0x1376a9(0x2d6)]===_0x4d875a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x207aa6){var _0x2f6788=_0x2f4b42,_0x352660;return(_0x352660=_0x207aa6[_0x2f6788(0x16e)])==null?void 0x0:_0x352660[_0x2f6788(0x279)];},'mergeParamsToRequest'(_0x3fd29f,_0x4d85fd){var _0x1ebf90=_0x2f4b42;const _0xae332d=_0x5d14c8[_0x1ebf90(0x1d8)]()+_0x1ebf90(0x238),_0x93a3c6=_0x3fd29f[_0x1ebf90(0x222)]((_0x3c3780,_0x4cee46)=>{var _0x14f891=_0x1ebf90;const {unitID:_0x4e9349,objectID:_0x3b117b,objectType:_0x1c37c7,actions:_0x141103}=_0x4cee46;return _0x3c3780[_0x4e9349]||(_0x3c3780[_0x4e9349]={}),_0x3c3780[_0x4e9349][_0x3b117b]||(_0x3c3780[_0x4e9349][_0x3b117b]={'objectID':_0x3b117b,'objectType':_0x1c37c7,'actions':[]}),_0x3c3780[_0x4e9349][_0x3b117b][_0x14f891(0x2c8)][_0x14f891(0x27f)](..._0x141103),_0x3c3780;},{}),_0x2cc5dd=[];for(const _0x483145 in _0x93a3c6)for(const _0x430782 in _0x93a3c6[_0x483145]){const {actions:_0x43d3f0,objectType:_0x2f43e0}=_0x93a3c6[_0x483145][_0x430782],_0x236e10=[...new Set(_0x43d3f0)];_0x2cc5dd[_0x1ebf90(0x27f)]({'unitID':_0x483145,'objectID':_0x430782,'objectType':_0x2f43e0,'actions':_0x236e10});}return new _0x3f8dec(_0x1ebf90(0x1ae),_0xae332d,{'headers':_0x4d85fd[_0x1ebf90(0x209)],'withCredentials':_0x4d85fd['withCredentials'],'responseType':_0x4d85fd[_0x1ebf90(0x2f3)],'body':{'requests':_0x2cc5dd}});}},{'distributeResult'(_0x23505d,_0x1049fb){var _0x498e8c=_0x2f4b42;const {objectActions:_0x287705}=_0x23505d;return _0x1049fb[_0x498e8c(0x1c1)](_0x4d5a9e=>{var _0x25cadc=_0x498e8c;const {unitID:_0x2ea9cb,objectID:_0x5ae157,actions:_0x691c8a}=_0x4d5a9e,_0x424908=_0x287705['find'](_0x3f37bc=>_0x3f37bc[_0x25cadc(0x2f5)]===_0x2ea9cb&&_0x3f37bc[_0x25cadc(0x160)]===_0x5ae157),_0x39a0cf=_0x691c8a['map'](_0x5959f2=>_0x424908==null?void 0x0:_0x424908[_0x25cadc(0x2c8)][_0x25cadc(0x3e9)](_0x1305e5=>_0x1305e5['action']===_0x5959f2))[_0x25cadc(0x449)](_0x190aa2=>!!_0x190aa2);return{'config':_0x4d5a9e,'result':{'actions':_0x39a0cf,'error':_0x23505d[_0x25cadc(0x35d)]}};});}})}));}[_0xe51f24(0x1d8)](){var _0x32b361=_0xe51f24,_0x478366;const _0x389736=this[_0x32b361(0x2ca)][_0x32b361(0x39e)](K);return(_0x478366=_0x389736==null?void 0x0:_0x389736['authzUrl'])!=null?_0x478366:an;}async[_0xe51f24(0x3fa)](_0x32782a){var _0x49f4ec=_0xe51f24;const _0x3f309e=this['_getAPIPrefixPath']()+'/'+_0x32782a[_0x49f4ec(0x18c)]+_0x49f4ec(0x307);return(await this[_0x49f4ec(0x1a2)][_0x49f4ec(0x1ed)](_0x3f309e,{'body':_0x32782a}))[_0x49f4ec(0x279)]['objectID']||'';}async[_0xe51f24(0x310)](_0x2e7073){var _0xb1b184=_0xe51f24;const _0x123074=this['_getAPIPrefixPath']()+_0xb1b184(0x35c);return(await this[_0xb1b184(0x1a2)][_0xb1b184(0x1ed)](_0x123074,{'body':_0x2e7073}))['body'][_0xb1b184(0x397)];}async[_0xe51f24(0x37f)](_0x14ec14){var _0x32f886=_0xe51f24,_0x28015d,_0x414f98;const _0xbe9dd9=this['_getAPIPrefixPath']()+'/'+_0x14ec14[_0x32f886(0x18c)]+_0x32f886(0x189)+_0x14ec14[_0x32f886(0x160)],_0x41af08=await this[_0x32f886(0x1a2)][_0x32f886(0x3cb)](_0xbe9dd9,{'body':_0x14ec14});if(((_0x414f98=(_0x28015d=_0x41af08==null?void 0x0:_0x41af08['body'])==null?void 0x0:_0x28015d[_0x32f886(0x35d)])==null?void 0x0:_0x414f98[_0x32f886(0x3a4)])!==0x1)throw new Error(_0x32f886(0x2e7));}async[_0xe51f24(0x3eb)](_0x1343d9){var _0x5b346a=_0xe51f24;const _0x1d2ac2=this[_0x5b346a(0x1d8)]()+'/'+_0x1343d9[_0x5b346a(0x18c)]+_0x5b346a(0x189)+_0x1343d9[_0x5b346a(0x160)]+_0x5b346a(0x1be);return(await this[_0x5b346a(0x1a2)]['post'](_0x1d2ac2,{'body':_0x1343d9}))[_0x5b346a(0x279)][_0x5b346a(0x2c8)];}async[_0xe51f24(0x19e)](_0x17c341){var _0x7bcb35=_0xe51f24;const _0x54b331=this[_0x7bcb35(0x1d8)]()+'/-/object/-/batch_allowed';return(await this[_0x7bcb35(0x1a2)]['post'](_0x54b331,{'body':{'requests':_0x17c341}}))['body']['objectActions'];}async[_0xe51f24(0x25b)](_0x122cbd){var _0x1f7b6b=_0xe51f24;const _0x378a98=this[_0x1f7b6b(0x1d8)]()+'/'+_0x122cbd['objectType']+_0x1f7b6b(0x237),_0x13b87e=await this[_0x1f7b6b(0x1a2)][_0x1f7b6b(0x1ed)](_0x378a98,{'body':_0x122cbd});return{'roles':_0x13b87e['body']['roles'],'actions':_0x13b87e[_0x1f7b6b(0x279)][_0x1f7b6b(0x2c8)]};}async[_0xe51f24(0x20a)](_0x56635a){var _0xa5fc76=_0xe51f24;const _0x3ed9bc=this[_0xa5fc76(0x1d8)]()+_0xa5fc76(0x411);await this[_0xa5fc76(0x1a2)][_0xa5fc76(0x3ac)](_0x3ed9bc,{'params':{'collaboratorID':_0x56635a[_0xa5fc76(0x3f9)],'objectID':_0x56635a[_0xa5fc76(0x160)],'unitID':_0x56635a[_0xa5fc76(0x2f5)]}});}async['updateCollaborator'](_0x51ee60){var _0x486f88=_0xe51f24;const _0x39289a=this['_getAPIPrefixPath']()+_0x486f88(0x411);await this[_0x486f88(0x1a2)][_0x486f88(0x3da)](_0x39289a,{'body':_0x51ee60});}async['createCollaborator'](_0x4e664d){var _0x5aca61=_0xe51f24;const _0x40b4f7=this[_0x5aca61(0x1d8)]()+_0x5aca61(0x411);await this[_0x5aca61(0x1a2)][_0x5aca61(0x1ed)](_0x40b4f7,{'body':_0x4e664d});}async[_0xe51f24(0x309)](_0x55bdc5){var _0x547917=_0xe51f24;const _0x40e096=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x547917(0x1a2)][_0x547917(0x164)](_0x40e096,{'params':{'objectID':_0x55bdc5[_0x547917(0x160)],'unitID':_0x55bdc5[_0x547917(0x2f5)]}}))['body'][_0x547917(0x1a8)];}async[_0xe51f24(0x2db)](_0x51da5f){var _0x24a376=_0xe51f24;const _0x2cc525=this[_0x24a376(0x1d8)]()+_0x24a376(0x411);await this['_HTTPService'][_0x24a376(0x3cb)](_0x2cc525,{'body':_0x51da5f});}};Tt=rn([Kt(0x0,_0x22b342(_0xd8406a)),Kt(0x1,_0x22b342(_0x2a9499))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xabf7d5){var _0x238839=_0xe51f24;return _0xabf7d5&&_0xabf7d5['__esModule']&&Object[_0x238839(0x393)][_0x238839(0x206)][_0x238839(0x29a)](_0xabf7d5,_0x238839(0x234))?_0xabf7d5[_0x238839(0x234)]:_0xabf7d5;}var Ve={'exports':{}};function _0x332e(){var _0x4a42c0=['_localCacheService','CHANGESET_ACK','CipherParams','_clearTimeoutTimer','CONNECTOR_DATA_TOO_LARGE','add','HEARTBEAT_INTERVAL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_createInitialState','call','cfg','_cipher','423642qHdyXV','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/unit/','type','awaiting_with_pending','_registerDependencies','_socket','JOIN_ROOM_FAILED','_unitInfo$','_memberService','_getAPIPrefix','getImage','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','subscribe','debug','offline','setWaitCount','_throwTelemetryCollaborationNewChangeset','LIVESHARE_OPERATION','_sessionStatus$','fetchMiss','/universer-api/oidc/authpage','_checkMissing','_parse','compose','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','WECHAT_HAS_BEEN_BOUND','onTransformIME','LIVESHARE_NEW_HOST','INVALID_INVITE_CODE','_entities','transformChangesets','symbol','clone','apply','_getSignURL','updateCursorEvent','UnitEmbedded','fetching\x20missing\x20changesets\x20from\x20','_commentService','initWorkbookPermissionChange','_listenToNetworkCondition','UNIVER_UNKNOWN','actions','startTime','_configService','focused$','requireSession','unpad','USERS_ENTER','createDecryptor','unsubscribe','_onMessage','sid','submit\x20changeset\x20error!','_onRemoteRejected','_clearUndo','url','hostname','socket$','min','univer-pro.collaboration-client.single-active-unit-service','putCollaborators','EMAIL_HAS_BEEN_BOUND','splice','\x0aCurrent:\x20','2037744pXiXiG','Pkcs7','_httpService','_substituteRedoStack','localCacheService','_process','/universer-api/snapshot/','onMissedChangesetFetched','Failed\x20to\x20update\x20permission\x20point','getTypeOfUnitDisposed$','collabWebSocketUrl','then','close$','_waitForHeartbeatResponse','m2Prime','_updateLocalCache','getFocusedUnit','online$','resend','ceil','responseType','_decreaseWaiting','unitID','words','getCollabEntity','onStateChange','updateMember','reqId','_candidateSocket','_getRedoStack','_onCombEvent','\x20-\x20','location','PENDING','_localeService','_doReset','_roomCreated$','loadOfflineData','_doFinalize','isPermissionRej','/object','/universer-api/user/session-ticket','listCollaborators','_collaborationUIEventService','IDLE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_type','pluginName','_collaborationSessionService','list','getValue','YUUMI_SUBSCRIPTION_NOT_FOUND','__Key__','AES','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_exhaustRemoteChangesetQueue','_shouldReportTelemetry','2734565qItJRh','YUUMI_NO_CUBOID_FOR_QUESTION','charAt','byteLength','_scheduleCompleteTimestamp','getCurrentRevOfUnit','UPDATE_PERMISSION_OBJ','baseRev','originalMeta','_hasher','concat','UNDEFINED','unitId','_data','SOCKET_FAILED','_transformService','UnitSnapshot','_resendWithTimeout','_toggleOffline','string','\x0aAfter:\x20','fetchMissingChangesets','[OfflineState]:\x20received\x20rejection.','image/gif','_replaceFileID','/block/','YUUMI_TABLE_NOT_FOUND_IN_UNIT','$super','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_replayCachedMutations','5086952ifpbgQ','APPLY_NON_SEQUENTIAL_REVISION','target','_onUserJoin','image/jpeg','toggleOffline','UNKNOWN_CODE','_doCreateSocket','_onLocalMutation','YUUMI_ALL_TABLES_IS_INVALID','commentUpdateEvent','subUnitId','PERMISSION_REJ','INVALID_ARGUMENT','SHA1','getDeserializedSheetBlock','PERSON','execute','getTime','INGEST','SYNCED','_updateStatus','_createHelper','PSEUDO_FETCH_MISSING_RESULT','entityInit$','JOIN_ROOM_PERMISSION_DENIED','SHOULD_CLOSE_CONN','event$','formatter','_socket$','_getCurrentRevision','name','_roomMembers','INVITE_CODE_HAS_BEEN_UES','reconnect','transformUndoRedo','ivSize','exports','/-/object/list','error','dispose','_event$','[SyncedState]:\x20received\x20rejection.','_hash','2460472lZCsoN','BlockCipherMode','result','_tryReconnect','href','_imageSourceCache','_onConflict','onRemoteChangeset','_transformStack','session.room-not-exists','_getUndoStack','_members','_awaitingChangeset','getRandomValues','CHANGESET_REJ','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_commentUpdate$','_handler','168171wPNbNF','fetchThroughInterceptors','_telemetryInfo','?size=','_onOffline','_compressMutationService','[UniverCollaborationClientPlugin]','_doCryptBlock','_initDependencies','HEARTBEAT','CHANGESET_REVISION_CONFILICT','update','from','snapshot','getCollabEntity$','_ENC_XFORM_MODE','_oKey','SNAPSHOT_URL_KEY','_retryConnectingTimer','roomInfos','incrementRevOfUnit','CBC','routeKey','msCrypto','_schedule','csRejEvent','_iKey','collaboration-client.config','open$','ALREADY_EXISTS','byteOffset','prototype','UNAUTHENTICATED','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_joinRoom','objects','findIndex','_eventService','_prevBlock','_key','complete','padding','getConfig','sessionStatus','48404UaBcCE','_changesetSessionId','_executeRemoteChangeset','PY_RUNTIME_SCRIPT_ERROR','code','fromCollab','workbook','JOIN_ROOM_NOT_EXISTS','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNIVER_SHEET','fromCharCode','synced','delete','addImageSourceCache','liveShareNewHost','randomBytes','COMMENT_UPDATE','confirm','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_startCollaboration','image/png','_networkConditionService','state','_getCtorByUniverType','crypto','socket\x20close','reject','_transformSelections','parse','_reverseMap','algo','src','_onConnectionOpen','NEW_CHANGESETS','data','_pendingMutations','encryptBlock','Error\x20on\x20receiving\x20event','send','_clearRedo','extend','set','[SyncedState]:\x20received\x20acknowledgement.','put','finalize','_transformUndoredo','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_acknowledgedAwaitingChangeset','APPLY_REJECT','/universer-api/authz','_incrementRevisionNumber','onTransformState','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','sheets','HELLO','unit-cache-','_xformMode','[PendingState]:\x20received\x20acknowledgement.','patch','MD5','COMPLETION_FINISHED','CLOSE_ROOM','_snapshotServerService','executeCommand','transformMutationsWithChangeset','getResourcesRequest','[CollaborationEntity]','_clearScheduledTask','[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.','csAckEvent','keySize','kdf','_clearRetryConnectingTimer','find','PasswordBasedCipher','allowed','updatePermissionPoint','Malformed\x20UTF-8\x20data','_transitionLocked','processBlock','UNIVER_SLIDE','localeService','socket\x20open.','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_toggleOnline','_doProcessBlock','next','USERS_LEAVE','LOGIN_FAILED','collaboratorID','create','Latin1','EvpKDF','change$','connection\x20error','reverse','signUrlServerUrl','getUnitOnRev','reset','HmacSHA1','getWorkbookSelections','_redoStacks','_timeoutTimer','_instanceService','updatePermissionObjEvent','downloadEndpointUrl','_userManagerService','LIVESHARE_FETCH_OPERATIONS','Undefined','getUnitId','_socketMessageSubscription','image/jpg','_submitChangeset','/collaborator','entries','MSG_FOR_ERROR','mixIn','CHANGESET_SHOULD_RETRY','_socketService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','includes','title','Cipher','NoPadding','_members$','_transformRemoteChangesetByIMECache','fetch_missing','closeSession','_logService','isArray','_updateState','session.room-full','WordArray','rev','now','getUnitType','_disableEditing','params','charCodeAt','TOO_MANY_REQUESTS','toggleOnline','Base64','UPDATE_CURSOR','onTransformRemoteChangesetByStateCache','_invKeySchedule','Utf8','onCommentUpdate','mode','getOwnPropertyDescriptor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','userID','compute','YUUMI_URL_COL_OUT_OF_RANGE','[CollaborationUndoRedoService]','_retryCount','catch','asObservable','ERROR_IMAGE_TYPE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OpenSSL','ciphertext','_transformStateCache','_nDataBytes','[CollaborationSessionService]:\x20socket\x20error','getSheetBlock','pad','pending','_onRecvEvent','setCurrentUser','filter','pauseCollaboration','OTHER_CLIENT_EDITING','c2Prime','selections','uniscriptRunEvent','sigBytes','_state','enableAuthServer','_applyRemoteChangeset','_initMergeInterceptor','onMissingChangesets','mutations','collaboration-client.local-cache-service','_socketReady','onTransformRemoteChangesetByIMECache','LIVESHARE_TERMINATE','authzUrl','UNISCRIPT_RUN','onTransformSelections','objectID','eventID','MOBILE_VERIFY_CODE_MISMATCH','Hasher','get','getUnitStatus$','JOIN','error$','_singleActiveUnitService','StreamCipher','onStarting','repeat','removeMember','2KvIiTa','requestParams','YUUMI_CONNECTOR_URL_NOT_FOUND','members$','COMPRESS_MUTATION_SEND','method','conflict','_onRemoteChangeset','Base','_resendTimer','PERMISSION_DENIED','SerializableCipher','revision','session','interceptor','sessionStatus$','ONLINE','_clearHeartbeatTimer','_getSendChangesetTimeout','&source=','_createInitialStateImpl','_tryEnsureSocket','UNKNOWN_CMD','SUBMIT_CHANGESET_TIMEOUT','transformStack\x20failed!','uploadFileServerUrl','RECV','memberID','/object/','_permissionService','[OfflineState]:\x20received\x20acknowledgement.','objectType','_onFetchMissResult','Encryptor','_sendingTimer','commentUpdate$','_undoRedoService','length','univer-pro.collaboration-client.network-condition.service','enableOfflineEditing','MUTATION','unknown','getCurrentUser','_onRemoteACK','_sender','decryptBlock','[DataLoaderService]','disposeWithMe','Could\x20not\x20dynamically\x20require\x20\x22','batchAllowed','_getUploadFileURL','updateOfflineData','EMAIL_VERIFY_CODE_MISMATCH','_HTTPService','collaMsg','_clearLocalCache','createInstance','_revisionService','INTERNAL_ERROR','collaborators','_onRemoteRetry','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','defineProperty','getMember','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','POST','collaboration_new_changeset','_showConflictNotification','onRemoteRej','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_createHandler','editingUnit','format','_queuedRemoteChangesets','hasher','_sendHeartbeatTimer','_syncEditingCollabCursor','UNIVER_DOC','44yaGlul','image/bmp','ws://127.0.0.1:8000/universer-api/comb/connect','/allowed','onRemoteRetry','APPLY_PERMISSION_DENIED','map','decrypt','_collaborationTimeoutTimer','DEFAULT_FILE_NAME','MOBILE_HAS_BEEN_BOUND','APPLY_DUPLICATED','LICENSE_DISTRO_REJECTED','_entityInit$','UserProfileImg','_removeRoom','_config','Hex','joinEvent','clamp','saveChangeset','updateSnapshot','has','_initCloseConn','/universer-api/comb','_minBufferSize','_nRounds','_substituteUndoStack','state$','_getAPIPrefixPath','YUUMI_AI_RUN_FAILED','socketService','range','_unlockTransition','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','every','_commandService','onCommandExecuted','\x20in\x20_schedule.','_startTelemetryCollaborationNewChangeset','csShouldRetryEvent','BlockCipher','stopTime','_change$','_lockTransition','NOT_FOUND','blockSize','_state$','awaiting','floor','post','slice','getCurrentSelections','getActiveSheet','setConfig','LICENSE_EXPORT_SIZE_EXCEEDED','textRanges','encrypt','SNAPSHOT_INVALID_SNAPSHOT','_initRequestHeader','deepClone','_map','[CollaborationSessionService]','joinRsp','_handlerCallback','JOINING','getTypeOfUnitAdded$','_getDownloadEndpointURL','onRemoteAck','_scheduleCollaborationTimeoutTimer','/universer-api/stream/file/upload','FAIL','salt','_waitCount','_collabSessionService','hasOwnProperty','join','_changesetReqId','headers','deleteCollaborator','__creator','Decryptor','message$','members','newCsEvent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','UNIVER_COLLABORATION_CLIENT_PLUGIN','APPLY_REVISION_CONFILICT','INVITE_CODE_REQUIRED','UNRECOGNIZED','_univerInstanceService','setShowComponents','JOIN_ROOM_FULL','dispose$','_onConnectionFailed','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[OfflineState]:\x20received\x20changeset.','[FetchMissState]','close','buffer','pipe','_remoteChangesetQueue','getImageSourceCache','reduce','_sessions','session.join-failed','_initUnitPermissionChange','max','_collaborationPaused','_status$','random','NO_OTHER_CLIENTS_EDITING','LICENSE_MAX_UNITS_EXCEEDED','USER_NOT_INVITED_CODE','ERROR_IMAGE','capture','_unitID','x-univer-host','size','_sendHeartbeat','CONFLICT','default','\x20to\x20','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/role','/-/object/-/batch_allowed','RETRY_CONNECTING_MAX_COUNT','loadSheet','_keyPriorReset','YUUMI_ASYNCIO_CANCELLED','LEAVE','function','AWAITING','liveShareOperation','SNAPSHOT_HAS_BEEN_REMOVED','_stopTelemetryCollaborationNewChangeset','_undoStacks','YUUMI_UNABLE_LOAD_URL','UNIVER_PROJECT','permissionRejEvent','toString','c1Prime','_mode','_snapshotService','registerHTTPInterceptor','subject','transformSelections','init','unitId\x20is\x20not\x20found','abs','status$','HttpExport','forEach','shouldCloseConn','_iv','encode','_telemetryService','{fileID}','_getLoginPath','sin','listRoles','getSnapshotAPIPath','_emitMembers','COMPRESS_MUTATION_APPLY','OFFLINE','OTHER_CLIENTS_EDITING','emitEvent','lib','_DEC_XFORM_MODE','_onUserLeave','GLOBAL_ROOMS_CNT_EXCEEDS','_init','enc','onSyncEditingCollabCursor','_transformRemoteChangesetByStateCache','_rescheduleHeartbeat','_transformIMECache','FETCH_MISSING','onlyLocal','clear','editing\x20status\x20changed\x20to','/universer-api/snapshot','_resendTimeout','&to=','getInterceptPoints','startsWith','cmd','ENSURE_SNAPSHOT_EXECUTION','SUBMIT_CHANGESET','createEncryptor','body','status','_onJoinRoomEvent','_createHmacHelper','FileId','origin','push','loadDoc','_createSocket','univer-pro.collaboration-client-socket-service','stringify','awaitingChangeset','getMemberID','FETCH_MISS','SOCKET_FAILED_RETRY','_append','_injector','resolve','values','/universer-api/uniscript','appendMutation','key','changesets','_fetchMissChangesets'];_0x332e=function(){return _0x4a42c0;};return _0x332e();}function on(_0x2d73b6){var _0x8a9132=_0xe51f24;throw new Error(_0x8a9132(0x19d)+_0x2d73b6+'\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 _0x1ad1cd=_0xe51f24;return qt||(qt=0x1,function(_0xf60afc,_0x493612){(function(_0x5b4799,_0x4ba235){var _0x2b4c0e=_0x3c6c;_0xf60afc[_0x2b4c0e(0x35b)]=_0x4ba235();}(cn,function(){var _0x474c5e=_0x474c5e||function(_0x142fa2,_0x54105e){var _0x190275=_0x3c6c,_0x1a5c87;if(typeof window<'u'&&window[_0x190275(0x3b8)]&&(_0x1a5c87=window[_0x190275(0x3b8)]),typeof self<'u'&&self['crypto']&&(_0x1a5c87=self[_0x190275(0x3b8)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1a5c87=globalThis[_0x190275(0x3b8)]),!_0x1a5c87&&typeof window<'u'&&window[_0x190275(0x38b)]&&(_0x1a5c87=window[_0x190275(0x38b)]),!_0x1a5c87&&typeof ft<'u'&&ft[_0x190275(0x3b8)]&&(_0x1a5c87=ft['crypto']),!_0x1a5c87&&typeof on==_0x190275(0x23e))try{_0x1a5c87=require('crypto');}catch{}var _0x3a7264=function(){var _0x1d42c7=_0x190275;if(_0x1a5c87){if(typeof _0x1a5c87[_0x1d42c7(0x36f)]=='function')try{return _0x1a5c87['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1a5c87[_0x1d42c7(0x3af)]=='function')try{return _0x1a5c87[_0x1d42c7(0x3af)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1d42c7(0x371));},_0x5ee27c=Object['create']||(function(){function _0x55a682(){}return function(_0x1a1a15){var _0x18963c=_0x3c6c,_0x373c9c;return _0x55a682['prototype']=_0x1a1a15,_0x373c9c=new _0x55a682(),_0x55a682[_0x18963c(0x393)]=null,_0x373c9c;};}()),_0x1c4613={},_0x425b5a=_0x1c4613[_0x190275(0x262)]={},_0x28182b=_0x425b5a[_0x190275(0x175)]=(function(){return{'extend':function(_0xf02639){var _0x49aaa3=_0x3c6c,_0x1705f0=_0x5ee27c(this);return _0xf02639&&_0x1705f0['mixIn'](_0xf02639),(!_0x1705f0[_0x49aaa3(0x206)]('init')||this[_0x49aaa3(0x24e)]===_0x1705f0[_0x49aaa3(0x24e)])&&(_0x1705f0[_0x49aaa3(0x24e)]=function(){var _0x3b9c5f=_0x49aaa3;_0x1705f0[_0x3b9c5f(0x333)][_0x3b9c5f(0x24e)][_0x3b9c5f(0x2bf)](this,arguments);}),_0x1705f0[_0x49aaa3(0x24e)][_0x49aaa3(0x393)]=_0x1705f0,_0x1705f0[_0x49aaa3(0x333)]=this,_0x1705f0;},'create':function(){var _0x1ef993=_0x3c6c,_0x200525=this[_0x1ef993(0x3c8)]();return _0x200525[_0x1ef993(0x24e)]['apply'](_0x200525,arguments),_0x200525;},'init':function(){},'mixIn':function(_0x4753f7){var _0x207316=_0x3c6c;for(var _0x3acbe9 in _0x4753f7)_0x4753f7[_0x207316(0x206)](_0x3acbe9)&&(this[_0x3acbe9]=_0x4753f7[_0x3acbe9]);_0x4753f7[_0x207316(0x206)](_0x207316(0x247))&&(this[_0x207316(0x247)]=_0x4753f7['toString']);},'clone':function(){var _0x563ffd=_0x3c6c;return this['init'][_0x563ffd(0x393)][_0x563ffd(0x3c8)](this);}};}()),_0x40c557=_0x425b5a[_0x190275(0x424)]=_0x28182b['extend']({'init':function(_0x82dafe,_0x27a486){var _0x1a3f37=_0x190275;_0x82dafe=this[_0x1a3f37(0x2f6)]=_0x82dafe||[],_0x27a486!=_0x54105e?this[_0x1a3f37(0x152)]=_0x27a486:this[_0x1a3f37(0x152)]=_0x82dafe[_0x1a3f37(0x192)]*0x4;},'toString':function(_0x2101e9){var _0x3fea86=_0x190275;return(_0x2101e9||_0x330a17)[_0x3fea86(0x283)](this);},'concat':function(_0x1b2186){var _0x2cea1d=_0x190275,_0x34c943=this[_0x2cea1d(0x2f6)],_0x13d440=_0x1b2186[_0x2cea1d(0x2f6)],_0x21afef=this[_0x2cea1d(0x152)],_0x2abc03=_0x1b2186[_0x2cea1d(0x152)];if(this[_0x2cea1d(0x1ce)](),_0x21afef%0x4)for(var _0x562215=0x0;_0x562215<_0x2abc03;_0x562215++){var _0x184d3d=_0x13d440[_0x562215>>>0x2]>>>0x18-_0x562215%0x4*0x8&0xff;_0x34c943[_0x21afef+_0x562215>>>0x2]|=_0x184d3d<<0x18-(_0x21afef+_0x562215)%0x4*0x8;}else{for(var _0x327dff=0x0;_0x327dff<_0x2abc03;_0x327dff+=0x4)_0x34c943[_0x21afef+_0x327dff>>>0x2]=_0x13d440[_0x327dff>>>0x2];}return this['sigBytes']+=_0x2abc03,this;},'clamp':function(){var _0x15b8f2=_0x190275,_0x465bfb=this[_0x15b8f2(0x2f6)],_0x48cdb6=this[_0x15b8f2(0x152)];_0x465bfb[_0x48cdb6>>>0x2]&=0xffffffff<<0x20-_0x48cdb6%0x4*0x8,_0x465bfb[_0x15b8f2(0x192)]=_0x142fa2[_0x15b8f2(0x2f2)](_0x48cdb6/0x4);},'clone':function(){var _0x322b49=_0x190275,_0xf05181=_0x28182b[_0x322b49(0x2be)][_0x322b49(0x29a)](this);return _0xf05181['words']=this[_0x322b49(0x2f6)]['slice'](0x0),_0xf05181;},'random':function(_0x3149b2){var _0x3efedb=_0x190275;for(var _0x38f001=[],_0x3483db=0x0;_0x3483db<_0x3149b2;_0x3483db+=0x4)_0x38f001[_0x3efedb(0x27f)](_0x3a7264());return new _0x40c557[(_0x3efedb(0x24e))](_0x38f001,_0x3149b2);}}),_0x2bc150=_0x1c4613['enc']={},_0x330a17=_0x2bc150[_0x190275(0x1cc)]={'stringify':function(_0x3a1773){var _0x3bfbf4=_0x190275;for(var _0x421082=_0x3a1773[_0x3bfbf4(0x2f6)],_0x4873bc=_0x3a1773[_0x3bfbf4(0x152)],_0x4e07ba=[],_0x30a9a0=0x0;_0x30a9a0<_0x4873bc;_0x30a9a0++){var _0x4ceb1a=_0x421082[_0x30a9a0>>>0x2]>>>0x18-_0x30a9a0%0x4*0x8&0xff;_0x4e07ba[_0x3bfbf4(0x27f)]((_0x4ceb1a>>>0x4)[_0x3bfbf4(0x247)](0x10)),_0x4e07ba[_0x3bfbf4(0x27f)]((_0x4ceb1a&0xf)[_0x3bfbf4(0x247)](0x10));}return _0x4e07ba[_0x3bfbf4(0x207)]('');},'parse':function(_0x4846bd){var _0x5b6ba3=_0x190275;for(var _0x126785=_0x4846bd[_0x5b6ba3(0x192)],_0x5acc72=[],_0x5b92fc=0x0;_0x5b92fc<_0x126785;_0x5b92fc+=0x2)_0x5acc72[_0x5b92fc>>>0x3]|=parseInt(_0x4846bd['substr'](_0x5b92fc,0x2),0x10)<<0x18-_0x5b92fc%0x8*0x4;return new _0x40c557[(_0x5b6ba3(0x24e))](_0x5acc72,_0x126785/0x2);}},_0x1d933b=_0x2bc150[_0x190275(0x3fb)]={'stringify':function(_0x1c7542){var _0x56ca2b=_0x190275;for(var _0x5a8770=_0x1c7542['words'],_0x3a62bc=_0x1c7542[_0x56ca2b(0x152)],_0x52e977=[],_0x5940cf=0x0;_0x5940cf<_0x3a62bc;_0x5940cf++){var _0x17ccdc=_0x5a8770[_0x5940cf>>>0x2]>>>0x18-_0x5940cf%0x4*0x8&0xff;_0x52e977[_0x56ca2b(0x27f)](String[_0x56ca2b(0x3aa)](_0x17ccdc));}return _0x52e977[_0x56ca2b(0x207)]('');},'parse':function(_0x2b733e){var _0x265bcc=_0x190275;for(var _0x33c5e5=_0x2b733e[_0x265bcc(0x192)],_0xfbfc1e=[],_0x4ad9e0=0x0;_0x4ad9e0<_0x33c5e5;_0x4ad9e0++)_0xfbfc1e[_0x4ad9e0>>>0x2]|=(_0x2b733e[_0x265bcc(0x42a)](_0x4ad9e0)&0xff)<<0x18-_0x4ad9e0%0x4*0x8;return new _0x40c557['init'](_0xfbfc1e,_0x33c5e5);}},_0x77d3e0=_0x2bc150[_0x190275(0x431)]={'stringify':function(_0x14a243){var _0x3fb3ab=_0x190275;try{return decodeURIComponent(escape(_0x1d933b[_0x3fb3ab(0x283)](_0x14a243)));}catch{throw new Error(_0x3fb3ab(0x3ed));}},'parse':function(_0x27796b){var _0x59ea14=_0x190275;return _0x1d933b[_0x59ea14(0x3bc)](unescape(encodeURIComponent(_0x27796b)));}},_0x256581=_0x425b5a['BufferedBlockAlgorithm']=_0x28182b[_0x190275(0x3c8)]({'reset':function(){var _0x56d22d=_0x190275;this[_0x56d22d(0x325)]=new _0x40c557[(_0x56d22d(0x24e))](),this[_0x56d22d(0x442)]=0x0;},'_append':function(_0xd3320d){var _0x354bc7=_0x190275;typeof _0xd3320d==_0x354bc7(0x32b)&&(_0xd3320d=_0x77d3e0[_0x354bc7(0x3bc)](_0xd3320d)),this[_0x354bc7(0x325)]['concat'](_0xd3320d),this[_0x354bc7(0x442)]+=_0xd3320d[_0x354bc7(0x152)];},'_process':function(_0x4d4d4a){var _0x504b1e=_0x190275,_0x3843d8,_0x4ae116=this['_data'],_0x3474d0=_0x4ae116[_0x504b1e(0x2f6)],_0x3feca1=_0x4ae116[_0x504b1e(0x152)],_0x500cb2=this['blockSize'],_0x4f5769=_0x500cb2*0x4,_0xc3be2d=_0x3feca1/_0x4f5769;_0x4d4d4a?_0xc3be2d=_0x142fa2[_0x504b1e(0x2f2)](_0xc3be2d):_0xc3be2d=_0x142fa2[_0x504b1e(0x226)]((_0xc3be2d|0x0)-this[_0x504b1e(0x1d4)],0x0);var _0x204952=_0xc3be2d*_0x500cb2,_0x34db3c=_0x142fa2[_0x504b1e(0x2d9)](_0x204952*0x4,_0x3feca1);if(_0x204952){for(var _0xc181fb=0x0;_0xc181fb<_0x204952;_0xc181fb+=_0x500cb2)this[_0x504b1e(0x3f5)](_0x3474d0,_0xc181fb);_0x3843d8=_0x3474d0[_0x504b1e(0x2dd)](0x0,_0x204952),_0x4ae116[_0x504b1e(0x152)]-=_0x34db3c;}return new _0x40c557[(_0x504b1e(0x24e))](_0x3843d8,_0x34db3c);},'clone':function(){var _0x2dc0b5=_0x190275,_0x42fe8a=_0x28182b[_0x2dc0b5(0x2be)][_0x2dc0b5(0x29a)](this);return _0x42fe8a['_data']=this['_data'][_0x2dc0b5(0x2be)](),_0x42fe8a;},'_minBufferSize':0x0});_0x425b5a[_0x190275(0x163)]=_0x256581[_0x190275(0x3c8)]({'cfg':_0x28182b['extend'](),'init':function(_0x1a448f){var _0x33c29c=_0x190275;this['cfg']=this[_0x33c29c(0x29b)][_0x33c29c(0x3c8)](_0x1a448f),this[_0x33c29c(0x402)]();},'reset':function(){var _0x1e3665=_0x190275;_0x256581['reset'][_0x1e3665(0x29a)](this),this[_0x1e3665(0x302)]();},'update':function(_0x41a12a){var _0x2609b5=_0x190275;return this[_0x2609b5(0x288)](_0x41a12a),this[_0x2609b5(0x2e4)](),this;},'finalize':function(_0x11f46e){var _0x21a76f=_0x190275;_0x11f46e&&this[_0x21a76f(0x288)](_0x11f46e);var _0x302e7d=this[_0x21a76f(0x305)]();return _0x302e7d;},'blockSize':0x10,'_createHelper':function(_0x398e15){return function(_0x2ac817,_0x3960f7){var _0x365a29=_0x3c6c;return new _0x398e15[(_0x365a29(0x24e))](_0x3960f7)[_0x365a29(0x3cc)](_0x2ac817);};},'_createHmacHelper':function(_0x5b7791){return function(_0xe47b1e,_0x58ebd1){var _0x4b87e8=_0x3c6c;return new _0x5ea179['HMAC'][(_0x4b87e8(0x24e))](_0x5b7791,_0x58ebd1)['finalize'](_0xe47b1e);};}});var _0x5ea179=_0x1c4613[_0x190275(0x3be)]={};return _0x1c4613;}(Math);return _0x474c5e;}));}(We)),We[_0x1ad1cd(0x35b)];}var Ge={'exports':{}},hn=Ge[_0xe51f24(0x35b)],zt;function Ri(){var _0x5c0d9b=_0xe51f24;return zt||(zt=0x1,function(_0x288144,_0x35ed71){(function(_0x122613,_0x23ea83){var _0x5c7b8d=_0x3c6c;_0x288144[_0x5c7b8d(0x35b)]=_0x23ea83(te());}(hn,function(_0x2c57ed){var _0x23cd44=_0x3c6c;return(function(){var _0x3e010d=_0x3c6c,_0x2f3366=_0x2c57ed,_0xe8fc1b=_0x2f3366[_0x3e010d(0x262)],_0x5e2634=_0xe8fc1b[_0x3e010d(0x424)],_0x59fccf=_0x2f3366[_0x3e010d(0x267)];_0x59fccf['Base64']={'stringify':function(_0x2d11e1){var _0x1818ae=_0x3e010d,_0x5e82a1=_0x2d11e1[_0x1818ae(0x2f6)],_0x3d56f5=_0x2d11e1['sigBytes'],_0xafb5d8=this[_0x1818ae(0x1f8)];_0x2d11e1[_0x1818ae(0x1ce)]();for(var _0x51000a=[],_0x1677dd=0x0;_0x1677dd<_0x3d56f5;_0x1677dd+=0x3)for(var _0x300eb6=_0x5e82a1[_0x1677dd>>>0x2]>>>0x18-_0x1677dd%0x4*0x8&0xff,_0xaae03b=_0x5e82a1[_0x1677dd+0x1>>>0x2]>>>0x18-(_0x1677dd+0x1)%0x4*0x8&0xff,_0x45ddc0=_0x5e82a1[_0x1677dd+0x2>>>0x2]>>>0x18-(_0x1677dd+0x2)%0x4*0x8&0xff,_0x5771bc=_0x300eb6<<0x10|_0xaae03b<<0x8|_0x45ddc0,_0x4b9589=0x0;_0x4b9589<0x4&&_0x1677dd+_0x4b9589*0.75<_0x3d56f5;_0x4b9589++)_0x51000a[_0x1818ae(0x27f)](_0xafb5d8['charAt'](_0x5771bc>>>0x6*(0x3-_0x4b9589)&0x3f));var _0x324b45=_0xafb5d8[_0x1818ae(0x31a)](0x40);if(_0x324b45){for(;_0x51000a[_0x1818ae(0x192)]%0x4;)_0x51000a[_0x1818ae(0x27f)](_0x324b45);}return _0x51000a[_0x1818ae(0x207)]('');},'parse':function(_0x3b1705){var _0x1c5ca8=_0x3e010d,_0x1ac638=_0x3b1705[_0x1c5ca8(0x192)],_0x2a40e3=this[_0x1c5ca8(0x1f8)],_0x404219=this[_0x1c5ca8(0x3bd)];if(!_0x404219){_0x404219=this[_0x1c5ca8(0x3bd)]=[];for(var _0x257d92=0x0;_0x257d92<_0x2a40e3['length'];_0x257d92++)_0x404219[_0x2a40e3[_0x1c5ca8(0x42a)](_0x257d92)]=_0x257d92;}var _0x38bd8e=_0x2a40e3[_0x1c5ca8(0x31a)](0x40);if(_0x38bd8e){var _0x3d2310=_0x3b1705['indexOf'](_0x38bd8e);_0x3d2310!==-0x1&&(_0x1ac638=_0x3d2310);}return _0x5cec12(_0x3b1705,_0x1ac638,_0x404219);},'_map':_0x3e010d(0x315)};function _0x5cec12(_0x43f49c,_0xb78bde,_0x164c16){var _0x4ae83d=_0x3e010d;for(var _0x5c993c=[],_0x543d7a=0x0,_0x51a071=0x0;_0x51a071<_0xb78bde;_0x51a071++)if(_0x51a071%0x4){var _0x44fd74=_0x164c16[_0x43f49c[_0x4ae83d(0x42a)](_0x51a071-0x1)]<<_0x51a071%0x4*0x2,_0x5c3f4d=_0x164c16[_0x43f49c[_0x4ae83d(0x42a)](_0x51a071)]>>>0x6-_0x51a071%0x4*0x2,_0x25ced8=_0x44fd74|_0x5c3f4d;_0x5c993c[_0x543d7a>>>0x2]|=_0x25ced8<<0x18-_0x543d7a%0x4*0x8,_0x543d7a++;}return _0x5e2634[_0x4ae83d(0x3fa)](_0x5c993c,_0x543d7a);}}()),_0x2c57ed[_0x23cd44(0x267)]['Base64'];}));}(Ge)),Ge[_0x5c0d9b(0x35b)];}var Ye={'exports':{}},_n=Ye[_0xe51f24(0x35b)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x239496,_0x576116){(function(_0x4a1ccc,_0xd80863){_0x239496['exports']=_0xd80863(te());}(_n,function(_0x16031a){var _0x1bb410=_0x3c6c;return function(_0x509f4e){var _0xcece9c=_0x3c6c,_0x125128=_0x16031a,_0x163056=_0x125128[_0xcece9c(0x262)],_0x4d9d4f=_0x163056[_0xcece9c(0x424)],_0x2ab184=_0x163056[_0xcece9c(0x163)],_0x3e1cc4=_0x125128['algo'],_0xb677e9=[];(function(){var _0x12c75b=_0xcece9c;for(var _0x596a3=0x0;_0x596a3<0x40;_0x596a3++)_0xb677e9[_0x596a3]=_0x509f4e[_0x12c75b(0x250)](_0x509f4e[_0x12c75b(0x25a)](_0x596a3+0x1))*0x100000000|0x0;}());var _0x496292=_0x3e1cc4[_0xcece9c(0x3db)]=_0x2ab184[_0xcece9c(0x3c8)]({'_doReset':function(){var _0x583988=_0xcece9c;this['_hash']=new _0x4d9d4f[(_0x583988(0x24e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4aaa6d,_0x451dbe){var _0x54c251=_0xcece9c;for(var _0x320459=0x0;_0x320459<0x10;_0x320459++){var _0x5d6049=_0x451dbe+_0x320459,_0x71f86a=_0x4aaa6d[_0x5d6049];_0x4aaa6d[_0x5d6049]=(_0x71f86a<<0x8|_0x71f86a>>>0x18)&0xff00ff|(_0x71f86a<<0x18|_0x71f86a>>>0x8)&0xff00ff00;}var _0x3cbcb8=this[_0x54c251(0x361)][_0x54c251(0x2f6)],_0x3064f2=_0x4aaa6d[_0x451dbe+0x0],_0x1b3618=_0x4aaa6d[_0x451dbe+0x1],_0x270b2a=_0x4aaa6d[_0x451dbe+0x2],_0x5d74e5=_0x4aaa6d[_0x451dbe+0x3],_0x352d40=_0x4aaa6d[_0x451dbe+0x4],_0x2bb93c=_0x4aaa6d[_0x451dbe+0x5],_0x1cfbf2=_0x4aaa6d[_0x451dbe+0x6],_0xe84fa4=_0x4aaa6d[_0x451dbe+0x7],_0x52c943=_0x4aaa6d[_0x451dbe+0x8],_0x1573bd=_0x4aaa6d[_0x451dbe+0x9],_0x240b57=_0x4aaa6d[_0x451dbe+0xa],_0x1065c6=_0x4aaa6d[_0x451dbe+0xb],_0x406954=_0x4aaa6d[_0x451dbe+0xc],_0x26e356=_0x4aaa6d[_0x451dbe+0xd],_0x336272=_0x4aaa6d[_0x451dbe+0xe],_0x3584d5=_0x4aaa6d[_0x451dbe+0xf],_0x45dedd=_0x3cbcb8[0x0],_0x208c5c=_0x3cbcb8[0x1],_0x2043ec=_0x3cbcb8[0x2],_0x40fec2=_0x3cbcb8[0x3];_0x45dedd=_0x5f266c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x3064f2,0x7,_0xb677e9[0x0]),_0x40fec2=_0x5f266c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x1b3618,0xc,_0xb677e9[0x1]),_0x2043ec=_0x5f266c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x270b2a,0x11,_0xb677e9[0x2]),_0x208c5c=_0x5f266c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x5d74e5,0x16,_0xb677e9[0x3]),_0x45dedd=_0x5f266c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x352d40,0x7,_0xb677e9[0x4]),_0x40fec2=_0x5f266c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x2bb93c,0xc,_0xb677e9[0x5]),_0x2043ec=_0x5f266c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x1cfbf2,0x11,_0xb677e9[0x6]),_0x208c5c=_0x5f266c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0xe84fa4,0x16,_0xb677e9[0x7]),_0x45dedd=_0x5f266c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x52c943,0x7,_0xb677e9[0x8]),_0x40fec2=_0x5f266c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x1573bd,0xc,_0xb677e9[0x9]),_0x2043ec=_0x5f266c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x240b57,0x11,_0xb677e9[0xa]),_0x208c5c=_0x5f266c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x1065c6,0x16,_0xb677e9[0xb]),_0x45dedd=_0x5f266c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x406954,0x7,_0xb677e9[0xc]),_0x40fec2=_0x5f266c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x26e356,0xc,_0xb677e9[0xd]),_0x2043ec=_0x5f266c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x336272,0x11,_0xb677e9[0xe]),_0x208c5c=_0x5f266c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x3584d5,0x16,_0xb677e9[0xf]),_0x45dedd=_0x410e94(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x1b3618,0x5,_0xb677e9[0x10]),_0x40fec2=_0x410e94(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x1cfbf2,0x9,_0xb677e9[0x11]),_0x2043ec=_0x410e94(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x1065c6,0xe,_0xb677e9[0x12]),_0x208c5c=_0x410e94(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x3064f2,0x14,_0xb677e9[0x13]),_0x45dedd=_0x410e94(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x2bb93c,0x5,_0xb677e9[0x14]),_0x40fec2=_0x410e94(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x240b57,0x9,_0xb677e9[0x15]),_0x2043ec=_0x410e94(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x3584d5,0xe,_0xb677e9[0x16]),_0x208c5c=_0x410e94(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x352d40,0x14,_0xb677e9[0x17]),_0x45dedd=_0x410e94(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x1573bd,0x5,_0xb677e9[0x18]),_0x40fec2=_0x410e94(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x336272,0x9,_0xb677e9[0x19]),_0x2043ec=_0x410e94(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x5d74e5,0xe,_0xb677e9[0x1a]),_0x208c5c=_0x410e94(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x52c943,0x14,_0xb677e9[0x1b]),_0x45dedd=_0x410e94(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x26e356,0x5,_0xb677e9[0x1c]),_0x40fec2=_0x410e94(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x270b2a,0x9,_0xb677e9[0x1d]),_0x2043ec=_0x410e94(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0xe84fa4,0xe,_0xb677e9[0x1e]),_0x208c5c=_0x410e94(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x406954,0x14,_0xb677e9[0x1f]),_0x45dedd=_0x29726c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x2bb93c,0x4,_0xb677e9[0x20]),_0x40fec2=_0x29726c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x52c943,0xb,_0xb677e9[0x21]),_0x2043ec=_0x29726c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x1065c6,0x10,_0xb677e9[0x22]),_0x208c5c=_0x29726c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x336272,0x17,_0xb677e9[0x23]),_0x45dedd=_0x29726c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x1b3618,0x4,_0xb677e9[0x24]),_0x40fec2=_0x29726c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x352d40,0xb,_0xb677e9[0x25]),_0x2043ec=_0x29726c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0xe84fa4,0x10,_0xb677e9[0x26]),_0x208c5c=_0x29726c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x240b57,0x17,_0xb677e9[0x27]),_0x45dedd=_0x29726c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x26e356,0x4,_0xb677e9[0x28]),_0x40fec2=_0x29726c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x3064f2,0xb,_0xb677e9[0x29]),_0x2043ec=_0x29726c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x5d74e5,0x10,_0xb677e9[0x2a]),_0x208c5c=_0x29726c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x1cfbf2,0x17,_0xb677e9[0x2b]),_0x45dedd=_0x29726c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x1573bd,0x4,_0xb677e9[0x2c]),_0x40fec2=_0x29726c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x406954,0xb,_0xb677e9[0x2d]),_0x2043ec=_0x29726c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x3584d5,0x10,_0xb677e9[0x2e]),_0x208c5c=_0x29726c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x270b2a,0x17,_0xb677e9[0x2f]),_0x45dedd=_0x19c3fe(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x3064f2,0x6,_0xb677e9[0x30]),_0x40fec2=_0x19c3fe(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0xe84fa4,0xa,_0xb677e9[0x31]),_0x2043ec=_0x19c3fe(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x336272,0xf,_0xb677e9[0x32]),_0x208c5c=_0x19c3fe(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x2bb93c,0x15,_0xb677e9[0x33]),_0x45dedd=_0x19c3fe(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x406954,0x6,_0xb677e9[0x34]),_0x40fec2=_0x19c3fe(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x5d74e5,0xa,_0xb677e9[0x35]),_0x2043ec=_0x19c3fe(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x240b57,0xf,_0xb677e9[0x36]),_0x208c5c=_0x19c3fe(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x1b3618,0x15,_0xb677e9[0x37]),_0x45dedd=_0x19c3fe(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x52c943,0x6,_0xb677e9[0x38]),_0x40fec2=_0x19c3fe(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x3584d5,0xa,_0xb677e9[0x39]),_0x2043ec=_0x19c3fe(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x1cfbf2,0xf,_0xb677e9[0x3a]),_0x208c5c=_0x19c3fe(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x26e356,0x15,_0xb677e9[0x3b]),_0x45dedd=_0x19c3fe(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x352d40,0x6,_0xb677e9[0x3c]),_0x40fec2=_0x19c3fe(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x1065c6,0xa,_0xb677e9[0x3d]),_0x2043ec=_0x19c3fe(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x270b2a,0xf,_0xb677e9[0x3e]),_0x208c5c=_0x19c3fe(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x1573bd,0x15,_0xb677e9[0x3f]),_0x3cbcb8[0x0]=_0x3cbcb8[0x0]+_0x45dedd|0x0,_0x3cbcb8[0x1]=_0x3cbcb8[0x1]+_0x208c5c|0x0,_0x3cbcb8[0x2]=_0x3cbcb8[0x2]+_0x2043ec|0x0,_0x3cbcb8[0x3]=_0x3cbcb8[0x3]+_0x40fec2|0x0;},'_doFinalize':function(){var _0x4f7e3c=_0xcece9c,_0x117c51=this[_0x4f7e3c(0x325)],_0x43ed32=_0x117c51[_0x4f7e3c(0x2f6)],_0x25e5a3=this[_0x4f7e3c(0x442)]*0x8,_0x485a25=_0x117c51[_0x4f7e3c(0x152)]*0x8;_0x43ed32[_0x485a25>>>0x5]|=0x80<<0x18-_0x485a25%0x20;var _0x20e37f=_0x509f4e['floor'](_0x25e5a3/0x100000000),_0x374db3=_0x25e5a3;_0x43ed32[(_0x485a25+0x40>>>0x9<<0x4)+0xf]=(_0x20e37f<<0x8|_0x20e37f>>>0x18)&0xff00ff|(_0x20e37f<<0x18|_0x20e37f>>>0x8)&0xff00ff00,_0x43ed32[(_0x485a25+0x40>>>0x9<<0x4)+0xe]=(_0x374db3<<0x8|_0x374db3>>>0x18)&0xff00ff|(_0x374db3<<0x18|_0x374db3>>>0x8)&0xff00ff00,_0x117c51[_0x4f7e3c(0x152)]=(_0x43ed32[_0x4f7e3c(0x192)]+0x1)*0x4,this[_0x4f7e3c(0x2e4)]();for(var _0x27daa5=this[_0x4f7e3c(0x361)],_0x95b160=_0x27daa5[_0x4f7e3c(0x2f6)],_0x3985ea=0x0;_0x3985ea<0x4;_0x3985ea++){var _0x21ec77=_0x95b160[_0x3985ea];_0x95b160[_0x3985ea]=(_0x21ec77<<0x8|_0x21ec77>>>0x18)&0xff00ff|(_0x21ec77<<0x18|_0x21ec77>>>0x8)&0xff00ff00;}return _0x27daa5;},'clone':function(){var _0x244c32=_0xcece9c,_0x2adac7=_0x2ab184['clone'][_0x244c32(0x29a)](this);return _0x2adac7[_0x244c32(0x361)]=this[_0x244c32(0x361)][_0x244c32(0x2be)](),_0x2adac7;}});function _0x5f266c(_0x4d10f2,_0x5906c7,_0x1ae7c7,_0xa8f5a5,_0x226e62,_0x166023,_0x299c2a){var _0x2b16c5=_0x4d10f2+(_0x5906c7&_0x1ae7c7|~_0x5906c7&_0xa8f5a5)+_0x226e62+_0x299c2a;return(_0x2b16c5<<_0x166023|_0x2b16c5>>>0x20-_0x166023)+_0x5906c7;}function _0x410e94(_0x5524a6,_0xf50265,_0x376622,_0x6fb3a1,_0x3bb8e7,_0xd5b158,_0x30cc7c){var _0x364cf2=_0x5524a6+(_0xf50265&_0x6fb3a1|_0x376622&~_0x6fb3a1)+_0x3bb8e7+_0x30cc7c;return(_0x364cf2<<_0xd5b158|_0x364cf2>>>0x20-_0xd5b158)+_0xf50265;}function _0x29726c(_0x43eba6,_0x1a045c,_0xc7ae68,_0x45f4bc,_0x5648be,_0x197c95,_0x18611b){var _0x1cb4db=_0x43eba6+(_0x1a045c^_0xc7ae68^_0x45f4bc)+_0x5648be+_0x18611b;return(_0x1cb4db<<_0x197c95|_0x1cb4db>>>0x20-_0x197c95)+_0x1a045c;}function _0x19c3fe(_0x559233,_0xbbbd73,_0x637b4a,_0x2410c9,_0x160d80,_0x36d074,_0x2fc410){var _0x584caf=_0x559233+(_0x637b4a^(_0xbbbd73|~_0x2410c9))+_0x160d80+_0x2fc410;return(_0x584caf<<_0x36d074|_0x584caf>>>0x20-_0x36d074)+_0xbbbd73;}_0x125128[_0xcece9c(0x3db)]=_0x2ab184[_0xcece9c(0x34c)](_0x496292),_0x125128['HmacMD5']=_0x2ab184['_createHmacHelper'](_0x496292);}(Math),_0x16031a[_0x1bb410(0x3db)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0xe51f24(0x35b)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x55803e,_0x57f0c1){(function(_0x38eb52,_0x373cec){var _0x190851=_0x3c6c;_0x55803e[_0x190851(0x35b)]=_0x373cec(te());}(un,function(_0x273b87){var _0x1cd2ea=_0x3c6c;return(function(){var _0x4ffab4=_0x3c6c,_0x3a63a8=_0x273b87,_0x322631=_0x3a63a8['lib'],_0x1e23c5=_0x322631['WordArray'],_0x1302f0=_0x322631[_0x4ffab4(0x163)],_0x5eb000=_0x3a63a8[_0x4ffab4(0x3be)],_0x4bf240=[],_0x5ce9cc=_0x5eb000['SHA1']=_0x1302f0[_0x4ffab4(0x3c8)]({'_doReset':function(){var _0xcd482=_0x4ffab4;this[_0xcd482(0x361)]=new _0x1e23c5[(_0xcd482(0x24e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x50705c,_0x4568af){var _0x9fcd83=_0x4ffab4;for(var _0x4f2fc5=this[_0x9fcd83(0x361)][_0x9fcd83(0x2f6)],_0x463492=_0x4f2fc5[0x0],_0x110313=_0x4f2fc5[0x1],_0x10c19a=_0x4f2fc5[0x2],_0x3b9781=_0x4f2fc5[0x3],_0x1b694d=_0x4f2fc5[0x4],_0x568ada=0x0;_0x568ada<0x50;_0x568ada++){if(_0x568ada<0x10)_0x4bf240[_0x568ada]=_0x50705c[_0x4568af+_0x568ada]|0x0;else{var _0x4a1178=_0x4bf240[_0x568ada-0x3]^_0x4bf240[_0x568ada-0x8]^_0x4bf240[_0x568ada-0xe]^_0x4bf240[_0x568ada-0x10];_0x4bf240[_0x568ada]=_0x4a1178<<0x1|_0x4a1178>>>0x1f;}var _0x5a4d66=(_0x463492<<0x5|_0x463492>>>0x1b)+_0x1b694d+_0x4bf240[_0x568ada];_0x568ada<0x14?_0x5a4d66+=(_0x110313&_0x10c19a|~_0x110313&_0x3b9781)+0x5a827999:_0x568ada<0x28?_0x5a4d66+=(_0x110313^_0x10c19a^_0x3b9781)+0x6ed9eba1:_0x568ada<0x3c?_0x5a4d66+=(_0x110313&_0x10c19a|_0x110313&_0x3b9781|_0x10c19a&_0x3b9781)-0x70e44324:_0x5a4d66+=(_0x110313^_0x10c19a^_0x3b9781)-0x359d3e2a,_0x1b694d=_0x3b9781,_0x3b9781=_0x10c19a,_0x10c19a=_0x110313<<0x1e|_0x110313>>>0x2,_0x110313=_0x463492,_0x463492=_0x5a4d66;}_0x4f2fc5[0x0]=_0x4f2fc5[0x0]+_0x463492|0x0,_0x4f2fc5[0x1]=_0x4f2fc5[0x1]+_0x110313|0x0,_0x4f2fc5[0x2]=_0x4f2fc5[0x2]+_0x10c19a|0x0,_0x4f2fc5[0x3]=_0x4f2fc5[0x3]+_0x3b9781|0x0,_0x4f2fc5[0x4]=_0x4f2fc5[0x4]+_0x1b694d|0x0;},'_doFinalize':function(){var _0x3782a5=_0x4ffab4,_0x334ba7=this[_0x3782a5(0x325)],_0x59a743=_0x334ba7['words'],_0x55b799=this['_nDataBytes']*0x8,_0xa03e63=_0x334ba7[_0x3782a5(0x152)]*0x8;return _0x59a743[_0xa03e63>>>0x5]|=0x80<<0x18-_0xa03e63%0x20,_0x59a743[(_0xa03e63+0x40>>>0x9<<0x4)+0xe]=Math[_0x3782a5(0x1ec)](_0x55b799/0x100000000),_0x59a743[(_0xa03e63+0x40>>>0x9<<0x4)+0xf]=_0x55b799,_0x334ba7['sigBytes']=_0x59a743[_0x3782a5(0x192)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x578601=_0x4ffab4,_0x234154=_0x1302f0['clone'][_0x578601(0x29a)](this);return _0x234154[_0x578601(0x361)]=this[_0x578601(0x361)][_0x578601(0x2be)](),_0x234154;}});_0x3a63a8[_0x4ffab4(0x344)]=_0x1302f0['_createHelper'](_0x5ce9cc),_0x3a63a8[_0x4ffab4(0x403)]=_0x1302f0[_0x4ffab4(0x27c)](_0x5ce9cc);}()),_0x273b87[_0x1cd2ea(0x344)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0xe51f24(0x35b)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x40830a,_0x172a50){(function(_0x1ff650,_0x5cae46){var _0x2fdb07=_0x3c6c;_0x40830a[_0x2fdb07(0x35b)]=_0x5cae46(te());}(fn,function(_0x185566){(function(){var _0x3a78aa=_0x3c6c,_0x409331=_0x185566,_0x238573=_0x409331['lib'],_0x2b1875=_0x238573[_0x3a78aa(0x175)],_0x4225c7=_0x409331[_0x3a78aa(0x267)],_0x6f02d9=_0x4225c7[_0x3a78aa(0x431)],_0x237712=_0x409331['algo'];_0x237712['HMAC']=_0x2b1875[_0x3a78aa(0x3c8)]({'init':function(_0x3fefd2,_0x49cd38){var _0x1d48db=_0x3a78aa;_0x3fefd2=this[_0x1d48db(0x321)]=new _0x3fefd2[(_0x1d48db(0x24e))](),typeof _0x49cd38==_0x1d48db(0x32b)&&(_0x49cd38=_0x6f02d9[_0x1d48db(0x3bc)](_0x49cd38));var _0x238595=_0x3fefd2[_0x1d48db(0x1e9)],_0x47b493=_0x238595*0x4;_0x49cd38[_0x1d48db(0x152)]>_0x47b493&&(_0x49cd38=_0x3fefd2[_0x1d48db(0x3cc)](_0x49cd38)),_0x49cd38[_0x1d48db(0x1ce)]();for(var _0x355484=this[_0x1d48db(0x384)]=_0x49cd38['clone'](),_0x5808ba=this[_0x1d48db(0x38e)]=_0x49cd38['clone'](),_0x586a73=_0x355484['words'],_0x546000=_0x5808ba['words'],_0x38345c=0x0;_0x38345c<_0x238595;_0x38345c++)_0x586a73[_0x38345c]^=0x5c5c5c5c,_0x546000[_0x38345c]^=0x36363636;_0x355484['sigBytes']=_0x5808ba[_0x1d48db(0x152)]=_0x47b493,this['reset']();},'reset':function(){var _0x12b54e=_0x3a78aa,_0x6f9217=this['_hasher'];_0x6f9217[_0x12b54e(0x402)](),_0x6f9217[_0x12b54e(0x37f)](this[_0x12b54e(0x38e)]);},'update':function(_0x1997c6){var _0x39bf36=_0x3a78aa;return this[_0x39bf36(0x321)][_0x39bf36(0x37f)](_0x1997c6),this;},'finalize':function(_0x3a30ba){var _0x4fd8df=_0x3a78aa,_0x3432de=this[_0x4fd8df(0x321)],_0x1046fe=_0x3432de[_0x4fd8df(0x3cc)](_0x3a30ba);_0x3432de[_0x4fd8df(0x402)]();var _0xc24cae=_0x3432de[_0x4fd8df(0x3cc)](this[_0x4fd8df(0x384)][_0x4fd8df(0x2be)]()[_0x4fd8df(0x322)](_0x1046fe));return _0xc24cae;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0xe51f24(0x35b)],Qt;function Oi(){var _0x183ef1=_0xe51f24;return Qt||(Qt=0x1,function(_0x3c8216,_0x28ea17){(function(_0x4f024e,_0x339276,_0x5d2880){_0x3c8216['exports']=_0x339276(te(),dn(),vn());}(pn,function(_0xee3175){return(function(){var _0x390ba0=_0x3c6c,_0x44bebf=_0xee3175,_0xe41938=_0x44bebf[_0x390ba0(0x262)],_0x56e05a=_0xe41938[_0x390ba0(0x175)],_0x3c83fb=_0xe41938['WordArray'],_0x5ac9c8=_0x44bebf[_0x390ba0(0x3be)],_0x26f6a7=_0x5ac9c8[_0x390ba0(0x3db)],_0x471a72=_0x5ac9c8[_0x390ba0(0x3fc)]=_0x56e05a[_0x390ba0(0x3c8)]({'cfg':_0x56e05a['extend']({'keySize':0x80/0x20,'hasher':_0x26f6a7,'iterations':0x1}),'init':function(_0x119c92){var _0x20920e=_0x390ba0;this[_0x20920e(0x29b)]=this[_0x20920e(0x29b)][_0x20920e(0x3c8)](_0x119c92);},'compute':function(_0x162e80,_0x4ae6ca){var _0x5afec2=_0x390ba0;for(var _0x59e790,_0x56ca8b=this['cfg'],_0x2271d0=_0x56ca8b[_0x5afec2(0x1b7)][_0x5afec2(0x3fa)](),_0x5b65b7=_0x3c83fb[_0x5afec2(0x3fa)](),_0xefa289=_0x5b65b7[_0x5afec2(0x2f6)],_0x4f9e08=_0x56ca8b['keySize'],_0x9e8077=_0x56ca8b['iterations'];_0xefa289[_0x5afec2(0x192)]<_0x4f9e08;){_0x59e790&&_0x2271d0[_0x5afec2(0x37f)](_0x59e790),_0x59e790=_0x2271d0[_0x5afec2(0x37f)](_0x162e80)[_0x5afec2(0x3cc)](_0x4ae6ca),_0x2271d0[_0x5afec2(0x402)]();for(var _0x13802e=0x1;_0x13802e<_0x9e8077;_0x13802e++)_0x59e790=_0x2271d0[_0x5afec2(0x3cc)](_0x59e790),_0x2271d0[_0x5afec2(0x402)]();_0x5b65b7['concat'](_0x59e790);}return _0x5b65b7[_0x5afec2(0x152)]=_0x4f9e08*0x4,_0x5b65b7;}});_0x44bebf[_0x390ba0(0x3fc)]=function(_0xff506b,_0x486bc3,_0x565f0d){return _0x471a72['create'](_0x565f0d)['compute'](_0xff506b,_0x486bc3);};}()),_0xee3175['EvpKDF'];}));}(Ke)),Ke[_0x183ef1(0x35b)];}var Je={'exports':{}},mn=Je[_0xe51f24(0x35b)],ei;function bi(){return ei||(ei=0x1,function(_0x285290,_0x3ecb39){(function(_0x582169,_0x544f8e,_0x500c10){var _0x32f360=_0x3c6c;_0x285290[_0x32f360(0x35b)]=_0x544f8e(te(),Oi());}(mn,function(_0x43b866){var _0x55c707=_0x3c6c;_0x43b866[_0x55c707(0x262)][_0x55c707(0x41a)]||function(_0x246ca1){var _0x4b31af=_0x55c707,_0x13e6ab=_0x43b866,_0x204ebd=_0x13e6ab[_0x4b31af(0x262)],_0x235741=_0x204ebd[_0x4b31af(0x175)],_0x5d3e77=_0x204ebd['WordArray'],_0x23f689=_0x204ebd['BufferedBlockAlgorithm'],_0x25806f=_0x13e6ab[_0x4b31af(0x267)];_0x25806f[_0x4b31af(0x431)];var _0x192e32=_0x25806f[_0x4b31af(0x42d)],_0x39dda6=_0x13e6ab[_0x4b31af(0x3be)],_0x5b2820=_0x39dda6[_0x4b31af(0x3fc)],_0x3ce13c=_0x204ebd[_0x4b31af(0x41a)]=_0x23f689[_0x4b31af(0x3c8)]({'cfg':_0x235741['extend'](),'createEncryptor':function(_0x5e0962,_0x85014e){var _0x15e9f5=_0x4b31af;return this[_0x15e9f5(0x3fa)](this[_0x15e9f5(0x383)],_0x5e0962,_0x85014e);},'createDecryptor':function(_0x1d4105,_0x9639da){var _0x13b6d2=_0x4b31af;return this['create'](this[_0x13b6d2(0x263)],_0x1d4105,_0x9639da);},'init':function(_0xbb1f85,_0x315115,_0x7639b6){var _0x53e393=_0x4b31af;this[_0x53e393(0x29b)]=this['cfg'][_0x53e393(0x3c8)](_0x7639b6),this[_0x53e393(0x3d8)]=_0xbb1f85,this[_0x53e393(0x39b)]=_0x315115,this['reset']();},'reset':function(){var _0x492af3=_0x4b31af;_0x23f689['reset'][_0x492af3(0x29a)](this),this[_0x492af3(0x302)]();},'process':function(_0x623869){var _0x1e3ff9=_0x4b31af;return this[_0x1e3ff9(0x288)](_0x623869),this['_process']();},'finalize':function(_0x2665f7){_0x2665f7&&this['_append'](_0x2665f7);var _0x50475b=this['_doFinalize']();return _0x50475b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3d0f10(_0x59e0d){var _0x55fcd4=_0x3c6c;return typeof _0x59e0d==_0x55fcd4(0x32b)?_0x2b7968:_0x2c69ed;}return function(_0x22b8f4){return{'encrypt':function(_0x48179a,_0x303486,_0x2b06e2){var _0x79f69=_0x3c6c;return _0x3d0f10(_0x303486)[_0x79f69(0x1f4)](_0x22b8f4,_0x48179a,_0x303486,_0x2b06e2);},'decrypt':function(_0x514202,_0x2c600f,_0x47be2e){return _0x3d0f10(_0x2c600f)['decrypt'](_0x22b8f4,_0x514202,_0x2c600f,_0x47be2e);}};};}())});_0x204ebd[_0x4b31af(0x169)]=_0x3ce13c[_0x4b31af(0x3c8)]({'_doFinalize':function(){var _0x14244c=_0x4b31af,_0x22ba66=this[_0x14244c(0x2e4)](!0x0);return _0x22ba66;},'blockSize':0x1});var _0x246a4b=_0x13e6ab[_0x4b31af(0x433)]={},_0x4b2fdb=_0x204ebd[_0x4b31af(0x363)]=_0x235741['extend']({'createEncryptor':function(_0x340063,_0x25330b){var _0x58a55e=_0x4b31af;return this[_0x58a55e(0x18e)][_0x58a55e(0x3fa)](_0x340063,_0x25330b);},'createDecryptor':function(_0x414330,_0x1ab32c){var _0x954234=_0x4b31af;return this[_0x954234(0x20c)]['create'](_0x414330,_0x1ab32c);},'init':function(_0x203f66,_0x46fd0e){var _0x3656a1=_0x4b31af;this['_cipher']=_0x203f66,this[_0x3656a1(0x255)]=_0x46fd0e;}}),_0x3e1811=_0x246a4b[_0x4b31af(0x389)]=(function(){var _0x18ca10=_0x4b31af,_0x19d416=_0x4b2fdb[_0x18ca10(0x3c8)]();_0x19d416[_0x18ca10(0x18e)]=_0x19d416[_0x18ca10(0x3c8)]({'processBlock':function(_0xae2077,_0x538305){var _0x15bda0=_0x18ca10,_0x11f5e5=this['_cipher'],_0xbb0831=_0x11f5e5[_0x15bda0(0x1e9)];_0x2caedd[_0x15bda0(0x29a)](this,_0xae2077,_0x538305,_0xbb0831),_0x11f5e5[_0x15bda0(0x3c4)](_0xae2077,_0x538305),this['_prevBlock']=_0xae2077['slice'](_0x538305,_0x538305+_0xbb0831);}}),_0x19d416[_0x18ca10(0x20c)]=_0x19d416[_0x18ca10(0x3c8)]({'processBlock':function(_0x154655,_0x316ddf){var _0x36a964=_0x18ca10,_0x453e84=this[_0x36a964(0x29c)],_0x3b137f=_0x453e84[_0x36a964(0x1e9)],_0x5d6887=_0x154655[_0x36a964(0x1ee)](_0x316ddf,_0x316ddf+_0x3b137f);_0x453e84[_0x36a964(0x19a)](_0x154655,_0x316ddf),_0x2caedd[_0x36a964(0x29a)](this,_0x154655,_0x316ddf,_0x3b137f),this['_prevBlock']=_0x5d6887;}});function _0x2caedd(_0x16116d,_0x69977a,_0x5b8473){var _0x50edaa=_0x18ca10,_0x4d79a9,_0x74b4ca=this[_0x50edaa(0x255)];_0x74b4ca?(_0x4d79a9=_0x74b4ca,this[_0x50edaa(0x255)]=_0x246ca1):_0x4d79a9=this[_0x50edaa(0x39a)];for(var _0x5dc9c2=0x0;_0x5dc9c2<_0x5b8473;_0x5dc9c2++)_0x16116d[_0x69977a+_0x5dc9c2]^=_0x4d79a9[_0x5dc9c2];}return _0x19d416;}()),_0x3e371f=_0x13e6ab[_0x4b31af(0x445)]={},_0x22aa26=_0x3e371f[_0x4b31af(0x2e0)]={'pad':function(_0x53db79,_0x44610f){var _0x11b94c=_0x4b31af;for(var _0x1906d6=_0x44610f*0x4,_0x28e167=_0x1906d6-_0x53db79[_0x11b94c(0x152)]%_0x1906d6,_0x345ded=_0x28e167<<0x18|_0x28e167<<0x10|_0x28e167<<0x8|_0x28e167,_0x4589ed=[],_0x54bdbd=0x0;_0x54bdbd<_0x28e167;_0x54bdbd+=0x4)_0x4589ed[_0x11b94c(0x27f)](_0x345ded);var _0x2cf3af=_0x5d3e77[_0x11b94c(0x3fa)](_0x4589ed,_0x28e167);_0x53db79[_0x11b94c(0x322)](_0x2cf3af);},'unpad':function(_0x444ad3){var _0x2a3090=_0x4b31af,_0x1a6d76=_0x444ad3['words'][_0x444ad3[_0x2a3090(0x152)]-0x1>>>0x2]&0xff;_0x444ad3[_0x2a3090(0x152)]-=_0x1a6d76;}};_0x204ebd[_0x4b31af(0x1e4)]=_0x3ce13c[_0x4b31af(0x3c8)]({'cfg':_0x3ce13c[_0x4b31af(0x29b)][_0x4b31af(0x3c8)]({'mode':_0x3e1811,'padding':_0x22aa26}),'reset':function(){var _0x225522=_0x4b31af,_0x3ec5d3;_0x3ce13c['reset'][_0x225522(0x29a)](this);var _0x4cf5d5=this[_0x225522(0x29b)],_0x2a2c43=_0x4cf5d5['iv'],_0x17eee5=_0x4cf5d5[_0x225522(0x433)];this[_0x225522(0x3d8)]==this[_0x225522(0x383)]?_0x3ec5d3=_0x17eee5[_0x225522(0x278)]:(_0x3ec5d3=_0x17eee5[_0x225522(0x2cf)],this[_0x225522(0x1d4)]=0x1),this[_0x225522(0x249)]&&this[_0x225522(0x249)][_0x225522(0x20b)]==_0x3ec5d3?this[_0x225522(0x249)][_0x225522(0x24e)](this,_0x2a2c43&&_0x2a2c43[_0x225522(0x2f6)]):(this[_0x225522(0x249)]=_0x3ec5d3['call'](_0x17eee5,this,_0x2a2c43&&_0x2a2c43[_0x225522(0x2f6)]),this['_mode']['__creator']=_0x3ec5d3);},'_doProcessBlock':function(_0xc972b5,_0x4a98a6){var _0xe29240=_0x4b31af;this[_0xe29240(0x249)][_0xe29240(0x3ef)](_0xc972b5,_0x4a98a6);},'_doFinalize':function(){var _0x12ae90=_0x4b31af,_0x46fad1,_0x3f62b7=this[_0x12ae90(0x29b)][_0x12ae90(0x39d)];return this['_xformMode']==this[_0x12ae90(0x383)]?(_0x3f62b7[_0x12ae90(0x445)](this['_data'],this[_0x12ae90(0x1e9)]),_0x46fad1=this['_process'](!0x0)):(_0x46fad1=this['_process'](!0x0),_0x3f62b7[_0x12ae90(0x2cd)](_0x46fad1)),_0x46fad1;},'blockSize':0x80/0x20});var _0x493c6e=_0x204ebd[_0x4b31af(0x293)]=_0x235741[_0x4b31af(0x3c8)]({'init':function(_0x15e695){var _0x3c50b2=_0x4b31af;this[_0x3c50b2(0x414)](_0x15e695);},'toString':function(_0x35e280){var _0x2f2fe3=_0x4b31af;return(_0x35e280||this[_0x2f2fe3(0x352)])[_0x2f2fe3(0x283)](this);}}),_0x4bff7b=_0x13e6ab[_0x4b31af(0x1b5)]={},_0x3f8f75=_0x4bff7b[_0x4b31af(0x43f)]={'stringify':function(_0x54a898){var _0x1f88e2=_0x4b31af,_0x208892,_0x3f7aee=_0x54a898[_0x1f88e2(0x440)],_0x466a62=_0x54a898[_0x1f88e2(0x203)];return _0x466a62?_0x208892=_0x5d3e77[_0x1f88e2(0x3fa)]([0x53616c74,0x65645f5f])['concat'](_0x466a62)[_0x1f88e2(0x322)](_0x3f7aee):_0x208892=_0x3f7aee,_0x208892['toString'](_0x192e32);},'parse':function(_0x53fce5){var _0x4174d4=_0x4b31af,_0x1ec3a1,_0x5b3e46=_0x192e32[_0x4174d4(0x3bc)](_0x53fce5),_0x5ed883=_0x5b3e46[_0x4174d4(0x2f6)];return _0x5ed883[0x0]==0x53616c74&&_0x5ed883[0x1]==0x65645f5f&&(_0x1ec3a1=_0x5d3e77[_0x4174d4(0x3fa)](_0x5ed883[_0x4174d4(0x1ee)](0x2,0x4)),_0x5ed883[_0x4174d4(0x2dd)](0x0,0x4),_0x5b3e46[_0x4174d4(0x152)]-=0x10),_0x493c6e[_0x4174d4(0x3fa)]({'ciphertext':_0x5b3e46,'salt':_0x1ec3a1});}},_0x2c69ed=_0x204ebd[_0x4b31af(0x178)]=_0x235741[_0x4b31af(0x3c8)]({'cfg':_0x235741[_0x4b31af(0x3c8)]({'format':_0x3f8f75}),'encrypt':function(_0x5af3f1,_0xf88f56,_0x3e5ad4,_0x33d65a){var _0x3aebf8=_0x4b31af;_0x33d65a=this[_0x3aebf8(0x29b)]['extend'](_0x33d65a);var _0x553d5c=_0x5af3f1[_0x3aebf8(0x278)](_0x3e5ad4,_0x33d65a),_0x6de17c=_0x553d5c['finalize'](_0xf88f56),_0x41ac2d=_0x553d5c[_0x3aebf8(0x29b)];return _0x493c6e['create']({'ciphertext':_0x6de17c,'key':_0x3e5ad4,'iv':_0x41ac2d['iv'],'algorithm':_0x5af3f1,'mode':_0x41ac2d[_0x3aebf8(0x433)],'padding':_0x41ac2d[_0x3aebf8(0x39d)],'blockSize':_0x5af3f1[_0x3aebf8(0x1e9)],'formatter':_0x33d65a[_0x3aebf8(0x1b5)]});},'decrypt':function(_0x5cce25,_0x2807b7,_0x4664f2,_0xd79bb4){var _0x5b9055=_0x4b31af;_0xd79bb4=this[_0x5b9055(0x29b)][_0x5b9055(0x3c8)](_0xd79bb4),_0x2807b7=this[_0x5b9055(0x2b4)](_0x2807b7,_0xd79bb4[_0x5b9055(0x1b5)]);var _0x3150c7=_0x5cce25[_0x5b9055(0x2cf)](_0x4664f2,_0xd79bb4)['finalize'](_0x2807b7[_0x5b9055(0x440)]);return _0x3150c7;},'_parse':function(_0x479dc2,_0x160d70){var _0x114d8c=_0x4b31af;return typeof _0x479dc2==_0x114d8c(0x32b)?_0x160d70['parse'](_0x479dc2,this):_0x479dc2;}}),_0x3f0483=_0x13e6ab[_0x4b31af(0x3e7)]={},_0x21f01b=_0x3f0483[_0x4b31af(0x43f)]={'execute':function(_0x1b72b7,_0x5a6690,_0x809cac,_0xc415c,_0x404171){var _0xfa2f7c=_0x4b31af;if(_0xc415c||(_0xc415c=_0x5d3e77['random'](0x40/0x8)),_0x404171)var _0x22451b=_0x5b2820[_0xfa2f7c(0x3fa)]({'keySize':_0x5a6690+_0x809cac,'hasher':_0x404171})[_0xfa2f7c(0x437)](_0x1b72b7,_0xc415c);else var _0x22451b=_0x5b2820['create']({'keySize':_0x5a6690+_0x809cac})[_0xfa2f7c(0x437)](_0x1b72b7,_0xc415c);var _0x2cc66f=_0x5d3e77[_0xfa2f7c(0x3fa)](_0x22451b[_0xfa2f7c(0x2f6)]['slice'](_0x5a6690),_0x809cac*0x4);return _0x22451b['sigBytes']=_0x5a6690*0x4,_0x493c6e['create']({'key':_0x22451b,'iv':_0x2cc66f,'salt':_0xc415c});}},_0x2b7968=_0x204ebd[_0x4b31af(0x3ea)]=_0x2c69ed['extend']({'cfg':_0x2c69ed[_0x4b31af(0x29b)][_0x4b31af(0x3c8)]({'kdf':_0x21f01b}),'encrypt':function(_0x57622c,_0x4cd4e4,_0x1bd6d3,_0x4f0bc1){var _0x11db30=_0x4b31af;_0x4f0bc1=this[_0x11db30(0x29b)][_0x11db30(0x3c8)](_0x4f0bc1);var _0x2444d1=_0x4f0bc1[_0x11db30(0x3e7)][_0x11db30(0x347)](_0x1bd6d3,_0x57622c[_0x11db30(0x3e6)],_0x57622c[_0x11db30(0x35a)],_0x4f0bc1[_0x11db30(0x203)],_0x4f0bc1['hasher']);_0x4f0bc1['iv']=_0x2444d1['iv'];var _0x446a85=_0x2c69ed[_0x11db30(0x1f4)]['call'](this,_0x57622c,_0x4cd4e4,_0x2444d1['key'],_0x4f0bc1);return _0x446a85[_0x11db30(0x414)](_0x2444d1),_0x446a85;},'decrypt':function(_0x414a25,_0x1b07d3,_0x23b366,_0x15b7c3){var _0x6d7aed=_0x4b31af;_0x15b7c3=this[_0x6d7aed(0x29b)][_0x6d7aed(0x3c8)](_0x15b7c3),_0x1b07d3=this['_parse'](_0x1b07d3,_0x15b7c3['format']);var _0x9963f5=_0x15b7c3['kdf'][_0x6d7aed(0x347)](_0x23b366,_0x414a25[_0x6d7aed(0x3e6)],_0x414a25['ivSize'],_0x1b07d3[_0x6d7aed(0x203)],_0x15b7c3[_0x6d7aed(0x1b7)]);_0x15b7c3['iv']=_0x9963f5['iv'];var _0x3fe0b1=_0x2c69ed[_0x6d7aed(0x1c2)]['call'](this,_0x414a25,_0x1b07d3,_0x9963f5[_0x6d7aed(0x28e)],_0x15b7c3);return _0x3fe0b1;}});}();}));}(Je)),Je['exports'];}var gn=Ve[_0xe51f24(0x35b)],ti;function Sn(){var _0x1ed63a=_0xe51f24;return ti||(ti=0x1,function(_0x3b03e7,_0x3c3906){(function(_0x400aa5,_0x4fd5e7,_0x3c3252){var _0x51a92b=_0x3c6c;_0x3b03e7[_0x51a92b(0x35b)]=_0x4fd5e7(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x17c490){var _0x3dc16e=_0x3c6c;return(function(){var _0x1aa465=_0x3c6c,_0x2d0a5c=_0x17c490,_0x3ceef3=_0x2d0a5c['lib'],_0x32f65d=_0x3ceef3[_0x1aa465(0x1e4)],_0x430b14=_0x2d0a5c[_0x1aa465(0x3be)],_0x5610b4=[],_0x14353c=[],_0x180670=[],_0x505dbb=[],_0xe4b852=[],_0x476fa1=[],_0x3b7668=[],_0x41aa08=[],_0x5acf73=[],_0x2afbba=[];(function(){for(var _0x5ebfb9=[],_0x41b9b8=0x0;_0x41b9b8<0x100;_0x41b9b8++)_0x41b9b8<0x80?_0x5ebfb9[_0x41b9b8]=_0x41b9b8<<0x1:_0x5ebfb9[_0x41b9b8]=_0x41b9b8<<0x1^0x11b;for(var _0x208a5f=0x0,_0x4f7efd=0x0,_0x41b9b8=0x0;_0x41b9b8<0x100;_0x41b9b8++){var _0x3743c1=_0x4f7efd^_0x4f7efd<<0x1^_0x4f7efd<<0x2^_0x4f7efd<<0x3^_0x4f7efd<<0x4;_0x3743c1=_0x3743c1>>>0x8^_0x3743c1&0xff^0x63,_0x5610b4[_0x208a5f]=_0x3743c1,_0x14353c[_0x3743c1]=_0x208a5f;var _0x23afa5=_0x5ebfb9[_0x208a5f],_0x27b3ca=_0x5ebfb9[_0x23afa5],_0x58f507=_0x5ebfb9[_0x27b3ca],_0x35540f=_0x5ebfb9[_0x3743c1]*0x101^_0x3743c1*0x1010100;_0x180670[_0x208a5f]=_0x35540f<<0x18|_0x35540f>>>0x8,_0x505dbb[_0x208a5f]=_0x35540f<<0x10|_0x35540f>>>0x10,_0xe4b852[_0x208a5f]=_0x35540f<<0x8|_0x35540f>>>0x18,_0x476fa1[_0x208a5f]=_0x35540f;var _0x35540f=_0x58f507*0x1010101^_0x27b3ca*0x10001^_0x23afa5*0x101^_0x208a5f*0x1010100;_0x3b7668[_0x3743c1]=_0x35540f<<0x18|_0x35540f>>>0x8,_0x41aa08[_0x3743c1]=_0x35540f<<0x10|_0x35540f>>>0x10,_0x5acf73[_0x3743c1]=_0x35540f<<0x8|_0x35540f>>>0x18,_0x2afbba[_0x3743c1]=_0x35540f,_0x208a5f?(_0x208a5f=_0x23afa5^_0x5ebfb9[_0x5ebfb9[_0x5ebfb9[_0x58f507^_0x23afa5]]],_0x4f7efd^=_0x5ebfb9[_0x5ebfb9[_0x4f7efd]]):_0x208a5f=_0x4f7efd=0x1;}}());var _0x59370b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4641a4=_0x430b14['AES']=_0x32f65d['extend']({'_doReset':function(){var _0x16a119=_0x1aa465,_0x2c1cf8;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x16a119(0x39b)])){for(var _0x4f4509=this[_0x16a119(0x23b)]=this[_0x16a119(0x39b)],_0x2ebb95=_0x4f4509[_0x16a119(0x2f6)],_0xde6423=_0x4f4509[_0x16a119(0x152)]/0x4,_0x39bcf7=this[_0x16a119(0x1d5)]=_0xde6423+0x6,_0x3afd18=(_0x39bcf7+0x1)*0x4,_0x5697ca=this['_keySchedule']=[],_0x427dfc=0x0;_0x427dfc<_0x3afd18;_0x427dfc++)_0x427dfc<_0xde6423?_0x5697ca[_0x427dfc]=_0x2ebb95[_0x427dfc]:(_0x2c1cf8=_0x5697ca[_0x427dfc-0x1],_0x427dfc%_0xde6423?_0xde6423>0x6&&_0x427dfc%_0xde6423==0x4&&(_0x2c1cf8=_0x5610b4[_0x2c1cf8>>>0x18]<<0x18|_0x5610b4[_0x2c1cf8>>>0x10&0xff]<<0x10|_0x5610b4[_0x2c1cf8>>>0x8&0xff]<<0x8|_0x5610b4[_0x2c1cf8&0xff]):(_0x2c1cf8=_0x2c1cf8<<0x8|_0x2c1cf8>>>0x18,_0x2c1cf8=_0x5610b4[_0x2c1cf8>>>0x18]<<0x18|_0x5610b4[_0x2c1cf8>>>0x10&0xff]<<0x10|_0x5610b4[_0x2c1cf8>>>0x8&0xff]<<0x8|_0x5610b4[_0x2c1cf8&0xff],_0x2c1cf8^=_0x59370b[_0x427dfc/_0xde6423|0x0]<<0x18),_0x5697ca[_0x427dfc]=_0x5697ca[_0x427dfc-_0xde6423]^_0x2c1cf8);for(var _0x34f92d=this[_0x16a119(0x430)]=[],_0x25bf37=0x0;_0x25bf37<_0x3afd18;_0x25bf37++){var _0x427dfc=_0x3afd18-_0x25bf37;if(_0x25bf37%0x4)var _0x2c1cf8=_0x5697ca[_0x427dfc];else var _0x2c1cf8=_0x5697ca[_0x427dfc-0x4];_0x25bf37<0x4||_0x427dfc<=0x4?_0x34f92d[_0x25bf37]=_0x2c1cf8:_0x34f92d[_0x25bf37]=_0x3b7668[_0x5610b4[_0x2c1cf8>>>0x18]]^_0x41aa08[_0x5610b4[_0x2c1cf8>>>0x10&0xff]]^_0x5acf73[_0x5610b4[_0x2c1cf8>>>0x8&0xff]]^_0x2afbba[_0x5610b4[_0x2c1cf8&0xff]];}}},'encryptBlock':function(_0x436b81,_0x57fb1b){var _0x3af8e2=_0x1aa465;this[_0x3af8e2(0x37b)](_0x436b81,_0x57fb1b,this['_keySchedule'],_0x180670,_0x505dbb,_0xe4b852,_0x476fa1,_0x5610b4);},'decryptBlock':function(_0x5f39f6,_0x36eb73){var _0x59a76f=_0x1aa465,_0x4c6684=_0x5f39f6[_0x36eb73+0x1];_0x5f39f6[_0x36eb73+0x1]=_0x5f39f6[_0x36eb73+0x3],_0x5f39f6[_0x36eb73+0x3]=_0x4c6684,this[_0x59a76f(0x37b)](_0x5f39f6,_0x36eb73,this[_0x59a76f(0x430)],_0x3b7668,_0x41aa08,_0x5acf73,_0x2afbba,_0x14353c);var _0x4c6684=_0x5f39f6[_0x36eb73+0x1];_0x5f39f6[_0x36eb73+0x1]=_0x5f39f6[_0x36eb73+0x3],_0x5f39f6[_0x36eb73+0x3]=_0x4c6684;},'_doCryptBlock':function(_0x4cc624,_0x24f1d,_0x43c267,_0x29c604,_0x51db6b,_0xeeb308,_0x1f1168,_0x112d92){var _0x29eefa=_0x1aa465;for(var _0x23c73f=this[_0x29eefa(0x1d5)],_0x4543ba=_0x4cc624[_0x24f1d]^_0x43c267[0x0],_0x348717=_0x4cc624[_0x24f1d+0x1]^_0x43c267[0x1],_0x3b2c0a=_0x4cc624[_0x24f1d+0x2]^_0x43c267[0x2],_0xa8a7e5=_0x4cc624[_0x24f1d+0x3]^_0x43c267[0x3],_0x121f9e=0x4,_0x8139f1=0x1;_0x8139f1<_0x23c73f;_0x8139f1++){var _0x29fde9=_0x29c604[_0x4543ba>>>0x18]^_0x51db6b[_0x348717>>>0x10&0xff]^_0xeeb308[_0x3b2c0a>>>0x8&0xff]^_0x1f1168[_0xa8a7e5&0xff]^_0x43c267[_0x121f9e++],_0x199171=_0x29c604[_0x348717>>>0x18]^_0x51db6b[_0x3b2c0a>>>0x10&0xff]^_0xeeb308[_0xa8a7e5>>>0x8&0xff]^_0x1f1168[_0x4543ba&0xff]^_0x43c267[_0x121f9e++],_0x3ae24c=_0x29c604[_0x3b2c0a>>>0x18]^_0x51db6b[_0xa8a7e5>>>0x10&0xff]^_0xeeb308[_0x4543ba>>>0x8&0xff]^_0x1f1168[_0x348717&0xff]^_0x43c267[_0x121f9e++],_0x55c0a4=_0x29c604[_0xa8a7e5>>>0x18]^_0x51db6b[_0x4543ba>>>0x10&0xff]^_0xeeb308[_0x348717>>>0x8&0xff]^_0x1f1168[_0x3b2c0a&0xff]^_0x43c267[_0x121f9e++];_0x4543ba=_0x29fde9,_0x348717=_0x199171,_0x3b2c0a=_0x3ae24c,_0xa8a7e5=_0x55c0a4;}var _0x29fde9=(_0x112d92[_0x4543ba>>>0x18]<<0x18|_0x112d92[_0x348717>>>0x10&0xff]<<0x10|_0x112d92[_0x3b2c0a>>>0x8&0xff]<<0x8|_0x112d92[_0xa8a7e5&0xff])^_0x43c267[_0x121f9e++],_0x199171=(_0x112d92[_0x348717>>>0x18]<<0x18|_0x112d92[_0x3b2c0a>>>0x10&0xff]<<0x10|_0x112d92[_0xa8a7e5>>>0x8&0xff]<<0x8|_0x112d92[_0x4543ba&0xff])^_0x43c267[_0x121f9e++],_0x3ae24c=(_0x112d92[_0x3b2c0a>>>0x18]<<0x18|_0x112d92[_0xa8a7e5>>>0x10&0xff]<<0x10|_0x112d92[_0x4543ba>>>0x8&0xff]<<0x8|_0x112d92[_0x348717&0xff])^_0x43c267[_0x121f9e++],_0x55c0a4=(_0x112d92[_0xa8a7e5>>>0x18]<<0x18|_0x112d92[_0x4543ba>>>0x10&0xff]<<0x10|_0x112d92[_0x348717>>>0x8&0xff]<<0x8|_0x112d92[_0x3b2c0a&0xff])^_0x43c267[_0x121f9e++];_0x4cc624[_0x24f1d]=_0x29fde9,_0x4cc624[_0x24f1d+0x1]=_0x199171,_0x4cc624[_0x24f1d+0x2]=_0x3ae24c,_0x4cc624[_0x24f1d+0x3]=_0x55c0a4;},'keySize':0x100/0x20});_0x2d0a5c['AES']=_0x32f65d[_0x1aa465(0x34c)](_0x4641a4);}()),_0x17c490[_0x3dc16e(0x314)];}));}(Ve)),Ve[_0x1ed63a(0x35b)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0xe51f24(0x35b)],si;function Rn(){var _0x238948=_0xe51f24;return si||(si=0x1,function(_0x308955,_0x1596b6){(function(_0x1fc714,_0x2e3238){var _0x52b007=_0x3c6c;_0x308955[_0x52b007(0x35b)]=_0x2e3238(te());}(Cn,function(_0x3f6186){var _0x27c917=_0x3c6c;return _0x3f6186[_0x27c917(0x267)][_0x27c917(0x431)];}));}(Xe)),Xe[_0x238948(0x35b)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0xe51f24(0x35b)],ni;function Nn(){var _0x15e91c=_0xe51f24;return ni||(ni=0x1,function(_0x94a5f1,_0x4e9874){(function(_0x1cfffd,_0x392b7c){var _0x1aae04=_0x3c6c;_0x94a5f1[_0x1aae04(0x35b)]=_0x392b7c(te());}(yn,function(_0x496f23){var _0x3c3449=_0x3c6c;return(function(){var _0x360649=_0x3c6c;if(typeof ArrayBuffer==_0x360649(0x23e)){var _0x3a40af=_0x496f23,_0x1466e=_0x3a40af['lib'],_0x42bf0c=_0x1466e[_0x360649(0x424)],_0x3c47a4=_0x42bf0c['init'],_0x2db09=_0x42bf0c[_0x360649(0x24e)]=function(_0x35b784){var _0x1ab68=_0x360649;if(_0x35b784 instanceof ArrayBuffer&&(_0x35b784=new Uint8Array(_0x35b784)),(_0x35b784 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x35b784 instanceof Uint8ClampedArray||_0x35b784 instanceof Int16Array||_0x35b784 instanceof Uint16Array||_0x35b784 instanceof Int32Array||_0x35b784 instanceof Uint32Array||_0x35b784 instanceof Float32Array||_0x35b784 instanceof Float64Array)&&(_0x35b784=new Uint8Array(_0x35b784[_0x1ab68(0x21e)],_0x35b784[_0x1ab68(0x392)],_0x35b784[_0x1ab68(0x31b)])),_0x35b784 instanceof Uint8Array){for(var _0x88725e=_0x35b784['byteLength'],_0x302422=[],_0x5bb15c=0x0;_0x5bb15c<_0x88725e;_0x5bb15c++)_0x302422[_0x5bb15c>>>0x2]|=_0x35b784[_0x5bb15c]<<0x18-_0x5bb15c%0x4*0x8;_0x3c47a4['call'](this,_0x302422,_0x88725e);}else _0x3c47a4[_0x1ab68(0x2bf)](this,arguments);};_0x2db09['prototype']=_0x42bf0c;}}()),_0x496f23['lib'][_0x3c3449(0x424)];}));}(Ze)),Ze[_0x15e91c(0x35b)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x3896d6=_0xe51f24;return ri||(ri=0x1,function(_0x1ff6d2,_0x318a53){(function(_0x473c2a,_0x3a047d,_0x42d9eb){var _0x39df07=_0x3c6c;_0x1ff6d2[_0x39df07(0x35b)]=_0x3a047d(te(),bi());}(An,function(_0x28f573){var _0xd12d64=_0x3c6c;return _0x28f573[_0xd12d64(0x445)][_0xd12d64(0x41b)]={'pad':function(){},'unpad':function(){}},_0x28f573[_0xd12d64(0x445)][_0xd12d64(0x41b)];}));}(Qe)),Qe[_0x3896d6(0x35b)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x5a1c66,_0x134f2f){var _0x2f1fcb=_0xe51f24;const _0x244323=_0x134f2f-_0x5a1c66[_0x2f1fcb(0x192)]%_0x134f2f,_0x2a344c=String[_0x2f1fcb(0x3aa)](_0x244323)[_0x2f1fcb(0x16b)](_0x244323);return _0x5a1c66+_0x2a344c;}function xn(_0x5285ca,_0x14e445){var _0x113ebf=_0xe51f24;const _0x59e908=Un[_0x113ebf(0x229)](0x10),_0x5df9d6=Ln(_0x5285ca,0x10),_0x2685f4=In[_0x113ebf(0x1f4)](bn[_0x113ebf(0x3bc)](_0x5df9d6),ii[_0x113ebf(0x3bc)](_0x14e445),{'iv':_0x59e908,'padding':Mn});return _0x59e908[_0x113ebf(0x322)](_0x2685f4[_0x113ebf(0x440)])['toString'](ii);}function kn(){var _0x274106=_0xe51f24;const _0x1bd8dd=_0x4df2fe()[_0x274106(0x313)];if(_0x1bd8dd){const _0x3ee6f0={'time':Math[_0x274106(0x1ec)](Date[_0x274106(0x426)]()/0x3e8),'domain':location[_0x274106(0x2d7)]};return xn(JSON[_0x274106(0x283)](_0x3ee6f0),_0x1bd8dd);}}var $n=Object[_0xe51f24(0x434)],Hn=(_0x4fa70c,_0x4dfe5b,_0x145cf3,_0x22db7b)=>{for(var _0x231b7c=_0x22db7b>0x1?void 0x0:_0x22db7b?$n(_0x4dfe5b,_0x145cf3):_0x4dfe5b,_0x337b62=_0x4fa70c['length']-0x1,_0x21c67a;_0x337b62>=0x0;_0x337b62--)(_0x21c67a=_0x4fa70c[_0x337b62])&&(_0x231b7c=_0x21c67a(_0x231b7c)||_0x231b7c);return _0x231b7c;},Bn=(_0x56b0d2,_0x2418ae)=>(_0x3eccf4,_0x584343)=>_0x2418ae(_0x3eccf4,_0x584343,_0x56b0d2);let at=class{constructor(_0x4231c2){var _0x5f2276=_0xe51f24;this[_0x5f2276(0x2e1)]=_0x4231c2,this[_0x5f2276(0x1f6)]();}[_0xe51f24(0x1f6)](){var _0x88d3c7=_0xe51f24;this['_httpService'][_0x88d3c7(0x24b)]({'interceptor':(_0x3a2b93,_0xb4e899)=>{var _0xe84ad1=_0x88d3c7;const _0x47f855=_0x3a2b93[_0xe84ad1(0x209)],_0x338c84=kn();return _0x338c84&&_0x47f855[_0xe84ad1(0x3c9)](_0xe84ad1(0x230),_0x338c84),_0xb4e899(_0x3a2b93);}});}};at=Hn([Bn(0x0,_0x22b342(_0xd8406a))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x546ebe,_0xf94b22,_0x933160,_0x5e7338)=>{var _0x4bde88=_0xe51f24;for(var _0x3f751b=_0x5e7338>0x1?void 0x0:_0x5e7338?jn(_0xf94b22,_0x933160):_0xf94b22,_0x15c3a8=_0x546ebe[_0x4bde88(0x192)]-0x1,_0x23e05c;_0x15c3a8>=0x0;_0x15c3a8--)(_0x23e05c=_0x546ebe[_0x15c3a8])&&(_0x3f751b=_0x23e05c(_0x3f751b)||_0x3f751b);return _0x3f751b;},vt=(_0x2fda13,_0x203dcb)=>(_0x400940,_0x21a0bf)=>_0x203dcb(_0x400940,_0x21a0bf,_0x2fda13);let Ct=class extends _0x12bf24{constructor(_0x56c45e,_0x276cd4,_0x38f38e){var _0x3c3e99=_0xe51f24;super(),N(this,_0x3c3e99(0x2a5),new _0x393d97(null)),N(this,'unitInfo$',this[_0x3c3e99(0x2a5)][_0x3c3e99(0x43c)]()),(this[_0x3c3e99(0x420)]=_0x56c45e,this['_snapshotService']=_0x276cd4,this['_localCacheService']=_0x38f38e);}async['loadUnitOfRevision'](_0x578a45,_0x58c2a8,_0x29e5ec){var _0x190cbb=_0xe51f24;this[_0x190cbb(0x2a5)]['next']({'unitId':_0x578a45,'type':_0x58c2a8});let _0x2fe53c=null;switch(_0x58c2a8){case Z[_0x190cbb(0x3a9)]:{_0x2fe53c=await this[_0x190cbb(0x24a)][_0x190cbb(0x23a)](_0x578a45,_0x29e5ec);break;}case Z['UNIVER_DOC']:{_0x2fe53c=await this['_snapshotService'][_0x190cbb(0x280)](_0x578a45,_0x29e5ec);break;}default:{this[_0x190cbb(0x420)]['error'](_0x190cbb(0x19b),_0x190cbb(0x29e));break;}}return _0x2fe53c;}async['loadUnit'](_0x7717c5,_0xe30896,_0x52eb65){var _0x10ac4d=_0xe51f24,_0x21ac0d;this[_0x10ac4d(0x2a5)][_0x10ac4d(0x3f6)]({'unitId':_0x7717c5,'type':_0xe30896,'subUnitId':_0x52eb65});let _0x2afcaf=0x0;const _0x39564c=await((_0x21ac0d=this['_localCacheService'])==null?void 0x0:_0x21ac0d['loadOfflineData'](_0x7717c5));return _0x39564c&&(_0x39564c[_0x10ac4d(0x284)]||_0x39564c[_0x10ac4d(0x158)]['length']!==0x0)&&(_0x2afcaf=_0x39564c[_0x10ac4d(0x425)]),_0x2afcaf===0x0&&this[_0x10ac4d(0x420)][_0x10ac4d(0x2ab)](_0x10ac4d(0x19b),_0x10ac4d(0x3d4)),this['loadUnitOfRevision'](_0x7717c5,_0xe30896,_0x2afcaf);}};Ct=Fn([vt(0x0,_0x361d6f),vt(0x1,_0x22b342(_0x58ad02)),vt(0x2,_0x3dfa42(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x4b5642,_0xf66385,_0xe56415,_0x30c69d)=>{var _0x210fff=_0xe51f24;for(var _0x3721f4=_0x30c69d>0x1?void 0x0:_0x30c69d?Vn(_0xf66385,_0xe56415):_0xf66385,_0x4b234d=_0x4b5642[_0x210fff(0x192)]-0x1,_0x3ea471;_0x4b234d>=0x0;_0x4b234d--)(_0x3ea471=_0x4b5642[_0x4b234d])&&(_0x3721f4=_0x3ea471(_0x3721f4)||_0x3721f4);return _0x3721f4;},pt=(_0x3fa737,_0x1fc50c)=>(_0x5bc197,_0x1b7109)=>_0x1fc50c(_0x5bc197,_0x1b7109,_0x3fa737);const Gn=[_0xe51f24(0x3b4),_0xe51f24(0x33a),_0xe51f24(0x40f),_0xe51f24(0x32f),_0xe51f24(0x1bc)],Yn=0x5*0x400*0x400,Kn=_0xe51f24(0x201),qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x5c19b1,_0x552406,_0x5e085d){var _0x5ad564=_0xe51f24;N(this,_0x5ad564(0x204),0x0),N(this,_0x5ad564(0x1e6),new _0x4b7143()),N(this,_0x5ad564(0x3fd),this[_0x5ad564(0x1e6)]),N(this,_0x5ad564(0x367),new Map()),(this[_0x5ad564(0x2e1)]=_0x5c19b1,this[_0x5ad564(0x2ca)]=_0x552406,this[_0x5ad564(0x215)]=_0x5e085d);}[_0xe51f24(0x2ad)](_0x45658b){var _0x4674a9=_0xe51f24;this['_waitCount']=_0x45658b,this[_0x4674a9(0x1e6)][_0x4674a9(0x3f6)](_0x45658b);}[_0xe51f24(0x221)](_0x52ab13,_0x468ff0){var _0x59b37d=_0xe51f24;if(_0x468ff0===_0x35118b['BASE64']){const _0x4add20=new Image();return _0x4add20[_0x59b37d(0x3bf)]=_0x52ab13,_0x4add20;}return this[_0x59b37d(0x367)][_0x59b37d(0x164)](_0x52ab13);}[_0xe51f24(0x3ad)](_0x349105,_0x36457d,_0x409467){var _0x258bfb=_0xe51f24;_0x36457d===_0x35118b['BASE64']||_0x409467==null||this['_imageSourceCache'][_0x258bfb(0x3c9)](_0x349105,_0x409467);}async[_0xe51f24(0x2a8)](_0x49d202){var _0x11f3ef=_0xe51f24;try{const _0x30df44=this[_0x11f3ef(0x330)](this[_0x11f3ef(0x2c0)](),''+_0x49d202),_0x1431ff=(await this[_0x11f3ef(0x2e1)][_0x11f3ef(0x164)](_0x30df44))['body'];if(_0x1431ff[_0x11f3ef(0x35d)]&&_0x1431ff[_0x11f3ef(0x35d)]['code']===vi['OK']){const _0x4442e3=new URL(_0x1431ff['url'],this[_0x11f3ef(0x1fe)]())[_0x11f3ef(0x247)]();return Promise[_0x11f3ef(0x28a)](_0x4442e3);}return Promise[_0x11f3ef(0x3ba)](_0x1431ff[_0x11f3ef(0x35d)]);}catch(_0x4a205a){return Promise[_0x11f3ef(0x3ba)](_0x4a205a);}}async['saveImage'](_0x252de4){var _0x5b0668=_0xe51f24;let _0x3fcbae='';if(!Gn[_0x5b0668(0x418)](_0x252de4[_0x5b0668(0x2a0)]))return this[_0x5b0668(0x2f4)](),Promise[_0x5b0668(0x3ba)](new Error(_0x340c69[_0x5b0668(0x43d)]));if(_0x252de4['size']>Yn)return this[_0x5b0668(0x2f4)](),Promise[_0x5b0668(0x3ba)](new Error(_0x340c69['ERROR_EXCEED_SIZE']));try{const _0x55dc3a=new FormData();_0x55dc3a['append']('file',_0x252de4);const _0x15f361=this[_0x5b0668(0x215)]['getFocusedUnit'](),_0x3e2be3=_0x15f361==null?void 0x0:_0x15f361['getUnitId']();if(!_0x3e2be3)throw new Error(_0x5b0668(0x24f));const _0x5ba677=this[_0x5b0668(0x19f)]()+_0x5b0668(0x377)+_0x252de4['size'][_0x5b0668(0x247)]()+_0x5b0668(0x180)+pi['UnitEmbedded']+'&assign='+encodeURIComponent(_0x3e2be3),_0x5c9139={'body':_0x55dc3a},_0x1fdc49=(await this[_0x5b0668(0x2e1)][_0x5b0668(0x1ed)](_0x5ba677,_0x5c9139))[_0x5b0668(0x279)];if(typeof _0x1fdc49[_0x5b0668(0x27d)]!=_0x5b0668(0x32b))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x340c69[_0x5b0668(0x22d)]));_0x3fcbae=_0x1fdc49[_0x5b0668(0x27d)];}catch{return this[_0x5b0668(0x2f4)](),Promise[_0x5b0668(0x3ba)](new Error(_0x340c69[_0x5b0668(0x22d)]));}return new Promise((_0x357105,_0x3bdded)=>{const _0x133b67=new FileReader();_0x133b67['readAsDataURL'](_0x252de4),_0x133b67['onload']=_0x1daa37=>{var _0x551b01=_0x3c6c,_0x55daf3;const _0x298446=(_0x55daf3=_0x1daa37[_0x551b01(0x338)])==null?void 0x0:_0x55daf3[_0x551b01(0x364)];if(_0x298446==null){this[_0x551b01(0x2f4)](),_0x3bdded(new Error(_0x340c69[_0x551b01(0x22d)]));return;}const _0x2133d0=_0x13578b(0x6);_0x357105({'imageId':_0x2133d0,'imageSourceType':_0x35118b['UUID'],'source':_0x3fcbae,'base64Cache':_0x298446,'status':_0x340c69['SUCCUSS']}),this[_0x551b01(0x2f4)]();};});}[_0xe51f24(0x19f)](){var _0x291bb9=_0xe51f24,_0x4800b6;const _0x12aa35=this[_0x291bb9(0x2ca)][_0x291bb9(0x39e)](K);return(_0x4800b6=_0x12aa35==null?void 0x0:_0x12aa35[_0x291bb9(0x186)])!=null?_0x4800b6:Kn;}[_0xe51f24(0x2c0)](){var _0x1a6cb0=_0xe51f24,_0x593c35;const _0x18714d=this[_0x1a6cb0(0x2ca)][_0x1a6cb0(0x39e)](K);return(_0x593c35=_0x18714d==null?void 0x0:_0x18714d[_0x1a6cb0(0x400)])!=null?_0x593c35:qn;}[_0xe51f24(0x1fe)](){var _0x219fc0=_0xe51f24,_0x2aa959;const _0x3356d6=this['_configService'][_0x219fc0(0x39e)](K);return(_0x2aa959=_0x3356d6==null?void 0x0:_0x3356d6[_0x219fc0(0x409)])!=null?_0x2aa959:location[_0x219fc0(0x27e)];}[_0xe51f24(0x330)](_0x3e5e77,_0x35f792){var _0x3466c3=_0xe51f24;return _0x3e5e77['replace'](_0x3466c3(0x258),_0x35f792);}[_0xe51f24(0x2f4)](){var _0x4fd913=_0xe51f24;this[_0x4fd913(0x204)]-=0x1,this[_0x4fd913(0x1e6)][_0x4fd913(0x3f6)](this[_0x4fd913(0x204)]);}};Rt=Wn([pt(0x0,_0x22b342(_0xd8406a)),pt(0x1,_0x2a9499),pt(0x2,_0x22b342(_0x3f4f9f))],Rt);var zn=Object[_0xe51f24(0x434)],Jn=(_0x3ab6ce,_0x198556,_0x5c091f,_0x4de631)=>{for(var _0x156cee=_0x4de631>0x1?void 0x0:_0x4de631?zn(_0x198556,_0x5c091f):_0x198556,_0x58a6a4=_0x3ab6ce['length']-0x1,_0x2ec6b9;_0x58a6a4>=0x0;_0x58a6a4--)(_0x2ec6b9=_0x3ab6ce[_0x58a6a4])&&(_0x156cee=_0x2ec6b9(_0x156cee)||_0x156cee);return _0x156cee;},ai=(_0x166372,_0x5843d3)=>(_0xacd395,_0x1e4a69)=>_0x5843d3(_0xacd395,_0x1e4a69,_0x166372);const Xn=_0xe51f24(0x3d1);let Ot=class{constructor(_0x34ae9e,_0x371b75){var _0x2af0e6=_0xe51f24;this[_0x2af0e6(0x2ca)]=_0x34ae9e,this[_0x2af0e6(0x1a2)]=_0x371b75;}[_0xe51f24(0x1d8)](){var _0x5a6471=_0xe51f24,_0x4b216c;const _0x4a6a21=this[_0x5a6471(0x2ca)]['getConfig'](K);return(_0x4b216c=_0x4a6a21==null?void 0x0:_0x4a6a21[_0x5a6471(0x15d)])!=null?_0x4b216c:Xn;}async[_0xe51f24(0x310)](_0x7e4555){var _0x2ace1f=_0xe51f24;const _0x4efeda=this[_0x2ace1f(0x1d8)]()+_0x2ace1f(0x411);return{'list':[{'title':'People','mentions':(await this[_0x2ace1f(0x1a2)][_0x2ace1f(0x164)](_0x4efeda,{'params':{'objectID':_0x7e4555[_0x2ace1f(0x324)],'unitID':_0x7e4555[_0x2ace1f(0x324)]}}))[_0x2ace1f(0x279)][_0x2ace1f(0x1a8)][_0x2ace1f(0x1c1)](_0x278979=>({'objectId':_0x278979['id'],'name':_0x278979[_0x2ace1f(0x24c)][_0x2ace1f(0x355)],'metadata':{'icon':_0x278979[_0x2ace1f(0x24c)]['avatar']},'label':_0x278979['subject'][_0x2ace1f(0x355)],'objectType':_0xcc5d3a[_0x2ace1f(0x346)]})),'metadata':{},'type':_0xcc5d3a['PERSON']}]};}};Ot=Jn([ai(0x0,_0x22b342(_0x2a9499)),ai(0x1,_0x22b342(_0xd8406a))],Ot);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x1f72bf,_0x3875a9,_0x1eb0ff,_0x1c2324)=>{var _0x39032c=_0xe51f24;for(var _0x2c45f3=_0x1c2324>0x1?void 0x0:_0x1c2324?Zn(_0x3875a9,_0x1eb0ff):_0x3875a9,_0x1c1725=_0x1f72bf[_0x39032c(0x192)]-0x1,_0x1e80c7;_0x1c1725>=0x0;_0x1c1725--)(_0x1e80c7=_0x1f72bf[_0x1c1725])&&(_0x2c45f3=_0x1e80c7(_0x2c45f3)||_0x2c45f3);return _0x2c45f3;},Ue=(_0x35cd3d,_0x4cab86)=>(_0x5274c4,_0x31b5ed)=>_0x4cab86(_0x5274c4,_0x31b5ed,_0x35cd3d);let ot=class extends _0x12bf24{constructor(_0x412601,_0x54de06,_0x5b0fb4,_0x282894,_0x454c4b){var _0x37f536=_0xe51f24;super(),this[_0x37f536(0x289)]=_0x412601,this[_0x37f536(0x215)]=_0x54de06,this[_0x37f536(0x18a)]=_0x5b0fb4,this['_collaborationSessionService']=_0x282894,this[_0x37f536(0x30a)]=_0x454c4b,this[_0x37f536(0x225)](),this[_0x37f536(0x1d2)]();}[_0xe51f24(0x1d2)](){var _0x1c8c85=_0xe51f24;const _0x3a6465=async _0x56aee1=>{var _0x3c203e=_0x3c6c;(await this[_0x3c203e(0x30f)][_0x3c203e(0x2cc)](_0x56aee1))[_0x3c203e(0x351)]['pipe'](_0x9a4196(_0xaf9bba=>_0xaf9bba[_0x3c203e(0x161)]===_0x27b370['SHOULD_CLOSE_CONN']),_0x4f9aa0(this[_0x3c203e(0x218)]))[_0x3c203e(0x2aa)](_0x2f73fb=>{var _0x1382b9=_0x3c203e;const _0xe9fc17=_0x2f73fb,{reason:_0x1aeb08}=_0xe9fc17['data'];this['_collaborationUIEventService'][_0x1382b9(0x261)]({'id':ne['CLOSE_ROOM'],'data':_0x1aeb08}),this[_0x1382b9(0x18a)][_0x1382b9(0x3ec)](new _0x579aa1(_0x56aee1)['id'],!0x1),this[_0x1382b9(0x30f)][_0x1382b9(0x41f)](_0x56aee1);});};_0x7e74aa(this[_0x1c8c85(0x215)][_0x1c8c85(0x1fd)](_0x3fce68[_0x1c8c85(0x3a9)]),this[_0x1c8c85(0x215)][_0x1c8c85(0x1fd)](_0x3fce68['UNIVER_DOC']))['pipe'](_0x57a8a0(_0x30c923=>_0x30c923[_0x1c8c85(0x40d)]()),_0x9a4196(_0x48247f=>!_0x47fad4(_0x48247f)),_0x4f9aa0(this[_0x1c8c85(0x218)]))['subscribe'](_0x4266c7=>{_0x3a6465(_0x4266c7);});}[_0xe51f24(0x225)](){var _0x4eadfe=_0xe51f24;const _0x5dba48=async _0x3bec33=>{var _0x1747ea=_0x3c6c;const _0x4076ae=await this['_collaborationSessionService'][_0x1747ea(0x2cc)](_0x3bec33),_0x5f0967=this[_0x1747ea(0x289)]['get'](_0x3dcd3c);_0x4076ae[_0x1747ea(0x351)][_0x1747ea(0x21f)](_0x9a4196(_0x355d42=>_0x355d42[_0x1747ea(0x161)]===_0x27b370[_0x1747ea(0x31e)]),_0x4f9aa0(this[_0x1747ea(0x218)]))['subscribe'](_0x254c52=>{var _0x27f2a1=_0x1747ea;const _0x42691e=_0x254c52,{objectId:_0x332ed2}=_0x42691e[_0x27f2a1(0x3c2)];_0x332ed2===_0x3bec33?_0x5f0967[_0x27f2a1(0x2c5)](_0x3bec33):_0x5f0967['refreshPermission'](_0x3bec33,_0x332ed2);});};_0x7e74aa(this[_0x4eadfe(0x215)][_0x4eadfe(0x1fd)](_0x3fce68['UNIVER_SHEET']))[_0x4eadfe(0x21f)](_0x57a8a0(_0x2206a6=>_0x2206a6['getUnitId']()),_0x9a4196(_0x309497=>!_0x47fad4(_0x309497)),_0x4f9aa0(this[_0x4eadfe(0x218)]))[_0x4eadfe(0x2aa)](_0x2ddcf8=>{_0x5dba48(_0x2ddcf8);});}};ot=Qn([Ue(0x0,_0x22b342(_0xf56e29)),Ue(0x1,_0x3f4f9f),Ue(0x2,_0x59ac06),Ue(0x3,_0x22b342(Pe)),Ue(0x4,_0x22b342(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x523d5d,_0x1ec769,_0x48eb85,_0x40dd64)=>{var _0xd383d3=_0xe51f24;for(var _0x4e22b3=_0x40dd64>0x1?void 0x0:_0x40dd64?er(_0x1ec769,_0x48eb85):_0x1ec769,_0x1f3276=_0x523d5d[_0xd383d3(0x192)]-0x1,_0x4e3e5e;_0x1f3276>=0x0;_0x1f3276--)(_0x4e3e5e=_0x523d5d[_0x1f3276])&&(_0x4e22b3=_0x4e3e5e(_0x4e22b3)||_0x4e22b3);return _0x4e22b3;},oi=(_0x97bcd3,_0x123ff7)=>(_0x2cbd6b,_0x201e8c)=>_0x123ff7(_0x2cbd6b,_0x201e8c,_0x97bcd3);let bt=class{constructor(_0x5c4517,_0x218fc6){var _0x463450=_0xe51f24;this[_0x463450(0x2ca)]=_0x5c4517,this[_0x463450(0x2e1)]=_0x218fc6;}async[_0xe51f24(0x401)](_0x4e8393,_0x224a29){var _0x2fd1ea=_0xe51f24,_0x272a5c;const {unitID:_0x29d151,type:_0x463731,revision:_0x232a10=0x0}=_0x224a29,_0x36eb32=this[_0x2fd1ea(0x25c)]()+'/'+_0x463731+'/unit/'+_0x29d151+'/rev/'+_0x232a10,_0x140d1b=(await this[_0x2fd1ea(0x2e1)][_0x2fd1ea(0x164)](_0x36eb32))[_0x2fd1ea(0x279)],_0x3d7c1c=(_0x272a5c=_0x140d1b[_0x2fd1ea(0x381)])==null?void 0x0:_0x272a5c[_0x2fd1ea(0x3a6)];if(_0x3d7c1c){const _0x3f4662=_0x3d7c1c==null?void 0x0:_0x3d7c1c[_0x2fd1ea(0x320)],_0x56a8b4=_0x5630d4[_0x2fd1ea(0x256)](_0x5c5340(_0x3f4662));_0x3d7c1c[_0x2fd1ea(0x320)]=_0x56a8b4,Object[_0x2fd1ea(0x412)](_0x3d7c1c[_0x2fd1ea(0x3d5)])[_0x2fd1ea(0x253)](([,_0x14264b])=>{var _0x5122cf=_0x2fd1ea;const _0x270f80=_0x14264b[_0x5122cf(0x320)],_0x5a6f93=_0x5630d4[_0x5122cf(0x256)](_0x5c5340(_0x270f80));_0x14264b[_0x5122cf(0x320)]=_0x5a6f93;});}return _0x140d1b;}async[_0xe51f24(0x444)](_0x1dc0cc,_0x5f32cb){var _0xaa2a5e=_0xe51f24;const {unitID:_0x27144b,type:_0x7a510d,blockID:_0x2cb17a}=_0x5f32cb,_0x4d5f57=this['_getAPIPrefix']()+'/'+_0x7a510d+_0xaa2a5e(0x29f)+_0x27144b+_0xaa2a5e(0x331)+_0x2cb17a;return(await this[_0xaa2a5e(0x2e1)][_0xaa2a5e(0x164)](_0x4d5f57))[_0xaa2a5e(0x279)];}async[_0xe51f24(0x345)](_0x101a4f,_0x3cbb2e){var _0x594201=_0xe51f24;const {unitID:_0x30e181,type:_0x104187,blockID:_0x37bae7}=_0x3cbb2e,_0x4a7e1b=this[_0x594201(0x2a7)]()+'/block/'+_0x104187+_0x594201(0x29f)+_0x30e181+_0x594201(0x331)+_0x37bae7;return(await this['_httpService'][_0x594201(0x164)](_0x4a7e1b))[_0x594201(0x279)];}async[_0xe51f24(0x32d)](_0x326d33,_0x31f480){var _0x5714c0=_0xe51f24;const {unitID:_0xdd4a70,type:_0x1d2f5e,from:_0x4bf1c1,to:_0x23aa46}=_0x31f480,_0x5bb222=this[_0x5714c0(0x2a7)]()+'/'+_0x1d2f5e+_0x5714c0(0x29f)+_0xdd4a70+'/fetchmissing?from='+_0x4bf1c1+_0x5714c0(0x272)+_0x23aa46;return(await this[_0x5714c0(0x2e1)][_0x5714c0(0x164)](_0x5bb222))[_0x5714c0(0x279)];}[_0xe51f24(0x25c)](){var _0x22dbc8=_0xe51f24,_0x9f812d;return(_0x9f812d=this[_0x22dbc8(0x2ca)][_0x22dbc8(0x39e)](vs))!=null?_0x9f812d:this[_0x22dbc8(0x2a7)]();}[_0xe51f24(0x2a7)](){var _0x49d078=_0xe51f24,_0x413e43;const _0x4a6402=this[_0x49d078(0x2ca)][_0x49d078(0x39e)](K);return(_0x413e43=_0x4a6402==null?void 0x0:_0x4a6402['snapshotServerUrl'])!=null?_0x413e43:fs;}async[_0xe51f24(0x3e1)](_0x51155b,_0x56492c){var _0x24abde=_0xe51f24;const _0x1d4d85=_0x24abde(0x2e5)+_0x56492c[_0x24abde(0x2a0)]+_0x24abde(0x29f)+_0x56492c[_0x24abde(0x2f5)]+'/resources';return(await this[_0x24abde(0x2e1)][_0x24abde(0x164)](_0x1d4d85,{'params':{'resourceId':JSON[_0x24abde(0x283)](_0x56492c['resourceIDs'])}}))[_0x24abde(0x279)];}['saveSnapshot'](){var _0x8027c5=_0xe51f24;throw new Error(_0x8027c5(0x1ad));}[_0xe51f24(0x1d0)](){var _0x42d01b=_0xe51f24;throw new Error(_0x42d01b(0x1ad));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xe51f24(0x1cf)](){var _0x51f941=_0xe51f24;throw new Error(_0x51f941(0x1ad));}['copyFileMeta'](){var _0x451298=_0xe51f24;throw new Error(_0x451298(0x1ad));}['getLatestCsReqIdBySid'](){var _0x5dfedb=_0xe51f24;throw new Error(_0x5dfedb(0x1ad));}};bt=tr([oi(0x0,_0x2a9499),oi(0x1,_0x22b342(_0xd8406a))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x24284c,_0x68e1fe,_0x425edf,_0x2201fc)=>{var _0x2f44d4=_0xe51f24;for(var _0x6e64d=_0x2201fc>0x1?void 0x0:_0x2201fc?ir(_0x68e1fe,_0x425edf):_0x68e1fe,_0x33f537=_0x24284c[_0x2f44d4(0x192)]-0x1,_0x41ed67;_0x33f537>=0x0;_0x33f537--)(_0x41ed67=_0x24284c[_0x33f537])&&(_0x6e64d=_0x41ed67(_0x6e64d)||_0x6e64d);return _0x6e64d;},Ae=(_0x1c5c58,_0x56adf4)=>(_0xe6411,_0x909ec3)=>_0x56adf4(_0xe6411,_0x909ec3,_0x1c5c58);let yt=class extends _0x3b4780{constructor(_0xb6b725,_0x3f1d0d,_0x3f1f28,_0x4d5691,_0x375025){var _0x5c0c8d=_0xe51f24;super(_0xb6b725,_0x3f1d0d,_0x3f1f28),this[_0x5c0c8d(0x327)]=_0x4d5691,this['_logService']=_0x375025;}[_0xe51f24(0x359)](_0xc12a98,_0x3156e6){var _0x2ff4ae=_0xe51f24;const _0x42ca4b=this['_getUndoStack'](_0xc12a98);if(_0x42ca4b)try{const _0x591d4e=this[_0x2ff4ae(0x36a)](_0x42ca4b,_0x3156e6);this[_0x2ff4ae(0x1d6)](_0xc12a98,_0x591d4e);}catch(_0x4d2a74){this[_0x2ff4ae(0x420)][_0x2ff4ae(0x35d)](_0x2ff4ae(0x439),_0x4d2a74),this[_0x2ff4ae(0x2d5)](_0xc12a98);}const _0x244ed6=this['_getRedoStack'](_0xc12a98);if(_0x244ed6)try{const _0x3e35ef=this[_0x2ff4ae(0x36a)](_0x244ed6,_0x3156e6);this[_0x2ff4ae(0x2e2)](_0xc12a98,_0x3e35ef);}catch(_0x20674b){this[_0x2ff4ae(0x420)][_0x2ff4ae(0x35d)](_0x20674b),this['_clearRedo'](_0xc12a98);}}[_0xe51f24(0x2d5)](_0x59d367){var _0x1e69f4=_0xe51f24;const _0x22b27c=this[_0x1e69f4(0x36c)](_0x59d367);_0x22b27c&&(_0x22b27c[_0x1e69f4(0x192)]=0x0,this[_0x1e69f4(0x34b)]());}[_0xe51f24(0x3c7)](_0x80cdde){var _0x1a7cc6=_0xe51f24;const _0xac5921=this[_0x1a7cc6(0x2fc)](_0x80cdde);_0xac5921&&(_0xac5921[_0x1a7cc6(0x192)]=0x0,this[_0x1a7cc6(0x34b)]());}[_0xe51f24(0x1d6)](_0x365728,_0x100a58){var _0x400bbd=_0xe51f24;this[_0x400bbd(0x243)]['set'](_0x365728,_0x100a58),this[_0x400bbd(0x34b)]();}[_0xe51f24(0x2e2)](_0x37e521,_0x127ba8){var _0x3bec6a=_0xe51f24;this[_0x3bec6a(0x405)][_0x3bec6a(0x3c9)](_0x37e521,_0x127ba8),this[_0x3bec6a(0x34b)]();}['_transformStack'](_0x485d8f,_0x105b57){var _0x4c0d96=_0xe51f24;const _0x3d0e7a=[];let _0x565278=_0x105b57,_0x4fb805=_0x105b57;for(let _0x2f3959=_0x485d8f[_0x4c0d96(0x192)]-0x1;_0x2f3959>=0x0;_0x2f3959--){const {unitID:_0x1067f7,undoMutations:_0xbb19f,redoMutations:_0x398684}=_0x485d8f[_0x2f3959],_0x19a91c=this['_transformService'][_0x4c0d96(0x3e0)](_0x565278,_0xbb19f),_0x33f860=this[_0x4c0d96(0x327)][_0x4c0d96(0x3e0)](_0x4fb805,_0x398684);if(_0x2c47f4(_0x19a91c)||_0x2c47f4(_0x33f860)){this[_0x4c0d96(0x420)][_0x4c0d96(0x35d)](_0x4c0d96(0x439),_0x4c0d96(0x185),_0x19a91c,_0x33f860);break;}_0x565278=_0x19a91c[_0x4c0d96(0x248)],_0x4fb805=_0x33f860[_0x4c0d96(0x248)],_0x3d0e7a[_0x4c0d96(0x27f)]({'unitID':_0x1067f7,'undoMutations':_0x19a91c[_0x4c0d96(0x2ed)],'redoMutations':_0x33f860['m2Prime']});}return _0x3d0e7a[_0x4c0d96(0x3ff)]();}};yt=sr([Ae(0x0,_0x3f4f9f),Ae(0x1,_0x399e10),Ae(0x2,_0x3ecbc3),Ae(0x3,_0x122cfe),Ae(0x4,_0x361d6f)],yt);var nr=Object['defineProperty'],rr=Object[_0xe51f24(0x434)],ar=(_0x5d2f1d,_0x1dec7e,_0x5d02ec)=>_0x1dec7e in _0x5d2f1d?nr(_0x5d2f1d,_0x1dec7e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d02ec}):_0x5d2f1d[_0x1dec7e]=_0x5d02ec,or=(_0x554f0d,_0xbaa31e,_0x345d30,_0x45dd30)=>{for(var _0x3de18a=_0x45dd30>0x1?void 0x0:_0x45dd30?rr(_0xbaa31e,_0x345d30):_0xbaa31e,_0x5d0f1b=_0x554f0d['length']-0x1,_0x24a48b;_0x5d0f1b>=0x0;_0x5d0f1b--)(_0x24a48b=_0x554f0d[_0x5d0f1b])&&(_0x3de18a=_0x24a48b(_0x3de18a)||_0x3de18a);return _0x3de18a;},mt=(_0x313443,_0x454bfc)=>(_0x3af4a4,_0x4bcdf0)=>_0x454bfc(_0x3af4a4,_0x4bcdf0,_0x313443),cr=(_0x5aca40,_0x30b262,_0x4e3a64)=>ar(_0x5aca40,_0x30b262+'',_0x4e3a64);const hr=_0xe51f24(0x211);let Nt=class extends _0x19ed38{constructor(_0x4ea0f7,_0x201603,_0x1341da,_0x1fff41){var _0x4b1d5a=_0xe51f24;super(),N(this,_0x4b1d5a(0x1cb)),(this['_logService']=_0x201603,this[_0x4b1d5a(0x289)]=_0x1341da,this[_0x4b1d5a(0x2ca)]=_0x1fff41);const {..._0x3ef581}=_0x4d916b({},Ls,_0x4ea0f7);if(!_0x3ef581[_0x4b1d5a(0x1da)])throw new Error(_0x4b1d5a(0x3f3));this['_config']=_0x3ef581,this[_0x4b1d5a(0x2ca)][_0x4b1d5a(0x1f1)](K,_0x3ef581);}[_0xe51f24(0x16a)](){var _0x51bd62=_0xe51f24;this[_0x51bd62(0x2a2)](),this[_0x51bd62(0x37c)]();}[_0xe51f24(0x2a2)](){var _0xaa8d2b=_0xe51f24,_0x5dc333,_0x564266;this[_0xaa8d2b(0x289)][_0xaa8d2b(0x1d1)](_0x526774)&&this['_logService']['error'](_0xaa8d2b(0x37a),_0xaa8d2b(0x417));const _0x3280dd=_0x419f0a([[_0x526774,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0xaa8d2b(0x1cb)][_0xaa8d2b(0x1da)]}],[_0x9fb279,{'useClass':bt}],[_0x225829,{'useClass':Tt}],[_0x550849,{'useClass':Rt}],[_0x23e59f,{'useClass':Ot}],[nt],[It]],(_0x5dc333=this['_config'])==null?void 0x0:_0x5dc333['override']);if(!((_0x564266=this['_config'])!=null&&_0x564266['enableSingleActiveInstanceLock'])){const _0x462e0d=_0x3280dd[_0xaa8d2b(0x398)](([_0x1e2a6a])=>_0x1e2a6a===ht);_0x462e0d!==-0x1&&_0x3280dd[_0xaa8d2b(0x2dd)](_0x462e0d,0x1);}_0x1e36d4(this['_injector'],_0x3280dd);}[_0xe51f24(0x37c)](){var _0x32edca=_0xe51f24,_0xaed61c,_0x52de54,_0x1e6d84;this['_injector'][_0x32edca(0x164)](_0xd8406a)[_0x32edca(0x24b)]({'priority':0x14,'interceptor':_0x2ac242({'maxParallel':0x6})}),(_0xaed61c=this[_0x32edca(0x1cb)])!=null&&_0xaed61c[_0x32edca(0x194)]||(_0x52de54=this[_0x32edca(0x289)][_0x32edca(0x164)](J,_0x1ee2ee['OPTIONAL']))==null||_0x52de54['disableLocalCache'](),(_0x1e6d84=this['_config'])!=null&&_0x1e6d84[_0x32edca(0x154)]&&_0x1ecdb4(this[_0x32edca(0x289)],[[rt]]),_0x1ecdb4(this[_0x32edca(0x289)],[[at],[nt],[ot]]);}};cr(Nt,_0xe51f24(0x30e),hr),Nt=or([_0x298545(_0x51b7d3,_0x20d1bd),mt(0x1,_0x361d6f),mt(0x2,_0x22b342(_0xf56e29)),mt(0x3,_0x2a9499)],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};
|