@univerjs-pro/collaboration-client 0.4.1-experimental.20241023-bbb123f → 0.4.1-experimental.20241024-9717e6c

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5cd2(_0x3351d2,_0x4312b9){const _0x3ad332=_0x3ad3();return _0x5cd2=function(_0x5cd26a,_0x202f14){_0x5cd26a=_0x5cd26a-0xa4;let _0x3e1110=_0x3ad332[_0x5cd26a];return _0x3e1110;},_0x5cd2(_0x3351d2,_0x4312b9);}function _0x3ad3(){const _0x4f77ba=['onPointerMove$','_status$','_sendHeartbeat','_onCursorUpdate','_cursorShapes','_localCacheService','_userManagerService','onSyncEditingCollabCursor','with','map','_instanceService','startsWith','_transformUndoredo','@univerjs/docs-ui','transformChangesets','_snapshotService','_id','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ERROR_IMAGE_TYPE','setInterval','_handleHover','number','_redoStacks','clearInterval','infoRsp','onRemoteRej','CommentService','_replayCachedMutations','_commentUpdate$','status$','none','_sender','startRow','closeSession','defineProperty','result','visibilityState','_sheetTransformSelectionsService','RefRangeService','_onCombEvent','_getAPIPrefixPath','_updateLocalCursor','executeCommand','CHANGESET_SHOULD_RETRY','currentTheme$','awaitingChangeset','pipe','unitId','collab-rect-range-','AWAITING_WITH_PENDING','_isPermissionRej','fetchThroughInterceptors','endRow','getRelativeToViewportCoord','_imageSourceCache','addImageSourceCache','reqId','[CollaborationSessionService]','collabStatus.synced','getUnhiddenWorksheets','engine','setItem','getOffsetConfig','UniverNetwork','_createSocket','unshift','_anchor','image/jpg','univerjs-icon\x20univerjs-icon-','714098kXYSlN','sendChangesetTimeout','enableOfflineEditing','UniverInstanceType','send','7KozcdA','min','add','history','conflict.content','_startDocCollabCursor','subscribe','deserializeRangeWithSheet','_collabCursorController','getCoordByCell','SetTextSelectionsOperation','includes','HEADER_MENU','_unitOnClients','createCollaborator','onTransformRemoteChangesetByIMECache','_notificationService','_createInitialStateImpl','univer-online-status-icon','DeleteRangeMoveLeftCommandId','UNRECOGNIZED','cursorInfo$','_changesetReqId','name','IConfigService','[PendingState]:\x20received\x20rejection.','transformStack\x20failed!','_getCurrentRevision','_hovered','_pendingMutations','href','/new_changes','shareReplay','SetSelectionsOperation','addObject','SNAPSHOT_HAS_BEEN_REMOVED','getCollabEntity','updateOfflineData','_startSheetCollabCursor','pending','YUUMI_URL_COL_OUT_OF_RANGE','_replaceFileID','_snapshotServerService','CommandType','getActiveSheet','WebSocketService','@univerjs/design','catch','dispose','SNAPSHOT_SERVER_URL_KEY','loadDoc','whenReady','every','removeMember','has','getCurrentSelections','univer-pro.collaboration-client-socket-service','addEventListener','getUnitOnRev','loadSheet','getDocRanges','docStateChange$','PERMISSION_REJ','getViewport','init','selections','APPLY_PERMISSION_DENIED','CollaborationSocketService','UNAUTHENTICATED','show','_docSkeleton','duration','HEARTBEAT','textEncoder','takeUntil','ColorKit','_transformUndoRedoStack','USERS_LEAVE','INGEST','url(#$1','_docTransformIMECacheService','csAckEvent','_selfUnitIDs','COLLAB_WEB_SOCKET_URL_KEY','ThresholdInterceptorFactory','push','[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.','UNIVER_PROJECT','_handler','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','substring','entries','transformMutationsWithChangeset','univer-online-status-title','HttpExport','sessionStatus','_updateStatus','IPermissionService','setShapeProps','@univerjs-pro/collaboration','measureText','POST','makeDirty','createInstance','headers','onlineStatusIcon','_singleActiveUnitService','roles','syncEditingCollabCursor','handleIRemoveCol','clipPath','onStateChange','_onCursorDelete','requireSession','NO_OTHER_CLIENTS_EDITING','ISnapshotServerService','IMessageService','_incrementRevisionNumber','_substituteUndoStack','_logService','onTransformChange$','exhaustSavingTask','snapshotServerUrl','_setupSubUnitSync','_textBubble','getItem','blue400','_updateCollabCursors','@univerjs-pro/license','_joinRoom','collab-text-range-','_commandService','offline','transformByState','roomInfos','reject','fill','_toggleOffline','_remoteChangesetQueue','UNIVER_COLLABORATION_CLIENT_PLUGIN','EmptyMutation','round','transformSelections','getCurrent','ThemeService','reverse','InsertSheetMutation','status','CollaborationEntity','_socketService','isActive','AUTHZ_URL_KEY','socket\x20open.','_refRangeService','_type','BuiltInUIPart','_permissionService','socket$','_memberService','LICENSE_DISTRO_REJECTED','LIVESHARE_NEW_HOST','_resendTimeout','string','FETCH_MISSING','_saveCache','getCurrentRevOfUnit','_clearRedo','IRenderManagerService','ImageUploadStatusType','url(#on-line-single_clip0_910_349)','newValue','useObservable','merge','onlyLocal','_stopTelemetryCollaborationNewChangeset','fillStyle','_send','_docTransformSelectionsService','YUUMI_RATE_OVER_LIMIT','_registerRenderDependencies','data','randomUUID','getMember','_clearHeartbeatTimer','type','_onRefRangeChange','fetch_missing','collaboration-client.config','loginUrlKey','saveSnapshot','_sendHeartbeatTimer','c1Prime','_getSaveTimeout','getUndoRedoMutationParamsCache','joinEvent','tag','rng','onMissingChangesets','_removeCollabCursors','DocSelectionManagerService','encode','DocCollaborationEntity','disposeWithMe','UniverCore','getAttachHeader','_executeRemoteChangeset','[OfflineState]:\x20received\x20acknowledgement.','InsertRangeMoveDownCommandId','state','_getDownloadEndpointURL','CHANGESET_REJ','_initStatusComponent','function','_collabCursorState$','COMPLETION_FINISHED','updateCursorEvent','className','onPointerLeave$','_unitStatus','UPDATE_CURSOR','_getSignURL','debounce','[DataLoaderController]','_backgroundColor','isTransformMutationFailure','_scheduleTimestamp','_clearLocalCache','WorkbookEditablePermission','UniverCollaboration','objectID','UnitEmbedded','evenodd','_onJoinRoomEvent','sequenceExecute','HEARTBEAT_TIMEOUT_KEY','_cursorInfo$','_toggleOnline','update','LOCAL_CACHE_INTERVAL_KEY','FAIL','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_exhaustRemoteChangesetQueue','UNIVER_UNKNOWN','SNAPSHOT_URL_KEY','FileId','_resendTimer','registerComponent','updatePermissionPoint','enableSingleActiveInstanceLock','_startCollaboration','_getAPIPrefix','USERS_ENTER','DisposableCollection','_lastPointer','@univerjs/sheets-ui','subunit','failed\x20to\x20apply\x20missed\x20changesets!','[CollaborationUndoRedoService]','MessageType','UniverUi','ranges','AWAITING','roomMembers$','_getSheetObject','apply','interceptor','getRoom','_handleLeaveEvent','_sessions','_state$','color','actions','assign','on-line-single_clip0_910_349','key','uploadFileServerUrl','_initCloseConn','_collaborationTimeoutTimer','transformUndoRedo','IHTTPImplementation','getLatestCsReqIdBySid','isInternalEditorID','isTransformMutationsWithChangesetFailure','XHRHTTPImplementation','row','_drawAnchor','COMPRESS_MUTATION_APPLY','svg','UniverTelemetry','_colorAssignService','handleInsertRangeMoveRight','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','removeParam','defs','ITelemetryService','clear','sheetId','SEND_CHANGESET_TIMEOUT_KEY','HTTPRequest','subscribeEvent','updateMember','activeSheet$','Subject','doc.mutation.rich-text-editing','IUndoRedoService','disableLocalCache','_getSendChangesetTimeout','LIVESHARE_OPERATION','replace','c2Prime','UniverSheets','workbook','LocalUndoRedoService','OffLineSingle','saveOfflineData','_throwTelemetryCollaborationNewChangeset','_collaborationSessionService','split','touchDependencies','_clearTimeoutTimer','ImageSourceType','getTypeOfUnitAdded$','lineTo','collabStatus.offline','sid','VIEWPORT_KEY','path','Disposable','_onMessage','registerHTTPInterceptor','colorChannel1','csShouldRetryEvent','visibilitychange','APPLY_REJECT','DocSkeletonManagerService','/block/','_event$','message$','onRemoteAck','toString','_anchorDot','ERROR_IMAGE','delete','[CollaborationState]:\x20apply\x20error!','_retryCount','getFocusedUnit','getParam','_beforeCloseService','_scheduleClearOtherTimer','RETRY_CONNECTING_MAX_COUNT','pluginName','toStringTag','_localStorageService','_socket$','textRanges','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_scheduleSaving','/-/object/-/batch_allowed','_HTTPService','OTHER_CLIENTS_EDITING','_labelPosition','_getScale','propertyIsEnumerable','/role','m2Prime','getUnitId','createElement','_transformService','currentColor','idSuffix','concatMap','UniverCollaborationClient','_getCtorByUniverType','getImage','collaboration-session-retry','[UniverCollaborationClientPlugin]','synced','body','UniverDocsUi','findNodePositionByCharIndex','enableAuthServer','selection','_checkMissing','_cursors','drawWith','\x0aCurrent:\x20','ALREADY_EXISTS','SessionStatus','jiqing500','isTransformMutationsWithChangesetSuccess','_changesetSessionId','getSheetObject','_lockTransition','UniverDrawing','_disabled','appendMutation','throttleTime','append','_waitForHeartbeatResponse','baseRev','DocStateChangeManagerService','bind','SetDocZoomRatioOperation','_socketReady','getInterceptPoints','_updateURLWithCurrentState','getSheetBlock','IDLE','_removeRoom','CONNECTOR_DATA_TOO_LARGE','[SyncedState]:\x20received\x20rejection.','session.collaboration-timeout','collabStatus.syncing','onReady','getSkeleton','SheetCollaborationEntity','getAncestorScale','fetchMiss','setCurrentUser','FETCH_MISS','_onConnectionOpen','max','onPointerEnter$','NEW_CHANGESETS','1541064KhnLom','toRgbString','ICommandService','getMemberID','_localeService','SnapshotServerOverHTTPService','getOwnPropertyDescriptor','INVALID_ARGUMENT','@univerjs/telemetry','_awaitingChangeset','COMMENT_UPDATE','[FetchMissState]','call','objects','telemetry\x20info\x20is\x20not\x20initialized','handleInsertRangeMoveDown','SUBMIT_CHANGESET','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','memberID','collaboratorID','changesets','Workbook','height','collabStatus.notCollab','delay','_timeoutTimer','url','editingUnit','/unit/','RECV','size','_scene','Optional','_configService','getCollabEntity$','override','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','x-univer-host','getActiveRange','NodePositionConvertToCursor','/object/','Injector','_showConflictNotification','_univerInstanceService','_color','distinctUntilChanged','DocIMEInputManagerService','values','filter','xlink:href','children','_injector','online','univer-online','@univerjs/docs','_onFetchMissResult','fromCollab','popstate','RxDisposable','RemoveColCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','CompressMutationService','currentSkeleton$','_removeClearOtherTimer','ILocalStorageService','TEXT_RANGE_LAYER_INDEX','createSocket','ERROR_EXCEED_SIZE','LocaleService','_initModules','_tryEnsureSocket','fetchMissingChangesets','onTransformSelections','collabCursorState$','change$','_syncEditingCollabCursorService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_queuedRemoteChangesets','LIVESHARE_TERMINATE','resolve','bottom','UniverCollaborationClientPlugin','#fff','reconnect','liveShareNewHost','unknown','useCallback','parse','registerRenderModule','collab-client.tooltip.reconnect','useDependency','_clearCollaborationTimeoutTimer','collab-text-anchor-','_commentService','_startTelemetryCollaborationNewChangeset','_tryReconnect','_undoStacks','take','_init','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','forEach','commentUpdateEvent','connectInjector','_roomMembers$','cursorInfo','off-line-single_clip0_910_343','unitID','setConfig','indexOf','capture','TOO_MANY_REQUESTS','IBeforeCloseService','_socketMessageSubscription','UNDEFINED','storage','asObservable','_themeService','focused$','top','@univerjs/core','APPLY_DUPLICATED','attrs','resend','?size=','_initStatusListener','code','SNAPSHOT_INVALID_SNAPSHOT','downloadEndpointUrl','_socket','[CollaborationEntity]','debug','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','JOIN','_ensureSubject','div','red300','concat','next','HEARTBEAT_INTERVAL_KEY','icon','_heartbeatTimer','isPermissionRej','SetWorksheetActivateCommand','collaboration.single-unit.warning','column','_unlockTransition','_onConflict','WebURLService','rgba(255,\x20255,\x20255,\x200.01)','_onRemoteChangeset','get','shouldCloseConn','_collaborationPaused','COMPRESS_MUTATION_SEND','assignAColorForMemberID','getCellPositionByOffset','&source=','_http','permission.title','save\x20fail\x20reason\x20is\x20','close','SHOULD_CLOSE_CONN','_createInitialState','url(#off-line-single_clip0_910_343)','transform','getValue','pauseCollaboration','image/gif','CHANGESET_ACK','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Tools','603738MjUMYS','_ws','NOT_COLLAB','Vector2','event$','serializeRangeWithSheet','purple300','ENSURE_SNAPSHOT_EXECUTION','_docSyncEditingCollabCursorService','saveChangeset','auth.needGotoLoginAlert','_shouldReportTelemetry','isValidRectRange','unitId\x20is\x20not\x20found','startColumn','_resendWithTimeout','rxjs','_transformStack','editing\x20status\x20changed\x20to','socket\x20close','/universer-api/oidc/authpage','_transformRemoteChangesetByIMECache','image/jpeg','_initEventListeners','_scheduleCollaborationTimeoutTimer','liveShareOperation','MSG_FOR_ERROR','toggleOnline','RichTextEditingMutation','UniverEngineRender','location','text','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_disableEditing','toDisposable','_acknowledgedAwaitingChangeset','_docStateChangeManagerService','close$','loadOfflineData','Unknown\x20user','@univerjs/network','awaiting_with_pending','setTimeout','UNIVER_DOC','APPLY_NON_SEQUENTIAL_REVISION','dispose$','list','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getConfig','fillText','_sessionStatus$','state$','_compressMutationService','generateRandomId','YUUMI_UNABLE_LOAD_URL','reduce','getResourcesRequest','sheets','ImageIoService','[PendingState]:\x20received\x20acknowledgement.','ITransformService','extend','_roomMembers','resourceIDs','AuthzIoHttpService','revision','originalMeta','UPDATE_PERMISSION_OBJ','CHANGESET_REVISION_CONFILICT','range','displayName','getCollabCursors$','getSheetId','Univer','getRenderById','_scheduleHeartbeat','ReplaySubject','_hover','NodePositionConvertToRectRange','setAlpha','_entityInit$','DesktopCollaborationStatusDisplayController','@univerjs/engine-formula','Warning','_unitID','_transitionLocked','registerRefRange','_cursor','members','_retryConnectingTimer','_clearOtherTimers','onMissedChangesetFetched','_initResize','getImageSourceCache','listCollaborators','allowed','BehaviorSubject','_onUserJoin','session.will-retry','_range','SnapshotService','COLORS','MUTATION','/object','onCommentUpdate','parseChangesetToProtocol','onlineStatusTitle','CollaborationSessionService','/rev/','LOGIN_URL_KEY','IAuthzIoService','_renderManagerService','/resources','getTime','CONFLICT','_initCommandExecutedListener','getDeserializedSheetBlock','combineLatest','getCurrentUnitForType','InsertRowCommandId','hasOwnProperty','arc','find','_clearUndo','json','subUnitId','then','_updateLocalCache','_cachedData','_loadSheet','handleDeleteRangeMoveLeft','replaceTextRanges','fillRule','routeKey','stringify','handleDeleteRangeMoveUp','compose','[SyncedState]:\x20received\x20acknowledgement.','Shape','SheetsSelectionsService','HELLO','_uiPartsService','CollaborationController','CollaborationEvent','deleteCollaborator','switchMap','defIds','forwardRef','3410634SoaOAf','gold400','transformIMECache','mutations','collaboration.closeRoom','sessionStatus$','connection\x20error','onRemoteChangeset','collabStatus.fetchMiss','SheetSkeletonManagerService','/universer-api/snapshot/','slice','debounceTime','font','now','image/png','_onRemoteRejected','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','responseType','_eventUnsubscribe','_submitChangeset','[CollaborationSessionService]:\x20socket\x20error','UniverDocs','getUnitStatus$','_collabSessionService','LEAVE','_hideTimer','pushState','_waitCount','[CollaborationSession]','stopTime','Error','COLLAB_SUBMIT_CHANGESET_URL_KEY','length','_syncEditingCollabCursor','PERMISSION_DENIED','_listenToOnlineEvent','_onRemoteRetry','UNIVER_SLIDE','_decreaseWaiting','_httpService','_sendingTimer','exports','set','collaboration_new_changeset','_getRedoStack','DEFAULT_FILE_NAME','unit','UNKNOWN_CODE','LICENSE_EXPORT_SIZE_EXCEEDED','m1Prime','EXCHANGE_SIGN_URL_SERVER_URL_KEY','batchAllowed','ONLINE','LIVESHARE_REQUEST_HOST','b64DecodeUnicode','PENDING','disposeUnit','localeService','_entities','_online','use','ACTIVE_UNIT_EVENT_CHANNEL','RevisionService','onCommandExecuted','HTTPService','SheetPermissionInitController','LocalCacheService','_state','RemoveRowCommandId','_initUnitPermissionChange','hide','serializeCombRequest','cmd','handleInsertCol','Module','/collaborator','_applyRemoteChangeset','_onLocalMutation','registerBeforeClose','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformSelections','copyFileMeta','Rectangle','uni.network.url-service','collabSubmitChangesetUrl','mapTo','_shapes','urlChange$','deepClone','not_collab','onRemoteRetry','from','_revisionService','endColumn','_onUserLeave','_candidateSocket','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','method','csRejEvent','setParam','1em','deserializeToCombResponse','_assignedColors','prototype','beginPath','_transformPreviousActiveRange','searchParams','rev','userID','50112svZANa','open$','_render','awaiting','toLowerCase','_saveTaskMap','patch','_substituteRedoStack','_handleEvent','IURLService','_getAnchorBounding','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_session','submit\x20changeset\x20error!','error$','3411272dOzBqT','IImageIoService','equals','UniverLicense','onMouseMove','@univerjs/rpc','DataLoaderController','setActiveRange','_config','BASE64','InsertColCommandId','save','_colorIndex','_updateSubUnitFromURLParams','LICENSE_MAX_UNITS_EXCEEDED','image/bmp','eventID','translate(.97)','objectType','_getUploadFileURL','fromEvent','on-line-single','UniverIcon','getRangePointData','_collaborationController','getSheetBySheetId','_transformIMECache','_getUndoStack','parseProtocolChangeset','105010znnZsZ','_change$','addObjects','_getMergeRange','HttpImport','Inject','_onConnectionFailed','onload','5cbQIYD','OFFLINE','getTypeOfUnitDisposed$','_members','_clearScheduledTask','handleMoveRange','UniverSheetsUi','SYNCED','action','params','getCurrentUser','complete','?url=','_createHandler','mapDocumentTypeToUniverType','DeleteRangeMoveUpCommandId','_schedule','_onOffline','PSEUDO_FETCH_MISSING_RESULT','_setupBeforeClosingHandler','FromArray','isArray','UNIVER_SHEET','CollaborationSession','retryConnectingInterval','UNKNOWN_CMD','JSONX','INTERNAL_ERROR','UniverRpc','post','operators','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','collabWebSocketUrl','_rescheduleHeartbeat','putCollaborators','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_urlService','\x20to\x20','_initRequestHeader','object','restore','HEARTBEAT_TIMEOUT','replaceState','transformMutation','Rect','clearTimeout','_handleHeartbeatEvent','handleInsertRow','conflict','isTransformChangesetsSuccess','getColor','saveSheetBlock','IUniverInstanceService','_messageService','listRoles','NOT_FOUND','_sheetSkeletonManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','@univerjs/drawing','UnitSnapshot','MoveRangeCommandId','_updateState','_fetchMissChangesets','IUIPartsService','_listenToOfflineEvent','permissionRejEvent','_onRemoteACK','getOwnPropertySymbols','univer-online-status','file','target','put','socketService','Undefined','@univerjs/sheets','error','/universer-api/snapshot','639tKWjtz','getRandomValues','ILogService','requestParams','width','onRendered','_context','_docSkeletonManagerService','roomMembers','sheetID','unsubscribe','toggleOffline','M0\x200H16V16H0z','EffectRefRangId','@univerjs/ui','createIdentifier','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_drawTextRange','LIVESHARE_FETCH_OPERATIONS','registerOnClose','session','onSendChangeset','getVpScrollXYInfoByPosToVp','black','getUnitType','_telemetryInfo','rxjs/operators','react','VIEW_MAIN','getUniverSheetInstance','_name','_refreshCollabCursors','...'];_0x3ad3=function(){return _0x4f77ba;};return _0x3ad3();}(function(_0x4c4f56,_0x307175){const _0xbe286a=_0x5cd2,_0x5001be=_0x4c4f56();while(!![]){try{const _0x4d1b90=parseInt(_0xbe286a(0x1dd))/0x1+parseInt(_0xbe286a(0x3c6))/0x2+parseInt(_0xbe286a(0x2df))/0x3+-parseInt(_0xbe286a(0x132))/0x4+parseInt(_0xbe286a(0x313))/0x5*(-parseInt(_0xbe286a(0x271))/0x6)+-parseInt(_0xbe286a(0x3cb))/0x7*(parseInt(_0xbe286a(0x2ee))/0x8)+parseInt(_0xbe286a(0x360))/0x9*(parseInt(_0xbe286a(0x30b))/0xa);if(_0x4d1b90===_0x307175)break;else _0x5001be['push'](_0x5001be['shift']());}catch(_0x3d3869){_0x5001be['push'](_0x5001be['shift']());}}}(_0x3ad3,0x53ba4),function(_0x5c314d,_0x556079){const _0x27d4d4=_0x5cd2;typeof exports==_0x27d4d4(0x33a)&&typeof module<'u'?_0x556079(exports,require(_0x27d4d4(0x1a9)),require(_0x27d4d4(0x1ed)),require(_0x27d4d4(0x37a)),require(_0x27d4d4(0x3f9)),require(_0x27d4d4(0x36e)),require(_0x27d4d4(0x205)),require(_0x27d4d4(0x42e)),require(_0x27d4d4(0x13a)),require(_0x27d4d4(0x38e)),require(_0x27d4d4(0x35d)),require('@univerjs/engine-render'),require(_0x27d4d4(0x168)),require(_0x27d4d4(0x34d)),require('@univerjs/engine-formula'),require(_0x27d4d4(0x4c9)),require(_0x27d4d4(0x37b)),require(_0x27d4d4(0x2f3)),require(_0x27d4d4(0x44b))):typeof define==_0x27d4d4(0x49f)&&define['amd']?define([_0x27d4d4(0x29b),_0x27d4d4(0x1a9),_0x27d4d4(0x1ed),_0x27d4d4(0x37a),_0x27d4d4(0x3f9),_0x27d4d4(0x36e),_0x27d4d4(0x205),_0x27d4d4(0x42e),_0x27d4d4(0x13a),_0x27d4d4(0x38e),'@univerjs/sheets','@univerjs/engine-render','@univerjs/docs','@univerjs/drawing',_0x27d4d4(0x22f),_0x27d4d4(0x4c9),_0x27d4d4(0x37b),_0x27d4d4(0x2f3),'@univerjs-pro/license'],_0x556079):(_0x5c314d=typeof globalThis<'u'?globalThis:_0x5c314d||self,_0x556079(_0x5c314d[_0x27d4d4(0xfd)]={},_0x5c314d[_0x27d4d4(0x496)],_0x5c314d[_0x27d4d4(0x1ed)],_0x5c314d[_0x27d4d4(0x1ed)][_0x27d4d4(0x331)],_0x5c314d['UniverDesign'],_0x5c314d[_0x27d4d4(0x4ce)],_0x5c314d[_0x27d4d4(0x3c0)],_0x5c314d[_0x27d4d4(0x4af)],_0x5c314d[_0x27d4d4(0xaa)],_0x5c314d[_0x27d4d4(0x104)],_0x5c314d[_0x27d4d4(0xc0)],_0x5c314d[_0x27d4d4(0x1fa)],_0x5c314d[_0x27d4d4(0x287)],_0x5c314d[_0x27d4d4(0x113)],_0x5c314d['UniverEngineFormula'],_0x5c314d[_0x27d4d4(0x319)],_0x5c314d['React'],_0x5c314d[_0x27d4d4(0x32f)],_0x5c314d[_0x27d4d4(0x2f1)]));}(this,function(_0x4e0bbf,_0x460a10,_0x22d14a,_0x436c5c,_0x511ab8,_0x29b1e2,_0x4b5b88,_0x162fdb,_0x2ca65d,_0x39c231,_0x57c232,_0x5633aa,_0x447cee,_0x39a60b,_0x3a49db,_0x448142,_0x542714,_0x5bcab3,_0x3c3026){'use strict';const _0x103a68=_0x5cd2;var _0x105131=Object['defineProperty'],_0x58126a=(_0x53ac05,_0x29105e,_0x15f087)=>_0x29105e in _0x53ac05?_0x105131(_0x53ac05,_0x29105e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15f087}):_0x53ac05[_0x29105e]=_0x15f087,_0x519548=(_0x1d14e0,_0x1b3fb5,_0x2c89f8)=>_0x58126a(_0x1d14e0,typeof _0x1b3fb5!='symbol'?_0x1b3fb5+'':_0x1b3fb5,_0x2c89f8);const _0x1f5936='SNAPSHOT_SERVER_URL_KEY',_0x9dae07=_0x103a68(0x35f),_0x5ed756=_0x103a68(0x4be),_0x1ea791='SEND_CHANGESET_TIMEOUT',_0x3ea07e='COLLAB_WEB_SOCKET_URL',_0x548796='ws://127.0.0.1:8000/universer-api/comb/connect',_0x285d6d='HEARTBEAT_INTERVAL',_0x4a32d2=_0x103a68(0x33c),_0x2529a2=_0x103a68(0xe7),_0x28c4b8='LOCAL_CACHE_INTERVAL',_0xbf257c='COLLAB_SUBMIT_CHANGESET_URL',_0x24870e='/universer-api/comb',_0x17be73=_0x103a68(0x24a),_0x2d0494=_0x103a68(0x1f1);var _0x48b06d=(_0x3f9a96=>(_0x3f9a96[_0x3f9a96[_0x103a68(0x1a3)]=0x0]='UNDEFINED',_0x3f9a96[_0x3f9a96['OK']=0x1]='OK',_0x3f9a96[_0x3f9a96[_0x103a68(0x32e)]=0x2]=_0x103a68(0x32e),_0x3f9a96[_0x3f9a96['PERMISSION_DENIED']=0x3]=_0x103a68(0x294),_0x3f9a96[_0x3f9a96[_0x103a68(0x34a)]=0x4]='NOT_FOUND',_0x3f9a96[_0x3f9a96[_0x103a68(0x40f)]=0x5]=_0x103a68(0x40f),_0x3f9a96[_0x3f9a96['ALREADY_EXISTS']=0x6]=_0x103a68(0x10c),_0x3f9a96[_0x3f9a96['INVALID_ARGUMENT']=0x7]=_0x103a68(0x139),_0x3f9a96[_0x3f9a96[_0x103a68(0x1a0)]=0x8]=_0x103a68(0x1a0),_0x3f9a96[_0x3f9a96[_0x103a68(0x4a1)]=0x9]=_0x103a68(0x4a1),_0x3f9a96[_0x3f9a96[_0x103a68(0x221)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3f9a96[_0x3f9a96[_0x103a68(0x1b0)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3f9a96[_0x3f9a96[_0x103a68(0x3ee)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3f9a96[_0x3f9a96[_0x103a68(0x1e4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3f9a96[_0x3f9a96[_0x103a68(0xd7)]=0x1b59]=_0x103a68(0xd7),_0x3f9a96[_0x3f9a96[_0x103a68(0x209)]=0x1b5a]=_0x103a68(0x209),_0x3f9a96[_0x3f9a96['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3f9a96[_0x3f9a96[_0x103a68(0x40d)]=0x1b5c]=_0x103a68(0x40d),_0x3f9a96[_0x3f9a96['APPLY_DUPLICATED']=0x1b5d]=_0x103a68(0x1aa),_0x3f9a96[_0x3f9a96[_0x103a68(0x123)]=0x1f41]=_0x103a68(0x123),_0x3f9a96[_0x3f9a96[_0x103a68(0x2fc)]=0x2329]=_0x103a68(0x2fc),_0x3f9a96[_0x3f9a96[_0x103a68(0x1db)]=0x232a]=_0x103a68(0x1db),_0x3f9a96[_0x3f9a96[_0x103a68(0x34c)]=0x232b]=_0x103a68(0x34c),_0x3f9a96[_0x3f9a96[_0x103a68(0x2a2)]=0x232c]=_0x103a68(0x2a2),_0x3f9a96[_0x3f9a96[_0x103a68(0x46a)]=0x232d]=_0x103a68(0x46a),_0x3f9a96[_0x3f9a96[_0x103a68(0x213)]=0x2711]=_0x103a68(0x213),_0x3f9a96[_0x3f9a96[_0x103a68(0x3f3)]=0x2712]=_0x103a68(0x3f3),_0x3f9a96[_0x3f9a96[_0x103a68(0x47d)]=0x2713]=_0x103a68(0x47d),_0x3f9a96[_0x3f9a96['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x103a68(0x16e),_0x3f9a96[_0x3f9a96[_0x103a68(0x3df)]=-0x1]=_0x103a68(0x3df),_0x3f9a96))(_0x48b06d||{}),_0x3907d0=(_0x3245f9=>(_0x3245f9[_0x3245f9[_0x103a68(0x4bd)]=0x0]='UNIVER_UNKNOWN',_0x3245f9[_0x3245f9[_0x103a68(0x208)]=0x1]=_0x103a68(0x208),_0x3245f9[_0x3245f9[_0x103a68(0x329)]=0x2]='UNIVER_SHEET',_0x3245f9[_0x3245f9[_0x103a68(0x297)]=0x3]=_0x103a68(0x297),_0x3245f9[_0x3245f9['UNIVER_PROJECT']=0x4]=_0x103a68(0x422),_0x3245f9[_0x3245f9[_0x103a68(0x3df)]=-0x1]=_0x103a68(0x3df),_0x3245f9))(_0x3907d0||{}),_0x32a28a=(_0x1b7d08=>(_0x1b7d08[_0x1b7d08['UNKNOWN_CMD']=0x0]=_0x103a68(0x32c),_0x1b7d08[_0x1b7d08[_0x103a68(0x269)]=0x1]=_0x103a68(0x269),_0x1b7d08[_0x1b7d08[_0x103a68(0x1b6)]=0x2]=_0x103a68(0x1b6),_0x1b7d08[_0x1b7d08[_0x103a68(0x28a)]=0x3]='LEAVE',_0x1b7d08[_0x1b7d08[_0x103a68(0x419)]=0x4]=_0x103a68(0x419),_0x1b7d08[_0x1b7d08[_0x103a68(0x413)]=0x5]='HEARTBEAT',_0x1b7d08[_0x1b7d08[_0x103a68(0x14f)]=0x6]=_0x103a68(0x14f),_0x1b7d08[_0x1b7d08[_0x103a68(0x3df)]=-0x1]=_0x103a68(0x3df),_0x1b7d08))(_0x32a28a||{}),_0x16fd6f=(_0x3ba0ab=>(_0x3ba0ab[_0x3ba0ab[_0x103a68(0x2a1)]=0x0]='UNKNOWN_CODE',_0x3ba0ab[_0x3ba0ab['OK']=0x1]='OK',_0x3ba0ab[_0x3ba0ab[_0x103a68(0x4ba)]=0x2]=_0x103a68(0x4ba),_0x3ba0ab[_0x3ba0ab[_0x103a68(0x3df)]=-0x1]='UNRECOGNIZED',_0x3ba0ab))(_0x16fd6f||{}),_0x46e1d8=(_0x2f0595=>(_0x2f0595[_0x2f0595['Undefined']=0x0]=_0x103a68(0x35c),_0x2f0595[_0x2f0595[_0x103a68(0x30f)]=0x1]=_0x103a68(0x30f),_0x2f0595[_0x2f0595[_0x103a68(0x429)]=0x2]=_0x103a68(0x429),_0x2f0595[_0x2f0595[_0x103a68(0x4b1)]=0x3]=_0x103a68(0x4b1),_0x2f0595[_0x2f0595[_0x103a68(0x34e)]=0x4]='UnitSnapshot',_0x2f0595[_0x2f0595[_0x103a68(0x3df)]=-0x1]=_0x103a68(0x3df),_0x2f0595))(_0x46e1d8||{});const _0x49305e=_0x103a68(0x486),_0x231290={};function _0x1d2aae(_0x1f0b3f){const _0x2aa9bd=_0x103a68;var _0x566f15,_0x2b5135,_0x270bda,_0x10ec4b,_0x453d2b;const _0x4eee2e=_0x1f0b3f[_0x2aa9bd(0x47f)],_0x1ef70d=JSON[_0x2aa9bd(0x189)](_0x4eee2e);switch(_0x1ef70d[_0x2aa9bd(0x2ba)]){case _0x32a28a['HEARTBEAT']:case _0x32a28a[_0x2aa9bd(0x269)]:{const _0x206892=_0x1ef70d[_0x2aa9bd(0x399)];return{..._0x1ef70d,'data':_0x206892,'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};}case _0x32a28a['JOIN']:{const _0x38f696=_0x1ef70d['joinRsp'];return{..._0x1ef70d,'data':_0x38f696,'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};}case _0x32a28a[_0x2aa9bd(0x14f)]:{const _0x3cba1d=_0x1ef70d['collaMsg'];switch(_0x3cba1d[_0x2aa9bd(0x2fe)]){case _0x162fdb['CollaborationEvent'][_0x2aa9bd(0x409)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':(_0x566f15=_0x3cba1d[_0x2aa9bd(0x354)])==null?void 0x0:_0x566f15['cs']},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb['CollaborationEvent'][_0x2aa9bd(0x1da)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':(_0x2b5135=_0x3cba1d[_0x2aa9bd(0x41c)])==null?void 0x0:_0x2b5135['cs']},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb['CollaborationEvent'][_0x2aa9bd(0x131)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':(_0x270bda=_0x3cba1d['newCsEvent'])==null?void 0x0:_0x270bda['cs']},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb[_0x2aa9bd(0x26c)][_0x2aa9bd(0x49d)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':(_0x10ec4b=_0x3cba1d[_0x2aa9bd(0x2d4)])==null?void 0x0:_0x10ec4b['cs']},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb[_0x2aa9bd(0x26c)][_0x2aa9bd(0x3ac)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':(_0x453d2b=_0x3cba1d[_0x2aa9bd(0xd5)])==null?void 0x0:_0x453d2b['cs']},'cmd':_0x1ef70d['cmd']};case _0x162fdb[_0x2aa9bd(0x26c)][_0x2aa9bd(0x4a6)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':_0x3cba1d[_0x2aa9bd(0x4a2)]},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb['CollaborationEvent'][_0x2aa9bd(0x4c6)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':_0x3cba1d[_0x2aa9bd(0x48d)]},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb['CollaborationEvent'][_0x2aa9bd(0x418)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':_0x3cba1d['leaveEvent']},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb[_0x2aa9bd(0x26c)][_0x2aa9bd(0x46b)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':_0x3cba1d['liveShareNewHost']},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb[_0x2aa9bd(0x26c)][_0x2aa9bd(0x372)]:case _0x162fdb[_0x2aa9bd(0x26c)][_0x2aa9bd(0xbd)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':_0x3cba1d[_0x2aa9bd(0x1f6)]},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb[_0x2aa9bd(0x26c)][_0x2aa9bd(0x180)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':_0x3cba1d[_0x2aa9bd(0x186)]},'cmd':_0x1ef70d['cmd']};case _0x162fdb[_0x2aa9bd(0x26c)][_0x2aa9bd(0x1f7)]:return{..._0x1ef70d,'data':_0x3cba1d,'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb[_0x2aa9bd(0x26c)][_0x2aa9bd(0x13c)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':_0x3cba1d[_0x2aa9bd(0x197)]},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb[_0x2aa9bd(0x26c)]['UPDATE_PERMISSION_OBJ']:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':_0x3cba1d['updatePermissionObjEvent']},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};case _0x162fdb[_0x2aa9bd(0x26c)][_0x2aa9bd(0x1d3)]:return{..._0x1ef70d,'data':{..._0x3cba1d,'data':_0x3cba1d[_0x2aa9bd(0x1c9)]},'cmd':_0x1ef70d[_0x2aa9bd(0x2ba)]};default:return _0x1ef70d;}}default:return _0x1ef70d;}}function _0x442838(_0x90221c){const _0x3a4256=_0x103a68;switch(_0x90221c[_0x3a4256(0x2ba)]){case _0x32a28a[_0x3a4256(0x413)]:case _0x32a28a['HELLO']:return JSON[_0x3a4256(0x263)]({'cmd':_0x90221c[_0x3a4256(0x2ba)],'routeKey':_0x90221c[_0x3a4256(0x262)]});case _0x32a28a['INGEST']:{let _0x370441;switch(_0x90221c[_0x3a4256(0x47f)][_0x3a4256(0x2fe)]){case _0x162fdb[_0x3a4256(0x26c)][_0x3a4256(0x4a6)]:{_0x370441={'eventID':_0x162fdb['CollaborationEvent'][_0x3a4256(0x4a6)],'updateCursorEvent':_0x90221c[_0x3a4256(0x47f)][_0x3a4256(0x47f)]};break;}case _0x162fdb[_0x3a4256(0x26c)][_0x3a4256(0x418)]:{_0x370441={'eventID':_0x162fdb[_0x3a4256(0x26c)]['USERS_LEAVE'],'leaveEvent':_0x90221c['data'][_0x3a4256(0x47f)]};break;}case _0x162fdb[_0x3a4256(0x26c)][_0x3a4256(0x4c6)]:{_0x370441={'eventID':_0x162fdb[_0x3a4256(0x26c)][_0x3a4256(0x4c6)],'joinEvent':_0x90221c[_0x3a4256(0x47f)]['data']};break;}case _0x162fdb[_0x3a4256(0x26c)][_0x3a4256(0x46b)]:{_0x370441={'eventID':_0x162fdb['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x90221c[_0x3a4256(0x47f)][_0x3a4256(0x47f)]};break;}case _0x162fdb['CollaborationEvent'][_0x3a4256(0xbd)]:{_0x370441={'eventID':_0x162fdb[_0x3a4256(0x26c)][_0x3a4256(0xbd)],'liveShareOperation':_0x90221c[_0x3a4256(0x47f)][_0x3a4256(0x47f)]};break;}case _0x162fdb[_0x3a4256(0x26c)][_0x3a4256(0x180)]:{_0x370441={'eventID':_0x162fdb[_0x3a4256(0x26c)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x90221c[_0x3a4256(0x47f)]['data']};break;}case _0x162fdb[_0x3a4256(0x26c)]['LIVESHARE_REQUEST_HOST']:{_0x370441={'eventID':_0x162fdb[_0x3a4256(0x26c)][_0x3a4256(0x2a7)],'liveShareRequestHost':_0x90221c[_0x3a4256(0x47f)][_0x3a4256(0x47f)]};break;}case _0x162fdb[_0x3a4256(0x26c)][_0x3a4256(0x372)]:{_0x370441={'eventID':_0x162fdb['CollaborationEvent'][_0x3a4256(0x372)]};break;}default:_0x370441={'eventID':_0x90221c[_0x3a4256(0x47f)][_0x3a4256(0x2fe)]};}return JSON[_0x3a4256(0x263)]({'cmd':_0x90221c[_0x3a4256(0x2ba)],'routeKey':_0x90221c['routeKey'],'collaMsg':_0x370441});}case _0x32a28a[_0x3a4256(0x1b6)]:return JSON[_0x3a4256(0x263)]({'cmd':_0x90221c[_0x3a4256(0x2ba)],'routeKey':_0x90221c[_0x3a4256(0x262)],'joinReq':_0x90221c[_0x3a4256(0x47f)]});case _0x32a28a[_0x3a4256(0x28a)]:return JSON[_0x3a4256(0x263)]({'cmd':_0x90221c[_0x3a4256(0x2ba)],'routeKey':_0x90221c[_0x3a4256(0x262)],'leaveReq':_0x90221c['data']});default:throw new Error(_0x3a4256(0x336));}}var _0x1bc0af=Object['defineProperty'],_0xca3ef1=Object[_0x103a68(0x138)],_0x9a3957=(_0x149d16,_0x574d3a,_0x2a1faa,_0x3bd9fe)=>{for(var _0x5cdde7=_0x3bd9fe>0x1?void 0x0:_0x3bd9fe?_0xca3ef1(_0x574d3a,_0x2a1faa):_0x574d3a,_0x368f11=_0x149d16['length']-0x1,_0x2282c9;_0x368f11>=0x0;_0x368f11--)(_0x2282c9=_0x149d16[_0x368f11])&&(_0x5cdde7=(_0x3bd9fe?_0x2282c9(_0x574d3a,_0x2a1faa,_0x5cdde7):_0x2282c9(_0x5cdde7))||_0x5cdde7);return _0x3bd9fe&&_0x5cdde7&&_0x1bc0af(_0x574d3a,_0x2a1faa,_0x5cdde7),_0x5cdde7;},_0x54bc86=(_0x388e4f,_0x4421b5)=>(_0x627c84,_0xd1593a)=>_0x4421b5(_0x627c84,_0xd1593a,_0x388e4f);const _0x25dd34=_0x460a10[_0x103a68(0x36f)](_0x103a68(0x403));function _0x49c907(_0x508ca3,_0x562226,_0x4d7175){const _0x100d79=_0x103a68;return _0x508ca3+'/'+_0x562226+'/unit/'+_0x4d7175+_0x100d79(0x3ea);}_0x4e0bbf[_0x103a68(0x40e)]=class extends _0x460a10[_0x103a68(0xd1)]{constructor(_0x5b6cfa,_0x557c5e,_0x12b1a3,_0x435405,_0x354e74){const _0x277ed8=_0x103a68;super(),this[_0x277ed8(0x1cf)]=_0x5b6cfa,this['_ws']=_0x557c5e,this[_0x277ed8(0x153)]=_0x12b1a3,this['_logService']=_0x435405,this[_0x277ed8(0x3f5)]=_0x354e74;}[_0x103a68(0x174)](_0x4d4d2a){const _0x17ab77=_0x103a68,_0x42d182=this[_0x17ab77(0x1de)][_0x17ab77(0x174)](_0x4d4d2a);if(!_0x42d182)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x258702=new _0x460a10[(_0x17ab77(0x4c7))](),_0x2b2378=new _0x22d14a[(_0x17ab77(0xb8))]();_0x258702[_0x17ab77(0x3cd)](_0x42d182[_0x17ab77(0x202)][_0x17ab77(0x3d1)](_0x2c1041=>_0x2b2378[_0x17ab77(0x1bb)](_0x2c1041))),_0x258702[_0x17ab77(0x3cd)](_0x460a10[_0x17ab77(0x1ff)](()=>_0x2b2378['complete']()));const _0x3c8240=new _0x22d14a[(_0x17ab77(0xb8))]();_0x258702[_0x17ab77(0x3cd)](_0x42d182[_0x17ab77(0x2ed)][_0x17ab77(0x3d1)](_0x3789e1=>_0x3c8240[_0x17ab77(0x1bb)](_0x3789e1))),_0x258702[_0x17ab77(0x3cd)](_0x460a10[_0x17ab77(0x1ff)](()=>_0x3c8240[_0x17ab77(0x31e)]()));const _0x258871=new _0x22d14a[(_0x17ab77(0xb8))]();_0x258702['add'](_0x42d182[_0x17ab77(0xdb)][_0x17ab77(0x3d1)](_0x2d3fbf=>{const _0x1178b4=_0x17ab77,_0x3c6347=_0x1d2aae(_0x2d3fbf);_0x258871[_0x1178b4(0x1bb)](_0x3c6347);})),_0x258702[_0x17ab77(0x3cd)](_0x460a10[_0x17ab77(0x1ff)](()=>_0x258871['complete']()));let _0x37d5be;const _0x3b1226=()=>{const _0xf2c18=_0x17ab77;_0x3c8240['next'](new Event(_0xf2c18(0x277))),_0x2b2378[_0xf2c18(0x1bb)](new CloseEvent(_0xf2c18(0x277))),_0x37d5be[_0xf2c18(0x1d2)]();};return _0x37d5be={'memberID':'','close$':_0x2b2378[_0x17ab77(0x1a5)](),'error$':_0x3c8240['asObservable'](),'open$':_0x42d182[_0x17ab77(0x2e0)],'message$':_0x258871[_0x17ab77(0x1a5)](),'send':_0x2bc90f=>{const _0x1050ce=_0x17ab77;if(_0x2bc90f['cmd']===_0x32a28a[_0x1050ce(0x419)]){if(_0x2bc90f[_0x1050ce(0x47f)][_0x1050ce(0x2fe)]===_0x162fdb[_0x1050ce(0x26c)]['SUBMIT_CHANGESET']){this[_0x1050ce(0x285)](_0x37d5be,_0x2bc90f[_0x1050ce(0x47f)])['catch'](_0x570101=>{const _0x14e19f=_0x1050ce;this['_logService'][_0x14e19f(0x35e)](_0x570101),_0x3b1226();});return;}if(_0x2bc90f[_0x1050ce(0x47f)][_0x1050ce(0x2fe)]===_0x162fdb['CollaborationEvent'][_0x1050ce(0x46e)]){const _0xb52092=_0x2bc90f[_0x1050ce(0x47f)];this['_fetchMissChangesets'](_0xb52092)[_0x1050ce(0x25b)](_0x48a989=>{const _0x2de6e8=_0x1050ce;_0x258871['next']({'cmd':_0x32a28a[_0x2de6e8(0x14f)],'code':_0x16fd6f['OK'],'routeKey':_0xb52092[_0x2de6e8(0x47f)][_0x2de6e8(0x19c)],'routeType':'','data':{'eventID':_0x162fdb[_0x2de6e8(0x26c)][_0x2de6e8(0x325)],'data':{'changesets':_0x48a989}}});})[_0x1050ce(0x3fa)](_0x1d58f3=>{const _0x4c811c=_0x1050ce;this[_0x4c811c(0x442)][_0x4c811c(0x35e)](_0x1d58f3),_0x3b1226();});return;}}_0x42d182[_0x1050ce(0x3ca)](_0x442838(_0x2bc90f));},'close':()=>{const _0x59b084=_0x17ab77;_0x42d182[_0x59b084(0x1d2)](),_0x258702[_0x59b084(0x3fb)]();}},_0x37d5be;}async['_submitChangeset'](_0x25b849,_0x458b4c){const _0x15fdc0=_0x103a68;var _0x3553bb,_0x27b787;const {unitType:_0x226a71,unitID:_0x55ede7,changeset:_0x3b804d}=_0x458b4c[_0x15fdc0(0x47f)],_0x3761ad={'unitID':_0x55ede7,'memberID':_0x25b849[_0x15fdc0(0x144)],'type':_0x226a71,'changeset':_0x162fdb[_0x15fdc0(0x246)](_0x3b804d)},_0x2375b2=this[_0x15fdc0(0x153)][_0x15fdc0(0x20d)](_0xbf257c),_0x56fcb3=this[_0x15fdc0(0x153)][_0x15fdc0(0x20d)](_0x49305e),_0x2f4723=_0x49c907((_0x27b787=(_0x3553bb=_0x56fcb3==null?void 0x0:_0x56fcb3[_0x15fdc0(0x2c6)])!=null?_0x3553bb:_0x2375b2)!=null?_0x27b787:_0x24870e,_0x226a71,_0x55ede7);try{await this[_0x15fdc0(0x1cf)]['post'](_0x2f4723,{'body':_0x3761ad});}catch(_0x42a4d1){throw this[_0x15fdc0(0x442)][_0x15fdc0(0x35e)](_0x15fdc0(0x28e),_0x15fdc0(0x2ec)),_0x42a4d1;}}async[_0x103a68(0x351)](_0x5e9ab0){const _0x5bad90=_0x103a68,{unitID:_0x3ef49c,from:_0x3073ec,to:_0x3e90ad,unitType:_0x1f3a8e}=_0x5e9ab0[_0x5bad90(0x47f)];return(await this[_0x5bad90(0x3f5)][_0x5bad90(0x179)]({'metadata':void 0x0},{'unitID':_0x3ef49c,'type':_0x1f3a8e,'from':_0x3073ec,'to':_0x3e90ad}))[_0x5bad90(0x146)];}},_0x4e0bbf[_0x103a68(0x40e)]=_0x9a3957([_0x54bc86(0x0,_0x460a10[_0x103a68(0x310)](_0x4b5b88['HTTPService'])),_0x54bc86(0x1,_0x460a10[_0x103a68(0x310)](_0x4b5b88[_0x103a68(0x3f8)])),_0x54bc86(0x2,_0x460a10[_0x103a68(0x3e3)]),_0x54bc86(0x3,_0x460a10[_0x103a68(0x362)]),_0x54bc86(0x4,_0x162fdb[_0x103a68(0x43e)])],_0x4e0bbf[_0x103a68(0x40e)]);const _0x37749c=_0x103a68(0x29d);function _0x1a1f49(_0xa95525){const _0x4dd535=_0x103a68;return JSON[_0x4dd535(0x263)](_0xa95525)[_0x4dd535(0x292)];}class _0x2b0d1c{constructor(){const _0x3174b7=_0x103a68;_0x519548(this,_0x3174b7(0x39d),new _0x22d14a['Subject']()),_0x519548(this,'commentUpdate$',this['_commentUpdate$'][_0x3174b7(0x1a5)]());}[_0x103a68(0x245)](_0x381def){const _0x17b3cb=_0x103a68;this[_0x17b3cb(0x39d)][_0x17b3cb(0x1bb)](_0x381def);}}var _0x2c4b3c=Object[_0x103a68(0x3a3)],_0x67a2bc=Object[_0x103a68(0x138)],_0x407b0b=(_0x41557c,_0x311a53,_0x510cab,_0x32f4ad)=>{const _0x12cd7e=_0x103a68;for(var _0x4ccd2c=_0x32f4ad>0x1?void 0x0:_0x32f4ad?_0x67a2bc(_0x311a53,_0x510cab):_0x311a53,_0x19c363=_0x41557c[_0x12cd7e(0x292)]-0x1,_0x58ea9a;_0x19c363>=0x0;_0x19c363--)(_0x58ea9a=_0x41557c[_0x19c363])&&(_0x4ccd2c=(_0x32f4ad?_0x58ea9a(_0x311a53,_0x510cab,_0x4ccd2c):_0x58ea9a(_0x4ccd2c))||_0x4ccd2c);return _0x32f4ad&&_0x4ccd2c&&_0x2c4b3c(_0x311a53,_0x510cab,_0x4ccd2c),_0x4ccd2c;},_0x206518=(_0x4f83c5,_0x3b239e)=>(_0x4f26a3,_0x3899b1)=>_0x3b239e(_0x4f26a3,_0x3899b1,_0x4f83c5);let _0xf42097=class extends _0x460a10['Disposable']{constructor(_0x39537b,_0x6b00d8){const _0x344729=_0x103a68;super(),_0x519548(this,_0x344729(0x21b),new Map()),(this[_0x344729(0x15d)]=_0x39537b,this[_0x344729(0x387)]=_0x6b00d8,this[_0x344729(0x495)](_0x460a10[_0x344729(0x1ff)](_0x22d14a['merge'](this[_0x344729(0x15d)]['getTypeOfUnitDisposed$'](_0x460a10[_0x344729(0x3c9)][_0x344729(0x329)])['pipe'](_0x436c5c[_0x344729(0x38a)](_0x1747e8=>_0x1747e8[_0x344729(0xf7)]())),this[_0x344729(0x15d)][_0x344729(0x315)](_0x460a10[_0x344729(0x3c9)]['UNIVER_DOC'])[_0x344729(0x3af)](_0x436c5c[_0x344729(0x38a)](_0x29c4e6=>_0x29c4e6[_0x344729(0xf7)]())),this['_univerInstanceService'][_0x344729(0x315)](_0x460a10[_0x344729(0x3c9)][_0x344729(0x297)])['pipe'](_0x436c5c[_0x344729(0x38a)](_0x39fc89=>_0x39fc89['getUnitId']())))[_0x344729(0x3d1)](_0x5791e1=>this['_removeRoom'](_0x5791e1)))));}[_0x103a68(0x12c)](_0x99c3ad){const _0x2429c1=_0x103a68;this[_0x2429c1(0x387)][_0x2429c1(0x12c)](_0x99c3ad);}[_0x103a68(0x31d)](){const _0x30505c=_0x103a68;return this[_0x30505c(0x387)]['getCurrentUser']();}[_0x103a68(0xb6)](_0x150b05,_0x3ef509){const _0x321e69=_0x103a68;let _0xf9be61=this[_0x321e69(0x21b)]['get'](_0x150b05);_0xf9be61||(_0xf9be61=new _0x3ea3ae(),this[_0x321e69(0x21b)][_0x321e69(0x29c)](_0x150b05,_0xf9be61)),_0xf9be61[_0x321e69(0xb6)](_0x3ef509);}['removeMember'](_0x4c86a3,_0x48b2ab){const _0x2a8968=_0x103a68,_0x3cbd75=this[_0x2a8968(0x21b)][_0x2a8968(0x1c8)](_0x4c86a3);_0x3cbd75&&_0x3cbd75[_0x2a8968(0x400)](_0x48b2ab);}[_0x103a68(0x4d5)](_0x12949c){const _0x3c7828=_0x103a68;return this[_0x3c7828(0x21b)][_0x3c7828(0x1c8)](_0x12949c);}[_0x103a68(0x481)](_0xef5b9a,_0x5381bf){const _0x55f420=_0x103a68,_0x12d701=this[_0x55f420(0x21b)][_0x55f420(0x1c8)](_0xef5b9a);if(_0x12d701)return _0x12d701['getMember'](_0x5381bf);}[_0x103a68(0x122)](_0x4a0ede){const _0x5bb3f2=_0x103a68,_0x5dc5de=this[_0x5bb3f2(0x21b)]['get'](_0x4a0ede);_0x5dc5de&&(_0x5dc5de[_0x5bb3f2(0x3fb)](),this[_0x5bb3f2(0x21b)][_0x5bb3f2(0xe0)](_0x4a0ede));}['dispose'](){const _0x5b4994=_0x103a68;this['_roomMembers'][_0x5b4994(0x196)](_0x305ae4=>_0x305ae4['dispose']()),this[_0x5b4994(0x21b)][_0x5b4994(0xb1)]();}};_0xf42097=_0x407b0b([_0x206518(0x0,_0x460a10[_0x103a68(0x347)]),_0x206518(0x1,_0x460a10[_0x103a68(0x310)](_0x460a10['UserManagerService']))],_0xf42097);class _0x3ea3ae extends _0x460a10['Disposable']{constructor(){const _0x34fb89=_0x103a68;super(...arguments),_0x519548(this,_0x34fb89(0x316),new Map());}[_0x103a68(0x3fb)](){const _0x51b091=_0x103a68;this[_0x51b091(0x316)]['clear']();}[_0x103a68(0xb6)](_0x57115a){const _0x35d2bd=_0x103a68;this['_members'][_0x35d2bd(0x29c)](_0x57115a['memberID'],_0x57115a);}[_0x103a68(0x400)](_0x1144e8){const _0x2580f4=_0x103a68;this['_members'][_0x2580f4(0xe0)](_0x1144e8);}['getMember'](_0x458f68){const _0x518bd=_0x103a68;return this[_0x518bd(0x316)][_0x518bd(0x1c8)](_0x458f68);}}var _0x5843c1=Object[_0x103a68(0x3a3)],_0x596062=Object[_0x103a68(0x138)],_0x4e1891=(_0x14ea01,_0x284f8e,_0x2b0a7c,_0x197d80)=>{for(var _0x4c028e=_0x197d80>0x1?void 0x0:_0x197d80?_0x596062(_0x284f8e,_0x2b0a7c):_0x284f8e,_0x152e4e=_0x14ea01['length']-0x1,_0x5a5763;_0x152e4e>=0x0;_0x152e4e--)(_0x5a5763=_0x14ea01[_0x152e4e])&&(_0x4c028e=(_0x197d80?_0x5a5763(_0x284f8e,_0x2b0a7c,_0x4c028e):_0x5a5763(_0x4c028e))||_0x4c028e);return _0x197d80&&_0x4c028e&&_0x5843c1(_0x284f8e,_0x2b0a7c,_0x4c028e),_0x4c028e;},_0x59081e=(_0x4eefee,_0x1a8a2c)=>(_0x120ff6,_0x1d91b2)=>_0x1a8a2c(_0x120ff6,_0x1d91b2,_0x4eefee),_0x2c7c24=(_0x5e19b4=>(_0x5e19b4[_0x5e19b4[_0x103a68(0x121)]=0x0]=_0x103a68(0x121),_0x5e19b4[_0x5e19b4['JOINING']=0x1]='JOINING',_0x5e19b4[_0x5e19b4[_0x103a68(0x314)]=0x2]='OFFLINE',_0x5e19b4[_0x5e19b4['ONLINE']=0x3]=_0x103a68(0x2a6),_0x5e19b4))(_0x2c7c24||{});_0x4e0bbf[_0x103a68(0x32a)]=class extends _0x460a10[_0x103a68(0x16c)]{constructor(_0x58c3e3,_0x432fe4,_0x1ee1bb,_0x52a4f1,_0x54f92c,_0x2891e6,_0x5310af,_0x32580d,_0x5c48a9,_0x4b697a){const _0x12d25b=_0x103a68;super(),_0x519548(this,_0x12d25b(0x20f),new _0x22d14a[(_0x12d25b(0x23d))](0x0)),_0x519548(this,_0x12d25b(0x276),this['_sessionStatus$'][_0x12d25b(0x1a5)]()),_0x519548(this,_0x12d25b(0xda),new _0x22d14a[(_0x12d25b(0xb8))]()),_0x519548(this,'event$',this['_event$'][_0x12d25b(0x1a5)]()),_0x519548(this,_0x12d25b(0x1b2)),_0x519548(this,_0x12d25b(0x1a2)),_0x519548(this,_0x12d25b(0x4e0)),_0x519548(this,_0x12d25b(0x1e8),!0x1),_0x519548(this,_0x12d25b(0x379),null),(this[_0x12d25b(0x231)]=_0x58c3e3,this[_0x12d25b(0x442)]=_0x1ee1bb,this[_0x12d25b(0xe5)]=_0x52a4f1,this['_messageService']=_0x54f92c,this['_configService']=_0x2891e6,this[_0x12d25b(0x136)]=_0x5310af,this['_memberService']=_0x32580d,this[_0x12d25b(0x18f)]=_0x5c48a9,this['_telemetryService']=_0x4b697a,this[_0x12d25b(0x1e8)]=!!this['_telemetryService'],_0x432fe4[_0x12d25b(0x3af)](_0x22d14a[_0x12d25b(0x415)](this[_0x12d25b(0x20a)]))['subscribe'](_0xb21409=>{const _0x4695e1=_0x12d25b;var _0x3ef7ae;typeof _0xb21409>'u'||(this['_socket']=_0xb21409,_0xb21409?(this[_0x4695e1(0x44c)](_0xb21409),this[_0x4695e1(0x1a2)]=_0xb21409['message$'][_0x4695e1(0x3d1)](_0x163b25=>{const _0x3befd9=_0x4695e1;_0x163b25['routeKey']===this[_0x3befd9(0x231)]&&this['_onCombEvent'](_0x163b25);})):(this[_0x4695e1(0xc5)](),this['_sessionStatus$']['next'](0x2),(_0x3ef7ae=this[_0x4695e1(0x1a2)])==null||_0x3ef7ae['unsubscribe'](),this[_0x4695e1(0x1a2)]=null));}),this[_0x12d25b(0x495)](this[_0x12d25b(0xe5)][_0x12d25b(0x373)](()=>{const _0x2e1636=_0x12d25b;var _0x524693;(_0x524693=this['_socket'])==null||_0x524693[_0x2e1636(0x3ca)]({'cmd':_0x32a28a[_0x2e1636(0x28a)],'data':{'roomID':this[_0x2e1636(0x231)]}});})));}get[_0x103a68(0x42a)](){const _0x1c2aa6=_0x103a68;return this[_0x1c2aa6(0x20f)][_0x1c2aa6(0x1d7)]();}['getMemberID'](){const _0x4f54e7=_0x103a68;var _0xec994,_0x276196;return(_0x276196=(_0xec994=this['_socket'])==null?void 0x0:_0xec994[_0x4f54e7(0x144)])!=null?_0x276196:null;}[_0x103a68(0x3fb)](){const _0x57afb1=_0x103a68;super[_0x57afb1(0x3fb)](),this[_0x57afb1(0x20a)][_0x57afb1(0x1bb)](),this[_0x57afb1(0x20a)]['complete']();}[_0x103a68(0x1d2)](){const _0x5d3750=_0x103a68;var _0x152918,_0x195fb7;this[_0x5d3750(0xc5)](),(_0x152918=this['_socket'])==null||_0x152918[_0x5d3750(0x3ca)]({'cmd':_0x32a28a[_0x5d3750(0x28a)],'data':{'roomID':this[_0x5d3750(0x231)]}}),(_0x195fb7=this[_0x5d3750(0x1b2)])==null||_0x195fb7[_0x5d3750(0x1d2)](),this['_event$'][_0x5d3750(0x31e)](),this[_0x5d3750(0x20f)][_0x5d3750(0x31e)](),this[_0x5d3750(0x3fb)]();}[_0x103a68(0x3a8)](_0x397fcc){const _0x1ebf0d=_0x103a68;_0x397fcc[_0x1ebf0d(0x2ba)]===_0x32a28a[_0x1ebf0d(0x1b6)]?this[_0x1ebf0d(0x4b3)](_0x397fcc):_0x397fcc[_0x1ebf0d(0x2ba)]===_0x32a28a[_0x1ebf0d(0x14f)]&&this['_onRecvEvent'](_0x397fcc);}[_0x103a68(0x44c)](_0x39c3b5){const _0x241d79=_0x103a68;this[_0x241d79(0x20f)]['next'](0x1),_0x39c3b5['send']({'cmd':_0x32a28a[_0x241d79(0x1b6)],'routeKey':this[_0x241d79(0x231)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x103a68(0x4b3)](_0x1714c5){const _0x3f64f3=_0x103a68;var _0x12bc06;if(_0x1714c5[_0x3f64f3(0x1af)]===_0x16fd6f[_0x3f64f3(0x4ba)]){this['_messageService']['show']({'type':_0x511ab8[_0x3f64f3(0x4cd)][_0x3f64f3(0x230)],'content':this[_0x3f64f3(0x136)]['t']('session.room-full')}),this['_sessionStatus$']['next'](0x2);return;}this[_0x3f64f3(0x20f)][_0x3f64f3(0x1bb)](0x3);const _0x5ccf8e=(_0x12bc06=_0x1714c5[_0x3f64f3(0x47f)][_0x3f64f3(0x451)][this[_0x3f64f3(0x231)]])==null?void 0x0:_0x12bc06[_0x3f64f3(0x235)];_0x5ccf8e&&_0x5ccf8e[_0x3f64f3(0x196)](_0x20fe9e=>this[_0x3f64f3(0x469)]['updateMember'](this['_unitID'],_0x20fe9e));}['_onRecvEvent'](_0x1916f4){const _0x4984ad=_0x103a68;try{const _0x124f1d=_0x1916f4[_0x4984ad(0x47f)];switch(_0x124f1d['eventID']){case _0x162fdb[_0x4984ad(0x26c)][_0x4984ad(0x4c6)]:this[_0x4984ad(0x23e)](_0x124f1d),this[_0x4984ad(0xda)]['next'](_0x124f1d);break;case _0x162fdb[_0x4984ad(0x26c)][_0x4984ad(0x418)]:this[_0x4984ad(0x2d0)](_0x124f1d),this[_0x4984ad(0xda)][_0x4984ad(0x1bb)](_0x124f1d);break;case _0x162fdb[_0x4984ad(0x26c)][_0x4984ad(0x1da)]:case _0x162fdb[_0x4984ad(0x26c)][_0x4984ad(0x3ac)]:this[_0x4984ad(0x479)](),this[_0x4984ad(0x18d)](),this[_0x4984ad(0xda)][_0x4984ad(0x1bb)](_0x124f1d);break;case _0x162fdb['CollaborationEvent'][_0x4984ad(0x1f7)]:this[_0x4984ad(0x442)][_0x4984ad(0x35e)](_0x4984ad(0x1d1)+JSON[_0x4984ad(0x263)](_0x124f1d)),this[_0x4984ad(0xda)][_0x4984ad(0x1bb)](_0x124f1d);break;case _0x162fdb[_0x4984ad(0x26c)][_0x4984ad(0x13c)]:this[_0x4984ad(0x18f)][_0x4984ad(0x245)](_0x124f1d[_0x4984ad(0x47f)]),this[_0x4984ad(0xda)][_0x4984ad(0x1bb)](_0x124f1d);break;default:this['_event$'][_0x4984ad(0x1bb)](_0x124f1d);}}catch(_0x43c357){this[_0x4984ad(0x442)][_0x4984ad(0x35e)](_0x43c357,_0x1916f4);}}[_0x103a68(0x23e)](_0x2a91c4){const _0x14c684=_0x103a68;this['_memberService'][_0x14c684(0xb6)](this[_0x14c684(0x231)],_0x2a91c4['data']);}['_onUserLeave'](_0x42b5a5){const _0x33d228=_0x103a68;this[_0x33d228(0x469)]['removeMember'](this[_0x33d228(0x231)],_0x42b5a5[_0x33d228(0x47f)][_0x33d228(0x144)]);}async[_0x103a68(0x3ca)](_0x1da683,_0x52ab18){const _0x3373e9=_0x103a68;if(this[_0x3373e9(0x42a)]!==0x3||!this['_socket'])throw new Error(_0x3373e9(0x2ea));try{_0x1da683['eventID']===_0x162fdb['CollaborationEvent'][_0x3373e9(0x142)]&&(this[_0x3373e9(0x1f5)](),this['_startTelemetryCollaborationNewChangeset'](_0x1da683)),this[_0x3373e9(0x1b2)]['send']({'cmd':_0x32a28a[_0x3373e9(0x419)],'routeKey':_0x52ab18,'routeType':'','data':_0x1da683});}catch(_0x462665){this['_logService']['error'](_0x462665);}}[_0x103a68(0x1f5)](){const _0x5c47d4=_0x103a68;var _0x2b5bab;this[_0x5c47d4(0x4e0)]=window[_0x5c47d4(0x207)](()=>{const _0x54fad2=_0x5c47d4;this['_collaborationTimeoutTimer']=null,this[_0x54fad2(0x348)]['show']({'type':_0x511ab8[_0x54fad2(0x4cd)]['Error'],'content':this[_0x54fad2(0x136)]['t'](_0x54fad2(0x125))});},(_0x2b5bab=this[_0x5c47d4(0x153)][_0x5c47d4(0x20d)](_0x4a32d2))!=null?_0x2b5bab:0x4e20);}[_0x103a68(0x18d)](){const _0x56e6db=_0x103a68;this[_0x56e6db(0x4e0)]&&(clearTimeout(this[_0x56e6db(0x4e0)]),this[_0x56e6db(0x4e0)]=null);}[_0x103a68(0x190)](_0x2f697f){const _0x24b1b0=_0x103a68;if(!this[_0x24b1b0(0x1e8)])return;const {data:_0x551409}=_0x2f697f,{unitID:_0x5250a8,changeset:_0x1d65a7}=_0x551409,{mutations:_0x5ef748,type:_0x560797}=_0x1d65a7;this[_0x24b1b0(0x379)]={'unitId':_0x5250a8,'type':_0x560797,'startTime':performance[_0x24b1b0(0x27f)](),'stopTime':0x0,'duration':0x0,'size':_0x1a1f49(_0x5ef748)};}[_0x103a68(0x479)](){const _0x13d303=_0x103a68;if(this[_0x13d303(0x1e8)]){if(!this['_telemetryInfo']){this[_0x13d303(0x442)][_0x13d303(0x35e)](_0x13d303(0x28e),_0x13d303(0x140));return;}this[_0x13d303(0x379)][_0x13d303(0x28f)]=performance[_0x13d303(0x27f)](),this[_0x13d303(0x379)][_0x13d303(0x412)]=this[_0x13d303(0x379)][_0x13d303(0x28f)]-this[_0x13d303(0x379)]['startTime'],this['_telemetryService'][_0x13d303(0x19f)](_0x37749c,this[_0x13d303(0x379)]),this[_0x13d303(0x379)]=null;}}[_0x103a68(0xc5)](){const _0x21e9d1=_0x103a68;this[_0x21e9d1(0x379)]=null;}},_0x4e0bbf[_0x103a68(0x32a)]=_0x4e1891([_0x59081e(0x2,_0x460a10[_0x103a68(0x362)]),_0x59081e(0x3,_0x29b1e2[_0x103a68(0x1a1)]),_0x59081e(0x4,_0x29b1e2[_0x103a68(0x43f)]),_0x59081e(0x5,_0x460a10[_0x103a68(0x3e3)]),_0x59081e(0x6,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x176)])),_0x59081e(0x7,_0x460a10['Inject'](_0xf42097)),_0x59081e(0x8,_0x460a10[_0x103a68(0x310)](_0x2b0d1c)),_0x59081e(0x9,_0x460a10[_0x103a68(0x152)](_0x2ca65d[_0x103a68(0xb0)]))],_0x4e0bbf[_0x103a68(0x32a)]);var _0x3aa4ec=Object[_0x103a68(0x3a3)],_0x427ab9=Object[_0x103a68(0x138)],_0x3e545e=(_0x87d31a,_0x858054,_0x8305e6,_0x28eb06)=>{for(var _0x5722c0=_0x28eb06>0x1?void 0x0:_0x28eb06?_0x427ab9(_0x858054,_0x8305e6):_0x858054,_0x278f9c=_0x87d31a['length']-0x1,_0x13df62;_0x278f9c>=0x0;_0x278f9c--)(_0x13df62=_0x87d31a[_0x278f9c])&&(_0x5722c0=(_0x28eb06?_0x13df62(_0x858054,_0x8305e6,_0x5722c0):_0x13df62(_0x5722c0))||_0x5722c0);return _0x28eb06&&_0x5722c0&&_0x3aa4ec(_0x858054,_0x8305e6,_0x5722c0),_0x5722c0;},_0x14b1e0=(_0xb45de9,_0x180c19)=>(_0x160622,_0x59c5e1)=>_0x180c19(_0x160622,_0x59c5e1,_0xb45de9);_0x4e0bbf[_0x103a68(0x248)]=class extends _0x460a10[_0x103a68(0xd1)]{constructor(_0x33f04d,_0x1b424e,_0x21bee8,_0x34c13f,_0x1146ce,_0x41e6e6){const _0x4a2a39=_0x103a68;super(),_0x519548(this,_0x4a2a39(0xeb),new _0x22d14a[(_0x4a2a39(0x23d))](void 0x0)),_0x519548(this,_0x4a2a39(0x468),this[_0x4a2a39(0xeb)]['asObservable']()),_0x519548(this,_0x4a2a39(0x2d1),null),_0x519548(this,_0x4a2a39(0x4d7),new Map()),_0x519548(this,_0x4a2a39(0x382),new _0x22d14a[(_0x4a2a39(0x23d))](_0x2c7c24[_0x4a2a39(0x121)])),_0x519548(this,'status$',this[_0x4a2a39(0x382)][_0x4a2a39(0x1a5)]()),_0x519548(this,'_socketReady',!0x1),_0x519548(this,'_retryConnectingTimer'),_0x519548(this,'_retryCount',0x0),_0x519548(this,_0x4a2a39(0x489)),_0x519548(this,_0x4a2a39(0x14b)),(this[_0x4a2a39(0x165)]=_0x33f04d,this[_0x4a2a39(0x136)]=_0x1b424e,this[_0x4a2a39(0x348)]=_0x21bee8,this['_logService']=_0x34c13f,this[_0x4a2a39(0x153)]=_0x1146ce,this['_socketService']=_0x41e6e6,this['_initEventListeners']());}get['_socket'](){const _0x354d45=_0x103a68;return this[_0x354d45(0xeb)][_0x354d45(0x1d7)]();}[_0x103a68(0x1f4)](){const _0x82d5c4=_0x103a68;this[_0x82d5c4(0x353)](),this[_0x82d5c4(0x295)]();}[_0x103a68(0x3fb)](){const _0xf13ba7=_0x103a68;super[_0xf13ba7(0x3fb)](),this[_0xf13ba7(0x4d7)]['forEach'](_0xa30b8b=>_0xa30b8b[_0xf13ba7(0x3fb)]()),this[_0xf13ba7(0x4d7)][_0xf13ba7(0xb1)](),this[_0xf13ba7(0x382)][_0xf13ba7(0x31e)]();}async[_0x103a68(0x43c)](_0xc44ae7){const _0x1e22b7=_0x103a68;if(this['_sessions'][_0x1e22b7(0x401)](_0xc44ae7))return this['_sessions'][_0x1e22b7(0x1c8)](_0xc44ae7);this[_0x1e22b7(0x178)]();const _0x2465ec=this[_0x1e22b7(0x165)][_0x1e22b7(0x432)](_0x4e0bbf['CollaborationSession'],_0xc44ae7,this[_0x1e22b7(0xeb)][_0x1e22b7(0x1a5)]());return this[_0x1e22b7(0x4d7)][_0x1e22b7(0x29c)](_0xc44ae7,_0x2465ec),_0x2465ec;}[_0x103a68(0x3a2)](_0x50f0bd){const _0x434e26=_0x103a68;var _0x43935d;const _0x5d777a=this[_0x434e26(0x4d7)][_0x434e26(0x1c8)](_0x50f0bd);_0x5d777a&&(this['_sessions'][_0x434e26(0xe0)](_0x50f0bd),_0x5d777a['close']()),this[_0x434e26(0x4d7)][_0x434e26(0x150)]||(_0x43935d=this['_socket'])==null||_0x43935d[_0x434e26(0x1d2)]();}[_0x103a68(0x185)](){const _0x2b8fa2=_0x103a68;this['_retryCount']=0x0,this[_0x2b8fa2(0x236)]!=null&&(clearTimeout(this[_0x2b8fa2(0x236)]),this[_0x2b8fa2(0x236)]=null),this[_0x2b8fa2(0x191)]();}[_0x103a68(0x3c1)](){const _0x3a4ad9=_0x103a68;var _0x281b02,_0x991009;const _0x526151=this[_0x3a4ad9(0x153)][_0x3a4ad9(0x20d)](_0x3ea07e),_0x447ee5=this[_0x3a4ad9(0x153)][_0x3a4ad9(0x20d)](_0x49305e),_0x3c82e2=(_0x991009=(_0x281b02=_0x447ee5==null?void 0x0:_0x447ee5[_0x3a4ad9(0x333)])!=null?_0x281b02:_0x526151)!=null?_0x991009:_0x548796,_0x1e0c52=this[_0x3a4ad9(0x460)][_0x3a4ad9(0x174)](_0x3c82e2);return this['_candidateSocket']=_0x1e0c52,_0x1e0c52;}[_0x103a68(0x178)](){const _0x1e3e8a=_0x103a68;var _0x2b2b75,_0x484fe4;try{const _0x4dfe66=(_0x484fe4=(_0x2b2b75=this[_0x1e3e8a(0x1b2)])!=null?_0x2b2b75:this['_candidateSocket'])!=null?_0x484fe4:this[_0x1e3e8a(0x3c1)]();if(_0x4dfe66){const _0x4159d8=_0x4dfe66[_0x1e3e8a(0x3ca)];_0x4dfe66[_0x1e3e8a(0x3ca)]=_0xf0a61c=>(this[_0x1e3e8a(0x334)](),_0x4159d8[_0x1e3e8a(0x4d3)](_0x4dfe66,[_0xf0a61c])),_0x4dfe66[_0x1e3e8a(0xdb)][_0x1e3e8a(0x3d1)](_0x350584=>this[_0x1e3e8a(0xd2)](_0x4dfe66,_0x350584)),_0x4dfe66['error$'][_0x1e3e8a(0x3af)](_0x436c5c[_0x1e3e8a(0x193)](0x1))[_0x1e3e8a(0x3d1)](_0x3ad35c=>this['_logService'][_0x1e3e8a(0x35e)](_0x1e3e8a(0x286),_0x3ad35c)),_0x4dfe66[_0x1e3e8a(0x2e0)]['pipe'](_0x436c5c[_0x1e3e8a(0x193)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x4dfe66);}),_0x4dfe66[_0x1e3e8a(0x202)][_0x1e3e8a(0x3af)](_0x436c5c[_0x1e3e8a(0x193)](0x1))[_0x1e3e8a(0x3d1)](_0x2267c7=>{const _0x5add36=_0x1e3e8a;this[_0x5add36(0x442)]['debug']('[CollaborationSessionService]',_0x5add36(0x1f0),_0x2267c7),this[_0x5add36(0x311)]();});}}catch(_0x2e72cc){this[_0x1e3e8a(0x442)][_0x1e3e8a(0x35e)](_0x2e72cc),this[_0x1e3e8a(0x311)]();}}[_0x103a68(0x12e)](_0x5a34d1){const _0x22ca31=_0x103a68;this[_0x22ca31(0x442)][_0x22ca31(0x1b4)](_0x22ca31(0x3ba),_0x22ca31(0x463)),_0x5a34d1[_0x22ca31(0x3ca)]({'cmd':_0x32a28a['HELLO']}),this[_0x22ca31(0x334)]();}[_0x103a68(0x353)](){const _0x32ef53=_0x103a68;window[_0x32ef53(0x404)]('offline',()=>this[_0x32ef53(0x324)]());}[_0x103a68(0x324)](){const _0x210f3c=_0x103a68;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x210f3c(0x1bb)](_0x2c7c24['OFFLINE']),this[_0x210f3c(0xeb)]['next'](null),this[_0x210f3c(0xc9)](),this[_0x210f3c(0x482)]();}[_0x103a68(0x311)](){const _0x4d044f=_0x103a68;var _0x1f94b1;this[_0x4d044f(0x324)](),this[_0x4d044f(0xe2)]<((_0x1f94b1=this['_configService'][_0x4d044f(0x20d)](_0x2529a2))!=null?_0x1f94b1:0x3)?(this['_messageService']['show']({'key':'collaboration-session-retry','type':_0x511ab8[_0x4d044f(0x4cd)]['Warning'],'content':this[_0x4d044f(0x136)]['t'](_0x4d044f(0x23f))}),this['_tryReconnect']()):this['_messageService'][_0x4d044f(0x410)]({'key':_0x4d044f(0x100),'type':_0x511ab8[_0x4d044f(0x4cd)]['Error'],'content':this[_0x4d044f(0x136)]['t']('session.connection-failed')});}[_0x103a68(0x295)](){const _0x1c17ef=_0x103a68,_0x219d3d=()=>{const _0x222143=_0x5cd2;this[_0x222143(0x1b2)]||this['reconnect']();},_0x354451=()=>{const _0x4de680=_0x5cd2;this[_0x4de680(0x1b2)]||document[_0x4de680(0x3a5)]==='hidden'||this[_0x4de680(0x185)]();};window[_0x1c17ef(0x404)]('online',_0x219d3d),document['addEventListener'](_0x1c17ef(0xd6),_0x354451);}[_0x103a68(0x191)](){const _0x63e992=_0x103a68;var _0x139e70;const _0x3b22eb=this['_retryCount'],_0x230971=this['_configService']['getConfig'](_0x49305e),_0x1b4af8=_0x3b22eb===0x0?0x0:((_0x139e70=_0x230971==null?void 0x0:_0x230971[_0x63e992(0x32b)])!=null?_0x139e70:0x4e20)*0x2**_0x3b22eb;this[_0x63e992(0x236)]=window['setTimeout'](()=>{const _0x105b5b=_0x63e992;clearTimeout(this[_0x105b5b(0x236)]),this['_retryConnectingTimer']=null,this[_0x105b5b(0x178)]();},_0x1b4af8),this[_0x63e992(0xe2)]+=0x1;}[_0x103a68(0xd2)](_0x2d60f6,_0x1d05ab){const _0x47b08d=_0x103a68,{cmd:_0x704378}=_0x1d05ab;_0x704378===_0x32a28a['HELLO']&&!this[_0x47b08d(0x11d)]&&(_0x2d60f6[_0x47b08d(0x144)]=_0x1d05ab[_0x47b08d(0x47f)]['memberID'],this[_0x47b08d(0xeb)][_0x47b08d(0x1bb)](_0x2d60f6),this['_status$']['next'](_0x2c7c24[_0x47b08d(0x2a6)]),this[_0x47b08d(0x11d)]=!0x0,this[_0x47b08d(0x2d1)]=null),_0x704378===_0x32a28a['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x47b08d(0x334)]();}[_0x103a68(0x334)](){const _0x32d012=_0x103a68;var _0x5d32b2;this[_0x32d012(0x482)](),this['_sendHeartbeatTimer']=window[_0x32d012(0x207)](()=>this[_0x32d012(0x383)](),(_0x5d32b2=this[_0x32d012(0x153)]['getConfig'](_0x285d6d))!=null?_0x5d32b2:0x7530);}[_0x103a68(0x383)](){const _0x5185c4=_0x103a68;this['_socket'][_0x5185c4(0x3ca)]({'cmd':_0x32a28a[_0x5185c4(0x413)]}),this['_waitForHeartbeatResponse']();}[_0x103a68(0x118)](){const _0xea17d4=_0x103a68;var _0x30bd7d;this[_0xea17d4(0x14b)]=window[_0xea17d4(0x207)](()=>this[_0xea17d4(0x311)](),(_0x30bd7d=this[_0xea17d4(0x153)][_0xea17d4(0x20d)](_0x4a32d2))!=null?_0x30bd7d:0x4e20);}['_clearHeartbeatTimer'](){const _0x522a7d=_0x103a68;this[_0x522a7d(0x489)]!=null&&(clearTimeout(this[_0x522a7d(0x489)]),this[_0x522a7d(0x489)]=null);}['_clearTimeoutTimer'](){const _0x4031b2=_0x103a68;this[_0x4031b2(0x14b)]!=null&&(clearTimeout(this[_0x4031b2(0x14b)]),this[_0x4031b2(0x14b)]=null);}},_0x4e0bbf[_0x103a68(0x248)]=_0x3e545e([_0x14b1e0(0x0,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x14b1e0(0x1,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x176)])),_0x14b1e0(0x2,_0x29b1e2[_0x103a68(0x43f)]),_0x14b1e0(0x3,_0x460a10['ILogService']),_0x14b1e0(0x4,_0x460a10['IConfigService']),_0x14b1e0(0x5,_0x25dd34)],_0x4e0bbf[_0x103a68(0x248)]);for(var _0x30ba0d=[],_0x488df9=0x0;_0x488df9<0x100;++_0x488df9)_0x30ba0d['push']((_0x488df9+0x100)[_0x103a68(0xdd)](0x10)[_0x103a68(0x27c)](0x1));function _0x142b18(_0x243968,_0x478e57=0x0){const _0x55e610=_0x103a68;return(_0x30ba0d[_0x243968[_0x478e57+0x0]]+_0x30ba0d[_0x243968[_0x478e57+0x1]]+_0x30ba0d[_0x243968[_0x478e57+0x2]]+_0x30ba0d[_0x243968[_0x478e57+0x3]]+'-'+_0x30ba0d[_0x243968[_0x478e57+0x4]]+_0x30ba0d[_0x243968[_0x478e57+0x5]]+'-'+_0x30ba0d[_0x243968[_0x478e57+0x6]]+_0x30ba0d[_0x243968[_0x478e57+0x7]]+'-'+_0x30ba0d[_0x243968[_0x478e57+0x8]]+_0x30ba0d[_0x243968[_0x478e57+0x9]]+'-'+_0x30ba0d[_0x243968[_0x478e57+0xa]]+_0x30ba0d[_0x243968[_0x478e57+0xb]]+_0x30ba0d[_0x243968[_0x478e57+0xc]]+_0x30ba0d[_0x243968[_0x478e57+0xd]]+_0x30ba0d[_0x243968[_0x478e57+0xe]]+_0x30ba0d[_0x243968[_0x478e57+0xf]])[_0x55e610(0x2e3)]();}var _0x3a6a5c,_0x5bdbf9=new Uint8Array(0x10);function _0x4e1d78(){const _0xf2529d=_0x103a68;if(!_0x3a6a5c&&(_0x3a6a5c=typeof crypto<'u'&&crypto[_0xf2529d(0x361)]&&crypto[_0xf2529d(0x361)][_0xf2529d(0x11b)](crypto),!_0x3a6a5c))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x3a6a5c(_0x5bdbf9);}var _0x43eab5=typeof crypto<'u'&&crypto[_0x103a68(0x480)]&&crypto['randomUUID']['bind'](crypto);const _0x520535={'randomUUID':_0x43eab5};function _0x40e656(_0x24bce6,_0x27c24f,_0x50c336){const _0x19ffe9=_0x103a68;if(_0x520535[_0x19ffe9(0x480)]&&!_0x27c24f&&!_0x24bce6)return _0x520535[_0x19ffe9(0x480)]();_0x24bce6=_0x24bce6||{};var _0x4096a7=_0x24bce6['random']||(_0x24bce6[_0x19ffe9(0x48f)]||_0x4e1d78)();return _0x4096a7[0x6]=_0x4096a7[0x6]&0xf|0x40,_0x4096a7[0x8]=_0x4096a7[0x8]&0x3f|0x80,_0x142b18(_0x4096a7);}var _0x312647=Object[_0x103a68(0x3a3)],_0x42d550=Object['getOwnPropertyDescriptor'],_0x924e2e=(_0x33caca,_0x32e42b,_0x487406,_0x39583f)=>{const _0x235971=_0x103a68;for(var _0x124336=_0x39583f>0x1?void 0x0:_0x39583f?_0x42d550(_0x32e42b,_0x487406):_0x32e42b,_0x21d743=_0x33caca[_0x235971(0x292)]-0x1,_0x2a761b;_0x21d743>=0x0;_0x21d743--)(_0x2a761b=_0x33caca[_0x21d743])&&(_0x124336=(_0x39583f?_0x2a761b(_0x32e42b,_0x487406,_0x124336):_0x2a761b(_0x124336))||_0x124336);return _0x39583f&&_0x124336&&_0x312647(_0x32e42b,_0x487406,_0x124336),_0x124336;},_0x1641b1=(_0x1da14d,_0x56e771)=>(_0x50fb33,_0x4d4f2c)=>_0x56e771(_0x50fb33,_0x4d4f2c,_0x1da14d);let _0x28a6c0=class{constructor(_0x52375d,_0x290c39,_0x2f38ec){const _0x345f96=_0x103a68;this[_0x345f96(0x165)]=_0x52375d,this[_0x345f96(0xf9)]=_0x290c39,this[_0x345f96(0x24c)]=_0x2f38ec;}['transformIMECache'](_0x52f535){const _0x1bab38=_0x103a68;this[_0x1bab38(0x417)](_0x52f535),this[_0x1bab38(0x2db)](_0x52f535);}['transformRemoteChangeset'](_0x2382aa){const _0x20fa29=_0x103a68,{unitID:_0x374480}=_0x2382aa,_0x3b9ee2=this[_0x20fa29(0x24c)][_0x20fa29(0x227)](_0x374480)[_0x20fa29(0x389)](_0x39c231[_0x20fa29(0x160)]),{redoCache:_0x5be6a9}=_0x3b9ee2[_0x20fa29(0x48c)]();if(_0x5be6a9['length']===0x0)return _0x2382aa;let _0x19d53a=_0x460a10[_0x20fa29(0x1dc)]['deepClone'](_0x2382aa[_0x20fa29(0x274)][0x0]);for(let _0x3db525=0x0;_0x3db525<_0x5be6a9[_0x20fa29(0x292)];_0x3db525++){const _0x5a494e={'id':'doc.mutation.rich-text-editing','params':{..._0x5be6a9[_0x3db525]}},_0x46b828=this[_0x20fa29(0xf9)]['transformMutation'](_0x19d53a,_0x5a494e,!0x1);if(_0x162fdb[_0x20fa29(0x4ab)](_0x46b828))throw _0x46b828[_0x20fa29(0x35e)];_0x19d53a=_0x46b828[_0x20fa29(0x2a3)];}return{..._0x460a10[_0x20fa29(0x1dc)][_0x20fa29(0x2ca)](_0x2382aa),'mutations':[_0x19d53a]};}[_0x103a68(0x417)](_0x4085fe){const _0x3dda79=_0x103a68,{unitID:_0x5c0f69}=_0x4085fe,_0x3153ae=this[_0x3dda79(0x24c)]['getRenderById'](_0x5c0f69)['with'](_0x39c231['DocIMEInputManagerService']),{undoCache:_0x468b15,redoCache:_0x199e95}=_0x3153ae[_0x3dda79(0x48c)]();if(_0x468b15[_0x3dda79(0x292)]===0x0||_0x199e95['length']===0x0)return;const _0x1633db=[],_0xe01bb3=[];let _0x5c44c8=_0x460a10[_0x3dda79(0x1dc)][_0x3dda79(0x2ca)](_0x4085fe[_0x3dda79(0x274)][0x0]),_0x37d2ca=_0x460a10[_0x3dda79(0x1dc)][_0x3dda79(0x2ca)](_0x4085fe['mutations'][0x0]);for(let _0x3fda7f=_0x468b15['length']-0x1;_0x3fda7f>=0x0;_0x3fda7f--){const _0x1d330c={'id':_0x3dda79(0xb9),'params':{..._0x468b15[_0x3fda7f]}},_0x188c04={'id':_0x3dda79(0xb9),'params':{..._0x199e95[_0x3fda7f]}},_0x4319a=this[_0x3dda79(0xf9)][_0x3dda79(0x33e)](_0x5c44c8,_0x1d330c,!0x1),_0x52bd92=this[_0x3dda79(0xf9)]['transformMutation'](_0x37d2ca,_0x188c04,!0x1);if(_0x162fdb[_0x3dda79(0x4ab)](_0x4319a))throw _0x4319a['error'];if(_0x162fdb[_0x3dda79(0x4ab)](_0x52bd92))throw _0x52bd92[_0x3dda79(0x35e)];_0x1633db[_0x3dda79(0x3c2)](_0x4319a[_0x3dda79(0xf6)][_0x3dda79(0x31c)]),_0xe01bb3[_0x3dda79(0x3c2)](_0x52bd92[_0x3dda79(0xf6)][_0x3dda79(0x31c)]),_0x5c44c8=_0x4319a[_0x3dda79(0x2a3)],_0x37d2ca=_0x52bd92['m1Prime'];}_0x3153ae['setUndoRedoMutationParamsCache']({'undoCache':_0x1633db,'redoCache':_0xe01bb3});}[_0x103a68(0x2db)](_0x595043){const _0x235720=_0x103a68,{unitID:_0x29f47e}=_0x595043,_0x1c7944=this[_0x235720(0x24c)][_0x235720(0x227)](_0x29f47e)['with'](_0x39c231[_0x235720(0x160)]),_0x33c479=_0x1c7944[_0x235720(0x158)]();if(_0x33c479==null)return;const _0x7f6d81=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x595043[_0x235720(0x19c)],'actions':null,'textRanges':[_0x33c479]}}],_0x3cf792=this[_0x235720(0xf9)]['transformMutationsWithChangeset'](_0x595043,_0x7f6d81);if(!_0x162fdb[_0x235720(0x10f)](_0x3cf792))throw _0x3cf792['error'];const _0x3ab418=_0x3cf792[_0x235720(0xf6)][0x0][_0x235720(0x31c)][_0x235720(0xec)];Array[_0x235720(0x328)](_0x3ab418)&&_0x3ab418[_0x235720(0x292)]&&_0x1c7944[_0x235720(0x2f5)](_0x3ab418[0x0]);}};_0x28a6c0=_0x924e2e([_0x1641b1(0x0,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x1641b1(0x1,_0x162fdb[_0x103a68(0x219)]),_0x1641b1(0x2,_0x5633aa['IRenderManagerService'])],_0x28a6c0);var _0x6093ff=Object['defineProperty'],_0x2398e0=Object[_0x103a68(0x138)],_0x15938c=(_0x5e9bc3,_0x32a8e5,_0x18984c,_0x24ecf7)=>{const _0x55cb0b=_0x103a68;for(var _0x3069dd=_0x24ecf7>0x1?void 0x0:_0x24ecf7?_0x2398e0(_0x32a8e5,_0x18984c):_0x32a8e5,_0x6e9574=_0x5e9bc3[_0x55cb0b(0x292)]-0x1,_0x586de8;_0x6e9574>=0x0;_0x6e9574--)(_0x586de8=_0x5e9bc3[_0x6e9574])&&(_0x3069dd=(_0x24ecf7?_0x586de8(_0x32a8e5,_0x18984c,_0x3069dd):_0x586de8(_0x3069dd))||_0x3069dd);return _0x24ecf7&&_0x3069dd&&_0x6093ff(_0x32a8e5,_0x18984c,_0x3069dd),_0x3069dd;},_0xfeae21=(_0x557dde,_0x3d4e3b)=>(_0x180cb9,_0x21c47c)=>_0x3d4e3b(_0x180cb9,_0x21c47c,_0x557dde);_0x4e0bbf[_0x103a68(0x2b4)]=class extends _0x460a10[_0x103a68(0xd1)]{constructor(_0x5ed6ea,_0x3296f5,_0x56f02d,_0x11602b,_0x11e514){const _0x56667f=_0x103a68;super(),_0x519548(this,_0x56667f(0x25d),new Map()),_0x519548(this,'_saveTaskMap',new Map()),_0x519548(this,_0x56667f(0x114),!0x1),(this['_configService']=_0x5ed6ea,this[_0x56667f(0xea)]=_0x3296f5,this[_0x56667f(0xe5)]=_0x56f02d,this['_localeService']=_0x11602b,this['_revisionService']=_0x11e514,this[_0x56667f(0x326)]());}[_0x103a68(0xbb)](){const _0x9afc39=_0x103a68;this[_0x9afc39(0x114)]=!0x0;}['enableLocalCache'](){const _0x55168a=_0x103a68;this[_0x55168a(0x114)]=!0x1;}['dispose'](){const _0x350c54=_0x103a68;this[_0x350c54(0x444)]()[_0x350c54(0x25b)](()=>super[_0x350c54(0x3fb)]());}async['loadOfflineData'](_0xd68d1a){const _0x3703c9=_0x103a68;return this[_0x3703c9(0x114)]?null:this[_0x3703c9(0xea)][_0x3703c9(0x448)](_0x275a0b(_0xd68d1a));}async[_0x103a68(0xc4)](_0x223900,_0x4dfbf2){const _0x48ad0c=_0x103a68;return!!this[_0x48ad0c(0xea)]['setItem'](_0x223900,_0x4dfbf2);}['updateOfflineData'](_0x16c2c7,_0x79fd27,_0x247fc3,_0x3fd23e){const _0xfc64c1=_0x103a68,_0xaf0e8=this[_0xfc64c1(0x2ce)][_0xfc64c1(0x470)](_0x16c2c7);this[_0xfc64c1(0x25d)][_0xfc64c1(0x29c)](_0x16c2c7,{'unitID':_0x16c2c7,'type':_0x79fd27,'awaitingChangeset':_0x247fc3,'mutations':_0x3fd23e,'rev':_0xaf0e8}),this[_0xfc64c1(0x2e4)][_0xfc64c1(0x401)](_0x16c2c7)||this[_0xfc64c1(0xee)](_0x16c2c7);}['_scheduleSaving'](_0x1641ad){const _0x8be7e7=_0x103a68,_0x1f690e=this['_getSaveTimeout']();_0x1f690e===0x0?this[_0x8be7e7(0x46f)](_0x1641ad):this['_saveTaskMap'][_0x8be7e7(0x29c)](_0x1641ad,setTimeout(()=>this[_0x8be7e7(0x46f)](_0x1641ad),_0x1f690e));}[_0x103a68(0x48b)](){const _0x21d8ef=_0x103a68;var _0x5c12c6;return(_0x5c12c6=this['_configService'][_0x21d8ef(0x20d)](_0x28c4b8))!=null?_0x5c12c6:0x3e8;}['_saveCache'](_0x18cef2){const _0x1f3c63=_0x103a68,_0x2abb25=this[_0x1f3c63(0x2e4)][_0x1f3c63(0x1c8)](_0x18cef2);return _0x2abb25!==void 0x0&&window[_0x1f3c63(0x340)](_0x2abb25),this[_0x1f3c63(0xea)][_0x1f3c63(0x3be)](_0x275a0b(_0x18cef2),this[_0x1f3c63(0x25d)]['get'](_0x18cef2))[_0x1f3c63(0x25b)](()=>this['_saveTaskMap'][_0x1f3c63(0xe0)](_0x18cef2));}async[_0x103a68(0x444)](){const _0x3fbb93=_0x103a68,_0x3e6878=[];this[_0x3fbb93(0x2e4)]['forEach']((_0x3daa0b,_0x58a380)=>{const _0xa8c1a0=_0x3fbb93;window[_0xa8c1a0(0x340)](_0x3daa0b),_0x3e6878['push'](this[_0xa8c1a0(0x46f)](_0x58a380)[_0xa8c1a0(0x25b)](()=>{const _0x431f1b=_0xa8c1a0;this['_saveTaskMap'][_0x431f1b(0xe0)](_0x58a380);}));}),await Promise['all'](_0x3e6878);}[_0x103a68(0x326)](){const _0x50f090=_0x103a68;this[_0x50f090(0x495)](this['_beforeCloseService'][_0x50f090(0x2c0)](()=>{const _0x3f3536=_0x50f090;if(this['_saveTaskMap'][_0x3f3536(0x150)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}},_0x4e0bbf['LocalCacheService']=_0x15938c([_0xfeae21(0x0,_0x460a10[_0x103a68(0x3e3)]),_0xfeae21(0x1,_0x460a10[_0x103a68(0x172)]),_0xfeae21(0x2,_0x29b1e2[_0x103a68(0x1a1)]),_0xfeae21(0x3,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x176)])),_0xfeae21(0x4,_0x460a10[_0x103a68(0x310)](_0x162fdb[_0x103a68(0x2b0)]))],_0x4e0bbf[_0x103a68(0x2b4)]);function _0x275a0b(_0x3a1e22){return'unit-cache-'+_0x3a1e22;}var _0xa8ab97=Object[_0x103a68(0x3a3)],_0x34b1a0=Object[_0x103a68(0x138)],_0x51a08d=(_0xf53225,_0x49ac62,_0x3498a3,_0x556885)=>{const _0xfc1445=_0x103a68;for(var _0x242830=_0x556885>0x1?void 0x0:_0x556885?_0x34b1a0(_0x49ac62,_0x3498a3):_0x49ac62,_0x633471=_0xf53225[_0xfc1445(0x292)]-0x1,_0x833f1a;_0x633471>=0x0;_0x633471--)(_0x833f1a=_0xf53225[_0x633471])&&(_0x242830=(_0x556885?_0x833f1a(_0x49ac62,_0x3498a3,_0x242830):_0x833f1a(_0x242830))||_0x242830);return _0x556885&&_0x242830&&_0xa8ab97(_0x49ac62,_0x3498a3,_0x242830),_0x242830;},_0x3f7a6a=(_0x35e6f5,_0x13e003)=>(_0x543cbb,_0x1bb710)=>_0x13e003(_0x543cbb,_0x1bb710,_0x35e6f5);function _0x1f531f(_0x2c9940){const _0x18900e=_0x103a68,{unitID:_0x21df17,mutations:_0x30c277}=_0x2c9940;return{'unitId':_0x21df17,'subUnitId':_0x30c277[0x0][_0x18900e(0x31c)][_0x18900e(0x25a)]};}let _0x1769cb=class{constructor(_0x40ce2a,_0x31aa82,_0xefda44){const _0x50e159=_0x103a68;this['_injector']=_0x40ce2a,this[_0x50e159(0xf9)]=_0x31aa82,this[_0x50e159(0x38b)]=_0xefda44;}[_0x103a68(0x459)](_0x1e7451){const _0x299b17=_0x103a68;var _0x3d55a3,_0x5be0e4,_0x47ed4a,_0x4295e8;const _0x3039ac=this[_0x299b17(0x165)][_0x299b17(0x1c8)](_0x57c232[_0x299b17(0x268)]),{unitId:_0x4463f0,subUnitId:_0x5ea65a}=_0x1f531f(_0x1e7451),_0x12d728=_0x3039ac['getWorkbookSelections'](_0x4463f0)[_0x299b17(0x402)](),_0x19a56e=(_0x5be0e4=(_0x3d55a3=this[_0x299b17(0x38b)]['getUnit'](_0x4463f0))==null?void 0x0:_0x3d55a3[_0x299b17(0x3f7)]())==null?void 0x0:_0x5be0e4['getSheetId']();if(_0x12d728[_0x299b17(0x292)]===0x0||!_0x4463f0||!_0x5ea65a)return;const _0x2ec43b=[{'id':_0x57c232[_0x299b17(0x3ec)]['id'],'params':{'unitId':_0x4463f0,'subUnitId':_0x19a56e,'selections':_0x460a10[_0x299b17(0x1dc)][_0x299b17(0x2ca)](_0x12d728)}}],_0x3109c8=this[_0x299b17(0xf9)][_0x299b17(0x427)](_0x1e7451,_0x2ec43b);if(!_0x162fdb[_0x299b17(0x10f)](_0x3109c8))throw _0x3109c8['error'];const _0x32eaaf=(_0x4295e8=(_0x47ed4a=_0x3109c8[_0x299b17(0xf6)][0x0])==null?void 0x0:_0x47ed4a[_0x299b17(0x31c)])==null?void 0x0:_0x4295e8[_0x299b17(0x40c)];if(Array[_0x299b17(0x328)](_0x32eaaf)&&_0x32eaaf[_0x299b17(0x292)]){if(_0x32eaaf[_0x299b17(0x292)]===_0x2ec43b[0x0]['params'][_0x299b17(0x40c)][_0x299b17(0x292)]&&_0x32eaaf[_0x299b17(0x3ff)]((_0xc9e154,_0x315343)=>_0x460a10['Rectangle'][_0x299b17(0x2f0)](_0xc9e154[_0x299b17(0x222)],_0x2ec43b[0x0][_0x299b17(0x31c)][_0x299b17(0x40c)][_0x315343][_0x299b17(0x222)])))return;this[_0x299b17(0x165)][_0x299b17(0x1c8)](_0x460a10[_0x299b17(0x134)])['executeCommand'](_0x57c232[_0x299b17(0x3ec)]['id'],{'unitId':_0x4463f0,'subUnitId':_0x19a56e,'selections':_0x32eaaf});}}};_0x1769cb=_0x51a08d([_0x3f7a6a(0x0,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x3f7a6a(0x1,_0x162fdb[_0x103a68(0x219)]),_0x3f7a6a(0x2,_0x460a10[_0x103a68(0x347)])],_0x1769cb);const _0x2ad0c7=_0x460a10[_0x103a68(0x36f)]('univer-pro.collaboration-client.single-active-unit-service');var _0x3bcbdc=(_0x50e100=>(_0x50e100[_0x50e100[_0x103a68(0x43d)]=0x0]=_0x103a68(0x43d),_0x50e100[_0x50e100[_0x103a68(0xf1)]=0x1]=_0x103a68(0xf1),_0x50e100))(_0x3bcbdc||{});const _0x53cbd3=0x7530,_0xc99441=_0x103a68(0x2af);class _0x49780e extends _0x460a10[_0x103a68(0xd1)]{constructor(){const _0x582ac1=_0x103a68;super(),_0x519548(this,_0x582ac1(0x391),_0x460a10[_0x582ac1(0x1dc)][_0x582ac1(0x212)]()),_0x519548(this,_0x582ac1(0x41d),new Set()),_0x519548(this,_0x582ac1(0x3d8),new Map()),_0x519548(this,_0x582ac1(0x1be),null),_0x519548(this,_0x582ac1(0x237),new Map()),_0x519548(this,_0x582ac1(0x4a5),new Map()),this[_0x582ac1(0x194)]();}[_0x103a68(0x3fb)](){const _0xd4997f=_0x103a68;super[_0xd4997f(0x3fb)](),this[_0xd4997f(0x237)]['forEach']((_0x45eb49,_0x1f1223)=>this[_0xd4997f(0x171)](_0x1f1223)),this[_0xd4997f(0x1be)]&&window['clearInterval'](this[_0xd4997f(0x1be)]);}[_0x103a68(0x288)](_0x58b939){const _0x206836=_0x103a68;return this[_0x206836(0x1b7)](_0x58b939)[_0x206836(0x3af)](_0x22d14a[_0x206836(0x15f)]());}[_0x103a68(0x14d)](_0x311cf9){const _0x47a904=_0x103a68;this[_0x47a904(0x41d)][_0x47a904(0x150)]===0x0&&this[_0x47a904(0x228)](),this[_0x47a904(0x41d)][_0x47a904(0x3cd)](_0x311cf9),this[_0x47a904(0x47b)]({'type':0x0,'memberID':this[_0x47a904(0x391)],'unitIDs':[_0x311cf9],'isForwarded':!0x1});}[_0x103a68(0x2aa)](_0x35e129){const _0x3755a7=_0x103a68;this[_0x3755a7(0x41d)][_0x3755a7(0xe0)](_0x35e129),this[_0x3755a7(0x41d)][_0x3755a7(0x150)]===0x0&&this['_heartbeatTimer']&&window[_0x3755a7(0x398)](this['_heartbeatTimer']);}[_0x103a68(0x194)](){const _0x2046e3=_0x103a68;this[_0x2046e3(0x495)](_0x460a10['toDisposable'](_0x22d14a['fromEvent'](window,_0x2046e3(0x1a4))[_0x2046e3(0x3d1)](_0x5a6f6f=>{const _0x2c1fd4=_0x2046e3;if(_0x5a6f6f[_0x2c1fd4(0x4dd)]!==_0xc99441||!_0x5a6f6f[_0x2c1fd4(0x475)])return;const _0x3ca4d8=JSON['parse'](_0x5a6f6f['newValue']);this[_0x2c1fd4(0x2e7)](_0x3ca4d8);}))),window[_0x2046e3(0x404)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x2046e3(0x41d)])}));}[_0x103a68(0x2e7)](_0x2c5487){const _0x5cd287=_0x103a68;switch(_0x2c5487['type']){case 0x0:this['_handleJoinEvent'](_0x2c5487);break;case 0x1:this[_0x5cd287(0x4d6)](_0x2c5487);break;case 0x2:this[_0x5cd287(0x341)](_0x2c5487);break;}}['_handleJoinEvent'](_0x1e0de6){const _0x3fe1e0=_0x103a68,{unitIDs:_0x47b9a8,memberID:_0x33e13b,isForwarded:_0x1d0d17}=_0x1e0de6;_0x47b9a8[_0x3fe1e0(0x196)](_0x2de09d=>{const _0x4730e4=_0x3fe1e0;if(!_0x1d0d17&&this['_unitOnClients'][_0x4730e4(0x401)](_0x2de09d)&&this[_0x4730e4(0x1b7)](_0x2de09d)[_0x4730e4(0x1bb)](0x1),!this[_0x4730e4(0x3d8)][_0x4730e4(0x401)](_0x2de09d)||!this[_0x4730e4(0x3d8)][_0x4730e4(0x1c8)](_0x2de09d)[_0x4730e4(0x401)](_0x33e13b)){const _0x175e14=this[_0x4730e4(0x3d8)][_0x4730e4(0x1c8)](_0x2de09d)||new Set();_0x175e14[_0x4730e4(0x3cd)](_0x33e13b),this['_unitOnClients'][_0x4730e4(0x29c)](_0x2de09d,_0x175e14),this['_scheduleClearOtherTimer'](_0x33e13b);}}),_0x1d0d17||this[_0x3fe1e0(0x47b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3fe1e0(0x41d)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1f9f53){const _0x167caf=_0x103a68;this[_0x167caf(0x171)](_0x1f9f53);const _0x5a57d6=window[_0x167caf(0x207)](()=>{const _0xd16ce9=_0x167caf;this[_0xd16ce9(0x3d8)][_0xd16ce9(0x196)](_0x169498=>{const _0x4a3202=_0xd16ce9;_0x169498[_0x4a3202(0xe0)](_0x1f9f53);});},_0x53cbd3*0x2);this[_0x167caf(0x237)][_0x167caf(0x29c)](_0x1f9f53,_0x5a57d6);}[_0x103a68(0x171)](_0x126283){const _0x3353aa=_0x103a68;if(this[_0x3353aa(0x237)]['has'](_0x126283)){const _0x54085a=this['_clearOtherTimers'][_0x3353aa(0x1c8)](_0x126283);_0x54085a&&window['clearTimeout'](_0x54085a),this[_0x3353aa(0x237)][_0x3353aa(0x29c)](_0x126283,null);}}['_handleLeaveEvent'](_0x15356f){const _0x1f8b50=_0x103a68,{memberID:_0x3ec96a,unitIDs:_0x448056}=_0x15356f;_0x448056[_0x1f8b50(0x196)](_0x510581=>{const _0x400c3a=_0x1f8b50;var _0x3beeca;const _0xe8917=this['_unitOnClients'][_0x400c3a(0x1c8)](_0x510581);_0xe8917&&(_0xe8917[_0x400c3a(0xe0)](_0x3ec96a),(_0x3beeca=this[_0x400c3a(0x1b7)](_0x510581))==null||_0x3beeca['next'](_0xe8917['size']===0x0?0x0:0x1));}),this[_0x1f8b50(0x171)](_0x3ec96a);}['_handleHeartbeatEvent'](_0x549ed4){const _0xf49139=_0x103a68;this[_0xf49139(0xe6)](_0x549ed4['memberID']);}[_0x103a68(0x47b)](_0xce3bd0){const _0x30c52d=_0x103a68;localStorage[_0x30c52d(0x3be)](_0xc99441,JSON[_0x30c52d(0x263)](_0xce3bd0));}['_scheduleHeartbeat'](){const _0x161273=_0x103a68;this['_heartbeatTimer']=window[_0x161273(0x394)](()=>{const _0x32b245=_0x161273;this['_send']({'type':0x2,'memberID':this[_0x32b245(0x391)]});},_0x53cbd3);}['_ensureSubject'](_0x96b9fe){const _0x381790=_0x103a68;return this[_0x381790(0x4a5)]['has'](_0x96b9fe)||this[_0x381790(0x4a5)]['set'](_0x96b9fe,new _0x22d14a[(_0x381790(0x23d))](0x0)),this['_unitStatus'][_0x381790(0x1c8)](_0x96b9fe);}}function _0x5d2166(_0x5de722){const _0x3680e3=_0x103a68;let _0x18e0b3='';for(const _0x3522b7 of _0x5de722){const {startOffset:_0x27b746,endOffset:_0x1d91c7,isActive:_0x4cbef9}=_0x3522b7;_0x18e0b3[_0x3680e3(0x292)]&&(_0x18e0b3+=','),_0x18e0b3+=_0x27b746+':'+_0x1d91c7+':'+(_0x4cbef9?'1':'0');}return _0x18e0b3;}function _0x380b63(_0x4fc737){const _0x496925=_0x103a68,_0x3f2fd1=_0x4fc737[_0x496925(0xc7)](','),_0x3d9e37=[];for(const _0x5bd8f3 of _0x3f2fd1){const [_0x52097a,_0x21be9a,_0x4c0752]=_0x5bd8f3[_0x496925(0xc7)](':');_0x3d9e37[_0x496925(0x420)]({'startOffset':Number(_0x52097a),'endOffset':Number(_0x21be9a),'collapsed':_0x52097a===_0x21be9a,'isActive':_0x4c0752==='1'});}return _0x3d9e37['some'](_0x4be01c=>_0x4be01c[_0x496925(0x461)])||(_0x3d9e37[0x0]['isActive']=!0x0),_0x3d9e37;}class _0x2bf6d4 extends _0x460a10[_0x103a68(0x16c)]{constructor(){const _0x5903eb=_0x103a68;super(...arguments),_0x519548(this,_0x5903eb(0x4a0),new _0x22d14a['BehaviorSubject'](null)),_0x519548(this,_0x5903eb(0x17b),this[_0x5903eb(0x4a0)]['asObservable']());}[_0x103a68(0x437)](_0x1e29be){const _0x735ffb=_0x103a68,{unitID:_0x232aaf,memberID:_0x47eebc,textRanges:_0x35016a}=_0x1e29be,_0x56ba00=_0x5d2166(_0x35016a),_0x32d3af={'unitID':_0x232aaf,'memberID':_0x47eebc,'selection':_0x56ba00};this[_0x735ffb(0x4a0)][_0x735ffb(0x1bb)](_0x32d3af);}}var _0x4e695d=Object[_0x103a68(0x3a3)],_0x54b198=Object[_0x103a68(0x138)],_0xa63f4a=(_0x53c946,_0x1a7b2f,_0x13cf64,_0x1c5abb)=>{for(var _0x33121f=_0x1c5abb>0x1?void 0x0:_0x1c5abb?_0x54b198(_0x1a7b2f,_0x13cf64):_0x1a7b2f,_0x5433d9=_0x53c946['length']-0x1,_0x82c16f;_0x5433d9>=0x0;_0x5433d9--)(_0x82c16f=_0x53c946[_0x5433d9])&&(_0x33121f=(_0x1c5abb?_0x82c16f(_0x1a7b2f,_0x13cf64,_0x33121f):_0x82c16f(_0x33121f))||_0x33121f);return _0x1c5abb&&_0x33121f&&_0x4e695d(_0x1a7b2f,_0x13cf64,_0x33121f),_0x33121f;},_0x56cde7=(_0x3d61b9,_0x277846)=>(_0x9c8ce9,_0x24858f)=>_0x277846(_0x9c8ce9,_0x24858f,_0x3d61b9);let _0x85795=class{constructor(_0xfae752,_0x1eb98c){this['_injector']=_0xfae752,this['_transformService']=_0x1eb98c;}['transformSelections'](_0x28969b){const _0x2b5a29=_0x103a68;var _0x480583;const _0x5326cb=this[_0x2b5a29(0x165)][_0x2b5a29(0x1c8)](_0x447cee[_0x2b5a29(0x492)]),_0x34d200=(_0x480583=_0x5326cb[_0x2b5a29(0x407)]())!=null?_0x480583:[];if(_0x34d200[_0x2b5a29(0x292)]===0x0)return;const _0x54491b=[{'id':_0x2b5a29(0xb9),'params':{'unitId':_0x28969b[_0x2b5a29(0x19c)],'actions':null,'textRanges':_0x34d200}}],_0x3580cc=this[_0x2b5a29(0xf9)][_0x2b5a29(0x427)](_0x28969b,_0x54491b);if(!_0x162fdb[_0x2b5a29(0x10f)](_0x3580cc))throw _0x3580cc[_0x2b5a29(0x35e)];const _0x5ad76e=_0x3580cc[_0x2b5a29(0xf6)][0x0][_0x2b5a29(0x31c)][_0x2b5a29(0xec)];Array[_0x2b5a29(0x328)](_0x5ad76e)&&_0x5ad76e['length']&&_0x5326cb[_0x2b5a29(0x260)](_0x5ad76e,!0x1);}};_0x85795=_0xa63f4a([_0x56cde7(0x0,_0x460a10['Inject'](_0x460a10[_0x103a68(0x15b)])),_0x56cde7(0x1,_0x162fdb[_0x103a68(0x219)])],_0x85795);const _0x340afc=new Set([_0x57c232[_0x103a68(0x45d)]['id']]);function _0x3423a3(_0x2a49f5,_0x2ab2d2,_0x22cf5c,_0x5b6ee0,_0x42e90d){const _0x394ee3=_0x103a68;var _0x3e73f9,_0x4ca181,_0x4a9a10,_0x500e41;const _0x1dcb73=[];for(const _0x40ce93 of _0x2a49f5)if(_0x340afc[_0x394ee3(0x401)](_0x40ce93['id'])){if(_0x1dcb73['length']>0x0)break;_0x1dcb73[_0x394ee3(0x420)](_0x40ce93);break;}else _0x1dcb73[_0x394ee3(0x420)](_0x40ce93);const _0xc0536=(_0x4ca181=(_0x3e73f9=_0x42e90d[_0x394ee3(0x31d)]())==null?void 0x0:_0x3e73f9[_0x394ee3(0x2de)])!=null?_0x4ca181:'unknown',_0x223d97=(_0x500e41=(_0x4a9a10=_0x42e90d[_0x394ee3(0x31d)]())==null?void 0x0:_0x4a9a10[_0x394ee3(0x144)])!=null?_0x500e41:_0x394ee3(0x187);return{'changeset':{'unitID':_0x2ab2d2,'type':_0x162fdb['mapDocumentTypeToUniverType'](_0x22cf5c['getUnitType'](_0x2ab2d2)),'baseRev':_0x5b6ee0[_0x394ee3(0x470)](_0x2ab2d2),'revision':0x0,'userID':_0xc0536,'memberID':_0x223d97,'mutations':_0x1dcb73},'pendingMutations':_0x2a49f5[_0x394ee3(0x27c)](_0x1dcb73[_0x394ee3(0x292)])};}function _0x442c69(_0x441268,_0xc07061,_0x195b12,_0x43384e,_0x35512c){const _0x469839=_0x103a68;var _0x4b142d,_0x53c2e8,_0x45a9bf,_0x5a1962;const _0x2a72c3=[_0x441268['reduce']((_0x4a3297,_0x119269)=>{const _0x13d31a=_0x5cd2;var _0x455d03;const {id:_0x170bb1}=_0x4a3297,{id:_0x15ece3,type:_0x3f4ed4}=_0x119269,_0x5b78f1=(_0x455d03=_0x4a3297[_0x13d31a(0x31c)])!=null?_0x455d03:{'actions':null},_0x10fe80=_0x119269[_0x13d31a(0x31c)];if(_0x170bb1&&_0x170bb1!==_0x15ece3)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x170bb1+'\x20-\x20'+_0x15ece3+'.');return{..._0x4a3297,'id':_0x15ece3,'type':_0x3f4ed4,'params':{'unitId':_0x10fe80[_0x13d31a(0x3b0)],'textRanges':_0x10fe80['textRanges'],'actions':_0x460a10[_0x13d31a(0x32d)][_0x13d31a(0x265)](_0x5b78f1[_0x13d31a(0x4da)],_0x10fe80[_0x13d31a(0x4da)])}};},{})],_0x3b0927=(_0x53c2e8=(_0x4b142d=_0x35512c[_0x469839(0x31d)]())==null?void 0x0:_0x4b142d['userID'])!=null?_0x53c2e8:_0x469839(0x187),_0x47acdb=(_0x5a1962=(_0x45a9bf=_0x35512c[_0x469839(0x31d)]())==null?void 0x0:_0x45a9bf[_0x469839(0x144)])!=null?_0x5a1962:_0x469839(0x187);return{'changeset':{'unitID':_0xc07061,'type':_0x162fdb[_0x469839(0x321)](_0x195b12[_0x469839(0x378)](_0xc07061)),'baseRev':_0x43384e[_0x469839(0x470)](_0xc07061),'revision':0x0,'userID':_0x3b0927,'memberID':_0x47acdb,'mutations':_0x2a72c3},'pendingMutations':[]};}function _0x3da111(_0x1c5622,_0x1b9c0f){const _0x17987b=_0x103a68,_0x37f3cd=new _0x22d14a[(_0x17987b(0x229))](0x1);return setTimeout(()=>_0x37f3cd['next'](_0x1b9c0f),_0x1c5622),_0x37f3cd[_0x17987b(0x1a5)]()[_0x17987b(0x3af)](_0x22d14a['take'](0x1));}const _0x5e05d4={'id':_0x57c232[_0x103a68(0x457)]['id'],'type':_0x460a10[_0x103a68(0x3f6)][_0x103a68(0x243)],'params':{}};var _0x25420c=Object[_0x103a68(0x3a3)],_0x2cc047=Object[_0x103a68(0x138)],_0x2f2894=(_0x187349,_0xfd824,_0x502a9b,_0x2839ac)=>{const _0x41dc0e=_0x103a68;for(var _0x1e79fc=_0x2839ac>0x1?void 0x0:_0x2839ac?_0x2cc047(_0xfd824,_0x502a9b):_0xfd824,_0x48d6af=_0x187349[_0x41dc0e(0x292)]-0x1,_0x597fed;_0x48d6af>=0x0;_0x48d6af--)(_0x597fed=_0x187349[_0x48d6af])&&(_0x1e79fc=(_0x2839ac?_0x597fed(_0xfd824,_0x502a9b,_0x1e79fc):_0x597fed(_0x1e79fc))||_0x1e79fc);return _0x2839ac&&_0x1e79fc&&_0x25420c(_0xfd824,_0x502a9b,_0x1e79fc),_0x1e79fc;},_0x56ee39=(_0x40c48e,_0x3a4778)=>(_0x51714c,_0x56571c)=>_0x3a4778(_0x51714c,_0x56571c,_0x40c48e),_0x4b41c3=(_0x103721=>(_0x103721[_0x103a68(0x1df)]=_0x103a68(0x2cb),_0x103721[_0x103a68(0x31a)]=_0x103a68(0x102),_0x103721[_0x103a68(0x2a9)]=_0x103a68(0x3f2),_0x103721['AWAITING']='awaiting',_0x103721[_0x103a68(0x3b2)]=_0x103a68(0x206),_0x103721['FETCH_MISS']='fetch_missing',_0x103721['CONFLICT']=_0x103a68(0x343),_0x103721['OFFLINE']=_0x103a68(0x44f),_0x103721))(_0x4b41c3||{});const _0x3d67d3=0xea60;class _0x410e3e{constructor(_0x422241,_0x106ad2,_0x3c2e19,_0x45b3d7,_0x1ffa9e,_0x11e8db,_0x850134,_0x45699b,_0x18fe44){const _0x2789b9=_0x103a68;_0x519548(this,_0x2789b9(0x13b),null),_0x519548(this,_0x2789b9(0x3e8),[]),(this['unitID']=_0x422241,this['type']=_0x106ad2,this['_handler']=_0x1ffa9e,this[_0x2789b9(0x44e)]=_0x11e8db,this['_undoRedoService']=_0x850134,this[_0x2789b9(0x2ce)]=_0x45699b,this['_localCacheService']=_0x18fe44,this[_0x2789b9(0x13b)]=_0x3c2e19,this[_0x2789b9(0x3e8)]=_0x45b3d7);}[_0x103a68(0x108)](_0x36f1f6){const _0x5949a=_0x103a68,_0xf90a0e=this[_0x5949a(0x2ce)][_0x5949a(0x470)](this[_0x5949a(0x19c)]);return _0x36f1f6[_0x5949a(0x21e)]>_0xf90a0e+0x1?(this[_0x5949a(0x423)][_0x5949a(0x490)]({'from':_0xf90a0e,'to':_0x36f1f6[_0x5949a(0x21e)]-0x1}),!0x0):!0x1;}[_0x103a68(0x38d)](_0x4c9ce2){const _0x6a0757=_0x103a68;this['_undoRedoService'][_0x6a0757(0x4e1)](this['unitID'],_0x4c9ce2);}[_0x103a68(0x2c2)](_0x6a424c){const _0x130b55=_0x103a68;var _0x53d79e,_0x2c5d0f;(_0x2c5d0f=(_0x53d79e=this[_0x130b55(0x423)])[_0x130b55(0x17a)])==null||_0x2c5d0f[_0x130b55(0x13e)](_0x53d79e,_0x6a424c);}[_0x103a68(0x308)](_0x71556e){const _0x3872eb=_0x103a68;var _0x154988,_0x24dfd3;return(_0x24dfd3=(_0x154988=this['_handler'])['onTransformIME'])==null?void 0x0:_0x24dfd3[_0x3872eb(0x13e)](_0x154988,_0x71556e);}['_transformRemoteChangesetByIMECache'](_0x88742a){const _0x5b0ece=_0x103a68;var _0x46ca64,_0x1515c9,_0x5a7c01;return(_0x5a7c01=(_0x1515c9=(_0x46ca64=this['_handler'])[_0x5b0ece(0x3da)])==null?void 0x0:_0x1515c9['call'](_0x46ca64,_0x88742a))!=null?_0x5a7c01:_0x88742a;}[_0x103a68(0x293)](_0x18afc7){const _0x17b3d4=_0x103a68;var _0x2c95d8,_0x27bc40;if(this[_0x17b3d4(0x483)]===_0x3907d0[_0x17b3d4(0x208)]){const {unitID:_0x40fbd5,mutations:_0xbe4912,memberID:_0x877af9}=_0x18afc7,_0x5bc936=_0xbe4912[0x0][_0x17b3d4(0x31c)][_0x17b3d4(0xec)];Array[_0x17b3d4(0x328)](_0x5bc936)&&_0x5bc936[_0x17b3d4(0x292)]>0x0&&((_0x27bc40=(_0x2c95d8=this[_0x17b3d4(0x423)])[_0x17b3d4(0x388)])==null||_0x27bc40[_0x17b3d4(0x13e)](_0x2c95d8,{'unitID':_0x40fbd5,'memberID':_0x877af9,'textRanges':_0x5bc936}));}}[_0x103a68(0x25c)](){const _0x32985f=_0x103a68;this['_localCacheService'][_0x32985f(0x3f0)](this[_0x32985f(0x19c)],this[_0x32985f(0x483)],this['_awaitingChangeset'],this[_0x32985f(0x3e8)]);}[_0x103a68(0x3e6)](){const _0x598d6f=_0x103a68;return this[_0x598d6f(0x2ce)]['getCurrentRevOfUnit'](this[_0x598d6f(0x19c)]);}['_incrementRevisionNumber'](){const _0x4619af=_0x103a68;this[_0x4619af(0x2ce)]['incrementRevOfUnit'](this[_0x4619af(0x19c)]);}[_0x103a68(0x498)](_0x1e0829){const _0x38717c=_0x103a68;var _0x54a4bb;const _0x31c029=this[_0x38717c(0x1f2)](_0x1e0829),_0x755032=_0x460a10[_0x38717c(0x4b4)](_0x31c029[_0x38717c(0x274)],this[_0x38717c(0x44e)],{'fromCollab':!0x0});if(!_0x755032[_0x38717c(0x3a4)])throw _0x755032[_0x38717c(0x35e)]instanceof Error?_0x755032[_0x38717c(0x35e)]:new Error((_0x54a4bb=_0x755032[_0x38717c(0x35e)])!=null?_0x54a4bb:_0x38717c(0xe1));this[_0x38717c(0x308)](_0x31c029),this[_0x38717c(0x38d)](_0x1e0829),this['_transformSelections'](_0x31c029),this[_0x38717c(0x293)](_0x31c029),this[_0x38717c(0x440)]();}}let _0xf7bbd9=class extends _0x410e3e{constructor(_0x17a8c,_0x29a19f,_0x2a291,_0x442e18,_0x42a09b,_0x5387bc,_0x3e4d7b,_0x306f5a,_0x1fa26d,_0x456f9b){const _0x15d66b=_0x103a68;super(_0x17a8c,_0x29a19f,null,[],_0x2a291,_0x306f5a,_0x3e4d7b,_0x442e18,_0x42a09b),_0x519548(this,_0x15d66b(0x45e),_0x15d66b(0x102)),(this[_0x15d66b(0x165)]=_0x5387bc,this[_0x15d66b(0x442)]=_0x1fa26d,this[_0x15d66b(0xf9)]=_0x456f9b);}['appendMutation'](_0x5a8d7b){const _0x5624e2=_0x103a68,_0x2d27b=this[_0x5624e2(0x165)][_0x5624e2(0x432)](_0x229ed3,this['unitID'],this[_0x5624e2(0x483)],[_0x5a8d7b],this[_0x5624e2(0x423)]);return _0x2d27b[_0x5624e2(0x323)](),_0x2d27b['_updateLocalCache'](),_0x2d27b;}[_0x103a68(0x278)](_0x26c2a6){const _0x5edc3e=_0x103a68;if(this[_0x5edc3e(0x108)](_0x26c2a6))return this[_0x5edc3e(0x165)]['createInstance'](_0x1082a3,this[_0x5edc3e(0x19c)],this[_0x5edc3e(0x483)],null,[],null,[_0x26c2a6],this[_0x5edc3e(0x423)]);try{const _0x5aef35=this[_0x5edc3e(0xf9)]['transformMutationsWithChangeset'](_0x26c2a6,[_0x5e05d4]);if(_0x162fdb[_0x5edc3e(0x10f)](_0x5aef35)){const {c1Prime:_0x33a299}=_0x5aef35;return this['_executeRemoteChangeset'](_0x33a299),this;}throw _0x5aef35['error'];}catch(_0x49b83c){return this[_0x5edc3e(0x442)][_0x5edc3e(0x35e)](_0x49b83c),this[_0x5edc3e(0x1c4)](!0x1);}}['_onConflict'](_0x1770c5){const _0x413ff6=_0x103a68;return this[_0x413ff6(0x165)][_0x413ff6(0x432)](_0x2d0447,this[_0x413ff6(0x19c)],this[_0x413ff6(0x483)],null,[],this['_handler'],_0x1770c5);}[_0x103a68(0xdc)](){const _0x7d01cb=_0x103a68;throw new Error(_0x7d01cb(0x266));}[_0x103a68(0x39a)](){const _0x5eb4a3=_0x103a68;throw new Error(_0x5eb4a3(0x124));}[_0x103a68(0x2cc)](){return this;}[_0x103a68(0x36b)](){const _0x31f6f4=_0x103a68;return this[_0x31f6f4(0x165)][_0x31f6f4(0x432)](_0xa1f417,this['unitID'],this[_0x31f6f4(0x483)],null,[],this[_0x31f6f4(0x423)]);}['toggleOnline'](){return this;}[_0x103a68(0x1ac)](){const _0x440648=_0x103a68;throw new Error(_0x440648(0x156));}[_0x103a68(0x12b)](){const _0xc2eb5=_0x103a68,_0x3d6056=this[_0xc2eb5(0x2ce)]['getCurrentRevOfUnit'](this[_0xc2eb5(0x19c)]);return this[_0xc2eb5(0x423)]['onMissingChangesets']({'from':_0x3d6056,'to':0x0}),this[_0xc2eb5(0x165)]['createInstance'](_0x1082a3,this[_0xc2eb5(0x19c)],this[_0xc2eb5(0x483)],null,[],null,[],this[_0xc2eb5(0x423)]);}};_0xf7bbd9=_0x2f2894([_0x56ee39(0x3,_0x460a10[_0x103a68(0x310)](_0x162fdb[_0x103a68(0x2b0)])),_0x56ee39(0x4,_0x460a10[_0x103a68(0x310)](_0x4e0bbf['LocalCacheService'])),_0x56ee39(0x5,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x56ee39(0x6,_0x460a10['IUndoRedoService']),_0x56ee39(0x7,_0x460a10[_0x103a68(0x134)]),_0x56ee39(0x8,_0x460a10['ILogService']),_0x56ee39(0x9,_0x162fdb[_0x103a68(0x219)])],_0xf7bbd9);let _0x229ed3=class extends _0x410e3e{constructor(_0x7e31d5,_0x2ccdb9,_0x4089c0,_0x450683,_0x2de53b,_0x15ff44,_0x2ff084,_0x1dd75a,_0x5ce55c,_0x5e5158,_0x195692,_0x4e6ba5,_0x150571,_0x2843ff){const _0x248c56=_0x103a68;super(_0x7e31d5,_0x2ccdb9,null,_0x4089c0,_0x450683,_0x5e5158,_0x2843ff,_0x15ff44,_0x2ff084),_0x519548(this,_0x248c56(0x45e),'pending'),_0x519548(this,_0x248c56(0x4ac),null),_0x519548(this,_0x248c56(0x29a),null),(this['_injector']=_0x2de53b,this[_0x248c56(0x469)]=_0x1dd75a,this[_0x248c56(0x442)]=_0x5ce55c,this[_0x248c56(0x153)]=_0x195692,this['_transformService']=_0x4e6ba5,this['_univerInstanceService']=_0x150571);}[_0x103a68(0x115)](_0x3e4611){const _0x5d6856=_0x103a68;return this['_pendingMutations'][_0x5d6856(0x420)](_0x3e4611),this[_0x5d6856(0x25c)](),this;}[_0x103a68(0x278)](_0x237c46){const _0x43a71e=_0x103a68;if(this['_checkMissing'](_0x237c46))return this[_0x43a71e(0x317)](),this['_injector'][_0x43a71e(0x432)](_0x1082a3,this['unitID'],this[_0x43a71e(0x483)],null,this[_0x43a71e(0x3e8)],null,[_0x237c46],this[_0x43a71e(0x423)]);try{const _0x3d6ac8=this[_0x43a71e(0xf9)][_0x43a71e(0x427)](_0x237c46,this['_pendingMutations']);if(_0x162fdb[_0x43a71e(0x10f)](_0x3d6ac8)){const {c1Prime:_0xa165ae,m2Prime:_0x26cd01}=_0x3d6ac8;this[_0x43a71e(0x498)](_0xa165ae);const _0x459475=this['_injector'][_0x43a71e(0x432)](_0x229ed3,this['unitID'],this[_0x43a71e(0x483)],_0x26cd01,this[_0x43a71e(0x423)]);return this[_0x43a71e(0x317)](),_0x459475[_0x43a71e(0x323)](this[_0x43a71e(0x4ac)]?Math[_0x43a71e(0x12f)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x459475;}throw _0x3d6ac8['error'];}catch(_0x554031){return this[_0x43a71e(0x442)]['error'](_0x554031),this[_0x43a71e(0x1c4)](!0x1);}}['onRemoteAck'](){const _0x354024=_0x103a68;throw new Error(_0x354024(0x218));}['onRemoteRej'](){const _0x10b680=_0x103a68;throw new Error(_0x10b680(0x3e4));}[_0x103a68(0x2cc)](){return this;}[_0x103a68(0x36b)](){const _0x408343=_0x103a68;return this[_0x408343(0x317)](),this[_0x408343(0x165)][_0x408343(0x432)](_0xa1f417,this[_0x408343(0x19c)],this[_0x408343(0x483)],null,this['_pendingMutations'],this[_0x408343(0x423)]);}['toggleOnline'](){return this;}[_0x103a68(0x323)](_0x44cb84){const _0x3226ea=_0x103a68,_0x2854ca=_0x44cb84!=null?_0x44cb84:this[_0x3226ea(0xbc)]();this[_0x3226ea(0x4ac)]=new Date()[_0x3226ea(0x24e)](),this[_0x3226ea(0x29a)]=window[_0x3226ea(0x207)](()=>{const _0x40a893=_0x3226ea;this[_0x40a893(0x317)]();let _0x3ff190=null;switch(this['type']){case _0x3907d0['UNIVER_SHEET']:{_0x3ff190=_0x3423a3(this[_0x40a893(0x3e8)],this[_0x40a893(0x19c)],this[_0x40a893(0x15d)],this[_0x40a893(0x2ce)],this[_0x40a893(0x469)]);break;}case _0x3907d0['UNIVER_DOC']:{this[_0x40a893(0x3e8)][_0x40a893(0x3ff)](_0x326cbd=>_0x326cbd['id']===_0x447cee[_0x40a893(0x1f9)]['id'])?_0x3ff190=_0x442c69(this['_pendingMutations'],this[_0x40a893(0x19c)],this[_0x40a893(0x15d)],this[_0x40a893(0x2ce)],this[_0x40a893(0x469)]):_0x3ff190=_0x3423a3(this[_0x40a893(0x3e8)],this['unitID'],this['_univerInstanceService'],this[_0x40a893(0x2ce)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x40a893(0x483)]+'\x20in\x20_schedule.');}const {changeset:_0xb92ddf,pendingMutations:_0xb7f044}=_0x3ff190;this[_0x40a893(0x423)][_0x40a893(0x375)](_0xb92ddf);const _0x2ffd20=_0xb7f044[_0x40a893(0x292)]?this[_0x40a893(0x165)][_0x40a893(0x432)](_0x558958,this[_0x40a893(0x19c)],this['type'],_0xb92ddf,_0xb7f044,this[_0x40a893(0x423)],void 0x0):this[_0x40a893(0x165)][_0x40a893(0x432)](_0x48b442,this[_0x40a893(0x19c)],this['type'],_0xb92ddf,this[_0x40a893(0x423)]);_0x2ffd20['_updateLocalCache'](),this[_0x40a893(0x423)][_0x40a893(0x43a)](this,_0x2ffd20);},_0x2854ca);}[_0x103a68(0xbc)](){const _0x21352c=_0x103a68;var _0x4aa343;const _0x25320a=this['_configService'][_0x21352c(0x20d)](_0x49305e);return(_0x4aa343=_0x25320a==null?void 0x0:_0x25320a[_0x21352c(0x3c7)])!=null?_0x4aa343:0x7d0;}[_0x103a68(0x1ac)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x103a68(0x317)](){const _0x5b9fb6=_0x103a68;this[_0x5b9fb6(0x29a)]!=null&&(clearTimeout(this[_0x5b9fb6(0x29a)]),this[_0x5b9fb6(0x29a)]=null);}['_onConflict'](_0x392d16){const _0x48ffa3=_0x103a68;return this[_0x48ffa3(0x317)](),this[_0x48ffa3(0x165)]['createInstance'](_0x2d0447,this[_0x48ffa3(0x19c)],this['type'],null,this[_0x48ffa3(0x3e8)],this['_handler'],_0x392d16);}};_0x229ed3=_0x2f2894([_0x56ee39(0x4,_0x460a10['Inject'](_0x460a10['Injector'])),_0x56ee39(0x5,_0x460a10['Inject'](_0x162fdb['RevisionService'])),_0x56ee39(0x6,_0x460a10['Inject'](_0x4e0bbf['LocalCacheService'])),_0x56ee39(0x7,_0x460a10[_0x103a68(0x310)](_0xf42097)),_0x56ee39(0x8,_0x460a10[_0x103a68(0x362)]),_0x56ee39(0x9,_0x460a10[_0x103a68(0x134)]),_0x56ee39(0xa,_0x460a10[_0x103a68(0x3e3)]),_0x56ee39(0xb,_0x162fdb[_0x103a68(0x219)]),_0x56ee39(0xc,_0x460a10[_0x103a68(0x347)]),_0x56ee39(0xd,_0x460a10['IUndoRedoService'])],_0x229ed3);let _0x48b442=class extends _0x410e3e{constructor(_0x19144a,_0x5a0c2c,_0x48940b,_0x3e2146,_0x14e129,_0x33a3d0,_0x2783c7,_0x5cc39b,_0x4157a6,_0x3864f7,_0x7d0d7e){const _0x23f47b=_0x103a68;super(_0x19144a,_0x5a0c2c,_0x48940b,[],_0x3e2146,_0x5cc39b,_0x7d0d7e,_0x33a3d0,_0x2783c7),_0x519548(this,_0x23f47b(0x45e),_0x23f47b(0x2e2)),_0x519548(this,_0x23f47b(0x46c),0x0),_0x519548(this,_0x23f47b(0x4c0)),_0x519548(this,_0x23f47b(0x3a0)),(this['_injector']=_0x14e129,this[_0x23f47b(0x442)]=_0x4157a6,this[_0x23f47b(0xf9)]=_0x3864f7);}['appendMutation'](_0x38b9d5){const _0x4100b8=_0x103a68;this['_clearScheduledTask']();const _0x40a177=this[_0x4100b8(0x165)][_0x4100b8(0x432)](_0x558958,this[_0x4100b8(0x19c)],this[_0x4100b8(0x483)],this[_0x4100b8(0x13b)],[_0x38b9d5],this[_0x4100b8(0x423)],this[_0x4100b8(0x4c0)]);return _0x40a177[_0x4100b8(0x25c)](),_0x40a177;}[_0x103a68(0x278)](_0x5c0484){const _0x2288f8=_0x103a68;if(this[_0x2288f8(0x108)](_0x5c0484))return this[_0x2288f8(0x317)](),this[_0x2288f8(0x165)]['createInstance'](_0x1082a3,this['unitID'],this['type'],this[_0x2288f8(0x13b)],[],null,[_0x5c0484],this[_0x2288f8(0x423)]);try{const _0x59e5d1=this[_0x2288f8(0xf9)][_0x2288f8(0x38f)]([_0x5c0484],[this[_0x2288f8(0x13b)]],!0x1);if(_0x162fdb[_0x2288f8(0x344)](_0x59e5d1)){const {c1Prime:_0x30c5ad,c2Prime:_0x24bfac}=_0x59e5d1;this['_executeRemoteChangeset'](_0x30c5ad[0x0]),_0x24bfac[0x0][_0x2288f8(0x119)]=this[_0x2288f8(0x3e6)](),this[_0x2288f8(0x317)]();const _0x750e50=this[_0x2288f8(0x165)][_0x2288f8(0x432)](_0x48b442,this[_0x2288f8(0x19c)],this[_0x2288f8(0x483)],_0x24bfac[0x0],this[_0x2288f8(0x423)]);return _0x750e50[_0x2288f8(0x25c)](),_0x750e50;}return this[_0x2288f8(0x1c4)](!0x1);}catch(_0x46bb6f){return this[_0x2288f8(0x442)][_0x2288f8(0x35e)](_0x46bb6f),this['_onConflict'](!0x1);}}[_0x103a68(0xdc)](_0x179180){const _0x4c3dd6=_0x103a68;this[_0x4c3dd6(0x317)]();const _0x42169f=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4c3dd6(0x19c)]);if(_0x179180[_0x4c3dd6(0x21e)]<_0x42169f-0x1)return this;if(this['_checkMissing'](_0x179180))return this[_0x4c3dd6(0x165)][_0x4c3dd6(0x432)](_0x1082a3,this['unitID'],this[_0x4c3dd6(0x483)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x4c3dd6(0x440)]();const _0x56d03e=this[_0x4c3dd6(0x165)][_0x4c3dd6(0x432)](_0xf7bbd9,this['unitID'],this['type'],this[_0x4c3dd6(0x423)]);return _0x56d03e[_0x4c3dd6(0x25c)](),_0x56d03e;}[_0x103a68(0x39a)](_0x2730a3){const _0x3a605a=_0x103a68;return this['_onConflict'](!!(_0x2730a3!=null&&_0x2730a3[_0x3a605a(0x1bf)]));}['onRemoteRetry'](_0x2db420){const _0x1d3a97=_0x103a68;return this[_0x1d3a97(0x46c)]>_0x3d67d3?this[_0x1d3a97(0x36b)]():(this[_0x1d3a97(0x4c0)]=_0x3da111(this[_0x1d3a97(0x46c)],{'timeout':this[_0x1d3a97(0x46c)],'reqId':_0x2db420[_0x1d3a97(0x3b9)]}),this[_0x1d3a97(0x3a0)]=this[_0x1d3a97(0x4c0)]['subscribe'](({reqId:_0x6414f9,timeout:_0x37cc35})=>{const _0x368fc6=_0x1d3a97;this[_0x368fc6(0x1ec)](_0x6414f9,_0x37cc35);}),this);}[_0x103a68(0x36b)](){const _0x13ca31=_0x103a68;return this[_0x13ca31(0x317)](),this['_injector'][_0x13ca31(0x432)](_0xa1f417,this[_0x13ca31(0x19c)],this[_0x13ca31(0x483)],this[_0x13ca31(0x13b)],[],this['_handler']);}[_0x103a68(0x1f8)](){return this;}[_0x103a68(0x1ac)](){const _0x3b0908=_0x103a68;this[_0x3b0908(0x423)][_0x3b0908(0x375)](this[_0x3b0908(0x13b)]);}[_0x103a68(0x1c4)](_0x754274){const _0x11d976=_0x103a68;return this[_0x11d976(0x317)](),this[_0x11d976(0x165)][_0x11d976(0x432)](_0x2d0447,this[_0x11d976(0x19c)],this[_0x11d976(0x483)],this[_0x11d976(0x13b)],[],this['_handler'],_0x754274);}[_0x103a68(0x1ec)](_0x1a8cfd,_0x425138){const _0x322a51=_0x103a68;var _0x198a61;_0x1a8cfd===((_0x198a61=this[_0x322a51(0x13b)])==null?void 0x0:_0x198a61[_0x322a51(0x3b9)])&&(this[_0x322a51(0x1ac)](),this[_0x322a51(0x46c)]=_0x425138===0x0?0x3e8:_0x425138*0x2);}[_0x103a68(0x317)](){const _0x182637=_0x103a68;var _0x11e43b;(_0x11e43b=this[_0x182637(0x3a0)])==null||_0x11e43b[_0x182637(0x36a)](),this['_resendTimeout']=0x0;}};_0x48b442=_0x2f2894([_0x56ee39(0x4,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x56ee39(0x5,_0x460a10[_0x103a68(0x310)](_0x162fdb[_0x103a68(0x2b0)])),_0x56ee39(0x6,_0x460a10['Inject'](_0x4e0bbf[_0x103a68(0x2b4)])),_0x56ee39(0x7,_0x460a10[_0x103a68(0x134)]),_0x56ee39(0x8,_0x460a10[_0x103a68(0x362)]),_0x56ee39(0x9,_0x162fdb['ITransformService']),_0x56ee39(0xa,_0x460a10['IUndoRedoService'])],_0x48b442);let _0x558958=class extends _0x410e3e{constructor(_0x453642,_0x3a4bf7,_0x2f715a,_0x3f4dc8,_0x306cb9,_0x1e7bce,_0x45f18b,_0x1ff623,_0x34b5f2,_0x558f7e,_0x376acc,_0x46dc28,_0x9df5fe){const _0x48d055=_0x103a68;super(_0x453642,_0x3a4bf7,_0x2f715a,_0x3f4dc8,_0x306cb9,_0x558f7e,_0x9df5fe,_0x1ff623,_0x34b5f2),_0x519548(this,'status',_0x48d055(0x206)),_0x519548(this,_0x48d055(0x46c),0x0),_0x519548(this,_0x48d055(0x4c0)),_0x519548(this,_0x48d055(0x3a0)),(this[_0x48d055(0x165)]=_0x45f18b,this[_0x48d055(0x442)]=_0x376acc,this[_0x48d055(0xf9)]=_0x46dc28,_0x1e7bce&&(this[_0x48d055(0x4c0)]=_0x1e7bce,this['_sender']=this[_0x48d055(0x4c0)]['subscribe'](({reqId:_0x95ea71,timeout:_0x164ea8})=>{const _0x2febeb=_0x48d055;this[_0x2febeb(0x1ec)](_0x95ea71,_0x164ea8);})));}[_0x103a68(0x115)](_0x48d067){const _0xec51fc=_0x103a68;return this[_0xec51fc(0x3e8)]['push'](_0x48d067),this;}[_0x103a68(0x278)](_0x3acee9){const _0x53a774=_0x103a68;if(this[_0x53a774(0x108)](_0x3acee9))return this[_0x53a774(0x317)](),this[_0x53a774(0x165)][_0x53a774(0x432)](_0x1082a3,this['unitID'],this[_0x53a774(0x483)],this[_0x53a774(0x13b)],this[_0x53a774(0x3e8)],null,[_0x3acee9],this[_0x53a774(0x423)]);try{const _0x6434fd=this[_0x53a774(0xf9)][_0x53a774(0x38f)]([_0x3acee9],[this[_0x53a774(0x13b)]],!0x1);if(_0x162fdb[_0x53a774(0x344)](_0x6434fd)){const {c1Prime:_0x16d527,c2Prime:_0x22015a}=_0x6434fd,_0x2efbae=this[_0x53a774(0xf9)]['transformMutationsWithChangeset'](_0x16d527[0x0],this[_0x53a774(0x3e8)]);if(_0x162fdb[_0x53a774(0x10f)](_0x2efbae)){const {c1Prime:_0x12ec95,m2Prime:_0x126122}=_0x2efbae;return this['_executeRemoteChangeset'](_0x12ec95),_0x22015a[0x0]['baseRev']=this[_0x53a774(0x3e6)](),this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x558958,this['unitID'],this[_0x53a774(0x483)],_0x22015a[0x0],_0x126122,this[_0x53a774(0x423)],void 0x0);}throw _0x2efbae[_0x53a774(0x35e)];}throw _0x6434fd['error'];}catch(_0x105b1c){return this[_0x53a774(0x442)][_0x53a774(0x35e)](_0x105b1c),this[_0x53a774(0x1c4)](!0x1);}}[_0x103a68(0xdc)](_0x1219a4){const _0x3b6594=_0x103a68;if(this[_0x3b6594(0x317)](),this[_0x3b6594(0x108)](_0x1219a4))return this[_0x3b6594(0x165)]['createInstance'](_0x1082a3,this[_0x3b6594(0x19c)],this[_0x3b6594(0x483)],null,this['_pendingMutations'],this[_0x3b6594(0x13b)],[],this[_0x3b6594(0x423)]);this[_0x3b6594(0x440)]();const _0x5e874e=this[_0x3b6594(0x165)][_0x3b6594(0x432)](_0x229ed3,this[_0x3b6594(0x19c)],this[_0x3b6594(0x483)],this['_pendingMutations'],this[_0x3b6594(0x423)]);return _0x5e874e['_schedule'](),_0x5e874e[_0x3b6594(0x25c)](),_0x5e874e;}['onRemoteRej'](_0x519a6d){const _0x4ee80d=_0x103a68;return this[_0x4ee80d(0x1c4)](!!(_0x519a6d!=null&&_0x519a6d[_0x4ee80d(0x1bf)]));}[_0x103a68(0x2cc)](_0x487c52){const _0x43df61=_0x103a68;return this[_0x43df61(0x46c)]>_0x3d67d3?this[_0x43df61(0x36b)]():(this[_0x43df61(0x4c0)]=_0x3da111(this['_resendTimeout'],{'timeout':this[_0x43df61(0x46c)],'reqId':_0x487c52['reqId']}),this['_sender']=this[_0x43df61(0x4c0)]['subscribe'](({reqId:_0xf27752,timeout:_0x4cd0ee})=>{this['_resendWithTimeout'](_0xf27752,_0x4cd0ee);}),this);}['toggleOffline'](){const _0x1defe7=_0x103a68;return this[_0x1defe7(0x317)](),this[_0x1defe7(0x165)][_0x1defe7(0x432)](_0xa1f417,this[_0x1defe7(0x19c)],this[_0x1defe7(0x483)],this[_0x1defe7(0x13b)],this[_0x1defe7(0x3e8)],this[_0x1defe7(0x423)]);}[_0x103a68(0x1f8)](){return this;}[_0x103a68(0x1ac)](){const _0x4c99c2=_0x103a68;this[_0x4c99c2(0x423)][_0x4c99c2(0x375)](this[_0x4c99c2(0x13b)]);}[_0x103a68(0x1c4)](_0x366a32){const _0x4d4808=_0x103a68;return this[_0x4d4808(0x317)](),this[_0x4d4808(0x165)][_0x4d4808(0x432)](_0x2d0447,this['unitID'],this[_0x4d4808(0x483)],null,this[_0x4d4808(0x3e8)],this[_0x4d4808(0x423)],_0x366a32);}[_0x103a68(0x1ec)](_0x8f1c53,_0x25a04e){const _0x26d623=_0x103a68;var _0x265b59;_0x8f1c53===((_0x265b59=this[_0x26d623(0x13b)])==null?void 0x0:_0x265b59['reqId'])&&(this[_0x26d623(0x1ac)](),this[_0x26d623(0x46c)]=_0x25a04e===0x0?0x3e8:_0x25a04e*0x2);}['_clearScheduledTask'](){const _0x4b8f74=_0x103a68;var _0x1b29fb;(_0x1b29fb=this[_0x4b8f74(0x3a0)])==null||_0x1b29fb['unsubscribe'](),this[_0x4b8f74(0x46c)]=0x0;}};_0x558958=_0x2f2894([_0x56ee39(0x6,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x56ee39(0x7,_0x460a10[_0x103a68(0x310)](_0x162fdb[_0x103a68(0x2b0)])),_0x56ee39(0x8,_0x460a10[_0x103a68(0x310)](_0x4e0bbf[_0x103a68(0x2b4)])),_0x56ee39(0x9,_0x460a10['ICommandService']),_0x56ee39(0xa,_0x460a10[_0x103a68(0x362)]),_0x56ee39(0xb,_0x162fdb[_0x103a68(0x219)]),_0x56ee39(0xc,_0x460a10['IUndoRedoService'])],_0x558958);let _0x2d0447=class extends _0x410e3e{constructor(_0x2f9e16,_0x162236,_0x1afed6,_0x47f881,_0xcad86e,_0xd7a85a=!0x1,_0x3f6e51,_0x8d2bef,_0x71baa,_0x28f6d5,_0x39f1a7,_0x3ad95a,_0x367f7e){const _0x58f080=_0x103a68;super(_0x2f9e16,_0x162236,_0x1afed6,_0x47f881,_0xcad86e,_0x8d2bef,_0x71baa,_0x39f1a7,_0x28f6d5),_0x519548(this,'status',_0x58f080(0x343)),(this['_isPermissionRej']=_0xd7a85a,this['_permissionService']=_0x3f6e51,this[_0x58f080(0x136)]=_0x3ad95a,this[_0x58f080(0x3db)]=_0x367f7e,this[_0x58f080(0x15c)](),this[_0x58f080(0x4ad)](),this['_disableEditing']());}[_0x103a68(0x115)](){return this;}[_0x103a68(0x278)](){return this;}[_0x103a68(0xdc)](){return this;}[_0x103a68(0x39a)](){return this;}[_0x103a68(0x2cc)](){return this;}[_0x103a68(0x36b)](){return this;}[_0x103a68(0x1f8)](){return this;}[_0x103a68(0x1ac)](){const _0x50b307=_0x103a68;throw new Error(_0x50b307(0xad));}[_0x103a68(0x4ad)](){const _0x3ac1d1=_0x103a68;this[_0x3ac1d1(0x386)][_0x3ac1d1(0x3f0)](this[_0x3ac1d1(0x19c)],this[_0x3ac1d1(0x483)],null,[]);}[_0x103a68(0x15c)](){const _0x487c71=_0x103a68;this[_0x487c71(0x3b3)]?this[_0x487c71(0x3db)][_0x487c71(0x410)]({'title':this[_0x487c71(0x136)]['t'](_0x487c71(0x1d0)),'content':this[_0x487c71(0x136)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x487c71(0x3db)][_0x487c71(0x410)]({'title':this[_0x487c71(0x136)]['t']('conflict.title'),'content':this[_0x487c71(0x136)]['t'](_0x487c71(0x3cf)),'type':_0x487c71(0x35e),'duration':0x0});}[_0x103a68(0x1fe)](){const _0x56505d=_0x103a68;this['_permissionService']['updatePermissionPoint'](new _0x57c232[(_0x56505d(0x4ae))](this[_0x56505d(0x19c)])['id'],!0x1);}};_0x2d0447=_0x2f2894([_0x56ee39(0x6,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x42c)])),_0x56ee39(0x7,_0x460a10[_0x103a68(0x134)]),_0x56ee39(0x8,_0x460a10[_0x103a68(0xba)]),_0x56ee39(0x9,_0x460a10[_0x103a68(0x310)](_0x4e0bbf['LocalCacheService'])),_0x56ee39(0xa,_0x460a10['Inject'](_0x162fdb[_0x103a68(0x2b0)])),_0x56ee39(0xb,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x176)])),_0x56ee39(0xc,_0x29b1e2['INotificationService'])],_0x2d0447);let _0xa1f417=class extends _0x410e3e{constructor(_0x327f0b,_0x478ee7,_0x47ef8b,_0x1f422b,_0x4e34b9,_0x36c852,_0x3c5b84,_0x53e87a,_0x1c1871,_0x548340){const _0x1df8a5=_0x103a68;super(_0x327f0b,_0x478ee7,_0x47ef8b,_0x1f422b,_0x4e34b9,_0x1c1871,_0x548340,_0x3c5b84,_0x53e87a),_0x519548(this,'status',_0x1df8a5(0x44f)),this[_0x1df8a5(0x165)]=_0x36c852;}[_0x103a68(0x115)](_0x504be7){const _0x5c4f1a=_0x103a68;return this[_0x5c4f1a(0x3e8)][_0x5c4f1a(0x420)](_0x504be7),this['_updateLocalCache'](),this;}[_0x103a68(0x278)](_0x541334){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x103a68(0xdc)](){const _0xea4491=_0x103a68;throw new Error(_0xea4491(0x499));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x103a68(0x1f8)](){const _0x4d6888=_0x103a68,{_injector:_0x15f36a,_pendingMutations:_0x12d88c,_awaitingChangeset:_0x16f067,unitID:_0xc5e6f5,_handler:_0x1c8c98,type:_0x5f2115}=this,_0x328cff=_0x4d3d65(_0x15f36a,_0xc5e6f5,_0x5f2115,_0x16f067,_0x12d88c,_0x1c8c98);return _0x328cff instanceof _0x229ed3?_0x328cff[_0x4d6888(0x323)]():(_0x328cff instanceof _0x558958||_0x328cff instanceof _0x48b442)&&_0x328cff[_0x4d6888(0x1ac)](),_0x328cff;}['resend'](){const _0x3cb45c=_0x103a68;throw new Error(_0x3cb45c(0x2c1));}};_0xa1f417=_0x2f2894([_0x56ee39(0x5,_0x460a10['Inject'](_0x460a10[_0x103a68(0x15b)])),_0x56ee39(0x6,_0x460a10[_0x103a68(0x310)](_0x162fdb[_0x103a68(0x2b0)])),_0x56ee39(0x7,_0x460a10['Inject'](_0x4e0bbf[_0x103a68(0x2b4)])),_0x56ee39(0x8,_0x460a10[_0x103a68(0x134)]),_0x56ee39(0x9,_0x460a10['IUndoRedoService'])],_0xa1f417);let _0x1082a3=class extends _0x410e3e{constructor(_0x209f43,_0x53f05c,_0x4a3e95,_0x5698ae,_0x592e30,_0x211a43,_0x2170aa,_0x4642bd,_0x33049e,_0x1637a8,_0x5d215d,_0x1a2e46,_0x4b3768,_0x18501b){const _0x16b3db=_0x103a68;super(_0x209f43,_0x53f05c,_0x4a3e95,_0x5698ae,_0x2170aa,_0x1a2e46,_0x4b3768,_0x33049e,_0x1637a8),_0x519548(this,_0x16b3db(0x45e),_0x16b3db(0x485)),(this[_0x16b3db(0x200)]=_0x592e30,this[_0x16b3db(0x17f)]=_0x211a43,this[_0x16b3db(0x165)]=_0x4642bd,this[_0x16b3db(0x442)]=_0x5d215d,this[_0x16b3db(0xf9)]=_0x18501b);}[_0x103a68(0x238)](_0x58d055){const _0x328ee9=_0x103a68;try{const _0xa472b5=[..._0x58d055,...this[_0x328ee9(0x17f)]],_0x5639e6=[this[_0x328ee9(0x13b)]||this['_acknowledgedAwaitingChangeset']][_0x328ee9(0x162)](_0x212312=>!!_0x212312);let _0x1de989,_0x3d1507;if(_0x5639e6[_0x328ee9(0x292)]){const _0x381382=this['_transformService'][_0x328ee9(0x38f)](_0xa472b5,_0x5639e6,!0x1);if(!_0x162fdb[_0x328ee9(0x344)](_0x381382))throw _0x381382[_0x328ee9(0x35e)];_0x1de989=_0x381382[_0x328ee9(0x48a)],_0x3d1507=_0x381382[_0x328ee9(0xbf)];}else _0x1de989=_0xa472b5,_0x3d1507=[];let _0x4bc500=this[_0x328ee9(0x3e8)];_0x1de989[_0x328ee9(0x196)](_0xc40e36=>{const _0x58e88c=_0x328ee9;let _0x21153d;if(_0x4bc500[_0x58e88c(0x292)]){const _0x21e678=this['_transformService'][_0x58e88c(0x427)](_0xc40e36,_0x4bc500);if(!_0x162fdb[_0x58e88c(0x10f)](_0x21e678))throw _0x21e678[_0x58e88c(0x35e)];_0x21153d=_0x21e678['c1Prime'],_0x4bc500=_0x21e678[_0x58e88c(0xf6)];}else _0x21153d=_0xc40e36;this[_0x58e88c(0x498)](_0x21153d);}),this[_0x328ee9(0x200)]&&this[_0x328ee9(0x440)](),this[_0x328ee9(0x13b)]&&_0x3d1507[_0x328ee9(0x292)]&&(_0x3d1507[0x0][_0x328ee9(0x119)]=this[_0x328ee9(0x3e6)]());let _0x47432b;if(this[_0x328ee9(0x13b)]&&_0x4bc500[_0x328ee9(0x292)]!==0x0)_0x47432b=this[_0x328ee9(0x165)][_0x328ee9(0x432)](_0x558958,this[_0x328ee9(0x19c)],this['type'],_0x3d1507[0x0],_0x4bc500,this[_0x328ee9(0x423)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4bc500[_0x328ee9(0x292)]===0x0)_0x3d1507[0x0]['baseRev']=this[_0x328ee9(0x3e6)](),_0x47432b=this['_injector'][_0x328ee9(0x432)](_0x48b442,this[_0x328ee9(0x19c)],this['type'],_0x3d1507[0x0],this['_handler']);else{if(_0x4bc500[_0x328ee9(0x292)]!==0x0){const _0x52303f=this[_0x328ee9(0x165)][_0x328ee9(0x432)](_0x229ed3,this[_0x328ee9(0x19c)],this[_0x328ee9(0x483)],_0x4bc500,this[_0x328ee9(0x423)]);_0x52303f[_0x328ee9(0x323)](),_0x47432b=_0x52303f;}else _0x47432b=this[_0x328ee9(0x165)]['createInstance'](_0xf7bbd9,this[_0x328ee9(0x19c)],this[_0x328ee9(0x483)],this['_handler']);}}return _0x47432b['_updateLocalCache'](),_0x47432b;}catch(_0x3fec14){return this[_0x328ee9(0x442)]['error'](_0x328ee9(0x13d),_0x328ee9(0x4cb),_0x3fec14),this[_0x328ee9(0x165)][_0x328ee9(0x432)](_0x2d0447,this[_0x328ee9(0x19c)],this['type'],this[_0x328ee9(0x13b)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x103a68(0x1ac)](){const _0x5d4f69=_0x103a68;throw new Error(_0x5d4f69(0x1fd));}[_0x103a68(0x115)](_0x3175af){const _0x31336a=_0x103a68;return this[_0x31336a(0x3e8)][_0x31336a(0x420)](_0x3175af),this;}['onRemoteChangeset'](_0x3e6fbf){const _0xd383af=_0x103a68;return this[_0xd383af(0x17f)][_0xd383af(0x420)](_0x3e6fbf),this;}['onRemoteAck'](_0x7eca11){const _0x185468=_0x103a68;if(this[_0x185468(0x13b)])return this['_acknowledgedAwaitingChangeset']=this[_0x185468(0x13b)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x12bc69){const _0x59ce9f=_0x103a68;return this[_0x59ce9f(0x1c4)](!!(_0x12bc69!=null&&_0x12bc69[_0x59ce9f(0x1bf)]));}[_0x103a68(0x2cc)](){return this;}[_0x103a68(0x36b)](){const _0x157ee4=_0x103a68;return this[_0x157ee4(0x165)][_0x157ee4(0x432)](_0xa1f417,this['unitID'],this[_0x157ee4(0x483)],this[_0x157ee4(0x13b)],this['_pendingMutations'],this[_0x157ee4(0x423)]);}['toggleOnline'](){return this;}[_0x103a68(0x1c4)](_0x590d99){const _0x153d1e=_0x103a68;return this[_0x153d1e(0x165)][_0x153d1e(0x432)](_0x2d0447,this[_0x153d1e(0x19c)],this[_0x153d1e(0x483)],this[_0x153d1e(0x13b)],this[_0x153d1e(0x3e8)],this[_0x153d1e(0x423)],_0x590d99);}};_0x1082a3=_0x2f2894([_0x56ee39(0x7,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x56ee39(0x8,_0x460a10[_0x103a68(0x310)](_0x162fdb[_0x103a68(0x2b0)])),_0x56ee39(0x9,_0x460a10[_0x103a68(0x310)](_0x4e0bbf[_0x103a68(0x2b4)])),_0x56ee39(0xa,_0x460a10[_0x103a68(0x362)]),_0x56ee39(0xb,_0x460a10[_0x103a68(0x134)]),_0x56ee39(0xc,_0x460a10['IUndoRedoService']),_0x56ee39(0xd,_0x162fdb[_0x103a68(0x219)])],_0x1082a3);function _0x4d3d65(_0x418892,_0x51fc6b,_0x242f02,_0x5b02fa,_0x4b379d,_0x5e5bb0){const _0x4a9bf8=_0x103a68;return _0x5b02fa&&_0x4b379d[_0x4a9bf8(0x292)]?_0x418892['createInstance'](_0x558958,_0x51fc6b,_0x242f02,_0x5b02fa,_0x4b379d,_0x5e5bb0,void 0x0):_0x5b02fa?_0x418892[_0x4a9bf8(0x432)](_0x48b442,_0x51fc6b,_0x242f02,_0x5b02fa,_0x5e5bb0):_0x4b379d[_0x4a9bf8(0x292)]?_0x418892['createInstance'](_0x229ed3,_0x51fc6b,_0x242f02,_0x4b379d,_0x5e5bb0):_0x418892[_0x4a9bf8(0x432)](_0xf7bbd9,_0x51fc6b,_0x242f02,_0x5e5bb0);}var _0x625c65=Object[_0x103a68(0x3a3)],_0x57c928=Object[_0x103a68(0x138)],_0x420c61=(_0x2f8011,_0x2f9165,_0x20f881,_0x41fa19)=>{const _0x147264=_0x103a68;for(var _0x3d9956=_0x41fa19>0x1?void 0x0:_0x41fa19?_0x57c928(_0x2f9165,_0x20f881):_0x2f9165,_0x16ac57=_0x2f8011[_0x147264(0x292)]-0x1,_0x148055;_0x16ac57>=0x0;_0x16ac57--)(_0x148055=_0x2f8011[_0x16ac57])&&(_0x3d9956=(_0x41fa19?_0x148055(_0x2f9165,_0x20f881,_0x3d9956):_0x148055(_0x3d9956))||_0x3d9956);return _0x41fa19&&_0x3d9956&&_0x625c65(_0x2f9165,_0x20f881,_0x3d9956),_0x3d9956;},_0x2206b4=(_0x5f429c,_0x47ee5a)=>(_0x14a4bc,_0x251570)=>_0x47ee5a(_0x14a4bc,_0x251570,_0x5f429c);_0x4e0bbf[_0x103a68(0x45f)]=class extends _0x460a10[_0x103a68(0x16c)]{constructor(_0x4d42f5,_0x3f0b01,_0x11506b,_0x4cbace,_0xe457df,_0x715a8e,_0x30fbf9,_0x59cc48,_0x5c32b9,_0x4640eb,_0x16d6d5,_0x1d0264,_0x26d9e5){const _0x338e26=_0x103a68;super(),_0x519548(this,_0x338e26(0x4d8),new _0x22d14a['BehaviorSubject'](null)),_0x519548(this,_0x338e26(0x210),this[_0x338e26(0x4d8)][_0x338e26(0x1a5)]()),_0x519548(this,_0x338e26(0x2b5)),_0x519548(this,_0x338e26(0x1ca),!0x1),_0x519548(this,_0x338e26(0x110),''),_0x519548(this,_0x338e26(0x3e1),0x0),_0x519548(this,_0x338e26(0x39e),this[_0x338e26(0x210)][_0x338e26(0x3af)](_0x22d14a[_0x338e26(0x38a)](_0x33e8e5=>_0x33e8e5?_0x33e8e5[_0x338e26(0x45e)]:_0x4b41c3[_0x338e26(0x314)]),_0x22d14a[_0x338e26(0x3eb)](0x1))),_0x519548(this,_0x338e26(0x232),!0x1),_0x519548(this,_0x338e26(0x455),[]),(this[_0x338e26(0x19c)]=_0x4d42f5,this[_0x338e26(0x374)]=_0x3f0b01,this[_0x338e26(0x465)]=_0x11506b,this['_injector']=_0x4cbace,this[_0x338e26(0x386)]=_0xe457df,this[_0x338e26(0x211)]=_0x715a8e,this[_0x338e26(0x136)]=_0x30fbf9,this[_0x338e26(0x2ce)]=_0x59cc48,this[_0x338e26(0x442)]=_0x5c32b9,this[_0x338e26(0x44e)]=_0x4640eb,this[_0x338e26(0x348)]=_0x16d6d5,this[_0x338e26(0x467)]=_0x1d0264,this[_0x338e26(0x435)]=_0x26d9e5);}get[_0x103a68(0x49b)](){const _0x565c0f=_0x103a68;return this[_0x565c0f(0x2b5)];}async[_0x103a68(0x40b)](){const _0x34bd04=_0x103a68;if(this[_0x34bd04(0x49b)])throw new Error(_0x34bd04(0x282));await this[_0x34bd04(0x194)]();}[_0x103a68(0x1d8)](){const _0x540a34=_0x103a68;return this[_0x540a34(0x1ca)]=!0x0,_0x460a10['toDisposable'](()=>{const _0x131540=_0x540a34;this[_0x131540(0x1ca)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['_updateState'](_0x2caa50){const _0x296bae=_0x103a68;this[_0x296bae(0x2b5)]=_0x2caa50,this['_state$'][_0x296bae(0x1bb)](_0x2caa50);}async[_0x103a68(0x194)](){const _0x1830e5=_0x103a68;var _0x45680b;this[_0x1830e5(0x350)](await this[_0x1830e5(0x1d4)]()),this['_singleActiveUnitService']&&((_0x45680b=this[_0x1830e5(0x435)])==null||_0x45680b[_0x1830e5(0x14d)](this[_0x1830e5(0x19c)]),this[_0x1830e5(0x495)](this[_0x1830e5(0x435)]['getUnitStatus$'](this[_0x1830e5(0x19c)])[_0x1830e5(0x3d1)](_0x1221f3=>{const _0x1f921b=_0x1830e5;this['_logService'][_0x1f921b(0x1b4)](_0x1f921b(0x1b3),_0x1f921b(0x1ef),_0x1221f3),_0x1221f3===_0x3bcbdc[_0x1f921b(0xf1)]?(this[_0x1f921b(0x348)]['show']({'content':this[_0x1f921b(0x136)]['t'](_0x1f921b(0x1c1)),'type':_0x511ab8['MessageType'][_0x1f921b(0x230)]}),this[_0x1f921b(0x467)][_0x1f921b(0x4c2)](new _0x57c232[(_0x1f921b(0x4ae))](this[_0x1f921b(0x19c)])['id'],!0x1)):this[_0x1f921b(0x467)][_0x1f921b(0x4c2)](new _0x57c232[(_0x1f921b(0x4ae))](this[_0x1f921b(0x19c)])['id'],!0x0);})));let _0x474f1e=!0x1;return this['disposeWithMe'](this[_0x1830e5(0x374)][_0x1830e5(0x276)]['subscribe'](_0x256165=>{const _0x45e0af=_0x1830e5;_0x256165===_0x2c7c24[_0x45e0af(0x2a6)]?this['_toggleOnline'](_0x474f1e):_0x256165===_0x2c7c24['OFFLINE']&&(_0x474f1e=!0x0,this[_0x45e0af(0x454)]());})),this[_0x1830e5(0x495)](this[_0x1830e5(0x374)][_0x1830e5(0x1e1)][_0x1830e5(0x3d1)](_0x20a8cd=>{const _0x1a2a5c=_0x1830e5;try{switch(_0x20a8cd[_0x1a2a5c(0x2fe)]){case _0x162fdb[_0x1a2a5c(0x26c)][_0x1a2a5c(0x131)]:{this['_onRemoteChangeset'](_0x162fdb[_0x1a2a5c(0x30a)](_0x20a8cd[_0x1a2a5c(0x47f)]));break;}case _0x162fdb[_0x1a2a5c(0x26c)][_0x1a2a5c(0x1da)]:{this['_onRemoteACK'](_0x20a8cd[_0x1a2a5c(0x47f)]);break;}case _0x162fdb[_0x1a2a5c(0x26c)][_0x1a2a5c(0x49d)]:{this[_0x1a2a5c(0x281)]();break;}case _0x162fdb[_0x1a2a5c(0x26c)][_0x1a2a5c(0x3ac)]:{this[_0x1a2a5c(0x296)](_0x20a8cd[_0x1a2a5c(0x47f)]);break;}case _0x162fdb['CollaborationEvent'][_0x1a2a5c(0x325)]:{this[_0x1a2a5c(0x169)](_0x20a8cd[_0x1a2a5c(0x47f)]['changesets'][_0x1a2a5c(0x38a)](_0x5961f8=>_0x162fdb[_0x1a2a5c(0x30a)](_0x5961f8)));break;}case _0x162fdb[_0x1a2a5c(0x26c)]['PERMISSION_REJ']:this[_0x1a2a5c(0x281)]({'isPermissionRej':!0x0});}}catch(_0x207e6f){throw console[_0x1a2a5c(0x35e)]('Error\x20on\x20receiving\x20event',_0x207e6f),_0x207e6f;}})),this['_state'];}['_unlockTransition'](){const _0x398c47=_0x103a68;this[_0x398c47(0x232)]=!0x1;}['_lockTransition'](){const _0x34c7d8=_0x103a68;if(this[_0x34c7d8(0x232)])throw new Error(_0x34c7d8(0x421));this[_0x34c7d8(0x232)]=!0x0;}[_0x103a68(0x2bf)](_0x2b4b2c){const _0x1f9400=_0x103a68;this[_0x1f9400(0x112)](),this[_0x1f9400(0x350)](this[_0x1f9400(0x2b5)][_0x1f9400(0x115)](_0x2b4b2c)),this['_unlockTransition']();}[_0x103a68(0x1c7)](_0x48ac21){const _0x5279d8=_0x103a68;if(!(_0x48ac21['revision']<=this[_0x5279d8(0x2ce)]['getCurrentRevOfUnit'](this[_0x5279d8(0x19c)]))){if(this['_collaborationPaused']){this[_0x5279d8(0x455)][_0x5279d8(0x420)](_0x48ac21);return;}this[_0x5279d8(0x2be)](_0x48ac21);}}[_0x103a68(0x4bc)](){const _0x3c6986=_0x103a68;this[_0x3c6986(0x455)][_0x3c6986(0x196)](_0x23144a=>this['_applyRemoteChangeset'](_0x23144a)),this[_0x3c6986(0x455)]=[];}[_0x103a68(0x2be)](_0x4f000a){const _0x1d3bb8=_0x103a68,_0x1c7a26=this[_0x1d3bb8(0x211)][_0x1d3bb8(0x4d4)][_0x1d3bb8(0x3b4)](this[_0x1d3bb8(0x211)]['interceptor'][_0x1d3bb8(0x11e)]()['COMPRESS_MUTATION_APPLY'])(_0x4f000a['mutations'],null)||_0x4f000a[_0x1d3bb8(0x274)],_0x50d288={..._0x4f000a,'mutations':_0x1c7a26};this[_0x1d3bb8(0x112)](),this[_0x1d3bb8(0x350)](this[_0x1d3bb8(0x2b5)]['onRemoteChangeset'](_0x50d288)),this[_0x1d3bb8(0x1c3)]();}[_0x103a68(0x355)](_0x14d1cd){const _0x1a73ec=_0x103a68;this[_0x1a73ec(0x112)](),this[_0x1a73ec(0x350)](this[_0x1a73ec(0x2b5)]['onRemoteAck'](_0x14d1cd)),this[_0x1a73ec(0x1c3)]();}[_0x103a68(0x281)](_0x5c56cd){const _0x247910=_0x103a68;this[_0x247910(0x112)](),this['_updateState'](this[_0x247910(0x2b5)][_0x247910(0x39a)](_0x5c56cd)),this[_0x247910(0x1c3)]();}[_0x103a68(0x296)](_0x30c3e2){const _0x3b9fbf=_0x103a68;this[_0x3b9fbf(0x112)](),this[_0x3b9fbf(0x350)](this[_0x3b9fbf(0x2b5)][_0x3b9fbf(0x2cc)](_0x30c3e2)),this['_unlockTransition']();}['_onFetchMissResult'](_0x284dba){const _0x4af206=_0x103a68;if(!(this[_0x4af206(0x2b5)]instanceof _0x1082a3))throw new TypeError(_0x4af206(0x1b5));const _0x4617b5=_0x284dba[_0x4af206(0x38a)](_0x2d5ccc=>{const _0x5d2db0=_0x4af206,_0x94f5d1=this[_0x5d2db0(0x211)][_0x5d2db0(0x4d4)]['fetchThroughInterceptors'](this[_0x5d2db0(0x211)][_0x5d2db0(0x4d4)][_0x5d2db0(0x11e)]()[_0x5d2db0(0xa8)])(_0x2d5ccc[_0x5d2db0(0x274)],null)||_0x2d5ccc[_0x5d2db0(0x274)];return{..._0x2d5ccc,'mutations':_0x94f5d1};});this[_0x4af206(0x112)](),this['_updateState'](this[_0x4af206(0x2b5)]['onMissedChangesetFetched'](_0x4617b5)),this[_0x4af206(0x1c3)]();}[_0x103a68(0x454)](){const _0xfdbd49=_0x103a68;this[_0xfdbd49(0x112)](),this[_0xfdbd49(0x350)](this[_0xfdbd49(0x2b5)][_0xfdbd49(0x36b)]()),this[_0xfdbd49(0x1c3)]();}[_0x103a68(0x4b7)](_0x4e0724=!0x1){const _0x121ddb=_0x103a68;this['_lockTransition'](),this[_0x121ddb(0x350)](this[_0x121ddb(0x2b5)]['toggleOnline']()),this[_0x121ddb(0x1c3)]();const _0x3d1996=this[_0x121ddb(0x2b5)];_0x4e0724&&_0x3d1996 instanceof _0xf7bbd9&&(this[_0x121ddb(0x112)](),this[_0x121ddb(0x350)](_0x3d1996[_0x121ddb(0x12b)]()),this['_unlockTransition']());}async[_0x103a68(0x1d4)](){return new Promise(_0x57874e=>{const _0x3c733e=_0x5cd2;this[_0x3c733e(0x374)][_0x3c733e(0x276)][_0x3c733e(0x3af)](_0x22d14a[_0x3c733e(0x193)](0x1))[_0x3c733e(0x3d1)](async _0x552089=>{const _0x40974a=_0x3c733e;_0x57874e(await this[_0x40974a(0x3dc)](_0x552089===_0x2c7c24[_0x40974a(0x2a6)]));});});}[_0x103a68(0x320)](){const _0x5a7e2a=_0x103a68,_0xc54d8e=this[_0x5a7e2a(0x19c)];return{'onStateChange':(_0x360769,_0x17109d)=>{const _0x262708=_0x5a7e2a;if(_0x360769!==this[_0x262708(0x2b5)])throw new Error(_0x262708(0x2d2)+_0x360769[_0x262708(0x45e)]+'\x0aAfter:\x20'+_0x17109d[_0x262708(0x45e)]+_0x262708(0x10b)+this[_0x262708(0x2b5)][_0x262708(0x45e)]);this[_0x262708(0x350)](_0x17109d);},'onSendChangeset':_0x47defc=>{const _0x91a0be=_0x5a7e2a;_0x47defc[_0x91a0be(0xce)]||(_0x47defc[_0x91a0be(0xce)]=this[_0x91a0be(0x110)],_0x47defc[_0x91a0be(0x3b9)]=++this[_0x91a0be(0x3e1)]);const _0x10a6de={'eventID':_0x162fdb[_0x91a0be(0x26c)][_0x91a0be(0x142)],'data':{'unitID':_0x47defc[_0x91a0be(0x19c)],'unitType':this[_0x91a0be(0x465)],'changeset':_0x47defc,'memberID':this[_0x91a0be(0x374)]['getMemberID']()}};this['session'][_0x91a0be(0x3ca)](_0x10a6de,this[_0x91a0be(0x19c)]);},'onMissingChangesets':({from:_0x2fff10,to:_0x25c4c3})=>{const _0x346672=_0x5a7e2a;this[_0x346672(0x442)]['debug'](_0x346672(0x1b3),'fetching\x20missing\x20changesets\x20from\x20'+_0x2fff10+_0x346672(0x338)+_0x25c4c3);const _0x4708fd={'eventID':_0x162fdb[_0x346672(0x26c)][_0x346672(0x46e)],'data':{'unitID':_0xc54d8e,'unitType':this[_0x346672(0x465)],'from':_0x2fff10,'to':_0x25c4c3}};this['session'][_0x346672(0x3ca)](_0x4708fd,this['unitID']);}};}async[_0x103a68(0x3dc)](_0x3f405d){const _0x2a12f6=_0x103a68;var _0x36f58e,_0x8de990;const _0x3c8af4=await this[_0x2a12f6(0x386)][_0x2a12f6(0x203)](this[_0x2a12f6(0x19c)]),_0x23233c=(_0x36f58e=_0x3c8af4==null?void 0x0:_0x3c8af4['mutations'])!=null?_0x36f58e:[],_0x3066bf=(_0x8de990=_0x3c8af4==null?void 0x0:_0x3c8af4[_0x2a12f6(0x3ae)])!=null?_0x8de990:null,_0x1cbcc4=!!(_0x3066bf!=null&&_0x3066bf[_0x2a12f6(0xce)])&&!!(_0x3066bf!=null&&_0x3066bf['reqId']);this['_changesetSessionId']=_0x1cbcc4?_0x3066bf[_0x2a12f6(0xce)]:_0x40e656(),this[_0x2a12f6(0x3e1)]=_0x1cbcc4?_0x3066bf[_0x2a12f6(0x3b9)]:0x0;const _0x473811=this['unitID'];try{this['_replayCachedMutations'](_0x3066bf,_0x23233c);}catch(_0x11848c){this[_0x2a12f6(0x442)][_0x2a12f6(0x35e)](_0x11848c);}const _0x6c16a=this[_0x2a12f6(0x320)]();if(_0x3f405d){const _0x18e382=_0x4d3d65(this[_0x2a12f6(0x165)],_0x473811,this['_type'],_0x3066bf,_0x23233c,_0x6c16a);return _0x18e382 instanceof _0x229ed3?_0x18e382['_schedule']():(_0x18e382 instanceof _0x558958||_0x18e382 instanceof _0x48b442)&&_0x18e382[_0x2a12f6(0x1ac)](),_0x18e382;}return this['_injector'][_0x2a12f6(0x432)](_0xa1f417,_0x473811,this[_0x2a12f6(0x465)],_0x3066bf,_0x23233c,_0x6c16a);}[_0x103a68(0x39c)](_0x33948b,_0x4f06d9){const _0x1ea3fa=_0x103a68;var _0x4d2f3f,_0x23af01;const _0x500992=this[_0x1ea3fa(0x211)][_0x1ea3fa(0x4d4)][_0x1ea3fa(0x3b4)](this[_0x1ea3fa(0x211)][_0x1ea3fa(0x4d4)][_0x1ea3fa(0x11e)]()[_0x1ea3fa(0xa8)]);(_0x4d2f3f=_0x500992((_0x33948b==null?void 0x0:_0x33948b[_0x1ea3fa(0x274)])||[],null))==null||_0x4d2f3f[_0x1ea3fa(0x196)](_0xcf8221=>this[_0x1ea3fa(0x44e)][_0x1ea3fa(0x3ab)](_0xcf8221['id'],_0xcf8221['params'])),(_0x23af01=_0x500992(_0x4f06d9||[],null))==null||_0x23af01[_0x1ea3fa(0x196)](_0x4a40a1=>this['_commandService'][_0x1ea3fa(0x3ab)](_0x4a40a1['id'],_0x4a40a1['params']));}},_0x4e0bbf['CollaborationEntity']=_0x420c61([_0x2206b4(0x3,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x2206b4(0x4,_0x460a10[_0x103a68(0x310)](_0x4e0bbf[_0x103a68(0x2b4)])),_0x2206b4(0x5,_0x460a10['Inject'](_0x162fdb[_0x103a68(0x16f)])),_0x2206b4(0x6,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x176)])),_0x2206b4(0x7,_0x460a10[_0x103a68(0x310)](_0x162fdb[_0x103a68(0x2b0)])),_0x2206b4(0x8,_0x460a10[_0x103a68(0x362)]),_0x2206b4(0x9,_0x460a10['ICommandService']),_0x2206b4(0xa,_0x29b1e2[_0x103a68(0x43f)]),_0x2206b4(0xb,_0x460a10[_0x103a68(0x42c)]),_0x2206b4(0xc,_0x460a10[_0x103a68(0x152)](_0x2ad0c7))],_0x4e0bbf[_0x103a68(0x45f)]),_0x4e0bbf['DocCollaborationEntity']=class extends _0x4e0bbf['CollaborationEntity']{constructor(_0x2e66c2,_0x50097d,_0x23b8e7,_0x57a277,_0x4a8e26,_0x2fa1ad,_0x3e83a9,_0x429394,_0x1e3583,_0x117839,_0x57457d,_0x2d206b,_0x1ebc2a,_0xf5641,_0x6534f0,_0x4075da,_0x8e5227){const _0x4fcfa0=_0x103a68;super(_0x2e66c2,_0x23b8e7,_0x50097d,_0x57a277,_0x4a8e26,_0x2fa1ad,_0x3e83a9,_0x429394,_0x1ebc2a,_0xf5641,_0x6534f0,_0x4075da,_0x8e5227),this[_0x4fcfa0(0x19c)]=_0x2e66c2,this[_0x4fcfa0(0x483)]=_0x50097d,this[_0x4fcfa0(0x201)]=_0x1e3583,this[_0x4fcfa0(0x41b)]=_0x117839,this['_docTransformSelectionsService']=_0x57457d,this[_0x4fcfa0(0x1e5)]=_0x2d206b;}['_createHandler'](){const _0x18dfda=_0x103a68,_0x2d8af5=super[_0x18dfda(0x320)]();return _0x2d8af5['onTransformIME']=_0x5eba03=>this[_0x18dfda(0x41b)][_0x18dfda(0x273)](_0x5eba03),_0x2d8af5['onTransformSelections']=_0x3fde4b=>this[_0x18dfda(0x47c)][_0x18dfda(0x459)](_0x3fde4b),_0x2d8af5['onSyncEditingCollabCursor']=_0x3f487b=>this[_0x18dfda(0x1e5)][_0x18dfda(0x437)](_0x3f487b),_0x2d8af5['onTransformRemoteChangesetByIMECache']=_0x3dfdd5=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3dfdd5),_0x2d8af5;}async[_0x103a68(0x194)](){const _0x194348=_0x103a68,_0x14151c=await super[_0x194348(0x194)]();return this[_0x194348(0x201)][_0x194348(0x408)]['pipe'](_0x22d14a['takeUntil'](this['dispose$']))['subscribe'](_0xdbc126=>{const _0x4edee0=_0x194348;if(_0xdbc126==null)return;const {unitId:_0x330e1f,redoState:_0x4536e5,commandId:_0x22bb44}=_0xdbc126;if(_0x330e1f!==this[_0x4edee0(0x19c)])return;const _0x55b970={'id':_0x22bb44,'type':_0x460a10[_0x4edee0(0x3f6)][_0x4edee0(0x243)],'params':{'unitId':_0x330e1f,'actions':_0x4536e5[_0x4edee0(0x4da)],'textRanges':null}};this['_onLocalMutation'](_0x55b970);}),_0x14151c;}},_0x4e0bbf['DocCollaborationEntity']=_0x420c61([_0x2206b4(0x3,_0x460a10['Inject'](_0x460a10['Injector'])),_0x2206b4(0x4,_0x460a10[_0x103a68(0x310)](_0x4e0bbf[_0x103a68(0x2b4)])),_0x2206b4(0x5,_0x460a10[_0x103a68(0x310)](_0x162fdb[_0x103a68(0x16f)])),_0x2206b4(0x6,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x176)])),_0x2206b4(0x7,_0x460a10[_0x103a68(0x310)](_0x162fdb['RevisionService'])),_0x2206b4(0x8,_0x460a10[_0x103a68(0x310)](_0x39c231[_0x103a68(0x11a)])),_0x2206b4(0x9,_0x460a10[_0x103a68(0x310)](_0x28a6c0)),_0x2206b4(0xa,_0x460a10['Inject'](_0x85795)),_0x2206b4(0xb,_0x460a10[_0x103a68(0x310)](_0x2bf6d4)),_0x2206b4(0xc,_0x460a10[_0x103a68(0x362)]),_0x2206b4(0xd,_0x460a10[_0x103a68(0x134)]),_0x2206b4(0xe,_0x29b1e2[_0x103a68(0x43f)]),_0x2206b4(0xf,_0x460a10[_0x103a68(0x42c)]),_0x2206b4(0x10,_0x460a10[_0x103a68(0x152)](_0x2ad0c7))],_0x4e0bbf['DocCollaborationEntity']),_0x4e0bbf['SheetCollaborationEntity']=class extends _0x4e0bbf['CollaborationEntity']{constructor(_0x1fbc1d,_0x272c5e,_0x4a7f31,_0x368649,_0x293103,_0x5e26b8,_0x9d2514,_0x4b24d8,_0x20c7ce,_0x313123,_0x3818a7,_0x2f1523,_0x1d6265,_0x57d3b1){const _0xd441c7=_0x103a68;super(_0x1fbc1d,_0x4a7f31,_0x272c5e,_0x368649,_0x293103,_0x5e26b8,_0x9d2514,_0x4b24d8,_0x313123,_0x3818a7,_0x2f1523,_0x1d6265,_0x57d3b1),this[_0xd441c7(0x19c)]=_0x1fbc1d,this[_0xd441c7(0x483)]=_0x272c5e,this[_0xd441c7(0x3a6)]=_0x20c7ce;}[_0x103a68(0x320)](){const _0x482b73=_0x103a68,_0x2c082=super[_0x482b73(0x320)]();return _0x2c082[_0x482b73(0x17a)]=_0x5f3732=>this['_sheetTransformSelectionsService'][_0x482b73(0x459)](_0x5f3732),_0x2c082;}async['_init'](){const _0x51badf=_0x103a68,_0x170eb1=await super[_0x51badf(0x194)]();return this[_0x51badf(0x495)](this[_0x51badf(0x44e)][_0x51badf(0x2b1)]((_0x5c9e72,_0x159f49)=>{const _0x46589f=_0x51badf;if(_0x5c9e72[_0x46589f(0x483)]!==_0x460a10['CommandType'][_0x46589f(0x243)]||_0x159f49!=null&&_0x159f49[_0x46589f(0x16a)]||_0x159f49!=null&&_0x159f49[_0x46589f(0x478)])return;const _0x4d9898=_0x5c9e72[_0x46589f(0x31c)];if((_0x4d9898==null?void 0x0:_0x4d9898[_0x46589f(0x3b0)])!==this[_0x46589f(0x19c)])return;const _0x114aa5=_0x5c9e72,_0x32a98e=this[_0x46589f(0x211)]['interceptor'][_0x46589f(0x3b4)](this[_0x46589f(0x211)][_0x46589f(0x4d4)][_0x46589f(0x11e)]()[_0x46589f(0x1cb)])([_0x114aa5],null)||[_0x114aa5];this[_0x46589f(0x2bf)](_0x32a98e[0x0]);})),_0x170eb1;}},_0x4e0bbf[_0x103a68(0x129)]=_0x420c61([_0x2206b4(0x3,_0x460a10[_0x103a68(0x310)](_0x460a10['Injector'])),_0x2206b4(0x4,_0x460a10[_0x103a68(0x310)](_0x4e0bbf[_0x103a68(0x2b4)])),_0x2206b4(0x5,_0x460a10[_0x103a68(0x310)](_0x162fdb['CompressMutationService'])),_0x2206b4(0x6,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x176)])),_0x2206b4(0x7,_0x460a10[_0x103a68(0x310)](_0x162fdb[_0x103a68(0x2b0)])),_0x2206b4(0x8,_0x460a10[_0x103a68(0x310)](_0x1769cb)),_0x2206b4(0x9,_0x460a10['ILogService']),_0x2206b4(0xa,_0x460a10[_0x103a68(0x134)]),_0x2206b4(0xb,_0x29b1e2['IMessageService']),_0x2206b4(0xc,_0x460a10[_0x103a68(0x42c)]),_0x2206b4(0xd,_0x460a10[_0x103a68(0x152)](_0x2ad0c7))],_0x4e0bbf[_0x103a68(0x129)]);var _0x53b867=Object[_0x103a68(0x3a3)],_0x282903=Object['getOwnPropertyDescriptor'],_0x5db58d=(_0x37657d,_0x46ba1f,_0x10c3de,_0x2edcbb)=>{const _0x10ef81=_0x103a68;for(var _0xbaec3a=_0x2edcbb>0x1?void 0x0:_0x2edcbb?_0x282903(_0x46ba1f,_0x10c3de):_0x46ba1f,_0x155790=_0x37657d[_0x10ef81(0x292)]-0x1,_0x47fe3b;_0x155790>=0x0;_0x155790--)(_0x47fe3b=_0x37657d[_0x155790])&&(_0xbaec3a=(_0x2edcbb?_0x47fe3b(_0x46ba1f,_0x10c3de,_0xbaec3a):_0x47fe3b(_0xbaec3a))||_0xbaec3a);return _0x2edcbb&&_0xbaec3a&&_0x53b867(_0x46ba1f,_0x10c3de,_0xbaec3a),_0xbaec3a;},_0x1cf848=(_0x5059bd,_0x85126f)=>(_0x5d8660,_0x3a8975)=>_0x85126f(_0x5d8660,_0x3a8975,_0x5059bd);_0x4e0bbf[_0x103a68(0x26b)]=class extends _0x460a10[_0x103a68(0x16c)]{constructor(_0x4d2866,_0x55c01a,_0xc49ba5){const _0x1c2671=_0x103a68;super(),_0x519548(this,_0x1c2671(0x2ac),new Map()),_0x519548(this,_0x1c2671(0x22d),new _0x22d14a[(_0x1c2671(0xb8))]()),(this[_0x1c2671(0x165)]=_0x4d2866,this[_0x1c2671(0x289)]=_0x55c01a,this[_0x1c2671(0x15d)]=_0xc49ba5,this['_init']());}['dispose'](){const _0x2ab87c=_0x103a68;super[_0x2ab87c(0x3fb)](),this[_0x2ab87c(0x2ac)][_0x2ab87c(0x196)](_0x53b8d2=>_0x53b8d2['dispose']()),this[_0x2ab87c(0x2ac)][_0x2ab87c(0xb1)]();}[_0x103a68(0x3ef)](_0x1628ba){const _0x2490b7=_0x103a68;var _0x47f560;return(_0x47f560=this[_0x2490b7(0x2ac)][_0x2490b7(0x1c8)](_0x1628ba))!=null?_0x47f560:null;}[_0x103a68(0x154)](_0x4b16e1){const _0x161473=this['getCollabEntity'](_0x4b16e1);return _0x161473?_0x22d14a['of'](_0x161473):this['_entityInit$']['pipe'](_0x436c5c['filter'](_0x182306=>_0x182306['unitID']===_0x4b16e1));}[_0x103a68(0x194)](){const _0x559335=_0x103a68;this[_0x559335(0x15d)][_0x559335(0xcb)](_0x460a10[_0x559335(0x3c9)][_0x559335(0x329)])[_0x559335(0x3af)](_0x22d14a[_0x559335(0x415)](this[_0x559335(0x20a)]),_0x436c5c[_0x559335(0x14a)](0x10))[_0x559335(0x3d1)](async _0x37b76e=>{const _0x3adc30=_0x559335,_0x293291=_0x37b76e[_0x3adc30(0xf7)](),_0x41068c=await this[_0x3adc30(0x4c4)](_0x293291,_0x3907d0[_0x3adc30(0x329)]);this[_0x3adc30(0x2ac)][_0x3adc30(0x29c)](_0x293291,_0x41068c);}),this['_univerInstanceService'][_0x559335(0xcb)](_0x460a10['UniverInstanceType'][_0x559335(0x208)])[_0x559335(0x3af)](_0x22d14a[_0x559335(0x415)](this[_0x559335(0x20a)]),_0x436c5c['delay'](0x10))[_0x559335(0x3af)](_0x436c5c[_0x559335(0x162)](_0x404a11=>!_0x404a11[_0x559335(0xf7)]()[_0x559335(0x38c)]('__')))[_0x559335(0x3d1)](async _0x3f28e7=>{const _0x1c9c45=_0x559335,_0x178c52=_0x3f28e7[_0x1c9c45(0xf7)](),_0x1bb2f1=await this[_0x1c9c45(0x4c4)](_0x178c52,_0x3907d0[_0x1c9c45(0x208)]);this['_entities'][_0x1c9c45(0x29c)](_0x178c52,_0x1bb2f1);}),_0x22d14a[_0x559335(0x477)](this['_univerInstanceService'][_0x559335(0x315)](_0x460a10[_0x559335(0x3c9)][_0x559335(0x329)]),this[_0x559335(0x15d)]['getTypeOfUnitDisposed$'](_0x460a10[_0x559335(0x3c9)]['UNIVER_DOC']))['pipe'](_0x22d14a['takeUntil'](this[_0x559335(0x20a)]))['subscribe'](_0x564ab4=>{const _0x3c027c=_0x559335,_0x4048ed=_0x564ab4[_0x3c027c(0xf7)](),_0x53ef0d=this[_0x3c027c(0x2ac)][_0x3c027c(0x1c8)](_0x4048ed);_0x53ef0d&&(_0x53ef0d['dispose'](),this['_entities'][_0x3c027c(0xe0)](_0x4048ed));});}async[_0x103a68(0x4c4)](_0x25960e,_0x317f7a){const _0x35c3bf=_0x103a68,_0x5e38bd=await this['_collabSessionService'][_0x35c3bf(0x43c)](_0x25960e),_0x3e2fa2=this[_0x35c3bf(0x165)][_0x35c3bf(0x432)](this[_0x35c3bf(0xfe)](_0x317f7a),_0x25960e,_0x317f7a,_0x5e38bd);return await _0x3e2fa2[_0x35c3bf(0x40b)](),this[_0x35c3bf(0x22d)]['next'](_0x3e2fa2),_0x3e2fa2;}[_0x103a68(0xfe)](_0x45013d){const _0x54c5f5=_0x103a68;switch(_0x45013d){case _0x3907d0['UNIVER_DOC']:return _0x4e0bbf[_0x54c5f5(0x494)];case _0x3907d0['UNIVER_SHEET']:return _0x4e0bbf[_0x54c5f5(0x129)];default:throw new Error(_0x54c5f5(0xed)+_0x45013d);}}},_0x4e0bbf[_0x103a68(0x26b)]=_0x5db58d([_0x1cf848(0x0,_0x460a10['Inject'](_0x460a10[_0x103a68(0x15b)])),_0x1cf848(0x1,_0x460a10[_0x103a68(0x310)](_0x4e0bbf[_0x103a68(0x248)])),_0x1cf848(0x2,_0x460a10[_0x103a68(0x347)])],_0x4e0bbf['CollaborationController']);const _0x5792eb=[_0x103a68(0x1e3),_0x103a68(0x10e),'verdancy600',_0x103a68(0x1b9),_0x103a68(0x449),_0x103a68(0x272)];class _0x57aeec extends _0x460a10[_0x103a68(0xd1)]{constructor(){const _0x28fa0b=_0x103a68;super(...arguments),_0x519548(this,_0x28fa0b(0x2d8),new Map()),_0x519548(this,_0x28fa0b(0x2fa),0x0);}['assignAColorForMemberID'](_0x24d0ae){const _0x12d7b2=_0x103a68;if(this[_0x12d7b2(0x2d8)][_0x12d7b2(0x401)](_0x24d0ae))return this[_0x12d7b2(0x2d8)][_0x12d7b2(0x1c8)](_0x24d0ae);const _0x5d11a2=_0x5792eb[this['_colorIndex']];return this[_0x12d7b2(0x2fa)]=(this['_colorIndex']+0x1)%_0x5792eb[_0x12d7b2(0x292)],this[_0x12d7b2(0x2d8)]['set'](_0x24d0ae,_0x5d11a2),_0x5d11a2;}}var _0x594aa1=Object[_0x103a68(0x3a3)],_0x4ab8c0=Object[_0x103a68(0x138)],_0x4019c8=(_0x5d6bc7,_0x155b91,_0x426262,_0x4ed237)=>{const _0x26faa0=_0x103a68;for(var _0x2aabd2=_0x4ed237>0x1?void 0x0:_0x4ed237?_0x4ab8c0(_0x155b91,_0x426262):_0x155b91,_0x145557=_0x5d6bc7[_0x26faa0(0x292)]-0x1,_0x5d7ac2;_0x145557>=0x0;_0x145557--)(_0x5d7ac2=_0x5d6bc7[_0x145557])&&(_0x2aabd2=(_0x4ed237?_0x5d7ac2(_0x155b91,_0x426262,_0x2aabd2):_0x5d7ac2(_0x2aabd2))||_0x2aabd2);return _0x4ed237&&_0x2aabd2&&_0x594aa1(_0x155b91,_0x426262,_0x2aabd2),_0x2aabd2;},_0x5c5323=(_0x2e3532,_0x4c4c49)=>(_0x292b3f,_0x4cccd0)=>_0x4c4c49(_0x292b3f,_0x4cccd0,_0x2e3532);const _0x21dd38=0x12c,_0x4210f6=0x64;let _0x2c7e04=class extends _0x460a10[_0x103a68(0x16c)]{constructor(_0x39b724,_0x153efa,_0x10786c,_0x2d2d9e,_0x336009,_0x1c93e1,_0x33a46a,_0x3855c1,_0x947f61){const _0x2e6661=_0x103a68;super(),_0x519548(this,_0x2e6661(0x2ad),!0x1),_0x519548(this,'_init',!0x1),_0x519548(this,_0x2e6661(0x4b6),new _0x22d14a[(_0x2e6661(0x23d))](new Map())),_0x519548(this,'cursorInfo$',this['_cursorInfo$'][_0x2e6661(0x1a5)]()),_0x519548(this,_0x2e6661(0x199),new _0x22d14a[(_0x2e6661(0x23d))]([])),_0x519548(this,'roomMembers$',this[_0x2e6661(0x199)][_0x2e6661(0x3af)](_0x22d14a[_0x2e6661(0x27d)](_0x21dd38))),_0x519548(this,_0x2e6661(0x3aa),_0x460a10[_0x2e6661(0x4a8)](_0x3d6692=>{const _0x85bb80=_0x2e6661,_0x50d1b0={'eventID':_0x162fdb[_0x85bb80(0x26c)][_0x85bb80(0x4a6)],'data':{'unitID':this[_0x85bb80(0x19c)],'memberID':this[_0x85bb80(0x2eb)][_0x85bb80(0x135)](),'selection':_0x5d2166(_0x3d6692)}};this[_0x85bb80(0x2eb)][_0x85bb80(0x3ca)](_0x50d1b0,this['unitID']);},_0x4210f6)),(this[_0x2e6661(0x19c)]=_0x39b724,this[_0x2e6661(0x2eb)]=_0x153efa,this[_0x2e6661(0x165)]=_0x10786c,this[_0x2e6661(0xab)]=_0x2d2d9e,this['_memberService']=_0x336009,this[_0x2e6661(0x17d)]=_0x1c93e1,this[_0x2e6661(0xf9)]=_0x33a46a,this[_0x2e6661(0x15d)]=_0x3855c1,this[_0x2e6661(0x44e)]=_0x947f61);}get[_0x103a68(0x19a)](){const _0x38eca8=_0x103a68;return this[_0x38eca8(0x4b6)][_0x38eca8(0x1d7)]();}get[_0x103a68(0x368)](){const _0x430cae=_0x103a68;return this[_0x430cae(0x199)][_0x430cae(0x1d7)]();}[_0x103a68(0x3fb)](){const _0x5b459=_0x103a68;super[_0x5b459(0x3fb)](),this[_0x5b459(0x4b6)]['next'](new Map()),this[_0x5b459(0x4b6)][_0x5b459(0x31e)](),this[_0x5b459(0x199)][_0x5b459(0x1bb)]([]),this[_0x5b459(0x199)]['complete']();}[_0x103a68(0x40b)](){const _0x2aa232=_0x103a68;this[_0x2aa232(0x194)]||(this[_0x2aa232(0x194)]=!0x0,this['_session'][_0x2aa232(0x276)][_0x2aa232(0x3af)](_0x22d14a[_0x2aa232(0x415)](this[_0x2aa232(0x20a)]))['subscribe'](_0x1b9dec=>{const _0x59427f=_0x2aa232;_0x1b9dec===_0x2c7c24['ONLINE']?this[_0x59427f(0x4b7)]():this[_0x59427f(0x454)]();}),this[_0x2aa232(0x2eb)][_0x2aa232(0x1e1)][_0x2aa232(0x3af)](_0x22d14a[_0x2aa232(0x415)](this[_0x2aa232(0x20a)]))[_0x2aa232(0x3d1)](_0x587c2e=>{const _0x2104ad=_0x2aa232,_0x3048d0=_0x587c2e[_0x2104ad(0x2fe)];_0x3048d0===_0x162fdb[_0x2104ad(0x26c)]['UPDATE_CURSOR']&&this[_0x2104ad(0x384)](_0x587c2e),_0x3048d0===_0x162fdb['CollaborationEvent']['USERS_LEAVE']&&this[_0x2104ad(0x43b)](_0x587c2e);}),this[_0x2aa232(0x495)](this[_0x2aa232(0x44e)][_0x2aa232(0x2b1)](_0x2bbcee=>{const _0x4b46c3=_0x2aa232,_0x507f00=_0x2bbcee['params'];_0x507f00!=null&&this['_online']&&_0x2bbcee['id']===_0x447cee[_0x4b46c3(0x3d5)]['id']&&_0x507f00['unitId']===this[_0x4b46c3(0x19c)]&&_0x507f00['isEditing']===!0x1&&this[_0x4b46c3(0x3aa)](_0x507f00[_0x4b46c3(0x4cf)]);})),this[_0x2aa232(0x17d)][_0x2aa232(0x17b)][_0x2aa232(0x3af)](_0x22d14a[_0x2aa232(0x415)](this[_0x2aa232(0x20a)]))[_0x2aa232(0x3d1)](_0x428f3d=>{const _0x45e6ac=_0x2aa232;if((_0x428f3d==null?void 0x0:_0x428f3d['unitID'])!==this[_0x45e6ac(0x19c)])return;const _0x60008={'eventID':_0x162fdb[_0x45e6ac(0x26c)]['UPDATE_CURSOR'],'data':_0x428f3d};this[_0x45e6ac(0x384)](_0x60008);}),this[_0x2aa232(0x495)](this[_0x2aa232(0x44e)][_0x2aa232(0x2b1)](_0x50ce4c=>{const _0x3f3deb=_0x2aa232;if(_0x50ce4c[_0x3f3deb(0x31c)]==null)return;const _0x15841b=_0x50ce4c[_0x3f3deb(0x31c)];if(_0x50ce4c['id']!==_0x447cee[_0x3f3deb(0x1f9)]['id']||_0x15841b[_0x3f3deb(0x3b0)]!==this[_0x3f3deb(0x19c)])return;const _0xa0e137={'id':_0x3f3deb(0xb9),'params':_0x15841b},_0x4b4b07=this[_0x3f3deb(0x19a)];for(const [_0x93cc72,_0x5c9f55]of _0x4b4b07){const _0x5a4f18={'id':_0x3f3deb(0xb9),'params':{'unitId':this[_0x3f3deb(0x19c)],'actions':null,'textRanges':_0x5c9f55[_0x3f3deb(0x4cf)]}},_0x2bac20=this[_0x3f3deb(0xf9)]['transformMutation'](_0xa0e137,_0x5a4f18,!0x1);if(_0x162fdb['isTransformMutationFailure'](_0x2bac20))throw _0x2bac20[_0x3f3deb(0x35e)];_0x4b4b07[_0x3f3deb(0x29c)](_0x93cc72,{..._0x5c9f55,'ranges':_0x2bac20[_0x3f3deb(0xf6)][_0x3f3deb(0x31c)][_0x3f3deb(0xec)]});}queueMicrotask(()=>{const _0xdd3dbc=_0x3f3deb;this['_cursorInfo$'][_0xdd3dbc(0x1bb)](_0x4b4b07);});})));}[_0x103a68(0x384)](_0x29efce){const _0x946369=_0x103a68;var _0x3b023a,_0x45d2a6;const {memberID:_0x22add5,selection:_0x5b3b4a}=_0x29efce[_0x946369(0x47f)],_0x3fffce=_0x380b63(_0x5b3b4a),_0x4a4d06=(_0x45d2a6=(_0x3b023a=this[_0x946369(0x469)][_0x946369(0x481)](this['unitID'],_0x22add5))==null?void 0x0:_0x3b023a[_0x946369(0x3e2)])!=null?_0x45d2a6:_0x946369(0x204),_0x56d5a8={'color':this[_0x946369(0xab)]['assignAColorForMemberID'](_0x22add5),'name':_0x4a4d06,'ranges':_0x3fffce},_0x31ffef=this['cursorInfo'];_0x31ffef['set'](_0x22add5,_0x56d5a8),this[_0x946369(0x4b6)]['next'](_0x31ffef);}[_0x103a68(0x43b)](_0x1bfe4a){const _0x2057bb=_0x103a68,{memberID:_0x66223e}=_0x1bfe4a[_0x2057bb(0x47f)],_0x4e7bcb=this['cursorInfo'];_0x4e7bcb[_0x2057bb(0xe0)](_0x66223e),this['_cursorInfo$'][_0x2057bb(0x1bb)](_0x4e7bcb);}['_toggleOnline'](){const _0x1891cd=_0x103a68;var _0x2d78ad;if(this['_online']=!0x0,((_0x2d78ad=this[_0x1891cd(0x15d)][_0x1891cd(0xe3)]())==null?void 0x0:_0x2d78ad[_0x1891cd(0xf7)]())!==this['unitID'])return;const _0x11dac8=this['_injector'][_0x1891cd(0x1c8)](_0x447cee[_0x1891cd(0x492)])['getDocRanges']();Array[_0x1891cd(0x328)](_0x11dac8)&&_0x11dac8['length']>0x0&&this[_0x1891cd(0x3aa)](_0x11dac8);}[_0x103a68(0x454)](){const _0x207d89=_0x103a68;this[_0x207d89(0x2ad)]=!0x1;}};_0x2c7e04=_0x4019c8([_0x5c5323(0x2,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x5c5323(0x3,_0x460a10['Inject'](_0x57aeec)),_0x5c5323(0x4,_0x460a10[_0x103a68(0x310)](_0xf42097)),_0x5c5323(0x5,_0x460a10[_0x103a68(0x310)](_0x2bf6d4)),_0x5c5323(0x6,_0x162fdb['ITransformService']),_0x5c5323(0x7,_0x460a10[_0x103a68(0x347)]),_0x5c5323(0x8,_0x460a10[_0x103a68(0x134)])],_0x2c7e04);var _0x1c5557=Object[_0x103a68(0x3a3)],_0x484f2b=Object['getOwnPropertyDescriptor'],_0x17c35e=(_0x3a6d48,_0x21ccec,_0x3db548,_0x3b1923)=>{const _0x54523d=_0x103a68;for(var _0x295855=_0x3b1923>0x1?void 0x0:_0x3b1923?_0x484f2b(_0x21ccec,_0x3db548):_0x21ccec,_0x12c22d=_0x3a6d48[_0x54523d(0x292)]-0x1,_0x48c08;_0x12c22d>=0x0;_0x12c22d--)(_0x48c08=_0x3a6d48[_0x12c22d])&&(_0x295855=(_0x3b1923?_0x48c08(_0x21ccec,_0x3db548,_0x295855):_0x48c08(_0x295855))||_0x295855);return _0x3b1923&&_0x295855&&_0x1c5557(_0x21ccec,_0x3db548,_0x295855),_0x295855;},_0x2d39a9=(_0x354361,_0x4d8519)=>(_0x2fb47c,_0x22d828)=>_0x4d8519(_0x2fb47c,_0x22d828,_0x354361);const _0x147d1b=0x12c,_0x48e1b8=0x64,_0x46903c=()=>{let _0x3bc83c=[],_0x24e5f4=!0x1;return _0x2b0230=>{const _0x2f5965=_0x5cd2;_0x3bc83c[_0x2f5965(0x420)](_0x2b0230),_0x24e5f4||(_0x24e5f4=!0x0,setTimeout(()=>{const _0x58b31f=_0x2f5965;_0x3bc83c[_0x58b31f(0x196)](_0x414349=>_0x414349()),_0x3bc83c=[],_0x24e5f4=!0x1;}));};};let _0x9a8bae=class extends _0x460a10['RxDisposable']{constructor(_0x2f2c2d,_0x3c56f7,_0x592822,_0x4fd56d,_0x359cbf,_0xc9051a,_0x39c076,_0x12b06f){const _0x5c0d8e=_0x103a68;super(),_0x519548(this,_0x5c0d8e(0x2ad),!0x1),_0x519548(this,_0x5c0d8e(0x194),!0x1),_0x519548(this,_0x5c0d8e(0x4b6),new _0x22d14a[(_0x5c0d8e(0x23d))](new Map())),_0x519548(this,_0x5c0d8e(0x3e0),this[_0x5c0d8e(0x4b6)][_0x5c0d8e(0x1a5)]()),_0x519548(this,_0x5c0d8e(0x199),new _0x22d14a[(_0x5c0d8e(0x23d))]([])),_0x519548(this,_0x5c0d8e(0x4d1),this['_roomMembers$'][_0x5c0d8e(0x3af)](_0x22d14a['debounceTime'](_0x147d1b))),_0x519548(this,_0x5c0d8e(0x3aa),_0x460a10[_0x5c0d8e(0x4a8)]((_0x364c12,_0x2718f6)=>{const _0x5b77de=_0x5c0d8e,_0x5ea007={'eventID':_0x162fdb[_0x5b77de(0x26c)][_0x5b77de(0x4a6)],'data':{'unitID':this[_0x5b77de(0x19c)],'memberID':this['_session'][_0x5b77de(0x135)](),'selection':_0x3a49db[_0x5b77de(0x1e2)](_0x364c12,_0x2718f6[_0x5b77de(0x222)])}};this[_0x5b77de(0x2eb)][_0x5b77de(0x3ca)](_0x5ea007,this[_0x5b77de(0x19c)]);},_0x48e1b8)),(this[_0x5c0d8e(0x19c)]=_0x2f2c2d,this[_0x5c0d8e(0x2eb)]=_0x3c56f7,this[_0x5c0d8e(0x165)]=_0x592822,this['_colorAssignService']=_0x4fd56d,this[_0x5c0d8e(0x469)]=_0x359cbf,this['_univerInstanceService']=_0xc9051a,this[_0x5c0d8e(0x44e)]=_0x39c076,this[_0x5c0d8e(0x464)]=_0x12b06f);}get[_0x103a68(0x19a)](){const _0x30f978=_0x103a68;return this['_cursorInfo$'][_0x30f978(0x1d7)]();}get[_0x103a68(0x368)](){const _0x93da00=_0x103a68;return this[_0x93da00(0x199)]['getValue']();}['dispose'](){const _0x4ecac5=_0x103a68;super['dispose'](),this[_0x4ecac5(0x4b6)]['next'](new Map()),this[_0x4ecac5(0x4b6)]['complete'](),this[_0x4ecac5(0x199)][_0x4ecac5(0x1bb)]([]),this['_roomMembers$']['complete']();}[_0x103a68(0x40b)](){const _0x2c02ce=_0x103a68;this[_0x2c02ce(0x194)]||(this[_0x2c02ce(0x194)]=!0x0,this[_0x2c02ce(0x2eb)][_0x2c02ce(0x276)][_0x2c02ce(0x3af)](_0x22d14a['takeUntil'](this[_0x2c02ce(0x20a)]))[_0x2c02ce(0x3d1)](_0x49c996=>{const _0x34748a=_0x2c02ce;_0x49c996===_0x2c7c24[_0x34748a(0x2a6)]?this[_0x34748a(0x4b7)]():this[_0x34748a(0x454)]();}),this['_session']['event$']['pipe'](_0x22d14a[_0x2c02ce(0x415)](this[_0x2c02ce(0x20a)]))['subscribe'](_0x42d5b0=>{const _0x193bd3=_0x2c02ce,_0x2f305c=_0x42d5b0[_0x193bd3(0x2fe)];_0x2f305c===_0x162fdb[_0x193bd3(0x26c)][_0x193bd3(0x4a6)]&&this[_0x193bd3(0x384)](_0x42d5b0),_0x2f305c===_0x162fdb[_0x193bd3(0x26c)]['USERS_LEAVE']&&this[_0x193bd3(0x43b)](_0x42d5b0);}),this[_0x2c02ce(0x484)](),this[_0x2c02ce(0x495)](this[_0x2c02ce(0x44e)][_0x2c02ce(0x2b1)](_0x471e2c=>{const _0x3b9a6e=_0x2c02ce;if(this[_0x3b9a6e(0x2ad)]&&_0x471e2c['id']===_0x57c232['SetSelectionsOperation']['id']&&_0x471e2c[_0x3b9a6e(0x31c)]['unitId']===this[_0x3b9a6e(0x19c)]){const _0x5c00d9=_0x471e2c[_0x3b9a6e(0x31c)];this[_0x3b9a6e(0x3aa)](_0x5c00d9[_0x3b9a6e(0x25a)],_0x5c00d9[_0x3b9a6e(0x40c)][0x0]);}})));}[_0x103a68(0x384)](_0x46f404){const _0x144d66=_0x103a68;var _0x56db3e,_0x3898c2;const {memberID:_0x634d5b,selection:_0x360989}=_0x46f404[_0x144d66(0x47f)],{sheetName:_0x1677f4,range:_0x4cebdd}=_0x3a49db[_0x144d66(0x3d2)](_0x360989),_0x4271fd={'name':(_0x3898c2=(_0x56db3e=this[_0x144d66(0x469)]['getMember'](this[_0x144d66(0x19c)],_0x634d5b))==null?void 0x0:_0x56db3e[_0x144d66(0x3e2)])!=null?_0x3898c2:_0x144d66(0x204),'range':this[_0x144d66(0x30e)](_0x1677f4,_0x4cebdd),'sheetID':_0x1677f4,'color':this[_0x144d66(0xab)][_0x144d66(0x1cc)](_0x634d5b),'selection':_0x360989},_0x278929=this[_0x144d66(0x19a)];_0x278929[_0x144d66(0x29c)](_0x634d5b,_0x4271fd),this[_0x144d66(0x4b6)][_0x144d66(0x1bb)](_0x278929);}['_onCursorDelete'](_0x32d30f){const _0x9556a0=_0x103a68,{memberID:_0x1cd2e1}=_0x32d30f[_0x9556a0(0x47f)],_0x4d1cbb=this[_0x9556a0(0x19a)];_0x4d1cbb[_0x9556a0(0xe0)](_0x1cd2e1),this[_0x9556a0(0x4b6)][_0x9556a0(0x1bb)](_0x4d1cbb);}[_0x103a68(0x30e)](_0x1f7772,_0x36b245){const _0x176f07=_0x103a68;var _0x18e7bf,_0x14cceb;const _0x579682=(_0x14cceb=(_0x18e7bf=this['_univerInstanceService'][_0x176f07(0x37d)](this['unitID']))==null?void 0x0:_0x18e7bf[_0x176f07(0x307)](_0x1f7772))==null?void 0x0:_0x14cceb['getMergeData']();return(_0x579682==null?void 0x0:_0x579682['find'](_0x3a68d3=>_0x460a10[_0x176f07(0x2c4)]['contains'](_0x3a68d3,_0x36b245)))||_0x36b245;}[_0x103a68(0x484)](){const _0x1ec2aa=_0x103a68,_0x955310=new _0x460a10[(_0x1ec2aa(0x4c7))](),_0x1daf52=_0x46903c(),_0x4f1d4a=()=>{const _0x40a73d=_0x1ec2aa;_0x955310[_0x40a73d(0x3fb)]();const _0x5d2279=(_0xa81a91,_0x18a0ca,_0x126fd2,_0x4d20a2)=>{const _0x4c4100=_0x40a73d;let _0x4cf1a2=[];switch(_0xa81a91['id']){case _0x57c232['EffectRefRangId'][_0x4c4100(0x3de)]:{_0x4cf1a2=_0x57c232[_0x4c4100(0x25f)](_0xa81a91,_0x4d20a2);break;}case _0x57c232[_0x4c4100(0x36d)][_0x4c4100(0x322)]:{_0x4cf1a2=_0x57c232[_0x4c4100(0x264)](_0xa81a91,_0x4d20a2);break;}case _0x57c232[_0x4c4100(0x36d)][_0x4c4100(0x2f8)]:{_0x4cf1a2=_0x57c232[_0x4c4100(0x2bb)](_0xa81a91,_0x4d20a2);break;}case _0x57c232[_0x4c4100(0x36d)][_0x4c4100(0x49a)]:{_0x4cf1a2=_0x57c232[_0x4c4100(0x141)](_0xa81a91,_0x4d20a2);break;}case _0x57c232[_0x4c4100(0x36d)]['InsertRangeMoveRightCommandId']:{_0x4cf1a2=_0x57c232[_0x4c4100(0xac)](_0xa81a91,_0x4d20a2);break;}case _0x57c232['EffectRefRangId'][_0x4c4100(0x254)]:{_0x4cf1a2=_0x57c232[_0x4c4100(0x342)](_0xa81a91,_0x4d20a2);break;}case _0x57c232[_0x4c4100(0x36d)][_0x4c4100(0x34f)]:{_0x4cf1a2=_0x57c232[_0x4c4100(0x318)](_0xa81a91,_0x4d20a2);break;}case _0x57c232[_0x4c4100(0x36d)][_0x4c4100(0x16d)]:{_0x4cf1a2=_0x57c232[_0x4c4100(0x438)](_0xa81a91,_0x4d20a2);break;}case _0x57c232[_0x4c4100(0x36d)][_0x4c4100(0x2b6)]:{_0x4cf1a2=_0x57c232['handleIRemoveRow'](_0xa81a91,_0x4d20a2);break;}}const _0x112f3b=_0x57c232['runRefRangeMutations'](_0x4cf1a2,_0x4d20a2),_0x523783=this[_0x4c4100(0x19a)][_0x4c4100(0x1c8)](_0x18a0ca);if(_0x523783&&_0x112f3b){const _0x254b26={..._0x523783,'range':_0x112f3b};this[_0x4c4100(0x19a)][_0x4c4100(0x29c)](_0x18a0ca,_0x254b26),_0x1daf52(()=>{const _0x54c64e=_0x4c4100,_0x1250e5=this[_0x54c64e(0x464)]['registerRefRange'](_0x112f3b,_0x30cf62=>(_0x1250e5[_0x54c64e(0x3fb)](),_0x5d2279(_0x30cf62,_0x18a0ca,_0x126fd2,_0x112f3b)));_0x955310['add'](_0x1250e5);});}return{'redos':[],'undos':[]};};this[_0x40a73d(0x19a)][_0x40a73d(0x196)]((_0x531afd,_0x40382b)=>{const _0x10ce85=_0x40a73d,{range:_0x5b2a2d,sheetID:_0x3416bf}=_0x531afd,_0x1827d0=this[_0x10ce85(0x464)][_0x10ce85(0x233)](_0x5b2a2d,_0x16993c=>(_0x1827d0[_0x10ce85(0x3fb)](),_0x5d2279(_0x16993c,_0x40382b,_0x3416bf,_0x5b2a2d)));_0x955310[_0x10ce85(0x3cd)](_0x1827d0);});};this[_0x1ec2aa(0x495)](_0x460a10[_0x1ec2aa(0x1ff)](this['_cursorInfo$'][_0x1ec2aa(0x3d1)](()=>{_0x4f1d4a();})));}[_0x103a68(0x4b7)](){const _0x3c9fe9=_0x103a68;var _0x331c50,_0x2694b4;if(this[_0x3c9fe9(0x2ad)]=!0x0,((_0x331c50=this['_univerInstanceService'][_0x3c9fe9(0xe3)]())==null?void 0x0:_0x331c50[_0x3c9fe9(0xf7)]())!==this[_0x3c9fe9(0x19c)])return;const _0x28627e=(_0x2694b4=this[_0x3c9fe9(0x165)][_0x3c9fe9(0x1c8)](_0x57c232[_0x3c9fe9(0x268)])[_0x3c9fe9(0x402)]())==null?void 0x0:_0x2694b4[0x0],_0x5dd44f=this[_0x3c9fe9(0x15d)][_0x3c9fe9(0x253)](_0x460a10[_0x3c9fe9(0x3c9)][_0x3c9fe9(0x329)])[_0x3c9fe9(0x3f7)]();_0x28627e&&_0x5dd44f&&this[_0x3c9fe9(0x3aa)](_0x5dd44f[_0x3c9fe9(0x225)](),_0x28627e);}['_toggleOffline'](){const _0x4a67a2=_0x103a68;this[_0x4a67a2(0x2ad)]=!0x1;}};_0x9a8bae=_0x17c35e([_0x2d39a9(0x2,_0x460a10[_0x103a68(0x310)](_0x460a10['Injector'])),_0x2d39a9(0x3,_0x460a10[_0x103a68(0x310)](_0x57aeec)),_0x2d39a9(0x4,_0x460a10[_0x103a68(0x310)](_0xf42097)),_0x2d39a9(0x5,_0x460a10[_0x103a68(0x347)]),_0x2d39a9(0x6,_0x460a10[_0x103a68(0x134)]),_0x2d39a9(0x7,_0x460a10[_0x103a68(0x310)](_0x57c232[_0x103a68(0x3a7)]))],_0x9a8bae);var _0x1362e6=Object['defineProperty'],_0x1c47fd=Object['getOwnPropertyDescriptor'],_0x27743d=(_0x544329,_0x57b358,_0x5949f8,_0x343f96)=>{for(var _0x27baa9=_0x343f96>0x1?void 0x0:_0x343f96?_0x1c47fd(_0x57b358,_0x5949f8):_0x57b358,_0x38fa77=_0x544329['length']-0x1,_0x2c58aa;_0x38fa77>=0x0;_0x38fa77--)(_0x2c58aa=_0x544329[_0x38fa77])&&(_0x27baa9=(_0x343f96?_0x2c58aa(_0x57b358,_0x5949f8,_0x27baa9):_0x2c58aa(_0x27baa9))||_0x27baa9);return _0x343f96&&_0x27baa9&&_0x1362e6(_0x57b358,_0x5949f8,_0x27baa9),_0x27baa9;},_0x27545b=(_0x5862a8,_0x542021)=>(_0x4b5f1b,_0x1c0a64)=>_0x542021(_0x4b5f1b,_0x1c0a64,_0x5862a8);let _0x378058=class extends _0x460a10[_0x103a68(0x16c)]{constructor(_0x359a16,_0x582d27,_0x23b4c4){const _0x30e61c=_0x103a68;super(),_0x519548(this,'_entities',new Map()),_0x519548(this,_0x30e61c(0x22d),new _0x22d14a[(_0x30e61c(0xb8))]()),(this[_0x30e61c(0x15d)]=_0x359a16,this[_0x30e61c(0x165)]=_0x582d27,this[_0x30e61c(0x289)]=_0x23b4c4,this[_0x30e61c(0x194)]());}[_0x103a68(0x3fb)](){const _0x307d28=_0x103a68;super[_0x307d28(0x3fb)](),this[_0x307d28(0x22d)][_0x307d28(0x31e)](),this['_entities'][_0x307d28(0x196)](_0x3502b1=>_0x3502b1['dispose']());}[_0x103a68(0x224)](_0x45885c){const _0x4a9dd2=_0x103a68;return this[_0x4a9dd2(0x2ac)]['has'](_0x45885c)?this[_0x4a9dd2(0x2ac)][_0x4a9dd2(0x1c8)](_0x45885c)['cursorInfo$']:this['_entityInit$'][_0x4a9dd2(0x3af)](_0x22d14a[_0x4a9dd2(0x162)](_0x5a3676=>_0x5a3676[_0x4a9dd2(0x19c)]===_0x45885c),_0x22d14a[_0x4a9dd2(0x26e)](_0x1f93f1=>_0x1f93f1['cursorInfo$']));}['_init'](){const _0x474cc5=_0x103a68;this[_0x474cc5(0x15d)]['getTypeOfUnitAdded$'](_0x460a10[_0x474cc5(0x3c9)][_0x474cc5(0x329)])['pipe'](_0x22d14a['takeUntil'](this['dispose$']))[_0x474cc5(0x3d1)](async _0xa25bb5=>{const _0x3309f5=_0x474cc5,_0x595fe2=_0xa25bb5['getUnitId'](),_0x317c2c=await this[_0x3309f5(0x3f1)](_0x595fe2);this[_0x3309f5(0x22d)]['next'](_0x317c2c),this['_entities'][_0x3309f5(0x29c)](_0x595fe2,_0x317c2c);}),this[_0x474cc5(0x15d)][_0x474cc5(0xcb)](_0x460a10[_0x474cc5(0x3c9)]['UNIVER_DOC'])[_0x474cc5(0x3af)](_0x22d14a[_0x474cc5(0x415)](this[_0x474cc5(0x20a)]))[_0x474cc5(0x3af)](_0x22d14a[_0x474cc5(0x162)](_0x243341=>!_0x243341[_0x474cc5(0xf7)]()[_0x474cc5(0x38c)]('__')))[_0x474cc5(0x3d1)](async _0x2984a5=>{const _0x3cab3e=_0x474cc5,_0x27123d=_0x2984a5['getUnitId'](),_0x2ed11e=await this[_0x3cab3e(0x3d0)](_0x27123d);this['_entityInit$'][_0x3cab3e(0x1bb)](_0x2ed11e),this['_entities'][_0x3cab3e(0x29c)](_0x27123d,_0x2ed11e);}),_0x22d14a['merge'](this[_0x474cc5(0x15d)][_0x474cc5(0x315)](_0x460a10['UniverInstanceType'][_0x474cc5(0x208)]),this[_0x474cc5(0x15d)]['getTypeOfUnitDisposed$'](_0x460a10[_0x474cc5(0x3c9)][_0x474cc5(0x329)]))[_0x474cc5(0x3af)](_0x22d14a[_0x474cc5(0x415)](this[_0x474cc5(0x20a)]))[_0x474cc5(0x3d1)](_0x14e8e2=>{const _0x419c3f=_0x474cc5,_0x549345=_0x14e8e2['getUnitId'](),_0x25af5f=this['_entities']['get'](_0x549345);_0x25af5f&&(_0x25af5f['dispose'](),this[_0x419c3f(0x2ac)][_0x419c3f(0xe0)](_0x549345));});}async[_0x103a68(0x3f1)](_0x1e7995){const _0xd99a5b=_0x103a68,_0x561bfd=await this[_0xd99a5b(0x289)][_0xd99a5b(0x43c)](_0x1e7995),_0x3bf830=this[_0xd99a5b(0x165)][_0xd99a5b(0x432)](_0x9a8bae,_0x1e7995,_0x561bfd);return _0x3bf830[_0xd99a5b(0x40b)](),_0x3bf830;}async[_0x103a68(0x3d0)](_0x59afa5){const _0x21d917=_0x103a68,_0x473bae=await this[_0x21d917(0x289)]['requireSession'](_0x59afa5),_0x619436=this['_injector'][_0x21d917(0x432)](_0x2c7e04,_0x59afa5,_0x473bae);return _0x619436[_0x21d917(0x40b)](),_0x619436;}};_0x378058=_0x27743d([_0x27545b(0x0,_0x460a10[_0x103a68(0x347)]),_0x27545b(0x1,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x27545b(0x2,_0x460a10[_0x103a68(0x310)](_0x4e0bbf[_0x103a68(0x248)]))],_0x378058);const _0x1630e6=0x14,_0x15dd30=0xc8,_0x145f4a=0x4,_0xd91ad3=0x5;function _0x30b2f4(_0x49bf12,_0x13544a){const _0x1f768c=_0x103a68;let {radius:_0x16b265,width:_0x1254cb,height:_0x306a95}=_0x13544a;_0x16b265=_0x16b265!=null?_0x16b265:0x0,_0x1254cb=_0x1254cb!=null?_0x1254cb:0x1e,_0x306a95=_0x306a95!=null?_0x306a95:0x1e;let _0xbe268e=0x0,_0x259fcc=0x0,_0x13a94f=0x0;_0xbe268e=_0x259fcc=_0x13a94f=Math[_0x1f768c(0x3cc)](_0x16b265,_0x1254cb/0x2,_0x306a95/0x2),_0x49bf12[_0x1f768c(0x2da)](),_0x49bf12['moveTo'](_0xbe268e,0x0),_0x49bf12[_0x1f768c(0xcc)](_0x1254cb-_0x259fcc,0x0),_0x49bf12[_0x1f768c(0x256)](_0x1254cb-_0x259fcc,_0x259fcc,_0x259fcc,Math['PI']*0x3/0x2,0x0,!0x1),_0x49bf12[_0x1f768c(0xcc)](_0x1254cb,_0x306a95-_0x13a94f),_0x49bf12[_0x1f768c(0x256)](_0x1254cb-_0x13a94f,_0x306a95-_0x13a94f,_0x13a94f,0x0,Math['PI']/0x2,!0x1),_0x49bf12[_0x1f768c(0xcc)](0x0,_0x306a95),_0x49bf12[_0x1f768c(0xcc)](0x0,_0xbe268e),_0x49bf12[_0x1f768c(0x256)](_0xbe268e,_0xbe268e,_0xbe268e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x49bf12['closePath'](),_0x13544a['fill']&&(_0x49bf12['save'](),_0x49bf12[_0x1f768c(0x47a)]=_0x13544a[_0x1f768c(0x453)],_0x13544a[_0x1f768c(0x261)]===_0x1f768c(0x4b2)?_0x49bf12['fill'](_0x1f768c(0x4b2)):_0x49bf12[_0x1f768c(0x453)](),_0x49bf12[_0x1f768c(0x33b)]());}class _0x21fbc3 extends _0x5633aa['Shape']{constructor(_0xeb8ba9,_0x301aa9){const _0x34f263=_0x103a68;super(_0xeb8ba9,_0x301aa9),_0x519548(this,_0x34f263(0x4d9)),_0x519548(this,_0x34f263(0x1fc)),(this['color']=_0x301aa9==null?void 0x0:_0x301aa9[_0x34f263(0x4d9)],this[_0x34f263(0x1fc)]=_0x301aa9==null?void 0x0:_0x301aa9[_0x34f263(0x1fc)]);}static['drawWith'](_0x2ea76a,_0x1c829e){const _0x1435d5=_0x103a68,{text:_0x1ef6cb,color:_0x378e99}=_0x1c829e;_0x2ea76a['save'](),_0x2ea76a[_0x1435d5(0x27e)]=_0x1435d5(0x17e);const _0x2a1072=_0x2ea76a[_0x1435d5(0x42f)](_0x1ef6cb)[_0x1435d5(0x364)],_0x1241ed=Math[_0x1435d5(0x3cc)](_0x2a1072+0x2*_0x145f4a,_0x15dd30);_0x30b2f4(_0x2ea76a,{'height':_0x1630e6,'radius':0x4,'width':_0x1241ed,'fill':_0x378e99,'evented':!0x1}),_0x2ea76a[_0x1435d5(0x47a)]='#FFF';const _0xf68e37=_0x145f4a,_0xc45caa=_0x1630e6-_0xd91ad3,_0xaf02f1=_0x15dd30-0x2*_0x145f4a;if(_0x2a1072>_0xaf02f1){let _0x2d4bf8='',_0x247ca7=0x0;for(const _0x435fce of _0x1ef6cb){const _0x42119c=_0x2ea76a[_0x1435d5(0x42f)](_0x435fce)['width'];if(_0x247ca7+_0x42119c<=_0xaf02f1-_0x2ea76a[_0x1435d5(0x42f)](_0x1435d5(0x380))[_0x1435d5(0x364)])_0x2d4bf8+=_0x435fce,_0x247ca7+=_0x42119c;else{_0x2d4bf8+=_0x1435d5(0x380);break;}}_0x2ea76a[_0x1435d5(0x20e)](_0x2d4bf8,_0xf68e37,_0xc45caa);}else _0x2ea76a[_0x1435d5(0x20e)](_0x1ef6cb,_0xf68e37,_0xc45caa);_0x2ea76a['restore']();}['_draw'](_0x1fef2e){const _0x190408=_0x103a68;_0x21fbc3[_0x190408(0x10a)](_0x1fef2e,this);}}const _0x7cf774=_0x103a68(0x18e),_0x1cfeb2=_0x103a68(0x44d),_0x32c992=_0x103a68(0x3b1),_0x6c9de4=0x6,_0x441b07=1.5,_0xa2d11e=0x4,_0x2bd5aa=1.5,_0x5774e1=_0x103a68(0x1c6);class _0x374fab{constructor(_0x386321,_0x22d970,_0x387cda,_0x190959){const _0x1207f=_0x103a68;_0x519548(this,'_shapes',[]),_0x519548(this,_0x1207f(0x3c3),null),_0x519548(this,_0x1207f(0x447),null),_0x519548(this,_0x1207f(0xde),null),_0x519548(this,_0x1207f(0x28b),null),_0x519548(this,_0x1207f(0x284),null),(this[_0x1207f(0x234)]=_0x386321,this[_0x1207f(0x151)]=_0x22d970,this[_0x1207f(0x411)]=_0x387cda,this['_document']=_0x190959,this[_0x1207f(0x2e1)]());}set[_0x103a68(0x22a)](_0x48cb1f){const _0x13a872=_0x103a68;_0x48cb1f?(this[_0x13a872(0xde)]&&this['_anchorDot']['hide'](),this[_0x13a872(0x447)]&&this['_textBubble']['show']()):(this[_0x13a872(0xde)]&&this['_anchorDot']['show'](),this[_0x13a872(0x447)]&&this[_0x13a872(0x447)][_0x13a872(0x2b8)]());}[_0x103a68(0x3fb)](){const _0x42f13c=_0x103a68;for(const _0x2f3633 of this['_shapes'])_0x2f3633[_0x42f13c(0x3fb)]();this[_0x42f13c(0x447)]&&this[_0x42f13c(0x447)][_0x42f13c(0x3fb)](),this[_0x42f13c(0xde)]&&this[_0x42f13c(0xde)][_0x42f13c(0x3fb)](),this['_anchor']&&this[_0x42f13c(0x3c3)][_0x42f13c(0x3fb)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x3d6f8c=_0x103a68;var _0x593eb0;const {_docSkeleton:_0x44192c,_document:_0x4a97e9}=this,{color:_0xfe1f5b,name:_0x3f30eb,ranges:_0x5bdbb6}=this[_0x3d6f8c(0x234)],_0x25a8bf=_0x4a97e9[_0x3d6f8c(0x3bf)](),{docsLeft:_0x300621,docsTop:_0x5c04fe}=_0x25a8bf,_0x7f7ebd=new _0x39c231[(_0x3d6f8c(0x159))](_0x25a8bf,_0x44192c);for(const {startOffset:_0x500584,endOffset:_0x3c446d,collapsed:_0x325680,isActive:_0x23a07e}of _0x5bdbb6){const _0x4c52db=_0x44192c['findNodePositionByCharIndex'](_0x500584),_0x31bdaa=_0x44192c[_0x3d6f8c(0x105)](_0x3c446d);if(_0x23a07e){const {contentBoxPointGroup:_0x2146ef}=_0x7f7ebd[_0x3d6f8c(0x305)](_0x31bdaa,_0x31bdaa);if(_0x2146ef[_0x3d6f8c(0x292)]===0x0)continue;this['_drawAnchor'](_0xfe1f5b,_0x2146ef,_0x300621,_0x5c04fe,_0x3f30eb),this['_eventUnsubscribe']=this[_0x3d6f8c(0x395)]();}if(!_0x325680&&_0x4c52db&&_0x31bdaa){if(_0x39c231[_0x3d6f8c(0x1e9)](_0x4c52db,_0x31bdaa)){const _0x36efaf=new _0x39c231[(_0x3d6f8c(0x22b))](_0x25a8bf,_0x44192c),{pointGroup:_0x2bd86c}=(_0x593eb0=_0x36efaf[_0x3d6f8c(0x305)](_0x4c52db,_0x31bdaa))!=null?_0x593eb0:{};if(_0x2bd86c==null||_0x2bd86c['length']===0x0)continue;this['_drawRectRange'](_0xfe1f5b,_0x2bd86c,_0x300621,_0x5c04fe);}else{const {contentBoxPointGroup:_0x5dcfd7}=_0x7f7ebd[_0x3d6f8c(0x305)](_0x4c52db,_0x31bdaa);if(_0x5dcfd7['length']===0x0)continue;this[_0x3d6f8c(0x371)](_0xfe1f5b,_0x5dcfd7,_0x300621,_0x5c04fe);}}}}[_0x103a68(0xa7)](_0x3de90f,_0x4137cc,_0x2c2135,_0x346fea,_0x30042e){const _0x3ed9c2=_0x103a68,_0x4190f2=this[_0x3ed9c2(0x2e9)](_0x4137cc),{left:_0x564249,top:_0x49aa44,height:_0x5394ce}=_0x4190f2,_0xb2cace=this[_0x3ed9c2(0xf3)](),_0x4b2ea1=_0x2bd5aa/_0xb2cace,_0x52790f=new _0x5633aa[(_0x3ed9c2(0x33f))](_0x7cf774+_0x460a10[_0x3ed9c2(0x1dc)][_0x3ed9c2(0x212)](_0x6c9de4),{'left':_0x564249+_0x2c2135-_0x4b2ea1,'top':_0x49aa44+_0x346fea,'height':_0x5394ce,'width':_0x441b07,'fill':_0x3de90f||_0x5633aa[_0x3ed9c2(0x345)](_0x460a10[_0x3ed9c2(0x242)]['black'],0x0),'strokeWidth':_0x4b2ea1,'stroke':_0x5774e1,'evented':!0x0});this[_0x3ed9c2(0x3c3)]=_0x52790f,this[_0x3ed9c2(0x151)][_0x3ed9c2(0x3ed)](_0x52790f,_0x39c231[_0x3ed9c2(0x173)]);const _0x15cb9f=new _0x5633aa[(_0x3ed9c2(0x33f))](_0x7cf774+_0x460a10[_0x3ed9c2(0x1dc)][_0x3ed9c2(0x212)](_0x6c9de4),{'left':_0x564249+_0x2c2135-_0x4b2ea1,'top':_0x49aa44+_0x346fea-_0xa2d11e/0x2,'height':_0xa2d11e,'width':_0xa2d11e,'fill':_0x3de90f||_0x5633aa[_0x3ed9c2(0x345)](_0x460a10[_0x3ed9c2(0x242)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3de90f||_0x5633aa[_0x3ed9c2(0x345)](_0x460a10['COLORS'][_0x3ed9c2(0x377)],0x0),'evented':!0x1});this[_0x3ed9c2(0xde)]=_0x15cb9f,this[_0x3ed9c2(0x151)]['addObject'](_0x15cb9f,_0x39c231[_0x3ed9c2(0x173)]);const _0x3f4a8d=new _0x21fbc3(_0x7cf774+_0x460a10['Tools'][_0x3ed9c2(0x212)](_0x6c9de4),{'left':_0x564249+_0x2c2135-_0x4b2ea1,'top':_0x49aa44+_0x346fea-_0x1630e6,'text':_0x30042e,'color':_0x3de90f});this[_0x3ed9c2(0x447)]=_0x3f4a8d,this[_0x3ed9c2(0x151)]['addObject'](_0x3f4a8d,_0x39c231[_0x3ed9c2(0x173)]),this[_0x3ed9c2(0x22a)]=!0x1;}[_0x103a68(0x395)](){const _0xd20186=_0x103a68,_0x226fcf=this[_0xd20186(0x3c3)]['onPointerEnter$'][_0xd20186(0xb5)](()=>{const _0x3dd154=_0xd20186;this[_0x3dd154(0x22a)]=!0x0;}),_0x3b2995=this[_0xd20186(0x3c3)][_0xd20186(0x4a4)][_0xd20186(0xb5)](()=>{const _0x2a7019=_0xd20186;this[_0x2a7019(0x28b)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x421515=_0x2a7019;this[_0x421515(0x22a)]=!0x1;},0x7d0);});return()=>{const _0x1d90db=_0xd20186;_0x226fcf[_0x1d90db(0x36a)](),_0x3b2995[_0x1d90db(0x36a)]();};}[_0x103a68(0x371)](_0x13a69b,_0x1a0196,_0x543725,_0xc76243){const _0x3c8be9=_0x103a68,_0x1d57ef=new _0x460a10['ColorKit'](_0x13a69b)[_0x3c8be9(0x22c)](0.2)['toRgbString'](),_0x2a9eb2=new _0x5633aa['RegularPolygon'](_0x1cfeb2+_0x460a10['Tools'][_0x3c8be9(0x212)](_0x6c9de4),{'pointsGroup':_0x1a0196,'fill':_0x1d57ef||_0x5633aa['getColor'](_0x460a10[_0x3c8be9(0x242)][_0x3c8be9(0x377)],0.2),'left':_0x543725,'top':_0xc76243,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c8be9(0x2c8)][_0x3c8be9(0x420)](_0x2a9eb2),this['_scene'][_0x3c8be9(0x3ed)](_0x2a9eb2,_0x39c231['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x56f098,_0xc24ccf,_0x25747d,_0x1dd404){const _0x5aecc7=_0x103a68,_0x1ade80=new _0x460a10[(_0x5aecc7(0x416))](_0x56f098)['setAlpha'](0.2)[_0x5aecc7(0x133)](),_0x568f4d=new _0x5633aa['RegularPolygon'](_0x32c992+_0x460a10[_0x5aecc7(0x1dc)][_0x5aecc7(0x212)](_0x6c9de4),{'pointsGroup':_0xc24ccf,'fill':_0x1ade80||_0x5633aa[_0x5aecc7(0x345)](_0x460a10[_0x5aecc7(0x242)][_0x5aecc7(0x377)],0.2),'left':_0x25747d,'top':_0x1dd404,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5aecc7(0x2c8)][_0x5aecc7(0x420)](_0x568f4d),this[_0x5aecc7(0x151)][_0x5aecc7(0x3ed)](_0x568f4d,_0x39c231[_0x5aecc7(0x173)]);}[_0x103a68(0x2e9)](_0x5ad3d0){const _0x273609=_0x5ad3d0[0x0],_0x28b408=_0x273609[0x0],_0x508cec=_0x273609[0x2],{x:_0xfa490b,y:_0x1287c8}=_0x28b408,{x:_0x1cfe8b,y:_0x278114}=_0x508cec;return{'left':_0xfa490b,'top':_0x1287c8,'width':_0x1cfe8b-_0xfa490b,'height':_0x278114-_0x1287c8};}[_0x103a68(0xf3)](){const _0x1673a6=_0x103a68,{scaleX:_0x15edc7,scaleY:_0x237f67}=this[_0x1673a6(0x151)][_0x1673a6(0x12a)]();return Math['max'](_0x15edc7,_0x237f67);}}var _0x407f05=Object[_0x103a68(0x3a3)],_0x463e66=Object[_0x103a68(0x138)],_0x424def=(_0x29f2c,_0x3c949c,_0xe9c676,_0x59e497)=>{const _0x7e41e9=_0x103a68;for(var _0x365859=_0x59e497>0x1?void 0x0:_0x59e497?_0x463e66(_0x3c949c,_0xe9c676):_0x3c949c,_0x18e356=_0x29f2c[_0x7e41e9(0x292)]-0x1,_0x18a8f;_0x18e356>=0x0;_0x18e356--)(_0x18a8f=_0x29f2c[_0x18e356])&&(_0x365859=(_0x59e497?_0x18a8f(_0x3c949c,_0xe9c676,_0x365859):_0x18a8f(_0x365859))||_0x365859);return _0x59e497&&_0x365859&&_0x407f05(_0x3c949c,_0xe9c676,_0x365859),_0x365859;},_0x2c9230=(_0xb0f0c0,_0x16e279)=>(_0x1f6615,_0x289e18)=>_0x16e279(_0x1f6615,_0x289e18,_0xb0f0c0);let _0x1a8fd0=class extends _0x460a10[_0x103a68(0x16c)]{constructor(_0x3afc46,_0xcd721e,_0x48ffb7,_0x4c2869,_0x47cf22){const _0x3fb74c=_0x103a68;super(),_0x519548(this,_0x3fb74c(0x385),[]),_0x519548(this,_0x3fb74c(0x109),[]),(this[_0x3fb74c(0x366)]=_0x3afc46,this[_0x3fb74c(0x367)]=_0xcd721e,this[_0x3fb74c(0x3d3)]=_0x48ffb7,this[_0x3fb74c(0x44e)]=_0x4c2869,this[_0x3fb74c(0x1a6)]=_0x47cf22,this[_0x3fb74c(0x194)]());}[_0x103a68(0x194)](){const _0x411b22=_0x103a68,_0x43c9b5=this['_context'][_0x411b22(0x3b0)],_0x435d8e=this[_0x411b22(0x367)];this[_0x411b22(0x495)](_0x22d14a[_0x411b22(0x252)]([this[_0x411b22(0x3d3)][_0x411b22(0x224)](_0x43c9b5),this['_themeService'][_0x411b22(0x3ad)]])[_0x411b22(0x3af)](_0x436c5c[_0x411b22(0x38a)](([_0x42a26e,_0x490d30])=>({'skeleton':_0x435d8e[_0x411b22(0x128)](),'cursors':[..._0x42a26e[_0x411b22(0x161)]()]['flatMap'](_0x303488=>({..._0x303488,'color':_0x490d30[_0x303488[_0x411b22(0x4d9)]]}))})))[_0x411b22(0x3d1)](_0x3b3e62=>{const _0x42cf80=_0x411b22;if(this[_0x42cf80(0x491)](),_0x3b3e62){const {skeleton:_0x506700,cursors:_0x3caf12}=_0x3b3e62;this['_updateCollabCursors'](_0x506700,_0x3caf12);}})),this[_0x411b22(0x239)](),this[_0x411b22(0x250)]();}['_updateCollabCursors'](_0x2099ed,_0x5b1642){const _0xe7637e=_0x103a68,{scene:_0x1451f2,mainComponent:_0xacee13}=this[_0xe7637e(0x366)],_0x5ae3d1=_0x5b1642['map'](_0x80e339=>new _0x374fab(_0x80e339,_0x1451f2,_0x2099ed,_0xacee13));this['_cursorShapes']=_0x5ae3d1,this[_0xe7637e(0x109)]=_0x5b1642;}['_refreshCollabCursors'](){const _0x4c41f2=_0x103a68;this[_0x4c41f2(0x491)]();const {scene:_0x1c82f5,mainComponent:_0x2d50ff}=this['_context'],_0x81aafb=this['_docSkeletonManagerService'][_0x4c41f2(0x128)](),_0x4797dd=this['_cursors'][_0x4c41f2(0x38a)](_0x48cd82=>new _0x374fab(_0x48cd82,_0x1c82f5,_0x81aafb,_0x2d50ff));this[_0x4c41f2(0x385)]=_0x4797dd;}[_0x103a68(0x491)](){const _0x3698eb=_0x103a68;this['_cursorShapes'][_0x3698eb(0x196)](_0x2935c7=>_0x2935c7[_0x3698eb(0x3fb)]()),this[_0x3698eb(0x385)]=[];}[_0x103a68(0x250)](){const _0x1b5d42=_0x103a68,_0xa15a4=[_0x39c231[_0x1b5d42(0x11c)]['id']];this['disposeWithMe'](this[_0x1b5d42(0x44e)]['onCommandExecuted'](_0x2f2863=>{const _0x1b80b0=_0x1b5d42;_0xa15a4[_0x1b80b0(0x3d6)](_0x2f2863['id'])&&_0x2f2863[_0x1b80b0(0x31c)]['unitId']===this['_context'][_0x1b80b0(0x3b0)]&&this[_0x1b80b0(0x37f)]();}));}[_0x103a68(0x239)](){const _0x4e503c=_0x103a68;this[_0x4e503c(0x495)](_0x460a10['fromEventSubject'](this[_0x4e503c(0x366)][_0x4e503c(0x3bd)][_0x4e503c(0x443)])[_0x4e503c(0x3af)](_0x436c5c['filter'](_0xf5ac2=>_0xf5ac2[_0x4e503c(0x483)]===_0x5633aa[_0x4e503c(0x4bb)]['resize']),_0x436c5c[_0x4e503c(0x116)](0x10))[_0x4e503c(0x3d1)](()=>{this['_refreshCollabCursors']();}));}};_0x1a8fd0=_0x424def([_0x2c9230(0x1,_0x460a10[_0x103a68(0x310)](_0x447cee[_0x103a68(0xd8)])),_0x2c9230(0x2,_0x460a10[_0x103a68(0x310)](_0x378058)),_0x2c9230(0x3,_0x460a10[_0x103a68(0x134)]),_0x2c9230(0x4,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x45b)]))],_0x1a8fd0);const _0x1187a0=0x1,_0x37ab44=1.5;class _0x634d7c extends _0x5633aa[_0x103a68(0x267)]{constructor(_0x5431d0,_0x402c47){const _0x37cd75=_0x103a68;super(_0x5431d0,_0x402c47),_0x519548(this,_0x37cd75(0x15e)),_0x519548(this,_0x37cd75(0x3e7),!0x1),_0x519548(this,_0x37cd75(0x240)),_0x519548(this,_0x37cd75(0x37e),''),_0x519548(this,'_labelPosition',_0x37cd75(0x1a8)),_0x519548(this,_0x37cd75(0x4aa)),(_0x402c47&&this[_0x37cd75(0x42d)](_0x402c47),this[_0x37cd75(0x130)][_0x37cd75(0xb5)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x37cd75(0x4a4)][_0x37cd75(0xb5)](()=>this[_0x37cd75(0x42d)]({'hovered':!0x1})));}[_0x103a68(0x42d)](_0x363483){const _0x528d82=_0x103a68;var _0xac83ee,_0x568bfe,_0x339b99,_0x4dbed2,_0x453960,_0x2a2ab1;this['_color']=(_0xac83ee=_0x363483[_0x528d82(0x4d9)])!=null?_0xac83ee:this[_0x528d82(0x15e)],this[_0x528d82(0x3e7)]=(_0x568bfe=_0x363483['hovered'])!=null?_0x568bfe:this[_0x528d82(0x3e7)],this[_0x528d82(0x240)]=(_0x339b99=_0x363483[_0x528d82(0x222)])!=null?_0x339b99:this[_0x528d82(0x240)],this[_0x528d82(0x37e)]=(_0x4dbed2=_0x363483[_0x528d82(0x3e2)])!=null?_0x4dbed2:this[_0x528d82(0x37e)],this[_0x528d82(0xf2)]=(_0x453960=_0x363483['labelPosition'])!=null?_0x453960:this['_labelPosition'],this[_0x528d82(0x4aa)]=(_0x2a2ab1=_0x363483['backgroundColor'])!=null?_0x2a2ab1:this['_backgroundColor'],this[_0x528d82(0x450)]({'width':_0x363483[_0x528d82(0x364)],'height':_0x363483[_0x528d82(0x148)]});}['onMouseMove'](_0x1c92a4){const _0x22be40=_0x103a68,{row:_0x598c89,column:_0x10ec9d}=_0x1c92a4;if(_0x598c89>=this[_0x22be40(0x240)][_0x22be40(0x3a1)]&&_0x598c89<=this[_0x22be40(0x240)][_0x22be40(0x3b5)]&&_0x10ec9d>=this['_range'][_0x22be40(0x1eb)]&&_0x10ec9d<=this[_0x22be40(0x240)][_0x22be40(0x2cf)]){this[_0x22be40(0x42d)]({'hovered':!0x0});return;}this[_0x22be40(0x42d)]({'hovered':!0x1});}['triggerDblclick'](_0x340742){return!0x1;}['_draw'](_0x31fb7e){const _0x3dabfc=_0x103a68;_0x5633aa[_0x3dabfc(0x33f)][_0x3dabfc(0x10a)](_0x31fb7e,{'width':this[_0x3dabfc(0x364)],'height':this['height'],'strokeWidth':_0x37ab44,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3dabfc(0x4aa)]}),this[_0x3dabfc(0x3e7)]&&(_0x31fb7e[_0x3dabfc(0x2f9)](),_0x31fb7e[_0x3dabfc(0x1d6)](0x1,0x0,0x0,0x1,this[_0x3dabfc(0x364)],this[_0x3dabfc(0xf2)]===_0x3dabfc(0x182)?0x0:-_0x1630e6),_0x21fbc3['drawWith'](_0x31fb7e,{'text':this[_0x3dabfc(0x37e)],'color':this[_0x3dabfc(0x15e)]}),_0x31fb7e['restore']());}}var _0x1713f0=Object[_0x103a68(0x3a3)],_0x44e3db=Object[_0x103a68(0x138)],_0x3a7c37=(_0x4c0a47,_0xf5df1a,_0x5f1b0d,_0x12add3)=>{const _0x124d45=_0x103a68;for(var _0x5dbd03=_0x12add3>0x1?void 0x0:_0x12add3?_0x44e3db(_0xf5df1a,_0x5f1b0d):_0xf5df1a,_0x4e694c=_0x4c0a47[_0x124d45(0x292)]-0x1,_0x51938d;_0x4e694c>=0x0;_0x4e694c--)(_0x51938d=_0x4c0a47[_0x4e694c])&&(_0x5dbd03=(_0x12add3?_0x51938d(_0xf5df1a,_0x5f1b0d,_0x5dbd03):_0x51938d(_0x5dbd03))||_0x5dbd03);return _0x12add3&&_0x5dbd03&&_0x1713f0(_0xf5df1a,_0x5f1b0d,_0x5dbd03),_0x5dbd03;},_0xc9682e=(_0x2fba2c,_0x179bd5)=>(_0x5095fc,_0x21d2cd)=>_0x179bd5(_0x5095fc,_0x21d2cd,_0x2fba2c);const _0x565c5f=0x1389;let _0x5f36db=class extends _0x460a10[_0x103a68(0x16c)]{constructor(_0x3e84c2,_0x43de0e,_0x2adf13,_0xefd92d){const _0x4d3941=_0x103a68;super(),_0x519548(this,_0x4d3941(0x109),new Set()),_0x519548(this,_0x4d3941(0x4c8),null),(this['_context']=_0x3e84c2,this['_sheetSkeletonManagerService']=_0x43de0e,this[_0x4d3941(0x3d3)]=_0x2adf13,this[_0x4d3941(0x1a6)]=_0xefd92d,this[_0x4d3941(0x194)]());}[_0x103a68(0x194)](){const _0x2b89e4=_0x103a68;this[_0x2b89e4(0x34b)][_0x2b89e4(0x170)][_0x2b89e4(0x3af)](_0x436c5c['takeUntil'](this['dispose$']),_0x436c5c['switchMap'](_0x54173a=>{const _0x18fd8e=_0x2b89e4;if(_0x54173a){const _0x4e3c86=_0x54173a[_0x18fd8e(0xb2)];return _0x22d14a['combineLatest'](this[_0x18fd8e(0x3d3)][_0x18fd8e(0x224)](this['_context'][_0x18fd8e(0x3b0)]),this['_themeService'][_0x18fd8e(0x3ad)])[_0x18fd8e(0x3af)](_0x436c5c[_0x18fd8e(0x38a)](([_0x260a31,_0x49b595])=>{const _0x249e2c=_0x18fd8e,_0x41aaad=new Map();return _0x260a31[_0x249e2c(0x196)]((_0x800f13,_0x1ad3e7)=>{const _0x13463b=_0x249e2c;if(_0x800f13[_0x13463b(0x369)]===_0x4e3c86){const _0x4ef540={..._0x800f13};_0x4ef540[_0x13463b(0x4d9)]=_0x49b595[_0x800f13[_0x13463b(0x4d9)]],_0x41aaad[_0x13463b(0x29c)](_0x1ad3e7,_0x4ef540);}}),{'skeleton':_0x54173a,'cursors':_0x41aaad};}));}return _0x22d14a['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x28a407,cursors:_0x5b9bb4})=>{const _0x331ea7=_0x2b89e4;this[_0x331ea7(0x491)](),_0x28a407&&this[_0x331ea7(0x44a)](_0x28a407,_0x5b9bb4);}),this[_0x2b89e4(0x34b)][_0x2b89e4(0x170)][_0x2b89e4(0x3d1)](_0x4a32e3=>{const _0x24c9c1=_0x2b89e4;if(_0x4a32e3==null)return;const {skeleton:_0x4574ae}=_0x4a32e3,{scene:_0x210f7f}=this['_context'];_0x210f7f[_0x24c9c1(0x381)][_0x24c9c1(0xb5)](_0x460a10[_0x24c9c1(0x4a8)](_0x520037=>{const _0x172154=_0x24c9c1;var _0x4df124,_0x47508a;const {offsetX:_0x1f889f,offsetY:_0x16a48e}=_0x520037,{x:_0x1fcedf,y:_0xc68ab}=_0x210f7f[_0x172154(0x3b6)](_0x5633aa[_0x172154(0x1e0)][_0x172154(0x327)]([_0x1f889f,_0x16a48e])),{scaleX:_0x18bbf4,scaleY:_0x412e9b}=_0x210f7f[_0x172154(0x12a)](),_0x46bb0a=_0x210f7f[_0x172154(0x40a)](_0x448142[_0x172154(0xcf)][_0x172154(0x37c)]),_0x4232b1=_0x210f7f[_0x172154(0x376)](_0x5633aa[_0x172154(0x1e0)]['FromArray']([_0x1fcedf,_0xc68ab]),_0x46bb0a),_0x1645fa=_0x4574ae[_0x172154(0x1cd)](_0x1f889f,_0x16a48e,_0x18bbf4,_0x412e9b,_0x4232b1);((_0x4df124=this[_0x172154(0x4c8)])==null?void 0x0:_0x4df124['column'])===_0x1645fa[_0x172154(0x1c2)]&&((_0x47508a=this['_lastPointer'])==null?void 0x0:_0x47508a[_0x172154(0xa6)])===_0x1645fa[_0x172154(0xa6)]||this[_0x172154(0x109)]['forEach'](_0x2ce89b=>{const _0x24e6bb=_0x172154;_0x2ce89b[_0x24e6bb(0x2f2)](_0x1645fa);});},0x64));});}[_0x103a68(0x44a)](_0x348578,_0x26ec35){const _0x3b1792=_0x103a68;var _0x406a10;const _0x3ae9be=(_0x406a10=this[_0x3b1792(0x34b)][_0x3b1792(0x45a)]())==null?void 0x0:_0x406a10['skeleton'];if(!_0x3ae9be)return;const _0x188779=this[_0x3b1792(0x4d2)]();if(!_0x188779)return;this[_0x3b1792(0x109)]['forEach'](_0x4f0da0=>{const _0x2124ac=_0x3b1792;_0x4f0da0[_0x2124ac(0x431)]();});const {scene:_0x5f582f}=_0x188779,_0x26b27d=_0x14cce6(Array[_0x3b1792(0x2cd)](_0x26ec35[_0x3b1792(0x161)]()))[_0x3b1792(0x38a)](_0x4c56f6=>{const _0x17916a=_0x3b1792,{color:_0x4b6cb8,range:_0x4b29b5,name:_0x3bc512,selection:_0xc1be38,sheetID:_0x1ebbbd}=_0x4c56f6,{startColumn:_0x5549a4,startRow:_0x54ea1f,endColumn:_0x375136,endRow:_0x3290ad}=_0x4b29b5,_0x1d5a76=_0x448142[_0x17916a(0x3d4)](_0x54ea1f,_0x5549a4,_0x5f582f,_0x3ae9be),_0x2b660e=_0x448142[_0x17916a(0x3d4)](_0x3290ad,_0x375136,_0x5f582f,_0x3ae9be),{columnHeaderHeightAndMarginTop:_0x36e1f1}=_0x3ae9be,{startX:_0x51e9f7,startY:_0x17eb59}=_0x1d5a76,{endX:_0x3d9b69,endY:_0x52023c}=_0x2b660e,_0x384e36=_0x3d9b69-_0x51e9f7,_0x5ca5e6=_0x52023c-_0x17eb59,_0x19bfc3={'labelPosition':_0x17eb59-_0x36e1f1>=_0x1630e6?_0x17916a(0x1a8):_0x17916a(0x182),'sheetID':_0x1ebbbd,'range':_0x4b29b5,'color':_0x4b6cb8,'name':_0x3bc512,'selection':_0xc1be38,'left':_0x51e9f7,'top':_0x17eb59,'width':_0x384e36,'height':_0x5ca5e6,'evented':!0x1,'zIndex':_0x565c5f};return new _0x634d7c(_0x3bc512,_0x19bfc3);});_0x5f582f[_0x3b1792(0x30d)](_0x26b27d,_0x1187a0),this['_cursors']=new Set(_0x26b27d);}[_0x103a68(0x491)](){const _0x1e4798=_0x103a68;var _0x2d892c;(_0x2d892c=this[_0x1e4798(0x109)])==null||_0x2d892c[_0x1e4798(0x196)](_0x156d1b=>_0x156d1b[_0x1e4798(0x3fb)]());}['_getSheetObject'](){const _0x1b39bb=_0x103a68;return _0x448142[_0x1b39bb(0x111)](this[_0x1b39bb(0x366)][_0x1b39bb(0x2a0)],this[_0x1b39bb(0x366)]);}};_0x5f36db=_0x3a7c37([_0xc9682e(0x1,_0x460a10['Inject'](_0x448142[_0x103a68(0x27a)])),_0xc9682e(0x2,_0x460a10[_0x103a68(0x310)](_0x378058)),_0xc9682e(0x3,_0x460a10[_0x103a68(0x310)](_0x460a10['ThemeService']))],_0x5f36db);function _0x14cce6(_0x208209){const _0xb49920=_0x103a68,_0x452cac=new Map();return _0x208209['forEach'](_0x570db3=>{const _0x4b8ebe=_0x5cd2;if(_0x452cac[_0x4b8ebe(0x401)](_0x570db3[_0x4b8ebe(0x107)])){const _0x57da1c=_0x452cac[_0x4b8ebe(0x1c8)](_0x570db3[_0x4b8ebe(0x107)]);_0x57da1c['name']+=',\x20'+_0x570db3['name'];}else _0x452cac[_0x4b8ebe(0x29c)](_0x570db3[_0x4b8ebe(0x107)],_0x570db3);}),Array[_0xb49920(0x2cd)](_0x452cac[_0xb49920(0x161)]());}var _0x34413e=function(){return _0x34413e=Object['assign']||function(_0x2a2dbf){const _0x1926d3=_0x5cd2;for(var _0x3bcba3,_0x5001bf=0x1,_0x5be537=arguments[_0x1926d3(0x292)];_0x5001bf<_0x5be537;_0x5001bf++){_0x3bcba3=arguments[_0x5001bf];for(var _0x246ab0 in _0x3bcba3)Object['prototype'][_0x1926d3(0x255)][_0x1926d3(0x13e)](_0x3bcba3,_0x246ab0)&&(_0x2a2dbf[_0x246ab0]=_0x3bcba3[_0x246ab0]);}return _0x2a2dbf;},_0x34413e['apply'](this,arguments);},_0x310461=function(_0x587a1d,_0x2b1cf1){const _0x28ecd4=_0x103a68;var _0x2d21a0={};for(var _0x16220f in _0x587a1d)Object[_0x28ecd4(0x2d9)]['hasOwnProperty'][_0x28ecd4(0x13e)](_0x587a1d,_0x16220f)&&_0x2b1cf1[_0x28ecd4(0x19e)](_0x16220f)<0x0&&(_0x2d21a0[_0x16220f]=_0x587a1d[_0x16220f]);if(_0x587a1d!=null&&typeof Object[_0x28ecd4(0x356)]=='function'){for(var _0xea4b2b=0x0,_0x16220f=Object[_0x28ecd4(0x356)](_0x587a1d);_0xea4b2b<_0x16220f[_0x28ecd4(0x292)];_0xea4b2b++)_0x2b1cf1[_0x28ecd4(0x19e)](_0x16220f[_0xea4b2b])<0x0&&Object['prototype'][_0x28ecd4(0xf4)]['call'](_0x587a1d,_0x16220f[_0xea4b2b])&&(_0x2d21a0[_0x16220f[_0xea4b2b]]=_0x587a1d[_0x16220f[_0xea4b2b]]);}return _0x2d21a0;},_0x164729=_0x542714[_0x103a68(0x270)](function(_0xf29a4a,_0x2c6973){const _0x97a416=_0x103a68;var _0x7a5147=_0xf29a4a[_0x97a416(0x1bd)],_0x3dd3a3=_0xf29a4a['id'],_0x9f16d4=_0xf29a4a['className'],_0x1f2d9f=_0xf29a4a[_0x97a416(0x21a)],_0x11f3c9=_0x310461(_0xf29a4a,['icon','id',_0x97a416(0x4a3),_0x97a416(0x21a)]),_0x12f452=_0x97a416(0x3c5)[_0x97a416(0x1ba)](_0x3dd3a3,'\x20')[_0x97a416(0x1ba)](_0x9f16d4||'')['trim'](),_0x435de2=_0x542714['useRef']('_'[_0x97a416(0x1ba)](_0x42c352()));return _0x58dc63(_0x7a5147,''[_0x97a416(0x1ba)](_0x3dd3a3),{'defIds':_0x7a5147[_0x97a416(0x26f)],'idSuffix':_0x435de2['current']},_0x34413e({'ref':_0x2c6973,'className':_0x12f452},_0x11f3c9),_0x1f2d9f);});function _0x58dc63(_0xcdb695,_0x45e27f,_0xfda93c,_0x25e971,_0xc98e31){const _0x1cb77b=_0x103a68;return _0x542714['createElement'](_0xcdb695[_0x1cb77b(0x48e)],_0x34413e(_0x34413e({'key':_0x45e27f},_0x22f68f(_0xcdb695,_0xfda93c,_0xc98e31)),_0x25e971),(_0x2875ff(_0xcdb695,_0xfda93c)[_0x1cb77b(0x164)]||[])['map'](function(_0xecb9b4,_0x57b04f){const _0x3ddbb0=_0x1cb77b;return _0x58dc63(_0xecb9b4,''[_0x3ddbb0(0x1ba)](_0x45e27f,'-')[_0x3ddbb0(0x1ba)](_0xcdb695['tag'],'-')[_0x3ddbb0(0x1ba)](_0x57b04f),_0xfda93c,void 0x0,_0xc98e31);}));}function _0x22f68f(_0x2b7cec,_0x2a05b7,_0x5b2940){const _0x4721de=_0x103a68;var _0x9324b7=_0x34413e({},_0x2b7cec[_0x4721de(0x1ab)]);_0x5b2940!=null&&_0x5b2940[_0x4721de(0xd4)]&&_0x9324b7[_0x4721de(0x453)]===_0x4721de(0xd4)&&(_0x9324b7[_0x4721de(0x453)]=_0x5b2940[_0x4721de(0xd4)]);var _0x543cd9=_0x2a05b7[_0x4721de(0x26f)];return!_0x543cd9||_0x543cd9[_0x4721de(0x292)]===0x0||(_0x2b7cec[_0x4721de(0x48e)]===_0x4721de(0x2ae)&&_0x9324b7[_0x4721de(0x163)]&&(_0x9324b7[_0x4721de(0x163)]=_0x9324b7[_0x4721de(0x163)]+_0x2a05b7['idSuffix']),Object[_0x4721de(0x426)](_0x9324b7)[_0x4721de(0x196)](function(_0x643d01){const _0x422319=_0x4721de;var _0x46789f=_0x643d01[0x0],_0x2d72fe=_0x643d01[0x1];typeof _0x2d72fe==_0x422319(0x46d)&&(_0x9324b7[_0x46789f]=_0x2d72fe[_0x422319(0xbe)](/url\(#(.*)\)/,_0x422319(0x41a)[_0x422319(0x1ba)](_0x2a05b7[_0x422319(0xfb)],')')));})),_0x9324b7;}function _0x2875ff(_0x3a0cd0,_0x595106){const _0x76ed04=_0x103a68;var _0x29e1ea,_0x2f293c=_0x595106[_0x76ed04(0x26f)];return!_0x2f293c||_0x2f293c[_0x76ed04(0x292)]===0x0?_0x3a0cd0:_0x3a0cd0[_0x76ed04(0x48e)]===_0x76ed04(0xaf)&&(!((_0x29e1ea=_0x3a0cd0[_0x76ed04(0x164)])===null||_0x29e1ea===void 0x0)&&_0x29e1ea[_0x76ed04(0x292)])?_0x34413e(_0x34413e({},_0x3a0cd0),{'children':_0x3a0cd0[_0x76ed04(0x164)]['map'](function(_0x3d90b6){const _0x935c20=_0x76ed04;return typeof _0x3d90b6[_0x935c20(0x1ab)]['id']==_0x935c20(0x46d)&&_0x2f293c&&_0x2f293c[_0x935c20(0x19e)](_0x3d90b6[_0x935c20(0x1ab)]['id'])>-0x1?_0x34413e(_0x34413e({},_0x3d90b6),{'attrs':_0x34413e(_0x34413e({},_0x3d90b6[_0x935c20(0x1ab)]),{'id':_0x3d90b6[_0x935c20(0x1ab)]['id']+_0x595106['idSuffix']})}):_0x3d90b6;})}):_0x3a0cd0;}function _0x42c352(){const _0x531142=_0x103a68;return Math['random']()[_0x531142(0xdd)](0x24)[_0x531142(0x425)](0x2,0x8);}_0x164729['displayName']=_0x103a68(0x304);var _0x2252ed={'tag':'svg','attrs':{'fill':_0x103a68(0x39f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x103a68(0x1d5)},'children':[{'tag':_0x103a68(0xd0),'attrs':{'stroke':_0x103a68(0xfa),'d':_0x103a68(0x332),'strokeLinecap':_0x103a68(0x458),'strokeLinejoin':_0x103a68(0x458),'strokeWidth':1.2}}]},{'tag':_0x103a68(0xaf),'attrs':{},'children':[{'tag':_0x103a68(0x439),'attrs':{'id':_0x103a68(0x19b)},'children':[{'tag':_0x103a68(0xd0),'attrs':{'fill':_0x103a68(0x184),'d':_0x103a68(0x36c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x2709cb=_0x542714['forwardRef'](function(_0x23285d,_0xb2e49a){const _0x24d48d=_0x103a68;return _0x542714[_0x24d48d(0xf8)](_0x164729,Object[_0x24d48d(0x4db)]({},_0x23285d,{'id':'off-line-single','ref':_0xb2e49a,'icon':_0x2252ed}));});_0x2709cb[_0x103a68(0x223)]=_0x103a68(0xc3);var _0x2bd8b4={'tag':_0x103a68(0xa9),'attrs':{'fill':_0x103a68(0x39f),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x103a68(0x2d6)},'children':[{'tag':'g','attrs':{'clipPath':_0x103a68(0x474)},'children':[{'tag':_0x103a68(0xd0),'attrs':{'stroke':_0x103a68(0xfa),'d':_0x103a68(0x370),'strokeLinecap':_0x103a68(0x458),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x103a68(0xaf),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x103a68(0x4dc)},'children':[{'tag':'path','attrs':{'fill':_0x103a68(0x184),'d':_0x103a68(0x36c),'transform':_0x103a68(0x2ff)}}]}]}],'defIds':[_0x103a68(0x4dc)]},_0x3a9e78=_0x542714[_0x103a68(0x270)](function(_0xdb0d96,_0x162a95){const _0x28f902=_0x103a68;return _0x542714['createElement'](_0x164729,Object[_0x28f902(0x4db)]({},_0xdb0d96,{'id':_0x28f902(0x303),'ref':_0x162a95,'icon':_0x2bd8b4}));});_0x3a9e78['displayName']='OnLineSingle';function _0x494c9b(_0x45688b){const _0x5d5efb=_0x103a68;var _0x5bb84d,_0x3a69b5,_0xa0468f='';if(typeof _0x45688b=='string'||typeof _0x45688b==_0x5d5efb(0x396))_0xa0468f+=_0x45688b;else{if(typeof _0x45688b=='object'){if(Array[_0x5d5efb(0x328)](_0x45688b)){var _0x5debf3=_0x45688b['length'];for(_0x5bb84d=0x0;_0x5bb84d<_0x5debf3;_0x5bb84d++)_0x45688b[_0x5bb84d]&&(_0x3a69b5=_0x494c9b(_0x45688b[_0x5bb84d]))&&(_0xa0468f&&(_0xa0468f+='\x20'),_0xa0468f+=_0x3a69b5);}else{for(_0x3a69b5 in _0x45688b)_0x45688b[_0x3a69b5]&&(_0xa0468f&&(_0xa0468f+='\x20'),_0xa0468f+=_0x3a69b5);}}}return _0xa0468f;}function _0x1f6c84(){const _0x395609=_0x103a68;for(var _0x5b237d,_0x323774,_0x49127e=0x0,_0x5f4513='',_0x1e4c5c=arguments[_0x395609(0x292)];_0x49127e<_0x1e4c5c;_0x49127e++)(_0x5b237d=arguments[_0x49127e])&&(_0x323774=_0x494c9b(_0x5b237d))&&(_0x5f4513&&(_0x5f4513+='\x20'),_0x5f4513+=_0x323774);return _0x5f4513;}const _0x2c9111={'onlineStatusIcon':_0x103a68(0x3dd),'onlineStatusTitle':_0x103a68(0x428),'onlineStatus':_0x103a68(0x357),'online':_0x103a68(0x167),'offline':'univer-offline'};function _0x436f0d(_0x309eae){const _0x16ce02=_0x103a68;switch(_0x309eae){case _0x4b41c3[_0x16ce02(0x314)]:return _0x16ce02(0xcd);case _0x4b41c3[_0x16ce02(0x24f)]:return'collabStatus.conflict';case _0x4b41c3[_0x16ce02(0x12d)]:return _0x16ce02(0x279);case _0x4b41c3[_0x16ce02(0x1df)]:return _0x16ce02(0x149);case _0x4b41c3[_0x16ce02(0x4d0)]:case _0x4b41c3[_0x16ce02(0x3b2)]:return _0x16ce02(0x126);case _0x4b41c3[_0x16ce02(0x31a)]:case _0x4b41c3['PENDING']:return _0x16ce02(0x3bb);}}function _0x9b641b(_0x429fb0){const _0xba7084=_0x103a68,{status$:_0x3ceb29}=_0x429fb0,_0xf97a3f=_0x29b1e2[_0xba7084(0x476)](_0x3ceb29,_0x4b41c3[_0xba7084(0x1df)]),_0x32af7c=_0x460a10[_0xba7084(0x18c)](_0x460a10[_0xba7084(0x176)]),_0x3a41aa=_0x460a10['useDependency'](_0x4e0bbf[_0xba7084(0x248)]),_0xe9391f=_0xf97a3f!==_0x4b41c3[_0xba7084(0x314)],_0x48db37=_0x32af7c['t'](_0x436f0d(_0xf97a3f)),_0x2cae8c=_0x1f6c84(_0x2c9111['onlineStatus'],{[_0x2c9111[_0xba7084(0x166)]]:_0xe9391f,[_0x2c9111[_0xba7084(0x44f)]]:!_0xe9391f}),_0x282ce4=_0xe9391f?_0x542714[_0xba7084(0xf8)](_0x3a9e78,null):_0x542714[_0xba7084(0xf8)](_0x2709cb,null),_0x2e08b7=_0x542714[_0xba7084(0x188)](()=>{const _0x21410d=_0xba7084;_0xe9391f||_0x3a41aa[_0x21410d(0x185)]();},[_0xe9391f,_0x3a41aa]);function _0x2bcf23(){const _0x49165c=_0xba7084;return _0x542714[_0x49165c(0xf8)]('div',{'className':_0x2cae8c,'onClick':_0x2e08b7},_0x542714[_0x49165c(0xf8)]('div',{'className':_0x2c9111[_0x49165c(0x434)]},_0x282ce4),_0x542714[_0x49165c(0xf8)](_0x49165c(0x1b8),{'className':_0x2c9111[_0x49165c(0x247)]},_0x48db37));}return _0xe9391f?_0x2bcf23():_0x542714[_0xba7084(0xf8)](_0x511ab8['Tooltip'],{'title':_0x32af7c['t'](_0xba7084(0x18b))},_0x2bcf23());}var _0x110266=Object['defineProperty'],_0x37ff43=Object[_0x103a68(0x138)],_0x5a0169=(_0x284830,_0xde2dc,_0x14c24c,_0x4a58a4)=>{const _0x2934ba=_0x103a68;for(var _0x4f0171=_0x4a58a4>0x1?void 0x0:_0x4a58a4?_0x37ff43(_0xde2dc,_0x14c24c):_0xde2dc,_0x4fa51e=_0x284830[_0x2934ba(0x292)]-0x1,_0x1c79e2;_0x4fa51e>=0x0;_0x4fa51e--)(_0x1c79e2=_0x284830[_0x4fa51e])&&(_0x4f0171=(_0x4a58a4?_0x1c79e2(_0xde2dc,_0x14c24c,_0x4f0171):_0x1c79e2(_0x4f0171))||_0x4f0171);return _0x4a58a4&&_0x4f0171&&_0x110266(_0xde2dc,_0x14c24c,_0x4f0171),_0x4f0171;},_0x59b89d=(_0x37f0f8,_0x3faddf)=>(_0x288cbd,_0x186a0e)=>_0x3faddf(_0x288cbd,_0x186a0e,_0x37f0f8);_0x4e0bbf[_0x103a68(0x22e)]=class extends _0x460a10[_0x103a68(0xd1)]{constructor(_0x2c8199,_0x5a7aff,_0x3f61c1,_0x360b51){const _0x3fea87=_0x103a68;super(),_0x519548(this,'_status$',new _0x22d14a[(_0x3fea87(0x23d))](_0x4b41c3[_0x3fea87(0x1df)])),(this[_0x3fea87(0x15d)]=_0x2c8199,this[_0x3fea87(0x26a)]=_0x5a7aff,this[_0x3fea87(0x165)]=_0x3f61c1,this[_0x3fea87(0x306)]=_0x360b51,this[_0x3fea87(0x49e)](),this[_0x3fea87(0x1ae)]());}[_0x103a68(0x1ae)](){const _0x4cce1e=_0x103a68;this['disposeWithMe'](this[_0x4cce1e(0x15d)][_0x4cce1e(0x1a7)]['pipe'](_0x22d14a[_0x4cce1e(0x26e)](()=>{const _0x516a66=_0x4cce1e,_0x3d27e2=this[_0x516a66(0x15d)][_0x516a66(0xe3)]();return _0x3d27e2?this[_0x516a66(0x306)]['getCollabEntity$'](_0x3d27e2['getUnitId']()):_0x22d14a['of'](null);}),_0x22d14a[_0x4cce1e(0x26e)](_0x59067f=>_0x59067f?_0x59067f['status$']:_0x22d14a['of'](_0x4b41c3['NOT_COLLAB'])))[_0x4cce1e(0x3d1)](_0x5c38d9=>{const _0x764db8=_0x4cce1e;this[_0x764db8(0x382)][_0x764db8(0x1bb)](_0x5c38d9);}));}[_0x103a68(0x49e)](){const _0x4855ae=_0x103a68;this[_0x4855ae(0x495)](this[_0x4855ae(0x26a)][_0x4855ae(0x4c1)](_0x29b1e2[_0x4855ae(0x466)][_0x4855ae(0x3d7)],()=>_0x460a10[_0x4855ae(0x198)](_0x35468({'status$':this[_0x4855ae(0x382)][_0x4855ae(0x1a5)]()}),this[_0x4855ae(0x165)])));}},_0x4e0bbf[_0x103a68(0x22e)]=_0x5a0169([_0x59b89d(0x0,_0x460a10[_0x103a68(0x347)]),_0x59b89d(0x1,_0x29b1e2[_0x103a68(0x352)]),_0x59b89d(0x2,_0x460a10['Inject'](_0x460a10[_0x103a68(0x15b)])),_0x59b89d(0x3,_0x460a10['Inject'](_0x4e0bbf['CollaborationController']))],_0x4e0bbf['DesktopCollaborationStatusDisplayController']);function _0x35468(_0x2442de){const {status$:_0x3bbfe7}=_0x2442de;return function(){const _0x372d8f=_0x5cd2;return _0x542714[_0x372d8f(0xf8)](_0x9b641b,{'status$':_0x3bbfe7});};}const _0x1b5909=_0x460a10[_0x103a68(0x36f)](_0x103a68(0x2c5));var _0x1f62d9=Object[_0x103a68(0x3a3)],_0xe78cef=Object[_0x103a68(0x138)],_0x5dadc6=(_0x37893d,_0x37b70a,_0x5161d4,_0x1ace6d)=>{const _0x5275e6=_0x103a68;for(var _0x200efd=_0x1ace6d>0x1?void 0x0:_0x1ace6d?_0xe78cef(_0x37b70a,_0x5161d4):_0x37b70a,_0x58a33d=_0x37893d[_0x5275e6(0x292)]-0x1,_0x14bde2;_0x58a33d>=0x0;_0x58a33d--)(_0x14bde2=_0x37893d[_0x58a33d])&&(_0x200efd=(_0x1ace6d?_0x14bde2(_0x37b70a,_0x5161d4,_0x200efd):_0x14bde2(_0x200efd))||_0x200efd);return _0x1ace6d&&_0x200efd&&_0x1f62d9(_0x37b70a,_0x5161d4,_0x200efd),_0x200efd;},_0x5aa9e0=(_0x477aa5,_0x4285b9)=>(_0x454779,_0xa67a1c)=>_0x4285b9(_0x454779,_0xa67a1c,_0x477aa5);_0x4e0bbf[_0x103a68(0x2f4)]=class extends _0x460a10[_0x103a68(0x16c)]{constructor(_0x33e4d3,_0x352c1a,_0x540dd6,_0xa6c82f,_0x3b9b60,_0x582658){const _0x31eb06=_0x103a68;super(),this[_0x31eb06(0x337)]=_0x33e4d3,this['_logService']=_0x352c1a,this[_0x31eb06(0x44e)]=_0x540dd6,this[_0x31eb06(0x386)]=_0xa6c82f,this['_snapshotService']=_0x3b9b60,_0x582658?_0x582658==null||_0x582658[_0x31eb06(0x3fe)]()['then'](()=>this['_init']()):(this[_0x31eb06(0x442)][_0x31eb06(0x1b4)](_0x31eb06(0x4a9),_0x31eb06(0x195)),this[_0x31eb06(0x194)]());}async[_0x103a68(0x194)](){const _0x218933=_0x103a68,_0x592f25=this['_urlService'][_0x218933(0xe4)](_0x218933(0x2a0)),_0x130fc5=this['_urlService'][_0x218933(0xe4)](_0x218933(0x483));if(!_0x592f25||!_0x130fc5){this[_0x218933(0x442)][_0x218933(0x1b4)](_0x218933(0x4a9),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x130fc5)){case _0x3907d0[_0x218933(0x329)]:{const _0x5a7c12=await this[_0x218933(0x25e)](_0x592f25);this['_setupSubUnitSync'](_0x5a7c12);break;}case _0x3907d0[_0x218933(0x208)]:{await this['_loadDoc'](_0x592f25);break;}default:{this[_0x218933(0x442)][_0x218933(0x35e)](_0x218933(0x4a9),_0x218933(0x143));break;}}}async[_0x103a68(0x446)](_0x3562fb){const _0x429c7e=_0x103a68;await this[_0x429c7e(0x2fb)](_0x3562fb),_0x3562fb[_0x429c7e(0xb7)]['pipe'](_0x22d14a['takeUntil'](this[_0x429c7e(0x20a)]))['subscribe'](_0x30d39f=>{_0x30d39f&&this['_updateURLWithCurrentState'](_0x30d39f);}),this['_urlService'][_0x429c7e(0x2c9)][_0x429c7e(0x3af)](_0x22d14a['takeUntil'](this[_0x429c7e(0x20a)]))['subscribe'](()=>this[_0x429c7e(0x2fb)](_0x3562fb));}['_updateURLWithCurrentState'](_0xb5d91d,_0xbe63d4=!0x1){const _0x2bf091=_0x103a68,_0x4a8b9e=this[_0x2bf091(0x337)]['getParam'](_0x2bf091(0x4ca));_0xb5d91d['getSheetId']()!==_0x4a8b9e&&this['_urlService'][_0x2bf091(0x2d5)]('subunit',_0xb5d91d[_0x2bf091(0x225)](),_0xbe63d4);}async['_updateSubUnitFromURLParams'](_0x51f1ac){const _0x24d06a=_0x103a68;var _0x169d44;const _0x1447e8=this[_0x24d06a(0x337)][_0x24d06a(0xe4)](_0x24d06a(0x4ca));if(!_0x1447e8||!_0x51f1ac['getSheetBySheetId'](_0x1447e8)){const _0x38ce28=_0x51f1ac[_0x24d06a(0x3bc)]()[0x0],_0x1c4904=_0x51f1ac[_0x24d06a(0x307)](_0x38ce28);if(!_0x1c4904)return;this[_0x24d06a(0x11f)](_0x1c4904,!0x0),await this[_0x24d06a(0x44e)]['executeCommand'](_0x57c232[_0x24d06a(0x1c0)]['id'],{'unitId':_0x51f1ac[_0x24d06a(0xf7)](),'subUnitId':_0x38ce28});return;}((_0x169d44=_0x51f1ac['getActiveSheet']())==null?void 0x0:_0x169d44[_0x24d06a(0x225)]())!==_0x1447e8&&await this[_0x24d06a(0x44e)][_0x24d06a(0x3ab)](_0x57c232[_0x24d06a(0x1c0)]['id'],{'unitId':_0x51f1ac[_0x24d06a(0xf7)](),'subUnitId':_0x1447e8});}async[_0x103a68(0x25e)](_0x38d96e){const _0x2a6572=_0x103a68;let _0x2a0f03=0x0;const _0x2bbe6f=await this['_localCacheService'][_0x2a6572(0x203)](_0x38d96e);return _0x2bbe6f&&(_0x2bbe6f[_0x2a6572(0x3ae)]||_0x2bbe6f[_0x2a6572(0x274)]['length']!==0x0)&&(_0x2a0f03=_0x2bbe6f[_0x2a6572(0x2dd)]),_0x2a0f03===0x0&&this[_0x2a6572(0x442)][_0x2a6572(0x1b4)](_0x2a6572(0x4a9),_0x2a6572(0x392)),this[_0x2a6572(0x390)][_0x2a6572(0x406)](_0x38d96e,_0x2a0f03);}async['_loadDoc'](_0x2c55a6){const _0x24fc31=_0x103a68;let _0x2bc800=0x0;const _0x760d5d=await this[_0x24fc31(0x386)]['loadOfflineData'](_0x2c55a6);return _0x760d5d&&(_0x760d5d['awaitingChangeset']||_0x760d5d[_0x24fc31(0x274)][_0x24fc31(0x292)]!==0x0)&&(_0x2bc800=_0x760d5d[_0x24fc31(0x2dd)]),_0x2bc800===0x0&&this['_logService'][_0x24fc31(0x1b4)](_0x24fc31(0x4a9),_0x24fc31(0x392)),this[_0x24fc31(0x390)][_0x24fc31(0x3fd)](_0x2c55a6,_0x2bc800);}},_0x4e0bbf['DataLoaderController']=_0x5dadc6([_0x5aa9e0(0x0,_0x1b5909),_0x5aa9e0(0x1,_0x460a10['ILogService']),_0x5aa9e0(0x2,_0x460a10[_0x103a68(0x134)]),_0x5aa9e0(0x3,_0x460a10[_0x103a68(0x310)](_0x4e0bbf[_0x103a68(0x2b4)])),_0x5aa9e0(0x4,_0x460a10[_0x103a68(0x310)](_0x162fdb[_0x103a68(0x241)])),_0x5aa9e0(0x5,_0x460a10[_0x103a68(0x152)](_0x5bcab3['IRemoteInstanceService']))],_0x4e0bbf[_0x103a68(0x2f4)]);var _0xa9ebf1=Object[_0x103a68(0x3a3)],_0x393cdd=Object[_0x103a68(0x138)],_0x1b5af7=(_0x491dd7,_0x33e11d,_0x217c26,_0x242dfa)=>{const _0x30c575=_0x103a68;for(var _0x3f6464=_0x242dfa>0x1?void 0x0:_0x242dfa?_0x393cdd(_0x33e11d,_0x217c26):_0x33e11d,_0x2ce5ab=_0x491dd7[_0x30c575(0x292)]-0x1,_0xe43ab;_0x2ce5ab>=0x0;_0x2ce5ab--)(_0xe43ab=_0x491dd7[_0x2ce5ab])&&(_0x3f6464=(_0x242dfa?_0xe43ab(_0x33e11d,_0x217c26,_0x3f6464):_0xe43ab(_0x3f6464))||_0x3f6464);return _0x242dfa&&_0x3f6464&&_0xa9ebf1(_0x33e11d,_0x217c26,_0x3f6464),_0x3f6464;},_0x526bbb=(_0x55c0c7,_0x111d52)=>(_0x29eafc,_0xefbea1)=>_0x111d52(_0x29eafc,_0xefbea1,_0x55c0c7);const _0x3f3bf4=_0x103a68(0x29f),_0x2f36da=_0x103a68(0x226);let _0x1862e6=class extends _0x460a10['Disposable']{constructor(_0x3b0aff,_0x419b22){const _0x9bbca2=_0x103a68;super(),this[_0x9bbca2(0x15d)]=_0x3b0aff,this[_0x9bbca2(0x153)]=_0x419b22,this[_0x9bbca2(0x194)]();}[_0x103a68(0x194)](){const _0xf4d36c=_0x103a68;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0xf4d36c(0x3d1)](()=>{const _0x37e44b=_0xf4d36c;var _0x48ffe6;const _0x462a4c=this[_0x37e44b(0x15d)]['getFocusedUnit']();let _0x28cfc5=(_0x48ffe6=this[_0x37e44b(0x153)]['getConfig'](_0x3f3bf4))!=null?_0x48ffe6:_0x2f36da;_0x462a4c instanceof _0x460a10[_0x37e44b(0x147)]&&(_0x28cfc5=_0x462a4c[_0x37e44b(0x3e2)]),document['title']=_0x28cfc5;}));}};_0x1862e6=_0x1b5af7([_0x526bbb(0x0,_0x460a10[_0x103a68(0x347)]),_0x526bbb(0x1,_0x460a10[_0x103a68(0x3e3)])],_0x1862e6);var _0x173e17=Object[_0x103a68(0x3a3)],_0x2099a4=Object[_0x103a68(0x138)],_0x322eb9=(_0x2739ff,_0x3f8646,_0xecf9f9,_0x914a98)=>{const _0x514738=_0x103a68;for(var _0xba6518=_0x914a98>0x1?void 0x0:_0x914a98?_0x2099a4(_0x3f8646,_0xecf9f9):_0x3f8646,_0x32701e=_0x2739ff[_0x514738(0x292)]-0x1,_0x593faa;_0x32701e>=0x0;_0x32701e--)(_0x593faa=_0x2739ff[_0x32701e])&&(_0xba6518=(_0x914a98?_0x593faa(_0x3f8646,_0xecf9f9,_0xba6518):_0x593faa(_0xba6518))||_0xba6518);return _0x914a98&&_0xba6518&&_0x173e17(_0x3f8646,_0xecf9f9,_0xba6518),_0xba6518;},_0x2aa018=(_0x49b0a9,_0x49935f)=>(_0x5efad4,_0x1d8c46)=>_0x49935f(_0x5efad4,_0x1d8c46,_0x49b0a9);let _0x2400eb=class{constructor(_0x59025a,_0x1ac67b,_0x39353f){const _0x3212e5=_0x103a68;this[_0x3212e5(0x153)]=_0x59025a,this[_0x3212e5(0x299)]=_0x1ac67b,this[_0x3212e5(0x2ab)]=_0x39353f,this[_0x3212e5(0x40b)]();}[_0x103a68(0x40b)](){const _0x59c2ce=_0x103a68;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x26e640,_0x384891)=>_0x384891(_0x26e640)[_0x59c2ce(0x3af)](_0x22d14a[_0x59c2ce(0xfc)](async _0x5ac79b=>{const _0x46470c=_0x59c2ce,_0x38806c=_0x5ac79b;if(_0x38806c[_0x46470c(0x45e)]===0x191&&window['confirm'](this['localeService']['t'](_0x46470c(0x1e7)))){const _0x5d11e4=window['encodeURIComponent'](window['location'][_0x46470c(0x3e9)]);window[_0x46470c(0x1fb)]['href']=this['_getLoginPath']()+_0x46470c(0x31f)+_0x5d11e4;}return _0x38806c;}))});}['_getLoginPath'](){const _0x387533=_0x103a68;var _0x462e22,_0x21232c;const _0x550e13=this[_0x387533(0x153)][_0x387533(0x20d)](_0x17be73),_0x5a5f6d=this[_0x387533(0x153)]['getConfig'](_0x49305e);return(_0x21232c=(_0x462e22=_0x5a5f6d==null?void 0x0:_0x5a5f6d[_0x387533(0x487)])!=null?_0x462e22:_0x550e13)!=null?_0x21232c:_0x2d0494;}};_0x2400eb=_0x322eb9([_0x2aa018(0x0,_0x460a10[_0x103a68(0x3e3)]),_0x2aa018(0x1,_0x460a10[_0x103a68(0x310)](_0x4b5b88['HTTPService'])),_0x2aa018(0x2,_0x460a10[_0x103a68(0x310)](_0x460a10['LocaleService']))],_0x2400eb);var _0x3eccee=Object[_0x103a68(0x3a3)],_0x4d9652=Object['getOwnPropertyDescriptor'],_0x7875e1=(_0x52fa11,_0x5f3b70,_0x2dbc61,_0x5c81a9)=>{for(var _0x2aaf8a=_0x5c81a9>0x1?void 0x0:_0x5c81a9?_0x4d9652(_0x5f3b70,_0x2dbc61):_0x5f3b70,_0x46234c=_0x52fa11['length']-0x1,_0x19330c;_0x46234c>=0x0;_0x46234c--)(_0x19330c=_0x52fa11[_0x46234c])&&(_0x2aaf8a=(_0x5c81a9?_0x19330c(_0x5f3b70,_0x2dbc61,_0x2aaf8a):_0x19330c(_0x2aaf8a))||_0x2aaf8a);return _0x5c81a9&&_0x2aaf8a&&_0x3eccee(_0x5f3b70,_0x2dbc61,_0x2aaf8a),_0x2aaf8a;},_0x45d7d9=(_0x317b74,_0x14d3b6)=>(_0x2caca6,_0x439941)=>_0x14d3b6(_0x2caca6,_0x439941,_0x317b74);const _0x38552d=_0x103a68(0x462),_0x2e56d0='/universer-api/authz';_0x4e0bbf[_0x103a68(0x21d)]=class extends _0x460a10[_0x103a68(0xd1)]{constructor(_0x2bd0f6,_0x43f8d5){const _0x22c929=_0x103a68;super(),this[_0x22c929(0xf0)]=_0x2bd0f6,this[_0x22c929(0x153)]=_0x43f8d5,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0x40b5e7=_0x103a68,_0x272ddd=this;this[_0x40b5e7(0x495)](this['_HTTPService'][_0x40b5e7(0xd3)]({'priority':0x3e7,'interceptor':_0x4b5b88['MergeInterceptorFactory']({'isMatch'(_0x5d2f72){const _0x23948b=_0x40b5e7;var _0xb69c83;if(_0x5d2f72[_0x23948b(0x2d3)]==='POST'&&((_0xb69c83=_0x5d2f72[_0x23948b(0x363)])!=null&&_0xb69c83[_0x23948b(0x103)])){const {objectID:_0x12ac95,objectType:_0x3ac125}=_0x5d2f72[_0x23948b(0x363)][_0x23948b(0x103)]||{};if(!_0x12ac95||_0x3ac125===void 0x0)return!0x1;const _0x508394=_0x272ddd['_getAPIPrefixPath']()+'/'+_0x3ac125+'/object/'+_0x12ac95+'/allowed';if(_0x5d2f72[_0x23948b(0x14c)]===_0x508394)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x43f50b){const _0x704b7c=_0x40b5e7;var _0x2578af;return(_0x2578af=_0x43f50b[_0x704b7c(0x363)])==null?void 0x0:_0x2578af[_0x704b7c(0x103)];},'mergeParamsToRequest'(_0x171ce9,_0x5a874f){const _0x31baa3=_0x40b5e7,_0x1eda7f=_0x272ddd[_0x31baa3(0x3a9)]()+_0x31baa3(0xef),_0xa5bac9=_0x171ce9[_0x31baa3(0x214)]((_0x17292d,_0x2ac2bb)=>{const _0xffcfb8=_0x31baa3,{unitID:_0x498216,objectID:_0x582b86,objectType:_0x444b1c,actions:_0x26610f}=_0x2ac2bb;return _0x17292d[_0x498216]||(_0x17292d[_0x498216]={}),_0x17292d[_0x498216][_0x582b86]||(_0x17292d[_0x498216][_0x582b86]={'objectID':_0x582b86,'objectType':_0x444b1c,'actions':[]}),_0x17292d[_0x498216][_0x582b86][_0xffcfb8(0x4da)]['push'](..._0x26610f),_0x17292d;},{}),_0x170f0f=[];for(const _0x12a975 in _0xa5bac9)for(const _0x1e1502 in _0xa5bac9[_0x12a975]){const {actions:_0x402b72,objectType:_0x382e60}=_0xa5bac9[_0x12a975][_0x1e1502],_0x504d5d=[...new Set(_0x402b72)];_0x170f0f[_0x31baa3(0x420)]({'unitID':_0x12a975,'objectID':_0x1e1502,'objectType':_0x382e60,'actions':_0x504d5d});}return new _0x4b5b88[(_0x31baa3(0xb4))](_0x31baa3(0x430),_0x1eda7f,{'headers':_0x5a874f[_0x31baa3(0x433)],'withCredentials':_0x5a874f['withCredentials'],'responseType':_0x5a874f[_0x31baa3(0x283)],'body':{'requests':_0x170f0f}});}},{'distributeResult'(_0x48ff6a,_0x451358){const _0x3d555b=_0x40b5e7,{objectActions:_0x35b263}=_0x48ff6a;return _0x451358[_0x3d555b(0x38a)](_0x4c475d=>{const _0x1072ed=_0x3d555b,{unitID:_0x4d6cdc,objectID:_0x57f364,actions:_0x598587}=_0x4c475d,_0x2ef9b0=_0x35b263[_0x1072ed(0x257)](_0x100488=>_0x100488[_0x1072ed(0x19c)]===_0x4d6cdc&&_0x100488[_0x1072ed(0x4b0)]===_0x57f364),_0x4ff4ae=_0x598587[_0x1072ed(0x38a)](_0x3e94a8=>_0x2ef9b0==null?void 0x0:_0x2ef9b0[_0x1072ed(0x4da)]['find'](_0x35051a=>_0x35051a[_0x1072ed(0x31b)]===_0x3e94a8))['filter'](_0x2bfe7f=>!!_0x2bfe7f);return{'config':_0x4c475d,'result':{'actions':_0x4ff4ae,'error':_0x48ff6a[_0x1072ed(0x35e)]}};});}})}));}['_getAPIPrefixPath'](){const _0x136bdb=_0x103a68;var _0x4522fb,_0x507fd0;const _0x4bb873=this[_0x136bdb(0x153)][_0x136bdb(0x20d)](_0x38552d),_0x7a2c40=this['_configService'][_0x136bdb(0x20d)](_0x49305e);return(_0x507fd0=(_0x4522fb=_0x7a2c40==null?void 0x0:_0x7a2c40['authzUrl'])!=null?_0x4522fb:_0x4bb873)!=null?_0x507fd0:_0x2e56d0;}async['create'](_0x4fc10e){const _0x530985=_0x103a68,_0x23bc40=this[_0x530985(0x3a9)]()+'/'+_0x4fc10e[_0x530985(0x300)]+_0x530985(0x244);return(await this[_0x530985(0xf0)][_0x530985(0x330)](_0x23bc40,{'body':_0x4fc10e}))[_0x530985(0x103)][_0x530985(0x4b0)]||'';}async[_0x103a68(0x20b)](_0xe4bbd9){const _0x1183a0=_0x103a68,_0x1b4c41=this[_0x1183a0(0x3a9)]()+'/-/object/list';return(await this[_0x1183a0(0xf0)][_0x1183a0(0x330)](_0x1b4c41,{'body':_0xe4bbd9}))[_0x1183a0(0x103)][_0x1183a0(0x13f)];}async[_0x103a68(0x4b8)](_0x2db257){const _0x166601=_0x103a68,_0x506162=this[_0x166601(0x3a9)]()+'/'+_0x2db257[_0x166601(0x300)]+_0x166601(0x15a)+_0x2db257[_0x166601(0x4b0)];await this[_0x166601(0xf0)][_0x166601(0x35a)](_0x506162,{'body':_0x2db257});}async[_0x103a68(0x23c)](_0x464a2c){const _0x51e646=_0x103a68,_0xfaa40f=this[_0x51e646(0x3a9)]()+'/'+_0x464a2c[_0x51e646(0x300)]+_0x51e646(0x15a)+_0x464a2c[_0x51e646(0x4b0)]+'/allowed';return(await this[_0x51e646(0xf0)][_0x51e646(0x330)](_0xfaa40f,{'body':_0x464a2c}))[_0x51e646(0x103)]['actions'];}async[_0x103a68(0x2a5)](_0x152371){const _0x4bf0ef=_0x103a68,_0xc7a62c=this[_0x4bf0ef(0x3a9)]()+_0x4bf0ef(0xef);return(await this[_0x4bf0ef(0xf0)]['post'](_0xc7a62c,{'body':{'requests':_0x152371}}))[_0x4bf0ef(0x103)]['objectActions'];}async[_0x103a68(0x349)](_0x5da565){const _0x58c61b=_0x103a68,_0x68a3c3=this[_0x58c61b(0x3a9)]()+'/'+_0x5da565['objectType']+_0x58c61b(0xf5),_0x200351=await this['_HTTPService'][_0x58c61b(0x330)](_0x68a3c3,{'body':_0x5da565});return{'roles':_0x200351[_0x58c61b(0x103)][_0x58c61b(0x436)],'actions':_0x200351[_0x58c61b(0x103)][_0x58c61b(0x4da)]};}async[_0x103a68(0x26d)](_0x28526b){const _0x4c61c9=_0x103a68,_0x164834=this['_getAPIPrefixPath']()+_0x4c61c9(0x2bd);await this[_0x4c61c9(0xf0)][_0x4c61c9(0xe0)](_0x164834,{'params':{'collaboratorID':_0x28526b[_0x4c61c9(0x145)],'objectID':_0x28526b[_0x4c61c9(0x4b0)],'unitID':_0x28526b['unitID']}});}async['updateCollaborator'](_0x4d3571){const _0xa7f480=_0x103a68,_0x28d70c=this[_0xa7f480(0x3a9)]()+_0xa7f480(0x2bd);await this[_0xa7f480(0xf0)][_0xa7f480(0x2e5)](_0x28d70c,{'body':_0x4d3571});}async[_0x103a68(0x3d9)](_0x139257){const _0x45b2aa=_0x103a68,_0x2abc4d=this[_0x45b2aa(0x3a9)]()+_0x45b2aa(0x2bd);await this[_0x45b2aa(0xf0)][_0x45b2aa(0x330)](_0x2abc4d,{'body':_0x139257});}async[_0x103a68(0x23b)](_0x4fe2d2){const _0x239d75=_0x103a68,_0x2ac761=this[_0x239d75(0x3a9)]()+_0x239d75(0x2bd);return(await this[_0x239d75(0xf0)]['get'](_0x2ac761,{'params':{'objectID':_0x4fe2d2['objectID'],'unitID':_0x4fe2d2['unitID']}}))[_0x239d75(0x103)]['collaborators'];}async[_0x103a68(0x335)](_0x2ce62d){const _0x1488ed=_0x103a68,_0x3aca50=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1488ed(0xf0)][_0x1488ed(0x35a)](_0x3aca50,{'body':_0x2ce62d});}},_0x4e0bbf['AuthzIoHttpService']=_0x7875e1([_0x45d7d9(0x0,_0x460a10['Inject'](_0x4b5b88[_0x103a68(0x2b2)])),_0x45d7d9(0x1,_0x460a10['Inject'](_0x460a10[_0x103a68(0x3e3)]))],_0x4e0bbf['AuthzIoHttpService']);var _0xc7f6e1=Object['defineProperty'],_0x317c75=Object[_0x103a68(0x138)],_0x589781=(_0x179119,_0x1443c9,_0x228923,_0x4e4fcb)=>{const _0x1208e6=_0x103a68;for(var _0x96eaff=_0x4e4fcb>0x1?void 0x0:_0x4e4fcb?_0x317c75(_0x1443c9,_0x228923):_0x1443c9,_0x5aaaaf=_0x179119[_0x1208e6(0x292)]-0x1,_0x53ac1e;_0x5aaaaf>=0x0;_0x5aaaaf--)(_0x53ac1e=_0x179119[_0x5aaaaf])&&(_0x96eaff=(_0x4e4fcb?_0x53ac1e(_0x1443c9,_0x228923,_0x96eaff):_0x53ac1e(_0x96eaff))||_0x96eaff);return _0x4e4fcb&&_0x96eaff&&_0xc7f6e1(_0x1443c9,_0x228923,_0x96eaff),_0x96eaff;},_0x54fe26=(_0x2ce59e,_0x1c99ed)=>(_0x5efb79,_0x2b813f)=>_0x1c99ed(_0x5efb79,_0x2b813f,_0x2ce59e);let _0x3a4588=class{constructor(_0x538c96){const _0x6b2f19=_0x103a68;this[_0x6b2f19(0x299)]=_0x538c96,this[_0x6b2f19(0x339)]();}[_0x103a68(0x339)](){const _0x46b66c=_0x103a68;this['_httpService'][_0x46b66c(0xd3)]({'interceptor':(_0x1a7bcd,_0x2daaf9)=>{const _0x158db9=_0x46b66c,_0x2387a2=_0x1a7bcd[_0x158db9(0x433)],_0x230c4c=_0x3c3026[_0x158db9(0x497)]();return _0x230c4c&&_0x2387a2['set'](_0x158db9(0x157),_0x230c4c),_0x2daaf9(_0x1a7bcd);}});}};_0x3a4588=_0x589781([_0x54fe26(0x0,_0x460a10[_0x103a68(0x310)](_0x4b5b88[_0x103a68(0x2b2)]))],_0x3a4588);var _0x3b6675=Object[_0x103a68(0x3a3)],_0x208042=Object[_0x103a68(0x138)],_0x162c31=(_0x5ea768,_0x18f2d9,_0x2c3273,_0x313371)=>{const _0x29f1d0=_0x103a68;for(var _0x58064f=_0x313371>0x1?void 0x0:_0x313371?_0x208042(_0x18f2d9,_0x2c3273):_0x18f2d9,_0xcf8afd=_0x5ea768[_0x29f1d0(0x292)]-0x1,_0xafdc6d;_0xcf8afd>=0x0;_0xcf8afd--)(_0xafdc6d=_0x5ea768[_0xcf8afd])&&(_0x58064f=(_0x313371?_0xafdc6d(_0x18f2d9,_0x2c3273,_0x58064f):_0xafdc6d(_0x58064f))||_0x58064f);return _0x313371&&_0x58064f&&_0x3b6675(_0x18f2d9,_0x2c3273,_0x58064f),_0x58064f;},_0x589a60=(_0x1b7bf2,_0x51c02c)=>(_0x1c3036,_0x300e39)=>_0x51c02c(_0x1c3036,_0x300e39,_0x1b7bf2);const _0x2cd241=[_0x103a68(0x280),_0x103a68(0x1f3),_0x103a68(0x3c4),_0x103a68(0x1d9),_0x103a68(0x2fd)],_0x3cbed4=0x5*0x400*0x400,_0xe3eaab=_0x103a68(0x424),_0x3a0e9d='/universer-api/stream/file/upload',_0x2d5748=_0x103a68(0x2a4),_0xb3fe3b='/universer-api/file/{fileID}/sign-url';_0x4e0bbf[_0x103a68(0x217)]=class{constructor(_0x353836,_0x5a7483,_0x441091){const _0x4dcbab=_0x103a68;_0x519548(this,_0x4dcbab(0x28d),0x0),_0x519548(this,'_change$',new _0x22d14a['Subject']()),_0x519548(this,_0x4dcbab(0x17c),this[_0x4dcbab(0x30c)]),_0x519548(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x353836,this['_configService']=_0x5a7483,this[_0x4dcbab(0x15d)]=_0x441091);}['setWaitCount'](_0x43dc43){const _0x516fac=_0x103a68;this['_waitCount']=_0x43dc43,this[_0x516fac(0x30c)][_0x516fac(0x1bb)](_0x43dc43);}[_0x103a68(0x23a)](_0x4bafd3,_0x4a60ea){const _0xb4c512=_0x103a68;if(_0x4a60ea===_0x39a60b[_0xb4c512(0xca)][_0xb4c512(0x2f7)]){const _0x4caa4b=new Image();return _0x4caa4b['src']=_0x4bafd3,_0x4caa4b;}return this[_0xb4c512(0x3b7)]['get'](_0x4bafd3);}[_0x103a68(0x3b8)](_0x4bf55f,_0x2b2204,_0x3adc37){const _0x1c38ba=_0x103a68;_0x2b2204===_0x39a60b[_0x1c38ba(0xca)][_0x1c38ba(0x2f7)]||_0x3adc37==null||this[_0x1c38ba(0x3b7)][_0x1c38ba(0x29c)](_0x4bf55f,_0x3adc37);}async[_0x103a68(0xff)](_0x13e2ef){const _0x13b6e2=_0x103a68;try{const _0x17cc60=this['_replaceFileID'](this['_getSignURL'](),''+_0x13e2ef),_0x3753b0=(await this[_0x13b6e2(0x299)][_0x13b6e2(0x1c8)](_0x17cc60))[_0x13b6e2(0x103)];if(_0x3753b0[_0x13b6e2(0x35e)]&&_0x3753b0[_0x13b6e2(0x35e)]['code']===_0x48b06d['OK']){const _0x2e2335=new URL(_0x3753b0[_0x13b6e2(0x14c)],this[_0x13b6e2(0x49c)]())[_0x13b6e2(0xdd)]();return Promise[_0x13b6e2(0x181)](_0x2e2335);}return Promise[_0x13b6e2(0x452)](_0x3753b0[_0x13b6e2(0x35e)]);}catch(_0x549a86){return Promise[_0x13b6e2(0x452)](_0x549a86);}}async['saveImage'](_0x4b503d){const _0x4098fb=_0x103a68;let _0x14f053='';if(!_0x2cd241[_0x4098fb(0x3d6)](_0x4b503d['type']))return this[_0x4098fb(0x298)](),Promise[_0x4098fb(0x452)](new Error(_0x39a60b[_0x4098fb(0x473)][_0x4098fb(0x393)]));if(_0x4b503d[_0x4098fb(0x150)]>_0x3cbed4)return this[_0x4098fb(0x298)](),Promise['reject'](new Error(_0x39a60b[_0x4098fb(0x473)][_0x4098fb(0x175)]));try{const _0x57c269=new FormData();_0x57c269[_0x4098fb(0x117)](_0x4098fb(0x358),_0x4b503d);const _0x2afc9a=this['_univerInstanceService']['getFocusedUnit'](),_0x501bc2=_0x2afc9a==null?void 0x0:_0x2afc9a[_0x4098fb(0xf7)]();if(!_0x501bc2)throw new Error(_0x4098fb(0x1ea));const _0x5ccad1=this[_0x4098fb(0x301)]()+_0x4098fb(0x1ad)+_0x4b503d[_0x4098fb(0x150)][_0x4098fb(0xdd)]()+_0x4098fb(0x1ce)+_0x46e1d8[_0x4098fb(0x4b1)]+'&assign='+encodeURIComponent(_0x501bc2),_0x14a10d=await(await fetch(_0x5ccad1,{'method':_0x4098fb(0x430),'body':_0x57c269}))[_0x4098fb(0x259)]();if(typeof _0x14a10d[_0x4098fb(0x4bf)]!=_0x4098fb(0x46d))return this['_decreaseWaiting'](),Promise[_0x4098fb(0x452)](new Error(_0x39a60b[_0x4098fb(0x473)][_0x4098fb(0xdf)]));_0x14f053=_0x14a10d[_0x4098fb(0x4bf)];}catch{return this['_decreaseWaiting'](),Promise[_0x4098fb(0x452)](new Error(_0x39a60b[_0x4098fb(0x473)][_0x4098fb(0xdf)]));}return new Promise((_0x284c32,_0x4156ed)=>{const _0x40360c=_0x4098fb,_0x4cf4b0=new FileReader();_0x4cf4b0['readAsDataURL'](_0x4b503d),_0x4cf4b0[_0x40360c(0x312)]=_0x3988a4=>{const _0x157bee=_0x40360c;var _0x111c4c;const _0x27e2b9=(_0x111c4c=_0x3988a4[_0x157bee(0x359)])==null?void 0x0:_0x111c4c[_0x157bee(0x3a4)];if(_0x27e2b9==null){this['_decreaseWaiting'](),_0x4156ed(new Error(_0x39a60b[_0x157bee(0x473)][_0x157bee(0xdf)]));return;}const _0x5ca0ab=_0x460a10['Tools']['generateRandomId'](0x6);_0x284c32({'imageId':_0x5ca0ab,'imageSourceType':_0x39a60b[_0x157bee(0xca)]['UUID'],'source':_0x14f053,'base64Cache':_0x27e2b9,'status':_0x39a60b[_0x157bee(0x473)]['SUCCUSS']}),this[_0x157bee(0x298)]();};});}['_getUploadFileURL'](){const _0x513100=_0x103a68;var _0x500bb0,_0x31c680;const _0x2fa2a9=this['_configService'][_0x513100(0x20d)](_0xe3eaab),_0x452125=this[_0x513100(0x153)][_0x513100(0x20d)](_0x49305e);return(_0x31c680=(_0x500bb0=_0x452125==null?void 0x0:_0x452125[_0x513100(0x4de)])!=null?_0x500bb0:_0x2fa2a9)!=null?_0x31c680:_0x3a0e9d;}[_0x103a68(0x4a7)](){const _0x3af3a6=_0x103a68;var _0x174a69,_0x2ce21e;const _0x42d712=this[_0x3af3a6(0x153)][_0x3af3a6(0x20d)](_0x2d5748),_0x11232e=this[_0x3af3a6(0x153)][_0x3af3a6(0x20d)](_0x49305e);return(_0x2ce21e=(_0x174a69=_0x11232e==null?void 0x0:_0x11232e['signUrlServerUrl'])!=null?_0x174a69:_0x42d712)!=null?_0x2ce21e:_0xb3fe3b;}[_0x103a68(0x49c)](){const _0x5236b9=_0x103a68;var _0x4fab8a;const _0x43c02e=this['_configService']['getConfig'](_0x49305e);return(_0x4fab8a=_0x43c02e==null?void 0x0:_0x43c02e[_0x5236b9(0x1b1)])!=null?_0x4fab8a:location['origin'];}[_0x103a68(0x3f4)](_0x541f5f,_0x5d75f9){const _0x58e23b=_0x103a68;return _0x541f5f[_0x58e23b(0xbe)]('{fileID}',_0x5d75f9);}[_0x103a68(0x298)](){const _0xa6ae86=_0x103a68;this[_0xa6ae86(0x28d)]-=0x1,this[_0xa6ae86(0x30c)]['next'](this[_0xa6ae86(0x28d)]);}},_0x4e0bbf[_0x103a68(0x217)]=_0x162c31([_0x589a60(0x0,_0x460a10[_0x103a68(0x310)](_0x4b5b88[_0x103a68(0x2b2)])),_0x589a60(0x1,_0x460a10[_0x103a68(0x3e3)]),_0x589a60(0x2,_0x460a10['Inject'](_0x460a10[_0x103a68(0x347)]))],_0x4e0bbf[_0x103a68(0x217)]);var _0x1cec31=Object[_0x103a68(0x3a3)],_0xa1e667=Object['getOwnPropertyDescriptor'],_0xf0a35b=(_0x16599d,_0x580c27,_0x104bd7,_0x341f21)=>{for(var _0x4d4b11=_0x341f21>0x1?void 0x0:_0x341f21?_0xa1e667(_0x580c27,_0x104bd7):_0x580c27,_0x85852f=_0x16599d['length']-0x1,_0x613aa0;_0x85852f>=0x0;_0x85852f--)(_0x613aa0=_0x16599d[_0x85852f])&&(_0x4d4b11=(_0x341f21?_0x613aa0(_0x580c27,_0x104bd7,_0x4d4b11):_0x613aa0(_0x4d4b11))||_0x4d4b11);return _0x341f21&&_0x4d4b11&&_0x1cec31(_0x580c27,_0x104bd7,_0x4d4b11),_0x4d4b11;},_0x294786=(_0x4c30cb,_0x522849)=>(_0x61133,_0x3d64da)=>_0x522849(_0x61133,_0x3d64da,_0x4c30cb);let _0x4fbdc6=class extends _0x460a10[_0x103a68(0x16c)]{constructor(_0x214960,_0x5be673,_0x2ba359,_0x3d49b5,_0x1e68bb){const _0x35cdaa=_0x103a68;super(),this[_0x35cdaa(0x165)]=_0x214960,this[_0x35cdaa(0x15d)]=_0x5be673,this[_0x35cdaa(0x467)]=_0x2ba359,this['_collaborationSessionService']=_0x3d49b5,this[_0x35cdaa(0x136)]=_0x1e68bb,this[_0x35cdaa(0x2b7)](),this[_0x35cdaa(0x4df)]();}[_0x103a68(0x4df)](){const _0x159d33=_0x103a68,_0x868777=async _0x4045dc=>{const _0x2921ba=_0x5cd2;(await this[_0x2921ba(0xc6)]['requireSession'](_0x4045dc))[_0x2921ba(0x1e1)][_0x2921ba(0x3af)](_0x436c5c[_0x2921ba(0x162)](_0x88e9ab=>_0x88e9ab[_0x2921ba(0x2fe)]===_0x162fdb[_0x2921ba(0x26c)][_0x2921ba(0x1d3)]),_0x436c5c[_0x2921ba(0x415)](this[_0x2921ba(0x20a)]))[_0x2921ba(0x3d1)](_0x2992c4=>{const _0x50b4ae=_0x2921ba,_0xc726b7=_0x2992c4,{reason:_0x20e4f8}=_0xc726b7[_0x50b4ae(0x47f)];this[_0x50b4ae(0x165)][_0x50b4ae(0x1c8)](_0x29b1e2[_0x50b4ae(0x43f)])[_0x50b4ae(0x410)]({'type':_0x511ab8[_0x50b4ae(0x4cd)][_0x50b4ae(0x290)],'content':this['_localeService']['t'](_0x50b4ae(0x275))+'('+_0x20e4f8+')'}),this['_permissionService'][_0x50b4ae(0x4c2)](new _0x57c232[(_0x50b4ae(0x4ae))](_0x4045dc)['id'],!0x1),this[_0x50b4ae(0xc6)][_0x50b4ae(0x3a2)](_0x4045dc);});};_0x22d14a[_0x159d33(0x477)](this[_0x159d33(0x15d)][_0x159d33(0xcb)](_0x460a10[_0x159d33(0x3c9)][_0x159d33(0x329)]),this['_univerInstanceService'][_0x159d33(0xcb)](_0x460a10[_0x159d33(0x3c9)][_0x159d33(0x208)]))[_0x159d33(0x3af)](_0x436c5c[_0x159d33(0x38a)](_0x130c52=>_0x130c52[_0x159d33(0xf7)]()),_0x436c5c[_0x159d33(0x162)](_0xbad869=>!_0x460a10[_0x159d33(0x4e4)](_0xbad869)),_0x436c5c[_0x159d33(0x415)](this['dispose$']))[_0x159d33(0x3d1)](_0x230522=>{_0x868777(_0x230522);});}['_initUnitPermissionChange'](){const _0x545796=_0x103a68,_0x2bd361=async _0x210736=>{const _0x39f517=_0x5cd2;(await this[_0x39f517(0xc6)][_0x39f517(0x43c)](_0x210736))[_0x39f517(0x1e1)][_0x39f517(0x3af)](_0x436c5c[_0x39f517(0x162)](_0x28c785=>_0x28c785[_0x39f517(0x2fe)]===_0x162fdb[_0x39f517(0x26c)][_0x39f517(0x220)]),_0x436c5c[_0x39f517(0x415)](this['dispose$']))[_0x39f517(0x3d1)](_0x31fa31=>{const _0x270e45=_0x39f517,_0x55ae76=_0x31fa31,{objectId:_0x21ae03}=_0x55ae76['data'],_0x349f51=this[_0x270e45(0x165)][_0x270e45(0x1c8)](_0x448142[_0x270e45(0x2b3)]);_0x21ae03===_0x210736?_0x349f51['initWorkbookPermissionChange'](_0x210736):_0x349f51['refreshPermission'](_0x210736,_0x21ae03);});};_0x22d14a['merge'](this[_0x545796(0x15d)]['getTypeOfUnitAdded$'](_0x460a10[_0x545796(0x3c9)][_0x545796(0x329)]),this['_univerInstanceService'][_0x545796(0xcb)](_0x460a10[_0x545796(0x3c9)][_0x545796(0x208)]))[_0x545796(0x3af)](_0x436c5c[_0x545796(0x38a)](_0x15e40c=>_0x15e40c['getUnitId']()),_0x436c5c['filter'](_0x378d04=>!_0x460a10['isInternalEditorID'](_0x378d04)),_0x436c5c[_0x545796(0x415)](this[_0x545796(0x20a)]))[_0x545796(0x3d1)](_0x2059e1=>{_0x2bd361(_0x2059e1);});}};_0x4fbdc6=_0xf0a35b([_0x294786(0x0,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x294786(0x1,_0x460a10[_0x103a68(0x347)]),_0x294786(0x2,_0x460a10['IPermissionService']),_0x294786(0x3,_0x460a10[_0x103a68(0x310)](_0x4e0bbf[_0x103a68(0x248)])),_0x294786(0x4,_0x460a10['Inject'](_0x460a10[_0x103a68(0x176)]))],_0x4fbdc6);var _0x2df2df=Object[_0x103a68(0x3a3)],_0x1363ad=Object[_0x103a68(0x138)],_0x31cc4b=(_0x5769af,_0x27e012,_0xceca06,_0x4cbafb)=>{const _0x377d8b=_0x103a68;for(var _0x416017=_0x4cbafb>0x1?void 0x0:_0x4cbafb?_0x1363ad(_0x27e012,_0xceca06):_0x27e012,_0xe407cb=_0x5769af[_0x377d8b(0x292)]-0x1,_0x1d918e;_0xe407cb>=0x0;_0xe407cb--)(_0x1d918e=_0x5769af[_0xe407cb])&&(_0x416017=(_0x4cbafb?_0x1d918e(_0x27e012,_0xceca06,_0x416017):_0x1d918e(_0x416017))||_0x416017);return _0x4cbafb&&_0x416017&&_0x2df2df(_0x27e012,_0xceca06,_0x416017),_0x416017;},_0x9c521e=(_0x2e101a,_0x31a6be)=>(_0x1d7b07,_0x26d7dc)=>_0x31a6be(_0x1d7b07,_0x26d7dc,_0x2e101a);_0x4e0bbf[_0x103a68(0x137)]=class{constructor(_0x13abbf,_0x3b29eb){const _0x232685=_0x103a68;this[_0x232685(0x153)]=_0x13abbf,this[_0x232685(0x299)]=_0x3b29eb;}async[_0x103a68(0x405)](_0x341b90,_0x41f757){const _0x4719b0=_0x103a68;var _0x52d550;const {unitID:_0x28c19c,type:_0x22f27f,revision:_0x421cbb=0x0}=_0x41f757,_0x2f4092=this['_getSnapshotAPIPrefix']()+'/'+_0x22f27f+_0x4719b0(0x14e)+_0x28c19c+_0x4719b0(0x249)+_0x421cbb,_0x1d150b=(await this['_httpService'][_0x4719b0(0x1c8)](_0x2f4092))[_0x4719b0(0x103)],_0x495c81=(_0x52d550=_0x1d150b['snapshot'])==null?void 0x0:_0x52d550[_0x4719b0(0xc1)];if(_0x495c81){const _0x509dfe=_0x495c81==null?void 0x0:_0x495c81[_0x4719b0(0x21f)],_0x3abb53=_0x162fdb[_0x4719b0(0x414)][_0x4719b0(0x493)](_0x162fdb[_0x4719b0(0x2a8)](_0x509dfe));_0x495c81[_0x4719b0(0x21f)]=_0x3abb53,Object['entries'](_0x495c81[_0x4719b0(0x216)])[_0x4719b0(0x196)](([,_0x2e0da9])=>{const _0x4d481e=_0x4719b0,_0x1258c5=_0x2e0da9[_0x4d481e(0x21f)],_0x240ee8=_0x162fdb[_0x4d481e(0x414)][_0x4d481e(0x493)](_0x162fdb['b64DecodeUnicode'](_0x1258c5));_0x2e0da9[_0x4d481e(0x21f)]=_0x240ee8;});}return _0x1d150b;}async[_0x103a68(0x120)](_0xbb9d5f,_0x50ffc6){const _0x3fb76f=_0x103a68,{unitID:_0x396a79,type:_0x5e2677,blockID:_0x185ff3}=_0x50ffc6,_0x4fa5f6=this[_0x3fb76f(0x4c5)]()+'/'+_0x5e2677+_0x3fb76f(0x14e)+_0x396a79+_0x3fb76f(0xd9)+_0x185ff3;return(await this[_0x3fb76f(0x299)]['get'](_0x4fa5f6))['body'];}async[_0x103a68(0x251)](_0x1a16ed,_0x1bf221){const _0xc5e050=_0x103a68,{unitID:_0x3386f3,type:_0x54e5f9,blockID:_0x1fc1eb}=_0x1bf221,_0x3b6939=this['_getAPIPrefix']()+_0xc5e050(0xd9)+_0x54e5f9+_0xc5e050(0x14e)+_0x3386f3+_0xc5e050(0xd9)+_0x1fc1eb;return(await this[_0xc5e050(0x299)][_0xc5e050(0x1c8)](_0x3b6939))['body'];}async[_0x103a68(0x179)](_0x2d1e48,_0x56e9bc){const _0x213d51=_0x103a68,{unitID:_0x5a15a6,type:_0x393df7,from:_0x367557,to:_0x11d435}=_0x56e9bc,_0x488785=this['_getAPIPrefix']()+'/'+_0x393df7+'/unit/'+_0x5a15a6+'/fetchmissing?from='+_0x367557+'&to='+_0x11d435;return(await this[_0x213d51(0x299)][_0x213d51(0x1c8)](_0x488785))['body'];}['_getSnapshotAPIPrefix'](){const _0x4abbcb=_0x103a68;var _0x13c8fb;return(_0x13c8fb=this[_0x4abbcb(0x153)]['getConfig'](_0x5ed756))!=null?_0x13c8fb:this[_0x4abbcb(0x4c5)]();}[_0x103a68(0x4c5)](){const _0x7b761f=_0x103a68;var _0x4fd0de,_0x274a16;const _0x19faec=this[_0x7b761f(0x153)]['getConfig'](_0x1f5936),_0xcf6fe2=this[_0x7b761f(0x153)]['getConfig'](_0x49305e);return(_0x274a16=(_0x4fd0de=_0xcf6fe2==null?void 0x0:_0xcf6fe2[_0x7b761f(0x445)])!=null?_0x4fd0de:_0x19faec)!=null?_0x274a16:_0x9dae07;}async[_0x103a68(0x215)](_0x420311,_0x5296d9){const _0x19996b=_0x103a68,_0x147599=_0x19996b(0x27b)+_0x5296d9['type']+_0x19996b(0x14e)+_0x5296d9['unitID']+_0x19996b(0x24d);return(await this['_httpService']['get'](_0x147599,{'params':{'resourceId':JSON[_0x19996b(0x263)](_0x5296d9[_0x19996b(0x21c)])}}))['body'];}[_0x103a68(0x488)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x103a68(0x346)](){const _0x427095=_0x103a68;throw new Error(_0x427095(0x20c));}[_0x103a68(0x1e6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x103a68(0x2c3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x103a68(0x4e3)](){const _0x54e78c=_0x103a68;throw new Error(_0x54e78c(0x20c));}},_0x4e0bbf[_0x103a68(0x137)]=_0x31cc4b([_0x9c521e(0x0,_0x460a10[_0x103a68(0x3e3)]),_0x9c521e(0x1,_0x460a10['Inject'](_0x4b5b88[_0x103a68(0x2b2)]))],_0x4e0bbf[_0x103a68(0x137)]);var _0x2f4592=Object[_0x103a68(0x3a3)],_0x31583b=Object['getOwnPropertyDescriptor'],_0x235523=(_0xb114ca,_0x38e28b,_0x1a6e27,_0x58d4f4)=>{for(var _0xafc316=_0x58d4f4>0x1?void 0x0:_0x58d4f4?_0x31583b(_0x38e28b,_0x1a6e27):_0x38e28b,_0x27e28a=_0xb114ca['length']-0x1,_0x12cf6e;_0x27e28a>=0x0;_0x27e28a--)(_0x12cf6e=_0xb114ca[_0x27e28a])&&(_0xafc316=(_0x58d4f4?_0x12cf6e(_0x38e28b,_0x1a6e27,_0xafc316):_0x12cf6e(_0xafc316))||_0xafc316);return _0x58d4f4&&_0xafc316&&_0x2f4592(_0x38e28b,_0x1a6e27,_0xafc316),_0xafc316;},_0x113cef=(_0x26f6a0,_0x233717)=>(_0x4fee77,_0x186b0a)=>_0x233717(_0x4fee77,_0x186b0a,_0x26f6a0);let _0x580c25=class extends _0x460a10[_0x103a68(0xc2)]{constructor(_0x326705,_0x2ce7db,_0x362ed8,_0x55f357,_0x3f0b03){const _0x59d0b8=_0x103a68;super(_0x326705,_0x2ce7db,_0x362ed8),this[_0x59d0b8(0xf9)]=_0x55f357,this[_0x59d0b8(0x442)]=_0x3f0b03;}[_0x103a68(0x4e1)](_0x3d50cf,_0xab2527){const _0x1c1cd3=_0x103a68,_0x561ff9=this[_0x1c1cd3(0x309)](_0x3d50cf);if(_0x561ff9)try{const _0x127334=this[_0x1c1cd3(0x1ee)](_0x561ff9,_0xab2527);this[_0x1c1cd3(0x441)](_0x3d50cf,_0x127334);}catch(_0x10a3ac){this[_0x1c1cd3(0x442)]['error'](_0x1c1cd3(0x4cc),_0x10a3ac),this[_0x1c1cd3(0x258)](_0x3d50cf);}const _0x4485e5=this[_0x1c1cd3(0x29e)](_0x3d50cf);if(_0x4485e5)try{const _0x1e3941=this[_0x1c1cd3(0x1ee)](_0x4485e5,_0xab2527);this['_substituteRedoStack'](_0x3d50cf,_0x1e3941);}catch(_0x305e53){this['_logService'][_0x1c1cd3(0x35e)](_0x305e53),this['_clearRedo'](_0x3d50cf);}}[_0x103a68(0x258)](_0x1e9109){const _0x127adf=_0x103a68,_0x47539c=this[_0x127adf(0x309)](_0x1e9109);_0x47539c&&(_0x47539c[_0x127adf(0x292)]=0x0,this[_0x127adf(0x42b)]());}[_0x103a68(0x471)](_0x1cf6de){const _0x4350e1=_0x103a68,_0x5de5af=this[_0x4350e1(0x29e)](_0x1cf6de);_0x5de5af&&(_0x5de5af[_0x4350e1(0x292)]=0x0,this['_updateStatus']());}[_0x103a68(0x441)](_0x10a833,_0x516328){const _0x49ecf3=_0x103a68;this[_0x49ecf3(0x192)][_0x49ecf3(0x29c)](_0x10a833,_0x516328),this['_updateStatus']();}[_0x103a68(0x2e6)](_0x339281,_0x194716){const _0x54d5be=_0x103a68;this[_0x54d5be(0x397)][_0x54d5be(0x29c)](_0x339281,_0x194716),this['_updateStatus']();}[_0x103a68(0x1ee)](_0x2f8fe9,_0x2f4797){const _0x38f08c=_0x103a68,_0x195e4b=[];let _0x599a34=_0x2f4797,_0x5e7a51=_0x2f4797;for(let _0x465b3e=_0x2f8fe9[_0x38f08c(0x292)]-0x1;_0x465b3e>=0x0;_0x465b3e--){const {unitID:_0x4bd279,undoMutations:_0x58a167,redoMutations:_0x3b11da}=_0x2f8fe9[_0x465b3e],_0x413666=this[_0x38f08c(0xf9)]['transformMutationsWithChangeset'](_0x599a34,_0x58a167),_0x16d386=this[_0x38f08c(0xf9)][_0x38f08c(0x427)](_0x5e7a51,_0x3b11da);if(_0x162fdb['isTransformMutationsWithChangesetFailure'](_0x413666)||_0x162fdb[_0x38f08c(0xa4)](_0x16d386)){this['_logService'][_0x38f08c(0x35e)](_0x38f08c(0x4cc),_0x38f08c(0x3e5),_0x413666,_0x16d386);break;}_0x599a34=_0x413666[_0x38f08c(0x48a)],_0x5e7a51=_0x16d386[_0x38f08c(0x48a)],_0x195e4b[_0x38f08c(0x420)]({'unitID':_0x4bd279,'undoMutations':_0x413666[_0x38f08c(0xf6)],'redoMutations':_0x16d386[_0x38f08c(0xf6)]});}return _0x195e4b[_0x38f08c(0x45c)]();}};_0x580c25=_0x235523([_0x113cef(0x0,_0x460a10['IUniverInstanceService']),_0x113cef(0x1,_0x460a10[_0x103a68(0x134)]),_0x113cef(0x2,_0x460a10['IContextService']),_0x113cef(0x3,_0x162fdb[_0x103a68(0x219)]),_0x113cef(0x4,_0x460a10[_0x103a68(0x362)])],_0x580c25);class _0x35ffbd extends _0x460a10[_0x103a68(0x16c)]{constructor(){const _0xe458a6=_0x103a68;super(),_0x519548(this,_0xe458a6(0x2c9)),this['urlChange$']=_0x22d14a[_0xe458a6(0x302)](window,_0xe458a6(0x16b))[_0xe458a6(0x3af)](_0x22d14a['takeUntil'](this['dispose$']),_0x22d14a['shareReplay'](0x1),_0x22d14a[_0xe458a6(0x2c7)](void 0x0));}[_0x103a68(0x2d5)](_0x5e528a,_0x429223,_0x164fe6=!0x1){const _0x2ff5c8=_0x103a68,_0x335d59=new URL(window['location'][_0x2ff5c8(0x3e9)]);_0x335d59['searchParams'][_0x2ff5c8(0x29c)](_0x5e528a,_0x429223),_0x164fe6?window['history'][_0x2ff5c8(0x33d)]('','',_0x335d59[_0x2ff5c8(0xdd)]()):window[_0x2ff5c8(0x3ce)][_0x2ff5c8(0x28c)]('','',_0x335d59[_0x2ff5c8(0xdd)]());}[_0x103a68(0xae)](_0x3872aa,_0x923fae=!0x1){const _0x51cec3=_0x103a68,_0x34f903=new URL(window['location'][_0x51cec3(0x3e9)]);_0x34f903[_0x51cec3(0x2dc)][_0x51cec3(0xe0)](_0x3872aa),_0x923fae?window['history'][_0x51cec3(0x33d)]('','',_0x34f903[_0x51cec3(0xdd)]()):window[_0x51cec3(0x3ce)][_0x51cec3(0x28c)]('','',_0x34f903[_0x51cec3(0xdd)]());}[_0x103a68(0xe4)](_0x4f4ad9){const _0x448ebf=_0x103a68;var _0x57b05e;return(_0x57b05e=new URL(window['location'][_0x448ebf(0x3e9)])['searchParams'][_0x448ebf(0x1c8)](_0x4f4ad9))!=null?_0x57b05e:void 0x0;}}var _0x27c36e=Object[_0x103a68(0x3a3)],_0x97a627=Object[_0x103a68(0x138)],_0x22a82d=(_0x49197f,_0x240d25,_0x53afc6)=>_0x240d25 in _0x49197f?_0x27c36e(_0x49197f,_0x240d25,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53afc6}):_0x49197f[_0x240d25]=_0x53afc6,_0x5ee01b=(_0x1ccd17,_0xb4410,_0xde1937,_0x3386a4)=>{for(var _0xba1394=_0x3386a4>0x1?void 0x0:_0x3386a4?_0x97a627(_0xb4410,_0xde1937):_0xb4410,_0x33563b=_0x1ccd17['length']-0x1,_0x370ef6;_0x33563b>=0x0;_0x33563b--)(_0x370ef6=_0x1ccd17[_0x33563b])&&(_0xba1394=(_0x3386a4?_0x370ef6(_0xb4410,_0xde1937,_0xba1394):_0x370ef6(_0xba1394))||_0xba1394);return _0x3386a4&&_0xba1394&&_0x27c36e(_0xb4410,_0xde1937,_0xba1394),_0xba1394;},_0x5b5fbf=(_0x3ac988,_0xe323d9)=>(_0x3e6df6,_0x39169f)=>_0xe323d9(_0x3e6df6,_0x39169f,_0x3ac988),_0x161648=(_0x22cd8f,_0x163718,_0x19239e)=>_0x22a82d(_0x22cd8f,_0x163718+'',_0x19239e);const _0x82fee=_0x103a68(0x456);_0x4e0bbf[_0x103a68(0x183)]=class extends _0x460a10['Plugin']{constructor(_0x529565=_0x231290,_0x50a073,_0x3a76cd,_0x555eb2,_0x59b484){const _0x2e7d60=_0x103a68;super(),this[_0x2e7d60(0x2f6)]=_0x529565,this[_0x2e7d60(0x442)]=_0x50a073,this['_renderManagerService']=_0x3a76cd,this[_0x2e7d60(0x165)]=_0x555eb2,this[_0x2e7d60(0x153)]=_0x59b484;const {..._0x16ac39}=this[_0x2e7d60(0x2f6)];this['_configService'][_0x2e7d60(0x19d)](_0x49305e,_0x16ac39);}['onStarting'](){const _0x27e739=_0x103a68;this['_registerDependencies'](),_0x460a10['touchDependencies'](this[_0x27e739(0x165)],[[_0x378058],[_0x4e0bbf[_0x27e739(0x2f4)]],[_0x4fbdc6]]);}[_0x103a68(0x127)](){const _0x2d11f8=_0x103a68;_0x460a10[_0x2d11f8(0xc8)](this[_0x2d11f8(0x165)],[[_0x1862e6]]);}[_0x103a68(0x365)](){const _0x15177f=_0x103a68;this[_0x15177f(0x47e)]();}['_registerDependencies'](){const _0x5c96e8=_0x103a68;var _0x4cf292,_0x2e8d28,_0x17458c,_0x538b58;this[_0x5c96e8(0x165)][_0x5c96e8(0x401)](_0x460a10['IUndoRedoService'])&&this[_0x5c96e8(0x442)][_0x5c96e8(0x35e)](_0x5c96e8(0x101),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x4187ff=[[_0x460a10[_0x5c96e8(0xba)],{'useClass':_0x580c25}],[_0x4e0bbf['CollaborationSessionService']],[_0x57aeec],[_0x4b5b88['HTTPService']],[_0x1b5909,{'useClass':_0x35ffbd}],[_0xf42097],[_0x4e0bbf[_0x5c96e8(0x2b4)]],[_0x4b5b88['WebSocketService']],[_0x1769cb],[_0x85795],[_0x28a6c0],[_0x2bf6d4],[_0x2400eb],[_0x3a4588],[_0x2b0d1c],[_0x4fbdc6],[_0x25dd34,{'useClass':(_0x2e8d28=(_0x4cf292=this[_0x5c96e8(0x2f6)])==null?void 0x0:_0x4cf292[_0x5c96e8(0x35b)])!=null?_0x2e8d28:_0x4e0bbf[_0x5c96e8(0x40e)]}],[_0x4b5b88[_0x5c96e8(0x4e2)],{'useClass':_0x4b5b88[_0x5c96e8(0xa5)]}],[_0x162fdb[_0x5c96e8(0x43e)],{'useClass':_0x4e0bbf['SnapshotServerOverHTTPService']}],[_0x460a10[_0x5c96e8(0x24b)],{'useClass':_0x4e0bbf[_0x5c96e8(0x21d)]}],[_0x39a60b[_0x5c96e8(0x2ef)],{'useClass':_0x4e0bbf[_0x5c96e8(0x217)]}],[_0x4e0bbf[_0x5c96e8(0x26b)]],[_0x4e0bbf[_0x5c96e8(0x2f4)]],[_0x4e0bbf[_0x5c96e8(0x22e)]],[_0x1862e6],[_0x378058]];(_0x17458c=this[_0x5c96e8(0x2f6)])!=null&&_0x17458c[_0x5c96e8(0x4c3)]&&_0x4187ff['push']([_0x2ad0c7,{'useClass':_0x49780e}]),_0x4187ff=_0x460a10['mergeOverrideWithDependencies'](_0x4187ff,(_0x538b58=this['_config'])==null?void 0x0:_0x538b58[_0x5c96e8(0x155)]),_0x4187ff[_0x5c96e8(0x196)](_0x4f2b87=>this['_injector'][_0x5c96e8(0x3cd)](_0x4f2b87)),this['_initModules']();}['_registerRenderDependencies'](){const _0x3e6521=_0x103a68;this[_0x3e6521(0x495)](this['_renderManagerService'][_0x3e6521(0x18a)](_0x460a10[_0x3e6521(0x3c9)][_0x3e6521(0x208)],[_0x1a8fd0])),this['disposeWithMe'](this[_0x3e6521(0x24c)]['registerRenderModule'](_0x460a10[_0x3e6521(0x3c9)]['UNIVER_SHEET'],[_0x5f36db]));}[_0x103a68(0x177)](){const _0x28fecc=_0x103a68;var _0x22bda6,_0x4b7d5d;this['_injector'][_0x28fecc(0x1c8)](_0x4b5b88[_0x28fecc(0x2b2)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x4b5b88[_0x28fecc(0x41f)]({'maxParallel':0x6})}),this['_injector'][_0x28fecc(0x1c8)](_0x3a4588),(_0x22bda6=this[_0x28fecc(0x2f6)])!=null&&_0x22bda6[_0x28fecc(0x3c8)]||this[_0x28fecc(0x165)][_0x28fecc(0x1c8)](_0x4e0bbf[_0x28fecc(0x2b4)])['disableLocalCache'](),(_0x4b7d5d=this[_0x28fecc(0x2f6)])!=null&&_0x4b7d5d[_0x28fecc(0x106)]&&this[_0x28fecc(0x165)][_0x28fecc(0x1c8)](_0x2400eb),this[_0x28fecc(0x165)][_0x28fecc(0x1c8)](_0x4e0bbf[_0x28fecc(0x26b)]),this[_0x28fecc(0x165)]['has'](_0x4e0bbf['DesktopCollaborationStatusDisplayController'])&&this[_0x28fecc(0x165)][_0x28fecc(0x1c8)](_0x4e0bbf['DesktopCollaborationStatusDisplayController']);}},_0x161648(_0x4e0bbf[_0x103a68(0x183)],_0x103a68(0xe8),_0x82fee),_0x4e0bbf[_0x103a68(0x183)]=_0x5ee01b([_0x460a10['DependentOn'](_0x162fdb['UniverCollaborationPlugin']),_0x5b5fbf(0x1,_0x460a10[_0x103a68(0x362)]),_0x5b5fbf(0x2,_0x5633aa[_0x103a68(0x472)]),_0x5b5fbf(0x3,_0x460a10[_0x103a68(0x310)](_0x460a10[_0x103a68(0x15b)])),_0x5b5fbf(0x4,_0x460a10[_0x103a68(0x3e3)])],_0x4e0bbf['UniverCollaborationClientPlugin']),_0x4e0bbf[_0x103a68(0x462)]=_0x38552d,_0x4e0bbf[_0x103a68(0x291)]=_0xbf257c,_0x4e0bbf[_0x103a68(0x41e)]=_0x3ea07e,_0x4e0bbf['CollaborationStatus']=_0x4b41c3,_0x4e0bbf['CollaborationStatusDisplay']=_0x9b641b,_0x4e0bbf[_0x103a68(0x39b)]=_0x2b0d1c,_0x4e0bbf[_0x103a68(0x1bc)]=_0x285d6d,_0x4e0bbf[_0x103a68(0x4b5)]=_0x4a32d2,_0x4e0bbf['ICollaborationSocketService']=_0x25dd34,_0x4e0bbf[_0x103a68(0x2e8)]=_0x1b5909,_0x4e0bbf[_0x103a68(0x4b9)]=_0x28c4b8,_0x4e0bbf[_0x103a68(0x24a)]=_0x17be73,_0x4e0bbf['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x2529a2,_0x4e0bbf[_0x103a68(0xb3)]=_0x1ea791,_0x4e0bbf[_0x103a68(0x3fc)]=_0x1f5936,_0x4e0bbf[_0x103a68(0x4be)]=_0x5ed756,_0x4e0bbf[_0x103a68(0x10d)]=_0x2c7c24,_0x4e0bbf['SheetCollabCursorShape']=_0x634d7c,_0x4e0bbf[_0x103a68(0x1c5)]=_0x35ffbd,_0x4e0bbf[_0x103a68(0x2d7)]=_0x1d2aae,_0x4e0bbf[_0x103a68(0x2b9)]=_0x442838,Object[_0x103a68(0x3a3)](_0x4e0bbf,Symbol[_0x103a68(0xe9)],{'value':_0x103a68(0x2bc)});}));
1
+ function _0x9a79(_0x344d91,_0xa63897){const _0x34391e=_0x3439();return _0x9a79=function(_0x9a79ca,_0x1b19a7){_0x9a79ca=_0x9a79ca-0x135;let _0x4a254f=_0x34391e[_0x9a79ca];return _0x4a254f;},_0x9a79(_0x344d91,_0xa63897);}function _0x3439(){const _0x2faed2=['commentUpdate$','putCollaborators','_clearLocalCache','_snapshotService','setTimeout','combineLatest','fetch_missing','ThresholdInterceptorFactory','onPointerMove$','COLORS','deepClone','subunit','UNIVER_DOC','_sheetTransformSelectionsService','RemoveRowCommandId','objects','roomMembers','startRow','getImage','NOT_FOUND','toRgbString','_cursor','LOCAL_CACHE_INTERVAL_KEY','generateRandomId','origin','stringify','_telemetryService','csShouldRetryEvent','SheetSkeletonManagerService','_draw','_handler','image/gif','show','image/jpg','_onUserJoin','registerRefRange','HTTPService','setParam','compose','originalMeta','IPermissionService','offline','_onRecvEvent','confirm','IContextService','getCurrentUser','IAuthzIoService','assignAColorForMemberID','selections','_scheduleSaving','_unitID','unknown','COLLAB_WEB_SOCKET_URL','#FFF','AWAITING_WITH_PENDING','_throwTelemetryCollaborationNewChangeset','put','univer-pro.collaboration-client.single-active-unit-service','visibilityState','_setupSubUnitSync','UNAUTHENTICATED','Disposable','RemoveColCommandId','onRemoteRetry','getUnitType','SYNCED','ws://127.0.0.1:8000/universer-api/comb/connect','reduce','_lastPointer','@univerjs/docs-ui','/resources','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_getSendChangesetTimeout','data','transformSelections','LIVESHARE_OPERATION','collabSubmitChangesetUrl','cursorInfo','_hideTimer','getValue','_docTransformSelectionsService','propertyIsEnumerable','flatMap','values','_selfUnitIDs','setInterval','refreshPermission','M0\x200H16V16H0z','_changesetSessionId','CollaborationEntity','catch','ITransformService','name','syncEditingCollabCursor','UNIVER_SHEET','downloadEndpointUrl','saveOfflineData','BuiltInUIPart','pending','ImageSourceType','_singleActiveUnitService','IHTTPImplementation','_collaborationSessionService','updateMember','setConfig','url','changesets','addObjects','CollaborationStatus','unshift','SheetCollabCursorShape','attrs','createElement','COMMENT_UPDATE','LICENSE_DISTRO_REJECTED','registerRenderModule','_univerInstanceService','resend','CollaborationController','rxjs/operators','UniverTelemetry','isActive','_getScale','INGEST','_notificationService','roomInfos','DocStateChangeManagerService','post','1em','CHANGESET_REJ','endColumn','_themeService','RegularPolygon','LocalCacheService','getCollabEntity','&to=','symbol','_logService','interceptor','_docSyncEditingCollabCursorService','_updateState','code','@univerjs/ui','_resendTimeout','blue400','NodePositionConvertToCursor','CHANGESET_REVISION_CONFILICT','APPLY_REVISION_CONFILICT','getDeserializedSheetBlock','UniverEngineFormula','getAncestorScale','_ws','ColorKit','_substituteRedoStack','random','sessionStatus$','image/bmp','/object','indexOf','batchAllowed','ERROR_IMAGE_TYPE','createIdentifier','APPLY_REJECT','registerOnClose','none','svg','get','/universer-api/oidc/authpage','replaceTextRanges','leaveEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getDocRanges','idSuffix','collabWebSocketUrl','_transformUndoredo','_change$','_onRemoteChangeset','_syncEditingCollabCursorService','parse','serializeCombRequest','listRoles','setUndoRedoMutationParamsCache','AuthzIoHttpService','unitID','UNIVER_SLIDE','univer-offline','socketService','disposeUnit','measureText','liveShareNewHost','_collabCursorController','UniverInstanceType','ONLINE','/universer-api/snapshot/','defIds','UniverLicense','call','memberID','LIVESHARE_TERMINATE','handleIRemoveCol','round','row','SUBMIT_CHANGESET','HELLO','UniverIcon','_docSkeletonManagerService','SNAPSHOT_URL_KEY','COMPRESS_MUTATION_SEND','setCurrentUser','ImageIoService','ICommandService','HEARTBEAT_INTERVAL','withCredentials','univer-online-status','IUIPartsService','SheetsSelectionsService','file','_undoRedoService','split','extend','_tryReconnect','handleDeleteRangeMoveUp','takeUntil','clearInterval','_initEventListeners','amd','complete','ITelemetryService','JSONX','_roomMembers','INotificationService','getCellPositionByOffset','init','enableOfflineEditing','_localCacheService','some','red300','_color','UNIVER_PROJECT','&source=','url(#off-line-single_clip0_910_343)','HTTPRequest','getTypeOfUnitDisposed$','_textBubble','closePath','unitId','fill','_httpService','find','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','clear','enableAuthServer','_remoteChangesetQueue','_config','fetchThroughInterceptors','MergeInterceptorFactory','getConfig','then','_getCtorByUniverType','_timeoutTimer','4699085NdGXHJ','_updateCollabCursors','UnitSnapshot','sendChangesetTimeout','drawWith','[CollaborationSessionService]','send','NEW_CHANGESETS','UniverDocs','handleDeleteRangeMoveLeft','awaiting','_awaitingChangeset','replaceState','RevisionService','_online','getImageSourceCache','textRanges','replace','_transformService','_snapshotServerService','YUUMI_SUBSCRIPTION_NOT_FOUND','MSG_FOR_ERROR','copyFileMeta','_onRemoteRejected','_disableEditing','children','PERMISSION_DENIED','_onRemoteACK','univer-pro.collaboration-client-socket-service','_getLoginPath','moveTo','_transitionLocked','isTransformMutationsWithChangesetFailure','INVALID_ARGUMENT','headers','_urlService','on-line-single_clip0_910_349','_disabled','csRejEvent','XHRHTTPImplementation','_saveCache','_onCombEvent','getCoordByCell','AUTHZ_URL_KEY','asObservable','APPLY_DUPLICATED','localeService','transformStack\x20failed!','loadOfflineData','Unknown\x20user','_send','_initUnitPermissionChange','initWorkbookPermissionChange','_initMergeInterceptor','reject','_scheduleTimestamp','reqId','LICENSE_MAX_UNITS_EXCEEDED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20close','Rectangle','UniverRpc','EffectRefRangId','_onRemoteRetry','RxDisposable','permissionRejEvent','unit-cache-','_socketMessageSubscription','_collabSessionService','getRoom','@univerjs/docs','unload','_onUserLeave','_pendingMutations','[CollaborationEntity]','debug','_collaborationTimeoutTimer','getSheetId','_unlockTransition','_createInitialStateImpl','PSEUDO_FETCH_MISSING_RESULT','UNIVER_UNKNOWN','_replaceFileID','resourceIDs','_handleHover','_docTransformIMECacheService','collabStatus.synced','collabStatus.fetchMiss','urlChange$','json','LIVESHARE_NEW_HOST','_socket','LICENSE_IMPORT_SIZE_EXCEEDED','fetchMiss','156IRHCoI','size','_initStatusListener','LIVESHARE_REQUEST_HOST','onReady','_substituteUndoStack','session.connection-failed','_clearTimeoutTimer','mapDocumentTypeToUniverType','status$','with','/universer-api/snapshot','sequenceExecute','_handleHeartbeatEvent','Undefined','InsertColCommandId','_schedule','text','parseProtocolChangeset','univer-online-status-icon','SnapshotService','PERMISSION_REJ','getTime','hide','_state$','DeleteRangeMoveUpCommandId','_sessionStatus$','getWorkbookSelections','setShapeProps','collaboratorID','isTransformMutationsWithChangesetSuccess','saveSnapshot','eventID','rng','storage','displayName','JOIN','CompressMutationService','error$','INTERNAL_ERROR','url(#$1','SnapshotServerOverHTTPService','executeCommand','b64DecodeUnicode','conflict.content','_toggleOnline','DocCollaborationEntity','capture','UniverCollaborationClient','collabStatus.offline','_updateURLWithCurrentState','searchParams','CONFLICT','_acknowledgedAwaitingChangeset','textEncoder','snapshotServerUrl','next','/universer-api/authz','RichTextEditingMutation','min','m1Prime','online','_resendTimer','_scene','isTransformMutationFailure','SetWorksheetActivateCommand','toggleOnline','getMember','onMissedChangesetFetched','UPDATE_CURSOR','_queuedRemoteChangesets','TEXT_RANGE_LAYER_INDEX','path','_lockTransition','DesktopCollaborationStatusDisplayController','_redoStacks','5147260zFEFsR','LocaleService','\x0aAfter:\x20','requireSession','HEARTBEAT','isArray','_shapes','getRandomValues','_undoStacks','userID','set','IDLE','?url=','merge','status','exports','UNRECOGNIZED','FETCH_MISS','YUUMI_URL_COL_OUT_OF_RANGE','_collaborationPaused','collaboration-session-retry','collabCursorState$','ACTIVE_UNIT_EVENT_CHANNEL','serializeRangeWithSheet','getSheetBySheetId','getOffsetConfig','collab-rect-range-','onCommandExecuted','getParam','auth.needGotoLoginAlert','_onLocalMutation','_sendHeartbeatTimer','synced','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_candidateSocket','3730470CbSJBZ','_onConnectionOpen','/new_changes','currentSkeleton$','setWaitCount','mergeOverrideWithDependencies','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','state','_transformRemoteChangesetByIMECache','objectType','saveImage','append','FETCH_MISSING','_permissionService','DisposableCollection','_render','bottom','_removeCollabCursors','_onCursorDelete','includes','mutations','sheets','_handleJoinEvent','_tryEnsureSocket','_applyRemoteChangeset','_commentService','icon','_onRefRangeChange','UniverDocsUi','IConfigService','_exhaustRemoteChangesetQueue','collaboration-client.offline-data-not-saved','clearTimeout','off-line-single','_toggleOffline','@univerjs-pro/license','COLLAB_SUBMIT_CHANGESET_URL','rev','APPLY_NON_SEQUENTIAL_REVISION','className','IBeforeCloseService','currentTheme$','UniverUi','onRemoteRej','/unit/','toStringTag','colorChannel1','engine','_cursorInfo$','getMemberID','IRemoteInstanceService','revision','filter','getItem','bind','current','getSheetObject','0\x200\x2017\x2016','ERROR_EXCEED_SIZE','InsertRowCommandId','touchDependencies','objectID','_renderManagerService','getUnitId','CommandType','_updateSubUnitFromURLParams','loadSheet','range','_handleEvent','distinctUntilChanged','fromCollab','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','@univerjs/core','_listenToOfflineEvent','[DataLoaderController]','_commandService','onStarting','error','...','column','c1Prime','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','BASE64','_unitOnClients','_http','_unitStatus','_drawRectRange','getRangePointData','_saveTaskMap','_syncEditingCollabCursor','collaboration_new_changeset','_startTelemetryCollaborationNewChangeset','session.will-retry','_getAPIPrefix','_memberService','every','handleInsertRangeMoveRight','Error','onRendered','defineProperty','onSyncEditingCollabCursor','MUTATION','url(#on-line-single_clip0_910_349)','/collaborator','SNAPSHOT_INVALID_SNAPSHOT','useDependency','_HTTPService','react','_isPermissionRej','_userManagerService','_retryConnectingTimer','fetching\x20missing\x20changesets\x20from\x20','_collabCursorState$','_changesetReqId','YUUMI_UNABLE_LOAD_URL','_event$','Subject','ImageUploadStatusType','VIEW_MAIN','updatePermissionPoint','OFFLINE','_docStateChangeManagerService','NO_OTHER_CLIENTS_EDITING','/role','_updateLocalCursor','ILogService','LOGIN_URL_KEY','body','onSendChangeset','joinEvent','lineTo','isEditing','signUrlServerUrl','APPLY_PERMISSION_DENIED','subUnitId','method','registerHTTPInterceptor','UNIVER_COLLABORATION_CLIENT_PLUGIN','SHOULD_CLOSE_CONN','closeSession','update','UnitEmbedded','DocSkeletonManagerService','equals','_createHandler','COLLAB_SUBMIT_CHANGESET_URL_KEY','_startSheetCollabCursor','useRef','_telemetryInfo','_loadDoc','encodeURIComponent','_heartbeatTimer','startColumn','[OfflineState]:\x20received\x20changeset.','_refreshCollabCursors','\x20-\x20','action','switchMap','FAIL','407234ZmysCJ','CollaborationEvent','reconnect','setAlpha','IUndoRedoService','@univerjs/telemetry','/-/object/list','401469IkLbtO','enableLocalCache','_members','docStateChange$','_clearCollaborationTimeoutTimer','getSheetBlock','registerComponent','3313216IEXWuB','UniverEngineRender','PENDING','evenodd','length','allowed','workbook','NOT_COLLAB','debounce','appendMutation','_getAPIPrefixPath','actions','_entityInit$','TOO_MANY_REQUESTS','_onOffline','_collaborationController','startsWith','pipe','editingUnit','_fetchMissChangesets','[PendingState]:\x20received\x20rejection.','sessionStatus','transformMutationsWithChangeset','add','_checkMissing','_clearRedo','UPDATE_PERMISSION_OBJ','UserManagerService','_getDownloadEndpointURL','addObject','object','_updateLocalCache','EXCHANGE_SIGN_URL_SERVER_URL_KEY','dispose','/object/','IImageIoService','open$','deserializeRangeWithSheet','RefRangeService','SetSelectionsOperation','handleIRemoveRow','fetchMissingChangesets','_stopTelemetryCollaborationNewChangeset','/fetchmissing?from=','take','findNodePositionByCharIndex','_hovered','OffLineSingle','_configService','routeKey','univer-online-status-title','_entities','_messageService','IRenderManagerService','createCollaborator','trim','onRemoteAck','DataLoaderController','parseChangesetToProtocol','[CollaborationSessionService]:\x20socket\x20error','uploadFileServerUrl','WorkbookEditablePermission','_removeRoom','getColor','/rev/','{fileID}','_clearOtherTimers','_socket$','UniverDesign','list','toggleOffline','WebSocketService','_hover','top','newCsEvent','_getSaveTimeout','IMessageService','black','HEADER_MENU','_labelPosition','override','close','focused$','SNAPSHOT_SERVER_URL_KEY','disposeWithMe','_getUploadFileURL','loadDoc','_initResize','disableLocalCache','React','transformChangesets','jiqing500','_retryCount','COMPLETION_FINISHED','width','push','assign','use','SEND_CHANGESET_TIMEOUT_KEY','_getSnapshotAPIPrefix','delete','randomUUID','_transformPreviousActiveRange','IUniverInstanceService','registerBeforeClose','_getSignURL','\x20to\x20','toDisposable','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_anchor','InsertRangeMoveRightCommandId','OTHER_CLIENTS_EDITING','getCurrentSelections','_getMergeRange','session.collaboration-timeout','UniverCollaborationClientPlugin','message$','CHANGESET_SHOULD_RETRY','updateCursorEvent','fillRule','transformIMECache','_assignedColors','_resendWithTimeout','tag','[OfflineState]:\x20received\x20acknowledgement.','_init','handleInsertRow','_listenToOnlineEvent','_context','contains','result','_socketService','verdancy600','Inject','_sender','authzUrl','event$','_clearHeartbeatTimer','_cursors','updateOfflineData','deleteCollaborator','throttleTime','handleInsertRangeMoveDown','_scheduleClearOtherTimer','stopTime','saveSheetBlock','getRelativeToViewportCoord','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onPointerEnter$','forwardRef','[CollaborationUndoRedoService]','_getSheetObject','key','getInterceptPoints','_loadSheet','_startCollaboration','_backgroundColor','collabStatus.syncing','fromEventSubject','_executeRemoteChangeset','clipPath','collaboration.single-unit.warning','state$','getAttachHeader','onlineStatusTitle','now','getCurrentRevOfUnit','POST','onTransformSelections','gold400','color','_eventUnsubscribe','_onJoinRoomEvent','getCollabEntity$','encode','TRANSFORM_CHANGE_OBSERVABLE_TYPE','failed\x20to\x20apply\x20missed\x20changesets!','onPointerLeave$','xlink:href','_injector','function','Injector','string','onCommentUpdate','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_drawTextRange','_getCurrentRevision','_waitCount','Vector2','onRemoteChangeset','BehaviorSubject','_status$','_transformUndoRedoStack','height','_updateStatus','onMissingChangesets','collab-client.tooltip.reconnect','roomMembers$','onTransformChange$','transform','onload','removeMember','_uiPartsService','session','[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.','3szCgtX','@univerjs/design','NodePositionConvertToRectRange','getUnit','getUnitOnRev','onlyLocal','infoRsp','_drawAnchor','DocIMEInputManagerService','baseRev','_anchorDot','exhaustSavingTask','OnLineSingle','_submitChangeset','@univerjs/rpc','onStateChange','forEach','onMouseMove','[CollaborationState]:\x20apply\x20error!','unitId\x20is\x20not\x20found','CONNECTOR_DATA_TOO_LARGE','subscribe','CollaborationStatusDisplay','UNKNOWN_CMD','requestParams','_rescheduleHeartbeat','_onConflict','history','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','div','shareReplay','getUndoRedoMutationParamsCache','_localeService','LICENSE_EXPORT_SIZE_EXCEEDED','transformUndoRedo','onTransformRemoteChangesetByIMECache','getUniverSheetInstance','deserializeToCombResponse','entries','getViewport','ERROR_IMAGE','number','_registerDependencies','SNAPSHOT_HAS_BEEN_REMOVED','_initStatusComponent','hasOwnProperty','_ensureSubject','createInstance','rxjs','snapshot','_session','cursorInfo$','_refRangeService','SheetCollaborationEntity','getResourcesRequest','[FetchMissState]','ALREADY_EXISTS','_handleLeaveEvent','updateCollaborator','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','arc','EmptyMutation','DependentOn','change$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UNDEFINED','HttpImport','getActiveSheet','roles','_initCommandExecutedListener','YUUMI_RATE_OVER_LIMIT','_commentUpdate$','sheetId','_compressMutationService','unsubscribe','visibilitychange','_cachedData','RETRY_CONNECTING_MAX_COUNT_KEY','collabStatus.notCollab','off-line-single_clip0_910_343','SetTextSelectionsOperation','_sheetSkeletonManagerService','getRenderById','_removeClearOtherTimer','font','_registerRenderDependencies','[PendingState]:\x20received\x20acknowledgement.','LIVESHARE_FETCH_OPERATIONS','getSkeleton','_setupBeforeClosingHandler','_type','_clearUndo','COMPRESS_MUTATION_APPLY','Workbook','HttpExport','createSocket','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','href','_transformIMECache','permission.title','_socketReady','getUnitStatus$','_replayCachedMutations','delay','_joinRoom','LEAVE','location','_colorIndex','pluginName','SheetPermissionInitController','defs','InsertSheetMutation','ThemeService','_getUndoStack','UniverCore','_waitForHeartbeatResponse','getLatestCsReqIdBySid','_showConflictNotification','isTransformChangesetsSuccess','Rect','Tools','_onFetchMissResult','m2Prime','x-univer-host','getMergeData','ranges','\x0aCurrent:\x20','sid','cmd','Univer','_sendHeartbeat','InsertRangeMoveDownCommandId','_onCursorUpdate','isInternalEditorID','triggerDblclick','MessageType','_getRedoStack','_sendingTimer','concatMap','_state','_id','_decreaseWaiting','JOINING','[OfflineState]:\x20received\x20rejection.','selection','Shape','SEND_CHANGESET_TIMEOUT','DocSelectionManagerService','unit','_transformStack','toString','Warning','_clearScheduledTask','popstate','_instanceService','objectActions','whenReady','Optional','has','_incrementRevisionNumber','_shouldReportTelemetry','awaiting_with_pending','_localStorageService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CODE','/universer-api/stream/file/upload','/allowed','getTypeOfUnitAdded$','ICollaborationSocketService','src','_sessions','params','CollaborationSocketService','MoveRangeCommandId','dispose$','conflict','onTransformIME','9daSRap','getFocusedUnit','_roomMembers$','max','hidden','[PendingState]:\x20unhandled\x20univer\x20type:\x20','USERS_ENTER','restore','_revisionService','submit\x20changeset\x20error!','useObservable','_scheduleHeartbeat','RECV','CommentService','joinRsp','doc.mutation.rich-text-editing','getOwnPropertySymbols','collab-text-range-','_range','UniverSheetsUi','#fff','_name','close$','getCollabCursors$','ENSURE_SNAPSHOT_EXECUTION','from','_scheduleCollaborationTimeoutTimer','/-/object/-/batch_allowed','concat','transformMutation','addEventListener','subscribeEvent','_startDocCollabCursor','makeDirty','@univerjs/network','apply','socket\x20open.','connection\x20error','_transformSelections','@univerjs/drawing','USERS_LEAVE','hovered','_imageSourceCache','_colorAssignService','UniverNetwork','save','/block/','getOwnPropertyDescriptor','_cursorShapes','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ISnapshotServerService','socket$','_onConnectionFailed','_beforeCloseService','translate(.97)','CollaborationSession','awaitingChangeset','486549mhSyVs','map','LOCAL_CACHE_INTERVAL','[CollaborationSession]','type','isPermissionRej','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','slice','CollaborationSessionService','setActiveRange','UniverDrawing','prototype','univerjs-icon\x20univerjs-icon-','AWAITING','WebURLService'];_0x3439=function(){return _0x2faed2;};return _0x3439();}(function(_0x4eb2fb,_0x196296){const _0x2baea3=_0x9a79,_0x5b2fbe=_0x4eb2fb();while(!![]){try{const _0x4097d9=parseInt(_0x2baea3(0x305))/0x1+-parseInt(_0x2baea3(0x2fe))/0x2*(-parseInt(_0x2baea3(0x3d9))/0x3)+parseInt(_0x2baea3(0x23c))/0x4+parseInt(_0x2baea3(0x192))/0x5+parseInt(_0x2baea3(0x1f0))/0x6*(-parseInt(_0x2baea3(0x4c3))/0x7)+-parseInt(_0x2baea3(0x30c))/0x8+-parseInt(_0x2baea3(0x48a))/0x9*(-parseInt(_0x2baea3(0x25f))/0xa);if(_0x4097d9===_0x196296)break;else _0x5b2fbe['push'](_0x5b2fbe['shift']());}catch(_0x5efc3a){_0x5b2fbe['push'](_0x5b2fbe['shift']());}}}(_0x3439,0xf0187),function(_0x4b84a7,_0x2e4356){const _0x12a1e2=_0x9a79;typeof exports==_0x12a1e2(0x32a)&&typeof module<'u'?_0x2e4356(exports,require(_0x12a1e2(0x2a7)),require(_0x12a1e2(0x409)),require('rxjs/operators'),require(_0x12a1e2(0x3da)),require(_0x12a1e2(0x560)),require(_0x12a1e2(0x4ac)),require('@univerjs-pro/collaboration'),require(_0x12a1e2(0x303)),require(_0x12a1e2(0x517)),require('@univerjs/sheets'),require('@univerjs/engine-render'),require(_0x12a1e2(0x1d8)),require(_0x12a1e2(0x4b1)),require('@univerjs/engine-formula'),require('@univerjs/sheets-ui'),require(_0x12a1e2(0x2ca)),require(_0x12a1e2(0x3e7)),require(_0x12a1e2(0x282))):typeof define==_0x12a1e2(0x3c0)&&define[_0x12a1e2(0x16f)]?define([_0x12a1e2(0x24b),'@univerjs/core','rxjs',_0x12a1e2(0x549),_0x12a1e2(0x3da),'@univerjs/ui',_0x12a1e2(0x4ac),'@univerjs-pro/collaboration',_0x12a1e2(0x303),_0x12a1e2(0x517),'@univerjs/sheets','@univerjs/engine-render',_0x12a1e2(0x1d8),'@univerjs/drawing','@univerjs/engine-formula','@univerjs/sheets-ui',_0x12a1e2(0x2ca),'@univerjs/rpc',_0x12a1e2(0x282)],_0x2e4356):(_0x4b84a7=typeof globalThis<'u'?globalThis:_0x4b84a7||self,_0x2e4356(_0x4b84a7[_0x12a1e2(0x220)]={},_0x4b84a7[_0x12a1e2(0x44b)],_0x4b84a7[_0x12a1e2(0x409)],_0x4b84a7['rxjs']['operators'],_0x4b84a7[_0x12a1e2(0x350)],_0x4b84a7[_0x12a1e2(0x289)],_0x4b84a7[_0x12a1e2(0x4b6)],_0x4b84a7['UniverCollaboration'],_0x4b84a7[_0x12a1e2(0x54a)],_0x4b84a7[_0x12a1e2(0x27b)],_0x4b84a7['UniverSheets'],_0x4b84a7[_0x12a1e2(0x30d)],_0x4b84a7[_0x12a1e2(0x19a)],_0x4b84a7[_0x12a1e2(0x4cd)],_0x4b84a7[_0x12a1e2(0x567)],_0x4b84a7[_0x12a1e2(0x49d)],_0x4b84a7[_0x12a1e2(0x365)],_0x4b84a7[_0x12a1e2(0x1cf)],_0x4b84a7[_0x12a1e2(0x151)]));}(this,function(_0x5d9ca9,_0x5dd71d,_0x1e8f3c,_0x58074b,_0x4fd8aa,_0x43bf7d,_0x272b65,_0x57fec2,_0x51eb8a,_0x1e1fad,_0x51fcfd,_0x3a6273,_0x4c83d7,_0x1cf942,_0x29bba3,_0x1a18db,_0x3055f4,_0x55c888,_0x40a85b){'use strict';const _0x2e5f4c=_0x9a79;var _0x1f2ec3=Object[_0x2e5f4c(0x2c2)],_0x241587=(_0x120cb4,_0x3c0bdb,_0x56f4b4)=>_0x3c0bdb in _0x120cb4?_0x1f2ec3(_0x120cb4,_0x3c0bdb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56f4b4}):_0x120cb4[_0x3c0bdb]=_0x56f4b4,_0x30b9f2=(_0x2ef0ff,_0x240549,_0x5376a3)=>_0x241587(_0x2ef0ff,typeof _0x240549!=_0x2e5f4c(0x55a)?_0x240549+'':_0x240549,_0x5376a3);const _0x29ec86='SNAPSHOT_SERVER_URL_KEY',_0x65c2a1=_0x2e5f4c(0x1fb),_0x5d6fbd=_0x2e5f4c(0x15c),_0x1578f7=_0x2e5f4c(0x46b),_0x447e60=_0x2e5f4c(0x506),_0x46187b=_0x2e5f4c(0x514),_0x1a0de8=_0x2e5f4c(0x161),_0xa604e8='HEARTBEAT_TIMEOUT',_0xa4649a='RETRY_CONNECTING_MAX_COUNT',_0x1e8c54=_0x2e5f4c(0x4c5),_0x1d7910=_0x2e5f4c(0x283),_0x57a7d5='/universer-api/comb',_0x33aae3=_0x2e5f4c(0x2dd),_0xa078ff=_0x2e5f4c(0x135);var _0x378745=(_0x452038=>(_0x452038[_0x452038[_0x2e5f4c(0x41a)]=0x0]='UNDEFINED',_0x452038[_0x452038['OK']=0x1]='OK',_0x452038[_0x452038[_0x2e5f4c(0x217)]=0x2]='INTERNAL_ERROR',_0x452038[_0x452038[_0x2e5f4c(0x1ac)]=0x3]=_0x2e5f4c(0x1ac),_0x452038[_0x452038['NOT_FOUND']=0x4]=_0x2e5f4c(0x4e5),_0x452038[_0x452038[_0x2e5f4c(0x50e)]=0x5]=_0x2e5f4c(0x50e),_0x452038[_0x452038[_0x2e5f4c(0x411)]=0x6]=_0x2e5f4c(0x411),_0x452038[_0x452038[_0x2e5f4c(0x1b3)]=0x7]=_0x2e5f4c(0x1b3),_0x452038[_0x452038[_0x2e5f4c(0x319)]=0x8]=_0x2e5f4c(0x319),_0x452038[_0x452038[_0x2e5f4c(0x369)]=0x9]=_0x2e5f4c(0x369),_0x452038[_0x452038[_0x2e5f4c(0x564)]=0x1389]=_0x2e5f4c(0x564),_0x452038[_0x452038['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2e5f4c(0x2c7),_0x452038[_0x452038[_0x2e5f4c(0x404)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x452038[_0x452038[_0x2e5f4c(0x4a2)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x452038[_0x452038[_0x2e5f4c(0x574)]=0x1b59]=_0x2e5f4c(0x574),_0x452038[_0x452038[_0x2e5f4c(0x285)]=0x1b5a]=_0x2e5f4c(0x285),_0x452038[_0x452038[_0x2e5f4c(0x565)]=0x1b5b]=_0x2e5f4c(0x565),_0x452038[_0x452038[_0x2e5f4c(0x2e4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x452038[_0x452038[_0x2e5f4c(0x1bf)]=0x1b5d]=_0x2e5f4c(0x1bf),_0x452038[_0x452038[_0x2e5f4c(0x3ed)]=0x1f41]=_0x2e5f4c(0x3ed),_0x452038[_0x452038[_0x2e5f4c(0x1cb)]=0x2329]=_0x2e5f4c(0x1cb),_0x452038[_0x452038['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x452038[_0x452038['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2e5f4c(0x1ee),_0x452038[_0x452038[_0x2e5f4c(0x3fa)]=0x232c]=_0x2e5f4c(0x3fa),_0x452038[_0x452038[_0x2e5f4c(0x544)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x452038[_0x452038[_0x2e5f4c(0x2d1)]=0x2711]=_0x2e5f4c(0x2d1),_0x452038[_0x452038[_0x2e5f4c(0x24e)]=0x2712]=_0x2e5f4c(0x24e),_0x452038[_0x452038[_0x2e5f4c(0x41f)]=0x2713]=_0x2e5f4c(0x41f),_0x452038[_0x452038['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2e5f4c(0x1a6),_0x452038[_0x452038['UNRECOGNIZED']=-0x1]=_0x2e5f4c(0x24c),_0x452038))(_0x378745||{}),_0x17bbb0=(_0x39bd8c=>(_0x39bd8c[_0x39bd8c[_0x2e5f4c(0x1e3)]=0x0]=_0x2e5f4c(0x1e3),_0x39bd8c[_0x39bd8c[_0x2e5f4c(0x4de)]=0x1]=_0x2e5f4c(0x4de),_0x39bd8c[_0x39bd8c[_0x2e5f4c(0x530)]=0x2]='UNIVER_SHEET',_0x39bd8c[_0x39bd8c[_0x2e5f4c(0x146)]=0x3]=_0x2e5f4c(0x146),_0x39bd8c[_0x39bd8c['UNIVER_PROJECT']=0x4]=_0x2e5f4c(0x17c),_0x39bd8c[_0x39bd8c[_0x2e5f4c(0x24c)]=-0x1]=_0x2e5f4c(0x24c),_0x39bd8c))(_0x17bbb0||{}),_0x2f025c=(_0x47c5ad=>(_0x47c5ad[_0x47c5ad['UNKNOWN_CMD']=0x0]=_0x2e5f4c(0x3f0),_0x47c5ad[_0x47c5ad['HELLO']=0x1]=_0x2e5f4c(0x159),_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x214)]=0x2]=_0x2e5f4c(0x214),_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x442)]=0x3]='LEAVE',_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x54d)]=0x4]=_0x2e5f4c(0x54d),_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x240)]=0x5]=_0x2e5f4c(0x240),_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x496)]=0x6]=_0x2e5f4c(0x496),_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x24c)]=-0x1]='UNRECOGNIZED',_0x47c5ad))(_0x2f025c||{}),_0x575e62=(_0x4364aa=>(_0x4364aa[_0x4364aa[_0x2e5f4c(0x47d)]=0x0]=_0x2e5f4c(0x47d),_0x4364aa[_0x4364aa['OK']=0x1]='OK',_0x4364aa[_0x4364aa[_0x2e5f4c(0x2fd)]=0x2]=_0x2e5f4c(0x2fd),_0x4364aa[_0x4364aa[_0x2e5f4c(0x24c)]=-0x1]=_0x2e5f4c(0x24c),_0x4364aa))(_0x575e62||{}),_0x12f3da=(_0x4ee6ae=>(_0x4ee6ae[_0x4ee6ae['Undefined']=0x0]=_0x2e5f4c(0x1fe),_0x4ee6ae[_0x4ee6ae[_0x2e5f4c(0x41b)]=0x1]=_0x2e5f4c(0x41b),_0x4ee6ae[_0x4ee6ae[_0x2e5f4c(0x437)]=0x2]=_0x2e5f4c(0x437),_0x4ee6ae[_0x4ee6ae[_0x2e5f4c(0x2ec)]=0x3]='UnitEmbedded',_0x4ee6ae[_0x4ee6ae[_0x2e5f4c(0x194)]=0x4]='UnitSnapshot',_0x4ee6ae[_0x4ee6ae[_0x2e5f4c(0x24c)]=-0x1]=_0x2e5f4c(0x24c),_0x4ee6ae))(_0x12f3da||{});const _0x505ac2='collaboration-client.config',_0x51e182={};function _0x2ff0f2(_0x37d773){const _0x321ffb=_0x2e5f4c;var _0x4d93e4,_0x51e236,_0x44ff71,_0x4fa011,_0x2c7550;const _0x15c682=_0x37d773['data'],_0x12d6e5=JSON['parse'](_0x15c682);switch(_0x12d6e5[_0x321ffb(0x459)]){case _0x2f025c[_0x321ffb(0x240)]:case _0x2f025c['HELLO']:{const _0x161b04=_0x12d6e5[_0x321ffb(0x3df)];return{..._0x12d6e5,'data':_0x161b04,'cmd':_0x12d6e5['cmd']};}case _0x2f025c['JOIN']:{const _0x12ccce=_0x12d6e5[_0x321ffb(0x498)];return{..._0x12d6e5,'data':_0x12ccce,'cmd':_0x12d6e5['cmd']};}case _0x2f025c['RECV']:{const _0x376571=_0x12d6e5['collaMsg'];switch(_0x376571[_0x321ffb(0x210)]){case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x205)]:return{..._0x12d6e5,'data':{..._0x376571,'data':(_0x4d93e4=_0x376571[_0x321ffb(0x1d3)])==null?void 0x0:_0x4d93e4['cs']},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)]['CHANGESET_ACK']:return{..._0x12d6e5,'data':{..._0x376571,'data':(_0x51e236=_0x376571['csAckEvent'])==null?void 0x0:_0x51e236['cs']},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x199)]:return{..._0x12d6e5,'data':{..._0x376571,'data':(_0x44ff71=_0x376571[_0x321ffb(0x356)])==null?void 0x0:_0x44ff71['cs']},'cmd':_0x12d6e5['cmd']};case _0x57fec2['CollaborationEvent']['CHANGESET_REJ']:return{..._0x12d6e5,'data':{..._0x376571,'data':(_0x4fa011=_0x376571[_0x321ffb(0x1b8)])==null?void 0x0:_0x4fa011['cs']},'cmd':_0x12d6e5['cmd']};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x381)]:return{..._0x12d6e5,'data':{..._0x376571,'data':(_0x2c7550=_0x376571[_0x321ffb(0x4ed)])==null?void 0x0:_0x2c7550['cs']},'cmd':_0x12d6e5['cmd']};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x235)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571[_0x321ffb(0x382)]},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x490)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571[_0x321ffb(0x2e0)]},'cmd':_0x12d6e5['cmd']};case _0x57fec2[_0x321ffb(0x2ff)]['USERS_LEAVE']:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571[_0x321ffb(0x137)]},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x1ec)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571['liveShareNewHost']},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x430)]:case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x51d)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571['liveShareOperation']},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571[_0x321ffb(0x14b)]},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)]['MSG_FOR_ERROR']:return{..._0x12d6e5,'data':_0x376571,'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)]['COMMENT_UPDATE']:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571['commentUpdateEvent']},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2['CollaborationEvent'][_0x321ffb(0x326)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571['updatePermissionObjEvent']},'cmd':_0x12d6e5['cmd']};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x2e9)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571['shouldCloseConn']},'cmd':_0x12d6e5['cmd']};default:return _0x12d6e5;}}default:return _0x12d6e5;}}function _0x17b168(_0x187671){const _0xf6aaff=_0x2e5f4c;switch(_0x187671[_0xf6aaff(0x459)]){case _0x2f025c[_0xf6aaff(0x240)]:case _0x2f025c[_0xf6aaff(0x159)]:return JSON[_0xf6aaff(0x4eb)]({'cmd':_0x187671[_0xf6aaff(0x459)],'routeKey':_0x187671[_0xf6aaff(0x33d)]});case _0x2f025c[_0xf6aaff(0x54d)]:{let _0x4cb757;switch(_0x187671[_0xf6aaff(0x51b)]['eventID']){case _0x57fec2[_0xf6aaff(0x2ff)]['UPDATE_CURSOR']:{_0x4cb757={'eventID':_0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x235)],'updateCursorEvent':_0x187671[_0xf6aaff(0x51b)][_0xf6aaff(0x51b)]};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x4b2)]:{_0x4cb757={'eventID':_0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x4b2)],'leaveEvent':_0x187671['data']['data']};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x490)]:{_0x4cb757={'eventID':_0x57fec2['CollaborationEvent'][_0xf6aaff(0x490)],'joinEvent':_0x187671['data'][_0xf6aaff(0x51b)]};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x1ec)]:{_0x4cb757={'eventID':_0x57fec2[_0xf6aaff(0x2ff)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x187671[_0xf6aaff(0x51b)]['data']};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x51d)]:{_0x4cb757={'eventID':_0x57fec2['CollaborationEvent'][_0xf6aaff(0x51d)],'liveShareOperation':_0x187671[_0xf6aaff(0x51b)][_0xf6aaff(0x51b)]};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x154)]:{_0x4cb757={'eventID':_0x57fec2['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x187671[_0xf6aaff(0x51b)]['data']};break;}case _0x57fec2[_0xf6aaff(0x2ff)]['LIVESHARE_REQUEST_HOST']:{_0x4cb757={'eventID':_0x57fec2['CollaborationEvent'][_0xf6aaff(0x1f3)],'liveShareRequestHost':_0x187671[_0xf6aaff(0x51b)][_0xf6aaff(0x51b)]};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x430)]:{_0x4cb757={'eventID':_0x57fec2['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4cb757={'eventID':_0x187671[_0xf6aaff(0x51b)][_0xf6aaff(0x210)]};}return JSON[_0xf6aaff(0x4eb)]({'cmd':_0x187671['cmd'],'routeKey':_0x187671[_0xf6aaff(0x33d)],'collaMsg':_0x4cb757});}case _0x2f025c['JOIN']:return JSON[_0xf6aaff(0x4eb)]({'cmd':_0x187671['cmd'],'routeKey':_0x187671[_0xf6aaff(0x33d)],'joinReq':_0x187671[_0xf6aaff(0x51b)]});case _0x2f025c[_0xf6aaff(0x442)]:return JSON[_0xf6aaff(0x4eb)]({'cmd':_0x187671[_0xf6aaff(0x459)],'routeKey':_0x187671['routeKey'],'leaveReq':_0x187671['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x1efc32=Object['defineProperty'],_0x10cf1d=Object[_0x2e5f4c(0x4b9)],_0x3ebb8c=(_0x152b72,_0x1c5c4d,_0x3a84c6,_0x2258b3)=>{const _0x34b0a1=_0x2e5f4c;for(var _0x31b4a1=_0x2258b3>0x1?void 0x0:_0x2258b3?_0x10cf1d(_0x1c5c4d,_0x3a84c6):_0x1c5c4d,_0x2b962f=_0x152b72[_0x34b0a1(0x310)]-0x1,_0x3ff420;_0x2b962f>=0x0;_0x2b962f--)(_0x3ff420=_0x152b72[_0x2b962f])&&(_0x31b4a1=(_0x2258b3?_0x3ff420(_0x1c5c4d,_0x3a84c6,_0x31b4a1):_0x3ff420(_0x31b4a1))||_0x31b4a1);return _0x2258b3&&_0x31b4a1&&_0x1efc32(_0x1c5c4d,_0x3a84c6,_0x31b4a1),_0x31b4a1;},_0x422fd4=(_0x324d37,_0x36e3b0)=>(_0x4ad55b,_0x3c2f7c)=>_0x36e3b0(_0x4ad55b,_0x3c2f7c,_0x324d37);const _0x3b499d=_0x5dd71d['createIdentifier'](_0x2e5f4c(0x1ae));function _0x8a0b82(_0x1de645,_0x9838ea,_0x4b692f){const _0x306962=_0x2e5f4c;return _0x1de645+'/'+_0x9838ea+_0x306962(0x28b)+_0x4b692f+_0x306962(0x261);}_0x5d9ca9['CollaborationSocketService']=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x1058ac,_0x6c82a5,_0x286277,_0x4fe82b,_0x1cbd3f){const _0x2fc020=_0x2e5f4c;super(),this['_http']=_0x1058ac,this[_0x2fc020(0x569)]=_0x6c82a5,this[_0x2fc020(0x33c)]=_0x286277,this[_0x2fc020(0x55b)]=_0x4fe82b,this['_snapshotServerService']=_0x1cbd3f;}[_0x2e5f4c(0x438)](_0x4fcd5b){const _0x118dac=_0x2e5f4c,_0x5095a5=this[_0x118dac(0x569)]['createSocket'](_0x4fcd5b);if(!_0x5095a5)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x563301=new _0x5dd71d[(_0x118dac(0x26d))](),_0x28d438=new _0x1e8f3c[(_0x118dac(0x2d3))]();_0x563301['add'](_0x5095a5[_0x118dac(0x4a0)][_0x118dac(0x3ee)](_0x1d6a10=>_0x28d438['next'](_0x1d6a10))),_0x563301[_0x118dac(0x323)](_0x5dd71d[_0x118dac(0x377)](()=>_0x28d438['complete']()));const _0x546801=new _0x1e8f3c[(_0x118dac(0x2d3))]();_0x563301[_0x118dac(0x323)](_0x5095a5[_0x118dac(0x216)][_0x118dac(0x3ee)](_0x11dcf1=>_0x546801[_0x118dac(0x228)](_0x11dcf1))),_0x563301[_0x118dac(0x323)](_0x5dd71d[_0x118dac(0x377)](()=>_0x546801['complete']()));const _0x138df0=new _0x1e8f3c['Subject']();_0x563301['add'](_0x5095a5[_0x118dac(0x380)]['subscribe'](_0x45369d=>{const _0x2d85ab=_0x2ff0f2(_0x45369d);_0x138df0['next'](_0x2d85ab);})),_0x563301[_0x118dac(0x323)](_0x5dd71d[_0x118dac(0x377)](()=>_0x138df0[_0x118dac(0x170)]()));let _0x35d6ba;const _0x5cfcbd=()=>{const _0x42460c=_0x118dac;_0x546801[_0x42460c(0x228)](new Event(_0x42460c(0x4af))),_0x28d438[_0x42460c(0x228)](new CloseEvent(_0x42460c(0x4af))),_0x35d6ba[_0x42460c(0x35d)]();};return _0x35d6ba={'memberID':'','close$':_0x28d438['asObservable'](),'error$':_0x546801[_0x118dac(0x1be)](),'open$':_0x5095a5[_0x118dac(0x330)],'message$':_0x138df0[_0x118dac(0x1be)](),'send':_0xdaf138=>{const _0x1a09a0=_0x118dac;if(_0xdaf138['cmd']===_0x2f025c[_0x1a09a0(0x54d)]){if(_0xdaf138[_0x1a09a0(0x51b)][_0x1a09a0(0x210)]===_0x57fec2[_0x1a09a0(0x2ff)]['SUBMIT_CHANGESET']){this[_0x1a09a0(0x3e6)](_0x35d6ba,_0xdaf138['data'])[_0x1a09a0(0x52c)](_0x5728e4=>{const _0x480e5d=_0x1a09a0;this[_0x480e5d(0x55b)][_0x480e5d(0x2ac)](_0x5728e4),_0x5cfcbd();});return;}if(_0xdaf138['data'][_0x1a09a0(0x210)]===_0x57fec2[_0x1a09a0(0x2ff)][_0x1a09a0(0x26b)]){const _0x2af65e=_0xdaf138[_0x1a09a0(0x51b)];this['_fetchMissChangesets'](_0x2af65e)[_0x1a09a0(0x18f)](_0x4e9c29=>{const _0x2c3c93=_0x1a09a0;_0x138df0[_0x2c3c93(0x228)]({'cmd':_0x2f025c['RECV'],'code':_0x575e62['OK'],'routeKey':_0x2af65e[_0x2c3c93(0x51b)][_0x2c3c93(0x145)],'routeType':'','data':{'eventID':_0x57fec2[_0x2c3c93(0x2ff)][_0x2c3c93(0x1e2)],'data':{'changesets':_0x4e9c29}}});})[_0x1a09a0(0x52c)](_0xea039c=>{const _0x2be2f5=_0x1a09a0;this[_0x2be2f5(0x55b)][_0x2be2f5(0x2ac)](_0xea039c),_0x5cfcbd();});return;}}_0x5095a5[_0x1a09a0(0x198)](_0x17b168(_0xdaf138));},'close':()=>{const _0x16c65e=_0x118dac;_0x5095a5[_0x16c65e(0x35d)](),_0x563301[_0x16c65e(0x32d)]();}},_0x35d6ba;}async[_0x2e5f4c(0x3e6)](_0x556fc8,_0x4ca196){const _0x1d43ea=_0x2e5f4c;var _0x5872af,_0x3ab3fc;const {unitType:_0x195d72,unitID:_0x25e1e7,changeset:_0x92ba8}=_0x4ca196[_0x1d43ea(0x51b)],_0x39101c={'unitID':_0x25e1e7,'memberID':_0x556fc8[_0x1d43ea(0x153)],'type':_0x195d72,'changeset':_0x57fec2[_0x1d43ea(0x346)](_0x92ba8)},_0x1922d3=this[_0x1d43ea(0x33c)][_0x1d43ea(0x18e)](_0x1d7910),_0x40b343=this[_0x1d43ea(0x33c)][_0x1d43ea(0x18e)](_0x505ac2),_0x2ae62b=_0x8a0b82((_0x3ab3fc=(_0x5872af=_0x40b343==null?void 0x0:_0x40b343[_0x1d43ea(0x51e)])!=null?_0x5872af:_0x1922d3)!=null?_0x3ab3fc:_0x57a7d5,_0x195d72,_0x25e1e7);try{await this[_0x1d43ea(0x2b3)][_0x1d43ea(0x551)](_0x2ae62b,{'body':_0x39101c});}catch(_0x3c0a3c){throw this[_0x1d43ea(0x55b)][_0x1d43ea(0x2ac)](_0x1d43ea(0x4c6),_0x1d43ea(0x493)),_0x3c0a3c;}}async[_0x2e5f4c(0x31f)](_0x25e781){const _0x44a3d9=_0x2e5f4c,{unitID:_0x30cbbd,from:_0x33d8b8,to:_0x1acc05,unitType:_0x201e93}=_0x25e781[_0x44a3d9(0x51b)];return(await this[_0x44a3d9(0x1a5)][_0x44a3d9(0x335)]({'metadata':void 0x0},{'unitID':_0x30cbbd,'type':_0x201e93,'from':_0x33d8b8,'to':_0x1acc05}))[_0x44a3d9(0x53c)];}},_0x5d9ca9['CollaborationSocketService']=_0x3ebb8c([_0x422fd4(0x0,_0x5dd71d['Inject'](_0x272b65['HTTPService'])),_0x422fd4(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x272b65[_0x2e5f4c(0x353)])),_0x422fd4(0x2,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x422fd4(0x3,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x422fd4(0x4,_0x57fec2[_0x2e5f4c(0x4bc)])],_0x5d9ca9[_0x2e5f4c(0x485)]);const _0x44bddb=_0x2e5f4c(0x2b9);function _0x366985(_0x55e0f2){const _0x4a8c3e=_0x2e5f4c;return JSON[_0x4a8c3e(0x4eb)](_0x55e0f2)['length'];}class _0x4e977c{constructor(){const _0x108acf=_0x2e5f4c;_0x30b9f2(this,'_commentUpdate$',new _0x1e8f3c[(_0x108acf(0x2d3))]()),_0x30b9f2(this,_0x108acf(0x4d2),this['_commentUpdate$'][_0x108acf(0x1be)]());}[_0x2e5f4c(0x3c3)](_0x4961a1){const _0x1847b9=_0x2e5f4c;this[_0x1847b9(0x420)][_0x1847b9(0x228)](_0x4961a1);}}var _0x200d95=Object[_0x2e5f4c(0x2c2)],_0x2e598f=Object[_0x2e5f4c(0x4b9)],_0x532353=(_0x3ac6e7,_0x4a3ea9,_0x1ba288,_0x1b7fde)=>{const _0x33567c=_0x2e5f4c;for(var _0x3bb849=_0x1b7fde>0x1?void 0x0:_0x1b7fde?_0x2e598f(_0x4a3ea9,_0x1ba288):_0x4a3ea9,_0x19c41f=_0x3ac6e7[_0x33567c(0x310)]-0x1,_0x42d6c2;_0x19c41f>=0x0;_0x19c41f--)(_0x42d6c2=_0x3ac6e7[_0x19c41f])&&(_0x3bb849=(_0x1b7fde?_0x42d6c2(_0x4a3ea9,_0x1ba288,_0x3bb849):_0x42d6c2(_0x3bb849))||_0x3bb849);return _0x1b7fde&&_0x3bb849&&_0x200d95(_0x4a3ea9,_0x1ba288,_0x3bb849),_0x3bb849;},_0x17947a=(_0x35b0ea,_0x40b58c)=>(_0x5090c7,_0x9e0d7f)=>_0x40b58c(_0x5090c7,_0x9e0d7f,_0x35b0ea);let _0x266f31=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x59d792,_0x23a6c9){const _0x279a4c=_0x2e5f4c;super(),_0x30b9f2(this,_0x279a4c(0x173),new Map()),(this[_0x279a4c(0x546)]=_0x59d792,this['_userManagerService']=_0x23a6c9,this[_0x279a4c(0x360)](_0x5dd71d[_0x279a4c(0x377)](_0x1e8f3c[_0x279a4c(0x249)](this[_0x279a4c(0x546)][_0x279a4c(0x180)](_0x5dd71d[_0x279a4c(0x14d)]['UNIVER_SHEET'])[_0x279a4c(0x31d)](_0x58074b[_0x279a4c(0x4c4)](_0x1bc3d6=>_0x1bc3d6[_0x279a4c(0x29e)]())),this[_0x279a4c(0x546)]['getTypeOfUnitDisposed$'](_0x5dd71d[_0x279a4c(0x14d)][_0x279a4c(0x4de)])['pipe'](_0x58074b['map'](_0x4a048e=>_0x4a048e['getUnitId']())),this[_0x279a4c(0x546)][_0x279a4c(0x180)](_0x5dd71d['UniverInstanceType'][_0x279a4c(0x146)])[_0x279a4c(0x31d)](_0x58074b['map'](_0x32b992=>_0x32b992[_0x279a4c(0x29e)]())))[_0x279a4c(0x3ee)](_0x81830d=>this[_0x279a4c(0x34a)](_0x81830d)))));}[_0x2e5f4c(0x15e)](_0xc51131){const _0x973cd4=_0x2e5f4c;this['_userManagerService'][_0x973cd4(0x15e)](_0xc51131);}['getCurrentUser'](){const _0x2d8baa=_0x2e5f4c;return this[_0x2d8baa(0x2cc)]['getCurrentUser']();}[_0x2e5f4c(0x539)](_0x26bd12,_0x143a55){const _0x219f77=_0x2e5f4c;let _0x5511f2=this[_0x219f77(0x173)][_0x219f77(0x578)](_0x26bd12);_0x5511f2||(_0x5511f2=new _0x482ea8(),this[_0x219f77(0x173)][_0x219f77(0x246)](_0x26bd12,_0x5511f2)),_0x5511f2['updateMember'](_0x143a55);}[_0x2e5f4c(0x3d5)](_0x8079ec,_0x2338d1){const _0x5d5de6=_0x2e5f4c,_0x3cfb27=this[_0x5d5de6(0x173)]['get'](_0x8079ec);_0x3cfb27&&_0x3cfb27[_0x5d5de6(0x3d5)](_0x2338d1);}[_0x2e5f4c(0x1d7)](_0x57da28){const _0x504a07=_0x2e5f4c;return this[_0x504a07(0x173)][_0x504a07(0x578)](_0x57da28);}['getMember'](_0x102d5b,_0x11e5c7){const _0x2bb4e6=_0x2e5f4c,_0x4f50a9=this[_0x2bb4e6(0x173)][_0x2bb4e6(0x578)](_0x102d5b);if(_0x4f50a9)return _0x4f50a9[_0x2bb4e6(0x233)](_0x11e5c7);}[_0x2e5f4c(0x34a)](_0x53c05c){const _0x16e127=_0x2e5f4c,_0x36d9bd=this['_roomMembers'][_0x16e127(0x578)](_0x53c05c);_0x36d9bd&&(_0x36d9bd['dispose'](),this[_0x16e127(0x173)][_0x16e127(0x370)](_0x53c05c));}['dispose'](){const _0x12b7b3=_0x2e5f4c;this['_roomMembers'][_0x12b7b3(0x3e9)](_0x3341fe=>_0x3341fe[_0x12b7b3(0x32d)]()),this[_0x12b7b3(0x173)][_0x12b7b3(0x188)]();}};_0x266f31=_0x532353([_0x17947a(0x0,_0x5dd71d[_0x2e5f4c(0x373)]),_0x17947a(0x1,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x327)]))],_0x266f31);class _0x482ea8 extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(){const _0x10f1df=_0x2e5f4c;super(...arguments),_0x30b9f2(this,_0x10f1df(0x307),new Map());}['dispose'](){const _0x174b43=_0x2e5f4c;this[_0x174b43(0x307)][_0x174b43(0x188)]();}[_0x2e5f4c(0x539)](_0x28fad4){const _0x213269=_0x2e5f4c;this[_0x213269(0x307)][_0x213269(0x246)](_0x28fad4[_0x213269(0x153)],_0x28fad4);}[_0x2e5f4c(0x3d5)](_0x35ed5d){this['_members']['delete'](_0x35ed5d);}[_0x2e5f4c(0x233)](_0x15a616){const _0x4c32ba=_0x2e5f4c;return this[_0x4c32ba(0x307)][_0x4c32ba(0x578)](_0x15a616);}}var _0x3c2f6e=Object[_0x2e5f4c(0x2c2)],_0x2099a1=Object['getOwnPropertyDescriptor'],_0x4732b4=(_0x5760fc,_0x1495ed,_0x4d9ec8,_0x784a3)=>{const _0x3ae821=_0x2e5f4c;for(var _0x11f8d9=_0x784a3>0x1?void 0x0:_0x784a3?_0x2099a1(_0x1495ed,_0x4d9ec8):_0x1495ed,_0x5120be=_0x5760fc[_0x3ae821(0x310)]-0x1,_0x387c1f;_0x5120be>=0x0;_0x5120be--)(_0x387c1f=_0x5760fc[_0x5120be])&&(_0x11f8d9=(_0x784a3?_0x387c1f(_0x1495ed,_0x4d9ec8,_0x11f8d9):_0x387c1f(_0x11f8d9))||_0x11f8d9);return _0x784a3&&_0x11f8d9&&_0x3c2f6e(_0x1495ed,_0x4d9ec8,_0x11f8d9),_0x11f8d9;},_0x1f87c3=(_0x5d7bd3,_0x4784f3)=>(_0x235243,_0x1351ba)=>_0x4784f3(_0x235243,_0x1351ba,_0x5d7bd3),_0x4add37=(_0x54d826=>(_0x54d826[_0x54d826['IDLE']=0x0]=_0x2e5f4c(0x247),_0x54d826[_0x54d826[_0x2e5f4c(0x467)]=0x1]=_0x2e5f4c(0x467),_0x54d826[_0x54d826[_0x2e5f4c(0x2d7)]=0x2]=_0x2e5f4c(0x2d7),_0x54d826[_0x54d826[_0x2e5f4c(0x14e)]=0x3]=_0x2e5f4c(0x14e),_0x54d826))(_0x4add37||{});_0x5d9ca9[_0x2e5f4c(0x4c1)]=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0x1dd748,_0x9be4f6,_0x82e31a,_0x37128c,_0x32aa43,_0x4bc7bf,_0x2ffc8c,_0x504b35,_0x4cfdfb,_0xb75151){const _0x3bff99=_0x2e5f4c;super(),_0x30b9f2(this,_0x3bff99(0x20a),new _0x1e8f3c[(_0x3bff99(0x3ca))](0x0)),_0x30b9f2(this,_0x3bff99(0x56d),this[_0x3bff99(0x20a)][_0x3bff99(0x1be)]()),_0x30b9f2(this,_0x3bff99(0x2d2),new _0x1e8f3c[(_0x3bff99(0x2d3))]()),_0x30b9f2(this,'event$',this[_0x3bff99(0x2d2)]['asObservable']()),_0x30b9f2(this,'_socket'),_0x30b9f2(this,_0x3bff99(0x1d5)),_0x30b9f2(this,'_collaborationTimeoutTimer'),_0x30b9f2(this,'_shouldReportTelemetry',!0x1),_0x30b9f2(this,_0x3bff99(0x2f3),null),(this['_unitID']=_0x1dd748,this[_0x3bff99(0x55b)]=_0x82e31a,this[_0x3bff99(0x4bf)]=_0x37128c,this['_messageService']=_0x32aa43,this[_0x3bff99(0x33c)]=_0x4bc7bf,this[_0x3bff99(0x3f9)]=_0x2ffc8c,this['_memberService']=_0x504b35,this[_0x3bff99(0x278)]=_0x4cfdfb,this[_0x3bff99(0x4ec)]=_0xb75151,this[_0x3bff99(0x479)]=!!this[_0x3bff99(0x4ec)],_0x9be4f6[_0x3bff99(0x31d)](_0x1e8f3c['takeUntil'](this[_0x3bff99(0x487)]))[_0x3bff99(0x3ee)](_0x45ee7b=>{const _0x55a1b0=_0x3bff99;var _0x28377b;typeof _0x45ee7b>'u'||(this[_0x55a1b0(0x1ed)]=_0x45ee7b,_0x45ee7b?(this[_0x55a1b0(0x441)](_0x45ee7b),this['_socketMessageSubscription']=_0x45ee7b['message$'][_0x55a1b0(0x3ee)](_0x20b2e6=>{const _0x2260d7=_0x55a1b0;_0x20b2e6[_0x2260d7(0x33d)]===this[_0x2260d7(0x504)]&&this[_0x2260d7(0x1bb)](_0x20b2e6);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x55a1b0(0x20a)][_0x55a1b0(0x228)](0x2),(_0x28377b=this[_0x55a1b0(0x1d5)])==null||_0x28377b[_0x55a1b0(0x423)](),this[_0x55a1b0(0x1d5)]=null));}),this[_0x3bff99(0x360)](this[_0x3bff99(0x4bf)][_0x3bff99(0x575)](()=>{const _0x3f25ab=_0x3bff99;var _0x34e762;(_0x34e762=this['_socket'])==null||_0x34e762[_0x3f25ab(0x198)]({'cmd':_0x2f025c[_0x3f25ab(0x442)],'data':{'roomID':this['_unitID']}});})));}get[_0x2e5f4c(0x321)](){const _0x4ff036=_0x2e5f4c;return this['_sessionStatus$'][_0x4ff036(0x521)]();}[_0x2e5f4c(0x290)](){const _0x70f683=_0x2e5f4c;var _0x57e297,_0x361801;return(_0x361801=(_0x57e297=this[_0x70f683(0x1ed)])==null?void 0x0:_0x57e297[_0x70f683(0x153)])!=null?_0x361801:null;}[_0x2e5f4c(0x32d)](){const _0x4872f5=_0x2e5f4c;super[_0x4872f5(0x32d)](),this[_0x4872f5(0x487)][_0x4872f5(0x228)](),this['dispose$'][_0x4872f5(0x170)]();}[_0x2e5f4c(0x35d)](){const _0x4ad24e=_0x2e5f4c;var _0x409cf0,_0x5a28c4;this[_0x4ad24e(0x509)](),(_0x409cf0=this['_socket'])==null||_0x409cf0['send']({'cmd':_0x2f025c[_0x4ad24e(0x442)],'data':{'roomID':this[_0x4ad24e(0x504)]}}),(_0x5a28c4=this[_0x4ad24e(0x1ed)])==null||_0x5a28c4[_0x4ad24e(0x35d)](),this[_0x4ad24e(0x2d2)][_0x4ad24e(0x170)](),this[_0x4ad24e(0x20a)][_0x4ad24e(0x170)](),this['dispose']();}['_onCombEvent'](_0x3a3b1f){const _0x581298=_0x2e5f4c;_0x3a3b1f['cmd']===_0x2f025c[_0x581298(0x214)]?this['_onJoinRoomEvent'](_0x3a3b1f):_0x3a3b1f[_0x581298(0x459)]===_0x2f025c[_0x581298(0x496)]&&this['_onRecvEvent'](_0x3a3b1f);}[_0x2e5f4c(0x441)](_0x308618){const _0x3d2b8b=_0x2e5f4c;this[_0x3d2b8b(0x20a)]['next'](0x1),_0x308618['send']({'cmd':_0x2f025c[_0x3d2b8b(0x214)],'routeKey':this[_0x3d2b8b(0x504)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2e5f4c(0x3b8)](_0x27e443){const _0x9161bc=_0x2e5f4c;var _0x2a78fb;if(_0x27e443[_0x9161bc(0x55f)]===_0x575e62[_0x9161bc(0x2fd)]){this[_0x9161bc(0x340)][_0x9161bc(0x4f2)]({'type':_0x4fd8aa['MessageType'][_0x9161bc(0x470)],'content':this[_0x9161bc(0x3f9)]['t']('session.room-full')}),this[_0x9161bc(0x20a)][_0x9161bc(0x228)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x56f20f=(_0x2a78fb=_0x27e443[_0x9161bc(0x51b)][_0x9161bc(0x54f)][this[_0x9161bc(0x504)]])==null?void 0x0:_0x2a78fb['members'];_0x56f20f&&_0x56f20f[_0x9161bc(0x3e9)](_0x1274c8=>this[_0x9161bc(0x2bd)][_0x9161bc(0x539)](this[_0x9161bc(0x504)],_0x1274c8));}[_0x2e5f4c(0x4fc)](_0x1999d5){const _0x632525=_0x2e5f4c;try{const _0x5ba7d0=_0x1999d5[_0x632525(0x51b)];switch(_0x5ba7d0[_0x632525(0x210)]){case _0x57fec2[_0x632525(0x2ff)][_0x632525(0x490)]:this[_0x632525(0x4f4)](_0x5ba7d0),this['_event$']['next'](_0x5ba7d0);break;case _0x57fec2[_0x632525(0x2ff)][_0x632525(0x4b2)]:this[_0x632525(0x1da)](_0x5ba7d0),this[_0x632525(0x2d2)]['next'](_0x5ba7d0);break;case _0x57fec2[_0x632525(0x2ff)]['CHANGESET_ACK']:case _0x57fec2[_0x632525(0x2ff)][_0x632525(0x381)]:this[_0x632525(0x336)](),this[_0x632525(0x309)](),this[_0x632525(0x2d2)][_0x632525(0x228)](_0x5ba7d0);break;case _0x57fec2['CollaborationEvent'][_0x632525(0x1a7)]:this[_0x632525(0x55b)][_0x632525(0x2ac)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x632525(0x4eb)](_0x5ba7d0)),this[_0x632525(0x2d2)][_0x632525(0x228)](_0x5ba7d0);break;case _0x57fec2[_0x632525(0x2ff)][_0x632525(0x543)]:this['_commentService'][_0x632525(0x3c3)](_0x5ba7d0[_0x632525(0x51b)]),this[_0x632525(0x2d2)][_0x632525(0x228)](_0x5ba7d0);break;default:this[_0x632525(0x2d2)][_0x632525(0x228)](_0x5ba7d0);}}catch(_0x354160){this['_logService']['error'](_0x354160,_0x1999d5);}}[_0x2e5f4c(0x4f4)](_0x19bea4){const _0x1829df=_0x2e5f4c;this['_memberService'][_0x1829df(0x539)](this[_0x1829df(0x504)],_0x19bea4['data']);}[_0x2e5f4c(0x1da)](_0x2bba19){const _0x2188b6=_0x2e5f4c;this['_memberService'][_0x2188b6(0x3d5)](this[_0x2188b6(0x504)],_0x2bba19[_0x2188b6(0x51b)][_0x2188b6(0x153)]);}async['send'](_0x48a43d,_0x58fa52){const _0x1932dc=_0x2e5f4c;if(this['sessionStatus']!==0x3||!this[_0x1932dc(0x1ed)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x48a43d['eventID']===_0x57fec2[_0x1932dc(0x2ff)][_0x1932dc(0x158)]&&(this[_0x1932dc(0x4a4)](),this['_startTelemetryCollaborationNewChangeset'](_0x48a43d)),this['_socket'][_0x1932dc(0x198)]({'cmd':_0x2f025c[_0x1932dc(0x54d)],'routeKey':_0x58fa52,'routeType':'','data':_0x48a43d});}catch(_0x1ca56e){this['_logService'][_0x1932dc(0x2ac)](_0x1ca56e);}}[_0x2e5f4c(0x4a4)](){const _0x4388c5=_0x2e5f4c;var _0x594cc7;this[_0x4388c5(0x1de)]=window[_0x4388c5(0x4d6)](()=>{const _0x1aed4e=_0x4388c5;this[_0x1aed4e(0x1de)]=null,this[_0x1aed4e(0x340)][_0x1aed4e(0x4f2)]({'type':_0x4fd8aa[_0x1aed4e(0x460)][_0x1aed4e(0x2c0)],'content':this['_localeService']['t'](_0x1aed4e(0x37e))});},(_0x594cc7=this['_configService'][_0x4388c5(0x18e)](_0xa604e8))!=null?_0x594cc7:0x4e20);}[_0x2e5f4c(0x309)](){const _0x5d3e23=_0x2e5f4c;this[_0x5d3e23(0x1de)]&&(clearTimeout(this[_0x5d3e23(0x1de)]),this[_0x5d3e23(0x1de)]=null);}[_0x2e5f4c(0x2ba)](_0x3693ca){const _0xcc0766=_0x2e5f4c;if(!this['_shouldReportTelemetry'])return;const {data:_0x56467a}=_0x3693ca,{unitID:_0x333cb9,changeset:_0x5964b3}=_0x56467a,{mutations:_0x45f361,type:_0x425836}=_0x5964b3;this[_0xcc0766(0x2f3)]={'unitId':_0x333cb9,'type':_0x425836,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x366985(_0x45f361)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x4ddb6a=_0x2e5f4c;if(this[_0x4ddb6a(0x479)]){if(!this[_0x4ddb6a(0x2f3)]){this[_0x4ddb6a(0x55b)][_0x4ddb6a(0x2ac)](_0x4ddb6a(0x4c6),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4ddb6a(0x2f3)][_0x4ddb6a(0x39c)]=performance[_0x4ddb6a(0x3b1)](),this[_0x4ddb6a(0x2f3)]['duration']=this[_0x4ddb6a(0x2f3)][_0x4ddb6a(0x39c)]-this[_0x4ddb6a(0x2f3)]['startTime'],this[_0x4ddb6a(0x4ec)][_0x4ddb6a(0x21f)](_0x44bddb,this[_0x4ddb6a(0x2f3)]),this[_0x4ddb6a(0x2f3)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x5d34ce=_0x2e5f4c;this[_0x5d34ce(0x2f3)]=null;}},_0x5d9ca9['CollaborationSession']=_0x4732b4([_0x1f87c3(0x2,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x1f87c3(0x3,_0x43bf7d[_0x2e5f4c(0x287)]),_0x1f87c3(0x4,_0x43bf7d[_0x2e5f4c(0x358)]),_0x1f87c3(0x5,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x1f87c3(0x6,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x23d)])),_0x1f87c3(0x7,_0x5dd71d[_0x2e5f4c(0x391)](_0x266f31)),_0x1f87c3(0x8,_0x5dd71d[_0x2e5f4c(0x391)](_0x4e977c)),_0x1f87c3(0x9,_0x5dd71d[_0x2e5f4c(0x476)](_0x51eb8a[_0x2e5f4c(0x171)]))],_0x5d9ca9[_0x2e5f4c(0x4c1)]);var _0x2f84c8=Object[_0x2e5f4c(0x2c2)],_0x248984=Object[_0x2e5f4c(0x4b9)],_0x48bb89=(_0x111f6f,_0x198c43,_0x5ec8fb,_0x54579c)=>{const _0x42000b=_0x2e5f4c;for(var _0x4d3f11=_0x54579c>0x1?void 0x0:_0x54579c?_0x248984(_0x198c43,_0x5ec8fb):_0x198c43,_0x37aeb5=_0x111f6f[_0x42000b(0x310)]-0x1,_0x160054;_0x37aeb5>=0x0;_0x37aeb5--)(_0x160054=_0x111f6f[_0x37aeb5])&&(_0x4d3f11=(_0x54579c?_0x160054(_0x198c43,_0x5ec8fb,_0x4d3f11):_0x160054(_0x4d3f11))||_0x4d3f11);return _0x54579c&&_0x4d3f11&&_0x2f84c8(_0x198c43,_0x5ec8fb,_0x4d3f11),_0x4d3f11;},_0x537460=(_0x4549dd,_0x3f1567)=>(_0x147641,_0x10e31b)=>_0x3f1567(_0x147641,_0x10e31b,_0x4549dd);_0x5d9ca9['CollaborationSessionService']=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x4fba6d,_0x4af2b7,_0x48234a,_0x16be04,_0x161009,_0x52cfc7){const _0x37d50f=_0x2e5f4c;super(),_0x30b9f2(this,_0x37d50f(0x34f),new _0x1e8f3c['BehaviorSubject'](void 0x0)),_0x30b9f2(this,_0x37d50f(0x4bd),this[_0x37d50f(0x34f)][_0x37d50f(0x1be)]()),_0x30b9f2(this,'_candidateSocket',null),_0x30b9f2(this,'_sessions',new Map()),_0x30b9f2(this,_0x37d50f(0x3cb),new _0x1e8f3c[(_0x37d50f(0x3ca))](_0x4add37[_0x37d50f(0x247)])),_0x30b9f2(this,_0x37d50f(0x1f9),this['_status$'][_0x37d50f(0x1be)]()),_0x30b9f2(this,'_socketReady',!0x1),_0x30b9f2(this,_0x37d50f(0x2cd)),_0x30b9f2(this,_0x37d50f(0x368),0x0),_0x30b9f2(this,'_sendHeartbeatTimer'),_0x30b9f2(this,_0x37d50f(0x191)),(this[_0x37d50f(0x3bf)]=_0x4fba6d,this['_localeService']=_0x4af2b7,this['_messageService']=_0x48234a,this[_0x37d50f(0x55b)]=_0x16be04,this[_0x37d50f(0x33c)]=_0x161009,this[_0x37d50f(0x38f)]=_0x52cfc7,this[_0x37d50f(0x16e)]());}get[_0x2e5f4c(0x1ed)](){const _0x38dd12=_0x2e5f4c;return this[_0x38dd12(0x34f)][_0x38dd12(0x521)]();}[_0x2e5f4c(0x16e)](){const _0x2c3504=_0x2e5f4c;this[_0x2c3504(0x2a8)](),this['_listenToOnlineEvent']();}['dispose'](){const _0x221042=_0x2e5f4c;super[_0x221042(0x32d)](),this[_0x221042(0x483)][_0x221042(0x3e9)](_0x2275f5=>_0x2275f5[_0x221042(0x32d)]()),this[_0x221042(0x483)][_0x221042(0x188)](),this[_0x221042(0x3cb)][_0x221042(0x170)]();}async['requireSession'](_0x4f3158){const _0x5f24f2=_0x2e5f4c;if(this['_sessions'][_0x5f24f2(0x477)](_0x4f3158))return this[_0x5f24f2(0x483)]['get'](_0x4f3158);this[_0x5f24f2(0x276)]();const _0x1674f2=this[_0x5f24f2(0x3bf)][_0x5f24f2(0x408)](_0x5d9ca9[_0x5f24f2(0x4c1)],_0x4f3158,this[_0x5f24f2(0x34f)][_0x5f24f2(0x1be)]());return this[_0x5f24f2(0x483)][_0x5f24f2(0x246)](_0x4f3158,_0x1674f2),_0x1674f2;}[_0x2e5f4c(0x2ea)](_0x510b87){const _0x250bf8=_0x2e5f4c;var _0x4d7691;const _0x4b2417=this[_0x250bf8(0x483)]['get'](_0x510b87);_0x4b2417&&(this[_0x250bf8(0x483)]['delete'](_0x510b87),_0x4b2417[_0x250bf8(0x35d)]()),this['_sessions'][_0x250bf8(0x1f1)]||(_0x4d7691=this[_0x250bf8(0x1ed)])==null||_0x4d7691['close']();}['reconnect'](){const _0x400d25=_0x2e5f4c;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x400d25(0x2cd)]),this['_retryConnectingTimer']=null),this[_0x400d25(0x16a)]();}['_createSocket'](){const _0x8614eb=_0x2e5f4c;var _0x2952fb,_0x23fe87;const _0x4669a1=this['_configService'][_0x8614eb(0x18e)](_0x447e60),_0x25bde9=this['_configService']['getConfig'](_0x505ac2),_0x1b8b51=(_0x23fe87=(_0x2952fb=_0x25bde9==null?void 0x0:_0x25bde9[_0x8614eb(0x13b)])!=null?_0x2952fb:_0x4669a1)!=null?_0x23fe87:_0x46187b,_0x3890de=this['_socketService'][_0x8614eb(0x438)](_0x1b8b51);return this[_0x8614eb(0x25e)]=_0x3890de,_0x3890de;}[_0x2e5f4c(0x276)](){const _0x5af372=_0x2e5f4c;var _0x8cc1bf,_0x2c2205;try{const _0x51837e=(_0x2c2205=(_0x8cc1bf=this[_0x5af372(0x1ed)])!=null?_0x8cc1bf:this[_0x5af372(0x25e)])!=null?_0x2c2205:this['_createSocket']();if(_0x51837e){const _0x56cca2=_0x51837e[_0x5af372(0x198)];_0x51837e[_0x5af372(0x198)]=_0x4584bb=>(this[_0x5af372(0x3f2)](),_0x56cca2[_0x5af372(0x4ad)](_0x51837e,[_0x4584bb])),_0x51837e['message$'][_0x5af372(0x3ee)](_0x21b0f5=>this['_onMessage'](_0x51837e,_0x21b0f5)),_0x51837e[_0x5af372(0x216)][_0x5af372(0x31d)](_0x58074b[_0x5af372(0x338)](0x1))[_0x5af372(0x3ee)](_0x416706=>this[_0x5af372(0x55b)][_0x5af372(0x2ac)](_0x5af372(0x347),_0x416706)),_0x51837e[_0x5af372(0x330)][_0x5af372(0x31d)](_0x58074b['take'](0x1))[_0x5af372(0x3ee)](()=>{const _0x2ee965=_0x5af372;this[_0x2ee965(0x260)](_0x51837e);}),_0x51837e[_0x5af372(0x4a0)][_0x5af372(0x31d)](_0x58074b[_0x5af372(0x338)](0x1))['subscribe'](_0x1d65ce=>{const _0x24616a=_0x5af372;this[_0x24616a(0x55b)]['debug'](_0x24616a(0x197),_0x24616a(0x1cd),_0x1d65ce),this[_0x24616a(0x4be)]();});}}catch(_0x17deda){this[_0x5af372(0x55b)][_0x5af372(0x2ac)](_0x17deda),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x210f1d){const _0xe1e3b9=_0x2e5f4c;this[_0xe1e3b9(0x55b)][_0xe1e3b9(0x1dd)](_0xe1e3b9(0x197),_0xe1e3b9(0x4ae)),_0x210f1d['send']({'cmd':_0x2f025c[_0xe1e3b9(0x159)]}),this['_rescheduleHeartbeat']();}[_0x2e5f4c(0x2a8)](){const _0xbf5ac4=_0x2e5f4c;window[_0xbf5ac4(0x4a8)](_0xbf5ac4(0x4fb),()=>this[_0xbf5ac4(0x31a)]());}['_onOffline'](){const _0x512e41=_0x2e5f4c;this[_0x512e41(0x43d)]=!0x1,this[_0x512e41(0x25e)]=null,this[_0x512e41(0x3cb)]['next'](_0x4add37[_0x512e41(0x2d7)]),this[_0x512e41(0x34f)][_0x512e41(0x228)](null),this['_clearTimeoutTimer'](),this[_0x512e41(0x395)]();}[_0x2e5f4c(0x4be)](){const _0x182734=_0x2e5f4c;var _0x276047;this[_0x182734(0x31a)](),this['_retryCount']<((_0x276047=this[_0x182734(0x33c)]['getConfig'](_0xa4649a))!=null?_0x276047:0x3)?(this[_0x182734(0x340)][_0x182734(0x4f2)]({'key':_0x182734(0x250),'type':_0x4fd8aa[_0x182734(0x460)][_0x182734(0x470)],'content':this[_0x182734(0x3f9)]['t'](_0x182734(0x2bb))}),this[_0x182734(0x16a)]()):this[_0x182734(0x340)][_0x182734(0x4f2)]({'key':_0x182734(0x250),'type':_0x4fd8aa[_0x182734(0x460)]['Error'],'content':this[_0x182734(0x3f9)]['t'](_0x182734(0x1f6))});}[_0x2e5f4c(0x38b)](){const _0x382d5a=_0x2e5f4c,_0x4b82d3=()=>{const _0x2791f1=_0x9a79;this[_0x2791f1(0x1ed)]||this[_0x2791f1(0x300)]();},_0x338d54=()=>{const _0x374445=_0x9a79;this[_0x374445(0x1ed)]||document[_0x374445(0x50c)]===_0x374445(0x48e)||this[_0x374445(0x300)]();};window[_0x382d5a(0x4a8)](_0x382d5a(0x22d),_0x4b82d3),document[_0x382d5a(0x4a8)](_0x382d5a(0x424),_0x338d54);}[_0x2e5f4c(0x16a)](){const _0x16f7e0=_0x2e5f4c;var _0x396250;const _0x11b4ef=this['_retryCount'],_0x12dbb4=this[_0x16f7e0(0x33c)][_0x16f7e0(0x18e)](_0x505ac2),_0x29b3fa=_0x11b4ef===0x0?0x0:((_0x396250=_0x12dbb4==null?void 0x0:_0x12dbb4['retryConnectingInterval'])!=null?_0x396250:0x4e20)*0x2**_0x11b4ef;this[_0x16f7e0(0x2cd)]=window['setTimeout'](()=>{clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x29b3fa),this[_0x16f7e0(0x368)]+=0x1;}['_onMessage'](_0x2d6822,_0x59cf22){const _0x25c4d2=_0x2e5f4c,{cmd:_0x5e5f72}=_0x59cf22;_0x5e5f72===_0x2f025c['HELLO']&&!this[_0x25c4d2(0x43d)]&&(_0x2d6822[_0x25c4d2(0x153)]=_0x59cf22[_0x25c4d2(0x51b)]['memberID'],this[_0x25c4d2(0x34f)][_0x25c4d2(0x228)](_0x2d6822),this['_status$'][_0x25c4d2(0x228)](_0x4add37[_0x25c4d2(0x14e)]),this[_0x25c4d2(0x43d)]=!0x0,this['_candidateSocket']=null),_0x5e5f72===_0x2f025c[_0x25c4d2(0x240)]&&this[_0x25c4d2(0x1f7)](),this['_rescheduleHeartbeat']();}[_0x2e5f4c(0x3f2)](){const _0x410401=_0x2e5f4c;var _0x4413a9;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this[_0x410401(0x45b)](),(_0x4413a9=this[_0x410401(0x33c)]['getConfig'](_0x1a0de8))!=null?_0x4413a9:0x7530);}[_0x2e5f4c(0x45b)](){const _0x3ba6dd=_0x2e5f4c;this[_0x3ba6dd(0x1ed)][_0x3ba6dd(0x198)]({'cmd':_0x2f025c[_0x3ba6dd(0x240)]}),this[_0x3ba6dd(0x44c)]();}['_waitForHeartbeatResponse'](){const _0x145bd6=_0x2e5f4c;var _0x451136;this[_0x145bd6(0x191)]=window[_0x145bd6(0x4d6)](()=>this[_0x145bd6(0x4be)](),(_0x451136=this[_0x145bd6(0x33c)][_0x145bd6(0x18e)](_0xa604e8))!=null?_0x451136:0x4e20);}[_0x2e5f4c(0x395)](){const _0x337d7e=_0x2e5f4c;this[_0x337d7e(0x25b)]!=null&&(clearTimeout(this[_0x337d7e(0x25b)]),this['_sendHeartbeatTimer']=null);}[_0x2e5f4c(0x1f7)](){const _0x25a72e=_0x2e5f4c;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x25a72e(0x191)]),this[_0x25a72e(0x191)]=null);}},_0x5d9ca9['CollaborationSessionService']=_0x48bb89([_0x537460(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x537460(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['LocaleService'])),_0x537460(0x2,_0x43bf7d[_0x2e5f4c(0x358)]),_0x537460(0x3,_0x5dd71d['ILogService']),_0x537460(0x4,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x537460(0x5,_0x3b499d)],_0x5d9ca9['CollaborationSessionService']);for(var _0x5f1fe0=[],_0xd06bb7=0x0;_0xd06bb7<0x100;++_0xd06bb7)_0x5f1fe0[_0x2e5f4c(0x36b)]((_0xd06bb7+0x100)[_0x2e5f4c(0x46f)](0x10)[_0x2e5f4c(0x4ca)](0x1));function _0x1ffd89(_0x3df5da,_0x5ddd40=0x0){return(_0x5f1fe0[_0x3df5da[_0x5ddd40+0x0]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x1]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x2]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x3]]+'-'+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x4]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x5]]+'-'+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x6]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x7]]+'-'+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x8]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x9]]+'-'+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xa]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xb]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xc]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xd]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xe]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xf]])['toLowerCase']();}var _0x4ffa73,_0x5e5702=new Uint8Array(0x10);function _0xe91703(){const _0x13451f=_0x2e5f4c;if(!_0x4ffa73&&(_0x4ffa73=typeof crypto<'u'&&crypto[_0x13451f(0x243)]&&crypto[_0x13451f(0x243)]['bind'](crypto),!_0x4ffa73))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x4ffa73(_0x5e5702);}var _0x226917=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x2e5f4c(0x371)][_0x2e5f4c(0x295)](crypto);const _0x219949={'randomUUID':_0x226917};function _0x4e2978(_0x4c1c2e,_0x34bde3,_0x29a710){const _0x42674b=_0x2e5f4c;if(_0x219949[_0x42674b(0x371)]&&!_0x34bde3&&!_0x4c1c2e)return _0x219949[_0x42674b(0x371)]();_0x4c1c2e=_0x4c1c2e||{};var _0x1b66f5=_0x4c1c2e[_0x42674b(0x56c)]||(_0x4c1c2e[_0x42674b(0x211)]||_0xe91703)();return _0x1b66f5[0x6]=_0x1b66f5[0x6]&0xf|0x40,_0x1b66f5[0x8]=_0x1b66f5[0x8]&0x3f|0x80,_0x1ffd89(_0x1b66f5);}var _0x2ddb80=Object[_0x2e5f4c(0x2c2)],_0x54d2ef=Object[_0x2e5f4c(0x4b9)],_0x22e6ef=(_0x5d2e63,_0x4fb994,_0xdb0fe6,_0x404a79)=>{const _0x4464c2=_0x2e5f4c;for(var _0x19fefd=_0x404a79>0x1?void 0x0:_0x404a79?_0x54d2ef(_0x4fb994,_0xdb0fe6):_0x4fb994,_0x4516ea=_0x5d2e63[_0x4464c2(0x310)]-0x1,_0x5724d4;_0x4516ea>=0x0;_0x4516ea--)(_0x5724d4=_0x5d2e63[_0x4516ea])&&(_0x19fefd=(_0x404a79?_0x5724d4(_0x4fb994,_0xdb0fe6,_0x19fefd):_0x5724d4(_0x19fefd))||_0x19fefd);return _0x404a79&&_0x19fefd&&_0x2ddb80(_0x4fb994,_0xdb0fe6,_0x19fefd),_0x19fefd;},_0x12937d=(_0x31f450,_0x10029e)=>(_0x53ac9c,_0x31f957)=>_0x10029e(_0x53ac9c,_0x31f957,_0x31f450);let _0x4979f6=class{constructor(_0x216f5b,_0x49b721,_0x46f4ff){const _0x11daac=_0x2e5f4c;this[_0x11daac(0x3bf)]=_0x216f5b,this[_0x11daac(0x1a4)]=_0x49b721,this[_0x11daac(0x29d)]=_0x46f4ff;}[_0x2e5f4c(0x384)](_0x22dd28){const _0x2f8371=_0x2e5f4c;this[_0x2f8371(0x3cc)](_0x22dd28),this['_transformPreviousActiveRange'](_0x22dd28);}['transformRemoteChangeset'](_0x4db354){const _0x2f7a2b=_0x2e5f4c,{unitID:_0x4cd731}=_0x4db354,_0x82cfc9=this[_0x2f7a2b(0x29d)]['getRenderById'](_0x4cd731)[_0x2f7a2b(0x1fa)](_0x1e1fad['DocIMEInputManagerService']),{redoCache:_0x15b404}=_0x82cfc9[_0x2f7a2b(0x3f8)]();if(_0x15b404['length']===0x0)return _0x4db354;let _0x49f43a=_0x5dd71d[_0x2f7a2b(0x451)][_0x2f7a2b(0x4dc)](_0x4db354[_0x2f7a2b(0x273)][0x0]);for(let _0x41a415=0x0;_0x41a415<_0x15b404['length'];_0x41a415++){const _0x2d3c26={'id':_0x2f7a2b(0x499),'params':{..._0x15b404[_0x41a415]}},_0x31b13e=this[_0x2f7a2b(0x1a4)]['transformMutation'](_0x49f43a,_0x2d3c26,!0x1);if(_0x57fec2[_0x2f7a2b(0x230)](_0x31b13e))throw _0x31b13e[_0x2f7a2b(0x2ac)];_0x49f43a=_0x31b13e['m1Prime'];}return{..._0x5dd71d[_0x2f7a2b(0x451)]['deepClone'](_0x4db354),'mutations':[_0x49f43a]};}['_transformUndoRedoStack'](_0x4b35dc){const _0x2b9437=_0x2e5f4c,{unitID:_0x5a5990}=_0x4b35dc,_0x2f08b1=this['_renderManagerService'][_0x2b9437(0x42b)](_0x5a5990)['with'](_0x1e1fad[_0x2b9437(0x3e1)]),{undoCache:_0x4541a7,redoCache:_0x270eb0}=_0x2f08b1[_0x2b9437(0x3f8)]();if(_0x4541a7[_0x2b9437(0x310)]===0x0||_0x270eb0[_0x2b9437(0x310)]===0x0)return;const _0x193bbc=[],_0x1cb239=[];let _0x431038=_0x5dd71d[_0x2b9437(0x451)]['deepClone'](_0x4b35dc[_0x2b9437(0x273)][0x0]),_0x20f514=_0x5dd71d[_0x2b9437(0x451)][_0x2b9437(0x4dc)](_0x4b35dc['mutations'][0x0]);for(let _0xf707cd=_0x4541a7[_0x2b9437(0x310)]-0x1;_0xf707cd>=0x0;_0xf707cd--){const _0x45c1b7={'id':'doc.mutation.rich-text-editing','params':{..._0x4541a7[_0xf707cd]}},_0x315c79={'id':_0x2b9437(0x499),'params':{..._0x270eb0[_0xf707cd]}},_0x416b94=this[_0x2b9437(0x1a4)][_0x2b9437(0x4a7)](_0x431038,_0x45c1b7,!0x1),_0x163a7e=this['_transformService']['transformMutation'](_0x20f514,_0x315c79,!0x1);if(_0x57fec2[_0x2b9437(0x230)](_0x416b94))throw _0x416b94['error'];if(_0x57fec2['isTransformMutationFailure'](_0x163a7e))throw _0x163a7e['error'];_0x193bbc[_0x2b9437(0x53f)](_0x416b94[_0x2b9437(0x453)][_0x2b9437(0x484)]),_0x1cb239[_0x2b9437(0x53f)](_0x163a7e[_0x2b9437(0x453)][_0x2b9437(0x484)]),_0x431038=_0x416b94['m1Prime'],_0x20f514=_0x163a7e[_0x2b9437(0x22c)];}_0x2f08b1[_0x2b9437(0x143)]({'undoCache':_0x193bbc,'redoCache':_0x1cb239});}[_0x2e5f4c(0x372)](_0x1944ed){const _0x5e0170=_0x2e5f4c,{unitID:_0x5d5727}=_0x1944ed,_0x52019f=this[_0x5e0170(0x29d)][_0x5e0170(0x42b)](_0x5d5727)[_0x5e0170(0x1fa)](_0x1e1fad['DocIMEInputManagerService']),_0x262557=_0x52019f['getActiveRange']();if(_0x262557==null)return;const _0x599701=[{'id':_0x5e0170(0x499),'params':{'unitId':_0x1944ed['unitID'],'actions':null,'textRanges':[_0x262557]}}],_0x48be0f=this[_0x5e0170(0x1a4)][_0x5e0170(0x322)](_0x1944ed,_0x599701);if(!_0x57fec2[_0x5e0170(0x20e)](_0x48be0f))throw _0x48be0f[_0x5e0170(0x2ac)];const _0x4dff1a=_0x48be0f[_0x5e0170(0x453)][0x0][_0x5e0170(0x484)][_0x5e0170(0x1a2)];Array[_0x5e0170(0x241)](_0x4dff1a)&&_0x4dff1a[_0x5e0170(0x310)]&&_0x52019f[_0x5e0170(0x4cc)](_0x4dff1a[0x0]);}};_0x4979f6=_0x22e6ef([_0x12937d(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x12937d(0x1,_0x57fec2[_0x2e5f4c(0x52d)]),_0x12937d(0x2,_0x3a6273[_0x2e5f4c(0x341)])],_0x4979f6);var _0x39421d=Object[_0x2e5f4c(0x2c2)],_0x1fe9a0=Object[_0x2e5f4c(0x4b9)],_0x18cab5=(_0x109d82,_0x59b822,_0x4c27e2,_0x51ade8)=>{const _0x34ea23=_0x2e5f4c;for(var _0x3a7429=_0x51ade8>0x1?void 0x0:_0x51ade8?_0x1fe9a0(_0x59b822,_0x4c27e2):_0x59b822,_0x418a11=_0x109d82[_0x34ea23(0x310)]-0x1,_0xdc80b0;_0x418a11>=0x0;_0x418a11--)(_0xdc80b0=_0x109d82[_0x418a11])&&(_0x3a7429=(_0x51ade8?_0xdc80b0(_0x59b822,_0x4c27e2,_0x3a7429):_0xdc80b0(_0x3a7429))||_0x3a7429);return _0x51ade8&&_0x3a7429&&_0x39421d(_0x59b822,_0x4c27e2,_0x3a7429),_0x3a7429;},_0x316a5d=(_0x141f90,_0x47ed7f)=>(_0x267f73,_0x2ea7c1)=>_0x47ed7f(_0x267f73,_0x2ea7c1,_0x141f90);_0x5d9ca9[_0x2e5f4c(0x557)]=class extends _0x5dd71d['Disposable']{constructor(_0x4b2c13,_0x5c9275,_0x45350b,_0x26b7e1,_0x443c35){const _0xefd86e=_0x2e5f4c;super(),_0x30b9f2(this,'_cachedData',new Map()),_0x30b9f2(this,_0xefd86e(0x2b7),new Map()),_0x30b9f2(this,_0xefd86e(0x1b7),!0x1),(this[_0xefd86e(0x33c)]=_0x4b2c13,this[_0xefd86e(0x47b)]=_0x5c9275,this[_0xefd86e(0x4bf)]=_0x45350b,this['_localeService']=_0x26b7e1,this[_0xefd86e(0x492)]=_0x443c35,this[_0xefd86e(0x432)]());}[_0x2e5f4c(0x364)](){const _0x3e98e1=_0x2e5f4c;this[_0x3e98e1(0x1b7)]=!0x0;}[_0x2e5f4c(0x306)](){this['_disabled']=!0x1;}[_0x2e5f4c(0x32d)](){const _0x759ab1=_0x2e5f4c;this[_0x759ab1(0x3e4)]()['then'](()=>super[_0x759ab1(0x32d)]());}async[_0x2e5f4c(0x1c2)](_0xc6abb0){const _0x2acede=_0x2e5f4c;return this[_0x2acede(0x1b7)]?null:this[_0x2acede(0x47b)][_0x2acede(0x294)](_0x22e2b6(_0xc6abb0));}async[_0x2e5f4c(0x532)](_0x17ad37,_0x27fe8a){return!!this['_localStorageService']['setItem'](_0x17ad37,_0x27fe8a);}[_0x2e5f4c(0x397)](_0x148349,_0x326816,_0x1b51eb,_0xbf04a6){const _0xb749ec=_0x2e5f4c,_0x12cc07=this['_revisionService'][_0xb749ec(0x3b2)](_0x148349);this[_0xb749ec(0x425)][_0xb749ec(0x246)](_0x148349,{'unitID':_0x148349,'type':_0x326816,'awaitingChangeset':_0x1b51eb,'mutations':_0xbf04a6,'rev':_0x12cc07}),this[_0xb749ec(0x2b7)][_0xb749ec(0x477)](_0x148349)||this[_0xb749ec(0x503)](_0x148349);}['_scheduleSaving'](_0xb0fbae){const _0x3e78fc=_0x2e5f4c,_0x76d35f=this[_0x3e78fc(0x357)]();_0x76d35f===0x0?this[_0x3e78fc(0x1ba)](_0xb0fbae):this[_0x3e78fc(0x2b7)][_0x3e78fc(0x246)](_0xb0fbae,setTimeout(()=>this[_0x3e78fc(0x1ba)](_0xb0fbae),_0x76d35f));}[_0x2e5f4c(0x357)](){const _0x4c8aa=_0x2e5f4c;var _0x5eb5df;return(_0x5eb5df=this[_0x4c8aa(0x33c)][_0x4c8aa(0x18e)](_0x1e8c54))!=null?_0x5eb5df:0x3e8;}[_0x2e5f4c(0x1ba)](_0x1e1ffc){const _0x1c1647=_0x2e5f4c,_0xd25e79=this[_0x1c1647(0x2b7)][_0x1c1647(0x578)](_0x1e1ffc);return _0xd25e79!==void 0x0&&window['clearTimeout'](_0xd25e79),this[_0x1c1647(0x47b)]['setItem'](_0x22e2b6(_0x1e1ffc),this['_cachedData']['get'](_0x1e1ffc))[_0x1c1647(0x18f)](()=>this[_0x1c1647(0x2b7)][_0x1c1647(0x370)](_0x1e1ffc));}async['exhaustSavingTask'](){const _0x5e52fb=_0x2e5f4c,_0x21d637=[];this[_0x5e52fb(0x2b7)][_0x5e52fb(0x3e9)]((_0xb9fe63,_0x40001a)=>{const _0xe57e2=_0x5e52fb;window['clearTimeout'](_0xb9fe63),_0x21d637[_0xe57e2(0x36b)](this[_0xe57e2(0x1ba)](_0x40001a)['then'](()=>{const _0xab8fd8=_0xe57e2;this[_0xab8fd8(0x2b7)][_0xab8fd8(0x370)](_0x40001a);}));}),await Promise['all'](_0x21d637);}[_0x2e5f4c(0x432)](){const _0x4d4690=_0x2e5f4c;this[_0x4d4690(0x360)](this[_0x4d4690(0x4bf)][_0x4d4690(0x374)](()=>{const _0xec5d4c=_0x4d4690;if(this['_saveTaskMap'][_0xec5d4c(0x1f1)])return this[_0xec5d4c(0x3f9)]['t'](_0xec5d4c(0x27e));}));}},_0x5d9ca9['LocalCacheService']=_0x18cab5([_0x316a5d(0x0,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x316a5d(0x1,_0x5dd71d['ILocalStorageService']),_0x316a5d(0x2,_0x43bf7d[_0x2e5f4c(0x287)]),_0x316a5d(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x23d)])),_0x316a5d(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2['RevisionService']))],_0x5d9ca9[_0x2e5f4c(0x557)]);function _0x22e2b6(_0x3ceab8){const _0x27bec5=_0x2e5f4c;return _0x27bec5(0x1d4)+_0x3ceab8;}var _0x51e137=Object[_0x2e5f4c(0x2c2)],_0x2f28aa=Object[_0x2e5f4c(0x4b9)],_0x42d765=(_0x576199,_0x38b220,_0x38d16c,_0x2e9f8e)=>{const _0x5c86dc=_0x2e5f4c;for(var _0x7d657e=_0x2e9f8e>0x1?void 0x0:_0x2e9f8e?_0x2f28aa(_0x38b220,_0x38d16c):_0x38b220,_0x1503ee=_0x576199[_0x5c86dc(0x310)]-0x1,_0x390dfb;_0x1503ee>=0x0;_0x1503ee--)(_0x390dfb=_0x576199[_0x1503ee])&&(_0x7d657e=(_0x2e9f8e?_0x390dfb(_0x38b220,_0x38d16c,_0x7d657e):_0x390dfb(_0x7d657e))||_0x7d657e);return _0x2e9f8e&&_0x7d657e&&_0x51e137(_0x38b220,_0x38d16c,_0x7d657e),_0x7d657e;},_0x14db96=(_0x4d2011,_0xbc0cf2)=>(_0x2a4bf1,_0x347d2f)=>_0xbc0cf2(_0x2a4bf1,_0x347d2f,_0x4d2011);function _0x411cc7(_0x5e400d){const _0x172a7f=_0x2e5f4c,{unitID:_0x23d590,mutations:_0x8fb2d0}=_0x5e400d;return{'unitId':_0x23d590,'subUnitId':_0x8fb2d0[0x0][_0x172a7f(0x484)]['subUnitId']};}let _0x1c7bc3=class{constructor(_0x282e6c,_0x2e0c4e,_0x7ff1d1){const _0x48fe3b=_0x2e5f4c;this['_injector']=_0x282e6c,this[_0x48fe3b(0x1a4)]=_0x2e0c4e,this[_0x48fe3b(0x473)]=_0x7ff1d1;}[_0x2e5f4c(0x51c)](_0x5413e8){const _0x196b88=_0x2e5f4c;var _0x3c2a1c,_0x1655ba,_0x217c6d,_0x3faa39;const _0x860fc7=this[_0x196b88(0x3bf)][_0x196b88(0x578)](_0x51fcfd[_0x196b88(0x165)]),{unitId:_0xd9deb2,subUnitId:_0x8b75d4}=_0x411cc7(_0x5413e8),_0x4eb330=_0x860fc7[_0x196b88(0x20b)](_0xd9deb2)[_0x196b88(0x37c)](),_0x2aa183=(_0x1655ba=(_0x3c2a1c=this['_instanceService'][_0x196b88(0x3dc)](_0xd9deb2))==null?void 0x0:_0x3c2a1c[_0x196b88(0x41c)]())==null?void 0x0:_0x1655ba[_0x196b88(0x1df)]();if(_0x4eb330[_0x196b88(0x310)]===0x0||!_0xd9deb2||!_0x8b75d4)return;const _0x2fab66=[{'id':_0x51fcfd[_0x196b88(0x333)]['id'],'params':{'unitId':_0xd9deb2,'subUnitId':_0x2aa183,'selections':_0x5dd71d['Tools'][_0x196b88(0x4dc)](_0x4eb330)}}],_0x2e0ccb=this[_0x196b88(0x1a4)]['transformMutationsWithChangeset'](_0x5413e8,_0x2fab66);if(!_0x57fec2[_0x196b88(0x20e)](_0x2e0ccb))throw _0x2e0ccb[_0x196b88(0x2ac)];const _0xa76ab3=(_0x3faa39=(_0x217c6d=_0x2e0ccb[_0x196b88(0x453)][0x0])==null?void 0x0:_0x217c6d[_0x196b88(0x484)])==null?void 0x0:_0x3faa39[_0x196b88(0x502)];if(Array['isArray'](_0xa76ab3)&&_0xa76ab3[_0x196b88(0x310)]){if(_0xa76ab3[_0x196b88(0x310)]===_0x2fab66[0x0]['params'][_0x196b88(0x502)][_0x196b88(0x310)]&&_0xa76ab3[_0x196b88(0x2be)]((_0x56ea6b,_0x5585d4)=>_0x5dd71d[_0x196b88(0x1ce)][_0x196b88(0x2ee)](_0x56ea6b[_0x196b88(0x2a2)],_0x2fab66[0x0][_0x196b88(0x484)][_0x196b88(0x502)][_0x5585d4][_0x196b88(0x2a2)])))return;this[_0x196b88(0x3bf)][_0x196b88(0x578)](_0x5dd71d['ICommandService'])[_0x196b88(0x21a)](_0x51fcfd['SetSelectionsOperation']['id'],{'unitId':_0xd9deb2,'subUnitId':_0x2aa183,'selections':_0xa76ab3});}}};_0x1c7bc3=_0x42d765([_0x14db96(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x14db96(0x1,_0x57fec2[_0x2e5f4c(0x52d)]),_0x14db96(0x2,_0x5dd71d[_0x2e5f4c(0x373)])],_0x1c7bc3);const _0x3ed5e0=_0x5dd71d[_0x2e5f4c(0x573)](_0x2e5f4c(0x50b));var _0x417cca=(_0xa48653=>(_0xa48653[_0xa48653['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2e5f4c(0x2d9),_0xa48653[_0xa48653['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0xa48653))(_0x417cca||{});const _0x16337c=0x7530,_0x13a5d0=_0x2e5f4c(0x252);class _0x35f67a extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(){const _0x1c1e7e=_0x2e5f4c;super(),_0x30b9f2(this,_0x1c1e7e(0x465),_0x5dd71d['Tools'][_0x1c1e7e(0x4e9)]()),_0x30b9f2(this,_0x1c1e7e(0x526),new Set()),_0x30b9f2(this,_0x1c1e7e(0x2b2),new Map()),_0x30b9f2(this,'_heartbeatTimer',null),_0x30b9f2(this,_0x1c1e7e(0x34e),new Map()),_0x30b9f2(this,_0x1c1e7e(0x2b4),new Map()),this[_0x1c1e7e(0x389)]();}[_0x2e5f4c(0x32d)](){const _0x16d6e5=_0x2e5f4c;super[_0x16d6e5(0x32d)](),this[_0x16d6e5(0x34e)]['forEach']((_0x2e09a4,_0x217c4b)=>this[_0x16d6e5(0x42c)](_0x217c4b)),this[_0x16d6e5(0x2f6)]&&window[_0x16d6e5(0x16d)](this['_heartbeatTimer']);}[_0x2e5f4c(0x43e)](_0x1110c5){const _0x13ed8a=_0x2e5f4c;return this[_0x13ed8a(0x407)](_0x1110c5)[_0x13ed8a(0x31d)](_0x1e8f3c[_0x13ed8a(0x2a4)]());}['editingUnit'](_0x127572){const _0x41b4b7=_0x2e5f4c;this['_selfUnitIDs'][_0x41b4b7(0x1f1)]===0x0&&this[_0x41b4b7(0x495)](),this[_0x41b4b7(0x526)]['add'](_0x127572),this[_0x41b4b7(0x1c4)]({'type':0x0,'memberID':this[_0x41b4b7(0x465)],'unitIDs':[_0x127572],'isForwarded':!0x1});}[_0x2e5f4c(0x149)](_0xfa4740){const _0x34ad4a=_0x2e5f4c;this[_0x34ad4a(0x526)][_0x34ad4a(0x370)](_0xfa4740),this['_selfUnitIDs'][_0x34ad4a(0x1f1)]===0x0&&this[_0x34ad4a(0x2f6)]&&window['clearInterval'](this[_0x34ad4a(0x2f6)]);}[_0x2e5f4c(0x389)](){const _0x59ac2c=_0x2e5f4c;this[_0x59ac2c(0x360)](_0x5dd71d[_0x59ac2c(0x377)](_0x1e8f3c['fromEvent'](window,_0x59ac2c(0x212))['subscribe'](_0xe8d445=>{const _0x1aea43=_0x59ac2c;if(_0xe8d445[_0x1aea43(0x3a4)]!==_0x13a5d0||!_0xe8d445['newValue'])return;const _0x19e245=JSON[_0x1aea43(0x140)](_0xe8d445['newValue']);this[_0x1aea43(0x2a3)](_0x19e245);}))),window[_0x59ac2c(0x4a8)](_0x59ac2c(0x1d9),()=>this['_send']({'type':0x1,'memberID':this[_0x59ac2c(0x465)],'unitIDs':Array[_0x59ac2c(0x4a3)](this[_0x59ac2c(0x526)])}));}[_0x2e5f4c(0x2a3)](_0x5acdb7){const _0x1e3522=_0x2e5f4c;switch(_0x5acdb7['type']){case 0x0:this[_0x1e3522(0x275)](_0x5acdb7);break;case 0x1:this[_0x1e3522(0x412)](_0x5acdb7);break;case 0x2:this[_0x1e3522(0x1fd)](_0x5acdb7);break;}}['_handleJoinEvent'](_0x50e3e2){const _0x472117=_0x2e5f4c,{unitIDs:_0x4c8f6b,memberID:_0xbac177,isForwarded:_0x4753f6}=_0x50e3e2;_0x4c8f6b['forEach'](_0x197fe1=>{const _0x2ccdb4=_0x9a79;if(!_0x4753f6&&this[_0x2ccdb4(0x2b2)][_0x2ccdb4(0x477)](_0x197fe1)&&this[_0x2ccdb4(0x407)](_0x197fe1)['next'](0x1),!this['_unitOnClients'][_0x2ccdb4(0x477)](_0x197fe1)||!this[_0x2ccdb4(0x2b2)][_0x2ccdb4(0x578)](_0x197fe1)[_0x2ccdb4(0x477)](_0xbac177)){const _0x2c9e5b=this[_0x2ccdb4(0x2b2)][_0x2ccdb4(0x578)](_0x197fe1)||new Set();_0x2c9e5b[_0x2ccdb4(0x323)](_0xbac177),this[_0x2ccdb4(0x2b2)][_0x2ccdb4(0x246)](_0x197fe1,_0x2c9e5b),this[_0x2ccdb4(0x39b)](_0xbac177);}}),_0x4753f6||this[_0x472117(0x1c4)]({'type':0x0,'memberID':this[_0x472117(0x465)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x301455){const _0x3794d7=_0x2e5f4c;this[_0x3794d7(0x42c)](_0x301455);const _0x2abf32=window[_0x3794d7(0x4d6)](()=>{const _0x43c236=_0x3794d7;this[_0x43c236(0x2b2)][_0x43c236(0x3e9)](_0xf1d8a2=>{_0xf1d8a2['delete'](_0x301455);});},_0x16337c*0x2);this[_0x3794d7(0x34e)][_0x3794d7(0x246)](_0x301455,_0x2abf32);}[_0x2e5f4c(0x42c)](_0xf34ada){const _0x59badc=_0x2e5f4c;if(this[_0x59badc(0x34e)][_0x59badc(0x477)](_0xf34ada)){const _0x4b8f4c=this['_clearOtherTimers'][_0x59badc(0x578)](_0xf34ada);_0x4b8f4c&&window[_0x59badc(0x27f)](_0x4b8f4c),this[_0x59badc(0x34e)][_0x59badc(0x246)](_0xf34ada,null);}}[_0x2e5f4c(0x412)](_0x8e13d1){const _0xfd8612=_0x2e5f4c,{memberID:_0x488efc,unitIDs:_0x9ab1f5}=_0x8e13d1;_0x9ab1f5[_0xfd8612(0x3e9)](_0x3050c4=>{const _0x3c50df=_0xfd8612;var _0x3e9453;const _0x3e6171=this['_unitOnClients']['get'](_0x3050c4);_0x3e6171&&(_0x3e6171['delete'](_0x488efc),(_0x3e9453=this[_0x3c50df(0x407)](_0x3050c4))==null||_0x3e9453['next'](_0x3e6171[_0x3c50df(0x1f1)]===0x0?0x0:0x1));}),this[_0xfd8612(0x42c)](_0x488efc);}['_handleHeartbeatEvent'](_0x2aa715){const _0xe5ff2f=_0x2e5f4c;this[_0xe5ff2f(0x39b)](_0x2aa715['memberID']);}[_0x2e5f4c(0x1c4)](_0x45a6e5){localStorage['setItem'](_0x13a5d0,JSON['stringify'](_0x45a6e5));}[_0x2e5f4c(0x495)](){const _0x138921=_0x2e5f4c;this[_0x138921(0x2f6)]=window[_0x138921(0x527)](()=>{const _0x2bdd5c=_0x138921;this['_send']({'type':0x2,'memberID':this[_0x2bdd5c(0x465)]});},_0x16337c);}[_0x2e5f4c(0x407)](_0x4789d2){const _0x2f6ec9=_0x2e5f4c;return this[_0x2f6ec9(0x2b4)][_0x2f6ec9(0x477)](_0x4789d2)||this[_0x2f6ec9(0x2b4)][_0x2f6ec9(0x246)](_0x4789d2,new _0x1e8f3c[(_0x2f6ec9(0x3ca))](0x0)),this['_unitStatus'][_0x2f6ec9(0x578)](_0x4789d2);}}function _0x2e04c1(_0x47ef6f){const _0x2e5ca7=_0x2e5f4c;let _0x47fd8e='';for(const _0x26e61a of _0x47ef6f){const {startOffset:_0x3a28a6,endOffset:_0x19f410,isActive:_0x787b7a}=_0x26e61a;_0x47fd8e[_0x2e5ca7(0x310)]&&(_0x47fd8e+=','),_0x47fd8e+=_0x3a28a6+':'+_0x19f410+':'+(_0x787b7a?'1':'0');}return _0x47fd8e;}function _0x4787e5(_0x132a01){const _0x31c4a2=_0x2e5f4c,_0x7301c0=_0x132a01[_0x31c4a2(0x168)](','),_0x391fd6=[];for(const _0x25f0da of _0x7301c0){const [_0x4cf726,_0x951d2e,_0x54ad3f]=_0x25f0da[_0x31c4a2(0x168)](':');_0x391fd6['push']({'startOffset':Number(_0x4cf726),'endOffset':Number(_0x951d2e),'collapsed':_0x4cf726===_0x951d2e,'isActive':_0x54ad3f==='1'});}return _0x391fd6[_0x31c4a2(0x179)](_0x5c61a9=>_0x5c61a9[_0x31c4a2(0x54b)])||(_0x391fd6[0x0][_0x31c4a2(0x54b)]=!0x0),_0x391fd6;}class _0x55fe8c extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(){const _0xbe6269=_0x2e5f4c;super(...arguments),_0x30b9f2(this,_0xbe6269(0x2cf),new _0x1e8f3c[(_0xbe6269(0x3ca))](null)),_0x30b9f2(this,_0xbe6269(0x251),this['_collabCursorState$']['asObservable']());}[_0x2e5f4c(0x52f)](_0x40aeba){const _0x1af016=_0x2e5f4c,{unitID:_0x6cc05,memberID:_0x2409e8,textRanges:_0x13433a}=_0x40aeba,_0x2b777b=_0x2e04c1(_0x13433a),_0x1f137f={'unitID':_0x6cc05,'memberID':_0x2409e8,'selection':_0x2b777b};this[_0x1af016(0x2cf)]['next'](_0x1f137f);}}var _0xb34cc=Object[_0x2e5f4c(0x2c2)],_0x2063c3=Object[_0x2e5f4c(0x4b9)],_0xe2c4db=(_0x5ea7cc,_0x4cf487,_0x6c727,_0x398dde)=>{const _0x302b5a=_0x2e5f4c;for(var _0x30bca7=_0x398dde>0x1?void 0x0:_0x398dde?_0x2063c3(_0x4cf487,_0x6c727):_0x4cf487,_0x39117a=_0x5ea7cc[_0x302b5a(0x310)]-0x1,_0x43a3d1;_0x39117a>=0x0;_0x39117a--)(_0x43a3d1=_0x5ea7cc[_0x39117a])&&(_0x30bca7=(_0x398dde?_0x43a3d1(_0x4cf487,_0x6c727,_0x30bca7):_0x43a3d1(_0x30bca7))||_0x30bca7);return _0x398dde&&_0x30bca7&&_0xb34cc(_0x4cf487,_0x6c727,_0x30bca7),_0x30bca7;},_0x43e7f3=(_0x9c53da,_0x36a344)=>(_0x2ef161,_0x5b8f8a)=>_0x36a344(_0x2ef161,_0x5b8f8a,_0x9c53da);let _0x54ffaf=class{constructor(_0x248962,_0x50f5b8){const _0x5cf73a=_0x2e5f4c;this[_0x5cf73a(0x3bf)]=_0x248962,this[_0x5cf73a(0x1a4)]=_0x50f5b8;}[_0x2e5f4c(0x51c)](_0x5f13eb){const _0x35fe2f=_0x2e5f4c;var _0x22edd0;const _0x30bc4c=this[_0x35fe2f(0x3bf)]['get'](_0x4c83d7['DocSelectionManagerService']),_0x26e286=(_0x22edd0=_0x30bc4c[_0x35fe2f(0x139)]())!=null?_0x22edd0:[];if(_0x26e286[_0x35fe2f(0x310)]===0x0)return;const _0x3150e8=[{'id':_0x35fe2f(0x499),'params':{'unitId':_0x5f13eb[_0x35fe2f(0x145)],'actions':null,'textRanges':_0x26e286}}],_0xf0b31f=this['_transformService'][_0x35fe2f(0x322)](_0x5f13eb,_0x3150e8);if(!_0x57fec2[_0x35fe2f(0x20e)](_0xf0b31f))throw _0xf0b31f[_0x35fe2f(0x2ac)];const _0xbbc42b=_0xf0b31f[_0x35fe2f(0x453)][0x0][_0x35fe2f(0x484)][_0x35fe2f(0x1a2)];Array[_0x35fe2f(0x241)](_0xbbc42b)&&_0xbbc42b[_0x35fe2f(0x310)]&&_0x30bc4c[_0x35fe2f(0x136)](_0xbbc42b,!0x1);}};_0x54ffaf=_0xe2c4db([_0x43e7f3(0x0,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x43e7f3(0x1,_0x57fec2['ITransformService'])],_0x54ffaf);const _0x5949fc=new Set([_0x51fcfd[_0x2e5f4c(0x448)]['id']]);function _0x1e96a2(_0x4e4ead,_0x49934a,_0x5d635b,_0x4ec431,_0x4002f7){const _0x59815a=_0x2e5f4c;var _0x198a2a,_0x5671a6,_0x523a4a,_0x33deb2;const _0x4a3bd6=[];for(const _0x1c92f7 of _0x4e4ead)if(_0x5949fc[_0x59815a(0x477)](_0x1c92f7['id'])){if(_0x4a3bd6[_0x59815a(0x310)]>0x0)break;_0x4a3bd6[_0x59815a(0x36b)](_0x1c92f7);break;}else _0x4a3bd6['push'](_0x1c92f7);const _0x14a9cd=(_0x5671a6=(_0x198a2a=_0x4002f7['getCurrentUser']())==null?void 0x0:_0x198a2a[_0x59815a(0x245)])!=null?_0x5671a6:_0x59815a(0x505),_0x4f0e13=(_0x33deb2=(_0x523a4a=_0x4002f7[_0x59815a(0x4ff)]())==null?void 0x0:_0x523a4a[_0x59815a(0x153)])!=null?_0x33deb2:_0x59815a(0x505);return{'changeset':{'unitID':_0x49934a,'type':_0x57fec2[_0x59815a(0x1f8)](_0x5d635b[_0x59815a(0x512)](_0x49934a)),'baseRev':_0x4ec431[_0x59815a(0x3b2)](_0x49934a),'revision':0x0,'userID':_0x14a9cd,'memberID':_0x4f0e13,'mutations':_0x4a3bd6},'pendingMutations':_0x4e4ead[_0x59815a(0x4ca)](_0x4a3bd6[_0x59815a(0x310)])};}function _0x5875d5(_0x2c99bf,_0xb14ecc,_0x27bfa1,_0x3182b9,_0x590814){const _0x231120=_0x2e5f4c;var _0xed2fad,_0x38f9ce,_0x57eba3,_0x5e73ca;const _0x1d0400=[_0x2c99bf[_0x231120(0x515)]((_0x47150b,_0x3f7b87)=>{const _0x33d11d=_0x231120;var _0x353eb4;const {id:_0x582e0a}=_0x47150b,{id:_0x9a0e5b,type:_0x68a2cd}=_0x3f7b87,_0x1d09ef=(_0x353eb4=_0x47150b['params'])!=null?_0x353eb4:{'actions':null},_0x1a6796=_0x3f7b87[_0x33d11d(0x484)];if(_0x582e0a&&_0x582e0a!==_0x9a0e5b)throw new Error(_0x33d11d(0x138)+_0x582e0a+_0x33d11d(0x2fa)+_0x9a0e5b+'.');return{..._0x47150b,'id':_0x9a0e5b,'type':_0x68a2cd,'params':{'unitId':_0x1a6796[_0x33d11d(0x183)],'textRanges':_0x1a6796[_0x33d11d(0x1a2)],'actions':_0x5dd71d[_0x33d11d(0x172)][_0x33d11d(0x4f8)](_0x1d09ef['actions'],_0x1a6796[_0x33d11d(0x317)])}};},{})],_0xd1898d=(_0x38f9ce=(_0xed2fad=_0x590814[_0x231120(0x4ff)]())==null?void 0x0:_0xed2fad[_0x231120(0x245)])!=null?_0x38f9ce:_0x231120(0x505),_0x42debf=(_0x5e73ca=(_0x57eba3=_0x590814[_0x231120(0x4ff)]())==null?void 0x0:_0x57eba3[_0x231120(0x153)])!=null?_0x5e73ca:'unknown';return{'changeset':{'unitID':_0xb14ecc,'type':_0x57fec2[_0x231120(0x1f8)](_0x27bfa1[_0x231120(0x512)](_0xb14ecc)),'baseRev':_0x3182b9[_0x231120(0x3b2)](_0xb14ecc),'revision':0x0,'userID':_0xd1898d,'memberID':_0x42debf,'mutations':_0x1d0400},'pendingMutations':[]};}function _0x2da4a8(_0x75d099,_0x1adc25){const _0x303e14=_0x2e5f4c,_0x996cf2=new _0x1e8f3c['ReplaySubject'](0x1);return setTimeout(()=>_0x996cf2[_0x303e14(0x228)](_0x1adc25),_0x75d099),_0x996cf2['asObservable']()[_0x303e14(0x31d)](_0x1e8f3c[_0x303e14(0x338)](0x1));}const _0x4191ed={'id':_0x51fcfd[_0x2e5f4c(0x416)]['id'],'type':_0x5dd71d[_0x2e5f4c(0x29f)][_0x2e5f4c(0x2c4)],'params':{}};var _0x56e990=Object['defineProperty'],_0x5252e9=Object[_0x2e5f4c(0x4b9)],_0x4b0fa8=(_0x577350,_0x1d79b5,_0x3e3e2e,_0x1d6dd9)=>{const _0x416743=_0x2e5f4c;for(var _0x4b277c=_0x1d6dd9>0x1?void 0x0:_0x1d6dd9?_0x5252e9(_0x1d79b5,_0x3e3e2e):_0x1d79b5,_0x355049=_0x577350[_0x416743(0x310)]-0x1,_0x393c8e;_0x355049>=0x0;_0x355049--)(_0x393c8e=_0x577350[_0x355049])&&(_0x4b277c=(_0x1d6dd9?_0x393c8e(_0x1d79b5,_0x3e3e2e,_0x4b277c):_0x393c8e(_0x4b277c))||_0x4b277c);return _0x1d6dd9&&_0x4b277c&&_0x56e990(_0x1d79b5,_0x3e3e2e,_0x4b277c),_0x4b277c;},_0x2cf916=(_0x35ac27,_0x67f7ff)=>(_0xd7a472,_0x4e8933)=>_0x67f7ff(_0xd7a472,_0x4e8933,_0x35ac27),_0x3cd2aa=(_0x223d5a=>(_0x223d5a[_0x2e5f4c(0x313)]='not_collab',_0x223d5a[_0x2e5f4c(0x513)]=_0x2e5f4c(0x25c),_0x223d5a[_0x2e5f4c(0x30e)]=_0x2e5f4c(0x534),_0x223d5a['AWAITING']=_0x2e5f4c(0x19c),_0x223d5a[_0x2e5f4c(0x508)]=_0x2e5f4c(0x47a),_0x223d5a[_0x2e5f4c(0x24d)]='fetch_missing',_0x223d5a[_0x2e5f4c(0x224)]=_0x2e5f4c(0x488),_0x223d5a[_0x2e5f4c(0x2d7)]=_0x2e5f4c(0x4fb),_0x223d5a))(_0x3cd2aa||{});const _0x1929b6=0xea60;class _0x24a855{constructor(_0x3d5126,_0x2bafc1,_0x19fc9f,_0x2452db,_0x313b92,_0x14c1a9,_0x2e2609,_0x2bd6fd,_0x3c039e){const _0x16765f=_0x2e5f4c;_0x30b9f2(this,'_awaitingChangeset',null),_0x30b9f2(this,_0x16765f(0x1db),[]),(this[_0x16765f(0x145)]=_0x3d5126,this[_0x16765f(0x4c7)]=_0x2bafc1,this[_0x16765f(0x4f0)]=_0x313b92,this[_0x16765f(0x2aa)]=_0x14c1a9,this[_0x16765f(0x167)]=_0x2e2609,this[_0x16765f(0x492)]=_0x2bd6fd,this[_0x16765f(0x178)]=_0x3c039e,this[_0x16765f(0x19d)]=_0x19fc9f,this[_0x16765f(0x1db)]=_0x2452db);}[_0x2e5f4c(0x324)](_0x254a0a){const _0x424e6d=_0x2e5f4c,_0x23f9ae=this['_revisionService'][_0x424e6d(0x3b2)](this[_0x424e6d(0x145)]);return _0x254a0a['revision']>_0x23f9ae+0x1?(this['_handler']['onMissingChangesets']({'from':_0x23f9ae,'to':_0x254a0a[_0x424e6d(0x292)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x29ecc1){const _0x3565ff=_0x2e5f4c;this[_0x3565ff(0x167)]['transformUndoRedo'](this[_0x3565ff(0x145)],_0x29ecc1);}[_0x2e5f4c(0x4b0)](_0x244cea){const _0x597688=_0x2e5f4c;var _0x565310,_0x36d70d;(_0x36d70d=(_0x565310=this['_handler'])[_0x597688(0x3b4)])==null||_0x36d70d['call'](_0x565310,_0x244cea);}[_0x2e5f4c(0x43b)](_0x58ef70){const _0x4ee3a3=_0x2e5f4c;var _0x783fe1,_0x4887e1;return(_0x4887e1=(_0x783fe1=this[_0x4ee3a3(0x4f0)])[_0x4ee3a3(0x489)])==null?void 0x0:_0x4887e1[_0x4ee3a3(0x152)](_0x783fe1,_0x58ef70);}[_0x2e5f4c(0x267)](_0xa4c2f5){const _0xe2eca=_0x2e5f4c;var _0x1e80d4,_0x53093e,_0x34331b;return(_0x34331b=(_0x53093e=(_0x1e80d4=this[_0xe2eca(0x4f0)])[_0xe2eca(0x3fc)])==null?void 0x0:_0x53093e[_0xe2eca(0x152)](_0x1e80d4,_0xa4c2f5))!=null?_0x34331b:_0xa4c2f5;}['_syncEditingCollabCursor'](_0x120239){const _0x8c2cee=_0x2e5f4c;var _0x55c348,_0x380408;if(this[_0x8c2cee(0x4c7)]===_0x17bbb0['UNIVER_DOC']){const {unitID:_0xbd91e6,mutations:_0x58c4ad,memberID:_0x1da359}=_0x120239,_0x3942ca=_0x58c4ad[0x0][_0x8c2cee(0x484)][_0x8c2cee(0x1a2)];Array['isArray'](_0x3942ca)&&_0x3942ca[_0x8c2cee(0x310)]>0x0&&((_0x380408=(_0x55c348=this['_handler'])[_0x8c2cee(0x2c3)])==null||_0x380408[_0x8c2cee(0x152)](_0x55c348,{'unitID':_0xbd91e6,'memberID':_0x1da359,'textRanges':_0x3942ca}));}}['_updateLocalCache'](){const _0x1bf01e=_0x2e5f4c;this[_0x1bf01e(0x178)]['updateOfflineData'](this[_0x1bf01e(0x145)],this[_0x1bf01e(0x4c7)],this['_awaitingChangeset'],this[_0x1bf01e(0x1db)]);}['_getCurrentRevision'](){const _0x34ce9d=_0x2e5f4c;return this[_0x34ce9d(0x492)][_0x34ce9d(0x3b2)](this[_0x34ce9d(0x145)]);}[_0x2e5f4c(0x478)](){const _0x1527ac=_0x2e5f4c;this['_revisionService']['incrementRevOfUnit'](this[_0x1527ac(0x145)]);}[_0x2e5f4c(0x3ab)](_0x10e39f){const _0x429e35=_0x2e5f4c;var _0x4216a5;const _0x44afed=this['_transformRemoteChangesetByIMECache'](_0x10e39f),_0x29d602=_0x5dd71d[_0x429e35(0x1fc)](_0x44afed[_0x429e35(0x273)],this[_0x429e35(0x2aa)],{'fromCollab':!0x0});if(!_0x29d602['result'])throw _0x29d602[_0x429e35(0x2ac)]instanceof Error?_0x29d602[_0x429e35(0x2ac)]:new Error((_0x4216a5=_0x29d602[_0x429e35(0x2ac)])!=null?_0x4216a5:_0x429e35(0x3eb));this[_0x429e35(0x43b)](_0x44afed),this[_0x429e35(0x13c)](_0x10e39f),this[_0x429e35(0x4b0)](_0x44afed),this[_0x429e35(0x2b8)](_0x44afed),this['_incrementRevisionNumber']();}}let _0x274376=class extends _0x24a855{constructor(_0x234eb0,_0x2031ff,_0x580a54,_0x51573a,_0x30ba,_0x512f31,_0x17eef0,_0x457051,_0x3af90c,_0x5ad4b7){const _0x1a8160=_0x2e5f4c;super(_0x234eb0,_0x2031ff,null,[],_0x580a54,_0x457051,_0x17eef0,_0x51573a,_0x30ba),_0x30b9f2(this,_0x1a8160(0x24a),_0x1a8160(0x25c)),(this[_0x1a8160(0x3bf)]=_0x512f31,this[_0x1a8160(0x55b)]=_0x3af90c,this[_0x1a8160(0x1a4)]=_0x5ad4b7);}['appendMutation'](_0x99a84a){const _0x49df8e=_0x2e5f4c,_0x4c5629=this[_0x49df8e(0x3bf)][_0x49df8e(0x408)](_0x13ad85,this[_0x49df8e(0x145)],this[_0x49df8e(0x4c7)],[_0x99a84a],this['_handler']);return _0x4c5629['_schedule'](),_0x4c5629[_0x49df8e(0x32b)](),_0x4c5629;}['onRemoteChangeset'](_0x28e0cf){const _0x62515=_0x2e5f4c;if(this[_0x62515(0x324)](_0x28e0cf))return this['_injector'][_0x62515(0x408)](_0x3659b7,this[_0x62515(0x145)],this[_0x62515(0x4c7)],null,[],null,[_0x28e0cf],this['_handler']);try{const _0x563bc8=this[_0x62515(0x1a4)][_0x62515(0x322)](_0x28e0cf,[_0x4191ed]);if(_0x57fec2['isTransformMutationsWithChangesetSuccess'](_0x563bc8)){const {c1Prime:_0x5d7c63}=_0x563bc8;return this[_0x62515(0x3ab)](_0x5d7c63),this;}throw _0x563bc8['error'];}catch(_0x27a0fc){return this[_0x62515(0x55b)][_0x62515(0x2ac)](_0x27a0fc),this[_0x62515(0x3f3)](!0x1);}}['_onConflict'](_0x205ff7){const _0x5eea5d=_0x2e5f4c;return this['_injector']['createInstance'](_0x4a30e3,this[_0x5eea5d(0x145)],this[_0x5eea5d(0x4c7)],null,[],this[_0x5eea5d(0x4f0)],_0x205ff7);}[_0x2e5f4c(0x344)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2e5f4c(0x28a)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2e5f4c(0x352)](){const _0x1e6644=_0x2e5f4c;return this['_injector'][_0x1e6644(0x408)](_0x2741c7,this[_0x1e6644(0x145)],this[_0x1e6644(0x4c7)],null,[],this[_0x1e6644(0x4f0)]);}[_0x2e5f4c(0x232)](){return this;}[_0x2e5f4c(0x547)](){const _0x277e46=_0x2e5f4c;throw new Error(_0x277e46(0x3c4));}[_0x2e5f4c(0x1ef)](){const _0x3f0102=_0x2e5f4c,_0x4a661c=this[_0x3f0102(0x492)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x3f0102(0x4f0)][_0x3f0102(0x3cf)]({'from':_0x4a661c,'to':0x0}),this[_0x3f0102(0x3bf)][_0x3f0102(0x408)](_0x3659b7,this['unitID'],this[_0x3f0102(0x4c7)],null,[],null,[],this[_0x3f0102(0x4f0)]);}};_0x274376=_0x4b0fa8([_0x2cf916(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2['RevisionService'])),_0x2cf916(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9[_0x2e5f4c(0x557)])),_0x2cf916(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['Injector'])),_0x2cf916(0x6,_0x5dd71d['IUndoRedoService']),_0x2cf916(0x7,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x2cf916(0x9,_0x57fec2[_0x2e5f4c(0x52d)])],_0x274376);let _0x13ad85=class extends _0x24a855{constructor(_0x565b67,_0x1ce82c,_0x2ca2e6,_0x2a30ff,_0x295db1,_0x3c2cc6,_0x7068b0,_0xaf49fb,_0x36b6b0,_0x5c7175,_0x4a58aa,_0x58494e,_0x55b049,_0x5c6974){const _0x20ee99=_0x2e5f4c;super(_0x565b67,_0x1ce82c,null,_0x2ca2e6,_0x2a30ff,_0x5c7175,_0x5c6974,_0x3c2cc6,_0x7068b0),_0x30b9f2(this,_0x20ee99(0x24a),_0x20ee99(0x534)),_0x30b9f2(this,'_scheduleTimestamp',null),_0x30b9f2(this,_0x20ee99(0x462),null),(this[_0x20ee99(0x3bf)]=_0x295db1,this[_0x20ee99(0x2bd)]=_0xaf49fb,this[_0x20ee99(0x55b)]=_0x36b6b0,this[_0x20ee99(0x33c)]=_0x4a58aa,this[_0x20ee99(0x1a4)]=_0x58494e,this[_0x20ee99(0x546)]=_0x55b049);}[_0x2e5f4c(0x315)](_0x1d048f){const _0x34b2f9=_0x2e5f4c;return this[_0x34b2f9(0x1db)][_0x34b2f9(0x36b)](_0x1d048f),this[_0x34b2f9(0x32b)](),this;}[_0x2e5f4c(0x3c9)](_0x4e66d4){const _0x32e667=_0x2e5f4c;if(this[_0x32e667(0x324)](_0x4e66d4))return this[_0x32e667(0x471)](),this[_0x32e667(0x3bf)][_0x32e667(0x408)](_0x3659b7,this[_0x32e667(0x145)],this[_0x32e667(0x4c7)],null,this[_0x32e667(0x1db)],null,[_0x4e66d4],this[_0x32e667(0x4f0)]);try{const _0x4e9aea=this[_0x32e667(0x1a4)][_0x32e667(0x322)](_0x4e66d4,this[_0x32e667(0x1db)]);if(_0x57fec2[_0x32e667(0x20e)](_0x4e9aea)){const {c1Prime:_0x5dc13d,m2Prime:_0x5ccb13}=_0x4e9aea;this[_0x32e667(0x3ab)](_0x5dc13d);const _0x3b1803=this['_injector']['createInstance'](_0x13ad85,this[_0x32e667(0x145)],this['type'],_0x5ccb13,this['_handler']);return this[_0x32e667(0x471)](),_0x3b1803[_0x32e667(0x200)](this[_0x32e667(0x1c9)]?Math[_0x32e667(0x48d)](0x0,new Date()[_0x32e667(0x206)]()-this[_0x32e667(0x1c9)]):this[_0x32e667(0x51a)]()),_0x3b1803;}throw _0x4e9aea[_0x32e667(0x2ac)];}catch(_0x79aec9){return this[_0x32e667(0x55b)]['error'](_0x79aec9),this[_0x32e667(0x3f3)](!0x1);}}[_0x2e5f4c(0x344)](){const _0x1b8179=_0x2e5f4c;throw new Error(_0x1b8179(0x42f));}[_0x2e5f4c(0x28a)](){const _0x801a65=_0x2e5f4c;throw new Error(_0x801a65(0x320));}['onRemoteRetry'](){return this;}[_0x2e5f4c(0x352)](){const _0xea98f0=_0x2e5f4c;return this[_0xea98f0(0x471)](),this[_0xea98f0(0x3bf)][_0xea98f0(0x408)](_0x2741c7,this[_0xea98f0(0x145)],this[_0xea98f0(0x4c7)],null,this[_0xea98f0(0x1db)],this['_handler']);}[_0x2e5f4c(0x232)](){return this;}['_schedule'](_0xbb66f1){const _0x2b3a23=_0x2e5f4c,_0x448ab3=_0xbb66f1!=null?_0xbb66f1:this[_0x2b3a23(0x51a)]();this[_0x2b3a23(0x1c9)]=new Date()[_0x2b3a23(0x206)](),this[_0x2b3a23(0x462)]=window[_0x2b3a23(0x4d6)](()=>{const _0x4d942d=_0x2b3a23;this[_0x4d942d(0x471)]();let _0x28bcbe=null;switch(this[_0x4d942d(0x4c7)]){case _0x17bbb0[_0x4d942d(0x530)]:{_0x28bcbe=_0x1e96a2(this[_0x4d942d(0x1db)],this[_0x4d942d(0x145)],this['_univerInstanceService'],this[_0x4d942d(0x492)],this[_0x4d942d(0x2bd)]);break;}case _0x17bbb0[_0x4d942d(0x4de)]:{this['_pendingMutations'][_0x4d942d(0x2be)](_0x47a92c=>_0x47a92c['id']===_0x4c83d7['RichTextEditingMutation']['id'])?_0x28bcbe=_0x5875d5(this[_0x4d942d(0x1db)],this['unitID'],this[_0x4d942d(0x546)],this[_0x4d942d(0x492)],this[_0x4d942d(0x2bd)]):_0x28bcbe=_0x1e96a2(this[_0x4d942d(0x1db)],this['unitID'],this[_0x4d942d(0x546)],this[_0x4d942d(0x492)],this[_0x4d942d(0x2bd)]);break;}default:throw new Error(_0x4d942d(0x48f)+this[_0x4d942d(0x4c7)]+'\x20in\x20_schedule.');}const {changeset:_0x5c76eb,pendingMutations:_0x1b6f35}=_0x28bcbe;this[_0x4d942d(0x4f0)][_0x4d942d(0x2df)](_0x5c76eb);const _0x324537=_0x1b6f35['length']?this['_injector']['createInstance'](_0xdd4e93,this[_0x4d942d(0x145)],this[_0x4d942d(0x4c7)],_0x5c76eb,_0x1b6f35,this[_0x4d942d(0x4f0)],void 0x0):this[_0x4d942d(0x3bf)][_0x4d942d(0x408)](_0x5dbf59,this[_0x4d942d(0x145)],this[_0x4d942d(0x4c7)],_0x5c76eb,this['_handler']);_0x324537['_updateLocalCache'](),this['_handler'][_0x4d942d(0x3e8)](this,_0x324537);},_0x448ab3);}[_0x2e5f4c(0x51a)](){const _0x861c03=_0x2e5f4c;var _0x488185;const _0x420f36=this[_0x861c03(0x33c)][_0x861c03(0x18e)](_0x505ac2);return(_0x488185=_0x420f36==null?void 0x0:_0x420f36[_0x861c03(0x195)])!=null?_0x488185:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2e5f4c(0x471)](){const _0x3e6a89=_0x2e5f4c;this[_0x3e6a89(0x462)]!=null&&(clearTimeout(this[_0x3e6a89(0x462)]),this['_sendingTimer']=null);}['_onConflict'](_0x29729e){const _0x51879a=_0x2e5f4c;return this[_0x51879a(0x471)](),this[_0x51879a(0x3bf)]['createInstance'](_0x4a30e3,this[_0x51879a(0x145)],this[_0x51879a(0x4c7)],null,this['_pendingMutations'],this['_handler'],_0x29729e);}};_0x13ad85=_0x4b0fa8([_0x2cf916(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2cf916(0x5,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x19f)])),_0x2cf916(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x2cf916(0x7,_0x5dd71d[_0x2e5f4c(0x391)](_0x266f31)),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x2cf916(0x9,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0xa,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x2cf916(0xb,_0x57fec2[_0x2e5f4c(0x52d)]),_0x2cf916(0xc,_0x5dd71d[_0x2e5f4c(0x373)]),_0x2cf916(0xd,_0x5dd71d[_0x2e5f4c(0x302)])],_0x13ad85);let _0x5dbf59=class extends _0x24a855{constructor(_0xd0f811,_0x26d38f,_0x2e23cc,_0x2f0455,_0xae1a63,_0x4013c7,_0x298c51,_0x4ccb9d,_0x33ea35,_0x20c5c0,_0x2bb52e){const _0x17beb2=_0x2e5f4c;super(_0xd0f811,_0x26d38f,_0x2e23cc,[],_0x2f0455,_0x4ccb9d,_0x2bb52e,_0x4013c7,_0x298c51),_0x30b9f2(this,_0x17beb2(0x24a),_0x17beb2(0x19c)),_0x30b9f2(this,_0x17beb2(0x561),0x0),_0x30b9f2(this,_0x17beb2(0x22e)),_0x30b9f2(this,'_sender'),(this[_0x17beb2(0x3bf)]=_0xae1a63,this[_0x17beb2(0x55b)]=_0x33ea35,this[_0x17beb2(0x1a4)]=_0x20c5c0);}['appendMutation'](_0x6002a7){const _0x47117c=_0x2e5f4c;this[_0x47117c(0x471)]();const _0x2ddb87=this[_0x47117c(0x3bf)][_0x47117c(0x408)](_0xdd4e93,this[_0x47117c(0x145)],this[_0x47117c(0x4c7)],this[_0x47117c(0x19d)],[_0x6002a7],this[_0x47117c(0x4f0)],this['_resendTimer']);return _0x2ddb87[_0x47117c(0x32b)](),_0x2ddb87;}[_0x2e5f4c(0x3c9)](_0x3c59df){const _0x5354bd=_0x2e5f4c;if(this[_0x5354bd(0x324)](_0x3c59df))return this[_0x5354bd(0x471)](),this[_0x5354bd(0x3bf)][_0x5354bd(0x408)](_0x3659b7,this['unitID'],this[_0x5354bd(0x4c7)],this[_0x5354bd(0x19d)],[],null,[_0x3c59df],this[_0x5354bd(0x4f0)]);try{const _0x3ed2d5=this[_0x5354bd(0x1a4)][_0x5354bd(0x366)]([_0x3c59df],[this[_0x5354bd(0x19d)]],!0x1);if(_0x57fec2[_0x5354bd(0x44f)](_0x3ed2d5)){const {c1Prime:_0x5156f0,c2Prime:_0x38f1d1}=_0x3ed2d5;this['_executeRemoteChangeset'](_0x5156f0[0x0]),_0x38f1d1[0x0][_0x5354bd(0x3e2)]=this[_0x5354bd(0x3c6)](),this[_0x5354bd(0x471)]();const _0x208120=this[_0x5354bd(0x3bf)][_0x5354bd(0x408)](_0x5dbf59,this[_0x5354bd(0x145)],this[_0x5354bd(0x4c7)],_0x38f1d1[0x0],this[_0x5354bd(0x4f0)]);return _0x208120[_0x5354bd(0x32b)](),_0x208120;}return this[_0x5354bd(0x3f3)](!0x1);}catch(_0x347965){return this[_0x5354bd(0x55b)]['error'](_0x347965),this[_0x5354bd(0x3f3)](!0x1);}}[_0x2e5f4c(0x344)](_0x49a132){const _0x50263e=_0x2e5f4c;this[_0x50263e(0x471)]();const _0x5f4c6d=this[_0x50263e(0x492)][_0x50263e(0x3b2)](this[_0x50263e(0x145)]);if(_0x49a132['revision']<_0x5f4c6d-0x1)return this;if(this[_0x50263e(0x324)](_0x49a132))return this['_injector'][_0x50263e(0x408)](_0x3659b7,this[_0x50263e(0x145)],this[_0x50263e(0x4c7)],null,[],this[_0x50263e(0x19d)],[],this[_0x50263e(0x4f0)]);this['_incrementRevisionNumber']();const _0x38f7c3=this['_injector'][_0x50263e(0x408)](_0x274376,this[_0x50263e(0x145)],this[_0x50263e(0x4c7)],this[_0x50263e(0x4f0)]);return _0x38f7c3[_0x50263e(0x32b)](),_0x38f7c3;}[_0x2e5f4c(0x28a)](_0x5cf718){const _0x15485e=_0x2e5f4c;return this[_0x15485e(0x3f3)](!!(_0x5cf718!=null&&_0x5cf718[_0x15485e(0x4c8)]));}['onRemoteRetry'](_0x3b6fbc){const _0x26953a=_0x2e5f4c;return this[_0x26953a(0x561)]>_0x1929b6?this[_0x26953a(0x352)]():(this[_0x26953a(0x22e)]=_0x2da4a8(this[_0x26953a(0x561)],{'timeout':this[_0x26953a(0x561)],'reqId':_0x3b6fbc[_0x26953a(0x1ca)]}),this[_0x26953a(0x392)]=this[_0x26953a(0x22e)][_0x26953a(0x3ee)](({reqId:_0x18b6f6,timeout:_0x3bf563})=>{const _0x5443d5=_0x26953a;this[_0x5443d5(0x386)](_0x18b6f6,_0x3bf563);}),this);}[_0x2e5f4c(0x352)](){const _0x378776=_0x2e5f4c;return this['_clearScheduledTask'](),this[_0x378776(0x3bf)][_0x378776(0x408)](_0x2741c7,this[_0x378776(0x145)],this[_0x378776(0x4c7)],this['_awaitingChangeset'],[],this[_0x378776(0x4f0)]);}[_0x2e5f4c(0x232)](){return this;}[_0x2e5f4c(0x547)](){const _0x54e423=_0x2e5f4c;this['_handler']['onSendChangeset'](this[_0x54e423(0x19d)]);}[_0x2e5f4c(0x3f3)](_0x374d9e){const _0x437406=_0x2e5f4c;return this[_0x437406(0x471)](),this[_0x437406(0x3bf)][_0x437406(0x408)](_0x4a30e3,this[_0x437406(0x145)],this[_0x437406(0x4c7)],this['_awaitingChangeset'],[],this[_0x437406(0x4f0)],_0x374d9e);}[_0x2e5f4c(0x386)](_0x451193,_0x588a1b){const _0x3f93c1=_0x2e5f4c;var _0x3ec650;_0x451193===((_0x3ec650=this['_awaitingChangeset'])==null?void 0x0:_0x3ec650[_0x3f93c1(0x1ca)])&&(this[_0x3f93c1(0x547)](),this[_0x3f93c1(0x561)]=_0x588a1b===0x0?0x3e8:_0x588a1b*0x2);}['_clearScheduledTask'](){const _0x337649=_0x2e5f4c;var _0x9fcbac;(_0x9fcbac=this[_0x337649(0x392)])==null||_0x9fcbac[_0x337649(0x423)](),this[_0x337649(0x561)]=0x0;}};_0x5dbf59=_0x4b0fa8([_0x2cf916(0x4,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2cf916(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2[_0x2e5f4c(0x19f)])),_0x2cf916(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9[_0x2e5f4c(0x557)])),_0x2cf916(0x7,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x2cf916(0x9,_0x57fec2[_0x2e5f4c(0x52d)]),_0x2cf916(0xa,_0x5dd71d[_0x2e5f4c(0x302)])],_0x5dbf59);let _0xdd4e93=class extends _0x24a855{constructor(_0x1620fe,_0x583bb3,_0x4882a7,_0x54053d,_0x26b6ab,_0x1e5987,_0x1b7721,_0x5e8e1f,_0xec3523,_0x34a2c2,_0x56a0c4,_0x1ae0f6,_0x227930){const _0xd3a2c4=_0x2e5f4c;super(_0x1620fe,_0x583bb3,_0x4882a7,_0x54053d,_0x26b6ab,_0x34a2c2,_0x227930,_0x5e8e1f,_0xec3523),_0x30b9f2(this,_0xd3a2c4(0x24a),_0xd3a2c4(0x47a)),_0x30b9f2(this,'_resendTimeout',0x0),_0x30b9f2(this,_0xd3a2c4(0x22e)),_0x30b9f2(this,_0xd3a2c4(0x392)),(this[_0xd3a2c4(0x3bf)]=_0x1b7721,this['_logService']=_0x56a0c4,this[_0xd3a2c4(0x1a4)]=_0x1ae0f6,_0x1e5987&&(this['_resendTimer']=_0x1e5987,this[_0xd3a2c4(0x392)]=this['_resendTimer']['subscribe'](({reqId:_0x419748,timeout:_0x24d026})=>{const _0x7dc72a=_0xd3a2c4;this[_0x7dc72a(0x386)](_0x419748,_0x24d026);})));}['appendMutation'](_0x2a04cd){const _0x524445=_0x2e5f4c;return this[_0x524445(0x1db)][_0x524445(0x36b)](_0x2a04cd),this;}[_0x2e5f4c(0x3c9)](_0x5a6d42){const _0x3d4cc2=_0x2e5f4c;if(this[_0x3d4cc2(0x324)](_0x5a6d42))return this[_0x3d4cc2(0x471)](),this[_0x3d4cc2(0x3bf)]['createInstance'](_0x3659b7,this['unitID'],this[_0x3d4cc2(0x4c7)],this[_0x3d4cc2(0x19d)],this[_0x3d4cc2(0x1db)],null,[_0x5a6d42],this[_0x3d4cc2(0x4f0)]);try{const _0x2067cc=this[_0x3d4cc2(0x1a4)][_0x3d4cc2(0x366)]([_0x5a6d42],[this['_awaitingChangeset']],!0x1);if(_0x57fec2[_0x3d4cc2(0x44f)](_0x2067cc)){const {c1Prime:_0x5e288f,c2Prime:_0x6a6926}=_0x2067cc,_0x223e7f=this[_0x3d4cc2(0x1a4)]['transformMutationsWithChangeset'](_0x5e288f[0x0],this[_0x3d4cc2(0x1db)]);if(_0x57fec2[_0x3d4cc2(0x20e)](_0x223e7f)){const {c1Prime:_0xcdf9c6,m2Prime:_0x25fcb9}=_0x223e7f;return this[_0x3d4cc2(0x3ab)](_0xcdf9c6),_0x6a6926[0x0][_0x3d4cc2(0x3e2)]=this['_getCurrentRevision'](),this[_0x3d4cc2(0x471)](),this[_0x3d4cc2(0x3bf)][_0x3d4cc2(0x408)](_0xdd4e93,this['unitID'],this[_0x3d4cc2(0x4c7)],_0x6a6926[0x0],_0x25fcb9,this['_handler'],void 0x0);}throw _0x223e7f[_0x3d4cc2(0x2ac)];}throw _0x2067cc[_0x3d4cc2(0x2ac)];}catch(_0x42aa49){return this[_0x3d4cc2(0x55b)]['error'](_0x42aa49),this[_0x3d4cc2(0x3f3)](!0x1);}}[_0x2e5f4c(0x344)](_0x1b2bf6){const _0x3796a3=_0x2e5f4c;if(this[_0x3796a3(0x471)](),this[_0x3796a3(0x324)](_0x1b2bf6))return this[_0x3796a3(0x3bf)][_0x3796a3(0x408)](_0x3659b7,this[_0x3796a3(0x145)],this[_0x3796a3(0x4c7)],null,this['_pendingMutations'],this[_0x3796a3(0x19d)],[],this[_0x3796a3(0x4f0)]);this[_0x3796a3(0x478)]();const _0x100341=this[_0x3796a3(0x3bf)]['createInstance'](_0x13ad85,this[_0x3796a3(0x145)],this['type'],this[_0x3796a3(0x1db)],this['_handler']);return _0x100341[_0x3796a3(0x200)](),_0x100341['_updateLocalCache'](),_0x100341;}[_0x2e5f4c(0x28a)](_0x19ec67){const _0x3ed7f0=_0x2e5f4c;return this[_0x3ed7f0(0x3f3)](!!(_0x19ec67!=null&&_0x19ec67[_0x3ed7f0(0x4c8)]));}['onRemoteRetry'](_0x17290c){const _0x47f669=_0x2e5f4c;return this[_0x47f669(0x561)]>_0x1929b6?this['toggleOffline']():(this[_0x47f669(0x22e)]=_0x2da4a8(this[_0x47f669(0x561)],{'timeout':this[_0x47f669(0x561)],'reqId':_0x17290c['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x540a5d,timeout:_0x57e3b5})=>{const _0x1f3f74=_0x47f669;this[_0x1f3f74(0x386)](_0x540a5d,_0x57e3b5);}),this);}['toggleOffline'](){const _0xb1f827=_0x2e5f4c;return this[_0xb1f827(0x471)](),this[_0xb1f827(0x3bf)][_0xb1f827(0x408)](_0x2741c7,this[_0xb1f827(0x145)],this[_0xb1f827(0x4c7)],this[_0xb1f827(0x19d)],this[_0xb1f827(0x1db)],this['_handler']);}[_0x2e5f4c(0x232)](){return this;}[_0x2e5f4c(0x547)](){const _0x3de931=_0x2e5f4c;this['_handler'][_0x3de931(0x2df)](this[_0x3de931(0x19d)]);}[_0x2e5f4c(0x3f3)](_0x54df46){const _0x1beb74=_0x2e5f4c;return this[_0x1beb74(0x471)](),this[_0x1beb74(0x3bf)]['createInstance'](_0x4a30e3,this[_0x1beb74(0x145)],this[_0x1beb74(0x4c7)],null,this[_0x1beb74(0x1db)],this['_handler'],_0x54df46);}[_0x2e5f4c(0x386)](_0xa3cd83,_0x499170){const _0x587a94=_0x2e5f4c;var _0x439106;_0xa3cd83===((_0x439106=this[_0x587a94(0x19d)])==null?void 0x0:_0x439106['reqId'])&&(this[_0x587a94(0x547)](),this['_resendTimeout']=_0x499170===0x0?0x3e8:_0x499170*0x2);}[_0x2e5f4c(0x471)](){const _0x56488b=_0x2e5f4c;var _0x3ba44f;(_0x3ba44f=this['_sender'])==null||_0x3ba44f[_0x56488b(0x423)](),this['_resendTimeout']=0x0;}};_0xdd4e93=_0x4b0fa8([_0x2cf916(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2cf916(0x7,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x19f)])),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9[_0x2e5f4c(0x557)])),_0x2cf916(0x9,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0xa,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x2cf916(0xb,_0x57fec2[_0x2e5f4c(0x52d)]),_0x2cf916(0xc,_0x5dd71d[_0x2e5f4c(0x302)])],_0xdd4e93);let _0x4a30e3=class extends _0x24a855{constructor(_0x144323,_0x556058,_0x4288e8,_0x194d44,_0x44dfc8,_0x11cacf=!0x1,_0x49a559,_0x27b89d,_0x2b4430,_0x22f7db,_0x29429e,_0x2ea6b4,_0x2bf070){const _0x3f00c4=_0x2e5f4c;super(_0x144323,_0x556058,_0x4288e8,_0x194d44,_0x44dfc8,_0x27b89d,_0x2b4430,_0x29429e,_0x22f7db),_0x30b9f2(this,_0x3f00c4(0x24a),_0x3f00c4(0x488)),(this[_0x3f00c4(0x2cb)]=_0x11cacf,this[_0x3f00c4(0x26c)]=_0x49a559,this[_0x3f00c4(0x3f9)]=_0x2ea6b4,this['_notificationService']=_0x2bf070,this[_0x3f00c4(0x44e)](),this[_0x3f00c4(0x4d4)](),this['_disableEditing']());}[_0x2e5f4c(0x315)](){return this;}[_0x2e5f4c(0x3c9)](){return this;}[_0x2e5f4c(0x344)](){return this;}['onRemoteRej'](){return this;}[_0x2e5f4c(0x511)](){return this;}[_0x2e5f4c(0x352)](){return this;}[_0x2e5f4c(0x232)](){return this;}[_0x2e5f4c(0x547)](){const _0x160b77=_0x2e5f4c;throw new Error(_0x160b77(0x47c));}[_0x2e5f4c(0x4d4)](){const _0x539025=_0x2e5f4c;this[_0x539025(0x178)][_0x539025(0x397)](this['unitID'],this[_0x539025(0x4c7)],null,[]);}[_0x2e5f4c(0x44e)](){const _0x4f453b=_0x2e5f4c;this[_0x4f453b(0x2cb)]?this[_0x4f453b(0x54e)][_0x4f453b(0x4f2)]({'title':this[_0x4f453b(0x3f9)]['t'](_0x4f453b(0x43c)),'content':this['_localeService']['t']('permission.content'),'type':_0x4f453b(0x2ac),'duration':0x0}):this[_0x4f453b(0x54e)][_0x4f453b(0x4f2)]({'title':this[_0x4f453b(0x3f9)]['t']('conflict.title'),'content':this[_0x4f453b(0x3f9)]['t'](_0x4f453b(0x21c)),'type':_0x4f453b(0x2ac),'duration':0x0});}[_0x2e5f4c(0x1aa)](){const _0x21565f=_0x2e5f4c;this[_0x21565f(0x26c)][_0x21565f(0x2d6)](new _0x51fcfd[(_0x21565f(0x349))](this[_0x21565f(0x145)])['id'],!0x1);}};_0x4a30e3=_0x4b0fa8([_0x2cf916(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['IPermissionService'])),_0x2cf916(0x7,_0x5dd71d['ICommandService']),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x302)]),_0x2cf916(0x9,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x2cf916(0xa,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2['RevisionService'])),_0x2cf916(0xb,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x23d)])),_0x2cf916(0xc,_0x43bf7d[_0x2e5f4c(0x174)])],_0x4a30e3);let _0x2741c7=class extends _0x24a855{constructor(_0x59c2da,_0x96cd53,_0x2da127,_0x7b4295,_0x3c4643,_0x5f41b6,_0x5a2910,_0x1e6d7d,_0x4f46cc,_0x553c9e){const _0x47db46=_0x2e5f4c;super(_0x59c2da,_0x96cd53,_0x2da127,_0x7b4295,_0x3c4643,_0x4f46cc,_0x553c9e,_0x5a2910,_0x1e6d7d),_0x30b9f2(this,_0x47db46(0x24a),'offline'),this[_0x47db46(0x3bf)]=_0x5f41b6;}[_0x2e5f4c(0x315)](_0x547b4e){const _0x5dc62e=_0x2e5f4c;return this[_0x5dc62e(0x1db)][_0x5dc62e(0x36b)](_0x547b4e),this[_0x5dc62e(0x32b)](),this;}[_0x2e5f4c(0x3c9)](_0x3ccb68){const _0x1da33f=_0x2e5f4c;throw new Error(_0x1da33f(0x2f8));}[_0x2e5f4c(0x344)](){const _0x4c22f0=_0x2e5f4c;throw new Error(_0x4c22f0(0x388));}[_0x2e5f4c(0x28a)](){const _0x241e78=_0x2e5f4c;throw new Error(_0x241e78(0x468));}[_0x2e5f4c(0x511)](){return this;}[_0x2e5f4c(0x352)](){return this;}[_0x2e5f4c(0x232)](){const _0x2c704f=_0x2e5f4c,{_injector:_0x3ae494,_pendingMutations:_0x122215,_awaitingChangeset:_0x300ee2,unitID:_0xab136,_handler:_0xdc6df9,type:_0x12c2e8}=this,_0x29ba18=_0x1e0599(_0x3ae494,_0xab136,_0x12c2e8,_0x300ee2,_0x122215,_0xdc6df9);return _0x29ba18 instanceof _0x13ad85?_0x29ba18[_0x2c704f(0x200)]():(_0x29ba18 instanceof _0xdd4e93||_0x29ba18 instanceof _0x5dbf59)&&_0x29ba18[_0x2c704f(0x547)](),_0x29ba18;}['resend'](){const _0x17dcff=_0x2e5f4c;throw new Error(_0x17dcff(0x4c9));}};_0x2741c7=_0x4b0fa8([_0x2cf916(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2cf916(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2['RevisionService'])),_0x2cf916(0x7,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0x9,_0x5dd71d[_0x2e5f4c(0x302)])],_0x2741c7);let _0x3659b7=class extends _0x24a855{constructor(_0x2038fb,_0x339ac3,_0x508d3c,_0x516239,_0x36d5b5,_0x362b57,_0x4f4496,_0x73a06e,_0x129012,_0x338e9a,_0x2608bd,_0x2e171c,_0x466d76,_0x54c4de){const _0x60d634=_0x2e5f4c;super(_0x2038fb,_0x339ac3,_0x508d3c,_0x516239,_0x4f4496,_0x2e171c,_0x466d76,_0x129012,_0x338e9a),_0x30b9f2(this,'status',_0x60d634(0x4d8)),(this['_acknowledgedAwaitingChangeset']=_0x36d5b5,this[_0x60d634(0x236)]=_0x362b57,this[_0x60d634(0x3bf)]=_0x73a06e,this[_0x60d634(0x55b)]=_0x2608bd,this[_0x60d634(0x1a4)]=_0x54c4de);}[_0x2e5f4c(0x234)](_0x19a07f){const _0x307245=_0x2e5f4c;try{const _0x56d447=[..._0x19a07f,...this[_0x307245(0x236)]],_0x2fb2c4=[this[_0x307245(0x19d)]||this['_acknowledgedAwaitingChangeset']][_0x307245(0x293)](_0x44b8a0=>!!_0x44b8a0);let _0x2cdd75,_0x1477e9;if(_0x2fb2c4[_0x307245(0x310)]){const _0x4dd7f6=this['_transformService'][_0x307245(0x366)](_0x56d447,_0x2fb2c4,!0x1);if(!_0x57fec2[_0x307245(0x44f)](_0x4dd7f6))throw _0x4dd7f6['error'];_0x2cdd75=_0x4dd7f6[_0x307245(0x2af)],_0x1477e9=_0x4dd7f6['c2Prime'];}else _0x2cdd75=_0x56d447,_0x1477e9=[];let _0x4b3b3a=this['_pendingMutations'];_0x2cdd75[_0x307245(0x3e9)](_0x3640d1=>{const _0x2b0501=_0x307245;let _0x2f0ae9;if(_0x4b3b3a[_0x2b0501(0x310)]){const _0x1e0a18=this[_0x2b0501(0x1a4)][_0x2b0501(0x322)](_0x3640d1,_0x4b3b3a);if(!_0x57fec2[_0x2b0501(0x20e)](_0x1e0a18))throw _0x1e0a18['error'];_0x2f0ae9=_0x1e0a18[_0x2b0501(0x2af)],_0x4b3b3a=_0x1e0a18[_0x2b0501(0x453)];}else _0x2f0ae9=_0x3640d1;this[_0x2b0501(0x3ab)](_0x2f0ae9);}),this[_0x307245(0x225)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x1477e9[_0x307245(0x310)]&&(_0x1477e9[0x0][_0x307245(0x3e2)]=this[_0x307245(0x3c6)]());let _0x408748;if(this[_0x307245(0x19d)]&&_0x4b3b3a['length']!==0x0)_0x408748=this[_0x307245(0x3bf)][_0x307245(0x408)](_0xdd4e93,this[_0x307245(0x145)],this[_0x307245(0x4c7)],_0x1477e9[0x0],_0x4b3b3a,this[_0x307245(0x4f0)],void 0x0);else{if(this[_0x307245(0x19d)]&&_0x4b3b3a[_0x307245(0x310)]===0x0)_0x1477e9[0x0][_0x307245(0x3e2)]=this[_0x307245(0x3c6)](),_0x408748=this[_0x307245(0x3bf)][_0x307245(0x408)](_0x5dbf59,this[_0x307245(0x145)],this[_0x307245(0x4c7)],_0x1477e9[0x0],this[_0x307245(0x4f0)]);else{if(_0x4b3b3a[_0x307245(0x310)]!==0x0){const _0x4077ff=this[_0x307245(0x3bf)][_0x307245(0x408)](_0x13ad85,this[_0x307245(0x145)],this[_0x307245(0x4c7)],_0x4b3b3a,this[_0x307245(0x4f0)]);_0x4077ff[_0x307245(0x200)](),_0x408748=_0x4077ff;}else _0x408748=this['_injector'][_0x307245(0x408)](_0x274376,this[_0x307245(0x145)],this[_0x307245(0x4c7)],this[_0x307245(0x4f0)]);}}return _0x408748[_0x307245(0x32b)](),_0x408748;}catch(_0x3a3383){return this[_0x307245(0x55b)][_0x307245(0x2ac)](_0x307245(0x410),_0x307245(0x3bc),_0x3a3383),this[_0x307245(0x3bf)]['createInstance'](_0x4a30e3,this[_0x307245(0x145)],this[_0x307245(0x4c7)],this[_0x307245(0x19d)],this[_0x307245(0x1db)],this[_0x307245(0x4f0)],!0x1);}}['resend'](){const _0x568beb=_0x2e5f4c;throw new Error(_0x568beb(0x1cc));}[_0x2e5f4c(0x315)](_0x34ac9f){const _0xc239ae=_0x2e5f4c;return this[_0xc239ae(0x1db)][_0xc239ae(0x36b)](_0x34ac9f),this;}[_0x2e5f4c(0x3c9)](_0x67e113){const _0x483e65=_0x2e5f4c;return this[_0x483e65(0x236)]['push'](_0x67e113),this;}[_0x2e5f4c(0x344)](_0x321e55){const _0x59e747=_0x2e5f4c;if(this['_awaitingChangeset'])return this[_0x59e747(0x225)]=this[_0x59e747(0x19d)],this[_0x59e747(0x19d)]=null,this;throw new Error(_0x59e747(0x2a6));}['onRemoteRej'](_0x1a6156){return this['_onConflict'](!!(_0x1a6156!=null&&_0x1a6156['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2e5f4c(0x352)](){const _0x5caa94=_0x2e5f4c;return this[_0x5caa94(0x3bf)][_0x5caa94(0x408)](_0x2741c7,this['unitID'],this[_0x5caa94(0x4c7)],this[_0x5caa94(0x19d)],this['_pendingMutations'],this['_handler']);}[_0x2e5f4c(0x232)](){return this;}[_0x2e5f4c(0x3f3)](_0x5d093a){const _0x434249=_0x2e5f4c;return this['_injector']['createInstance'](_0x4a30e3,this[_0x434249(0x145)],this[_0x434249(0x4c7)],this[_0x434249(0x19d)],this[_0x434249(0x1db)],this[_0x434249(0x4f0)],_0x5d093a);}};_0x3659b7=_0x4b0fa8([_0x2cf916(0x7,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2[_0x2e5f4c(0x19f)])),_0x2cf916(0x9,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9[_0x2e5f4c(0x557)])),_0x2cf916(0xa,_0x5dd71d['ILogService']),_0x2cf916(0xb,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0xc,_0x5dd71d[_0x2e5f4c(0x302)]),_0x2cf916(0xd,_0x57fec2[_0x2e5f4c(0x52d)])],_0x3659b7);function _0x1e0599(_0x4747df,_0x21e299,_0x14b89b,_0x5cf85f,_0x3407c1,_0x2d83b4){const _0xa2c929=_0x2e5f4c;return _0x5cf85f&&_0x3407c1[_0xa2c929(0x310)]?_0x4747df['createInstance'](_0xdd4e93,_0x21e299,_0x14b89b,_0x5cf85f,_0x3407c1,_0x2d83b4,void 0x0):_0x5cf85f?_0x4747df[_0xa2c929(0x408)](_0x5dbf59,_0x21e299,_0x14b89b,_0x5cf85f,_0x2d83b4):_0x3407c1['length']?_0x4747df[_0xa2c929(0x408)](_0x13ad85,_0x21e299,_0x14b89b,_0x3407c1,_0x2d83b4):_0x4747df[_0xa2c929(0x408)](_0x274376,_0x21e299,_0x14b89b,_0x2d83b4);}var _0x4d6671=Object[_0x2e5f4c(0x2c2)],_0x487e39=Object[_0x2e5f4c(0x4b9)],_0x1ae4da=(_0x53c17a,_0x37eb55,_0x18dedd,_0x32c6e0)=>{const _0x8c47d2=_0x2e5f4c;for(var _0x11f734=_0x32c6e0>0x1?void 0x0:_0x32c6e0?_0x487e39(_0x37eb55,_0x18dedd):_0x37eb55,_0xb3ac7a=_0x53c17a[_0x8c47d2(0x310)]-0x1,_0x368176;_0xb3ac7a>=0x0;_0xb3ac7a--)(_0x368176=_0x53c17a[_0xb3ac7a])&&(_0x11f734=(_0x32c6e0?_0x368176(_0x37eb55,_0x18dedd,_0x11f734):_0x368176(_0x11f734))||_0x11f734);return _0x32c6e0&&_0x11f734&&_0x4d6671(_0x37eb55,_0x18dedd,_0x11f734),_0x11f734;},_0x3a5245=(_0x47b5d6,_0x50f6dd)=>(_0x179b05,_0x181a99)=>_0x50f6dd(_0x179b05,_0x181a99,_0x47b5d6);_0x5d9ca9[_0x2e5f4c(0x52b)]=class extends _0x5dd71d['RxDisposable']{constructor(_0x395d3f,_0x182026,_0x78523e,_0x3968af,_0x4199d9,_0x3af97d,_0x8e96a1,_0x18d840,_0x37a607,_0x1d5064,_0x809c55,_0x5c43bf,_0x513595){const _0x3089fb=_0x2e5f4c;super(),_0x30b9f2(this,_0x3089fb(0x208),new _0x1e8f3c[(_0x3089fb(0x3ca))](null)),_0x30b9f2(this,_0x3089fb(0x3ae),this[_0x3089fb(0x208)]['asObservable']()),_0x30b9f2(this,'_state'),_0x30b9f2(this,_0x3089fb(0x24f),!0x1),_0x30b9f2(this,_0x3089fb(0x52a),''),_0x30b9f2(this,'_changesetReqId',0x0),_0x30b9f2(this,'status$',this[_0x3089fb(0x3ae)][_0x3089fb(0x31d)](_0x1e8f3c[_0x3089fb(0x4c4)](_0x47b24b=>_0x47b24b?_0x47b24b['status']:_0x3cd2aa[_0x3089fb(0x2d7)]),_0x1e8f3c[_0x3089fb(0x3f7)](0x1))),_0x30b9f2(this,'_transitionLocked',!0x1),_0x30b9f2(this,_0x3089fb(0x18a),[]),(this['unitID']=_0x395d3f,this['session']=_0x182026,this[_0x3089fb(0x433)]=_0x78523e,this['_injector']=_0x3968af,this['_localCacheService']=_0x4199d9,this[_0x3089fb(0x422)]=_0x3af97d,this[_0x3089fb(0x3f9)]=_0x8e96a1,this[_0x3089fb(0x492)]=_0x18d840,this[_0x3089fb(0x55b)]=_0x37a607,this[_0x3089fb(0x2aa)]=_0x1d5064,this['_messageService']=_0x809c55,this['_permissionService']=_0x5c43bf,this[_0x3089fb(0x536)]=_0x513595);}get[_0x2e5f4c(0x266)](){const _0x2eb009=_0x2e5f4c;return this[_0x2eb009(0x464)];}async[_0x2e5f4c(0x176)](){const _0x4bf954=_0x2e5f4c;if(this[_0x4bf954(0x266)])throw new Error(_0x4bf954(0x265));await this[_0x4bf954(0x389)]();}['pauseCollaboration'](){const _0x4e88e8=_0x2e5f4c;return this[_0x4e88e8(0x24f)]=!0x0,_0x5dd71d[_0x4e88e8(0x377)](()=>{const _0x47ac01=_0x4e88e8;this[_0x47ac01(0x24f)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2e5f4c(0x55e)](_0x4f3393){const _0x3448ab=_0x2e5f4c;this[_0x3448ab(0x464)]=_0x4f3393,this[_0x3448ab(0x208)][_0x3448ab(0x228)](_0x4f3393);}async[_0x2e5f4c(0x389)](){const _0x365f00=_0x2e5f4c;var _0x35dd95;this[_0x365f00(0x55e)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x35dd95=this[_0x365f00(0x536)])==null||_0x35dd95[_0x365f00(0x31e)](this['unitID']),this[_0x365f00(0x360)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x365f00(0x145)])[_0x365f00(0x3ee)](_0x33c4ab=>{const _0x3c40f2=_0x365f00;this['_logService'][_0x3c40f2(0x1dd)](_0x3c40f2(0x1dc),'editing\x20status\x20changed\x20to',_0x33c4ab),_0x33c4ab===_0x417cca[_0x3c40f2(0x37b)]?(this['_messageService']['show']({'content':this[_0x3c40f2(0x3f9)]['t'](_0x3c40f2(0x3ad)),'type':_0x4fd8aa[_0x3c40f2(0x460)][_0x3c40f2(0x470)]}),this[_0x3c40f2(0x26c)][_0x3c40f2(0x2d6)](new _0x51fcfd[(_0x3c40f2(0x349))](this[_0x3c40f2(0x145)])['id'],!0x1)):this[_0x3c40f2(0x26c)][_0x3c40f2(0x2d6)](new _0x51fcfd[(_0x3c40f2(0x349))](this[_0x3c40f2(0x145)])['id'],!0x0);})));let _0x378d00=!0x1;return this[_0x365f00(0x360)](this['session'][_0x365f00(0x56d)]['subscribe'](_0xbc6388=>{const _0x531f5f=_0x365f00;_0xbc6388===_0x4add37[_0x531f5f(0x14e)]?this[_0x531f5f(0x21d)](_0x378d00):_0xbc6388===_0x4add37[_0x531f5f(0x2d7)]&&(_0x378d00=!0x0,this[_0x531f5f(0x281)]());})),this[_0x365f00(0x360)](this[_0x365f00(0x3d7)][_0x365f00(0x394)][_0x365f00(0x3ee)](_0x24d049=>{const _0x2a0491=_0x365f00;try{switch(_0x24d049['eventID']){case _0x57fec2[_0x2a0491(0x2ff)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x57fec2[_0x2a0491(0x202)](_0x24d049[_0x2a0491(0x51b)]));break;}case _0x57fec2[_0x2a0491(0x2ff)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0x24d049['data']);break;}case _0x57fec2['CollaborationEvent'][_0x2a0491(0x553)]:{this[_0x2a0491(0x1a9)]();break;}case _0x57fec2[_0x2a0491(0x2ff)]['CHANGESET_SHOULD_RETRY']:{this[_0x2a0491(0x1d1)](_0x24d049[_0x2a0491(0x51b)]);break;}case _0x57fec2[_0x2a0491(0x2ff)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2a0491(0x452)](_0x24d049[_0x2a0491(0x51b)][_0x2a0491(0x53c)][_0x2a0491(0x4c4)](_0x11b863=>_0x57fec2[_0x2a0491(0x202)](_0x11b863)));break;}case _0x57fec2['CollaborationEvent']['PERMISSION_REJ']:this[_0x2a0491(0x1a9)]({'isPermissionRej':!0x0});}}catch(_0xe104f6){throw console['error']('Error\x20on\x20receiving\x20event',_0xe104f6),_0xe104f6;}})),this[_0x365f00(0x464)];}[_0x2e5f4c(0x1e0)](){this['_transitionLocked']=!0x1;}[_0x2e5f4c(0x239)](){const _0x32ee9a=_0x2e5f4c;if(this[_0x32ee9a(0x1b1)])throw new Error(_0x32ee9a(0x3d8));this[_0x32ee9a(0x1b1)]=!0x0;}[_0x2e5f4c(0x25a)](_0x3ebaa8){const _0x42f778=_0x2e5f4c;this[_0x42f778(0x239)](),this[_0x42f778(0x55e)](this[_0x42f778(0x464)][_0x42f778(0x315)](_0x3ebaa8)),this[_0x42f778(0x1e0)]();}[_0x2e5f4c(0x13e)](_0x50b46f){const _0x230669=_0x2e5f4c;if(!(_0x50b46f[_0x230669(0x292)]<=this[_0x230669(0x492)]['getCurrentRevOfUnit'](this[_0x230669(0x145)]))){if(this[_0x230669(0x24f)]){this['_remoteChangesetQueue'][_0x230669(0x36b)](_0x50b46f);return;}this[_0x230669(0x277)](_0x50b46f);}}[_0x2e5f4c(0x27d)](){const _0x5f224f=_0x2e5f4c;this['_remoteChangesetQueue'][_0x5f224f(0x3e9)](_0x42531c=>this['_applyRemoteChangeset'](_0x42531c)),this['_remoteChangesetQueue']=[];}[_0x2e5f4c(0x277)](_0x2888da){const _0x116a5b=_0x2e5f4c,_0x392dae=this[_0x116a5b(0x422)]['interceptor'][_0x116a5b(0x18c)](this[_0x116a5b(0x422)][_0x116a5b(0x55c)][_0x116a5b(0x3a5)]()[_0x116a5b(0x435)])(_0x2888da[_0x116a5b(0x273)],null)||_0x2888da[_0x116a5b(0x273)],_0x243c15={..._0x2888da,'mutations':_0x392dae};this[_0x116a5b(0x239)](),this[_0x116a5b(0x55e)](this[_0x116a5b(0x464)]['onRemoteChangeset'](_0x243c15)),this[_0x116a5b(0x1e0)]();}[_0x2e5f4c(0x1ad)](_0x522e7f){const _0xda15f1=_0x2e5f4c;this[_0xda15f1(0x239)](),this[_0xda15f1(0x55e)](this['_state']['onRemoteAck'](_0x522e7f)),this[_0xda15f1(0x1e0)]();}[_0x2e5f4c(0x1a9)](_0x51efc6){const _0x6f1186=_0x2e5f4c;this[_0x6f1186(0x239)](),this['_updateState'](this[_0x6f1186(0x464)][_0x6f1186(0x28a)](_0x51efc6)),this['_unlockTransition']();}[_0x2e5f4c(0x1d1)](_0x3f5798){const _0x4c59e6=_0x2e5f4c;this['_lockTransition'](),this[_0x4c59e6(0x55e)](this['_state'][_0x4c59e6(0x511)](_0x3f5798)),this[_0x4c59e6(0x1e0)]();}[_0x2e5f4c(0x452)](_0x539b5a){const _0x1fca3d=_0x2e5f4c;if(!(this[_0x1fca3d(0x464)]instanceof _0x3659b7))throw new TypeError(_0x1fca3d(0x39f));const _0x2fdba7=_0x539b5a[_0x1fca3d(0x4c4)](_0x5c9160=>{const _0x2cc9b0=_0x1fca3d,_0x519054=this[_0x2cc9b0(0x422)][_0x2cc9b0(0x55c)][_0x2cc9b0(0x18c)](this[_0x2cc9b0(0x422)][_0x2cc9b0(0x55c)][_0x2cc9b0(0x3a5)]()[_0x2cc9b0(0x435)])(_0x5c9160[_0x2cc9b0(0x273)],null)||_0x5c9160['mutations'];return{..._0x5c9160,'mutations':_0x519054};});this[_0x1fca3d(0x239)](),this[_0x1fca3d(0x55e)](this[_0x1fca3d(0x464)][_0x1fca3d(0x234)](_0x2fdba7)),this[_0x1fca3d(0x1e0)]();}[_0x2e5f4c(0x281)](){const _0x391cc6=_0x2e5f4c;this['_lockTransition'](),this[_0x391cc6(0x55e)](this[_0x391cc6(0x464)][_0x391cc6(0x352)]()),this[_0x391cc6(0x1e0)]();}[_0x2e5f4c(0x21d)](_0x42ae36=!0x1){const _0x9b7980=_0x2e5f4c;this[_0x9b7980(0x239)](),this[_0x9b7980(0x55e)](this[_0x9b7980(0x464)][_0x9b7980(0x232)]()),this[_0x9b7980(0x1e0)]();const _0x458cf1=this[_0x9b7980(0x464)];_0x42ae36&&_0x458cf1 instanceof _0x274376&&(this[_0x9b7980(0x239)](),this[_0x9b7980(0x55e)](_0x458cf1[_0x9b7980(0x1ef)]()),this[_0x9b7980(0x1e0)]());}async['_createInitialState'](){return new Promise(_0x5c73a5=>{const _0x264183=_0x9a79;this[_0x264183(0x3d7)]['sessionStatus$']['pipe'](_0x1e8f3c[_0x264183(0x338)](0x1))[_0x264183(0x3ee)](async _0x21ab5a=>{const _0x546d44=_0x264183;_0x5c73a5(await this['_createInitialStateImpl'](_0x21ab5a===_0x4add37[_0x546d44(0x14e)]));});});}[_0x2e5f4c(0x2ef)](){const _0xc34dd4=_0x2e5f4c,_0x4d86c8=this[_0xc34dd4(0x145)];return{'onStateChange':(_0x4dc2b0,_0x4175ec)=>{const _0x17f814=_0xc34dd4;if(_0x4dc2b0!==this[_0x17f814(0x464)])throw new Error(_0x17f814(0x378)+_0x4dc2b0[_0x17f814(0x24a)]+_0x17f814(0x23e)+_0x4175ec[_0x17f814(0x24a)]+_0x17f814(0x457)+this['_state']['status']);this['_updateState'](_0x4175ec);},'onSendChangeset':_0x5d3905=>{const _0x5459df=_0xc34dd4;_0x5d3905[_0x5459df(0x458)]||(_0x5d3905[_0x5459df(0x458)]=this[_0x5459df(0x52a)],_0x5d3905['reqId']=++this[_0x5459df(0x2d0)]);const _0x2986b7={'eventID':_0x57fec2[_0x5459df(0x2ff)][_0x5459df(0x158)],'data':{'unitID':_0x5d3905[_0x5459df(0x145)],'unitType':this['_type'],'changeset':_0x5d3905,'memberID':this[_0x5459df(0x3d7)][_0x5459df(0x290)]()}};this[_0x5459df(0x3d7)][_0x5459df(0x198)](_0x2986b7,this[_0x5459df(0x145)]);},'onMissingChangesets':({from:_0x56c5be,to:_0x6d7d15})=>{const _0x4f6cf6=_0xc34dd4;this[_0x4f6cf6(0x55b)]['debug'](_0x4f6cf6(0x1dc),_0x4f6cf6(0x2ce)+_0x56c5be+_0x4f6cf6(0x376)+_0x6d7d15);const _0x1f37bb={'eventID':_0x57fec2[_0x4f6cf6(0x2ff)][_0x4f6cf6(0x26b)],'data':{'unitID':_0x4d86c8,'unitType':this[_0x4f6cf6(0x433)],'from':_0x56c5be,'to':_0x6d7d15}};this['session'][_0x4f6cf6(0x198)](_0x1f37bb,this[_0x4f6cf6(0x145)]);}};}async[_0x2e5f4c(0x1e1)](_0x84a3aa){const _0x28969b=_0x2e5f4c;var _0x5631f2,_0x347dd3;const _0xd4f500=await this[_0x28969b(0x178)][_0x28969b(0x1c2)](this['unitID']),_0x3fdbb3=(_0x5631f2=_0xd4f500==null?void 0x0:_0xd4f500['mutations'])!=null?_0x5631f2:[],_0x1f6904=(_0x347dd3=_0xd4f500==null?void 0x0:_0xd4f500[_0x28969b(0x4c2)])!=null?_0x347dd3:null,_0x32fd74=!!(_0x1f6904!=null&&_0x1f6904[_0x28969b(0x458)])&&!!(_0x1f6904!=null&&_0x1f6904[_0x28969b(0x1ca)]);this[_0x28969b(0x52a)]=_0x32fd74?_0x1f6904[_0x28969b(0x458)]:_0x4e2978(),this[_0x28969b(0x2d0)]=_0x32fd74?_0x1f6904[_0x28969b(0x1ca)]:0x0;const _0x340d4e=this[_0x28969b(0x145)];try{this[_0x28969b(0x43f)](_0x1f6904,_0x3fdbb3);}catch(_0x16b3e9){this[_0x28969b(0x55b)][_0x28969b(0x2ac)](_0x16b3e9);}const _0x2feb39=this['_createHandler']();if(_0x84a3aa){const _0x1ce6ec=_0x1e0599(this['_injector'],_0x340d4e,this[_0x28969b(0x433)],_0x1f6904,_0x3fdbb3,_0x2feb39);return _0x1ce6ec instanceof _0x13ad85?_0x1ce6ec['_schedule']():(_0x1ce6ec instanceof _0xdd4e93||_0x1ce6ec instanceof _0x5dbf59)&&_0x1ce6ec[_0x28969b(0x547)](),_0x1ce6ec;}return this['_injector'][_0x28969b(0x408)](_0x2741c7,_0x340d4e,this[_0x28969b(0x433)],_0x1f6904,_0x3fdbb3,_0x2feb39);}['_replayCachedMutations'](_0xb6f701,_0x368ec9){const _0x20a6ea=_0x2e5f4c;var _0xec8359,_0x15670c;const _0x5f251b=this[_0x20a6ea(0x422)][_0x20a6ea(0x55c)][_0x20a6ea(0x18c)](this[_0x20a6ea(0x422)]['interceptor']['getInterceptPoints']()[_0x20a6ea(0x435)]);(_0xec8359=_0x5f251b((_0xb6f701==null?void 0x0:_0xb6f701['mutations'])||[],null))==null||_0xec8359[_0x20a6ea(0x3e9)](_0x2994b7=>this[_0x20a6ea(0x2aa)][_0x20a6ea(0x21a)](_0x2994b7['id'],_0x2994b7['params'])),(_0x15670c=_0x5f251b(_0x368ec9||[],null))==null||_0x15670c[_0x20a6ea(0x3e9)](_0x1346d4=>this[_0x20a6ea(0x2aa)]['executeCommand'](_0x1346d4['id'],_0x1346d4[_0x20a6ea(0x484)]));}},_0x5d9ca9['CollaborationEntity']=_0x1ae4da([_0x3a5245(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['Injector'])),_0x3a5245(0x4,_0x5dd71d['Inject'](_0x5d9ca9['LocalCacheService'])),_0x3a5245(0x5,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x215)])),_0x3a5245(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['LocaleService'])),_0x3a5245(0x7,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x19f)])),_0x3a5245(0x8,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x3a5245(0x9,_0x5dd71d[_0x2e5f4c(0x160)]),_0x3a5245(0xa,_0x43bf7d[_0x2e5f4c(0x358)]),_0x3a5245(0xb,_0x5dd71d[_0x2e5f4c(0x4fa)]),_0x3a5245(0xc,_0x5dd71d[_0x2e5f4c(0x476)](_0x3ed5e0))],_0x5d9ca9[_0x2e5f4c(0x52b)]),_0x5d9ca9[_0x2e5f4c(0x21e)]=class extends _0x5d9ca9[_0x2e5f4c(0x52b)]{constructor(_0x37bea5,_0x434dbb,_0x18a869,_0x2c3d10,_0x41eaab,_0xd14620,_0x1fb0ca,_0x5400ec,_0x217e2f,_0x4195d3,_0x54f73e,_0x2b933d,_0x5d7bc8,_0x280893,_0x5784be,_0x109353,_0x40271b){const _0x552098=_0x2e5f4c;super(_0x37bea5,_0x18a869,_0x434dbb,_0x2c3d10,_0x41eaab,_0xd14620,_0x1fb0ca,_0x5400ec,_0x5d7bc8,_0x280893,_0x5784be,_0x109353,_0x40271b),this[_0x552098(0x145)]=_0x37bea5,this['type']=_0x434dbb,this[_0x552098(0x2d8)]=_0x217e2f,this[_0x552098(0x1e7)]=_0x4195d3,this[_0x552098(0x522)]=_0x54f73e,this['_docSyncEditingCollabCursorService']=_0x2b933d;}[_0x2e5f4c(0x2ef)](){const _0x33c809=_0x2e5f4c,_0x748d81=super['_createHandler']();return _0x748d81[_0x33c809(0x489)]=_0x3ea336=>this[_0x33c809(0x1e7)][_0x33c809(0x384)](_0x3ea336),_0x748d81[_0x33c809(0x3b4)]=_0x21dce8=>this[_0x33c809(0x522)]['transformSelections'](_0x21dce8),_0x748d81['onSyncEditingCollabCursor']=_0x3f334b=>this[_0x33c809(0x55d)][_0x33c809(0x52f)](_0x3f334b),_0x748d81['onTransformRemoteChangesetByIMECache']=_0x48ecf6=>this[_0x33c809(0x1e7)]['transformRemoteChangeset'](_0x48ecf6),_0x748d81;}async['_init'](){const _0x3da8c4=_0x2e5f4c,_0x1b739e=await super[_0x3da8c4(0x389)]();return this[_0x3da8c4(0x2d8)][_0x3da8c4(0x308)][_0x3da8c4(0x31d)](_0x1e8f3c[_0x3da8c4(0x16c)](this['dispose$']))[_0x3da8c4(0x3ee)](_0x274bc8=>{const _0x209630=_0x3da8c4;if(_0x274bc8==null)return;const {unitId:_0x54f9f2,redoState:_0x6887d2,commandId:_0xffc0fe}=_0x274bc8;if(_0x54f9f2!==this[_0x209630(0x145)])return;const _0x1e025f={'id':_0xffc0fe,'type':_0x5dd71d[_0x209630(0x29f)][_0x209630(0x2c4)],'params':{'unitId':_0x54f9f2,'actions':_0x6887d2['actions'],'textRanges':null}};this[_0x209630(0x25a)](_0x1e025f);}),_0x1b739e;}},_0x5d9ca9[_0x2e5f4c(0x21e)]=_0x1ae4da([_0x3a5245(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x3a5245(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x3a5245(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2[_0x2e5f4c(0x215)])),_0x3a5245(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['LocaleService'])),_0x3a5245(0x7,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x19f)])),_0x3a5245(0x8,_0x5dd71d[_0x2e5f4c(0x391)](_0x1e1fad[_0x2e5f4c(0x550)])),_0x3a5245(0x9,_0x5dd71d[_0x2e5f4c(0x391)](_0x4979f6)),_0x3a5245(0xa,_0x5dd71d[_0x2e5f4c(0x391)](_0x54ffaf)),_0x3a5245(0xb,_0x5dd71d[_0x2e5f4c(0x391)](_0x55fe8c)),_0x3a5245(0xc,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x3a5245(0xd,_0x5dd71d['ICommandService']),_0x3a5245(0xe,_0x43bf7d[_0x2e5f4c(0x358)]),_0x3a5245(0xf,_0x5dd71d['IPermissionService']),_0x3a5245(0x10,_0x5dd71d['Optional'](_0x3ed5e0))],_0x5d9ca9[_0x2e5f4c(0x21e)]),_0x5d9ca9[_0x2e5f4c(0x40e)]=class extends _0x5d9ca9[_0x2e5f4c(0x52b)]{constructor(_0x2aa240,_0x203217,_0xfe5c88,_0x499388,_0x43eb69,_0x2d4fa7,_0x1ee22b,_0x5b9408,_0x406ef6,_0x19f982,_0x4d3637,_0x273856,_0x24e85f,_0x441948){const _0x339031=_0x2e5f4c;super(_0x2aa240,_0xfe5c88,_0x203217,_0x499388,_0x43eb69,_0x2d4fa7,_0x1ee22b,_0x5b9408,_0x19f982,_0x4d3637,_0x273856,_0x24e85f,_0x441948),this[_0x339031(0x145)]=_0x2aa240,this[_0x339031(0x4c7)]=_0x203217,this[_0x339031(0x4df)]=_0x406ef6;}[_0x2e5f4c(0x2ef)](){const _0x1bb578=_0x2e5f4c,_0x2c94ae=super[_0x1bb578(0x2ef)]();return _0x2c94ae[_0x1bb578(0x3b4)]=_0x365cc9=>this['_sheetTransformSelectionsService'][_0x1bb578(0x51c)](_0x365cc9),_0x2c94ae;}async[_0x2e5f4c(0x389)](){const _0x4c9ae1=_0x2e5f4c,_0x52db82=await super['_init']();return this['disposeWithMe'](this[_0x4c9ae1(0x2aa)][_0x4c9ae1(0x257)]((_0x532fcf,_0x5a9220)=>{const _0x842b90=_0x4c9ae1;if(_0x532fcf[_0x842b90(0x4c7)]!==_0x5dd71d[_0x842b90(0x29f)][_0x842b90(0x2c4)]||_0x5a9220!=null&&_0x5a9220[_0x842b90(0x2a5)]||_0x5a9220!=null&&_0x5a9220[_0x842b90(0x3de)])return;const _0x47aeba=_0x532fcf[_0x842b90(0x484)];if((_0x47aeba==null?void 0x0:_0x47aeba[_0x842b90(0x183)])!==this['unitID'])return;const _0x1ecd37=_0x532fcf,_0x1d078=this['_compressMutationService'][_0x842b90(0x55c)][_0x842b90(0x18c)](this[_0x842b90(0x422)]['interceptor'][_0x842b90(0x3a5)]()[_0x842b90(0x15d)])([_0x1ecd37],null)||[_0x1ecd37];this[_0x842b90(0x25a)](_0x1d078[0x0]);})),_0x52db82;}},_0x5d9ca9[_0x2e5f4c(0x40e)]=_0x1ae4da([_0x3a5245(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x3a5245(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x3a5245(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2[_0x2e5f4c(0x215)])),_0x3a5245(0x6,_0x5dd71d['Inject'](_0x5dd71d['LocaleService'])),_0x3a5245(0x7,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x19f)])),_0x3a5245(0x8,_0x5dd71d['Inject'](_0x1c7bc3)),_0x3a5245(0x9,_0x5dd71d['ILogService']),_0x3a5245(0xa,_0x5dd71d[_0x2e5f4c(0x160)]),_0x3a5245(0xb,_0x43bf7d[_0x2e5f4c(0x358)]),_0x3a5245(0xc,_0x5dd71d[_0x2e5f4c(0x4fa)]),_0x3a5245(0xd,_0x5dd71d[_0x2e5f4c(0x476)](_0x3ed5e0))],_0x5d9ca9[_0x2e5f4c(0x40e)]);var _0x42e978=Object[_0x2e5f4c(0x2c2)],_0x2c7a84=Object['getOwnPropertyDescriptor'],_0x1d0460=(_0x17139d,_0x231591,_0x329fbb,_0x424183)=>{const _0xa48874=_0x2e5f4c;for(var _0x51a105=_0x424183>0x1?void 0x0:_0x424183?_0x2c7a84(_0x231591,_0x329fbb):_0x231591,_0x35fece=_0x17139d[_0xa48874(0x310)]-0x1,_0x1d873b;_0x35fece>=0x0;_0x35fece--)(_0x1d873b=_0x17139d[_0x35fece])&&(_0x51a105=(_0x424183?_0x1d873b(_0x231591,_0x329fbb,_0x51a105):_0x1d873b(_0x51a105))||_0x51a105);return _0x424183&&_0x51a105&&_0x42e978(_0x231591,_0x329fbb,_0x51a105),_0x51a105;},_0x1e623c=(_0x214672,_0x1c25e8)=>(_0x2b1cc4,_0x25d1cc)=>_0x1c25e8(_0x2b1cc4,_0x25d1cc,_0x214672);_0x5d9ca9[_0x2e5f4c(0x548)]=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0x2c7ab2,_0x50975c,_0x5d596b){const _0x1218d1=_0x2e5f4c;super(),_0x30b9f2(this,_0x1218d1(0x33f),new Map()),_0x30b9f2(this,_0x1218d1(0x318),new _0x1e8f3c[(_0x1218d1(0x2d3))]()),(this[_0x1218d1(0x3bf)]=_0x2c7ab2,this[_0x1218d1(0x1d6)]=_0x50975c,this[_0x1218d1(0x546)]=_0x5d596b,this[_0x1218d1(0x389)]());}[_0x2e5f4c(0x32d)](){const _0x60b695=_0x2e5f4c;super[_0x60b695(0x32d)](),this[_0x60b695(0x33f)]['forEach'](_0x2dc509=>_0x2dc509[_0x60b695(0x32d)]()),this[_0x60b695(0x33f)][_0x60b695(0x188)]();}[_0x2e5f4c(0x558)](_0x4ab8fb){const _0xdd1bad=_0x2e5f4c;var _0x148961;return(_0x148961=this[_0xdd1bad(0x33f)]['get'](_0x4ab8fb))!=null?_0x148961:null;}[_0x2e5f4c(0x3b9)](_0x4f9a05){const _0x2a3558=_0x2e5f4c,_0x544194=this[_0x2a3558(0x558)](_0x4f9a05);return _0x544194?_0x1e8f3c['of'](_0x544194):this[_0x2a3558(0x318)][_0x2a3558(0x31d)](_0x58074b['filter'](_0x34837f=>_0x34837f[_0x2a3558(0x145)]===_0x4f9a05));}['_init'](){const _0x585167=_0x2e5f4c;this[_0x585167(0x546)][_0x585167(0x480)](_0x5dd71d[_0x585167(0x14d)][_0x585167(0x530)])['pipe'](_0x1e8f3c[_0x585167(0x16c)](this[_0x585167(0x487)]),_0x58074b[_0x585167(0x440)](0x10))[_0x585167(0x3ee)](async _0x95537e=>{const _0x3e31e1=_0x585167,_0x15fdde=_0x95537e[_0x3e31e1(0x29e)](),_0x27c624=await this[_0x3e31e1(0x3a7)](_0x15fdde,_0x17bbb0[_0x3e31e1(0x530)]);this[_0x3e31e1(0x33f)][_0x3e31e1(0x246)](_0x15fdde,_0x27c624);}),this[_0x585167(0x546)][_0x585167(0x480)](_0x5dd71d[_0x585167(0x14d)][_0x585167(0x4de)])['pipe'](_0x1e8f3c[_0x585167(0x16c)](this[_0x585167(0x487)]),_0x58074b[_0x585167(0x440)](0x10))['pipe'](_0x58074b[_0x585167(0x293)](_0x2e4619=>!_0x2e4619[_0x585167(0x29e)]()[_0x585167(0x31c)]('__')))[_0x585167(0x3ee)](async _0x12bc62=>{const _0x14fed8=_0x585167,_0x3dcb67=_0x12bc62[_0x14fed8(0x29e)](),_0x4aa8cb=await this[_0x14fed8(0x3a7)](_0x3dcb67,_0x17bbb0[_0x14fed8(0x4de)]);this[_0x14fed8(0x33f)][_0x14fed8(0x246)](_0x3dcb67,_0x4aa8cb);}),_0x1e8f3c['merge'](this[_0x585167(0x546)][_0x585167(0x180)](_0x5dd71d[_0x585167(0x14d)][_0x585167(0x530)]),this[_0x585167(0x546)][_0x585167(0x180)](_0x5dd71d[_0x585167(0x14d)][_0x585167(0x4de)]))[_0x585167(0x31d)](_0x1e8f3c[_0x585167(0x16c)](this[_0x585167(0x487)]))[_0x585167(0x3ee)](_0x22da10=>{const _0xe590b3=_0x585167,_0x5098d7=_0x22da10['getUnitId'](),_0xca818c=this[_0xe590b3(0x33f)]['get'](_0x5098d7);_0xca818c&&(_0xca818c[_0xe590b3(0x32d)](),this['_entities']['delete'](_0x5098d7));});}async['_startCollaboration'](_0x528919,_0x54303c){const _0x5a7771=_0x2e5f4c,_0x563d25=await this[_0x5a7771(0x1d6)]['requireSession'](_0x528919),_0x1600b6=this[_0x5a7771(0x3bf)][_0x5a7771(0x408)](this[_0x5a7771(0x190)](_0x54303c),_0x528919,_0x54303c,_0x563d25);return await _0x1600b6[_0x5a7771(0x176)](),this[_0x5a7771(0x318)][_0x5a7771(0x228)](_0x1600b6),_0x1600b6;}[_0x2e5f4c(0x190)](_0x35f464){const _0x5ac141=_0x2e5f4c;switch(_0x35f464){case _0x17bbb0[_0x5ac141(0x4de)]:return _0x5d9ca9[_0x5ac141(0x21e)];case _0x17bbb0[_0x5ac141(0x530)]:return _0x5d9ca9[_0x5ac141(0x40e)];default:throw new Error(_0x5ac141(0x2b0)+_0x35f464);}}},_0x5d9ca9[_0x2e5f4c(0x548)]=_0x1d0460([_0x1e623c(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x1e623c(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9[_0x2e5f4c(0x4cb)])),_0x1e623c(0x2,_0x5dd71d['IUniverInstanceService'])],_0x5d9ca9[_0x2e5f4c(0x548)]);const _0x261de5=['purple300',_0x2e5f4c(0x367),_0x2e5f4c(0x390),_0x2e5f4c(0x17a),_0x2e5f4c(0x562),_0x2e5f4c(0x3b5)];class _0x5491d3 extends _0x5dd71d['Disposable']{constructor(){const _0x319a7b=_0x2e5f4c;super(...arguments),_0x30b9f2(this,_0x319a7b(0x385),new Map()),_0x30b9f2(this,_0x319a7b(0x444),0x0);}[_0x2e5f4c(0x501)](_0x3b1b1f){const _0x5d0256=_0x2e5f4c;if(this['_assignedColors']['has'](_0x3b1b1f))return this[_0x5d0256(0x385)][_0x5d0256(0x578)](_0x3b1b1f);const _0x51bc87=_0x261de5[this[_0x5d0256(0x444)]];return this[_0x5d0256(0x444)]=(this['_colorIndex']+0x1)%_0x261de5[_0x5d0256(0x310)],this[_0x5d0256(0x385)]['set'](_0x3b1b1f,_0x51bc87),_0x51bc87;}}var _0x2a9e52=Object[_0x2e5f4c(0x2c2)],_0x4b2ce3=Object[_0x2e5f4c(0x4b9)],_0x251757=(_0x4ddd33,_0x53d23d,_0x301405,_0x38aff2)=>{for(var _0x5e913c=_0x38aff2>0x1?void 0x0:_0x38aff2?_0x4b2ce3(_0x53d23d,_0x301405):_0x53d23d,_0x3cffb6=_0x4ddd33['length']-0x1,_0x15a9fd;_0x3cffb6>=0x0;_0x3cffb6--)(_0x15a9fd=_0x4ddd33[_0x3cffb6])&&(_0x5e913c=(_0x38aff2?_0x15a9fd(_0x53d23d,_0x301405,_0x5e913c):_0x15a9fd(_0x5e913c))||_0x5e913c);return _0x38aff2&&_0x5e913c&&_0x2a9e52(_0x53d23d,_0x301405,_0x5e913c),_0x5e913c;},_0x299822=(_0xfc5162,_0x1087cb)=>(_0x29345f,_0x374d2c)=>_0x1087cb(_0x29345f,_0x374d2c,_0xfc5162);const _0x1255c3=0x12c,_0x3302ed=0x64;let _0x33bad2=class extends _0x5dd71d['RxDisposable']{constructor(_0x4b18a6,_0x451d9d,_0x3c55cf,_0x470f3f,_0x39582b,_0x3288e2,_0xc7b916,_0x468b2d,_0x182c84){const _0x1e8ddf=_0x2e5f4c;super(),_0x30b9f2(this,_0x1e8ddf(0x1a0),!0x1),_0x30b9f2(this,'_init',!0x1),_0x30b9f2(this,_0x1e8ddf(0x28f),new _0x1e8f3c[(_0x1e8ddf(0x3ca))](new Map())),_0x30b9f2(this,_0x1e8ddf(0x40c),this[_0x1e8ddf(0x28f)][_0x1e8ddf(0x1be)]()),_0x30b9f2(this,_0x1e8ddf(0x48c),new _0x1e8f3c[(_0x1e8ddf(0x3ca))]([])),_0x30b9f2(this,_0x1e8ddf(0x3d1),this[_0x1e8ddf(0x48c)][_0x1e8ddf(0x31d)](_0x1e8f3c['debounceTime'](_0x1255c3))),_0x30b9f2(this,_0x1e8ddf(0x2db),_0x5dd71d[_0x1e8ddf(0x314)](_0xbb3797=>{const _0x11893d=_0x1e8ddf,_0x56ff86={'eventID':_0x57fec2[_0x11893d(0x2ff)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x11893d(0x145)],'memberID':this[_0x11893d(0x40b)][_0x11893d(0x290)](),'selection':_0x2e04c1(_0xbb3797)}};this[_0x11893d(0x40b)][_0x11893d(0x198)](_0x56ff86,this[_0x11893d(0x145)]);},_0x3302ed)),(this['unitID']=_0x4b18a6,this[_0x1e8ddf(0x40b)]=_0x451d9d,this[_0x1e8ddf(0x3bf)]=_0x3c55cf,this[_0x1e8ddf(0x4b5)]=_0x470f3f,this[_0x1e8ddf(0x2bd)]=_0x39582b,this[_0x1e8ddf(0x13f)]=_0x3288e2,this['_transformService']=_0xc7b916,this[_0x1e8ddf(0x546)]=_0x468b2d,this[_0x1e8ddf(0x2aa)]=_0x182c84);}get[_0x2e5f4c(0x51f)](){const _0x459499=_0x2e5f4c;return this[_0x459499(0x28f)][_0x459499(0x521)]();}get[_0x2e5f4c(0x4e2)](){const _0x24b8f2=_0x2e5f4c;return this[_0x24b8f2(0x48c)][_0x24b8f2(0x521)]();}['dispose'](){const _0x7549b5=_0x2e5f4c;super[_0x7549b5(0x32d)](),this['_cursorInfo$'][_0x7549b5(0x228)](new Map()),this[_0x7549b5(0x28f)][_0x7549b5(0x170)](),this[_0x7549b5(0x48c)][_0x7549b5(0x228)]([]),this[_0x7549b5(0x48c)]['complete']();}[_0x2e5f4c(0x176)](){const _0x1a7352=_0x2e5f4c;this[_0x1a7352(0x389)]||(this[_0x1a7352(0x389)]=!0x0,this['_session']['sessionStatus$'][_0x1a7352(0x31d)](_0x1e8f3c['takeUntil'](this[_0x1a7352(0x487)]))[_0x1a7352(0x3ee)](_0x33a575=>{const _0x23eefc=_0x1a7352;_0x33a575===_0x4add37[_0x23eefc(0x14e)]?this[_0x23eefc(0x21d)]():this[_0x23eefc(0x281)]();}),this[_0x1a7352(0x40b)][_0x1a7352(0x394)][_0x1a7352(0x31d)](_0x1e8f3c[_0x1a7352(0x16c)](this[_0x1a7352(0x487)]))[_0x1a7352(0x3ee)](_0x1f40dd=>{const _0xb6448e=_0x1a7352,_0x5f533e=_0x1f40dd['eventID'];_0x5f533e===_0x57fec2[_0xb6448e(0x2ff)][_0xb6448e(0x235)]&&this[_0xb6448e(0x45d)](_0x1f40dd),_0x5f533e===_0x57fec2[_0xb6448e(0x2ff)]['USERS_LEAVE']&&this[_0xb6448e(0x271)](_0x1f40dd);}),this[_0x1a7352(0x360)](this['_commandService'][_0x1a7352(0x257)](_0xdd4762=>{const _0x338c99=_0x1a7352,_0xbf2217=_0xdd4762[_0x338c99(0x484)];_0xbf2217!=null&&this[_0x338c99(0x1a0)]&&_0xdd4762['id']===_0x4c83d7[_0x338c99(0x429)]['id']&&_0xbf2217[_0x338c99(0x183)]===this[_0x338c99(0x145)]&&_0xbf2217[_0x338c99(0x2e2)]===!0x1&&this[_0x338c99(0x2db)](_0xbf2217[_0x338c99(0x456)]);})),this[_0x1a7352(0x13f)][_0x1a7352(0x251)]['pipe'](_0x1e8f3c[_0x1a7352(0x16c)](this[_0x1a7352(0x487)]))['subscribe'](_0x2b9199=>{const _0x70cd10=_0x1a7352;if((_0x2b9199==null?void 0x0:_0x2b9199[_0x70cd10(0x145)])!==this['unitID'])return;const _0xad3d90={'eventID':_0x57fec2[_0x70cd10(0x2ff)][_0x70cd10(0x235)],'data':_0x2b9199};this[_0x70cd10(0x45d)](_0xad3d90);}),this[_0x1a7352(0x360)](this[_0x1a7352(0x2aa)]['onCommandExecuted'](_0x516ad7=>{const _0x4f2458=_0x1a7352;if(_0x516ad7[_0x4f2458(0x484)]==null)return;const _0x452f22=_0x516ad7['params'];if(_0x516ad7['id']!==_0x4c83d7[_0x4f2458(0x22a)]['id']||_0x452f22[_0x4f2458(0x183)]!==this[_0x4f2458(0x145)])return;const _0x42a652={'id':_0x4f2458(0x499),'params':_0x452f22},_0x3df5ee=this['cursorInfo'];for(const [_0x394ed6,_0x56f1e6]of _0x3df5ee){const _0x3a6ec8={'id':_0x4f2458(0x499),'params':{'unitId':this[_0x4f2458(0x145)],'actions':null,'textRanges':_0x56f1e6[_0x4f2458(0x456)]}},_0x21c9cc=this['_transformService'][_0x4f2458(0x4a7)](_0x42a652,_0x3a6ec8,!0x1);if(_0x57fec2[_0x4f2458(0x230)](_0x21c9cc))throw _0x21c9cc['error'];_0x3df5ee[_0x4f2458(0x246)](_0x394ed6,{..._0x56f1e6,'ranges':_0x21c9cc[_0x4f2458(0x453)][_0x4f2458(0x484)][_0x4f2458(0x1a2)]});}queueMicrotask(()=>{const _0x1525a8=_0x4f2458;this[_0x1525a8(0x28f)][_0x1525a8(0x228)](_0x3df5ee);});})));}[_0x2e5f4c(0x45d)](_0x129199){const _0x126fcc=_0x2e5f4c;var _0x23ebcf,_0x4218a8;const {memberID:_0x362ec7,selection:_0xa513b9}=_0x129199[_0x126fcc(0x51b)],_0x1909e9=_0x4787e5(_0xa513b9),_0x4e499a=(_0x4218a8=(_0x23ebcf=this[_0x126fcc(0x2bd)][_0x126fcc(0x233)](this[_0x126fcc(0x145)],_0x362ec7))==null?void 0x0:_0x23ebcf['name'])!=null?_0x4218a8:'Unknown\x20user',_0x3ac0a7={'color':this[_0x126fcc(0x4b5)]['assignAColorForMemberID'](_0x362ec7),'name':_0x4e499a,'ranges':_0x1909e9},_0xc05c71=this[_0x126fcc(0x51f)];_0xc05c71[_0x126fcc(0x246)](_0x362ec7,_0x3ac0a7),this['_cursorInfo$'][_0x126fcc(0x228)](_0xc05c71);}['_onCursorDelete'](_0x13050c){const _0x274bf6=_0x2e5f4c,{memberID:_0x1109de}=_0x13050c[_0x274bf6(0x51b)],_0x4c54bf=this[_0x274bf6(0x51f)];_0x4c54bf['delete'](_0x1109de),this[_0x274bf6(0x28f)][_0x274bf6(0x228)](_0x4c54bf);}[_0x2e5f4c(0x21d)](){const _0x1d6b3c=_0x2e5f4c;var _0x1fc2c8;if(this[_0x1d6b3c(0x1a0)]=!0x0,((_0x1fc2c8=this[_0x1d6b3c(0x546)]['getFocusedUnit']())==null?void 0x0:_0x1fc2c8[_0x1d6b3c(0x29e)]())!==this[_0x1d6b3c(0x145)])return;const _0x398d5e=this['_injector'][_0x1d6b3c(0x578)](_0x4c83d7[_0x1d6b3c(0x46c)])[_0x1d6b3c(0x139)]();Array[_0x1d6b3c(0x241)](_0x398d5e)&&_0x398d5e[_0x1d6b3c(0x310)]>0x0&&this[_0x1d6b3c(0x2db)](_0x398d5e);}[_0x2e5f4c(0x281)](){this['_online']=!0x1;}};_0x33bad2=_0x251757([_0x299822(0x2,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x299822(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5491d3)),_0x299822(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x266f31)),_0x299822(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x55fe8c)),_0x299822(0x6,_0x57fec2[_0x2e5f4c(0x52d)]),_0x299822(0x7,_0x5dd71d[_0x2e5f4c(0x373)]),_0x299822(0x8,_0x5dd71d[_0x2e5f4c(0x160)])],_0x33bad2);var _0x14800a=Object[_0x2e5f4c(0x2c2)],_0x36fbd4=Object[_0x2e5f4c(0x4b9)],_0x6bd44b=(_0x33b129,_0x55f834,_0xb523da,_0x44e87b)=>{const _0x3e2b2e=_0x2e5f4c;for(var _0x547f1d=_0x44e87b>0x1?void 0x0:_0x44e87b?_0x36fbd4(_0x55f834,_0xb523da):_0x55f834,_0x3f2272=_0x33b129[_0x3e2b2e(0x310)]-0x1,_0x23f73b;_0x3f2272>=0x0;_0x3f2272--)(_0x23f73b=_0x33b129[_0x3f2272])&&(_0x547f1d=(_0x44e87b?_0x23f73b(_0x55f834,_0xb523da,_0x547f1d):_0x23f73b(_0x547f1d))||_0x547f1d);return _0x44e87b&&_0x547f1d&&_0x14800a(_0x55f834,_0xb523da,_0x547f1d),_0x547f1d;},_0x3d942f=(_0x587049,_0x1b1128)=>(_0x50627a,_0x12bba8)=>_0x1b1128(_0x50627a,_0x12bba8,_0x587049);const _0x1451b4=0x12c,_0x30f08e=0x64,_0x189438=()=>{let _0x4f086c=[],_0x53e525=!0x1;return _0x3f56c5=>{const _0x52f79c=_0x9a79;_0x4f086c[_0x52f79c(0x36b)](_0x3f56c5),_0x53e525||(_0x53e525=!0x0,setTimeout(()=>{const _0xa5397=_0x52f79c;_0x4f086c[_0xa5397(0x3e9)](_0x15ce0b=>_0x15ce0b()),_0x4f086c=[],_0x53e525=!0x1;}));};};let _0x55c3b8=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0x31cf91,_0x2f94ca,_0x318596,_0x355886,_0x3a36b0,_0x5aa059,_0x3604fb,_0x4f9c5e){const _0xd8676d=_0x2e5f4c;super(),_0x30b9f2(this,_0xd8676d(0x1a0),!0x1),_0x30b9f2(this,'_init',!0x1),_0x30b9f2(this,_0xd8676d(0x28f),new _0x1e8f3c[(_0xd8676d(0x3ca))](new Map())),_0x30b9f2(this,_0xd8676d(0x40c),this[_0xd8676d(0x28f)][_0xd8676d(0x1be)]()),_0x30b9f2(this,_0xd8676d(0x48c),new _0x1e8f3c['BehaviorSubject']([])),_0x30b9f2(this,_0xd8676d(0x3d1),this['_roomMembers$'][_0xd8676d(0x31d)](_0x1e8f3c['debounceTime'](_0x1451b4))),_0x30b9f2(this,_0xd8676d(0x2db),_0x5dd71d[_0xd8676d(0x314)]((_0x2ba590,_0x5788f9)=>{const _0xd322bd=_0xd8676d,_0x341612={'eventID':_0x57fec2['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0xd322bd(0x145)],'memberID':this[_0xd322bd(0x40b)][_0xd322bd(0x290)](),'selection':_0x29bba3[_0xd322bd(0x253)](_0x2ba590,_0x5788f9[_0xd322bd(0x2a2)])}};this[_0xd322bd(0x40b)][_0xd322bd(0x198)](_0x341612,this[_0xd322bd(0x145)]);},_0x30f08e)),(this[_0xd8676d(0x145)]=_0x31cf91,this['_session']=_0x2f94ca,this[_0xd8676d(0x3bf)]=_0x318596,this[_0xd8676d(0x4b5)]=_0x355886,this[_0xd8676d(0x2bd)]=_0x3a36b0,this['_univerInstanceService']=_0x5aa059,this['_commandService']=_0x3604fb,this['_refRangeService']=_0x4f9c5e);}get['cursorInfo'](){const _0x3daa52=_0x2e5f4c;return this[_0x3daa52(0x28f)][_0x3daa52(0x521)]();}get[_0x2e5f4c(0x4e2)](){const _0xeaec8d=_0x2e5f4c;return this[_0xeaec8d(0x48c)]['getValue']();}[_0x2e5f4c(0x32d)](){const _0x40d006=_0x2e5f4c;super[_0x40d006(0x32d)](),this['_cursorInfo$'][_0x40d006(0x228)](new Map()),this[_0x40d006(0x28f)][_0x40d006(0x170)](),this[_0x40d006(0x48c)][_0x40d006(0x228)]([]),this[_0x40d006(0x48c)][_0x40d006(0x170)]();}['init'](){const _0x5ce073=_0x2e5f4c;this[_0x5ce073(0x389)]||(this[_0x5ce073(0x389)]=!0x0,this[_0x5ce073(0x40b)][_0x5ce073(0x56d)][_0x5ce073(0x31d)](_0x1e8f3c[_0x5ce073(0x16c)](this[_0x5ce073(0x487)]))[_0x5ce073(0x3ee)](_0x38b045=>{const _0x5e7cd9=_0x5ce073;_0x38b045===_0x4add37[_0x5e7cd9(0x14e)]?this[_0x5e7cd9(0x21d)]():this[_0x5e7cd9(0x281)]();}),this[_0x5ce073(0x40b)][_0x5ce073(0x394)][_0x5ce073(0x31d)](_0x1e8f3c['takeUntil'](this[_0x5ce073(0x487)]))[_0x5ce073(0x3ee)](_0x18f709=>{const _0x3b6f3f=_0x5ce073,_0x289c57=_0x18f709['eventID'];_0x289c57===_0x57fec2[_0x3b6f3f(0x2ff)]['UPDATE_CURSOR']&&this[_0x3b6f3f(0x45d)](_0x18f709),_0x289c57===_0x57fec2['CollaborationEvent'][_0x3b6f3f(0x4b2)]&&this[_0x3b6f3f(0x271)](_0x18f709);}),this[_0x5ce073(0x27a)](),this[_0x5ce073(0x360)](this['_commandService']['onCommandExecuted'](_0x389d48=>{const _0x502bae=_0x5ce073;if(this[_0x502bae(0x1a0)]&&_0x389d48['id']===_0x51fcfd[_0x502bae(0x333)]['id']&&_0x389d48[_0x502bae(0x484)]['unitId']===this[_0x502bae(0x145)]){const _0x18f2d7=_0x389d48[_0x502bae(0x484)];this[_0x502bae(0x2db)](_0x18f2d7[_0x502bae(0x2e5)],_0x18f2d7[_0x502bae(0x502)][0x0]);}})));}[_0x2e5f4c(0x45d)](_0x2158d2){const _0x2cf68d=_0x2e5f4c;var _0x592206,_0x428248;const {memberID:_0x12525f,selection:_0x828d77}=_0x2158d2['data'],{sheetName:_0x1c45da,range:_0x28d5e9}=_0x29bba3[_0x2cf68d(0x331)](_0x828d77),_0x3026e2={'name':(_0x428248=(_0x592206=this[_0x2cf68d(0x2bd)]['getMember'](this['unitID'],_0x12525f))==null?void 0x0:_0x592206[_0x2cf68d(0x52e)])!=null?_0x428248:_0x2cf68d(0x1c3),'range':this['_getMergeRange'](_0x1c45da,_0x28d5e9),'sheetID':_0x1c45da,'color':this[_0x2cf68d(0x4b5)]['assignAColorForMemberID'](_0x12525f),'selection':_0x828d77},_0xbdcd92=this[_0x2cf68d(0x51f)];_0xbdcd92[_0x2cf68d(0x246)](_0x12525f,_0x3026e2),this['_cursorInfo$'][_0x2cf68d(0x228)](_0xbdcd92);}[_0x2e5f4c(0x271)](_0x1b0e1f){const _0x44a16e=_0x2e5f4c,{memberID:_0x31b783}=_0x1b0e1f[_0x44a16e(0x51b)],_0x145365=this[_0x44a16e(0x51f)];_0x145365['delete'](_0x31b783),this[_0x44a16e(0x28f)][_0x44a16e(0x228)](_0x145365);}[_0x2e5f4c(0x37d)](_0x200fc9,_0x38c9a1){const _0x1a5684=_0x2e5f4c;var _0x53f6aa,_0x4ee792;const _0x4f6f0f=(_0x4ee792=(_0x53f6aa=this['_univerInstanceService'][_0x1a5684(0x3fd)](this['unitID']))==null?void 0x0:_0x53f6aa['getSheetBySheetId'](_0x200fc9))==null?void 0x0:_0x4ee792[_0x1a5684(0x455)]();return(_0x4f6f0f==null?void 0x0:_0x4f6f0f['find'](_0x284fb7=>_0x5dd71d[_0x1a5684(0x1ce)][_0x1a5684(0x38d)](_0x284fb7,_0x38c9a1)))||_0x38c9a1;}[_0x2e5f4c(0x27a)](){const _0x37f0f8=_0x2e5f4c,_0x3e0468=new _0x5dd71d[(_0x37f0f8(0x26d))](),_0x559a4b=_0x189438(),_0xb3574=()=>{const _0x8df42d=_0x37f0f8;_0x3e0468['dispose']();const _0x10cbcb=(_0x356efd,_0x44153a,_0x64a33c,_0xb803e5)=>{const _0x1adc74=_0x9a79;let _0x585799=[];switch(_0x356efd['id']){case _0x51fcfd['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x585799=_0x51fcfd[_0x1adc74(0x19b)](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x209)]:{_0x585799=_0x51fcfd[_0x1adc74(0x16b)](_0x356efd,_0xb803e5);break;}case _0x51fcfd['EffectRefRangId'][_0x1adc74(0x1ff)]:{_0x585799=_0x51fcfd['handleInsertCol'](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x45c)]:{_0x585799=_0x51fcfd[_0x1adc74(0x39a)](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x37a)]:{_0x585799=_0x51fcfd[_0x1adc74(0x2bf)](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x29a)]:{_0x585799=_0x51fcfd[_0x1adc74(0x38a)](_0x356efd,_0xb803e5);break;}case _0x51fcfd['EffectRefRangId'][_0x1adc74(0x486)]:{_0x585799=_0x51fcfd['handleMoveRange'](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x510)]:{_0x585799=_0x51fcfd[_0x1adc74(0x155)](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x4e0)]:{_0x585799=_0x51fcfd[_0x1adc74(0x334)](_0x356efd,_0xb803e5);break;}}const _0x105952=_0x51fcfd['runRefRangeMutations'](_0x585799,_0xb803e5),_0x3bd60d=this[_0x1adc74(0x51f)][_0x1adc74(0x578)](_0x44153a);if(_0x3bd60d&&_0x105952){const _0x2241b3={..._0x3bd60d,'range':_0x105952};this[_0x1adc74(0x51f)][_0x1adc74(0x246)](_0x44153a,_0x2241b3),_0x559a4b(()=>{const _0x592dff=_0x1adc74,_0x107993=this['_refRangeService'][_0x592dff(0x4f5)](_0x105952,_0x13f7e1=>(_0x107993[_0x592dff(0x32d)](),_0x10cbcb(_0x13f7e1,_0x44153a,_0x64a33c,_0x105952)));_0x3e0468['add'](_0x107993);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x8df42d(0x3e9)]((_0x484c7d,_0x3b3b3f)=>{const _0x369e09=_0x8df42d,{range:_0x1b5408,sheetID:_0x1cdcfd}=_0x484c7d,_0x1c755a=this[_0x369e09(0x40d)][_0x369e09(0x4f5)](_0x1b5408,_0x454996=>(_0x1c755a['dispose'](),_0x10cbcb(_0x454996,_0x3b3b3f,_0x1cdcfd,_0x1b5408)));_0x3e0468[_0x369e09(0x323)](_0x1c755a);});};this[_0x37f0f8(0x360)](_0x5dd71d[_0x37f0f8(0x377)](this[_0x37f0f8(0x28f)][_0x37f0f8(0x3ee)](()=>{_0xb3574();})));}[_0x2e5f4c(0x21d)](){const _0x57db68=_0x2e5f4c;var _0x520e42,_0x51d9cb;if(this['_online']=!0x0,((_0x520e42=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x520e42['getUnitId']())!==this[_0x57db68(0x145)])return;const _0x1cf6ed=(_0x51d9cb=this[_0x57db68(0x3bf)]['get'](_0x51fcfd[_0x57db68(0x165)])['getCurrentSelections']())==null?void 0x0:_0x51d9cb[0x0],_0x2a08ae=this[_0x57db68(0x546)]['getCurrentUnitForType'](_0x5dd71d[_0x57db68(0x14d)][_0x57db68(0x530)])[_0x57db68(0x41c)]();_0x1cf6ed&&_0x2a08ae&&this[_0x57db68(0x2db)](_0x2a08ae['getSheetId'](),_0x1cf6ed);}[_0x2e5f4c(0x281)](){this['_online']=!0x1;}};_0x55c3b8=_0x6bd44b([_0x3d942f(0x2,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x3d942f(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5491d3)),_0x3d942f(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x266f31)),_0x3d942f(0x5,_0x5dd71d[_0x2e5f4c(0x373)]),_0x3d942f(0x6,_0x5dd71d[_0x2e5f4c(0x160)]),_0x3d942f(0x7,_0x5dd71d['Inject'](_0x51fcfd[_0x2e5f4c(0x332)]))],_0x55c3b8);var _0x37e3e1=Object[_0x2e5f4c(0x2c2)],_0x1c37c2=Object[_0x2e5f4c(0x4b9)],_0xb7925b=(_0x3f0fe0,_0x39a342,_0x559b8c,_0x6d6dec)=>{const _0x159462=_0x2e5f4c;for(var _0xa687fd=_0x6d6dec>0x1?void 0x0:_0x6d6dec?_0x1c37c2(_0x39a342,_0x559b8c):_0x39a342,_0x438fa7=_0x3f0fe0[_0x159462(0x310)]-0x1,_0x4a57d4;_0x438fa7>=0x0;_0x438fa7--)(_0x4a57d4=_0x3f0fe0[_0x438fa7])&&(_0xa687fd=(_0x6d6dec?_0x4a57d4(_0x39a342,_0x559b8c,_0xa687fd):_0x4a57d4(_0xa687fd))||_0xa687fd);return _0x6d6dec&&_0xa687fd&&_0x37e3e1(_0x39a342,_0x559b8c,_0xa687fd),_0xa687fd;},_0x216fe7=(_0x4b395b,_0x4670dc)=>(_0x4ec6a9,_0x270e2f)=>_0x4670dc(_0x4ec6a9,_0x270e2f,_0x4b395b);let _0x493e0c=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0xbd4bd1,_0x23e1ce,_0x9fb836){const _0x3b7d65=_0x2e5f4c;super(),_0x30b9f2(this,'_entities',new Map()),_0x30b9f2(this,_0x3b7d65(0x318),new _0x1e8f3c[(_0x3b7d65(0x2d3))]()),(this[_0x3b7d65(0x546)]=_0xbd4bd1,this[_0x3b7d65(0x3bf)]=_0x23e1ce,this[_0x3b7d65(0x1d6)]=_0x9fb836,this['_init']());}[_0x2e5f4c(0x32d)](){const _0x206b49=_0x2e5f4c;super[_0x206b49(0x32d)](),this[_0x206b49(0x318)][_0x206b49(0x170)](),this['_entities'][_0x206b49(0x3e9)](_0x574912=>_0x574912[_0x206b49(0x32d)]());}[_0x2e5f4c(0x4a1)](_0x5d7b1c){const _0x5a16c8=_0x2e5f4c;return this[_0x5a16c8(0x33f)][_0x5a16c8(0x477)](_0x5d7b1c)?this[_0x5a16c8(0x33f)]['get'](_0x5d7b1c)[_0x5a16c8(0x40c)]:this['_entityInit$']['pipe'](_0x1e8f3c['filter'](_0x38fa29=>_0x38fa29[_0x5a16c8(0x145)]===_0x5d7b1c),_0x1e8f3c[_0x5a16c8(0x2fc)](_0x4a5b76=>_0x4a5b76['cursorInfo$']));}[_0x2e5f4c(0x389)](){const _0x4c7ecf=_0x2e5f4c;this[_0x4c7ecf(0x546)][_0x4c7ecf(0x480)](_0x5dd71d[_0x4c7ecf(0x14d)][_0x4c7ecf(0x530)])[_0x4c7ecf(0x31d)](_0x1e8f3c[_0x4c7ecf(0x16c)](this[_0x4c7ecf(0x487)]))[_0x4c7ecf(0x3ee)](async _0x275528=>{const _0x10f615=_0x4c7ecf,_0x15e6c2=_0x275528[_0x10f615(0x29e)](),_0x241c5e=await this[_0x10f615(0x2f1)](_0x15e6c2);this[_0x10f615(0x318)][_0x10f615(0x228)](_0x241c5e),this[_0x10f615(0x33f)]['set'](_0x15e6c2,_0x241c5e);}),this[_0x4c7ecf(0x546)][_0x4c7ecf(0x480)](_0x5dd71d[_0x4c7ecf(0x14d)][_0x4c7ecf(0x4de)])[_0x4c7ecf(0x31d)](_0x1e8f3c[_0x4c7ecf(0x16c)](this[_0x4c7ecf(0x487)]))[_0x4c7ecf(0x31d)](_0x1e8f3c[_0x4c7ecf(0x293)](_0x529bb5=>!_0x529bb5[_0x4c7ecf(0x29e)]()[_0x4c7ecf(0x31c)]('__')))[_0x4c7ecf(0x3ee)](async _0x250ad5=>{const _0x31009f=_0x4c7ecf,_0x2b3133=_0x250ad5['getUnitId'](),_0x203f7c=await this[_0x31009f(0x4aa)](_0x2b3133);this['_entityInit$'][_0x31009f(0x228)](_0x203f7c),this[_0x31009f(0x33f)][_0x31009f(0x246)](_0x2b3133,_0x203f7c);}),_0x1e8f3c[_0x4c7ecf(0x249)](this[_0x4c7ecf(0x546)][_0x4c7ecf(0x180)](_0x5dd71d[_0x4c7ecf(0x14d)][_0x4c7ecf(0x4de)]),this[_0x4c7ecf(0x546)][_0x4c7ecf(0x180)](_0x5dd71d[_0x4c7ecf(0x14d)][_0x4c7ecf(0x530)]))[_0x4c7ecf(0x31d)](_0x1e8f3c[_0x4c7ecf(0x16c)](this[_0x4c7ecf(0x487)]))['subscribe'](_0xf616ec=>{const _0x4fa155=_0x4c7ecf,_0x304be8=_0xf616ec['getUnitId'](),_0x5dd3ed=this['_entities'][_0x4fa155(0x578)](_0x304be8);_0x5dd3ed&&(_0x5dd3ed[_0x4fa155(0x32d)](),this['_entities'][_0x4fa155(0x370)](_0x304be8));});}async[_0x2e5f4c(0x2f1)](_0x4ded5d){const _0x24068e=_0x2e5f4c,_0x49ac5f=await this[_0x24068e(0x1d6)]['requireSession'](_0x4ded5d),_0x88ed47=this[_0x24068e(0x3bf)]['createInstance'](_0x55c3b8,_0x4ded5d,_0x49ac5f);return _0x88ed47[_0x24068e(0x176)](),_0x88ed47;}async[_0x2e5f4c(0x4aa)](_0x589394){const _0x246990=_0x2e5f4c,_0x482cd9=await this['_collabSessionService'][_0x246990(0x23f)](_0x589394),_0x13e441=this[_0x246990(0x3bf)][_0x246990(0x408)](_0x33bad2,_0x589394,_0x482cd9);return _0x13e441[_0x246990(0x176)](),_0x13e441;}};_0x493e0c=_0xb7925b([_0x216fe7(0x0,_0x5dd71d[_0x2e5f4c(0x373)]),_0x216fe7(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['Injector'])),_0x216fe7(0x2,_0x5dd71d['Inject'](_0x5d9ca9['CollaborationSessionService']))],_0x493e0c);const _0x433530=0x14,_0x3f3c9e=0xc8,_0x2c2a8f=0x4,_0x2f8c9b=0x5;function _0x428360(_0x2bc19d,_0x5a210a){const _0x4bcc2e=_0x2e5f4c;let {radius:_0x44fb6d,width:_0x554d2c,height:_0xc47ea}=_0x5a210a;_0x44fb6d=_0x44fb6d!=null?_0x44fb6d:0x0,_0x554d2c=_0x554d2c!=null?_0x554d2c:0x1e,_0xc47ea=_0xc47ea!=null?_0xc47ea:0x1e;let _0x1c7f9d=0x0,_0x5555bd=0x0,_0x8b4f58=0x0;_0x1c7f9d=_0x5555bd=_0x8b4f58=Math[_0x4bcc2e(0x22b)](_0x44fb6d,_0x554d2c/0x2,_0xc47ea/0x2),_0x2bc19d['beginPath'](),_0x2bc19d[_0x4bcc2e(0x1b0)](_0x1c7f9d,0x0),_0x2bc19d[_0x4bcc2e(0x2e1)](_0x554d2c-_0x5555bd,0x0),_0x2bc19d[_0x4bcc2e(0x415)](_0x554d2c-_0x5555bd,_0x5555bd,_0x5555bd,Math['PI']*0x3/0x2,0x0,!0x1),_0x2bc19d[_0x4bcc2e(0x2e1)](_0x554d2c,_0xc47ea-_0x8b4f58),_0x2bc19d[_0x4bcc2e(0x415)](_0x554d2c-_0x8b4f58,_0xc47ea-_0x8b4f58,_0x8b4f58,0x0,Math['PI']/0x2,!0x1),_0x2bc19d[_0x4bcc2e(0x2e1)](0x0,_0xc47ea),_0x2bc19d[_0x4bcc2e(0x2e1)](0x0,_0x1c7f9d),_0x2bc19d[_0x4bcc2e(0x415)](_0x1c7f9d,_0x1c7f9d,_0x1c7f9d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2bc19d[_0x4bcc2e(0x182)](),_0x5a210a[_0x4bcc2e(0x184)]&&(_0x2bc19d[_0x4bcc2e(0x4b7)](),_0x2bc19d['fillStyle']=_0x5a210a['fill'],_0x5a210a[_0x4bcc2e(0x383)]===_0x4bcc2e(0x30f)?_0x2bc19d['fill'](_0x4bcc2e(0x30f)):_0x2bc19d[_0x4bcc2e(0x184)](),_0x2bc19d['restore']());}class _0x4da212 extends _0x3a6273[_0x2e5f4c(0x46a)]{constructor(_0x1dd82b,_0x20f082){const _0x3ea5ed=_0x2e5f4c;super(_0x1dd82b,_0x20f082),_0x30b9f2(this,_0x3ea5ed(0x3b6)),_0x30b9f2(this,_0x3ea5ed(0x201)),(this[_0x3ea5ed(0x3b6)]=_0x20f082==null?void 0x0:_0x20f082['color'],this[_0x3ea5ed(0x201)]=_0x20f082==null?void 0x0:_0x20f082[_0x3ea5ed(0x201)]);}static[_0x2e5f4c(0x196)](_0x1324b3,_0x12365d){const _0x52a8ba=_0x2e5f4c,{text:_0x2ed807,color:_0x4a6239}=_0x12365d;_0x1324b3[_0x52a8ba(0x4b7)](),_0x1324b3[_0x52a8ba(0x42d)]=_0x52a8ba(0x519);const _0x426d96=_0x1324b3[_0x52a8ba(0x14a)](_0x2ed807)[_0x52a8ba(0x36a)],_0x416253=Math[_0x52a8ba(0x22b)](_0x426d96+0x2*_0x2c2a8f,_0x3f3c9e);_0x428360(_0x1324b3,{'height':_0x433530,'radius':0x4,'width':_0x416253,'fill':_0x4a6239,'evented':!0x1}),_0x1324b3['fillStyle']=_0x52a8ba(0x507);const _0x236675=_0x2c2a8f,_0x2e82ed=_0x433530-_0x2f8c9b,_0x261df1=_0x3f3c9e-0x2*_0x2c2a8f;if(_0x426d96>_0x261df1){let _0x263040='',_0x4ce517=0x0;for(const _0x3953fd of _0x2ed807){const _0x3b5465=_0x1324b3['measureText'](_0x3953fd)[_0x52a8ba(0x36a)];if(_0x4ce517+_0x3b5465<=_0x261df1-_0x1324b3[_0x52a8ba(0x14a)](_0x52a8ba(0x2ad))['width'])_0x263040+=_0x3953fd,_0x4ce517+=_0x3b5465;else{_0x263040+='...';break;}}_0x1324b3['fillText'](_0x263040,_0x236675,_0x2e82ed);}else _0x1324b3['fillText'](_0x2ed807,_0x236675,_0x2e82ed);_0x1324b3[_0x52a8ba(0x491)]();}[_0x2e5f4c(0x4ef)](_0x2bdde6){const _0x335a32=_0x2e5f4c;_0x4da212[_0x335a32(0x196)](_0x2bdde6,this);}}const _0x1aced2='collab-text-anchor-',_0x2a87ad=_0x2e5f4c(0x49b),_0x2dd6a9=_0x2e5f4c(0x256),_0x56ee02=0x6,_0x2380d9=1.5,_0xa89601=0x4,_0x2a239a=1.5,_0x29afcd='rgba(255,\x20255,\x20255,\x200.01)';class _0x1ab620{constructor(_0x2db76b,_0x34decd,_0x1ccd70,_0x329d7f){const _0x46f83d=_0x2e5f4c;_0x30b9f2(this,_0x46f83d(0x242),[]),_0x30b9f2(this,_0x46f83d(0x379),null),_0x30b9f2(this,_0x46f83d(0x181),null),_0x30b9f2(this,_0x46f83d(0x3e3),null),_0x30b9f2(this,_0x46f83d(0x520),null),_0x30b9f2(this,'_eventUnsubscribe',null),(this[_0x46f83d(0x4e7)]=_0x2db76b,this[_0x46f83d(0x22f)]=_0x34decd,this['_docSkeleton']=_0x1ccd70,this['_document']=_0x329d7f,this[_0x46f83d(0x26e)]());}set[_0x2e5f4c(0x354)](_0x4c3c1e){const _0x15d789=_0x2e5f4c;_0x4c3c1e?(this[_0x15d789(0x3e3)]&&this['_anchorDot'][_0x15d789(0x207)](),this['_textBubble']&&this[_0x15d789(0x181)][_0x15d789(0x4f2)]()):(this[_0x15d789(0x3e3)]&&this['_anchorDot'][_0x15d789(0x4f2)](),this[_0x15d789(0x181)]&&this['_textBubble'][_0x15d789(0x207)]());}['dispose'](){const _0x11529b=_0x2e5f4c;for(const _0x9160fa of this['_shapes'])_0x9160fa[_0x11529b(0x32d)]();this['_textBubble']&&this[_0x11529b(0x181)][_0x11529b(0x32d)](),this[_0x11529b(0x3e3)]&&this[_0x11529b(0x3e3)][_0x11529b(0x32d)](),this[_0x11529b(0x379)]&&this[_0x11529b(0x379)][_0x11529b(0x32d)](),this[_0x11529b(0x3b7)]&&this[_0x11529b(0x3b7)]();}[_0x2e5f4c(0x26e)](){const _0x366605=_0x2e5f4c;var _0x5dd4d8;const {_docSkeleton:_0x532213,_document:_0x5751f1}=this,{color:_0x4922f7,name:_0x596463,ranges:_0x4ddcb4}=this[_0x366605(0x4e7)],_0x391d89=_0x5751f1[_0x366605(0x255)](),{docsLeft:_0x3fb44e,docsTop:_0xbdffea}=_0x391d89,_0x466601=new _0x1e1fad[(_0x366605(0x563))](_0x391d89,_0x532213);for(const {startOffset:_0x5e9bc2,endOffset:_0x53bb2b,collapsed:_0x27f5bb,isActive:_0x5cebf1}of _0x4ddcb4){const _0x474d16=_0x532213[_0x366605(0x339)](_0x5e9bc2),_0x16319c=_0x532213[_0x366605(0x339)](_0x53bb2b);if(_0x5cebf1){const {contentBoxPointGroup:_0x2d07fb}=_0x466601['getRangePointData'](_0x16319c,_0x16319c);if(_0x2d07fb[_0x366605(0x310)]===0x0)continue;this[_0x366605(0x3e0)](_0x4922f7,_0x2d07fb,_0x3fb44e,_0xbdffea,_0x596463),this[_0x366605(0x3b7)]=this[_0x366605(0x1e6)]();}if(!_0x27f5bb&&_0x474d16&&_0x16319c){if(_0x1e1fad['isValidRectRange'](_0x474d16,_0x16319c)){const _0x141ace=new _0x1e1fad[(_0x366605(0x3db))](_0x391d89,_0x532213),{pointGroup:_0x253364}=(_0x5dd4d8=_0x141ace[_0x366605(0x2b6)](_0x474d16,_0x16319c))!=null?_0x5dd4d8:{};if(_0x253364==null||_0x253364['length']===0x0)continue;this[_0x366605(0x2b5)](_0x4922f7,_0x253364,_0x3fb44e,_0xbdffea);}else{const {contentBoxPointGroup:_0x597a1b}=_0x466601['getRangePointData'](_0x474d16,_0x16319c);if(_0x597a1b[_0x366605(0x310)]===0x0)continue;this[_0x366605(0x3c5)](_0x4922f7,_0x597a1b,_0x3fb44e,_0xbdffea);}}}}['_drawAnchor'](_0x37a367,_0x5ee169,_0x357c78,_0x27653b,_0x326ae4){const _0x1287c0=_0x2e5f4c,_0x2c3955=this['_getAnchorBounding'](_0x5ee169),{left:_0x2f05ae,top:_0xbaeaef,height:_0x4028db}=_0x2c3955,_0x2455ac=this[_0x1287c0(0x54c)](),_0x3ee588=_0x2a239a/_0x2455ac,_0x1078a7=new _0x3a6273[(_0x1287c0(0x450))](_0x1aced2+_0x5dd71d[_0x1287c0(0x451)][_0x1287c0(0x4e9)](_0x56ee02),{'left':_0x2f05ae+_0x357c78-_0x3ee588,'top':_0xbaeaef+_0x27653b,'height':_0x4028db,'width':_0x2380d9,'fill':_0x37a367||_0x3a6273[_0x1287c0(0x34b)](_0x5dd71d[_0x1287c0(0x4db)][_0x1287c0(0x359)],0x0),'strokeWidth':_0x3ee588,'stroke':_0x29afcd,'evented':!0x0});this['_anchor']=_0x1078a7,this[_0x1287c0(0x22f)][_0x1287c0(0x329)](_0x1078a7,_0x1e1fad['TEXT_RANGE_LAYER_INDEX']);const _0x266b86=new _0x3a6273[(_0x1287c0(0x450))](_0x1aced2+_0x5dd71d[_0x1287c0(0x451)][_0x1287c0(0x4e9)](_0x56ee02),{'left':_0x2f05ae+_0x357c78-_0x3ee588,'top':_0xbaeaef+_0x27653b-_0xa89601/0x2,'height':_0xa89601,'width':_0xa89601,'fill':_0x37a367||_0x3a6273[_0x1287c0(0x34b)](_0x5dd71d['COLORS'][_0x1287c0(0x359)],0x0),'strokeWidth':0x0,'stroke':_0x37a367||_0x3a6273[_0x1287c0(0x34b)](_0x5dd71d[_0x1287c0(0x4db)][_0x1287c0(0x359)],0x0),'evented':!0x1});this[_0x1287c0(0x3e3)]=_0x266b86,this['_scene']['addObject'](_0x266b86,_0x1e1fad[_0x1287c0(0x237)]);const _0x20c055=new _0x4da212(_0x1aced2+_0x5dd71d[_0x1287c0(0x451)][_0x1287c0(0x4e9)](_0x56ee02),{'left':_0x2f05ae+_0x357c78-_0x3ee588,'top':_0xbaeaef+_0x27653b-_0x433530,'text':_0x326ae4,'color':_0x37a367});this['_textBubble']=_0x20c055,this[_0x1287c0(0x22f)]['addObject'](_0x20c055,_0x1e1fad[_0x1287c0(0x237)]),this['_hover']=!0x1;}['_handleHover'](){const _0x3948fb=_0x2e5f4c,_0x9adf68=this['_anchor'][_0x3948fb(0x3a0)][_0x3948fb(0x4a9)](()=>{const _0x22d3c4=_0x3948fb;this[_0x22d3c4(0x354)]=!0x0;}),_0x40a80f=this[_0x3948fb(0x379)][_0x3948fb(0x3bd)][_0x3948fb(0x4a9)](()=>{const _0x285a82=_0x3948fb;this['_hideTimer']&&clearTimeout(this[_0x285a82(0x520)]),this[_0x285a82(0x520)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x25c9e6=_0x3948fb;_0x9adf68['unsubscribe'](),_0x40a80f[_0x25c9e6(0x423)]();};}['_drawTextRange'](_0xc33e93,_0x4a4024,_0x49b905,_0xfc021c){const _0x2d57db=_0x2e5f4c,_0x2b5053=new _0x5dd71d[(_0x2d57db(0x56a))](_0xc33e93)[_0x2d57db(0x301)](0.2)[_0x2d57db(0x4e6)](),_0xeef17e=new _0x3a6273[(_0x2d57db(0x556))](_0x2a87ad+_0x5dd71d[_0x2d57db(0x451)][_0x2d57db(0x4e9)](_0x56ee02),{'pointsGroup':_0x4a4024,'fill':_0x2b5053||_0x3a6273[_0x2d57db(0x34b)](_0x5dd71d[_0x2d57db(0x4db)][_0x2d57db(0x359)],0.2),'left':_0x49b905,'top':_0xfc021c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d57db(0x242)][_0x2d57db(0x36b)](_0xeef17e),this[_0x2d57db(0x22f)][_0x2d57db(0x329)](_0xeef17e,_0x1e1fad[_0x2d57db(0x237)]);}[_0x2e5f4c(0x2b5)](_0x267e64,_0x1f8b7a,_0x3a1df0,_0x360c53){const _0xe7f640=_0x2e5f4c,_0x425855=new _0x5dd71d[(_0xe7f640(0x56a))](_0x267e64)[_0xe7f640(0x301)](0.2)[_0xe7f640(0x4e6)](),_0xfe9e61=new _0x3a6273[(_0xe7f640(0x556))](_0x2dd6a9+_0x5dd71d[_0xe7f640(0x451)]['generateRandomId'](_0x56ee02),{'pointsGroup':_0x1f8b7a,'fill':_0x425855||_0x3a6273[_0xe7f640(0x34b)](_0x5dd71d[_0xe7f640(0x4db)][_0xe7f640(0x359)],0.2),'left':_0x3a1df0,'top':_0x360c53,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xfe9e61),this[_0xe7f640(0x22f)][_0xe7f640(0x329)](_0xfe9e61,_0x1e1fad[_0xe7f640(0x237)]);}['_getAnchorBounding'](_0x22d571){const _0x430436=_0x22d571[0x0],_0x3256e3=_0x430436[0x0],_0x477e05=_0x430436[0x2],{x:_0x465f00,y:_0x3e9707}=_0x3256e3,{x:_0x1a6dee,y:_0x5c7fc5}=_0x477e05;return{'left':_0x465f00,'top':_0x3e9707,'width':_0x1a6dee-_0x465f00,'height':_0x5c7fc5-_0x3e9707};}[_0x2e5f4c(0x54c)](){const _0x13927e=_0x2e5f4c,{scaleX:_0x471273,scaleY:_0x25e1d8}=this[_0x13927e(0x22f)][_0x13927e(0x568)]();return Math['max'](_0x471273,_0x25e1d8);}}var _0x438397=Object[_0x2e5f4c(0x2c2)],_0x2f8129=Object['getOwnPropertyDescriptor'],_0x18a50f=(_0x15560c,_0x13cbb9,_0x375ebb,_0x2c01be)=>{for(var _0x3029d2=_0x2c01be>0x1?void 0x0:_0x2c01be?_0x2f8129(_0x13cbb9,_0x375ebb):_0x13cbb9,_0x163731=_0x15560c['length']-0x1,_0x3b0887;_0x163731>=0x0;_0x163731--)(_0x3b0887=_0x15560c[_0x163731])&&(_0x3029d2=(_0x2c01be?_0x3b0887(_0x13cbb9,_0x375ebb,_0x3029d2):_0x3b0887(_0x3029d2))||_0x3029d2);return _0x2c01be&&_0x3029d2&&_0x438397(_0x13cbb9,_0x375ebb,_0x3029d2),_0x3029d2;},_0x4edba=(_0x1b630e,_0x53be33)=>(_0x234af4,_0xf7d9f5)=>_0x53be33(_0x234af4,_0xf7d9f5,_0x1b630e);let _0x2c8022=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0xcd1956,_0x75d5e7,_0x1c16bb,_0x3411ec,_0xcbd20a){const _0x5763a2=_0x2e5f4c;super(),_0x30b9f2(this,_0x5763a2(0x4ba),[]),_0x30b9f2(this,'_cursors',[]),(this['_context']=_0xcd1956,this[_0x5763a2(0x15b)]=_0x75d5e7,this[_0x5763a2(0x14c)]=_0x1c16bb,this['_commandService']=_0x3411ec,this[_0x5763a2(0x555)]=_0xcbd20a,this[_0x5763a2(0x389)]());}['_init'](){const _0x4b0928=_0x2e5f4c,_0x4a732c=this[_0x4b0928(0x38c)][_0x4b0928(0x183)],_0x38a95f=this['_docSkeletonManagerService'];this[_0x4b0928(0x360)](_0x1e8f3c[_0x4b0928(0x4d7)]([this['_collabCursorController'][_0x4b0928(0x4a1)](_0x4a732c),this[_0x4b0928(0x555)][_0x4b0928(0x288)]])[_0x4b0928(0x31d)](_0x58074b[_0x4b0928(0x4c4)](([_0x555492,_0x5a01df])=>({'skeleton':_0x38a95f[_0x4b0928(0x431)](),'cursors':[..._0x555492[_0x4b0928(0x525)]()][_0x4b0928(0x524)](_0x541cd9=>({..._0x541cd9,'color':_0x5a01df[_0x541cd9[_0x4b0928(0x3b6)]]}))})))[_0x4b0928(0x3ee)](_0x46d75f=>{const _0xb14d97=_0x4b0928;if(this[_0xb14d97(0x270)](),_0x46d75f){const {skeleton:_0xca9023,cursors:_0x4509b5}=_0x46d75f;this[_0xb14d97(0x193)](_0xca9023,_0x4509b5);}})),this[_0x4b0928(0x363)](),this[_0x4b0928(0x41e)]();}['_updateCollabCursors'](_0xed8f25,_0x9c34b9){const _0x342c1c=_0x2e5f4c,{scene:_0x4c0b46,mainComponent:_0x982f60}=this[_0x342c1c(0x38c)],_0x1c0011=_0x9c34b9[_0x342c1c(0x4c4)](_0x26456c=>new _0x1ab620(_0x26456c,_0x4c0b46,_0xed8f25,_0x982f60));this[_0x342c1c(0x4ba)]=_0x1c0011,this[_0x342c1c(0x396)]=_0x9c34b9;}[_0x2e5f4c(0x2f9)](){const _0x1aaaf8=_0x2e5f4c;this[_0x1aaaf8(0x270)]();const {scene:_0x48aca7,mainComponent:_0x2af760}=this[_0x1aaaf8(0x38c)],_0x51aeba=this['_docSkeletonManagerService'][_0x1aaaf8(0x431)](),_0x43ab48=this[_0x1aaaf8(0x396)][_0x1aaaf8(0x4c4)](_0x1a4089=>new _0x1ab620(_0x1a4089,_0x48aca7,_0x51aeba,_0x2af760));this['_cursorShapes']=_0x43ab48;}[_0x2e5f4c(0x270)](){const _0x192149=_0x2e5f4c;this[_0x192149(0x4ba)][_0x192149(0x3e9)](_0x31ac3b=>_0x31ac3b['dispose']()),this[_0x192149(0x4ba)]=[];}[_0x2e5f4c(0x41e)](){const _0x272e6d=_0x2e5f4c,_0x4065e7=[_0x1e1fad['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x272e6d(0x2aa)][_0x272e6d(0x257)](_0x1f7434=>{const _0x245562=_0x272e6d;_0x4065e7[_0x245562(0x272)](_0x1f7434['id'])&&_0x1f7434['params'][_0x245562(0x183)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x353a1b=_0x2e5f4c;this[_0x353a1b(0x360)](_0x5dd71d[_0x353a1b(0x3aa)](this[_0x353a1b(0x38c)][_0x353a1b(0x28e)][_0x353a1b(0x3d2)])[_0x353a1b(0x31d)](_0x58074b[_0x353a1b(0x293)](_0x3e91a6=>_0x3e91a6['type']===_0x3a6273[_0x353a1b(0x3bb)]['resize']),_0x58074b[_0x353a1b(0x399)](0x10))[_0x353a1b(0x3ee)](()=>{this['_refreshCollabCursors']();}));}};_0x2c8022=_0x18a50f([_0x4edba(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x4c83d7[_0x2e5f4c(0x2ed)])),_0x4edba(0x2,_0x5dd71d['Inject'](_0x493e0c)),_0x4edba(0x3,_0x5dd71d['ICommandService']),_0x4edba(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x449)]))],_0x2c8022);const _0x249760=0x1,_0xf925a6=1.5;class _0x5704e4 extends _0x3a6273[_0x2e5f4c(0x46a)]{constructor(_0x1170c4,_0x487c7d){const _0x4fdead=_0x2e5f4c;super(_0x1170c4,_0x487c7d),_0x30b9f2(this,'_color'),_0x30b9f2(this,_0x4fdead(0x33a),!0x1),_0x30b9f2(this,_0x4fdead(0x49c)),_0x30b9f2(this,_0x4fdead(0x49f),''),_0x30b9f2(this,'_labelPosition',_0x4fdead(0x355)),_0x30b9f2(this,_0x4fdead(0x3a8)),(_0x487c7d&&this[_0x4fdead(0x20c)](_0x487c7d),this[_0x4fdead(0x3a0)][_0x4fdead(0x4a9)](()=>this[_0x4fdead(0x20c)]({'hovered':!0x0})),this[_0x4fdead(0x3bd)][_0x4fdead(0x4a9)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2e5f4c(0x20c)](_0x3b8547){const _0x5e3d27=_0x2e5f4c;var _0x409cd7,_0x528eae,_0x338643,_0x557e8b,_0x338277,_0x588531;this['_color']=(_0x409cd7=_0x3b8547[_0x5e3d27(0x3b6)])!=null?_0x409cd7:this['_color'],this[_0x5e3d27(0x33a)]=(_0x528eae=_0x3b8547[_0x5e3d27(0x4b3)])!=null?_0x528eae:this[_0x5e3d27(0x33a)],this[_0x5e3d27(0x49c)]=(_0x338643=_0x3b8547[_0x5e3d27(0x2a2)])!=null?_0x338643:this['_range'],this[_0x5e3d27(0x49f)]=(_0x557e8b=_0x3b8547[_0x5e3d27(0x52e)])!=null?_0x557e8b:this['_name'],this[_0x5e3d27(0x35b)]=(_0x338277=_0x3b8547['labelPosition'])!=null?_0x338277:this[_0x5e3d27(0x35b)],this[_0x5e3d27(0x3a8)]=(_0x588531=_0x3b8547['backgroundColor'])!=null?_0x588531:this['_backgroundColor'],this['transformByState']({'width':_0x3b8547[_0x5e3d27(0x36a)],'height':_0x3b8547[_0x5e3d27(0x3cd)]});}[_0x2e5f4c(0x3ea)](_0x38570e){const _0x364287=_0x2e5f4c,{row:_0xe19f3a,column:_0x31977b}=_0x38570e;if(_0xe19f3a>=this['_range'][_0x364287(0x4e3)]&&_0xe19f3a<=this['_range']['endRow']&&_0x31977b>=this['_range'][_0x364287(0x2f7)]&&_0x31977b<=this[_0x364287(0x49c)][_0x364287(0x554)]){this[_0x364287(0x20c)]({'hovered':!0x0});return;}this[_0x364287(0x20c)]({'hovered':!0x1});}[_0x2e5f4c(0x45f)](_0x1d14ac){return!0x1;}[_0x2e5f4c(0x4ef)](_0x5c6034){const _0x1da3de=_0x2e5f4c;_0x3a6273[_0x1da3de(0x450)][_0x1da3de(0x196)](_0x5c6034,{'width':this[_0x1da3de(0x36a)],'height':this[_0x1da3de(0x3cd)],'strokeWidth':_0xf925a6,'stroke':this[_0x1da3de(0x17b)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1da3de(0x33a)]&&(_0x5c6034['save'](),_0x5c6034[_0x1da3de(0x3d3)](0x1,0x0,0x0,0x1,this[_0x1da3de(0x36a)],this[_0x1da3de(0x35b)]===_0x1da3de(0x26f)?0x0:-_0x433530),_0x4da212['drawWith'](_0x5c6034,{'text':this[_0x1da3de(0x49f)],'color':this['_color']}),_0x5c6034[_0x1da3de(0x491)]());}}var _0x43291c=Object[_0x2e5f4c(0x2c2)],_0x16f94c=Object[_0x2e5f4c(0x4b9)],_0x5d03ab=(_0x18138d,_0x4a8446,_0x4c9a30,_0x418149)=>{const _0x3b6ef8=_0x2e5f4c;for(var _0x4258d6=_0x418149>0x1?void 0x0:_0x418149?_0x16f94c(_0x4a8446,_0x4c9a30):_0x4a8446,_0x3681d3=_0x18138d[_0x3b6ef8(0x310)]-0x1,_0x4f731a;_0x3681d3>=0x0;_0x3681d3--)(_0x4f731a=_0x18138d[_0x3681d3])&&(_0x4258d6=(_0x418149?_0x4f731a(_0x4a8446,_0x4c9a30,_0x4258d6):_0x4f731a(_0x4258d6))||_0x4258d6);return _0x418149&&_0x4258d6&&_0x43291c(_0x4a8446,_0x4c9a30,_0x4258d6),_0x4258d6;},_0x1e2c29=(_0x43fdcf,_0x18e1d8)=>(_0x272e16,_0x5e054a)=>_0x18e1d8(_0x272e16,_0x5e054a,_0x43fdcf);const _0x1cd84c=0x1389;let _0x266750=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0x547e12,_0x1e5877,_0x314942,_0x454678){const _0x45ef15=_0x2e5f4c;super(),_0x30b9f2(this,_0x45ef15(0x396),new Set()),_0x30b9f2(this,'_lastPointer',null),(this[_0x45ef15(0x38c)]=_0x547e12,this[_0x45ef15(0x42a)]=_0x1e5877,this[_0x45ef15(0x14c)]=_0x314942,this['_themeService']=_0x454678,this[_0x45ef15(0x389)]());}['_init'](){const _0x57472f=_0x2e5f4c;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x57472f(0x31d)](_0x58074b[_0x57472f(0x16c)](this[_0x57472f(0x487)]),_0x58074b[_0x57472f(0x2fc)](_0x4a2d49=>{const _0x2c3fa5=_0x57472f;if(_0x4a2d49){const _0x224d90=_0x4a2d49[_0x2c3fa5(0x421)];return _0x1e8f3c[_0x2c3fa5(0x4d7)](this[_0x2c3fa5(0x14c)][_0x2c3fa5(0x4a1)](this['_context'][_0x2c3fa5(0x183)]),this[_0x2c3fa5(0x555)][_0x2c3fa5(0x288)])[_0x2c3fa5(0x31d)](_0x58074b[_0x2c3fa5(0x4c4)](([_0x1beb2b,_0x56230d])=>{const _0xf76c20=_0x2c3fa5,_0x2ceb19=new Map();return _0x1beb2b[_0xf76c20(0x3e9)]((_0x13a86e,_0x2331c0)=>{const _0xe63411=_0xf76c20;if(_0x13a86e['sheetID']===_0x224d90){const _0xe4d2b8={..._0x13a86e};_0xe4d2b8[_0xe63411(0x3b6)]=_0x56230d[_0x13a86e[_0xe63411(0x3b6)]],_0x2ceb19[_0xe63411(0x246)](_0x2331c0,_0xe4d2b8);}}),{'skeleton':_0x4a2d49,'cursors':_0x2ceb19};}));}return _0x1e8f3c['of']({'skeleton':null,'cursors':new Map()});}))[_0x57472f(0x3ee)](({skeleton:_0x5d0865,cursors:_0xd51a9f})=>{const _0x3f4295=_0x57472f;this['_removeCollabCursors'](),_0x5d0865&&this[_0x3f4295(0x193)](_0x5d0865,_0xd51a9f);}),this[_0x57472f(0x42a)][_0x57472f(0x262)][_0x57472f(0x3ee)](_0x58aeb8=>{const _0x2842cb=_0x57472f;if(_0x58aeb8==null)return;const {skeleton:_0x5b8cb8}=_0x58aeb8,{scene:_0x2f614a}=this['_context'];_0x2f614a[_0x2842cb(0x4da)][_0x2842cb(0x4a9)](_0x5dd71d[_0x2842cb(0x314)](_0x5985e4=>{const _0x1561e4=_0x2842cb;var _0x29afc4,_0x554af3;const {offsetX:_0x320efa,offsetY:_0x55a3f9}=_0x5985e4,{x:_0x48d01c,y:_0x181909}=_0x2f614a[_0x1561e4(0x39e)](_0x3a6273['Vector2']['FromArray']([_0x320efa,_0x55a3f9])),{scaleX:_0x1090f5,scaleY:_0x4a00c5}=_0x2f614a[_0x1561e4(0x568)](),_0x9a91fa=_0x2f614a[_0x1561e4(0x400)](_0x1a18db['VIEWPORT_KEY'][_0x1561e4(0x2d5)]),_0x3061a3=_0x2f614a['getVpScrollXYInfoByPosToVp'](_0x3a6273[_0x1561e4(0x3c8)]['FromArray']([_0x48d01c,_0x181909]),_0x9a91fa),_0x3a8f28=_0x5b8cb8[_0x1561e4(0x175)](_0x320efa,_0x55a3f9,_0x1090f5,_0x4a00c5,_0x3061a3);((_0x29afc4=this[_0x1561e4(0x516)])==null?void 0x0:_0x29afc4[_0x1561e4(0x2ae)])===_0x3a8f28[_0x1561e4(0x2ae)]&&((_0x554af3=this[_0x1561e4(0x516)])==null?void 0x0:_0x554af3['row'])===_0x3a8f28[_0x1561e4(0x157)]||this[_0x1561e4(0x396)][_0x1561e4(0x3e9)](_0x49e64f=>{const _0x1d0d83=_0x1561e4;_0x49e64f[_0x1d0d83(0x3ea)](_0x3a8f28);});},0x64));});}['_updateCollabCursors'](_0x407e7f,_0x314c58){const _0x2b9a6d=_0x2e5f4c;var _0x2e1842;const _0x9d378d=(_0x2e1842=this[_0x2b9a6d(0x42a)]['getCurrent']())==null?void 0x0:_0x2e1842['skeleton'];if(!_0x9d378d)return;const _0x1b16e5=this[_0x2b9a6d(0x3a3)]();if(!_0x1b16e5)return;this[_0x2b9a6d(0x396)][_0x2b9a6d(0x3e9)](_0x75eb0c=>{const _0x3dc7d3=_0x2b9a6d;_0x75eb0c[_0x3dc7d3(0x4ab)]();});const {scene:_0x683bbb}=_0x1b16e5,_0x437d8f=_0x5a0273(Array[_0x2b9a6d(0x4a3)](_0x314c58[_0x2b9a6d(0x525)]()))[_0x2b9a6d(0x4c4)](_0x484cd0=>{const _0x5ae90d=_0x2b9a6d,{color:_0x3da16c,range:_0x4b5afc,name:_0x406db1,selection:_0x5afb70,sheetID:_0x534ead}=_0x484cd0,{startColumn:_0x2b9df4,startRow:_0x535c1f,endColumn:_0x378209,endRow:_0x26da51}=_0x4b5afc,_0x5aac32=_0x1a18db[_0x5ae90d(0x1bc)](_0x535c1f,_0x2b9df4,_0x683bbb,_0x9d378d),_0x37bdde=_0x1a18db['getCoordByCell'](_0x26da51,_0x378209,_0x683bbb,_0x9d378d),{columnHeaderHeightAndMarginTop:_0x526950}=_0x9d378d,{startX:_0xb260ed,startY:_0x262705}=_0x5aac32,{endX:_0x30f690,endY:_0x34e181}=_0x37bdde,_0x18492f=_0x30f690-_0xb260ed,_0x17199e=_0x34e181-_0x262705,_0x407111={'labelPosition':_0x262705-_0x526950>=_0x433530?'top':_0x5ae90d(0x26f),'sheetID':_0x534ead,'range':_0x4b5afc,'color':_0x3da16c,'name':_0x406db1,'selection':_0x5afb70,'left':_0xb260ed,'top':_0x262705,'width':_0x18492f,'height':_0x17199e,'evented':!0x1,'zIndex':_0x1cd84c};return new _0x5704e4(_0x406db1,_0x407111);});_0x683bbb[_0x2b9a6d(0x53d)](_0x437d8f,_0x249760),this['_cursors']=new Set(_0x437d8f);}[_0x2e5f4c(0x270)](){const _0x12174f=_0x2e5f4c;var _0x31d891;(_0x31d891=this[_0x12174f(0x396)])==null||_0x31d891['forEach'](_0x5b543e=>_0x5b543e['dispose']());}[_0x2e5f4c(0x3a3)](){const _0x25273f=_0x2e5f4c;return _0x1a18db[_0x25273f(0x297)](this[_0x25273f(0x38c)][_0x25273f(0x46d)],this[_0x25273f(0x38c)]);}};_0x266750=_0x5d03ab([_0x1e2c29(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x1a18db[_0x2e5f4c(0x4ee)])),_0x1e2c29(0x2,_0x5dd71d['Inject'](_0x493e0c)),_0x1e2c29(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x449)]))],_0x266750);function _0x5a0273(_0x25de51){const _0x1cb4e9=_0x2e5f4c,_0x1441ec=new Map();return _0x25de51[_0x1cb4e9(0x3e9)](_0x2b0c98=>{const _0x420a59=_0x1cb4e9;if(_0x1441ec[_0x420a59(0x477)](_0x2b0c98[_0x420a59(0x469)])){const _0x421b98=_0x1441ec['get'](_0x2b0c98[_0x420a59(0x469)]);_0x421b98[_0x420a59(0x52e)]+=',\x20'+_0x2b0c98[_0x420a59(0x52e)];}else _0x1441ec[_0x420a59(0x246)](_0x2b0c98['selection'],_0x2b0c98);}),Array[_0x1cb4e9(0x4a3)](_0x1441ec[_0x1cb4e9(0x525)]());}var _0x577223=function(){const _0x22a853=_0x2e5f4c;return _0x577223=Object[_0x22a853(0x36c)]||function(_0x419f0e){const _0xd6cda1=_0x22a853;for(var _0xff9f90,_0x3176f0=0x1,_0x15a90e=arguments[_0xd6cda1(0x310)];_0x3176f0<_0x15a90e;_0x3176f0++){_0xff9f90=arguments[_0x3176f0];for(var _0x294044 in _0xff9f90)Object[_0xd6cda1(0x4ce)][_0xd6cda1(0x406)][_0xd6cda1(0x152)](_0xff9f90,_0x294044)&&(_0x419f0e[_0x294044]=_0xff9f90[_0x294044]);}return _0x419f0e;},_0x577223['apply'](this,arguments);},_0x5472b6=function(_0x7cddb2,_0x33a240){const _0x1d055b=_0x2e5f4c;var _0x441ca6={};for(var _0x51b39b in _0x7cddb2)Object[_0x1d055b(0x4ce)][_0x1d055b(0x406)][_0x1d055b(0x152)](_0x7cddb2,_0x51b39b)&&_0x33a240[_0x1d055b(0x570)](_0x51b39b)<0x0&&(_0x441ca6[_0x51b39b]=_0x7cddb2[_0x51b39b]);if(_0x7cddb2!=null&&typeof Object[_0x1d055b(0x49a)]==_0x1d055b(0x3c0)){for(var _0x2f6a77=0x0,_0x51b39b=Object[_0x1d055b(0x49a)](_0x7cddb2);_0x2f6a77<_0x51b39b[_0x1d055b(0x310)];_0x2f6a77++)_0x33a240[_0x1d055b(0x570)](_0x51b39b[_0x2f6a77])<0x0&&Object[_0x1d055b(0x4ce)][_0x1d055b(0x523)][_0x1d055b(0x152)](_0x7cddb2,_0x51b39b[_0x2f6a77])&&(_0x441ca6[_0x51b39b[_0x2f6a77]]=_0x7cddb2[_0x51b39b[_0x2f6a77]]);}return _0x441ca6;},_0x4039c2=_0x3055f4[_0x2e5f4c(0x3a1)](function(_0x1deb8a,_0x3dae30){const _0x194b0f=_0x2e5f4c;var _0x110e09=_0x1deb8a[_0x194b0f(0x279)],_0x1650b7=_0x1deb8a['id'],_0x4a2be4=_0x1deb8a['className'],_0x5c992e=_0x1deb8a[_0x194b0f(0x169)],_0x25c349=_0x5472b6(_0x1deb8a,[_0x194b0f(0x279),'id',_0x194b0f(0x286),_0x194b0f(0x169)]),_0x30fce0=_0x194b0f(0x4cf)['concat'](_0x1650b7,'\x20')[_0x194b0f(0x4a6)](_0x4a2be4||'')[_0x194b0f(0x343)](),_0x403544=_0x3055f4[_0x194b0f(0x2f2)]('_'['concat'](_0x44869b()));return _0x5c8d0f(_0x110e09,''['concat'](_0x1650b7),{'defIds':_0x110e09[_0x194b0f(0x150)],'idSuffix':_0x403544[_0x194b0f(0x296)]},_0x577223({'ref':_0x3dae30,'className':_0x30fce0},_0x25c349),_0x5c992e);});function _0x5c8d0f(_0x49558c,_0x5d42fc,_0x20ebd4,_0x2d3cf1,_0x1ccb9f){const _0x367d82=_0x2e5f4c;return _0x3055f4[_0x367d82(0x542)](_0x49558c[_0x367d82(0x387)],_0x577223(_0x577223({'key':_0x5d42fc},_0x1e152f(_0x49558c,_0x20ebd4,_0x1ccb9f)),_0x2d3cf1),(_0x1e8d38(_0x49558c,_0x20ebd4)['children']||[])[_0x367d82(0x4c4)](function(_0xa1bfc7,_0x14897a){const _0x31d28d=_0x367d82;return _0x5c8d0f(_0xa1bfc7,''[_0x31d28d(0x4a6)](_0x5d42fc,'-')[_0x31d28d(0x4a6)](_0x49558c[_0x31d28d(0x387)],'-')[_0x31d28d(0x4a6)](_0x14897a),_0x20ebd4,void 0x0,_0x1ccb9f);}));}function _0x1e152f(_0x277c4c,_0x58daf9,_0x330c94){const _0x10a651=_0x2e5f4c;var _0x3f5021=_0x577223({},_0x277c4c['attrs']);_0x330c94!=null&&_0x330c94[_0x10a651(0x28d)]&&_0x3f5021['fill']===_0x10a651(0x28d)&&(_0x3f5021[_0x10a651(0x184)]=_0x330c94[_0x10a651(0x28d)]);var _0x363c1f=_0x58daf9[_0x10a651(0x150)];return!_0x363c1f||_0x363c1f[_0x10a651(0x310)]===0x0||(_0x277c4c[_0x10a651(0x387)]===_0x10a651(0x36d)&&_0x3f5021['xlink:href']&&(_0x3f5021[_0x10a651(0x3be)]=_0x3f5021[_0x10a651(0x3be)]+_0x58daf9[_0x10a651(0x13a)]),Object[_0x10a651(0x3ff)](_0x3f5021)[_0x10a651(0x3e9)](function(_0x595d76){const _0x548bb6=_0x10a651;var _0x1721df=_0x595d76[0x0],_0x1375b4=_0x595d76[0x1];typeof _0x1375b4==_0x548bb6(0x3c2)&&(_0x3f5021[_0x1721df]=_0x1375b4[_0x548bb6(0x1a3)](/url\(#(.*)\)/,_0x548bb6(0x218)[_0x548bb6(0x4a6)](_0x58daf9[_0x548bb6(0x13a)],')')));})),_0x3f5021;}function _0x1e8d38(_0x4c89d3,_0x21eda9){const _0x51202a=_0x2e5f4c;var _0x2829af,_0x445d65=_0x21eda9[_0x51202a(0x150)];return!_0x445d65||_0x445d65['length']===0x0?_0x4c89d3:_0x4c89d3[_0x51202a(0x387)]===_0x51202a(0x447)&&(!((_0x2829af=_0x4c89d3[_0x51202a(0x1ab)])===null||_0x2829af===void 0x0)&&_0x2829af[_0x51202a(0x310)])?_0x577223(_0x577223({},_0x4c89d3),{'children':_0x4c89d3[_0x51202a(0x1ab)][_0x51202a(0x4c4)](function(_0x6a1956){const _0x2af810=_0x51202a;return typeof _0x6a1956[_0x2af810(0x541)]['id']==_0x2af810(0x3c2)&&_0x445d65&&_0x445d65['indexOf'](_0x6a1956[_0x2af810(0x541)]['id'])>-0x1?_0x577223(_0x577223({},_0x6a1956),{'attrs':_0x577223(_0x577223({},_0x6a1956[_0x2af810(0x541)]),{'id':_0x6a1956['attrs']['id']+_0x21eda9['idSuffix']})}):_0x6a1956;})}):_0x4c89d3;}function _0x44869b(){const _0x5345d8=_0x2e5f4c;return Math[_0x5345d8(0x56c)]()[_0x5345d8(0x46f)](0x24)['substring'](0x2,0x8);}_0x4039c2[_0x2e5f4c(0x213)]=_0x2e5f4c(0x15a);var _0x5fa7af={'tag':_0x2e5f4c(0x577),'attrs':{'fill':_0x2e5f4c(0x576),'viewBox':'0\x200\x2016\x2016','width':_0x2e5f4c(0x552),'height':_0x2e5f4c(0x552)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e5f4c(0x17e)},'children':[{'tag':_0x2e5f4c(0x238),'attrs':{'stroke':'currentColor','d':_0x2e5f4c(0x187),'strokeLinecap':_0x2e5f4c(0x156),'strokeLinejoin':_0x2e5f4c(0x156),'strokeWidth':1.2}}]},{'tag':_0x2e5f4c(0x447),'attrs':{},'children':[{'tag':_0x2e5f4c(0x3ac),'attrs':{'id':_0x2e5f4c(0x428)},'children':[{'tag':_0x2e5f4c(0x238),'attrs':{'fill':_0x2e5f4c(0x49e),'d':_0x2e5f4c(0x529)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x87b0af=_0x3055f4[_0x2e5f4c(0x3a1)](function(_0x4cd3d0,_0x31e4d3){const _0x321211=_0x2e5f4c;return _0x3055f4[_0x321211(0x542)](_0x4039c2,Object[_0x321211(0x36c)]({},_0x4cd3d0,{'id':_0x321211(0x280),'ref':_0x31e4d3,'icon':_0x5fa7af}));});_0x87b0af[_0x2e5f4c(0x213)]=_0x2e5f4c(0x33b);var _0xdf1825={'tag':_0x2e5f4c(0x577),'attrs':{'fill':_0x2e5f4c(0x576),'viewBox':_0x2e5f4c(0x298),'width':'1em','height':_0x2e5f4c(0x552)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e5f4c(0x2c5)},'children':[{'tag':_0x2e5f4c(0x238),'attrs':{'stroke':'currentColor','d':_0x2e5f4c(0x3f5),'strokeLinecap':_0x2e5f4c(0x156),'strokeLinejoin':_0x2e5f4c(0x156),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2e5f4c(0x3ac),'attrs':{'id':_0x2e5f4c(0x1b6)},'children':[{'tag':_0x2e5f4c(0x238),'attrs':{'fill':_0x2e5f4c(0x49e),'d':_0x2e5f4c(0x529),'transform':_0x2e5f4c(0x4c0)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x67acdf=_0x3055f4[_0x2e5f4c(0x3a1)](function(_0x4a9931,_0x4b5442){const _0x40eb50=_0x2e5f4c;return _0x3055f4[_0x40eb50(0x542)](_0x4039c2,Object[_0x40eb50(0x36c)]({},_0x4a9931,{'id':'on-line-single','ref':_0x4b5442,'icon':_0xdf1825}));});_0x67acdf[_0x2e5f4c(0x213)]=_0x2e5f4c(0x3e5);function _0x57e4b0(_0x123725){const _0x267944=_0x2e5f4c;var _0xa178c3,_0x35924c,_0x41789d='';if(typeof _0x123725==_0x267944(0x3c2)||typeof _0x123725==_0x267944(0x402))_0x41789d+=_0x123725;else{if(typeof _0x123725==_0x267944(0x32a)){if(Array[_0x267944(0x241)](_0x123725)){var _0x3aa6bc=_0x123725[_0x267944(0x310)];for(_0xa178c3=0x0;_0xa178c3<_0x3aa6bc;_0xa178c3++)_0x123725[_0xa178c3]&&(_0x35924c=_0x57e4b0(_0x123725[_0xa178c3]))&&(_0x41789d&&(_0x41789d+='\x20'),_0x41789d+=_0x35924c);}else{for(_0x35924c in _0x123725)_0x123725[_0x35924c]&&(_0x41789d&&(_0x41789d+='\x20'),_0x41789d+=_0x35924c);}}}return _0x41789d;}function _0x5d8475(){const _0x48eda3=_0x2e5f4c;for(var _0x2aa634,_0x45e6d4,_0x3bfe18=0x0,_0x60c545='',_0x31c172=arguments[_0x48eda3(0x310)];_0x3bfe18<_0x31c172;_0x3bfe18++)(_0x2aa634=arguments[_0x3bfe18])&&(_0x45e6d4=_0x57e4b0(_0x2aa634))&&(_0x60c545&&(_0x60c545+='\x20'),_0x60c545+=_0x45e6d4);return _0x60c545;}const _0x2ba2ac={'onlineStatusIcon':_0x2e5f4c(0x203),'onlineStatusTitle':_0x2e5f4c(0x33e),'onlineStatus':_0x2e5f4c(0x163),'online':'univer-online','offline':_0x2e5f4c(0x147)};function _0x2530d1(_0x5665d9){const _0x5a4aee=_0x2e5f4c;switch(_0x5665d9){case _0x3cd2aa['OFFLINE']:return _0x5a4aee(0x221);case _0x3cd2aa[_0x5a4aee(0x224)]:return'collabStatus.conflict';case _0x3cd2aa[_0x5a4aee(0x24d)]:return _0x5a4aee(0x1e9);case _0x3cd2aa[_0x5a4aee(0x313)]:return _0x5a4aee(0x427);case _0x3cd2aa[_0x5a4aee(0x4d0)]:case _0x3cd2aa[_0x5a4aee(0x508)]:return _0x5a4aee(0x3a9);case _0x3cd2aa[_0x5a4aee(0x513)]:case _0x3cd2aa[_0x5a4aee(0x30e)]:return _0x5a4aee(0x1e8);}}function _0x133b45(_0x2672a4){const _0x37ddcf=_0x2e5f4c,{status$:_0x308080}=_0x2672a4,_0x34aa49=_0x43bf7d[_0x37ddcf(0x494)](_0x308080,_0x3cd2aa[_0x37ddcf(0x313)]),_0x4f9ee9=_0x5dd71d[_0x37ddcf(0x2c8)](_0x5dd71d['LocaleService']),_0x117845=_0x5dd71d[_0x37ddcf(0x2c8)](_0x5d9ca9['CollaborationSessionService']),_0x433bb8=_0x34aa49!==_0x3cd2aa[_0x37ddcf(0x2d7)],_0x28d8b7=_0x4f9ee9['t'](_0x2530d1(_0x34aa49)),_0x5e4146=_0x5d8475(_0x2ba2ac['onlineStatus'],{[_0x2ba2ac[_0x37ddcf(0x22d)]]:_0x433bb8,[_0x2ba2ac[_0x37ddcf(0x4fb)]]:!_0x433bb8}),_0x17a080=_0x433bb8?_0x3055f4[_0x37ddcf(0x542)](_0x67acdf,null):_0x3055f4[_0x37ddcf(0x542)](_0x87b0af,null),_0x67fae7=_0x3055f4['useCallback'](()=>{_0x433bb8||_0x117845['reconnect']();},[_0x433bb8,_0x117845]);function _0x4d51be(){const _0x46e428=_0x37ddcf;return _0x3055f4['createElement'](_0x46e428(0x3f6),{'className':_0x5e4146,'onClick':_0x67fae7},_0x3055f4[_0x46e428(0x542)](_0x46e428(0x3f6),{'className':_0x2ba2ac['onlineStatusIcon']},_0x17a080),_0x3055f4[_0x46e428(0x542)](_0x46e428(0x3f6),{'className':_0x2ba2ac[_0x46e428(0x3b0)]},_0x28d8b7));}return _0x433bb8?_0x4d51be():_0x3055f4[_0x37ddcf(0x542)](_0x4fd8aa['Tooltip'],{'title':_0x4f9ee9['t'](_0x37ddcf(0x3d0))},_0x4d51be());}var _0x1b5ac3=Object[_0x2e5f4c(0x2c2)],_0xe3c758=Object['getOwnPropertyDescriptor'],_0x119641=(_0x227724,_0x3faee4,_0x4871f7,_0x41679a)=>{const _0x45054e=_0x2e5f4c;for(var _0x2ab317=_0x41679a>0x1?void 0x0:_0x41679a?_0xe3c758(_0x3faee4,_0x4871f7):_0x3faee4,_0x83adc=_0x227724[_0x45054e(0x310)]-0x1,_0x4e84e8;_0x83adc>=0x0;_0x83adc--)(_0x4e84e8=_0x227724[_0x83adc])&&(_0x2ab317=(_0x41679a?_0x4e84e8(_0x3faee4,_0x4871f7,_0x2ab317):_0x4e84e8(_0x2ab317))||_0x2ab317);return _0x41679a&&_0x2ab317&&_0x1b5ac3(_0x3faee4,_0x4871f7,_0x2ab317),_0x2ab317;},_0x2ed0fd=(_0x125b4f,_0x400758)=>(_0x14bbfb,_0x379752)=>_0x400758(_0x14bbfb,_0x379752,_0x125b4f);_0x5d9ca9[_0x2e5f4c(0x23a)]=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x9c1c3d,_0x123799,_0x344300,_0x55a1c2){const _0x254c82=_0x2e5f4c;super(),_0x30b9f2(this,_0x254c82(0x3cb),new _0x1e8f3c[(_0x254c82(0x3ca))](_0x3cd2aa[_0x254c82(0x313)])),(this[_0x254c82(0x546)]=_0x9c1c3d,this[_0x254c82(0x3d6)]=_0x123799,this[_0x254c82(0x3bf)]=_0x344300,this[_0x254c82(0x31b)]=_0x55a1c2,this[_0x254c82(0x405)](),this['_initStatusListener']());}[_0x2e5f4c(0x1f2)](){const _0x367056=_0x2e5f4c;this[_0x367056(0x360)](this[_0x367056(0x546)][_0x367056(0x35e)][_0x367056(0x31d)](_0x1e8f3c['switchMap'](()=>{const _0x514c7d=_0x367056,_0x3aff69=this[_0x514c7d(0x546)][_0x514c7d(0x48b)]();return _0x3aff69?this[_0x514c7d(0x31b)][_0x514c7d(0x3b9)](_0x3aff69[_0x514c7d(0x29e)]()):_0x1e8f3c['of'](null);}),_0x1e8f3c[_0x367056(0x2fc)](_0xa592e3=>_0xa592e3?_0xa592e3[_0x367056(0x1f9)]:_0x1e8f3c['of'](_0x3cd2aa[_0x367056(0x313)])))[_0x367056(0x3ee)](_0x560e84=>{const _0x5711df=_0x367056;this[_0x5711df(0x3cb)][_0x5711df(0x228)](_0x560e84);}));}[_0x2e5f4c(0x405)](){const _0x26b0c6=_0x2e5f4c;this[_0x26b0c6(0x360)](this['_uiPartsService'][_0x26b0c6(0x30b)](_0x43bf7d[_0x26b0c6(0x533)][_0x26b0c6(0x35a)],()=>_0x5dd71d['connectInjector'](_0xcce99e({'status$':this[_0x26b0c6(0x3cb)]['asObservable']()}),this[_0x26b0c6(0x3bf)])));}},_0x5d9ca9['DesktopCollaborationStatusDisplayController']=_0x119641([_0x2ed0fd(0x0,_0x5dd71d[_0x2e5f4c(0x373)]),_0x2ed0fd(0x1,_0x43bf7d[_0x2e5f4c(0x164)]),_0x2ed0fd(0x2,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['Injector'])),_0x2ed0fd(0x3,_0x5dd71d['Inject'](_0x5d9ca9[_0x2e5f4c(0x548)]))],_0x5d9ca9[_0x2e5f4c(0x23a)]);function _0xcce99e(_0x2c96be){const {status$:_0x3333fc}=_0x2c96be;return function(){const _0x1b802c=_0x9a79;return _0x3055f4[_0x1b802c(0x542)](_0x133b45,{'status$':_0x3333fc});};}const _0x382397=_0x5dd71d[_0x2e5f4c(0x573)]('uni.network.url-service');var _0x26d613=Object[_0x2e5f4c(0x2c2)],_0x15d754=Object[_0x2e5f4c(0x4b9)],_0x128d70=(_0xe1a503,_0x2b2688,_0x1377fb,_0x1b1e4f)=>{for(var _0x2725a6=_0x1b1e4f>0x1?void 0x0:_0x1b1e4f?_0x15d754(_0x2b2688,_0x1377fb):_0x2b2688,_0x443209=_0xe1a503['length']-0x1,_0x545b3e;_0x443209>=0x0;_0x443209--)(_0x545b3e=_0xe1a503[_0x443209])&&(_0x2725a6=(_0x1b1e4f?_0x545b3e(_0x2b2688,_0x1377fb,_0x2725a6):_0x545b3e(_0x2725a6))||_0x2725a6);return _0x1b1e4f&&_0x2725a6&&_0x26d613(_0x2b2688,_0x1377fb,_0x2725a6),_0x2725a6;},_0x1cd5bc=(_0x3f7983,_0x461bd4)=>(_0x9a11df,_0x109185)=>_0x461bd4(_0x9a11df,_0x109185,_0x3f7983);_0x5d9ca9[_0x2e5f4c(0x345)]=class extends _0x5dd71d['RxDisposable']{constructor(_0x350ccc,_0x305b17,_0x1369ed,_0x308c34,_0x319160,_0x2b5941){const _0xe79850=_0x2e5f4c;super(),this[_0xe79850(0x1b5)]=_0x350ccc,this[_0xe79850(0x55b)]=_0x305b17,this[_0xe79850(0x2aa)]=_0x1369ed,this[_0xe79850(0x178)]=_0x308c34,this[_0xe79850(0x4d5)]=_0x319160,_0x2b5941?_0x2b5941==null||_0x2b5941[_0xe79850(0x475)]()[_0xe79850(0x18f)](()=>this[_0xe79850(0x389)]()):(this['_logService'][_0xe79850(0x1dd)](_0xe79850(0x2a9),_0xe79850(0x4bb)),this[_0xe79850(0x389)]());}async[_0x2e5f4c(0x389)](){const _0x547eb1=_0x2e5f4c,_0x554571=this['_urlService']['getParam'](_0x547eb1(0x46d)),_0x5a3e8d=this[_0x547eb1(0x1b5)][_0x547eb1(0x258)]('type');if(!_0x554571||!_0x5a3e8d){this[_0x547eb1(0x55b)][_0x547eb1(0x1dd)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x5a3e8d)){case _0x17bbb0[_0x547eb1(0x530)]:{const _0x2066f3=await this['_loadSheet'](_0x554571);this[_0x547eb1(0x50d)](_0x2066f3);break;}case _0x17bbb0[_0x547eb1(0x4de)]:{await this['_loadDoc'](_0x554571);break;}default:{this['_logService'][_0x547eb1(0x2ac)](_0x547eb1(0x2a9),_0x547eb1(0x25d));break;}}}async[_0x2e5f4c(0x50d)](_0x3d032d){const _0x2cfa64=_0x2e5f4c;await this[_0x2cfa64(0x2a0)](_0x3d032d),_0x3d032d['activeSheet$'][_0x2cfa64(0x31d)](_0x1e8f3c[_0x2cfa64(0x16c)](this[_0x2cfa64(0x487)]))[_0x2cfa64(0x3ee)](_0x548851=>{const _0x23f7b9=_0x2cfa64;_0x548851&&this[_0x23f7b9(0x222)](_0x548851);}),this[_0x2cfa64(0x1b5)][_0x2cfa64(0x1ea)]['pipe'](_0x1e8f3c[_0x2cfa64(0x16c)](this['dispose$']))[_0x2cfa64(0x3ee)](()=>this['_updateSubUnitFromURLParams'](_0x3d032d));}[_0x2e5f4c(0x222)](_0x344329,_0xcc1ba7=!0x1){const _0x3d71c4=_0x2e5f4c,_0x3b9138=this[_0x3d71c4(0x1b5)][_0x3d71c4(0x258)]('subunit');_0x344329[_0x3d71c4(0x1df)]()!==_0x3b9138&&this[_0x3d71c4(0x1b5)][_0x3d71c4(0x4f7)](_0x3d71c4(0x4dd),_0x344329[_0x3d71c4(0x1df)](),_0xcc1ba7);}async[_0x2e5f4c(0x2a0)](_0x4a6350){const _0x310cdc=_0x2e5f4c;var _0x62b4ff;const _0x31460a=this[_0x310cdc(0x1b5)]['getParam'](_0x310cdc(0x4dd));if(!_0x31460a||!_0x4a6350['getSheetBySheetId'](_0x31460a)){const _0x293c80=_0x4a6350['getUnhiddenWorksheets']()[0x0],_0x38526a=_0x4a6350[_0x310cdc(0x254)](_0x293c80);if(!_0x38526a)return;this[_0x310cdc(0x222)](_0x38526a,!0x0),await this[_0x310cdc(0x2aa)][_0x310cdc(0x21a)](_0x51fcfd[_0x310cdc(0x231)]['id'],{'unitId':_0x4a6350[_0x310cdc(0x29e)](),'subUnitId':_0x293c80});return;}((_0x62b4ff=_0x4a6350['getActiveSheet']())==null?void 0x0:_0x62b4ff['getSheetId']())!==_0x31460a&&await this[_0x310cdc(0x2aa)][_0x310cdc(0x21a)](_0x51fcfd[_0x310cdc(0x231)]['id'],{'unitId':_0x4a6350[_0x310cdc(0x29e)](),'subUnitId':_0x31460a});}async[_0x2e5f4c(0x3a6)](_0x4dda68){const _0x332ef7=_0x2e5f4c;let _0x931d7c=0x0;const _0x452770=await this[_0x332ef7(0x178)][_0x332ef7(0x1c2)](_0x4dda68);return _0x452770&&(_0x452770[_0x332ef7(0x4c2)]||_0x452770['mutations'][_0x332ef7(0x310)]!==0x0)&&(_0x931d7c=_0x452770[_0x332ef7(0x284)]),_0x931d7c===0x0&&this[_0x332ef7(0x55b)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x332ef7(0x4d5)][_0x332ef7(0x2a1)](_0x4dda68,_0x931d7c);}async[_0x2e5f4c(0x2f4)](_0x4109f4){const _0x51161e=_0x2e5f4c;let _0x2c43df=0x0;const _0x202e26=await this[_0x51161e(0x178)][_0x51161e(0x1c2)](_0x4109f4);return _0x202e26&&(_0x202e26['awaitingChangeset']||_0x202e26[_0x51161e(0x273)]['length']!==0x0)&&(_0x2c43df=_0x202e26[_0x51161e(0x284)]),_0x2c43df===0x0&&this['_logService']['debug'](_0x51161e(0x2a9),_0x51161e(0x439)),this[_0x51161e(0x4d5)][_0x51161e(0x362)](_0x4109f4,_0x2c43df);}},_0x5d9ca9[_0x2e5f4c(0x345)]=_0x128d70([_0x1cd5bc(0x0,_0x382397),_0x1cd5bc(0x1,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x1cd5bc(0x2,_0x5dd71d[_0x2e5f4c(0x160)]),_0x1cd5bc(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x1cd5bc(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2[_0x2e5f4c(0x204)])),_0x1cd5bc(0x5,_0x5dd71d[_0x2e5f4c(0x476)](_0x55c888[_0x2e5f4c(0x291)]))],_0x5d9ca9[_0x2e5f4c(0x345)]);var _0x66ad7f=Object[_0x2e5f4c(0x2c2)],_0x2c32c9=Object[_0x2e5f4c(0x4b9)],_0x4729b3=(_0x4f26a3,_0x3aec28,_0x598504,_0x283aed)=>{const _0x404a8c=_0x2e5f4c;for(var _0xc2550=_0x283aed>0x1?void 0x0:_0x283aed?_0x2c32c9(_0x3aec28,_0x598504):_0x3aec28,_0xfe8d5d=_0x4f26a3[_0x404a8c(0x310)]-0x1,_0x474832;_0xfe8d5d>=0x0;_0xfe8d5d--)(_0x474832=_0x4f26a3[_0xfe8d5d])&&(_0xc2550=(_0x283aed?_0x474832(_0x3aec28,_0x598504,_0xc2550):_0x474832(_0xc2550))||_0xc2550);return _0x283aed&&_0xc2550&&_0x66ad7f(_0x3aec28,_0x598504,_0xc2550),_0xc2550;},_0x4b8a88=(_0x2f1ed1,_0x4f3e2d)=>(_0x366d8b,_0x46dcaf)=>_0x4f3e2d(_0x366d8b,_0x46dcaf,_0x2f1ed1);const _0x347580='DEFAULT_FILE_NAME',_0x1acb5d=_0x2e5f4c(0x45a);let _0x3960cb=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x1a9deb,_0x422bf9){const _0x3f6b43=_0x2e5f4c;super(),this[_0x3f6b43(0x546)]=_0x1a9deb,this[_0x3f6b43(0x33c)]=_0x422bf9,this[_0x3f6b43(0x389)]();}[_0x2e5f4c(0x389)](){const _0x2f886b=_0x2e5f4c;this[_0x2f886b(0x360)](this[_0x2f886b(0x546)][_0x2f886b(0x35e)][_0x2f886b(0x3ee)](()=>{const _0x369a4f=_0x2f886b;var _0x4097b;const _0x186445=this[_0x369a4f(0x546)][_0x369a4f(0x48b)]();let _0x42d362=(_0x4097b=this[_0x369a4f(0x33c)][_0x369a4f(0x18e)](_0x347580))!=null?_0x4097b:_0x1acb5d;_0x186445 instanceof _0x5dd71d[_0x369a4f(0x436)]&&(_0x42d362=_0x186445[_0x369a4f(0x52e)]),document['title']=_0x42d362;}));}};_0x3960cb=_0x4729b3([_0x4b8a88(0x0,_0x5dd71d['IUniverInstanceService']),_0x4b8a88(0x1,_0x5dd71d[_0x2e5f4c(0x27c)])],_0x3960cb);var _0x3a2390=Object[_0x2e5f4c(0x2c2)],_0xbeff59=Object[_0x2e5f4c(0x4b9)],_0x3ec717=(_0x2f2acb,_0x49a7ab,_0x1aadf9,_0x1a5844)=>{for(var _0x7a25c0=_0x1a5844>0x1?void 0x0:_0x1a5844?_0xbeff59(_0x49a7ab,_0x1aadf9):_0x49a7ab,_0x23bcfe=_0x2f2acb['length']-0x1,_0x4ed303;_0x23bcfe>=0x0;_0x23bcfe--)(_0x4ed303=_0x2f2acb[_0x23bcfe])&&(_0x7a25c0=(_0x1a5844?_0x4ed303(_0x49a7ab,_0x1aadf9,_0x7a25c0):_0x4ed303(_0x7a25c0))||_0x7a25c0);return _0x1a5844&&_0x7a25c0&&_0x3a2390(_0x49a7ab,_0x1aadf9,_0x7a25c0),_0x7a25c0;},_0x3f2965=(_0x4eecc6,_0x2e69fb)=>(_0x5b6279,_0x2f8c77)=>_0x2e69fb(_0x5b6279,_0x2f8c77,_0x4eecc6);let _0x2d3b16=class{constructor(_0x29a7f3,_0x2cfcdb,_0x374b5a){const _0x324330=_0x2e5f4c;this[_0x324330(0x33c)]=_0x29a7f3,this[_0x324330(0x185)]=_0x2cfcdb,this[_0x324330(0x1c0)]=_0x374b5a,this[_0x324330(0x176)]();}['init'](){const _0x287dae=_0x2e5f4c;this[_0x287dae(0x185)][_0x287dae(0x2e7)]({'priority':0x1,'interceptor':(_0x18e51e,_0x10d6be)=>_0x10d6be(_0x18e51e)[_0x287dae(0x31d)](_0x1e8f3c[_0x287dae(0x463)](async _0x3a8227=>{const _0xfd508b=_0x287dae,_0x6e0633=_0x3a8227;if(_0x6e0633['status']===0x191&&window[_0xfd508b(0x4fd)](this[_0xfd508b(0x1c0)]['t'](_0xfd508b(0x259)))){const _0x1589c4=window[_0xfd508b(0x2f5)](window[_0xfd508b(0x443)][_0xfd508b(0x43a)]);window['location']['href']=this[_0xfd508b(0x1af)]()+_0xfd508b(0x248)+_0x1589c4;}return _0x6e0633;}))});}[_0x2e5f4c(0x1af)](){const _0x2a6fd7=_0x2e5f4c;var _0x1cfe8b,_0x23b723;const _0x321af9=this[_0x2a6fd7(0x33c)][_0x2a6fd7(0x18e)](_0x33aae3),_0xc39628=this[_0x2a6fd7(0x33c)][_0x2a6fd7(0x18e)](_0x505ac2);return(_0x23b723=(_0x1cfe8b=_0xc39628==null?void 0x0:_0xc39628['loginUrlKey'])!=null?_0x1cfe8b:_0x321af9)!=null?_0x23b723:_0xa078ff;}};_0x2d3b16=_0x3ec717([_0x3f2965(0x0,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x3f2965(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x272b65[_0x2e5f4c(0x4f6)])),_0x3f2965(0x2,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x23d)]))],_0x2d3b16);var _0x2c6c0a=Object[_0x2e5f4c(0x2c2)],_0x5561bd=Object[_0x2e5f4c(0x4b9)],_0x377fbd=(_0x208bab,_0x107873,_0x2a3666,_0x689714)=>{for(var _0x1f31db=_0x689714>0x1?void 0x0:_0x689714?_0x5561bd(_0x107873,_0x2a3666):_0x107873,_0x3daaba=_0x208bab['length']-0x1,_0x33c8e9;_0x3daaba>=0x0;_0x3daaba--)(_0x33c8e9=_0x208bab[_0x3daaba])&&(_0x1f31db=(_0x689714?_0x33c8e9(_0x107873,_0x2a3666,_0x1f31db):_0x33c8e9(_0x1f31db))||_0x1f31db);return _0x689714&&_0x1f31db&&_0x2c6c0a(_0x107873,_0x2a3666,_0x1f31db),_0x1f31db;},_0x16711d=(_0x5372dc,_0x4239e3)=>(_0x3c3458,_0x4eb61d)=>_0x4239e3(_0x3c3458,_0x4eb61d,_0x5372dc);const _0x26e7f1=_0x2e5f4c(0x1bd),_0x4ebad2=_0x2e5f4c(0x229);_0x5d9ca9['AuthzIoHttpService']=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x35815d,_0x43a54e){const _0xec84ab=_0x2e5f4c;super(),this['_HTTPService']=_0x35815d,this[_0xec84ab(0x33c)]=_0x43a54e,this[_0xec84ab(0x1c7)]();}[_0x2e5f4c(0x1c7)](){const _0x49b123=_0x2e5f4c,_0x5eaac5=this;this['disposeWithMe'](this[_0x49b123(0x2c9)][_0x49b123(0x2e7)]({'priority':0x3e7,'interceptor':_0x272b65[_0x49b123(0x18d)]({'isMatch'(_0x467e84){const _0x8c886b=_0x49b123;var _0x156443;if(_0x467e84[_0x8c886b(0x2e6)]==='POST'&&((_0x156443=_0x467e84[_0x8c886b(0x3f1)])!=null&&_0x156443[_0x8c886b(0x2de)])){const {objectID:_0x39ad51,objectType:_0x432837}=_0x467e84['requestParams'][_0x8c886b(0x2de)]||{};if(!_0x39ad51||_0x432837===void 0x0)return!0x1;const _0x4fd48b=_0x5eaac5[_0x8c886b(0x316)]()+'/'+_0x432837+_0x8c886b(0x32e)+_0x39ad51+_0x8c886b(0x47f);if(_0x467e84[_0x8c886b(0x53b)]===_0x4fd48b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x362b39){const _0x6b84c5=_0x49b123;var _0x1038fa;return(_0x1038fa=_0x362b39[_0x6b84c5(0x3f1)])==null?void 0x0:_0x1038fa['body'];},'mergeParamsToRequest'(_0x18a828,_0xe1f87c){const _0x4cc9f5=_0x49b123,_0x1ed59b=_0x5eaac5[_0x4cc9f5(0x316)]()+_0x4cc9f5(0x4a5),_0x50c1dc=_0x18a828[_0x4cc9f5(0x515)]((_0x1ee87c,_0x55c8ef)=>{const _0x2586dd=_0x4cc9f5,{unitID:_0x416eac,objectID:_0x317197,objectType:_0x27064f,actions:_0x94a8e9}=_0x55c8ef;return _0x1ee87c[_0x416eac]||(_0x1ee87c[_0x416eac]={}),_0x1ee87c[_0x416eac][_0x317197]||(_0x1ee87c[_0x416eac][_0x317197]={'objectID':_0x317197,'objectType':_0x27064f,'actions':[]}),_0x1ee87c[_0x416eac][_0x317197][_0x2586dd(0x317)][_0x2586dd(0x36b)](..._0x94a8e9),_0x1ee87c;},{}),_0x48f817=[];for(const _0x24b33b in _0x50c1dc)for(const _0x185e55 in _0x50c1dc[_0x24b33b]){const {actions:_0x20094d,objectType:_0xec5494}=_0x50c1dc[_0x24b33b][_0x185e55],_0x37c542=[...new Set(_0x20094d)];_0x48f817[_0x4cc9f5(0x36b)]({'unitID':_0x24b33b,'objectID':_0x185e55,'objectType':_0xec5494,'actions':_0x37c542});}return new _0x272b65[(_0x4cc9f5(0x17f))](_0x4cc9f5(0x3b3),_0x1ed59b,{'headers':_0xe1f87c[_0x4cc9f5(0x1b4)],'withCredentials':_0xe1f87c[_0x4cc9f5(0x162)],'responseType':_0xe1f87c['responseType'],'body':{'requests':_0x48f817}});}},{'distributeResult'(_0x3210f9,_0x218e1c){const _0x12d6e3=_0x49b123,{objectActions:_0x1cff05}=_0x3210f9;return _0x218e1c[_0x12d6e3(0x4c4)](_0x445043=>{const _0x19a6a7=_0x12d6e3,{unitID:_0x13b884,objectID:_0x45ca3a,actions:_0x54d514}=_0x445043,_0x1bb21f=_0x1cff05[_0x19a6a7(0x186)](_0x2e5cc5=>_0x2e5cc5[_0x19a6a7(0x145)]===_0x13b884&&_0x2e5cc5[_0x19a6a7(0x29c)]===_0x45ca3a),_0x32fec5=_0x54d514['map'](_0x2123ec=>_0x1bb21f==null?void 0x0:_0x1bb21f[_0x19a6a7(0x317)][_0x19a6a7(0x186)](_0x4a8258=>_0x4a8258[_0x19a6a7(0x2fb)]===_0x2123ec))[_0x19a6a7(0x293)](_0x146898=>!!_0x146898);return{'config':_0x445043,'result':{'actions':_0x32fec5,'error':_0x3210f9[_0x19a6a7(0x2ac)]}};});}})}));}[_0x2e5f4c(0x316)](){const _0x360ddc=_0x2e5f4c;var _0x1bd0ff,_0x3c0d74;const _0x3328aa=this[_0x360ddc(0x33c)][_0x360ddc(0x18e)](_0x26e7f1),_0x5318f4=this[_0x360ddc(0x33c)][_0x360ddc(0x18e)](_0x505ac2);return(_0x3c0d74=(_0x1bd0ff=_0x5318f4==null?void 0x0:_0x5318f4[_0x360ddc(0x393)])!=null?_0x1bd0ff:_0x3328aa)!=null?_0x3c0d74:_0x4ebad2;}async['create'](_0x304756){const _0x45abb7=_0x2e5f4c,_0x3b499f=this['_getAPIPrefixPath']()+'/'+_0x304756[_0x45abb7(0x268)]+_0x45abb7(0x56f);return(await this[_0x45abb7(0x2c9)][_0x45abb7(0x551)](_0x3b499f,{'body':_0x304756}))[_0x45abb7(0x2de)][_0x45abb7(0x29c)]||'';}async[_0x2e5f4c(0x351)](_0x3ad5e2){const _0x5dea67=_0x2e5f4c,_0x1b5191=this[_0x5dea67(0x316)]()+_0x5dea67(0x304);return(await this['_HTTPService'][_0x5dea67(0x551)](_0x1b5191,{'body':_0x3ad5e2}))[_0x5dea67(0x2de)][_0x5dea67(0x4e1)];}async[_0x2e5f4c(0x2eb)](_0x3226aa){const _0x5e6817=_0x2e5f4c,_0x4e2f99=this['_getAPIPrefixPath']()+'/'+_0x3226aa['objectType']+_0x5e6817(0x32e)+_0x3226aa[_0x5e6817(0x29c)];await this[_0x5e6817(0x2c9)][_0x5e6817(0x50a)](_0x4e2f99,{'body':_0x3226aa});}async[_0x2e5f4c(0x311)](_0x10ecd6){const _0x22b02a=_0x2e5f4c,_0xdc17d2=this['_getAPIPrefixPath']()+'/'+_0x10ecd6[_0x22b02a(0x268)]+_0x22b02a(0x32e)+_0x10ecd6['objectID']+_0x22b02a(0x47f);return(await this[_0x22b02a(0x2c9)][_0x22b02a(0x551)](_0xdc17d2,{'body':_0x10ecd6}))[_0x22b02a(0x2de)][_0x22b02a(0x317)];}async[_0x2e5f4c(0x571)](_0x1b8406){const _0x3d2318=_0x2e5f4c,_0x55ad0e=this[_0x3d2318(0x316)]()+_0x3d2318(0x4a5);return(await this[_0x3d2318(0x2c9)][_0x3d2318(0x551)](_0x55ad0e,{'body':{'requests':_0x1b8406}}))[_0x3d2318(0x2de)][_0x3d2318(0x474)];}async[_0x2e5f4c(0x142)](_0x2eec55){const _0x587407=_0x2e5f4c,_0x213159=this[_0x587407(0x316)]()+'/'+_0x2eec55[_0x587407(0x268)]+_0x587407(0x2da),_0x4c9d60=await this['_HTTPService']['post'](_0x213159,{'body':_0x2eec55});return{'roles':_0x4c9d60[_0x587407(0x2de)][_0x587407(0x41d)],'actions':_0x4c9d60[_0x587407(0x2de)]['actions']};}async[_0x2e5f4c(0x398)](_0x174496){const _0x1c8ef7=_0x2e5f4c,_0x4f3bd5=this[_0x1c8ef7(0x316)]()+'/collaborator';await this[_0x1c8ef7(0x2c9)][_0x1c8ef7(0x370)](_0x4f3bd5,{'params':{'collaboratorID':_0x174496[_0x1c8ef7(0x20d)],'objectID':_0x174496[_0x1c8ef7(0x29c)],'unitID':_0x174496[_0x1c8ef7(0x145)]}});}async[_0x2e5f4c(0x413)](_0x1e3580){const _0x1e685f=_0x2e5f4c,_0x3c3d19=this[_0x1e685f(0x316)]()+_0x1e685f(0x2c6);await this['_HTTPService']['patch'](_0x3c3d19,{'body':_0x1e3580});}async[_0x2e5f4c(0x342)](_0x10ca2e){const _0x30121b=_0x2e5f4c,_0x48877d=this[_0x30121b(0x316)]()+_0x30121b(0x2c6);await this[_0x30121b(0x2c9)][_0x30121b(0x551)](_0x48877d,{'body':_0x10ca2e});}async['listCollaborators'](_0x5e4266){const _0x13bc65=_0x2e5f4c,_0x2da6de=this[_0x13bc65(0x316)]()+_0x13bc65(0x2c6);return(await this[_0x13bc65(0x2c9)][_0x13bc65(0x578)](_0x2da6de,{'params':{'objectID':_0x5e4266[_0x13bc65(0x29c)],'unitID':_0x5e4266[_0x13bc65(0x145)]}}))[_0x13bc65(0x2de)]['collaborators'];}async[_0x2e5f4c(0x4d3)](_0x42b965){const _0x51db3a=_0x2e5f4c,_0x56ac69=this['_getAPIPrefixPath']()+_0x51db3a(0x2c6);await this[_0x51db3a(0x2c9)][_0x51db3a(0x50a)](_0x56ac69,{'body':_0x42b965});}},_0x5d9ca9['AuthzIoHttpService']=_0x377fbd([_0x16711d(0x0,_0x5dd71d['Inject'](_0x272b65[_0x2e5f4c(0x4f6)])),_0x16711d(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['IConfigService']))],_0x5d9ca9[_0x2e5f4c(0x144)]);var _0x510262=Object[_0x2e5f4c(0x2c2)],_0x4cbc21=Object[_0x2e5f4c(0x4b9)],_0xf226b2=(_0x2201cd,_0x8d7fde,_0xb2d9,_0x52b248)=>{for(var _0x5540c8=_0x52b248>0x1?void 0x0:_0x52b248?_0x4cbc21(_0x8d7fde,_0xb2d9):_0x8d7fde,_0x165c56=_0x2201cd['length']-0x1,_0x4e294b;_0x165c56>=0x0;_0x165c56--)(_0x4e294b=_0x2201cd[_0x165c56])&&(_0x5540c8=(_0x52b248?_0x4e294b(_0x8d7fde,_0xb2d9,_0x5540c8):_0x4e294b(_0x5540c8))||_0x5540c8);return _0x52b248&&_0x5540c8&&_0x510262(_0x8d7fde,_0xb2d9,_0x5540c8),_0x5540c8;},_0x14e0e5=(_0x31c55e,_0x2c5c59)=>(_0x543602,_0x5def3a)=>_0x2c5c59(_0x543602,_0x5def3a,_0x31c55e);let _0x535a03=class{constructor(_0x35ecab){const _0x4cd6fd=_0x2e5f4c;this[_0x4cd6fd(0x185)]=_0x35ecab,this['_initRequestHeader']();}['_initRequestHeader'](){const _0x33b24b=_0x2e5f4c;this[_0x33b24b(0x185)][_0x33b24b(0x2e7)]({'interceptor':(_0x4683d2,_0x405f42)=>{const _0x1a3784=_0x33b24b,_0x3e1205=_0x4683d2[_0x1a3784(0x1b4)],_0x9a116e=_0x40a85b[_0x1a3784(0x3af)]();return _0x9a116e&&_0x3e1205['set'](_0x1a3784(0x454),_0x9a116e),_0x405f42(_0x4683d2);}});}};_0x535a03=_0xf226b2([_0x14e0e5(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x272b65['HTTPService']))],_0x535a03);var _0x2c3eb3=Object['defineProperty'],_0x338960=Object[_0x2e5f4c(0x4b9)],_0x5039f2=(_0x1a6273,_0x49bbe9,_0x6b3b92,_0x2bff28)=>{const _0x588eec=_0x2e5f4c;for(var _0x12af21=_0x2bff28>0x1?void 0x0:_0x2bff28?_0x338960(_0x49bbe9,_0x6b3b92):_0x49bbe9,_0x2237f7=_0x1a6273[_0x588eec(0x310)]-0x1,_0x2bb2a7;_0x2237f7>=0x0;_0x2237f7--)(_0x2bb2a7=_0x1a6273[_0x2237f7])&&(_0x12af21=(_0x2bff28?_0x2bb2a7(_0x49bbe9,_0x6b3b92,_0x12af21):_0x2bb2a7(_0x12af21))||_0x12af21);return _0x2bff28&&_0x12af21&&_0x2c3eb3(_0x49bbe9,_0x6b3b92,_0x12af21),_0x12af21;},_0x402353=(_0x174c2f,_0x50a93f)=>(_0x4aa73e,_0x1bbc1f)=>_0x50a93f(_0x4aa73e,_0x1bbc1f,_0x174c2f);const _0x26d712=['image/png','image/jpeg',_0x2e5f4c(0x4f3),_0x2e5f4c(0x4f1),_0x2e5f4c(0x56e)],_0x2f82fd=0x5*0x400*0x400,_0x1f75b3='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x37a70d=_0x2e5f4c(0x47e),_0x670d2c=_0x2e5f4c(0x32c),_0x31c616='/universer-api/file/{fileID}/sign-url';_0x5d9ca9[_0x2e5f4c(0x15f)]=class{constructor(_0x2f971e,_0x15f580,_0x1517f4){const _0x42a8f5=_0x2e5f4c;_0x30b9f2(this,_0x42a8f5(0x3c7),0x0),_0x30b9f2(this,_0x42a8f5(0x13d),new _0x1e8f3c[(_0x42a8f5(0x2d3))]()),_0x30b9f2(this,_0x42a8f5(0x418),this['_change$']),_0x30b9f2(this,_0x42a8f5(0x4b4),new Map()),(this[_0x42a8f5(0x185)]=_0x2f971e,this['_configService']=_0x15f580,this[_0x42a8f5(0x546)]=_0x1517f4);}[_0x2e5f4c(0x263)](_0x5d5389){const _0x1dd29b=_0x2e5f4c;this['_waitCount']=_0x5d5389,this['_change$'][_0x1dd29b(0x228)](_0x5d5389);}[_0x2e5f4c(0x1a1)](_0x1a67bd,_0x4ff4be){const _0x2e89b3=_0x2e5f4c;if(_0x4ff4be===_0x1cf942['ImageSourceType'][_0x2e89b3(0x2b1)]){const _0x1dd39a=new Image();return _0x1dd39a[_0x2e89b3(0x482)]=_0x1a67bd,_0x1dd39a;}return this[_0x2e89b3(0x4b4)][_0x2e89b3(0x578)](_0x1a67bd);}['addImageSourceCache'](_0x109bb2,_0xcf2fca,_0x3260a3){const _0x3e93c1=_0x2e5f4c;_0xcf2fca===_0x1cf942[_0x3e93c1(0x535)]['BASE64']||_0x3260a3==null||this[_0x3e93c1(0x4b4)][_0x3e93c1(0x246)](_0x109bb2,_0x3260a3);}async[_0x2e5f4c(0x4e4)](_0x1ca978){const _0x462c31=_0x2e5f4c;try{const _0x437225=this[_0x462c31(0x1e4)](this[_0x462c31(0x375)](),''+_0x1ca978),_0x1b847b=(await this[_0x462c31(0x185)][_0x462c31(0x578)](_0x437225))[_0x462c31(0x2de)];if(_0x1b847b[_0x462c31(0x2ac)]&&_0x1b847b[_0x462c31(0x2ac)]['code']===_0x378745['OK']){const _0x5f314c=new URL(_0x1b847b['url'],this['_getDownloadEndpointURL']())[_0x462c31(0x46f)]();return Promise['resolve'](_0x5f314c);}return Promise[_0x462c31(0x1c8)](_0x1b847b['error']);}catch(_0x43641b){return Promise[_0x462c31(0x1c8)](_0x43641b);}}async[_0x2e5f4c(0x269)](_0x464eef){const _0xdf0345=_0x2e5f4c;let _0x23f014='';if(!_0x26d712['includes'](_0x464eef['type']))return this[_0xdf0345(0x466)](),Promise[_0xdf0345(0x1c8)](new Error(_0x1cf942[_0xdf0345(0x2d4)][_0xdf0345(0x572)]));if(_0x464eef[_0xdf0345(0x1f1)]>_0x2f82fd)return this[_0xdf0345(0x466)](),Promise[_0xdf0345(0x1c8)](new Error(_0x1cf942['ImageUploadStatusType'][_0xdf0345(0x299)]));try{const _0xa8430=new FormData();_0xa8430[_0xdf0345(0x26a)](_0xdf0345(0x166),_0x464eef);const _0x3e454a=this[_0xdf0345(0x546)][_0xdf0345(0x48b)](),_0x4cdbe6=_0x3e454a==null?void 0x0:_0x3e454a[_0xdf0345(0x29e)]();if(!_0x4cdbe6)throw new Error(_0xdf0345(0x3ec));const _0x32de17=this[_0xdf0345(0x361)]()+'?size='+_0x464eef[_0xdf0345(0x1f1)][_0xdf0345(0x46f)]()+_0xdf0345(0x17d)+_0x12f3da[_0xdf0345(0x2ec)]+'&assign='+encodeURIComponent(_0x4cdbe6),_0x547ca5=await(await fetch(_0x32de17,{'method':_0xdf0345(0x3b3),'body':_0xa8430}))[_0xdf0345(0x1eb)]();if(typeof _0x547ca5['FileId']!=_0xdf0345(0x3c2))return this['_decreaseWaiting'](),Promise[_0xdf0345(0x1c8)](new Error(_0x1cf942[_0xdf0345(0x2d4)]['ERROR_IMAGE']));_0x23f014=_0x547ca5['FileId'];}catch{return this[_0xdf0345(0x466)](),Promise[_0xdf0345(0x1c8)](new Error(_0x1cf942[_0xdf0345(0x2d4)][_0xdf0345(0x401)]));}return new Promise((_0x55d9ee,_0x26b478)=>{const _0x14b44b=_0xdf0345,_0x44183a=new FileReader();_0x44183a['readAsDataURL'](_0x464eef),_0x44183a[_0x14b44b(0x3d4)]=_0x78635=>{const _0x4dbf90=_0x14b44b;var _0x102c75;const _0x989e7=(_0x102c75=_0x78635['target'])==null?void 0x0:_0x102c75[_0x4dbf90(0x38e)];if(_0x989e7==null){this[_0x4dbf90(0x466)](),_0x26b478(new Error(_0x1cf942['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x5e5216=_0x5dd71d[_0x4dbf90(0x451)][_0x4dbf90(0x4e9)](0x6);_0x55d9ee({'imageId':_0x5e5216,'imageSourceType':_0x1cf942[_0x4dbf90(0x535)]['UUID'],'source':_0x23f014,'base64Cache':_0x989e7,'status':_0x1cf942[_0x4dbf90(0x2d4)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x2e5f4c(0x361)](){const _0x2ab59a=_0x2e5f4c;var _0x1dc8d3,_0x4c1888;const _0x2f0f6d=this[_0x2ab59a(0x33c)][_0x2ab59a(0x18e)](_0x1f75b3),_0x3e3ff5=this[_0x2ab59a(0x33c)][_0x2ab59a(0x18e)](_0x505ac2);return(_0x4c1888=(_0x1dc8d3=_0x3e3ff5==null?void 0x0:_0x3e3ff5[_0x2ab59a(0x348)])!=null?_0x1dc8d3:_0x2f0f6d)!=null?_0x4c1888:_0x37a70d;}[_0x2e5f4c(0x375)](){const _0x41a5d8=_0x2e5f4c;var _0xe32d46,_0x58b34e;const _0x10df78=this[_0x41a5d8(0x33c)][_0x41a5d8(0x18e)](_0x670d2c),_0x5b48c7=this[_0x41a5d8(0x33c)]['getConfig'](_0x505ac2);return(_0x58b34e=(_0xe32d46=_0x5b48c7==null?void 0x0:_0x5b48c7[_0x41a5d8(0x2e3)])!=null?_0xe32d46:_0x10df78)!=null?_0x58b34e:_0x31c616;}[_0x2e5f4c(0x328)](){const _0x46a091=_0x2e5f4c;var _0x1a1b0d;const _0x512af5=this['_configService']['getConfig'](_0x505ac2);return(_0x1a1b0d=_0x512af5==null?void 0x0:_0x512af5[_0x46a091(0x531)])!=null?_0x1a1b0d:location[_0x46a091(0x4ea)];}[_0x2e5f4c(0x1e4)](_0x41d64c,_0x1755f4){const _0x415cb9=_0x2e5f4c;return _0x41d64c['replace'](_0x415cb9(0x34d),_0x1755f4);}[_0x2e5f4c(0x466)](){const _0x5a3424=_0x2e5f4c;this[_0x5a3424(0x3c7)]-=0x1,this[_0x5a3424(0x13d)][_0x5a3424(0x228)](this[_0x5a3424(0x3c7)]);}},_0x5d9ca9[_0x2e5f4c(0x15f)]=_0x5039f2([_0x402353(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x272b65[_0x2e5f4c(0x4f6)])),_0x402353(0x1,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x402353(0x2,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x373)]))],_0x5d9ca9['ImageIoService']);var _0xf4b7d=Object['defineProperty'],_0xf543b4=Object[_0x2e5f4c(0x4b9)],_0x1ddd89=(_0x1a117d,_0x1e2878,_0x584f45,_0x5088d6)=>{const _0x22939f=_0x2e5f4c;for(var _0x14910d=_0x5088d6>0x1?void 0x0:_0x5088d6?_0xf543b4(_0x1e2878,_0x584f45):_0x1e2878,_0x5857ca=_0x1a117d[_0x22939f(0x310)]-0x1,_0x588302;_0x5857ca>=0x0;_0x5857ca--)(_0x588302=_0x1a117d[_0x5857ca])&&(_0x14910d=(_0x5088d6?_0x588302(_0x1e2878,_0x584f45,_0x14910d):_0x588302(_0x14910d))||_0x14910d);return _0x5088d6&&_0x14910d&&_0xf4b7d(_0x1e2878,_0x584f45,_0x14910d),_0x14910d;},_0x2b5a0d=(_0x4af4b4,_0x2b83bd)=>(_0x35efd9,_0x105a98)=>_0x2b83bd(_0x35efd9,_0x105a98,_0x4af4b4);let _0x221ccc=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0x553ab4,_0x51e11b,_0x2b6ade,_0x39cf3c,_0x17d3d1){const _0x138a99=_0x2e5f4c;super(),this[_0x138a99(0x3bf)]=_0x553ab4,this[_0x138a99(0x546)]=_0x51e11b,this[_0x138a99(0x26c)]=_0x2b6ade,this[_0x138a99(0x538)]=_0x39cf3c,this['_localeService']=_0x17d3d1,this[_0x138a99(0x1c5)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x510bd1=_0x2e5f4c,_0x1200e7=async _0x37b099=>{const _0x5ac0d3=_0x9a79;(await this[_0x5ac0d3(0x538)]['requireSession'](_0x37b099))[_0x5ac0d3(0x394)]['pipe'](_0x58074b['filter'](_0x2a466f=>_0x2a466f[_0x5ac0d3(0x210)]===_0x57fec2[_0x5ac0d3(0x2ff)][_0x5ac0d3(0x2e9)]),_0x58074b[_0x5ac0d3(0x16c)](this[_0x5ac0d3(0x487)]))['subscribe'](_0x30cf09=>{const _0x458fb7=_0x5ac0d3,_0x3dd5c0=_0x30cf09,{reason:_0x39a6d5}=_0x3dd5c0[_0x458fb7(0x51b)];this['_injector'][_0x458fb7(0x578)](_0x43bf7d[_0x458fb7(0x358)])[_0x458fb7(0x4f2)]({'type':_0x4fd8aa['MessageType'][_0x458fb7(0x2c0)],'content':this[_0x458fb7(0x3f9)]['t']('collaboration.closeRoom')+'('+_0x39a6d5+')'}),this[_0x458fb7(0x26c)]['updatePermissionPoint'](new _0x51fcfd[(_0x458fb7(0x349))](_0x37b099)['id'],!0x1),this[_0x458fb7(0x538)][_0x458fb7(0x2ea)](_0x37b099);});};_0x1e8f3c[_0x510bd1(0x249)](this['_univerInstanceService'][_0x510bd1(0x480)](_0x5dd71d[_0x510bd1(0x14d)][_0x510bd1(0x530)]),this['_univerInstanceService'][_0x510bd1(0x480)](_0x5dd71d['UniverInstanceType'][_0x510bd1(0x4de)]))[_0x510bd1(0x31d)](_0x58074b[_0x510bd1(0x4c4)](_0x35e282=>_0x35e282[_0x510bd1(0x29e)]()),_0x58074b[_0x510bd1(0x293)](_0x20fe5b=>!_0x5dd71d[_0x510bd1(0x45e)](_0x20fe5b)),_0x58074b['takeUntil'](this[_0x510bd1(0x487)]))[_0x510bd1(0x3ee)](_0x3180c1=>{_0x1200e7(_0x3180c1);});}[_0x2e5f4c(0x1c5)](){const _0x1af3e7=_0x2e5f4c,_0x3c623e=async _0x117ca8=>{const _0x27074b=_0x9a79;(await this[_0x27074b(0x538)]['requireSession'](_0x117ca8))['event$'][_0x27074b(0x31d)](_0x58074b['filter'](_0x5bf728=>_0x5bf728[_0x27074b(0x210)]===_0x57fec2['CollaborationEvent'][_0x27074b(0x326)]),_0x58074b['takeUntil'](this[_0x27074b(0x487)]))['subscribe'](_0x420a08=>{const _0x49e5c6=_0x27074b,_0x3c4bc9=_0x420a08,{objectId:_0x44fe7e}=_0x3c4bc9[_0x49e5c6(0x51b)],_0x5aaf2e=this[_0x49e5c6(0x3bf)][_0x49e5c6(0x578)](_0x1a18db[_0x49e5c6(0x446)]);_0x44fe7e===_0x117ca8?_0x5aaf2e[_0x49e5c6(0x1c6)](_0x117ca8):_0x5aaf2e[_0x49e5c6(0x528)](_0x117ca8,_0x44fe7e);});};_0x1e8f3c['merge'](this[_0x1af3e7(0x546)][_0x1af3e7(0x480)](_0x5dd71d[_0x1af3e7(0x14d)][_0x1af3e7(0x530)]),this[_0x1af3e7(0x546)]['getTypeOfUnitAdded$'](_0x5dd71d[_0x1af3e7(0x14d)][_0x1af3e7(0x4de)]))[_0x1af3e7(0x31d)](_0x58074b[_0x1af3e7(0x4c4)](_0x53760a=>_0x53760a[_0x1af3e7(0x29e)]()),_0x58074b[_0x1af3e7(0x293)](_0x63d311=>!_0x5dd71d[_0x1af3e7(0x45e)](_0x63d311)),_0x58074b[_0x1af3e7(0x16c)](this[_0x1af3e7(0x487)]))[_0x1af3e7(0x3ee)](_0x4477aa=>{_0x3c623e(_0x4477aa);});}};_0x221ccc=_0x1ddd89([_0x2b5a0d(0x0,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2b5a0d(0x1,_0x5dd71d['IUniverInstanceService']),_0x2b5a0d(0x2,_0x5dd71d['IPermissionService']),_0x2b5a0d(0x3,_0x5dd71d['Inject'](_0x5d9ca9['CollaborationSessionService'])),_0x2b5a0d(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x23d)]))],_0x221ccc);var _0x2fb834=Object[_0x2e5f4c(0x2c2)],_0x41f41c=Object[_0x2e5f4c(0x4b9)],_0x32bce7=(_0x3cba9f,_0x46b316,_0xc8f078,_0x21c3cd)=>{const _0x49f534=_0x2e5f4c;for(var _0x533913=_0x21c3cd>0x1?void 0x0:_0x21c3cd?_0x41f41c(_0x46b316,_0xc8f078):_0x46b316,_0x465e63=_0x3cba9f[_0x49f534(0x310)]-0x1,_0x146771;_0x465e63>=0x0;_0x465e63--)(_0x146771=_0x3cba9f[_0x465e63])&&(_0x533913=(_0x21c3cd?_0x146771(_0x46b316,_0xc8f078,_0x533913):_0x146771(_0x533913))||_0x533913);return _0x21c3cd&&_0x533913&&_0x2fb834(_0x46b316,_0xc8f078,_0x533913),_0x533913;},_0x51dd5c=(_0x2e3507,_0x443407)=>(_0x1fe8c1,_0x3461b2)=>_0x443407(_0x1fe8c1,_0x3461b2,_0x2e3507);_0x5d9ca9['SnapshotServerOverHTTPService']=class{constructor(_0x451bdf,_0x4c64be){const _0x23026b=_0x2e5f4c;this[_0x23026b(0x33c)]=_0x451bdf,this[_0x23026b(0x185)]=_0x4c64be;}async[_0x2e5f4c(0x3dd)](_0x1dea9e,_0x55e5fc){const _0x5eeb48=_0x2e5f4c;var _0x2e0e62;const {unitID:_0x1e5f98,type:_0x53b75d,revision:_0x200bae=0x0}=_0x55e5fc,_0x206531=this[_0x5eeb48(0x36f)]()+'/'+_0x53b75d+_0x5eeb48(0x28b)+_0x1e5f98+_0x5eeb48(0x34c)+_0x200bae,_0x11173c=(await this['_httpService'][_0x5eeb48(0x578)](_0x206531))[_0x5eeb48(0x2de)],_0x3d5088=(_0x2e0e62=_0x11173c[_0x5eeb48(0x40a)])==null?void 0x0:_0x2e0e62[_0x5eeb48(0x312)];if(_0x3d5088){const _0x1098c3=_0x3d5088==null?void 0x0:_0x3d5088[_0x5eeb48(0x4f9)],_0x2222f0=_0x57fec2['textEncoder'][_0x5eeb48(0x3ba)](_0x57fec2[_0x5eeb48(0x21b)](_0x1098c3));_0x3d5088[_0x5eeb48(0x4f9)]=_0x2222f0,Object['entries'](_0x3d5088[_0x5eeb48(0x274)])[_0x5eeb48(0x3e9)](([,_0x4ec32d])=>{const _0x55460c=_0x5eeb48,_0xaba9a8=_0x4ec32d['originalMeta'],_0x4ace0f=_0x57fec2[_0x55460c(0x226)][_0x55460c(0x3ba)](_0x57fec2[_0x55460c(0x21b)](_0xaba9a8));_0x4ec32d[_0x55460c(0x4f9)]=_0x4ace0f;});}return _0x11173c;}async[_0x2e5f4c(0x30a)](_0x1dd1a8,_0x5b8e04){const _0x310689=_0x2e5f4c,{unitID:_0x343887,type:_0x30a158,blockID:_0x3b3adb}=_0x5b8e04,_0x2af3d3=this[_0x310689(0x2bc)]()+'/'+_0x30a158+_0x310689(0x28b)+_0x343887+_0x310689(0x4b8)+_0x3b3adb;return(await this[_0x310689(0x185)][_0x310689(0x578)](_0x2af3d3))[_0x310689(0x2de)];}async[_0x2e5f4c(0x566)](_0x475de0,_0x594d98){const _0x32debc=_0x2e5f4c,{unitID:_0x3fb7bd,type:_0x442f08,blockID:_0x5d88c7}=_0x594d98,_0x39805b=this[_0x32debc(0x2bc)]()+_0x32debc(0x4b8)+_0x442f08+_0x32debc(0x28b)+_0x3fb7bd+_0x32debc(0x4b8)+_0x5d88c7;return(await this['_httpService']['get'](_0x39805b))[_0x32debc(0x2de)];}async[_0x2e5f4c(0x335)](_0x297b27,_0x25c1de){const _0x10ac3e=_0x2e5f4c,{unitID:_0x10ddad,type:_0x97db25,from:_0x423666,to:_0x17b217}=_0x25c1de,_0x1ee026=this['_getAPIPrefix']()+'/'+_0x97db25+_0x10ac3e(0x28b)+_0x10ddad+_0x10ac3e(0x337)+_0x423666+_0x10ac3e(0x559)+_0x17b217;return(await this['_httpService'][_0x10ac3e(0x578)](_0x1ee026))[_0x10ac3e(0x2de)];}[_0x2e5f4c(0x36f)](){const _0x165aeb=_0x2e5f4c;var _0x41dc62;return(_0x41dc62=this[_0x165aeb(0x33c)][_0x165aeb(0x18e)](_0x5d6fbd))!=null?_0x41dc62:this['_getAPIPrefix']();}[_0x2e5f4c(0x2bc)](){const _0x80d30f=_0x2e5f4c;var _0xfef980,_0x3da3e2;const _0x41c134=this['_configService'][_0x80d30f(0x18e)](_0x29ec86),_0x392600=this[_0x80d30f(0x33c)]['getConfig'](_0x505ac2);return(_0x3da3e2=(_0xfef980=_0x392600==null?void 0x0:_0x392600[_0x80d30f(0x227)])!=null?_0xfef980:_0x41c134)!=null?_0x3da3e2:_0x65c2a1;}async[_0x2e5f4c(0x40f)](_0x1bb394,_0x1f5075){const _0x438864=_0x2e5f4c,_0x534df5=_0x438864(0x14f)+_0x1f5075[_0x438864(0x4c7)]+_0x438864(0x28b)+_0x1f5075[_0x438864(0x145)]+_0x438864(0x518);return(await this[_0x438864(0x185)][_0x438864(0x578)](_0x534df5,{'params':{'resourceId':JSON[_0x438864(0x4eb)](_0x1f5075[_0x438864(0x1e5)])}}))[_0x438864(0x2de)];}[_0x2e5f4c(0x20f)](){const _0x2183a0=_0x2e5f4c;throw new Error(_0x2183a0(0x414));}[_0x2e5f4c(0x39d)](){const _0x4dbfda=_0x2e5f4c;throw new Error(_0x4dbfda(0x414));}['saveChangeset'](){const _0x38137a=_0x2e5f4c;throw new Error(_0x38137a(0x414));}[_0x2e5f4c(0x1a8)](){const _0x53823e=_0x2e5f4c;throw new Error(_0x53823e(0x414));}[_0x2e5f4c(0x44d)](){const _0xe36de2=_0x2e5f4c;throw new Error(_0xe36de2(0x414));}},_0x5d9ca9[_0x2e5f4c(0x219)]=_0x32bce7([_0x51dd5c(0x0,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x51dd5c(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x272b65[_0x2e5f4c(0x4f6)]))],_0x5d9ca9[_0x2e5f4c(0x219)]);var _0x275a29=Object[_0x2e5f4c(0x2c2)],_0x33f350=Object[_0x2e5f4c(0x4b9)],_0x3e3c83=(_0x306b11,_0x429a35,_0x4ca817,_0x129568)=>{for(var _0xa97e1b=_0x129568>0x1?void 0x0:_0x129568?_0x33f350(_0x429a35,_0x4ca817):_0x429a35,_0x2695d5=_0x306b11['length']-0x1,_0x462529;_0x2695d5>=0x0;_0x2695d5--)(_0x462529=_0x306b11[_0x2695d5])&&(_0xa97e1b=(_0x129568?_0x462529(_0x429a35,_0x4ca817,_0xa97e1b):_0x462529(_0xa97e1b))||_0xa97e1b);return _0x129568&&_0xa97e1b&&_0x275a29(_0x429a35,_0x4ca817,_0xa97e1b),_0xa97e1b;},_0xd1ef65=(_0x409822,_0x1fb005)=>(_0x5648bb,_0x1d0310)=>_0x1fb005(_0x5648bb,_0x1d0310,_0x409822);let _0x4a863f=class extends _0x5dd71d['LocalUndoRedoService']{constructor(_0x248516,_0x4d3928,_0x11d4bb,_0x5d15cc,_0x2f8627){const _0x1cd78e=_0x2e5f4c;super(_0x248516,_0x4d3928,_0x11d4bb),this[_0x1cd78e(0x1a4)]=_0x5d15cc,this[_0x1cd78e(0x55b)]=_0x2f8627;}[_0x2e5f4c(0x3fb)](_0x367c0f,_0x7a2b24){const _0x25feeb=_0x2e5f4c,_0x25d818=this[_0x25feeb(0x44a)](_0x367c0f);if(_0x25d818)try{const _0xe933a3=this['_transformStack'](_0x25d818,_0x7a2b24);this[_0x25feeb(0x1f5)](_0x367c0f,_0xe933a3);}catch(_0x2ac00d){this[_0x25feeb(0x55b)][_0x25feeb(0x2ac)](_0x25feeb(0x3a2),_0x2ac00d),this[_0x25feeb(0x434)](_0x367c0f);}const _0xaa21a=this[_0x25feeb(0x461)](_0x367c0f);if(_0xaa21a)try{const _0x30aab4=this[_0x25feeb(0x46e)](_0xaa21a,_0x7a2b24);this['_substituteRedoStack'](_0x367c0f,_0x30aab4);}catch(_0x2e6c1f){this[_0x25feeb(0x55b)][_0x25feeb(0x2ac)](_0x2e6c1f),this['_clearRedo'](_0x367c0f);}}[_0x2e5f4c(0x434)](_0x5ac50c){const _0x30a48b=this['_getUndoStack'](_0x5ac50c);_0x30a48b&&(_0x30a48b['length']=0x0,this['_updateStatus']());}[_0x2e5f4c(0x325)](_0x441c1b){const _0x142ba5=_0x2e5f4c,_0x52ac70=this[_0x142ba5(0x461)](_0x441c1b);_0x52ac70&&(_0x52ac70['length']=0x0,this[_0x142ba5(0x3ce)]());}['_substituteUndoStack'](_0x4742b3,_0x4216ea){const _0x4cb2bc=_0x2e5f4c;this[_0x4cb2bc(0x244)][_0x4cb2bc(0x246)](_0x4742b3,_0x4216ea),this[_0x4cb2bc(0x3ce)]();}[_0x2e5f4c(0x56b)](_0x5cc142,_0x1d05bf){const _0x1ad192=_0x2e5f4c;this[_0x1ad192(0x23b)][_0x1ad192(0x246)](_0x5cc142,_0x1d05bf),this['_updateStatus']();}[_0x2e5f4c(0x46e)](_0x51e99d,_0xaabd99){const _0x3238d8=_0x2e5f4c,_0x116865=[];let _0x3df835=_0xaabd99,_0xca04f2=_0xaabd99;for(let _0x74c008=_0x51e99d[_0x3238d8(0x310)]-0x1;_0x74c008>=0x0;_0x74c008--){const {unitID:_0x43a129,undoMutations:_0x33101d,redoMutations:_0x25885e}=_0x51e99d[_0x74c008],_0x3c131f=this['_transformService'][_0x3238d8(0x322)](_0x3df835,_0x33101d),_0x4d2aec=this[_0x3238d8(0x1a4)]['transformMutationsWithChangeset'](_0xca04f2,_0x25885e);if(_0x57fec2[_0x3238d8(0x1b2)](_0x3c131f)||_0x57fec2[_0x3238d8(0x1b2)](_0x4d2aec)){this[_0x3238d8(0x55b)][_0x3238d8(0x2ac)](_0x3238d8(0x3a2),_0x3238d8(0x1c1),_0x3c131f,_0x4d2aec);break;}_0x3df835=_0x3c131f['c1Prime'],_0xca04f2=_0x4d2aec[_0x3238d8(0x2af)],_0x116865[_0x3238d8(0x36b)]({'unitID':_0x43a129,'undoMutations':_0x3c131f[_0x3238d8(0x453)],'redoMutations':_0x4d2aec['m2Prime']});}return _0x116865['reverse']();}};_0x4a863f=_0x3e3c83([_0xd1ef65(0x0,_0x5dd71d[_0x2e5f4c(0x373)]),_0xd1ef65(0x1,_0x5dd71d[_0x2e5f4c(0x160)]),_0xd1ef65(0x2,_0x5dd71d[_0x2e5f4c(0x4fe)]),_0xd1ef65(0x3,_0x57fec2[_0x2e5f4c(0x52d)]),_0xd1ef65(0x4,_0x5dd71d[_0x2e5f4c(0x2dc)])],_0x4a863f);class _0x1084d2 extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(){const _0x368ffc=_0x2e5f4c;super(),_0x30b9f2(this,_0x368ffc(0x1ea)),this['urlChange$']=_0x1e8f3c['fromEvent'](window,_0x368ffc(0x472))[_0x368ffc(0x31d)](_0x1e8f3c[_0x368ffc(0x16c)](this[_0x368ffc(0x487)]),_0x1e8f3c[_0x368ffc(0x3f7)](0x1),_0x1e8f3c['mapTo'](void 0x0));}[_0x2e5f4c(0x4f7)](_0x557b8d,_0x3437b0,_0x3fb8f2=!0x1){const _0x2f14a4=_0x2e5f4c,_0x2cc1f1=new URL(window['location'][_0x2f14a4(0x43a)]);_0x2cc1f1[_0x2f14a4(0x223)]['set'](_0x557b8d,_0x3437b0),_0x3fb8f2?window[_0x2f14a4(0x3f4)][_0x2f14a4(0x19e)]('','',_0x2cc1f1[_0x2f14a4(0x46f)]()):window[_0x2f14a4(0x3f4)]['pushState']('','',_0x2cc1f1[_0x2f14a4(0x46f)]());}['removeParam'](_0x1d149f,_0x1d4a9e=!0x1){const _0x396cb5=_0x2e5f4c,_0xdd83e5=new URL(window[_0x396cb5(0x443)][_0x396cb5(0x43a)]);_0xdd83e5['searchParams'][_0x396cb5(0x370)](_0x1d149f),_0x1d4a9e?window[_0x396cb5(0x3f4)][_0x396cb5(0x19e)]('','',_0xdd83e5[_0x396cb5(0x46f)]()):window[_0x396cb5(0x3f4)]['pushState']('','',_0xdd83e5['toString']());}[_0x2e5f4c(0x258)](_0x137812){const _0x5c5ea4=_0x2e5f4c;var _0x3b77a0;return(_0x3b77a0=new URL(window['location']['href'])[_0x5c5ea4(0x223)][_0x5c5ea4(0x578)](_0x137812))!=null?_0x3b77a0:void 0x0;}}var _0x5d7629=Object[_0x2e5f4c(0x2c2)],_0x2fa103=Object[_0x2e5f4c(0x4b9)],_0x2dbfcd=(_0x589924,_0x2eec2a,_0x195965)=>_0x2eec2a in _0x589924?_0x5d7629(_0x589924,_0x2eec2a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x195965}):_0x589924[_0x2eec2a]=_0x195965,_0x28e860=(_0x4b042e,_0x27554b,_0x5c46c3,_0x2189a6)=>{const _0x41b578=_0x2e5f4c;for(var _0x743fc7=_0x2189a6>0x1?void 0x0:_0x2189a6?_0x2fa103(_0x27554b,_0x5c46c3):_0x27554b,_0x295a90=_0x4b042e[_0x41b578(0x310)]-0x1,_0x20c756;_0x295a90>=0x0;_0x295a90--)(_0x20c756=_0x4b042e[_0x295a90])&&(_0x743fc7=(_0x2189a6?_0x20c756(_0x27554b,_0x5c46c3,_0x743fc7):_0x20c756(_0x743fc7))||_0x743fc7);return _0x2189a6&&_0x743fc7&&_0x5d7629(_0x27554b,_0x5c46c3,_0x743fc7),_0x743fc7;},_0x339dc8=(_0x3b0a57,_0x43d7b7)=>(_0x61db9d,_0x242a1e)=>_0x43d7b7(_0x61db9d,_0x242a1e,_0x3b0a57),_0x1dc116=(_0x5c9642,_0x130ce3,_0x49f6a3)=>_0x2dbfcd(_0x5c9642,_0x130ce3+'',_0x49f6a3);const _0x94f4dc=_0x2e5f4c(0x2e8);_0x5d9ca9[_0x2e5f4c(0x37f)]=class extends _0x5dd71d['Plugin']{constructor(_0x386a5d=_0x51e182,_0x508d08,_0x311e6b,_0x29ba3a,_0x2e9943){const _0x325e1a=_0x2e5f4c;super(),this['_config']=_0x386a5d,this[_0x325e1a(0x55b)]=_0x508d08,this[_0x325e1a(0x29d)]=_0x311e6b,this[_0x325e1a(0x3bf)]=_0x29ba3a,this[_0x325e1a(0x33c)]=_0x2e9943;const {..._0x29966e}=this[_0x325e1a(0x18b)];this[_0x325e1a(0x33c)][_0x325e1a(0x53a)](_0x505ac2,_0x29966e);}[_0x2e5f4c(0x2ab)](){const _0xeadfc9=_0x2e5f4c;this[_0xeadfc9(0x403)](),_0x5dd71d[_0xeadfc9(0x29b)](this[_0xeadfc9(0x3bf)],[[_0x493e0c],[_0x5d9ca9[_0xeadfc9(0x345)]],[_0x221ccc]]);}[_0x2e5f4c(0x1f4)](){const _0x20910b=_0x2e5f4c;_0x5dd71d[_0x20910b(0x29b)](this['_injector'],[[_0x3960cb]]);}[_0x2e5f4c(0x2c1)](){const _0x323dd0=_0x2e5f4c;this[_0x323dd0(0x42e)]();}[_0x2e5f4c(0x403)](){const _0x10a10a=_0x2e5f4c;var _0x2298d5,_0x346c87,_0x4d76a5,_0x4e0e3b;this[_0x10a10a(0x3bf)][_0x10a10a(0x477)](_0x5dd71d[_0x10a10a(0x302)])&&this[_0x10a10a(0x55b)][_0x10a10a(0x2ac)]('[UniverCollaborationClientPlugin]',_0x10a10a(0x419));let _0x281b4c=[[_0x5dd71d[_0x10a10a(0x302)],{'useClass':_0x4a863f}],[_0x5d9ca9[_0x10a10a(0x4cb)]],[_0x5491d3],[_0x272b65[_0x10a10a(0x4f6)]],[_0x382397,{'useClass':_0x1084d2}],[_0x266f31],[_0x5d9ca9[_0x10a10a(0x557)]],[_0x272b65[_0x10a10a(0x353)]],[_0x1c7bc3],[_0x54ffaf],[_0x4979f6],[_0x55fe8c],[_0x2d3b16],[_0x535a03],[_0x4e977c],[_0x221ccc],[_0x3b499d,{'useClass':(_0x346c87=(_0x2298d5=this['_config'])==null?void 0x0:_0x2298d5[_0x10a10a(0x148)])!=null?_0x346c87:_0x5d9ca9[_0x10a10a(0x485)]}],[_0x272b65[_0x10a10a(0x537)],{'useClass':_0x272b65[_0x10a10a(0x1b9)]}],[_0x57fec2[_0x10a10a(0x4bc)],{'useClass':_0x5d9ca9[_0x10a10a(0x219)]}],[_0x5dd71d[_0x10a10a(0x500)],{'useClass':_0x5d9ca9[_0x10a10a(0x144)]}],[_0x1cf942[_0x10a10a(0x32f)],{'useClass':_0x5d9ca9[_0x10a10a(0x15f)]}],[_0x5d9ca9[_0x10a10a(0x548)]],[_0x5d9ca9[_0x10a10a(0x345)]],[_0x5d9ca9[_0x10a10a(0x23a)]],[_0x3960cb],[_0x493e0c]];(_0x4d76a5=this[_0x10a10a(0x18b)])!=null&&_0x4d76a5['enableSingleActiveInstanceLock']&&_0x281b4c[_0x10a10a(0x36b)]([_0x3ed5e0,{'useClass':_0x35f67a}]),_0x281b4c=_0x5dd71d[_0x10a10a(0x264)](_0x281b4c,(_0x4e0e3b=this[_0x10a10a(0x18b)])==null?void 0x0:_0x4e0e3b[_0x10a10a(0x35c)]),_0x281b4c[_0x10a10a(0x3e9)](_0x112b36=>this[_0x10a10a(0x3bf)][_0x10a10a(0x323)](_0x112b36)),this['_initModules']();}[_0x2e5f4c(0x42e)](){const _0x42a649=_0x2e5f4c;this[_0x42a649(0x360)](this[_0x42a649(0x29d)]['registerRenderModule'](_0x5dd71d['UniverInstanceType'][_0x42a649(0x4de)],[_0x2c8022])),this[_0x42a649(0x360)](this[_0x42a649(0x29d)][_0x42a649(0x545)](_0x5dd71d[_0x42a649(0x14d)][_0x42a649(0x530)],[_0x266750]));}['_initModules'](){const _0x57063c=_0x2e5f4c;var _0x207538,_0x34cf9d;this[_0x57063c(0x3bf)][_0x57063c(0x578)](_0x272b65[_0x57063c(0x4f6)])[_0x57063c(0x2e7)]({'priority':0x14,'interceptor':_0x272b65[_0x57063c(0x4d9)]({'maxParallel':0x6})}),this[_0x57063c(0x3bf)][_0x57063c(0x578)](_0x535a03),(_0x207538=this[_0x57063c(0x18b)])!=null&&_0x207538[_0x57063c(0x177)]||this[_0x57063c(0x3bf)][_0x57063c(0x578)](_0x5d9ca9[_0x57063c(0x557)])[_0x57063c(0x364)](),(_0x34cf9d=this['_config'])!=null&&_0x34cf9d[_0x57063c(0x189)]&&this['_injector']['get'](_0x2d3b16),this[_0x57063c(0x3bf)][_0x57063c(0x578)](_0x5d9ca9['CollaborationController']),this[_0x57063c(0x3bf)]['has'](_0x5d9ca9[_0x57063c(0x23a)])&&this[_0x57063c(0x3bf)][_0x57063c(0x578)](_0x5d9ca9[_0x57063c(0x23a)]);}},_0x1dc116(_0x5d9ca9[_0x2e5f4c(0x37f)],_0x2e5f4c(0x445),_0x94f4dc),_0x5d9ca9[_0x2e5f4c(0x37f)]=_0x28e860([_0x5dd71d[_0x2e5f4c(0x417)](_0x57fec2['UniverCollaborationPlugin']),_0x339dc8(0x1,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x339dc8(0x2,_0x3a6273[_0x2e5f4c(0x341)]),_0x339dc8(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x339dc8(0x4,_0x5dd71d[_0x2e5f4c(0x27c)])],_0x5d9ca9[_0x2e5f4c(0x37f)]),_0x5d9ca9[_0x2e5f4c(0x1bd)]=_0x26e7f1,_0x5d9ca9[_0x2e5f4c(0x2f0)]=_0x1d7910,_0x5d9ca9['COLLAB_WEB_SOCKET_URL_KEY']=_0x447e60,_0x5d9ca9[_0x2e5f4c(0x53e)]=_0x3cd2aa,_0x5d9ca9[_0x2e5f4c(0x3ef)]=_0x133b45,_0x5d9ca9[_0x2e5f4c(0x497)]=_0x4e977c,_0x5d9ca9['HEARTBEAT_INTERVAL_KEY']=_0x1a0de8,_0x5d9ca9['HEARTBEAT_TIMEOUT_KEY']=_0xa604e8,_0x5d9ca9[_0x2e5f4c(0x481)]=_0x3b499d,_0x5d9ca9['IURLService']=_0x382397,_0x5d9ca9[_0x2e5f4c(0x4e8)]=_0x1e8c54,_0x5d9ca9[_0x2e5f4c(0x2dd)]=_0x33aae3,_0x5d9ca9[_0x2e5f4c(0x426)]=_0xa4649a,_0x5d9ca9[_0x2e5f4c(0x36e)]=_0x1578f7,_0x5d9ca9[_0x2e5f4c(0x35f)]=_0x29ec86,_0x5d9ca9['SNAPSHOT_URL_KEY']=_0x5d6fbd,_0x5d9ca9['SessionStatus']=_0x4add37,_0x5d9ca9[_0x2e5f4c(0x540)]=_0x5704e4,_0x5d9ca9[_0x2e5f4c(0x4d1)]=_0x1084d2,_0x5d9ca9[_0x2e5f4c(0x3fe)]=_0x2ff0f2,_0x5d9ca9[_0x2e5f4c(0x141)]=_0x17b168,Object['defineProperty'](_0x5d9ca9,Symbol[_0x2e5f4c(0x28c)],{'value':'Module'});}));