@univerjs-pro/collaboration-client 0.4.0-nightly.202410131605 → 0.4.0-nightly.202410141606

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 _0x3463(_0x12ed79,_0x4339f2){const _0x16cc7b=_0x16cc();return _0x3463=function(_0x3463e9,_0x57db22){_0x3463e9=_0x3463e9-0x13c;let _0xfb4f46=_0x16cc7b[_0x3463e9];return _0xfb4f46;},_0x3463(_0x12ed79,_0x4339f2);}function _0x16cc(){const _0x3eb3eb=['LocaleService','backgroundColor','mapTo','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','url','setUndoRedoMutationParamsCache','width','_collaborationPaused','_handleHeartbeatEvent','substring','transformMutationsWithChangeset','getSheetId','getCellPositionByOffset','UniverDrawing','now','_initUnitPermissionChange','YUUMI_RATE_OVER_LIMIT','@univerjs/sheets','fetchThroughInterceptors','UPDATE_PERMISSION_OBJ','putCollaborators','NEW_CHANGESETS','handleInsertRow','toggleOnline','moveTo','_undoRedoService','addObject','object','LICENSE_DISTRO_REJECTED','authzUrl','_memberService','_onRefRangeChange','/resources','restore','method','reconnect','_socketReady','_name','loginUrlKey','fillRule','transformUndoRedo','_ensureSubject','_clearHeartbeatTimer','_disableEditing','_backgroundColor','disposeUnit','getRoom','HTTPService','transformChangesets','_removeCollabCursors','transformMutation','_exhaustRemoteChangesetQueue','_lockTransition','saveSnapshot','_substituteRedoStack','[OfflineState]:\x20received\x20rejection.','Undefined','_joinRoom','allowed','JOINING','_init','_cachedData','WebSocketService','DisposableCollection','getAttachHeader','awaitingChangeset','onlineStatusTitle','sessionStatus','getTypeOfUnitDisposed$','_onConnectionOpen','message$','_schedule','handleIRemoveCol','univer-online-status','generateRandomId','_drawRectRange','_loadDoc','location','roomMembers$','onCommandExecuted','UniverEngineFormula','createSocket','asObservable','BASE64','_createInitialStateImpl','SEND_CHANGESET_TIMEOUT_KEY','triggerDblclick','getCollabCursors$','setCurrentUser','update','CollaborationSession','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_syncEditingCollabCursorService','YUUMI_URL_COL_OUT_OF_RANGE','_clearRedo','compose','_getSheetObject','getUnhiddenWorksheets','params','2980744jDRyzg','unitID','_handleEvent','CHANGESET_REVISION_CONFILICT','children','collaboration-session-retry','ILocalStorageService','_initEventListeners','x-univer-host','_onRecvEvent','3077315xHIbnx','_transformSelections','addObjects','row','_updateLocalCursor','setWaitCount','\x0aCurrent:\x20','COMPRESS_MUTATION_SEND','_onConflict','not_collab','stopTime','loadOfflineData','mapDocumentTypeToUniverType','_context','attrs','_initStatusComponent','saveChangeset','SNAPSHOT_SERVER_URL_KEY','univer-online','createIdentifier','values','objectID','_getSnapshotAPIPrefix','Error','exhaustSavingTask','/universer-api/file/{fileID}/sign-url','_scheduleClearOtherTimer','displayName','_shapes','_anchor','_startDocCollabCursor','createElement','@univerjs/core','HttpExport','ISnapshotServerService','_onRemoteRejected','onStarting','COLLAB_WEB_SOCKET_URL_KEY','bottom','_telemetryInfo','_univerInstanceService','transformRemoteChangeset','DeleteRangeMoveUpCommandId','_collaborationController','collab-text-anchor-','type','ranges','_imageSourceCache','NodePositionConvertToRectRange','permissionRejEvent','_collaborationTimeoutTimer','[CollaborationEntity]','EmptyMutation','80384lJULjW','_removeClearOtherTimer','setShapeProps','getMemberID','getCollabEntity','/block/','ICommandService','CommandType','_disabled','ColorKit','COLLAB_SUBMIT_CHANGESET_URL','baseRev','updateCollaborator','_docSyncEditingCollabCursorService','unit','147pvHdzR','MoveRangeCommandId','_getSendChangesetTimeout','assignAColorForMemberID','_showConflictNotification','COLLAB_SUBMIT_CHANGESET_URL_KEY','removeMember','isEditing','onRemoteAck','defIds','uni.network.url-service','getUnitStatus$','font','clear','INGEST','round','getOwnPropertySymbols','SEND_CHANGESET_TIMEOUT','listRoles','_initResize','rxjs/operators','CHANGESET_REJ','_createHandler','/-/object/-/batch_allowed','_type','SHOULD_CLOSE_CONN','className','endColumn','IContextService','_toggleOffline','collaboration-client.offline-data-not-saved','/object/','handleInsertCol','_commentService','fetchMiss','_timeoutTimer','collab-client.tooltip.reconnect','switchMap','hovered','signUrlServerUrl','cursorInfo','saveImage','_labelPosition','currentColor','DocCollaborationEntity','InsertColCommandId','_onConnectionFailed','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SnapshotService','_getMergeRange','_uiPartsService','_clearOtherTimers','CHANGESET_ACK','startRow','FETCH_MISS','clearInterval','COMPLETION_FINISHED','filter','ImageSourceType','subunit','_refreshCollabCursors','_lastPointer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','capture','COLORS','@univerjs/engine-formula','getTypeOfUnitAdded$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','connection\x20error','_socketService','LICENSE_EXPORT_SIZE_EXCEEDED','_scheduleSaving','purple300','range','focused$','c1Prime','_updateLocalCache','IConfigService','SheetCollaborationEntity','SNAPSHOT_HAS_BEEN_REMOVED','XHRHTTPImplementation','_pendingMutations','IDLE','encode','_shouldReportTelemetry','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/comb','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_eventUnsubscribe','registerOnClose','fromEventSubject','_handler','_cursors','_transformUndoredo','UniverUi','setTimeout','handleIRemoveRow','@univerjs/network','UNKNOWN_CODE','_registerDependencies','_onFetchMissResult','/universer-api/snapshot/','onMissedChangesetFetched','_getAnchorBounding','requestParams','localeService','awaiting_with_pending','post','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','idSuffix','@univerjs/engine-render','interceptor','registerRefRange','touchDependencies','resolve','/universer-api/snapshot','snapshotServerUrl','resend','UPDATE_CURSOR','m2Prime','_getUndoStack','UNKNOWN_CMD','red300','saveSheetBlock','_http','9641995QVUzVc','_collabSessionService','defs','objectActions','workbook','_session','collabStatus.conflict','ITransformService','UNIVER_SHEET','svg','BehaviorSubject','NOT_FOUND','WorkbookEditablePermission','_heartbeatTimer','CollaborationSessionService','get','merge','useDependency','storage','@univerjs/telemetry','getCollabEntity$','isPermissionRej','onlyLocal','send','getRelativeToViewportCoord','random','throttleTime','_listenToOnlineEvent','_status$','_permissionService','fromCollab','UNRECOGNIZED','listCollaborators','_handleJoinEvent','ImageUploadStatusType','getParam','onPointerMove$','?url=','_themeService','_textBubble','_initCommandExecutedListener','getUnit','CollaborationController','body','HELLO','_updateStatus','isActive','FileId','_initStatusListener','prototype','pushState','#FFF','resize','csRejEvent','/unit/','online','Warning','_getScale','fillText','unsubscribe','[CollaborationUndoRedoService]','appendMutation','colorChannel1','isTransformMutationsWithChangesetFailure','_listenToOfflineEvent','IBeforeCloseService','_transformIMECache','LICENSE_MAX_UNITS_EXCEEDED','28iCRiiH','getSkeleton','@univerjs/docs-ui','InsertRangeMoveDownCommandId','number','getVpScrollXYInfoByPosToVp','_rescheduleHeartbeat','_notificationService','beginPath','/universer-api/stream/file/upload','@univerjs-pro/license','_tryEnsureSocket','_fetchMissChangesets','getFocusedUnit','APPLY_REVISION_CONFILICT','UNIVER_UNKNOWN','userID','AuthzIoHttpService','_applyRemoteChangeset','SetSelectionsOperation','_transformStack','INVALID_ARGUMENT','icon','[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.','code','_getUploadFileURL','fetching\x20missing\x20changesets\x20from\x20','onSyncEditingCollabCursor','DataLoaderController','put','RevisionService','_injector','state$','getCurrentRevOfUnit','with','collaboration.single-unit.warning','_getSaveTimeout','split','Error\x20on\x20receiving\x20event','state','LIVESHARE_OPERATION','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_getCurrentRevision','SNAPSHOT_URL_KEY','visibilitychange','length','RegularPolygon','_saveCache','_draw','forEach','_HTTPService','onload','session.connection-failed','_userManagerService','collaMsg','EffectRefRangId','\x0aAfter:\x20','show','commentUpdate$','_initRequestHeader','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_scheduleHeartbeat','_anchorDot','474813XvGOFZ','session.will-retry','ONLINE','skeleton','[CollaborationSession]','_hideTimer','ERROR_IMAGE','endRow','@univerjs/sheets-ui','NO_OTHER_CLIENTS_EDITING','CollaborationEvent','key','react','_registerRenderDependencies','updateOfflineData','top','createInstance','contains','create','_unlockTransition','debounce','pluginName','_getCtorByUniverType','LIVESHARE_REQUEST_HOST','complete','_singleActiveUnitService','_socket$','setItem','deepClone','textRanges','image/jpeg','image/jpg','url(#on-line-single_clip0_910_349)','_initMergeInterceptor','COMMENT_UPDATE','extend','take','div','handleMoveRange','combineLatest','session','DeleteRangeMoveLeftCommandId','USERS_LEAVE','ThemeService','[CollaborationSessionService]:\x20socket\x20error','INTERNAL_ERROR','_colorIndex','_onCursorDelete','_hovered','unload','TOO_MANY_REQUESTS','useObservable','actions','[OfflineState]:\x20received\x20acknowledgement.','verdancy600','_colorAssignService','_configService','_getLoginPath','getCurrent','awaiting','apply','history','_sessions','toggleOffline','{fileID}','getCurrentSelections','/universer-api/authz','_waitCount','registerHTTPInterceptor','getAncestorScale','fromEvent','_sessionStatus$','result','_checkMissing','concat','transformSelections','_removeRoom','_transitionLocked','FETCH_MISSING','list','eventID','[DataLoaderController]','IPermissionService','_retryCount','LIVESHARE_NEW_HOST','failed\x20to\x20apply\x20missed\x20changesets!','headers','HTTPRequest','IUIPartsService','HEARTBEAT_INTERVAL','getOwnPropertyDescriptor','evenodd','UniverDesign','size','uploadFileServerUrl','univer-pro.collaboration-client-socket-service','onPointerLeave$','objectType','Injector','roomMembers','JSONX','onStateChange','_transformService','_onUserLeave','_socket','save','[SyncedState]:\x20received\x20rejection.','_onJoinRoomEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IImageIoService','liveShareNewHost','MSG_FOR_ERROR','_candidateSocket','TRANSFORM_CHANGE_OBSERVABLE_TYPE','members','enableAuthServer','TEXT_RANGE_LAYER_INDEX','defineProperty','Tools','getActiveRange','every','cmd','labelPosition','map','socket$','AWAITING','_event$','_localCacheService','_remoteChangesetQueue','change$','UniverCore','close','_localeService','memberID','_tryReconnect','_updateState','init','toString','UserManagerService','HttpImport','saveOfflineData','collaboration_new_changeset','max','some','LEAVE','onTransformSelections','_retryConnectingTimer','_urlService','DocIMEInputManagerService','current','VIEW_MAIN','_decreaseWaiting','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','sessionStatus$','UNAUTHENTICATED','toDisposable','toStringTag','USERS_ENTER','onReady','Workbook','BuiltInUIPart','offline','clearTimeout','_snapshotServerService','drawWith','takeUntil','m1Prime','selections','ACTIVE_UNIT_EVENT_CHANNEL','SheetCollabCursorShape','routeKey','isArray','_online','transformStack\x20failed!','_clearCollaborationTimeoutTimer','isTransformMutationFailure','CONNECTOR_DATA_TOO_LARGE','UNDEFINED','_collabCursorState$','isTransformChangesetsSuccess','_commentUpdate$','error$','Tooltip','replaceState','engine','collabStatus.fetchMiss','getUndoRedoMutationParamsCache','_docTransformIMECacheService','roles','retryConnectingInterval','_setupSubUnitSync','cursorInfo$','data','add','OTHER_CLIENTS_EDITING','collabStatus.synced','dispose','reverse','SheetSkeletonManagerService','onRemoteRej','getUnitOnRev','3822kjFlxl','CompressMutationService','_range','getUnitId','disableLocalCache','_transformPreviousActiveRange','unitId\x20is\x20not\x20found','withCredentials','getCoordByCell','_socketMessageSubscription','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','assign','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','visibilityState','_sendingTimer','fillStyle','jiqing500','_createSocket','toRgbString','_state','HEARTBEAT_INTERVAL_KEY','RxDisposable','whenReady','UniverNetwork','makeDirty','slice','1em','SetWorksheetActivateCommand','concatMap','sheetID','roomInfos','requireSession','PSEUDO_FETCH_MISSING_RESULT','getOffsetConfig','subscribe','_saveTaskMap','ILogService','FromArray','SheetPermissionInitController','LIVESHARE_FETCH_OPERATIONS','syncEditingCollabCursor','SYNCED','collab-rect-range-','height','status','@univerjs/drawing','_initModules','onRendered','updateMember','SnapshotServerOverHTTPService','error','HEARTBEAT_TIMEOUT','RECV','doc.mutation.rich-text-editing','fill','_revisionService','UnitSnapshot','NOT_COLLAB','deserializeToCombResponse','useRef','APPLY_NON_SEQUENTIAL_REVISION','catch','isInternalEditorID','changesets','liveShareOperation','_commandService','Vector2','originalMeta','onlineStatus','COMPRESS_MUTATION_APPLY','setConfig','PERMISSION_DENIED','_telemetryService','conflict','title','129696mtiAeC','delay','includes','findNodePositionByCharIndex','_state$','DependentOn','collaboration.closeRoom','UniverDocs','color','[OfflineState]:\x20received\x20changeset.','setParam','startsWith','createCollaborator','@univerjs-pro/collaboration','shouldCloseConn','_awaitingChangeset','getMergeData','urlChange$','_assignedColors','call','removeParam','_onUserJoin','_renderManagerService','_collabCursorController','LOCAL_CACHE_INTERVAL_KEY','SUBMIT_CHANGESET','univer-pro.collaboration-client.single-active-unit-service','selection','textEncoder','ws://127.0.0.1:8000/universer-api/comb/connect','conflict.title','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_UNABLE_LOAD_URL','_getAPIPrefixPath','_httpService','event$','/object','UniverInstanceType','YUUMI_SUBSCRIPTION_NOT_FOUND','operators','fetch_missing','sheets','b64DecodeUnicode','UniverCollaboration','_roomMembers','MessageType','_onCombEvent','UniverSheets','getWorkbookSelections','_transformUndoRedoStack','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_updateURLWithCurrentState','initWorkbookPermissionChange','CommentService','getTime','deleteCollaborator','reduce','getActiveSheet','_cursor','blue400','shareReplay','ITelemetryService','_getDownloadEndpointURL','_sendHeartbeatTimer','getValue','socketService','ImageIoService','batchAllowed','\x20-\x20','/role','RichTextEditingMutation','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','_replayCachedMutations','_updateCollabCursors','M0\x200H16V16H0z','getColor','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','@univerjs/ui','getUnitType','duration','10GzphqC','_submitChangeset','pending','_config','_docTransformSelectionsService','_getSignURL','hasOwnProperty','_clearTimeoutTimer','url(#$1','delete','_ws','status$','getImageSourceCache','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','IRenderManagerService','confirm','_cursorShapes','NodePositionConvertToCursor','connectInjector','LocalCacheService','Shape','SheetsSelectionsService','startColumn','getSheetObject','PENDING','IURLService','rxjs','editing\x20status\x20changed\x20to','clipPath','onTransformChange$','on-line-single_clip0_910_349','getDocRanges','IMessageService','\x20to\x20','pipe','MUTATION','handleInsertRangeMoveDown','getRenderById','_setupBeforeClosingHandler','use','_handleLeaveEvent','ERROR_EXCEED_SIZE','subscribeEvent','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','executeCommand','_syncEditingCollabCursor','session.collaboration-timeout','href','deserializeRangeWithSheet','#fff','Rect','unshift','revision','_docSkeleton','isValidRectRange','_clearScheduledTask','UNIVER_PROJECT','_handleHover','Inject','parse','&to=','_send','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','then','closeSession','APPLY_REJECT','telemetry\x20info\x20is\x20not\x20initialized','registerComponent','/fetchmissing?from=','IUniverInstanceService','Rectangle','UNIVER_SLIDE','session.room-full','/universer-api/oidc/authpage','FAIL','from','_roomMembers$','indexOf','commentUpdateEvent','stringify','VIEWPORT_KEY','InsertSheetMutation','AWAITING_WITH_PENDING','handleInsertRangeMoveRight','univer-offline','setInterval','collabCursorState$','_unitOnClients','transform','onSendChangeset','Subject','isTransformMutationsWithChangesetSuccess','collaboratorID','getViewport','image/bmp','registerBeforeClose','_entityInit$','text','synced','function','/collaborator','mergeOverrideWithDependencies','downloadEndpointUrl','unknown','getSheetBySheetId','Optional','getInterceptPoints','parseProtocolChangeset','JOIN','off-line-single_clip0_910_343','getSheetBlock','auth.needGotoLoginAlert','_beforeCloseService','_cursorInfo$','HEARTBEAT','&assign=','_transformRemoteChangesetByIMECache','IHTTPImplementation','_onCursorUpdate','_getRedoStack','startTime','UnitEmbedded','activeSheet$','incrementRevOfUnit','currentTheme$','set','_sheetSkeletonManagerService','tag','_queuedRemoteChangesets','none','_acknowledgedAwaitingChangeset','ThresholdInterceptorFactory','name','unit-cache-','path','DocSelectionManagerService','_id','CollaborationSocketService','ALREADY_EXISTS','entries','_onLocalMutation','/rev/','updatePermissionPoint','_toggleOnline','next','_throwTelemetryCollaborationNewChangeset','_isPermissionRej','ERROR_IMAGE_TYPE','OffLineSingle','permission.content','getImage','image/gif','_initCloseConn','_startTelemetryCollaborationNewChangeset','[CollaborationSessionService]','_compressMutationService','APPLY_PERMISSION_DENIED','loadDoc','debounceTime','translate(.97)','closePath','_unitID','UNIVER_COLLABORATION_CLIENT_PLUGIN','_logService','infoRsp','setAlpha','DEFAULT_FILE_NAME','enableLocalCache','CollaborationStatusDisplay','SUCCUSS','collaboration-client.config','SNAPSHOT_INVALID_SNAPSHOT','sequenceExecute','forwardRef','reject','UniverTelemetry','_stopTelemetryCollaborationNewChangeset','SetDocZoomRatioOperation','disposeWithMe','_onMessage','onRemoteChangeset','_messageService','onlineStatusIcon','[PendingState]:\x20received\x20rejection.','_hover','INotificationService','RETRY_CONNECTING_MAX_COUNT','_scheduleCollaborationTimeoutTimer','_scheduleTimestamp','univer-online-status-title','_sheetTransformSelectionsService','transformByState','onPointerEnter$','_getAPIPrefix','UniverCollaborationClientPlugin','trim','push','_createInitialState','append','_drawAnchor','replace','src','LOGIN_URL_KEY','newValue','...','url(#off-line-single_clip0_910_343)','xlink:href','MergeInterceptorFactory','_snapshotService','onCommentUpdate','univerjs-icon\x20univerjs-icon-','3mQQAug','Univer','IUndoRedoService','getRangePointData','_selfUnitIDs','SetTextSelectionsOperation','DesktopCollaborationStatusDisplayController','_executeRemoteChangeset','_color','_waitForHeartbeatResponse','_onOffline','_members','getMember','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','OFFLINE','UNIVER_DOC','_startCollaboration','_entities','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getConfig','string','rev','6pGrTgg','SessionStatus','_collaborationSessionService','dispose$','_scene','handleDeleteRangeMoveLeft','find','open$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','RemoveRowCommandId','mutations','[SyncedState]:\x20received\x20acknowledgement.','updateCursorEvent','_updateSubUnitFromURLParams','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','unitId','lineTo','@univerjs/design','\x20in\x20_schedule.','searchParams','_drawTextRange','UniverIcon','Plugin','_substituteUndoStack','readAsDataURL','onMissingChangesets','debug','@univerjs/rpc','column','popstate','CollaborationEntity','getCurrentUser','_incrementRevisionNumber','_replaceFileID','c2Prime','has','editingUnit','LIVESHARE_TERMINATE','measureText','min','parseChangesetToProtocol','override','_redoStacks','black','_sendHeartbeat','0\x200\x2016\x2016','Disposable','_onRemoteACK','POST','onTransformIME','_unitStatus','currentSkeleton$','DocSkeletonManagerService','UniverSheetsUi','setActiveRange','getItem','AUTHZ_URL_KEY','loadSheet','transformIMECache','getCurrentUnitForType','close$','target','onMouseMove','DocStateChangeManagerService','_localStorageService','_docSkeletonManagerService','patch','addEventListener','2050RhxoSD','PERMISSION_REJ','registerRenderModule','save\x20fail\x20reason\x20is\x20','action','HEARTBEAT_TIMEOUT_KEY','ICollaborationSocketService','enableSingleActiveInstanceLock'];_0x16cc=function(){return _0x3eb3eb;};return _0x16cc();}(function(_0x3b504b,_0x3586fb){const _0x367c3b=_0x3463,_0xb4b1c7=_0x3b504b();while(!![]){try{const _0x5d3769=-parseInt(_0x367c3b(0x477))/0x1*(-parseInt(_0x367c3b(0x3be))/0x2)+-parseInt(_0x367c3b(0x364))/0x3*(parseInt(_0x367c3b(0x429))/0x4)+parseInt(_0x367c3b(0x433))/0x5*(-parseInt(_0x367c3b(0x37a))/0x6)+-parseInt(_0x367c3b(0x538))/0x7*(parseInt(_0x367c3b(0x468))/0x8)+-parseInt(_0x367c3b(0x577))/0x9*(parseInt(_0x367c3b(0x291))/0xa)+-parseInt(_0x367c3b(0x4f4))/0xb+-parseInt(_0x367c3b(0x241))/0xc*(-parseInt(_0x367c3b(0x1f6))/0xd);if(_0x5d3769===_0x3586fb)break;else _0xb4b1c7['push'](_0xb4b1c7['shift']());}catch(_0x231890){_0xb4b1c7['push'](_0xb4b1c7['shift']());}}}(_0x16cc,0xf3ac4),function(_0xa76bb4,_0x72181b){const _0x7c7dec=_0x3463;typeof exports==_0x7c7dec(0x3e1)&&typeof module<'u'?_0x72181b(exports,require(_0x7c7dec(0x453)),require(_0x7c7dec(0x2ab)),require(_0x7c7dec(0x48b)),require(_0x7c7dec(0x38b)),require(_0x7c7dec(0x28e)),require(_0x7c7dec(0x4d8)),require(_0x7c7dec(0x24e)),require(_0x7c7dec(0x507)),require('@univerjs/docs'),require('@univerjs/docs-ui'),require(_0x7c7dec(0x3d7)),require(_0x7c7dec(0x4e5)),require(_0x7c7dec(0x223)),require(_0x7c7dec(0x4b8)),require('@univerjs/sheets-ui'),require('react'),require(_0x7c7dec(0x395)),require(_0x7c7dec(0x542))):typeof define=='function'&&define['amd']?define(['exports',_0x7c7dec(0x453),'rxjs',_0x7c7dec(0x48b),_0x7c7dec(0x38b),'@univerjs/ui',_0x7c7dec(0x4d8),'@univerjs-pro/collaboration','@univerjs/telemetry','@univerjs/docs',_0x7c7dec(0x53a),'@univerjs/sheets',_0x7c7dec(0x4e5),_0x7c7dec(0x223),_0x7c7dec(0x4b8),_0x7c7dec(0x57f),_0x7c7dec(0x583),_0x7c7dec(0x395),_0x7c7dec(0x542)],_0x72181b):(_0xa76bb4=typeof globalThis<'u'?globalThis:_0xa76bb4||self,_0x72181b(_0xa76bb4['UniverCollaborationClient']={},_0xa76bb4[_0x7c7dec(0x1af)],_0xa76bb4[_0x7c7dec(0x2ab)],_0xa76bb4[_0x7c7dec(0x2ab)][_0x7c7dec(0x268)],_0xa76bb4[_0x7c7dec(0x189)],_0xa76bb4[_0x7c7dec(0x4d5)],_0xa76bb4[_0x7c7dec(0x20d)],_0xa76bb4[_0x7c7dec(0x26c)],_0xa76bb4[_0x7c7dec(0x340)],_0xa76bb4[_0x7c7dec(0x248)],_0xa76bb4['UniverDocsUi'],_0xa76bb4[_0x7c7dec(0x270)],_0xa76bb4['UniverEngineRender'],_0xa76bb4[_0x7c7dec(0x3d3)],_0xa76bb4[_0x7c7dec(0x416)],_0xa76bb4[_0x7c7dec(0x3af)],_0xa76bb4['React'],_0xa76bb4['UniverRpc'],_0xa76bb4['UniverLicense']));}(this,function(_0x121304,_0x278695,_0x34a6cc,_0x3753b5,_0x381d1f,_0x42b7fc,_0x166997,_0x5d08,_0x3c7262,_0x3435c3,_0x107653,_0x30bfa9,_0x363b07,_0x2d0385,_0x44d111,_0xd83a71,_0x2625ca,_0x363acd,_0x44e17b){'use strict';const _0x406fa3=_0x3463;var _0x324a4d=Object['defineProperty'],_0x4275aa=(_0x20e91e,_0x37124f,_0x2d9afd)=>_0x37124f in _0x20e91e?_0x324a4d(_0x20e91e,_0x37124f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d9afd}):_0x20e91e[_0x37124f]=_0x2d9afd,_0x175777=(_0x30d024,_0x17070e,_0x2c8c09)=>_0x4275aa(_0x30d024,typeof _0x17070e!='symbol'?_0x17070e+'':_0x17070e,_0x2c8c09);const _0x4ab17e='SNAPSHOT_SERVER_URL_KEY',_0x22141f=_0x406fa3(0x4ea),_0x653581='SNAPSHOT_URL_KEY',_0x10395e=_0x406fa3(0x488),_0xc7bdf9='COLLAB_WEB_SOCKET_URL',_0x30d5cc=_0x406fa3(0x25e),_0x268833=_0x406fa3(0x186),_0x52d634=_0x406fa3(0x229),_0x249b8f=_0x406fa3(0x34b),_0x5d6c68='LOCAL_CACHE_INTERVAL',_0x41e0fd=_0x406fa3(0x472),_0x4dbff3=_0x406fa3(0x4cd),_0x103765=_0x406fa3(0x35b),_0x59d6a=_0x406fa3(0x2da);var _0x5cfd1e=(_0x55d0b1=>(_0x55d0b1[_0x55d0b1['UNDEFINED']=0x0]=_0x406fa3(0x1de),_0x55d0b1[_0x55d0b1['OK']=0x1]='OK',_0x55d0b1[_0x55d0b1[_0x406fa3(0x15a)]=0x2]=_0x406fa3(0x15a),_0x55d0b1[_0x55d0b1[_0x406fa3(0x23d)]=0x3]=_0x406fa3(0x23d),_0x55d0b1[_0x55d0b1['NOT_FOUND']=0x4]=_0x406fa3(0x4ff),_0x55d0b1[_0x55d0b1[_0x406fa3(0x1c7)]=0x5]=_0x406fa3(0x1c7),_0x55d0b1[_0x55d0b1['ALREADY_EXISTS']=0x6]=_0x406fa3(0x31b),_0x55d0b1[_0x55d0b1['INVALID_ARGUMENT']=0x7]=_0x406fa3(0x54d),_0x55d0b1[_0x55d0b1[_0x406fa3(0x15f)]=0x8]=_0x406fa3(0x15f),_0x55d0b1[_0x55d0b1[_0x406fa3(0x4af)]=0x9]=_0x406fa3(0x4af),_0x55d0b1[_0x55d0b1[_0x406fa3(0x42c)]=0x1389]=_0x406fa3(0x42c),_0x55d0b1[_0x55d0b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x406fa3(0x33c),_0x55d0b1[_0x55d0b1[_0x406fa3(0x4c6)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x55d0b1[_0x55d0b1['APPLY_REJECT']=0x1b59]=_0x406fa3(0x2d2),_0x55d0b1[_0x55d0b1[_0x406fa3(0x232)]=0x1b5a]=_0x406fa3(0x232),_0x55d0b1[_0x55d0b1[_0x406fa3(0x546)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x55d0b1[_0x55d0b1[_0x406fa3(0x32d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x55d0b1[_0x55d0b1[_0x406fa3(0x1dd)]=0x1f41]=_0x406fa3(0x1dd),_0x55d0b1[_0x55d0b1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x406fa3(0x537),_0x55d0b1[_0x55d0b1[_0x406fa3(0x200)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x55d0b1[_0x55d0b1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x55d0b1[_0x55d0b1[_0x406fa3(0x4bd)]=0x232c]=_0x406fa3(0x4bd),_0x55d0b1[_0x55d0b1[_0x406fa3(0x3e2)]=0x232d]=_0x406fa3(0x3e2),_0x55d0b1[_0x55d0b1[_0x406fa3(0x261)]=0x2711]=_0x406fa3(0x261),_0x55d0b1[_0x55d0b1[_0x406fa3(0x423)]=0x2712]=_0x406fa3(0x423),_0x55d0b1[_0x55d0b1[_0x406fa3(0x3d6)]=0x2713]=_0x406fa3(0x3d6),_0x55d0b1[_0x55d0b1[_0x406fa3(0x267)]=0x2714]=_0x406fa3(0x267),_0x55d0b1[_0x55d0b1[_0x406fa3(0x513)]=-0x1]='UNRECOGNIZED',_0x55d0b1))(_0x5cfd1e||{}),_0x5b1b3b=(_0x3d76df=>(_0x3d76df[_0x3d76df[_0x406fa3(0x547)]=0x0]='UNIVER_UNKNOWN',_0x3d76df[_0x3d76df[_0x406fa3(0x373)]=0x1]=_0x406fa3(0x373),_0x3d76df[_0x3d76df[_0x406fa3(0x4fc)]=0x2]=_0x406fa3(0x4fc),_0x3d76df[_0x3d76df[_0x406fa3(0x2d8)]=0x3]=_0x406fa3(0x2d8),_0x3d76df[_0x3d76df[_0x406fa3(0x2c9)]=0x4]=_0x406fa3(0x2c9),_0x3d76df[_0x3d76df[_0x406fa3(0x513)]=-0x1]=_0x406fa3(0x513),_0x3d76df))(_0x5b1b3b||{}),_0x4ca514=(_0x49dd80=>(_0x49dd80[_0x49dd80[_0x406fa3(0x4f0)]=0x0]=_0x406fa3(0x4f0),_0x49dd80[_0x49dd80[_0x406fa3(0x520)]=0x1]=_0x406fa3(0x520),_0x49dd80[_0x49dd80[_0x406fa3(0x2fd)]=0x2]=_0x406fa3(0x2fd),_0x49dd80[_0x49dd80[_0x406fa3(0x1bd)]=0x3]=_0x406fa3(0x1bd),_0x49dd80[_0x49dd80[_0x406fa3(0x485)]=0x4]=_0x406fa3(0x485),_0x49dd80[_0x49dd80['HEARTBEAT']=0x5]=_0x406fa3(0x303),_0x49dd80[_0x49dd80[_0x406fa3(0x22a)]=0x6]=_0x406fa3(0x22a),_0x49dd80[_0x49dd80[_0x406fa3(0x513)]=-0x1]='UNRECOGNIZED',_0x49dd80))(_0x4ca514||{}),_0x5ba4cf=(_0x5bfb46=>(_0x5bfb46[_0x5bfb46[_0x406fa3(0x4d9)]=0x0]=_0x406fa3(0x4d9),_0x5bfb46[_0x5bfb46['OK']=0x1]='OK',_0x5bfb46[_0x5bfb46[_0x406fa3(0x2db)]=0x2]=_0x406fa3(0x2db),_0x5bfb46[_0x5bfb46[_0x406fa3(0x513)]=-0x1]='UNRECOGNIZED',_0x5bfb46))(_0x5ba4cf||{}),_0x373aca=(_0x116df7=>(_0x116df7[_0x116df7['Undefined']=0x0]=_0x406fa3(0x3fe),_0x116df7[_0x116df7[_0x406fa3(0x1b8)]=0x1]='HttpImport',_0x116df7[_0x116df7[_0x406fa3(0x454)]=0x2]=_0x406fa3(0x454),_0x116df7[_0x116df7[_0x406fa3(0x30a)]=0x3]=_0x406fa3(0x30a),_0x116df7[_0x116df7[_0x406fa3(0x22e)]=0x4]=_0x406fa3(0x22e),_0x116df7[_0x116df7[_0x406fa3(0x513)]=-0x1]=_0x406fa3(0x513),_0x116df7))(_0x373aca||{});const _0x41c87a=_0x406fa3(0x33b),_0xe8dc9c={};function _0x47c5f1(_0x3663b2){const _0x2e31f9=_0x406fa3;var _0x4c1afc,_0x3e6995,_0x2f6a7b,_0x3d97a6;const _0x2d29c3=_0x3663b2[_0x2e31f9(0x1ed)],_0x2b11cd=JSON[_0x2e31f9(0x2cc)](_0x2d29c3);switch(_0x2b11cd[_0x2e31f9(0x1a6)]){case _0x4ca514[_0x2e31f9(0x303)]:case _0x4ca514['HELLO']:{const _0x1aa14d=_0x2b11cd[_0x2e31f9(0x335)];return{..._0x2b11cd,'data':_0x1aa14d,'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};}case _0x4ca514[_0x2e31f9(0x2fd)]:{const _0x328c29=_0x2b11cd['joinRsp'];return{..._0x2b11cd,'data':_0x328c29,'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};}case _0x4ca514[_0x2e31f9(0x22a)]:{const _0x33c3b4=_0x2b11cd[_0x2e31f9(0x56e)];switch(_0x33c3b4['eventID']){case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x3bf)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':(_0x4c1afc=_0x33c3b4[_0x2e31f9(0x464)])==null?void 0x0:_0x4c1afc['cs']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x4ab)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':(_0x3e6995=_0x33c3b4['csAckEvent'])==null?void 0x0:_0x3e6995['cs']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x3db)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':(_0x2f6a7b=_0x33c3b4['newCsEvent'])==null?void 0x0:_0x2f6a7b['cs']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)]['CHANGESET_REJ']:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':(_0x3d97a6=_0x33c3b4[_0x2e31f9(0x529)])==null?void 0x0:_0x3d97a6['cs']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08['CollaborationEvent'][_0x2e31f9(0x4ed)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x386)]},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x1ca)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4['joinEvent']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x157)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4['leaveEvent']},'cmd':_0x2b11cd['cmd']};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x181)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x19b)]},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x21d)]:case _0x5d08[_0x2e31f9(0x581)]['LIVESHARE_OPERATION']:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x236)]},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x39f)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x19b)]},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x19c)]:return{..._0x2b11cd,'data':_0x33c3b4,'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x14f)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x2df)]},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08['CollaborationEvent'][_0x2e31f9(0x3d9)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4['updatePermissionObjEvent']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x490)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x24f)]},'cmd':_0x2b11cd['cmd']};default:return _0x2b11cd;}}default:return _0x2b11cd;}}function _0xd73f22(_0xdeffc3){const _0x26ef1d=_0x406fa3;switch(_0xdeffc3[_0x26ef1d(0x1a6)]){case _0x4ca514[_0x26ef1d(0x303)]:case _0x4ca514[_0x26ef1d(0x520)]:return JSON[_0x26ef1d(0x2e0)]({'cmd':_0xdeffc3['cmd'],'routeKey':_0xdeffc3['routeKey']});case _0x4ca514[_0x26ef1d(0x485)]:{let _0x354200;switch(_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x17d)]){case _0x5d08['CollaborationEvent'][_0x26ef1d(0x4ed)]:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x4ed)],'updateCursorEvent':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x1ed)]};break;}case _0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x157)]:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)]['USERS_LEAVE'],'leaveEvent':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x1ed)]};break;}case _0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x1ca)]:{_0x354200={'eventID':_0x5d08['CollaborationEvent'][_0x26ef1d(0x1ca)],'joinEvent':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x1ed)]};break;}case _0x5d08['CollaborationEvent'][_0x26ef1d(0x181)]:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x181)],'liveShareNewHost':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x1ed)]};break;}case _0x5d08['CollaborationEvent'][_0x26ef1d(0x560)]:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)]['LIVESHARE_OPERATION'],'liveShareOperation':_0xdeffc3[_0x26ef1d(0x1ed)]['data']};break;}case _0x5d08[_0x26ef1d(0x581)]['LIVESHARE_TERMINATE']:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x39f)],'liveShareTerminate':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x1ed)]};break;}case _0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x144)]:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xdeffc3[_0x26ef1d(0x1ed)]['data']};break;}case _0x5d08[_0x26ef1d(0x581)]['LIVESHARE_FETCH_OPERATIONS']:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x21d)]};break;}default:_0x354200={'eventID':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x17d)]};}return JSON[_0x26ef1d(0x2e0)]({'cmd':_0xdeffc3[_0x26ef1d(0x1a6)],'routeKey':_0xdeffc3[_0x26ef1d(0x1d7)],'collaMsg':_0x354200});}case _0x4ca514['JOIN']:return JSON['stringify']({'cmd':_0xdeffc3[_0x26ef1d(0x1a6)],'routeKey':_0xdeffc3[_0x26ef1d(0x1d7)],'joinReq':_0xdeffc3['data']});case _0x4ca514[_0x26ef1d(0x1bd)]:return JSON[_0x26ef1d(0x2e0)]({'cmd':_0xdeffc3[_0x26ef1d(0x1a6)],'routeKey':_0xdeffc3[_0x26ef1d(0x1d7)],'leaveReq':_0xdeffc3[_0x26ef1d(0x1ed)]});default:throw new Error(_0x26ef1d(0x2cf));}}var _0x3b5591=Object['defineProperty'],_0x5ee28b=Object['getOwnPropertyDescriptor'],_0xaabf8f=(_0x4b68ca,_0x4e2eec,_0x4d34ca,_0x191e0a)=>{const _0x30e393=_0x406fa3;for(var _0x42f37e=_0x191e0a>0x1?void 0x0:_0x191e0a?_0x5ee28b(_0x4e2eec,_0x4d34ca):_0x4e2eec,_0x5c3c9e=_0x4b68ca[_0x30e393(0x565)]-0x1,_0x27fb7e;_0x5c3c9e>=0x0;_0x5c3c9e--)(_0x27fb7e=_0x4b68ca[_0x5c3c9e])&&(_0x42f37e=(_0x191e0a?_0x27fb7e(_0x4e2eec,_0x4d34ca,_0x42f37e):_0x27fb7e(_0x42f37e))||_0x42f37e);return _0x191e0a&&_0x42f37e&&_0x3b5591(_0x4e2eec,_0x4d34ca,_0x42f37e),_0x42f37e;},_0x49125e=(_0x455128,_0x3f08f3)=>(_0x45741a,_0x32d073)=>_0x3f08f3(_0x45741a,_0x32d073,_0x455128);const _0x441b2a=_0x278695[_0x406fa3(0x446)](_0x406fa3(0x18c));function _0x38942a(_0x2e03e6,_0x4e003c,_0x1a05d8){const _0x3e447d=_0x406fa3;return _0x2e03e6+'/'+_0x4e003c+_0x3e447d(0x52a)+_0x1a05d8+'/new_changes';}_0x121304[_0x406fa3(0x31a)]=class extends _0x278695[_0x406fa3(0x3a8)]{constructor(_0x4072db,_0x3b69ae,_0x1b1f48,_0x3975bb,_0x5f18ee){const _0x355b9d=_0x406fa3;super(),this[_0x355b9d(0x4f3)]=_0x4072db,this[_0x355b9d(0x29b)]=_0x3b69ae,this[_0x355b9d(0x165)]=_0x1b1f48,this[_0x355b9d(0x334)]=_0x3975bb,this[_0x355b9d(0x1d0)]=_0x5f18ee;}[_0x406fa3(0x417)](_0x3512f0){const _0x38dc1c=_0x406fa3,_0x53128f=this[_0x38dc1c(0x29b)]['createSocket'](_0x3512f0);if(!_0x53128f)throw new Error(_0x38dc1c(0x3c9));const _0x574a7b=new _0x278695[(_0x38dc1c(0x405))](),_0x3cd129=new _0x34a6cc[(_0x38dc1c(0x2eb))]();_0x574a7b[_0x38dc1c(0x1ee)](_0x53128f[_0x38dc1c(0x3b6)][_0x38dc1c(0x218)](_0x235ad7=>_0x3cd129['next'](_0x235ad7))),_0x574a7b[_0x38dc1c(0x1ee)](_0x278695['toDisposable'](()=>_0x3cd129['complete']()));const _0x382948=new _0x34a6cc[(_0x38dc1c(0x2eb))]();_0x574a7b['add'](_0x53128f['error$'][_0x38dc1c(0x218)](_0xd4c4e5=>_0x382948['next'](_0xd4c4e5))),_0x574a7b[_0x38dc1c(0x1ee)](_0x278695[_0x38dc1c(0x1c8)](()=>_0x382948[_0x38dc1c(0x145)]()));const _0x3d8194=new _0x34a6cc['Subject']();_0x574a7b[_0x38dc1c(0x1ee)](_0x53128f[_0x38dc1c(0x40c)]['subscribe'](_0x57d5b3=>{const _0x42bd21=_0x38dc1c,_0x26896e=_0x47c5f1(_0x57d5b3);_0x3d8194[_0x42bd21(0x321)](_0x26896e);})),_0x574a7b[_0x38dc1c(0x1ee)](_0x278695[_0x38dc1c(0x1c8)](()=>_0x3d8194['complete']()));let _0x2422cb;const _0x48fbd6=()=>{const _0x227051=_0x38dc1c;_0x382948[_0x227051(0x321)](new Event(_0x227051(0x4bb))),_0x3cd129[_0x227051(0x321)](new CloseEvent(_0x227051(0x4bb))),_0x2422cb[_0x227051(0x1b0)]();};return _0x2422cb={'memberID':'','close$':_0x3cd129[_0x38dc1c(0x418)](),'error$':_0x382948[_0x38dc1c(0x418)](),'open$':_0x53128f[_0x38dc1c(0x381)],'message$':_0x3d8194[_0x38dc1c(0x418)](),'send':_0x2da1fb=>{const _0x1f8c3b=_0x38dc1c;if(_0x2da1fb[_0x1f8c3b(0x1a6)]===_0x4ca514['INGEST']){if(_0x2da1fb['data'][_0x1f8c3b(0x17d)]===_0x5d08[_0x1f8c3b(0x581)][_0x1f8c3b(0x25a)]){this['_submitChangeset'](_0x2422cb,_0x2da1fb[_0x1f8c3b(0x1ed)])[_0x1f8c3b(0x233)](_0x4f5be5=>{const _0x1bf14a=_0x1f8c3b;this[_0x1bf14a(0x334)][_0x1bf14a(0x228)](_0x4f5be5),_0x48fbd6();});return;}if(_0x2da1fb[_0x1f8c3b(0x1ed)][_0x1f8c3b(0x17d)]===_0x5d08[_0x1f8c3b(0x581)]['FETCH_MISSING']){const _0x5bd36a=_0x2da1fb[_0x1f8c3b(0x1ed)];this[_0x1f8c3b(0x544)](_0x5bd36a)['then'](_0x40f4e2=>{const _0x27c0a3=_0x1f8c3b;_0x3d8194['next']({'cmd':_0x4ca514[_0x27c0a3(0x22a)],'code':_0x5ba4cf['OK'],'routeKey':_0x5bd36a[_0x27c0a3(0x1ed)]['unitID'],'routeType':'','data':{'eventID':_0x5d08[_0x27c0a3(0x581)][_0x27c0a3(0x216)],'data':{'changesets':_0x40f4e2}}});})['catch'](_0x992a20=>{const _0x168762=_0x1f8c3b;this['_logService'][_0x168762(0x228)](_0x992a20),_0x48fbd6();});return;}}_0x53128f[_0x1f8c3b(0x50b)](_0xd73f22(_0x2da1fb));},'close':()=>{const _0x3eac8c=_0x38dc1c;_0x53128f[_0x3eac8c(0x1b0)](),_0x574a7b[_0x3eac8c(0x1f1)]();}},_0x2422cb;}async[_0x406fa3(0x292)](_0x265472,_0x2a7749){const _0x5ca8b4=_0x406fa3;var _0x5bd661,_0x33e484;const {unitType:_0x444cca,unitID:_0x18f4ce,changeset:_0xcf1529}=_0x2a7749['data'],_0x2957e7={'unitID':_0x18f4ce,'memberID':_0x265472[_0x5ca8b4(0x1b2)],'type':_0x444cca,'changeset':_0x5d08[_0x5ca8b4(0x3a2)](_0xcf1529)},_0x4aa11f=this[_0x5ca8b4(0x165)][_0x5ca8b4(0x377)](_0x41e0fd),_0x2cbec9=this['_configService'][_0x5ca8b4(0x377)](_0x41c87a),_0x3232a6=_0x38942a((_0x33e484=(_0x5bd661=_0x2cbec9==null?void 0x0:_0x2cbec9['collabSubmitChangesetUrl'])!=null?_0x5bd661:_0x4aa11f)!=null?_0x33e484:_0x4dbff3,_0x444cca,_0x18f4ce);try{await this['_http'][_0x5ca8b4(0x4e2)](_0x3232a6,{'body':_0x2957e7});}catch(_0x248c7b){throw this[_0x5ca8b4(0x334)]['error'](_0x5ca8b4(0x57b),'submit\x20changeset\x20error!'),_0x248c7b;}}async[_0x406fa3(0x544)](_0x1ad6a4){const _0x12fe09=_0x406fa3,{unitID:_0x2439cd,from:_0x4ee3fa,to:_0x3fdcb0,unitType:_0x82f58b}=_0x1ad6a4['data'];return(await this[_0x12fe09(0x1d0)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2439cd,'type':_0x82f58b,'from':_0x4ee3fa,'to':_0x3fdcb0}))['changesets'];}},_0x121304[_0x406fa3(0x31a)]=_0xaabf8f([_0x49125e(0x0,_0x278695['Inject'](_0x166997[_0x406fa3(0x3f5)])),_0x49125e(0x1,_0x278695[_0x406fa3(0x2cb)](_0x166997[_0x406fa3(0x404)])),_0x49125e(0x2,_0x278695[_0x406fa3(0x4c4)]),_0x49125e(0x3,_0x278695[_0x406fa3(0x21a)]),_0x49125e(0x4,_0x5d08[_0x406fa3(0x455)])],_0x121304[_0x406fa3(0x31a)]);const _0x5beeee=_0x406fa3(0x1ba);function _0xd7a35b(_0x53fc7a){const _0x388c86=_0x406fa3;return JSON[_0x388c86(0x2e0)](_0x53fc7a)['length'];}class _0x646873{constructor(){const _0xf9f956=_0x406fa3;_0x175777(this,'_commentUpdate$',new _0x34a6cc[(_0xf9f956(0x2eb))]()),_0x175777(this,_0xf9f956(0x572),this[_0xf9f956(0x1e1)]['asObservable']());}[_0x406fa3(0x362)](_0x71c565){const _0x15a463=_0x406fa3;this[_0x15a463(0x1e1)][_0x15a463(0x321)](_0x71c565);}}var _0x424c7b=Object[_0x406fa3(0x1a2)],_0x42dcb9=Object[_0x406fa3(0x187)],_0x4b076f=(_0x33ff12,_0x3f9484,_0x5925ec,_0x3120c0)=>{const _0x181f6d=_0x406fa3;for(var _0x4f49b2=_0x3120c0>0x1?void 0x0:_0x3120c0?_0x42dcb9(_0x3f9484,_0x5925ec):_0x3f9484,_0x11cf74=_0x33ff12[_0x181f6d(0x565)]-0x1,_0x3f5735;_0x11cf74>=0x0;_0x11cf74--)(_0x3f5735=_0x33ff12[_0x11cf74])&&(_0x4f49b2=(_0x3120c0?_0x3f5735(_0x3f9484,_0x5925ec,_0x4f49b2):_0x3f5735(_0x4f49b2))||_0x4f49b2);return _0x3120c0&&_0x4f49b2&&_0x424c7b(_0x3f9484,_0x5925ec,_0x4f49b2),_0x4f49b2;},_0x518011=(_0xeb2e18,_0x4d7b1e)=>(_0x3f8809,_0x4a4e69)=>_0x4d7b1e(_0x3f8809,_0x4a4e69,_0xeb2e18);let _0x76bc39=class extends _0x278695['Disposable']{constructor(_0x396794,_0x2ea80e){const _0x395ccc=_0x406fa3;super(),_0x175777(this,_0x395ccc(0x26d),new Map()),(this['_univerInstanceService']=_0x396794,this['_userManagerService']=_0x2ea80e,this[_0x395ccc(0x343)](_0x278695[_0x395ccc(0x1c8)](_0x34a6cc[_0x395ccc(0x504)](this[_0x395ccc(0x45b)]['getTypeOfUnitDisposed$'](_0x278695[_0x395ccc(0x266)]['UNIVER_SHEET'])[_0x395ccc(0x2b3)](_0x3753b5[_0x395ccc(0x1a8)](_0x5259c4=>_0x5259c4[_0x395ccc(0x1f9)]())),this[_0x395ccc(0x45b)][_0x395ccc(0x40a)](_0x278695[_0x395ccc(0x266)][_0x395ccc(0x373)])[_0x395ccc(0x2b3)](_0x3753b5[_0x395ccc(0x1a8)](_0x33671b=>_0x33671b[_0x395ccc(0x1f9)]())),this[_0x395ccc(0x45b)][_0x395ccc(0x40a)](_0x278695[_0x395ccc(0x266)][_0x395ccc(0x2d8)])['pipe'](_0x3753b5[_0x395ccc(0x1a8)](_0x5f1ffd=>_0x5f1ffd['getUnitId']())))[_0x395ccc(0x218)](_0x4e1be5=>this[_0x395ccc(0x179)](_0x4e1be5)))));}[_0x406fa3(0x41e)](_0x769e31){const _0x20bde1=_0x406fa3;this[_0x20bde1(0x56d)][_0x20bde1(0x41e)](_0x769e31);}[_0x406fa3(0x399)](){const _0x5e2a49=_0x406fa3;return this[_0x5e2a49(0x56d)][_0x5e2a49(0x399)]();}[_0x406fa3(0x226)](_0x3e4110,_0x6bac96){const _0x77082d=_0x406fa3;let _0x4c0aad=this[_0x77082d(0x26d)][_0x77082d(0x503)](_0x3e4110);_0x4c0aad||(_0x4c0aad=new _0x50ca97(),this[_0x77082d(0x26d)][_0x77082d(0x30e)](_0x3e4110,_0x4c0aad)),_0x4c0aad[_0x77082d(0x226)](_0x6bac96);}[_0x406fa3(0x47d)](_0x119ed8,_0x51c12f){const _0xe0ba6a=_0x406fa3,_0x45f910=this[_0xe0ba6a(0x26d)]['get'](_0x119ed8);_0x45f910&&_0x45f910[_0xe0ba6a(0x47d)](_0x51c12f);}[_0x406fa3(0x3f4)](_0x2d445e){const _0x4d58f9=_0x406fa3;return this['_roomMembers'][_0x4d58f9(0x503)](_0x2d445e);}['getMember'](_0x1c05e1,_0x379a05){const _0xc89c14=_0x406fa3,_0x20100f=this[_0xc89c14(0x26d)][_0xc89c14(0x503)](_0x1c05e1);if(_0x20100f)return _0x20100f['getMember'](_0x379a05);}[_0x406fa3(0x179)](_0x1a3d19){const _0xd7013d=_0x406fa3,_0x3b4dac=this[_0xd7013d(0x26d)]['get'](_0x1a3d19);_0x3b4dac&&(_0x3b4dac[_0xd7013d(0x1f1)](),this[_0xd7013d(0x26d)]['delete'](_0x1a3d19));}[_0x406fa3(0x1f1)](){const _0x506a86=_0x406fa3;this['_roomMembers'][_0x506a86(0x569)](_0x4df856=>_0x4df856[_0x506a86(0x1f1)]()),this['_roomMembers']['clear']();}};_0x76bc39=_0x4b076f([_0x518011(0x0,_0x278695[_0x406fa3(0x2d6)]),_0x518011(0x1,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x1b7)]))],_0x76bc39);class _0x50ca97 extends _0x278695[_0x406fa3(0x3a8)]{constructor(){const _0xe3ca2b=_0x406fa3;super(...arguments),_0x175777(this,_0xe3ca2b(0x36f),new Map());}[_0x406fa3(0x1f1)](){const _0x5e7de5=_0x406fa3;this[_0x5e7de5(0x36f)]['clear']();}['updateMember'](_0x5ac559){const _0x1ec6c8=_0x406fa3;this[_0x1ec6c8(0x36f)]['set'](_0x5ac559['memberID'],_0x5ac559);}[_0x406fa3(0x47d)](_0x4b9a03){const _0x4ed7b5=_0x406fa3;this[_0x4ed7b5(0x36f)]['delete'](_0x4b9a03);}[_0x406fa3(0x370)](_0xac4041){const _0x278941=_0x406fa3;return this[_0x278941(0x36f)][_0x278941(0x503)](_0xac4041);}}var _0x14e57d=Object[_0x406fa3(0x1a2)],_0x5af8e9=Object['getOwnPropertyDescriptor'],_0x44dd77=(_0x376cf4,_0x4c72a6,_0x1a4618,_0x343188)=>{for(var _0x1c2541=_0x343188>0x1?void 0x0:_0x343188?_0x5af8e9(_0x4c72a6,_0x1a4618):_0x4c72a6,_0x114c4e=_0x376cf4['length']-0x1,_0x238e8c;_0x114c4e>=0x0;_0x114c4e--)(_0x238e8c=_0x376cf4[_0x114c4e])&&(_0x1c2541=(_0x343188?_0x238e8c(_0x4c72a6,_0x1a4618,_0x1c2541):_0x238e8c(_0x1c2541))||_0x1c2541);return _0x343188&&_0x1c2541&&_0x14e57d(_0x4c72a6,_0x1a4618,_0x1c2541),_0x1c2541;},_0x50d97d=(_0x20d6be,_0x33a84e)=>(_0xc105e9,_0x2b2118)=>_0x33a84e(_0xc105e9,_0x2b2118,_0x20d6be),_0xc1ac50=(_0x4a131f=>(_0x4a131f[_0x4a131f[_0x406fa3(0x4c9)]=0x0]=_0x406fa3(0x4c9),_0x4a131f[_0x4a131f[_0x406fa3(0x401)]=0x1]=_0x406fa3(0x401),_0x4a131f[_0x4a131f[_0x406fa3(0x372)]=0x2]=_0x406fa3(0x372),_0x4a131f[_0x4a131f[_0x406fa3(0x579)]=0x3]=_0x406fa3(0x579),_0x4a131f))(_0xc1ac50||{});_0x121304[_0x406fa3(0x420)]=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x208977,_0x330bc1,_0x6c0400,_0x505a54,_0xba8f61,_0x3aa6b1,_0x1dbba7,_0x4c848e,_0x218333,_0x1d92e9){const _0x26f3ea=_0x406fa3;super(),_0x175777(this,_0x26f3ea(0x174),new _0x34a6cc['BehaviorSubject'](0x0)),_0x175777(this,_0x26f3ea(0x1c6),this[_0x26f3ea(0x174)]['asObservable']()),_0x175777(this,'_event$',new _0x34a6cc[(_0x26f3ea(0x2eb))]()),_0x175777(this,'event$',this[_0x26f3ea(0x1ab)][_0x26f3ea(0x418)]()),_0x175777(this,'_socket'),_0x175777(this,_0x26f3ea(0x1ff)),_0x175777(this,_0x26f3ea(0x465)),_0x175777(this,_0x26f3ea(0x4cb),!0x1),_0x175777(this,_0x26f3ea(0x45a),null),(this[_0x26f3ea(0x332)]=_0x208977,this[_0x26f3ea(0x334)]=_0x6c0400,this['_beforeCloseService']=_0x505a54,this[_0x26f3ea(0x346)]=_0xba8f61,this[_0x26f3ea(0x165)]=_0x3aa6b1,this[_0x26f3ea(0x1b1)]=_0x1dbba7,this[_0x26f3ea(0x3e4)]=_0x4c848e,this[_0x26f3ea(0x498)]=_0x218333,this['_telemetryService']=_0x1d92e9,this[_0x26f3ea(0x4cb)]=!!this[_0x26f3ea(0x23e)],_0x330bc1['pipe'](_0x34a6cc['takeUntil'](this[_0x26f3ea(0x37d)]))[_0x26f3ea(0x218)](_0x477bcc=>{const _0x125b32=_0x26f3ea;var _0x37225e;typeof _0x477bcc>'u'||(this['_socket']=_0x477bcc,_0x477bcc?(this['_joinRoom'](_0x477bcc),this['_socketMessageSubscription']=_0x477bcc[_0x125b32(0x40c)][_0x125b32(0x218)](_0x5ac06c=>{const _0x1da434=_0x125b32;_0x5ac06c[_0x1da434(0x1d7)]===this['_unitID']&&this[_0x1da434(0x26f)](_0x5ac06c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x125b32(0x321)](0x2),(_0x37225e=this['_socketMessageSubscription'])==null||_0x37225e['unsubscribe'](),this[_0x125b32(0x1ff)]=null));}),this[_0x26f3ea(0x343)](this[_0x26f3ea(0x301)][_0x26f3ea(0x4d0)](()=>{const _0x614ff8=_0x26f3ea;var _0x4faa8e;(_0x4faa8e=this[_0x614ff8(0x195)])==null||_0x4faa8e['send']({'cmd':_0x4ca514[_0x614ff8(0x1bd)],'data':{'roomID':this[_0x614ff8(0x332)]}});})));}get[_0x406fa3(0x409)](){const _0x28a502=_0x406fa3;return this[_0x28a502(0x174)][_0x28a502(0x281)]();}[_0x406fa3(0x46b)](){const _0x3db6fb=_0x406fa3;var _0x28de38,_0x5cf9dd;return(_0x5cf9dd=(_0x28de38=this[_0x3db6fb(0x195)])==null?void 0x0:_0x28de38[_0x3db6fb(0x1b2)])!=null?_0x5cf9dd:null;}[_0x406fa3(0x1f1)](){const _0x2b4983=_0x406fa3;super['dispose'](),this[_0x2b4983(0x37d)][_0x2b4983(0x321)](),this['dispose$'][_0x2b4983(0x145)]();}['close'](){const _0x3ed104=_0x406fa3;var _0x432add,_0x2b7823;this[_0x3ed104(0x322)](),(_0x432add=this['_socket'])==null||_0x432add[_0x3ed104(0x50b)]({'cmd':_0x4ca514[_0x3ed104(0x1bd)],'data':{'roomID':this[_0x3ed104(0x332)]}}),(_0x2b7823=this[_0x3ed104(0x195)])==null||_0x2b7823[_0x3ed104(0x1b0)](),this[_0x3ed104(0x1ab)][_0x3ed104(0x145)](),this['_sessionStatus$'][_0x3ed104(0x145)](),this[_0x3ed104(0x1f1)]();}[_0x406fa3(0x26f)](_0x5d9f8d){const _0x1eb23d=_0x406fa3;_0x5d9f8d[_0x1eb23d(0x1a6)]===_0x4ca514['JOIN']?this[_0x1eb23d(0x198)](_0x5d9f8d):_0x5d9f8d['cmd']===_0x4ca514[_0x1eb23d(0x22a)]&&this[_0x1eb23d(0x432)](_0x5d9f8d);}[_0x406fa3(0x3ff)](_0x350490){const _0x28c627=_0x406fa3;this[_0x28c627(0x174)][_0x28c627(0x321)](0x1),_0x350490[_0x28c627(0x50b)]({'cmd':_0x4ca514[_0x28c627(0x2fd)],'routeKey':this[_0x28c627(0x332)],'routeType':'','data':{'rooms':[{'roomID':this[_0x28c627(0x332)]}]}});}[_0x406fa3(0x198)](_0x5ea0f4){const _0x320ac4=_0x406fa3;var _0x2f7230;if(_0x5ea0f4[_0x320ac4(0x550)]===_0x5ba4cf[_0x320ac4(0x2db)]){this[_0x320ac4(0x346)][_0x320ac4(0x571)]({'type':_0x381d1f['MessageType'][_0x320ac4(0x52c)],'content':this[_0x320ac4(0x1b1)]['t'](_0x320ac4(0x2d9))}),this[_0x320ac4(0x174)]['next'](0x2);return;}this['_sessionStatus$'][_0x320ac4(0x321)](0x3);const _0x1391fd=(_0x2f7230=_0x5ea0f4['data'][_0x320ac4(0x214)][this[_0x320ac4(0x332)]])==null?void 0x0:_0x2f7230[_0x320ac4(0x19f)];_0x1391fd&&_0x1391fd[_0x320ac4(0x569)](_0xc415d7=>this[_0x320ac4(0x3e4)][_0x320ac4(0x226)](this[_0x320ac4(0x332)],_0xc415d7));}[_0x406fa3(0x432)](_0x3b70c4){const _0x2797ca=_0x406fa3;try{const _0x57be6f=_0x3b70c4[_0x2797ca(0x1ed)];switch(_0x57be6f[_0x2797ca(0x17d)]){case _0x5d08[_0x2797ca(0x581)][_0x2797ca(0x1ca)]:this[_0x2797ca(0x256)](_0x57be6f),this['_event$'][_0x2797ca(0x321)](_0x57be6f);break;case _0x5d08[_0x2797ca(0x581)]['USERS_LEAVE']:this[_0x2797ca(0x194)](_0x57be6f),this[_0x2797ca(0x1ab)][_0x2797ca(0x321)](_0x57be6f);break;case _0x5d08['CollaborationEvent'][_0x2797ca(0x4ab)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2797ca(0x1db)](),this[_0x2797ca(0x1ab)][_0x2797ca(0x321)](_0x57be6f);break;case _0x5d08[_0x2797ca(0x581)][_0x2797ca(0x19c)]:this[_0x2797ca(0x334)][_0x2797ca(0x228)](_0x2797ca(0x3c1)+JSON['stringify'](_0x57be6f)),this[_0x2797ca(0x1ab)][_0x2797ca(0x321)](_0x57be6f);break;case _0x5d08[_0x2797ca(0x581)][_0x2797ca(0x14f)]:this['_commentService'][_0x2797ca(0x362)](_0x57be6f[_0x2797ca(0x1ed)]),this['_event$'][_0x2797ca(0x321)](_0x57be6f);break;default:this['_event$']['next'](_0x57be6f);}}catch(_0xb0adfb){this[_0x2797ca(0x334)]['error'](_0xb0adfb,_0x3b70c4);}}[_0x406fa3(0x256)](_0x1b69b4){const _0x55b841=_0x406fa3;this[_0x55b841(0x3e4)][_0x55b841(0x226)](this['_unitID'],_0x1b69b4['data']);}[_0x406fa3(0x194)](_0x46b177){const _0x31c541=_0x406fa3;this[_0x31c541(0x3e4)][_0x31c541(0x47d)](this[_0x31c541(0x332)],_0x46b177[_0x31c541(0x1ed)][_0x31c541(0x1b2)]);}async[_0x406fa3(0x50b)](_0x4c717f,_0x571d2c){const _0x2cbc00=_0x406fa3;if(this[_0x2cbc00(0x409)]!==0x3||!this[_0x2cbc00(0x195)])throw new Error(_0x2cbc00(0x2bc));try{_0x4c717f[_0x2cbc00(0x17d)]===_0x5d08[_0x2cbc00(0x581)][_0x2cbc00(0x25a)]&&(this[_0x2cbc00(0x34c)](),this['_startTelemetryCollaborationNewChangeset'](_0x4c717f)),this[_0x2cbc00(0x195)][_0x2cbc00(0x50b)]({'cmd':_0x4ca514[_0x2cbc00(0x485)],'routeKey':_0x571d2c,'routeType':'','data':_0x4c717f});}catch(_0x244baa){this[_0x2cbc00(0x334)]['error'](_0x244baa);}}['_scheduleCollaborationTimeoutTimer'](){const _0x35fcd8=_0x406fa3;var _0x17dbd4;this[_0x35fcd8(0x465)]=window[_0x35fcd8(0x4d6)](()=>{const _0x36d0fa=_0x35fcd8;this[_0x36d0fa(0x465)]=null,this[_0x36d0fa(0x346)][_0x36d0fa(0x571)]({'type':_0x381d1f[_0x36d0fa(0x26e)][_0x36d0fa(0x44a)],'content':this[_0x36d0fa(0x1b1)]['t'](_0x36d0fa(0x2bf))});},(_0x17dbd4=this[_0x35fcd8(0x165)][_0x35fcd8(0x377)](_0x52d634))!=null?_0x17dbd4:0x4e20);}[_0x406fa3(0x1db)](){const _0x28c768=_0x406fa3;this[_0x28c768(0x465)]&&(clearTimeout(this[_0x28c768(0x465)]),this['_collaborationTimeoutTimer']=null);}[_0x406fa3(0x32a)](_0x463de8){const _0x2cb8f3=_0x406fa3;if(!this[_0x2cb8f3(0x4cb)])return;const {data:_0xd32258}=_0x463de8,{unitID:_0x69699b,changeset:_0xbbc5a1}=_0xd32258,{mutations:_0x28a063,type:_0x17e333}=_0xbbc5a1;this[_0x2cb8f3(0x45a)]={'unitId':_0x69699b,'type':_0x17e333,'startTime':performance[_0x2cb8f3(0x3d4)](),'stopTime':0x0,'duration':0x0,'size':_0xd7a35b(_0x28a063)};}[_0x406fa3(0x341)](){const _0x2d082d=_0x406fa3;if(this[_0x2d082d(0x4cb)]){if(!this[_0x2d082d(0x45a)]){this[_0x2d082d(0x334)]['error'](_0x2d082d(0x57b),_0x2d082d(0x2d3));return;}this[_0x2d082d(0x45a)][_0x2d082d(0x43d)]=performance['now'](),this[_0x2d082d(0x45a)][_0x2d082d(0x290)]=this[_0x2d082d(0x45a)][_0x2d082d(0x43d)]-this[_0x2d082d(0x45a)][_0x2d082d(0x309)],this['_telemetryService'][_0x2d082d(0x4b6)](_0x5beeee,this[_0x2d082d(0x45a)]),this[_0x2d082d(0x45a)]=null;}}[_0x406fa3(0x322)](){const _0x55aa6c=_0x406fa3;this[_0x55aa6c(0x45a)]=null;}},_0x121304[_0x406fa3(0x420)]=_0x44dd77([_0x50d97d(0x2,_0x278695['ILogService']),_0x50d97d(0x3,_0x42b7fc[_0x406fa3(0x535)]),_0x50d97d(0x4,_0x42b7fc[_0x406fa3(0x2b1)]),_0x50d97d(0x5,_0x278695[_0x406fa3(0x4c4)]),_0x50d97d(0x6,_0x278695['Inject'](_0x278695[_0x406fa3(0x3c6)])),_0x50d97d(0x7,_0x278695[_0x406fa3(0x2cb)](_0x76bc39)),_0x50d97d(0x8,_0x278695[_0x406fa3(0x2cb)](_0x646873)),_0x50d97d(0x9,_0x278695[_0x406fa3(0x2fa)](_0x3c7262[_0x406fa3(0x27e)]))],_0x121304[_0x406fa3(0x420)]);var _0x215076=Object[_0x406fa3(0x1a2)],_0x4251ae=Object[_0x406fa3(0x187)],_0x180cca=(_0x3ff964,_0x514f03,_0x33d873,_0x49c17d)=>{const _0xcc4694=_0x406fa3;for(var _0x6ea580=_0x49c17d>0x1?void 0x0:_0x49c17d?_0x4251ae(_0x514f03,_0x33d873):_0x514f03,_0x1eca5e=_0x3ff964[_0xcc4694(0x565)]-0x1,_0x5b43b4;_0x1eca5e>=0x0;_0x1eca5e--)(_0x5b43b4=_0x3ff964[_0x1eca5e])&&(_0x6ea580=(_0x49c17d?_0x5b43b4(_0x514f03,_0x33d873,_0x6ea580):_0x5b43b4(_0x6ea580))||_0x6ea580);return _0x49c17d&&_0x6ea580&&_0x215076(_0x514f03,_0x33d873,_0x6ea580),_0x6ea580;},_0x2491ef=(_0x1ec5c4,_0x5aba41)=>(_0x12dc05,_0x54d6ad)=>_0x5aba41(_0x12dc05,_0x54d6ad,_0x1ec5c4);_0x121304['CollaborationSessionService']=class extends _0x278695['Disposable']{constructor(_0x55e232,_0x518be0,_0x7d80ec,_0x26f617,_0x5c6cbb,_0x911423){const _0x169e50=_0x406fa3;super(),_0x175777(this,_0x169e50(0x147),new _0x34a6cc[(_0x169e50(0x4fe))](void 0x0)),_0x175777(this,_0x169e50(0x1a9),this['_socket$'][_0x169e50(0x418)]()),_0x175777(this,_0x169e50(0x19d),null),_0x175777(this,_0x169e50(0x16b),new Map()),_0x175777(this,_0x169e50(0x510),new _0x34a6cc[(_0x169e50(0x4fe))](_0xc1ac50['IDLE'])),_0x175777(this,_0x169e50(0x29c),this[_0x169e50(0x510)][_0x169e50(0x418)]()),_0x175777(this,_0x169e50(0x3ea),!0x1),_0x175777(this,_0x169e50(0x1bf)),_0x175777(this,_0x169e50(0x180),0x0),_0x175777(this,_0x169e50(0x280)),_0x175777(this,_0x169e50(0x49a)),(this[_0x169e50(0x557)]=_0x55e232,this['_localeService']=_0x518be0,this['_messageService']=_0x7d80ec,this['_logService']=_0x26f617,this['_configService']=_0x5c6cbb,this['_socketService']=_0x911423,this[_0x169e50(0x430)]());}get[_0x406fa3(0x195)](){const _0x4ebb8a=_0x406fa3;return this['_socket$'][_0x4ebb8a(0x281)]();}['_initEventListeners'](){this['_listenToOfflineEvent'](),this['_listenToOnlineEvent']();}[_0x406fa3(0x1f1)](){const _0x54bd63=_0x406fa3;super[_0x54bd63(0x1f1)](),this[_0x54bd63(0x16b)][_0x54bd63(0x569)](_0xd0be97=>_0xd0be97[_0x54bd63(0x1f1)]()),this[_0x54bd63(0x16b)][_0x54bd63(0x484)](),this[_0x54bd63(0x510)][_0x54bd63(0x145)]();}async['requireSession'](_0x17576c){const _0x4d5903=_0x406fa3;if(this[_0x4d5903(0x16b)][_0x4d5903(0x39d)](_0x17576c))return this[_0x4d5903(0x16b)][_0x4d5903(0x503)](_0x17576c);this[_0x4d5903(0x543)]();const _0x3fd897=this[_0x4d5903(0x557)][_0x4d5903(0x13d)](_0x121304[_0x4d5903(0x420)],_0x17576c,this[_0x4d5903(0x147)]['asObservable']());return this['_sessions'][_0x4d5903(0x30e)](_0x17576c,_0x3fd897),_0x3fd897;}[_0x406fa3(0x2d1)](_0x5c9983){const _0x97ba9f=_0x406fa3;var _0x54ce61;const _0x448f0b=this['_sessions']['get'](_0x5c9983);_0x448f0b&&(this['_sessions']['delete'](_0x5c9983),_0x448f0b[_0x97ba9f(0x1b0)]()),this[_0x97ba9f(0x16b)][_0x97ba9f(0x18a)]||(_0x54ce61=this['_socket'])==null||_0x54ce61[_0x97ba9f(0x1b0)]();}[_0x406fa3(0x3e9)](){const _0xd923a3=_0x406fa3;this[_0xd923a3(0x180)]=0x0,this[_0xd923a3(0x1bf)]!=null&&(clearTimeout(this[_0xd923a3(0x1bf)]),this[_0xd923a3(0x1bf)]=null),this[_0xd923a3(0x1b3)]();}[_0x406fa3(0x207)](){const _0x343b95=_0x406fa3;var _0x501222,_0x2a4a51;const _0x202582=this[_0x343b95(0x165)][_0x343b95(0x377)](_0xc7bdf9),_0x2f57f3=this[_0x343b95(0x165)][_0x343b95(0x377)](_0x41c87a),_0x8514a=(_0x2a4a51=(_0x501222=_0x2f57f3==null?void 0x0:_0x2f57f3['collabWebSocketUrl'])!=null?_0x501222:_0x202582)!=null?_0x2a4a51:_0x30d5cc,_0x4e78ef=this[_0x343b95(0x4bc)]['createSocket'](_0x8514a);return this['_candidateSocket']=_0x4e78ef,_0x4e78ef;}['_tryEnsureSocket'](){const _0xdcce54=_0x406fa3;var _0x450392,_0x1ee695;try{const _0x2fd663=(_0x1ee695=(_0x450392=this['_socket'])!=null?_0x450392:this[_0xdcce54(0x19d)])!=null?_0x1ee695:this[_0xdcce54(0x207)]();if(_0x2fd663){const _0xb0366e=_0x2fd663['send'];_0x2fd663['send']=_0x12aa25=>(this[_0xdcce54(0x53e)](),_0xb0366e[_0xdcce54(0x169)](_0x2fd663,[_0x12aa25])),_0x2fd663['message$'][_0xdcce54(0x218)](_0x4ec025=>this[_0xdcce54(0x344)](_0x2fd663,_0x4ec025)),_0x2fd663[_0xdcce54(0x1e2)][_0xdcce54(0x2b3)](_0x3753b5[_0xdcce54(0x151)](0x1))['subscribe'](_0x53db31=>this[_0xdcce54(0x334)][_0xdcce54(0x228)](_0xdcce54(0x159),_0x53db31)),_0x2fd663[_0xdcce54(0x381)][_0xdcce54(0x2b3)](_0x3753b5[_0xdcce54(0x151)](0x1))[_0xdcce54(0x218)](()=>{const _0x4e342b=_0xdcce54;this[_0x4e342b(0x40b)](_0x2fd663);}),_0x2fd663['close$'][_0xdcce54(0x2b3)](_0x3753b5[_0xdcce54(0x151)](0x1))['subscribe'](_0x2fd231=>{const _0x34e337=_0xdcce54;this[_0x34e337(0x334)]['debug'](_0x34e337(0x32b),'socket\x20close',_0x2fd231),this['_onConnectionFailed']();});}}catch(_0x4fc37d){this[_0xdcce54(0x334)]['error'](_0x4fc37d),this['_onConnectionFailed']();}}[_0x406fa3(0x40b)](_0x31e96a){const _0x470d81=_0x406fa3;this[_0x470d81(0x334)][_0x470d81(0x394)](_0x470d81(0x32b),'socket\x20open.'),_0x31e96a[_0x470d81(0x50b)]({'cmd':_0x4ca514[_0x470d81(0x520)]}),this[_0x470d81(0x53e)]();}[_0x406fa3(0x534)](){const _0x10dd6f=_0x406fa3;window[_0x10dd6f(0x3bd)](_0x10dd6f(0x1ce),()=>this['_onOffline']());}[_0x406fa3(0x36e)](){const _0x12638c=_0x406fa3;this[_0x12638c(0x3ea)]=!0x1,this[_0x12638c(0x19d)]=null,this[_0x12638c(0x510)][_0x12638c(0x321)](_0xc1ac50[_0x12638c(0x372)]),this[_0x12638c(0x147)]['next'](null),this[_0x12638c(0x298)](),this[_0x12638c(0x3f0)]();}['_onConnectionFailed'](){const _0x2d6719=_0x406fa3;var _0x274516;this[_0x2d6719(0x36e)](),this[_0x2d6719(0x180)]<((_0x274516=this['_configService'][_0x2d6719(0x377)](_0x249b8f))!=null?_0x274516:0x3)?(this[_0x2d6719(0x346)][_0x2d6719(0x571)]({'key':_0x2d6719(0x42e),'type':_0x381d1f[_0x2d6719(0x26e)][_0x2d6719(0x52c)],'content':this['_localeService']['t'](_0x2d6719(0x578))}),this[_0x2d6719(0x1b3)]()):this[_0x2d6719(0x346)][_0x2d6719(0x571)]({'key':_0x2d6719(0x42e),'type':_0x381d1f[_0x2d6719(0x26e)][_0x2d6719(0x44a)],'content':this[_0x2d6719(0x1b1)]['t'](_0x2d6719(0x56c))});}[_0x406fa3(0x50f)](){const _0x3a8545=_0x406fa3,_0x10e05f=()=>{const _0x10e9ed=_0x3463;this[_0x10e9ed(0x195)]||this[_0x10e9ed(0x3e9)]();},_0x2a393a=()=>{const _0x3f2e69=_0x3463;this['_socket']||document[_0x3f2e69(0x203)]==='hidden'||this[_0x3f2e69(0x3e9)]();};window[_0x3a8545(0x3bd)](_0x3a8545(0x52b),_0x10e05f),document[_0x3a8545(0x3bd)](_0x3a8545(0x564),_0x2a393a);}['_tryReconnect'](){const _0x119e72=_0x406fa3;var _0x5b5efa;const _0x5e13a8=this[_0x119e72(0x180)],_0x5f1d10=this[_0x119e72(0x165)]['getConfig'](_0x41c87a),_0x4a6933=_0x5e13a8===0x0?0x0:((_0x5b5efa=_0x5f1d10==null?void 0x0:_0x5f1d10[_0x119e72(0x1ea)])!=null?_0x5b5efa:0x4e20)*0x2**_0x5e13a8;this[_0x119e72(0x1bf)]=window['setTimeout'](()=>{const _0x5cee59=_0x119e72;clearTimeout(this[_0x5cee59(0x1bf)]),this[_0x5cee59(0x1bf)]=null,this[_0x5cee59(0x543)]();},_0x4a6933),this[_0x119e72(0x180)]+=0x1;}[_0x406fa3(0x344)](_0x2a276f,_0x44f2f8){const _0x306fbd=_0x406fa3,{cmd:_0x30557c}=_0x44f2f8;_0x30557c===_0x4ca514[_0x306fbd(0x520)]&&!this[_0x306fbd(0x3ea)]&&(_0x2a276f['memberID']=_0x44f2f8[_0x306fbd(0x1ed)][_0x306fbd(0x1b2)],this['_socket$']['next'](_0x2a276f),this[_0x306fbd(0x510)][_0x306fbd(0x321)](_0xc1ac50[_0x306fbd(0x579)]),this[_0x306fbd(0x3ea)]=!0x0,this['_candidateSocket']=null),_0x30557c===_0x4ca514[_0x306fbd(0x303)]&&this[_0x306fbd(0x298)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){const _0x469ab3=_0x406fa3;var _0x19b2de;this[_0x469ab3(0x3f0)](),this[_0x469ab3(0x280)]=window[_0x469ab3(0x4d6)](()=>this['_sendHeartbeat'](),(_0x19b2de=this['_configService'][_0x469ab3(0x377)](_0x268833))!=null?_0x19b2de:0x7530);}[_0x406fa3(0x3a6)](){const _0x2c5949=_0x406fa3;this[_0x2c5949(0x195)]['send']({'cmd':_0x4ca514[_0x2c5949(0x303)]}),this[_0x2c5949(0x36d)]();}['_waitForHeartbeatResponse'](){const _0x1a5787=_0x406fa3;var _0x6a405e;this['_timeoutTimer']=window[_0x1a5787(0x4d6)](()=>this[_0x1a5787(0x4a5)](),(_0x6a405e=this['_configService'][_0x1a5787(0x377)](_0x52d634))!=null?_0x6a405e:0x4e20);}[_0x406fa3(0x3f0)](){const _0x358954=_0x406fa3;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x358954(0x280)]),this[_0x358954(0x280)]=null);}[_0x406fa3(0x298)](){const _0x1cd4d6=_0x406fa3;this[_0x1cd4d6(0x49a)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1cd4d6(0x49a)]=null);}},_0x121304['CollaborationSessionService']=_0x180cca([_0x2491ef(0x0,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x2491ef(0x1,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)])),_0x2491ef(0x2,_0x42b7fc[_0x406fa3(0x2b1)]),_0x2491ef(0x3,_0x278695[_0x406fa3(0x21a)]),_0x2491ef(0x4,_0x278695[_0x406fa3(0x4c4)]),_0x2491ef(0x5,_0x441b2a)],_0x121304[_0x406fa3(0x502)]);var _0x373f93=Object['defineProperty'],_0x257301=Object['getOwnPropertyDescriptor'],_0x38181f=(_0x2047e5,_0x345789,_0x1321b6,_0x2e1fea)=>{const _0x1ed837=_0x406fa3;for(var _0x49cf0c=_0x2e1fea>0x1?void 0x0:_0x2e1fea?_0x257301(_0x345789,_0x1321b6):_0x345789,_0x5509ae=_0x2047e5[_0x1ed837(0x565)]-0x1,_0x2bb659;_0x5509ae>=0x0;_0x5509ae--)(_0x2bb659=_0x2047e5[_0x5509ae])&&(_0x49cf0c=(_0x2e1fea?_0x2bb659(_0x345789,_0x1321b6,_0x49cf0c):_0x2bb659(_0x49cf0c))||_0x49cf0c);return _0x2e1fea&&_0x49cf0c&&_0x373f93(_0x345789,_0x1321b6,_0x49cf0c),_0x49cf0c;},_0x408bc4=(_0x6766c9,_0x11facb)=>(_0x184a40,_0x359346)=>_0x11facb(_0x184a40,_0x359346,_0x6766c9);let _0x4b08e2=class{constructor(_0x1a7245,_0x2375a2,_0x11e015){const _0x34687b=_0x406fa3;this[_0x34687b(0x557)]=_0x1a7245,this['_transformService']=_0x2375a2,this[_0x34687b(0x257)]=_0x11e015;}[_0x406fa3(0x3b4)](_0x1c5ea7){const _0x562dba=_0x406fa3;this[_0x562dba(0x272)](_0x1c5ea7),this[_0x562dba(0x1fb)](_0x1c5ea7);}[_0x406fa3(0x45c)](_0x57d0a7){const _0x12185f=_0x406fa3,{unitID:_0x38377f}=_0x57d0a7,_0x4dacf4=this[_0x12185f(0x257)][_0x12185f(0x2b6)](_0x38377f)[_0x12185f(0x55a)](_0x107653[_0x12185f(0x1c1)]),{redoCache:_0x30378e}=_0x4dacf4[_0x12185f(0x1e7)]();if(_0x30378e['length']===0x0)return _0x57d0a7;let _0x2846bd=_0x278695[_0x12185f(0x1a3)][_0x12185f(0x149)](_0x57d0a7[_0x12185f(0x384)][0x0]);for(let _0x494e15=0x0;_0x494e15<_0x30378e[_0x12185f(0x565)];_0x494e15++){const _0x41d6f2={'id':'doc.mutation.rich-text-editing','params':{..._0x30378e[_0x494e15]}},_0x4db80b=this[_0x12185f(0x193)][_0x12185f(0x3f8)](_0x2846bd,_0x41d6f2,!0x1);if(_0x5d08[_0x12185f(0x1dc)](_0x4db80b))throw _0x4db80b[_0x12185f(0x228)];_0x2846bd=_0x4db80b['m1Prime'];}return{..._0x278695[_0x12185f(0x1a3)][_0x12185f(0x149)](_0x57d0a7),'mutations':[_0x2846bd]};}[_0x406fa3(0x272)](_0x14b683){const _0xf2bee=_0x406fa3,{unitID:_0x1f89e5}=_0x14b683,_0x36c7de=this['_renderManagerService']['getRenderById'](_0x1f89e5)['with'](_0x107653[_0xf2bee(0x1c1)]),{undoCache:_0x1b291f,redoCache:_0x4c1f1f}=_0x36c7de[_0xf2bee(0x1e7)]();if(_0x1b291f[_0xf2bee(0x565)]===0x0||_0x4c1f1f['length']===0x0)return;const _0x96e859=[],_0x112590=[];let _0x5b9712=_0x278695[_0xf2bee(0x1a3)][_0xf2bee(0x149)](_0x14b683['mutations'][0x0]),_0x802d63=_0x278695[_0xf2bee(0x1a3)][_0xf2bee(0x149)](_0x14b683[_0xf2bee(0x384)][0x0]);for(let _0x39a011=_0x1b291f[_0xf2bee(0x565)]-0x1;_0x39a011>=0x0;_0x39a011--){const _0x2f6588={'id':'doc.mutation.rich-text-editing','params':{..._0x1b291f[_0x39a011]}},_0x22d00e={'id':'doc.mutation.rich-text-editing','params':{..._0x4c1f1f[_0x39a011]}},_0x3d1e13=this[_0xf2bee(0x193)]['transformMutation'](_0x5b9712,_0x2f6588,!0x1),_0x45cba3=this['_transformService'][_0xf2bee(0x3f8)](_0x802d63,_0x22d00e,!0x1);if(_0x5d08['isTransformMutationFailure'](_0x3d1e13))throw _0x3d1e13[_0xf2bee(0x228)];if(_0x5d08[_0xf2bee(0x1dc)](_0x45cba3))throw _0x45cba3[_0xf2bee(0x228)];_0x96e859[_0xf2bee(0x2c4)](_0x3d1e13['m2Prime'][_0xf2bee(0x428)]),_0x112590[_0xf2bee(0x2c4)](_0x45cba3[_0xf2bee(0x4ee)]['params']),_0x5b9712=_0x3d1e13[_0xf2bee(0x1d3)],_0x802d63=_0x45cba3[_0xf2bee(0x1d3)];}_0x36c7de[_0xf2bee(0x3cb)]({'undoCache':_0x96e859,'redoCache':_0x112590});}[_0x406fa3(0x1fb)](_0x11c455){const _0x5d8459=_0x406fa3,{unitID:_0x4027cc}=_0x11c455,_0x2f11e=this[_0x5d8459(0x257)][_0x5d8459(0x2b6)](_0x4027cc)['with'](_0x107653['DocIMEInputManagerService']),_0x1ceb84=_0x2f11e[_0x5d8459(0x1a4)]();if(_0x1ceb84==null)return;const _0x1a0eb7=[{'id':_0x5d8459(0x22b),'params':{'unitId':_0x11c455[_0x5d8459(0x42a)],'actions':null,'textRanges':[_0x1ceb84]}}],_0x172133=this[_0x5d8459(0x193)][_0x5d8459(0x3d0)](_0x11c455,_0x1a0eb7);if(!_0x5d08[_0x5d8459(0x2ec)](_0x172133))throw _0x172133[_0x5d8459(0x228)];const _0x555248=_0x172133['m2Prime'][0x0]['params'][_0x5d8459(0x14a)];Array[_0x5d8459(0x1d8)](_0x555248)&&_0x555248['length']&&_0x2f11e[_0x5d8459(0x3b0)](_0x555248[0x0]);}};_0x4b08e2=_0x38181f([_0x408bc4(0x0,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x408bc4(0x1,_0x5d08['ITransformService']),_0x408bc4(0x2,_0x363b07[_0x406fa3(0x29f)])],_0x4b08e2);var _0x4a23a8=Object['defineProperty'],_0x24848b=Object['getOwnPropertyDescriptor'],_0x4f8679=(_0x496d8d,_0x4de21a,_0x213e22,_0x14b516)=>{const _0x179ca3=_0x406fa3;for(var _0x1ac17b=_0x14b516>0x1?void 0x0:_0x14b516?_0x24848b(_0x4de21a,_0x213e22):_0x4de21a,_0x1bb879=_0x496d8d[_0x179ca3(0x565)]-0x1,_0xec0f44;_0x1bb879>=0x0;_0x1bb879--)(_0xec0f44=_0x496d8d[_0x1bb879])&&(_0x1ac17b=(_0x14b516?_0xec0f44(_0x4de21a,_0x213e22,_0x1ac17b):_0xec0f44(_0x1ac17b))||_0x1ac17b);return _0x14b516&&_0x1ac17b&&_0x4a23a8(_0x4de21a,_0x213e22,_0x1ac17b),_0x1ac17b;},_0x397c38=(_0x59dcc4,_0x5a333a)=>(_0x2c21ac,_0x2afea3)=>_0x5a333a(_0x2c21ac,_0x2afea3,_0x59dcc4);_0x121304['LocalCacheService']=class extends _0x278695[_0x406fa3(0x3a8)]{constructor(_0x41d899,_0x4d5e33,_0x6e91a9,_0x49566d,_0x582c24){const _0x5718e7=_0x406fa3;super(),_0x175777(this,_0x5718e7(0x403),new Map()),_0x175777(this,'_saveTaskMap',new Map()),_0x175777(this,_0x5718e7(0x470),!0x1),(this[_0x5718e7(0x165)]=_0x41d899,this[_0x5718e7(0x3ba)]=_0x4d5e33,this[_0x5718e7(0x301)]=_0x6e91a9,this[_0x5718e7(0x1b1)]=_0x49566d,this[_0x5718e7(0x22d)]=_0x582c24,this[_0x5718e7(0x2b7)]());}[_0x406fa3(0x1fa)](){const _0xb15fc6=_0x406fa3;this[_0xb15fc6(0x470)]=!0x0;}[_0x406fa3(0x338)](){const _0x256ec7=_0x406fa3;this[_0x256ec7(0x470)]=!0x1;}[_0x406fa3(0x1f1)](){const _0x136f59=_0x406fa3;this[_0x136f59(0x44b)]()[_0x136f59(0x2d0)](()=>super['dispose']());}async[_0x406fa3(0x43e)](_0x1813ce){const _0xc6e9cc=_0x406fa3;return this[_0xc6e9cc(0x470)]?null:this[_0xc6e9cc(0x3ba)][_0xc6e9cc(0x3b1)](_0x163403(_0x1813ce));}async[_0x406fa3(0x1b9)](_0x508a79,_0x242d14){const _0x2e0b46=_0x406fa3;return!!this[_0x2e0b46(0x3ba)][_0x2e0b46(0x148)](_0x508a79,_0x242d14);}[_0x406fa3(0x585)](_0x5876e4,_0xb741f9,_0x8e8457,_0x1868f4){const _0x56c29d=_0x406fa3,_0x469a5a=this[_0x56c29d(0x22d)]['getCurrentRevOfUnit'](_0x5876e4);this[_0x56c29d(0x403)][_0x56c29d(0x30e)](_0x5876e4,{'unitID':_0x5876e4,'type':_0xb741f9,'awaitingChangeset':_0x8e8457,'mutations':_0x1868f4,'rev':_0x469a5a}),this[_0x56c29d(0x219)][_0x56c29d(0x39d)](_0x5876e4)||this[_0x56c29d(0x4be)](_0x5876e4);}[_0x406fa3(0x4be)](_0x576cbf){const _0x395669=_0x406fa3,_0x22952d=this[_0x395669(0x55c)]();_0x22952d===0x0?this[_0x395669(0x567)](_0x576cbf):this['_saveTaskMap'][_0x395669(0x30e)](_0x576cbf,setTimeout(()=>this[_0x395669(0x567)](_0x576cbf),_0x22952d));}[_0x406fa3(0x55c)](){const _0xfc09ed=_0x406fa3;var _0x408c05;return(_0x408c05=this['_configService'][_0xfc09ed(0x377)](_0x5d6c68))!=null?_0x408c05:0x3e8;}[_0x406fa3(0x567)](_0xb0e79){const _0x24bb31=_0x406fa3,_0x19f16c=this['_saveTaskMap'][_0x24bb31(0x503)](_0xb0e79);return _0x19f16c!==void 0x0&&window[_0x24bb31(0x1cf)](_0x19f16c),this[_0x24bb31(0x3ba)]['setItem'](_0x163403(_0xb0e79),this[_0x24bb31(0x403)]['get'](_0xb0e79))[_0x24bb31(0x2d0)](()=>this[_0x24bb31(0x219)][_0x24bb31(0x29a)](_0xb0e79));}async[_0x406fa3(0x44b)](){const _0x5df8c0=_0x406fa3,_0x549978=[];this[_0x5df8c0(0x219)]['forEach']((_0x523d89,_0x215568)=>{const _0x4819f0=_0x5df8c0;window[_0x4819f0(0x1cf)](_0x523d89),_0x549978[_0x4819f0(0x355)](this[_0x4819f0(0x567)](_0x215568)[_0x4819f0(0x2d0)](()=>{const _0x6e403d=_0x4819f0;this[_0x6e403d(0x219)]['delete'](_0x215568);}));}),await Promise['all'](_0x549978);}['_setupBeforeClosingHandler'](){const _0x1acb70=_0x406fa3;this['disposeWithMe'](this[_0x1acb70(0x301)][_0x1acb70(0x2f0)](()=>{const _0x5e29e1=_0x1acb70;if(this['_saveTaskMap'][_0x5e29e1(0x18a)])return this['_localeService']['t'](_0x5e29e1(0x495));}));}},_0x121304[_0x406fa3(0x2a4)]=_0x4f8679([_0x397c38(0x0,_0x278695['IConfigService']),_0x397c38(0x1,_0x278695[_0x406fa3(0x42f)]),_0x397c38(0x2,_0x42b7fc[_0x406fa3(0x535)]),_0x397c38(0x3,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)])),_0x397c38(0x4,_0x278695['Inject'](_0x5d08[_0x406fa3(0x556)]))],_0x121304[_0x406fa3(0x2a4)]);function _0x163403(_0x319d2b){const _0x167198=_0x406fa3;return _0x167198(0x316)+_0x319d2b;}var _0x500f9b=Object[_0x406fa3(0x1a2)],_0x3fe162=Object['getOwnPropertyDescriptor'],_0x3b09a9=(_0x23c905,_0x4ddefe,_0x265492,_0x2c7338)=>{for(var _0x342279=_0x2c7338>0x1?void 0x0:_0x2c7338?_0x3fe162(_0x4ddefe,_0x265492):_0x4ddefe,_0x334cd5=_0x23c905['length']-0x1,_0x111cd8;_0x334cd5>=0x0;_0x334cd5--)(_0x111cd8=_0x23c905[_0x334cd5])&&(_0x342279=(_0x2c7338?_0x111cd8(_0x4ddefe,_0x265492,_0x342279):_0x111cd8(_0x342279))||_0x342279);return _0x2c7338&&_0x342279&&_0x500f9b(_0x4ddefe,_0x265492,_0x342279),_0x342279;},_0x238b65=(_0x39c724,_0x48bfbf)=>(_0x33478c,_0x2baa02)=>_0x48bfbf(_0x33478c,_0x2baa02,_0x39c724);function _0xfe131a(_0x2fd88a){const _0xd94ac6=_0x406fa3,{unitID:_0xd39995,mutations:_0x2b84a3}=_0x2fd88a;return{'unitId':_0xd39995,'subUnitId':_0x2b84a3[0x0][_0xd94ac6(0x428)]['subUnitId']};}let _0x3cacd1=class{constructor(_0x1cb412,_0x1f0a2e,_0x11c04c){const _0x608f7a=_0x406fa3;this[_0x608f7a(0x557)]=_0x1cb412,this['_transformService']=_0x1f0a2e,this['_instanceService']=_0x11c04c;}['transformSelections'](_0x3d353c){const _0x53463f=_0x406fa3;var _0x57542b,_0x506ad5,_0x42ec1d,_0x34d641;const _0x5c4f2f=this[_0x53463f(0x557)][_0x53463f(0x503)](_0x30bfa9[_0x53463f(0x2a6)]),{unitId:_0x2c96d0,subUnitId:_0x2233d3}=_0xfe131a(_0x3d353c),_0x5f5350=_0x5c4f2f[_0x53463f(0x271)](_0x2c96d0)[_0x53463f(0x16e)](),_0x20aeef=(_0x506ad5=(_0x57542b=this['_instanceService'][_0x53463f(0x51d)](_0x2c96d0))==null?void 0x0:_0x57542b[_0x53463f(0x27a)]())==null?void 0x0:_0x506ad5[_0x53463f(0x3d1)]();if(_0x5f5350[_0x53463f(0x565)]===0x0||!_0x2c96d0||!_0x2233d3)return;const _0x254acc=[{'id':_0x30bfa9['SetSelectionsOperation']['id'],'params':{'unitId':_0x2c96d0,'subUnitId':_0x20aeef,'selections':_0x278695[_0x53463f(0x1a3)][_0x53463f(0x149)](_0x5f5350)}}],_0x1cfce6=this[_0x53463f(0x193)][_0x53463f(0x3d0)](_0x3d353c,_0x254acc);if(!_0x5d08[_0x53463f(0x2ec)](_0x1cfce6))throw _0x1cfce6['error'];const _0x5c5d9f=(_0x34d641=(_0x42ec1d=_0x1cfce6[_0x53463f(0x4ee)][0x0])==null?void 0x0:_0x42ec1d[_0x53463f(0x428)])==null?void 0x0:_0x34d641[_0x53463f(0x1d4)];Array[_0x53463f(0x1d8)](_0x5c5d9f)&&_0x5c5d9f['length']&&this[_0x53463f(0x557)]['get'](_0x278695[_0x53463f(0x46e)])[_0x53463f(0x2bd)](_0x30bfa9[_0x53463f(0x54b)]['id'],{'unitId':_0x2c96d0,'subUnitId':_0x20aeef,'selections':_0x5c5d9f});}};_0x3cacd1=_0x3b09a9([_0x238b65(0x0,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x238b65(0x1,_0x5d08[_0x406fa3(0x4fb)]),_0x238b65(0x2,_0x278695[_0x406fa3(0x2d6)])],_0x3cacd1);const _0x3af33e=_0x278695['createIdentifier'](_0x406fa3(0x25b));var _0x2f7073=(_0xf0a1f4=>(_0xf0a1f4[_0xf0a1f4[_0x406fa3(0x580)]=0x0]=_0x406fa3(0x580),_0xf0a1f4[_0xf0a1f4[_0x406fa3(0x1ef)]=0x1]=_0x406fa3(0x1ef),_0xf0a1f4))(_0x2f7073||{});const _0x597be9=0x7530,_0x58f6a8=_0x406fa3(0x1d5);class _0x898983 extends _0x278695['Disposable']{constructor(){const _0x1ccab8=_0x406fa3;super(),_0x175777(this,'_id',_0x278695['Tools'][_0x1ccab8(0x410)]()),_0x175777(this,_0x1ccab8(0x368),new Set()),_0x175777(this,_0x1ccab8(0x2e8),new Map()),_0x175777(this,_0x1ccab8(0x501),null),_0x175777(this,_0x1ccab8(0x4aa),new Map()),_0x175777(this,_0x1ccab8(0x3ac),new Map()),this[_0x1ccab8(0x402)]();}[_0x406fa3(0x1f1)](){const _0x4eed42=_0x406fa3;super[_0x4eed42(0x1f1)](),this[_0x4eed42(0x4aa)][_0x4eed42(0x569)]((_0x88dcf2,_0x236bc3)=>this[_0x4eed42(0x469)](_0x236bc3)),this[_0x4eed42(0x501)]&&window[_0x4eed42(0x4ae)](this['_heartbeatTimer']);}[_0x406fa3(0x482)](_0x6ba6a4){const _0x192b7f=_0x406fa3;return this[_0x192b7f(0x3ef)](_0x6ba6a4)[_0x192b7f(0x2b3)](_0x34a6cc['distinctUntilChanged']());}[_0x406fa3(0x39e)](_0x42d00c){const _0x3f4459=_0x406fa3;this[_0x3f4459(0x368)][_0x3f4459(0x18a)]===0x0&&this[_0x3f4459(0x575)](),this[_0x3f4459(0x368)]['add'](_0x42d00c),this['_send']({'type':0x0,'memberID':this[_0x3f4459(0x319)],'unitIDs':[_0x42d00c],'isForwarded':!0x1});}[_0x406fa3(0x3f3)](_0x33d55c){const _0x4bf96e=_0x406fa3;this[_0x4bf96e(0x368)][_0x4bf96e(0x29a)](_0x33d55c),this[_0x4bf96e(0x368)][_0x4bf96e(0x18a)]===0x0&&this[_0x4bf96e(0x501)]&&window[_0x4bf96e(0x4ae)](this[_0x4bf96e(0x501)]);}[_0x406fa3(0x402)](){const _0x2edc1c=_0x406fa3;this[_0x2edc1c(0x343)](_0x278695[_0x2edc1c(0x1c8)](_0x34a6cc[_0x2edc1c(0x173)](window,_0x2edc1c(0x506))['subscribe'](_0x3501ba=>{const _0x481715=_0x2edc1c;if(_0x3501ba[_0x481715(0x582)]!==_0x58f6a8||!_0x3501ba[_0x481715(0x35c)])return;const _0x1bae3f=JSON[_0x481715(0x2cc)](_0x3501ba['newValue']);this[_0x481715(0x42b)](_0x1bae3f);}))),window[_0x2edc1c(0x3bd)](_0x2edc1c(0x15e),()=>this[_0x2edc1c(0x2ce)]({'type':0x1,'memberID':this[_0x2edc1c(0x319)],'unitIDs':Array[_0x2edc1c(0x2dc)](this[_0x2edc1c(0x368)])}));}['_handleEvent'](_0x21a14e){const _0x248641=_0x406fa3;switch(_0x21a14e[_0x248641(0x460)]){case 0x0:this[_0x248641(0x515)](_0x21a14e);break;case 0x1:this[_0x248641(0x2b9)](_0x21a14e);break;case 0x2:this[_0x248641(0x3ce)](_0x21a14e);break;}}['_handleJoinEvent'](_0x59059c){const _0x5bbe37=_0x406fa3,{unitIDs:_0x181362,memberID:_0x224d98,isForwarded:_0x5b3057}=_0x59059c;_0x181362['forEach'](_0x358d86=>{const _0x5d5084=_0x3463;if(!_0x5b3057&&this[_0x5d5084(0x2e8)][_0x5d5084(0x39d)](_0x358d86)&&this[_0x5d5084(0x3ef)](_0x358d86)['next'](0x1),!this[_0x5d5084(0x2e8)][_0x5d5084(0x39d)](_0x358d86)||!this[_0x5d5084(0x2e8)]['get'](_0x358d86)['has'](_0x224d98)){const _0x1e8770=this[_0x5d5084(0x2e8)][_0x5d5084(0x503)](_0x358d86)||new Set();_0x1e8770[_0x5d5084(0x1ee)](_0x224d98),this[_0x5d5084(0x2e8)][_0x5d5084(0x30e)](_0x358d86,_0x1e8770),this['_scheduleClearOtherTimer'](_0x224d98);}}),_0x5b3057||this['_send']({'type':0x0,'memberID':this[_0x5bbe37(0x319)],'unitIDs':[...this[_0x5bbe37(0x368)]],'isForwarded':!0x0});}[_0x406fa3(0x44d)](_0x4a63ac){const _0x22ac6d=_0x406fa3;this[_0x22ac6d(0x469)](_0x4a63ac);const _0x2f61ed=window[_0x22ac6d(0x4d6)](()=>{const _0x4bcba9=_0x22ac6d;this[_0x4bcba9(0x2e8)][_0x4bcba9(0x569)](_0x7ffd43=>{_0x7ffd43['delete'](_0x4a63ac);});},_0x597be9*0x2);this[_0x22ac6d(0x4aa)][_0x22ac6d(0x30e)](_0x4a63ac,_0x2f61ed);}['_removeClearOtherTimer'](_0x1474d5){const _0x4684cb=_0x406fa3;if(this[_0x4684cb(0x4aa)][_0x4684cb(0x39d)](_0x1474d5)){const _0x1793a4=this['_clearOtherTimers'][_0x4684cb(0x503)](_0x1474d5);_0x1793a4&&window[_0x4684cb(0x1cf)](_0x1793a4),this[_0x4684cb(0x4aa)]['set'](_0x1474d5,null);}}[_0x406fa3(0x2b9)](_0x502152){const _0x119e64=_0x406fa3,{memberID:_0x30b166,unitIDs:_0x2840a8}=_0x502152;_0x2840a8[_0x119e64(0x569)](_0x803f1c=>{const _0x328fe5=_0x119e64;var _0x4a2f9a;const _0x2e0ecb=this['_unitOnClients'][_0x328fe5(0x503)](_0x803f1c);_0x2e0ecb&&(_0x2e0ecb[_0x328fe5(0x29a)](_0x30b166),(_0x4a2f9a=this[_0x328fe5(0x3ef)](_0x803f1c))==null||_0x4a2f9a[_0x328fe5(0x321)](_0x2e0ecb['size']===0x0?0x0:0x1));}),this[_0x119e64(0x469)](_0x30b166);}['_handleHeartbeatEvent'](_0x510bb2){const _0x48bb81=_0x406fa3;this[_0x48bb81(0x44d)](_0x510bb2[_0x48bb81(0x1b2)]);}[_0x406fa3(0x2ce)](_0x8f8650){const _0x3bfb41=_0x406fa3;localStorage[_0x3bfb41(0x148)](_0x58f6a8,JSON[_0x3bfb41(0x2e0)](_0x8f8650));}[_0x406fa3(0x575)](){const _0x37075d=_0x406fa3;this['_heartbeatTimer']=window[_0x37075d(0x2e6)](()=>{const _0xccd3a0=_0x37075d;this['_send']({'type':0x2,'memberID':this[_0xccd3a0(0x319)]});},_0x597be9);}[_0x406fa3(0x3ef)](_0x277dde){const _0x1bbad6=_0x406fa3;return this[_0x1bbad6(0x3ac)][_0x1bbad6(0x39d)](_0x277dde)||this[_0x1bbad6(0x3ac)][_0x1bbad6(0x30e)](_0x277dde,new _0x34a6cc[(_0x1bbad6(0x4fe))](0x0)),this['_unitStatus'][_0x1bbad6(0x503)](_0x277dde);}}function _0x25ccab(_0x3741fa){const _0x190a7e=_0x406fa3;let _0x57f752='';for(const _0x1b1eac of _0x3741fa){const {startOffset:_0x114270,endOffset:_0x6d9a27,isActive:_0x5c1483}=_0x1b1eac;_0x57f752[_0x190a7e(0x565)]&&(_0x57f752+=','),_0x57f752+=_0x114270+':'+_0x6d9a27+':'+(_0x5c1483?'1':'0');}return _0x57f752;}function _0xbd178f(_0x3471cc){const _0x9fc63d=_0x406fa3,_0x57b1fc=_0x3471cc['split'](','),_0x1b5660=[];for(const _0x541567 of _0x57b1fc){const [_0x48d659,_0x570af8,_0x51cb5c]=_0x541567[_0x9fc63d(0x55d)](':');_0x1b5660[_0x9fc63d(0x355)]({'startOffset':Number(_0x48d659),'endOffset':Number(_0x570af8),'collapsed':_0x48d659===_0x570af8,'isActive':_0x51cb5c==='1'});}return _0x1b5660[_0x9fc63d(0x1bc)](_0x5b1efc=>_0x5b1efc[_0x9fc63d(0x522)])||(_0x1b5660[0x0][_0x9fc63d(0x522)]=!0x0),_0x1b5660;}class _0x5a7762 extends _0x278695[_0x406fa3(0x20b)]{constructor(){const _0xad62ea=_0x406fa3;super(...arguments),_0x175777(this,'_collabCursorState$',new _0x34a6cc[(_0xad62ea(0x4fe))](null)),_0x175777(this,_0xad62ea(0x2e7),this[_0xad62ea(0x1df)][_0xad62ea(0x418)]());}[_0x406fa3(0x21e)](_0x1a180d){const _0x49d814=_0x406fa3,{unitID:_0x4341b7,memberID:_0x2b6e17,textRanges:_0x4dff28}=_0x1a180d,_0x2132ea=_0x25ccab(_0x4dff28),_0x2aadd2={'unitID':_0x4341b7,'memberID':_0x2b6e17,'selection':_0x2132ea};this[_0x49d814(0x1df)][_0x49d814(0x321)](_0x2aadd2);}}var _0x3ad9d3=Object['defineProperty'],_0x119a5e=Object[_0x406fa3(0x187)],_0x5ed732=(_0x42c247,_0xcc8f82,_0x56f99a,_0x4406e9)=>{const _0x10e2f0=_0x406fa3;for(var _0x2f65fc=_0x4406e9>0x1?void 0x0:_0x4406e9?_0x119a5e(_0xcc8f82,_0x56f99a):_0xcc8f82,_0x3e19b2=_0x42c247[_0x10e2f0(0x565)]-0x1,_0x141177;_0x3e19b2>=0x0;_0x3e19b2--)(_0x141177=_0x42c247[_0x3e19b2])&&(_0x2f65fc=(_0x4406e9?_0x141177(_0xcc8f82,_0x56f99a,_0x2f65fc):_0x141177(_0x2f65fc))||_0x2f65fc);return _0x4406e9&&_0x2f65fc&&_0x3ad9d3(_0xcc8f82,_0x56f99a,_0x2f65fc),_0x2f65fc;},_0x2a2e3a=(_0x59a958,_0x5e3fc7)=>(_0x4c9812,_0xedc500)=>_0x5e3fc7(_0x4c9812,_0xedc500,_0x59a958);let _0x5c3f94=class{constructor(_0x470f44,_0x112638){const _0x12a200=_0x406fa3;this[_0x12a200(0x557)]=_0x470f44,this[_0x12a200(0x193)]=_0x112638;}[_0x406fa3(0x178)](_0x56bca1){const _0xc2d813=_0x406fa3;var _0x2c8f2b;const _0x516d07=this[_0xc2d813(0x557)][_0xc2d813(0x503)](_0x3435c3[_0xc2d813(0x318)]),_0x301ebf=(_0x2c8f2b=_0x516d07[_0xc2d813(0x2b0)]())!=null?_0x2c8f2b:[];if(_0x301ebf[_0xc2d813(0x565)]===0x0)return;const _0x39b671=[{'id':_0xc2d813(0x22b),'params':{'unitId':_0x56bca1[_0xc2d813(0x42a)],'actions':null,'textRanges':_0x301ebf}}],_0x5c3e79=this[_0xc2d813(0x193)][_0xc2d813(0x3d0)](_0x56bca1,_0x39b671);if(!_0x5d08[_0xc2d813(0x2ec)](_0x5c3e79))throw _0x5c3e79[_0xc2d813(0x228)];const _0x2cbf95=_0x5c3e79[_0xc2d813(0x4ee)][0x0][_0xc2d813(0x428)][_0xc2d813(0x14a)];Array[_0xc2d813(0x1d8)](_0x2cbf95)&&_0x2cbf95[_0xc2d813(0x565)]&&_0x516d07['replaceTextRanges'](_0x2cbf95,!0x1);}};_0x5c3f94=_0x5ed732([_0x2a2e3a(0x0,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x2a2e3a(0x1,_0x5d08[_0x406fa3(0x4fb)])],_0x5c3f94);const _0x2f6433=new Set([_0x30bfa9[_0x406fa3(0x2e2)]['id']]);function _0xf0ee43(_0xca3a7c,_0x3a806c,_0xc9a68f,_0x4c378e,_0x3496ed){const _0x580b4a=_0x406fa3;var _0x28d194,_0x946ff9,_0x4b3b9f,_0x1c6b10;const _0x430303=[];for(const _0x1fa055 of _0xca3a7c)if(_0x2f6433[_0x580b4a(0x39d)](_0x1fa055['id'])){if(_0x430303[_0x580b4a(0x565)]>0x0)break;_0x430303[_0x580b4a(0x355)](_0x1fa055);break;}else _0x430303[_0x580b4a(0x355)](_0x1fa055);const _0x20dfff=(_0x946ff9=(_0x28d194=_0x3496ed[_0x580b4a(0x399)]())==null?void 0x0:_0x28d194[_0x580b4a(0x548)])!=null?_0x946ff9:_0x580b4a(0x2f8),_0x549f00=(_0x1c6b10=(_0x4b3b9f=_0x3496ed['getCurrentUser']())==null?void 0x0:_0x4b3b9f[_0x580b4a(0x1b2)])!=null?_0x1c6b10:_0x580b4a(0x2f8);return{'changeset':{'unitID':_0x3a806c,'type':_0x5d08[_0x580b4a(0x43f)](_0xc9a68f[_0x580b4a(0x28f)](_0x3a806c)),'baseRev':_0x4c378e[_0x580b4a(0x559)](_0x3a806c),'revision':0x0,'userID':_0x20dfff,'memberID':_0x549f00,'mutations':_0x430303},'pendingMutations':_0xca3a7c[_0x580b4a(0x20f)](_0x430303['length'])};}function _0x23dedd(_0x62abc5,_0x4a54e1,_0x5454f0,_0x1a9361,_0x413ccb){const _0x1d9bbf=_0x406fa3;var _0x4ca1bd,_0xc690aa,_0x354831,_0x17d56e;const _0x9b8f1c=[_0x62abc5[_0x1d9bbf(0x279)]((_0x1d5974,_0x45147b)=>{const _0x101357=_0x1d9bbf;var _0x3b2ef6;const {id:_0x27b801}=_0x1d5974,{id:_0x1a88e3,type:_0x880c5d}=_0x45147b,_0x529e3a=(_0x3b2ef6=_0x1d5974[_0x101357(0x428)])!=null?_0x3b2ef6:{'actions':null},_0x449f25=_0x45147b[_0x101357(0x428)];if(_0x27b801&&_0x27b801!==_0x1a88e3)throw new Error(_0x101357(0x29e)+_0x27b801+_0x101357(0x285)+_0x1a88e3+'.');return{..._0x1d5974,'id':_0x1a88e3,'type':_0x880c5d,'params':{'unitId':_0x449f25['unitId'],'textRanges':_0x449f25[_0x101357(0x14a)],'actions':_0x278695[_0x101357(0x191)][_0x101357(0x425)](_0x529e3a[_0x101357(0x161)],_0x449f25[_0x101357(0x161)])}};},{})],_0x4cdf40=(_0xc690aa=(_0x4ca1bd=_0x413ccb[_0x1d9bbf(0x399)]())==null?void 0x0:_0x4ca1bd[_0x1d9bbf(0x548)])!=null?_0xc690aa:_0x1d9bbf(0x2f8),_0x5051e7=(_0x17d56e=(_0x354831=_0x413ccb[_0x1d9bbf(0x399)]())==null?void 0x0:_0x354831[_0x1d9bbf(0x1b2)])!=null?_0x17d56e:_0x1d9bbf(0x2f8);return{'changeset':{'unitID':_0x4a54e1,'type':_0x5d08[_0x1d9bbf(0x43f)](_0x5454f0[_0x1d9bbf(0x28f)](_0x4a54e1)),'baseRev':_0x1a9361[_0x1d9bbf(0x559)](_0x4a54e1),'revision':0x0,'userID':_0x4cdf40,'memberID':_0x5051e7,'mutations':_0x9b8f1c},'pendingMutations':[]};}const _0x521383={'id':_0x30bfa9[_0x406fa3(0x467)]['id'],'type':_0x278695[_0x406fa3(0x46f)][_0x406fa3(0x2b4)],'params':{}};var _0x8c4180=Object[_0x406fa3(0x1a2)],_0x11121b=Object[_0x406fa3(0x187)],_0x10fc10=(_0xb809a2,_0x3246f1,_0x8039ed,_0x58a359)=>{const _0x4676c3=_0x406fa3;for(var _0x231280=_0x58a359>0x1?void 0x0:_0x58a359?_0x11121b(_0x3246f1,_0x8039ed):_0x3246f1,_0x228d06=_0xb809a2[_0x4676c3(0x565)]-0x1,_0x692a13;_0x228d06>=0x0;_0x228d06--)(_0x692a13=_0xb809a2[_0x228d06])&&(_0x231280=(_0x58a359?_0x692a13(_0x3246f1,_0x8039ed,_0x231280):_0x692a13(_0x231280))||_0x231280);return _0x58a359&&_0x231280&&_0x8c4180(_0x3246f1,_0x8039ed,_0x231280),_0x231280;},_0x4b9d23=(_0x2211da,_0x310c59)=>(_0x535c74,_0x372216)=>_0x310c59(_0x535c74,_0x372216,_0x2211da),_0x59cf14=(_0x4e2bf1=>(_0x4e2bf1[_0x406fa3(0x22f)]=_0x406fa3(0x43c),_0x4e2bf1[_0x406fa3(0x21f)]=_0x406fa3(0x2f3),_0x4e2bf1[_0x406fa3(0x2a9)]=_0x406fa3(0x293),_0x4e2bf1[_0x406fa3(0x1aa)]=_0x406fa3(0x168),_0x4e2bf1[_0x406fa3(0x2e3)]=_0x406fa3(0x4e1),_0x4e2bf1[_0x406fa3(0x4ad)]=_0x406fa3(0x269),_0x4e2bf1['CONFLICT']=_0x406fa3(0x23f),_0x4e2bf1[_0x406fa3(0x372)]=_0x406fa3(0x1ce),_0x4e2bf1))(_0x59cf14||{});class _0x35779b{constructor(_0x3dcb36,_0x201753,_0x5a1fc5,_0x141b24,_0x43dad9,_0xa9362e,_0x454b97,_0x373d09,_0x444bb0){const _0x4e3247=_0x406fa3;_0x175777(this,_0x4e3247(0x250),null),_0x175777(this,'_pendingMutations',[]),(this[_0x4e3247(0x42a)]=_0x3dcb36,this['type']=_0x201753,this['_handler']=_0x43dad9,this['_commandService']=_0xa9362e,this[_0x4e3247(0x3df)]=_0x454b97,this[_0x4e3247(0x22d)]=_0x373d09,this[_0x4e3247(0x1ac)]=_0x444bb0,this[_0x4e3247(0x250)]=_0x5a1fc5,this['_pendingMutations']=_0x141b24);}[_0x406fa3(0x176)](_0x550afe){const _0x3c2441=_0x406fa3,_0x1ef549=this[_0x3c2441(0x22d)]['getCurrentRevOfUnit'](this[_0x3c2441(0x42a)]);return _0x550afe[_0x3c2441(0x2c5)]>_0x1ef549+0x1?(this[_0x3c2441(0x4d2)][_0x3c2441(0x393)]({'from':_0x1ef549,'to':_0x550afe[_0x3c2441(0x2c5)]-0x1}),!0x0):!0x1;}[_0x406fa3(0x4d4)](_0x5d3329){const _0x284cea=_0x406fa3;this[_0x284cea(0x3df)][_0x284cea(0x3ee)](this[_0x284cea(0x42a)],_0x5d3329);}[_0x406fa3(0x434)](_0x51e3c1){const _0x514832=_0x406fa3;var _0x4d5e4a,_0x254daf;(_0x254daf=(_0x4d5e4a=this[_0x514832(0x4d2)])['onTransformSelections'])==null||_0x254daf[_0x514832(0x254)](_0x4d5e4a,_0x51e3c1);}[_0x406fa3(0x536)](_0x28a8c3){const _0x7abeda=_0x406fa3;var _0x2249fe,_0x16b7e1;return(_0x16b7e1=(_0x2249fe=this[_0x7abeda(0x4d2)])['onTransformIME'])==null?void 0x0:_0x16b7e1['call'](_0x2249fe,_0x28a8c3);}['_transformRemoteChangesetByIMECache'](_0x59f532){const _0x30a2cd=_0x406fa3;var _0x40d3a7,_0x2edba2,_0x4479b0;return(_0x4479b0=(_0x2edba2=(_0x40d3a7=this[_0x30a2cd(0x4d2)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2edba2[_0x30a2cd(0x254)](_0x40d3a7,_0x59f532))!=null?_0x4479b0:_0x59f532;}[_0x406fa3(0x2be)](_0x4e0f9b){const _0x51768d=_0x406fa3;var _0x594094,_0x2279c4;if(this['type']===_0x5b1b3b[_0x51768d(0x373)]){const {unitID:_0x461f23,mutations:_0x1d65a0,memberID:_0x42a6d5}=_0x4e0f9b,_0xc18ad4=_0x1d65a0[0x0]['params'][_0x51768d(0x14a)];Array[_0x51768d(0x1d8)](_0xc18ad4)&&_0xc18ad4[_0x51768d(0x565)]>0x0&&((_0x2279c4=(_0x594094=this[_0x51768d(0x4d2)])[_0x51768d(0x553)])==null||_0x2279c4[_0x51768d(0x254)](_0x594094,{'unitID':_0x461f23,'memberID':_0x42a6d5,'textRanges':_0xc18ad4}));}}[_0x406fa3(0x4c3)](){const _0x561618=_0x406fa3;this[_0x561618(0x1ac)][_0x561618(0x585)](this[_0x561618(0x42a)],this[_0x561618(0x460)],this[_0x561618(0x250)],this[_0x561618(0x4c8)]);}['_getCurrentRevision'](){const _0x55d59e=_0x406fa3;return this[_0x55d59e(0x22d)][_0x55d59e(0x559)](this[_0x55d59e(0x42a)]);}[_0x406fa3(0x39a)](){const _0x3e180e=_0x406fa3;this[_0x3e180e(0x22d)][_0x3e180e(0x30c)](this[_0x3e180e(0x42a)]);}[_0x406fa3(0x36b)](_0x19df0e){const _0x41a5be=_0x406fa3;var _0x53e49b;const _0x25a01f=this[_0x41a5be(0x305)](_0x19df0e),_0x274310=_0x278695[_0x41a5be(0x33d)](_0x25a01f[_0x41a5be(0x384)],this[_0x41a5be(0x237)],{'fromCollab':!0x0});if(!_0x274310[_0x41a5be(0x175)])throw _0x274310[_0x41a5be(0x228)]instanceof Error?_0x274310[_0x41a5be(0x228)]:new Error((_0x53e49b=_0x274310['error'])!=null?_0x53e49b:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x25a01f),this[_0x41a5be(0x4d4)](_0x19df0e),this['_transformSelections'](_0x25a01f),this[_0x41a5be(0x2be)](_0x25a01f),this['_incrementRevisionNumber']();}}let _0x1305ec=class extends _0x35779b{constructor(_0x50d52d,_0x197777,_0x50682b,_0x3f9c47,_0x8fe115,_0x10a381,_0x14250d,_0x1529df,_0xdca6a8,_0x2fbb81){const _0x3741a8=_0x406fa3;super(_0x50d52d,_0x197777,null,[],_0x50682b,_0x1529df,_0x14250d,_0x3f9c47,_0x8fe115),_0x175777(this,_0x3741a8(0x222),'synced'),(this[_0x3741a8(0x557)]=_0x10a381,this[_0x3741a8(0x334)]=_0xdca6a8,this['_transformService']=_0x2fbb81);}[_0x406fa3(0x531)](_0x2d6dfb){const _0x4b686e=_0x406fa3,_0x417e1c=this[_0x4b686e(0x557)][_0x4b686e(0x13d)](_0xcac224,this[_0x4b686e(0x42a)],this['type'],[_0x2d6dfb],this[_0x4b686e(0x4d2)]);return _0x417e1c[_0x4b686e(0x40d)](),_0x417e1c[_0x4b686e(0x4c3)](),_0x417e1c;}[_0x406fa3(0x345)](_0x218345){const _0x441d81=_0x406fa3;if(this[_0x441d81(0x176)](_0x218345))return this[_0x441d81(0x557)]['createInstance'](_0x4c7e44,this[_0x441d81(0x42a)],this['type'],null,[],null,[_0x218345],this[_0x441d81(0x4d2)]);try{const _0x488efe=this[_0x441d81(0x193)][_0x441d81(0x3d0)](_0x218345,[_0x521383]);if(_0x5d08[_0x441d81(0x2ec)](_0x488efe)){const {c1Prime:_0x450909}=_0x488efe;return this[_0x441d81(0x36b)](_0x450909),this;}throw _0x488efe[_0x441d81(0x228)];}catch(_0x385436){return this['_logService'][_0x441d81(0x228)](_0x385436),this['_onConflict'](!0x1);}}[_0x406fa3(0x43b)](_0x99ee49){const _0x180822=_0x406fa3;return this[_0x180822(0x557)][_0x180822(0x13d)](_0x560f8f,this[_0x180822(0x42a)],this['type'],null,[],this[_0x180822(0x4d2)],_0x99ee49);}[_0x406fa3(0x47f)](){const _0x11f877=_0x406fa3;throw new Error(_0x11f877(0x385));}[_0x406fa3(0x1f4)](){const _0x266324=_0x406fa3;throw new Error(_0x266324(0x197));}[_0x406fa3(0x16c)](){const _0x3808e2=_0x406fa3;return this[_0x3808e2(0x557)][_0x3808e2(0x13d)](_0x347fdb,this[_0x3808e2(0x42a)],this[_0x3808e2(0x460)],null,[],this[_0x3808e2(0x4d2)]);}[_0x406fa3(0x3dd)](){return this;}[_0x406fa3(0x4ec)](){const _0x171e24=_0x406fa3;throw new Error(_0x171e24(0x4cc));}[_0x406fa3(0x499)](){const _0xfcc1d=_0x406fa3,_0x1e8797=this[_0xfcc1d(0x22d)][_0xfcc1d(0x559)](this['unitID']);return this[_0xfcc1d(0x4d2)][_0xfcc1d(0x393)]({'from':_0x1e8797,'to':0x0}),this[_0xfcc1d(0x557)][_0xfcc1d(0x13d)](_0x4c7e44,this[_0xfcc1d(0x42a)],this['type'],null,[],null,[],this[_0xfcc1d(0x4d2)]);}};_0x1305ec=_0x10fc10([_0x4b9d23(0x3,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0x4,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0x5,_0x278695['Inject'](_0x278695['Injector'])),_0x4b9d23(0x6,_0x278695[_0x406fa3(0x366)]),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0x8,_0x278695[_0x406fa3(0x21a)]),_0x4b9d23(0x9,_0x5d08[_0x406fa3(0x4fb)])],_0x1305ec);let _0xcac224=class extends _0x35779b{constructor(_0xc9b75a,_0x1a0572,_0x481747,_0xfacfd1,_0xf9cda2,_0x2bf47b,_0x1413a1,_0x633444,_0x47892d,_0x1dfa78,_0x5d749a,_0x3079da,_0x2c5a45,_0x104cb7){const _0x53b2af=_0x406fa3;super(_0xc9b75a,_0x1a0572,null,_0x481747,_0xfacfd1,_0x1dfa78,_0x104cb7,_0x2bf47b,_0x1413a1),_0x175777(this,_0x53b2af(0x222),_0x53b2af(0x293)),_0x175777(this,_0x53b2af(0x34d),null),_0x175777(this,_0x53b2af(0x204),null),(this[_0x53b2af(0x557)]=_0xf9cda2,this['_memberService']=_0x633444,this[_0x53b2af(0x334)]=_0x47892d,this['_configService']=_0x5d749a,this['_transformService']=_0x3079da,this[_0x53b2af(0x45b)]=_0x2c5a45);}['appendMutation'](_0x70c065){const _0x22720b=_0x406fa3;return this[_0x22720b(0x4c8)][_0x22720b(0x355)](_0x70c065),this[_0x22720b(0x4c3)](),this;}[_0x406fa3(0x345)](_0x42cad9){const _0x2d02a4=_0x406fa3;if(this['_checkMissing'](_0x42cad9))return this[_0x2d02a4(0x2c8)](),this[_0x2d02a4(0x557)][_0x2d02a4(0x13d)](_0x4c7e44,this[_0x2d02a4(0x42a)],this[_0x2d02a4(0x460)],null,this[_0x2d02a4(0x4c8)],null,[_0x42cad9],this[_0x2d02a4(0x4d2)]);try{const _0x45a514=this['_transformService'][_0x2d02a4(0x3d0)](_0x42cad9,this[_0x2d02a4(0x4c8)]);if(_0x5d08[_0x2d02a4(0x2ec)](_0x45a514)){const {c1Prime:_0x92b7b7,m2Prime:_0x42e1db}=_0x45a514;this[_0x2d02a4(0x36b)](_0x92b7b7);const _0xb3895d=this['_injector'][_0x2d02a4(0x13d)](_0xcac224,this[_0x2d02a4(0x42a)],this[_0x2d02a4(0x460)],_0x42e1db,this[_0x2d02a4(0x4d2)]);return this[_0x2d02a4(0x2c8)](),_0xb3895d[_0x2d02a4(0x40d)](this['_scheduleTimestamp']?Math[_0x2d02a4(0x1bb)](0x0,new Date()[_0x2d02a4(0x277)]()-this[_0x2d02a4(0x34d)]):this[_0x2d02a4(0x479)]()),_0xb3895d;}throw _0x45a514['error'];}catch(_0x515d7a){return this[_0x2d02a4(0x334)]['error'](_0x515d7a),this[_0x2d02a4(0x43b)](!0x1);}}[_0x406fa3(0x47f)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x246629=_0x406fa3;throw new Error(_0x246629(0x348));}[_0x406fa3(0x16c)](){const _0x7eb8b2=_0x406fa3;return this[_0x7eb8b2(0x2c8)](),this[_0x7eb8b2(0x557)][_0x7eb8b2(0x13d)](_0x347fdb,this['unitID'],this['type'],null,this[_0x7eb8b2(0x4c8)],this[_0x7eb8b2(0x4d2)]);}[_0x406fa3(0x3dd)](){return this;}[_0x406fa3(0x40d)](_0x21b832){const _0x2b3ddf=_0x406fa3,_0x229a56=_0x21b832!=null?_0x21b832:this['_getSendChangesetTimeout']();this[_0x2b3ddf(0x34d)]=new Date()[_0x2b3ddf(0x277)](),this['_sendingTimer']=window[_0x2b3ddf(0x4d6)](()=>{const _0x3beabc=_0x2b3ddf;this[_0x3beabc(0x2c8)]();let _0x504854=null;switch(this['type']){case _0x5b1b3b['UNIVER_SHEET']:{_0x504854=_0xf0ee43(this['_pendingMutations'],this['unitID'],this[_0x3beabc(0x45b)],this[_0x3beabc(0x22d)],this[_0x3beabc(0x3e4)]);break;}case _0x5b1b3b[_0x3beabc(0x373)]:{this[_0x3beabc(0x4c8)][_0x3beabc(0x1a5)](_0x41031a=>_0x41031a['id']===_0x3435c3[_0x3beabc(0x287)]['id'])?_0x504854=_0x23dedd(this[_0x3beabc(0x4c8)],this[_0x3beabc(0x42a)],this[_0x3beabc(0x45b)],this[_0x3beabc(0x22d)],this[_0x3beabc(0x3e4)]):_0x504854=_0xf0ee43(this[_0x3beabc(0x4c8)],this[_0x3beabc(0x42a)],this[_0x3beabc(0x45b)],this['_revisionService'],this[_0x3beabc(0x3e4)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3beabc(0x460)]+_0x3beabc(0x38c));}const {changeset:_0x1b44fa,pendingMutations:_0xe49e4d}=_0x504854;this[_0x3beabc(0x4d2)]['onSendChangeset'](_0x1b44fa);const _0x593e0c=_0xe49e4d['length']?this[_0x3beabc(0x557)][_0x3beabc(0x13d)](_0x2b71f7,this[_0x3beabc(0x42a)],this['type'],_0x1b44fa,_0xe49e4d,this[_0x3beabc(0x4d2)]):this[_0x3beabc(0x557)][_0x3beabc(0x13d)](_0x257a72,this[_0x3beabc(0x42a)],this['type'],_0x1b44fa,this[_0x3beabc(0x4d2)]);_0x593e0c['_updateLocalCache'](),this[_0x3beabc(0x4d2)][_0x3beabc(0x192)](this,_0x593e0c);},_0x229a56);}[_0x406fa3(0x479)](){const _0x46164a=_0x406fa3;var _0x2b07db;const _0xdf9072=this['_configService'][_0x46164a(0x377)](_0x41c87a);return(_0x2b07db=_0xdf9072==null?void 0x0:_0xdf9072['sendChangesetTimeout'])!=null?_0x2b07db:0x7d0;}[_0x406fa3(0x4ec)](){const _0x249092=_0x406fa3;throw new Error(_0x249092(0x4b5));}['_clearScheduledTask'](){const _0x2d7fbc=_0x406fa3;this[_0x2d7fbc(0x204)]!=null&&(clearTimeout(this[_0x2d7fbc(0x204)]),this[_0x2d7fbc(0x204)]=null);}[_0x406fa3(0x43b)](_0x29da74){const _0x37a965=_0x406fa3;return this[_0x37a965(0x2c8)](),this['_injector']['createInstance'](_0x560f8f,this[_0x37a965(0x42a)],this['type'],null,this[_0x37a965(0x4c8)],this[_0x37a965(0x4d2)],_0x29da74);}};_0xcac224=_0x10fc10([_0x4b9d23(0x4,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x4b9d23(0x5,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0x6,_0x278695['Inject'](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x2cb)](_0x76bc39)),_0x4b9d23(0x8,_0x278695[_0x406fa3(0x21a)]),_0x4b9d23(0x9,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0xa,_0x278695['IConfigService']),_0x4b9d23(0xb,_0x5d08[_0x406fa3(0x4fb)]),_0x4b9d23(0xc,_0x278695[_0x406fa3(0x2d6)]),_0x4b9d23(0xd,_0x278695['IUndoRedoService'])],_0xcac224);let _0x257a72=class extends _0x35779b{constructor(_0x570f95,_0xe94ec3,_0x437395,_0x41d8f5,_0x237368,_0x518070,_0x25d940,_0x1c979c,_0x39a4d2,_0x157f42,_0x10c1a0){const _0x22e98f=_0x406fa3;super(_0x570f95,_0xe94ec3,_0x437395,[],_0x41d8f5,_0x1c979c,_0x10c1a0,_0x518070,_0x25d940),_0x175777(this,_0x22e98f(0x222),'awaiting'),(this[_0x22e98f(0x557)]=_0x237368,this['_logService']=_0x39a4d2,this[_0x22e98f(0x193)]=_0x157f42);}[_0x406fa3(0x531)](_0x398797){const _0xcae25f=_0x406fa3,_0x15034e=this[_0xcae25f(0x557)][_0xcae25f(0x13d)](_0x2b71f7,this[_0xcae25f(0x42a)],this[_0xcae25f(0x460)],this[_0xcae25f(0x250)],[_0x398797],this[_0xcae25f(0x4d2)]);return _0x15034e[_0xcae25f(0x4c3)](),_0x15034e;}[_0x406fa3(0x345)](_0x3f8456){const _0x2f9211=_0x406fa3;if(this[_0x2f9211(0x176)](_0x3f8456))return this[_0x2f9211(0x557)]['createInstance'](_0x4c7e44,this[_0x2f9211(0x42a)],this[_0x2f9211(0x460)],this[_0x2f9211(0x250)],[],null,[_0x3f8456],this[_0x2f9211(0x4d2)]);try{const _0x1b2259=this[_0x2f9211(0x193)][_0x2f9211(0x3f6)]([_0x3f8456],[this[_0x2f9211(0x250)]],!0x1);if(_0x5d08[_0x2f9211(0x1e0)](_0x1b2259)){const {c1Prime:_0x3fd141,c2Prime:_0x2e7b24}=_0x1b2259;this[_0x2f9211(0x36b)](_0x3fd141[0x0]),_0x2e7b24[0x0]['baseRev']=this['_getCurrentRevision']();const _0x592e01=this['_injector'][_0x2f9211(0x13d)](_0x257a72,this[_0x2f9211(0x42a)],this[_0x2f9211(0x460)],_0x2e7b24[0x0],this[_0x2f9211(0x4d2)]);return _0x592e01[_0x2f9211(0x4c3)](),_0x592e01;}return this[_0x2f9211(0x43b)](!0x1);}catch(_0x1e963b){return this[_0x2f9211(0x334)][_0x2f9211(0x228)](_0x1e963b),this['_onConflict'](!0x1);}}[_0x406fa3(0x47f)](_0x23dbff){const _0x41bae7=_0x406fa3,_0x321c20=this['_revisionService']['getCurrentRevOfUnit'](this[_0x41bae7(0x42a)]);if(_0x23dbff[_0x41bae7(0x2c5)]<_0x321c20-0x1)return this;if(this[_0x41bae7(0x176)](_0x23dbff))return this[_0x41bae7(0x557)][_0x41bae7(0x13d)](_0x4c7e44,this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x41bae7(0x39a)]();const _0x22aa18=this['_injector'][_0x41bae7(0x13d)](_0x1305ec,this[_0x41bae7(0x42a)],this[_0x41bae7(0x460)],this[_0x41bae7(0x4d2)]);return _0x22aa18[_0x41bae7(0x4c3)](),_0x22aa18;}[_0x406fa3(0x1f4)](_0x582020){const _0x1b4fab=_0x406fa3;return this[_0x1b4fab(0x43b)](!!(_0x582020!=null&&_0x582020[_0x1b4fab(0x509)]));}['toggleOffline'](){const _0x2cf012=_0x406fa3;return this[_0x2cf012(0x557)]['createInstance'](_0x347fdb,this[_0x2cf012(0x42a)],this[_0x2cf012(0x460)],this[_0x2cf012(0x250)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x406fa3(0x4ec)](){const _0x2cc73e=_0x406fa3;this[_0x2cc73e(0x4d2)][_0x2cc73e(0x2ea)](this[_0x2cc73e(0x250)]);}[_0x406fa3(0x43b)](_0x346946){const _0x2001e1=_0x406fa3;return this[_0x2001e1(0x557)][_0x2001e1(0x13d)](_0x560f8f,this[_0x2001e1(0x42a)],this['type'],this[_0x2001e1(0x250)],[],this[_0x2001e1(0x4d2)],_0x346946);}};_0x257a72=_0x10fc10([_0x4b9d23(0x4,_0x278695[_0x406fa3(0x2cb)](_0x278695['Injector'])),_0x4b9d23(0x5,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0x6,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0x8,_0x278695[_0x406fa3(0x21a)]),_0x4b9d23(0x9,_0x5d08['ITransformService']),_0x4b9d23(0xa,_0x278695[_0x406fa3(0x366)])],_0x257a72);let _0x2b71f7=class extends _0x35779b{constructor(_0x3256b6,_0xb79828,_0x3d2ead,_0xcd1e63,_0x5a4310,_0x1bd60e,_0x51f624,_0x21bcba,_0x1b7d32,_0x455c5c,_0x5197db,_0x512590){const _0x377ee5=_0x406fa3;super(_0x3256b6,_0xb79828,_0x3d2ead,_0xcd1e63,_0x5a4310,_0x1b7d32,_0x512590,_0x51f624,_0x21bcba),_0x175777(this,_0x377ee5(0x222),'awaiting_with_pending'),(this[_0x377ee5(0x557)]=_0x1bd60e,this[_0x377ee5(0x334)]=_0x455c5c,this[_0x377ee5(0x193)]=_0x5197db);}[_0x406fa3(0x531)](_0x3b6de4){return this['_pendingMutations']['push'](_0x3b6de4),this;}[_0x406fa3(0x345)](_0xc0a1b8){const _0x5f571d=_0x406fa3;if(this[_0x5f571d(0x176)](_0xc0a1b8))return this['_injector'][_0x5f571d(0x13d)](_0x4c7e44,this[_0x5f571d(0x42a)],this['type'],this[_0x5f571d(0x250)],this['_pendingMutations'],null,[_0xc0a1b8],this[_0x5f571d(0x4d2)]);try{const _0x26e1a6=this[_0x5f571d(0x193)][_0x5f571d(0x3f6)]([_0xc0a1b8],[this[_0x5f571d(0x250)]],!0x1);if(_0x5d08[_0x5f571d(0x1e0)](_0x26e1a6)){const {c1Prime:_0x2d94d6,c2Prime:_0x42276a}=_0x26e1a6,_0x1bb54a=this['_transformService'][_0x5f571d(0x3d0)](_0x2d94d6[0x0],this[_0x5f571d(0x4c8)]);if(_0x5d08[_0x5f571d(0x2ec)](_0x1bb54a)){const {c1Prime:_0x188a37,m2Prime:_0x25bc05}=_0x1bb54a;return this[_0x5f571d(0x36b)](_0x188a37),_0x42276a[0x0][_0x5f571d(0x473)]=this[_0x5f571d(0x562)](),this[_0x5f571d(0x557)][_0x5f571d(0x13d)](_0x2b71f7,this['unitID'],this[_0x5f571d(0x460)],_0x42276a[0x0],_0x25bc05,this[_0x5f571d(0x4d2)]);}throw _0x1bb54a[_0x5f571d(0x228)];}throw _0x26e1a6[_0x5f571d(0x228)];}catch(_0x3c2fb7){return this[_0x5f571d(0x334)][_0x5f571d(0x228)](_0x3c2fb7),this[_0x5f571d(0x43b)](!0x1);}}[_0x406fa3(0x47f)](_0x269c33){const _0x4c2195=_0x406fa3;if(this[_0x4c2195(0x176)](_0x269c33))return this[_0x4c2195(0x557)][_0x4c2195(0x13d)](_0x4c7e44,this[_0x4c2195(0x42a)],this[_0x4c2195(0x460)],null,this[_0x4c2195(0x4c8)],this[_0x4c2195(0x250)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x2fed8f=this[_0x4c2195(0x557)]['createInstance'](_0xcac224,this[_0x4c2195(0x42a)],this[_0x4c2195(0x460)],this[_0x4c2195(0x4c8)],this[_0x4c2195(0x4d2)]);return _0x2fed8f[_0x4c2195(0x40d)](),_0x2fed8f[_0x4c2195(0x4c3)](),_0x2fed8f;}[_0x406fa3(0x1f4)](_0x508db0){return this['_onConflict'](!!(_0x508db0!=null&&_0x508db0['isPermissionRej']));}[_0x406fa3(0x16c)](){const _0x4695ae=_0x406fa3;return this['_injector'][_0x4695ae(0x13d)](_0x347fdb,this[_0x4695ae(0x42a)],this[_0x4695ae(0x460)],this[_0x4695ae(0x250)],this[_0x4695ae(0x4c8)],this[_0x4695ae(0x4d2)]);}[_0x406fa3(0x3dd)](){return this;}[_0x406fa3(0x4ec)](){const _0x3e966c=_0x406fa3;this[_0x3e966c(0x4d2)][_0x3e966c(0x2ea)](this[_0x3e966c(0x250)]);}['_onConflict'](_0x15c97c){const _0x3c9b3f=_0x406fa3;return this[_0x3c9b3f(0x557)][_0x3c9b3f(0x13d)](_0x560f8f,this[_0x3c9b3f(0x42a)],this[_0x3c9b3f(0x460)],null,this[_0x3c9b3f(0x4c8)],this[_0x3c9b3f(0x4d2)],_0x15c97c);}};_0x2b71f7=_0x10fc10([_0x4b9d23(0x5,_0x278695[_0x406fa3(0x2cb)](_0x278695['Injector'])),_0x4b9d23(0x6,_0x278695['Inject'](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0x8,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0x9,_0x278695[_0x406fa3(0x21a)]),_0x4b9d23(0xa,_0x5d08[_0x406fa3(0x4fb)]),_0x4b9d23(0xb,_0x278695[_0x406fa3(0x366)])],_0x2b71f7);let _0x560f8f=class extends _0x35779b{constructor(_0x3a1c86,_0x38dba0,_0x1204a1,_0x30bde8,_0x2be73c,_0x5270a9=!0x1,_0x38373f,_0x4ad4b3,_0x1c1d69,_0x4e29dc,_0x286b3b,_0x18bb16,_0x1a9f99){const _0x456ee0=_0x406fa3;super(_0x3a1c86,_0x38dba0,_0x1204a1,_0x30bde8,_0x2be73c,_0x4ad4b3,_0x1c1d69,_0x286b3b,_0x4e29dc),_0x175777(this,_0x456ee0(0x222),_0x456ee0(0x23f)),(this[_0x456ee0(0x323)]=_0x5270a9,this[_0x456ee0(0x511)]=_0x38373f,this[_0x456ee0(0x1b1)]=_0x18bb16,this[_0x456ee0(0x53f)]=_0x1a9f99,this[_0x456ee0(0x47b)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x406fa3(0x531)](){return this;}['onRemoteChangeset'](){return this;}[_0x406fa3(0x47f)](){return this;}['onRemoteRej'](){return this;}['toggleOffline'](){return this;}[_0x406fa3(0x3dd)](){return this;}[_0x406fa3(0x4ec)](){const _0x1267a5=_0x406fa3;throw new Error(_0x1267a5(0x4a6));}['_clearLocalCache'](){const _0x5c0bab=_0x406fa3;this['_localCacheService'][_0x5c0bab(0x585)](this[_0x5c0bab(0x42a)],this[_0x5c0bab(0x460)],null,[]);}[_0x406fa3(0x47b)](){const _0x2cd0ce=_0x406fa3;this[_0x2cd0ce(0x323)]?this[_0x2cd0ce(0x53f)]['show']({'title':this[_0x2cd0ce(0x1b1)]['t']('permission.title'),'content':this['_localeService']['t'](_0x2cd0ce(0x326)),'type':'error','duration':0x0}):this['_notificationService']['show']({'title':this[_0x2cd0ce(0x1b1)]['t'](_0x2cd0ce(0x25f)),'content':this[_0x2cd0ce(0x1b1)]['t']('conflict.content'),'type':'error','duration':0x0});}[_0x406fa3(0x3f1)](){const _0x258fb2=_0x406fa3;this[_0x258fb2(0x511)][_0x258fb2(0x31f)](new _0x30bfa9[(_0x258fb2(0x500))](this['unitID'])['id'],!0x1);}};_0x560f8f=_0x10fc10([_0x4b9d23(0x6,_0x278695[_0x406fa3(0x2cb)](_0x278695['IPermissionService'])),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0x8,_0x278695['IUndoRedoService']),_0x4b9d23(0x9,_0x278695['Inject'](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0xa,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0xb,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)])),_0x4b9d23(0xc,_0x42b7fc[_0x406fa3(0x34a)])],_0x560f8f);let _0x347fdb=class extends _0x35779b{constructor(_0x1a0d95,_0x2aa018,_0x98aa8d,_0x444405,_0x542466,_0x3fcf63,_0x2b3db0,_0x59a95b,_0x3ad35f,_0x5d245a){const _0x321208=_0x406fa3;super(_0x1a0d95,_0x2aa018,_0x98aa8d,_0x444405,_0x542466,_0x3ad35f,_0x5d245a,_0x2b3db0,_0x59a95b),_0x175777(this,_0x321208(0x222),_0x321208(0x1ce)),this['_injector']=_0x3fcf63;}[_0x406fa3(0x531)](_0x1528ff){const _0x472164=_0x406fa3;return this[_0x472164(0x4c8)][_0x472164(0x355)](_0x1528ff),this[_0x472164(0x4c3)](),this;}['onRemoteChangeset'](_0x4ea75a){const _0x4f4e39=_0x406fa3;throw new Error(_0x4f4e39(0x24a));}[_0x406fa3(0x47f)](){const _0x12b864=_0x406fa3;throw new Error(_0x12b864(0x162));}['onRemoteRej'](){const _0x578a60=_0x406fa3;throw new Error(_0x578a60(0x3fd));}[_0x406fa3(0x16c)](){return this;}[_0x406fa3(0x3dd)](){const _0x4aa01c=_0x406fa3,{_injector:_0xa68f17,_pendingMutations:_0x489a26,_awaitingChangeset:_0x5de55a,unitID:_0x24ba12,_handler:_0x39d595,type:_0x1a39a8}=this,_0x1faa58=_0x4963ac(_0xa68f17,_0x24ba12,_0x1a39a8,_0x5de55a,_0x489a26,_0x39d595);return _0x1faa58 instanceof _0xcac224?_0x1faa58[_0x4aa01c(0x40d)]():(_0x1faa58 instanceof _0x2b71f7||_0x1faa58 instanceof _0x257a72)&&_0x1faa58['resend'](),_0x1faa58;}[_0x406fa3(0x4ec)](){const _0x5f2614=_0x406fa3;throw new Error(_0x5f2614(0x561));}};_0x347fdb=_0x10fc10([_0x4b9d23(0x5,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x4b9d23(0x6,_0x278695['Inject'](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x2cb)](_0x121304['LocalCacheService'])),_0x4b9d23(0x8,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0x9,_0x278695[_0x406fa3(0x366)])],_0x347fdb);let _0x4c7e44=class extends _0x35779b{constructor(_0x57c8d5,_0x1bea53,_0x13d176,_0x2d9b05,_0x105cc5,_0x4472cf,_0x54fba1,_0x332b8a,_0x3b81e7,_0x7d4215,_0x219a85,_0x42698f,_0x3b4640,_0x502e69){const _0x56309a=_0x406fa3;super(_0x57c8d5,_0x1bea53,_0x13d176,_0x2d9b05,_0x54fba1,_0x42698f,_0x3b4640,_0x3b81e7,_0x7d4215),_0x175777(this,_0x56309a(0x222),_0x56309a(0x269)),(this['_acknowledgedAwaitingChangeset']=_0x105cc5,this['_queuedRemoteChangesets']=_0x4472cf,this[_0x56309a(0x557)]=_0x332b8a,this['_logService']=_0x219a85,this[_0x56309a(0x193)]=_0x502e69);}['onMissedChangesetFetched'](_0x4833c6){const _0x480769=_0x406fa3;try{const _0x5b131b=[..._0x4833c6,...this[_0x480769(0x311)]],_0x57c7ce=[this[_0x480769(0x250)]||this[_0x480769(0x313)]]['filter'](_0x3dd0ce=>!!_0x3dd0ce);let _0x5b84bb,_0x47b428;if(_0x57c7ce['length']){const _0x31f671=this[_0x480769(0x193)][_0x480769(0x3f6)](_0x5b131b,_0x57c7ce,!0x1);if(!_0x5d08[_0x480769(0x1e0)](_0x31f671))throw _0x31f671[_0x480769(0x228)];_0x5b84bb=_0x31f671[_0x480769(0x4c2)],_0x47b428=_0x31f671[_0x480769(0x39c)];}else _0x5b84bb=_0x5b131b,_0x47b428=[];let _0x385e06=this[_0x480769(0x4c8)];_0x5b84bb[_0x480769(0x569)](_0x1c0e2e=>{const _0x455e10=_0x480769;let _0x36df34;if(_0x385e06['length']){const _0x5ebee0=this[_0x455e10(0x193)][_0x455e10(0x3d0)](_0x1c0e2e,_0x385e06);if(!_0x5d08['isTransformMutationsWithChangesetSuccess'](_0x5ebee0))throw _0x5ebee0['error'];_0x36df34=_0x5ebee0[_0x455e10(0x4c2)],_0x385e06=_0x5ebee0[_0x455e10(0x4ee)];}else _0x36df34=_0x1c0e2e;this[_0x455e10(0x36b)](_0x36df34);}),this[_0x480769(0x313)]&&this['_incrementRevisionNumber'](),this[_0x480769(0x250)]&&_0x47b428[_0x480769(0x565)]&&(_0x47b428[0x0][_0x480769(0x473)]=this[_0x480769(0x562)]());let _0x31f585;if(this[_0x480769(0x250)]&&_0x385e06[_0x480769(0x565)]!==0x0)_0x31f585=this[_0x480769(0x557)][_0x480769(0x13d)](_0x2b71f7,this[_0x480769(0x42a)],this[_0x480769(0x460)],_0x47b428[0x0],_0x385e06,this[_0x480769(0x4d2)]);else{if(this['_awaitingChangeset']&&_0x385e06['length']===0x0)_0x47b428[0x0][_0x480769(0x473)]=this['_getCurrentRevision'](),_0x31f585=this[_0x480769(0x557)][_0x480769(0x13d)](_0x257a72,this[_0x480769(0x42a)],this[_0x480769(0x460)],_0x47b428[0x0],this[_0x480769(0x4d2)]);else{if(_0x385e06[_0x480769(0x565)]!==0x0){const _0x546e19=this[_0x480769(0x557)][_0x480769(0x13d)](_0xcac224,this[_0x480769(0x42a)],this['type'],_0x385e06,this['_handler']);_0x546e19[_0x480769(0x40d)](),_0x31f585=_0x546e19;}else _0x31f585=this['_injector'][_0x480769(0x13d)](_0x1305ec,this[_0x480769(0x42a)],this[_0x480769(0x460)],this['_handler']);}}return _0x31f585[_0x480769(0x4c3)](),_0x31f585;}catch(_0x495992){return this[_0x480769(0x334)]['error']('[FetchMissState]',_0x480769(0x182),_0x495992),this['_injector'][_0x480769(0x13d)](_0x560f8f,this[_0x480769(0x42a)],this[_0x480769(0x460)],this[_0x480769(0x250)],this[_0x480769(0x4c8)],this[_0x480769(0x4d2)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x406fa3(0x531)](_0x17db3b){const _0x42d4ab=_0x406fa3;return this[_0x42d4ab(0x4c8)][_0x42d4ab(0x355)](_0x17db3b),this;}[_0x406fa3(0x345)](_0x24c186){const _0x2b2907=_0x406fa3;return this[_0x2b2907(0x311)][_0x2b2907(0x355)](_0x24c186),this;}[_0x406fa3(0x47f)](_0x241629){const _0x2bbcbf=_0x406fa3;if(this[_0x2bbcbf(0x250)])return this[_0x2bbcbf(0x313)]=this[_0x2bbcbf(0x250)],this[_0x2bbcbf(0x250)]=null,this;throw new Error(_0x2bbcbf(0x4ba));}[_0x406fa3(0x1f4)](_0x1d866b){const _0x1345dd=_0x406fa3;return this[_0x1345dd(0x43b)](!!(_0x1d866b!=null&&_0x1d866b[_0x1345dd(0x509)]));}[_0x406fa3(0x16c)](){const _0x1c1d98=_0x406fa3;return this[_0x1c1d98(0x557)][_0x1c1d98(0x13d)](_0x347fdb,this[_0x1c1d98(0x42a)],this[_0x1c1d98(0x460)],this['_awaitingChangeset'],this[_0x1c1d98(0x4c8)],this[_0x1c1d98(0x4d2)]);}[_0x406fa3(0x3dd)](){return this;}[_0x406fa3(0x43b)](_0x2d4947){const _0xcdb427=_0x406fa3;return this[_0xcdb427(0x557)][_0xcdb427(0x13d)](_0x560f8f,this[_0xcdb427(0x42a)],this[_0xcdb427(0x460)],this[_0xcdb427(0x250)],this[_0xcdb427(0x4c8)],this[_0xcdb427(0x4d2)],_0x2d4947);}};_0x4c7e44=_0x10fc10([_0x4b9d23(0x7,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x4b9d23(0x8,_0x278695['Inject'](_0x5d08['RevisionService'])),_0x4b9d23(0x9,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0xa,_0x278695['ILogService']),_0x4b9d23(0xb,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0xc,_0x278695[_0x406fa3(0x366)]),_0x4b9d23(0xd,_0x5d08[_0x406fa3(0x4fb)])],_0x4c7e44);function _0x4963ac(_0x4ed937,_0x422a06,_0xb07e4,_0xbc0867,_0x538eea,_0x48d949){const _0x205d61=_0x406fa3;return _0xbc0867&&_0x538eea[_0x205d61(0x565)]?_0x4ed937[_0x205d61(0x13d)](_0x2b71f7,_0x422a06,_0xb07e4,_0xbc0867,_0x538eea,_0x48d949):_0xbc0867?_0x4ed937[_0x205d61(0x13d)](_0x257a72,_0x422a06,_0xb07e4,_0xbc0867,_0x48d949):_0x538eea[_0x205d61(0x565)]?_0x4ed937[_0x205d61(0x13d)](_0xcac224,_0x422a06,_0xb07e4,_0x538eea,_0x48d949):_0x4ed937[_0x205d61(0x13d)](_0x1305ec,_0x422a06,_0xb07e4,_0x48d949);}var _0x56ef3b=Object[_0x406fa3(0x1a2)],_0x387787=Object[_0x406fa3(0x187)],_0x4d81b2=(_0x2fd679,_0xbacd52,_0x5e8e56,_0x4aca6f)=>{const _0x42d9a5=_0x406fa3;for(var _0x5e210d=_0x4aca6f>0x1?void 0x0:_0x4aca6f?_0x387787(_0xbacd52,_0x5e8e56):_0xbacd52,_0x3f3515=_0x2fd679[_0x42d9a5(0x565)]-0x1,_0x2225cf;_0x3f3515>=0x0;_0x3f3515--)(_0x2225cf=_0x2fd679[_0x3f3515])&&(_0x5e210d=(_0x4aca6f?_0x2225cf(_0xbacd52,_0x5e8e56,_0x5e210d):_0x2225cf(_0x5e210d))||_0x5e210d);return _0x4aca6f&&_0x5e210d&&_0x56ef3b(_0xbacd52,_0x5e8e56,_0x5e210d),_0x5e210d;},_0x379f85=(_0x4617a5,_0x5cb7bd)=>(_0x505e86,_0x31fae8)=>_0x5cb7bd(_0x505e86,_0x31fae8,_0x4617a5);_0x121304[_0x406fa3(0x398)]=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x55bfa1,_0x41f602,_0x2e69d6,_0x301dec,_0xc12443,_0x5224bd,_0x2f0ac4,_0x240b7b,_0x2ff146,_0x583c42,_0x22d975,_0x4fdbc1,_0x4db5c0){const _0x5aa20d=_0x406fa3;super(),_0x175777(this,_0x5aa20d(0x245),new _0x34a6cc[(_0x5aa20d(0x4fe))](null)),_0x175777(this,_0x5aa20d(0x558),this[_0x5aa20d(0x245)][_0x5aa20d(0x418)]()),_0x175777(this,_0x5aa20d(0x209)),_0x175777(this,_0x5aa20d(0x3cd),!0x1),_0x175777(this,_0x5aa20d(0x29c),this[_0x5aa20d(0x558)][_0x5aa20d(0x2b3)](_0x34a6cc[_0x5aa20d(0x1a8)](_0xdb14af=>_0xdb14af?_0xdb14af[_0x5aa20d(0x222)]:_0x59cf14[_0x5aa20d(0x372)]),_0x34a6cc[_0x5aa20d(0x27d)](0x1))),_0x175777(this,_0x5aa20d(0x17a),!0x1),_0x175777(this,_0x5aa20d(0x1ad),[]),(this[_0x5aa20d(0x42a)]=_0x55bfa1,this[_0x5aa20d(0x155)]=_0x41f602,this[_0x5aa20d(0x48f)]=_0x2e69d6,this['_injector']=_0x301dec,this[_0x5aa20d(0x1ac)]=_0xc12443,this[_0x5aa20d(0x32c)]=_0x5224bd,this[_0x5aa20d(0x1b1)]=_0x2f0ac4,this[_0x5aa20d(0x22d)]=_0x240b7b,this[_0x5aa20d(0x334)]=_0x2ff146,this[_0x5aa20d(0x237)]=_0x583c42,this['_messageService']=_0x22d975,this[_0x5aa20d(0x511)]=_0x4fdbc1,this[_0x5aa20d(0x146)]=_0x4db5c0);}get[_0x406fa3(0x55f)](){const _0x4b6a25=_0x406fa3;return this[_0x4b6a25(0x209)];}async[_0x406fa3(0x1b5)](){const _0x426f58=_0x406fa3;if(this[_0x426f58(0x55f)])throw new Error(_0x426f58(0x4e3));await this[_0x426f58(0x402)]();}['pauseCollaboration'](){const _0xf1740f=_0x406fa3;return this[_0xf1740f(0x3cd)]=!0x0,_0x278695['toDisposable'](()=>{const _0xae64c=_0xf1740f;this[_0xae64c(0x3cd)]=!0x1,this[_0xae64c(0x3f9)]();});}[_0x406fa3(0x1b4)](_0x106551){const _0x535229=_0x406fa3;this['_state']=_0x106551,this['_state$'][_0x535229(0x321)](_0x106551);}async[_0x406fa3(0x402)](){const _0x298a6c=_0x406fa3;var _0x5cfb3b;this['_updateState'](await this[_0x298a6c(0x356)]()),this[_0x298a6c(0x146)]&&((_0x5cfb3b=this['_singleActiveUnitService'])==null||_0x5cfb3b['editingUnit'](this[_0x298a6c(0x42a)]),this['disposeWithMe'](this[_0x298a6c(0x146)][_0x298a6c(0x482)](this[_0x298a6c(0x42a)])[_0x298a6c(0x218)](_0xf86b59=>{const _0x485bf2=_0x298a6c;this[_0x485bf2(0x334)][_0x485bf2(0x394)](_0x485bf2(0x466),_0x485bf2(0x2ac),_0xf86b59),_0xf86b59===_0x2f7073[_0x485bf2(0x1ef)]?(this['_messageService']['show']({'content':this['_localeService']['t'](_0x485bf2(0x55b)),'type':_0x381d1f['MessageType'][_0x485bf2(0x52c)]}),this['_permissionService'][_0x485bf2(0x31f)](new _0x30bfa9[(_0x485bf2(0x500))](this[_0x485bf2(0x42a)])['id'],!0x1)):this['_permissionService'][_0x485bf2(0x31f)](new _0x30bfa9[(_0x485bf2(0x500))](this[_0x485bf2(0x42a)])['id'],!0x0);})));let _0xd91390=!0x1;return this[_0x298a6c(0x343)](this[_0x298a6c(0x155)]['sessionStatus$'][_0x298a6c(0x218)](_0x11d0f5=>{const _0x82d487=_0x298a6c;_0x11d0f5===_0xc1ac50[_0x82d487(0x579)]?this[_0x82d487(0x320)](_0xd91390):_0x11d0f5===_0xc1ac50[_0x82d487(0x372)]&&(_0xd91390=!0x0,this['_toggleOffline']());})),this[_0x298a6c(0x343)](this[_0x298a6c(0x155)]['event$']['subscribe'](_0x467f0f=>{const _0x2951d1=_0x298a6c;try{switch(_0x467f0f[_0x2951d1(0x17d)]){case _0x5d08['CollaborationEvent']['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x5d08[_0x2951d1(0x2fc)](_0x467f0f['data']));break;}case _0x5d08['CollaborationEvent'][_0x2951d1(0x4ab)]:{this[_0x2951d1(0x3a9)](_0x467f0f[_0x2951d1(0x1ed)]);break;}case _0x5d08[_0x2951d1(0x581)][_0x2951d1(0x48c)]:{this[_0x2951d1(0x456)]();break;}case _0x5d08[_0x2951d1(0x581)][_0x2951d1(0x216)]:{this[_0x2951d1(0x4db)](_0x467f0f[_0x2951d1(0x1ed)][_0x2951d1(0x235)]['map'](_0x19548c=>_0x5d08['parseProtocolChangeset'](_0x19548c)));break;}case _0x5d08[_0x2951d1(0x581)][_0x2951d1(0x3bf)]:this[_0x2951d1(0x456)]({'isPermissionRej':!0x0});}}catch(_0x2fef04){throw console[_0x2951d1(0x228)](_0x2951d1(0x55e),_0x2fef04),_0x2fef04;}})),this[_0x298a6c(0x209)];}[_0x406fa3(0x140)](){const _0x2e2c66=_0x406fa3;this[_0x2e2c66(0x17a)]=!0x1;}['_lockTransition'](){const _0x357b62=_0x406fa3;if(this[_0x357b62(0x17a)])throw new Error(_0x357b62(0x54f));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x7670b1){const _0x4c11e7=_0x406fa3;this[_0x4c11e7(0x3fa)](),this[_0x4c11e7(0x1b4)](this['_state'][_0x4c11e7(0x531)](_0x7670b1)),this[_0x4c11e7(0x140)]();}['_onRemoteChangeset'](_0x469d17){const _0x18b535=_0x406fa3;if(!(_0x469d17[_0x18b535(0x2c5)]<=this[_0x18b535(0x22d)][_0x18b535(0x559)](this[_0x18b535(0x42a)]))){if(this[_0x18b535(0x3cd)]){this['_remoteChangesetQueue'][_0x18b535(0x355)](_0x469d17);return;}this[_0x18b535(0x54a)](_0x469d17);}}[_0x406fa3(0x3f9)](){const _0xf9825a=_0x406fa3;this['_remoteChangesetQueue'][_0xf9825a(0x569)](_0xda4301=>this[_0xf9825a(0x54a)](_0xda4301)),this[_0xf9825a(0x1ad)]=[];}[_0x406fa3(0x54a)](_0x2484d0){const _0x46b9e6=_0x406fa3,_0x399bf6=this[_0x46b9e6(0x32c)]['interceptor'][_0x46b9e6(0x3d8)](this[_0x46b9e6(0x32c)][_0x46b9e6(0x4e6)][_0x46b9e6(0x2fb)]()[_0x46b9e6(0x23b)])(_0x2484d0[_0x46b9e6(0x384)],null)||_0x2484d0['mutations'],_0x650877={..._0x2484d0,'mutations':_0x399bf6};this['_lockTransition'](),this[_0x46b9e6(0x1b4)](this[_0x46b9e6(0x209)][_0x46b9e6(0x345)](_0x650877)),this['_unlockTransition']();}[_0x406fa3(0x3a9)](_0x2b80a5){const _0x424afe=_0x406fa3;this[_0x424afe(0x3fa)](),this['_updateState'](this[_0x424afe(0x209)][_0x424afe(0x47f)](_0x2b80a5)),this['_unlockTransition']();}[_0x406fa3(0x456)](_0x5cfff3){const _0x3c9149=_0x406fa3;this[_0x3c9149(0x3fa)](),this['_updateState'](this[_0x3c9149(0x209)][_0x3c9149(0x1f4)](_0x5cfff3)),this[_0x3c9149(0x140)]();}['_onFetchMissResult'](_0x801517){const _0x5632dc=_0x406fa3;if(!(this[_0x5632dc(0x209)]instanceof _0x4c7e44))throw new TypeError(_0x5632dc(0x421));const _0x24a140=_0x801517[_0x5632dc(0x1a8)](_0x44215c=>{const _0x2e1e56=_0x5632dc,_0x21531c=this[_0x2e1e56(0x32c)][_0x2e1e56(0x4e6)][_0x2e1e56(0x3d8)](this[_0x2e1e56(0x32c)][_0x2e1e56(0x4e6)]['getInterceptPoints']()[_0x2e1e56(0x23b)])(_0x44215c[_0x2e1e56(0x384)],null)||_0x44215c[_0x2e1e56(0x384)];return{..._0x44215c,'mutations':_0x21531c};});this[_0x5632dc(0x3fa)](),this[_0x5632dc(0x1b4)](this['_state'][_0x5632dc(0x4dd)](_0x24a140)),this[_0x5632dc(0x140)]();}[_0x406fa3(0x494)](){const _0x45152f=_0x406fa3;this[_0x45152f(0x3fa)](),this[_0x45152f(0x1b4)](this[_0x45152f(0x209)]['toggleOffline']()),this[_0x45152f(0x140)]();}[_0x406fa3(0x320)](_0x11b588=!0x1){const _0x5954d8=_0x406fa3;this[_0x5954d8(0x3fa)](),this[_0x5954d8(0x1b4)](this[_0x5954d8(0x209)]['toggleOnline']()),this['_unlockTransition']();const _0x480ea9=this['_state'];_0x11b588&&_0x480ea9 instanceof _0x1305ec&&(this[_0x5954d8(0x3fa)](),this['_updateState'](_0x480ea9[_0x5954d8(0x499)]()),this[_0x5954d8(0x140)]());}async[_0x406fa3(0x356)](){return new Promise(_0x62dbc0=>{const _0x56f26b=_0x3463;this[_0x56f26b(0x155)][_0x56f26b(0x1c6)][_0x56f26b(0x2b3)](_0x34a6cc[_0x56f26b(0x151)](0x1))['subscribe'](async _0x51b084=>{const _0x3ed86a=_0x56f26b;_0x62dbc0(await this['_createInitialStateImpl'](_0x51b084===_0xc1ac50[_0x3ed86a(0x579)]));});});}[_0x406fa3(0x48d)](){const _0x119052=_0x406fa3,_0x423bde=this[_0x119052(0x42a)];return{'onStateChange':(_0x48e70f,_0x3bfae4)=>{const _0x28d30d=_0x119052;if(_0x48e70f!==this['_state'])throw new Error(_0x28d30d(0x388)+_0x48e70f[_0x28d30d(0x222)]+_0x28d30d(0x570)+_0x3bfae4['status']+_0x28d30d(0x439)+this[_0x28d30d(0x209)][_0x28d30d(0x222)]);this[_0x28d30d(0x1b4)](_0x3bfae4);},'onSendChangeset':_0x2a32fe=>{const _0x464839=_0x119052,_0x465eaa={'eventID':_0x5d08[_0x464839(0x581)][_0x464839(0x25a)],'data':{'unitID':_0x2a32fe['unitID'],'unitType':this[_0x464839(0x48f)],'changeset':_0x2a32fe,'memberID':this[_0x464839(0x155)][_0x464839(0x46b)]()}};this[_0x464839(0x155)][_0x464839(0x50b)](_0x465eaa,this[_0x464839(0x42a)]);},'onMissingChangesets':({from:_0x59b2bd,to:_0x51f865})=>{const _0x2b508b=_0x119052;this[_0x2b508b(0x334)][_0x2b508b(0x394)](_0x2b508b(0x466),_0x2b508b(0x552)+_0x59b2bd+_0x2b508b(0x2b2)+_0x51f865);const _0x185025={'eventID':_0x5d08[_0x2b508b(0x581)][_0x2b508b(0x17b)],'data':{'unitID':_0x423bde,'unitType':this[_0x2b508b(0x48f)],'from':_0x59b2bd,'to':_0x51f865}};this[_0x2b508b(0x155)]['send'](_0x185025,this[_0x2b508b(0x42a)]);}};}async[_0x406fa3(0x41a)](_0x2c5002){const _0x1095e8=_0x406fa3;var _0x334bdc,_0x31440b;const _0x3468f1=await this[_0x1095e8(0x1ac)][_0x1095e8(0x43e)](this[_0x1095e8(0x42a)]),_0x46a852=(_0x334bdc=_0x3468f1==null?void 0x0:_0x3468f1[_0x1095e8(0x384)])!=null?_0x334bdc:[],_0x5128d1=(_0x31440b=_0x3468f1==null?void 0x0:_0x3468f1[_0x1095e8(0x407)])!=null?_0x31440b:null,_0xbb82f4=this[_0x1095e8(0x42a)];try{this[_0x1095e8(0x289)](_0x5128d1,_0x46a852);}catch(_0x3f24ec){this['_logService'][_0x1095e8(0x228)](_0x3f24ec);}const _0xb8372a=this['_createHandler']();if(_0x2c5002){const _0x513081=_0x4963ac(this[_0x1095e8(0x557)],_0xbb82f4,this[_0x1095e8(0x48f)],_0x5128d1,_0x46a852,_0xb8372a);return _0x513081 instanceof _0xcac224?_0x513081[_0x1095e8(0x40d)]():(_0x513081 instanceof _0x2b71f7||_0x513081 instanceof _0x257a72)&&_0x513081[_0x1095e8(0x4ec)](),_0x513081;}return this['_injector'][_0x1095e8(0x13d)](_0x347fdb,_0xbb82f4,this[_0x1095e8(0x48f)],_0x5128d1,_0x46a852,_0xb8372a);}[_0x406fa3(0x289)](_0x920e8d,_0xb28e05){const _0x1bf0ce=_0x406fa3;var _0x405f59,_0x2f1c23;const _0x141e2d=this['_compressMutationService'][_0x1bf0ce(0x4e6)][_0x1bf0ce(0x3d8)](this['_compressMutationService'][_0x1bf0ce(0x4e6)][_0x1bf0ce(0x2fb)]()['COMPRESS_MUTATION_APPLY']);(_0x405f59=_0x141e2d((_0x920e8d==null?void 0x0:_0x920e8d[_0x1bf0ce(0x384)])||[],null))==null||_0x405f59[_0x1bf0ce(0x569)](_0x24c6ce=>this[_0x1bf0ce(0x237)][_0x1bf0ce(0x2bd)](_0x24c6ce['id'],_0x24c6ce[_0x1bf0ce(0x428)])),(_0x2f1c23=_0x141e2d(_0xb28e05||[],null))==null||_0x2f1c23[_0x1bf0ce(0x569)](_0x31359c=>this[_0x1bf0ce(0x237)]['executeCommand'](_0x31359c['id'],_0x31359c[_0x1bf0ce(0x428)]));}},_0x121304[_0x406fa3(0x398)]=_0x4d81b2([_0x379f85(0x3,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x379f85(0x4,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x379f85(0x5,_0x278695['Inject'](_0x5d08['CompressMutationService'])),_0x379f85(0x6,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)])),_0x379f85(0x7,_0x278695['Inject'](_0x5d08['RevisionService'])),_0x379f85(0x8,_0x278695[_0x406fa3(0x21a)]),_0x379f85(0x9,_0x278695[_0x406fa3(0x46e)]),_0x379f85(0xa,_0x42b7fc[_0x406fa3(0x2b1)]),_0x379f85(0xb,_0x278695[_0x406fa3(0x17f)]),_0x379f85(0xc,_0x278695[_0x406fa3(0x2fa)](_0x3af33e))],_0x121304[_0x406fa3(0x398)]),_0x121304[_0x406fa3(0x4a3)]=class extends _0x121304[_0x406fa3(0x398)]{constructor(_0x451b3e,_0x13982c,_0x45b021,_0x1366cc,_0x1fbc39,_0x33eec1,_0x367431,_0x249167,_0x2e0c9a,_0x2fa0bc,_0x59ed19,_0x3c0251,_0x5498bc,_0x388c09,_0x5d9392,_0x249c5b,_0x444185){const _0x517b29=_0x406fa3;super(_0x451b3e,_0x45b021,_0x13982c,_0x1366cc,_0x1fbc39,_0x33eec1,_0x367431,_0x249167,_0x5498bc,_0x388c09,_0x5d9392,_0x249c5b,_0x444185),this['unitID']=_0x451b3e,this['type']=_0x13982c,this['_docStateChangeManagerService']=_0x2e0c9a,this[_0x517b29(0x1e8)]=_0x2fa0bc,this['_docTransformSelectionsService']=_0x59ed19,this[_0x517b29(0x475)]=_0x3c0251;}['_createHandler'](){const _0xf6913b=_0x406fa3,_0x1f41f2=super[_0xf6913b(0x48d)]();return _0x1f41f2[_0xf6913b(0x3ab)]=_0x861451=>this['_docTransformIMECacheService']['transformIMECache'](_0x861451),_0x1f41f2[_0xf6913b(0x1be)]=_0x290a64=>this[_0xf6913b(0x295)][_0xf6913b(0x178)](_0x290a64),_0x1f41f2[_0xf6913b(0x553)]=_0x24f718=>this['_docSyncEditingCollabCursorService'][_0xf6913b(0x21e)](_0x24f718),_0x1f41f2['onTransformRemoteChangesetByIMECache']=_0x46718c=>this[_0xf6913b(0x1e8)]['transformRemoteChangeset'](_0x46718c),_0x1f41f2;}async[_0x406fa3(0x402)](){const _0x18a143=_0x406fa3,_0x38d7bd=await super[_0x18a143(0x402)]();return this[_0x18a143(0x343)](this[_0x18a143(0x237)][_0x18a143(0x415)]((_0x21ab86,_0x3b03a3)=>{const _0x4a9071=_0x18a143;if(_0x21ab86[_0x4a9071(0x460)]!==_0x278695[_0x4a9071(0x46f)]['MUTATION']||_0x3b03a3!=null&&_0x3b03a3[_0x4a9071(0x512)]||_0x3b03a3!=null&&_0x3b03a3[_0x4a9071(0x50a)])return;const _0x5649fb=_0x21ab86[_0x4a9071(0x428)];if((_0x5649fb==null?void 0x0:_0x5649fb[_0x4a9071(0x389)])!==this[_0x4a9071(0x42a)])return;let _0x3b3ebe=_0x21ab86;if(_0x3b3ebe['id']===_0x3435c3[_0x4a9071(0x287)]['id']){const _0xa931b4=_0x3b3ebe['params'];_0x3b3ebe={'id':_0x3435c3['RichTextEditingMutation']['id'],'type':_0x278695[_0x4a9071(0x46f)][_0x4a9071(0x2b4)],'params':{'unitId':_0xa931b4[_0x4a9071(0x389)],'actions':_0xa931b4[_0x4a9071(0x161)],'textRanges':null}};}const _0x194f72=this[_0x4a9071(0x32c)][_0x4a9071(0x4e6)]['fetchThroughInterceptors'](this[_0x4a9071(0x32c)][_0x4a9071(0x4e6)][_0x4a9071(0x2fb)]()['COMPRESS_MUTATION_SEND'])([_0x3b3ebe],null)||[_0x3b3ebe];this[_0x4a9071(0x31d)](_0x194f72[0x0]);})),_0x38d7bd;}},_0x121304[_0x406fa3(0x4a3)]=_0x4d81b2([_0x379f85(0x3,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x379f85(0x4,_0x278695['Inject'](_0x121304[_0x406fa3(0x2a4)])),_0x379f85(0x5,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x1f7)])),_0x379f85(0x6,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)])),_0x379f85(0x7,_0x278695[_0x406fa3(0x2cb)](_0x5d08['RevisionService'])),_0x379f85(0x8,_0x278695[_0x406fa3(0x2cb)](_0x107653[_0x406fa3(0x3b9)])),_0x379f85(0x9,_0x278695[_0x406fa3(0x2cb)](_0x4b08e2)),_0x379f85(0xa,_0x278695['Inject'](_0x5c3f94)),_0x379f85(0xb,_0x278695['Inject'](_0x5a7762)),_0x379f85(0xc,_0x278695[_0x406fa3(0x21a)]),_0x379f85(0xd,_0x278695[_0x406fa3(0x46e)]),_0x379f85(0xe,_0x42b7fc[_0x406fa3(0x2b1)]),_0x379f85(0xf,_0x278695['IPermissionService']),_0x379f85(0x10,_0x278695[_0x406fa3(0x2fa)](_0x3af33e))],_0x121304['DocCollaborationEntity']),_0x121304[_0x406fa3(0x4c5)]=class extends _0x121304[_0x406fa3(0x398)]{constructor(_0x43b864,_0x50170f,_0x3bc7e1,_0x45b4bc,_0x22db52,_0xba520a,_0xc13027,_0xdc87ea,_0x4b6ad0,_0x127873,_0x2c2897,_0x500b42,_0x114e51,_0x2c76aa){const _0x5bff34=_0x406fa3;super(_0x43b864,_0x3bc7e1,_0x50170f,_0x45b4bc,_0x22db52,_0xba520a,_0xc13027,_0xdc87ea,_0x127873,_0x2c2897,_0x500b42,_0x114e51,_0x2c76aa),this['unitID']=_0x43b864,this[_0x5bff34(0x460)]=_0x50170f,this[_0x5bff34(0x34f)]=_0x4b6ad0;}[_0x406fa3(0x48d)](){const _0xc96e08=_0x406fa3,_0x4dec90=super[_0xc96e08(0x48d)]();return _0x4dec90[_0xc96e08(0x1be)]=_0x4a03f0=>this[_0xc96e08(0x34f)]['transformSelections'](_0x4a03f0),_0x4dec90;}async[_0x406fa3(0x402)](){const _0x57f8a1=_0x406fa3,_0xed85ed=await super['_init']();return this[_0x57f8a1(0x343)](this[_0x57f8a1(0x237)][_0x57f8a1(0x415)]((_0x33e173,_0x5432e3)=>{const _0x861078=_0x57f8a1;if(_0x33e173[_0x861078(0x460)]!==_0x278695['CommandType'][_0x861078(0x2b4)]||_0x5432e3!=null&&_0x5432e3[_0x861078(0x512)]||_0x5432e3!=null&&_0x5432e3[_0x861078(0x50a)])return;const _0xde5abb=_0x33e173['params'];if((_0xde5abb==null?void 0x0:_0xde5abb[_0x861078(0x389)])!==this[_0x861078(0x42a)])return;const _0x321bf6=_0x33e173,_0x3bb4fd=this[_0x861078(0x32c)]['interceptor'][_0x861078(0x3d8)](this['_compressMutationService'][_0x861078(0x4e6)][_0x861078(0x2fb)]()[_0x861078(0x43a)])([_0x321bf6],null)||[_0x321bf6];this[_0x861078(0x31d)](_0x3bb4fd[0x0]);})),_0xed85ed;}},_0x121304['SheetCollaborationEntity']=_0x4d81b2([_0x379f85(0x3,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x379f85(0x4,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x379f85(0x5,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x1f7)])),_0x379f85(0x6,_0x278695[_0x406fa3(0x2cb)](_0x278695['LocaleService'])),_0x379f85(0x7,_0x278695[_0x406fa3(0x2cb)](_0x5d08['RevisionService'])),_0x379f85(0x8,_0x278695[_0x406fa3(0x2cb)](_0x3cacd1)),_0x379f85(0x9,_0x278695[_0x406fa3(0x21a)]),_0x379f85(0xa,_0x278695[_0x406fa3(0x46e)]),_0x379f85(0xb,_0x42b7fc[_0x406fa3(0x2b1)]),_0x379f85(0xc,_0x278695[_0x406fa3(0x17f)]),_0x379f85(0xd,_0x278695[_0x406fa3(0x2fa)](_0x3af33e))],_0x121304[_0x406fa3(0x4c5)]);var _0x46d221=Object[_0x406fa3(0x1a2)],_0x2629e6=Object[_0x406fa3(0x187)],_0x3eced3=(_0x5c1205,_0x5cc317,_0x1929d9,_0x4014c0)=>{for(var _0x7cc2ba=_0x4014c0>0x1?void 0x0:_0x4014c0?_0x2629e6(_0x5cc317,_0x1929d9):_0x5cc317,_0x597887=_0x5c1205['length']-0x1,_0x573ba2;_0x597887>=0x0;_0x597887--)(_0x573ba2=_0x5c1205[_0x597887])&&(_0x7cc2ba=(_0x4014c0?_0x573ba2(_0x5cc317,_0x1929d9,_0x7cc2ba):_0x573ba2(_0x7cc2ba))||_0x7cc2ba);return _0x4014c0&&_0x7cc2ba&&_0x46d221(_0x5cc317,_0x1929d9,_0x7cc2ba),_0x7cc2ba;},_0x5002a3=(_0x1e1027,_0x5b0a8f)=>(_0x5a47d0,_0x3560a0)=>_0x5b0a8f(_0x5a47d0,_0x3560a0,_0x1e1027);_0x121304[_0x406fa3(0x51e)]=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x4a5580,_0x2ddb2e,_0x1a7ea2){const _0x164794=_0x406fa3;super(),_0x175777(this,_0x164794(0x375),new Map()),_0x175777(this,_0x164794(0x2f1),new _0x34a6cc[(_0x164794(0x2eb))]()),(this[_0x164794(0x557)]=_0x4a5580,this[_0x164794(0x4f5)]=_0x2ddb2e,this[_0x164794(0x45b)]=_0x1a7ea2,this[_0x164794(0x402)]());}[_0x406fa3(0x1f1)](){const _0x2669b2=_0x406fa3;super['dispose'](),this[_0x2669b2(0x375)]['forEach'](_0x4a50c7=>_0x4a50c7[_0x2669b2(0x1f1)]()),this[_0x2669b2(0x375)][_0x2669b2(0x484)]();}['getCollabEntity'](_0x4fe0a3){const _0x565e73=_0x406fa3;var _0x2b848f;return(_0x2b848f=this[_0x565e73(0x375)][_0x565e73(0x503)](_0x4fe0a3))!=null?_0x2b848f:null;}[_0x406fa3(0x508)](_0x47a470){const _0x203350=_0x406fa3,_0x290ec7=this[_0x203350(0x46c)](_0x47a470);return _0x290ec7?_0x34a6cc['of'](_0x290ec7):this['_entityInit$'][_0x203350(0x2b3)](_0x3753b5[_0x203350(0x4b0)](_0x2dea76=>_0x2dea76[_0x203350(0x42a)]===_0x47a470));}[_0x406fa3(0x402)](){const _0x51df05=_0x406fa3;this[_0x51df05(0x45b)][_0x51df05(0x4b9)](_0x278695[_0x51df05(0x266)][_0x51df05(0x4fc)])['pipe'](_0x34a6cc[_0x51df05(0x1d2)](this[_0x51df05(0x37d)]),_0x3753b5[_0x51df05(0x242)](0x10))[_0x51df05(0x218)](async _0x394ec8=>{const _0x384853=_0x51df05,_0x130c5d=_0x394ec8[_0x384853(0x1f9)](),_0x1cca0d=await this['_startCollaboration'](_0x130c5d,_0x5b1b3b[_0x384853(0x4fc)]);this[_0x384853(0x375)][_0x384853(0x30e)](_0x130c5d,_0x1cca0d);}),this[_0x51df05(0x45b)][_0x51df05(0x4b9)](_0x278695['UniverInstanceType'][_0x51df05(0x373)])[_0x51df05(0x2b3)](_0x34a6cc[_0x51df05(0x1d2)](this[_0x51df05(0x37d)]),_0x3753b5['delay'](0x10))[_0x51df05(0x2b3)](_0x3753b5['filter'](_0x38c59c=>!_0x38c59c['getUnitId']()[_0x51df05(0x24c)]('__')))['subscribe'](async _0x392d1d=>{const _0x17a031=_0x51df05,_0x3c3f88=_0x392d1d[_0x17a031(0x1f9)](),_0x1792fd=await this['_startCollaboration'](_0x3c3f88,_0x5b1b3b[_0x17a031(0x373)]);this[_0x17a031(0x375)][_0x17a031(0x30e)](_0x3c3f88,_0x1792fd);}),_0x34a6cc['merge'](this[_0x51df05(0x45b)]['getTypeOfUnitDisposed$'](_0x278695['UniverInstanceType'][_0x51df05(0x4fc)]),this[_0x51df05(0x45b)]['getTypeOfUnitDisposed$'](_0x278695['UniverInstanceType'][_0x51df05(0x373)]))[_0x51df05(0x2b3)](_0x34a6cc[_0x51df05(0x1d2)](this[_0x51df05(0x37d)]))[_0x51df05(0x218)](_0x2a4c9b=>{const _0x48eb5d=_0x51df05,_0x1abcd2=_0x2a4c9b[_0x48eb5d(0x1f9)](),_0x317570=this[_0x48eb5d(0x375)][_0x48eb5d(0x503)](_0x1abcd2);_0x317570&&(_0x317570[_0x48eb5d(0x1f1)](),this[_0x48eb5d(0x375)][_0x48eb5d(0x29a)](_0x1abcd2));});}async[_0x406fa3(0x374)](_0x3c26e3,_0x1f06e0){const _0x2ce9a3=_0x406fa3,_0x1dd24e=await this[_0x2ce9a3(0x4f5)]['requireSession'](_0x3c26e3),_0x1270f8=this[_0x2ce9a3(0x557)][_0x2ce9a3(0x13d)](this[_0x2ce9a3(0x143)](_0x1f06e0),_0x3c26e3,_0x1f06e0,_0x1dd24e);return await _0x1270f8['init'](),this[_0x2ce9a3(0x2f1)][_0x2ce9a3(0x321)](_0x1270f8),_0x1270f8;}[_0x406fa3(0x143)](_0x557072){const _0x2401a1=_0x406fa3;switch(_0x557072){case _0x5b1b3b['UNIVER_DOC']:return _0x121304['DocCollaborationEntity'];case _0x5b1b3b[_0x2401a1(0x4fc)]:return _0x121304[_0x2401a1(0x4c5)];default:throw new Error(_0x2401a1(0x273)+_0x557072);}}},_0x121304[_0x406fa3(0x51e)]=_0x3eced3([_0x5002a3(0x0,_0x278695['Inject'](_0x278695[_0x406fa3(0x18f)])),_0x5002a3(0x1,_0x278695['Inject'](_0x121304[_0x406fa3(0x502)])),_0x5002a3(0x2,_0x278695[_0x406fa3(0x2d6)])],_0x121304['CollaborationController']);const _0xdbc1be=[_0x406fa3(0x4bf),_0x406fa3(0x206),_0x406fa3(0x163),_0x406fa3(0x4f1),_0x406fa3(0x27c),'gold400'];class _0x3e1517 extends _0x278695[_0x406fa3(0x3a8)]{constructor(){const _0x1a7df6=_0x406fa3;super(...arguments),_0x175777(this,'_assignedColors',new Map()),_0x175777(this,_0x1a7df6(0x15b),0x0);}[_0x406fa3(0x47a)](_0x13ed0a){const _0x5bd00c=_0x406fa3;if(this[_0x5bd00c(0x253)][_0x5bd00c(0x39d)](_0x13ed0a))return this[_0x5bd00c(0x253)][_0x5bd00c(0x503)](_0x13ed0a);const _0x31466f=_0xdbc1be[this['_colorIndex']];return this[_0x5bd00c(0x15b)]=(this[_0x5bd00c(0x15b)]+0x1)%_0xdbc1be['length'],this['_assignedColors'][_0x5bd00c(0x30e)](_0x13ed0a,_0x31466f),_0x31466f;}}var _0x47e39b=Object['defineProperty'],_0x549f60=Object['getOwnPropertyDescriptor'],_0x15b1f8=(_0x18d179,_0x565f6d,_0x102c81,_0x5bc90e)=>{const _0x4e43ec=_0x406fa3;for(var _0xb82ba4=_0x5bc90e>0x1?void 0x0:_0x5bc90e?_0x549f60(_0x565f6d,_0x102c81):_0x565f6d,_0x32b6e0=_0x18d179[_0x4e43ec(0x565)]-0x1,_0x4c640c;_0x32b6e0>=0x0;_0x32b6e0--)(_0x4c640c=_0x18d179[_0x32b6e0])&&(_0xb82ba4=(_0x5bc90e?_0x4c640c(_0x565f6d,_0x102c81,_0xb82ba4):_0x4c640c(_0xb82ba4))||_0xb82ba4);return _0x5bc90e&&_0xb82ba4&&_0x47e39b(_0x565f6d,_0x102c81,_0xb82ba4),_0xb82ba4;},_0x521f5c=(_0x230283,_0x8290a0)=>(_0x315bc6,_0x299376)=>_0x8290a0(_0x315bc6,_0x299376,_0x230283);const _0x4660e0=0x12c,_0x2bde12=0x64;let _0x3f93ba=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x3403da,_0x33c858,_0x1c900a,_0x4fa7c6,_0x1dc5d0,_0x549d65,_0x1750a0,_0x2a8e4f,_0x51a2fd){const _0x5a4375=_0x406fa3;super(),_0x175777(this,_0x5a4375(0x1d9),!0x1),_0x175777(this,_0x5a4375(0x402),!0x1),_0x175777(this,_0x5a4375(0x302),new _0x34a6cc[(_0x5a4375(0x4fe))](new Map())),_0x175777(this,_0x5a4375(0x1ec),this[_0x5a4375(0x302)][_0x5a4375(0x418)]()),_0x175777(this,'_roomMembers$',new _0x34a6cc[(_0x5a4375(0x4fe))]([])),_0x175777(this,'roomMembers$',this[_0x5a4375(0x2dd)][_0x5a4375(0x2b3)](_0x34a6cc[_0x5a4375(0x32f)](_0x4660e0))),_0x175777(this,_0x5a4375(0x437),_0x278695[_0x5a4375(0x141)](_0x3331dc=>{const _0x50f14a=_0x5a4375,_0x5d41a7={'eventID':_0x5d08['CollaborationEvent'][_0x50f14a(0x4ed)],'data':{'unitID':this[_0x50f14a(0x42a)],'memberID':this['_session']['getMemberID'](),'selection':_0x25ccab(_0x3331dc)}};this[_0x50f14a(0x4f9)][_0x50f14a(0x50b)](_0x5d41a7,this[_0x50f14a(0x42a)]);},_0x2bde12)),(this[_0x5a4375(0x42a)]=_0x3403da,this[_0x5a4375(0x4f9)]=_0x33c858,this[_0x5a4375(0x557)]=_0x1c900a,this[_0x5a4375(0x164)]=_0x4fa7c6,this[_0x5a4375(0x3e4)]=_0x1dc5d0,this['_syncEditingCollabCursorService']=_0x549d65,this[_0x5a4375(0x193)]=_0x1750a0,this['_univerInstanceService']=_0x2a8e4f,this[_0x5a4375(0x237)]=_0x51a2fd);}get['cursorInfo'](){const _0x294db3=_0x406fa3;return this[_0x294db3(0x302)]['getValue']();}get[_0x406fa3(0x190)](){const _0x562d57=_0x406fa3;return this[_0x562d57(0x2dd)][_0x562d57(0x281)]();}['dispose'](){const _0x3b954b=_0x406fa3;super[_0x3b954b(0x1f1)](),this[_0x3b954b(0x302)][_0x3b954b(0x321)](new Map()),this[_0x3b954b(0x302)][_0x3b954b(0x145)](),this[_0x3b954b(0x2dd)]['next']([]),this[_0x3b954b(0x2dd)][_0x3b954b(0x145)]();}[_0x406fa3(0x1b5)](){const _0x4746dd=_0x406fa3;this[_0x4746dd(0x402)]||(this[_0x4746dd(0x402)]=!0x0,this[_0x4746dd(0x4f9)]['sessionStatus$'][_0x4746dd(0x2b3)](_0x34a6cc[_0x4746dd(0x1d2)](this[_0x4746dd(0x37d)]))[_0x4746dd(0x218)](_0x462b01=>{const _0x2b2590=_0x4746dd;_0x462b01===_0xc1ac50[_0x2b2590(0x579)]?this[_0x2b2590(0x320)]():this[_0x2b2590(0x494)]();}),this[_0x4746dd(0x4f9)]['event$']['pipe'](_0x34a6cc[_0x4746dd(0x1d2)](this[_0x4746dd(0x37d)]))[_0x4746dd(0x218)](_0x50420a=>{const _0x17b109=_0x4746dd,_0x2c4a5a=_0x50420a[_0x17b109(0x17d)];_0x2c4a5a===_0x5d08[_0x17b109(0x581)][_0x17b109(0x4ed)]&&this[_0x17b109(0x307)](_0x50420a),_0x2c4a5a===_0x5d08['CollaborationEvent']['USERS_LEAVE']&&this[_0x17b109(0x15c)](_0x50420a);}),this[_0x4746dd(0x343)](this[_0x4746dd(0x237)][_0x4746dd(0x415)](_0x178046=>{const _0x300ea9=_0x4746dd,_0x1dd929=_0x178046[_0x300ea9(0x428)];_0x1dd929!=null&&this[_0x300ea9(0x1d9)]&&_0x178046['id']===_0x3435c3[_0x300ea9(0x369)]['id']&&_0x1dd929[_0x300ea9(0x389)]===this[_0x300ea9(0x42a)]&&_0x1dd929[_0x300ea9(0x47e)]===!0x1&&this['_updateLocalCursor'](_0x1dd929[_0x300ea9(0x461)]);})),this[_0x4746dd(0x422)][_0x4746dd(0x2e7)][_0x4746dd(0x2b3)](_0x34a6cc['takeUntil'](this['dispose$']))[_0x4746dd(0x218)](_0x2891c3=>{const _0x4ca9c8=_0x4746dd;if((_0x2891c3==null?void 0x0:_0x2891c3[_0x4ca9c8(0x42a)])!==this[_0x4ca9c8(0x42a)])return;const _0x1eb74b={'eventID':_0x5d08[_0x4ca9c8(0x581)][_0x4ca9c8(0x4ed)],'data':_0x2891c3};this['_onCursorUpdate'](_0x1eb74b);}),this[_0x4746dd(0x343)](this[_0x4746dd(0x237)][_0x4746dd(0x415)](_0x53e7fb=>{const _0x3041ed=_0x4746dd;if(_0x53e7fb[_0x3041ed(0x428)]==null)return;const _0x48b794=_0x53e7fb[_0x3041ed(0x428)];if(_0x53e7fb['id']!==_0x3435c3['RichTextEditingMutation']['id']||_0x48b794['unitId']!==this[_0x3041ed(0x42a)])return;const _0x47cc81={'id':'doc.mutation.rich-text-editing','params':_0x48b794},_0x454949=this[_0x3041ed(0x49f)];for(const [_0x51163f,_0x4a1651]of _0x454949){const _0x120b70={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3041ed(0x42a)],'actions':null,'textRanges':_0x4a1651[_0x3041ed(0x461)]}},_0x41d3de=this['_transformService'][_0x3041ed(0x3f8)](_0x47cc81,_0x120b70,!0x1);if(_0x5d08[_0x3041ed(0x1dc)](_0x41d3de))throw _0x41d3de[_0x3041ed(0x228)];_0x454949[_0x3041ed(0x30e)](_0x51163f,{..._0x4a1651,'ranges':_0x41d3de['m2Prime'][_0x3041ed(0x428)][_0x3041ed(0x14a)]});}queueMicrotask(()=>{const _0x543b1d=_0x3041ed;this[_0x543b1d(0x302)]['next'](_0x454949);});})));}['_onCursorUpdate'](_0x4b118c){const _0xe69a80=_0x406fa3;var _0x27c456,_0x56a33e;const {memberID:_0x44356c,selection:_0x38affc}=_0x4b118c[_0xe69a80(0x1ed)],_0x1385b5=_0xbd178f(_0x38affc),_0x1b330d=(_0x56a33e=(_0x27c456=this[_0xe69a80(0x3e4)]['getMember'](this['unitID'],_0x44356c))==null?void 0x0:_0x27c456[_0xe69a80(0x315)])!=null?_0x56a33e:'Unknown\x20user',_0x49e9bf={'color':this[_0xe69a80(0x164)]['assignAColorForMemberID'](_0x44356c),'name':_0x1b330d,'ranges':_0x1385b5},_0x33b422=this[_0xe69a80(0x49f)];_0x33b422[_0xe69a80(0x30e)](_0x44356c,_0x49e9bf),this['_cursorInfo$'][_0xe69a80(0x321)](_0x33b422);}[_0x406fa3(0x15c)](_0x369bec){const _0x115943=_0x406fa3,{memberID:_0x5f2355}=_0x369bec[_0x115943(0x1ed)],_0x1e234e=this[_0x115943(0x49f)];_0x1e234e['delete'](_0x5f2355),this[_0x115943(0x302)][_0x115943(0x321)](_0x1e234e);}[_0x406fa3(0x320)](){const _0x1aaad9=_0x406fa3;var _0x2479d0;if(this['_online']=!0x0,((_0x2479d0=this['_univerInstanceService'][_0x1aaad9(0x545)]())==null?void 0x0:_0x2479d0[_0x1aaad9(0x1f9)]())!==this['unitID'])return;const _0x471635=this[_0x1aaad9(0x557)][_0x1aaad9(0x503)](_0x3435c3[_0x1aaad9(0x318)])[_0x1aaad9(0x2b0)]();Array[_0x1aaad9(0x1d8)](_0x471635)&&_0x471635[_0x1aaad9(0x565)]>0x0&&this['_updateLocalCursor'](_0x471635);}[_0x406fa3(0x494)](){const _0x95db87=_0x406fa3;this[_0x95db87(0x1d9)]=!0x1;}};_0x3f93ba=_0x15b1f8([_0x521f5c(0x2,_0x278695['Inject'](_0x278695[_0x406fa3(0x18f)])),_0x521f5c(0x3,_0x278695['Inject'](_0x3e1517)),_0x521f5c(0x4,_0x278695[_0x406fa3(0x2cb)](_0x76bc39)),_0x521f5c(0x5,_0x278695[_0x406fa3(0x2cb)](_0x5a7762)),_0x521f5c(0x6,_0x5d08[_0x406fa3(0x4fb)]),_0x521f5c(0x7,_0x278695[_0x406fa3(0x2d6)]),_0x521f5c(0x8,_0x278695[_0x406fa3(0x46e)])],_0x3f93ba);var _0x259435=Object['defineProperty'],_0x120394=Object[_0x406fa3(0x187)],_0x375160=(_0x26297f,_0x376904,_0x507469,_0x2a4e88)=>{const _0x1e5177=_0x406fa3;for(var _0x2a4fba=_0x2a4e88>0x1?void 0x0:_0x2a4e88?_0x120394(_0x376904,_0x507469):_0x376904,_0x5a4444=_0x26297f[_0x1e5177(0x565)]-0x1,_0x58eb74;_0x5a4444>=0x0;_0x5a4444--)(_0x58eb74=_0x26297f[_0x5a4444])&&(_0x2a4fba=(_0x2a4e88?_0x58eb74(_0x376904,_0x507469,_0x2a4fba):_0x58eb74(_0x2a4fba))||_0x2a4fba);return _0x2a4e88&&_0x2a4fba&&_0x259435(_0x376904,_0x507469,_0x2a4fba),_0x2a4fba;},_0x1a8bcf=(_0x8dde98,_0x4710f8)=>(_0x2e26f1,_0x1d8d3a)=>_0x4710f8(_0x2e26f1,_0x1d8d3a,_0x8dde98);const _0x448fc4=0x12c,_0x2db73c=0x64,_0x454d98=()=>{let _0xc46503=[],_0x2b274a=!0x1;return _0x426449=>{const _0x139b7f=_0x3463;_0xc46503[_0x139b7f(0x355)](_0x426449),_0x2b274a||(_0x2b274a=!0x0,setTimeout(()=>{_0xc46503['forEach'](_0x4a98e9=>_0x4a98e9()),_0xc46503=[],_0x2b274a=!0x1;}));};};let _0x400f10=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x3612f7,_0x222a4d,_0x2b6bef,_0x71c720,_0x391749,_0x129aa6,_0x5d4ce0,_0x4f16d3){const _0x45db77=_0x406fa3;super(),_0x175777(this,'_online',!0x1),_0x175777(this,_0x45db77(0x402),!0x1),_0x175777(this,'_cursorInfo$',new _0x34a6cc[(_0x45db77(0x4fe))](new Map())),_0x175777(this,_0x45db77(0x1ec),this['_cursorInfo$'][_0x45db77(0x418)]()),_0x175777(this,_0x45db77(0x2dd),new _0x34a6cc['BehaviorSubject']([])),_0x175777(this,_0x45db77(0x414),this[_0x45db77(0x2dd)][_0x45db77(0x2b3)](_0x34a6cc['debounceTime'](_0x448fc4))),_0x175777(this,_0x45db77(0x437),_0x278695[_0x45db77(0x141)]((_0x15080e,_0x46c250)=>{const _0x431d53=_0x45db77,_0x18541b={'eventID':_0x5d08[_0x431d53(0x581)][_0x431d53(0x4ed)],'data':{'unitID':this[_0x431d53(0x42a)],'memberID':this[_0x431d53(0x4f9)][_0x431d53(0x46b)](),'selection':_0x44d111['serializeRangeWithSheet'](_0x15080e,_0x46c250[_0x431d53(0x4c0)])}};this[_0x431d53(0x4f9)]['send'](_0x18541b,this[_0x431d53(0x42a)]);},_0x2db73c)),(this[_0x45db77(0x42a)]=_0x3612f7,this[_0x45db77(0x4f9)]=_0x222a4d,this['_injector']=_0x2b6bef,this[_0x45db77(0x164)]=_0x71c720,this[_0x45db77(0x3e4)]=_0x391749,this[_0x45db77(0x45b)]=_0x129aa6,this[_0x45db77(0x237)]=_0x5d4ce0,this['_refRangeService']=_0x4f16d3);}get[_0x406fa3(0x49f)](){const _0x7465d1=_0x406fa3;return this[_0x7465d1(0x302)][_0x7465d1(0x281)]();}get[_0x406fa3(0x190)](){const _0x253402=_0x406fa3;return this[_0x253402(0x2dd)][_0x253402(0x281)]();}['dispose'](){const _0x4811bd=_0x406fa3;super['dispose'](),this[_0x4811bd(0x302)]['next'](new Map()),this[_0x4811bd(0x302)][_0x4811bd(0x145)](),this[_0x4811bd(0x2dd)]['next']([]),this[_0x4811bd(0x2dd)]['complete']();}[_0x406fa3(0x1b5)](){const _0x4861cf=_0x406fa3;this['_init']||(this[_0x4861cf(0x402)]=!0x0,this['_session']['sessionStatus$'][_0x4861cf(0x2b3)](_0x34a6cc['takeUntil'](this['dispose$']))[_0x4861cf(0x218)](_0x49a569=>{const _0x519795=_0x4861cf;_0x49a569===_0xc1ac50[_0x519795(0x579)]?this[_0x519795(0x320)]():this['_toggleOffline']();}),this[_0x4861cf(0x4f9)][_0x4861cf(0x264)]['pipe'](_0x34a6cc[_0x4861cf(0x1d2)](this[_0x4861cf(0x37d)]))[_0x4861cf(0x218)](_0x29bbc0=>{const _0x9f701d=_0x4861cf,_0x4e0ed5=_0x29bbc0[_0x9f701d(0x17d)];_0x4e0ed5===_0x5d08[_0x9f701d(0x581)][_0x9f701d(0x4ed)]&&this[_0x9f701d(0x307)](_0x29bbc0),_0x4e0ed5===_0x5d08[_0x9f701d(0x581)]['USERS_LEAVE']&&this[_0x9f701d(0x15c)](_0x29bbc0);}),this[_0x4861cf(0x3e5)](),this[_0x4861cf(0x343)](this[_0x4861cf(0x237)]['onCommandExecuted'](_0x298c12=>{const _0x177d6d=_0x4861cf;if(this[_0x177d6d(0x1d9)]&&_0x298c12['id']===_0x30bfa9[_0x177d6d(0x54b)]['id']&&_0x298c12[_0x177d6d(0x428)][_0x177d6d(0x389)]===this[_0x177d6d(0x42a)]){const _0x39d255=_0x298c12['params'];this['_updateLocalCursor'](_0x39d255['subUnitId'],_0x39d255[_0x177d6d(0x1d4)][0x0]);}})));}[_0x406fa3(0x307)](_0x234e27){const _0x561378=_0x406fa3;var _0x39042f,_0x491ede;const {memberID:_0x271020,selection:_0x362951}=_0x234e27['data'],{sheetName:_0x5baf69,range:_0x4f42d1}=_0x44d111[_0x561378(0x2c1)](_0x362951),_0x448917={'name':(_0x491ede=(_0x39042f=this[_0x561378(0x3e4)]['getMember'](this[_0x561378(0x42a)],_0x271020))==null?void 0x0:_0x39042f['name'])!=null?_0x491ede:'Unknown\x20user','range':this[_0x561378(0x4a8)](_0x5baf69,_0x4f42d1),'sheetID':_0x5baf69,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x271020),'selection':_0x362951},_0x458622=this['cursorInfo'];_0x458622[_0x561378(0x30e)](_0x271020,_0x448917),this[_0x561378(0x302)][_0x561378(0x321)](_0x458622);}['_onCursorDelete'](_0x4f04fb){const _0x8f98a0=_0x406fa3,{memberID:_0x578492}=_0x4f04fb['data'],_0x367807=this[_0x8f98a0(0x49f)];_0x367807[_0x8f98a0(0x29a)](_0x578492),this['_cursorInfo$'][_0x8f98a0(0x321)](_0x367807);}['_getMergeRange'](_0x15f9dc,_0x3798ab){const _0x4e9dd7=_0x406fa3;var _0x1431a4,_0x2f9ac8;const _0x405277=(_0x2f9ac8=(_0x1431a4=this[_0x4e9dd7(0x45b)]['getUniverSheetInstance'](this[_0x4e9dd7(0x42a)]))==null?void 0x0:_0x1431a4[_0x4e9dd7(0x2f9)](_0x15f9dc))==null?void 0x0:_0x2f9ac8[_0x4e9dd7(0x251)]();return(_0x405277==null?void 0x0:_0x405277['find'](_0xe22c33=>_0x278695[_0x4e9dd7(0x2d7)][_0x4e9dd7(0x13e)](_0xe22c33,_0x3798ab)))||_0x3798ab;}[_0x406fa3(0x3e5)](){const _0x33f230=_0x406fa3,_0x1754cf=new _0x278695[(_0x33f230(0x405))](),_0x3d48c0=_0x454d98(),_0x2b3f94=()=>{const _0x406f41=_0x33f230;_0x1754cf['dispose']();const _0x52fb3a=(_0x48a01d,_0x3b284e,_0x56ea86,_0x1d8886)=>{const _0x477ab2=_0x3463;let _0x4cfc9b=[];switch(_0x48a01d['id']){case _0x30bfa9['EffectRefRangId'][_0x477ab2(0x156)]:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x37f)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)][_0x477ab2(0x45d)]:{_0x4cfc9b=_0x30bfa9['handleDeleteRangeMoveUp'](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)][_0x477ab2(0x4a4)]:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x497)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)][_0x477ab2(0x53b)]:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x2b5)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)]['InsertRangeMoveRightCommandId']:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x2e4)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)]['InsertRowCommandId']:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x3dc)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9['EffectRefRangId'][_0x477ab2(0x478)]:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x153)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)]['RemoveColCommandId']:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x40e)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)][_0x477ab2(0x383)]:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x4d7)](_0x48a01d,_0x1d8886);break;}}const _0x76145e=_0x30bfa9['runRefRangeMutations'](_0x4cfc9b,_0x1d8886),_0x4bcc97=this[_0x477ab2(0x49f)]['get'](_0x3b284e);if(_0x4bcc97&&_0x76145e){const _0x44738e={..._0x4bcc97,'range':_0x76145e};this[_0x477ab2(0x49f)][_0x477ab2(0x30e)](_0x3b284e,_0x44738e),_0x3d48c0(()=>{const _0x120424=_0x477ab2,_0x3169b2=this['_refRangeService']['registerRefRange'](_0x76145e,_0x246142=>(_0x3169b2[_0x120424(0x1f1)](),_0x52fb3a(_0x246142,_0x3b284e,_0x56ea86,_0x76145e)));_0x1754cf[_0x120424(0x1ee)](_0x3169b2);});}return{'redos':[],'undos':[]};};this[_0x406f41(0x49f)][_0x406f41(0x569)]((_0x2a24e8,_0x4391a7)=>{const _0x45ca23=_0x406f41,{range:_0x4000c5,sheetID:_0x4ef5b7}=_0x2a24e8,_0x361dcc=this['_refRangeService'][_0x45ca23(0x4e7)](_0x4000c5,_0x512db0=>(_0x361dcc[_0x45ca23(0x1f1)](),_0x52fb3a(_0x512db0,_0x4391a7,_0x4ef5b7,_0x4000c5)));_0x1754cf[_0x45ca23(0x1ee)](_0x361dcc);});};this[_0x33f230(0x343)](_0x278695[_0x33f230(0x1c8)](this[_0x33f230(0x302)][_0x33f230(0x218)](()=>{_0x2b3f94();})));}[_0x406fa3(0x320)](){const _0x188705=_0x406fa3;var _0xd5ed10,_0xbb5187;if(this[_0x188705(0x1d9)]=!0x0,((_0xd5ed10=this[_0x188705(0x45b)]['getFocusedUnit']())==null?void 0x0:_0xd5ed10['getUnitId']())!==this[_0x188705(0x42a)])return;const _0x31d6ad=(_0xbb5187=this['_injector']['get'](_0x30bfa9[_0x188705(0x2a6)])[_0x188705(0x16e)]())==null?void 0x0:_0xbb5187[0x0],_0x45b867=this[_0x188705(0x45b)][_0x188705(0x3b5)](_0x278695[_0x188705(0x266)]['UNIVER_SHEET'])[_0x188705(0x27a)]();_0x31d6ad&&_0x45b867&&this[_0x188705(0x437)](_0x45b867['getSheetId'](),_0x31d6ad);}[_0x406fa3(0x494)](){const _0x51157a=_0x406fa3;this[_0x51157a(0x1d9)]=!0x1;}};_0x400f10=_0x375160([_0x1a8bcf(0x2,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x1a8bcf(0x3,_0x278695[_0x406fa3(0x2cb)](_0x3e1517)),_0x1a8bcf(0x4,_0x278695[_0x406fa3(0x2cb)](_0x76bc39)),_0x1a8bcf(0x5,_0x278695['IUniverInstanceService']),_0x1a8bcf(0x6,_0x278695[_0x406fa3(0x46e)]),_0x1a8bcf(0x7,_0x278695[_0x406fa3(0x2cb)](_0x30bfa9['RefRangeService']))],_0x400f10);var _0x5b1028=Object['defineProperty'],_0x37b24a=Object[_0x406fa3(0x187)],_0x4544d2=(_0x5f45db,_0x5d7ba4,_0x22ad79,_0x295f95)=>{const _0x223325=_0x406fa3;for(var _0x11724a=_0x295f95>0x1?void 0x0:_0x295f95?_0x37b24a(_0x5d7ba4,_0x22ad79):_0x5d7ba4,_0x8b3d02=_0x5f45db[_0x223325(0x565)]-0x1,_0x179189;_0x8b3d02>=0x0;_0x8b3d02--)(_0x179189=_0x5f45db[_0x8b3d02])&&(_0x11724a=(_0x295f95?_0x179189(_0x5d7ba4,_0x22ad79,_0x11724a):_0x179189(_0x11724a))||_0x11724a);return _0x295f95&&_0x11724a&&_0x5b1028(_0x5d7ba4,_0x22ad79,_0x11724a),_0x11724a;},_0x50aaed=(_0x5eb8f6,_0x3020c7)=>(_0x3cb67c,_0x5895ef)=>_0x3020c7(_0x3cb67c,_0x5895ef,_0x5eb8f6);let _0x18b6d9=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x4a1974,_0x1444bc,_0x97b12e){const _0x13390e=_0x406fa3;super(),_0x175777(this,_0x13390e(0x375),new Map()),_0x175777(this,'_entityInit$',new _0x34a6cc[(_0x13390e(0x2eb))]()),(this[_0x13390e(0x45b)]=_0x4a1974,this[_0x13390e(0x557)]=_0x1444bc,this[_0x13390e(0x4f5)]=_0x97b12e,this[_0x13390e(0x402)]());}[_0x406fa3(0x1f1)](){const _0x342f36=_0x406fa3;super[_0x342f36(0x1f1)](),this['_entityInit$'][_0x342f36(0x145)](),this[_0x342f36(0x375)]['forEach'](_0x28feb5=>_0x28feb5[_0x342f36(0x1f1)]());}[_0x406fa3(0x41d)](_0x28e7fa){const _0x3a488a=_0x406fa3;return this[_0x3a488a(0x375)][_0x3a488a(0x39d)](_0x28e7fa)?this[_0x3a488a(0x375)][_0x3a488a(0x503)](_0x28e7fa)[_0x3a488a(0x1ec)]:this[_0x3a488a(0x2f1)]['pipe'](_0x34a6cc[_0x3a488a(0x4b0)](_0x43c503=>_0x43c503['unitID']===_0x28e7fa),_0x34a6cc[_0x3a488a(0x49c)](_0x2aec40=>_0x2aec40[_0x3a488a(0x1ec)]));}[_0x406fa3(0x402)](){const _0x1d8f3d=_0x406fa3;this[_0x1d8f3d(0x45b)][_0x1d8f3d(0x4b9)](_0x278695[_0x1d8f3d(0x266)][_0x1d8f3d(0x4fc)])[_0x1d8f3d(0x2b3)](_0x34a6cc[_0x1d8f3d(0x1d2)](this[_0x1d8f3d(0x37d)]))[_0x1d8f3d(0x218)](async _0x31a380=>{const _0x547bb1=_0x1d8f3d,_0x4652f9=_0x31a380['getUnitId'](),_0x1d00cd=await this['_startSheetCollabCursor'](_0x4652f9);this['_entityInit$'][_0x547bb1(0x321)](_0x1d00cd),this['_entities'][_0x547bb1(0x30e)](_0x4652f9,_0x1d00cd);}),this[_0x1d8f3d(0x45b)][_0x1d8f3d(0x4b9)](_0x278695[_0x1d8f3d(0x266)][_0x1d8f3d(0x373)])[_0x1d8f3d(0x2b3)](_0x34a6cc[_0x1d8f3d(0x1d2)](this[_0x1d8f3d(0x37d)]))[_0x1d8f3d(0x2b3)](_0x34a6cc[_0x1d8f3d(0x4b0)](_0x17ae56=>!_0x17ae56[_0x1d8f3d(0x1f9)]()[_0x1d8f3d(0x24c)]('__')))[_0x1d8f3d(0x218)](async _0x23b740=>{const _0x51d506=_0x1d8f3d,_0x4d5668=_0x23b740[_0x51d506(0x1f9)](),_0xd98ec0=await this['_startDocCollabCursor'](_0x4d5668);this['_entityInit$'][_0x51d506(0x321)](_0xd98ec0),this[_0x51d506(0x375)][_0x51d506(0x30e)](_0x4d5668,_0xd98ec0);}),_0x34a6cc[_0x1d8f3d(0x504)](this[_0x1d8f3d(0x45b)][_0x1d8f3d(0x40a)](_0x278695[_0x1d8f3d(0x266)][_0x1d8f3d(0x373)]),this[_0x1d8f3d(0x45b)][_0x1d8f3d(0x40a)](_0x278695[_0x1d8f3d(0x266)]['UNIVER_SHEET']))['pipe'](_0x34a6cc[_0x1d8f3d(0x1d2)](this[_0x1d8f3d(0x37d)]))['subscribe'](_0x2fef37=>{const _0x2a75a3=_0x1d8f3d,_0x20f931=_0x2fef37[_0x2a75a3(0x1f9)](),_0x48f7af=this['_entities'][_0x2a75a3(0x503)](_0x20f931);_0x48f7af&&(_0x48f7af[_0x2a75a3(0x1f1)](),this['_entities'][_0x2a75a3(0x29a)](_0x20f931));});}async['_startSheetCollabCursor'](_0xf96988){const _0x5a806a=_0x406fa3,_0x343c8e=await this[_0x5a806a(0x4f5)][_0x5a806a(0x215)](_0xf96988),_0xdcabd8=this['_injector'][_0x5a806a(0x13d)](_0x400f10,_0xf96988,_0x343c8e);return _0xdcabd8[_0x5a806a(0x1b5)](),_0xdcabd8;}async[_0x406fa3(0x451)](_0xc9cefe){const _0x4d67fb=_0x406fa3,_0x35658f=await this[_0x4d67fb(0x4f5)][_0x4d67fb(0x215)](_0xc9cefe),_0x511a52=this[_0x4d67fb(0x557)][_0x4d67fb(0x13d)](_0x3f93ba,_0xc9cefe,_0x35658f);return _0x511a52[_0x4d67fb(0x1b5)](),_0x511a52;}};_0x18b6d9=_0x4544d2([_0x50aaed(0x0,_0x278695[_0x406fa3(0x2d6)]),_0x50aaed(0x1,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x50aaed(0x2,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x502)]))],_0x18b6d9);const _0x3fa5ac=0x14,_0x3013ba=0xc8,_0x1083e9=0x4,_0x5ce537=0x5;function _0x3c2376(_0x30a6e8,_0x5ea2d8){const _0x135872=_0x406fa3;let {radius:_0x47dff1,width:_0x3daacc,height:_0x5696f7}=_0x5ea2d8;_0x47dff1=_0x47dff1!=null?_0x47dff1:0x0,_0x3daacc=_0x3daacc!=null?_0x3daacc:0x1e,_0x5696f7=_0x5696f7!=null?_0x5696f7:0x1e;let _0x2059f0=0x0,_0x5e51dd=0x0,_0x1e826a=0x0;_0x2059f0=_0x5e51dd=_0x1e826a=Math[_0x135872(0x3a1)](_0x47dff1,_0x3daacc/0x2,_0x5696f7/0x2),_0x30a6e8[_0x135872(0x540)](),_0x30a6e8[_0x135872(0x3de)](_0x2059f0,0x0),_0x30a6e8['lineTo'](_0x3daacc-_0x5e51dd,0x0),_0x30a6e8['arc'](_0x3daacc-_0x5e51dd,_0x5e51dd,_0x5e51dd,Math['PI']*0x3/0x2,0x0,!0x1),_0x30a6e8[_0x135872(0x38a)](_0x3daacc,_0x5696f7-_0x1e826a),_0x30a6e8['arc'](_0x3daacc-_0x1e826a,_0x5696f7-_0x1e826a,_0x1e826a,0x0,Math['PI']/0x2,!0x1),_0x30a6e8[_0x135872(0x38a)](0x0,_0x5696f7),_0x30a6e8['lineTo'](0x0,_0x2059f0),_0x30a6e8['arc'](_0x2059f0,_0x2059f0,_0x2059f0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30a6e8[_0x135872(0x331)](),_0x5ea2d8[_0x135872(0x22c)]&&(_0x30a6e8[_0x135872(0x196)](),_0x30a6e8['fillStyle']=_0x5ea2d8[_0x135872(0x22c)],_0x5ea2d8[_0x135872(0x3ed)]==='evenodd'?_0x30a6e8[_0x135872(0x22c)](_0x135872(0x188)):_0x30a6e8[_0x135872(0x22c)](),_0x30a6e8['restore']());}class _0x39f910 extends _0x363b07[_0x406fa3(0x2a5)]{constructor(_0x4b4914,_0x51d2fa){const _0x13f08b=_0x406fa3;super(_0x4b4914,_0x51d2fa),_0x175777(this,_0x13f08b(0x249)),_0x175777(this,_0x13f08b(0x2f2)),(this['color']=_0x51d2fa==null?void 0x0:_0x51d2fa['color'],this[_0x13f08b(0x2f2)]=_0x51d2fa==null?void 0x0:_0x51d2fa[_0x13f08b(0x2f2)]);}static[_0x406fa3(0x1d1)](_0x3b6f8f,_0x222126){const _0xc3949f=_0x406fa3,{text:_0x290cac,color:_0x5a0304}=_0x222126;_0x3b6f8f[_0xc3949f(0x196)](),_0x3b6f8f[_0xc3949f(0x483)]=_0xc3949f(0x4ce);const _0x5b7e0c=_0x3b6f8f[_0xc3949f(0x3a0)](_0x290cac)[_0xc3949f(0x3cc)],_0xde5dee=Math['min'](_0x5b7e0c+0x2*_0x1083e9,_0x3013ba);_0x3c2376(_0x3b6f8f,{'height':_0x3fa5ac,'radius':0x4,'width':_0xde5dee,'fill':_0x5a0304,'evented':!0x1}),_0x3b6f8f[_0xc3949f(0x205)]=_0xc3949f(0x527);const _0xe1ec38=_0x1083e9,_0x433678=_0x3fa5ac-_0x5ce537,_0x35cdd4=_0x3013ba-0x2*_0x1083e9;if(_0x5b7e0c>_0x35cdd4){let _0x35aafa='',_0x1546cd=0x0;for(const _0x27605f of _0x290cac){const _0x12cf2c=_0x3b6f8f['measureText'](_0x27605f)['width'];if(_0x1546cd+_0x12cf2c<=_0x35cdd4-_0x3b6f8f[_0xc3949f(0x3a0)](_0xc3949f(0x35d))[_0xc3949f(0x3cc)])_0x35aafa+=_0x27605f,_0x1546cd+=_0x12cf2c;else{_0x35aafa+=_0xc3949f(0x35d);break;}}_0x3b6f8f[_0xc3949f(0x52e)](_0x35aafa,_0xe1ec38,_0x433678);}else _0x3b6f8f['fillText'](_0x290cac,_0xe1ec38,_0x433678);_0x3b6f8f[_0xc3949f(0x3e7)]();}[_0x406fa3(0x568)](_0x1125c4){const _0xe9048e=_0x406fa3;_0x39f910[_0xe9048e(0x1d1)](_0x1125c4,this);}}const _0x28f728=_0x406fa3(0x45f),_0x2c4149='collab-text-range-',_0x13c1e9=_0x406fa3(0x220),_0x473c3c=0x6,_0x43f25c=1.5,_0x4dcbc5=0x4,_0x179757=1.5,_0x198978='rgba(255,\x20255,\x20255,\x200.01)';class _0x1e3fa9{constructor(_0x4b41ba,_0x3b8eff,_0x5da3eb,_0x3b462e){const _0x1a5070=_0x406fa3;_0x175777(this,'_shapes',[]),_0x175777(this,_0x1a5070(0x450),null),_0x175777(this,_0x1a5070(0x51b),null),_0x175777(this,'_anchorDot',null),_0x175777(this,_0x1a5070(0x57c),null),_0x175777(this,_0x1a5070(0x4cf),null),(this[_0x1a5070(0x27b)]=_0x4b41ba,this[_0x1a5070(0x37e)]=_0x3b8eff,this[_0x1a5070(0x2c6)]=_0x5da3eb,this['_document']=_0x3b462e,this['_render']());}set[_0x406fa3(0x349)](_0x511996){const _0x4057b5=_0x406fa3;_0x511996?(this[_0x4057b5(0x576)]&&this[_0x4057b5(0x576)]['hide'](),this[_0x4057b5(0x51b)]&&this['_textBubble'][_0x4057b5(0x571)]()):(this[_0x4057b5(0x576)]&&this[_0x4057b5(0x576)]['show'](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x406fa3(0x1f1)](){const _0x2ee543=_0x406fa3;for(const _0x50fc90 of this['_shapes'])_0x50fc90[_0x2ee543(0x1f1)]();this['_textBubble']&&this[_0x2ee543(0x51b)][_0x2ee543(0x1f1)](),this['_anchorDot']&&this[_0x2ee543(0x576)][_0x2ee543(0x1f1)](),this[_0x2ee543(0x450)]&&this[_0x2ee543(0x450)][_0x2ee543(0x1f1)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x28ac2f=_0x406fa3;var _0x2b731a;const {_docSkeleton:_0x2ff612,_document:_0x4fe058}=this,{color:_0x1f28f3,name:_0x28838d,ranges:_0x5d8192}=this[_0x28ac2f(0x27b)],_0x1485af=_0x4fe058[_0x28ac2f(0x217)](),{docsLeft:_0xd91c96,docsTop:_0x5dff07}=_0x1485af,_0x1892f6=new _0x107653[(_0x28ac2f(0x2a2))](_0x1485af,_0x2ff612);for(const {startOffset:_0x93a144,endOffset:_0x427485,collapsed:_0x12e761,isActive:_0x2522c3}of _0x5d8192){const _0x3d1354=_0x2ff612[_0x28ac2f(0x244)](_0x93a144),_0x2a06c0=_0x2ff612[_0x28ac2f(0x244)](_0x427485);if(_0x2522c3){const {contentBoxPointGroup:_0x3ecfb4}=_0x1892f6[_0x28ac2f(0x367)](_0x2a06c0,_0x2a06c0);if(_0x3ecfb4['length']===0x0)continue;this['_drawAnchor'](_0x1f28f3,_0x3ecfb4,_0xd91c96,_0x5dff07,_0x28838d),this[_0x28ac2f(0x4cf)]=this[_0x28ac2f(0x2ca)]();}if(!_0x12e761&&_0x3d1354&&_0x2a06c0){if(_0x107653[_0x28ac2f(0x2c7)](_0x3d1354,_0x2a06c0)){const _0x243dba=new _0x107653[(_0x28ac2f(0x463))](_0x1485af,_0x2ff612),{pointGroup:_0x29d57c}=(_0x2b731a=_0x243dba[_0x28ac2f(0x367)](_0x3d1354,_0x2a06c0))!=null?_0x2b731a:{};if(_0x29d57c==null||_0x29d57c[_0x28ac2f(0x565)]===0x0)continue;this[_0x28ac2f(0x411)](_0x1f28f3,_0x29d57c,_0xd91c96,_0x5dff07);}else{const {contentBoxPointGroup:_0x785da1}=_0x1892f6[_0x28ac2f(0x367)](_0x3d1354,_0x2a06c0);if(_0x785da1[_0x28ac2f(0x565)]===0x0)continue;this[_0x28ac2f(0x38e)](_0x1f28f3,_0x785da1,_0xd91c96,_0x5dff07);}}}}[_0x406fa3(0x358)](_0x46346f,_0x1c70f3,_0x1ada00,_0x17aa9e,_0x417f82){const _0x3634dd=_0x406fa3,_0x9d0371=this['_getAnchorBounding'](_0x1c70f3),{left:_0x59ab3c,top:_0x951b80,height:_0x44bc00}=_0x9d0371,_0x906dfb=this[_0x3634dd(0x52d)](),_0xcf533b=_0x179757/_0x906dfb,_0x40fd5d=new _0x363b07[(_0x3634dd(0x2c3))](_0x28f728+_0x278695['Tools'][_0x3634dd(0x410)](_0x473c3c),{'left':_0x59ab3c+_0x1ada00-_0xcf533b,'top':_0x951b80+_0x17aa9e,'height':_0x44bc00,'width':_0x43f25c,'fill':_0x46346f||_0x363b07[_0x3634dd(0x28c)](_0x278695[_0x3634dd(0x4b7)][_0x3634dd(0x3a5)],0x0),'strokeWidth':_0xcf533b,'stroke':_0x198978,'evented':!0x0});this['_anchor']=_0x40fd5d,this[_0x3634dd(0x37e)]['addObject'](_0x40fd5d,_0x107653[_0x3634dd(0x1a1)]);const _0x3dbbcc=new _0x363b07[(_0x3634dd(0x2c3))](_0x28f728+_0x278695[_0x3634dd(0x1a3)][_0x3634dd(0x410)](_0x473c3c),{'left':_0x59ab3c+_0x1ada00-_0xcf533b,'top':_0x951b80+_0x17aa9e-_0x4dcbc5/0x2,'height':_0x4dcbc5,'width':_0x4dcbc5,'fill':_0x46346f||_0x363b07['getColor'](_0x278695[_0x3634dd(0x4b7)][_0x3634dd(0x3a5)],0x0),'strokeWidth':0x0,'stroke':_0x46346f||_0x363b07[_0x3634dd(0x28c)](_0x278695[_0x3634dd(0x4b7)][_0x3634dd(0x3a5)],0x0),'evented':!0x1});this[_0x3634dd(0x576)]=_0x3dbbcc,this[_0x3634dd(0x37e)][_0x3634dd(0x3e0)](_0x3dbbcc,_0x107653[_0x3634dd(0x1a1)]);const _0x1a0bf4=new _0x39f910(_0x28f728+_0x278695[_0x3634dd(0x1a3)][_0x3634dd(0x410)](_0x473c3c),{'left':_0x59ab3c+_0x1ada00-_0xcf533b,'top':_0x951b80+_0x17aa9e-_0x3fa5ac,'text':_0x417f82,'color':_0x46346f});this[_0x3634dd(0x51b)]=_0x1a0bf4,this[_0x3634dd(0x37e)]['addObject'](_0x1a0bf4,_0x107653[_0x3634dd(0x1a1)]),this[_0x3634dd(0x349)]=!0x1;}[_0x406fa3(0x2ca)](){const _0x243f13=_0x406fa3,_0xbe4aea=this['_anchor'][_0x243f13(0x351)][_0x243f13(0x2bb)](()=>{const _0x19ef5c=_0x243f13;this[_0x19ef5c(0x349)]=!0x0;}),_0x5c7330=this[_0x243f13(0x450)][_0x243f13(0x18d)][_0x243f13(0x2bb)](()=>{const _0x3554fd=_0x243f13;this[_0x3554fd(0x57c)]&&clearTimeout(this[_0x3554fd(0x57c)]),this[_0x3554fd(0x57c)]=setTimeout(()=>{const _0x113f6c=_0x3554fd;this[_0x113f6c(0x349)]=!0x1;},0x7d0);});return()=>{const _0x44cbea=_0x243f13;_0xbe4aea[_0x44cbea(0x52f)](),_0x5c7330[_0x44cbea(0x52f)]();};}['_drawTextRange'](_0x2cc01f,_0x283140,_0x5e009d,_0x584d7a){const _0x18e6e5=_0x406fa3,_0x3b7eaa=new _0x278695[(_0x18e6e5(0x471))](_0x2cc01f)[_0x18e6e5(0x336)](0.2)[_0x18e6e5(0x208)](),_0x4986b0=new _0x363b07[(_0x18e6e5(0x566))](_0x2c4149+_0x278695[_0x18e6e5(0x1a3)]['generateRandomId'](_0x473c3c),{'pointsGroup':_0x283140,'fill':_0x3b7eaa||_0x363b07[_0x18e6e5(0x28c)](_0x278695[_0x18e6e5(0x4b7)][_0x18e6e5(0x3a5)],0.2),'left':_0x5e009d,'top':_0x584d7a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x18e6e5(0x44f)][_0x18e6e5(0x355)](_0x4986b0),this['_scene'][_0x18e6e5(0x3e0)](_0x4986b0,_0x107653[_0x18e6e5(0x1a1)]);}[_0x406fa3(0x411)](_0x51b0bc,_0x4c8ca8,_0x46e668,_0x548f64){const _0x26c42d=_0x406fa3,_0x160e18=new _0x278695[(_0x26c42d(0x471))](_0x51b0bc)['setAlpha'](0.2)[_0x26c42d(0x208)](),_0x4c68df=new _0x363b07['RegularPolygon'](_0x13c1e9+_0x278695[_0x26c42d(0x1a3)][_0x26c42d(0x410)](_0x473c3c),{'pointsGroup':_0x4c8ca8,'fill':_0x160e18||_0x363b07[_0x26c42d(0x28c)](_0x278695[_0x26c42d(0x4b7)][_0x26c42d(0x3a5)],0.2),'left':_0x46e668,'top':_0x548f64,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26c42d(0x44f)][_0x26c42d(0x355)](_0x4c68df),this['_scene']['addObject'](_0x4c68df,_0x107653[_0x26c42d(0x1a1)]);}[_0x406fa3(0x4de)](_0x579b29){const _0x5a8613=_0x579b29[0x0],_0x2a2467=_0x5a8613[0x0],_0x2f1d8e=_0x5a8613[0x2],{x:_0x26914e,y:_0x578c10}=_0x2a2467,{x:_0x537095,y:_0x53f321}=_0x2f1d8e;return{'left':_0x26914e,'top':_0x578c10,'width':_0x537095-_0x26914e,'height':_0x53f321-_0x578c10};}[_0x406fa3(0x52d)](){const _0x42571c=_0x406fa3,{scaleX:_0xfd478e,scaleY:_0x431861}=this[_0x42571c(0x37e)][_0x42571c(0x172)]();return Math[_0x42571c(0x1bb)](_0xfd478e,_0x431861);}}var _0x314081=Object[_0x406fa3(0x1a2)],_0x3a0a2f=Object[_0x406fa3(0x187)],_0xd0b50d=(_0x3e06c0,_0x40a0dd,_0x7c6685,_0x3b31bd)=>{const _0x388b13=_0x406fa3;for(var _0x4e71e2=_0x3b31bd>0x1?void 0x0:_0x3b31bd?_0x3a0a2f(_0x40a0dd,_0x7c6685):_0x40a0dd,_0x293c59=_0x3e06c0[_0x388b13(0x565)]-0x1,_0x43339b;_0x293c59>=0x0;_0x293c59--)(_0x43339b=_0x3e06c0[_0x293c59])&&(_0x4e71e2=(_0x3b31bd?_0x43339b(_0x40a0dd,_0x7c6685,_0x4e71e2):_0x43339b(_0x4e71e2))||_0x4e71e2);return _0x3b31bd&&_0x4e71e2&&_0x314081(_0x40a0dd,_0x7c6685,_0x4e71e2),_0x4e71e2;},_0x1d9792=(_0x39e387,_0x159008)=>(_0x412321,_0x425419)=>_0x159008(_0x412321,_0x425419,_0x39e387);let _0x2a6ae4=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x3f4193,_0x1bb92b,_0xd8c62f,_0x5ab462,_0x4ee54c){const _0x51ae5e=_0x406fa3;super(),_0x175777(this,_0x51ae5e(0x2a1),[]),_0x175777(this,_0x51ae5e(0x4d3),[]),(this['_context']=_0x3f4193,this[_0x51ae5e(0x3bb)]=_0x1bb92b,this['_collabCursorController']=_0xd8c62f,this[_0x51ae5e(0x237)]=_0x5ab462,this[_0x51ae5e(0x51a)]=_0x4ee54c,this[_0x51ae5e(0x402)]());}['_init'](){const _0x452ec2=_0x406fa3,_0x44fdeb=this[_0x452ec2(0x440)][_0x452ec2(0x389)],_0x266002=this[_0x452ec2(0x3bb)];this['disposeWithMe'](_0x34a6cc[_0x452ec2(0x154)]([this[_0x452ec2(0x258)]['getCollabCursors$'](_0x44fdeb),this[_0x452ec2(0x51a)][_0x452ec2(0x30d)]])[_0x452ec2(0x2b3)](_0x3753b5[_0x452ec2(0x1a8)](([_0x535a71,_0x42ffa6])=>({'skeleton':_0x266002[_0x452ec2(0x539)](),'cursors':[..._0x535a71[_0x452ec2(0x447)]()]['flatMap'](_0x589354=>({..._0x589354,'color':_0x42ffa6[_0x589354[_0x452ec2(0x249)]]}))})))['subscribe'](_0x31bd38=>{const _0x1726fa=_0x452ec2;if(this[_0x1726fa(0x3f7)](),_0x31bd38){const {skeleton:_0x820bed,cursors:_0x5f4034}=_0x31bd38;this['_updateCollabCursors'](_0x820bed,_0x5f4034);}})),this[_0x452ec2(0x48a)](),this[_0x452ec2(0x51c)]();}[_0x406fa3(0x28a)](_0x47b2ae,_0x23dacf){const _0x2f65fe=_0x406fa3,{scene:_0x1b8d1c,mainComponent:_0x45c0c0}=this['_context'],_0x52e2a2=_0x23dacf['map'](_0x3be220=>new _0x1e3fa9(_0x3be220,_0x1b8d1c,_0x47b2ae,_0x45c0c0));this[_0x2f65fe(0x2a1)]=_0x52e2a2,this[_0x2f65fe(0x4d3)]=_0x23dacf;}[_0x406fa3(0x4b3)](){const _0x42abbc=_0x406fa3;this[_0x42abbc(0x3f7)]();const {scene:_0x25be79,mainComponent:_0x13312b}=this[_0x42abbc(0x440)],_0x1e7e81=this[_0x42abbc(0x3bb)]['getSkeleton'](),_0x45ee28=this[_0x42abbc(0x4d3)]['map'](_0x398745=>new _0x1e3fa9(_0x398745,_0x25be79,_0x1e7e81,_0x13312b));this['_cursorShapes']=_0x45ee28;}[_0x406fa3(0x3f7)](){const _0x31209f=_0x406fa3;this[_0x31209f(0x2a1)][_0x31209f(0x569)](_0x35aaa6=>_0x35aaa6[_0x31209f(0x1f1)]()),this['_cursorShapes']=[];}[_0x406fa3(0x51c)](){const _0x2ca060=_0x406fa3,_0x3024ed=[_0x107653[_0x2ca060(0x342)]['id']];this[_0x2ca060(0x343)](this['_commandService'][_0x2ca060(0x415)](_0x1bc6fb=>{const _0x322215=_0x2ca060;_0x3024ed[_0x322215(0x243)](_0x1bc6fb['id'])&&_0x1bc6fb['params']['unitId']===this[_0x322215(0x440)]['unitId']&&this[_0x322215(0x4b3)]();}));}[_0x406fa3(0x48a)](){const _0x2da2e4=_0x406fa3;this[_0x2da2e4(0x343)](_0x278695[_0x2da2e4(0x4d1)](this[_0x2da2e4(0x440)][_0x2da2e4(0x1e5)][_0x2da2e4(0x2ae)])[_0x2da2e4(0x2b3)](_0x3753b5[_0x2da2e4(0x4b0)](_0x4faa41=>_0x4faa41[_0x2da2e4(0x460)]===_0x363b07[_0x2da2e4(0x19e)][_0x2da2e4(0x528)]),_0x3753b5[_0x2da2e4(0x50e)](0x10))[_0x2da2e4(0x218)](()=>{const _0x3ad670=_0x2da2e4;this[_0x3ad670(0x4b3)]();}));}};_0x2a6ae4=_0xd0b50d([_0x1d9792(0x1,_0x278695[_0x406fa3(0x2cb)](_0x3435c3[_0x406fa3(0x3ae)])),_0x1d9792(0x2,_0x278695[_0x406fa3(0x2cb)](_0x18b6d9)),_0x1d9792(0x3,_0x278695[_0x406fa3(0x46e)]),_0x1d9792(0x4,_0x278695['Inject'](_0x278695[_0x406fa3(0x158)]))],_0x2a6ae4);const _0x4d3219=0x1,_0x199d03=1.5;class _0x17af96 extends _0x363b07[_0x406fa3(0x2a5)]{constructor(_0x13867c,_0x3a0bd7){const _0x7c9e36=_0x406fa3;super(_0x13867c,_0x3a0bd7),_0x175777(this,_0x7c9e36(0x36c)),_0x175777(this,_0x7c9e36(0x15d),!0x1),_0x175777(this,_0x7c9e36(0x1f8)),_0x175777(this,_0x7c9e36(0x3eb),''),_0x175777(this,_0x7c9e36(0x4a1),'top'),_0x175777(this,_0x7c9e36(0x3f2)),(_0x3a0bd7&&this['setShapeProps'](_0x3a0bd7),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x7c9e36(0x46a)]({'hovered':!0x0})),this[_0x7c9e36(0x18d)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5ba2e8){const _0x35840e=_0x406fa3;var _0x3c8148,_0x30cfc3,_0x77f76e,_0x2ce318,_0xdc39e6,_0x4ad153;this[_0x35840e(0x36c)]=(_0x3c8148=_0x5ba2e8['color'])!=null?_0x3c8148:this[_0x35840e(0x36c)],this[_0x35840e(0x15d)]=(_0x30cfc3=_0x5ba2e8[_0x35840e(0x49d)])!=null?_0x30cfc3:this[_0x35840e(0x15d)],this[_0x35840e(0x1f8)]=(_0x77f76e=_0x5ba2e8[_0x35840e(0x4c0)])!=null?_0x77f76e:this['_range'],this[_0x35840e(0x3eb)]=(_0x2ce318=_0x5ba2e8[_0x35840e(0x315)])!=null?_0x2ce318:this[_0x35840e(0x3eb)],this[_0x35840e(0x4a1)]=(_0xdc39e6=_0x5ba2e8[_0x35840e(0x1a7)])!=null?_0xdc39e6:this['_labelPosition'],this[_0x35840e(0x3f2)]=(_0x4ad153=_0x5ba2e8[_0x35840e(0x3c7)])!=null?_0x4ad153:this[_0x35840e(0x3f2)],this[_0x35840e(0x350)]({'width':_0x5ba2e8[_0x35840e(0x3cc)],'height':_0x5ba2e8[_0x35840e(0x221)]});}['onMouseMove'](_0x188aeb){const _0x30544f=_0x406fa3,{row:_0x29c0c9,column:_0x451a9b}=_0x188aeb;if(_0x29c0c9>=this['_range'][_0x30544f(0x4ac)]&&_0x29c0c9<=this[_0x30544f(0x1f8)][_0x30544f(0x57e)]&&_0x451a9b>=this['_range'][_0x30544f(0x2a7)]&&_0x451a9b<=this[_0x30544f(0x1f8)][_0x30544f(0x492)]){this[_0x30544f(0x46a)]({'hovered':!0x0});return;}this[_0x30544f(0x46a)]({'hovered':!0x1});}[_0x406fa3(0x41c)](_0xeed284){return!0x1;}['_draw'](_0x3f6636){const _0x5e7a1c=_0x406fa3;_0x363b07[_0x5e7a1c(0x2c3)][_0x5e7a1c(0x1d1)](_0x3f6636,{'width':this[_0x5e7a1c(0x3cc)],'height':this[_0x5e7a1c(0x221)],'strokeWidth':_0x199d03,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5e7a1c(0x3f2)]}),this['_hovered']&&(_0x3f6636['save'](),_0x3f6636[_0x5e7a1c(0x2e9)](0x1,0x0,0x0,0x1,this[_0x5e7a1c(0x3cc)],this[_0x5e7a1c(0x4a1)]===_0x5e7a1c(0x459)?0x0:-_0x3fa5ac),_0x39f910['drawWith'](_0x3f6636,{'text':this[_0x5e7a1c(0x3eb)],'color':this[_0x5e7a1c(0x36c)]}),_0x3f6636[_0x5e7a1c(0x3e7)]());}}var _0x33e6bb=Object[_0x406fa3(0x1a2)],_0x1effc3=Object['getOwnPropertyDescriptor'],_0x268909=(_0x42a894,_0x28fb9d,_0x13b7a9,_0x134768)=>{const _0x5b6b87=_0x406fa3;for(var _0x544be1=_0x134768>0x1?void 0x0:_0x134768?_0x1effc3(_0x28fb9d,_0x13b7a9):_0x28fb9d,_0x29b8a5=_0x42a894[_0x5b6b87(0x565)]-0x1,_0x9dfb8d;_0x29b8a5>=0x0;_0x29b8a5--)(_0x9dfb8d=_0x42a894[_0x29b8a5])&&(_0x544be1=(_0x134768?_0x9dfb8d(_0x28fb9d,_0x13b7a9,_0x544be1):_0x9dfb8d(_0x544be1))||_0x544be1);return _0x134768&&_0x544be1&&_0x33e6bb(_0x28fb9d,_0x13b7a9,_0x544be1),_0x544be1;},_0xb3aea5=(_0x63f27c,_0x39d339)=>(_0x4754fd,_0x4af108)=>_0x39d339(_0x4754fd,_0x4af108,_0x63f27c);const _0x3ddfe9=0x1389;let _0xdd3747=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x213344,_0x7131ee,_0x1a6c3b,_0x7c8f90){const _0x3284f3=_0x406fa3;super(),_0x175777(this,_0x3284f3(0x4d3),new Set()),_0x175777(this,'_lastPointer',null),(this['_context']=_0x213344,this[_0x3284f3(0x30f)]=_0x7131ee,this[_0x3284f3(0x258)]=_0x1a6c3b,this[_0x3284f3(0x51a)]=_0x7c8f90,this['_init']());}[_0x406fa3(0x402)](){const _0x38f4c0=_0x406fa3;this['_sheetSkeletonManagerService'][_0x38f4c0(0x3ad)][_0x38f4c0(0x2b3)](_0x3753b5[_0x38f4c0(0x1d2)](this[_0x38f4c0(0x37d)]),_0x3753b5[_0x38f4c0(0x49c)](_0x2a1c1d=>{const _0x2586d9=_0x38f4c0;if(_0x2a1c1d){const _0x197e06=_0x2a1c1d['sheetId'];return _0x34a6cc['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x2586d9(0x440)][_0x2586d9(0x389)]),this[_0x2586d9(0x51a)][_0x2586d9(0x30d)])[_0x2586d9(0x2b3)](_0x3753b5[_0x2586d9(0x1a8)](([_0x65227c,_0x58ae05])=>{const _0x11f99a=_0x2586d9,_0xbf7a97=new Map();return _0x65227c[_0x11f99a(0x569)]((_0x5b5ec0,_0x2d57b3)=>{const _0xd552c5=_0x11f99a;if(_0x5b5ec0[_0xd552c5(0x213)]===_0x197e06){const _0x3199f8={..._0x5b5ec0};_0x3199f8[_0xd552c5(0x249)]=_0x58ae05[_0x5b5ec0[_0xd552c5(0x249)]],_0xbf7a97[_0xd552c5(0x30e)](_0x2d57b3,_0x3199f8);}}),{'skeleton':_0x2a1c1d,'cursors':_0xbf7a97};}));}return _0x34a6cc['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2cc94e,cursors:_0x3b8e9f})=>{this['_removeCollabCursors'](),_0x2cc94e&&this['_updateCollabCursors'](_0x2cc94e,_0x3b8e9f);}),this[_0x38f4c0(0x30f)]['currentSkeleton$'][_0x38f4c0(0x218)](_0x44e49b=>{const _0x260e9a=_0x38f4c0;if(_0x44e49b==null)return;const {skeleton:_0x5c80b2}=_0x44e49b,{scene:_0x22c030}=this[_0x260e9a(0x440)];_0x22c030[_0x260e9a(0x518)][_0x260e9a(0x2bb)](_0x278695[_0x260e9a(0x141)](_0x4e1008=>{const _0x48a17d=_0x260e9a;var _0x1695f7,_0x47c85c;const {offsetX:_0x5b04aa,offsetY:_0x2fd15f}=_0x4e1008,{x:_0x3f322b,y:_0x1f3a30}=_0x22c030[_0x48a17d(0x50c)](_0x363b07[_0x48a17d(0x238)]['FromArray']([_0x5b04aa,_0x2fd15f])),{scaleX:_0x36bcad,scaleY:_0x5493e3}=_0x22c030[_0x48a17d(0x172)](),_0x4a4409=_0x22c030[_0x48a17d(0x2ee)](_0xd83a71[_0x48a17d(0x2e1)][_0x48a17d(0x1c3)]),_0xc6fd73=_0x22c030[_0x48a17d(0x53d)](_0x363b07[_0x48a17d(0x238)][_0x48a17d(0x21b)]([_0x3f322b,_0x1f3a30]),_0x4a4409),_0x33cc5a=_0x5c80b2[_0x48a17d(0x3d2)](_0x5b04aa,_0x2fd15f,_0x36bcad,_0x5493e3,_0xc6fd73);((_0x1695f7=this['_lastPointer'])==null?void 0x0:_0x1695f7[_0x48a17d(0x396)])===_0x33cc5a[_0x48a17d(0x396)]&&((_0x47c85c=this[_0x48a17d(0x4b4)])==null?void 0x0:_0x47c85c[_0x48a17d(0x436)])===_0x33cc5a['row']||this[_0x48a17d(0x4d3)][_0x48a17d(0x569)](_0x409fc9=>{const _0x3ca247=_0x48a17d;_0x409fc9[_0x3ca247(0x3b8)](_0x33cc5a);});},0x64));});}[_0x406fa3(0x28a)](_0xc4306e,_0x3f5df7){const _0x461ccf=_0x406fa3;var _0x4d1475;const _0x12a844=(_0x4d1475=this[_0x461ccf(0x30f)][_0x461ccf(0x167)]())==null?void 0x0:_0x4d1475[_0x461ccf(0x57a)];if(!_0x12a844)return;const _0x195d93=this[_0x461ccf(0x426)]();if(!_0x195d93)return;this[_0x461ccf(0x4d3)][_0x461ccf(0x569)](_0xdeaf8d=>{const _0x355483=_0x461ccf;_0xdeaf8d[_0x355483(0x20e)]();});const {scene:_0x4d6ca9}=_0x195d93,_0x1d7480=_0x1f0df0(Array['from'](_0x3f5df7['values']()))['map'](_0xdd6e81=>{const _0xdf6a9f=_0x461ccf,{color:_0x53e360,range:_0x242189,name:_0x230b65,selection:_0x1fef7d,sheetID:_0x2aa917}=_0xdd6e81,{startColumn:_0x23f887,startRow:_0x4579eb,endColumn:_0x1bc547,endRow:_0xaa806b}=_0x242189,_0x41434b=_0xd83a71[_0xdf6a9f(0x1fe)](_0x4579eb,_0x23f887,_0x4d6ca9,_0x12a844),_0x3f80d0=_0xd83a71[_0xdf6a9f(0x1fe)](_0xaa806b,_0x1bc547,_0x4d6ca9,_0x12a844),{columnHeaderHeightAndMarginTop:_0x83a582}=_0x12a844,{startX:_0x2bb147,startY:_0x216eff}=_0x41434b,{endX:_0x8bc94a,endY:_0x2c050b}=_0x3f80d0,_0x5d8f59=_0x8bc94a-_0x2bb147,_0x5ca4f7=_0x2c050b-_0x216eff,_0x4c7caa={'labelPosition':_0x216eff-_0x83a582>=_0x3fa5ac?_0xdf6a9f(0x13c):_0xdf6a9f(0x459),'sheetID':_0x2aa917,'range':_0x242189,'color':_0x53e360,'name':_0x230b65,'selection':_0x1fef7d,'left':_0x2bb147,'top':_0x216eff,'width':_0x5d8f59,'height':_0x5ca4f7,'evented':!0x1,'zIndex':_0x3ddfe9};return new _0x17af96(_0x230b65,_0x4c7caa);});_0x4d6ca9[_0x461ccf(0x435)](_0x1d7480,_0x4d3219),this['_cursors']=new Set(_0x1d7480);}['_removeCollabCursors'](){const _0x20d1bc=_0x406fa3;var _0x417fb5;(_0x417fb5=this[_0x20d1bc(0x4d3)])==null||_0x417fb5['forEach'](_0x23fe80=>_0x23fe80[_0x20d1bc(0x1f1)]());}[_0x406fa3(0x426)](){const _0x1bb515=_0x406fa3;return _0xd83a71[_0x1bb515(0x2a8)](this[_0x1bb515(0x440)][_0x1bb515(0x476)],this[_0x1bb515(0x440)]);}};_0xdd3747=_0x268909([_0xb3aea5(0x1,_0x278695[_0x406fa3(0x2cb)](_0xd83a71[_0x406fa3(0x1f3)])),_0xb3aea5(0x2,_0x278695[_0x406fa3(0x2cb)](_0x18b6d9)),_0xb3aea5(0x3,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x158)]))],_0xdd3747);function _0x1f0df0(_0x207743){const _0x221049=_0x406fa3,_0x2d9743=new Map();return _0x207743['forEach'](_0x330b02=>{const _0x3b47a9=_0x3463;if(_0x2d9743['has'](_0x330b02[_0x3b47a9(0x25c)])){const _0x49335f=_0x2d9743[_0x3b47a9(0x503)](_0x330b02[_0x3b47a9(0x25c)]);_0x49335f[_0x3b47a9(0x315)]+=',\x20'+_0x330b02[_0x3b47a9(0x315)];}else _0x2d9743[_0x3b47a9(0x30e)](_0x330b02['selection'],_0x330b02);}),Array['from'](_0x2d9743[_0x221049(0x447)]());}var _0x379fe3=function(){const _0x20c4ed=_0x406fa3;return _0x379fe3=Object[_0x20c4ed(0x201)]||function(_0x1d9253){const _0x20ebde=_0x20c4ed;for(var _0x32e523,_0x4b8fcb=0x1,_0x9bc27b=arguments['length'];_0x4b8fcb<_0x9bc27b;_0x4b8fcb++){_0x32e523=arguments[_0x4b8fcb];for(var _0x433ce2 in _0x32e523)Object[_0x20ebde(0x525)][_0x20ebde(0x297)][_0x20ebde(0x254)](_0x32e523,_0x433ce2)&&(_0x1d9253[_0x433ce2]=_0x32e523[_0x433ce2]);}return _0x1d9253;},_0x379fe3['apply'](this,arguments);},_0x447b1e=function(_0x532edd,_0x598966){const _0x15940e=_0x406fa3;var _0x202254={};for(var _0x1493ff in _0x532edd)Object['prototype'][_0x15940e(0x297)][_0x15940e(0x254)](_0x532edd,_0x1493ff)&&_0x598966[_0x15940e(0x2de)](_0x1493ff)<0x0&&(_0x202254[_0x1493ff]=_0x532edd[_0x1493ff]);if(_0x532edd!=null&&typeof Object[_0x15940e(0x487)]==_0x15940e(0x2f4)){for(var _0x4c068c=0x0,_0x1493ff=Object[_0x15940e(0x487)](_0x532edd);_0x4c068c<_0x1493ff[_0x15940e(0x565)];_0x4c068c++)_0x598966[_0x15940e(0x2de)](_0x1493ff[_0x4c068c])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x15940e(0x254)](_0x532edd,_0x1493ff[_0x4c068c])&&(_0x202254[_0x1493ff[_0x4c068c]]=_0x532edd[_0x1493ff[_0x4c068c]]);}return _0x202254;},_0x27d2f5=_0x2625ca[_0x406fa3(0x33e)](function(_0x4b7cd7,_0x4815fd){const _0x526d1e=_0x406fa3;var _0x44f19a=_0x4b7cd7['icon'],_0x1668ce=_0x4b7cd7['id'],_0x2c00b6=_0x4b7cd7[_0x526d1e(0x491)],_0x1dba01=_0x4b7cd7[_0x526d1e(0x150)],_0x2b79c1=_0x447b1e(_0x4b7cd7,[_0x526d1e(0x54e),'id',_0x526d1e(0x491),_0x526d1e(0x150)]),_0x219f87=_0x526d1e(0x363)[_0x526d1e(0x177)](_0x1668ce,'\x20')[_0x526d1e(0x177)](_0x2c00b6||'')[_0x526d1e(0x354)](),_0xf7e3d3=_0x2625ca[_0x526d1e(0x231)]('_'['concat'](_0x3e2a52()));return _0x428b82(_0x44f19a,''['concat'](_0x1668ce),{'defIds':_0x44f19a[_0x526d1e(0x480)],'idSuffix':_0xf7e3d3[_0x526d1e(0x1c2)]},_0x379fe3({'ref':_0x4815fd,'className':_0x219f87},_0x2b79c1),_0x1dba01);});function _0x428b82(_0x3ca6b4,_0x3804a4,_0x576683,_0x662ef4,_0xbcd309){const _0x49aa39=_0x406fa3;return _0x2625ca[_0x49aa39(0x452)](_0x3ca6b4[_0x49aa39(0x310)],_0x379fe3(_0x379fe3({'key':_0x3804a4},_0x80be9b(_0x3ca6b4,_0x576683,_0xbcd309)),_0x662ef4),(_0x2509fc(_0x3ca6b4,_0x576683)[_0x49aa39(0x42d)]||[])[_0x49aa39(0x1a8)](function(_0x1762c1,_0x3d3906){const _0xbb7853=_0x49aa39;return _0x428b82(_0x1762c1,''['concat'](_0x3804a4,'-')[_0xbb7853(0x177)](_0x3ca6b4[_0xbb7853(0x310)],'-')['concat'](_0x3d3906),_0x576683,void 0x0,_0xbcd309);}));}function _0x80be9b(_0x20e19d,_0x54faa1,_0x3998cd){const _0x210385=_0x406fa3;var _0x4be343=_0x379fe3({},_0x20e19d[_0x210385(0x441)]);_0x3998cd!=null&&_0x3998cd[_0x210385(0x532)]&&_0x4be343[_0x210385(0x22c)]===_0x210385(0x532)&&(_0x4be343[_0x210385(0x22c)]=_0x3998cd[_0x210385(0x532)]);var _0x4fc089=_0x54faa1[_0x210385(0x480)];return!_0x4fc089||_0x4fc089[_0x210385(0x565)]===0x0||(_0x20e19d[_0x210385(0x310)]===_0x210385(0x2b8)&&_0x4be343[_0x210385(0x35f)]&&(_0x4be343[_0x210385(0x35f)]=_0x4be343[_0x210385(0x35f)]+_0x54faa1[_0x210385(0x4e4)]),Object[_0x210385(0x31c)](_0x4be343)['forEach'](function(_0x262bfc){const _0xab6cd4=_0x210385;var _0x2f81c1=_0x262bfc[0x0],_0x25a49b=_0x262bfc[0x1];typeof _0x25a49b=='string'&&(_0x4be343[_0x2f81c1]=_0x25a49b[_0xab6cd4(0x359)](/url\(#(.*)\)/,_0xab6cd4(0x299)[_0xab6cd4(0x177)](_0x54faa1[_0xab6cd4(0x4e4)],')')));})),_0x4be343;}function _0x2509fc(_0xa0a910,_0x304036){const _0x2bb350=_0x406fa3;var _0x3717f7,_0x1e0bb2=_0x304036['defIds'];return!_0x1e0bb2||_0x1e0bb2['length']===0x0?_0xa0a910:_0xa0a910['tag']==='defs'&&(!((_0x3717f7=_0xa0a910[_0x2bb350(0x42d)])===null||_0x3717f7===void 0x0)&&_0x3717f7[_0x2bb350(0x565)])?_0x379fe3(_0x379fe3({},_0xa0a910),{'children':_0xa0a910[_0x2bb350(0x42d)][_0x2bb350(0x1a8)](function(_0x20808b){const _0xe7047=_0x2bb350;return typeof _0x20808b[_0xe7047(0x441)]['id']=='string'&&_0x1e0bb2&&_0x1e0bb2[_0xe7047(0x2de)](_0x20808b[_0xe7047(0x441)]['id'])>-0x1?_0x379fe3(_0x379fe3({},_0x20808b),{'attrs':_0x379fe3(_0x379fe3({},_0x20808b[_0xe7047(0x441)]),{'id':_0x20808b['attrs']['id']+_0x304036[_0xe7047(0x4e4)]})}):_0x20808b;})}):_0xa0a910;}function _0x3e2a52(){const _0x2ff9b6=_0x406fa3;return Math[_0x2ff9b6(0x50d)]()['toString'](0x24)[_0x2ff9b6(0x3cf)](0x2,0x8);}_0x27d2f5[_0x406fa3(0x44e)]=_0x406fa3(0x38f);var _0x158eff={'tag':'svg','attrs':{'fill':_0x406fa3(0x312),'viewBox':_0x406fa3(0x3a7),'width':'1em','height':_0x406fa3(0x210)},'children':[{'tag':'g','attrs':{'clipPath':_0x406fa3(0x35e)},'children':[{'tag':_0x406fa3(0x317),'attrs':{'stroke':_0x406fa3(0x4a2),'d':_0x406fa3(0x371),'strokeLinecap':_0x406fa3(0x486),'strokeLinejoin':_0x406fa3(0x486),'strokeWidth':1.2}}]},{'tag':_0x406fa3(0x4f6),'attrs':{},'children':[{'tag':_0x406fa3(0x2ad),'attrs':{'id':_0x406fa3(0x2fe)},'children':[{'tag':'path','attrs':{'fill':_0x406fa3(0x2c2),'d':_0x406fa3(0x28b)}}]}]}],'defIds':[_0x406fa3(0x2fe)]},_0x8ef6dc=_0x2625ca[_0x406fa3(0x33e)](function(_0x24245f,_0x560599){const _0x5d255f=_0x406fa3;return _0x2625ca[_0x5d255f(0x452)](_0x27d2f5,Object[_0x5d255f(0x201)]({},_0x24245f,{'id':'off-line-single','ref':_0x560599,'icon':_0x158eff}));});_0x8ef6dc[_0x406fa3(0x44e)]=_0x406fa3(0x325);var _0x4a624f={'tag':_0x406fa3(0x4fd),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x406fa3(0x210),'height':_0x406fa3(0x210)},'children':[{'tag':'g','attrs':{'clipPath':_0x406fa3(0x14d)},'children':[{'tag':_0x406fa3(0x317),'attrs':{'stroke':_0x406fa3(0x4a2),'d':_0x406fa3(0x288),'strokeLinecap':_0x406fa3(0x486),'strokeLinejoin':_0x406fa3(0x486),'strokeWidth':1.2}}]},{'tag':_0x406fa3(0x4f6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x406fa3(0x317),'attrs':{'fill':_0x406fa3(0x2c2),'d':_0x406fa3(0x28b),'transform':_0x406fa3(0x330)}}]}]}],'defIds':[_0x406fa3(0x2af)]},_0x392065=_0x2625ca[_0x406fa3(0x33e)](function(_0x287dec,_0x15fbc1){const _0xf2eb79=_0x406fa3;return _0x2625ca[_0xf2eb79(0x452)](_0x27d2f5,Object[_0xf2eb79(0x201)]({},_0x287dec,{'id':'on-line-single','ref':_0x15fbc1,'icon':_0x4a624f}));});_0x392065['displayName']='OnLineSingle';function _0x54e0b0(_0x31818e){const _0x20b5f8=_0x406fa3;var _0x34ebb4,_0x34620e,_0x3059aa='';if(typeof _0x31818e==_0x20b5f8(0x378)||typeof _0x31818e==_0x20b5f8(0x53c))_0x3059aa+=_0x31818e;else{if(typeof _0x31818e==_0x20b5f8(0x3e1)){if(Array[_0x20b5f8(0x1d8)](_0x31818e)){var _0x11d4ee=_0x31818e['length'];for(_0x34ebb4=0x0;_0x34ebb4<_0x11d4ee;_0x34ebb4++)_0x31818e[_0x34ebb4]&&(_0x34620e=_0x54e0b0(_0x31818e[_0x34ebb4]))&&(_0x3059aa&&(_0x3059aa+='\x20'),_0x3059aa+=_0x34620e);}else{for(_0x34620e in _0x31818e)_0x31818e[_0x34620e]&&(_0x3059aa&&(_0x3059aa+='\x20'),_0x3059aa+=_0x34620e);}}}return _0x3059aa;}function _0x358866(){const _0x4882b6=_0x406fa3;for(var _0x216072,_0x3fcc20,_0x1bd719=0x0,_0x5916da='',_0x182eb0=arguments[_0x4882b6(0x565)];_0x1bd719<_0x182eb0;_0x1bd719++)(_0x216072=arguments[_0x1bd719])&&(_0x3fcc20=_0x54e0b0(_0x216072))&&(_0x5916da&&(_0x5916da+='\x20'),_0x5916da+=_0x3fcc20);return _0x5916da;}const _0xcd30e1={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x406fa3(0x34e),'onlineStatus':_0x406fa3(0x40f),'online':_0x406fa3(0x445),'offline':_0x406fa3(0x2e5)};function _0x343e44(_0x4b780b){const _0x2ff4cf=_0x406fa3;switch(_0x4b780b){case _0x59cf14[_0x2ff4cf(0x372)]:return'collabStatus.offline';case _0x59cf14['CONFLICT']:return _0x2ff4cf(0x4fa);case _0x59cf14['FETCH_MISS']:return _0x2ff4cf(0x1e6);case _0x59cf14['NOT_COLLAB']:return'collabStatus.notCollab';case _0x59cf14[_0x2ff4cf(0x2a9)]:case _0x59cf14[_0x2ff4cf(0x1aa)]:case _0x59cf14['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x59cf14[_0x2ff4cf(0x21f)]:return _0x2ff4cf(0x1f0);}}function _0x158ac5(_0x17f42e){const _0x586599=_0x406fa3,{status$:_0x448aa1}=_0x17f42e,_0x292ce7=_0x42b7fc[_0x586599(0x160)](_0x448aa1,_0x59cf14['NOT_COLLAB']),_0x32bc03=_0x278695[_0x586599(0x505)](_0x278695['LocaleService']),_0x1382c8=_0x278695['useDependency'](_0x121304['CollaborationSessionService']),_0x10cddf=_0x292ce7!==_0x59cf14['OFFLINE'],_0x5232ce=_0x32bc03['t'](_0x343e44(_0x292ce7)),_0x1a54b4=_0x358866(_0xcd30e1[_0x586599(0x23a)],{[_0xcd30e1[_0x586599(0x52b)]]:_0x10cddf,[_0xcd30e1[_0x586599(0x1ce)]]:!_0x10cddf}),_0x237f19=_0x10cddf?_0x2625ca[_0x586599(0x452)](_0x392065,null):_0x2625ca[_0x586599(0x452)](_0x8ef6dc,null),_0x5f153a=_0x2625ca['useCallback'](()=>{const _0x3681b2=_0x586599;_0x10cddf||_0x1382c8[_0x3681b2(0x3e9)]();},[_0x10cddf,_0x1382c8]);function _0x2962a5(){const _0x10544e=_0x586599;return _0x2625ca[_0x10544e(0x452)](_0x10544e(0x152),{'className':_0x1a54b4,'onClick':_0x5f153a},_0x2625ca['createElement']('div',{'className':_0xcd30e1[_0x10544e(0x347)]},_0x237f19),_0x2625ca[_0x10544e(0x452)]('div',{'className':_0xcd30e1[_0x10544e(0x408)]},_0x5232ce));}return _0x10cddf?_0x2962a5():_0x2625ca['createElement'](_0x381d1f[_0x586599(0x1e3)],{'title':_0x32bc03['t'](_0x586599(0x49b))},_0x2962a5());}var _0x20c4eb=Object['defineProperty'],_0x4f7d97=Object[_0x406fa3(0x187)],_0x4d41d5=(_0x30ee5d,_0x177702,_0x56fa96,_0x25c1ef)=>{const _0x38ea9e=_0x406fa3;for(var _0x291b5a=_0x25c1ef>0x1?void 0x0:_0x25c1ef?_0x4f7d97(_0x177702,_0x56fa96):_0x177702,_0x4f38e6=_0x30ee5d[_0x38ea9e(0x565)]-0x1,_0x13659f;_0x4f38e6>=0x0;_0x4f38e6--)(_0x13659f=_0x30ee5d[_0x4f38e6])&&(_0x291b5a=(_0x25c1ef?_0x13659f(_0x177702,_0x56fa96,_0x291b5a):_0x13659f(_0x291b5a))||_0x291b5a);return _0x25c1ef&&_0x291b5a&&_0x20c4eb(_0x177702,_0x56fa96,_0x291b5a),_0x291b5a;},_0x397269=(_0x5b872c,_0x313954)=>(_0x1d8d88,_0x13554f)=>_0x313954(_0x1d8d88,_0x13554f,_0x5b872c);_0x121304[_0x406fa3(0x36a)]=class extends _0x278695[_0x406fa3(0x3a8)]{constructor(_0x4f4d01,_0x174934,_0x319bf7,_0x378aa7){const _0x2251ba=_0x406fa3;super(),_0x175777(this,_0x2251ba(0x510),new _0x34a6cc['BehaviorSubject'](_0x59cf14['NOT_COLLAB'])),(this[_0x2251ba(0x45b)]=_0x4f4d01,this[_0x2251ba(0x4a9)]=_0x174934,this['_injector']=_0x319bf7,this[_0x2251ba(0x45e)]=_0x378aa7,this[_0x2251ba(0x442)](),this[_0x2251ba(0x524)]());}[_0x406fa3(0x524)](){const _0x22abde=_0x406fa3;this[_0x22abde(0x343)](this[_0x22abde(0x45b)][_0x22abde(0x4c1)]['pipe'](_0x34a6cc[_0x22abde(0x49c)](()=>{const _0x227fcb=_0x22abde,_0x4d6b72=this[_0x227fcb(0x45b)][_0x227fcb(0x545)]();return _0x4d6b72?this['_collaborationController'][_0x227fcb(0x508)](_0x4d6b72[_0x227fcb(0x1f9)]()):_0x34a6cc['of'](null);}),_0x34a6cc[_0x22abde(0x49c)](_0x52f144=>_0x52f144?_0x52f144['status$']:_0x34a6cc['of'](_0x59cf14['NOT_COLLAB'])))[_0x22abde(0x218)](_0x1b04cf=>{const _0x298682=_0x22abde;this[_0x298682(0x510)][_0x298682(0x321)](_0x1b04cf);}));}[_0x406fa3(0x442)](){const _0x12710e=_0x406fa3;this[_0x12710e(0x343)](this[_0x12710e(0x4a9)][_0x12710e(0x2d4)](_0x42b7fc[_0x12710e(0x1cd)]['HEADER_MENU'],()=>_0x278695[_0x12710e(0x2a3)](_0x50d44e({'status$':this[_0x12710e(0x510)]['asObservable']()}),this[_0x12710e(0x557)])));}},_0x121304[_0x406fa3(0x36a)]=_0x4d41d5([_0x397269(0x0,_0x278695['IUniverInstanceService']),_0x397269(0x1,_0x42b7fc[_0x406fa3(0x185)]),_0x397269(0x2,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x397269(0x3,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x51e)]))],_0x121304['DesktopCollaborationStatusDisplayController']);function _0x50d44e(_0x3ac90c){const {status$:_0x2d661a}=_0x3ac90c;return function(){const _0x5b8271=_0x3463;return _0x2625ca[_0x5b8271(0x452)](_0x158ac5,{'status$':_0x2d661a});};}const _0xe2ca99=_0x278695[_0x406fa3(0x446)](_0x406fa3(0x481));var _0x3c7f89=Object[_0x406fa3(0x1a2)],_0x273ea1=Object[_0x406fa3(0x187)],_0x4adfaf=(_0x39a4bd,_0x29c76d,_0x369ffa,_0x13d744)=>{const _0x554d6f=_0x406fa3;for(var _0x159a3c=_0x13d744>0x1?void 0x0:_0x13d744?_0x273ea1(_0x29c76d,_0x369ffa):_0x29c76d,_0x1af979=_0x39a4bd[_0x554d6f(0x565)]-0x1,_0x1d9bdf;_0x1af979>=0x0;_0x1af979--)(_0x1d9bdf=_0x39a4bd[_0x1af979])&&(_0x159a3c=(_0x13d744?_0x1d9bdf(_0x29c76d,_0x369ffa,_0x159a3c):_0x1d9bdf(_0x159a3c))||_0x159a3c);return _0x13d744&&_0x159a3c&&_0x3c7f89(_0x29c76d,_0x369ffa,_0x159a3c),_0x159a3c;},_0x31d663=(_0x829c16,_0x54381d)=>(_0x55457f,_0x315aa5)=>_0x54381d(_0x55457f,_0x315aa5,_0x829c16);_0x121304[_0x406fa3(0x554)]=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x293904,_0x5cd601,_0xd95e42,_0x33bfed,_0x3dcdff,_0x5d99ee){const _0x45b79c=_0x406fa3;super(),this['_urlService']=_0x293904,this[_0x45b79c(0x334)]=_0x5cd601,this[_0x45b79c(0x237)]=_0xd95e42,this['_localCacheService']=_0x33bfed,this[_0x45b79c(0x361)]=_0x3dcdff,_0x5d99ee?_0x5d99ee==null||_0x5d99ee[_0x45b79c(0x20c)]()[_0x45b79c(0x2d0)](()=>this['_init']()):(this[_0x45b79c(0x334)][_0x45b79c(0x394)](_0x45b79c(0x17e),_0x45b79c(0x260)),this[_0x45b79c(0x402)]());}async[_0x406fa3(0x402)](){const _0x2e22bc=_0x406fa3,_0x491a89=this[_0x2e22bc(0x1c0)][_0x2e22bc(0x517)](_0x2e22bc(0x476)),_0x48c548=this['_urlService'][_0x2e22bc(0x517)](_0x2e22bc(0x460));if(!_0x491a89||!_0x48c548){this[_0x2e22bc(0x334)][_0x2e22bc(0x394)]('[DataLoaderController]',_0x2e22bc(0x199));return;}switch(Number(_0x48c548)){case _0x5b1b3b[_0x2e22bc(0x4fc)]:{const _0x31fffc=await this['_loadSheet'](_0x491a89);this[_0x2e22bc(0x1eb)](_0x31fffc);break;}case _0x5b1b3b[_0x2e22bc(0x373)]:{await this['_loadDoc'](_0x491a89);break;}default:{this['_logService'][_0x2e22bc(0x228)]('[DataLoaderController]',_0x2e22bc(0x574));break;}}}async[_0x406fa3(0x1eb)](_0x37c79a){const _0x4b7f25=_0x406fa3;await this[_0x4b7f25(0x387)](_0x37c79a),_0x37c79a[_0x4b7f25(0x30b)][_0x4b7f25(0x2b3)](_0x34a6cc['takeUntil'](this['dispose$']))['subscribe'](_0x174fa2=>{const _0x57abf0=_0x4b7f25;_0x174fa2&&this[_0x57abf0(0x274)](_0x174fa2);}),this[_0x4b7f25(0x1c0)][_0x4b7f25(0x252)][_0x4b7f25(0x2b3)](_0x34a6cc['takeUntil'](this['dispose$']))[_0x4b7f25(0x218)](()=>this['_updateSubUnitFromURLParams'](_0x37c79a));}[_0x406fa3(0x274)](_0x4148cf,_0x3640b4=!0x1){const _0x3dc858=_0x406fa3,_0x575c32=this[_0x3dc858(0x1c0)][_0x3dc858(0x517)](_0x3dc858(0x4b2));_0x4148cf[_0x3dc858(0x3d1)]()!==_0x575c32&&this['_urlService'][_0x3dc858(0x24b)](_0x3dc858(0x4b2),_0x4148cf[_0x3dc858(0x3d1)](),_0x3640b4);}async[_0x406fa3(0x387)](_0x2dae9d){const _0x3823d1=_0x406fa3;var _0x6b46c3;const _0x172130=this['_urlService'][_0x3823d1(0x517)](_0x3823d1(0x4b2));if(!_0x172130||!_0x2dae9d[_0x3823d1(0x2f9)](_0x172130)){const _0x5c707a=_0x2dae9d[_0x3823d1(0x427)]()[0x0],_0x4ee2a4=_0x2dae9d['getSheetBySheetId'](_0x5c707a);if(!_0x4ee2a4)return;this[_0x3823d1(0x274)](_0x4ee2a4,!0x0),await this[_0x3823d1(0x237)][_0x3823d1(0x2bd)](_0x30bfa9[_0x3823d1(0x211)]['id'],{'unitId':_0x2dae9d[_0x3823d1(0x1f9)](),'subUnitId':_0x5c707a});return;}((_0x6b46c3=_0x2dae9d[_0x3823d1(0x27a)]())==null?void 0x0:_0x6b46c3[_0x3823d1(0x3d1)]())!==_0x172130&&await this[_0x3823d1(0x237)]['executeCommand'](_0x30bfa9['SetWorksheetActivateCommand']['id'],{'unitId':_0x2dae9d[_0x3823d1(0x1f9)](),'subUnitId':_0x172130});}async['_loadSheet'](_0x4223dd){const _0x12eaa5=_0x406fa3;let _0x40b211=0x0;const _0x4199da=await this['_localCacheService']['loadOfflineData'](_0x4223dd);return _0x4199da&&(_0x4199da[_0x12eaa5(0x407)]||_0x4199da[_0x12eaa5(0x384)][_0x12eaa5(0x565)]!==0x0)&&(_0x40b211=_0x4199da[_0x12eaa5(0x379)]),_0x40b211===0x0&&this[_0x12eaa5(0x334)][_0x12eaa5(0x394)](_0x12eaa5(0x17e),_0x12eaa5(0x202)),this[_0x12eaa5(0x361)][_0x12eaa5(0x3b3)](_0x4223dd,_0x40b211);}async[_0x406fa3(0x412)](_0x5a02ac){const _0xa99ff9=_0x406fa3;let _0x272539=0x0;const _0x40ce92=await this[_0xa99ff9(0x1ac)]['loadOfflineData'](_0x5a02ac);return _0x40ce92&&(_0x40ce92[_0xa99ff9(0x407)]||_0x40ce92[_0xa99ff9(0x384)][_0xa99ff9(0x565)]!==0x0)&&(_0x272539=_0x40ce92[_0xa99ff9(0x379)]),_0x272539===0x0&&this[_0xa99ff9(0x334)]['debug'](_0xa99ff9(0x17e),_0xa99ff9(0x202)),this[_0xa99ff9(0x361)][_0xa99ff9(0x32e)](_0x5a02ac,_0x272539);}},_0x121304[_0x406fa3(0x554)]=_0x4adfaf([_0x31d663(0x0,_0xe2ca99),_0x31d663(0x1,_0x278695[_0x406fa3(0x21a)]),_0x31d663(0x2,_0x278695['ICommandService']),_0x31d663(0x3,_0x278695['Inject'](_0x121304[_0x406fa3(0x2a4)])),_0x31d663(0x4,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x4a7)])),_0x31d663(0x5,_0x278695['Optional'](_0x363acd['IRemoteInstanceService']))],_0x121304['DataLoaderController']);var _0x14c908=Object[_0x406fa3(0x1a2)],_0x4eb793=Object[_0x406fa3(0x187)],_0x3f0655=(_0x5aaa59,_0x4061ba,_0x295574,_0x3817e3)=>{const _0x204370=_0x406fa3;for(var _0x116be2=_0x3817e3>0x1?void 0x0:_0x3817e3?_0x4eb793(_0x4061ba,_0x295574):_0x4061ba,_0x4d6485=_0x5aaa59[_0x204370(0x565)]-0x1,_0x1efa89;_0x4d6485>=0x0;_0x4d6485--)(_0x1efa89=_0x5aaa59[_0x4d6485])&&(_0x116be2=(_0x3817e3?_0x1efa89(_0x4061ba,_0x295574,_0x116be2):_0x1efa89(_0x116be2))||_0x116be2);return _0x3817e3&&_0x116be2&&_0x14c908(_0x4061ba,_0x295574,_0x116be2),_0x116be2;},_0x3527d1=(_0x3ff78c,_0x43829b)=>(_0x581faa,_0x15c844)=>_0x43829b(_0x581faa,_0x15c844,_0x3ff78c);const _0x48ee39=_0x406fa3(0x337),_0x1ff61c=_0x406fa3(0x365);let _0x5cd4f4=class extends _0x278695[_0x406fa3(0x3a8)]{constructor(_0x40d27a,_0x158e9d){const _0x421f54=_0x406fa3;super(),this[_0x421f54(0x45b)]=_0x40d27a,this[_0x421f54(0x165)]=_0x158e9d,this[_0x421f54(0x402)]();}[_0x406fa3(0x402)](){const _0x4311d5=_0x406fa3;this[_0x4311d5(0x343)](this[_0x4311d5(0x45b)][_0x4311d5(0x4c1)][_0x4311d5(0x218)](()=>{const _0x288d14=_0x4311d5;var _0x549624;const _0x3091dd=this[_0x288d14(0x45b)][_0x288d14(0x545)]();let _0x9e9743=(_0x549624=this[_0x288d14(0x165)]['getConfig'](_0x48ee39))!=null?_0x549624:_0x1ff61c;_0x3091dd instanceof _0x278695[_0x288d14(0x1cc)]&&(_0x9e9743=_0x3091dd[_0x288d14(0x315)]),document[_0x288d14(0x240)]=_0x9e9743;}));}};_0x5cd4f4=_0x3f0655([_0x3527d1(0x0,_0x278695[_0x406fa3(0x2d6)]),_0x3527d1(0x1,_0x278695[_0x406fa3(0x4c4)])],_0x5cd4f4);var _0x329302=Object[_0x406fa3(0x1a2)],_0x39d121=Object[_0x406fa3(0x187)],_0x5df385=(_0x2fa318,_0x165c3b,_0x37925e,_0x21ade9)=>{const _0x246131=_0x406fa3;for(var _0x58d788=_0x21ade9>0x1?void 0x0:_0x21ade9?_0x39d121(_0x165c3b,_0x37925e):_0x165c3b,_0x13dc94=_0x2fa318[_0x246131(0x565)]-0x1,_0x693d05;_0x13dc94>=0x0;_0x13dc94--)(_0x693d05=_0x2fa318[_0x13dc94])&&(_0x58d788=(_0x21ade9?_0x693d05(_0x165c3b,_0x37925e,_0x58d788):_0x693d05(_0x58d788))||_0x58d788);return _0x21ade9&&_0x58d788&&_0x329302(_0x165c3b,_0x37925e,_0x58d788),_0x58d788;},_0x548d03=(_0x388fdc,_0x51f7d6)=>(_0x216c6a,_0x3bea8d)=>_0x51f7d6(_0x216c6a,_0x3bea8d,_0x388fdc);let _0x4e78f1=class{constructor(_0x4793c4,_0x1ee565,_0x1fdd53){const _0x171255=_0x406fa3;this[_0x171255(0x165)]=_0x4793c4,this[_0x171255(0x263)]=_0x1ee565,this[_0x171255(0x4e0)]=_0x1fdd53,this[_0x171255(0x1b5)]();}['init'](){const _0x2a6dee=_0x406fa3;this[_0x2a6dee(0x263)][_0x2a6dee(0x171)]({'priority':0x1,'interceptor':(_0x52cad3,_0x9d914f)=>_0x9d914f(_0x52cad3)['pipe'](_0x34a6cc[_0x2a6dee(0x212)](async _0x54bb9c=>{const _0x1225f4=_0x2a6dee,_0x12cd35=_0x54bb9c;if(_0x12cd35[_0x1225f4(0x222)]===0x191&&window[_0x1225f4(0x2a0)](this[_0x1225f4(0x4e0)]['t'](_0x1225f4(0x300)))){const _0x3d451f=window['encodeURIComponent'](window[_0x1225f4(0x413)][_0x1225f4(0x2c0)]);window[_0x1225f4(0x413)][_0x1225f4(0x2c0)]=this[_0x1225f4(0x166)]()+_0x1225f4(0x519)+_0x3d451f;}return _0x12cd35;}))});}[_0x406fa3(0x166)](){const _0x50148f=_0x406fa3;var _0x345dd1,_0x513ebf;const _0x496cc5=this[_0x50148f(0x165)]['getConfig'](_0x103765),_0x23059b=this[_0x50148f(0x165)]['getConfig'](_0x41c87a);return(_0x513ebf=(_0x345dd1=_0x23059b==null?void 0x0:_0x23059b[_0x50148f(0x3ec)])!=null?_0x345dd1:_0x496cc5)!=null?_0x513ebf:_0x59d6a;}};_0x4e78f1=_0x5df385([_0x548d03(0x0,_0x278695[_0x406fa3(0x4c4)]),_0x548d03(0x1,_0x278695['Inject'](_0x166997[_0x406fa3(0x3f5)])),_0x548d03(0x2,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)]))],_0x4e78f1);var _0x40ca2a=Object['defineProperty'],_0x27739d=Object['getOwnPropertyDescriptor'],_0x1a4586=(_0x2eef3d,_0x52d685,_0x3c4b0b,_0x1a3ae2)=>{const _0xbc37b1=_0x406fa3;for(var _0x544c44=_0x1a3ae2>0x1?void 0x0:_0x1a3ae2?_0x27739d(_0x52d685,_0x3c4b0b):_0x52d685,_0x2ec0a2=_0x2eef3d[_0xbc37b1(0x565)]-0x1,_0x5b4f77;_0x2ec0a2>=0x0;_0x2ec0a2--)(_0x5b4f77=_0x2eef3d[_0x2ec0a2])&&(_0x544c44=(_0x1a3ae2?_0x5b4f77(_0x52d685,_0x3c4b0b,_0x544c44):_0x5b4f77(_0x544c44))||_0x544c44);return _0x1a3ae2&&_0x544c44&&_0x40ca2a(_0x52d685,_0x3c4b0b,_0x544c44),_0x544c44;},_0x53f175=(_0x474fb8,_0x3cdef4)=>(_0x16700e,_0x25e271)=>_0x3cdef4(_0x16700e,_0x25e271,_0x474fb8);const _0x488b7c=_0x406fa3(0x3b2),_0x54a149=_0x406fa3(0x16f);_0x121304['AuthzIoHttpService']=class extends _0x278695[_0x406fa3(0x3a8)]{constructor(_0x4eb845,_0x2e8db1){const _0x4cbe8a=_0x406fa3;super(),this[_0x4cbe8a(0x56a)]=_0x4eb845,this['_configService']=_0x2e8db1,this[_0x4cbe8a(0x14e)]();}[_0x406fa3(0x14e)](){const _0x488a53=_0x406fa3,_0x886372=this;this[_0x488a53(0x343)](this[_0x488a53(0x56a)][_0x488a53(0x171)]({'priority':0x3e7,'interceptor':_0x166997[_0x488a53(0x360)]({'isMatch'(_0x4ec999){const _0x24a7c5=_0x488a53;var _0x5e40fd;if(_0x4ec999[_0x24a7c5(0x3e8)]==='POST'&&((_0x5e40fd=_0x4ec999[_0x24a7c5(0x4df)])!=null&&_0x5e40fd['body'])){const {objectID:_0x5d7d37,objectType:_0x30fad5}=_0x4ec999[_0x24a7c5(0x4df)][_0x24a7c5(0x51f)]||{};if(!_0x5d7d37||_0x30fad5===void 0x0)return!0x1;const _0x28407a=_0x886372[_0x24a7c5(0x262)]()+'/'+_0x30fad5+'/object/'+_0x5d7d37+'/allowed';if(_0x4ec999['url']===_0x28407a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x17ccaa){const _0x13afb1=_0x488a53;var _0x4e60d2;return(_0x4e60d2=_0x17ccaa['requestParams'])==null?void 0x0:_0x4e60d2[_0x13afb1(0x51f)];},'mergeParamsToRequest'(_0x54ec2b,_0x1f59db){const _0x1b7778=_0x488a53,_0x4449f9=_0x886372[_0x1b7778(0x262)]()+'/-/object/-/batch_allowed',_0x565ce9=_0x54ec2b[_0x1b7778(0x279)]((_0x52f3bc,_0x50c2ad)=>{const _0x4d4024=_0x1b7778,{unitID:_0x49e489,objectID:_0x41c469,objectType:_0x5093af,actions:_0x4d432f}=_0x50c2ad;return _0x52f3bc[_0x49e489]||(_0x52f3bc[_0x49e489]={}),_0x52f3bc[_0x49e489][_0x41c469]||(_0x52f3bc[_0x49e489][_0x41c469]={'objectID':_0x41c469,'objectType':_0x5093af,'actions':[]}),_0x52f3bc[_0x49e489][_0x41c469][_0x4d4024(0x161)][_0x4d4024(0x355)](..._0x4d432f),_0x52f3bc;},{}),_0x1324d4=[];for(const _0x483474 in _0x565ce9)for(const _0x537ecf in _0x565ce9[_0x483474]){const {actions:_0x17bda8,objectType:_0x34cd48}=_0x565ce9[_0x483474][_0x537ecf],_0x496fdd=[...new Set(_0x17bda8)];_0x1324d4[_0x1b7778(0x355)]({'unitID':_0x483474,'objectID':_0x537ecf,'objectType':_0x34cd48,'actions':_0x496fdd});}return new _0x166997[(_0x1b7778(0x184))]('POST',_0x4449f9,{'headers':_0x1f59db[_0x1b7778(0x183)],'withCredentials':_0x1f59db[_0x1b7778(0x1fd)],'responseType':_0x1f59db['responseType'],'body':{'requests':_0x1324d4}});}},{'distributeResult'(_0x3d23da,_0x5a7a8a){const {objectActions:_0x225708}=_0x3d23da;return _0x5a7a8a['map'](_0x3b023e=>{const _0x3a8df5=_0x3463,{unitID:_0x3f4eb4,objectID:_0x3c6a4e,actions:_0x1ccc76}=_0x3b023e,_0x1f0ae8=_0x225708['find'](_0x47adb3=>_0x47adb3[_0x3a8df5(0x42a)]===_0x3f4eb4&&_0x47adb3[_0x3a8df5(0x448)]===_0x3c6a4e),_0x68b587=_0x1ccc76[_0x3a8df5(0x1a8)](_0x50bd2a=>_0x1f0ae8==null?void 0x0:_0x1f0ae8[_0x3a8df5(0x161)][_0x3a8df5(0x380)](_0x33182f=>_0x33182f[_0x3a8df5(0x3c2)]===_0x50bd2a))[_0x3a8df5(0x4b0)](_0x594b90=>!!_0x594b90);return{'config':_0x3b023e,'result':{'actions':_0x68b587,'error':_0x3d23da[_0x3a8df5(0x228)]}};});}})}));}[_0x406fa3(0x262)](){const _0x2fd2f1=_0x406fa3;var _0x57fa2a,_0x95c786;const _0x5a176d=this[_0x2fd2f1(0x165)][_0x2fd2f1(0x377)](_0x488b7c),_0x36f774=this[_0x2fd2f1(0x165)][_0x2fd2f1(0x377)](_0x41c87a);return(_0x95c786=(_0x57fa2a=_0x36f774==null?void 0x0:_0x36f774[_0x2fd2f1(0x3e3)])!=null?_0x57fa2a:_0x5a176d)!=null?_0x95c786:_0x54a149;}async[_0x406fa3(0x13f)](_0x3373fb){const _0xcd523a=_0x406fa3,_0x116f04=this[_0xcd523a(0x262)]()+'/'+_0x3373fb['objectType']+_0xcd523a(0x265);return(await this[_0xcd523a(0x56a)][_0xcd523a(0x4e2)](_0x116f04,{'body':_0x3373fb}))[_0xcd523a(0x51f)][_0xcd523a(0x448)]||'';}async[_0x406fa3(0x17c)](_0x541ce9){const _0x519ebe=_0x406fa3,_0x20c0af=this[_0x519ebe(0x262)]()+'/-/object/list';return(await this[_0x519ebe(0x56a)]['post'](_0x20c0af,{'body':_0x541ce9}))[_0x519ebe(0x51f)]['objects'];}async[_0x406fa3(0x41f)](_0x478123){const _0xfd6394=_0x406fa3,_0x22b171=this[_0xfd6394(0x262)]()+'/'+_0x478123['objectType']+_0xfd6394(0x496)+_0x478123[_0xfd6394(0x448)];await this[_0xfd6394(0x56a)][_0xfd6394(0x555)](_0x22b171,{'body':_0x478123});}async[_0x406fa3(0x400)](_0x5c3ecb){const _0x172b27=_0x406fa3,_0x519661=this['_getAPIPrefixPath']()+'/'+_0x5c3ecb[_0x172b27(0x18e)]+_0x172b27(0x496)+_0x5c3ecb['objectID']+'/allowed';return(await this['_HTTPService']['post'](_0x519661,{'body':_0x5c3ecb}))[_0x172b27(0x51f)][_0x172b27(0x161)];}async[_0x406fa3(0x284)](_0x453a1e){const _0x193901=_0x406fa3,_0x5e5038=this[_0x193901(0x262)]()+_0x193901(0x48e);return(await this[_0x193901(0x56a)][_0x193901(0x4e2)](_0x5e5038,{'body':{'requests':_0x453a1e}}))['body'][_0x193901(0x4f7)];}async[_0x406fa3(0x489)](_0x227e91){const _0x21f5f3=_0x406fa3,_0x1d527a=this[_0x21f5f3(0x262)]()+'/'+_0x227e91[_0x21f5f3(0x18e)]+_0x21f5f3(0x286),_0xb2c778=await this[_0x21f5f3(0x56a)][_0x21f5f3(0x4e2)](_0x1d527a,{'body':_0x227e91});return{'roles':_0xb2c778[_0x21f5f3(0x51f)][_0x21f5f3(0x1e9)],'actions':_0xb2c778[_0x21f5f3(0x51f)][_0x21f5f3(0x161)]};}async[_0x406fa3(0x278)](_0x39a8c0){const _0x4416d9=_0x406fa3,_0x312000=this[_0x4416d9(0x262)]()+'/collaborator';await this['_HTTPService'][_0x4416d9(0x29a)](_0x312000,{'params':{'collaboratorID':_0x39a8c0[_0x4416d9(0x2ed)],'objectID':_0x39a8c0[_0x4416d9(0x448)],'unitID':_0x39a8c0[_0x4416d9(0x42a)]}});}async[_0x406fa3(0x474)](_0x2d1c53){const _0x5bcdf5=_0x406fa3,_0x2bdead=this[_0x5bcdf5(0x262)]()+'/collaborator';await this[_0x5bcdf5(0x56a)][_0x5bcdf5(0x3bc)](_0x2bdead,{'body':_0x2d1c53});}async[_0x406fa3(0x24d)](_0x225210){const _0x213304=_0x406fa3,_0x36bcec=this['_getAPIPrefixPath']()+_0x213304(0x2f5);await this[_0x213304(0x56a)][_0x213304(0x4e2)](_0x36bcec,{'body':_0x225210});}async[_0x406fa3(0x514)](_0x5af5d0){const _0x3260b2=_0x406fa3,_0x5c0ca8=this[_0x3260b2(0x262)]()+_0x3260b2(0x2f5);return(await this[_0x3260b2(0x56a)][_0x3260b2(0x503)](_0x5c0ca8,{'params':{'objectID':_0x5af5d0[_0x3260b2(0x448)],'unitID':_0x5af5d0[_0x3260b2(0x42a)]}}))['body']['collaborators'];}async[_0x406fa3(0x3da)](_0x31eb4e){const _0x11ae39=_0x406fa3,_0x1a5967=this[_0x11ae39(0x262)]()+_0x11ae39(0x2f5);await this['_HTTPService'][_0x11ae39(0x555)](_0x1a5967,{'body':_0x31eb4e});}},_0x121304['AuthzIoHttpService']=_0x1a4586([_0x53f175(0x0,_0x278695[_0x406fa3(0x2cb)](_0x166997[_0x406fa3(0x3f5)])),_0x53f175(0x1,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x4c4)]))],_0x121304['AuthzIoHttpService']);var _0x33aed9=Object[_0x406fa3(0x1a2)],_0x2d765c=Object[_0x406fa3(0x187)],_0x1ebb09=(_0x17d3b8,_0xadd319,_0x2f4a67,_0x58e378)=>{const _0x30b43d=_0x406fa3;for(var _0x197308=_0x58e378>0x1?void 0x0:_0x58e378?_0x2d765c(_0xadd319,_0x2f4a67):_0xadd319,_0x4ac588=_0x17d3b8[_0x30b43d(0x565)]-0x1,_0x273934;_0x4ac588>=0x0;_0x4ac588--)(_0x273934=_0x17d3b8[_0x4ac588])&&(_0x197308=(_0x58e378?_0x273934(_0xadd319,_0x2f4a67,_0x197308):_0x273934(_0x197308))||_0x197308);return _0x58e378&&_0x197308&&_0x33aed9(_0xadd319,_0x2f4a67,_0x197308),_0x197308;},_0x1cc010=(_0x65bc27,_0x49ac18)=>(_0x505348,_0x57e94f)=>_0x49ac18(_0x505348,_0x57e94f,_0x65bc27);let _0x4f26e5=class{constructor(_0x371fdb){const _0x4f61a7=_0x406fa3;this[_0x4f61a7(0x263)]=_0x371fdb,this['_initRequestHeader']();}[_0x406fa3(0x573)](){const _0x36489d=_0x406fa3;this[_0x36489d(0x263)]['registerHTTPInterceptor']({'interceptor':(_0x265d35,_0x2af344)=>{const _0x4bb9d5=_0x36489d,_0x7e9fdc=_0x265d35[_0x4bb9d5(0x183)],_0x2ec767=_0x44e17b[_0x4bb9d5(0x406)]();return _0x2ec767&&_0x7e9fdc[_0x4bb9d5(0x30e)](_0x4bb9d5(0x431),_0x2ec767),_0x2af344(_0x265d35);}});}};_0x4f26e5=_0x1ebb09([_0x1cc010(0x0,_0x278695[_0x406fa3(0x2cb)](_0x166997[_0x406fa3(0x3f5)]))],_0x4f26e5);var _0x32aee5=Object[_0x406fa3(0x1a2)],_0x4ee135=Object['getOwnPropertyDescriptor'],_0x3305f5=(_0x36abe5,_0x1dfd69,_0x3055a2,_0x1fcc28)=>{const _0x18bf70=_0x406fa3;for(var _0xb30d93=_0x1fcc28>0x1?void 0x0:_0x1fcc28?_0x4ee135(_0x1dfd69,_0x3055a2):_0x1dfd69,_0x3b1c00=_0x36abe5[_0x18bf70(0x565)]-0x1,_0x1fb367;_0x3b1c00>=0x0;_0x3b1c00--)(_0x1fb367=_0x36abe5[_0x3b1c00])&&(_0xb30d93=(_0x1fcc28?_0x1fb367(_0x1dfd69,_0x3055a2,_0xb30d93):_0x1fb367(_0xb30d93))||_0xb30d93);return _0x1fcc28&&_0xb30d93&&_0x32aee5(_0x1dfd69,_0x3055a2,_0xb30d93),_0xb30d93;},_0x42955a=(_0x53b408,_0x3640c3)=>(_0x34d81a,_0x48cbe5)=>_0x3640c3(_0x34d81a,_0x48cbe5,_0x53b408);const _0x2f0dbb=['image/png',_0x406fa3(0x14b),_0x406fa3(0x14c),_0x406fa3(0x328),_0x406fa3(0x2ef)],_0x5c18da=0x5*0x400*0x400,_0x2cae74=_0x406fa3(0x28d),_0x2938a8=_0x406fa3(0x541),_0x44e903=_0x406fa3(0x382),_0x1adf4c=_0x406fa3(0x44c);_0x121304['ImageIoService']=class{constructor(_0x896235,_0x2c19a2,_0x18a54e){const _0x1a04a3=_0x406fa3;_0x175777(this,_0x1a04a3(0x170),0x0),_0x175777(this,'_change$',new _0x34a6cc[(_0x1a04a3(0x2eb))]()),_0x175777(this,_0x1a04a3(0x1ae),this['_change$']),_0x175777(this,_0x1a04a3(0x462),new Map()),(this[_0x1a04a3(0x263)]=_0x896235,this[_0x1a04a3(0x165)]=_0x2c19a2,this[_0x1a04a3(0x45b)]=_0x18a54e);}[_0x406fa3(0x438)](_0x1296a2){const _0x32c566=_0x406fa3;this[_0x32c566(0x170)]=_0x1296a2,this['_change$'][_0x32c566(0x321)](_0x1296a2);}[_0x406fa3(0x29d)](_0x42aa49,_0x50a2b4){const _0x5c10c8=_0x406fa3;if(_0x50a2b4===_0x2d0385[_0x5c10c8(0x4b1)]['BASE64']){const _0x7ce317=new Image();return _0x7ce317[_0x5c10c8(0x35a)]=_0x42aa49,_0x7ce317;}return this[_0x5c10c8(0x462)]['get'](_0x42aa49);}['addImageSourceCache'](_0x21b909,_0xd6ef1d,_0x3d0ad7){const _0x1987f8=_0x406fa3;_0xd6ef1d===_0x2d0385[_0x1987f8(0x4b1)][_0x1987f8(0x419)]||_0x3d0ad7==null||this['_imageSourceCache'][_0x1987f8(0x30e)](_0x21b909,_0x3d0ad7);}async[_0x406fa3(0x327)](_0x60a819){const _0xbd630f=_0x406fa3;try{const _0x3e618f=this[_0xbd630f(0x39b)](this['_getSignURL'](),''+_0x60a819),_0x4d2859=(await this['_httpService'][_0xbd630f(0x503)](_0x3e618f))[_0xbd630f(0x51f)];if(_0x4d2859[_0xbd630f(0x228)]&&_0x4d2859[_0xbd630f(0x228)]['code']===_0x5cfd1e['OK']){const _0x11c8ce=new URL(_0x4d2859[_0xbd630f(0x3ca)],this[_0xbd630f(0x27f)]())[_0xbd630f(0x1b6)]();return Promise[_0xbd630f(0x4e9)](_0x11c8ce);}return Promise[_0xbd630f(0x33f)](_0x4d2859['error']);}catch(_0xa42e6){return Promise[_0xbd630f(0x33f)](_0xa42e6);}}async[_0x406fa3(0x4a0)](_0x590e06){const _0x5b058d=_0x406fa3;let _0x2cc82f='';if(!_0x2f0dbb[_0x5b058d(0x243)](_0x590e06['type']))return this[_0x5b058d(0x1c4)](),Promise[_0x5b058d(0x33f)](new Error(_0x2d0385['ImageUploadStatusType'][_0x5b058d(0x324)]));if(_0x590e06[_0x5b058d(0x18a)]>_0x5c18da)return this[_0x5b058d(0x1c4)](),Promise[_0x5b058d(0x33f)](new Error(_0x2d0385[_0x5b058d(0x516)][_0x5b058d(0x2ba)]));try{const _0x988db2=new FormData();_0x988db2[_0x5b058d(0x357)]('file',_0x590e06);const _0xed29fc=this[_0x5b058d(0x45b)][_0x5b058d(0x545)](),_0x283639=_0xed29fc==null?void 0x0:_0xed29fc[_0x5b058d(0x1f9)]();if(!_0x283639)throw new Error(_0x5b058d(0x1fc));const _0xd0547=this[_0x5b058d(0x551)]()+'?size='+_0x590e06['size'][_0x5b058d(0x1b6)]()+'&source='+_0x373aca['UnitEmbedded']+_0x5b058d(0x304)+encodeURIComponent(_0x283639),_0xb06e9f=await(await fetch(_0xd0547,{'method':_0x5b058d(0x3aa),'body':_0x988db2}))['json']();if(typeof _0xb06e9f[_0x5b058d(0x523)]!=_0x5b058d(0x378))return this[_0x5b058d(0x1c4)](),Promise['reject'](new Error(_0x2d0385['ImageUploadStatusType'][_0x5b058d(0x57d)]));_0x2cc82f=_0xb06e9f[_0x5b058d(0x523)];}catch{return this['_decreaseWaiting'](),Promise[_0x5b058d(0x33f)](new Error(_0x2d0385[_0x5b058d(0x516)][_0x5b058d(0x57d)]));}return new Promise((_0x79eeb2,_0x45caa3)=>{const _0x200e1e=_0x5b058d,_0x399889=new FileReader();_0x399889[_0x200e1e(0x392)](_0x590e06),_0x399889[_0x200e1e(0x56b)]=_0x2a09a5=>{const _0x4f84f5=_0x200e1e;var _0x28d543;const _0xe1d6e7=(_0x28d543=_0x2a09a5[_0x4f84f5(0x3b7)])==null?void 0x0:_0x28d543[_0x4f84f5(0x175)];if(_0xe1d6e7==null){this[_0x4f84f5(0x1c4)](),_0x45caa3(new Error(_0x2d0385['ImageUploadStatusType'][_0x4f84f5(0x57d)]));return;}const _0x4fa552=_0x278695[_0x4f84f5(0x1a3)][_0x4f84f5(0x410)](0x6);_0x79eeb2({'imageId':_0x4fa552,'imageSourceType':_0x2d0385[_0x4f84f5(0x4b1)]['UUID'],'source':_0x2cc82f,'base64Cache':_0xe1d6e7,'status':_0x2d0385[_0x4f84f5(0x516)][_0x4f84f5(0x33a)]}),this[_0x4f84f5(0x1c4)]();};});}[_0x406fa3(0x551)](){const _0x5be9cf=_0x406fa3;var _0x4f4839,_0x399c54;const _0xf11b0e=this[_0x5be9cf(0x165)][_0x5be9cf(0x377)](_0x2cae74),_0x440653=this['_configService'][_0x5be9cf(0x377)](_0x41c87a);return(_0x399c54=(_0x4f4839=_0x440653==null?void 0x0:_0x440653[_0x5be9cf(0x18b)])!=null?_0x4f4839:_0xf11b0e)!=null?_0x399c54:_0x2938a8;}[_0x406fa3(0x296)](){const _0x12e792=_0x406fa3;var _0x3d725b,_0x2d2b52;const _0x37e499=this[_0x12e792(0x165)][_0x12e792(0x377)](_0x44e903),_0x84c4f7=this[_0x12e792(0x165)]['getConfig'](_0x41c87a);return(_0x2d2b52=(_0x3d725b=_0x84c4f7==null?void 0x0:_0x84c4f7[_0x12e792(0x49e)])!=null?_0x3d725b:_0x37e499)!=null?_0x2d2b52:_0x1adf4c;}['_getDownloadEndpointURL'](){const _0x220fc6=_0x406fa3;var _0x5d81dd;const _0x35368b=this[_0x220fc6(0x165)][_0x220fc6(0x377)](_0x41c87a);return(_0x5d81dd=_0x35368b==null?void 0x0:_0x35368b[_0x220fc6(0x2f7)])!=null?_0x5d81dd:location['origin'];}[_0x406fa3(0x39b)](_0xf7cec3,_0x51d902){const _0xc28b5b=_0x406fa3;return _0xf7cec3[_0xc28b5b(0x359)](_0xc28b5b(0x16d),_0x51d902);}['_decreaseWaiting'](){const _0x9da8a5=_0x406fa3;this['_waitCount']-=0x1,this['_change$'][_0x9da8a5(0x321)](this['_waitCount']);}},_0x121304[_0x406fa3(0x283)]=_0x3305f5([_0x42955a(0x0,_0x278695[_0x406fa3(0x2cb)](_0x166997[_0x406fa3(0x3f5)])),_0x42955a(0x1,_0x278695[_0x406fa3(0x4c4)]),_0x42955a(0x2,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x2d6)]))],_0x121304['ImageIoService']);var _0x3f2474=Object[_0x406fa3(0x1a2)],_0x23d3d2=Object[_0x406fa3(0x187)],_0x423ff4=(_0x51cb2f,_0x5ea15a,_0x5e6629,_0x359d75)=>{const _0x143266=_0x406fa3;for(var _0x4020d4=_0x359d75>0x1?void 0x0:_0x359d75?_0x23d3d2(_0x5ea15a,_0x5e6629):_0x5ea15a,_0xec9034=_0x51cb2f[_0x143266(0x565)]-0x1,_0x325bf9;_0xec9034>=0x0;_0xec9034--)(_0x325bf9=_0x51cb2f[_0xec9034])&&(_0x4020d4=(_0x359d75?_0x325bf9(_0x5ea15a,_0x5e6629,_0x4020d4):_0x325bf9(_0x4020d4))||_0x4020d4);return _0x359d75&&_0x4020d4&&_0x3f2474(_0x5ea15a,_0x5e6629,_0x4020d4),_0x4020d4;},_0x78d973=(_0x1fac24,_0x11c3d0)=>(_0x2fdf54,_0x55904c)=>_0x11c3d0(_0x2fdf54,_0x55904c,_0x1fac24);let _0x26f263=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0xc4460b,_0x1d85f5,_0x10b4fb,_0x49aeec,_0x39e541){const _0x1d771d=_0x406fa3;super(),this['_injector']=_0xc4460b,this['_univerInstanceService']=_0x1d85f5,this[_0x1d771d(0x511)]=_0x10b4fb,this[_0x1d771d(0x37c)]=_0x49aeec,this[_0x1d771d(0x1b1)]=_0x39e541,this[_0x1d771d(0x3d5)](),this[_0x1d771d(0x329)]();}[_0x406fa3(0x329)](){const _0x344905=_0x406fa3,_0x40fa6c=async _0x1dd106=>{const _0x223df7=_0x3463;(await this[_0x223df7(0x37c)]['requireSession'](_0x1dd106))[_0x223df7(0x264)]['pipe'](_0x3753b5[_0x223df7(0x4b0)](_0x30b81a=>_0x30b81a[_0x223df7(0x17d)]===_0x5d08[_0x223df7(0x581)]['SHOULD_CLOSE_CONN']),_0x3753b5[_0x223df7(0x1d2)](this[_0x223df7(0x37d)]))[_0x223df7(0x218)](_0x53cdad=>{const _0x3afb17=_0x223df7,_0x218fc6=_0x53cdad,{reason:_0x399c17}=_0x218fc6['data'];this[_0x3afb17(0x557)][_0x3afb17(0x503)](_0x42b7fc[_0x3afb17(0x2b1)])[_0x3afb17(0x571)]({'type':_0x381d1f[_0x3afb17(0x26e)][_0x3afb17(0x44a)],'content':this['_localeService']['t'](_0x3afb17(0x247))+'('+_0x399c17+')'}),this[_0x3afb17(0x511)][_0x3afb17(0x31f)](new _0x30bfa9[(_0x3afb17(0x500))](_0x1dd106)['id'],!0x1),this['_collaborationSessionService'][_0x3afb17(0x2d1)](_0x1dd106);});};_0x34a6cc[_0x344905(0x504)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x278695[_0x344905(0x266)][_0x344905(0x4fc)]),this[_0x344905(0x45b)]['getTypeOfUnitAdded$'](_0x278695['UniverInstanceType']['UNIVER_DOC']))['pipe'](_0x3753b5[_0x344905(0x1a8)](_0x4673ac=>_0x4673ac[_0x344905(0x1f9)]()),_0x3753b5[_0x344905(0x4b0)](_0x2b9224=>!_0x278695[_0x344905(0x234)](_0x2b9224)),_0x3753b5[_0x344905(0x1d2)](this['dispose$']))[_0x344905(0x218)](_0x38c8a0=>{_0x40fa6c(_0x38c8a0);});}[_0x406fa3(0x3d5)](){const _0x23c78e=_0x406fa3,_0x4a56db=async _0x3b27ca=>{const _0x38bacb=_0x3463;(await this[_0x38bacb(0x37c)][_0x38bacb(0x215)](_0x3b27ca))[_0x38bacb(0x264)][_0x38bacb(0x2b3)](_0x3753b5[_0x38bacb(0x4b0)](_0x471695=>_0x471695[_0x38bacb(0x17d)]===_0x5d08[_0x38bacb(0x581)]['UPDATE_PERMISSION_OBJ']),_0x3753b5['takeUntil'](this[_0x38bacb(0x37d)]))[_0x38bacb(0x218)](_0x2f5f8b=>{const _0x3896a4=_0x38bacb,_0xa290a0=_0x2f5f8b,{objectId:_0x41a194}=_0xa290a0['data'],_0x1a4545=this['_injector'][_0x3896a4(0x503)](_0xd83a71[_0x3896a4(0x21c)]);_0x41a194===_0x3b27ca?_0x1a4545[_0x3896a4(0x275)](_0x3b27ca):_0x1a4545['refreshPermission'](_0x3b27ca,_0x41a194);});};_0x34a6cc[_0x23c78e(0x504)](this[_0x23c78e(0x45b)][_0x23c78e(0x4b9)](_0x278695[_0x23c78e(0x266)][_0x23c78e(0x4fc)]),this[_0x23c78e(0x45b)]['getTypeOfUnitAdded$'](_0x278695['UniverInstanceType'][_0x23c78e(0x373)]))[_0x23c78e(0x2b3)](_0x3753b5[_0x23c78e(0x1a8)](_0xe2d731=>_0xe2d731[_0x23c78e(0x1f9)]()),_0x3753b5[_0x23c78e(0x4b0)](_0x109c05=>!_0x278695[_0x23c78e(0x234)](_0x109c05)),_0x3753b5[_0x23c78e(0x1d2)](this[_0x23c78e(0x37d)]))[_0x23c78e(0x218)](_0x3a3327=>{_0x4a56db(_0x3a3327);});}};_0x26f263=_0x423ff4([_0x78d973(0x0,_0x278695[_0x406fa3(0x2cb)](_0x278695['Injector'])),_0x78d973(0x1,_0x278695[_0x406fa3(0x2d6)]),_0x78d973(0x2,_0x278695['IPermissionService']),_0x78d973(0x3,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x502)])),_0x78d973(0x4,_0x278695[_0x406fa3(0x2cb)](_0x278695['LocaleService']))],_0x26f263);var _0xb96bdb=Object[_0x406fa3(0x1a2)],_0x9e5e74=Object[_0x406fa3(0x187)],_0x53da0c=(_0x2ef8b5,_0x299bf0,_0x8531b7,_0x1c3c89)=>{for(var _0x2ffa70=_0x1c3c89>0x1?void 0x0:_0x1c3c89?_0x9e5e74(_0x299bf0,_0x8531b7):_0x299bf0,_0x440460=_0x2ef8b5['length']-0x1,_0x530470;_0x440460>=0x0;_0x440460--)(_0x530470=_0x2ef8b5[_0x440460])&&(_0x2ffa70=(_0x1c3c89?_0x530470(_0x299bf0,_0x8531b7,_0x2ffa70):_0x530470(_0x2ffa70))||_0x2ffa70);return _0x1c3c89&&_0x2ffa70&&_0xb96bdb(_0x299bf0,_0x8531b7,_0x2ffa70),_0x2ffa70;},_0x495d9a=(_0x1b60be,_0x428db8)=>(_0x4e6044,_0x108719)=>_0x428db8(_0x4e6044,_0x108719,_0x1b60be);_0x121304[_0x406fa3(0x227)]=class{constructor(_0x528562,_0x263d91){const _0x1eed7a=_0x406fa3;this[_0x1eed7a(0x165)]=_0x528562,this[_0x1eed7a(0x263)]=_0x263d91;}async[_0x406fa3(0x1f5)](_0x3db728,_0x5be707){const _0x353fd2=_0x406fa3;var _0x193629;const {unitID:_0xb16c01,type:_0x1b84be,revision:_0x4f8637=0x0}=_0x5be707,_0x25afc9=this[_0x353fd2(0x449)]()+'/'+_0x1b84be+_0x353fd2(0x52a)+_0xb16c01+_0x353fd2(0x31e)+_0x4f8637,_0x384444=(await this[_0x353fd2(0x263)][_0x353fd2(0x503)](_0x25afc9))['body'],_0xbedf79=(_0x193629=_0x384444['snapshot'])==null?void 0x0:_0x193629[_0x353fd2(0x4f8)];if(_0xbedf79){const _0x519bc1=_0xbedf79==null?void 0x0:_0xbedf79[_0x353fd2(0x239)],_0x557ee3=_0x5d08[_0x353fd2(0x25d)][_0x353fd2(0x4ca)](_0x5d08[_0x353fd2(0x26b)](_0x519bc1));_0xbedf79[_0x353fd2(0x239)]=_0x557ee3,Object[_0x353fd2(0x31c)](_0xbedf79[_0x353fd2(0x26a)])[_0x353fd2(0x569)](([,_0x17bbfb])=>{const _0xc0571=_0x353fd2,_0x20f648=_0x17bbfb[_0xc0571(0x239)],_0x36b93d=_0x5d08['textEncoder']['encode'](_0x5d08['b64DecodeUnicode'](_0x20f648));_0x17bbfb[_0xc0571(0x239)]=_0x36b93d;});}return _0x384444;}async[_0x406fa3(0x2ff)](_0x2b5bc8,_0x432b6f){const _0x295ba9=_0x406fa3,{unitID:_0x36802c,type:_0x39e351,blockID:_0x537765}=_0x432b6f,_0x5170f0=this['_getAPIPrefix']()+'/'+_0x39e351+_0x295ba9(0x52a)+_0x36802c+'/block/'+_0x537765;return(await this['_httpService'][_0x295ba9(0x503)](_0x5170f0))[_0x295ba9(0x51f)];}async['getDeserializedSheetBlock'](_0x3c9e18,_0x17b2d9){const _0x514af0=_0x406fa3,{unitID:_0x1aa280,type:_0x41ccfc,blockID:_0xb35eee}=_0x17b2d9,_0x45c46e=this[_0x514af0(0x352)]()+_0x514af0(0x46d)+_0x41ccfc+_0x514af0(0x52a)+_0x1aa280+_0x514af0(0x46d)+_0xb35eee;return(await this[_0x514af0(0x263)][_0x514af0(0x503)](_0x45c46e))[_0x514af0(0x51f)];}async['fetchMissingChangesets'](_0x207886,_0x118868){const _0x644733=_0x406fa3,{unitID:_0x74f89a,type:_0x12e896,from:_0x3bef5d,to:_0x597330}=_0x118868,_0xbc8557=this[_0x644733(0x352)]()+'/'+_0x12e896+_0x644733(0x52a)+_0x74f89a+_0x644733(0x2d5)+_0x3bef5d+_0x644733(0x2cd)+_0x597330;return(await this[_0x644733(0x263)]['get'](_0xbc8557))['body'];}[_0x406fa3(0x449)](){const _0x356089=_0x406fa3;var _0x4e6b8a;return(_0x4e6b8a=this['_configService'][_0x356089(0x377)](_0x653581))!=null?_0x4e6b8a:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x22a7fc=_0x406fa3;var _0xb4ed94,_0x24a7c2;const _0x553be3=this[_0x22a7fc(0x165)][_0x22a7fc(0x377)](_0x4ab17e),_0x3b2087=this['_configService'][_0x22a7fc(0x377)](_0x41c87a);return(_0x24a7c2=(_0xb4ed94=_0x3b2087==null?void 0x0:_0x3b2087[_0x22a7fc(0x4eb)])!=null?_0xb4ed94:_0x553be3)!=null?_0x24a7c2:_0x22141f;}async['getResourcesRequest'](_0x118b49,_0x3b6825){const _0x3d86cb=_0x406fa3,_0x1701ad=_0x3d86cb(0x4dc)+_0x3b6825[_0x3d86cb(0x460)]+_0x3d86cb(0x52a)+_0x3b6825[_0x3d86cb(0x42a)]+_0x3d86cb(0x3e6);return(await this[_0x3d86cb(0x263)][_0x3d86cb(0x503)](_0x1701ad,{'params':{'resourceId':JSON['stringify'](_0x3b6825['resourceIDs'])}}))[_0x3d86cb(0x51f)];}[_0x406fa3(0x3fb)](){const _0x2615ce=_0x406fa3;throw new Error(_0x2615ce(0x376));}[_0x406fa3(0x4f2)](){const _0x5a9e57=_0x406fa3;throw new Error(_0x5a9e57(0x376));}[_0x406fa3(0x443)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x121304[_0x406fa3(0x227)]=_0x53da0c([_0x495d9a(0x0,_0x278695['IConfigService']),_0x495d9a(0x1,_0x278695['Inject'](_0x166997[_0x406fa3(0x3f5)]))],_0x121304[_0x406fa3(0x227)]);var _0x3e3d7a=Object[_0x406fa3(0x1a2)],_0x27f84e=Object[_0x406fa3(0x187)],_0x3f93eb=(_0x3353f1,_0xb5e1d4,_0x1f1a33,_0x12e420)=>{const _0x1d4a48=_0x406fa3;for(var _0x4ddc46=_0x12e420>0x1?void 0x0:_0x12e420?_0x27f84e(_0xb5e1d4,_0x1f1a33):_0xb5e1d4,_0x46348b=_0x3353f1[_0x1d4a48(0x565)]-0x1,_0x4f0bd6;_0x46348b>=0x0;_0x46348b--)(_0x4f0bd6=_0x3353f1[_0x46348b])&&(_0x4ddc46=(_0x12e420?_0x4f0bd6(_0xb5e1d4,_0x1f1a33,_0x4ddc46):_0x4f0bd6(_0x4ddc46))||_0x4ddc46);return _0x12e420&&_0x4ddc46&&_0x3e3d7a(_0xb5e1d4,_0x1f1a33,_0x4ddc46),_0x4ddc46;},_0x1d509a=(_0x1adc80,_0x39afd6)=>(_0x116e86,_0x305d5c)=>_0x39afd6(_0x116e86,_0x305d5c,_0x1adc80);let _0x441313=class extends _0x278695['LocalUndoRedoService']{constructor(_0x5ce94d,_0x574e5c,_0x33f7e4,_0x44c5c0,_0x55080c){const _0x505331=_0x406fa3;super(_0x5ce94d,_0x574e5c,_0x33f7e4),this['_transformService']=_0x44c5c0,this[_0x505331(0x334)]=_0x55080c;}[_0x406fa3(0x3ee)](_0xd484a3,_0x1e952e){const _0x3ee6d9=_0x406fa3,_0x1100fc=this[_0x3ee6d9(0x4ef)](_0xd484a3);if(_0x1100fc)try{const _0x3fb445=this[_0x3ee6d9(0x54c)](_0x1100fc,_0x1e952e);this[_0x3ee6d9(0x391)](_0xd484a3,_0x3fb445);}catch(_0x564f53){this[_0x3ee6d9(0x334)][_0x3ee6d9(0x228)](_0x3ee6d9(0x530),_0x564f53),this['_clearUndo'](_0xd484a3);}const _0x17c33f=this['_getRedoStack'](_0xd484a3);if(_0x17c33f)try{const _0x11000f=this['_transformStack'](_0x17c33f,_0x1e952e);this[_0x3ee6d9(0x3fc)](_0xd484a3,_0x11000f);}catch(_0xef8e03){this[_0x3ee6d9(0x334)][_0x3ee6d9(0x228)](_0xef8e03),this[_0x3ee6d9(0x424)](_0xd484a3);}}['_clearUndo'](_0x40b1a9){const _0x28c793=_0x406fa3,_0x8cff68=this[_0x28c793(0x4ef)](_0x40b1a9);_0x8cff68&&(_0x8cff68['length']=0x0,this[_0x28c793(0x521)]());}[_0x406fa3(0x424)](_0x1093e3){const _0x11bcc9=_0x406fa3,_0x26c809=this[_0x11bcc9(0x308)](_0x1093e3);_0x26c809&&(_0x26c809[_0x11bcc9(0x565)]=0x0,this[_0x11bcc9(0x521)]());}['_substituteUndoStack'](_0x4d58c5,_0x21f2e5){const _0x1c8c5c=_0x406fa3;this['_undoStacks'][_0x1c8c5c(0x30e)](_0x4d58c5,_0x21f2e5),this[_0x1c8c5c(0x521)]();}['_substituteRedoStack'](_0x13e86b,_0x41f1e4){const _0x560cdc=_0x406fa3;this[_0x560cdc(0x3a4)]['set'](_0x13e86b,_0x41f1e4),this[_0x560cdc(0x521)]();}[_0x406fa3(0x54c)](_0x42d9e0,_0x5650a1){const _0x19e6e1=_0x406fa3,_0x1dbeda=[];let _0x5b99f8=_0x5650a1,_0x15aefd=_0x5650a1;for(let _0x8ac2dd=_0x42d9e0[_0x19e6e1(0x565)]-0x1;_0x8ac2dd>=0x0;_0x8ac2dd--){const {unitID:_0x186c4d,undoMutations:_0x1eb13d,redoMutations:_0x20de4f}=_0x42d9e0[_0x8ac2dd],_0x808036=this[_0x19e6e1(0x193)][_0x19e6e1(0x3d0)](_0x5b99f8,_0x1eb13d),_0x139948=this[_0x19e6e1(0x193)]['transformMutationsWithChangeset'](_0x15aefd,_0x20de4f);if(_0x5d08[_0x19e6e1(0x533)](_0x808036)||_0x5d08[_0x19e6e1(0x533)](_0x139948)){this[_0x19e6e1(0x334)][_0x19e6e1(0x228)](_0x19e6e1(0x530),_0x19e6e1(0x1da),_0x808036,_0x139948);break;}_0x5b99f8=_0x808036[_0x19e6e1(0x4c2)],_0x15aefd=_0x139948[_0x19e6e1(0x4c2)],_0x1dbeda[_0x19e6e1(0x355)]({'unitID':_0x186c4d,'undoMutations':_0x808036['m2Prime'],'redoMutations':_0x139948['m2Prime']});}return _0x1dbeda[_0x19e6e1(0x1f2)]();}};_0x441313=_0x3f93eb([_0x1d509a(0x0,_0x278695[_0x406fa3(0x2d6)]),_0x1d509a(0x1,_0x278695['ICommandService']),_0x1d509a(0x2,_0x278695[_0x406fa3(0x493)]),_0x1d509a(0x3,_0x5d08[_0x406fa3(0x4fb)]),_0x1d509a(0x4,_0x278695[_0x406fa3(0x21a)])],_0x441313);class _0x1c38ad extends _0x278695[_0x406fa3(0x20b)]{constructor(){const _0x54b490=_0x406fa3;super(),_0x175777(this,_0x54b490(0x252)),this['urlChange$']=_0x34a6cc[_0x54b490(0x173)](window,_0x54b490(0x397))['pipe'](_0x34a6cc[_0x54b490(0x1d2)](this[_0x54b490(0x37d)]),_0x34a6cc['shareReplay'](0x1),_0x34a6cc[_0x54b490(0x3c8)](void 0x0));}[_0x406fa3(0x24b)](_0x5d0823,_0x52f440,_0x5d4ea6=!0x1){const _0x4b5620=_0x406fa3,_0x470a15=new URL(window[_0x4b5620(0x413)][_0x4b5620(0x2c0)]);_0x470a15[_0x4b5620(0x38d)][_0x4b5620(0x30e)](_0x5d0823,_0x52f440),_0x5d4ea6?window[_0x4b5620(0x16a)][_0x4b5620(0x1e4)]('','',_0x470a15[_0x4b5620(0x1b6)]()):window[_0x4b5620(0x16a)][_0x4b5620(0x526)]('','',_0x470a15[_0x4b5620(0x1b6)]());}[_0x406fa3(0x255)](_0xda1802,_0x5b1391=!0x1){const _0x39e774=_0x406fa3,_0x172c6f=new URL(window[_0x39e774(0x413)]['href']);_0x172c6f['searchParams']['delete'](_0xda1802),_0x5b1391?window['history'][_0x39e774(0x1e4)]('','',_0x172c6f[_0x39e774(0x1b6)]()):window['history'][_0x39e774(0x526)]('','',_0x172c6f['toString']());}[_0x406fa3(0x517)](_0x7c0a6a){const _0x566029=_0x406fa3;var _0x25e69e;return(_0x25e69e=new URL(window[_0x566029(0x413)][_0x566029(0x2c0)])['searchParams']['get'](_0x7c0a6a))!=null?_0x25e69e:void 0x0;}}var _0x56171e=Object['defineProperty'],_0x1f54da=Object[_0x406fa3(0x187)],_0x4e6892=(_0x381b08,_0x8fcae,_0x5340a7)=>_0x8fcae in _0x381b08?_0x56171e(_0x381b08,_0x8fcae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5340a7}):_0x381b08[_0x8fcae]=_0x5340a7,_0x2a0ccb=(_0x4715bc,_0x33f16f,_0x42431b,_0x58bed3)=>{const _0x64f4a=_0x406fa3;for(var _0x3af9de=_0x58bed3>0x1?void 0x0:_0x58bed3?_0x1f54da(_0x33f16f,_0x42431b):_0x33f16f,_0x471c09=_0x4715bc[_0x64f4a(0x565)]-0x1,_0x212a8e;_0x471c09>=0x0;_0x471c09--)(_0x212a8e=_0x4715bc[_0x471c09])&&(_0x3af9de=(_0x58bed3?_0x212a8e(_0x33f16f,_0x42431b,_0x3af9de):_0x212a8e(_0x3af9de))||_0x3af9de);return _0x58bed3&&_0x3af9de&&_0x56171e(_0x33f16f,_0x42431b,_0x3af9de),_0x3af9de;},_0x1d62d9=(_0x41c10f,_0x370984)=>(_0x2534b3,_0x1080c9)=>_0x370984(_0x2534b3,_0x1080c9,_0x41c10f),_0x1d728e=(_0x253816,_0x548a9d,_0x1c5ef9)=>_0x4e6892(_0x253816,_0x548a9d+'',_0x1c5ef9);const _0x4a147c=_0x406fa3(0x333);_0x121304['UniverCollaborationClientPlugin']=class extends _0x278695[_0x406fa3(0x390)]{constructor(_0xece751=_0xe8dc9c,_0x10937d,_0x3b0487,_0x513996,_0xaccc90){const _0x32b041=_0x406fa3;super(),this[_0x32b041(0x294)]=_0xece751,this[_0x32b041(0x334)]=_0x10937d,this['_renderManagerService']=_0x3b0487,this[_0x32b041(0x557)]=_0x513996,this['_configService']=_0xaccc90;const {..._0x3847ee}=this[_0x32b041(0x294)];this[_0x32b041(0x165)][_0x32b041(0x23c)](_0x41c87a,_0x3847ee);}[_0x406fa3(0x457)](){const _0x41757d=_0x406fa3;this[_0x41757d(0x4da)](),_0x278695[_0x41757d(0x4e8)](this[_0x41757d(0x557)],[[_0x18b6d9],[_0x121304[_0x41757d(0x554)]],[_0x26f263]]);}[_0x406fa3(0x1cb)](){const _0x3c9b09=_0x406fa3;_0x278695[_0x3c9b09(0x4e8)](this[_0x3c9b09(0x557)],[[_0x5cd4f4]]);}[_0x406fa3(0x225)](){const _0xaee22b=_0x406fa3;this[_0xaee22b(0x584)]();}['_registerDependencies'](){const _0x1ee68f=_0x406fa3;var _0xa4e74f,_0x2dc55d,_0x53500d,_0x3ee9bf;this['_injector'][_0x1ee68f(0x39d)](_0x278695[_0x1ee68f(0x366)])&&this['_logService'][_0x1ee68f(0x228)]('[UniverCollaborationClientPlugin]',_0x1ee68f(0x1c5));let _0x4f8107=[[_0x278695[_0x1ee68f(0x366)],{'useClass':_0x441313}],[_0x121304[_0x1ee68f(0x502)]],[_0x3e1517],[_0x166997[_0x1ee68f(0x3f5)]],[_0xe2ca99,{'useClass':_0x1c38ad}],[_0x76bc39],[_0x121304[_0x1ee68f(0x2a4)]],[_0x166997[_0x1ee68f(0x404)]],[_0x3cacd1],[_0x5c3f94],[_0x4b08e2],[_0x5a7762],[_0x4e78f1],[_0x4f26e5],[_0x646873],[_0x26f263],[_0x441b2a,{'useClass':(_0x2dc55d=(_0xa4e74f=this[_0x1ee68f(0x294)])==null?void 0x0:_0xa4e74f[_0x1ee68f(0x282)])!=null?_0x2dc55d:_0x121304[_0x1ee68f(0x31a)]}],[_0x166997[_0x1ee68f(0x306)],{'useClass':_0x166997[_0x1ee68f(0x4c7)]}],[_0x5d08[_0x1ee68f(0x455)],{'useClass':_0x121304['SnapshotServerOverHTTPService']}],[_0x278695['IAuthzIoService'],{'useClass':_0x121304[_0x1ee68f(0x549)]}],[_0x2d0385[_0x1ee68f(0x19a)],{'useClass':_0x121304['ImageIoService']}],[_0x121304[_0x1ee68f(0x51e)]],[_0x121304['DataLoaderController']],[_0x121304[_0x1ee68f(0x36a)]],[_0x5cd4f4],[_0x18b6d9]];(_0x53500d=this[_0x1ee68f(0x294)])!=null&&_0x53500d[_0x1ee68f(0x3c5)]&&_0x4f8107[_0x1ee68f(0x355)]([_0x3af33e,{'useClass':_0x898983}]),_0x4f8107=_0x278695[_0x1ee68f(0x2f6)](_0x4f8107,(_0x3ee9bf=this[_0x1ee68f(0x294)])==null?void 0x0:_0x3ee9bf[_0x1ee68f(0x3a3)]),_0x4f8107[_0x1ee68f(0x569)](_0x4668eb=>this[_0x1ee68f(0x557)][_0x1ee68f(0x1ee)](_0x4668eb)),this[_0x1ee68f(0x224)]();}[_0x406fa3(0x584)](){const _0x50b745=_0x406fa3;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x278695['UniverInstanceType'][_0x50b745(0x373)],[_0x2a6ae4])),this[_0x50b745(0x343)](this[_0x50b745(0x257)][_0x50b745(0x3c0)](_0x278695[_0x50b745(0x266)][_0x50b745(0x4fc)],[_0xdd3747]));}[_0x406fa3(0x224)](){const _0x58be54=_0x406fa3;var _0x272b85,_0xff4944;this[_0x58be54(0x557)][_0x58be54(0x503)](_0x166997['HTTPService'])[_0x58be54(0x171)]({'priority':0x14,'interceptor':_0x166997[_0x58be54(0x314)]({'maxParallel':0x6})}),this[_0x58be54(0x557)]['get'](_0x4f26e5),(_0x272b85=this['_config'])!=null&&_0x272b85['enableOfflineEditing']||this[_0x58be54(0x557)][_0x58be54(0x503)](_0x121304[_0x58be54(0x2a4)])['disableLocalCache'](),(_0xff4944=this[_0x58be54(0x294)])!=null&&_0xff4944[_0x58be54(0x1a0)]&&this[_0x58be54(0x557)][_0x58be54(0x503)](_0x4e78f1),this[_0x58be54(0x557)][_0x58be54(0x503)](_0x121304[_0x58be54(0x51e)]),this[_0x58be54(0x557)][_0x58be54(0x39d)](_0x121304[_0x58be54(0x36a)])&&this[_0x58be54(0x557)][_0x58be54(0x503)](_0x121304[_0x58be54(0x36a)]);}},_0x1d728e(_0x121304[_0x406fa3(0x353)],_0x406fa3(0x142),_0x4a147c),_0x121304[_0x406fa3(0x353)]=_0x2a0ccb([_0x278695[_0x406fa3(0x246)](_0x5d08['UniverCollaborationPlugin']),_0x1d62d9(0x1,_0x278695['ILogService']),_0x1d62d9(0x2,_0x363b07['IRenderManagerService']),_0x1d62d9(0x3,_0x278695['Inject'](_0x278695[_0x406fa3(0x18f)])),_0x1d62d9(0x4,_0x278695[_0x406fa3(0x4c4)])],_0x121304[_0x406fa3(0x353)]),_0x121304[_0x406fa3(0x3b2)]=_0x488b7c,_0x121304[_0x406fa3(0x47c)]=_0x41e0fd,_0x121304[_0x406fa3(0x458)]=_0xc7bdf9,_0x121304['CollaborationStatus']=_0x59cf14,_0x121304[_0x406fa3(0x339)]=_0x158ac5,_0x121304[_0x406fa3(0x276)]=_0x646873,_0x121304[_0x406fa3(0x20a)]=_0x268833,_0x121304[_0x406fa3(0x3c3)]=_0x52d634,_0x121304[_0x406fa3(0x3c4)]=_0x441b2a,_0x121304[_0x406fa3(0x2aa)]=_0xe2ca99,_0x121304[_0x406fa3(0x259)]=_0x5d6c68,_0x121304['LOGIN_URL_KEY']=_0x103765,_0x121304['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x249b8f,_0x121304[_0x406fa3(0x41b)]=_0x10395e,_0x121304[_0x406fa3(0x444)]=_0x4ab17e,_0x121304[_0x406fa3(0x563)]=_0x653581,_0x121304[_0x406fa3(0x37b)]=_0xc1ac50,_0x121304[_0x406fa3(0x1d6)]=_0x17af96,_0x121304['WebURLService']=_0x1c38ad,_0x121304[_0x406fa3(0x230)]=_0x47c5f1,_0x121304['serializeCombRequest']=_0xd73f22,Object[_0x406fa3(0x1a2)](_0x121304,Symbol[_0x406fa3(0x1c9)],{'value':'Module'});}));
1
+ function _0x1c68(_0x47b03e,_0x5c39dc){const _0x2c0e12=_0x2c0e();return _0x1c68=function(_0x1c68e7,_0x54917f){_0x1c68e7=_0x1c68e7-0x1e1;let _0x14c18a=_0x2c0e12[_0x1c68e7];return _0x14c18a;},_0x1c68(_0x47b03e,_0x5c39dc);}function _0x2c0e(){const _0x3a82f3=['IAuthzIoService','compose','handleDeleteRangeMoveUp','[CollaborationEntity]','_textBubble','handleIRemoveRow','_cursor','workbook','ILogService','_getDownloadEndpointURL','_onFetchMissResult','setItem','addObject','transformSelections','closePath','getVpScrollXYInfoByPosToVp','updateOfflineData','onMissingChangesets','_localeService','Tools','cmd','concatMap','mutations','withCredentials','setTimeout','IURLService','SetTextSelectionsOperation','whenReady','addEventListener','Univer','IUndoRedoService','_replaceFileID','getCollabCursors$','online','HEARTBEAT_INTERVAL','_fetchMissChangesets','getUniverSheetInstance','getRangePointData','_ws','awaiting_with_pending','restore','_onOffline','measureText','ACTIVE_UNIT_EVENT_CHANNEL','DocSelectionManagerService','_updateCollabCursors','parseProtocolChangeset','_lockTransition','_colorIndex','LICENSE_DISTRO_REJECTED','session.collaboration-timeout','permission.title','handleInsertRangeMoveRight','defs','_updateState','DeleteRangeMoveUpCommandId','Undefined','_roomMembers$','SheetCollaborationEntity','getActiveSheet','_transformService','take','/-/object/-/batch_allowed','unitID','_transformUndoredo','DocCollaborationEntity','assign','EmptyMutation','permission.content','clearTimeout','replaceState','headers','_isPermissionRej','_rescheduleHeartbeat','_onCursorDelete','runRefRangeMutations','not_collab','filter','_themeService','selections','requireSession','has','INVALID_ARGUMENT','endRow','IBeforeCloseService','onRemoteChangeset','asObservable','getCurrentUser','touchDependencies','gold400','MUTATION','DocIMEInputManagerService','getRelativeToViewportCoord','indexOf','PERMISSION_REJ','_listenToOnlineEvent','_snapshotServerService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','init','image/jpg','disposeUnit','{fileID}','_scene','_awaitingChangeset','_renderManagerService','OffLineSingle','joinEvent','string','delay','next','image/jpeg','OTHER_CLIENTS_EDITING','CONFLICT','&source=','unshift','CompressMutationService','startTime','onTransformChange$','permissionRejEvent','connection\x20error','ThresholdInterceptorFactory','LOGIN_URL_KEY','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','routeKey','_name','delete','rxjs/operators','b64DecodeUnicode','all','name','call','distinctUntilChanged','_entities','length','uni.network.url-service','_type','startRow','IContextService','#fff','UniverUi','concat','unitId','none','loginUrlKey','[PendingState]:\x20received\x20rejection.','_getSaveTimeout','sendChangesetTimeout','/resources','univer-online','createElement','text','_messageService','method','[UniverCollaborationClientPlugin]','then','getCurrent','UnitSnapshot','_unitStatus','_onConflict','/universer-api/snapshot/','changesets','_saveCache','SetSelectionsOperation','univer-pro.collaboration-client.single-active-unit-service','_assignedColors','joinRsp','_urlService','IMessageService','makeDirty','_socketService','getActiveRange','icon','jiqing500','MoveRangeCommandId','[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.','_sessionStatus$','UNIVER_UNKNOWN','getSheetBySheetId','_roomMembers','UPDATE_CURSOR','onlineStatusTitle','defineProperty','objects','hasOwnProperty','_startSheetCollabCursor','Rectangle','transformMutationsWithChangeset','CollaborationController','merge','RevisionService','getSkeleton','LIVESHARE_OPERATION','getValue','pluginName','deserializeToCombResponse','M0\x200H16V16H0z','collabCursorState$','max','SNAPSHOT_INVALID_SNAPSHOT','_collabCursorState$','BehaviorSubject','unitId\x20is\x20not\x20found','_disabled','current','file','Error','collab-rect-range-','LICENSE_EXPORT_SIZE_EXCEEDED','dispose$','resolve','_onRemoteRejected','operators','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','switchMap','body','ICollaborationSocketService','setCurrentUser','UniverCollaborationClientPlugin','_handleHover','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','ImageIoService','IPermissionService','UPDATE_PERMISSION_OBJ','_transformPreviousActiveRange','apply','_onConnectionFailed','_refreshCollabCursors','EffectRefRangId','collabStatus.fetchMiss','_HTTPService','startsWith','conflict','UniverCore','cursorInfo','UniverDesign','_hideTimer','HttpImport','RETRY_CONNECTING_MAX_COUNT_KEY','collaborators','collabSubmitChangesetUrl','_loadDoc','telemetry\x20info\x20is\x20not\x20initialized','/universer-api/stream/file/upload','_showConflictNotification','getMemberID','deepClone','fetchMiss','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','275850BuSPkB','@univerjs/core','COMPRESS_MUTATION_APPLY','Module','getOffsetConfig','UniverSheetsUi','color','generateRandomId','refreshPermission','getCollabEntity','triggerDblclick','_lastPointer','HTTPService','COLORS','mapTo','set','AuthzIoHttpService','_getRedoStack','onMouseMove','top','onStarting','_getSendChangesetTimeout','onTransformSelections','_collabSessionService','_http','href','_clearLocalCache','_logService','_handleLeaveEvent','auth.needGotoLoginAlert','width','transformMutation','@univerjs/telemetry','_schedule','toDisposable','React','copyFileMeta','_session','editingUnit','_docSkeletonManagerService','_telemetryService','collabStatus.syncing','toString','_anchor','_syncEditingCollabCursorService','url(#$1','rgba(255,\x20255,\x20255,\x200.01)','title','error','COMPLETION_FINISHED','registerOnClose','@univerjs/docs','_acknowledgedAwaitingChangeset','propertyIsEnumerable','LIVESHARE_FETCH_OPERATIONS','toRgbString','evenodd','find','Inject','serializeCombRequest','_substituteUndoStack','_updateLocalCursor','_cursorInfo$','onTransformIME','_online','save','CommandType','0\x200\x2017\x2016','_socket$','c2Prime','_localCacheService','subunit','_cachedData','POST','UNAUTHENTICATED','...','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','doc.mutation.rich-text-editing','@univerjs/rpc','idSuffix','_initStatusListener','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','defIds','currentColor','_notificationService','data','LICENSE_IMPORT_SIZE_EXCEEDED','putCollaborators','isTransformMutationsWithChangesetFailure','focused$','map','collab-text-anchor-','_change$','_range','_commandService','contains','loadDoc','_memberService','TOO_MANY_REQUESTS','enableLocalCache','_applyRemoteChangeset','combineLatest','XHRHTTPImplementation','setInterval','confirm','verdancy600','HttpExport','_clearScheduledTask','_clearCollaborationTimeoutTimer','getConfig','getCellPositionByOffset','liveShareOperation','getUndoRedoMutationParamsCache','_redoStacks','UniverEngineFormula','_updateLocalCache','getOwnPropertySymbols','_getAPIPrefixPath','drawWith','_injector','exports','@univerjs-pro/license','column','revision','VIEWPORT_KEY','[PendingState]:\x20unhandled\x20univer\x20type:\x20','setUndoRedoMutationParamsCache','setParam','append','DataLoaderController','UniverCollaboration','FileId','RefRangeService','split','/block/','encode','_transformRemoteChangesetByIMECache','patch','APPLY_PERMISSION_DENIED','SetWorksheetActivateCommand','_onRefRangeChange','_status$','fillStyle','round','_cursorShapes','interceptor','_revisionService','catch','searchParams','_checkMissing','isTransformMutationsWithChangesetSuccess','_handleHeartbeatEvent','x-univer-host','\x0aCurrent:\x20','cursorInfo$','_hover','UNIVER_SLIDE','fromEvent','YUUMI_RATE_OVER_LIMIT','onMissedChangesetFetched','setAlpha','ranges','DisposableCollection','roomMembers$','_onUserLeave','getUnitType','on-line-single_clip0_910_349','onTransformRemoteChangesetByIMECache','_setupBeforeClosingHandler','FETCH_MISSING','PERMISSION_DENIED','function','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','params','updateMember','_initUnitPermissionChange','_httpService','HELLO','\x20in\x20_schedule.','_shapes','_draw','IRenderManagerService','_candidateSocket','RemoveColCommandId','_anchorDot','[OfflineState]:\x20received\x20changeset.','LIVESHARE_REQUEST_HOST','EXCHANGE_SIGN_URL_SERVER_URL_KEY','saveSheetBlock','closeSession','save\x20fail\x20reason\x20is\x20','12979719RrbzeF','_createSocket','_scheduleClearOtherTimer','handleIRemoveCol','storage','[CollaborationUndoRedoService]','SheetsSelectionsService','complete','get','_clearUndo','_clearTimeoutTimer','_beforeCloseService','DEFAULT_FILE_NAME','_clearRedo','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','sessionStatus$','682161EdXIVQ','m1Prime','DesktopCollaborationStatusDisplayController','_updateStatus','1em','_joinRoom','8eWKPxC','from','startColumn','sheetId','_onJoinRoomEvent','CHANGESET_REVISION_CONFILICT','isEditing','entries','newValue','_removeRoom','COMPRESS_MUTATION_SEND','/-/object/list','UniverDocsUi','infoRsp','getCurrentRevOfUnit','_onLocalMutation','HEARTBEAT_INTERVAL_KEY','_scheduleSaving','session','PSEUDO_FETCH_MISSING_RESULT','@univerjs/drawing','getSheetId','SheetPermissionInitController','_updateSubUnitFromURLParams','_uiPartsService','_render','TEXT_RANGE_LAYER_INDEX','commentUpdate$','?url=','target','collaMsg','offline','_sendHeartbeatTimer','_members','rxjs','_scheduleTimestamp','5837925aOsPPH','isArray','univer-online-status','_clearHeartbeatTimer','activeSheet$','IUIPartsService','reject','transformStack\x20failed!','debounceTime','_permissionService','_scheduleCollaborationTimeoutTimer','getParam','HEARTBEAT','selection','arc','react','ERROR_IMAGE_TYPE','getCollabEntity$','CONNECTOR_DATA_TOO_LARGE','_color','7214774uNnkrr','findNodePositionByCharIndex','updatePermissionPoint','isInternalEditorID','BASE64','onRemoteRej','CHANGESET_REJ','FromArray','trim','eventID','_getLoginPath','UniverDrawing','IDLE','_scheduleHeartbeat','/unit/','hovered','stopTime','USERS_LEAVE','getResourcesRequest','change$','SetDocZoomRatioOperation','session.will-retry','_shouldReportTelemetry','_queuedRemoteChangesets','_imageSourceCache','getAttachHeader','_transformIMECache','disableLocalCache','_exhaustRemoteChangesetQueue','CollaborationSession','_id','unknown','UNKNOWN_CODE','_initRequestHeader','Injector','currentTheme$','flatMap','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','type','_docTransformSelectionsService','onRemoteAck','unsubscribe','ONLINE','_getSheetObject','red300','forwardRef','_waitForHeartbeatResponse','collab-client.tooltip.reconnect','SnapshotServerOverHTTPService','WorkbookEditablePermission','amd','collaboratorID','_tryReconnect','fetchThroughInterceptors','_heartbeatTimer','SNAPSHOT_HAS_BEEN_REMOVED','_initModules','SYNCED','NOT_COLLAB','_sendHeartbeat','NOT_FOUND','newCsEvent','_remoteChangesetQueue','setShapeProps','_instanceService','result','getRenderById','csAckEvent','WebSocketService','sheets','YUUMI_URL_COL_OUT_OF_RANGE','[SyncedState]:\x20received\x20rejection.','_collaborationSessionService','range','downloadEndpointUrl','LOCAL_CACHE_INTERVAL_KEY','lineTo','off-line-single_clip0_910_343','_userManagerService','InsertColCommandId','@univerjs/engine-render','_clearOtherTimers','Warning','SheetCollabCursorShape','reduce','_selfUnitIDs','collabStatus.notCollab','ThemeService','collabStatus.synced','_transformStack','AWAITING_WITH_PENDING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','attrs','unload','colorChannel1','addImageSourceCache','baseRev','removeParam','location','getMergeData','UnitEmbedded','AUTHZ_URL_KEY','/new_changes','HEADER_MENU','_document','getSheetObject','_collabCursorController','_colorAssignService','_tryEnsureSocket','APPLY_NON_SEQUENTIAL_REVISION','_sheetTransformSelectionsService','_getUndoStack','leaveEvent','[OfflineState]:\x20received\x20acknowledgement.','error$','fetchMissingChangesets','COMMENT_UPDATE','dispose','ICommandService','RECV','isTransformChangesetsSuccess','subscribe','getCoordByCell','transformUndoRedo','purple300','SEND_CHANGESET_TIMEOUT','CollaborationStatusDisplay','allowed','blue400','roles','/universer-api/oidc/authpage','sessionStatus','/role','COLLAB_SUBMIT_CHANGESET_URL','[SyncedState]:\x20received\x20acknowledgement.','url(#off-line-single_clip0_910_343)','_send','_createInitialStateImpl','size','[CollaborationSessionService]','onRendered','LocaleService','PENDING','_removeClearOtherTimer','_socketReady','roomInfos','getImage','_socket','failed\x20to\x20apply\x20missed\x20changesets!','_transformUndoRedoStack','LIVESHARE_NEW_HOST','object','_undoRedoService','UniverCollaborationPlugin','extend','INTERNAL_ERROR','createSocket','unit','6vHbNZU','_getCtorByUniverType','_substituteRedoStack','JOINING','Shape','UserManagerService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','pipe','endColumn','MSG_FOR_ERROR','update','INGEST','_ensureSubject','114oLvevX','collaboration-client.offline-data-not-saved','awaiting','socket$','reverse','history','InsertRowCommandId','Subject','_onUserJoin','CollaborationSessionService','getDocRanges','with','takeUntil','_docStateChangeManagerService','Plugin','synced','ALREADY_EXISTS','syncEditingCollabCursor','_state$','_createInitialState','FETCH_MISS','_transitionLocked','add','status','editing\x20status\x20changed\x20to','[DataLoaderController]','UniverTelemetry','_docSkeleton','_state','registerRenderModule','_replayCachedMutations','unit-cache-','univerjs-icon\x20univerjs-icon-','SNAPSHOT_URL_KEY','IUniverInstanceService','InsertSheetMutation','bottom','LocalUndoRedoService','onload','_setupSubUnitSync','_stopTelemetryCollaborationNewChangeset','_sheetSkeletonManagerService','memberID','className','_cursors','_handleJoinEvent','awaitingChangeset','_snapshotService','pending','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_waitCount','_listenToOfflineEvent','_decreaseWaiting','enableOfflineEditing','actions','_telemetryInfo','getUnitId','div','_collaborationController','OFFLINE','_syncEditingCollabCursor','Vector2','CollaborationEvent','fetch_missing','/universer-api/comb','random','DocStateChangeManagerService','ERROR_IMAGE','_compressMutationService','message$','_eventUnsubscribe','_docSyncEditingCollabCursorService','_initMergeInterceptor','black','_throwTelemetryCollaborationNewChangeset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','row','/allowed','UNDEFINED','roomMembers','BuiltInUIPart','children','_sessions','[CollaborationSession]','_onRemoteChangeset','CollaborationSocketService','clearInterval','ColorKit','45219lggOaB','DependentOn','reconnect','VIEW_MAIN','/object/','subscribeEvent','off-line-single','getUnhiddenWorksheets','_submitChangeset','objectActions','toggleOnline','_drawAnchor','close','snapshot','1485LMpNUs','labelPosition','CollaborationEntity','_getScale','SnapshotService','getInterceptPoints','[FetchMissState]','_disableEditing','fromCollab','disposeWithMe','_commentUpdate$','getCurrentSelections','SessionStatus','LICENSE_MAX_UNITS_EXCEEDED','/universer-api/file/{fileID}/sign-url','session.room-full','transformRemoteChangeset','_backgroundColor','getOwnPropertyDescriptor','Unknown\x20user','_onRemoteACK','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_REJECT','getImageSourceCache','session.connection-failed','Workbook','resend','forEach','_initResize','ImageSourceType','close$','slice','handleMoveRange','@univerjs/sheets-ui','@univerjs-pro/collaboration','state','getTypeOfUnitAdded$','Optional','_startCollaboration','univer-online-status-icon','\x20to\x20','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','m2Prime','registerHTTPInterceptor','#FFF','useDependency','_event$','number','SUCCUSS','registerBeforeClose','_updateURLWithCurrentState','post','UniverEngineRender','onlineStatus','substring','symbol','loadSheet','url','onCommandExecuted','_pendingMutations','saveOfflineData','&to=','_removeCollabCursors','UNKNOWN_CMD','replace','batchAllowed','every','_getUploadFileURL','transformChangesets','origin','ERROR_EXCEED_SIZE','open$','UniverRpc','image/png','_unitID','stringify','_refRangeService','getRoom','LEAVE','moveTo','createInstance','_toggleOnline','Rect','textEncoder','onPointerLeave$','RichTextEditingMutation','getUnit','readAsDataURL','_handler','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_startDocCollabCursor','_registerRenderDependencies','toggleOffline','isPermissionRej','textRanges','transformByState','/rev/','getWorkbookSelections','USERS_ENTER','_getMergeRange','key','_commentService','/collaborator','SHOULD_CLOSE_CONN','FAIL','executeCommand','visibilityState','registerRefRange','RxDisposable','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_context','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','fillRule','deserializeRangeWithSheet','_collaborationPaused','fetching\x20missing\x20changesets\x20from\x20','path','UNIVER_PROJECT','UNIVER_DOC','InsertRangeMoveDownCommandId','updatePermissionObjEvent','isTransformMutationFailure','getFocusedUnit','liveShareNewHost','Disposable','UNRECOGNIZED','univer-offline','_getAPIPrefix','_onRecvEvent','collabStatus.offline','hidden','IImageIoService','UniverCollaborationClient','collaboration_new_changeset','create','ITelemetryService','removeMember','tag','_getCurrentRevision','handleInsertCol','CHANGESET_ACK','debounce','includes','_retryConnectingTimer','getMember','urlChange$','getAncestorScale','_labelPosition','backgroundColor','state$','min','_localStorageService','_init','action','status$','loadOfflineData','listCollaborators','WebURLService','enableSingleActiveInstanceLock','IConfigService','exhaustSavingTask','@univerjs/docs-ui','fromEventSubject','JSONX','font','mapDocumentTypeToUniverType','ImageUploadStatusType','DeleteRangeMoveLeftCommandId','requestParams','SUBMIT_CHANGESET','_getSignURL','objectID','collaboration.single-unit.warning','some','/fetchmissing?from=','SEND_CHANGESET_TIMEOUT_KEY','currentSkeleton$','parseChangesetToProtocol','localeService','APPLY_REVISION_CONFILICT','socketService','getItem','_loadSheet','event$','@univerjs/ui','_transformSelections','send','createCollaborator','signUrlServerUrl','_singleActiveUnitService','transform','_collaborationTimeoutTimer','now','_undoStacks','_drawTextRange','_unlockTransition','createIdentifier','originalMeta','_handleEvent','RegularPolygon','onPointerEnter$','put','@univerjs/sheets','CollaborationStatus','_toggleOffline','ITransformService','appendMutation','on-line-single','fill','collaboration-session-retry','LocalCacheService','getTime','subUnitId','mergeOverrideWithDependencies','skeleton','NEW_CHANGESETS','INotificationService','onCommentUpdate','onSendChangeset','members','debug','LIVESHARE_TERMINATE','visibilitychange','_unitOnClients','_initCloseConn','clear','_registerDependencies','rev','resourceIDs','_configService','YUUMI_SUBSCRIPTION_NOT_FOUND','connectInjector','shareReplay','svg','onStateChange','_hovered','MessageType','_config','parse','getColor','2581208RzITeB','_sendingTimer','displayName','image/bmp','RETRY_CONNECTING_MAX_COUNT','_onConnectionOpen','_timeoutTimer','getUnitStatus$','_initCommandExecutedListener','_getAnchorBounding','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_saveTaskMap','_entityInit$','_onMessage','hide','Error\x20on\x20receiving\x20event','push','list','_socketMessageSubscription','Tooltip','onlyLocal','NO_OTHER_CLIENTS_EDITING','onSyncEditingCollabCursor','saveImage','userID','sheetID','JOIN','_retryCount','UniverSheets','pushState','_incrementRevisionNumber','_createHandler','UniverIcon','ISnapshotServerService','objectType','values','transformIMECache','getSheetBlock','_univerInstanceService','prototype','SheetSkeletonManagerService','replaceTextRanges','assignAColorForMemberID','_executeRemoteChangeset','responseType','getTypeOfUnitDisposed$','show','collab-text-range-','COLLAB_WEB_SOCKET_URL','c1Prime','UniverInstanceType','UNIVER_SHEET'];_0x2c0e=function(){return _0x3a82f3;};return _0x2c0e();}(function(_0x4fc922,_0x20357f){const _0x2f3135=_0x1c68,_0x4754af=_0x4fc922();while(!![]){try{const _0x308d70=parseInt(_0x2f3135(0x22a))/0x1+parseInt(_0x2f3135(0x313))/0x2*(parseInt(_0x2f3135(0x36b))/0x3)+-parseInt(_0x2f3135(0x469))/0x4+parseInt(_0x2f3135(0x254))/0x5*(parseInt(_0x2f3135(0x306))/0x6)+parseInt(_0x2f3135(0x268))/0x7+-parseInt(_0x2f3135(0x230))/0x8*(-parseInt(_0x2f3135(0x21a))/0x9)+-parseInt(_0x2f3135(0x595))/0xa*(parseInt(_0x2f3135(0x379))/0xb);if(_0x308d70===_0x20357f)break;else _0x4754af['push'](_0x4754af['shift']());}catch(_0x4810ea){_0x4754af['push'](_0x4754af['shift']());}}}(_0x2c0e,0xc65d7),function(_0x562937,_0x563e49){const _0x2aa3a1=_0x1c68;typeof exports==_0x2aa3a1(0x2ff)&&typeof module<'u'?_0x563e49(exports,require(_0x2aa3a1(0x596)),require(_0x2aa3a1(0x252)),require(_0x2aa3a1(0x51b)),require('@univerjs/design'),require('@univerjs/ui'),require('@univerjs/network'),require(_0x2aa3a1(0x39b)),require(_0x2aa3a1(0x5b5)),require('@univerjs/docs'),require(_0x2aa3a1(0x41a)),require(_0x2aa3a1(0x443)),require(_0x2aa3a1(0x2b8)),require(_0x2aa3a1(0x244)),require('@univerjs/engine-formula'),require('@univerjs/sheets-ui'),require(_0x2aa3a1(0x263)),require(_0x2aa3a1(0x5e3)),require(_0x2aa3a1(0x60e))):typeof define==_0x2aa3a1(0x206)&&define[_0x2aa3a1(0x29a)]?define([_0x2aa3a1(0x60d),_0x2aa3a1(0x596),'rxjs',_0x2aa3a1(0x51b),'@univerjs/design',_0x2aa3a1(0x431),'@univerjs/network',_0x2aa3a1(0x39b),_0x2aa3a1(0x5b5),_0x2aa3a1(0x5c8),_0x2aa3a1(0x41a),_0x2aa3a1(0x443),_0x2aa3a1(0x2b8),_0x2aa3a1(0x244),'@univerjs/engine-formula',_0x2aa3a1(0x39a),_0x2aa3a1(0x263),'@univerjs/rpc',_0x2aa3a1(0x60e)],_0x563e49):(_0x562937=typeof globalThis<'u'?globalThis:_0x562937||self,_0x563e49(_0x562937[_0x2aa3a1(0x3fd)]={},_0x562937[_0x2aa3a1(0x585)],_0x562937[_0x2aa3a1(0x252)],_0x562937[_0x2aa3a1(0x252)][_0x2aa3a1(0x570)],_0x562937[_0x2aa3a1(0x587)],_0x562937[_0x2aa3a1(0x528)],_0x562937['UniverNetwork'],_0x562937[_0x2aa3a1(0x617)],_0x562937[_0x2aa3a1(0x32d)],_0x562937['UniverDocs'],_0x562937[_0x2aa3a1(0x23c)],_0x562937[_0x2aa3a1(0x485)],_0x562937[_0x2aa3a1(0x3ad)],_0x562937[_0x2aa3a1(0x273)],_0x562937[_0x2aa3a1(0x607)],_0x562937[_0x2aa3a1(0x59a)],_0x562937[_0x2aa3a1(0x5b8)],_0x562937[_0x2aa3a1(0x3c1)],_0x562937['UniverLicense']));}(this,function(_0x52f4d9,_0x204831,_0x2ea3f3,_0x452c71,_0x53bcf5,_0x1e1361,_0x59f944,_0x292f17,_0x3afb77,_0x1d1bc4,_0x2435e3,_0x2850a0,_0x98dfd7,_0xf94d17,_0x13853d,_0x58dbff,_0x4d8650,_0x517f68,_0x3642e){'use strict';const _0x5ebc5d=_0x1c68;var _0x1e5a9f=Object[_0x5ebc5d(0x552)],_0x2416d0=(_0x3a6592,_0x306122,_0x3e401)=>_0x306122 in _0x3a6592?_0x1e5a9f(_0x3a6592,_0x306122,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e401}):_0x3a6592[_0x306122]=_0x3e401,_0x3d4e20=(_0x12da45,_0x4d277a,_0x413b60)=>_0x2416d0(_0x12da45,typeof _0x4d277a!=_0x5ebc5d(0x3b0)?_0x4d277a+'':_0x4d277a,_0x413b60);const _0x225bd6='SNAPSHOT_SERVER_URL_KEY',_0x839084='/universer-api/snapshot',_0x2cc68c=_0x5ebc5d(0x334),_0x453db9=_0x5ebc5d(0x2e5),_0x5e1249=_0x5ebc5d(0x499),_0x3d2e75='ws://127.0.0.1:8000/universer-api/comb/connect',_0x10433d=_0x5ebc5d(0x4bf),_0x1e8dea='HEARTBEAT_TIMEOUT',_0x5aece4=_0x5ebc5d(0x46d),_0xb98bd4='LOCAL_CACHE_INTERVAL',_0x500ffa=_0x5ebc5d(0x2ed),_0x91580e=_0x5ebc5d(0x353),_0x4d3acb='LOGIN_URL_KEY',_0x1c8cfb=_0x5ebc5d(0x2ea);var _0x57fda0=(_0x3d5c0d=>(_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x361)]=0x0]=_0x5ebc5d(0x361),_0x3d5c0d[_0x3d5c0d['OK']=0x1]='OK',_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x303)]=0x2]=_0x5ebc5d(0x303),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x205)]=0x3]=_0x5ebc5d(0x205),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x2a4)]=0x4]=_0x5ebc5d(0x2a4),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x5df)]=0x5]=_0x5ebc5d(0x5df),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x323)]=0x6]=_0x5ebc5d(0x323),_0x3d5c0d[_0x3d5c0d['INVALID_ARGUMENT']=0x7]=_0x5ebc5d(0x4ef),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x5f7)]=0x8]=_0x5ebc5d(0x5f7),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x5c6)]=0x9]=_0x5ebc5d(0x5c6),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x235)]=0x1389]=_0x5ebc5d(0x235),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x563)]=0x1771]=_0x5ebc5d(0x563),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x29f)]=0x1772]=_0x5ebc5d(0x29f),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x38f)]=0x1b59]=_0x5ebc5d(0x38f),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x2d5)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x42c)]=0x1b5b]=_0x5ebc5d(0x42c),_0x3d5c0d[_0x3d5c0d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5ebc5d(0x1e5),_0x3d5c0d[_0x3d5c0d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5ebc5d(0x266),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x386)]=0x2329]=_0x5ebc5d(0x386),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x2c3)]=0x232a]=_0x5ebc5d(0x2c3),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x5eb)]=0x232b]=_0x5ebc5d(0x5eb),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x56c)]=0x232c]=_0x5ebc5d(0x56c),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x4ce)]=0x232d]=_0x5ebc5d(0x4ce),_0x3d5c0d[_0x3d5c0d['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x2ae)]=0x2712]=_0x5ebc5d(0x2ae),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x1f9)]=0x2713]=_0x5ebc5d(0x1f9),_0x3d5c0d[_0x3d5c0d[_0x5ebc5d(0x45f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3d5c0d[_0x3d5c0d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3d5c0d))(_0x57fda0||{}),_0x38b124=(_0x6454b=>(_0x6454b[_0x6454b[_0x5ebc5d(0x54d)]=0x0]=_0x5ebc5d(0x54d),_0x6454b[_0x6454b[_0x5ebc5d(0x3ef)]=0x1]='UNIVER_DOC',_0x6454b[_0x6454b[_0x5ebc5d(0x49c)]=0x2]=_0x5ebc5d(0x49c),_0x6454b[_0x6454b['UNIVER_SLIDE']=0x3]=_0x5ebc5d(0x1f7),_0x6454b[_0x6454b[_0x5ebc5d(0x3ee)]=0x4]=_0x5ebc5d(0x3ee),_0x6454b[_0x6454b[_0x5ebc5d(0x3f6)]=-0x1]=_0x5ebc5d(0x3f6),_0x6454b))(_0x38b124||{}),_0x2d5504=(_0x9de2e=>(_0x9de2e[_0x9de2e[_0x5ebc5d(0x3b8)]=0x0]='UNKNOWN_CMD',_0x9de2e[_0x9de2e[_0x5ebc5d(0x20c)]=0x1]='HELLO',_0x9de2e[_0x9de2e[_0x5ebc5d(0x483)]=0x2]='JOIN',_0x9de2e[_0x9de2e[_0x5ebc5d(0x3c7)]=0x3]=_0x5ebc5d(0x3c7),_0x9de2e[_0x9de2e[_0x5ebc5d(0x311)]=0x4]=_0x5ebc5d(0x311),_0x9de2e[_0x9de2e[_0x5ebc5d(0x260)]=0x5]='HEARTBEAT',_0x9de2e[_0x9de2e[_0x5ebc5d(0x2df)]=0x6]=_0x5ebc5d(0x2df),_0x9de2e[_0x9de2e[_0x5ebc5d(0x3f6)]=-0x1]=_0x5ebc5d(0x3f6),_0x9de2e))(_0x2d5504||{}),_0x59d188=(_0x35fb47=>(_0x35fb47[_0x35fb47[_0x5ebc5d(0x288)]=0x0]=_0x5ebc5d(0x288),_0x35fb47[_0x35fb47['OK']=0x1]='OK',_0x35fb47[_0x35fb47['FAIL']=0x2]=_0x5ebc5d(0x3e1),_0x35fb47[_0x35fb47[_0x5ebc5d(0x3f6)]=-0x1]=_0x5ebc5d(0x3f6),_0x35fb47))(_0x59d188||{}),_0x3ee7c8=(_0x1f0ee2=>(_0x1f0ee2[_0x1f0ee2[_0x5ebc5d(0x4d5)]=0x0]=_0x5ebc5d(0x4d5),_0x1f0ee2[_0x1f0ee2[_0x5ebc5d(0x589)]=0x1]=_0x5ebc5d(0x589),_0x1f0ee2[_0x1f0ee2[_0x5ebc5d(0x5ff)]=0x2]=_0x5ebc5d(0x5ff),_0x1f0ee2[_0x1f0ee2['UnitEmbedded']=0x3]=_0x5ebc5d(0x2cc),_0x1f0ee2[_0x1f0ee2[_0x5ebc5d(0x539)]=0x4]=_0x5ebc5d(0x539),_0x1f0ee2[_0x1f0ee2[_0x5ebc5d(0x3f6)]=-0x1]='UNRECOGNIZED',_0x1f0ee2))(_0x3ee7c8||{});const _0x5dd0cc='collaboration-client.config',_0x5c6234={};function _0xee418d(_0x46f836){const _0xbcb68e=_0x5ebc5d;var _0x37761b,_0x58ffdd,_0x29c0b5,_0x347bb4;const _0xeadff0=_0x46f836[_0xbcb68e(0x5ea)],_0x4ca782=JSON[_0xbcb68e(0x467)](_0xeadff0);switch(_0x4ca782[_0xbcb68e(0x4b1)]){case _0x2d5504[_0xbcb68e(0x260)]:case _0x2d5504[_0xbcb68e(0x20c)]:{const _0x33b72e=_0x4ca782[_0xbcb68e(0x23d)];return{..._0x4ca782,'data':_0x33b72e,'cmd':_0x4ca782['cmd']};}case _0x2d5504['JOIN']:{const _0x49cea9=_0x4ca782[_0xbcb68e(0x542)];return{..._0x4ca782,'data':_0x49cea9,'cmd':_0x4ca782['cmd']};}case _0x2d5504[_0xbcb68e(0x2df)]:{const _0x229a5f=_0x4ca782[_0xbcb68e(0x24e)];switch(_0x229a5f[_0xbcb68e(0x271)]){case _0x292f17['CollaborationEvent']['PERMISSION_REJ']:return{..._0x4ca782,'data':{..._0x229a5f,'data':(_0x37761b=_0x229a5f[_0xbcb68e(0x513)])==null?void 0x0:_0x37761b['cs']},'cmd':_0x4ca782['cmd']};case _0x292f17[_0xbcb68e(0x351)][_0xbcb68e(0x405)]:return{..._0x4ca782,'data':{..._0x229a5f,'data':(_0x58ffdd=_0x229a5f[_0xbcb68e(0x2ab)])==null?void 0x0:_0x58ffdd['cs']},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17[_0xbcb68e(0x351)][_0xbcb68e(0x450)]:return{..._0x4ca782,'data':{..._0x229a5f,'data':(_0x29c0b5=_0x229a5f[_0xbcb68e(0x2a5)])==null?void 0x0:_0x29c0b5['cs']},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17[_0xbcb68e(0x351)][_0xbcb68e(0x26e)]:return{..._0x4ca782,'data':{..._0x229a5f,'data':(_0x347bb4=_0x229a5f['csRejEvent'])==null?void 0x0:_0x347bb4['cs']},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17['CollaborationEvent'][_0xbcb68e(0x550)]:return{..._0x4ca782,'data':{..._0x229a5f,'data':_0x229a5f['updateCursorEvent']},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17[_0xbcb68e(0x351)]['USERS_ENTER']:return{..._0x4ca782,'data':{..._0x229a5f,'data':_0x229a5f[_0xbcb68e(0x507)]},'cmd':_0x4ca782['cmd']};case _0x292f17['CollaborationEvent'][_0xbcb68e(0x279)]:return{..._0x4ca782,'data':{..._0x229a5f,'data':_0x229a5f[_0xbcb68e(0x2d8)]},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17[_0xbcb68e(0x351)]['LIVESHARE_NEW_HOST']:return{..._0x4ca782,'data':{..._0x229a5f,'data':_0x229a5f[_0xbcb68e(0x3f4)]},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17[_0xbcb68e(0x351)][_0xbcb68e(0x5cb)]:case _0x292f17['CollaborationEvent'][_0xbcb68e(0x55c)]:return{..._0x4ca782,'data':{..._0x229a5f,'data':_0x229a5f[_0xbcb68e(0x604)]},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17[_0xbcb68e(0x351)][_0xbcb68e(0x456)]:return{..._0x4ca782,'data':{..._0x229a5f,'data':_0x229a5f[_0xbcb68e(0x3f4)]},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17[_0xbcb68e(0x351)]['MSG_FOR_ERROR']:return{..._0x4ca782,'data':_0x229a5f,'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17[_0xbcb68e(0x351)][_0xbcb68e(0x2dc)]:return{..._0x4ca782,'data':{..._0x229a5f,'data':_0x229a5f['commentUpdateEvent']},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17[_0xbcb68e(0x351)][_0xbcb68e(0x57b)]:return{..._0x4ca782,'data':{..._0x229a5f,'data':_0x229a5f[_0xbcb68e(0x3f1)]},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};case _0x292f17['CollaborationEvent'][_0xbcb68e(0x3e0)]:return{..._0x4ca782,'data':{..._0x229a5f,'data':_0x229a5f['shouldCloseConn']},'cmd':_0x4ca782[_0xbcb68e(0x4b1)]};default:return _0x4ca782;}}default:return _0x4ca782;}}function _0x45f385(_0x1a9999){const _0x554b22=_0x5ebc5d;switch(_0x1a9999[_0x554b22(0x4b1)]){case _0x2d5504['HEARTBEAT']:case _0x2d5504[_0x554b22(0x20c)]:return JSON[_0x554b22(0x3c4)]({'cmd':_0x1a9999['cmd'],'routeKey':_0x1a9999[_0x554b22(0x518)]});case _0x2d5504['INGEST']:{let _0x5b1406;switch(_0x1a9999['data']['eventID']){case _0x292f17[_0x554b22(0x351)][_0x554b22(0x550)]:{_0x5b1406={'eventID':_0x292f17[_0x554b22(0x351)]['UPDATE_CURSOR'],'updateCursorEvent':_0x1a9999[_0x554b22(0x5ea)][_0x554b22(0x5ea)]};break;}case _0x292f17['CollaborationEvent']['USERS_LEAVE']:{_0x5b1406={'eventID':_0x292f17[_0x554b22(0x351)][_0x554b22(0x279)],'leaveEvent':_0x1a9999[_0x554b22(0x5ea)][_0x554b22(0x5ea)]};break;}case _0x292f17[_0x554b22(0x351)][_0x554b22(0x3db)]:{_0x5b1406={'eventID':_0x292f17[_0x554b22(0x351)][_0x554b22(0x3db)],'joinEvent':_0x1a9999[_0x554b22(0x5ea)][_0x554b22(0x5ea)]};break;}case _0x292f17[_0x554b22(0x351)][_0x554b22(0x2fe)]:{_0x5b1406={'eventID':_0x292f17[_0x554b22(0x351)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1a9999[_0x554b22(0x5ea)][_0x554b22(0x5ea)]};break;}case _0x292f17[_0x554b22(0x351)][_0x554b22(0x55c)]:{_0x5b1406={'eventID':_0x292f17[_0x554b22(0x351)][_0x554b22(0x55c)],'liveShareOperation':_0x1a9999['data']['data']};break;}case _0x292f17[_0x554b22(0x351)]['LIVESHARE_TERMINATE']:{_0x5b1406={'eventID':_0x292f17[_0x554b22(0x351)][_0x554b22(0x456)],'liveShareTerminate':_0x1a9999['data'][_0x554b22(0x5ea)]};break;}case _0x292f17[_0x554b22(0x351)][_0x554b22(0x215)]:{_0x5b1406={'eventID':_0x292f17[_0x554b22(0x351)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1a9999[_0x554b22(0x5ea)]['data']};break;}case _0x292f17['CollaborationEvent'][_0x554b22(0x5cb)]:{_0x5b1406={'eventID':_0x292f17[_0x554b22(0x351)][_0x554b22(0x5cb)]};break;}default:_0x5b1406={'eventID':_0x1a9999['data'][_0x554b22(0x271)]};}return JSON[_0x554b22(0x3c4)]({'cmd':_0x1a9999['cmd'],'routeKey':_0x1a9999[_0x554b22(0x518)],'collaMsg':_0x5b1406});}case _0x2d5504[_0x554b22(0x483)]:return JSON[_0x554b22(0x3c4)]({'cmd':_0x1a9999[_0x554b22(0x4b1)],'routeKey':_0x1a9999[_0x554b22(0x518)],'joinReq':_0x1a9999[_0x554b22(0x5ea)]});case _0x2d5504[_0x554b22(0x3c7)]:return JSON[_0x554b22(0x3c4)]({'cmd':_0x1a9999[_0x554b22(0x4b1)],'routeKey':_0x1a9999['routeKey'],'leaveReq':_0x1a9999[_0x554b22(0x5ea)]});default:throw new Error(_0x554b22(0x228));}}var _0x509e95=Object[_0x5ebc5d(0x552)],_0x8594b1=Object[_0x5ebc5d(0x38b)],_0x21a271=(_0x186de7,_0x18dc84,_0x1329c4,_0x2752e2)=>{const _0x3bd92a=_0x5ebc5d;for(var _0x3d01ac=_0x2752e2>0x1?void 0x0:_0x2752e2?_0x8594b1(_0x18dc84,_0x1329c4):_0x18dc84,_0x5d84aa=_0x186de7[_0x3bd92a(0x522)]-0x1,_0x304738;_0x5d84aa>=0x0;_0x5d84aa--)(_0x304738=_0x186de7[_0x5d84aa])&&(_0x3d01ac=(_0x2752e2?_0x304738(_0x18dc84,_0x1329c4,_0x3d01ac):_0x304738(_0x3d01ac))||_0x3d01ac);return _0x2752e2&&_0x3d01ac&&_0x509e95(_0x18dc84,_0x1329c4,_0x3d01ac),_0x3d01ac;},_0x5d80a8=(_0x3f4b47,_0x51f700)=>(_0x51e04c,_0x21daec)=>_0x51f700(_0x51e04c,_0x21daec,_0x3f4b47);const _0x2fd48c=_0x204831[_0x5ebc5d(0x43d)]('univer-pro.collaboration-client-socket-service');function _0x3933ba(_0x3ef53b,_0x32f079,_0x488269){const _0x44fffe=_0x5ebc5d;return _0x3ef53b+'/'+_0x32f079+_0x44fffe(0x276)+_0x488269+_0x44fffe(0x2ce);}_0x52f4d9['CollaborationSocketService']=class extends _0x204831['Disposable']{constructor(_0x5bb067,_0x15996a,_0x294145,_0x18f8f4,_0x59a21f){const _0x222be6=_0x5ebc5d;super(),this[_0x222be6(0x5ad)]=_0x5bb067,this[_0x222be6(0x4c3)]=_0x15996a,this[_0x222be6(0x45e)]=_0x294145,this['_logService']=_0x18f8f4,this[_0x222be6(0x4fd)]=_0x59a21f;}[_0x5ebc5d(0x304)](_0xe59d10){const _0x11b4e7=_0x5ebc5d,_0x53353d=this[_0x11b4e7(0x4c3)]['createSocket'](_0xe59d10);if(!_0x53353d)throw new Error(_0x11b4e7(0x28d));const _0x4243c6=new _0x204831['DisposableCollection'](),_0x2dd314=new _0x2ea3f3[(_0x11b4e7(0x31a))]();_0x4243c6[_0x11b4e7(0x329)](_0x53353d[_0x11b4e7(0x397)][_0x11b4e7(0x2e1)](_0x320332=>_0x2dd314[_0x11b4e7(0x50a)](_0x320332))),_0x4243c6['add'](_0x204831[_0x11b4e7(0x5b7)](()=>_0x2dd314[_0x11b4e7(0x221)]()));const _0x4b133b=new _0x2ea3f3[(_0x11b4e7(0x31a))]();_0x4243c6['add'](_0x53353d[_0x11b4e7(0x2da)][_0x11b4e7(0x2e1)](_0x4db2f4=>_0x4b133b[_0x11b4e7(0x50a)](_0x4db2f4))),_0x4243c6[_0x11b4e7(0x329)](_0x204831['toDisposable'](()=>_0x4b133b[_0x11b4e7(0x221)]()));const _0x3d32d5=new _0x2ea3f3[(_0x11b4e7(0x31a))]();_0x4243c6['add'](_0x53353d['message$'][_0x11b4e7(0x2e1)](_0x3391d7=>{const _0x4d7230=_0x11b4e7,_0x8c6e64=_0xee418d(_0x3391d7);_0x3d32d5[_0x4d7230(0x50a)](_0x8c6e64);})),_0x4243c6[_0x11b4e7(0x329)](_0x204831[_0x11b4e7(0x5b7)](()=>_0x3d32d5[_0x11b4e7(0x221)]()));let _0x591256;const _0x3a161d=()=>{const _0x465167=_0x11b4e7;_0x4b133b[_0x465167(0x50a)](new Event(_0x465167(0x514))),_0x2dd314[_0x465167(0x50a)](new CloseEvent(_0x465167(0x514))),_0x591256[_0x465167(0x377)]();};return _0x591256={'memberID':'','close$':_0x2dd314[_0x11b4e7(0x4f3)](),'error$':_0x4b133b['asObservable'](),'open$':_0x53353d['open$'],'message$':_0x3d32d5[_0x11b4e7(0x4f3)](),'send':_0x2c5e29=>{const _0x455bd7=_0x11b4e7;if(_0x2c5e29[_0x455bd7(0x4b1)]===_0x2d5504[_0x455bd7(0x311)]){if(_0x2c5e29[_0x455bd7(0x5ea)][_0x455bd7(0x271)]===_0x292f17[_0x455bd7(0x351)][_0x455bd7(0x422)]){this['_submitChangeset'](_0x591256,_0x2c5e29[_0x455bd7(0x5ea)])['catch'](_0x1227a4=>{const _0x9f24cc=_0x455bd7;this[_0x9f24cc(0x5b0)][_0x9f24cc(0x5c5)](_0x1227a4),_0x3a161d();});return;}if(_0x2c5e29[_0x455bd7(0x5ea)]['eventID']===_0x292f17[_0x455bd7(0x351)]['FETCH_MISSING']){const _0x2dff49=_0x2c5e29[_0x455bd7(0x5ea)];this['_fetchMissChangesets'](_0x2dff49)[_0x455bd7(0x537)](_0x52c8c9=>{const _0x2efd47=_0x455bd7;_0x3d32d5[_0x2efd47(0x50a)]({'cmd':_0x2d5504[_0x2efd47(0x2df)],'code':_0x59d188['OK'],'routeKey':_0x2dff49[_0x2efd47(0x5ea)]['unitID'],'routeType':'','data':{'eventID':_0x292f17['CollaborationEvent'][_0x2efd47(0x243)],'data':{'changesets':_0x52c8c9}}});})[_0x455bd7(0x1ee)](_0x28f98e=>{const _0x18cbe4=_0x455bd7;this[_0x18cbe4(0x5b0)][_0x18cbe4(0x5c5)](_0x28f98e),_0x3a161d();});return;}}_0x53353d['send'](_0x45f385(_0x2c5e29));},'close':()=>{const _0x296965=_0x11b4e7;_0x53353d[_0x296965(0x377)](),_0x4243c6[_0x296965(0x2dd)]();}},_0x591256;}async[_0x5ebc5d(0x373)](_0x4ed88b,_0x4ae37a){const _0x3893a5=_0x5ebc5d;var _0x4b1f26,_0x4ac7be;const {unitType:_0x442171,unitID:_0x2fb342,changeset:_0x3f69dd}=_0x4ae37a[_0x3893a5(0x5ea)],_0x4a1854={'unitID':_0x2fb342,'memberID':_0x4ed88b[_0x3893a5(0x33d)],'type':_0x442171,'changeset':_0x292f17[_0x3893a5(0x42a)](_0x3f69dd)},_0x1a0798=this[_0x3893a5(0x45e)]['getConfig'](_0x500ffa),_0x1faf39=this[_0x3893a5(0x45e)]['getConfig'](_0x5dd0cc),_0x52d33d=_0x3933ba((_0x4ac7be=(_0x4b1f26=_0x1faf39==null?void 0x0:_0x1faf39[_0x3893a5(0x58c)])!=null?_0x4b1f26:_0x1a0798)!=null?_0x4ac7be:_0x91580e,_0x442171,_0x2fb342);try{await this[_0x3893a5(0x5ad)][_0x3893a5(0x3ac)](_0x52d33d,{'body':_0x4a1854});}catch(_0x5d36e4){throw this['_logService']['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x5d36e4;}}async[_0x5ebc5d(0x4c0)](_0x234d96){const _0x440d32=_0x5ebc5d,{unitID:_0xdd9b7a,from:_0x451438,to:_0x505d9c,unitType:_0x573e6b}=_0x234d96[_0x440d32(0x5ea)];return(await this[_0x440d32(0x4fd)][_0x440d32(0x2db)]({'metadata':void 0x0},{'unitID':_0xdd9b7a,'type':_0x573e6b,'from':_0x451438,'to':_0x505d9c}))[_0x440d32(0x53d)];}},_0x52f4d9[_0x5ebc5d(0x368)]=_0x21a271([_0x5d80a8(0x0,_0x204831[_0x5ebc5d(0x5cf)](_0x59f944[_0x5ebc5d(0x5a1)])),_0x5d80a8(0x1,_0x204831[_0x5ebc5d(0x5cf)](_0x59f944[_0x5ebc5d(0x2ac)])),_0x5d80a8(0x2,_0x204831[_0x5ebc5d(0x418)]),_0x5d80a8(0x3,_0x204831[_0x5ebc5d(0x4a5)]),_0x5d80a8(0x4,_0x292f17[_0x5ebc5d(0x48a)])],_0x52f4d9[_0x5ebc5d(0x368)]);const _0x1eb711=_0x5ebc5d(0x3fe);function _0x5d4e79(_0x7dd106){const _0x241232=_0x5ebc5d;return JSON[_0x241232(0x3c4)](_0x7dd106)[_0x241232(0x522)];}class _0x43bd59{constructor(){const _0x4cbe8f=_0x5ebc5d;_0x3d4e20(this,_0x4cbe8f(0x383),new _0x2ea3f3[(_0x4cbe8f(0x31a))]()),_0x3d4e20(this,_0x4cbe8f(0x24b),this[_0x4cbe8f(0x383)]['asObservable']());}['onCommentUpdate'](_0x59bc0e){const _0x851861=_0x5ebc5d;this[_0x851861(0x383)][_0x851861(0x50a)](_0x59bc0e);}}var _0x2f5ec4=Object[_0x5ebc5d(0x552)],_0x1677e3=Object[_0x5ebc5d(0x38b)],_0x589580=(_0x2354f0,_0x4530e1,_0x33271f,_0x37ab25)=>{for(var _0x24b7c7=_0x37ab25>0x1?void 0x0:_0x37ab25?_0x1677e3(_0x4530e1,_0x33271f):_0x4530e1,_0x4e5c74=_0x2354f0['length']-0x1,_0x4e9cca;_0x4e5c74>=0x0;_0x4e5c74--)(_0x4e9cca=_0x2354f0[_0x4e5c74])&&(_0x24b7c7=(_0x37ab25?_0x4e9cca(_0x4530e1,_0x33271f,_0x24b7c7):_0x4e9cca(_0x24b7c7))||_0x24b7c7);return _0x37ab25&&_0x24b7c7&&_0x2f5ec4(_0x4530e1,_0x33271f,_0x24b7c7),_0x24b7c7;},_0x43f39c=(_0x5e55a5,_0x181d65)=>(_0x530e0c,_0x4eb973)=>_0x181d65(_0x530e0c,_0x4eb973,_0x5e55a5);let _0x3796d3=class extends _0x204831[_0x5ebc5d(0x3f5)]{constructor(_0x3f9d5f,_0x1da299){const _0x581dd0=_0x5ebc5d;super(),_0x3d4e20(this,_0x581dd0(0x54f),new Map()),(this[_0x581dd0(0x48f)]=_0x3f9d5f,this[_0x581dd0(0x2b6)]=_0x1da299,this['disposeWithMe'](_0x204831[_0x581dd0(0x5b7)](_0x2ea3f3[_0x581dd0(0x559)](this[_0x581dd0(0x48f)]['getTypeOfUnitDisposed$'](_0x204831['UniverInstanceType'][_0x581dd0(0x49c)])[_0x581dd0(0x30d)](_0x452c71[_0x581dd0(0x5ef)](_0x53c6c1=>_0x53c6c1[_0x581dd0(0x34b)]())),this['_univerInstanceService'][_0x581dd0(0x496)](_0x204831[_0x581dd0(0x49b)][_0x581dd0(0x3ef)])[_0x581dd0(0x30d)](_0x452c71[_0x581dd0(0x5ef)](_0x4166fe=>_0x4166fe[_0x581dd0(0x34b)]())),this[_0x581dd0(0x48f)]['getTypeOfUnitDisposed$'](_0x204831[_0x581dd0(0x49b)][_0x581dd0(0x1f7)])[_0x581dd0(0x30d)](_0x452c71[_0x581dd0(0x5ef)](_0x3533e0=>_0x3533e0['getUnitId']())))['subscribe'](_0x31314d=>this[_0x581dd0(0x239)](_0x31314d)))));}[_0x5ebc5d(0x575)](_0x3cfce9){const _0x2e0e8a=_0x5ebc5d;this[_0x2e0e8a(0x2b6)][_0x2e0e8a(0x575)](_0x3cfce9);}[_0x5ebc5d(0x4f4)](){const _0x5bfda0=_0x5ebc5d;return this[_0x5bfda0(0x2b6)][_0x5bfda0(0x4f4)]();}[_0x5ebc5d(0x209)](_0x1e47c3,_0x127492){const _0x567213=_0x5ebc5d;let _0x14fbf9=this[_0x567213(0x54f)][_0x567213(0x222)](_0x1e47c3);_0x14fbf9||(_0x14fbf9=new _0x3e08d1(),this[_0x567213(0x54f)]['set'](_0x1e47c3,_0x14fbf9)),_0x14fbf9[_0x567213(0x209)](_0x127492);}['removeMember'](_0x1d67d6,_0x24b0e9){const _0x17fce2=_0x5ebc5d,_0x473f41=this[_0x17fce2(0x54f)][_0x17fce2(0x222)](_0x1d67d6);_0x473f41&&_0x473f41[_0x17fce2(0x401)](_0x24b0e9);}[_0x5ebc5d(0x3c6)](_0x56716f){const _0x19b18a=_0x5ebc5d;return this[_0x19b18a(0x54f)][_0x19b18a(0x222)](_0x56716f);}['getMember'](_0x5c7e94,_0x381b20){const _0x5aa2bd=_0x5ebc5d,_0x1d1663=this[_0x5aa2bd(0x54f)][_0x5aa2bd(0x222)](_0x5c7e94);if(_0x1d1663)return _0x1d1663[_0x5aa2bd(0x409)](_0x381b20);}['_removeRoom'](_0x3e68a0){const _0x2229cc=_0x5ebc5d,_0x5512a=this[_0x2229cc(0x54f)][_0x2229cc(0x222)](_0x3e68a0);_0x5512a&&(_0x5512a['dispose'](),this[_0x2229cc(0x54f)]['delete'](_0x3e68a0));}['dispose'](){const _0x11fc6e=_0x5ebc5d;this[_0x11fc6e(0x54f)][_0x11fc6e(0x394)](_0x11234c=>_0x11234c[_0x11fc6e(0x2dd)]()),this[_0x11fc6e(0x54f)][_0x11fc6e(0x45a)]();}};_0x3796d3=_0x589580([_0x43f39c(0x0,_0x204831[_0x5ebc5d(0x335)]),_0x43f39c(0x1,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x30b)]))],_0x3796d3);class _0x3e08d1 extends _0x204831[_0x5ebc5d(0x3f5)]{constructor(){super(...arguments),_0x3d4e20(this,'_members',new Map());}['dispose'](){const _0x25e5ff=_0x5ebc5d;this[_0x25e5ff(0x251)][_0x25e5ff(0x45a)]();}[_0x5ebc5d(0x209)](_0x4978bf){const _0x312713=_0x5ebc5d;this[_0x312713(0x251)][_0x312713(0x5a4)](_0x4978bf['memberID'],_0x4978bf);}[_0x5ebc5d(0x401)](_0x411cac){const _0x5efb46=_0x5ebc5d;this[_0x5efb46(0x251)][_0x5efb46(0x51a)](_0x411cac);}['getMember'](_0x36a307){const _0x149e42=_0x5ebc5d;return this['_members'][_0x149e42(0x222)](_0x36a307);}}var _0x27df8b=Object['defineProperty'],_0x17aa2c=Object[_0x5ebc5d(0x38b)],_0xe131d5=(_0x52c1b7,_0x4ff9fc,_0xf7b016,_0x1cf095)=>{const _0x5763c8=_0x5ebc5d;for(var _0x1670bd=_0x1cf095>0x1?void 0x0:_0x1cf095?_0x17aa2c(_0x4ff9fc,_0xf7b016):_0x4ff9fc,_0x254d29=_0x52c1b7[_0x5763c8(0x522)]-0x1,_0x552c41;_0x254d29>=0x0;_0x254d29--)(_0x552c41=_0x52c1b7[_0x254d29])&&(_0x1670bd=(_0x1cf095?_0x552c41(_0x4ff9fc,_0xf7b016,_0x1670bd):_0x552c41(_0x1670bd))||_0x1670bd);return _0x1cf095&&_0x1670bd&&_0x27df8b(_0x4ff9fc,_0xf7b016,_0x1670bd),_0x1670bd;},_0x9b576a=(_0xd07c70,_0x206187)=>(_0x24505d,_0x43ca0b)=>_0x206187(_0x24505d,_0x43ca0b,_0xd07c70),_0x52ce60=(_0x2ad52c=>(_0x2ad52c[_0x2ad52c[_0x5ebc5d(0x274)]=0x0]=_0x5ebc5d(0x274),_0x2ad52c[_0x2ad52c[_0x5ebc5d(0x309)]=0x1]=_0x5ebc5d(0x309),_0x2ad52c[_0x2ad52c[_0x5ebc5d(0x34e)]=0x2]=_0x5ebc5d(0x34e),_0x2ad52c[_0x2ad52c[_0x5ebc5d(0x292)]=0x3]=_0x5ebc5d(0x292),_0x2ad52c))(_0x52ce60||{});_0x52f4d9[_0x5ebc5d(0x285)]=class extends _0x204831[_0x5ebc5d(0x3e5)]{constructor(_0x3c1253,_0x3c0173,_0x5bab63,_0x5d8e7f,_0x2b1ecb,_0x3a2e72,_0x257985,_0x1530fd,_0x3e7c50,_0x27c5d1){const _0x3f12ab=_0x5ebc5d;super(),_0x3d4e20(this,_0x3f12ab(0x54c),new _0x2ea3f3[(_0x3f12ab(0x565))](0x0)),_0x3d4e20(this,_0x3f12ab(0x229),this[_0x3f12ab(0x54c)][_0x3f12ab(0x4f3)]()),_0x3d4e20(this,'_event$',new _0x2ea3f3['Subject']()),_0x3d4e20(this,'event$',this['_event$'][_0x3f12ab(0x4f3)]()),_0x3d4e20(this,_0x3f12ab(0x2fb)),_0x3d4e20(this,_0x3f12ab(0x47b)),_0x3d4e20(this,_0x3f12ab(0x438)),_0x3d4e20(this,_0x3f12ab(0x27e),!0x1),_0x3d4e20(this,_0x3f12ab(0x34a),null),(this['_unitID']=_0x3c1253,this[_0x3f12ab(0x5b0)]=_0x5bab63,this['_beforeCloseService']=_0x5d8e7f,this[_0x3f12ab(0x534)]=_0x2b1ecb,this['_configService']=_0x3a2e72,this[_0x3f12ab(0x4af)]=_0x257985,this[_0x3f12ab(0x5f6)]=_0x1530fd,this[_0x3f12ab(0x3de)]=_0x3e7c50,this[_0x3f12ab(0x5bd)]=_0x27c5d1,this[_0x3f12ab(0x27e)]=!!this[_0x3f12ab(0x5bd)],_0x3c0173[_0x3f12ab(0x30d)](_0x2ea3f3[_0x3f12ab(0x31f)](this[_0x3f12ab(0x56d)]))[_0x3f12ab(0x2e1)](_0x58632c=>{const _0x544bcb=_0x3f12ab;var _0x429906;typeof _0x58632c>'u'||(this[_0x544bcb(0x2fb)]=_0x58632c,_0x58632c?(this[_0x544bcb(0x22f)](_0x58632c),this[_0x544bcb(0x47b)]=_0x58632c[_0x544bcb(0x358)][_0x544bcb(0x2e1)](_0x61478c=>{const _0xadb287=_0x544bcb;_0x61478c[_0xadb287(0x518)]===this[_0xadb287(0x3c3)]&&this['_onCombEvent'](_0x61478c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x544bcb(0x54c)][_0x544bcb(0x50a)](0x2),(_0x429906=this['_socketMessageSubscription'])==null||_0x429906['unsubscribe'](),this[_0x544bcb(0x47b)]=null));}),this[_0x3f12ab(0x382)](this['_beforeCloseService'][_0x3f12ab(0x5c7)](()=>{const _0x2bc033=_0x3f12ab;var _0x1a13f5;(_0x1a13f5=this[_0x2bc033(0x2fb)])==null||_0x1a13f5['send']({'cmd':_0x2d5504['LEAVE'],'data':{'roomID':this[_0x2bc033(0x3c3)]}});})));}get[_0x5ebc5d(0x2eb)](){const _0x2f980a=_0x5ebc5d;return this[_0x2f980a(0x54c)][_0x2f980a(0x55d)]();}['getMemberID'](){const _0xd5625b=_0x5ebc5d;var _0x5b31f6,_0x4a36e9;return(_0x4a36e9=(_0x5b31f6=this[_0xd5625b(0x2fb)])==null?void 0x0:_0x5b31f6[_0xd5625b(0x33d)])!=null?_0x4a36e9:null;}[_0x5ebc5d(0x2dd)](){const _0x4d1bbc=_0x5ebc5d;super[_0x4d1bbc(0x2dd)](),this['dispose$']['next'](),this[_0x4d1bbc(0x56d)]['complete']();}[_0x5ebc5d(0x377)](){const _0x3efa90=_0x5ebc5d;var _0x4d09a3,_0xad7eb7;this[_0x3efa90(0x35d)](),(_0x4d09a3=this[_0x3efa90(0x2fb)])==null||_0x4d09a3[_0x3efa90(0x433)]({'cmd':_0x2d5504['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0xad7eb7=this[_0x3efa90(0x2fb)])==null||_0xad7eb7[_0x3efa90(0x377)](),this[_0x3efa90(0x3a7)][_0x3efa90(0x221)](),this['_sessionStatus$'][_0x3efa90(0x221)](),this[_0x3efa90(0x2dd)]();}['_onCombEvent'](_0x391d58){const _0x5c7093=_0x5ebc5d;_0x391d58[_0x5c7093(0x4b1)]===_0x2d5504['JOIN']?this[_0x5c7093(0x234)](_0x391d58):_0x391d58[_0x5c7093(0x4b1)]===_0x2d5504['RECV']&&this[_0x5c7093(0x3f9)](_0x391d58);}[_0x5ebc5d(0x22f)](_0x1cb8d9){const _0x67a107=_0x5ebc5d;this[_0x67a107(0x54c)][_0x67a107(0x50a)](0x1),_0x1cb8d9['send']({'cmd':_0x2d5504[_0x67a107(0x483)],'routeKey':this[_0x67a107(0x3c3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x67a107(0x3c3)]}]}});}[_0x5ebc5d(0x234)](_0x57677b){const _0x2d9d83=_0x5ebc5d;var _0x2059ab;if(_0x57677b['code']===_0x59d188[_0x2d9d83(0x3e1)]){this['_messageService'][_0x2d9d83(0x497)]({'type':_0x53bcf5[_0x2d9d83(0x465)]['Warning'],'content':this[_0x2d9d83(0x4af)]['t'](_0x2d9d83(0x388))}),this[_0x2d9d83(0x54c)]['next'](0x2);return;}this[_0x2d9d83(0x54c)][_0x2d9d83(0x50a)](0x3);const _0x22fd22=(_0x2059ab=_0x57677b[_0x2d9d83(0x5ea)][_0x2d9d83(0x2f9)][this[_0x2d9d83(0x3c3)]])==null?void 0x0:_0x2059ab[_0x2d9d83(0x454)];_0x22fd22&&_0x22fd22[_0x2d9d83(0x394)](_0x208c60=>this[_0x2d9d83(0x5f6)]['updateMember'](this[_0x2d9d83(0x3c3)],_0x208c60));}['_onRecvEvent'](_0x37a59c){const _0x359928=_0x5ebc5d;try{const _0x142779=_0x37a59c[_0x359928(0x5ea)];switch(_0x142779['eventID']){case _0x292f17[_0x359928(0x351)][_0x359928(0x3db)]:this[_0x359928(0x31b)](_0x142779),this['_event$']['next'](_0x142779);break;case _0x292f17[_0x359928(0x351)][_0x359928(0x279)]:this[_0x359928(0x1ff)](_0x142779),this[_0x359928(0x3a7)][_0x359928(0x50a)](_0x142779);break;case _0x292f17[_0x359928(0x351)][_0x359928(0x405)]:this[_0x359928(0x33b)](),this[_0x359928(0x601)](),this[_0x359928(0x3a7)]['next'](_0x142779);break;case _0x292f17[_0x359928(0x351)][_0x359928(0x30f)]:this[_0x359928(0x5b0)][_0x359928(0x5c5)](_0x359928(0x219)+JSON[_0x359928(0x3c4)](_0x142779)),this['_event$'][_0x359928(0x50a)](_0x142779);break;case _0x292f17[_0x359928(0x351)][_0x359928(0x2dc)]:this['_commentService'][_0x359928(0x452)](_0x142779[_0x359928(0x5ea)]),this[_0x359928(0x3a7)][_0x359928(0x50a)](_0x142779);break;default:this['_event$'][_0x359928(0x50a)](_0x142779);}}catch(_0x1e4a12){this[_0x359928(0x5b0)][_0x359928(0x5c5)](_0x1e4a12,_0x37a59c);}}[_0x5ebc5d(0x31b)](_0x12992e){const _0x5e06a0=_0x5ebc5d;this[_0x5e06a0(0x5f6)][_0x5e06a0(0x209)](this[_0x5e06a0(0x3c3)],_0x12992e['data']);}[_0x5ebc5d(0x1ff)](_0x23673e){const _0x36d332=_0x5ebc5d;this[_0x36d332(0x5f6)][_0x36d332(0x401)](this['_unitID'],_0x23673e[_0x36d332(0x5ea)]['memberID']);}async[_0x5ebc5d(0x433)](_0x151b2c,_0x5d3e6f){const _0xe98800=_0x5ebc5d;if(this[_0xe98800(0x2eb)]!==0x3||!this[_0xe98800(0x2fb)])throw new Error(_0xe98800(0x3e6));try{_0x151b2c[_0xe98800(0x271)]===_0x292f17[_0xe98800(0x351)][_0xe98800(0x422)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x151b2c)),this[_0xe98800(0x2fb)]['send']({'cmd':_0x2d5504[_0xe98800(0x311)],'routeKey':_0x5d3e6f,'routeType':'','data':_0x151b2c});}catch(_0x4b38f7){this['_logService'][_0xe98800(0x5c5)](_0x4b38f7);}}[_0x5ebc5d(0x25e)](){const _0x3bc6c4=_0x5ebc5d;var _0x1e77a8;this[_0x3bc6c4(0x438)]=window[_0x3bc6c4(0x4b5)](()=>{const _0xe89724=_0x3bc6c4;this[_0xe89724(0x438)]=null,this[_0xe89724(0x534)]['show']({'type':_0x53bcf5[_0xe89724(0x465)][_0xe89724(0x56a)],'content':this[_0xe89724(0x4af)]['t'](_0xe89724(0x4cf))});},(_0x1e77a8=this[_0x3bc6c4(0x45e)]['getConfig'](_0x1e8dea))!=null?_0x1e77a8:0x4e20);}[_0x5ebc5d(0x601)](){const _0x8d57e=_0x5ebc5d;this[_0x8d57e(0x438)]&&(clearTimeout(this[_0x8d57e(0x438)]),this[_0x8d57e(0x438)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4de6ef){const _0x2f5b31=_0x5ebc5d;if(!this[_0x2f5b31(0x27e)])return;const {data:_0x5d9549}=_0x4de6ef,{unitID:_0x57d9fe,changeset:_0x367b63}=_0x5d9549,{mutations:_0x47a3b3,type:_0x13ba81}=_0x367b63;this[_0x2f5b31(0x34a)]={'unitId':_0x57d9fe,'type':_0x13ba81,'startTime':performance[_0x2f5b31(0x439)](),'stopTime':0x0,'duration':0x0,'size':_0x5d4e79(_0x47a3b3)};}[_0x5ebc5d(0x33b)](){const _0x3807ea=_0x5ebc5d;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService'][_0x3807ea(0x5c5)](_0x3807ea(0x366),_0x3807ea(0x58e));return;}this[_0x3807ea(0x34a)][_0x3807ea(0x278)]=performance['now'](),this['_telemetryInfo']['duration']=this[_0x3807ea(0x34a)][_0x3807ea(0x278)]-this[_0x3807ea(0x34a)][_0x3807ea(0x511)],this[_0x3807ea(0x5bd)]['capture'](_0x1eb711,this['_telemetryInfo']),this[_0x3807ea(0x34a)]=null;}}[_0x5ebc5d(0x35d)](){const _0x59c5cd=_0x5ebc5d;this[_0x59c5cd(0x34a)]=null;}},_0x52f4d9[_0x5ebc5d(0x285)]=_0xe131d5([_0x9b576a(0x2,_0x204831[_0x5ebc5d(0x4a5)]),_0x9b576a(0x3,_0x1e1361[_0x5ebc5d(0x4f1)]),_0x9b576a(0x4,_0x1e1361[_0x5ebc5d(0x544)]),_0x9b576a(0x5,_0x204831[_0x5ebc5d(0x418)]),_0x9b576a(0x6,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x2f5)])),_0x9b576a(0x7,_0x204831[_0x5ebc5d(0x5cf)](_0x3796d3)),_0x9b576a(0x8,_0x204831[_0x5ebc5d(0x5cf)](_0x43bd59)),_0x9b576a(0x9,_0x204831[_0x5ebc5d(0x39e)](_0x3afb77[_0x5ebc5d(0x400)]))],_0x52f4d9[_0x5ebc5d(0x285)]);var _0x29eb5a=Object[_0x5ebc5d(0x552)],_0x1d961b=Object[_0x5ebc5d(0x38b)],_0xa2b100=(_0x33012b,_0x185bc1,_0x4220bf,_0x14a531)=>{const _0x594d19=_0x5ebc5d;for(var _0x4cbe9f=_0x14a531>0x1?void 0x0:_0x14a531?_0x1d961b(_0x185bc1,_0x4220bf):_0x185bc1,_0x1d0fec=_0x33012b[_0x594d19(0x522)]-0x1,_0x6a5819;_0x1d0fec>=0x0;_0x1d0fec--)(_0x6a5819=_0x33012b[_0x1d0fec])&&(_0x4cbe9f=(_0x14a531?_0x6a5819(_0x185bc1,_0x4220bf,_0x4cbe9f):_0x6a5819(_0x4cbe9f))||_0x4cbe9f);return _0x14a531&&_0x4cbe9f&&_0x29eb5a(_0x185bc1,_0x4220bf,_0x4cbe9f),_0x4cbe9f;},_0x2c7865=(_0x204042,_0x19f07c)=>(_0x77d506,_0x1a4638)=>_0x19f07c(_0x77d506,_0x1a4638,_0x204042);_0x52f4d9[_0x5ebc5d(0x31c)]=class extends _0x204831[_0x5ebc5d(0x3f5)]{constructor(_0x1898c4,_0x419c8e,_0x35bee1,_0x2c7410,_0x9d1c55,_0x4e7ab5){const _0x5da5d6=_0x5ebc5d;super(),_0x3d4e20(this,_0x5da5d6(0x5d9),new _0x2ea3f3[(_0x5da5d6(0x565))](void 0x0)),_0x3d4e20(this,_0x5da5d6(0x316),this[_0x5da5d6(0x5d9)]['asObservable']()),_0x3d4e20(this,_0x5da5d6(0x211),null),_0x3d4e20(this,'_sessions',new Map()),_0x3d4e20(this,_0x5da5d6(0x1e8),new _0x2ea3f3[(_0x5da5d6(0x565))](_0x52ce60[_0x5da5d6(0x274)])),_0x3d4e20(this,_0x5da5d6(0x413),this[_0x5da5d6(0x1e8)][_0x5da5d6(0x4f3)]()),_0x3d4e20(this,_0x5da5d6(0x2f8),!0x1),_0x3d4e20(this,_0x5da5d6(0x408)),_0x3d4e20(this,_0x5da5d6(0x484),0x0),_0x3d4e20(this,_0x5da5d6(0x250)),_0x3d4e20(this,_0x5da5d6(0x46f)),(this[_0x5da5d6(0x60c)]=_0x1898c4,this[_0x5da5d6(0x4af)]=_0x419c8e,this['_messageService']=_0x35bee1,this[_0x5da5d6(0x5b0)]=_0x2c7410,this[_0x5da5d6(0x45e)]=_0x9d1c55,this['_socketService']=_0x4e7ab5,this['_initEventListeners']());}get[_0x5ebc5d(0x2fb)](){const _0x1b6c2d=_0x5ebc5d;return this[_0x1b6c2d(0x5d9)][_0x1b6c2d(0x55d)]();}['_initEventListeners'](){const _0x25130e=_0x5ebc5d;this[_0x25130e(0x346)](),this[_0x25130e(0x4fc)]();}[_0x5ebc5d(0x2dd)](){const _0x36d0b2=_0x5ebc5d;super[_0x36d0b2(0x2dd)](),this['_sessions'][_0x36d0b2(0x394)](_0x2fcabd=>_0x2fcabd[_0x36d0b2(0x2dd)]()),this[_0x36d0b2(0x365)][_0x36d0b2(0x45a)](),this[_0x36d0b2(0x1e8)]['complete']();}async[_0x5ebc5d(0x4ed)](_0x153070){const _0x36a8e5=_0x5ebc5d;if(this[_0x36a8e5(0x365)][_0x36a8e5(0x4ee)](_0x153070))return this['_sessions'][_0x36a8e5(0x222)](_0x153070);this[_0x36a8e5(0x2d4)]();const _0x279544=this[_0x36a8e5(0x60c)][_0x36a8e5(0x3c9)](_0x52f4d9[_0x36a8e5(0x285)],_0x153070,this['_socket$']['asObservable']());return this[_0x36a8e5(0x365)]['set'](_0x153070,_0x279544),_0x279544;}[_0x5ebc5d(0x218)](_0x23cc53){const _0x1ade3d=_0x5ebc5d;var _0x119dbf;const _0x435b15=this[_0x1ade3d(0x365)][_0x1ade3d(0x222)](_0x23cc53);_0x435b15&&(this[_0x1ade3d(0x365)][_0x1ade3d(0x51a)](_0x23cc53),_0x435b15[_0x1ade3d(0x377)]()),this['_sessions'][_0x1ade3d(0x2f2)]||(_0x119dbf=this[_0x1ade3d(0x2fb)])==null||_0x119dbf['close']();}[_0x5ebc5d(0x36d)](){const _0x15bde3=_0x5ebc5d;this[_0x15bde3(0x484)]=0x0,this[_0x15bde3(0x408)]!=null&&(clearTimeout(this[_0x15bde3(0x408)]),this[_0x15bde3(0x408)]=null),this[_0x15bde3(0x29c)]();}[_0x5ebc5d(0x21b)](){const _0x35123f=_0x5ebc5d;var _0x30a8de,_0x466027;const _0x198580=this['_configService'][_0x35123f(0x602)](_0x5e1249),_0x16d3fe=this['_configService'][_0x35123f(0x602)](_0x5dd0cc),_0x47a987=(_0x466027=(_0x30a8de=_0x16d3fe==null?void 0x0:_0x16d3fe['collabWebSocketUrl'])!=null?_0x30a8de:_0x198580)!=null?_0x466027:_0x3d2e75,_0x47a205=this[_0x35123f(0x546)][_0x35123f(0x304)](_0x47a987);return this['_candidateSocket']=_0x47a205,_0x47a205;}[_0x5ebc5d(0x2d4)](){const _0xcd4856=_0x5ebc5d;var _0x2ae62b,_0xacf4bf;try{const _0x144688=(_0xacf4bf=(_0x2ae62b=this['_socket'])!=null?_0x2ae62b:this[_0xcd4856(0x211)])!=null?_0xacf4bf:this[_0xcd4856(0x21b)]();if(_0x144688){const _0x168d16=_0x144688[_0xcd4856(0x433)];_0x144688[_0xcd4856(0x433)]=_0x547734=>(this[_0xcd4856(0x4e6)](),_0x168d16[_0xcd4856(0x57d)](_0x144688,[_0x547734])),_0x144688[_0xcd4856(0x358)][_0xcd4856(0x2e1)](_0x4a12fd=>this[_0xcd4856(0x476)](_0x144688,_0x4a12fd)),_0x144688['error$'][_0xcd4856(0x30d)](_0x452c71[_0xcd4856(0x4da)](0x1))[_0xcd4856(0x2e1)](_0x586287=>this[_0xcd4856(0x5b0)][_0xcd4856(0x5c5)]('[CollaborationSessionService]:\x20socket\x20error',_0x586287)),_0x144688[_0xcd4856(0x3c0)]['pipe'](_0x452c71['take'](0x1))[_0xcd4856(0x2e1)](()=>{const _0x131e15=_0xcd4856;this[_0x131e15(0x46e)](_0x144688);}),_0x144688[_0xcd4856(0x397)]['pipe'](_0x452c71[_0xcd4856(0x4da)](0x1))[_0xcd4856(0x2e1)](_0x16ddff=>{const _0x221591=_0xcd4856;this['_logService'][_0x221591(0x455)](_0x221591(0x2f3),'socket\x20close',_0x16ddff),this[_0x221591(0x57e)]();});}}catch(_0x18b02){this[_0xcd4856(0x5b0)][_0xcd4856(0x5c5)](_0x18b02),this[_0xcd4856(0x57e)]();}}[_0x5ebc5d(0x46e)](_0x1e7706){const _0x29c7f3=_0x5ebc5d;this[_0x29c7f3(0x5b0)][_0x29c7f3(0x455)](_0x29c7f3(0x2f3),'socket\x20open.'),_0x1e7706[_0x29c7f3(0x433)]({'cmd':_0x2d5504[_0x29c7f3(0x20c)]}),this[_0x29c7f3(0x4e6)]();}[_0x5ebc5d(0x346)](){const _0x5e1fc9=_0x5ebc5d;window['addEventListener'](_0x5e1fc9(0x24f),()=>this['_onOffline']());}['_onOffline'](){const _0x43ce4d=_0x5ebc5d;this[_0x43ce4d(0x2f8)]=!0x1,this[_0x43ce4d(0x211)]=null,this[_0x43ce4d(0x1e8)][_0x43ce4d(0x50a)](_0x52ce60[_0x43ce4d(0x34e)]),this[_0x43ce4d(0x5d9)][_0x43ce4d(0x50a)](null),this['_clearTimeoutTimer'](),this[_0x43ce4d(0x257)]();}[_0x5ebc5d(0x57e)](){const _0x2d572a=_0x5ebc5d;var _0x2b7db8;this[_0x2d572a(0x4c6)](),this['_retryCount']<((_0x2b7db8=this[_0x2d572a(0x45e)][_0x2d572a(0x602)](_0x5aece4))!=null?_0x2b7db8:0x3)?(this[_0x2d572a(0x534)][_0x2d572a(0x497)]({'key':'collaboration-session-retry','type':_0x53bcf5[_0x2d572a(0x465)]['Warning'],'content':this[_0x2d572a(0x4af)]['t'](_0x2d572a(0x27d))}),this['_tryReconnect']()):this[_0x2d572a(0x534)]['show']({'key':_0x2d572a(0x44a),'type':_0x53bcf5[_0x2d572a(0x465)][_0x2d572a(0x56a)],'content':this[_0x2d572a(0x4af)]['t'](_0x2d572a(0x391))});}[_0x5ebc5d(0x4fc)](){const _0x50fafc=_0x5ebc5d,_0x39dfb5=()=>{const _0x523d6a=_0x1c68;this[_0x523d6a(0x2fb)]||this[_0x523d6a(0x36d)]();},_0x312bfc=()=>{const _0x1a10ee=_0x1c68;this['_socket']||document[_0x1a10ee(0x3e3)]===_0x1a10ee(0x3fb)||this[_0x1a10ee(0x36d)]();};window[_0x50fafc(0x4b9)]('online',_0x39dfb5),document[_0x50fafc(0x4b9)](_0x50fafc(0x457),_0x312bfc);}[_0x5ebc5d(0x29c)](){const _0x56e79a=_0x5ebc5d;var _0x4e695e;const _0x5cea3e=this['_retryCount'],_0x4f1138=this[_0x56e79a(0x45e)][_0x56e79a(0x602)](_0x5dd0cc),_0x16b4d1=_0x5cea3e===0x0?0x0:((_0x4e695e=_0x4f1138==null?void 0x0:_0x4f1138['retryConnectingInterval'])!=null?_0x4e695e:0x4e20)*0x2**_0x5cea3e;this[_0x56e79a(0x408)]=window[_0x56e79a(0x4b5)](()=>{const _0x613f6d=_0x56e79a;clearTimeout(this[_0x613f6d(0x408)]),this[_0x613f6d(0x408)]=null,this[_0x613f6d(0x2d4)]();},_0x16b4d1),this[_0x56e79a(0x484)]+=0x1;}[_0x5ebc5d(0x476)](_0x3b7094,_0x1ddcf8){const _0x10d8e4=_0x5ebc5d,{cmd:_0x50e78b}=_0x1ddcf8;_0x50e78b===_0x2d5504['HELLO']&&!this['_socketReady']&&(_0x3b7094[_0x10d8e4(0x33d)]=_0x1ddcf8[_0x10d8e4(0x5ea)][_0x10d8e4(0x33d)],this[_0x10d8e4(0x5d9)]['next'](_0x3b7094),this[_0x10d8e4(0x1e8)][_0x10d8e4(0x50a)](_0x52ce60[_0x10d8e4(0x292)]),this[_0x10d8e4(0x2f8)]=!0x0,this[_0x10d8e4(0x211)]=null),_0x50e78b===_0x2d5504['HEARTBEAT']&&this[_0x10d8e4(0x224)](),this[_0x10d8e4(0x4e6)]();}['_rescheduleHeartbeat'](){const _0x24361f=_0x5ebc5d;var _0xc15e8b;this[_0x24361f(0x257)](),this['_sendHeartbeatTimer']=window[_0x24361f(0x4b5)](()=>this['_sendHeartbeat'](),(_0xc15e8b=this[_0x24361f(0x45e)][_0x24361f(0x602)](_0x10433d))!=null?_0xc15e8b:0x7530);}[_0x5ebc5d(0x2a3)](){const _0x33b2dd=_0x5ebc5d;this[_0x33b2dd(0x2fb)][_0x33b2dd(0x433)]({'cmd':_0x2d5504[_0x33b2dd(0x260)]}),this[_0x33b2dd(0x296)]();}['_waitForHeartbeatResponse'](){const _0x244015=_0x5ebc5d;var _0x794a5;this[_0x244015(0x46f)]=window['setTimeout'](()=>this[_0x244015(0x57e)](),(_0x794a5=this['_configService'][_0x244015(0x602)](_0x1e8dea))!=null?_0x794a5:0x4e20);}['_clearHeartbeatTimer'](){const _0x1f68d1=_0x5ebc5d;this[_0x1f68d1(0x250)]!=null&&(clearTimeout(this[_0x1f68d1(0x250)]),this[_0x1f68d1(0x250)]=null);}[_0x5ebc5d(0x224)](){const _0x594c73=_0x5ebc5d;this[_0x594c73(0x46f)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},_0x52f4d9[_0x5ebc5d(0x31c)]=_0xa2b100([_0x2c7865(0x0,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['Injector'])),_0x2c7865(0x1,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['LocaleService'])),_0x2c7865(0x2,_0x1e1361[_0x5ebc5d(0x544)]),_0x2c7865(0x3,_0x204831[_0x5ebc5d(0x4a5)]),_0x2c7865(0x4,_0x204831[_0x5ebc5d(0x418)]),_0x2c7865(0x5,_0x2fd48c)],_0x52f4d9[_0x5ebc5d(0x31c)]);var _0x39843e=Object[_0x5ebc5d(0x552)],_0x783f23=Object[_0x5ebc5d(0x38b)],_0x344462=(_0x204b30,_0x5376a1,_0xf8a41,_0x8822ba)=>{const _0x2e8b19=_0x5ebc5d;for(var _0x400103=_0x8822ba>0x1?void 0x0:_0x8822ba?_0x783f23(_0x5376a1,_0xf8a41):_0x5376a1,_0x1f4319=_0x204b30[_0x2e8b19(0x522)]-0x1,_0x5acc52;_0x1f4319>=0x0;_0x1f4319--)(_0x5acc52=_0x204b30[_0x1f4319])&&(_0x400103=(_0x8822ba?_0x5acc52(_0x5376a1,_0xf8a41,_0x400103):_0x5acc52(_0x400103))||_0x400103);return _0x8822ba&&_0x400103&&_0x39843e(_0x5376a1,_0xf8a41,_0x400103),_0x400103;},_0xe016d=(_0x2e1f20,_0x1df3c3)=>(_0x4ace1d,_0x42d6f4)=>_0x1df3c3(_0x4ace1d,_0x42d6f4,_0x2e1f20);let _0x4065da=class{constructor(_0x39a824,_0x5078dd,_0x25eabb){const _0x1ccd2f=_0x5ebc5d;this['_injector']=_0x39a824,this[_0x1ccd2f(0x4d9)]=_0x5078dd,this[_0x1ccd2f(0x505)]=_0x25eabb;}[_0x5ebc5d(0x48d)](_0x251334){const _0x33aa22=_0x5ebc5d;this['_transformUndoRedoStack'](_0x251334),this[_0x33aa22(0x57c)](_0x251334);}[_0x5ebc5d(0x389)](_0x4d9247){const _0x3b366c=_0x5ebc5d,{unitID:_0xc1ec3d}=_0x4d9247,_0x59009b=this[_0x3b366c(0x505)][_0x3b366c(0x2aa)](_0xc1ec3d)[_0x3b366c(0x31e)](_0x2435e3[_0x3b366c(0x4f8)]),{redoCache:_0x568f6e}=_0x59009b[_0x3b366c(0x605)]();if(_0x568f6e[_0x3b366c(0x522)]===0x0)return _0x4d9247;let _0x192d93=_0x204831['Tools']['deepClone'](_0x4d9247['mutations'][0x0]);for(let _0x8ee1e9=0x0;_0x8ee1e9<_0x568f6e[_0x3b366c(0x522)];_0x8ee1e9++){const _0x51ebce={'id':_0x3b366c(0x5e2),'params':{..._0x568f6e[_0x8ee1e9]}},_0x283208=this[_0x3b366c(0x4d9)][_0x3b366c(0x5b4)](_0x192d93,_0x51ebce,!0x1);if(_0x292f17[_0x3b366c(0x3f2)](_0x283208))throw _0x283208[_0x3b366c(0x5c5)];_0x192d93=_0x283208[_0x3b366c(0x22b)];}return{..._0x204831[_0x3b366c(0x4b0)][_0x3b366c(0x592)](_0x4d9247),'mutations':[_0x192d93]};}[_0x5ebc5d(0x2fd)](_0x32906a){const _0x25a943=_0x5ebc5d,{unitID:_0xddbcb0}=_0x32906a,_0x3b47e9=this[_0x25a943(0x505)][_0x25a943(0x2aa)](_0xddbcb0)[_0x25a943(0x31e)](_0x2435e3[_0x25a943(0x4f8)]),{undoCache:_0x222d64,redoCache:_0x2c85a5}=_0x3b47e9[_0x25a943(0x605)]();if(_0x222d64[_0x25a943(0x522)]===0x0||_0x2c85a5[_0x25a943(0x522)]===0x0)return;const _0x481c65=[],_0x38d2a5=[];let _0x316b8e=_0x204831[_0x25a943(0x4b0)][_0x25a943(0x592)](_0x32906a[_0x25a943(0x4b3)][0x0]),_0xe173f3=_0x204831[_0x25a943(0x4b0)][_0x25a943(0x592)](_0x32906a[_0x25a943(0x4b3)][0x0]);for(let _0x20bbaf=_0x222d64['length']-0x1;_0x20bbaf>=0x0;_0x20bbaf--){const _0x574e4d={'id':_0x25a943(0x5e2),'params':{..._0x222d64[_0x20bbaf]}},_0x2bb70b={'id':_0x25a943(0x5e2),'params':{..._0x2c85a5[_0x20bbaf]}},_0x49c955=this[_0x25a943(0x4d9)][_0x25a943(0x5b4)](_0x316b8e,_0x574e4d,!0x1),_0x58012b=this[_0x25a943(0x4d9)][_0x25a943(0x5b4)](_0xe173f3,_0x2bb70b,!0x1);if(_0x292f17[_0x25a943(0x3f2)](_0x49c955))throw _0x49c955['error'];if(_0x292f17[_0x25a943(0x3f2)](_0x58012b))throw _0x58012b['error'];_0x481c65[_0x25a943(0x50f)](_0x49c955[_0x25a943(0x3a3)][_0x25a943(0x208)]),_0x38d2a5[_0x25a943(0x50f)](_0x58012b[_0x25a943(0x3a3)][_0x25a943(0x208)]),_0x316b8e=_0x49c955[_0x25a943(0x22b)],_0xe173f3=_0x58012b[_0x25a943(0x22b)];}_0x3b47e9[_0x25a943(0x613)]({'undoCache':_0x481c65,'redoCache':_0x38d2a5});}[_0x5ebc5d(0x57c)](_0x5dafac){const _0x19362a=_0x5ebc5d,{unitID:_0x2a41d6}=_0x5dafac,_0x153dfb=this[_0x19362a(0x505)]['getRenderById'](_0x2a41d6)[_0x19362a(0x31e)](_0x2435e3[_0x19362a(0x4f8)]),_0x46828d=_0x153dfb[_0x19362a(0x547)]();if(_0x46828d==null)return;const _0xc8bb92=[{'id':_0x19362a(0x5e2),'params':{'unitId':_0x5dafac[_0x19362a(0x4dc)],'actions':null,'textRanges':[_0x46828d]}}],_0xd502ed=this['_transformService']['transformMutationsWithChangeset'](_0x5dafac,_0xc8bb92);if(!_0x292f17[_0x19362a(0x1f1)](_0xd502ed))throw _0xd502ed['error'];const _0xfadf5f=_0xd502ed[_0x19362a(0x3a3)][0x0]['params'][_0x19362a(0x3d7)];Array[_0x19362a(0x255)](_0xfadf5f)&&_0xfadf5f['length']&&_0x153dfb['setActiveRange'](_0xfadf5f[0x0]);}};_0x4065da=_0x344462([_0xe016d(0x0,_0x204831['Inject'](_0x204831[_0x5ebc5d(0x28a)])),_0xe016d(0x1,_0x292f17[_0x5ebc5d(0x446)]),_0xe016d(0x2,_0x98dfd7[_0x5ebc5d(0x210)])],_0x4065da);var _0x48875b=Object[_0x5ebc5d(0x552)],_0x881955=Object[_0x5ebc5d(0x38b)],_0xcd9d2d=(_0x21d4dc,_0x2b59bb,_0x398127,_0x3f6273)=>{for(var _0x3f2201=_0x3f6273>0x1?void 0x0:_0x3f6273?_0x881955(_0x2b59bb,_0x398127):_0x2b59bb,_0xc54e83=_0x21d4dc['length']-0x1,_0x203dd9;_0xc54e83>=0x0;_0xc54e83--)(_0x203dd9=_0x21d4dc[_0xc54e83])&&(_0x3f2201=(_0x3f6273?_0x203dd9(_0x2b59bb,_0x398127,_0x3f2201):_0x203dd9(_0x3f2201))||_0x3f2201);return _0x3f6273&&_0x3f2201&&_0x48875b(_0x2b59bb,_0x398127,_0x3f2201),_0x3f2201;},_0x1b2732=(_0x4c32cd,_0x182ad9)=>(_0x1fc237,_0x42a70f)=>_0x182ad9(_0x1fc237,_0x42a70f,_0x4c32cd);_0x52f4d9['LocalCacheService']=class extends _0x204831['Disposable']{constructor(_0x56dbef,_0x50233f,_0x28f914,_0x4ff398,_0x18012d){const _0x47159b=_0x5ebc5d;super(),_0x3d4e20(this,_0x47159b(0x5dd),new Map()),_0x3d4e20(this,_0x47159b(0x474),new Map()),_0x3d4e20(this,'_disabled',!0x1),(this[_0x47159b(0x45e)]=_0x56dbef,this[_0x47159b(0x410)]=_0x50233f,this[_0x47159b(0x225)]=_0x28f914,this[_0x47159b(0x4af)]=_0x4ff398,this['_revisionService']=_0x18012d,this[_0x47159b(0x203)]());}[_0x5ebc5d(0x283)](){this['_disabled']=!0x0;}[_0x5ebc5d(0x5f8)](){const _0x1dbee1=_0x5ebc5d;this[_0x1dbee1(0x567)]=!0x1;}[_0x5ebc5d(0x2dd)](){const _0x1b2f3e=_0x5ebc5d;this[_0x1b2f3e(0x419)]()[_0x1b2f3e(0x537)](()=>super['dispose']());}async[_0x5ebc5d(0x414)](_0x4bbeca){const _0x109fbd=_0x5ebc5d;return this[_0x109fbd(0x567)]?null:this[_0x109fbd(0x410)][_0x109fbd(0x42e)](_0x1fe398(_0x4bbeca));}async[_0x5ebc5d(0x3b5)](_0x2bf95e,_0x790654){const _0x41b0b0=_0x5ebc5d;return!!this['_localStorageService'][_0x41b0b0(0x4a8)](_0x2bf95e,_0x790654);}[_0x5ebc5d(0x4ad)](_0x131846,_0x3e68c2,_0x3083f6,_0x2ae0a0){const _0x92d3cc=_0x5ebc5d,_0x48c447=this[_0x92d3cc(0x1ed)]['getCurrentRevOfUnit'](_0x131846);this[_0x92d3cc(0x5dd)][_0x92d3cc(0x5a4)](_0x131846,{'unitID':_0x131846,'type':_0x3e68c2,'awaitingChangeset':_0x3083f6,'mutations':_0x2ae0a0,'rev':_0x48c447}),this[_0x92d3cc(0x474)]['has'](_0x131846)||this[_0x92d3cc(0x241)](_0x131846);}['_scheduleSaving'](_0x16afab){const _0x388d71=_0x5ebc5d,_0xd5911b=this['_getSaveTimeout']();_0xd5911b===0x0?this['_saveCache'](_0x16afab):this[_0x388d71(0x474)][_0x388d71(0x5a4)](_0x16afab,setTimeout(()=>this[_0x388d71(0x53e)](_0x16afab),_0xd5911b));}[_0x5ebc5d(0x52e)](){const _0x5457e5=_0x5ebc5d;var _0x14921f;return(_0x14921f=this['_configService'][_0x5457e5(0x602)](_0xb98bd4))!=null?_0x14921f:0x3e8;}[_0x5ebc5d(0x53e)](_0x219647){const _0x18a667=_0x5ebc5d,_0x3da8e5=this[_0x18a667(0x474)]['get'](_0x219647);return _0x3da8e5!==void 0x0&&window[_0x18a667(0x4e2)](_0x3da8e5),this[_0x18a667(0x410)][_0x18a667(0x4a8)](_0x1fe398(_0x219647),this[_0x18a667(0x5dd)][_0x18a667(0x222)](_0x219647))['then'](()=>this[_0x18a667(0x474)]['delete'](_0x219647));}async['exhaustSavingTask'](){const _0x2809f7=_0x5ebc5d,_0x139d18=[];this['_saveTaskMap']['forEach']((_0x163579,_0x2209fa)=>{const _0x20df9d=_0x1c68;window[_0x20df9d(0x4e2)](_0x163579),_0x139d18['push'](this[_0x20df9d(0x53e)](_0x2209fa)[_0x20df9d(0x537)](()=>{const _0x5afb4d=_0x20df9d;this[_0x5afb4d(0x474)][_0x5afb4d(0x51a)](_0x2209fa);}));}),await Promise[_0x2809f7(0x51d)](_0x139d18);}[_0x5ebc5d(0x203)](){const _0x4ff862=_0x5ebc5d;this[_0x4ff862(0x382)](this['_beforeCloseService'][_0x4ff862(0x3aa)](()=>{const _0x5bf970=_0x4ff862;if(this['_saveTaskMap'][_0x5bf970(0x2f2)])return this['_localeService']['t'](_0x5bf970(0x314));}));}},_0x52f4d9['LocalCacheService']=_0xcd9d2d([_0x1b2732(0x0,_0x204831[_0x5ebc5d(0x418)]),_0x1b2732(0x1,_0x204831['ILocalStorageService']),_0x1b2732(0x2,_0x1e1361[_0x5ebc5d(0x4f1)]),_0x1b2732(0x3,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['LocaleService'])),_0x1b2732(0x4,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17[_0x5ebc5d(0x55a)]))],_0x52f4d9[_0x5ebc5d(0x44b)]);function _0x1fe398(_0x4ac935){const _0x2da437=_0x5ebc5d;return _0x2da437(0x332)+_0x4ac935;}var _0x58f3fd=Object[_0x5ebc5d(0x552)],_0x390943=Object[_0x5ebc5d(0x38b)],_0x225f84=(_0x1d7a8c,_0x498652,_0x4d71f2,_0x31634c)=>{const _0x3284b2=_0x5ebc5d;for(var _0x765dd5=_0x31634c>0x1?void 0x0:_0x31634c?_0x390943(_0x498652,_0x4d71f2):_0x498652,_0x240c9f=_0x1d7a8c[_0x3284b2(0x522)]-0x1,_0x3311b5;_0x240c9f>=0x0;_0x240c9f--)(_0x3311b5=_0x1d7a8c[_0x240c9f])&&(_0x765dd5=(_0x31634c?_0x3311b5(_0x498652,_0x4d71f2,_0x765dd5):_0x3311b5(_0x765dd5))||_0x765dd5);return _0x31634c&&_0x765dd5&&_0x58f3fd(_0x498652,_0x4d71f2,_0x765dd5),_0x765dd5;},_0x135569=(_0x27355f,_0x47880f)=>(_0x41a66e,_0x38faac)=>_0x47880f(_0x41a66e,_0x38faac,_0x27355f);function _0x474ac3(_0xfa373d){const _0x3deda5=_0x5ebc5d,{unitID:_0x2ad281,mutations:_0x24077b}=_0xfa373d;return{'unitId':_0x2ad281,'subUnitId':_0x24077b[0x0]['params'][_0x3deda5(0x44d)]};}let _0x59f474=class{constructor(_0x295f5f,_0x2f75ca,_0x23aa85){const _0x3f6789=_0x5ebc5d;this[_0x3f6789(0x60c)]=_0x295f5f,this['_transformService']=_0x2f75ca,this['_instanceService']=_0x23aa85;}[_0x5ebc5d(0x4aa)](_0x555445){const _0x2e0b76=_0x5ebc5d;var _0x308cc4,_0x384622,_0x5b0f92,_0x17b4b1;const _0x3b9b5c=this[_0x2e0b76(0x60c)]['get'](_0x2850a0[_0x2e0b76(0x220)]),{unitId:_0x23a46e,subUnitId:_0x30ae47}=_0x474ac3(_0x555445),_0x2ff895=_0x3b9b5c[_0x2e0b76(0x3da)](_0x23a46e)[_0x2e0b76(0x384)](),_0x1203a1=(_0x384622=(_0x308cc4=this[_0x2e0b76(0x2a8)][_0x2e0b76(0x3cf)](_0x23a46e))==null?void 0x0:_0x308cc4[_0x2e0b76(0x4d8)]())==null?void 0x0:_0x384622[_0x2e0b76(0x245)]();if(_0x2ff895[_0x2e0b76(0x522)]===0x0||!_0x23a46e||!_0x30ae47)return;const _0x4feb0e=[{'id':_0x2850a0[_0x2e0b76(0x53f)]['id'],'params':{'unitId':_0x23a46e,'subUnitId':_0x1203a1,'selections':_0x204831['Tools'][_0x2e0b76(0x592)](_0x2ff895)}}],_0x217670=this[_0x2e0b76(0x4d9)]['transformMutationsWithChangeset'](_0x555445,_0x4feb0e);if(!_0x292f17[_0x2e0b76(0x1f1)](_0x217670))throw _0x217670[_0x2e0b76(0x5c5)];const _0x2f84ff=(_0x17b4b1=(_0x5b0f92=_0x217670[_0x2e0b76(0x3a3)][0x0])==null?void 0x0:_0x5b0f92['params'])==null?void 0x0:_0x17b4b1[_0x2e0b76(0x4ec)];Array['isArray'](_0x2f84ff)&&_0x2f84ff['length']&&this[_0x2e0b76(0x60c)][_0x2e0b76(0x222)](_0x204831[_0x2e0b76(0x2de)])[_0x2e0b76(0x3e2)](_0x2850a0[_0x2e0b76(0x53f)]['id'],{'unitId':_0x23a46e,'subUnitId':_0x1203a1,'selections':_0x2f84ff});}};_0x59f474=_0x225f84([_0x135569(0x0,_0x204831['Inject'](_0x204831[_0x5ebc5d(0x28a)])),_0x135569(0x1,_0x292f17[_0x5ebc5d(0x446)]),_0x135569(0x2,_0x204831[_0x5ebc5d(0x335)])],_0x59f474);const _0x4bdb01=_0x204831[_0x5ebc5d(0x43d)](_0x5ebc5d(0x540));var _0x2d477a=(_0x100cf4=>(_0x100cf4[_0x100cf4[_0x5ebc5d(0x47e)]=0x0]=_0x5ebc5d(0x47e),_0x100cf4[_0x100cf4[_0x5ebc5d(0x50c)]=0x1]=_0x5ebc5d(0x50c),_0x100cf4))(_0x2d477a||{});const _0x34ede0=0x7530,_0x3db2af=_0x5ebc5d(0x4c8);class _0x2cd1f1 extends _0x204831[_0x5ebc5d(0x3f5)]{constructor(){const _0x409835=_0x5ebc5d;super(),_0x3d4e20(this,_0x409835(0x286),_0x204831[_0x409835(0x4b0)][_0x409835(0x59c)]()),_0x3d4e20(this,'_selfUnitIDs',new Set()),_0x3d4e20(this,_0x409835(0x458),new Map()),_0x3d4e20(this,_0x409835(0x29e),null),_0x3d4e20(this,_0x409835(0x2b9),new Map()),_0x3d4e20(this,'_unitStatus',new Map()),this[_0x409835(0x411)]();}[_0x5ebc5d(0x2dd)](){const _0x35328c=_0x5ebc5d;super['dispose'](),this[_0x35328c(0x2b9)][_0x35328c(0x394)]((_0x1dab76,_0x449b3d)=>this[_0x35328c(0x2f7)](_0x449b3d)),this[_0x35328c(0x29e)]&&window[_0x35328c(0x369)](this[_0x35328c(0x29e)]);}[_0x5ebc5d(0x470)](_0x9b10f8){const _0x4ea252=_0x5ebc5d;return this[_0x4ea252(0x312)](_0x9b10f8)[_0x4ea252(0x30d)](_0x2ea3f3[_0x4ea252(0x520)]());}[_0x5ebc5d(0x5bb)](_0x29a935){const _0xe249ef=_0x5ebc5d;this[_0xe249ef(0x2bd)]['size']===0x0&&this[_0xe249ef(0x275)](),this['_selfUnitIDs'][_0xe249ef(0x329)](_0x29a935),this['_send']({'type':0x0,'memberID':this[_0xe249ef(0x286)],'unitIDs':[_0x29a935],'isForwarded':!0x1});}[_0x5ebc5d(0x501)](_0x32f114){const _0x22ddad=_0x5ebc5d;this[_0x22ddad(0x2bd)][_0x22ddad(0x51a)](_0x32f114),this['_selfUnitIDs'][_0x22ddad(0x2f2)]===0x0&&this[_0x22ddad(0x29e)]&&window[_0x22ddad(0x369)](this[_0x22ddad(0x29e)]);}[_0x5ebc5d(0x411)](){const _0x32de12=_0x5ebc5d;this[_0x32de12(0x382)](_0x204831['toDisposable'](_0x2ea3f3[_0x32de12(0x1f8)](window,_0x32de12(0x21e))[_0x32de12(0x2e1)](_0x210d43=>{const _0x13dfde=_0x32de12;if(_0x210d43[_0x13dfde(0x3dd)]!==_0x3db2af||!_0x210d43[_0x13dfde(0x238)])return;const _0x15f3bd=JSON[_0x13dfde(0x467)](_0x210d43[_0x13dfde(0x238)]);this[_0x13dfde(0x43f)](_0x15f3bd);}))),window[_0x32de12(0x4b9)](_0x32de12(0x2c5),()=>this[_0x32de12(0x2f0)]({'type':0x1,'memberID':this[_0x32de12(0x286)],'unitIDs':Array['from'](this[_0x32de12(0x2bd)])}));}[_0x5ebc5d(0x43f)](_0x364c38){const _0x200eff=_0x5ebc5d;switch(_0x364c38[_0x200eff(0x28e)]){case 0x0:this[_0x200eff(0x340)](_0x364c38);break;case 0x1:this['_handleLeaveEvent'](_0x364c38);break;case 0x2:this[_0x200eff(0x1f2)](_0x364c38);break;}}['_handleJoinEvent'](_0x237c91){const _0x244751=_0x5ebc5d,{unitIDs:_0x136015,memberID:_0x305b7e,isForwarded:_0x177a23}=_0x237c91;_0x136015['forEach'](_0x104a6a=>{const _0x2fbb1c=_0x1c68;if(!_0x177a23&&this['_unitOnClients'][_0x2fbb1c(0x4ee)](_0x104a6a)&&this[_0x2fbb1c(0x312)](_0x104a6a)['next'](0x1),!this[_0x2fbb1c(0x458)]['has'](_0x104a6a)||!this[_0x2fbb1c(0x458)][_0x2fbb1c(0x222)](_0x104a6a)[_0x2fbb1c(0x4ee)](_0x305b7e)){const _0x52aa62=this['_unitOnClients']['get'](_0x104a6a)||new Set();_0x52aa62['add'](_0x305b7e),this['_unitOnClients'][_0x2fbb1c(0x5a4)](_0x104a6a,_0x52aa62),this[_0x2fbb1c(0x21c)](_0x305b7e);}}),_0x177a23||this[_0x244751(0x2f0)]({'type':0x0,'memberID':this[_0x244751(0x286)],'unitIDs':[...this[_0x244751(0x2bd)]],'isForwarded':!0x0});}[_0x5ebc5d(0x21c)](_0x453ff1){const _0x522540=_0x5ebc5d;this[_0x522540(0x2f7)](_0x453ff1);const _0x460059=window[_0x522540(0x4b5)](()=>{const _0x9ed1d4=_0x522540;this[_0x9ed1d4(0x458)][_0x9ed1d4(0x394)](_0xb12523=>{const _0x3bbd81=_0x9ed1d4;_0xb12523[_0x3bbd81(0x51a)](_0x453ff1);});},_0x34ede0*0x2);this['_clearOtherTimers'][_0x522540(0x5a4)](_0x453ff1,_0x460059);}[_0x5ebc5d(0x2f7)](_0x180557){const _0x43d7fa=_0x5ebc5d;if(this[_0x43d7fa(0x2b9)][_0x43d7fa(0x4ee)](_0x180557)){const _0x253bed=this[_0x43d7fa(0x2b9)][_0x43d7fa(0x222)](_0x180557);_0x253bed&&window[_0x43d7fa(0x4e2)](_0x253bed),this[_0x43d7fa(0x2b9)][_0x43d7fa(0x5a4)](_0x180557,null);}}[_0x5ebc5d(0x5b1)](_0x910f5){const _0x324b39=_0x5ebc5d,{memberID:_0xd17ab1,unitIDs:_0xa94e2e}=_0x910f5;_0xa94e2e[_0x324b39(0x394)](_0x57974a=>{const _0x57a763=_0x324b39;var _0x2bdfd9;const _0x4c093d=this['_unitOnClients']['get'](_0x57974a);_0x4c093d&&(_0x4c093d[_0x57a763(0x51a)](_0xd17ab1),(_0x2bdfd9=this[_0x57a763(0x312)](_0x57974a))==null||_0x2bdfd9[_0x57a763(0x50a)](_0x4c093d[_0x57a763(0x2f2)]===0x0?0x0:0x1));}),this[_0x324b39(0x2f7)](_0xd17ab1);}[_0x5ebc5d(0x1f2)](_0x17db76){const _0x157b04=_0x5ebc5d;this[_0x157b04(0x21c)](_0x17db76[_0x157b04(0x33d)]);}[_0x5ebc5d(0x2f0)](_0x42e611){const _0x3ed4e8=_0x5ebc5d;localStorage[_0x3ed4e8(0x4a8)](_0x3db2af,JSON['stringify'](_0x42e611));}[_0x5ebc5d(0x275)](){const _0x5377bd=_0x5ebc5d;this[_0x5377bd(0x29e)]=window[_0x5377bd(0x5fc)](()=>{const _0x1b3257=_0x5377bd;this['_send']({'type':0x2,'memberID':this[_0x1b3257(0x286)]});},_0x34ede0);}['_ensureSubject'](_0x160d71){const _0x160629=_0x5ebc5d;return this['_unitStatus']['has'](_0x160d71)||this[_0x160629(0x53a)][_0x160629(0x5a4)](_0x160d71,new _0x2ea3f3['BehaviorSubject'](0x0)),this[_0x160629(0x53a)][_0x160629(0x222)](_0x160d71);}}function _0x41efd3(_0x121a82){const _0x2d6d0e=_0x5ebc5d;let _0x366b4f='';for(const _0x19bb39 of _0x121a82){const {startOffset:_0x4e9c47,endOffset:_0x3b107e,isActive:_0x440934}=_0x19bb39;_0x366b4f[_0x2d6d0e(0x522)]&&(_0x366b4f+=','),_0x366b4f+=_0x4e9c47+':'+_0x3b107e+':'+(_0x440934?'1':'0');}return _0x366b4f;}function _0x13f0b4(_0x35c0e7){const _0x1a2473=_0x5ebc5d,_0x4f404d=_0x35c0e7[_0x1a2473(0x61a)](','),_0x3d7536=[];for(const _0x597f72 of _0x4f404d){const [_0x12130d,_0x2c7539,_0x2c8886]=_0x597f72[_0x1a2473(0x61a)](':');_0x3d7536[_0x1a2473(0x479)]({'startOffset':Number(_0x12130d),'endOffset':Number(_0x2c7539),'collapsed':_0x12130d===_0x2c7539,'isActive':_0x2c8886==='1'});}return _0x3d7536[_0x1a2473(0x426)](_0x249fa6=>_0x249fa6['isActive'])||(_0x3d7536[0x0]['isActive']=!0x0),_0x3d7536;}class _0x3c4160 extends _0x204831[_0x5ebc5d(0x3e5)]{constructor(){const _0x24fcb3=_0x5ebc5d;super(...arguments),_0x3d4e20(this,_0x24fcb3(0x564),new _0x2ea3f3['BehaviorSubject'](null)),_0x3d4e20(this,'collabCursorState$',this[_0x24fcb3(0x564)][_0x24fcb3(0x4f3)]());}[_0x5ebc5d(0x324)](_0x9fd236){const _0x3df16f=_0x5ebc5d,{unitID:_0x1dd2da,memberID:_0x26b2bc,textRanges:_0x1b0218}=_0x9fd236,_0x334508=_0x41efd3(_0x1b0218),_0xb13ea8={'unitID':_0x1dd2da,'memberID':_0x26b2bc,'selection':_0x334508};this[_0x3df16f(0x564)][_0x3df16f(0x50a)](_0xb13ea8);}}var _0x10a7f2=Object['defineProperty'],_0x5af177=Object['getOwnPropertyDescriptor'],_0x532519=(_0x5e4ab3,_0x2c3c6d,_0x5b9040,_0x1bfe84)=>{const _0x575737=_0x5ebc5d;for(var _0x2b4037=_0x1bfe84>0x1?void 0x0:_0x1bfe84?_0x5af177(_0x2c3c6d,_0x5b9040):_0x2c3c6d,_0x22c95f=_0x5e4ab3[_0x575737(0x522)]-0x1,_0x434e11;_0x22c95f>=0x0;_0x22c95f--)(_0x434e11=_0x5e4ab3[_0x22c95f])&&(_0x2b4037=(_0x1bfe84?_0x434e11(_0x2c3c6d,_0x5b9040,_0x2b4037):_0x434e11(_0x2b4037))||_0x2b4037);return _0x1bfe84&&_0x2b4037&&_0x10a7f2(_0x2c3c6d,_0x5b9040,_0x2b4037),_0x2b4037;},_0x51de82=(_0x8b556e,_0x4aa56e)=>(_0xdb82fc,_0x7a0433)=>_0x4aa56e(_0xdb82fc,_0x7a0433,_0x8b556e);let _0x21c497=class{constructor(_0x5e7c78,_0x4b5445){const _0xf1b310=_0x5ebc5d;this[_0xf1b310(0x60c)]=_0x5e7c78,this[_0xf1b310(0x4d9)]=_0x4b5445;}[_0x5ebc5d(0x4aa)](_0x157f60){const _0x15a83b=_0x5ebc5d;var _0x38527f;const _0x2a13f6=this[_0x15a83b(0x60c)][_0x15a83b(0x222)](_0x1d1bc4['DocSelectionManagerService']),_0x1bf31b=(_0x38527f=_0x2a13f6[_0x15a83b(0x31d)]())!=null?_0x38527f:[];if(_0x1bf31b[_0x15a83b(0x522)]===0x0)return;const _0x5ddf65=[{'id':_0x15a83b(0x5e2),'params':{'unitId':_0x157f60['unitID'],'actions':null,'textRanges':_0x1bf31b}}],_0x1f2d1c=this[_0x15a83b(0x4d9)]['transformMutationsWithChangeset'](_0x157f60,_0x5ddf65);if(!_0x292f17['isTransformMutationsWithChangesetSuccess'](_0x1f2d1c))throw _0x1f2d1c[_0x15a83b(0x5c5)];const _0x42cf74=_0x1f2d1c[_0x15a83b(0x3a3)][0x0][_0x15a83b(0x208)][_0x15a83b(0x3d7)];Array[_0x15a83b(0x255)](_0x42cf74)&&_0x42cf74['length']&&_0x2a13f6[_0x15a83b(0x492)](_0x42cf74,!0x1);}};_0x21c497=_0x532519([_0x51de82(0x0,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x51de82(0x1,_0x292f17[_0x5ebc5d(0x446)])],_0x21c497);const _0x21b5e4=new Set([_0x2850a0[_0x5ebc5d(0x336)]['id']]);function _0x22d0ab(_0x5b9156,_0x274615,_0x29e66c,_0xbeb65a,_0xf8453b){const _0x21bf28=_0x5ebc5d;var _0x43ea07,_0x1d12d4,_0x5a2695,_0x5b93d0;const _0x4bfa63=[];for(const _0x4050ea of _0x5b9156)if(_0x21b5e4[_0x21bf28(0x4ee)](_0x4050ea['id'])){if(_0x4bfa63[_0x21bf28(0x522)]>0x0)break;_0x4bfa63[_0x21bf28(0x479)](_0x4050ea);break;}else _0x4bfa63[_0x21bf28(0x479)](_0x4050ea);const _0x3a18ec=(_0x1d12d4=(_0x43ea07=_0xf8453b[_0x21bf28(0x4f4)]())==null?void 0x0:_0x43ea07[_0x21bf28(0x481)])!=null?_0x1d12d4:_0x21bf28(0x287),_0x3efda7=(_0x5b93d0=(_0x5a2695=_0xf8453b[_0x21bf28(0x4f4)]())==null?void 0x0:_0x5a2695['memberID'])!=null?_0x5b93d0:_0x21bf28(0x287);return{'changeset':{'unitID':_0x274615,'type':_0x292f17[_0x21bf28(0x41e)](_0x29e66c[_0x21bf28(0x200)](_0x274615)),'baseRev':_0xbeb65a['getCurrentRevOfUnit'](_0x274615),'revision':0x0,'userID':_0x3a18ec,'memberID':_0x3efda7,'mutations':_0x4bfa63},'pendingMutations':_0x5b9156[_0x21bf28(0x398)](_0x4bfa63[_0x21bf28(0x522)])};}function _0x2c2772(_0xe08a14,_0x126a1c,_0x5018fe,_0x4d4abc,_0x381a17){const _0x18541e=_0x5ebc5d;var _0x22542c,_0xe9907b,_0x420b74,_0x31b85d;const _0x14f4e9=[_0xe08a14[_0x18541e(0x2bc)]((_0x2596cd,_0x4ec74b)=>{const _0x4c454e=_0x18541e;var _0x505956;const {id:_0x16b784}=_0x2596cd,{id:_0x2caeda,type:_0x480a6e}=_0x4ec74b,_0x217bf2=(_0x505956=_0x2596cd[_0x4c454e(0x208)])!=null?_0x505956:{'actions':null},_0x30c7c0=_0x4ec74b[_0x4c454e(0x208)];if(_0x16b784&&_0x16b784!==_0x2caeda)throw new Error(_0x4c454e(0x517)+_0x16b784+'\x20-\x20'+_0x2caeda+'.');return{..._0x2596cd,'id':_0x2caeda,'type':_0x480a6e,'params':{'unitId':_0x30c7c0[_0x4c454e(0x52a)],'textRanges':_0x30c7c0[_0x4c454e(0x3d7)],'actions':_0x204831[_0x4c454e(0x41c)][_0x4c454e(0x49e)](_0x217bf2['actions'],_0x30c7c0[_0x4c454e(0x349)])}};},{})],_0x13001f=(_0xe9907b=(_0x22542c=_0x381a17['getCurrentUser']())==null?void 0x0:_0x22542c['userID'])!=null?_0xe9907b:_0x18541e(0x287),_0x84a579=(_0x31b85d=(_0x420b74=_0x381a17['getCurrentUser']())==null?void 0x0:_0x420b74[_0x18541e(0x33d)])!=null?_0x31b85d:_0x18541e(0x287);return{'changeset':{'unitID':_0x126a1c,'type':_0x292f17[_0x18541e(0x41e)](_0x5018fe[_0x18541e(0x200)](_0x126a1c)),'baseRev':_0x4d4abc[_0x18541e(0x23e)](_0x126a1c),'revision':0x0,'userID':_0x13001f,'memberID':_0x84a579,'mutations':_0x14f4e9},'pendingMutations':[]};}const _0x585400={'id':_0x2850a0[_0x5ebc5d(0x4e0)]['id'],'type':_0x204831[_0x5ebc5d(0x5d7)]['MUTATION'],'params':{}};var _0x399cb0=Object[_0x5ebc5d(0x552)],_0x1db350=Object[_0x5ebc5d(0x38b)],_0x39335c=(_0xe33325,_0x5e33ec,_0x5bc133,_0x44edbc)=>{const _0x2c0c71=_0x5ebc5d;for(var _0x36146e=_0x44edbc>0x1?void 0x0:_0x44edbc?_0x1db350(_0x5e33ec,_0x5bc133):_0x5e33ec,_0x195596=_0xe33325[_0x2c0c71(0x522)]-0x1,_0x49f25b;_0x195596>=0x0;_0x195596--)(_0x49f25b=_0xe33325[_0x195596])&&(_0x36146e=(_0x44edbc?_0x49f25b(_0x5e33ec,_0x5bc133,_0x36146e):_0x49f25b(_0x36146e))||_0x36146e);return _0x44edbc&&_0x36146e&&_0x399cb0(_0x5e33ec,_0x5bc133,_0x36146e),_0x36146e;},_0x3bd0ab=(_0x5c7a5b,_0x414b68)=>(_0xf06acc,_0x16c49c)=>_0x414b68(_0xf06acc,_0x16c49c,_0x5c7a5b),_0x4ebacb=(_0x1bff2a=>(_0x1bff2a[_0x5ebc5d(0x2a2)]=_0x5ebc5d(0x4e9),_0x1bff2a[_0x5ebc5d(0x2a1)]=_0x5ebc5d(0x322),_0x1bff2a[_0x5ebc5d(0x2f6)]='pending',_0x1bff2a['AWAITING']=_0x5ebc5d(0x315),_0x1bff2a[_0x5ebc5d(0x2c2)]='awaiting_with_pending',_0x1bff2a[_0x5ebc5d(0x327)]=_0x5ebc5d(0x352),_0x1bff2a[_0x5ebc5d(0x50d)]=_0x5ebc5d(0x584),_0x1bff2a[_0x5ebc5d(0x34e)]='offline',_0x1bff2a))(_0x4ebacb||{});class _0x1c3a5c{constructor(_0x23d2d0,_0x132c90,_0x2e43e9,_0x7b2241,_0x332d3d,_0xe0ab0f,_0x384a24,_0x564b1d,_0x174b1c){const _0x40d916=_0x5ebc5d;_0x3d4e20(this,'_awaitingChangeset',null),_0x3d4e20(this,_0x40d916(0x3b4),[]),(this[_0x40d916(0x4dc)]=_0x23d2d0,this['type']=_0x132c90,this[_0x40d916(0x3d1)]=_0x332d3d,this[_0x40d916(0x5f3)]=_0xe0ab0f,this[_0x40d916(0x300)]=_0x384a24,this[_0x40d916(0x1ed)]=_0x564b1d,this[_0x40d916(0x5db)]=_0x174b1c,this['_awaitingChangeset']=_0x2e43e9,this[_0x40d916(0x3b4)]=_0x7b2241);}[_0x5ebc5d(0x1f0)](_0x5ec7e4){const _0x2d301a=_0x5ebc5d,_0x4b1abd=this[_0x2d301a(0x1ed)][_0x2d301a(0x23e)](this[_0x2d301a(0x4dc)]);return _0x5ec7e4[_0x2d301a(0x610)]>_0x4b1abd+0x1?(this['_handler'][_0x2d301a(0x4ae)]({'from':_0x4b1abd,'to':_0x5ec7e4[_0x2d301a(0x610)]-0x1}),!0x0):!0x1;}[_0x5ebc5d(0x4dd)](_0x1058d1){const _0x21b2e3=_0x5ebc5d;this[_0x21b2e3(0x300)]['transformUndoRedo'](this['unitID'],_0x1058d1);}['_transformSelections'](_0x16b944){const _0x44e091=_0x5ebc5d;var _0x194c38,_0x5c8c57;(_0x5c8c57=(_0x194c38=this[_0x44e091(0x3d1)])[_0x44e091(0x5ab)])==null||_0x5c8c57['call'](_0x194c38,_0x16b944);}[_0x5ebc5d(0x282)](_0x1f0971){const _0x5be977=_0x5ebc5d;var _0x5ab6dd,_0x5ac3b7;return(_0x5ac3b7=(_0x5ab6dd=this[_0x5be977(0x3d1)])[_0x5be977(0x5d4)])==null?void 0x0:_0x5ac3b7[_0x5be977(0x51f)](_0x5ab6dd,_0x1f0971);}[_0x5ebc5d(0x1e3)](_0x3c2a3f){const _0x1ed0bb=_0x5ebc5d;var _0x30d5a2,_0x1b0f4f,_0x3c1861;return(_0x3c1861=(_0x1b0f4f=(_0x30d5a2=this[_0x1ed0bb(0x3d1)])[_0x1ed0bb(0x202)])==null?void 0x0:_0x1b0f4f[_0x1ed0bb(0x51f)](_0x30d5a2,_0x3c2a3f))!=null?_0x3c1861:_0x3c2a3f;}[_0x5ebc5d(0x34f)](_0x2bb3dc){const _0x1581e8=_0x5ebc5d;var _0x5a1616,_0x1a2053;if(this[_0x1581e8(0x28e)]===_0x38b124[_0x1581e8(0x3ef)]){const {unitID:_0x278804,mutations:_0x43a762,memberID:_0x16b7ad}=_0x2bb3dc,_0x582e82=_0x43a762[0x0][_0x1581e8(0x208)][_0x1581e8(0x3d7)];Array['isArray'](_0x582e82)&&_0x582e82[_0x1581e8(0x522)]>0x0&&((_0x1a2053=(_0x5a1616=this['_handler'])[_0x1581e8(0x47f)])==null||_0x1a2053['call'](_0x5a1616,{'unitID':_0x278804,'memberID':_0x16b7ad,'textRanges':_0x582e82}));}}[_0x5ebc5d(0x608)](){const _0x4c4700=_0x5ebc5d;this['_localCacheService'][_0x4c4700(0x4ad)](this['unitID'],this[_0x4c4700(0x28e)],this[_0x4c4700(0x504)],this[_0x4c4700(0x3b4)]);}[_0x5ebc5d(0x403)](){const _0x2262af=_0x5ebc5d;return this[_0x2262af(0x1ed)][_0x2262af(0x23e)](this['unitID']);}['_incrementRevisionNumber'](){const _0x40ad87=_0x5ebc5d;this['_revisionService']['incrementRevOfUnit'](this[_0x40ad87(0x4dc)]);}[_0x5ebc5d(0x494)](_0x16a245){const _0x203417=_0x5ebc5d;var _0x59e780;const _0x1f0beb=this['_transformRemoteChangesetByIMECache'](_0x16a245),_0x2ba157=_0x204831['sequenceExecute'](_0x1f0beb[_0x203417(0x4b3)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2ba157[_0x203417(0x2a9)])throw _0x2ba157[_0x203417(0x5c5)]instanceof Error?_0x2ba157[_0x203417(0x5c5)]:new Error((_0x59e780=_0x2ba157['error'])!=null?_0x59e780:'[CollaborationState]:\x20apply\x20error!');this[_0x203417(0x282)](_0x1f0beb),this[_0x203417(0x4dd)](_0x16a245),this[_0x203417(0x432)](_0x1f0beb),this['_syncEditingCollabCursor'](_0x1f0beb),this[_0x203417(0x487)]();}}let _0x5c4efe=class extends _0x1c3a5c{constructor(_0x529f07,_0x2049b5,_0x35771c,_0x23cef7,_0x15e02c,_0xdcf417,_0x2b47db,_0x4f7be7,_0x8ef6ae,_0x394d20){const _0x2b3242=_0x5ebc5d;super(_0x529f07,_0x2049b5,null,[],_0x35771c,_0x4f7be7,_0x2b47db,_0x23cef7,_0x15e02c),_0x3d4e20(this,_0x2b3242(0x32a),'synced'),(this[_0x2b3242(0x60c)]=_0xdcf417,this['_logService']=_0x8ef6ae,this[_0x2b3242(0x4d9)]=_0x394d20);}['appendMutation'](_0x1fc679){const _0x4a5e75=_0x5ebc5d,_0x127032=this['_injector'][_0x4a5e75(0x3c9)](_0x3d8a1c,this[_0x4a5e75(0x4dc)],this[_0x4a5e75(0x28e)],[_0x1fc679],this[_0x4a5e75(0x3d1)]);return _0x127032[_0x4a5e75(0x5b6)](),_0x127032[_0x4a5e75(0x608)](),_0x127032;}[_0x5ebc5d(0x4f2)](_0x23a037){const _0x4476e6=_0x5ebc5d;if(this[_0x4476e6(0x1f0)](_0x23a037))return this['_injector']['createInstance'](_0x38b177,this[_0x4476e6(0x4dc)],this[_0x4476e6(0x28e)],null,[],null,[_0x23a037],this[_0x4476e6(0x3d1)]);try{const _0x441e47=this[_0x4476e6(0x4d9)][_0x4476e6(0x557)](_0x23a037,[_0x585400]);if(_0x292f17['isTransformMutationsWithChangesetSuccess'](_0x441e47)){const {c1Prime:_0x18db80}=_0x441e47;return this['_executeRemoteChangeset'](_0x18db80),this;}throw _0x441e47[_0x4476e6(0x5c5)];}catch(_0x13226a){return this[_0x4476e6(0x5b0)]['error'](_0x13226a),this[_0x4476e6(0x53b)](!0x1);}}[_0x5ebc5d(0x53b)](_0x225f2a){const _0x1e3e4b=_0x5ebc5d;return this['_injector']['createInstance'](_0x51236a,this[_0x1e3e4b(0x4dc)],this['type'],null,[],this['_handler'],_0x225f2a);}['onRemoteAck'](){const _0x336924=_0x5ebc5d;throw new Error(_0x336924(0x2ee));}[_0x5ebc5d(0x26d)](){const _0x34a56d=_0x5ebc5d;throw new Error(_0x34a56d(0x2af));}[_0x5ebc5d(0x3d5)](){const _0x5c4844=_0x5ebc5d;return this[_0x5c4844(0x60c)][_0x5c4844(0x3c9)](_0x90f657,this['unitID'],this['type'],null,[],this[_0x5c4844(0x3d1)]);}[_0x5ebc5d(0x375)](){return this;}['resend'](){const _0x1dc8b3=_0x5ebc5d;throw new Error(_0x1dc8b3(0x473));}[_0x5ebc5d(0x593)](){const _0x41c52d=_0x5ebc5d,_0x321e10=this['_revisionService'][_0x41c52d(0x23e)](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x321e10,'to':0x0}),this[_0x41c52d(0x60c)][_0x41c52d(0x3c9)](_0x38b177,this[_0x41c52d(0x4dc)],this[_0x41c52d(0x28e)],null,[],null,[],this['_handler']);}};_0x5c4efe=_0x39335c([_0x3bd0ab(0x3,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17[_0x5ebc5d(0x55a)])),_0x3bd0ab(0x4,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x44b)])),_0x3bd0ab(0x5,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x3bd0ab(0x6,_0x204831[_0x5ebc5d(0x4bb)]),_0x3bd0ab(0x7,_0x204831[_0x5ebc5d(0x2de)]),_0x3bd0ab(0x8,_0x204831[_0x5ebc5d(0x4a5)]),_0x3bd0ab(0x9,_0x292f17[_0x5ebc5d(0x446)])],_0x5c4efe);let _0x3d8a1c=class extends _0x1c3a5c{constructor(_0x221279,_0x54d30c,_0x3a1f86,_0x84bd8d,_0x3d5c3e,_0x240f30,_0x10db93,_0x5228c0,_0x33fcee,_0x396a99,_0x267426,_0x1479ae,_0x3f1374,_0x437ebc){const _0x11f405=_0x5ebc5d;super(_0x221279,_0x54d30c,null,_0x3a1f86,_0x84bd8d,_0x396a99,_0x437ebc,_0x240f30,_0x10db93),_0x3d4e20(this,_0x11f405(0x32a),_0x11f405(0x343)),_0x3d4e20(this,_0x11f405(0x253),null),_0x3d4e20(this,_0x11f405(0x46a),null),(this[_0x11f405(0x60c)]=_0x3d5c3e,this[_0x11f405(0x5f6)]=_0x5228c0,this[_0x11f405(0x5b0)]=_0x33fcee,this[_0x11f405(0x45e)]=_0x267426,this[_0x11f405(0x4d9)]=_0x1479ae,this[_0x11f405(0x48f)]=_0x3f1374);}[_0x5ebc5d(0x447)](_0x28e85b){const _0x2cd175=_0x5ebc5d;return this['_pendingMutations'][_0x2cd175(0x479)](_0x28e85b),this[_0x2cd175(0x608)](),this;}[_0x5ebc5d(0x4f2)](_0x3b33a3){const _0x2ecbed=_0x5ebc5d;if(this[_0x2ecbed(0x1f0)](_0x3b33a3))return this[_0x2ecbed(0x600)](),this[_0x2ecbed(0x60c)][_0x2ecbed(0x3c9)](_0x38b177,this['unitID'],this[_0x2ecbed(0x28e)],null,this[_0x2ecbed(0x3b4)],null,[_0x3b33a3],this[_0x2ecbed(0x3d1)]);try{const _0x5960f8=this[_0x2ecbed(0x4d9)][_0x2ecbed(0x557)](_0x3b33a3,this[_0x2ecbed(0x3b4)]);if(_0x292f17['isTransformMutationsWithChangesetSuccess'](_0x5960f8)){const {c1Prime:_0x52296e,m2Prime:_0x443ce3}=_0x5960f8;this[_0x2ecbed(0x494)](_0x52296e);const _0x123ebd=this[_0x2ecbed(0x60c)][_0x2ecbed(0x3c9)](_0x3d8a1c,this[_0x2ecbed(0x4dc)],this[_0x2ecbed(0x28e)],_0x443ce3,this[_0x2ecbed(0x3d1)]);return this['_clearScheduledTask'](),_0x123ebd[_0x2ecbed(0x5b6)](this[_0x2ecbed(0x253)]?Math[_0x2ecbed(0x562)](0x0,new Date()[_0x2ecbed(0x44c)]()-this[_0x2ecbed(0x253)]):this['_getSendChangesetTimeout']()),_0x123ebd;}throw _0x5960f8[_0x2ecbed(0x5c5)];}catch(_0x3f3d03){return this['_logService'][_0x2ecbed(0x5c5)](_0x3f3d03),this['_onConflict'](!0x1);}}[_0x5ebc5d(0x290)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x5ebc5d(0x26d)](){const _0x509bd2=_0x5ebc5d;throw new Error(_0x509bd2(0x52d));}['toggleOffline'](){const _0x1a0726=_0x5ebc5d;return this[_0x1a0726(0x600)](),this['_injector'][_0x1a0726(0x3c9)](_0x90f657,this[_0x1a0726(0x4dc)],this[_0x1a0726(0x28e)],null,this[_0x1a0726(0x3b4)],this['_handler']);}[_0x5ebc5d(0x375)](){return this;}[_0x5ebc5d(0x5b6)](_0x1ca4a1){const _0x3e8488=_0x5ebc5d,_0x5e1adf=_0x1ca4a1!=null?_0x1ca4a1:this['_getSendChangesetTimeout']();this[_0x3e8488(0x253)]=new Date()[_0x3e8488(0x44c)](),this[_0x3e8488(0x46a)]=window[_0x3e8488(0x4b5)](()=>{const _0x500279=_0x3e8488;this[_0x500279(0x600)]();let _0x55c677=null;switch(this[_0x500279(0x28e)]){case _0x38b124[_0x500279(0x49c)]:{_0x55c677=_0x22d0ab(this['_pendingMutations'],this[_0x500279(0x4dc)],this[_0x500279(0x48f)],this[_0x500279(0x1ed)],this[_0x500279(0x5f6)]);break;}case _0x38b124[_0x500279(0x3ef)]:{this['_pendingMutations'][_0x500279(0x3bb)](_0x41e292=>_0x41e292['id']===_0x1d1bc4[_0x500279(0x3ce)]['id'])?_0x55c677=_0x2c2772(this[_0x500279(0x3b4)],this[_0x500279(0x4dc)],this['_univerInstanceService'],this[_0x500279(0x1ed)],this[_0x500279(0x5f6)]):_0x55c677=_0x22d0ab(this['_pendingMutations'],this[_0x500279(0x4dc)],this[_0x500279(0x48f)],this[_0x500279(0x1ed)],this[_0x500279(0x5f6)]);break;}default:throw new Error(_0x500279(0x612)+this[_0x500279(0x28e)]+_0x500279(0x20d));}const {changeset:_0x38a2c9,pendingMutations:_0x4f6418}=_0x55c677;this[_0x500279(0x3d1)][_0x500279(0x453)](_0x38a2c9);const _0x4a260d=_0x4f6418[_0x500279(0x522)]?this[_0x500279(0x60c)][_0x500279(0x3c9)](_0x35d7af,this[_0x500279(0x4dc)],this['type'],_0x38a2c9,_0x4f6418,this['_handler']):this['_injector'][_0x500279(0x3c9)](_0x5b648b,this[_0x500279(0x4dc)],this[_0x500279(0x28e)],_0x38a2c9,this[_0x500279(0x3d1)]);_0x4a260d[_0x500279(0x608)](),this[_0x500279(0x3d1)][_0x500279(0x463)](this,_0x4a260d);},_0x5e1adf);}[_0x5ebc5d(0x5aa)](){const _0x1e2189=_0x5ebc5d;var _0x91ebad;const _0x157199=this['_configService'][_0x1e2189(0x602)](_0x5dd0cc);return(_0x91ebad=_0x157199==null?void 0x0:_0x157199[_0x1e2189(0x52f)])!=null?_0x91ebad:0x7d0;}[_0x5ebc5d(0x393)](){const _0x1f2f59=_0x5ebc5d;throw new Error(_0x1f2f59(0x5e6));}['_clearScheduledTask'](){const _0x256730=_0x5ebc5d;this[_0x256730(0x46a)]!=null&&(clearTimeout(this[_0x256730(0x46a)]),this[_0x256730(0x46a)]=null);}[_0x5ebc5d(0x53b)](_0x1a8ee7){const _0x4d2aae=_0x5ebc5d;return this[_0x4d2aae(0x600)](),this[_0x4d2aae(0x60c)]['createInstance'](_0x51236a,this[_0x4d2aae(0x4dc)],this[_0x4d2aae(0x28e)],null,this[_0x4d2aae(0x3b4)],this[_0x4d2aae(0x3d1)],_0x1a8ee7);}};_0x3d8a1c=_0x39335c([_0x3bd0ab(0x4,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x3bd0ab(0x5,_0x204831['Inject'](_0x292f17['RevisionService'])),_0x3bd0ab(0x6,_0x204831['Inject'](_0x52f4d9[_0x5ebc5d(0x44b)])),_0x3bd0ab(0x7,_0x204831['Inject'](_0x3796d3)),_0x3bd0ab(0x8,_0x204831['ILogService']),_0x3bd0ab(0x9,_0x204831[_0x5ebc5d(0x2de)]),_0x3bd0ab(0xa,_0x204831[_0x5ebc5d(0x418)]),_0x3bd0ab(0xb,_0x292f17[_0x5ebc5d(0x446)]),_0x3bd0ab(0xc,_0x204831[_0x5ebc5d(0x335)]),_0x3bd0ab(0xd,_0x204831['IUndoRedoService'])],_0x3d8a1c);let _0x5b648b=class extends _0x1c3a5c{constructor(_0x21b321,_0x474bc4,_0x119cef,_0x556db7,_0x1291e0,_0x4d2ce1,_0x52576d,_0x19228a,_0xc8fb1b,_0x5b51e7,_0x46f406){const _0x2f7d8e=_0x5ebc5d;super(_0x21b321,_0x474bc4,_0x119cef,[],_0x556db7,_0x19228a,_0x46f406,_0x4d2ce1,_0x52576d),_0x3d4e20(this,_0x2f7d8e(0x32a),_0x2f7d8e(0x315)),(this[_0x2f7d8e(0x60c)]=_0x1291e0,this[_0x2f7d8e(0x5b0)]=_0xc8fb1b,this['_transformService']=_0x5b51e7);}[_0x5ebc5d(0x447)](_0x25e81a){const _0xdbdf22=_0x5ebc5d,_0x3a5890=this[_0xdbdf22(0x60c)][_0xdbdf22(0x3c9)](_0x35d7af,this[_0xdbdf22(0x4dc)],this[_0xdbdf22(0x28e)],this['_awaitingChangeset'],[_0x25e81a],this['_handler']);return _0x3a5890[_0xdbdf22(0x608)](),_0x3a5890;}['onRemoteChangeset'](_0x5a9c4a){const _0x4896cd=_0x5ebc5d;if(this[_0x4896cd(0x1f0)](_0x5a9c4a))return this[_0x4896cd(0x60c)][_0x4896cd(0x3c9)](_0x38b177,this[_0x4896cd(0x4dc)],this['type'],this['_awaitingChangeset'],[],null,[_0x5a9c4a],this[_0x4896cd(0x3d1)]);try{const _0x6413e4=this[_0x4896cd(0x4d9)][_0x4896cd(0x3bd)]([_0x5a9c4a],[this[_0x4896cd(0x504)]],!0x1);if(_0x292f17[_0x4896cd(0x2e0)](_0x6413e4)){const {c1Prime:_0x305d8e,c2Prime:_0x5652d1}=_0x6413e4;this[_0x4896cd(0x494)](_0x305d8e[0x0]),_0x5652d1[0x0][_0x4896cd(0x2c8)]=this[_0x4896cd(0x403)]();const _0x52d575=this['_injector'][_0x4896cd(0x3c9)](_0x5b648b,this[_0x4896cd(0x4dc)],this[_0x4896cd(0x28e)],_0x5652d1[0x0],this[_0x4896cd(0x3d1)]);return _0x52d575['_updateLocalCache'](),_0x52d575;}return this['_onConflict'](!0x1);}catch(_0x328d11){return this[_0x4896cd(0x5b0)][_0x4896cd(0x5c5)](_0x328d11),this[_0x4896cd(0x53b)](!0x1);}}[_0x5ebc5d(0x290)](_0x1d0792){const _0x5f1d4d=_0x5ebc5d,_0x132816=this[_0x5f1d4d(0x1ed)][_0x5f1d4d(0x23e)](this[_0x5f1d4d(0x4dc)]);if(_0x1d0792[_0x5f1d4d(0x610)]<_0x132816-0x1)return this;if(this['_checkMissing'](_0x1d0792))return this[_0x5f1d4d(0x60c)]['createInstance'](_0x38b177,this['unitID'],this[_0x5f1d4d(0x28e)],null,[],this['_awaitingChangeset'],[],this[_0x5f1d4d(0x3d1)]);this[_0x5f1d4d(0x487)]();const _0x357d61=this[_0x5f1d4d(0x60c)][_0x5f1d4d(0x3c9)](_0x5c4efe,this[_0x5f1d4d(0x4dc)],this[_0x5f1d4d(0x28e)],this[_0x5f1d4d(0x3d1)]);return _0x357d61['_updateLocalCache'](),_0x357d61;}['onRemoteRej'](_0x44199b){const _0x402ae4=_0x5ebc5d;return this[_0x402ae4(0x53b)](!!(_0x44199b!=null&&_0x44199b[_0x402ae4(0x3d6)]));}[_0x5ebc5d(0x3d5)](){const _0x24d1b7=_0x5ebc5d;return this[_0x24d1b7(0x60c)]['createInstance'](_0x90f657,this[_0x24d1b7(0x4dc)],this[_0x24d1b7(0x28e)],this[_0x24d1b7(0x504)],[],this['_handler']);}[_0x5ebc5d(0x375)](){return this;}[_0x5ebc5d(0x393)](){const _0x2ddfdb=_0x5ebc5d;this[_0x2ddfdb(0x3d1)][_0x2ddfdb(0x453)](this[_0x2ddfdb(0x504)]);}[_0x5ebc5d(0x53b)](_0x3ead4a){const _0x1ca060=_0x5ebc5d;return this[_0x1ca060(0x60c)][_0x1ca060(0x3c9)](_0x51236a,this[_0x1ca060(0x4dc)],this[_0x1ca060(0x28e)],this[_0x1ca060(0x504)],[],this[_0x1ca060(0x3d1)],_0x3ead4a);}};_0x5b648b=_0x39335c([_0x3bd0ab(0x4,_0x204831['Inject'](_0x204831[_0x5ebc5d(0x28a)])),_0x3bd0ab(0x5,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17['RevisionService'])),_0x3bd0ab(0x6,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x44b)])),_0x3bd0ab(0x7,_0x204831[_0x5ebc5d(0x2de)]),_0x3bd0ab(0x8,_0x204831[_0x5ebc5d(0x4a5)]),_0x3bd0ab(0x9,_0x292f17[_0x5ebc5d(0x446)]),_0x3bd0ab(0xa,_0x204831[_0x5ebc5d(0x4bb)])],_0x5b648b);let _0x35d7af=class extends _0x1c3a5c{constructor(_0x8257dc,_0x4139b1,_0x4a9c15,_0x349626,_0x52b385,_0x4b6b62,_0x27dd66,_0x3ea825,_0x2fc15d,_0x5d36fd,_0x425ab4,_0x2c1e41){const _0x199f9f=_0x5ebc5d;super(_0x8257dc,_0x4139b1,_0x4a9c15,_0x349626,_0x52b385,_0x2fc15d,_0x2c1e41,_0x27dd66,_0x3ea825),_0x3d4e20(this,_0x199f9f(0x32a),_0x199f9f(0x4c4)),(this[_0x199f9f(0x60c)]=_0x4b6b62,this[_0x199f9f(0x5b0)]=_0x5d36fd,this[_0x199f9f(0x4d9)]=_0x425ab4);}[_0x5ebc5d(0x447)](_0x52c024){const _0x3ea770=_0x5ebc5d;return this[_0x3ea770(0x3b4)][_0x3ea770(0x479)](_0x52c024),this;}[_0x5ebc5d(0x4f2)](_0x2a58e5){const _0x4d9189=_0x5ebc5d;if(this['_checkMissing'](_0x2a58e5))return this[_0x4d9189(0x60c)][_0x4d9189(0x3c9)](_0x38b177,this[_0x4d9189(0x4dc)],this['type'],this[_0x4d9189(0x504)],this['_pendingMutations'],null,[_0x2a58e5],this[_0x4d9189(0x3d1)]);try{const _0x16be1b=this[_0x4d9189(0x4d9)][_0x4d9189(0x3bd)]([_0x2a58e5],[this[_0x4d9189(0x504)]],!0x1);if(_0x292f17[_0x4d9189(0x2e0)](_0x16be1b)){const {c1Prime:_0x58d32e,c2Prime:_0x50fd39}=_0x16be1b,_0x53090d=this[_0x4d9189(0x4d9)]['transformMutationsWithChangeset'](_0x58d32e[0x0],this['_pendingMutations']);if(_0x292f17[_0x4d9189(0x1f1)](_0x53090d)){const {c1Prime:_0x4e9d67,m2Prime:_0x54f001}=_0x53090d;return this[_0x4d9189(0x494)](_0x4e9d67),_0x50fd39[0x0]['baseRev']=this[_0x4d9189(0x403)](),this[_0x4d9189(0x60c)][_0x4d9189(0x3c9)](_0x35d7af,this[_0x4d9189(0x4dc)],this[_0x4d9189(0x28e)],_0x50fd39[0x0],_0x54f001,this[_0x4d9189(0x3d1)]);}throw _0x53090d[_0x4d9189(0x5c5)];}throw _0x16be1b[_0x4d9189(0x5c5)];}catch(_0x22cac7){return this[_0x4d9189(0x5b0)][_0x4d9189(0x5c5)](_0x22cac7),this[_0x4d9189(0x53b)](!0x1);}}[_0x5ebc5d(0x290)](_0x139c4c){const _0x1c6378=_0x5ebc5d;if(this['_checkMissing'](_0x139c4c))return this[_0x1c6378(0x60c)]['createInstance'](_0x38b177,this[_0x1c6378(0x4dc)],this[_0x1c6378(0x28e)],null,this[_0x1c6378(0x3b4)],this['_awaitingChangeset'],[],this[_0x1c6378(0x3d1)]);this['_incrementRevisionNumber']();const _0x3b0a31=this[_0x1c6378(0x60c)][_0x1c6378(0x3c9)](_0x3d8a1c,this[_0x1c6378(0x4dc)],this[_0x1c6378(0x28e)],this[_0x1c6378(0x3b4)],this[_0x1c6378(0x3d1)]);return _0x3b0a31[_0x1c6378(0x5b6)](),_0x3b0a31[_0x1c6378(0x608)](),_0x3b0a31;}[_0x5ebc5d(0x26d)](_0x2407fc){const _0x1ebafe=_0x5ebc5d;return this['_onConflict'](!!(_0x2407fc!=null&&_0x2407fc[_0x1ebafe(0x3d6)]));}['toggleOffline'](){const _0x442406=_0x5ebc5d;return this['_injector'][_0x442406(0x3c9)](_0x90f657,this['unitID'],this[_0x442406(0x28e)],this['_awaitingChangeset'],this[_0x442406(0x3b4)],this['_handler']);}[_0x5ebc5d(0x375)](){return this;}['resend'](){const _0xc13315=_0x5ebc5d;this[_0xc13315(0x3d1)][_0xc13315(0x453)](this[_0xc13315(0x504)]);}[_0x5ebc5d(0x53b)](_0x4a18b8){const _0x5475be=_0x5ebc5d;return this['_injector'][_0x5475be(0x3c9)](_0x51236a,this[_0x5475be(0x4dc)],this[_0x5475be(0x28e)],null,this[_0x5475be(0x3b4)],this['_handler'],_0x4a18b8);}};_0x35d7af=_0x39335c([_0x3bd0ab(0x5,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x3bd0ab(0x6,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17[_0x5ebc5d(0x55a)])),_0x3bd0ab(0x7,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x44b)])),_0x3bd0ab(0x8,_0x204831['ICommandService']),_0x3bd0ab(0x9,_0x204831[_0x5ebc5d(0x4a5)]),_0x3bd0ab(0xa,_0x292f17[_0x5ebc5d(0x446)]),_0x3bd0ab(0xb,_0x204831[_0x5ebc5d(0x4bb)])],_0x35d7af);let _0x51236a=class extends _0x1c3a5c{constructor(_0x9b68bc,_0x3722cc,_0x4d90d6,_0x2ad79b,_0x47eb69,_0xbe218f=!0x1,_0x53105d,_0x3a35bb,_0x37a370,_0x1dcd92,_0x3d3584,_0x443dca,_0x4551b0){const _0x128f3a=_0x5ebc5d;super(_0x9b68bc,_0x3722cc,_0x4d90d6,_0x2ad79b,_0x47eb69,_0x3a35bb,_0x37a370,_0x3d3584,_0x1dcd92),_0x3d4e20(this,_0x128f3a(0x32a),_0x128f3a(0x584)),(this['_isPermissionRej']=_0xbe218f,this[_0x128f3a(0x25d)]=_0x53105d,this[_0x128f3a(0x4af)]=_0x443dca,this[_0x128f3a(0x5e9)]=_0x4551b0,this[_0x128f3a(0x590)](),this[_0x128f3a(0x5af)](),this[_0x128f3a(0x380)]());}[_0x5ebc5d(0x447)](){return this;}[_0x5ebc5d(0x4f2)](){return this;}[_0x5ebc5d(0x290)](){return this;}[_0x5ebc5d(0x26d)](){return this;}[_0x5ebc5d(0x3d5)](){return this;}[_0x5ebc5d(0x375)](){return this;}[_0x5ebc5d(0x393)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5ebc5d(0x5af)](){const _0x574aca=_0x5ebc5d;this[_0x574aca(0x5db)]['updateOfflineData'](this[_0x574aca(0x4dc)],this[_0x574aca(0x28e)],null,[]);}['_showConflictNotification'](){const _0x5aea60=_0x5ebc5d;this[_0x5aea60(0x4e5)]?this[_0x5aea60(0x5e9)]['show']({'title':this[_0x5aea60(0x4af)]['t'](_0x5aea60(0x4d0)),'content':this['_localeService']['t'](_0x5aea60(0x4e1)),'type':_0x5aea60(0x5c5),'duration':0x0}):this[_0x5aea60(0x5e9)][_0x5aea60(0x497)]({'title':this[_0x5aea60(0x4af)]['t']('conflict.title'),'content':this['_localeService']['t']('conflict.content'),'type':'error','duration':0x0});}['_disableEditing'](){const _0xc8f0eb=_0x5ebc5d;this[_0xc8f0eb(0x25d)][_0xc8f0eb(0x26a)](new _0x2850a0['WorkbookEditablePermission'](this[_0xc8f0eb(0x4dc)])['id'],!0x1);}};_0x51236a=_0x39335c([_0x3bd0ab(0x6,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['IPermissionService'])),_0x3bd0ab(0x7,_0x204831[_0x5ebc5d(0x2de)]),_0x3bd0ab(0x8,_0x204831['IUndoRedoService']),_0x3bd0ab(0x9,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x44b)])),_0x3bd0ab(0xa,_0x204831['Inject'](_0x292f17[_0x5ebc5d(0x55a)])),_0x3bd0ab(0xb,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['LocaleService'])),_0x3bd0ab(0xc,_0x1e1361[_0x5ebc5d(0x451)])],_0x51236a);let _0x90f657=class extends _0x1c3a5c{constructor(_0x88d797,_0x510ab6,_0x4c197f,_0x5f45fa,_0x122107,_0x3ecb48,_0x48b0cd,_0x5286b6,_0x56e5e8,_0x3e1577){const _0x49afb8=_0x5ebc5d;super(_0x88d797,_0x510ab6,_0x4c197f,_0x5f45fa,_0x122107,_0x56e5e8,_0x3e1577,_0x48b0cd,_0x5286b6),_0x3d4e20(this,'status',_0x49afb8(0x24f)),this[_0x49afb8(0x60c)]=_0x3ecb48;}['appendMutation'](_0x167c38){const _0x5141ef=_0x5ebc5d;return this[_0x5141ef(0x3b4)][_0x5141ef(0x479)](_0x167c38),this[_0x5141ef(0x608)](),this;}[_0x5ebc5d(0x4f2)](_0x315c73){const _0x52d79b=_0x5ebc5d;throw new Error(_0x52d79b(0x214));}[_0x5ebc5d(0x290)](){const _0x312f4c=_0x5ebc5d;throw new Error(_0x312f4c(0x2d9));}[_0x5ebc5d(0x26d)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5ebc5d(0x3d5)](){return this;}[_0x5ebc5d(0x375)](){const _0x3cb787=_0x5ebc5d,{_injector:_0x5c8c09,_pendingMutations:_0x2dea6e,_awaitingChangeset:_0x2cd2bc,unitID:_0x1d094f,_handler:_0x5e0c,type:_0x52f692}=this,_0x4a1709=_0x152169(_0x5c8c09,_0x1d094f,_0x52f692,_0x2cd2bc,_0x2dea6e,_0x5e0c);return _0x4a1709 instanceof _0x3d8a1c?_0x4a1709['_schedule']():(_0x4a1709 instanceof _0x35d7af||_0x4a1709 instanceof _0x5b648b)&&_0x4a1709[_0x3cb787(0x393)](),_0x4a1709;}['resend'](){const _0x4d1ccf=_0x5ebc5d;throw new Error(_0x4d1ccf(0x3d2));}};_0x90f657=_0x39335c([_0x3bd0ab(0x5,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x3bd0ab(0x6,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17[_0x5ebc5d(0x55a)])),_0x3bd0ab(0x7,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9['LocalCacheService'])),_0x3bd0ab(0x8,_0x204831[_0x5ebc5d(0x2de)]),_0x3bd0ab(0x9,_0x204831[_0x5ebc5d(0x4bb)])],_0x90f657);let _0x38b177=class extends _0x1c3a5c{constructor(_0x288c5b,_0x4af6e2,_0x2f31c2,_0x1fc36b,_0x547ae,_0x33aedb,_0x4c287e,_0x5c6ce4,_0x406fa4,_0x2dfc7d,_0x98101a,_0x460dad,_0x416fd7,_0x14a887){const _0xd2442a=_0x5ebc5d;super(_0x288c5b,_0x4af6e2,_0x2f31c2,_0x1fc36b,_0x4c287e,_0x460dad,_0x416fd7,_0x406fa4,_0x2dfc7d),_0x3d4e20(this,_0xd2442a(0x32a),_0xd2442a(0x352)),(this['_acknowledgedAwaitingChangeset']=_0x547ae,this[_0xd2442a(0x27f)]=_0x33aedb,this[_0xd2442a(0x60c)]=_0x5c6ce4,this['_logService']=_0x98101a,this[_0xd2442a(0x4d9)]=_0x14a887);}[_0x5ebc5d(0x1fa)](_0x17957e){const _0x1b75f1=_0x5ebc5d;try{const _0x4921fc=[..._0x17957e,...this['_queuedRemoteChangesets']],_0x518984=[this['_awaitingChangeset']||this[_0x1b75f1(0x5c9)]][_0x1b75f1(0x4ea)](_0x30559f=>!!_0x30559f);let _0x4d5bdf,_0x1fec6b;if(_0x518984['length']){const _0x76aadb=this[_0x1b75f1(0x4d9)][_0x1b75f1(0x3bd)](_0x4921fc,_0x518984,!0x1);if(!_0x292f17[_0x1b75f1(0x2e0)](_0x76aadb))throw _0x76aadb[_0x1b75f1(0x5c5)];_0x4d5bdf=_0x76aadb['c1Prime'],_0x1fec6b=_0x76aadb[_0x1b75f1(0x5da)];}else _0x4d5bdf=_0x4921fc,_0x1fec6b=[];let _0x1f8a02=this[_0x1b75f1(0x3b4)];_0x4d5bdf[_0x1b75f1(0x394)](_0x564c64=>{const _0x18c224=_0x1b75f1;let _0x5eba0e;if(_0x1f8a02['length']){const _0x46a28c=this[_0x18c224(0x4d9)]['transformMutationsWithChangeset'](_0x564c64,_0x1f8a02);if(!_0x292f17[_0x18c224(0x1f1)](_0x46a28c))throw _0x46a28c[_0x18c224(0x5c5)];_0x5eba0e=_0x46a28c['c1Prime'],_0x1f8a02=_0x46a28c['m2Prime'];}else _0x5eba0e=_0x564c64;this['_executeRemoteChangeset'](_0x5eba0e);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1b75f1(0x487)](),this[_0x1b75f1(0x504)]&&_0x1fec6b[_0x1b75f1(0x522)]&&(_0x1fec6b[0x0]['baseRev']=this[_0x1b75f1(0x403)]());let _0x229a74;if(this['_awaitingChangeset']&&_0x1f8a02[_0x1b75f1(0x522)]!==0x0)_0x229a74=this[_0x1b75f1(0x60c)][_0x1b75f1(0x3c9)](_0x35d7af,this[_0x1b75f1(0x4dc)],this[_0x1b75f1(0x28e)],_0x1fec6b[0x0],_0x1f8a02,this['_handler']);else{if(this[_0x1b75f1(0x504)]&&_0x1f8a02['length']===0x0)_0x1fec6b[0x0][_0x1b75f1(0x2c8)]=this[_0x1b75f1(0x403)](),_0x229a74=this[_0x1b75f1(0x60c)][_0x1b75f1(0x3c9)](_0x5b648b,this[_0x1b75f1(0x4dc)],this[_0x1b75f1(0x28e)],_0x1fec6b[0x0],this[_0x1b75f1(0x3d1)]);else{if(_0x1f8a02[_0x1b75f1(0x522)]!==0x0){const _0x11498b=this[_0x1b75f1(0x60c)][_0x1b75f1(0x3c9)](_0x3d8a1c,this[_0x1b75f1(0x4dc)],this[_0x1b75f1(0x28e)],_0x1f8a02,this[_0x1b75f1(0x3d1)]);_0x11498b[_0x1b75f1(0x5b6)](),_0x229a74=_0x11498b;}else _0x229a74=this[_0x1b75f1(0x60c)]['createInstance'](_0x5c4efe,this['unitID'],this['type'],this['_handler']);}}return _0x229a74['_updateLocalCache'](),_0x229a74;}catch(_0x3e6ca3){return this[_0x1b75f1(0x5b0)][_0x1b75f1(0x5c5)](_0x1b75f1(0x37f),_0x1b75f1(0x2fc),_0x3e6ca3),this['_injector'][_0x1b75f1(0x3c9)](_0x51236a,this['unitID'],this[_0x1b75f1(0x28e)],this[_0x1b75f1(0x504)],this[_0x1b75f1(0x3b4)],this[_0x1b75f1(0x3d1)],!0x1);}}[_0x5ebc5d(0x393)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x574e87){const _0x3f5ed6=_0x5ebc5d;return this[_0x3f5ed6(0x3b4)]['push'](_0x574e87),this;}[_0x5ebc5d(0x4f2)](_0x23ff2e){const _0x10e80b=_0x5ebc5d;return this['_queuedRemoteChangesets'][_0x10e80b(0x479)](_0x23ff2e),this;}[_0x5ebc5d(0x290)](_0x5aae4a){const _0x3382c4=_0x5ebc5d;if(this[_0x3382c4(0x504)])return this[_0x3382c4(0x5c9)]=this[_0x3382c4(0x504)],this[_0x3382c4(0x504)]=null,this;throw new Error(_0x3382c4(0x344));}['onRemoteRej'](_0x28c52f){const _0x16e7af=_0x5ebc5d;return this[_0x16e7af(0x53b)](!!(_0x28c52f!=null&&_0x28c52f[_0x16e7af(0x3d6)]));}[_0x5ebc5d(0x3d5)](){const _0x60c93=_0x5ebc5d;return this[_0x60c93(0x60c)][_0x60c93(0x3c9)](_0x90f657,this[_0x60c93(0x4dc)],this[_0x60c93(0x28e)],this[_0x60c93(0x504)],this['_pendingMutations'],this[_0x60c93(0x3d1)]);}[_0x5ebc5d(0x375)](){return this;}['_onConflict'](_0x2e4377){const _0x22cf4e=_0x5ebc5d;return this[_0x22cf4e(0x60c)]['createInstance'](_0x51236a,this[_0x22cf4e(0x4dc)],this[_0x22cf4e(0x28e)],this[_0x22cf4e(0x504)],this[_0x22cf4e(0x3b4)],this[_0x22cf4e(0x3d1)],_0x2e4377);}};_0x38b177=_0x39335c([_0x3bd0ab(0x7,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['Injector'])),_0x3bd0ab(0x8,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17[_0x5ebc5d(0x55a)])),_0x3bd0ab(0x9,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x44b)])),_0x3bd0ab(0xa,_0x204831[_0x5ebc5d(0x4a5)]),_0x3bd0ab(0xb,_0x204831[_0x5ebc5d(0x2de)]),_0x3bd0ab(0xc,_0x204831[_0x5ebc5d(0x4bb)]),_0x3bd0ab(0xd,_0x292f17[_0x5ebc5d(0x446)])],_0x38b177);function _0x152169(_0xb06828,_0x12bfe9,_0x58f7b7,_0x40c39b,_0x3f6421,_0x283924){const _0x1a420d=_0x5ebc5d;return _0x40c39b&&_0x3f6421[_0x1a420d(0x522)]?_0xb06828[_0x1a420d(0x3c9)](_0x35d7af,_0x12bfe9,_0x58f7b7,_0x40c39b,_0x3f6421,_0x283924):_0x40c39b?_0xb06828[_0x1a420d(0x3c9)](_0x5b648b,_0x12bfe9,_0x58f7b7,_0x40c39b,_0x283924):_0x3f6421[_0x1a420d(0x522)]?_0xb06828['createInstance'](_0x3d8a1c,_0x12bfe9,_0x58f7b7,_0x3f6421,_0x283924):_0xb06828[_0x1a420d(0x3c9)](_0x5c4efe,_0x12bfe9,_0x58f7b7,_0x283924);}var _0x1c65dd=Object[_0x5ebc5d(0x552)],_0xaa4d9b=Object[_0x5ebc5d(0x38b)],_0x45bf96=(_0x581aa7,_0xcfe705,_0x178178,_0x5efbc7)=>{const _0x119221=_0x5ebc5d;for(var _0x2fd190=_0x5efbc7>0x1?void 0x0:_0x5efbc7?_0xaa4d9b(_0xcfe705,_0x178178):_0xcfe705,_0x21e736=_0x581aa7[_0x119221(0x522)]-0x1,_0x2c51ba;_0x21e736>=0x0;_0x21e736--)(_0x2c51ba=_0x581aa7[_0x21e736])&&(_0x2fd190=(_0x5efbc7?_0x2c51ba(_0xcfe705,_0x178178,_0x2fd190):_0x2c51ba(_0x2fd190))||_0x2fd190);return _0x5efbc7&&_0x2fd190&&_0x1c65dd(_0xcfe705,_0x178178,_0x2fd190),_0x2fd190;},_0x337ade=(_0x50d9f6,_0x1bf322)=>(_0x3bd1db,_0xbbfab7)=>_0x1bf322(_0x3bd1db,_0xbbfab7,_0x50d9f6);_0x52f4d9[_0x5ebc5d(0x37b)]=class extends _0x204831[_0x5ebc5d(0x3e5)]{constructor(_0x10df2d,_0x24105e,_0x290563,_0x59fdae,_0x4ac450,_0x493145,_0x118050,_0x54f695,_0x50ced8,_0xc5f9a,_0x26e571,_0x445395,_0x39a013){const _0x364167=_0x5ebc5d;super(),_0x3d4e20(this,'_state$',new _0x2ea3f3[(_0x364167(0x565))](null)),_0x3d4e20(this,_0x364167(0x40e),this[_0x364167(0x325)][_0x364167(0x4f3)]()),_0x3d4e20(this,'_state'),_0x3d4e20(this,_0x364167(0x3eb),!0x1),_0x3d4e20(this,_0x364167(0x413),this[_0x364167(0x40e)][_0x364167(0x30d)](_0x2ea3f3['map'](_0x2fa525=>_0x2fa525?_0x2fa525[_0x364167(0x32a)]:_0x4ebacb[_0x364167(0x34e)]),_0x2ea3f3[_0x364167(0x461)](0x1))),_0x3d4e20(this,_0x364167(0x328),!0x1),_0x3d4e20(this,'_remoteChangesetQueue',[]),(this[_0x364167(0x4dc)]=_0x10df2d,this['session']=_0x24105e,this[_0x364167(0x524)]=_0x290563,this['_injector']=_0x59fdae,this[_0x364167(0x5db)]=_0x4ac450,this[_0x364167(0x357)]=_0x493145,this['_localeService']=_0x118050,this[_0x364167(0x1ed)]=_0x54f695,this['_logService']=_0x50ced8,this[_0x364167(0x5f3)]=_0xc5f9a,this['_messageService']=_0x26e571,this[_0x364167(0x25d)]=_0x445395,this[_0x364167(0x436)]=_0x39a013);}get[_0x5ebc5d(0x39c)](){return this['_state'];}async[_0x5ebc5d(0x4ff)](){const _0x455930=_0x5ebc5d;if(this[_0x455930(0x39c)])throw new Error(_0x455930(0x594));await this[_0x455930(0x411)]();}['pauseCollaboration'](){const _0x4df456=_0x5ebc5d;return this[_0x4df456(0x3eb)]=!0x0,_0x204831['toDisposable'](()=>{const _0x46e749=_0x4df456;this[_0x46e749(0x3eb)]=!0x1,this[_0x46e749(0x284)]();});}[_0x5ebc5d(0x4d3)](_0x119cf8){const _0x1d362b=_0x5ebc5d;this[_0x1d362b(0x32f)]=_0x119cf8,this[_0x1d362b(0x325)][_0x1d362b(0x50a)](_0x119cf8);}async['_init'](){const _0x1cb3f1=_0x5ebc5d;var _0xf92629;this[_0x1cb3f1(0x4d3)](await this[_0x1cb3f1(0x326)]()),this[_0x1cb3f1(0x436)]&&((_0xf92629=this[_0x1cb3f1(0x436)])==null||_0xf92629[_0x1cb3f1(0x5bb)](this['unitID']),this[_0x1cb3f1(0x382)](this[_0x1cb3f1(0x436)][_0x1cb3f1(0x470)](this[_0x1cb3f1(0x4dc)])[_0x1cb3f1(0x2e1)](_0x3c8d68=>{const _0x256b3f=_0x1cb3f1;this[_0x256b3f(0x5b0)][_0x256b3f(0x455)](_0x256b3f(0x4a0),_0x256b3f(0x32b),_0x3c8d68),_0x3c8d68===_0x2d477a[_0x256b3f(0x50c)]?(this[_0x256b3f(0x534)][_0x256b3f(0x497)]({'content':this[_0x256b3f(0x4af)]['t'](_0x256b3f(0x425)),'type':_0x53bcf5[_0x256b3f(0x465)][_0x256b3f(0x2ba)]}),this['_permissionService'][_0x256b3f(0x26a)](new _0x2850a0[(_0x256b3f(0x299))](this[_0x256b3f(0x4dc)])['id'],!0x1)):this[_0x256b3f(0x25d)][_0x256b3f(0x26a)](new _0x2850a0[(_0x256b3f(0x299))](this[_0x256b3f(0x4dc)])['id'],!0x0);})));let _0x4bc010=!0x1;return this[_0x1cb3f1(0x382)](this[_0x1cb3f1(0x242)][_0x1cb3f1(0x229)][_0x1cb3f1(0x2e1)](_0x6d96a3=>{const _0x5ae261=_0x1cb3f1;_0x6d96a3===_0x52ce60['ONLINE']?this['_toggleOnline'](_0x4bc010):_0x6d96a3===_0x52ce60[_0x5ae261(0x34e)]&&(_0x4bc010=!0x0,this[_0x5ae261(0x445)]());})),this[_0x1cb3f1(0x382)](this['session'][_0x1cb3f1(0x430)][_0x1cb3f1(0x2e1)](_0x4a0b8b=>{const _0x374d86=_0x1cb3f1;try{switch(_0x4a0b8b['eventID']){case _0x292f17[_0x374d86(0x351)]['NEW_CHANGESETS']:{this[_0x374d86(0x367)](_0x292f17[_0x374d86(0x4cb)](_0x4a0b8b[_0x374d86(0x5ea)]));break;}case _0x292f17['CollaborationEvent'][_0x374d86(0x405)]:{this[_0x374d86(0x38d)](_0x4a0b8b[_0x374d86(0x5ea)]);break;}case _0x292f17[_0x374d86(0x351)]['CHANGESET_REJ']:{this[_0x374d86(0x56f)]();break;}case _0x292f17[_0x374d86(0x351)][_0x374d86(0x243)]:{this[_0x374d86(0x4a7)](_0x4a0b8b['data'][_0x374d86(0x53d)][_0x374d86(0x5ef)](_0x191c2e=>_0x292f17[_0x374d86(0x4cb)](_0x191c2e)));break;}case _0x292f17['CollaborationEvent'][_0x374d86(0x4fb)]:this[_0x374d86(0x56f)]({'isPermissionRej':!0x0});}}catch(_0x337ec0){throw console[_0x374d86(0x5c5)](_0x374d86(0x478),_0x337ec0),_0x337ec0;}})),this['_state'];}[_0x5ebc5d(0x43c)](){const _0xf27388=_0x5ebc5d;this[_0xf27388(0x328)]=!0x1;}[_0x5ebc5d(0x4cc)](){const _0x105da5=_0x5ebc5d;if(this[_0x105da5(0x328)])throw new Error(_0x105da5(0x54b));this[_0x105da5(0x328)]=!0x0;}[_0x5ebc5d(0x23f)](_0x36a34e){const _0x56912d=_0x5ebc5d;this[_0x56912d(0x4cc)](),this[_0x56912d(0x4d3)](this[_0x56912d(0x32f)][_0x56912d(0x447)](_0x36a34e)),this['_unlockTransition']();}[_0x5ebc5d(0x367)](_0x44b98e){const _0x284448=_0x5ebc5d;if(!(_0x44b98e['revision']<=this['_revisionService'][_0x284448(0x23e)](this[_0x284448(0x4dc)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x44b98e);return;}this[_0x284448(0x5f9)](_0x44b98e);}}[_0x5ebc5d(0x284)](){const _0xf8ea0c=_0x5ebc5d;this[_0xf8ea0c(0x2a6)]['forEach'](_0x448e32=>this[_0xf8ea0c(0x5f9)](_0x448e32)),this[_0xf8ea0c(0x2a6)]=[];}[_0x5ebc5d(0x5f9)](_0x3de5a4){const _0x8adb58=_0x5ebc5d,_0x587b8d=this[_0x8adb58(0x357)]['interceptor'][_0x8adb58(0x29d)](this[_0x8adb58(0x357)][_0x8adb58(0x1ec)][_0x8adb58(0x37e)]()[_0x8adb58(0x597)])(_0x3de5a4['mutations'],null)||_0x3de5a4[_0x8adb58(0x4b3)],_0x5b87a2={..._0x3de5a4,'mutations':_0x587b8d};this[_0x8adb58(0x4cc)](),this[_0x8adb58(0x4d3)](this[_0x8adb58(0x32f)][_0x8adb58(0x4f2)](_0x5b87a2)),this['_unlockTransition']();}['_onRemoteACK'](_0x2bbe22){const _0x5bf90f=_0x5ebc5d;this[_0x5bf90f(0x4cc)](),this[_0x5bf90f(0x4d3)](this['_state'][_0x5bf90f(0x290)](_0x2bbe22)),this['_unlockTransition']();}[_0x5ebc5d(0x56f)](_0x5033ec){const _0x200ccc=_0x5ebc5d;this[_0x200ccc(0x4cc)](),this[_0x200ccc(0x4d3)](this[_0x200ccc(0x32f)][_0x200ccc(0x26d)](_0x5033ec)),this[_0x200ccc(0x43c)]();}[_0x5ebc5d(0x4a7)](_0x42cd6e){const _0x4aff88=_0x5ebc5d;if(!(this[_0x4aff88(0x32f)]instanceof _0x38b177))throw new TypeError(_0x4aff88(0x5e1));const _0x5b1cc4=_0x42cd6e[_0x4aff88(0x5ef)](_0x333412=>{const _0x14fffa=_0x4aff88,_0x138d49=this[_0x14fffa(0x357)][_0x14fffa(0x1ec)][_0x14fffa(0x29d)](this['_compressMutationService'][_0x14fffa(0x1ec)]['getInterceptPoints']()[_0x14fffa(0x597)])(_0x333412[_0x14fffa(0x4b3)],null)||_0x333412[_0x14fffa(0x4b3)];return{..._0x333412,'mutations':_0x138d49};});this[_0x4aff88(0x4cc)](),this[_0x4aff88(0x4d3)](this[_0x4aff88(0x32f)][_0x4aff88(0x1fa)](_0x5b1cc4)),this['_unlockTransition']();}['_toggleOffline'](){const _0x55ef15=_0x5ebc5d;this[_0x55ef15(0x4cc)](),this[_0x55ef15(0x4d3)](this['_state'][_0x55ef15(0x3d5)]()),this['_unlockTransition']();}[_0x5ebc5d(0x3ca)](_0x54813d=!0x1){const _0x109c84=_0x5ebc5d;this['_lockTransition'](),this[_0x109c84(0x4d3)](this[_0x109c84(0x32f)]['toggleOnline']()),this['_unlockTransition']();const _0x113f9a=this[_0x109c84(0x32f)];_0x54813d&&_0x113f9a instanceof _0x5c4efe&&(this[_0x109c84(0x4cc)](),this['_updateState'](_0x113f9a[_0x109c84(0x593)]()),this[_0x109c84(0x43c)]());}async[_0x5ebc5d(0x326)](){return new Promise(_0x26e7db=>{const _0x54a205=_0x1c68;this['session'][_0x54a205(0x229)][_0x54a205(0x30d)](_0x2ea3f3[_0x54a205(0x4da)](0x1))[_0x54a205(0x2e1)](async _0x257a26=>{const _0x4c67ed=_0x54a205;_0x26e7db(await this['_createInitialStateImpl'](_0x257a26===_0x52ce60[_0x4c67ed(0x292)]));});});}[_0x5ebc5d(0x488)](){const _0x384702=_0x5ebc5d,_0x5a2cf9=this[_0x384702(0x4dc)];return{'onStateChange':(_0x1951fa,_0x7da05a)=>{const _0x2ae353=_0x384702;if(_0x1951fa!==this[_0x2ae353(0x32f)])throw new Error(_0x2ae353(0x4fe)+_0x1951fa[_0x2ae353(0x32a)]+'\x0aAfter:\x20'+_0x7da05a[_0x2ae353(0x32a)]+_0x2ae353(0x1f4)+this[_0x2ae353(0x32f)][_0x2ae353(0x32a)]);this[_0x2ae353(0x4d3)](_0x7da05a);},'onSendChangeset':_0x917e4e=>{const _0x3928b0=_0x384702,_0x8b0f29={'eventID':_0x292f17[_0x3928b0(0x351)][_0x3928b0(0x422)],'data':{'unitID':_0x917e4e[_0x3928b0(0x4dc)],'unitType':this[_0x3928b0(0x524)],'changeset':_0x917e4e,'memberID':this[_0x3928b0(0x242)]['getMemberID']()}};this[_0x3928b0(0x242)][_0x3928b0(0x433)](_0x8b0f29,this['unitID']);},'onMissingChangesets':({from:_0x1443f9,to:_0xcbe2a9})=>{const _0x38fb9e=_0x384702;this[_0x38fb9e(0x5b0)]['debug'](_0x38fb9e(0x4a0),_0x38fb9e(0x3ec)+_0x1443f9+_0x38fb9e(0x3a1)+_0xcbe2a9);const _0x31f90e={'eventID':_0x292f17[_0x38fb9e(0x351)][_0x38fb9e(0x204)],'data':{'unitID':_0x5a2cf9,'unitType':this[_0x38fb9e(0x524)],'from':_0x1443f9,'to':_0xcbe2a9}};this[_0x38fb9e(0x242)][_0x38fb9e(0x433)](_0x31f90e,this['unitID']);}};}async[_0x5ebc5d(0x2f1)](_0x305a85){const _0x348ab5=_0x5ebc5d;var _0x266bee,_0x441303;const _0x22e436=await this[_0x348ab5(0x5db)]['loadOfflineData'](this[_0x348ab5(0x4dc)]),_0xa88500=(_0x266bee=_0x22e436==null?void 0x0:_0x22e436[_0x348ab5(0x4b3)])!=null?_0x266bee:[],_0x162064=(_0x441303=_0x22e436==null?void 0x0:_0x22e436[_0x348ab5(0x341)])!=null?_0x441303:null,_0x4159a8=this[_0x348ab5(0x4dc)];try{this[_0x348ab5(0x331)](_0x162064,_0xa88500);}catch(_0x5a4534){this[_0x348ab5(0x5b0)]['error'](_0x5a4534);}const _0x57276f=this['_createHandler']();if(_0x305a85){const _0x1042c1=_0x152169(this['_injector'],_0x4159a8,this[_0x348ab5(0x524)],_0x162064,_0xa88500,_0x57276f);return _0x1042c1 instanceof _0x3d8a1c?_0x1042c1[_0x348ab5(0x5b6)]():(_0x1042c1 instanceof _0x35d7af||_0x1042c1 instanceof _0x5b648b)&&_0x1042c1[_0x348ab5(0x393)](),_0x1042c1;}return this[_0x348ab5(0x60c)]['createInstance'](_0x90f657,_0x4159a8,this[_0x348ab5(0x524)],_0x162064,_0xa88500,_0x57276f);}[_0x5ebc5d(0x331)](_0x477aaa,_0x50b571){const _0x4180e1=_0x5ebc5d;var _0x3ed675,_0x155497;const _0x1260e6=this[_0x4180e1(0x357)][_0x4180e1(0x1ec)][_0x4180e1(0x29d)](this['_compressMutationService']['interceptor'][_0x4180e1(0x37e)]()['COMPRESS_MUTATION_APPLY']);(_0x3ed675=_0x1260e6((_0x477aaa==null?void 0x0:_0x477aaa[_0x4180e1(0x4b3)])||[],null))==null||_0x3ed675[_0x4180e1(0x394)](_0x4e494f=>this[_0x4180e1(0x5f3)][_0x4180e1(0x3e2)](_0x4e494f['id'],_0x4e494f['params'])),(_0x155497=_0x1260e6(_0x50b571||[],null))==null||_0x155497[_0x4180e1(0x394)](_0x24ebd9=>this[_0x4180e1(0x5f3)][_0x4180e1(0x3e2)](_0x24ebd9['id'],_0x24ebd9[_0x4180e1(0x208)]));}},_0x52f4d9[_0x5ebc5d(0x37b)]=_0x45bf96([_0x337ade(0x3,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['Injector'])),_0x337ade(0x4,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x44b)])),_0x337ade(0x5,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17[_0x5ebc5d(0x510)])),_0x337ade(0x6,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['LocaleService'])),_0x337ade(0x7,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17['RevisionService'])),_0x337ade(0x8,_0x204831['ILogService']),_0x337ade(0x9,_0x204831[_0x5ebc5d(0x2de)]),_0x337ade(0xa,_0x1e1361['IMessageService']),_0x337ade(0xb,_0x204831['IPermissionService']),_0x337ade(0xc,_0x204831[_0x5ebc5d(0x39e)](_0x4bdb01))],_0x52f4d9[_0x5ebc5d(0x37b)]),_0x52f4d9[_0x5ebc5d(0x4de)]=class extends _0x52f4d9[_0x5ebc5d(0x37b)]{constructor(_0x47d22f,_0x200b3d,_0xc6af66,_0x2f92b9,_0x1bb1f2,_0x2cd904,_0x402b99,_0x5ac89a,_0x2a4339,_0x3e57d0,_0x207b6d,_0x3f3a03,_0x57f3cb,_0x348dd2,_0x11cecc,_0x14528a,_0x4c4ca1){const _0x40c4a2=_0x5ebc5d;super(_0x47d22f,_0xc6af66,_0x200b3d,_0x2f92b9,_0x1bb1f2,_0x2cd904,_0x402b99,_0x5ac89a,_0x57f3cb,_0x348dd2,_0x11cecc,_0x14528a,_0x4c4ca1),this['unitID']=_0x47d22f,this['type']=_0x200b3d,this[_0x40c4a2(0x320)]=_0x2a4339,this['_docTransformIMECacheService']=_0x3e57d0,this[_0x40c4a2(0x28f)]=_0x207b6d,this[_0x40c4a2(0x35a)]=_0x3f3a03;}['_createHandler'](){const _0x5891d0=_0x5ebc5d,_0x4ca6fe=super[_0x5891d0(0x488)]();return _0x4ca6fe['onTransformIME']=_0x4fba9f=>this['_docTransformIMECacheService'][_0x5891d0(0x48d)](_0x4fba9f),_0x4ca6fe[_0x5891d0(0x5ab)]=_0x374914=>this[_0x5891d0(0x28f)]['transformSelections'](_0x374914),_0x4ca6fe['onSyncEditingCollabCursor']=_0x240aa4=>this['_docSyncEditingCollabCursorService'][_0x5891d0(0x324)](_0x240aa4),_0x4ca6fe[_0x5891d0(0x202)]=_0x15808c=>this['_docTransformIMECacheService'][_0x5891d0(0x389)](_0x15808c),_0x4ca6fe;}async[_0x5ebc5d(0x411)](){const _0x4ce993=_0x5ebc5d,_0x519629=await super[_0x4ce993(0x411)]();return this[_0x4ce993(0x382)](this[_0x4ce993(0x5f3)][_0x4ce993(0x3b3)]((_0x591798,_0x39215b)=>{const _0x52fb25=_0x4ce993;if(_0x591798[_0x52fb25(0x28e)]!==_0x204831[_0x52fb25(0x5d7)][_0x52fb25(0x4f7)]||_0x39215b!=null&&_0x39215b['fromCollab']||_0x39215b!=null&&_0x39215b[_0x52fb25(0x47d)])return;const _0x3bee4f=_0x591798[_0x52fb25(0x208)];if((_0x3bee4f==null?void 0x0:_0x3bee4f['unitId'])!==this[_0x52fb25(0x4dc)])return;let _0x3b4954=_0x591798;if(_0x3b4954['id']===_0x1d1bc4[_0x52fb25(0x3ce)]['id']){const _0x5caeb5=_0x3b4954[_0x52fb25(0x208)];_0x3b4954={'id':_0x1d1bc4[_0x52fb25(0x3ce)]['id'],'type':_0x204831[_0x52fb25(0x5d7)][_0x52fb25(0x4f7)],'params':{'unitId':_0x5caeb5['unitId'],'actions':_0x5caeb5[_0x52fb25(0x349)],'textRanges':null}};}const _0x2335eb=this[_0x52fb25(0x357)][_0x52fb25(0x1ec)][_0x52fb25(0x29d)](this[_0x52fb25(0x357)][_0x52fb25(0x1ec)][_0x52fb25(0x37e)]()['COMPRESS_MUTATION_SEND'])([_0x3b4954],null)||[_0x3b4954];this['_onLocalMutation'](_0x2335eb[0x0]);})),_0x519629;}},_0x52f4d9[_0x5ebc5d(0x4de)]=_0x45bf96([_0x337ade(0x3,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x337ade(0x4,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x44b)])),_0x337ade(0x5,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17['CompressMutationService'])),_0x337ade(0x6,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x2f5)])),_0x337ade(0x7,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17[_0x5ebc5d(0x55a)])),_0x337ade(0x8,_0x204831[_0x5ebc5d(0x5cf)](_0x2435e3[_0x5ebc5d(0x355)])),_0x337ade(0x9,_0x204831[_0x5ebc5d(0x5cf)](_0x4065da)),_0x337ade(0xa,_0x204831[_0x5ebc5d(0x5cf)](_0x21c497)),_0x337ade(0xb,_0x204831['Inject'](_0x3c4160)),_0x337ade(0xc,_0x204831[_0x5ebc5d(0x4a5)]),_0x337ade(0xd,_0x204831[_0x5ebc5d(0x2de)]),_0x337ade(0xe,_0x1e1361[_0x5ebc5d(0x544)]),_0x337ade(0xf,_0x204831[_0x5ebc5d(0x57a)]),_0x337ade(0x10,_0x204831[_0x5ebc5d(0x39e)](_0x4bdb01))],_0x52f4d9[_0x5ebc5d(0x4de)]),_0x52f4d9[_0x5ebc5d(0x4d7)]=class extends _0x52f4d9['CollaborationEntity']{constructor(_0x311003,_0x4b85cf,_0x17ff23,_0x462568,_0x1744e2,_0x19d42e,_0x23277,_0x1a3052,_0x48003a,_0x2f1adb,_0x501c2a,_0x46d480,_0x17de08,_0x6c8e2b){const _0x1de38f=_0x5ebc5d;super(_0x311003,_0x17ff23,_0x4b85cf,_0x462568,_0x1744e2,_0x19d42e,_0x23277,_0x1a3052,_0x2f1adb,_0x501c2a,_0x46d480,_0x17de08,_0x6c8e2b),this[_0x1de38f(0x4dc)]=_0x311003,this[_0x1de38f(0x28e)]=_0x4b85cf,this[_0x1de38f(0x2d6)]=_0x48003a;}[_0x5ebc5d(0x488)](){const _0x5f043c=_0x5ebc5d,_0x4ad40b=super[_0x5f043c(0x488)]();return _0x4ad40b[_0x5f043c(0x5ab)]=_0x5a8f2d=>this[_0x5f043c(0x2d6)][_0x5f043c(0x4aa)](_0x5a8f2d),_0x4ad40b;}async[_0x5ebc5d(0x411)](){const _0xe673da=_0x5ebc5d,_0x1271a6=await super[_0xe673da(0x411)]();return this[_0xe673da(0x382)](this[_0xe673da(0x5f3)][_0xe673da(0x3b3)]((_0x400406,_0x5c7efd)=>{const _0x4226ee=_0xe673da;if(_0x400406[_0x4226ee(0x28e)]!==_0x204831[_0x4226ee(0x5d7)]['MUTATION']||_0x5c7efd!=null&&_0x5c7efd[_0x4226ee(0x381)]||_0x5c7efd!=null&&_0x5c7efd[_0x4226ee(0x47d)])return;const _0x3519a=_0x400406['params'];if((_0x3519a==null?void 0x0:_0x3519a[_0x4226ee(0x52a)])!==this['unitID'])return;const _0x53b18b=_0x400406,_0x5a5222=this[_0x4226ee(0x357)][_0x4226ee(0x1ec)][_0x4226ee(0x29d)](this[_0x4226ee(0x357)][_0x4226ee(0x1ec)][_0x4226ee(0x37e)]()[_0x4226ee(0x23a)])([_0x53b18b],null)||[_0x53b18b];this['_onLocalMutation'](_0x5a5222[0x0]);})),_0x1271a6;}},_0x52f4d9['SheetCollaborationEntity']=_0x45bf96([_0x337ade(0x3,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x337ade(0x4,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x44b)])),_0x337ade(0x5,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17[_0x5ebc5d(0x510)])),_0x337ade(0x6,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x2f5)])),_0x337ade(0x7,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17[_0x5ebc5d(0x55a)])),_0x337ade(0x8,_0x204831[_0x5ebc5d(0x5cf)](_0x59f474)),_0x337ade(0x9,_0x204831[_0x5ebc5d(0x4a5)]),_0x337ade(0xa,_0x204831[_0x5ebc5d(0x2de)]),_0x337ade(0xb,_0x1e1361['IMessageService']),_0x337ade(0xc,_0x204831['IPermissionService']),_0x337ade(0xd,_0x204831[_0x5ebc5d(0x39e)](_0x4bdb01))],_0x52f4d9['SheetCollaborationEntity']);var _0x5b7dea=Object[_0x5ebc5d(0x552)],_0x2da2ba=Object[_0x5ebc5d(0x38b)],_0x24afe8=(_0x5ca721,_0x2662a1,_0xfb0e8c,_0x8fab21)=>{const _0x480c50=_0x5ebc5d;for(var _0x11e698=_0x8fab21>0x1?void 0x0:_0x8fab21?_0x2da2ba(_0x2662a1,_0xfb0e8c):_0x2662a1,_0x47fd2c=_0x5ca721[_0x480c50(0x522)]-0x1,_0x3016b5;_0x47fd2c>=0x0;_0x47fd2c--)(_0x3016b5=_0x5ca721[_0x47fd2c])&&(_0x11e698=(_0x8fab21?_0x3016b5(_0x2662a1,_0xfb0e8c,_0x11e698):_0x3016b5(_0x11e698))||_0x11e698);return _0x8fab21&&_0x11e698&&_0x5b7dea(_0x2662a1,_0xfb0e8c,_0x11e698),_0x11e698;},_0x10c0d9=(_0x2965f6,_0x5a41c3)=>(_0x7909ab,_0x383c21)=>_0x5a41c3(_0x7909ab,_0x383c21,_0x2965f6);_0x52f4d9['CollaborationController']=class extends _0x204831[_0x5ebc5d(0x3e5)]{constructor(_0x4c0da1,_0x332629,_0x64aa9a){const _0x37af21=_0x5ebc5d;super(),_0x3d4e20(this,'_entities',new Map()),_0x3d4e20(this,_0x37af21(0x475),new _0x2ea3f3[(_0x37af21(0x31a))]()),(this['_injector']=_0x4c0da1,this[_0x37af21(0x5ac)]=_0x332629,this[_0x37af21(0x48f)]=_0x64aa9a,this[_0x37af21(0x411)]());}[_0x5ebc5d(0x2dd)](){const _0x4aa543=_0x5ebc5d;super[_0x4aa543(0x2dd)](),this['_entities'][_0x4aa543(0x394)](_0x5a44a2=>_0x5a44a2['dispose']()),this[_0x4aa543(0x521)]['clear']();}[_0x5ebc5d(0x59e)](_0x4ac5f7){const _0x264aaf=_0x5ebc5d;var _0x4c4f4c;return(_0x4c4f4c=this[_0x264aaf(0x521)][_0x264aaf(0x222)](_0x4ac5f7))!=null?_0x4c4f4c:null;}[_0x5ebc5d(0x265)](_0x247f37){const _0x5a479f=_0x5ebc5d,_0x2c7a3a=this[_0x5a479f(0x59e)](_0x247f37);return _0x2c7a3a?_0x2ea3f3['of'](_0x2c7a3a):this['_entityInit$'][_0x5a479f(0x30d)](_0x452c71[_0x5a479f(0x4ea)](_0x2820cc=>_0x2820cc[_0x5a479f(0x4dc)]===_0x247f37));}[_0x5ebc5d(0x411)](){const _0x284978=_0x5ebc5d;this[_0x284978(0x48f)][_0x284978(0x39d)](_0x204831[_0x284978(0x49b)][_0x284978(0x49c)])[_0x284978(0x30d)](_0x2ea3f3[_0x284978(0x31f)](this[_0x284978(0x56d)]),_0x452c71[_0x284978(0x509)](0x10))['subscribe'](async _0x7351e8=>{const _0x8eec45=_0x284978,_0x7d0de5=_0x7351e8['getUnitId'](),_0x1d34b7=await this['_startCollaboration'](_0x7d0de5,_0x38b124['UNIVER_SHEET']);this[_0x8eec45(0x521)][_0x8eec45(0x5a4)](_0x7d0de5,_0x1d34b7);}),this['_univerInstanceService'][_0x284978(0x39d)](_0x204831[_0x284978(0x49b)][_0x284978(0x3ef)])[_0x284978(0x30d)](_0x2ea3f3['takeUntil'](this['dispose$']),_0x452c71['delay'](0x10))[_0x284978(0x30d)](_0x452c71['filter'](_0x107070=>!_0x107070[_0x284978(0x34b)]()[_0x284978(0x583)]('__')))[_0x284978(0x2e1)](async _0x2c0531=>{const _0x46df7e=_0x284978,_0x18b601=_0x2c0531[_0x46df7e(0x34b)](),_0x4bad2a=await this[_0x46df7e(0x39f)](_0x18b601,_0x38b124[_0x46df7e(0x3ef)]);this[_0x46df7e(0x521)][_0x46df7e(0x5a4)](_0x18b601,_0x4bad2a);}),_0x2ea3f3[_0x284978(0x559)](this[_0x284978(0x48f)][_0x284978(0x496)](_0x204831[_0x284978(0x49b)][_0x284978(0x49c)]),this['_univerInstanceService'][_0x284978(0x496)](_0x204831[_0x284978(0x49b)]['UNIVER_DOC']))[_0x284978(0x30d)](_0x2ea3f3[_0x284978(0x31f)](this[_0x284978(0x56d)]))[_0x284978(0x2e1)](_0x4083f1=>{const _0x53388e=_0x284978,_0x3ac6aa=_0x4083f1[_0x53388e(0x34b)](),_0x5c2ae2=this[_0x53388e(0x521)]['get'](_0x3ac6aa);_0x5c2ae2&&(_0x5c2ae2[_0x53388e(0x2dd)](),this[_0x53388e(0x521)]['delete'](_0x3ac6aa));});}async[_0x5ebc5d(0x39f)](_0x5572ae,_0x384953){const _0x4bc314=_0x5ebc5d,_0x5de700=await this['_collabSessionService'][_0x4bc314(0x4ed)](_0x5572ae),_0x34780c=this[_0x4bc314(0x60c)][_0x4bc314(0x3c9)](this[_0x4bc314(0x307)](_0x384953),_0x5572ae,_0x384953,_0x5de700);return await _0x34780c[_0x4bc314(0x4ff)](),this[_0x4bc314(0x475)][_0x4bc314(0x50a)](_0x34780c),_0x34780c;}[_0x5ebc5d(0x307)](_0x2c621e){const _0x1d8cc7=_0x5ebc5d;switch(_0x2c621e){case _0x38b124[_0x1d8cc7(0x3ef)]:return _0x52f4d9[_0x1d8cc7(0x4de)];case _0x38b124[_0x1d8cc7(0x49c)]:return _0x52f4d9[_0x1d8cc7(0x4d7)];default:throw new Error(_0x1d8cc7(0x207)+_0x2c621e);}}},_0x52f4d9[_0x5ebc5d(0x558)]=_0x24afe8([_0x10c0d9(0x0,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['Injector'])),_0x10c0d9(0x1,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x31c)])),_0x10c0d9(0x2,_0x204831['IUniverInstanceService'])],_0x52f4d9[_0x5ebc5d(0x558)]);const _0x4905e6=[_0x5ebc5d(0x2e4),_0x5ebc5d(0x549),_0x5ebc5d(0x5fe),_0x5ebc5d(0x294),_0x5ebc5d(0x2e8),_0x5ebc5d(0x4f6)];class _0x225093 extends _0x204831[_0x5ebc5d(0x3f5)]{constructor(){const _0x1e05cf=_0x5ebc5d;super(...arguments),_0x3d4e20(this,_0x1e05cf(0x541),new Map()),_0x3d4e20(this,'_colorIndex',0x0);}[_0x5ebc5d(0x493)](_0xbb9600){const _0xe20f9f=_0x5ebc5d;if(this['_assignedColors'][_0xe20f9f(0x4ee)](_0xbb9600))return this[_0xe20f9f(0x541)][_0xe20f9f(0x222)](_0xbb9600);const _0x4c66b3=_0x4905e6[this[_0xe20f9f(0x4cd)]];return this[_0xe20f9f(0x4cd)]=(this[_0xe20f9f(0x4cd)]+0x1)%_0x4905e6[_0xe20f9f(0x522)],this[_0xe20f9f(0x541)][_0xe20f9f(0x5a4)](_0xbb9600,_0x4c66b3),_0x4c66b3;}}var _0xc370c5=Object['defineProperty'],_0x1d7ffd=Object['getOwnPropertyDescriptor'],_0x3120c4=(_0xea5058,_0x476b16,_0xad238f,_0x426dea)=>{const _0x209233=_0x5ebc5d;for(var _0x5cc7cc=_0x426dea>0x1?void 0x0:_0x426dea?_0x1d7ffd(_0x476b16,_0xad238f):_0x476b16,_0x48d39e=_0xea5058[_0x209233(0x522)]-0x1,_0x16515d;_0x48d39e>=0x0;_0x48d39e--)(_0x16515d=_0xea5058[_0x48d39e])&&(_0x5cc7cc=(_0x426dea?_0x16515d(_0x476b16,_0xad238f,_0x5cc7cc):_0x16515d(_0x5cc7cc))||_0x5cc7cc);return _0x426dea&&_0x5cc7cc&&_0xc370c5(_0x476b16,_0xad238f,_0x5cc7cc),_0x5cc7cc;},_0x43a0c0=(_0x369e76,_0x339f2c)=>(_0x366997,_0x8d1375)=>_0x339f2c(_0x366997,_0x8d1375,_0x369e76);const _0x2beace=0x12c,_0x44b0d0=0x64;let _0x1f4fb7=class extends _0x204831[_0x5ebc5d(0x3e5)]{constructor(_0x1954c5,_0x586327,_0x45815d,_0x5d3de3,_0x1ad7bf,_0x1bde1e,_0x5d85eb,_0x43dc69,_0xa19466){const _0x36e479=_0x5ebc5d;super(),_0x3d4e20(this,'_online',!0x1),_0x3d4e20(this,_0x36e479(0x411),!0x1),_0x3d4e20(this,_0x36e479(0x5d3),new _0x2ea3f3['BehaviorSubject'](new Map())),_0x3d4e20(this,_0x36e479(0x1f5),this[_0x36e479(0x5d3)][_0x36e479(0x4f3)]()),_0x3d4e20(this,'_roomMembers$',new _0x2ea3f3['BehaviorSubject']([])),_0x3d4e20(this,_0x36e479(0x1fe),this[_0x36e479(0x4d6)][_0x36e479(0x30d)](_0x2ea3f3['debounceTime'](_0x2beace))),_0x3d4e20(this,_0x36e479(0x5d2),_0x204831['debounce'](_0x2def37=>{const _0x1a0106=_0x36e479,_0x51d97b={'eventID':_0x292f17[_0x1a0106(0x351)][_0x1a0106(0x550)],'data':{'unitID':this[_0x1a0106(0x4dc)],'memberID':this[_0x1a0106(0x5ba)][_0x1a0106(0x591)](),'selection':_0x41efd3(_0x2def37)}};this[_0x1a0106(0x5ba)]['send'](_0x51d97b,this[_0x1a0106(0x4dc)]);},_0x44b0d0)),(this['unitID']=_0x1954c5,this[_0x36e479(0x5ba)]=_0x586327,this['_injector']=_0x45815d,this[_0x36e479(0x2d3)]=_0x5d3de3,this[_0x36e479(0x5f6)]=_0x1ad7bf,this[_0x36e479(0x5c1)]=_0x1bde1e,this[_0x36e479(0x4d9)]=_0x5d85eb,this[_0x36e479(0x48f)]=_0x43dc69,this[_0x36e479(0x5f3)]=_0xa19466);}get[_0x5ebc5d(0x586)](){const _0x354ace=_0x5ebc5d;return this[_0x354ace(0x5d3)][_0x354ace(0x55d)]();}get[_0x5ebc5d(0x362)](){const _0x9b9b43=_0x5ebc5d;return this[_0x9b9b43(0x4d6)][_0x9b9b43(0x55d)]();}['dispose'](){const _0x2b8ff3=_0x5ebc5d;super['dispose'](),this[_0x2b8ff3(0x5d3)][_0x2b8ff3(0x50a)](new Map()),this[_0x2b8ff3(0x5d3)][_0x2b8ff3(0x221)](),this[_0x2b8ff3(0x4d6)][_0x2b8ff3(0x50a)]([]),this[_0x2b8ff3(0x4d6)][_0x2b8ff3(0x221)]();}[_0x5ebc5d(0x4ff)](){const _0x5b4a5b=_0x5ebc5d;this[_0x5b4a5b(0x411)]||(this['_init']=!0x0,this[_0x5b4a5b(0x5ba)][_0x5b4a5b(0x229)]['pipe'](_0x2ea3f3[_0x5b4a5b(0x31f)](this[_0x5b4a5b(0x56d)]))[_0x5b4a5b(0x2e1)](_0x4e25bb=>{const _0x2af870=_0x5b4a5b;_0x4e25bb===_0x52ce60[_0x2af870(0x292)]?this[_0x2af870(0x3ca)]():this[_0x2af870(0x445)]();}),this[_0x5b4a5b(0x5ba)]['event$'][_0x5b4a5b(0x30d)](_0x2ea3f3[_0x5b4a5b(0x31f)](this[_0x5b4a5b(0x56d)]))[_0x5b4a5b(0x2e1)](_0x11cfb5=>{const _0x3e558c=_0x5b4a5b,_0x1679ec=_0x11cfb5['eventID'];_0x1679ec===_0x292f17['CollaborationEvent'][_0x3e558c(0x550)]&&this['_onCursorUpdate'](_0x11cfb5),_0x1679ec===_0x292f17[_0x3e558c(0x351)][_0x3e558c(0x279)]&&this[_0x3e558c(0x4e7)](_0x11cfb5);}),this[_0x5b4a5b(0x382)](this[_0x5b4a5b(0x5f3)][_0x5b4a5b(0x3b3)](_0x1ca07=>{const _0x16454f=_0x5b4a5b,_0x33849e=_0x1ca07['params'];_0x33849e!=null&&this[_0x16454f(0x5d5)]&&_0x1ca07['id']===_0x1d1bc4[_0x16454f(0x4b7)]['id']&&_0x33849e[_0x16454f(0x52a)]===this[_0x16454f(0x4dc)]&&_0x33849e[_0x16454f(0x236)]===!0x1&&this[_0x16454f(0x5d2)](_0x33849e['ranges']);})),this[_0x5b4a5b(0x5c1)][_0x5b4a5b(0x561)]['pipe'](_0x2ea3f3[_0x5b4a5b(0x31f)](this['dispose$']))[_0x5b4a5b(0x2e1)](_0x2e6c77=>{const _0x22e8b7=_0x5b4a5b;if((_0x2e6c77==null?void 0x0:_0x2e6c77[_0x22e8b7(0x4dc)])!==this[_0x22e8b7(0x4dc)])return;const _0x4c1e0d={'eventID':_0x292f17[_0x22e8b7(0x351)]['UPDATE_CURSOR'],'data':_0x2e6c77};this['_onCursorUpdate'](_0x4c1e0d);}),this[_0x5b4a5b(0x382)](this['_commandService'][_0x5b4a5b(0x3b3)](_0xfbd69b=>{const _0x28cde3=_0x5b4a5b;if(_0xfbd69b[_0x28cde3(0x208)]==null)return;const _0x2bdd2a=_0xfbd69b[_0x28cde3(0x208)];if(_0xfbd69b['id']!==_0x1d1bc4[_0x28cde3(0x3ce)]['id']||_0x2bdd2a[_0x28cde3(0x52a)]!==this['unitID'])return;const _0x2e4b80={'id':_0x28cde3(0x5e2),'params':_0x2bdd2a},_0x400992=this[_0x28cde3(0x586)];for(const [_0x20f168,_0x26d56b]of _0x400992){const _0x37452e={'id':_0x28cde3(0x5e2),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x26d56b[_0x28cde3(0x1fc)]}},_0x234371=this[_0x28cde3(0x4d9)][_0x28cde3(0x5b4)](_0x2e4b80,_0x37452e,!0x1);if(_0x292f17[_0x28cde3(0x3f2)](_0x234371))throw _0x234371[_0x28cde3(0x5c5)];_0x400992[_0x28cde3(0x5a4)](_0x20f168,{..._0x26d56b,'ranges':_0x234371[_0x28cde3(0x3a3)]['params'][_0x28cde3(0x3d7)]});}queueMicrotask(()=>{const _0x48e716=_0x28cde3;this[_0x48e716(0x5d3)]['next'](_0x400992);});})));}['_onCursorUpdate'](_0x5562cb){const _0x5ed2bf=_0x5ebc5d;var _0x1b93b6,_0x3fd720;const {memberID:_0x43ec51,selection:_0x4bc338}=_0x5562cb[_0x5ed2bf(0x5ea)],_0x6374b=_0x13f0b4(_0x4bc338),_0x15d21a=(_0x3fd720=(_0x1b93b6=this[_0x5ed2bf(0x5f6)][_0x5ed2bf(0x409)](this[_0x5ed2bf(0x4dc)],_0x43ec51))==null?void 0x0:_0x1b93b6[_0x5ed2bf(0x51e)])!=null?_0x3fd720:_0x5ed2bf(0x38c),_0x16064d={'color':this[_0x5ed2bf(0x2d3)][_0x5ed2bf(0x493)](_0x43ec51),'name':_0x15d21a,'ranges':_0x6374b},_0x566d84=this[_0x5ed2bf(0x586)];_0x566d84[_0x5ed2bf(0x5a4)](_0x43ec51,_0x16064d),this[_0x5ed2bf(0x5d3)][_0x5ed2bf(0x50a)](_0x566d84);}['_onCursorDelete'](_0x554a6e){const _0x20999f=_0x5ebc5d,{memberID:_0x385cc2}=_0x554a6e[_0x20999f(0x5ea)],_0x2675f6=this['cursorInfo'];_0x2675f6['delete'](_0x385cc2),this[_0x20999f(0x5d3)][_0x20999f(0x50a)](_0x2675f6);}[_0x5ebc5d(0x3ca)](){const _0x277fec=_0x5ebc5d;var _0xdf7eb8;if(this[_0x277fec(0x5d5)]=!0x0,((_0xdf7eb8=this[_0x277fec(0x48f)][_0x277fec(0x3f3)]())==null?void 0x0:_0xdf7eb8['getUnitId']())!==this[_0x277fec(0x4dc)])return;const _0x13262a=this[_0x277fec(0x60c)][_0x277fec(0x222)](_0x1d1bc4[_0x277fec(0x4c9)])['getDocRanges']();Array[_0x277fec(0x255)](_0x13262a)&&_0x13262a[_0x277fec(0x522)]>0x0&&this['_updateLocalCursor'](_0x13262a);}['_toggleOffline'](){const _0x404287=_0x5ebc5d;this[_0x404287(0x5d5)]=!0x1;}};_0x1f4fb7=_0x3120c4([_0x43a0c0(0x2,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x43a0c0(0x3,_0x204831[_0x5ebc5d(0x5cf)](_0x225093)),_0x43a0c0(0x4,_0x204831['Inject'](_0x3796d3)),_0x43a0c0(0x5,_0x204831[_0x5ebc5d(0x5cf)](_0x3c4160)),_0x43a0c0(0x6,_0x292f17[_0x5ebc5d(0x446)]),_0x43a0c0(0x7,_0x204831[_0x5ebc5d(0x335)]),_0x43a0c0(0x8,_0x204831[_0x5ebc5d(0x2de)])],_0x1f4fb7);var _0x21695a=Object[_0x5ebc5d(0x552)],_0x2f27b7=Object[_0x5ebc5d(0x38b)],_0x27d656=(_0x313a0c,_0x503100,_0x1106f8,_0x55526d)=>{const _0x1294a0=_0x5ebc5d;for(var _0x32d8df=_0x55526d>0x1?void 0x0:_0x55526d?_0x2f27b7(_0x503100,_0x1106f8):_0x503100,_0x21fb78=_0x313a0c[_0x1294a0(0x522)]-0x1,_0x23859c;_0x21fb78>=0x0;_0x21fb78--)(_0x23859c=_0x313a0c[_0x21fb78])&&(_0x32d8df=(_0x55526d?_0x23859c(_0x503100,_0x1106f8,_0x32d8df):_0x23859c(_0x32d8df))||_0x32d8df);return _0x55526d&&_0x32d8df&&_0x21695a(_0x503100,_0x1106f8,_0x32d8df),_0x32d8df;},_0x38e8d5=(_0x248165,_0x4cdc84)=>(_0x34022a,_0x3e92b)=>_0x4cdc84(_0x34022a,_0x3e92b,_0x248165);const _0x390b14=0x12c,_0x3349a4=0x64,_0x295cf5=()=>{let _0x36236e=[],_0x2e9ae0=!0x1;return _0x5c0e1f=>{_0x36236e['push'](_0x5c0e1f),_0x2e9ae0||(_0x2e9ae0=!0x0,setTimeout(()=>{const _0x1c1f68=_0x1c68;_0x36236e[_0x1c1f68(0x394)](_0x52dd71=>_0x52dd71()),_0x36236e=[],_0x2e9ae0=!0x1;}));};};let _0x17d8e2=class extends _0x204831['RxDisposable']{constructor(_0x1e97d2,_0x4bdb3d,_0x591369,_0x2c5923,_0x3b643f,_0x20f4a7,_0x7868c,_0x4ed1f8){const _0x2845e0=_0x5ebc5d;super(),_0x3d4e20(this,_0x2845e0(0x5d5),!0x1),_0x3d4e20(this,_0x2845e0(0x411),!0x1),_0x3d4e20(this,_0x2845e0(0x5d3),new _0x2ea3f3['BehaviorSubject'](new Map())),_0x3d4e20(this,_0x2845e0(0x1f5),this['_cursorInfo$'][_0x2845e0(0x4f3)]()),_0x3d4e20(this,'_roomMembers$',new _0x2ea3f3[(_0x2845e0(0x565))]([])),_0x3d4e20(this,_0x2845e0(0x1fe),this[_0x2845e0(0x4d6)][_0x2845e0(0x30d)](_0x2ea3f3[_0x2845e0(0x25c)](_0x390b14))),_0x3d4e20(this,_0x2845e0(0x5d2),_0x204831[_0x2845e0(0x406)]((_0x2cd01d,_0x138036)=>{const _0x1ec292=_0x2845e0,_0x51bee6={'eventID':_0x292f17[_0x1ec292(0x351)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1ec292(0x4dc)],'memberID':this[_0x1ec292(0x5ba)][_0x1ec292(0x591)](),'selection':_0x13853d['serializeRangeWithSheet'](_0x2cd01d,_0x138036[_0x1ec292(0x2b1)])}};this[_0x1ec292(0x5ba)][_0x1ec292(0x433)](_0x51bee6,this['unitID']);},_0x3349a4)),(this['unitID']=_0x1e97d2,this[_0x2845e0(0x5ba)]=_0x4bdb3d,this[_0x2845e0(0x60c)]=_0x591369,this[_0x2845e0(0x2d3)]=_0x2c5923,this[_0x2845e0(0x5f6)]=_0x3b643f,this[_0x2845e0(0x48f)]=_0x20f4a7,this['_commandService']=_0x7868c,this[_0x2845e0(0x3c5)]=_0x4ed1f8);}get[_0x5ebc5d(0x586)](){const _0x4bfeaf=_0x5ebc5d;return this[_0x4bfeaf(0x5d3)][_0x4bfeaf(0x55d)]();}get[_0x5ebc5d(0x362)](){const _0x149d4b=_0x5ebc5d;return this['_roomMembers$'][_0x149d4b(0x55d)]();}['dispose'](){const _0x2afc38=_0x5ebc5d;super[_0x2afc38(0x2dd)](),this[_0x2afc38(0x5d3)][_0x2afc38(0x50a)](new Map()),this[_0x2afc38(0x5d3)][_0x2afc38(0x221)](),this[_0x2afc38(0x4d6)][_0x2afc38(0x50a)]([]),this['_roomMembers$'][_0x2afc38(0x221)]();}['init'](){const _0xcd908d=_0x5ebc5d;this[_0xcd908d(0x411)]||(this['_init']=!0x0,this['_session']['sessionStatus$']['pipe'](_0x2ea3f3['takeUntil'](this[_0xcd908d(0x56d)]))[_0xcd908d(0x2e1)](_0x12c6cf=>{const _0x2de16f=_0xcd908d;_0x12c6cf===_0x52ce60['ONLINE']?this[_0x2de16f(0x3ca)]():this['_toggleOffline']();}),this[_0xcd908d(0x5ba)]['event$'][_0xcd908d(0x30d)](_0x2ea3f3[_0xcd908d(0x31f)](this[_0xcd908d(0x56d)]))[_0xcd908d(0x2e1)](_0x28ac25=>{const _0xe505d6=_0xcd908d,_0x369457=_0x28ac25['eventID'];_0x369457===_0x292f17[_0xe505d6(0x351)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x28ac25),_0x369457===_0x292f17[_0xe505d6(0x351)][_0xe505d6(0x279)]&&this['_onCursorDelete'](_0x28ac25);}),this[_0xcd908d(0x1e7)](),this['disposeWithMe'](this[_0xcd908d(0x5f3)][_0xcd908d(0x3b3)](_0x4478fc=>{const _0x372cbb=_0xcd908d;if(this[_0x372cbb(0x5d5)]&&_0x4478fc['id']===_0x2850a0[_0x372cbb(0x53f)]['id']&&_0x4478fc['params'][_0x372cbb(0x52a)]===this[_0x372cbb(0x4dc)]){const _0x31faaa=_0x4478fc[_0x372cbb(0x208)];this[_0x372cbb(0x5d2)](_0x31faaa[_0x372cbb(0x44d)],_0x31faaa[_0x372cbb(0x4ec)][0x0]);}})));}['_onCursorUpdate'](_0x3c2c02){const _0x384294=_0x5ebc5d;var _0x4bd024,_0x46b7b8;const {memberID:_0x51d30f,selection:_0x4e9b66}=_0x3c2c02[_0x384294(0x5ea)],{sheetName:_0x5bbea1,range:_0x41047c}=_0x13853d[_0x384294(0x3ea)](_0x4e9b66),_0x374230={'name':(_0x46b7b8=(_0x4bd024=this[_0x384294(0x5f6)][_0x384294(0x409)](this[_0x384294(0x4dc)],_0x51d30f))==null?void 0x0:_0x4bd024[_0x384294(0x51e)])!=null?_0x46b7b8:'Unknown\x20user','range':this[_0x384294(0x3dc)](_0x5bbea1,_0x41047c),'sheetID':_0x5bbea1,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x51d30f),'selection':_0x4e9b66},_0x1e8054=this[_0x384294(0x586)];_0x1e8054[_0x384294(0x5a4)](_0x51d30f,_0x374230),this[_0x384294(0x5d3)]['next'](_0x1e8054);}[_0x5ebc5d(0x4e7)](_0x44a365){const _0x4622e4=_0x5ebc5d,{memberID:_0x44a064}=_0x44a365[_0x4622e4(0x5ea)],_0x2fcfdf=this[_0x4622e4(0x586)];_0x2fcfdf[_0x4622e4(0x51a)](_0x44a064),this[_0x4622e4(0x5d3)][_0x4622e4(0x50a)](_0x2fcfdf);}[_0x5ebc5d(0x3dc)](_0x388a45,_0x3295f2){const _0x1c9aba=_0x5ebc5d;var _0x199aa4,_0x28dec9;const _0x369f8d=(_0x28dec9=(_0x199aa4=this[_0x1c9aba(0x48f)][_0x1c9aba(0x4c1)](this[_0x1c9aba(0x4dc)]))==null?void 0x0:_0x199aa4['getSheetBySheetId'](_0x388a45))==null?void 0x0:_0x28dec9[_0x1c9aba(0x2cb)]();return(_0x369f8d==null?void 0x0:_0x369f8d[_0x1c9aba(0x5ce)](_0x50acdf=>_0x204831[_0x1c9aba(0x556)][_0x1c9aba(0x5f4)](_0x50acdf,_0x3295f2)))||_0x3295f2;}['_onRefRangeChange'](){const _0x36cd52=_0x5ebc5d,_0x21539b=new _0x204831[(_0x36cd52(0x1fd))](),_0x19840d=_0x295cf5(),_0x19cf31=()=>{const _0x128624=_0x36cd52;_0x21539b['dispose']();const _0x24b60b=(_0x42fed6,_0x30d1c5,_0x286ab5,_0x3df4a0)=>{const _0x1215ee=_0x1c68;let _0x2b764e=[];switch(_0x42fed6['id']){case _0x2850a0[_0x1215ee(0x580)][_0x1215ee(0x420)]:{_0x2b764e=_0x2850a0['handleDeleteRangeMoveLeft'](_0x42fed6,_0x3df4a0);break;}case _0x2850a0[_0x1215ee(0x580)][_0x1215ee(0x4d4)]:{_0x2b764e=_0x2850a0[_0x1215ee(0x49f)](_0x42fed6,_0x3df4a0);break;}case _0x2850a0[_0x1215ee(0x580)][_0x1215ee(0x2b7)]:{_0x2b764e=_0x2850a0[_0x1215ee(0x404)](_0x42fed6,_0x3df4a0);break;}case _0x2850a0['EffectRefRangId'][_0x1215ee(0x3f0)]:{_0x2b764e=_0x2850a0['handleInsertRangeMoveDown'](_0x42fed6,_0x3df4a0);break;}case _0x2850a0['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x2b764e=_0x2850a0[_0x1215ee(0x4d1)](_0x42fed6,_0x3df4a0);break;}case _0x2850a0[_0x1215ee(0x580)][_0x1215ee(0x319)]:{_0x2b764e=_0x2850a0['handleInsertRow'](_0x42fed6,_0x3df4a0);break;}case _0x2850a0['EffectRefRangId'][_0x1215ee(0x54a)]:{_0x2b764e=_0x2850a0[_0x1215ee(0x399)](_0x42fed6,_0x3df4a0);break;}case _0x2850a0[_0x1215ee(0x580)][_0x1215ee(0x212)]:{_0x2b764e=_0x2850a0[_0x1215ee(0x21d)](_0x42fed6,_0x3df4a0);break;}case _0x2850a0['EffectRefRangId']['RemoveRowCommandId']:{_0x2b764e=_0x2850a0[_0x1215ee(0x4a2)](_0x42fed6,_0x3df4a0);break;}}const _0x3a3d90=_0x2850a0[_0x1215ee(0x4e8)](_0x2b764e,_0x3df4a0),_0x44e40b=this[_0x1215ee(0x586)][_0x1215ee(0x222)](_0x30d1c5);if(_0x44e40b&&_0x3a3d90){const _0x47d796={..._0x44e40b,'range':_0x3a3d90};this[_0x1215ee(0x586)][_0x1215ee(0x5a4)](_0x30d1c5,_0x47d796),_0x19840d(()=>{const _0x2cd7f3=_0x1215ee,_0x25af1a=this[_0x2cd7f3(0x3c5)][_0x2cd7f3(0x3e4)](_0x3a3d90,_0x2663dd=>(_0x25af1a[_0x2cd7f3(0x2dd)](),_0x24b60b(_0x2663dd,_0x30d1c5,_0x286ab5,_0x3a3d90)));_0x21539b['add'](_0x25af1a);});}return{'redos':[],'undos':[]};};this[_0x128624(0x586)][_0x128624(0x394)]((_0x308427,_0x36ab0a)=>{const _0x5bf49a=_0x128624,{range:_0x5835c6,sheetID:_0x3b1089}=_0x308427,_0x3c2d44=this[_0x5bf49a(0x3c5)][_0x5bf49a(0x3e4)](_0x5835c6,_0x233d2c=>(_0x3c2d44[_0x5bf49a(0x2dd)](),_0x24b60b(_0x233d2c,_0x36ab0a,_0x3b1089,_0x5835c6)));_0x21539b[_0x5bf49a(0x329)](_0x3c2d44);});};this[_0x36cd52(0x382)](_0x204831['toDisposable'](this[_0x36cd52(0x5d3)][_0x36cd52(0x2e1)](()=>{_0x19cf31();})));}[_0x5ebc5d(0x3ca)](){const _0x18fd39=_0x5ebc5d;var _0x542896,_0x323853;if(this[_0x18fd39(0x5d5)]=!0x0,((_0x542896=this['_univerInstanceService'][_0x18fd39(0x3f3)]())==null?void 0x0:_0x542896['getUnitId']())!==this['unitID'])return;const _0x27dcc2=(_0x323853=this[_0x18fd39(0x60c)][_0x18fd39(0x222)](_0x2850a0[_0x18fd39(0x220)])[_0x18fd39(0x384)]())==null?void 0x0:_0x323853[0x0],_0x59cf7b=this[_0x18fd39(0x48f)]['getCurrentUnitForType'](_0x204831[_0x18fd39(0x49b)]['UNIVER_SHEET'])[_0x18fd39(0x4d8)]();_0x27dcc2&&_0x59cf7b&&this[_0x18fd39(0x5d2)](_0x59cf7b[_0x18fd39(0x245)](),_0x27dcc2);}['_toggleOffline'](){this['_online']=!0x1;}};_0x17d8e2=_0x27d656([_0x38e8d5(0x2,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x38e8d5(0x3,_0x204831[_0x5ebc5d(0x5cf)](_0x225093)),_0x38e8d5(0x4,_0x204831[_0x5ebc5d(0x5cf)](_0x3796d3)),_0x38e8d5(0x5,_0x204831[_0x5ebc5d(0x335)]),_0x38e8d5(0x6,_0x204831['ICommandService']),_0x38e8d5(0x7,_0x204831[_0x5ebc5d(0x5cf)](_0x2850a0[_0x5ebc5d(0x619)]))],_0x17d8e2);var _0x42fa03=Object[_0x5ebc5d(0x552)],_0x176dab=Object[_0x5ebc5d(0x38b)],_0x5e506c=(_0xefc4e0,_0x1606c1,_0x208e10,_0x197e68)=>{for(var _0x27f78f=_0x197e68>0x1?void 0x0:_0x197e68?_0x176dab(_0x1606c1,_0x208e10):_0x1606c1,_0x4e8a86=_0xefc4e0['length']-0x1,_0x29e032;_0x4e8a86>=0x0;_0x4e8a86--)(_0x29e032=_0xefc4e0[_0x4e8a86])&&(_0x27f78f=(_0x197e68?_0x29e032(_0x1606c1,_0x208e10,_0x27f78f):_0x29e032(_0x27f78f))||_0x27f78f);return _0x197e68&&_0x27f78f&&_0x42fa03(_0x1606c1,_0x208e10,_0x27f78f),_0x27f78f;},_0x21a0cc=(_0x4e0111,_0x102632)=>(_0x5227fa,_0x1b6ba8)=>_0x102632(_0x5227fa,_0x1b6ba8,_0x4e0111);let _0x55aa83=class extends _0x204831[_0x5ebc5d(0x3e5)]{constructor(_0x4b86bc,_0x41a561,_0x21489e){const _0x234ba5=_0x5ebc5d;super(),_0x3d4e20(this,'_entities',new Map()),_0x3d4e20(this,'_entityInit$',new _0x2ea3f3[(_0x234ba5(0x31a))]()),(this[_0x234ba5(0x48f)]=_0x4b86bc,this['_injector']=_0x41a561,this['_collabSessionService']=_0x21489e,this[_0x234ba5(0x411)]());}[_0x5ebc5d(0x2dd)](){const _0xa8a21c=_0x5ebc5d;super['dispose'](),this['_entityInit$']['complete'](),this[_0xa8a21c(0x521)][_0xa8a21c(0x394)](_0x493e33=>_0x493e33[_0xa8a21c(0x2dd)]());}[_0x5ebc5d(0x4bd)](_0x3114c1){const _0x147c91=_0x5ebc5d;return this[_0x147c91(0x521)][_0x147c91(0x4ee)](_0x3114c1)?this[_0x147c91(0x521)][_0x147c91(0x222)](_0x3114c1)['cursorInfo$']:this[_0x147c91(0x475)][_0x147c91(0x30d)](_0x2ea3f3[_0x147c91(0x4ea)](_0x4c24e0=>_0x4c24e0[_0x147c91(0x4dc)]===_0x3114c1),_0x2ea3f3[_0x147c91(0x572)](_0x495464=>_0x495464[_0x147c91(0x1f5)]));}[_0x5ebc5d(0x411)](){const _0x5d49a6=_0x5ebc5d;this[_0x5d49a6(0x48f)][_0x5d49a6(0x39d)](_0x204831[_0x5d49a6(0x49b)][_0x5d49a6(0x49c)])[_0x5d49a6(0x30d)](_0x2ea3f3[_0x5d49a6(0x31f)](this['dispose$']))[_0x5d49a6(0x2e1)](async _0x14242f=>{const _0x4a4173=_0x5d49a6,_0x6edf19=_0x14242f[_0x4a4173(0x34b)](),_0x1dcb0b=await this[_0x4a4173(0x555)](_0x6edf19);this['_entityInit$'][_0x4a4173(0x50a)](_0x1dcb0b),this[_0x4a4173(0x521)][_0x4a4173(0x5a4)](_0x6edf19,_0x1dcb0b);}),this[_0x5d49a6(0x48f)][_0x5d49a6(0x39d)](_0x204831[_0x5d49a6(0x49b)][_0x5d49a6(0x3ef)])['pipe'](_0x2ea3f3[_0x5d49a6(0x31f)](this[_0x5d49a6(0x56d)]))[_0x5d49a6(0x30d)](_0x2ea3f3[_0x5d49a6(0x4ea)](_0x50e2a7=>!_0x50e2a7[_0x5d49a6(0x34b)]()[_0x5d49a6(0x583)]('__')))[_0x5d49a6(0x2e1)](async _0x4f78cb=>{const _0x59c7ea=_0x5d49a6,_0x4ecaca=_0x4f78cb[_0x59c7ea(0x34b)](),_0x2188ac=await this['_startDocCollabCursor'](_0x4ecaca);this[_0x59c7ea(0x475)][_0x59c7ea(0x50a)](_0x2188ac),this['_entities']['set'](_0x4ecaca,_0x2188ac);}),_0x2ea3f3[_0x5d49a6(0x559)](this[_0x5d49a6(0x48f)]['getTypeOfUnitDisposed$'](_0x204831[_0x5d49a6(0x49b)]['UNIVER_DOC']),this['_univerInstanceService'][_0x5d49a6(0x496)](_0x204831[_0x5d49a6(0x49b)]['UNIVER_SHEET']))['pipe'](_0x2ea3f3['takeUntil'](this[_0x5d49a6(0x56d)]))[_0x5d49a6(0x2e1)](_0x5f1f2f=>{const _0x5b5314=_0x5d49a6,_0x54bbe3=_0x5f1f2f[_0x5b5314(0x34b)](),_0x461ab8=this['_entities'][_0x5b5314(0x222)](_0x54bbe3);_0x461ab8&&(_0x461ab8[_0x5b5314(0x2dd)](),this[_0x5b5314(0x521)][_0x5b5314(0x51a)](_0x54bbe3));});}async[_0x5ebc5d(0x555)](_0x1ba408){const _0x29bc04=_0x5ebc5d,_0x271eac=await this[_0x29bc04(0x5ac)][_0x29bc04(0x4ed)](_0x1ba408),_0x49b8f2=this['_injector'][_0x29bc04(0x3c9)](_0x17d8e2,_0x1ba408,_0x271eac);return _0x49b8f2['init'](),_0x49b8f2;}async[_0x5ebc5d(0x3d3)](_0x15040d){const _0x179868=_0x5ebc5d,_0x16300c=await this[_0x179868(0x5ac)][_0x179868(0x4ed)](_0x15040d),_0x392e6b=this['_injector'][_0x179868(0x3c9)](_0x1f4fb7,_0x15040d,_0x16300c);return _0x392e6b[_0x179868(0x4ff)](),_0x392e6b;}};_0x55aa83=_0x5e506c([_0x21a0cc(0x0,_0x204831[_0x5ebc5d(0x335)]),_0x21a0cc(0x1,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x21a0cc(0x2,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x31c)]))],_0x55aa83);const _0x1dd480=0x14,_0xc33a52=0xc8,_0x5160c7=0x4,_0x2ad708=0x5;function _0x4a1705(_0x301b25,_0x5856c4){const _0x16343f=_0x5ebc5d;let {radius:_0x21d154,width:_0x312cc6,height:_0x429aad}=_0x5856c4;_0x21d154=_0x21d154!=null?_0x21d154:0x0,_0x312cc6=_0x312cc6!=null?_0x312cc6:0x1e,_0x429aad=_0x429aad!=null?_0x429aad:0x1e;let _0x1cb266=0x0,_0x33ea31=0x0,_0x3913b4=0x0;_0x1cb266=_0x33ea31=_0x3913b4=Math[_0x16343f(0x40f)](_0x21d154,_0x312cc6/0x2,_0x429aad/0x2),_0x301b25['beginPath'](),_0x301b25[_0x16343f(0x3c8)](_0x1cb266,0x0),_0x301b25[_0x16343f(0x2b4)](_0x312cc6-_0x33ea31,0x0),_0x301b25['arc'](_0x312cc6-_0x33ea31,_0x33ea31,_0x33ea31,Math['PI']*0x3/0x2,0x0,!0x1),_0x301b25[_0x16343f(0x2b4)](_0x312cc6,_0x429aad-_0x3913b4),_0x301b25[_0x16343f(0x262)](_0x312cc6-_0x3913b4,_0x429aad-_0x3913b4,_0x3913b4,0x0,Math['PI']/0x2,!0x1),_0x301b25[_0x16343f(0x2b4)](0x0,_0x429aad),_0x301b25['lineTo'](0x0,_0x1cb266),_0x301b25[_0x16343f(0x262)](_0x1cb266,_0x1cb266,_0x1cb266,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x301b25[_0x16343f(0x4ab)](),_0x5856c4['fill']&&(_0x301b25['save'](),_0x301b25['fillStyle']=_0x5856c4[_0x16343f(0x449)],_0x5856c4[_0x16343f(0x3e9)]===_0x16343f(0x5cd)?_0x301b25[_0x16343f(0x449)](_0x16343f(0x5cd)):_0x301b25[_0x16343f(0x449)](),_0x301b25[_0x16343f(0x4c5)]());}class _0x5d77df extends _0x98dfd7[_0x5ebc5d(0x30a)]{constructor(_0x1b2932,_0x23af20){const _0x656aca=_0x5ebc5d;super(_0x1b2932,_0x23af20),_0x3d4e20(this,_0x656aca(0x59b)),_0x3d4e20(this,_0x656aca(0x533)),(this[_0x656aca(0x59b)]=_0x23af20==null?void 0x0:_0x23af20['color'],this[_0x656aca(0x533)]=_0x23af20==null?void 0x0:_0x23af20[_0x656aca(0x533)]);}static[_0x5ebc5d(0x60b)](_0x27bd6a,_0x53a0c0){const _0x6d56a0=_0x5ebc5d,{text:_0x197707,color:_0x50c219}=_0x53a0c0;_0x27bd6a[_0x6d56a0(0x5d6)](),_0x27bd6a[_0x6d56a0(0x41d)]=_0x6d56a0(0x571);const _0x3c823e=_0x27bd6a['measureText'](_0x197707)[_0x6d56a0(0x5b3)],_0x36c641=Math[_0x6d56a0(0x40f)](_0x3c823e+0x2*_0x5160c7,_0xc33a52);_0x4a1705(_0x27bd6a,{'height':_0x1dd480,'radius':0x4,'width':_0x36c641,'fill':_0x50c219,'evented':!0x1}),_0x27bd6a[_0x6d56a0(0x1e9)]=_0x6d56a0(0x3a5);const _0x5868a1=_0x5160c7,_0x2f074f=_0x1dd480-_0x2ad708,_0x4c366b=_0xc33a52-0x2*_0x5160c7;if(_0x3c823e>_0x4c366b){let _0x19a692='',_0x89650a=0x0;for(const _0x12ea91 of _0x197707){const _0x20ebed=_0x27bd6a[_0x6d56a0(0x4c7)](_0x12ea91)[_0x6d56a0(0x5b3)];if(_0x89650a+_0x20ebed<=_0x4c366b-_0x27bd6a['measureText'](_0x6d56a0(0x5e0))[_0x6d56a0(0x5b3)])_0x19a692+=_0x12ea91,_0x89650a+=_0x20ebed;else{_0x19a692+='...';break;}}_0x27bd6a['fillText'](_0x19a692,_0x5868a1,_0x2f074f);}else _0x27bd6a['fillText'](_0x197707,_0x5868a1,_0x2f074f);_0x27bd6a[_0x6d56a0(0x4c5)]();}[_0x5ebc5d(0x20f)](_0x215bd7){const _0x3307b0=_0x5ebc5d;_0x5d77df[_0x3307b0(0x60b)](_0x215bd7,this);}}const _0x20e522=_0x5ebc5d(0x5f0),_0x472cac=_0x5ebc5d(0x498),_0x4e2f46=_0x5ebc5d(0x56b),_0x376233=0x6,_0x5e6310=1.5,_0x26c49f=0x4,_0x2456cd=1.5,_0x2da79b=_0x5ebc5d(0x5c3);class _0x1ca515{constructor(_0x1248aa,_0x818a44,_0x18a839,_0x30b111){const _0x4b8cc3=_0x5ebc5d;_0x3d4e20(this,'_shapes',[]),_0x3d4e20(this,_0x4b8cc3(0x5c0),null),_0x3d4e20(this,_0x4b8cc3(0x4a1),null),_0x3d4e20(this,_0x4b8cc3(0x213),null),_0x3d4e20(this,_0x4b8cc3(0x588),null),_0x3d4e20(this,'_eventUnsubscribe',null),(this[_0x4b8cc3(0x4a3)]=_0x1248aa,this[_0x4b8cc3(0x503)]=_0x818a44,this[_0x4b8cc3(0x32e)]=_0x18a839,this[_0x4b8cc3(0x2d0)]=_0x30b111,this[_0x4b8cc3(0x249)]());}set['_hover'](_0x58afde){const _0x131dfa=_0x5ebc5d;_0x58afde?(this[_0x131dfa(0x213)]&&this['_anchorDot'][_0x131dfa(0x477)](),this['_textBubble']&&this[_0x131dfa(0x4a1)]['show']()):(this[_0x131dfa(0x213)]&&this[_0x131dfa(0x213)][_0x131dfa(0x497)](),this[_0x131dfa(0x4a1)]&&this[_0x131dfa(0x4a1)][_0x131dfa(0x477)]());}[_0x5ebc5d(0x2dd)](){const _0x50ec76=_0x5ebc5d;for(const _0x2bcadd of this[_0x50ec76(0x20e)])_0x2bcadd[_0x50ec76(0x2dd)]();this[_0x50ec76(0x4a1)]&&this[_0x50ec76(0x4a1)][_0x50ec76(0x2dd)](),this[_0x50ec76(0x213)]&&this[_0x50ec76(0x213)][_0x50ec76(0x2dd)](),this['_anchor']&&this[_0x50ec76(0x5c0)][_0x50ec76(0x2dd)](),this[_0x50ec76(0x359)]&&this[_0x50ec76(0x359)]();}[_0x5ebc5d(0x249)](){const _0x4f905a=_0x5ebc5d;var _0x4a8490;const {_docSkeleton:_0x56eada,_document:_0x5a2f6c}=this,{color:_0x293b5e,name:_0x9cb5d4,ranges:_0x42dd07}=this[_0x4f905a(0x4a3)],_0x30d073=_0x5a2f6c[_0x4f905a(0x599)](),{docsLeft:_0x5c1da7,docsTop:_0x545f3e}=_0x30d073,_0x2d9157=new _0x2435e3['NodePositionConvertToCursor'](_0x30d073,_0x56eada);for(const {startOffset:_0xc54d8b,endOffset:_0x5c21f1,collapsed:_0x2edbe1,isActive:_0x9f561e}of _0x42dd07){const _0x541dc9=_0x56eada[_0x4f905a(0x269)](_0xc54d8b),_0x20ae22=_0x56eada[_0x4f905a(0x269)](_0x5c21f1);if(_0x9f561e){const {contentBoxPointGroup:_0x2ab1a3}=_0x2d9157[_0x4f905a(0x4c2)](_0x20ae22,_0x20ae22);if(_0x2ab1a3['length']===0x0)continue;this[_0x4f905a(0x376)](_0x293b5e,_0x2ab1a3,_0x5c1da7,_0x545f3e,_0x9cb5d4),this[_0x4f905a(0x359)]=this[_0x4f905a(0x577)]();}if(!_0x2edbe1&&_0x541dc9&&_0x20ae22){if(_0x2435e3['isValidRectRange'](_0x541dc9,_0x20ae22)){const _0x23e6aa=new _0x2435e3['NodePositionConvertToRectRange'](_0x30d073,_0x56eada),{pointGroup:_0x34f9a1}=(_0x4a8490=_0x23e6aa['getRangePointData'](_0x541dc9,_0x20ae22))!=null?_0x4a8490:{};if(_0x34f9a1==null||_0x34f9a1[_0x4f905a(0x522)]===0x0)continue;this['_drawRectRange'](_0x293b5e,_0x34f9a1,_0x5c1da7,_0x545f3e);}else{const {contentBoxPointGroup:_0x5323ac}=_0x2d9157['getRangePointData'](_0x541dc9,_0x20ae22);if(_0x5323ac[_0x4f905a(0x522)]===0x0)continue;this[_0x4f905a(0x43b)](_0x293b5e,_0x5323ac,_0x5c1da7,_0x545f3e);}}}}['_drawAnchor'](_0x2efd68,_0x38e750,_0x5c8fa8,_0x5052ad,_0x2720d0){const _0x5f2eea=_0x5ebc5d,_0x3744f8=this[_0x5f2eea(0x472)](_0x38e750),{left:_0x443b5a,top:_0x51d0bd,height:_0x25ed3b}=_0x3744f8,_0x5235b8=this[_0x5f2eea(0x37c)](),_0x367857=_0x2456cd/_0x5235b8,_0x6cd040=new _0x98dfd7[(_0x5f2eea(0x3cb))](_0x20e522+_0x204831['Tools'][_0x5f2eea(0x59c)](_0x376233),{'left':_0x443b5a+_0x5c8fa8-_0x367857,'top':_0x51d0bd+_0x5052ad,'height':_0x25ed3b,'width':_0x5e6310,'fill':_0x2efd68||_0x98dfd7['getColor'](_0x204831[_0x5f2eea(0x5a2)][_0x5f2eea(0x35c)],0x0),'strokeWidth':_0x367857,'stroke':_0x2da79b,'evented':!0x0});this[_0x5f2eea(0x5c0)]=_0x6cd040,this[_0x5f2eea(0x503)][_0x5f2eea(0x4a9)](_0x6cd040,_0x2435e3['TEXT_RANGE_LAYER_INDEX']);const _0x11361f=new _0x98dfd7[(_0x5f2eea(0x3cb))](_0x20e522+_0x204831['Tools'][_0x5f2eea(0x59c)](_0x376233),{'left':_0x443b5a+_0x5c8fa8-_0x367857,'top':_0x51d0bd+_0x5052ad-_0x26c49f/0x2,'height':_0x26c49f,'width':_0x26c49f,'fill':_0x2efd68||_0x98dfd7['getColor'](_0x204831[_0x5f2eea(0x5a2)][_0x5f2eea(0x35c)],0x0),'strokeWidth':0x0,'stroke':_0x2efd68||_0x98dfd7[_0x5f2eea(0x468)](_0x204831[_0x5f2eea(0x5a2)][_0x5f2eea(0x35c)],0x0),'evented':!0x1});this[_0x5f2eea(0x213)]=_0x11361f,this[_0x5f2eea(0x503)][_0x5f2eea(0x4a9)](_0x11361f,_0x2435e3[_0x5f2eea(0x24a)]);const _0xf25465=new _0x5d77df(_0x20e522+_0x204831[_0x5f2eea(0x4b0)][_0x5f2eea(0x59c)](_0x376233),{'left':_0x443b5a+_0x5c8fa8-_0x367857,'top':_0x51d0bd+_0x5052ad-_0x1dd480,'text':_0x2720d0,'color':_0x2efd68});this[_0x5f2eea(0x4a1)]=_0xf25465,this['_scene'][_0x5f2eea(0x4a9)](_0xf25465,_0x2435e3['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0xbc009b=_0x5ebc5d,_0x3f7a19=this[_0xbc009b(0x5c0)]['onPointerEnter$'][_0xbc009b(0x370)](()=>{const _0x2df4be=_0xbc009b;this[_0x2df4be(0x1f6)]=!0x0;}),_0x5ea1c8=this['_anchor'][_0xbc009b(0x3cd)][_0xbc009b(0x370)](()=>{const _0x47f15f=_0xbc009b;this[_0x47f15f(0x588)]&&clearTimeout(this[_0x47f15f(0x588)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x160827=_0xbc009b;_0x3f7a19[_0x160827(0x291)](),_0x5ea1c8['unsubscribe']();};}[_0x5ebc5d(0x43b)](_0xd2d648,_0x30595b,_0x30c370,_0x1909d7){const _0x24ec8a=_0x5ebc5d,_0x3c0a6b=new _0x204831[(_0x24ec8a(0x36a))](_0xd2d648)[_0x24ec8a(0x1fb)](0.2)[_0x24ec8a(0x5cc)](),_0x406067=new _0x98dfd7[(_0x24ec8a(0x440))](_0x472cac+_0x204831[_0x24ec8a(0x4b0)][_0x24ec8a(0x59c)](_0x376233),{'pointsGroup':_0x30595b,'fill':_0x3c0a6b||_0x98dfd7[_0x24ec8a(0x468)](_0x204831[_0x24ec8a(0x5a2)][_0x24ec8a(0x35c)],0.2),'left':_0x30c370,'top':_0x1909d7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24ec8a(0x20e)][_0x24ec8a(0x479)](_0x406067),this['_scene']['addObject'](_0x406067,_0x2435e3[_0x24ec8a(0x24a)]);}['_drawRectRange'](_0x3b8c9d,_0x3bd4ed,_0xdbeb41,_0x3df912){const _0x4a192b=_0x5ebc5d,_0x2cbb22=new _0x204831[(_0x4a192b(0x36a))](_0x3b8c9d)[_0x4a192b(0x1fb)](0.2)[_0x4a192b(0x5cc)](),_0x2451e9=new _0x98dfd7['RegularPolygon'](_0x4e2f46+_0x204831['Tools'][_0x4a192b(0x59c)](_0x376233),{'pointsGroup':_0x3bd4ed,'fill':_0x2cbb22||_0x98dfd7[_0x4a192b(0x468)](_0x204831[_0x4a192b(0x5a2)]['black'],0.2),'left':_0xdbeb41,'top':_0x3df912,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a192b(0x20e)]['push'](_0x2451e9),this[_0x4a192b(0x503)]['addObject'](_0x2451e9,_0x2435e3[_0x4a192b(0x24a)]);}['_getAnchorBounding'](_0x160623){const _0x5cdea9=_0x160623[0x0],_0x3ef620=_0x5cdea9[0x0],_0x42e762=_0x5cdea9[0x2],{x:_0x84bd68,y:_0x517b6e}=_0x3ef620,{x:_0x450647,y:_0x26f500}=_0x42e762;return{'left':_0x84bd68,'top':_0x517b6e,'width':_0x450647-_0x84bd68,'height':_0x26f500-_0x517b6e};}[_0x5ebc5d(0x37c)](){const _0xb57a24=_0x5ebc5d,{scaleX:_0x5ac69a,scaleY:_0x402b7b}=this[_0xb57a24(0x503)][_0xb57a24(0x40b)]();return Math['max'](_0x5ac69a,_0x402b7b);}}var _0x58fb60=Object[_0x5ebc5d(0x552)],_0x104766=Object[_0x5ebc5d(0x38b)],_0x31ae50=(_0xc1b4c6,_0x2398b0,_0x536f81,_0x1a412b)=>{const _0x572b02=_0x5ebc5d;for(var _0x33dab7=_0x1a412b>0x1?void 0x0:_0x1a412b?_0x104766(_0x2398b0,_0x536f81):_0x2398b0,_0x56a142=_0xc1b4c6[_0x572b02(0x522)]-0x1,_0x2e6927;_0x56a142>=0x0;_0x56a142--)(_0x2e6927=_0xc1b4c6[_0x56a142])&&(_0x33dab7=(_0x1a412b?_0x2e6927(_0x2398b0,_0x536f81,_0x33dab7):_0x2e6927(_0x33dab7))||_0x33dab7);return _0x1a412b&&_0x33dab7&&_0x58fb60(_0x2398b0,_0x536f81,_0x33dab7),_0x33dab7;},_0x41eb48=(_0x3e38f7,_0x2082b0)=>(_0xff2dc7,_0x57798c)=>_0x2082b0(_0xff2dc7,_0x57798c,_0x3e38f7);let _0x3a3963=class extends _0x204831[_0x5ebc5d(0x3e5)]{constructor(_0x2bd1cb,_0x60d290,_0x16b706,_0x87c3ec,_0x547f64){const _0x57252e=_0x5ebc5d;super(),_0x3d4e20(this,_0x57252e(0x1eb),[]),_0x3d4e20(this,_0x57252e(0x33f),[]),(this[_0x57252e(0x3e7)]=_0x2bd1cb,this[_0x57252e(0x5bc)]=_0x60d290,this['_collabCursorController']=_0x16b706,this[_0x57252e(0x5f3)]=_0x87c3ec,this[_0x57252e(0x4eb)]=_0x547f64,this[_0x57252e(0x411)]());}[_0x5ebc5d(0x411)](){const _0x5210c8=_0x5ebc5d,_0x4d0a6d=this[_0x5210c8(0x3e7)][_0x5210c8(0x52a)],_0x15d179=this[_0x5210c8(0x5bc)];this[_0x5210c8(0x382)](_0x2ea3f3[_0x5210c8(0x5fa)]([this[_0x5210c8(0x2d2)][_0x5210c8(0x4bd)](_0x4d0a6d),this[_0x5210c8(0x4eb)]['currentTheme$']])['pipe'](_0x452c71[_0x5210c8(0x5ef)](([_0x8478e7,_0x46c995])=>({'skeleton':_0x15d179[_0x5210c8(0x55b)](),'cursors':[..._0x8478e7[_0x5210c8(0x48c)]()][_0x5210c8(0x28c)](_0x34ae5d=>({..._0x34ae5d,'color':_0x46c995[_0x34ae5d[_0x5210c8(0x59b)]]}))})))[_0x5210c8(0x2e1)](_0x5bbc53=>{const _0x1f6523=_0x5210c8;if(this[_0x1f6523(0x3b7)](),_0x5bbc53){const {skeleton:_0x84ca4c,cursors:_0x3b760c}=_0x5bbc53;this[_0x1f6523(0x4ca)](_0x84ca4c,_0x3b760c);}})),this[_0x5210c8(0x395)](),this['_initCommandExecutedListener']();}[_0x5ebc5d(0x4ca)](_0x1d2fe3,_0xe59401){const _0x209b6f=_0x5ebc5d,{scene:_0x501f52,mainComponent:_0x5d831b}=this['_context'],_0x4fc97e=_0xe59401['map'](_0x4cb8a5=>new _0x1ca515(_0x4cb8a5,_0x501f52,_0x1d2fe3,_0x5d831b));this[_0x209b6f(0x1eb)]=_0x4fc97e,this[_0x209b6f(0x33f)]=_0xe59401;}[_0x5ebc5d(0x57f)](){const _0x45faa0=_0x5ebc5d;this[_0x45faa0(0x3b7)]();const {scene:_0x15cd58,mainComponent:_0xf28844}=this['_context'],_0xefe579=this['_docSkeletonManagerService'][_0x45faa0(0x55b)](),_0x3b6205=this[_0x45faa0(0x33f)][_0x45faa0(0x5ef)](_0x551d99=>new _0x1ca515(_0x551d99,_0x15cd58,_0xefe579,_0xf28844));this[_0x45faa0(0x1eb)]=_0x3b6205;}[_0x5ebc5d(0x3b7)](){const _0x118e53=_0x5ebc5d;this['_cursorShapes'][_0x118e53(0x394)](_0x2430be=>_0x2430be['dispose']()),this[_0x118e53(0x1eb)]=[];}[_0x5ebc5d(0x471)](){const _0x3c16ee=_0x5ebc5d,_0x415870=[_0x2435e3[_0x3c16ee(0x27c)]['id']];this[_0x3c16ee(0x382)](this[_0x3c16ee(0x5f3)][_0x3c16ee(0x3b3)](_0x4fd04b=>{const _0x1f9d37=_0x3c16ee;_0x415870[_0x1f9d37(0x407)](_0x4fd04b['id'])&&_0x4fd04b[_0x1f9d37(0x208)][_0x1f9d37(0x52a)]===this['_context'][_0x1f9d37(0x52a)]&&this[_0x1f9d37(0x57f)]();}));}[_0x5ebc5d(0x395)](){const _0x1fe7d5=_0x5ebc5d;this[_0x1fe7d5(0x382)](_0x204831[_0x1fe7d5(0x41b)](this[_0x1fe7d5(0x3e7)]['engine'][_0x1fe7d5(0x512)])[_0x1fe7d5(0x30d)](_0x452c71[_0x1fe7d5(0x4ea)](_0x175836=>_0x175836[_0x1fe7d5(0x28e)]===_0x98dfd7['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x452c71['throttleTime'](0x10))[_0x1fe7d5(0x2e1)](()=>{const _0x5beb24=_0x1fe7d5;this[_0x5beb24(0x57f)]();}));}};_0x3a3963=_0x31ae50([_0x41eb48(0x1,_0x204831['Inject'](_0x1d1bc4['DocSkeletonManagerService'])),_0x41eb48(0x2,_0x204831['Inject'](_0x55aa83)),_0x41eb48(0x3,_0x204831['ICommandService']),_0x41eb48(0x4,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['ThemeService']))],_0x3a3963);const _0x1fe137=0x1,_0xe1ff97=1.5;class _0x196d83 extends _0x98dfd7['Shape']{constructor(_0xaf015,_0x50ddac){const _0xa539a1=_0x5ebc5d;super(_0xaf015,_0x50ddac),_0x3d4e20(this,_0xa539a1(0x267)),_0x3d4e20(this,_0xa539a1(0x464),!0x1),_0x3d4e20(this,_0xa539a1(0x5f2)),_0x3d4e20(this,_0xa539a1(0x519),''),_0x3d4e20(this,_0xa539a1(0x40c),_0xa539a1(0x5a8)),_0x3d4e20(this,'_backgroundColor'),(_0x50ddac&&this['setShapeProps'](_0x50ddac),this[_0xa539a1(0x441)][_0xa539a1(0x370)](()=>this[_0xa539a1(0x2a7)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0xa539a1(0x2a7)]({'hovered':!0x1})));}[_0x5ebc5d(0x2a7)](_0x90234f){const _0x42e2a1=_0x5ebc5d;var _0x2c0707,_0x3b0a21,_0x28450f,_0x250f24,_0x517555,_0x547919;this['_color']=(_0x2c0707=_0x90234f[_0x42e2a1(0x59b)])!=null?_0x2c0707:this[_0x42e2a1(0x267)],this[_0x42e2a1(0x464)]=(_0x3b0a21=_0x90234f[_0x42e2a1(0x277)])!=null?_0x3b0a21:this[_0x42e2a1(0x464)],this[_0x42e2a1(0x5f2)]=(_0x28450f=_0x90234f[_0x42e2a1(0x2b1)])!=null?_0x28450f:this[_0x42e2a1(0x5f2)],this[_0x42e2a1(0x519)]=(_0x250f24=_0x90234f[_0x42e2a1(0x51e)])!=null?_0x250f24:this[_0x42e2a1(0x519)],this[_0x42e2a1(0x40c)]=(_0x517555=_0x90234f[_0x42e2a1(0x37a)])!=null?_0x517555:this[_0x42e2a1(0x40c)],this[_0x42e2a1(0x38a)]=(_0x547919=_0x90234f[_0x42e2a1(0x40d)])!=null?_0x547919:this['_backgroundColor'],this[_0x42e2a1(0x3d8)]({'width':_0x90234f['width'],'height':_0x90234f['height']});}[_0x5ebc5d(0x5a7)](_0x21c5f0){const _0x12ee75=_0x5ebc5d,{row:_0x3b41b4,column:_0x19634b}=_0x21c5f0;if(_0x3b41b4>=this[_0x12ee75(0x5f2)][_0x12ee75(0x525)]&&_0x3b41b4<=this[_0x12ee75(0x5f2)][_0x12ee75(0x4f0)]&&_0x19634b>=this[_0x12ee75(0x5f2)][_0x12ee75(0x232)]&&_0x19634b<=this['_range'][_0x12ee75(0x30e)]){this[_0x12ee75(0x2a7)]({'hovered':!0x0});return;}this[_0x12ee75(0x2a7)]({'hovered':!0x1});}[_0x5ebc5d(0x59f)](_0x3534fc){return!0x1;}['_draw'](_0x33bbad){const _0x1e18f9=_0x5ebc5d;_0x98dfd7[_0x1e18f9(0x3cb)][_0x1e18f9(0x60b)](_0x33bbad,{'width':this[_0x1e18f9(0x5b3)],'height':this['height'],'strokeWidth':_0xe1ff97,'stroke':this[_0x1e18f9(0x267)],'evented':!0x1,'fill':this[_0x1e18f9(0x38a)]}),this['_hovered']&&(_0x33bbad['save'](),_0x33bbad[_0x1e18f9(0x437)](0x1,0x0,0x0,0x1,this[_0x1e18f9(0x5b3)],this['_labelPosition']===_0x1e18f9(0x337)?0x0:-_0x1dd480),_0x5d77df[_0x1e18f9(0x60b)](_0x33bbad,{'text':this['_name'],'color':this[_0x1e18f9(0x267)]}),_0x33bbad[_0x1e18f9(0x4c5)]());}}var _0x2a8742=Object[_0x5ebc5d(0x552)],_0x12dc96=Object[_0x5ebc5d(0x38b)],_0x48d11c=(_0x1b5db0,_0x3d157f,_0x55f63f,_0x4b8d17)=>{const _0x166add=_0x5ebc5d;for(var _0x47940f=_0x4b8d17>0x1?void 0x0:_0x4b8d17?_0x12dc96(_0x3d157f,_0x55f63f):_0x3d157f,_0x3fe9e2=_0x1b5db0[_0x166add(0x522)]-0x1,_0x59a2d1;_0x3fe9e2>=0x0;_0x3fe9e2--)(_0x59a2d1=_0x1b5db0[_0x3fe9e2])&&(_0x47940f=(_0x4b8d17?_0x59a2d1(_0x3d157f,_0x55f63f,_0x47940f):_0x59a2d1(_0x47940f))||_0x47940f);return _0x4b8d17&&_0x47940f&&_0x2a8742(_0x3d157f,_0x55f63f,_0x47940f),_0x47940f;},_0x52961c=(_0x2db41c,_0x543213)=>(_0x1d76cf,_0x2acee8)=>_0x543213(_0x1d76cf,_0x2acee8,_0x2db41c);const _0x21ec64=0x1389;let _0x25db3a=class extends _0x204831[_0x5ebc5d(0x3e5)]{constructor(_0x19449a,_0xb6e483,_0x2a4a46,_0x1a6db4){const _0x150167=_0x5ebc5d;super(),_0x3d4e20(this,_0x150167(0x33f),new Set()),_0x3d4e20(this,_0x150167(0x5a0),null),(this[_0x150167(0x3e7)]=_0x19449a,this[_0x150167(0x33c)]=_0xb6e483,this[_0x150167(0x2d2)]=_0x2a4a46,this[_0x150167(0x4eb)]=_0x1a6db4,this[_0x150167(0x411)]());}['_init'](){const _0x2c8369=_0x5ebc5d;this[_0x2c8369(0x33c)][_0x2c8369(0x429)][_0x2c8369(0x30d)](_0x452c71[_0x2c8369(0x31f)](this[_0x2c8369(0x56d)]),_0x452c71[_0x2c8369(0x572)](_0x284d18=>{const _0x3cd3d0=_0x2c8369;if(_0x284d18){const _0x13e647=_0x284d18[_0x3cd3d0(0x233)];return _0x2ea3f3[_0x3cd3d0(0x5fa)](this['_collabCursorController'][_0x3cd3d0(0x4bd)](this[_0x3cd3d0(0x3e7)][_0x3cd3d0(0x52a)]),this['_themeService'][_0x3cd3d0(0x28b)])[_0x3cd3d0(0x30d)](_0x452c71[_0x3cd3d0(0x5ef)](([_0x3fe544,_0x53d9bb])=>{const _0xed93a7=new Map();return _0x3fe544['forEach']((_0x4b7270,_0x45d7d0)=>{const _0x44976a=_0x1c68;if(_0x4b7270[_0x44976a(0x482)]===_0x13e647){const _0x1940b0={..._0x4b7270};_0x1940b0[_0x44976a(0x59b)]=_0x53d9bb[_0x4b7270[_0x44976a(0x59b)]],_0xed93a7[_0x44976a(0x5a4)](_0x45d7d0,_0x1940b0);}}),{'skeleton':_0x284d18,'cursors':_0xed93a7};}));}return _0x2ea3f3['of']({'skeleton':null,'cursors':new Map()});}))[_0x2c8369(0x2e1)](({skeleton:_0x23342f,cursors:_0x244dfa})=>{const _0xd3d24f=_0x2c8369;this[_0xd3d24f(0x3b7)](),_0x23342f&&this[_0xd3d24f(0x4ca)](_0x23342f,_0x244dfa);}),this[_0x2c8369(0x33c)][_0x2c8369(0x429)][_0x2c8369(0x2e1)](_0x414386=>{const _0x375e0d=_0x2c8369;if(_0x414386==null)return;const {skeleton:_0x270234}=_0x414386,{scene:_0x4a3862}=this['_context'];_0x4a3862['onPointerMove$'][_0x375e0d(0x370)](_0x204831[_0x375e0d(0x406)](_0x55d6e0=>{const _0x2e851a=_0x375e0d;var _0x485580,_0x7cbe0a;const {offsetX:_0x29a058,offsetY:_0x5c984c}=_0x55d6e0,{x:_0x3215d9,y:_0x33b15f}=_0x4a3862[_0x2e851a(0x4f9)](_0x98dfd7[_0x2e851a(0x350)]['FromArray']([_0x29a058,_0x5c984c])),{scaleX:_0x543556,scaleY:_0x139bfd}=_0x4a3862[_0x2e851a(0x40b)](),_0x2b220d=_0x4a3862['getViewport'](_0x58dbff[_0x2e851a(0x611)][_0x2e851a(0x36e)]),_0x1f1844=_0x4a3862[_0x2e851a(0x4ac)](_0x98dfd7[_0x2e851a(0x350)][_0x2e851a(0x26f)]([_0x3215d9,_0x33b15f]),_0x2b220d),_0x164db1=_0x270234[_0x2e851a(0x603)](_0x29a058,_0x5c984c,_0x543556,_0x139bfd,_0x1f1844);((_0x485580=this['_lastPointer'])==null?void 0x0:_0x485580[_0x2e851a(0x60f)])===_0x164db1[_0x2e851a(0x60f)]&&((_0x7cbe0a=this[_0x2e851a(0x5a0)])==null?void 0x0:_0x7cbe0a[_0x2e851a(0x35f)])===_0x164db1[_0x2e851a(0x35f)]||this[_0x2e851a(0x33f)][_0x2e851a(0x394)](_0x256297=>{const _0x232203=_0x2e851a;_0x256297[_0x232203(0x5a7)](_0x164db1);});},0x64));});}['_updateCollabCursors'](_0x42102f,_0x16edd8){const _0x3d81ee=_0x5ebc5d;var _0xb7a591;const _0x5572c3=(_0xb7a591=this[_0x3d81ee(0x33c)][_0x3d81ee(0x538)]())==null?void 0x0:_0xb7a591[_0x3d81ee(0x44f)];if(!_0x5572c3)return;const _0x577ecb=this['_getSheetObject']();if(!_0x577ecb)return;this[_0x3d81ee(0x33f)][_0x3d81ee(0x394)](_0x648c9f=>{const _0x60085=_0x3d81ee;_0x648c9f[_0x60085(0x545)]();});const {scene:_0x30d521}=_0x577ecb,_0x402d27=_0x4322be(Array[_0x3d81ee(0x231)](_0x16edd8[_0x3d81ee(0x48c)]()))[_0x3d81ee(0x5ef)](_0x3b58c4=>{const _0x39740a=_0x3d81ee,{color:_0x6ca3e9,range:_0x5840db,name:_0x2ee273,selection:_0x4465e5,sheetID:_0x121f77}=_0x3b58c4,{startColumn:_0xf18aa7,startRow:_0x500e7d,endColumn:_0x389a2b,endRow:_0x415b08}=_0x5840db,_0x171314=_0x58dbff[_0x39740a(0x2e2)](_0x500e7d,_0xf18aa7,_0x30d521,_0x5572c3),_0x2358c6=_0x58dbff[_0x39740a(0x2e2)](_0x415b08,_0x389a2b,_0x30d521,_0x5572c3),{columnHeaderHeightAndMarginTop:_0x552a63}=_0x5572c3,{startX:_0x1bce2e,startY:_0x58f2d8}=_0x171314,{endX:_0x43b3f1,endY:_0x21987b}=_0x2358c6,_0xf2dd43=_0x43b3f1-_0x1bce2e,_0x3f9491=_0x21987b-_0x58f2d8,_0x1a002d={'labelPosition':_0x58f2d8-_0x552a63>=_0x1dd480?'top':_0x39740a(0x337),'sheetID':_0x121f77,'range':_0x5840db,'color':_0x6ca3e9,'name':_0x2ee273,'selection':_0x4465e5,'left':_0x1bce2e,'top':_0x58f2d8,'width':_0xf2dd43,'height':_0x3f9491,'evented':!0x1,'zIndex':_0x21ec64};return new _0x196d83(_0x2ee273,_0x1a002d);});_0x30d521['addObjects'](_0x402d27,_0x1fe137),this[_0x3d81ee(0x33f)]=new Set(_0x402d27);}[_0x5ebc5d(0x3b7)](){const _0x2836dc=_0x5ebc5d;var _0x3ee665;(_0x3ee665=this['_cursors'])==null||_0x3ee665[_0x2836dc(0x394)](_0x300a55=>_0x300a55[_0x2836dc(0x2dd)]());}[_0x5ebc5d(0x293)](){const _0x2d4182=_0x5ebc5d;return _0x58dbff[_0x2d4182(0x2d1)](this[_0x2d4182(0x3e7)][_0x2d4182(0x305)],this[_0x2d4182(0x3e7)]);}};_0x25db3a=_0x48d11c([_0x52961c(0x1,_0x204831['Inject'](_0x58dbff[_0x5ebc5d(0x491)])),_0x52961c(0x2,_0x204831[_0x5ebc5d(0x5cf)](_0x55aa83)),_0x52961c(0x3,_0x204831['Inject'](_0x204831[_0x5ebc5d(0x2bf)]))],_0x25db3a);function _0x4322be(_0x3b304d){const _0x543e18=_0x5ebc5d,_0x3794e6=new Map();return _0x3b304d[_0x543e18(0x394)](_0x443256=>{const _0x406c57=_0x543e18;if(_0x3794e6[_0x406c57(0x4ee)](_0x443256[_0x406c57(0x261)])){const _0x35ea25=_0x3794e6[_0x406c57(0x222)](_0x443256[_0x406c57(0x261)]);_0x35ea25['name']+=',\x20'+_0x443256[_0x406c57(0x51e)];}else _0x3794e6['set'](_0x443256['selection'],_0x443256);}),Array[_0x543e18(0x231)](_0x3794e6[_0x543e18(0x48c)]());}var _0x7b8824=function(){const _0x1db695=_0x5ebc5d;return _0x7b8824=Object[_0x1db695(0x4df)]||function(_0x1f9cc4){const _0x51e9c8=_0x1db695;for(var _0x44b4c5,_0x390be0=0x1,_0x1afd2c=arguments[_0x51e9c8(0x522)];_0x390be0<_0x1afd2c;_0x390be0++){_0x44b4c5=arguments[_0x390be0];for(var _0x5aac84 in _0x44b4c5)Object['prototype']['hasOwnProperty'][_0x51e9c8(0x51f)](_0x44b4c5,_0x5aac84)&&(_0x1f9cc4[_0x5aac84]=_0x44b4c5[_0x5aac84]);}return _0x1f9cc4;},_0x7b8824[_0x1db695(0x57d)](this,arguments);},_0x244bb4=function(_0x3447d0,_0x57fc51){const _0x147756=_0x5ebc5d;var _0x332224={};for(var _0x483167 in _0x3447d0)Object[_0x147756(0x490)][_0x147756(0x554)][_0x147756(0x51f)](_0x3447d0,_0x483167)&&_0x57fc51['indexOf'](_0x483167)<0x0&&(_0x332224[_0x483167]=_0x3447d0[_0x483167]);if(_0x3447d0!=null&&typeof Object[_0x147756(0x609)]==_0x147756(0x206)){for(var _0x321222=0x0,_0x483167=Object[_0x147756(0x609)](_0x3447d0);_0x321222<_0x483167[_0x147756(0x522)];_0x321222++)_0x57fc51[_0x147756(0x4fa)](_0x483167[_0x321222])<0x0&&Object[_0x147756(0x490)][_0x147756(0x5ca)]['call'](_0x3447d0,_0x483167[_0x321222])&&(_0x332224[_0x483167[_0x321222]]=_0x3447d0[_0x483167[_0x321222]]);}return _0x332224;},_0x2c1631=_0x4d8650[_0x5ebc5d(0x295)](function(_0x2fd25b,_0x422af5){const _0x530ec7=_0x5ebc5d;var _0x386625=_0x2fd25b['icon'],_0x20b6b5=_0x2fd25b['id'],_0x679608=_0x2fd25b[_0x530ec7(0x33e)],_0x2d4b9c=_0x2fd25b[_0x530ec7(0x302)],_0x52904d=_0x244bb4(_0x2fd25b,[_0x530ec7(0x548),'id',_0x530ec7(0x33e),_0x530ec7(0x302)]),_0x5bfa20=_0x530ec7(0x333)[_0x530ec7(0x529)](_0x20b6b5,'\x20')[_0x530ec7(0x529)](_0x679608||'')[_0x530ec7(0x270)](),_0x2098f6=_0x4d8650['useRef']('_'[_0x530ec7(0x529)](_0x3c13ee()));return _0x1e0779(_0x386625,''[_0x530ec7(0x529)](_0x20b6b5),{'defIds':_0x386625[_0x530ec7(0x5e7)],'idSuffix':_0x2098f6[_0x530ec7(0x568)]},_0x7b8824({'ref':_0x422af5,'className':_0x5bfa20},_0x52904d),_0x2d4b9c);});function _0x1e0779(_0x4301a6,_0x2ea73b,_0x2aec4b,_0x2eb951,_0x171dab){const _0x253543=_0x5ebc5d;return _0x4d8650[_0x253543(0x532)](_0x4301a6[_0x253543(0x402)],_0x7b8824(_0x7b8824({'key':_0x2ea73b},_0x3efbe0(_0x4301a6,_0x2aec4b,_0x171dab)),_0x2eb951),(_0x38c88e(_0x4301a6,_0x2aec4b)['children']||[])[_0x253543(0x5ef)](function(_0x473abd,_0x1d837f){const _0x4255bf=_0x253543;return _0x1e0779(_0x473abd,''[_0x4255bf(0x529)](_0x2ea73b,'-')[_0x4255bf(0x529)](_0x4301a6[_0x4255bf(0x402)],'-')[_0x4255bf(0x529)](_0x1d837f),_0x2aec4b,void 0x0,_0x171dab);}));}function _0x3efbe0(_0x389bcf,_0x32dbbe,_0x31e76e){const _0x1d1129=_0x5ebc5d;var _0x227067=_0x7b8824({},_0x389bcf[_0x1d1129(0x2c4)]);_0x31e76e!=null&&_0x31e76e['colorChannel1']&&_0x227067[_0x1d1129(0x449)]===_0x1d1129(0x2c6)&&(_0x227067[_0x1d1129(0x449)]=_0x31e76e[_0x1d1129(0x2c6)]);var _0x13da44=_0x32dbbe[_0x1d1129(0x5e7)];return!_0x13da44||_0x13da44[_0x1d1129(0x522)]===0x0||(_0x389bcf[_0x1d1129(0x402)]==='use'&&_0x227067['xlink:href']&&(_0x227067['xlink:href']=_0x227067['xlink:href']+_0x32dbbe[_0x1d1129(0x5e4)]),Object[_0x1d1129(0x237)](_0x227067)[_0x1d1129(0x394)](function(_0x1be20b){const _0x1a69b4=_0x1d1129;var _0x45c70e=_0x1be20b[0x0],_0xd78559=_0x1be20b[0x1];typeof _0xd78559==_0x1a69b4(0x508)&&(_0x227067[_0x45c70e]=_0xd78559[_0x1a69b4(0x3b9)](/url\(#(.*)\)/,_0x1a69b4(0x5c2)[_0x1a69b4(0x529)](_0x32dbbe[_0x1a69b4(0x5e4)],')')));})),_0x227067;}function _0x38c88e(_0xb177e6,_0xc2aec){const _0x536ed1=_0x5ebc5d;var _0x20e39e,_0x44a63a=_0xc2aec[_0x536ed1(0x5e7)];return!_0x44a63a||_0x44a63a[_0x536ed1(0x522)]===0x0?_0xb177e6:_0xb177e6[_0x536ed1(0x402)]===_0x536ed1(0x4d2)&&(!((_0x20e39e=_0xb177e6['children'])===null||_0x20e39e===void 0x0)&&_0x20e39e[_0x536ed1(0x522)])?_0x7b8824(_0x7b8824({},_0xb177e6),{'children':_0xb177e6[_0x536ed1(0x364)][_0x536ed1(0x5ef)](function(_0x5d3c19){const _0x2eddbd=_0x536ed1;return typeof _0x5d3c19[_0x2eddbd(0x2c4)]['id']==_0x2eddbd(0x508)&&_0x44a63a&&_0x44a63a[_0x2eddbd(0x4fa)](_0x5d3c19['attrs']['id'])>-0x1?_0x7b8824(_0x7b8824({},_0x5d3c19),{'attrs':_0x7b8824(_0x7b8824({},_0x5d3c19['attrs']),{'id':_0x5d3c19[_0x2eddbd(0x2c4)]['id']+_0xc2aec[_0x2eddbd(0x5e4)]})}):_0x5d3c19;})}):_0xb177e6;}function _0x3c13ee(){const _0x5d6925=_0x5ebc5d;return Math[_0x5d6925(0x354)]()['toString'](0x24)[_0x5d6925(0x3af)](0x2,0x8);}_0x2c1631[_0x5ebc5d(0x46b)]=_0x5ebc5d(0x489);var _0x3495b9={'tag':'svg','attrs':{'fill':_0x5ebc5d(0x52b),'viewBox':'0\x200\x2016\x2016','width':_0x5ebc5d(0x22e),'height':_0x5ebc5d(0x22e)},'children':[{'tag':'g','attrs':{'clipPath':_0x5ebc5d(0x2ef)},'children':[{'tag':_0x5ebc5d(0x3ed),'attrs':{'stroke':'currentColor','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':_0x5ebc5d(0x1ea),'strokeLinejoin':_0x5ebc5d(0x1ea),'strokeWidth':1.2}}]},{'tag':_0x5ebc5d(0x4d2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5ebc5d(0x2b5)},'children':[{'tag':_0x5ebc5d(0x3ed),'attrs':{'fill':_0x5ebc5d(0x527),'d':_0x5ebc5d(0x560)}}]}]}],'defIds':[_0x5ebc5d(0x2b5)]},_0x15957d=_0x4d8650[_0x5ebc5d(0x295)](function(_0x1ba377,_0x1636a9){const _0x8b8936=_0x5ebc5d;return _0x4d8650[_0x8b8936(0x532)](_0x2c1631,Object[_0x8b8936(0x4df)]({},_0x1ba377,{'id':_0x8b8936(0x371),'ref':_0x1636a9,'icon':_0x3495b9}));});_0x15957d[_0x5ebc5d(0x46b)]=_0x5ebc5d(0x506);var _0x3601f={'tag':_0x5ebc5d(0x462),'attrs':{'fill':'none','viewBox':_0x5ebc5d(0x5d8),'width':_0x5ebc5d(0x22e),'height':_0x5ebc5d(0x22e)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5ebc5d(0x3ed),'attrs':{'stroke':_0x5ebc5d(0x5e8),'d':_0x5ebc5d(0x578),'strokeLinecap':_0x5ebc5d(0x1ea),'strokeLinejoin':_0x5ebc5d(0x1ea),'strokeWidth':1.2}}]},{'tag':_0x5ebc5d(0x4d2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5ebc5d(0x201)},'children':[{'tag':'path','attrs':{'fill':_0x5ebc5d(0x527),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x4272c5=_0x4d8650[_0x5ebc5d(0x295)](function(_0xfe2073,_0x1af517){const _0xd4945b=_0x5ebc5d;return _0x4d8650[_0xd4945b(0x532)](_0x2c1631,Object[_0xd4945b(0x4df)]({},_0xfe2073,{'id':_0xd4945b(0x448),'ref':_0x1af517,'icon':_0x3601f}));});_0x4272c5[_0x5ebc5d(0x46b)]='OnLineSingle';function _0x2e89fc(_0x4bc3a2){const _0x5f2a65=_0x5ebc5d;var _0x50b0e3,_0x1628dd,_0x59feaf='';if(typeof _0x4bc3a2==_0x5f2a65(0x508)||typeof _0x4bc3a2==_0x5f2a65(0x3a8))_0x59feaf+=_0x4bc3a2;else{if(typeof _0x4bc3a2==_0x5f2a65(0x2ff)){if(Array['isArray'](_0x4bc3a2)){var _0x234876=_0x4bc3a2[_0x5f2a65(0x522)];for(_0x50b0e3=0x0;_0x50b0e3<_0x234876;_0x50b0e3++)_0x4bc3a2[_0x50b0e3]&&(_0x1628dd=_0x2e89fc(_0x4bc3a2[_0x50b0e3]))&&(_0x59feaf&&(_0x59feaf+='\x20'),_0x59feaf+=_0x1628dd);}else{for(_0x1628dd in _0x4bc3a2)_0x4bc3a2[_0x1628dd]&&(_0x59feaf&&(_0x59feaf+='\x20'),_0x59feaf+=_0x1628dd);}}}return _0x59feaf;}function _0x23db9f(){const _0x39231d=_0x5ebc5d;for(var _0x1bc3f2,_0x4236a3,_0x36a0c2=0x0,_0x15b120='',_0x25c3ea=arguments[_0x39231d(0x522)];_0x36a0c2<_0x25c3ea;_0x36a0c2++)(_0x1bc3f2=arguments[_0x36a0c2])&&(_0x4236a3=_0x2e89fc(_0x1bc3f2))&&(_0x15b120&&(_0x15b120+='\x20'),_0x15b120+=_0x4236a3);return _0x15b120;}const _0xe6d52d={'onlineStatusIcon':_0x5ebc5d(0x3a0),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x5ebc5d(0x256),'online':_0x5ebc5d(0x531),'offline':_0x5ebc5d(0x3f7)};function _0x43b32a(_0x430b8d){const _0x350905=_0x5ebc5d;switch(_0x430b8d){case _0x4ebacb[_0x350905(0x34e)]:return _0x350905(0x3fa);case _0x4ebacb['CONFLICT']:return'collabStatus.conflict';case _0x4ebacb[_0x350905(0x327)]:return _0x350905(0x581);case _0x4ebacb[_0x350905(0x2a2)]:return _0x350905(0x2be);case _0x4ebacb['PENDING']:case _0x4ebacb['AWAITING']:case _0x4ebacb[_0x350905(0x2c2)]:return _0x350905(0x5be);case _0x4ebacb['SYNCED']:return _0x350905(0x2c0);}}function _0x3e0c37(_0x790684){const _0x40877c=_0x5ebc5d,{status$:_0x486ed0}=_0x790684,_0x27770f=_0x1e1361['useObservable'](_0x486ed0,_0x4ebacb['NOT_COLLAB']),_0x4895a1=_0x204831[_0x40877c(0x3a6)](_0x204831[_0x40877c(0x2f5)]),_0x2b7a86=_0x204831['useDependency'](_0x52f4d9['CollaborationSessionService']),_0xd1d995=_0x27770f!==_0x4ebacb['OFFLINE'],_0x95e2b6=_0x4895a1['t'](_0x43b32a(_0x27770f)),_0x5d75be=_0x23db9f(_0xe6d52d[_0x40877c(0x3ae)],{[_0xe6d52d[_0x40877c(0x4be)]]:_0xd1d995,[_0xe6d52d[_0x40877c(0x24f)]]:!_0xd1d995}),_0x451400=_0xd1d995?_0x4d8650[_0x40877c(0x532)](_0x4272c5,null):_0x4d8650[_0x40877c(0x532)](_0x15957d,null),_0x240eb0=_0x4d8650['useCallback'](()=>{_0xd1d995||_0x2b7a86['reconnect']();},[_0xd1d995,_0x2b7a86]);function _0x1f4d3c(){const _0x4e88b9=_0x40877c;return _0x4d8650[_0x4e88b9(0x532)](_0x4e88b9(0x34c),{'className':_0x5d75be,'onClick':_0x240eb0},_0x4d8650[_0x4e88b9(0x532)](_0x4e88b9(0x34c),{'className':_0xe6d52d['onlineStatusIcon']},_0x451400),_0x4d8650['createElement'](_0x4e88b9(0x34c),{'className':_0xe6d52d[_0x4e88b9(0x551)]},_0x95e2b6));}return _0xd1d995?_0x1f4d3c():_0x4d8650[_0x40877c(0x532)](_0x53bcf5[_0x40877c(0x47c)],{'title':_0x4895a1['t'](_0x40877c(0x297))},_0x1f4d3c());}var _0x2a060f=Object[_0x5ebc5d(0x552)],_0x4777fe=Object[_0x5ebc5d(0x38b)],_0x3245f2=(_0x24c1c8,_0x326034,_0x1c3f65,_0x1ded1f)=>{const _0x1e9876=_0x5ebc5d;for(var _0x15eac8=_0x1ded1f>0x1?void 0x0:_0x1ded1f?_0x4777fe(_0x326034,_0x1c3f65):_0x326034,_0x43974a=_0x24c1c8[_0x1e9876(0x522)]-0x1,_0xb70c76;_0x43974a>=0x0;_0x43974a--)(_0xb70c76=_0x24c1c8[_0x43974a])&&(_0x15eac8=(_0x1ded1f?_0xb70c76(_0x326034,_0x1c3f65,_0x15eac8):_0xb70c76(_0x15eac8))||_0x15eac8);return _0x1ded1f&&_0x15eac8&&_0x2a060f(_0x326034,_0x1c3f65,_0x15eac8),_0x15eac8;},_0x3c47c7=(_0xdca892,_0x336096)=>(_0x299e83,_0x5e24a8)=>_0x336096(_0x299e83,_0x5e24a8,_0xdca892);_0x52f4d9['DesktopCollaborationStatusDisplayController']=class extends _0x204831[_0x5ebc5d(0x3f5)]{constructor(_0x2c4ae2,_0x501544,_0x5b7ceb,_0x3551f1){const _0x48396a=_0x5ebc5d;super(),_0x3d4e20(this,_0x48396a(0x1e8),new _0x2ea3f3[(_0x48396a(0x565))](_0x4ebacb['NOT_COLLAB'])),(this[_0x48396a(0x48f)]=_0x2c4ae2,this[_0x48396a(0x248)]=_0x501544,this[_0x48396a(0x60c)]=_0x5b7ceb,this[_0x48396a(0x34d)]=_0x3551f1,this['_initStatusComponent'](),this[_0x48396a(0x5e5)]());}[_0x5ebc5d(0x5e5)](){const _0x170209=_0x5ebc5d;this['disposeWithMe'](this[_0x170209(0x48f)][_0x170209(0x5ee)]['pipe'](_0x2ea3f3[_0x170209(0x572)](()=>{const _0x54893b=_0x170209,_0x1301d1=this['_univerInstanceService'][_0x54893b(0x3f3)]();return _0x1301d1?this['_collaborationController'][_0x54893b(0x265)](_0x1301d1[_0x54893b(0x34b)]()):_0x2ea3f3['of'](null);}),_0x2ea3f3[_0x170209(0x572)](_0x488aba=>_0x488aba?_0x488aba[_0x170209(0x413)]:_0x2ea3f3['of'](_0x4ebacb['NOT_COLLAB'])))['subscribe'](_0x2e61e5=>{const _0x31dd26=_0x170209;this[_0x31dd26(0x1e8)][_0x31dd26(0x50a)](_0x2e61e5);}));}['_initStatusComponent'](){const _0x13d736=_0x5ebc5d;this['disposeWithMe'](this[_0x13d736(0x248)]['registerComponent'](_0x1e1361[_0x13d736(0x363)][_0x13d736(0x2cf)],()=>_0x204831[_0x13d736(0x460)](_0xaf3006({'status$':this[_0x13d736(0x1e8)][_0x13d736(0x4f3)]()}),this[_0x13d736(0x60c)])));}},_0x52f4d9[_0x5ebc5d(0x22c)]=_0x3245f2([_0x3c47c7(0x0,_0x204831[_0x5ebc5d(0x335)]),_0x3c47c7(0x1,_0x1e1361[_0x5ebc5d(0x259)]),_0x3c47c7(0x2,_0x204831['Inject'](_0x204831[_0x5ebc5d(0x28a)])),_0x3c47c7(0x3,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9[_0x5ebc5d(0x558)]))],_0x52f4d9[_0x5ebc5d(0x22c)]);function _0xaf3006(_0x1ed66b){const {status$:_0x4e9a1c}=_0x1ed66b;return function(){return _0x4d8650['createElement'](_0x3e0c37,{'status$':_0x4e9a1c});};}const _0x1e189c=_0x204831[_0x5ebc5d(0x43d)](_0x5ebc5d(0x523));var _0x53dad6=Object[_0x5ebc5d(0x552)],_0x299109=Object[_0x5ebc5d(0x38b)],_0x68a19b=(_0x2ad1ff,_0x33f5fa,_0x3d15a7,_0x3470ff)=>{const _0x5b0dc3=_0x5ebc5d;for(var _0x54f2ef=_0x3470ff>0x1?void 0x0:_0x3470ff?_0x299109(_0x33f5fa,_0x3d15a7):_0x33f5fa,_0x4dab44=_0x2ad1ff[_0x5b0dc3(0x522)]-0x1,_0x10225d;_0x4dab44>=0x0;_0x4dab44--)(_0x10225d=_0x2ad1ff[_0x4dab44])&&(_0x54f2ef=(_0x3470ff?_0x10225d(_0x33f5fa,_0x3d15a7,_0x54f2ef):_0x10225d(_0x54f2ef))||_0x54f2ef);return _0x3470ff&&_0x54f2ef&&_0x53dad6(_0x33f5fa,_0x3d15a7,_0x54f2ef),_0x54f2ef;},_0x1df8b4=(_0x2274b4,_0x116cc9)=>(_0x5b8d3d,_0x2945b5)=>_0x116cc9(_0x5b8d3d,_0x2945b5,_0x2274b4);_0x52f4d9[_0x5ebc5d(0x616)]=class extends _0x204831['RxDisposable']{constructor(_0x1a9ea6,_0x16fa12,_0x5ce036,_0x385d1c,_0x45bac0,_0x506f65){const _0x335c45=_0x5ebc5d;super(),this[_0x335c45(0x543)]=_0x1a9ea6,this[_0x335c45(0x5b0)]=_0x16fa12,this[_0x335c45(0x5f3)]=_0x5ce036,this['_localCacheService']=_0x385d1c,this[_0x335c45(0x342)]=_0x45bac0,_0x506f65?_0x506f65==null||_0x506f65[_0x335c45(0x4b8)]()['then'](()=>this[_0x335c45(0x411)]()):(this[_0x335c45(0x5b0)][_0x335c45(0x455)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x335c45(0x411)]());}async[_0x5ebc5d(0x411)](){const _0x15bcff=_0x5ebc5d,_0x5eec62=this[_0x15bcff(0x543)][_0x15bcff(0x25f)](_0x15bcff(0x305)),_0x24b4d6=this[_0x15bcff(0x543)][_0x15bcff(0x25f)](_0x15bcff(0x28e));if(!_0x5eec62||!_0x24b4d6){this[_0x15bcff(0x5b0)]['debug'](_0x15bcff(0x32c),_0x15bcff(0x3a2));return;}switch(Number(_0x24b4d6)){case _0x38b124[_0x15bcff(0x49c)]:{const _0x2eb542=await this[_0x15bcff(0x42f)](_0x5eec62);this[_0x15bcff(0x33a)](_0x2eb542);break;}case _0x38b124[_0x15bcff(0x3ef)]:{await this['_loadDoc'](_0x5eec62);break;}default:{this['_logService'][_0x15bcff(0x5c5)](_0x15bcff(0x32c),_0x15bcff(0x38e));break;}}}async[_0x5ebc5d(0x33a)](_0x1c559b){const _0x502bbf=_0x5ebc5d;await this[_0x502bbf(0x247)](_0x1c559b),_0x1c559b[_0x502bbf(0x258)][_0x502bbf(0x30d)](_0x2ea3f3[_0x502bbf(0x31f)](this['dispose$']))[_0x502bbf(0x2e1)](_0x361b3a=>{const _0x497348=_0x502bbf;_0x361b3a&&this[_0x497348(0x3ab)](_0x361b3a);}),this[_0x502bbf(0x543)][_0x502bbf(0x40a)][_0x502bbf(0x30d)](_0x2ea3f3[_0x502bbf(0x31f)](this[_0x502bbf(0x56d)]))[_0x502bbf(0x2e1)](()=>this[_0x502bbf(0x247)](_0x1c559b));}[_0x5ebc5d(0x3ab)](_0x234cc5,_0x25f8f8=!0x1){const _0x455dc3=_0x5ebc5d,_0x2fdb06=this[_0x455dc3(0x543)]['getParam'](_0x455dc3(0x5dc));_0x234cc5['getSheetId']()!==_0x2fdb06&&this[_0x455dc3(0x543)][_0x455dc3(0x614)](_0x455dc3(0x5dc),_0x234cc5[_0x455dc3(0x245)](),_0x25f8f8);}async[_0x5ebc5d(0x247)](_0x40281d){const _0x31f3bc=_0x5ebc5d;var _0x11f4d3;const _0x4bd1bd=this[_0x31f3bc(0x543)]['getParam']('subunit');if(!_0x4bd1bd||!_0x40281d[_0x31f3bc(0x54e)](_0x4bd1bd)){const _0x5f3ee9=_0x40281d[_0x31f3bc(0x372)]()[0x0],_0x6caa1f=_0x40281d['getSheetBySheetId'](_0x5f3ee9);if(!_0x6caa1f)return;this[_0x31f3bc(0x3ab)](_0x6caa1f,!0x0),await this[_0x31f3bc(0x5f3)]['executeCommand'](_0x2850a0[_0x31f3bc(0x1e6)]['id'],{'unitId':_0x40281d[_0x31f3bc(0x34b)](),'subUnitId':_0x5f3ee9});return;}((_0x11f4d3=_0x40281d[_0x31f3bc(0x4d8)]())==null?void 0x0:_0x11f4d3[_0x31f3bc(0x245)]())!==_0x4bd1bd&&await this[_0x31f3bc(0x5f3)]['executeCommand'](_0x2850a0[_0x31f3bc(0x1e6)]['id'],{'unitId':_0x40281d[_0x31f3bc(0x34b)](),'subUnitId':_0x4bd1bd});}async[_0x5ebc5d(0x42f)](_0x47cba1){const _0x39cdba=_0x5ebc5d;let _0x3003ee=0x0;const _0x4c504b=await this[_0x39cdba(0x5db)]['loadOfflineData'](_0x47cba1);return _0x4c504b&&(_0x4c504b[_0x39cdba(0x341)]||_0x4c504b[_0x39cdba(0x4b3)][_0x39cdba(0x522)]!==0x0)&&(_0x3003ee=_0x4c504b[_0x39cdba(0x45c)]),_0x3003ee===0x0&&this[_0x39cdba(0x5b0)][_0x39cdba(0x455)](_0x39cdba(0x32c),_0x39cdba(0x35e)),this['_snapshotService'][_0x39cdba(0x3b1)](_0x47cba1,_0x3003ee);}async[_0x5ebc5d(0x58d)](_0x125b34){const _0x46eea8=_0x5ebc5d;let _0x4782f1=0x0;const _0x427375=await this[_0x46eea8(0x5db)][_0x46eea8(0x414)](_0x125b34);return _0x427375&&(_0x427375[_0x46eea8(0x341)]||_0x427375[_0x46eea8(0x4b3)]['length']!==0x0)&&(_0x4782f1=_0x427375[_0x46eea8(0x45c)]),_0x4782f1===0x0&&this[_0x46eea8(0x5b0)][_0x46eea8(0x455)]('[DataLoaderController]',_0x46eea8(0x35e)),this['_snapshotService'][_0x46eea8(0x5f5)](_0x125b34,_0x4782f1);}},_0x52f4d9['DataLoaderController']=_0x68a19b([_0x1df8b4(0x0,_0x1e189c),_0x1df8b4(0x1,_0x204831['ILogService']),_0x1df8b4(0x2,_0x204831[_0x5ebc5d(0x2de)]),_0x1df8b4(0x3,_0x204831['Inject'](_0x52f4d9['LocalCacheService'])),_0x1df8b4(0x4,_0x204831[_0x5ebc5d(0x5cf)](_0x292f17[_0x5ebc5d(0x37d)])),_0x1df8b4(0x5,_0x204831[_0x5ebc5d(0x39e)](_0x517f68['IRemoteInstanceService']))],_0x52f4d9[_0x5ebc5d(0x616)]);var _0x3bf978=Object[_0x5ebc5d(0x552)],_0x1aabce=Object[_0x5ebc5d(0x38b)],_0x33f6fe=(_0x2c9e01,_0x1ad41f,_0x175c76,_0x4c4bf6)=>{const _0x4fa817=_0x5ebc5d;for(var _0x2165a3=_0x4c4bf6>0x1?void 0x0:_0x4c4bf6?_0x1aabce(_0x1ad41f,_0x175c76):_0x1ad41f,_0x1f84cd=_0x2c9e01[_0x4fa817(0x522)]-0x1,_0x519f67;_0x1f84cd>=0x0;_0x1f84cd--)(_0x519f67=_0x2c9e01[_0x1f84cd])&&(_0x2165a3=(_0x4c4bf6?_0x519f67(_0x1ad41f,_0x175c76,_0x2165a3):_0x519f67(_0x2165a3))||_0x2165a3);return _0x4c4bf6&&_0x2165a3&&_0x3bf978(_0x1ad41f,_0x175c76,_0x2165a3),_0x2165a3;},_0x24fa53=(_0x42a420,_0x5d04c6)=>(_0x570d90,_0x120903)=>_0x5d04c6(_0x570d90,_0x120903,_0x42a420);const _0x5a796a=_0x5ebc5d(0x226),_0x23d2d6=_0x5ebc5d(0x4ba);let _0x325718=class extends _0x204831[_0x5ebc5d(0x3f5)]{constructor(_0x30e0bf,_0x49f6e8){const _0x79a8bf=_0x5ebc5d;super(),this['_univerInstanceService']=_0x30e0bf,this[_0x79a8bf(0x45e)]=_0x49f6e8,this[_0x79a8bf(0x411)]();}[_0x5ebc5d(0x411)](){const _0x3d316e=_0x5ebc5d;this[_0x3d316e(0x382)](this[_0x3d316e(0x48f)][_0x3d316e(0x5ee)][_0x3d316e(0x2e1)](()=>{const _0x10bab9=_0x3d316e;var _0x368182;const _0x12d925=this[_0x10bab9(0x48f)]['getFocusedUnit']();let _0x5a4d30=(_0x368182=this['_configService'][_0x10bab9(0x602)](_0x5a796a))!=null?_0x368182:_0x23d2d6;_0x12d925 instanceof _0x204831[_0x10bab9(0x392)]&&(_0x5a4d30=_0x12d925[_0x10bab9(0x51e)]),document[_0x10bab9(0x5c4)]=_0x5a4d30;}));}};_0x325718=_0x33f6fe([_0x24fa53(0x0,_0x204831[_0x5ebc5d(0x335)]),_0x24fa53(0x1,_0x204831[_0x5ebc5d(0x418)])],_0x325718);var _0xeb4715=Object['defineProperty'],_0x5f59fa=Object['getOwnPropertyDescriptor'],_0x18be32=(_0x44eb53,_0x21b7ff,_0x2077f3,_0x5ce5b2)=>{const _0x292a0d=_0x5ebc5d;for(var _0x168000=_0x5ce5b2>0x1?void 0x0:_0x5ce5b2?_0x5f59fa(_0x21b7ff,_0x2077f3):_0x21b7ff,_0xa9a202=_0x44eb53[_0x292a0d(0x522)]-0x1,_0x3c0ef3;_0xa9a202>=0x0;_0xa9a202--)(_0x3c0ef3=_0x44eb53[_0xa9a202])&&(_0x168000=(_0x5ce5b2?_0x3c0ef3(_0x21b7ff,_0x2077f3,_0x168000):_0x3c0ef3(_0x168000))||_0x168000);return _0x5ce5b2&&_0x168000&&_0xeb4715(_0x21b7ff,_0x2077f3,_0x168000),_0x168000;},_0x45ee60=(_0x3206f4,_0x2b5dc6)=>(_0x1b7565,_0x13e38b)=>_0x2b5dc6(_0x1b7565,_0x13e38b,_0x3206f4);let _0x40487a=class{constructor(_0x3eae3e,_0x8899e5,_0x5911d2){const _0xc5e5eb=_0x5ebc5d;this[_0xc5e5eb(0x45e)]=_0x3eae3e,this[_0xc5e5eb(0x20b)]=_0x8899e5,this[_0xc5e5eb(0x42b)]=_0x5911d2,this['init']();}[_0x5ebc5d(0x4ff)](){const _0x72bebe=_0x5ebc5d;this[_0x72bebe(0x20b)][_0x72bebe(0x3a4)]({'priority':0x1,'interceptor':(_0x23c5a8,_0x2b3568)=>_0x2b3568(_0x23c5a8)[_0x72bebe(0x30d)](_0x2ea3f3[_0x72bebe(0x4b2)](async _0x1a578b=>{const _0x796a75=_0x72bebe,_0x59e394=_0x1a578b;if(_0x59e394[_0x796a75(0x32a)]===0x191&&window[_0x796a75(0x5fd)](this['localeService']['t'](_0x796a75(0x5b2)))){const _0x32c592=window['encodeURIComponent'](window['location'][_0x796a75(0x5ae)]);window['location']['href']=this['_getLoginPath']()+_0x796a75(0x24c)+_0x32c592;}return _0x59e394;}))});}[_0x5ebc5d(0x272)](){const _0x5746f2=_0x5ebc5d;var _0x3e0a3f,_0x2800b8;const _0x63cc2e=this[_0x5746f2(0x45e)]['getConfig'](_0x4d3acb),_0x206d1a=this[_0x5746f2(0x45e)][_0x5746f2(0x602)](_0x5dd0cc);return(_0x2800b8=(_0x3e0a3f=_0x206d1a==null?void 0x0:_0x206d1a[_0x5746f2(0x52c)])!=null?_0x3e0a3f:_0x63cc2e)!=null?_0x2800b8:_0x1c8cfb;}};_0x40487a=_0x18be32([_0x45ee60(0x0,_0x204831[_0x5ebc5d(0x418)]),_0x45ee60(0x1,_0x204831[_0x5ebc5d(0x5cf)](_0x59f944[_0x5ebc5d(0x5a1)])),_0x45ee60(0x2,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x2f5)]))],_0x40487a);var _0x3888cd=Object[_0x5ebc5d(0x552)],_0x5301af=Object[_0x5ebc5d(0x38b)],_0x286281=(_0x41609a,_0x3154bc,_0x12ba0d,_0x3e90f8)=>{const _0xe78fa0=_0x5ebc5d;for(var _0x161ce1=_0x3e90f8>0x1?void 0x0:_0x3e90f8?_0x5301af(_0x3154bc,_0x12ba0d):_0x3154bc,_0x53de05=_0x41609a[_0xe78fa0(0x522)]-0x1,_0x17e7ab;_0x53de05>=0x0;_0x53de05--)(_0x17e7ab=_0x41609a[_0x53de05])&&(_0x161ce1=(_0x3e90f8?_0x17e7ab(_0x3154bc,_0x12ba0d,_0x161ce1):_0x17e7ab(_0x161ce1))||_0x161ce1);return _0x3e90f8&&_0x161ce1&&_0x3888cd(_0x3154bc,_0x12ba0d,_0x161ce1),_0x161ce1;},_0x47758c=(_0x47c670,_0xdddf29)=>(_0x454a09,_0x16429b)=>_0xdddf29(_0x454a09,_0x16429b,_0x47c670);const _0x56cb49=_0x5ebc5d(0x2cd),_0x15bcbd='/universer-api/authz';_0x52f4d9[_0x5ebc5d(0x5a5)]=class extends _0x204831[_0x5ebc5d(0x3f5)]{constructor(_0x279d1c,_0xea11eb){const _0x3e300b=_0x5ebc5d;super(),this['_HTTPService']=_0x279d1c,this[_0x3e300b(0x45e)]=_0xea11eb,this[_0x3e300b(0x35b)]();}['_initMergeInterceptor'](){const _0xb96d50=_0x5ebc5d,_0x48e611=this;this[_0xb96d50(0x382)](this[_0xb96d50(0x582)][_0xb96d50(0x3a4)]({'priority':0x3e7,'interceptor':_0x59f944['MergeInterceptorFactory']({'isMatch'(_0x2d0cb6){const _0x273256=_0xb96d50;var _0x44b5d4;if(_0x2d0cb6[_0x273256(0x535)]===_0x273256(0x5de)&&((_0x44b5d4=_0x2d0cb6['requestParams'])!=null&&_0x44b5d4[_0x273256(0x573)])){const {objectID:_0x52889e,objectType:_0x2f3f7f}=_0x2d0cb6[_0x273256(0x421)][_0x273256(0x573)]||{};if(!_0x52889e||_0x2f3f7f===void 0x0)return!0x1;const _0x34f3f2=_0x48e611['_getAPIPrefixPath']()+'/'+_0x2f3f7f+_0x273256(0x36f)+_0x52889e+'/allowed';if(_0x2d0cb6[_0x273256(0x3b2)]===_0x34f3f2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2bb84d){const _0x319583=_0xb96d50;var _0x4b36c8;return(_0x4b36c8=_0x2bb84d[_0x319583(0x421)])==null?void 0x0:_0x4b36c8['body'];},'mergeParamsToRequest'(_0x2f191c,_0x51de1b){const _0x59de76=_0xb96d50,_0x4f5328=_0x48e611[_0x59de76(0x60a)]()+_0x59de76(0x4db),_0x4fd997=_0x2f191c[_0x59de76(0x2bc)]((_0x3804bf,_0x18e4ef)=>{const _0x16f8d3=_0x59de76,{unitID:_0x1e8a5e,objectID:_0x11f7cd,objectType:_0x20236f,actions:_0x41f15c}=_0x18e4ef;return _0x3804bf[_0x1e8a5e]||(_0x3804bf[_0x1e8a5e]={}),_0x3804bf[_0x1e8a5e][_0x11f7cd]||(_0x3804bf[_0x1e8a5e][_0x11f7cd]={'objectID':_0x11f7cd,'objectType':_0x20236f,'actions':[]}),_0x3804bf[_0x1e8a5e][_0x11f7cd][_0x16f8d3(0x349)][_0x16f8d3(0x479)](..._0x41f15c),_0x3804bf;},{}),_0xbc5bc3=[];for(const _0x3c0953 in _0x4fd997)for(const _0x25dc36 in _0x4fd997[_0x3c0953]){const {actions:_0x1acaf7,objectType:_0x1fc4d4}=_0x4fd997[_0x3c0953][_0x25dc36],_0x4ec43f=[...new Set(_0x1acaf7)];_0xbc5bc3[_0x59de76(0x479)]({'unitID':_0x3c0953,'objectID':_0x25dc36,'objectType':_0x1fc4d4,'actions':_0x4ec43f});}return new _0x59f944['HTTPRequest'](_0x59de76(0x5de),_0x4f5328,{'headers':_0x51de1b[_0x59de76(0x4e4)],'withCredentials':_0x51de1b[_0x59de76(0x4b4)],'responseType':_0x51de1b[_0x59de76(0x495)],'body':{'requests':_0xbc5bc3}});}},{'distributeResult'(_0x3d959d,_0x4f4782){const _0x3ac806=_0xb96d50,{objectActions:_0x100851}=_0x3d959d;return _0x4f4782[_0x3ac806(0x5ef)](_0x55104c=>{const _0x9de7f7=_0x3ac806,{unitID:_0x13c9e4,objectID:_0x25f223,actions:_0x13d319}=_0x55104c,_0x18f1f0=_0x100851[_0x9de7f7(0x5ce)](_0x2eebd3=>_0x2eebd3[_0x9de7f7(0x4dc)]===_0x13c9e4&&_0x2eebd3[_0x9de7f7(0x424)]===_0x25f223),_0x1a645a=_0x13d319[_0x9de7f7(0x5ef)](_0x43bce8=>_0x18f1f0==null?void 0x0:_0x18f1f0[_0x9de7f7(0x349)][_0x9de7f7(0x5ce)](_0x10ebcb=>_0x10ebcb[_0x9de7f7(0x412)]===_0x43bce8))[_0x9de7f7(0x4ea)](_0x3c9f74=>!!_0x3c9f74);return{'config':_0x55104c,'result':{'actions':_0x1a645a,'error':_0x3d959d[_0x9de7f7(0x5c5)]}};});}})}));}[_0x5ebc5d(0x60a)](){const _0x10f6e7=_0x5ebc5d;var _0x55f25d,_0x324513;const _0x466512=this[_0x10f6e7(0x45e)][_0x10f6e7(0x602)](_0x56cb49),_0xcdb734=this[_0x10f6e7(0x45e)]['getConfig'](_0x5dd0cc);return(_0x324513=(_0x55f25d=_0xcdb734==null?void 0x0:_0xcdb734['authzUrl'])!=null?_0x55f25d:_0x466512)!=null?_0x324513:_0x15bcbd;}async[_0x5ebc5d(0x3ff)](_0x2e0c17){const _0xfe9402=_0x5ebc5d,_0x296fc1=this[_0xfe9402(0x60a)]()+'/'+_0x2e0c17[_0xfe9402(0x48b)]+'/object';return(await this['_HTTPService'][_0xfe9402(0x3ac)](_0x296fc1,{'body':_0x2e0c17}))['body'][_0xfe9402(0x424)]||'';}async[_0x5ebc5d(0x47a)](_0x132e71){const _0x3ccab1=_0x5ebc5d,_0x343186=this[_0x3ccab1(0x60a)]()+_0x3ccab1(0x23b);return(await this[_0x3ccab1(0x582)][_0x3ccab1(0x3ac)](_0x343186,{'body':_0x132e71}))[_0x3ccab1(0x573)][_0x3ccab1(0x553)];}async[_0x5ebc5d(0x310)](_0x1dc369){const _0x2b0e64=_0x5ebc5d,_0x3332ca=this[_0x2b0e64(0x60a)]()+'/'+_0x1dc369['objectType']+_0x2b0e64(0x36f)+_0x1dc369[_0x2b0e64(0x424)];await this[_0x2b0e64(0x582)][_0x2b0e64(0x442)](_0x3332ca,{'body':_0x1dc369});}async[_0x5ebc5d(0x2e7)](_0x363d21){const _0x48506e=_0x5ebc5d,_0x484369=this[_0x48506e(0x60a)]()+'/'+_0x363d21['objectType']+_0x48506e(0x36f)+_0x363d21[_0x48506e(0x424)]+_0x48506e(0x360);return(await this['_HTTPService'][_0x48506e(0x3ac)](_0x484369,{'body':_0x363d21}))['body'][_0x48506e(0x349)];}async[_0x5ebc5d(0x3ba)](_0x3cceff){const _0x575082=_0x5ebc5d,_0x3ac4a4=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x575082(0x3ac)](_0x3ac4a4,{'body':{'requests':_0x3cceff}}))[_0x575082(0x573)][_0x575082(0x374)];}async['listRoles'](_0x4029c0){const _0x1b0802=_0x5ebc5d,_0x10c872=this[_0x1b0802(0x60a)]()+'/'+_0x4029c0[_0x1b0802(0x48b)]+_0x1b0802(0x2ec),_0x3d0660=await this['_HTTPService'][_0x1b0802(0x3ac)](_0x10c872,{'body':_0x4029c0});return{'roles':_0x3d0660[_0x1b0802(0x573)][_0x1b0802(0x2e9)],'actions':_0x3d0660['body']['actions']};}async['deleteCollaborator'](_0x19a521){const _0x57437d=_0x5ebc5d,_0x28e74e=this[_0x57437d(0x60a)]()+_0x57437d(0x3df);await this[_0x57437d(0x582)][_0x57437d(0x51a)](_0x28e74e,{'params':{'collaboratorID':_0x19a521[_0x57437d(0x29b)],'objectID':_0x19a521[_0x57437d(0x424)],'unitID':_0x19a521[_0x57437d(0x4dc)]}});}async['updateCollaborator'](_0x5ebd47){const _0x4dc9c9=_0x5ebc5d,_0xacadc2=this[_0x4dc9c9(0x60a)]()+_0x4dc9c9(0x3df);await this[_0x4dc9c9(0x582)][_0x4dc9c9(0x1e4)](_0xacadc2,{'body':_0x5ebd47});}async[_0x5ebc5d(0x434)](_0x5ab6b8){const _0x31e7f7=_0x5ebc5d,_0x5b7d9f=this[_0x31e7f7(0x60a)]()+_0x31e7f7(0x3df);await this[_0x31e7f7(0x582)][_0x31e7f7(0x3ac)](_0x5b7d9f,{'body':_0x5ab6b8});}async[_0x5ebc5d(0x415)](_0x74610f){const _0x107529=_0x5ebc5d,_0x185677=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x107529(0x582)][_0x107529(0x222)](_0x185677,{'params':{'objectID':_0x74610f[_0x107529(0x424)],'unitID':_0x74610f[_0x107529(0x4dc)]}}))[_0x107529(0x573)][_0x107529(0x58b)];}async[_0x5ebc5d(0x5ec)](_0x5c7f4c){const _0x24b8ab=_0x5ebc5d,_0x1bf437=this[_0x24b8ab(0x60a)]()+'/collaborator';await this[_0x24b8ab(0x582)][_0x24b8ab(0x442)](_0x1bf437,{'body':_0x5c7f4c});}},_0x52f4d9[_0x5ebc5d(0x5a5)]=_0x286281([_0x47758c(0x0,_0x204831[_0x5ebc5d(0x5cf)](_0x59f944[_0x5ebc5d(0x5a1)])),_0x47758c(0x1,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['IConfigService']))],_0x52f4d9[_0x5ebc5d(0x5a5)]);var _0x3f72ff=Object[_0x5ebc5d(0x552)],_0x19b48c=Object['getOwnPropertyDescriptor'],_0x1151eb=(_0x9622de,_0x1bcc7d,_0xcdbc31,_0x2d4629)=>{const _0x29b6ed=_0x5ebc5d;for(var _0xf9073e=_0x2d4629>0x1?void 0x0:_0x2d4629?_0x19b48c(_0x1bcc7d,_0xcdbc31):_0x1bcc7d,_0x4e4162=_0x9622de[_0x29b6ed(0x522)]-0x1,_0x231748;_0x4e4162>=0x0;_0x4e4162--)(_0x231748=_0x9622de[_0x4e4162])&&(_0xf9073e=(_0x2d4629?_0x231748(_0x1bcc7d,_0xcdbc31,_0xf9073e):_0x231748(_0xf9073e))||_0xf9073e);return _0x2d4629&&_0xf9073e&&_0x3f72ff(_0x1bcc7d,_0xcdbc31,_0xf9073e),_0xf9073e;},_0x9eb43d=(_0x31f68e,_0x82c6b7)=>(_0x24c6f3,_0x4bb407)=>_0x82c6b7(_0x24c6f3,_0x4bb407,_0x31f68e);let _0x1462a6=class{constructor(_0x596fc3){const _0x4e7500=_0x5ebc5d;this[_0x4e7500(0x20b)]=_0x596fc3,this['_initRequestHeader']();}[_0x5ebc5d(0x289)](){const _0x117898=_0x5ebc5d;this[_0x117898(0x20b)][_0x117898(0x3a4)]({'interceptor':(_0x54a10d,_0x547498)=>{const _0x38eaab=_0x117898,_0x9fcca0=_0x54a10d[_0x38eaab(0x4e4)],_0x4061e9=_0x3642e[_0x38eaab(0x281)]();return _0x4061e9&&_0x9fcca0[_0x38eaab(0x5a4)](_0x38eaab(0x1f3),_0x4061e9),_0x547498(_0x54a10d);}});}};_0x1462a6=_0x1151eb([_0x9eb43d(0x0,_0x204831[_0x5ebc5d(0x5cf)](_0x59f944['HTTPService']))],_0x1462a6);var _0x4f692d=Object[_0x5ebc5d(0x552)],_0x129f52=Object['getOwnPropertyDescriptor'],_0x1faa38=(_0x355b97,_0x2cd071,_0x48db6f,_0x581b40)=>{const _0x222da4=_0x5ebc5d;for(var _0xba4448=_0x581b40>0x1?void 0x0:_0x581b40?_0x129f52(_0x2cd071,_0x48db6f):_0x2cd071,_0x2d8633=_0x355b97[_0x222da4(0x522)]-0x1,_0xd2c72b;_0x2d8633>=0x0;_0x2d8633--)(_0xd2c72b=_0x355b97[_0x2d8633])&&(_0xba4448=(_0x581b40?_0xd2c72b(_0x2cd071,_0x48db6f,_0xba4448):_0xd2c72b(_0xba4448))||_0xba4448);return _0x581b40&&_0xba4448&&_0x4f692d(_0x2cd071,_0x48db6f,_0xba4448),_0xba4448;},_0x21fe2d=(_0x4138c4,_0x1cde81)=>(_0x1ccfa6,_0x9c350a)=>_0x1cde81(_0x1ccfa6,_0x9c350a,_0x4138c4);const _0x300acd=[_0x5ebc5d(0x3c2),_0x5ebc5d(0x50b),_0x5ebc5d(0x500),'image/gif',_0x5ebc5d(0x46c)],_0xb80948=0x5*0x400*0x400,_0xecd043=_0x5ebc5d(0x3e8),_0x12d21f=_0x5ebc5d(0x58f),_0x1807eb=_0x5ebc5d(0x216),_0x2b4c86=_0x5ebc5d(0x387);_0x52f4d9['ImageIoService']=class{constructor(_0x54bd07,_0x313632,_0x382449){const _0x2d4959=_0x5ebc5d;_0x3d4e20(this,_0x2d4959(0x345),0x0),_0x3d4e20(this,_0x2d4959(0x5f1),new _0x2ea3f3[(_0x2d4959(0x31a))]()),_0x3d4e20(this,_0x2d4959(0x27b),this['_change$']),_0x3d4e20(this,_0x2d4959(0x280),new Map()),(this[_0x2d4959(0x20b)]=_0x54bd07,this[_0x2d4959(0x45e)]=_0x313632,this[_0x2d4959(0x48f)]=_0x382449);}['setWaitCount'](_0x4e4742){const _0x2cd893=_0x5ebc5d;this['_waitCount']=_0x4e4742,this[_0x2cd893(0x5f1)][_0x2cd893(0x50a)](_0x4e4742);}[_0x5ebc5d(0x390)](_0x26ee72,_0x41c696){const _0x387e80=_0x5ebc5d;if(_0x41c696===_0xf94d17[_0x387e80(0x396)][_0x387e80(0x26c)]){const _0x31a851=new Image();return _0x31a851['src']=_0x26ee72,_0x31a851;}return this[_0x387e80(0x280)]['get'](_0x26ee72);}[_0x5ebc5d(0x2c7)](_0x5793db,_0x12a304,_0x5df07e){const _0x443b75=_0x5ebc5d;_0x12a304===_0xf94d17[_0x443b75(0x396)][_0x443b75(0x26c)]||_0x5df07e==null||this['_imageSourceCache'][_0x443b75(0x5a4)](_0x5793db,_0x5df07e);}async[_0x5ebc5d(0x2fa)](_0x213820){const _0x2e31f8=_0x5ebc5d;try{const _0x1e2358=this[_0x2e31f8(0x4bc)](this[_0x2e31f8(0x423)](),''+_0x213820),_0x20fa0a=(await this[_0x2e31f8(0x20b)][_0x2e31f8(0x222)](_0x1e2358))[_0x2e31f8(0x573)];if(_0x20fa0a['error']&&_0x20fa0a[_0x2e31f8(0x5c5)]['code']===_0x57fda0['OK']){const _0x552ae3=new URL(_0x20fa0a[_0x2e31f8(0x3b2)],this[_0x2e31f8(0x4a6)]())['toString']();return Promise[_0x2e31f8(0x56e)](_0x552ae3);}return Promise['reject'](_0x20fa0a[_0x2e31f8(0x5c5)]);}catch(_0xdd68ba){return Promise['reject'](_0xdd68ba);}}async[_0x5ebc5d(0x480)](_0x519a7f){const _0x3be183=_0x5ebc5d;let _0x2bb1cf='';if(!_0x300acd[_0x3be183(0x407)](_0x519a7f[_0x3be183(0x28e)]))return this['_decreaseWaiting'](),Promise[_0x3be183(0x25a)](new Error(_0xf94d17[_0x3be183(0x41f)][_0x3be183(0x264)]));if(_0x519a7f[_0x3be183(0x2f2)]>_0xb80948)return this['_decreaseWaiting'](),Promise[_0x3be183(0x25a)](new Error(_0xf94d17[_0x3be183(0x41f)][_0x3be183(0x3bf)]));try{const _0x458cd4=new FormData();_0x458cd4[_0x3be183(0x615)](_0x3be183(0x569),_0x519a7f);const _0x291e9d=this['_univerInstanceService']['getFocusedUnit'](),_0x4f3e70=_0x291e9d==null?void 0x0:_0x291e9d['getUnitId']();if(!_0x4f3e70)throw new Error(_0x3be183(0x566));const _0x51c140=this[_0x3be183(0x3bc)]()+'?size='+_0x519a7f[_0x3be183(0x2f2)][_0x3be183(0x5bf)]()+_0x3be183(0x50e)+_0x3ee7c8[_0x3be183(0x2cc)]+'&assign='+encodeURIComponent(_0x4f3e70),_0x7b7345=await(await fetch(_0x51c140,{'method':'POST','body':_0x458cd4}))['json']();if(typeof _0x7b7345[_0x3be183(0x618)]!='string')return this['_decreaseWaiting'](),Promise[_0x3be183(0x25a)](new Error(_0xf94d17['ImageUploadStatusType'][_0x3be183(0x356)]));_0x2bb1cf=_0x7b7345[_0x3be183(0x618)];}catch{return this[_0x3be183(0x347)](),Promise[_0x3be183(0x25a)](new Error(_0xf94d17[_0x3be183(0x41f)][_0x3be183(0x356)]));}return new Promise((_0x23938f,_0x3b1823)=>{const _0x5f5891=_0x3be183,_0x1f72ee=new FileReader();_0x1f72ee[_0x5f5891(0x3d0)](_0x519a7f),_0x1f72ee[_0x5f5891(0x339)]=_0x119b06=>{const _0x4d7b32=_0x5f5891;var _0x5621fb;const _0x54bb86=(_0x5621fb=_0x119b06[_0x4d7b32(0x24d)])==null?void 0x0:_0x5621fb[_0x4d7b32(0x2a9)];if(_0x54bb86==null){this[_0x4d7b32(0x347)](),_0x3b1823(new Error(_0xf94d17[_0x4d7b32(0x41f)]['ERROR_IMAGE']));return;}const _0x3e6a9d=_0x204831['Tools'][_0x4d7b32(0x59c)](0x6);_0x23938f({'imageId':_0x3e6a9d,'imageSourceType':_0xf94d17[_0x4d7b32(0x396)]['UUID'],'source':_0x2bb1cf,'base64Cache':_0x54bb86,'status':_0xf94d17[_0x4d7b32(0x41f)][_0x4d7b32(0x3a9)]}),this['_decreaseWaiting']();};});}[_0x5ebc5d(0x3bc)](){const _0x1b8b6c=_0x5ebc5d;var _0x524488,_0x5543d5;const _0x293267=this['_configService'][_0x1b8b6c(0x602)](_0xecd043),_0x1bae6f=this['_configService'][_0x1b8b6c(0x602)](_0x5dd0cc);return(_0x5543d5=(_0x524488=_0x1bae6f==null?void 0x0:_0x1bae6f['uploadFileServerUrl'])!=null?_0x524488:_0x293267)!=null?_0x5543d5:_0x12d21f;}[_0x5ebc5d(0x423)](){const _0x470714=_0x5ebc5d;var _0xf7b735,_0xf55b85;const _0x375353=this['_configService'][_0x470714(0x602)](_0x1807eb),_0xfb102c=this[_0x470714(0x45e)][_0x470714(0x602)](_0x5dd0cc);return(_0xf55b85=(_0xf7b735=_0xfb102c==null?void 0x0:_0xfb102c[_0x470714(0x435)])!=null?_0xf7b735:_0x375353)!=null?_0xf55b85:_0x2b4c86;}[_0x5ebc5d(0x4a6)](){const _0x4beb95=_0x5ebc5d;var _0x252600;const _0x2d56fd=this['_configService'][_0x4beb95(0x602)](_0x5dd0cc);return(_0x252600=_0x2d56fd==null?void 0x0:_0x2d56fd[_0x4beb95(0x2b2)])!=null?_0x252600:location[_0x4beb95(0x3be)];}[_0x5ebc5d(0x4bc)](_0x1bfadc,_0x417520){const _0x713663=_0x5ebc5d;return _0x1bfadc['replace'](_0x713663(0x502),_0x417520);}[_0x5ebc5d(0x347)](){const _0x5a2023=_0x5ebc5d;this['_waitCount']-=0x1,this[_0x5a2023(0x5f1)][_0x5a2023(0x50a)](this['_waitCount']);}},_0x52f4d9[_0x5ebc5d(0x579)]=_0x1faa38([_0x21fe2d(0x0,_0x204831[_0x5ebc5d(0x5cf)](_0x59f944[_0x5ebc5d(0x5a1)])),_0x21fe2d(0x1,_0x204831[_0x5ebc5d(0x418)]),_0x21fe2d(0x2,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['IUniverInstanceService']))],_0x52f4d9[_0x5ebc5d(0x579)]);var _0xb51b95=Object[_0x5ebc5d(0x552)],_0x3b2265=Object[_0x5ebc5d(0x38b)],_0x4e9495=(_0x559ba5,_0x23f60d,_0xd4df13,_0x46cbc6)=>{const _0x5f4a4e=_0x5ebc5d;for(var _0x11ad3b=_0x46cbc6>0x1?void 0x0:_0x46cbc6?_0x3b2265(_0x23f60d,_0xd4df13):_0x23f60d,_0x24132e=_0x559ba5[_0x5f4a4e(0x522)]-0x1,_0x324b2d;_0x24132e>=0x0;_0x24132e--)(_0x324b2d=_0x559ba5[_0x24132e])&&(_0x11ad3b=(_0x46cbc6?_0x324b2d(_0x23f60d,_0xd4df13,_0x11ad3b):_0x324b2d(_0x11ad3b))||_0x11ad3b);return _0x46cbc6&&_0x11ad3b&&_0xb51b95(_0x23f60d,_0xd4df13,_0x11ad3b),_0x11ad3b;},_0x4a515d=(_0x98ef41,_0x2f0da6)=>(_0x5e20ca,_0x36d121)=>_0x2f0da6(_0x5e20ca,_0x36d121,_0x98ef41);let _0x2df393=class extends _0x204831[_0x5ebc5d(0x3e5)]{constructor(_0x16d08d,_0x395dff,_0x4a7fae,_0x148d05,_0x1bc233){const _0x3d15fc=_0x5ebc5d;super(),this[_0x3d15fc(0x60c)]=_0x16d08d,this[_0x3d15fc(0x48f)]=_0x395dff,this[_0x3d15fc(0x25d)]=_0x4a7fae,this[_0x3d15fc(0x2b0)]=_0x148d05,this[_0x3d15fc(0x4af)]=_0x1bc233,this[_0x3d15fc(0x20a)](),this[_0x3d15fc(0x459)]();}[_0x5ebc5d(0x459)](){const _0x52312b=_0x5ebc5d,_0x3ae857=async _0x270daf=>{const _0x3a14d2=_0x1c68;(await this[_0x3a14d2(0x2b0)][_0x3a14d2(0x4ed)](_0x270daf))[_0x3a14d2(0x430)]['pipe'](_0x452c71[_0x3a14d2(0x4ea)](_0x56eb15=>_0x56eb15[_0x3a14d2(0x271)]===_0x292f17[_0x3a14d2(0x351)]['SHOULD_CLOSE_CONN']),_0x452c71[_0x3a14d2(0x31f)](this[_0x3a14d2(0x56d)]))[_0x3a14d2(0x2e1)](_0x44d5f6=>{const _0x5af163=_0x3a14d2,_0x11f95e=_0x44d5f6,{reason:_0x2c7d3a}=_0x11f95e[_0x5af163(0x5ea)];this[_0x5af163(0x60c)][_0x5af163(0x222)](_0x1e1361['IMessageService'])[_0x5af163(0x497)]({'type':_0x53bcf5[_0x5af163(0x465)][_0x5af163(0x56a)],'content':this[_0x5af163(0x4af)]['t']('collaboration.closeRoom')+'('+_0x2c7d3a+')'}),this[_0x5af163(0x25d)][_0x5af163(0x26a)](new _0x2850a0['WorkbookEditablePermission'](_0x270daf)['id'],!0x1),this['_collaborationSessionService'][_0x5af163(0x218)](_0x270daf);});};_0x2ea3f3[_0x52312b(0x559)](this[_0x52312b(0x48f)][_0x52312b(0x39d)](_0x204831[_0x52312b(0x49b)][_0x52312b(0x49c)]),this['_univerInstanceService'][_0x52312b(0x39d)](_0x204831[_0x52312b(0x49b)][_0x52312b(0x3ef)]))[_0x52312b(0x30d)](_0x452c71[_0x52312b(0x5ef)](_0x4ff8d2=>_0x4ff8d2[_0x52312b(0x34b)]()),_0x452c71[_0x52312b(0x4ea)](_0x1c22d4=>!_0x204831[_0x52312b(0x26b)](_0x1c22d4)),_0x452c71[_0x52312b(0x31f)](this[_0x52312b(0x56d)]))[_0x52312b(0x2e1)](_0x3c3051=>{_0x3ae857(_0x3c3051);});}[_0x5ebc5d(0x20a)](){const _0x473108=_0x5ebc5d,_0x4eae01=async _0x3df5ba=>{const _0x1d1160=_0x1c68;(await this[_0x1d1160(0x2b0)][_0x1d1160(0x4ed)](_0x3df5ba))[_0x1d1160(0x430)][_0x1d1160(0x30d)](_0x452c71[_0x1d1160(0x4ea)](_0x355b2a=>_0x355b2a[_0x1d1160(0x271)]===_0x292f17[_0x1d1160(0x351)][_0x1d1160(0x57b)]),_0x452c71[_0x1d1160(0x31f)](this['dispose$']))[_0x1d1160(0x2e1)](_0x5592b8=>{const _0x3adff6=_0x1d1160,_0x24caff=_0x5592b8,{objectId:_0x23e0a7}=_0x24caff[_0x3adff6(0x5ea)],_0x390e34=this[_0x3adff6(0x60c)][_0x3adff6(0x222)](_0x58dbff[_0x3adff6(0x246)]);_0x23e0a7===_0x3df5ba?_0x390e34['initWorkbookPermissionChange'](_0x3df5ba):_0x390e34[_0x3adff6(0x59d)](_0x3df5ba,_0x23e0a7);});};_0x2ea3f3[_0x473108(0x559)](this[_0x473108(0x48f)][_0x473108(0x39d)](_0x204831['UniverInstanceType'][_0x473108(0x49c)]),this[_0x473108(0x48f)]['getTypeOfUnitAdded$'](_0x204831['UniverInstanceType'][_0x473108(0x3ef)]))[_0x473108(0x30d)](_0x452c71[_0x473108(0x5ef)](_0x130171=>_0x130171['getUnitId']()),_0x452c71[_0x473108(0x4ea)](_0x25acc2=>!_0x204831[_0x473108(0x26b)](_0x25acc2)),_0x452c71['takeUntil'](this[_0x473108(0x56d)]))['subscribe'](_0x5357c5=>{_0x4eae01(_0x5357c5);});}};_0x2df393=_0x4e9495([_0x4a515d(0x0,_0x204831[_0x5ebc5d(0x5cf)](_0x204831['Injector'])),_0x4a515d(0x1,_0x204831[_0x5ebc5d(0x335)]),_0x4a515d(0x2,_0x204831[_0x5ebc5d(0x57a)]),_0x4a515d(0x3,_0x204831[_0x5ebc5d(0x5cf)](_0x52f4d9['CollaborationSessionService'])),_0x4a515d(0x4,_0x204831['Inject'](_0x204831[_0x5ebc5d(0x2f5)]))],_0x2df393);var _0x3e0ad4=Object[_0x5ebc5d(0x552)],_0x566dff=Object[_0x5ebc5d(0x38b)],_0x285d1a=(_0x191b98,_0x321201,_0xe34355,_0x4b9378)=>{const _0x2b5ef0=_0x5ebc5d;for(var _0x19f19e=_0x4b9378>0x1?void 0x0:_0x4b9378?_0x566dff(_0x321201,_0xe34355):_0x321201,_0x2e4440=_0x191b98[_0x2b5ef0(0x522)]-0x1,_0x193b78;_0x2e4440>=0x0;_0x2e4440--)(_0x193b78=_0x191b98[_0x2e4440])&&(_0x19f19e=(_0x4b9378?_0x193b78(_0x321201,_0xe34355,_0x19f19e):_0x193b78(_0x19f19e))||_0x19f19e);return _0x4b9378&&_0x19f19e&&_0x3e0ad4(_0x321201,_0xe34355,_0x19f19e),_0x19f19e;},_0x44fa97=(_0xe6dd56,_0x2f8967)=>(_0x33306b,_0x1d67ae)=>_0x2f8967(_0x33306b,_0x1d67ae,_0xe6dd56);_0x52f4d9[_0x5ebc5d(0x298)]=class{constructor(_0x1b345d,_0x57f3ec){this['_configService']=_0x1b345d,this['_httpService']=_0x57f3ec;}async['getUnitOnRev'](_0x18db0a,_0xa696f4){const _0xd8a523=_0x5ebc5d;var _0x58c3b9;const {unitID:_0x44474e,type:_0x264fba,revision:_0x30ecf4=0x0}=_0xa696f4,_0x247d80=this['_getSnapshotAPIPrefix']()+'/'+_0x264fba+_0xd8a523(0x276)+_0x44474e+_0xd8a523(0x3d9)+_0x30ecf4,_0xa8376b=(await this[_0xd8a523(0x20b)][_0xd8a523(0x222)](_0x247d80))['body'],_0x324286=(_0x58c3b9=_0xa8376b[_0xd8a523(0x378)])==null?void 0x0:_0x58c3b9[_0xd8a523(0x4a4)];if(_0x324286){const _0x4b8fdb=_0x324286==null?void 0x0:_0x324286[_0xd8a523(0x43e)],_0x20b261=_0x292f17['textEncoder'][_0xd8a523(0x1e2)](_0x292f17[_0xd8a523(0x51c)](_0x4b8fdb));_0x324286['originalMeta']=_0x20b261,Object[_0xd8a523(0x237)](_0x324286[_0xd8a523(0x2ad)])['forEach'](([,_0x3519a1])=>{const _0x30bb4e=_0xd8a523,_0x46655c=_0x3519a1['originalMeta'],_0x27893e=_0x292f17[_0x30bb4e(0x3cc)][_0x30bb4e(0x1e2)](_0x292f17['b64DecodeUnicode'](_0x46655c));_0x3519a1[_0x30bb4e(0x43e)]=_0x27893e;});}return _0xa8376b;}async[_0x5ebc5d(0x48e)](_0x3c41b9,_0xc87d43){const _0x5f534c=_0x5ebc5d,{unitID:_0x197c27,type:_0x421d20,blockID:_0x11a085}=_0xc87d43,_0x1b16da=this[_0x5f534c(0x3f8)]()+'/'+_0x421d20+_0x5f534c(0x276)+_0x197c27+_0x5f534c(0x1e1)+_0x11a085;return(await this['_httpService'][_0x5f534c(0x222)](_0x1b16da))['body'];}async['getDeserializedSheetBlock'](_0x346cf4,_0x4611e7){const _0x52972d=_0x5ebc5d,{unitID:_0x4c817c,type:_0x55037e,blockID:_0x212c7c}=_0x4611e7,_0x2fa9d8=this['_getAPIPrefix']()+_0x52972d(0x1e1)+_0x55037e+_0x52972d(0x276)+_0x4c817c+_0x52972d(0x1e1)+_0x212c7c;return(await this[_0x52972d(0x20b)][_0x52972d(0x222)](_0x2fa9d8))[_0x52972d(0x573)];}async[_0x5ebc5d(0x2db)](_0xd9c26,_0x1adadd){const _0x1feb0d=_0x5ebc5d,{unitID:_0x512e75,type:_0x321b79,from:_0x3aa3e6,to:_0x3701e5}=_0x1adadd,_0x55e6fd=this[_0x1feb0d(0x3f8)]()+'/'+_0x321b79+_0x1feb0d(0x276)+_0x512e75+_0x1feb0d(0x427)+_0x3aa3e6+_0x1feb0d(0x3b6)+_0x3701e5;return(await this[_0x1feb0d(0x20b)][_0x1feb0d(0x222)](_0x55e6fd))[_0x1feb0d(0x573)];}['_getSnapshotAPIPrefix'](){const _0x1b6e06=_0x5ebc5d;var _0xf9ff84;return(_0xf9ff84=this[_0x1b6e06(0x45e)][_0x1b6e06(0x602)](_0x2cc68c))!=null?_0xf9ff84:this['_getAPIPrefix']();}[_0x5ebc5d(0x3f8)](){const _0x1511c3=_0x5ebc5d;var _0x4208cb,_0x4aac4c;const _0x2615be=this[_0x1511c3(0x45e)][_0x1511c3(0x602)](_0x225bd6),_0x2e322a=this[_0x1511c3(0x45e)]['getConfig'](_0x5dd0cc);return(_0x4aac4c=(_0x4208cb=_0x2e322a==null?void 0x0:_0x2e322a['snapshotServerUrl'])!=null?_0x4208cb:_0x2615be)!=null?_0x4aac4c:_0x839084;}async[_0x5ebc5d(0x27a)](_0x1f2410,_0x2ac8ca){const _0x24b0de=_0x5ebc5d,_0x537a99=_0x24b0de(0x53c)+_0x2ac8ca[_0x24b0de(0x28e)]+_0x24b0de(0x276)+_0x2ac8ca[_0x24b0de(0x4dc)]+_0x24b0de(0x530);return(await this['_httpService'][_0x24b0de(0x222)](_0x537a99,{'params':{'resourceId':JSON[_0x24b0de(0x3c4)](_0x2ac8ca[_0x24b0de(0x45d)])}}))[_0x24b0de(0x573)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5ebc5d(0x217)](){const _0x185e2a=_0x5ebc5d;throw new Error(_0x185e2a(0x30c));}['saveChangeset'](){const _0x2989c3=_0x5ebc5d;throw new Error(_0x2989c3(0x30c));}[_0x5ebc5d(0x5b9)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x52f4d9[_0x5ebc5d(0x298)]=_0x285d1a([_0x44fa97(0x0,_0x204831['IConfigService']),_0x44fa97(0x1,_0x204831[_0x5ebc5d(0x5cf)](_0x59f944['HTTPService']))],_0x52f4d9[_0x5ebc5d(0x298)]);var _0x5dcb65=Object[_0x5ebc5d(0x552)],_0x4bcc7d=Object[_0x5ebc5d(0x38b)],_0xc106b5=(_0x2ea04a,_0x12700d,_0x2182f7,_0x3cc901)=>{const _0x91b012=_0x5ebc5d;for(var _0xe61852=_0x3cc901>0x1?void 0x0:_0x3cc901?_0x4bcc7d(_0x12700d,_0x2182f7):_0x12700d,_0x4ba569=_0x2ea04a[_0x91b012(0x522)]-0x1,_0x18f233;_0x4ba569>=0x0;_0x4ba569--)(_0x18f233=_0x2ea04a[_0x4ba569])&&(_0xe61852=(_0x3cc901?_0x18f233(_0x12700d,_0x2182f7,_0xe61852):_0x18f233(_0xe61852))||_0xe61852);return _0x3cc901&&_0xe61852&&_0x5dcb65(_0x12700d,_0x2182f7,_0xe61852),_0xe61852;},_0x1a165f=(_0x2f507d,_0x332bdc)=>(_0x3c8361,_0x44d680)=>_0x332bdc(_0x3c8361,_0x44d680,_0x2f507d);let _0x176077=class extends _0x204831[_0x5ebc5d(0x338)]{constructor(_0x568984,_0x5a7b54,_0x4e05de,_0x1b1c0a,_0x5dfa8d){const _0xfb73f2=_0x5ebc5d;super(_0x568984,_0x5a7b54,_0x4e05de),this[_0xfb73f2(0x4d9)]=_0x1b1c0a,this['_logService']=_0x5dfa8d;}[_0x5ebc5d(0x2e3)](_0x128520,_0x35f8f3){const _0x66c2b=_0x5ebc5d,_0x46d6b7=this[_0x66c2b(0x2d7)](_0x128520);if(_0x46d6b7)try{const _0x5b42b5=this[_0x66c2b(0x2c1)](_0x46d6b7,_0x35f8f3);this[_0x66c2b(0x5d1)](_0x128520,_0x5b42b5);}catch(_0x3ecc32){this[_0x66c2b(0x5b0)][_0x66c2b(0x5c5)](_0x66c2b(0x21f),_0x3ecc32),this[_0x66c2b(0x223)](_0x128520);}const _0x3282ca=this[_0x66c2b(0x5a6)](_0x128520);if(_0x3282ca)try{const _0x59e6ab=this['_transformStack'](_0x3282ca,_0x35f8f3);this[_0x66c2b(0x308)](_0x128520,_0x59e6ab);}catch(_0x3a54c4){this[_0x66c2b(0x5b0)][_0x66c2b(0x5c5)](_0x3a54c4),this[_0x66c2b(0x227)](_0x128520);}}['_clearUndo'](_0x3afee2){const _0x315452=_0x5ebc5d,_0x4ef946=this[_0x315452(0x2d7)](_0x3afee2);_0x4ef946&&(_0x4ef946[_0x315452(0x522)]=0x0,this[_0x315452(0x22d)]());}[_0x5ebc5d(0x227)](_0x20d201){const _0x39901c=_0x5ebc5d,_0x2f3f3c=this[_0x39901c(0x5a6)](_0x20d201);_0x2f3f3c&&(_0x2f3f3c[_0x39901c(0x522)]=0x0,this['_updateStatus']());}[_0x5ebc5d(0x5d1)](_0x4f434e,_0x280ef7){const _0x58d783=_0x5ebc5d;this[_0x58d783(0x43a)][_0x58d783(0x5a4)](_0x4f434e,_0x280ef7),this[_0x58d783(0x22d)]();}[_0x5ebc5d(0x308)](_0x3b992a,_0x4ac361){const _0x561e9f=_0x5ebc5d;this[_0x561e9f(0x606)][_0x561e9f(0x5a4)](_0x3b992a,_0x4ac361),this[_0x561e9f(0x22d)]();}[_0x5ebc5d(0x2c1)](_0x2e2b3c,_0x40d90e){const _0x1f598c=_0x5ebc5d,_0x5f0138=[];let _0x4955d7=_0x40d90e,_0x13cb79=_0x40d90e;for(let _0x4a200b=_0x2e2b3c['length']-0x1;_0x4a200b>=0x0;_0x4a200b--){const {unitID:_0x4c3866,undoMutations:_0x5b03bf,redoMutations:_0x3e492a}=_0x2e2b3c[_0x4a200b],_0x586727=this[_0x1f598c(0x4d9)][_0x1f598c(0x557)](_0x4955d7,_0x5b03bf),_0x3a7177=this[_0x1f598c(0x4d9)]['transformMutationsWithChangeset'](_0x13cb79,_0x3e492a);if(_0x292f17[_0x1f598c(0x5ed)](_0x586727)||_0x292f17['isTransformMutationsWithChangesetFailure'](_0x3a7177)){this[_0x1f598c(0x5b0)][_0x1f598c(0x5c5)](_0x1f598c(0x21f),_0x1f598c(0x25b),_0x586727,_0x3a7177);break;}_0x4955d7=_0x586727[_0x1f598c(0x49a)],_0x13cb79=_0x3a7177[_0x1f598c(0x49a)],_0x5f0138[_0x1f598c(0x479)]({'unitID':_0x4c3866,'undoMutations':_0x586727[_0x1f598c(0x3a3)],'redoMutations':_0x3a7177[_0x1f598c(0x3a3)]});}return _0x5f0138[_0x1f598c(0x317)]();}};_0x176077=_0xc106b5([_0x1a165f(0x0,_0x204831['IUniverInstanceService']),_0x1a165f(0x1,_0x204831[_0x5ebc5d(0x2de)]),_0x1a165f(0x2,_0x204831[_0x5ebc5d(0x526)]),_0x1a165f(0x3,_0x292f17[_0x5ebc5d(0x446)]),_0x1a165f(0x4,_0x204831[_0x5ebc5d(0x4a5)])],_0x176077);class _0x550fcb extends _0x204831[_0x5ebc5d(0x3e5)]{constructor(){const _0x1e6a48=_0x5ebc5d;super(),_0x3d4e20(this,_0x1e6a48(0x40a)),this[_0x1e6a48(0x40a)]=_0x2ea3f3['fromEvent'](window,'popstate')['pipe'](_0x2ea3f3[_0x1e6a48(0x31f)](this[_0x1e6a48(0x56d)]),_0x2ea3f3[_0x1e6a48(0x461)](0x1),_0x2ea3f3[_0x1e6a48(0x5a3)](void 0x0));}['setParam'](_0x4c903b,_0x27b63e,_0x37cc68=!0x1){const _0x20aeca=_0x5ebc5d,_0x197637=new URL(window['location'][_0x20aeca(0x5ae)]);_0x197637[_0x20aeca(0x1ef)][_0x20aeca(0x5a4)](_0x4c903b,_0x27b63e),_0x37cc68?window[_0x20aeca(0x318)][_0x20aeca(0x4e3)]('','',_0x197637[_0x20aeca(0x5bf)]()):window[_0x20aeca(0x318)][_0x20aeca(0x486)]('','',_0x197637[_0x20aeca(0x5bf)]());}[_0x5ebc5d(0x2c9)](_0x392a1d,_0xf618e6=!0x1){const _0x518c5f=_0x5ebc5d,_0x4092cf=new URL(window[_0x518c5f(0x2ca)][_0x518c5f(0x5ae)]);_0x4092cf['searchParams'][_0x518c5f(0x51a)](_0x392a1d),_0xf618e6?window[_0x518c5f(0x318)][_0x518c5f(0x4e3)]('','',_0x4092cf['toString']()):window['history'][_0x518c5f(0x486)]('','',_0x4092cf['toString']());}[_0x5ebc5d(0x25f)](_0xa6bf6b){const _0xb6176f=_0x5ebc5d;var _0x59cbd8;return(_0x59cbd8=new URL(window['location'][_0xb6176f(0x5ae)])['searchParams'][_0xb6176f(0x222)](_0xa6bf6b))!=null?_0x59cbd8:void 0x0;}}var _0xea89=Object[_0x5ebc5d(0x552)],_0xdf7505=Object['getOwnPropertyDescriptor'],_0x223d99=(_0x140a31,_0x517c46,_0x451baf)=>_0x517c46 in _0x140a31?_0xea89(_0x140a31,_0x517c46,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x451baf}):_0x140a31[_0x517c46]=_0x451baf,_0x4fb136=(_0x29dc0b,_0x43fd50,_0x4e77a0,_0xfecc81)=>{for(var _0x1f22a9=_0xfecc81>0x1?void 0x0:_0xfecc81?_0xdf7505(_0x43fd50,_0x4e77a0):_0x43fd50,_0x43674c=_0x29dc0b['length']-0x1,_0xb81ebd;_0x43674c>=0x0;_0x43674c--)(_0xb81ebd=_0x29dc0b[_0x43674c])&&(_0x1f22a9=(_0xfecc81?_0xb81ebd(_0x43fd50,_0x4e77a0,_0x1f22a9):_0xb81ebd(_0x1f22a9))||_0x1f22a9);return _0xfecc81&&_0x1f22a9&&_0xea89(_0x43fd50,_0x4e77a0,_0x1f22a9),_0x1f22a9;},_0x41b446=(_0x11e90b,_0x59a67a)=>(_0x26e116,_0x5e7e1e)=>_0x59a67a(_0x26e116,_0x5e7e1e,_0x11e90b),_0x44b976=(_0x5db3eb,_0x375cc5,_0x346434)=>_0x223d99(_0x5db3eb,_0x375cc5+'',_0x346434);const _0x6dea1c='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x52f4d9[_0x5ebc5d(0x576)]=class extends _0x204831[_0x5ebc5d(0x321)]{constructor(_0x5c6f93=_0x5c6234,_0x33d2f4,_0x2043f7,_0x386e92,_0x350bc6){const _0x2b8e04=_0x5ebc5d;super(),this[_0x2b8e04(0x466)]=_0x5c6f93,this[_0x2b8e04(0x5b0)]=_0x33d2f4,this['_renderManagerService']=_0x2043f7,this[_0x2b8e04(0x60c)]=_0x386e92,this[_0x2b8e04(0x45e)]=_0x350bc6;const {..._0x4a5c8b}=this[_0x2b8e04(0x466)];this[_0x2b8e04(0x45e)]['setConfig'](_0x5dd0cc,_0x4a5c8b);}[_0x5ebc5d(0x5a9)](){const _0x272d83=_0x5ebc5d;this['_registerDependencies'](),_0x204831[_0x272d83(0x4f5)](this[_0x272d83(0x60c)],[[_0x55aa83],[_0x52f4d9['DataLoaderController']],[_0x2df393]]);}['onReady'](){const _0xed89ab=_0x5ebc5d;_0x204831[_0xed89ab(0x4f5)](this[_0xed89ab(0x60c)],[[_0x325718]]);}[_0x5ebc5d(0x2f4)](){const _0x441ebf=_0x5ebc5d;this[_0x441ebf(0x3d4)]();}[_0x5ebc5d(0x45b)](){const _0x28a8e3=_0x5ebc5d;var _0x4b43aa,_0x2311d5,_0x283803,_0x3aae87;this[_0x28a8e3(0x60c)][_0x28a8e3(0x4ee)](_0x204831[_0x28a8e3(0x4bb)])&&this[_0x28a8e3(0x5b0)][_0x28a8e3(0x5c5)](_0x28a8e3(0x536),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x13fe5c=[[_0x204831['IUndoRedoService'],{'useClass':_0x176077}],[_0x52f4d9[_0x28a8e3(0x31c)]],[_0x225093],[_0x59f944[_0x28a8e3(0x5a1)]],[_0x1e189c,{'useClass':_0x550fcb}],[_0x3796d3],[_0x52f4d9['LocalCacheService']],[_0x59f944[_0x28a8e3(0x2ac)]],[_0x59f474],[_0x21c497],[_0x4065da],[_0x3c4160],[_0x40487a],[_0x1462a6],[_0x43bd59],[_0x2df393],[_0x2fd48c,{'useClass':(_0x2311d5=(_0x4b43aa=this[_0x28a8e3(0x466)])==null?void 0x0:_0x4b43aa[_0x28a8e3(0x42d)])!=null?_0x2311d5:_0x52f4d9[_0x28a8e3(0x368)]}],[_0x59f944['IHTTPImplementation'],{'useClass':_0x59f944[_0x28a8e3(0x5fb)]}],[_0x292f17[_0x28a8e3(0x48a)],{'useClass':_0x52f4d9[_0x28a8e3(0x298)]}],[_0x204831[_0x28a8e3(0x49d)],{'useClass':_0x52f4d9['AuthzIoHttpService']}],[_0xf94d17[_0x28a8e3(0x3fc)],{'useClass':_0x52f4d9['ImageIoService']}],[_0x52f4d9[_0x28a8e3(0x558)]],[_0x52f4d9[_0x28a8e3(0x616)]],[_0x52f4d9['DesktopCollaborationStatusDisplayController']],[_0x325718],[_0x55aa83]];(_0x283803=this['_config'])!=null&&_0x283803[_0x28a8e3(0x417)]&&_0x13fe5c[_0x28a8e3(0x479)]([_0x4bdb01,{'useClass':_0x2cd1f1}]),_0x13fe5c=_0x204831[_0x28a8e3(0x44e)](_0x13fe5c,(_0x3aae87=this[_0x28a8e3(0x466)])==null?void 0x0:_0x3aae87['override']),_0x13fe5c['forEach'](_0xb40ab8=>this[_0x28a8e3(0x60c)]['add'](_0xb40ab8)),this['_initModules']();}['_registerRenderDependencies'](){const _0x453fff=_0x5ebc5d;this[_0x453fff(0x382)](this[_0x453fff(0x505)][_0x453fff(0x330)](_0x204831[_0x453fff(0x49b)][_0x453fff(0x3ef)],[_0x3a3963])),this[_0x453fff(0x382)](this['_renderManagerService'][_0x453fff(0x330)](_0x204831[_0x453fff(0x49b)]['UNIVER_SHEET'],[_0x25db3a]));}[_0x5ebc5d(0x2a0)](){const _0x2410d8=_0x5ebc5d;var _0x18f108,_0x19df0f;this['_injector']['get'](_0x59f944[_0x2410d8(0x5a1)])[_0x2410d8(0x3a4)]({'priority':0x14,'interceptor':_0x59f944[_0x2410d8(0x515)]({'maxParallel':0x6})}),this[_0x2410d8(0x60c)]['get'](_0x1462a6),(_0x18f108=this['_config'])!=null&&_0x18f108[_0x2410d8(0x348)]||this[_0x2410d8(0x60c)]['get'](_0x52f4d9[_0x2410d8(0x44b)])[_0x2410d8(0x283)](),(_0x19df0f=this[_0x2410d8(0x466)])!=null&&_0x19df0f['enableAuthServer']&&this[_0x2410d8(0x60c)]['get'](_0x40487a),this[_0x2410d8(0x60c)]['get'](_0x52f4d9[_0x2410d8(0x558)]),this[_0x2410d8(0x60c)][_0x2410d8(0x4ee)](_0x52f4d9[_0x2410d8(0x22c)])&&this[_0x2410d8(0x60c)][_0x2410d8(0x222)](_0x52f4d9['DesktopCollaborationStatusDisplayController']);}},_0x44b976(_0x52f4d9[_0x5ebc5d(0x576)],_0x5ebc5d(0x55e),_0x6dea1c),_0x52f4d9[_0x5ebc5d(0x576)]=_0x4fb136([_0x204831[_0x5ebc5d(0x36c)](_0x292f17[_0x5ebc5d(0x301)]),_0x41b446(0x1,_0x204831[_0x5ebc5d(0x4a5)]),_0x41b446(0x2,_0x98dfd7[_0x5ebc5d(0x210)]),_0x41b446(0x3,_0x204831[_0x5ebc5d(0x5cf)](_0x204831[_0x5ebc5d(0x28a)])),_0x41b446(0x4,_0x204831[_0x5ebc5d(0x418)])],_0x52f4d9[_0x5ebc5d(0x576)]),_0x52f4d9['AUTHZ_URL_KEY']=_0x56cb49,_0x52f4d9['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x500ffa,_0x52f4d9['COLLAB_WEB_SOCKET_URL_KEY']=_0x5e1249,_0x52f4d9[_0x5ebc5d(0x444)]=_0x4ebacb,_0x52f4d9[_0x5ebc5d(0x2e6)]=_0x3e0c37,_0x52f4d9['CommentService']=_0x43bd59,_0x52f4d9[_0x5ebc5d(0x240)]=_0x10433d,_0x52f4d9['HEARTBEAT_TIMEOUT_KEY']=_0x1e8dea,_0x52f4d9[_0x5ebc5d(0x574)]=_0x2fd48c,_0x52f4d9[_0x5ebc5d(0x4b6)]=_0x1e189c,_0x52f4d9[_0x5ebc5d(0x2b3)]=_0xb98bd4,_0x52f4d9[_0x5ebc5d(0x516)]=_0x4d3acb,_0x52f4d9[_0x5ebc5d(0x58a)]=_0x5aece4,_0x52f4d9[_0x5ebc5d(0x428)]=_0x453db9,_0x52f4d9['SNAPSHOT_SERVER_URL_KEY']=_0x225bd6,_0x52f4d9[_0x5ebc5d(0x334)]=_0x2cc68c,_0x52f4d9[_0x5ebc5d(0x385)]=_0x52ce60,_0x52f4d9[_0x5ebc5d(0x2bb)]=_0x196d83,_0x52f4d9[_0x5ebc5d(0x416)]=_0x550fcb,_0x52f4d9[_0x5ebc5d(0x55f)]=_0xee418d,_0x52f4d9[_0x5ebc5d(0x5d0)]=_0x45f385,Object[_0x5ebc5d(0x552)](_0x52f4d9,Symbol['toStringTag'],{'value':_0x5ebc5d(0x598)});}));