@univerjs-pro/collaboration-client 1.0.0-alpha.8 → 1.0.0-beta.1
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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/facade/f-collaboration.d.ts +14 -0
- package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +2 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2261(){const _0x492076=['_waitForHeartbeatResponse','_transformRemoteChangesetByStateCache','_scheduleCompleteTimestamp','unitLoaded$','function','amd','JSONX','state','getUnitType','OPTIONAL','createUniverCollaborationAdapter','[CollaborationEntity]','_revisionService','/role','reject','SOCKET_FAILED_RETRY','csAckEvent','IDLE','copyFileMeta','symbol','UniverDrawing','MoveSlidePageMutation','unitId','[CollaborationSessionService]:\x20socket\x20error','memberID','Subject','getDrawingImageAllowSize','_HTTPService','_getAPIPrefixPath','_onMessage','responseType','_transformSelections','_onRemoteACK','liveShareOperation','addHandlerCallback','firstValueFrom','error','localUnitId','default','_pendingSessions','IAuthzIoService','_toggleOnline','UPDATE_PERMISSION_OBJ','_redoStacks','DataLoaderService','_lockTransition','deepClone','_instanceService','resend','parseProtocolChangeset','registerDependencies','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.',',\x20got:\x20','routeKey','withCredentials','SheetsSelectionsService','maxSize','updateOfflineData','sort','Disposable','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','c1Prime','code','NEW_CHANGESETS','UniverProCollaboration','csShouldRetryEvent','putCollaborators','state$','message$','now','UniverProLicense','_permissionService','@univerjs/protocol','_memberService','_updateState','FileId','toPrimitive','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','src','Optional','transformStack\x20failed!','CLOSE_ROOM','_disableEditing','getImage','getWorkbookSelections','HEARTBEAT_INTERVAL','loadUnitOfRevision','close','onTransformSelections','_onConnectionFailed',',\x20got\x20','loginUrlKey','JOIN_ROOM_PERMISSION_DENIED','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','upload','_remoteChangesetQueue','awaiting_with_pending','exports','fetchMiss','fill','updatePermissionPoint','@univerjs/drawing','getCurrentUser','call','socketMessageSubscription','SessionStatus','CompressMutationService','UUID','Module','/universer-api/uniscript','@univerjs-pro/collaboration-client','DEFAULT_FILE_NAME','telemetry\x20info\x20is\x20not\x20initialized','/collaborator','aes/pkcs7:\x20wrong\x20padding','onTransformState','univer-pro.collaboration-client.single-active-unit-service','sendHeartbeatTimer','_queuedRemoteChangesets','_createSocket','enableSingleActiveInstanceLock','floor','LIVESHARE_OPERATION','_changesetReqId','DisposableCollection','stopTime','_handleRemoteChangesets','requireSession','error$','getTypeOfUnitAdded$','_transitionLocked','dispose','transformMutationsWithChangeset','_updateStatus','getRoom','serializeCombRequest','_resendWithTimeout','debug','BASE64','unitType','transformUndoRedo','_upload','object','JOIN','_clearUndo','uniscriptRunEvent','hostname','?size=','_checkMissing','BehaviorSubject','DEFAULT_WS_SESSION_TICKET_URL','candidateSocket','UNIVER_PDF','emitEvent','findIndex','session.room-permission-denied','EnsureSlideMasterPageMutation','_onRecvEvent','[OfflineState]:\x20received\x20acknowledgement.','\x20in\x20_schedule.','ICommandService','_handler','parseChangesetToProtocol','params','patch','_listenToNetworkCondition','OfflineState','getMemberID','_sheetTransformSelectionsService','_transformStack','tables','pauseCollaboration','CollaborationImageIoService','UNIVER_BOARD','ErrorCode','_resendTimer','getTypeOfUnitDisposed$','requestParams','signUrlServerUrl','set','_singleActiveUnitService','baseRev','base-ui.attachment-io.service','slice','fetchThroughInterceptors','_getDownloadEndpointURL','RemoveSlidePageMutation','UniverInstanceType','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_status$','UniverCore','COMMENT_UPDATE','IConfigService','_univerInstanceService','UniverNetworkPlugin','toString','closeSession','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_emitMembers','@univerjs/telemetry','FileSource','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_toggleOffline','_decreaseWaiting','ISocketService','/fetchmissing?from=','location','saveAttachment','unit-cache-','removeMember','UNIVER_SLIDE','RECV','_adapter','isTransformChangesetsSuccess','backupOfflineData','univer-pro.collaboration-client-socket-service','/universer-api/authz','SheetTransformSelectionsService','ONLINE','BYTES_PER_ELEMENT','loadSlide','socket\x20open.','_submitChangeset','session.room-full','onlyLocal','concatMap','accept','&source=','_clearRetryConnectingTimer','nonceLength','saveSheetBlock','m2Prime','DRAWING_IMAGE_ALLOW_IMAGE_LIST','PdfCollaborationEntity','leaveEvent','revision','ISingleActiveUnitService','_snapshotService','_networkConditionService','UniverProCollaborationClient','add','?url=','UNIVER_SHEET','result','SHOULD_CLOSE_CONN','setWaitCount','entries','addImageSourceCache','SlideCollaborationEntity','_transformStateCache','getInterceptPoints','createIdentifier','c2Prime','createInstance','SOCKET_FAILED','batchAllowed','columnGroups','reqId','ReplaySubject','COMPRESS_MUTATION_SEND','_startTelemetryCollaborationNewChangeset','min','collabWebSocketUrl','_onCombEvent','socket\x20close','catch','onTransformRemoteChangesetByStateCache','getAllMembers','commentUpdate$','_getUndoStack','capture','userID','_initDependencies','isView','indexOf','[OfflineState]:\x20received\x20rejection.','1916289npgTco','LocaleService','parse','JOINING','[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.','getSheetId','getCurrentRevOfUnit','_maxTotalRetryTimeout','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_clearLocalCache','HTTPRequest','UniverLicensePlugin','_getSendChangesetTimeout','transformChangesets','_cfgEnableObjInherit','fromCharCode','session.join-failed','rxjs/operators','allowed','/object/','appendMutation','onRemoteChangeset','DocStateChangeManagerService','_unitInfo$','_isPermissionRej','CmdRspCode','retryConnectingTimer','shouldCloseConn','Rectangle','waitForRoom$','isPermissionRej','_scheduleCollaborationTimeoutTimer','SUBMIT_CHANGESET','3181910pmKYzO','text-x','_transformUndoredo','data','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','_onUserLeave','_waitCount','_hasSessionsForEndpoint','UniverCollaborationClientPlugin','_docStateChangeManagerService','_applyRemoteChangeset','open$','clear','_undoRedoService','init','editingUnit','JOIN_ROOM_NOT_EXISTS','eventID','AwaitingWithPendingState','updateMember','close$','_isEchoedAwaitingChangeset','authzUrl','_configService','downloadEndpointUrl','startTime','_logService','newCsEvent','getCollabEntity$','isTransformMutationsWithChangesetSuccess','apply','rxjs','_telemetryService','HEARTBEAT','_exhaustRemoteChangesetQueue','univer-pro.collaboration-client-adapter-service','_collabSessionService','status$','CollaborationEvent','PERMISSION_REJ','ISnapshotServerService','MSG_FOR_ERROR','_roomMembers','crypto','x-univer-host','unsubscribe','SnapshotServerOverHTTPService','startsWith','_initRequestHeader','retryCount','missingChangesets','cipher\x20output\x20not\x20supported','_injector','_type','_getCtorByUniverInstanceType','_telemetryInfo','endsWith','_replaceFileID','post','\x0aAfter:\x20','Injector','UnitEmbedded','getTime','shareReplay','getUploadOptions','COLLABORATION_ENDPOINT_INVALID','retryConnectingInterval','toggleOnline','mapDocumentTypeToUniverInstanceType','session','confirm','[FetchMissState]','awaiting','_clearTimeoutTimer','dispose$','COMPRESS_MUTATION_APPLY','objectID','getLocalCacheKey','Tools','deserializeToCombResponse','disableLocalCache','SetSelectionsOperation','__splitChunk__','CollaborationSessionService','MergeInterceptorFactory','collaboration-client.auth.needGotoLoginAlert','_collaborationPaused','forEach','_members$','_onConflict','onCommentUpdate','number','unit','roles','_awaitingChangeset','getAttachmentUrl','_throwTelemetryCollaborationNewChangeset','asObservable','transformSelections','CollaborationStatus','ImageSourceType','[CollaborationSession]','PERMISSION_DENIED','WorkbookEditablePermission','unknown','resolveUnit','OFFLINE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','POST','ConflictState','UniverDocs','UNISCRIPT_RUN','offline','_state','registerHTTPInterceptor','_onLocalMutation','CollaborationController','_transformRemoteChangesetByIMECache','onMissingChangesets','buffer','/universer-api/snapshot','listRoles','_rescheduleHeartbeat','expected\x20Uint8Array','/unit/','subUnitId','AddSlidePageMutation','UNIVER_COLLABORATION_CLIENT_PLUGIN','_collaborationSessionService','_pendingMutations','body','_handlerCallback','append','headers','/universer-api/file/{fileID}/sign-url','CollaborationEntity','encodeURIComponent','univer-pro.collaboration-client.network-condition.service','60VoHqFY','136781chOafo','iterator','_registerDependencies','_initUnitPermissionChange','_compressMutationService','ICollaborationClientAdapterService','GLOBAL_ROOMS_CNT_EXCEEDS','CollaborationSession','1145490SIWDwR','name','decorate','pending','_updateLocalCache','_undoStacks','createSocket','endpointKey','prototype','/object','IUndoRedoService','_commandService','loadDoc','getCfgEnableObjInherit','[CollaborationAttachmentIoService]:\x20failed\x20to\x20resolve\x20attachment\x20URL.','mutations','toDisposable','onRemoteAck','getUnitStatus$','merge','CHANGESET_REJ','members$','ERROR_IMAGE_TYPE','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','range','Wrong\x20sbox\x20length','complete','_fetchMissChangesets','_change$','SUBMIT_CHANGESET_TIMEOUT','INGEST','onload','setConfig','_removeRoom','_clearCollaborationTimeoutTimer','UniverTelemetry','@univerjs-pro/slides','disposeWithMe','map','href','getConfig','RETRY_CONNECTING_MAX_COUNT','USERS_LEAVE','/block/','setShowComponents','_collaborationTimeoutTimer','override','[SyncedState]:\x20received\x20acknowledgement.','toggleOffline','synced','target','\x20-\x20','localeService','byteOffset','subscribe','_httpService','_entities','touchDependencies','_members','_tryEnsureSocket','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getResourcesRequest','_state$','OTHER_CLIENT_EDITING','_acknowledgeAwaitingIfReady','_doCreateSocket','_changesetSessionId','[PendingState]:\x20received\x20acknowledgement.','socketReady','subject','UPDATE_CURSOR','next','INetworkConditionService','roomInfos','3764934oJvnhC','People','_createInitialState','byteLength','save\x20fail\x20reason\x20is\x20','CombCmd','UNIVER_DOC','_syncEditingCollabCursor','not_collab','[CollaborationAttachmentIoService]:\x20failed\x20to\x20upload\x20attachment.','_onFetchMissResult','permissionRejEvent','IImageIoService','HTTPService','delete','_identity','liveShareNewHost','MentionType','action','NOT_COLLAB','isInternalEditorID','_transformAndApplyRemoteChangeset','sequenceExecute','varSizeNonce','objectType','timeoutTimer','DocCollaborationEntity','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CommandType','subarray','delay','isTransformMutationsWithChangesetFailure','from','\x20to\x20','&assign=','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_imageSourceCache','_resendTimeout','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getCollabEntity','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','sid','_executeRemoteChangeset','_onJoinRoomEvent','IPermissionService','_localCacheService','[UniverCollaborationClientPlugin]','string','cmd','_getSocketChannel','decrypt','EmptyMutationInfo','UniverSheets','UniverCollaborationPlugin','toRemote','_config','put','RxDisposable','every','NO_OTHER_CLIENTS_EDITING','[OfflineState]:\x20received\x20changeset.','_showConflictNotification','resolveWithBasePath','submit\x20changeset\x20error!','getMember','AWAITING_WITH_PENDING','_init','send','IAttachmentIoService','_entityInit$','fromCollab','enableOfflineEditing','\x20of\x20length\x20','UNIVER_BASE','commentUpdateEvent','encrypt','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','originalMeta','length','_tryReconnect','_transformIMECache','localCacheService','onRemoteRetry','HEARTBEAT_TIMEOUT_KEY','OTHER_CLIENTS_EDITING','_sessions','_getSignURL','LEAVE','objects','session.room-cnt-exceeds','pipe','loadSheet','Quantity','_unlockTransition','duration','take','collaborators','_joinRoom','invalid\x20output,\x20must\x20be\x20aligned','mergeOverrideWithDependencies','length=','_sessionChannels','onMutationExecutedForCollab','_snapshotServerService','interceptor','blockRanges','_replayCachedMutations','RichTextEditingMutation','JOIN_ROOM_FAILED','@univerjs/docs','isArray','change$','ITelemetryService','readyForCollab','onTransformIME','onTransformRemoteChangesetByIMECache','_createSession','loadPdf','trim','_commentUpdate$','_getConfig','LIVESHARE_NEW_HOST','RETRY_CONNECTING_MAX_COUNT_KEY','values','_clearScheduledTask','ERROR_EXCEED_SIZE','_clearRedo','LIVESHARE_FETCH_OPERATIONS','getLatestCsReqIdBySid','[CollaborationAttachmentIoService]:\x20unitId\x20is\x20not\x20found.','1.0.0-alpha.8','toStringTag','get','status','PERSON','_onConnectionOpen','@univerjs/network','b64DecodeUnicode','CollaborationUIEventId','getFocusedUnit','fetching\x20missing\x20changesets\x20from\x20','unitId\x20is\x20not\x20found','_unitLoaded$','MemberService','FETCH_MISSING','docStateChange$','HEARTBEAT_INTERVAL_KEY','resourceIDs','&to=','unitID','hasOwnProperty','version','file','Error\x20on\x20receiving\x20event','LOCAL_CACHE_INTERVAL','origin','CommentService','_onRemoteRetry','connection\x20error','_localeService','_shouldReportTelemetry','update','onStarting','[SyncedState]:\x20received\x20rejection.','/-/object/-/batch_allowed','1664392JcmbCn','_incrementRevisionNumber','size','output','CollaborationAttachmentIoService','_getLoginPath','@univerjs-pro/license','find','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','isCompositionEnd','CHANGESET_ACK','uuidv4','_sendingTimer','_eventService','_stopTelemetryCollaborationNewChangeset','USERS_ENTER','getActiveSheet','create','selections','ImageUploadStatusType','session.room-not-exists','replace','Failed\x20to\x20update\x20permission\x20point','sessionStatus$','BoardCollaborationEntity','onRemoteRej','ERROR_IMAGE','push','getGlobalObject','_initMergeInterceptor','_substituteRedoStack','_transformService','_getAPIPrefix','_substituteUndoStack','COLLABORATION_CHANGESET_TRANSLATION_REQUIRED','SyncedState','joinRsp','_onOffline','FetchingMissState','members','_socketMessageSubscription','getUnitId','generateRandomId','url','focused$','has','_acknowledgedAwaitingRevision','actions','CHANGESET_SHOULD_RETRY','fetch_missing','_socket','changesets','socketService','_getCurrentRevision','getDeserializedSheetBlock','getCurrentSelections','constructor','_userManagerService','/universer-api/snapshot/','_collaborationUIEventService','equals','DEFAULT_COLLAB_WEB_SOCKET_URL','IUniverInstanceService','loadOfflineData','reduce','packageName','avatar','number\x20expected,\x20got\x20','_sender','collaboration-client.config','[DataLoaderService]','takeUntil','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','FAIL','UniverProSlides','\x0aCurrent:\x20','CONFLICT','updateSnapshot','enableCollaboration','workbook','online$','getValue','Inject','getImageSourceCache','_event$','88PiVfRg','key','assign','some','BaseCollaborationEntity','event$','/universer-api/stream/file/upload','listCollaborators','defineProperty','[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.','stringify','[CollaborationAttachmentIoService]:\x20attachment\x20type\x20is\x20not\x20accepted.','encode','AwaitingState','_getRedoStack','AWAITING','ITransformService','refreshPermission','collabSubmitChangesetUrl','_socketChannels','_schedule','40233KTQcKY','onSendChangeset','MUTATION','endpoint','getUnit','AAD','textEncoder','_socketService','type','changeset','filter','UniverProtocol','/resources','sendChangesetTimeout','conflict','getUnitOnRev','/-/object/list','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onUserJoin','getSnapshotAPIPath','HELLO','ws://127.0.0.1:8000/universer-api/comb/connect','_createHandler','disablePadding','setCfgEnableObjInherit','/allowed','7FIxSok','SNAPSHOT_URL_KEY','socket$','_onRemoteRejected','sessionStatus','RevisionService','tagLength','_clearHeartbeatTimer','_roomCreated$','_acknowledgeAwaiting','incrementRevOfUnit','@univerjs-pro/collaboration','list','_createInitialStateImpl','snapshotServerUrl','collaboratorID','_resolveSessionIdentity','_sessionStatus$','HEARTBEAT_TIMEOUT','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','enableAuthServer','collaboration_new_changeset','COLLABORATION_SESSION_TARGET_UNIT_ID_REQUIRED','PSEUDO_FETCH_MISSING_RESULT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SheetCollaborationEntity','IContextService','[CollaborationUndoRedoService]','executeCommand','_startCollaboration','collaMsg','onSyncEditingCollabCursor','string\x20expected','_getUploadFileURL','ILogService','includes','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','awaitingChangeset','rev'];_0x2261=function(){return _0x492076;};return _0x2261();}function _0x4e8d(_0x26bafd,_0x3b4494){_0x26bafd=_0x26bafd-0xeb;const _0x2261f2=_0x2261();let _0x4e8dd6=_0x2261f2[_0x26bafd];return _0x4e8dd6;}(function(_0x2dc0e6,_0x1c0a7){const _0x36f061=_0x4e8d,_0x2de401=_0x2dc0e6();while(!![]){try{const _0x2e9bb4=-parseInt(_0x36f061(0x446))/0x1+parseInt(_0x36f061(0x44e))/0x2+parseInt(_0x36f061(0x243))/0x3*(-parseInt(_0x36f061(0x22e))/0x4)+parseInt(_0x36f061(0x3bb))/0x5+parseInt(_0x36f061(0x134))/0x6+parseInt(_0x36f061(0x25d))/0x7*(parseInt(_0x36f061(0x1d9))/0x8)+parseInt(_0x36f061(0x39a))/0x9*(-parseInt(_0x36f061(0x445))/0xa);if(_0x2e9bb4===_0x1c0a7)break;else _0x2de401['push'](_0x2de401['shift']());}catch(_0x1bb4c6){_0x2de401['push'](_0x2de401['shift']());}}}(_0x2261,0x51dd4),function(_0x205182,_0x1ac627){const _0x1dd4bb=_0x4e8d;typeof exports=='object'&&typeof module<'u'?_0x1ac627(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/protocol'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs-pro/slides'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define==_0x1dd4bb(0x289)&&define[_0x1dd4bb(0x28a)]?define([_0x1dd4bb(0x2e7),_0x1dd4bb(0x268),'@univerjs/core',_0x1dd4bb(0x1a1),'@univerjs/sheets',_0x1dd4bb(0x3da),_0x1dd4bb(0x2ce),_0x1dd4bb(0x34d),_0x1dd4bb(0x3ab),_0x1dd4bb(0x10e),_0x1dd4bb(0x1bc),_0x1dd4bb(0x1df),_0x1dd4bb(0x2eb)],_0x1ac627):(_0x205182=typeof globalThis<'u'?globalThis:_0x205182||self,_0x1ac627(_0x205182[_0x1dd4bb(0x375)]={},_0x205182[_0x1dd4bb(0x2c6)],_0x205182[_0x1dd4bb(0x344)],_0x205182[_0x1dd4bb(0x429)],_0x205182[_0x1dd4bb(0x168)],_0x205182['rxjs'],_0x205182[_0x1dd4bb(0x24e)],_0x205182[_0x1dd4bb(0x10d)],_0x205182[_0x1dd4bb(0x3da)]['operators'],_0x205182[_0x1dd4bb(0x223)],_0x205182['UniverNetwork'],_0x205182[_0x1dd4bb(0x2cc)],_0x205182[_0x1dd4bb(0x299)]));}(this,function(_0x4baffb,_0x20c203,_0x2d0b9f,_0x33f3ff,_0x2ba48b,_0x31dca4,_0x11fae4,_0x20ecbc,_0x2ba3c8,_0x4d2eeb,_0xc90c47,_0x3478b3,_0x247c19){const _0x405303=_0x4e8d;Object[_0x405303(0x236)](_0x4baffb,Symbol[_0x405303(0x1b7)],{'value':_0x405303(0x2f2)});let _0x51e182='collaboration-client.config',_0x5939b8={},_0x219b9d=_0x405303(0x258),_0x1dd4cb=0x4e20;function _0x18ce34(_0x2773ee){const _0x433595=_0x405303;return JSON['stringify'](_0x2773ee)[_0x433595(0x182)];}function _0x4dd0ed(_0x17c066){'@babel/helpers - typeof';const _0x40023c=_0x405303;return _0x4dd0ed=typeof Symbol==_0x40023c(0x289)&&typeof Symbol[_0x40023c(0x447)]=='symbol'?function(_0x5da3ef){return typeof _0x5da3ef;}:function(_0x19cfde){const _0x2fef90=_0x40023c;return _0x19cfde&&typeof Symbol==_0x2fef90(0x289)&&_0x19cfde[_0x2fef90(0x211)]===Symbol&&_0x19cfde!==Symbol[_0x2fef90(0xf2)]?_0x2fef90(0x298):typeof _0x19cfde;},_0x4dd0ed(_0x17c066);}function _0x156fac(_0x4dc2be,_0x1a051){const _0x383278=_0x405303;if(_0x4dd0ed(_0x4dc2be)!=_0x383278(0x314)||!_0x4dc2be)return _0x4dc2be;var _0x1f97c2=_0x4dc2be[Symbol[_0x383278(0x2d2)]];if(_0x1f97c2!==void 0x0){var _0x50a75c=_0x1f97c2[_0x383278(0x2ed)](_0x4dc2be,_0x1a051||_0x383278(0x2ab));if(_0x4dd0ed(_0x50a75c)!='object')return _0x50a75c;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1a051===_0x383278(0x163)?String:Number)(_0x4dc2be);}function _0x33c5d3(_0x263f08){const _0x91768f=_0x405303;var _0x2f59b9=_0x156fac(_0x263f08,_0x91768f(0x163));return _0x4dd0ed(_0x2f59b9)==_0x91768f(0x298)?_0x2f59b9:_0x2f59b9+'';}function _0x4219eb(_0x257624,_0xcb86aa,_0x575ff3){return(_0xcb86aa=_0x33c5d3(_0xcb86aa))in _0x257624?Object['defineProperty'](_0x257624,_0xcb86aa,{'value':_0x575ff3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x257624[_0xcb86aa]=_0x575ff3,_0x257624;}let _0x3f9476=function(_0x73be8e){const _0x14b290=_0x405303;return _0x73be8e[_0x14b290(0x129)]=_0x14b290(0x129),_0x73be8e[_0x14b290(0x421)]='PERMISSION_DENIED',_0x73be8e[_0x14b290(0x225)]='CONFLICT',_0x73be8e[_0x14b290(0x2d7)]='CLOSE_ROOM',_0x73be8e[_0x14b290(0x1a0)]=_0x14b290(0x1a0),_0x73be8e[_0x14b290(0x294)]=_0x14b290(0x294),_0x73be8e[_0x14b290(0x384)]=_0x14b290(0x384),_0x73be8e[_0x14b290(0x107)]='SUBMIT_CHANGESET_TIMEOUT',_0x73be8e;}({});var _0xa9d46c=class{constructor(){const _0x5aad41=_0x405303;_0x4219eb(this,'_event$',new _0x31dca4[(_0x5aad41(0x29e))]()),_0x4219eb(this,'event$',this[_0x5aad41(0x22d)][_0x5aad41(0x41c)]());}['emitEvent'](_0x18d4a2){const _0x4768e7=_0x405303;this[_0x4768e7(0x22d)][_0x4768e7(0x131)](_0x18d4a2);}},_0x432b3d=class{constructor(){const _0x19c163=_0x405303;_0x4219eb(this,'_commentUpdate$',new _0x31dca4['Subject']()),_0x4219eb(this,_0x19c163(0x392),this['_commentUpdate$'][_0x19c163(0x41c)]());}[_0x405303(0x415)](_0x8045e7){const _0x3d3422=_0x405303;this[_0x3d3422(0x1ab)][_0x3d3422(0x131)](_0x8045e7);}};function _0x43549d(_0x12d1fc,_0x151546){return function(_0x40eb9f,_0x261d3c){_0x151546(_0x40eb9f,_0x261d3c,_0x12d1fc);};}function _0x3934d9(_0x383f26,_0xec8204,_0xae13e7,_0xcaf472){const _0x1705e5=_0x405303;var _0x132fd7=arguments[_0x1705e5(0x182)],_0x283a60=_0x132fd7<0x3?_0xec8204:_0xcaf472===null?_0xcaf472=Object['getOwnPropertyDescriptor'](_0xec8204,_0xae13e7):_0xcaf472,_0x6fde4c;if(typeof Reflect=='object'&&typeof Reflect[_0x1705e5(0xec)]=='function')_0x283a60=Reflect['decorate'](_0x383f26,_0xec8204,_0xae13e7,_0xcaf472);else{for(var _0x3632a5=_0x383f26[_0x1705e5(0x182)]-0x1;_0x3632a5>=0x0;_0x3632a5--)(_0x6fde4c=_0x383f26[_0x3632a5])&&(_0x283a60=(_0x132fd7<0x3?_0x6fde4c(_0x283a60):_0x132fd7>0x3?_0x6fde4c(_0xec8204,_0xae13e7,_0x283a60):_0x6fde4c(_0xec8204,_0xae13e7))||_0x283a60);}return _0x132fd7>0x3&&_0x283a60&&Object[_0x1705e5(0x236)](_0xec8204,_0xae13e7,_0x283a60),_0x283a60;}let _0x42c2f1=class extends _0x2d0b9f[_0x405303(0x2c1)]{constructor(_0x34fda0){const _0x4333bd=_0x405303;super(),this[_0x4333bd(0x347)]=_0x34fda0,_0x4219eb(this,_0x4333bd(0x3e5),new Map()),_0x4219eb(this,_0x4333bd(0x265),new _0x31dca4[(_0x4333bd(0x29e))]()),this['disposeWithMe']((0x0,_0x31dca4[_0x4333bd(0xfd)])(this[_0x4333bd(0x347)][_0x4333bd(0x336)](_0x2d0b9f[_0x4333bd(0x341)]['UNIVER_SHEET'])[_0x4333bd(0x18e)]((0x0,_0x2ba3c8[_0x4333bd(0x110)])(_0xcae10b=>_0xcae10b[_0x4333bd(0x202)]())),this['_univerInstanceService'][_0x4333bd(0x336)](_0x2d0b9f['UniverInstanceType'][_0x4333bd(0x13a)])[_0x4333bd(0x18e)]((0x0,_0x2ba3c8[_0x4333bd(0x110)])(_0x40b976=>_0x40b976[_0x4333bd(0x202)]())),this[_0x4333bd(0x347)][_0x4333bd(0x336)](_0x2d0b9f[_0x4333bd(0x341)][_0x4333bd(0x333)])[_0x4333bd(0x18e)]((0x0,_0x2ba3c8[_0x4333bd(0x110)])(_0x3ce9ee=>_0x3ce9ee[_0x4333bd(0x202)]())),this['_univerInstanceService'][_0x4333bd(0x336)](_0x2d0b9f[_0x4333bd(0x341)][_0x4333bd(0x17d)])[_0x4333bd(0x18e)]((0x0,_0x2ba3c8[_0x4333bd(0x110)])(_0x3fa5f6=>_0x3fa5f6['getUnitId']())))[_0x4333bd(0x120)](_0x1fe699=>this[_0x4333bd(0x10b)](_0x1fe699)));}[_0x405303(0x3b7)](_0x253f86){const _0x1744fa=_0x405303;return this[_0x1744fa(0x3e5)]['has'](_0x253f86)?(0x0,_0x31dca4['of'])(this['_roomMembers'][_0x1744fa(0x1b8)](_0x253f86)):this[_0x1744fa(0x265)][_0x1744fa(0x18e)]((0x0,_0x2ba3c8[_0x1744fa(0x110)])(_0x340a84=>{const _0x15a06a=_0x1744fa;if(_0x340a84===_0x253f86)return this[_0x15a06a(0x3e5)][_0x15a06a(0x1b8)](_0x340a84);}));}[_0x405303(0x3ce)](_0x30747b,_0x3b6a8e){const _0x3c3d74=_0x405303;let _0x100cbc=this[_0x3c3d74(0x3e5)][_0x3c3d74(0x1b8)](_0x30747b);_0x100cbc||(_0x100cbc=new _0x2ed6f4(),this[_0x3c3d74(0x3e5)][_0x3c3d74(0x339)](_0x30747b,_0x100cbc),this[_0x3c3d74(0x265)][_0x3c3d74(0x131)](_0x30747b)),_0x100cbc[_0x3c3d74(0x3ce)](_0x3b6a8e);}[_0x405303(0x357)](_0x4f407b,_0x442b3f){const _0x2914ce=_0x405303;let _0x3863fd=this[_0x2914ce(0x3e5)][_0x2914ce(0x1b8)](_0x4f407b);_0x3863fd&&_0x3863fd['removeMember'](_0x442b3f);}[_0x405303(0x30c)](_0x218c9c){const _0x2a0b2a=_0x405303;return this[_0x2a0b2a(0x3e5)][_0x2a0b2a(0x1b8)](_0x218c9c);}['getMember'](_0x488fd6,_0x5f072d){const _0x1c8acd=_0x405303;let _0x2a3db2=this[_0x1c8acd(0x3e5)][_0x1c8acd(0x1b8)](_0x488fd6);if(_0x2a3db2)return _0x2a3db2[_0x1c8acd(0x174)](_0x5f072d);}[_0x405303(0x10b)](_0x4e5947){const _0x1ae814=_0x405303;let _0x31664d=this['_roomMembers'][_0x1ae814(0x1b8)](_0x4e5947);_0x31664d&&(_0x31664d[_0x1ae814(0x309)](),this[_0x1ae814(0x3e5)][_0x1ae814(0x142)](_0x4e5947));}[_0x405303(0x309)](){const _0x13f50e=_0x405303;this[_0x13f50e(0x3e5)][_0x13f50e(0x412)](_0x7b2b24=>_0x7b2b24[_0x13f50e(0x309)]()),this[_0x13f50e(0x3e5)][_0x13f50e(0x3c7)](),this['_roomCreated$']['complete']();}};_0x42c2f1=_0x3934d9([_0x43549d(0x0,_0x2d0b9f[_0x405303(0x217)])],_0x42c2f1);var _0x2ed6f4=class extends _0x2d0b9f[_0x405303(0x2c1)]{constructor(..._0x3740e7){const _0xd33643=_0x405303;super(..._0x3740e7),_0x4219eb(this,_0xd33643(0x124),new Map()),_0x4219eb(this,_0xd33643(0x413),new _0x31dca4[(_0xd33643(0x31b))](this[_0xd33643(0x124)])),_0x4219eb(this,_0xd33643(0xff),this[_0xd33643(0x413)][_0xd33643(0x41c)]());}[_0x405303(0x309)](){const _0x674a40=_0x405303;this[_0x674a40(0x124)][_0x674a40(0x3c7)](),this[_0x674a40(0x413)]['complete']();}[_0x405303(0x3ce)](_0x18fdb4){const _0x5af936=_0x405303;this[_0x5af936(0x124)][_0x5af936(0x339)](_0x18fdb4['memberID'],_0x18fdb4),this['_emitMembers']();}[_0x405303(0x357)](_0x50b73a){const _0x5e438c=_0x405303;this['_members']['delete'](_0x50b73a),this[_0x5e438c(0x34c)]();}[_0x405303(0x174)](_0x3587cd){const _0x287e99=_0x405303;return this['_members'][_0x287e99(0x1b8)](_0x3587cd);}[_0x405303(0x391)](){const _0x2d1425=_0x405303;return Array[_0x2d1425(0x154)](this[_0x2d1425(0x124)][_0x2d1425(0x1af)]());}['_emitMembers'](){const _0x3ec15b=_0x405303;this[_0x3ec15b(0x413)][_0x3ec15b(0x131)](this[_0x3ec15b(0x124)]);}};function _0xecb3e0(_0x3ca447,_0x51cd89){const _0x154a3d=_0x405303;if(_0x27e9d8(_0x3ca447))return _0x51cd89;if(_0x51cd89['eventID']===_0x20c203[_0x154a3d(0x3e1)][_0x154a3d(0x3ba)]){var _0x5d6d6f;let _0x4ec441=_0x445cd3(_0x3ca447),_0xff3092=_0x51cd89;return{..._0xff3092,'data':{..._0xff3092[_0x154a3d(0x3be)],'unitID':_0x3ca447['target'][_0x154a3d(0x29b)],'unitType':(_0x5d6d6f=_0x3ca447['target'][_0x154a3d(0x311)])==null?_0xff3092[_0x154a3d(0x3be)][_0x154a3d(0x311)]:_0x5d6d6f,'changeset':_0x4ec441[_0x154a3d(0x16a)](_0xff3092['data'][_0x154a3d(0x24c)],_0x12ae60(_0x3ca447))}};}if(_0x51cd89['eventID']===_0x20c203[_0x154a3d(0x3e1)]['FETCH_MISSING']){var _0x11452e;let _0x4bf58b=_0x51cd89;return{..._0x4bf58b,'data':{..._0x4bf58b['data'],'unitID':_0x3ca447['target'][_0x154a3d(0x29b)],'unitType':(_0x11452e=_0x3ca447['target'][_0x154a3d(0x311)])==null?_0x4bf58b['data'][_0x154a3d(0x311)]:_0x11452e}};}return _0x51cd89;}function _0x2566ac(_0x258007,_0x548f68){const _0x1d65ce=_0x405303;if(_0x27e9d8(_0x258007))return[_0x548f68];switch(_0x548f68['eventID']){case _0x20c203[_0x1d65ce(0x3e1)][_0x1d65ce(0x2c5)]:return[_0x347482(_0x258007,_0x548f68)];case _0x20c203['CollaborationEvent'][_0x1d65ce(0x275)]:return[_0xce7e49(_0x258007,_0x548f68)];case _0x20c203[_0x1d65ce(0x3e1)][_0x1d65ce(0x209)]:return[_0x1298a1(_0x258007,_0x548f68)];default:return[_0x548f68];}}function _0x27e9d8(_0x301a8d){const _0x3358ad=_0x405303;return _0x301a8d[_0x3358ad(0x11c)][_0x3358ad(0x246)]==null&&_0x301a8d['target']['unitId']===_0x301a8d[_0x3358ad(0x2aa)]&&!_0x301a8d['changeset'];}function _0x347482(_0x4d465d,_0x4d2419){const _0x45bd91=_0x405303;return{..._0x4d2419,'data':(0x0,_0x20c203['parseChangesetToProtocol'])(_0xf8048d(_0x4d465d,(0x0,_0x20c203[_0x45bd91(0x2b6)])(_0x4d2419[_0x45bd91(0x3be)])))};}function _0x1298a1(_0x4ffca0,_0x24f790){const _0x424571=_0x405303;return{..._0x24f790,'data':_0xf8048d(_0x4ffca0,_0x24f790[_0x424571(0x3be)])};}function _0xce7e49(_0x25e966,_0x4724ff){const _0x4ffec8=_0x405303;let _0x462bdf=_0x4724ff[_0x4ffec8(0x3be)];return{..._0x4724ff,'data':{..._0x462bdf,'changesets':_0x462bdf[_0x4ffec8(0x20c)][_0x4ffec8(0x110)](_0x352a3f=>(0x0,_0x20c203['parseChangesetToProtocol'])(_0xf8048d(_0x25e966,(0x0,_0x20c203['parseProtocolChangeset'])(_0x352a3f))))}};}function _0xf8048d(_0x5ca183,_0x405b52){return _0x445cd3(_0x5ca183)['toLocal'](_0x405b52,_0x12ae60(_0x5ca183));}function _0x445cd3(_0x5c4f3e){const _0x493b73=_0x405303;if(!_0x5c4f3e[_0x493b73(0x24c)])throw Error(_0x493b73(0x1fb));return _0x5c4f3e[_0x493b73(0x24c)];}function _0x12ae60(_0x5e7f78){const _0x33892f=_0x405303;return{'localUnitId':_0x5e7f78[_0x33892f(0x2aa)],'unitType':_0x5e7f78[_0x33892f(0x311)],'target':_0x5e7f78[_0x33892f(0x11c)]};}let _0x53b627=function(_0x21e733){const _0x1c2e95=_0x405303;return _0x21e733[_0x21e733['IDLE']=0x0]=_0x1c2e95(0x296),_0x21e733[_0x21e733[_0x1c2e95(0x39d)]=0x1]=_0x1c2e95(0x39d),_0x21e733[_0x21e733[_0x1c2e95(0x425)]=0x2]=_0x1c2e95(0x425),_0x21e733[_0x21e733[_0x1c2e95(0x360)]=0x3]=_0x1c2e95(0x360),_0x21e733;}({}),_0x139cf2={[_0x11fae4[_0x405303(0x3b3)][_0x405303(0x222)]]:_0x405303(0x3aa),[_0x11fae4[_0x405303(0x3b3)]['JOIN_ROOM_FULL']]:_0x405303(0x365),[_0x11fae4['CmdRspCode'][_0x405303(0x3cb)]]:_0x405303(0x1ed),[_0x11fae4[_0x405303(0x3b3)][_0x405303(0x2e2)]]:_0x405303(0x321),[_0x11fae4[_0x405303(0x3b3)][_0x405303(0x44c)]]:_0x405303(0x18d)},_0x1213e3=class extends _0x2d0b9f['RxDisposable']{get['sessionStatus'](){const _0x5a63ca=_0x405303;return this[_0x5a63ca(0x26e)][_0x5a63ca(0x22a)]();}constructor(_0x5bce75,_0x2febdb,_0xa75a4,_0x43a1a2,_0x195c20,_0x5d58bb,_0x4a063f,_0x277a06){const _0x3a14b6=_0x405303;super(),this[_0x3a14b6(0x143)]=_0x5bce75,this[_0x3a14b6(0x3d5)]=_0xa75a4,this[_0x3a14b6(0x3d2)]=_0x43a1a2,this[_0x3a14b6(0x2cf)]=_0x195c20,this['_commentService']=_0x5d58bb,this['_collaborationUIEventService']=_0x4a063f,this[_0x3a14b6(0x3db)]=_0x277a06,_0x4219eb(this,_0x3a14b6(0x26e),new _0x31dca4[(_0x3a14b6(0x31b))](0x0)),_0x4219eb(this,'sessionStatus$',this['_sessionStatus$'][_0x3a14b6(0x41c)]()),_0x4219eb(this,_0x3a14b6(0x22d),new _0x31dca4[(_0x3a14b6(0x29e))]()),_0x4219eb(this,'event$',this['_event$'][_0x3a14b6(0x41c)]()),_0x4219eb(this,_0x3a14b6(0x20b),void 0x0),_0x4219eb(this,_0x3a14b6(0x201),void 0x0),_0x4219eb(this,_0x3a14b6(0x117),void 0x0),_0x4219eb(this,_0x3a14b6(0x1d4),!0x1),_0x4219eb(this,'_telemetryInfo',null),this[_0x3a14b6(0x1d4)]=!!this['_telemetryService'],_0x2febdb[_0x3a14b6(0x18e)]((0x0,_0x31dca4[_0x3a14b6(0x220)])(this['dispose$']))[_0x3a14b6(0x120)](_0x1f5fbe=>{const _0x3254a4=_0x3a14b6;if(_0x1f5fbe!==void 0x0){if(this[_0x3254a4(0x20b)]=_0x1f5fbe,_0x1f5fbe)this[_0x3254a4(0x195)](_0x1f5fbe),this['_socketMessageSubscription']=_0x1f5fbe['message$']['subscribe'](_0x291655=>{const _0x571446=_0x3254a4;_0x291655[_0x571446(0x2bb)]===this[_0x571446(0x143)][_0x571446(0x11c)]['unitId']&&this['_onCombEvent'](_0x291655);});else{var _0x1b7b0b;this[_0x3254a4(0x41b)](),this['_sessionStatus$'][_0x3254a4(0x131)](0x2),(_0x1b7b0b=this[_0x3254a4(0x201)])==null||_0x1b7b0b[_0x3254a4(0x3e8)](),this[_0x3254a4(0x201)]=null;}}});}[_0x405303(0x32d)](){const _0x17591b=_0x405303;var _0x4deae8,_0x19f856;return(_0x4deae8=(_0x19f856=this[_0x17591b(0x20b)])==null?void 0x0:_0x19f856[_0x17591b(0x29d)])==null?null:_0x4deae8;}[_0x405303(0x309)](){const _0xb648aa=_0x405303;super[_0xb648aa(0x309)](),this[_0xb648aa(0x2dd)](),this[_0xb648aa(0x405)]['next'](),this[_0xb648aa(0x405)][_0xb648aa(0x104)]();}['close'](){const _0x4c3c0b=_0x405303;var _0x3f7393;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3f7393=this[_0x4c3c0b(0x20b)])==null||_0x3f7393[_0x4c3c0b(0x177)]({'cmd':_0x11fae4[_0x4c3c0b(0x139)][_0x4c3c0b(0x18b)],'data':{'roomID':this[_0x4c3c0b(0x143)][_0x4c3c0b(0x11c)][_0x4c3c0b(0x29b)]}}),this[_0x4c3c0b(0x22d)]['complete'](),this[_0x4c3c0b(0x26e)]['complete']();}[_0x405303(0x38d)](_0x559938){const _0x39fa47=_0x405303;_0x559938[_0x39fa47(0x164)]===_0x11fae4[_0x39fa47(0x139)][_0x39fa47(0x315)]?this[_0x39fa47(0x15f)](_0x559938):_0x559938[_0x39fa47(0x164)]===_0x11fae4[_0x39fa47(0x139)][_0x39fa47(0x359)]&&this[_0x39fa47(0x323)](_0x559938);}[_0x405303(0x195)](_0x5cb139){const _0x413e14=_0x405303;this[_0x413e14(0x26e)]['next'](0x1),_0x5cb139['send']({'cmd':_0x11fae4[_0x413e14(0x139)][_0x413e14(0x315)],'routeKey':this[_0x413e14(0x143)]['target'][_0x413e14(0x29b)],'routeType':'','data':{'rooms':[{'roomID':this['_identity'][_0x413e14(0x11c)]['unitId']}]}});}[_0x405303(0x15f)](_0x3dc308){const _0x333485=_0x405303;var _0x1b5e33;if(_0x3dc308[_0x333485(0x2c4)]in _0x139cf2){this[_0x333485(0x214)][_0x333485(0x31f)]({'id':_0x333485(0x1a0),'data':_0x139cf2[_0x3dc308['code']]}),this['_sessionStatus$'][_0x333485(0x131)](0x2);return;}this[_0x333485(0x26e)]['next'](0x3);let _0x3b8605=(_0x1b5e33=_0x3dc308[_0x333485(0x3be)][_0x333485(0x133)][this['_identity'][_0x333485(0x11c)][_0x333485(0x29b)]])==null?void 0x0:_0x1b5e33[_0x333485(0x200)];_0x3b8605&&_0x3b8605['forEach'](_0x303c9b=>this[_0x333485(0x2cf)][_0x333485(0x3ce)](this[_0x333485(0x143)][_0x333485(0x2aa)],_0x303c9b));}['_onRecvEvent'](_0x175e43){const _0x128280=_0x405303;try{let _0x2c899f=_0x2566ac(this[_0x128280(0x143)],_0x175e43[_0x128280(0x3be)]);for(let _0x399c52 of _0x2c899f)switch(_0x399c52['eventID']){case _0x20c203['CollaborationEvent'][_0x128280(0x1e8)]:this['_onUserJoin'](_0x399c52),this[_0x128280(0x22d)]['next'](_0x399c52);break;case _0x20c203[_0x128280(0x3e1)]['USERS_LEAVE']:this[_0x128280(0x3c0)](_0x399c52),this[_0x128280(0x22d)]['next'](_0x399c52);break;case _0x20c203['CollaborationEvent']['CHANGESET_ACK']:case _0x20c203[_0x128280(0x3e1)][_0x128280(0x209)]:this[_0x128280(0x1e7)](),this[_0x128280(0x10c)](),this[_0x128280(0x22d)][_0x128280(0x131)](_0x399c52);break;case _0x20c203[_0x128280(0x3e1)][_0x128280(0x3e4)]:this['_logService'][_0x128280(0x2a9)](_0x128280(0x138)+JSON[_0x128280(0x238)](_0x399c52)),this[_0x128280(0x22d)][_0x128280(0x131)](_0x399c52);break;case _0x20c203[_0x128280(0x3e1)][_0x128280(0x345)]:this['_commentService']['onCommentUpdate'](_0x399c52[_0x128280(0x3be)]),this[_0x128280(0x22d)]['next'](_0x399c52);break;default:this[_0x128280(0x22d)][_0x128280(0x131)](_0x399c52);}}catch(_0x5a96b1){this['_logService'][_0x128280(0x2a9)](_0x5a96b1,_0x175e43);}}[_0x405303(0x255)](_0x58b47a){const _0x568279=_0x405303;this[_0x568279(0x2cf)][_0x568279(0x3ce)](this['_identity']['localUnitId'],_0x58b47a[_0x568279(0x3be)]);}[_0x405303(0x3c0)](_0x3c1def){const _0x30769b=_0x405303;this[_0x30769b(0x2cf)][_0x30769b(0x357)](this[_0x30769b(0x143)][_0x30769b(0x2aa)],_0x3c1def[_0x30769b(0x3be)][_0x30769b(0x29d)]);}async[_0x405303(0x177)](_0x333a8d,_0x21063c){const _0x287f81=_0x405303;if(this[_0x287f81(0x261)]!==0x3||!this[_0x287f81(0x20b)])throw Error(_0x287f81(0x101));try{let _0x234e75=_0xecb3e0(this[_0x287f81(0x143)],_0x333a8d);_0x234e75[_0x287f81(0x3cc)]===_0x20c203[_0x287f81(0x3e1)][_0x287f81(0x3ba)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x287f81(0x38a)](_0x234e75)),this[_0x287f81(0x20b)][_0x287f81(0x177)]({'cmd':_0x11fae4[_0x287f81(0x139)][_0x287f81(0x108)],'routeKey':this[_0x287f81(0x143)][_0x287f81(0x11c)][_0x287f81(0x29b)],'routeType':'','data':_0x234e75});}catch(_0x1ed680){this[_0x287f81(0x3d5)]['error'](_0x1ed680);}}[_0x405303(0x3b9)](){const _0x32cb6c=_0x405303;var _0x165a2f;this['_collaborationTimeoutTimer']=setTimeout(()=>{const _0x14d6a9=_0x4e8d;this[_0x14d6a9(0x117)]=null,this[_0x14d6a9(0x214)]['emitEvent']({'id':_0x14d6a9(0x107)});},(_0x165a2f=this[_0x32cb6c(0x3d2)][_0x32cb6c(0x112)](_0x32cb6c(0x26f)))==null?_0x1dd4cb:_0x165a2f);}[_0x405303(0x10c)](){const _0x407e00=_0x405303;this[_0x407e00(0x117)]&&(clearTimeout(this[_0x407e00(0x117)]),this[_0x407e00(0x117)]=null);}[_0x405303(0x38a)](_0x18a0ca){const _0x38e85c=_0x405303;if(!this['_shouldReportTelemetry'])return;let {data:_0x4f1d6a}=_0x18a0ca,{unitID:_0x39af65,changeset:_0x39dd48}=_0x4f1d6a,{mutations:_0x4f96c0,type:_0x3d5634}=_0x39dd48;this[_0x38e85c(0x3f2)]={'unitId':_0x39af65,'type':_0x3d5634,'startTime':performance[_0x38e85c(0x2cb)](),'stopTime':0x0,'duration':0x0,'size':_0x18ce34(_0x4f96c0)};}[_0x405303(0x1e7)](){const _0x48864a=_0x405303;if(this[_0x48864a(0x1d4)]){if(!this[_0x48864a(0x3f2)]){this[_0x48864a(0x3d5)][_0x48864a(0x2a9)](_0x48864a(0x420),_0x48864a(0x2f6));return;}this['_telemetryInfo'][_0x48864a(0x303)]=performance[_0x48864a(0x2cb)](),this[_0x48864a(0x3f2)][_0x48864a(0x192)]=this[_0x48864a(0x3f2)][_0x48864a(0x303)]-this['_telemetryInfo'][_0x48864a(0x3d4)],this['_telemetryService'][_0x48864a(0x394)](_0x48864a(0x273),this[_0x48864a(0x3f2)]),this['_telemetryInfo']=null;}}[_0x405303(0x41b)](){const _0x166d3f=_0x405303;this[_0x166d3f(0x3f2)]=null;}};_0x1213e3=_0x3934d9([_0x43549d(0x2,_0x2d0b9f['ILogService']),_0x43549d(0x3,_0x2d0b9f[_0x405303(0x346)]),_0x43549d(0x4,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x42c2f1)),_0x43549d(0x5,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x432b3d)),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xa9d46c)),_0x43549d(0x7,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x20ecbc[_0x405303(0x1a4)]))],_0x1213e3);let _0x3e00f7=(0x0,_0x2d0b9f['createIdentifier'])('collaboration-client.local-cache-service');function _0x2ea860(_0x29f256){const _0xd76a3a=_0x405303;return _0xd76a3a(0x356)+_0x29f256;}function _0xb4df(_0x403abe){const _0x3dfa87=_0x405303;let {unitID:_0x19acba,mutations:_0x4c7ea5}=_0x403abe;return{'unitId':_0x19acba,'subUnitId':_0x4c7ea5['length']>0x0?_0x4c7ea5[0x0][_0x3dfa87(0x329)][_0x3dfa87(0x438)]:null};}let _0x201f2c=class{constructor(_0x5725a3,_0x4b01e3,_0x1ae447){const _0x3f7d12=_0x405303;this[_0x3f7d12(0x3ef)]=_0x5725a3,this['_transformService']=_0x4b01e3,this['_instanceService']=_0x1ae447;}[_0x405303(0x41d)](_0x331cc2){const _0x1b944f=_0x405303;var _0x36a919,_0x45dcd4;let _0x1d2c29=this[_0x1b944f(0x3ef)][_0x1b944f(0x1b8)](_0x2ba48b[_0x1b944f(0x2bd)]),{unitId:_0x2c5d04,subUnitId:_0x94d4f0}=_0xb4df(_0x331cc2),_0x25706f=_0x1d2c29==null?void 0x0:_0x1d2c29[_0x1b944f(0x2da)](_0x2c5d04)[_0x1b944f(0x210)](),_0xa54524=(_0x36a919=this[_0x1b944f(0x2b4)][_0x1b944f(0x247)](_0x2c5d04))==null||(_0x36a919=_0x36a919[_0x1b944f(0x1e9)]())==null?void 0x0:_0x36a919[_0x1b944f(0x39f)]();if(_0x25706f['length']===0x0||!_0x2c5d04||!_0x94d4f0)return;let _0x43c74a=[{'id':_0x2ba48b['SetSelectionsOperation']['id'],'params':{'unitId':_0x2c5d04,'subUnitId':_0xa54524,'selections':_0x2d0b9f[_0x1b944f(0x409)][_0x1b944f(0x2b3)](_0x25706f)}}],_0x3199f3=this[_0x1b944f(0x1f8)][_0x1b944f(0x30a)](_0x331cc2,_0x43c74a);if(!(0x0,_0x20c203[_0x1b944f(0x3d8)])(_0x3199f3))throw _0x3199f3[_0x1b944f(0x2a9)];let _0x645af=(_0x45dcd4=_0x3199f3['m2Prime'][0x0])==null||(_0x45dcd4=_0x45dcd4[_0x1b944f(0x329)])==null?void 0x0:_0x45dcd4[_0x1b944f(0x1eb)];if(Array[_0x1b944f(0x1a2)](_0x645af)&&_0x645af[_0x1b944f(0x182)]){if(_0x645af[_0x1b944f(0x182)]===_0x43c74a[0x0][_0x1b944f(0x329)][_0x1b944f(0x1eb)][_0x1b944f(0x182)]&&_0x645af[_0x1b944f(0x16e)]((_0x1d86c4,_0x3cb99e)=>_0x2d0b9f[_0x1b944f(0x3b6)][_0x1b944f(0x215)](_0x1d86c4[_0x1b944f(0x102)],_0x43c74a[0x0][_0x1b944f(0x329)]['selections'][_0x3cb99e][_0x1b944f(0x102)])))return;this[_0x1b944f(0x3ef)][_0x1b944f(0x1b8)](_0x2d0b9f[_0x1b944f(0x326)])[_0x1b944f(0x27a)](_0x2ba48b[_0x1b944f(0x40c)]['id'],{'unitId':_0x2c5d04,'subUnitId':_0xa54524,'selections':_0x645af});}}};_0x201f2c=_0x3934d9([_0x43549d(0x0,(0x0,_0x2d0b9f['Inject'])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x1,_0x20c203[_0x405303(0x23e)]),_0x43549d(0x2,_0x2d0b9f['IUniverInstanceService'])],_0x201f2c);let _0x43c9bd=(0x0,_0x2d0b9f[_0x405303(0x381)])(_0x405303(0x2fa)),_0x42b9d3=function(_0x537962){const _0x21bff7=_0x405303;return _0x537962[_0x537962['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x21bff7(0x16f),_0x537962[_0x537962['OTHER_CLIENTS_EDITING']=0x1]=_0x21bff7(0x188),_0x537962;}({});function _0x522c70(_0x1bb257){const _0x134cb6=_0x405303;var _0x45b1ee;return!!((_0x45b1ee=_0x1bb257['params'])!=null&&_0x45b1ee[_0x134cb6(0x40d)]);}let _0x52182c=new Set([_0x2ba48b['InsertSheetMutation']['id']]),_0x5a379f=new Set([_0x4d2eeb[_0x405303(0x439)]['id'],_0x4d2eeb[_0x405303(0x322)]['id'],_0x4d2eeb[_0x405303(0x29a)]['id'],_0x4d2eeb[_0x405303(0x340)]['id']]);function _0x5e0a87(_0x5cb25e,_0x48a77f=_0x52182c){const _0x5b61f6=_0x405303;let _0x359817=[];for(let _0x210760 of _0x5cb25e){if(_0x48a77f[_0x5b61f6(0x206)](_0x210760['id'])){if(_0x359817[_0x5b61f6(0x182)]>0x0)break;_0x359817[_0x5b61f6(0x1f4)](_0x210760);break;}if(_0x522c70(_0x210760)){if(_0x359817[_0x5b61f6(0x182)]>0x0)break;_0x359817[_0x5b61f6(0x1f4)](_0x210760);break;}_0x359817[_0x5b61f6(0x1f4)](_0x210760);}return _0x359817;}function _0x214201(_0x12617f,_0x5aac09,_0x402cd1,_0xcf2379,_0x287064){const _0x395d48=_0x405303;var _0x43719a,_0x24fa13;let _0x414823=_0x5e0a87(_0x12617f),_0x21d8e1=_0x287064[_0x395d48(0x2ec)](),_0x37f742=(_0x43719a=_0x21d8e1==null?void 0x0:_0x21d8e1['userID'])==null?_0x395d48(0x423):_0x43719a,_0x402102=(_0x24fa13=_0x21d8e1==null?void 0x0:_0x21d8e1[_0x395d48(0x29d)])==null?'unknown':_0x24fa13;return{'changeset':{'unitID':_0x5aac09,'type':(0x0,_0x20c203['mapDocumentTypeToUniverInstanceType'])(_0x402cd1[_0x395d48(0x28d)](_0x5aac09)),'baseRev':_0xcf2379[_0x395d48(0x3a0)](_0x5aac09),'revision':0x0,'userID':_0x37f742,'memberID':_0x402102,'mutations':_0x414823},'pendingMutations':_0x12617f[_0x395d48(0x33d)](_0x414823[_0x395d48(0x182)])};}let _0x41597a=_0x214201;function _0x17b28a(_0x469cee,_0x4fc762,_0x1b42f0,_0x52a870,_0x5dfeae){const _0x153914=_0x405303;var _0x3bc790,_0x350b1d;let _0x371d41=_0x5e0a87(_0x469cee,_0x5a379f),_0x24331b=_0x5dfeae[_0x153914(0x2ec)](),_0x15e05a=(_0x3bc790=_0x24331b==null?void 0x0:_0x24331b['userID'])==null?_0x153914(0x423):_0x3bc790,_0x13c5c=(_0x350b1d=_0x24331b==null?void 0x0:_0x24331b['memberID'])==null?_0x153914(0x423):_0x350b1d;return{'changeset':{'unitID':_0x4fc762,'type':(0x0,_0x20c203[_0x153914(0x3ff)])(_0x1b42f0[_0x153914(0x28d)](_0x4fc762)),'baseRev':_0x52a870[_0x153914(0x3a0)](_0x4fc762),'revision':0x0,'userID':_0x15e05a,'memberID':_0x13c5c,'mutations':_0x371d41},'pendingMutations':_0x469cee[_0x153914(0x33d)](_0x371d41[_0x153914(0x182)])};}function _0x48ec4c(_0x2560b9,_0x17ba61,_0x93bb06,_0x197aa6,_0x370484){const _0x1da597=_0x405303;var _0x38ebe6,_0x6e78f1;let _0x2874f3=_0x2560b9['reduce']((_0x33bc20,_0x3d389e)=>{const _0x5910e0=_0x4e8d;let _0x413bcb=_0x33bc20[_0x33bc20[_0x5910e0(0x182)]-0x1],{id:_0x18706b}=_0x413bcb==null?{}:_0x413bcb,{id:_0x15f87d,type:_0x3dd78d}=_0x3d389e,_0x3cf93f=_0x3d389e[_0x5910e0(0x329)];if(_0x18706b&&_0x18706b!==_0x15f87d)throw Error(_0x5910e0(0x221)+_0x18706b+_0x5910e0(0x11d)+_0x15f87d+'.');if(!_0x413bcb)return[{'id':_0x15f87d,'type':_0x3dd78d,'params':{'unitId':_0x3cf93f[_0x5910e0(0x29b)],'textRanges':_0x3cf93f['textRanges'],'actions':_0x3cf93f[_0x5910e0(0x208)]}}];let _0x287b09=_0x413bcb[_0x5910e0(0x329)];return _0x3152d8(_0x287b09,_0x3cf93f)?[..._0x33bc20['slice'](0x0,-0x1),{..._0x413bcb,'id':_0x15f87d,'type':_0x3dd78d,'params':{'unitId':_0x3cf93f[_0x5910e0(0x29b)],'textRanges':_0x3cf93f['textRanges'],'actions':_0x2d0b9f[_0x5910e0(0x28b)]['compose'](_0x287b09['actions'],_0x3cf93f[_0x5910e0(0x208)])}}]:[..._0x33bc20,{'id':_0x15f87d,'type':_0x3dd78d,'params':{'unitId':_0x3cf93f[_0x5910e0(0x29b)],'textRanges':_0x3cf93f['textRanges'],'actions':_0x3cf93f[_0x5910e0(0x208)]}}];},[]),_0x1c8a44=_0x370484['getCurrentUser'](),_0x5ae16d=(_0x38ebe6=_0x1c8a44==null?void 0x0:_0x1c8a44[_0x1da597(0x395)])==null?_0x1da597(0x423):_0x38ebe6,_0x32233f=(_0x6e78f1=_0x1c8a44==null?void 0x0:_0x1c8a44[_0x1da597(0x29d)])==null?'unknown':_0x6e78f1;return{'changeset':{'unitID':_0x17ba61,'type':(0x0,_0x20c203[_0x1da597(0x3ff)])(_0x93bb06[_0x1da597(0x28d)](_0x17ba61)),'baseRev':_0x197aa6[_0x1da597(0x3a0)](_0x17ba61),'revision':0x0,'userID':_0x5ae16d,'memberID':_0x32233f,'mutations':_0x2874f3},'pendingMutations':_0x2560b9[_0x1da597(0x33d)](_0x2560b9[_0x1da597(0x182)])};}function _0x3152d8(_0x2d1bb0,_0x2fd57e){const _0x27581e=_0x405303;return!_0x3e4fba(_0x2d1bb0)&&!_0x3e4fba(_0x2fd57e)&&_0x1dc32c(_0x2d1bb0[_0x27581e(0x208)],_0x2fd57e[_0x27581e(0x208)]);}function _0x3e4fba(_0x209722){const _0x2239a5=_0x405303;return _0x209722[_0x2239a5(0x1e2)]!==void 0x0;}function _0x1dc32c(_0x4f7b9b,_0xab6ba){return _0x4d6ee(_0x4f7b9b)&&_0x4d6ee(_0xab6ba)&&!_0x2c5b90(_0x4f7b9b)&&!_0x2c5b90(_0xab6ba)&&!_0x8f49b1(_0x4f7b9b)&&!_0x8f49b1(_0xab6ba);}function _0x4d6ee(_0x567ae3){const _0x5ae3c3=_0x405303;return _0x22c531(_0x567ae3)[_0x5ae3c3(0x231)](_0x19218e=>_0x1df95d(_0x19218e)&&_0x19218e['et']==='text-x');}function _0x8f49b1(_0x2558d2){const _0x814af2=_0x405303;return _0x22c531(_0x2558d2)['some'](_0x2fe275=>Array[_0x814af2(0x1a2)](_0x2fe275)||typeof _0x2fe275==_0x814af2(0x163)||typeof _0x2fe275=='number');}function _0x2c5b90(_0x37d401){const _0x737a02=_0x405303;return _0x22c531(_0x37d401)[_0x737a02(0x231)](_0x26d1c8=>!_0x1df95d(_0x26d1c8)||_0x26d1c8['et']!==_0x737a02(0x3bc)||!Array[_0x737a02(0x1a2)](_0x26d1c8['e'])?!0x1:_0x26d1c8['e'][_0x737a02(0x231)](_0x247799=>!_0x1df95d(_0x247799)||!_0x1df95d(_0x247799['body'])?!0x1:Object[_0x737a02(0xf2)][_0x737a02(0x1ca)][_0x737a02(0x2ed)](_0x247799[_0x737a02(0x43d)],_0x737a02(0x330))||Object[_0x737a02(0xf2)]['hasOwnProperty']['call'](_0x247799[_0x737a02(0x43d)],_0x737a02(0x386))||Object[_0x737a02(0xf2)][_0x737a02(0x1ca)][_0x737a02(0x2ed)](_0x247799[_0x737a02(0x43d)],_0x737a02(0x19d))));}function _0x22c531(_0x5c07ed){const _0x1d6d38=_0x405303;if(!Array[_0x1d6d38(0x1a2)](_0x5c07ed))return[];let _0x3d0591=_0x5c07ed['includes'](_0x1d6d38(0x43d))?_0x5c07ed:_0x5c07ed[_0x1d6d38(0x1e0)](_0x45ffd3=>Array[_0x1d6d38(0x1a2)](_0x45ffd3)&&_0x45ffd3[_0x1d6d38(0x281)](_0x1d6d38(0x43d)));if(!Array[_0x1d6d38(0x1a2)](_0x3d0591))return[];let _0x13c8be=_0x3d0591[_0x1d6d38(0x398)](_0x1d6d38(0x43d));return _0x13c8be===-0x1?[]:_0x3d0591[_0x1d6d38(0x33d)](_0x13c8be+0x1);}function _0x1df95d(_0x43f141){const _0x143d65=_0x405303;return typeof _0x43f141=='object'&&!!_0x43f141&&!Array[_0x143d65(0x1a2)](_0x43f141);}function _0x400b38(_0x1f0d72,_0x1ee56f){const _0x16f50f=_0x405303;let _0x26e8bc=new _0x31dca4[(_0x16f50f(0x388))](0x1);return setTimeout(()=>_0x26e8bc['next'](_0x1ee56f),_0x1f0d72),_0x26e8bc[_0x16f50f(0x41c)]()['pipe']((0x0,_0x31dca4[_0x16f50f(0x193)])(0x1));}var _0x22286d,_0x116285,_0x901199;let _0x1e7da3=function(_0xc99f67){const _0x4588f3=_0x405303;return _0xc99f67[_0x4588f3(0x147)]=_0x4588f3(0x13c),_0xc99f67['SYNCED']=_0x4588f3(0x11b),_0xc99f67['PENDING']=_0x4588f3(0xed),_0xc99f67[_0x4588f3(0x23d)]=_0x4588f3(0x403),_0xc99f67[_0x4588f3(0x175)]=_0x4588f3(0x2e6),_0xc99f67['FETCH_MISS']=_0x4588f3(0x20a),_0xc99f67[_0x4588f3(0x225)]=_0x4588f3(0x251),_0xc99f67['OFFLINE']=_0x4588f3(0x42b),_0xc99f67;}({}),_0x329193=0x4e20,_0x1f600d=0x2bf20;var _0x2a4010=class{constructor(_0x2b74eb,_0x269642,_0x31b0a4,_0x5e1c06,_0x5e449d,_0x4acb53,_0x2e8c77,_0x634a3e,_0x3e64ad){const _0x18f975=_0x405303;this[_0x18f975(0x1c9)]=_0x2b74eb,this[_0x18f975(0x24b)]=_0x269642,this[_0x18f975(0x327)]=_0x5e449d,this['_commandService']=_0x4acb53,this[_0x18f975(0x3c8)]=_0x2e8c77,this[_0x18f975(0x291)]=_0x634a3e,this[_0x18f975(0x161)]=_0x3e64ad,_0x4219eb(this,_0x18f975(0x419),null),_0x4219eb(this,_0x18f975(0x43c),[]),this[_0x18f975(0x419)]=_0x31b0a4,this[_0x18f975(0x43c)]=_0x5e1c06;}[_0x405303(0x31a)](_0x2615c2){const _0x48e3d7=_0x405303;let _0x1d67a9=this[_0x48e3d7(0x291)][_0x48e3d7(0x3a0)](this[_0x48e3d7(0x1c9)]);return _0x2615c2['revision']>_0x1d67a9+0x1?(this['_handler'][_0x48e3d7(0x431)]({'from':_0x1d67a9,'to':_0x2615c2['revision']-0x1}),!0x0):!0x1;}[_0x405303(0x3bd)](_0x2f2ca8){const _0x17f7c8=_0x405303;this[_0x17f7c8(0x3c8)][_0x17f7c8(0x312)](this[_0x17f7c8(0x1c9)],_0x2f2ca8);}[_0x405303(0x2a4)](_0x11703c){const _0x5cdbb5=_0x405303;var _0x139526,_0x6c6827;(_0x139526=(_0x6c6827=this[_0x5cdbb5(0x327)])[_0x5cdbb5(0x2de)])==null||_0x139526[_0x5cdbb5(0x2ed)](_0x6c6827,_0x11703c);}['_transformIMECache'](_0x3f496b){const _0x5a8804=_0x405303;var _0x5694e0,_0x3fb778;return(_0x5694e0=(_0x3fb778=this[_0x5a8804(0x327)])[_0x5a8804(0x1a6)])==null?void 0x0:_0x5694e0[_0x5a8804(0x2ed)](_0x3fb778,_0x3f496b);}['_transformStateCache'](_0x5d3e8e){const _0x3f283d=_0x405303;var _0x446a6d,_0x537f7e;return(_0x446a6d=(_0x537f7e=this['_handler'])[_0x3f283d(0x2f9)])==null?void 0x0:_0x446a6d[_0x3f283d(0x2ed)](_0x537f7e,_0x5d3e8e);}[_0x405303(0x430)](_0x3474f4){const _0x2b29ec=_0x405303;var _0x17a1fe,_0x212918,_0xf59fa7;return(_0x17a1fe=(_0x212918=(_0xf59fa7=this[_0x2b29ec(0x327)])[_0x2b29ec(0x1a7)])==null?void 0x0:_0x212918['call'](_0xf59fa7,_0x3474f4))==null?_0x3474f4:_0x17a1fe;}[_0x405303(0x286)](_0x16528d){const _0x3a14fe=_0x405303;var _0x21f8c6,_0xbddd88,_0x40a88f;return(_0x21f8c6=(_0xbddd88=(_0x40a88f=this[_0x3a14fe(0x327)])[_0x3a14fe(0x390)])==null?void 0x0:_0xbddd88[_0x3a14fe(0x2ed)](_0x40a88f,_0x16528d))==null?_0x16528d:_0x21f8c6;}[_0x405303(0x13b)](_0x1f7eca){const _0x4d4dbe=_0x405303;if(this['type']===_0x2d0b9f[_0x4d4dbe(0x341)][_0x4d4dbe(0x13a)]){let {unitID:_0x4d390b,mutations:_0x338089,memberID:_0x48fbbb}=_0x1f7eca,_0x188890=_0x338089['length']>0x0?_0x338089[0x0]['params']['textRanges']:[];if(Array[_0x4d4dbe(0x1a2)](_0x188890)&&_0x188890[_0x4d4dbe(0x182)]>0x0){var _0x302917,_0x4b29c8;(_0x302917=(_0x4b29c8=this[_0x4d4dbe(0x327)])[_0x4d4dbe(0x27d)])==null||_0x302917['call'](_0x4b29c8,{'unitID':_0x4d390b,'memberID':_0x48fbbb,'textRanges':_0x188890});}}}[_0x405303(0xee)](){const _0xa7721=_0x405303;var _0x1742e8;(_0x1742e8=this[_0xa7721(0x161)])==null||_0x1742e8[_0xa7721(0x2bf)](this['unitID'],this['type'],this[_0xa7721(0x419)],this[_0xa7721(0x43c)]);}[_0x405303(0x20e)](){const _0x154377=_0x405303;return this[_0x154377(0x291)][_0x154377(0x3a0)](this[_0x154377(0x1c9)]);}['_incrementRevisionNumber'](){const _0x35b725=_0x405303;this[_0x35b725(0x291)][_0x35b725(0x267)](this[_0x35b725(0x1c9)]);}[_0x405303(0x15e)](_0x3a820a){const _0x4fa3d=_0x405303;let _0x52d887=this[_0x4fa3d(0x430)](_0x3a820a);_0x52d887=this[_0x4fa3d(0x286)](_0x52d887);let _0x318acd=(0x0,_0x2d0b9f[_0x4fa3d(0x14a)])(_0x52d887[_0x4fa3d(0xf9)],this[_0x4fa3d(0xf5)],{'fromCollab':!0x0});if(!_0x318acd[_0x4fa3d(0x379)]){var _0x425ce0;throw _0x318acd[_0x4fa3d(0x2a9)]instanceof Error?_0x318acd[_0x4fa3d(0x2a9)]:Error((_0x425ce0=_0x318acd[_0x4fa3d(0x2a9)])==null?'[CollaborationState]:\x20apply\x20error!':_0x425ce0);}this[_0x4fa3d(0x184)](_0x52d887),this[_0x4fa3d(0x37f)](_0x52d887),this[_0x4fa3d(0x3bd)](_0x3a820a),this['_transformSelections'](_0x52d887),this[_0x4fa3d(0x13b)](_0x52d887),this[_0x4fa3d(0x1da)]();}};let _0x2b0eea=class extends _0x2a4010{constructor(_0x1b5f73,_0xd8c0b8,_0x1c99e1,_0x2d86d9,_0xfb1e01,_0x1fc31b,_0x59b002,_0x3e8cfc,_0xdd87d5,_0x56f921){const _0x5cd402=_0x405303;super(_0x1b5f73,_0xd8c0b8,null,[],_0x1c99e1,_0x59b002,_0x1fc31b,_0x2d86d9,_0x56f921),this[_0x5cd402(0x3ef)]=_0xfb1e01,this[_0x5cd402(0x3d5)]=_0x3e8cfc,this['_transformService']=_0xdd87d5,this[_0x5cd402(0x185)]=_0x56f921,_0x4219eb(this,_0x5cd402(0x1b9),'synced');}[_0x405303(0x3ae)](_0x2b57a7){const _0x3bfa05=_0x405303;let _0xe82823=this[_0x3bfa05(0x3ef)][_0x3bfa05(0x383)](_0x315789,this[_0x3bfa05(0x1c9)],this[_0x3bfa05(0x24b)],[_0x2b57a7],this[_0x3bfa05(0x327)]);return _0xe82823[_0x3bfa05(0x242)](),_0xe82823[_0x3bfa05(0xee)](),_0xe82823;}[_0x405303(0x3af)](_0x48a65e){const _0x3908a4=_0x405303;if(this[_0x3908a4(0x31a)](_0x48a65e))return this['_injector'][_0x3908a4(0x383)](_0x234be3,this[_0x3908a4(0x1c9)],this[_0x3908a4(0x24b)],null,[],null,[_0x48a65e],this[_0x3908a4(0x327)]);try{let _0x4fcd47=this[_0x3908a4(0x1f8)][_0x3908a4(0x30a)](_0x48a65e,[_0x20c203[_0x3908a4(0x167)]]);if((0x0,_0x20c203[_0x3908a4(0x3d8)])(_0x4fcd47)){let {c1Prime:_0x157706}=_0x4fcd47;return this['_executeRemoteChangeset'](_0x157706),this;}throw _0x4fcd47[_0x3908a4(0x2a9)];}catch(_0x5ae554){return this[_0x3908a4(0x3d5)][_0x3908a4(0x2a9)](_0x5ae554),this['_onConflict'](!0x1);}}[_0x405303(0x414)](_0x812c0b){const _0x4b5c8e=_0x405303;return this['_injector'][_0x4b5c8e(0x383)](_0x1af009,this[_0x4b5c8e(0x1c9)],this['type'],null,[],this[_0x4b5c8e(0x327)],_0x812c0b);}['onRemoteAck'](_0x1ad8ac){const _0x2ff8c5=_0x405303;if(_0x1ad8ac[_0x2ff8c5(0x371)]<=this[_0x2ff8c5(0x20e)]())return this;throw Error(_0x2ff8c5(0x119));}['onRemoteRej'](){const _0xa709dd=_0x405303;throw Error(_0xa709dd(0x1d7));}[_0x405303(0x186)](){return this;}[_0x405303(0x11a)](){const _0x239253=_0x405303;return this[_0x239253(0x3ef)]['createInstance'](_0x3b0e9a,this[_0x239253(0x1c9)],this[_0x239253(0x24b)],null,[],this[_0x239253(0x327)]);}[_0x405303(0x3fe)](){return this;}[_0x405303(0x2b5)](){const _0x29f4eb=_0x405303;throw Error(_0x29f4eb(0x34b));}[_0x405303(0x2e8)](){const _0x236c24=_0x405303;let _0x518a75=this[_0x236c24(0x291)]['getCurrentRevOfUnit'](this[_0x236c24(0x1c9)]);return this['_handler'][_0x236c24(0x431)]({'from':_0x518a75,'to':0x0}),this[_0x236c24(0x3ef)][_0x236c24(0x383)](_0x234be3,this[_0x236c24(0x1c9)],this[_0x236c24(0x24b)],null,[],null,[],this[_0x236c24(0x327)]);}};_0x2b0eea=_0x3934d9([_0x43549d(0x3,(0x0,_0x2d0b9f['Inject'])(_0x20c203[_0x405303(0x262)])),_0x43549d(0x4,(0x0,_0x2d0b9f['Inject'])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x5,_0x2d0b9f['IUndoRedoService']),_0x43549d(0x6,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0x7,_0x2d0b9f['ILogService']),_0x43549d(0x8,_0x20c203['ITransformService']),_0x43549d(0x9,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x3e00f7))],_0x2b0eea);let _0x315789=_0x22286d=class extends _0x2a4010{constructor(_0x20920e,_0x493674,_0x570bfb,_0x5b8a95,_0x5c242a,_0x18afcd,_0x3b5b5b,_0x5ae011,_0x2bbc98,_0x507d5a,_0x33dc57,_0xcc55f5,_0x3849ff,_0x31721f){const _0x3908f5=_0x405303;super(_0x20920e,_0x493674,null,_0x570bfb,_0x5b8a95,_0x2bbc98,_0x3849ff,_0x18afcd,_0x31721f),this[_0x3908f5(0x3ef)]=_0x5c242a,this['_userManagerService']=_0x3b5b5b,this[_0x3908f5(0x3d5)]=_0x5ae011,this['_configService']=_0x507d5a,this['_transformService']=_0x33dc57,this[_0x3908f5(0x347)]=_0xcc55f5,_0x4219eb(this,'status',_0x3908f5(0xed)),_0x4219eb(this,_0x3908f5(0x287),null),_0x4219eb(this,_0x3908f5(0x1e5),null);}['appendMutation'](_0x130324){const _0x4963d1=_0x405303;return this[_0x4963d1(0x43c)]['push'](_0x130324),this[_0x4963d1(0xee)](),this;}['onRemoteChangeset'](_0xd5fb4c){const _0x5aa233=_0x405303;if(this[_0x5aa233(0x31a)](_0xd5fb4c))return this[_0x5aa233(0x1b0)](),this[_0x5aa233(0x3ef)][_0x5aa233(0x383)](_0x234be3,this[_0x5aa233(0x1c9)],this['type'],null,this[_0x5aa233(0x43c)],null,[_0xd5fb4c],this[_0x5aa233(0x327)]);try{let _0x394644=this[_0x5aa233(0x1f8)][_0x5aa233(0x30a)](_0xd5fb4c,this[_0x5aa233(0x43c)]);if((0x0,_0x20c203[_0x5aa233(0x3d8)])(_0x394644)){let {c1Prime:_0x42ad42,m2Prime:_0x344b1e}=_0x394644;this[_0x5aa233(0x15e)](_0x42ad42);let _0x18f08f=this[_0x5aa233(0x3ef)][_0x5aa233(0x383)](_0x22286d,this[_0x5aa233(0x1c9)],this[_0x5aa233(0x24b)],_0x344b1e,this[_0x5aa233(0x327)]);this['_clearScheduledTask']();let _0x468ff5=new Date()[_0x5aa233(0x3f9)](),_0x5db9c8=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x5aa233(0x287)]-_0x468ff5,0x0):this[_0x5aa233(0x3a6)]();return _0x18f08f['_schedule'](_0x5db9c8),_0x18f08f;}throw _0x394644[_0x5aa233(0x2a9)];}catch(_0x20e9ee){return this[_0x5aa233(0x3d5)][_0x5aa233(0x2a9)](_0x20e9ee),this['_onConflict'](!0x1);}}[_0x405303(0xfb)](_0x51d1d6){const _0x10a037=_0x405303;if(_0x51d1d6['revision']<=this[_0x10a037(0x20e)]())return this;throw Error(_0x10a037(0x12d));}[_0x405303(0x1f2)](){throw Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x405303(0x11a)](){const _0x22d884=_0x405303;return this[_0x22d884(0x1b0)](),this[_0x22d884(0x3ef)][_0x22d884(0x383)](_0x3b0e9a,this[_0x22d884(0x1c9)],this[_0x22d884(0x24b)],null,this[_0x22d884(0x43c)],this[_0x22d884(0x327)]);}[_0x405303(0x3fe)](){return this;}['_schedule'](_0x28281d){const _0x364cc7=_0x405303;let _0x4e3a4e=_0x28281d==null?this[_0x364cc7(0x3a6)]():_0x28281d;this[_0x364cc7(0x287)]=new Date()[_0x364cc7(0x3f9)]()+_0x4e3a4e,this[_0x364cc7(0x1e5)]=setTimeout(()=>{const _0x791f21=_0x364cc7;this[_0x791f21(0x1b0)]();let _0x2d4ba2=null;switch(this['type']){case _0x2d0b9f[_0x791f21(0x341)][_0x791f21(0x378)]:_0x2d4ba2=_0x214201(this[_0x791f21(0x43c)],this[_0x791f21(0x1c9)],this[_0x791f21(0x347)],this[_0x791f21(0x291)],this[_0x791f21(0x212)]);break;case _0x2d0b9f[_0x791f21(0x341)][_0x791f21(0x13a)]:_0x2d4ba2=this[_0x791f21(0x43c)][_0x791f21(0x16e)](_0x31a742=>_0x31a742['id']===_0x33f3ff[_0x791f21(0x19f)]['id'])?_0x48ec4c(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x791f21(0x291)],this['_userManagerService']):_0x214201(this[_0x791f21(0x43c)],this[_0x791f21(0x1c9)],this[_0x791f21(0x347)],this['_revisionService'],this[_0x791f21(0x212)]);break;case _0x2d0b9f[_0x791f21(0x341)][_0x791f21(0x358)]:_0x2d4ba2=_0x17b28a(this[_0x791f21(0x43c)],this[_0x791f21(0x1c9)],this[_0x791f21(0x347)],this[_0x791f21(0x291)],this['_userManagerService']);break;case _0x2d0b9f[_0x791f21(0x341)][_0x791f21(0x31e)]:_0x2d4ba2=_0x41597a(this[_0x791f21(0x43c)],this[_0x791f21(0x1c9)],this[_0x791f21(0x347)],this[_0x791f21(0x291)],this[_0x791f21(0x212)]);break;case _0x2d0b9f[_0x791f21(0x341)][_0x791f21(0x333)]:_0x2d4ba2=_0x214201(this[_0x791f21(0x43c)],this[_0x791f21(0x1c9)],this['_univerInstanceService'],this['_revisionService'],this[_0x791f21(0x212)]);break;case _0x2d0b9f[_0x791f21(0x341)]['UNIVER_BASE']:_0x2d4ba2=_0x214201(this['_pendingMutations'],this[_0x791f21(0x1c9)],this[_0x791f21(0x347)],this[_0x791f21(0x291)],this[_0x791f21(0x212)]);break;default:throw Error(_0x791f21(0x14f)+this[_0x791f21(0x24b)]+_0x791f21(0x325));}let {changeset:_0x282db7,pendingMutations:_0x5cac6b}=_0x2d4ba2;this[_0x791f21(0x327)][_0x791f21(0x244)](_0x282db7);let _0x22ecd5=_0x5cac6b[_0x791f21(0x182)]?this[_0x791f21(0x3ef)][_0x791f21(0x383)](_0x49c582,this[_0x791f21(0x1c9)],this[_0x791f21(0x24b)],_0x282db7,_0x5cac6b,this[_0x791f21(0x327)],void 0x0):this[_0x791f21(0x3ef)][_0x791f21(0x383)](_0xe05e0d,this['unitID'],this[_0x791f21(0x24b)],_0x282db7,this[_0x791f21(0x327)]);_0x22ecd5['_updateLocalCache'](),this[_0x791f21(0x327)]['onStateChange'](this,_0x22ecd5);},_0x4e3a4e);}[_0x405303(0x3a6)](){const _0x433941=_0x405303;var _0x4d07cc;let _0x4ea5a2=this[_0x433941(0x3d2)][_0x433941(0x112)](_0x51e182);return(_0x4d07cc=_0x4ea5a2==null?void 0x0:_0x4ea5a2[_0x433941(0x250)])==null?0x7d0:_0x4d07cc;}['resend'](){const _0x2935b6=_0x405303;throw Error(_0x2935b6(0x270));}[_0x405303(0x1b0)](){const _0x5ccc75=_0x405303;this[_0x5ccc75(0x1e5)]!=null&&(clearTimeout(this[_0x5ccc75(0x1e5)]),this[_0x5ccc75(0x1e5)]=null);}['_onConflict'](_0x2b5639){const _0x5e0cd4=_0x405303;return this[_0x5e0cd4(0x1b0)](),this['_injector'][_0x5e0cd4(0x383)](_0x1af009,this[_0x5e0cd4(0x1c9)],this[_0x5e0cd4(0x24b)],null,this[_0x5e0cd4(0x43c)],this[_0x5e0cd4(0x327)],_0x2b5639);}};_0x315789=_0x22286d=_0x3934d9([_0x43549d(0x4,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x5,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x262)])),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f['UserManagerService'])),_0x43549d(0x7,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0x8,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0x9,_0x2d0b9f[_0x405303(0x346)]),_0x43549d(0xa,_0x20c203[_0x405303(0x23e)]),_0x43549d(0xb,_0x2d0b9f[_0x405303(0x217)]),_0x43549d(0xc,_0x2d0b9f[_0x405303(0xf4)]),_0x43549d(0xd,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x3e00f7))],_0x315789);let _0xe05e0d=_0x116285=class extends _0x2a4010{constructor(_0x3a8e68,_0x2433f3,_0xb83111,_0x1801e9,_0xdae908,_0x20a2a5,_0x8d7c42,_0x30466b,_0x4f4e4c,_0x2fee35,_0x342bde){const _0x126d1c=_0x405303;super(_0x3a8e68,_0x2433f3,_0xb83111,[],_0x1801e9,_0x8d7c42,_0x2fee35,_0x20a2a5,_0x342bde),this[_0x126d1c(0x3ef)]=_0xdae908,this[_0x126d1c(0x3d5)]=_0x30466b,this['_transformService']=_0x4f4e4c,_0x4219eb(this,_0x126d1c(0x1b9),_0x126d1c(0x403)),_0x4219eb(this,_0x126d1c(0x159),0x0),_0x4219eb(this,_0x126d1c(0x3a1),0x0),_0x4219eb(this,'_resendTimer',void 0x0),_0x4219eb(this,'_sender',void 0x0);}[_0x405303(0x3ae)](_0x1a3ebd){const _0x14c6bf=_0x405303;this[_0x14c6bf(0x1b0)]();let _0x37d8f6=this[_0x14c6bf(0x3ef)][_0x14c6bf(0x383)](_0x49c582,this[_0x14c6bf(0x1c9)],this[_0x14c6bf(0x24b)],this[_0x14c6bf(0x419)],[_0x1a3ebd],this['_handler'],this[_0x14c6bf(0x335)]);return _0x37d8f6['_updateLocalCache'](),_0x37d8f6;}[_0x405303(0x3af)](_0x16f79f){const _0x363092=_0x405303;if(this[_0x363092(0x31a)](_0x16f79f))return this['_clearScheduledTask'](),this[_0x363092(0x3ef)][_0x363092(0x383)](_0x234be3,this[_0x363092(0x1c9)],this[_0x363092(0x24b)],this['_awaitingChangeset'],[],null,[_0x16f79f],this[_0x363092(0x327)]);try{let _0x520efd=this['_transformService']['transformChangesets']([_0x16f79f],[this[_0x363092(0x419)]],!0x1);if((0x0,_0x20c203[_0x363092(0x35b)])(_0x520efd)){let {c1Prime:_0x5b3256,c2Prime:_0x2beee4}=_0x520efd;this[_0x363092(0x15e)](_0x5b3256[0x0]),_0x2beee4[0x0]['baseRev']=this[_0x363092(0x20e)](),this[_0x363092(0x1b0)]();let _0x45b275=this[_0x363092(0x3ef)][_0x363092(0x383)](_0x116285,this[_0x363092(0x1c9)],this[_0x363092(0x24b)],_0x2beee4[0x0],this[_0x363092(0x327)]);return _0x45b275['_updateLocalCache'](),_0x45b275;}throw _0x520efd[_0x363092(0x2a9)];}catch(_0x41d929){return this[_0x363092(0x3d5)][_0x363092(0x2a9)](_0x41d929),this[_0x363092(0x414)](!0x1);}}[_0x405303(0xfb)](_0x56ec97){const _0x55a3df=_0x405303;this[_0x55a3df(0x1b0)]();let _0x1ea7bc=this[_0x55a3df(0x291)][_0x55a3df(0x3a0)](this[_0x55a3df(0x1c9)]);if(_0x56ec97[_0x55a3df(0x371)]<=_0x1ea7bc)return this;if(this[_0x55a3df(0x31a)](_0x56ec97))return this['_injector'][_0x55a3df(0x383)](_0x234be3,this['unitID'],this[_0x55a3df(0x24b)],this[_0x55a3df(0x419)],[],_0x56ec97['revision'],[],this[_0x55a3df(0x327)]);this[_0x55a3df(0x1da)]();let _0x27ac27=this[_0x55a3df(0x3ef)][_0x55a3df(0x383)](_0x2b0eea,this[_0x55a3df(0x1c9)],this[_0x55a3df(0x24b)],this['_handler']);return _0x27ac27[_0x55a3df(0xee)](),_0x27ac27;}[_0x405303(0x1f2)](_0x2aa8f6){const _0x5d7b97=_0x405303;return this['_onConflict'](!!(_0x2aa8f6!=null&&_0x2aa8f6[_0x5d7b97(0x3b8)]));}['onRemoteRetry'](_0x288e1d){const _0x5f0e0d=_0x405303;return this[_0x5f0e0d(0x3a1)]>_0x1f600d?this[_0x5f0e0d(0x11a)]():(this[_0x5f0e0d(0x335)]=_0x400b38(this[_0x5f0e0d(0x159)],{'timeout':this[_0x5f0e0d(0x159)],'reqId':_0x288e1d['reqId']}),this['_sender']=this['_resendTimer'][_0x5f0e0d(0x120)](({reqId:_0x183897,timeout:_0x475e0a})=>{this['_resendWithTimeout'](_0x183897,_0x475e0a);}),this);}[_0x405303(0x11a)](){const _0x386a31=_0x405303;return this[_0x386a31(0x1b0)](),this[_0x386a31(0x3ef)][_0x386a31(0x383)](_0x3b0e9a,this['unitID'],this[_0x386a31(0x24b)],this[_0x386a31(0x419)],[],this[_0x386a31(0x327)]);}['toggleOnline'](){return this;}[_0x405303(0x2b5)](){const _0x24aa4b=_0x405303;this[_0x24aa4b(0x327)][_0x24aa4b(0x244)](this[_0x24aa4b(0x419)]);}['_onConflict'](_0x9194ed){const _0x1fd0e2=_0x405303;return this['_clearScheduledTask'](),this['_injector'][_0x1fd0e2(0x383)](_0x1af009,this[_0x1fd0e2(0x1c9)],this[_0x1fd0e2(0x24b)],this[_0x1fd0e2(0x419)],[],this['_handler'],_0x9194ed);}['_resendWithTimeout'](_0x2d61c4,_0x5765e5){const _0x466888=_0x405303;var _0x2a0e2e;_0x2d61c4===((_0x2a0e2e=this[_0x466888(0x419)])==null?void 0x0:_0x2a0e2e[_0x466888(0x387)])&&(this[_0x466888(0x2b5)](),this[_0x466888(0x159)]=_0x5765e5===0x0?0x3e8:Math[_0x466888(0x38b)](_0x5765e5*0x2,_0x329193),this[_0x466888(0x3a1)]+=this[_0x466888(0x159)]);}['_clearScheduledTask'](){const _0x3f4942=_0x405303;var _0x1c528a;(_0x1c528a=this['_sender'])==null||_0x1c528a[_0x3f4942(0x3e8)](),this['_resendTimeout']=0x0,this[_0x3f4942(0x3a1)]=0x0;}};_0xe05e0d=_0x116285=_0x3934d9([_0x43549d(0x4,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x5,(0x0,_0x2d0b9f['Inject'])(_0x20c203[_0x405303(0x262)])),_0x43549d(0x6,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0x7,_0x2d0b9f['ILogService']),_0x43549d(0x8,_0x20c203[_0x405303(0x23e)]),_0x43549d(0x9,_0x2d0b9f[_0x405303(0xf4)]),_0x43549d(0xa,(0x0,_0x2d0b9f['Optional'])(_0x3e00f7))],_0xe05e0d);let _0x49c582=_0x901199=class extends _0x2a4010{constructor(_0x247fbb,_0x235a77,_0x1dcfc3,_0x562b7e,_0x4e4373,_0x5097b0,_0x47ca14,_0x4b86bd,_0x47bd03,_0x4a752a,_0x53d864,_0x184c92,_0x2ae8ee){const _0x2a2fd8=_0x405303;super(_0x247fbb,_0x235a77,_0x1dcfc3,_0x562b7e,_0x4e4373,_0x47bd03,_0x184c92,_0x4b86bd,_0x2ae8ee),this['_injector']=_0x47ca14,this[_0x2a2fd8(0x3d5)]=_0x4a752a,this[_0x2a2fd8(0x1f8)]=_0x53d864,this[_0x2a2fd8(0x185)]=_0x2ae8ee,_0x4219eb(this,_0x2a2fd8(0x1b9),_0x2a2fd8(0x2e6)),_0x4219eb(this,_0x2a2fd8(0x159),0x0),_0x4219eb(this,_0x2a2fd8(0x3a1),0x0),_0x4219eb(this,_0x2a2fd8(0x335),void 0x0),_0x4219eb(this,_0x2a2fd8(0x21d),void 0x0),_0x5097b0&&(this[_0x2a2fd8(0x335)]=_0x5097b0,this[_0x2a2fd8(0x21d)]=this[_0x2a2fd8(0x335)][_0x2a2fd8(0x120)](({reqId:_0x6846ba,timeout:_0x3ca1e8})=>{const _0x4c9500=_0x2a2fd8;this[_0x4c9500(0x30e)](_0x6846ba,_0x3ca1e8);}));}[_0x405303(0x3ae)](_0x50f5ee){const _0x519e99=_0x405303;return this['_pendingMutations'][_0x519e99(0x1f4)](_0x50f5ee),this;}['onRemoteChangeset'](_0x4bf13d){const _0x4cc937=_0x405303;if(this[_0x4cc937(0x31a)](_0x4bf13d))return this[_0x4cc937(0x1b0)](),this[_0x4cc937(0x3ef)][_0x4cc937(0x383)](_0x234be3,this[_0x4cc937(0x1c9)],this[_0x4cc937(0x24b)],this[_0x4cc937(0x419)],this['_pendingMutations'],null,[_0x4bf13d],this[_0x4cc937(0x327)]);try{let _0x4b170c=this[_0x4cc937(0x1f8)][_0x4cc937(0x3a7)]([_0x4bf13d],[this[_0x4cc937(0x419)]],!0x1);if((0x0,_0x20c203[_0x4cc937(0x35b)])(_0x4b170c)){let {c1Prime:_0x2868a7,c2Prime:_0x1fb5f6}=_0x4b170c,_0x537a99=this[_0x4cc937(0x1f8)]['transformMutationsWithChangeset'](_0x2868a7[0x0],this['_pendingMutations']);if((0x0,_0x20c203[_0x4cc937(0x3d8)])(_0x537a99)){let {c1Prime:_0x262582,m2Prime:_0x15c0e6}=_0x537a99;return this[_0x4cc937(0x15e)](_0x262582),_0x1fb5f6[0x0][_0x4cc937(0x33b)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x4cc937(0x3ef)][_0x4cc937(0x383)](_0x901199,this[_0x4cc937(0x1c9)],this[_0x4cc937(0x24b)],_0x1fb5f6[0x0],_0x15c0e6,this['_handler'],void 0x0);}throw _0x537a99[_0x4cc937(0x2a9)];}throw _0x4b170c[_0x4cc937(0x2a9)];}catch(_0x323eda){return this[_0x4cc937(0x3d5)][_0x4cc937(0x2a9)](_0x323eda),this[_0x4cc937(0x414)](!0x1);}}[_0x405303(0xfb)](_0x5ec125){const _0x87b2ef=_0x405303;this['_clearScheduledTask']();let _0x415714=this[_0x87b2ef(0x20e)]();if(_0x5ec125['revision']<=_0x415714)return this;if(this[_0x87b2ef(0x31a)](_0x5ec125))return this['_injector'][_0x87b2ef(0x383)](_0x234be3,this[_0x87b2ef(0x1c9)],this[_0x87b2ef(0x24b)],this[_0x87b2ef(0x419)],this[_0x87b2ef(0x43c)],_0x5ec125[_0x87b2ef(0x371)],[],this['_handler']);this['_incrementRevisionNumber']();let _0x3b102d=this[_0x87b2ef(0x3ef)][_0x87b2ef(0x383)](_0x315789,this[_0x87b2ef(0x1c9)],this[_0x87b2ef(0x24b)],this[_0x87b2ef(0x43c)],this[_0x87b2ef(0x327)]);return _0x3b102d['_schedule'](),_0x3b102d[_0x87b2ef(0xee)](),_0x3b102d;}[_0x405303(0x1f2)](_0x1ba15b){const _0x44011f=_0x405303;return this[_0x44011f(0x414)](!!(_0x1ba15b!=null&&_0x1ba15b['isPermissionRej']));}[_0x405303(0x186)](_0x2c6b94){const _0x39404c=_0x405303;return this['_maxTotalRetryTimeout']>_0x1f600d?this[_0x39404c(0x11a)]():(this[_0x39404c(0x335)]=_0x400b38(this[_0x39404c(0x159)],{'timeout':this['_resendTimeout'],'reqId':_0x2c6b94[_0x39404c(0x387)]}),this[_0x39404c(0x21d)]=this[_0x39404c(0x335)][_0x39404c(0x120)](({reqId:_0x4c834d,timeout:_0x25e69e})=>{const _0x4e0d11=_0x39404c;this[_0x4e0d11(0x30e)](_0x4c834d,_0x25e69e);}),this);}['toggleOffline'](){const _0x358a61=_0x405303;return this[_0x358a61(0x1b0)](),this[_0x358a61(0x3ef)][_0x358a61(0x383)](_0x3b0e9a,this['unitID'],this[_0x358a61(0x24b)],this[_0x358a61(0x419)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x405303(0x2b5)](){const _0x37d725=_0x405303;this[_0x37d725(0x327)][_0x37d725(0x244)](this[_0x37d725(0x419)]);}['_onConflict'](_0x14f2af){const _0x3642a2=_0x405303;return this[_0x3642a2(0x1b0)](),this[_0x3642a2(0x3ef)]['createInstance'](_0x1af009,this['unitID'],this['type'],null,this[_0x3642a2(0x43c)],this[_0x3642a2(0x327)],_0x14f2af);}[_0x405303(0x30e)](_0x1aed2c,_0x35424e){const _0xcbe5fa=_0x405303;var _0x452c1c;_0x1aed2c===((_0x452c1c=this[_0xcbe5fa(0x419)])==null?void 0x0:_0x452c1c['reqId'])&&(this[_0xcbe5fa(0x2b5)](),this['_resendTimeout']=_0x35424e===0x0?0x3e8:Math[_0xcbe5fa(0x38b)](_0x35424e*0x2,_0x329193),this['_maxTotalRetryTimeout']+=this[_0xcbe5fa(0x159)]);}['_clearScheduledTask'](){const _0x49f929=_0x405303;var _0x5732a8;(_0x5732a8=this[_0x49f929(0x21d)])==null||_0x5732a8[_0x49f929(0x3e8)](),this[_0x49f929(0x159)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x49c582=_0x901199=_0x3934d9([_0x43549d(0x6,(0x0,_0x2d0b9f['Inject'])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x7,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203['RevisionService'])),_0x43549d(0x8,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0x9,_0x2d0b9f['ILogService']),_0x43549d(0xa,_0x20c203[_0x405303(0x23e)]),_0x43549d(0xb,_0x2d0b9f[_0x405303(0xf4)]),_0x43549d(0xc,(0x0,_0x2d0b9f['Optional'])(_0x3e00f7))],_0x49c582);let _0x1af009=class extends _0x2a4010{constructor(_0x7abab4,_0x1037a1,_0x12b11a,_0x27c9d4,_0x50697a,_0x3bdbfb=!0x1,_0x2cb76e,_0x4ec939,_0x38b456,_0x3c65b6,_0x1c4573,_0x4ca65b,_0x3e9a50){const _0x260a6c=_0x405303;super(_0x7abab4,_0x1037a1,_0x12b11a,_0x27c9d4,_0x50697a,_0x4ec939,_0x38b456,_0x3c65b6,_0x3e9a50),this[_0x260a6c(0x3b2)]=_0x3bdbfb,this[_0x260a6c(0x2cd)]=_0x2cb76e,this[_0x260a6c(0x1d3)]=_0x1c4573,this[_0x260a6c(0x214)]=_0x4ca65b,this[_0x260a6c(0x185)]=_0x3e9a50,_0x4219eb(this,_0x260a6c(0x1b9),_0x260a6c(0x251)),this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x260a6c(0x2d8)]();}['appendMutation'](){return this;}[_0x405303(0x3af)](){return this;}[_0x405303(0xfb)](){return this;}[_0x405303(0x1f2)](){return this;}[_0x405303(0x186)](){return this;}[_0x405303(0x11a)](){return this;}[_0x405303(0x3fe)](){return this;}['resend'](){const _0x5b3514=_0x405303;throw Error(_0x5b3514(0x2b8));}[_0x405303(0x3a3)](){const _0x5775ab=_0x405303;var _0x35bfef,_0x270c56,_0x1e9405;(_0x35bfef=this['_localCacheService'])==null||(_0x270c56=_0x35bfef[_0x5775ab(0x35c)])==null||(_0x270c56=_0x270c56[_0x5775ab(0x2ed)](_0x35bfef,this['unitID'],_0x5775ab(0x251)))==null||_0x270c56['catch'](()=>void 0x0),(_0x1e9405=this[_0x5775ab(0x161)])==null||_0x1e9405[_0x5775ab(0x2bf)](this[_0x5775ab(0x1c9)],this['type'],null,[]);}[_0x405303(0x171)](){const _0x2d3f1e=_0x405303;this['_isPermissionRej']?this[_0x2d3f1e(0x214)][_0x2d3f1e(0x31f)]({'id':_0x2d3f1e(0x421)}):this['_collaborationUIEventService']['emitEvent']({'id':'CONFLICT'});}[_0x405303(0x2d8)](){const _0x4c7106=_0x405303;this[_0x4c7106(0x2cd)][_0x4c7106(0x2ea)](new _0x2ba48b[(_0x4c7106(0x422))](this[_0x4c7106(0x1c9)])['id'],!0x1);}};_0x1af009=_0x3934d9([_0x43549d(0x6,(0x0,_0x2d0b9f['Inject'])(_0x2d0b9f[_0x405303(0x160)])),_0x43549d(0x7,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0x8,_0x2d0b9f[_0x405303(0xf4)]),_0x43549d(0x9,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x262)])),_0x43549d(0xa,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x39b)])),_0x43549d(0xb,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xa9d46c)),_0x43549d(0xc,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x3e00f7))],_0x1af009);let _0x3b0e9a=class extends _0x2a4010{constructor(_0x4aeaa4,_0x3b0ee7,_0x51e776,_0x79d203,_0x59a8e3,_0x2337e5,_0x31dec8,_0x68c88c,_0x39902f,_0x4794b7){const _0x1d60a8=_0x405303;super(_0x4aeaa4,_0x3b0ee7,_0x51e776,_0x79d203,_0x59a8e3,_0x68c88c,_0x39902f,_0x31dec8,_0x4794b7),this[_0x1d60a8(0x3ef)]=_0x2337e5,_0x4219eb(this,_0x1d60a8(0x1b9),_0x1d60a8(0x42b));}[_0x405303(0x3ae)](_0x565ca8){const _0x4ed494=_0x405303;return this[_0x4ed494(0x43c)][_0x4ed494(0x1f4)](_0x565ca8),this[_0x4ed494(0xee)](),this;}[_0x405303(0x3af)](_0xf79ac8){const _0xba07f6=_0x405303;throw Error(_0xba07f6(0x170));}[_0x405303(0xfb)](){const _0x3aff2a=_0x405303;throw Error(_0x3aff2a(0x324));}[_0x405303(0x1f2)](){const _0x12e428=_0x405303;throw Error(_0x12e428(0x399));}[_0x405303(0x186)](){return this;}[_0x405303(0x11a)](){return this;}[_0x405303(0x3fe)](){const _0x11d634=_0x405303;let {_injector:_0x30b5c8,_pendingMutations:_0x30ab98,_awaitingChangeset:_0x19e06b,unitID:_0x1ae4b6,_handler:_0x5070d4,type:_0x208d85}=this,_0x32419d=_0x1b1927(_0x30b5c8,_0x1ae4b6,_0x208d85,_0x19e06b,_0x30ab98,_0x5070d4);return _0x32419d instanceof _0x315789?_0x32419d[_0x11d634(0x242)]():(_0x32419d instanceof _0x49c582||_0x32419d instanceof _0xe05e0d)&&_0x32419d[_0x11d634(0x2b5)](),_0x32419d;}['resend'](){throw Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x3b0e9a=_0x3934d9([_0x43549d(0x5,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x262)])),_0x43549d(0x7,_0x2d0b9f['ICommandService']),_0x43549d(0x8,_0x2d0b9f[_0x405303(0xf4)]),_0x43549d(0x9,(0x0,_0x2d0b9f['Optional'])(_0x3e00f7))],_0x3b0e9a);let _0x234be3=class extends _0x2a4010{constructor(_0x5dd07f,_0x2593f4,_0x207133,_0x1b2ed4,_0x1210b8,_0x3d94ea,_0x2fc0ac,_0x54f78c,_0x3bb81b,_0x46b1a6,_0x1198f8,_0x5beb64,_0x531540,_0x216b40){const _0x43def0=_0x405303;super(_0x5dd07f,_0x2593f4,_0x207133,_0x1b2ed4,_0x2fc0ac,_0x1198f8,_0x5beb64,_0x3bb81b,_0x216b40),this[_0x43def0(0x207)]=_0x1210b8,this['_queuedRemoteChangesets']=_0x3d94ea,this[_0x43def0(0x3ef)]=_0x54f78c,this[_0x43def0(0x3d5)]=_0x46b1a6,this[_0x43def0(0x1f8)]=_0x531540,this['localCacheService']=_0x216b40,_0x4219eb(this,'status','fetch_missing');}['onMissedChangesetFetched'](_0x4cb589){const _0x267d24=_0x405303;try{if(this[_0x267d24(0x304)](_0x4cb589)[_0x267d24(0x3ed)])throw Error(_0x267d24(0x39e));if(this[_0x267d24(0x304)]([...this[_0x267d24(0x2fc)]][_0x267d24(0x2c0)]((_0x29f9be,_0x2e04c1)=>_0x29f9be[_0x267d24(0x371)]-_0x2e04c1[_0x267d24(0x371)]))[_0x267d24(0x3ed)])return this[_0x267d24(0x2fc)]=[],this['_updateLocalCache'](),this[_0x267d24(0x327)]['onMissingChangesets']({'from':this[_0x267d24(0x20e)](),'to':0x0}),this;let _0x2e8ad7=this[_0x267d24(0x419)],_0x5b16f5=this[_0x267d24(0x43c)],_0x21604d;if(_0x2e8ad7&&_0x5b16f5[_0x267d24(0x182)]!==0x0)_0x21604d=this['_injector'][_0x267d24(0x383)](_0x49c582,this[_0x267d24(0x1c9)],this[_0x267d24(0x24b)],_0x2e8ad7,_0x5b16f5,this[_0x267d24(0x327)],void 0x0);else{if(_0x2e8ad7&&_0x5b16f5[_0x267d24(0x182)]===0x0)_0x2e8ad7[_0x267d24(0x33b)]=this[_0x267d24(0x20e)](),_0x21604d=this['_injector'][_0x267d24(0x383)](_0xe05e0d,this[_0x267d24(0x1c9)],this[_0x267d24(0x24b)],_0x2e8ad7,this[_0x267d24(0x327)]);else{if(_0x5b16f5[_0x267d24(0x182)]!==0x0){let _0x3205b1=this['_injector']['createInstance'](_0x315789,this[_0x267d24(0x1c9)],this[_0x267d24(0x24b)],_0x5b16f5,this[_0x267d24(0x327)]);_0x3205b1[_0x267d24(0x242)](),_0x21604d=_0x3205b1;}else _0x21604d=this[_0x267d24(0x3ef)]['createInstance'](_0x2b0eea,this['unitID'],this[_0x267d24(0x24b)],this[_0x267d24(0x327)]);}}return _0x21604d[_0x267d24(0xee)](),_0x21604d;}catch(_0x4d5d84){return this['_logService'][_0x267d24(0x2a9)](_0x267d24(0x402),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4d5d84),this[_0x267d24(0x3ef)]['createInstance'](_0x1af009,this[_0x267d24(0x1c9)],this[_0x267d24(0x24b)],this['_awaitingChangeset'],this[_0x267d24(0x43c)],this[_0x267d24(0x327)],!0x1);}}[_0x405303(0x304)](_0x2afd93){const _0x261e38=_0x405303;this[_0x261e38(0x12a)]();for(let _0x5ea11d=0x0;_0x5ea11d<_0x2afd93[_0x261e38(0x182)];_0x5ea11d++){let _0x1434ad=_0x2afd93[_0x5ea11d],_0x3f8acb=this[_0x261e38(0x20e)]();if(!(_0x1434ad[_0x261e38(0x371)]<=_0x3f8acb)){if(_0x1434ad[_0x261e38(0x371)]>_0x3f8acb+0x1)return{'missingChangesets':!0x0};if(this[_0x261e38(0x3d0)](_0x1434ad)){this[_0x261e38(0x266)]();continue;}this[_0x261e38(0x149)](_0x1434ad),this[_0x261e38(0x12a)]();}}return{'missingChangesets':!0x1};}[_0x405303(0x149)](_0x36b795){const _0x206922=_0x405303;let _0x3e6332=_0x36b795,_0x455c61=this[_0x206922(0x419)];if(_0x455c61){let _0x1cf7b9=this[_0x206922(0x1f8)][_0x206922(0x3a7)]([_0x36b795],[_0x455c61],!0x1);if(!(0x0,_0x20c203[_0x206922(0x35b)])(_0x1cf7b9))throw _0x1cf7b9[_0x206922(0x2a9)];_0x3e6332=_0x1cf7b9[_0x206922(0x2c3)][0x0],_0x455c61=_0x1cf7b9[_0x206922(0x382)][0x0];}let _0xf8b50f=this[_0x206922(0x43c)];if(_0xf8b50f['length']){let _0x1eedf8=this['_transformService'][_0x206922(0x30a)](_0x3e6332,_0xf8b50f);if(!(0x0,_0x20c203['isTransformMutationsWithChangesetSuccess'])(_0x1eedf8))throw _0x1eedf8[_0x206922(0x2a9)];_0x3e6332=_0x1eedf8['c1Prime'],_0xf8b50f=_0x1eedf8[_0x206922(0x36d)];}this[_0x206922(0x15e)](_0x3e6332),_0x455c61&&(_0x455c61[_0x206922(0x33b)]=this['_getCurrentRevision']()),this[_0x206922(0x419)]=_0x455c61,this[_0x206922(0x43c)]=_0xf8b50f;}[_0x405303(0x12a)](){const _0x1228c6=_0x405303;if(!this[_0x1228c6(0x419)]||this[_0x1228c6(0x207)]==null)return;let _0x2233ed=this['_getCurrentRevision']();if(this['_acknowledgedAwaitingRevision']<=_0x2233ed)throw Error(_0x1228c6(0x282)+this['_acknowledgedAwaitingRevision']+'.');this[_0x1228c6(0x207)]===_0x2233ed+0x1&&this[_0x1228c6(0x266)]();}[_0x405303(0x266)](){const _0x1209ef=_0x405303;this['_incrementRevisionNumber'](),this['_awaitingChangeset']=null,this[_0x1209ef(0x207)]=null;}[_0x405303(0x3d0)](_0x4c7b52){const _0xe0c665=_0x405303;let _0x129b4e=this[_0xe0c665(0x419)];return!_0x129b4e||!_0x129b4e[_0xe0c665(0x15d)]||_0x129b4e[_0xe0c665(0x387)]===null||_0x129b4e[_0xe0c665(0x387)]===void 0x0?!0x1:_0x4c7b52[_0xe0c665(0x1c9)]===_0x129b4e[_0xe0c665(0x1c9)]&&_0x4c7b52[_0xe0c665(0x15d)]===_0x129b4e[_0xe0c665(0x15d)]&&_0x4c7b52['reqId']===_0x129b4e[_0xe0c665(0x387)];}['resend'](){throw Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x3ae8c7){const _0x1faa09=_0x405303;return this[_0x1faa09(0x43c)][_0x1faa09(0x1f4)](_0x3ae8c7),this;}['onRemoteChangeset'](_0x25d29f){const _0x295aaf=_0x405303;return this[_0x295aaf(0x2fc)][_0x295aaf(0x1f4)](_0x25d29f),this;}[_0x405303(0xfb)](_0x213b30){const _0x3c9b25=_0x405303;if(this['_awaitingChangeset']){let _0x1a6e37=this[_0x3c9b25(0x20e)]();return _0x213b30[_0x3c9b25(0x371)]<=_0x1a6e37||(_0x1a6e37+0x1===_0x213b30[_0x3c9b25(0x371)]?(this[_0x3c9b25(0x1da)](),this[_0x3c9b25(0x419)]=null,this[_0x3c9b25(0x207)]=null):this['_acknowledgedAwaitingRevision']=_0x213b30[_0x3c9b25(0x371)]),this;}if(_0x213b30['revision']<=this[_0x3c9b25(0x20e)]())return this;throw Error(_0x3c9b25(0x180));}[_0x405303(0x1f2)](_0x570aa9){const _0x76cf6=_0x405303;return this[_0x76cf6(0x414)](!!(_0x570aa9!=null&&_0x570aa9[_0x76cf6(0x3b8)]));}[_0x405303(0x186)](){return this;}[_0x405303(0x11a)](){const _0x3dcb88=_0x405303;return this[_0x3dcb88(0x3ef)]['createInstance'](_0x3b0e9a,this[_0x3dcb88(0x1c9)],this[_0x3dcb88(0x24b)],this[_0x3dcb88(0x419)],this['_pendingMutations'],this[_0x3dcb88(0x327)]);}[_0x405303(0x3fe)](){return this;}[_0x405303(0x414)](_0x1a9433){const _0x41be97=_0x405303;return this[_0x41be97(0x3ef)][_0x41be97(0x383)](_0x1af009,this['unitID'],this['type'],this[_0x41be97(0x419)],this['_pendingMutations'],this[_0x41be97(0x327)],_0x1a9433);}};_0x234be3=_0x3934d9([_0x43549d(0x7,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x8,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x262)])),_0x43549d(0x9,_0x2d0b9f['ILogService']),_0x43549d(0xa,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0xb,_0x2d0b9f[_0x405303(0xf4)]),_0x43549d(0xc,_0x20c203[_0x405303(0x23e)]),_0x43549d(0xd,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x3e00f7))],_0x234be3);function _0x1b1927(_0x42b051,_0x25a73e,_0x3c3b7b,_0x288ea5,_0xf8dfbb,_0x571bd1){const _0x354aa8=_0x405303;return _0x288ea5&&_0xf8dfbb[_0x354aa8(0x182)]?_0x42b051[_0x354aa8(0x383)](_0x49c582,_0x25a73e,_0x3c3b7b,_0x288ea5,_0xf8dfbb,_0x571bd1,void 0x0):_0x288ea5?_0x42b051['createInstance'](_0xe05e0d,_0x25a73e,_0x3c3b7b,_0x288ea5,_0x571bd1):_0xf8dfbb[_0x354aa8(0x182)]?_0x42b051['createInstance'](_0x315789,_0x25a73e,_0x3c3b7b,_0xf8dfbb,_0x571bd1):_0x42b051[_0x354aa8(0x383)](_0x2b0eea,_0x25a73e,_0x3c3b7b,_0x571bd1);}let _0xfb921e=class extends _0x2d0b9f[_0x405303(0x16d)]{get['state'](){return this['_state'];}constructor(_0xe9e3fc,_0x18e404,_0x144474,_0x1ed0a2,_0x5e38a2,_0x134f67,_0x80fb76,_0x3cba4c,_0x19e9b0,_0x4f97fe,_0xc2b5e8,_0x2488d0,_0x3bc7bf,_0x6e2433){const _0x157383=_0x405303;super(),this[_0x157383(0x1c9)]=_0xe9e3fc,this[_0x157383(0x400)]=_0x18e404,this['_type']=_0x144474,this['_injector']=_0x1ed0a2,this['_compressMutationService']=_0x5e38a2,this[_0x157383(0x1d3)]=_0x134f67,this['_revisionService']=_0x80fb76,this[_0x157383(0x1e6)]=_0x3cba4c,this['_univerInstanceService']=_0x19e9b0,this[_0x157383(0x3d5)]=_0x4f97fe,this['_commandService']=_0xc2b5e8,this[_0x157383(0x2cd)]=_0x2488d0,this['_singleActiveUnitService']=_0x3bc7bf,this[_0x157383(0x161)]=_0x6e2433,_0x4219eb(this,_0x157383(0x128),new _0x31dca4[(_0x157383(0x31b))](null)),_0x4219eb(this,_0x157383(0x2c9),this[_0x157383(0x128)][_0x157383(0x41c)]()),_0x4219eb(this,_0x157383(0x42c),void 0x0),_0x4219eb(this,'_collaborationPaused',!0x1),_0x4219eb(this,_0x157383(0x12c),''),_0x4219eb(this,_0x157383(0x301),0x0),_0x4219eb(this,'status$',this[_0x157383(0x2c9)][_0x157383(0x18e)]((0x0,_0x31dca4[_0x157383(0x110)])(_0x2a14e4=>_0x2a14e4?_0x2a14e4['status']:_0x157383(0x42b)),(0x0,_0x31dca4[_0x157383(0x3fa)])({'bufferSize':0x1,'refCount':!0x0}))),_0x4219eb(this,'_transitionLocked',!0x1),_0x4219eb(this,_0x157383(0x2e5),[]);}async['init'](){const _0xde410a=_0x405303;if(this[_0xde410a(0x28c)])throw Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xde410a(0x176)]();}[_0x405303(0x331)](){const _0x36e138=_0x405303;return this[_0x36e138(0x411)]=!0x0,(0x0,_0x2d0b9f[_0x36e138(0xfa)])(()=>{const _0x525704=_0x36e138;this[_0x525704(0x411)]=!0x1,this[_0x525704(0x3dd)]();});}['onLocalMutation'](_0x1f2934){const _0x5dd096=_0x405303;this[_0x5dd096(0x42e)](_0x1f2934);}[_0x405303(0x2d0)](_0x45e7c9){const _0x304c4c=_0x405303;this[_0x304c4c(0x42c)]=_0x45e7c9,this['_state$'][_0x304c4c(0x131)](_0x45e7c9);}async['_init'](){const _0x61890f=_0x405303;if(this[_0x61890f(0x2d0)](await this['_createInitialState']()),this[_0x61890f(0x33a)]){var _0x2c40c9;(_0x2c40c9=this['_singleActiveUnitService'])==null||_0x2c40c9[_0x61890f(0x3ca)](this[_0x61890f(0x1c9)]),this[_0x61890f(0x10f)](this['_singleActiveUnitService'][_0x61890f(0xfc)](this[_0x61890f(0x1c9)])[_0x61890f(0x120)](_0x1155bf=>{const _0x22fae5=_0x61890f;this['_logService']['debug'](_0x22fae5(0x290),'editing\x20status\x20changed\x20to',_0x1155bf),_0x1155bf===0x1?(this['_eventService'][_0x22fae5(0x31f)]({'id':'OTHER_CLIENT_EDITING'}),this['_permissionService'][_0x22fae5(0x2ea)](new _0x2ba48b[(_0x22fae5(0x422))](this[_0x22fae5(0x1c9)])['id'],!0x1),this['_permissionService'][_0x22fae5(0x116)](!0x1)):(this['_permissionService'][_0x22fae5(0x2ea)](new _0x2ba48b[(_0x22fae5(0x422))](this[_0x22fae5(0x1c9)])['id'],!0x0),this[_0x22fae5(0x2cd)]['setShowComponents'](!0x0));}));}let _0x2c814e=!0x1;return this[_0x61890f(0x10f)](this[_0x61890f(0x400)][_0x61890f(0x1f0)][_0x61890f(0x120)](_0xd5b33c=>{const _0x45ed4f=_0x61890f;_0xd5b33c===0x3?this[_0x45ed4f(0x2ae)](_0x2c814e):_0xd5b33c===0x2&&(_0x2c814e=!0x0,this[_0x45ed4f(0x350)]());})),this[_0x61890f(0x10f)](this[_0x61890f(0x400)][_0x61890f(0x233)][_0x61890f(0x120)](_0x2f8524=>{const _0x3a5aff=_0x61890f;try{switch(_0x2f8524[_0x3a5aff(0x3cc)]){case _0x20c203[_0x3a5aff(0x3e1)][_0x3a5aff(0x2c5)]:this['_onRemoteChangeset']((0x0,_0x20c203[_0x3a5aff(0x2b6)])(_0x2f8524[_0x3a5aff(0x3be)]));break;case _0x20c203['CollaborationEvent'][_0x3a5aff(0x1e3)]:this[_0x3a5aff(0x2a5)](_0x2f8524[_0x3a5aff(0x3be)]);break;case _0x20c203[_0x3a5aff(0x3e1)][_0x3a5aff(0xfe)]:this[_0x3a5aff(0x260)]();break;case _0x20c203[_0x3a5aff(0x3e1)][_0x3a5aff(0x209)]:this[_0x3a5aff(0x1d1)](_0x2f8524[_0x3a5aff(0x3be)]);break;case _0x20c203[_0x3a5aff(0x3e1)][_0x3a5aff(0x275)]:this[_0x3a5aff(0x13e)](_0x2f8524['data'][_0x3a5aff(0x20c)][_0x3a5aff(0x110)](_0x1e8b78=>(0x0,_0x20c203[_0x3a5aff(0x2b6)])(_0x1e8b78)));break;case _0x20c203[_0x3a5aff(0x3e1)][_0x3a5aff(0x3e2)]:this[_0x3a5aff(0x260)]({'isPermissionRej':!0x0});break;case _0x20c203[_0x3a5aff(0x3e1)][_0x3a5aff(0x42a)]:break;}}catch(_0x197ab5){throw console[_0x3a5aff(0x2a9)](_0x3a5aff(0x1cd),_0x197ab5),_0x197ab5;}})),this['_state'];}[_0x405303(0x191)](){const _0x37d908=_0x405303;this[_0x37d908(0x308)]=!0x1;}[_0x405303(0x2b2)](){const _0x19ffe9=_0x405303;if(this['_transitionLocked'])throw Error(_0x19ffe9(0x237));this[_0x19ffe9(0x308)]=!0x0;}[_0x405303(0x42e)](_0x3f6906){const _0x20119d=_0x405303;this[_0x20119d(0x2b2)](),this['_updateState'](this['_state']['appendMutation'](_0x3f6906)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x3646fb){const _0x18ff07=_0x405303;if(!(_0x3646fb[_0x18ff07(0x371)]<=this[_0x18ff07(0x291)][_0x18ff07(0x3a0)](this['unitID']))){if(this[_0x18ff07(0x411)]){this['_remoteChangesetQueue']['push'](_0x3646fb);return;}this[_0x18ff07(0x3c5)](_0x3646fb);}}[_0x405303(0x3dd)](){const _0x4155f8=_0x405303;this[_0x4155f8(0x2e5)]['forEach'](_0x28f6e2=>this[_0x4155f8(0x3c5)](_0x28f6e2)),this['_remoteChangesetQueue']=[];}[_0x405303(0x3c5)](_0x2bfddd){const _0x134dfc=_0x405303;let _0x5bf725=this[_0x134dfc(0x44a)]['interceptor']['fetchThroughInterceptors'](this[_0x134dfc(0x44a)][_0x134dfc(0x19c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2bfddd[_0x134dfc(0xf9)],null)||_0x2bfddd[_0x134dfc(0xf9)],_0x4d95a5={..._0x2bfddd,'mutations':_0x5bf725};this['_lockTransition'](),this['_updateState'](this[_0x134dfc(0x42c)][_0x134dfc(0x3af)](_0x4d95a5)),this[_0x134dfc(0x191)]();}[_0x405303(0x2a5)](_0x270903){const _0x3fe461=_0x405303;this[_0x3fe461(0x2b2)](),this['_updateState'](this[_0x3fe461(0x42c)][_0x3fe461(0xfb)](_0x270903)),this['_unlockTransition']();}[_0x405303(0x260)](_0x323f8e){const _0x410364=_0x405303;this['_lockTransition'](),this['_updateState'](this[_0x410364(0x42c)]['onRemoteRej'](_0x323f8e)),this['_unlockTransition']();}[_0x405303(0x1d1)](_0x1464c9){const _0x2c833e=_0x405303;this['_lockTransition'](),this['_updateState'](this[_0x2c833e(0x42c)][_0x2c833e(0x186)](_0x1464c9)),this[_0x2c833e(0x191)]();}[_0x405303(0x13e)](_0x49a987){const _0x1fbb57=_0x405303;if(!(this[_0x1fbb57(0x42c)]instanceof _0x234be3))throw TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');let _0x1c9a32=_0x49a987[_0x1fbb57(0x110)](_0x415918=>{const _0x164975=_0x1fbb57;let _0x16c380=this[_0x164975(0x44a)]['interceptor'][_0x164975(0x33e)](this['_compressMutationService'][_0x164975(0x19c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x415918[_0x164975(0xf9)],null)||_0x415918['mutations'];return{..._0x415918,'mutations':_0x16c380};});this[_0x1fbb57(0x2b2)](),this[_0x1fbb57(0x2d0)](this[_0x1fbb57(0x42c)]['onMissedChangesetFetched'](_0x1c9a32)),this[_0x1fbb57(0x191)]();}[_0x405303(0x350)](){const _0x2920b2=_0x405303;this[_0x2920b2(0x2b2)](),this[_0x2920b2(0x2d0)](this[_0x2920b2(0x42c)][_0x2920b2(0x11a)]()),this[_0x2920b2(0x191)]();}[_0x405303(0x2ae)](_0x55c698=!0x1){const _0x541f56=_0x405303;this['_lockTransition'](),this[_0x541f56(0x2d0)](this['_state']['toggleOnline']()),this[_0x541f56(0x191)]();let _0x300dfa=this[_0x541f56(0x42c)];_0x55c698&&_0x300dfa instanceof _0x2b0eea&&(this[_0x541f56(0x2b2)](),this[_0x541f56(0x2d0)](_0x300dfa[_0x541f56(0x2e8)]()),this['_unlockTransition']());}async[_0x405303(0x136)](){return new Promise(_0xfe0f2d=>{const _0x49d49e=_0x4e8d;this[_0x49d49e(0x400)][_0x49d49e(0x1f0)][_0x49d49e(0x18e)]((0x0,_0x31dca4[_0x49d49e(0x193)])(0x1))[_0x49d49e(0x120)](async _0xc4ca41=>{const _0xacf287=_0x49d49e;_0xfe0f2d(await this[_0xacf287(0x26a)](_0xc4ca41===0x3));});});}['_createHandler'](){const _0x551d59=_0x405303;let _0x2f52ec=this[_0x551d59(0x1c9)];return{'onStateChange':(_0x343950,_0x21f1a9)=>{const _0x3d3730=_0x551d59;if(_0x343950!==this[_0x3d3730(0x42c)])throw Error(_0x3d3730(0x342)+_0x343950['status']+_0x3d3730(0x3f6)+_0x21f1a9['status']+_0x3d3730(0x224)+this[_0x3d3730(0x42c)][_0x3d3730(0x1b9)]);this[_0x3d3730(0x2d0)](_0x21f1a9);},'onSendChangeset':_0x211a3a=>{const _0x4af1dc=_0x551d59;_0x211a3a[_0x4af1dc(0x15d)]||(_0x211a3a[_0x4af1dc(0x15d)]=this['_changesetSessionId'],_0x211a3a[_0x4af1dc(0x387)]=++this[_0x4af1dc(0x301)]);let _0x2b0947={'eventID':_0x20c203[_0x4af1dc(0x3e1)][_0x4af1dc(0x3ba)],'data':{'unitID':_0x211a3a[_0x4af1dc(0x1c9)],'unitType':this[_0x4af1dc(0x3f0)],'changeset':_0x211a3a,'memberID':this[_0x4af1dc(0x400)][_0x4af1dc(0x32d)]()}};this[_0x4af1dc(0x400)][_0x4af1dc(0x177)](_0x2b0947,this[_0x4af1dc(0x1c9)]);},'onMissingChangesets':({from:_0x158054,to:_0x1d6918})=>{const _0x5afcca=_0x551d59;this[_0x5afcca(0x3d5)][_0x5afcca(0x30f)](_0x5afcca(0x290),_0x5afcca(0x1c0)+_0x158054+_0x5afcca(0x155)+_0x1d6918);let _0x12e7c5={'eventID':_0x20c203['CollaborationEvent'][_0x5afcca(0x1c4)],'data':{'unitID':_0x2f52ec,'unitType':this[_0x5afcca(0x3f0)],'from':_0x158054,'to':_0x1d6918}};this['session'][_0x5afcca(0x177)](_0x12e7c5,this['unitID']);}};}async[_0x405303(0x26a)](_0x426f8f){const _0x2761bb=_0x405303;var _0x45b48f,_0x472c43,_0x569524;let _0x439306=await((_0x45b48f=this['_localCacheService'])==null?void 0x0:_0x45b48f[_0x2761bb(0x218)](this['unitID'])),_0x2b55e5=(_0x472c43=_0x439306==null?void 0x0:_0x439306[_0x2761bb(0xf9)])==null?[]:_0x472c43,_0x1fb9d0=(_0x569524=_0x439306==null?void 0x0:_0x439306[_0x2761bb(0x283)])==null?null:_0x569524,_0x26314b=!!(_0x1fb9d0!=null&&_0x1fb9d0['sid'])&&!!(_0x1fb9d0!=null&&_0x1fb9d0[_0x2761bb(0x387)]);this['_changesetSessionId']=_0x26314b?_0x1fb9d0[_0x2761bb(0x15d)]:(0x0,_0x20c203[_0x2761bb(0x1e4)])(),this[_0x2761bb(0x301)]=_0x26314b?_0x1fb9d0[_0x2761bb(0x387)]:0x0;let _0x4f17e6=this[_0x2761bb(0x1c9)];try{this[_0x2761bb(0x19e)](_0x1fb9d0,_0x2b55e5);}catch(_0x64b129){this[_0x2761bb(0x3d5)][_0x2761bb(0x2a9)](_0x64b129);}let _0xac1985=this[_0x2761bb(0x259)]();if(_0x426f8f){let _0x232563=_0x1b1927(this[_0x2761bb(0x3ef)],_0x4f17e6,this[_0x2761bb(0x3f0)],_0x1fb9d0,_0x2b55e5,_0xac1985);return _0x232563 instanceof _0x315789?_0x232563[_0x2761bb(0x242)]():(_0x232563 instanceof _0x49c582||_0x232563 instanceof _0xe05e0d)&&_0x232563['resend'](),_0x232563;}return this['_injector'][_0x2761bb(0x383)](_0x3b0e9a,_0x4f17e6,this[_0x2761bb(0x3f0)],_0x1fb9d0,_0x2b55e5,_0xac1985);}[_0x405303(0x19e)](_0x1db499,_0x194ff4){const _0xb9d930=_0x405303;var _0x46253a,_0x445a52;let _0x192891=this[_0xb9d930(0x44a)]['interceptor'][_0xb9d930(0x33e)](this[_0xb9d930(0x44a)][_0xb9d930(0x19c)][_0xb9d930(0x380)]()[_0xb9d930(0x406)]);(_0x46253a=_0x192891((_0x1db499==null?void 0x0:_0x1db499['mutations'])||[],null))==null||_0x46253a[_0xb9d930(0x412)](_0x22d041=>this[_0xb9d930(0xf5)][_0xb9d930(0x27a)](_0x22d041['id'],_0x22d041[_0xb9d930(0x329)])),(_0x445a52=_0x192891(_0x194ff4||[],null))==null||_0x445a52[_0xb9d930(0x412)](_0x127b3f=>this[_0xb9d930(0xf5)][_0xb9d930(0x27a)](_0x127b3f['id'],_0x127b3f[_0xb9d930(0x329)]));}};_0xfb921e=_0x3934d9([_0x43549d(0x3,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x4,(0x0,_0x2d0b9f['Inject'])(_0x20c203[_0x405303(0x2f0)])),_0x43549d(0x5,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x39b)])),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203['RevisionService'])),_0x43549d(0x7,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xa9d46c)),_0x43549d(0x8,_0x2d0b9f[_0x405303(0x217)]),_0x43549d(0x9,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0xa,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0xb,_0x2d0b9f[_0x405303(0x160)]),_0x43549d(0xc,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x43c9bd)),_0x43549d(0xd,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x3e00f7))],_0xfb921e);let _0x5a7876=class extends _0xfb921e{constructor(_0x4f196d,_0x2f05a8,_0x422a1e,_0x44ac72,_0x2760e7,_0xcf137a,_0x147142,_0x4cfd4d,_0x4ab5d5,_0x13ac16,_0x302f05,_0xea9aa8,_0x48a908,_0x1345ec,_0x35e5fe){const _0x3c5428=_0x405303;super(_0x4f196d,_0x422a1e,_0x2f05a8,_0x44ac72,_0x2760e7,_0xcf137a,_0x147142,_0x4cfd4d,_0x4ab5d5,_0x13ac16,_0x302f05,_0xea9aa8,_0x1345ec,_0x35e5fe),this[_0x3c5428(0x1c9)]=_0x4f196d,this[_0x3c5428(0x24b)]=_0x2f05a8,this['_docStateChangeManagerService']=_0x48a908,_0x4219eb(this,'_handlerCallback',null);}[_0x405303(0x2a7)](_0x2e5dbc){const _0x537848=_0x405303;this[_0x537848(0x43e)]=_0x2e5dbc;}['dispose'](){const _0x5c2052=_0x405303;this[_0x5c2052(0x43e)]=null,super[_0x5c2052(0x309)]();}['_createHandler'](){const _0x5ab370=_0x405303;let _0x43f24f=super[_0x5ab370(0x259)]();return _0x43f24f['onTransformIME']=_0xfe666a=>{const _0x31a311=_0x5ab370;var _0x944f0d,_0x477258;return(_0x944f0d=this[_0x31a311(0x43e)])==null||(_0x477258=_0x944f0d[_0x31a311(0x1a6)])==null?void 0x0:_0x477258['call'](_0x944f0d,_0xfe666a);},_0x43f24f[_0x5ab370(0x2f9)]=_0x353af5=>{var _0x5bc7f9,_0x2e5d59;return(_0x5bc7f9=this['_handlerCallback'])==null||(_0x2e5d59=_0x5bc7f9['onTransformState'])==null?void 0x0:_0x2e5d59['call'](_0x5bc7f9,_0x353af5);},_0x43f24f[_0x5ab370(0x2de)]=_0x3e369f=>{const _0x27b068=_0x5ab370;var _0x37425b,_0x19f20c;return(_0x37425b=this[_0x27b068(0x43e)])==null||(_0x19f20c=_0x37425b[_0x27b068(0x2de)])==null?void 0x0:_0x19f20c[_0x27b068(0x2ed)](_0x37425b,_0x3e369f);},_0x43f24f[_0x5ab370(0x27d)]=_0x2399bf=>{const _0xbafab8=_0x5ab370;var _0x527659,_0x4535a9;return(_0x527659=this[_0xbafab8(0x43e)])==null||(_0x4535a9=_0x527659[_0xbafab8(0x27d)])==null?void 0x0:_0x4535a9['call'](_0x527659,_0x2399bf);},_0x43f24f[_0x5ab370(0x1a7)]=_0x188e0c=>{const _0x5a8c73=_0x5ab370;var _0x3ffe04,_0x1725ac,_0x2e80f4;return(_0x3ffe04=(_0x1725ac=this[_0x5a8c73(0x43e)])==null||(_0x2e80f4=_0x1725ac['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2e80f4[_0x5a8c73(0x2ed)](_0x1725ac,_0x188e0c))==null?_0x188e0c:_0x3ffe04;},_0x43f24f[_0x5ab370(0x390)]=_0x3d98ea=>{const _0x2f960f=_0x5ab370;var _0x218e17,_0x254f14,_0xd3b125;return(_0x218e17=(_0x254f14=this[_0x2f960f(0x43e)])==null||(_0xd3b125=_0x254f14['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xd3b125[_0x2f960f(0x2ed)](_0x254f14,_0x3d98ea))==null?_0x3d98ea:_0x218e17;},_0x43f24f;}async[_0x405303(0x176)](){const _0x4e49e1=_0x405303;let _0x15406f=await super['_init']();return this['disposeWithMe'](this[_0x4e49e1(0x3c4)][_0x4e49e1(0x1c5)][_0x4e49e1(0x120)](_0x492d3a=>{const _0x365627=_0x4e49e1;if(_0x492d3a==null||_0x492d3a[_0x365627(0x29b)]!==this['unitID'])return;let {commandId:_0x316ea9,redoState:_0x586616,unitId:_0x25694f}=_0x492d3a,_0x8fe5f6={'id':_0x316ea9,'type':_0x2d0b9f['CommandType'][_0x365627(0x245)],'params':{'unitId':_0x25694f,'actions':_0x586616[_0x365627(0x208)],'textRanges':null}};this[_0x365627(0x42e)](_0x8fe5f6);})),this['disposeWithMe'](this[_0x4e49e1(0xf5)][_0x4e49e1(0x19a)]((_0xafa72,_0x470719)=>{const _0x3d08ec=_0x4e49e1;if(_0xafa72['type']!==_0x2d0b9f[_0x3d08ec(0x150)][_0x3d08ec(0x245)]||_0x470719!=null&&_0x470719[_0x3d08ec(0x17a)]||_0x470719!=null&&_0x470719[_0x3d08ec(0x366)]||_0xafa72['id']===_0x33f3ff['RichTextEditingMutation']['id'])return;let _0x6544c7=_0xafa72[_0x3d08ec(0x329)];if((_0x6544c7==null?void 0x0:_0x6544c7[_0x3d08ec(0x29b)])!==this[_0x3d08ec(0x1c9)])return;let _0x487a02=_0xafa72,_0x177689=this['_compressMutationService'][_0x3d08ec(0x19c)][_0x3d08ec(0x33e)](this['_compressMutationService']['interceptor'][_0x3d08ec(0x380)]()[_0x3d08ec(0x389)])([_0x487a02],this[_0x3d08ec(0x347)])||[_0x487a02];this[_0x3d08ec(0x42e)](_0x177689[0x0]);})),_0x15406f;}};_0x5a7876=_0x3934d9([_0x43549d(0x3,(0x0,_0x2d0b9f['Inject'])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x4,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x2f0)])),_0x43549d(0x5,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x39b)])),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203['RevisionService'])),_0x43549d(0x7,(0x0,_0x2d0b9f['Inject'])(_0xa9d46c)),_0x43549d(0x8,_0x2d0b9f['IUniverInstanceService']),_0x43549d(0x9,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0xa,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0xb,_0x2d0b9f[_0x405303(0x160)]),_0x43549d(0xc,(0x0,_0x2d0b9f['Inject'])(_0x33f3ff[_0x405303(0x3b0)])),_0x43549d(0xd,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x43c9bd)),_0x43549d(0xe,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x3e00f7))],_0x5a7876);let _0x59b528=class extends _0xfb921e{constructor(_0x7ae0d1,_0x4ab612,_0x44866f,_0x2f21aa,_0x2a6adf,_0x4e450a,_0x1de8d9,_0x558693,_0x1ad3a2,_0x280eb8,_0x4bde28,_0x27c828,_0x44fb71,_0xa1b74c){const _0x1f2c96=_0x405303;super(_0x7ae0d1,_0x44866f,_0x4ab612,_0x2f21aa,_0x2a6adf,_0x4e450a,_0x1de8d9,_0x558693,_0x1ad3a2,_0x280eb8,_0x4bde28,_0x27c828,_0x44fb71,_0xa1b74c),this[_0x1f2c96(0x1c9)]=_0x7ae0d1,this[_0x1f2c96(0x24b)]=_0x4ab612;}async[_0x405303(0x176)](){const _0x37e406=_0x405303;let _0x10310e=await super[_0x37e406(0x176)]();return this[_0x37e406(0x10f)](this[_0x37e406(0xf5)][_0x37e406(0x19a)]((_0x5b201a,_0x3990e0)=>{const _0x2c0aff=_0x37e406;if(_0x5b201a['type']!==_0x2d0b9f[_0x2c0aff(0x150)]['MUTATION']||_0x3990e0!=null&&_0x3990e0['fromCollab']||_0x3990e0!=null&&_0x3990e0[_0x2c0aff(0x366)])return;let _0x31bb62=_0x5b201a[_0x2c0aff(0x329)];if((_0x31bb62==null?void 0x0:_0x31bb62[_0x2c0aff(0x29b)])!==this['unitID'])return;let _0x54a1e0=_0x5b201a,_0x451196=this[_0x2c0aff(0x44a)][_0x2c0aff(0x19c)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x2c0aff(0x380)]()[_0x2c0aff(0x389)])([_0x54a1e0],this[_0x2c0aff(0x347)])||[_0x54a1e0];this[_0x2c0aff(0x42e)](_0x451196[0x0]);})),_0x10310e;}};_0x59b528=_0x3934d9([_0x43549d(0x3,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f['Injector'])),_0x43549d(0x4,(0x0,_0x2d0b9f['Inject'])(_0x20c203[_0x405303(0x2f0)])),_0x43549d(0x5,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x39b)])),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x262)])),_0x43549d(0x7,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xa9d46c)),_0x43549d(0x8,_0x2d0b9f['IUniverInstanceService']),_0x43549d(0x9,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0xa,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0xb,_0x2d0b9f['IPermissionService']),_0x43549d(0xc,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x43c9bd)),_0x43549d(0xd,(0x0,_0x2d0b9f['Optional'])(_0x3e00f7))],_0x59b528);let _0x5080f=class extends _0xfb921e{constructor(_0x114fac,_0x13fa13,_0x13defb,_0x4c728c,_0x597e33,_0x7cd0e6,_0x2acb32,_0x3f16bc,_0x25d6ce,_0x5c350f,_0x50568e,_0x323e8f,_0x5bd70e,_0x3fab80,_0x335f52){const _0x296ff2=_0x405303;super(_0x114fac,_0x13defb,_0x13fa13,_0x4c728c,_0x597e33,_0x7cd0e6,_0x2acb32,_0x25d6ce,_0x5c350f,_0x50568e,_0x323e8f,_0x5bd70e,_0x3fab80,_0x335f52),this[_0x296ff2(0x1c9)]=_0x114fac,this[_0x296ff2(0x24b)]=_0x13fa13,this[_0x296ff2(0x32e)]=_0x3f16bc;}[_0x405303(0x259)](){const _0x38924d=_0x405303;let _0x24f1e7=super[_0x38924d(0x259)]();return _0x24f1e7[_0x38924d(0x2de)]=_0x254b26=>this[_0x38924d(0x32e)][_0x38924d(0x41d)](_0x254b26),_0x24f1e7;}async[_0x405303(0x176)](){const _0x19c852=_0x405303;let _0x667e5e=await super[_0x19c852(0x176)]();return this[_0x19c852(0x10f)](this['_commandService']['onMutationExecutedForCollab']((_0xee519e,_0x24089e)=>{const _0x329e9d=_0x19c852;if(_0xee519e[_0x329e9d(0x24b)]!==_0x2d0b9f[_0x329e9d(0x150)]['MUTATION']||_0x24089e!=null&&_0x24089e[_0x329e9d(0x17a)]||_0x24089e!=null&&_0x24089e[_0x329e9d(0x366)])return;let _0x5ccb63=_0xee519e[_0x329e9d(0x329)];if((_0x5ccb63==null?void 0x0:_0x5ccb63[_0x329e9d(0x29b)])!==this[_0x329e9d(0x1c9)])return;let _0xdff2f2=_0xee519e,_0x53ec12=this['_compressMutationService'][_0x329e9d(0x19c)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x329e9d(0x380)]()['COMPRESS_MUTATION_SEND'])([_0xdff2f2],this[_0x329e9d(0x347)])||[_0xdff2f2];this['_onLocalMutation'](_0x53ec12[0x0]);})),_0x667e5e;}};_0x5080f=_0x3934d9([_0x43549d(0x3,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x4,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203['CompressMutationService'])),_0x43549d(0x5,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f['LocaleService'])),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x262)])),_0x43549d(0x7,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x201f2c)),_0x43549d(0x8,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xa9d46c)),_0x43549d(0x9,_0x2d0b9f[_0x405303(0x217)]),_0x43549d(0xa,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0xb,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0xc,_0x2d0b9f[_0x405303(0x160)]),_0x43549d(0xd,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x43c9bd)),_0x43549d(0xe,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x3e00f7))],_0x5080f);let _0x33945f=class extends _0xfb921e{constructor(_0x5de533,_0x5392e1,_0x26a6ae,_0x3ff797,_0xa4977d,_0x15720c,_0xb2d1e1,_0x2b37fb,_0x1c6b29,_0x130975,_0x48862c,_0x325f19,_0x9f2303,_0xfd1fc9){const _0x165afc=_0x405303;super(_0x5de533,_0x26a6ae,_0x5392e1,_0x3ff797,_0xa4977d,_0x15720c,_0xb2d1e1,_0x2b37fb,_0x1c6b29,_0x130975,_0x48862c,_0x325f19,_0x9f2303,_0xfd1fc9),this[_0x165afc(0x1c9)]=_0x5de533,this[_0x165afc(0x24b)]=_0x5392e1;}async[_0x405303(0x176)](){const _0x98057b=_0x405303;let _0x36acad=await super[_0x98057b(0x176)]();return this[_0x98057b(0x10f)](this[_0x98057b(0xf5)][_0x98057b(0x19a)]((_0x2d49ce,_0x2995e4)=>{const _0x5388cc=_0x98057b;if(_0x2d49ce['type']!==_0x2d0b9f[_0x5388cc(0x150)][_0x5388cc(0x245)]||_0x2995e4!=null&&_0x2995e4[_0x5388cc(0x17a)]||_0x2995e4!=null&&_0x2995e4['onlyLocal'])return;let _0x345133=_0x2d49ce['params'];if((_0x345133==null?void 0x0:_0x345133[_0x5388cc(0x29b)])!==this['unitID'])return;let _0x7dc7c=_0x2d49ce,_0x1a802f=this['_compressMutationService'][_0x5388cc(0x19c)][_0x5388cc(0x33e)](this[_0x5388cc(0x44a)][_0x5388cc(0x19c)][_0x5388cc(0x380)]()[_0x5388cc(0x389)])([_0x7dc7c],this[_0x5388cc(0x347)])||[_0x7dc7c];this['_onLocalMutation'](_0x1a802f[0x0]);})),_0x36acad;}};_0x33945f=_0x3934d9([_0x43549d(0x3,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x4,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203['CompressMutationService'])),_0x43549d(0x5,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f['LocaleService'])),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x262)])),_0x43549d(0x7,(0x0,_0x2d0b9f['Inject'])(_0xa9d46c)),_0x43549d(0x8,_0x2d0b9f[_0x405303(0x217)]),_0x43549d(0x9,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0xa,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0xb,_0x2d0b9f[_0x405303(0x160)]),_0x43549d(0xc,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x43c9bd)),_0x43549d(0xd,(0x0,_0x2d0b9f['Optional'])(_0x3e00f7))],_0x33945f);let _0x4cf531=class extends _0xfb921e{constructor(_0x39acf4,_0x3bb93d,_0x105c90,_0x1599ed,_0x2b09dc,_0x15ff7c,_0x3e4c40,_0x7c445e,_0x26fd81,_0x3ea996,_0x17852d,_0x2f0916,_0x2d86a9,_0x30a46b){const _0x51c1ab=_0x405303;super(_0x39acf4,_0x105c90,_0x3bb93d,_0x1599ed,_0x2b09dc,_0x15ff7c,_0x3e4c40,_0x7c445e,_0x26fd81,_0x3ea996,_0x17852d,_0x2f0916,_0x2d86a9,_0x30a46b),this[_0x51c1ab(0x1c9)]=_0x39acf4,this[_0x51c1ab(0x24b)]=_0x3bb93d;}async[_0x405303(0x176)](){const _0x385fe8=_0x405303;let _0x13b05d=await super[_0x385fe8(0x176)]();return this[_0x385fe8(0x10f)](this[_0x385fe8(0xf5)][_0x385fe8(0x19a)]((_0x54f8bc,_0x309b85)=>{const _0x5cdf36=_0x385fe8;if(_0x54f8bc[_0x5cdf36(0x24b)]!==_0x2d0b9f[_0x5cdf36(0x150)][_0x5cdf36(0x245)]||_0x309b85!=null&&_0x309b85[_0x5cdf36(0x17a)]||_0x309b85!=null&&_0x309b85[_0x5cdf36(0x366)])return;let _0x4fdccd=_0x54f8bc[_0x5cdf36(0x329)];if((_0x4fdccd==null?void 0x0:_0x4fdccd['unitId'])!==this[_0x5cdf36(0x1c9)])return;let _0x1a4a66=_0x54f8bc,_0x58f0e3=this[_0x5cdf36(0x44a)][_0x5cdf36(0x19c)]['fetchThroughInterceptors'](this[_0x5cdf36(0x44a)][_0x5cdf36(0x19c)][_0x5cdf36(0x380)]()[_0x5cdf36(0x389)])([_0x1a4a66],this[_0x5cdf36(0x347)])||[_0x1a4a66];this[_0x5cdf36(0x42e)](_0x58f0e3[0x0]);})),_0x13b05d;}};_0x4cf531=_0x3934d9([_0x43549d(0x3,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x4,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x2f0)])),_0x43549d(0x5,(0x0,_0x2d0b9f['Inject'])(_0x2d0b9f[_0x405303(0x39b)])),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203['RevisionService'])),_0x43549d(0x7,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xa9d46c)),_0x43549d(0x8,_0x2d0b9f[_0x405303(0x217)]),_0x43549d(0x9,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0xa,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0xb,_0x2d0b9f[_0x405303(0x160)]),_0x43549d(0xc,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x43c9bd)),_0x43549d(0xd,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x3e00f7))],_0x4cf531);let _0x514c5a=class extends _0xfb921e{constructor(_0x335a04,_0x2440ce,_0x1817e0,_0x4b8c81,_0x3e961c,_0x1b9621,_0x1157de,_0x411f23,_0x5b3da3,_0x4a870b,_0x2cf891,_0x6cb1d,_0x5360d8,_0x3b3216){const _0xdd12c1=_0x405303;super(_0x335a04,_0x1817e0,_0x2440ce,_0x4b8c81,_0x3e961c,_0x1b9621,_0x1157de,_0x411f23,_0x5b3da3,_0x4a870b,_0x2cf891,_0x6cb1d,_0x5360d8,_0x3b3216),this[_0xdd12c1(0x1c9)]=_0x335a04,this[_0xdd12c1(0x24b)]=_0x2440ce;}async[_0x405303(0x176)](){const _0x380a42=_0x405303;let _0x28aab5=await super[_0x380a42(0x176)]();return this[_0x380a42(0x10f)](this['_commandService'][_0x380a42(0x19a)]((_0x433730,_0x3a4212)=>{const _0x48efee=_0x380a42;if(_0x433730[_0x48efee(0x24b)]!==_0x2d0b9f[_0x48efee(0x150)][_0x48efee(0x245)]||_0x3a4212!=null&&_0x3a4212[_0x48efee(0x17a)]||_0x3a4212!=null&&_0x3a4212[_0x48efee(0x366)])return;let _0x4bc234=_0x433730[_0x48efee(0x329)];if((_0x4bc234==null?void 0x0:_0x4bc234[_0x48efee(0x29b)])!==this[_0x48efee(0x1c9)])return;let _0x3151fc=_0x433730,_0x586f98=this[_0x48efee(0x44a)][_0x48efee(0x19c)][_0x48efee(0x33e)](this['_compressMutationService'][_0x48efee(0x19c)][_0x48efee(0x380)]()[_0x48efee(0x389)])([_0x3151fc],this['_univerInstanceService'])||[_0x3151fc];this['_onLocalMutation'](_0x586f98[0x0]);})),_0x28aab5;}};_0x514c5a=_0x3934d9([_0x43549d(0x3,(0x0,_0x2d0b9f['Inject'])(_0x2d0b9f['Injector'])),_0x43549d(0x4,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x2f0)])),_0x43549d(0x5,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x39b)])),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203[_0x405303(0x262)])),_0x43549d(0x7,(0x0,_0x2d0b9f['Inject'])(_0xa9d46c)),_0x43549d(0x8,_0x2d0b9f['IUniverInstanceService']),_0x43549d(0x9,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0xa,_0x2d0b9f['ICommandService']),_0x43549d(0xb,_0x2d0b9f[_0x405303(0x160)]),_0x43549d(0xc,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x43c9bd)),_0x43549d(0xd,(0x0,_0x2d0b9f['Optional'])(_0x3e00f7))],_0x514c5a);let _0x1e1155=(0x0,_0x2d0b9f[_0x405303(0x381)])(_0x405303(0x444));function _0x36834a(_0x218101){const _0x10ab16=_0x405303;let _0x4a2cfa=_0x218101[_0x10ab16(0x3be)],_0xc630bb=JSON[_0x10ab16(0x39c)](_0x4a2cfa);switch(_0xc630bb['cmd']){case _0x11fae4[_0x10ab16(0x139)][_0x10ab16(0x3dc)]:case _0x11fae4['CombCmd'][_0x10ab16(0x257)]:{let _0x1db6ec=_0xc630bb['infoRsp'];return{..._0xc630bb,'data':_0x1db6ec,'cmd':_0xc630bb['cmd']};}case _0x11fae4['CombCmd'][_0x10ab16(0x315)]:{let _0x4a639e=_0xc630bb[_0x10ab16(0x1fd)];return{..._0xc630bb,'data':_0x4a639e,'cmd':_0xc630bb[_0x10ab16(0x164)]};}case _0x11fae4['CombCmd'][_0x10ab16(0x359)]:{let _0xfea998=_0xc630bb[_0x10ab16(0x27c)];switch(_0xfea998[_0x10ab16(0x3cc)]){case _0x20c203[_0x10ab16(0x3e1)][_0x10ab16(0x3e2)]:var _0x45aca5;return{..._0xc630bb,'data':{..._0xfea998,'data':(_0x45aca5=_0xfea998[_0x10ab16(0x13f)])==null?void 0x0:_0x45aca5['cs']},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203['CollaborationEvent'][_0x10ab16(0x1e3)]:var _0x1ec86f;return{..._0xc630bb,'data':{..._0xfea998,'data':(_0x1ec86f=_0xfea998[_0x10ab16(0x295)])==null?void 0x0:_0x1ec86f['cs']},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203[_0x10ab16(0x3e1)][_0x10ab16(0x2c5)]:var _0x4ebdfa;return{..._0xc630bb,'data':{..._0xfea998,'data':(_0x4ebdfa=_0xfea998[_0x10ab16(0x3d6)])==null?void 0x0:_0x4ebdfa['cs']},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203['CollaborationEvent'][_0x10ab16(0xfe)]:var _0x11a401;return{..._0xc630bb,'data':{..._0xfea998,'data':(_0x11a401=_0xfea998['csRejEvent'])==null?void 0x0:_0x11a401['cs']},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203[_0x10ab16(0x3e1)][_0x10ab16(0x209)]:var _0x144f77;return{..._0xc630bb,'data':{..._0xfea998,'data':(_0x144f77=_0xfea998[_0x10ab16(0x2c7)])==null?void 0x0:_0x144f77['cs']},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203['CollaborationEvent'][_0x10ab16(0x130)]:return{..._0xc630bb,'data':{..._0xfea998,'data':_0xfea998['updateCursorEvent']},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203['CollaborationEvent'][_0x10ab16(0x1e8)]:return{..._0xc630bb,'data':{..._0xfea998,'data':_0xfea998['joinEvent']},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203[_0x10ab16(0x3e1)][_0x10ab16(0x114)]:return{..._0xc630bb,'data':{..._0xfea998,'data':_0xfea998[_0x10ab16(0x370)]},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203[_0x10ab16(0x3e1)]['LIVESHARE_NEW_HOST']:return{..._0xc630bb,'data':{..._0xfea998,'data':_0xfea998[_0x10ab16(0x144)]},'cmd':_0xc630bb['cmd']};case _0x20c203[_0x10ab16(0x3e1)][_0x10ab16(0x1b3)]:case _0x20c203[_0x10ab16(0x3e1)]['LIVESHARE_OPERATION']:return{..._0xc630bb,'data':{..._0xfea998,'data':_0xfea998[_0x10ab16(0x2a6)]},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0xc630bb,'data':{..._0xfea998,'data':_0xfea998[_0x10ab16(0x144)]},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203['CollaborationEvent'][_0x10ab16(0x3e4)]:return{..._0xc630bb,'data':_0xfea998,'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203[_0x10ab16(0x3e1)]['COMMENT_UPDATE']:return{..._0xc630bb,'data':{..._0xfea998,'data':_0xfea998[_0x10ab16(0x17e)]},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203[_0x10ab16(0x3e1)]['UPDATE_PERMISSION_OBJ']:return{..._0xc630bb,'data':{..._0xfea998,'data':_0xfea998['updatePermissionObjEvent']},'cmd':_0xc630bb[_0x10ab16(0x164)]};case _0x20c203[_0x10ab16(0x3e1)][_0x10ab16(0x37a)]:return{..._0xc630bb,'data':{..._0xfea998,'data':_0xfea998[_0x10ab16(0x3b5)]},'cmd':_0xc630bb['cmd']};case _0x20c203[_0x10ab16(0x3e1)][_0x10ab16(0x42a)]:return{..._0xc630bb,'data':{..._0xfea998,'data':_0xfea998[_0x10ab16(0x317)]},'cmd':_0xc630bb['cmd']};default:return _0xc630bb;}}default:return _0xc630bb;}}function _0x2e90ec(_0x90cf72){const _0xe9c089=_0x405303;switch(_0x90cf72[_0xe9c089(0x164)]){case _0x11fae4[_0xe9c089(0x139)][_0xe9c089(0x3dc)]:case _0x11fae4[_0xe9c089(0x139)][_0xe9c089(0x257)]:return JSON[_0xe9c089(0x238)]({'cmd':_0x90cf72['cmd'],'routeKey':_0x90cf72[_0xe9c089(0x2bb)]});case _0x11fae4['CombCmd'][_0xe9c089(0x108)]:{let _0x215254;switch(_0x90cf72['data']['eventID']){case _0x20c203[_0xe9c089(0x3e1)][_0xe9c089(0x130)]:_0x215254={'eventID':_0x20c203[_0xe9c089(0x3e1)]['UPDATE_CURSOR'],'updateCursorEvent':_0x90cf72[_0xe9c089(0x3be)][_0xe9c089(0x3be)]};break;case _0x20c203[_0xe9c089(0x3e1)]['USERS_LEAVE']:_0x215254={'eventID':_0x20c203[_0xe9c089(0x3e1)][_0xe9c089(0x114)],'leaveEvent':_0x90cf72[_0xe9c089(0x3be)]['data']};break;case _0x20c203[_0xe9c089(0x3e1)]['USERS_ENTER']:_0x215254={'eventID':_0x20c203[_0xe9c089(0x3e1)][_0xe9c089(0x1e8)],'joinEvent':_0x90cf72[_0xe9c089(0x3be)][_0xe9c089(0x3be)]};break;case _0x20c203[_0xe9c089(0x3e1)][_0xe9c089(0x1ad)]:_0x215254={'eventID':_0x20c203[_0xe9c089(0x3e1)][_0xe9c089(0x1ad)],'liveShareNewHost':_0x90cf72[_0xe9c089(0x3be)]['data']};break;case _0x20c203['CollaborationEvent'][_0xe9c089(0x300)]:_0x215254={'eventID':_0x20c203[_0xe9c089(0x3e1)][_0xe9c089(0x300)],'liveShareOperation':_0x90cf72['data'][_0xe9c089(0x3be)]};break;case _0x20c203[_0xe9c089(0x3e1)]['LIVESHARE_TERMINATE']:_0x215254={'eventID':_0x20c203[_0xe9c089(0x3e1)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x90cf72[_0xe9c089(0x3be)][_0xe9c089(0x3be)]};break;case _0x20c203[_0xe9c089(0x3e1)]['LIVESHARE_REQUEST_HOST']:_0x215254={'eventID':_0x20c203[_0xe9c089(0x3e1)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x90cf72[_0xe9c089(0x3be)][_0xe9c089(0x3be)]};break;case _0x20c203[_0xe9c089(0x3e1)][_0xe9c089(0x1b3)]:_0x215254={'eventID':_0x20c203[_0xe9c089(0x3e1)][_0xe9c089(0x1b3)]};break;default:_0x215254={'eventID':_0x90cf72[_0xe9c089(0x3be)][_0xe9c089(0x3cc)]};}return JSON['stringify']({'cmd':_0x90cf72[_0xe9c089(0x164)],'routeKey':_0x90cf72[_0xe9c089(0x2bb)],'collaMsg':_0x215254});}case _0x11fae4[_0xe9c089(0x139)][_0xe9c089(0x315)]:return JSON[_0xe9c089(0x238)]({'cmd':_0x90cf72['cmd'],'routeKey':_0x90cf72[_0xe9c089(0x2bb)],'joinReq':_0x90cf72[_0xe9c089(0x3be)]});case _0x11fae4[_0xe9c089(0x139)][_0xe9c089(0x18b)]:return JSON[_0xe9c089(0x238)]({'cmd':_0x90cf72[_0xe9c089(0x164)],'routeKey':_0x90cf72['routeKey'],'leaveReq':_0x90cf72[_0xe9c089(0x3be)]});default:throw Error(_0xe9c089(0x15a));}}let _0x581f35=(0x0,_0x2d0b9f[_0x405303(0x381)])(_0x405303(0x35d));function _0x30eb9b(_0x1d553a,_0x303877,_0x335406){const _0x4eddf8=_0x405303;return _0x1d553a+'/'+_0x303877+_0x4eddf8(0x437)+_0x335406+'/new_changes';}let _0x2eb133=class extends _0x2d0b9f[_0x405303(0x2c1)]{constructor(_0x22842d,_0x2cb6af,_0x393a56,_0x556536,_0x356e9f){const _0x5976c8=_0x405303;super(),this[_0x5976c8(0x3ef)]=_0x22842d,this[_0x5976c8(0x121)]=_0x2cb6af,this['_configService']=_0x393a56,this[_0x5976c8(0x3d5)]=_0x556536,this[_0x5976c8(0x19b)]=_0x356e9f;}[_0x405303(0x12b)](_0x2e9fa9){const _0x2cfb3f=_0x405303;let _0xeb64a=this[_0x2cfb3f(0x3ef)][_0x2cfb3f(0x1b8)](_0xc90c47[_0x2cfb3f(0x352)]);if(!_0xeb64a)throw Error(_0x2cfb3f(0x3a2));let _0xd7c6f2=_0xeb64a[_0x2cfb3f(0xf0)](_0x2e9fa9);if(!_0xd7c6f2)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');let _0x39727f=new _0x2d0b9f[(_0x2cfb3f(0x302))](),_0x553631=new _0x31dca4[(_0x2cfb3f(0x29e))]();_0x39727f[_0x2cfb3f(0x376)](_0xd7c6f2['close$'][_0x2cfb3f(0x120)](_0x55adff=>_0x553631[_0x2cfb3f(0x131)](_0x55adff))),_0x39727f[_0x2cfb3f(0x376)]((0x0,_0x2d0b9f[_0x2cfb3f(0xfa)])(()=>_0x553631[_0x2cfb3f(0x104)]()));let _0x19d7f5=new _0x31dca4[(_0x2cfb3f(0x29e))]();_0x39727f[_0x2cfb3f(0x376)](_0xd7c6f2[_0x2cfb3f(0x306)][_0x2cfb3f(0x120)](_0x27d2c2=>_0x19d7f5[_0x2cfb3f(0x131)](_0x27d2c2))),_0x39727f[_0x2cfb3f(0x376)]((0x0,_0x2d0b9f[_0x2cfb3f(0xfa)])(()=>_0x19d7f5[_0x2cfb3f(0x104)]()));let _0xed80f3=new _0x31dca4[(_0x2cfb3f(0x29e))]();_0x39727f[_0x2cfb3f(0x376)](_0xd7c6f2[_0x2cfb3f(0x2ca)][_0x2cfb3f(0x120)](_0x47cd63=>{let _0x476c5d=_0x36834a(_0x47cd63);_0xed80f3['next'](_0x476c5d);})),_0x39727f[_0x2cfb3f(0x376)]((0x0,_0x2d0b9f['toDisposable'])(()=>_0xed80f3[_0x2cfb3f(0x104)]()));let _0x53608d,_0x16b19f=()=>{const _0x4b76d0=_0x2cfb3f;_0x19d7f5['next'](new Event(_0x4b76d0(0x1d2))),_0x553631[_0x4b76d0(0x131)](new Event(_0x4b76d0(0x1d2))),_0x53608d[_0x4b76d0(0x2dd)]();};return _0x53608d={'memberID':'','close$':_0x553631[_0x2cfb3f(0x41c)](),'error$':_0x19d7f5[_0x2cfb3f(0x41c)](),'open$':_0xd7c6f2['open$'],'message$':_0xed80f3['asObservable'](),'send':_0x51202f=>{const _0x4a3045=_0x2cfb3f;if(_0x51202f[_0x4a3045(0x164)]===_0x11fae4[_0x4a3045(0x139)][_0x4a3045(0x108)]){if(_0x51202f['data'][_0x4a3045(0x3cc)]===_0x20c203['CollaborationEvent'][_0x4a3045(0x3ba)]){this[_0x4a3045(0x364)](_0x53608d,_0x51202f['data'])[_0x4a3045(0x38f)](_0x4b390e=>{const _0x178dde=_0x4a3045;this['_logService'][_0x178dde(0x2a9)](_0x4b390e),_0x16b19f();});return;}if(_0x51202f[_0x4a3045(0x3be)][_0x4a3045(0x3cc)]===_0x20c203[_0x4a3045(0x3e1)]['FETCH_MISSING']){let _0x427821=_0x51202f[_0x4a3045(0x3be)];this[_0x4a3045(0x105)](_0x427821)['then'](_0x451108=>{const _0x1c0c65=_0x4a3045;_0xed80f3[_0x1c0c65(0x131)]({'cmd':_0x11fae4['CombCmd']['RECV'],'code':_0x11fae4[_0x1c0c65(0x3b3)]['OK'],'routeKey':_0x427821[_0x1c0c65(0x3be)][_0x1c0c65(0x1c9)],'routeType':'','data':{'eventID':_0x20c203['CollaborationEvent'][_0x1c0c65(0x275)],'data':{'changesets':_0x451108}}});})[_0x4a3045(0x38f)](_0x197620=>{const _0x344a4f=_0x4a3045;this['_logService'][_0x344a4f(0x2a9)](_0x197620),_0x16b19f();});return;}}_0xd7c6f2[_0x4a3045(0x177)](_0x2e90ec(_0x51202f));},'close':()=>{const _0x427b3f=_0x2cfb3f;_0xd7c6f2[_0x427b3f(0x2dd)](),_0x39727f[_0x427b3f(0x309)]();}},_0x53608d;}async['_submitChangeset'](_0x2abc8a,_0x343dc1){const _0x42659a=_0x405303;var _0x4f4b17;let {unitType:_0x3651c0,unitID:_0x21caa3,changeset:_0x265113}=_0x343dc1[_0x42659a(0x3be)],_0x1322b7={'unitID':_0x21caa3,'memberID':_0x2abc8a[_0x42659a(0x29d)],'type':_0x3651c0,'changeset':(0x0,_0x20c203[_0x42659a(0x328)])(_0x265113)},_0x3fdd81=this[_0x42659a(0x3d2)]['getConfig'](_0x51e182),_0x3d29c3=_0x30eb9b((_0x4f4b17=_0x3fdd81==null?void 0x0:_0x3fdd81[_0x42659a(0x240)])==null?'/universer-api/comb':_0x4f4b17,_0x3651c0,_0x21caa3);try{await this[_0x42659a(0x121)][_0x42659a(0x3f5)](_0x3d29c3,{'body':_0x1322b7});}catch(_0x22b36d){throw this[_0x42659a(0x3d5)][_0x42659a(0x2a9)](_0x42659a(0x420),_0x42659a(0x173)),_0x22b36d;}}async[_0x405303(0x105)](_0x4aa414){const _0x46f87d=_0x405303;let {unitID:_0x3ad8cf,from:_0x4a8f2a,to:_0x34152c,unitType:_0x27b8d7}=_0x4aa414[_0x46f87d(0x3be)];return(await this[_0x46f87d(0x19b)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3ad8cf,'type':_0x27b8d7,'from':_0x4a8f2a,'to':_0x34152c}))['changesets'][_0x46f87d(0x110)](_0x187e61=>((_0x187e61[_0x46f87d(0xf9)]===null||_0x187e61[_0x46f87d(0xf9)]===void 0x0)&&(_0x187e61['mutations']=[]),_0x187e61));}};_0x2eb133=_0x3934d9([_0x43549d(0x0,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x1,(0x0,_0x2d0b9f['Inject'])(_0xc90c47[_0x405303(0x141)])),_0x43549d(0x2,_0x2d0b9f[_0x405303(0x346)]),_0x43549d(0x3,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0x4,_0x20c203[_0x405303(0x3e3)])],_0x2eb133);let _0x562152=(0x0,_0x2d0b9f[_0x405303(0x381)])(_0x405303(0x3de));function _0x233b60(_0x596242={}){const _0x1f3d4e=_0x405303;return _0x596242[_0x1f3d4e(0x424)]?{'resolveUnit':_0x596242[_0x1f3d4e(0x424)]}:{'resolveUnit':_0x116c86=>({'target':{'unitId':_0x116c86['unitId'],'unitType':_0x116c86['unitType']}})};}function _0x4f435b(_0x5aae11,_0x4048ac,_0x116b29){const _0x540d4d=_0x405303;var _0xe3411f;let _0x4e7138=_0x116b29[_0x540d4d(0x11c)][_0x540d4d(0x246)];if(_0x4e7138!=null&&_0x4e7138[_0x540d4d(0x1aa)]()==='')throw Error(_0x540d4d(0x3fc));if(!_0x116b29[_0x540d4d(0x11c)]['unitId'])throw Error(_0x540d4d(0x274));return{'localUnitId':_0x5aae11,'unitType':_0x4048ac,'target':{'endpoint':_0x4e7138,'unitId':_0x116b29['target'][_0x540d4d(0x29b)],'unitType':(_0xe3411f=_0x116b29['target'][_0x540d4d(0x311)])==null?_0x4048ac:_0xe3411f},'changeset':_0x116b29[_0x540d4d(0x24c)]};}let _0x4c98b9=class extends _0x2d0b9f['Disposable']{constructor(_0x256d16,_0x2b0f75,_0x5d6feb,_0x339ff9,_0x1e2261,_0x52beac,_0x466404){const _0x19aac6=_0x405303;super(),this[_0x19aac6(0x3ef)]=_0x256d16,this[_0x19aac6(0x3d5)]=_0x2b0f75,this['_configService']=_0x5d6feb,this[_0x19aac6(0x24a)]=_0x339ff9,this['_collaborationUIEventService']=_0x1e2261,this[_0x19aac6(0x35a)]=_0x52beac,this['_networkConditionService']=_0x466404,_0x4219eb(this,_0x19aac6(0x189),new Map()),_0x4219eb(this,_0x19aac6(0x2ac),new Map()),_0x4219eb(this,_0x19aac6(0x199),new Map()),_0x4219eb(this,_0x19aac6(0x241),new Map()),_0x4219eb(this,'socket$',this[_0x19aac6(0x165)](void 0x0)[_0x19aac6(0x25f)][_0x19aac6(0x41c)]()),_0x4219eb(this,_0x19aac6(0x343),new _0x31dca4[(_0x19aac6(0x31b))](0x0)),_0x4219eb(this,_0x19aac6(0x3e0),this[_0x19aac6(0x343)]['asObservable']()),this[_0x19aac6(0x32b)]();}[_0x405303(0x32b)](){const _0x5a5d9a=_0x405303;this[_0x5a5d9a(0x374)]&&this[_0x5a5d9a(0x10f)](this['_networkConditionService'][_0x5a5d9a(0x229)]['subscribe'](_0x4a460f=>{const _0xc92087=_0x5a5d9a;_0x4a460f&&this['reconnect'](),_0x4a460f||this[_0xc92087(0x241)]['forEach'](_0x2beee6=>this[_0xc92087(0x1fe)](_0x2beee6));}));}[_0x405303(0x309)](){const _0x3513ea=_0x405303;super[_0x3513ea(0x309)](),this[_0x3513ea(0x241)][_0x3513ea(0x412)](_0x59706c=>{const _0x4cf025=_0x3513ea;var _0x3f71aa,_0x550984;(_0x3f71aa=_0x59706c[_0x4cf025(0x2ee)])==null||_0x3f71aa['unsubscribe'](),_0x59706c[_0x4cf025(0x2ee)]=null,this[_0x4cf025(0x36a)](_0x59706c),this[_0x4cf025(0x404)](_0x59706c),this[_0x4cf025(0x264)](_0x59706c),(_0x550984=_0x59706c[_0x4cf025(0x25f)]['getValue']())==null||_0x550984[_0x4cf025(0x2dd)](),_0x59706c[_0x4cf025(0x25f)][_0x4cf025(0x104)]();}),this['_socketChannels'][_0x3513ea(0x3c7)](),this[_0x3513ea(0x189)][_0x3513ea(0x412)](_0x3fbcb4=>_0x3fbcb4[_0x3513ea(0x309)]()),this[_0x3513ea(0x189)]['clear'](),this['_sessionChannels'][_0x3513ea(0x3c7)](),this[_0x3513ea(0x343)][_0x3513ea(0x104)]();}async[_0x405303(0x305)](_0x3ac9b3,_0x3dac5b){const _0x148574=_0x405303;if(this['_sessions']['has'](_0x3ac9b3))return this[_0x148574(0x189)][_0x148574(0x1b8)](_0x3ac9b3);let _0x1eab1d=this['_pendingSessions']['get'](_0x3ac9b3);if(_0x1eab1d)return _0x1eab1d;let _0x40bbd7=this['_createSession'](_0x3ac9b3,_0x3dac5b);this[_0x148574(0x2ac)][_0x148574(0x339)](_0x3ac9b3,_0x40bbd7);try{return await _0x40bbd7;}finally{this[_0x148574(0x2ac)][_0x148574(0x142)](_0x3ac9b3);}}async[_0x405303(0x1a8)](_0xaf51c1,_0x25e85b){const _0x3202fa=_0x405303;let _0x2f185c=await this[_0x3202fa(0x26d)](_0xaf51c1,_0x25e85b),_0x47ead7=this[_0x3202fa(0x165)](_0x2f185c[_0x3202fa(0x11c)][_0x3202fa(0x246)]);this[_0x3202fa(0x125)](_0x47ead7);let _0x571a00=this[_0x3202fa(0x3ef)]['createInstance'](_0x1213e3,_0x2f185c,_0x47ead7[_0x3202fa(0x25f)][_0x3202fa(0x41c)]());return this[_0x3202fa(0x189)][_0x3202fa(0x339)](_0xaf51c1,_0x571a00),this['_sessionChannels']['set'](_0xaf51c1,_0x47ead7[_0x3202fa(0xf1)]),_0x571a00;}[_0x405303(0x34a)](_0x27af25){const _0x31647a=_0x405303;let _0x5a43e0=this['_sessions'][_0x31647a(0x1b8)](_0x27af25),_0x5e766c=this['_sessionChannels'][_0x31647a(0x1b8)](_0x27af25);if(_0x5a43e0&&(this[_0x31647a(0x189)][_0x31647a(0x142)](_0x27af25),this[_0x31647a(0x199)][_0x31647a(0x142)](_0x27af25),_0x5a43e0[_0x31647a(0x2dd)]()),_0x5e766c&&!this['_hasSessionsForEndpoint'](_0x5e766c)){var _0x132109;let _0x52591c=this['_socketChannels'][_0x31647a(0x1b8)](_0x5e766c);_0x52591c==null||(_0x132109=_0x52591c[_0x31647a(0x25f)][_0x31647a(0x22a)]())==null||_0x132109[_0x31647a(0x2dd)]();}}['reconnect'](){const _0xd08a7b=_0x405303;(this['_socketChannels'][_0xd08a7b(0x1db)]?[...this[_0xd08a7b(0x241)][_0xd08a7b(0x1af)]()]:[this[_0xd08a7b(0x165)](void 0x0)])['forEach'](_0x17d5ce=>{const _0x7fb614=_0xd08a7b;_0x17d5ce[_0x7fb614(0x3ec)]=0x0,this['_clearRetryConnectingTimer'](_0x17d5ce),this[_0x7fb614(0x183)](_0x17d5ce);});}[_0x405303(0x36a)](_0x3e7720){const _0x53fe7b=_0x405303;_0x3e7720[_0x53fe7b(0x3b4)]!=null&&(clearTimeout(_0x3e7720[_0x53fe7b(0x3b4)]),_0x3e7720['retryConnectingTimer']=null);}async['_createSocket'](_0x272e0a){const _0x58240c=_0x405303;var _0x1fe212,_0x18a893;let _0x3590df=this[_0x58240c(0x3d2)][_0x58240c(0x112)](_0x51e182),_0x26ca48=(_0x1fe212=(_0x18a893=_0x272e0a[_0x58240c(0x246)])==null?_0x3590df==null?void 0x0:_0x3590df[_0x58240c(0x38c)]:_0x18a893)==null?_0x219b9d:_0x1fe212,_0x3b2896=await this[_0x58240c(0x24a)][_0x58240c(0xf0)](_0x26ca48);return _0x272e0a[_0x58240c(0x31d)]=_0x3b2896,_0x3b2896;}async[_0x405303(0x125)](_0x75e20e){const _0x532155=_0x405303;try{var _0x1fd60c,_0x3315fd;let _0x15ba94=(_0x1fd60c=(_0x3315fd=_0x75e20e['socket$'][_0x532155(0x22a)]())==null?_0x75e20e['candidateSocket']:_0x3315fd)==null?await this[_0x532155(0x2fd)](_0x75e20e):_0x1fd60c;if(_0x15ba94){var _0x1998ba;let _0x226e21=_0x15ba94[_0x532155(0x177)];_0x15ba94[_0x532155(0x177)]=_0x470a45=>(_0x470a45[_0x532155(0x164)]!==_0x11fae4[_0x532155(0x139)]['LEAVE']&&this[_0x532155(0x435)](_0x75e20e),_0x226e21[_0x532155(0x3d9)](_0x15ba94,[_0x470a45])),(_0x1998ba=_0x75e20e[_0x532155(0x2ee)])==null||_0x1998ba[_0x532155(0x3e8)](),_0x75e20e[_0x532155(0x2ee)]=null,_0x75e20e['socketMessageSubscription']=_0x15ba94[_0x532155(0x2ca)]['subscribe'](_0xccc548=>this['_onMessage'](_0x75e20e,_0x15ba94,_0xccc548)),_0x15ba94[_0x532155(0x306)][_0x532155(0x18e)]((0x0,_0x2ba3c8[_0x532155(0x193)])(0x1))[_0x532155(0x120)](_0x784c8a=>this[_0x532155(0x3d5)][_0x532155(0x2a9)](_0x532155(0x29c),_0x784c8a)),_0x15ba94[_0x532155(0x3c6)][_0x532155(0x18e)]((0x0,_0x2ba3c8['take'])(0x1))[_0x532155(0x120)](()=>{const _0x2353e2=_0x532155;this[_0x2353e2(0x1bb)](_0x75e20e,_0x15ba94);}),_0x15ba94[_0x532155(0x3cf)]['pipe']((0x0,_0x2ba3c8['take'])(0x1))[_0x532155(0x120)](_0x13197e=>{const _0x12d3f6=_0x532155;this[_0x12d3f6(0x3d5)][_0x12d3f6(0x30f)]('[CollaborationSessionService]',_0x12d3f6(0x38e),_0x13197e),this['_onConnectionFailed'](_0x75e20e);});}}catch(_0x27723d){this[_0x532155(0x3d5)][_0x532155(0x2a9)](_0x27723d),this['_onConnectionFailed'](_0x75e20e);}}[_0x405303(0x1bb)](_0x89b3f4,_0x264839){const _0x7b3c28=_0x405303;this['_logService'][_0x7b3c28(0x30f)]('[CollaborationSessionService]',_0x7b3c28(0x363)),_0x264839[_0x7b3c28(0x177)]({'cmd':_0x11fae4[_0x7b3c28(0x139)]['HELLO']}),this[_0x7b3c28(0x435)](_0x89b3f4);}[_0x405303(0x1fe)](_0x18f744){const _0x43adc1=_0x405303;_0x18f744[_0x43adc1(0x12e)]=!0x1,_0x18f744[_0x43adc1(0x31d)]=null,this[_0x43adc1(0x343)]['next'](0x2),_0x18f744[_0x43adc1(0x25f)][_0x43adc1(0x131)](null),this[_0x43adc1(0x404)](_0x18f744),this[_0x43adc1(0x264)](_0x18f744);}[_0x405303(0x2df)](_0x16c71e){const _0xc40c92=_0x405303;var _0x2dd34e;this['_onOffline'](_0x16c71e),this[_0xc40c92(0x3c2)](_0x16c71e[_0xc40c92(0xf1)])&&(_0x16c71e['retryCount']<((_0x2dd34e=this[_0xc40c92(0x3d2)][_0xc40c92(0x112)](_0xc40c92(0x113)))==null?0x3:_0x2dd34e)?(this['_collaborationUIEventService'][_0xc40c92(0x31f)]({'id':_0xc40c92(0x294)}),this[_0xc40c92(0x183)](_0x16c71e)):this[_0xc40c92(0x214)][_0xc40c92(0x31f)]({'id':_0xc40c92(0x384)}));}[_0x405303(0x183)](_0xf66d94){const _0x343022=_0x405303;var _0x2326e3;let _0x297856=_0xf66d94['retryCount'],_0x59e9d7=this[_0x343022(0x3d2)][_0x343022(0x112)](_0x51e182),_0x1df45b=_0x297856===0x0?0x0:((_0x2326e3=_0x59e9d7==null?void 0x0:_0x59e9d7[_0x343022(0x3fd)])==null?0x4e20:_0x2326e3)*0x2**_0x297856;_0xf66d94[_0x343022(0x3b4)]=setTimeout(()=>{const _0x52f02b=_0x343022;clearTimeout(_0xf66d94[_0x52f02b(0x3b4)]),_0xf66d94[_0x52f02b(0x3b4)]=null,this[_0x52f02b(0x125)](_0xf66d94);},_0x1df45b),_0xf66d94['retryCount']+=0x1;}async[_0x405303(0x26d)](_0x26443a,_0x1f9237){const _0x147427=_0x405303;return _0x4f435b(_0x26443a,_0x1f9237,await this[_0x147427(0x35a)][_0x147427(0x424)]({'unitId':_0x26443a,'unitType':_0x1f9237}));}[_0x405303(0x2a2)](_0x51b4cb,_0x331562,_0xc36a76){const _0x414ff9=_0x405303;let {cmd:_0x37a9a0}=_0xc36a76;_0x37a9a0===_0x11fae4[_0x414ff9(0x139)][_0x414ff9(0x257)]&&!_0x51b4cb[_0x414ff9(0x12e)]&&(_0x331562['memberID']=_0xc36a76['data']['memberID'],_0x51b4cb[_0x414ff9(0x25f)][_0x414ff9(0x131)](_0x331562),this[_0x414ff9(0x343)]['next'](0x3),_0x51b4cb['socketReady']=!0x0,_0x51b4cb[_0x414ff9(0x31d)]=null),_0x37a9a0===_0x11fae4[_0x414ff9(0x139)][_0x414ff9(0x3dc)]&&this['_clearTimeoutTimer'](_0x51b4cb),this['_rescheduleHeartbeat'](_0x51b4cb);}[_0x405303(0x3c2)](_0x32d79c){const _0x24765f=_0x405303;return[...this[_0x24765f(0x199)]['values']()]['some'](_0x1e59aa=>_0x1e59aa===_0x32d79c);}[_0x405303(0x165)](_0x227086){const _0x1f8d67=_0x405303;let _0x1c3591=_0x227086==null?'':_0x227086,_0x147b03=this['_socketChannels']['get'](_0x1c3591);if(_0x147b03)return _0x147b03;let _0x565fae={'endpointKey':_0x1c3591,'endpoint':_0x227086,'socket$':new _0x31dca4[(_0x1f8d67(0x31b))](void 0x0),'candidateSocket':null,'socketReady':!0x1,'socketMessageSubscription':null,'retryConnectingTimer':null,'retryCount':0x0,'sendHeartbeatTimer':null,'timeoutTimer':null};return this[_0x1f8d67(0x241)][_0x1f8d67(0x339)](_0x1c3591,_0x565fae),_0x565fae;}['_rescheduleHeartbeat'](_0x2564a){const _0x442b1d=_0x405303;var _0x12f80a;this[_0x442b1d(0x264)](_0x2564a),_0x2564a['sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](_0x2564a),(_0x12f80a=this[_0x442b1d(0x3d2)]['getConfig'](_0x442b1d(0x2db)))==null?0x7530:_0x12f80a);}['_sendHeartbeat'](_0x5c7143){const _0x1b3fa8=_0x405303;_0x5c7143[_0x1b3fa8(0x25f)][_0x1b3fa8(0x22a)]()['send']({'cmd':_0x11fae4[_0x1b3fa8(0x139)][_0x1b3fa8(0x3dc)]}),this['_waitForHeartbeatResponse'](_0x5c7143);}[_0x405303(0x285)](_0x2d1665){const _0x7e3fc4=_0x405303;var _0xf34594;_0x2d1665[_0x7e3fc4(0x14d)]=setTimeout(()=>this['_onConnectionFailed'](_0x2d1665),(_0xf34594=this[_0x7e3fc4(0x3d2)]['getConfig'](_0x7e3fc4(0x26f)))==null?_0x1dd4cb:_0xf34594);}['_clearHeartbeatTimer'](_0x44a63f){const _0x378461=_0x405303;_0x44a63f[_0x378461(0x2fb)]!=null&&(clearTimeout(_0x44a63f[_0x378461(0x2fb)]),_0x44a63f[_0x378461(0x2fb)]=null);}[_0x405303(0x404)](_0xd3834b){const _0x5eb704=_0x405303;_0xd3834b['timeoutTimer']!=null&&(clearTimeout(_0xd3834b['timeoutTimer']),_0xd3834b[_0x5eb704(0x14d)]=null);}};_0x4c98b9=_0x3934d9([_0x43549d(0x0,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x1,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0x2,_0x2d0b9f[_0x405303(0x346)]),_0x43549d(0x3,_0x581f35),_0x43549d(0x4,(0x0,_0x2d0b9f['Inject'])(_0xa9d46c)),_0x43549d(0x5,_0x562152),_0x43549d(0x6,(0x0,_0x2d0b9f[_0x405303(0x2d5)])(_0x1e1155))],_0x4c98b9);let _0x58a316=class extends _0x2d0b9f[_0x405303(0x16d)]{constructor(_0x3087b9,_0x486a73,_0x1cfe87,_0x4514a3){const _0x33294d=_0x405303;var _0x3fb2b5;super(),this['_injector']=_0x3087b9,this['_collabSessionService']=_0x486a73,this[_0x33294d(0x3d2)]=_0x1cfe87,this[_0x33294d(0x347)]=_0x4514a3,_0x4219eb(this,_0x33294d(0x122),new Map()),_0x4219eb(this,'_entityInit$',new _0x31dca4[(_0x33294d(0x29e))]()),_0x4219eb(this,'entityInit$',this['_entityInit$'][_0x33294d(0x41c)]()),((_0x3fb2b5=this[_0x33294d(0x3d2)][_0x33294d(0x112)](_0x33294d(0x21e)))==null?void 0x0:_0x3fb2b5[_0x33294d(0x227)])!==!0x1&&this[_0x33294d(0x176)]();}[_0x405303(0x309)](){const _0x487a21=_0x405303;super[_0x487a21(0x309)](),this['_entities'][_0x487a21(0x412)](_0x30697c=>_0x30697c[_0x487a21(0x309)]()),this[_0x487a21(0x122)][_0x487a21(0x3c7)]();}[_0x405303(0x15b)](_0x24458c){const _0x5698f5=_0x405303;var _0xe5397d;return(_0xe5397d=this[_0x5698f5(0x122)][_0x5698f5(0x1b8)](_0x24458c))==null?null:_0xe5397d;}['getCollabEntity$'](_0x202985){const _0x570c3f=_0x405303;let _0x5949c7=this[_0x570c3f(0x15b)](_0x202985);return _0x5949c7?(0x0,_0x31dca4['of'])(_0x5949c7):this[_0x570c3f(0x179)][_0x570c3f(0x18e)]((0x0,_0x2ba3c8[_0x570c3f(0x24d)])(_0xadcdf7=>_0xadcdf7['unitID']===_0x202985));}[_0x405303(0x1a5)](_0x3ccbc4){const _0x2101bf=_0x405303;return(0x0,_0x31dca4[_0x2101bf(0x2a8)])(this[_0x2101bf(0x3d7)](_0x3ccbc4)[_0x2101bf(0x18e)]((0x0,_0x2ba3c8[_0x2101bf(0x110)])(()=>void 0x0)));}['_init'](){const _0x3396d0=_0x405303;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2d0b9f[_0x3396d0(0x341)]['UNIVER_SHEET'])[_0x3396d0(0x18e)]((0x0,_0x31dca4['takeUntil'])(this[_0x3396d0(0x405)]),(0x0,_0x2ba3c8[_0x3396d0(0x152)])(0x10))[_0x3396d0(0x120)](async _0x2bfad2=>{const _0x329251=_0x3396d0;let _0x16107c=_0x2bfad2['unit'][_0x329251(0x202)](),_0x55eb3b=await this[_0x329251(0x27b)](_0x16107c,_0x2d0b9f['UniverInstanceType'][_0x329251(0x378)]);this['_entities']['set'](_0x16107c,_0x55eb3b);}),this[_0x3396d0(0x347)]['getTypeOfUnitAdded$'](_0x2d0b9f[_0x3396d0(0x341)][_0x3396d0(0x13a)])['pipe']((0x0,_0x31dca4[_0x3396d0(0x220)])(this[_0x3396d0(0x405)]),(0x0,_0x2ba3c8[_0x3396d0(0x152)])(0x10))[_0x3396d0(0x18e)]((0x0,_0x2ba3c8['filter'])(_0x474f62=>!_0x474f62[_0x3396d0(0x417)][_0x3396d0(0x202)]()[_0x3396d0(0x3ea)]('__')))['subscribe'](async _0x2c819c=>{const _0x428849=_0x3396d0;let _0x1441ad=_0x2c819c['unit'][_0x428849(0x202)](),_0x34080b=await this['_startCollaboration'](_0x1441ad,_0x2d0b9f['UniverInstanceType'][_0x428849(0x13a)]);this[_0x428849(0x122)][_0x428849(0x339)](_0x1441ad,_0x34080b);}),this['_univerInstanceService'][_0x3396d0(0x307)](_0x2d0b9f[_0x3396d0(0x341)][_0x3396d0(0x358)])[_0x3396d0(0x18e)]((0x0,_0x31dca4[_0x3396d0(0x220)])(this[_0x3396d0(0x405)]),(0x0,_0x2ba3c8[_0x3396d0(0x152)])(0x10))[_0x3396d0(0x120)](async _0x1e25af=>{const _0x28a606=_0x3396d0;let _0x2995d2=_0x1e25af[_0x28a606(0x417)][_0x28a606(0x202)](),_0x1763a3=await this['_startCollaboration'](_0x2995d2,_0x2d0b9f[_0x28a606(0x341)][_0x28a606(0x358)]);this['_entities']['set'](_0x2995d2,_0x1763a3);}),this[_0x3396d0(0x347)][_0x3396d0(0x307)](_0x2d0b9f[_0x3396d0(0x341)][_0x3396d0(0x333)])[_0x3396d0(0x18e)]((0x0,_0x31dca4[_0x3396d0(0x220)])(this[_0x3396d0(0x405)]),(0x0,_0x2ba3c8['delay'])(0x10))[_0x3396d0(0x120)](async _0x32af34=>{const _0x25d43e=_0x3396d0;let _0x3e739b=_0x32af34[_0x25d43e(0x417)][_0x25d43e(0x202)](),_0x273298=await this['_startCollaboration'](_0x3e739b,_0x2d0b9f['UniverInstanceType'][_0x25d43e(0x333)]);this[_0x25d43e(0x122)][_0x25d43e(0x339)](_0x3e739b,_0x273298);}),this['_univerInstanceService'][_0x3396d0(0x307)](_0x2d0b9f[_0x3396d0(0x341)]['UNIVER_BASE'])['pipe']((0x0,_0x31dca4['takeUntil'])(this[_0x3396d0(0x405)]),(0x0,_0x2ba3c8[_0x3396d0(0x152)])(0x10))['subscribe'](async _0x44bc30=>{const _0xb2c10f=_0x3396d0;let _0x5c6418=_0x44bc30[_0xb2c10f(0x417)][_0xb2c10f(0x202)](),_0x5512a1=await this[_0xb2c10f(0x27b)](_0x5c6418,_0x2d0b9f[_0xb2c10f(0x341)][_0xb2c10f(0x17d)]);this[_0xb2c10f(0x122)][_0xb2c10f(0x339)](_0x5c6418,_0x5512a1);}),this['_univerInstanceService'][_0x3396d0(0x307)](_0x2d0b9f[_0x3396d0(0x341)][_0x3396d0(0x31e)])[_0x3396d0(0x18e)]((0x0,_0x31dca4[_0x3396d0(0x220)])(this['dispose$']),(0x0,_0x2ba3c8[_0x3396d0(0x152)])(0x10))['subscribe'](async _0x14d1a7=>{const _0x528dce=_0x3396d0;let _0x401e24=_0x14d1a7[_0x528dce(0x417)]['getUnitId'](),_0x2e0d8f=await this[_0x528dce(0x27b)](_0x401e24,_0x2d0b9f[_0x528dce(0x341)]['UNIVER_PDF']);this['_entities'][_0x528dce(0x339)](_0x401e24,_0x2e0d8f);}),(0x0,_0x31dca4['merge'])(this[_0x3396d0(0x347)][_0x3396d0(0x336)](_0x2d0b9f[_0x3396d0(0x341)][_0x3396d0(0x378)]),this[_0x3396d0(0x347)]['getTypeOfUnitDisposed$'](_0x2d0b9f[_0x3396d0(0x341)][_0x3396d0(0x13a)]),this[_0x3396d0(0x347)][_0x3396d0(0x336)](_0x2d0b9f[_0x3396d0(0x341)][_0x3396d0(0x358)]),this[_0x3396d0(0x347)][_0x3396d0(0x336)](_0x2d0b9f['UniverInstanceType']['UNIVER_BOARD']),this[_0x3396d0(0x347)][_0x3396d0(0x336)](_0x2d0b9f[_0x3396d0(0x341)]['UNIVER_BASE']),this[_0x3396d0(0x347)][_0x3396d0(0x336)](_0x2d0b9f[_0x3396d0(0x341)][_0x3396d0(0x31e)]))['pipe']((0x0,_0x31dca4[_0x3396d0(0x220)])(this[_0x3396d0(0x405)]))['subscribe'](_0xfe643b=>{const _0x45067c=_0x3396d0;let _0x26a94b=_0xfe643b[_0x45067c(0x202)](),_0x2c2d44=this[_0x45067c(0x122)][_0x45067c(0x1b8)](_0x26a94b);_0x2c2d44&&(_0x2c2d44[_0x45067c(0x309)](),this[_0x45067c(0x122)][_0x45067c(0x142)](_0x26a94b));});}async[_0x405303(0x27b)](_0x46ed7e,_0xe62859){const _0x30eb9c=_0x405303;let _0x4b758d=await this[_0x30eb9c(0x3df)][_0x30eb9c(0x305)](_0x46ed7e),_0x47c056=this[_0x30eb9c(0x3ef)]['createInstance'](this[_0x30eb9c(0x3f1)](_0xe62859),_0x46ed7e,_0xe62859,_0x4b758d);return await _0x47c056['init'](),this[_0x30eb9c(0x179)][_0x30eb9c(0x131)](_0x47c056),_0x47c056;}[_0x405303(0x3f1)](_0x512316){const _0xcf3ed2=_0x405303;switch(_0x512316){case _0x2d0b9f[_0xcf3ed2(0x341)][_0xcf3ed2(0x13a)]:return _0x5a7876;case _0x2d0b9f[_0xcf3ed2(0x341)][_0xcf3ed2(0x378)]:return _0x5080f;case _0x2d0b9f['UniverInstanceType'][_0xcf3ed2(0x358)]:return _0x33945f;case _0x2d0b9f[_0xcf3ed2(0x341)][_0xcf3ed2(0x333)]:return _0x4cf531;case _0x2d0b9f['UniverInstanceType']['UNIVER_BASE']:return _0x59b528;case _0x2d0b9f[_0xcf3ed2(0x341)]['UNIVER_PDF']:return _0x514c5a;default:throw Error(_0xcf3ed2(0x271)+_0x512316);}}};_0x58a316=_0x3934d9([_0x43549d(0x0,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x1,(0x0,_0x2d0b9f['Inject'])(_0x4c98b9)),_0x43549d(0x2,_0x2d0b9f['IConfigService']),_0x43549d(0x3,_0x2d0b9f[_0x405303(0x217)])],_0x58a316);var _0x556b81=_0x405303(0x2f4),_0x5f209a=_0x405303(0x1b6);let _0x3ed61f=class extends _0x2d0b9f[_0x405303(0x2c1)]{constructor(_0x28a6a7,_0x94e884){const _0x3a45a3=_0x405303;super(),this[_0x3a45a3(0x347)]=_0x28a6a7,this[_0x3a45a3(0x3d2)]=_0x94e884,this[_0x3a45a3(0x176)]();}[_0x405303(0x176)](){const _0x493955=_0x405303;this['disposeWithMe'](this[_0x493955(0x347)][_0x493955(0x205)][_0x493955(0x120)](()=>{const _0x45573f=_0x493955;var _0x1f4ae9;let _0x420836=this[_0x45573f(0x347)][_0x45573f(0x1bf)](),_0x1d1bf8=(_0x1f4ae9=this['_configService'][_0x45573f(0x112)](_0x45573f(0x2f5)))==null?'Univer':_0x1f4ae9;_0x420836 instanceof _0x2d0b9f['Workbook']&&(_0x1d1bf8=_0x420836['name']),document['title']=_0x1d1bf8;}));}};_0x3ed61f=_0x3934d9([_0x43549d(0x0,_0x2d0b9f['IUniverInstanceService']),_0x43549d(0x1,_0x2d0b9f[_0x405303(0x346)])],_0x3ed61f);let _0x29321d=(0x0,_0x2d0b9f['createIdentifier'])(_0x405303(0x33c)),_0x36dd49=class{constructor(_0xac8f33,_0x2fba5a,_0x23fe2d){const _0x4de4d0=_0x405303;this[_0x4de4d0(0x121)]=_0xac8f33,this[_0x4de4d0(0x3d2)]=_0x2fba5a,this[_0x4de4d0(0x347)]=_0x23fe2d;}[_0x405303(0x3fb)](){var _0x2458f4;return(_0x2458f4=this['_getConfig']()['attachment'])==null?{}:_0x2458f4;}async[_0x405303(0x355)](_0x5158b6){const _0x430636=_0x405303;let _0x59a688=this[_0x430636(0x3fb)]();if(_0x279903(_0x5158b6,_0x59a688),_0x59a688['upload'])return _0x59a688[_0x430636(0x2e4)](_0x5158b6);let _0x46af17=await this[_0x430636(0x313)](_0x5158b6);return{'id':_0x46af17,'name':_0x5158b6[_0x430636(0xeb)],'mimeType':_0x5158b6[_0x430636(0x24b)],'size':_0x5158b6[_0x430636(0x1db)],'sourceType':_0x2d0b9f[_0x430636(0x41f)]['UUID'],'source':_0x46af17};}async[_0x405303(0x41a)](_0x5a49e4,_0x43ac90){const _0x42a113=_0x405303;if(_0x43ac90!==_0x2d0b9f[_0x42a113(0x41f)][_0x42a113(0x2f1)])return _0x5a49e4;let _0x478f76=(await this[_0x42a113(0x121)][_0x42a113(0x1b8)](this[_0x42a113(0x18a)]()[_0x42a113(0x1ee)]('{fileID}',_0x5a49e4)))[_0x42a113(0x43d)];if(_0x478f76[_0x42a113(0x2a9)]&&_0x478f76['error'][_0x42a113(0x2c4)]!==_0x11fae4[_0x42a113(0x334)]['OK'])throw _0x478f76['error'];if(!_0x478f76['url'])throw Error(_0x42a113(0xf8));return(0x0,_0x2d0b9f['resolveWithBasePath'])(_0x478f76[_0x42a113(0x204)],this['_getDownloadEndpointURL']());}async[_0x405303(0x313)](_0x47a9fb){const _0x2e671b=_0x405303;let _0x5df086=this[_0x2e671b(0x347)][_0x2e671b(0x1bf)](),_0x131298=_0x5df086==null?void 0x0:_0x5df086[_0x2e671b(0x202)]();if(!_0x131298)throw Error(_0x2e671b(0x1b5));let _0x205da4=new FormData();_0x205da4[_0x2e671b(0x43f)]('file',_0x47a9fb);let _0x132c77=this['_getUploadFileURL']()+_0x2e671b(0x319)+_0x47a9fb[_0x2e671b(0x1db)][_0x2e671b(0x349)]()+_0x2e671b(0x369)+_0x11fae4[_0x2e671b(0x34e)][_0x2e671b(0x3f8)]+_0x2e671b(0x156)+encodeURIComponent(_0x131298),_0x5cd7e3=(await this[_0x2e671b(0x121)][_0x2e671b(0x3f5)](_0x132c77,{'body':_0x205da4}))[_0x2e671b(0x43d)][_0x2e671b(0x2d1)];if(typeof _0x5cd7e3!='string'||!_0x5cd7e3)throw Error(_0x2e671b(0x13d));return _0x5cd7e3;}[_0x405303(0x27f)](){const _0x124773=_0x405303;var _0x14f251;return(_0x14f251=this[_0x124773(0x1ac)]()['uploadFileServerUrl'])==null?_0x124773(0x234):_0x14f251;}[_0x405303(0x18a)](){const _0x12c195=_0x405303;var _0x357ac4;return(_0x357ac4=this[_0x12c195(0x1ac)]()[_0x12c195(0x338)])==null?_0x12c195(0x441):_0x357ac4;}[_0x405303(0x33f)](){const _0x3ec3c1=_0x405303;var _0x426217;let _0x50d5d0=this[_0x3ec3c1(0x1ac)]();return _0x50d5d0[_0x3ec3c1(0x3d3)]?_0x50d5d0[_0x3ec3c1(0x3d3)]:typeof location<'u'?location[_0x3ec3c1(0x1cf)]:(_0x426217=_0x50d5d0['uploadFileServerUrl'])==null?'':_0x426217;}['_getConfig'](){const _0x246a65=_0x405303;var _0x664168;return(_0x664168=this[_0x246a65(0x3d2)]['getConfig'](_0x246a65(0x21e)))==null?{}:_0x664168;}};_0x36dd49=_0x3934d9([_0x43549d(0x0,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xc90c47[_0x405303(0x141)])),_0x43549d(0x1,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x346)])),_0x43549d(0x2,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x217)]))],_0x36dd49);function _0x279903(_0x345a51,_0x1037a2){const _0x37a8a2=_0x405303;var _0x3b6346;if(_0x1037a2['maxSize']!=null&&_0x345a51[_0x37a8a2(0x1db)]>_0x1037a2[_0x37a8a2(0x2be)])throw Error('[CollaborationAttachmentIoService]:\x20attachment\x20exceeds\x20max\x20size.');if((_0x3b6346=_0x1037a2[_0x37a8a2(0x368)])!=null&&_0x3b6346[_0x37a8a2(0x182)]&&!_0x1037a2[_0x37a8a2(0x368)][_0x37a8a2(0x231)](_0x188ed0=>_0x345a51[_0x37a8a2(0x24b)]===_0x188ed0||_0x345a51[_0x37a8a2(0xeb)][_0x37a8a2(0x3f3)](_0x188ed0)||_0x188ed0[_0x37a8a2(0x3f3)]('/*')&&_0x345a51[_0x37a8a2(0x24b)][_0x37a8a2(0x3ea)](_0x188ed0[_0x37a8a2(0x33d)](0x0,-0x1))))throw Error(_0x37a8a2(0x239));}let _0x1eed0d=class{constructor(_0x373545,_0x55b40c,_0x42d377){const _0x53be21=_0x405303;this[_0x53be21(0x3d2)]=_0x373545,this['_httpService']=_0x55b40c,this[_0x53be21(0x11e)]=_0x42d377,this[_0x53be21(0x3c9)]();}['init'](){const _0x2ef415=_0x405303;this[_0x2ef415(0x121)][_0x2ef415(0x42d)]({'priority':0x1,'interceptor':(_0x3ef600,_0x5d8413)=>_0x5d8413(_0x3ef600)[_0x2ef415(0x18e)]((0x0,_0x31dca4[_0x2ef415(0x367)])(async _0x17ea83=>{const _0x2629d1=_0x2ef415;let _0x2e4da4=_0x17ea83;if(_0x2e4da4[_0x2629d1(0x1b9)]===0x191){if(typeof window>'u')throw Error(_0x2629d1(0x2b9));if(window[_0x2629d1(0x401)](this['localeService']['t'](_0x2629d1(0x410)))){let _0xf155c0=window[_0x2629d1(0x443)](window['location'][_0x2629d1(0x111)]);window[_0x2629d1(0x354)]['href']=this[_0x2629d1(0x1de)]()+_0x2629d1(0x377)+_0xf155c0;}}return _0x2e4da4;}))});}[_0x405303(0x1de)](){const _0x4790a=_0x405303;var _0x190950;let _0x4610b2=this['_configService']['getConfig'](_0x51e182);return(_0x190950=_0x4610b2==null?void 0x0:_0x4610b2[_0x4790a(0x2e1)])==null?'/universer-api/oidc/authpage':_0x190950;}};_0x1eed0d=_0x3934d9([_0x43549d(0x0,_0x2d0b9f['IConfigService']),_0x43549d(0x1,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xc90c47[_0x405303(0x141)])),_0x43549d(0x2,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x39b)]))],_0x1eed0d);let _0x4e73d2=class extends _0x2d0b9f[_0x405303(0x2c1)]{constructor(_0x13a52d,_0x1550c6){const _0x3578b4=_0x405303;super(),this[_0x3578b4(0x2a0)]=_0x13a52d,this[_0x3578b4(0x3d2)]=_0x1550c6,_0x4219eb(this,'_cfgEnableObjInherit',!0x1),this[_0x3578b4(0x1f6)]();}['_initMergeInterceptor'](){const _0x2afbad=_0x405303;let _0x167ea3=this;this['disposeWithMe'](this[_0x2afbad(0x2a0)][_0x2afbad(0x42d)]({'priority':0x3e7,'interceptor':(0x0,_0xc90c47[_0x2afbad(0x40f)])({'isMatch'(_0x487402){const _0x46de30=_0x2afbad;var _0x4a9d48;if(_0x487402['method']===_0x46de30(0x427)&&(_0x4a9d48=_0x487402[_0x46de30(0x337)])!=null&&_0x4a9d48['body']){let {objectID:_0x4afb88,objectType:_0x1bee40}=_0x487402[_0x46de30(0x337)][_0x46de30(0x43d)]||{};if(!_0x4afb88||_0x1bee40===void 0x0)return!0x1;let _0x3ec2b4=_0x167ea3[_0x46de30(0x2a1)]()+'/'+_0x1bee40+'/object/'+_0x4afb88+_0x46de30(0x25c);if(_0x487402[_0x46de30(0x204)]===_0x3ec2b4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xc11797){const _0x5469a4=_0x2afbad;var _0x1e1dfd;return(_0x1e1dfd=_0xc11797[_0x5469a4(0x337)])==null?void 0x0:_0x1e1dfd['body'];},'mergeParamsToRequest'(_0x40aebf,_0x1ce57e){const _0xf5d721=_0x2afbad;let _0x3f048f=_0x167ea3[_0xf5d721(0x2a1)]()+_0xf5d721(0x1d8),_0x410851=_0x40aebf[_0xf5d721(0x219)]((_0xe81d16,_0xf6636f)=>{const _0xb4bad1=_0xf5d721;let {unitID:_0x2f9f70,objectID:_0x4fb01b,objectType:_0x2556bd,actions:_0x44c3b6}=_0xf6636f;return _0xe81d16[_0x2f9f70]||(_0xe81d16[_0x2f9f70]={}),_0xe81d16[_0x2f9f70][_0x4fb01b]||(_0xe81d16[_0x2f9f70][_0x4fb01b]={'objectID':_0x4fb01b,'objectType':_0x2556bd,'actions':[]}),_0xe81d16[_0x2f9f70][_0x4fb01b][_0xb4bad1(0x208)]['push'](..._0x44c3b6),_0xe81d16;},{}),_0x1c9903=[];for(let _0x5bc6cc in _0x410851)for(let _0x8caccd in _0x410851[_0x5bc6cc]){let {actions:_0x1a569f,objectType:_0x2a7708}=_0x410851[_0x5bc6cc][_0x8caccd],_0x4206e3=[...new Set(_0x1a569f)];_0x1c9903[_0xf5d721(0x1f4)]({'unitID':_0x5bc6cc,'objectID':_0x8caccd,'objectType':_0x2a7708,'actions':_0x4206e3});}return new _0xc90c47[(_0xf5d721(0x3a4))](_0xf5d721(0x427),_0x3f048f,{'headers':_0x1ce57e['headers'],'withCredentials':_0x1ce57e[_0xf5d721(0x2bc)],'responseType':_0x1ce57e[_0xf5d721(0x2a3)],'body':{'requests':_0x1c9903}});}},{'distributeResult'(_0x2710c2,_0x4bc7b6){let {objectActions:_0x564ed4}=_0x2710c2;return _0x4bc7b6['map'](_0x105bb5=>{const _0x379a16=_0x4e8d;let {unitID:_0x227dbe,objectID:_0x42ab2d,actions:_0x43bee8}=_0x105bb5,_0x5b67c9=_0x564ed4['find'](_0x4eedf0=>_0x4eedf0[_0x379a16(0x1c9)]===_0x227dbe&&_0x4eedf0[_0x379a16(0x407)]===_0x42ab2d);return{'config':_0x105bb5,'result':{'actions':_0x43bee8['map'](_0x11142c=>_0x5b67c9==null?void 0x0:_0x5b67c9['actions']['find'](_0x254934=>_0x254934[_0x379a16(0x146)]===_0x11142c))[_0x379a16(0x24d)](_0x93ba82=>!!_0x93ba82),'error':_0x2710c2['error']}};});}})}));}[_0x405303(0x2a1)](){const _0x4accd2=_0x405303;var _0x2a3714;let _0x42ee66=this[_0x4accd2(0x3d2)][_0x4accd2(0x112)](_0x51e182);return(_0x2a3714=_0x42ee66==null?void 0x0:_0x42ee66['authzUrl'])==null?_0x4accd2(0x35e):_0x2a3714;}async[_0x405303(0x1ea)](_0x43b16a){const _0x2b2a2c=_0x405303;let _0x5b1b81=this[_0x2b2a2c(0x2a1)]()+'/'+_0x43b16a['objectType']+_0x2b2a2c(0xf3);return(await this[_0x2b2a2c(0x2a0)]['post'](_0x5b1b81,{'body':_0x43b16a}))['body'][_0x2b2a2c(0x407)]||'';}async[_0x405303(0x269)](_0x5c8762){const _0x3ae42c=_0x405303;let _0x293df6=this[_0x3ae42c(0x2a1)]()+_0x3ae42c(0x253);return(await this[_0x3ae42c(0x2a0)][_0x3ae42c(0x3f5)](_0x293df6,{'body':_0x5c8762}))['body'][_0x3ae42c(0x18c)];}async[_0x405303(0x1d5)](_0x18406f){const _0x44ac53=_0x405303;var _0x2a4fec;let _0x3d4eed=this[_0x44ac53(0x2a1)]()+'/'+_0x18406f['objectType']+_0x44ac53(0x3ad)+_0x18406f[_0x44ac53(0x407)],_0x1203e6=await this['_HTTPService'][_0x44ac53(0x16c)](_0x3d4eed,{'body':_0x18406f});if((_0x1203e6==null||(_0x2a4fec=_0x1203e6[_0x44ac53(0x43d)])==null||(_0x2a4fec=_0x2a4fec[_0x44ac53(0x2a9)])==null?void 0x0:_0x2a4fec[_0x44ac53(0x2c4)])!==0x1)throw Error(_0x44ac53(0x1ef));}async[_0x405303(0x3ac)](_0x22ed5e){const _0x12a45e=_0x405303;let _0x5f4e4f=this['_getAPIPrefixPath']()+'/'+_0x22ed5e[_0x12a45e(0x14c)]+_0x12a45e(0x3ad)+_0x22ed5e[_0x12a45e(0x407)]+_0x12a45e(0x25c);return(await this[_0x12a45e(0x2a0)][_0x12a45e(0x3f5)](_0x5f4e4f,{'body':_0x22ed5e}))[_0x12a45e(0x43d)]['actions'];}async[_0x405303(0x385)](_0x5a56e3){const _0x3466cf=_0x405303;let _0x26da1d=this[_0x3466cf(0x2a1)]()+_0x3466cf(0x1d8);return(await this[_0x3466cf(0x2a0)][_0x3466cf(0x3f5)](_0x26da1d,{'body':{'requests':_0x5a56e3}}))['body']['objectActions'];}async[_0x405303(0x434)](_0x4bc5e0){const _0x1db535=_0x405303;let _0x2438a6=this[_0x1db535(0x2a1)]()+'/'+_0x4bc5e0[_0x1db535(0x14c)]+_0x1db535(0x292),_0x56b61b=await this[_0x1db535(0x2a0)][_0x1db535(0x3f5)](_0x2438a6,{'body':_0x4bc5e0});return{'roles':_0x56b61b['body'][_0x1db535(0x418)],'actions':_0x56b61b[_0x1db535(0x43d)][_0x1db535(0x208)]};}async['deleteCollaborator'](_0x47a67f){const _0x3cb5ec=_0x405303;let _0x3efba8=this[_0x3cb5ec(0x2a1)]()+_0x3cb5ec(0x2f7);await this['_HTTPService'][_0x3cb5ec(0x142)](_0x3efba8,{'params':{'collaboratorID':_0x47a67f[_0x3cb5ec(0x26c)],'objectID':_0x47a67f[_0x3cb5ec(0x407)],'unitID':_0x47a67f['unitID']}});}async['updateCollaborator'](_0x1df905){const _0x2d74d1=_0x405303;let _0x580712=this[_0x2d74d1(0x2a1)]()+_0x2d74d1(0x2f7);await this[_0x2d74d1(0x2a0)][_0x2d74d1(0x32a)](_0x580712,{'body':_0x1df905});}async['createCollaborator'](_0x59e280){const _0x27c205=_0x405303;let _0x4578b1=this[_0x27c205(0x2a1)]()+'/collaborator';await this[_0x27c205(0x2a0)][_0x27c205(0x3f5)](_0x4578b1,{'body':_0x59e280});}async[_0x405303(0x235)](_0x1a1db8){const _0x2f5ab2=_0x405303;var _0x48daaa;let _0x47f2ed=this[_0x2f5ab2(0x2a1)]()+'/collaborator',_0x2c0901=await this['_HTTPService']['get'](_0x47f2ed,{'params':{'objectID':_0x1a1db8[_0x2f5ab2(0x407)],'unitID':_0x1a1db8[_0x2f5ab2(0x1c9)]}});return this['setCfgEnableObjInherit']((_0x48daaa=_0x2c0901[_0x2f5ab2(0x43d)]['cfgEnableObjInherit'])!=null&&_0x48daaa),_0x2c0901['body']['collaborators'];}async[_0x405303(0x2c8)](_0x19644f){const _0x4436a5=_0x405303;let _0xca0352=this[_0x4436a5(0x2a1)]()+'/collaborator';await this['_HTTPService'][_0x4436a5(0x16c)](_0xca0352,{'body':_0x19644f});}[_0x405303(0x25b)](_0x27a8a2){const _0x2247e8=_0x405303;this[_0x2247e8(0x3a8)]=_0x27a8a2;}[_0x405303(0xf7)](){const _0xa0be02=_0x405303;return this[_0xa0be02(0x3a8)];}};_0x4e73d2=_0x3934d9([_0x43549d(0x0,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xc90c47[_0x405303(0x141)])),_0x43549d(0x1,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x346)]))],_0x4e73d2);function _0x493704(_0x475ff5){const _0x22af74=_0x405303;return _0x475ff5 instanceof Uint8Array||ArrayBuffer[_0x22af74(0x397)](_0x475ff5)&&_0x475ff5[_0x22af74(0x211)][_0x22af74(0xeb)]==='Uint8Array'&&_0x22af74(0x361)in _0x475ff5&&_0x475ff5[_0x22af74(0x361)]===0x1;}function _0x5152b7(_0x141598){const _0x48a75f=_0x405303;if(typeof _0x141598!=_0x48a75f(0x416))throw TypeError(_0x48a75f(0x21c)+typeof _0x141598);if(!Number['isSafeInteger'](_0x141598)||_0x141598<0x0)throw RangeError('positive\x20integer\x20expected,\x20got\x20'+_0x141598);}function _0x59702c(_0x12701c,_0x5cd13f,_0x3ba123=''){const _0x4e030c=_0x405303;let _0x2dac9c=_0x493704(_0x12701c),_0x5a54e6=_0x12701c==null?void 0x0:_0x12701c[_0x4e030c(0x182)],_0x4d1b8e=_0x5cd13f!==void 0x0;if(!_0x2dac9c||_0x4d1b8e&&_0x5a54e6!==_0x5cd13f){let _0x5022ce=_0x3ba123&&'\x22'+_0x3ba123+'\x22\x20',_0x3da67a=_0x4d1b8e?_0x4e030c(0x17c)+_0x5cd13f:'',_0x1e5767=_0x2dac9c?_0x4e030c(0x198)+_0x5a54e6:'type='+typeof _0x12701c,_0x1b5bc6=_0x5022ce+_0x4e030c(0x436)+_0x3da67a+_0x4e030c(0x2e0)+_0x1e5767;throw _0x2dac9c?RangeError(_0x1b5bc6):TypeError(_0x1b5bc6);}return _0x12701c;}function _0x1e90c9(_0x22082b){const _0x3aa64b=_0x405303;return new Uint32Array(_0x22082b[_0x3aa64b(0x432)],_0x22082b[_0x3aa64b(0x11f)],Math[_0x3aa64b(0x2ff)](_0x22082b['byteLength']/0x4));}function _0x1156c1(..._0xe71405){const _0x387036=_0x405303;for(let _0x443b2e=0x0;_0x443b2e<_0xe71405[_0x387036(0x182)];_0x443b2e++)_0xe71405[_0x443b2e][_0x387036(0x2e9)](0x0);}let _0x5f5b9f=new Uint8Array(new Uint32Array([0x11223344])[_0x405303(0x432)])[0x0]===0x44,_0x5aead7=_0x2c9a94=>_0x2c9a94<<0x18&0xff000000|_0x2c9a94<<0x8&0xff0000|_0x2c9a94>>>0x8&0xff00|_0x2c9a94>>>0x18&0xff,_0x3a82af=_0x5f5b9f?_0x599a72=>_0x599a72:_0x2bd2a0=>{for(let _0x36ce51=0x0;_0x36ce51<_0x2bd2a0['length'];_0x36ce51++)_0x2bd2a0[_0x36ce51]=_0x5aead7(_0x2bd2a0[_0x36ce51]);return _0x2bd2a0;};function _0x13ef42(_0x42f8d6){const _0x4f1cb3=_0x405303;if(typeof _0x42f8d6!=_0x4f1cb3(0x163))throw TypeError(_0x4f1cb3(0x27e));return new Uint8Array(new TextEncoder()[_0x4f1cb3(0x23a)](_0x42f8d6));}function _0xbdccf3(_0x12ecfa,_0x391eef){const _0x4d7e35=_0x405303;return!_0x12ecfa['byteLength']||!_0x391eef[_0x4d7e35(0x137)]?!0x1:_0x12ecfa[_0x4d7e35(0x432)]===_0x391eef['buffer']&&_0x12ecfa[_0x4d7e35(0x11f)]<_0x391eef[_0x4d7e35(0x11f)]+_0x391eef[_0x4d7e35(0x137)]&&_0x391eef[_0x4d7e35(0x11f)]<_0x12ecfa['byteOffset']+_0x12ecfa[_0x4d7e35(0x137)];}function _0x11aacb(_0x5d6d88,_0x582d98){const _0x4f4cf3=_0x405303;if(_0xbdccf3(_0x5d6d88,_0x582d98)&&_0x5d6d88[_0x4f4cf3(0x11f)]<_0x582d98['byteOffset'])throw Error('complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported');}function _0x1d87d1(..._0x95fd31){const _0x4618d9=_0x405303;let _0x43dc4c=0x0;for(let _0x1e14cd=0x0;_0x1e14cd<_0x95fd31[_0x4618d9(0x182)];_0x1e14cd++){let _0x168d9f=_0x95fd31[_0x1e14cd];_0x59702c(_0x168d9f),_0x43dc4c+=_0x168d9f['length'];}let _0x3017ef=new Uint8Array(_0x43dc4c);for(let _0x40b6ad=0x0,_0x15e1ef=0x0;_0x40b6ad<_0x95fd31['length'];_0x40b6ad++){let _0x3917d5=_0x95fd31[_0x40b6ad];_0x3017ef[_0x4618d9(0x339)](_0x3917d5,_0x15e1ef),_0x15e1ef+=_0x3917d5[_0x4618d9(0x182)];}return _0x3017ef;}let _0x238229=(_0x2f2670,_0x21b2b5)=>{const _0x205c93=_0x405303;function _0x389240(_0x2771b2,..._0x442b54){const _0x1c4b7d=_0x4e8d;if(_0x59702c(_0x2771b2,void 0x0,_0x1c4b7d(0x22f)),_0x2f2670[_0x1c4b7d(0x36b)]!==void 0x0){let _0x5bc1c8=_0x442b54[0x0];_0x59702c(_0x5bc1c8,_0x2f2670[_0x1c4b7d(0x14b)]?void 0x0:_0x2f2670['nonceLength'],'nonce');}let _0x43cc0f=_0x2f2670[_0x1c4b7d(0x263)];_0x43cc0f&&_0x442b54[0x1]!==void 0x0&&_0x59702c(_0x442b54[0x1],void 0x0,_0x1c4b7d(0x248));let _0x3d99b3=_0x21b2b5(_0x2771b2,..._0x442b54),_0x4f5383=(_0x3aec3d,_0x3fab61)=>{const _0x5a385e=_0x1c4b7d;if(_0x3fab61!==void 0x0){if(_0x3aec3d!==0x2)throw Error(_0x5a385e(0x3ee));_0x59702c(_0x3fab61,void 0x0,_0x5a385e(0x1dc));}},_0x2ff6c8=!0x1;return{'encrypt'(_0x1aa094,_0x6d0e85){const _0x26d5e5=_0x1c4b7d;if(_0x2ff6c8)throw Error(_0x26d5e5(0x2c2));return _0x2ff6c8=!0x0,_0x59702c(_0x1aa094),_0x4f5383(_0x3d99b3[_0x26d5e5(0x17f)]['length'],_0x6d0e85),_0x3d99b3[_0x26d5e5(0x17f)](_0x1aa094,_0x6d0e85);},'decrypt'(_0x88342e,_0x1598cf){const _0xc6e919=_0x1c4b7d;if(_0x59702c(_0x88342e),_0x43cc0f&&_0x88342e[_0xc6e919(0x182)]<_0x43cc0f)throw Error(_0xc6e919(0x2d3)+_0x43cc0f);return _0x4f5383(_0x3d99b3[_0xc6e919(0x166)]['length'],_0x1598cf),_0x3d99b3['decrypt'](_0x88342e,_0x1598cf);}};}return Object[_0x205c93(0x230)](_0x389240,_0x2f2670),_0x389240;};function _0x573d2a(_0x2f533c,_0x202637,_0x4dc211=!0x0){const _0x2c2618=_0x405303;if(_0x202637===void 0x0)return new Uint8Array(_0x2f533c);if(_0x59702c(_0x202637,void 0x0,_0x2c2618(0x1dc)),_0x202637[_0x2c2618(0x182)]!==_0x2f533c)throw Error(_0x2c2618(0x2e3)+_0x2f533c+_0x2c2618(0x2ba)+_0x202637[_0x2c2618(0x182)]);if(_0x4dc211&&!_0x4c068f(_0x202637))throw Error(_0x2c2618(0x196));return _0x202637;}function _0x4c068f(_0x3e8dc7){const _0xd62be2=_0x405303;return _0x3e8dc7[_0xd62be2(0x11f)]%0x4==0x0;}function _0x18912e(_0x3511c3){const _0x5d7d32=_0x405303;return Uint8Array[_0x5d7d32(0x154)](_0x59702c(_0x3511c3));}function _0x2a8c18(_0x198711=0x20){const _0x14868a=_0x405303;_0x5152b7(_0x198711);let _0x481828=typeof globalThis=='object'?globalThis[_0x14868a(0x3e6)]:null;if(typeof(_0x481828==null?void 0x0:_0x481828['getRandomValues'])!='function')throw Error('crypto.getRandomValues\x20must\x20be\x20defined');return _0x481828['getRandomValues'](new Uint8Array(_0x198711));}function _0x515be9(_0x17ca2a){const _0x526dad=_0x405303;if(![0x10,0x18,0x20][_0x526dad(0x281)](_0x17ca2a[_0x526dad(0x182)]))throw Error('\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length='+_0x17ca2a[_0x526dad(0x182)]);}function _0x45f5cf(_0x447fe8){return _0x447fe8<<0x1^0x11b&-(_0x447fe8>>0x7);}function _0x215908(_0x4a0195,_0x1b385f){let _0x482454=0x0;for(;_0x1b385f>0x0;_0x1b385f>>=0x1)_0x482454^=_0x4a0195&-(_0x1b385f&0x1),_0x4a0195=_0x45f5cf(_0x4a0195);return _0x482454;}let _0x1b2648=((()=>{let _0x2ad210=new Uint8Array(0x100);for(let _0x13c247=0x0,_0xfc8b48=0x1;_0x13c247<0x100;_0x13c247++,_0xfc8b48^=_0x45f5cf(_0xfc8b48))_0x2ad210[_0x13c247]=_0xfc8b48;let _0x5766f2=new Uint8Array(0x100);_0x5766f2[0x0]=0x63;for(let _0x564d09=0x0;_0x564d09<0xff;_0x564d09++){let _0x5ee049=_0x2ad210[0xff-_0x564d09];_0x5ee049|=_0x5ee049<<0x8,_0x5766f2[_0x2ad210[_0x564d09]]=(_0x5ee049^_0x5ee049>>0x4^_0x5ee049>>0x5^_0x5ee049>>0x6^_0x5ee049>>0x7^0x63)&0xff;}return _0x1156c1(_0x2ad210),_0x5766f2;})()),_0x1e65f0=_0x1b2648['map']((_0x292b05,_0x15b3da)=>_0x1b2648[_0x405303(0x398)](_0x15b3da)),_0x27c87d=_0x5592c2=>_0x5592c2<<0x18|_0x5592c2>>>0x8,_0x512129=_0x5b046c=>_0x5b046c<<0x8|_0x5b046c>>>0x18;function _0x452331(_0x580bc3,_0x1c5500){const _0x137f9b=_0x405303;if(_0x580bc3['length']!==0x100)throw Error(_0x137f9b(0x103));let _0xeae52d=new Uint32Array(0x100)[_0x137f9b(0x110)]((_0x440d03,_0x4e3ea3)=>_0x1c5500(_0x580bc3[_0x4e3ea3])),_0x20d2a6=_0xeae52d[_0x137f9b(0x110)](_0x512129),_0x16f699=_0x20d2a6[_0x137f9b(0x110)](_0x512129),_0x332047=_0x16f699['map'](_0x512129),_0x7f872c=new Uint32Array(0x100*0x100),_0x486689=new Uint32Array(0x100*0x100),_0x9d904f=new Uint16Array(0x100*0x100);for(let _0x3a3fd6=0x0;_0x3a3fd6<0x100;_0x3a3fd6++)for(let _0x2445e0=0x0;_0x2445e0<0x100;_0x2445e0++){let _0x203e4f=_0x3a3fd6*0x100+_0x2445e0;_0x7f872c[_0x203e4f]=_0xeae52d[_0x3a3fd6]^_0x20d2a6[_0x2445e0],_0x486689[_0x203e4f]=_0x16f699[_0x3a3fd6]^_0x332047[_0x2445e0],_0x9d904f[_0x203e4f]=_0x580bc3[_0x3a3fd6]<<0x8|_0x580bc3[_0x2445e0];}return{'sbox':_0x580bc3,'sbox2':_0x9d904f,'T0':_0xeae52d,'T1':_0x20d2a6,'T2':_0x16f699,'T3':_0x332047,'T01':_0x7f872c,'T23':_0x486689};}let _0x3831a7=_0x452331(_0x1b2648,_0x2a015d=>_0x215908(_0x2a015d,0x3)<<0x18|_0x2a015d<<0x10|_0x2a015d<<0x8|_0x215908(_0x2a015d,0x2)),_0xb1103a=_0x452331(_0x1e65f0,_0xf47d76=>_0x215908(_0xf47d76,0xb)<<0x18|_0x215908(_0xf47d76,0xd)<<0x10|_0x215908(_0xf47d76,0x9)<<0x8|_0x215908(_0xf47d76,0xe)),_0x2e86cc=((()=>{let _0x4085c8=new Uint8Array(0x10);for(let _0x4804d3=0x0,_0x56951f=0x1;_0x4804d3<0x10;_0x4804d3++,_0x56951f=_0x45f5cf(_0x56951f))_0x4085c8[_0x4804d3]=_0x56951f;return _0x4085c8;})());function _0x4b2b62(_0x38222a){const _0x2cf751=_0x405303;_0x59702c(_0x38222a);let _0x13f4bb=_0x38222a[_0x2cf751(0x182)];_0x515be9(_0x38222a);let {sbox2:_0x4af25a}=_0x3831a7,_0x9da2fa=[];(!_0x5f5b9f||!_0x4c068f(_0x38222a))&&_0x9da2fa[_0x2cf751(0x1f4)](_0x38222a=_0x18912e(_0x38222a));let _0x4ed7b0=_0x3a82af(_0x1e90c9(_0x38222a)),_0x5eb3fc=_0x4ed7b0[_0x2cf751(0x182)],_0x18900a=_0x3b16b0=>_0x52196b(_0x4af25a,_0x3b16b0,_0x3b16b0,_0x3b16b0,_0x3b16b0),_0x2009b6=new Uint32Array(_0x13f4bb+0x1c);_0x2009b6[_0x2cf751(0x339)](_0x4ed7b0);for(let _0x1aa4e4=_0x5eb3fc;_0x1aa4e4<_0x2009b6[_0x2cf751(0x182)];_0x1aa4e4++){let _0x4b7e9c=_0x2009b6[_0x1aa4e4-0x1];_0x1aa4e4%_0x5eb3fc===0x0?_0x4b7e9c=_0x18900a(_0x27c87d(_0x4b7e9c))^_0x2e86cc[_0x1aa4e4/_0x5eb3fc-0x1]:_0x5eb3fc>0x6&&_0x1aa4e4%_0x5eb3fc===0x4&&(_0x4b7e9c=_0x18900a(_0x4b7e9c)),_0x2009b6[_0x1aa4e4]=_0x2009b6[_0x1aa4e4-_0x5eb3fc]^_0x4b7e9c;}return _0x1156c1(..._0x9da2fa),_0x2009b6;}function _0x26f973(_0x5ec72e){const _0x4721b9=_0x405303;let _0x29bd55=_0x4b2b62(_0x5ec72e),_0x3fddb1=_0x29bd55[_0x4721b9(0x33d)](),_0x3c89f6=_0x29bd55[_0x4721b9(0x182)],{sbox2:_0x426fca}=_0x3831a7,{T0:_0x31e6c5,T1:_0x3bcc48,T2:_0x27230e,T3:_0x42c721}=_0xb1103a;for(let _0x353bfd=0x0;_0x353bfd<_0x3c89f6;_0x353bfd+=0x4)for(let _0x218ee6=0x0;_0x218ee6<0x4;_0x218ee6++)_0x3fddb1[_0x353bfd+_0x218ee6]=_0x29bd55[_0x3c89f6-_0x353bfd-0x4+_0x218ee6];_0x1156c1(_0x29bd55);for(let _0x54252c=0x4;_0x54252c<_0x3c89f6-0x4;_0x54252c++){let _0x44cdca=_0x3fddb1[_0x54252c],_0x4a51de=_0x52196b(_0x426fca,_0x44cdca,_0x44cdca,_0x44cdca,_0x44cdca);_0x3fddb1[_0x54252c]=_0x31e6c5[_0x4a51de&0xff]^_0x3bcc48[_0x4a51de>>>0x8&0xff]^_0x27230e[_0x4a51de>>>0x10&0xff]^_0x42c721[_0x4a51de>>>0x18];}return _0x3fddb1;}function _0x4b6912(_0x2bb1e0,_0x1bfda6,_0x29fe75,_0x5e8e9b,_0x5e124c,_0x171d6a){return _0x2bb1e0[_0x29fe75<<0x8&0xff00|_0x5e8e9b>>>0x8&0xff]^_0x1bfda6[_0x5e124c>>>0x8&0xff00|_0x171d6a>>>0x18&0xff];}function _0x52196b(_0x2e006b,_0x4a78ea,_0x383870,_0x4f1a5c,_0x3e013f){return _0x2e006b[_0x4a78ea&0xff|_0x383870&0xff00]|_0x2e006b[_0x4f1a5c>>>0x10&0xff|_0x3e013f>>>0x10&0xff00]<<0x10;}function _0x5b1151(_0x3880f3,_0x567c4d,_0x52fd3f,_0x26b436,_0x277e08){let {sbox2:_0x24283c,T01:_0xa55837,T23:_0x3b3457}=_0x3831a7,_0x2b8c5d=0x0;_0x567c4d^=_0x3880f3[_0x2b8c5d++],_0x52fd3f^=_0x3880f3[_0x2b8c5d++],_0x26b436^=_0x3880f3[_0x2b8c5d++],_0x277e08^=_0x3880f3[_0x2b8c5d++];let _0x1cc748=_0x3880f3['length']/0x4-0x2;for(let _0xbcbacf=0x0;_0xbcbacf<_0x1cc748;_0xbcbacf++){let _0x1c118a=_0x3880f3[_0x2b8c5d++]^_0x4b6912(_0xa55837,_0x3b3457,_0x567c4d,_0x52fd3f,_0x26b436,_0x277e08),_0x55ad7d=_0x3880f3[_0x2b8c5d++]^_0x4b6912(_0xa55837,_0x3b3457,_0x52fd3f,_0x26b436,_0x277e08,_0x567c4d),_0x43560b=_0x3880f3[_0x2b8c5d++]^_0x4b6912(_0xa55837,_0x3b3457,_0x26b436,_0x277e08,_0x567c4d,_0x52fd3f),_0x1ec1ca=_0x3880f3[_0x2b8c5d++]^_0x4b6912(_0xa55837,_0x3b3457,_0x277e08,_0x567c4d,_0x52fd3f,_0x26b436);_0x567c4d=_0x1c118a,_0x52fd3f=_0x55ad7d,_0x26b436=_0x43560b,_0x277e08=_0x1ec1ca;}return{'s0':_0x3880f3[_0x2b8c5d++]^_0x52196b(_0x24283c,_0x567c4d,_0x52fd3f,_0x26b436,_0x277e08),'s1':_0x3880f3[_0x2b8c5d++]^_0x52196b(_0x24283c,_0x52fd3f,_0x26b436,_0x277e08,_0x567c4d),'s2':_0x3880f3[_0x2b8c5d++]^_0x52196b(_0x24283c,_0x26b436,_0x277e08,_0x567c4d,_0x52fd3f),'s3':_0x3880f3[_0x2b8c5d++]^_0x52196b(_0x24283c,_0x277e08,_0x567c4d,_0x52fd3f,_0x26b436)};}function _0x12f90a(_0x511ac7,_0x1d64d3,_0x5b4761,_0x3b17c3,_0x3259a0){const _0x3613bc=_0x405303;let {sbox2:_0x56ce50,T01:_0x2b5e26,T23:_0xf82403}=_0xb1103a,_0x585712=0x0;_0x1d64d3^=_0x511ac7[_0x585712++],_0x5b4761^=_0x511ac7[_0x585712++],_0x3b17c3^=_0x511ac7[_0x585712++],_0x3259a0^=_0x511ac7[_0x585712++];let _0x223618=_0x511ac7[_0x3613bc(0x182)]/0x4-0x2;for(let _0x44cd55=0x0;_0x44cd55<_0x223618;_0x44cd55++){let _0x4f1340=_0x511ac7[_0x585712++]^_0x4b6912(_0x2b5e26,_0xf82403,_0x1d64d3,_0x3259a0,_0x3b17c3,_0x5b4761),_0x104809=_0x511ac7[_0x585712++]^_0x4b6912(_0x2b5e26,_0xf82403,_0x5b4761,_0x1d64d3,_0x3259a0,_0x3b17c3),_0x41d547=_0x511ac7[_0x585712++]^_0x4b6912(_0x2b5e26,_0xf82403,_0x3b17c3,_0x5b4761,_0x1d64d3,_0x3259a0),_0x2d4c06=_0x511ac7[_0x585712++]^_0x4b6912(_0x2b5e26,_0xf82403,_0x3259a0,_0x3b17c3,_0x5b4761,_0x1d64d3);_0x1d64d3=_0x4f1340,_0x5b4761=_0x104809,_0x3b17c3=_0x41d547,_0x3259a0=_0x2d4c06;}return{'s0':_0x511ac7[_0x585712++]^_0x52196b(_0x56ce50,_0x1d64d3,_0x3259a0,_0x3b17c3,_0x5b4761),'s1':_0x511ac7[_0x585712++]^_0x52196b(_0x56ce50,_0x5b4761,_0x1d64d3,_0x3259a0,_0x3b17c3),'s2':_0x511ac7[_0x585712++]^_0x52196b(_0x56ce50,_0x3b17c3,_0x5b4761,_0x1d64d3,_0x3259a0),'s3':_0x511ac7[_0x585712++]^_0x52196b(_0x56ce50,_0x3259a0,_0x3b17c3,_0x5b4761,_0x1d64d3)};}function _0x13498e(_0x278df0){const _0x5e9a29=_0x405303;if(_0x59702c(_0x278df0),_0x278df0[_0x5e9a29(0x182)]%0x10!=0x0)throw Error(_0x5e9a29(0x15c));}function _0x3ac818(_0x1e631d,_0x31e051,_0x5b2366){const _0x19c883=_0x405303;_0x59702c(_0x1e631d);let _0x457338=_0x1e631d[_0x19c883(0x182)],_0x1f522b=_0x457338%0x10;if(!_0x31e051&&_0x1f522b!==0x0)throw Error(_0x19c883(0x3bf));if(_0x31e051){let _0x6517b2=0x10-_0x1f522b;_0x6517b2||(_0x6517b2=0x10),_0x457338+=_0x6517b2;}_0x5b2366=_0x573d2a(_0x457338,_0x5b2366),_0x11aacb(_0x1e631d,_0x5b2366),(!_0x5f5b9f||!_0x4c068f(_0x1e631d))&&(_0x1e631d=_0x18912e(_0x1e631d));let _0x17a7e6=_0x1e90c9(_0x1e631d);return _0x3a82af(_0x17a7e6),{'b':_0x17a7e6,'o':_0x1e90c9(_0x5b2366),'out':_0x5b2366};}function _0xf6b642(_0x422f52,_0x8a1856){const _0x4607bc=_0x405303;if(!_0x8a1856)return _0x422f52;let _0x1e2dc0=_0x422f52['length'];if(_0x1e2dc0===0x0)throw Error(_0x4607bc(0x1e1));let _0x40e675=_0x422f52[_0x1e2dc0-0x1],_0x1148d7=0x1;_0x1148d7&=_0x40e675-0x1>>>0x1f^0x1,_0x1148d7&=0x10-_0x40e675>>>0x1f^0x1;for(let _0x517cac=0x0;_0x517cac<0x10;_0x517cac++){let _0x4aa904=_0x517cac-_0x40e675>>>0x1f,_0x5aee29=+((_0x422f52[_0x1e2dc0-0x1-_0x517cac]^_0x40e675)===0x0);_0x1148d7&=_0x5aee29|_0x4aa904^0x1;}if(!_0x1148d7)throw Error(_0x4607bc(0x2f8));return _0x422f52[_0x4607bc(0x151)](0x0,_0x1e2dc0-_0x40e675);}function _0x19a038(_0x56b207){const _0x21e068=_0x405303;let _0x299da4=new Uint8Array(0x10),_0x23f8ca=_0x1e90c9(_0x299da4);_0x299da4[_0x21e068(0x339)](_0x56b207);let _0x229091=0x10-_0x56b207[_0x21e068(0x182)];for(let _0x9dbc57=0x10-_0x229091;_0x9dbc57<0x10;_0x9dbc57++)_0x299da4[_0x9dbc57]=_0x229091;return _0x23f8ca;}let _0x5decb8=_0x238229({'blockSize':0x10,'nonceLength':0x10},function(_0x4dd67a,_0xc870eb,_0xa07d11={}){const _0x3caa3b=_0x405303;let _0x342a03=!_0xa07d11[_0x3caa3b(0x25a)];return{'encrypt'(_0x4bd6af,_0x2c5820){const _0x3b2bd7=_0x3caa3b;let _0x5d974f=_0x4b2b62(_0x4dd67a),{b:_0x39f3a1,o:_0x46fed3,out:_0x139727}=_0x3ac818(_0x4bd6af,_0x342a03,_0x2c5820),_0x1c3149=_0xc870eb,_0x20627d=[_0x5d974f];(!_0x5f5b9f||!_0x4c068f(_0x1c3149))&&_0x20627d[_0x3b2bd7(0x1f4)](_0x1c3149=_0x18912e(_0x1c3149));let _0x43bd8b=_0x1e90c9(_0x1c3149);_0x3a82af(_0x43bd8b);let _0x1d4079=_0x43bd8b[0x0],_0x2cafde=_0x43bd8b[0x1],_0x47bb0f=_0x43bd8b[0x2],_0x18e077=_0x43bd8b[0x3],_0x430861=0x0;for(;_0x430861+0x4<=_0x39f3a1[_0x3b2bd7(0x182)];)_0x1d4079^=_0x39f3a1[_0x430861+0x0],_0x2cafde^=_0x39f3a1[_0x430861+0x1],_0x47bb0f^=_0x39f3a1[_0x430861+0x2],_0x18e077^=_0x39f3a1[_0x430861+0x3],{s0:_0x1d4079,s1:_0x2cafde,s2:_0x47bb0f,s3:_0x18e077}=_0x5b1151(_0x5d974f,_0x1d4079,_0x2cafde,_0x47bb0f,_0x18e077),_0x46fed3[_0x430861++]=_0x1d4079,_0x46fed3[_0x430861++]=_0x2cafde,_0x46fed3[_0x430861++]=_0x47bb0f,_0x46fed3[_0x430861++]=_0x18e077;if(_0x342a03){let _0xb272bd=_0x19a038(_0x4bd6af[_0x3b2bd7(0x151)](_0x430861*0x4));_0x3a82af(_0xb272bd),_0x1d4079^=_0xb272bd[0x0],_0x2cafde^=_0xb272bd[0x1],_0x47bb0f^=_0xb272bd[0x2],_0x18e077^=_0xb272bd[0x3],{s0:_0x1d4079,s1:_0x2cafde,s2:_0x47bb0f,s3:_0x18e077}=_0x5b1151(_0x5d974f,_0x1d4079,_0x2cafde,_0x47bb0f,_0x18e077),_0x46fed3[_0x430861++]=_0x1d4079,_0x46fed3[_0x430861++]=_0x2cafde,_0x46fed3[_0x430861++]=_0x47bb0f,_0x46fed3[_0x430861++]=_0x18e077;}return _0x3a82af(_0x46fed3),_0x1156c1(..._0x20627d),_0x139727;},'decrypt'(_0x380934,_0x1a04a3){const _0x4e9ec9=_0x3caa3b;_0x13498e(_0x380934);let _0xbc1028=_0x26f973(_0x4dd67a),_0x205f08=_0xc870eb,_0x488d35=[_0xbc1028];(!_0x5f5b9f||!_0x4c068f(_0x205f08))&&_0x488d35[_0x4e9ec9(0x1f4)](_0x205f08=_0x18912e(_0x205f08));let _0x43e079=_0x1e90c9(_0x205f08);_0x3a82af(_0x43e079),_0x1a04a3=_0x573d2a(_0x380934[_0x4e9ec9(0x182)],_0x1a04a3),_0x11aacb(_0x380934,_0x1a04a3),(!_0x5f5b9f||!_0x4c068f(_0x380934))&&_0x488d35['push'](_0x380934=_0x18912e(_0x380934));let _0x366f1b=_0x1e90c9(_0x380934),_0x243150=_0x1e90c9(_0x1a04a3);_0x3a82af(_0x366f1b);let _0x3d5a78=_0x43e079[0x0],_0x3c85bf=_0x43e079[0x1],_0x45de39=_0x43e079[0x2],_0x161331=_0x43e079[0x3];for(let _0x3a9c5d=0x0;_0x3a9c5d+0x4<=_0x366f1b[_0x4e9ec9(0x182)];){let _0xe567f2=_0x3d5a78,_0x4f3363=_0x3c85bf,_0x25a65a=_0x45de39,_0x37ad24=_0x161331;_0x3d5a78=_0x366f1b[_0x3a9c5d+0x0],_0x3c85bf=_0x366f1b[_0x3a9c5d+0x1],_0x45de39=_0x366f1b[_0x3a9c5d+0x2],_0x161331=_0x366f1b[_0x3a9c5d+0x3];let {s0:_0x14eacf,s1:_0x438075,s2:_0xcee2d7,s3:_0x76f34b}=_0x12f90a(_0xbc1028,_0x3d5a78,_0x3c85bf,_0x45de39,_0x161331);_0x243150[_0x3a9c5d++]=_0x14eacf^_0xe567f2,_0x243150[_0x3a9c5d++]=_0x438075^_0x4f3363,_0x243150[_0x3a9c5d++]=_0xcee2d7^_0x25a65a,_0x243150[_0x3a9c5d++]=_0x76f34b^_0x37ad24;}return _0x3a82af(_0x243150),_0x1156c1(..._0x488d35),_0xf6b642(_0x1a04a3,_0x342a03);}};});function _0x2a458f(_0x26c22d){const _0x4ca442=_0x405303;let _0x4af506=atob(_0x26c22d),_0x3f9d71=new Uint8Array(_0x4af506[_0x4ca442(0x182)]);for(let _0x559035=0x0;_0x559035<_0x4af506[_0x4ca442(0x182)];_0x559035++)_0x3f9d71[_0x559035]=_0x4af506['charCodeAt'](_0x559035);return _0x3f9d71;}function _0x4388a1(_0x200d55){const _0x4f6e6a=_0x405303;let _0x92d7e3='';for(let _0x46d430=0x0;_0x46d430<_0x200d55['length'];_0x46d430++)_0x92d7e3+=String[_0x4f6e6a(0x3a9)](_0x200d55[_0x46d430]);return btoa(_0x92d7e3);}function _0x229ef8(_0x34c0fb,_0xb9035c){const _0x2a35df=_0x405303;let _0x362f79=_0x2a458f(_0xb9035c),_0x23084f=_0x2a8c18(0x10);return _0x4388a1(_0x1d87d1(_0x23084f,_0x5decb8(_0x362f79,_0x23084f)[_0x2a35df(0x17f)](_0x13ef42(_0x34c0fb))));}function _0x1826a6(){const _0x30037c=_0x405303;let _0x4bfbc1=(0x0,_0x3478b3[_0x30037c(0x1f5)])()['__Key__'];if(typeof window<'u'&&window[_0x30037c(0x354)]!==void 0x0&&_0x4bfbc1){let _0x4047f7={'time':Math[_0x30037c(0x2ff)](Date[_0x30037c(0x2cb)]()/0x3e8),'domain':location[_0x30037c(0x318)]};return _0x229ef8(JSON['stringify'](_0x4047f7),_0x4bfbc1);}}let _0x46162e=class{constructor(_0x8eb7f9){const _0x1ffa7a=_0x405303;this[_0x1ffa7a(0x121)]=_0x8eb7f9,this['_initRequestHeader']();}[_0x405303(0x3eb)](){const _0x2428b9=_0x405303;this[_0x2428b9(0x121)][_0x2428b9(0x42d)]({'interceptor':(_0x1429df,_0x3225f1)=>{const _0x3a6257=_0x2428b9;let _0xd80fd3=_0x1826a6();return _0xd80fd3&&_0x1429df[_0x3a6257(0x440)][_0x3a6257(0x339)](_0x3a6257(0x3e7),_0xd80fd3),_0x3225f1(_0x1429df);}});}};_0x46162e=_0x3934d9([_0x43549d(0x0,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xc90c47[_0x405303(0x141)]))],_0x46162e);let _0x143e0e=class extends _0x2d0b9f[_0x405303(0x16d)]{constructor(_0xde56c,_0x1a4c1e,_0x159082){const _0x204a1e=_0x405303;super(),this[_0x204a1e(0x3d5)]=_0xde56c,this[_0x204a1e(0x373)]=_0x1a4c1e,this[_0x204a1e(0x161)]=_0x159082,_0x4219eb(this,'_unitInfo$',new _0x31dca4[(_0x204a1e(0x31b))](null)),_0x4219eb(this,_0x204a1e(0x1c2),new _0x31dca4[(_0x204a1e(0x29e))]()),_0x4219eb(this,'unitInfo$',this[_0x204a1e(0x3b1)]['asObservable']()),_0x4219eb(this,_0x204a1e(0x288),this['_unitLoaded$']['asObservable']());}['dispose'](){const _0x54a6b8=_0x405303;super['dispose'](),this[_0x54a6b8(0x1c2)][_0x54a6b8(0x104)](),this[_0x54a6b8(0x3b1)]['complete']();}async[_0x405303(0x2dc)](_0x405e55,_0x173230,_0x1645c8,_0x3012ca){const _0x3b1482=_0x405303;this[_0x3b1482(0x3b1)][_0x3b1482(0x131)]({'unitId':_0x405e55,'type':_0x173230,'subUnitId':_0x3012ca});let _0x169f6e=null;switch(_0x173230){case _0x2d0b9f['UniverInstanceType']['UNIVER_SHEET']:_0x169f6e=await this['_snapshotService'][_0x3b1482(0x18f)](_0x405e55,_0x1645c8,void 0x0,{'initialSubUnitId':_0x3012ca});break;case _0x2d0b9f[_0x3b1482(0x341)][_0x3b1482(0x13a)]:_0x169f6e=await this[_0x3b1482(0x373)][_0x3b1482(0xf6)](_0x405e55,_0x1645c8);break;case _0x2d0b9f[_0x3b1482(0x341)][_0x3b1482(0x358)]:_0x169f6e=await this['_snapshotService'][_0x3b1482(0x362)](_0x405e55,_0x1645c8);break;case _0x2d0b9f[_0x3b1482(0x341)][_0x3b1482(0x333)]:_0x169f6e=await this['_snapshotService']['loadBoard'](_0x405e55,_0x1645c8);break;case _0x2d0b9f['UniverInstanceType'][_0x3b1482(0x17d)]:_0x169f6e=await this['_snapshotService']['loadBase'](_0x405e55,_0x1645c8);break;case _0x2d0b9f['UniverInstanceType'][_0x3b1482(0x31e)]:_0x169f6e=await this[_0x3b1482(0x373)][_0x3b1482(0x1a9)](_0x405e55,_0x1645c8);break;default:this[_0x3b1482(0x3d5)][_0x3b1482(0x2a9)](_0x3b1482(0x21f),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}return _0x169f6e&&this[_0x3b1482(0x1c2)]['next'](_0x169f6e),_0x169f6e;}async['loadUnit'](_0x55816f,_0x2d0a45,_0x1d6bb4){const _0x4d5dc7=_0x405303;var _0x1d407a;this['_unitInfo$'][_0x4d5dc7(0x131)]({'unitId':_0x55816f,'type':_0x2d0a45,'subUnitId':_0x1d6bb4});let _0x270a1d=0x0,_0x37d972=await((_0x1d407a=this['_localCacheService'])==null?void 0x0:_0x1d407a[_0x4d5dc7(0x218)](_0x55816f));return _0x37d972&&(_0x37d972[_0x4d5dc7(0x283)]||_0x37d972[_0x4d5dc7(0xf9)][_0x4d5dc7(0x182)]!==0x0)&&(_0x270a1d=_0x37d972[_0x4d5dc7(0x284)]),_0x270a1d===0x0&&this['_logService'][_0x4d5dc7(0x30f)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x4d5dc7(0x2dc)](_0x55816f,_0x2d0a45,_0x270a1d,_0x1d6bb4);}};_0x143e0e=_0x3934d9([_0x43549d(0x0,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0x1,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x20c203['SnapshotService'])),_0x43549d(0x2,(0x0,_0x2d0b9f['Optional'])(_0x3e00f7))],_0x143e0e);let _0x3217fe=class{constructor(_0x13e910,_0x52f04c,_0x48635a){const _0x3df1f4=_0x405303;this[_0x3df1f4(0x121)]=_0x13e910,this['_configService']=_0x52f04c,this[_0x3df1f4(0x347)]=_0x48635a,_0x4219eb(this,'_waitCount',0x0),_0x4219eb(this,_0x3df1f4(0x106),new _0x31dca4['Subject']()),_0x4219eb(this,_0x3df1f4(0x1a3),this[_0x3df1f4(0x106)]),_0x4219eb(this,_0x3df1f4(0x158),new Map());}[_0x405303(0x37b)](_0x52d13b){const _0x8f3404=_0x405303;this[_0x8f3404(0x3c1)]=_0x52d13b,this[_0x8f3404(0x106)][_0x8f3404(0x131)](_0x52d13b);}[_0x405303(0x22c)](_0x4eab09,_0x5a0cfa){const _0x2fdc04=_0x405303;if(_0x5a0cfa===_0x2d0b9f[_0x2fdc04(0x41f)][_0x2fdc04(0x310)]){let _0xb5e157=new Image();return _0xb5e157[_0x2fdc04(0x2d4)]=_0x4eab09,_0xb5e157;}return this[_0x2fdc04(0x158)]['get'](_0x4eab09);}[_0x405303(0x37d)](_0x2373e0,_0x56185c,_0x5e8dfe){const _0xe959b0=_0x405303;_0x56185c!==_0x2d0b9f[_0xe959b0(0x41f)]['BASE64']&&_0x5e8dfe!=null&&this[_0xe959b0(0x158)][_0xe959b0(0x339)](_0x2373e0,_0x5e8dfe);}async[_0x405303(0x2d9)](_0x19ad78){const _0x7dea45=_0x405303;try{let _0x11eb79=this['_replaceFileID'](this[_0x7dea45(0x18a)](),''+_0x19ad78),_0x10b749=(await this[_0x7dea45(0x121)]['get'](_0x11eb79))['body'];if(_0x10b749[_0x7dea45(0x2a9)]&&_0x10b749[_0x7dea45(0x2a9)][_0x7dea45(0x2c4)]===_0x11fae4[_0x7dea45(0x334)]['OK']){let _0x3647fd=(0x0,_0x2d0b9f[_0x7dea45(0x172)])(_0x10b749[_0x7dea45(0x204)],this[_0x7dea45(0x33f)]());return Promise['resolve'](_0x3647fd);}return Promise['reject'](_0x10b749[_0x7dea45(0x2a9)]);}catch(_0x1ad824){return Promise[_0x7dea45(0x293)](_0x1ad824);}}async['saveImage'](_0x1f9d52){const _0x5c9062=_0x405303;let _0x3e89f1='';if(!_0x247c19[_0x5c9062(0x36e)][_0x5c9062(0x281)](_0x1f9d52[_0x5c9062(0x24b)]))return this[_0x5c9062(0x351)](),Promise[_0x5c9062(0x293)](Error(_0x2d0b9f['ImageUploadStatusType'][_0x5c9062(0x100)]));if(_0x1f9d52[_0x5c9062(0x1db)]>(0x0,_0x247c19[_0x5c9062(0x29f)])())return this['_decreaseWaiting'](),Promise['reject'](Error(_0x2d0b9f[_0x5c9062(0x1ec)][_0x5c9062(0x1b1)]));try{let _0x9c1c98=new FormData();_0x9c1c98[_0x5c9062(0x43f)](_0x5c9062(0x1cc),_0x1f9d52);let _0x9036=this['_univerInstanceService'][_0x5c9062(0x1bf)](),_0x3a81ae=_0x9036==null?void 0x0:_0x9036['getUnitId']();if(!_0x3a81ae)throw Error(_0x5c9062(0x1c1));let _0x5bbf9a=this[_0x5c9062(0x27f)]()+'?size='+_0x1f9d52[_0x5c9062(0x1db)][_0x5c9062(0x349)]()+_0x5c9062(0x369)+_0x11fae4[_0x5c9062(0x34e)][_0x5c9062(0x3f8)]+_0x5c9062(0x156)+encodeURIComponent(_0x3a81ae),_0x32f6ea={'body':_0x9c1c98},_0x3a5a02=(await this[_0x5c9062(0x121)]['post'](_0x5bbf9a,_0x32f6ea))[_0x5c9062(0x43d)];if(typeof _0x3a5a02[_0x5c9062(0x2d1)]!=_0x5c9062(0x163))return this[_0x5c9062(0x351)](),Promise[_0x5c9062(0x293)](Error(_0x2d0b9f[_0x5c9062(0x1ec)][_0x5c9062(0x1f3)]));_0x3e89f1=_0x3a5a02[_0x5c9062(0x2d1)];}catch{return this[_0x5c9062(0x351)](),Promise[_0x5c9062(0x293)](Error(_0x2d0b9f[_0x5c9062(0x1ec)][_0x5c9062(0x1f3)]));}return new Promise((_0x2e067b,_0x2239fb)=>{const _0x36943a=_0x5c9062;let _0x44e2c8=new FileReader();_0x44e2c8['readAsDataURL'](_0x1f9d52),_0x44e2c8[_0x36943a(0x109)]=_0x1b7ab9=>{const _0x309a3f=_0x36943a;var _0x239277;let _0x30a159=(_0x239277=_0x1b7ab9['target'])==null?void 0x0:_0x239277['result'];if(_0x30a159==null){this[_0x309a3f(0x351)](),_0x2239fb(Error(_0x2d0b9f[_0x309a3f(0x1ec)][_0x309a3f(0x1f3)]));return;}_0x2e067b({'imageId':(0x0,_0x2d0b9f[_0x309a3f(0x203)])(0x6),'imageSourceType':_0x2d0b9f[_0x309a3f(0x41f)][_0x309a3f(0x2f1)],'source':_0x3e89f1,'base64Cache':_0x30a159,'status':_0x2d0b9f[_0x309a3f(0x1ec)]['SUCCUSS']}),this[_0x309a3f(0x351)]();};});}[_0x405303(0x27f)](){const _0x2f9f74=_0x405303;var _0x53725a;let _0x2fac96=this['_configService'][_0x2f9f74(0x112)](_0x51e182);return(_0x53725a=_0x2fac96==null?void 0x0:_0x2fac96['uploadFileServerUrl'])==null?_0x2f9f74(0x234):_0x53725a;}[_0x405303(0x18a)](){const _0x84d03a=_0x405303;var _0x5ef2d6;let _0x3ef26e=this[_0x84d03a(0x3d2)][_0x84d03a(0x112)](_0x51e182);return(_0x5ef2d6=_0x3ef26e==null?void 0x0:_0x3ef26e[_0x84d03a(0x338)])==null?_0x84d03a(0x441):_0x5ef2d6;}[_0x405303(0x33f)](){const _0x35a328=_0x405303;var _0x4fde77;let _0x21d45a=this[_0x35a328(0x3d2)]['getConfig'](_0x51e182);return(_0x4fde77=_0x21d45a==null?void 0x0:_0x21d45a[_0x35a328(0x3d3)])==null?location['origin']:_0x4fde77;}[_0x405303(0x3f4)](_0x2ac536,_0x3a800d){const _0x376609=_0x405303;return _0x2ac536[_0x376609(0x1ee)]('{fileID}',_0x3a800d);}[_0x405303(0x351)](){const _0x3bdc9e=_0x405303;--this['_waitCount'],this['_change$'][_0x3bdc9e(0x131)](this[_0x3bdc9e(0x3c1)]);}};_0x3217fe=_0x3934d9([_0x43549d(0x0,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xc90c47['HTTPService'])),_0x43549d(0x1,_0x2d0b9f[_0x405303(0x346)]),_0x43549d(0x2,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x217)]))],_0x3217fe);let _0x1183e4=class{constructor(_0x3a6f57,_0x104033){const _0x20f57f=_0x405303;this['_configService']=_0x3a6f57,this[_0x20f57f(0x2a0)]=_0x104033;}['_getAPIPrefixPath'](){const _0x491087=_0x405303;var _0x11509a;let _0x7a04c3=this['_configService'][_0x491087(0x112)](_0x51e182);return(_0x11509a=_0x7a04c3==null?void 0x0:_0x7a04c3[_0x491087(0x3d1)])==null?_0x491087(0x35e):_0x11509a;}async[_0x405303(0x269)](_0x2fc3df){const _0x24988c=_0x405303;let _0x196216=this[_0x24988c(0x2a1)]()+_0x24988c(0x2f7);return{'list':[{'title':_0x24988c(0x135),'mentions':(await this[_0x24988c(0x2a0)][_0x24988c(0x1b8)](_0x196216,{'params':{'objectID':_0x2fc3df[_0x24988c(0x29b)],'unitID':_0x2fc3df['unitId']}}))[_0x24988c(0x43d)][_0x24988c(0x194)]['map'](_0x5d6507=>({'objectId':_0x5d6507['id'],'name':_0x5d6507[_0x24988c(0x12f)][_0x24988c(0xeb)],'metadata':{'icon':_0x5d6507[_0x24988c(0x12f)][_0x24988c(0x21b)]},'label':_0x5d6507[_0x24988c(0x12f)][_0x24988c(0xeb)],'objectType':_0x2d0b9f[_0x24988c(0x145)][_0x24988c(0x1ba)]})),'metadata':{},'type':_0x2d0b9f[_0x24988c(0x145)][_0x24988c(0x1ba)]}]};}};_0x1183e4=_0x3934d9([_0x43549d(0x0,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x346)])),_0x43549d(0x1,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xc90c47[_0x405303(0x141)]))],_0x1183e4);let _0x1705a2=class extends _0x2d0b9f[_0x405303(0x16d)]{constructor(_0x5330f9,_0x234d14,_0x1e944b,_0x4ff3fe,_0x21a0df){const _0x13d9c6=_0x405303;super(),this[_0x13d9c6(0x3ef)]=_0x5330f9,this[_0x13d9c6(0x347)]=_0x234d14,this[_0x13d9c6(0x2cd)]=_0x1e944b,this[_0x13d9c6(0x43b)]=_0x4ff3fe,this[_0x13d9c6(0x214)]=_0x21a0df,this[_0x13d9c6(0x449)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x62d4f9=_0x405303;let _0x33a219=async _0x2deac6=>{const _0x249b5c=_0x4e8d;(await this[_0x249b5c(0x43b)][_0x249b5c(0x305)](_0x2deac6))['event$'][_0x249b5c(0x18e)]((0x0,_0x2ba3c8[_0x249b5c(0x24d)])(_0x373ce2=>_0x373ce2[_0x249b5c(0x3cc)]===_0x20c203[_0x249b5c(0x3e1)][_0x249b5c(0x37a)]),(0x0,_0x2ba3c8[_0x249b5c(0x220)])(this[_0x249b5c(0x405)]))['subscribe'](_0x2ee291=>{const _0x1fc9eb=_0x249b5c;let {reason:_0x10e47d}=_0x2ee291['data'];this[_0x1fc9eb(0x214)][_0x1fc9eb(0x31f)]({'id':'CLOSE_ROOM','data':_0x10e47d}),this[_0x1fc9eb(0x2cd)][_0x1fc9eb(0x2ea)](new _0x2ba48b[(_0x1fc9eb(0x422))](_0x2deac6)['id'],!0x1),this[_0x1fc9eb(0x43b)][_0x1fc9eb(0x34a)](_0x2deac6);});};(0x0,_0x31dca4[_0x62d4f9(0xfd)])(this[_0x62d4f9(0x347)]['getTypeOfUnitAdded$'](_0x2d0b9f[_0x62d4f9(0x341)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x62d4f9(0x307)](_0x2d0b9f['UniverInstanceType'][_0x62d4f9(0x13a)]),this[_0x62d4f9(0x347)][_0x62d4f9(0x307)](_0x2d0b9f[_0x62d4f9(0x341)]['UNIVER_BOARD']),this[_0x62d4f9(0x347)][_0x62d4f9(0x307)](_0x2d0b9f['UniverInstanceType'][_0x62d4f9(0x17d)]))[_0x62d4f9(0x18e)]((0x0,_0x2ba3c8['map'])(_0x27aaa5=>_0x27aaa5[_0x62d4f9(0x417)][_0x62d4f9(0x202)]()),(0x0,_0x2ba3c8[_0x62d4f9(0x24d)])(_0x1de277=>!(0x0,_0x2d0b9f[_0x62d4f9(0x148)])(_0x1de277)),(0x0,_0x2ba3c8[_0x62d4f9(0x220)])(this[_0x62d4f9(0x405)]))['subscribe'](_0x132510=>{_0x33a219(_0x132510);});}[_0x405303(0x449)](){const _0x5eef30=_0x405303;let _0xba6e73=async _0x5dfaee=>{const _0x68e500=_0x4e8d;let _0x45edaf=await this[_0x68e500(0x43b)][_0x68e500(0x305)](_0x5dfaee),_0x44cb17=this['_injector'][_0x68e500(0x1b8)](_0x2ba48b['SheetPermissionInitController']);_0x45edaf[_0x68e500(0x233)]['pipe']((0x0,_0x2ba3c8[_0x68e500(0x24d)])(_0x1aaf8f=>_0x1aaf8f[_0x68e500(0x3cc)]===_0x20c203[_0x68e500(0x3e1)][_0x68e500(0x2af)]),(0x0,_0x2ba3c8[_0x68e500(0x220)])(this['dispose$']))['subscribe'](_0x245290=>{const _0x503795=_0x68e500;let {objectId:_0x5e032c}=_0x245290[_0x503795(0x3be)];_0x5e032c===_0x5dfaee?_0x44cb17['initWorkbookPermissionChange'](_0x5dfaee):_0x44cb17[_0x503795(0x23f)](_0x5dfaee,_0x5e032c);});};(0x0,_0x31dca4['merge'])(this['_univerInstanceService'][_0x5eef30(0x307)](_0x2d0b9f['UniverInstanceType'][_0x5eef30(0x378)]))[_0x5eef30(0x18e)]((0x0,_0x2ba3c8[_0x5eef30(0x110)])(_0x1409a9=>_0x1409a9[_0x5eef30(0x417)][_0x5eef30(0x202)]()),(0x0,_0x2ba3c8[_0x5eef30(0x24d)])(_0x5c319d=>!(0x0,_0x2d0b9f[_0x5eef30(0x148)])(_0x5c319d)),(0x0,_0x2ba3c8[_0x5eef30(0x220)])(this[_0x5eef30(0x405)]))[_0x5eef30(0x120)](_0x2d4c25=>{_0xba6e73(_0x2d4c25);});}};_0x1705a2=_0x3934d9([_0x43549d(0x0,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f['Injector'])),_0x43549d(0x1,_0x2d0b9f[_0x405303(0x217)]),_0x43549d(0x2,_0x2d0b9f[_0x405303(0x160)]),_0x43549d(0x3,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x4c98b9)),_0x43549d(0x4,(0x0,_0x2d0b9f['Inject'])(_0xa9d46c))],_0x1705a2);let _0x4f051f=class{constructor(_0x36a674,_0x15e18e){this['_configService']=_0x36a674,this['_httpService']=_0x15e18e;}async[_0x405303(0x252)](_0x4731f6,_0x5cbd8d){const _0x5b3851=_0x405303;var _0x37f698;let {unitID:_0x3f569e,type:_0x5f9be0,revision:_0x21e9ee=0x0}=_0x5cbd8d,_0x46dda6=this[_0x5b3851(0x256)]()+'/'+_0x5f9be0+_0x5b3851(0x437)+_0x3f569e+'/rev/'+_0x21e9ee,_0x172d0f=(await this['_httpService'][_0x5b3851(0x1b8)](_0x46dda6))[_0x5b3851(0x43d)],_0x282703=(_0x37f698=_0x172d0f['snapshot'])==null?void 0x0:_0x37f698[_0x5b3851(0x228)];if(_0x282703){let _0x5346d9=_0x282703==null?void 0x0:_0x282703[_0x5b3851(0x181)];_0x282703[_0x5b3851(0x181)]=_0x20c203[_0x5b3851(0x249)][_0x5b3851(0x23a)]((0x0,_0x20c203[_0x5b3851(0x1bd)])(_0x5346d9)),Object[_0x5b3851(0x37c)](_0x282703['sheets'])[_0x5b3851(0x412)](([,_0x1cc7c5])=>{const _0x3b0031=_0x5b3851;let _0x232b25=_0x1cc7c5[_0x3b0031(0x181)];_0x1cc7c5[_0x3b0031(0x181)]=_0x20c203['textEncoder'][_0x3b0031(0x23a)]((0x0,_0x20c203[_0x3b0031(0x1bd)])(_0x232b25));});}return _0x172d0f;}async['getSheetBlock'](_0x41dc9c,_0x53bb93){const _0x1e004e=_0x405303;let {unitID:_0x52e8e7,type:_0x3ca7ba,blockID:_0xcdcaac}=_0x53bb93,_0x4488ff=this[_0x1e004e(0x1f9)]()+'/'+_0x3ca7ba+_0x1e004e(0x437)+_0x52e8e7+'/block/'+_0xcdcaac;return(await this['_httpService']['get'](_0x4488ff))[_0x1e004e(0x43d)];}async[_0x405303(0x20f)](_0x393470,_0x1d2a1a){const _0x4ac2d1=_0x405303;let {unitID:_0xe19253,type:_0x134d8d,blockID:_0x10d87e}=_0x1d2a1a,_0x4ecc45=this[_0x4ac2d1(0x1f9)]()+_0x4ac2d1(0x115)+_0x134d8d+_0x4ac2d1(0x437)+_0xe19253+_0x4ac2d1(0x115)+_0x10d87e;return(await this[_0x4ac2d1(0x121)][_0x4ac2d1(0x1b8)](_0x4ecc45))['body'];}async['fetchMissingChangesets'](_0x548b67,_0x292302){const _0x8fc751=_0x405303;let {unitID:_0x1cc671,type:_0x2b67e0,from:_0x32ba00,to:_0x4fe6ba}=_0x292302,_0x3b17e8=this[_0x8fc751(0x1f9)]()+'/'+_0x2b67e0+_0x8fc751(0x437)+_0x1cc671+_0x8fc751(0x353)+_0x32ba00+_0x8fc751(0x1c8)+_0x4fe6ba;return(await this[_0x8fc751(0x121)][_0x8fc751(0x1b8)](_0x3b17e8))[_0x8fc751(0x43d)];}['getSnapshotAPIPath'](){const _0x39a083=_0x405303;var _0x271f02;return(_0x271f02=this[_0x39a083(0x3d2)][_0x39a083(0x112)](_0x39a083(0x25e)))==null?this[_0x39a083(0x1f9)]():_0x271f02;}['_getAPIPrefix'](){const _0x3d98be=_0x405303;var _0x2946e1;let _0x3a8cf6=this[_0x3d98be(0x3d2)][_0x3d98be(0x112)](_0x51e182);return(_0x2946e1=_0x3a8cf6==null?void 0x0:_0x3a8cf6[_0x3d98be(0x26b)])==null?_0x3d98be(0x433):_0x2946e1;}async[_0x405303(0x127)](_0x149260,_0x33945a){const _0x572a92=_0x405303;let _0x52cf6e=_0x572a92(0x213)+_0x33945a[_0x572a92(0x24b)]+'/unit/'+_0x33945a[_0x572a92(0x1c9)]+_0x572a92(0x24f);return(await this[_0x572a92(0x121)][_0x572a92(0x1b8)](_0x52cf6e,{'params':{'resourceId':JSON[_0x572a92(0x238)](_0x33945a[_0x572a92(0x1c7)])}}))[_0x572a92(0x43d)];}['saveSnapshot'](){const _0x333045=_0x405303;throw Error(_0x333045(0x254));}[_0x405303(0x226)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x405303(0x36c)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x405303(0x297)](){const _0x2ad231=_0x405303;throw Error(_0x2ad231(0x254));}[_0x405303(0x1b4)](){const _0x7d516b=_0x405303;throw Error(_0x7d516b(0x254));}};_0x4f051f=_0x3934d9([_0x43549d(0x0,_0x2d0b9f[_0x405303(0x346)]),_0x43549d(0x1,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0xc90c47[_0x405303(0x141)]))],_0x4f051f);let _0x5aea68=class extends _0x2d0b9f['LocalUndoRedoService']{constructor(_0x103dab,_0x45bbf4,_0x1fcffd,_0x4b4f14,_0x1a8184){const _0x3fdcb9=_0x405303;super(_0x103dab,_0x45bbf4,_0x1fcffd),this[_0x3fdcb9(0x1f8)]=_0x4b4f14,this[_0x3fdcb9(0x3d5)]=_0x1a8184;}[_0x405303(0x312)](_0x39bdad,_0x54b229){const _0x19dc57=_0x405303;let _0xaea814=this[_0x19dc57(0x393)](_0x39bdad);if(_0xaea814)try{let _0x3d75c3=this[_0x19dc57(0x32f)](_0xaea814,_0x54b229);this[_0x19dc57(0x1fa)](_0x39bdad,_0x3d75c3);}catch(_0x3d86d0){this['_logService']['error']('[CollaborationUndoRedoService]',_0x3d86d0),this['_clearUndo'](_0x39bdad);}let _0x1d6724=this[_0x19dc57(0x23c)](_0x39bdad);if(_0x1d6724)try{let _0x5bd954=this['_transformStack'](_0x1d6724,_0x54b229);this[_0x19dc57(0x1f7)](_0x39bdad,_0x5bd954);}catch(_0x2bb086){this[_0x19dc57(0x3d5)][_0x19dc57(0x2a9)](_0x2bb086),this[_0x19dc57(0x1b2)](_0x39bdad);}}[_0x405303(0x316)](_0xc87229){const _0x4bdd2d=_0x405303;let _0x289312=this[_0x4bdd2d(0x393)](_0xc87229);_0x289312&&(_0x289312[_0x4bdd2d(0x182)]=0x0,this[_0x4bdd2d(0x30b)]());}['_clearRedo'](_0xc6f1){const _0x33bf98=_0x405303;let _0x133fc2=this['_getRedoStack'](_0xc6f1);_0x133fc2&&(_0x133fc2[_0x33bf98(0x182)]=0x0,this[_0x33bf98(0x30b)]());}[_0x405303(0x1fa)](_0x3b81bb,_0x14537e){const _0x118a34=_0x405303;this[_0x118a34(0xef)][_0x118a34(0x339)](_0x3b81bb,_0x14537e),this['_updateStatus']();}[_0x405303(0x1f7)](_0x4a18d4,_0x245d80){const _0x4bcff4=_0x405303;this[_0x4bcff4(0x2b0)][_0x4bcff4(0x339)](_0x4a18d4,_0x245d80),this[_0x4bcff4(0x30b)]();}[_0x405303(0x32f)](_0x270151,_0x5bee27){const _0x3fa6e5=_0x405303;let _0x49ec7a=[],_0x2f0cd3=_0x5bee27,_0x17bfb1=_0x5bee27;for(let _0x2fa2f5=_0x270151[_0x3fa6e5(0x182)]-0x1;_0x2fa2f5>=0x0;_0x2fa2f5--){let {unitID:_0x451277,undoMutations:_0xf568e2,redoMutations:_0x5acdc2}=_0x270151[_0x2fa2f5],_0x33eaf5=this[_0x3fa6e5(0x1f8)][_0x3fa6e5(0x30a)](_0x2f0cd3,_0xf568e2),_0x4e0477=this[_0x3fa6e5(0x1f8)][_0x3fa6e5(0x30a)](_0x17bfb1,_0x5acdc2);if((0x0,_0x20c203[_0x3fa6e5(0x153)])(_0x33eaf5)||(0x0,_0x20c203['isTransformMutationsWithChangesetFailure'])(_0x4e0477)){this[_0x3fa6e5(0x3d5)][_0x3fa6e5(0x2a9)](_0x3fa6e5(0x279),_0x3fa6e5(0x2d6),_0x33eaf5,_0x4e0477);break;}_0x2f0cd3=_0x33eaf5[_0x3fa6e5(0x2c3)],_0x17bfb1=_0x4e0477[_0x3fa6e5(0x2c3)],_0x49ec7a[_0x3fa6e5(0x1f4)]({'unitID':_0x451277,'undoMutations':_0x33eaf5[_0x3fa6e5(0x36d)],'redoMutations':_0x4e0477[_0x3fa6e5(0x36d)]});}return _0x49ec7a['reverse']();}};_0x5aea68=_0x3934d9([_0x43549d(0x0,_0x2d0b9f[_0x405303(0x217)]),_0x43549d(0x1,_0x2d0b9f[_0x405303(0x326)]),_0x43549d(0x2,_0x2d0b9f[_0x405303(0x278)]),_0x43549d(0x3,_0x20c203[_0x405303(0x23e)]),_0x43549d(0x4,_0x2d0b9f[_0x405303(0x280)])],_0x5aea68);let _0x30afa7=class extends _0x2d0b9f['Plugin']{constructor(_0x2d3ea9=_0x5939b8,_0x1a4103,_0x1b9ef9,_0x597a3b){const _0x3a9283=_0x405303;super(),this[_0x3a9283(0x16b)]=_0x2d3ea9,this[_0x3a9283(0x3d5)]=_0x1a4103,this[_0x3a9283(0x3ef)]=_0x1b9ef9,this[_0x3a9283(0x3d2)]=_0x597a3b;let {..._0xb1bd24}=(0x0,_0x2d0b9f[_0x3a9283(0xfd)])({},_0x5939b8,this[_0x3a9283(0x16b)]);if(!_0xb1bd24['socketService'])throw Error(_0x3a9283(0x126));this[_0x3a9283(0x16b)]=_0xb1bd24,this['_configService'][_0x3a9283(0x10a)](_0x51e182,_0xb1bd24);}[_0x405303(0x1d6)](){const _0x1ad991=_0x405303;this[_0x1ad991(0x448)](),this['_initDependencies']();}[_0x405303(0x448)](){const _0xe5ae73=_0x405303;var _0x32bd8a,_0x4fcd84;this[_0xe5ae73(0x3ef)][_0xe5ae73(0x206)](_0x2d0b9f[_0xe5ae73(0xf4)])&&this[_0xe5ae73(0x3d5)]['error'](_0xe5ae73(0x162),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x4db949=(0x0,_0x2d0b9f[_0xe5ae73(0x197)])([[_0x2d0b9f['IUndoRedoService'],{'useClass':_0x5aea68}],[_0x562152,{'useValue':_0x233b60()}],[_0x4c98b9],[_0x42c2f1],[_0x201f2c],[_0x1eed0d],[_0x46162e],[_0x432b3d],[_0x1705a2],[_0xa9d46c],[_0x143e0e],[_0x581f35,{'useClass':this[_0xe5ae73(0x16b)][_0xe5ae73(0x20d)]}],[_0x20c203[_0xe5ae73(0x3e3)],{'useClass':_0x4f051f}],[_0x2d0b9f[_0xe5ae73(0x2ad)],{'useClass':_0x4e73d2}],[_0x2d0b9f[_0xe5ae73(0x140)],{'useClass':_0x3217fe}],[_0x29321d,{'useClass':_0x36dd49}],[_0x2d0b9f['IMentionIOService'],{'useClass':_0x1183e4}],[_0x58a316],[_0x3ed61f]],(_0x32bd8a=this[_0xe5ae73(0x16b)])==null?void 0x0:_0x32bd8a[_0xe5ae73(0x118)]);if(!((_0x4fcd84=this[_0xe5ae73(0x16b)])!=null&&_0x4fcd84[_0xe5ae73(0x2fe)])){let _0x58995c=_0x4db949[_0xe5ae73(0x320)](([_0x3645cc])=>_0x3645cc===_0x43c9bd);_0x58995c!==-0x1&&_0x4db949['splice'](_0x58995c,0x1);}(0x0,_0x2d0b9f[_0xe5ae73(0x2b7)])(this[_0xe5ae73(0x3ef)],_0x4db949);}[_0x405303(0x396)](){const _0x196cf8=_0x405303;var _0xf220e,_0x2e395a;if(this['_injector'][_0x196cf8(0x1b8)](_0xc90c47[_0x196cf8(0x141)])[_0x196cf8(0x42d)]({'priority':0x14,'interceptor':(0x0,_0xc90c47['ThresholdInterceptorFactory'])({'maxParallel':0x6})}),!((_0xf220e=this[_0x196cf8(0x16b)])!=null&&_0xf220e[_0x196cf8(0x17b)])){var _0x4eb5ed;(_0x4eb5ed=this[_0x196cf8(0x3ef)]['get'](_0x3e00f7,_0x2d0b9f[_0x196cf8(0x190)][_0x196cf8(0x28e)]))==null||_0x4eb5ed[_0x196cf8(0x40b)]();}(_0x2e395a=this[_0x196cf8(0x16b)])!=null&&_0x2e395a[_0x196cf8(0x272)]&&(0x0,_0x2d0b9f[_0x196cf8(0x123)])(this[_0x196cf8(0x3ef)],[[_0x1eed0d]]),(0x0,_0x2d0b9f[_0x196cf8(0x123)])(this[_0x196cf8(0x3ef)],[[_0x46162e],[_0x58a316],[_0x1705a2]]);}};_0x4219eb(_0x30afa7,'pluginName',_0x405303(0x43a)),_0x4219eb(_0x30afa7,_0x405303(0x21a),_0x556b81),_0x4219eb(_0x30afa7,_0x405303(0x1cb),_0x5f209a),_0x30afa7=_0x3934d9([(0x0,_0x2d0b9f['DependentOn'])(_0x3478b3[_0x405303(0x3a5)],_0xc90c47[_0x405303(0x348)],_0x20c203[_0x405303(0x169)]),_0x43549d(0x1,_0x2d0b9f[_0x405303(0x280)]),_0x43549d(0x2,(0x0,_0x2d0b9f[_0x405303(0x22b)])(_0x2d0b9f[_0x405303(0x3f7)])),_0x43549d(0x3,_0x2d0b9f[_0x405303(0x346)])],_0x30afa7),Object['defineProperty'](_0x4baffb,'AuthzIoHttpService',{'enumerable':!0x0,'get':function(){return _0x4e73d2;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x23b),{'enumerable':!0x0,'get':function(){return _0xe05e0d;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x3cd),{'enumerable':!0x0,'get':function(){return _0x49c582;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x232),{'enumerable':!0x0,'get':function(){return _0x59b528;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x1f1),{'enumerable':!0x0,'get':function(){return _0x4cf531;}}),_0x4baffb[_0x405303(0x426)]=_0x51e182,Object['defineProperty'](_0x4baffb,_0x405303(0x1dd),{'enumerable':!0x0,'get':function(){return _0x36dd49;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x42f),{'enumerable':!0x0,'get':function(){return _0x58a316;}}),Object['defineProperty'](_0x4baffb,_0x405303(0x442),{'enumerable':!0x0,'get':function(){return _0xfb921e;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x332),{'enumerable':!0x0,'get':function(){return _0x3217fe;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x44d),{'enumerable':!0x0,'get':function(){return _0x1213e3;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x40e),{'enumerable':!0x0,'get':function(){return _0x4c98b9;}}),Object[_0x405303(0x236)](_0x4baffb,'CollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x2eb133;}}),_0x4baffb[_0x405303(0x41e)]=_0x1e7da3,_0x4baffb[_0x405303(0x1be)]=_0x3f9476,_0x4baffb['CollaborationUIEventService']=_0xa9d46c,Object[_0x405303(0x236)](_0x4baffb,'CollaborativeUndoRedoService',{'enumerable':!0x0,'get':function(){return _0x5aea68;}}),_0x4baffb[_0x405303(0x1d0)]=_0x432b3d,Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x428),{'enumerable':!0x0,'get':function(){return _0x1af009;}}),_0x4baffb[_0x405303(0x216)]=_0x219b9d,_0x4baffb[_0x405303(0x157)]=_0x405303(0x2f3),_0x4baffb[_0x405303(0x31c)]='/universer-api/user/session-ticket',Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x2b1),{'enumerable':!0x0,'get':function(){return _0x143e0e;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x14e),{'enumerable':!0x0,'get':function(){return _0x5a7876;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x1ff),{'enumerable':!0x0,'get':function(){return _0x234be3;}}),_0x4baffb[_0x405303(0x1c6)]=_0x405303(0x2db),_0x4baffb[_0x405303(0x187)]=_0x405303(0x26f),_0x4baffb[_0x405303(0x178)]=_0x29321d,_0x4baffb[_0x405303(0x44b)]=_0x562152,_0x4baffb['ICollaborationSocketService']=_0x581f35,_0x4baffb['ILocalCacheService']=_0x3e00f7,_0x4baffb[_0x405303(0x132)]=_0x1e1155,_0x4baffb[_0x405303(0x372)]=_0x43c9bd,_0x4baffb[_0x405303(0x1ce)]=0x3e8,_0x4baffb['LOCAL_CACHE_INTERVAL_KEY']='LOCAL_CACHE_INTERVAL',Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x1c3),{'enumerable':!0x0,'get':function(){return _0x42c2f1;}}),Object['defineProperty'](_0x4baffb,'MentionIoHttpService',{'enumerable':!0x0,'get':function(){return _0x1183e4;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x32c),{'enumerable':!0x0,'get':function(){return _0x3b0e9a;}}),Object['defineProperty'](_0x4baffb,_0x405303(0x36f),{'enumerable':!0x0,'get':function(){return _0x514c5a;}}),Object[_0x405303(0x236)](_0x4baffb,'PendingState',{'enumerable':!0x0,'get':function(){return _0x315789;}}),_0x4baffb[_0x405303(0x34f)]=_0x405303(0x276),_0x4baffb[_0x405303(0x1ae)]=_0x405303(0x113),_0x4baffb[_0x405303(0x2ef)]=_0x53b627,Object['defineProperty'](_0x4baffb,_0x405303(0x277),{'enumerable':!0x0,'get':function(){return _0x5080f;}}),Object['defineProperty'](_0x4baffb,_0x405303(0x35f),{'enumerable':!0x0,'get':function(){return _0x201f2c;}}),Object['defineProperty'](_0x4baffb,_0x405303(0x37e),{'enumerable':!0x0,'get':function(){return _0x33945f;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x3e9),{'enumerable':!0x0,'get':function(){return _0x4f051f;}}),Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x1fc),{'enumerable':!0x0,'get':function(){return _0x2b0eea;}}),_0x4baffb['UnitStatus']=_0x42b9d3,Object[_0x405303(0x236)](_0x4baffb,_0x405303(0x3c3),{'enumerable':!0x0,'get':function(){return _0x30afa7;}}),_0x4baffb[_0x405303(0x28f)]=_0x233b60,_0x4baffb[_0x405303(0x40a)]=_0x36834a,_0x4baffb[_0x405303(0x408)]=_0x2ea860,_0x4baffb[_0x405303(0x30d)]=_0x2e90ec;}));
|
|
1
|
+
function _0x2dd0(_0x19487f,_0x5c2d18){_0x19487f=_0x19487f-0xc0;const _0x39dfa4=_0x39df();let _0x2dd0b0=_0x39dfa4[_0x19487f];return _0x2dd0b0;}(function(_0x15e79b,_0x28bfa9){const _0x475340=_0x2dd0,_0x42b35c=_0x15e79b();while(!![]){try{const _0x1f19bd=parseInt(_0x475340(0x365))/0x1+parseInt(_0x475340(0x16e))/0x2+-parseInt(_0x475340(0x29f))/0x3+-parseInt(_0x475340(0x123))/0x4+parseInt(_0x475340(0x1cf))/0x5+-parseInt(_0x475340(0x307))/0x6*(-parseInt(_0x475340(0x379))/0x7)+parseInt(_0x475340(0x143))/0x8;if(_0x1f19bd===_0x28bfa9)break;else _0x42b35c['push'](_0x42b35c['shift']());}catch(_0x3b4d00){_0x42b35c['push'](_0x42b35c['shift']());}}}(_0x39df,0xe7a83),function(_0x427d11,_0x2cd5ff){const _0x2860f5=_0x2dd0;typeof exports==_0x2860f5(0x3c6)&&typeof module<'u'?_0x2cd5ff(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/protocol'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs-pro/slides'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define==_0x2860f5(0x1d0)&&define['amd']?define([_0x2860f5(0x32b),_0x2860f5(0x3eb),_0x2860f5(0xe6),_0x2860f5(0x1f3),_0x2860f5(0x15b),_0x2860f5(0x308),_0x2860f5(0x27f),_0x2860f5(0x3a6),'rxjs/operators',_0x2860f5(0x138),_0x2860f5(0x411),_0x2860f5(0x188),_0x2860f5(0x3ad)],_0x2cd5ff):(_0x427d11=typeof globalThis<'u'?globalThis:_0x427d11||self,_0x2cd5ff(_0x427d11[_0x2860f5(0x33f)]={},_0x427d11[_0x2860f5(0x1bf)],_0x427d11[_0x2860f5(0x14d)],_0x427d11[_0x2860f5(0x381)],_0x427d11[_0x2860f5(0x2a4)],_0x427d11['rxjs'],_0x427d11['UniverProtocol'],_0x427d11['UniverTelemetry'],_0x427d11[_0x2860f5(0x308)][_0x2860f5(0x1e4)],_0x427d11[_0x2860f5(0x302)],_0x427d11[_0x2860f5(0x2e5)],_0x427d11[_0x2860f5(0x3b1)],_0x427d11[_0x2860f5(0x225)]));}(this,function(_0x16b920,_0x3d4600,_0x17ede7,_0xc72b83,_0x43c3be,_0x1f9457,_0x3d2f85,_0x327e6c,_0x1756fd,_0x3160c0,_0x4bbb37,_0x90a78a,_0x536602){const _0x473efc=_0x2dd0;Object[_0x473efc(0x345)](_0x16b920,Symbol[_0x473efc(0x38d)],{'value':_0x473efc(0x1e6)});let _0x1f8831='collaboration-client.config',_0x12effe={};function _0x143912(_0x39dafa){const _0x4fefe5=_0x473efc;return JSON[_0x4fefe5(0x317)](_0x39dafa)['length'];}function _0x259b8c(_0x65dc4b){'@babel/helpers - typeof';const _0x5ec490=_0x473efc;return _0x259b8c=typeof Symbol==_0x5ec490(0x1d0)&&typeof Symbol[_0x5ec490(0x222)]==_0x5ec490(0x2ad)?function(_0x463947){return typeof _0x463947;}:function(_0x26b312){const _0xa5cf63=_0x5ec490;return _0x26b312&&typeof Symbol==_0xa5cf63(0x1d0)&&_0x26b312['constructor']===Symbol&&_0x26b312!==Symbol['prototype']?_0xa5cf63(0x2ad):typeof _0x26b312;},_0x259b8c(_0x65dc4b);}function _0x2b1ca1(_0x20baaf,_0x26055e){const _0x971f6d=_0x473efc;if(_0x259b8c(_0x20baaf)!=_0x971f6d(0x3c6)||!_0x20baaf)return _0x20baaf;var _0x5069e1=_0x20baaf[Symbol[_0x971f6d(0x328)]];if(_0x5069e1!==void 0x0){var _0x1c5ac6=_0x5069e1[_0x971f6d(0x107)](_0x20baaf,_0x26055e||'default');if(_0x259b8c(_0x1c5ac6)!=_0x971f6d(0x3c6))return _0x1c5ac6;throw TypeError(_0x971f6d(0x386));}return(_0x26055e===_0x971f6d(0x2fb)?String:Number)(_0x20baaf);}function _0x314abf(_0x578444){const _0x1f303f=_0x473efc;var _0x1634d4=_0x2b1ca1(_0x578444,_0x1f303f(0x2fb));return _0x259b8c(_0x1634d4)=='symbol'?_0x1634d4:_0x1634d4+'';}function _0x17f3d2(_0x55b432,_0x5ce36f,_0x48c7f5){const _0x5187d9=_0x473efc;return(_0x5ce36f=_0x314abf(_0x5ce36f))in _0x55b432?Object[_0x5187d9(0x345)](_0x55b432,_0x5ce36f,{'value':_0x48c7f5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x55b432[_0x5ce36f]=_0x48c7f5,_0x55b432;}let _0x420899=function(_0x3a070d){const _0x40000c=_0x473efc;return _0x3a070d[_0x40000c(0x1c1)]=_0x40000c(0x1c1),_0x3a070d[_0x40000c(0x217)]=_0x40000c(0x217),_0x3a070d[_0x40000c(0x2fe)]=_0x40000c(0x2fe),_0x3a070d[_0x40000c(0x192)]=_0x40000c(0x192),_0x3a070d[_0x40000c(0x375)]=_0x40000c(0x375),_0x3a070d[_0x40000c(0x2ed)]='SOCKET_FAILED_RETRY',_0x3a070d[_0x40000c(0x407)]=_0x40000c(0x407),_0x3a070d[_0x40000c(0x288)]=_0x40000c(0x288),_0x3a070d;}({});var _0x2d7dce=class{constructor(){const _0x514526=_0x473efc;_0x17f3d2(this,_0x514526(0xd3),new _0x1f9457[(_0x514526(0x2d8))]()),_0x17f3d2(this,_0x514526(0x2be),this['_event$']['asObservable']());}[_0x473efc(0x3b3)](_0x55c39b){const _0xe4c1c6=_0x473efc;this[_0xe4c1c6(0xd3)][_0xe4c1c6(0x2f5)](_0x55c39b);}},_0x113b06=class{constructor(){const _0x3b0ad5=_0x473efc;_0x17f3d2(this,_0x3b0ad5(0x33c),new _0x1f9457[(_0x3b0ad5(0x2d8))]()),_0x17f3d2(this,_0x3b0ad5(0x198),this[_0x3b0ad5(0x33c)][_0x3b0ad5(0x1b5)]());}[_0x473efc(0x3ec)](_0x9cc73f){this['_commentUpdate$']['next'](_0x9cc73f);}};function _0x9a3e23(_0x44ee43,_0x3f97c4){return function(_0x524b65,_0x10d911){_0x3f97c4(_0x524b65,_0x10d911,_0x44ee43);};}function _0x4da91b(_0x5de9ce,_0x4a3313,_0x1aaff4,_0x4eba19){const _0x28b5f1=_0x473efc;var _0x515b2d=arguments['length'],_0x558195=_0x515b2d<0x3?_0x4a3313:_0x4eba19===null?_0x4eba19=Object[_0x28b5f1(0x167)](_0x4a3313,_0x1aaff4):_0x4eba19,_0x133eca;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x28b5f1(0x1d0))_0x558195=Reflect['decorate'](_0x5de9ce,_0x4a3313,_0x1aaff4,_0x4eba19);else{for(var _0x1a390e=_0x5de9ce[_0x28b5f1(0x2b6)]-0x1;_0x1a390e>=0x0;_0x1a390e--)(_0x133eca=_0x5de9ce[_0x1a390e])&&(_0x558195=(_0x515b2d<0x3?_0x133eca(_0x558195):_0x515b2d>0x3?_0x133eca(_0x4a3313,_0x1aaff4,_0x558195):_0x133eca(_0x4a3313,_0x1aaff4))||_0x558195);}return _0x515b2d>0x3&&_0x558195&&Object['defineProperty'](_0x4a3313,_0x1aaff4,_0x558195),_0x558195;}let _0x34dd44=class extends _0x17ede7[_0x473efc(0x39c)]{constructor(_0x3ea028){const _0x465167=_0x473efc;super(),this[_0x465167(0x171)]=_0x3ea028,_0x17f3d2(this,_0x465167(0x39b),new Map()),_0x17f3d2(this,_0x465167(0x3fa),new _0x1f9457['Subject']()),this[_0x465167(0x12e)]((0x0,_0x1f9457['merge'])(this[_0x465167(0x171)][_0x465167(0x3ef)](_0x17ede7[_0x465167(0x1c0)][_0x465167(0x1bc)])[_0x465167(0x2bf)]((0x0,_0x1756fd[_0x465167(0xfb)])(_0x344acc=>_0x344acc[_0x465167(0x204)]())),this[_0x465167(0x171)][_0x465167(0x3ef)](_0x17ede7['UniverInstanceType']['UNIVER_DOC'])['pipe']((0x0,_0x1756fd[_0x465167(0xfb)])(_0x525a72=>_0x525a72[_0x465167(0x204)]())),this[_0x465167(0x171)][_0x465167(0x3ef)](_0x17ede7[_0x465167(0x1c0)][_0x465167(0x3b5)])[_0x465167(0x2bf)]((0x0,_0x1756fd[_0x465167(0xfb)])(_0x5dc40e=>_0x5dc40e[_0x465167(0x204)]())),this['_univerInstanceService'][_0x465167(0x3ef)](_0x17ede7[_0x465167(0x1c0)][_0x465167(0x3e8)])[_0x465167(0x2bf)]((0x0,_0x1756fd[_0x465167(0xfb)])(_0x196c29=>_0x196c29[_0x465167(0x204)]())))[_0x465167(0x3bf)](_0x5b4c95=>this[_0x465167(0x28b)](_0x5b4c95)));}[_0x473efc(0x1d2)](_0x5cb34a){const _0x49e76d=_0x473efc;return this[_0x49e76d(0x39b)][_0x49e76d(0x406)](_0x5cb34a)?(0x0,_0x1f9457['of'])(this[_0x49e76d(0x39b)][_0x49e76d(0x3af)](_0x5cb34a)):this[_0x49e76d(0x3fa)][_0x49e76d(0x2bf)]((0x0,_0x1756fd[_0x49e76d(0xfb)])(_0x2a675c=>{const _0x1f24e4=_0x49e76d;if(_0x2a675c===_0x5cb34a)return this['_roomMembers'][_0x1f24e4(0x3af)](_0x2a675c);}));}['updateMember'](_0x24cdab,_0x4334c6){const _0x2fbcc4=_0x473efc;let _0x1802d0=this[_0x2fbcc4(0x39b)][_0x2fbcc4(0x3af)](_0x24cdab);_0x1802d0||(_0x1802d0=new _0x4a1bd1(),this['_roomMembers'][_0x2fbcc4(0x184)](_0x24cdab,_0x1802d0),this[_0x2fbcc4(0x3fa)][_0x2fbcc4(0x2f5)](_0x24cdab)),_0x1802d0['updateMember'](_0x4334c6);}[_0x473efc(0x13e)](_0x14d07d,_0x19cbc3){const _0x2b796b=_0x473efc;let _0x4f0335=this[_0x2b796b(0x39b)][_0x2b796b(0x3af)](_0x14d07d);_0x4f0335&&_0x4f0335[_0x2b796b(0x13e)](_0x19cbc3);}['getRoom'](_0x7a8efb){const _0x1afb4e=_0x473efc;return this[_0x1afb4e(0x39b)][_0x1afb4e(0x3af)](_0x7a8efb);}[_0x473efc(0x404)](_0x5aa718,_0x292ece){const _0x5f43bd=_0x473efc;let _0x3f7faa=this[_0x5f43bd(0x39b)][_0x5f43bd(0x3af)](_0x5aa718);if(_0x3f7faa)return _0x3f7faa['getMember'](_0x292ece);}['_removeRoom'](_0x56a2cf){const _0xeb836a=_0x473efc;let _0x1f6946=this[_0xeb836a(0x39b)]['get'](_0x56a2cf);_0x1f6946&&(_0x1f6946[_0xeb836a(0x335)](),this[_0xeb836a(0x39b)][_0xeb836a(0x2ce)](_0x56a2cf));}[_0x473efc(0x335)](){const _0x53a18f=_0x473efc;this[_0x53a18f(0x39b)][_0x53a18f(0x343)](_0x5c9f8d=>_0x5c9f8d[_0x53a18f(0x335)]()),this[_0x53a18f(0x39b)]['clear'](),this[_0x53a18f(0x3fa)][_0x53a18f(0x403)]();}};_0x34dd44=_0x4da91b([_0x9a3e23(0x0,_0x17ede7[_0x473efc(0x2c6)])],_0x34dd44);var _0x4a1bd1=class extends _0x17ede7['Disposable']{constructor(..._0x567f68){const _0x33e543=_0x473efc;super(..._0x567f68),_0x17f3d2(this,_0x33e543(0x3e3),new Map()),_0x17f3d2(this,_0x33e543(0x366),new _0x1f9457[(_0x33e543(0x3c1))](this[_0x33e543(0x3e3)])),_0x17f3d2(this,_0x33e543(0x339),this[_0x33e543(0x366)][_0x33e543(0x1b5)]());}[_0x473efc(0x335)](){const _0x4adc83=_0x473efc;this[_0x4adc83(0x3e3)][_0x4adc83(0x40f)](),this[_0x4adc83(0x366)][_0x4adc83(0x403)]();}[_0x473efc(0x385)](_0x42247e){const _0x4825f4=_0x473efc;this[_0x4825f4(0x3e3)][_0x4825f4(0x184)](_0x42247e[_0x4825f4(0x2e0)],_0x42247e),this[_0x4825f4(0xc8)]();}[_0x473efc(0x13e)](_0x5cd937){const _0x1f2352=_0x473efc;this[_0x1f2352(0x3e3)][_0x1f2352(0x2ce)](_0x5cd937),this[_0x1f2352(0xc8)]();}[_0x473efc(0x404)](_0x76d0a7){const _0x2424ce=_0x473efc;return this[_0x2424ce(0x3e3)][_0x2424ce(0x3af)](_0x76d0a7);}[_0x473efc(0x141)](){const _0x3d8650=_0x473efc;return Array[_0x3d8650(0x2e1)](this[_0x3d8650(0x3e3)]['values']());}[_0x473efc(0xc8)](){const _0x5dc03c=_0x473efc;this[_0x5dc03c(0x366)][_0x5dc03c(0x2f5)](this[_0x5dc03c(0x3e3)]);}};function _0x4a55a2(_0x33db03,_0x1168f5){const _0x1286d5=_0x473efc;if(_0x5c41b8(_0x33db03))return _0x1168f5;if(_0x1168f5[_0x1286d5(0x1fb)]===_0x3d4600[_0x1286d5(0x350)][_0x1286d5(0x2da)]){let _0x4cd8d3=_0x52a406(_0x33db03),_0x56c5db=_0x1168f5;return{..._0x56c5db,'data':{..._0x56c5db[_0x1286d5(0x1ab)],'unitID':_0x33db03[_0x1286d5(0x36c)][_0x1286d5(0x298)],'unitType':_0x33db03[_0x1286d5(0x36c)]['unitType']??_0x56c5db[_0x1286d5(0x1ab)][_0x1286d5(0x19a)],'changeset':_0x4cd8d3[_0x1286d5(0x387)](_0x56c5db['data'][_0x1286d5(0x364)],_0xe17918(_0x33db03))}};}if(_0x1168f5[_0x1286d5(0x1fb)]===_0x3d4600['CollaborationEvent'][_0x1286d5(0x161)]){let _0x527ff7=_0x1168f5;return{..._0x527ff7,'data':{..._0x527ff7['data'],'unitID':_0x33db03[_0x1286d5(0x36c)]['unitId'],'unitType':_0x33db03['target'][_0x1286d5(0x19a)]??_0x527ff7['data']['unitType']}};}return _0x1168f5;}function _0x3d663f(_0xd9fa38,_0x424baf){const _0x2440a4=_0x473efc;if(_0x5c41b8(_0xd9fa38))return[_0x424baf];switch(_0x424baf[_0x2440a4(0x1fb)]){case _0x3d4600['CollaborationEvent']['NEW_CHANGESETS']:return[_0x50f351(_0xd9fa38,_0x424baf)];case _0x3d4600['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:return[_0x97c847(_0xd9fa38,_0x424baf)];case _0x3d4600[_0x2440a4(0x350)][_0x2440a4(0x289)]:return[_0x293146(_0xd9fa38,_0x424baf)];default:return[_0x424baf];}}function _0x5c41b8(_0x5df41b){const _0x2e7c4f=_0x473efc;return _0x5df41b[_0x2e7c4f(0x36c)][_0x2e7c4f(0x152)]==null&&_0x5df41b[_0x2e7c4f(0x36c)][_0x2e7c4f(0x298)]===_0x5df41b[_0x2e7c4f(0xe4)]&&!_0x5df41b[_0x2e7c4f(0x364)];}function _0x50f351(_0x31cddf,_0xc94f63){const _0x123ce5=_0x473efc;return{..._0xc94f63,'data':(0x0,_0x3d4600[_0x123ce5(0xeb)])(_0x5d5ad7(_0x31cddf,(0x0,_0x3d4600[_0x123ce5(0x388)])(_0xc94f63['data'])))};}function _0x293146(_0x3495ff,_0x37737f){const _0x192c39=_0x473efc;return{..._0x37737f,'data':_0x5d5ad7(_0x3495ff,_0x37737f[_0x192c39(0x1ab)])};}function _0x97c847(_0x3f9b90,_0x9f0e8a){const _0x16c92e=_0x473efc;let _0x13e908=_0x9f0e8a[_0x16c92e(0x1ab)];return{..._0x9f0e8a,'data':{..._0x13e908,'changesets':_0x13e908[_0x16c92e(0x122)][_0x16c92e(0xfb)](_0x36431a=>(0x0,_0x3d4600['parseChangesetToProtocol'])(_0x5d5ad7(_0x3f9b90,(0x0,_0x3d4600['parseProtocolChangeset'])(_0x36431a))))}};}function _0x5d5ad7(_0x3fc017,_0x1e8fd2){const _0x393e71=_0x473efc;return _0x52a406(_0x3fc017)[_0x393e71(0x37c)](_0x1e8fd2,_0xe17918(_0x3fc017));}function _0x52a406(_0x3296a7){const _0x5cefba=_0x473efc;if(!_0x3296a7[_0x5cefba(0x364)])throw Error(_0x5cefba(0x2cb));return _0x3296a7[_0x5cefba(0x364)];}function _0xe17918(_0x4e15a4){const _0x3cd0e4=_0x473efc;return{'localUnitId':_0x4e15a4[_0x3cd0e4(0xe4)],'unitType':_0x4e15a4['unitType'],'target':_0x4e15a4['target']};}let _0xcf341c=function(_0x1f79ec){const _0x147e18=_0x473efc;return _0x1f79ec[_0x1f79ec[_0x147e18(0x23d)]=0x0]=_0x147e18(0x23d),_0x1f79ec[_0x1f79ec['JOINING']=0x1]=_0x147e18(0x3b9),_0x1f79ec[_0x1f79ec[_0x147e18(0x1ca)]=0x2]=_0x147e18(0x1ca),_0x1f79ec[_0x1f79ec[_0x147e18(0x17d)]=0x3]=_0x147e18(0x17d),_0x1f79ec;}({}),_0x429f9b={[_0x3d2f85[_0x473efc(0x3e4)][_0x473efc(0x1fc)]]:_0x473efc(0x3ca),[_0x3d2f85[_0x473efc(0x3e4)]['JOIN_ROOM_FULL']]:'session.room-full',[_0x3d2f85[_0x473efc(0x3e4)][_0x473efc(0x3cd)]]:_0x473efc(0x1bb),[_0x3d2f85['CmdRspCode'][_0x473efc(0x382)]]:'session.room-permission-denied',[_0x3d2f85[_0x473efc(0x3e4)]['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x473efc(0x279)},_0x1fbd86=class extends _0x17ede7[_0x473efc(0x1a3)]{get[_0x473efc(0x36f)](){const _0x4ff898=_0x473efc;return this[_0x4ff898(0x20c)]['getValue']();}constructor(_0x4c9950,_0xef856,_0x3bb653,_0x3ca5e3,_0x7192db,_0x1e8dfa,_0x1bbcea,_0xba0bbe){const _0x4e3b20=_0x473efc;super(),this[_0x4e3b20(0x145)]=_0x4c9950,this[_0x4e3b20(0x309)]=_0x3bb653,this[_0x4e3b20(0x414)]=_0x3ca5e3,this[_0x4e3b20(0x2f3)]=_0x7192db,this[_0x4e3b20(0x318)]=_0x1e8dfa,this[_0x4e3b20(0x1fd)]=_0x1bbcea,this[_0x4e3b20(0x194)]=_0xba0bbe,_0x17f3d2(this,_0x4e3b20(0x20c),new _0x1f9457[(_0x4e3b20(0x3c1))](0x0)),_0x17f3d2(this,_0x4e3b20(0x1bd),this[_0x4e3b20(0x20c)][_0x4e3b20(0x1b5)]()),_0x17f3d2(this,_0x4e3b20(0xd3),new _0x1f9457[(_0x4e3b20(0x2d8))]()),_0x17f3d2(this,_0x4e3b20(0x2be),this[_0x4e3b20(0xd3)][_0x4e3b20(0x1b5)]()),_0x17f3d2(this,'_socket',void 0x0),_0x17f3d2(this,_0x4e3b20(0xf7),void 0x0),_0x17f3d2(this,_0x4e3b20(0x2ec),void 0x0),_0x17f3d2(this,'_shouldReportTelemetry',!0x1),_0x17f3d2(this,'_telemetryInfo',null),this[_0x4e3b20(0x3c4)]=!!this[_0x4e3b20(0x194)],_0xef856['pipe']((0x0,_0x1f9457[_0x4e3b20(0x28a)])(this['dispose$']))['subscribe'](_0x5b3937=>{const _0x2aa202=_0x4e3b20;if(_0x5b3937!==void 0x0){if(this[_0x2aa202(0x16d)]=_0x5b3937,_0x5b3937)this[_0x2aa202(0xcb)](_0x5b3937),this['_socketMessageSubscription']=_0x5b3937[_0x2aa202(0x38f)][_0x2aa202(0x3bf)](_0xf4f348=>{const _0x55f2af=_0x2aa202;_0xf4f348['routeKey']===this['_identity'][_0x55f2af(0x36c)]['unitId']&&this['_onCombEvent'](_0xf4f348);});else{var _0x228fbd;this[_0x2aa202(0xc4)](),this[_0x2aa202(0x20c)][_0x2aa202(0x2f5)](0x2),(_0x228fbd=this['_socketMessageSubscription'])==null||_0x228fbd[_0x2aa202(0x278)](),this['_socketMessageSubscription']=null;}}});}[_0x473efc(0x3be)](){const _0x5c61c0=_0x473efc;var _0x4961d0;return((_0x4961d0=this[_0x5c61c0(0x16d)])==null?void 0x0:_0x4961d0['memberID'])??null;}['dispose'](){const _0x21c4b5=_0x473efc;super[_0x21c4b5(0x335)](),this[_0x21c4b5(0x11f)](),this[_0x21c4b5(0x2cf)]['next'](),this[_0x21c4b5(0x2cf)][_0x21c4b5(0x403)]();}['close'](){const _0x5ebfc1=_0x473efc;var _0x53c226;this[_0x5ebfc1(0xc4)](),(_0x53c226=this[_0x5ebfc1(0x16d)])==null||_0x53c226[_0x5ebfc1(0x10c)]({'cmd':_0x3d2f85[_0x5ebfc1(0x1c9)][_0x5ebfc1(0x3b7)],'data':{'roomID':this[_0x5ebfc1(0x145)]['target'][_0x5ebfc1(0x298)]}}),this[_0x5ebfc1(0xd3)][_0x5ebfc1(0x403)](),this[_0x5ebfc1(0x20c)][_0x5ebfc1(0x403)]();}[_0x473efc(0x3ce)](_0x579969){const _0x1231b6=_0x473efc;_0x579969[_0x1231b6(0x258)]===_0x3d2f85[_0x1231b6(0x1c9)][_0x1231b6(0x102)]?this[_0x1231b6(0x3a3)](_0x579969):_0x579969[_0x1231b6(0x258)]===_0x3d2f85[_0x1231b6(0x1c9)][_0x1231b6(0x111)]&&this[_0x1231b6(0x13d)](_0x579969);}[_0x473efc(0xcb)](_0x514699){const _0x185587=_0x473efc;this['_sessionStatus$'][_0x185587(0x2f5)](0x1),_0x514699['send']({'cmd':_0x3d2f85[_0x185587(0x1c9)][_0x185587(0x102)],'routeKey':this[_0x185587(0x145)][_0x185587(0x36c)][_0x185587(0x298)],'routeType':'','data':{'rooms':[{'roomID':this['_identity'][_0x185587(0x36c)][_0x185587(0x298)]}]}});}[_0x473efc(0x3a3)](_0x56b192){const _0x1e4c21=_0x473efc;var _0x42a3c2;if(_0x56b192[_0x1e4c21(0x3e1)]in _0x429f9b){this[_0x1e4c21(0x1fd)][_0x1e4c21(0x3b3)]({'id':_0x1e4c21(0x375),'data':_0x429f9b[_0x56b192['code']]}),this[_0x1e4c21(0x20c)][_0x1e4c21(0x2f5)](0x2);return;}this['_sessionStatus$'][_0x1e4c21(0x2f5)](0x3);let _0x1d52b1=(_0x42a3c2=_0x56b192[_0x1e4c21(0x1ab)][_0x1e4c21(0x2e9)][this['_identity'][_0x1e4c21(0x36c)][_0x1e4c21(0x298)]])==null?void 0x0:_0x42a3c2[_0x1e4c21(0x12a)];_0x1d52b1&&_0x1d52b1[_0x1e4c21(0x343)](_0x61cf7d=>this[_0x1e4c21(0x2f3)]['updateMember'](this['_identity'][_0x1e4c21(0xe4)],_0x61cf7d));}['_onRecvEvent'](_0x5a3cd5){const _0x262391=_0x473efc;try{let _0x2e689b=_0x3d663f(this['_identity'],_0x5a3cd5['data']);for(let _0x41bf40 of _0x2e689b)switch(_0x41bf40['eventID']){case _0x3d4600[_0x262391(0x350)][_0x262391(0x1ef)]:this[_0x262391(0x13a)](_0x41bf40),this[_0x262391(0xd3)][_0x262391(0x2f5)](_0x41bf40);break;case _0x3d4600[_0x262391(0x350)][_0x262391(0x3a9)]:this[_0x262391(0xc6)](_0x41bf40),this['_event$'][_0x262391(0x2f5)](_0x41bf40);break;case _0x3d4600[_0x262391(0x350)][_0x262391(0x183)]:case _0x3d4600[_0x262391(0x350)][_0x262391(0x289)]:this[_0x262391(0x324)](),this[_0x262391(0x35f)](),this[_0x262391(0xd3)][_0x262391(0x2f5)](_0x41bf40);break;case _0x3d4600['CollaborationEvent']['MSG_FOR_ERROR']:this['_logService']['error'](_0x262391(0x2c4)+JSON[_0x262391(0x317)](_0x41bf40)),this['_event$']['next'](_0x41bf40);break;case _0x3d4600[_0x262391(0x350)][_0x262391(0x214)]:this[_0x262391(0x318)][_0x262391(0x3ec)](_0x41bf40[_0x262391(0x1ab)]),this[_0x262391(0xd3)]['next'](_0x41bf40);break;default:this['_event$'][_0x262391(0x2f5)](_0x41bf40);}}catch(_0x1d2b80){this[_0x262391(0x309)][_0x262391(0x3e6)](_0x1d2b80,_0x5a3cd5);}}[_0x473efc(0x13a)](_0x3d100f){const _0x10988a=_0x473efc;this[_0x10988a(0x2f3)]['updateMember'](this[_0x10988a(0x145)][_0x10988a(0xe4)],_0x3d100f[_0x10988a(0x1ab)]);}['_onUserLeave'](_0x1a2f9b){const _0x31a511=_0x473efc;this['_memberService'][_0x31a511(0x13e)](this[_0x31a511(0x145)][_0x31a511(0xe4)],_0x1a2f9b['data'][_0x31a511(0x2e0)]);}async['send'](_0x3434e4,_0x1713e7){const _0xf3071a=_0x473efc;if(this[_0xf3071a(0x36f)]!==0x3||!this[_0xf3071a(0x16d)])throw Error(_0xf3071a(0x255));try{let _0x4dc018=_0x4a55a2(this['_identity'],_0x3434e4);_0x4dc018['eventID']===_0x3d4600[_0xf3071a(0x350)][_0xf3071a(0x2da)]&&(this[_0xf3071a(0x114)](),this[_0xf3071a(0xdb)](_0x4dc018)),this[_0xf3071a(0x16d)]['send']({'cmd':_0x3d2f85[_0xf3071a(0x1c9)][_0xf3071a(0xfa)],'routeKey':this[_0xf3071a(0x145)][_0xf3071a(0x36c)][_0xf3071a(0x298)],'routeType':'','data':_0x4dc018});}catch(_0x2d1afa){this['_logService'][_0xf3071a(0x3e6)](_0x2d1afa);}}[_0x473efc(0x114)](){const _0x5275df=_0x473efc;this[_0x5275df(0x2ec)]=setTimeout(()=>{const _0x337b71=_0x5275df;this[_0x337b71(0x2ec)]=null,this[_0x337b71(0x1fd)]['emitEvent']({'id':_0x337b71(0x288)});},this[_0x5275df(0x414)]['getConfig'](_0x5275df(0x2dc))??0x4e20);}[_0x473efc(0x35f)](){const _0x3cc8ad=_0x473efc;this[_0x3cc8ad(0x2ec)]&&=(clearTimeout(this[_0x3cc8ad(0x2ec)]),null);}[_0x473efc(0xdb)](_0x4d5008){const _0x154946=_0x473efc;if(!this[_0x154946(0x3c4)])return;let {data:_0x176d47}=_0x4d5008,{unitID:_0x4a9cf1,changeset:_0x5139de}=_0x176d47,{mutations:_0x5b665c,type:_0x48d6be}=_0x5139de;this[_0x154946(0x1ee)]={'unitId':_0x4a9cf1,'type':_0x48d6be,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x143912(_0x5b665c)};}[_0x473efc(0x324)](){const _0x2b6c3e=_0x473efc;if(this[_0x2b6c3e(0x3c4)]){if(!this[_0x2b6c3e(0x1ee)]){this[_0x2b6c3e(0x309)][_0x2b6c3e(0x3e6)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2b6c3e(0x1ee)]['stopTime']=performance['now'](),this[_0x2b6c3e(0x1ee)][_0x2b6c3e(0x40b)]=this[_0x2b6c3e(0x1ee)][_0x2b6c3e(0x153)]-this[_0x2b6c3e(0x1ee)][_0x2b6c3e(0x118)],this['_telemetryService'][_0x2b6c3e(0x2a5)]('collaboration_new_changeset',this[_0x2b6c3e(0x1ee)]),this[_0x2b6c3e(0x1ee)]=null;}}[_0x473efc(0xc4)](){const _0x3791e9=_0x473efc;this[_0x3791e9(0x1ee)]=null;}};_0x1fbd86=_0x4da91b([_0x9a3e23(0x2,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0x3,_0x17ede7[_0x473efc(0x201)]),_0x9a3e23(0x4,(0x0,_0x17ede7['Inject'])(_0x34dd44)),_0x9a3e23(0x5,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x113b06)),_0x9a3e23(0x6,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x2d7dce)),_0x9a3e23(0x7,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x327e6c[_0x473efc(0x37b)]))],_0x1fbd86);let _0x4386bd=(0x0,_0x17ede7[_0x473efc(0x1cb)])(_0x473efc(0x37d));function _0x5f3492(_0x40d874){const _0x34f031=_0x473efc;return _0x34f031(0x124)+_0x40d874;}function _0x52a47b(_0x44b85e){const _0x56f1e8=_0x473efc;let {unitID:_0x4b36a7,mutations:_0x22092a}=_0x44b85e;return{'unitId':_0x4b36a7,'subUnitId':_0x22092a['length']>0x0?_0x22092a[0x0]['params'][_0x56f1e8(0x20f)]:null};}let _0x62027=class{constructor(_0x13b511,_0x5bde39,_0x350517){const _0x4375bd=_0x473efc;this['_injector']=_0x13b511,this[_0x4375bd(0x11c)]=_0x5bde39,this[_0x4375bd(0x2cc)]=_0x350517;}[_0x473efc(0x19c)](_0x5500bc){const _0x737c07=_0x473efc;var _0x5e1cd1,_0xc62632;let _0x4c1f56=this[_0x737c07(0x28c)][_0x737c07(0x3af)](_0x43c3be[_0x737c07(0x160)]),{unitId:_0x57f83c,subUnitId:_0x11ad27}=_0x52a47b(_0x5500bc),_0x1392e3=_0x4c1f56==null?void 0x0:_0x4c1f56['getWorkbookSelections'](_0x57f83c)[_0x737c07(0x1ad)](),_0x212bac=(_0x5e1cd1=this[_0x737c07(0x2cc)][_0x737c07(0x1a9)](_0x57f83c))==null||(_0x5e1cd1=_0x5e1cd1[_0x737c07(0x329)]())==null?void 0x0:_0x5e1cd1[_0x737c07(0x2d3)]();if(_0x1392e3[_0x737c07(0x2b6)]===0x0||!_0x57f83c||!_0x11ad27)return;let _0x57b17f=[{'id':_0x43c3be[_0x737c07(0x37a)]['id'],'params':{'unitId':_0x57f83c,'subUnitId':_0x212bac,'selections':_0x17ede7[_0x737c07(0x1ea)]['deepClone'](_0x1392e3)}}],_0x252555=this[_0x737c07(0x11c)][_0x737c07(0x12f)](_0x5500bc,_0x57b17f);if(!(0x0,_0x3d4600[_0x737c07(0x2ba)])(_0x252555))throw _0x252555[_0x737c07(0x3e6)];let _0x101531=(_0xc62632=_0x252555[_0x737c07(0x377)][0x0])==null||(_0xc62632=_0xc62632[_0x737c07(0x1de)])==null?void 0x0:_0xc62632[_0x737c07(0x378)];if(Array[_0x737c07(0x2fd)](_0x101531)&&_0x101531['length']){if(_0x101531['length']===_0x57b17f[0x0][_0x737c07(0x1de)][_0x737c07(0x378)]['length']&&_0x101531['every']((_0x151bbb,_0x5349a7)=>_0x17ede7[_0x737c07(0x27b)][_0x737c07(0x416)](_0x151bbb[_0x737c07(0x323)],_0x57b17f[0x0][_0x737c07(0x1de)][_0x737c07(0x378)][_0x5349a7][_0x737c07(0x323)])))return;this[_0x737c07(0x28c)]['get'](_0x17ede7[_0x737c07(0x31c)])['executeCommand'](_0x43c3be[_0x737c07(0x37a)]['id'],{'unitId':_0x57f83c,'subUnitId':_0x212bac,'selections':_0x101531});}}};_0x62027=_0x4da91b([_0x9a3e23(0x0,(0x0,_0x17ede7['Inject'])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x1,_0x3d4600['ITransformService']),_0x9a3e23(0x2,_0x17ede7['IUniverInstanceService'])],_0x62027);let _0x549ce8=(0x0,_0x17ede7[_0x473efc(0x1cb)])('univer-pro.collaboration-client.single-active-unit-service'),_0x3f32fb=function(_0x3164ee){const _0x1ae73f=_0x473efc;return _0x3164ee[_0x3164ee[_0x1ae73f(0x30f)]=0x0]=_0x1ae73f(0x30f),_0x3164ee[_0x3164ee[_0x1ae73f(0x21f)]=0x1]=_0x1ae73f(0x21f),_0x3164ee;}({});function _0x28abbf(_0x304fe1){const _0x1ac3d7=_0x473efc;var _0x28c168;return!!((_0x28c168=_0x304fe1[_0x1ac3d7(0x1de)])!=null&&_0x28c168['__splitChunk__']);}let _0x483519=new Set([_0x43c3be[_0x473efc(0xe2)]['id']]),_0x33aa6e=new Set([_0x3160c0['AddSlidePageMutation']['id'],_0x3160c0[_0x473efc(0x363)]['id'],_0x3160c0[_0x473efc(0x418)]['id'],_0x3160c0[_0x473efc(0x3db)]['id']]);function _0x5a4f86(_0x3e8d37,_0x4d0b1c=_0x483519){const _0x4102f0=_0x473efc;let _0x332986=[];for(let _0x3caa6f of _0x3e8d37){if(_0x4d0b1c[_0x4102f0(0x406)](_0x3caa6f['id'])){if(_0x332986['length']>0x0)break;_0x332986[_0x4102f0(0x283)](_0x3caa6f);break;}if(_0x28abbf(_0x3caa6f)){if(_0x332986['length']>0x0)break;_0x332986['push'](_0x3caa6f);break;}_0x332986['push'](_0x3caa6f);}return _0x332986;}function _0x57ca29(_0x587a02,_0x1db3f4,_0x493405,_0x25fa95,_0xd591db){const _0x16d84b=_0x473efc;let _0x3a73d5=_0x5a4f86(_0x587a02),_0x280879=_0xd591db['getCurrentUser'](),_0x49b0ac=(_0x280879==null?void 0x0:_0x280879[_0x16d84b(0x36b)])??'unknown',_0x3af4be=(_0x280879==null?void 0x0:_0x280879[_0x16d84b(0x2e0)])??_0x16d84b(0x3a5);return{'changeset':{'unitID':_0x1db3f4,'type':(0x0,_0x3d4600[_0x16d84b(0x2c1)])(_0x493405[_0x16d84b(0x291)](_0x1db3f4)),'baseRev':_0x25fa95[_0x16d84b(0x1aa)](_0x1db3f4),'revision':0x0,'userID':_0x49b0ac,'memberID':_0x3af4be,'mutations':_0x3a73d5},'pendingMutations':_0x587a02[_0x16d84b(0xd2)](_0x3a73d5[_0x16d84b(0x2b6)])};}let _0x138757=_0x57ca29;function _0x17cfb5(_0x209f1c,_0xe8497a,_0x18ebec,_0x10b1da,_0x337663){const _0x29b19a=_0x473efc;let _0x565c41=_0x5a4f86(_0x209f1c,_0x33aa6e),_0x475797=_0x337663[_0x29b19a(0x224)](),_0x1e3187=(_0x475797==null?void 0x0:_0x475797[_0x29b19a(0x36b)])??_0x29b19a(0x3a5),_0x598e58=(_0x475797==null?void 0x0:_0x475797['memberID'])??'unknown';return{'changeset':{'unitID':_0xe8497a,'type':(0x0,_0x3d4600[_0x29b19a(0x2c1)])(_0x18ebec[_0x29b19a(0x291)](_0xe8497a)),'baseRev':_0x10b1da[_0x29b19a(0x1aa)](_0xe8497a),'revision':0x0,'userID':_0x1e3187,'memberID':_0x598e58,'mutations':_0x565c41},'pendingMutations':_0x209f1c[_0x29b19a(0xd2)](_0x565c41[_0x29b19a(0x2b6)])};}function _0x33b986(_0x278328,_0x4547a2,_0x14c05e,_0x20f36c,_0xaefed2){const _0x26380d=_0x473efc;let _0x394566=_0x278328[_0x26380d(0x3dc)]((_0x20c962,_0x4bb75b)=>{const _0x2bbed7=_0x26380d;let _0x4515ef=_0x20c962[_0x20c962['length']-0x1],{id:_0x1f3ea8}=_0x4515ef??{},{id:_0x976803,type:_0x5ed209}=_0x4bb75b,_0x287ad6=_0x4bb75b[_0x2bbed7(0x1de)];if(_0x1f3ea8&&_0x1f3ea8!==_0x976803)throw Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1f3ea8+_0x2bbed7(0x246)+_0x976803+'.');if(!_0x4515ef)return[{'id':_0x976803,'type':_0x5ed209,'params':{'unitId':_0x287ad6[_0x2bbed7(0x298)],'textRanges':_0x287ad6['textRanges'],'actions':_0x287ad6['actions']}}];let _0x47fe4f=_0x4515ef[_0x2bbed7(0x1de)];return _0x200591(_0x47fe4f,_0x287ad6)?[..._0x20c962['slice'](0x0,-0x1),{..._0x4515ef,'id':_0x976803,'type':_0x5ed209,'params':{'unitId':_0x287ad6['unitId'],'textRanges':_0x287ad6[_0x2bbed7(0x2d9)],'actions':_0x17ede7['JSONX'][_0x2bbed7(0x240)](_0x47fe4f['actions'],_0x287ad6[_0x2bbed7(0x1a8)])}}]:[..._0x20c962,{'id':_0x976803,'type':_0x5ed209,'params':{'unitId':_0x287ad6[_0x2bbed7(0x298)],'textRanges':_0x287ad6['textRanges'],'actions':_0x287ad6[_0x2bbed7(0x1a8)]}}];},[]),_0x34f58b=_0xaefed2['getCurrentUser'](),_0x58dc4f=(_0x34f58b==null?void 0x0:_0x34f58b[_0x26380d(0x36b)])??_0x26380d(0x3a5),_0x12c2af=(_0x34f58b==null?void 0x0:_0x34f58b['memberID'])??_0x26380d(0x3a5);return{'changeset':{'unitID':_0x4547a2,'type':(0x0,_0x3d4600['mapDocumentTypeToUniverInstanceType'])(_0x14c05e[_0x26380d(0x291)](_0x4547a2)),'baseRev':_0x20f36c['getCurrentRevOfUnit'](_0x4547a2),'revision':0x0,'userID':_0x58dc4f,'memberID':_0x12c2af,'mutations':_0x394566},'pendingMutations':_0x278328[_0x26380d(0xd2)](_0x278328[_0x26380d(0x2b6)])};}function _0x200591(_0x1ceb40,_0x382d85){const _0x3adda3=_0x473efc;return!_0x610fa6(_0x1ceb40)&&!_0x610fa6(_0x382d85)&&_0x7142a2(_0x1ceb40[_0x3adda3(0x1a8)],_0x382d85[_0x3adda3(0x1a8)]);}function _0x610fa6(_0x2e84eb){const _0x3a91ee=_0x473efc;return _0x2e84eb[_0x3a91ee(0x1c5)]!==void 0x0;}function _0x7142a2(_0x1b9e2c,_0x2e256f){return _0x28e450(_0x1b9e2c)&&_0x28e450(_0x2e256f)&&!_0x432363(_0x1b9e2c)&&!_0x432363(_0x2e256f)&&!_0x9803f0(_0x1b9e2c)&&!_0x9803f0(_0x2e256f);}function _0x28e450(_0x574f66){const _0x4e3ba2=_0x473efc;return _0x28a1eb(_0x574f66)[_0x4e3ba2(0x26a)](_0x2a2db0=>_0x2c025f(_0x2a2db0)&&_0x2a2db0['et']===_0x4e3ba2(0x408));}function _0x9803f0(_0x8301d7){const _0x39aed7=_0x473efc;return _0x28a1eb(_0x8301d7)['some'](_0x29893d=>Array[_0x39aed7(0x2fd)](_0x29893d)||typeof _0x29893d==_0x39aed7(0x2fb)||typeof _0x29893d==_0x39aed7(0x3cb));}function _0x432363(_0x5f3c94){const _0x5ea247=_0x473efc;return _0x28a1eb(_0x5f3c94)[_0x5ea247(0x26a)](_0xb370ce=>!_0x2c025f(_0xb370ce)||_0xb370ce['et']!=='text-x'||!Array[_0x5ea247(0x2fd)](_0xb370ce['e'])?!0x1:_0xb370ce['e'][_0x5ea247(0x26a)](_0x3ffcaa=>!_0x2c025f(_0x3ffcaa)||!_0x2c025f(_0x3ffcaa[_0x5ea247(0xc9)])?!0x1:Object['prototype'][_0x5ea247(0x392)]['call'](_0x3ffcaa[_0x5ea247(0xc9)],'tables')||Object[_0x5ea247(0x2ab)][_0x5ea247(0x392)][_0x5ea247(0x107)](_0x3ffcaa[_0x5ea247(0xc9)],_0x5ea247(0x369))||Object['prototype'][_0x5ea247(0x392)][_0x5ea247(0x107)](_0x3ffcaa['body'],_0x5ea247(0x40e))));}function _0x28a1eb(_0x12a0de){const _0x3187d8=_0x473efc;if(!Array[_0x3187d8(0x2fd)](_0x12a0de))return[];let _0x30e535=_0x12a0de['includes']('body')?_0x12a0de:_0x12a0de['find'](_0x3a3fdd=>Array[_0x3187d8(0x2fd)](_0x3a3fdd)&&_0x3a3fdd[_0x3187d8(0x218)](_0x3187d8(0xc9)));if(!Array[_0x3187d8(0x2fd)](_0x30e535))return[];let _0x1633db=_0x30e535[_0x3187d8(0x2b8)](_0x3187d8(0xc9));return _0x1633db===-0x1?[]:_0x30e535[_0x3187d8(0xd2)](_0x1633db+0x1);}function _0x2c025f(_0x50fb2e){return typeof _0x50fb2e=='object'&&!!_0x50fb2e&&!Array['isArray'](_0x50fb2e);}function _0x2a77ac(_0x51dc52,_0x48da1b){const _0x176d8b=_0x473efc;let _0x5430db=new _0x1f9457[(_0x176d8b(0x18e))](0x1);return setTimeout(()=>_0x5430db[_0x176d8b(0x2f5)](_0x48da1b),_0x51dc52),_0x5430db[_0x176d8b(0x1b5)]()[_0x176d8b(0x2bf)]((0x0,_0x1f9457[_0x176d8b(0x207)])(0x1));}var _0x33d01f,_0x322b5f,_0x179f55;let _0x555db4=function(_0x46a58b){const _0x304f10=_0x473efc;return _0x46a58b[_0x304f10(0x3c3)]=_0x304f10(0x31e),_0x46a58b[_0x304f10(0x1f1)]=_0x304f10(0x303),_0x46a58b[_0x304f10(0x259)]='pending',_0x46a58b[_0x304f10(0x1f6)]='awaiting',_0x46a58b['AWAITING_WITH_PENDING']=_0x304f10(0x1b2),_0x46a58b[_0x304f10(0xe1)]=_0x304f10(0x1f0),_0x46a58b[_0x304f10(0x2fe)]=_0x304f10(0x187),_0x46a58b[_0x304f10(0x1ca)]=_0x304f10(0x29c),_0x46a58b;}({}),_0xe821d0=0x4e20,_0x3c8c0d=0x2bf20;var _0x23a139=class{constructor(_0x289599,_0x1eb78c,_0xa02497,_0x220b37,_0x4351f3,_0x4492df,_0x140b2d,_0x56df5e,_0x2a944a){const _0x33a081=_0x473efc;this[_0x33a081(0xec)]=_0x289599,this['type']=_0x1eb78c,this[_0x33a081(0x186)]=_0x4351f3,this[_0x33a081(0x39f)]=_0x4492df,this[_0x33a081(0x26c)]=_0x140b2d,this[_0x33a081(0x1e3)]=_0x56df5e,this[_0x33a081(0x3d0)]=_0x2a944a,_0x17f3d2(this,_0x33a081(0x3dd),null),_0x17f3d2(this,_0x33a081(0x2c2),[]),this[_0x33a081(0x3dd)]=_0xa02497,this[_0x33a081(0x2c2)]=_0x220b37;}[_0x473efc(0x236)](_0x1b3c13){const _0x3a9586=_0x473efc;let _0x145252=this[_0x3a9586(0x1e3)][_0x3a9586(0x1aa)](this[_0x3a9586(0xec)]);return _0x1b3c13[_0x3a9586(0x1e7)]>_0x145252+0x1?(this['_handler'][_0x3a9586(0x2c0)]({'from':_0x145252,'to':_0x1b3c13[_0x3a9586(0x1e7)]-0x1}),!0x0):!0x1;}[_0x473efc(0x1cc)](_0x10298f){const _0x19ba09=_0x473efc;this[_0x19ba09(0x26c)][_0x19ba09(0x3bd)](this['unitID'],_0x10298f);}[_0x473efc(0x37e)](_0x4ff857){const _0x51a75a=_0x473efc;var _0x158da6,_0x4d781a;(_0x158da6=(_0x4d781a=this['_handler'])[_0x51a75a(0x157)])==null||_0x158da6['call'](_0x4d781a,_0x4ff857);}['_transformIMECache'](_0x4011c6){const _0x426f00=_0x473efc;var _0x49bb47,_0x31a0d1;return(_0x49bb47=(_0x31a0d1=this['_handler'])[_0x426f00(0xde)])==null?void 0x0:_0x49bb47['call'](_0x31a0d1,_0x4011c6);}[_0x473efc(0x3bb)](_0x102489){const _0x37485e=_0x473efc;var _0x46cb3d,_0x192005;return(_0x46cb3d=(_0x192005=this[_0x37485e(0x186)])[_0x37485e(0x27c)])==null?void 0x0:_0x46cb3d[_0x37485e(0x107)](_0x192005,_0x102489);}['_transformRemoteChangesetByIMECache'](_0x80908d){const _0x2c3d78=_0x473efc;var _0x4236c8,_0x521a35;return((_0x4236c8=(_0x521a35=this[_0x2c3d78(0x186)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4236c8['call'](_0x521a35,_0x80908d))??_0x80908d;}[_0x473efc(0x178)](_0x20d58d){const _0x5d5ef7=_0x473efc;var _0x18d126,_0x571806;return((_0x18d126=(_0x571806=this[_0x5d5ef7(0x186)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x18d126['call'](_0x571806,_0x20d58d))??_0x20d58d;}['_syncEditingCollabCursor'](_0x29a917){const _0x3e286f=_0x473efc;if(this[_0x3e286f(0x3d5)]===_0x17ede7['UniverInstanceType'][_0x3e286f(0x399)]){let {unitID:_0x43633d,mutations:_0x369944,memberID:_0xfc0598}=_0x29a917,_0x266ede=_0x369944['length']>0x0?_0x369944[0x0][_0x3e286f(0x1de)]['textRanges']:[];if(Array[_0x3e286f(0x2fd)](_0x266ede)&&_0x266ede[_0x3e286f(0x2b6)]>0x0){var _0x22c34c,_0x596dc7;(_0x22c34c=(_0x596dc7=this[_0x3e286f(0x186)])[_0x3e286f(0x270)])==null||_0x22c34c[_0x3e286f(0x107)](_0x596dc7,{'unitID':_0x43633d,'memberID':_0xfc0598,'textRanges':_0x266ede});}}}[_0x473efc(0x272)](){const _0x10571b=_0x473efc;var _0x23651b;(_0x23651b=this[_0x10571b(0x3d0)])==null||_0x23651b[_0x10571b(0x409)](this[_0x10571b(0xec)],this['type'],this[_0x10571b(0x3dd)],this[_0x10571b(0x2c2)]);}[_0x473efc(0x2a8)](){const _0x226456=_0x473efc;return this[_0x226456(0x1e3)][_0x226456(0x1aa)](this[_0x226456(0xec)]);}[_0x473efc(0x355)](){const _0x13a615=_0x473efc;this[_0x13a615(0x1e3)]['incrementRevOfUnit'](this[_0x13a615(0xec)]);}['_executeRemoteChangeset'](_0x5797b5){const _0x33da0a=_0x473efc;let _0x27ea94=this['_transformRemoteChangesetByIMECache'](_0x5797b5);_0x27ea94=this['_transformRemoteChangesetByStateCache'](_0x27ea94);let _0xd9fbe7=(0x0,_0x17ede7[_0x33da0a(0x17f)])(_0x27ea94['mutations'],this[_0x33da0a(0x39f)],{'fromCollab':!0x0});if(!_0xd9fbe7[_0x33da0a(0x22d)])throw _0xd9fbe7[_0x33da0a(0x3e6)]instanceof Error?_0xd9fbe7[_0x33da0a(0x3e6)]:Error(_0xd9fbe7[_0x33da0a(0x3e6)]??'[CollaborationState]:\x20apply\x20error!');this[_0x33da0a(0x16a)](_0x27ea94),this['_transformStateCache'](_0x27ea94),this['_transformUndoredo'](_0x5797b5),this['_transformSelections'](_0x27ea94),this['_syncEditingCollabCursor'](_0x27ea94),this['_incrementRevisionNumber']();}};let _0x4e41d6=class extends _0x23a139{constructor(_0x8fbe91,_0x4c3217,_0x47074e,_0x55108d,_0x23797e,_0x4b537a,_0x1c69bf,_0x4dcbb9,_0x256bca,_0x18d96f){const _0x51e303=_0x473efc;super(_0x8fbe91,_0x4c3217,null,[],_0x47074e,_0x1c69bf,_0x4b537a,_0x55108d,_0x18d96f),this[_0x51e303(0x28c)]=_0x23797e,this[_0x51e303(0x309)]=_0x4dcbb9,this[_0x51e303(0x11c)]=_0x256bca,this[_0x51e303(0x14c)]=_0x18d96f,_0x17f3d2(this,'status',_0x51e303(0x303));}[_0x473efc(0xdd)](_0x12ab71){const _0x5c6838=_0x473efc;let _0xbc031c=this['_injector']['createInstance'](_0xe416b5,this[_0x5c6838(0xec)],this[_0x5c6838(0x3d5)],[_0x12ab71],this['_handler']);return _0xbc031c['_schedule'](),_0xbc031c[_0x5c6838(0x272)](),_0xbc031c;}['onRemoteChangeset'](_0x3ecb57){const _0x283fd2=_0x473efc;if(this['_checkMissing'](_0x3ecb57))return this['_injector']['createInstance'](_0x1c5382,this[_0x283fd2(0xec)],this[_0x283fd2(0x3d5)],null,[],null,[_0x3ecb57],this[_0x283fd2(0x186)]);try{let _0x5c5f79=this[_0x283fd2(0x11c)][_0x283fd2(0x12f)](_0x3ecb57,[_0x3d4600['EmptyMutationInfo']]);if((0x0,_0x3d4600['isTransformMutationsWithChangesetSuccess'])(_0x5c5f79)){let {c1Prime:_0x470a38}=_0x5c5f79;return this['_executeRemoteChangeset'](_0x470a38),this;}throw _0x5c5f79['error'];}catch(_0x1689ea){return this['_logService'][_0x283fd2(0x3e6)](_0x1689ea),this[_0x283fd2(0x3a0)](!0x1);}}[_0x473efc(0x3a0)](_0x41694d){const _0xab9584=_0x473efc;return this[_0xab9584(0x28c)][_0xab9584(0x172)](_0x3b4b0d,this['unitID'],this['type'],null,[],this[_0xab9584(0x186)],_0x41694d);}[_0x473efc(0x147)](_0x51f9d6){const _0x4d2875=_0x473efc;if(_0x51f9d6[_0x4d2875(0x1e7)]<=this['_getCurrentRevision']())return this;throw Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x473efc(0x3b8)](){const _0x1526d6=_0x473efc;throw Error(_0x1526d6(0x121));}[_0x473efc(0x32a)](){return this;}[_0x473efc(0x2d1)](){const _0x5d051c=_0x473efc;return this[_0x5d051c(0x28c)]['createInstance'](_0x25311e,this['unitID'],this[_0x5d051c(0x3d5)],null,[],this[_0x5d051c(0x186)]);}['toggleOnline'](){return this;}[_0x473efc(0x16c)](){throw Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x473efc(0xc1)](){const _0x7dea10=_0x473efc;let _0x3df072=this[_0x7dea10(0x1e3)]['getCurrentRevOfUnit'](this[_0x7dea10(0xec)]);return this[_0x7dea10(0x186)][_0x7dea10(0x2c0)]({'from':_0x3df072,'to':0x0}),this[_0x7dea10(0x28c)][_0x7dea10(0x172)](_0x1c5382,this[_0x7dea10(0xec)],this[_0x7dea10(0x3d5)],null,[],null,[],this[_0x7dea10(0x186)]);}};_0x4e41d6=_0x4da91b([_0x9a3e23(0x3,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0xed)])),_0x9a3e23(0x4,(0x0,_0x17ede7['Inject'])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x5,_0x17ede7[_0x473efc(0x158)]),_0x9a3e23(0x6,_0x17ede7['ICommandService']),_0x9a3e23(0x7,_0x17ede7['ILogService']),_0x9a3e23(0x8,_0x3d4600[_0x473efc(0x182)]),_0x9a3e23(0x9,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x4e41d6);let _0xe416b5=_0x33d01f=class extends _0x23a139{constructor(_0x49111f,_0x1a7d47,_0x3c9f19,_0x4dd806,_0x212cea,_0x5541c9,_0x2fa426,_0x446128,_0x81dd0a,_0x22b0b1,_0x16a679,_0x4ebff1,_0x27400a,_0x408e31){const _0x4f70fb=_0x473efc;super(_0x49111f,_0x1a7d47,null,_0x3c9f19,_0x4dd806,_0x81dd0a,_0x27400a,_0x5541c9,_0x408e31),this[_0x4f70fb(0x28c)]=_0x212cea,this[_0x4f70fb(0x2b9)]=_0x2fa426,this[_0x4f70fb(0x309)]=_0x446128,this[_0x4f70fb(0x414)]=_0x22b0b1,this['_transformService']=_0x16a679,this[_0x4f70fb(0x171)]=_0x4ebff1,_0x17f3d2(this,_0x4f70fb(0x273),'pending'),_0x17f3d2(this,_0x4f70fb(0x100),null),_0x17f3d2(this,_0x4f70fb(0x1d8),null);}[_0x473efc(0xdd)](_0x3fb83d){const _0x4a5a3d=_0x473efc;return this[_0x4a5a3d(0x2c2)][_0x4a5a3d(0x283)](_0x3fb83d),this[_0x4a5a3d(0x272)](),this;}['onRemoteChangeset'](_0xb6aa56){const _0x39277e=_0x473efc;if(this[_0x39277e(0x236)](_0xb6aa56))return this[_0x39277e(0x389)](),this[_0x39277e(0x28c)][_0x39277e(0x172)](_0x1c5382,this[_0x39277e(0xec)],this[_0x39277e(0x3d5)],null,this[_0x39277e(0x2c2)],null,[_0xb6aa56],this[_0x39277e(0x186)]);try{let _0x23c803=this[_0x39277e(0x11c)][_0x39277e(0x12f)](_0xb6aa56,this[_0x39277e(0x2c2)]);if((0x0,_0x3d4600['isTransformMutationsWithChangesetSuccess'])(_0x23c803)){let {c1Prime:_0x48f35b,m2Prime:_0x1d1b9a}=_0x23c803;this[_0x39277e(0xfe)](_0x48f35b);let _0x482a10=this[_0x39277e(0x28c)][_0x39277e(0x172)](_0x33d01f,this[_0x39277e(0xec)],this[_0x39277e(0x3d5)],_0x1d1b9a,this[_0x39277e(0x186)]);this[_0x39277e(0x389)]();let _0x4fadb3=new Date()[_0x39277e(0x29a)](),_0x56a6d7=this[_0x39277e(0x100)]?Math[_0x39277e(0x28e)](this[_0x39277e(0x100)]-_0x4fadb3,0x0):this[_0x39277e(0xd7)]();return _0x482a10[_0x39277e(0x15a)](_0x56a6d7),_0x482a10;}throw _0x23c803[_0x39277e(0x3e6)];}catch(_0x368fa2){return this['_logService']['error'](_0x368fa2),this[_0x39277e(0x3a0)](!0x1);}}[_0x473efc(0x147)](_0xa364b8){const _0x54d9bc=_0x473efc;if(_0xa364b8[_0x54d9bc(0x1e7)]<=this['_getCurrentRevision']())return this;throw Error(_0x54d9bc(0x185));}[_0x473efc(0x3b8)](){const _0x2291eb=_0x473efc;throw Error(_0x2291eb(0x3f5));}[_0x473efc(0x32a)](){return this;}['toggleOffline'](){const _0x33bebb=_0x473efc;return this[_0x33bebb(0x389)](),this[_0x33bebb(0x28c)][_0x33bebb(0x172)](_0x25311e,this['unitID'],this[_0x33bebb(0x3d5)],null,this[_0x33bebb(0x2c2)],this[_0x33bebb(0x186)]);}[_0x473efc(0x354)](){return this;}[_0x473efc(0x15a)](_0x35ae6f){const _0x3222ee=_0x473efc;let _0x17f59b=_0x35ae6f??this[_0x3222ee(0xd7)]();this[_0x3222ee(0x100)]=new Date()[_0x3222ee(0x29a)]()+_0x17f59b,this['_sendingTimer']=setTimeout(()=>{const _0x40a4d5=_0x3222ee;this['_clearScheduledTask']();let _0x229aef=null;switch(this[_0x40a4d5(0x3d5)]){case _0x17ede7[_0x40a4d5(0x1c0)][_0x40a4d5(0x1bc)]:_0x229aef=_0x57ca29(this[_0x40a4d5(0x2c2)],this[_0x40a4d5(0xec)],this[_0x40a4d5(0x171)],this[_0x40a4d5(0x1e3)],this[_0x40a4d5(0x2b9)]);break;case _0x17ede7[_0x40a4d5(0x1c0)][_0x40a4d5(0x399)]:_0x229aef=this['_pendingMutations']['every'](_0x5da340=>_0x5da340['id']===_0xc72b83[_0x40a4d5(0x169)]['id'])?_0x33b986(this[_0x40a4d5(0x2c2)],this[_0x40a4d5(0xec)],this['_univerInstanceService'],this[_0x40a4d5(0x1e3)],this[_0x40a4d5(0x2b9)]):_0x57ca29(this[_0x40a4d5(0x2c2)],this[_0x40a4d5(0xec)],this[_0x40a4d5(0x171)],this[_0x40a4d5(0x1e3)],this[_0x40a4d5(0x2b9)]);break;case _0x17ede7[_0x40a4d5(0x1c0)][_0x40a4d5(0xf2)]:_0x229aef=_0x17cfb5(this[_0x40a4d5(0x2c2)],this['unitID'],this['_univerInstanceService'],this[_0x40a4d5(0x1e3)],this['_userManagerService']);break;case _0x17ede7[_0x40a4d5(0x1c0)][_0x40a4d5(0x1ce)]:_0x229aef=_0x138757(this[_0x40a4d5(0x2c2)],this[_0x40a4d5(0xec)],this['_univerInstanceService'],this['_revisionService'],this['_userManagerService']);break;case _0x17ede7['UniverInstanceType'][_0x40a4d5(0x3b5)]:_0x229aef=_0x57ca29(this[_0x40a4d5(0x2c2)],this[_0x40a4d5(0xec)],this[_0x40a4d5(0x171)],this[_0x40a4d5(0x1e3)],this[_0x40a4d5(0x2b9)]);break;case _0x17ede7[_0x40a4d5(0x1c0)][_0x40a4d5(0x3e8)]:_0x229aef=_0x57ca29(this[_0x40a4d5(0x2c2)],this[_0x40a4d5(0xec)],this[_0x40a4d5(0x171)],this[_0x40a4d5(0x1e3)],this[_0x40a4d5(0x2b9)]);break;default:throw Error(_0x40a4d5(0x24f)+this['type']+_0x40a4d5(0x244));}let {changeset:_0x4b8dfe,pendingMutations:_0x16c101}=_0x229aef;this['_handler'][_0x40a4d5(0x3c2)](_0x4b8dfe);let _0xde464=_0x16c101[_0x40a4d5(0x2b6)]?this[_0x40a4d5(0x28c)][_0x40a4d5(0x172)](_0x163822,this['unitID'],this[_0x40a4d5(0x3d5)],_0x4b8dfe,_0x16c101,this[_0x40a4d5(0x186)],void 0x0):this[_0x40a4d5(0x28c)][_0x40a4d5(0x172)](_0x236f1c,this[_0x40a4d5(0xec)],this[_0x40a4d5(0x3d5)],_0x4b8dfe,this[_0x40a4d5(0x186)]);_0xde464['_updateLocalCache'](),this[_0x40a4d5(0x186)][_0x40a4d5(0x410)](this,_0xde464);},_0x17f59b);}[_0x473efc(0xd7)](){const _0xcc8e1e=_0x473efc;let _0x32be3e=this[_0xcc8e1e(0x414)][_0xcc8e1e(0x205)](_0x1f8831);return(_0x32be3e==null?void 0x0:_0x32be3e['sendChangesetTimeout'])??0x7d0;}[_0x473efc(0x16c)](){throw Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x473efc(0x389)](){const _0x190706=_0x473efc;this[_0x190706(0x1d8)]!=null&&(clearTimeout(this[_0x190706(0x1d8)]),this[_0x190706(0x1d8)]=null);}[_0x473efc(0x3a0)](_0x7beb7){const _0x18ea2c=_0x473efc;return this['_clearScheduledTask'](),this['_injector'][_0x18ea2c(0x172)](_0x3b4b0d,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x18ea2c(0x186)],_0x7beb7);}};_0xe416b5=_0x33d01f=_0x4da91b([_0x9a3e23(0x4,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x5,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600['RevisionService'])),_0x9a3e23(0x6,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x3d4)])),_0x9a3e23(0x7,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0x8,_0x17ede7[_0x473efc(0x31c)]),_0x9a3e23(0x9,_0x17ede7[_0x473efc(0x201)]),_0x9a3e23(0xa,_0x3d4600['ITransformService']),_0x9a3e23(0xb,_0x17ede7['IUniverInstanceService']),_0x9a3e23(0xc,_0x17ede7[_0x473efc(0x158)]),_0x9a3e23(0xd,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0xe416b5);let _0x236f1c=_0x322b5f=class extends _0x23a139{constructor(_0x10a110,_0x5d13f3,_0x14900a,_0x58faa6,_0x3d8f07,_0x20148f,_0x530ea2,_0x154a4e,_0x375993,_0xae6a2a,_0x1597fc){const _0xeda210=_0x473efc;super(_0x10a110,_0x5d13f3,_0x14900a,[],_0x58faa6,_0x530ea2,_0xae6a2a,_0x20148f,_0x1597fc),this[_0xeda210(0x28c)]=_0x3d8f07,this[_0xeda210(0x309)]=_0x154a4e,this[_0xeda210(0x11c)]=_0x375993,_0x17f3d2(this,'status',_0xeda210(0x142)),_0x17f3d2(this,_0xeda210(0x29e),0x0),_0x17f3d2(this,_0xeda210(0x199),0x0),_0x17f3d2(this,_0xeda210(0x1c3),void 0x0),_0x17f3d2(this,_0xeda210(0x2e7),void 0x0);}[_0x473efc(0xdd)](_0x2dfd04){const _0x3e9913=_0x473efc;this[_0x3e9913(0x389)]();let _0xe0d14b=this[_0x3e9913(0x28c)][_0x3e9913(0x172)](_0x163822,this[_0x3e9913(0xec)],this['type'],this['_awaitingChangeset'],[_0x2dfd04],this[_0x3e9913(0x186)],this[_0x3e9913(0x1c3)]);return _0xe0d14b[_0x3e9913(0x272)](),_0xe0d14b;}['onRemoteChangeset'](_0x1d6d30){const _0x31b913=_0x473efc;if(this[_0x31b913(0x236)](_0x1d6d30))return this[_0x31b913(0x389)](),this[_0x31b913(0x28c)][_0x31b913(0x172)](_0x1c5382,this[_0x31b913(0xec)],this[_0x31b913(0x3d5)],this[_0x31b913(0x3dd)],[],null,[_0x1d6d30],this[_0x31b913(0x186)]);try{let _0x2a0a9f=this[_0x31b913(0x11c)][_0x31b913(0x21b)]([_0x1d6d30],[this['_awaitingChangeset']],!0x1);if((0x0,_0x3d4600['isTransformChangesetsSuccess'])(_0x2a0a9f)){let {c1Prime:_0x36e38e,c2Prime:_0x3f9e0e}=_0x2a0a9f;this['_executeRemoteChangeset'](_0x36e38e[0x0]),_0x3f9e0e[0x0][_0x31b913(0x231)]=this['_getCurrentRevision'](),this[_0x31b913(0x389)]();let _0x352e9f=this[_0x31b913(0x28c)][_0x31b913(0x172)](_0x322b5f,this[_0x31b913(0xec)],this[_0x31b913(0x3d5)],_0x3f9e0e[0x0],this['_handler']);return _0x352e9f['_updateLocalCache'](),_0x352e9f;}throw _0x2a0a9f['error'];}catch(_0x36b5b6){return this[_0x31b913(0x309)][_0x31b913(0x3e6)](_0x36b5b6),this[_0x31b913(0x3a0)](!0x1);}}[_0x473efc(0x147)](_0x17a5ce){const _0x1996b9=_0x473efc;this[_0x1996b9(0x389)]();let _0x10014c=this[_0x1996b9(0x1e3)]['getCurrentRevOfUnit'](this[_0x1996b9(0xec)]);if(_0x17a5ce[_0x1996b9(0x1e7)]<=_0x10014c)return this;if(this[_0x1996b9(0x236)](_0x17a5ce))return this['_injector'][_0x1996b9(0x172)](_0x1c5382,this[_0x1996b9(0xec)],this[_0x1996b9(0x3d5)],this['_awaitingChangeset'],[],_0x17a5ce[_0x1996b9(0x1e7)],[],this[_0x1996b9(0x186)]);this[_0x1996b9(0x355)]();let _0x16cbbd=this[_0x1996b9(0x28c)]['createInstance'](_0x4e41d6,this[_0x1996b9(0xec)],this[_0x1996b9(0x3d5)],this['_handler']);return _0x16cbbd[_0x1996b9(0x272)](),_0x16cbbd;}['onRemoteRej'](_0x316ad7){const _0x411448=_0x473efc;return this['_onConflict'](!!(_0x316ad7!=null&&_0x316ad7[_0x411448(0x248)]));}[_0x473efc(0x32a)](_0x4466b9){const _0x54e8b2=_0x473efc;return this[_0x54e8b2(0x199)]>_0x3c8c0d?this['toggleOffline']():(this[_0x54e8b2(0x1c3)]=_0x2a77ac(this[_0x54e8b2(0x29e)],{'timeout':this[_0x54e8b2(0x29e)],'reqId':_0x4466b9[_0x54e8b2(0xe3)]}),this[_0x54e8b2(0x2e7)]=this[_0x54e8b2(0x1c3)][_0x54e8b2(0x3bf)](({reqId:_0x5a1592,timeout:_0x4eba47})=>{const _0xc623c5=_0x54e8b2;this[_0xc623c5(0x334)](_0x5a1592,_0x4eba47);}),this);}[_0x473efc(0x2d1)](){const _0x4adb0e=_0x473efc;return this['_clearScheduledTask'](),this['_injector'][_0x4adb0e(0x172)](_0x25311e,this[_0x4adb0e(0xec)],this[_0x4adb0e(0x3d5)],this['_awaitingChangeset'],[],this[_0x4adb0e(0x186)]);}[_0x473efc(0x354)](){return this;}[_0x473efc(0x16c)](){const _0x5b5862=_0x473efc;this[_0x5b5862(0x186)][_0x5b5862(0x3c2)](this[_0x5b5862(0x3dd)]);}[_0x473efc(0x3a0)](_0xe892a7){const _0x3c8390=_0x473efc;return this[_0x3c8390(0x389)](),this['_injector'][_0x3c8390(0x172)](_0x3b4b0d,this[_0x3c8390(0xec)],this['type'],this[_0x3c8390(0x3dd)],[],this[_0x3c8390(0x186)],_0xe892a7);}[_0x473efc(0x334)](_0x4b5fe2,_0x182c9f){const _0xb9aedc=_0x473efc;var _0x3091e2;_0x4b5fe2===((_0x3091e2=this[_0xb9aedc(0x3dd)])==null?void 0x0:_0x3091e2[_0xb9aedc(0xe3)])&&(this[_0xb9aedc(0x16c)](),this['_resendTimeout']=_0x182c9f===0x0?0x3e8:Math['min'](_0x182c9f*0x2,_0xe821d0),this[_0xb9aedc(0x199)]+=this['_resendTimeout']);}[_0x473efc(0x389)](){const _0x4f7774=_0x473efc;var _0x39d9cb;(_0x39d9cb=this[_0x4f7774(0x2e7)])==null||_0x39d9cb['unsubscribe'](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x236f1c=_0x322b5f=_0x4da91b([_0x9a3e23(0x4,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7['Injector'])),_0x9a3e23(0x5,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0xed)])),_0x9a3e23(0x6,_0x17ede7[_0x473efc(0x31c)]),_0x9a3e23(0x7,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0x8,_0x3d4600[_0x473efc(0x182)]),_0x9a3e23(0x9,_0x17ede7[_0x473efc(0x158)]),_0x9a3e23(0xa,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x236f1c);let _0x163822=_0x179f55=class extends _0x23a139{constructor(_0x1d889f,_0x3b4132,_0x4dcd34,_0x2a8cc7,_0x10d6e6,_0x36a756,_0x1dc8cf,_0xc29e01,_0x26966b,_0x2d5b45,_0x1b6f51,_0x2bb798,_0x5aa475){const _0x29165c=_0x473efc;super(_0x1d889f,_0x3b4132,_0x4dcd34,_0x2a8cc7,_0x10d6e6,_0x26966b,_0x2bb798,_0xc29e01,_0x5aa475),this[_0x29165c(0x28c)]=_0x1dc8cf,this[_0x29165c(0x309)]=_0x2d5b45,this['_transformService']=_0x1b6f51,this['localCacheService']=_0x5aa475,_0x17f3d2(this,'status',_0x29165c(0x1b2)),_0x17f3d2(this,_0x29165c(0x29e),0x0),_0x17f3d2(this,_0x29165c(0x199),0x0),_0x17f3d2(this,'_resendTimer',void 0x0),_0x17f3d2(this,'_sender',void 0x0),_0x36a756&&(this['_resendTimer']=_0x36a756,this[_0x29165c(0x2e7)]=this['_resendTimer'][_0x29165c(0x3bf)](({reqId:_0x51943a,timeout:_0xbc87a})=>{const _0x46a5f4=_0x29165c;this[_0x46a5f4(0x334)](_0x51943a,_0xbc87a);}));}[_0x473efc(0xdd)](_0x8edb57){const _0x45678b=_0x473efc;return this['_pendingMutations'][_0x45678b(0x283)](_0x8edb57),this;}[_0x473efc(0x419)](_0x274967){const _0x19ef59=_0x473efc;if(this[_0x19ef59(0x236)](_0x274967))return this[_0x19ef59(0x389)](),this[_0x19ef59(0x28c)][_0x19ef59(0x172)](_0x1c5382,this[_0x19ef59(0xec)],this[_0x19ef59(0x3d5)],this[_0x19ef59(0x3dd)],this[_0x19ef59(0x2c2)],null,[_0x274967],this[_0x19ef59(0x186)]);try{let _0x3a5a20=this[_0x19ef59(0x11c)][_0x19ef59(0x21b)]([_0x274967],[this[_0x19ef59(0x3dd)]],!0x1);if((0x0,_0x3d4600[_0x19ef59(0x168)])(_0x3a5a20)){let {c1Prime:_0x164d43,c2Prime:_0x1d9b6c}=_0x3a5a20,_0x4c7b3a=this[_0x19ef59(0x11c)][_0x19ef59(0x12f)](_0x164d43[0x0],this[_0x19ef59(0x2c2)]);if((0x0,_0x3d4600[_0x19ef59(0x2ba)])(_0x4c7b3a)){let {c1Prime:_0x4a62a3,m2Prime:_0x4af58e}=_0x4c7b3a;return this[_0x19ef59(0xfe)](_0x4a62a3),_0x1d9b6c[0x0][_0x19ef59(0x231)]=this[_0x19ef59(0x2a8)](),this[_0x19ef59(0x389)](),this[_0x19ef59(0x28c)][_0x19ef59(0x172)](_0x179f55,this['unitID'],this[_0x19ef59(0x3d5)],_0x1d9b6c[0x0],_0x4af58e,this['_handler'],void 0x0);}throw _0x4c7b3a['error'];}throw _0x3a5a20[_0x19ef59(0x3e6)];}catch(_0x156120){return this[_0x19ef59(0x309)][_0x19ef59(0x3e6)](_0x156120),this[_0x19ef59(0x3a0)](!0x1);}}[_0x473efc(0x147)](_0x5489aa){const _0x25ee09=_0x473efc;this[_0x25ee09(0x389)]();let _0x12f589=this['_getCurrentRevision']();if(_0x5489aa['revision']<=_0x12f589)return this;if(this[_0x25ee09(0x236)](_0x5489aa))return this[_0x25ee09(0x28c)][_0x25ee09(0x172)](_0x1c5382,this[_0x25ee09(0xec)],this['type'],this[_0x25ee09(0x3dd)],this[_0x25ee09(0x2c2)],_0x5489aa[_0x25ee09(0x1e7)],[],this[_0x25ee09(0x186)]);this[_0x25ee09(0x355)]();let _0x16f364=this[_0x25ee09(0x28c)][_0x25ee09(0x172)](_0xe416b5,this[_0x25ee09(0xec)],this[_0x25ee09(0x3d5)],this[_0x25ee09(0x2c2)],this[_0x25ee09(0x186)]);return _0x16f364[_0x25ee09(0x15a)](),_0x16f364['_updateLocalCache'](),_0x16f364;}[_0x473efc(0x3b8)](_0x449bcd){const _0x46dbb0=_0x473efc;return this[_0x46dbb0(0x3a0)](!!(_0x449bcd!=null&&_0x449bcd[_0x46dbb0(0x248)]));}[_0x473efc(0x32a)](_0x2485cd){const _0x5ce77a=_0x473efc;return this[_0x5ce77a(0x199)]>_0x3c8c0d?this[_0x5ce77a(0x2d1)]():(this[_0x5ce77a(0x1c3)]=_0x2a77ac(this['_resendTimeout'],{'timeout':this[_0x5ce77a(0x29e)],'reqId':_0x2485cd[_0x5ce77a(0xe3)]}),this[_0x5ce77a(0x2e7)]=this[_0x5ce77a(0x1c3)][_0x5ce77a(0x3bf)](({reqId:_0x510582,timeout:_0x566aa0})=>{this['_resendWithTimeout'](_0x510582,_0x566aa0);}),this);}['toggleOffline'](){const _0x2a0f75=_0x473efc;return this['_clearScheduledTask'](),this[_0x2a0f75(0x28c)][_0x2a0f75(0x172)](_0x25311e,this[_0x2a0f75(0xec)],this[_0x2a0f75(0x3d5)],this[_0x2a0f75(0x3dd)],this['_pendingMutations'],this[_0x2a0f75(0x186)]);}[_0x473efc(0x354)](){return this;}['resend'](){const _0x10c1ed=_0x473efc;this['_handler'][_0x10c1ed(0x3c2)](this[_0x10c1ed(0x3dd)]);}[_0x473efc(0x3a0)](_0x30ccbf){const _0x45fe0d=_0x473efc;return this['_clearScheduledTask'](),this[_0x45fe0d(0x28c)]['createInstance'](_0x3b4b0d,this[_0x45fe0d(0xec)],this[_0x45fe0d(0x3d5)],null,this[_0x45fe0d(0x2c2)],this[_0x45fe0d(0x186)],_0x30ccbf);}[_0x473efc(0x334)](_0x4fb08a,_0x500c29){const _0x1fc554=_0x473efc;var _0x13a5ee;_0x4fb08a===((_0x13a5ee=this[_0x1fc554(0x3dd)])==null?void 0x0:_0x13a5ee['reqId'])&&(this[_0x1fc554(0x16c)](),this['_resendTimeout']=_0x500c29===0x0?0x3e8:Math['min'](_0x500c29*0x2,_0xe821d0),this[_0x1fc554(0x199)]+=this[_0x1fc554(0x29e)]);}[_0x473efc(0x389)](){const _0x287150=_0x473efc;var _0x45ac93;(_0x45ac93=this[_0x287150(0x2e7)])==null||_0x45ac93['unsubscribe'](),this[_0x287150(0x29e)]=0x0,this[_0x287150(0x199)]=0x0;}};_0x163822=_0x179f55=_0x4da91b([_0x9a3e23(0x6,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7['Injector'])),_0x9a3e23(0x7,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0xed)])),_0x9a3e23(0x8,_0x17ede7['ICommandService']),_0x9a3e23(0x9,_0x17ede7['ILogService']),_0x9a3e23(0xa,_0x3d4600[_0x473efc(0x182)]),_0x9a3e23(0xb,_0x17ede7[_0x473efc(0x158)]),_0x9a3e23(0xc,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x163822);let _0x3b4b0d=class extends _0x23a139{constructor(_0x23f8e0,_0x314b24,_0x49e44b,_0xd87891,_0x459891,_0x555109=!0x1,_0x4d96b2,_0x5b3ab0,_0xcc55ca,_0x3e194f,_0xa9ea19,_0x5081c3,_0x1d2d74){const _0x1ed29e=_0x473efc;super(_0x23f8e0,_0x314b24,_0x49e44b,_0xd87891,_0x459891,_0x5b3ab0,_0xcc55ca,_0x3e194f,_0x1d2d74),this[_0x1ed29e(0x15f)]=_0x555109,this['_permissionService']=_0x4d96b2,this[_0x1ed29e(0x196)]=_0xa9ea19,this[_0x1ed29e(0x1fd)]=_0x5081c3,this[_0x1ed29e(0x14c)]=_0x1d2d74,_0x17f3d2(this,_0x1ed29e(0x273),_0x1ed29e(0x187)),this[_0x1ed29e(0x30c)](),this['_clearLocalCache'](),this[_0x1ed29e(0x120)]();}['appendMutation'](){return this;}[_0x473efc(0x419)](){return this;}[_0x473efc(0x147)](){return this;}[_0x473efc(0x3b8)](){return this;}[_0x473efc(0x32a)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){const _0xd786c5=_0x473efc;throw Error(_0xd786c5(0x137));}[_0x473efc(0x18c)](){const _0x443bf5=_0x473efc;var _0x21ec3b,_0x4d1dfd,_0x3f294f;(_0x21ec3b=this['_localCacheService'])==null||(_0x4d1dfd=_0x21ec3b[_0x443bf5(0x2f8)])==null||(_0x4d1dfd=_0x4d1dfd[_0x443bf5(0x107)](_0x21ec3b,this[_0x443bf5(0xec)],'conflict'))==null||_0x4d1dfd[_0x443bf5(0x1e1)](()=>void 0x0),(_0x3f294f=this['_localCacheService'])==null||_0x3f294f[_0x443bf5(0x409)](this['unitID'],this[_0x443bf5(0x3d5)],null,[]);}[_0x473efc(0x30c)](){const _0x270fcd=_0x473efc;this[_0x270fcd(0x15f)]?this['_collaborationUIEventService'][_0x270fcd(0x3b3)]({'id':_0x270fcd(0x217)}):this['_collaborationUIEventService'][_0x270fcd(0x3b3)]({'id':_0x270fcd(0x2fe)});}['_disableEditing'](){const _0x4d1c84=_0x473efc;this[_0x4d1c84(0x359)]['updatePermissionPoint'](new _0x43c3be['WorkbookEditablePermission'](this[_0x4d1c84(0xec)])['id'],!0x1);}};_0x3b4b0d=_0x4da91b([_0x9a3e23(0x6,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x29b)])),_0x9a3e23(0x7,_0x17ede7['ICommandService']),_0x9a3e23(0x8,_0x17ede7[_0x473efc(0x158)]),_0x9a3e23(0x9,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600['RevisionService'])),_0x9a3e23(0xa,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x10e)])),_0x9a3e23(0xb,(0x0,_0x17ede7['Inject'])(_0x2d7dce)),_0x9a3e23(0xc,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x3b4b0d);let _0x25311e=class extends _0x23a139{constructor(_0x10ef67,_0x206edb,_0x385078,_0x469200,_0x35693f,_0x3d1060,_0x5da40f,_0x1f92b7,_0x54a108,_0x3bbae9){const _0x2b190e=_0x473efc;super(_0x10ef67,_0x206edb,_0x385078,_0x469200,_0x35693f,_0x1f92b7,_0x54a108,_0x5da40f,_0x3bbae9),this[_0x2b190e(0x28c)]=_0x3d1060,_0x17f3d2(this,_0x2b190e(0x273),'offline');}[_0x473efc(0xdd)](_0x31f95d){const _0x2a9d60=_0x473efc;return this[_0x2a9d60(0x2c2)]['push'](_0x31f95d),this[_0x2a9d60(0x272)](),this;}[_0x473efc(0x419)](_0x2b178b){throw Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0xa44814=_0x473efc;throw Error(_0xa44814(0x358));}[_0x473efc(0x3b8)](){const _0x3d30e7=_0x473efc;throw Error(_0x3d30e7(0x2c8));}[_0x473efc(0x32a)](){return this;}[_0x473efc(0x2d1)](){return this;}[_0x473efc(0x354)](){const _0x4e62e4=_0x473efc;let {_injector:_0x543199,_pendingMutations:_0x35d7e8,_awaitingChangeset:_0x35c2cd,unitID:_0xc327e9,_handler:_0x1910c8,type:_0xfd5f15}=this,_0x5ba051=_0xc3a618(_0x543199,_0xc327e9,_0xfd5f15,_0x35c2cd,_0x35d7e8,_0x1910c8);return _0x5ba051 instanceof _0xe416b5?_0x5ba051[_0x4e62e4(0x15a)]():(_0x5ba051 instanceof _0x163822||_0x5ba051 instanceof _0x236f1c)&&_0x5ba051[_0x4e62e4(0x16c)](),_0x5ba051;}['resend'](){const _0x3e17ae=_0x473efc;throw Error(_0x3e17ae(0x39d));}};_0x25311e=_0x4da91b([_0x9a3e23(0x5,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x6,(0x0,_0x17ede7['Inject'])(_0x3d4600[_0x473efc(0xed)])),_0x9a3e23(0x7,_0x17ede7[_0x473efc(0x31c)]),_0x9a3e23(0x8,_0x17ede7['IUndoRedoService']),_0x9a3e23(0x9,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x25311e);let _0x1c5382=class extends _0x23a139{constructor(_0x3c567c,_0x2e8109,_0x142235,_0x299f8a,_0x33f13e,_0x55b03a,_0x1b4cd4,_0x365a31,_0x43851a,_0xd8e2e9,_0x5ba702,_0x1a3e83,_0x52f06f,_0x3bc8b3){const _0x1f238e=_0x473efc;super(_0x3c567c,_0x2e8109,_0x142235,_0x299f8a,_0x1b4cd4,_0x5ba702,_0x1a3e83,_0x43851a,_0x3bc8b3),this[_0x1f238e(0x3b4)]=_0x33f13e,this['_queuedRemoteChangesets']=_0x55b03a,this[_0x1f238e(0x28c)]=_0x365a31,this['_logService']=_0xd8e2e9,this[_0x1f238e(0x11c)]=_0x52f06f,this[_0x1f238e(0x14c)]=_0x3bc8b3,_0x17f3d2(this,'status',_0x1f238e(0x1f0));}[_0x473efc(0x2d6)](_0x310488){const _0x1ad277=_0x473efc;try{if(this['_handleRemoteChangesets'](_0x310488)[_0x1ad277(0x300)])throw Error(_0x1ad277(0x3fb));if(this['_handleRemoteChangesets']([...this[_0x1ad277(0x266)]][_0x1ad277(0x34c)]((_0xe292de,_0x47d456)=>_0xe292de[_0x1ad277(0x1e7)]-_0x47d456['revision']))[_0x1ad277(0x300)])return this['_queuedRemoteChangesets']=[],this[_0x1ad277(0x272)](),this[_0x1ad277(0x186)][_0x1ad277(0x2c0)]({'from':this[_0x1ad277(0x2a8)](),'to':0x0}),this;let _0x50bdff=this[_0x1ad277(0x3dd)],_0x5caf9b=this[_0x1ad277(0x2c2)],_0x171320;if(_0x50bdff&&_0x5caf9b[_0x1ad277(0x2b6)]!==0x0)_0x171320=this[_0x1ad277(0x28c)][_0x1ad277(0x172)](_0x163822,this[_0x1ad277(0xec)],this[_0x1ad277(0x3d5)],_0x50bdff,_0x5caf9b,this[_0x1ad277(0x186)],void 0x0);else{if(_0x50bdff&&_0x5caf9b['length']===0x0)_0x50bdff['baseRev']=this[_0x1ad277(0x2a8)](),_0x171320=this['_injector']['createInstance'](_0x236f1c,this[_0x1ad277(0xec)],this[_0x1ad277(0x3d5)],_0x50bdff,this[_0x1ad277(0x186)]);else{if(_0x5caf9b[_0x1ad277(0x2b6)]!==0x0){let _0xf50f05=this[_0x1ad277(0x28c)]['createInstance'](_0xe416b5,this['unitID'],this[_0x1ad277(0x3d5)],_0x5caf9b,this[_0x1ad277(0x186)]);_0xf50f05[_0x1ad277(0x15a)](),_0x171320=_0xf50f05;}else _0x171320=this[_0x1ad277(0x28c)][_0x1ad277(0x172)](_0x4e41d6,this[_0x1ad277(0xec)],this[_0x1ad277(0x3d5)],this[_0x1ad277(0x186)]);}}return _0x171320['_updateLocalCache'](),_0x171320;}catch(_0x482556){return this[_0x1ad277(0x309)][_0x1ad277(0x3e6)](_0x1ad277(0x193),_0x1ad277(0x1b8),_0x482556),this[_0x1ad277(0x28c)][_0x1ad277(0x172)](_0x3b4b0d,this[_0x1ad277(0xec)],this[_0x1ad277(0x3d5)],this['_awaitingChangeset'],this[_0x1ad277(0x2c2)],this[_0x1ad277(0x186)],!0x1);}}[_0x473efc(0xc3)](_0x674460){const _0x50e43a=_0x473efc;this[_0x50e43a(0x3f0)]();for(let _0x29c627=0x0;_0x29c627<_0x674460[_0x50e43a(0x2b6)];_0x29c627++){let _0x2ce405=_0x674460[_0x29c627],_0x5a7440=this[_0x50e43a(0x2a8)]();if(!(_0x2ce405['revision']<=_0x5a7440)){if(_0x2ce405[_0x50e43a(0x1e7)]>_0x5a7440+0x1)return{'missingChangesets':!0x0};if(this['_isEchoedAwaitingChangeset'](_0x2ce405)){this['_acknowledgeAwaiting']();continue;}this[_0x50e43a(0x37f)](_0x2ce405),this[_0x50e43a(0x3f0)]();}}return{'missingChangesets':!0x1};}['_transformAndApplyRemoteChangeset'](_0x4b64f9){const _0x3e5657=_0x473efc;let _0x5b9526=_0x4b64f9,_0x1a4d69=this['_awaitingChangeset'];if(_0x1a4d69){let _0x131f24=this[_0x3e5657(0x11c)][_0x3e5657(0x21b)]([_0x4b64f9],[_0x1a4d69],!0x1);if(!(0x0,_0x3d4600[_0x3e5657(0x168)])(_0x131f24))throw _0x131f24[_0x3e5657(0x3e6)];_0x5b9526=_0x131f24[_0x3e5657(0x162)][0x0],_0x1a4d69=_0x131f24['c2Prime'][0x0];}let _0x25cee1=this[_0x3e5657(0x2c2)];if(_0x25cee1[_0x3e5657(0x2b6)]){let _0x3a3364=this[_0x3e5657(0x11c)][_0x3e5657(0x12f)](_0x5b9526,_0x25cee1);if(!(0x0,_0x3d4600[_0x3e5657(0x2ba)])(_0x3a3364))throw _0x3a3364[_0x3e5657(0x3e6)];_0x5b9526=_0x3a3364[_0x3e5657(0x162)],_0x25cee1=_0x3a3364['m2Prime'];}this['_executeRemoteChangeset'](_0x5b9526),_0x1a4d69&&(_0x1a4d69[_0x3e5657(0x231)]=this['_getCurrentRevision']()),this[_0x3e5657(0x3dd)]=_0x1a4d69,this[_0x3e5657(0x2c2)]=_0x25cee1;}[_0x473efc(0x3f0)](){const _0x55a4dd=_0x473efc;if(!this[_0x55a4dd(0x3dd)]||this[_0x55a4dd(0x3b4)]==null)return;let _0x14f877=this[_0x55a4dd(0x2a8)]();if(this[_0x55a4dd(0x3b4)]<=_0x14f877)throw Error(_0x55a4dd(0x360)+this['_acknowledgedAwaitingRevision']+'.');this[_0x55a4dd(0x3b4)]===_0x14f877+0x1&&this[_0x55a4dd(0x38b)]();}[_0x473efc(0x38b)](){const _0x1693c5=_0x473efc;this[_0x1693c5(0x355)](),this[_0x1693c5(0x3dd)]=null,this[_0x1693c5(0x3b4)]=null;}['_isEchoedAwaitingChangeset'](_0x5820db){const _0x3bec9d=_0x473efc;let _0x204aff=this['_awaitingChangeset'];return!_0x204aff||!_0x204aff[_0x3bec9d(0x1ae)]||_0x204aff[_0x3bec9d(0xe3)]===null||_0x204aff['reqId']===void 0x0?!0x1:_0x5820db[_0x3bec9d(0xec)]===_0x204aff[_0x3bec9d(0xec)]&&_0x5820db[_0x3bec9d(0x1ae)]===_0x204aff[_0x3bec9d(0x1ae)]&&_0x5820db[_0x3bec9d(0xe3)]===_0x204aff[_0x3bec9d(0xe3)];}['resend'](){const _0x3f847a=_0x473efc;throw Error(_0x3f847a(0x2d4));}[_0x473efc(0xdd)](_0x29d3dc){const _0x4fb041=_0x473efc;return this[_0x4fb041(0x2c2)][_0x4fb041(0x283)](_0x29d3dc),this;}[_0x473efc(0x419)](_0x28f8f9){const _0x20030f=_0x473efc;return this[_0x20030f(0x266)][_0x20030f(0x283)](_0x28f8f9),this;}[_0x473efc(0x147)](_0x1e2e3d){const _0x33b08c=_0x473efc;if(this['_awaitingChangeset']){let _0x4bae1f=this[_0x33b08c(0x2a8)]();return _0x1e2e3d['revision']<=_0x4bae1f||(_0x4bae1f+0x1===_0x1e2e3d[_0x33b08c(0x1e7)]?(this[_0x33b08c(0x355)](),this['_awaitingChangeset']=null,this[_0x33b08c(0x3b4)]=null):this['_acknowledgedAwaitingRevision']=_0x1e2e3d['revision']),this;}if(_0x1e2e3d[_0x33b08c(0x1e7)]<=this[_0x33b08c(0x2a8)]())return this;throw Error(_0x33b08c(0x29d));}['onRemoteRej'](_0x31c97e){const _0x3dd008=_0x473efc;return this[_0x3dd008(0x3a0)](!!(_0x31c97e!=null&&_0x31c97e[_0x3dd008(0x248)]));}[_0x473efc(0x32a)](){return this;}[_0x473efc(0x2d1)](){const _0x358942=_0x473efc;return this[_0x358942(0x28c)][_0x358942(0x172)](_0x25311e,this[_0x358942(0xec)],this['type'],this[_0x358942(0x3dd)],this[_0x358942(0x2c2)],this[_0x358942(0x186)]);}[_0x473efc(0x354)](){return this;}[_0x473efc(0x3a0)](_0x25d202){const _0x7b2d91=_0x473efc;return this[_0x7b2d91(0x28c)][_0x7b2d91(0x172)](_0x3b4b0d,this[_0x7b2d91(0xec)],this[_0x7b2d91(0x3d5)],this[_0x7b2d91(0x3dd)],this[_0x7b2d91(0x2c2)],this['_handler'],_0x25d202);}};_0x1c5382=_0x4da91b([_0x9a3e23(0x7,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x8,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0xed)])),_0x9a3e23(0x9,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0xa,_0x17ede7[_0x473efc(0x31c)]),_0x9a3e23(0xb,_0x17ede7['IUndoRedoService']),_0x9a3e23(0xc,_0x3d4600[_0x473efc(0x182)]),_0x9a3e23(0xd,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x1c5382);function _0xc3a618(_0x4230bb,_0x49fbf6,_0x22ab3a,_0x453b6b,_0x513014,_0x17911e){const _0x2164fa=_0x473efc;return _0x453b6b&&_0x513014[_0x2164fa(0x2b6)]?_0x4230bb[_0x2164fa(0x172)](_0x163822,_0x49fbf6,_0x22ab3a,_0x453b6b,_0x513014,_0x17911e,void 0x0):_0x453b6b?_0x4230bb[_0x2164fa(0x172)](_0x236f1c,_0x49fbf6,_0x22ab3a,_0x453b6b,_0x17911e):_0x513014[_0x2164fa(0x2b6)]?_0x4230bb[_0x2164fa(0x172)](_0xe416b5,_0x49fbf6,_0x22ab3a,_0x513014,_0x17911e):_0x4230bb[_0x2164fa(0x172)](_0x4e41d6,_0x49fbf6,_0x22ab3a,_0x17911e);}let _0x458bcf=class extends _0x17ede7[_0x473efc(0x1a3)]{get[_0x473efc(0x195)](){const _0x531e28=_0x473efc;return this[_0x531e28(0x166)];}constructor(_0x2b8fbf,_0x3ee9ec,_0x2e8616,_0x1f2995,_0x19e6cd,_0x3b4f77,_0x14b177,_0x520cdc,_0x1916a7,_0x5b8fc7,_0x3a2a1c,_0x4659b7,_0x443334,_0x2fbbdc){const _0x13d8e1=_0x473efc;super(),this[_0x13d8e1(0xec)]=_0x2b8fbf,this[_0x13d8e1(0x305)]=_0x3ee9ec,this[_0x13d8e1(0xca)]=_0x2e8616,this['_injector']=_0x1f2995,this['_compressMutationService']=_0x19e6cd,this['_localeService']=_0x3b4f77,this[_0x13d8e1(0x1e3)]=_0x14b177,this[_0x13d8e1(0x26b)]=_0x520cdc,this[_0x13d8e1(0x171)]=_0x1916a7,this[_0x13d8e1(0x309)]=_0x5b8fc7,this['_commandService']=_0x3a2a1c,this['_permissionService']=_0x4659b7,this[_0x13d8e1(0x301)]=_0x443334,this[_0x13d8e1(0x3d0)]=_0x2fbbdc,_0x17f3d2(this,_0x13d8e1(0x268),new _0x1f9457[(_0x13d8e1(0x3c1))](null)),_0x17f3d2(this,_0x13d8e1(0x10b),this[_0x13d8e1(0x268)][_0x13d8e1(0x1b5)]()),_0x17f3d2(this,'_state',void 0x0),_0x17f3d2(this,'_collaborationPaused',!0x1),_0x17f3d2(this,_0x13d8e1(0x210),''),_0x17f3d2(this,'_changesetReqId',0x0),_0x17f3d2(this,'status$',this[_0x13d8e1(0x10b)][_0x13d8e1(0x2bf)]((0x0,_0x1f9457[_0x13d8e1(0xfb)])(_0xd9db4f=>_0xd9db4f?_0xd9db4f[_0x13d8e1(0x273)]:_0x13d8e1(0x29c)),(0x0,_0x1f9457[_0x13d8e1(0x1ac)])({'bufferSize':0x1,'refCount':!0x0}))),_0x17f3d2(this,_0x13d8e1(0x1a1),!0x1),_0x17f3d2(this,_0x13d8e1(0x2a7),[]);}async[_0x473efc(0x233)](){if(this['state'])throw Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x473efc(0x40a)](){const _0x4ba744=_0x473efc;return this[_0x4ba744(0x253)]=!0x0,(0x0,_0x17ede7['toDisposable'])(()=>{const _0x55d588=_0x4ba744;this[_0x55d588(0x253)]=!0x1,this[_0x55d588(0x176)]();});}['onLocalMutation'](_0x9d8b16){const _0x4333e4=_0x473efc;this[_0x4333e4(0x129)](_0x9d8b16);}['_updateState'](_0xa3b39f){const _0x21965d=_0x473efc;this[_0x21965d(0x166)]=_0xa3b39f,this['_state$'][_0x21965d(0x2f5)](_0xa3b39f);}async[_0x473efc(0x215)](){const _0x148640=_0x473efc;if(this[_0x148640(0x11a)](await this[_0x148640(0x372)]()),this[_0x148640(0x301)]){var _0x3c3a42;(_0x3c3a42=this[_0x148640(0x301)])==null||_0x3c3a42['editingUnit'](this['unitID']),this[_0x148640(0x12e)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x148640(0xec)])[_0x148640(0x3bf)](_0x532297=>{const _0xb168c8=_0x148640;this[_0xb168c8(0x309)][_0xb168c8(0x2f9)](_0xb168c8(0x2ca),_0xb168c8(0x1dc),_0x532297),_0x532297===0x1?(this['_eventService'][_0xb168c8(0x3b3)]({'id':'OTHER_CLIENT_EDITING'}),this[_0xb168c8(0x359)][_0xb168c8(0xd4)](new _0x43c3be[(_0xb168c8(0x400))](this['unitID'])['id'],!0x1),this[_0xb168c8(0x359)][_0xb168c8(0x373)](!0x1)):(this['_permissionService'][_0xb168c8(0xd4)](new _0x43c3be[(_0xb168c8(0x400))](this[_0xb168c8(0xec)])['id'],!0x0),this[_0xb168c8(0x359)][_0xb168c8(0x373)](!0x0));}));}let _0x28f1f1=!0x1;return this['disposeWithMe'](this['session'][_0x148640(0x1bd)][_0x148640(0x3bf)](_0x54a771=>{const _0x8c4930=_0x148640;_0x54a771===0x3?this[_0x8c4930(0x117)](_0x28f1f1):_0x54a771===0x2&&(_0x28f1f1=!0x0,this[_0x8c4930(0x3a1)]());})),this[_0x148640(0x12e)](this[_0x148640(0x305)][_0x148640(0x2be)]['subscribe'](_0x1beb1e=>{const _0x2bc6af=_0x148640;try{switch(_0x1beb1e[_0x2bc6af(0x1fb)]){case _0x3d4600[_0x2bc6af(0x350)]['NEW_CHANGESETS']:this[_0x2bc6af(0x1c2)]((0x0,_0x3d4600[_0x2bc6af(0x388)])(_0x1beb1e['data']));break;case _0x3d4600['CollaborationEvent'][_0x2bc6af(0x183)]:this[_0x2bc6af(0x3d2)](_0x1beb1e[_0x2bc6af(0x1ab)]);break;case _0x3d4600[_0x2bc6af(0x350)][_0x2bc6af(0x30b)]:this['_onRemoteRejected']();break;case _0x3d4600[_0x2bc6af(0x350)]['CHANGESET_SHOULD_RETRY']:this[_0x2bc6af(0xc7)](_0x1beb1e[_0x2bc6af(0x1ab)]);break;case _0x3d4600[_0x2bc6af(0x350)][_0x2bc6af(0x25f)]:this[_0x2bc6af(0x2e6)](_0x1beb1e[_0x2bc6af(0x1ab)][_0x2bc6af(0x122)][_0x2bc6af(0xfb)](_0x5efeb4=>(0x0,_0x3d4600[_0x2bc6af(0x388)])(_0x5efeb4)));break;case _0x3d4600['CollaborationEvent']['PERMISSION_REJ']:this[_0x2bc6af(0x35d)]({'isPermissionRej':!0x0});break;case _0x3d4600['CollaborationEvent'][_0x2bc6af(0x31a)]:break;}}catch(_0x2d6bbd){throw console['error']('Error\x20on\x20receiving\x20event',_0x2d6bbd),_0x2d6bbd;}})),this['_state'];}['_unlockTransition'](){const _0x1f1736=_0x473efc;this[_0x1f1736(0x1a1)]=!0x1;}[_0x473efc(0x396)](){const _0x5eb3d3=_0x473efc;if(this[_0x5eb3d3(0x1a1)])throw Error(_0x5eb3d3(0xd9));this[_0x5eb3d3(0x1a1)]=!0x0;}['_onLocalMutation'](_0x327b40){const _0x15e6f0=_0x473efc;this['_lockTransition'](),this[_0x15e6f0(0x11a)](this['_state']['appendMutation'](_0x327b40)),this[_0x15e6f0(0x286)]();}[_0x473efc(0x1c2)](_0x5d4030){const _0x4ab717=_0x473efc;if(!(_0x5d4030['revision']<=this[_0x4ab717(0x1e3)][_0x4ab717(0x1aa)](this[_0x4ab717(0xec)]))){if(this[_0x4ab717(0x253)]){this[_0x4ab717(0x2a7)][_0x4ab717(0x283)](_0x5d4030);return;}this[_0x4ab717(0x220)](_0x5d4030);}}[_0x473efc(0x176)](){const _0x4a19c0=_0x473efc;this[_0x4a19c0(0x2a7)]['forEach'](_0xc3b616=>this[_0x4a19c0(0x220)](_0xc3b616)),this[_0x4a19c0(0x2a7)]=[];}['_applyRemoteChangeset'](_0xf50976){const _0x1ef998=_0x473efc;let _0x487c10=this[_0x1ef998(0x1e8)][_0x1ef998(0x1dd)][_0x1ef998(0x35c)](this[_0x1ef998(0x1e8)]['interceptor'][_0x1ef998(0x395)]()[_0x1ef998(0x11e)])(_0xf50976['mutations'],null)||_0xf50976[_0x1ef998(0x237)],_0x4ca38a={..._0xf50976,'mutations':_0x487c10};this[_0x1ef998(0x396)](),this[_0x1ef998(0x11a)](this['_state']['onRemoteChangeset'](_0x4ca38a)),this[_0x1ef998(0x286)]();}[_0x473efc(0x3d2)](_0x933695){const _0x385ea7=_0x473efc;this[_0x385ea7(0x396)](),this['_updateState'](this[_0x385ea7(0x166)][_0x385ea7(0x147)](_0x933695)),this['_unlockTransition']();}[_0x473efc(0x35d)](_0xe13a6f){const _0x139b50=_0x473efc;this[_0x139b50(0x396)](),this['_updateState'](this[_0x139b50(0x166)][_0x139b50(0x3b8)](_0xe13a6f)),this['_unlockTransition']();}[_0x473efc(0xc7)](_0x434e04){const _0x5a0066=_0x473efc;this[_0x5a0066(0x396)](),this[_0x5a0066(0x11a)](this[_0x5a0066(0x166)]['onRemoteRetry'](_0x434e04)),this[_0x5a0066(0x286)]();}[_0x473efc(0x2e6)](_0x48e8b5){const _0x1608e0=_0x473efc;if(!(this['_state']instanceof _0x1c5382))throw TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');let _0x97f7f0=_0x48e8b5[_0x1608e0(0xfb)](_0x54e346=>{const _0x46f52a=_0x1608e0;let _0x4bd8a1=this[_0x46f52a(0x1e8)][_0x46f52a(0x1dd)][_0x46f52a(0x35c)](this['_compressMutationService'][_0x46f52a(0x1dd)][_0x46f52a(0x395)]()[_0x46f52a(0x11e)])(_0x54e346[_0x46f52a(0x237)],null)||_0x54e346['mutations'];return{..._0x54e346,'mutations':_0x4bd8a1};});this[_0x1608e0(0x396)](),this['_updateState'](this['_state'][_0x1608e0(0x2d6)](_0x97f7f0)),this[_0x1608e0(0x286)]();}[_0x473efc(0x3a1)](){const _0x5eb1a8=_0x473efc;this[_0x5eb1a8(0x396)](),this[_0x5eb1a8(0x11a)](this[_0x5eb1a8(0x166)][_0x5eb1a8(0x2d1)]()),this[_0x5eb1a8(0x286)]();}[_0x473efc(0x117)](_0xf13786=!0x1){const _0x40566e=_0x473efc;this[_0x40566e(0x396)](),this[_0x40566e(0x11a)](this[_0x40566e(0x166)][_0x40566e(0x354)]()),this[_0x40566e(0x286)]();let _0x2454a0=this[_0x40566e(0x166)];_0xf13786&&_0x2454a0 instanceof _0x4e41d6&&(this[_0x40566e(0x396)](),this[_0x40566e(0x11a)](_0x2454a0[_0x40566e(0xc1)]()),this[_0x40566e(0x286)]());}async[_0x473efc(0x372)](){return new Promise(_0x3bd16c=>{const _0x3d7f12=_0x2dd0;this['session'][_0x3d7f12(0x1bd)][_0x3d7f12(0x2bf)]((0x0,_0x1f9457[_0x3d7f12(0x207)])(0x1))[_0x3d7f12(0x3bf)](async _0x4416ec=>{const _0x219f3e=_0x3d7f12;_0x3bd16c(await this[_0x219f3e(0x3aa)](_0x4416ec===0x3));});});}[_0x473efc(0x2ff)](){const _0x2f6c5f=_0x473efc;let _0x133e16=this[_0x2f6c5f(0xec)];return{'onStateChange':(_0x2be4e2,_0x1e3553)=>{const _0x5806c3=_0x2f6c5f;if(_0x2be4e2!==this[_0x5806c3(0x166)])throw Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2be4e2[_0x5806c3(0x273)]+_0x5806c3(0x2ef)+_0x1e3553[_0x5806c3(0x273)]+_0x5806c3(0x175)+this['_state'][_0x5806c3(0x273)]);this['_updateState'](_0x1e3553);},'onSendChangeset':_0x82fc10=>{const _0x1b8493=_0x2f6c5f;_0x82fc10['sid']||(_0x82fc10[_0x1b8493(0x1ae)]=this[_0x1b8493(0x210)],_0x82fc10[_0x1b8493(0xe3)]=++this[_0x1b8493(0x23c)]);let _0x4d804a={'eventID':_0x3d4600[_0x1b8493(0x350)][_0x1b8493(0x2da)],'data':{'unitID':_0x82fc10['unitID'],'unitType':this[_0x1b8493(0xca)],'changeset':_0x82fc10,'memberID':this[_0x1b8493(0x305)][_0x1b8493(0x3be)]()}};this[_0x1b8493(0x305)]['send'](_0x4d804a,this['unitID']);},'onMissingChangesets':({from:_0x146b5a,to:_0x482490})=>{const _0x560453=_0x2f6c5f;this[_0x560453(0x309)][_0x560453(0x2f9)](_0x560453(0x2ca),_0x560453(0x276)+_0x146b5a+'\x20to\x20'+_0x482490);let _0x4e445d={'eventID':_0x3d4600[_0x560453(0x350)][_0x560453(0x161)],'data':{'unitID':_0x133e16,'unitType':this[_0x560453(0xca)],'from':_0x146b5a,'to':_0x482490}};this['session']['send'](_0x4e445d,this[_0x560453(0xec)]);}};}async[_0x473efc(0x3aa)](_0x54afb9){const _0x338bf1=_0x473efc;var _0x4d5415;let _0x307a39=await((_0x4d5415=this[_0x338bf1(0x3d0)])==null?void 0x0:_0x4d5415['loadOfflineData'](this[_0x338bf1(0xec)])),_0x396f12=(_0x307a39==null?void 0x0:_0x307a39[_0x338bf1(0x237)])??[],_0x19bb7a=(_0x307a39==null?void 0x0:_0x307a39[_0x338bf1(0x1da)])??null,_0x2a7eb6=!!(_0x19bb7a!=null&&_0x19bb7a[_0x338bf1(0x1ae)])&&!!(_0x19bb7a!=null&&_0x19bb7a[_0x338bf1(0xe3)]);this[_0x338bf1(0x210)]=_0x2a7eb6?_0x19bb7a[_0x338bf1(0x1ae)]:(0x0,_0x3d4600[_0x338bf1(0x3f3)])(),this['_changesetReqId']=_0x2a7eb6?_0x19bb7a[_0x338bf1(0xe3)]:0x0;let _0x1c6c0f=this[_0x338bf1(0xec)];try{this[_0x338bf1(0x25b)](_0x19bb7a,_0x396f12);}catch(_0x4c4e29){this['_logService']['error'](_0x4c4e29);}let _0x5389e8=this['_createHandler']();if(_0x54afb9){let _0x48328a=_0xc3a618(this[_0x338bf1(0x28c)],_0x1c6c0f,this[_0x338bf1(0xca)],_0x19bb7a,_0x396f12,_0x5389e8);return _0x48328a instanceof _0xe416b5?_0x48328a[_0x338bf1(0x15a)]():(_0x48328a instanceof _0x163822||_0x48328a instanceof _0x236f1c)&&_0x48328a[_0x338bf1(0x16c)](),_0x48328a;}return this[_0x338bf1(0x28c)][_0x338bf1(0x172)](_0x25311e,_0x1c6c0f,this['_type'],_0x19bb7a,_0x396f12,_0x5389e8);}[_0x473efc(0x25b)](_0x272049,_0x4efdae){const _0x4a5a77=_0x473efc;var _0x2c6c54,_0x2ee6ea;let _0x389ab3=this['_compressMutationService'][_0x4a5a77(0x1dd)][_0x4a5a77(0x35c)](this[_0x4a5a77(0x1e8)][_0x4a5a77(0x1dd)]['getInterceptPoints']()[_0x4a5a77(0x11e)]);(_0x2c6c54=_0x389ab3((_0x272049==null?void 0x0:_0x272049[_0x4a5a77(0x237)])||[],null))==null||_0x2c6c54[_0x4a5a77(0x343)](_0xf7b0bf=>this[_0x4a5a77(0x39f)][_0x4a5a77(0x2c7)](_0xf7b0bf['id'],_0xf7b0bf[_0x4a5a77(0x1de)])),(_0x2ee6ea=_0x389ab3(_0x4efdae||[],null))==null||_0x2ee6ea[_0x4a5a77(0x343)](_0x59849f=>this[_0x4a5a77(0x39f)]['executeCommand'](_0x59849f['id'],_0x59849f[_0x4a5a77(0x1de)]));}};_0x458bcf=_0x4da91b([_0x9a3e23(0x3,(0x0,_0x17ede7['Inject'])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x4,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0x13f)])),_0x9a3e23(0x5,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7['LocaleService'])),_0x9a3e23(0x6,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0xed)])),_0x9a3e23(0x7,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x2d7dce)),_0x9a3e23(0x8,_0x17ede7[_0x473efc(0x2c6)]),_0x9a3e23(0x9,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0xa,_0x17ede7[_0x473efc(0x31c)]),_0x9a3e23(0xb,_0x17ede7['IPermissionService']),_0x9a3e23(0xc,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x549ce8)),_0x9a3e23(0xd,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x458bcf);let _0x5a3607=class extends _0x458bcf{constructor(_0x1a8ad1,_0x2db41e,_0x347591,_0x110a31,_0x15200d,_0x475e6c,_0x436687,_0x4bc98f,_0x4e8b7d,_0x1928b9,_0x374880,_0x5bdf2f,_0x6ce72a,_0x166540,_0x1042df){const _0x385ee8=_0x473efc;super(_0x1a8ad1,_0x347591,_0x2db41e,_0x110a31,_0x15200d,_0x475e6c,_0x436687,_0x4bc98f,_0x4e8b7d,_0x1928b9,_0x374880,_0x5bdf2f,_0x166540,_0x1042df),this['unitID']=_0x1a8ad1,this[_0x385ee8(0x3d5)]=_0x2db41e,this[_0x385ee8(0x38e)]=_0x6ce72a,_0x17f3d2(this,_0x385ee8(0x232),null);}['addHandlerCallback'](_0x5a7a93){const _0xcfaa37=_0x473efc;this[_0xcfaa37(0x232)]=_0x5a7a93;}[_0x473efc(0x335)](){const _0x196163=_0x473efc;this[_0x196163(0x232)]=null,super[_0x196163(0x335)]();}[_0x473efc(0x2ff)](){const _0x1db4b7=_0x473efc;let _0x3dc06b=super[_0x1db4b7(0x2ff)]();return _0x3dc06b[_0x1db4b7(0xde)]=_0x56f69d=>{const _0x9ba35f=_0x1db4b7;var _0x4bc7fd,_0x42cd9b;return(_0x4bc7fd=this[_0x9ba35f(0x232)])==null||(_0x42cd9b=_0x4bc7fd['onTransformIME'])==null?void 0x0:_0x42cd9b[_0x9ba35f(0x107)](_0x4bc7fd,_0x56f69d);},_0x3dc06b[_0x1db4b7(0x27c)]=_0x53c662=>{const _0xbbc9bc=_0x1db4b7;var _0x535cba,_0x4869b8;return(_0x535cba=this[_0xbbc9bc(0x232)])==null||(_0x4869b8=_0x535cba[_0xbbc9bc(0x27c)])==null?void 0x0:_0x4869b8[_0xbbc9bc(0x107)](_0x535cba,_0x53c662);},_0x3dc06b[_0x1db4b7(0x157)]=_0x16bd04=>{const _0xce4a01=_0x1db4b7;var _0x3af13c,_0x247190;return(_0x3af13c=this[_0xce4a01(0x232)])==null||(_0x247190=_0x3af13c[_0xce4a01(0x157)])==null?void 0x0:_0x247190[_0xce4a01(0x107)](_0x3af13c,_0x16bd04);},_0x3dc06b['onSyncEditingCollabCursor']=_0x157793=>{const _0x18e94c=_0x1db4b7;var _0x10783e,_0x2bf976;return(_0x10783e=this[_0x18e94c(0x232)])==null||(_0x2bf976=_0x10783e[_0x18e94c(0x270)])==null?void 0x0:_0x2bf976[_0x18e94c(0x107)](_0x10783e,_0x157793);},_0x3dc06b[_0x1db4b7(0x3d9)]=_0x22771f=>{const _0x4ec465=_0x1db4b7;var _0x1c5455,_0x165301;return((_0x1c5455=this[_0x4ec465(0x232)])==null||(_0x165301=_0x1c5455['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x165301['call'](_0x1c5455,_0x22771f))??_0x22771f;},_0x3dc06b['onTransformRemoteChangesetByStateCache']=_0x472be4=>{const _0x415842=_0x1db4b7;var _0x3e2625,_0x5cfb4d;return((_0x3e2625=this[_0x415842(0x232)])==null||(_0x5cfb4d=_0x3e2625['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5cfb4d[_0x415842(0x107)](_0x3e2625,_0x472be4))??_0x472be4;},_0x3dc06b;}async[_0x473efc(0x215)](){const _0x528528=_0x473efc;let _0x14f59d=await super['_init']();return this['disposeWithMe'](this[_0x528528(0x38e)]['docStateChange$']['subscribe'](_0x3a2100=>{const _0x2ed379=_0x528528;if(_0x3a2100==null||_0x3a2100[_0x2ed379(0x298)]!==this[_0x2ed379(0xec)])return;let {commandId:_0x5456fa,redoState:_0xb806f4,unitId:_0x147bb9}=_0x3a2100,_0x501226={'id':_0x5456fa,'type':_0x17ede7[_0x2ed379(0x1a6)][_0x2ed379(0x3d1)],'params':{'unitId':_0x147bb9,'actions':_0xb806f4[_0x2ed379(0x1a8)],'textRanges':null}};this[_0x2ed379(0x129)](_0x501226);})),this[_0x528528(0x12e)](this[_0x528528(0x39f)][_0x528528(0x2e2)]((_0x57bb63,_0x13a59d)=>{const _0x56735e=_0x528528;if(_0x57bb63['type']!==_0x17ede7[_0x56735e(0x1a6)][_0x56735e(0x3d1)]||_0x13a59d!=null&&_0x13a59d[_0x56735e(0x3a4)]||_0x13a59d!=null&&_0x13a59d[_0x56735e(0x2ae)]||_0x57bb63['id']===_0xc72b83['RichTextEditingMutation']['id'])return;let _0x390a17=_0x57bb63['params'];if((_0x390a17==null?void 0x0:_0x390a17['unitId'])!==this[_0x56735e(0xec)])return;let _0x3088f3=_0x57bb63,_0x1d96b5=this[_0x56735e(0x1e8)][_0x56735e(0x1dd)][_0x56735e(0x35c)](this[_0x56735e(0x1e8)][_0x56735e(0x1dd)][_0x56735e(0x395)]()[_0x56735e(0x39e)])([_0x3088f3],this[_0x56735e(0x171)])||[_0x3088f3];this[_0x56735e(0x129)](_0x1d96b5[0x0]);})),_0x14f59d;}};_0x5a3607=_0x4da91b([_0x9a3e23(0x3,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x4,(0x0,_0x17ede7['Inject'])(_0x3d4600[_0x473efc(0x13f)])),_0x9a3e23(0x5,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x10e)])),_0x9a3e23(0x6,(0x0,_0x17ede7['Inject'])(_0x3d4600['RevisionService'])),_0x9a3e23(0x7,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x2d7dce)),_0x9a3e23(0x8,_0x17ede7['IUniverInstanceService']),_0x9a3e23(0x9,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0xa,_0x17ede7[_0x473efc(0x31c)]),_0x9a3e23(0xb,_0x17ede7[_0x473efc(0x29b)]),_0x9a3e23(0xc,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0xc72b83['DocStateChangeManagerService'])),_0x9a3e23(0xd,(0x0,_0x17ede7['Optional'])(_0x549ce8)),_0x9a3e23(0xe,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x5a3607);let _0x1cfeae=class extends _0x458bcf{constructor(_0x210998,_0x5d1a61,_0x27e9da,_0x56c0c4,_0x4e79d3,_0x27cc38,_0x89c858,_0xd36b1b,_0x32ffd4,_0x358db0,_0x324a26,_0x264725,_0x51595a,_0x7b5ca5){const _0x5266c7=_0x473efc;super(_0x210998,_0x27e9da,_0x5d1a61,_0x56c0c4,_0x4e79d3,_0x27cc38,_0x89c858,_0xd36b1b,_0x32ffd4,_0x358db0,_0x324a26,_0x264725,_0x51595a,_0x7b5ca5),this[_0x5266c7(0xec)]=_0x210998,this[_0x5266c7(0x3d5)]=_0x5d1a61;}async[_0x473efc(0x215)](){const _0x32da93=_0x473efc;let _0x44bf1c=await super[_0x32da93(0x215)]();return this[_0x32da93(0x12e)](this[_0x32da93(0x39f)][_0x32da93(0x2e2)]((_0x350a71,_0x4307ed)=>{const _0x3d600f=_0x32da93;if(_0x350a71['type']!==_0x17ede7[_0x3d600f(0x1a6)][_0x3d600f(0x3d1)]||_0x4307ed!=null&&_0x4307ed[_0x3d600f(0x3a4)]||_0x4307ed!=null&&_0x4307ed[_0x3d600f(0x2ae)])return;let _0x43af36=_0x350a71[_0x3d600f(0x1de)];if((_0x43af36==null?void 0x0:_0x43af36['unitId'])!==this[_0x3d600f(0xec)])return;let _0xedbb99=_0x350a71,_0x111fd1=this['_compressMutationService'][_0x3d600f(0x1dd)][_0x3d600f(0x35c)](this['_compressMutationService'][_0x3d600f(0x1dd)]['getInterceptPoints']()[_0x3d600f(0x39e)])([_0xedbb99],this[_0x3d600f(0x171)])||[_0xedbb99];this[_0x3d600f(0x129)](_0x111fd1[0x0]);})),_0x44bf1c;}};_0x1cfeae=_0x4da91b([_0x9a3e23(0x3,(0x0,_0x17ede7['Inject'])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x4,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600['CompressMutationService'])),_0x9a3e23(0x5,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x10e)])),_0x9a3e23(0x6,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600['RevisionService'])),_0x9a3e23(0x7,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x2d7dce)),_0x9a3e23(0x8,_0x17ede7[_0x473efc(0x2c6)]),_0x9a3e23(0x9,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0xa,_0x17ede7['ICommandService']),_0x9a3e23(0xb,_0x17ede7[_0x473efc(0x29b)]),_0x9a3e23(0xc,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x549ce8)),_0x9a3e23(0xd,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x1cfeae);let _0x399b0b=class extends _0x458bcf{constructor(_0x21660a,_0x4fa001,_0x21f0ca,_0x546f72,_0x2e19f0,_0x480331,_0x6ec786,_0x1b122f,_0x3f863a,_0x110a8d,_0x369268,_0xc04629,_0x54c242,_0x5ac226,_0x89a460){const _0x3a48ec=_0x473efc;super(_0x21660a,_0x21f0ca,_0x4fa001,_0x546f72,_0x2e19f0,_0x480331,_0x6ec786,_0x3f863a,_0x110a8d,_0x369268,_0xc04629,_0x54c242,_0x5ac226,_0x89a460),this[_0x3a48ec(0xec)]=_0x21660a,this[_0x3a48ec(0x3d5)]=_0x4fa001,this[_0x3a48ec(0x212)]=_0x1b122f;}[_0x473efc(0x2ff)](){const _0x16f1b5=_0x473efc;let _0x28b1af=super['_createHandler']();return _0x28b1af[_0x16f1b5(0x157)]=_0x206807=>this[_0x16f1b5(0x212)][_0x16f1b5(0x19c)](_0x206807),_0x28b1af;}async['_init'](){const _0x544a20=_0x473efc;let _0x2e4ef4=await super[_0x544a20(0x215)]();return this[_0x544a20(0x12e)](this[_0x544a20(0x39f)][_0x544a20(0x2e2)]((_0x5dbc10,_0xf95eaa)=>{const _0x4af06e=_0x544a20;if(_0x5dbc10[_0x4af06e(0x3d5)]!==_0x17ede7[_0x4af06e(0x1a6)]['MUTATION']||_0xf95eaa!=null&&_0xf95eaa[_0x4af06e(0x3a4)]||_0xf95eaa!=null&&_0xf95eaa[_0x4af06e(0x2ae)])return;let _0x4154cb=_0x5dbc10[_0x4af06e(0x1de)];if((_0x4154cb==null?void 0x0:_0x4154cb[_0x4af06e(0x298)])!==this[_0x4af06e(0xec)])return;let _0x528786=_0x5dbc10,_0x50d3b0=this[_0x4af06e(0x1e8)][_0x4af06e(0x1dd)][_0x4af06e(0x35c)](this[_0x4af06e(0x1e8)]['interceptor'][_0x4af06e(0x395)]()[_0x4af06e(0x39e)])([_0x528786],this['_univerInstanceService'])||[_0x528786];this['_onLocalMutation'](_0x50d3b0[0x0]);})),_0x2e4ef4;}};_0x399b0b=_0x4da91b([_0x9a3e23(0x3,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7['Injector'])),_0x9a3e23(0x4,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0x13f)])),_0x9a3e23(0x5,(0x0,_0x17ede7['Inject'])(_0x17ede7['LocaleService'])),_0x9a3e23(0x6,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0xed)])),_0x9a3e23(0x7,(0x0,_0x17ede7['Inject'])(_0x62027)),_0x9a3e23(0x8,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x2d7dce)),_0x9a3e23(0x9,_0x17ede7[_0x473efc(0x2c6)]),_0x9a3e23(0xa,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0xb,_0x17ede7['ICommandService']),_0x9a3e23(0xc,_0x17ede7[_0x473efc(0x29b)]),_0x9a3e23(0xd,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x549ce8)),_0x9a3e23(0xe,(0x0,_0x17ede7['Optional'])(_0x4386bd))],_0x399b0b);let _0x7459fd=class extends _0x458bcf{constructor(_0x368a26,_0x45639d,_0x5b6337,_0x9dc73b,_0x3d4bfd,_0xe7a133,_0x18946f,_0x560635,_0xa61bf4,_0xed4ed0,_0x47bddc,_0x13ba05,_0x31b7b2,_0x4b0b6c){const _0x362341=_0x473efc;super(_0x368a26,_0x5b6337,_0x45639d,_0x9dc73b,_0x3d4bfd,_0xe7a133,_0x18946f,_0x560635,_0xa61bf4,_0xed4ed0,_0x47bddc,_0x13ba05,_0x31b7b2,_0x4b0b6c),this[_0x362341(0xec)]=_0x368a26,this[_0x362341(0x3d5)]=_0x45639d;}async['_init'](){const _0x4614ab=_0x473efc;let _0x65ecdd=await super[_0x4614ab(0x215)]();return this['disposeWithMe'](this[_0x4614ab(0x39f)]['onMutationExecutedForCollab']((_0x44c854,_0x345b8e)=>{const _0x32daf3=_0x4614ab;if(_0x44c854[_0x32daf3(0x3d5)]!==_0x17ede7[_0x32daf3(0x1a6)]['MUTATION']||_0x345b8e!=null&&_0x345b8e[_0x32daf3(0x3a4)]||_0x345b8e!=null&&_0x345b8e[_0x32daf3(0x2ae)])return;let _0x1e9705=_0x44c854[_0x32daf3(0x1de)];if((_0x1e9705==null?void 0x0:_0x1e9705[_0x32daf3(0x298)])!==this['unitID'])return;let _0xf5ecc4=_0x44c854,_0x34862a=this[_0x32daf3(0x1e8)]['interceptor'][_0x32daf3(0x35c)](this[_0x32daf3(0x1e8)][_0x32daf3(0x1dd)][_0x32daf3(0x395)]()[_0x32daf3(0x39e)])([_0xf5ecc4],this[_0x32daf3(0x171)])||[_0xf5ecc4];this[_0x32daf3(0x129)](_0x34862a[0x0]);})),_0x65ecdd;}};_0x7459fd=_0x4da91b([_0x9a3e23(0x3,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x4,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600['CompressMutationService'])),_0x9a3e23(0x5,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7['LocaleService'])),_0x9a3e23(0x6,(0x0,_0x17ede7['Inject'])(_0x3d4600['RevisionService'])),_0x9a3e23(0x7,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x2d7dce)),_0x9a3e23(0x8,_0x17ede7[_0x473efc(0x2c6)]),_0x9a3e23(0x9,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0xa,_0x17ede7[_0x473efc(0x31c)]),_0x9a3e23(0xb,_0x17ede7['IPermissionService']),_0x9a3e23(0xc,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x549ce8)),_0x9a3e23(0xd,(0x0,_0x17ede7['Optional'])(_0x4386bd))],_0x7459fd);let _0x28070e=class extends _0x458bcf{constructor(_0xb28fe,_0x5bf5f3,_0x6c8d62,_0x11f398,_0x26f7e3,_0x30d4b5,_0x64a599,_0xe40f40,_0x33fc08,_0x4f8984,_0x2d20e5,_0x52e5d6,_0x344a12,_0x5806f0){const _0x5c4bca=_0x473efc;super(_0xb28fe,_0x6c8d62,_0x5bf5f3,_0x11f398,_0x26f7e3,_0x30d4b5,_0x64a599,_0xe40f40,_0x33fc08,_0x4f8984,_0x2d20e5,_0x52e5d6,_0x344a12,_0x5806f0),this[_0x5c4bca(0xec)]=_0xb28fe,this[_0x5c4bca(0x3d5)]=_0x5bf5f3;}async[_0x473efc(0x215)](){const _0x129272=_0x473efc;let _0x5d4e00=await super[_0x129272(0x215)]();return this[_0x129272(0x12e)](this[_0x129272(0x39f)][_0x129272(0x2e2)]((_0x2b04f9,_0x5684c8)=>{const _0x5999d6=_0x129272;if(_0x2b04f9[_0x5999d6(0x3d5)]!==_0x17ede7[_0x5999d6(0x1a6)][_0x5999d6(0x3d1)]||_0x5684c8!=null&&_0x5684c8[_0x5999d6(0x3a4)]||_0x5684c8!=null&&_0x5684c8[_0x5999d6(0x2ae)])return;let _0x36743e=_0x2b04f9['params'];if((_0x36743e==null?void 0x0:_0x36743e[_0x5999d6(0x298)])!==this[_0x5999d6(0xec)])return;let _0x1cb23=_0x2b04f9,_0x4fa770=this[_0x5999d6(0x1e8)][_0x5999d6(0x1dd)][_0x5999d6(0x35c)](this[_0x5999d6(0x1e8)][_0x5999d6(0x1dd)][_0x5999d6(0x395)]()[_0x5999d6(0x39e)])([_0x1cb23],this[_0x5999d6(0x171)])||[_0x1cb23];this[_0x5999d6(0x129)](_0x4fa770[0x0]);})),_0x5d4e00;}};_0x28070e=_0x4da91b([_0x9a3e23(0x3,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x4,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0x13f)])),_0x9a3e23(0x5,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7['LocaleService'])),_0x9a3e23(0x6,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0xed)])),_0x9a3e23(0x7,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x2d7dce)),_0x9a3e23(0x8,_0x17ede7[_0x473efc(0x2c6)]),_0x9a3e23(0x9,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0xa,_0x17ede7['ICommandService']),_0x9a3e23(0xb,_0x17ede7[_0x473efc(0x29b)]),_0x9a3e23(0xc,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x549ce8)),_0x9a3e23(0xd,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x28070e);let _0x30dd3f=class extends _0x458bcf{constructor(_0x5a7990,_0x10500b,_0x5386da,_0x4f4872,_0x57d515,_0x40d158,_0xf36c73,_0x3e9056,_0x47eace,_0x2c3a10,_0x5ceb83,_0x74ea3b,_0x4a7b98,_0x27dfb7){const _0x51f097=_0x473efc;super(_0x5a7990,_0x5386da,_0x10500b,_0x4f4872,_0x57d515,_0x40d158,_0xf36c73,_0x3e9056,_0x47eace,_0x2c3a10,_0x5ceb83,_0x74ea3b,_0x4a7b98,_0x27dfb7),this[_0x51f097(0xec)]=_0x5a7990,this['type']=_0x10500b;}async[_0x473efc(0x215)](){const _0xcc21ca=_0x473efc;let _0x1e5965=await super[_0xcc21ca(0x215)]();return this[_0xcc21ca(0x12e)](this[_0xcc21ca(0x39f)]['onMutationExecutedForCollab']((_0x336826,_0x31a370)=>{const _0x333878=_0xcc21ca;if(_0x336826[_0x333878(0x3d5)]!==_0x17ede7['CommandType'][_0x333878(0x3d1)]||_0x31a370!=null&&_0x31a370[_0x333878(0x3a4)]||_0x31a370!=null&&_0x31a370[_0x333878(0x2ae)])return;let _0x6b564c=_0x336826[_0x333878(0x1de)];if((_0x6b564c==null?void 0x0:_0x6b564c['unitId'])!==this['unitID'])return;let _0x4bddba=_0x336826,_0x401bc4=this[_0x333878(0x1e8)][_0x333878(0x1dd)][_0x333878(0x35c)](this[_0x333878(0x1e8)]['interceptor'][_0x333878(0x395)]()[_0x333878(0x39e)])([_0x4bddba],this[_0x333878(0x171)])||[_0x4bddba];this[_0x333878(0x129)](_0x401bc4[0x0]);})),_0x1e5965;}};_0x30dd3f=_0x4da91b([_0x9a3e23(0x3,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7['Injector'])),_0x9a3e23(0x4,(0x0,_0x17ede7['Inject'])(_0x3d4600['CompressMutationService'])),_0x9a3e23(0x5,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x10e)])),_0x9a3e23(0x6,(0x0,_0x17ede7['Inject'])(_0x3d4600[_0x473efc(0xed)])),_0x9a3e23(0x7,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x2d7dce)),_0x9a3e23(0x8,_0x17ede7[_0x473efc(0x2c6)]),_0x9a3e23(0x9,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0xa,_0x17ede7['ICommandService']),_0x9a3e23(0xb,_0x17ede7[_0x473efc(0x29b)]),_0x9a3e23(0xc,(0x0,_0x17ede7['Optional'])(_0x549ce8)),_0x9a3e23(0xd,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x30dd3f);let _0x4c48ae=(0x0,_0x17ede7[_0x473efc(0x1cb)])(_0x473efc(0x25a));function _0x598fbe(_0x400b16){const _0x541fd7=_0x473efc;let _0x29cc7f=_0x400b16['data'],_0x559ce9=JSON[_0x541fd7(0x206)](_0x29cc7f);switch(_0x559ce9[_0x541fd7(0x258)]){case _0x3d2f85[_0x541fd7(0x1c9)][_0x541fd7(0x203)]:case _0x3d2f85[_0x541fd7(0x1c9)][_0x541fd7(0x18f)]:{let _0x529456=_0x559ce9[_0x541fd7(0x2d5)];return{..._0x559ce9,'data':_0x529456,'cmd':_0x559ce9[_0x541fd7(0x258)]};}case _0x3d2f85[_0x541fd7(0x1c9)][_0x541fd7(0x102)]:{let _0x3b54ee=_0x559ce9[_0x541fd7(0x2b2)];return{..._0x559ce9,'data':_0x3b54ee,'cmd':_0x559ce9['cmd']};}case _0x3d2f85[_0x541fd7(0x1c9)][_0x541fd7(0x111)]:{let _0x21916b=_0x559ce9[_0x541fd7(0x190)];switch(_0x21916b[_0x541fd7(0x1fb)]){case _0x3d4600[_0x541fd7(0x350)][_0x541fd7(0x348)]:var _0x498883;return{..._0x559ce9,'data':{..._0x21916b,'data':(_0x498883=_0x21916b[_0x541fd7(0x1c7)])==null?void 0x0:_0x498883['cs']},'cmd':_0x559ce9[_0x541fd7(0x258)]};case _0x3d4600[_0x541fd7(0x350)]['CHANGESET_ACK']:var _0x172d90;return{..._0x559ce9,'data':{..._0x21916b,'data':(_0x172d90=_0x21916b[_0x541fd7(0x20d)])==null?void 0x0:_0x172d90['cs']},'cmd':_0x559ce9['cmd']};case _0x3d4600[_0x541fd7(0x350)][_0x541fd7(0x211)]:var _0x1b7fb7;return{..._0x559ce9,'data':{..._0x21916b,'data':(_0x1b7fb7=_0x21916b[_0x541fd7(0x112)])==null?void 0x0:_0x1b7fb7['cs']},'cmd':_0x559ce9[_0x541fd7(0x258)]};case _0x3d4600[_0x541fd7(0x350)][_0x541fd7(0x30b)]:var _0x4b7e07;return{..._0x559ce9,'data':{..._0x21916b,'data':(_0x4b7e07=_0x21916b[_0x541fd7(0x31b)])==null?void 0x0:_0x4b7e07['cs']},'cmd':_0x559ce9[_0x541fd7(0x258)]};case _0x3d4600['CollaborationEvent'][_0x541fd7(0x289)]:var _0x18823d;return{..._0x559ce9,'data':{..._0x21916b,'data':(_0x18823d=_0x21916b[_0x541fd7(0x3f1)])==null?void 0x0:_0x18823d['cs']},'cmd':_0x559ce9['cmd']};case _0x3d4600['CollaborationEvent'][_0x541fd7(0x1f2)]:return{..._0x559ce9,'data':{..._0x21916b,'data':_0x21916b[_0x541fd7(0x299)]},'cmd':_0x559ce9[_0x541fd7(0x258)]};case _0x3d4600[_0x541fd7(0x350)][_0x541fd7(0x1ef)]:return{..._0x559ce9,'data':{..._0x21916b,'data':_0x21916b[_0x541fd7(0x25c)]},'cmd':_0x559ce9['cmd']};case _0x3d4600['CollaborationEvent'][_0x541fd7(0x3a9)]:return{..._0x559ce9,'data':{..._0x21916b,'data':_0x21916b[_0x541fd7(0x1be)]},'cmd':_0x559ce9['cmd']};case _0x3d4600[_0x541fd7(0x350)][_0x541fd7(0x110)]:return{..._0x559ce9,'data':{..._0x21916b,'data':_0x21916b[_0x541fd7(0x2b5)]},'cmd':_0x559ce9['cmd']};case _0x3d4600['CollaborationEvent'][_0x541fd7(0x19e)]:case _0x3d4600[_0x541fd7(0x350)][_0x541fd7(0x2bc)]:return{..._0x559ce9,'data':{..._0x21916b,'data':_0x21916b[_0x541fd7(0x338)]},'cmd':_0x559ce9[_0x541fd7(0x258)]};case _0x3d4600['CollaborationEvent'][_0x541fd7(0x262)]:return{..._0x559ce9,'data':{..._0x21916b,'data':_0x21916b[_0x541fd7(0x2b5)]},'cmd':_0x559ce9[_0x541fd7(0x258)]};case _0x3d4600['CollaborationEvent'][_0x541fd7(0x34e)]:return{..._0x559ce9,'data':_0x21916b,'cmd':_0x559ce9['cmd']};case _0x3d4600[_0x541fd7(0x350)][_0x541fd7(0x214)]:return{..._0x559ce9,'data':{..._0x21916b,'data':_0x21916b[_0x541fd7(0xf1)]},'cmd':_0x559ce9[_0x541fd7(0x258)]};case _0x3d4600[_0x541fd7(0x350)][_0x541fd7(0x384)]:return{..._0x559ce9,'data':{..._0x21916b,'data':_0x21916b['updatePermissionObjEvent']},'cmd':_0x559ce9[_0x541fd7(0x258)]};case _0x3d4600[_0x541fd7(0x350)][_0x541fd7(0x3a8)]:return{..._0x559ce9,'data':{..._0x21916b,'data':_0x21916b[_0x541fd7(0x132)]},'cmd':_0x559ce9[_0x541fd7(0x258)]};case _0x3d4600['CollaborationEvent'][_0x541fd7(0x31a)]:return{..._0x559ce9,'data':{..._0x21916b,'data':_0x21916b[_0x541fd7(0x336)]},'cmd':_0x559ce9[_0x541fd7(0x258)]};default:return _0x559ce9;}}default:return _0x559ce9;}}function _0x91444b(_0x3a0f3d){const _0x182f1a=_0x473efc;switch(_0x3a0f3d[_0x182f1a(0x258)]){case _0x3d2f85['CombCmd'][_0x182f1a(0x203)]:case _0x3d2f85[_0x182f1a(0x1c9)]['HELLO']:return JSON[_0x182f1a(0x317)]({'cmd':_0x3a0f3d[_0x182f1a(0x258)],'routeKey':_0x3a0f3d['routeKey']});case _0x3d2f85['CombCmd'][_0x182f1a(0xfa)]:{let _0x4c8624;switch(_0x3a0f3d[_0x182f1a(0x1ab)][_0x182f1a(0x1fb)]){case _0x3d4600[_0x182f1a(0x350)][_0x182f1a(0x1f2)]:_0x4c8624={'eventID':_0x3d4600[_0x182f1a(0x350)][_0x182f1a(0x1f2)],'updateCursorEvent':_0x3a0f3d[_0x182f1a(0x1ab)][_0x182f1a(0x1ab)]};break;case _0x3d4600[_0x182f1a(0x350)][_0x182f1a(0x3a9)]:_0x4c8624={'eventID':_0x3d4600[_0x182f1a(0x350)]['USERS_LEAVE'],'leaveEvent':_0x3a0f3d[_0x182f1a(0x1ab)]['data']};break;case _0x3d4600[_0x182f1a(0x350)]['USERS_ENTER']:_0x4c8624={'eventID':_0x3d4600[_0x182f1a(0x350)]['USERS_ENTER'],'joinEvent':_0x3a0f3d['data'][_0x182f1a(0x1ab)]};break;case _0x3d4600[_0x182f1a(0x350)][_0x182f1a(0x110)]:_0x4c8624={'eventID':_0x3d4600[_0x182f1a(0x350)][_0x182f1a(0x110)],'liveShareNewHost':_0x3a0f3d['data'][_0x182f1a(0x1ab)]};break;case _0x3d4600[_0x182f1a(0x350)]['LIVESHARE_OPERATION']:_0x4c8624={'eventID':_0x3d4600['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x3a0f3d[_0x182f1a(0x1ab)]['data']};break;case _0x3d4600[_0x182f1a(0x350)][_0x182f1a(0x262)]:_0x4c8624={'eventID':_0x3d4600[_0x182f1a(0x350)][_0x182f1a(0x262)],'liveShareTerminate':_0x3a0f3d[_0x182f1a(0x1ab)][_0x182f1a(0x1ab)]};break;case _0x3d4600[_0x182f1a(0x350)][_0x182f1a(0x351)]:_0x4c8624={'eventID':_0x3d4600[_0x182f1a(0x350)][_0x182f1a(0x351)],'liveShareRequestHost':_0x3a0f3d[_0x182f1a(0x1ab)]['data']};break;case _0x3d4600[_0x182f1a(0x350)][_0x182f1a(0x19e)]:_0x4c8624={'eventID':_0x3d4600['CollaborationEvent'][_0x182f1a(0x19e)]};break;default:_0x4c8624={'eventID':_0x3a0f3d[_0x182f1a(0x1ab)][_0x182f1a(0x1fb)]};}return JSON[_0x182f1a(0x317)]({'cmd':_0x3a0f3d[_0x182f1a(0x258)],'routeKey':_0x3a0f3d[_0x182f1a(0x28d)],'collaMsg':_0x4c8624});}case _0x3d2f85[_0x182f1a(0x1c9)][_0x182f1a(0x102)]:return JSON[_0x182f1a(0x317)]({'cmd':_0x3a0f3d['cmd'],'routeKey':_0x3a0f3d[_0x182f1a(0x28d)],'joinReq':_0x3a0f3d[_0x182f1a(0x1ab)]});case _0x3d2f85['CombCmd'][_0x182f1a(0x3b7)]:return JSON['stringify']({'cmd':_0x3a0f3d[_0x182f1a(0x258)],'routeKey':_0x3a0f3d[_0x182f1a(0x28d)],'leaveReq':_0x3a0f3d[_0x182f1a(0x1ab)]});default:throw Error(_0x182f1a(0x287));}}let _0x2e376b=(0x0,_0x17ede7[_0x473efc(0x1cb)])(_0x473efc(0x1b7));function _0x2c930a(_0x5a693c,_0x20836b,_0x2b951e){const _0x497a8e=_0x473efc;return _0x5a693c+'/'+_0x20836b+'/unit/'+_0x2b951e+_0x497a8e(0x2de);}let _0x7e2dbe=class extends _0x17ede7[_0x473efc(0x39c)]{constructor(_0x40a710,_0x19fa93,_0x35ab82,_0x529f53,_0x39ce4d){const _0x53a77e=_0x473efc;super(),this['_injector']=_0x40a710,this[_0x53a77e(0x2b0)]=_0x19fa93,this[_0x53a77e(0x414)]=_0x35ab82,this[_0x53a77e(0x309)]=_0x529f53,this[_0x53a77e(0x3f2)]=_0x39ce4d;}['_doCreateSocket'](_0x2a77e7){const _0x5005c7=_0x473efc;let _0x3f143c=this[_0x5005c7(0x28c)]['get'](_0x4bbb37['ISocketService']);if(!_0x3f143c)throw Error(_0x5005c7(0x331));let _0x4a85c4=_0x3f143c[_0x5005c7(0x3c0)](_0x2a77e7);if(!_0x4a85c4)throw Error(_0x5005c7(0x28f));let _0x7f4c2d=new _0x17ede7[(_0x5005c7(0x146))](),_0x19d7f0=new _0x1f9457[(_0x5005c7(0x2d8))]();_0x7f4c2d['add'](_0x4a85c4[_0x5005c7(0x25e)][_0x5005c7(0x3bf)](_0x3c1eba=>_0x19d7f0[_0x5005c7(0x2f5)](_0x3c1eba))),_0x7f4c2d[_0x5005c7(0x32d)]((0x0,_0x17ede7[_0x5005c7(0xf9)])(()=>_0x19d7f0[_0x5005c7(0x403)]()));let _0x3d7e6d=new _0x1f9457[(_0x5005c7(0x2d8))]();_0x7f4c2d[_0x5005c7(0x32d)](_0x4a85c4[_0x5005c7(0x2b4)][_0x5005c7(0x3bf)](_0x351b8a=>_0x3d7e6d[_0x5005c7(0x2f5)](_0x351b8a))),_0x7f4c2d[_0x5005c7(0x32d)]((0x0,_0x17ede7[_0x5005c7(0xf9)])(()=>_0x3d7e6d[_0x5005c7(0x403)]()));let _0x50dca8=new _0x1f9457[(_0x5005c7(0x2d8))]();_0x7f4c2d[_0x5005c7(0x32d)](_0x4a85c4[_0x5005c7(0x38f)][_0x5005c7(0x3bf)](_0x47bc67=>{const _0x39a6b9=_0x5005c7;let _0xe3f023=_0x598fbe(_0x47bc67);_0x50dca8[_0x39a6b9(0x2f5)](_0xe3f023);})),_0x7f4c2d[_0x5005c7(0x32d)]((0x0,_0x17ede7[_0x5005c7(0xf9)])(()=>_0x50dca8[_0x5005c7(0x403)]()));let _0x4bb8e3,_0x399dba=()=>{const _0x7f2510=_0x5005c7;_0x3d7e6d['next'](new Event(_0x7f2510(0x139))),_0x19d7f0['next'](new Event(_0x7f2510(0x139))),_0x4bb8e3[_0x7f2510(0x11f)]();};return _0x4bb8e3={'memberID':'','close$':_0x19d7f0[_0x5005c7(0x1b5)](),'error$':_0x3d7e6d[_0x5005c7(0x1b5)](),'open$':_0x4a85c4[_0x5005c7(0x297)],'message$':_0x50dca8['asObservable'](),'send':_0x23ec27=>{const _0xf7b293=_0x5005c7;if(_0x23ec27[_0xf7b293(0x258)]===_0x3d2f85[_0xf7b293(0x1c9)]['INGEST']){if(_0x23ec27[_0xf7b293(0x1ab)][_0xf7b293(0x1fb)]===_0x3d4600[_0xf7b293(0x350)][_0xf7b293(0x2da)]){this[_0xf7b293(0x228)](_0x4bb8e3,_0x23ec27[_0xf7b293(0x1ab)])[_0xf7b293(0x1e1)](_0x1c241e=>{const _0x3c914c=_0xf7b293;this['_logService'][_0x3c914c(0x3e6)](_0x1c241e),_0x399dba();});return;}if(_0x23ec27['data']['eventID']===_0x3d4600['CollaborationEvent']['FETCH_MISSING']){let _0x5d864b=_0x23ec27[_0xf7b293(0x1ab)];this['_fetchMissChangesets'](_0x5d864b)[_0xf7b293(0x1e5)](_0x286aef=>{const _0x5162b8=_0xf7b293;_0x50dca8[_0x5162b8(0x2f5)]({'cmd':_0x3d2f85[_0x5162b8(0x1c9)]['RECV'],'code':_0x3d2f85['CmdRspCode']['OK'],'routeKey':_0x5d864b[_0x5162b8(0x1ab)][_0x5162b8(0xec)],'routeType':'','data':{'eventID':_0x3d4600[_0x5162b8(0x350)][_0x5162b8(0x25f)],'data':{'changesets':_0x286aef}}});})[_0xf7b293(0x1e1)](_0x18e914=>{const _0x3971e2=_0xf7b293;this['_logService'][_0x3971e2(0x3e6)](_0x18e914),_0x399dba();});return;}}_0x4a85c4[_0xf7b293(0x10c)](_0x91444b(_0x23ec27));},'close':()=>{const _0x461819=_0x5005c7;_0x4a85c4[_0x461819(0x11f)](),_0x7f4c2d[_0x461819(0x335)]();}},_0x4bb8e3;}async['_submitChangeset'](_0x5073fa,_0x1e432f){const _0x1412f7=_0x473efc;let {unitType:_0x2d6889,unitID:_0x23a7f0,changeset:_0x944c3d}=_0x1e432f[_0x1412f7(0x1ab)],_0x430686={'unitID':_0x23a7f0,'memberID':_0x5073fa[_0x1412f7(0x2e0)],'type':_0x2d6889,'changeset':(0x0,_0x3d4600[_0x1412f7(0xeb)])(_0x944c3d)},_0x462b7b=this['_configService'][_0x1412f7(0x205)](_0x1f8831),_0x398bb0=_0x2c930a((_0x462b7b==null?void 0x0:_0x462b7b[_0x1412f7(0x402)])??'/universer-api/comb',_0x2d6889,_0x23a7f0);try{await this[_0x1412f7(0x2b0)]['post'](_0x398bb0,{'body':_0x430686});}catch(_0x19b6b4){throw this[_0x1412f7(0x309)][_0x1412f7(0x3e6)](_0x1412f7(0x332),'submit\x20changeset\x20error!'),_0x19b6b4;}}async[_0x473efc(0xcf)](_0x33ce95){const _0x38d5fb=_0x473efc;let {unitID:_0xc5e4e0,from:_0x84e86f,to:_0x5dcb90,unitType:_0x7ed8c4}=_0x33ce95[_0x38d5fb(0x1ab)];return(await this[_0x38d5fb(0x3f2)][_0x38d5fb(0x3ae)]({'metadata':void 0x0},{'unitID':_0xc5e4e0,'type':_0x7ed8c4,'from':_0x84e86f,'to':_0x5dcb90}))[_0x38d5fb(0x122)]['map'](_0x4e11a8=>((_0x4e11a8[_0x38d5fb(0x237)]===null||_0x4e11a8[_0x38d5fb(0x237)]===void 0x0)&&(_0x4e11a8[_0x38d5fb(0x237)]=[]),_0x4e11a8));}};_0x7e2dbe=_0x4da91b([_0x9a3e23(0x0,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x1,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x4bbb37[_0x473efc(0x1f7)])),_0x9a3e23(0x2,_0x17ede7[_0x473efc(0x201)]),_0x9a3e23(0x3,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0x4,_0x3d4600['ISnapshotServerService'])],_0x7e2dbe);let _0xa5a1c7=(0x0,_0x17ede7[_0x473efc(0x1cb)])(_0x473efc(0x115));function _0x47199c(_0x405e0e={}){const _0x4b44b5=_0x473efc;return _0x405e0e[_0x4b44b5(0xe5)]?{'resolveUnit':_0x405e0e[_0x4b44b5(0xe5)]}:{'resolveUnit':_0x1d3741=>({'target':{'unitId':_0x1d3741[_0x4b44b5(0x298)],'unitType':_0x1d3741[_0x4b44b5(0x19a)]}})};}function _0xe859dc(_0x308ce7,_0x343248,_0x19c857){const _0x56d185=_0x473efc;let _0x359466=_0x19c857[_0x56d185(0x36c)][_0x56d185(0x152)];if(_0x359466!=null&&_0x359466[_0x56d185(0x31f)]()==='')throw Error(_0x56d185(0x104));if(!_0x19c857[_0x56d185(0x36c)]['unitId'])throw Error('COLLABORATION_SESSION_TARGET_UNIT_ID_REQUIRED');return{'localUnitId':_0x308ce7,'unitType':_0x343248,'target':{'endpoint':_0x359466,'unitId':_0x19c857[_0x56d185(0x36c)][_0x56d185(0x298)],'unitType':_0x19c857[_0x56d185(0x36c)]['unitType']??_0x343248},'changeset':_0x19c857[_0x56d185(0x364)]};}let _0x40f859=class extends _0x17ede7[_0x473efc(0x39c)]{constructor(_0x1b060b,_0x513568,_0x5dfb43,_0x2cd9e3,_0x4a2d64,_0x1b13ca,_0x6178e7){const _0x4a9d28=_0x473efc;super(),this[_0x4a9d28(0x28c)]=_0x1b060b,this[_0x4a9d28(0x309)]=_0x513568,this[_0x4a9d28(0x414)]=_0x5dfb43,this[_0x4a9d28(0x2d2)]=_0x2cd9e3,this[_0x4a9d28(0x1fd)]=_0x4a2d64,this[_0x4a9d28(0x221)]=_0x1b13ca,this[_0x4a9d28(0xc0)]=_0x6178e7,_0x17f3d2(this,_0x4a9d28(0x14b),new Map()),_0x17f3d2(this,_0x4a9d28(0x3f6),new Map()),_0x17f3d2(this,'_sessionChannels',new Map()),_0x17f3d2(this,_0x4a9d28(0x3f8),new Map()),_0x17f3d2(this,_0x4a9d28(0x3cc),this[_0x4a9d28(0x274)](void 0x0)[_0x4a9d28(0x3cc)]['asObservable']()),_0x17f3d2(this,_0x4a9d28(0x1d6),new _0x1f9457[(_0x4a9d28(0x3c1))](0x0)),_0x17f3d2(this,_0x4a9d28(0x208),this['_status$']['asObservable']()),this[_0x4a9d28(0x290)]();}[_0x473efc(0x290)](){const _0x14b04e=_0x473efc;this[_0x14b04e(0xc0)]&&this[_0x14b04e(0x12e)](this[_0x14b04e(0xc0)][_0x14b04e(0x1a5)]['subscribe'](_0xd83c4b=>{const _0x3c76c9=_0x14b04e;_0xd83c4b&&this['reconnect'](),_0xd83c4b||this['_socketChannels'][_0x3c76c9(0x343)](_0x3e2f52=>this[_0x3c76c9(0x1c8)](_0x3e2f52));}));}[_0x473efc(0x335)](){const _0x3c16d4=_0x473efc;super[_0x3c16d4(0x335)](),this[_0x3c16d4(0x3f8)][_0x3c16d4(0x343)](_0x34e53a=>{const _0x5b9b17=_0x3c16d4;var _0xe8cc72,_0x2bbff7;(_0xe8cc72=_0x34e53a['socketMessageSubscription'])==null||_0xe8cc72[_0x5b9b17(0x278)](),_0x34e53a[_0x5b9b17(0x33e)]=null,this[_0x5b9b17(0x234)](_0x34e53a),this[_0x5b9b17(0x17e)](_0x34e53a),this['_clearHeartbeatTimer'](_0x34e53a),(_0x2bbff7=_0x34e53a['socket$'][_0x5b9b17(0x2a2)]())==null||_0x2bbff7[_0x5b9b17(0x11f)](),_0x34e53a[_0x5b9b17(0x3cc)][_0x5b9b17(0x403)]();}),this['_socketChannels'][_0x3c16d4(0x40f)](),this['_sessions'][_0x3c16d4(0x343)](_0x4ad072=>_0x4ad072[_0x3c16d4(0x335)]()),this['_sessions']['clear'](),this[_0x3c16d4(0x340)]['clear'](),this['_status$'][_0x3c16d4(0x403)]();}async['requireSession'](_0x5e4c35,_0x3f0cb2){const _0x2030d7=_0x473efc;if(this[_0x2030d7(0x14b)][_0x2030d7(0x406)](_0x5e4c35))return this[_0x2030d7(0x14b)]['get'](_0x5e4c35);let _0x1624c6=this[_0x2030d7(0x3f6)][_0x2030d7(0x3af)](_0x5e4c35);if(_0x1624c6)return _0x1624c6;let _0x2dd264=this[_0x2030d7(0x34f)](_0x5e4c35,_0x3f0cb2);this['_pendingSessions']['set'](_0x5e4c35,_0x2dd264);try{return await _0x2dd264;}finally{this[_0x2030d7(0x3f6)]['delete'](_0x5e4c35);}}async[_0x473efc(0x34f)](_0x333c7e,_0x3cafe6){const _0xe358db=_0x473efc;let _0x16a57a=await this[_0xe358db(0x11d)](_0x333c7e,_0x3cafe6),_0x47ea91=this[_0xe358db(0x274)](_0x16a57a[_0xe358db(0x36c)][_0xe358db(0x152)]);this[_0xe358db(0x1e0)](_0x47ea91);let _0x3bc39c=this[_0xe358db(0x28c)][_0xe358db(0x172)](_0x1fbd86,_0x16a57a,_0x47ea91[_0xe358db(0x3cc)]['asObservable']());return this[_0xe358db(0x14b)][_0xe358db(0x184)](_0x333c7e,_0x3bc39c),this[_0xe358db(0x340)][_0xe358db(0x184)](_0x333c7e,_0x47ea91[_0xe358db(0x20a)]),_0x3bc39c;}[_0x473efc(0x180)](_0x4aba43){const _0x446114=_0x473efc;let _0x28bf0c=this[_0x446114(0x14b)][_0x446114(0x3af)](_0x4aba43),_0x9add0f=this[_0x446114(0x340)]['get'](_0x4aba43);if(_0x28bf0c&&(this[_0x446114(0x14b)]['delete'](_0x4aba43),this[_0x446114(0x340)][_0x446114(0x2ce)](_0x4aba43),_0x28bf0c[_0x446114(0x11f)]()),_0x9add0f&&!this['_hasSessionsForEndpoint'](_0x9add0f)){var _0x4c3f43;let _0x1da1b8=this['_socketChannels'][_0x446114(0x3af)](_0x9add0f);_0x1da1b8==null||(_0x4c3f43=_0x1da1b8[_0x446114(0x3cc)]['getValue']())==null||_0x4c3f43[_0x446114(0x11f)]();}}[_0x473efc(0x325)](){const _0x46aa6b=_0x473efc;(this[_0x46aa6b(0x3f8)][_0x46aa6b(0x3c9)]?[...this['_socketChannels'][_0x46aa6b(0x313)]()]:[this[_0x46aa6b(0x274)](void 0x0)])[_0x46aa6b(0x343)](_0x62c42f=>{const _0x259e02=_0x46aa6b;_0x62c42f['retryCount']=0x0,this[_0x259e02(0x234)](_0x62c42f),this[_0x259e02(0xfd)](_0x62c42f);});}[_0x473efc(0x234)](_0x2fc0ae){const _0x2c9288=_0x473efc;_0x2fc0ae[_0x2c9288(0x2f7)]!=null&&(clearTimeout(_0x2fc0ae['retryConnectingTimer']),_0x2fc0ae[_0x2c9288(0x2f7)]=null);}async[_0x473efc(0x3f4)](_0x70bc8){const _0x1f93f0=_0x473efc;let _0x1555a5=this[_0x1f93f0(0x414)][_0x1f93f0(0x205)](_0x1f8831),_0x1c5df2=_0x70bc8[_0x1f93f0(0x152)]??(_0x1555a5==null?void 0x0:_0x1555a5['collabWebSocketUrl'])??_0x1f93f0(0x22a),_0xfea8d0=await this[_0x1f93f0(0x2d2)][_0x1f93f0(0x3c0)](_0x1c5df2);return _0x70bc8[_0x1f93f0(0x397)]=_0xfea8d0,_0xfea8d0;}async[_0x473efc(0x1e0)](_0xa85515){const _0x5ce5b4=_0x473efc;try{let _0x42d7a5=_0xa85515[_0x5ce5b4(0x3cc)]['getValue']()??_0xa85515[_0x5ce5b4(0x397)]??await this[_0x5ce5b4(0x3f4)](_0xa85515);if(_0x42d7a5){var _0x40db5e;let _0x76245a=_0x42d7a5[_0x5ce5b4(0x10c)];_0x42d7a5[_0x5ce5b4(0x10c)]=_0x55c62d=>(_0x55c62d[_0x5ce5b4(0x258)]!==_0x3d2f85[_0x5ce5b4(0x1c9)][_0x5ce5b4(0x3b7)]&&this['_rescheduleHeartbeat'](_0xa85515),_0x76245a[_0x5ce5b4(0x2a6)](_0x42d7a5,[_0x55c62d])),(_0x40db5e=_0xa85515[_0x5ce5b4(0x33e)])==null||_0x40db5e[_0x5ce5b4(0x278)](),_0xa85515[_0x5ce5b4(0x33e)]=null,_0xa85515[_0x5ce5b4(0x33e)]=_0x42d7a5[_0x5ce5b4(0x38f)][_0x5ce5b4(0x3bf)](_0x5c1487=>this['_onMessage'](_0xa85515,_0x42d7a5,_0x5c1487)),_0x42d7a5[_0x5ce5b4(0x2b4)][_0x5ce5b4(0x2bf)]((0x0,_0x1756fd[_0x5ce5b4(0x207)])(0x1))[_0x5ce5b4(0x3bf)](_0x4bca36=>this[_0x5ce5b4(0x309)][_0x5ce5b4(0x3e6)](_0x5ce5b4(0x27a),_0x4bca36)),_0x42d7a5['open$']['pipe']((0x0,_0x1756fd['take'])(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0xa85515,_0x42d7a5);}),_0x42d7a5[_0x5ce5b4(0x25e)][_0x5ce5b4(0x2bf)]((0x0,_0x1756fd[_0x5ce5b4(0x207)])(0x1))[_0x5ce5b4(0x3bf)](_0x2b4c21=>{const _0x3e6384=_0x5ce5b4;this['_logService']['debug'](_0x3e6384(0x394),_0x3e6384(0x2dd),_0x2b4c21),this[_0x3e6384(0x101)](_0xa85515);});}}catch(_0x399e40){this[_0x5ce5b4(0x309)][_0x5ce5b4(0x3e6)](_0x399e40),this['_onConnectionFailed'](_0xa85515);}}[_0x473efc(0x2af)](_0x1143f3,_0xdcb892){const _0x584535=_0x473efc;this[_0x584535(0x309)][_0x584535(0x2f9)](_0x584535(0x394),_0x584535(0x105)),_0xdcb892[_0x584535(0x10c)]({'cmd':_0x3d2f85['CombCmd'][_0x584535(0x18f)]}),this['_rescheduleHeartbeat'](_0x1143f3);}[_0x473efc(0x1c8)](_0x2d062b){const _0x1168b6=_0x473efc;_0x2d062b[_0x1168b6(0xdf)]=!0x1,_0x2d062b[_0x1168b6(0x397)]=null,this['_status$'][_0x1168b6(0x2f5)](0x2),_0x2d062b[_0x1168b6(0x3cc)][_0x1168b6(0x2f5)](null),this['_clearTimeoutTimer'](_0x2d062b),this['_clearHeartbeatTimer'](_0x2d062b);}[_0x473efc(0x101)](_0x4c3a37){const _0x17b4f8=_0x473efc;this[_0x17b4f8(0x1c8)](_0x4c3a37),this[_0x17b4f8(0x2ac)](_0x4c3a37[_0x17b4f8(0x20a)])&&(_0x4c3a37[_0x17b4f8(0x133)]<(this[_0x17b4f8(0x414)]['getConfig'](_0x17b4f8(0x22e))??0x3)?(this[_0x17b4f8(0x1fd)][_0x17b4f8(0x3b3)]({'id':_0x17b4f8(0x2ed)}),this[_0x17b4f8(0xfd)](_0x4c3a37)):this[_0x17b4f8(0x1fd)][_0x17b4f8(0x3b3)]({'id':_0x17b4f8(0x407)}));}[_0x473efc(0xfd)](_0x362f0e){const _0x915c48=_0x473efc;let _0x26604f=_0x362f0e[_0x915c48(0x133)],_0x14c179=this[_0x915c48(0x414)]['getConfig'](_0x1f8831),_0x1bbf1b=_0x26604f===0x0?0x0:((_0x14c179==null?void 0x0:_0x14c179[_0x915c48(0x12b)])??0x4e20)*0x2**_0x26604f;_0x362f0e[_0x915c48(0x2f7)]=setTimeout(()=>{const _0x43ba25=_0x915c48;clearTimeout(_0x362f0e[_0x43ba25(0x2f7)]),_0x362f0e[_0x43ba25(0x2f7)]=null,this[_0x43ba25(0x1e0)](_0x362f0e);},_0x1bbf1b),_0x362f0e[_0x915c48(0x133)]+=0x1;}async[_0x473efc(0x11d)](_0x239e5c,_0x16e70c){const _0x4a5792=_0x473efc;return _0xe859dc(_0x239e5c,_0x16e70c,await this[_0x4a5792(0x221)][_0x4a5792(0xe5)]({'unitId':_0x239e5c,'unitType':_0x16e70c}));}[_0x473efc(0x1ba)](_0x216357,_0x3b051d,_0x22a1e4){const _0x1fd4ea=_0x473efc;let {cmd:_0x23c32f}=_0x22a1e4;_0x23c32f===_0x3d2f85[_0x1fd4ea(0x1c9)][_0x1fd4ea(0x18f)]&&!_0x216357['socketReady']&&(_0x3b051d[_0x1fd4ea(0x2e0)]=_0x22a1e4['data'][_0x1fd4ea(0x2e0)],_0x216357[_0x1fd4ea(0x3cc)]['next'](_0x3b051d),this['_status$']['next'](0x3),_0x216357[_0x1fd4ea(0xdf)]=!0x0,_0x216357['candidateSocket']=null),_0x23c32f===_0x3d2f85[_0x1fd4ea(0x1c9)][_0x1fd4ea(0x203)]&&this[_0x1fd4ea(0x17e)](_0x216357),this[_0x1fd4ea(0x38c)](_0x216357);}[_0x473efc(0x2ac)](_0x53e0d3){const _0x5ae51b=_0x473efc;return[...this[_0x5ae51b(0x340)]['values']()]['some'](_0x49438a=>_0x49438a===_0x53e0d3);}['_getSocketChannel'](_0x38665e){const _0x205e8a=_0x473efc;let _0x12bb96=_0x38665e??'',_0x255ec6=this[_0x205e8a(0x3f8)][_0x205e8a(0x3af)](_0x12bb96);if(_0x255ec6)return _0x255ec6;let _0x42664f={'endpointKey':_0x12bb96,'endpoint':_0x38665e,'socket$':new _0x1f9457[(_0x205e8a(0x3c1))](void 0x0),'candidateSocket':null,'socketReady':!0x1,'socketMessageSubscription':null,'retryConnectingTimer':null,'retryCount':0x0,'sendHeartbeatTimer':null,'timeoutTimer':null};return this[_0x205e8a(0x3f8)][_0x205e8a(0x184)](_0x12bb96,_0x42664f),_0x42664f;}[_0x473efc(0x38c)](_0x2d6df3){const _0x249795=_0x473efc;this[_0x249795(0x1d1)](_0x2d6df3),_0x2d6df3[_0x249795(0x200)]=setTimeout(()=>this[_0x249795(0x1e9)](_0x2d6df3),this[_0x249795(0x414)][_0x249795(0x205)](_0x249795(0xef))??0x7530);}[_0x473efc(0x1e9)](_0x5c5774){const _0x264ee5=_0x473efc;_0x5c5774['socket$'][_0x264ee5(0x2a2)]()[_0x264ee5(0x10c)]({'cmd':_0x3d2f85['CombCmd']['HEARTBEAT']}),this[_0x264ee5(0x155)](_0x5c5774);}['_waitForHeartbeatResponse'](_0x2692b6){const _0x4afdf8=_0x473efc;_0x2692b6['timeoutTimer']=setTimeout(()=>this[_0x4afdf8(0x101)](_0x2692b6),this[_0x4afdf8(0x414)]['getConfig'](_0x4afdf8(0x2dc))??0x4e20);}[_0x473efc(0x1d1)](_0x1d7bb1){const _0x1d39ac=_0x473efc;_0x1d7bb1[_0x1d39ac(0x200)]!=null&&(clearTimeout(_0x1d7bb1[_0x1d39ac(0x200)]),_0x1d7bb1[_0x1d39ac(0x200)]=null);}[_0x473efc(0x17e)](_0x17b536){const _0x2a6ef=_0x473efc;_0x17b536[_0x2a6ef(0xdc)]!=null&&(clearTimeout(_0x17b536[_0x2a6ef(0xdc)]),_0x17b536[_0x2a6ef(0xdc)]=null);}};_0x40f859=_0x4da91b([_0x9a3e23(0x0,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7['Injector'])),_0x9a3e23(0x1,_0x17ede7['ILogService']),_0x9a3e23(0x2,_0x17ede7[_0x473efc(0x201)]),_0x9a3e23(0x3,_0x2e376b),_0x9a3e23(0x4,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x2d7dce)),_0x9a3e23(0x5,_0xa5a1c7),_0x9a3e23(0x6,(0x0,_0x17ede7['Optional'])(_0x4c48ae))],_0x40f859);let _0x5ea503=class extends _0x17ede7[_0x473efc(0x1a3)]{constructor(_0x3e15cf,_0x566c4d,_0x15a242,_0x53fcf5){const _0x29055e=_0x473efc;var _0x3b8bd5;super(),this[_0x29055e(0x28c)]=_0x3e15cf,this[_0x29055e(0x219)]=_0x566c4d,this['_configService']=_0x15a242,this[_0x29055e(0x171)]=_0x53fcf5,_0x17f3d2(this,_0x29055e(0x34b),new Map()),_0x17f3d2(this,_0x29055e(0x3b6),new _0x1f9457[(_0x29055e(0x2d8))]()),_0x17f3d2(this,_0x29055e(0x265),this['_entityInit$'][_0x29055e(0x1b5)]()),((_0x3b8bd5=this[_0x29055e(0x414)]['getConfig']('collaboration-client.config'))==null?void 0x0:_0x3b8bd5['enableCollaboration'])!==!0x1&&this[_0x29055e(0x215)]();}['dispose'](){const _0x27bbd8=_0x473efc;super[_0x27bbd8(0x335)](),this[_0x27bbd8(0x34b)][_0x27bbd8(0x343)](_0x5bfe6e=>_0x5bfe6e[_0x27bbd8(0x335)]()),this[_0x27bbd8(0x34b)][_0x27bbd8(0x40f)]();}[_0x473efc(0xc5)](_0x374658){const _0x2bc13b=_0x473efc;return this[_0x2bc13b(0x34b)][_0x2bc13b(0x3af)](_0x374658)??null;}['getCollabEntity$'](_0x3b9bc2){const _0x48f0c6=_0x473efc;let _0x4f049d=this['getCollabEntity'](_0x3b9bc2);return _0x4f049d?(0x0,_0x1f9457['of'])(_0x4f049d):this[_0x48f0c6(0x3b6)][_0x48f0c6(0x2bf)]((0x0,_0x1756fd['filter'])(_0x27f637=>_0x27f637['unitID']===_0x3b9bc2));}[_0x473efc(0x24d)](_0x4b6a33){const _0x18e986=_0x473efc;return(0x0,_0x1f9457[_0x18e986(0x2b3)])(this['getCollabEntity$'](_0x4b6a33)[_0x18e986(0x2bf)]((0x0,_0x1756fd[_0x18e986(0xfb)])(()=>void 0x0)));}[_0x473efc(0x215)](){const _0x3f0af9=_0x473efc;this[_0x3f0af9(0x171)][_0x3f0af9(0x256)](_0x17ede7[_0x3f0af9(0x1c0)]['UNIVER_SHEET'])[_0x3f0af9(0x2bf)]((0x0,_0x1f9457[_0x3f0af9(0x28a)])(this[_0x3f0af9(0x2cf)]),(0x0,_0x1756fd[_0x3f0af9(0x250)])(0x10))[_0x3f0af9(0x3bf)](async _0x5b4fcc=>{const _0x1a7b51=_0x3f0af9;let _0x409232=_0x5b4fcc[_0x1a7b51(0x3b2)][_0x1a7b51(0x204)](),_0x2da80b=await this[_0x1a7b51(0x119)](_0x409232,_0x17ede7[_0x1a7b51(0x1c0)]['UNIVER_SHEET']);this['_entities'][_0x1a7b51(0x184)](_0x409232,_0x2da80b);}),this[_0x3f0af9(0x171)][_0x3f0af9(0x256)](_0x17ede7['UniverInstanceType'][_0x3f0af9(0x399)])[_0x3f0af9(0x2bf)]((0x0,_0x1f9457[_0x3f0af9(0x28a)])(this['dispose$']),(0x0,_0x1756fd[_0x3f0af9(0x250)])(0x10))[_0x3f0af9(0x2bf)]((0x0,_0x1756fd['filter'])(_0x34dfe9=>!_0x34dfe9['unit'][_0x3f0af9(0x204)]()[_0x3f0af9(0x1b0)]('__')))[_0x3f0af9(0x3bf)](async _0x1c48c6=>{const _0x33cb92=_0x3f0af9;let _0x19b2ca=_0x1c48c6[_0x33cb92(0x3b2)][_0x33cb92(0x204)](),_0x175089=await this[_0x33cb92(0x119)](_0x19b2ca,_0x17ede7['UniverInstanceType'][_0x33cb92(0x399)]);this[_0x33cb92(0x34b)][_0x33cb92(0x184)](_0x19b2ca,_0x175089);}),this['_univerInstanceService'][_0x3f0af9(0x256)](_0x17ede7[_0x3f0af9(0x1c0)][_0x3f0af9(0xf2)])[_0x3f0af9(0x2bf)]((0x0,_0x1f9457[_0x3f0af9(0x28a)])(this[_0x3f0af9(0x2cf)]),(0x0,_0x1756fd[_0x3f0af9(0x250)])(0x10))[_0x3f0af9(0x3bf)](async _0x537492=>{const _0x3043e0=_0x3f0af9;let _0x5d2ec1=_0x537492[_0x3043e0(0x3b2)][_0x3043e0(0x204)](),_0x4090b4=await this[_0x3043e0(0x119)](_0x5d2ec1,_0x17ede7[_0x3043e0(0x1c0)][_0x3043e0(0xf2)]);this['_entities'][_0x3043e0(0x184)](_0x5d2ec1,_0x4090b4);}),this['_univerInstanceService'][_0x3f0af9(0x256)](_0x17ede7[_0x3f0af9(0x1c0)][_0x3f0af9(0x3b5)])[_0x3f0af9(0x2bf)]((0x0,_0x1f9457['takeUntil'])(this[_0x3f0af9(0x2cf)]),(0x0,_0x1756fd['delay'])(0x10))[_0x3f0af9(0x3bf)](async _0x718e03=>{const _0x531e83=_0x3f0af9;let _0x1a545b=_0x718e03['unit'][_0x531e83(0x204)](),_0x54ae3f=await this[_0x531e83(0x119)](_0x1a545b,_0x17ede7['UniverInstanceType']['UNIVER_BOARD']);this[_0x531e83(0x34b)][_0x531e83(0x184)](_0x1a545b,_0x54ae3f);}),this[_0x3f0af9(0x171)]['getTypeOfUnitAdded$'](_0x17ede7[_0x3f0af9(0x1c0)][_0x3f0af9(0x3e8)])[_0x3f0af9(0x2bf)]((0x0,_0x1f9457[_0x3f0af9(0x28a)])(this[_0x3f0af9(0x2cf)]),(0x0,_0x1756fd[_0x3f0af9(0x250)])(0x10))[_0x3f0af9(0x3bf)](async _0x18bf3e=>{const _0x1be78a=_0x3f0af9;let _0x52721e=_0x18bf3e[_0x1be78a(0x3b2)][_0x1be78a(0x204)](),_0x2e3c41=await this['_startCollaboration'](_0x52721e,_0x17ede7[_0x1be78a(0x1c0)][_0x1be78a(0x3e8)]);this['_entities']['set'](_0x52721e,_0x2e3c41);}),this[_0x3f0af9(0x171)][_0x3f0af9(0x256)](_0x17ede7[_0x3f0af9(0x1c0)][_0x3f0af9(0x1ce)])[_0x3f0af9(0x2bf)]((0x0,_0x1f9457[_0x3f0af9(0x28a)])(this[_0x3f0af9(0x2cf)]),(0x0,_0x1756fd['delay'])(0x10))[_0x3f0af9(0x3bf)](async _0x3694e6=>{const _0x828156=_0x3f0af9;let _0x1c1776=_0x3694e6[_0x828156(0x3b2)][_0x828156(0x204)](),_0x2048a0=await this[_0x828156(0x119)](_0x1c1776,_0x17ede7[_0x828156(0x1c0)][_0x828156(0x1ce)]);this[_0x828156(0x34b)][_0x828156(0x184)](_0x1c1776,_0x2048a0);}),(0x0,_0x1f9457[_0x3f0af9(0x1a2)])(this[_0x3f0af9(0x171)][_0x3f0af9(0x3ef)](_0x17ede7[_0x3f0af9(0x1c0)]['UNIVER_SHEET']),this[_0x3f0af9(0x171)][_0x3f0af9(0x3ef)](_0x17ede7[_0x3f0af9(0x1c0)]['UNIVER_DOC']),this['_univerInstanceService'][_0x3f0af9(0x3ef)](_0x17ede7[_0x3f0af9(0x1c0)][_0x3f0af9(0xf2)]),this[_0x3f0af9(0x171)][_0x3f0af9(0x3ef)](_0x17ede7[_0x3f0af9(0x1c0)][_0x3f0af9(0x3b5)]),this[_0x3f0af9(0x171)]['getTypeOfUnitDisposed$'](_0x17ede7[_0x3f0af9(0x1c0)]['UNIVER_BASE']),this[_0x3f0af9(0x171)][_0x3f0af9(0x3ef)](_0x17ede7[_0x3f0af9(0x1c0)][_0x3f0af9(0x1ce)]))[_0x3f0af9(0x2bf)]((0x0,_0x1f9457['takeUntil'])(this[_0x3f0af9(0x2cf)]))[_0x3f0af9(0x3bf)](_0x5c9017=>{const _0x2fe97b=_0x3f0af9;let _0x3bb2e8=_0x5c9017[_0x2fe97b(0x204)](),_0xfe9a11=this[_0x2fe97b(0x34b)][_0x2fe97b(0x3af)](_0x3bb2e8);_0xfe9a11&&(_0xfe9a11[_0x2fe97b(0x335)](),this[_0x2fe97b(0x34b)]['delete'](_0x3bb2e8));});}async[_0x473efc(0x119)](_0x4b5798,_0x12f2c3){const _0x511bc8=_0x473efc;let _0x3b5d58=await this[_0x511bc8(0x219)][_0x511bc8(0x1ec)](_0x4b5798),_0x5f138d=this[_0x511bc8(0x28c)][_0x511bc8(0x172)](this[_0x511bc8(0x23f)](_0x12f2c3),_0x4b5798,_0x12f2c3,_0x3b5d58);return await _0x5f138d[_0x511bc8(0x233)](),this[_0x511bc8(0x3b6)]['next'](_0x5f138d),_0x5f138d;}['_getCtorByUniverInstanceType'](_0x2afb70){const _0x5bf8ab=_0x473efc;switch(_0x2afb70){case _0x17ede7[_0x5bf8ab(0x1c0)][_0x5bf8ab(0x399)]:return _0x5a3607;case _0x17ede7['UniverInstanceType']['UNIVER_SHEET']:return _0x399b0b;case _0x17ede7[_0x5bf8ab(0x1c0)][_0x5bf8ab(0xf2)]:return _0x7459fd;case _0x17ede7[_0x5bf8ab(0x1c0)][_0x5bf8ab(0x3b5)]:return _0x28070e;case _0x17ede7['UniverInstanceType']['UNIVER_BASE']:return _0x1cfeae;case _0x17ede7[_0x5bf8ab(0x1c0)]['UNIVER_PDF']:return _0x30dd3f;default:throw Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2afb70);}}};_0x5ea503=_0x4da91b([_0x9a3e23(0x0,(0x0,_0x17ede7['Inject'])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x1,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x40f859)),_0x9a3e23(0x2,_0x17ede7[_0x473efc(0x201)]),_0x9a3e23(0x3,_0x17ede7[_0x473efc(0x2c6)])],_0x5ea503);var _0x1f67f4='@univerjs-pro/collaboration-client',_0x27bebf='1.0.0-beta.1';let _0x1b4eea=class extends _0x17ede7[_0x473efc(0x39c)]{constructor(_0x185156,_0x29b415){const _0x65d426=_0x473efc;super(),this[_0x65d426(0x171)]=_0x185156,this[_0x65d426(0x414)]=_0x29b415,this[_0x65d426(0x215)]();}[_0x473efc(0x215)](){const _0x581b93=_0x473efc;this['disposeWithMe'](this[_0x581b93(0x171)][_0x581b93(0x247)]['subscribe'](()=>{const _0xad1d03=_0x581b93;let _0x30b830=this[_0xad1d03(0x171)][_0xad1d03(0x24e)](),_0x25344b=this[_0xad1d03(0x414)][_0xad1d03(0x205)](_0xad1d03(0x15d))??'Univer';_0x30b830 instanceof _0x17ede7['Workbook']&&(_0x25344b=_0x30b830[_0xad1d03(0x40d)]),document[_0xad1d03(0x1d4)]=_0x25344b;}));}};_0x1b4eea=_0x4da91b([_0x9a3e23(0x0,_0x17ede7[_0x473efc(0x2c6)]),_0x9a3e23(0x1,_0x17ede7['IConfigService'])],_0x1b4eea);let _0x189025=(0x0,_0x17ede7[_0x473efc(0x1cb)])('base-ui.attachment-io.service'),_0x5b01a0=class{constructor(_0x548094,_0x4bf46c,_0x29a414){const _0x569f9b=_0x473efc;this[_0x569f9b(0x2b0)]=_0x548094,this[_0x569f9b(0x414)]=_0x4bf46c,this[_0x569f9b(0x171)]=_0x29a414;}[_0x473efc(0x326)](){const _0x6c66af=_0x473efc;return this[_0x6c66af(0x106)]()[_0x6c66af(0x113)]??{};}async[_0x473efc(0x17a)](_0x509dcf){const _0x2e47fc=_0x473efc;let _0x13b481=this[_0x2e47fc(0x326)]();if(_0x1c2984(_0x509dcf,_0x13b481),_0x13b481[_0x2e47fc(0x18b)])return _0x13b481['upload'](_0x509dcf);let _0x38ad7c=await this[_0x2e47fc(0x306)](_0x509dcf);return{'id':_0x38ad7c,'name':_0x509dcf[_0x2e47fc(0x40d)],'mimeType':_0x509dcf['type'],'size':_0x509dcf[_0x2e47fc(0x3c9)],'sourceType':_0x17ede7['ImageSourceType'][_0x2e47fc(0x2aa)],'source':_0x38ad7c};}async[_0x473efc(0x21d)](_0x15dbbd,_0x3ea9c4){const _0x3206cb=_0x473efc;if(_0x3ea9c4!==_0x17ede7['ImageSourceType']['UUID'])return _0x15dbbd;let _0x4d4349=(await this[_0x3206cb(0x2b0)][_0x3206cb(0x3af)](this[_0x3206cb(0x170)]()[_0x3206cb(0x1fe)](_0x3206cb(0x11b),_0x15dbbd)))[_0x3206cb(0xc9)];if(_0x4d4349['error']&&_0x4d4349[_0x3206cb(0x3e6)]['code']!==_0x3d2f85[_0x3206cb(0x135)]['OK'])throw _0x4d4349[_0x3206cb(0x3e6)];if(!_0x4d4349['url'])throw Error(_0x3206cb(0x150));return(0x0,_0x17ede7[_0x3206cb(0x2db)])(_0x4d4349[_0x3206cb(0x38a)],this['_getDownloadEndpointURL']());}async['_upload'](_0x535686){const _0x2d71dd=_0x473efc;let _0x562802=this[_0x2d71dd(0x171)][_0x2d71dd(0x24e)](),_0x1cd9e5=_0x562802==null?void 0x0:_0x562802[_0x2d71dd(0x204)]();if(!_0x1cd9e5)throw Error('[CollaborationAttachmentIoService]:\x20unitId\x20is\x20not\x20found.');let _0x41f97a=new FormData();_0x41f97a[_0x2d71dd(0x10a)](_0x2d71dd(0x280),_0x535686);let _0x15481f=this[_0x2d71dd(0x277)]()+'?size='+_0x535686['size']['toString']()+_0x2d71dd(0x33d)+_0x3d2f85['FileSource'][_0x2d71dd(0xe9)]+_0x2d71dd(0x252)+encodeURIComponent(_0x1cd9e5),_0x2f132d=(await this['_httpService'][_0x2d71dd(0x315)](_0x15481f,{'body':_0x41f97a}))[_0x2d71dd(0xc9)][_0x2d71dd(0x1e2)];if(typeof _0x2f132d!='string'||!_0x2f132d)throw Error(_0x2d71dd(0x321));return _0x2f132d;}[_0x473efc(0x277)](){const _0x5ae96c=_0x473efc;return this[_0x5ae96c(0x106)]()[_0x5ae96c(0x2a1)]??_0x5ae96c(0x2e3);}[_0x473efc(0x170)](){const _0xff2253=_0x473efc;return this[_0xff2253(0x106)]()[_0xff2253(0x18d)]??_0xff2253(0x2f6);}[_0x473efc(0x398)](){const _0x52c151=_0x473efc;let _0x2b6aad=this[_0x52c151(0x106)]();return _0x2b6aad[_0x52c151(0x12c)]?_0x2b6aad['downloadEndpointUrl']:typeof location<'u'?location['origin']:_0x2b6aad[_0x52c151(0x2a1)]??'';}['_getConfig'](){const _0x3bafe1=_0x473efc;return this[_0x3bafe1(0x414)][_0x3bafe1(0x205)](_0x3bafe1(0x310))??{};}};_0x5b01a0=_0x4da91b([_0x9a3e23(0x0,(0x0,_0x17ede7['Inject'])(_0x4bbb37[_0x473efc(0x1f7)])),_0x9a3e23(0x1,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x201)])),_0x9a3e23(0x2,(0x0,_0x17ede7['Inject'])(_0x17ede7['IUniverInstanceService']))],_0x5b01a0);function _0x1c2984(_0x300911,_0x161ccd){const _0x58a2a1=_0x473efc;var _0xb9d415;if(_0x161ccd[_0x58a2a1(0x39a)]!=null&&_0x300911[_0x58a2a1(0x3c9)]>_0x161ccd[_0x58a2a1(0x39a)])throw Error(_0x58a2a1(0x10d));if((_0xb9d415=_0x161ccd[_0x58a2a1(0x2bb)])!=null&&_0xb9d415[_0x58a2a1(0x2b6)]&&!_0x161ccd[_0x58a2a1(0x2bb)][_0x58a2a1(0x26a)](_0x2920de=>_0x300911[_0x58a2a1(0x3d5)]===_0x2920de||_0x300911[_0x58a2a1(0x40d)][_0x58a2a1(0x3e5)](_0x2920de)||_0x2920de[_0x58a2a1(0x3e5)]('/*')&&_0x300911[_0x58a2a1(0x3d5)][_0x58a2a1(0x1b0)](_0x2920de[_0x58a2a1(0xd2)](0x0,-0x1))))throw Error(_0x58a2a1(0x251));}let _0x3780cb=class{constructor(_0x122684,_0x564e0e,_0x3c4449){const _0x77109d=_0x473efc;this[_0x77109d(0x414)]=_0x122684,this[_0x77109d(0x2b0)]=_0x564e0e,this[_0x77109d(0x294)]=_0x3c4449,this['init']();}[_0x473efc(0x233)](){const _0x16856e=_0x473efc;this[_0x16856e(0x2b0)][_0x16856e(0x36a)]({'priority':0x1,'interceptor':(_0x35bb00,_0x1ee959)=>_0x1ee959(_0x35bb00)[_0x16856e(0x2bf)]((0x0,_0x1f9457[_0x16856e(0x2b7)])(async _0x5925c2=>{const _0x232d77=_0x16856e;let _0x5b3ed2=_0x5925c2;if(_0x5b3ed2['status']===0x191){if(typeof window>'u')throw Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x232d77(0x148)](this[_0x232d77(0x294)]['t'](_0x232d77(0x103)))){let _0x1b0fde=window[_0x232d77(0x3f9)](window[_0x232d77(0x3ea)][_0x232d77(0x374)]);window[_0x232d77(0x3ea)][_0x232d77(0x374)]=this[_0x232d77(0x2d7)]()+_0x232d77(0x275)+_0x1b0fde;}}return _0x5b3ed2;}))});}[_0x473efc(0x2d7)](){const _0x205b4c=_0x473efc;let _0x35d4af=this['_configService']['getConfig'](_0x1f8831);return(_0x35d4af==null?void 0x0:_0x35d4af[_0x205b4c(0x19f)])??_0x205b4c(0xff);}};_0x3780cb=_0x4da91b([_0x9a3e23(0x0,_0x17ede7[_0x473efc(0x201)]),_0x9a3e23(0x1,(0x0,_0x17ede7['Inject'])(_0x4bbb37['HTTPService'])),_0x9a3e23(0x2,(0x0,_0x17ede7['Inject'])(_0x17ede7[_0x473efc(0x10e)]))],_0x3780cb);let _0x172c09=class extends _0x17ede7[_0x473efc(0x39c)]{constructor(_0x27ed26,_0x492dea){const _0x160d44=_0x473efc;super(),this[_0x160d44(0x2e4)]=_0x27ed26,this['_configService']=_0x492dea,_0x17f3d2(this,_0x160d44(0x126),!0x1),this[_0x160d44(0x368)]();}['_initMergeInterceptor'](){const _0x489eb2=_0x473efc;let _0x1fb9e2=this;this['disposeWithMe'](this[_0x489eb2(0x2e4)][_0x489eb2(0x36a)]({'priority':0x3e7,'interceptor':(0x0,_0x4bbb37[_0x489eb2(0x3ed)])({'isMatch'(_0x54d35c){const _0x14200c=_0x489eb2;var _0x17ae4f;if(_0x54d35c[_0x14200c(0xd6)]===_0x14200c(0x22b)&&(_0x17ae4f=_0x54d35c[_0x14200c(0x1cd)])!=null&&_0x17ae4f[_0x14200c(0xc9)]){let {objectID:_0x1f99ff,objectType:_0x284927}=_0x54d35c['requestParams'][_0x14200c(0xc9)]||{};if(!_0x1f99ff||_0x284927===void 0x0)return!0x1;let _0x43b78a=_0x1fb9e2[_0x14200c(0x24c)]()+'/'+_0x284927+_0x14200c(0x1a0)+_0x1f99ff+_0x14200c(0x3ab);if(_0x54d35c[_0x14200c(0x38a)]===_0x43b78a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x12d105){const _0x1b13fa=_0x489eb2;var _0x171b82;return(_0x171b82=_0x12d105[_0x1b13fa(0x1cd)])==null?void 0x0:_0x171b82[_0x1b13fa(0xc9)];},'mergeParamsToRequest'(_0x1636db,_0x582c59){const _0x264554=_0x489eb2;let _0xf7dbad=_0x1fb9e2[_0x264554(0x24c)]()+'/-/object/-/batch_allowed',_0x461b29=_0x1636db[_0x264554(0x3dc)]((_0x3b068d,_0x511023)=>{const _0x36d15b=_0x264554;let {unitID:_0x22c937,objectID:_0x49abb5,objectType:_0x3e77c4,actions:_0x5cd039}=_0x511023;return _0x3b068d[_0x22c937]||(_0x3b068d[_0x22c937]={}),_0x3b068d[_0x22c937][_0x49abb5]||(_0x3b068d[_0x22c937][_0x49abb5]={'objectID':_0x49abb5,'objectType':_0x3e77c4,'actions':[]}),_0x3b068d[_0x22c937][_0x49abb5][_0x36d15b(0x1a8)][_0x36d15b(0x283)](..._0x5cd039),_0x3b068d;},{}),_0x2f4181=[];for(let _0x197288 in _0x461b29)for(let _0x59d232 in _0x461b29[_0x197288]){let {actions:_0x57e969,objectType:_0x5af4cf}=_0x461b29[_0x197288][_0x59d232],_0x16f16c=[...new Set(_0x57e969)];_0x2f4181[_0x264554(0x283)]({'unitID':_0x197288,'objectID':_0x59d232,'objectType':_0x5af4cf,'actions':_0x16f16c});}return new _0x4bbb37[(_0x264554(0x238))]('POST',_0xf7dbad,{'headers':_0x582c59[_0x264554(0x3d7)],'withCredentials':_0x582c59[_0x264554(0xf0)],'responseType':_0x582c59[_0x264554(0x261)],'body':{'requests':_0x2f4181}});}},{'distributeResult'(_0x37c920,_0x534cfa){const _0x3212ce=_0x489eb2;let {objectActions:_0xd78e01}=_0x37c920;return _0x534cfa[_0x3212ce(0xfb)](_0xd2fed1=>{const _0x49cb75=_0x3212ce;let {unitID:_0x1f1682,objectID:_0x22183a,actions:_0x4a1ecc}=_0xd2fed1,_0x517583=_0xd78e01[_0x49cb75(0x14e)](_0x249508=>_0x249508[_0x49cb75(0xec)]===_0x1f1682&&_0x249508[_0x49cb75(0x1b3)]===_0x22183a);return{'config':_0xd2fed1,'result':{'actions':_0x4a1ecc['map'](_0x1e7483=>_0x517583==null?void 0x0:_0x517583['actions'][_0x49cb75(0x14e)](_0x53ca73=>_0x53ca73[_0x49cb75(0x18a)]===_0x1e7483))[_0x49cb75(0x30e)](_0x236530=>!!_0x236530),'error':_0x37c920[_0x49cb75(0x3e6)]}};});}})}));}[_0x473efc(0x24c)](){const _0x4cde9a=_0x473efc;let _0x555b1d=this[_0x4cde9a(0x414)]['getConfig'](_0x1f8831);return(_0x555b1d==null?void 0x0:_0x555b1d['authzUrl'])??_0x4cde9a(0x15e);}async[_0x473efc(0x33b)](_0x2a2c30){const _0x3ac798=_0x473efc;let _0x51d829=this['_getAPIPrefixPath']()+'/'+_0x2a2c30[_0x3ac798(0x380)]+_0x3ac798(0x3f7);return(await this[_0x3ac798(0x2e4)]['post'](_0x51d829,{'body':_0x2a2c30}))[_0x3ac798(0xc9)][_0x3ac798(0x1b3)]||'';}async[_0x473efc(0x26e)](_0x13c8c7){const _0xbc62a0=_0x473efc;let _0x6e281a=this[_0xbc62a0(0x24c)]()+_0xbc62a0(0x370);return(await this[_0xbc62a0(0x2e4)][_0xbc62a0(0x315)](_0x6e281a,{'body':_0x13c8c7}))['body'][_0xbc62a0(0x2cd)];}async[_0x473efc(0x269)](_0xd3d8f0){const _0xfd2af1=_0x473efc;var _0x48f03d;let _0x161969=this[_0xfd2af1(0x24c)]()+'/'+_0xd3d8f0[_0xfd2af1(0x380)]+_0xfd2af1(0x1a0)+_0xd3d8f0[_0xfd2af1(0x1b3)],_0xbcf271=await this[_0xfd2af1(0x2e4)][_0xfd2af1(0xfc)](_0x161969,{'body':_0xd3d8f0});if((_0xbcf271==null||(_0x48f03d=_0xbcf271[_0xfd2af1(0xc9)])==null||(_0x48f03d=_0x48f03d[_0xfd2af1(0x3e6)])==null?void 0x0:_0x48f03d[_0xfd2af1(0x3e1)])!==0x1)throw Error(_0xfd2af1(0x311));}async[_0x473efc(0x2a9)](_0xbe1fea){const _0x1c01c5=_0x473efc;let _0x1d0a62=this[_0x1c01c5(0x24c)]()+'/'+_0xbe1fea['objectType']+_0x1c01c5(0x1a0)+_0xbe1fea[_0x1c01c5(0x1b3)]+_0x1c01c5(0x3ab);return(await this['_HTTPService'][_0x1c01c5(0x315)](_0x1d0a62,{'body':_0xbe1fea}))[_0x1c01c5(0xc9)][_0x1c01c5(0x1a8)];}async[_0x473efc(0x3ba)](_0x237a1){const _0x6bb217=_0x473efc;let _0x8d8423=this[_0x6bb217(0x24c)]()+_0x6bb217(0x337);return(await this[_0x6bb217(0x2e4)][_0x6bb217(0x315)](_0x8d8423,{'body':{'requests':_0x237a1}}))[_0x6bb217(0xc9)][_0x6bb217(0x405)];}async['listRoles'](_0x4963e1){const _0x588392=_0x473efc;let _0x23af02=this[_0x588392(0x24c)]()+'/'+_0x4963e1[_0x588392(0x380)]+_0x588392(0x24a),_0x1a56a1=await this['_HTTPService'][_0x588392(0x315)](_0x23af02,{'body':_0x4963e1});return{'roles':_0x1a56a1[_0x588392(0xc9)][_0x588392(0x1c4)],'actions':_0x1a56a1['body']['actions']};}async[_0x473efc(0x242)](_0x46eb05){const _0x4d0dc8=_0x473efc;let _0x3e3694=this[_0x4d0dc8(0x24c)]()+_0x4d0dc8(0xf3);await this[_0x4d0dc8(0x2e4)][_0x4d0dc8(0x2ce)](_0x3e3694,{'params':{'collaboratorID':_0x46eb05['collaboratorID'],'objectID':_0x46eb05[_0x4d0dc8(0x1b3)],'unitID':_0x46eb05[_0x4d0dc8(0xec)]}});}async[_0x473efc(0x3d3)](_0x52ab53){const _0x36d145=_0x473efc;let _0xf7d5aa=this[_0x36d145(0x24c)]()+_0x36d145(0xf3);await this[_0x36d145(0x2e4)][_0x36d145(0x128)](_0xf7d5aa,{'body':_0x52ab53});}async['createCollaborator'](_0x20f5b7){const _0x3439bb=_0x473efc;let _0x30882b=this[_0x3439bb(0x24c)]()+'/collaborator';await this['_HTTPService']['post'](_0x30882b,{'body':_0x20f5b7});}async[_0x473efc(0xf4)](_0x540506){const _0x5e6ad0=_0x473efc;let _0x486f63=this[_0x5e6ad0(0x24c)]()+_0x5e6ad0(0xf3),_0x3fa609=await this['_HTTPService'][_0x5e6ad0(0x3af)](_0x486f63,{'params':{'objectID':_0x540506[_0x5e6ad0(0x1b3)],'unitID':_0x540506[_0x5e6ad0(0xec)]}});return this['setCfgEnableObjInherit'](_0x3fa609[_0x5e6ad0(0xc9)]['cfgEnableObjInherit']??!0x1),_0x3fa609[_0x5e6ad0(0xc9)]['collaborators'];}async[_0x473efc(0x1af)](_0x21b990){const _0x308be9=_0x473efc;let _0x456d2c=this[_0x308be9(0x24c)]()+_0x308be9(0xf3);await this[_0x308be9(0x2e4)][_0x308be9(0xfc)](_0x456d2c,{'body':_0x21b990});}[_0x473efc(0x346)](_0x594574){const _0x24d698=_0x473efc;this[_0x24d698(0x126)]=_0x594574;}[_0x473efc(0xd0)](){const _0x51a1e0=_0x473efc;return this[_0x51a1e0(0x126)];}};_0x172c09=_0x4da91b([_0x9a3e23(0x0,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x4bbb37['HTTPService'])),_0x9a3e23(0x1,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x201)]))],_0x172c09);function _0x144df6(_0x167c42){const _0x5ebd49=_0x473efc;return _0x167c42 instanceof Uint8Array||ArrayBuffer[_0x5ebd49(0xd5)](_0x167c42)&&_0x167c42[_0x5ebd49(0x2c5)][_0x5ebd49(0x40d)]===_0x5ebd49(0x1b6)&&_0x5ebd49(0x13c)in _0x167c42&&_0x167c42[_0x5ebd49(0x13c)]===0x1;}function _0x55ea55(_0x177fd0){const _0x792eb3=_0x473efc;if(typeof _0x177fd0!=_0x792eb3(0x3cb))throw TypeError(_0x792eb3(0x130)+typeof _0x177fd0);if(!Number[_0x792eb3(0x131)](_0x177fd0)||_0x177fd0<0x0)throw RangeError(_0x792eb3(0x116)+_0x177fd0);}function _0x1ba694(_0x59b1f0,_0x5aa928,_0x578c11=''){const _0xc84493=_0x473efc;let _0x5147a4=_0x144df6(_0x59b1f0),_0x3cfbf7=_0x59b1f0==null?void 0x0:_0x59b1f0['length'],_0x32e6a2=_0x5aa928!==void 0x0;if(!_0x5147a4||_0x32e6a2&&_0x3cfbf7!==_0x5aa928){let _0x2c53c9=_0x578c11&&'\x22'+_0x578c11+'\x22\x20',_0xb8273d=_0x32e6a2?'\x20of\x20length\x20'+_0x5aa928:'',_0x4b46db=_0x5147a4?_0xc84493(0x1d7)+_0x3cfbf7:_0xc84493(0x357)+typeof _0x59b1f0,_0x1a3b4b=_0x2c53c9+_0xc84493(0x1d5)+_0xb8273d+_0xc84493(0x2ee)+_0x4b46db;throw _0x5147a4?RangeError(_0x1a3b4b):TypeError(_0x1a3b4b);}return _0x59b1f0;}function _0x41c118(_0x46e33b){const _0x5e64e6=_0x473efc;return new Uint32Array(_0x46e33b[_0x5e64e6(0x285)],_0x46e33b['byteOffset'],Math[_0x5e64e6(0x312)](_0x46e33b[_0x5e64e6(0x1ff)]/0x4));}function _0x2423b8(..._0x3b528a){const _0x4e20db=_0x473efc;for(let _0x1ff212=0x0;_0x1ff212<_0x3b528a[_0x4e20db(0x2b6)];_0x1ff212++)_0x3b528a[_0x1ff212]['fill'](0x0);}let _0x55f104=new Uint8Array(new Uint32Array([0x11223344])[_0x473efc(0x285)])[0x0]===0x44,_0x490465=_0x303280=>_0x303280<<0x18&0xff000000|_0x303280<<0x8&0xff0000|_0x303280>>>0x8&0xff00|_0x303280>>>0x18&0xff,_0x4bff9e=_0x55f104?_0x2b632e=>_0x2b632e:_0x56a366=>{const _0x190cc8=_0x473efc;for(let _0x31d1b7=0x0;_0x31d1b7<_0x56a366[_0x190cc8(0x2b6)];_0x31d1b7++)_0x56a366[_0x31d1b7]=_0x490465(_0x56a366[_0x31d1b7]);return _0x56a366;};function _0x1838a9(_0x217941){const _0x49ea81=_0x473efc;if(typeof _0x217941!=_0x49ea81(0x2fb))throw TypeError(_0x49ea81(0x177));return new Uint8Array(new TextEncoder()[_0x49ea81(0xf5)](_0x217941));}function _0x203c7a(_0x49d22f,_0x209b25){const _0x4283c9=_0x473efc;return!_0x49d22f[_0x4283c9(0x1ff)]||!_0x209b25[_0x4283c9(0x1ff)]?!0x1:_0x49d22f['buffer']===_0x209b25[_0x4283c9(0x285)]&&_0x49d22f['byteOffset']<_0x209b25[_0x4283c9(0x390)]+_0x209b25[_0x4283c9(0x1ff)]&&_0x209b25[_0x4283c9(0x390)]<_0x49d22f['byteOffset']+_0x49d22f['byteLength'];}function _0x36ea5f(_0xbe89af,_0x3ec588){const _0x3f0faf=_0x473efc;if(_0x203c7a(_0xbe89af,_0x3ec588)&&_0xbe89af[_0x3f0faf(0x390)]<_0x3ec588['byteOffset'])throw Error(_0x3f0faf(0x376));}function _0x58bcca(..._0x480888){const _0x522d3f=_0x473efc;let _0x1cb4f9=0x0;for(let _0x1f0cbe=0x0;_0x1f0cbe<_0x480888[_0x522d3f(0x2b6)];_0x1f0cbe++){let _0x4d6008=_0x480888[_0x1f0cbe];_0x1ba694(_0x4d6008),_0x1cb4f9+=_0x4d6008[_0x522d3f(0x2b6)];}let _0x20c616=new Uint8Array(_0x1cb4f9);for(let _0x161956=0x0,_0x24fc87=0x0;_0x161956<_0x480888[_0x522d3f(0x2b6)];_0x161956++){let _0x5d2b0c=_0x480888[_0x161956];_0x20c616[_0x522d3f(0x184)](_0x5d2b0c,_0x24fc87),_0x24fc87+=_0x5d2b0c[_0x522d3f(0x2b6)];}return _0x20c616;}let _0x50e0cb=(_0x40d5ee,_0x4e7ab3)=>{const _0x10151e=_0x473efc;function _0xe51498(_0x2831c6,..._0x71da69){const _0x23c7dd=_0x2dd0;if(_0x1ba694(_0x2831c6,void 0x0,_0x23c7dd(0x1b1)),_0x40d5ee[_0x23c7dd(0x34a)]!==void 0x0){let _0x469e10=_0x71da69[0x0];_0x1ba694(_0x469e10,_0x40d5ee[_0x23c7dd(0x32e)]?void 0x0:_0x40d5ee[_0x23c7dd(0x34a)],_0x23c7dd(0x23a));}let _0x4793f5=_0x40d5ee[_0x23c7dd(0x3fd)];_0x4793f5&&_0x71da69[0x1]!==void 0x0&&_0x1ba694(_0x71da69[0x1],void 0x0,_0x23c7dd(0x304));let _0x5c8477=_0x4e7ab3(_0x2831c6,..._0x71da69),_0x1f526b=(_0x4e7508,_0x4a0ba5)=>{const _0x263e3a=_0x23c7dd;if(_0x4a0ba5!==void 0x0){if(_0x4e7508!==0x2)throw Error('cipher\x20output\x20not\x20supported');_0x1ba694(_0x4a0ba5,void 0x0,_0x263e3a(0x353));}},_0x36d2fd=!0x1;return{'encrypt'(_0x57aa17,_0x1fb59b){const _0x564544=_0x23c7dd;if(_0x36d2fd)throw Error(_0x564544(0x1d3));return _0x36d2fd=!0x0,_0x1ba694(_0x57aa17),_0x1f526b(_0x5c8477[_0x564544(0x393)]['length'],_0x1fb59b),_0x5c8477[_0x564544(0x393)](_0x57aa17,_0x1fb59b);},'decrypt'(_0x3db4b5,_0x1c581d){const _0x3e8b18=_0x23c7dd;if(_0x1ba694(_0x3db4b5),_0x4793f5&&_0x3db4b5['length']<_0x4793f5)throw Error(_0x3e8b18(0x1f8)+_0x4793f5);return _0x1f526b(_0x5c8477[_0x3e8b18(0x245)][_0x3e8b18(0x2b6)],_0x1c581d),_0x5c8477[_0x3e8b18(0x245)](_0x3db4b5,_0x1c581d);}};}return Object[_0x10151e(0x1eb)](_0xe51498,_0x40d5ee),_0xe51498;};function _0x528a5f(_0x29cb40,_0x2b7e7f,_0x4efbaf=!0x0){const _0x4038d3=_0x473efc;if(_0x2b7e7f===void 0x0)return new Uint8Array(_0x29cb40);if(_0x1ba694(_0x2b7e7f,void 0x0,'output'),_0x2b7e7f[_0x4038d3(0x2b6)]!==_0x29cb40)throw Error('\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20'+_0x29cb40+_0x4038d3(0x1ed)+_0x2b7e7f[_0x4038d3(0x2b6)]);if(_0x4efbaf&&!_0x2adbb1(_0x2b7e7f))throw Error(_0x4038d3(0xee));return _0x2b7e7f;}function _0x2adbb1(_0x241dd0){const _0x50809d=_0x473efc;return _0x241dd0[_0x50809d(0x390)]%0x4==0x0;}function _0x7b02af(_0x22ac6b){return Uint8Array['from'](_0x1ba694(_0x22ac6b));}function _0x4d70c7(_0x2b7019=0x20){const _0x471242=_0x473efc;_0x55ea55(_0x2b7019);let _0x46ec17=typeof globalThis==_0x471242(0x3c6)?globalThis[_0x471242(0x292)]:null;if(typeof(_0x46ec17==null?void 0x0:_0x46ec17[_0x471242(0x26f)])!=_0x471242(0x1d0))throw Error(_0x471242(0xcd));return _0x46ec17['getRandomValues'](new Uint8Array(_0x2b7019));}function _0xf3b63d(_0x4d04ee){if(![0x10,0x18,0x20]['includes'](_0x4d04ee['length']))throw Error('\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length='+_0x4d04ee['length']);}function _0x146f0f(_0x834536){return _0x834536<<0x1^0x11b&-(_0x834536>>0x7);}function _0x204d1d(_0x1e335b,_0x37e749){let _0x19c5b7=0x0;for(;_0x37e749>0x0;_0x37e749>>=0x1)_0x19c5b7^=_0x1e335b&-(_0x37e749&0x1),_0x1e335b=_0x146f0f(_0x1e335b);return _0x19c5b7;}let _0x145c08=((()=>{let _0x239b3f=new Uint8Array(0x100);for(let _0x3a4c25=0x0,_0xdb36d8=0x1;_0x3a4c25<0x100;_0x3a4c25++,_0xdb36d8^=_0x146f0f(_0xdb36d8))_0x239b3f[_0x3a4c25]=_0xdb36d8;let _0x227465=new Uint8Array(0x100);_0x227465[0x0]=0x63;for(let _0x53036b=0x0;_0x53036b<0xff;_0x53036b++){let _0x2b913f=_0x239b3f[0xff-_0x53036b];_0x2b913f|=_0x2b913f<<0x8,_0x227465[_0x239b3f[_0x53036b]]=(_0x2b913f^_0x2b913f>>0x4^_0x2b913f>>0x5^_0x2b913f>>0x6^_0x2b913f>>0x7^0x63)&0xff;}return _0x2423b8(_0x239b3f),_0x227465;})()),_0x2a7bfd=_0x145c08[_0x473efc(0xfb)]((_0x1ed0cf,_0x45cce0)=>_0x145c08[_0x473efc(0x2b8)](_0x45cce0)),_0x1e75a6=_0x576856=>_0x576856<<0x18|_0x576856>>>0x8,_0x1082eb=_0x491f16=>_0x491f16<<0x8|_0x491f16>>>0x18;function _0x4d27d8(_0x341a80,_0x34f778){const _0x5dd4f5=_0x473efc;if(_0x341a80[_0x5dd4f5(0x2b6)]!==0x100)throw Error('Wrong\x20sbox\x20length');let _0xf86595=new Uint32Array(0x100)[_0x5dd4f5(0xfb)]((_0x44523e,_0x2db47f)=>_0x34f778(_0x341a80[_0x2db47f])),_0x140141=_0xf86595[_0x5dd4f5(0xfb)](_0x1082eb),_0x28d5c0=_0x140141['map'](_0x1082eb),_0x599927=_0x28d5c0[_0x5dd4f5(0xfb)](_0x1082eb),_0x529695=new Uint32Array(0x100*0x100),_0x4004c4=new Uint32Array(0x100*0x100),_0x5287a1=new Uint16Array(0x100*0x100);for(let _0x24ee6f=0x0;_0x24ee6f<0x100;_0x24ee6f++)for(let _0x2f841e=0x0;_0x2f841e<0x100;_0x2f841e++){let _0x5e46c9=_0x24ee6f*0x100+_0x2f841e;_0x529695[_0x5e46c9]=_0xf86595[_0x24ee6f]^_0x140141[_0x2f841e],_0x4004c4[_0x5e46c9]=_0x28d5c0[_0x24ee6f]^_0x599927[_0x2f841e],_0x5287a1[_0x5e46c9]=_0x341a80[_0x24ee6f]<<0x8|_0x341a80[_0x2f841e];}return{'sbox':_0x341a80,'sbox2':_0x5287a1,'T0':_0xf86595,'T1':_0x140141,'T2':_0x28d5c0,'T3':_0x599927,'T01':_0x529695,'T23':_0x4004c4};}let _0x4bbc3b=_0x4d27d8(_0x145c08,_0x5a1f62=>_0x204d1d(_0x5a1f62,0x3)<<0x18|_0x5a1f62<<0x10|_0x5a1f62<<0x8|_0x204d1d(_0x5a1f62,0x2)),_0x4c301e=_0x4d27d8(_0x2a7bfd,_0x3bdf82=>_0x204d1d(_0x3bdf82,0xb)<<0x18|_0x204d1d(_0x3bdf82,0xd)<<0x10|_0x204d1d(_0x3bdf82,0x9)<<0x8|_0x204d1d(_0x3bdf82,0xe)),_0x57e723=((()=>{let _0x502a4b=new Uint8Array(0x10);for(let _0x3fcb94=0x0,_0x3cb262=0x1;_0x3fcb94<0x10;_0x3fcb94++,_0x3cb262=_0x146f0f(_0x3cb262))_0x502a4b[_0x3fcb94]=_0x3cb262;return _0x502a4b;})());function _0x2b9020(_0x4eadd5){const _0x4e67f7=_0x473efc;_0x1ba694(_0x4eadd5);let _0x3b7ad7=_0x4eadd5[_0x4e67f7(0x2b6)];_0xf3b63d(_0x4eadd5);let {sbox2:_0x55f77c}=_0x4bbc3b,_0x10de22=[];(!_0x55f104||!_0x2adbb1(_0x4eadd5))&&_0x10de22['push'](_0x4eadd5=_0x7b02af(_0x4eadd5));let _0x36f454=_0x4bff9e(_0x41c118(_0x4eadd5)),_0x5c5c77=_0x36f454[_0x4e67f7(0x2b6)],_0x5855ae=_0x2bd688=>_0x22d989(_0x55f77c,_0x2bd688,_0x2bd688,_0x2bd688,_0x2bd688),_0x25f121=new Uint32Array(_0x3b7ad7+0x1c);_0x25f121[_0x4e67f7(0x184)](_0x36f454);for(let _0x66a86e=_0x5c5c77;_0x66a86e<_0x25f121['length'];_0x66a86e++){let _0x538091=_0x25f121[_0x66a86e-0x1];_0x66a86e%_0x5c5c77===0x0?_0x538091=_0x5855ae(_0x1e75a6(_0x538091))^_0x57e723[_0x66a86e/_0x5c5c77-0x1]:_0x5c5c77>0x6&&_0x66a86e%_0x5c5c77===0x4&&(_0x538091=_0x5855ae(_0x538091)),_0x25f121[_0x66a86e]=_0x25f121[_0x66a86e-_0x5c5c77]^_0x538091;}return _0x2423b8(..._0x10de22),_0x25f121;}function _0x1682fa(_0x935716){const _0x63775c=_0x473efc;let _0x51a2ef=_0x2b9020(_0x935716),_0x1f63c9=_0x51a2ef[_0x63775c(0xd2)](),_0x3bd4a2=_0x51a2ef[_0x63775c(0x2b6)],{sbox2:_0x1cf0e5}=_0x4bbc3b,{T0:_0x17cf1a,T1:_0x4facb4,T2:_0x1b379b,T3:_0x10987d}=_0x4c301e;for(let _0x120d3f=0x0;_0x120d3f<_0x3bd4a2;_0x120d3f+=0x4)for(let _0x3f0c16=0x0;_0x3f0c16<0x4;_0x3f0c16++)_0x1f63c9[_0x120d3f+_0x3f0c16]=_0x51a2ef[_0x3bd4a2-_0x120d3f-0x4+_0x3f0c16];_0x2423b8(_0x51a2ef);for(let _0x59a4ee=0x4;_0x59a4ee<_0x3bd4a2-0x4;_0x59a4ee++){let _0x39784e=_0x1f63c9[_0x59a4ee],_0x317de6=_0x22d989(_0x1cf0e5,_0x39784e,_0x39784e,_0x39784e,_0x39784e);_0x1f63c9[_0x59a4ee]=_0x17cf1a[_0x317de6&0xff]^_0x4facb4[_0x317de6>>>0x8&0xff]^_0x1b379b[_0x317de6>>>0x10&0xff]^_0x10987d[_0x317de6>>>0x18];}return _0x1f63c9;}function _0x3c6194(_0x5a987a,_0x5ece1c,_0x41a0c6,_0x2f1c19,_0x436404,_0x266052){return _0x5a987a[_0x41a0c6<<0x8&0xff00|_0x2f1c19>>>0x8&0xff]^_0x5ece1c[_0x436404>>>0x8&0xff00|_0x266052>>>0x18&0xff];}function _0x22d989(_0x162cb7,_0x5769b9,_0x6445fb,_0x4ae97c,_0x58975b){return _0x162cb7[_0x5769b9&0xff|_0x6445fb&0xff00]|_0x162cb7[_0x4ae97c>>>0x10&0xff|_0x58975b>>>0x10&0xff00]<<0x10;}function _0x138c25(_0xf85c9b,_0x4a3529,_0xac3e35,_0xa332ac,_0x499a6b){let {sbox2:_0x306949,T01:_0x56541e,T23:_0x5c2e63}=_0x4bbc3b,_0xbaaed3=0x0;_0x4a3529^=_0xf85c9b[_0xbaaed3++],_0xac3e35^=_0xf85c9b[_0xbaaed3++],_0xa332ac^=_0xf85c9b[_0xbaaed3++],_0x499a6b^=_0xf85c9b[_0xbaaed3++];let _0x2e143c=_0xf85c9b['length']/0x4-0x2;for(let _0x1dc720=0x0;_0x1dc720<_0x2e143c;_0x1dc720++){let _0xfa3ca1=_0xf85c9b[_0xbaaed3++]^_0x3c6194(_0x56541e,_0x5c2e63,_0x4a3529,_0xac3e35,_0xa332ac,_0x499a6b),_0x51c09c=_0xf85c9b[_0xbaaed3++]^_0x3c6194(_0x56541e,_0x5c2e63,_0xac3e35,_0xa332ac,_0x499a6b,_0x4a3529),_0x3d2b1d=_0xf85c9b[_0xbaaed3++]^_0x3c6194(_0x56541e,_0x5c2e63,_0xa332ac,_0x499a6b,_0x4a3529,_0xac3e35),_0x4a4fce=_0xf85c9b[_0xbaaed3++]^_0x3c6194(_0x56541e,_0x5c2e63,_0x499a6b,_0x4a3529,_0xac3e35,_0xa332ac);_0x4a3529=_0xfa3ca1,_0xac3e35=_0x51c09c,_0xa332ac=_0x3d2b1d,_0x499a6b=_0x4a4fce;}return{'s0':_0xf85c9b[_0xbaaed3++]^_0x22d989(_0x306949,_0x4a3529,_0xac3e35,_0xa332ac,_0x499a6b),'s1':_0xf85c9b[_0xbaaed3++]^_0x22d989(_0x306949,_0xac3e35,_0xa332ac,_0x499a6b,_0x4a3529),'s2':_0xf85c9b[_0xbaaed3++]^_0x22d989(_0x306949,_0xa332ac,_0x499a6b,_0x4a3529,_0xac3e35),'s3':_0xf85c9b[_0xbaaed3++]^_0x22d989(_0x306949,_0x499a6b,_0x4a3529,_0xac3e35,_0xa332ac)};}function _0x30e2c1(_0x4959c5,_0x647bfe,_0xe82bed,_0x165983,_0x1839db){const _0x16add1=_0x473efc;let {sbox2:_0x2ed5b2,T01:_0x354bec,T23:_0x2b852f}=_0x4c301e,_0x1a57cd=0x0;_0x647bfe^=_0x4959c5[_0x1a57cd++],_0xe82bed^=_0x4959c5[_0x1a57cd++],_0x165983^=_0x4959c5[_0x1a57cd++],_0x1839db^=_0x4959c5[_0x1a57cd++];let _0x3e40eb=_0x4959c5[_0x16add1(0x2b6)]/0x4-0x2;for(let _0x587534=0x0;_0x587534<_0x3e40eb;_0x587534++){let _0x192f2f=_0x4959c5[_0x1a57cd++]^_0x3c6194(_0x354bec,_0x2b852f,_0x647bfe,_0x1839db,_0x165983,_0xe82bed),_0x28aad4=_0x4959c5[_0x1a57cd++]^_0x3c6194(_0x354bec,_0x2b852f,_0xe82bed,_0x647bfe,_0x1839db,_0x165983),_0xae36f=_0x4959c5[_0x1a57cd++]^_0x3c6194(_0x354bec,_0x2b852f,_0x165983,_0xe82bed,_0x647bfe,_0x1839db),_0x381c70=_0x4959c5[_0x1a57cd++]^_0x3c6194(_0x354bec,_0x2b852f,_0x1839db,_0x165983,_0xe82bed,_0x647bfe);_0x647bfe=_0x192f2f,_0xe82bed=_0x28aad4,_0x165983=_0xae36f,_0x1839db=_0x381c70;}return{'s0':_0x4959c5[_0x1a57cd++]^_0x22d989(_0x2ed5b2,_0x647bfe,_0x1839db,_0x165983,_0xe82bed),'s1':_0x4959c5[_0x1a57cd++]^_0x22d989(_0x2ed5b2,_0xe82bed,_0x647bfe,_0x1839db,_0x165983),'s2':_0x4959c5[_0x1a57cd++]^_0x22d989(_0x2ed5b2,_0x165983,_0xe82bed,_0x647bfe,_0x1839db),'s3':_0x4959c5[_0x1a57cd++]^_0x22d989(_0x2ed5b2,_0x1839db,_0x165983,_0xe82bed,_0x647bfe)};}function _0x2c3ff3(_0x161692){const _0x9bf6cb=_0x473efc;if(_0x1ba694(_0x161692),_0x161692[_0x9bf6cb(0x2b6)]%0x10!=0x0)throw Error(_0x9bf6cb(0x2fc));}function _0x57580a(_0x4a5a32,_0x3d2dbc,_0x29df4a){const _0x53b9f9=_0x473efc;_0x1ba694(_0x4a5a32);let _0x4bd699=_0x4a5a32[_0x53b9f9(0x2b6)],_0x4c94c5=_0x4bd699%0x10;if(!_0x3d2dbc&&_0x4c94c5!==0x0)throw Error(_0x53b9f9(0x144));if(_0x3d2dbc){let _0x490ada=0x10-_0x4c94c5;_0x490ada||=0x10,_0x4bd699+=_0x490ada;}_0x29df4a=_0x528a5f(_0x4bd699,_0x29df4a),_0x36ea5f(_0x4a5a32,_0x29df4a),(!_0x55f104||!_0x2adbb1(_0x4a5a32))&&(_0x4a5a32=_0x7b02af(_0x4a5a32));let _0x38f31c=_0x41c118(_0x4a5a32);return _0x4bff9e(_0x38f31c),{'b':_0x38f31c,'o':_0x41c118(_0x29df4a),'out':_0x29df4a};}function _0x3a3f1b(_0x489fe8,_0x2ec616){const _0x5c5370=_0x473efc;if(!_0x2ec616)return _0x489fe8;let _0xd1238d=_0x489fe8[_0x5c5370(0x2b6)];if(_0xd1238d===0x0)throw Error(_0x5c5370(0x25d));let _0x226c05=_0x489fe8[_0xd1238d-0x1],_0x2774a7=0x1;_0x2774a7&=_0x226c05-0x1>>>0x1f^0x1,_0x2774a7&=0x10-_0x226c05>>>0x1f^0x1;for(let _0x17b7d2=0x0;_0x17b7d2<0x10;_0x17b7d2++){let _0x1252dd=_0x17b7d2-_0x226c05>>>0x1f,_0x4a9b66=+((_0x489fe8[_0xd1238d-0x1-_0x17b7d2]^_0x226c05)===0x0);_0x2774a7&=_0x4a9b66|_0x1252dd^0x1;}if(!_0x2774a7)throw Error(_0x5c5370(0x2fa));return _0x489fe8[_0x5c5370(0x17b)](0x0,_0xd1238d-_0x226c05);}function _0x50fb98(_0x24b11e){const _0x312bf1=_0x473efc;let _0x2341b9=new Uint8Array(0x10),_0x939141=_0x41c118(_0x2341b9);_0x2341b9[_0x312bf1(0x184)](_0x24b11e);let _0x388e52=0x10-_0x24b11e[_0x312bf1(0x2b6)];for(let _0x2287cf=0x10-_0x388e52;_0x2287cf<0x10;_0x2287cf++)_0x2341b9[_0x2287cf]=_0x388e52;return _0x939141;}let _0x39eaa2=_0x50e0cb({'blockSize':0x10,'nonceLength':0x10},function(_0x58ecee,_0x169a80,_0x2604ab={}){const _0x1d98c7=_0x473efc;let _0x352aec=!_0x2604ab[_0x1d98c7(0x342)];return{'encrypt'(_0x100cf5,_0x256bae){const _0x2533ba=_0x1d98c7;let _0x351888=_0x2b9020(_0x58ecee),{b:_0x401b86,o:_0x36030e,out:_0x3a2383}=_0x57580a(_0x100cf5,_0x352aec,_0x256bae),_0x13e61d=_0x169a80,_0x2c963e=[_0x351888];(!_0x55f104||!_0x2adbb1(_0x13e61d))&&_0x2c963e[_0x2533ba(0x283)](_0x13e61d=_0x7b02af(_0x13e61d));let _0x1f39ec=_0x41c118(_0x13e61d);_0x4bff9e(_0x1f39ec);let _0x4d7f09=_0x1f39ec[0x0],_0x244d46=_0x1f39ec[0x1],_0x4f618d=_0x1f39ec[0x2],_0x19fd72=_0x1f39ec[0x3],_0x5a5c55=0x0;for(;_0x5a5c55+0x4<=_0x401b86['length'];)_0x4d7f09^=_0x401b86[_0x5a5c55+0x0],_0x244d46^=_0x401b86[_0x5a5c55+0x1],_0x4f618d^=_0x401b86[_0x5a5c55+0x2],_0x19fd72^=_0x401b86[_0x5a5c55+0x3],{s0:_0x4d7f09,s1:_0x244d46,s2:_0x4f618d,s3:_0x19fd72}=_0x138c25(_0x351888,_0x4d7f09,_0x244d46,_0x4f618d,_0x19fd72),_0x36030e[_0x5a5c55++]=_0x4d7f09,_0x36030e[_0x5a5c55++]=_0x244d46,_0x36030e[_0x5a5c55++]=_0x4f618d,_0x36030e[_0x5a5c55++]=_0x19fd72;if(_0x352aec){let _0xd6d791=_0x50fb98(_0x100cf5[_0x2533ba(0x17b)](_0x5a5c55*0x4));_0x4bff9e(_0xd6d791),_0x4d7f09^=_0xd6d791[0x0],_0x244d46^=_0xd6d791[0x1],_0x4f618d^=_0xd6d791[0x2],_0x19fd72^=_0xd6d791[0x3],{s0:_0x4d7f09,s1:_0x244d46,s2:_0x4f618d,s3:_0x19fd72}=_0x138c25(_0x351888,_0x4d7f09,_0x244d46,_0x4f618d,_0x19fd72),_0x36030e[_0x5a5c55++]=_0x4d7f09,_0x36030e[_0x5a5c55++]=_0x244d46,_0x36030e[_0x5a5c55++]=_0x4f618d,_0x36030e[_0x5a5c55++]=_0x19fd72;}return _0x4bff9e(_0x36030e),_0x2423b8(..._0x2c963e),_0x3a2383;},'decrypt'(_0x449926,_0x5d81b2){const _0x28f45a=_0x1d98c7;_0x2c3ff3(_0x449926);let _0x33da1f=_0x1682fa(_0x58ecee),_0x30ac64=_0x169a80,_0x24b137=[_0x33da1f];(!_0x55f104||!_0x2adbb1(_0x30ac64))&&_0x24b137['push'](_0x30ac64=_0x7b02af(_0x30ac64));let _0xdf1a1f=_0x41c118(_0x30ac64);_0x4bff9e(_0xdf1a1f),_0x5d81b2=_0x528a5f(_0x449926[_0x28f45a(0x2b6)],_0x5d81b2),_0x36ea5f(_0x449926,_0x5d81b2),(!_0x55f104||!_0x2adbb1(_0x449926))&&_0x24b137[_0x28f45a(0x283)](_0x449926=_0x7b02af(_0x449926));let _0x5a40fd=_0x41c118(_0x449926),_0xba52c6=_0x41c118(_0x5d81b2);_0x4bff9e(_0x5a40fd);let _0x33d514=_0xdf1a1f[0x0],_0x18031e=_0xdf1a1f[0x1],_0x592493=_0xdf1a1f[0x2],_0x5585d9=_0xdf1a1f[0x3];for(let _0x2194a7=0x0;_0x2194a7+0x4<=_0x5a40fd[_0x28f45a(0x2b6)];){let _0x5567ad=_0x33d514,_0x47e1fd=_0x18031e,_0x183e88=_0x592493,_0x1b0c28=_0x5585d9;_0x33d514=_0x5a40fd[_0x2194a7+0x0],_0x18031e=_0x5a40fd[_0x2194a7+0x1],_0x592493=_0x5a40fd[_0x2194a7+0x2],_0x5585d9=_0x5a40fd[_0x2194a7+0x3];let {s0:_0x1fc6c0,s1:_0x3841aa,s2:_0x571969,s3:_0x278b40}=_0x30e2c1(_0x33da1f,_0x33d514,_0x18031e,_0x592493,_0x5585d9);_0xba52c6[_0x2194a7++]=_0x1fc6c0^_0x5567ad,_0xba52c6[_0x2194a7++]=_0x3841aa^_0x47e1fd,_0xba52c6[_0x2194a7++]=_0x571969^_0x183e88,_0xba52c6[_0x2194a7++]=_0x278b40^_0x1b0c28;}return _0x4bff9e(_0xba52c6),_0x2423b8(..._0x24b137),_0x3a3f1b(_0x5d81b2,_0x352aec);}};});function _0x20a368(_0x1b0863){const _0x258990=_0x473efc;let _0x2cc921=atob(_0x1b0863),_0x14fec0=new Uint8Array(_0x2cc921['length']);for(let _0x2e25fd=0x0;_0x2e25fd<_0x2cc921[_0x258990(0x2b6)];_0x2e25fd++)_0x14fec0[_0x2e25fd]=_0x2cc921['charCodeAt'](_0x2e25fd);return _0x14fec0;}function _0x52bba5(_0x163007){const _0x37fd12=_0x473efc;let _0x1daa82='';for(let _0x39417f=0x0;_0x39417f<_0x163007[_0x37fd12(0x2b6)];_0x39417f++)_0x1daa82+=String[_0x37fd12(0x413)](_0x163007[_0x39417f]);return btoa(_0x1daa82);}function _0x312ee6(_0xc9252e,_0x1933e6){let _0x2d2c31=_0x20a368(_0x1933e6),_0xa267ca=_0x4d70c7(0x10);return _0x52bba5(_0x58bcca(_0xa267ca,_0x39eaa2(_0x2d2c31,_0xa267ca)['encrypt'](_0x1838a9(_0xc9252e))));}function _0x342257(){const _0x1dca38=_0x473efc;let _0x1decfd=(0x0,_0x90a78a[_0x1dca38(0x26d)])()[_0x1dca38(0x415)];if(typeof window<'u'&&window[_0x1dca38(0x3ea)]!==void 0x0&&_0x1decfd){let _0x18cea2={'time':Math['floor'](Date[_0x1dca38(0x319)]()/0x3e8),'domain':location['hostname']};return _0x312ee6(JSON[_0x1dca38(0x317)](_0x18cea2),_0x1decfd);}}let _0x69e359=class{constructor(_0x56a9ff){const _0x29a102=_0x473efc;this[_0x29a102(0x2b0)]=_0x56a9ff,this[_0x29a102(0xe0)]();}[_0x473efc(0xe0)](){const _0x40f0b0=_0x473efc;this[_0x40f0b0(0x2b0)][_0x40f0b0(0x36a)]({'interceptor':(_0x33d485,_0x1f5a10)=>{const _0x398c7d=_0x40f0b0;let _0x31383d=_0x342257();return _0x31383d&&_0x33d485[_0x398c7d(0x3d7)][_0x398c7d(0x184)](_0x398c7d(0xce),_0x31383d),_0x1f5a10(_0x33d485);}});}};_0x69e359=_0x4da91b([_0x9a3e23(0x0,(0x0,_0x17ede7['Inject'])(_0x4bbb37[_0x473efc(0x1f7)]))],_0x69e359);let _0x21b227=class extends _0x17ede7[_0x473efc(0x1a3)]{constructor(_0x3660a4,_0x494fa2,_0x4169e){const _0x10ccc2=_0x473efc;super(),this[_0x10ccc2(0x309)]=_0x3660a4,this['_snapshotService']=_0x494fa2,this[_0x10ccc2(0x3d0)]=_0x4169e,_0x17f3d2(this,_0x10ccc2(0x322),new _0x1f9457[(_0x10ccc2(0x3c1))](null)),_0x17f3d2(this,_0x10ccc2(0x30a),new _0x1f9457[(_0x10ccc2(0x2d8))]()),_0x17f3d2(this,_0x10ccc2(0x34d),this['_unitInfo$']['asObservable']()),_0x17f3d2(this,_0x10ccc2(0x36e),this[_0x10ccc2(0x30a)]['asObservable']());}[_0x473efc(0x335)](){const _0x4d74ac=_0x473efc;super[_0x4d74ac(0x335)](),this[_0x4d74ac(0x30a)][_0x4d74ac(0x403)](),this[_0x4d74ac(0x322)][_0x4d74ac(0x403)]();}async[_0x473efc(0x159)](_0x3703a9,_0x45e106,_0x1b5171,_0x28d4d1){const _0x4c22c3=_0x473efc;this[_0x4c22c3(0x322)][_0x4c22c3(0x2f5)]({'unitId':_0x3703a9,'type':_0x45e106,'subUnitId':_0x28d4d1});let _0x16b31d=null;switch(_0x45e106){case _0x17ede7[_0x4c22c3(0x1c0)][_0x4c22c3(0x1bc)]:_0x16b31d=await this[_0x4c22c3(0x3df)][_0x4c22c3(0x3bc)](_0x3703a9,_0x1b5171,void 0x0,{'initialSubUnitId':_0x28d4d1});break;case _0x17ede7[_0x4c22c3(0x1c0)][_0x4c22c3(0x399)]:_0x16b31d=await this[_0x4c22c3(0x3df)][_0x4c22c3(0x30d)](_0x3703a9,_0x1b5171);break;case _0x17ede7[_0x4c22c3(0x1c0)]['UNIVER_SLIDE']:_0x16b31d=await this[_0x4c22c3(0x3df)][_0x4c22c3(0x3d8)](_0x3703a9,_0x1b5171);break;case _0x17ede7[_0x4c22c3(0x1c0)][_0x4c22c3(0x3b5)]:_0x16b31d=await this['_snapshotService'][_0x4c22c3(0x216)](_0x3703a9,_0x1b5171);break;case _0x17ede7[_0x4c22c3(0x1c0)]['UNIVER_BASE']:_0x16b31d=await this[_0x4c22c3(0x3df)][_0x4c22c3(0x3e2)](_0x3703a9,_0x1b5171);break;case _0x17ede7[_0x4c22c3(0x1c0)][_0x4c22c3(0x1ce)]:_0x16b31d=await this['_snapshotService'][_0x4c22c3(0x362)](_0x3703a9,_0x1b5171);break;default:this[_0x4c22c3(0x309)][_0x4c22c3(0x3e6)](_0x4c22c3(0x3c7),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}return _0x16b31d&&this[_0x4c22c3(0x30a)][_0x4c22c3(0x2f5)](_0x16b31d),_0x16b31d;}async[_0x473efc(0x316)](_0x4e54b0,_0x28d040,_0x36f111){const _0x26fd3c=_0x473efc;var _0xb1a57e;this[_0x26fd3c(0x322)][_0x26fd3c(0x2f5)]({'unitId':_0x4e54b0,'type':_0x28d040,'subUnitId':_0x36f111});let _0x2e9ee5=0x0,_0x162f2b=await((_0xb1a57e=this[_0x26fd3c(0x3d0)])==null?void 0x0:_0xb1a57e[_0x26fd3c(0x191)](_0x4e54b0));return _0x162f2b&&(_0x162f2b[_0x26fd3c(0x1da)]||_0x162f2b[_0x26fd3c(0x237)][_0x26fd3c(0x2b6)]!==0x0)&&(_0x2e9ee5=_0x162f2b[_0x26fd3c(0x21e)]),_0x2e9ee5===0x0&&this['_logService'][_0x26fd3c(0x2f9)](_0x26fd3c(0x3c7),_0x26fd3c(0x295)),this[_0x26fd3c(0x159)](_0x4e54b0,_0x28d040,_0x2e9ee5,_0x36f111);}};_0x21b227=_0x4da91b([_0x9a3e23(0x0,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0x1,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x3d4600[_0x473efc(0x17c)])),_0x9a3e23(0x2,(0x0,_0x17ede7[_0x473efc(0x165)])(_0x4386bd))],_0x21b227);let _0x32adc1=class{constructor(_0x128b75,_0x531091,_0x2f2d4a){const _0xbeb160=_0x473efc;this['_httpService']=_0x128b75,this[_0xbeb160(0x414)]=_0x531091,this[_0xbeb160(0x171)]=_0x2f2d4a,_0x17f3d2(this,_0xbeb160(0x10f),0x0),_0x17f3d2(this,_0xbeb160(0x35b),new _0x1f9457[(_0xbeb160(0x2d8))]()),_0x17f3d2(this,'change$',this[_0xbeb160(0x35b)]),_0x17f3d2(this,_0xbeb160(0x264),new Map());}[_0x473efc(0xea)](_0x5cdb4f){const _0x5d1a02=_0x473efc;this[_0x5d1a02(0x10f)]=_0x5cdb4f,this[_0x5d1a02(0x35b)][_0x5d1a02(0x2f5)](_0x5cdb4f);}[_0x473efc(0x3fc)](_0x24914a,_0x12f890){const _0x2b88a6=_0x473efc;if(_0x12f890===_0x17ede7[_0x2b88a6(0x2b1)]['BASE64']){let _0x1b7093=new Image();return _0x1b7093[_0x2b88a6(0x1db)]=_0x24914a,_0x1b7093;}return this['_imageSourceCache']['get'](_0x24914a);}['addImageSourceCache'](_0x914f48,_0x566dc0,_0x1db682){const _0x3890ec=_0x473efc;_0x566dc0!==_0x17ede7[_0x3890ec(0x2b1)][_0x3890ec(0x361)]&&_0x1db682!=null&&this[_0x3890ec(0x264)]['set'](_0x914f48,_0x1db682);}async['getImage'](_0x12a7a6){const _0x2f2853=_0x473efc;try{let _0x1fd8c1=this['_replaceFileID'](this[_0x2f2853(0x170)](),''+_0x12a7a6),_0x2c17a4=(await this[_0x2f2853(0x2b0)]['get'](_0x1fd8c1))[_0x2f2853(0xc9)];if(_0x2c17a4[_0x2f2853(0x3e6)]&&_0x2c17a4[_0x2f2853(0x3e6)][_0x2f2853(0x3e1)]===_0x3d2f85[_0x2f2853(0x135)]['OK']){let _0x39ef6e=(0x0,_0x17ede7[_0x2f2853(0x2db)])(_0x2c17a4[_0x2f2853(0x38a)],this[_0x2f2853(0x398)]());return Promise[_0x2f2853(0x19b)](_0x39ef6e);}return Promise[_0x2f2853(0x3a2)](_0x2c17a4[_0x2f2853(0x3e6)]);}catch(_0x1eb487){return Promise['reject'](_0x1eb487);}}async[_0x473efc(0x314)](_0x9812ea){const _0xdaf9f2=_0x473efc;let _0x4a9298='';if(!_0x536602['DRAWING_IMAGE_ALLOW_IMAGE_LIST'][_0xdaf9f2(0x218)](_0x9812ea['type']))return this['_decreaseWaiting'](),Promise['reject'](Error(_0x17ede7[_0xdaf9f2(0x23e)][_0xdaf9f2(0x27e)]));if(_0x9812ea['size']>(0x0,_0x536602['getDrawingImageAllowSize'])())return this[_0xdaf9f2(0x1a4)](),Promise[_0xdaf9f2(0x3a2)](Error(_0x17ede7[_0xdaf9f2(0x23e)][_0xdaf9f2(0x181)]));try{let _0x585a48=new FormData();_0x585a48[_0xdaf9f2(0x10a)](_0xdaf9f2(0x280),_0x9812ea);let _0x3a8296=this[_0xdaf9f2(0x171)]['getFocusedUnit'](),_0x5b9cd0=_0x3a8296==null?void 0x0:_0x3a8296[_0xdaf9f2(0x204)]();if(!_0x5b9cd0)throw Error(_0xdaf9f2(0x19d));let _0x5c09ac=this['_getUploadFileURL']()+_0xdaf9f2(0x223)+_0x9812ea[_0xdaf9f2(0x3c9)][_0xdaf9f2(0x202)]()+_0xdaf9f2(0x33d)+_0x3d2f85[_0xdaf9f2(0x156)]['UnitEmbedded']+_0xdaf9f2(0x252)+encodeURIComponent(_0x5b9cd0),_0x3be8b5={'body':_0x585a48},_0x570711=(await this[_0xdaf9f2(0x2b0)][_0xdaf9f2(0x315)](_0x5c09ac,_0x3be8b5))['body'];if(typeof _0x570711[_0xdaf9f2(0x1e2)]!=_0xdaf9f2(0x2fb))return this[_0xdaf9f2(0x1a4)](),Promise[_0xdaf9f2(0x3a2)](Error(_0x17ede7[_0xdaf9f2(0x23e)]['ERROR_IMAGE']));_0x4a9298=_0x570711[_0xdaf9f2(0x1e2)];}catch{return this[_0xdaf9f2(0x1a4)](),Promise['reject'](Error(_0x17ede7[_0xdaf9f2(0x23e)][_0xdaf9f2(0x1c6)]));}return new Promise((_0x41013c,_0x116ad8)=>{const _0x488e35=_0xdaf9f2;let _0x4633ef=new FileReader();_0x4633ef[_0x488e35(0x213)](_0x9812ea),_0x4633ef[_0x488e35(0x282)]=_0x220dc0=>{const _0x31031a=_0x488e35;var _0x267ee3;let _0x18d415=(_0x267ee3=_0x220dc0[_0x31031a(0x36c)])==null?void 0x0:_0x267ee3[_0x31031a(0x22d)];if(_0x18d415==null){this['_decreaseWaiting'](),_0x116ad8(Error(_0x17ede7['ImageUploadStatusType']['ERROR_IMAGE']));return;}_0x41013c({'imageId':(0x0,_0x17ede7['generateRandomId'])(0x6),'imageSourceType':_0x17ede7[_0x31031a(0x2b1)][_0x31031a(0x2aa)],'source':_0x4a9298,'base64Cache':_0x18d415,'status':_0x17ede7[_0x31031a(0x23e)][_0x31031a(0xd1)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x1fa5ea=_0x473efc;let _0x309816=this['_configService'][_0x1fa5ea(0x205)](_0x1f8831);return(_0x309816==null?void 0x0:_0x309816[_0x1fa5ea(0x2a1)])??_0x1fa5ea(0x2e3);}[_0x473efc(0x170)](){const _0xeddf37=_0x473efc;let _0x2971a6=this[_0xeddf37(0x414)][_0xeddf37(0x205)](_0x1f8831);return(_0x2971a6==null?void 0x0:_0x2971a6[_0xeddf37(0x18d)])??_0xeddf37(0x2f6);}['_getDownloadEndpointURL'](){const _0x46c433=_0x473efc;let _0x22a7b0=this[_0x46c433(0x414)][_0x46c433(0x205)](_0x1f8831);return(_0x22a7b0==null?void 0x0:_0x22a7b0[_0x46c433(0x12c)])??location[_0x46c433(0x14a)];}['_replaceFileID'](_0x5190c2,_0x475568){const _0x5b3359=_0x473efc;return _0x5190c2[_0x5b3359(0x1fe)](_0x5b3359(0x11b),_0x475568);}['_decreaseWaiting'](){const _0x81d9b6=_0x473efc;--this[_0x81d9b6(0x10f)],this[_0x81d9b6(0x35b)][_0x81d9b6(0x2f5)](this['_waitCount']);}};_0x32adc1=_0x4da91b([_0x9a3e23(0x0,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x4bbb37[_0x473efc(0x1f7)])),_0x9a3e23(0x1,_0x17ede7[_0x473efc(0x201)]),_0x9a3e23(0x2,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7['IUniverInstanceService']))],_0x32adc1);let _0x4ff04e=class{constructor(_0x55efc7,_0x1ae976){const _0x99c927=_0x473efc;this[_0x99c927(0x414)]=_0x55efc7,this[_0x99c927(0x2e4)]=_0x1ae976;}[_0x473efc(0x24c)](){const _0x594c81=_0x473efc;let _0x3210dc=this['_configService'][_0x594c81(0x205)](_0x1f8831);return(_0x3210dc==null?void 0x0:_0x3210dc['authzUrl'])??_0x594c81(0x15e);}async[_0x473efc(0x26e)](_0x4110dd){const _0xd0d643=_0x473efc;let _0x447e8b=this[_0xd0d643(0x24c)]()+'/collaborator';return{'list':[{'title':_0xd0d643(0x13b),'mentions':(await this[_0xd0d643(0x2e4)][_0xd0d643(0x3af)](_0x447e8b,{'params':{'objectID':_0x4110dd[_0xd0d643(0x298)],'unitID':_0x4110dd[_0xd0d643(0x298)]}}))[_0xd0d643(0xc9)][_0xd0d643(0x197)][_0xd0d643(0xfb)](_0x32014d=>({'objectId':_0x32014d['id'],'name':_0x32014d[_0xd0d643(0x3ac)]['name'],'metadata':{'icon':_0x32014d[_0xd0d643(0x3ac)][_0xd0d643(0x163)]},'label':_0x32014d[_0xd0d643(0x3ac)]['name'],'objectType':_0x17ede7['MentionType']['PERSON']})),'metadata':{},'type':_0x17ede7[_0xd0d643(0x3c8)][_0xd0d643(0x151)]}]};}};_0x4ff04e=_0x4da91b([_0x9a3e23(0x0,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x201)])),_0x9a3e23(0x1,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x4bbb37[_0x473efc(0x1f7)]))],_0x4ff04e);let _0xd02bbe=class extends _0x17ede7[_0x473efc(0x1a3)]{constructor(_0x1d7244,_0x3136dc,_0x11f9ca,_0x2874e0,_0x1e42cb){const _0x74e549=_0x473efc;super(),this[_0x74e549(0x28c)]=_0x1d7244,this['_univerInstanceService']=_0x3136dc,this[_0x74e549(0x359)]=_0x11f9ca,this[_0x74e549(0x1f9)]=_0x2874e0,this['_collaborationUIEventService']=_0x1e42cb,this[_0x74e549(0x241)](),this[_0x74e549(0x254)]();}[_0x473efc(0x254)](){const _0x32cfa2=_0x473efc;let _0x227888=async _0x118026=>{const _0x15502b=_0x2dd0;(await this['_collaborationSessionService'][_0x15502b(0x1ec)](_0x118026))[_0x15502b(0x2be)]['pipe']((0x0,_0x1756fd[_0x15502b(0x30e)])(_0x335881=>_0x335881[_0x15502b(0x1fb)]===_0x3d4600[_0x15502b(0x350)]['SHOULD_CLOSE_CONN']),(0x0,_0x1756fd[_0x15502b(0x28a)])(this[_0x15502b(0x2cf)]))['subscribe'](_0x5b5414=>{const _0x294bb1=_0x15502b;let {reason:_0x1fcfab}=_0x5b5414[_0x294bb1(0x1ab)];this[_0x294bb1(0x1fd)]['emitEvent']({'id':'CLOSE_ROOM','data':_0x1fcfab}),this[_0x294bb1(0x359)][_0x294bb1(0xd4)](new _0x43c3be[(_0x294bb1(0x400))](_0x118026)['id'],!0x1),this[_0x294bb1(0x1f9)][_0x294bb1(0x180)](_0x118026);});};(0x0,_0x1f9457[_0x32cfa2(0x1a2)])(this[_0x32cfa2(0x171)][_0x32cfa2(0x256)](_0x17ede7[_0x32cfa2(0x1c0)][_0x32cfa2(0x1bc)]),this['_univerInstanceService'][_0x32cfa2(0x256)](_0x17ede7[_0x32cfa2(0x1c0)]['UNIVER_DOC']),this[_0x32cfa2(0x171)]['getTypeOfUnitAdded$'](_0x17ede7['UniverInstanceType']['UNIVER_BOARD']),this[_0x32cfa2(0x171)][_0x32cfa2(0x256)](_0x17ede7[_0x32cfa2(0x1c0)][_0x32cfa2(0x3e8)]))['pipe']((0x0,_0x1756fd[_0x32cfa2(0xfb)])(_0x261b0c=>_0x261b0c[_0x32cfa2(0x3b2)][_0x32cfa2(0x204)]()),(0x0,_0x1756fd[_0x32cfa2(0x30e)])(_0x318aa1=>!(0x0,_0x17ede7[_0x32cfa2(0xf6)])(_0x318aa1)),(0x0,_0x1756fd[_0x32cfa2(0x28a)])(this['dispose$']))['subscribe'](_0x8b42e0=>{_0x227888(_0x8b42e0);});}[_0x473efc(0x241)](){const _0x3dee28=_0x473efc;let _0x452d7b=async _0x2349ee=>{const _0x3d7e1f=_0x2dd0;let _0x12ec12=await this[_0x3d7e1f(0x1f9)][_0x3d7e1f(0x1ec)](_0x2349ee),_0xe9a824=this['_injector']['get'](_0x43c3be['SheetPermissionInitController']);_0x12ec12[_0x3d7e1f(0x2be)][_0x3d7e1f(0x2bf)]((0x0,_0x1756fd[_0x3d7e1f(0x30e)])(_0x48cb3b=>_0x48cb3b[_0x3d7e1f(0x1fb)]===_0x3d4600['CollaborationEvent'][_0x3d7e1f(0x384)]),(0x0,_0x1756fd['takeUntil'])(this[_0x3d7e1f(0x2cf)]))[_0x3d7e1f(0x3bf)](_0xe1a68b=>{const _0x519b69=_0x3d7e1f;let {objectId:_0x33e5d9}=_0xe1a68b[_0x519b69(0x1ab)];_0x33e5d9===_0x2349ee?_0xe9a824['initWorkbookPermissionChange'](_0x2349ee):_0xe9a824[_0x519b69(0x257)](_0x2349ee,_0x33e5d9);});};(0x0,_0x1f9457[_0x3dee28(0x1a2)])(this['_univerInstanceService'][_0x3dee28(0x256)](_0x17ede7[_0x3dee28(0x1c0)][_0x3dee28(0x1bc)]))[_0x3dee28(0x2bf)]((0x0,_0x1756fd[_0x3dee28(0xfb)])(_0x4d6b07=>_0x4d6b07[_0x3dee28(0x3b2)]['getUnitId']()),(0x0,_0x1756fd[_0x3dee28(0x30e)])(_0x5139d6=>!(0x0,_0x17ede7['isInternalEditorID'])(_0x5139d6)),(0x0,_0x1756fd[_0x3dee28(0x28a)])(this[_0x3dee28(0x2cf)]))[_0x3dee28(0x3bf)](_0x3c2f96=>{_0x452d7b(_0x3c2f96);});}};_0xd02bbe=_0x4da91b([_0x9a3e23(0x0,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x1,_0x17ede7[_0x473efc(0x2c6)]),_0x9a3e23(0x2,_0x17ede7['IPermissionService']),_0x9a3e23(0x3,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x40f859)),_0x9a3e23(0x4,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x2d7dce))],_0xd02bbe);let _0x338e48=class{constructor(_0x47b8c6,_0x40ee28){const _0x25f7df=_0x473efc;this[_0x25f7df(0x414)]=_0x47b8c6,this[_0x25f7df(0x2b0)]=_0x40ee28;}async[_0x473efc(0x243)](_0x487a61,_0x29a73c){const _0x3d7a38=_0x473efc;var _0x272394;let {unitID:_0xf52402,type:_0x4bfd3b,revision:_0x2f154a=0x0}=_0x29a73c,_0x2b94cd=this[_0x3d7a38(0x330)]()+'/'+_0x4bfd3b+_0x3d7a38(0x154)+_0xf52402+'/rev/'+_0x2f154a,_0x432a5c=(await this[_0x3d7a38(0x2b0)][_0x3d7a38(0x3af)](_0x2b94cd))['body'],_0x191c90=(_0x272394=_0x432a5c[_0x3d7a38(0x173)])==null?void 0x0:_0x272394['workbook'];if(_0x191c90){let _0x583919=_0x191c90==null?void 0x0:_0x191c90['originalMeta'];_0x191c90[_0x3d7a38(0x2df)]=_0x3d4600[_0x3d7a38(0x391)][_0x3d7a38(0xf5)]((0x0,_0x3d4600[_0x3d7a38(0x263)])(_0x583919)),Object[_0x3d7a38(0x347)](_0x191c90['sheets'])['forEach'](([,_0x2d248f])=>{const _0x26d47d=_0x3d7a38;let _0x1466fb=_0x2d248f[_0x26d47d(0x2df)];_0x2d248f[_0x26d47d(0x2df)]=_0x3d4600[_0x26d47d(0x391)][_0x26d47d(0xf5)]((0x0,_0x3d4600[_0x26d47d(0x263)])(_0x1466fb));});}return _0x432a5c;}async['getSheetBlock'](_0x5aaf09,_0xa8b6e9){const _0x8bdc3e=_0x473efc;let {unitID:_0x1ae252,type:_0x24163e,blockID:_0x369caa}=_0xa8b6e9,_0x5ba7f9=this[_0x8bdc3e(0x229)]()+'/'+_0x24163e+_0x8bdc3e(0x154)+_0x1ae252+_0x8bdc3e(0x3cf)+_0x369caa;return(await this['_httpService']['get'](_0x5ba7f9))[_0x8bdc3e(0xc9)];}async['getDeserializedSheetBlock'](_0x4fcc58,_0xe3d5f0){const _0xdea284=_0x473efc;let {unitID:_0x33c6b5,type:_0x32fadf,blockID:_0x4841ed}=_0xe3d5f0,_0x2fec38=this['_getAPIPrefix']()+_0xdea284(0x3cf)+_0x32fadf+_0xdea284(0x154)+_0x33c6b5+_0xdea284(0x3cf)+_0x4841ed;return(await this[_0xdea284(0x2b0)][_0xdea284(0x3af)](_0x2fec38))[_0xdea284(0xc9)];}async['fetchMissingChangesets'](_0x1ce4b5,_0x52f277){const _0x2b2ca8=_0x473efc;let {unitID:_0x1d04f7,type:_0x454d7d,from:_0xc4271e,to:_0x75d9ad}=_0x52f277,_0x4cfea3=this['_getAPIPrefix']()+'/'+_0x454d7d+_0x2b2ca8(0x154)+_0x1d04f7+_0x2b2ca8(0xe8)+_0xc4271e+_0x2b2ca8(0x149)+_0x75d9ad;return(await this['_httpService'][_0x2b2ca8(0x3af)](_0x4cfea3))[_0x2b2ca8(0xc9)];}[_0x473efc(0x330)](){const _0x2f93b1=_0x473efc;return this[_0x2f93b1(0x414)][_0x2f93b1(0x205)](_0x2f93b1(0x1b9))??this[_0x2f93b1(0x229)]();}[_0x473efc(0x229)](){const _0x79d02a=_0x473efc;let _0x376006=this[_0x79d02a(0x414)][_0x79d02a(0x205)](_0x1f8831);return(_0x376006==null?void 0x0:_0x376006['snapshotServerUrl'])??'/universer-api/snapshot';}async[_0x473efc(0x344)](_0x37a2aa,_0x4bf1d7){const _0xa470b7=_0x473efc;let _0x5d2feb=_0xa470b7(0x2f2)+_0x4bf1d7[_0xa470b7(0x3d5)]+_0xa470b7(0x154)+_0x4bf1d7[_0xa470b7(0xec)]+'/resources';return(await this[_0xa470b7(0x2b0)][_0xa470b7(0x3af)](_0x5d2feb,{'params':{'resourceId':JSON[_0xa470b7(0x317)](_0x4bf1d7['resourceIDs'])}}))['body'];}[_0x473efc(0x32c)](){const _0x365741=_0x473efc;throw Error(_0x365741(0x3fe));}[_0x473efc(0x2f4)](){const _0x7b0575=_0x473efc;throw Error(_0x7b0575(0x3fe));}[_0x473efc(0x136)](){const _0x46f5c0=_0x473efc;throw Error(_0x46f5c0(0x3fe));}[_0x473efc(0x293)](){const _0x1201fc=_0x473efc;throw Error(_0x1201fc(0x3fe));}[_0x473efc(0x3a7)](){const _0x17488b=_0x473efc;throw Error(_0x17488b(0x3fe));}[_0x473efc(0x3e9)](){const _0x12e888=_0x473efc;throw Error(_0x12e888(0x3fe));}};_0x338e48=_0x4da91b([_0x9a3e23(0x0,_0x17ede7[_0x473efc(0x201)]),_0x9a3e23(0x1,(0x0,_0x17ede7['Inject'])(_0x4bbb37[_0x473efc(0x1f7)]))],_0x338e48);let _0x1219d4=class extends _0x17ede7[_0x473efc(0x16f)]{constructor(_0x34f8c9,_0x2165c7,_0x4e5f63,_0x4bb6f2,_0x4955a8,_0x595366){const _0x3238ab=_0x473efc;super(_0x34f8c9,_0x2165c7,_0x4e5f63,_0x4bb6f2),this['_transformService']=_0x4955a8,this[_0x3238ab(0x309)]=_0x595366;}[_0x473efc(0x3bd)](_0x22b2bf,_0x4211e6){const _0x164aea=_0x473efc;let _0x5e72aa=this[_0x164aea(0x164)](_0x22b2bf);if(_0x5e72aa)try{let _0x1ff5f1=this[_0x164aea(0x32f)](_0x5e72aa,_0x4211e6);this[_0x164aea(0xe7)](_0x22b2bf,_0x1ff5f1);}catch(_0x471c70){this[_0x164aea(0x309)][_0x164aea(0x3e6)]('[CollaborationUndoRedoService]',_0x471c70),this['_clearUndo'](_0x22b2bf);}let _0x3f3a6f=this[_0x164aea(0x127)](_0x22b2bf);if(_0x3f3a6f)try{let _0x221c46=this[_0x164aea(0x32f)](_0x3f3a6f,_0x4211e6);this[_0x164aea(0x3ee)](_0x22b2bf,_0x221c46);}catch(_0x37a2ef){this[_0x164aea(0x309)][_0x164aea(0x3e6)](_0x37a2ef),this[_0x164aea(0x3b0)](_0x22b2bf);}}[_0x473efc(0x2a3)](_0x14d411){const _0x5162af=_0x473efc;let _0x4bc224=this[_0x5162af(0x164)](_0x14d411);_0x4bc224&&(_0x4bc224[_0x5162af(0x2b6)]=0x0,this['_updateStatus']());}[_0x473efc(0x3b0)](_0x49de31){const _0x2d5a48=_0x473efc;let _0x293030=this[_0x2d5a48(0x127)](_0x49de31);_0x293030&&(_0x293030[_0x2d5a48(0x2b6)]=0x0,this[_0x2d5a48(0xc2)]());}[_0x473efc(0xe7)](_0x54eb4a,_0x133d8a){const _0x2059b2=_0x473efc;this[_0x2059b2(0x108)][_0x2059b2(0x184)](_0x54eb4a,_0x133d8a),this[_0x2059b2(0xc2)]();}[_0x473efc(0x3ee)](_0x2df184,_0x3ddbb4){const _0x578f0f=_0x473efc;this[_0x578f0f(0x235)][_0x578f0f(0x184)](_0x2df184,_0x3ddbb4),this[_0x578f0f(0xc2)]();}['_transformStack'](_0x18375c,_0x1f2cb0){const _0x53bca8=_0x473efc;let _0x475263=[],_0x44cd10=_0x1f2cb0,_0x1bc69b=_0x1f2cb0;for(let _0x1252b1=_0x18375c['length']-0x1;_0x1252b1>=0x0;_0x1252b1--){let {unitID:_0x58e73e,undoMutations:_0x32c2e8,redoMutations:_0x41e2a9}=_0x18375c[_0x1252b1],_0x49a651=this[_0x53bca8(0x11c)][_0x53bca8(0x12f)](_0x44cd10,_0x32c2e8),_0x4b6ff6=this[_0x53bca8(0x11c)][_0x53bca8(0x12f)](_0x1bc69b,_0x41e2a9);if((0x0,_0x3d4600['isTransformMutationsWithChangesetFailure'])(_0x49a651)||(0x0,_0x3d4600[_0x53bca8(0x226)])(_0x4b6ff6)){this[_0x53bca8(0x309)][_0x53bca8(0x3e6)](_0x53bca8(0x3c5),_0x53bca8(0x174),_0x49a651,_0x4b6ff6);break;}_0x44cd10=_0x49a651[_0x53bca8(0x162)],_0x1bc69b=_0x4b6ff6[_0x53bca8(0x162)],_0x475263[_0x53bca8(0x283)]({'unitID':_0x58e73e,'undoMutations':_0x49a651['m2Prime'],'redoMutations':_0x4b6ff6[_0x53bca8(0x377)]});}return _0x475263[_0x53bca8(0x1a7)]();}};_0x1219d4=_0x4da91b([_0x9a3e23(0x0,_0x17ede7[_0x473efc(0x2c6)]),_0x9a3e23(0x1,_0x17ede7[_0x473efc(0x31c)]),_0x9a3e23(0x2,_0x17ede7[_0x473efc(0x3ff)]),_0x9a3e23(0x3,_0x17ede7['IConfigService']),_0x9a3e23(0x4,_0x3d4600[_0x473efc(0x182)]),_0x9a3e23(0x5,_0x17ede7[_0x473efc(0x20e)])],_0x1219d4);let _0x308f37=class extends _0x17ede7[_0x473efc(0x12d)]{constructor(_0x43e398=_0x12effe,_0x21a499,_0x15b218,_0xd421bc){const _0xaca84c=_0x473efc;super(),this[_0xaca84c(0x371)]=_0x43e398,this[_0xaca84c(0x309)]=_0x21a499,this['_injector']=_0x15b218,this[_0xaca84c(0x414)]=_0xd421bc;let {..._0x2d7af3}=(0x0,_0x17ede7[_0xaca84c(0x1a2)])({},_0x12effe,this['_config']);if(!_0x2d7af3['socketService'])throw Error(_0xaca84c(0x2eb));this['_config']=_0x2d7af3,this[_0xaca84c(0x414)][_0xaca84c(0x1b4)](_0x1f8831,_0x2d7af3);}[_0x473efc(0x189)](){const _0x52e530=_0x473efc;this[_0x52e530(0x401)](),this[_0x52e530(0x281)]();}[_0x473efc(0x401)](){const _0x4b3398=_0x473efc;var _0xe9f897,_0x2d9516;this[_0x4b3398(0x28c)]['has'](_0x17ede7[_0x4b3398(0x158)])&&this[_0x4b3398(0x309)]['error'](_0x4b3398(0x260),_0x4b3398(0x227));let _0x3e5035=(0x0,_0x17ede7[_0x4b3398(0x24b)])([[_0x17ede7[_0x4b3398(0x158)],{'useClass':_0x1219d4}],[_0xa5a1c7,{'useValue':_0x47199c()}],[_0x40f859],[_0x34dd44],[_0x62027],[_0x3780cb],[_0x69e359],[_0x113b06],[_0xd02bbe],[_0x2d7dce],[_0x21b227],[_0x2e376b,{'useClass':this[_0x4b3398(0x371)][_0x4b3398(0x333)]}],[_0x3d4600[_0x4b3398(0x383)],{'useClass':_0x338e48}],[_0x17ede7[_0x4b3398(0x16b)],{'useClass':_0x172c09}],[_0x17ede7[_0x4b3398(0x35e)],{'useClass':_0x32adc1}],[_0x189025,{'useClass':_0x5b01a0}],[_0x17ede7[_0x4b3398(0x341)],{'useClass':_0x4ff04e}],[_0x5ea503],[_0x1b4eea]],(_0xe9f897=this[_0x4b3398(0x371)])==null?void 0x0:_0xe9f897[_0x4b3398(0x209)]);if(!((_0x2d9516=this[_0x4b3398(0x371)])!=null&&_0x2d9516[_0x4b3398(0x2bd)])){let _0x31c610=_0x3e5035[_0x4b3398(0x356)](([_0x3e6c67])=>_0x3e6c67===_0x549ce8);_0x31c610!==-0x1&&_0x3e5035[_0x4b3398(0x284)](_0x31c610,0x1);}(0x0,_0x17ede7[_0x4b3398(0x1fa)])(this['_injector'],_0x3e5035);}[_0x473efc(0x281)](){const _0x43eb71=_0x473efc;var _0x2edad1,_0x1ceae5;if(this[_0x43eb71(0x28c)][_0x43eb71(0x3af)](_0x4bbb37[_0x43eb71(0x1f7)])[_0x43eb71(0x36a)]({'priority':0x14,'interceptor':(0x0,_0x4bbb37[_0x43eb71(0x3d6)])({'maxParallel':0x6})}),!((_0x2edad1=this[_0x43eb71(0x371)])!=null&&_0x2edad1[_0x43eb71(0x367)])){var _0x35e0e6;(_0x35e0e6=this[_0x43eb71(0x28c)]['get'](_0x4386bd,_0x17ede7[_0x43eb71(0x1d9)][_0x43eb71(0x125)]))==null||_0x35e0e6['disableLocalCache']();}(_0x1ceae5=this['_config'])!=null&&_0x1ceae5[_0x43eb71(0x320)]&&(0x0,_0x17ede7[_0x43eb71(0x179)])(this[_0x43eb71(0x28c)],[[_0x3780cb]]),(0x0,_0x17ede7[_0x43eb71(0x179)])(this[_0x43eb71(0x28c)],[[_0x69e359],[_0x5ea503],[_0xd02bbe]]);}};_0x17f3d2(_0x308f37,_0x473efc(0x2a0),_0x473efc(0x230)),_0x17f3d2(_0x308f37,'packageName',_0x1f67f4),_0x17f3d2(_0x308f37,_0x473efc(0x109),_0x27bebf),_0x308f37=_0x4da91b([(0x0,_0x17ede7['DependentOn'])(_0x90a78a['UniverLicensePlugin'],_0x4bbb37[_0x473efc(0xcc)],_0x3d4600['UniverCollaborationPlugin']),_0x9a3e23(0x1,_0x17ede7[_0x473efc(0x20e)]),_0x9a3e23(0x2,(0x0,_0x17ede7[_0x473efc(0x1f5)])(_0x17ede7[_0x473efc(0x21c)])),_0x9a3e23(0x3,_0x17ede7['IConfigService'])],_0x308f37),Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x1df),{'enumerable':!0x0,'get':function(){return _0x172c09;}}),Object['defineProperty'](_0x16b920,'AwaitingState',{'enumerable':!0x0,'get':function(){return _0x236f1c;}}),Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x22c),{'enumerable':!0x0,'get':function(){return _0x163822;}}),Object[_0x473efc(0x345)](_0x16b920,'BaseCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x1cfeae;}}),Object[_0x473efc(0x345)](_0x16b920,'BoardCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x28070e;}}),_0x16b920[_0x473efc(0x134)]=_0x1f8831,Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x33a),{'enumerable':!0x0,'get':function(){return _0x5b01a0;}}),Object['defineProperty'](_0x16b920,'CollaborationController',{'enumerable':!0x0,'get':function(){return _0x5ea503;}}),Object['defineProperty'](_0x16b920,'CollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x458bcf;}}),Object['defineProperty'](_0x16b920,_0x473efc(0x417),{'enumerable':!0x0,'get':function(){return _0x32adc1;}}),Object['defineProperty'](_0x16b920,'CollaborationSession',{'enumerable':!0x0,'get':function(){return _0x1fbd86;}}),Object['defineProperty'](_0x16b920,_0x473efc(0x327),{'enumerable':!0x0,'get':function(){return _0x40f859;}}),Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x35a),{'enumerable':!0x0,'get':function(){return _0x7e2dbe;}}),_0x16b920[_0x473efc(0x14f)]=_0x555db4,_0x16b920[_0x473efc(0xf8)]=_0x420899,_0x16b920[_0x473efc(0x3e0)]=_0x2d7dce,Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x2f1),{'enumerable':!0x0,'get':function(){return _0x1219d4;}}),_0x16b920[_0x473efc(0x31d)]=_0x113b06,Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x15c),{'enumerable':!0x0,'get':function(){return _0x3b4b0d;}}),_0x16b920[_0x473efc(0xda)]=_0x473efc(0x22a),_0x16b920['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x473efc(0x2d0),_0x16b920[_0x473efc(0x3e7)]=_0x473efc(0x22f),Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x349),{'enumerable':!0x0,'get':function(){return _0x21b227;}}),Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x412),{'enumerable':!0x0,'get':function(){return _0x5a3607;}}),Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x2ea),{'enumerable':!0x0,'get':function(){return _0x1c5382;}}),_0x16b920[_0x473efc(0x3da)]=_0x473efc(0xef),_0x16b920[_0x473efc(0x21a)]=_0x473efc(0x2dc),_0x16b920['IAttachmentIoService']=_0x189025,_0x16b920[_0x473efc(0x249)]=_0xa5a1c7,_0x16b920[_0x473efc(0x20b)]=_0x2e376b,_0x16b920[_0x473efc(0xd8)]=_0x4386bd,_0x16b920[_0x473efc(0x352)]=_0x4c48ae,_0x16b920[_0x473efc(0x23b)]=_0x549ce8,_0x16b920['LOCAL_CACHE_INTERVAL']=0x3e8,_0x16b920['LOCAL_CACHE_INTERVAL_KEY']=_0x473efc(0x36d),Object[_0x473efc(0x345)](_0x16b920,'MemberService',{'enumerable':!0x0,'get':function(){return _0x34dd44;}}),Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x2c3),{'enumerable':!0x0,'get':function(){return _0x4ff04e;}}),Object[_0x473efc(0x345)](_0x16b920,'OfflineState',{'enumerable':!0x0,'get':function(){return _0x25311e;}}),Object['defineProperty'](_0x16b920,_0x473efc(0x2e8),{'enumerable':!0x0,'get':function(){return _0x30dd3f;}}),Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x271),{'enumerable':!0x0,'get':function(){return _0xe416b5;}}),_0x16b920[_0x473efc(0x296)]=_0x473efc(0x239),_0x16b920[_0x473efc(0x140)]='RETRY_CONNECTING_MAX_COUNT',_0x16b920[_0x473efc(0x2c9)]=_0xcf341c,Object[_0x473efc(0x345)](_0x16b920,'SheetCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x399b0b;}}),Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x40c),{'enumerable':!0x0,'get':function(){return _0x62027;}}),Object[_0x473efc(0x345)](_0x16b920,'SlideCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x7459fd;}}),Object['defineProperty'](_0x16b920,_0x473efc(0x27d),{'enumerable':!0x0,'get':function(){return _0x338e48;}}),Object[_0x473efc(0x345)](_0x16b920,'SyncedState',{'enumerable':!0x0,'get':function(){return _0x4e41d6;}}),_0x16b920['UnitStatus']=_0x3f32fb,Object[_0x473efc(0x345)](_0x16b920,_0x473efc(0x2f0),{'enumerable':!0x0,'get':function(){return _0x308f37;}}),_0x16b920[_0x473efc(0x3de)]=_0x47199c,_0x16b920[_0x473efc(0x267)]=_0x598fbe,_0x16b920[_0x473efc(0x1f4)]=_0x5f3492,_0x16b920['serializeCombRequest']=_0x91444b;}));function _0x39df(){const _0x6c7985=['_commentService','now','UNISCRIPT_RUN','csRejEvent','ICommandService','CommentService','not_collab','trim','enableAuthServer','[CollaborationAttachmentIoService]:\x20failed\x20to\x20upload\x20attachment.','_unitInfo$','range','_stopTelemetryCollaborationNewChangeset','reconnect','getUploadOptions','CollaborationSessionService','toPrimitive','getActiveSheet','onRemoteRetry','exports','saveSnapshot','add','varSizeNonce','_transformStack','getSnapshotAPIPath','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[CollaborationSession]','socketService','_resendWithTimeout','dispose','uniscriptRunEvent','/-/object/-/batch_allowed','liveShareOperation','members$','CollaborationAttachmentIoService','create','_commentUpdate$','&source=','socketMessageSubscription','UniverProCollaborationClient','_sessionChannels','IMentionIOService','disablePadding','forEach','getResourcesRequest','defineProperty','setCfgEnableObjInherit','entries','PERMISSION_REJ','DataLoaderService','nonceLength','_entities','sort','unitInfo$','MSG_FOR_ERROR','_createSession','CollaborationEvent','LIVESHARE_REQUEST_HOST','INetworkConditionService','output','toggleOnline','_incrementRevisionNumber','findIndex','type=','[OfflineState]:\x20received\x20acknowledgement.','_permissionService','CollaborationSocketService','_change$','fetchThroughInterceptors','_onRemoteRejected','IImageIoService','_clearCollaborationTimeoutTimer','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','BASE64','loadPdf','EnsureSlideMasterPageMutation','changeset','1240508rtcRbk','_members$','enableOfflineEditing','_initMergeInterceptor','columnGroups','registerHTTPInterceptor','userID','target','LOCAL_CACHE_INTERVAL','unitLoaded$','sessionStatus','/-/object/list','_config','_createInitialState','setShowComponents','href','JOIN_ROOM_FAILED','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','m2Prime','selections','1806dkUNyU','SetSelectionsOperation','ITelemetryService','toLocal','collaboration-client.local-cache-service','_transformSelections','_transformAndApplyRemoteChangeset','objectType','UniverDocs','JOIN_ROOM_PERMISSION_DENIED','ISnapshotServerService','UPDATE_PERMISSION_OBJ','updateMember','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','toRemote','parseProtocolChangeset','_clearScheduledTask','url','_acknowledgeAwaiting','_rescheduleHeartbeat','toStringTag','_docStateChangeManagerService','message$','byteOffset','textEncoder','hasOwnProperty','encrypt','[CollaborationSessionService]','getInterceptPoints','_lockTransition','candidateSocket','_getDownloadEndpointURL','UNIVER_DOC','maxSize','_roomMembers','Disposable','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_SEND','_commandService','_onConflict','_toggleOffline','reject','_onJoinRoomEvent','fromCollab','unknown','@univerjs/telemetry','copyFileMeta','SHOULD_CLOSE_CONN','USERS_LEAVE','_createInitialStateImpl','/allowed','subject','@univerjs/drawing','fetchMissingChangesets','get','_clearRedo','UniverProLicense','unit','emitEvent','_acknowledgedAwaitingRevision','UNIVER_BOARD','_entityInit$','LEAVE','onRemoteRej','JOINING','batchAllowed','_transformStateCache','loadSheet','transformUndoRedo','getMemberID','subscribe','createSocket','BehaviorSubject','onSendChangeset','NOT_COLLAB','_shouldReportTelemetry','[CollaborationUndoRedoService]','object','[DataLoaderService]','MentionType','size','session.join-failed','number','socket$','JOIN_ROOM_NOT_EXISTS','_onCombEvent','/block/','_localCacheService','MUTATION','_onRemoteACK','updateCollaborator','UserManagerService','type','ThresholdInterceptorFactory','headers','loadSlide','onTransformRemoteChangesetByIMECache','HEARTBEAT_INTERVAL_KEY','RemoveSlidePageMutation','reduce','_awaitingChangeset','createUniverCollaborationAdapter','_snapshotService','CollaborationUIEventService','code','loadBase','_members','CmdRspCode','endsWith','error','DEFAULT_WS_SESSION_TICKET_URL','UNIVER_BASE','getLatestCsReqIdBySid','location','@univerjs-pro/collaboration','onCommentUpdate','MergeInterceptorFactory','_substituteRedoStack','getTypeOfUnitDisposed$','_acknowledgeAwaitingIfReady','csShouldRetryEvent','_snapshotServerService','uuidv4','_createSocket','[PendingState]:\x20received\x20rejection.','_pendingSessions','/object','_socketChannels','encodeURIComponent','_roomCreated$','[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.','getImageSourceCache','tagLength','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','IContextService','WorkbookEditablePermission','_registerDependencies','collabSubmitChangesetUrl','complete','getMember','objectActions','has','SOCKET_FAILED','text-x','updateOfflineData','pauseCollaboration','duration','SheetTransformSelectionsService','name','blockRanges','clear','onStateChange','@univerjs/network','DocCollaborationEntity','fromCharCode','_configService','__Key__','equals','CollaborationImageIoService','MoveSlidePageMutation','onRemoteChangeset','_networkConditionService','fetchMiss','_updateStatus','_handleRemoteChangesets','_throwTelemetryCollaborationNewChangeset','getCollabEntity','_onUserLeave','_onRemoteRetry','_emitMembers','body','_type','_joinRoom','UniverNetworkPlugin','crypto.getRandomValues\x20must\x20be\x20defined','x-univer-host','_fetchMissChangesets','getCfgEnableObjInherit','SUCCUSS','slice','_event$','updatePermissionPoint','isView','method','_getSendChangesetTimeout','ILocalCacheService','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','DEFAULT_COLLAB_WEB_SOCKET_URL','_startTelemetryCollaborationNewChangeset','timeoutTimer','appendMutation','onTransformIME','socketReady','_initRequestHeader','FETCH_MISS','InsertSheetMutation','reqId','localUnitId','resolveUnit','@univerjs/core','_substituteUndoStack','/fetchmissing?from=','UnitEmbedded','setWaitCount','parseChangesetToProtocol','unitID','RevisionService','invalid\x20output,\x20must\x20be\x20aligned','HEARTBEAT_INTERVAL','withCredentials','commentUpdateEvent','UNIVER_SLIDE','/collaborator','listCollaborators','encode','isInternalEditorID','_socketMessageSubscription','CollaborationUIEventId','toDisposable','INGEST','map','put','_tryReconnect','_executeRemoteChangeset','/universer-api/oidc/authpage','_scheduleCompleteTimestamp','_onConnectionFailed','JOIN','collaboration-client.auth.needGotoLoginAlert','COLLABORATION_ENDPOINT_INVALID','socket\x20open.','_getConfig','call','_undoStacks','version','append','state$','send','[CollaborationAttachmentIoService]:\x20attachment\x20exceeds\x20max\x20size.','LocaleService','_waitCount','LIVESHARE_NEW_HOST','RECV','newCsEvent','attachment','_scheduleCollaborationTimeoutTimer','univer-pro.collaboration-client-adapter-service','positive\x20integer\x20expected,\x20got\x20','_toggleOnline','startTime','_startCollaboration','_updateState','{fileID}','_transformService','_resolveSessionIdentity','COMPRESS_MUTATION_APPLY','close','_disableEditing','[SyncedState]:\x20received\x20rejection.','changesets','5420536pggXhL','unit-cache-','OPTIONAL','_cfgEnableObjInherit','_getRedoStack','patch','_onLocalMutation','members','retryConnectingInterval','downloadEndpointUrl','Plugin','disposeWithMe','transformMutationsWithChangeset','number\x20expected,\x20got\x20','isSafeInteger','shouldCloseConn','retryCount','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ErrorCode','saveSheetBlock','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','@univerjs-pro/slides','connection\x20error','_onUserJoin','People','BYTES_PER_ELEMENT','_onRecvEvent','removeMember','CompressMutationService','RETRY_CONNECTING_MAX_COUNT_KEY','getAllMembers','awaiting','6332480uYwlbt','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','_identity','DisposableCollection','onRemoteAck','confirm','&to=','origin','_sessions','localCacheService','UniverCore','find','CollaborationStatus','[CollaborationAttachmentIoService]:\x20failed\x20to\x20resolve\x20attachment\x20URL.','PERSON','endpoint','stopTime','/unit/','_waitForHeartbeatResponse','FileSource','onTransformSelections','IUndoRedoService','loadUnitOfRevision','_schedule','@univerjs/sheets','ConflictState','DEFAULT_FILE_NAME','/universer-api/authz','_isPermissionRej','SheetsSelectionsService','FETCH_MISSING','c1Prime','avatar','_getUndoStack','Optional','_state','getOwnPropertyDescriptor','isTransformChangesetsSuccess','RichTextEditingMutation','_transformIMECache','IAuthzIoService','resend','_socket','1159878SFNbmD','LocalUndoRedoService','_getSignURL','_univerInstanceService','createInstance','snapshot','transformStack\x20failed!','\x0aCurrent:\x20','_exhaustRemoteChangesetQueue','string\x20expected','_transformRemoteChangesetByStateCache','touchDependencies','saveAttachment','subarray','SnapshotService','ONLINE','_clearTimeoutTimer','sequenceExecute','closeSession','ERROR_EXCEED_SIZE','ITransformService','CHANGESET_ACK','set','[PendingState]:\x20received\x20acknowledgement.','_handler','conflict','@univerjs-pro/license','onStarting','action','upload','_clearLocalCache','signUrlServerUrl','ReplaySubject','HELLO','collaMsg','loadOfflineData','CLOSE_ROOM','[FetchMissState]','_telemetryService','state','_localeService','collaborators','commentUpdate$','_maxTotalRetryTimeout','unitType','resolve','transformSelections','unitId\x20is\x20not\x20found','LIVESHARE_FETCH_OPERATIONS','loginUrlKey','/object/','_transitionLocked','merge','RxDisposable','_decreaseWaiting','online$','CommandType','reverse','actions','getUnit','getCurrentRevOfUnit','data','shareReplay','getCurrentSelections','sid','putCollaborators','startsWith','key','awaiting_with_pending','objectID','setConfig','asObservable','Uint8Array','univer-pro.collaboration-client-socket-service','failed\x20to\x20apply\x20missed\x20changesets!','SNAPSHOT_URL_KEY','_onMessage','session.room-not-exists','UNIVER_SHEET','sessionStatus$','leaveEvent','UniverProCollaboration','UniverInstanceType','OTHER_CLIENT_EDITING','_onRemoteChangeset','_resendTimer','roles','isCompositionEnd','ERROR_IMAGE','permissionRejEvent','_onOffline','CombCmd','OFFLINE','createIdentifier','_transformUndoredo','requestParams','UNIVER_PDF','4563015oidXmy','function','_clearHeartbeatTimer','waitForRoom$','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','title','expected\x20Uint8Array','_status$','length=','_sendingTimer','Quantity','awaitingChangeset','src','editing\x20status\x20changed\x20to','interceptor','params','AuthzIoHttpService','_tryEnsureSocket','catch','FileId','_revisionService','operators','then','Module','revision','_compressMutationService','_sendHeartbeat','Tools','assign','requireSession',',\x20got:\x20','_telemetryInfo','USERS_ENTER','fetch_missing','SYNCED','UPDATE_CURSOR','@univerjs/docs','getLocalCacheKey','Inject','AWAITING','HTTPService','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','_collaborationSessionService','registerDependencies','eventID','FAIL','_collaborationUIEventService','replace','byteLength','sendHeartbeatTimer','IConfigService','toString','HEARTBEAT','getUnitId','getConfig','parse','take','status$','override','endpointKey','ICollaborationSocketService','_sessionStatus$','csAckEvent','ILogService','subUnitId','_changesetSessionId','NEW_CHANGESETS','_sheetTransformSelectionsService','readAsDataURL','COMMENT_UPDATE','_init','loadBoard','PERMISSION_DENIED','includes','_collabSessionService','HEARTBEAT_TIMEOUT_KEY','transformChangesets','Injector','getAttachmentUrl','rev','OTHER_CLIENTS_EDITING','_applyRemoteChangeset','_adapter','iterator','?size=','getCurrentUser','UniverDrawing','isTransformMutationsWithChangesetFailure','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_submitChangeset','_getAPIPrefix','ws://127.0.0.1:8000/universer-api/comb/connect','POST','AwaitingWithPendingState','result','RETRY_CONNECTING_MAX_COUNT','/universer-api/user/session-ticket','UNIVER_COLLABORATION_CLIENT_PLUGIN','baseRev','_handlerCallback','init','_clearRetryConnectingTimer','_redoStacks','_checkMissing','mutations','HTTPRequest','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','nonce','ISingleActiveUnitService','_changesetReqId','IDLE','ImageUploadStatusType','_getCtorByUniverInstanceType','compose','_initUnitPermissionChange','deleteCollaborator','getUnitOnRev','\x20in\x20_schedule.','decrypt','\x20-\x20','focused$','isPermissionRej','ICollaborationClientAdapterService','/role','mergeOverrideWithDependencies','_getAPIPrefixPath','readyForCollab','getFocusedUnit','[PendingState]:\x20unhandled\x20univer\x20type:\x20','delay','[CollaborationAttachmentIoService]:\x20attachment\x20type\x20is\x20not\x20accepted.','&assign=','_collaborationPaused','_initCloseConn','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getTypeOfUnitAdded$','refreshPermission','cmd','PENDING','univer-pro.collaboration-client.network-condition.service','_replayCachedMutations','joinEvent','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','close$','PSEUDO_FETCH_MISSING_RESULT','[UniverCollaborationClientPlugin]','responseType','LIVESHARE_TERMINATE','b64DecodeUnicode','_imageSourceCache','entityInit$','_queuedRemoteChangesets','deserializeToCombResponse','_state$','update','some','_eventService','_undoRedoService','getGlobalObject','list','getRandomValues','onSyncEditingCollabCursor','PendingState','_updateLocalCache','status','_getSocketChannel','?url=','fetching\x20missing\x20changesets\x20from\x20','_getUploadFileURL','unsubscribe','session.room-cnt-exceeds','[CollaborationSessionService]:\x20socket\x20error','Rectangle','onTransformState','SnapshotServerOverHTTPService','ERROR_IMAGE_TYPE','@univerjs/protocol','file','_initDependencies','onload','push','splice','buffer','_unlockTransition','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SUBMIT_CHANGESET_TIMEOUT','CHANGESET_SHOULD_RETRY','takeUntil','_removeRoom','_injector','routeKey','max','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_listenToNetworkCondition','getUnitType','crypto','saveChangeset','localeService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','open$','unitId','updateCursorEvent','getTime','IPermissionService','offline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_resendTimeout','5277165LSNrCY','pluginName','uploadFileServerUrl','getValue','_clearUndo','UniverSheets','capture','apply','_remoteChangesetQueue','_getCurrentRevision','allowed','UUID','prototype','_hasSessionsForEndpoint','symbol','onlyLocal','_onConnectionOpen','_httpService','ImageSourceType','joinRsp','firstValueFrom','error$','liveShareNewHost','length','concatMap','indexOf','_userManagerService','isTransformMutationsWithChangesetSuccess','accept','LIVESHARE_OPERATION','enableSingleActiveInstanceLock','event$','pipe','onMissingChangesets','mapDocumentTypeToUniverInstanceType','_pendingMutations','MentionIoHttpService','save\x20fail\x20reason\x20is\x20','constructor','IUniverInstanceService','executeCommand','[OfflineState]:\x20received\x20rejection.','SessionStatus','[CollaborationEntity]','COLLABORATION_CHANGESET_TRANSLATION_REQUIRED','_instanceService','objects','delete','dispose$','/universer-api/uniscript','toggleOffline','_socketService','getSheetId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','infoRsp','onMissedChangesetFetched','_getLoginPath','Subject','textRanges','SUBMIT_CHANGESET','resolveWithBasePath','HEARTBEAT_TIMEOUT','socket\x20close','/new_changes','originalMeta','memberID','from','onMutationExecutedForCollab','/universer-api/stream/file/upload','_HTTPService','UniverNetwork','_onFetchMissResult','_sender','PdfCollaborationEntity','roomInfos','FetchingMissState','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_collaborationTimeoutTimer','SOCKET_FAILED_RETRY',',\x20got\x20','\x0aAfter:\x20','UniverCollaborationClientPlugin','CollaborativeUndoRedoService','/universer-api/snapshot/','_memberService','updateSnapshot','next','/universer-api/file/{fileID}/sign-url','retryConnectingTimer','backupOfflineData','debug','aes/pkcs7:\x20wrong\x20padding','string','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','isArray','CONFLICT','_createHandler','missingChangesets','_singleActiveUnitService','UniverProSlides','synced','AAD','session','_upload','12522SrPXwW','rxjs','_logService','_unitLoaded$','CHANGESET_REJ','_showConflictNotification','loadDoc','filter','NO_OTHER_CLIENTS_EDITING','collaboration-client.config','Failed\x20to\x20update\x20permission\x20point','floor','values','saveImage','post','loadUnit','stringify'];_0x39df=function(){return _0x6c7985;};return _0x39df();}
|