@univerjs-pro/collaboration-client 0.2.13 → 0.2.15

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 _0x3242(_0x3d34f1,_0x177d6e){const _0x41204f=_0x4120();return _0x3242=function(_0x324287,_0x5eac9d){_0x324287=_0x324287-0x115;let _0x25395e=_0x41204f[_0x324287];return _0x25395e;},_0x3242(_0x3d34f1,_0x177d6e);}function _0x4120(){const _0xe92048=['rev','HELLO','_onMessage','debug','m2Prime','substring','newValue','transformIMECache','React','HEARTBEAT_TIMEOUT_KEY','FileId','permission.content','onSendChangeset','_remoteChangesetQueue','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_shouldReportTelemetry','_removeCollabCursors','serializeCombRequest','SUCCUSS','_tryEnsureSocket','IAuthzIoService','_queuedRemoteChangesets','_timeoutTimer','_online','blue400','_state','_onConnectionOpen','_removeRoom','reconnect','Optional','_startDocCollabCursor','/role','actions','SEND_CHANGESET_TIMEOUT','[PendingState]:\x20received\x20rejection.','deserializeToCombResponse','shareReplay','onSyncEditingCollabCursor','urlChange$','UniverInstanceType','getActiveRange','_status$','popstate','_initStatusListener','UPDATE_CURSOR','assignAColorForMemberID','_undoStacks','SUBMIT_CHANGESET','selections','_collabCursorController','_handleJoinEvent','c1Prime','duration','UniverCollaborationPlugin','liveShareNewHost','collaboration-client.offline-data-not-saved','off-line-single','parseChangesetToProtocol','collaboration_new_changeset','univerjs-icon\x20univerjs-icon-','collabStatus.notCollab','_unitOnClients','transformStack\x20failed!','_collabCursorState$','toRgbString','IRenderManagerService','_handleEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','editing\x20status\x20changed\x20to','saveImage','send','getUniverSheetInstance','from','_saveTaskMap','_send','Error','_incrementRevisionNumber','sessionStatus','collaborators','sheetId','SetTextSelectionsOperation','_getSendChangesetTimeout','setCurrentUser','isPermissionRej','_renderManagerService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_cachedData','_replaceFileID','startTime','_scheduleSaving','updateCollaborator','UPDATE_PERMISSION_OBJ','UniverCore','_onRemoteACK','push','removeMember','disableLocalCache','ISnapshotServerService','UnitEmbedded','getOwnPropertyDescriptor','hovered','LIVESHARE_REQUEST_HOST','addEventListener','CollaborationSocketService','_labelPosition','LocalUndoRedoService','apply','_socket$','_localCacheService','b64DecodeUnicode','COLORS','submit\x20changeset\x20error!','_initCloseConn','RETRY_CONNECTING_INTERVAL_KEY','measureText','setInterval','useDependency','3048471ZiCZyY','BASE64','add','_type','find','encode','univer-offline','PERMISSION_REJ','InsertRangeMoveDownCommandId','univer-online-status','_loadDoc','awaiting','replace','FAIL','[CollaborationState]:\x20apply\x20error!','_transformUndoRedoStack','_docTransformSelectionsService','cursorInfo$','_updateStatus','parseProtocolChangeset','_sendingTimer','getUnitType','_transformRemoteChangesetByIMECache','session.connection-failed','string','univer-online-status-icon','_createHandler','_configService','onlineStatusTitle','takeUntil','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_collaborationSessionService','_startSheetCollabCursor','unload','CONNECTOR_DATA_TOO_LARGE','commentUpdate$','_stopTelemetryCollaborationNewChangeset','connectInjector','file','MessageType','_id','DocIMEInputManagerService','_refreshCollabCursors','result','LocaleService','getRelativeToViewportCoord','history','parse','0\x200\x2017\x2016','onPointerMove$','_executeRemoteChangeset','_disableEditing','objectActions','onlyLocal','UNKNOWN_CODE','lodash/debounce','fill','@univerjs/drawing','MoveRangeCommandId','@univerjs/docs-ui','_registerDependencies','connection\x20error','generateRandomId','_onConflict','_startTelemetryCollaborationNewChangeset','call','NodePositionConvertToRectRange','_colorIndex','/allowed','changesets','sequenceExecute','addObjects','RefRangeService','onPointerLeave$','RichTextEditingMutation','[PendingState]:\x20unhandled\x20univer\x20type:\x20','createCollaborator','useCallback','rxjs','_updateSubUnitFromURLParams','IRemoteInstanceService','failed\x20to\x20apply\x20missed\x20changesets!','DEFAULT_FILE_NAME','ImageIoService','textEncoder','_getMergeRange','JOIN','_snapshotService','_socket','_urlService','_unlockTransition','image/png','XHRHTTPImplementation','_startCollaboration','getActiveSheet','/universer-api/authz','isValidRectRange','state','_transformUndoredo','replaceState','get','_listenToOfflineEvent','[CollaborationSession]','transformByState','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','red300','APPLY_REVISION_CONFILICT','registerRenderModule','_telemetryService','_lockTransition','_transformPreviousActiveRange','_scheduleTimestamp','univer-pro.collaboration-client-socket-service','DocStateChangeManagerService','LIVESHARE_OPERATION','_handler','DataLoaderController','_onFetchMissResult','NO_OTHER_CLIENTS_EDITING','requestParams','_initResize','target','reject','liveShareOperation','debounce','onStarting','type','assign','color','AuthzIoHttpService','range','_getAPIPrefixPath','_hovered','session.collaboration-timeout','LICENSE_EXPORT_SIZE_EXCEEDED','UNIVER_SLIDE','objectID','subscribeEvent','state$','[CollaborationUndoRedoService]','trim','/resources','onRemoteRej','subscribe','clear','on-line-single_clip0_910_349','_scheduleCollaborationTimeoutTimer','@univerjs/sheets-ui','_awaitingChangeset','unknown','COMPRESS_MUTATION_APPLY','Shape','getImageSourceCache','reverse','onTransformRemoteChangesetByIMECache','editingUnit','text','_collabSessionService','_sessionStatus$','COMPLETION_FINISHED','Starting','INGEST','disposeWithMe','SheetSkeletonManagerService','_cursors','LEAVE','isArray','_entityInit$','onMouseMove','slice','awaitingChangeset','headers','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','458642YNKPUt','onStateChange','_handleLeaveEvent','row','UniverCollaborationClientPlugin','YUUMI_RATE_OVER_LIMIT','not_collab','includes','YUUMI_UNABLE_LOAD_URL','current','VIEW_MAIN','fetchMissingChangesets','then','body','doc.mutation.rich-text-editing','getCurrentUser','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collabStatus.offline','_syncEditingCollabCursorService','_sessions','getAncestorScale','symbol','/object/','pushState','LICENSE_DISTRO_REJECTED','collaboratorID','TOO_MANY_REQUESTS','RegularPolygon','registerHTTPInterceptor','_substituteUndoStack','USERS_ENTER','font','onMissedChangesetFetched','fromCollab','[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.','onRemoteAck','create','filter','clipPath','override','CollaborationEvent','exhaustSavingTask','params','_drawRectRange','displayName','_onRemoteRejected','newCsEvent','Rectangle','_onJoinRoomEvent','IHTTPImplementation','name','pipe','UNAUTHENTICATED','_substituteRedoStack','_localStorageService','3EmZuKt','_colorAssignService','delete','code','ERROR_IMAGE_TYPE','height','OFFLINE','removeEventListener','transformSelections','transformUndoRedo','1867160iIrJmF','MergeInterceptorFactory','members','handleMoveRange','PERMISSION_DENIED','Steady','getMemberID','_createInitialState','sessionStatus$','_docTransformIMECacheService','error','transformChangesets','beginPath','getOwnPropertySymbols','contains','clsx','revision','resize','SNAPSHOT_INVALID_SNAPSHOT','allowed','eventID','?url=','#fff','drawWith','ColorKit','/new_changes','currentTheme$','_onOffline','sheetID','rxjs/operators','unshift','offline','_scheduleClearOtherTimer','_httpService','_isPermissionRej','[DataLoaderController]','_http','_snapshotServerService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','COLLAB_SUBMIT_CHANGESET_URL','_session','focused$','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','_docSkeletonManagerService','csRejEvent','throttleTime','CHANGESET_REVISION_CONFILICT','useRef','dispose$','_clearOtherTimers','selection','UNIVER_PROJECT','Inject','jiqing500','getCoordByCell','unitID','skeleton','_initModules','_loadSheet','_clearRedo','_onConnectionFailed','collab-text-anchor-','top','univer-online-status-title','merge','_roomMembers$','_messageService','createElement','@univerjs/engine-render','update','_getSignURL','@univerjs/core','listCollaborators','toString','_initUnitPermissionChange','close','@univerjs/ui','_createInitialStateImpl','fillRule','UnitSnapshot','src','_eventUnsubscribe','event$','_handleHover','UniverDocs','_updateState','disposeUnit','_getCtorByUniverType','_getRedoStack','subunit','updateMember','_onLocalMutation','HEARTBEAT_INTERVAL','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/sheets','_scheduleHeartbeat','IUIPartsService','status','_getScale','VIEWPORT_KEY','key','indexOf','_assignedColors','_unitID','_updateLocalCache','CollaborationController','getMember','_updateLocalCursor','deserializeRangeWithSheet','deleteCollaborator','_init','setItem','getCurrentRevForDocument','updatePermissionObjEvent','registerOnClose','/collaborator','executeCommand','location','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','delay','baseRev','_cursorShapes','conflict.title','asObservable','mergeOverrideWithDependencies','_cursorInfo$','socket\x20open.','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_toggleOffline','COLLAB_SUBMIT_CHANGESET_URL_KEY','collab-rect-range-','stopTime','JSONX','idSuffix','_updateCollabCursors','collaboration-session-retry','_textBubble','defIds','UNIVER_UNKNOWN','url','_clearUndo','_change$','_lastPointer','fromEvent','updateCursorEvent','isTransformMutationFailure','_onCursorUpdate','getColor','M0\x200H16V16H0z','\x20to\x20','currentSkeleton$','_onRemoteChangeset','enableOfflineEditing','textRanges','infoRsp','AWAITING','getUndoRedoMutationParamsCache','ThemeService','length','SnapshotServerOverHTTPService','_onRecvEvent','Workbook','ThresholdInterceptorFactory','PENDING','_name','map','collaboration.single-unit.warning','_acknowledgedAwaitingChangeset','arc','_disabled','with','width','onCommentUpdate','726174GJaAHd','onTransformChange$','children','set','setAlpha','_roomMembers','svg','_handleHeartbeatEvent','distinctUntilChanged','getCollabEntity','LOGIN_URL_KEY','registerBeforeClose','synced','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_decreaseWaiting','interceptor','getItem','rgba(255,\x20255,\x20255,\x200.01)','_retryCount','mapTo','UniverTelemetry','_getSaveTimeout','memberID','handleInsertCol','black','_collaborationTimeoutTimer','setActiveRange','createSocket','href','now','complete','json','loadOfflineData','addObject','HEADER_MENU','/-/object/-/batch_allowed','_undoRedoService','fetchThroughInterceptors','_getSnapshotAPIPrefix','_singleActiveUnitService','_transformIMECache','take','isTransformMutationsWithChangesetSuccess','on-line-single','error$','put','Rect','JOINING','924759cHubce','[CollaborationEntity]','FromArray','MSG_FOR_ERROR','#FFF','ImageUploadStatusType','max','_memberService','SheetCollaborationEntity','_sendHeartbeat','OnLifecycle','appendMutation','collab-text-range-','IDLE','/universer-api/snapshot/','initWorkbookPermissionChange','_getSheetObject','CollaborationSession','getRenderById','endColumn','_anchor','Plugin','getImage','responseType','HttpImport','bottom','conflict','@univerjs/engine-formula','USERS_LEAVE','enableSingleActiveInstanceLock','_saveCache','APPLY_PERMISSION_DENIED','makeDirty','socket$','_transformSelections','translate(.97)','COMMENT_UPDATE','getUnitOnRev','UniverCollaborationClient','LOCAL_CACHE_INTERVAL_KEY','_imageSourceCache','DisposableCollection','getResourcesRequest','RevisionService','DependentOn','collabStatus.synced','handleDeleteRangeMoveUp','loadDoc','Undefined','_docSyncEditingCollabCursorService','[SyncedState]:\x20received\x20acknowledgement.','handleInsertRow','colorChannel1','backgroundColor','ERROR_EXCEED_SIZE','batchAllowed','SetDocZoomRatioOperation','Tools','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','IBeforeCloseService','setWaitCount','_exhaustRemoteChangesetQueue','clearInterval','save\x20fail\x20reason\x20is\x20','status$','/rev/','[FetchMissState]','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/block/','registerRefRange','UniverCollaboration','/-/object/list','FETCH_MISSING','getConfig','saveSnapshot','setUndoRedoMutationParamsCache','dispose','_rescheduleHeartbeat','saveSheetBlock','Univer','uni.network.url-service','getSheetBlock','xlink:href','_collaborationController','NodePositionConvertToCursor','runRefRangeMutations','_collaborationPaused','_syncEditingCollabCursor','_removeClearOtherTimer','resend','[SyncedState]:\x20received\x20rejection.','_waitForHeartbeatResponse','Module','defs','defineProperty','BehaviorSubject','_getUploadFileURL','transformMutation','DocSelectionManagerService','SetSelectionsOperation','_injector','_onRefRangeChange','className','&assign=','clearTimeout','RemoveRowCommandId','OffLineSingle','operators','createIdentifier','_scene','method','readAsDataURL','HEARTBEAT','switchMap','_getLoginPath','collabStatus.syncing','[UniverCollaborationClientPlugin]','getSkeleton','url(#on-line-single_clip0_910_349)','IConfigService','_transformStack','searchParams','_getAnchorBounding','_uiPartsService','LIVESHARE_FETCH_OPERATIONS','enableAuthServer','_transformService','session','deepClone','incrementRevForDocument','_drawTextRange','POST','UNIVER_DOC','_onUserLeave','SNAPSHOT_HAS_BEEN_REMOVED','HEARTBEAT_TIMEOUT','refreshPermission','compose','getCollabEntity$','some','onCommandExecuted','prototype','_socketService','CollaborationEntity','TEXT_RANGE_LAYER_INDEX','HTTPRequest','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','forwardRef','_heartbeatTimer','EffectRefRangId','transformMutationsWithChangeset','fillStyle','snapshot','getUnitStatus$','collaboration-client.config','collab-client.tooltip.reconnect','isTransformChangesetsSuccess','_event$','DocSkeletonManagerService','cmd','syncEditingCollabCursor','getUnitId','_render','routeKey','cursorInfo','_waitCount','size','_permissionService','useObservable','objects','UNIVER_SHEET','path','_state$','IImageIoService','every','sheets','div','post','InsertRowCommandId','getFocusedUnit','_entities','reduce','_getCurrentRevision','/unit/','1em','RECV','CHANGESET_REJ','DeleteRangeMoveLeftCommandId','function','univer-online','getUnhiddenWorksheets','_notificationService','\x0aAfter:\x20','Disposable','has','_docSkeleton','SNAPSHOT_SERVER_URL_KEY','handleDeleteRangeMoveLeft','random','unitId','/universer-api/snapshot','_commentUpdate$','_initStatusComponent','INotificationService','IUniverInstanceService','INVALID_ARGUMENT','ICommandService','_onCursorDelete','createInstance','YUUMI_URL_COL_OUT_OF_RANGE','COLLAB_WEB_SOCKET_URL_KEY','_themeService','_joinRoom','_document','_range','_userManagerService','_clearScheduledTask','image/jpg','unitId\x20is\x20not\x20found','_commentService','userID','UniverIcon','combineLatest','hide','unit-cache-','LICENSE_IMPORT_SIZE_EXCEEDED','_localeService','_initCommandExecutedListener','MUTATION','requireSession','_clearCollaborationTimeoutTimer','roomInfos','getRangePointData','purple300','0\x200\x2016\x2016','RemoveColCommandId','...','next','_showConflictNotification','open$','SnapshotService','ERROR_IMAGE','@univerjs/design','Tooltip','_getAPIPrefix','entries','CompressMutationService','off-line-single_clip0_910_343','verdancy600','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','serializeRangeWithSheet','_ensureSubject','UniverEngineRender','NOT_FOUND','onRemoteChangeset','closeSession','activeSheet$','onlineStatusIcon','close$','toggleOffline','addImageSourceCache','Ready','_updateURLWithCurrentState','setConfig','AWAITING_WITH_PENDING','stringify','56lDROQA','APPLY_REJECT','LIVESHARE_TERMINATE','list','telemetry\x20info\x20is\x20not\x20initialized','ITelemetryService','getDocRanges','_members','append','icon','SYNCED','Warning','triggerDblclick','attrs','getCollabCursors$','RETRY_CONNECTING_MAX_COUNT_KEY','isEditing','DesktopCollaborationStatusDisplayController','getCurrentSelections','getSheetId','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','currentColor','_transitionLocked','forEach','Subject','UNIVER_COLLABORATION_CLIENT_PLUGIN','UNRECOGNIZED','_commandService','onTransformSelections','_onUserJoin','_clearLocalCache','_unitStatus','YUUMI_SUBSCRIPTION_NOT_FOUND','getInterceptPoints','round','_submitChangeset','mutations','online','setTimeout','message$','_socketMessageSubscription','_beforeCloseService','4195035JqlPyg','permissionRejEvent','onPointerEnter$','none','_logService','PSEUDO_FETCH_MISSING_RESULT','getValue','\x20in\x20_schedule.','c2Prime','_drawAnchor','image/jpeg','DocCollaborationEntity','_socketReady','transform','labelPosition','@univerjs/rpc','roomMembers$','[CollaborationSessionService]','InsertSheetMutation','CommandType','listRoles','conflict.content','lineTo','_sendHeartbeatTimer','onload','CollaborationSessionService','toggleOnline','_pendingMutations','_anchorDot','WorkbookEditablePermission','NEW_CHANGESETS','_color','_univerInstanceService','getCurrent','evenodd','_sheetSkeletonManagerService','data','/universer-api/comb','IUndoRedoService','toDisposable','_clearHeartbeatTimer','min','onlineStatus','updateOfflineData','_draw','_candidateSocket','pluginName','replaceTextRanges','_shapes','setParam','_getUndoStack','SNAPSHOT_URL_KEY','getParam','fromEventSubject','_throwTelemetryCollaborationNewChangeset','collabStatus.conflict','save','init','findNodePositionByCharIndex','UniverSheetsUi','8bvDbYB','HttpExport','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','extend','ALREADY_EXISTS','_compressMutationService','confirm','setShapeProps','ranges','&source=','joinRsp','concat','_backgroundColor','getTypeOfUnitAdded$','image/bmp','_hideTimer','LIVESHARE_NEW_HOST','storage','moveTo','Injector','COMPRESS_MUTATION_SEND','_HTTPService','_toggleOnline','tag','getCurrentUnitForType','commentUpdateEvent','/universer-api/file/{fileID}/sign-url','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_sheetTransformSelectionsService','SheetCollabCursorShape','LocalCacheService','m1Prime','onMissingChangesets','UniverDocsUi','LifecycleStages','catch','_selfUnitIDs','RxDisposable','originalMeta','_tryReconnect','[PendingState]:\x20received\x20acknowledgement.','getSheetBySheetId','_context','CollaborationStatusDisplay','APPLY_NON_SEQUENTIAL_REVISION','toStringTag','_retryConnectingTimer','FETCH_MISS','react','socketService','fetch_missing','handleInsertRangeMoveDown','split','saveChangeset','transformRemoteChangeset','localeService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_revisionService','@univerjs-pro/collaboration','url(#off-line-single_clip0_910_343)','ILogService','ILocalStorageService','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','IMessageService','_checkMissing','startsWith','debounceTime','_onCombEvent','updatePermissionPoint','lodash','hasOwnProperty','awaiting_with_pending','collabStatus.fetchMiss','_hover','@univerjs/telemetry','amd','_telemetryInfo','values','pending','14711070jzvRoO','getTypeOfUnitDisposed$','roomMembers','ImageSourceType','UniverUi','IPermissionService','ITransformService','_registerRenderDependencies','_clearTimeoutTimer','fetching\x20missing\x20changesets\x20from\x20','unit','image/gif','mapDocumentTypeToUniverType','_setupBeforeClosingHandler','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','column','restore','_schedule','_fetchMissChangesets','@univerjs/docs','_listenToOnlineEvent','SheetPermissionInitController','{fileID}','title','SetWorksheetActivateCommand','_docStateChangeManagerService','CHANGESET_ACK','_initMergeInterceptor','isInternalEditorID','collabCursorState$','objectType','_applyRemoteChangeset','handleIRemoveCol','UniverDrawing','NOT_COLLAB','SHOULD_CLOSE_CONN','_config','Unknown\x20user','getViewport','removeParam','ONLINE','_refRangeService','HTTPService','isTransformMutationsWithChangesetFailure','getRoom','getTime','UNKNOWN_CMD','OTHER_CLIENTS_EDITING','unsubscribe','show'];_0x4120=function(){return _0xe92048;};return _0x4120();}(function(_0x31114d,_0x2a6816){const _0x11b25d=_0x3242,_0x37db2a=_0x31114d();while(!![]){try{const _0x3d1cb6=parseInt(_0x11b25d(0x52f))/0x1*(parseInt(_0x11b25d(0x4f8))/0x2)+parseInt(_0x11b25d(0x1e5))/0x3+-parseInt(_0x11b25d(0x539))/0x4+-parseInt(_0x11b25d(0x319))/0x5+parseInt(_0x11b25d(0x1b5))/0x6*(-parseInt(_0x11b25d(0x2ef))/0x7)+parseInt(_0x11b25d(0x355))/0x8*(parseInt(_0x11b25d(0x44b))/0x9)+parseInt(_0x11b25d(0x3a4))/0xa;if(_0x3d1cb6===_0x2a6816)break;else _0x37db2a['push'](_0x37db2a['shift']());}catch(_0x3dd087){_0x37db2a['push'](_0x37db2a['shift']());}}}(_0x4120,0x81e2d),function(_0x5d3e6e,_0x38363d){const _0x4735e4=_0x3242;typeof exports=='object'&&typeof module<'u'?_0x38363d(exports,require('@univerjs/core'),require('rxjs'),require(_0x4735e4(0x125)),require(_0x4735e4(0x2d7)),require(_0x4735e4(0x154)),require('@univerjs/network'),require(_0x4735e4(0x38f)),require(_0x4735e4(0x39f)),require('@univerjs/docs'),require(_0x4735e4(0x166)),require('@univerjs/docs-ui'),require(_0x4735e4(0x14c)),require('@univerjs/drawing'),require(_0x4735e4(0x200)),require(_0x4735e4(0x482)),require('@univerjs/sheets-ui'),require(_0x4735e4(0x385)),require(_0x4735e4(0x117)),require(_0x4735e4(0x328))):typeof define==_0x4735e4(0x2a1)&&define[_0x4735e4(0x3a0)]?define(['exports',_0x4735e4(0x14f),_0x4735e4(0x499),_0x4735e4(0x125),_0x4735e4(0x2d7),_0x4735e4(0x154),'@univerjs/network',_0x4735e4(0x38f),_0x4735e4(0x39f),_0x4735e4(0x3b7),_0x4735e4(0x166),_0x4735e4(0x486),'@univerjs/engine-render',_0x4735e4(0x484),'@univerjs/engine-formula',_0x4735e4(0x482),_0x4735e4(0x4de),_0x4735e4(0x385),_0x4735e4(0x117),_0x4735e4(0x328)],_0x38363d):(_0x5d3e6e=typeof globalThis<'u'?globalThis:_0x5d3e6e||self,_0x38363d(_0x5d3e6e[_0x4735e4(0x20b)]={},_0x5d3e6e[_0x4735e4(0x432)],_0x5d3e6e[_0x4735e4(0x499)],_0x5d3e6e['rxjs'][_0x4735e4(0x250)],_0x5d3e6e['UniverDesign'],_0x5d3e6e[_0x4735e4(0x3a8)],_0x5d3e6e['UniverNetwork'],_0x5d3e6e[_0x4735e4(0x22b)],_0x5d3e6e[_0x4735e4(0x1c9)],_0x5d3e6e[_0x4735e4(0x15c)],_0x5d3e6e['UniverSheets'],_0x5d3e6e[_0x4735e4(0x376)],_0x5d3e6e[_0x4735e4(0x2e1)],_0x5d3e6e[_0x4735e4(0x3c5)],_0x5d3e6e['UniverEngineFormula'],_0x5d3e6e[_0x4735e4(0x39a)][_0x4735e4(0x4c7)],_0x5d3e6e[_0x4735e4(0x354)],_0x5d3e6e[_0x4735e4(0x3de)],_0x5d3e6e['clsx'],_0x5d3e6e['UniverRpc']));}(this,function(_0x2509f1,_0x3eca57,_0x199df4,_0x46f2f0,_0xf694dc,_0x2ede89,_0x1c2884,_0x1474a0,_0x257ca1,_0x5a15a4,_0x9f218b,_0x58059b,_0x29e386,_0x2a024d,_0x2568c2,_0x7f76a4,_0x346aeb,_0x2b3f02,_0x4b450e,_0x2b3044){'use strict';const _0x3e84f8=_0x3242;var _0x15be70=Object[_0x3e84f8(0x243)],_0x530d6e=(_0x2a040e,_0xfbd25f,_0x46500c)=>_0xfbd25f in _0x2a040e?_0x15be70(_0x2a040e,_0xfbd25f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46500c}):_0x2a040e[_0xfbd25f]=_0x46500c,_0x1de933=(_0x3b741a,_0x5d04a6,_0x3568c8)=>_0x530d6e(_0x3b741a,typeof _0x5d04a6!=_0x3e84f8(0x50d)?_0x5d04a6+'':_0x5d04a6,_0x3568c8);const _0x3ec466='SNAPSHOT_SERVER_URL_KEY',_0xd20306=_0x3e84f8(0x2ad),_0x48129e=_0x3e84f8(0x34c),_0x3580e7=_0x3e84f8(0x3f7),_0x2e0e5e='COLLAB_WEB_SOCKET_URL',_0x640fc5='ws://127.0.0.1:8000/universer-api/comb/connect',_0x14a4f4=_0x3e84f8(0x164),_0x4d3ef7=_0x3e84f8(0x26c),_0x276e46='RETRY_CONNECTING_INTERVAL',_0x424e1f='RETRY_CONNECTING_MAX_COUNT',_0x55047c='LOCAL_CACHE_INTERVAL',_0x11b9bd=_0x3e84f8(0x12f),_0x19d6d8=_0x3e84f8(0x33e),_0x14e0af=_0x3e84f8(0x1bf),_0x3bbd51='/universer-api/oidc/authpage';var _0x121659=(_0x400f94=>(_0x400f94[_0x400f94['UNDEFINED']=0x0]='UNDEFINED',_0x400f94[_0x400f94['OK']=0x1]='OK',_0x400f94[_0x400f94['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x400f94[_0x400f94[_0x3e84f8(0x53d)]=0x3]=_0x3e84f8(0x53d),_0x400f94[_0x400f94[_0x3e84f8(0x2e2)]=0x4]=_0x3e84f8(0x2e2),_0x400f94[_0x400f94[_0x3e84f8(0x52c)]=0x5]=_0x3e84f8(0x52c),_0x400f94[_0x400f94[_0x3e84f8(0x359)]=0x6]=_0x3e84f8(0x359),_0x400f94[_0x400f94[_0x3e84f8(0x2b2)]=0x7]=_0x3e84f8(0x2b2),_0x400f94[_0x400f94[_0x3e84f8(0x512)]=0x8]=_0x3e84f8(0x512),_0x400f94[_0x400f94[_0x3e84f8(0x4ea)]=0x9]=_0x3e84f8(0x4ea),_0x400f94[_0x400f94['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3e84f8(0x136),_0x400f94[_0x400f94[_0x3e84f8(0x11a)]=0x1771]=_0x3e84f8(0x11a),_0x400f94[_0x400f94[_0x3e84f8(0x26b)]=0x1772]=_0x3e84f8(0x26b),_0x400f94[_0x400f94['APPLY_REJECT']=0x1b59]=_0x3e84f8(0x2f0),_0x400f94[_0x400f94[_0x3e84f8(0x381)]=0x1b5a]=_0x3e84f8(0x381),_0x400f94[_0x400f94[_0x3e84f8(0x4b5)]=0x1b5b]=_0x3e84f8(0x4b5),_0x400f94[_0x400f94[_0x3e84f8(0x204)]=0x1b5c]=_0x3e84f8(0x204),_0x400f94[_0x400f94['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3e84f8(0x46d),_0x400f94[_0x400f94['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3e84f8(0x165),_0x400f94[_0x400f94[_0x3e84f8(0x277)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x400f94[_0x400f94[_0x3e84f8(0x2c6)]=0x232b]=_0x3e84f8(0x2c6),_0x400f94[_0x400f94[_0x3e84f8(0x4d1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x400f94[_0x400f94[_0x3e84f8(0x510)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x400f94[_0x400f94[_0x3e84f8(0x500)]=0x2711]=_0x3e84f8(0x500),_0x400f94[_0x400f94[_0x3e84f8(0x2b6)]=0x2712]=_0x3e84f8(0x2b6),_0x400f94[_0x400f94[_0x3e84f8(0x4fd)]=0x2713]=_0x3e84f8(0x4fd),_0x400f94[_0x400f94[_0x3e84f8(0x30f)]=0x2714]=_0x3e84f8(0x30f),_0x400f94[_0x400f94[_0x3e84f8(0x309)]=-0x1]=_0x3e84f8(0x309),_0x400f94))(_0x121659||{}),_0x588a36=(_0x374077=>(_0x374077[_0x374077[_0x3e84f8(0x192)]=0x0]=_0x3e84f8(0x192),_0x374077[_0x374077[_0x3e84f8(0x269)]=0x1]='UNIVER_DOC',_0x374077[_0x374077[_0x3e84f8(0x28f)]=0x2]=_0x3e84f8(0x28f),_0x374077[_0x374077[_0x3e84f8(0x4d2)]=0x3]=_0x3e84f8(0x4d2),_0x374077[_0x374077[_0x3e84f8(0x13b)]=0x4]='UNIVER_PROJECT',_0x374077[_0x374077[_0x3e84f8(0x309)]=-0x1]=_0x3e84f8(0x309),_0x374077))(_0x588a36||{}),_0x2c56e2=(_0x2acd9f=>(_0x2acd9f[_0x2acd9f[_0x3e84f8(0x3d2)]=0x0]=_0x3e84f8(0x3d2),_0x2acd9f[_0x2acd9f['HELLO']=0x1]=_0x3e84f8(0x3d7),_0x2acd9f[_0x2acd9f[_0x3e84f8(0x4a1)]=0x2]=_0x3e84f8(0x4a1),_0x2acd9f[_0x2acd9f[_0x3e84f8(0x4f0)]=0x3]=_0x3e84f8(0x4f0),_0x2acd9f[_0x2acd9f[_0x3e84f8(0x4ec)]=0x4]=_0x3e84f8(0x4ec),_0x2acd9f[_0x2acd9f[_0x3e84f8(0x255)]=0x5]=_0x3e84f8(0x255),_0x2acd9f[_0x2acd9f[_0x3e84f8(0x29e)]=0x6]='RECV',_0x2acd9f[_0x2acd9f[_0x3e84f8(0x309)]=-0x1]='UNRECOGNIZED',_0x2acd9f))(_0x2c56e2||{}),_0x4c0f4a=(_0x10dae5=>(_0x10dae5[_0x10dae5[_0x3e84f8(0x481)]=0x0]=_0x3e84f8(0x481),_0x10dae5[_0x10dae5['OK']=0x1]='OK',_0x10dae5[_0x10dae5['FAIL']=0x2]='FAIL',_0x10dae5[_0x10dae5[_0x3e84f8(0x309)]=-0x1]=_0x3e84f8(0x309),_0x10dae5))(_0x4c0f4a||{}),_0x39a188=(_0x42aa35=>(_0x42aa35[_0x42aa35['Undefined']=0x0]=_0x3e84f8(0x215),_0x42aa35[_0x42aa35[_0x3e84f8(0x1fd)]=0x1]='HttpImport',_0x42aa35[_0x42aa35[_0x3e84f8(0x356)]=0x2]=_0x3e84f8(0x356),_0x42aa35[_0x42aa35[_0x3e84f8(0x438)]=0x3]=_0x3e84f8(0x438),_0x42aa35[_0x42aa35['UnitSnapshot']=0x4]=_0x3e84f8(0x157),_0x42aa35[_0x42aa35['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x42aa35))(_0x39a188||{});function _0x588539(_0x592a2a){const _0x29fda5=_0x3e84f8;var _0x8e4b8a,_0xb4d034,_0xe78a86,_0xcca33a;const _0x470673=_0x592a2a[_0x29fda5(0x33d)],_0x1b7fcd=JSON[_0x29fda5(0x47a)](_0x470673);switch(_0x1b7fcd[_0x29fda5(0x284)]){case _0x2c56e2[_0x29fda5(0x255)]:case _0x2c56e2['HELLO']:{const _0x4b4e2d=_0x1b7fcd[_0x29fda5(0x1a2)];return{..._0x1b7fcd,'data':_0x4b4e2d,'cmd':_0x1b7fcd[_0x29fda5(0x284)]};}case _0x2c56e2[_0x29fda5(0x4a1)]:{const _0x319a68=_0x1b7fcd[_0x29fda5(0x35f)];return{..._0x1b7fcd,'data':_0x319a68,'cmd':_0x1b7fcd['cmd']};}case _0x2c56e2[_0x29fda5(0x29e)]:{const _0x2148f8=_0x1b7fcd['collaMsg'];switch(_0x2148f8[_0x29fda5(0x11c)]){case _0x1474a0[_0x29fda5(0x520)][_0x29fda5(0x452)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':(_0x8e4b8a=_0x2148f8[_0x29fda5(0x31a)])==null?void 0x0:_0x8e4b8a['cs']},'cmd':_0x1b7fcd[_0x29fda5(0x284)]};case _0x1474a0[_0x29fda5(0x520)][_0x29fda5(0x3be)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':(_0xb4d034=_0x2148f8['csAckEvent'])==null?void 0x0:_0xb4d034['cs']},'cmd':_0x1b7fcd[_0x29fda5(0x284)]};case _0x1474a0['CollaborationEvent'][_0x29fda5(0x337)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':(_0xe78a86=_0x2148f8[_0x29fda5(0x526)])==null?void 0x0:_0xe78a86['cs']},'cmd':_0x1b7fcd['cmd']};case _0x1474a0[_0x29fda5(0x520)][_0x29fda5(0x29f)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':(_0xcca33a=_0x2148f8[_0x29fda5(0x134)])==null?void 0x0:_0xcca33a['cs']},'cmd':_0x1b7fcd[_0x29fda5(0x284)]};case _0x1474a0[_0x29fda5(0x520)]['UPDATE_CURSOR']:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':_0x2148f8[_0x29fda5(0x198)]},'cmd':_0x1b7fcd['cmd']};case _0x1474a0[_0x29fda5(0x520)][_0x29fda5(0x516)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':_0x2148f8['joinEvent']},'cmd':_0x1b7fcd['cmd']};case _0x1474a0[_0x29fda5(0x520)][_0x29fda5(0x201)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':_0x2148f8['leaveEvent']},'cmd':_0x1b7fcd[_0x29fda5(0x284)]};case _0x1474a0[_0x29fda5(0x520)][_0x29fda5(0x365)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':_0x2148f8[_0x29fda5(0x40c)]},'cmd':_0x1b7fcd[_0x29fda5(0x284)]};case _0x1474a0[_0x29fda5(0x520)][_0x29fda5(0x261)]:case _0x1474a0[_0x29fda5(0x520)][_0x29fda5(0x4bd)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':_0x2148f8[_0x29fda5(0x4c6)]},'cmd':_0x1b7fcd[_0x29fda5(0x284)]};case _0x1474a0[_0x29fda5(0x520)][_0x29fda5(0x2f1)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':_0x2148f8['liveShareNewHost']},'cmd':_0x1b7fcd[_0x29fda5(0x284)]};case _0x1474a0['CollaborationEvent'][_0x29fda5(0x1e8)]:return{..._0x1b7fcd,'data':_0x2148f8,'cmd':_0x1b7fcd[_0x29fda5(0x284)]};case _0x1474a0[_0x29fda5(0x520)][_0x29fda5(0x209)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':_0x2148f8[_0x29fda5(0x36e)]},'cmd':_0x1b7fcd[_0x29fda5(0x284)]};case _0x1474a0['CollaborationEvent'][_0x29fda5(0x431)]:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':_0x2148f8[_0x29fda5(0x179)]},'cmd':_0x1b7fcd['cmd']};case _0x1474a0[_0x29fda5(0x520)]['SHOULD_CLOSE_CONN']:return{..._0x1b7fcd,'data':{..._0x2148f8,'data':_0x2148f8['shouldCloseConn']},'cmd':_0x1b7fcd[_0x29fda5(0x284)]};default:return _0x1b7fcd;}}default:return _0x1b7fcd;}}function _0x40c916(_0x5b69f2){const _0x411ebc=_0x3e84f8;switch(_0x5b69f2['cmd']){case _0x2c56e2[_0x411ebc(0x255)]:case _0x2c56e2[_0x411ebc(0x3d7)]:return JSON['stringify']({'cmd':_0x5b69f2[_0x411ebc(0x284)],'routeKey':_0x5b69f2['routeKey']});case _0x2c56e2[_0x411ebc(0x4ec)]:{let _0x3c7cec;switch(_0x5b69f2[_0x411ebc(0x33d)]['eventID']){case _0x1474a0[_0x411ebc(0x520)][_0x411ebc(0x402)]:{_0x3c7cec={'eventID':_0x1474a0[_0x411ebc(0x520)][_0x411ebc(0x402)],'updateCursorEvent':_0x5b69f2[_0x411ebc(0x33d)][_0x411ebc(0x33d)]};break;}case _0x1474a0['CollaborationEvent'][_0x411ebc(0x201)]:{_0x3c7cec={'eventID':_0x1474a0[_0x411ebc(0x520)][_0x411ebc(0x201)],'leaveEvent':_0x5b69f2[_0x411ebc(0x33d)][_0x411ebc(0x33d)]};break;}case _0x1474a0[_0x411ebc(0x520)]['USERS_ENTER']:{_0x3c7cec={'eventID':_0x1474a0[_0x411ebc(0x520)][_0x411ebc(0x516)],'joinEvent':_0x5b69f2[_0x411ebc(0x33d)][_0x411ebc(0x33d)]};break;}case _0x1474a0[_0x411ebc(0x520)]['LIVESHARE_NEW_HOST']:{_0x3c7cec={'eventID':_0x1474a0['CollaborationEvent'][_0x411ebc(0x365)],'liveShareNewHost':_0x5b69f2[_0x411ebc(0x33d)][_0x411ebc(0x33d)]};break;}case _0x1474a0[_0x411ebc(0x520)][_0x411ebc(0x4bd)]:{_0x3c7cec={'eventID':_0x1474a0['CollaborationEvent'][_0x411ebc(0x4bd)],'liveShareOperation':_0x5b69f2[_0x411ebc(0x33d)]['data']};break;}case _0x1474a0[_0x411ebc(0x520)][_0x411ebc(0x2f1)]:{_0x3c7cec={'eventID':_0x1474a0['CollaborationEvent'][_0x411ebc(0x2f1)],'liveShareTerminate':_0x5b69f2['data'][_0x411ebc(0x33d)]};break;}case _0x1474a0[_0x411ebc(0x520)][_0x411ebc(0x43b)]:{_0x3c7cec={'eventID':_0x1474a0['CollaborationEvent'][_0x411ebc(0x43b)],'liveShareRequestHost':_0x5b69f2[_0x411ebc(0x33d)][_0x411ebc(0x33d)]};break;}case _0x1474a0[_0x411ebc(0x520)][_0x411ebc(0x261)]:{_0x3c7cec={'eventID':_0x1474a0['CollaborationEvent'][_0x411ebc(0x261)]};break;}default:_0x3c7cec={'eventID':_0x5b69f2[_0x411ebc(0x33d)][_0x411ebc(0x11c)]};}return JSON[_0x411ebc(0x2ee)]({'cmd':_0x5b69f2[_0x411ebc(0x284)],'routeKey':_0x5b69f2[_0x411ebc(0x288)],'collaMsg':_0x3c7cec});}case _0x2c56e2[_0x411ebc(0x4a1)]:return JSON[_0x411ebc(0x2ee)]({'cmd':_0x5b69f2['cmd'],'routeKey':_0x5b69f2[_0x411ebc(0x288)],'joinReq':_0x5b69f2['data']});case _0x2c56e2[_0x411ebc(0x4f0)]:return JSON[_0x411ebc(0x2ee)]({'cmd':_0x5b69f2[_0x411ebc(0x284)],'routeKey':_0x5b69f2[_0x411ebc(0x288)],'leaveReq':_0x5b69f2['data']});default:throw new Error(_0x411ebc(0x508));}}var _0x4f5cb9=Object[_0x3e84f8(0x243)],_0x363018=Object[_0x3e84f8(0x439)],_0x113178=(_0x3aa472,_0x5d7ccd,_0x1d8b30,_0x23e786)=>{for(var _0x25ad6f=_0x23e786>0x1?void 0x0:_0x23e786?_0x363018(_0x5d7ccd,_0x1d8b30):_0x5d7ccd,_0x5589da=_0x3aa472['length']-0x1,_0x369c28;_0x5589da>=0x0;_0x5589da--)(_0x369c28=_0x3aa472[_0x5589da])&&(_0x25ad6f=(_0x23e786?_0x369c28(_0x5d7ccd,_0x1d8b30,_0x25ad6f):_0x369c28(_0x25ad6f))||_0x25ad6f);return _0x23e786&&_0x25ad6f&&_0x4f5cb9(_0x5d7ccd,_0x1d8b30,_0x25ad6f),_0x25ad6f;},_0x12522c=(_0x36417b,_0x2f22f4)=>(_0x4d6e8e,_0x4ba615)=>_0x2f22f4(_0x4d6e8e,_0x4ba615,_0x36417b);const _0x484b9f=_0x3eca57[_0x3e84f8(0x251)](_0x3e84f8(0x4bb));function _0x8fa044(_0x3a9430,_0x3dc574,_0x2f0618){const _0x43ebb2=_0x3e84f8;return _0x3a9430+'/'+_0x3dc574+_0x43ebb2(0x29c)+_0x2f0618+_0x43ebb2(0x121);}_0x2509f1['CollaborationSocketService']=class extends _0x3eca57[_0x3e84f8(0x2a6)]{constructor(_0x3486cc,_0x83e9e0,_0x3b2228,_0x2551ed,_0xe4fe5b){const _0x103724=_0x3e84f8;super(),this[_0x103724(0x12c)]=_0x3486cc,this['_ws']=_0x83e9e0,this['_configService']=_0x3b2228,this[_0x103724(0x31d)]=_0x2551ed,this[_0x103724(0x12d)]=_0xe4fe5b;}[_0x3e84f8(0x1d0)](_0x43e8c1){const _0x3d8fe0=_0x3e84f8,_0xd9ca2c=this['_ws'][_0x3d8fe0(0x1d0)](_0x43e8c1);if(!_0xd9ca2c)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x1f6fd0=new _0x3eca57[(_0x3d8fe0(0x20e))](),_0x4fa577=new _0x199df4[(_0x3d8fe0(0x307))]();_0x1f6fd0[_0x3d8fe0(0x44d)](_0xd9ca2c[_0x3d8fe0(0x2e7)]['subscribe'](_0x3c7606=>_0x4fa577[_0x3d8fe0(0x2d2)](_0x3c7606))),_0x1f6fd0[_0x3d8fe0(0x44d)](_0x3eca57[_0x3d8fe0(0x340)](()=>_0x4fa577[_0x3d8fe0(0x1d3)]()));const _0x377239=new _0x199df4[(_0x3d8fe0(0x307))]();_0x1f6fd0[_0x3d8fe0(0x44d)](_0xd9ca2c[_0x3d8fe0(0x1e1)]['subscribe'](_0x432e47=>_0x377239[_0x3d8fe0(0x2d2)](_0x432e47))),_0x1f6fd0[_0x3d8fe0(0x44d)](_0x3eca57['toDisposable'](()=>_0x377239[_0x3d8fe0(0x1d3)]()));const _0x182b00=new _0x199df4['Subject']();_0x1f6fd0['add'](_0xd9ca2c[_0x3d8fe0(0x316)][_0x3d8fe0(0x4da)](_0x3d7fb3=>{const _0x3d173d=_0x588539(_0x3d7fb3);_0x182b00['next'](_0x3d173d);})),_0x1f6fd0[_0x3d8fe0(0x44d)](_0x3eca57[_0x3d8fe0(0x340)](()=>_0x182b00['complete']()));let _0x5a7b3b;const _0xdb9fb4=()=>{const _0x1ae2b5=_0x3d8fe0;_0x377239[_0x1ae2b5(0x2d2)](new Event(_0x1ae2b5(0x488))),_0x4fa577['next'](new CloseEvent(_0x1ae2b5(0x488))),_0x5a7b3b['close']();};return _0x5a7b3b={'memberID':'','close$':_0x4fa577[_0x3d8fe0(0x183)](),'error$':_0x377239[_0x3d8fe0(0x183)](),'open$':_0xd9ca2c[_0x3d8fe0(0x2d4)],'message$':_0x182b00[_0x3d8fe0(0x183)](),'send':_0x1d0448=>{const _0x443be2=_0x3d8fe0;if(_0x1d0448[_0x443be2(0x284)]===_0x2c56e2[_0x443be2(0x4ec)]){if(_0x1d0448[_0x443be2(0x33d)][_0x443be2(0x11c)]===_0x1474a0[_0x443be2(0x520)]['SUBMIT_CHANGESET']){this[_0x443be2(0x312)](_0x5a7b3b,_0x1d0448[_0x443be2(0x33d)])[_0x443be2(0x378)](_0x2d2568=>{const _0x905df8=_0x443be2;this[_0x905df8(0x31d)][_0x905df8(0x543)](_0x2d2568),_0xdb9fb4();});return;}if(_0x1d0448[_0x443be2(0x33d)][_0x443be2(0x11c)]===_0x1474a0[_0x443be2(0x520)][_0x443be2(0x22d)]){const _0x5a362a=_0x1d0448['data'];this['_fetchMissChangesets'](_0x5a362a)[_0x443be2(0x504)](_0x41af08=>{const _0x334c52=_0x443be2;_0x182b00[_0x334c52(0x2d2)]({'cmd':_0x2c56e2['RECV'],'code':_0x4c0f4a['OK'],'routeKey':_0x5a362a[_0x334c52(0x33d)][_0x334c52(0x13f)],'routeType':'','data':{'eventID':_0x1474a0['CollaborationEvent'][_0x334c52(0x31e)],'data':{'changesets':_0x41af08}}});})[_0x443be2(0x378)](_0x271dba=>{const _0x369811=_0x443be2;this['_logService'][_0x369811(0x543)](_0x271dba),_0xdb9fb4();});return;}}_0xd9ca2c[_0x443be2(0x41c)](_0x40c916(_0x1d0448));},'close':()=>{const _0x46593d=_0x3d8fe0;_0xd9ca2c[_0x46593d(0x153)](),_0x1f6fd0[_0x46593d(0x231)]();}},_0x5a7b3b;}async[_0x3e84f8(0x312)](_0x365a52,_0x4a554b){const _0x3aae15=_0x3e84f8;var _0x287638;const {unitType:_0x456319,unitID:_0x41b2c7,changeset:_0x1a238f}=_0x4a554b[_0x3aae15(0x33d)],_0x3f56eb={'unitID':_0x41b2c7,'memberID':_0x365a52[_0x3aae15(0x1cb)],'type':_0x456319,'changeset':_0x1474a0[_0x3aae15(0x40f)](_0x1a238f)},_0x14b25c=_0x8fa044((_0x287638=this[_0x3aae15(0x466)]['getConfig'](_0x11b9bd))!=null?_0x287638:_0x19d6d8,_0x456319,_0x41b2c7);try{await this[_0x3aae15(0x12c)][_0x3aae15(0x296)](_0x14b25c,{'body':_0x3f56eb});}catch(_0x4ce169){throw this[_0x3aae15(0x31d)]['error'](_0x3aae15(0x4b1),_0x3aae15(0x445)),_0x4ce169;}}async[_0x3e84f8(0x3b6)](_0x1b87bb){const _0x462c00=_0x3e84f8,{unitID:_0xcda16a,from:_0x349ba4,to:_0x33af28,unitType:_0x4a527f}=_0x1b87bb[_0x462c00(0x33d)];return(await this[_0x462c00(0x12d)][_0x462c00(0x503)]({'metadata':void 0x0},{'unitID':_0xcda16a,'type':_0x4a527f,'from':_0x349ba4,'to':_0x33af28}))[_0x462c00(0x490)];}},_0x2509f1[_0x3e84f8(0x43d)]=_0x113178([_0x12522c(0x0,_0x3eca57[_0x3e84f8(0x13c)](_0x1c2884[_0x3e84f8(0x3ce)])),_0x12522c(0x1,_0x3eca57[_0x3e84f8(0x13c)](_0x1c2884['WebSocketService'])),_0x12522c(0x2,_0x3eca57[_0x3e84f8(0x25c)]),_0x12522c(0x3,_0x3eca57['ILogService']),_0x12522c(0x4,_0x1474a0[_0x3e84f8(0x437)])],_0x2509f1['CollaborationSocketService']);const _0x5075d6=_0x3e84f8(0x410);function _0x59c7e3(_0x4e5b6d){const _0x531564=_0x3e84f8;return JSON['stringify'](_0x4e5b6d)[_0x531564(0x1a6)];}class _0x1c6422{constructor(){const _0xa123cd=_0x3e84f8;_0x1de933(this,_0xa123cd(0x2ae),new _0x199df4[(_0xa123cd(0x307))]()),_0x1de933(this,_0xa123cd(0x46e),this['_commentUpdate$'][_0xa123cd(0x183)]());}[_0x3e84f8(0x1b4)](_0x2869aa){const _0x103a71=_0x3e84f8;this[_0x103a71(0x2ae)]['next'](_0x2869aa);}}var _0x407f80=Object[_0x3e84f8(0x243)],_0x27bcf4=Object[_0x3e84f8(0x439)],_0x153085=(_0x284084,_0x3892dc,_0xfe51ff,_0x218d70)=>{const _0x49d47d=_0x3e84f8;for(var _0x2b7c09=_0x218d70>0x1?void 0x0:_0x218d70?_0x27bcf4(_0x3892dc,_0xfe51ff):_0x3892dc,_0x4b5096=_0x284084[_0x49d47d(0x1a6)]-0x1,_0x7669cc;_0x4b5096>=0x0;_0x4b5096--)(_0x7669cc=_0x284084[_0x4b5096])&&(_0x2b7c09=(_0x218d70?_0x7669cc(_0x3892dc,_0xfe51ff,_0x2b7c09):_0x7669cc(_0x2b7c09))||_0x2b7c09);return _0x218d70&&_0x2b7c09&&_0x407f80(_0x3892dc,_0xfe51ff,_0x2b7c09),_0x2b7c09;},_0x57210c=(_0x3fbdf3,_0x2f7009)=>(_0x1b64cf,_0x21eb40)=>_0x2f7009(_0x1b64cf,_0x21eb40,_0x3fbdf3);let _0x5df92e=class extends _0x3eca57[_0x3e84f8(0x2a6)]{constructor(_0x2abce,_0x491579){const _0x3f5ce7=_0x3e84f8;super(),_0x1de933(this,_0x3f5ce7(0x1ba),new Map()),(this[_0x3f5ce7(0x339)]=_0x2abce,this['_userManagerService']=_0x491579,this[_0x3f5ce7(0x4ed)](_0x3eca57[_0x3f5ce7(0x340)](_0x199df4[_0x3f5ce7(0x148)](this[_0x3f5ce7(0x339)][_0x3f5ce7(0x3a5)](_0x3eca57['UniverInstanceType']['UNIVER_SHEET'])[_0x3f5ce7(0x52b)](_0x46f2f0[_0x3f5ce7(0x1ad)](_0x4d77bd=>_0x4d77bd['getUnitId']())),this[_0x3f5ce7(0x339)]['getTypeOfUnitDisposed$'](_0x3eca57[_0x3f5ce7(0x3fd)][_0x3f5ce7(0x269)])[_0x3f5ce7(0x52b)](_0x46f2f0['map'](_0x5ac6cc=>_0x5ac6cc[_0x3f5ce7(0x286)]())),this['_univerInstanceService'][_0x3f5ce7(0x3a5)](_0x3eca57[_0x3f5ce7(0x3fd)][_0x3f5ce7(0x4d2)])[_0x3f5ce7(0x52b)](_0x46f2f0[_0x3f5ce7(0x1ad)](_0x5be102=>_0x5be102[_0x3f5ce7(0x286)]())))['subscribe'](_0x1bf140=>this[_0x3f5ce7(0x3f1)](_0x1bf140)))));}[_0x3e84f8(0x428)](_0x3c1f1e){const _0x528b3a=_0x3e84f8;this[_0x528b3a(0x2bc)]['setCurrentUser'](_0x3c1f1e);}[_0x3e84f8(0x507)](){const _0x1c2507=_0x3e84f8;return this[_0x1c2507(0x2bc)][_0x1c2507(0x507)]();}[_0x3e84f8(0x162)](_0x19ecc1,_0x3050de){const _0x1fed1b=_0x3e84f8;let _0x4e9690=this[_0x1fed1b(0x1ba)][_0x1fed1b(0x4af)](_0x19ecc1);_0x4e9690||(_0x4e9690=new _0x214de7(),this[_0x1fed1b(0x1ba)]['set'](_0x19ecc1,_0x4e9690)),_0x4e9690[_0x1fed1b(0x162)](_0x3050de);}[_0x3e84f8(0x435)](_0x2500ed,_0x4d0377){const _0x551d3f=_0x3e84f8,_0x382e45=this[_0x551d3f(0x1ba)][_0x551d3f(0x4af)](_0x2500ed);_0x382e45&&_0x382e45[_0x551d3f(0x435)](_0x4d0377);}[_0x3e84f8(0x3d0)](_0x5e2c90){const _0x35ee0b=_0x3e84f8;return this[_0x35ee0b(0x1ba)][_0x35ee0b(0x4af)](_0x5e2c90);}[_0x3e84f8(0x172)](_0x36324a,_0x5b0d7d){const _0x14d06c=_0x3e84f8,_0xc9eb26=this['_roomMembers'][_0x14d06c(0x4af)](_0x36324a);if(_0xc9eb26)return _0xc9eb26[_0x14d06c(0x172)](_0x5b0d7d);}[_0x3e84f8(0x3f1)](_0x5cdaf0){const _0x417e0f=_0x3e84f8,_0x48ecfd=this[_0x417e0f(0x1ba)][_0x417e0f(0x4af)](_0x5cdaf0);_0x48ecfd&&(_0x48ecfd[_0x417e0f(0x231)](),this[_0x417e0f(0x1ba)][_0x417e0f(0x531)](_0x5cdaf0));}[_0x3e84f8(0x231)](){const _0x40edc4=_0x3e84f8;this[_0x40edc4(0x1ba)][_0x40edc4(0x306)](_0x31dc50=>_0x31dc50[_0x40edc4(0x231)]()),this[_0x40edc4(0x1ba)][_0x40edc4(0x4db)]();}};_0x5df92e=_0x153085([_0x57210c(0x0,_0x3eca57['IUniverInstanceService']),_0x57210c(0x1,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['UserManagerService']))],_0x5df92e);class _0x214de7 extends _0x3eca57[_0x3e84f8(0x2a6)]{constructor(){const _0x4bc0f5=_0x3e84f8;super(...arguments),_0x1de933(this,_0x4bc0f5(0x2f6),new Map());}[_0x3e84f8(0x231)](){const _0x565e82=_0x3e84f8;this[_0x565e82(0x2f6)]['clear']();}[_0x3e84f8(0x162)](_0x4b32fc){const _0xbde22e=_0x3e84f8;this['_members'][_0xbde22e(0x1b8)](_0x4b32fc[_0xbde22e(0x1cb)],_0x4b32fc);}[_0x3e84f8(0x435)](_0x292621){const _0x362cac=_0x3e84f8;this['_members'][_0x362cac(0x531)](_0x292621);}[_0x3e84f8(0x172)](_0x4dbe28){const _0x4b53af=_0x3e84f8;return this['_members'][_0x4b53af(0x4af)](_0x4dbe28);}}var _0x21d5ce=Object[_0x3e84f8(0x243)],_0x1de96a=Object[_0x3e84f8(0x439)],_0x259844=(_0x54126b,_0x33458c,_0x4e97ce,_0x6873ef)=>{const _0x13a540=_0x3e84f8;for(var _0x24d2c8=_0x6873ef>0x1?void 0x0:_0x6873ef?_0x1de96a(_0x33458c,_0x4e97ce):_0x33458c,_0x4eeea9=_0x54126b[_0x13a540(0x1a6)]-0x1,_0x23215f;_0x4eeea9>=0x0;_0x4eeea9--)(_0x23215f=_0x54126b[_0x4eeea9])&&(_0x24d2c8=(_0x6873ef?_0x23215f(_0x33458c,_0x4e97ce,_0x24d2c8):_0x23215f(_0x24d2c8))||_0x24d2c8);return _0x6873ef&&_0x24d2c8&&_0x21d5ce(_0x33458c,_0x4e97ce,_0x24d2c8),_0x24d2c8;},_0x5c74fa=(_0x3a2a94,_0x5a30e2)=>(_0x509337,_0x14254d)=>_0x5a30e2(_0x509337,_0x14254d,_0x3a2a94),_0x39f403=(_0x2f0a3a=>(_0x2f0a3a[_0x2f0a3a[_0x3e84f8(0x1f2)]=0x0]='IDLE',_0x2f0a3a[_0x2f0a3a[_0x3e84f8(0x1e4)]=0x1]='JOINING',_0x2f0a3a[_0x2f0a3a[_0x3e84f8(0x535)]=0x2]=_0x3e84f8(0x535),_0x2f0a3a[_0x2f0a3a[_0x3e84f8(0x3cc)]=0x3]=_0x3e84f8(0x3cc),_0x2f0a3a))(_0x39f403||{});_0x2509f1[_0x3e84f8(0x1f6)]=class extends _0x3eca57['RxDisposable']{constructor(_0x33d4be,_0x4233ce,_0x1cee48,_0x3fc549,_0x513e49,_0x4cf44c,_0x5cd6fe,_0x18757d,_0x4b7e0a,_0x5d0ca8){const _0x82d874=_0x3e84f8;super(),_0x1de933(this,_0x82d874(0x4e9),new _0x199df4[(_0x82d874(0x244))](0x0)),_0x1de933(this,'sessionStatus$',this[_0x82d874(0x4e9)][_0x82d874(0x183)]()),_0x1de933(this,_0x82d874(0x282),new _0x199df4[(_0x82d874(0x307))]()),_0x1de933(this,_0x82d874(0x15a),this['_event$'][_0x82d874(0x183)]()),_0x1de933(this,_0x82d874(0x4a3)),_0x1de933(this,_0x82d874(0x317)),_0x1de933(this,'_collaborationTimeoutTimer'),_0x1de933(this,_0x82d874(0x3e5),!0x1),_0x1de933(this,'_telemetryInfo',null),(this[_0x82d874(0x16f)]=_0x33d4be,this['_logService']=_0x1cee48,this['_beforeCloseService']=_0x3fc549,this[_0x82d874(0x14a)]=_0x513e49,this[_0x82d874(0x466)]=_0x4cf44c,this[_0x82d874(0x2c7)]=_0x5cd6fe,this[_0x82d874(0x1ec)]=_0x18757d,this[_0x82d874(0x2c0)]=_0x4b7e0a,this['_telemetryService']=_0x5d0ca8,this['_shouldReportTelemetry']=!!this[_0x82d874(0x4b7)],_0x4233ce[_0x82d874(0x52b)](_0x199df4[_0x82d874(0x468)](this['dispose$']))[_0x82d874(0x4da)](_0x228dd6=>{const _0x4c485a=_0x82d874;var _0x2f60d3;typeof _0x228dd6>'u'||(this[_0x4c485a(0x4a3)]=_0x228dd6,_0x228dd6?(this[_0x4c485a(0x2b9)](_0x228dd6),this['_socketMessageSubscription']=_0x228dd6[_0x4c485a(0x316)][_0x4c485a(0x4da)](_0x3df310=>{const _0x2d9dd1=_0x4c485a;_0x3df310[_0x2d9dd1(0x288)]===this[_0x2d9dd1(0x16f)]&&this[_0x2d9dd1(0x398)](_0x3df310);})):(this[_0x4c485a(0x34f)](),this[_0x4c485a(0x4e9)]['next'](0x2),(_0x2f60d3=this['_socketMessageSubscription'])==null||_0x2f60d3[_0x4c485a(0x3d4)](),this[_0x4c485a(0x317)]=null));}),this[_0x82d874(0x4ed)](this['_beforeCloseService'][_0x82d874(0x17a)](()=>{const _0x2f9acb=_0x82d874;var _0x3ad064;(_0x3ad064=this[_0x2f9acb(0x4a3)])==null||_0x3ad064[_0x2f9acb(0x41c)]({'cmd':_0x2c56e2[_0x2f9acb(0x4f0)],'data':{'roomID':this[_0x2f9acb(0x16f)]}});})));}get['sessionStatus'](){const _0x1febf7=_0x3e84f8;return this[_0x1febf7(0x4e9)][_0x1febf7(0x31f)]();}[_0x3e84f8(0x53f)](){const _0x41c078=_0x3e84f8;var _0x3b638f,_0x4dbe51;return(_0x4dbe51=(_0x3b638f=this[_0x41c078(0x4a3)])==null?void 0x0:_0x3b638f[_0x41c078(0x1cb)])!=null?_0x4dbe51:null;}[_0x3e84f8(0x231)](){const _0x16a846=_0x3e84f8;super[_0x16a846(0x231)](),this['dispose$'][_0x16a846(0x2d2)](),this['dispose$'][_0x16a846(0x1d3)]();}['close'](){const _0x4d589c=_0x3e84f8;var _0x342331,_0x2dfbfb;this[_0x4d589c(0x34f)](),(_0x342331=this[_0x4d589c(0x4a3)])==null||_0x342331['send']({'cmd':_0x2c56e2[_0x4d589c(0x4f0)],'data':{'roomID':this[_0x4d589c(0x16f)]}}),(_0x2dfbfb=this[_0x4d589c(0x4a3)])==null||_0x2dfbfb[_0x4d589c(0x153)](),this['_event$']['complete'](),this['_sessionStatus$'][_0x4d589c(0x1d3)](),this[_0x4d589c(0x231)]();}[_0x3e84f8(0x398)](_0x3da5ae){const _0x551269=_0x3e84f8;_0x3da5ae[_0x551269(0x284)]===_0x2c56e2['JOIN']?this['_onJoinRoomEvent'](_0x3da5ae):_0x3da5ae[_0x551269(0x284)]===_0x2c56e2[_0x551269(0x29e)]&&this[_0x551269(0x1a8)](_0x3da5ae);}[_0x3e84f8(0x2b9)](_0x1a5f63){const _0x28ad1e=_0x3e84f8;this[_0x28ad1e(0x4e9)]['next'](0x1),_0x1a5f63['send']({'cmd':_0x2c56e2[_0x28ad1e(0x4a1)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x28ad1e(0x16f)]}]}});}[_0x3e84f8(0x528)](_0x4a0c11){const _0x4dee5f=_0x3e84f8;var _0x52721a;if(_0x4a0c11[_0x4dee5f(0x532)]===_0x4c0f4a[_0x4dee5f(0x458)]){this[_0x4dee5f(0x14a)][_0x4dee5f(0x3d5)]({'type':_0xf694dc[_0x4dee5f(0x472)]['Warning'],'content':this[_0x4dee5f(0x2c7)]['t']('session.room-full')}),this[_0x4dee5f(0x4e9)][_0x4dee5f(0x2d2)](0x2);return;}this[_0x4dee5f(0x4e9)][_0x4dee5f(0x2d2)](0x3);const _0x4fc76d=(_0x52721a=_0x4a0c11['data'][_0x4dee5f(0x2cc)][this['_unitID']])==null?void 0x0:_0x52721a[_0x4dee5f(0x53b)];_0x4fc76d&&_0x4fc76d[_0x4dee5f(0x306)](_0x3d6aed=>this[_0x4dee5f(0x1ec)][_0x4dee5f(0x162)](this[_0x4dee5f(0x16f)],_0x3d6aed));}['_onRecvEvent'](_0x2af009){const _0x26edf6=_0x3e84f8;try{const _0x4f8ccd=_0x2af009['data'];switch(_0x4f8ccd[_0x26edf6(0x11c)]){case _0x1474a0[_0x26edf6(0x520)][_0x26edf6(0x516)]:this[_0x26edf6(0x30c)](_0x4f8ccd),this[_0x26edf6(0x282)][_0x26edf6(0x2d2)](_0x4f8ccd);break;case _0x1474a0[_0x26edf6(0x520)][_0x26edf6(0x201)]:this[_0x26edf6(0x26a)](_0x4f8ccd),this[_0x26edf6(0x282)][_0x26edf6(0x2d2)](_0x4f8ccd);break;case _0x1474a0[_0x26edf6(0x520)][_0x26edf6(0x3be)]:this[_0x26edf6(0x46f)](),this[_0x26edf6(0x2cb)](),this['_event$'][_0x26edf6(0x2d2)](_0x4f8ccd);break;case _0x1474a0[_0x26edf6(0x520)]['MSG_FOR_ERROR']:this[_0x26edf6(0x31d)][_0x26edf6(0x543)](_0x26edf6(0x224)+JSON[_0x26edf6(0x2ee)](_0x4f8ccd)),this['_event$'][_0x26edf6(0x2d2)](_0x4f8ccd);break;case _0x1474a0['CollaborationEvent'][_0x26edf6(0x209)]:this[_0x26edf6(0x2c0)][_0x26edf6(0x1b4)](_0x4f8ccd[_0x26edf6(0x33d)]),this['_event$'][_0x26edf6(0x2d2)](_0x4f8ccd);break;default:this[_0x26edf6(0x282)][_0x26edf6(0x2d2)](_0x4f8ccd);}}catch(_0x135c6f){this[_0x26edf6(0x31d)][_0x26edf6(0x543)](_0x135c6f,_0x2af009);}}[_0x3e84f8(0x30c)](_0x572d0d){const _0xd5d516=_0x3e84f8;this[_0xd5d516(0x1ec)][_0xd5d516(0x162)](this[_0xd5d516(0x16f)],_0x572d0d['data']);}['_onUserLeave'](_0xd2a1dd){const _0x41f04b=_0x3e84f8;this[_0x41f04b(0x1ec)][_0x41f04b(0x435)](this[_0x41f04b(0x16f)],_0xd2a1dd[_0x41f04b(0x33d)][_0x41f04b(0x1cb)]);}async[_0x3e84f8(0x41c)](_0x12c553,_0x58c9c0){const _0x448f06=_0x3e84f8;if(this[_0x448f06(0x423)]!==0x3||!this[_0x448f06(0x4a3)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x12c553[_0x448f06(0x11c)]===_0x1474a0[_0x448f06(0x520)][_0x448f06(0x405)]&&(this[_0x448f06(0x4dd)](),this['_startTelemetryCollaborationNewChangeset'](_0x12c553)),this[_0x448f06(0x4a3)][_0x448f06(0x41c)]({'cmd':_0x2c56e2[_0x448f06(0x4ec)],'routeKey':_0x58c9c0,'routeType':'','data':_0x12c553});}catch(_0x3b0ef5){this[_0x448f06(0x31d)][_0x448f06(0x543)](_0x3b0ef5);}}['_scheduleCollaborationTimeoutTimer'](){const _0x49e88e=_0x3e84f8;var _0x13fbcf;this[_0x49e88e(0x1ce)]=window[_0x49e88e(0x315)](()=>{const _0xf89743=_0x49e88e;this['_collaborationTimeoutTimer']=null,this[_0xf89743(0x14a)][_0xf89743(0x3d5)]({'type':_0xf694dc[_0xf89743(0x472)][_0xf89743(0x421)],'content':this[_0xf89743(0x2c7)]['t'](_0xf89743(0x4d0))});},(_0x13fbcf=this[_0x49e88e(0x466)][_0x49e88e(0x22e)](_0x4d3ef7))!=null?_0x13fbcf:0x4e20);}[_0x3e84f8(0x2cb)](){const _0x3ff365=_0x3e84f8;this[_0x3ff365(0x1ce)]&&(clearTimeout(this[_0x3ff365(0x1ce)]),this[_0x3ff365(0x1ce)]=null);}[_0x3e84f8(0x48b)](_0x23b378){const _0x88266=_0x3e84f8;if(!this[_0x88266(0x3e5)])return;const {data:_0x1bf163}=_0x23b378,{unitID:_0x241a9b,changeset:_0x5d0091}=_0x1bf163,{mutations:_0x59af77,type:_0x37ef65}=_0x5d0091;this[_0x88266(0x3a1)]={'unitId':_0x241a9b,'type':_0x37ef65,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x59c7e3(_0x59af77)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x30932b=_0x3e84f8;if(this[_0x30932b(0x3e5)]){if(!this[_0x30932b(0x3a1)]){this[_0x30932b(0x31d)][_0x30932b(0x543)](_0x30932b(0x4b1),_0x30932b(0x2f3));return;}this[_0x30932b(0x3a1)][_0x30932b(0x18b)]=performance[_0x30932b(0x1d2)](),this[_0x30932b(0x3a1)][_0x30932b(0x40a)]=this[_0x30932b(0x3a1)]['stopTime']-this[_0x30932b(0x3a1)][_0x30932b(0x42e)],this[_0x30932b(0x4b7)]['capture'](_0x5075d6,this[_0x30932b(0x3a1)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x35f37d=_0x3e84f8;this[_0x35f37d(0x3a1)]=null;}},_0x2509f1[_0x3e84f8(0x1f6)]=_0x259844([_0x5c74fa(0x2,_0x3eca57[_0x3e84f8(0x391)]),_0x5c74fa(0x3,_0x2ede89['IBeforeCloseService']),_0x5c74fa(0x4,_0x2ede89[_0x3e84f8(0x394)]),_0x5c74fa(0x5,_0x3eca57[_0x3e84f8(0x25c)]),_0x5c74fa(0x6,_0x3eca57['Inject'](_0x3eca57[_0x3e84f8(0x477)])),_0x5c74fa(0x7,_0x3eca57['Inject'](_0x5df92e)),_0x5c74fa(0x8,_0x3eca57[_0x3e84f8(0x13c)](_0x1c6422)),_0x5c74fa(0x9,_0x3eca57[_0x3e84f8(0x3f3)](_0x257ca1[_0x3e84f8(0x2f4)]))],_0x2509f1[_0x3e84f8(0x1f6)]);var _0x3b24d0=Object[_0x3e84f8(0x243)],_0x3b1a34=Object['getOwnPropertyDescriptor'],_0xb79613=(_0x4bab46,_0x1ab6c6,_0x1c7ba8,_0x4f15f5)=>{const _0x217af5=_0x3e84f8;for(var _0x477a8f=_0x4f15f5>0x1?void 0x0:_0x4f15f5?_0x3b1a34(_0x1ab6c6,_0x1c7ba8):_0x1ab6c6,_0x14da9b=_0x4bab46[_0x217af5(0x1a6)]-0x1,_0x57c295;_0x14da9b>=0x0;_0x14da9b--)(_0x57c295=_0x4bab46[_0x14da9b])&&(_0x477a8f=(_0x4f15f5?_0x57c295(_0x1ab6c6,_0x1c7ba8,_0x477a8f):_0x57c295(_0x477a8f))||_0x477a8f);return _0x4f15f5&&_0x477a8f&&_0x3b24d0(_0x1ab6c6,_0x1c7ba8,_0x477a8f),_0x477a8f;},_0x8d7f88=(_0x1dcca5,_0x2ca24f)=>(_0x1db838,_0x5895dc)=>_0x2ca24f(_0x1db838,_0x5895dc,_0x1dcca5);_0x2509f1[_0x3e84f8(0x332)]=class extends _0x3eca57[_0x3e84f8(0x2a6)]{constructor(_0x4accc3,_0x208ab9,_0x3b2399,_0x43f559,_0x48de7d,_0x752a4b){const _0x4fdc70=_0x3e84f8;super(),_0x1de933(this,_0x4fdc70(0x441),new _0x199df4[(_0x4fdc70(0x244))](void 0x0)),_0x1de933(this,_0x4fdc70(0x206),this[_0x4fdc70(0x441)]['asObservable']()),_0x1de933(this,_0x4fdc70(0x346),null),_0x1de933(this,_0x4fdc70(0x50b),new Map()),_0x1de933(this,'_status$',new _0x199df4[(_0x4fdc70(0x244))](_0x39f403[_0x4fdc70(0x1f2)])),_0x1de933(this,'status$',this[_0x4fdc70(0x3ff)][_0x4fdc70(0x183)]()),_0x1de933(this,_0x4fdc70(0x325),!0x1),_0x1de933(this,_0x4fdc70(0x383)),_0x1de933(this,_0x4fdc70(0x1c7),0x0),_0x1de933(this,_0x4fdc70(0x330)),_0x1de933(this,_0x4fdc70(0x3ec)),(this[_0x4fdc70(0x249)]=_0x4accc3,this[_0x4fdc70(0x2c7)]=_0x208ab9,this['_messageService']=_0x3b2399,this[_0x4fdc70(0x31d)]=_0x43f559,this[_0x4fdc70(0x466)]=_0x48de7d,this[_0x4fdc70(0x273)]=_0x752a4b);}get[_0x3e84f8(0x4a3)](){const _0x139661=_0x3e84f8;return this[_0x139661(0x441)][_0x139661(0x31f)]();}[_0x3e84f8(0x231)](){const _0x5e905b=_0x3e84f8;super['dispose'](),this[_0x5e905b(0x50b)][_0x5e905b(0x306)](_0x2c180c=>_0x2c180c[_0x5e905b(0x231)]()),this[_0x5e905b(0x50b)]['clear'](),this[_0x5e905b(0x3ff)]['complete']();}async[_0x3e84f8(0x2ca)](_0x1bc9f6){const _0x4d2011=_0x3e84f8;if(this['_sessions'][_0x4d2011(0x2a7)](_0x1bc9f6))return this[_0x4d2011(0x50b)]['get'](_0x1bc9f6);this[_0x4d2011(0x3e9)]();const _0x310f14=this['_injector']['createInstance'](_0x2509f1['CollaborationSession'],_0x1bc9f6,this[_0x4d2011(0x441)][_0x4d2011(0x183)]());return this[_0x4d2011(0x50b)][_0x4d2011(0x1b8)](_0x1bc9f6,_0x310f14),_0x310f14;}[_0x3e84f8(0x2e4)](_0x1f23bd){const _0x20e09e=_0x3e84f8;var _0x51880f;const _0x2e0404=this[_0x20e09e(0x50b)][_0x20e09e(0x4af)](_0x1f23bd);_0x2e0404&&(this['_sessions']['delete'](_0x1f23bd),_0x2e0404[_0x20e09e(0x153)]()),this[_0x20e09e(0x50b)]['size']||(_0x51880f=this[_0x20e09e(0x4a3)])==null||_0x51880f[_0x20e09e(0x153)]();}[_0x3e84f8(0x3f2)](){const _0x2506f4=_0x3e84f8;this[_0x2506f4(0x1c7)]=0x0,this[_0x2506f4(0x383)]!=null&&(clearTimeout(this[_0x2506f4(0x383)]),this[_0x2506f4(0x383)]=null),this[_0x2506f4(0x37c)]();}['_createSocket'](){const _0x2958bf=_0x3e84f8;var _0x4b2ebb;const _0x1a2681=(_0x4b2ebb=this[_0x2958bf(0x466)][_0x2958bf(0x22e)](_0x2e0e5e))!=null?_0x4b2ebb:_0x640fc5,_0x173c1e=this[_0x2958bf(0x273)][_0x2958bf(0x1d0)](_0x1a2681);return this[_0x2958bf(0x346)]=_0x173c1e,_0x173c1e;}[_0x3e84f8(0x3e9)](){const _0x3ee741=_0x3e84f8;var _0x5c3536,_0xf47da8;try{const _0x9ad06=(_0xf47da8=(_0x5c3536=this[_0x3ee741(0x4a3)])!=null?_0x5c3536:this['_candidateSocket'])!=null?_0xf47da8:this['_createSocket']();if(_0x9ad06){const _0xb6bc91=_0x9ad06[_0x3ee741(0x41c)];_0x9ad06[_0x3ee741(0x41c)]=_0x2b3c71=>(this[_0x3ee741(0x232)](),_0xb6bc91[_0x3ee741(0x440)](_0x9ad06,[_0x2b3c71])),_0x9ad06[_0x3ee741(0x316)][_0x3ee741(0x4da)](_0x4dbfda=>this[_0x3ee741(0x3d8)](_0x9ad06,_0x4dbfda)),_0x9ad06[_0x3ee741(0x1e1)][_0x3ee741(0x52b)](_0x46f2f0['take'](0x1))[_0x3ee741(0x4da)](_0x5313bf=>this[_0x3ee741(0x31d)][_0x3ee741(0x543)]('[CollaborationSessionService]:\x20socket\x20error',_0x5313bf)),_0x9ad06['open$'][_0x3ee741(0x52b)](_0x46f2f0['take'](0x1))[_0x3ee741(0x4da)](()=>{this['_onConnectionOpen'](_0x9ad06);}),_0x9ad06[_0x3ee741(0x2e7)]['pipe'](_0x46f2f0[_0x3ee741(0x1de)](0x1))[_0x3ee741(0x4da)](_0x36923d=>{const _0x482391=_0x3ee741;this[_0x482391(0x31d)][_0x482391(0x3d9)](_0x482391(0x32a),'socket\x20close',_0x36923d),this[_0x482391(0x144)]();});}}catch(_0x21d29e){this[_0x3ee741(0x31d)][_0x3ee741(0x543)](_0x21d29e),this[_0x3ee741(0x144)]();}}[_0x3e84f8(0x3f0)](_0x57686e){const _0x50ef97=_0x3e84f8;this[_0x50ef97(0x31d)][_0x50ef97(0x3d9)]('[CollaborationSessionService]',_0x50ef97(0x186)),_0x57686e[_0x50ef97(0x41c)]({'cmd':_0x2c56e2[_0x50ef97(0x3d7)]}),this['_rescheduleHeartbeat'](),this[_0x50ef97(0x4b0)]();}[_0x3e84f8(0x4b0)](){const _0x3b11f2=_0x3e84f8,_0xf261d=()=>{const _0x110156=_0x3242;this[_0x110156(0x123)](),this[_0x110156(0x3b8)](),window[_0x110156(0x536)](_0x110156(0x127),_0xf261d);};window[_0x3b11f2(0x43c)](_0x3b11f2(0x127),_0xf261d);}[_0x3e84f8(0x123)](){const _0x11876d=_0x3e84f8;this[_0x11876d(0x325)]=!0x1,this['_status$']['next'](_0x39f403[_0x11876d(0x535)]),this[_0x11876d(0x441)][_0x11876d(0x2d2)](null),this[_0x11876d(0x3ac)](),this[_0x11876d(0x341)]();}[_0x3e84f8(0x144)](){const _0x3d4aa8=_0x3e84f8;var _0x20ad49;this[_0x3d4aa8(0x123)](),this[_0x3d4aa8(0x1c7)]<((_0x20ad49=this['_configService']['getConfig'](_0x424e1f))!=null?_0x20ad49:0x3)?(this[_0x3d4aa8(0x14a)][_0x3d4aa8(0x3d5)]({'key':_0x3d4aa8(0x18f),'type':_0xf694dc[_0x3d4aa8(0x472)][_0x3d4aa8(0x2fa)],'content':this[_0x3d4aa8(0x2c7)]['t']('session.will-retry')}),this[_0x3d4aa8(0x37c)]()):(this[_0x3d4aa8(0x14a)][_0x3d4aa8(0x3d5)]({'key':_0x3d4aa8(0x18f),'type':_0xf694dc[_0x3d4aa8(0x472)][_0x3d4aa8(0x421)],'content':this['_localeService']['t'](_0x3d4aa8(0x462))}),this[_0x3d4aa8(0x3b8)]());}[_0x3e84f8(0x3b8)](){const _0x1ea8ca=_0x3e84f8,_0x577367=()=>{const _0x42a53c=_0x3242;this[_0x42a53c(0x3f2)](),window[_0x42a53c(0x536)](_0x42a53c(0x314),_0x577367);};window[_0x1ea8ca(0x43c)](_0x1ea8ca(0x314),_0x577367),this[_0x1ea8ca(0x441)][_0x1ea8ca(0x52b)](_0x46f2f0[_0x1ea8ca(0x51d)](_0x174602=>!!_0x174602),_0x46f2f0[_0x1ea8ca(0x1de)](0x1))[_0x1ea8ca(0x4da)](()=>{const _0x3325f0=_0x1ea8ca;window[_0x3325f0(0x536)]('online',_0x577367);});}[_0x3e84f8(0x37c)](){const _0x3e0d82=_0x3e84f8;var _0x46c31e;const _0x47a5f5=this[_0x3e0d82(0x1c7)],_0xf70137=_0x47a5f5===0x0?0x0:((_0x46c31e=this[_0x3e0d82(0x466)][_0x3e0d82(0x22e)](_0x276e46))!=null?_0x46c31e:0x4e20)*0x2**_0x47a5f5;this[_0x3e0d82(0x383)]=window['setTimeout'](()=>{const _0x3fa73d=_0x3e0d82;clearTimeout(this[_0x3fa73d(0x383)]),this['_retryConnectingTimer']=null,this[_0x3fa73d(0x3e9)]();},_0xf70137),this[_0x3e0d82(0x1c7)]+=0x1;}[_0x3e84f8(0x3d8)](_0x247c6c,_0xe0f9e7){const _0x1b8117=_0x3e84f8,{cmd:_0x6f78c}=_0xe0f9e7;_0x6f78c===_0x2c56e2[_0x1b8117(0x3d7)]&&!this[_0x1b8117(0x325)]&&(_0x247c6c[_0x1b8117(0x1cb)]=_0xe0f9e7['data']['memberID'],this['_socket$'][_0x1b8117(0x2d2)](_0x247c6c),this[_0x1b8117(0x3ff)][_0x1b8117(0x2d2)](_0x39f403[_0x1b8117(0x3cc)]),this['_socketReady']=!0x0,this[_0x1b8117(0x346)]=null),_0x6f78c===_0x2c56e2['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x1b8117(0x232)]();}[_0x3e84f8(0x232)](){const _0x5d2c63=_0x3e84f8;var _0x2e04c0;this[_0x5d2c63(0x341)](),this['_sendHeartbeatTimer']=window[_0x5d2c63(0x315)](()=>this['_sendHeartbeat'](),(_0x2e04c0=this[_0x5d2c63(0x466)][_0x5d2c63(0x22e)](_0x14a4f4))!=null?_0x2e04c0:0x7530);}[_0x3e84f8(0x1ee)](){const _0x1c9f29=_0x3e84f8;this[_0x1c9f29(0x4a3)][_0x1c9f29(0x41c)]({'cmd':_0x2c56e2['HEARTBEAT']}),this[_0x1c9f29(0x240)]();}[_0x3e84f8(0x240)](){const _0x13d305=_0x3e84f8;var _0x415767;this[_0x13d305(0x3ec)]=window[_0x13d305(0x315)](()=>this[_0x13d305(0x144)](),(_0x415767=this[_0x13d305(0x466)][_0x13d305(0x22e)](_0x4d3ef7))!=null?_0x415767:0x4e20);}[_0x3e84f8(0x341)](){const _0x3a4b59=_0x3e84f8;this[_0x3a4b59(0x330)]!=null&&(clearTimeout(this[_0x3a4b59(0x330)]),this['_sendHeartbeatTimer']=null);}[_0x3e84f8(0x3ac)](){const _0x4ec255=_0x3e84f8;this[_0x4ec255(0x3ec)]!=null&&(clearTimeout(this[_0x4ec255(0x3ec)]),this[_0x4ec255(0x3ec)]=null);}},_0x2509f1[_0x3e84f8(0x332)]=_0xb79613([_0x8d7f88(0x0,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x368)])),_0x8d7f88(0x1,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x477)])),_0x8d7f88(0x2,_0x2ede89['IMessageService']),_0x8d7f88(0x3,_0x3eca57[_0x3e84f8(0x391)]),_0x8d7f88(0x4,_0x3eca57[_0x3e84f8(0x25c)]),_0x8d7f88(0x5,_0x484b9f)],_0x2509f1[_0x3e84f8(0x332)]);var _0x5cb0ec=Object[_0x3e84f8(0x243)],_0x5b63c5=Object[_0x3e84f8(0x439)],_0x3515c7=(_0x3fde08,_0x1b41ba,_0x38c198,_0x42c373)=>{const _0x5019ca=_0x3e84f8;for(var _0x2de4a2=_0x42c373>0x1?void 0x0:_0x42c373?_0x5b63c5(_0x1b41ba,_0x38c198):_0x1b41ba,_0x588b15=_0x3fde08[_0x5019ca(0x1a6)]-0x1,_0x9676f8;_0x588b15>=0x0;_0x588b15--)(_0x9676f8=_0x3fde08[_0x588b15])&&(_0x2de4a2=(_0x42c373?_0x9676f8(_0x1b41ba,_0x38c198,_0x2de4a2):_0x9676f8(_0x2de4a2))||_0x2de4a2);return _0x42c373&&_0x2de4a2&&_0x5cb0ec(_0x1b41ba,_0x38c198,_0x2de4a2),_0x2de4a2;},_0x30f3eb=(_0x18513d,_0x558814)=>(_0xb23e79,_0x49098a)=>_0x558814(_0xb23e79,_0x49098a,_0x18513d);let _0xd6db42=class{constructor(_0x4bce44,_0x101ff1,_0x196e12){const _0xb33281=_0x3e84f8;this['_injector']=_0x4bce44,this[_0xb33281(0x263)]=_0x101ff1,this[_0xb33281(0x42a)]=_0x196e12;}[_0x3e84f8(0x3dd)](_0x3c56f5){const _0x5f535d=_0x3e84f8;this[_0x5f535d(0x45a)](_0x3c56f5),this['_transformPreviousActiveRange'](_0x3c56f5);}[_0x3e84f8(0x38b)](_0x2447e2){const _0x543be6=_0x3e84f8,{unitID:_0xa23b3}=_0x2447e2,_0x259266=this[_0x543be6(0x42a)][_0x543be6(0x1f7)](_0xa23b3)[_0x543be6(0x1b2)](_0x58059b[_0x543be6(0x474)]),{redoCache:_0x32539f}=_0x259266[_0x543be6(0x1a4)]();if(_0x32539f[_0x543be6(0x1a6)]===0x0)return _0x2447e2;let _0x4c2fcd=_0x3eca57[_0x543be6(0x21e)]['deepClone'](_0x2447e2[_0x543be6(0x313)][0x0]);for(let _0x29a196=0x0;_0x29a196<_0x32539f[_0x543be6(0x1a6)];_0x29a196++){const _0x256743={'id':_0x543be6(0x506),'params':{..._0x32539f[_0x29a196]}},_0x279933=this[_0x543be6(0x263)][_0x543be6(0x246)](_0x4c2fcd,_0x256743,!0x1);if(_0x1474a0[_0x543be6(0x199)](_0x279933))throw _0x279933[_0x543be6(0x543)];_0x4c2fcd=_0x279933[_0x543be6(0x374)];}return{..._0x3eca57[_0x543be6(0x21e)]['deepClone'](_0x2447e2),'mutations':[_0x4c2fcd]};}[_0x3e84f8(0x45a)](_0xba8c7){const _0x2375b1=_0x3e84f8,{unitID:_0x26f96a}=_0xba8c7,_0x48bac7=this['_renderManagerService'][_0x2375b1(0x1f7)](_0x26f96a)[_0x2375b1(0x1b2)](_0x58059b['DocIMEInputManagerService']),{undoCache:_0x4042e1,redoCache:_0x213e9e}=_0x48bac7[_0x2375b1(0x1a4)]();if(_0x4042e1['length']===0x0||_0x213e9e[_0x2375b1(0x1a6)]===0x0)return;const _0x5ca2ac=[],_0x2a5a62=[];let _0x468b3a=_0x3eca57[_0x2375b1(0x21e)][_0x2375b1(0x265)](_0xba8c7[_0x2375b1(0x313)][0x0]),_0x10e007=_0x3eca57[_0x2375b1(0x21e)][_0x2375b1(0x265)](_0xba8c7['mutations'][0x0]);for(let _0x2b914c=_0x4042e1[_0x2375b1(0x1a6)]-0x1;_0x2b914c>=0x0;_0x2b914c--){const _0x1f0e45={'id':'doc.mutation.rich-text-editing','params':{..._0x4042e1[_0x2b914c]}},_0x110a85={'id':_0x2375b1(0x506),'params':{..._0x213e9e[_0x2b914c]}},_0x3c3f49=this[_0x2375b1(0x263)][_0x2375b1(0x246)](_0x468b3a,_0x1f0e45,!0x1),_0x5a7574=this['_transformService'][_0x2375b1(0x246)](_0x10e007,_0x110a85,!0x1);if(_0x1474a0[_0x2375b1(0x199)](_0x3c3f49))throw _0x3c3f49[_0x2375b1(0x543)];if(_0x1474a0[_0x2375b1(0x199)](_0x5a7574))throw _0x5a7574[_0x2375b1(0x543)];_0x5ca2ac['unshift'](_0x3c3f49['m2Prime'][_0x2375b1(0x522)]),_0x2a5a62[_0x2375b1(0x126)](_0x5a7574['m2Prime'][_0x2375b1(0x522)]),_0x468b3a=_0x3c3f49[_0x2375b1(0x374)],_0x10e007=_0x5a7574[_0x2375b1(0x374)];}_0x48bac7[_0x2375b1(0x230)]({'undoCache':_0x5ca2ac,'redoCache':_0x2a5a62});}[_0x3e84f8(0x4b9)](_0x38948f){const _0x45e7cb=_0x3e84f8,{unitID:_0x481154}=_0x38948f,_0x5a78b7=this[_0x45e7cb(0x42a)]['getRenderById'](_0x481154)[_0x45e7cb(0x1b2)](_0x58059b[_0x45e7cb(0x474)]),_0xb7b26c=_0x5a78b7[_0x45e7cb(0x3fe)]();if(_0xb7b26c==null)return;const _0x4242d4=[{'id':_0x45e7cb(0x506),'params':{'unitId':_0x38948f[_0x45e7cb(0x13f)],'actions':null,'textRanges':[_0xb7b26c]}}],_0x300b05=this['_transformService'][_0x45e7cb(0x27b)](_0x38948f,_0x4242d4);if(!_0x1474a0[_0x45e7cb(0x1df)](_0x300b05))throw _0x300b05['error'];const _0x5d4429=_0x300b05['m2Prime'][0x0][_0x45e7cb(0x522)][_0x45e7cb(0x1a1)];Array[_0x45e7cb(0x4f1)](_0x5d4429)&&_0x5d4429[_0x45e7cb(0x1a6)]&&_0x5a78b7[_0x45e7cb(0x1cf)](_0x5d4429[0x0]);}};_0xd6db42=_0x3515c7([_0x30f3eb(0x0,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['Injector'])),_0x30f3eb(0x1,_0x1474a0[_0x3e84f8(0x3aa)]),_0x30f3eb(0x2,_0x29e386[_0x3e84f8(0x417)])],_0xd6db42);var _0x5c3a8a=Object[_0x3e84f8(0x243)],_0xac3277=Object[_0x3e84f8(0x439)],_0x52f689=(_0x4bb3e4,_0x19859d,_0x5d9c44,_0x1665f5)=>{const _0x303676=_0x3e84f8;for(var _0x388e4f=_0x1665f5>0x1?void 0x0:_0x1665f5?_0xac3277(_0x19859d,_0x5d9c44):_0x19859d,_0xe141e=_0x4bb3e4[_0x303676(0x1a6)]-0x1,_0x24cf82;_0xe141e>=0x0;_0xe141e--)(_0x24cf82=_0x4bb3e4[_0xe141e])&&(_0x388e4f=(_0x1665f5?_0x24cf82(_0x19859d,_0x5d9c44,_0x388e4f):_0x24cf82(_0x388e4f))||_0x388e4f);return _0x1665f5&&_0x388e4f&&_0x5c3a8a(_0x19859d,_0x5d9c44,_0x388e4f),_0x388e4f;},_0x11682c=(_0x50da3d,_0x2a5e8f)=>(_0x1633c3,_0x3ff22d)=>_0x2a5e8f(_0x1633c3,_0x3ff22d,_0x50da3d);_0x2509f1['LocalCacheService']=class extends _0x3eca57[_0x3e84f8(0x2a6)]{constructor(_0x5974f3,_0x14e3d9,_0x5085d9,_0x5d1e92,_0x10c26c){const _0x4b088a=_0x3e84f8;super(),_0x1de933(this,_0x4b088a(0x42c),new Map()),_0x1de933(this,_0x4b088a(0x41f),new Map()),_0x1de933(this,_0x4b088a(0x1b1),!0x1),(this['_configService']=_0x5974f3,this[_0x4b088a(0x52e)]=_0x14e3d9,this[_0x4b088a(0x318)]=_0x5085d9,this[_0x4b088a(0x2c7)]=_0x5d1e92,this[_0x4b088a(0x38e)]=_0x10c26c,this[_0x4b088a(0x3b1)]());}[_0x3e84f8(0x436)](){const _0xb60015=_0x3e84f8;this[_0xb60015(0x1b1)]=!0x0;}['enableLocalCache'](){const _0x551b7f=_0x3e84f8;this[_0x551b7f(0x1b1)]=!0x1;}[_0x3e84f8(0x231)](){const _0x4d778b=_0x3e84f8;this[_0x4d778b(0x521)]()[_0x4d778b(0x504)](()=>super[_0x4d778b(0x231)]());}async[_0x3e84f8(0x1d5)](_0x1bfff9){const _0xa74683=_0x3e84f8;return this[_0xa74683(0x1b1)]?null:this[_0xa74683(0x52e)][_0xa74683(0x1c5)](_0x144825(_0x1bfff9));}async['saveOfflineData'](_0x5f198e,_0x6c7a8b){const _0x7633e5=_0x3e84f8;return!!this[_0x7633e5(0x52e)]['setItem'](_0x5f198e,_0x6c7a8b);}['updateOfflineData'](_0x3444d7,_0xfb30a2,_0x1e3221,_0x39701b){const _0x464296=_0x3e84f8,_0x1b7d8c=this[_0x464296(0x38e)][_0x464296(0x178)](_0x3444d7);this[_0x464296(0x42c)][_0x464296(0x1b8)](_0x3444d7,{'unitID':_0x3444d7,'type':_0xfb30a2,'awaitingChangeset':_0x1e3221,'mutations':_0x39701b,'rev':_0x1b7d8c}),this['_saveTaskMap']['has'](_0x3444d7)||this[_0x464296(0x42f)](_0x3444d7);}[_0x3e84f8(0x42f)](_0xbb5e4c){const _0x97be0e=_0x3e84f8,_0x1dbc98=this[_0x97be0e(0x1ca)]();_0x1dbc98===0x0?this[_0x97be0e(0x203)](_0xbb5e4c):this[_0x97be0e(0x41f)][_0x97be0e(0x1b8)](_0xbb5e4c,setTimeout(()=>this['_saveCache'](_0xbb5e4c),_0x1dbc98));}[_0x3e84f8(0x1ca)](){const _0xac4202=_0x3e84f8;var _0xd70ca5;return(_0xd70ca5=this[_0xac4202(0x466)][_0xac4202(0x22e)](_0x55047c))!=null?_0xd70ca5:0x3e8;}[_0x3e84f8(0x203)](_0x3b1f3a){const _0x3cb54d=_0x3e84f8,_0x16ed1e=this['_saveTaskMap'][_0x3cb54d(0x4af)](_0x3b1f3a);return _0x16ed1e!==void 0x0&&window[_0x3cb54d(0x24d)](_0x16ed1e),this[_0x3cb54d(0x52e)][_0x3cb54d(0x177)](_0x144825(_0x3b1f3a),this['_cachedData'][_0x3cb54d(0x4af)](_0x3b1f3a))[_0x3cb54d(0x504)](()=>this[_0x3cb54d(0x41f)][_0x3cb54d(0x531)](_0x3b1f3a));}async[_0x3e84f8(0x521)](){const _0x30bfdf=_0x3e84f8,_0x182b79=[];this[_0x30bfdf(0x41f)][_0x30bfdf(0x306)]((_0x2d2e37,_0x227994)=>{const _0xeefb6d=_0x30bfdf;window[_0xeefb6d(0x24d)](_0x2d2e37),_0x182b79[_0xeefb6d(0x434)](this[_0xeefb6d(0x203)](_0x227994)['then'](()=>{const _0x30274e=_0xeefb6d;this[_0x30274e(0x41f)][_0x30274e(0x531)](_0x227994);}));}),await Promise['all'](_0x182b79);}[_0x3e84f8(0x3b1)](){const _0x37791f=_0x3e84f8;this[_0x37791f(0x4ed)](this[_0x37791f(0x318)][_0x37791f(0x1c0)](()=>{const _0x1b7a3e=_0x37791f;if(this['_saveTaskMap'][_0x1b7a3e(0x28b)])return this[_0x1b7a3e(0x2c7)]['t'](_0x1b7a3e(0x40d));}));}},_0x2509f1['LocalCacheService']=_0x52f689([_0x11682c(0x0,_0x3eca57[_0x3e84f8(0x25c)]),_0x11682c(0x1,_0x3eca57[_0x3e84f8(0x392)]),_0x11682c(0x2,_0x2ede89[_0x3e84f8(0x220)]),_0x11682c(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x477)])),_0x11682c(0x4,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x210)]))],_0x2509f1[_0x3e84f8(0x373)]);function _0x144825(_0x340879){const _0x1a9f1c=_0x3e84f8;return _0x1a9f1c(0x2c5)+_0x340879;}var _0x14fb21=Object[_0x3e84f8(0x243)],_0x591908=Object[_0x3e84f8(0x439)],_0xbbafa5=(_0x2bad3f,_0x30b181,_0x1a7411,_0xf3d99c)=>{const _0x8b10b9=_0x3e84f8;for(var _0x4d01e2=_0xf3d99c>0x1?void 0x0:_0xf3d99c?_0x591908(_0x30b181,_0x1a7411):_0x30b181,_0x15648c=_0x2bad3f[_0x8b10b9(0x1a6)]-0x1,_0x2e9eec;_0x15648c>=0x0;_0x15648c--)(_0x2e9eec=_0x2bad3f[_0x15648c])&&(_0x4d01e2=(_0xf3d99c?_0x2e9eec(_0x30b181,_0x1a7411,_0x4d01e2):_0x2e9eec(_0x4d01e2))||_0x4d01e2);return _0xf3d99c&&_0x4d01e2&&_0x14fb21(_0x30b181,_0x1a7411,_0x4d01e2),_0x4d01e2;},_0xafd83=(_0x29de47,_0x34b72d)=>(_0x46f4df,_0x17d6c7)=>_0x34b72d(_0x46f4df,_0x17d6c7,_0x29de47);function _0x2afc8d(_0x1ef8ef){const _0x169334=_0x3e84f8,{unitID:_0x2caa7f,mutations:_0x351621}=_0x1ef8ef;return{'unitId':_0x2caa7f,'subUnitId':_0x351621[0x0][_0x169334(0x522)]['subUnitId']};}let _0x322a21=class{constructor(_0x560e60,_0x244b14,_0x3dd8a4){this['_injector']=_0x560e60,this['_transformService']=_0x244b14,this['_instanceService']=_0x3dd8a4;}['transformSelections'](_0x58985e){const _0x1e74b1=_0x3e84f8;var _0x3a38cc,_0xda9287,_0xc42cf9,_0x4be2a3,_0xc9473a;const _0x1055fc=this['_injector'][_0x1e74b1(0x4af)](_0x9f218b['SheetsSelectionsService']),{unitId:_0x19176f,subUnitId:_0x14a4d2}=_0x2afc8d(_0x58985e),_0x1a4e84=_0x1055fc['getWorkbookSelections'](_0x19176f)[_0x1e74b1(0x301)](),_0x9f457b=(_0xda9287=(_0x3a38cc=this['_instanceService']['getUnit'](_0x19176f))==null?void 0x0:_0x3a38cc['getActiveSheet']())==null?void 0x0:_0xda9287[_0x1e74b1(0x302)]();if(_0x1a4e84[_0x1e74b1(0x1a6)]===0x0||!_0x19176f||!_0x14a4d2)return;const _0x47ca90=[{'id':_0x9f218b[_0x1e74b1(0x248)]['id'],'params':{'unitId':_0x19176f,'subUnitId':_0x9f457b,'selections':_0x3eca57[_0x1e74b1(0x21e)][_0x1e74b1(0x265)](_0x1a4e84)}}],_0x4fcc7f=this[_0x1e74b1(0x263)][_0x1e74b1(0x27b)](_0x58985e,_0x47ca90);if(!_0x1474a0['isTransformMutationsWithChangesetSuccess'](_0x4fcc7f))throw _0x4fcc7f[_0x1e74b1(0x543)];const _0x47e380=(_0xc9473a=(_0x4be2a3=(_0xc42cf9=_0x4fcc7f[_0x1e74b1(0x3da)][0x0])==null?void 0x0:_0xc42cf9[_0x1e74b1(0x522)])==null?void 0x0:_0x4be2a3[_0x1e74b1(0x406)])!=null?_0xc9473a:_0x1a4e84;Array[_0x1e74b1(0x4f1)](_0x47e380)&&_0x47e380[_0x1e74b1(0x1a6)]&&this[_0x1e74b1(0x249)][_0x1e74b1(0x4af)](_0x3eca57[_0x1e74b1(0x2b3)])[_0x1e74b1(0x17c)](_0x9f218b[_0x1e74b1(0x248)]['id'],{'unitId':_0x19176f,'subUnitId':_0x14a4d2,'selections':_0x47e380});}};_0x322a21=_0xbbafa5([_0xafd83(0x0,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x368)])),_0xafd83(0x1,_0x1474a0[_0x3e84f8(0x3aa)]),_0xafd83(0x2,_0x3eca57['IUniverInstanceService'])],_0x322a21);const _0x39225f=_0x3eca57[_0x3e84f8(0x251)]('univer-pro.collaboration-client.single-active-unit-service');var _0x25e60f=(_0x45867b=>(_0x45867b[_0x45867b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x3e84f8(0x4c1),_0x45867b[_0x45867b[_0x3e84f8(0x3d3)]=0x1]=_0x3e84f8(0x3d3),_0x45867b))(_0x25e60f||{});const _0x5c56c2=0x7530,_0x5d8ef3='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1bad77 extends _0x3eca57[_0x3e84f8(0x2a6)]{constructor(){const _0x302c57=_0x3e84f8;super(),_0x1de933(this,_0x302c57(0x473),_0x3eca57[_0x302c57(0x21e)][_0x302c57(0x489)]()),_0x1de933(this,'_selfUnitIDs',new Set()),_0x1de933(this,_0x302c57(0x413),new Map()),_0x1de933(this,_0x302c57(0x279),null),_0x1de933(this,_0x302c57(0x139),new Map()),_0x1de933(this,_0x302c57(0x30e),new Map()),this[_0x302c57(0x176)]();}[_0x3e84f8(0x231)](){const _0x382191=_0x3e84f8;super[_0x382191(0x231)](),this[_0x382191(0x139)]['forEach']((_0x5ddb5b,_0x5ac5e3)=>this[_0x382191(0x23d)](_0x5ac5e3)),this[_0x382191(0x279)]&&window[_0x382191(0x223)](this[_0x382191(0x279)]);}[_0x3e84f8(0x27e)](_0x14b5e4){const _0x2ff470=_0x3e84f8;return this['_ensureSubject'](_0x14b5e4)['pipe'](_0x199df4[_0x2ff470(0x1bd)]());}[_0x3e84f8(0x4e6)](_0x1df912){const _0x420fb7=_0x3e84f8;this[_0x420fb7(0x379)][_0x420fb7(0x28b)]===0x0&&this[_0x420fb7(0x167)](),this['_selfUnitIDs'][_0x420fb7(0x44d)](_0x1df912),this[_0x420fb7(0x420)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1df912],'isForwarded':!0x1});}[_0x3e84f8(0x15e)](_0x185b50){const _0x1eb714=_0x3e84f8;this[_0x1eb714(0x379)]['delete'](_0x185b50),this[_0x1eb714(0x379)][_0x1eb714(0x28b)]===0x0&&this[_0x1eb714(0x279)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3e84f8(0x176)](){const _0x48716b=_0x3e84f8;this[_0x48716b(0x4ed)](_0x3eca57[_0x48716b(0x340)](_0x199df4[_0x48716b(0x197)](window,_0x48716b(0x366))[_0x48716b(0x4da)](_0x32f4ef=>{const _0x519ac0=_0x48716b;if(_0x32f4ef[_0x519ac0(0x16c)]!==_0x5d8ef3||!_0x32f4ef[_0x519ac0(0x3dc)])return;const _0x190621=JSON[_0x519ac0(0x47a)](_0x32f4ef[_0x519ac0(0x3dc)]);this[_0x519ac0(0x418)](_0x190621);}))),window['addEventListener'](_0x48716b(0x46c),()=>this[_0x48716b(0x420)]({'type':0x1,'memberID':this[_0x48716b(0x473)],'unitIDs':Array[_0x48716b(0x41e)](this[_0x48716b(0x379)])}));}[_0x3e84f8(0x418)](_0x272c15){const _0x9ed315=_0x3e84f8;switch(_0x272c15[_0x9ed315(0x4c9)]){case 0x0:this[_0x9ed315(0x408)](_0x272c15);break;case 0x1:this[_0x9ed315(0x4fa)](_0x272c15);break;case 0x2:this['_handleHeartbeatEvent'](_0x272c15);break;}}['_handleJoinEvent'](_0x42f64c){const _0xd2ce85=_0x3e84f8,{unitIDs:_0x4b62e8,memberID:_0x526718,isForwarded:_0x4d94b8}=_0x42f64c;_0x4b62e8[_0xd2ce85(0x306)](_0x611f9e=>{const _0x7b3865=_0xd2ce85;if(!_0x4d94b8&&this['_unitOnClients']['has'](_0x611f9e)&&this[_0x7b3865(0x2e0)](_0x611f9e)[_0x7b3865(0x2d2)](0x1),!this[_0x7b3865(0x413)][_0x7b3865(0x2a7)](_0x611f9e)||!this[_0x7b3865(0x413)][_0x7b3865(0x4af)](_0x611f9e)[_0x7b3865(0x2a7)](_0x526718)){const _0x1f8fc3=this[_0x7b3865(0x413)]['get'](_0x611f9e)||new Set();_0x1f8fc3[_0x7b3865(0x44d)](_0x526718),this[_0x7b3865(0x413)]['set'](_0x611f9e,_0x1f8fc3),this['_scheduleClearOtherTimer'](_0x526718);}}),_0x4d94b8||this[_0xd2ce85(0x420)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xd2ce85(0x379)]],'isForwarded':!0x0});}[_0x3e84f8(0x128)](_0x33c5da){const _0xb95003=_0x3e84f8;this[_0xb95003(0x23d)](_0x33c5da);const _0x286456=window['setTimeout'](()=>{const _0x579983=_0xb95003;this[_0x579983(0x413)][_0x579983(0x306)](_0x2e270e=>{const _0x3bc980=_0x579983;_0x2e270e[_0x3bc980(0x531)](_0x33c5da);});},_0x5c56c2*0x2);this[_0xb95003(0x139)][_0xb95003(0x1b8)](_0x33c5da,_0x286456);}[_0x3e84f8(0x23d)](_0x512e9c){const _0x39ce9b=_0x3e84f8;if(this['_clearOtherTimers']['has'](_0x512e9c)){const _0x3a293d=this[_0x39ce9b(0x139)]['get'](_0x512e9c);_0x3a293d&&window[_0x39ce9b(0x24d)](_0x3a293d),this[_0x39ce9b(0x139)][_0x39ce9b(0x1b8)](_0x512e9c,null);}}['_handleLeaveEvent'](_0x517069){const _0xbdf052=_0x3e84f8,{memberID:_0x252695,unitIDs:_0x3f21d5}=_0x517069;_0x3f21d5[_0xbdf052(0x306)](_0x4219b3=>{const _0x504691=_0xbdf052;var _0x7fc5fe;const _0x12a459=this[_0x504691(0x413)][_0x504691(0x4af)](_0x4219b3);_0x12a459&&(_0x12a459[_0x504691(0x531)](_0x252695),(_0x7fc5fe=this[_0x504691(0x2e0)](_0x4219b3))==null||_0x7fc5fe['next'](_0x12a459[_0x504691(0x28b)]===0x0?0x0:0x1));}),this[_0xbdf052(0x23d)](_0x252695);}[_0x3e84f8(0x1bc)](_0x49e5a9){const _0x1c16d5=_0x3e84f8;this[_0x1c16d5(0x128)](_0x49e5a9['memberID']);}[_0x3e84f8(0x420)](_0x54963b){const _0x6bf876=_0x3e84f8;localStorage[_0x6bf876(0x177)](_0x5d8ef3,JSON[_0x6bf876(0x2ee)](_0x54963b));}['_scheduleHeartbeat'](){const _0x4e1e96=_0x3e84f8;this[_0x4e1e96(0x279)]=window[_0x4e1e96(0x449)](()=>{const _0xd588e3=_0x4e1e96;this[_0xd588e3(0x420)]({'type':0x2,'memberID':this['_id']});},_0x5c56c2);}[_0x3e84f8(0x2e0)](_0x353fed){const _0x370441=_0x3e84f8;return this[_0x370441(0x30e)][_0x370441(0x2a7)](_0x353fed)||this[_0x370441(0x30e)]['set'](_0x353fed,new _0x199df4[(_0x370441(0x244))](0x0)),this['_unitStatus']['get'](_0x353fed);}}function _0x2d22be(_0x3b725){const _0x19525f=_0x3e84f8;let _0xbb678b='';for(const _0x17fe3f of _0x3b725){const {startOffset:_0x22623d,endOffset:_0x2d9375,isActive:_0x5376ce}=_0x17fe3f;_0xbb678b[_0x19525f(0x1a6)]&&(_0xbb678b+=','),_0xbb678b+=_0x22623d+':'+_0x2d9375+':'+(_0x5376ce?'1':'0');}return _0xbb678b;}function _0x17e635(_0xf68e59){const _0x2296f2=_0x3e84f8,_0x58db9b=_0xf68e59['split'](','),_0x1cae2a=[];for(const _0x3caa4c of _0x58db9b){const [_0xc44fff,_0x1302f1,_0x4842fc]=_0x3caa4c[_0x2296f2(0x389)](':');_0x1cae2a[_0x2296f2(0x434)]({'startOffset':Number(_0xc44fff),'endOffset':Number(_0x1302f1),'collapsed':_0xc44fff===_0x1302f1,'isActive':_0x4842fc==='1'});}return _0x1cae2a[_0x2296f2(0x270)](_0xb8a0b0=>_0xb8a0b0['isActive'])||(_0x1cae2a[0x0]['isActive']=!0x0),_0x1cae2a;}class _0x2436eb extends _0x3eca57[_0x3e84f8(0x37a)]{constructor(){const _0x38386a=_0x3e84f8;super(...arguments),_0x1de933(this,_0x38386a(0x415),new _0x199df4['BehaviorSubject'](null)),_0x1de933(this,_0x38386a(0x3c1),this[_0x38386a(0x415)][_0x38386a(0x183)]());}['syncEditingCollabCursor'](_0x3a74b8){const _0x5dca99=_0x3e84f8,{unitID:_0x565afa,memberID:_0x258575,textRanges:_0x324797}=_0x3a74b8,_0x6e4bb4=_0x2d22be(_0x324797),_0x5b00c5={'unitID':_0x565afa,'memberID':_0x258575,'selection':_0x6e4bb4};this[_0x5dca99(0x415)]['next'](_0x5b00c5);}}var _0x4cb80f=Object[_0x3e84f8(0x243)],_0x244476=Object[_0x3e84f8(0x439)],_0x23bf96=(_0x2291f9,_0x429101,_0x29d92a,_0x241523)=>{const _0x4e21c2=_0x3e84f8;for(var _0x289159=_0x241523>0x1?void 0x0:_0x241523?_0x244476(_0x429101,_0x29d92a):_0x429101,_0x152e50=_0x2291f9[_0x4e21c2(0x1a6)]-0x1,_0xcdd2f5;_0x152e50>=0x0;_0x152e50--)(_0xcdd2f5=_0x2291f9[_0x152e50])&&(_0x289159=(_0x241523?_0xcdd2f5(_0x429101,_0x29d92a,_0x289159):_0xcdd2f5(_0x289159))||_0x289159);return _0x241523&&_0x289159&&_0x4cb80f(_0x429101,_0x29d92a,_0x289159),_0x289159;},_0x1c824c=(_0x4e06b5,_0x239df2)=>(_0x4c5ee3,_0x121966)=>_0x239df2(_0x4c5ee3,_0x121966,_0x4e06b5);let _0x1fbfda=class{constructor(_0x30c456,_0xb15bcf){const _0x2ce444=_0x3e84f8;this[_0x2ce444(0x249)]=_0x30c456,this[_0x2ce444(0x263)]=_0xb15bcf;}[_0x3e84f8(0x537)](_0x223433){const _0x388a0c=_0x3e84f8;var _0x3bfcc2;const _0x30f788=this[_0x388a0c(0x249)]['get'](_0x5a15a4[_0x388a0c(0x247)]),_0x2bfa28=(_0x3bfcc2=_0x30f788[_0x388a0c(0x2f5)]())!=null?_0x3bfcc2:[];if(_0x2bfa28['length']===0x0)return;const _0xf8f89f=[{'id':_0x388a0c(0x506),'params':{'unitId':_0x223433[_0x388a0c(0x13f)],'actions':null,'textRanges':_0x2bfa28}}],_0x5aef07=this['_transformService'][_0x388a0c(0x27b)](_0x223433,_0xf8f89f);if(!_0x1474a0['isTransformMutationsWithChangesetSuccess'](_0x5aef07))throw _0x5aef07[_0x388a0c(0x543)];const _0x573eea=_0x5aef07[_0x388a0c(0x3da)][0x0]['params']['textRanges'];Array[_0x388a0c(0x4f1)](_0x573eea)&&_0x573eea['length']&&_0x30f788[_0x388a0c(0x348)](_0x573eea,!0x1);}};_0x1fbfda=_0x23bf96([_0x1c824c(0x0,_0x3eca57['Inject'](_0x3eca57['Injector'])),_0x1c824c(0x1,_0x1474a0[_0x3e84f8(0x3aa)])],_0x1fbfda);const _0x2ebfc7=new Set([_0x9f218b[_0x3e84f8(0x32b)]['id']]);function _0x14af56(_0x3120e9,_0x77e837,_0x59ecc4,_0x420dac,_0x4e5630){const _0x349f07=_0x3e84f8;var _0x10dcc4,_0x301297,_0xeea1a6,_0x2596a6;const _0x45c31d=[];for(const _0x4d5e88 of _0x3120e9)if(_0x2ebfc7['has'](_0x4d5e88['id'])){if(_0x45c31d[_0x349f07(0x1a6)]>0x0)break;_0x45c31d[_0x349f07(0x434)](_0x4d5e88);break;}else _0x45c31d[_0x349f07(0x434)](_0x4d5e88);const _0x1eb19b=(_0x301297=(_0x10dcc4=_0x4e5630['getCurrentUser']())==null?void 0x0:_0x10dcc4['userID'])!=null?_0x301297:'unknown',_0xcfbe7=(_0x2596a6=(_0xeea1a6=_0x4e5630[_0x349f07(0x507)]())==null?void 0x0:_0xeea1a6[_0x349f07(0x1cb)])!=null?_0x2596a6:_0x349f07(0x4e0);return{'changeset':{'unitID':_0x77e837,'type':_0x1474a0[_0x349f07(0x3b0)](_0x59ecc4[_0x349f07(0x460)](_0x77e837)),'baseRev':_0x420dac['getCurrentRevForDocument'](_0x77e837),'revision':0x0,'userID':_0x1eb19b,'memberID':_0xcfbe7,'mutations':_0x45c31d},'pendingMutations':_0x3120e9[_0x349f07(0x4f4)](_0x45c31d[_0x349f07(0x1a6)])};}function _0x200bd1(_0x45fecf,_0x34aac0,_0x46e18a,_0x1c7af9,_0x9890ae){const _0x1f2bcf=_0x3e84f8;var _0x4f9fed,_0x18aa8c,_0xbfb22c,_0x40db34;const _0xad6613=[_0x45fecf[_0x1f2bcf(0x29a)]((_0x2f23c4,_0x2572a1)=>{const _0x560587=_0x1f2bcf;var _0x35a62a;const {id:_0x2a8b5f}=_0x2f23c4,{id:_0x343978,type:_0x2c55e2}=_0x2572a1,_0x5bf135=(_0x35a62a=_0x2f23c4[_0x560587(0x522)])!=null?_0x35a62a:{'actions':null},_0x203b4f=_0x2572a1[_0x560587(0x522)];if(_0x2a8b5f&&_0x2a8b5f!==_0x343978)throw new Error(_0x560587(0x419)+_0x2a8b5f+'\x20-\x20'+_0x343978+'.');return{..._0x2f23c4,'id':_0x343978,'type':_0x2c55e2,'params':{'unitId':_0x203b4f['unitId'],'textRanges':_0x203b4f['textRanges'],'actions':_0x3eca57[_0x560587(0x18c)][_0x560587(0x26e)](_0x5bf135[_0x560587(0x3f6)],_0x203b4f['actions'])}};},{})],_0x3645bc=(_0x18aa8c=(_0x4f9fed=_0x9890ae['getCurrentUser']())==null?void 0x0:_0x4f9fed[_0x1f2bcf(0x2c1)])!=null?_0x18aa8c:_0x1f2bcf(0x4e0),_0x11f848=(_0x40db34=(_0xbfb22c=_0x9890ae['getCurrentUser']())==null?void 0x0:_0xbfb22c[_0x1f2bcf(0x1cb)])!=null?_0x40db34:_0x1f2bcf(0x4e0);return{'changeset':{'unitID':_0x34aac0,'type':_0x1474a0[_0x1f2bcf(0x3b0)](_0x46e18a[_0x1f2bcf(0x460)](_0x34aac0)),'baseRev':_0x1c7af9[_0x1f2bcf(0x178)](_0x34aac0),'revision':0x0,'userID':_0x3645bc,'memberID':_0x11f848,'mutations':_0xad6613},'pendingMutations':[]};}const _0x528ed9={'id':_0x9f218b['EmptyMutation']['id'],'type':_0x3eca57[_0x3e84f8(0x32c)]['MUTATION'],'params':{}};var _0x793f6d=Object['defineProperty'],_0x4e7913=Object['getOwnPropertyDescriptor'],_0x17b63f=(_0x2c00ea,_0x3ead92,_0x4ec9b9,_0x588971)=>{const _0x3c6f32=_0x3e84f8;for(var _0x5707d8=_0x588971>0x1?void 0x0:_0x588971?_0x4e7913(_0x3ead92,_0x4ec9b9):_0x3ead92,_0x5e8687=_0x2c00ea[_0x3c6f32(0x1a6)]-0x1,_0x1b89d3;_0x5e8687>=0x0;_0x5e8687--)(_0x1b89d3=_0x2c00ea[_0x5e8687])&&(_0x5707d8=(_0x588971?_0x1b89d3(_0x3ead92,_0x4ec9b9,_0x5707d8):_0x1b89d3(_0x5707d8))||_0x5707d8);return _0x588971&&_0x5707d8&&_0x793f6d(_0x3ead92,_0x4ec9b9,_0x5707d8),_0x5707d8;},_0x66e8c4=(_0x1a82d1,_0x54dd15)=>(_0x57db21,_0x7ceaae)=>_0x54dd15(_0x57db21,_0x7ceaae,_0x1a82d1),_0x4bd68c=(_0x297a7c=>(_0x297a7c[_0x3e84f8(0x3c6)]=_0x3e84f8(0x4fe),_0x297a7c[_0x3e84f8(0x2f9)]=_0x3e84f8(0x1c1),_0x297a7c[_0x3e84f8(0x1ab)]=_0x3e84f8(0x3a3),_0x297a7c[_0x3e84f8(0x1a3)]=_0x3e84f8(0x456),_0x297a7c[_0x3e84f8(0x2ed)]=_0x3e84f8(0x39c),_0x297a7c[_0x3e84f8(0x384)]=_0x3e84f8(0x387),_0x297a7c['CONFLICT']=_0x3e84f8(0x1ff),_0x297a7c[_0x3e84f8(0x535)]='offline',_0x297a7c))(_0x4bd68c||{});class _0x3c556b{constructor(_0x574ffc,_0x58e07c,_0x2d4f9e,_0x52c2d7,_0x4663f5,_0x387c46,_0x227d79,_0x25b4e6,_0x5ef576){const _0x87006c=_0x3e84f8;_0x1de933(this,_0x87006c(0x4df),null),_0x1de933(this,_0x87006c(0x334),[]),(this[_0x87006c(0x13f)]=_0x574ffc,this['type']=_0x58e07c,this[_0x87006c(0x4be)]=_0x4663f5,this[_0x87006c(0x30a)]=_0x387c46,this[_0x87006c(0x1d9)]=_0x227d79,this['_revisionService']=_0x25b4e6,this[_0x87006c(0x442)]=_0x5ef576,this['_awaitingChangeset']=_0x2d4f9e,this[_0x87006c(0x334)]=_0x52c2d7);}[_0x3e84f8(0x395)](_0x390775){const _0x7fe952=_0x3e84f8,_0x5298a3=this[_0x7fe952(0x38e)]['getCurrentRevForDocument'](this[_0x7fe952(0x13f)]);return _0x390775['revision']>_0x5298a3+0x1?(this['_handler'][_0x7fe952(0x375)]({'from':_0x5298a3,'to':_0x390775['revision']-0x1}),!0x0):!0x1;}[_0x3e84f8(0x4ad)](_0x27e4e0){const _0x30a267=_0x3e84f8;this[_0x30a267(0x1d9)][_0x30a267(0x538)](this[_0x30a267(0x13f)],_0x27e4e0);}[_0x3e84f8(0x207)](_0x3c3501){const _0x4b66c7=_0x3e84f8;var _0x12fb1d,_0x576a06;(_0x576a06=(_0x12fb1d=this[_0x4b66c7(0x4be)])[_0x4b66c7(0x30b)])==null||_0x576a06[_0x4b66c7(0x48c)](_0x12fb1d,_0x3c3501);}[_0x3e84f8(0x1dd)](_0x25129d){const _0x5b3949=_0x3e84f8;var _0x484bc3,_0x568c45;return(_0x568c45=(_0x484bc3=this['_handler'])['onTransformIME'])==null?void 0x0:_0x568c45[_0x5b3949(0x48c)](_0x484bc3,_0x25129d);}[_0x3e84f8(0x461)](_0x1dae7b){const _0x52994f=_0x3e84f8;var _0x60a754,_0x2c8549,_0x25f25e;return(_0x25f25e=(_0x2c8549=(_0x60a754=this[_0x52994f(0x4be)])[_0x52994f(0x4e5)])==null?void 0x0:_0x2c8549['call'](_0x60a754,_0x1dae7b))!=null?_0x25f25e:_0x1dae7b;}[_0x3e84f8(0x23c)](_0x31c9f1){const _0x236394=_0x3e84f8;var _0x589898,_0x529b81;if(this[_0x236394(0x4c9)]===_0x588a36[_0x236394(0x269)]){const {unitID:_0x3d1790,mutations:_0x26035f,memberID:_0x272d7c}=_0x31c9f1,_0x236e8a=_0x26035f[0x0][_0x236394(0x522)][_0x236394(0x1a1)];Array[_0x236394(0x4f1)](_0x236e8a)&&_0x236e8a[_0x236394(0x1a6)]>0x0&&((_0x529b81=(_0x589898=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x529b81[_0x236394(0x48c)](_0x589898,{'unitID':_0x3d1790,'memberID':_0x272d7c,'textRanges':_0x236e8a}));}}[_0x3e84f8(0x170)](){const _0x1311bb=_0x3e84f8;this[_0x1311bb(0x442)][_0x1311bb(0x344)](this[_0x1311bb(0x13f)],this[_0x1311bb(0x4c9)],this['_awaitingChangeset'],this[_0x1311bb(0x334)]);}['_getCurrentRevision'](){const _0x1fde57=_0x3e84f8;return this[_0x1fde57(0x38e)][_0x1fde57(0x178)](this[_0x1fde57(0x13f)]);}['_incrementRevisionNumber'](){const _0x3b4b76=_0x3e84f8;this[_0x3b4b76(0x38e)][_0x3b4b76(0x266)](this['unitID']);}['_executeRemoteChangeset'](_0x4ac9ab){const _0x4ceebf=_0x3e84f8;var _0x39d599;const _0x1af30b=this['_transformRemoteChangesetByIMECache'](_0x4ac9ab),_0x1e2d47=_0x3eca57[_0x4ceebf(0x491)](_0x1af30b['mutations'],this[_0x4ceebf(0x30a)],{'fromCollab':!0x0});if(!_0x1e2d47[_0x4ceebf(0x476)])throw _0x1e2d47['error']instanceof Error?_0x1e2d47[_0x4ceebf(0x543)]:new Error((_0x39d599=_0x1e2d47[_0x4ceebf(0x543)])!=null?_0x39d599:_0x4ceebf(0x459));this['_transformIMECache'](_0x1af30b),this[_0x4ceebf(0x4ad)](_0x4ac9ab),this[_0x4ceebf(0x207)](_0x1af30b),this['_syncEditingCollabCursor'](_0x1af30b),this[_0x4ceebf(0x422)]();}}let _0x400828=class extends _0x3c556b{constructor(_0x101c90,_0xd921bb,_0x473662,_0x266b2e,_0x362b26,_0x385af3,_0x3c7bd3,_0x19ad99,_0x200f31,_0x4f5dc6){const _0x15878a=_0x3e84f8;super(_0x101c90,_0xd921bb,null,[],_0x473662,_0x19ad99,_0x3c7bd3,_0x266b2e,_0x362b26),_0x1de933(this,_0x15878a(0x169),_0x15878a(0x1c1)),(this['_injector']=_0x385af3,this[_0x15878a(0x31d)]=_0x200f31,this[_0x15878a(0x263)]=_0x4f5dc6);}['appendMutation'](_0x471e4d){const _0x52e65=_0x3e84f8,_0xd2fd86=this['_injector'][_0x52e65(0x2b5)](_0x5f5d23,this[_0x52e65(0x13f)],this[_0x52e65(0x4c9)],[_0x471e4d],this['_handler']);return _0xd2fd86[_0x52e65(0x3b5)](),_0xd2fd86[_0x52e65(0x170)](),_0xd2fd86;}[_0x3e84f8(0x2e3)](_0x411233){const _0x49df76=_0x3e84f8;if(this[_0x49df76(0x395)](_0x411233))return this[_0x49df76(0x249)]['createInstance'](_0x3d21ae,this[_0x49df76(0x13f)],this['type'],null,[],null,[_0x411233],this[_0x49df76(0x4be)]);try{const _0x99cf6c=this[_0x49df76(0x263)][_0x49df76(0x27b)](_0x411233,[_0x528ed9]);if(_0x1474a0[_0x49df76(0x1df)](_0x99cf6c)){const {c1Prime:_0x3e246c}=_0x99cf6c;return this[_0x49df76(0x47d)](_0x3e246c),this;}throw _0x99cf6c['error'];}catch(_0x28b2a8){return this[_0x49df76(0x31d)][_0x49df76(0x543)](_0x28b2a8),this[_0x49df76(0x48a)](!0x1);}}['_onConflict'](_0x379bdd){const _0x402f91=_0x3e84f8;return this[_0x402f91(0x249)][_0x402f91(0x2b5)](_0x35c7cc,this[_0x402f91(0x13f)],this[_0x402f91(0x4c9)],null,[],this[_0x402f91(0x4be)],_0x379bdd);}[_0x3e84f8(0x51b)](){const _0x45ae45=_0x3e84f8;throw new Error(_0x45ae45(0x217));}[_0x3e84f8(0x4d9)](){const _0xa47771=_0x3e84f8;throw new Error(_0xa47771(0x23f));}[_0x3e84f8(0x2e8)](){const _0x4a221d=_0x3e84f8;return this[_0x4a221d(0x249)][_0x4a221d(0x2b5)](_0x3f060c,this['unitID'],this[_0x4a221d(0x4c9)],null,[],this[_0x4a221d(0x4be)]);}[_0x3e84f8(0x333)](){return this;}[_0x3e84f8(0x23e)](){const _0xdcf8ef=_0x3e84f8;throw new Error(_0xdcf8ef(0x3b2));}['fetchMiss'](){const _0x3169a7=_0x3e84f8,_0x43af52=this[_0x3169a7(0x38e)][_0x3169a7(0x178)](this[_0x3169a7(0x13f)]);return this[_0x3169a7(0x4be)][_0x3169a7(0x375)]({'from':_0x43af52,'to':0x0}),this[_0x3169a7(0x249)]['createInstance'](_0x3d21ae,this[_0x3169a7(0x13f)],this[_0x3169a7(0x4c9)],null,[],null,[],this[_0x3169a7(0x4be)]);}};_0x400828=_0x17b63f([_0x66e8c4(0x3,_0x3eca57['Inject'](_0x1474a0['RevisionService'])),_0x66e8c4(0x4,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1['LocalCacheService'])),_0x66e8c4(0x5,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['Injector'])),_0x66e8c4(0x6,_0x3eca57[_0x3e84f8(0x33f)]),_0x66e8c4(0x7,_0x3eca57[_0x3e84f8(0x2b3)]),_0x66e8c4(0x8,_0x3eca57[_0x3e84f8(0x391)]),_0x66e8c4(0x9,_0x1474a0[_0x3e84f8(0x3aa)])],_0x400828);let _0x5f5d23=class extends _0x3c556b{constructor(_0x7e923c,_0x3fa4eb,_0x3ff6ae,_0x25c654,_0x33bb3b,_0x25d341,_0x5cede5,_0x3cbbba,_0xe7636c,_0x3b2445,_0x5f5389,_0x337937,_0x4bebfd,_0x2ed4f3){const _0x23a8a4=_0x3e84f8;super(_0x7e923c,_0x3fa4eb,null,_0x3ff6ae,_0x25c654,_0x3b2445,_0x2ed4f3,_0x25d341,_0x5cede5),_0x1de933(this,_0x23a8a4(0x169),_0x23a8a4(0x3a3)),_0x1de933(this,_0x23a8a4(0x4ba),null),_0x1de933(this,_0x23a8a4(0x45f),null),(this[_0x23a8a4(0x249)]=_0x33bb3b,this[_0x23a8a4(0x1ec)]=_0x3cbbba,this[_0x23a8a4(0x31d)]=_0xe7636c,this[_0x23a8a4(0x466)]=_0x5f5389,this[_0x23a8a4(0x263)]=_0x337937,this['_univerInstanceService']=_0x4bebfd);}[_0x3e84f8(0x1f0)](_0x5a51b3){const _0x38180e=_0x3e84f8;return this[_0x38180e(0x334)][_0x38180e(0x434)](_0x5a51b3),this[_0x38180e(0x170)](),this;}['onRemoteChangeset'](_0x219f4c){const _0x5e855c=_0x3e84f8;if(this[_0x5e855c(0x395)](_0x219f4c))return this[_0x5e855c(0x2bd)](),this['_injector'][_0x5e855c(0x2b5)](_0x3d21ae,this[_0x5e855c(0x13f)],this[_0x5e855c(0x4c9)],null,this[_0x5e855c(0x334)],null,[_0x219f4c],this[_0x5e855c(0x4be)]);try{const _0x45330b=this[_0x5e855c(0x263)][_0x5e855c(0x27b)](_0x219f4c,this[_0x5e855c(0x334)]);if(_0x1474a0[_0x5e855c(0x1df)](_0x45330b)){const {c1Prime:_0x41a3b7,m2Prime:_0x4874e9}=_0x45330b;this[_0x5e855c(0x47d)](_0x41a3b7);const _0x1a5fc6=this[_0x5e855c(0x249)][_0x5e855c(0x2b5)](_0x5f5d23,this[_0x5e855c(0x13f)],this[_0x5e855c(0x4c9)],_0x4874e9,this[_0x5e855c(0x4be)]);return this[_0x5e855c(0x2bd)](),_0x1a5fc6[_0x5e855c(0x3b5)](this[_0x5e855c(0x4ba)]?Math[_0x5e855c(0x1eb)](0x0,new Date()[_0x5e855c(0x3d1)]()-this[_0x5e855c(0x4ba)]):this[_0x5e855c(0x427)]()),_0x1a5fc6;}throw _0x45330b[_0x5e855c(0x543)];}catch(_0x41af70){return this['_logService'][_0x5e855c(0x543)](_0x41af70),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x26906e=_0x3e84f8;throw new Error(_0x26906e(0x37d));}[_0x3e84f8(0x4d9)](){const _0x3d149d=_0x3e84f8;throw new Error(_0x3d149d(0x3f8));}['toggleOffline'](){const _0x23544f=_0x3e84f8;return this['_clearScheduledTask'](),this[_0x23544f(0x249)][_0x23544f(0x2b5)](_0x3f060c,this['unitID'],this[_0x23544f(0x4c9)],null,this[_0x23544f(0x334)],this['_handler']);}['toggleOnline'](){return this;}[_0x3e84f8(0x3b5)](_0x41850b){const _0x421127=_0x3e84f8,_0xfdd4ce=_0x41850b!=null?_0x41850b:this[_0x421127(0x427)]();this[_0x421127(0x4ba)]=new Date()[_0x421127(0x3d1)](),this['_sendingTimer']=window[_0x421127(0x315)](()=>{const _0x1889b3=_0x421127;this[_0x1889b3(0x2bd)]();let _0x3a2ab7=null;switch(this[_0x1889b3(0x4c9)]){case _0x588a36[_0x1889b3(0x28f)]:{_0x3a2ab7=_0x14af56(this[_0x1889b3(0x334)],this[_0x1889b3(0x13f)],this[_0x1889b3(0x339)],this[_0x1889b3(0x38e)],this[_0x1889b3(0x1ec)]);break;}case _0x588a36[_0x1889b3(0x269)]:{this[_0x1889b3(0x334)][_0x1889b3(0x293)](_0x4f3634=>_0x4f3634['id']===_0x5a15a4[_0x1889b3(0x495)]['id'])?_0x3a2ab7=_0x200bd1(this[_0x1889b3(0x334)],this[_0x1889b3(0x13f)],this[_0x1889b3(0x339)],this['_revisionService'],this['_memberService']):_0x3a2ab7=_0x14af56(this[_0x1889b3(0x334)],this['unitID'],this[_0x1889b3(0x339)],this['_revisionService'],this[_0x1889b3(0x1ec)]);break;}default:throw new Error(_0x1889b3(0x496)+this[_0x1889b3(0x4c9)]+_0x1889b3(0x320));}const {changeset:_0x110e3f,pendingMutations:_0x27567e}=_0x3a2ab7;this['_handler'][_0x1889b3(0x3e2)](_0x110e3f);const _0x3dbdc6=_0x27567e[_0x1889b3(0x1a6)]?this[_0x1889b3(0x249)][_0x1889b3(0x2b5)](_0x5018e3,this[_0x1889b3(0x13f)],this[_0x1889b3(0x4c9)],_0x110e3f,_0x27567e,this[_0x1889b3(0x4be)]):this[_0x1889b3(0x249)]['createInstance'](_0x22fd24,this[_0x1889b3(0x13f)],this[_0x1889b3(0x4c9)],_0x110e3f,this['_handler']);_0x3dbdc6[_0x1889b3(0x170)](),this[_0x1889b3(0x4be)][_0x1889b3(0x4f9)](this,_0x3dbdc6);},_0xfdd4ce);}[_0x3e84f8(0x427)](){const _0x37c092=_0x3e84f8;var _0x51439d;return(_0x51439d=this[_0x37c092(0x466)][_0x37c092(0x22e)](_0x3580e7))!=null?_0x51439d:0x7d0;}[_0x3e84f8(0x23e)](){const _0x492732=_0x3e84f8;throw new Error(_0x492732(0x17e));}[_0x3e84f8(0x2bd)](){const _0x3c8768=_0x3e84f8;this[_0x3c8768(0x45f)]!=null&&(clearTimeout(this[_0x3c8768(0x45f)]),this[_0x3c8768(0x45f)]=null);}[_0x3e84f8(0x48a)](_0xe65e51){const _0x5e0ad9=_0x3e84f8;return this[_0x5e0ad9(0x2bd)](),this['_injector'][_0x5e0ad9(0x2b5)](_0x35c7cc,this[_0x5e0ad9(0x13f)],this[_0x5e0ad9(0x4c9)],null,this[_0x5e0ad9(0x334)],this['_handler'],_0xe65e51);}};_0x5f5d23=_0x17b63f([_0x66e8c4(0x4,_0x3eca57['Inject'](_0x3eca57['Injector'])),_0x66e8c4(0x5,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x210)])),_0x66e8c4(0x6,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x373)])),_0x66e8c4(0x7,_0x3eca57[_0x3e84f8(0x13c)](_0x5df92e)),_0x66e8c4(0x8,_0x3eca57[_0x3e84f8(0x391)]),_0x66e8c4(0x9,_0x3eca57[_0x3e84f8(0x2b3)]),_0x66e8c4(0xa,_0x3eca57[_0x3e84f8(0x25c)]),_0x66e8c4(0xb,_0x1474a0[_0x3e84f8(0x3aa)]),_0x66e8c4(0xc,_0x3eca57[_0x3e84f8(0x2b1)]),_0x66e8c4(0xd,_0x3eca57[_0x3e84f8(0x33f)])],_0x5f5d23);let _0x22fd24=class extends _0x3c556b{constructor(_0x2efb0e,_0x2f7790,_0xa45e3f,_0x2ba5e4,_0x2d37b2,_0x34a164,_0x551598,_0x3a6e17,_0x4ab52b,_0x5ea894,_0x1e29f6){const _0x1ba069=_0x3e84f8;super(_0x2efb0e,_0x2f7790,_0xa45e3f,[],_0x2ba5e4,_0x3a6e17,_0x1e29f6,_0x34a164,_0x551598),_0x1de933(this,_0x1ba069(0x169),_0x1ba069(0x456)),(this[_0x1ba069(0x249)]=_0x2d37b2,this[_0x1ba069(0x31d)]=_0x4ab52b,this[_0x1ba069(0x263)]=_0x5ea894);}[_0x3e84f8(0x1f0)](_0x10b281){const _0x1dd200=_0x3e84f8,_0x57fb81=this[_0x1dd200(0x249)]['createInstance'](_0x5018e3,this['unitID'],this['type'],this[_0x1dd200(0x4df)],[_0x10b281],this['_handler']);return _0x57fb81[_0x1dd200(0x170)](),_0x57fb81;}[_0x3e84f8(0x2e3)](_0x12b867){const _0x1ec367=_0x3e84f8;if(this[_0x1ec367(0x395)](_0x12b867))return this[_0x1ec367(0x249)][_0x1ec367(0x2b5)](_0x3d21ae,this[_0x1ec367(0x13f)],this[_0x1ec367(0x4c9)],this['_awaitingChangeset'],[],null,[_0x12b867],this[_0x1ec367(0x4be)]);try{const _0x557b77=this[_0x1ec367(0x263)]['transformChangesets']([_0x12b867],[this['_awaitingChangeset']],!0x1);if(_0x1474a0['isTransformChangesetsSuccess'](_0x557b77)){const {c1Prime:_0x21a396,c2Prime:_0x173692}=_0x557b77;this['_executeRemoteChangeset'](_0x21a396[0x0]),_0x173692[0x0]['baseRev']=this[_0x1ec367(0x29b)]();const _0x5832ed=this[_0x1ec367(0x249)]['createInstance'](_0x22fd24,this[_0x1ec367(0x13f)],this[_0x1ec367(0x4c9)],_0x173692[0x0],this['_handler']);return _0x5832ed['_updateLocalCache'](),_0x5832ed;}return this[_0x1ec367(0x48a)](!0x1);}catch(_0x36ab90){return this[_0x1ec367(0x31d)][_0x1ec367(0x543)](_0x36ab90),this['_onConflict'](!0x1);}}[_0x3e84f8(0x51b)](_0x11c775){const _0x5f262c=_0x3e84f8,_0x20e48c=this[_0x5f262c(0x38e)][_0x5f262c(0x178)](this['unitID']);if(_0x11c775[_0x5f262c(0x118)]<_0x20e48c-0x1)return this;if(this[_0x5f262c(0x395)](_0x11c775))return this[_0x5f262c(0x249)][_0x5f262c(0x2b5)](_0x3d21ae,this['unitID'],this[_0x5f262c(0x4c9)],null,[],this[_0x5f262c(0x4df)],[],this[_0x5f262c(0x4be)]);this['_incrementRevisionNumber']();const _0x443c43=this['_injector'][_0x5f262c(0x2b5)](_0x400828,this[_0x5f262c(0x13f)],this['type'],this[_0x5f262c(0x4be)]);return _0x443c43[_0x5f262c(0x170)](),_0x443c43;}['onRemoteRej'](_0x2fbfd9){const _0x49ce3b=_0x3e84f8;return this[_0x49ce3b(0x48a)](!!(_0x2fbfd9!=null&&_0x2fbfd9[_0x49ce3b(0x429)]));}[_0x3e84f8(0x2e8)](){const _0x5602e8=_0x3e84f8;return this[_0x5602e8(0x249)][_0x5602e8(0x2b5)](_0x3f060c,this[_0x5602e8(0x13f)],this[_0x5602e8(0x4c9)],this['_awaitingChangeset'],[],this['_handler']);}[_0x3e84f8(0x333)](){return this;}[_0x3e84f8(0x23e)](){const _0x19989c=_0x3e84f8;this['_handler'][_0x19989c(0x3e2)](this[_0x19989c(0x4df)]);}[_0x3e84f8(0x48a)](_0xec8dce){const _0x60bf9=_0x3e84f8;return this[_0x60bf9(0x249)]['createInstance'](_0x35c7cc,this[_0x60bf9(0x13f)],this[_0x60bf9(0x4c9)],this['_awaitingChangeset'],[],this[_0x60bf9(0x4be)],_0xec8dce);}};_0x22fd24=_0x17b63f([_0x66e8c4(0x4,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['Injector'])),_0x66e8c4(0x5,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0['RevisionService'])),_0x66e8c4(0x6,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x373)])),_0x66e8c4(0x7,_0x3eca57[_0x3e84f8(0x2b3)]),_0x66e8c4(0x8,_0x3eca57[_0x3e84f8(0x391)]),_0x66e8c4(0x9,_0x1474a0[_0x3e84f8(0x3aa)]),_0x66e8c4(0xa,_0x3eca57['IUndoRedoService'])],_0x22fd24);let _0x5018e3=class extends _0x3c556b{constructor(_0x43c0fd,_0x4dd1a0,_0x276971,_0xf5efd6,_0x3bb5ca,_0x3285da,_0x4a0305,_0x17839b,_0x125928,_0x26466d,_0x427a83,_0x41f8b3){const _0x48c5b6=_0x3e84f8;super(_0x43c0fd,_0x4dd1a0,_0x276971,_0xf5efd6,_0x3bb5ca,_0x125928,_0x41f8b3,_0x4a0305,_0x17839b),_0x1de933(this,_0x48c5b6(0x169),_0x48c5b6(0x39c)),(this[_0x48c5b6(0x249)]=_0x3285da,this['_logService']=_0x26466d,this[_0x48c5b6(0x263)]=_0x427a83);}[_0x3e84f8(0x1f0)](_0x2abcd7){return this['_pendingMutations']['push'](_0x2abcd7),this;}[_0x3e84f8(0x2e3)](_0x420e90){const _0x27be5f=_0x3e84f8;if(this[_0x27be5f(0x395)](_0x420e90))return this[_0x27be5f(0x249)][_0x27be5f(0x2b5)](_0x3d21ae,this[_0x27be5f(0x13f)],this['type'],this[_0x27be5f(0x4df)],this[_0x27be5f(0x334)],null,[_0x420e90],this[_0x27be5f(0x4be)]);try{const _0x27e8aa=this[_0x27be5f(0x263)][_0x27be5f(0x544)]([_0x420e90],[this[_0x27be5f(0x4df)]],!0x1);if(_0x1474a0['isTransformChangesetsSuccess'](_0x27e8aa)){const {c1Prime:_0x2ea8d4,c2Prime:_0x4d898d}=_0x27e8aa,_0x463ac0=this['_transformService'][_0x27be5f(0x27b)](_0x2ea8d4[0x0],this[_0x27be5f(0x334)]);if(_0x1474a0[_0x27be5f(0x1df)](_0x463ac0)){const {c1Prime:_0x6a32b0,m2Prime:_0x18cfa7}=_0x463ac0;return this[_0x27be5f(0x47d)](_0x6a32b0),_0x4d898d[0x0]['baseRev']=this[_0x27be5f(0x29b)](),this['_injector']['createInstance'](_0x5018e3,this['unitID'],this[_0x27be5f(0x4c9)],_0x4d898d[0x0],_0x18cfa7,this[_0x27be5f(0x4be)]);}throw _0x463ac0[_0x27be5f(0x543)];}throw _0x27e8aa['error'];}catch(_0x389c80){return this[_0x27be5f(0x31d)][_0x27be5f(0x543)](_0x389c80),this['_onConflict'](!0x1);}}[_0x3e84f8(0x51b)](_0x1d88c3){const _0x511530=_0x3e84f8;if(this[_0x511530(0x395)](_0x1d88c3))return this[_0x511530(0x249)]['createInstance'](_0x3d21ae,this['unitID'],this[_0x511530(0x4c9)],null,this['_pendingMutations'],this[_0x511530(0x4df)],[],this[_0x511530(0x4be)]);this[_0x511530(0x422)]();const _0x4cc073=this['_injector'][_0x511530(0x2b5)](_0x5f5d23,this[_0x511530(0x13f)],this['type'],this['_pendingMutations'],this[_0x511530(0x4be)]);return _0x4cc073[_0x511530(0x3b5)](),_0x4cc073['_updateLocalCache'](),_0x4cc073;}['onRemoteRej'](_0x4d34b7){const _0x46a6fd=_0x3e84f8;return this[_0x46a6fd(0x48a)](!!(_0x4d34b7!=null&&_0x4d34b7['isPermissionRej']));}[_0x3e84f8(0x2e8)](){const _0x383ab8=_0x3e84f8;return this['_injector'][_0x383ab8(0x2b5)](_0x3f060c,this['unitID'],this[_0x383ab8(0x4c9)],this[_0x383ab8(0x4df)],this[_0x383ab8(0x334)],this[_0x383ab8(0x4be)]);}['toggleOnline'](){return this;}[_0x3e84f8(0x23e)](){const _0x175e13=_0x3e84f8;this[_0x175e13(0x4be)][_0x175e13(0x3e2)](this[_0x175e13(0x4df)]);}[_0x3e84f8(0x48a)](_0x41cea9){const _0x250039=_0x3e84f8;return this[_0x250039(0x249)]['createInstance'](_0x35c7cc,this[_0x250039(0x13f)],this[_0x250039(0x4c9)],null,this[_0x250039(0x334)],this['_handler'],_0x41cea9);}};_0x5018e3=_0x17b63f([_0x66e8c4(0x5,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['Injector'])),_0x66e8c4(0x6,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x210)])),_0x66e8c4(0x7,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x373)])),_0x66e8c4(0x8,_0x3eca57[_0x3e84f8(0x2b3)]),_0x66e8c4(0x9,_0x3eca57[_0x3e84f8(0x391)]),_0x66e8c4(0xa,_0x1474a0[_0x3e84f8(0x3aa)]),_0x66e8c4(0xb,_0x3eca57[_0x3e84f8(0x33f)])],_0x5018e3);let _0x35c7cc=class extends _0x3c556b{constructor(_0x49d393,_0x4fb005,_0x46dd82,_0xfb0f6b,_0x1a3247,_0x5ef0f6=!0x1,_0xd5bc63,_0x1a757f,_0x1afea1,_0xcf9be7,_0x49ec2f,_0x131f8f,_0x360985){const _0x1653a1=_0x3e84f8;super(_0x49d393,_0x4fb005,_0x46dd82,_0xfb0f6b,_0x1a3247,_0x1a757f,_0x1afea1,_0x49ec2f,_0xcf9be7),_0x1de933(this,_0x1653a1(0x169),_0x1653a1(0x1ff)),(this[_0x1653a1(0x12a)]=_0x5ef0f6,this[_0x1653a1(0x28c)]=_0xd5bc63,this[_0x1653a1(0x2c7)]=_0x131f8f,this[_0x1653a1(0x2a4)]=_0x360985,this['_showConflictNotification'](),this[_0x1653a1(0x30d)](),this[_0x1653a1(0x47e)]());}[_0x3e84f8(0x1f0)](){return this;}[_0x3e84f8(0x2e3)](){return this;}['onRemoteAck'](){return this;}[_0x3e84f8(0x4d9)](){return this;}[_0x3e84f8(0x2e8)](){return this;}[_0x3e84f8(0x333)](){return this;}['resend'](){const _0xd211c7=_0x3e84f8;throw new Error(_0xd211c7(0x4f7));}[_0x3e84f8(0x30d)](){const _0x51debe=_0x3e84f8;this[_0x51debe(0x442)][_0x51debe(0x344)](this[_0x51debe(0x13f)],this['type'],null,[]);}[_0x3e84f8(0x2d3)](){const _0xfb65df=_0x3e84f8;this[_0xfb65df(0x12a)]?this['_notificationService'][_0xfb65df(0x3d5)]({'title':this[_0xfb65df(0x2c7)]['t']('permission.title'),'content':this[_0xfb65df(0x2c7)]['t'](_0xfb65df(0x3e1)),'type':_0xfb65df(0x543),'duration':0x0}):this[_0xfb65df(0x2a4)][_0xfb65df(0x3d5)]({'title':this[_0xfb65df(0x2c7)]['t'](_0xfb65df(0x182)),'content':this['_localeService']['t'](_0xfb65df(0x32e)),'type':_0xfb65df(0x543),'duration':0x0});}[_0x3e84f8(0x47e)](){const _0x3e4ec8=_0x3e84f8;this['_permissionService'][_0x3e4ec8(0x399)](new _0x9f218b[(_0x3e4ec8(0x336))](this[_0x3e4ec8(0x13f)])['id'],!0x1);}};_0x35c7cc=_0x17b63f([_0x66e8c4(0x6,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['IPermissionService'])),_0x66e8c4(0x7,_0x3eca57['ICommandService']),_0x66e8c4(0x8,_0x3eca57[_0x3e84f8(0x33f)]),_0x66e8c4(0x9,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x373)])),_0x66e8c4(0xa,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x210)])),_0x66e8c4(0xb,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x477)])),_0x66e8c4(0xc,_0x2ede89[_0x3e84f8(0x2b0)])],_0x35c7cc);let _0x3f060c=class extends _0x3c556b{constructor(_0xf22b10,_0x506ade,_0x2319ef,_0x482686,_0x5b1f6e,_0x14b92d,_0x16ccef,_0x5074ce,_0x43c8bf,_0x20873f){const _0x47b19d=_0x3e84f8;super(_0xf22b10,_0x506ade,_0x2319ef,_0x482686,_0x5b1f6e,_0x43c8bf,_0x20873f,_0x16ccef,_0x5074ce),_0x1de933(this,_0x47b19d(0x169),_0x47b19d(0x127)),this['_injector']=_0x14b92d;}['appendMutation'](_0x205a2e){const _0x3f8fd0=_0x3e84f8;return this['_pendingMutations'][_0x3f8fd0(0x434)](_0x205a2e),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x16f75d){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3e84f8(0x4d9)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3e84f8(0x2e8)](){return this;}[_0x3e84f8(0x333)](){const _0x88c234=_0x3e84f8,{_injector:_0x5e02ab,_pendingMutations:_0x41ac12,_awaitingChangeset:_0x2860d4,unitID:_0x3b3590,_handler:_0x4c2c35,type:_0x4a6fc4}=this,_0x637a13=_0x53f727(_0x5e02ab,_0x3b3590,_0x4a6fc4,_0x2860d4,_0x41ac12,_0x4c2c35);return _0x637a13 instanceof _0x5f5d23?_0x637a13['_schedule']():(_0x637a13 instanceof _0x5018e3||_0x637a13 instanceof _0x22fd24)&&_0x637a13[_0x88c234(0x23e)](),_0x637a13;}[_0x3e84f8(0x23e)](){const _0x4e1c88=_0x3e84f8;throw new Error(_0x4e1c88(0x3e4));}};_0x3f060c=_0x17b63f([_0x66e8c4(0x5,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x368)])),_0x66e8c4(0x6,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x210)])),_0x66e8c4(0x7,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x373)])),_0x66e8c4(0x8,_0x3eca57[_0x3e84f8(0x2b3)]),_0x66e8c4(0x9,_0x3eca57[_0x3e84f8(0x33f)])],_0x3f060c);let _0x3d21ae=class extends _0x3c556b{constructor(_0x54f41d,_0xb0457a,_0x128c0a,_0x3a4533,_0x17bc82,_0x310342,_0x3a8db2,_0x1a6e1b,_0x2b2739,_0x482a17,_0x5416fa,_0x73f5b9,_0x12d42b,_0x58ab5f){const _0x4ce41b=_0x3e84f8;super(_0x54f41d,_0xb0457a,_0x128c0a,_0x3a4533,_0x3a8db2,_0x73f5b9,_0x12d42b,_0x2b2739,_0x482a17),_0x1de933(this,_0x4ce41b(0x169),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x17bc82,this[_0x4ce41b(0x3eb)]=_0x310342,this[_0x4ce41b(0x249)]=_0x1a6e1b,this[_0x4ce41b(0x31d)]=_0x5416fa,this[_0x4ce41b(0x263)]=_0x58ab5f);}[_0x3e84f8(0x518)](_0x5604c0){const _0x233ccf=_0x3e84f8;try{const _0x2f0ec0=[..._0x5604c0,...this['_queuedRemoteChangesets']],_0x299557=[this['_awaitingChangeset']||this[_0x233ccf(0x1af)]][_0x233ccf(0x51d)](_0x5a33af=>!!_0x5a33af);let _0x3c3567,_0x114dc0;if(_0x299557['length']){const _0x49634c=this[_0x233ccf(0x263)]['transformChangesets'](_0x2f0ec0,_0x299557,!0x1);if(!_0x1474a0[_0x233ccf(0x281)](_0x49634c))throw _0x49634c[_0x233ccf(0x543)];_0x3c3567=_0x49634c['c1Prime'],_0x114dc0=_0x49634c[_0x233ccf(0x321)];}else _0x3c3567=_0x2f0ec0,_0x114dc0=[];let _0x48135c=this[_0x233ccf(0x334)];_0x3c3567[_0x233ccf(0x306)](_0x4cc23c=>{const _0x1597cf=_0x233ccf;let _0x2260e0;if(_0x48135c[_0x1597cf(0x1a6)]){const _0xf670cd=this['_transformService'][_0x1597cf(0x27b)](_0x4cc23c,_0x48135c);if(!_0x1474a0[_0x1597cf(0x1df)](_0xf670cd))throw _0xf670cd[_0x1597cf(0x543)];_0x2260e0=_0xf670cd[_0x1597cf(0x409)],_0x48135c=_0xf670cd['m2Prime'];}else _0x2260e0=_0x4cc23c;this['_executeRemoteChangeset'](_0x2260e0);}),this[_0x233ccf(0x1af)]&&this[_0x233ccf(0x422)](),this['_awaitingChangeset']&&_0x114dc0[_0x233ccf(0x1a6)]&&(_0x114dc0[0x0][_0x233ccf(0x180)]=this[_0x233ccf(0x29b)]());let _0x56ebec;if(this[_0x233ccf(0x4df)]&&_0x48135c[_0x233ccf(0x1a6)]!==0x0)_0x56ebec=this[_0x233ccf(0x249)][_0x233ccf(0x2b5)](_0x5018e3,this[_0x233ccf(0x13f)],this[_0x233ccf(0x4c9)],_0x114dc0[0x0],_0x48135c,this[_0x233ccf(0x4be)]);else{if(this[_0x233ccf(0x4df)]&&_0x48135c[_0x233ccf(0x1a6)]===0x0)_0x114dc0[0x0]['baseRev']=this[_0x233ccf(0x29b)](),_0x56ebec=this[_0x233ccf(0x249)][_0x233ccf(0x2b5)](_0x22fd24,this[_0x233ccf(0x13f)],this[_0x233ccf(0x4c9)],_0x114dc0[0x0],this['_handler']);else{if(_0x48135c[_0x233ccf(0x1a6)]!==0x0){const _0x20c330=this[_0x233ccf(0x249)][_0x233ccf(0x2b5)](_0x5f5d23,this[_0x233ccf(0x13f)],this[_0x233ccf(0x4c9)],_0x48135c,this[_0x233ccf(0x4be)]);_0x20c330[_0x233ccf(0x3b5)](),_0x56ebec=_0x20c330;}else _0x56ebec=this[_0x233ccf(0x249)][_0x233ccf(0x2b5)](_0x400828,this[_0x233ccf(0x13f)],this['type'],this[_0x233ccf(0x4be)]);}}return _0x56ebec[_0x233ccf(0x170)](),_0x56ebec;}catch(_0x47e54e){return this[_0x233ccf(0x31d)]['error'](_0x233ccf(0x227),_0x233ccf(0x49c),_0x47e54e),this['_injector'][_0x233ccf(0x2b5)](_0x35c7cc,this[_0x233ccf(0x13f)],this[_0x233ccf(0x4c9)],this[_0x233ccf(0x4df)],this[_0x233ccf(0x334)],this[_0x233ccf(0x4be)],!0x1);}}[_0x3e84f8(0x23e)](){const _0xa37ff=_0x3e84f8;throw new Error(_0xa37ff(0x228));}['appendMutation'](_0x13c9c7){const _0x40afbe=_0x3e84f8;return this[_0x40afbe(0x334)]['push'](_0x13c9c7),this;}[_0x3e84f8(0x2e3)](_0x339157){const _0x28372f=_0x3e84f8;return this[_0x28372f(0x3eb)][_0x28372f(0x434)](_0x339157),this;}[_0x3e84f8(0x51b)](_0x940d69){const _0x43e154=_0x3e84f8;if(this[_0x43e154(0x4df)])return this[_0x43e154(0x1af)]=this[_0x43e154(0x4df)],this[_0x43e154(0x4df)]=null,this;throw new Error(_0x43e154(0x42b));}['onRemoteRej'](_0x5aee35){const _0x3a2bfb=_0x3e84f8;return this[_0x3a2bfb(0x48a)](!!(_0x5aee35!=null&&_0x5aee35[_0x3a2bfb(0x429)]));}['toggleOffline'](){const _0x27d9cc=_0x3e84f8;return this[_0x27d9cc(0x249)][_0x27d9cc(0x2b5)](_0x3f060c,this[_0x27d9cc(0x13f)],this['type'],this[_0x27d9cc(0x4df)],this['_pendingMutations'],this[_0x27d9cc(0x4be)]);}[_0x3e84f8(0x333)](){return this;}[_0x3e84f8(0x48a)](_0x202307){const _0x33ed43=_0x3e84f8;return this[_0x33ed43(0x249)][_0x33ed43(0x2b5)](_0x35c7cc,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x33ed43(0x334)],this['_handler'],_0x202307);}};_0x3d21ae=_0x17b63f([_0x66e8c4(0x7,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x368)])),_0x66e8c4(0x8,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x210)])),_0x66e8c4(0x9,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x373)])),_0x66e8c4(0xa,_0x3eca57[_0x3e84f8(0x391)]),_0x66e8c4(0xb,_0x3eca57[_0x3e84f8(0x2b3)]),_0x66e8c4(0xc,_0x3eca57[_0x3e84f8(0x33f)]),_0x66e8c4(0xd,_0x1474a0[_0x3e84f8(0x3aa)])],_0x3d21ae);function _0x53f727(_0x54f448,_0x127ae9,_0x3425ee,_0x412cc6,_0x1eb5e9,_0x132afa){const _0x2c994c=_0x3e84f8;return _0x412cc6&&_0x1eb5e9[_0x2c994c(0x1a6)]?_0x54f448[_0x2c994c(0x2b5)](_0x5018e3,_0x127ae9,_0x3425ee,_0x412cc6,_0x1eb5e9,_0x132afa):_0x412cc6?_0x54f448[_0x2c994c(0x2b5)](_0x22fd24,_0x127ae9,_0x3425ee,_0x412cc6,_0x132afa):_0x1eb5e9[_0x2c994c(0x1a6)]?_0x54f448[_0x2c994c(0x2b5)](_0x5f5d23,_0x127ae9,_0x3425ee,_0x1eb5e9,_0x132afa):_0x54f448[_0x2c994c(0x2b5)](_0x400828,_0x127ae9,_0x3425ee,_0x132afa);}var _0x7d80fb=Object[_0x3e84f8(0x243)],_0x224a0d=Object[_0x3e84f8(0x439)],_0x493d58=(_0x154cdc,_0x4bc367,_0x3afe53,_0x1bdf0e)=>{const _0x511c57=_0x3e84f8;for(var _0x5f5e0d=_0x1bdf0e>0x1?void 0x0:_0x1bdf0e?_0x224a0d(_0x4bc367,_0x3afe53):_0x4bc367,_0x38cd90=_0x154cdc[_0x511c57(0x1a6)]-0x1,_0x2c2c9c;_0x38cd90>=0x0;_0x38cd90--)(_0x2c2c9c=_0x154cdc[_0x38cd90])&&(_0x5f5e0d=(_0x1bdf0e?_0x2c2c9c(_0x4bc367,_0x3afe53,_0x5f5e0d):_0x2c2c9c(_0x5f5e0d))||_0x5f5e0d);return _0x1bdf0e&&_0x5f5e0d&&_0x7d80fb(_0x4bc367,_0x3afe53,_0x5f5e0d),_0x5f5e0d;},_0x3394e7=(_0x532890,_0x355e78)=>(_0x18427f,_0x4c55c7)=>_0x355e78(_0x18427f,_0x4c55c7,_0x532890);_0x2509f1['CollaborationEntity']=class extends _0x3eca57[_0x3e84f8(0x37a)]{constructor(_0x33d69a,_0x425038,_0x71d33e,_0xa922b7,_0x543a05,_0x3ea494,_0x229db8,_0x9c3648,_0x4f6d79,_0x549a47,_0x9f38b5,_0x551c30,_0xfd5b9e){const _0x20a1fe=_0x3e84f8;super(),_0x1de933(this,_0x20a1fe(0x291),new _0x199df4[(_0x20a1fe(0x244))](null)),_0x1de933(this,_0x20a1fe(0x4d5),this[_0x20a1fe(0x291)]['asObservable']()),_0x1de933(this,_0x20a1fe(0x3ef)),_0x1de933(this,_0x20a1fe(0x23b),!0x1),_0x1de933(this,_0x20a1fe(0x225),this['state$'][_0x20a1fe(0x52b)](_0x199df4[_0x20a1fe(0x1ad)](_0x4165f6=>_0x4165f6?_0x4165f6[_0x20a1fe(0x169)]:_0x4bd68c['OFFLINE']),_0x199df4['shareReplay'](0x1))),_0x1de933(this,_0x20a1fe(0x305),!0x1),_0x1de933(this,_0x20a1fe(0x3e3),[]),(this[_0x20a1fe(0x13f)]=_0x33d69a,this[_0x20a1fe(0x264)]=_0x425038,this['_type']=_0x71d33e,this[_0x20a1fe(0x249)]=_0xa922b7,this[_0x20a1fe(0x442)]=_0x543a05,this[_0x20a1fe(0x35a)]=_0x3ea494,this[_0x20a1fe(0x2c7)]=_0x229db8,this[_0x20a1fe(0x38e)]=_0x9c3648,this['_logService']=_0x4f6d79,this[_0x20a1fe(0x30a)]=_0x549a47,this[_0x20a1fe(0x14a)]=_0x9f38b5,this['_permissionService']=_0x551c30,this[_0x20a1fe(0x1dc)]=_0xfd5b9e);}get[_0x3e84f8(0x4ac)](){const _0x14f57b=_0x3e84f8;return this[_0x14f57b(0x3ef)];}async[_0x3e84f8(0x352)](){const _0x54381d=_0x3e84f8;if(this['state'])throw new Error(_0x54381d(0x1c2));await this[_0x54381d(0x176)]();}['pauseCollaboration'](){const _0x3ba557=_0x3e84f8;return this[_0x3ba557(0x23b)]=!0x0,_0x3eca57['toDisposable'](()=>{const _0x1fca09=_0x3ba557;this[_0x1fca09(0x23b)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3e84f8(0x15d)](_0xd36caf){const _0x394665=_0x3e84f8;this[_0x394665(0x3ef)]=_0xd36caf,this[_0x394665(0x291)][_0x394665(0x2d2)](_0xd36caf);}async[_0x3e84f8(0x176)](){const _0x421623=_0x3e84f8;var _0x2f3516;this[_0x421623(0x15d)](await this[_0x421623(0x540)]()),this[_0x421623(0x1dc)]&&((_0x2f3516=this[_0x421623(0x1dc)])==null||_0x2f3516[_0x421623(0x4e6)](this[_0x421623(0x13f)]),this[_0x421623(0x4ed)](this[_0x421623(0x1dc)][_0x421623(0x27e)](this['unitID'])[_0x421623(0x4da)](_0x2a962b=>{const _0xf6b20c=_0x421623;this[_0xf6b20c(0x31d)]['debug']('[CollaborationEntity]',_0xf6b20c(0x41a),_0x2a962b),_0x2a962b===_0x25e60f[_0xf6b20c(0x3d3)]?(this[_0xf6b20c(0x14a)][_0xf6b20c(0x3d5)]({'content':this[_0xf6b20c(0x2c7)]['t'](_0xf6b20c(0x1ae)),'type':_0xf694dc['MessageType']['Warning']}),this[_0xf6b20c(0x28c)][_0xf6b20c(0x399)](new _0x9f218b['WorkbookEditablePermission'](this[_0xf6b20c(0x13f)])['id'],!0x1)):this[_0xf6b20c(0x28c)][_0xf6b20c(0x399)](new _0x9f218b[(_0xf6b20c(0x336))](this[_0xf6b20c(0x13f)])['id'],!0x0);})));let _0x4a47db=!0x1;return this[_0x421623(0x4ed)](this[_0x421623(0x264)][_0x421623(0x541)]['subscribe'](_0x6b4ee=>{const _0x4562b1=_0x421623;_0x6b4ee===_0x39f403['ONLINE']?this['_toggleOnline'](_0x4a47db):_0x6b4ee===_0x39f403['OFFLINE']&&(_0x4a47db=!0x0,this[_0x4562b1(0x188)]());})),this[_0x421623(0x4ed)](this[_0x421623(0x264)][_0x421623(0x15a)][_0x421623(0x4da)](_0x177247=>{const _0x36a472=_0x421623;try{switch(_0x177247[_0x36a472(0x11c)]){case _0x1474a0[_0x36a472(0x520)]['NEW_CHANGESETS']:{this[_0x36a472(0x19f)](_0x1474a0[_0x36a472(0x45e)](_0x177247[_0x36a472(0x33d)]));break;}case _0x1474a0['CollaborationEvent'][_0x36a472(0x3be)]:{this[_0x36a472(0x433)](_0x177247[_0x36a472(0x33d)]);break;}case _0x1474a0[_0x36a472(0x520)][_0x36a472(0x29f)]:{this[_0x36a472(0x525)]();break;}case _0x1474a0['CollaborationEvent'][_0x36a472(0x31e)]:{this['_onFetchMissResult'](_0x177247[_0x36a472(0x33d)]['changesets'][_0x36a472(0x1ad)](_0x18c144=>_0x1474a0[_0x36a472(0x45e)](_0x18c144)));break;}case _0x1474a0['CollaborationEvent'][_0x36a472(0x452)]:this[_0x36a472(0x525)]({'isPermissionRej':!0x0});}}catch(_0x400ec8){throw console[_0x36a472(0x543)]('Error\x20on\x20receiving\x20event',_0x400ec8),_0x400ec8;}})),this[_0x421623(0x3ef)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x3e84f8(0x4b8)](){const _0x340a2e=_0x3e84f8;if(this[_0x340a2e(0x305)])throw new Error(_0x340a2e(0x51a));this[_0x340a2e(0x305)]=!0x0;}['_onLocalMutation'](_0x3293f1){const _0x4bb267=_0x3e84f8;this[_0x4bb267(0x4b8)](),this['_updateState'](this[_0x4bb267(0x3ef)][_0x4bb267(0x1f0)](_0x3293f1)),this[_0x4bb267(0x4a5)]();}['_onRemoteChangeset'](_0x35bd52){const _0x36a8dd=_0x3e84f8;if(!(_0x35bd52[_0x36a8dd(0x118)]<=this[_0x36a8dd(0x38e)][_0x36a8dd(0x178)](this[_0x36a8dd(0x13f)]))){if(this[_0x36a8dd(0x23b)]){this[_0x36a8dd(0x3e3)][_0x36a8dd(0x434)](_0x35bd52);return;}this[_0x36a8dd(0x3c3)](_0x35bd52);}}[_0x3e84f8(0x222)](){const _0x3d228b=_0x3e84f8;this[_0x3d228b(0x3e3)][_0x3d228b(0x306)](_0x2075e1=>this[_0x3d228b(0x3c3)](_0x2075e1)),this[_0x3d228b(0x3e3)]=[];}['_applyRemoteChangeset'](_0x131308){const _0x3ddaad=_0x3e84f8,_0x6fbc6c=this[_0x3ddaad(0x35a)][_0x3ddaad(0x1c4)]['fetchThroughInterceptors'](this[_0x3ddaad(0x35a)][_0x3ddaad(0x1c4)][_0x3ddaad(0x310)]()[_0x3ddaad(0x4e1)])(_0x131308[_0x3ddaad(0x313)],null)||_0x131308[_0x3ddaad(0x313)],_0x2545c8={..._0x131308,'mutations':_0x6fbc6c};this[_0x3ddaad(0x4b8)](),this[_0x3ddaad(0x15d)](this[_0x3ddaad(0x3ef)][_0x3ddaad(0x2e3)](_0x2545c8)),this[_0x3ddaad(0x4a5)]();}['_onRemoteACK'](_0x57ff7f){const _0x159399=_0x3e84f8;this['_lockTransition'](),this['_updateState'](this[_0x159399(0x3ef)]['onRemoteAck'](_0x57ff7f)),this[_0x159399(0x4a5)]();}['_onRemoteRejected'](_0x5039ae){const _0x3776e9=_0x3e84f8;this['_lockTransition'](),this['_updateState'](this[_0x3776e9(0x3ef)]['onRemoteRej'](_0x5039ae)),this['_unlockTransition']();}[_0x3e84f8(0x4c0)](_0x394478){const _0x5ca04e=_0x3e84f8;if(!(this[_0x5ca04e(0x3ef)]instanceof _0x3d21ae))throw new TypeError(_0x5ca04e(0x12e));const _0x9a3e6c=_0x394478[_0x5ca04e(0x1ad)](_0x566e6d=>{const _0x446ea=_0x5ca04e,_0x428abc=this[_0x446ea(0x35a)][_0x446ea(0x1c4)]['fetchThroughInterceptors'](this[_0x446ea(0x35a)][_0x446ea(0x1c4)][_0x446ea(0x310)]()['COMPRESS_MUTATION_APPLY'])(_0x566e6d[_0x446ea(0x313)],null)||_0x566e6d[_0x446ea(0x313)];return{..._0x566e6d,'mutations':_0x428abc};});this[_0x5ca04e(0x4b8)](),this[_0x5ca04e(0x15d)](this[_0x5ca04e(0x3ef)][_0x5ca04e(0x518)](_0x9a3e6c)),this[_0x5ca04e(0x4a5)]();}[_0x3e84f8(0x188)](){const _0x437f0d=_0x3e84f8;this[_0x437f0d(0x4b8)](),this[_0x437f0d(0x15d)](this[_0x437f0d(0x3ef)][_0x437f0d(0x2e8)]()),this[_0x437f0d(0x4a5)]();}[_0x3e84f8(0x36b)](_0xe56709=!0x1){const _0x169ea0=_0x3e84f8;this['_lockTransition'](),this['_updateState'](this[_0x169ea0(0x3ef)][_0x169ea0(0x333)]()),this[_0x169ea0(0x4a5)]();const _0x49108c=this[_0x169ea0(0x3ef)];_0xe56709&&_0x49108c instanceof _0x400828&&(this['_lockTransition'](),this[_0x169ea0(0x15d)](_0x49108c['fetchMiss']()),this['_unlockTransition']());}async[_0x3e84f8(0x540)](){return new Promise(_0xf4986b=>{const _0x463ed0=_0x3242;this[_0x463ed0(0x264)][_0x463ed0(0x541)][_0x463ed0(0x52b)](_0x199df4[_0x463ed0(0x1de)](0x1))[_0x463ed0(0x4da)](async _0x3cbf80=>{const _0x3f222a=_0x463ed0;_0xf4986b(await this[_0x3f222a(0x155)](_0x3cbf80===_0x39f403['ONLINE']));});});}[_0x3e84f8(0x465)](){const _0x48ad3f=this['unitID'];return{'onStateChange':(_0xd45400,_0x1e0c8b)=>{const _0x12804e=_0x3242;if(_0xd45400!==this[_0x12804e(0x3ef)])throw new Error(_0x12804e(0x2de)+_0xd45400[_0x12804e(0x169)]+_0x12804e(0x2a5)+_0x1e0c8b[_0x12804e(0x169)]+'\x0aCurrent:\x20'+this['_state']['status']);this[_0x12804e(0x15d)](_0x1e0c8b);},'onSendChangeset':_0x2604ac=>{const _0x4df307=_0x3242,_0x18eaad={'eventID':_0x1474a0[_0x4df307(0x520)][_0x4df307(0x405)],'data':{'unitID':_0x2604ac['unitID'],'unitType':this[_0x4df307(0x44e)],'changeset':_0x2604ac,'memberID':this[_0x4df307(0x264)][_0x4df307(0x53f)]()}};this[_0x4df307(0x264)][_0x4df307(0x41c)](_0x18eaad,this[_0x4df307(0x13f)]);},'onMissingChangesets':({from:_0x3ceae1,to:_0x5ce62c})=>{const _0x18103f=_0x3242;this[_0x18103f(0x31d)][_0x18103f(0x3d9)](_0x18103f(0x1e6),_0x18103f(0x3ad)+_0x3ceae1+_0x18103f(0x19d)+_0x5ce62c);const _0x202157={'eventID':_0x1474a0[_0x18103f(0x520)]['FETCH_MISSING'],'data':{'unitID':_0x48ad3f,'unitType':this['_type'],'from':_0x3ceae1,'to':_0x5ce62c}};this['session'][_0x18103f(0x41c)](_0x202157,this[_0x18103f(0x13f)]);}};}async[_0x3e84f8(0x155)](_0x561814){const _0x2b6d6f=_0x3e84f8;var _0x22d558,_0xa17578;const _0x36ef04=await this[_0x2b6d6f(0x442)]['loadOfflineData'](this['unitID']),_0x56f070=(_0x22d558=_0x36ef04==null?void 0x0:_0x36ef04['mutations'])!=null?_0x22d558:[],_0x113362=(_0xa17578=_0x36ef04==null?void 0x0:_0x36ef04[_0x2b6d6f(0x4f5)])!=null?_0xa17578:null,_0x261181=this[_0x2b6d6f(0x13f)];try{this['_replayCachedMutations'](_0x113362,_0x56f070);}catch(_0x3db04f){this[_0x2b6d6f(0x31d)][_0x2b6d6f(0x543)](_0x3db04f);}const _0x523608=this['_createHandler']();if(_0x561814){const _0x430fe3=_0x53f727(this[_0x2b6d6f(0x249)],_0x261181,this[_0x2b6d6f(0x44e)],_0x113362,_0x56f070,_0x523608);return _0x430fe3 instanceof _0x5f5d23?_0x430fe3[_0x2b6d6f(0x3b5)]():(_0x430fe3 instanceof _0x5018e3||_0x430fe3 instanceof _0x22fd24)&&_0x430fe3[_0x2b6d6f(0x23e)](),_0x430fe3;}return this['_injector'][_0x2b6d6f(0x2b5)](_0x3f060c,_0x261181,this['_type'],_0x113362,_0x56f070,_0x523608);}['_replayCachedMutations'](_0x4bd624,_0x401efa){const _0xdf50ce=_0x3e84f8;var _0xd30187,_0x44914c;const _0x11fa2f=this[_0xdf50ce(0x35a)]['interceptor'][_0xdf50ce(0x1da)](this['_compressMutationService'][_0xdf50ce(0x1c4)][_0xdf50ce(0x310)]()[_0xdf50ce(0x4e1)]);(_0xd30187=_0x11fa2f((_0x4bd624==null?void 0x0:_0x4bd624['mutations'])||[],null))==null||_0xd30187[_0xdf50ce(0x306)](_0x3cbc8b=>this[_0xdf50ce(0x30a)][_0xdf50ce(0x17c)](_0x3cbc8b['id'],_0x3cbc8b[_0xdf50ce(0x522)])),(_0x44914c=_0x11fa2f(_0x401efa||[],null))==null||_0x44914c[_0xdf50ce(0x306)](_0x59a7c6=>this[_0xdf50ce(0x30a)][_0xdf50ce(0x17c)](_0x59a7c6['id'],_0x59a7c6[_0xdf50ce(0x522)]));}},_0x2509f1[_0x3e84f8(0x274)]=_0x493d58([_0x3394e7(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['Injector'])),_0x3394e7(0x4,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x373)])),_0x3394e7(0x5,_0x3eca57['Inject'](_0x1474a0[_0x3e84f8(0x2db)])),_0x3394e7(0x6,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x477)])),_0x3394e7(0x7,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x210)])),_0x3394e7(0x8,_0x3eca57[_0x3e84f8(0x391)]),_0x3394e7(0x9,_0x3eca57['ICommandService']),_0x3394e7(0xa,_0x2ede89['IMessageService']),_0x3394e7(0xb,_0x3eca57[_0x3e84f8(0x3a9)]),_0x3394e7(0xc,_0x3eca57[_0x3e84f8(0x3f3)](_0x39225f))],_0x2509f1['CollaborationEntity']),_0x2509f1[_0x3e84f8(0x324)]=class extends _0x2509f1[_0x3e84f8(0x274)]{constructor(_0x5516ee,_0x2792c0,_0x4ebf08,_0x100d13,_0x16b010,_0x35392f,_0x1c9a59,_0x21f2a4,_0x3f32e1,_0xcc7b3a,_0xe35957,_0x1c48c5,_0x538435,_0x10fa10,_0x2659b4,_0x3a0a33,_0x53cb5c){const _0x324209=_0x3e84f8;super(_0x5516ee,_0x4ebf08,_0x2792c0,_0x100d13,_0x16b010,_0x35392f,_0x1c9a59,_0x21f2a4,_0x538435,_0x10fa10,_0x2659b4,_0x3a0a33,_0x53cb5c),this[_0x324209(0x13f)]=_0x5516ee,this[_0x324209(0x4c9)]=_0x2792c0,this[_0x324209(0x3bd)]=_0x3f32e1,this[_0x324209(0x542)]=_0xcc7b3a,this['_docTransformSelectionsService']=_0xe35957,this[_0x324209(0x216)]=_0x1c48c5;}[_0x3e84f8(0x465)](){const _0x302241=_0x3e84f8,_0x48296e=super[_0x302241(0x465)]();return _0x48296e['onTransformIME']=_0x20b784=>this[_0x302241(0x542)][_0x302241(0x3dd)](_0x20b784),_0x48296e[_0x302241(0x30b)]=_0x4bbb41=>this[_0x302241(0x45b)]['transformSelections'](_0x4bbb41),_0x48296e[_0x302241(0x3fb)]=_0x5a9aa3=>this[_0x302241(0x216)][_0x302241(0x285)](_0x5a9aa3),_0x48296e[_0x302241(0x4e5)]=_0x5e8ad2=>this[_0x302241(0x542)][_0x302241(0x38b)](_0x5e8ad2),_0x48296e;}async[_0x3e84f8(0x176)](){const _0x515f47=_0x3e84f8,_0x20d2ef=await super['_init']();return this[_0x515f47(0x4ed)](this[_0x515f47(0x30a)][_0x515f47(0x271)]((_0x5ab4c4,_0x3fa284)=>{const _0x43936e=_0x515f47;if(_0x5ab4c4[_0x43936e(0x4c9)]!==_0x3eca57[_0x43936e(0x32c)][_0x43936e(0x2c9)]||_0x3fa284!=null&&_0x3fa284[_0x43936e(0x519)]||_0x3fa284!=null&&_0x3fa284['onlyLocal'])return;const _0xf95a49=_0x5ab4c4[_0x43936e(0x522)];if((_0xf95a49==null?void 0x0:_0xf95a49['unitId'])!==this['unitID'])return;let _0x658497=_0x5ab4c4;if(_0x658497['id']===_0x5a15a4[_0x43936e(0x495)]['id']){const _0x570a8c=_0x658497[_0x43936e(0x522)];_0x658497={'id':_0x5a15a4[_0x43936e(0x495)]['id'],'type':_0x3eca57['CommandType'][_0x43936e(0x2c9)],'params':{'unitId':_0x570a8c['unitId'],'actions':_0x570a8c[_0x43936e(0x3f6)],'textRanges':null}};}const _0x70d626=this[_0x43936e(0x35a)][_0x43936e(0x1c4)][_0x43936e(0x1da)](this['_compressMutationService'][_0x43936e(0x1c4)][_0x43936e(0x310)]()[_0x43936e(0x369)])([_0x658497],null)||[_0x658497];this[_0x43936e(0x163)](_0x70d626[0x0]);})),_0x20d2ef;}},_0x2509f1[_0x3e84f8(0x324)]=_0x493d58([_0x3394e7(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['Injector'])),_0x3394e7(0x4,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x373)])),_0x3394e7(0x5,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0['CompressMutationService'])),_0x3394e7(0x6,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['LocaleService'])),_0x3394e7(0x7,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x210)])),_0x3394e7(0x8,_0x3eca57[_0x3e84f8(0x13c)](_0x58059b[_0x3e84f8(0x4bc)])),_0x3394e7(0x9,_0x3eca57[_0x3e84f8(0x13c)](_0xd6db42)),_0x3394e7(0xa,_0x3eca57[_0x3e84f8(0x13c)](_0x1fbfda)),_0x3394e7(0xb,_0x3eca57[_0x3e84f8(0x13c)](_0x2436eb)),_0x3394e7(0xc,_0x3eca57[_0x3e84f8(0x391)]),_0x3394e7(0xd,_0x3eca57[_0x3e84f8(0x2b3)]),_0x3394e7(0xe,_0x2ede89[_0x3e84f8(0x394)]),_0x3394e7(0xf,_0x3eca57[_0x3e84f8(0x3a9)]),_0x3394e7(0x10,_0x3eca57[_0x3e84f8(0x3f3)](_0x39225f))],_0x2509f1['DocCollaborationEntity']),_0x2509f1['SheetCollaborationEntity']=class extends _0x2509f1[_0x3e84f8(0x274)]{constructor(_0x3eefe7,_0x3cb3d4,_0x51b298,_0x1b1416,_0x3e3548,_0x3dcd69,_0x1e4a53,_0x511399,_0x222630,_0x32273d,_0xc6ba0e,_0x4609b7,_0x39234f,_0x1f70c5){const _0x3fc4de=_0x3e84f8;super(_0x3eefe7,_0x51b298,_0x3cb3d4,_0x1b1416,_0x3e3548,_0x3dcd69,_0x1e4a53,_0x511399,_0x32273d,_0xc6ba0e,_0x4609b7,_0x39234f,_0x1f70c5),this[_0x3fc4de(0x13f)]=_0x3eefe7,this[_0x3fc4de(0x4c9)]=_0x3cb3d4,this['_sheetTransformSelectionsService']=_0x222630;}[_0x3e84f8(0x465)](){const _0x1e3624=_0x3e84f8,_0x5624de=super[_0x1e3624(0x465)]();return _0x5624de[_0x1e3624(0x30b)]=_0x2d4453=>this[_0x1e3624(0x371)][_0x1e3624(0x537)](_0x2d4453),_0x5624de;}async[_0x3e84f8(0x176)](){const _0x1cc76b=_0x3e84f8,_0xadeab0=await super[_0x1cc76b(0x176)]();return this[_0x1cc76b(0x4ed)](this[_0x1cc76b(0x30a)][_0x1cc76b(0x271)]((_0x1a1ba5,_0x985ffb)=>{const _0x1cbf09=_0x1cc76b;if(_0x1a1ba5[_0x1cbf09(0x4c9)]!==_0x3eca57['CommandType']['MUTATION']||_0x985ffb!=null&&_0x985ffb[_0x1cbf09(0x519)]||_0x985ffb!=null&&_0x985ffb[_0x1cbf09(0x480)])return;const _0x429cbb=_0x1a1ba5[_0x1cbf09(0x522)];if((_0x429cbb==null?void 0x0:_0x429cbb[_0x1cbf09(0x2ac)])!==this['unitID'])return;const _0x50dc81=_0x1a1ba5,_0x19e3eb=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x1cbf09(0x35a)][_0x1cbf09(0x1c4)][_0x1cbf09(0x310)]()[_0x1cbf09(0x369)])([_0x50dc81],null)||[_0x50dc81];this['_onLocalMutation'](_0x19e3eb[0x0]);})),_0xadeab0;}},_0x2509f1[_0x3e84f8(0x1ed)]=_0x493d58([_0x3394e7(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x368)])),_0x3394e7(0x4,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x373)])),_0x3394e7(0x5,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x2db)])),_0x3394e7(0x6,_0x3eca57['Inject'](_0x3eca57[_0x3e84f8(0x477)])),_0x3394e7(0x7,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x210)])),_0x3394e7(0x8,_0x3eca57[_0x3e84f8(0x13c)](_0x322a21)),_0x3394e7(0x9,_0x3eca57[_0x3e84f8(0x391)]),_0x3394e7(0xa,_0x3eca57[_0x3e84f8(0x2b3)]),_0x3394e7(0xb,_0x2ede89['IMessageService']),_0x3394e7(0xc,_0x3eca57[_0x3e84f8(0x3a9)]),_0x3394e7(0xd,_0x3eca57[_0x3e84f8(0x3f3)](_0x39225f))],_0x2509f1['SheetCollaborationEntity']);var _0xc0da08=Object[_0x3e84f8(0x243)],_0x4d69c6=Object[_0x3e84f8(0x439)],_0x3b070a=(_0x2b80ce,_0x579770,_0x5badde,_0x23ad53)=>{const _0x570e50=_0x3e84f8;for(var _0x3776db=_0x23ad53>0x1?void 0x0:_0x23ad53?_0x4d69c6(_0x579770,_0x5badde):_0x579770,_0xaaae02=_0x2b80ce[_0x570e50(0x1a6)]-0x1,_0x272f12;_0xaaae02>=0x0;_0xaaae02--)(_0x272f12=_0x2b80ce[_0xaaae02])&&(_0x3776db=(_0x23ad53?_0x272f12(_0x579770,_0x5badde,_0x3776db):_0x272f12(_0x3776db))||_0x3776db);return _0x23ad53&&_0x3776db&&_0xc0da08(_0x579770,_0x5badde,_0x3776db),_0x3776db;},_0x2429e3=(_0x47309a,_0x244c0f)=>(_0x45005a,_0xca835f)=>_0x244c0f(_0x45005a,_0xca835f,_0x47309a);_0x2509f1[_0x3e84f8(0x171)]=class extends _0x3eca57[_0x3e84f8(0x37a)]{constructor(_0x4b46c9,_0x50f2dc,_0x3899e5){const _0x47ba04=_0x3e84f8;super(),_0x1de933(this,_0x47ba04(0x299),new Map()),_0x1de933(this,_0x47ba04(0x4f2),new _0x199df4['Subject']()),(this['_injector']=_0x4b46c9,this[_0x47ba04(0x4e8)]=_0x50f2dc,this[_0x47ba04(0x339)]=_0x3899e5,this[_0x47ba04(0x176)]());}[_0x3e84f8(0x231)](){const _0x32afbc=_0x3e84f8;super[_0x32afbc(0x231)](),this[_0x32afbc(0x299)][_0x32afbc(0x306)](_0x62e05a=>_0x62e05a[_0x32afbc(0x231)]()),this[_0x32afbc(0x299)][_0x32afbc(0x4db)]();}[_0x3e84f8(0x1be)](_0x470ad8){const _0x183cc2=_0x3e84f8;var _0x434119;return(_0x434119=this['_entities'][_0x183cc2(0x4af)](_0x470ad8))!=null?_0x434119:null;}[_0x3e84f8(0x26f)](_0x2e9fef){const _0x227c8d=_0x3e84f8,_0x24e2ea=this[_0x227c8d(0x1be)](_0x2e9fef);return _0x24e2ea?_0x199df4['of'](_0x24e2ea):this[_0x227c8d(0x4f2)][_0x227c8d(0x52b)](_0x46f2f0[_0x227c8d(0x51d)](_0x3c995c=>_0x3c995c[_0x227c8d(0x13f)]===_0x2e9fef));}[_0x3e84f8(0x176)](){const _0x54ab44=_0x3e84f8;this[_0x54ab44(0x339)][_0x54ab44(0x362)](_0x3eca57[_0x54ab44(0x3fd)]['UNIVER_SHEET'])[_0x54ab44(0x52b)](_0x199df4[_0x54ab44(0x468)](this['dispose$']),_0x46f2f0[_0x54ab44(0x17f)](0x10))[_0x54ab44(0x4da)](async _0x45c115=>{const _0x5a34f5=_0x54ab44,_0x13aa1d=_0x45c115['getUnitId'](),_0x17d675=await this['_startCollaboration'](_0x13aa1d,_0x588a36['UNIVER_SHEET']);this[_0x5a34f5(0x299)]['set'](_0x13aa1d,_0x17d675);}),this[_0x54ab44(0x339)][_0x54ab44(0x362)](_0x3eca57['UniverInstanceType'][_0x54ab44(0x269)])['pipe'](_0x199df4['takeUntil'](this['dispose$']),_0x46f2f0[_0x54ab44(0x17f)](0x10))['pipe'](_0x46f2f0['filter'](_0x13a551=>!_0x13a551[_0x54ab44(0x286)]()[_0x54ab44(0x396)]('__')))[_0x54ab44(0x4da)](async _0x108374=>{const _0x198d7c=_0x54ab44,_0x3c089b=_0x108374[_0x198d7c(0x286)](),_0x2f0e8f=await this[_0x198d7c(0x4a8)](_0x3c089b,_0x588a36[_0x198d7c(0x269)]);this[_0x198d7c(0x299)][_0x198d7c(0x1b8)](_0x3c089b,_0x2f0e8f);}),_0x199df4[_0x54ab44(0x148)](this[_0x54ab44(0x339)][_0x54ab44(0x3a5)](_0x3eca57[_0x54ab44(0x3fd)][_0x54ab44(0x28f)]),this[_0x54ab44(0x339)][_0x54ab44(0x3a5)](_0x3eca57['UniverInstanceType'][_0x54ab44(0x269)]))[_0x54ab44(0x52b)](_0x199df4[_0x54ab44(0x468)](this['dispose$']))[_0x54ab44(0x4da)](_0xbb2754=>{const _0x5242c9=_0x54ab44,_0x17edb9=_0xbb2754[_0x5242c9(0x286)](),_0x1d0465=this['_entities'][_0x5242c9(0x4af)](_0x17edb9);_0x1d0465&&(_0x1d0465[_0x5242c9(0x231)](),this[_0x5242c9(0x299)][_0x5242c9(0x531)](_0x17edb9));});}async['_startCollaboration'](_0x58454f,_0x2094ef){const _0x261106=_0x3e84f8,_0x2be2e8=await this['_collabSessionService'][_0x261106(0x2ca)](_0x58454f),_0x236f4b=this[_0x261106(0x249)]['createInstance'](this[_0x261106(0x15f)](_0x2094ef),_0x58454f,_0x2094ef,_0x2be2e8);return await _0x236f4b['init'](),this[_0x261106(0x4f2)][_0x261106(0x2d2)](_0x236f4b),_0x236f4b;}['_getCtorByUniverType'](_0x1c961a){const _0x1cac62=_0x3e84f8;switch(_0x1c961a){case _0x588a36['UNIVER_DOC']:return _0x2509f1[_0x1cac62(0x324)];case _0x588a36[_0x1cac62(0x28f)]:return _0x2509f1['SheetCollaborationEntity'];default:throw new Error(_0x1cac62(0x21f)+_0x1c961a);}}},_0x2509f1['CollaborationController']=_0x3b070a([_0x2429e3(0x0,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['Injector'])),_0x2429e3(0x1,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x332)])),_0x2429e3(0x2,_0x3eca57[_0x3e84f8(0x2b1)])],_0x2509f1[_0x3e84f8(0x171)]);const _0x143b00=[_0x3e84f8(0x2ce),_0x3e84f8(0x13d),_0x3e84f8(0x2dd),_0x3e84f8(0x4b4),_0x3e84f8(0x3ee),'gold400'];class _0x29d267 extends _0x3eca57[_0x3e84f8(0x2a6)]{constructor(){const _0x4549b7=_0x3e84f8;super(...arguments),_0x1de933(this,_0x4549b7(0x16e),new Map()),_0x1de933(this,_0x4549b7(0x48e),0x0);}[_0x3e84f8(0x403)](_0x598f49){const _0x15a1da=_0x3e84f8;if(this[_0x15a1da(0x16e)][_0x15a1da(0x2a7)](_0x598f49))return this[_0x15a1da(0x16e)]['get'](_0x598f49);const _0x3f1048=_0x143b00[this[_0x15a1da(0x48e)]];return this[_0x15a1da(0x48e)]=(this[_0x15a1da(0x48e)]+0x1)%_0x143b00[_0x15a1da(0x1a6)],this[_0x15a1da(0x16e)][_0x15a1da(0x1b8)](_0x598f49,_0x3f1048),_0x3f1048;}}var _0x74a1a8=Object[_0x3e84f8(0x243)],_0x4cfb88=Object[_0x3e84f8(0x439)],_0x1c37ec=(_0x35da26,_0x3a85ba,_0x59993a,_0x46dcaf)=>{const _0x553a7d=_0x3e84f8;for(var _0x538013=_0x46dcaf>0x1?void 0x0:_0x46dcaf?_0x4cfb88(_0x3a85ba,_0x59993a):_0x3a85ba,_0x50912c=_0x35da26[_0x553a7d(0x1a6)]-0x1,_0x2ad234;_0x50912c>=0x0;_0x50912c--)(_0x2ad234=_0x35da26[_0x50912c])&&(_0x538013=(_0x46dcaf?_0x2ad234(_0x3a85ba,_0x59993a,_0x538013):_0x2ad234(_0x538013))||_0x538013);return _0x46dcaf&&_0x538013&&_0x74a1a8(_0x3a85ba,_0x59993a,_0x538013),_0x538013;},_0x17cacb=(_0x31d9de,_0x15ba1f)=>(_0x3f1aec,_0x56740d)=>_0x15ba1f(_0x3f1aec,_0x56740d,_0x31d9de);const _0x668fad=0x12c,_0x18d423=0x64,_0x5b224e=()=>{let _0x2fa4f1=[],_0x599d70=!0x1;return _0x48efc7=>{const _0x5d6408=_0x3242;_0x2fa4f1[_0x5d6408(0x434)](_0x48efc7),_0x599d70||(_0x599d70=!0x0,setTimeout(()=>{const _0x486f89=_0x5d6408;_0x2fa4f1[_0x486f89(0x306)](_0x315113=>_0x315113()),_0x2fa4f1=[],_0x599d70=!0x1;}));};};let _0x380593=class extends _0x3eca57['RxDisposable']{constructor(_0x1d0757,_0x20572e,_0x477f97,_0x138578,_0x368150,_0x3fac99,_0xc1dbea,_0x187e56){const _0x2b9035=_0x3e84f8;super(),_0x1de933(this,_0x2b9035(0x3ed),!0x1),_0x1de933(this,_0x2b9035(0x176),!0x1),_0x1de933(this,_0x2b9035(0x185),new _0x199df4[(_0x2b9035(0x244))](new Map())),_0x1de933(this,_0x2b9035(0x45c),this[_0x2b9035(0x185)]['asObservable']()),_0x1de933(this,_0x2b9035(0x149),new _0x199df4['BehaviorSubject']([])),_0x1de933(this,_0x2b9035(0x329),this[_0x2b9035(0x149)][_0x2b9035(0x52b)](_0x199df4[_0x2b9035(0x397)](_0x668fad))),_0x1de933(this,_0x2b9035(0x173),_0x7f76a4((_0x2532d4,_0x3600ad)=>{const _0x229273=_0x2b9035,_0x29dbbc={'eventID':_0x1474a0[_0x229273(0x520)][_0x229273(0x402)],'data':{'unitID':this[_0x229273(0x13f)],'memberID':this[_0x229273(0x130)]['getMemberID'](),'selection':_0x2568c2[_0x229273(0x2df)](_0x2532d4,_0x3600ad[_0x229273(0x4cd)])}};this[_0x229273(0x130)][_0x229273(0x41c)](_0x29dbbc,this[_0x229273(0x13f)]);},_0x18d423)),(this['unitID']=_0x1d0757,this[_0x2b9035(0x130)]=_0x20572e,this[_0x2b9035(0x249)]=_0x477f97,this[_0x2b9035(0x530)]=_0x138578,this['_memberService']=_0x368150,this['_univerInstanceService']=_0x3fac99,this[_0x2b9035(0x30a)]=_0xc1dbea,this[_0x2b9035(0x3cd)]=_0x187e56);}get['cursorInfo'](){const _0x3ce7cc=_0x3e84f8;return this[_0x3ce7cc(0x185)][_0x3ce7cc(0x31f)]();}get[_0x3e84f8(0x3a6)](){const _0x9bfd7e=_0x3e84f8;return this['_roomMembers$'][_0x9bfd7e(0x31f)]();}['dispose'](){const _0x3ceb5e=_0x3e84f8;super[_0x3ceb5e(0x231)](),this[_0x3ceb5e(0x185)][_0x3ceb5e(0x2d2)](new Map()),this[_0x3ceb5e(0x185)][_0x3ceb5e(0x1d3)](),this[_0x3ceb5e(0x149)][_0x3ceb5e(0x2d2)]([]),this[_0x3ceb5e(0x149)]['complete']();}['init'](){const _0x973e83=_0x3e84f8;this[_0x973e83(0x176)]||(this['_init']=!0x0,this[_0x973e83(0x130)][_0x973e83(0x541)]['pipe'](_0x199df4[_0x973e83(0x468)](this[_0x973e83(0x138)]))['subscribe'](_0x44528d=>{const _0x11a4c3=_0x973e83;_0x44528d===_0x39f403['ONLINE']?this[_0x11a4c3(0x36b)]():this[_0x11a4c3(0x188)]();}),this[_0x973e83(0x130)]['event$']['pipe'](_0x199df4[_0x973e83(0x468)](this[_0x973e83(0x138)]))[_0x973e83(0x4da)](_0x4d3c8c=>{const _0x57d5b1=_0x973e83,_0x5b9329=_0x4d3c8c[_0x57d5b1(0x11c)];_0x5b9329===_0x1474a0[_0x57d5b1(0x520)][_0x57d5b1(0x402)]&&this['_onCursorUpdate'](_0x4d3c8c),_0x5b9329===_0x1474a0[_0x57d5b1(0x520)]['USERS_LEAVE']&&this[_0x57d5b1(0x2b4)](_0x4d3c8c);}),this['_onRefRangeChange'](),this[_0x973e83(0x4ed)](this[_0x973e83(0x30a)][_0x973e83(0x271)](_0x59a871=>{const _0x5396c2=_0x973e83;if(this[_0x5396c2(0x3ed)]&&_0x59a871['id']===_0x9f218b[_0x5396c2(0x248)]['id']&&_0x59a871['params'][_0x5396c2(0x2ac)]===this[_0x5396c2(0x13f)]){const _0x3c17eb=_0x59a871['params'];this[_0x5396c2(0x173)](_0x3c17eb['subUnitId'],_0x3c17eb[_0x5396c2(0x406)][0x0]);}})));}['_onCursorUpdate'](_0x352013){const _0x5126a7=_0x3e84f8;var _0x58e073,_0x57c9cb;const {memberID:_0x40b5bb,selection:_0x1165ae}=_0x352013[_0x5126a7(0x33d)],{sheetName:_0x11d430,range:_0x4e1798}=_0x2568c2[_0x5126a7(0x174)](_0x1165ae),_0x51f864={'name':(_0x57c9cb=(_0x58e073=this[_0x5126a7(0x1ec)]['getMember'](this[_0x5126a7(0x13f)],_0x40b5bb))==null?void 0x0:_0x58e073[_0x5126a7(0x52a)])!=null?_0x57c9cb:_0x5126a7(0x3c9),'range':this[_0x5126a7(0x4a0)](_0x11d430,_0x4e1798),'sheetID':_0x11d430,'color':this[_0x5126a7(0x530)][_0x5126a7(0x403)](_0x40b5bb),'selection':_0x1165ae},_0x3dfa5a=this[_0x5126a7(0x289)];_0x3dfa5a[_0x5126a7(0x1b8)](_0x40b5bb,_0x51f864),this[_0x5126a7(0x185)][_0x5126a7(0x2d2)](_0x3dfa5a);}[_0x3e84f8(0x2b4)](_0x5334f4){const _0x33e7d1=_0x3e84f8,{memberID:_0x5c3e28}=_0x5334f4['data'],_0x58c6aa=this[_0x33e7d1(0x289)];_0x58c6aa['delete'](_0x5c3e28),this[_0x33e7d1(0x185)]['next'](_0x58c6aa);}['_getMergeRange'](_0x2c48e9,_0x472286){const _0x1ddbbd=_0x3e84f8;var _0x22edf3,_0x38dabb;const _0x1db39b=(_0x38dabb=(_0x22edf3=this['_univerInstanceService'][_0x1ddbbd(0x41d)](this[_0x1ddbbd(0x13f)]))==null?void 0x0:_0x22edf3[_0x1ddbbd(0x37e)](_0x2c48e9))==null?void 0x0:_0x38dabb['getMergeData']();return(_0x1db39b==null?void 0x0:_0x1db39b[_0x1ddbbd(0x44f)](_0x164111=>_0x3eca57[_0x1ddbbd(0x527)][_0x1ddbbd(0x116)](_0x164111,_0x472286)))||_0x472286;}[_0x3e84f8(0x24a)](){const _0x3070de=_0x3e84f8,_0x3b50a1=new _0x3eca57[(_0x3070de(0x20e))](),_0x3a39bf=_0x5b224e(),_0x475fae=()=>{const _0x3af61f=_0x3070de;_0x3b50a1['dispose']();const _0x4cea91=(_0x3ead2b,_0x5227d7,_0x55fe00,_0x4e1c3c)=>{const _0x5c8b79=_0x3242;let _0xd968f9=[];switch(_0x3ead2b['id']){case _0x9f218b[_0x5c8b79(0x27a)][_0x5c8b79(0x2a0)]:{_0xd968f9=_0x9f218b[_0x5c8b79(0x2aa)](_0x3ead2b,_0x4e1c3c);break;}case _0x9f218b[_0x5c8b79(0x27a)]['DeleteRangeMoveUpCommandId']:{_0xd968f9=_0x9f218b[_0x5c8b79(0x213)](_0x3ead2b,_0x4e1c3c);break;}case _0x9f218b[_0x5c8b79(0x27a)]['InsertColCommandId']:{_0xd968f9=_0x9f218b[_0x5c8b79(0x1cc)](_0x3ead2b,_0x4e1c3c);break;}case _0x9f218b[_0x5c8b79(0x27a)][_0x5c8b79(0x453)]:{_0xd968f9=_0x9f218b[_0x5c8b79(0x388)](_0x3ead2b,_0x4e1c3c);break;}case _0x9f218b[_0x5c8b79(0x27a)]['InsertRangeMoveRightCommandId']:{_0xd968f9=_0x9f218b['handleInsertRangeMoveRight'](_0x3ead2b,_0x4e1c3c);break;}case _0x9f218b[_0x5c8b79(0x27a)][_0x5c8b79(0x297)]:{_0xd968f9=_0x9f218b[_0x5c8b79(0x218)](_0x3ead2b,_0x4e1c3c);break;}case _0x9f218b[_0x5c8b79(0x27a)][_0x5c8b79(0x485)]:{_0xd968f9=_0x9f218b[_0x5c8b79(0x53c)](_0x3ead2b,_0x4e1c3c);break;}case _0x9f218b['EffectRefRangId'][_0x5c8b79(0x2d0)]:{_0xd968f9=_0x9f218b[_0x5c8b79(0x3c4)](_0x3ead2b,_0x4e1c3c);break;}case _0x9f218b[_0x5c8b79(0x27a)][_0x5c8b79(0x24e)]:{_0xd968f9=_0x9f218b['handleIRemoveRow'](_0x3ead2b,_0x4e1c3c);break;}}const _0x2537f5=_0x9f218b[_0x5c8b79(0x23a)](_0xd968f9,_0x4e1c3c),_0x10f24e=this['cursorInfo']['get'](_0x5227d7);if(_0x10f24e&&_0x2537f5){const _0x4cd233={..._0x10f24e,'range':_0x2537f5};this[_0x5c8b79(0x289)][_0x5c8b79(0x1b8)](_0x5227d7,_0x4cd233),_0x3a39bf(()=>{const _0x5296a7=_0x5c8b79,_0x14e06d=this[_0x5296a7(0x3cd)][_0x5296a7(0x22a)](_0x2537f5,_0x1cbbfc=>(_0x14e06d[_0x5296a7(0x231)](),_0x4cea91(_0x1cbbfc,_0x5227d7,_0x55fe00,_0x2537f5)));_0x3b50a1[_0x5296a7(0x44d)](_0x14e06d);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3af61f(0x306)]((_0x179913,_0x2c7850)=>{const _0x58e126=_0x3af61f,{range:_0x4fa478,sheetID:_0x2b3c26}=_0x179913,_0x27ebb1=this['_refRangeService'][_0x58e126(0x22a)](_0x4fa478,_0x2a6093=>(_0x27ebb1[_0x58e126(0x231)](),_0x4cea91(_0x2a6093,_0x2c7850,_0x2b3c26,_0x4fa478)));_0x3b50a1[_0x58e126(0x44d)](_0x27ebb1);});};this['disposeWithMe'](_0x3eca57[_0x3070de(0x340)](this[_0x3070de(0x185)][_0x3070de(0x4da)](()=>{_0x475fae();})));}[_0x3e84f8(0x36b)](){const _0x51d295=_0x3e84f8;var _0x27e048,_0x3557b3;if(this[_0x51d295(0x3ed)]=!0x0,((_0x27e048=this['_univerInstanceService'][_0x51d295(0x298)]())==null?void 0x0:_0x27e048[_0x51d295(0x286)]())!==this[_0x51d295(0x13f)])return;const _0x46cafa=(_0x3557b3=this['_injector']['get'](_0x9f218b['SheetsSelectionsService'])[_0x51d295(0x301)]())==null?void 0x0:_0x3557b3[0x0],_0x1bd338=this[_0x51d295(0x339)][_0x51d295(0x36d)](_0x3eca57['UniverInstanceType'][_0x51d295(0x28f)])['getActiveSheet']();_0x46cafa&&_0x1bd338&&this['_updateLocalCursor'](_0x1bd338[_0x51d295(0x302)](),_0x46cafa);}['_toggleOffline'](){this['_online']=!0x1;}};_0x380593=_0x1c37ec([_0x17cacb(0x2,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x368)])),_0x17cacb(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x29d267)),_0x17cacb(0x4,_0x3eca57[_0x3e84f8(0x13c)](_0x5df92e)),_0x17cacb(0x5,_0x3eca57[_0x3e84f8(0x2b1)]),_0x17cacb(0x6,_0x3eca57[_0x3e84f8(0x2b3)]),_0x17cacb(0x7,_0x3eca57[_0x3e84f8(0x13c)](_0x9f218b[_0x3e84f8(0x493)]))],_0x380593);var _0x48a602=Object[_0x3e84f8(0x243)],_0x901f46=Object[_0x3e84f8(0x439)],_0xabbe23=(_0xec41a,_0x1ee975,_0x1971e3,_0x7b9fe4)=>{const _0x5aa502=_0x3e84f8;for(var _0xf14d62=_0x7b9fe4>0x1?void 0x0:_0x7b9fe4?_0x901f46(_0x1ee975,_0x1971e3):_0x1ee975,_0x585373=_0xec41a[_0x5aa502(0x1a6)]-0x1,_0x301e71;_0x585373>=0x0;_0x585373--)(_0x301e71=_0xec41a[_0x585373])&&(_0xf14d62=(_0x7b9fe4?_0x301e71(_0x1ee975,_0x1971e3,_0xf14d62):_0x301e71(_0xf14d62))||_0xf14d62);return _0x7b9fe4&&_0xf14d62&&_0x48a602(_0x1ee975,_0x1971e3,_0xf14d62),_0xf14d62;},_0xf5146b=(_0x5121e6,_0x2d9529)=>(_0x1af565,_0x9713c8)=>_0x2d9529(_0x1af565,_0x9713c8,_0x5121e6);const _0x349d85=0x12c,_0x4e5015=0x64;let _0x23da87=class extends _0x3eca57[_0x3e84f8(0x37a)]{constructor(_0x9ef61e,_0x5281c4,_0x1e82d7,_0x2ec0c5,_0x1b46d7,_0x4162c5,_0x2b4980,_0x1b642f,_0x4997e4){const _0x303f10=_0x3e84f8;super(),_0x1de933(this,_0x303f10(0x3ed),!0x1),_0x1de933(this,_0x303f10(0x176),!0x1),_0x1de933(this,_0x303f10(0x185),new _0x199df4[(_0x303f10(0x244))](new Map())),_0x1de933(this,_0x303f10(0x45c),this[_0x303f10(0x185)][_0x303f10(0x183)]()),_0x1de933(this,_0x303f10(0x149),new _0x199df4[(_0x303f10(0x244))]([])),_0x1de933(this,'roomMembers$',this[_0x303f10(0x149)][_0x303f10(0x52b)](_0x199df4['debounceTime'](_0x349d85))),_0x1de933(this,_0x303f10(0x173),_0x7f76a4(_0x5dffb5=>{const _0x1706ff=_0x303f10,_0x34a12={'eventID':_0x1474a0[_0x1706ff(0x520)][_0x1706ff(0x402)],'data':{'unitID':this[_0x1706ff(0x13f)],'memberID':this[_0x1706ff(0x130)][_0x1706ff(0x53f)](),'selection':_0x2d22be(_0x5dffb5)}};this['_session'][_0x1706ff(0x41c)](_0x34a12,this[_0x1706ff(0x13f)]);},_0x4e5015)),(this[_0x303f10(0x13f)]=_0x9ef61e,this[_0x303f10(0x130)]=_0x5281c4,this[_0x303f10(0x249)]=_0x1e82d7,this[_0x303f10(0x530)]=_0x2ec0c5,this[_0x303f10(0x1ec)]=_0x1b46d7,this[_0x303f10(0x50a)]=_0x4162c5,this[_0x303f10(0x263)]=_0x2b4980,this[_0x303f10(0x339)]=_0x1b642f,this[_0x303f10(0x30a)]=_0x4997e4);}get[_0x3e84f8(0x289)](){const _0x15b731=_0x3e84f8;return this[_0x15b731(0x185)][_0x15b731(0x31f)]();}get[_0x3e84f8(0x3a6)](){const _0x3b53f6=_0x3e84f8;return this[_0x3b53f6(0x149)][_0x3b53f6(0x31f)]();}[_0x3e84f8(0x231)](){const _0x2c6c6d=_0x3e84f8;super[_0x2c6c6d(0x231)](),this[_0x2c6c6d(0x185)][_0x2c6c6d(0x2d2)](new Map()),this[_0x2c6c6d(0x185)][_0x2c6c6d(0x1d3)](),this[_0x2c6c6d(0x149)][_0x2c6c6d(0x2d2)]([]),this[_0x2c6c6d(0x149)][_0x2c6c6d(0x1d3)]();}[_0x3e84f8(0x352)](){const _0x280870=_0x3e84f8;this['_init']||(this['_init']=!0x0,this[_0x280870(0x130)]['sessionStatus$'][_0x280870(0x52b)](_0x199df4[_0x280870(0x468)](this['dispose$']))['subscribe'](_0x31a24b=>{const _0x76bd8e=_0x280870;_0x31a24b===_0x39f403[_0x76bd8e(0x3cc)]?this['_toggleOnline']():this[_0x76bd8e(0x188)]();}),this['_session']['event$']['pipe'](_0x199df4[_0x280870(0x468)](this[_0x280870(0x138)]))[_0x280870(0x4da)](_0x375cb8=>{const _0x1a12c8=_0x280870,_0x34fb7e=_0x375cb8[_0x1a12c8(0x11c)];_0x34fb7e===_0x1474a0[_0x1a12c8(0x520)][_0x1a12c8(0x402)]&&this['_onCursorUpdate'](_0x375cb8),_0x34fb7e===_0x1474a0[_0x1a12c8(0x520)]['USERS_LEAVE']&&this[_0x1a12c8(0x2b4)](_0x375cb8);}),this[_0x280870(0x4ed)](this[_0x280870(0x30a)]['onCommandExecuted'](_0x7b0a4=>{const _0xe89b1c=_0x280870,_0x221424=_0x7b0a4[_0xe89b1c(0x522)];_0x221424!=null&&this[_0xe89b1c(0x3ed)]&&_0x7b0a4['id']===_0x5a15a4[_0xe89b1c(0x426)]['id']&&_0x221424[_0xe89b1c(0x2ac)]===this[_0xe89b1c(0x13f)]&&_0x221424[_0xe89b1c(0x2ff)]===!0x1&&this[_0xe89b1c(0x173)](_0x221424[_0xe89b1c(0x35d)]);})),this[_0x280870(0x50a)][_0x280870(0x3c1)]['pipe'](_0x199df4[_0x280870(0x468)](this[_0x280870(0x138)]))[_0x280870(0x4da)](_0x4e9585=>{const _0x13abd0=_0x280870;if((_0x4e9585==null?void 0x0:_0x4e9585[_0x13abd0(0x13f)])!==this[_0x13abd0(0x13f)])return;const _0x417ef9={'eventID':_0x1474a0[_0x13abd0(0x520)][_0x13abd0(0x402)],'data':_0x4e9585};this[_0x13abd0(0x19a)](_0x417ef9);}),this[_0x280870(0x4ed)](this[_0x280870(0x30a)][_0x280870(0x271)](_0x15a6f3=>{const _0x2e88d5=_0x280870;if(_0x15a6f3['params']==null)return;const _0x236924=_0x15a6f3['params'];if(_0x15a6f3['id']!==_0x5a15a4[_0x2e88d5(0x495)]['id']||_0x236924[_0x2e88d5(0x2ac)]!==this[_0x2e88d5(0x13f)])return;const _0x358860={'id':_0x2e88d5(0x506),'params':_0x236924},_0x1c5b15=this['cursorInfo'];for(const [_0x4d7d7b,_0x134b04]of _0x1c5b15){const _0x52b634={'id':_0x2e88d5(0x506),'params':{'unitId':this[_0x2e88d5(0x13f)],'actions':null,'textRanges':_0x134b04[_0x2e88d5(0x35d)]}},_0x4753c1=this[_0x2e88d5(0x263)][_0x2e88d5(0x246)](_0x358860,_0x52b634,!0x1);if(_0x1474a0[_0x2e88d5(0x199)](_0x4753c1))throw _0x4753c1[_0x2e88d5(0x543)];_0x1c5b15[_0x2e88d5(0x1b8)](_0x4d7d7b,{..._0x134b04,'ranges':_0x4753c1['m2Prime'][_0x2e88d5(0x522)][_0x2e88d5(0x1a1)]});}queueMicrotask(()=>{const _0x364917=_0x2e88d5;this['_cursorInfo$'][_0x364917(0x2d2)](_0x1c5b15);});})));}[_0x3e84f8(0x19a)](_0x587482){const _0x1da244=_0x3e84f8;var _0x299e17,_0x1a8ce3;const {memberID:_0x63909e,selection:_0x28c8a9}=_0x587482[_0x1da244(0x33d)],_0x226b34=_0x17e635(_0x28c8a9),_0x481f0b=(_0x1a8ce3=(_0x299e17=this['_memberService'][_0x1da244(0x172)](this['unitID'],_0x63909e))==null?void 0x0:_0x299e17[_0x1da244(0x52a)])!=null?_0x1a8ce3:_0x1da244(0x3c9),_0x698eb={'color':this[_0x1da244(0x530)]['assignAColorForMemberID'](_0x63909e),'name':_0x481f0b,'ranges':_0x226b34},_0x280b5b=this['cursorInfo'];_0x280b5b[_0x1da244(0x1b8)](_0x63909e,_0x698eb),this[_0x1da244(0x185)]['next'](_0x280b5b);}[_0x3e84f8(0x2b4)](_0xc40c46){const _0x4e2684=_0x3e84f8,{memberID:_0x5a6fae}=_0xc40c46['data'],_0x3c34b8=this[_0x4e2684(0x289)];_0x3c34b8[_0x4e2684(0x531)](_0x5a6fae),this[_0x4e2684(0x185)][_0x4e2684(0x2d2)](_0x3c34b8);}[_0x3e84f8(0x36b)](){const _0x1252ef=_0x3e84f8;var _0x28de0a;if(this[_0x1252ef(0x3ed)]=!0x0,((_0x28de0a=this['_univerInstanceService'][_0x1252ef(0x298)]())==null?void 0x0:_0x28de0a[_0x1252ef(0x286)]())!==this[_0x1252ef(0x13f)])return;const _0x44780c=this[_0x1252ef(0x249)][_0x1252ef(0x4af)](_0x5a15a4[_0x1252ef(0x247)])[_0x1252ef(0x2f5)]();Array[_0x1252ef(0x4f1)](_0x44780c)&&_0x44780c[_0x1252ef(0x1a6)]>0x0&&this[_0x1252ef(0x173)](_0x44780c);}['_toggleOffline'](){this['_online']=!0x1;}};_0x23da87=_0xabbe23([_0xf5146b(0x2,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57['Injector'])),_0xf5146b(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x29d267)),_0xf5146b(0x4,_0x3eca57[_0x3e84f8(0x13c)](_0x5df92e)),_0xf5146b(0x5,_0x3eca57[_0x3e84f8(0x13c)](_0x2436eb)),_0xf5146b(0x6,_0x1474a0['ITransformService']),_0xf5146b(0x7,_0x3eca57['IUniverInstanceService']),_0xf5146b(0x8,_0x3eca57[_0x3e84f8(0x2b3)])],_0x23da87);var _0x58d990=Object[_0x3e84f8(0x243)],_0x56ad79=Object[_0x3e84f8(0x439)],_0x4183b1=(_0x25abfa,_0x58a97f,_0x27b84f,_0x59b11e)=>{const _0x5c4c44=_0x3e84f8;for(var _0x3457cc=_0x59b11e>0x1?void 0x0:_0x59b11e?_0x56ad79(_0x58a97f,_0x27b84f):_0x58a97f,_0x346b6e=_0x25abfa[_0x5c4c44(0x1a6)]-0x1,_0x4febef;_0x346b6e>=0x0;_0x346b6e--)(_0x4febef=_0x25abfa[_0x346b6e])&&(_0x3457cc=(_0x59b11e?_0x4febef(_0x58a97f,_0x27b84f,_0x3457cc):_0x4febef(_0x3457cc))||_0x3457cc);return _0x59b11e&&_0x3457cc&&_0x58d990(_0x58a97f,_0x27b84f,_0x3457cc),_0x3457cc;},_0x4732a7=(_0x33b54d,_0x2676b9)=>(_0x4d6ad8,_0x370be3)=>_0x2676b9(_0x4d6ad8,_0x370be3,_0x33b54d);let _0x1fb14c=class extends _0x3eca57['RxDisposable']{constructor(_0x103fa9,_0xb26e01,_0x58f442){const _0x5a3382=_0x3e84f8;super(),_0x1de933(this,_0x5a3382(0x299),new Map()),_0x1de933(this,_0x5a3382(0x4f2),new _0x199df4[(_0x5a3382(0x307))]()),(this[_0x5a3382(0x339)]=_0x103fa9,this[_0x5a3382(0x249)]=_0xb26e01,this['_collabSessionService']=_0x58f442,this[_0x5a3382(0x176)]());}[_0x3e84f8(0x231)](){const _0x95807c=_0x3e84f8;super[_0x95807c(0x231)](),this['_entityInit$'][_0x95807c(0x1d3)](),this[_0x95807c(0x299)][_0x95807c(0x306)](_0x32ff4a=>_0x32ff4a['dispose']());}[_0x3e84f8(0x2fd)](_0x3db88d){const _0x3a9877=_0x3e84f8;return this[_0x3a9877(0x299)][_0x3a9877(0x2a7)](_0x3db88d)?this['_entities'][_0x3a9877(0x4af)](_0x3db88d)['cursorInfo$']:this[_0x3a9877(0x4f2)][_0x3a9877(0x52b)](_0x199df4[_0x3a9877(0x51d)](_0x3b93a5=>_0x3b93a5[_0x3a9877(0x13f)]===_0x3db88d),_0x199df4[_0x3a9877(0x256)](_0x16e40d=>_0x16e40d[_0x3a9877(0x45c)]));}[_0x3e84f8(0x176)](){const _0x31e4f8=_0x3e84f8;this['_univerInstanceService'][_0x31e4f8(0x362)](_0x3eca57[_0x31e4f8(0x3fd)][_0x31e4f8(0x28f)])[_0x31e4f8(0x52b)](_0x199df4[_0x31e4f8(0x468)](this['dispose$']))[_0x31e4f8(0x4da)](async _0x18befc=>{const _0x407de3=_0x31e4f8,_0x399f80=_0x18befc[_0x407de3(0x286)](),_0x561560=await this['_startSheetCollabCursor'](_0x399f80);this[_0x407de3(0x4f2)]['next'](_0x561560),this[_0x407de3(0x299)][_0x407de3(0x1b8)](_0x399f80,_0x561560);}),this['_univerInstanceService'][_0x31e4f8(0x362)](_0x3eca57[_0x31e4f8(0x3fd)][_0x31e4f8(0x269)])[_0x31e4f8(0x52b)](_0x199df4[_0x31e4f8(0x468)](this['dispose$']))[_0x31e4f8(0x52b)](_0x199df4[_0x31e4f8(0x51d)](_0x29e12e=>!_0x29e12e['getUnitId']()['startsWith']('__')))[_0x31e4f8(0x4da)](async _0x225b17=>{const _0x2589aa=_0x31e4f8,_0x983811=_0x225b17['getUnitId'](),_0x19ae07=await this[_0x2589aa(0x3f4)](_0x983811);this['_entityInit$'][_0x2589aa(0x2d2)](_0x19ae07),this['_entities'][_0x2589aa(0x1b8)](_0x983811,_0x19ae07);}),_0x199df4[_0x31e4f8(0x148)](this['_univerInstanceService'][_0x31e4f8(0x3a5)](_0x3eca57[_0x31e4f8(0x3fd)][_0x31e4f8(0x269)]),this[_0x31e4f8(0x339)][_0x31e4f8(0x3a5)](_0x3eca57['UniverInstanceType'][_0x31e4f8(0x28f)]))[_0x31e4f8(0x52b)](_0x199df4[_0x31e4f8(0x468)](this[_0x31e4f8(0x138)]))[_0x31e4f8(0x4da)](_0x1f0d44=>{const _0x1c8819=_0x31e4f8,_0x4551b4=_0x1f0d44[_0x1c8819(0x286)](),_0x21b5a3=this[_0x1c8819(0x299)][_0x1c8819(0x4af)](_0x4551b4);_0x21b5a3&&(_0x21b5a3['dispose'](),this[_0x1c8819(0x299)][_0x1c8819(0x531)](_0x4551b4));});}async[_0x3e84f8(0x46b)](_0x458013){const _0x4693c5=_0x3e84f8,_0x25314c=await this[_0x4693c5(0x4e8)][_0x4693c5(0x2ca)](_0x458013),_0x6954a0=this['_injector'][_0x4693c5(0x2b5)](_0x380593,_0x458013,_0x25314c);return _0x6954a0['init'](),_0x6954a0;}async[_0x3e84f8(0x3f4)](_0x3da3ac){const _0xefa6f2=_0x3e84f8,_0x25a922=await this[_0xefa6f2(0x4e8)]['requireSession'](_0x3da3ac),_0x108e3b=this[_0xefa6f2(0x249)]['createInstance'](_0x23da87,_0x3da3ac,_0x25a922);return _0x108e3b[_0xefa6f2(0x352)](),_0x108e3b;}};_0x1fb14c=_0x4183b1([_0x3eca57[_0x3e84f8(0x1ef)](_0x3eca57['LifecycleStages'][_0x3e84f8(0x4eb)],_0x1fb14c),_0x4732a7(0x0,_0x3eca57[_0x3e84f8(0x2b1)]),_0x4732a7(0x1,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x368)])),_0x4732a7(0x2,_0x3eca57['Inject'](_0x2509f1[_0x3e84f8(0x332)]))],_0x1fb14c);const _0x10a292=0x14,_0x23912b=0xc8,_0x4ed291=0x4,_0x330d3c=0x5;function _0x2b3881(_0x263081,_0x519a2c){const _0xcc9c92=_0x3e84f8;let {radius:_0x4b34b7,width:_0x220d6f,height:_0x21bb15}=_0x519a2c;_0x4b34b7=_0x4b34b7!=null?_0x4b34b7:0x0,_0x220d6f=_0x220d6f!=null?_0x220d6f:0x1e,_0x21bb15=_0x21bb15!=null?_0x21bb15:0x1e;let _0x365684=0x0,_0xf83037=0x0,_0x58ee8b=0x0;_0x365684=_0xf83037=_0x58ee8b=Math[_0xcc9c92(0x342)](_0x4b34b7,_0x220d6f/0x2,_0x21bb15/0x2),_0x263081[_0xcc9c92(0x545)](),_0x263081[_0xcc9c92(0x367)](_0x365684,0x0),_0x263081[_0xcc9c92(0x32f)](_0x220d6f-_0xf83037,0x0),_0x263081['arc'](_0x220d6f-_0xf83037,_0xf83037,_0xf83037,Math['PI']*0x3/0x2,0x0,!0x1),_0x263081['lineTo'](_0x220d6f,_0x21bb15-_0x58ee8b),_0x263081[_0xcc9c92(0x1b0)](_0x220d6f-_0x58ee8b,_0x21bb15-_0x58ee8b,_0x58ee8b,0x0,Math['PI']/0x2,!0x1),_0x263081['lineTo'](0x0,_0x21bb15),_0x263081['lineTo'](0x0,_0x365684),_0x263081[_0xcc9c92(0x1b0)](_0x365684,_0x365684,_0x365684,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x263081['closePath'](),_0x519a2c[_0xcc9c92(0x483)]&&(_0x263081[_0xcc9c92(0x351)](),_0x263081[_0xcc9c92(0x27c)]=_0x519a2c[_0xcc9c92(0x483)],_0x519a2c[_0xcc9c92(0x156)]==='evenodd'?_0x263081[_0xcc9c92(0x483)](_0xcc9c92(0x33b)):_0x263081[_0xcc9c92(0x483)](),_0x263081[_0xcc9c92(0x3b4)]());}class _0x11a31 extends _0x29e386[_0x3e84f8(0x4e2)]{constructor(_0x34bbc0,_0x2e0b93){const _0x4f9b9e=_0x3e84f8;super(_0x34bbc0,_0x2e0b93),_0x1de933(this,'color'),_0x1de933(this,_0x4f9b9e(0x4e7)),(this[_0x4f9b9e(0x4cb)]=_0x2e0b93==null?void 0x0:_0x2e0b93[_0x4f9b9e(0x4cb)],this[_0x4f9b9e(0x4e7)]=_0x2e0b93==null?void 0x0:_0x2e0b93[_0x4f9b9e(0x4e7)]);}static[_0x3e84f8(0x11f)](_0x3b0682,_0x39f670){const _0x3d6bd3=_0x3e84f8,{text:_0x30efed,color:_0x530630}=_0x39f670;_0x3b0682[_0x3d6bd3(0x351)](),_0x3b0682[_0x3d6bd3(0x517)]=_0x3d6bd3(0x370);const _0x586a02=_0x3b0682[_0x3d6bd3(0x448)](_0x30efed)[_0x3d6bd3(0x1b3)],_0x598223=Math['min'](_0x586a02+0x2*_0x4ed291,_0x23912b);_0x2b3881(_0x3b0682,{'height':_0x10a292,'radius':0x4,'width':_0x598223,'fill':_0x530630,'evented':!0x1}),_0x3b0682['fillStyle']=_0x3d6bd3(0x1e9);const _0x4cfa7d=_0x4ed291,_0x4de797=_0x10a292-_0x330d3c,_0x14745a=_0x23912b-0x2*_0x4ed291;if(_0x586a02>_0x14745a){let _0x34df3f='',_0x4dbd2b=0x0;for(const _0x5049d6 of _0x30efed){const _0x4753e5=_0x3b0682[_0x3d6bd3(0x448)](_0x5049d6)['width'];if(_0x4dbd2b+_0x4753e5<=_0x14745a-_0x3b0682[_0x3d6bd3(0x448)](_0x3d6bd3(0x2d1))[_0x3d6bd3(0x1b3)])_0x34df3f+=_0x5049d6,_0x4dbd2b+=_0x4753e5;else{_0x34df3f+=_0x3d6bd3(0x2d1);break;}}_0x3b0682['fillText'](_0x34df3f,_0x4cfa7d,_0x4de797);}else _0x3b0682['fillText'](_0x30efed,_0x4cfa7d,_0x4de797);_0x3b0682[_0x3d6bd3(0x3b4)]();}[_0x3e84f8(0x345)](_0x552c75){_0x11a31['drawWith'](_0x552c75,this);}}const _0x1a2191=0x1,_0x4f986a=1.5;class _0x677fb extends _0x29e386[_0x3e84f8(0x4e2)]{constructor(_0x477b67,_0x507a94){const _0xd328c=_0x3e84f8;super(_0x477b67,_0x507a94),_0x1de933(this,_0xd328c(0x338)),_0x1de933(this,_0xd328c(0x4cf),!0x1),_0x1de933(this,_0xd328c(0x2bb)),_0x1de933(this,'_name',''),_0x1de933(this,'_labelPosition',_0xd328c(0x146)),_0x1de933(this,'_backgroundColor'),(_0x507a94&&this[_0xd328c(0x35c)](_0x507a94),this[_0xd328c(0x31b)]['subscribeEvent'](()=>this[_0xd328c(0x35c)]({'hovered':!0x0})),this[_0xd328c(0x494)]['subscribeEvent'](()=>this[_0xd328c(0x35c)]({'hovered':!0x1})));}[_0x3e84f8(0x35c)](_0x39c56d){const _0x6dd665=_0x3e84f8;var _0x5d79ae,_0x24e926,_0x4b3d78,_0x283cd0,_0x5b143e,_0x32a14d;this[_0x6dd665(0x338)]=(_0x5d79ae=_0x39c56d[_0x6dd665(0x4cb)])!=null?_0x5d79ae:this['_color'],this[_0x6dd665(0x4cf)]=(_0x24e926=_0x39c56d[_0x6dd665(0x43a)])!=null?_0x24e926:this[_0x6dd665(0x4cf)],this[_0x6dd665(0x2bb)]=(_0x4b3d78=_0x39c56d[_0x6dd665(0x4cd)])!=null?_0x4b3d78:this[_0x6dd665(0x2bb)],this['_name']=(_0x283cd0=_0x39c56d[_0x6dd665(0x52a)])!=null?_0x283cd0:this[_0x6dd665(0x1ac)],this[_0x6dd665(0x43e)]=(_0x5b143e=_0x39c56d[_0x6dd665(0x327)])!=null?_0x5b143e:this[_0x6dd665(0x43e)],this[_0x6dd665(0x361)]=(_0x32a14d=_0x39c56d[_0x6dd665(0x21a)])!=null?_0x32a14d:this[_0x6dd665(0x361)],this[_0x6dd665(0x4b2)]({'width':_0x39c56d[_0x6dd665(0x1b3)],'height':_0x39c56d[_0x6dd665(0x534)]});}[_0x3e84f8(0x4f3)](_0x5ab1d4){const _0x4f465c=_0x3e84f8,{row:_0x549fa9,column:_0x1c3bd7}=_0x5ab1d4;if(_0x549fa9>=this[_0x4f465c(0x2bb)]['startRow']&&_0x549fa9<=this[_0x4f465c(0x2bb)]['endRow']&&_0x1c3bd7>=this[_0x4f465c(0x2bb)]['startColumn']&&_0x1c3bd7<=this['_range'][_0x4f465c(0x1f8)]){this[_0x4f465c(0x35c)]({'hovered':!0x0});return;}this[_0x4f465c(0x35c)]({'hovered':!0x1});}[_0x3e84f8(0x2fb)](_0x5e369c){return!0x1;}[_0x3e84f8(0x345)](_0x3e3737){const _0x3208b6=_0x3e84f8;_0x29e386[_0x3208b6(0x1e3)][_0x3208b6(0x11f)](_0x3e3737,{'width':this[_0x3208b6(0x1b3)],'height':this[_0x3208b6(0x534)],'strokeWidth':_0x4f986a,'stroke':this[_0x3208b6(0x338)],'evented':!0x1,'fill':this[_0x3208b6(0x361)]}),this['_hovered']&&(_0x3e3737[_0x3208b6(0x351)](),_0x3e3737[_0x3208b6(0x326)](0x1,0x0,0x0,0x1,this[_0x3208b6(0x1b3)],this[_0x3208b6(0x43e)]===_0x3208b6(0x1fe)?0x0:-_0x10a292),_0x11a31[_0x3208b6(0x11f)](_0x3e3737,{'text':this['_name'],'color':this[_0x3208b6(0x338)]}),_0x3e3737[_0x3208b6(0x3b4)]());}}var _0x4fd88a=Object[_0x3e84f8(0x243)],_0x1ad23b=Object['getOwnPropertyDescriptor'],_0x141e00=(_0x26d8b8,_0x3d8416,_0x962129,_0x5f1b13)=>{const _0x428c29=_0x3e84f8;for(var _0x1f6f64=_0x5f1b13>0x1?void 0x0:_0x5f1b13?_0x1ad23b(_0x3d8416,_0x962129):_0x3d8416,_0x4a107c=_0x26d8b8[_0x428c29(0x1a6)]-0x1,_0x1b703d;_0x4a107c>=0x0;_0x4a107c--)(_0x1b703d=_0x26d8b8[_0x4a107c])&&(_0x1f6f64=(_0x5f1b13?_0x1b703d(_0x3d8416,_0x962129,_0x1f6f64):_0x1b703d(_0x1f6f64))||_0x1f6f64);return _0x5f1b13&&_0x1f6f64&&_0x4fd88a(_0x3d8416,_0x962129,_0x1f6f64),_0x1f6f64;},_0x5a7e34=(_0x48150a,_0x591dce)=>(_0x24d710,_0x3f7f00)=>_0x591dce(_0x24d710,_0x3f7f00,_0x48150a);const _0x19043c=0x1389;let _0x4d9935=class extends _0x3eca57['RxDisposable']{constructor(_0x4b94b8,_0x2dc91f,_0x2fa9fa,_0x3d5b0b){const _0x39026c=_0x3e84f8;super(),_0x1de933(this,'_cursors',new Set()),_0x1de933(this,_0x39026c(0x196),null),(this[_0x39026c(0x37f)]=_0x4b94b8,this[_0x39026c(0x33c)]=_0x2dc91f,this[_0x39026c(0x407)]=_0x2fa9fa,this[_0x39026c(0x2b8)]=_0x3d5b0b,this[_0x39026c(0x176)]());}[_0x3e84f8(0x176)](){const _0x20154d=_0x3e84f8;this['_sheetSkeletonManagerService'][_0x20154d(0x19e)]['pipe'](_0x46f2f0[_0x20154d(0x468)](this['dispose$']),_0x46f2f0[_0x20154d(0x256)](_0x1282e7=>{const _0x20cf2c=_0x20154d;if(_0x1282e7){const _0x23f2e4=_0x1282e7[_0x20cf2c(0x425)];return _0x199df4['combineLatest'](this[_0x20cf2c(0x407)][_0x20cf2c(0x2fd)](this[_0x20cf2c(0x37f)]['unitId']),this[_0x20cf2c(0x2b8)][_0x20cf2c(0x122)])[_0x20cf2c(0x52b)](_0x46f2f0[_0x20cf2c(0x1ad)](([_0x2798bb,_0x5efcbd])=>{const _0x178f90=new Map();return _0x2798bb['forEach']((_0x30cd59,_0x16a550)=>{const _0x116da4=_0x3242;if(_0x30cd59[_0x116da4(0x124)]===_0x23f2e4){const _0xe1e121={..._0x30cd59};_0xe1e121['color']=_0x5efcbd[_0x30cd59[_0x116da4(0x4cb)]],_0x178f90[_0x116da4(0x1b8)](_0x16a550,_0xe1e121);}}),{'skeleton':_0x1282e7,'cursors':_0x178f90};}));}return _0x199df4['of']({'skeleton':null,'cursors':new Map()});}))[_0x20154d(0x4da)](({skeleton:_0x484956,cursors:_0x53a1b9})=>{const _0x25a8e9=_0x20154d;this[_0x25a8e9(0x3e6)](),_0x484956&&this[_0x25a8e9(0x18e)](_0x484956,_0x53a1b9);}),this[_0x20154d(0x33c)]['currentSkeleton$'][_0x20154d(0x4da)](_0x2f6e68=>{const _0xd389e6=_0x20154d;if(_0x2f6e68==null)return;const {skeleton:_0xee1654}=_0x2f6e68,{scene:_0x1ed8ff}=this[_0xd389e6(0x37f)];_0x1ed8ff[_0xd389e6(0x47c)][_0xd389e6(0x4d4)](_0x7f76a4(_0x5a762a=>{const _0x509102=_0xd389e6;var _0x34a246,_0x3c621b;const {offsetX:_0x48b596,offsetY:_0x54e42c}=_0x5a762a,{x:_0x5b9d61,y:_0x5a3980}=_0x1ed8ff[_0x509102(0x478)](_0x29e386['Vector2'][_0x509102(0x1e7)]([_0x48b596,_0x54e42c])),{scaleX:_0x5572f1,scaleY:_0x9cc6fb}=_0x1ed8ff[_0x509102(0x50c)](),_0x5c571f=_0x1ed8ff[_0x509102(0x3ca)](_0x346aeb[_0x509102(0x16b)][_0x509102(0x502)]),_0x5e2e99=_0x1ed8ff['getVpScrollXYInfoByPosToVp'](_0x29e386['Vector2'][_0x509102(0x1e7)]([_0x5b9d61,_0x5a3980]),_0x5c571f),_0x4315c6=_0xee1654['getCellPositionByOffset'](_0x48b596,_0x54e42c,_0x5572f1,_0x9cc6fb,_0x5e2e99);((_0x34a246=this['_lastPointer'])==null?void 0x0:_0x34a246[_0x509102(0x3b3)])===_0x4315c6[_0x509102(0x3b3)]&&((_0x3c621b=this[_0x509102(0x196)])==null?void 0x0:_0x3c621b[_0x509102(0x4fb)])===_0x4315c6[_0x509102(0x4fb)]||this[_0x509102(0x4ef)][_0x509102(0x306)](_0x43f38e=>{const _0x518dcc=_0x509102;_0x43f38e[_0x518dcc(0x4f3)](_0x4315c6);});},0x64));});}[_0x3e84f8(0x18e)](_0x59f0fe,_0x1fc848){const _0x52e17e=_0x3e84f8;var _0x3e9ebd;const _0x3c68ea=(_0x3e9ebd=this[_0x52e17e(0x33c)][_0x52e17e(0x33a)]())==null?void 0x0:_0x3e9ebd[_0x52e17e(0x140)];if(!_0x3c68ea)return;const _0x5aa1b3=this[_0x52e17e(0x1f5)]();if(!_0x5aa1b3)return;this[_0x52e17e(0x4ef)][_0x52e17e(0x306)](_0x395b44=>{const _0x2b53ee=_0x52e17e;_0x395b44[_0x2b53ee(0x205)]();});const {scene:_0x21b6f0}=_0x5aa1b3,_0x143704=_0x4c1950(Array[_0x52e17e(0x41e)](_0x1fc848[_0x52e17e(0x3a2)]()))[_0x52e17e(0x1ad)](_0x2dc0a7=>{const _0x36b8fa=_0x52e17e,{color:_0x45f80f,range:_0x5eb2f6,name:_0x191fd9,selection:_0x37fdca,sheetID:_0x378fc8}=_0x2dc0a7,{startColumn:_0x129846,startRow:_0x4ff87a,endColumn:_0x16b920,endRow:_0x43f370}=_0x5eb2f6,_0x5cef7d=_0x346aeb['getCoordByCell'](_0x4ff87a,_0x129846,_0x21b6f0,_0x3c68ea),_0x52b984=_0x346aeb[_0x36b8fa(0x13e)](_0x43f370,_0x16b920,_0x21b6f0,_0x3c68ea),{columnHeaderHeightAndMarginTop:_0x50fc5f}=_0x3c68ea,{startX:_0x4d8cb0,startY:_0xcf4424}=_0x5cef7d,{endX:_0x393d5f,endY:_0x5739a9}=_0x52b984,_0x4709f7=_0x393d5f-_0x4d8cb0,_0x386c7f=_0x5739a9-_0xcf4424,_0x193cd9={'labelPosition':_0xcf4424-_0x50fc5f>=_0x10a292?_0x36b8fa(0x146):_0x36b8fa(0x1fe),'sheetID':_0x378fc8,'range':_0x5eb2f6,'color':_0x45f80f,'name':_0x191fd9,'selection':_0x37fdca,'left':_0x4d8cb0,'top':_0xcf4424,'width':_0x4709f7,'height':_0x386c7f,'evented':!0x1,'zIndex':_0x19043c};return new _0x677fb(_0x191fd9,_0x193cd9);});_0x21b6f0[_0x52e17e(0x492)](_0x143704,_0x1a2191),this[_0x52e17e(0x4ef)]=new Set(_0x143704);}[_0x3e84f8(0x3e6)](){const _0xe0b5c=_0x3e84f8;var _0x2db0cc;(_0x2db0cc=this[_0xe0b5c(0x4ef)])==null||_0x2db0cc[_0xe0b5c(0x306)](_0x2b5be9=>_0x2b5be9[_0xe0b5c(0x231)]());}[_0x3e84f8(0x1f5)](){const _0x274c93=_0x3e84f8;return _0x346aeb['getSheetObject'](this['_context'][_0x274c93(0x3ae)],this[_0x274c93(0x37f)]);}};_0x4d9935=_0x141e00([_0x5a7e34(0x1,_0x3eca57[_0x3e84f8(0x13c)](_0x346aeb[_0x3e84f8(0x4ee)])),_0x5a7e34(0x2,_0x3eca57[_0x3e84f8(0x13c)](_0x1fb14c)),_0x5a7e34(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x1a5)]))],_0x4d9935);function _0x4c1950(_0x2eb7f4){const _0x4149d9=_0x3e84f8,_0x1e8221=new Map();return _0x2eb7f4[_0x4149d9(0x306)](_0x548f23=>{const _0x3e01a1=_0x4149d9;if(_0x1e8221[_0x3e01a1(0x2a7)](_0x548f23[_0x3e01a1(0x13a)])){const _0x5d3985=_0x1e8221[_0x3e01a1(0x4af)](_0x548f23[_0x3e01a1(0x13a)]);_0x5d3985[_0x3e01a1(0x52a)]+=',\x20'+_0x548f23[_0x3e01a1(0x52a)];}else _0x1e8221['set'](_0x548f23['selection'],_0x548f23);}),Array['from'](_0x1e8221[_0x4149d9(0x3a2)]());}var _0x1bcb4a=function(){const _0xa8173e=_0x3e84f8;return _0x1bcb4a=Object['assign']||function(_0x5d00be){const _0x42639f=_0x3242;for(var _0x2cd8d8,_0x3fbe73=0x1,_0x5de969=arguments[_0x42639f(0x1a6)];_0x3fbe73<_0x5de969;_0x3fbe73++){_0x2cd8d8=arguments[_0x3fbe73];for(var _0x258d00 in _0x2cd8d8)Object['prototype'][_0x42639f(0x39b)][_0x42639f(0x48c)](_0x2cd8d8,_0x258d00)&&(_0x5d00be[_0x258d00]=_0x2cd8d8[_0x258d00]);}return _0x5d00be;},_0x1bcb4a[_0xa8173e(0x440)](this,arguments);},_0x496380=function(_0x7abeb2,_0x31a919){const _0x118b13=_0x3e84f8;var _0x446f63={};for(var _0x553082 in _0x7abeb2)Object[_0x118b13(0x272)][_0x118b13(0x39b)]['call'](_0x7abeb2,_0x553082)&&_0x31a919[_0x118b13(0x16d)](_0x553082)<0x0&&(_0x446f63[_0x553082]=_0x7abeb2[_0x553082]);if(_0x7abeb2!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x2463c9=0x0,_0x553082=Object[_0x118b13(0x115)](_0x7abeb2);_0x2463c9<_0x553082[_0x118b13(0x1a6)];_0x2463c9++)_0x31a919[_0x118b13(0x16d)](_0x553082[_0x2463c9])<0x0&&Object[_0x118b13(0x272)]['propertyIsEnumerable'][_0x118b13(0x48c)](_0x7abeb2,_0x553082[_0x2463c9])&&(_0x446f63[_0x553082[_0x2463c9]]=_0x7abeb2[_0x553082[_0x2463c9]]);}return _0x446f63;},_0x4e5e5b=_0x2b3f02['forwardRef'](function(_0x24e5d6,_0x10d0a8){const _0x168d0a=_0x3e84f8;var _0x469c54=_0x24e5d6[_0x168d0a(0x2f8)],_0x1e506b=_0x24e5d6['id'],_0x314697=_0x24e5d6['className'],_0x2df842=_0x24e5d6[_0x168d0a(0x358)],_0x1da037=_0x496380(_0x24e5d6,[_0x168d0a(0x2f8),'id',_0x168d0a(0x24b),_0x168d0a(0x358)]),_0x44a803=_0x168d0a(0x411)[_0x168d0a(0x360)](_0x1e506b,'\x20')[_0x168d0a(0x360)](_0x314697||'')[_0x168d0a(0x4d7)](),_0x7c4b4e=_0x2b3f02[_0x168d0a(0x137)]('_'[_0x168d0a(0x360)](_0x457770()));return _0x44e28b(_0x469c54,''[_0x168d0a(0x360)](_0x1e506b),{'defIds':_0x469c54[_0x168d0a(0x191)],'idSuffix':_0x7c4b4e[_0x168d0a(0x501)]},_0x1bcb4a({'ref':_0x10d0a8,'className':_0x44a803},_0x1da037),_0x2df842);});function _0x44e28b(_0x55af5e,_0x2b47ae,_0x5adc09,_0x4201ba,_0x502ea2){const _0x129eed=_0x3e84f8;return _0x2b3f02[_0x129eed(0x14b)](_0x55af5e[_0x129eed(0x36c)],_0x1bcb4a(_0x1bcb4a({'key':_0x2b47ae},_0x5ab4e1(_0x55af5e,_0x5adc09,_0x502ea2)),_0x4201ba),(_0x52a72d(_0x55af5e,_0x5adc09)['children']||[])[_0x129eed(0x1ad)](function(_0x446654,_0x197ca2){const _0x2b5932=_0x129eed;return _0x44e28b(_0x446654,''['concat'](_0x2b47ae,'-')[_0x2b5932(0x360)](_0x55af5e[_0x2b5932(0x36c)],'-')['concat'](_0x197ca2),_0x5adc09,void 0x0,_0x502ea2);}));}function _0x5ab4e1(_0x6bceda,_0xf46b01,_0x3d8d0f){const _0x303117=_0x3e84f8;var _0x1ee3a7=_0x1bcb4a({},_0x6bceda[_0x303117(0x2fc)]);_0x3d8d0f!=null&&_0x3d8d0f[_0x303117(0x219)]&&_0x1ee3a7[_0x303117(0x483)]===_0x303117(0x219)&&(_0x1ee3a7[_0x303117(0x483)]=_0x3d8d0f[_0x303117(0x219)]);var _0x46eddb=_0xf46b01['defIds'];return!_0x46eddb||_0x46eddb[_0x303117(0x1a6)]===0x0||(_0x6bceda['tag']==='use'&&_0x1ee3a7[_0x303117(0x237)]&&(_0x1ee3a7[_0x303117(0x237)]=_0x1ee3a7['xlink:href']+_0xf46b01[_0x303117(0x18d)]),Object['entries'](_0x1ee3a7)[_0x303117(0x306)](function(_0x3eb263){var _0x476b6a=_0x3eb263[0x0],_0x541faa=_0x3eb263[0x1];typeof _0x541faa=='string'&&(_0x1ee3a7[_0x476b6a]=_0x541faa['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0xf46b01['idSuffix'],')')));})),_0x1ee3a7;}function _0x52a72d(_0x49491d,_0x58c469){const _0x2d9452=_0x3e84f8;var _0x339227,_0x51509c=_0x58c469[_0x2d9452(0x191)];return!_0x51509c||_0x51509c[_0x2d9452(0x1a6)]===0x0?_0x49491d:_0x49491d['tag']==='defs'&&(!((_0x339227=_0x49491d[_0x2d9452(0x1b7)])===null||_0x339227===void 0x0)&&_0x339227[_0x2d9452(0x1a6)])?_0x1bcb4a(_0x1bcb4a({},_0x49491d),{'children':_0x49491d[_0x2d9452(0x1b7)][_0x2d9452(0x1ad)](function(_0x4d8a2b){const _0xc9f6f=_0x2d9452;return typeof _0x4d8a2b[_0xc9f6f(0x2fc)]['id']==_0xc9f6f(0x463)&&_0x51509c&&_0x51509c[_0xc9f6f(0x16d)](_0x4d8a2b[_0xc9f6f(0x2fc)]['id'])>-0x1?_0x1bcb4a(_0x1bcb4a({},_0x4d8a2b),{'attrs':_0x1bcb4a(_0x1bcb4a({},_0x4d8a2b[_0xc9f6f(0x2fc)]),{'id':_0x4d8a2b[_0xc9f6f(0x2fc)]['id']+_0x58c469[_0xc9f6f(0x18d)]})}):_0x4d8a2b;})}):_0x49491d;}function _0x457770(){const _0x9f37d2=_0x3e84f8;return Math[_0x9f37d2(0x2ab)]()[_0x9f37d2(0x151)](0x24)[_0x9f37d2(0x3db)](0x2,0x8);}_0x4e5e5b[_0x3e84f8(0x524)]=_0x3e84f8(0x2c2);var _0x27e7f8={'tag':_0x3e84f8(0x1bb),'attrs':{'fill':'none','viewBox':_0x3e84f8(0x2cf),'width':_0x3e84f8(0x29d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3e84f8(0x390)},'children':[{'tag':_0x3e84f8(0x290),'attrs':{'stroke':_0x3e84f8(0x304),'d':_0x3e84f8(0x132),'strokeLinecap':_0x3e84f8(0x311),'strokeLinejoin':_0x3e84f8(0x311),'strokeWidth':1.2}}]},{'tag':_0x3e84f8(0x242),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x3e84f8(0x290),'attrs':{'fill':_0x3e84f8(0x11e),'d':_0x3e84f8(0x19c)}}]}]}],'defIds':[_0x3e84f8(0x2dc)]},_0x5dd05b=_0x2b3f02[_0x3e84f8(0x278)](function(_0xd9b66b,_0x138308){const _0x14b3c4=_0x3e84f8;return _0x2b3f02['createElement'](_0x4e5e5b,Object[_0x14b3c4(0x4ca)]({},_0xd9b66b,{'id':_0x14b3c4(0x40e),'ref':_0x138308,'icon':_0x27e7f8}));});_0x5dd05b['displayName']=_0x3e84f8(0x24f);var _0x59a786={'tag':_0x3e84f8(0x1bb),'attrs':{'fill':_0x3e84f8(0x31c),'viewBox':_0x3e84f8(0x47b),'width':_0x3e84f8(0x29d),'height':_0x3e84f8(0x29d)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e84f8(0x25b)},'children':[{'tag':_0x3e84f8(0x290),'attrs':{'stroke':_0x3e84f8(0x304),'d':_0x3e84f8(0x393),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3e84f8(0x242),'attrs':{},'children':[{'tag':_0x3e84f8(0x51e),'attrs':{'id':_0x3e84f8(0x4dc)},'children':[{'tag':_0x3e84f8(0x290),'attrs':{'fill':_0x3e84f8(0x11e),'d':_0x3e84f8(0x19c),'transform':_0x3e84f8(0x208)}}]}]}],'defIds':[_0x3e84f8(0x4dc)]},_0x423869=_0x2b3f02[_0x3e84f8(0x278)](function(_0x26f900,_0x1c6db5){const _0x3d210d=_0x3e84f8;return _0x2b3f02['createElement'](_0x4e5e5b,Object[_0x3d210d(0x4ca)]({},_0x26f900,{'id':_0x3d210d(0x1e0),'ref':_0x1c6db5,'icon':_0x59a786}));});_0x423869[_0x3e84f8(0x524)]='OnLineSingle';const _0x369528={'onlineStatusIcon':_0x3e84f8(0x464),'onlineStatusTitle':_0x3e84f8(0x147),'onlineStatus':_0x3e84f8(0x454),'online':_0x3e84f8(0x2a2),'offline':_0x3e84f8(0x451)};function _0x2a1322(_0x20cef1){const _0x50a4ae=_0x3e84f8;switch(_0x20cef1){case _0x4bd68c[_0x50a4ae(0x535)]:return _0x50a4ae(0x509);case _0x4bd68c['CONFLICT']:return _0x50a4ae(0x350);case _0x4bd68c[_0x50a4ae(0x384)]:return _0x50a4ae(0x39d);case _0x4bd68c[_0x50a4ae(0x3c6)]:return _0x50a4ae(0x412);case _0x4bd68c[_0x50a4ae(0x1ab)]:case _0x4bd68c[_0x50a4ae(0x1a3)]:case _0x4bd68c[_0x50a4ae(0x2ed)]:return _0x50a4ae(0x258);case _0x4bd68c[_0x50a4ae(0x2f9)]:return _0x50a4ae(0x212);}}function _0x352a6e(_0x209098){const _0x562e95=_0x3e84f8,{status$:_0x2cfb8c}=_0x209098,_0xbfce78=_0x2ede89[_0x562e95(0x28d)](_0x2cfb8c,_0x4bd68c[_0x562e95(0x3c6)]),_0x18a696=_0x3eca57[_0x562e95(0x44a)](_0x3eca57[_0x562e95(0x477)]),_0x34f4b1=_0x3eca57[_0x562e95(0x44a)](_0x2509f1[_0x562e95(0x332)]),_0x575339=_0xbfce78!==_0x4bd68c[_0x562e95(0x535)],_0x365044=_0x18a696['t'](_0x2a1322(_0xbfce78)),_0xbc7ac6=_0x4b450e(_0x369528[_0x562e95(0x343)],{[_0x369528[_0x562e95(0x314)]]:_0x575339,[_0x369528[_0x562e95(0x127)]]:!_0x575339}),_0x596a7d=_0x575339?_0x2b3f02[_0x562e95(0x14b)](_0x423869,null):_0x2b3f02['createElement'](_0x5dd05b,null),_0x2dd308=_0x2b3f02[_0x562e95(0x498)](()=>{const _0x3aa60b=_0x562e95;_0x575339||_0x34f4b1[_0x3aa60b(0x3f2)]();},[_0x575339,_0x34f4b1]);function _0x48227a(){const _0x156c10=_0x562e95;return _0x2b3f02['createElement']('div',{'className':_0xbc7ac6,'onClick':_0x2dd308},_0x2b3f02['createElement'](_0x156c10(0x295),{'className':_0x369528[_0x156c10(0x2e6)]},_0x596a7d),_0x2b3f02['createElement'](_0x156c10(0x295),{'className':_0x369528[_0x156c10(0x467)]},_0x365044));}return _0x575339?_0x48227a():_0x2b3f02[_0x562e95(0x14b)](_0xf694dc[_0x562e95(0x2d8)],{'title':_0x18a696['t'](_0x562e95(0x280))},_0x48227a());}var _0x5f1ec7=Object[_0x3e84f8(0x243)],_0x294e71=Object[_0x3e84f8(0x439)],_0x3302a2=(_0xe003d8,_0x5eefc9,_0x24745b,_0x20ea36)=>{const _0x261daa=_0x3e84f8;for(var _0x220d07=_0x20ea36>0x1?void 0x0:_0x20ea36?_0x294e71(_0x5eefc9,_0x24745b):_0x5eefc9,_0x2d82d1=_0xe003d8[_0x261daa(0x1a6)]-0x1,_0xbeb73e;_0x2d82d1>=0x0;_0x2d82d1--)(_0xbeb73e=_0xe003d8[_0x2d82d1])&&(_0x220d07=(_0x20ea36?_0xbeb73e(_0x5eefc9,_0x24745b,_0x220d07):_0xbeb73e(_0x220d07))||_0x220d07);return _0x20ea36&&_0x220d07&&_0x5f1ec7(_0x5eefc9,_0x24745b,_0x220d07),_0x220d07;},_0x25fec0=(_0x578ed4,_0x4e0747)=>(_0x590ec8,_0x5c0291)=>_0x4e0747(_0x590ec8,_0x5c0291,_0x578ed4);_0x2509f1[_0x3e84f8(0x300)]=class extends _0x3eca57[_0x3e84f8(0x2a6)]{constructor(_0x689103,_0x27e74b,_0x3b37a2,_0x25dc4d){const _0x49da18=_0x3e84f8;super(),_0x1de933(this,_0x49da18(0x3ff),new _0x199df4[(_0x49da18(0x244))](_0x4bd68c[_0x49da18(0x3c6)])),(this[_0x49da18(0x339)]=_0x689103,this[_0x49da18(0x260)]=_0x27e74b,this['_injector']=_0x3b37a2,this[_0x49da18(0x238)]=_0x25dc4d,this[_0x49da18(0x2af)](),this[_0x49da18(0x401)]());}[_0x3e84f8(0x401)](){const _0x347334=_0x3e84f8;this[_0x347334(0x4ed)](this[_0x347334(0x339)][_0x347334(0x131)]['pipe'](_0x199df4[_0x347334(0x256)](()=>{const _0x4316d4=_0x347334,_0x978408=this[_0x4316d4(0x339)]['getFocusedUnit']();return _0x978408?this[_0x4316d4(0x238)][_0x4316d4(0x26f)](_0x978408[_0x4316d4(0x286)]()):_0x199df4['of'](null);}),_0x199df4[_0x347334(0x256)](_0x551b63=>_0x551b63?_0x551b63[_0x347334(0x225)]:_0x199df4['of'](_0x4bd68c[_0x347334(0x3c6)])))[_0x347334(0x4da)](_0x2a2066=>{const _0x5e8d97=_0x347334;this[_0x5e8d97(0x3ff)][_0x5e8d97(0x2d2)](_0x2a2066);}));}[_0x3e84f8(0x2af)](){const _0x1ef437=_0x3e84f8;this[_0x1ef437(0x4ed)](this[_0x1ef437(0x260)]['registerComponent'](_0x2ede89['BuiltInUIPart'][_0x1ef437(0x1d7)],()=>_0x3eca57[_0x1ef437(0x470)](_0x23e810({'status$':this['_status$'][_0x1ef437(0x183)]()}),this[_0x1ef437(0x249)])));}},_0x2509f1[_0x3e84f8(0x300)]=_0x3302a2([_0x25fec0(0x0,_0x3eca57[_0x3e84f8(0x2b1)]),_0x25fec0(0x1,_0x2ede89[_0x3e84f8(0x168)]),_0x25fec0(0x2,_0x3eca57['Inject'](_0x3eca57['Injector'])),_0x25fec0(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x171)]))],_0x2509f1[_0x3e84f8(0x300)]);function _0x23e810(_0x4a57d5){const {status$:_0x5e805d}=_0x4a57d5;return function(){const _0x59fde8=_0x3242;return _0x2b3f02[_0x59fde8(0x14b)](_0x352a6e,{'status$':_0x5e805d});};}const _0xd144bd=_0x3eca57['createIdentifier'](_0x3e84f8(0x235));var _0x14d98d=Object[_0x3e84f8(0x243)],_0x235553=Object[_0x3e84f8(0x439)],_0x4e0f5a=(_0x3d9f63,_0x2b7534,_0xf6cb93,_0x44d2e6)=>{const _0x5b6995=_0x3e84f8;for(var _0x46a45a=_0x44d2e6>0x1?void 0x0:_0x44d2e6?_0x235553(_0x2b7534,_0xf6cb93):_0x2b7534,_0x14c047=_0x3d9f63[_0x5b6995(0x1a6)]-0x1,_0x3ea887;_0x14c047>=0x0;_0x14c047--)(_0x3ea887=_0x3d9f63[_0x14c047])&&(_0x46a45a=(_0x44d2e6?_0x3ea887(_0x2b7534,_0xf6cb93,_0x46a45a):_0x3ea887(_0x46a45a))||_0x46a45a);return _0x44d2e6&&_0x46a45a&&_0x14d98d(_0x2b7534,_0xf6cb93,_0x46a45a),_0x46a45a;},_0x359087=(_0x31b04c,_0x200e75)=>(_0xf6d122,_0x2915fb)=>_0x200e75(_0xf6d122,_0x2915fb,_0x31b04c);_0x2509f1[_0x3e84f8(0x4bf)]=class extends _0x3eca57[_0x3e84f8(0x37a)]{constructor(_0x3bc42e,_0x2a2198,_0x18577f,_0x437b5d,_0x42f2d0,_0x579867){const _0x37bf19=_0x3e84f8;super(),this['_urlService']=_0x3bc42e,this['_logService']=_0x2a2198,this['_commandService']=_0x18577f,this[_0x37bf19(0x442)]=_0x437b5d,this['_snapshotService']=_0x42f2d0,_0x579867?_0x579867==null||_0x579867['whenReady']()[_0x37bf19(0x504)](()=>this[_0x37bf19(0x176)]()):(this[_0x37bf19(0x31d)][_0x37bf19(0x3d9)](_0x37bf19(0x12b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x37bf19(0x176)]());}async[_0x3e84f8(0x176)](){const _0x1324c2=_0x3e84f8,_0x212714=this[_0x1324c2(0x4a4)][_0x1324c2(0x34d)]('unit'),_0x2b7836=this[_0x1324c2(0x4a4)][_0x1324c2(0x34d)]('type');if(!_0x212714||!_0x2b7836){this[_0x1324c2(0x31d)][_0x1324c2(0x3d9)](_0x1324c2(0x12b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x2b7836)){case _0x588a36[_0x1324c2(0x28f)]:{const _0x5543d8=await this[_0x1324c2(0x142)](_0x212714);this['_setupSubUnitSync'](_0x5543d8);break;}case _0x588a36[_0x1324c2(0x269)]:{await this['_loadDoc'](_0x212714);break;}default:{this[_0x1324c2(0x31d)][_0x1324c2(0x543)](_0x1324c2(0x12b),_0x1324c2(0x187));break;}}}async['_setupSubUnitSync'](_0x2d82a5){const _0x435476=_0x3e84f8;await this[_0x435476(0x49a)](_0x2d82a5),_0x2d82a5[_0x435476(0x2e5)][_0x435476(0x52b)](_0x199df4['takeUntil'](this['dispose$']))[_0x435476(0x4da)](_0x511829=>{_0x511829&&this['_updateURLWithCurrentState'](_0x511829);}),this[_0x435476(0x4a4)][_0x435476(0x3fc)][_0x435476(0x52b)](_0x199df4['takeUntil'](this[_0x435476(0x138)]))[_0x435476(0x4da)](()=>this[_0x435476(0x49a)](_0x2d82a5));}['_updateURLWithCurrentState'](_0x15bcc3,_0x1cec05=!0x1){const _0x5f81ec=_0x3e84f8,_0x43ec8a=this[_0x5f81ec(0x4a4)]['getParam'](_0x5f81ec(0x161));_0x15bcc3['getSheetId']()!==_0x43ec8a&&this['_urlService']['setParam'](_0x5f81ec(0x161),_0x15bcc3[_0x5f81ec(0x302)](),_0x1cec05);}async[_0x3e84f8(0x49a)](_0x5029d8){const _0x4bdbe1=_0x3e84f8;var _0x390e01;const _0x2dd88e=this[_0x4bdbe1(0x4a4)][_0x4bdbe1(0x34d)](_0x4bdbe1(0x161));if(!_0x2dd88e||!_0x5029d8[_0x4bdbe1(0x37e)](_0x2dd88e)){const _0x5607a4=_0x5029d8[_0x4bdbe1(0x2a3)]()[0x0],_0x26d3e9=_0x5029d8[_0x4bdbe1(0x37e)](_0x5607a4);if(!_0x26d3e9)return;this[_0x4bdbe1(0x2eb)](_0x26d3e9,!0x0),await this[_0x4bdbe1(0x30a)]['executeCommand'](_0x9f218b['SetWorksheetActivateCommand']['id'],{'unitId':_0x5029d8['getUnitId'](),'subUnitId':_0x5607a4});return;}((_0x390e01=_0x5029d8[_0x4bdbe1(0x4a9)]())==null?void 0x0:_0x390e01[_0x4bdbe1(0x302)]())!==_0x2dd88e&&await this[_0x4bdbe1(0x30a)][_0x4bdbe1(0x17c)](_0x9f218b[_0x4bdbe1(0x3bc)]['id'],{'unitId':_0x5029d8[_0x4bdbe1(0x286)](),'subUnitId':_0x2dd88e});}async[_0x3e84f8(0x142)](_0x31a4a0){const _0x75f70e=_0x3e84f8;let _0x3cce6e=0x0;const _0x36e174=await this[_0x75f70e(0x442)]['loadOfflineData'](_0x31a4a0);return _0x36e174&&(_0x36e174[_0x75f70e(0x4f5)]||_0x36e174[_0x75f70e(0x313)][_0x75f70e(0x1a6)]!==0x0)&&(_0x3cce6e=_0x36e174[_0x75f70e(0x3d6)]),_0x3cce6e===0x0&&this[_0x75f70e(0x31d)][_0x75f70e(0x3d9)](_0x75f70e(0x12b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadSheet'](_0x31a4a0,_0x3cce6e);}async[_0x3e84f8(0x455)](_0x4af6e5){const _0x266866=_0x3e84f8;let _0x1c4f7f=0x0;const _0x4db6c7=await this[_0x266866(0x442)][_0x266866(0x1d5)](_0x4af6e5);return _0x4db6c7&&(_0x4db6c7['awaitingChangeset']||_0x4db6c7[_0x266866(0x313)]['length']!==0x0)&&(_0x1c4f7f=_0x4db6c7[_0x266866(0x3d6)]),_0x1c4f7f===0x0&&this[_0x266866(0x31d)][_0x266866(0x3d9)]('[DataLoaderController]',_0x266866(0x38d)),this[_0x266866(0x4a2)][_0x266866(0x214)](_0x4af6e5,_0x1c4f7f);}},_0x2509f1[_0x3e84f8(0x4bf)]=_0x4e0f5a([_0x3eca57['OnLifecycle'](_0x3eca57[_0x3e84f8(0x377)][_0x3e84f8(0x4eb)],_0x2509f1[_0x3e84f8(0x4bf)]),_0x359087(0x0,_0xd144bd),_0x359087(0x1,_0x3eca57[_0x3e84f8(0x391)]),_0x359087(0x2,_0x3eca57['ICommandService']),_0x359087(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1[_0x3e84f8(0x373)])),_0x359087(0x4,_0x3eca57[_0x3e84f8(0x13c)](_0x1474a0[_0x3e84f8(0x2d5)])),_0x359087(0x5,_0x3eca57[_0x3e84f8(0x3f3)](_0x2b3044[_0x3e84f8(0x49b)]))],_0x2509f1[_0x3e84f8(0x4bf)]);var _0x374249=Object['defineProperty'],_0x368361=Object[_0x3e84f8(0x439)],_0x38207f=(_0x1891c5,_0x4ee11b,_0x2bfe93,_0x4caab9)=>{const _0x5b3850=_0x3e84f8;for(var _0x3676ee=_0x4caab9>0x1?void 0x0:_0x4caab9?_0x368361(_0x4ee11b,_0x2bfe93):_0x4ee11b,_0x3b18ca=_0x1891c5[_0x5b3850(0x1a6)]-0x1,_0x4325d7;_0x3b18ca>=0x0;_0x3b18ca--)(_0x4325d7=_0x1891c5[_0x3b18ca])&&(_0x3676ee=(_0x4caab9?_0x4325d7(_0x4ee11b,_0x2bfe93,_0x3676ee):_0x4325d7(_0x3676ee))||_0x3676ee);return _0x4caab9&&_0x3676ee&&_0x374249(_0x4ee11b,_0x2bfe93,_0x3676ee),_0x3676ee;},_0x33d75f=(_0x12572f,_0x71fbc)=>(_0x10a6c5,_0x310664)=>_0x71fbc(_0x10a6c5,_0x310664,_0x12572f);const _0x141b2d=_0x3e84f8(0x49d),_0x45dee9=_0x3e84f8(0x234);let _0x495f33=class extends _0x3eca57['Disposable']{constructor(_0x1a2b52,_0x5e6e5b){const _0x17f95c=_0x3e84f8;super(),this[_0x17f95c(0x339)]=_0x1a2b52,this['_configService']=_0x5e6e5b,this['_init']();}['_init'](){const _0x16dc9e=_0x3e84f8;this['disposeWithMe'](_0x3eca57[_0x16dc9e(0x340)](this[_0x16dc9e(0x339)]['focused$'][_0x16dc9e(0x4da)](()=>{const _0x11d25e=_0x16dc9e;var _0x1a5357;const _0x1db00d=this[_0x11d25e(0x339)][_0x11d25e(0x298)]();let _0x457433=(_0x1a5357=this[_0x11d25e(0x466)][_0x11d25e(0x22e)](_0x141b2d))!=null?_0x1a5357:_0x45dee9;_0x1db00d instanceof _0x3eca57[_0x11d25e(0x1a9)]&&(_0x457433=_0x1db00d[_0x11d25e(0x52a)]),document[_0x11d25e(0x3bb)]=_0x457433;})));}};_0x495f33=_0x38207f([_0x3eca57[_0x3e84f8(0x1ef)](_0x3eca57[_0x3e84f8(0x377)][_0x3e84f8(0x2ea)],_0x495f33),_0x33d75f(0x0,_0x3eca57[_0x3e84f8(0x2b1)]),_0x33d75f(0x1,_0x3eca57['IConfigService'])],_0x495f33);var _0x108153=Object[_0x3e84f8(0x243)],_0x2b7e46=Object[_0x3e84f8(0x439)],_0x213777=(_0x14aa0b,_0x22bbdc,_0x5af95c,_0xea1db)=>{const _0x30d0e4=_0x3e84f8;for(var _0x24e741=_0xea1db>0x1?void 0x0:_0xea1db?_0x2b7e46(_0x22bbdc,_0x5af95c):_0x22bbdc,_0x4f0d81=_0x14aa0b[_0x30d0e4(0x1a6)]-0x1,_0xb16eac;_0x4f0d81>=0x0;_0x4f0d81--)(_0xb16eac=_0x14aa0b[_0x4f0d81])&&(_0x24e741=(_0xea1db?_0xb16eac(_0x22bbdc,_0x5af95c,_0x24e741):_0xb16eac(_0x24e741))||_0x24e741);return _0xea1db&&_0x24e741&&_0x108153(_0x22bbdc,_0x5af95c,_0x24e741),_0x24e741;},_0x19126c=(_0x48c7d5,_0x41700a)=>(_0x4ddedc,_0x5e9fe7)=>_0x41700a(_0x4ddedc,_0x5e9fe7,_0x48c7d5);_0x2509f1[_0x3e84f8(0x1a7)]=class{constructor(_0xdedb7e,_0x44a2d8){const _0x476910=_0x3e84f8;this[_0x476910(0x466)]=_0xdedb7e,this['_httpService']=_0x44a2d8;}async[_0x3e84f8(0x20a)](_0x3b9343,_0x558168){const _0x2d479a=_0x3e84f8;var _0x5cdaba;const {unitID:_0x3882af,type:_0x2f06a5,revision:_0x21bd6d=0x0}=_0x558168,_0x407c0d=this[_0x2d479a(0x1db)]()+'/'+_0x2f06a5+_0x2d479a(0x29c)+_0x3882af+_0x2d479a(0x226)+_0x21bd6d,_0x17a88a=(await this[_0x2d479a(0x129)][_0x2d479a(0x4af)](_0x407c0d))[_0x2d479a(0x505)],_0x565c9d=(_0x5cdaba=_0x17a88a[_0x2d479a(0x27d)])==null?void 0x0:_0x5cdaba['workbook'];if(_0x565c9d){const _0x34b7a7=_0x565c9d==null?void 0x0:_0x565c9d['originalMeta'],_0x497a2d=_0x1474a0[_0x2d479a(0x49f)]['encode'](_0x1474a0[_0x2d479a(0x443)](_0x34b7a7));_0x565c9d[_0x2d479a(0x37b)]=_0x497a2d,Object[_0x2d479a(0x2da)](_0x565c9d[_0x2d479a(0x294)])['forEach'](([,_0x22109b])=>{const _0x3584a7=_0x2d479a,_0x579263=_0x22109b['originalMeta'],_0x56f76a=_0x1474a0[_0x3584a7(0x49f)][_0x3584a7(0x450)](_0x1474a0[_0x3584a7(0x443)](_0x579263));_0x22109b[_0x3584a7(0x37b)]=_0x56f76a;});}return _0x17a88a;}async[_0x3e84f8(0x236)](_0x37b687,_0x1c7e7b){const _0x287278=_0x3e84f8,{unitID:_0x1cc170,type:_0x3d279f,blockID:_0x6f0df}=_0x1c7e7b,_0x5d22f9=this['_getAPIPrefix']()+'/'+_0x3d279f+'/unit/'+_0x1cc170+_0x287278(0x229)+_0x6f0df;return(await this[_0x287278(0x129)]['get'](_0x5d22f9))['body'];}async[_0x3e84f8(0x503)](_0xe81f6c,_0x2df19b){const _0x369b95=_0x3e84f8,{unitID:_0x40b092,type:_0x4e71b9,from:_0x1f0d57,to:_0x2ac1cc}=_0x2df19b,_0x5678e8=this[_0x369b95(0x2d9)]()+'/'+_0x4e71b9+_0x369b95(0x29c)+_0x40b092+'/fetchmissing?from='+_0x1f0d57+'&to='+_0x2ac1cc;return(await this[_0x369b95(0x129)]['get'](_0x5678e8))[_0x369b95(0x505)];}[_0x3e84f8(0x1db)](){const _0x103256=_0x3e84f8;var _0x2a2a12;return(_0x2a2a12=this['_configService']['getConfig'](_0x48129e))!=null?_0x2a2a12:this[_0x103256(0x2d9)]();}['_getAPIPrefix'](){const _0x450664=_0x3e84f8;var _0x4969a6;return(_0x4969a6=this[_0x450664(0x466)]['getConfig'](_0x3ec466))!=null?_0x4969a6:_0xd20306;}async[_0x3e84f8(0x20f)](_0x1b8e60,_0x4b7732){const _0x5af1b8=_0x3e84f8,_0xaafbab=_0x5af1b8(0x1f3)+_0x4b7732[_0x5af1b8(0x4c9)]+_0x5af1b8(0x29c)+_0x4b7732['unitID']+_0x5af1b8(0x4d8);return(await this[_0x5af1b8(0x129)][_0x5af1b8(0x4af)](_0xaafbab,{'params':{'resourceId':JSON[_0x5af1b8(0x2ee)](_0x4b7732['resourceIDs'])}}))['body'];}[_0x3e84f8(0x22f)](){const _0x298f25=_0x3e84f8;throw new Error(_0x298f25(0x4b3));}[_0x3e84f8(0x233)](){const _0x43c7f9=_0x3e84f8;throw new Error(_0x43c7f9(0x4b3));}[_0x3e84f8(0x38a)](){const _0x1e5801=_0x3e84f8;throw new Error(_0x1e5801(0x4b3));}},_0x2509f1[_0x3e84f8(0x1a7)]=_0x213777([_0x19126c(0x0,_0x3eca57[_0x3e84f8(0x25c)]),_0x19126c(0x1,_0x3eca57[_0x3e84f8(0x13c)](_0x1c2884[_0x3e84f8(0x3ce)]))],_0x2509f1[_0x3e84f8(0x1a7)]);var _0x512a5a=Object['defineProperty'],_0x1e957b=Object[_0x3e84f8(0x439)],_0x2f958e=(_0x2f014c,_0x9a6277,_0x349feb,_0x3beb71)=>{const _0x1c5796=_0x3e84f8;for(var _0x42bf45=_0x3beb71>0x1?void 0x0:_0x3beb71?_0x1e957b(_0x9a6277,_0x349feb):_0x9a6277,_0xfb371=_0x2f014c[_0x1c5796(0x1a6)]-0x1,_0x2253ff;_0xfb371>=0x0;_0xfb371--)(_0x2253ff=_0x2f014c[_0xfb371])&&(_0x42bf45=(_0x3beb71?_0x2253ff(_0x9a6277,_0x349feb,_0x42bf45):_0x2253ff(_0x42bf45))||_0x42bf45);return _0x3beb71&&_0x42bf45&&_0x512a5a(_0x9a6277,_0x349feb,_0x42bf45),_0x42bf45;},_0x5dc62b=(_0x379b56,_0x1353a4)=>(_0x4d9604,_0x526dcc)=>_0x1353a4(_0x4d9604,_0x526dcc,_0x379b56);let _0x142f05=class extends _0x3eca57[_0x3e84f8(0x43f)]{constructor(_0x1625db,_0x388156,_0x5d3227,_0x9942ff,_0x4c5b47){super(_0x1625db,_0x388156,_0x5d3227),this['_transformService']=_0x9942ff,this['_logService']=_0x4c5b47;}[_0x3e84f8(0x538)](_0x18b56b,_0x4765af){const _0x4765e3=_0x3e84f8,_0x53ef51=this[_0x4765e3(0x34b)](_0x18b56b);if(_0x53ef51)try{const _0x5d83c5=this['_transformStack'](_0x53ef51,_0x4765af);this[_0x4765e3(0x515)](_0x18b56b,_0x5d83c5);}catch(_0x1262c1){this['_logService']['error'](_0x4765e3(0x4d6),_0x1262c1),this[_0x4765e3(0x194)](_0x18b56b);}const _0x47892a=this[_0x4765e3(0x160)](_0x18b56b);if(_0x47892a)try{const _0x23ea7d=this[_0x4765e3(0x25d)](_0x47892a,_0x4765af);this[_0x4765e3(0x52d)](_0x18b56b,_0x23ea7d);}catch(_0x1b4f2b){this[_0x4765e3(0x31d)]['error'](_0x1b4f2b),this['_clearRedo'](_0x18b56b);}}['_clearUndo'](_0x2bdf41){const _0x18d1f7=_0x3e84f8,_0x465c34=this[_0x18d1f7(0x34b)](_0x2bdf41);_0x465c34&&(_0x465c34['length']=0x0,this['_updateStatus']());}[_0x3e84f8(0x143)](_0x1c04ec){const _0x5635d5=_0x3e84f8,_0xad50f8=this['_getRedoStack'](_0x1c04ec);_0xad50f8&&(_0xad50f8[_0x5635d5(0x1a6)]=0x0,this[_0x5635d5(0x45d)]());}[_0x3e84f8(0x515)](_0x701b8f,_0x3b00e1){const _0x47f32b=_0x3e84f8;this[_0x47f32b(0x404)]['set'](_0x701b8f,_0x3b00e1),this[_0x47f32b(0x45d)]();}[_0x3e84f8(0x52d)](_0x57dad4,_0x50fe06){const _0x562210=_0x3e84f8;this['_redoStacks'][_0x562210(0x1b8)](_0x57dad4,_0x50fe06),this[_0x562210(0x45d)]();}[_0x3e84f8(0x25d)](_0x5f23cf,_0x11ae59){const _0x234eae=_0x3e84f8,_0x5b4dec=[];let _0x3499d4=_0x11ae59,_0x4ae743=_0x11ae59;for(let _0x63f6be=_0x5f23cf['length']-0x1;_0x63f6be>=0x0;_0x63f6be--){const {unitID:_0x1f8f3d,undoMutations:_0x1b6509,redoMutations:_0x2da7df}=_0x5f23cf[_0x63f6be],_0x1d8e13=this[_0x234eae(0x263)]['transformMutationsWithChangeset'](_0x3499d4,_0x1b6509),_0x5023ff=this['_transformService'][_0x234eae(0x27b)](_0x4ae743,_0x2da7df);if(_0x1474a0[_0x234eae(0x3cf)](_0x1d8e13)||_0x1474a0[_0x234eae(0x3cf)](_0x5023ff)){this[_0x234eae(0x31d)][_0x234eae(0x543)](_0x234eae(0x4d6),_0x234eae(0x414),_0x1d8e13,_0x5023ff);break;}_0x3499d4=_0x1d8e13[_0x234eae(0x409)],_0x4ae743=_0x5023ff[_0x234eae(0x409)],_0x5b4dec[_0x234eae(0x434)]({'unitID':_0x1f8f3d,'undoMutations':_0x1d8e13[_0x234eae(0x3da)],'redoMutations':_0x5023ff['m2Prime']});}return _0x5b4dec[_0x234eae(0x4e4)]();}};_0x142f05=_0x2f958e([_0x5dc62b(0x0,_0x3eca57[_0x3e84f8(0x2b1)]),_0x5dc62b(0x1,_0x3eca57[_0x3e84f8(0x2b3)]),_0x5dc62b(0x2,_0x3eca57['IContextService']),_0x5dc62b(0x3,_0x1474a0[_0x3e84f8(0x3aa)]),_0x5dc62b(0x4,_0x3eca57[_0x3e84f8(0x391)])],_0x142f05);class _0x506bde extends _0x3eca57[_0x3e84f8(0x37a)]{constructor(){const _0x2ac30f=_0x3e84f8;super(),_0x1de933(this,'urlChange$'),this['urlChange$']=_0x199df4['fromEvent'](window,_0x2ac30f(0x400))[_0x2ac30f(0x52b)](_0x199df4['takeUntil'](this['dispose$']),_0x199df4[_0x2ac30f(0x3fa)](0x1),_0x199df4[_0x2ac30f(0x1c8)](void 0x0));}[_0x3e84f8(0x34a)](_0xba7fc1,_0x3a182b,_0x4ecf55=!0x1){const _0x2d6b64=_0x3e84f8,_0x1ef2d5=new URL(window[_0x2d6b64(0x17d)]['href']);_0x1ef2d5[_0x2d6b64(0x25e)][_0x2d6b64(0x1b8)](_0xba7fc1,_0x3a182b),_0x4ecf55?window[_0x2d6b64(0x479)][_0x2d6b64(0x4ae)]('','',_0x1ef2d5['toString']()):window['history'][_0x2d6b64(0x50f)]('','',_0x1ef2d5['toString']());}[_0x3e84f8(0x3cb)](_0xa68f38,_0x4c1b85=!0x1){const _0x518a8e=_0x3e84f8,_0x38c458=new URL(window[_0x518a8e(0x17d)][_0x518a8e(0x1d1)]);_0x38c458[_0x518a8e(0x25e)]['delete'](_0xa68f38),_0x4c1b85?window[_0x518a8e(0x479)][_0x518a8e(0x4ae)]('','',_0x38c458[_0x518a8e(0x151)]()):window[_0x518a8e(0x479)][_0x518a8e(0x50f)]('','',_0x38c458[_0x518a8e(0x151)]());}['getParam'](_0x3e292e){const _0x3c7343=_0x3e84f8;var _0x26b53e;return(_0x26b53e=new URL(window[_0x3c7343(0x17d)][_0x3c7343(0x1d1)])['searchParams']['get'](_0x3e292e))!=null?_0x26b53e:void 0x0;}}const _0x2938a5=_0x3e84f8(0x145),_0x3e7950=_0x3e84f8(0x1f1),_0x3e013f=_0x3e84f8(0x18a),_0x53c3f5=0x6,_0x30546e=1.5,_0x3f9d24=0x4,_0x473921=1.5,_0x143714=_0x3e84f8(0x1c6);class _0x4720aa{constructor(_0x32edc3,_0x50c40c,_0x4b6146,_0x32e46f){const _0x57d22f=_0x3e84f8;_0x1de933(this,'_shapes',[]),_0x1de933(this,_0x57d22f(0x1f9),null),_0x1de933(this,'_textBubble',null),_0x1de933(this,'_anchorDot',null),_0x1de933(this,_0x57d22f(0x364),null),_0x1de933(this,'_eventUnsubscribe',null),(this['_cursor']=_0x32edc3,this[_0x57d22f(0x252)]=_0x50c40c,this[_0x57d22f(0x2a8)]=_0x4b6146,this[_0x57d22f(0x2ba)]=_0x32e46f,this[_0x57d22f(0x287)]());}set[_0x3e84f8(0x39e)](_0x1ff561){const _0x522c52=_0x3e84f8;_0x1ff561?(this[_0x522c52(0x335)]&&this[_0x522c52(0x335)]['hide'](),this[_0x522c52(0x190)]&&this['_textBubble']['show']()):(this[_0x522c52(0x335)]&&this[_0x522c52(0x335)][_0x522c52(0x3d5)](),this[_0x522c52(0x190)]&&this[_0x522c52(0x190)][_0x522c52(0x2c4)]());}[_0x3e84f8(0x231)](){const _0x21b35d=_0x3e84f8;for(const _0x1a71d7 of this[_0x21b35d(0x349)])_0x1a71d7['dispose']();this[_0x21b35d(0x190)]&&this[_0x21b35d(0x190)]['dispose'](),this[_0x21b35d(0x335)]&&this['_anchorDot'][_0x21b35d(0x231)](),this['_anchor']&&this[_0x21b35d(0x1f9)][_0x21b35d(0x231)](),this[_0x21b35d(0x159)]&&this[_0x21b35d(0x159)]();}['_render'](){const _0x521a3e=_0x3e84f8;var _0x332628;const {_docSkeleton:_0x4b0acf,_document:_0x149b54}=this,{color:_0x14b710,name:_0x22877d,ranges:_0x4219af}=this['_cursor'],_0x1197d9=_0x149b54['getOffsetConfig'](),{docsLeft:_0x530549,docsTop:_0x1b5946}=_0x1197d9,_0x522ebe=new _0x58059b[(_0x521a3e(0x239))](_0x1197d9,_0x4b0acf);for(const {startOffset:_0x4ff864,endOffset:_0xbc5db9,collapsed:_0x3c65b1,isActive:_0x4f236e}of _0x4219af){const _0x1cde4e=_0x4b0acf[_0x521a3e(0x353)](_0x4ff864),_0x98bcbf=_0x4b0acf['findNodePositionByCharIndex'](_0xbc5db9);if(_0x4f236e){const {contentBoxPointGroup:_0x36eb86}=_0x522ebe[_0x521a3e(0x2cd)](_0x98bcbf,_0x98bcbf);if(_0x36eb86['length']===0x0)continue;this[_0x521a3e(0x322)](_0x14b710,_0x36eb86,_0x530549,_0x1b5946,_0x22877d),this[_0x521a3e(0x159)]=this[_0x521a3e(0x15b)]();}if(!_0x3c65b1&&_0x1cde4e&&_0x98bcbf){if(_0x58059b[_0x521a3e(0x4ab)](_0x1cde4e,_0x98bcbf)){const _0x4d68ac=new _0x58059b[(_0x521a3e(0x48d))](_0x1197d9,_0x4b0acf),{pointGroup:_0x46d3d5}=(_0x332628=_0x4d68ac[_0x521a3e(0x2cd)](_0x1cde4e,_0x98bcbf))!=null?_0x332628:{};if(_0x46d3d5==null||_0x46d3d5['length']===0x0)continue;this[_0x521a3e(0x523)](_0x14b710,_0x46d3d5,_0x530549,_0x1b5946);}else{const {contentBoxPointGroup:_0x17b5b7}=_0x522ebe[_0x521a3e(0x2cd)](_0x1cde4e,_0x98bcbf);if(_0x17b5b7[_0x521a3e(0x1a6)]===0x0)continue;this['_drawTextRange'](_0x14b710,_0x17b5b7,_0x530549,_0x1b5946);}}}}[_0x3e84f8(0x322)](_0x322c57,_0x630acc,_0x180840,_0x48c88f,_0x5e505f){const _0x1eb27f=_0x3e84f8,_0x452eb5=this['_getAnchorBounding'](_0x630acc),{left:_0x457676,top:_0x2d4add,height:_0x2d2b9f}=_0x452eb5,_0x9ea9cd=this[_0x1eb27f(0x16a)](),_0x4f839e=_0x473921/_0x9ea9cd,_0x5b6a44=new _0x29e386[(_0x1eb27f(0x1e3))](_0x2938a5+_0x3eca57[_0x1eb27f(0x21e)][_0x1eb27f(0x489)](_0x53c3f5),{'left':_0x457676+_0x180840-_0x4f839e,'top':_0x2d4add+_0x48c88f,'height':_0x2d2b9f,'width':_0x30546e,'fill':_0x322c57||_0x29e386[_0x1eb27f(0x19b)](_0x3eca57['COLORS']['black'],0x0),'strokeWidth':_0x4f839e,'stroke':_0x143714,'evented':!0x0});this[_0x1eb27f(0x1f9)]=_0x5b6a44,this[_0x1eb27f(0x252)][_0x1eb27f(0x1d6)](_0x5b6a44,_0x58059b['TEXT_RANGE_LAYER_INDEX']);const _0x47d972=new _0x29e386[(_0x1eb27f(0x1e3))](_0x2938a5+_0x3eca57[_0x1eb27f(0x21e)][_0x1eb27f(0x489)](_0x53c3f5),{'left':_0x457676+_0x180840-_0x4f839e,'top':_0x2d4add+_0x48c88f-_0x3f9d24/0x2,'height':_0x3f9d24,'width':_0x3f9d24,'fill':_0x322c57||_0x29e386[_0x1eb27f(0x19b)](_0x3eca57[_0x1eb27f(0x444)][_0x1eb27f(0x1cd)],0x0),'strokeWidth':0x0,'stroke':_0x322c57||_0x29e386[_0x1eb27f(0x19b)](_0x3eca57[_0x1eb27f(0x444)][_0x1eb27f(0x1cd)],0x0),'evented':!0x1});this[_0x1eb27f(0x335)]=_0x47d972,this[_0x1eb27f(0x252)][_0x1eb27f(0x1d6)](_0x47d972,_0x58059b[_0x1eb27f(0x275)]);const _0x55a0ee=new _0x11a31(_0x2938a5+_0x3eca57['Tools'][_0x1eb27f(0x489)](_0x53c3f5),{'left':_0x457676+_0x180840-_0x4f839e,'top':_0x2d4add+_0x48c88f-_0x10a292,'text':_0x5e505f,'color':_0x322c57});this[_0x1eb27f(0x190)]=_0x55a0ee,this[_0x1eb27f(0x252)][_0x1eb27f(0x1d6)](_0x55a0ee,_0x58059b['TEXT_RANGE_LAYER_INDEX']),this[_0x1eb27f(0x39e)]=!0x1;}[_0x3e84f8(0x15b)](){const _0xdb1d68=_0x3e84f8,_0x242068=this[_0xdb1d68(0x1f9)][_0xdb1d68(0x31b)][_0xdb1d68(0x4d4)](()=>{const _0x293acb=_0xdb1d68;this[_0x293acb(0x39e)]=!0x0;}),_0x479446=this[_0xdb1d68(0x1f9)][_0xdb1d68(0x494)][_0xdb1d68(0x4d4)](()=>{const _0xbd77c7=_0xdb1d68;this['_hideTimer']&&clearTimeout(this[_0xbd77c7(0x364)]),this[_0xbd77c7(0x364)]=setTimeout(()=>{const _0x34f401=_0xbd77c7;this[_0x34f401(0x39e)]=!0x1;},0x7d0);});return()=>{const _0x21cc74=_0xdb1d68;_0x242068[_0x21cc74(0x3d4)](),_0x479446[_0x21cc74(0x3d4)]();};}[_0x3e84f8(0x267)](_0x32d188,_0x43962a,_0x154ae7,_0x158255){const _0x4200d0=_0x3e84f8,_0x4ef487=new _0x3eca57[(_0x4200d0(0x120))](_0x32d188)[_0x4200d0(0x1b9)](0.2)[_0x4200d0(0x416)](),_0x4f8f1e=new _0x29e386[(_0x4200d0(0x513))](_0x3e7950+_0x3eca57[_0x4200d0(0x21e)][_0x4200d0(0x489)](_0x53c3f5),{'pointsGroup':_0x43962a,'fill':_0x4ef487||_0x29e386['getColor'](_0x3eca57[_0x4200d0(0x444)]['black'],0.2),'left':_0x154ae7,'top':_0x158255,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x4f8f1e),this[_0x4200d0(0x252)][_0x4200d0(0x1d6)](_0x4f8f1e,_0x58059b[_0x4200d0(0x275)]);}[_0x3e84f8(0x523)](_0x5a2c81,_0x5151e2,_0x3866c1,_0x1cc5fe){const _0x1cd1bf=_0x3e84f8,_0x45c890=new _0x3eca57[(_0x1cd1bf(0x120))](_0x5a2c81)[_0x1cd1bf(0x1b9)](0.2)[_0x1cd1bf(0x416)](),_0x1b1cc3=new _0x29e386['RegularPolygon'](_0x3e013f+_0x3eca57[_0x1cd1bf(0x21e)]['generateRandomId'](_0x53c3f5),{'pointsGroup':_0x5151e2,'fill':_0x45c890||_0x29e386[_0x1cd1bf(0x19b)](_0x3eca57[_0x1cd1bf(0x444)][_0x1cd1bf(0x1cd)],0.2),'left':_0x3866c1,'top':_0x1cc5fe,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1b1cc3),this[_0x1cd1bf(0x252)][_0x1cd1bf(0x1d6)](_0x1b1cc3,_0x58059b['TEXT_RANGE_LAYER_INDEX']);}[_0x3e84f8(0x25f)](_0x4dcb9e){const _0x53ef6a=_0x4dcb9e[0x0],_0x4dc366=_0x53ef6a[0x0],_0x6f5c92=_0x53ef6a[0x2],{x:_0x3b51ce,y:_0x277d83}=_0x4dc366,{x:_0x10ecd6,y:_0x2fd295}=_0x6f5c92;return{'left':_0x3b51ce,'top':_0x277d83,'width':_0x10ecd6-_0x3b51ce,'height':_0x2fd295-_0x277d83};}['_getScale'](){const _0x4431f8=_0x3e84f8,{scaleX:_0x1abd7f,scaleY:_0x30dcee}=this['_scene'][_0x4431f8(0x50c)]();return Math[_0x4431f8(0x1eb)](_0x1abd7f,_0x30dcee);}}var _0x170b52=Object['defineProperty'],_0x24cca1=Object[_0x3e84f8(0x439)],_0x3322ea=(_0x245d5c,_0x41e25d,_0x42233c,_0x3afed9)=>{const _0x8ff757=_0x3e84f8;for(var _0x32fe64=_0x3afed9>0x1?void 0x0:_0x3afed9?_0x24cca1(_0x41e25d,_0x42233c):_0x41e25d,_0x244d8d=_0x245d5c[_0x8ff757(0x1a6)]-0x1,_0x2c4866;_0x244d8d>=0x0;_0x244d8d--)(_0x2c4866=_0x245d5c[_0x244d8d])&&(_0x32fe64=(_0x3afed9?_0x2c4866(_0x41e25d,_0x42233c,_0x32fe64):_0x2c4866(_0x32fe64))||_0x32fe64);return _0x3afed9&&_0x32fe64&&_0x170b52(_0x41e25d,_0x42233c,_0x32fe64),_0x32fe64;},_0x28534b=(_0xf1f9e,_0x372e65)=>(_0x49b400,_0x11ae24)=>_0x372e65(_0x49b400,_0x11ae24,_0xf1f9e);let _0x19948e=class extends _0x3eca57[_0x3e84f8(0x37a)]{constructor(_0x306b90,_0x54c7c9,_0x3eadaa,_0x45813d,_0x39d451){const _0x1fff73=_0x3e84f8;super(),_0x1de933(this,'_cursorShapes',[]),_0x1de933(this,_0x1fff73(0x4ef),[]),(this[_0x1fff73(0x37f)]=_0x306b90,this[_0x1fff73(0x133)]=_0x54c7c9,this['_collabCursorController']=_0x3eadaa,this[_0x1fff73(0x30a)]=_0x45813d,this[_0x1fff73(0x2b8)]=_0x39d451,this[_0x1fff73(0x176)]());}['_init'](){const _0x1c6dde=_0x3e84f8,_0x2df632=this[_0x1c6dde(0x37f)][_0x1c6dde(0x2ac)],_0x12cde2=this[_0x1c6dde(0x133)];this[_0x1c6dde(0x4ed)](_0x199df4[_0x1c6dde(0x2c3)]([this[_0x1c6dde(0x407)]['getCollabCursors$'](_0x2df632),this[_0x1c6dde(0x2b8)]['currentTheme$']])[_0x1c6dde(0x52b)](_0x46f2f0[_0x1c6dde(0x1ad)](([_0x247f35,_0x198677])=>({'skeleton':_0x12cde2[_0x1c6dde(0x25a)](),'cursors':[..._0x247f35[_0x1c6dde(0x3a2)]()]['flatMap'](_0x58dea2=>({..._0x58dea2,'color':_0x198677[_0x58dea2[_0x1c6dde(0x4cb)]]}))})))['subscribe'](_0x167e22=>{const _0xfe800e=_0x1c6dde;if(this[_0xfe800e(0x3e6)](),_0x167e22){const {skeleton:_0x10270d,cursors:_0x1e396c}=_0x167e22;this[_0xfe800e(0x18e)](_0x10270d,_0x1e396c);}})),this[_0x1c6dde(0x4c3)](),this[_0x1c6dde(0x2c8)]();}[_0x3e84f8(0x18e)](_0x1f0859,_0x248642){const _0x3ea653=_0x3e84f8,{scene:_0x3ef0b6,mainComponent:_0x52ac4b}=this[_0x3ea653(0x37f)],_0x3f8d87=_0x248642[_0x3ea653(0x1ad)](_0x550dae=>new _0x4720aa(_0x550dae,_0x3ef0b6,_0x1f0859,_0x52ac4b));this[_0x3ea653(0x181)]=_0x3f8d87,this[_0x3ea653(0x4ef)]=_0x248642;}[_0x3e84f8(0x475)](){const _0x5b832e=_0x3e84f8;this[_0x5b832e(0x3e6)]();const {scene:_0x102be9,mainComponent:_0x1b05ee}=this[_0x5b832e(0x37f)],_0x363fe8=this[_0x5b832e(0x133)]['getSkeleton'](),_0x1b3c71=this['_cursors'][_0x5b832e(0x1ad)](_0x2eae15=>new _0x4720aa(_0x2eae15,_0x102be9,_0x363fe8,_0x1b05ee));this[_0x5b832e(0x181)]=_0x1b3c71;}['_removeCollabCursors'](){const _0x1165cd=_0x3e84f8;this[_0x1165cd(0x181)][_0x1165cd(0x306)](_0x45ea15=>_0x45ea15['dispose']()),this['_cursorShapes']=[];}[_0x3e84f8(0x2c8)](){const _0x4f947e=_0x3e84f8,_0x20834d=[_0x58059b[_0x4f947e(0x21d)]['id']];this[_0x4f947e(0x4ed)](this[_0x4f947e(0x30a)][_0x4f947e(0x271)](_0x30970a=>{const _0x53b6a4=_0x4f947e;_0x20834d[_0x53b6a4(0x4ff)](_0x30970a['id'])&&_0x30970a['params'][_0x53b6a4(0x2ac)]===this[_0x53b6a4(0x37f)][_0x53b6a4(0x2ac)]&&this[_0x53b6a4(0x475)]();}));}[_0x3e84f8(0x4c3)](){const _0x59a17c=_0x3e84f8;this[_0x59a17c(0x4ed)](_0x3eca57[_0x59a17c(0x34e)](this[_0x59a17c(0x37f)]['engine'][_0x59a17c(0x1b6)])[_0x59a17c(0x52b)](_0x46f2f0['filter'](_0x4e4d33=>_0x4e4d33[_0x59a17c(0x4c9)]===_0x29e386[_0x59a17c(0x469)][_0x59a17c(0x119)]),_0x46f2f0[_0x59a17c(0x135)](0x10))['subscribe'](()=>{const _0x3ba856=_0x59a17c;this[_0x3ba856(0x475)]();}));}};_0x19948e=_0x3322ea([_0x3eca57[_0x3e84f8(0x1ef)](_0x3eca57[_0x3e84f8(0x377)][_0x3e84f8(0x53e)],_0x19948e),_0x28534b(0x1,_0x3eca57['Inject'](_0x5a15a4[_0x3e84f8(0x283)])),_0x28534b(0x2,_0x3eca57[_0x3e84f8(0x13c)](_0x1fb14c)),_0x28534b(0x3,_0x3eca57[_0x3e84f8(0x2b3)]),_0x28534b(0x4,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x1a5)]))],_0x19948e);var _0x5bf126=Object[_0x3e84f8(0x243)],_0x36cdfc=Object['getOwnPropertyDescriptor'],_0x3b359e=(_0x54d18f,_0x2870b5,_0x16d024,_0x3069ce)=>{for(var _0x32be5e=_0x3069ce>0x1?void 0x0:_0x3069ce?_0x36cdfc(_0x2870b5,_0x16d024):_0x2870b5,_0x2c648=_0x54d18f['length']-0x1,_0x184762;_0x2c648>=0x0;_0x2c648--)(_0x184762=_0x54d18f[_0x2c648])&&(_0x32be5e=(_0x3069ce?_0x184762(_0x2870b5,_0x16d024,_0x32be5e):_0x184762(_0x32be5e))||_0x32be5e);return _0x3069ce&&_0x32be5e&&_0x5bf126(_0x2870b5,_0x16d024,_0x32be5e),_0x32be5e;},_0x5e225e=(_0x838718,_0x1f6330)=>(_0x228b66,_0x47ad83)=>_0x1f6330(_0x228b66,_0x47ad83,_0x838718);let _0x367805=class{constructor(_0xbfc705,_0x56d6f3,_0x1640f3){const _0xe6bc3=_0x3e84f8;this['_configService']=_0xbfc705,this[_0xe6bc3(0x129)]=_0x56d6f3,this[_0xe6bc3(0x38c)]=_0x1640f3,this[_0xe6bc3(0x352)]();}[_0x3e84f8(0x352)](){const _0x26dd6e=_0x3e84f8;this[_0x26dd6e(0x129)][_0x26dd6e(0x514)]({'priority':0x1,'interceptor':(_0x1ae3c9,_0x29e2)=>_0x29e2(_0x1ae3c9)[_0x26dd6e(0x52b)](_0x199df4['concatMap'](async _0x5ea016=>{const _0x2dd69a=_0x26dd6e,_0x33d9af=_0x5ea016;if(_0x33d9af['status']===0x191&&window[_0x2dd69a(0x35b)](this[_0x2dd69a(0x38c)]['t']('auth.needGotoLoginAlert'))){const _0x2761e7=window['encodeURIComponent'](window[_0x2dd69a(0x17d)][_0x2dd69a(0x1d1)]);window[_0x2dd69a(0x17d)][_0x2dd69a(0x1d1)]=this[_0x2dd69a(0x257)]()+_0x2dd69a(0x11d)+_0x2761e7;}return _0x33d9af;}))});}[_0x3e84f8(0x257)](){const _0x469744=_0x3e84f8;var _0x154af2;return(_0x154af2=this['_configService'][_0x469744(0x22e)](_0x14e0af))!=null?_0x154af2:_0x3bbd51;}};_0x367805=_0x3b359e([_0x5e225e(0x0,_0x3eca57[_0x3e84f8(0x25c)]),_0x5e225e(0x1,_0x3eca57[_0x3e84f8(0x13c)](_0x1c2884['HTTPService'])),_0x5e225e(0x2,_0x3eca57['Inject'](_0x3eca57[_0x3e84f8(0x477)]))],_0x367805);var _0x5b076a=Object['defineProperty'],_0x31cee5=Object[_0x3e84f8(0x439)],_0x201b29=(_0x88faed,_0x5ee90e,_0x26cc45,_0x21d2dd)=>{const _0x39a2e7=_0x3e84f8;for(var _0x556ded=_0x21d2dd>0x1?void 0x0:_0x21d2dd?_0x31cee5(_0x5ee90e,_0x26cc45):_0x5ee90e,_0x506a44=_0x88faed[_0x39a2e7(0x1a6)]-0x1,_0x2a1f64;_0x506a44>=0x0;_0x506a44--)(_0x2a1f64=_0x88faed[_0x506a44])&&(_0x556ded=(_0x21d2dd?_0x2a1f64(_0x5ee90e,_0x26cc45,_0x556ded):_0x2a1f64(_0x556ded))||_0x556ded);return _0x21d2dd&&_0x556ded&&_0x5b076a(_0x5ee90e,_0x26cc45,_0x556ded),_0x556ded;},_0x43fec1=(_0x2d1c11,_0x2554ad)=>(_0xc1bb0e,_0x581faa)=>_0x2554ad(_0xc1bb0e,_0x581faa,_0x2d1c11);const _0x5d08cd='AUTHZ_URL_KEY',_0xc2536f=_0x3e84f8(0x4aa);_0x2509f1['AuthzIoHttpService']=class extends _0x3eca57[_0x3e84f8(0x2a6)]{constructor(_0x57c090,_0x37b1cf){const _0x25c2a2=_0x3e84f8;super(),this[_0x25c2a2(0x36a)]=_0x57c090,this['_configService']=_0x37b1cf,this[_0x25c2a2(0x3bf)]();}[_0x3e84f8(0x3bf)](){const _0x209509=_0x3e84f8,_0x3c2920=this;this['disposeWithMe'](this[_0x209509(0x36a)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x1c2884[_0x209509(0x53a)]({'isMatch'(_0x38f0d9){const _0x160247=_0x209509;var _0x58246e;if(_0x38f0d9[_0x160247(0x253)]==='POST'&&((_0x58246e=_0x38f0d9[_0x160247(0x4c2)])!=null&&_0x58246e[_0x160247(0x505)])){const {objectID:_0xa8f74,objectType:_0x3d1338}=_0x38f0d9['requestParams']['body']||{};if(!_0xa8f74||_0x3d1338===void 0x0)return!0x1;const _0x2d2ed4=_0x3c2920[_0x160247(0x4ce)]()+'/'+_0x3d1338+_0x160247(0x50e)+_0xa8f74+_0x160247(0x48f);if(_0x38f0d9[_0x160247(0x193)]===_0x2d2ed4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5103f8){const _0x580dc5=_0x209509;var _0x5517c3;return(_0x5517c3=_0x5103f8[_0x580dc5(0x4c2)])==null?void 0x0:_0x5517c3[_0x580dc5(0x505)];},'mergeParamsToRequest'(_0x107c32,_0x24056e){const _0x5c1013=_0x209509,_0xc5c00d=_0x3c2920[_0x5c1013(0x4ce)]()+_0x5c1013(0x1d8),_0x496471=_0x107c32[_0x5c1013(0x29a)]((_0x172896,_0xf09e7f)=>{const _0x3353fd=_0x5c1013,{unitID:_0x351114,objectID:_0x39f559,objectType:_0x220595,actions:_0x5a2f67}=_0xf09e7f;return _0x172896[_0x351114]||(_0x172896[_0x351114]={}),_0x172896[_0x351114][_0x39f559]||(_0x172896[_0x351114][_0x39f559]={'objectID':_0x39f559,'objectType':_0x220595,'actions':[]}),_0x172896[_0x351114][_0x39f559][_0x3353fd(0x3f6)]['push'](..._0x5a2f67),_0x172896;},{}),_0x203d68=[];for(const _0x19641f in _0x496471)for(const _0x186c95 in _0x496471[_0x19641f]){const {actions:_0x4f97cd,objectType:_0x1f7949}=_0x496471[_0x19641f][_0x186c95],_0x3ffc1b=[...new Set(_0x4f97cd)];_0x203d68[_0x5c1013(0x434)]({'unitID':_0x19641f,'objectID':_0x186c95,'objectType':_0x1f7949,'actions':_0x3ffc1b});}return new _0x1c2884[(_0x5c1013(0x276))](_0x5c1013(0x268),_0xc5c00d,{'headers':_0x24056e[_0x5c1013(0x4f6)],'withCredentials':_0x24056e['withCredentials'],'responseType':_0x24056e[_0x5c1013(0x1fc)],'body':{'requests':_0x203d68}});}},{'distributeResult'(_0x36f5a2,_0x41fd04){const _0x3e3c00=_0x209509,{objectActions:_0x15717f}=_0x36f5a2;return _0x41fd04[_0x3e3c00(0x1ad)](_0x287c24=>{const _0x142924=_0x3e3c00,{unitID:_0xa35b40,objectID:_0x45a364,actions:_0x39acbb}=_0x287c24,_0x5f247c=_0x15717f['find'](_0x5d8aac=>_0x5d8aac[_0x142924(0x13f)]===_0xa35b40&&_0x5d8aac[_0x142924(0x4d3)]===_0x45a364),_0x36c44e=_0x39acbb[_0x142924(0x1ad)](_0x2806ff=>_0x5f247c==null?void 0x0:_0x5f247c[_0x142924(0x3f6)][_0x142924(0x44f)](_0x495159=>_0x495159['action']===_0x2806ff))[_0x142924(0x51d)](_0x5cd106=>!!_0x5cd106);return{'config':_0x287c24,'result':{'actions':_0x36c44e,'error':_0x36f5a2[_0x142924(0x543)]}};});}})}));}[_0x3e84f8(0x4ce)](){const _0x3f3695=_0x3e84f8;var _0x419999;return(_0x419999=this[_0x3f3695(0x466)][_0x3f3695(0x22e)](_0x5d08cd))!=null?_0x419999:_0xc2536f;}async[_0x3e84f8(0x51c)](_0xea3354){const _0x41e760=_0x3e84f8,_0x33130f=this[_0x41e760(0x4ce)]()+'/'+_0xea3354['objectType']+'/object';return(await this[_0x41e760(0x36a)][_0x41e760(0x296)](_0x33130f,{'body':_0xea3354}))['body'][_0x41e760(0x4d3)]||'';}async[_0x3e84f8(0x2f2)](_0x47fbe1){const _0xb908ae=_0x3e84f8,_0x374acc=this['_getAPIPrefixPath']()+_0xb908ae(0x22c);return(await this[_0xb908ae(0x36a)][_0xb908ae(0x296)](_0x374acc,{'body':_0x47fbe1}))[_0xb908ae(0x505)][_0xb908ae(0x28e)];}async[_0x3e84f8(0x14d)](_0x26b602){const _0x3f9466=_0x3e84f8,_0x1e902d=this['_getAPIPrefixPath']()+'/'+_0x26b602[_0x3f9466(0x3c2)]+'/object/'+_0x26b602[_0x3f9466(0x4d3)];await this['_HTTPService'][_0x3f9466(0x1e2)](_0x1e902d,{'body':_0x26b602});}async[_0x3e84f8(0x11b)](_0x4e794c){const _0xa30aed=_0x3e84f8,_0x183204=this[_0xa30aed(0x4ce)]()+'/'+_0x4e794c[_0xa30aed(0x3c2)]+_0xa30aed(0x50e)+_0x4e794c[_0xa30aed(0x4d3)]+_0xa30aed(0x48f);return(await this[_0xa30aed(0x36a)]['post'](_0x183204,{'body':_0x4e794c}))[_0xa30aed(0x505)][_0xa30aed(0x3f6)];}async[_0x3e84f8(0x21c)](_0x4f1dfc){const _0x8228a4=_0x3e84f8,_0x34dccd=this['_getAPIPrefixPath']()+_0x8228a4(0x1d8);return(await this[_0x8228a4(0x36a)]['post'](_0x34dccd,{'body':{'requests':_0x4f1dfc}}))[_0x8228a4(0x505)][_0x8228a4(0x47f)];}async[_0x3e84f8(0x32d)](_0x41bf51){const _0x811141=_0x3e84f8,_0x1b9ca8=this[_0x811141(0x4ce)]()+'/'+_0x41bf51[_0x811141(0x3c2)]+_0x811141(0x3f5),_0x2715a3=await this[_0x811141(0x36a)][_0x811141(0x296)](_0x1b9ca8,{'body':_0x41bf51});return{'roles':_0x2715a3[_0x811141(0x505)]['roles'],'actions':_0x2715a3['body'][_0x811141(0x3f6)]};}async[_0x3e84f8(0x175)](_0xcc4154){const _0x4cbdad=_0x3e84f8,_0x504afb=this[_0x4cbdad(0x4ce)]()+_0x4cbdad(0x17b);await this[_0x4cbdad(0x36a)]['delete'](_0x504afb,{'params':{'collaboratorID':_0xcc4154[_0x4cbdad(0x511)],'objectID':_0xcc4154[_0x4cbdad(0x4d3)],'unitID':_0xcc4154[_0x4cbdad(0x13f)]}});}async[_0x3e84f8(0x430)](_0x26d67a){const _0x4e7a1e=_0x3e84f8,_0x2e1b19=this[_0x4e7a1e(0x4ce)]()+_0x4e7a1e(0x17b);await this[_0x4e7a1e(0x36a)]['patch'](_0x2e1b19,{'body':_0x26d67a});}async[_0x3e84f8(0x497)](_0x20f76b){const _0x446e67=_0x3e84f8,_0x3736e5=this[_0x446e67(0x4ce)]()+'/collaborator';await this[_0x446e67(0x36a)][_0x446e67(0x296)](_0x3736e5,{'body':_0x20f76b});}async[_0x3e84f8(0x150)](_0x228617){const _0x2f2426=_0x3e84f8,_0x47d11a=this['_getAPIPrefixPath']()+_0x2f2426(0x17b);return(await this[_0x2f2426(0x36a)][_0x2f2426(0x4af)](_0x47d11a,{'params':{'objectID':_0x228617[_0x2f2426(0x4d3)],'unitID':_0x228617[_0x2f2426(0x13f)]}}))[_0x2f2426(0x505)][_0x2f2426(0x424)];}async['putCollaborators'](_0x17729d){const _0x3a387b=_0x3e84f8,_0xe24f7=this[_0x3a387b(0x4ce)]()+'/collaborator';await this['_HTTPService']['put'](_0xe24f7,{'body':_0x17729d});}},_0x2509f1[_0x3e84f8(0x4cc)]=_0x201b29([_0x43fec1(0x0,_0x3eca57[_0x3e84f8(0x13c)](_0x1c2884[_0x3e84f8(0x3ce)])),_0x43fec1(0x1,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x25c)]))],_0x2509f1[_0x3e84f8(0x4cc)]);var _0x3950ee=Object[_0x3e84f8(0x243)],_0x449c3f=Object['getOwnPropertyDescriptor'],_0x5143bf=(_0x5cb2d7,_0x2b686a,_0x23a605,_0xc6b517)=>{const _0x4838a3=_0x3e84f8;for(var _0x1d0849=_0xc6b517>0x1?void 0x0:_0xc6b517?_0x449c3f(_0x2b686a,_0x23a605):_0x2b686a,_0x5e7edc=_0x5cb2d7[_0x4838a3(0x1a6)]-0x1,_0x8dc339;_0x5e7edc>=0x0;_0x5e7edc--)(_0x8dc339=_0x5cb2d7[_0x5e7edc])&&(_0x1d0849=(_0xc6b517?_0x8dc339(_0x2b686a,_0x23a605,_0x1d0849):_0x8dc339(_0x1d0849))||_0x1d0849);return _0xc6b517&&_0x1d0849&&_0x3950ee(_0x2b686a,_0x23a605,_0x1d0849),_0x1d0849;},_0x2110cf=(_0x38cd7f,_0x1065ea)=>(_0x5e1375,_0x225195)=>_0x1065ea(_0x5e1375,_0x225195,_0x38cd7f);const _0x32df5c=[_0x3e84f8(0x4a6),_0x3e84f8(0x323),_0x3e84f8(0x2be),_0x3e84f8(0x3af),_0x3e84f8(0x363)],_0x44c774=0x5*0x400*0x400,_0x415728=_0x3e84f8(0x303),_0x8ddd14='/universer-api/stream/file/upload',_0x4d6544='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x398a77=_0x3e84f8(0x36f);_0x2509f1['ImageIoService']=class{constructor(_0x513b35,_0x50d3fe,_0x1523f4){const _0xae56c=_0x3e84f8;_0x1de933(this,_0xae56c(0x28a),0x0),_0x1de933(this,_0xae56c(0x195),new _0x199df4[(_0xae56c(0x307))]()),_0x1de933(this,'change$',this[_0xae56c(0x195)]),_0x1de933(this,_0xae56c(0x20d),new Map()),(this[_0xae56c(0x129)]=_0x513b35,this[_0xae56c(0x466)]=_0x50d3fe,this[_0xae56c(0x339)]=_0x1523f4);}[_0x3e84f8(0x221)](_0x5e63f8){const _0x1e92fa=_0x3e84f8;this['_waitCount']=_0x5e63f8,this[_0x1e92fa(0x195)][_0x1e92fa(0x2d2)](_0x5e63f8);}[_0x3e84f8(0x4e3)](_0x1d2f8b,_0x21c17f){const _0x312a9d=_0x3e84f8;if(_0x21c17f===_0x2a024d[_0x312a9d(0x3a7)]['BASE64']){const _0x579f76=new Image();return _0x579f76[_0x312a9d(0x158)]=_0x1d2f8b,_0x579f76;}return this[_0x312a9d(0x20d)]['get'](_0x1d2f8b);}[_0x3e84f8(0x2e9)](_0x16b44d,_0x3774b7,_0x52f2d0){const _0x417970=_0x3e84f8;_0x3774b7===_0x2a024d['ImageSourceType'][_0x417970(0x44c)]||_0x52f2d0==null||this[_0x417970(0x20d)][_0x417970(0x1b8)](_0x16b44d,_0x52f2d0);}async[_0x3e84f8(0x1fb)](_0x56e7b6){const _0x18bac2=_0x3e84f8;try{const _0x29b5af=this[_0x18bac2(0x42d)](this[_0x18bac2(0x14e)](),''+_0x56e7b6),_0x5b6171=(await this['_httpService'][_0x18bac2(0x4af)](_0x29b5af))[_0x18bac2(0x505)];return _0x5b6171['error']&&_0x5b6171[_0x18bac2(0x543)][_0x18bac2(0x532)]===_0x121659['OK']?Promise['resolve'](_0x5b6171[_0x18bac2(0x193)]):Promise[_0x18bac2(0x4c5)](_0x5b6171[_0x18bac2(0x543)]);}catch(_0x3f82ae){return Promise[_0x18bac2(0x4c5)](_0x3f82ae);}}async[_0x3e84f8(0x41b)](_0x34a4b9){const _0x49094b=_0x3e84f8;let _0x260628='';if(!_0x32df5c[_0x49094b(0x4ff)](_0x34a4b9[_0x49094b(0x4c9)]))return this[_0x49094b(0x1c3)](),Promise[_0x49094b(0x4c5)](new Error(_0x2a024d[_0x49094b(0x1ea)][_0x49094b(0x533)]));if(_0x34a4b9[_0x49094b(0x28b)]>_0x44c774)return this[_0x49094b(0x1c3)](),Promise[_0x49094b(0x4c5)](new Error(_0x2a024d[_0x49094b(0x1ea)][_0x49094b(0x21b)]));try{const _0x294b2b=new FormData();_0x294b2b[_0x49094b(0x2f7)](_0x49094b(0x471),_0x34a4b9);const _0x1d4a76=this[_0x49094b(0x339)][_0x49094b(0x298)](),_0x26902a=_0x1d4a76==null?void 0x0:_0x1d4a76[_0x49094b(0x286)]();if(!_0x26902a)throw new Error(_0x49094b(0x2bf));const _0x27552c=this[_0x49094b(0x245)]()+'?size='+_0x34a4b9['size'][_0x49094b(0x151)]()+_0x49094b(0x35e)+_0x39a188[_0x49094b(0x438)]+_0x49094b(0x24c)+encodeURIComponent(_0x26902a),_0x13af20=await(await fetch(_0x27552c,{'method':_0x49094b(0x268),'body':_0x294b2b}))[_0x49094b(0x1d4)]();if(typeof _0x13af20['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x49094b(0x4c5)](new Error(_0x2a024d[_0x49094b(0x1ea)][_0x49094b(0x2d6)]));_0x260628=_0x13af20[_0x49094b(0x3e0)];}catch{return this[_0x49094b(0x1c3)](),Promise[_0x49094b(0x4c5)](new Error(_0x2a024d[_0x49094b(0x1ea)]['ERROR_IMAGE']));}return new Promise((_0x7ea7d1,_0x2719ab)=>{const _0x5a1682=_0x49094b,_0x3b06c8=new FileReader();_0x3b06c8[_0x5a1682(0x254)](_0x34a4b9),_0x3b06c8[_0x5a1682(0x331)]=_0x39ddb6=>{const _0x57a9c3=_0x5a1682;var _0x2989f4;const _0x7d9229=(_0x2989f4=_0x39ddb6[_0x57a9c3(0x4c4)])==null?void 0x0:_0x2989f4['result'];if(_0x7d9229==null){this[_0x57a9c3(0x1c3)](),_0x2719ab(new Error(_0x2a024d['ImageUploadStatusType'][_0x57a9c3(0x2d6)]));return;}const _0x19f678=_0x3eca57[_0x57a9c3(0x21e)][_0x57a9c3(0x489)](0x6);_0x7ea7d1({'imageId':_0x19f678,'imageSourceType':_0x2a024d[_0x57a9c3(0x3a7)]['UUID'],'source':_0x260628,'base64Cache':_0x7d9229,'status':_0x2a024d['ImageUploadStatusType'][_0x57a9c3(0x3e8)]}),this[_0x57a9c3(0x1c3)]();};});}['_getUploadFileURL'](){const _0x420fa5=_0x3e84f8;var _0x5fcf1b;return(_0x5fcf1b=this[_0x420fa5(0x466)][_0x420fa5(0x22e)](_0x415728))!=null?_0x5fcf1b:_0x8ddd14;}[_0x3e84f8(0x14e)](){const _0x48d6b0=_0x3e84f8;var _0x45d928;return(_0x45d928=this[_0x48d6b0(0x466)][_0x48d6b0(0x22e)](_0x4d6544))!=null?_0x45d928:_0x398a77;}[_0x3e84f8(0x42d)](_0x3329ce,_0x47f3b7){const _0x24406f=_0x3e84f8;return _0x3329ce[_0x24406f(0x457)](_0x24406f(0x3ba),_0x47f3b7);}[_0x3e84f8(0x1c3)](){const _0x1352ac=_0x3e84f8;this[_0x1352ac(0x28a)]-=0x1,this[_0x1352ac(0x195)][_0x1352ac(0x2d2)](this[_0x1352ac(0x28a)]);}},_0x2509f1['ImageIoService']=_0x5143bf([_0x2110cf(0x0,_0x3eca57[_0x3e84f8(0x13c)](_0x1c2884['HTTPService'])),_0x2110cf(0x1,_0x3eca57['IConfigService']),_0x2110cf(0x2,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x2b1)]))],_0x2509f1[_0x3e84f8(0x49e)]);var _0x15566a=Object[_0x3e84f8(0x243)],_0x471a81=Object[_0x3e84f8(0x439)],_0x18f1b9=(_0x3777af,_0x478247,_0x5e7b1a,_0x3e64c1)=>{const _0x4aa342=_0x3e84f8;for(var _0x3057ac=_0x3e64c1>0x1?void 0x0:_0x3e64c1?_0x471a81(_0x478247,_0x5e7b1a):_0x478247,_0x2fb5f1=_0x3777af[_0x4aa342(0x1a6)]-0x1,_0x2ee8fe;_0x2fb5f1>=0x0;_0x2fb5f1--)(_0x2ee8fe=_0x3777af[_0x2fb5f1])&&(_0x3057ac=(_0x3e64c1?_0x2ee8fe(_0x478247,_0x5e7b1a,_0x3057ac):_0x2ee8fe(_0x3057ac))||_0x3057ac);return _0x3e64c1&&_0x3057ac&&_0x15566a(_0x478247,_0x5e7b1a,_0x3057ac),_0x3057ac;},_0xbe2a30=(_0x5ddc79,_0x131b37)=>(_0x451fb8,_0x25bc12)=>_0x131b37(_0x451fb8,_0x25bc12,_0x5ddc79);let _0x18b628=class extends _0x3eca57[_0x3e84f8(0x37a)]{constructor(_0xc31e08,_0x50929f,_0x52aca6,_0x4de141,_0x406dba){const _0x31cf34=_0x3e84f8;super(),this['_injector']=_0xc31e08,this['_univerInstanceService']=_0x50929f,this[_0x31cf34(0x28c)]=_0x52aca6,this['_collaborationSessionService']=_0x4de141,this[_0x31cf34(0x2c7)]=_0x406dba,this[_0x31cf34(0x152)](),this[_0x31cf34(0x446)]();}[_0x3e84f8(0x446)](){const _0x4234fb=_0x3e84f8,_0x346a8c=async _0x9b978d=>{const _0x5cb978=_0x3242;(await this[_0x5cb978(0x46a)][_0x5cb978(0x2ca)](_0x9b978d))[_0x5cb978(0x15a)][_0x5cb978(0x52b)](_0x46f2f0[_0x5cb978(0x51d)](_0x449493=>_0x449493['eventID']===_0x1474a0[_0x5cb978(0x520)][_0x5cb978(0x3c7)]),_0x46f2f0['takeUntil'](this[_0x5cb978(0x138)]))[_0x5cb978(0x4da)](_0x4615c2=>{const _0x3639cf=_0x5cb978,_0x3f1a39=_0x4615c2,{reason:_0x203bb7}=_0x3f1a39[_0x3639cf(0x33d)];this[_0x3639cf(0x249)][_0x3639cf(0x4af)](_0x2ede89[_0x3639cf(0x394)])['show']({'type':_0xf694dc[_0x3639cf(0x472)]['Error'],'content':this[_0x3639cf(0x2c7)]['t']('collaboration.closeRoom')+'('+_0x203bb7+')'}),this[_0x3639cf(0x28c)]['updatePermissionPoint'](new _0x9f218b[(_0x3639cf(0x336))](_0x9b978d)['id'],!0x1),this['_collaborationSessionService'][_0x3639cf(0x2e4)](_0x9b978d);});};_0x199df4[_0x4234fb(0x148)](this[_0x4234fb(0x339)][_0x4234fb(0x362)](_0x3eca57[_0x4234fb(0x3fd)][_0x4234fb(0x28f)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3eca57[_0x4234fb(0x3fd)][_0x4234fb(0x269)]))['pipe'](_0x46f2f0[_0x4234fb(0x1ad)](_0x3376d6=>_0x3376d6[_0x4234fb(0x286)]()),_0x46f2f0[_0x4234fb(0x51d)](_0x86d6f5=>!_0x3eca57[_0x4234fb(0x3c0)](_0x86d6f5)),_0x46f2f0[_0x4234fb(0x468)](this[_0x4234fb(0x138)]))[_0x4234fb(0x4da)](_0xfeec23=>{_0x346a8c(_0xfeec23);});}[_0x3e84f8(0x152)](){const _0x3d355f=_0x3e84f8,_0x1be495=async _0x41bce8=>{const _0xc8508e=_0x3242;(await this[_0xc8508e(0x46a)][_0xc8508e(0x2ca)](_0x41bce8))['event$'][_0xc8508e(0x52b)](_0x46f2f0[_0xc8508e(0x51d)](_0x13dfe1=>_0x13dfe1[_0xc8508e(0x11c)]===_0x1474a0['CollaborationEvent'][_0xc8508e(0x431)]),_0x46f2f0['takeUntil'](this[_0xc8508e(0x138)]))[_0xc8508e(0x4da)](_0x28f804=>{const _0x86d00=_0xc8508e,_0x7147=_0x28f804,{objectId:_0x5e74ca}=_0x7147[_0x86d00(0x33d)],_0x579409=this[_0x86d00(0x249)]['get'](_0x346aeb[_0x86d00(0x3b9)]);_0x5e74ca===_0x41bce8?_0x579409[_0x86d00(0x1f4)](_0x41bce8):_0x579409[_0x86d00(0x26d)](_0x41bce8,_0x5e74ca);});};_0x199df4['merge'](this[_0x3d355f(0x339)]['getTypeOfUnitAdded$'](_0x3eca57[_0x3d355f(0x3fd)][_0x3d355f(0x28f)]),this[_0x3d355f(0x339)]['getTypeOfUnitAdded$'](_0x3eca57[_0x3d355f(0x3fd)][_0x3d355f(0x269)]))[_0x3d355f(0x52b)](_0x46f2f0[_0x3d355f(0x1ad)](_0x49b61e=>_0x49b61e[_0x3d355f(0x286)]()),_0x46f2f0['filter'](_0x160610=>!_0x3eca57[_0x3d355f(0x3c0)](_0x160610)),_0x46f2f0[_0x3d355f(0x468)](this['dispose$']))[_0x3d355f(0x4da)](_0x39cd12=>{_0x1be495(_0x39cd12);});}};_0x18b628=_0x18f1b9([_0x3eca57[_0x3e84f8(0x1ef)](_0x3eca57[_0x3e84f8(0x377)]['Starting'],_0x18b628),_0xbe2a30(0x0,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x368)])),_0xbe2a30(0x1,_0x3eca57[_0x3e84f8(0x2b1)]),_0xbe2a30(0x2,_0x3eca57[_0x3e84f8(0x3a9)]),_0xbe2a30(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x2509f1['CollaborationSessionService'])),_0xbe2a30(0x4,_0x3eca57['Inject'](_0x3eca57[_0x3e84f8(0x477)]))],_0x18b628);const _0x1dc639=_0x3e84f8(0x27f);var _0x251f6e=Object[_0x3e84f8(0x243)],_0x158f5c=Object[_0x3e84f8(0x439)],_0x2cf9f5=(_0x5c5500,_0x37a2b1,_0x1d3f3c)=>_0x37a2b1 in _0x5c5500?_0x251f6e(_0x5c5500,_0x37a2b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d3f3c}):_0x5c5500[_0x37a2b1]=_0x1d3f3c,_0x5bfd05=(_0x4b5148,_0x1edbcb,_0x508133,_0x5de38f)=>{for(var _0x491ac0=_0x5de38f>0x1?void 0x0:_0x5de38f?_0x158f5c(_0x1edbcb,_0x508133):_0x1edbcb,_0x3bcd18=_0x4b5148['length']-0x1,_0x5f384b;_0x3bcd18>=0x0;_0x3bcd18--)(_0x5f384b=_0x4b5148[_0x3bcd18])&&(_0x491ac0=(_0x5de38f?_0x5f384b(_0x1edbcb,_0x508133,_0x491ac0):_0x5f384b(_0x491ac0))||_0x491ac0);return _0x5de38f&&_0x491ac0&&_0x251f6e(_0x1edbcb,_0x508133,_0x491ac0),_0x491ac0;},_0x14b702=(_0x10f11f,_0x4a5816)=>(_0x3b4d51,_0x46a1b9)=>_0x4a5816(_0x3b4d51,_0x46a1b9,_0x10f11f),_0x2ac310=(_0x5e4682,_0x3d905b,_0x104c58)=>_0x2cf9f5(_0x5e4682,_0x3d905b+'',_0x104c58);const _0x3ecf66=_0x3e84f8(0x308);_0x2509f1[_0x3e84f8(0x4fc)]=class extends _0x3eca57[_0x3e84f8(0x1fa)]{constructor(_0x34f59a={},_0x457f24,_0x5a083a,_0x36a44b,_0xb32d4e){const _0x5cf98f=_0x3e84f8;super(),this[_0x5cf98f(0x3c8)]=_0x34f59a,this[_0x5cf98f(0x31d)]=_0x457f24,this[_0x5cf98f(0x42a)]=_0x5a083a,this['_injector']=_0x36a44b,this[_0x5cf98f(0x466)]=_0xb32d4e;const {..._0x4886c1}=this[_0x5cf98f(0x3c8)];this['_configService'][_0x5cf98f(0x2ec)](_0x1dc639,_0x4886c1);}[_0x3e84f8(0x4c8)](){const _0x39732c=_0x3e84f8;this[_0x39732c(0x487)]();}['onRendered'](){const _0x35c653=_0x3e84f8;this[_0x35c653(0x3ab)]();}[_0x3e84f8(0x487)](){const _0x4b31e0=_0x3e84f8;var _0x499f2d,_0x3b3513,_0x2b9c17,_0x3ac50;this[_0x4b31e0(0x249)][_0x4b31e0(0x2a7)](_0x3eca57[_0x4b31e0(0x33f)])&&this[_0x4b31e0(0x31d)][_0x4b31e0(0x543)](_0x4b31e0(0x259),_0x4b31e0(0x357));let _0x31c57e=[[_0x3eca57[_0x4b31e0(0x33f)],{'useClass':_0x142f05}],[_0x2509f1[_0x4b31e0(0x332)]],[_0x29d267],[_0x1c2884['HTTPService']],[_0xd144bd,{'useClass':_0x506bde}],[_0x5df92e],[_0x2509f1[_0x4b31e0(0x373)]],[_0x1c2884['WebSocketService']],[_0x322a21],[_0x1fbfda],[_0xd6db42],[_0x2436eb],[_0x367805],[_0x1c6422],[_0x18b628],[_0x484b9f,{'useClass':(_0x3b3513=(_0x499f2d=this[_0x4b31e0(0x3c8)])==null?void 0x0:_0x499f2d[_0x4b31e0(0x386)])!=null?_0x3b3513:_0x2509f1['CollaborationSocketService']}],[_0x1c2884[_0x4b31e0(0x529)],{'useClass':_0x1c2884[_0x4b31e0(0x4a7)]}],[_0x1474a0[_0x4b31e0(0x437)],{'useClass':_0x2509f1[_0x4b31e0(0x1a7)]}],[_0x3eca57[_0x4b31e0(0x3ea)],{'useClass':_0x2509f1[_0x4b31e0(0x4cc)]}],[_0x2a024d[_0x4b31e0(0x292)],{'useClass':_0x2509f1['ImageIoService']}],[_0x2509f1[_0x4b31e0(0x171)]],[_0x2509f1[_0x4b31e0(0x4bf)]],[_0x2509f1[_0x4b31e0(0x300)]],[_0x495f33],[_0x1fb14c]];(_0x2b9c17=this[_0x4b31e0(0x3c8)])!=null&&_0x2b9c17[_0x4b31e0(0x202)]&&_0x31c57e[_0x4b31e0(0x434)]([_0x39225f,{'useClass':_0x1bad77}]),_0x31c57e=_0x3eca57[_0x4b31e0(0x184)](_0x31c57e,(_0x3ac50=this[_0x4b31e0(0x3c8)])==null?void 0x0:_0x3ac50[_0x4b31e0(0x51f)]),_0x31c57e[_0x4b31e0(0x306)](_0x596b7f=>this[_0x4b31e0(0x249)][_0x4b31e0(0x44d)](_0x596b7f)),this[_0x4b31e0(0x141)]();}[_0x3e84f8(0x3ab)](){const _0x5a3b9d=_0x3e84f8;this[_0x5a3b9d(0x4ed)](this['_renderManagerService'][_0x5a3b9d(0x4b6)](_0x3eca57[_0x5a3b9d(0x3fd)][_0x5a3b9d(0x269)],[_0x19948e])),this[_0x5a3b9d(0x4ed)](this[_0x5a3b9d(0x42a)]['registerRenderModule'](_0x3eca57[_0x5a3b9d(0x3fd)]['UNIVER_SHEET'],[_0x4d9935]));}[_0x3e84f8(0x141)](){const _0x5f04d8=_0x3e84f8;var _0x490127,_0xf2dc8d;this['_injector']['get'](_0x1c2884['HTTPService'])[_0x5f04d8(0x514)]({'priority':0x14,'interceptor':_0x1c2884[_0x5f04d8(0x1aa)]({'maxParallel':0x6})}),(_0x490127=this[_0x5f04d8(0x3c8)])!=null&&_0x490127[_0x5f04d8(0x1a0)]||this[_0x5f04d8(0x249)][_0x5f04d8(0x4af)](_0x2509f1[_0x5f04d8(0x373)])['disableLocalCache'](),(_0xf2dc8d=this['_config'])!=null&&_0xf2dc8d[_0x5f04d8(0x262)]&&this[_0x5f04d8(0x249)][_0x5f04d8(0x4af)](_0x367805),this[_0x5f04d8(0x249)][_0x5f04d8(0x4af)](_0x2509f1[_0x5f04d8(0x171)]),this[_0x5f04d8(0x249)][_0x5f04d8(0x2a7)](_0x2509f1[_0x5f04d8(0x300)])&&this[_0x5f04d8(0x249)]['get'](_0x2509f1[_0x5f04d8(0x300)]);}},_0x2ac310(_0x2509f1[_0x3e84f8(0x4fc)],_0x3e84f8(0x347),_0x3ecf66),_0x2509f1['UniverCollaborationClientPlugin']=_0x5bfd05([_0x3eca57[_0x3e84f8(0x211)](_0x1474a0[_0x3e84f8(0x40b)]),_0x14b702(0x1,_0x3eca57[_0x3e84f8(0x391)]),_0x14b702(0x2,_0x29e386[_0x3e84f8(0x417)]),_0x14b702(0x3,_0x3eca57[_0x3e84f8(0x13c)](_0x3eca57[_0x3e84f8(0x368)])),_0x14b702(0x4,_0x3eca57[_0x3e84f8(0x25c)])],_0x2509f1[_0x3e84f8(0x4fc)]),_0x2509f1['AUTHZ_URL_KEY']=_0x5d08cd,_0x2509f1[_0x3e84f8(0x189)]=_0x11b9bd,_0x2509f1[_0x3e84f8(0x2b7)]=_0x2e0e5e,_0x2509f1['CollaborationStatus']=_0x4bd68c,_0x2509f1[_0x3e84f8(0x380)]=_0x352a6e,_0x2509f1['CommentService']=_0x1c6422,_0x2509f1['HEARTBEAT_INTERVAL_KEY']=_0x14a4f4,_0x2509f1[_0x3e84f8(0x3df)]=_0x4d3ef7,_0x2509f1['ICollaborationSocketService']=_0x484b9f,_0x2509f1['IURLService']=_0xd144bd,_0x2509f1[_0x3e84f8(0x20c)]=_0x55047c,_0x2509f1[_0x3e84f8(0x1bf)]=_0x14e0af,_0x2509f1[_0x3e84f8(0x447)]=_0x276e46,_0x2509f1[_0x3e84f8(0x2fe)]=_0x424e1f,_0x2509f1['SEND_CHANGESET_TIMEOUT_KEY']=_0x3580e7,_0x2509f1[_0x3e84f8(0x2a9)]=_0x3ec466,_0x2509f1[_0x3e84f8(0x34c)]=_0x48129e,_0x2509f1['SessionStatus']=_0x39f403,_0x2509f1[_0x3e84f8(0x372)]=_0x677fb,_0x2509f1['WebURLService']=_0x506bde,_0x2509f1[_0x3e84f8(0x3f9)]=_0x588539,_0x2509f1[_0x3e84f8(0x3e7)]=_0x40c916,Object[_0x3e84f8(0x243)](_0x2509f1,Symbol[_0x3e84f8(0x382)],{'value':_0x3e84f8(0x241)});}));
1
+ function _0x34c4(){const _0x30feab=['CollaborationEntity','function','row','_snapshotServerService','post','registerBeforeClose','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CommentService','submit\x20changeset\x20error!','collabCursorState$','SEND_CHANGESET_TIMEOUT_KEY','getParam','_acknowledgedAwaitingChangeset','_substituteRedoStack','getColor','_setupBeforeClosingHandler','endRow','addObjects','createCollaborator','downloadEndpointUrl','c2Prime','icon','@univerjs/sheets-ui','permission.content','IMessageService','_getSnapshotAPIPrefix','_entities','initWorkbookPermissionChange','_change$','distinctUntilChanged','UniverInstanceType','ITransformService','SNAPSHOT_SERVER_URL_KEY','onTransformIME','useObservable','addObject','_anchorDot','_transitionLocked','ILogService','_showConflictNotification','ws://127.0.0.1:8000/universer-api/comb/connect','Undefined','backgroundColor','apply','_cursorInfo$','session.connection-failed','_substituteUndoStack','HEADER_MENU','cursorInfo$','\x20in\x20_schedule.','show','CollaborationSession','findNodePositionByCharIndex','DeleteRangeMoveUpCommandId','getCellPositionByOffset','_unitID','_permissionService','RevisionService','/universer-api/file/{fileID}/sign-url','batchAllowed','defs','IConfigService','_members','ICollaborationSocketService','IRenderManagerService','saveOfflineData','Unknown\x20user','/universer-api/authz','_configService','history','isArray','onRemoteChangeset','updateMember','&assign=','Inject','_updateCollabCursors','DataLoaderController','IUndoRedoService','_getLoginPath','textRanges','_clearTimeoutTimer','removeMember','_loadDoc','eventID','handleInsertCol','includes','subUnitId','_undoStacks','toString','HEARTBEAT_TIMEOUT_KEY','_syncEditingCollabCursorService','BehaviorSubject','onStateChange','DesktopCollaborationStatusDisplayController','Subject','_scheduleHeartbeat','transformByState','Rectangle','column','deserializeToCombResponse','ISnapshotServerService','registerRenderModule','getUnitOnRev','failed\x20to\x20apply\x20missed\x20changesets!','setCurrentUser','Module','div','method','split','4910801DxafBD','_updateLocalCache','_rescheduleHeartbeat','&to=','AuthzIoHttpService','getActiveSheet','transformUndoRedo','[CollaborationEntity]','UNIVER_SHEET','_replaceFileID','_clearUndo','activeSheet$','_initStatusComponent','INVALID_ARGUMENT','listCollaborators','open$','add','requireSession','disableLocalCache','_updateStatus','headers','patch','React','_registerDependencies','_hideTimer','popstate','_awaitingChangeset','awaiting','enableAuthServer','_applyRemoteChangeset','Rect','_docTransformIMECacheService','withCredentials','APPLY_NON_SEQUENTIAL_REVISION','string','/rev/','removeEventListener','@univerjs/docs-ui','getConfig','Starting','setActiveRange','setItem','RETRY_CONNECTING_INTERVAL_KEY','CONFLICT','getRelativeToViewportCoord','call','objectActions','slice','Injector','_socket','onlyLocal','clear','/allowed','delay','XHRHTTPImplementation','RxDisposable','ALREADY_EXISTS','getFocusedUnit','HELLO','CONNECTOR_DATA_TOO_LARGE','?url=','NOT_FOUND','_exhaustRemoteChangesetQueue','session.room-full','COLLAB_SUBMIT_CHANGESET_URL_KEY','encodeURIComponent','\x20to\x20','measureText','_hover','actions','_revisionService','_getAnchorBounding','1828800qlrJIQ','_shapes','[OfflineState]:\x20received\x20changeset.','@univerjs/design','concatMap','MSG_FOR_ERROR','synced','online','getDocRanges','storage','InsertRangeMoveRightCommandId','UniverEngineFormula','_instanceService','objectType','[SyncedState]:\x20received\x20rejection.','_startCollaboration','getCurrentRevOfUnit','PENDING','RefRangeService','_send','@univerjs/ui','newValue','map','_registerRenderDependencies','getItem','incrementRevOfUnit','_getSignURL','_cachedData','[OfflineState]:\x20received\x20rejection.','handleIRemoveRow','_commentUpdate$','_updateURLWithCurrentState','_initMergeInterceptor','transformChangesets','_localCacheService','_joinRoom','_replayCachedMutations','forwardRef','JOINING','setConfig','/universer-api/comb','getSheetId','_type','BASE64','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_singleActiveUnitService','_hovered','@univerjs-pro/collaboration','change$','_disableEditing','subscribe','getCollabEntity','_setupSubUnitSync','4mWswUo','moveTo','[UniverCollaborationClientPlugin]','_transformIMECache','transformMutationsWithChangeset','_colorAssignService','getActiveRange','[CollaborationSessionService]','defIds','@univerjs/drawing','session.collaboration-timeout','className','_removeCollabCursors','_onRemoteChangeset','setAlpha','symbol','_uiPartsService','YUUMI_URL_COL_OUT_OF_RANGE','COLLAB_WEB_SOCKET_URL','saveImage','handleDeleteRangeMoveUp','_scheduleTimestamp','_commentService','_selfUnitIDs','WebSocketService','useRef','c1Prime','_httpService','fetch_missing','#FFF','COMPRESS_MUTATION_SEND','addImageSourceCache','_handleHeartbeatEvent','SetWorksheetActivateCommand','forEach','override','625647ABVfjY','COMPRESS_MUTATION_APPLY','createElement','close$','_onCursorDelete','some','isTransformMutationFailure','_drawRectRange','UNIVER_SLIDE','toggleOffline','closePath','_incrementRevisionNumber','originalMeta','getUnhiddenWorksheets','joinRsp','conflict.content','CHANGESET_REJ','OTHER_CLIENTS_EDITING','_onJoinRoomEvent','_session','_getUndoStack','_eventUnsubscribe','updatePermissionObjEvent','[DataLoaderController]','_textBubble','parse','onStarting','black','_timeoutTimer','message$','{fileID}','NO_OTHER_CLIENTS_EDITING','univer-online-status-title','_initStatusListener','_sendHeartbeat','_unitOnClients','status','Tools','_waitCount','onlineStatusTitle','getCurrent','Plugin','SheetCollaborationEntity','defineProperty','SNAPSHOT_HAS_BEEN_REMOVED','members','PERMISSION_DENIED','contains','range','ACTIVE_UNIT_EVENT_CHANNEL','Optional','roomInfos','M0\x200H16V16H0z','hide','_handleHover','translate(.97)','svg','replaceState','reject','_init','getOwnPropertySymbols','collabStatus.syncing','_onConnectionOpen','_candidateSocket','merge','getSheetBySheetId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','disposeWithMe','LIVESHARE_TERMINATE','univer-online','_id','_syncEditingCollabCursor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','entries','_removeClearOtherTimer','_transformPreviousActiveRange','fetching\x20missing\x20changesets\x20from\x20','LIVESHARE_REQUEST_HOST','setUndoRedoMutationParamsCache','SheetsSelectionsService','_transformService','_createSocket','ColorKit','colorChannel1','arc','MessageType','_decreaseWaiting','isPermissionRej','RECV','collaMsg','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','key','IUIPartsService','data','COLLAB_WEB_SOCKET_URL_KEY','onlineStatusIcon','assignAColorForMemberID','searchParams','_scheduleClearOtherTimer','getWorkbookSelections','@univerjs/network','UniverUi','LocalCacheService','addEventListener','length','_getDownloadEndpointURL','unitID','_schedule','find','UniverSheetsUi','_online','AWAITING_WITH_PENDING','_getUploadFileURL','resourceIDs','ImageIoService','baseRev','Warning','fetchMiss','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','m2Prime','CollaborationStatusDisplay','collaboratorID','_ws','startsWith','lineTo','currentSkeleton$','propertyIsEnumerable','create','Ready','verdancy600','color','IPermissionService','RETRY_CONNECTING_INTERVAL','loadOfflineData','mapDocumentTypeToUniverType','_onConflict','[CollaborationUndoRedoService]','_loadSheet','Steady','currentColor','UNDEFINED','_transformRemoteChangesetByIMECache','624400ibyXjZ','commentUpdateEvent','transform','_collabCursorController','LOCAL_CACHE_INTERVAL','[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.','revision','_scheduleCollaborationTimeoutTimer','beginPath','_onUserLeave','uni.network.url-service','extend','sessionStatus','_snapshotService','with','_collaborationSessionService','CollaborationController','json','compose','UPDATE_PERMISSION_OBJ','_color','clearTimeout','_initCommandExecutedListener','labelPosition','isTransformChangesetsSuccess','onMissedChangesetFetched','tag','UniverCollaborationClient','_lastPointer','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ITelemetryService','getCollabCursors$','from','_sendingTimer','updateCursorEvent','unknown','SUBMIT_CHANGESET','onMissingChangesets','exhaustSavingTask','isTransformMutationsWithChangesetFailure','objectID','resolve','Disposable','getMemberID','fetchThroughInterceptors','NOT_COLLAB','unsubscribe','_unitStatus','enableSingleActiveInstanceLock','collaboration-session-retry','pluginName','_docSkeletonManagerService','setParam','_renderManagerService','IContextService','_getCtorByUniverType','SHOULD_CLOSE_CONN','LEAVE','exports','hasOwnProperty','_cursors','CollaborationSessionService','...','AUTHZ_URL_KEY','_tryEnsureSocket','transformIMECache','size','duration','save','debounce','workbook','fillStyle','children','CommandType','interceptor','UniverNetwork','drawWith','getUnit','/universer-api/snapshot/','getTime','permissionRejEvent','EmptyMutation','collab-text-range-','body','_onRemoteRejected','has','getVpScrollXYInfoByPosToVp','type','updatePermissionPoint','collabStatus.synced','_sendHeartbeatTimer','ThemeService','filter','_throwTelemetryCollaborationNewChangeset','MUTATION','toDisposable','handleInsertRow','_userManagerService','IDLE','_imageSourceCache','UNKNOWN_CMD','_entityInit$','focused$','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','FileId','width','toggleOnline','0\x200\x2017\x2016','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_MAX_UNITS_EXCEEDED','_onConnectionFailed','LOCAL_CACHE_INTERVAL_KEY','substring','red300','180yKRaYN','getAncestorScale','error$','permission.title','FETCH_MISS','image/gif','doc.mutation.rich-text-editing','SheetSkeletonManagerService','offline','setShapeProps','none','parseProtocolChangeset','_listenToOnlineEvent','encode','_transformUndoRedoStack','onload','getMember','_clearHeartbeatTimer','pauseCollaboration','CollaborationEvent','_transformStack','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','shareReplay','InsertRangeMoveDownCommandId','roomMembers$','fetchMissingChangesets','COLORS','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','url(#off-line-single_clip0_910_343)','unshift','_createInitialStateImpl','1783602yAoRNI','_toggleOnline','result','get','responseType','IRemoteInstanceService','_getRedoStack','MoveRangeCommandId','fill','_name','disposeUnit','_draw','_onMessage','USERS_ENTER','subscribeEvent','_context','allowed','INGEST','getUnitId','delete','@univerjs/core','bottom','_univerInstanceService','RegularPolygon','isInternalEditorID','image/jpg','_localStorageService','IURLService','_cursor','handleInsertRangeMoveRight','_onOffline','getMergeData','onMouseMove','@univerjs/sheets','UniverEngineRender','syncEditingCollabCursor','onRemoteAck','JOIN','BuiltInUIPart','startColumn','_assignedColors','onCommentUpdate','getCurrentUser','idSuffix','random','localeService','UniverSheets','_lockTransition','image/jpeg','fillText','_cursorShapes','lodash/debounce','collaboration.single-unit.warning','PERMISSION_REJ','_labelPosition','indexOf','setWaitCount','COMPLETION_FINISHED','_ensureSubject','clsx','url','getCurrentSelections','rev','getSkeleton','memberID','off-line-single_clip0_910_343','UNKNOWN_CODE','prototype','isActive','_telemetryService','POST','endColumn','LifecycleStages','put','action','useDependency','registerRefRange','getSheetObject','fromEvent','/unit/','CHANGESET_ACK','getOwnPropertyDescriptor','onSendChangeset','combineLatest','set','whenReady','OFFLINE','updateOfflineData','_initResize','getTypeOfUnitDisposed$','useCallback','getResourcesRequest','subunit','_getAPIPrefixPath','NodePositionConvertToRectRange','UserManagerService','_updateSubUnitFromURLParams','restore','mergeOverrideWithDependencies','resend','_commandService','dispose','onPointerMove$','DocSelectionManagerService','serializeRangeWithSheet','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','_range','UNRECOGNIZED','_injector','Vector2','executeCommand','refreshPermission','PSEUDO_FETCH_MISSING_RESULT','transformRemoteChangeset','getTypeOfUnitAdded$','_messageService','pushState','text','serializeCombRequest','_executeRemoteChangeset','clearInterval','attrs','LICENSE_EXPORT_SIZE_EXCEEDED','getImage','height','getRangePointData','UPDATE_CURSOR','UnitEmbedded','href','min','IUniverInstanceService','4762ZHdRpS','FETCH_MISSING','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','univer-offline','_shouldReportTelemetry','Workbook','loadDoc','_status$','_handleJoinEvent','_drawTextRange','deepClone','list','HEARTBEAT_INTERVAL','createInstance','_HTTPService','object','_startTelemetryCollaborationNewChangeset','RETRY_CONNECTING_MAX_COUNT_KEY','0\x200\x2016\x2016','_collaborationPaused','/object','target','catch','_initUnitPermissionChange','max','_createInitialState','[CollaborationSessionService]:\x20socket\x20error','_roomMembers','_undoRedoService','ILocalStorageService','AWAITING','connectInjector','UNIVER_DOC','_collaborationController','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','OnLifecycle','/object/','getImageSourceCache','/universer-api/oidc/authpage','UniverDesign','setTimeout','ImageUploadStatusType','fillRule','[CollaborationState]:\x20apply\x20error!','connection\x20error','xlink:href','1456065SzaqFi','socket\x20close','IAuthzIoService','[PendingState]:\x20received\x20acknowledgement.','textEncoder','_toggleOffline','RETRY_CONNECTING_MAX_COUNT','amd','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','takeUntil','_startDocCollabCursor','onCommandExecuted','onPointerEnter$','_state$','_getMergeRange','roles','_telemetryInfo','onTransformSelections','sessionStatus$','url(#$1','triggerDblclick','location','_clearScheduledTask','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CollaborationSocketService','debug','_sheetSkeletonManagerService','SnapshotServerOverHTTPService','unitId','isValidRectRange','LOGIN_URL_KEY','gold400','session','UniverCollaborationClientPlugin','HTTPRequest','event$','currentTheme$','collabStatus.notCollab','concat','/-/object/-/batch_allowed','_onRecvEvent','cursorInfo','complete','_isPermissionRej','state$','@univerjs/rpc','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collabStatus.conflict','SetDocZoomRatioOperation','getUndoRedoMutationParamsCache','LIVESHARE_OPERATION','SYNCED','_waitForHeartbeatResponse','fromCollab','closeSession','registerComponent','fromEventSubject','getInterceptPoints','248plOjfB','HttpImport','onTransformRemoteChangesetByIMECache','roomMembers','_transformUndoredo','UniverDrawing','UNIVER_COLLABORATION_CLIENT_PLUGIN','auth.needGotoLoginAlert','_saveTaskMap','YUUMI_UNABLE_LOAD_URL','collaboration_new_changeset','joinEvent','univer-online-status-icon','TEXT_RANGE_LAYER_INDEX','socket\x20open.','_http','_onCursorUpdate','_clearOtherTimers','_state','round','onSyncEditingCollabCursor','createIdentifier','HTTPService','editing\x20status\x20changed\x20to','_tryReconnect','[SyncedState]:\x20received\x20acknowledgement.','rxjs','@univerjs/telemetry','RichTextEditingMutation','/-/object/list','send','now','LIVESHARE_FETCH_OPERATIONS','SnapshotService','_docStateChangeManagerService','/universer-api/snapshot','APPLY_REJECT','_remoteChangesetQueue','state','LIVESHARE_NEW_HOST','not_collab','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','unit-cache-','_startSheetCollabCursor','univer-pro.collaboration-client-socket-service','_pendingMutations','_transformSelections','createSocket','CHANGESET_REVISION_CONFILICT','_collabSessionService','use','_render','48HXnYae','getCurrentUnitForType','DocStateChangeManagerService','handleDeleteRangeMoveLeft','liveShareNewHost','NEW_CHANGESETS','displayName','m1Prime','Tooltip','conflict.title','CompressMutationService','_refRangeService','_clearRedo','_socket$','_retryCount','generateRandomId','debounceTime','WebURLService','_onFetchMissResult','evenodd','reverse','_docSyncEditingCollabCursorService','transformStack\x20failed!','_scene','_handleLeaveEvent','onRemoteRej','pipe','error','_compressMutationService','path','onPointerLeave$','TOO_MANY_REQUESTS','#fff','asObservable','DocIMEInputManagerService','session.will-retry','values','SetTextSelectionsOperation','FAIL','_roomMembers$','react','ranges','cmd','SessionStatus','VIEW_MAIN','RemoveRowCommandId','MergeInterceptorFactory','JSONX','_socketMessageSubscription','every','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','SNAPSHOT_URL_KEY','_updateState','_document','_drawAnchor','on-line-single_clip0_910_349','getUnitStatus$','editingUnit','_handleEvent','appendMutation','IHTTPImplementation','_refreshCollabCursors','_queuedRemoteChangesets','close','\x0aCurrent:\x20','COMMENT_UPDATE','url(#on-line-single_clip0_910_349)','transformSelections','_docTransformSelectionsService','@univerjs/engine-formula','1em','setInterval','_getScale','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_urlService','makeDirty','Error','_getCurrentRevision','NodePositionConvertToCursor','_colorIndex','_themeService','UNIVER_UNKNOWN','ERROR_IMAGE','_getSheetObject','urlChange$','DocCollaborationEntity','InsertRowCommandId','_socketReady','getOffsetConfig','liveShareOperation','b64DecodeUnicode','transformMutation','awaiting_with_pending','purple300','_onRefRangeChange','registerHTTPInterceptor','dispose$','@univerjs/docs','top','_checkMissing','toRgbString','HttpExport','_sessions','pending','mutations','push','SetSelectionsOperation','sheetId','then','_backgroundColor','removeParam','snapshot','collabStatus.offline','ICommandService','status$','isTransformMutationsWithChangesetSuccess','selection','userID','YUUMI_RATE_OVER_LIMIT','VIEWPORT_KEY','_retryConnectingTimer','_getAPIPrefix','_event$','_initCloseConn','_clearCollaborationTimeoutTimer','/collaborator','newCsEvent','collaboration.closeRoom','_memberService','IBeforeCloseService','_collabCursorState$','_logService','USERS_LEAVE','stringify','getCoordByCell','IImageIoService','_notificationService','reconnect','requestParams','UniverDocsUi','_onCombEvent','_anchor','_beforeCloseService','getRoom','current','_sessionStatus$','_disabled','enableLocalCache','replace','next','_collaborationTimeoutTimer','selections','params','YUUMI_SUBSCRIPTION_NOT_FOUND','deserializeRangeWithSheet','SNAPSHOT_INVALID_SNAPSHOT','_config','_scheduleSaving','skeleton','_heartbeatTimer','stopTime','awaitingChangeset','clipPath','getRenderById','unit','ImageSourceType','WorkbookEditablePermission','startRow','_getSendChangesetTimeout','conflict','_clearLocalCache','UniverCollaboration','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_unlockTransition','image/bmp','code','Shape','routeKey','isEditing','HEARTBEAT_INTERVAL_KEY','getValue','_onLocalMutation','socket$','_getSaveTimeout','take','DocSkeletonManagerService','HEARTBEAT','changesets','UNIVER_PROJECT','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createHandler','_localeService','_socketService','_updateLocalCursor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onUserJoin','_saveCache','resize','assign','sheetID','engine','switchMap','APPLY_PERMISSION_DENIED','_handler','_listenToOfflineEvent','SEND_CHANGESET_TIMEOUT','_stopTelemetryCollaborationNewChangeset','handleInsertRangeMoveDown','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','EffectRefRangId','ONLINE','univerjs-icon\x20univerjs-icon-','UnitSnapshot','_initModules','leaveEvent','/universer-api/stream/file/upload','\x0aAfter:\x20','csAckEvent','_fetchMissChangesets','update','\x20-\x20','LocaleService','name','OnLineSingle','init'];_0x34c4=function(){return _0x30feab;};return _0x34c4();}function _0x437d(_0x114ab1,_0x1214e1){const _0x34c40f=_0x34c4();return _0x437d=function(_0x437d32,_0x30651c){_0x437d32=_0x437d32-0x19c;let _0x16a6f3=_0x34c40f[_0x437d32];return _0x16a6f3;},_0x437d(_0x114ab1,_0x1214e1);}(function(_0x5f8779,_0x553f9c){const _0x20015d=_0x437d,_0x36530e=_0x5f8779();while(!![]){try{const _0x7db874=-parseInt(_0x20015d(0x409))/0x1*(-parseInt(_0x20015d(0x3a1))/0x2)+-parseInt(_0x20015d(0x31e))/0x3*(-parseInt(_0x20015d(0x1da))/0x4)+parseInt(_0x20015d(0x28c))/0x5*(parseInt(_0x20015d(0x43d))/0x6)+-parseInt(_0x20015d(0x58b))/0x7+parseInt(_0x20015d(0x1a5))/0x8+-parseInt(_0x20015d(0x3cf))/0x9+parseInt(_0x20015d(0x2ff))/0xa*(-parseInt(_0x20015d(0x1fe))/0xb);if(_0x7db874===_0x553f9c)break;else _0x36530e['push'](_0x36530e['shift']());}catch(_0x3110ec){_0x36530e['push'](_0x36530e['shift']());}}}(_0x34c4,0x804ec),function(_0x284fd8,_0x14dde8){const _0x4f34e2=_0x437d;typeof exports==_0x4f34e2(0x3b0)&&typeof module<'u'?_0x14dde8(exports,require(_0x4f34e2(0x332)),require(_0x4f34e2(0x423)),require('rxjs/operators'),require(_0x4f34e2(0x1a8)),require('@univerjs/ui'),require('@univerjs/network'),require('@univerjs-pro/collaboration'),require(_0x4f34e2(0x424)),require(_0x4f34e2(0x49e)),require(_0x4f34e2(0x5b0)),require(_0x4f34e2(0x33f)),require('@univerjs/engine-render'),require('@univerjs/drawing'),require(_0x4f34e2(0x482)),require(_0x4f34e2(0x351)),require(_0x4f34e2(0x534)),require(_0x4f34e2(0x465)),require(_0x4f34e2(0x359)),require(_0x4f34e2(0x3fc))):typeof define==_0x4f34e2(0x51f)&&define[_0x4f34e2(0x3d6)]?define([_0x4f34e2(0x2c7),_0x4f34e2(0x332),'rxjs','rxjs/operators','@univerjs/design',_0x4f34e2(0x1b9),_0x4f34e2(0x262),_0x4f34e2(0x1d4),_0x4f34e2(0x424),_0x4f34e2(0x49e),'@univerjs/docs-ui',_0x4f34e2(0x33f),'@univerjs/engine-render',_0x4f34e2(0x1e3),_0x4f34e2(0x482),_0x4f34e2(0x351),_0x4f34e2(0x534),'react',_0x4f34e2(0x359),_0x4f34e2(0x3fc)],_0x14dde8):(_0x284fd8=typeof globalThis<'u'?globalThis:_0x284fd8||self,_0x14dde8(_0x284fd8[_0x4f34e2(0x2a7)]={},_0x284fd8['UniverCore'],_0x284fd8[_0x4f34e2(0x423)],_0x284fd8[_0x4f34e2(0x423)]['operators'],_0x284fd8[_0x4f34e2(0x3c8)],_0x284fd8[_0x4f34e2(0x263)],_0x284fd8[_0x4f34e2(0x2d8)],_0x284fd8[_0x4f34e2(0x4e8)],_0x284fd8['UniverTelemetry'],_0x284fd8['UniverDocs'],_0x284fd8[_0x4f34e2(0x4c8)],_0x284fd8[_0x4f34e2(0x34c)],_0x284fd8[_0x4f34e2(0x340)],_0x284fd8[_0x4f34e2(0x40e)],_0x284fd8[_0x4f34e2(0x1b0)],_0x284fd8['lodash'][_0x4f34e2(0x2d2)],_0x284fd8[_0x4f34e2(0x26b)],_0x284fd8[_0x4f34e2(0x5a1)],_0x284fd8[_0x4f34e2(0x359)],_0x284fd8['UniverRpc']));}(this,function(_0x19e906,_0x22bd76,_0xb468a3,_0x5ac862,_0x5562a6,_0x1b23d2,_0x9bd9f,_0x2cb6ec,_0x5df134,_0x369ae4,_0x3efaf4,_0x38d7d8,_0x3ab0d3,_0x1fbc38,_0x505ad4,_0x113112,_0x945537,_0x2ae23a,_0x1712cf,_0x4dbbff){'use strict';const _0x464faf=_0x437d;var _0x3c27a5=Object[_0x464faf(0x229)],_0x3d975b=(_0x5b2e99,_0x366847,_0x107c41)=>_0x366847 in _0x5b2e99?_0x3c27a5(_0x5b2e99,_0x366847,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x107c41}):_0x5b2e99[_0x366847]=_0x107c41,_0x41b507=(_0xe09e82,_0x1800f4,_0x5c71f2)=>_0x3d975b(_0xe09e82,typeof _0x1800f4!=_0x464faf(0x1e9)?_0x1800f4+'':_0x1800f4,_0x5c71f2);const _0x30cccf=_0x464faf(0x53e),_0xe696b2=_0x464faf(0x42c),_0x407342=_0x464faf(0x470),_0xdd38af=_0x464faf(0x50a),_0x103754=_0x464faf(0x1ec),_0x57987e=_0x464faf(0x546),_0x2e9ff9=_0x464faf(0x3ad),_0x2d9c81='HEARTBEAT_TIMEOUT',_0x470888=_0x464faf(0x282),_0x1a7bc5=_0x464faf(0x3d5),_0x1c42e9=_0x464faf(0x290),_0x384be7='COLLAB_SUBMIT_CHANGESET_URL',_0x16cc0e=_0x464faf(0x1cd),_0x4e8aa6=_0x464faf(0x3ed),_0x283d9c=_0x464faf(0x3c7);var _0x19883d=(_0x527643=>(_0x527643[_0x527643[_0x464faf(0x28a)]=0x0]=_0x464faf(0x28a),_0x527643[_0x527643['OK']=0x1]='OK',_0x527643[_0x527643['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x527643[_0x527643[_0x464faf(0x22c)]=0x3]=_0x464faf(0x22c),_0x527643[_0x527643[_0x464faf(0x5c8)]=0x4]=_0x464faf(0x5c8),_0x527643[_0x527643['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x527643[_0x527643[_0x464faf(0x5c3)]=0x6]=_0x464faf(0x5c3),_0x527643[_0x527643[_0x464faf(0x598)]=0x7]='INVALID_ARGUMENT',_0x527643[_0x527643[_0x464faf(0x45c)]=0x8]=_0x464faf(0x45c),_0x527643[_0x527643[_0x464faf(0x357)]=0x9]=_0x464faf(0x357),_0x527643[_0x527643[_0x464faf(0x439)]=0x1389]=_0x464faf(0x439),_0x527643[_0x527643[_0x464faf(0x4d8)]=0x1771]=_0x464faf(0x4d8),_0x527643[_0x527643[_0x464faf(0x22a)]=0x1772]=_0x464faf(0x22a),_0x527643[_0x527643[_0x464faf(0x42d)]=0x1b59]=_0x464faf(0x42d),_0x527643[_0x527643[_0x464faf(0x5ac)]=0x1b5a]=_0x464faf(0x5ac),_0x527643[_0x527643['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x527643[_0x527643['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x464faf(0x507),_0x527643[_0x527643[_0x464faf(0x5c6)]=0x1f41]=_0x464faf(0x5c6),_0x527643[_0x527643[_0x464faf(0x2fa)]=0x2329]=_0x464faf(0x2fa),_0x527643[_0x527643[_0x464faf(0x3c3)]=0x232a]=_0x464faf(0x3c3),_0x527643[_0x527643['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x527643[_0x527643[_0x464faf(0x398)]=0x232c]=_0x464faf(0x398),_0x527643[_0x527643['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x527643[_0x527643[_0x464faf(0x412)]=0x2711]=_0x464faf(0x412),_0x527643[_0x527643[_0x464faf(0x1eb)]=0x2712]=_0x464faf(0x1eb),_0x527643[_0x527643['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x464faf(0x4b3),_0x527643[_0x527643[_0x464faf(0x4d6)]=0x2714]=_0x464faf(0x4d6),_0x527643[_0x527643['UNRECOGNIZED']=-0x1]=_0x464faf(0x389),_0x527643))(_0x19883d||{}),_0x2341fc=(_0x3cc369=>(_0x3cc369[_0x3cc369[_0x464faf(0x48e)]=0x0]='UNIVER_UNKNOWN',_0x3cc369[_0x3cc369['UNIVER_DOC']=0x1]=_0x464faf(0x3c1),_0x3cc369[_0x3cc369['UNIVER_SHEET']=0x2]=_0x464faf(0x593),_0x3cc369[_0x3cc369[_0x464faf(0x206)]=0x3]='UNIVER_SLIDE',_0x3cc369[_0x3cc369[_0x464faf(0x4f9)]=0x4]=_0x464faf(0x4f9),_0x3cc369[_0x3cc369[_0x464faf(0x389)]=-0x1]=_0x464faf(0x389),_0x3cc369))(_0x2341fc||{}),_0x496bb6=(_0x2cd4ff=>(_0x2cd4ff[_0x2cd4ff[_0x464faf(0x2f1)]=0x0]='UNKNOWN_CMD',_0x2cd4ff[_0x2cd4ff[_0x464faf(0x5c5)]=0x1]='HELLO',_0x2cd4ff[_0x2cd4ff[_0x464faf(0x343)]=0x2]=_0x464faf(0x343),_0x2cd4ff[_0x2cd4ff[_0x464faf(0x2c6)]=0x3]='LEAVE',_0x2cd4ff[_0x2cd4ff[_0x464faf(0x32f)]=0x4]=_0x464faf(0x32f),_0x2cd4ff[_0x2cd4ff[_0x464faf(0x4f7)]=0x5]=_0x464faf(0x4f7),_0x2cd4ff[_0x2cd4ff[_0x464faf(0x256)]=0x6]='RECV',_0x2cd4ff[_0x2cd4ff[_0x464faf(0x389)]=-0x1]=_0x464faf(0x389),_0x2cd4ff))(_0x496bb6||{}),_0xe8e60b=(_0x40eaaa=>(_0x40eaaa[_0x40eaaa[_0x464faf(0x360)]=0x0]=_0x464faf(0x360),_0x40eaaa[_0x40eaaa['OK']=0x1]='OK',_0x40eaaa[_0x40eaaa[_0x464faf(0x463)]=0x2]=_0x464faf(0x463),_0x40eaaa[_0x40eaaa[_0x464faf(0x389)]=-0x1]=_0x464faf(0x389),_0x40eaaa))(_0xe8e60b||{}),_0x373e8a=(_0x496f4c=>(_0x496f4c[_0x496f4c[_0x464faf(0x547)]=0x0]='Undefined',_0x496f4c[_0x496f4c[_0x464faf(0x40a)]=0x1]=_0x464faf(0x40a),_0x496f4c[_0x496f4c[_0x464faf(0x4a2)]=0x2]=_0x464faf(0x4a2),_0x496f4c[_0x496f4c[_0x464faf(0x39d)]=0x3]='UnitEmbedded',_0x496f4c[_0x496f4c[_0x464faf(0x511)]=0x4]='UnitSnapshot',_0x496f4c[_0x496f4c[_0x464faf(0x389)]=-0x1]=_0x464faf(0x389),_0x496f4c))(_0x373e8a||{});function _0x148c3f(_0x14ed1e){const _0x28bc00=_0x464faf;var _0x3dc149,_0x557c91,_0x20f76a,_0x257bf8;const _0x100807=_0x14ed1e[_0x28bc00(0x25b)],_0x73f6d0=JSON[_0x28bc00(0x217)](_0x100807);switch(_0x73f6d0[_0x28bc00(0x467)]){case _0x496bb6[_0x28bc00(0x4f7)]:case _0x496bb6[_0x28bc00(0x5c5)]:{const _0x1ec9c3=_0x73f6d0['infoRsp'];return{..._0x73f6d0,'data':_0x1ec9c3,'cmd':_0x73f6d0[_0x28bc00(0x467)]};}case _0x496bb6['JOIN']:{const _0x57049e=_0x73f6d0[_0x28bc00(0x20c)];return{..._0x73f6d0,'data':_0x57049e,'cmd':_0x73f6d0[_0x28bc00(0x467)]};}case _0x496bb6[_0x28bc00(0x256)]:{const _0x12bc36=_0x73f6d0[_0x28bc00(0x257)];switch(_0x12bc36['eventID']){case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x353)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':(_0x3dc149=_0x12bc36[_0x28bc00(0x2dd)])==null?void 0x0:_0x3dc149['cs']},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x36e)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':(_0x557c91=_0x12bc36[_0x28bc00(0x516)])==null?void 0x0:_0x557c91['cs']},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec['CollaborationEvent'][_0x28bc00(0x442)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':(_0x20f76a=_0x12bc36[_0x28bc00(0x4bb)])==null?void 0x0:_0x20f76a['cs']},'cmd':_0x73f6d0['cmd']};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x20e)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':(_0x257bf8=_0x12bc36['csRejEvent'])==null?void 0x0:_0x257bf8['cs']},'cmd':_0x73f6d0['cmd']};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x39c)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x2af)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)]['USERS_ENTER']:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x414)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x4c1)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x513)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x430)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36['liveShareNewHost']},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x429)]:case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x401)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x496)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x441)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x1aa)]:return{..._0x73f6d0,'data':_0x12bc36,'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec['CollaborationEvent'][_0x28bc00(0x47e)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x28d)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x29f)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x214)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec['CollaborationEvent'][_0x28bc00(0x2c5)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36['shouldCloseConn']},'cmd':_0x73f6d0[_0x28bc00(0x467)]};default:return _0x73f6d0;}}default:return _0x73f6d0;}}function _0x32de58(_0x54965a){const _0x5bcc99=_0x464faf;switch(_0x54965a['cmd']){case _0x496bb6[_0x5bcc99(0x4f7)]:case _0x496bb6['HELLO']:return JSON[_0x5bcc99(0x4c2)]({'cmd':_0x54965a[_0x5bcc99(0x467)],'routeKey':_0x54965a[_0x5bcc99(0x4ee)]});case _0x496bb6[_0x5bcc99(0x32f)]:{let _0x3d8846;switch(_0x54965a[_0x5bcc99(0x25b)]['eventID']){case _0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x39c)]:{_0x3d8846={'eventID':_0x2cb6ec[_0x5bcc99(0x312)]['UPDATE_CURSOR'],'updateCursorEvent':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x4c1)]:{_0x3d8846={'eventID':_0x2cb6ec['CollaborationEvent'][_0x5bcc99(0x4c1)],'leaveEvent':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)]['USERS_ENTER']:{_0x3d8846={'eventID':_0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x32b)],'joinEvent':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x430)]:{_0x3d8846={'eventID':_0x2cb6ec['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x401)]:{_0x3d8846={'eventID':_0x2cb6ec['CollaborationEvent'][_0x5bcc99(0x401)],'liveShareOperation':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)]['LIVESHARE_TERMINATE']:{_0x3d8846={'eventID':_0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x242)],'liveShareTerminate':_0x54965a['data'][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)]['LIVESHARE_REQUEST_HOST']:{_0x3d8846={'eventID':_0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x24b)],'liveShareRequestHost':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)]['LIVESHARE_FETCH_OPERATIONS']:{_0x3d8846={'eventID':_0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x429)]};break;}default:_0x3d8846={'eventID':_0x54965a['data'][_0x5bcc99(0x571)]};}return JSON[_0x5bcc99(0x4c2)]({'cmd':_0x54965a[_0x5bcc99(0x467)],'routeKey':_0x54965a[_0x5bcc99(0x4ee)],'collaMsg':_0x3d8846});}case _0x496bb6[_0x5bcc99(0x343)]:return JSON[_0x5bcc99(0x4c2)]({'cmd':_0x54965a[_0x5bcc99(0x467)],'routeKey':_0x54965a[_0x5bcc99(0x4ee)],'joinReq':_0x54965a[_0x5bcc99(0x25b)]});case _0x496bb6[_0x5bcc99(0x2c6)]:return JSON[_0x5bcc99(0x4c2)]({'cmd':_0x54965a[_0x5bcc99(0x467)],'routeKey':_0x54965a['routeKey'],'leaveReq':_0x54965a[_0x5bcc99(0x25b)]});default:throw new Error(_0x5bcc99(0x258));}}var _0x3ce8e5=Object[_0x464faf(0x229)],_0xb783d5=Object[_0x464faf(0x36f)],_0x1286b6=(_0x1a8f08,_0x86665a,_0x1caf69,_0x23f56e)=>{for(var _0x1d09fa=_0x23f56e>0x1?void 0x0:_0x23f56e?_0xb783d5(_0x86665a,_0x1caf69):_0x86665a,_0x49c1d=_0x1a8f08['length']-0x1,_0x3ec458;_0x49c1d>=0x0;_0x49c1d--)(_0x3ec458=_0x1a8f08[_0x49c1d])&&(_0x1d09fa=(_0x23f56e?_0x3ec458(_0x86665a,_0x1caf69,_0x1d09fa):_0x3ec458(_0x1d09fa))||_0x1d09fa);return _0x23f56e&&_0x1d09fa&&_0x3ce8e5(_0x86665a,_0x1caf69,_0x1d09fa),_0x1d09fa;},_0x3b3669=(_0x682306,_0x451b99)=>(_0x4570e8,_0x5694ab)=>_0x451b99(_0x4570e8,_0x5694ab,_0x682306);const _0x393e0b=_0x22bd76[_0x464faf(0x41e)](_0x464faf(0x435));function _0x36dea4(_0x50707b,_0x5a9804,_0x262968){return _0x50707b+'/'+_0x5a9804+'/unit/'+_0x262968+'/new_changes';}_0x19e906['CollaborationSocketService']=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x10676f,_0x4a5693,_0x7cb8ac,_0x416c93,_0x2cfceb){const _0x2c73fb=_0x464faf;super(),this[_0x2c73fb(0x418)]=_0x10676f,this[_0x2c73fb(0x278)]=_0x4a5693,this['_configService']=_0x7cb8ac,this[_0x2c73fb(0x4c0)]=_0x416c93,this[_0x2c73fb(0x521)]=_0x2cfceb;}[_0x464faf(0x438)](_0x17ed37){const _0x31e1e5=_0x464faf,_0x982baf=this[_0x31e1e5(0x278)][_0x31e1e5(0x438)](_0x17ed37);if(!_0x982baf)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3b7423=new _0x22bd76['DisposableCollection'](),_0x5af3e0=new _0xb468a3['Subject']();_0x3b7423[_0x31e1e5(0x59b)](_0x982baf[_0x31e1e5(0x201)]['subscribe'](_0x400f82=>_0x5af3e0[_0x31e1e5(0x4d2)](_0x400f82))),_0x3b7423[_0x31e1e5(0x59b)](_0x22bd76['toDisposable'](()=>_0x5af3e0[_0x31e1e5(0x3f9)]()));const _0x57e1a8=new _0xb468a3[(_0x31e1e5(0x57c))]();_0x3b7423['add'](_0x982baf['error$'][_0x31e1e5(0x1d7)](_0x2e4d2d=>_0x57e1a8[_0x31e1e5(0x4d2)](_0x2e4d2d))),_0x3b7423[_0x31e1e5(0x59b)](_0x22bd76['toDisposable'](()=>_0x57e1a8[_0x31e1e5(0x3f9)]()));const _0x1b56c1=new _0xb468a3[(_0x31e1e5(0x57c))]();_0x3b7423[_0x31e1e5(0x59b)](_0x982baf['message$'][_0x31e1e5(0x1d7)](_0x3b0f86=>{const _0x4f0f7e=_0x31e1e5,_0x7e6357=_0x148c3f(_0x3b0f86);_0x1b56c1[_0x4f0f7e(0x4d2)](_0x7e6357);})),_0x3b7423['add'](_0x22bd76['toDisposable'](()=>_0x1b56c1['complete']()));let _0x386b5d;const _0x85574e=()=>{const _0x42c1ed=_0x31e1e5;_0x57e1a8[_0x42c1ed(0x4d2)](new Event(_0x42c1ed(0x3cd))),_0x5af3e0[_0x42c1ed(0x4d2)](new CloseEvent(_0x42c1ed(0x3cd))),_0x386b5d[_0x42c1ed(0x47c)]();};return _0x386b5d={'memberID':'','close$':_0x5af3e0[_0x31e1e5(0x45e)](),'error$':_0x57e1a8['asObservable'](),'open$':_0x982baf['open$'],'message$':_0x1b56c1[_0x31e1e5(0x45e)](),'send':_0x3649bb=>{const _0x397d6d=_0x31e1e5;if(_0x3649bb[_0x397d6d(0x467)]===_0x496bb6[_0x397d6d(0x32f)]){if(_0x3649bb[_0x397d6d(0x25b)][_0x397d6d(0x571)]===_0x2cb6ec[_0x397d6d(0x312)][_0x397d6d(0x2b1)]){this['_submitChangeset'](_0x386b5d,_0x3649bb[_0x397d6d(0x25b)])[_0x397d6d(0x3b7)](_0x4d584e=>{this['_logService']['error'](_0x4d584e),_0x85574e();});return;}if(_0x3649bb['data'][_0x397d6d(0x571)]===_0x2cb6ec[_0x397d6d(0x312)][_0x397d6d(0x3a2)]){const _0x348d53=_0x3649bb[_0x397d6d(0x25b)];this[_0x397d6d(0x517)](_0x348d53)[_0x397d6d(0x4a9)](_0x3477ce=>{const _0x449bee=_0x397d6d;_0x1b56c1[_0x449bee(0x4d2)]({'cmd':_0x496bb6[_0x449bee(0x256)],'code':_0xe8e60b['OK'],'routeKey':_0x348d53[_0x449bee(0x25b)][_0x449bee(0x268)],'routeType':'','data':{'eventID':_0x2cb6ec[_0x449bee(0x312)][_0x449bee(0x38e)],'data':{'changesets':_0x3477ce}}});})['catch'](_0xf1b50f=>{const _0x3b5331=_0x397d6d;this[_0x3b5331(0x4c0)][_0x3b5331(0x458)](_0xf1b50f),_0x85574e();});return;}}_0x982baf['send'](_0x32de58(_0x3649bb));},'close':()=>{const _0x578b26=_0x31e1e5;_0x982baf[_0x578b26(0x47c)](),_0x3b7423['dispose']();}},_0x386b5d;}async['_submitChangeset'](_0x17779d,_0x2ddc99){const _0x282eef=_0x464faf;var _0x31657d;const {unitType:_0x20d8e3,unitID:_0x21e357,changeset:_0x348987}=_0x2ddc99[_0x282eef(0x25b)],_0x3c830d={'unitID':_0x21e357,'memberID':_0x17779d[_0x282eef(0x35e)],'type':_0x20d8e3,'changeset':_0x2cb6ec['parseChangesetToProtocol'](_0x348987)},_0x35fab4=_0x36dea4((_0x31657d=this[_0x282eef(0x562)][_0x282eef(0x5b1)](_0x384be7))!=null?_0x31657d:_0x16cc0e,_0x20d8e3,_0x21e357);try{await this[_0x282eef(0x418)][_0x282eef(0x522)](_0x35fab4,{'body':_0x3c830d});}catch(_0x277439){throw this['_logService']['error']('[CollaborationSession]',_0x282eef(0x526)),_0x277439;}}async[_0x464faf(0x517)](_0x31d35a){const _0x2710f8=_0x464faf,{unitID:_0x535a84,from:_0x5cc4a4,to:_0xec7bb6,unitType:_0x41be3f}=_0x31d35a[_0x2710f8(0x25b)];return(await this['_snapshotServerService'][_0x2710f8(0x318)]({'metadata':void 0x0},{'unitID':_0x535a84,'type':_0x41be3f,'from':_0x5cc4a4,'to':_0xec7bb6}))[_0x2710f8(0x4f8)];}},_0x19e906[_0x464faf(0x3e7)]=_0x1286b6([_0x3b3669(0x0,_0x22bd76['Inject'](_0x9bd9f[_0x464faf(0x41f)])),_0x3b3669(0x1,_0x22bd76[_0x464faf(0x568)](_0x9bd9f[_0x464faf(0x1f2)])),_0x3b3669(0x2,_0x22bd76['IConfigService']),_0x3b3669(0x3,_0x22bd76[_0x464faf(0x544)]),_0x3b3669(0x4,_0x2cb6ec[_0x464faf(0x582)])],_0x19e906['CollaborationSocketService']);const _0x2d7043=_0x464faf(0x413);function _0x55f51e(_0x11d1cb){const _0x5bbe1b=_0x464faf;return JSON[_0x5bbe1b(0x4c2)](_0x11d1cb)[_0x5bbe1b(0x266)];}class _0x45b3e8{constructor(){const _0xaf384c=_0x464faf;_0x41b507(this,'_commentUpdate$',new _0xb468a3[(_0xaf384c(0x57c))]()),_0x41b507(this,'commentUpdate$',this[_0xaf384c(0x1c3)][_0xaf384c(0x45e)]());}[_0x464faf(0x347)](_0x512793){const _0x1b5254=_0x464faf;this[_0x1b5254(0x1c3)][_0x1b5254(0x4d2)](_0x512793);}}var _0x756a5f=Object['defineProperty'],_0x584b8f=Object[_0x464faf(0x36f)],_0x4b0970=(_0x124044,_0x2de315,_0x14a958,_0x1b1716)=>{const _0x15a0bb=_0x464faf;for(var _0x400375=_0x1b1716>0x1?void 0x0:_0x1b1716?_0x584b8f(_0x2de315,_0x14a958):_0x2de315,_0xae8327=_0x124044[_0x15a0bb(0x266)]-0x1,_0x32bd2c;_0xae8327>=0x0;_0xae8327--)(_0x32bd2c=_0x124044[_0xae8327])&&(_0x400375=(_0x1b1716?_0x32bd2c(_0x2de315,_0x14a958,_0x400375):_0x32bd2c(_0x400375))||_0x400375);return _0x1b1716&&_0x400375&&_0x756a5f(_0x2de315,_0x14a958,_0x400375),_0x400375;},_0x3efa4c=(_0x95505,_0x4c02f0)=>(_0x59746d,_0x5e22ff)=>_0x4c02f0(_0x59746d,_0x5e22ff,_0x95505);let _0x27752c=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x489f1a,_0x3905bd){const _0x2f2875=_0x464faf;super(),_0x41b507(this,'_roomMembers',new Map()),(this[_0x2f2875(0x334)]=_0x489f1a,this[_0x2f2875(0x2ee)]=_0x3905bd,this['disposeWithMe'](_0x22bd76['toDisposable'](_0xb468a3[_0x2f2875(0x23e)](this[_0x2f2875(0x334)][_0x2f2875(0x377)](_0x22bd76[_0x2f2875(0x53c)][_0x2f2875(0x593)])['pipe'](_0x5ac862[_0x2f2875(0x1bb)](_0x2de8cf=>_0x2de8cf[_0x2f2875(0x330)]())),this[_0x2f2875(0x334)][_0x2f2875(0x377)](_0x22bd76[_0x2f2875(0x53c)]['UNIVER_DOC'])['pipe'](_0x5ac862['map'](_0xccab2b=>_0xccab2b[_0x2f2875(0x330)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x22bd76['UniverInstanceType'][_0x2f2875(0x206)])[_0x2f2875(0x457)](_0x5ac862[_0x2f2875(0x1bb)](_0x5b0e0e=>_0x5b0e0e[_0x2f2875(0x330)]())))['subscribe'](_0x22f560=>this['_removeRoom'](_0x22f560)))));}[_0x464faf(0x586)](_0x4ba020){const _0x80f9cc=_0x464faf;this[_0x80f9cc(0x2ee)][_0x80f9cc(0x586)](_0x4ba020);}['getCurrentUser'](){const _0x5ca21e=_0x464faf;return this['_userManagerService'][_0x5ca21e(0x348)]();}[_0x464faf(0x566)](_0x489152,_0x314f3e){const _0x11b388=_0x464faf;let _0x1fe404=this['_roomMembers'][_0x11b388(0x321)](_0x489152);_0x1fe404||(_0x1fe404=new _0x33c102(),this['_roomMembers'][_0x11b388(0x372)](_0x489152,_0x1fe404)),_0x1fe404[_0x11b388(0x566)](_0x314f3e);}['removeMember'](_0x400597,_0x19342b){const _0x30b2fd=_0x464faf,_0x4d4e03=this[_0x30b2fd(0x3bc)][_0x30b2fd(0x321)](_0x400597);_0x4d4e03&&_0x4d4e03['removeMember'](_0x19342b);}[_0x464faf(0x4cc)](_0x520fa1){const _0x17d640=_0x464faf;return this[_0x17d640(0x3bc)]['get'](_0x520fa1);}['getMember'](_0x4f14de,_0xa2704b){const _0x5bf8b7=_0x464faf,_0x36474e=this[_0x5bf8b7(0x3bc)]['get'](_0x4f14de);if(_0x36474e)return _0x36474e[_0x5bf8b7(0x30f)](_0xa2704b);}['_removeRoom'](_0x61d4f7){const _0x253680=_0x464faf,_0x466390=this[_0x253680(0x3bc)][_0x253680(0x321)](_0x61d4f7);_0x466390&&(_0x466390[_0x253680(0x383)](),this[_0x253680(0x3bc)][_0x253680(0x331)](_0x61d4f7));}[_0x464faf(0x383)](){const _0x123ad5=_0x464faf;this[_0x123ad5(0x3bc)][_0x123ad5(0x1fc)](_0x4550b5=>_0x4550b5['dispose']()),this[_0x123ad5(0x3bc)][_0x123ad5(0x5be)]();}};_0x27752c=_0x4b0970([_0x3efa4c(0x0,_0x22bd76[_0x464faf(0x3a0)]),_0x3efa4c(0x1,_0x22bd76['Inject'](_0x22bd76[_0x464faf(0x37d)]))],_0x27752c);class _0x33c102 extends _0x22bd76[_0x464faf(0x2b7)]{constructor(){const _0x1ccf68=_0x464faf;super(...arguments),_0x41b507(this,_0x1ccf68(0x55c),new Map());}[_0x464faf(0x383)](){this['_members']['clear']();}[_0x464faf(0x566)](_0x3dfe38){const _0x2b24b7=_0x464faf;this[_0x2b24b7(0x55c)][_0x2b24b7(0x372)](_0x3dfe38['memberID'],_0x3dfe38);}['removeMember'](_0x73c55a){const _0xbfa488=_0x464faf;this[_0xbfa488(0x55c)][_0xbfa488(0x331)](_0x73c55a);}[_0x464faf(0x30f)](_0x64de49){const _0x303fe2=_0x464faf;return this['_members'][_0x303fe2(0x321)](_0x64de49);}}var _0x1b9610=Object['defineProperty'],_0xc3f3b6=Object[_0x464faf(0x36f)],_0xa3db46=(_0x2f9623,_0x18e22a,_0x167830,_0x5662b4)=>{const _0x52fed4=_0x464faf;for(var _0x18258e=_0x5662b4>0x1?void 0x0:_0x5662b4?_0xc3f3b6(_0x18e22a,_0x167830):_0x18e22a,_0x1ae170=_0x2f9623[_0x52fed4(0x266)]-0x1,_0x39bf30;_0x1ae170>=0x0;_0x1ae170--)(_0x39bf30=_0x2f9623[_0x1ae170])&&(_0x18258e=(_0x5662b4?_0x39bf30(_0x18e22a,_0x167830,_0x18258e):_0x39bf30(_0x18258e))||_0x18258e);return _0x5662b4&&_0x18258e&&_0x1b9610(_0x18e22a,_0x167830,_0x18258e),_0x18258e;},_0x43e3d3=(_0x126d8b,_0x3fc1b6)=>(_0x5759f1,_0x49be81)=>_0x3fc1b6(_0x5759f1,_0x49be81,_0x126d8b),_0x4d9058=(_0x47931f=>(_0x47931f[_0x47931f['IDLE']=0x0]=_0x464faf(0x2ef),_0x47931f[_0x47931f['JOINING']=0x1]=_0x464faf(0x1cb),_0x47931f[_0x47931f[_0x464faf(0x374)]=0x2]=_0x464faf(0x374),_0x47931f[_0x47931f[_0x464faf(0x50f)]=0x3]=_0x464faf(0x50f),_0x47931f))(_0x4d9058||{});_0x19e906[_0x464faf(0x551)]=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x450a16,_0x23bbc9,_0x3a9d95,_0x4916dc,_0x4ceab7,_0x31aaca,_0xe5dde1,_0x1dcda2,_0x305026,_0x1761e9){const _0x3b3a95=_0x464faf;super(),_0x41b507(this,_0x3b3a95(0x4ce),new _0xb468a3[(_0x3b3a95(0x579))](0x0)),_0x41b507(this,'sessionStatus$',this[_0x3b3a95(0x4ce)][_0x3b3a95(0x45e)]()),_0x41b507(this,_0x3b3a95(0x4b7),new _0xb468a3[(_0x3b3a95(0x57c))]()),_0x41b507(this,_0x3b3a95(0x3f2),this[_0x3b3a95(0x4b7)][_0x3b3a95(0x45e)]()),_0x41b507(this,_0x3b3a95(0x5bc)),_0x41b507(this,'_socketMessageSubscription'),_0x41b507(this,_0x3b3a95(0x4d3)),_0x41b507(this,_0x3b3a95(0x3a5),!0x1),_0x41b507(this,_0x3b3a95(0x3df),null),(this[_0x3b3a95(0x555)]=_0x450a16,this[_0x3b3a95(0x4c0)]=_0x3a9d95,this['_beforeCloseService']=_0x4916dc,this[_0x3b3a95(0x391)]=_0x4ceab7,this[_0x3b3a95(0x562)]=_0x31aaca,this[_0x3b3a95(0x4fc)]=_0xe5dde1,this[_0x3b3a95(0x4bd)]=_0x1dcda2,this[_0x3b3a95(0x1f0)]=_0x305026,this[_0x3b3a95(0x363)]=_0x1761e9,this[_0x3b3a95(0x3a5)]=!!this[_0x3b3a95(0x363)],_0x23bbc9['pipe'](_0xb468a3[_0x3b3a95(0x3d8)](this['dispose$']))[_0x3b3a95(0x1d7)](_0x8db4ec=>{const _0x562dc4=_0x3b3a95;var _0x443a20;typeof _0x8db4ec>'u'||(this[_0x562dc4(0x5bc)]=_0x8db4ec,_0x8db4ec?(this[_0x562dc4(0x1c8)](_0x8db4ec),this[_0x562dc4(0x46d)]=_0x8db4ec[_0x562dc4(0x21b)][_0x562dc4(0x1d7)](_0xbf9250=>{const _0x4752ee=_0x562dc4;_0xbf9250['routeKey']===this[_0x4752ee(0x555)]&&this[_0x4752ee(0x4c9)](_0xbf9250);})):(this[_0x562dc4(0x2ea)](),this[_0x562dc4(0x4ce)][_0x562dc4(0x4d2)](0x2),(_0x443a20=this['_socketMessageSubscription'])==null||_0x443a20[_0x562dc4(0x2bb)](),this[_0x562dc4(0x46d)]=null));}),this['disposeWithMe'](this[_0x3b3a95(0x4cb)]['registerOnClose'](()=>{const _0xfa2c9b=_0x3b3a95;var _0x391d53;(_0x391d53=this[_0xfa2c9b(0x5bc)])==null||_0x391d53['send']({'cmd':_0x496bb6[_0xfa2c9b(0x2c6)],'data':{'roomID':this[_0xfa2c9b(0x555)]}});})));}get[_0x464faf(0x298)](){return this['_sessionStatus$']['getValue']();}[_0x464faf(0x2b8)](){const _0x11bdd7=_0x464faf;var _0x50f83d,_0x1364cb;return(_0x1364cb=(_0x50f83d=this['_socket'])==null?void 0x0:_0x50f83d[_0x11bdd7(0x35e)])!=null?_0x1364cb:null;}['dispose'](){const _0x44dfbb=_0x464faf;super['dispose'](),this[_0x44dfbb(0x49d)][_0x44dfbb(0x4d2)](),this[_0x44dfbb(0x49d)][_0x44dfbb(0x3f9)]();}['close'](){const _0x30f8ba=_0x464faf;var _0x2dd0a1,_0x1c70df;this[_0x30f8ba(0x2ea)](),(_0x2dd0a1=this[_0x30f8ba(0x5bc)])==null||_0x2dd0a1[_0x30f8ba(0x427)]({'cmd':_0x496bb6[_0x30f8ba(0x2c6)],'data':{'roomID':this[_0x30f8ba(0x555)]}}),(_0x1c70df=this['_socket'])==null||_0x1c70df['close'](),this[_0x30f8ba(0x4b7)][_0x30f8ba(0x3f9)](),this[_0x30f8ba(0x4ce)][_0x30f8ba(0x3f9)](),this[_0x30f8ba(0x383)]();}['_onCombEvent'](_0x560421){const _0x44687b=_0x464faf;_0x560421[_0x44687b(0x467)]===_0x496bb6[_0x44687b(0x343)]?this['_onJoinRoomEvent'](_0x560421):_0x560421['cmd']===_0x496bb6['RECV']&&this[_0x44687b(0x3f7)](_0x560421);}[_0x464faf(0x1c8)](_0x141098){const _0x4d3ace=_0x464faf;this[_0x4d3ace(0x4ce)]['next'](0x1),_0x141098['send']({'cmd':_0x496bb6[_0x4d3ace(0x343)],'routeKey':this[_0x4d3ace(0x555)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4d3ace(0x555)]}]}});}[_0x464faf(0x210)](_0x1b7b9b){const _0x3266d4=_0x464faf;var _0x3c09fa;if(_0x1b7b9b[_0x3266d4(0x4ec)]===_0xe8e60b[_0x3266d4(0x463)]){this[_0x3266d4(0x391)]['show']({'type':_0x5562a6['MessageType'][_0x3266d4(0x272)],'content':this[_0x3266d4(0x4fc)]['t'](_0x3266d4(0x19c))}),this[_0x3266d4(0x4ce)][_0x3266d4(0x4d2)](0x2);return;}this[_0x3266d4(0x4ce)]['next'](0x3);const _0x42ae48=(_0x3c09fa=_0x1b7b9b['data'][_0x3266d4(0x231)][this[_0x3266d4(0x555)]])==null?void 0x0:_0x3c09fa[_0x3266d4(0x22b)];_0x42ae48&&_0x42ae48[_0x3266d4(0x1fc)](_0x381232=>this['_memberService'][_0x3266d4(0x566)](this[_0x3266d4(0x555)],_0x381232));}['_onRecvEvent'](_0x1014a7){const _0x43bfbd=_0x464faf;try{const _0x268024=_0x1014a7[_0x43bfbd(0x25b)];switch(_0x268024[_0x43bfbd(0x571)]){case _0x2cb6ec[_0x43bfbd(0x312)]['USERS_ENTER']:this[_0x43bfbd(0x500)](_0x268024),this['_event$']['next'](_0x268024);break;case _0x2cb6ec[_0x43bfbd(0x312)][_0x43bfbd(0x4c1)]:this[_0x43bfbd(0x295)](_0x268024),this[_0x43bfbd(0x4b7)]['next'](_0x268024);break;case _0x2cb6ec[_0x43bfbd(0x312)]['CHANGESET_ACK']:this[_0x43bfbd(0x50b)](),this['_clearCollaborationTimeoutTimer'](),this[_0x43bfbd(0x4b7)][_0x43bfbd(0x4d2)](_0x268024);break;case _0x2cb6ec[_0x43bfbd(0x312)]['MSG_FOR_ERROR']:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x43bfbd(0x4c2)](_0x268024)),this[_0x43bfbd(0x4b7)][_0x43bfbd(0x4d2)](_0x268024);break;case _0x2cb6ec[_0x43bfbd(0x312)][_0x43bfbd(0x47e)]:this[_0x43bfbd(0x1f0)][_0x43bfbd(0x347)](_0x268024[_0x43bfbd(0x25b)]),this['_event$']['next'](_0x268024);break;default:this[_0x43bfbd(0x4b7)][_0x43bfbd(0x4d2)](_0x268024);}}catch(_0x93d8cd){this[_0x43bfbd(0x4c0)]['error'](_0x93d8cd,_0x1014a7);}}[_0x464faf(0x500)](_0x392b96){const _0x1bebfa=_0x464faf;this[_0x1bebfa(0x4bd)][_0x1bebfa(0x566)](this[_0x1bebfa(0x555)],_0x392b96[_0x1bebfa(0x25b)]);}[_0x464faf(0x295)](_0xf7565d){const _0x9536f7=_0x464faf;this['_memberService'][_0x9536f7(0x56f)](this[_0x9536f7(0x555)],_0xf7565d[_0x9536f7(0x25b)]['memberID']);}async[_0x464faf(0x427)](_0x53939a,_0x3dcdab){const _0x595ef9=_0x464faf;if(this[_0x595ef9(0x298)]!==0x3||!this[_0x595ef9(0x5bc)])throw new Error(_0x595ef9(0x4ff));try{_0x53939a[_0x595ef9(0x571)]===_0x2cb6ec[_0x595ef9(0x312)][_0x595ef9(0x2b1)]&&(this[_0x595ef9(0x293)](),this[_0x595ef9(0x3b1)](_0x53939a)),this[_0x595ef9(0x5bc)][_0x595ef9(0x427)]({'cmd':_0x496bb6['INGEST'],'routeKey':_0x3dcdab,'routeType':'','data':_0x53939a});}catch(_0x5281e8){this['_logService'][_0x595ef9(0x458)](_0x5281e8);}}[_0x464faf(0x293)](){const _0x8ec90e=_0x464faf;var _0x193b9e;this[_0x8ec90e(0x4d3)]=window['setTimeout'](()=>{const _0x358176=_0x8ec90e;this[_0x358176(0x4d3)]=null,this['_messageService']['show']({'type':_0x5562a6['MessageType']['Error'],'content':this[_0x358176(0x4fc)]['t'](_0x358176(0x1e4))});},(_0x193b9e=this[_0x8ec90e(0x562)][_0x8ec90e(0x5b1)](_0x2d9c81))!=null?_0x193b9e:0x4e20);}[_0x464faf(0x4b9)](){const _0x11f4dc=_0x464faf;this[_0x11f4dc(0x4d3)]&&(clearTimeout(this[_0x11f4dc(0x4d3)]),this[_0x11f4dc(0x4d3)]=null);}[_0x464faf(0x3b1)](_0x30e3ad){if(!this['_shouldReportTelemetry'])return;const {data:_0x199a9c}=_0x30e3ad,{unitID:_0x587d26,changeset:_0x204033}=_0x199a9c,{mutations:_0x41b0a1,type:_0xd45ac3}=_0x204033;this['_telemetryInfo']={'unitId':_0x587d26,'type':_0xd45ac3,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x55f51e(_0x41b0a1)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x10e6ca=_0x464faf;if(this[_0x10e6ca(0x3a5)]){if(!this[_0x10e6ca(0x3df)]){this[_0x10e6ca(0x4c0)]['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x10e6ca(0x3df)]['stopTime']=performance[_0x10e6ca(0x428)](),this[_0x10e6ca(0x3df)][_0x10e6ca(0x2d0)]=this[_0x10e6ca(0x3df)][_0x10e6ca(0x4dd)]-this[_0x10e6ca(0x3df)]['startTime'],this[_0x10e6ca(0x363)]['capture'](_0x2d7043,this[_0x10e6ca(0x3df)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x3013f1=_0x464faf;this[_0x3013f1(0x3df)]=null;}},_0x19e906[_0x464faf(0x551)]=_0xa3db46([_0x43e3d3(0x2,_0x22bd76[_0x464faf(0x544)]),_0x43e3d3(0x3,_0x1b23d2['IBeforeCloseService']),_0x43e3d3(0x4,_0x1b23d2[_0x464faf(0x536)]),_0x43e3d3(0x5,_0x22bd76['IConfigService']),_0x43e3d3(0x6,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x43e3d3(0x7,_0x22bd76[_0x464faf(0x568)](_0x27752c)),_0x43e3d3(0x8,_0x22bd76['Inject'](_0x45b3e8)),_0x43e3d3(0x9,_0x22bd76['Optional'](_0x5df134[_0x464faf(0x2ab)]))],_0x19e906[_0x464faf(0x551)]);var _0x40435a=Object[_0x464faf(0x229)],_0x5a887d=Object['getOwnPropertyDescriptor'],_0x2c9c78=(_0x5d3a73,_0x1df838,_0x517c2f,_0x41c1f8)=>{const _0x1b8d0a=_0x464faf;for(var _0x215213=_0x41c1f8>0x1?void 0x0:_0x41c1f8?_0x5a887d(_0x1df838,_0x517c2f):_0x1df838,_0x4ac522=_0x5d3a73[_0x1b8d0a(0x266)]-0x1,_0x194c8a;_0x4ac522>=0x0;_0x4ac522--)(_0x194c8a=_0x5d3a73[_0x4ac522])&&(_0x215213=(_0x41c1f8?_0x194c8a(_0x1df838,_0x517c2f,_0x215213):_0x194c8a(_0x215213))||_0x215213);return _0x41c1f8&&_0x215213&&_0x40435a(_0x1df838,_0x517c2f,_0x215213),_0x215213;},_0x2a9f1c=(_0x8f9970,_0x318abc)=>(_0x170ca6,_0x36b2fc)=>_0x318abc(_0x170ca6,_0x36b2fc,_0x8f9970);_0x19e906[_0x464faf(0x2ca)]=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x19c8fd,_0x54f887,_0x1a9a51,_0xae4655,_0x268e64,_0xdcf71c){const _0x5f3915=_0x464faf;super(),_0x41b507(this,_0x5f3915(0x44a),new _0xb468a3[(_0x5f3915(0x579))](void 0x0)),_0x41b507(this,_0x5f3915(0x4f3),this[_0x5f3915(0x44a)][_0x5f3915(0x45e)]()),_0x41b507(this,_0x5f3915(0x23d),null),_0x41b507(this,'_sessions',new Map()),_0x41b507(this,_0x5f3915(0x3a8),new _0xb468a3[(_0x5f3915(0x579))](_0x4d9058[_0x5f3915(0x2ef)])),_0x41b507(this,_0x5f3915(0x4af),this[_0x5f3915(0x3a8)][_0x5f3915(0x45e)]()),_0x41b507(this,'_socketReady',!0x1),_0x41b507(this,_0x5f3915(0x4b5)),_0x41b507(this,_0x5f3915(0x44b),0x0),_0x41b507(this,_0x5f3915(0x2e7)),_0x41b507(this,_0x5f3915(0x21a)),(this[_0x5f3915(0x38a)]=_0x19c8fd,this[_0x5f3915(0x4fc)]=_0x54f887,this[_0x5f3915(0x391)]=_0x1a9a51,this[_0x5f3915(0x4c0)]=_0xae4655,this[_0x5f3915(0x562)]=_0x268e64,this['_socketService']=_0xdcf71c);}get[_0x464faf(0x5bc)](){const _0x740a64=_0x464faf;return this[_0x740a64(0x44a)][_0x740a64(0x4f1)]();}[_0x464faf(0x383)](){const _0x15c402=_0x464faf;super[_0x15c402(0x383)](),this[_0x15c402(0x4a3)][_0x15c402(0x1fc)](_0x2f6bf5=>_0x2f6bf5[_0x15c402(0x383)]()),this[_0x15c402(0x4a3)]['clear'](),this['_status$'][_0x15c402(0x3f9)]();}async[_0x464faf(0x59c)](_0x301993){const _0x3df9fd=_0x464faf;if(this[_0x3df9fd(0x4a3)]['has'](_0x301993))return this[_0x3df9fd(0x4a3)][_0x3df9fd(0x321)](_0x301993);this[_0x3df9fd(0x2cd)]();const _0xe846f0=this[_0x3df9fd(0x38a)][_0x3df9fd(0x3ae)](_0x19e906['CollaborationSession'],_0x301993,this['_socket$'][_0x3df9fd(0x45e)]());return this[_0x3df9fd(0x4a3)][_0x3df9fd(0x372)](_0x301993,_0xe846f0),_0xe846f0;}[_0x464faf(0x405)](_0x2374a5){const _0x83ce86=_0x464faf;var _0x17a274;const _0x59e927=this['_sessions'][_0x83ce86(0x321)](_0x2374a5);_0x59e927&&(this[_0x83ce86(0x4a3)]['delete'](_0x2374a5),_0x59e927['close']()),this['_sessions'][_0x83ce86(0x2cf)]||(_0x17a274=this[_0x83ce86(0x5bc)])==null||_0x17a274[_0x83ce86(0x47c)]();}[_0x464faf(0x4c6)](){const _0xc3360b=_0x464faf;this[_0xc3360b(0x44b)]=0x0,this[_0xc3360b(0x4b5)]!=null&&(clearTimeout(this[_0xc3360b(0x4b5)]),this[_0xc3360b(0x4b5)]=null),this[_0xc3360b(0x421)]();}[_0x464faf(0x24f)](){const _0xe005ad=_0x464faf;var _0x459a86;const _0x390db0=(_0x459a86=this['_configService'][_0xe005ad(0x5b1)](_0x103754))!=null?_0x459a86:_0x57987e,_0x22e76a=this[_0xe005ad(0x4fd)][_0xe005ad(0x438)](_0x390db0);return this[_0xe005ad(0x23d)]=_0x22e76a,_0x22e76a;}[_0x464faf(0x2cd)](){const _0x236241=_0x464faf;var _0x1d02bf,_0x12989a;try{const _0x2f3e47=(_0x12989a=(_0x1d02bf=this['_socket'])!=null?_0x1d02bf:this[_0x236241(0x23d)])!=null?_0x12989a:this[_0x236241(0x24f)]();if(_0x2f3e47){const _0x2e1768=_0x2f3e47[_0x236241(0x427)];_0x2f3e47[_0x236241(0x427)]=_0x4c4080=>(this[_0x236241(0x58d)](),_0x2e1768[_0x236241(0x549)](_0x2f3e47,[_0x4c4080])),_0x2f3e47[_0x236241(0x21b)][_0x236241(0x1d7)](_0x473ada=>this[_0x236241(0x32a)](_0x2f3e47,_0x473ada)),_0x2f3e47[_0x236241(0x301)][_0x236241(0x457)](_0x5ac862[_0x236241(0x4f5)](0x1))[_0x236241(0x1d7)](_0x4679cf=>this[_0x236241(0x4c0)][_0x236241(0x458)](_0x236241(0x3bb),_0x4679cf)),_0x2f3e47[_0x236241(0x59a)][_0x236241(0x457)](_0x5ac862[_0x236241(0x4f5)](0x1))[_0x236241(0x1d7)](()=>{this['_onConnectionOpen'](_0x2f3e47);}),_0x2f3e47[_0x236241(0x201)]['pipe'](_0x5ac862[_0x236241(0x4f5)](0x1))['subscribe'](_0x56ca55=>{const _0x27e6ec=_0x236241;this['_logService'][_0x27e6ec(0x3e8)](_0x27e6ec(0x1e1),_0x27e6ec(0x3d0),_0x56ca55),this[_0x27e6ec(0x2fb)]();});}}catch(_0x14d928){this['_logService'][_0x236241(0x458)](_0x14d928),this[_0x236241(0x2fb)]();}}[_0x464faf(0x23c)](_0x22a4f9){const _0x40afcd=_0x464faf;this[_0x40afcd(0x4c0)][_0x40afcd(0x3e8)](_0x40afcd(0x1e1),_0x40afcd(0x417)),_0x22a4f9['send']({'cmd':_0x496bb6['HELLO']}),this[_0x40afcd(0x58d)](),this[_0x40afcd(0x509)]();}['_listenToOfflineEvent'](){const _0x3d530a=_0x464faf,_0x338e6c=()=>{const _0x4d16b9=_0x437d;this[_0x4d16b9(0x33c)](),this[_0x4d16b9(0x30b)](),window['removeEventListener'](_0x4d16b9(0x307),_0x338e6c);};window['addEventListener'](_0x3d530a(0x307),_0x338e6c);}[_0x464faf(0x33c)](){const _0x2b2971=_0x464faf;this[_0x2b2971(0x494)]=!0x1,this['_status$'][_0x2b2971(0x4d2)](_0x4d9058[_0x2b2971(0x374)]),this[_0x2b2971(0x44a)][_0x2b2971(0x4d2)](null),this[_0x2b2971(0x56e)](),this[_0x2b2971(0x310)]();}[_0x464faf(0x2fb)](){const _0x2a6562=_0x464faf;var _0x30e95d;this[_0x2a6562(0x33c)](),this[_0x2a6562(0x44b)]<((_0x30e95d=this[_0x2a6562(0x562)]['getConfig'](_0x1a7bc5))!=null?_0x30e95d:0x3)?(this['_messageService'][_0x2a6562(0x550)]({'key':_0x2a6562(0x2be),'type':_0x5562a6[_0x2a6562(0x253)]['Warning'],'content':this['_localeService']['t'](_0x2a6562(0x460))}),this[_0x2a6562(0x421)]()):(this[_0x2a6562(0x391)][_0x2a6562(0x550)]({'key':'collaboration-session-retry','type':_0x5562a6[_0x2a6562(0x253)][_0x2a6562(0x489)],'content':this[_0x2a6562(0x4fc)]['t'](_0x2a6562(0x54b))}),this[_0x2a6562(0x30b)]());}[_0x464faf(0x30b)](){const _0x446768=_0x464faf,_0x3be466=()=>{const _0x391379=_0x437d;this[_0x391379(0x4c6)](),window[_0x391379(0x5af)](_0x391379(0x1ac),_0x3be466);};window[_0x446768(0x265)](_0x446768(0x1ac),_0x3be466),this[_0x446768(0x44a)][_0x446768(0x457)](_0x5ac862[_0x446768(0x2e9)](_0x2de4f3=>!!_0x2de4f3),_0x5ac862[_0x446768(0x4f5)](0x1))[_0x446768(0x1d7)](()=>{window['removeEventListener']('online',_0x3be466);});}[_0x464faf(0x421)](){const _0x53e54b=_0x464faf;var _0xebe4ed;const _0x4ec6e5=this[_0x53e54b(0x44b)],_0x14fd68=_0x4ec6e5===0x0?0x0:((_0xebe4ed=this[_0x53e54b(0x562)][_0x53e54b(0x5b1)](_0x470888))!=null?_0xebe4ed:0x4e20)*0x2**_0x4ec6e5;this['_retryConnectingTimer']=window[_0x53e54b(0x3c9)](()=>{const _0x1b3503=_0x53e54b;clearTimeout(this[_0x1b3503(0x4b5)]),this[_0x1b3503(0x4b5)]=null,this[_0x1b3503(0x2cd)]();},_0x14fd68),this[_0x53e54b(0x44b)]+=0x1;}[_0x464faf(0x32a)](_0x549b65,_0x4a891d){const _0x17e5e6=_0x464faf,{cmd:_0x58a6f9}=_0x4a891d;_0x58a6f9===_0x496bb6[_0x17e5e6(0x5c5)]&&!this[_0x17e5e6(0x494)]&&(_0x549b65[_0x17e5e6(0x35e)]=_0x4a891d['data'][_0x17e5e6(0x35e)],this['_socket$'][_0x17e5e6(0x4d2)](_0x549b65),this[_0x17e5e6(0x3a8)][_0x17e5e6(0x4d2)](_0x4d9058[_0x17e5e6(0x50f)]),this[_0x17e5e6(0x494)]=!0x0,this[_0x17e5e6(0x23d)]=null),_0x58a6f9===_0x496bb6[_0x17e5e6(0x4f7)]&&this[_0x17e5e6(0x56e)](),this['_rescheduleHeartbeat']();}[_0x464faf(0x58d)](){const _0x2c031f=_0x464faf;var _0x32fbe0;this[_0x2c031f(0x310)](),this[_0x2c031f(0x2e7)]=window[_0x2c031f(0x3c9)](()=>this[_0x2c031f(0x220)](),(_0x32fbe0=this[_0x2c031f(0x562)][_0x2c031f(0x5b1)](_0x2e9ff9))!=null?_0x32fbe0:0x7530);}['_sendHeartbeat'](){const _0x2064cc=_0x464faf;this[_0x2064cc(0x5bc)][_0x2064cc(0x427)]({'cmd':_0x496bb6[_0x2064cc(0x4f7)]}),this[_0x2064cc(0x403)]();}[_0x464faf(0x403)](){const _0x319573=_0x464faf;var _0x4447df;this[_0x319573(0x21a)]=window[_0x319573(0x3c9)](()=>this['_onConnectionFailed'](),(_0x4447df=this[_0x319573(0x562)][_0x319573(0x5b1)](_0x2d9c81))!=null?_0x4447df:0x4e20);}[_0x464faf(0x310)](){const _0xcf9fd8=_0x464faf;this[_0xcf9fd8(0x2e7)]!=null&&(clearTimeout(this[_0xcf9fd8(0x2e7)]),this[_0xcf9fd8(0x2e7)]=null);}['_clearTimeoutTimer'](){const _0x34038d=_0x464faf;this[_0x34038d(0x21a)]!=null&&(clearTimeout(this[_0x34038d(0x21a)]),this[_0x34038d(0x21a)]=null);}},_0x19e906[_0x464faf(0x2ca)]=_0x2c9c78([_0x2a9f1c(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x2a9f1c(0x1,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x2a9f1c(0x2,_0x1b23d2[_0x464faf(0x536)]),_0x2a9f1c(0x3,_0x22bd76[_0x464faf(0x544)]),_0x2a9f1c(0x4,_0x22bd76['IConfigService']),_0x2a9f1c(0x5,_0x393e0b)],_0x19e906['CollaborationSessionService']);var _0x2ec75f=Object[_0x464faf(0x229)],_0x5941e3=Object[_0x464faf(0x36f)],_0x405d29=(_0x21d2c5,_0x4bf839,_0x2abace,_0x1ac40b)=>{for(var _0x4d8cec=_0x1ac40b>0x1?void 0x0:_0x1ac40b?_0x5941e3(_0x4bf839,_0x2abace):_0x4bf839,_0x4959c4=_0x21d2c5['length']-0x1,_0x42a08e;_0x4959c4>=0x0;_0x4959c4--)(_0x42a08e=_0x21d2c5[_0x4959c4])&&(_0x4d8cec=(_0x1ac40b?_0x42a08e(_0x4bf839,_0x2abace,_0x4d8cec):_0x42a08e(_0x4d8cec))||_0x4d8cec);return _0x1ac40b&&_0x4d8cec&&_0x2ec75f(_0x4bf839,_0x2abace,_0x4d8cec),_0x4d8cec;},_0x1fdec6=(_0x81075,_0x23eefc)=>(_0x179a9f,_0x5c4f4d)=>_0x23eefc(_0x179a9f,_0x5c4f4d,_0x81075);let _0x1ffb94=class{constructor(_0x31c0d9,_0x5c73a5,_0x3d3988){const _0x5f1ef6=_0x464faf;this[_0x5f1ef6(0x38a)]=_0x31c0d9,this[_0x5f1ef6(0x24e)]=_0x5c73a5,this['_renderManagerService']=_0x3d3988;}['transformIMECache'](_0x89af03){const _0x4a89ea=_0x464faf;this[_0x4a89ea(0x30d)](_0x89af03),this[_0x4a89ea(0x249)](_0x89af03);}[_0x464faf(0x38f)](_0x44809a){const _0x3c1c33=_0x464faf,{unitID:_0x106acc}=_0x44809a,_0x10d43f=this[_0x3c1c33(0x2c2)]['getRenderById'](_0x106acc)[_0x3c1c33(0x29a)](_0x3efaf4['DocIMEInputManagerService']),{redoCache:_0x5c1836}=_0x10d43f['getUndoRedoMutationParamsCache']();if(_0x5c1836[_0x3c1c33(0x266)]===0x0)return _0x44809a;let _0x1ea263=_0x22bd76[_0x3c1c33(0x223)][_0x3c1c33(0x3ab)](_0x44809a[_0x3c1c33(0x4a5)][0x0]);for(let _0x1870df=0x0;_0x1870df<_0x5c1836[_0x3c1c33(0x266)];_0x1870df++){const _0x54be49={'id':_0x3c1c33(0x305),'params':{..._0x5c1836[_0x1870df]}},_0x4a2e6c=this[_0x3c1c33(0x24e)][_0x3c1c33(0x498)](_0x1ea263,_0x54be49,!0x1);if(_0x2cb6ec['isTransformMutationFailure'](_0x4a2e6c))throw _0x4a2e6c[_0x3c1c33(0x458)];_0x1ea263=_0x4a2e6c[_0x3c1c33(0x444)];}return{..._0x22bd76[_0x3c1c33(0x223)][_0x3c1c33(0x3ab)](_0x44809a),'mutations':[_0x1ea263]};}[_0x464faf(0x30d)](_0x163f3a){const _0x43ff6c=_0x464faf,{unitID:_0x25b3c0}=_0x163f3a,_0x25e25b=this[_0x43ff6c(0x2c2)]['getRenderById'](_0x25b3c0)['with'](_0x3efaf4['DocIMEInputManagerService']),{undoCache:_0x11f682,redoCache:_0x79c760}=_0x25e25b[_0x43ff6c(0x400)]();if(_0x11f682[_0x43ff6c(0x266)]===0x0||_0x79c760[_0x43ff6c(0x266)]===0x0)return;const _0x436965=[],_0x95046c=[];let _0x4d7250=_0x22bd76[_0x43ff6c(0x223)]['deepClone'](_0x163f3a['mutations'][0x0]),_0x4b0080=_0x22bd76['Tools']['deepClone'](_0x163f3a[_0x43ff6c(0x4a5)][0x0]);for(let _0x5ea463=_0x11f682['length']-0x1;_0x5ea463>=0x0;_0x5ea463--){const _0x3e1d20={'id':_0x43ff6c(0x305),'params':{..._0x11f682[_0x5ea463]}},_0xc04a40={'id':_0x43ff6c(0x305),'params':{..._0x79c760[_0x5ea463]}},_0x301a67=this[_0x43ff6c(0x24e)][_0x43ff6c(0x498)](_0x4d7250,_0x3e1d20,!0x1),_0x126d22=this[_0x43ff6c(0x24e)][_0x43ff6c(0x498)](_0x4b0080,_0xc04a40,!0x1);if(_0x2cb6ec[_0x43ff6c(0x204)](_0x301a67))throw _0x301a67['error'];if(_0x2cb6ec['isTransformMutationFailure'](_0x126d22))throw _0x126d22['error'];_0x436965[_0x43ff6c(0x31c)](_0x301a67[_0x43ff6c(0x275)][_0x43ff6c(0x4d5)]),_0x95046c[_0x43ff6c(0x31c)](_0x126d22[_0x43ff6c(0x275)][_0x43ff6c(0x4d5)]),_0x4d7250=_0x301a67['m1Prime'],_0x4b0080=_0x126d22[_0x43ff6c(0x444)];}_0x25e25b[_0x43ff6c(0x24c)]({'undoCache':_0x436965,'redoCache':_0x95046c});}[_0x464faf(0x249)](_0x327e05){const _0x475430=_0x464faf,{unitID:_0x5048c7}=_0x327e05,_0x2bbb6c=this[_0x475430(0x2c2)][_0x475430(0x4e0)](_0x5048c7)[_0x475430(0x29a)](_0x3efaf4[_0x475430(0x45f)]),_0x43b3da=_0x2bbb6c[_0x475430(0x1e0)]();if(_0x43b3da==null)return;const _0x2e78e9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x327e05['unitID'],'actions':null,'textRanges':[_0x43b3da]}}],_0x3e7f6a=this['_transformService']['transformMutationsWithChangeset'](_0x327e05,_0x2e78e9);if(!_0x2cb6ec[_0x475430(0x4b0)](_0x3e7f6a))throw _0x3e7f6a[_0x475430(0x458)];const _0x51e406=_0x3e7f6a['m2Prime'][0x0][_0x475430(0x4d5)][_0x475430(0x56d)];Array['isArray'](_0x51e406)&&_0x51e406[_0x475430(0x266)]&&_0x2bbb6c[_0x475430(0x5b3)](_0x51e406[0x0]);}};_0x1ffb94=_0x405d29([_0x1fdec6(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x1fdec6(0x1,_0x2cb6ec[_0x464faf(0x53d)]),_0x1fdec6(0x2,_0x3ab0d3[_0x464faf(0x55e)])],_0x1ffb94);var _0x46aef5=Object['defineProperty'],_0x54cb1f=Object[_0x464faf(0x36f)],_0x11b2b5=(_0x37f8bf,_0x2a06ca,_0x325165,_0x7be283)=>{const _0x5738a4=_0x464faf;for(var _0x1c4e83=_0x7be283>0x1?void 0x0:_0x7be283?_0x54cb1f(_0x2a06ca,_0x325165):_0x2a06ca,_0x55db3a=_0x37f8bf[_0x5738a4(0x266)]-0x1,_0x5f158a;_0x55db3a>=0x0;_0x55db3a--)(_0x5f158a=_0x37f8bf[_0x55db3a])&&(_0x1c4e83=(_0x7be283?_0x5f158a(_0x2a06ca,_0x325165,_0x1c4e83):_0x5f158a(_0x1c4e83))||_0x1c4e83);return _0x7be283&&_0x1c4e83&&_0x46aef5(_0x2a06ca,_0x325165,_0x1c4e83),_0x1c4e83;},_0x283770=(_0x1fd50a,_0x8a6ff0)=>(_0x4f69ed,_0x10d47f)=>_0x8a6ff0(_0x4f69ed,_0x10d47f,_0x1fd50a);_0x19e906[_0x464faf(0x264)]=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x1e1864,_0x56a437,_0x384aa4,_0x7c81e3,_0x363c24){const _0x3632df=_0x464faf;super(),_0x41b507(this,_0x3632df(0x1c0),new Map()),_0x41b507(this,_0x3632df(0x411),new Map()),_0x41b507(this,_0x3632df(0x4cf),!0x1),(this[_0x3632df(0x562)]=_0x1e1864,this['_localStorageService']=_0x56a437,this[_0x3632df(0x4cb)]=_0x384aa4,this[_0x3632df(0x4fc)]=_0x7c81e3,this[_0x3632df(0x1a3)]=_0x363c24,this[_0x3632df(0x52d)]());}[_0x464faf(0x59d)](){const _0x1106ef=_0x464faf;this[_0x1106ef(0x4cf)]=!0x0;}[_0x464faf(0x4d0)](){const _0x3684ba=_0x464faf;this[_0x3684ba(0x4cf)]=!0x1;}[_0x464faf(0x383)](){const _0x52fd61=_0x464faf;this[_0x52fd61(0x2b3)]()['then'](()=>super[_0x52fd61(0x383)]());}async[_0x464faf(0x283)](_0xc76952){const _0x22561d=_0x464faf;return this[_0x22561d(0x4cf)]?null:this[_0x22561d(0x338)][_0x22561d(0x1bd)](_0x2283b5(_0xc76952));}async[_0x464faf(0x55f)](_0x484ca4,_0x2fe3e7){const _0x28e1c9=_0x464faf;return!!this[_0x28e1c9(0x338)][_0x28e1c9(0x5b4)](_0x484ca4,_0x2fe3e7);}['updateOfflineData'](_0x36b3f4,_0x1b2337,_0x5b4d46,_0x1595cb){const _0x5b5a3e=_0x464faf,_0x5967f5=this[_0x5b5a3e(0x1a3)][_0x5b5a3e(0x1b5)](_0x36b3f4);this['_cachedData'][_0x5b5a3e(0x372)](_0x36b3f4,{'unitID':_0x36b3f4,'type':_0x1b2337,'awaitingChangeset':_0x5b4d46,'mutations':_0x1595cb,'rev':_0x5967f5}),this[_0x5b5a3e(0x411)]['has'](_0x36b3f4)||this[_0x5b5a3e(0x4da)](_0x36b3f4);}[_0x464faf(0x4da)](_0x4e5043){const _0x543075=_0x464faf,_0x50fc20=this[_0x543075(0x4f4)]();_0x50fc20===0x0?this[_0x543075(0x501)](_0x4e5043):this[_0x543075(0x411)][_0x543075(0x372)](_0x4e5043,setTimeout(()=>this[_0x543075(0x501)](_0x4e5043),_0x50fc20));}[_0x464faf(0x4f4)](){const _0x53af89=_0x464faf;var _0x457d45;return(_0x457d45=this['_configService'][_0x53af89(0x5b1)](_0x1c42e9))!=null?_0x457d45:0x3e8;}[_0x464faf(0x501)](_0x26139f){const _0xa7b83c=_0x464faf,_0x3f59c7=this['_saveTaskMap'][_0xa7b83c(0x321)](_0x26139f);return _0x3f59c7!==void 0x0&&window[_0xa7b83c(0x2a1)](_0x3f59c7),this['_localStorageService'][_0xa7b83c(0x5b4)](_0x2283b5(_0x26139f),this[_0xa7b83c(0x1c0)][_0xa7b83c(0x321)](_0x26139f))[_0xa7b83c(0x4a9)](()=>this[_0xa7b83c(0x411)][_0xa7b83c(0x331)](_0x26139f));}async[_0x464faf(0x2b3)](){const _0x15a89c=_0x464faf,_0x5d42ac=[];this[_0x15a89c(0x411)][_0x15a89c(0x1fc)]((_0x312bcf,_0x4a105f)=>{const _0x13c3a0=_0x15a89c;window[_0x13c3a0(0x2a1)](_0x312bcf),_0x5d42ac['push'](this[_0x13c3a0(0x501)](_0x4a105f)[_0x13c3a0(0x4a9)](()=>{const _0x3de4a4=_0x13c3a0;this[_0x3de4a4(0x411)][_0x3de4a4(0x331)](_0x4a105f);}));}),await Promise['all'](_0x5d42ac);}[_0x464faf(0x52d)](){const _0xa2f94c=_0x464faf;this[_0xa2f94c(0x241)](this[_0xa2f94c(0x4cb)][_0xa2f94c(0x523)](()=>{const _0x268e91=_0xa2f94c;if(this[_0x268e91(0x411)][_0x268e91(0x2cf)])return this[_0x268e91(0x4fc)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x19e906['LocalCacheService']=_0x11b2b5([_0x283770(0x0,_0x22bd76[_0x464faf(0x55b)]),_0x283770(0x1,_0x22bd76[_0x464faf(0x3be)]),_0x283770(0x2,_0x1b23d2[_0x464faf(0x4be)]),_0x283770(0x3,_0x22bd76[_0x464faf(0x568)](_0x22bd76['LocaleService'])),_0x283770(0x4,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x557)]))],_0x19e906[_0x464faf(0x264)]);function _0x2283b5(_0x32f9a6){const _0x3ec989=_0x464faf;return _0x3ec989(0x433)+_0x32f9a6;}var _0x220a32=Object['defineProperty'],_0x9edee8=Object[_0x464faf(0x36f)],_0x5d1245=(_0x54a0cf,_0x451e96,_0x458339,_0x3b4204)=>{for(var _0x2200a6=_0x3b4204>0x1?void 0x0:_0x3b4204?_0x9edee8(_0x451e96,_0x458339):_0x451e96,_0x3271b4=_0x54a0cf['length']-0x1,_0x36aec5;_0x3271b4>=0x0;_0x3271b4--)(_0x36aec5=_0x54a0cf[_0x3271b4])&&(_0x2200a6=(_0x3b4204?_0x36aec5(_0x451e96,_0x458339,_0x2200a6):_0x36aec5(_0x2200a6))||_0x2200a6);return _0x3b4204&&_0x2200a6&&_0x220a32(_0x451e96,_0x458339,_0x2200a6),_0x2200a6;},_0x4bb8fb=(_0x25ab3f,_0x15cd00)=>(_0x43123b,_0x437241)=>_0x15cd00(_0x43123b,_0x437241,_0x25ab3f);function _0x15614c(_0x3ea101){const _0x5869a8=_0x464faf,{unitID:_0x184f92,mutations:_0x47e780}=_0x3ea101;return{'unitId':_0x184f92,'subUnitId':_0x47e780[0x0][_0x5869a8(0x4d5)][_0x5869a8(0x574)]};}let _0xa1505e=class{constructor(_0x2181ad,_0x5f0c69,_0x9bd889){const _0x1df6a9=_0x464faf;this[_0x1df6a9(0x38a)]=_0x2181ad,this['_transformService']=_0x5f0c69,this[_0x1df6a9(0x1b1)]=_0x9bd889;}[_0x464faf(0x480)](_0xaba96f){const _0x3142e5=_0x464faf;var _0x13a395,_0x30cb3b,_0x4584ae,_0x3db322,_0x2deada;const _0x38cd72=this[_0x3142e5(0x38a)][_0x3142e5(0x321)](_0x38d7d8[_0x3142e5(0x24d)]),{unitId:_0x2bb85c,subUnitId:_0xcd4006}=_0x15614c(_0xaba96f),_0x43a4c0=_0x38cd72[_0x3142e5(0x261)](_0x2bb85c)['getCurrentSelections'](),_0xe0cab6=(_0x30cb3b=(_0x13a395=this[_0x3142e5(0x1b1)][_0x3142e5(0x2da)](_0x2bb85c))==null?void 0x0:_0x13a395[_0x3142e5(0x590)]())==null?void 0x0:_0x30cb3b['getSheetId']();if(_0x43a4c0['length']===0x0||!_0x2bb85c||!_0xcd4006)return;const _0x1c2f62=[{'id':_0x38d7d8[_0x3142e5(0x4a7)]['id'],'params':{'unitId':_0x2bb85c,'subUnitId':_0xe0cab6,'selections':_0x22bd76['Tools'][_0x3142e5(0x3ab)](_0x43a4c0)}}],_0x1a19db=this[_0x3142e5(0x24e)][_0x3142e5(0x1de)](_0xaba96f,_0x1c2f62);if(!_0x2cb6ec[_0x3142e5(0x4b0)](_0x1a19db))throw _0x1a19db[_0x3142e5(0x458)];const _0x22f172=(_0x2deada=(_0x3db322=(_0x4584ae=_0x1a19db[_0x3142e5(0x275)][0x0])==null?void 0x0:_0x4584ae['params'])==null?void 0x0:_0x3db322[_0x3142e5(0x4d4)])!=null?_0x2deada:_0x43a4c0;Array['isArray'](_0x22f172)&&_0x22f172[_0x3142e5(0x266)]&&this[_0x3142e5(0x38a)][_0x3142e5(0x321)](_0x22bd76[_0x3142e5(0x4ae)])[_0x3142e5(0x38c)](_0x38d7d8[_0x3142e5(0x4a7)]['id'],{'unitId':_0x2bb85c,'subUnitId':_0xcd4006,'selections':_0x22f172});}};_0xa1505e=_0x5d1245([_0x4bb8fb(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x4bb8fb(0x1,_0x2cb6ec[_0x464faf(0x53d)]),_0x4bb8fb(0x2,_0x22bd76[_0x464faf(0x3a0)])],_0xa1505e);const _0x4b8af1=_0x22bd76['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x32afde=(_0x402fa9=>(_0x402fa9[_0x402fa9['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x464faf(0x21d),_0x402fa9[_0x402fa9[_0x464faf(0x20f)]=0x1]=_0x464faf(0x20f),_0x402fa9))(_0x32afde||{});const _0x4316dc=0x7530,_0x2d72ef=_0x464faf(0x22f);class _0x5474b1 extends _0x22bd76['Disposable']{constructor(){const _0x26e714=_0x464faf;super(),_0x41b507(this,_0x26e714(0x244),_0x22bd76['Tools'][_0x26e714(0x44c)]()),_0x41b507(this,_0x26e714(0x1f1),new Set()),_0x41b507(this,'_unitOnClients',new Map()),_0x41b507(this,_0x26e714(0x4dc),null),_0x41b507(this,'_clearOtherTimers',new Map()),_0x41b507(this,_0x26e714(0x2bc),new Map()),this[_0x26e714(0x239)]();}[_0x464faf(0x383)](){const _0x510362=_0x464faf;super[_0x510362(0x383)](),this[_0x510362(0x41a)][_0x510362(0x1fc)]((_0x43fc2d,_0x75dba8)=>this[_0x510362(0x248)](_0x75dba8)),this[_0x510362(0x4dc)]&&window[_0x510362(0x396)](this[_0x510362(0x4dc)]);}[_0x464faf(0x475)](_0x4b13d4){const _0x46c35c=_0x464faf;return this[_0x46c35c(0x358)](_0x4b13d4)[_0x46c35c(0x457)](_0xb468a3[_0x46c35c(0x53b)]());}[_0x464faf(0x476)](_0x3cf327){const _0x53cea2=_0x464faf;this[_0x53cea2(0x1f1)]['size']===0x0&&this[_0x53cea2(0x57d)](),this['_selfUnitIDs'][_0x53cea2(0x59b)](_0x3cf327),this[_0x53cea2(0x1b8)]({'type':0x0,'memberID':this[_0x53cea2(0x244)],'unitIDs':[_0x3cf327],'isForwarded':!0x1});}[_0x464faf(0x328)](_0x259cd8){const _0x45475a=_0x464faf;this[_0x45475a(0x1f1)]['delete'](_0x259cd8),this[_0x45475a(0x1f1)][_0x45475a(0x2cf)]===0x0&&this['_heartbeatTimer']&&window[_0x45475a(0x396)](this['_heartbeatTimer']);}[_0x464faf(0x239)](){const _0x4d29ed=_0x464faf;this[_0x4d29ed(0x241)](_0x22bd76[_0x4d29ed(0x2ec)](_0xb468a3[_0x4d29ed(0x36c)](window,_0x4d29ed(0x1ae))[_0x4d29ed(0x1d7)](_0x4e5def=>{const _0x4f548c=_0x4d29ed;if(_0x4e5def[_0x4f548c(0x259)]!==_0x2d72ef||!_0x4e5def[_0x4f548c(0x1ba)])return;const _0x3f51b7=JSON[_0x4f548c(0x217)](_0x4e5def[_0x4f548c(0x1ba)]);this[_0x4f548c(0x477)](_0x3f51b7);}))),window[_0x4d29ed(0x265)]('unload',()=>this[_0x4d29ed(0x1b8)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4d29ed(0x2ad)](this[_0x4d29ed(0x1f1)])}));}[_0x464faf(0x477)](_0x318994){const _0x840115=_0x464faf;switch(_0x318994['type']){case 0x0:this['_handleJoinEvent'](_0x318994);break;case 0x1:this[_0x840115(0x455)](_0x318994);break;case 0x2:this['_handleHeartbeatEvent'](_0x318994);break;}}[_0x464faf(0x3a9)](_0x245d5a){const _0xf1f0a2=_0x464faf,{unitIDs:_0x7c83a2,memberID:_0x32cf15,isForwarded:_0x38d36b}=_0x245d5a;_0x7c83a2['forEach'](_0x538d31=>{const _0x4f71cd=_0x437d;if(!_0x38d36b&&this['_unitOnClients'][_0x4f71cd(0x2e2)](_0x538d31)&&this['_ensureSubject'](_0x538d31)[_0x4f71cd(0x4d2)](0x1),!this[_0x4f71cd(0x221)][_0x4f71cd(0x2e2)](_0x538d31)||!this[_0x4f71cd(0x221)][_0x4f71cd(0x321)](_0x538d31)[_0x4f71cd(0x2e2)](_0x32cf15)){const _0x24bad7=this['_unitOnClients']['get'](_0x538d31)||new Set();_0x24bad7[_0x4f71cd(0x59b)](_0x32cf15),this[_0x4f71cd(0x221)][_0x4f71cd(0x372)](_0x538d31,_0x24bad7),this['_scheduleClearOtherTimer'](_0x32cf15);}}),_0x38d36b||this['_send']({'type':0x0,'memberID':this[_0xf1f0a2(0x244)],'unitIDs':[...this[_0xf1f0a2(0x1f1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2b6e3f){const _0x535115=_0x464faf;this[_0x535115(0x248)](_0x2b6e3f);const _0x366156=window[_0x535115(0x3c9)](()=>{const _0x13cbae=_0x535115;this[_0x13cbae(0x221)]['forEach'](_0x18106f=>{const _0x139eed=_0x13cbae;_0x18106f[_0x139eed(0x331)](_0x2b6e3f);});},_0x4316dc*0x2);this['_clearOtherTimers'][_0x535115(0x372)](_0x2b6e3f,_0x366156);}['_removeClearOtherTimer'](_0x71d60b){const _0x7fc30b=_0x464faf;if(this[_0x7fc30b(0x41a)][_0x7fc30b(0x2e2)](_0x71d60b)){const _0x223c7a=this[_0x7fc30b(0x41a)]['get'](_0x71d60b);_0x223c7a&&window[_0x7fc30b(0x2a1)](_0x223c7a),this['_clearOtherTimers'][_0x7fc30b(0x372)](_0x71d60b,null);}}[_0x464faf(0x455)](_0x2abf7a){const _0x204163=_0x464faf,{memberID:_0x3b4430,unitIDs:_0x136b22}=_0x2abf7a;_0x136b22[_0x204163(0x1fc)](_0x163c5c=>{const _0xe6bc9a=_0x204163;var _0x129418;const _0x5d6341=this['_unitOnClients']['get'](_0x163c5c);_0x5d6341&&(_0x5d6341[_0xe6bc9a(0x331)](_0x3b4430),(_0x129418=this['_ensureSubject'](_0x163c5c))==null||_0x129418['next'](_0x5d6341[_0xe6bc9a(0x2cf)]===0x0?0x0:0x1));}),this[_0x204163(0x248)](_0x3b4430);}[_0x464faf(0x1fa)](_0x27dbca){const _0x54611b=_0x464faf;this[_0x54611b(0x260)](_0x27dbca[_0x54611b(0x35e)]);}[_0x464faf(0x1b8)](_0x2923a4){const _0x799fcb=_0x464faf;localStorage[_0x799fcb(0x5b4)](_0x2d72ef,JSON[_0x799fcb(0x4c2)](_0x2923a4));}[_0x464faf(0x57d)](){const _0x5bd8a9=_0x464faf;this[_0x5bd8a9(0x4dc)]=window[_0x5bd8a9(0x484)](()=>{const _0x137468=_0x5bd8a9;this[_0x137468(0x1b8)]({'type':0x2,'memberID':this['_id']});},_0x4316dc);}[_0x464faf(0x358)](_0x5d6ebe){const _0x1dab7d=_0x464faf;return this[_0x1dab7d(0x2bc)][_0x1dab7d(0x2e2)](_0x5d6ebe)||this[_0x1dab7d(0x2bc)][_0x1dab7d(0x372)](_0x5d6ebe,new _0xb468a3[(_0x1dab7d(0x579))](0x0)),this[_0x1dab7d(0x2bc)][_0x1dab7d(0x321)](_0x5d6ebe);}}function _0x33c720(_0x30fd1d){const _0x4c1ead=_0x464faf;let _0x509d98='';for(const _0x20cf8 of _0x30fd1d){const {startOffset:_0x49a179,endOffset:_0x59b08d,isActive:_0xf54e72}=_0x20cf8;_0x509d98[_0x4c1ead(0x266)]&&(_0x509d98+=','),_0x509d98+=_0x49a179+':'+_0x59b08d+':'+(_0xf54e72?'1':'0');}return _0x509d98;}function _0x488ea0(_0x1daf75){const _0x549087=_0x464faf,_0xbaaf88=_0x1daf75[_0x549087(0x58a)](','),_0x4ade55=[];for(const _0x133de1 of _0xbaaf88){const [_0x31840b,_0x31b527,_0x3852bf]=_0x133de1[_0x549087(0x58a)](':');_0x4ade55[_0x549087(0x4a6)]({'startOffset':Number(_0x31840b),'endOffset':Number(_0x31b527),'collapsed':_0x31840b===_0x31b527,'isActive':_0x3852bf==='1'});}return _0x4ade55[_0x549087(0x203)](_0x1c8fdc=>_0x1c8fdc[_0x549087(0x362)])||(_0x4ade55[0x0]['isActive']=!0x0),_0x4ade55;}class _0x43e255 extends _0x22bd76[_0x464faf(0x5c2)]{constructor(){const _0x1eed26=_0x464faf;super(...arguments),_0x41b507(this,_0x1eed26(0x4bf),new _0xb468a3[(_0x1eed26(0x579))](null)),_0x41b507(this,_0x1eed26(0x527),this[_0x1eed26(0x4bf)][_0x1eed26(0x45e)]());}['syncEditingCollabCursor'](_0x4c6754){const _0x1008b7=_0x464faf,{unitID:_0x142b91,memberID:_0x166b4a,textRanges:_0x4acad7}=_0x4c6754,_0x9aa714=_0x33c720(_0x4acad7),_0x46d2da={'unitID':_0x142b91,'memberID':_0x166b4a,'selection':_0x9aa714};this[_0x1008b7(0x4bf)][_0x1008b7(0x4d2)](_0x46d2da);}}var _0x28e5a9=Object[_0x464faf(0x229)],_0x4f1952=Object[_0x464faf(0x36f)],_0x2d5a5b=(_0x1dac5a,_0x470b38,_0x570417,_0x2226e2)=>{for(var _0x3ee22b=_0x2226e2>0x1?void 0x0:_0x2226e2?_0x4f1952(_0x470b38,_0x570417):_0x470b38,_0x103db9=_0x1dac5a['length']-0x1,_0x194c5d;_0x103db9>=0x0;_0x103db9--)(_0x194c5d=_0x1dac5a[_0x103db9])&&(_0x3ee22b=(_0x2226e2?_0x194c5d(_0x470b38,_0x570417,_0x3ee22b):_0x194c5d(_0x3ee22b))||_0x3ee22b);return _0x2226e2&&_0x3ee22b&&_0x28e5a9(_0x470b38,_0x570417,_0x3ee22b),_0x3ee22b;},_0x513852=(_0x44975e,_0xe0cdb2)=>(_0x20f95b,_0x4cdb9e)=>_0xe0cdb2(_0x20f95b,_0x4cdb9e,_0x44975e);let _0x529ffa=class{constructor(_0x34d441,_0x1e150c){const _0x15da2b=_0x464faf;this[_0x15da2b(0x38a)]=_0x34d441,this[_0x15da2b(0x24e)]=_0x1e150c;}['transformSelections'](_0x2171f1){const _0x50b2e3=_0x464faf;var _0x51f2a5;const _0x592945=this[_0x50b2e3(0x38a)][_0x50b2e3(0x321)](_0x369ae4[_0x50b2e3(0x385)]),_0x2ae320=(_0x51f2a5=_0x592945[_0x50b2e3(0x1ad)]())!=null?_0x51f2a5:[];if(_0x2ae320['length']===0x0)return;const _0x71d7fe=[{'id':_0x50b2e3(0x305),'params':{'unitId':_0x2171f1['unitID'],'actions':null,'textRanges':_0x2ae320}}],_0x527d52=this['_transformService']['transformMutationsWithChangeset'](_0x2171f1,_0x71d7fe);if(!_0x2cb6ec[_0x50b2e3(0x4b0)](_0x527d52))throw _0x527d52['error'];const _0x17b025=_0x527d52[_0x50b2e3(0x275)][0x0][_0x50b2e3(0x4d5)][_0x50b2e3(0x56d)];Array['isArray'](_0x17b025)&&_0x17b025[_0x50b2e3(0x266)]&&_0x592945['replaceTextRanges'](_0x17b025,!0x1);}};_0x529ffa=_0x2d5a5b([_0x513852(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x513852(0x1,_0x2cb6ec['ITransformService'])],_0x529ffa);const _0x1c3daa=new Set([_0x38d7d8['InsertSheetMutation']['id']]);function _0x14860a(_0x58729c,_0xf9f28a,_0x3b99a1,_0x49e3c6,_0x86ff44){const _0x3255ec=_0x464faf;var _0x214eb2,_0x505365,_0x27f0c9,_0x4c492f;const _0x33164c=[];for(const _0x2b1cc7 of _0x58729c)if(_0x1c3daa[_0x3255ec(0x2e2)](_0x2b1cc7['id'])){if(_0x33164c['length']>0x0)break;_0x33164c[_0x3255ec(0x4a6)](_0x2b1cc7);break;}else _0x33164c['push'](_0x2b1cc7);const _0x23bf13=(_0x505365=(_0x214eb2=_0x86ff44['getCurrentUser']())==null?void 0x0:_0x214eb2[_0x3255ec(0x4b2)])!=null?_0x505365:'unknown',_0x14cf2c=(_0x4c492f=(_0x27f0c9=_0x86ff44['getCurrentUser']())==null?void 0x0:_0x27f0c9['memberID'])!=null?_0x4c492f:_0x3255ec(0x2b0);return{'changeset':{'unitID':_0xf9f28a,'type':_0x2cb6ec[_0x3255ec(0x284)](_0x3b99a1['getUnitType'](_0xf9f28a)),'baseRev':_0x49e3c6[_0x3255ec(0x1b5)](_0xf9f28a),'revision':0x0,'userID':_0x23bf13,'memberID':_0x14cf2c,'mutations':_0x33164c},'pendingMutations':_0x58729c[_0x3255ec(0x5ba)](_0x33164c[_0x3255ec(0x266)])};}function _0x2dda07(_0x474d77,_0x53a7fd,_0x5727d1,_0x239874,_0x1b8121){const _0x2e9c7b=_0x464faf;var _0xa0b95e,_0x5b771e,_0x21c2a2,_0x3654b6;const _0x3230b6=[_0x474d77['reduce']((_0x72d975,_0x205884)=>{const _0x159f9d=_0x437d;var _0x56ab76;const {id:_0x5d0dd5}=_0x72d975,{id:_0x3ee2c2,type:_0x1a2bfc}=_0x205884,_0x43099c=(_0x56ab76=_0x72d975[_0x159f9d(0x4d5)])!=null?_0x56ab76:{'actions':null},_0x5b7cc5=_0x205884[_0x159f9d(0x4d5)];if(_0x5d0dd5&&_0x5d0dd5!==_0x3ee2c2)throw new Error(_0x159f9d(0x3d7)+_0x5d0dd5+_0x159f9d(0x519)+_0x3ee2c2+'.');return{..._0x72d975,'id':_0x3ee2c2,'type':_0x1a2bfc,'params':{'unitId':_0x5b7cc5[_0x159f9d(0x3eb)],'textRanges':_0x5b7cc5['textRanges'],'actions':_0x22bd76[_0x159f9d(0x46c)][_0x159f9d(0x29e)](_0x43099c[_0x159f9d(0x1a2)],_0x5b7cc5['actions'])}};},{})],_0x297bdd=(_0x5b771e=(_0xa0b95e=_0x1b8121[_0x2e9c7b(0x348)]())==null?void 0x0:_0xa0b95e[_0x2e9c7b(0x4b2)])!=null?_0x5b771e:_0x2e9c7b(0x2b0),_0x2feb65=(_0x3654b6=(_0x21c2a2=_0x1b8121['getCurrentUser']())==null?void 0x0:_0x21c2a2['memberID'])!=null?_0x3654b6:_0x2e9c7b(0x2b0);return{'changeset':{'unitID':_0x53a7fd,'type':_0x2cb6ec[_0x2e9c7b(0x284)](_0x5727d1['getUnitType'](_0x53a7fd)),'baseRev':_0x239874['getCurrentRevOfUnit'](_0x53a7fd),'revision':0x0,'userID':_0x297bdd,'memberID':_0x2feb65,'mutations':_0x3230b6},'pendingMutations':[]};}const _0x5493e5={'id':_0x38d7d8[_0x464faf(0x2de)]['id'],'type':_0x22bd76[_0x464faf(0x2d6)][_0x464faf(0x2eb)],'params':{}};var _0xe66d58=Object[_0x464faf(0x229)],_0x3ad569=Object['getOwnPropertyDescriptor'],_0x147561=(_0x38507c,_0x48525d,_0x592b31,_0x4e3ada)=>{for(var _0x4ff37a=_0x4e3ada>0x1?void 0x0:_0x4e3ada?_0x3ad569(_0x48525d,_0x592b31):_0x48525d,_0x231b09=_0x38507c['length']-0x1,_0x17c0f5;_0x231b09>=0x0;_0x231b09--)(_0x17c0f5=_0x38507c[_0x231b09])&&(_0x4ff37a=(_0x4e3ada?_0x17c0f5(_0x48525d,_0x592b31,_0x4ff37a):_0x17c0f5(_0x4ff37a))||_0x4ff37a);return _0x4e3ada&&_0x4ff37a&&_0xe66d58(_0x48525d,_0x592b31,_0x4ff37a),_0x4ff37a;},_0x18ef17=(_0x269d8c,_0x4727a3)=>(_0x1827d8,_0x2b391d)=>_0x4727a3(_0x1827d8,_0x2b391d,_0x269d8c),_0x29599c=(_0x2af8ec=>(_0x2af8ec[_0x464faf(0x2ba)]=_0x464faf(0x431),_0x2af8ec[_0x464faf(0x402)]=_0x464faf(0x1ab),_0x2af8ec[_0x464faf(0x1b6)]='pending',_0x2af8ec[_0x464faf(0x3bf)]='awaiting',_0x2af8ec[_0x464faf(0x26d)]='awaiting_with_pending',_0x2af8ec[_0x464faf(0x303)]=_0x464faf(0x1f6),_0x2af8ec[_0x464faf(0x5b6)]=_0x464faf(0x4e6),_0x2af8ec[_0x464faf(0x374)]=_0x464faf(0x307),_0x2af8ec))(_0x29599c||{});class _0x245ce4{constructor(_0x1831e8,_0x251495,_0x551cc6,_0x5b9549,_0x4982b4,_0x58d789,_0x4103c9,_0x43d2ad,_0x1993b2){const _0x3c9fdd=_0x464faf;_0x41b507(this,_0x3c9fdd(0x5a5),null),_0x41b507(this,'_pendingMutations',[]),(this['unitID']=_0x1831e8,this[_0x3c9fdd(0x2e4)]=_0x251495,this[_0x3c9fdd(0x508)]=_0x4982b4,this[_0x3c9fdd(0x382)]=_0x58d789,this[_0x3c9fdd(0x3bd)]=_0x4103c9,this[_0x3c9fdd(0x1a3)]=_0x43d2ad,this['_localCacheService']=_0x1993b2,this[_0x3c9fdd(0x5a5)]=_0x551cc6,this['_pendingMutations']=_0x5b9549);}[_0x464faf(0x4a0)](_0x38ce17){const _0xff93c=_0x464faf,_0x5db34d=this[_0xff93c(0x1a3)][_0xff93c(0x1b5)](this['unitID']);return _0x38ce17[_0xff93c(0x292)]>_0x5db34d+0x1?(this['_handler']['onMissingChangesets']({'from':_0x5db34d,'to':_0x38ce17['revision']-0x1}),!0x0):!0x1;}[_0x464faf(0x40d)](_0x2ff9df){const _0x2414f5=_0x464faf;this[_0x2414f5(0x3bd)][_0x2414f5(0x591)](this[_0x2414f5(0x268)],_0x2ff9df);}[_0x464faf(0x437)](_0x40a21){const _0x29f637=_0x464faf;var _0x4a4d2f,_0xe76a9b;(_0xe76a9b=(_0x4a4d2f=this[_0x29f637(0x508)])['onTransformSelections'])==null||_0xe76a9b[_0x29f637(0x5b8)](_0x4a4d2f,_0x40a21);}[_0x464faf(0x1dd)](_0xc8d00b){const _0x36899f=_0x464faf;var _0x381db0,_0x4595f4;return(_0x4595f4=(_0x381db0=this['_handler'])[_0x36899f(0x53f)])==null?void 0x0:_0x4595f4[_0x36899f(0x5b8)](_0x381db0,_0xc8d00b);}[_0x464faf(0x28b)](_0x2a1e68){const _0x2fa3e0=_0x464faf;var _0x5238ca,_0x149d7b,_0x29ee70;return(_0x29ee70=(_0x149d7b=(_0x5238ca=this['_handler'])[_0x2fa3e0(0x40b)])==null?void 0x0:_0x149d7b[_0x2fa3e0(0x5b8)](_0x5238ca,_0x2a1e68))!=null?_0x29ee70:_0x2a1e68;}[_0x464faf(0x245)](_0x36fe57){const _0x14d92d=_0x464faf;var _0x13208e,_0x2d6576;if(this[_0x14d92d(0x2e4)]===_0x2341fc['UNIVER_DOC']){const {unitID:_0x1836f7,mutations:_0x20804e,memberID:_0x3ebd61}=_0x36fe57,_0x466326=_0x20804e[0x0][_0x14d92d(0x4d5)][_0x14d92d(0x56d)];Array[_0x14d92d(0x564)](_0x466326)&&_0x466326[_0x14d92d(0x266)]>0x0&&((_0x2d6576=(_0x13208e=this[_0x14d92d(0x508)])[_0x14d92d(0x41d)])==null||_0x2d6576[_0x14d92d(0x5b8)](_0x13208e,{'unitID':_0x1836f7,'memberID':_0x3ebd61,'textRanges':_0x466326}));}}[_0x464faf(0x58c)](){const _0x133619=_0x464faf;this[_0x133619(0x1c7)][_0x133619(0x375)](this[_0x133619(0x268)],this[_0x133619(0x2e4)],this[_0x133619(0x5a5)],this[_0x133619(0x436)]);}[_0x464faf(0x48a)](){const _0x3e549b=_0x464faf;return this[_0x3e549b(0x1a3)][_0x3e549b(0x1b5)](this[_0x3e549b(0x268)]);}[_0x464faf(0x209)](){const _0x1c2e49=_0x464faf;this[_0x1c2e49(0x1a3)][_0x1c2e49(0x1be)](this[_0x1c2e49(0x268)]);}[_0x464faf(0x395)](_0x3b33af){const _0x355f08=_0x464faf;var _0x241eb8;const _0x36283a=this[_0x355f08(0x28b)](_0x3b33af),_0x59b93a=_0x22bd76['sequenceExecute'](_0x36283a[_0x355f08(0x4a5)],this['_commandService'],{'fromCollab':!0x0});if(!_0x59b93a[_0x355f08(0x320)])throw _0x59b93a[_0x355f08(0x458)]instanceof Error?_0x59b93a[_0x355f08(0x458)]:new Error((_0x241eb8=_0x59b93a[_0x355f08(0x458)])!=null?_0x241eb8:_0x355f08(0x3cc));this[_0x355f08(0x1dd)](_0x36283a),this[_0x355f08(0x40d)](_0x3b33af),this['_transformSelections'](_0x36283a),this[_0x355f08(0x245)](_0x36283a),this[_0x355f08(0x209)]();}}let _0x46582e=class extends _0x245ce4{constructor(_0xbe9d2f,_0x3a2c4b,_0x39c57a,_0x2a1871,_0xbb9b81,_0x5c776c,_0x31d3ba,_0x3fd96f,_0x24e88f,_0x307509){const _0x3fcce1=_0x464faf;super(_0xbe9d2f,_0x3a2c4b,null,[],_0x39c57a,_0x3fd96f,_0x31d3ba,_0x2a1871,_0xbb9b81),_0x41b507(this,_0x3fcce1(0x222),'synced'),(this[_0x3fcce1(0x38a)]=_0x5c776c,this['_logService']=_0x24e88f,this[_0x3fcce1(0x24e)]=_0x307509);}[_0x464faf(0x478)](_0x3331e9){const _0xba8259=_0x464faf,_0x1b150d=this['_injector'][_0xba8259(0x3ae)](_0x52372b,this[_0xba8259(0x268)],this[_0xba8259(0x2e4)],[_0x3331e9],this[_0xba8259(0x508)]);return _0x1b150d[_0xba8259(0x269)](),_0x1b150d[_0xba8259(0x58c)](),_0x1b150d;}[_0x464faf(0x565)](_0x394cb4){const _0x3a536d=_0x464faf;if(this[_0x3a536d(0x4a0)](_0x394cb4))return this[_0x3a536d(0x38a)][_0x3a536d(0x3ae)](_0x4f6034,this[_0x3a536d(0x268)],this['type'],null,[],null,[_0x394cb4],this[_0x3a536d(0x508)]);try{const _0x35bd1c=this[_0x3a536d(0x24e)][_0x3a536d(0x1de)](_0x394cb4,[_0x5493e5]);if(_0x2cb6ec[_0x3a536d(0x4b0)](_0x35bd1c)){const {c1Prime:_0x55b1a5}=_0x35bd1c;return this['_executeRemoteChangeset'](_0x55b1a5),this;}throw _0x35bd1c[_0x3a536d(0x458)];}catch(_0x132f97){return this[_0x3a536d(0x4c0)][_0x3a536d(0x458)](_0x132f97),this[_0x3a536d(0x285)](!0x1);}}[_0x464faf(0x285)](_0x29d619){const _0x35daa9=_0x464faf;return this[_0x35daa9(0x38a)]['createInstance'](_0x4732c4,this[_0x35daa9(0x268)],this[_0x35daa9(0x2e4)],null,[],this['_handler'],_0x29d619);}[_0x464faf(0x342)](){const _0x4db82a=_0x464faf;throw new Error(_0x4db82a(0x422));}[_0x464faf(0x456)](){const _0x23e601=_0x464faf;throw new Error(_0x23e601(0x1b3));}[_0x464faf(0x207)](){const _0x1a6a2e=_0x464faf;return this[_0x1a6a2e(0x38a)]['createInstance'](_0x563a32,this['unitID'],this[_0x1a6a2e(0x2e4)],null,[],this[_0x1a6a2e(0x508)]);}['toggleOnline'](){return this;}[_0x464faf(0x381)](){const _0x4101b3=_0x464faf;throw new Error(_0x4101b3(0x3a3));}[_0x464faf(0x273)](){const _0x318e20=_0x464faf,_0x5ddee2=this[_0x318e20(0x1a3)][_0x318e20(0x1b5)](this[_0x318e20(0x268)]);return this[_0x318e20(0x508)][_0x318e20(0x2b2)]({'from':_0x5ddee2,'to':0x0}),this[_0x318e20(0x38a)][_0x318e20(0x3ae)](_0x4f6034,this[_0x318e20(0x268)],this[_0x318e20(0x2e4)],null,[],null,[],this[_0x318e20(0x508)]);}};_0x46582e=_0x147561([_0x18ef17(0x3,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec['RevisionService'])),_0x18ef17(0x4,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x18ef17(0x5,_0x22bd76['Inject'](_0x22bd76['Injector'])),_0x18ef17(0x6,_0x22bd76[_0x464faf(0x56b)]),_0x18ef17(0x7,_0x22bd76[_0x464faf(0x4ae)]),_0x18ef17(0x8,_0x22bd76['ILogService']),_0x18ef17(0x9,_0x2cb6ec[_0x464faf(0x53d)])],_0x46582e);let _0x52372b=class extends _0x245ce4{constructor(_0x3d1c53,_0x39e1e1,_0x356b56,_0x2e0a20,_0x2609ed,_0x4aecc9,_0x4f0cad,_0x5334c9,_0x2a369f,_0x304022,_0x3575b4,_0x432b82,_0x23379b,_0x5e9c6d){const _0x3746d5=_0x464faf;super(_0x3d1c53,_0x39e1e1,null,_0x356b56,_0x2e0a20,_0x304022,_0x5e9c6d,_0x4aecc9,_0x4f0cad),_0x41b507(this,'status',_0x3746d5(0x4a4)),_0x41b507(this,'_scheduleTimestamp',null),_0x41b507(this,_0x3746d5(0x2ae),null),(this[_0x3746d5(0x38a)]=_0x2609ed,this[_0x3746d5(0x4bd)]=_0x5334c9,this[_0x3746d5(0x4c0)]=_0x2a369f,this[_0x3746d5(0x562)]=_0x3575b4,this[_0x3746d5(0x24e)]=_0x432b82,this['_univerInstanceService']=_0x23379b);}[_0x464faf(0x478)](_0x3756ea){const _0x5bb784=_0x464faf;return this[_0x5bb784(0x436)][_0x5bb784(0x4a6)](_0x3756ea),this[_0x5bb784(0x58c)](),this;}['onRemoteChangeset'](_0x3ace7a){const _0x19dfd5=_0x464faf;if(this[_0x19dfd5(0x4a0)](_0x3ace7a))return this['_clearScheduledTask'](),this[_0x19dfd5(0x38a)][_0x19dfd5(0x3ae)](_0x4f6034,this[_0x19dfd5(0x268)],this[_0x19dfd5(0x2e4)],null,this[_0x19dfd5(0x436)],null,[_0x3ace7a],this[_0x19dfd5(0x508)]);try{const _0x31e32f=this[_0x19dfd5(0x24e)]['transformMutationsWithChangeset'](_0x3ace7a,this['_pendingMutations']);if(_0x2cb6ec[_0x19dfd5(0x4b0)](_0x31e32f)){const {c1Prime:_0x18cce9,m2Prime:_0xba4b7c}=_0x31e32f;this['_executeRemoteChangeset'](_0x18cce9);const _0x5e83bd=this[_0x19dfd5(0x38a)]['createInstance'](_0x52372b,this[_0x19dfd5(0x268)],this[_0x19dfd5(0x2e4)],_0xba4b7c,this[_0x19dfd5(0x508)]);return this['_clearScheduledTask'](),_0x5e83bd[_0x19dfd5(0x269)](this[_0x19dfd5(0x1ef)]?Math[_0x19dfd5(0x3b9)](0x0,new Date()[_0x19dfd5(0x2dc)]()-this[_0x19dfd5(0x1ef)]):this['_getSendChangesetTimeout']()),_0x5e83bd;}throw _0x31e32f[_0x19dfd5(0x458)];}catch(_0x3e6261){return this[_0x19dfd5(0x4c0)][_0x19dfd5(0x458)](_0x3e6261),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x3620bb=_0x464faf;throw new Error(_0x3620bb(0x3d2));}[_0x464faf(0x456)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['toggleOffline'](){const _0x1b317e=_0x464faf;return this[_0x1b317e(0x3e5)](),this[_0x1b317e(0x38a)][_0x1b317e(0x3ae)](_0x563a32,this['unitID'],this[_0x1b317e(0x2e4)],null,this['_pendingMutations'],this[_0x1b317e(0x508)]);}[_0x464faf(0x2f7)](){return this;}[_0x464faf(0x269)](_0x30cc15){const _0x478e40=_0x464faf,_0x522297=_0x30cc15!=null?_0x30cc15:this['_getSendChangesetTimeout']();this[_0x478e40(0x1ef)]=new Date()[_0x478e40(0x2dc)](),this[_0x478e40(0x2ae)]=window[_0x478e40(0x3c9)](()=>{const _0x1d79ed=_0x478e40;this['_clearScheduledTask']();let _0x57efdc=null;switch(this[_0x1d79ed(0x2e4)]){case _0x2341fc['UNIVER_SHEET']:{_0x57efdc=_0x14860a(this[_0x1d79ed(0x436)],this['unitID'],this[_0x1d79ed(0x334)],this[_0x1d79ed(0x1a3)],this['_memberService']);break;}case _0x2341fc[_0x1d79ed(0x3c1)]:{this[_0x1d79ed(0x436)][_0x1d79ed(0x46e)](_0x5caa64=>_0x5caa64['id']===_0x369ae4[_0x1d79ed(0x425)]['id'])?_0x57efdc=_0x2dda07(this[_0x1d79ed(0x436)],this['unitID'],this[_0x1d79ed(0x334)],this['_revisionService'],this[_0x1d79ed(0x4bd)]):_0x57efdc=_0x14860a(this[_0x1d79ed(0x436)],this[_0x1d79ed(0x268)],this[_0x1d79ed(0x334)],this[_0x1d79ed(0x1a3)],this['_memberService']);break;}default:throw new Error(_0x1d79ed(0x240)+this[_0x1d79ed(0x2e4)]+_0x1d79ed(0x54f));}const {changeset:_0x46db80,pendingMutations:_0x31b2ac}=_0x57efdc;this['_handler'][_0x1d79ed(0x370)](_0x46db80);const _0x8b2de5=_0x31b2ac[_0x1d79ed(0x266)]?this[_0x1d79ed(0x38a)][_0x1d79ed(0x3ae)](_0x8ff703,this[_0x1d79ed(0x268)],this[_0x1d79ed(0x2e4)],_0x46db80,_0x31b2ac,this[_0x1d79ed(0x508)]):this[_0x1d79ed(0x38a)][_0x1d79ed(0x3ae)](_0x30c8dd,this[_0x1d79ed(0x268)],this['type'],_0x46db80,this[_0x1d79ed(0x508)]);_0x8b2de5[_0x1d79ed(0x58c)](),this[_0x1d79ed(0x508)][_0x1d79ed(0x57a)](this,_0x8b2de5);},_0x522297);}[_0x464faf(0x4e5)](){const _0x13fbb8=_0x464faf;var _0x4fce6e;return(_0x4fce6e=this[_0x13fbb8(0x562)][_0x13fbb8(0x5b1)](_0xdd38af))!=null?_0x4fce6e:0x7d0;}[_0x464faf(0x381)](){const _0x5b83fa=_0x464faf;throw new Error(_0x5b83fa(0x2f9));}[_0x464faf(0x3e5)](){const _0x40e964=_0x464faf;this[_0x40e964(0x2ae)]!=null&&(clearTimeout(this[_0x40e964(0x2ae)]),this['_sendingTimer']=null);}[_0x464faf(0x285)](_0x3a4754){const _0xc07ef9=_0x464faf;return this[_0xc07ef9(0x3e5)](),this[_0xc07ef9(0x38a)][_0xc07ef9(0x3ae)](_0x4732c4,this[_0xc07ef9(0x268)],this[_0xc07ef9(0x2e4)],null,this[_0xc07ef9(0x436)],this[_0xc07ef9(0x508)],_0x3a4754);}};_0x52372b=_0x147561([_0x18ef17(0x4,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x18ef17(0x5,_0x22bd76['Inject'](_0x2cb6ec['RevisionService'])),_0x18ef17(0x6,_0x22bd76['Inject'](_0x19e906[_0x464faf(0x264)])),_0x18ef17(0x7,_0x22bd76[_0x464faf(0x568)](_0x27752c)),_0x18ef17(0x8,_0x22bd76[_0x464faf(0x544)]),_0x18ef17(0x9,_0x22bd76[_0x464faf(0x4ae)]),_0x18ef17(0xa,_0x22bd76[_0x464faf(0x55b)]),_0x18ef17(0xb,_0x2cb6ec[_0x464faf(0x53d)]),_0x18ef17(0xc,_0x22bd76[_0x464faf(0x3a0)]),_0x18ef17(0xd,_0x22bd76[_0x464faf(0x56b)])],_0x52372b);let _0x30c8dd=class extends _0x245ce4{constructor(_0x39e85a,_0x435d91,_0x1f3600,_0x4115f8,_0x481666,_0x5123e1,_0x31c008,_0x39a035,_0x57a6b7,_0x1e3b13,_0x23c72d){const _0x14d04c=_0x464faf;super(_0x39e85a,_0x435d91,_0x1f3600,[],_0x4115f8,_0x39a035,_0x23c72d,_0x5123e1,_0x31c008),_0x41b507(this,'status',_0x14d04c(0x5a6)),(this[_0x14d04c(0x38a)]=_0x481666,this[_0x14d04c(0x4c0)]=_0x57a6b7,this[_0x14d04c(0x24e)]=_0x1e3b13);}[_0x464faf(0x478)](_0x5591ee){const _0x1a010e=_0x464faf,_0x394d89=this['_injector'][_0x1a010e(0x3ae)](_0x8ff703,this[_0x1a010e(0x268)],this[_0x1a010e(0x2e4)],this[_0x1a010e(0x5a5)],[_0x5591ee],this['_handler']);return _0x394d89[_0x1a010e(0x58c)](),_0x394d89;}[_0x464faf(0x565)](_0x1ac38e){const _0x463e6d=_0x464faf;if(this[_0x463e6d(0x4a0)](_0x1ac38e))return this[_0x463e6d(0x38a)][_0x463e6d(0x3ae)](_0x4f6034,this[_0x463e6d(0x268)],this['type'],this[_0x463e6d(0x5a5)],[],null,[_0x1ac38e],this['_handler']);try{const _0x3b6132=this[_0x463e6d(0x24e)][_0x463e6d(0x1c6)]([_0x1ac38e],[this[_0x463e6d(0x5a5)]],!0x1);if(_0x2cb6ec[_0x463e6d(0x2a4)](_0x3b6132)){const {c1Prime:_0x2edab4,c2Prime:_0x3aeec4}=_0x3b6132;this[_0x463e6d(0x395)](_0x2edab4[0x0]),_0x3aeec4[0x0][_0x463e6d(0x271)]=this['_getCurrentRevision']();const _0x58e47e=this['_injector'][_0x463e6d(0x3ae)](_0x30c8dd,this[_0x463e6d(0x268)],this[_0x463e6d(0x2e4)],_0x3aeec4[0x0],this['_handler']);return _0x58e47e[_0x463e6d(0x58c)](),_0x58e47e;}return this['_onConflict'](!0x1);}catch(_0x3bf356){return this[_0x463e6d(0x4c0)]['error'](_0x3bf356),this['_onConflict'](!0x1);}}[_0x464faf(0x342)](_0x59ba00){const _0x1d1f4a=_0x464faf,_0x1e6434=this[_0x1d1f4a(0x1a3)][_0x1d1f4a(0x1b5)](this['unitID']);if(_0x59ba00[_0x1d1f4a(0x292)]<_0x1e6434-0x1)return this;if(this[_0x1d1f4a(0x4a0)](_0x59ba00))return this[_0x1d1f4a(0x38a)][_0x1d1f4a(0x3ae)](_0x4f6034,this[_0x1d1f4a(0x268)],this[_0x1d1f4a(0x2e4)],null,[],this[_0x1d1f4a(0x5a5)],[],this[_0x1d1f4a(0x508)]);this[_0x1d1f4a(0x209)]();const _0xb98033=this['_injector'][_0x1d1f4a(0x3ae)](_0x46582e,this['unitID'],this[_0x1d1f4a(0x2e4)],this[_0x1d1f4a(0x508)]);return _0xb98033[_0x1d1f4a(0x58c)](),_0xb98033;}[_0x464faf(0x456)](_0x4e686a){const _0x514409=_0x464faf;return this[_0x514409(0x285)](!!(_0x4e686a!=null&&_0x4e686a['isPermissionRej']));}['toggleOffline'](){const _0x14b561=_0x464faf;return this['_injector'][_0x14b561(0x3ae)](_0x563a32,this[_0x14b561(0x268)],this['type'],this[_0x14b561(0x5a5)],[],this[_0x14b561(0x508)]);}[_0x464faf(0x2f7)](){return this;}[_0x464faf(0x381)](){const _0x268cd2=_0x464faf;this[_0x268cd2(0x508)][_0x268cd2(0x370)](this[_0x268cd2(0x5a5)]);}[_0x464faf(0x285)](_0x24a90b){const _0x31c4e4=_0x464faf;return this[_0x31c4e4(0x38a)][_0x31c4e4(0x3ae)](_0x4732c4,this[_0x31c4e4(0x268)],this['type'],this['_awaitingChangeset'],[],this[_0x31c4e4(0x508)],_0x24a90b);}};_0x30c8dd=_0x147561([_0x18ef17(0x4,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x18ef17(0x5,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x557)])),_0x18ef17(0x6,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x18ef17(0x7,_0x22bd76['ICommandService']),_0x18ef17(0x8,_0x22bd76['ILogService']),_0x18ef17(0x9,_0x2cb6ec['ITransformService']),_0x18ef17(0xa,_0x22bd76[_0x464faf(0x56b)])],_0x30c8dd);let _0x8ff703=class extends _0x245ce4{constructor(_0x1c8e14,_0x5466a9,_0x4f3aad,_0x59d12b,_0x133510,_0x57c138,_0x1e73eb,_0x5f157e,_0x29df18,_0x8e10cb,_0x1f74d0,_0x249bb6){const _0x1b245a=_0x464faf;super(_0x1c8e14,_0x5466a9,_0x4f3aad,_0x59d12b,_0x133510,_0x29df18,_0x249bb6,_0x1e73eb,_0x5f157e),_0x41b507(this,_0x1b245a(0x222),_0x1b245a(0x499)),(this[_0x1b245a(0x38a)]=_0x57c138,this['_logService']=_0x8e10cb,this[_0x1b245a(0x24e)]=_0x1f74d0);}[_0x464faf(0x478)](_0x3399f8){const _0x23c4ce=_0x464faf;return this[_0x23c4ce(0x436)]['push'](_0x3399f8),this;}['onRemoteChangeset'](_0x3c4198){const _0x3713ad=_0x464faf;if(this[_0x3713ad(0x4a0)](_0x3c4198))return this[_0x3713ad(0x38a)][_0x3713ad(0x3ae)](_0x4f6034,this[_0x3713ad(0x268)],this[_0x3713ad(0x2e4)],this[_0x3713ad(0x5a5)],this[_0x3713ad(0x436)],null,[_0x3c4198],this[_0x3713ad(0x508)]);try{const _0x4109c1=this[_0x3713ad(0x24e)][_0x3713ad(0x1c6)]([_0x3c4198],[this[_0x3713ad(0x5a5)]],!0x1);if(_0x2cb6ec[_0x3713ad(0x2a4)](_0x4109c1)){const {c1Prime:_0x456360,c2Prime:_0xbf57c5}=_0x4109c1,_0x23cac2=this['_transformService'][_0x3713ad(0x1de)](_0x456360[0x0],this[_0x3713ad(0x436)]);if(_0x2cb6ec['isTransformMutationsWithChangesetSuccess'](_0x23cac2)){const {c1Prime:_0x57b932,m2Prime:_0x4f306f}=_0x23cac2;return this[_0x3713ad(0x395)](_0x57b932),_0xbf57c5[0x0][_0x3713ad(0x271)]=this[_0x3713ad(0x48a)](),this[_0x3713ad(0x38a)][_0x3713ad(0x3ae)](_0x8ff703,this[_0x3713ad(0x268)],this[_0x3713ad(0x2e4)],_0xbf57c5[0x0],_0x4f306f,this[_0x3713ad(0x508)]);}throw _0x23cac2[_0x3713ad(0x458)];}throw _0x4109c1['error'];}catch(_0xe866af){return this[_0x3713ad(0x4c0)][_0x3713ad(0x458)](_0xe866af),this[_0x3713ad(0x285)](!0x1);}}[_0x464faf(0x342)](_0x288417){const _0x130f12=_0x464faf;if(this[_0x130f12(0x4a0)](_0x288417))return this[_0x130f12(0x38a)][_0x130f12(0x3ae)](_0x4f6034,this[_0x130f12(0x268)],this[_0x130f12(0x2e4)],null,this[_0x130f12(0x436)],this[_0x130f12(0x5a5)],[],this[_0x130f12(0x508)]);this['_incrementRevisionNumber']();const _0xe7d7fb=this[_0x130f12(0x38a)][_0x130f12(0x3ae)](_0x52372b,this[_0x130f12(0x268)],this['type'],this['_pendingMutations'],this['_handler']);return _0xe7d7fb[_0x130f12(0x269)](),_0xe7d7fb[_0x130f12(0x58c)](),_0xe7d7fb;}['onRemoteRej'](_0x19b043){return this['_onConflict'](!!(_0x19b043!=null&&_0x19b043['isPermissionRej']));}[_0x464faf(0x207)](){const _0x5309ea=_0x464faf;return this[_0x5309ea(0x38a)][_0x5309ea(0x3ae)](_0x563a32,this[_0x5309ea(0x268)],this[_0x5309ea(0x2e4)],this[_0x5309ea(0x5a5)],this['_pendingMutations'],this[_0x5309ea(0x508)]);}['toggleOnline'](){return this;}['resend'](){const _0x18bc1b=_0x464faf;this[_0x18bc1b(0x508)][_0x18bc1b(0x370)](this[_0x18bc1b(0x5a5)]);}[_0x464faf(0x285)](_0x400255){const _0x2c98e2=_0x464faf;return this['_injector'][_0x2c98e2(0x3ae)](_0x4732c4,this['unitID'],this[_0x2c98e2(0x2e4)],null,this['_pendingMutations'],this[_0x2c98e2(0x508)],_0x400255);}};_0x8ff703=_0x147561([_0x18ef17(0x5,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x18ef17(0x6,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x557)])),_0x18ef17(0x7,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x18ef17(0x8,_0x22bd76[_0x464faf(0x4ae)]),_0x18ef17(0x9,_0x22bd76[_0x464faf(0x544)]),_0x18ef17(0xa,_0x2cb6ec[_0x464faf(0x53d)]),_0x18ef17(0xb,_0x22bd76[_0x464faf(0x56b)])],_0x8ff703);let _0x4732c4=class extends _0x245ce4{constructor(_0x2b76e3,_0x293e4b,_0x11812a,_0x2e6c90,_0x297599,_0x53e11a=!0x1,_0xc62d45,_0x20c5f0,_0xb0bc8d,_0x3baac9,_0x33186d,_0x1ebde0,_0x55d3f0){const _0x4170a5=_0x464faf;super(_0x2b76e3,_0x293e4b,_0x11812a,_0x2e6c90,_0x297599,_0x20c5f0,_0xb0bc8d,_0x33186d,_0x3baac9),_0x41b507(this,_0x4170a5(0x222),_0x4170a5(0x4e6)),(this[_0x4170a5(0x3fa)]=_0x53e11a,this[_0x4170a5(0x556)]=_0xc62d45,this[_0x4170a5(0x4fc)]=_0x1ebde0,this[_0x4170a5(0x4c5)]=_0x55d3f0,this[_0x4170a5(0x545)](),this[_0x4170a5(0x4e7)](),this[_0x4170a5(0x1d6)]());}[_0x464faf(0x478)](){return this;}[_0x464faf(0x565)](){return this;}[_0x464faf(0x342)](){return this;}[_0x464faf(0x456)](){return this;}[_0x464faf(0x207)](){return this;}[_0x464faf(0x2f7)](){return this;}[_0x464faf(0x381)](){const _0x2c86fb=_0x464faf;throw new Error(_0x2c86fb(0x274));}[_0x464faf(0x4e7)](){const _0x53b293=_0x464faf;this[_0x53b293(0x1c7)][_0x53b293(0x375)](this[_0x53b293(0x268)],this[_0x53b293(0x2e4)],null,[]);}[_0x464faf(0x545)](){const _0x3313f2=_0x464faf;this[_0x3313f2(0x3fa)]?this[_0x3313f2(0x4c5)][_0x3313f2(0x550)]({'title':this[_0x3313f2(0x4fc)]['t'](_0x3313f2(0x302)),'content':this[_0x3313f2(0x4fc)]['t'](_0x3313f2(0x535)),'type':_0x3313f2(0x458),'duration':0x0}):this[_0x3313f2(0x4c5)][_0x3313f2(0x550)]({'title':this[_0x3313f2(0x4fc)]['t'](_0x3313f2(0x446)),'content':this[_0x3313f2(0x4fc)]['t'](_0x3313f2(0x20d)),'type':_0x3313f2(0x458),'duration':0x0});}[_0x464faf(0x1d6)](){const _0x481434=_0x464faf;this[_0x481434(0x556)]['updatePermissionPoint'](new _0x38d7d8[(_0x481434(0x4e3))](this[_0x481434(0x268)])['id'],!0x1);}};_0x4732c4=_0x147561([_0x18ef17(0x6,_0x22bd76['Inject'](_0x22bd76[_0x464faf(0x281)])),_0x18ef17(0x7,_0x22bd76['ICommandService']),_0x18ef17(0x8,_0x22bd76[_0x464faf(0x56b)]),_0x18ef17(0x9,_0x22bd76['Inject'](_0x19e906['LocalCacheService'])),_0x18ef17(0xa,_0x22bd76['Inject'](_0x2cb6ec[_0x464faf(0x557)])),_0x18ef17(0xb,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x18ef17(0xc,_0x1b23d2['INotificationService'])],_0x4732c4);let _0x563a32=class extends _0x245ce4{constructor(_0x3ae25c,_0x4962f8,_0x3a71fe,_0x2f122f,_0x14c33b,_0x5ee05f,_0x13175f,_0x326654,_0x3092b1,_0x22b285){const _0x154226=_0x464faf;super(_0x3ae25c,_0x4962f8,_0x3a71fe,_0x2f122f,_0x14c33b,_0x3092b1,_0x22b285,_0x13175f,_0x326654),_0x41b507(this,'status',_0x154226(0x307)),this[_0x154226(0x38a)]=_0x5ee05f;}[_0x464faf(0x478)](_0x2cc0a1){const _0x5da7cf=_0x464faf;return this[_0x5da7cf(0x436)][_0x5da7cf(0x4a6)](_0x2cc0a1),this[_0x5da7cf(0x58c)](),this;}[_0x464faf(0x565)](_0x1e6009){const _0x1bc638=_0x464faf;throw new Error(_0x1bc638(0x1a7));}[_0x464faf(0x342)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x464faf(0x456)](){const _0x2ac66c=_0x464faf;throw new Error(_0x2ac66c(0x1c1));}['toggleOffline'](){return this;}[_0x464faf(0x2f7)](){const _0x2c08b4=_0x464faf,{_injector:_0x295c63,_pendingMutations:_0x1abef9,_awaitingChangeset:_0x38d6ca,unitID:_0x46596c,_handler:_0x419b3f,type:_0x5bf340}=this,_0x1851d4=_0x9aa735(_0x295c63,_0x46596c,_0x5bf340,_0x38d6ca,_0x1abef9,_0x419b3f);return _0x1851d4 instanceof _0x52372b?_0x1851d4[_0x2c08b4(0x269)]():(_0x1851d4 instanceof _0x8ff703||_0x1851d4 instanceof _0x30c8dd)&&_0x1851d4[_0x2c08b4(0x381)](),_0x1851d4;}[_0x464faf(0x381)](){const _0x3558e9=_0x464faf;throw new Error(_0x3558e9(0x314));}};_0x563a32=_0x147561([_0x18ef17(0x5,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x18ef17(0x6,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x557)])),_0x18ef17(0x7,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x18ef17(0x8,_0x22bd76[_0x464faf(0x4ae)]),_0x18ef17(0x9,_0x22bd76[_0x464faf(0x56b)])],_0x563a32);let _0x4f6034=class extends _0x245ce4{constructor(_0x3b8586,_0x1099b9,_0x2a255f,_0x4df1f7,_0x345cbf,_0xef209,_0x51c2f3,_0x1ddaaa,_0x263e73,_0x44ed07,_0x9b283b,_0x2436d7,_0x3cbf72,_0x25b724){const _0x2ee16e=_0x464faf;super(_0x3b8586,_0x1099b9,_0x2a255f,_0x4df1f7,_0x51c2f3,_0x2436d7,_0x3cbf72,_0x263e73,_0x44ed07),_0x41b507(this,'status',_0x2ee16e(0x1f6)),(this[_0x2ee16e(0x52a)]=_0x345cbf,this[_0x2ee16e(0x47b)]=_0xef209,this[_0x2ee16e(0x38a)]=_0x1ddaaa,this[_0x2ee16e(0x4c0)]=_0x9b283b,this[_0x2ee16e(0x24e)]=_0x25b724);}[_0x464faf(0x2a5)](_0x296ce5){const _0x521205=_0x464faf;try{const _0x438863=[..._0x296ce5,...this[_0x521205(0x47b)]],_0x1b9334=[this['_awaitingChangeset']||this[_0x521205(0x52a)]][_0x521205(0x2e9)](_0x2c4c95=>!!_0x2c4c95);let _0x32d4cd,_0x1992ab;if(_0x1b9334[_0x521205(0x266)]){const _0x32d9f4=this['_transformService'][_0x521205(0x1c6)](_0x438863,_0x1b9334,!0x1);if(!_0x2cb6ec[_0x521205(0x2a4)](_0x32d9f4))throw _0x32d9f4[_0x521205(0x458)];_0x32d4cd=_0x32d9f4[_0x521205(0x1f4)],_0x1992ab=_0x32d9f4[_0x521205(0x532)];}else _0x32d4cd=_0x438863,_0x1992ab=[];let _0x5a00a9=this[_0x521205(0x436)];_0x32d4cd[_0x521205(0x1fc)](_0x4bd38b=>{const _0x568faf=_0x521205;let _0x4aa2b3;if(_0x5a00a9[_0x568faf(0x266)]){const _0x5a8fd9=this[_0x568faf(0x24e)][_0x568faf(0x1de)](_0x4bd38b,_0x5a00a9);if(!_0x2cb6ec['isTransformMutationsWithChangesetSuccess'](_0x5a8fd9))throw _0x5a8fd9[_0x568faf(0x458)];_0x4aa2b3=_0x5a8fd9[_0x568faf(0x1f4)],_0x5a00a9=_0x5a8fd9[_0x568faf(0x275)];}else _0x4aa2b3=_0x4bd38b;this[_0x568faf(0x395)](_0x4aa2b3);}),this[_0x521205(0x52a)]&&this[_0x521205(0x209)](),this['_awaitingChangeset']&&_0x1992ab[_0x521205(0x266)]&&(_0x1992ab[0x0][_0x521205(0x271)]=this[_0x521205(0x48a)]());let _0x113f31;if(this[_0x521205(0x5a5)]&&_0x5a00a9['length']!==0x0)_0x113f31=this[_0x521205(0x38a)][_0x521205(0x3ae)](_0x8ff703,this[_0x521205(0x268)],this['type'],_0x1992ab[0x0],_0x5a00a9,this[_0x521205(0x508)]);else{if(this[_0x521205(0x5a5)]&&_0x5a00a9[_0x521205(0x266)]===0x0)_0x1992ab[0x0][_0x521205(0x271)]=this[_0x521205(0x48a)](),_0x113f31=this[_0x521205(0x38a)]['createInstance'](_0x30c8dd,this['unitID'],this['type'],_0x1992ab[0x0],this[_0x521205(0x508)]);else{if(_0x5a00a9[_0x521205(0x266)]!==0x0){const _0x45d34d=this[_0x521205(0x38a)]['createInstance'](_0x52372b,this['unitID'],this['type'],_0x5a00a9,this['_handler']);_0x45d34d[_0x521205(0x269)](),_0x113f31=_0x45d34d;}else _0x113f31=this[_0x521205(0x38a)]['createInstance'](_0x46582e,this[_0x521205(0x268)],this[_0x521205(0x2e4)],this[_0x521205(0x508)]);}}return _0x113f31[_0x521205(0x58c)](),_0x113f31;}catch(_0x4335ca){return this['_logService'][_0x521205(0x458)]('[FetchMissState]',_0x521205(0x585),_0x4335ca),this[_0x521205(0x38a)][_0x521205(0x3ae)](_0x4732c4,this[_0x521205(0x268)],this[_0x521205(0x2e4)],this[_0x521205(0x5a5)],this[_0x521205(0x436)],this['_handler'],!0x1);}}[_0x464faf(0x381)](){const _0x267af9=_0x464faf;throw new Error(_0x267af9(0x1d1));}[_0x464faf(0x478)](_0x44aa04){const _0x4da6ad=_0x464faf;return this[_0x4da6ad(0x436)]['push'](_0x44aa04),this;}[_0x464faf(0x565)](_0x16b631){const _0x54968e=_0x464faf;return this['_queuedRemoteChangesets'][_0x54968e(0x4a6)](_0x16b631),this;}[_0x464faf(0x342)](_0x20d7c0){const _0x48aeea=_0x464faf;if(this[_0x48aeea(0x5a5)])return this[_0x48aeea(0x52a)]=this[_0x48aeea(0x5a5)],this[_0x48aeea(0x5a5)]=null,this;throw new Error(_0x48aeea(0x2aa));}[_0x464faf(0x456)](_0x1da7cf){const _0x231ccc=_0x464faf;return this['_onConflict'](!!(_0x1da7cf!=null&&_0x1da7cf[_0x231ccc(0x255)]));}[_0x464faf(0x207)](){const _0x3f51be=_0x464faf;return this['_injector'][_0x3f51be(0x3ae)](_0x563a32,this['unitID'],this[_0x3f51be(0x2e4)],this['_awaitingChangeset'],this[_0x3f51be(0x436)],this[_0x3f51be(0x508)]);}[_0x464faf(0x2f7)](){return this;}['_onConflict'](_0x16f3d4){const _0x576f09=_0x464faf;return this[_0x576f09(0x38a)][_0x576f09(0x3ae)](_0x4732c4,this[_0x576f09(0x268)],this['type'],this['_awaitingChangeset'],this[_0x576f09(0x436)],this[_0x576f09(0x508)],_0x16f3d4);}};_0x4f6034=_0x147561([_0x18ef17(0x7,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x18ef17(0x8,_0x22bd76['Inject'](_0x2cb6ec[_0x464faf(0x557)])),_0x18ef17(0x9,_0x22bd76[_0x464faf(0x568)](_0x19e906['LocalCacheService'])),_0x18ef17(0xa,_0x22bd76[_0x464faf(0x544)]),_0x18ef17(0xb,_0x22bd76['ICommandService']),_0x18ef17(0xc,_0x22bd76[_0x464faf(0x56b)]),_0x18ef17(0xd,_0x2cb6ec[_0x464faf(0x53d)])],_0x4f6034);function _0x9aa735(_0x100df1,_0x4adbf6,_0x41dec5,_0x27f540,_0x500923,_0x3e6aa5){const _0x10b4e7=_0x464faf;return _0x27f540&&_0x500923['length']?_0x100df1[_0x10b4e7(0x3ae)](_0x8ff703,_0x4adbf6,_0x41dec5,_0x27f540,_0x500923,_0x3e6aa5):_0x27f540?_0x100df1['createInstance'](_0x30c8dd,_0x4adbf6,_0x41dec5,_0x27f540,_0x3e6aa5):_0x500923[_0x10b4e7(0x266)]?_0x100df1[_0x10b4e7(0x3ae)](_0x52372b,_0x4adbf6,_0x41dec5,_0x500923,_0x3e6aa5):_0x100df1[_0x10b4e7(0x3ae)](_0x46582e,_0x4adbf6,_0x41dec5,_0x3e6aa5);}var _0x520235=Object['defineProperty'],_0x490c67=Object['getOwnPropertyDescriptor'],_0x58e03a=(_0x4d4433,_0x5cb4ae,_0x12ac40,_0x3716b4)=>{const _0x4c8dde=_0x464faf;for(var _0x17c951=_0x3716b4>0x1?void 0x0:_0x3716b4?_0x490c67(_0x5cb4ae,_0x12ac40):_0x5cb4ae,_0x40d8dc=_0x4d4433[_0x4c8dde(0x266)]-0x1,_0xb8b1aa;_0x40d8dc>=0x0;_0x40d8dc--)(_0xb8b1aa=_0x4d4433[_0x40d8dc])&&(_0x17c951=(_0x3716b4?_0xb8b1aa(_0x5cb4ae,_0x12ac40,_0x17c951):_0xb8b1aa(_0x17c951))||_0x17c951);return _0x3716b4&&_0x17c951&&_0x520235(_0x5cb4ae,_0x12ac40,_0x17c951),_0x17c951;},_0x57ddf1=(_0x397605,_0x4ed20e)=>(_0x5938d1,_0x213508)=>_0x4ed20e(_0x5938d1,_0x213508,_0x397605);_0x19e906[_0x464faf(0x51e)]=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x5407ce,_0x29ffeb,_0x57b8d2,_0x2139cb,_0x13650f,_0x53b368,_0xed4858,_0x5a8492,_0x2c323b,_0x48f545,_0x496950,_0x35248d,_0x27bd36){const _0x3bd2a0=_0x464faf;super(),_0x41b507(this,_0x3bd2a0(0x3dc),new _0xb468a3[(_0x3bd2a0(0x579))](null)),_0x41b507(this,_0x3bd2a0(0x3fb),this['_state$'][_0x3bd2a0(0x45e)]()),_0x41b507(this,_0x3bd2a0(0x41b)),_0x41b507(this,'_collaborationPaused',!0x1),_0x41b507(this,'status$',this[_0x3bd2a0(0x3fb)][_0x3bd2a0(0x457)](_0xb468a3[_0x3bd2a0(0x1bb)](_0x2f0b3b=>_0x2f0b3b?_0x2f0b3b[_0x3bd2a0(0x222)]:_0x29599c['OFFLINE']),_0xb468a3['shareReplay'](0x1))),_0x41b507(this,_0x3bd2a0(0x543),!0x1),_0x41b507(this,'_remoteChangesetQueue',[]),(this[_0x3bd2a0(0x268)]=_0x5407ce,this[_0x3bd2a0(0x3ef)]=_0x29ffeb,this[_0x3bd2a0(0x1cf)]=_0x57b8d2,this['_injector']=_0x2139cb,this['_localCacheService']=_0x13650f,this[_0x3bd2a0(0x459)]=_0x53b368,this[_0x3bd2a0(0x4fc)]=_0xed4858,this[_0x3bd2a0(0x1a3)]=_0x5a8492,this['_logService']=_0x2c323b,this[_0x3bd2a0(0x382)]=_0x48f545,this[_0x3bd2a0(0x391)]=_0x496950,this[_0x3bd2a0(0x556)]=_0x35248d,this[_0x3bd2a0(0x1d2)]=_0x27bd36);}get['state'](){return this['_state'];}async[_0x464faf(0x51d)](){const _0xd46f93=_0x464faf;if(this[_0xd46f93(0x42f)])throw new Error(_0xd46f93(0x524));await this['_init']();}[_0x464faf(0x311)](){const _0x411c92=_0x464faf;return this['_collaborationPaused']=!0x0,_0x22bd76[_0x411c92(0x2ec)](()=>{const _0x50dfee=_0x411c92;this[_0x50dfee(0x3b4)]=!0x1,this[_0x50dfee(0x5c9)]();});}['_updateState'](_0x35502e){const _0x323690=_0x464faf;this[_0x323690(0x41b)]=_0x35502e,this[_0x323690(0x3dc)][_0x323690(0x4d2)](_0x35502e);}async[_0x464faf(0x239)](){const _0x3841db=_0x464faf;var _0x259987;this[_0x3841db(0x471)](await this[_0x3841db(0x3ba)]()),this[_0x3841db(0x1d2)]&&((_0x259987=this[_0x3841db(0x1d2)])==null||_0x259987[_0x3841db(0x476)](this[_0x3841db(0x268)]),this[_0x3841db(0x241)](this['_singleActiveUnitService'][_0x3841db(0x475)](this[_0x3841db(0x268)])[_0x3841db(0x1d7)](_0x51552b=>{const _0x5efc84=_0x3841db;this[_0x5efc84(0x4c0)][_0x5efc84(0x3e8)]('[CollaborationEntity]',_0x5efc84(0x420),_0x51552b),_0x51552b===_0x32afde['OTHER_CLIENTS_EDITING']?(this[_0x5efc84(0x391)][_0x5efc84(0x550)]({'content':this['_localeService']['t'](_0x5efc84(0x352)),'type':_0x5562a6[_0x5efc84(0x253)][_0x5efc84(0x272)]}),this[_0x5efc84(0x556)][_0x5efc84(0x2e5)](new _0x38d7d8[(_0x5efc84(0x4e3))](this[_0x5efc84(0x268)])['id'],!0x1)):this['_permissionService'][_0x5efc84(0x2e5)](new _0x38d7d8[(_0x5efc84(0x4e3))](this['unitID'])['id'],!0x0);})));let _0x113907=!0x1;return this[_0x3841db(0x241)](this[_0x3841db(0x3ef)][_0x3841db(0x3e1)][_0x3841db(0x1d7)](_0xd3ea59=>{const _0x45dd2b=_0x3841db;_0xd3ea59===_0x4d9058[_0x45dd2b(0x50f)]?this['_toggleOnline'](_0x113907):_0xd3ea59===_0x4d9058[_0x45dd2b(0x374)]&&(_0x113907=!0x0,this[_0x45dd2b(0x3d4)]());})),this[_0x3841db(0x241)](this[_0x3841db(0x3ef)][_0x3841db(0x3f2)][_0x3841db(0x1d7)](_0x3deb3a=>{const _0x5bf972=_0x3841db;try{switch(_0x3deb3a[_0x5bf972(0x571)]){case _0x2cb6ec[_0x5bf972(0x312)][_0x5bf972(0x442)]:{this[_0x5bf972(0x1e7)](_0x2cb6ec[_0x5bf972(0x30a)](_0x3deb3a[_0x5bf972(0x25b)]));break;}case _0x2cb6ec['CollaborationEvent'][_0x5bf972(0x36e)]:{this['_onRemoteACK'](_0x3deb3a[_0x5bf972(0x25b)]);break;}case _0x2cb6ec[_0x5bf972(0x312)][_0x5bf972(0x20e)]:{this[_0x5bf972(0x2e1)]();break;}case _0x2cb6ec['CollaborationEvent'][_0x5bf972(0x38e)]:{this[_0x5bf972(0x44f)](_0x3deb3a['data'][_0x5bf972(0x4f8)][_0x5bf972(0x1bb)](_0x1b9f86=>_0x2cb6ec[_0x5bf972(0x30a)](_0x1b9f86)));break;}case _0x2cb6ec[_0x5bf972(0x312)][_0x5bf972(0x353)]:this[_0x5bf972(0x2e1)]({'isPermissionRej':!0x0});}}catch(_0x32b792){throw console[_0x5bf972(0x458)]('Error\x20on\x20receiving\x20event',_0x32b792),_0x32b792;}})),this[_0x3841db(0x41b)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x464faf(0x34d)](){const _0x402369=_0x464faf;if(this[_0x402369(0x543)])throw new Error(_0x402369(0x291));this['_transitionLocked']=!0x0;}[_0x464faf(0x4f2)](_0x47ecb3){const _0x5ee91f=_0x464faf;this[_0x5ee91f(0x34d)](),this[_0x5ee91f(0x471)](this[_0x5ee91f(0x41b)][_0x5ee91f(0x478)](_0x47ecb3)),this['_unlockTransition']();}[_0x464faf(0x1e7)](_0xf7ee0c){const _0x3d7b11=_0x464faf;if(!(_0xf7ee0c[_0x3d7b11(0x292)]<=this[_0x3d7b11(0x1a3)]['getCurrentRevOfUnit'](this[_0x3d7b11(0x268)]))){if(this[_0x3d7b11(0x3b4)]){this[_0x3d7b11(0x42e)][_0x3d7b11(0x4a6)](_0xf7ee0c);return;}this[_0x3d7b11(0x5a8)](_0xf7ee0c);}}[_0x464faf(0x5c9)](){const _0xcd0a01=_0x464faf;this['_remoteChangesetQueue']['forEach'](_0x2367b6=>this[_0xcd0a01(0x5a8)](_0x2367b6)),this[_0xcd0a01(0x42e)]=[];}[_0x464faf(0x5a8)](_0x204f2c){const _0x4ed0c3=_0x464faf,_0x16d197=this['_compressMutationService']['interceptor'][_0x4ed0c3(0x2b9)](this[_0x4ed0c3(0x459)][_0x4ed0c3(0x2d7)][_0x4ed0c3(0x408)]()[_0x4ed0c3(0x1ff)])(_0x204f2c[_0x4ed0c3(0x4a5)],null)||_0x204f2c[_0x4ed0c3(0x4a5)],_0x3530b5={..._0x204f2c,'mutations':_0x16d197};this[_0x4ed0c3(0x34d)](),this[_0x4ed0c3(0x471)](this['_state'][_0x4ed0c3(0x565)](_0x3530b5)),this[_0x4ed0c3(0x4ea)]();}['_onRemoteACK'](_0x4b8535){const _0x6246c1=_0x464faf;this['_lockTransition'](),this[_0x6246c1(0x471)](this['_state'][_0x6246c1(0x342)](_0x4b8535)),this[_0x6246c1(0x4ea)]();}[_0x464faf(0x2e1)](_0x389863){const _0x2e8015=_0x464faf;this['_lockTransition'](),this['_updateState'](this[_0x2e8015(0x41b)][_0x2e8015(0x456)](_0x389863)),this[_0x2e8015(0x4ea)]();}[_0x464faf(0x44f)](_0x121cbe){const _0x3dc475=_0x464faf;if(!(this['_state']instanceof _0x4f6034))throw new TypeError(_0x3dc475(0x4fa));const _0x16e7d1=_0x121cbe[_0x3dc475(0x1bb)](_0x32b2aa=>{const _0x907ea8=_0x3dc475,_0x1aab13=this['_compressMutationService'][_0x907ea8(0x2d7)][_0x907ea8(0x2b9)](this[_0x907ea8(0x459)]['interceptor'][_0x907ea8(0x408)]()[_0x907ea8(0x1ff)])(_0x32b2aa['mutations'],null)||_0x32b2aa[_0x907ea8(0x4a5)];return{..._0x32b2aa,'mutations':_0x1aab13};});this['_lockTransition'](),this['_updateState'](this[_0x3dc475(0x41b)]['onMissedChangesetFetched'](_0x16e7d1)),this[_0x3dc475(0x4ea)]();}['_toggleOffline'](){const _0x3472ff=_0x464faf;this[_0x3472ff(0x34d)](),this[_0x3472ff(0x471)](this[_0x3472ff(0x41b)][_0x3472ff(0x207)]()),this[_0x3472ff(0x4ea)]();}[_0x464faf(0x31f)](_0x24836d=!0x1){const _0x5aa34c=_0x464faf;this[_0x5aa34c(0x34d)](),this['_updateState'](this[_0x5aa34c(0x41b)]['toggleOnline']()),this[_0x5aa34c(0x4ea)]();const _0x216045=this[_0x5aa34c(0x41b)];_0x24836d&&_0x216045 instanceof _0x46582e&&(this['_lockTransition'](),this[_0x5aa34c(0x471)](_0x216045['fetchMiss']()),this[_0x5aa34c(0x4ea)]());}async['_createInitialState'](){return new Promise(_0x532c14=>{const _0x3ead6b=_0x437d;this[_0x3ead6b(0x3ef)][_0x3ead6b(0x3e1)][_0x3ead6b(0x457)](_0xb468a3[_0x3ead6b(0x4f5)](0x1))[_0x3ead6b(0x1d7)](async _0x1c7ad6=>{const _0x30d84d=_0x3ead6b;_0x532c14(await this[_0x30d84d(0x31d)](_0x1c7ad6===_0x4d9058['ONLINE']));});});}[_0x464faf(0x4fb)](){const _0x15149d=_0x464faf,_0x5def27=this[_0x15149d(0x268)];return{'onStateChange':(_0x4310a2,_0x1e36aa)=>{const _0x4fd2ce=_0x15149d;if(_0x4310a2!==this[_0x4fd2ce(0x41b)])throw new Error(_0x4fd2ce(0x50d)+_0x4310a2['status']+_0x4fd2ce(0x515)+_0x1e36aa[_0x4fd2ce(0x222)]+_0x4fd2ce(0x47d)+this[_0x4fd2ce(0x41b)][_0x4fd2ce(0x222)]);this[_0x4fd2ce(0x471)](_0x1e36aa);},'onSendChangeset':_0x1e8f31=>{const _0x443f00=_0x15149d,_0x57c785={'eventID':_0x2cb6ec['CollaborationEvent'][_0x443f00(0x2b1)],'data':{'unitID':_0x1e8f31[_0x443f00(0x268)],'unitType':this[_0x443f00(0x1cf)],'changeset':_0x1e8f31,'memberID':this[_0x443f00(0x3ef)]['getMemberID']()}};this['session'][_0x443f00(0x427)](_0x57c785,this['unitID']);},'onMissingChangesets':({from:_0x14605f,to:_0x5c8e92})=>{const _0x4c03e9=_0x15149d;this[_0x4c03e9(0x4c0)][_0x4c03e9(0x3e8)](_0x4c03e9(0x592),_0x4c03e9(0x24a)+_0x14605f+_0x4c03e9(0x19f)+_0x5c8e92);const _0x2bd273={'eventID':_0x2cb6ec[_0x4c03e9(0x312)][_0x4c03e9(0x3a2)],'data':{'unitID':_0x5def27,'unitType':this[_0x4c03e9(0x1cf)],'from':_0x14605f,'to':_0x5c8e92}};this[_0x4c03e9(0x3ef)]['send'](_0x2bd273,this[_0x4c03e9(0x268)]);}};}async[_0x464faf(0x31d)](_0x5db25b){const _0x57af0b=_0x464faf;var _0x40cc68,_0x886745;const _0x16bcc5=await this[_0x57af0b(0x1c7)][_0x57af0b(0x283)](this[_0x57af0b(0x268)]),_0x9c8f4f=(_0x40cc68=_0x16bcc5==null?void 0x0:_0x16bcc5['mutations'])!=null?_0x40cc68:[],_0x5c52e5=(_0x886745=_0x16bcc5==null?void 0x0:_0x16bcc5[_0x57af0b(0x4de)])!=null?_0x886745:null,_0x322b56=this['unitID'];try{this[_0x57af0b(0x1c9)](_0x5c52e5,_0x9c8f4f);}catch(_0x10cc86){this[_0x57af0b(0x4c0)][_0x57af0b(0x458)](_0x10cc86);}const _0x2e0eac=this['_createHandler']();if(_0x5db25b){const _0x534514=_0x9aa735(this[_0x57af0b(0x38a)],_0x322b56,this[_0x57af0b(0x1cf)],_0x5c52e5,_0x9c8f4f,_0x2e0eac);return _0x534514 instanceof _0x52372b?_0x534514[_0x57af0b(0x269)]():(_0x534514 instanceof _0x8ff703||_0x534514 instanceof _0x30c8dd)&&_0x534514[_0x57af0b(0x381)](),_0x534514;}return this[_0x57af0b(0x38a)][_0x57af0b(0x3ae)](_0x563a32,_0x322b56,this[_0x57af0b(0x1cf)],_0x5c52e5,_0x9c8f4f,_0x2e0eac);}[_0x464faf(0x1c9)](_0x4d5cce,_0x3e7de1){const _0x5a62eb=_0x464faf;var _0x576566,_0x3dda96;const _0x33e5e1=this[_0x5a62eb(0x459)][_0x5a62eb(0x2d7)][_0x5a62eb(0x2b9)](this[_0x5a62eb(0x459)][_0x5a62eb(0x2d7)][_0x5a62eb(0x408)]()[_0x5a62eb(0x1ff)]);(_0x576566=_0x33e5e1((_0x4d5cce==null?void 0x0:_0x4d5cce[_0x5a62eb(0x4a5)])||[],null))==null||_0x576566[_0x5a62eb(0x1fc)](_0x413b90=>this['_commandService']['executeCommand'](_0x413b90['id'],_0x413b90[_0x5a62eb(0x4d5)])),(_0x3dda96=_0x33e5e1(_0x3e7de1||[],null))==null||_0x3dda96['forEach'](_0x29fe6d=>this[_0x5a62eb(0x382)][_0x5a62eb(0x38c)](_0x29fe6d['id'],_0x29fe6d[_0x5a62eb(0x4d5)]));}},_0x19e906[_0x464faf(0x51e)]=_0x58e03a([_0x57ddf1(0x3,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x57ddf1(0x4,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x57ddf1(0x5,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x447)])),_0x57ddf1(0x6,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x57ddf1(0x7,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x557)])),_0x57ddf1(0x8,_0x22bd76[_0x464faf(0x544)]),_0x57ddf1(0x9,_0x22bd76['ICommandService']),_0x57ddf1(0xa,_0x1b23d2[_0x464faf(0x536)]),_0x57ddf1(0xb,_0x22bd76[_0x464faf(0x281)]),_0x57ddf1(0xc,_0x22bd76[_0x464faf(0x230)](_0x4b8af1))],_0x19e906['CollaborationEntity']),_0x19e906['DocCollaborationEntity']=class extends _0x19e906[_0x464faf(0x51e)]{constructor(_0x27577b,_0x19b9ad,_0x1d5807,_0x13d799,_0x378c51,_0x577dce,_0x4f61f9,_0x29d7c3,_0xfd467a,_0x11c3c1,_0x1f87e6,_0x1afba2,_0x49a51c,_0x3dc2da,_0x5ab25c,_0x521c22,_0x323804){const _0x142479=_0x464faf;super(_0x27577b,_0x1d5807,_0x19b9ad,_0x13d799,_0x378c51,_0x577dce,_0x4f61f9,_0x29d7c3,_0x49a51c,_0x3dc2da,_0x5ab25c,_0x521c22,_0x323804),this[_0x142479(0x268)]=_0x27577b,this[_0x142479(0x2e4)]=_0x19b9ad,this[_0x142479(0x42b)]=_0xfd467a,this[_0x142479(0x5aa)]=_0x11c3c1,this[_0x142479(0x481)]=_0x1f87e6,this[_0x142479(0x452)]=_0x1afba2;}[_0x464faf(0x4fb)](){const _0x526ed2=_0x464faf,_0x23a9b1=super[_0x526ed2(0x4fb)]();return _0x23a9b1[_0x526ed2(0x53f)]=_0x13e933=>this[_0x526ed2(0x5aa)][_0x526ed2(0x2ce)](_0x13e933),_0x23a9b1[_0x526ed2(0x3e0)]=_0x58ae66=>this[_0x526ed2(0x481)][_0x526ed2(0x480)](_0x58ae66),_0x23a9b1[_0x526ed2(0x41d)]=_0x4f2aac=>this[_0x526ed2(0x452)][_0x526ed2(0x341)](_0x4f2aac),_0x23a9b1[_0x526ed2(0x40b)]=_0x5913a9=>this[_0x526ed2(0x5aa)][_0x526ed2(0x38f)](_0x5913a9),_0x23a9b1;}async[_0x464faf(0x239)](){const _0x5992c5=_0x464faf,_0x164a32=await super[_0x5992c5(0x239)]();return this[_0x5992c5(0x241)](this[_0x5992c5(0x382)][_0x5992c5(0x3da)]((_0x4f03fb,_0x1f3a99)=>{const _0x31b5de=_0x5992c5;if(_0x4f03fb['type']!==_0x22bd76['CommandType'][_0x31b5de(0x2eb)]||_0x1f3a99!=null&&_0x1f3a99['fromCollab']||_0x1f3a99!=null&&_0x1f3a99[_0x31b5de(0x5bd)])return;const _0x2bf79e=_0x4f03fb[_0x31b5de(0x4d5)];if((_0x2bf79e==null?void 0x0:_0x2bf79e[_0x31b5de(0x3eb)])!==this[_0x31b5de(0x268)])return;let _0x2d304b=_0x4f03fb;if(_0x2d304b['id']===_0x369ae4[_0x31b5de(0x425)]['id']){const _0x5a4e24=_0x2d304b[_0x31b5de(0x4d5)];_0x2d304b={'id':_0x369ae4['RichTextEditingMutation']['id'],'type':_0x22bd76[_0x31b5de(0x2d6)][_0x31b5de(0x2eb)],'params':{'unitId':_0x5a4e24[_0x31b5de(0x3eb)],'actions':_0x5a4e24[_0x31b5de(0x1a2)],'textRanges':null}};}const _0x3b4924=this[_0x31b5de(0x459)][_0x31b5de(0x2d7)][_0x31b5de(0x2b9)](this[_0x31b5de(0x459)][_0x31b5de(0x2d7)]['getInterceptPoints']()[_0x31b5de(0x1f8)])([_0x2d304b],null)||[_0x2d304b];this[_0x31b5de(0x4f2)](_0x3b4924[0x0]);})),_0x164a32;}},_0x19e906[_0x464faf(0x492)]=_0x58e03a([_0x57ddf1(0x3,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x57ddf1(0x4,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x57ddf1(0x5,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x447)])),_0x57ddf1(0x6,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x57ddf1(0x7,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec['RevisionService'])),_0x57ddf1(0x8,_0x22bd76[_0x464faf(0x568)](_0x3efaf4[_0x464faf(0x43f)])),_0x57ddf1(0x9,_0x22bd76[_0x464faf(0x568)](_0x1ffb94)),_0x57ddf1(0xa,_0x22bd76['Inject'](_0x529ffa)),_0x57ddf1(0xb,_0x22bd76[_0x464faf(0x568)](_0x43e255)),_0x57ddf1(0xc,_0x22bd76[_0x464faf(0x544)]),_0x57ddf1(0xd,_0x22bd76[_0x464faf(0x4ae)]),_0x57ddf1(0xe,_0x1b23d2[_0x464faf(0x536)]),_0x57ddf1(0xf,_0x22bd76['IPermissionService']),_0x57ddf1(0x10,_0x22bd76[_0x464faf(0x230)](_0x4b8af1))],_0x19e906[_0x464faf(0x492)]),_0x19e906[_0x464faf(0x228)]=class extends _0x19e906['CollaborationEntity']{constructor(_0x413ef6,_0x3e51c0,_0x855320,_0x2021a4,_0xa3dba5,_0x27bcde,_0x517aaf,_0x3efce0,_0x117628,_0xd048f8,_0x40c890,_0x53a6e9,_0x48d2f2,_0x3a6719){const _0x175a5c=_0x464faf;super(_0x413ef6,_0x855320,_0x3e51c0,_0x2021a4,_0xa3dba5,_0x27bcde,_0x517aaf,_0x3efce0,_0xd048f8,_0x40c890,_0x53a6e9,_0x48d2f2,_0x3a6719),this[_0x175a5c(0x268)]=_0x413ef6,this[_0x175a5c(0x2e4)]=_0x3e51c0,this['_sheetTransformSelectionsService']=_0x117628;}[_0x464faf(0x4fb)](){const _0x594009=_0x464faf,_0x5bdca4=super[_0x594009(0x4fb)]();return _0x5bdca4[_0x594009(0x3e0)]=_0x48d7ee=>this['_sheetTransformSelectionsService']['transformSelections'](_0x48d7ee),_0x5bdca4;}async['_init'](){const _0x6ad8c1=_0x464faf,_0x3053ae=await super['_init']();return this[_0x6ad8c1(0x241)](this[_0x6ad8c1(0x382)]['onCommandExecuted']((_0x2a4540,_0x2e62f4)=>{const _0x583b1c=_0x6ad8c1;if(_0x2a4540[_0x583b1c(0x2e4)]!==_0x22bd76['CommandType'][_0x583b1c(0x2eb)]||_0x2e62f4!=null&&_0x2e62f4[_0x583b1c(0x404)]||_0x2e62f4!=null&&_0x2e62f4[_0x583b1c(0x5bd)])return;const _0x76c9f8=_0x2a4540[_0x583b1c(0x4d5)];if((_0x76c9f8==null?void 0x0:_0x76c9f8[_0x583b1c(0x3eb)])!==this['unitID'])return;const _0x3878d3=_0x2a4540,_0x5b8c25=this[_0x583b1c(0x459)][_0x583b1c(0x2d7)][_0x583b1c(0x2b9)](this['_compressMutationService'][_0x583b1c(0x2d7)][_0x583b1c(0x408)]()[_0x583b1c(0x1f8)])([_0x3878d3],null)||[_0x3878d3];this['_onLocalMutation'](_0x5b8c25[0x0]);})),_0x3053ae;}},_0x19e906[_0x464faf(0x228)]=_0x58e03a([_0x57ddf1(0x3,_0x22bd76['Inject'](_0x22bd76['Injector'])),_0x57ddf1(0x4,_0x22bd76['Inject'](_0x19e906['LocalCacheService'])),_0x57ddf1(0x5,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x447)])),_0x57ddf1(0x6,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x57ddf1(0x7,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec['RevisionService'])),_0x57ddf1(0x8,_0x22bd76[_0x464faf(0x568)](_0xa1505e)),_0x57ddf1(0x9,_0x22bd76['ILogService']),_0x57ddf1(0xa,_0x22bd76[_0x464faf(0x4ae)]),_0x57ddf1(0xb,_0x1b23d2[_0x464faf(0x536)]),_0x57ddf1(0xc,_0x22bd76[_0x464faf(0x281)]),_0x57ddf1(0xd,_0x22bd76[_0x464faf(0x230)](_0x4b8af1))],_0x19e906[_0x464faf(0x228)]);var _0x2e4036=Object[_0x464faf(0x229)],_0x5cac53=Object[_0x464faf(0x36f)],_0x340577=(_0x1f9f14,_0x1f74a4,_0x4670f9,_0x9c16c)=>{const _0x42bbe5=_0x464faf;for(var _0x1e4588=_0x9c16c>0x1?void 0x0:_0x9c16c?_0x5cac53(_0x1f74a4,_0x4670f9):_0x1f74a4,_0x23dee9=_0x1f9f14[_0x42bbe5(0x266)]-0x1,_0x8772d7;_0x23dee9>=0x0;_0x23dee9--)(_0x8772d7=_0x1f9f14[_0x23dee9])&&(_0x1e4588=(_0x9c16c?_0x8772d7(_0x1f74a4,_0x4670f9,_0x1e4588):_0x8772d7(_0x1e4588))||_0x1e4588);return _0x9c16c&&_0x1e4588&&_0x2e4036(_0x1f74a4,_0x4670f9,_0x1e4588),_0x1e4588;},_0x1e3caf=(_0x21a80d,_0x90f666)=>(_0x3ede40,_0x3f554c)=>_0x90f666(_0x3ede40,_0x3f554c,_0x21a80d);_0x19e906['CollaborationController']=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x3f06b6,_0x296a32,_0x5a0d53){const _0x335ff7=_0x464faf;super(),_0x41b507(this,_0x335ff7(0x538),new Map()),_0x41b507(this,_0x335ff7(0x2f2),new _0xb468a3[(_0x335ff7(0x57c))]()),(this[_0x335ff7(0x38a)]=_0x3f06b6,this[_0x335ff7(0x43a)]=_0x296a32,this[_0x335ff7(0x334)]=_0x5a0d53,this[_0x335ff7(0x239)]());}[_0x464faf(0x383)](){const _0x13dd01=_0x464faf;super[_0x13dd01(0x383)](),this[_0x13dd01(0x538)]['forEach'](_0x3bfcee=>_0x3bfcee[_0x13dd01(0x383)]()),this['_entities'][_0x13dd01(0x5be)]();}['getCollabEntity'](_0x191098){const _0x123e1f=_0x464faf;var _0x19655c;return(_0x19655c=this['_entities'][_0x123e1f(0x321)](_0x191098))!=null?_0x19655c:null;}['getCollabEntity$'](_0x44153d){const _0x4a5460=_0x464faf,_0x40777c=this[_0x4a5460(0x1d8)](_0x44153d);return _0x40777c?_0xb468a3['of'](_0x40777c):this['_entityInit$'][_0x4a5460(0x457)](_0x5ac862[_0x4a5460(0x2e9)](_0x303c2f=>_0x303c2f[_0x4a5460(0x268)]===_0x44153d));}[_0x464faf(0x239)](){const _0x3738f6=_0x464faf;this[_0x3738f6(0x334)]['getTypeOfUnitAdded$'](_0x22bd76[_0x3738f6(0x53c)]['UNIVER_SHEET'])[_0x3738f6(0x457)](_0xb468a3[_0x3738f6(0x3d8)](this[_0x3738f6(0x49d)]),_0x5ac862[_0x3738f6(0x5c0)](0x10))[_0x3738f6(0x1d7)](async _0x869c0=>{const _0x1584e3=_0x3738f6,_0x753f8d=_0x869c0[_0x1584e3(0x330)](),_0x5c53b8=await this['_startCollaboration'](_0x753f8d,_0x2341fc[_0x1584e3(0x593)]);this[_0x1584e3(0x538)]['set'](_0x753f8d,_0x5c53b8);}),this['_univerInstanceService'][_0x3738f6(0x390)](_0x22bd76[_0x3738f6(0x53c)][_0x3738f6(0x3c1)])['pipe'](_0xb468a3['takeUntil'](this['dispose$']),_0x5ac862['delay'](0x10))['pipe'](_0x5ac862[_0x3738f6(0x2e9)](_0x4a59ef=>!_0x4a59ef[_0x3738f6(0x330)]()[_0x3738f6(0x279)]('__')))[_0x3738f6(0x1d7)](async _0x2a3fa8=>{const _0x59368d=_0x3738f6,_0x5a388a=_0x2a3fa8['getUnitId'](),_0x3c8b7b=await this[_0x59368d(0x1b4)](_0x5a388a,_0x2341fc[_0x59368d(0x3c1)]);this[_0x59368d(0x538)][_0x59368d(0x372)](_0x5a388a,_0x3c8b7b);}),_0xb468a3[_0x3738f6(0x23e)](this[_0x3738f6(0x334)][_0x3738f6(0x377)](_0x22bd76[_0x3738f6(0x53c)][_0x3738f6(0x593)]),this[_0x3738f6(0x334)][_0x3738f6(0x377)](_0x22bd76['UniverInstanceType']['UNIVER_DOC']))[_0x3738f6(0x457)](_0xb468a3['takeUntil'](this['dispose$']))[_0x3738f6(0x1d7)](_0x18632b=>{const _0x5714da=_0x3738f6,_0xfae493=_0x18632b[_0x5714da(0x330)](),_0xa532e5=this[_0x5714da(0x538)][_0x5714da(0x321)](_0xfae493);_0xa532e5&&(_0xa532e5['dispose'](),this[_0x5714da(0x538)]['delete'](_0xfae493));});}async[_0x464faf(0x1b4)](_0x5d6a36,_0x26e3d3){const _0x11ab79=_0x464faf,_0x5ad37b=await this[_0x11ab79(0x43a)][_0x11ab79(0x59c)](_0x5d6a36),_0x100ff5=this[_0x11ab79(0x38a)]['createInstance'](this[_0x11ab79(0x2c4)](_0x26e3d3),_0x5d6a36,_0x26e3d3,_0x5ad37b);return await _0x100ff5[_0x11ab79(0x51d)](),this[_0x11ab79(0x2f2)][_0x11ab79(0x4d2)](_0x100ff5),_0x100ff5;}[_0x464faf(0x2c4)](_0x1dba7a){const _0x23b29f=_0x464faf;switch(_0x1dba7a){case _0x2341fc[_0x23b29f(0x3c1)]:return _0x19e906[_0x23b29f(0x492)];case _0x2341fc[_0x23b29f(0x593)]:return _0x19e906[_0x23b29f(0x228)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1dba7a);}}},_0x19e906[_0x464faf(0x29c)]=_0x340577([_0x1e3caf(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x1e3caf(0x1,_0x22bd76[_0x464faf(0x568)](_0x19e906['CollaborationSessionService'])),_0x1e3caf(0x2,_0x22bd76['IUniverInstanceService'])],_0x19e906[_0x464faf(0x29c)]);const _0x3503fa=[_0x464faf(0x49a),'jiqing500',_0x464faf(0x27f),_0x464faf(0x2fe),'blue400',_0x464faf(0x3ee)];class _0x3ba727 extends _0x22bd76[_0x464faf(0x2b7)]{constructor(){const _0x31f08b=_0x464faf;super(...arguments),_0x41b507(this,_0x31f08b(0x346),new Map()),_0x41b507(this,_0x31f08b(0x48c),0x0);}['assignAColorForMemberID'](_0x5f302c){const _0x45c95f=_0x464faf;if(this['_assignedColors']['has'](_0x5f302c))return this[_0x45c95f(0x346)][_0x45c95f(0x321)](_0x5f302c);const _0x2aa2ac=_0x3503fa[this['_colorIndex']];return this[_0x45c95f(0x48c)]=(this[_0x45c95f(0x48c)]+0x1)%_0x3503fa[_0x45c95f(0x266)],this['_assignedColors'][_0x45c95f(0x372)](_0x5f302c,_0x2aa2ac),_0x2aa2ac;}}var _0x8b6627=Object['defineProperty'],_0x16e67a=Object['getOwnPropertyDescriptor'],_0x1dd5f9=(_0x1839e0,_0x26bd7d,_0x2ed548,_0x129c2f)=>{for(var _0x5d3d51=_0x129c2f>0x1?void 0x0:_0x129c2f?_0x16e67a(_0x26bd7d,_0x2ed548):_0x26bd7d,_0x1aa89e=_0x1839e0['length']-0x1,_0x4b328e;_0x1aa89e>=0x0;_0x1aa89e--)(_0x4b328e=_0x1839e0[_0x1aa89e])&&(_0x5d3d51=(_0x129c2f?_0x4b328e(_0x26bd7d,_0x2ed548,_0x5d3d51):_0x4b328e(_0x5d3d51))||_0x5d3d51);return _0x129c2f&&_0x5d3d51&&_0x8b6627(_0x26bd7d,_0x2ed548,_0x5d3d51),_0x5d3d51;},_0x368856=(_0x48474d,_0x37b750)=>(_0x4c6271,_0x682845)=>_0x37b750(_0x4c6271,_0x682845,_0x48474d);const _0x33ed8e=0x12c,_0x4ad49f=0x64,_0x2669ae=()=>{let _0x5c7079=[],_0x59c5ad=!0x1;return _0xb65b17=>{_0x5c7079['push'](_0xb65b17),_0x59c5ad||(_0x59c5ad=!0x0,setTimeout(()=>{const _0x4962ec=_0x437d;_0x5c7079[_0x4962ec(0x1fc)](_0x45309a=>_0x45309a()),_0x5c7079=[],_0x59c5ad=!0x1;}));};};let _0x5629d8=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x597173,_0xc0dfdd,_0x53fdc4,_0xb531b8,_0x5c3435,_0x2ba086,_0x597357,_0x5eb05f){const _0x37dbcd=_0x464faf;super(),_0x41b507(this,_0x37dbcd(0x26c),!0x1),_0x41b507(this,'_init',!0x1),_0x41b507(this,_0x37dbcd(0x54a),new _0xb468a3[(_0x37dbcd(0x579))](new Map())),_0x41b507(this,'cursorInfo$',this[_0x37dbcd(0x54a)]['asObservable']()),_0x41b507(this,_0x37dbcd(0x464),new _0xb468a3[(_0x37dbcd(0x579))]([])),_0x41b507(this,'roomMembers$',this[_0x37dbcd(0x464)][_0x37dbcd(0x457)](_0xb468a3[_0x37dbcd(0x44d)](_0x33ed8e))),_0x41b507(this,_0x37dbcd(0x4fe),_0x113112((_0x874e0d,_0x9b3e8d)=>{const _0x5d3113=_0x37dbcd,_0x32fecc={'eventID':_0x2cb6ec[_0x5d3113(0x312)][_0x5d3113(0x39c)],'data':{'unitID':this[_0x5d3113(0x268)],'memberID':this['_session']['getMemberID'](),'selection':_0x505ad4[_0x5d3113(0x386)](_0x874e0d,_0x9b3e8d[_0x5d3113(0x22e)])}};this['_session'][_0x5d3113(0x427)](_0x32fecc,this[_0x5d3113(0x268)]);},_0x4ad49f)),(this[_0x37dbcd(0x268)]=_0x597173,this['_session']=_0xc0dfdd,this['_injector']=_0x53fdc4,this[_0x37dbcd(0x1df)]=_0xb531b8,this['_memberService']=_0x5c3435,this[_0x37dbcd(0x334)]=_0x2ba086,this[_0x37dbcd(0x382)]=_0x597357,this['_refRangeService']=_0x5eb05f);}get[_0x464faf(0x3f8)](){const _0x31e270=_0x464faf;return this[_0x31e270(0x54a)][_0x31e270(0x4f1)]();}get[_0x464faf(0x40c)](){const _0x339963=_0x464faf;return this[_0x339963(0x464)][_0x339963(0x4f1)]();}['dispose'](){const _0x2bb012=_0x464faf;super[_0x2bb012(0x383)](),this[_0x2bb012(0x54a)][_0x2bb012(0x4d2)](new Map()),this[_0x2bb012(0x54a)][_0x2bb012(0x3f9)](),this[_0x2bb012(0x464)]['next']([]),this[_0x2bb012(0x464)]['complete']();}[_0x464faf(0x51d)](){const _0x189774=_0x464faf;this[_0x189774(0x239)]||(this['_init']=!0x0,this[_0x189774(0x211)]['sessionStatus$'][_0x189774(0x457)](_0xb468a3[_0x189774(0x3d8)](this[_0x189774(0x49d)]))[_0x189774(0x1d7)](_0x892e1d=>{const _0x130592=_0x189774;_0x892e1d===_0x4d9058[_0x130592(0x50f)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x189774(0x211)][_0x189774(0x3f2)][_0x189774(0x457)](_0xb468a3[_0x189774(0x3d8)](this[_0x189774(0x49d)]))['subscribe'](_0x4c3a46=>{const _0x1855f0=_0x189774,_0xd347bc=_0x4c3a46[_0x1855f0(0x571)];_0xd347bc===_0x2cb6ec[_0x1855f0(0x312)][_0x1855f0(0x39c)]&&this[_0x1855f0(0x419)](_0x4c3a46),_0xd347bc===_0x2cb6ec['CollaborationEvent'][_0x1855f0(0x4c1)]&&this['_onCursorDelete'](_0x4c3a46);}),this['_onRefRangeChange'](),this[_0x189774(0x241)](this[_0x189774(0x382)][_0x189774(0x3da)](_0x3b5685=>{const _0x1c5ad3=_0x189774;if(this[_0x1c5ad3(0x26c)]&&_0x3b5685['id']===_0x38d7d8[_0x1c5ad3(0x4a7)]['id']&&_0x3b5685[_0x1c5ad3(0x4d5)][_0x1c5ad3(0x3eb)]===this['unitID']){const _0x55a718=_0x3b5685['params'];this[_0x1c5ad3(0x4fe)](_0x55a718[_0x1c5ad3(0x574)],_0x55a718[_0x1c5ad3(0x4d4)][0x0]);}})));}[_0x464faf(0x419)](_0x3cf5f5){const _0x5cfabb=_0x464faf;var _0x51e62e,_0x551d6f;const {memberID:_0x3ada14,selection:_0x1eee65}=_0x3cf5f5['data'],{sheetName:_0x4b65cc,range:_0x13883f}=_0x505ad4[_0x5cfabb(0x4d7)](_0x1eee65),_0x55e885={'name':(_0x551d6f=(_0x51e62e=this['_memberService'][_0x5cfabb(0x30f)](this[_0x5cfabb(0x268)],_0x3ada14))==null?void 0x0:_0x51e62e[_0x5cfabb(0x51b)])!=null?_0x551d6f:_0x5cfabb(0x560),'range':this[_0x5cfabb(0x3dd)](_0x4b65cc,_0x13883f),'sheetID':_0x4b65cc,'color':this[_0x5cfabb(0x1df)][_0x5cfabb(0x25e)](_0x3ada14),'selection':_0x1eee65},_0x114c90=this[_0x5cfabb(0x3f8)];_0x114c90[_0x5cfabb(0x372)](_0x3ada14,_0x55e885),this[_0x5cfabb(0x54a)][_0x5cfabb(0x4d2)](_0x114c90);}[_0x464faf(0x202)](_0x1f2211){const _0x38babd=_0x464faf,{memberID:_0x501bff}=_0x1f2211[_0x38babd(0x25b)],_0x201583=this[_0x38babd(0x3f8)];_0x201583['delete'](_0x501bff),this[_0x38babd(0x54a)][_0x38babd(0x4d2)](_0x201583);}[_0x464faf(0x3dd)](_0x5d57f8,_0x44bf43){const _0x43ac1e=_0x464faf;var _0x213c47,_0x16eefd;const _0x2eb2e9=(_0x16eefd=(_0x213c47=this[_0x43ac1e(0x334)]['getUniverSheetInstance'](this[_0x43ac1e(0x268)]))==null?void 0x0:_0x213c47['getSheetBySheetId'](_0x5d57f8))==null?void 0x0:_0x16eefd[_0x43ac1e(0x33d)]();return(_0x2eb2e9==null?void 0x0:_0x2eb2e9[_0x43ac1e(0x26a)](_0x9f3bbf=>_0x22bd76[_0x43ac1e(0x57f)][_0x43ac1e(0x22d)](_0x9f3bbf,_0x44bf43)))||_0x44bf43;}[_0x464faf(0x49b)](){const _0x1594b0=_0x464faf,_0x7ee62d=new _0x22bd76['DisposableCollection'](),_0x2bf23b=_0x2669ae(),_0x1bbe6a=()=>{const _0x425bd3=_0x437d;_0x7ee62d[_0x425bd3(0x383)]();const _0x4ed978=(_0x2ab99b,_0x1da3e5,_0x575a28,_0x3cbe5d)=>{const _0x509eb3=_0x425bd3;let _0x2025ca=[];switch(_0x2ab99b['id']){case _0x38d7d8[_0x509eb3(0x50e)]['DeleteRangeMoveLeftCommandId']:{_0x2025ca=_0x38d7d8[_0x509eb3(0x440)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)][_0x509eb3(0x553)]:{_0x2025ca=_0x38d7d8[_0x509eb3(0x1ee)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)]['InsertColCommandId']:{_0x2025ca=_0x38d7d8[_0x509eb3(0x572)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8['EffectRefRangId'][_0x509eb3(0x316)]:{_0x2025ca=_0x38d7d8[_0x509eb3(0x50c)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)][_0x509eb3(0x1af)]:{_0x2025ca=_0x38d7d8[_0x509eb3(0x33b)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)][_0x509eb3(0x493)]:{_0x2025ca=_0x38d7d8[_0x509eb3(0x2ed)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)][_0x509eb3(0x325)]:{_0x2025ca=_0x38d7d8['handleMoveRange'](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)]['RemoveColCommandId']:{_0x2025ca=_0x38d7d8['handleIRemoveCol'](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)][_0x509eb3(0x46a)]:{_0x2025ca=_0x38d7d8[_0x509eb3(0x1c2)](_0x2ab99b,_0x3cbe5d);break;}}const _0x1b9dc8=_0x38d7d8['runRefRangeMutations'](_0x2025ca,_0x3cbe5d),_0x3f102e=this[_0x509eb3(0x3f8)]['get'](_0x1da3e5);if(_0x3f102e&&_0x1b9dc8){const _0x5d1e76={..._0x3f102e,'range':_0x1b9dc8};this[_0x509eb3(0x3f8)][_0x509eb3(0x372)](_0x1da3e5,_0x5d1e76),_0x2bf23b(()=>{const _0x1ac08c=_0x509eb3,_0xddb929=this[_0x1ac08c(0x448)][_0x1ac08c(0x36a)](_0x1b9dc8,_0x587379=>(_0xddb929['dispose'](),_0x4ed978(_0x587379,_0x1da3e5,_0x575a28,_0x1b9dc8)));_0x7ee62d[_0x1ac08c(0x59b)](_0xddb929);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x425bd3(0x1fc)]((_0x50b11f,_0xff10ff)=>{const _0x286a84=_0x425bd3,{range:_0x20a4d0,sheetID:_0x14aa15}=_0x50b11f,_0x2ab5ce=this[_0x286a84(0x448)]['registerRefRange'](_0x20a4d0,_0x557a1f=>(_0x2ab5ce[_0x286a84(0x383)](),_0x4ed978(_0x557a1f,_0xff10ff,_0x14aa15,_0x20a4d0)));_0x7ee62d[_0x286a84(0x59b)](_0x2ab5ce);});};this[_0x1594b0(0x241)](_0x22bd76[_0x1594b0(0x2ec)](this['_cursorInfo$'][_0x1594b0(0x1d7)](()=>{_0x1bbe6a();})));}[_0x464faf(0x31f)](){const _0x18e56d=_0x464faf;var _0x9d31f8,_0x1086e1;if(this[_0x18e56d(0x26c)]=!0x0,((_0x9d31f8=this[_0x18e56d(0x334)][_0x18e56d(0x5c4)]())==null?void 0x0:_0x9d31f8[_0x18e56d(0x330)]())!==this[_0x18e56d(0x268)])return;const _0x5c99b6=(_0x1086e1=this[_0x18e56d(0x38a)][_0x18e56d(0x321)](_0x38d7d8[_0x18e56d(0x24d)])[_0x18e56d(0x35b)]())==null?void 0x0:_0x1086e1[0x0],_0x27ce89=this[_0x18e56d(0x334)][_0x18e56d(0x43e)](_0x22bd76[_0x18e56d(0x53c)][_0x18e56d(0x593)])[_0x18e56d(0x590)]();_0x5c99b6&&_0x27ce89&&this['_updateLocalCursor'](_0x27ce89[_0x18e56d(0x1ce)](),_0x5c99b6);}[_0x464faf(0x3d4)](){const _0x57ff0d=_0x464faf;this[_0x57ff0d(0x26c)]=!0x1;}};_0x5629d8=_0x1dd5f9([_0x368856(0x2,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x368856(0x3,_0x22bd76[_0x464faf(0x568)](_0x3ba727)),_0x368856(0x4,_0x22bd76[_0x464faf(0x568)](_0x27752c)),_0x368856(0x5,_0x22bd76[_0x464faf(0x3a0)]),_0x368856(0x6,_0x22bd76[_0x464faf(0x4ae)]),_0x368856(0x7,_0x22bd76[_0x464faf(0x568)](_0x38d7d8[_0x464faf(0x1b7)]))],_0x5629d8);var _0x39d1db=Object['defineProperty'],_0x5e8739=Object[_0x464faf(0x36f)],_0x146eba=(_0x554a42,_0x143cce,_0x50701a,_0x5af9ed)=>{const _0x5de31f=_0x464faf;for(var _0x3a9826=_0x5af9ed>0x1?void 0x0:_0x5af9ed?_0x5e8739(_0x143cce,_0x50701a):_0x143cce,_0xe94276=_0x554a42[_0x5de31f(0x266)]-0x1,_0x141d26;_0xe94276>=0x0;_0xe94276--)(_0x141d26=_0x554a42[_0xe94276])&&(_0x3a9826=(_0x5af9ed?_0x141d26(_0x143cce,_0x50701a,_0x3a9826):_0x141d26(_0x3a9826))||_0x3a9826);return _0x5af9ed&&_0x3a9826&&_0x39d1db(_0x143cce,_0x50701a,_0x3a9826),_0x3a9826;},_0x472faa=(_0x4208d3,_0x2577d4)=>(_0x40d6ea,_0x3ebba9)=>_0x2577d4(_0x40d6ea,_0x3ebba9,_0x4208d3);const _0x11f165=0x12c,_0x350afd=0x64;let _0x306e68=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x4a29fe,_0xd837f0,_0x17d371,_0xb33bef,_0x53f99a,_0x6c95e6,_0x512906,_0x5d660f,_0x1b72ef){const _0x331024=_0x464faf;super(),_0x41b507(this,_0x331024(0x26c),!0x1),_0x41b507(this,_0x331024(0x239),!0x1),_0x41b507(this,_0x331024(0x54a),new _0xb468a3['BehaviorSubject'](new Map())),_0x41b507(this,_0x331024(0x54e),this[_0x331024(0x54a)][_0x331024(0x45e)]()),_0x41b507(this,'_roomMembers$',new _0xb468a3['BehaviorSubject']([])),_0x41b507(this,_0x331024(0x317),this[_0x331024(0x464)][_0x331024(0x457)](_0xb468a3['debounceTime'](_0x11f165))),_0x41b507(this,_0x331024(0x4fe),_0x113112(_0x21cead=>{const _0x29de9f=_0x331024,_0x55e025={'eventID':_0x2cb6ec[_0x29de9f(0x312)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x29de9f(0x211)][_0x29de9f(0x2b8)](),'selection':_0x33c720(_0x21cead)}};this[_0x29de9f(0x211)]['send'](_0x55e025,this[_0x29de9f(0x268)]);},_0x350afd)),(this['unitID']=_0x4a29fe,this[_0x331024(0x211)]=_0xd837f0,this['_injector']=_0x17d371,this[_0x331024(0x1df)]=_0xb33bef,this[_0x331024(0x4bd)]=_0x53f99a,this['_syncEditingCollabCursorService']=_0x6c95e6,this[_0x331024(0x24e)]=_0x512906,this[_0x331024(0x334)]=_0x5d660f,this[_0x331024(0x382)]=_0x1b72ef);}get[_0x464faf(0x3f8)](){const _0x265e5f=_0x464faf;return this[_0x265e5f(0x54a)]['getValue']();}get[_0x464faf(0x40c)](){const _0x26cae4=_0x464faf;return this[_0x26cae4(0x464)]['getValue']();}[_0x464faf(0x383)](){const _0x375cd9=_0x464faf;super[_0x375cd9(0x383)](),this[_0x375cd9(0x54a)][_0x375cd9(0x4d2)](new Map()),this[_0x375cd9(0x54a)]['complete'](),this['_roomMembers$'][_0x375cd9(0x4d2)]([]),this['_roomMembers$'][_0x375cd9(0x3f9)]();}['init'](){const _0x30cd6a=_0x464faf;this['_init']||(this[_0x30cd6a(0x239)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0xb468a3[_0x30cd6a(0x3d8)](this[_0x30cd6a(0x49d)]))[_0x30cd6a(0x1d7)](_0x521755=>{const _0x52418b=_0x30cd6a;_0x521755===_0x4d9058[_0x52418b(0x50f)]?this[_0x52418b(0x31f)]():this[_0x52418b(0x3d4)]();}),this[_0x30cd6a(0x211)][_0x30cd6a(0x3f2)][_0x30cd6a(0x457)](_0xb468a3['takeUntil'](this[_0x30cd6a(0x49d)]))[_0x30cd6a(0x1d7)](_0x39dc09=>{const _0x3c40a1=_0x30cd6a,_0x540267=_0x39dc09[_0x3c40a1(0x571)];_0x540267===_0x2cb6ec[_0x3c40a1(0x312)][_0x3c40a1(0x39c)]&&this[_0x3c40a1(0x419)](_0x39dc09),_0x540267===_0x2cb6ec[_0x3c40a1(0x312)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x39dc09);}),this[_0x30cd6a(0x241)](this[_0x30cd6a(0x382)]['onCommandExecuted'](_0x597368=>{const _0x45db94=_0x30cd6a,_0x73bf27=_0x597368[_0x45db94(0x4d5)];_0x73bf27!=null&&this['_online']&&_0x597368['id']===_0x369ae4[_0x45db94(0x462)]['id']&&_0x73bf27['unitId']===this[_0x45db94(0x268)]&&_0x73bf27[_0x45db94(0x4ef)]===!0x1&&this['_updateLocalCursor'](_0x73bf27[_0x45db94(0x466)]);})),this[_0x30cd6a(0x578)]['collabCursorState$'][_0x30cd6a(0x457)](_0xb468a3[_0x30cd6a(0x3d8)](this[_0x30cd6a(0x49d)]))['subscribe'](_0x3ee766=>{const _0x30d0ee=_0x30cd6a;if((_0x3ee766==null?void 0x0:_0x3ee766[_0x30d0ee(0x268)])!==this[_0x30d0ee(0x268)])return;const _0x2aa1a9={'eventID':_0x2cb6ec['CollaborationEvent'][_0x30d0ee(0x39c)],'data':_0x3ee766};this[_0x30d0ee(0x419)](_0x2aa1a9);}),this['disposeWithMe'](this['_commandService'][_0x30cd6a(0x3da)](_0x52a6aa=>{const _0x3800b6=_0x30cd6a;if(_0x52a6aa[_0x3800b6(0x4d5)]==null)return;const _0xad3622=_0x52a6aa[_0x3800b6(0x4d5)];if(_0x52a6aa['id']!==_0x369ae4['RichTextEditingMutation']['id']||_0xad3622[_0x3800b6(0x3eb)]!==this[_0x3800b6(0x268)])return;const _0x31f1e4={'id':_0x3800b6(0x305),'params':_0xad3622},_0x4d7824=this['cursorInfo'];for(const [_0x3546fc,_0x3258e2]of _0x4d7824){const _0x576c09={'id':_0x3800b6(0x305),'params':{'unitId':this[_0x3800b6(0x268)],'actions':null,'textRanges':_0x3258e2[_0x3800b6(0x466)]}},_0x1e9657=this['_transformService']['transformMutation'](_0x31f1e4,_0x576c09,!0x1);if(_0x2cb6ec[_0x3800b6(0x204)](_0x1e9657))throw _0x1e9657[_0x3800b6(0x458)];_0x4d7824[_0x3800b6(0x372)](_0x3546fc,{..._0x3258e2,'ranges':_0x1e9657['m2Prime'][_0x3800b6(0x4d5)]['textRanges']});}queueMicrotask(()=>{const _0x21c623=_0x3800b6;this[_0x21c623(0x54a)][_0x21c623(0x4d2)](_0x4d7824);});})));}[_0x464faf(0x419)](_0x4be8f5){const _0x112fbd=_0x464faf;var _0x3c5cc3,_0x5d00d3;const {memberID:_0x1a0e3c,selection:_0x58f287}=_0x4be8f5[_0x112fbd(0x25b)],_0x404e21=_0x488ea0(_0x58f287),_0x3919e1=(_0x5d00d3=(_0x3c5cc3=this[_0x112fbd(0x4bd)][_0x112fbd(0x30f)](this[_0x112fbd(0x268)],_0x1a0e3c))==null?void 0x0:_0x3c5cc3[_0x112fbd(0x51b)])!=null?_0x5d00d3:_0x112fbd(0x560),_0x83fe09={'color':this[_0x112fbd(0x1df)][_0x112fbd(0x25e)](_0x1a0e3c),'name':_0x3919e1,'ranges':_0x404e21},_0x2e4585=this['cursorInfo'];_0x2e4585[_0x112fbd(0x372)](_0x1a0e3c,_0x83fe09),this['_cursorInfo$'][_0x112fbd(0x4d2)](_0x2e4585);}[_0x464faf(0x202)](_0x38272e){const _0x10c0dc=_0x464faf,{memberID:_0x552417}=_0x38272e[_0x10c0dc(0x25b)],_0x24f4a6=this[_0x10c0dc(0x3f8)];_0x24f4a6[_0x10c0dc(0x331)](_0x552417),this['_cursorInfo$']['next'](_0x24f4a6);}[_0x464faf(0x31f)](){const _0x5d9e99=_0x464faf;var _0x106271;if(this[_0x5d9e99(0x26c)]=!0x0,((_0x106271=this[_0x5d9e99(0x334)][_0x5d9e99(0x5c4)]())==null?void 0x0:_0x106271['getUnitId']())!==this[_0x5d9e99(0x268)])return;const _0x566310=this[_0x5d9e99(0x38a)][_0x5d9e99(0x321)](_0x369ae4[_0x5d9e99(0x385)])['getDocRanges']();Array[_0x5d9e99(0x564)](_0x566310)&&_0x566310[_0x5d9e99(0x266)]>0x0&&this[_0x5d9e99(0x4fe)](_0x566310);}[_0x464faf(0x3d4)](){const _0x4ffd24=_0x464faf;this[_0x4ffd24(0x26c)]=!0x1;}};_0x306e68=_0x146eba([_0x472faa(0x2,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x472faa(0x3,_0x22bd76['Inject'](_0x3ba727)),_0x472faa(0x4,_0x22bd76[_0x464faf(0x568)](_0x27752c)),_0x472faa(0x5,_0x22bd76[_0x464faf(0x568)](_0x43e255)),_0x472faa(0x6,_0x2cb6ec['ITransformService']),_0x472faa(0x7,_0x22bd76['IUniverInstanceService']),_0x472faa(0x8,_0x22bd76['ICommandService'])],_0x306e68);var _0x4cbfbd=Object[_0x464faf(0x229)],_0x9ff05=Object['getOwnPropertyDescriptor'],_0x1df8a7=(_0x48f5be,_0x1f1629,_0x2f568e,_0x254c48)=>{for(var _0x2a1339=_0x254c48>0x1?void 0x0:_0x254c48?_0x9ff05(_0x1f1629,_0x2f568e):_0x1f1629,_0x193593=_0x48f5be['length']-0x1,_0x24dd7b;_0x193593>=0x0;_0x193593--)(_0x24dd7b=_0x48f5be[_0x193593])&&(_0x2a1339=(_0x254c48?_0x24dd7b(_0x1f1629,_0x2f568e,_0x2a1339):_0x24dd7b(_0x2a1339))||_0x2a1339);return _0x254c48&&_0x2a1339&&_0x4cbfbd(_0x1f1629,_0x2f568e,_0x2a1339),_0x2a1339;},_0xab6fba=(_0x26402e,_0x298795)=>(_0x1b1c8a,_0x3dfd7b)=>_0x298795(_0x1b1c8a,_0x3dfd7b,_0x26402e);let _0x3c33bf=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x3cb2b7,_0x1ead7f,_0x263006){const _0x4126be=_0x464faf;super(),_0x41b507(this,_0x4126be(0x538),new Map()),_0x41b507(this,_0x4126be(0x2f2),new _0xb468a3['Subject']()),(this[_0x4126be(0x334)]=_0x3cb2b7,this[_0x4126be(0x38a)]=_0x1ead7f,this[_0x4126be(0x43a)]=_0x263006,this[_0x4126be(0x239)]());}[_0x464faf(0x383)](){const _0x5c1f1a=_0x464faf;super[_0x5c1f1a(0x383)](),this[_0x5c1f1a(0x2f2)][_0x5c1f1a(0x3f9)](),this[_0x5c1f1a(0x538)][_0x5c1f1a(0x1fc)](_0x541cdf=>_0x541cdf['dispose']());}[_0x464faf(0x2ac)](_0x353dca){const _0xef57c5=_0x464faf;return this[_0xef57c5(0x538)][_0xef57c5(0x2e2)](_0x353dca)?this[_0xef57c5(0x538)][_0xef57c5(0x321)](_0x353dca)[_0xef57c5(0x54e)]:this[_0xef57c5(0x2f2)][_0xef57c5(0x457)](_0xb468a3[_0xef57c5(0x2e9)](_0x4aab81=>_0x4aab81[_0xef57c5(0x268)]===_0x353dca),_0xb468a3[_0xef57c5(0x506)](_0x25b22d=>_0x25b22d['cursorInfo$']));}[_0x464faf(0x239)](){const _0x120071=_0x464faf;this[_0x120071(0x334)][_0x120071(0x390)](_0x22bd76[_0x120071(0x53c)][_0x120071(0x593)])[_0x120071(0x457)](_0xb468a3[_0x120071(0x3d8)](this['dispose$']))[_0x120071(0x1d7)](async _0x46412d=>{const _0x4b1b6e=_0x120071,_0x21fb1d=_0x46412d[_0x4b1b6e(0x330)](),_0x1d82b4=await this[_0x4b1b6e(0x434)](_0x21fb1d);this[_0x4b1b6e(0x2f2)]['next'](_0x1d82b4),this[_0x4b1b6e(0x538)][_0x4b1b6e(0x372)](_0x21fb1d,_0x1d82b4);}),this[_0x120071(0x334)]['getTypeOfUnitAdded$'](_0x22bd76['UniverInstanceType'][_0x120071(0x3c1)])[_0x120071(0x457)](_0xb468a3[_0x120071(0x3d8)](this[_0x120071(0x49d)]))['pipe'](_0xb468a3[_0x120071(0x2e9)](_0x16b85e=>!_0x16b85e[_0x120071(0x330)]()[_0x120071(0x279)]('__')))[_0x120071(0x1d7)](async _0x46e03b=>{const _0x5e6f0e=_0x120071,_0x43843e=_0x46e03b[_0x5e6f0e(0x330)](),_0x441de4=await this[_0x5e6f0e(0x3d9)](_0x43843e);this[_0x5e6f0e(0x2f2)]['next'](_0x441de4),this['_entities'][_0x5e6f0e(0x372)](_0x43843e,_0x441de4);}),_0xb468a3[_0x120071(0x23e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x22bd76[_0x120071(0x53c)]['UNIVER_DOC']),this[_0x120071(0x334)][_0x120071(0x377)](_0x22bd76[_0x120071(0x53c)][_0x120071(0x593)]))[_0x120071(0x457)](_0xb468a3[_0x120071(0x3d8)](this[_0x120071(0x49d)]))[_0x120071(0x1d7)](_0x1c7b0a=>{const _0x3e7a4f=_0x120071,_0x1ddcc6=_0x1c7b0a['getUnitId'](),_0x32f584=this[_0x3e7a4f(0x538)][_0x3e7a4f(0x321)](_0x1ddcc6);_0x32f584&&(_0x32f584[_0x3e7a4f(0x383)](),this['_entities']['delete'](_0x1ddcc6));});}async[_0x464faf(0x434)](_0x4c331f){const _0x31e6fa=_0x464faf,_0x8a55fc=await this[_0x31e6fa(0x43a)]['requireSession'](_0x4c331f),_0x598c79=this['_injector'][_0x31e6fa(0x3ae)](_0x5629d8,_0x4c331f,_0x8a55fc);return _0x598c79['init'](),_0x598c79;}async[_0x464faf(0x3d9)](_0x67fa0e){const _0x1cfe7d=_0x464faf,_0x63a0db=await this[_0x1cfe7d(0x43a)][_0x1cfe7d(0x59c)](_0x67fa0e),_0x521454=this[_0x1cfe7d(0x38a)][_0x1cfe7d(0x3ae)](_0x306e68,_0x67fa0e,_0x63a0db);return _0x521454[_0x1cfe7d(0x51d)](),_0x521454;}};_0x3c33bf=_0x1df8a7([_0x22bd76[_0x464faf(0x3c4)](_0x22bd76[_0x464faf(0x366)][_0x464faf(0x5b2)],_0x3c33bf),_0xab6fba(0x0,_0x22bd76[_0x464faf(0x3a0)]),_0xab6fba(0x1,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0xab6fba(0x2,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x2ca)]))],_0x3c33bf);const _0x3b41c1=0x14,_0x263f3d=0xc8,_0x2f603f=0x4,_0x393856=0x5;function _0x3b4a0c(_0x438769,_0x28ac9f){const _0x24ab0b=_0x464faf;let {radius:_0x240307,width:_0x8c1713,height:_0x2dbb02}=_0x28ac9f;_0x240307=_0x240307!=null?_0x240307:0x0,_0x8c1713=_0x8c1713!=null?_0x8c1713:0x1e,_0x2dbb02=_0x2dbb02!=null?_0x2dbb02:0x1e;let _0x5c60ca=0x0,_0x1ac65c=0x0,_0xc62d0b=0x0;_0x5c60ca=_0x1ac65c=_0xc62d0b=Math[_0x24ab0b(0x39f)](_0x240307,_0x8c1713/0x2,_0x2dbb02/0x2),_0x438769[_0x24ab0b(0x294)](),_0x438769[_0x24ab0b(0x1db)](_0x5c60ca,0x0),_0x438769[_0x24ab0b(0x27a)](_0x8c1713-_0x1ac65c,0x0),_0x438769[_0x24ab0b(0x252)](_0x8c1713-_0x1ac65c,_0x1ac65c,_0x1ac65c,Math['PI']*0x3/0x2,0x0,!0x1),_0x438769[_0x24ab0b(0x27a)](_0x8c1713,_0x2dbb02-_0xc62d0b),_0x438769[_0x24ab0b(0x252)](_0x8c1713-_0xc62d0b,_0x2dbb02-_0xc62d0b,_0xc62d0b,0x0,Math['PI']/0x2,!0x1),_0x438769[_0x24ab0b(0x27a)](0x0,_0x2dbb02),_0x438769[_0x24ab0b(0x27a)](0x0,_0x5c60ca),_0x438769[_0x24ab0b(0x252)](_0x5c60ca,_0x5c60ca,_0x5c60ca,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x438769[_0x24ab0b(0x208)](),_0x28ac9f[_0x24ab0b(0x326)]&&(_0x438769['save'](),_0x438769[_0x24ab0b(0x2d4)]=_0x28ac9f['fill'],_0x28ac9f[_0x24ab0b(0x3cb)]===_0x24ab0b(0x450)?_0x438769[_0x24ab0b(0x326)](_0x24ab0b(0x450)):_0x438769[_0x24ab0b(0x326)](),_0x438769[_0x24ab0b(0x37f)]());}class _0x3e52ae extends _0x3ab0d3[_0x464faf(0x4ed)]{constructor(_0x1d9228,_0x536d0e){const _0x5bd3aa=_0x464faf;super(_0x1d9228,_0x536d0e),_0x41b507(this,_0x5bd3aa(0x280)),_0x41b507(this,_0x5bd3aa(0x393)),(this[_0x5bd3aa(0x280)]=_0x536d0e==null?void 0x0:_0x536d0e[_0x5bd3aa(0x280)],this[_0x5bd3aa(0x393)]=_0x536d0e==null?void 0x0:_0x536d0e[_0x5bd3aa(0x393)]);}static[_0x464faf(0x2d9)](_0x124e69,_0x195935){const _0x336963=_0x464faf,{text:_0x23b9e4,color:_0x3b9baa}=_0x195935;_0x124e69[_0x336963(0x2d1)](),_0x124e69['font']=_0x336963(0x2a9);const _0x5f116b=_0x124e69[_0x336963(0x1a0)](_0x23b9e4)['width'],_0x3b53b2=Math['min'](_0x5f116b+0x2*_0x2f603f,_0x263f3d);_0x3b4a0c(_0x124e69,{'height':_0x3b41c1,'radius':0x4,'width':_0x3b53b2,'fill':_0x3b9baa,'evented':!0x1}),_0x124e69[_0x336963(0x2d4)]=_0x336963(0x1f7);const _0x336b0b=_0x2f603f,_0x5bc210=_0x3b41c1-_0x393856,_0x1efc8c=_0x263f3d-0x2*_0x2f603f;if(_0x5f116b>_0x1efc8c){let _0x4953c3='',_0x5c7b7d=0x0;for(const _0x4a4564 of _0x23b9e4){const _0x21eb30=_0x124e69[_0x336963(0x1a0)](_0x4a4564)[_0x336963(0x2f6)];if(_0x5c7b7d+_0x21eb30<=_0x1efc8c-_0x124e69[_0x336963(0x1a0)](_0x336963(0x2cb))[_0x336963(0x2f6)])_0x4953c3+=_0x4a4564,_0x5c7b7d+=_0x21eb30;else{_0x4953c3+='...';break;}}_0x124e69[_0x336963(0x34f)](_0x4953c3,_0x336b0b,_0x5bc210);}else _0x124e69[_0x336963(0x34f)](_0x23b9e4,_0x336b0b,_0x5bc210);_0x124e69[_0x336963(0x37f)]();}['_draw'](_0x3b070b){_0x3e52ae['drawWith'](_0x3b070b,this);}}const _0xede5ef='collab-text-anchor-',_0xcd1710=_0x464faf(0x2df),_0x2ce90f='collab-rect-range-',_0x256ab1=0x6,_0x12357f=1.5,_0x31547a=0x4,_0x211c82=1.5,_0x4d0ab7='rgba(255,\x20255,\x20255,\x200.01)';class _0xec126a{constructor(_0x5d70a7,_0x4cc6ec,_0x53e8b7,_0x4dbf26){const _0x30fc0c=_0x464faf;_0x41b507(this,_0x30fc0c(0x1a6),[]),_0x41b507(this,_0x30fc0c(0x4ca),null),_0x41b507(this,'_textBubble',null),_0x41b507(this,'_anchorDot',null),_0x41b507(this,'_hideTimer',null),_0x41b507(this,_0x30fc0c(0x213),null),(this['_cursor']=_0x5d70a7,this['_scene']=_0x4cc6ec,this['_docSkeleton']=_0x53e8b7,this[_0x30fc0c(0x472)]=_0x4dbf26,this[_0x30fc0c(0x43c)]());}set[_0x464faf(0x1a1)](_0x3e26c4){const _0x32a540=_0x464faf;_0x3e26c4?(this[_0x32a540(0x542)]&&this[_0x32a540(0x542)][_0x32a540(0x233)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x32a540(0x542)]&&this[_0x32a540(0x542)][_0x32a540(0x550)](),this['_textBubble']&&this[_0x32a540(0x216)][_0x32a540(0x233)]());}[_0x464faf(0x383)](){const _0x118499=_0x464faf;for(const _0x4c7e44 of this[_0x118499(0x1a6)])_0x4c7e44[_0x118499(0x383)]();this[_0x118499(0x216)]&&this['_textBubble'][_0x118499(0x383)](),this[_0x118499(0x542)]&&this['_anchorDot'][_0x118499(0x383)](),this[_0x118499(0x4ca)]&&this[_0x118499(0x4ca)][_0x118499(0x383)](),this['_eventUnsubscribe']&&this[_0x118499(0x213)]();}[_0x464faf(0x43c)](){const _0x221934=_0x464faf;var _0x25910f;const {_docSkeleton:_0x4aab2d,_document:_0x1d340e}=this,{color:_0x2965f8,name:_0x51f83f,ranges:_0x3e22ee}=this[_0x221934(0x33a)],_0x2a2f92=_0x1d340e[_0x221934(0x495)](),{docsLeft:_0x15aeff,docsTop:_0x4b397a}=_0x2a2f92,_0x2ce7d6=new _0x3efaf4[(_0x221934(0x48b))](_0x2a2f92,_0x4aab2d);for(const {startOffset:_0x26698c,endOffset:_0x253092,collapsed:_0x5422fd,isActive:_0x30b0e9}of _0x3e22ee){const _0x17d0dd=_0x4aab2d[_0x221934(0x552)](_0x26698c),_0x46f290=_0x4aab2d[_0x221934(0x552)](_0x253092);if(_0x30b0e9){const {contentBoxPointGroup:_0x305053}=_0x2ce7d6[_0x221934(0x39b)](_0x46f290,_0x46f290);if(_0x305053['length']===0x0)continue;this[_0x221934(0x473)](_0x2965f8,_0x305053,_0x15aeff,_0x4b397a,_0x51f83f),this[_0x221934(0x213)]=this['_handleHover']();}if(!_0x5422fd&&_0x17d0dd&&_0x46f290){if(_0x3efaf4[_0x221934(0x3ec)](_0x17d0dd,_0x46f290)){const _0x2bf246=new _0x3efaf4[(_0x221934(0x37c))](_0x2a2f92,_0x4aab2d),{pointGroup:_0x3db610}=(_0x25910f=_0x2bf246[_0x221934(0x39b)](_0x17d0dd,_0x46f290))!=null?_0x25910f:{};if(_0x3db610==null||_0x3db610[_0x221934(0x266)]===0x0)continue;this[_0x221934(0x205)](_0x2965f8,_0x3db610,_0x15aeff,_0x4b397a);}else{const {contentBoxPointGroup:_0x3a29b3}=_0x2ce7d6[_0x221934(0x39b)](_0x17d0dd,_0x46f290);if(_0x3a29b3['length']===0x0)continue;this[_0x221934(0x3aa)](_0x2965f8,_0x3a29b3,_0x15aeff,_0x4b397a);}}}}[_0x464faf(0x473)](_0x166b86,_0x47612b,_0x3471a6,_0x976e3c,_0x5cbd52){const _0x279ce1=_0x464faf,_0xef9ac6=this[_0x279ce1(0x1a4)](_0x47612b),{left:_0xe74800,top:_0x177be3,height:_0x527d8c}=_0xef9ac6,_0x42fee3=this['_getScale'](),_0x2e9d0f=_0x211c82/_0x42fee3,_0x230157=new _0x3ab0d3['Rect'](_0xede5ef+_0x22bd76[_0x279ce1(0x223)][_0x279ce1(0x44c)](_0x256ab1),{'left':_0xe74800+_0x3471a6-_0x2e9d0f,'top':_0x177be3+_0x976e3c,'height':_0x527d8c,'width':_0x12357f,'fill':_0x166b86||_0x3ab0d3[_0x279ce1(0x52c)](_0x22bd76[_0x279ce1(0x319)][_0x279ce1(0x219)],0x0),'strokeWidth':_0x2e9d0f,'stroke':_0x4d0ab7,'evented':!0x0});this[_0x279ce1(0x4ca)]=_0x230157,this[_0x279ce1(0x454)][_0x279ce1(0x541)](_0x230157,_0x3efaf4[_0x279ce1(0x416)]);const _0x30d27d=new _0x3ab0d3[(_0x279ce1(0x5a9))](_0xede5ef+_0x22bd76[_0x279ce1(0x223)]['generateRandomId'](_0x256ab1),{'left':_0xe74800+_0x3471a6-_0x2e9d0f,'top':_0x177be3+_0x976e3c-_0x31547a/0x2,'height':_0x31547a,'width':_0x31547a,'fill':_0x166b86||_0x3ab0d3[_0x279ce1(0x52c)](_0x22bd76[_0x279ce1(0x319)][_0x279ce1(0x219)],0x0),'strokeWidth':0x0,'stroke':_0x166b86||_0x3ab0d3['getColor'](_0x22bd76[_0x279ce1(0x319)][_0x279ce1(0x219)],0x0),'evented':!0x1});this[_0x279ce1(0x542)]=_0x30d27d,this[_0x279ce1(0x454)][_0x279ce1(0x541)](_0x30d27d,_0x3efaf4[_0x279ce1(0x416)]);const _0x19f619=new _0x3e52ae(_0xede5ef+_0x22bd76[_0x279ce1(0x223)][_0x279ce1(0x44c)](_0x256ab1),{'left':_0xe74800+_0x3471a6-_0x2e9d0f,'top':_0x177be3+_0x976e3c-_0x3b41c1,'text':_0x5cbd52,'color':_0x166b86});this[_0x279ce1(0x216)]=_0x19f619,this['_scene']['addObject'](_0x19f619,_0x3efaf4[_0x279ce1(0x416)]),this[_0x279ce1(0x1a1)]=!0x1;}[_0x464faf(0x234)](){const _0x423d7c=_0x464faf,_0x44388b=this[_0x423d7c(0x4ca)][_0x423d7c(0x3db)][_0x423d7c(0x32c)](()=>{const _0x3d7115=_0x423d7c;this[_0x3d7115(0x1a1)]=!0x0;}),_0x802892=this[_0x423d7c(0x4ca)][_0x423d7c(0x45b)][_0x423d7c(0x32c)](()=>{const _0x3cc501=_0x423d7c;this['_hideTimer']&&clearTimeout(this[_0x3cc501(0x5a3)]),this[_0x3cc501(0x5a3)]=setTimeout(()=>{const _0x4b6e78=_0x3cc501;this[_0x4b6e78(0x1a1)]=!0x1;},0x7d0);});return()=>{const _0x1b1dba=_0x423d7c;_0x44388b[_0x1b1dba(0x2bb)](),_0x802892[_0x1b1dba(0x2bb)]();};}[_0x464faf(0x3aa)](_0xc03031,_0x564d8d,_0x2c31fe,_0x4cdeec){const _0x38e9f2=_0x464faf,_0x35a55b=new _0x22bd76[(_0x38e9f2(0x250))](_0xc03031)[_0x38e9f2(0x1e8)](0.2)[_0x38e9f2(0x4a1)](),_0x4ecaae=new _0x3ab0d3[(_0x38e9f2(0x335))](_0xcd1710+_0x22bd76[_0x38e9f2(0x223)][_0x38e9f2(0x44c)](_0x256ab1),{'pointsGroup':_0x564d8d,'fill':_0x35a55b||_0x3ab0d3['getColor'](_0x22bd76['COLORS'][_0x38e9f2(0x219)],0.2),'left':_0x2c31fe,'top':_0x4cdeec,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x4ecaae),this[_0x38e9f2(0x454)][_0x38e9f2(0x541)](_0x4ecaae,_0x3efaf4[_0x38e9f2(0x416)]);}['_drawRectRange'](_0x4d35a2,_0x340b79,_0x150712,_0x119248){const _0x188873=_0x464faf,_0x452f2b=new _0x22bd76['ColorKit'](_0x4d35a2)['setAlpha'](0.2)['toRgbString'](),_0x5b7052=new _0x3ab0d3[(_0x188873(0x335))](_0x2ce90f+_0x22bd76[_0x188873(0x223)][_0x188873(0x44c)](_0x256ab1),{'pointsGroup':_0x340b79,'fill':_0x452f2b||_0x3ab0d3[_0x188873(0x52c)](_0x22bd76[_0x188873(0x319)][_0x188873(0x219)],0.2),'left':_0x150712,'top':_0x119248,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x188873(0x1a6)][_0x188873(0x4a6)](_0x5b7052),this[_0x188873(0x454)]['addObject'](_0x5b7052,_0x3efaf4[_0x188873(0x416)]);}['_getAnchorBounding'](_0x51e950){const _0x4adbc1=_0x51e950[0x0],_0x14da38=_0x4adbc1[0x0],_0x1290ee=_0x4adbc1[0x2],{x:_0x3801ad,y:_0x430fdd}=_0x14da38,{x:_0x4a7112,y:_0x59cfa1}=_0x1290ee;return{'left':_0x3801ad,'top':_0x430fdd,'width':_0x4a7112-_0x3801ad,'height':_0x59cfa1-_0x430fdd};}[_0x464faf(0x485)](){const _0x37bdb4=_0x464faf,{scaleX:_0x4c6c16,scaleY:_0x3531fd}=this[_0x37bdb4(0x454)][_0x37bdb4(0x300)]();return Math[_0x37bdb4(0x3b9)](_0x4c6c16,_0x3531fd);}}var _0x26ebb7=Object[_0x464faf(0x229)],_0x2bd9e8=Object[_0x464faf(0x36f)],_0x304ec6=(_0x4bdefb,_0x4beba0,_0xbb09e2,_0x5ae4c2)=>{const _0x290ad0=_0x464faf;for(var _0x52662a=_0x5ae4c2>0x1?void 0x0:_0x5ae4c2?_0x2bd9e8(_0x4beba0,_0xbb09e2):_0x4beba0,_0x5909fa=_0x4bdefb[_0x290ad0(0x266)]-0x1,_0x1eb43a;_0x5909fa>=0x0;_0x5909fa--)(_0x1eb43a=_0x4bdefb[_0x5909fa])&&(_0x52662a=(_0x5ae4c2?_0x1eb43a(_0x4beba0,_0xbb09e2,_0x52662a):_0x1eb43a(_0x52662a))||_0x52662a);return _0x5ae4c2&&_0x52662a&&_0x26ebb7(_0x4beba0,_0xbb09e2,_0x52662a),_0x52662a;},_0x1efb9d=(_0x355bdb,_0x230923)=>(_0x310c71,_0xcb781e)=>_0x230923(_0x310c71,_0xcb781e,_0x355bdb);let _0x507f93=class extends _0x22bd76['RxDisposable']{constructor(_0x85cf13,_0x2da533,_0x3f42fc,_0x30a0c0,_0x5d3409){const _0x5baef0=_0x464faf;super(),_0x41b507(this,_0x5baef0(0x350),[]),_0x41b507(this,_0x5baef0(0x2c9),[]),(this[_0x5baef0(0x32d)]=_0x85cf13,this[_0x5baef0(0x2c0)]=_0x2da533,this['_collabCursorController']=_0x3f42fc,this[_0x5baef0(0x382)]=_0x30a0c0,this[_0x5baef0(0x48d)]=_0x5d3409,this[_0x5baef0(0x239)]());}['_init'](){const _0x4461f9=_0x464faf,_0x597ac0=this[_0x4461f9(0x32d)][_0x4461f9(0x3eb)],_0xd88ad9=this[_0x4461f9(0x2c0)];this[_0x4461f9(0x241)](_0xb468a3[_0x4461f9(0x371)]([this['_collabCursorController'][_0x4461f9(0x2ac)](_0x597ac0),this[_0x4461f9(0x48d)][_0x4461f9(0x3f3)]])[_0x4461f9(0x457)](_0x5ac862['map'](([_0x793e6a,_0x36b34b])=>({'skeleton':_0xd88ad9[_0x4461f9(0x35d)](),'cursors':[..._0x793e6a[_0x4461f9(0x461)]()]['flatMap'](_0x173fe8=>({..._0x173fe8,'color':_0x36b34b[_0x173fe8['color']]}))})))[_0x4461f9(0x1d7)](_0x40f0f2=>{const _0x226758=_0x4461f9;if(this[_0x226758(0x1e6)](),_0x40f0f2){const {skeleton:_0x520f20,cursors:_0x3c56fc}=_0x40f0f2;this[_0x226758(0x569)](_0x520f20,_0x3c56fc);}})),this[_0x4461f9(0x376)](),this['_initCommandExecutedListener']();}[_0x464faf(0x569)](_0x255f48,_0x1ead70){const _0xbbab8e=_0x464faf,{scene:_0x4614fe,mainComponent:_0x45e044}=this['_context'],_0x52f628=_0x1ead70[_0xbbab8e(0x1bb)](_0x1590d3=>new _0xec126a(_0x1590d3,_0x4614fe,_0x255f48,_0x45e044));this['_cursorShapes']=_0x52f628,this[_0xbbab8e(0x2c9)]=_0x1ead70;}[_0x464faf(0x47a)](){const _0x870e0b=_0x464faf;this['_removeCollabCursors']();const {scene:_0x9ea3ac,mainComponent:_0x2621c8}=this[_0x870e0b(0x32d)],_0x2c7037=this['_docSkeletonManagerService'][_0x870e0b(0x35d)](),_0x32efc3=this[_0x870e0b(0x2c9)][_0x870e0b(0x1bb)](_0x4a2574=>new _0xec126a(_0x4a2574,_0x9ea3ac,_0x2c7037,_0x2621c8));this[_0x870e0b(0x350)]=_0x32efc3;}['_removeCollabCursors'](){const _0x2fd081=_0x464faf;this[_0x2fd081(0x350)][_0x2fd081(0x1fc)](_0x35f638=>_0x35f638[_0x2fd081(0x383)]()),this[_0x2fd081(0x350)]=[];}[_0x464faf(0x2a2)](){const _0x384111=_0x464faf,_0x3ae4a2=[_0x3efaf4[_0x384111(0x3ff)]['id']];this[_0x384111(0x241)](this[_0x384111(0x382)][_0x384111(0x3da)](_0x4ef277=>{const _0xa9a4b4=_0x384111;_0x3ae4a2[_0xa9a4b4(0x573)](_0x4ef277['id'])&&_0x4ef277[_0xa9a4b4(0x4d5)][_0xa9a4b4(0x3eb)]===this[_0xa9a4b4(0x32d)][_0xa9a4b4(0x3eb)]&&this[_0xa9a4b4(0x47a)]();}));}['_initResize'](){const _0x4ff1a2=_0x464faf;this[_0x4ff1a2(0x241)](_0x22bd76[_0x4ff1a2(0x407)](this[_0x4ff1a2(0x32d)][_0x4ff1a2(0x505)]['onTransformChange$'])['pipe'](_0x5ac862[_0x4ff1a2(0x2e9)](_0x1a180f=>_0x1a180f[_0x4ff1a2(0x2e4)]===_0x3ab0d3[_0x4ff1a2(0x3fd)][_0x4ff1a2(0x502)]),_0x5ac862['throttleTime'](0x10))['subscribe'](()=>{const _0x1778d8=_0x4ff1a2;this[_0x1778d8(0x47a)]();}));}};_0x507f93=_0x304ec6([_0x22bd76[_0x464faf(0x3c4)](_0x22bd76['LifecycleStages'][_0x464faf(0x288)],_0x507f93),_0x1efb9d(0x1,_0x22bd76[_0x464faf(0x568)](_0x369ae4[_0x464faf(0x4f6)])),_0x1efb9d(0x2,_0x22bd76[_0x464faf(0x568)](_0x3c33bf)),_0x1efb9d(0x3,_0x22bd76[_0x464faf(0x4ae)]),_0x1efb9d(0x4,_0x22bd76['Inject'](_0x22bd76['ThemeService']))],_0x507f93);const _0x5440ea=0x1,_0x240e97=1.5;class _0x2e24c1 extends _0x3ab0d3[_0x464faf(0x4ed)]{constructor(_0x962275,_0xd8fe9d){const _0x5a6b8f=_0x464faf;super(_0x962275,_0xd8fe9d),_0x41b507(this,_0x5a6b8f(0x2a0)),_0x41b507(this,'_hovered',!0x1),_0x41b507(this,'_range'),_0x41b507(this,'_name',''),_0x41b507(this,_0x5a6b8f(0x354),'top'),_0x41b507(this,_0x5a6b8f(0x4aa)),(_0xd8fe9d&&this[_0x5a6b8f(0x308)](_0xd8fe9d),this[_0x5a6b8f(0x3db)][_0x5a6b8f(0x32c)](()=>this[_0x5a6b8f(0x308)]({'hovered':!0x0})),this[_0x5a6b8f(0x45b)][_0x5a6b8f(0x32c)](()=>this[_0x5a6b8f(0x308)]({'hovered':!0x1})));}['setShapeProps'](_0x1632c4){const _0x5e9fe9=_0x464faf;var _0x3acbb5,_0x2ff473,_0x20ffe0,_0x525970,_0xaae29b,_0x1d0215;this[_0x5e9fe9(0x2a0)]=(_0x3acbb5=_0x1632c4[_0x5e9fe9(0x280)])!=null?_0x3acbb5:this[_0x5e9fe9(0x2a0)],this['_hovered']=(_0x2ff473=_0x1632c4['hovered'])!=null?_0x2ff473:this[_0x5e9fe9(0x1d3)],this[_0x5e9fe9(0x388)]=(_0x20ffe0=_0x1632c4[_0x5e9fe9(0x22e)])!=null?_0x20ffe0:this['_range'],this[_0x5e9fe9(0x327)]=(_0x525970=_0x1632c4[_0x5e9fe9(0x51b)])!=null?_0x525970:this[_0x5e9fe9(0x327)],this['_labelPosition']=(_0xaae29b=_0x1632c4[_0x5e9fe9(0x2a3)])!=null?_0xaae29b:this[_0x5e9fe9(0x354)],this[_0x5e9fe9(0x4aa)]=(_0x1d0215=_0x1632c4[_0x5e9fe9(0x548)])!=null?_0x1d0215:this[_0x5e9fe9(0x4aa)],this[_0x5e9fe9(0x57e)]({'width':_0x1632c4[_0x5e9fe9(0x2f6)],'height':_0x1632c4[_0x5e9fe9(0x39a)]});}[_0x464faf(0x33e)](_0x52e30b){const _0x82ac9d=_0x464faf,{row:_0x1a4835,column:_0x540eb4}=_0x52e30b;if(_0x1a4835>=this[_0x82ac9d(0x388)][_0x82ac9d(0x4e4)]&&_0x1a4835<=this[_0x82ac9d(0x388)][_0x82ac9d(0x52e)]&&_0x540eb4>=this[_0x82ac9d(0x388)][_0x82ac9d(0x345)]&&_0x540eb4<=this[_0x82ac9d(0x388)][_0x82ac9d(0x365)]){this[_0x82ac9d(0x308)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x464faf(0x3e3)](_0x3810cd){return!0x1;}[_0x464faf(0x329)](_0x11bcc7){const _0x2e8c05=_0x464faf;_0x3ab0d3[_0x2e8c05(0x5a9)][_0x2e8c05(0x2d9)](_0x11bcc7,{'width':this['width'],'height':this[_0x2e8c05(0x39a)],'strokeWidth':_0x240e97,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2e8c05(0x4aa)]}),this[_0x2e8c05(0x1d3)]&&(_0x11bcc7['save'](),_0x11bcc7[_0x2e8c05(0x28e)](0x1,0x0,0x0,0x1,this[_0x2e8c05(0x2f6)],this[_0x2e8c05(0x354)]===_0x2e8c05(0x333)?0x0:-_0x3b41c1),_0x3e52ae[_0x2e8c05(0x2d9)](_0x11bcc7,{'text':this[_0x2e8c05(0x327)],'color':this['_color']}),_0x11bcc7[_0x2e8c05(0x37f)]());}}var _0x5c9219=Object[_0x464faf(0x229)],_0x4fc201=Object['getOwnPropertyDescriptor'],_0x3e64a2=(_0xfc5ed9,_0xaf1f1a,_0x59e16a,_0x26dd54)=>{const _0x9dbf2a=_0x464faf;for(var _0x309448=_0x26dd54>0x1?void 0x0:_0x26dd54?_0x4fc201(_0xaf1f1a,_0x59e16a):_0xaf1f1a,_0x227d1d=_0xfc5ed9[_0x9dbf2a(0x266)]-0x1,_0xabf159;_0x227d1d>=0x0;_0x227d1d--)(_0xabf159=_0xfc5ed9[_0x227d1d])&&(_0x309448=(_0x26dd54?_0xabf159(_0xaf1f1a,_0x59e16a,_0x309448):_0xabf159(_0x309448))||_0x309448);return _0x26dd54&&_0x309448&&_0x5c9219(_0xaf1f1a,_0x59e16a,_0x309448),_0x309448;},_0x5517ed=(_0x522d0e,_0x12e273)=>(_0x54765a,_0x4bdf29)=>_0x12e273(_0x54765a,_0x4bdf29,_0x522d0e);const _0x4c4b94=0x1389;let _0x3a7621=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x5f9b06,_0x32c69a,_0x1ba7ae,_0x3ef498){const _0x490924=_0x464faf;super(),_0x41b507(this,_0x490924(0x2c9),new Set()),_0x41b507(this,'_lastPointer',null),(this[_0x490924(0x32d)]=_0x5f9b06,this[_0x490924(0x3e9)]=_0x32c69a,this[_0x490924(0x28f)]=_0x1ba7ae,this[_0x490924(0x48d)]=_0x3ef498,this[_0x490924(0x239)]());}[_0x464faf(0x239)](){const _0x275d07=_0x464faf;this['_sheetSkeletonManagerService'][_0x275d07(0x27b)][_0x275d07(0x457)](_0x5ac862[_0x275d07(0x3d8)](this[_0x275d07(0x49d)]),_0x5ac862[_0x275d07(0x506)](_0x4e1116=>{const _0x36aeab=_0x275d07;if(_0x4e1116){const _0x5a58c9=_0x4e1116[_0x36aeab(0x4a8)];return _0xb468a3['combineLatest'](this[_0x36aeab(0x28f)][_0x36aeab(0x2ac)](this[_0x36aeab(0x32d)][_0x36aeab(0x3eb)]),this[_0x36aeab(0x48d)][_0x36aeab(0x3f3)])[_0x36aeab(0x457)](_0x5ac862[_0x36aeab(0x1bb)](([_0x310402,_0x442429])=>{const _0x13f90e=_0x36aeab,_0x56421c=new Map();return _0x310402[_0x13f90e(0x1fc)]((_0x15011a,_0x4cd682)=>{const _0xdcacbb=_0x13f90e;if(_0x15011a[_0xdcacbb(0x504)]===_0x5a58c9){const _0x394872={..._0x15011a};_0x394872[_0xdcacbb(0x280)]=_0x442429[_0x15011a[_0xdcacbb(0x280)]],_0x56421c[_0xdcacbb(0x372)](_0x4cd682,_0x394872);}}),{'skeleton':_0x4e1116,'cursors':_0x56421c};}));}return _0xb468a3['of']({'skeleton':null,'cursors':new Map()});}))[_0x275d07(0x1d7)](({skeleton:_0x1393b6,cursors:_0x33c7f3})=>{const _0x99ddd1=_0x275d07;this[_0x99ddd1(0x1e6)](),_0x1393b6&&this[_0x99ddd1(0x569)](_0x1393b6,_0x33c7f3);}),this['_sheetSkeletonManagerService'][_0x275d07(0x27b)][_0x275d07(0x1d7)](_0x4cf164=>{const _0x4b821c=_0x275d07;if(_0x4cf164==null)return;const {skeleton:_0x34528c}=_0x4cf164,{scene:_0x55782c}=this[_0x4b821c(0x32d)];_0x55782c[_0x4b821c(0x384)]['subscribeEvent'](_0x113112(_0x1e7a02=>{const _0x303923=_0x4b821c;var _0x47c001,_0x2e76f4;const {offsetX:_0x262d3c,offsetY:_0x373cca}=_0x1e7a02,{x:_0x4c5a93,y:_0x5c7044}=_0x55782c[_0x303923(0x5b7)](_0x3ab0d3[_0x303923(0x38b)]['FromArray']([_0x262d3c,_0x373cca])),{scaleX:_0x198da4,scaleY:_0x48ea27}=_0x55782c['getAncestorScale'](),_0x576a67=_0x55782c['getViewport'](_0x945537[_0x303923(0x4b4)][_0x303923(0x469)]),_0x2a9fd2=_0x55782c[_0x303923(0x2e3)](_0x3ab0d3[_0x303923(0x38b)]['FromArray']([_0x4c5a93,_0x5c7044]),_0x576a67),_0x4015dd=_0x34528c[_0x303923(0x554)](_0x262d3c,_0x373cca,_0x198da4,_0x48ea27,_0x2a9fd2);((_0x47c001=this[_0x303923(0x2a8)])==null?void 0x0:_0x47c001[_0x303923(0x580)])===_0x4015dd[_0x303923(0x580)]&&((_0x2e76f4=this[_0x303923(0x2a8)])==null?void 0x0:_0x2e76f4[_0x303923(0x520)])===_0x4015dd[_0x303923(0x520)]||this[_0x303923(0x2c9)][_0x303923(0x1fc)](_0x3805f8=>{_0x3805f8['onMouseMove'](_0x4015dd);});},0x64));});}['_updateCollabCursors'](_0x39b9be,_0x8b5280){const _0x2231a3=_0x464faf;var _0x23bf8f;const _0x3eb7b9=(_0x23bf8f=this[_0x2231a3(0x3e9)][_0x2231a3(0x226)]())==null?void 0x0:_0x23bf8f[_0x2231a3(0x4db)];if(!_0x3eb7b9)return;const _0x1ee72a=this[_0x2231a3(0x490)]();if(!_0x1ee72a)return;this[_0x2231a3(0x2c9)][_0x2231a3(0x1fc)](_0x35f859=>{const _0x149c9e=_0x2231a3;_0x35f859[_0x149c9e(0x488)]();});const {scene:_0x58a241}=_0x1ee72a,_0x4c7384=_0x40b127(Array[_0x2231a3(0x2ad)](_0x8b5280[_0x2231a3(0x461)]()))[_0x2231a3(0x1bb)](_0x2a8d42=>{const _0x15a8d5=_0x2231a3,{color:_0x1853ca,range:_0x20b374,name:_0x23e92f,selection:_0x4dcd8e,sheetID:_0x2ff767}=_0x2a8d42,{startColumn:_0x266f9d,startRow:_0xfb4e19,endColumn:_0x105a76,endRow:_0x5c53eb}=_0x20b374,_0x5bc93c=_0x945537[_0x15a8d5(0x4c3)](_0xfb4e19,_0x266f9d,_0x58a241,_0x3eb7b9),_0x3b00d1=_0x945537[_0x15a8d5(0x4c3)](_0x5c53eb,_0x105a76,_0x58a241,_0x3eb7b9),{columnHeaderHeightAndMarginTop:_0x30be72}=_0x3eb7b9,{startX:_0x2ccf0a,startY:_0x37985e}=_0x5bc93c,{endX:_0xd6d3ce,endY:_0x205950}=_0x3b00d1,_0xab18cb=_0xd6d3ce-_0x2ccf0a,_0xdab8df=_0x205950-_0x37985e,_0xb89425={'labelPosition':_0x37985e-_0x30be72>=_0x3b41c1?_0x15a8d5(0x49f):_0x15a8d5(0x333),'sheetID':_0x2ff767,'range':_0x20b374,'color':_0x1853ca,'name':_0x23e92f,'selection':_0x4dcd8e,'left':_0x2ccf0a,'top':_0x37985e,'width':_0xab18cb,'height':_0xdab8df,'evented':!0x1,'zIndex':_0x4c4b94};return new _0x2e24c1(_0x23e92f,_0xb89425);});_0x58a241[_0x2231a3(0x52f)](_0x4c7384,_0x5440ea),this[_0x2231a3(0x2c9)]=new Set(_0x4c7384);}[_0x464faf(0x1e6)](){const _0x38b31f=_0x464faf;var _0x688559;(_0x688559=this[_0x38b31f(0x2c9)])==null||_0x688559[_0x38b31f(0x1fc)](_0x2a27ae=>_0x2a27ae[_0x38b31f(0x383)]());}['_getSheetObject'](){const _0xee9af=_0x464faf;return _0x945537[_0xee9af(0x36b)](this[_0xee9af(0x32d)][_0xee9af(0x4e1)],this[_0xee9af(0x32d)]);}};_0x3a7621=_0x3e64a2([_0x5517ed(0x1,_0x22bd76['Inject'](_0x945537[_0x464faf(0x306)])),_0x5517ed(0x2,_0x22bd76[_0x464faf(0x568)](_0x3c33bf)),_0x5517ed(0x3,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x2e8)]))],_0x3a7621);function _0x40b127(_0x418cc2){const _0x229671=_0x464faf,_0x3e3dc7=new Map();return _0x418cc2[_0x229671(0x1fc)](_0x5d3dc8=>{const _0x106acd=_0x229671;if(_0x3e3dc7[_0x106acd(0x2e2)](_0x5d3dc8[_0x106acd(0x4b1)])){const _0x47cea4=_0x3e3dc7[_0x106acd(0x321)](_0x5d3dc8[_0x106acd(0x4b1)]);_0x47cea4[_0x106acd(0x51b)]+=',\x20'+_0x5d3dc8['name'];}else _0x3e3dc7['set'](_0x5d3dc8['selection'],_0x5d3dc8);}),Array[_0x229671(0x2ad)](_0x3e3dc7[_0x229671(0x461)]());}var _0x56828c=function(){const _0x3b803c=_0x464faf;return _0x56828c=Object[_0x3b803c(0x503)]||function(_0xdbbf84){const _0x3ac547=_0x3b803c;for(var _0x572447,_0x8020a9=0x1,_0x3fd391=arguments['length'];_0x8020a9<_0x3fd391;_0x8020a9++){_0x572447=arguments[_0x8020a9];for(var _0x27e0dd in _0x572447)Object['prototype'][_0x3ac547(0x2c8)][_0x3ac547(0x5b8)](_0x572447,_0x27e0dd)&&(_0xdbbf84[_0x27e0dd]=_0x572447[_0x27e0dd]);}return _0xdbbf84;},_0x56828c[_0x3b803c(0x549)](this,arguments);},_0x553187=function(_0x56d2fe,_0x1d68e5){const _0x166623=_0x464faf;var _0x348b5f={};for(var _0x2e905f in _0x56d2fe)Object[_0x166623(0x361)][_0x166623(0x2c8)][_0x166623(0x5b8)](_0x56d2fe,_0x2e905f)&&_0x1d68e5[_0x166623(0x355)](_0x2e905f)<0x0&&(_0x348b5f[_0x2e905f]=_0x56d2fe[_0x2e905f]);if(_0x56d2fe!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x5a8295=0x0,_0x2e905f=Object[_0x166623(0x23a)](_0x56d2fe);_0x5a8295<_0x2e905f[_0x166623(0x266)];_0x5a8295++)_0x1d68e5[_0x166623(0x355)](_0x2e905f[_0x5a8295])<0x0&&Object[_0x166623(0x361)][_0x166623(0x27c)]['call'](_0x56d2fe,_0x2e905f[_0x5a8295])&&(_0x348b5f[_0x2e905f[_0x5a8295]]=_0x56d2fe[_0x2e905f[_0x5a8295]]);}return _0x348b5f;},_0x187a90=_0x2ae23a['forwardRef'](function(_0x5eb2c9,_0x2d514b){const _0x134c45=_0x464faf;var _0x5a535d=_0x5eb2c9['icon'],_0x1c7612=_0x5eb2c9['id'],_0x17de60=_0x5eb2c9[_0x134c45(0x1e5)],_0x299e1b=_0x5eb2c9[_0x134c45(0x297)],_0x59f9d3=_0x553187(_0x5eb2c9,[_0x134c45(0x533),'id','className',_0x134c45(0x297)]),_0x4fe714=_0x134c45(0x510)['concat'](_0x1c7612,'\x20')['concat'](_0x17de60||'')['trim'](),_0x84c90=_0x2ae23a[_0x134c45(0x1f3)]('_'[_0x134c45(0x3f5)](_0x4b6a2a()));return _0x3b567d(_0x5a535d,''[_0x134c45(0x3f5)](_0x1c7612),{'defIds':_0x5a535d[_0x134c45(0x1e2)],'idSuffix':_0x84c90[_0x134c45(0x4cd)]},_0x56828c({'ref':_0x2d514b,'className':_0x4fe714},_0x59f9d3),_0x299e1b);});function _0x3b567d(_0x463ddc,_0x51f1aa,_0x241fe1,_0x1b4d93,_0x433122){const _0x54f808=_0x464faf;return _0x2ae23a['createElement'](_0x463ddc[_0x54f808(0x2a6)],_0x56828c(_0x56828c({'key':_0x51f1aa},_0x5dfb41(_0x463ddc,_0x241fe1,_0x433122)),_0x1b4d93),(_0x5a33ed(_0x463ddc,_0x241fe1)[_0x54f808(0x2d5)]||[])['map'](function(_0x30d011,_0x394e64){const _0x28bd77=_0x54f808;return _0x3b567d(_0x30d011,''[_0x28bd77(0x3f5)](_0x51f1aa,'-')[_0x28bd77(0x3f5)](_0x463ddc['tag'],'-')[_0x28bd77(0x3f5)](_0x394e64),_0x241fe1,void 0x0,_0x433122);}));}function _0x5dfb41(_0x559b4d,_0x4ebb0c,_0x40bca9){const _0x319883=_0x464faf;var _0x3aae46=_0x56828c({},_0x559b4d[_0x319883(0x397)]);_0x40bca9!=null&&_0x40bca9[_0x319883(0x251)]&&_0x3aae46['fill']===_0x319883(0x251)&&(_0x3aae46[_0x319883(0x326)]=_0x40bca9[_0x319883(0x251)]);var _0xe68525=_0x4ebb0c[_0x319883(0x1e2)];return!_0xe68525||_0xe68525['length']===0x0||(_0x559b4d['tag']===_0x319883(0x43b)&&_0x3aae46['xlink:href']&&(_0x3aae46[_0x319883(0x3ce)]=_0x3aae46[_0x319883(0x3ce)]+_0x4ebb0c[_0x319883(0x349)]),Object['entries'](_0x3aae46)[_0x319883(0x1fc)](function(_0x2e2fce){const _0x452322=_0x319883;var _0x37eaef=_0x2e2fce[0x0],_0x8db4fc=_0x2e2fce[0x1];typeof _0x8db4fc=='string'&&(_0x3aae46[_0x37eaef]=_0x8db4fc[_0x452322(0x4d1)](/url\(#(.*)\)/,_0x452322(0x3e2)[_0x452322(0x3f5)](_0x4ebb0c[_0x452322(0x349)],')')));})),_0x3aae46;}function _0x5a33ed(_0x3cac93,_0x3ae74b){const _0x4fbf90=_0x464faf;var _0x442b69,_0x4b839c=_0x3ae74b['defIds'];return!_0x4b839c||_0x4b839c[_0x4fbf90(0x266)]===0x0?_0x3cac93:_0x3cac93[_0x4fbf90(0x2a6)]===_0x4fbf90(0x55a)&&(!((_0x442b69=_0x3cac93[_0x4fbf90(0x2d5)])===null||_0x442b69===void 0x0)&&_0x442b69[_0x4fbf90(0x266)])?_0x56828c(_0x56828c({},_0x3cac93),{'children':_0x3cac93[_0x4fbf90(0x2d5)][_0x4fbf90(0x1bb)](function(_0x1208b0){const _0x3801ef=_0x4fbf90;return typeof _0x1208b0[_0x3801ef(0x397)]['id']==_0x3801ef(0x5ad)&&_0x4b839c&&_0x4b839c[_0x3801ef(0x355)](_0x1208b0[_0x3801ef(0x397)]['id'])>-0x1?_0x56828c(_0x56828c({},_0x1208b0),{'attrs':_0x56828c(_0x56828c({},_0x1208b0['attrs']),{'id':_0x1208b0[_0x3801ef(0x397)]['id']+_0x3ae74b['idSuffix']})}):_0x1208b0;})}):_0x3cac93;}function _0x4b6a2a(){const _0x1b20b6=_0x464faf;return Math[_0x1b20b6(0x34a)]()[_0x1b20b6(0x576)](0x24)[_0x1b20b6(0x2fd)](0x2,0x8);}_0x187a90[_0x464faf(0x443)]='UniverIcon';var _0x33aa32={'tag':'svg','attrs':{'fill':_0x464faf(0x309),'viewBox':_0x464faf(0x3b3),'width':_0x464faf(0x483),'height':_0x464faf(0x483)},'children':[{'tag':'g','attrs':{'clipPath':_0x464faf(0x31b)},'children':[{'tag':'path','attrs':{'stroke':_0x464faf(0x289),'d':'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','strokeLinecap':_0x464faf(0x41c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x464faf(0x55a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x464faf(0x35f)},'children':[{'tag':_0x464faf(0x45a),'attrs':{'fill':_0x464faf(0x45d),'d':_0x464faf(0x232)}}]}]}],'defIds':[_0x464faf(0x35f)]},_0x14ff3f=_0x2ae23a[_0x464faf(0x1ca)](function(_0x189d8f,_0x28adb2){const _0x5dc7eb=_0x464faf;return _0x2ae23a[_0x5dc7eb(0x200)](_0x187a90,Object[_0x5dc7eb(0x503)]({},_0x189d8f,{'id':'off-line-single','ref':_0x28adb2,'icon':_0x33aa32}));});_0x14ff3f['displayName']='OffLineSingle';var _0x42dbd5={'tag':_0x464faf(0x236),'attrs':{'fill':_0x464faf(0x309),'viewBox':_0x464faf(0x2f8),'width':_0x464faf(0x483),'height':_0x464faf(0x483)},'children':[{'tag':'g','attrs':{'clipPath':_0x464faf(0x47f)},'children':[{'tag':_0x464faf(0x45a),'attrs':{'stroke':_0x464faf(0x289),'d':_0x464faf(0x387),'strokeLinecap':_0x464faf(0x41c),'strokeLinejoin':_0x464faf(0x41c),'strokeWidth':1.2}}]},{'tag':_0x464faf(0x55a),'attrs':{},'children':[{'tag':_0x464faf(0x4df),'attrs':{'id':_0x464faf(0x474)},'children':[{'tag':_0x464faf(0x45a),'attrs':{'fill':_0x464faf(0x45d),'d':_0x464faf(0x232),'transform':_0x464faf(0x235)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x371b1d=_0x2ae23a['forwardRef'](function(_0x40c3ed,_0x4629c7){const _0x1afbc3=_0x464faf;return _0x2ae23a[_0x1afbc3(0x200)](_0x187a90,Object[_0x1afbc3(0x503)]({},_0x40c3ed,{'id':'on-line-single','ref':_0x4629c7,'icon':_0x42dbd5}));});_0x371b1d[_0x464faf(0x443)]=_0x464faf(0x51c);const _0x59aa1d={'onlineStatusIcon':_0x464faf(0x415),'onlineStatusTitle':_0x464faf(0x21e),'onlineStatus':'univer-online-status','online':_0x464faf(0x243),'offline':_0x464faf(0x3a4)};function _0x4f211e(_0x3924ec){const _0x5d5515=_0x464faf;switch(_0x3924ec){case _0x29599c[_0x5d5515(0x374)]:return _0x5d5515(0x4ad);case _0x29599c[_0x5d5515(0x5b6)]:return _0x5d5515(0x3fe);case _0x29599c[_0x5d5515(0x303)]:return'collabStatus.fetchMiss';case _0x29599c[_0x5d5515(0x2ba)]:return _0x5d5515(0x3f4);case _0x29599c[_0x5d5515(0x1b6)]:case _0x29599c[_0x5d5515(0x3bf)]:case _0x29599c[_0x5d5515(0x26d)]:return _0x5d5515(0x23b);case _0x29599c['SYNCED']:return _0x5d5515(0x2e6);}}function _0x2e5a3d(_0x149c2c){const _0x30222f=_0x464faf,{status$:_0x49e27b}=_0x149c2c,_0x2ee1d6=_0x1b23d2[_0x30222f(0x540)](_0x49e27b,_0x29599c[_0x30222f(0x2ba)]),_0x250f31=_0x22bd76[_0x30222f(0x369)](_0x22bd76[_0x30222f(0x51a)]),_0x5412c2=_0x22bd76[_0x30222f(0x369)](_0x19e906['CollaborationSessionService']),_0x39e172=_0x2ee1d6!==_0x29599c[_0x30222f(0x374)],_0x587567=_0x250f31['t'](_0x4f211e(_0x2ee1d6)),_0x55dba7=_0x1712cf(_0x59aa1d['onlineStatus'],{[_0x59aa1d[_0x30222f(0x1ac)]]:_0x39e172,[_0x59aa1d[_0x30222f(0x307)]]:!_0x39e172}),_0x474a1c=_0x39e172?_0x2ae23a[_0x30222f(0x200)](_0x371b1d,null):_0x2ae23a['createElement'](_0x14ff3f,null),_0x44732d=_0x2ae23a[_0x30222f(0x378)](()=>{const _0x32e1b9=_0x30222f;_0x39e172||_0x5412c2[_0x32e1b9(0x4c6)]();},[_0x39e172,_0x5412c2]);function _0x5ba3be(){const _0x4a0c9d=_0x30222f;return _0x2ae23a['createElement'](_0x4a0c9d(0x588),{'className':_0x55dba7,'onClick':_0x44732d},_0x2ae23a[_0x4a0c9d(0x200)](_0x4a0c9d(0x588),{'className':_0x59aa1d[_0x4a0c9d(0x25d)]},_0x474a1c),_0x2ae23a[_0x4a0c9d(0x200)](_0x4a0c9d(0x588),{'className':_0x59aa1d[_0x4a0c9d(0x225)]},_0x587567));}return _0x39e172?_0x5ba3be():_0x2ae23a[_0x30222f(0x200)](_0x5562a6[_0x30222f(0x445)],{'title':_0x250f31['t']('collab-client.tooltip.reconnect')},_0x5ba3be());}var _0x386b98=Object['defineProperty'],_0x20a600=Object['getOwnPropertyDescriptor'],_0x775731=(_0x144ea3,_0x2a7ece,_0x98dcc5,_0x53ae6a)=>{const _0x1b1f20=_0x464faf;for(var _0x571c31=_0x53ae6a>0x1?void 0x0:_0x53ae6a?_0x20a600(_0x2a7ece,_0x98dcc5):_0x2a7ece,_0x4adfb9=_0x144ea3[_0x1b1f20(0x266)]-0x1,_0x267c34;_0x4adfb9>=0x0;_0x4adfb9--)(_0x267c34=_0x144ea3[_0x4adfb9])&&(_0x571c31=(_0x53ae6a?_0x267c34(_0x2a7ece,_0x98dcc5,_0x571c31):_0x267c34(_0x571c31))||_0x571c31);return _0x53ae6a&&_0x571c31&&_0x386b98(_0x2a7ece,_0x98dcc5,_0x571c31),_0x571c31;},_0x18024d=(_0x19b939,_0x3c3121)=>(_0x5c165f,_0x53783c)=>_0x3c3121(_0x5c165f,_0x53783c,_0x19b939);_0x19e906[_0x464faf(0x57b)]=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x20afb2,_0x4379c3,_0x4238d3,_0x58245e){const _0x5cf925=_0x464faf;super(),_0x41b507(this,_0x5cf925(0x3a8),new _0xb468a3[(_0x5cf925(0x579))](_0x29599c['NOT_COLLAB'])),(this['_univerInstanceService']=_0x20afb2,this[_0x5cf925(0x1ea)]=_0x4379c3,this[_0x5cf925(0x38a)]=_0x4238d3,this[_0x5cf925(0x3c2)]=_0x58245e,this[_0x5cf925(0x597)](),this[_0x5cf925(0x21f)]());}[_0x464faf(0x21f)](){const _0x434390=_0x464faf;this['disposeWithMe'](this[_0x434390(0x334)][_0x434390(0x2f3)][_0x434390(0x457)](_0xb468a3[_0x434390(0x506)](()=>{const _0x5676a1=_0x434390,_0x2a1f91=this[_0x5676a1(0x334)][_0x5676a1(0x5c4)]();return _0x2a1f91?this[_0x5676a1(0x3c2)]['getCollabEntity$'](_0x2a1f91[_0x5676a1(0x330)]()):_0xb468a3['of'](null);}),_0xb468a3['switchMap'](_0x1e7567=>_0x1e7567?_0x1e7567[_0x434390(0x4af)]:_0xb468a3['of'](_0x29599c['NOT_COLLAB'])))[_0x434390(0x1d7)](_0x4fc315=>{const _0x561ff2=_0x434390;this['_status$'][_0x561ff2(0x4d2)](_0x4fc315);}));}['_initStatusComponent'](){const _0x1bb58f=_0x464faf;this['disposeWithMe'](this[_0x1bb58f(0x1ea)][_0x1bb58f(0x406)](_0x1b23d2[_0x1bb58f(0x344)][_0x1bb58f(0x54d)],()=>_0x22bd76[_0x1bb58f(0x3c0)](_0x2c12f0({'status$':this[_0x1bb58f(0x3a8)][_0x1bb58f(0x45e)]()}),this[_0x1bb58f(0x38a)])));}},_0x19e906[_0x464faf(0x57b)]=_0x775731([_0x18024d(0x0,_0x22bd76[_0x464faf(0x3a0)]),_0x18024d(0x1,_0x1b23d2[_0x464faf(0x25a)]),_0x18024d(0x2,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x18024d(0x3,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x29c)]))],_0x19e906[_0x464faf(0x57b)]);function _0x2c12f0(_0x23865c){const {status$:_0x2f0194}=_0x23865c;return function(){const _0x49844f=_0x437d;return _0x2ae23a[_0x49844f(0x200)](_0x2e5a3d,{'status$':_0x2f0194});};}const _0x3a3834='collaboration-client.config',_0xee2adc=_0x22bd76[_0x464faf(0x41e)](_0x464faf(0x296));var _0x6ecac4=Object[_0x464faf(0x229)],_0x278f53=Object['getOwnPropertyDescriptor'],_0x543886=(_0x184f43,_0x305f1a,_0x26c06c,_0x19d530)=>{for(var _0x2499d1=_0x19d530>0x1?void 0x0:_0x19d530?_0x278f53(_0x305f1a,_0x26c06c):_0x305f1a,_0x1d563a=_0x184f43['length']-0x1,_0x10b4ae;_0x1d563a>=0x0;_0x1d563a--)(_0x10b4ae=_0x184f43[_0x1d563a])&&(_0x2499d1=(_0x19d530?_0x10b4ae(_0x305f1a,_0x26c06c,_0x2499d1):_0x10b4ae(_0x2499d1))||_0x2499d1);return _0x19d530&&_0x2499d1&&_0x6ecac4(_0x305f1a,_0x26c06c,_0x2499d1),_0x2499d1;},_0x57db31=(_0x3743f8,_0x1e9257)=>(_0x3fca9c,_0x470e28)=>_0x1e9257(_0x3fca9c,_0x470e28,_0x3743f8);_0x19e906[_0x464faf(0x56a)]=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x441e11,_0x5d3e64,_0x353c66,_0x40d621,_0x63a5d3,_0x3fcaf6){const _0x1969df=_0x464faf;super(),this[_0x1969df(0x487)]=_0x441e11,this[_0x1969df(0x4c0)]=_0x5d3e64,this['_commandService']=_0x353c66,this[_0x1969df(0x1c7)]=_0x40d621,this[_0x1969df(0x299)]=_0x63a5d3,_0x3fcaf6?_0x3fcaf6==null||_0x3fcaf6[_0x1969df(0x373)]()['then'](()=>this['_init']()):(this[_0x1969df(0x4c0)][_0x1969df(0x3e8)](_0x1969df(0x215),_0x1969df(0x432)),this[_0x1969df(0x239)]());}async[_0x464faf(0x239)](){const _0x5374b6=_0x464faf,_0x2bca87=this['_urlService'][_0x5374b6(0x529)](_0x5374b6(0x4e1)),_0x16140c=this['_urlService'][_0x5374b6(0x529)](_0x5374b6(0x2e4));if(!_0x2bca87||!_0x16140c){this[_0x5374b6(0x4c0)][_0x5374b6(0x3e8)]('[DataLoaderController]',_0x5374b6(0x246));return;}switch(Number(_0x16140c)){case _0x2341fc['UNIVER_SHEET']:{const _0x8270e0=await this[_0x5374b6(0x287)](_0x2bca87);this[_0x5374b6(0x1d9)](_0x8270e0);break;}case _0x2341fc[_0x5374b6(0x3c1)]:{await this[_0x5374b6(0x570)](_0x2bca87);break;}default:{this[_0x5374b6(0x4c0)][_0x5374b6(0x458)](_0x5374b6(0x215),_0x5374b6(0x2f4));break;}}}async[_0x464faf(0x1d9)](_0x53ffb5){const _0x58d6e8=_0x464faf;await this[_0x58d6e8(0x37e)](_0x53ffb5),_0x53ffb5[_0x58d6e8(0x596)][_0x58d6e8(0x457)](_0xb468a3[_0x58d6e8(0x3d8)](this[_0x58d6e8(0x49d)]))[_0x58d6e8(0x1d7)](_0x510752=>{const _0xc369b1=_0x58d6e8;_0x510752&&this[_0xc369b1(0x1c4)](_0x510752);}),this[_0x58d6e8(0x487)][_0x58d6e8(0x491)][_0x58d6e8(0x457)](_0xb468a3[_0x58d6e8(0x3d8)](this[_0x58d6e8(0x49d)]))[_0x58d6e8(0x1d7)](()=>this['_updateSubUnitFromURLParams'](_0x53ffb5));}[_0x464faf(0x1c4)](_0x4be17f,_0x26a020=!0x1){const _0x524746=_0x464faf,_0x17d034=this[_0x524746(0x487)]['getParam'](_0x524746(0x37a));_0x4be17f[_0x524746(0x1ce)]()!==_0x17d034&&this[_0x524746(0x487)][_0x524746(0x2c1)](_0x524746(0x37a),_0x4be17f[_0x524746(0x1ce)](),_0x26a020);}async[_0x464faf(0x37e)](_0x259aca){const _0x4ed826=_0x464faf;var _0x3116a0;const _0x1e73a9=this[_0x4ed826(0x487)]['getParam']('subunit');if(!_0x1e73a9||!_0x259aca[_0x4ed826(0x23f)](_0x1e73a9)){const _0x5740af=_0x259aca[_0x4ed826(0x20b)]()[0x0],_0x187406=_0x259aca['getSheetBySheetId'](_0x5740af);if(!_0x187406)return;this[_0x4ed826(0x1c4)](_0x187406,!0x0),await this[_0x4ed826(0x382)][_0x4ed826(0x38c)](_0x38d7d8[_0x4ed826(0x1fb)]['id'],{'unitId':_0x259aca[_0x4ed826(0x330)](),'subUnitId':_0x5740af});return;}((_0x3116a0=_0x259aca[_0x4ed826(0x590)]())==null?void 0x0:_0x3116a0[_0x4ed826(0x1ce)]())!==_0x1e73a9&&await this['_commandService'][_0x4ed826(0x38c)](_0x38d7d8['SetWorksheetActivateCommand']['id'],{'unitId':_0x259aca[_0x4ed826(0x330)](),'subUnitId':_0x1e73a9});}async[_0x464faf(0x287)](_0x3d7be3){const _0x53bfe4=_0x464faf;let _0x67a8e4=0x0;const _0x3881d3=await this[_0x53bfe4(0x1c7)][_0x53bfe4(0x283)](_0x3d7be3);return _0x3881d3&&(_0x3881d3[_0x53bfe4(0x4de)]||_0x3881d3[_0x53bfe4(0x4a5)][_0x53bfe4(0x266)]!==0x0)&&(_0x67a8e4=_0x3881d3[_0x53bfe4(0x35c)]),_0x67a8e4===0x0&&this[_0x53bfe4(0x4c0)][_0x53bfe4(0x3e8)]('[DataLoaderController]',_0x53bfe4(0x3e6)),this['_snapshotService']['loadSheet'](_0x3d7be3,_0x67a8e4);}async[_0x464faf(0x570)](_0x58f6a4){const _0x34ccbd=_0x464faf;let _0x1e8bdd=0x0;const _0x3b7764=await this[_0x34ccbd(0x1c7)][_0x34ccbd(0x283)](_0x58f6a4);return _0x3b7764&&(_0x3b7764[_0x34ccbd(0x4de)]||_0x3b7764[_0x34ccbd(0x4a5)]['length']!==0x0)&&(_0x1e8bdd=_0x3b7764[_0x34ccbd(0x35c)]),_0x1e8bdd===0x0&&this[_0x34ccbd(0x4c0)][_0x34ccbd(0x3e8)](_0x34ccbd(0x215),_0x34ccbd(0x3e6)),this[_0x34ccbd(0x299)][_0x34ccbd(0x3a7)](_0x58f6a4,_0x1e8bdd);}},_0x19e906[_0x464faf(0x56a)]=_0x543886([_0x22bd76[_0x464faf(0x3c4)](_0x22bd76['LifecycleStages'][_0x464faf(0x5b2)],_0x19e906[_0x464faf(0x56a)]),_0x57db31(0x0,_0xee2adc),_0x57db31(0x1,_0x22bd76[_0x464faf(0x544)]),_0x57db31(0x2,_0x22bd76[_0x464faf(0x4ae)]),_0x57db31(0x3,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x57db31(0x4,_0x22bd76['Inject'](_0x2cb6ec[_0x464faf(0x42a)])),_0x57db31(0x5,_0x22bd76[_0x464faf(0x230)](_0x4dbbff[_0x464faf(0x323)]))],_0x19e906['DataLoaderController']);var _0x546955=Object[_0x464faf(0x229)],_0xae43db=Object['getOwnPropertyDescriptor'],_0x57b967=(_0x58f1dc,_0xad5e80,_0x12919e,_0x5bd203)=>{const _0x22bc99=_0x464faf;for(var _0x4759b7=_0x5bd203>0x1?void 0x0:_0x5bd203?_0xae43db(_0xad5e80,_0x12919e):_0xad5e80,_0x62a475=_0x58f1dc[_0x22bc99(0x266)]-0x1,_0x2ea5fd;_0x62a475>=0x0;_0x62a475--)(_0x2ea5fd=_0x58f1dc[_0x62a475])&&(_0x4759b7=(_0x5bd203?_0x2ea5fd(_0xad5e80,_0x12919e,_0x4759b7):_0x2ea5fd(_0x4759b7))||_0x4759b7);return _0x5bd203&&_0x4759b7&&_0x546955(_0xad5e80,_0x12919e,_0x4759b7),_0x4759b7;},_0x56029e=(_0x127a05,_0x5f9fe1)=>(_0x463295,_0x588c2a)=>_0x5f9fe1(_0x463295,_0x588c2a,_0x127a05);const _0x144c24='DEFAULT_FILE_NAME',_0x1e3d66='Univer';let _0x5a4239=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x5f325f,_0x17a8f2){const _0x2094a1=_0x464faf;super(),this[_0x2094a1(0x334)]=_0x5f325f,this[_0x2094a1(0x562)]=_0x17a8f2,this[_0x2094a1(0x239)]();}[_0x464faf(0x239)](){const _0x5b3228=_0x464faf;this[_0x5b3228(0x241)](_0x22bd76[_0x5b3228(0x2ec)](this[_0x5b3228(0x334)][_0x5b3228(0x2f3)][_0x5b3228(0x1d7)](()=>{const _0x2371da=_0x5b3228;var _0xb45e86;const _0x360dbf=this[_0x2371da(0x334)][_0x2371da(0x5c4)]();let _0x3886bc=(_0xb45e86=this[_0x2371da(0x562)][_0x2371da(0x5b1)](_0x144c24))!=null?_0xb45e86:_0x1e3d66;_0x360dbf instanceof _0x22bd76[_0x2371da(0x3a6)]&&(_0x3886bc=_0x360dbf['name']),document['title']=_0x3886bc;})));}};_0x5a4239=_0x57b967([_0x22bd76[_0x464faf(0x3c4)](_0x22bd76['LifecycleStages'][_0x464faf(0x27e)],_0x5a4239),_0x56029e(0x0,_0x22bd76[_0x464faf(0x3a0)]),_0x56029e(0x1,_0x22bd76[_0x464faf(0x55b)])],_0x5a4239);var _0x28b6ba=Object['defineProperty'],_0x2cc3bd=Object['getOwnPropertyDescriptor'],_0x151352=(_0x273219,_0x4260de,_0x5a4f8b,_0x5c429b)=>{const _0x175779=_0x464faf;for(var _0x136318=_0x5c429b>0x1?void 0x0:_0x5c429b?_0x2cc3bd(_0x4260de,_0x5a4f8b):_0x4260de,_0x975eb5=_0x273219[_0x175779(0x266)]-0x1,_0xe71a53;_0x975eb5>=0x0;_0x975eb5--)(_0xe71a53=_0x273219[_0x975eb5])&&(_0x136318=(_0x5c429b?_0xe71a53(_0x4260de,_0x5a4f8b,_0x136318):_0xe71a53(_0x136318))||_0x136318);return _0x5c429b&&_0x136318&&_0x28b6ba(_0x4260de,_0x5a4f8b,_0x136318),_0x136318;},_0x5e1b00=(_0x38d9f0,_0x36a4fa)=>(_0x835052,_0x2aa6ec)=>_0x36a4fa(_0x835052,_0x2aa6ec,_0x38d9f0);let _0xdb1fc5=class{constructor(_0x4e7226,_0x5ecc0e,_0x34ce8b){const _0x323cd5=_0x464faf;this[_0x323cd5(0x562)]=_0x4e7226,this[_0x323cd5(0x1f5)]=_0x5ecc0e,this[_0x323cd5(0x34b)]=_0x34ce8b,this[_0x323cd5(0x51d)]();}[_0x464faf(0x51d)](){const _0x783202=_0x464faf;this[_0x783202(0x1f5)][_0x783202(0x49c)]({'priority':0x1,'interceptor':(_0x3cd791,_0x283e06)=>_0x283e06(_0x3cd791)[_0x783202(0x457)](_0xb468a3[_0x783202(0x1a9)](async _0x2cc101=>{const _0x2caee3=_0x783202,_0x18b2b3=_0x2cc101;if(_0x18b2b3['status']===0x191&&window['confirm'](this[_0x2caee3(0x34b)]['t'](_0x2caee3(0x410)))){const _0x23cf28=window[_0x2caee3(0x19e)](window['location'][_0x2caee3(0x39e)]);window['location']['href']=this['_getLoginPath']()+_0x2caee3(0x5c7)+_0x23cf28;}return _0x18b2b3;}))});}[_0x464faf(0x56c)](){const _0x38425b=_0x464faf;var _0x5aaa2d;return(_0x5aaa2d=this[_0x38425b(0x562)][_0x38425b(0x5b1)](_0x4e8aa6))!=null?_0x5aaa2d:_0x283d9c;}};_0xdb1fc5=_0x151352([_0x5e1b00(0x0,_0x22bd76[_0x464faf(0x55b)]),_0x5e1b00(0x1,_0x22bd76['Inject'](_0x9bd9f[_0x464faf(0x41f)])),_0x5e1b00(0x2,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)]))],_0xdb1fc5);var _0x3c4719=Object['defineProperty'],_0x543145=Object[_0x464faf(0x36f)],_0xaea4f1=(_0x5975e1,_0x28d615,_0x35dfe9,_0x7f99c)=>{for(var _0x4e1348=_0x7f99c>0x1?void 0x0:_0x7f99c?_0x543145(_0x28d615,_0x35dfe9):_0x28d615,_0x7c8d40=_0x5975e1['length']-0x1,_0x107f13;_0x7c8d40>=0x0;_0x7c8d40--)(_0x107f13=_0x5975e1[_0x7c8d40])&&(_0x4e1348=(_0x7f99c?_0x107f13(_0x28d615,_0x35dfe9,_0x4e1348):_0x107f13(_0x4e1348))||_0x4e1348);return _0x7f99c&&_0x4e1348&&_0x3c4719(_0x28d615,_0x35dfe9,_0x4e1348),_0x4e1348;},_0x1f925e=(_0x4652f8,_0x2ee766)=>(_0xe15e49,_0x9edd9c)=>_0x2ee766(_0xe15e49,_0x9edd9c,_0x4652f8);const _0x2560cb=_0x464faf(0x2cc),_0x43f42e=_0x464faf(0x561);_0x19e906[_0x464faf(0x58f)]=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x3f43e9,_0x165029){const _0x2f0ef5=_0x464faf;super(),this[_0x2f0ef5(0x3af)]=_0x3f43e9,this[_0x2f0ef5(0x562)]=_0x165029,this[_0x2f0ef5(0x1c5)]();}[_0x464faf(0x1c5)](){const _0x327555=_0x464faf,_0x4ecc54=this;this[_0x327555(0x241)](this[_0x327555(0x3af)][_0x327555(0x49c)]({'priority':0x3e7,'interceptor':_0x9bd9f[_0x327555(0x46b)]({'isMatch'(_0x2c1d39){const _0x48dd64=_0x327555;var _0x168170;if(_0x2c1d39[_0x48dd64(0x589)]==='POST'&&((_0x168170=_0x2c1d39[_0x48dd64(0x4c7)])!=null&&_0x168170[_0x48dd64(0x2e0)])){const {objectID:_0x5df7c0,objectType:_0x3ab729}=_0x2c1d39[_0x48dd64(0x4c7)][_0x48dd64(0x2e0)]||{};if(!_0x5df7c0||_0x3ab729===void 0x0)return!0x1;const _0x5d9f66=_0x4ecc54[_0x48dd64(0x37b)]()+'/'+_0x3ab729+_0x48dd64(0x3c5)+_0x5df7c0+_0x48dd64(0x5bf);if(_0x2c1d39[_0x48dd64(0x35a)]===_0x5d9f66)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x87d125){const _0x4fa34f=_0x327555;var _0x1a3d59;return(_0x1a3d59=_0x87d125[_0x4fa34f(0x4c7)])==null?void 0x0:_0x1a3d59['body'];},'mergeParamsToRequest'(_0x108f88,_0xe988b3){const _0xfdeab8=_0x327555,_0xf3a6f0=_0x4ecc54['_getAPIPrefixPath']()+_0xfdeab8(0x3f6),_0x50e19b=_0x108f88['reduce']((_0xc891df,_0x559004)=>{const _0x1f82fb=_0xfdeab8,{unitID:_0x13fbe1,objectID:_0x5540d2,objectType:_0x4d0522,actions:_0x3fa054}=_0x559004;return _0xc891df[_0x13fbe1]||(_0xc891df[_0x13fbe1]={}),_0xc891df[_0x13fbe1][_0x5540d2]||(_0xc891df[_0x13fbe1][_0x5540d2]={'objectID':_0x5540d2,'objectType':_0x4d0522,'actions':[]}),_0xc891df[_0x13fbe1][_0x5540d2][_0x1f82fb(0x1a2)][_0x1f82fb(0x4a6)](..._0x3fa054),_0xc891df;},{}),_0x52f07c=[];for(const _0x297d26 in _0x50e19b)for(const _0x30f29f in _0x50e19b[_0x297d26]){const {actions:_0x23ea05,objectType:_0x4a8d05}=_0x50e19b[_0x297d26][_0x30f29f],_0x4fcc4e=[...new Set(_0x23ea05)];_0x52f07c[_0xfdeab8(0x4a6)]({'unitID':_0x297d26,'objectID':_0x30f29f,'objectType':_0x4a8d05,'actions':_0x4fcc4e});}return new _0x9bd9f[(_0xfdeab8(0x3f1))](_0xfdeab8(0x364),_0xf3a6f0,{'headers':_0xe988b3[_0xfdeab8(0x59f)],'withCredentials':_0xe988b3[_0xfdeab8(0x5ab)],'responseType':_0xe988b3[_0xfdeab8(0x322)],'body':{'requests':_0x52f07c}});}},{'distributeResult'(_0x571e97,_0x2e1e23){const _0x2f1061=_0x327555,{objectActions:_0x1b4147}=_0x571e97;return _0x2e1e23[_0x2f1061(0x1bb)](_0x273f88=>{const _0xba66a4=_0x2f1061,{unitID:_0x41d2bb,objectID:_0x5dd826,actions:_0x3fbf0c}=_0x273f88,_0x195213=_0x1b4147[_0xba66a4(0x26a)](_0x3658e7=>_0x3658e7[_0xba66a4(0x268)]===_0x41d2bb&&_0x3658e7['objectID']===_0x5dd826),_0x5e39f3=_0x3fbf0c[_0xba66a4(0x1bb)](_0x1b9e08=>_0x195213==null?void 0x0:_0x195213[_0xba66a4(0x1a2)]['find'](_0x1d38c4=>_0x1d38c4[_0xba66a4(0x368)]===_0x1b9e08))[_0xba66a4(0x2e9)](_0x21cbe7=>!!_0x21cbe7);return{'config':_0x273f88,'result':{'actions':_0x5e39f3,'error':_0x571e97[_0xba66a4(0x458)]}};});}})}));}[_0x464faf(0x37b)](){const _0x35c5c6=_0x464faf;var _0x5b226f;return(_0x5b226f=this[_0x35c5c6(0x562)][_0x35c5c6(0x5b1)](_0x2560cb))!=null?_0x5b226f:_0x43f42e;}async[_0x464faf(0x27d)](_0x236018){const _0x492a0d=_0x464faf,_0x5af859=this[_0x492a0d(0x37b)]()+'/'+_0x236018[_0x492a0d(0x1b2)]+_0x492a0d(0x3b5);return(await this[_0x492a0d(0x3af)][_0x492a0d(0x522)](_0x5af859,{'body':_0x236018}))['body'][_0x492a0d(0x2b5)]||'';}async[_0x464faf(0x3ac)](_0x326d05){const _0xbd0b18=_0x464faf,_0x59780b=this[_0xbd0b18(0x37b)]()+_0xbd0b18(0x426);return(await this[_0xbd0b18(0x3af)][_0xbd0b18(0x522)](_0x59780b,{'body':_0x326d05}))[_0xbd0b18(0x2e0)]['objects'];}async[_0x464faf(0x518)](_0x1ce704){const _0x3f8eca=_0x464faf,_0x3545d1=this[_0x3f8eca(0x37b)]()+'/'+_0x1ce704[_0x3f8eca(0x1b2)]+_0x3f8eca(0x3c5)+_0x1ce704[_0x3f8eca(0x2b5)];await this[_0x3f8eca(0x3af)][_0x3f8eca(0x367)](_0x3545d1,{'body':_0x1ce704});}async[_0x464faf(0x32e)](_0x551344){const _0x1b6c26=_0x464faf,_0x182463=this[_0x1b6c26(0x37b)]()+'/'+_0x551344[_0x1b6c26(0x1b2)]+'/object/'+_0x551344[_0x1b6c26(0x2b5)]+_0x1b6c26(0x5bf);return(await this['_HTTPService'][_0x1b6c26(0x522)](_0x182463,{'body':_0x551344}))[_0x1b6c26(0x2e0)]['actions'];}async[_0x464faf(0x559)](_0x238572){const _0x5464d6=_0x464faf,_0x42c628=this['_getAPIPrefixPath']()+_0x5464d6(0x3f6);return(await this[_0x5464d6(0x3af)]['post'](_0x42c628,{'body':{'requests':_0x238572}}))['body'][_0x5464d6(0x5b9)];}async['listRoles'](_0x24fd02){const _0xfdb605=_0x464faf,_0x3834df=this[_0xfdb605(0x37b)]()+'/'+_0x24fd02[_0xfdb605(0x1b2)]+'/role',_0x201d04=await this[_0xfdb605(0x3af)][_0xfdb605(0x522)](_0x3834df,{'body':_0x24fd02});return{'roles':_0x201d04[_0xfdb605(0x2e0)][_0xfdb605(0x3de)],'actions':_0x201d04[_0xfdb605(0x2e0)]['actions']};}async['deleteCollaborator'](_0x48c3c4){const _0x1567ea=_0x464faf,_0x5f3ca2=this[_0x1567ea(0x37b)]()+_0x1567ea(0x4ba);await this[_0x1567ea(0x3af)][_0x1567ea(0x331)](_0x5f3ca2,{'params':{'collaboratorID':_0x48c3c4[_0x1567ea(0x277)],'objectID':_0x48c3c4[_0x1567ea(0x2b5)],'unitID':_0x48c3c4[_0x1567ea(0x268)]}});}async['updateCollaborator'](_0x390c6c){const _0x527ceb=_0x464faf,_0x2a134d=this['_getAPIPrefixPath']()+_0x527ceb(0x4ba);await this[_0x527ceb(0x3af)][_0x527ceb(0x5a0)](_0x2a134d,{'body':_0x390c6c});}async[_0x464faf(0x530)](_0x4207eb){const _0x11bb5d=_0x464faf,_0x1bb4e7=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x11bb5d(0x3af)][_0x11bb5d(0x522)](_0x1bb4e7,{'body':_0x4207eb});}async[_0x464faf(0x599)](_0x4d398c){const _0x58e7c9=_0x464faf,_0x55c33e=this[_0x58e7c9(0x37b)]()+_0x58e7c9(0x4ba);return(await this[_0x58e7c9(0x3af)]['get'](_0x55c33e,{'params':{'objectID':_0x4d398c[_0x58e7c9(0x2b5)],'unitID':_0x4d398c[_0x58e7c9(0x268)]}}))[_0x58e7c9(0x2e0)]['collaborators'];}async['putCollaborators'](_0x3f47ee){const _0x4c546f=_0x464faf,_0x366be5=this['_getAPIPrefixPath']()+_0x4c546f(0x4ba);await this[_0x4c546f(0x3af)][_0x4c546f(0x367)](_0x366be5,{'body':_0x3f47ee});}},_0x19e906['AuthzIoHttpService']=_0xaea4f1([_0x1f925e(0x0,_0x22bd76['Inject'](_0x9bd9f['HTTPService'])),_0x1f925e(0x1,_0x22bd76['Inject'](_0x22bd76['IConfigService']))],_0x19e906[_0x464faf(0x58f)]);var _0x365763=Object['defineProperty'],_0x2724d6=Object[_0x464faf(0x36f)],_0x436df2=(_0x4fcd6a,_0x4bc8e0,_0x3ba91f,_0x129d13)=>{for(var _0x4e6a60=_0x129d13>0x1?void 0x0:_0x129d13?_0x2724d6(_0x4bc8e0,_0x3ba91f):_0x4bc8e0,_0x538e30=_0x4fcd6a['length']-0x1,_0x1d6406;_0x538e30>=0x0;_0x538e30--)(_0x1d6406=_0x4fcd6a[_0x538e30])&&(_0x4e6a60=(_0x129d13?_0x1d6406(_0x4bc8e0,_0x3ba91f,_0x4e6a60):_0x1d6406(_0x4e6a60))||_0x4e6a60);return _0x129d13&&_0x4e6a60&&_0x365763(_0x4bc8e0,_0x3ba91f,_0x4e6a60),_0x4e6a60;},_0x50bda6=(_0x4af82a,_0x1e7684)=>(_0x51eba1,_0x3bb123)=>_0x1e7684(_0x51eba1,_0x3bb123,_0x4af82a);const _0x30897c=['image/png',_0x464faf(0x34e),_0x464faf(0x337),_0x464faf(0x304),_0x464faf(0x4eb)],_0x2aa580=0x5*0x400*0x400,_0x4f49d4=_0x464faf(0x4e9),_0x60f662=_0x464faf(0x514),_0x49b290=_0x464faf(0x486),_0x2946e8=_0x464faf(0x558);_0x19e906[_0x464faf(0x270)]=class{constructor(_0x43d590,_0x42d64c,_0x164b23){const _0x3e9150=_0x464faf;_0x41b507(this,_0x3e9150(0x224),0x0),_0x41b507(this,_0x3e9150(0x53a),new _0xb468a3[(_0x3e9150(0x57c))]()),_0x41b507(this,_0x3e9150(0x1d5),this[_0x3e9150(0x53a)]),_0x41b507(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x43d590,this[_0x3e9150(0x562)]=_0x42d64c,this['_univerInstanceService']=_0x164b23);}[_0x464faf(0x356)](_0x3a1eba){const _0x1f6d9b=_0x464faf;this['_waitCount']=_0x3a1eba,this[_0x1f6d9b(0x53a)][_0x1f6d9b(0x4d2)](_0x3a1eba);}[_0x464faf(0x3c6)](_0x2a43c2,_0x348bf2){const _0x38fd39=_0x464faf;if(_0x348bf2===_0x1fbc38[_0x38fd39(0x4e2)][_0x38fd39(0x1d0)]){const _0x160afb=new Image();return _0x160afb['src']=_0x2a43c2,_0x160afb;}return this[_0x38fd39(0x2f0)][_0x38fd39(0x321)](_0x2a43c2);}[_0x464faf(0x1f9)](_0xb50ebb,_0x407c01,_0x342b0a){const _0x4b2a15=_0x464faf;_0x407c01===_0x1fbc38[_0x4b2a15(0x4e2)][_0x4b2a15(0x1d0)]||_0x342b0a==null||this[_0x4b2a15(0x2f0)][_0x4b2a15(0x372)](_0xb50ebb,_0x342b0a);}async[_0x464faf(0x399)](_0x86c31c){const _0x2d7a4e=_0x464faf;try{const _0x4ddb28=this[_0x2d7a4e(0x594)](this['_getSignURL'](),''+_0x86c31c),_0x1733bb=(await this[_0x2d7a4e(0x1f5)][_0x2d7a4e(0x321)](_0x4ddb28))[_0x2d7a4e(0x2e0)];return _0x1733bb[_0x2d7a4e(0x458)]&&_0x1733bb[_0x2d7a4e(0x458)][_0x2d7a4e(0x4ec)]===_0x19883d['OK']?this[_0x2d7a4e(0x267)]()?Promise[_0x2d7a4e(0x2b6)](this['_getDownloadEndpointURL']()+_0x1733bb[_0x2d7a4e(0x35a)]):Promise[_0x2d7a4e(0x2b6)](_0x1733bb[_0x2d7a4e(0x35a)]):Promise['reject'](_0x1733bb['error']);}catch(_0xb6bc0a){return Promise[_0x2d7a4e(0x238)](_0xb6bc0a);}}async[_0x464faf(0x1ed)](_0x22df58){const _0x5c15e7=_0x464faf;let _0x4449f2='';if(!_0x30897c['includes'](_0x22df58[_0x5c15e7(0x2e4)]))return this[_0x5c15e7(0x254)](),Promise['reject'](new Error(_0x1fbc38[_0x5c15e7(0x3ca)]['ERROR_IMAGE_TYPE']));if(_0x22df58[_0x5c15e7(0x2cf)]>_0x2aa580)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1fbc38[_0x5c15e7(0x3ca)]['ERROR_EXCEED_SIZE']));try{const _0x565919=new FormData();_0x565919['append']('file',_0x22df58);const _0x3d19ae=this[_0x5c15e7(0x334)][_0x5c15e7(0x5c4)](),_0x1e59ab=_0x3d19ae==null?void 0x0:_0x3d19ae[_0x5c15e7(0x330)]();if(!_0x1e59ab)throw new Error('unitId\x20is\x20not\x20found');const _0x33612e=this[_0x5c15e7(0x26e)]()+'?size='+_0x22df58[_0x5c15e7(0x2cf)][_0x5c15e7(0x576)]()+'&source='+_0x373e8a[_0x5c15e7(0x39d)]+_0x5c15e7(0x567)+encodeURIComponent(_0x1e59ab),_0x18f7c5=await(await fetch(_0x33612e,{'method':_0x5c15e7(0x364),'body':_0x565919}))[_0x5c15e7(0x29d)]();if(typeof _0x18f7c5[_0x5c15e7(0x2f5)]!='string')return this[_0x5c15e7(0x254)](),Promise[_0x5c15e7(0x238)](new Error(_0x1fbc38[_0x5c15e7(0x3ca)]['ERROR_IMAGE']));_0x4449f2=_0x18f7c5['FileId'];}catch{return this[_0x5c15e7(0x254)](),Promise['reject'](new Error(_0x1fbc38[_0x5c15e7(0x3ca)][_0x5c15e7(0x48f)]));}return new Promise((_0x21548a,_0x9bab00)=>{const _0x2c7a3f=_0x5c15e7,_0x494833=new FileReader();_0x494833['readAsDataURL'](_0x22df58),_0x494833[_0x2c7a3f(0x30e)]=_0xc86958=>{const _0x38cfd2=_0x2c7a3f;var _0x50aa3c;const _0x446cee=(_0x50aa3c=_0xc86958[_0x38cfd2(0x3b6)])==null?void 0x0:_0x50aa3c[_0x38cfd2(0x320)];if(_0x446cee==null){this[_0x38cfd2(0x254)](),_0x9bab00(new Error(_0x1fbc38[_0x38cfd2(0x3ca)][_0x38cfd2(0x48f)]));return;}const _0x4d9044=_0x22bd76[_0x38cfd2(0x223)]['generateRandomId'](0x6);_0x21548a({'imageId':_0x4d9044,'imageSourceType':_0x1fbc38[_0x38cfd2(0x4e2)]['UUID'],'source':_0x4449f2,'base64Cache':_0x446cee,'status':_0x1fbc38[_0x38cfd2(0x3ca)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x464faf(0x26e)](){const _0x254182=_0x464faf;var _0x5ba5d5;return(_0x5ba5d5=this[_0x254182(0x562)][_0x254182(0x5b1)](_0x4f49d4))!=null?_0x5ba5d5:_0x60f662;}[_0x464faf(0x1bf)](){const _0x562f07=_0x464faf;var _0xa7dd52;return(_0xa7dd52=this[_0x562f07(0x562)]['getConfig'](_0x49b290))!=null?_0xa7dd52:_0x2946e8;}[_0x464faf(0x267)](){const _0x4bd462=_0x464faf;var _0x5b445f;const _0x43c3d6=this['_configService'][_0x4bd462(0x5b1)](_0x3a3834);return(_0x5b445f=_0x43c3d6==null?void 0x0:_0x43c3d6[_0x4bd462(0x531)])!=null?_0x5b445f:'';}['_replaceFileID'](_0x3a678c,_0x43218a){const _0x464263=_0x464faf;return _0x3a678c['replace'](_0x464263(0x21c),_0x43218a);}[_0x464faf(0x254)](){const _0x4f4efd=_0x464faf;this[_0x4f4efd(0x224)]-=0x1,this[_0x4f4efd(0x53a)][_0x4f4efd(0x4d2)](this[_0x4f4efd(0x224)]);}},_0x19e906[_0x464faf(0x270)]=_0x436df2([_0x50bda6(0x0,_0x22bd76[_0x464faf(0x568)](_0x9bd9f['HTTPService'])),_0x50bda6(0x1,_0x22bd76['IConfigService']),_0x50bda6(0x2,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x3a0)]))],_0x19e906[_0x464faf(0x270)]);var _0x262d67=Object[_0x464faf(0x229)],_0x1bca06=Object['getOwnPropertyDescriptor'],_0x2af12a=(_0x2d5a72,_0xc86c,_0x390879,_0x2b26e6)=>{const _0x3a4da7=_0x464faf;for(var _0x523f35=_0x2b26e6>0x1?void 0x0:_0x2b26e6?_0x1bca06(_0xc86c,_0x390879):_0xc86c,_0x282acd=_0x2d5a72[_0x3a4da7(0x266)]-0x1,_0x3ee6fc;_0x282acd>=0x0;_0x282acd--)(_0x3ee6fc=_0x2d5a72[_0x282acd])&&(_0x523f35=(_0x2b26e6?_0x3ee6fc(_0xc86c,_0x390879,_0x523f35):_0x3ee6fc(_0x523f35))||_0x523f35);return _0x2b26e6&&_0x523f35&&_0x262d67(_0xc86c,_0x390879,_0x523f35),_0x523f35;},_0x201a1d=(_0x5e16b1,_0x408bca)=>(_0x183515,_0x59e72a)=>_0x408bca(_0x183515,_0x59e72a,_0x5e16b1);let _0x3e6c22=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x1664e9,_0x451b30,_0xcf4fac,_0x66a309,_0x216182){const _0x4caf96=_0x464faf;super(),this[_0x4caf96(0x38a)]=_0x1664e9,this['_univerInstanceService']=_0x451b30,this[_0x4caf96(0x556)]=_0xcf4fac,this[_0x4caf96(0x29b)]=_0x66a309,this[_0x4caf96(0x4fc)]=_0x216182,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x464faf(0x4b8)](){const _0x29d120=_0x464faf,_0x3c0a83=async _0x53d688=>{const _0x29869b=_0x437d;(await this[_0x29869b(0x29b)][_0x29869b(0x59c)](_0x53d688))[_0x29869b(0x3f2)][_0x29869b(0x457)](_0x5ac862[_0x29869b(0x2e9)](_0x55a026=>_0x55a026['eventID']===_0x2cb6ec[_0x29869b(0x312)]['SHOULD_CLOSE_CONN']),_0x5ac862[_0x29869b(0x3d8)](this['dispose$']))[_0x29869b(0x1d7)](_0xfad2cd=>{const _0x1c54df=_0x29869b,_0x3a357a=_0xfad2cd,{reason:_0x387533}=_0x3a357a['data'];this[_0x1c54df(0x38a)][_0x1c54df(0x321)](_0x1b23d2[_0x1c54df(0x536)])[_0x1c54df(0x550)]({'type':_0x5562a6[_0x1c54df(0x253)][_0x1c54df(0x489)],'content':this['_localeService']['t'](_0x1c54df(0x4bc))+'('+_0x387533+')'}),this[_0x1c54df(0x556)][_0x1c54df(0x2e5)](new _0x38d7d8[(_0x1c54df(0x4e3))](_0x53d688)['id'],!0x1),this['_collaborationSessionService'][_0x1c54df(0x405)](_0x53d688);});};_0xb468a3['merge'](this['_univerInstanceService'][_0x29d120(0x390)](_0x22bd76[_0x29d120(0x53c)][_0x29d120(0x593)]),this[_0x29d120(0x334)][_0x29d120(0x390)](_0x22bd76['UniverInstanceType'][_0x29d120(0x3c1)]))['pipe'](_0x5ac862[_0x29d120(0x1bb)](_0x46a562=>_0x46a562['getUnitId']()),_0x5ac862[_0x29d120(0x2e9)](_0x533039=>!_0x22bd76[_0x29d120(0x336)](_0x533039)),_0x5ac862[_0x29d120(0x3d8)](this[_0x29d120(0x49d)]))[_0x29d120(0x1d7)](_0xcdb037=>{_0x3c0a83(_0xcdb037);});}[_0x464faf(0x3b8)](){const _0x3ca58c=_0x464faf,_0x5a3a3c=async _0x462956=>{const _0x280d93=_0x437d;(await this[_0x280d93(0x29b)][_0x280d93(0x59c)](_0x462956))[_0x280d93(0x3f2)][_0x280d93(0x457)](_0x5ac862[_0x280d93(0x2e9)](_0x44c2f3=>_0x44c2f3[_0x280d93(0x571)]===_0x2cb6ec['CollaborationEvent'][_0x280d93(0x29f)]),_0x5ac862['takeUntil'](this[_0x280d93(0x49d)]))[_0x280d93(0x1d7)](_0x5727a0=>{const _0x137d1e=_0x280d93,_0x53a4f2=_0x5727a0,{objectId:_0x5b2ebf}=_0x53a4f2['data'],_0x14e87d=this['_injector'][_0x137d1e(0x321)](_0x945537['SheetPermissionInitController']);_0x5b2ebf===_0x462956?_0x14e87d[_0x137d1e(0x539)](_0x462956):_0x14e87d[_0x137d1e(0x38d)](_0x462956,_0x5b2ebf);});};_0xb468a3[_0x3ca58c(0x23e)](this[_0x3ca58c(0x334)][_0x3ca58c(0x390)](_0x22bd76[_0x3ca58c(0x53c)][_0x3ca58c(0x593)]),this[_0x3ca58c(0x334)][_0x3ca58c(0x390)](_0x22bd76['UniverInstanceType'][_0x3ca58c(0x3c1)]))[_0x3ca58c(0x457)](_0x5ac862['map'](_0x2ef945=>_0x2ef945[_0x3ca58c(0x330)]()),_0x5ac862['filter'](_0x15deaa=>!_0x22bd76[_0x3ca58c(0x336)](_0x15deaa)),_0x5ac862[_0x3ca58c(0x3d8)](this['dispose$']))[_0x3ca58c(0x1d7)](_0xb23f73=>{_0x5a3a3c(_0xb23f73);});}};_0x3e6c22=_0x2af12a([_0x22bd76['OnLifecycle'](_0x22bd76[_0x464faf(0x366)][_0x464faf(0x5b2)],_0x3e6c22),_0x201a1d(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x201a1d(0x1,_0x22bd76['IUniverInstanceService']),_0x201a1d(0x2,_0x22bd76[_0x464faf(0x281)]),_0x201a1d(0x3,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x2ca)])),_0x201a1d(0x4,_0x22bd76[_0x464faf(0x568)](_0x22bd76['LocaleService']))],_0x3e6c22);var _0x292ea4=Object['defineProperty'],_0x2f7946=Object[_0x464faf(0x36f)],_0x426137=(_0x53c85b,_0x5912fb,_0x5d8b33,_0x160609)=>{for(var _0x4c10ec=_0x160609>0x1?void 0x0:_0x160609?_0x2f7946(_0x5912fb,_0x5d8b33):_0x5912fb,_0x41b096=_0x53c85b['length']-0x1,_0x5c7a85;_0x41b096>=0x0;_0x41b096--)(_0x5c7a85=_0x53c85b[_0x41b096])&&(_0x4c10ec=(_0x160609?_0x5c7a85(_0x5912fb,_0x5d8b33,_0x4c10ec):_0x5c7a85(_0x4c10ec))||_0x4c10ec);return _0x160609&&_0x4c10ec&&_0x292ea4(_0x5912fb,_0x5d8b33,_0x4c10ec),_0x4c10ec;},_0x3c9b46=(_0x3060b9,_0x464c47)=>(_0x27870f,_0x4abfec)=>_0x464c47(_0x27870f,_0x4abfec,_0x3060b9);_0x19e906['SnapshotServerOverHTTPService']=class{constructor(_0x4ee675,_0x15639a){const _0x389f31=_0x464faf;this[_0x389f31(0x562)]=_0x4ee675,this[_0x389f31(0x1f5)]=_0x15639a;}async[_0x464faf(0x584)](_0x498bbc,_0x4883c7){const _0xe3d1a0=_0x464faf;var _0x265172;const {unitID:_0x2b8fd3,type:_0x4dd042,revision:_0x50b312=0x0}=_0x4883c7,_0x2b2fec=this[_0xe3d1a0(0x537)]()+'/'+_0x4dd042+_0xe3d1a0(0x36d)+_0x2b8fd3+_0xe3d1a0(0x5ae)+_0x50b312,_0x2ca7be=(await this[_0xe3d1a0(0x1f5)][_0xe3d1a0(0x321)](_0x2b2fec))[_0xe3d1a0(0x2e0)],_0x26e90d=(_0x265172=_0x2ca7be[_0xe3d1a0(0x4ac)])==null?void 0x0:_0x265172[_0xe3d1a0(0x2d3)];if(_0x26e90d){const _0x45915a=_0x26e90d==null?void 0x0:_0x26e90d[_0xe3d1a0(0x20a)],_0x5e5924=_0x2cb6ec['textEncoder'][_0xe3d1a0(0x30c)](_0x2cb6ec['b64DecodeUnicode'](_0x45915a));_0x26e90d[_0xe3d1a0(0x20a)]=_0x5e5924,Object[_0xe3d1a0(0x247)](_0x26e90d['sheets'])[_0xe3d1a0(0x1fc)](([,_0x11f5e6])=>{const _0xa1566d=_0xe3d1a0,_0x22ea00=_0x11f5e6[_0xa1566d(0x20a)],_0x2da0bb=_0x2cb6ec[_0xa1566d(0x3d3)][_0xa1566d(0x30c)](_0x2cb6ec[_0xa1566d(0x497)](_0x22ea00));_0x11f5e6[_0xa1566d(0x20a)]=_0x2da0bb;});}return _0x2ca7be;}async['getSheetBlock'](_0x2d0a2f,_0xce9162){const _0x20f83d=_0x464faf,{unitID:_0x1f0b3d,type:_0xdd157e,blockID:_0x327a06}=_0xce9162,_0x433346=this[_0x20f83d(0x4b6)]()+'/'+_0xdd157e+'/unit/'+_0x1f0b3d+'/block/'+_0x327a06;return(await this[_0x20f83d(0x1f5)][_0x20f83d(0x321)](_0x433346))[_0x20f83d(0x2e0)];}async[_0x464faf(0x318)](_0xe31e77,_0x5e3fca){const _0x54c5f4=_0x464faf,{unitID:_0x25a553,type:_0xb3b950,from:_0x1842bd,to:_0x523152}=_0x5e3fca,_0x3d929c=this[_0x54c5f4(0x4b6)]()+'/'+_0xb3b950+'/unit/'+_0x25a553+'/fetchmissing?from='+_0x1842bd+_0x54c5f4(0x58e)+_0x523152;return(await this[_0x54c5f4(0x1f5)][_0x54c5f4(0x321)](_0x3d929c))[_0x54c5f4(0x2e0)];}[_0x464faf(0x537)](){const _0x49fa49=_0x464faf;var _0x368838;return(_0x368838=this[_0x49fa49(0x562)][_0x49fa49(0x5b1)](_0x407342))!=null?_0x368838:this[_0x49fa49(0x4b6)]();}[_0x464faf(0x4b6)](){const _0x50ee48=_0x464faf;var _0x1ab6aa;return(_0x1ab6aa=this[_0x50ee48(0x562)][_0x50ee48(0x5b1)](_0x30cccf))!=null?_0x1ab6aa:_0xe696b2;}async[_0x464faf(0x379)](_0x2a69f2,_0x22ce5d){const _0x2e75b8=_0x464faf,_0x2c607c=_0x2e75b8(0x2db)+_0x22ce5d[_0x2e75b8(0x2e4)]+_0x2e75b8(0x36d)+_0x22ce5d['unitID']+'/resources';return(await this[_0x2e75b8(0x1f5)][_0x2e75b8(0x321)](_0x2c607c,{'params':{'resourceId':JSON[_0x2e75b8(0x4c2)](_0x22ce5d[_0x2e75b8(0x26f)])}}))[_0x2e75b8(0x2e0)];}['saveSnapshot'](){const _0x2a3f5a=_0x464faf;throw new Error(_0x2a3f5a(0x31a));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){const _0x4401b3=_0x464faf;throw new Error(_0x4401b3(0x31a));}},_0x19e906['SnapshotServerOverHTTPService']=_0x426137([_0x3c9b46(0x0,_0x22bd76[_0x464faf(0x55b)]),_0x3c9b46(0x1,_0x22bd76[_0x464faf(0x568)](_0x9bd9f[_0x464faf(0x41f)]))],_0x19e906[_0x464faf(0x3ea)]);var _0x23228c=Object[_0x464faf(0x229)],_0x24c13d=Object[_0x464faf(0x36f)],_0x20a8e2=(_0x518220,_0x4127dc,_0x96c1b5,_0x216563)=>{const _0x154404=_0x464faf;for(var _0xca667e=_0x216563>0x1?void 0x0:_0x216563?_0x24c13d(_0x4127dc,_0x96c1b5):_0x4127dc,_0x5947f3=_0x518220[_0x154404(0x266)]-0x1,_0x617c04;_0x5947f3>=0x0;_0x5947f3--)(_0x617c04=_0x518220[_0x5947f3])&&(_0xca667e=(_0x216563?_0x617c04(_0x4127dc,_0x96c1b5,_0xca667e):_0x617c04(_0xca667e))||_0xca667e);return _0x216563&&_0xca667e&&_0x23228c(_0x4127dc,_0x96c1b5,_0xca667e),_0xca667e;},_0x4d4377=(_0x4ac225,_0x5ec727)=>(_0x364262,_0x4ec40d)=>_0x5ec727(_0x364262,_0x4ec40d,_0x4ac225);let _0x45556c=class extends _0x22bd76['LocalUndoRedoService']{constructor(_0x266360,_0x56556d,_0x4791de,_0xd0822a,_0x4e8ca4){const _0x2fadcd=_0x464faf;super(_0x266360,_0x56556d,_0x4791de),this[_0x2fadcd(0x24e)]=_0xd0822a,this[_0x2fadcd(0x4c0)]=_0x4e8ca4;}[_0x464faf(0x591)](_0x1e9335,_0x26c9f7){const _0x407503=_0x464faf,_0x18c578=this[_0x407503(0x212)](_0x1e9335);if(_0x18c578)try{const _0x468094=this[_0x407503(0x313)](_0x18c578,_0x26c9f7);this[_0x407503(0x54c)](_0x1e9335,_0x468094);}catch(_0x3a2d26){this[_0x407503(0x4c0)][_0x407503(0x458)](_0x407503(0x286),_0x3a2d26),this[_0x407503(0x595)](_0x1e9335);}const _0x3fed2b=this[_0x407503(0x324)](_0x1e9335);if(_0x3fed2b)try{const _0x77b3cf=this[_0x407503(0x313)](_0x3fed2b,_0x26c9f7);this['_substituteRedoStack'](_0x1e9335,_0x77b3cf);}catch(_0x56ed67){this[_0x407503(0x4c0)][_0x407503(0x458)](_0x56ed67),this['_clearRedo'](_0x1e9335);}}['_clearUndo'](_0x1a3b13){const _0x5c7753=_0x464faf,_0x2ac48a=this[_0x5c7753(0x212)](_0x1a3b13);_0x2ac48a&&(_0x2ac48a[_0x5c7753(0x266)]=0x0,this['_updateStatus']());}[_0x464faf(0x449)](_0x211c9d){const _0x401bea=_0x464faf,_0x49323a=this[_0x401bea(0x324)](_0x211c9d);_0x49323a&&(_0x49323a[_0x401bea(0x266)]=0x0,this[_0x401bea(0x59e)]());}[_0x464faf(0x54c)](_0x2c31b7,_0x1d09d4){const _0x1937bc=_0x464faf;this[_0x1937bc(0x575)][_0x1937bc(0x372)](_0x2c31b7,_0x1d09d4),this['_updateStatus']();}[_0x464faf(0x52b)](_0x5664a7,_0x1c1011){const _0x3bec7d=_0x464faf;this['_redoStacks'][_0x3bec7d(0x372)](_0x5664a7,_0x1c1011),this[_0x3bec7d(0x59e)]();}['_transformStack'](_0x2b81f1,_0x37ae77){const _0x2741eb=_0x464faf,_0x34d950=[];let _0x13596a=_0x37ae77,_0x5c9a93=_0x37ae77;for(let _0x4575d6=_0x2b81f1[_0x2741eb(0x266)]-0x1;_0x4575d6>=0x0;_0x4575d6--){const {unitID:_0x1db0dd,undoMutations:_0x26f1c9,redoMutations:_0x9be293}=_0x2b81f1[_0x4575d6],_0x2c9dc0=this[_0x2741eb(0x24e)][_0x2741eb(0x1de)](_0x13596a,_0x26f1c9),_0x12c73f=this['_transformService'][_0x2741eb(0x1de)](_0x5c9a93,_0x9be293);if(_0x2cb6ec[_0x2741eb(0x2b4)](_0x2c9dc0)||_0x2cb6ec[_0x2741eb(0x2b4)](_0x12c73f)){this[_0x2741eb(0x4c0)][_0x2741eb(0x458)](_0x2741eb(0x286),_0x2741eb(0x453),_0x2c9dc0,_0x12c73f);break;}_0x13596a=_0x2c9dc0[_0x2741eb(0x1f4)],_0x5c9a93=_0x12c73f['c1Prime'],_0x34d950[_0x2741eb(0x4a6)]({'unitID':_0x1db0dd,'undoMutations':_0x2c9dc0[_0x2741eb(0x275)],'redoMutations':_0x12c73f[_0x2741eb(0x275)]});}return _0x34d950[_0x2741eb(0x451)]();}};_0x45556c=_0x20a8e2([_0x4d4377(0x0,_0x22bd76[_0x464faf(0x3a0)]),_0x4d4377(0x1,_0x22bd76[_0x464faf(0x4ae)]),_0x4d4377(0x2,_0x22bd76[_0x464faf(0x2c3)]),_0x4d4377(0x3,_0x2cb6ec['ITransformService']),_0x4d4377(0x4,_0x22bd76[_0x464faf(0x544)])],_0x45556c);class _0x1639d1 extends _0x22bd76['RxDisposable']{constructor(){const _0x5b35b9=_0x464faf;super(),_0x41b507(this,_0x5b35b9(0x491)),this[_0x5b35b9(0x491)]=_0xb468a3[_0x5b35b9(0x36c)](window,_0x5b35b9(0x5a4))['pipe'](_0xb468a3['takeUntil'](this[_0x5b35b9(0x49d)]),_0xb468a3[_0x5b35b9(0x315)](0x1),_0xb468a3['mapTo'](void 0x0));}['setParam'](_0x8c8360,_0x20e335,_0xdff61d=!0x1){const _0x3a3724=_0x464faf,_0x55284b=new URL(window['location'][_0x3a3724(0x39e)]);_0x55284b[_0x3a3724(0x25f)][_0x3a3724(0x372)](_0x8c8360,_0x20e335),_0xdff61d?window[_0x3a3724(0x563)][_0x3a3724(0x237)]('','',_0x55284b[_0x3a3724(0x576)]()):window[_0x3a3724(0x563)][_0x3a3724(0x392)]('','',_0x55284b[_0x3a3724(0x576)]());}[_0x464faf(0x4ab)](_0x305d85,_0x150d2a=!0x1){const _0xb38401=_0x464faf,_0x2d8d52=new URL(window[_0xb38401(0x3e4)][_0xb38401(0x39e)]);_0x2d8d52[_0xb38401(0x25f)][_0xb38401(0x331)](_0x305d85),_0x150d2a?window['history'][_0xb38401(0x237)]('','',_0x2d8d52[_0xb38401(0x576)]()):window['history'][_0xb38401(0x392)]('','',_0x2d8d52[_0xb38401(0x576)]());}[_0x464faf(0x529)](_0x1f1223){const _0x559a78=_0x464faf;var _0x1f709d;return(_0x1f709d=new URL(window[_0x559a78(0x3e4)][_0x559a78(0x39e)])[_0x559a78(0x25f)][_0x559a78(0x321)](_0x1f1223))!=null?_0x1f709d:void 0x0;}}var _0x57cf33=Object[_0x464faf(0x229)],_0xee6d7b=Object[_0x464faf(0x36f)],_0x18ee33=(_0x1d0e7a,_0x3c8623,_0x4ea9dd)=>_0x3c8623 in _0x1d0e7a?_0x57cf33(_0x1d0e7a,_0x3c8623,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ea9dd}):_0x1d0e7a[_0x3c8623]=_0x4ea9dd,_0x1177be=(_0x100bcf,_0xa89d48,_0x187590,_0x869b2)=>{const _0x40f2cd=_0x464faf;for(var _0x3902c3=_0x869b2>0x1?void 0x0:_0x869b2?_0xee6d7b(_0xa89d48,_0x187590):_0xa89d48,_0x18b190=_0x100bcf[_0x40f2cd(0x266)]-0x1,_0x2b3c5f;_0x18b190>=0x0;_0x18b190--)(_0x2b3c5f=_0x100bcf[_0x18b190])&&(_0x3902c3=(_0x869b2?_0x2b3c5f(_0xa89d48,_0x187590,_0x3902c3):_0x2b3c5f(_0x3902c3))||_0x3902c3);return _0x869b2&&_0x3902c3&&_0x57cf33(_0xa89d48,_0x187590,_0x3902c3),_0x3902c3;},_0x3dd7b6=(_0x635fb5,_0x3e31ac)=>(_0x14b7f6,_0x273e5d)=>_0x3e31ac(_0x14b7f6,_0x273e5d,_0x635fb5),_0x3a52a4=(_0x1e85ac,_0x3b35c8,_0x323c22)=>_0x18ee33(_0x1e85ac,_0x3b35c8+'',_0x323c22);const _0x518d22=_0x464faf(0x40f);_0x19e906[_0x464faf(0x3f0)]=class extends _0x22bd76[_0x464faf(0x227)]{constructor(_0x42ec76={},_0xa1f249,_0x1645f3,_0x213cd6,_0x154bc4){const _0x485e6f=_0x464faf;super(),this[_0x485e6f(0x4d9)]=_0x42ec76,this[_0x485e6f(0x4c0)]=_0xa1f249,this[_0x485e6f(0x2c2)]=_0x1645f3,this[_0x485e6f(0x38a)]=_0x213cd6,this['_configService']=_0x154bc4;const {..._0x19f143}=this[_0x485e6f(0x4d9)];this[_0x485e6f(0x562)][_0x485e6f(0x1cc)](_0x3a3834,_0x19f143);}[_0x464faf(0x218)](){const _0x430a06=_0x464faf;this[_0x430a06(0x5a2)]();}['onRendered'](){const _0xb6953f=_0x464faf;this[_0xb6953f(0x1bc)]();}[_0x464faf(0x5a2)](){const _0x3d5429=_0x464faf;var _0x5024dc,_0x16247b,_0x397a67,_0x1e5f85;this[_0x3d5429(0x38a)]['has'](_0x22bd76[_0x3d5429(0x56b)])&&this[_0x3d5429(0x4c0)][_0x3d5429(0x458)](_0x3d5429(0x1dc),_0x3d5429(0x46f));let _0x47eda0=[[_0x22bd76[_0x3d5429(0x56b)],{'useClass':_0x45556c}],[_0x19e906[_0x3d5429(0x2ca)]],[_0x3ba727],[_0x9bd9f[_0x3d5429(0x41f)]],[_0xee2adc,{'useClass':_0x1639d1}],[_0x27752c],[_0x19e906['LocalCacheService']],[_0x9bd9f[_0x3d5429(0x1f2)]],[_0xa1505e],[_0x529ffa],[_0x1ffb94],[_0x43e255],[_0xdb1fc5],[_0x45b3e8],[_0x3e6c22],[_0x393e0b,{'useClass':(_0x16247b=(_0x5024dc=this['_config'])==null?void 0x0:_0x5024dc['socketService'])!=null?_0x16247b:_0x19e906[_0x3d5429(0x3e7)]}],[_0x9bd9f[_0x3d5429(0x479)],{'useClass':_0x9bd9f[_0x3d5429(0x5c1)]}],[_0x2cb6ec[_0x3d5429(0x582)],{'useClass':_0x19e906['SnapshotServerOverHTTPService']}],[_0x22bd76[_0x3d5429(0x3d1)],{'useClass':_0x19e906['AuthzIoHttpService']}],[_0x1fbc38[_0x3d5429(0x4c4)],{'useClass':_0x19e906[_0x3d5429(0x270)]}],[_0x19e906['CollaborationController']],[_0x19e906['DataLoaderController']],[_0x19e906[_0x3d5429(0x57b)]],[_0x5a4239],[_0x3c33bf]];(_0x397a67=this[_0x3d5429(0x4d9)])!=null&&_0x397a67[_0x3d5429(0x2bd)]&&_0x47eda0[_0x3d5429(0x4a6)]([_0x4b8af1,{'useClass':_0x5474b1}]),_0x47eda0=_0x22bd76[_0x3d5429(0x380)](_0x47eda0,(_0x1e5f85=this[_0x3d5429(0x4d9)])==null?void 0x0:_0x1e5f85[_0x3d5429(0x1fd)]),_0x47eda0[_0x3d5429(0x1fc)](_0x4324be=>this['_injector']['add'](_0x4324be)),this[_0x3d5429(0x512)]();}[_0x464faf(0x1bc)](){const _0x53a392=_0x464faf;this[_0x53a392(0x241)](this[_0x53a392(0x2c2)]['registerRenderModule'](_0x22bd76[_0x53a392(0x53c)][_0x53a392(0x3c1)],[_0x507f93])),this[_0x53a392(0x241)](this[_0x53a392(0x2c2)][_0x53a392(0x583)](_0x22bd76[_0x53a392(0x53c)][_0x53a392(0x593)],[_0x3a7621]));}[_0x464faf(0x512)](){const _0x3043d7=_0x464faf;var _0x442903,_0x253042;this['_injector'][_0x3043d7(0x321)](_0x9bd9f[_0x3043d7(0x41f)])[_0x3043d7(0x49c)]({'priority':0x14,'interceptor':_0x9bd9f['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x442903=this[_0x3043d7(0x4d9)])!=null&&_0x442903['enableOfflineEditing']||this[_0x3043d7(0x38a)][_0x3043d7(0x321)](_0x19e906['LocalCacheService'])[_0x3043d7(0x59d)](),(_0x253042=this[_0x3043d7(0x4d9)])!=null&&_0x253042[_0x3043d7(0x5a7)]&&this[_0x3043d7(0x38a)][_0x3043d7(0x321)](_0xdb1fc5),this[_0x3043d7(0x38a)]['get'](_0x19e906['CollaborationController']),this[_0x3043d7(0x38a)][_0x3043d7(0x2e2)](_0x19e906[_0x3043d7(0x57b)])&&this[_0x3043d7(0x38a)][_0x3043d7(0x321)](_0x19e906[_0x3043d7(0x57b)]);}},_0x3a52a4(_0x19e906['UniverCollaborationClientPlugin'],_0x464faf(0x2bf),_0x518d22),_0x19e906['UniverCollaborationClientPlugin']=_0x1177be([_0x22bd76['DependentOn'](_0x2cb6ec['UniverCollaborationPlugin']),_0x3dd7b6(0x1,_0x22bd76[_0x464faf(0x544)]),_0x3dd7b6(0x2,_0x3ab0d3[_0x464faf(0x55e)]),_0x3dd7b6(0x3,_0x22bd76['Inject'](_0x22bd76['Injector'])),_0x3dd7b6(0x4,_0x22bd76[_0x464faf(0x55b)])],_0x19e906['UniverCollaborationClientPlugin']),_0x19e906[_0x464faf(0x2cc)]=_0x2560cb,_0x19e906[_0x464faf(0x19d)]=_0x384be7,_0x19e906[_0x464faf(0x25c)]=_0x103754,_0x19e906['CollaborationStatus']=_0x29599c,_0x19e906[_0x464faf(0x276)]=_0x2e5a3d,_0x19e906[_0x464faf(0x525)]=_0x45b3e8,_0x19e906[_0x464faf(0x4f0)]=_0x2e9ff9,_0x19e906[_0x464faf(0x577)]=_0x2d9c81,_0x19e906[_0x464faf(0x55d)]=_0x393e0b,_0x19e906[_0x464faf(0x339)]=_0xee2adc,_0x19e906[_0x464faf(0x2fc)]=_0x1c42e9,_0x19e906[_0x464faf(0x3ed)]=_0x4e8aa6,_0x19e906[_0x464faf(0x5b5)]=_0x470888,_0x19e906[_0x464faf(0x3b2)]=_0x1a7bc5,_0x19e906[_0x464faf(0x528)]=_0xdd38af,_0x19e906[_0x464faf(0x53e)]=_0x30cccf,_0x19e906['SNAPSHOT_URL_KEY']=_0x407342,_0x19e906[_0x464faf(0x468)]=_0x4d9058,_0x19e906['SheetCollabCursorShape']=_0x2e24c1,_0x19e906[_0x464faf(0x44e)]=_0x1639d1,_0x19e906[_0x464faf(0x581)]=_0x148c3f,_0x19e906[_0x464faf(0x394)]=_0x32de58,Object[_0x464faf(0x229)](_0x19e906,Symbol['toStringTag'],{'value':_0x464faf(0x587)});}));