@univerjs-pro/collaboration-client 0.4.1 → 0.4.2-nightly.202410291606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +5 -3
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +32 -1
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +2 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +4 -4
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -1
- package/lib/types/services/member/member.service.d.ts +39 -0
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +1 -1
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +20 -18
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x4c16(_0x551b44,_0x5238ab){const _0x4e79bc=_0x4e79();return _0x4c16=function(_0x4c16bb,_0x20ef04){_0x4c16bb=_0x4c16bb-0xa8;let _0x3ec4fc=_0x4e79bc[_0x4c16bb];return _0x3ec4fc;},_0x4c16(_0x551b44,_0x5238ab);}function _0x4e79(){const _0xff2bf7=['signUrlServerUrl','_syncEditingCollabCursorService','saveOfflineData','exports','ALREADY_EXISTS','@univerjs/docs','registerComponent','clearInterval','VIEW_MAIN','HELLO','getTime','onMissingChangesets','_getScale','row','actions','_socketReady','USERS_LEAVE','searchParams','session','_state','_init','collabWebSocketUrl','_getSendChangesetTimeout','getRandomValues','COLORS','parse','_startSheetCollabCursor','getConfig','AuthzIoHttpService','rgba(255,\x20255,\x20255,\x200.01)','useDependency','collab-rect-range-','_hover','collabStatus.conflict','_shouldReportTelemetry','routeKey','_heartbeatTimer','[CollaborationUndoRedoService]','getOwnPropertySymbols','getWorkbookSelections','startColumn','rxjs','uni.network.url-service','LIVESHARE_FETCH_OPERATIONS','HttpExport','transformIMECache','trim','IUndoRedoService','duration','onCommentUpdate','error$','_handleEvent','_changesetSessionId','bottom','onSendChangeset','isTransformMutationsWithChangesetFailure','_handleHeartbeatEvent','UUID','setCurrentUser','clear','_executeRemoteChangeset','_logService','isInternalEditorID','[PendingState]:\x20received\x20rejection.','useObservable','clearTimeout','257557OBjnVF','_drawTextRange','CommandType','column','selection','_getLoginPath','saveImage','UnitSnapshot','backgroundColor','displayName','updateMember','pending','number','/role','online','isTransformMutationsWithChangesetSuccess','_context','_telemetryInfo','state$','COLLAB_SUBMIT_CHANGESET_URL_KEY','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','action','univer-online','_cursorInfo$','_docSkeleton','switchMap','getUnhiddenWorksheets','/universer-api/snapshot','toggleOnline','unit-cache-','_ensureSubject','SheetPermissionInitController','setUndoRedoMutationParamsCache','getAncestorScale','DeleteRangeMoveLeftCommandId','_undoRedoService','distinctUntilChanged','_onRecvEvent','handleInsertRow','toggleOffline','AWAITING','onRendered','propertyIsEnumerable','Error','top','substring','stopTime','_candidateSocket','_commentUpdate$','ITransformService','arc','@univerjs/rpc','synced','JOIN','getResourcesRequest','_getCtorByUniverType','_colorAssignService','_stopTelemetryCollaborationNewChangeset','react','HEARTBEAT_TIMEOUT_KEY','executeCommand','entries','conflict','getAttachHeader','_getSaveTimeout','_onMessage','HTTPService','COLLAB_SUBMIT_CHANGESET_URL','onPointerMove$','...','\x0aCurrent:\x20','_themeService','getSkeleton','attrs','operators','IAuthzIoService','docStateChange$','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','beginPath','generateRandomId','UNIVER_PROJECT','onPointerLeave$','@univerjs-pro/license','_transformRemoteChangesetByIMECache','INotificationService','_queuedRemoteChangesets','CONFLICT','LIVESHARE_TERMINATE','push','location','_backgroundColor','length','PERMISSION_DENIED','_initUnitPermissionChange','_commentService','setItem','defIds','InsertColCommandId','_awaitingChangeset','skeleton','listRoles','UNKNOWN_CMD','/resources','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformChange$','event$','CollaborationSession','COMPLETION_FINISHED','UNIVER_UNKNOWN','SHOULD_CLOSE_CONN','onTransformIME','loadOfflineData','[CollaborationSessionService]:\x20socket\x20error','startRow','ImageIoService','status$','Error\x20on\x20receiving\x20event','objectType','div','assign','sessionStatus$','collaMsg','M0\x200H16V16H0z','BASE64','reverse','_setupBeforeClosingHandler','UserManagerService','getCurrentSelections','_tryReconnect','FileId','[CollaborationSessionService]','_onRemoteACK','session.room-full','YUUMI_UNABLE_LOAD_URL','changesets','_clearScheduledTask','subunit','registerRenderModule','DocSelectionManagerService','XHRHTTPImplementation','/block/','fetchMissingChangesets','on-line-single','_handler','all','APPLY_REJECT','[CollaborationSession]','take','_schedule','onlineStatusTitle','getCollabEntity','current','cursorInfo$','_createInitialStateImpl','_anchorDot','split','_syncEditingCollabCursor','NEW_CHANGESETS','_joinRoom','_unitID','@univerjs/design','ENSURE_SNAPSHOT_EXECUTION','/universer-api/stream/file/upload','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','COMPRESS_MUTATION_SEND','includes','_transformSelections','hide','@univerjs/ui','PSEUDO_FETCH_MISSING_RESULT','conflict.content','evenodd','_document','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','fetchMiss','[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.','src','_clearLocalCache','_transformService','save','PENDING','JSONX','defineProperty','getActiveSheet','pipe','from','_timeoutTimer','\x20-\x20','InsertRangeMoveDownCommandId','originalMeta','name','size','_saveCache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SnapshotServerOverHTTPService','random','getMember','not_collab','@univerjs-pro/collaboration','font','_initStatusListener','_cachedData','LICENSE_IMPORT_SIZE_EXCEEDED','hovered','univer-online-status-icon','_submitChangeset','10BsDIIg','sheetID','CollaborationStatusDisplay','values','ImageSourceType','setShapeProps','_updateState','apply','_online','equals','_socketMessageSubscription','disableLocalCache','saveSnapshot','memberID','getUnitId','4487697oylEMz','OTHER_CLIENTS_EDITING','PERMISSION_REJ','unshift','_acknowledgedAwaitingChangeset','syncEditingCollabCursor','getCoordByCell','SNAPSHOT_SERVER_URL_KEY','subUnitId','SetTextSelectionsOperation','textRanges','create','target','send','CompressMutationService','shouldCloseConn','_sheetTransformSelectionsService','permission.content','_clearHeartbeatTimer','dispose$','focused$','cursorInfo','override','range','collabStatus.syncing','_replayCachedMutations','WebURLService','tag','_isPermissionRej','_send','ws://127.0.0.1:8000/universer-api/comb/connect','IImageIoService','UNIVER_DOC','onStateChange','_textBubble','debounce','image/jpeg','next','_onUserJoin','addObjects','IHTTPImplementation','_notificationService','OFFLINE','Injector','ERROR_IMAGE_TYPE','_disableEditing','[SyncedState]:\x20received\x20rejection.','UniverEngineRender','loadDoc','EmptyMutation','UniverInstanceType','_onRemoteRejected','onTransformSelections','_singleActiveUnitService','m2Prime','createInstance','_snapshotService','deserializeToCombResponse','Rectangle','_collabCursorState$','Inject','state','result','CollaborationEvent','univer-online-status','connection\x20error','infoRsp','_range','stringify','unitId\x20is\x20not\x20found','_name','_anchor','fetch_missing','csRejEvent','_event$','Optional','createElement','appendMutation','?size=','RegularPolygon','cmd','socket\x20close','colorChannel1','2712096thaKFE','incrementRevOfUnit','LocalCacheService','/collaborator','members','InsertSheetMutation','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Plugin','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitStatus$','fill','_sheetSkeletonManagerService','_getAPIPrefix','_configService','_id','_removeRoom','ILocalStorageService','_updateLocalCursor','_change$','UniverCore','_scheduleClearOtherTimer','RevisionService','CollaborationEntity','IConfigService','transformRemoteChangeset','save\x20fail\x20reason\x20is\x20','activeSheet$','_sendHeartbeat','SetWorksheetActivateCommand','min','getInterceptPoints','UNRECOGNIZED','xlink:href','_injector','_onFetchMissResult','/object/','collabStatus.offline','_drawRectRange','add','MUTATION','height','_messageService','getImage','setActiveRange','_localCacheService','_collaborationTimeoutTimer','_imageSourceCache','45WnDWdh','LOCAL_CACHE_INTERVAL_KEY','_scheduleSaving','#fff','_clearTimeoutTimer','currentSkeleton$','fillRule','clipPath','bind','joinEvent','React','eventID','FromArray','isArray','sendChangesetTimeout','UniverDocs','selections','collab-text-range-','assignAColorForMemberID','setTimeout','_onOffline','put','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','createSocket','deepClone','CONNECTOR_DATA_TOO_LARGE','roomMembers','withCredentials','isValidRectRange','HttpImport','_entities','commentUpdate$','DocCollaborationEntity','resourceIDs','interceptor','resolve','_getSignURL','commentUpdateEvent','_getDownloadEndpointURL','onMouseMove','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','rxjs/operators','_collabSessionService','collaboration_new_changeset','InsertRangeMoveRightCommandId','off-line-single','baseRev','UNIVER_SHEET','82040WlmrSa','RxDisposable','DependentOn','_listenToOfflineEvent','UNAUTHENTICATED','newValue','RETRY_CONNECTING_MAX_COUNT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','univer-pro.collaboration-client.single-active-unit-service','HEARTBEAT','_initModules','asObservable','_docStateChangeManagerService','post','toString','TOO_MANY_REQUESTS','touchDependencies','_roomMembers$','rev','takeUntil','onRemoteRej','_cursors','getUndoRedoMutationParamsCache','collaboration-session-retry','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','APPLY_DUPLICATED','@univerjs/docs-ui','univer-offline','[OfflineState]:\x20received\x20acknowledgement.','resize','_HTTPService','get','indexOf','href','sid','mutations','UniverRpc','object','registerHTTPInterceptor','_drawAnchor','parseProtocolChangeset','awaiting_with_pending','getValue','LICENSE_EXPORT_SIZE_EXCEEDED','_hideTimer','OnLineSingle','initWorkbookPermissionChange','history','[SyncedState]:\x20received\x20acknowledgement.','transformByState','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_saveTaskMap','58634cMngMV','RECV','reconnect','image/gif','reject','use','unload','Disposable','prototype','getSheetBySheetId','_ws','handleDeleteRangeMoveUp','_state$','AUTHZ_URL_KEY','getDeserializedSheetBlock','[DataLoaderController]','_sessions','subscribeEvent','ColorKit','onlineStatusIcon','debug','NO_OTHER_CLIENTS_EDITING','unit','DocSkeletonManagerService','type','collaborators','_waitForHeartbeatResponse','getCurrentUnitForType','sessionStatus','EffectRefRangId','_initEventListeners','DisposableCollection','SnapshotService','_refRangeService','_initCommandExecutedListener','IRenderManagerService','session.connection-failed','subscribe','TEXT_RANGE_LAYER_INDEX','verdancy600','text','transformMutation','UPDATE_CURSOR','univer-pro.collaboration-client-socket-service','_onConnectionFailed','sequenceExecute','IPermissionService','BuiltInUIPart','x-univer-host','transformUndoRedo','SetSelectionsOperation','disposeWithMe','SYNCED','storage','ThemeService','getUniverSheetInstance','unsubscribe','getTypeOfUnitAdded$','doc.mutation.rich-text-editing','UNKNOWN_CODE','width','RemoveRowCommandId','Warning','downloadEndpointUrl','Undefined','LIVESHARE_NEW_HOST','_clearRedo','authzUrl','rng','APPLY_NON_SEQUENTIAL_REVISION','_toggleOffline','onSyncEditingCollabCursor','_docTransformIMECacheService','DeleteRangeMoveUpCommandId','key','MessageType','CHANGESET_REVISION_CONFILICT','_http','handleIRemoveRow','_onCombEvent','?url=','snapshotServerUrl','getVpScrollXYInfoByPosToVp','pushState','INVALID_ARGUMENT','replaceState','toStringTag','setInterval','closeSession','SheetCollaborationEntity','SNAPSHOT_INVALID_SNAPSHOT','_decreaseWaiting','SEND_CHANGESET_TIMEOUT','SNAPSHOT_URL_KEY','getLatestCsReqIdBySid','_updateStatus','IDLE','8UfUWHZ','_collaborationSessionService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','close$','DocStateChangeManagerService','SheetSkeletonManagerService','replaceTextRanges','_collaborationController','univerjs-icon\x20univerjs-icon-','icon','objectID','title','_getAnchorBounding','collaboration.closeRoom','WorkbookEditablePermission','\x20in\x20_schedule.','auth.needGotoLoginAlert','COLLAB_WEB_SOCKET_URL','SheetCollabCursorShape','APPLY_REVISION_CONFILICT','COMMENT_UPDATE','UNDEFINED','CollaborationStatus','parseChangesetToProtocol','IUniverInstanceService','collaboration-client.config','map','addImageSourceCache','_setupSubUnitSync','isTransformMutationFailure','concat','getCollabEntity$','_socketService','@univerjs/engine-formula','dispose','startsWith','_socket','purple300','_telemetryService','[CollaborationEntity]','UniverSheets','roomInfos','updatePermissionPoint','isPermissionRej','visibilityState','_loadSheet','has','DataLoaderController','_initResize','ranges','getFocusedUnit','UniverTelemetry','SUBMIT_CHANGESET','CHANGESET_REJ','_replaceFileID','getCurrentRevOfUnit','_toggleOnline','find','_roomMembers','UniverCollaborationPlugin','LIVESHARE_REQUEST_HOST','hidden','combineLatest','getRenderById','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Tools','_onCursorDelete','on-line-single_clip0_910_349','JOINING','DEFAULT_FILE_NAME','_cursorShapes','_assignedColors','Subject','idSuffix','_status$','_createHandler','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_getUndoStack','restore','YUUMI_RATE_OVER_LIMIT','registerOnClose','_scheduleTimestamp','collabStatus.notCollab','_sessionStatus$','filter','0\x200\x2016\x2016','_getSheetObject','getRangePointData','@univerjs/telemetry','useCallback','UniverCollaboration','_createInitialState','UniverEngineFormula','hasOwnProperty','now','getCurrent','LIVESHARE_OPERATION','DesktopCollaborationStatusDisplayController','collabStatus.synced','copyFileMeta','_instanceService','readAsDataURL','UniverDocsUi','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getCellPositionByOffset','_config','encode','_sendingTimer','_lastPointer','url(#off-line-single_clip0_910_343)','localeService','round','roles','concatMap','_changesetReqId','_revisionService','onRemoteAck','url','_updateURLWithCurrentState','_startCollaboration','NOT_COLLAB','&to=','_userManagerService','_applyRemoteChangeset','_transformUndoredo','_onUserLeave','NodePositionConvertToCursor','LICENSE_DISTRO_REJECTED','measureText','whenReady','collabStatus.fetchMiss','Rect','setAlpha','serializeRangeWithSheet','_registerRenderDependencies','extend','1em','@univerjs/drawing','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableAuthServer','ICollaborationSocketService','_removeCollabCursors','_shapes','_sendHeartbeatTimer','throttleTime','enableLocalCache','body','_snapshotServerService','_socket$','complete','reqId','leaveEvent','NOT_FOUND','className','_docSyncEditingCollabCursorService','UniverIcon','function','children','_members','MSG_FOR_ERROR','_draw','_commandService','update','change$','startTime','collaboratorID','mergeOverrideWithDependencies','translate(.97)','useRef','onReady','updateOfflineData','[OfflineState]:\x20received\x20rejection.','_startTelemetryCollaborationNewChangeset','onRemoteChangeset','workbook','path','session.collaboration-timeout','_refreshCollabCursors','_univerInstanceService','_memberService','_beforeCloseService','UniverNetwork','getTypeOfUnitDisposed$','fromEventSubject','onMissedChangesetFetched','_onCursorUpdate','_collaborationPaused','merge','collabSubmitChangesetUrl','sheets','_undoStacks','collabCursorState$','_transformIMECache','_initRequestHeader','UnitEmbedded','capture','#FFF','_pendingMutations','compose','_unlockTransition','flatMap','/universer-api/authz','_color','transformSelections','_colorIndex','refreshPermission','_retryCount','_eventUnsubscribe','_onJoinRoomEvent','SheetsSelectionsService','requireSession','svg','data','UPDATE_PERMISSION_OBJ','forwardRef','DocIMEInputManagerService','fromEvent','_transformStack','permission.title','black','forEach','socket\x20open.','collaboration.single-unit.warning','code','UNIVER_SLIDE','urlChange$','color','_exhaustRemoteChangesetQueue','string','_unitOnClients','_renderManagerService','getViewport','unknown','_onConnectionOpen','isActive','ONLINE','engine','UniverLicense','LOCAL_CACHE_INTERVAL','_getMergeRange','toDisposable','_urlService','contains','textEncoder','_throwTelemetryCollaborationNewChangeset','UNIVER_COLLABORATION_CLIENT_PLUGIN','unitID','init','LocaleService','set','_httpService','POST','fillStyle','_startDocCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','saveChangeset','amd','joinRsp','_handleJoinEvent','lineTo','params','getOffsetConfig','m1Prime','findNodePositionByCharIndex','[FetchMissState]','transformStack\x20failed!','_getCurrentRevision','_incrementRevisionNumber','objectActions','every','session.will-retry','@univerjs/sheets-ui','handleInsertRangeMoveDown','_clearUndo','IMessageService','/new_changes','getRoom','_getAPIPrefixPath','_rescheduleHeartbeat','drawWith','handleDeleteRangeMoveLeft','[PendingState]:\x20unhandled\x20univer\x20type:\x20','HEARTBEAT_INTERVAL_KEY','_labelPosition','removeMember','{fileID}','sheetId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','currentTheme$','/unit/','defs','_updateCollabCursors','transformChangesets','isTransformChangesetsSuccess','removeParam','blue400','CollaborationSocketService','_handleHover','toRgbString','message$','list','onPointerEnter$','IBeforeCloseService','ERROR_IMAGE','with','HTTPRequest','_collabCursorController','setParam','ImageUploadStatusType','BehaviorSubject','call','/-/object/-/batch_allowed','SessionStatus','/allowed','fillText','_initStatusComponent','_onRemoteChangeset','_updateSubUnitFromURLParams','error','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformSelectionsService','CommentService','debounceTime','disposeUnit','Vector2','_selfUnitIDs','endRow','_compressMutationService','_lockTransition','ThresholdInterceptorFactory','_type','Unknown\x20user','transformMutationsWithChangeset','CHANGESET_ACK','_tryEnsureSocket','_checkMissing','snapshot','unitId','3359839DGZMKV','/universer-api/snapshot/','FETCH_MISSING','_localStorageService','_retryConnectingTimer','registerBeforeClose','onTransformRemoteChangesetByIMECache','RETRY_CONNECTING_MAX_COUNT_KEY','close','_uiPartsService','revision','_handleLeaveEvent','offline','_registerDependencies','getItem','_onRefRangeChange','loadSheet','uploadFileServerUrl','_substituteRedoStack','_cursor','editingUnit','awaitingChangeset','HEARTBEAT_INTERVAL','randomUUID','deleteCollaborator','[PendingState]:\x20received\x20acknowledgement.','IUIPartsService','handleInsertRangeMoveRight','json','getCurrentUser','[UniverCollaborationClientPlugin]','/fetchmissing?from=','COMPRESS_MUTATION_APPLY','\x20to\x20','url(#$1','status','_unitStatus','ERROR_EXCEED_SIZE','onCommandExecuted','RemoveColCommandId','shareReplay','_session','HEARTBEAT_TIMEOUT','handleInsertCol','createCollaborator','_onConflict','_entityInit$','_hovered','@univerjs/engine-render','updatePermissionObjEvent','show','USERS_ENTER','INGEST','max','fetchThroughInterceptors','image/bmp','_initCloseConn','_substituteUndoStack','permissionRejEvent','30116185aqRmNM','_scheduleHeartbeat','getSheetId','LocalUndoRedoService','/object','LOGIN_URL_KEY','WebSocketService','createIdentifier','mapTo','off-line-single_clip0_910_343','responseType','_clearOtherTimers','image/png','delay','newCsEvent','failed\x20to\x20apply\x20missed\x20changesets!','currentColor','reduce','collab-client.tooltip.reconnect','LEAVE','_clearCollaborationTimeoutTimer','allowed','YUUMI_URL_COL_OUT_OF_RANGE','requestParams','ISnapshotServerService','getUnitType','enableOfflineEditing','closePath','UniverCollaborationClientPlugin','RichTextEditingMutation','_localeService','CollaborationSessionService','_transitionLocked','then','CollaborationController','_updateLocalCache','_docSkeletonManagerService','_remoteChangesetQueue','catch','Shape','exhaustSavingTask','file','serializeCombRequest','SEND_CHANGESET_TIMEOUT_KEY','getParam','_waitCount','12KLlFrd','ILogService','getOwnPropertyDescriptor','_disabled','addEventListener','getDocRanges','_listenToOnlineEvent','getColor','registerRefRange','_onLocalMutation','_removeClearOtherTimer','UniverSheetsUi','objects','handleIRemoveCol','ICommandService','addObject','getSheetBlock','fetching\x20missing\x20changesets\x20from\x20','getMemberID','_transformUndoRedoStack','delete','liveShareNewHost','onlineStatus','onload','_permissionService','roomMembers$','fromCollab','FAIL','none','resend','_scene','awaiting','c1Prime','_getRedoStack','FETCH_MISS'];_0x4e79=function(){return _0xff2bf7;};return _0x4e79();}(function(_0x3a008e,_0x4c79b8){const _0x3a1748=_0x4c16,_0x1ff51f=_0x3a008e();while(!![]){try{const _0x50fa55=-parseInt(_0x3a1748(0x3e4))/0x1+-parseInt(_0x3a1748(0x163))/0x2*(parseInt(_0x3a1748(0xff))/0x3)+-parseInt(_0x3a1748(0xd0))/0x4+parseInt(_0x3a1748(0x12f))/0x5*(-parseInt(_0x3a1748(0x37f))/0x6)+-parseInt(_0x3a1748(0x316))/0x7*(parseInt(_0x3a1748(0x1c4))/0x8)+-parseInt(_0x3a1748(0x4c1))/0x9+parseInt(_0x3a1748(0x4b2))/0xa*(parseInt(_0x3a1748(0x351))/0xb);if(_0x50fa55===_0x4c79b8)break;else _0x1ff51f['push'](_0x1ff51f['shift']());}catch(_0x344b92){_0x1ff51f['push'](_0x1ff51f['shift']());}}}(_0x4e79,0x55b61),function(_0x316310,_0x1f3c60){const _0xc9db33=_0x4c16;typeof exports==_0xc9db33(0x154)&&typeof module<'u'?_0x1f3c60(exports,require('@univerjs/core'),require('rxjs'),require(_0xc9db33(0x128)),require(_0xc9db33(0x484)),require(_0xc9db33(0x48c)),require('@univerjs/network'),require('@univerjs-pro/collaboration'),require(_0xc9db33(0x21c)),require(_0xc9db33(0x149)),require('@univerjs/sheets'),require(_0xc9db33(0x346)),require('@univerjs/docs'),require('@univerjs/drawing'),require(_0xc9db33(0x1e5)),require(_0xc9db33(0x2d3)),require(_0xc9db33(0x41e)),require('@univerjs/rpc'),require(_0xc9db33(0x436))):typeof define=='function'&&define[_0xc9db33(0x2c4)]?define([_0xc9db33(0x3a5),'@univerjs/core',_0xc9db33(0x3cb),_0xc9db33(0x128),_0xc9db33(0x484),_0xc9db33(0x48c),'@univerjs/network',_0xc9db33(0x4aa),_0xc9db33(0x21c),_0xc9db33(0x149),'@univerjs/sheets',_0xc9db33(0x346),_0xc9db33(0x3a7),_0xc9db33(0x24d),_0xc9db33(0x1e5),'@univerjs/sheets-ui',_0xc9db33(0x41e),_0xc9db33(0x417),'@univerjs-pro/license'],_0x1f3c60):(_0x316310=typeof globalThis<'u'?globalThis:_0x316310||self,_0x1f3c60(_0x316310['UniverCollaborationClient']={},_0x316310[_0xc9db33(0xe3)],_0x316310[_0xc9db33(0x3cb)],_0x316310[_0xc9db33(0x3cb)][_0xc9db33(0x42e)],_0x316310['UniverDesign'],_0x316310['UniverUi'],_0x316310[_0xc9db33(0x279)],_0x316310[_0xc9db33(0x21e)],_0x316310[_0xc9db33(0x1f7)],_0x316310[_0xc9db33(0x22a)],_0x316310[_0xc9db33(0x1ec)],_0x316310[_0xc9db33(0xac)],_0x316310[_0xc9db33(0x10e)],_0x316310['UniverDrawing'],_0x316310[_0xc9db33(0x220)],_0x316310[_0xc9db33(0x38a)],_0x316310[_0xc9db33(0x109)],_0x316310[_0xc9db33(0x153)],_0x316310[_0xc9db33(0x2b1)]));}(this,function(_0x4238fe,_0x593949,_0x30c949,_0x218e56,_0x2b27fc,_0xc44033,_0x4c2b25,_0x4968b4,_0x3d9685,_0x5c6469,_0xec6805,_0xa07e34,_0x4aa7be,_0x2b881e,_0x399ee2,_0x35ed85,_0x111993,_0x172174,_0x56e63b){'use strict';const _0x36f281=_0x4c16;var _0x58cbf7=Object[_0x36f281(0x49a)],_0x1c3be4=(_0x5abf15,_0x3e7d75,_0x401faf)=>_0x3e7d75 in _0x5abf15?_0x58cbf7(_0x5abf15,_0x3e7d75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x401faf}):_0x5abf15[_0x3e7d75]=_0x401faf,_0x3e0772=(_0x19dc06,_0x3968c0,_0xe1b1)=>_0x1c3be4(_0x19dc06,typeof _0x3968c0!='symbol'?_0x3968c0+'':_0x3968c0,_0xe1b1);const _0x3f5413=_0x36f281(0x4c8),_0x227a95=_0x36f281(0x3ff),_0x418a13=_0x36f281(0x1c0),_0x2b528f=_0x36f281(0x1bf),_0x3db6d8=_0x36f281(0x1d5),_0x270218=_0x36f281(0x4df),_0xec8683=_0x36f281(0x32c),_0x512ef2=_0x36f281(0x340),_0x428723=_0x36f281(0x135),_0x443bb=_0x36f281(0x2b2),_0x51e7c0=_0x36f281(0x427),_0x16783a='/universer-api/comb',_0x40bc0f=_0x36f281(0x356),_0x945847='/universer-api/oidc/authpage';var _0x52baf3=(_0x2c772e=>(_0x2c772e[_0x2c772e['UNDEFINED']=0x0]=_0x36f281(0x1d9),_0x2c772e[_0x2c772e['OK']=0x1]='OK',_0x2c772e[_0x2c772e['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x2c772e[_0x2c772e[_0x36f281(0x440)]=0x3]=_0x36f281(0x440),_0x2c772e[_0x2c772e[_0x36f281(0x25c)]=0x4]='NOT_FOUND',_0x2c772e[_0x2c772e[_0x36f281(0x133)]=0x5]=_0x36f281(0x133),_0x2c772e[_0x2c772e[_0x36f281(0x3a6)]=0x6]=_0x36f281(0x3a6),_0x2c772e[_0x2c772e[_0x36f281(0x1b7)]=0x7]=_0x36f281(0x1b7),_0x2c772e[_0x2c772e[_0x36f281(0x13e)]=0x8]=_0x36f281(0x13e),_0x2c772e[_0x2c772e[_0x36f281(0x44f)]=0x9]=_0x36f281(0x44f),_0x2c772e[_0x2c772e[_0x36f281(0x1af)]=0x1389]=_0x36f281(0x1af),_0x2c772e[_0x2c772e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x36f281(0x1bd),_0x2c772e[_0x2c772e[_0x36f281(0x2c2)]=0x1772]=_0x36f281(0x2c2),_0x2c772e[_0x2c772e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x36f281(0x485),_0x2c772e[_0x2c772e[_0x36f281(0x475)]=0x1b59]=_0x36f281(0x475),_0x2c772e[_0x2c772e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x36f281(0x1a8),_0x2c772e[_0x2c772e[_0x36f281(0x1d7)]=0x1b5b]=_0x36f281(0x1d7),_0x2c772e[_0x2c772e['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2c772e[_0x2c772e[_0x36f281(0x148)]=0x1b5d]='APPLY_DUPLICATED',_0x2c772e[_0x2c772e[_0x36f281(0x118)]=0x1f41]=_0x36f281(0x118),_0x2c772e[_0x2c772e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2c772e[_0x2c772e[_0x36f281(0x487)]=0x232a]=_0x36f281(0x487),_0x2c772e[_0x2c772e[_0x36f281(0x4ae)]=0x232b]=_0x36f281(0x4ae),_0x2c772e[_0x2c772e[_0x36f281(0x15a)]=0x232c]=_0x36f281(0x15a),_0x2c772e[_0x2c772e[_0x36f281(0x243)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2c772e[_0x2c772e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x36f281(0x469),_0x2c772e[_0x2c772e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x36f281(0x367),_0x2c772e[_0x2c772e[_0x36f281(0x213)]=0x2713]=_0x36f281(0x213),_0x2c772e[_0x2c772e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x36f281(0x303),_0x2c772e[_0x2c772e[_0x36f281(0xef)]=-0x1]='UNRECOGNIZED',_0x2c772e))(_0x52baf3||{}),_0x4775b3=(_0x5f3409=>(_0x5f3409[_0x5f3409[_0x36f281(0x450)]=0x0]=_0x36f281(0x450),_0x5f3409[_0x5f3409[_0x36f281(0x4e1)]=0x1]=_0x36f281(0x4e1),_0x5f3409[_0x5f3409[_0x36f281(0x12e)]=0x2]=_0x36f281(0x12e),_0x5f3409[_0x5f3409[_0x36f281(0x2a4)]=0x3]=_0x36f281(0x2a4),_0x5f3409[_0x5f3409[_0x36f281(0x434)]=0x4]='UNIVER_PROJECT',_0x5f3409[_0x5f3409['UNRECOGNIZED']=-0x1]=_0x36f281(0xef),_0x5f3409))(_0x4775b3||{}),_0x5e3ac2=(_0x3c0399=>(_0x3c0399[_0x3c0399[_0x36f281(0x449)]=0x0]=_0x36f281(0x449),_0x3c0399[_0x3c0399[_0x36f281(0x3ab)]=0x1]=_0x36f281(0x3ab),_0x3c0399[_0x3c0399[_0x36f281(0x419)]=0x2]=_0x36f281(0x419),_0x3c0399[_0x3c0399[_0x36f281(0x364)]=0x3]=_0x36f281(0x364),_0x3c0399[_0x3c0399[_0x36f281(0x34a)]=0x4]=_0x36f281(0x34a),_0x3c0399[_0x3c0399[_0x36f281(0x138)]=0x5]=_0x36f281(0x138),_0x3c0399[_0x3c0399[_0x36f281(0x164)]=0x6]=_0x36f281(0x164),_0x3c0399[_0x3c0399[_0x36f281(0xef)]=-0x1]=_0x36f281(0xef),_0x3c0399))(_0x5e3ac2||{}),_0xd96311=(_0x4c0504=>(_0x4c0504[_0x4c0504[_0x36f281(0x19e)]=0x0]=_0x36f281(0x19e),_0x4c0504[_0x4c0504['OK']=0x1]='OK',_0x4c0504[_0x4c0504[_0x36f281(0x39a)]=0x2]=_0x36f281(0x39a),_0x4c0504[_0x4c0504[_0x36f281(0xef)]=-0x1]=_0x36f281(0xef),_0x4c0504))(_0xd96311||{}),_0x34a97d=(_0x108334=>(_0x108334[_0x108334[_0x36f281(0x1a3)]=0x0]=_0x36f281(0x1a3),_0x108334[_0x108334[_0x36f281(0x11c)]=0x1]=_0x36f281(0x11c),_0x108334[_0x108334['HttpExport']=0x2]=_0x36f281(0x3ce),_0x108334[_0x108334[_0x36f281(0x286)]=0x3]=_0x36f281(0x286),_0x108334[_0x108334[_0x36f281(0x3eb)]=0x4]=_0x36f281(0x3eb),_0x108334[_0x108334[_0x36f281(0xef)]=-0x1]=_0x36f281(0xef),_0x108334))(_0x34a97d||{});const _0xfe6e3e=_0x36f281(0x1dd),_0x57fe04={};function _0x49635b(_0x25a445){const _0xa6a016=_0x36f281;var _0x4ff51e,_0x811e04,_0x6da64c,_0x186137;const _0xa517db=_0x25a445[_0xa6a016(0x298)],_0x69971a=JSON[_0xa6a016(0x3bb)](_0xa517db);switch(_0x69971a[_0xa6a016(0xcd)]){case _0x5e3ac2[_0xa6a016(0x138)]:case _0x5e3ac2['HELLO']:{const _0x3c1cbc=_0x69971a[_0xa6a016(0xbf)];return{..._0x69971a,'data':_0x3c1cbc,'cmd':_0x69971a[_0xa6a016(0xcd)]};}case _0x5e3ac2[_0xa6a016(0x419)]:{const _0x465780=_0x69971a[_0xa6a016(0x2c5)];return{..._0x69971a,'data':_0x465780,'cmd':_0x69971a[_0xa6a016(0xcd)]};}case _0x5e3ac2[_0xa6a016(0x164)]:{const _0x6b2b10=_0x69971a[_0xa6a016(0x45d)];switch(_0x6b2b10[_0xa6a016(0x10a)]){case _0x4968b4['CollaborationEvent'][_0xa6a016(0x4c3)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':(_0x4ff51e=_0x6b2b10[_0xa6a016(0x350)])==null?void 0x0:_0x4ff51e['cs']},'cmd':_0x69971a['cmd']};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x311)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':(_0x811e04=_0x6b2b10['csAckEvent'])==null?void 0x0:_0x811e04['cs']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x481)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':(_0x6da64c=_0x6b2b10[_0xa6a016(0x35f)])==null?void 0x0:_0x6da64c['cs']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x1f9)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':(_0x186137=_0x6b2b10[_0xa6a016(0xc6)])==null?void 0x0:_0x186137['cs']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10['updateCursorEvent']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x349)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x108)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x3b2)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x25b)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x1a4)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10['liveShareNewHost']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4['CollaborationEvent'][_0xa6a016(0x3cd)]:case _0x4968b4['CollaborationEvent'][_0xa6a016(0x224)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10['liveShareOperation']},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)]['LIVESHARE_TERMINATE']:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x394)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)]['MSG_FOR_ERROR']:return{..._0x69971a,'data':_0x6b2b10,'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x1d8)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x124)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x299)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x347)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};case _0x4968b4[_0xa6a016(0xbc)][_0xa6a016(0x451)]:return{..._0x69971a,'data':{..._0x6b2b10,'data':_0x6b2b10[_0xa6a016(0x4d0)]},'cmd':_0x69971a[_0xa6a016(0xcd)]};default:return _0x69971a;}}default:return _0x69971a;}}function _0x59173a(_0x5829b4){const _0x2c54c4=_0x36f281;switch(_0x5829b4[_0x2c54c4(0xcd)]){case _0x5e3ac2['HEARTBEAT']:case _0x5e3ac2[_0x2c54c4(0x3ab)]:return JSON[_0x2c54c4(0xc1)]({'cmd':_0x5829b4[_0x2c54c4(0xcd)],'routeKey':_0x5829b4[_0x2c54c4(0x3c5)]});case _0x5e3ac2[_0x2c54c4(0x34a)]:{let _0x2c46b0;switch(_0x5829b4[_0x2c54c4(0x298)][_0x2c54c4(0x10a)]){case _0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x18d)]:{_0x2c46b0={'eventID':_0x4968b4['CollaborationEvent'][_0x2c54c4(0x18d)],'updateCursorEvent':_0x5829b4[_0x2c54c4(0x298)]['data']};break;}case _0x4968b4['CollaborationEvent'][_0x2c54c4(0x3b2)]:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x3b2)],'leaveEvent':_0x5829b4[_0x2c54c4(0x298)][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x349)]:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x349)],'joinEvent':_0x5829b4['data'][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)]['LIVESHARE_NEW_HOST']:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x1a4)],'liveShareNewHost':_0x5829b4[_0x2c54c4(0x298)][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x224)]:{_0x2c46b0={'eventID':_0x4968b4['CollaborationEvent'][_0x2c54c4(0x224)],'liveShareOperation':_0x5829b4[_0x2c54c4(0x298)][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x43b)]:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5829b4['data'][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x200)]:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)][_0x2c54c4(0x200)],'liveShareRequestHost':_0x5829b4[_0x2c54c4(0x298)][_0x2c54c4(0x298)]};break;}case _0x4968b4[_0x2c54c4(0xbc)]['LIVESHARE_FETCH_OPERATIONS']:{_0x2c46b0={'eventID':_0x4968b4[_0x2c54c4(0xbc)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2c46b0={'eventID':_0x5829b4[_0x2c54c4(0x298)]['eventID']};}return JSON[_0x2c54c4(0xc1)]({'cmd':_0x5829b4[_0x2c54c4(0xcd)],'routeKey':_0x5829b4['routeKey'],'collaMsg':_0x2c46b0});}case _0x5e3ac2[_0x2c54c4(0x419)]:return JSON[_0x2c54c4(0xc1)]({'cmd':_0x5829b4[_0x2c54c4(0xcd)],'routeKey':_0x5829b4[_0x2c54c4(0x3c5)],'joinReq':_0x5829b4[_0x2c54c4(0x298)]});case _0x5e3ac2[_0x2c54c4(0x364)]:return JSON['stringify']({'cmd':_0x5829b4[_0x2c54c4(0xcd)],'routeKey':_0x5829b4['routeKey'],'leaveReq':_0x5829b4[_0x2c54c4(0x298)]});default:throw new Error(_0x2c54c4(0x4a5));}}var _0xe19ba4=Object[_0x36f281(0x49a)],_0xf1f4f2=Object[_0x36f281(0x381)],_0x215bca=(_0x4b9c60,_0xee6bfd,_0x4d38aa,_0x2a801e)=>{const _0x1f9c17=_0x36f281;for(var _0x14f640=_0x2a801e>0x1?void 0x0:_0x2a801e?_0xf1f4f2(_0xee6bfd,_0x4d38aa):_0xee6bfd,_0x2f2d0c=_0x4b9c60[_0x1f9c17(0x43f)]-0x1,_0x173441;_0x2f2d0c>=0x0;_0x2f2d0c--)(_0x173441=_0x4b9c60[_0x2f2d0c])&&(_0x14f640=(_0x2a801e?_0x173441(_0xee6bfd,_0x4d38aa,_0x14f640):_0x173441(_0x14f640))||_0x14f640);return _0x2a801e&&_0x14f640&&_0xe19ba4(_0xee6bfd,_0x4d38aa,_0x14f640),_0x14f640;},_0xdc1482=(_0x123ccc,_0x2139f0)=>(_0x3e9781,_0x226928)=>_0x2139f0(_0x3e9781,_0x226928,_0x123ccc);const _0x2d8f92=_0x593949[_0x36f281(0x358)](_0x36f281(0x18e));function _0x5733a0(_0x4c0fa1,_0x3367a0,_0x510b61){const _0x1f51fc=_0x36f281;return _0x4c0fa1+'/'+_0x3367a0+_0x1f51fc(0x2e5)+_0x510b61+_0x1f51fc(0x2d7);}_0x4238fe[_0x36f281(0x2ec)]=class extends _0x593949[_0x36f281(0x16a)]{constructor(_0x24b84f,_0x274acc,_0x3ab662,_0x14b696,_0x2f0dbd){const _0x14e2e2=_0x36f281;super(),this[_0x14e2e2(0x1b0)]=_0x24b84f,this[_0x14e2e2(0x16d)]=_0x274acc,this[_0x14e2e2(0xdd)]=_0x3ab662,this[_0x14e2e2(0x3df)]=_0x14b696,this['_snapshotServerService']=_0x2f0dbd;}[_0x36f281(0x116)](_0x6d2e2f){const _0x4c75df=_0x36f281,_0x14e55c=this[_0x4c75df(0x16d)]['createSocket'](_0x6d2e2f);if(!_0x14e55c)throw new Error(_0x4c75df(0x491));const _0x5d7205=new _0x593949[(_0x4c75df(0x182))](),_0xd9e3b8=new _0x30c949[(_0x4c75df(0x20c))]();_0x5d7205[_0x4c75df(0xf6)](_0x14e55c[_0x4c75df(0x1c7)][_0x4c75df(0x188)](_0x2f9f33=>_0xd9e3b8[_0x4c75df(0x4e6)](_0x2f9f33))),_0x5d7205[_0x4c75df(0xf6)](_0x593949[_0x4c75df(0x2b4)](()=>_0xd9e3b8[_0x4c75df(0x259)]()));const _0x37bd24=new _0x30c949[(_0x4c75df(0x20c))]();_0x5d7205['add'](_0x14e55c[_0x4c75df(0x3d4)]['subscribe'](_0x4f5d00=>_0x37bd24[_0x4c75df(0x4e6)](_0x4f5d00))),_0x5d7205['add'](_0x593949['toDisposable'](()=>_0x37bd24['complete']()));const _0x1fa915=new _0x30c949[(_0x4c75df(0x20c))]();_0x5d7205['add'](_0x14e55c['message$'][_0x4c75df(0x188)](_0x390264=>{const _0x5abdb6=_0x49635b(_0x390264);_0x1fa915['next'](_0x5abdb6);})),_0x5d7205[_0x4c75df(0xf6)](_0x593949[_0x4c75df(0x2b4)](()=>_0x1fa915[_0x4c75df(0x259)]()));let _0x1b817b;const _0x1dbd77=()=>{const _0x183326=_0x4c75df;_0x37bd24['next'](new Event(_0x183326(0xbe))),_0xd9e3b8['next'](new CloseEvent(_0x183326(0xbe))),_0x1b817b[_0x183326(0x31e)]();};return _0x1b817b={'memberID':'','close$':_0xd9e3b8[_0x4c75df(0x13a)](),'error$':_0x37bd24[_0x4c75df(0x13a)](),'open$':_0x14e55c['open$'],'message$':_0x1fa915[_0x4c75df(0x13a)](),'send':_0x50badc=>{const _0x50c072=_0x4c75df;if(_0x50badc['cmd']===_0x5e3ac2[_0x50c072(0x34a)]){if(_0x50badc[_0x50c072(0x298)][_0x50c072(0x10a)]===_0x4968b4[_0x50c072(0xbc)][_0x50c072(0x1f8)]){this[_0x50c072(0x4b1)](_0x1b817b,_0x50badc[_0x50c072(0x298)])[_0x50c072(0x377)](_0x5b25cd=>{const _0x39a16c=_0x50c072;this[_0x39a16c(0x3df)][_0x39a16c(0x302)](_0x5b25cd),_0x1dbd77();});return;}if(_0x50badc[_0x50c072(0x298)][_0x50c072(0x10a)]===_0x4968b4[_0x50c072(0xbc)][_0x50c072(0x318)]){const _0x4b2410=_0x50badc[_0x50c072(0x298)];this['_fetchMissChangesets'](_0x4b2410)['then'](_0x1d0149=>{const _0x5942c8=_0x50c072;_0x1fa915['next']({'cmd':_0x5e3ac2['RECV'],'code':_0xd96311['OK'],'routeKey':_0x4b2410['data'][_0x5942c8(0x2ba)],'routeType':'','data':{'eventID':_0x4968b4[_0x5942c8(0xbc)][_0x5942c8(0x48d)],'data':{'changesets':_0x1d0149}}});})['catch'](_0x3599b4=>{const _0x163556=_0x50c072;this[_0x163556(0x3df)][_0x163556(0x302)](_0x3599b4),_0x1dbd77();});return;}}_0x14e55c['send'](_0x59173a(_0x50badc));},'close':()=>{const _0x26e669=_0x4c75df;_0x14e55c[_0x26e669(0x31e)](),_0x5d7205[_0x26e669(0x1e6)]();}},_0x1b817b;}async['_submitChangeset'](_0x3cfcef,_0x474e17){const _0x4404bf=_0x36f281;var _0x2d1493,_0x544ab0;const {unitType:_0x5cfbaa,unitID:_0x539f19,changeset:_0x1113d7}=_0x474e17[_0x4404bf(0x298)],_0x56559f={'unitID':_0x539f19,'memberID':_0x3cfcef[_0x4404bf(0x4bf)],'type':_0x5cfbaa,'changeset':_0x4968b4[_0x4404bf(0x1db)](_0x1113d7)},_0x2fdc4d=this[_0x4404bf(0xdd)][_0x4404bf(0x3bd)](_0x51e7c0),_0x3380f4=this[_0x4404bf(0xdd)][_0x4404bf(0x3bd)](_0xfe6e3e),_0xc377f2=_0x5733a0((_0x544ab0=(_0x2d1493=_0x3380f4==null?void 0x0:_0x3380f4[_0x4404bf(0x280)])!=null?_0x2d1493:_0x2fdc4d)!=null?_0x544ab0:_0x16783a,_0x5cfbaa,_0x539f19);try{await this[_0x4404bf(0x1b0)][_0x4404bf(0x13c)](_0xc377f2,{'body':_0x56559f});}catch(_0x4bf9d0){throw this[_0x4404bf(0x3df)][_0x4404bf(0x302)](_0x4404bf(0x476),'submit\x20changeset\x20error!'),_0x4bf9d0;}}async['_fetchMissChangesets'](_0x4dd89c){const _0x280ca6=_0x36f281,{unitID:_0x7ed550,from:_0xecca16,to:_0x29bd20,unitType:_0x91e7de}=_0x4dd89c['data'];return(await this[_0x280ca6(0x257)][_0x280ca6(0x471)]({'metadata':void 0x0},{'unitID':_0x7ed550,'type':_0x91e7de,'from':_0xecca16,'to':_0x29bd20}))[_0x280ca6(0x46a)];}},_0x4238fe[_0x36f281(0x2ec)]=_0x215bca([_0xdc1482(0x0,_0x593949[_0x36f281(0xb9)](_0x4c2b25[_0x36f281(0x426)])),_0xdc1482(0x1,_0x593949[_0x36f281(0xb9)](_0x4c2b25[_0x36f281(0x357)])),_0xdc1482(0x2,_0x593949[_0x36f281(0xe7)]),_0xdc1482(0x3,_0x593949[_0x36f281(0x380)]),_0xdc1482(0x4,_0x4968b4[_0x36f281(0x369)])],_0x4238fe[_0x36f281(0x2ec)]);const _0x5df521=_0x36f281(0x12a);function _0x12263b(_0x1767e3){const _0x2681af=_0x36f281;return JSON[_0x2681af(0xc1)](_0x1767e3)[_0x2681af(0x43f)];}class _0x5a515d{constructor(){const _0x15fbd7=_0x36f281;_0x3e0772(this,_0x15fbd7(0x414),new _0x30c949[(_0x15fbd7(0x20c))]()),_0x3e0772(this,_0x15fbd7(0x11e),this[_0x15fbd7(0x414)][_0x15fbd7(0x13a)]());}[_0x36f281(0x3d3)](_0x590e2c){const _0x6d21d5=_0x36f281;this[_0x6d21d5(0x414)][_0x6d21d5(0x4e6)](_0x590e2c);}}var _0x330acb=Object[_0x36f281(0x49a)],_0x58a3ea=Object[_0x36f281(0x381)],_0x38f98d=(_0x4eae2b,_0x186693,_0x34bc9b,_0x47face)=>{for(var _0x26b05c=_0x47face>0x1?void 0x0:_0x47face?_0x58a3ea(_0x186693,_0x34bc9b):_0x186693,_0x14e7ae=_0x4eae2b['length']-0x1,_0x4f25dd;_0x14e7ae>=0x0;_0x14e7ae--)(_0x4f25dd=_0x4eae2b[_0x14e7ae])&&(_0x26b05c=(_0x47face?_0x4f25dd(_0x186693,_0x34bc9b,_0x26b05c):_0x4f25dd(_0x26b05c))||_0x26b05c);return _0x47face&&_0x26b05c&&_0x330acb(_0x186693,_0x34bc9b,_0x26b05c),_0x26b05c;},_0x2120a7=(_0x2c6ebf,_0x4755e2)=>(_0x2a6e91,_0x5a02f6)=>_0x4755e2(_0x2a6e91,_0x5a02f6,_0x2c6ebf);let _0x40c14d=class extends _0x593949['Disposable']{constructor(_0x4a7d17,_0x251e8a){const _0x2e283e=_0x36f281;super(),_0x3e0772(this,_0x2e283e(0x1fe),new Map()),(this[_0x2e283e(0x276)]=_0x4a7d17,this[_0x2e283e(0x23e)]=_0x251e8a,this['disposeWithMe'](_0x593949[_0x2e283e(0x2b4)](_0x30c949[_0x2e283e(0x27f)](this[_0x2e283e(0x276)][_0x2e283e(0x27a)](_0x593949[_0x2e283e(0xaf)][_0x2e283e(0x12e)])[_0x2e283e(0x49c)](_0x218e56['map'](_0x3d367f=>_0x3d367f[_0x2e283e(0x4c0)]())),this['_univerInstanceService'][_0x2e283e(0x27a)](_0x593949['UniverInstanceType']['UNIVER_DOC'])[_0x2e283e(0x49c)](_0x218e56[_0x2e283e(0x1de)](_0x170bc0=>_0x170bc0[_0x2e283e(0x4c0)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x593949[_0x2e283e(0xaf)][_0x2e283e(0x2a4)])[_0x2e283e(0x49c)](_0x218e56[_0x2e283e(0x1de)](_0x2ed886=>_0x2ed886[_0x2e283e(0x4c0)]())))[_0x2e283e(0x188)](_0x34ccd6=>this[_0x2e283e(0xdf)](_0x34ccd6)))));}[_0x36f281(0x3dc)](_0xaeb29d){const _0x25bfc4=_0x36f281;this[_0x25bfc4(0x23e)][_0x25bfc4(0x3dc)](_0xaeb29d);}[_0x36f281(0x333)](){const _0x464953=_0x36f281;return this['_userManagerService'][_0x464953(0x333)]();}[_0x36f281(0x3ee)](_0x5d2823,_0x21af41){const _0x2f6482=_0x36f281;let _0x95fd27=this['_roomMembers'][_0x2f6482(0x14e)](_0x5d2823);_0x95fd27||(_0x95fd27=new _0x28292f(),this['_roomMembers'][_0x2f6482(0x2bd)](_0x5d2823,_0x95fd27)),_0x95fd27[_0x2f6482(0x3ee)](_0x21af41);}['removeMember'](_0x50b453,_0x3b6b13){const _0x575569=_0x36f281,_0x8b00d9=this['_roomMembers'][_0x575569(0x14e)](_0x50b453);_0x8b00d9&&_0x8b00d9[_0x575569(0x2e0)](_0x3b6b13);}[_0x36f281(0x2d8)](_0xe2ba86){const _0x117d8e=_0x36f281;return this[_0x117d8e(0x1fe)][_0x117d8e(0x14e)](_0xe2ba86);}['getMember'](_0x5c95bf,_0x554e8d){const _0x3f1943=_0x36f281,_0x1fb94a=this[_0x3f1943(0x1fe)][_0x3f1943(0x14e)](_0x5c95bf);if(_0x1fb94a)return _0x1fb94a[_0x3f1943(0x4a8)](_0x554e8d);}[_0x36f281(0xdf)](_0x445d70){const _0xb9f525=_0x36f281,_0x3f0aad=this[_0xb9f525(0x1fe)]['get'](_0x445d70);_0x3f0aad&&(_0x3f0aad['dispose'](),this['_roomMembers'][_0xb9f525(0x393)](_0x445d70));}[_0x36f281(0x1e6)](){const _0x5d9ccc=_0x36f281;this[_0x5d9ccc(0x1fe)][_0x5d9ccc(0x2a0)](_0x22195d=>_0x22195d['dispose']()),this[_0x5d9ccc(0x1fe)]['clear']();}};_0x40c14d=_0x38f98d([_0x2120a7(0x0,_0x593949[_0x36f281(0x1dc)]),_0x2120a7(0x1,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x462)]))],_0x40c14d);class _0x28292f extends _0x593949[_0x36f281(0x16a)]{constructor(){const _0x1b238a=_0x36f281;super(...arguments),_0x3e0772(this,_0x1b238a(0x262),new Map());}[_0x36f281(0x1e6)](){const _0x132429=_0x36f281;this[_0x132429(0x262)]['clear']();}['updateMember'](_0x26103b){const _0x5196c4=_0x36f281;this[_0x5196c4(0x262)][_0x5196c4(0x2bd)](_0x26103b[_0x5196c4(0x4bf)],_0x26103b);}[_0x36f281(0x2e0)](_0x27f60e){const _0x41f7f9=_0x36f281;this[_0x41f7f9(0x262)][_0x41f7f9(0x393)](_0x27f60e);}[_0x36f281(0x4a8)](_0x4cc07a){const _0x5469c9=_0x36f281;return this[_0x5469c9(0x262)][_0x5469c9(0x14e)](_0x4cc07a);}}var _0x615e3a=Object[_0x36f281(0x49a)],_0x9bac3f=Object[_0x36f281(0x381)],_0x34d061=(_0x25e602,_0x35f20f,_0x11d3a3,_0x317200)=>{const _0x4c405f=_0x36f281;for(var _0x5b8600=_0x317200>0x1?void 0x0:_0x317200?_0x9bac3f(_0x35f20f,_0x11d3a3):_0x35f20f,_0x2498f9=_0x25e602[_0x4c405f(0x43f)]-0x1,_0x1ec42b;_0x2498f9>=0x0;_0x2498f9--)(_0x1ec42b=_0x25e602[_0x2498f9])&&(_0x5b8600=(_0x317200?_0x1ec42b(_0x35f20f,_0x11d3a3,_0x5b8600):_0x1ec42b(_0x5b8600))||_0x5b8600);return _0x317200&&_0x5b8600&&_0x615e3a(_0x35f20f,_0x11d3a3,_0x5b8600),_0x5b8600;},_0x316683=(_0xfc6983,_0x28220c)=>(_0x27cd37,_0x2e778b)=>_0x28220c(_0x27cd37,_0x2e778b,_0xfc6983),_0x108499=(_0x5e083c=>(_0x5e083c[_0x5e083c[_0x36f281(0x1c3)]=0x0]=_0x36f281(0x1c3),_0x5e083c[_0x5e083c['JOINING']=0x1]=_0x36f281(0x208),_0x5e083c[_0x5e083c[_0x36f281(0x4eb)]=0x2]=_0x36f281(0x4eb),_0x5e083c[_0x5e083c[_0x36f281(0x2af)]=0x3]='ONLINE',_0x5e083c))(_0x108499||{});_0x4238fe[_0x36f281(0x44e)]=class extends _0x593949['RxDisposable']{constructor(_0x497be2,_0x380f58,_0x39156d,_0x2f181e,_0x171c91,_0x1acef6,_0x2707ef,_0x283826,_0x8e688f,_0x14cc3e){const _0xf301a7=_0x36f281;super(),_0x3e0772(this,_0xf301a7(0x217),new _0x30c949[(_0xf301a7(0x2f9))](0x0)),_0x3e0772(this,_0xf301a7(0x45c),this[_0xf301a7(0x217)]['asObservable']()),_0x3e0772(this,'_event$',new _0x30c949[(_0xf301a7(0x20c))]()),_0x3e0772(this,_0xf301a7(0x44d),this[_0xf301a7(0xc7)][_0xf301a7(0x13a)]()),_0x3e0772(this,_0xf301a7(0x1e8)),_0x3e0772(this,_0xf301a7(0x4bc)),_0x3e0772(this,'_collaborationTimeoutTimer'),_0x3e0772(this,'_shouldReportTelemetry',!0x1),_0x3e0772(this,_0xf301a7(0x3f5),null),(this[_0xf301a7(0x483)]=_0x497be2,this[_0xf301a7(0x3df)]=_0x39156d,this['_beforeCloseService']=_0x2f181e,this[_0xf301a7(0xf9)]=_0x171c91,this[_0xf301a7(0xdd)]=_0x1acef6,this['_localeService']=_0x2707ef,this['_memberService']=_0x283826,this[_0xf301a7(0x442)]=_0x8e688f,this['_telemetryService']=_0x14cc3e,this['_shouldReportTelemetry']=!!this[_0xf301a7(0x1ea)],_0x380f58[_0xf301a7(0x49c)](_0x30c949[_0xf301a7(0x142)](this[_0xf301a7(0x4d4)]))['subscribe'](_0x4d716f=>{const _0x2ad420=_0xf301a7;var _0x42338f;typeof _0x4d716f>'u'||(this[_0x2ad420(0x1e8)]=_0x4d716f,_0x4d716f?(this[_0x2ad420(0x482)](_0x4d716f),this[_0x2ad420(0x4bc)]=_0x4d716f[_0x2ad420(0x2ef)][_0x2ad420(0x188)](_0x28c267=>{const _0x2979c3=_0x2ad420;_0x28c267[_0x2979c3(0x3c5)]===this[_0x2979c3(0x483)]&&this[_0x2979c3(0x1b2)](_0x28c267);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2ad420(0x217)][_0x2ad420(0x4e6)](0x2),(_0x42338f=this[_0x2ad420(0x4bc)])==null||_0x42338f[_0x2ad420(0x19b)](),this[_0x2ad420(0x4bc)]=null));}),this[_0xf301a7(0x196)](this[_0xf301a7(0x278)][_0xf301a7(0x214)](()=>{const _0x2e4707=_0xf301a7;var _0xd26b3f;(_0xd26b3f=this[_0x2e4707(0x1e8)])==null||_0xd26b3f[_0x2e4707(0x4ce)]({'cmd':_0x5e3ac2['LEAVE'],'data':{'roomID':this[_0x2e4707(0x483)]}});})));}get[_0x36f281(0x17f)](){const _0x1826f6=_0x36f281;return this[_0x1826f6(0x217)][_0x1826f6(0x159)]();}[_0x36f281(0x391)](){const _0x36bfa5=_0x36f281;var _0x5428a0,_0x35cac8;return(_0x35cac8=(_0x5428a0=this['_socket'])==null?void 0x0:_0x5428a0[_0x36bfa5(0x4bf)])!=null?_0x35cac8:null;}[_0x36f281(0x1e6)](){const _0x57d516=_0x36f281;super['dispose'](),this[_0x57d516(0x4d4)][_0x57d516(0x4e6)](),this[_0x57d516(0x4d4)]['complete']();}[_0x36f281(0x31e)](){const _0x51c534=_0x36f281;var _0x5a77b3,_0x5b6b7f;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5a77b3=this[_0x51c534(0x1e8)])==null||_0x5a77b3['send']({'cmd':_0x5e3ac2[_0x51c534(0x364)],'data':{'roomID':this[_0x51c534(0x483)]}}),(_0x5b6b7f=this[_0x51c534(0x1e8)])==null||_0x5b6b7f['close'](),this['_event$'][_0x51c534(0x259)](),this[_0x51c534(0x217)][_0x51c534(0x259)](),this[_0x51c534(0x1e6)]();}[_0x36f281(0x1b2)](_0x51f18d){const _0x33a9fe=_0x36f281;_0x51f18d[_0x33a9fe(0xcd)]===_0x5e3ac2[_0x33a9fe(0x419)]?this[_0x33a9fe(0x294)](_0x51f18d):_0x51f18d[_0x33a9fe(0xcd)]===_0x5e3ac2[_0x33a9fe(0x164)]&&this[_0x33a9fe(0x409)](_0x51f18d);}[_0x36f281(0x482)](_0x346d47){const _0x56ff61=_0x36f281;this[_0x56ff61(0x217)]['next'](0x1),_0x346d47['send']({'cmd':_0x5e3ac2[_0x56ff61(0x419)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x56ff61(0x483)]}]}});}[_0x36f281(0x294)](_0x5f46c1){const _0x222aa8=_0x36f281;var _0x161c75;if(_0x5f46c1[_0x222aa8(0x2a3)]===_0xd96311[_0x222aa8(0x39a)]){this['_messageService'][_0x222aa8(0x348)]({'type':_0x2b27fc['MessageType']['Warning'],'content':this[_0x222aa8(0x36f)]['t'](_0x222aa8(0x468))}),this[_0x222aa8(0x217)]['next'](0x2);return;}this[_0x222aa8(0x217)][_0x222aa8(0x4e6)](0x3);const _0x1a7490=(_0x161c75=_0x5f46c1['data'][_0x222aa8(0x1ed)][this[_0x222aa8(0x483)]])==null?void 0x0:_0x161c75[_0x222aa8(0xd4)];_0x1a7490&&_0x1a7490[_0x222aa8(0x2a0)](_0x4538ed=>this['_memberService'][_0x222aa8(0x3ee)](this[_0x222aa8(0x483)],_0x4538ed));}['_onRecvEvent'](_0x4fcdce){const _0x5ebf71=_0x36f281;try{const _0x2fd9aa=_0x4fcdce[_0x5ebf71(0x298)];switch(_0x2fd9aa[_0x5ebf71(0x10a)]){case _0x4968b4['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x2fd9aa),this['_event$'][_0x5ebf71(0x4e6)](_0x2fd9aa);break;case _0x4968b4[_0x5ebf71(0xbc)][_0x5ebf71(0x3b2)]:this['_onUserLeave'](_0x2fd9aa),this[_0x5ebf71(0xc7)][_0x5ebf71(0x4e6)](_0x2fd9aa);break;case _0x4968b4['CollaborationEvent']['CHANGESET_ACK']:this[_0x5ebf71(0x41d)](),this[_0x5ebf71(0x365)](),this['_event$'][_0x5ebf71(0x4e6)](_0x2fd9aa);break;case _0x4968b4[_0x5ebf71(0xbc)][_0x5ebf71(0x263)]:this['_logService'][_0x5ebf71(0x302)](_0x5ebf71(0xe9)+JSON[_0x5ebf71(0xc1)](_0x2fd9aa)),this[_0x5ebf71(0xc7)][_0x5ebf71(0x4e6)](_0x2fd9aa);break;case _0x4968b4[_0x5ebf71(0xbc)]['COMMENT_UPDATE']:this[_0x5ebf71(0x442)][_0x5ebf71(0x3d3)](_0x2fd9aa[_0x5ebf71(0x298)]),this['_event$'][_0x5ebf71(0x4e6)](_0x2fd9aa);break;default:this[_0x5ebf71(0xc7)]['next'](_0x2fd9aa);}}catch(_0x59ece1){this[_0x5ebf71(0x3df)][_0x5ebf71(0x302)](_0x59ece1,_0x4fcdce);}}[_0x36f281(0x4e7)](_0xb1b7e5){const _0x14cc5a=_0x36f281;this[_0x14cc5a(0x277)][_0x14cc5a(0x3ee)](this[_0x14cc5a(0x483)],_0xb1b7e5[_0x14cc5a(0x298)]);}[_0x36f281(0x241)](_0x242588){const _0x4a2342=_0x36f281;this[_0x4a2342(0x277)][_0x4a2342(0x2e0)](this[_0x4a2342(0x483)],_0x242588[_0x4a2342(0x298)][_0x4a2342(0x4bf)]);}async[_0x36f281(0x4ce)](_0x49643f,_0x3d02e3){const _0x4d6964=_0x36f281;if(this[_0x4d6964(0x17f)]!==0x3||!this[_0x4d6964(0x1e8)])throw new Error(_0x4d6964(0xd6));try{_0x49643f['eventID']===_0x4968b4[_0x4d6964(0xbc)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x49643f)),this[_0x4d6964(0x1e8)][_0x4d6964(0x4ce)]({'cmd':_0x5e3ac2['INGEST'],'routeKey':_0x3d02e3,'routeType':'','data':_0x49643f});}catch(_0x1ccc7a){this['_logService']['error'](_0x1ccc7a);}}['_scheduleCollaborationTimeoutTimer'](){const _0x17060d=_0x36f281;var _0x4996cd;this[_0x17060d(0xfd)]=window[_0x17060d(0x112)](()=>{const _0x255bfd=_0x17060d;this[_0x255bfd(0xfd)]=null,this[_0x255bfd(0xf9)][_0x255bfd(0x348)]({'type':_0x2b27fc['MessageType'][_0x255bfd(0x40f)],'content':this[_0x255bfd(0x36f)]['t'](_0x255bfd(0x274))});},(_0x4996cd=this['_configService'][_0x17060d(0x3bd)](_0x512ef2))!=null?_0x4996cd:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0x516f6e=_0x36f281;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x516f6e(0xfd)]),this[_0x516f6e(0xfd)]=null);}[_0x36f281(0x270)](_0x52a553){const _0x493cd7=_0x36f281;if(!this[_0x493cd7(0x3c4)])return;const {data:_0x28c41a}=_0x52a553,{unitID:_0x877298,changeset:_0x3709a4}=_0x28c41a,{mutations:_0x27c87d,type:_0x5aebba}=_0x3709a4;this[_0x493cd7(0x3f5)]={'unitId':_0x877298,'type':_0x5aebba,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x12263b(_0x27c87d)};}[_0x36f281(0x41d)](){const _0x2cc29f=_0x36f281;if(this[_0x2cc29f(0x3c4)]){if(!this[_0x2cc29f(0x3f5)]){this[_0x2cc29f(0x3df)][_0x2cc29f(0x302)](_0x2cc29f(0x476),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2cc29f(0x3f5)][_0x2cc29f(0x412)]=performance[_0x2cc29f(0x222)](),this[_0x2cc29f(0x3f5)][_0x2cc29f(0x3d2)]=this[_0x2cc29f(0x3f5)][_0x2cc29f(0x412)]-this[_0x2cc29f(0x3f5)][_0x2cc29f(0x268)],this[_0x2cc29f(0x1ea)][_0x2cc29f(0x287)](_0x5df521,this[_0x2cc29f(0x3f5)]),this[_0x2cc29f(0x3f5)]=null;}}[_0x36f281(0x2b8)](){const _0x3127c4=_0x36f281;this[_0x3127c4(0x3f5)]=null;}},_0x4238fe[_0x36f281(0x44e)]=_0x34d061([_0x316683(0x2,_0x593949[_0x36f281(0x380)]),_0x316683(0x3,_0xc44033[_0x36f281(0x2f2)]),_0x316683(0x4,_0xc44033[_0x36f281(0x2d6)]),_0x316683(0x5,_0x593949[_0x36f281(0xe7)]),_0x316683(0x6,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x316683(0x7,_0x593949['Inject'](_0x40c14d)),_0x316683(0x8,_0x593949[_0x36f281(0xb9)](_0x5a515d)),_0x316683(0x9,_0x593949['Optional'](_0x3d9685['ITelemetryService']))],_0x4238fe['CollaborationSession']);var _0x46b98f=Object[_0x36f281(0x49a)],_0x18deb2=Object['getOwnPropertyDescriptor'],_0x10893d=(_0x306305,_0xdbfcc7,_0x250387,_0x3046c6)=>{const _0xde93cc=_0x36f281;for(var _0x7c9676=_0x3046c6>0x1?void 0x0:_0x3046c6?_0x18deb2(_0xdbfcc7,_0x250387):_0xdbfcc7,_0x1b5570=_0x306305[_0xde93cc(0x43f)]-0x1,_0x21d58e;_0x1b5570>=0x0;_0x1b5570--)(_0x21d58e=_0x306305[_0x1b5570])&&(_0x7c9676=(_0x3046c6?_0x21d58e(_0xdbfcc7,_0x250387,_0x7c9676):_0x21d58e(_0x7c9676))||_0x7c9676);return _0x3046c6&&_0x7c9676&&_0x46b98f(_0xdbfcc7,_0x250387,_0x7c9676),_0x7c9676;},_0x3ea66b=(_0x334e2a,_0x3ee436)=>(_0x3f746a,_0x2f2894)=>_0x3ee436(_0x3f746a,_0x2f2894,_0x334e2a);_0x4238fe[_0x36f281(0x370)]=class extends _0x593949[_0x36f281(0x16a)]{constructor(_0x326dab,_0x5afe4d,_0x1a76ed,_0x2b0423,_0x54c732,_0x4fb963){const _0xcb21ca=_0x36f281;super(),_0x3e0772(this,_0xcb21ca(0x258),new _0x30c949[(_0xcb21ca(0x2f9))](void 0x0)),_0x3e0772(this,'socket$',this[_0xcb21ca(0x258)][_0xcb21ca(0x13a)]()),_0x3e0772(this,'_candidateSocket',null),_0x3e0772(this,'_sessions',new Map()),_0x3e0772(this,'_status$',new _0x30c949[(_0xcb21ca(0x2f9))](_0x108499[_0xcb21ca(0x1c3)])),_0x3e0772(this,_0xcb21ca(0x457),this[_0xcb21ca(0x20e)][_0xcb21ca(0x13a)]()),_0x3e0772(this,'_socketReady',!0x1),_0x3e0772(this,_0xcb21ca(0x31a)),_0x3e0772(this,'_retryCount',0x0),_0x3e0772(this,'_sendHeartbeatTimer'),_0x3e0772(this,'_timeoutTimer'),(this[_0xcb21ca(0xf1)]=_0x326dab,this[_0xcb21ca(0x36f)]=_0x5afe4d,this[_0xcb21ca(0xf9)]=_0x1a76ed,this[_0xcb21ca(0x3df)]=_0x2b0423,this[_0xcb21ca(0xdd)]=_0x54c732,this['_socketService']=_0x4fb963,this['_initEventListeners']());}get[_0x36f281(0x1e8)](){const _0x55fee8=_0x36f281;return this['_socket$'][_0x55fee8(0x159)]();}[_0x36f281(0x181)](){const _0x28056e=_0x36f281;this[_0x28056e(0x132)](),this[_0x28056e(0x385)]();}[_0x36f281(0x1e6)](){const _0x87884c=_0x36f281;super[_0x87884c(0x1e6)](),this[_0x87884c(0x173)]['forEach'](_0x3386a5=>_0x3386a5[_0x87884c(0x1e6)]()),this[_0x87884c(0x173)][_0x87884c(0x3dd)](),this[_0x87884c(0x20e)]['complete']();}async[_0x36f281(0x296)](_0x3d2f90){const _0x4fbeb2=_0x36f281;if(this['_sessions'][_0x4fbeb2(0x1f2)](_0x3d2f90))return this[_0x4fbeb2(0x173)][_0x4fbeb2(0x14e)](_0x3d2f90);this[_0x4fbeb2(0x312)]();const _0x10cf5f=this[_0x4fbeb2(0xf1)][_0x4fbeb2(0xb4)](_0x4238fe[_0x4fbeb2(0x44e)],_0x3d2f90,this[_0x4fbeb2(0x258)][_0x4fbeb2(0x13a)]());return this[_0x4fbeb2(0x173)]['set'](_0x3d2f90,_0x10cf5f),_0x10cf5f;}[_0x36f281(0x1bb)](_0x12c67f){const _0x48ea34=_0x36f281;var _0xf7e07b;const _0x94386a=this[_0x48ea34(0x173)]['get'](_0x12c67f);_0x94386a&&(this[_0x48ea34(0x173)][_0x48ea34(0x393)](_0x12c67f),_0x94386a[_0x48ea34(0x31e)]()),this[_0x48ea34(0x173)][_0x48ea34(0x4a3)]||(_0xf7e07b=this[_0x48ea34(0x1e8)])==null||_0xf7e07b[_0x48ea34(0x31e)]();}[_0x36f281(0x165)](){const _0x4079ee=_0x36f281;this[_0x4079ee(0x292)]=0x0,this[_0x4079ee(0x31a)]!=null&&(clearTimeout(this[_0x4079ee(0x31a)]),this[_0x4079ee(0x31a)]=null),this[_0x4079ee(0x464)]();}['_createSocket'](){const _0x1ca232=_0x36f281;var _0x3cd9ee,_0x566430;const _0x4e4c42=this[_0x1ca232(0xdd)][_0x1ca232(0x3bd)](_0x3db6d8),_0x5d51a1=this[_0x1ca232(0xdd)]['getConfig'](_0xfe6e3e),_0x5a20f5=(_0x566430=(_0x3cd9ee=_0x5d51a1==null?void 0x0:_0x5d51a1[_0x1ca232(0x3b7)])!=null?_0x3cd9ee:_0x4e4c42)!=null?_0x566430:_0x270218,_0x355bf5=this[_0x1ca232(0x1e4)][_0x1ca232(0x116)](_0x5a20f5);return this[_0x1ca232(0x413)]=_0x355bf5,_0x355bf5;}[_0x36f281(0x312)](){const _0x28755a=_0x36f281;var _0x52de7f,_0x679fcc;try{const _0x2b4e82=(_0x679fcc=(_0x52de7f=this[_0x28755a(0x1e8)])!=null?_0x52de7f:this[_0x28755a(0x413)])!=null?_0x679fcc:this['_createSocket']();if(_0x2b4e82){const _0x3e6575=_0x2b4e82[_0x28755a(0x4ce)];_0x2b4e82[_0x28755a(0x4ce)]=_0x47fa73=>(this[_0x28755a(0x2da)](),_0x3e6575[_0x28755a(0x4b9)](_0x2b4e82,[_0x47fa73])),_0x2b4e82[_0x28755a(0x2ef)][_0x28755a(0x188)](_0x4b4253=>this[_0x28755a(0x425)](_0x2b4e82,_0x4b4253)),_0x2b4e82['error$'][_0x28755a(0x49c)](_0x218e56[_0x28755a(0x477)](0x1))[_0x28755a(0x188)](_0x2ab0a3=>this[_0x28755a(0x3df)][_0x28755a(0x302)](_0x28755a(0x454),_0x2ab0a3)),_0x2b4e82['open$']['pipe'](_0x218e56['take'](0x1))[_0x28755a(0x188)](()=>{const _0x3ca260=_0x28755a;this[_0x3ca260(0x2ad)](_0x2b4e82);}),_0x2b4e82['close$'][_0x28755a(0x49c)](_0x218e56['take'](0x1))[_0x28755a(0x188)](_0x4b8758=>{const _0x28fad3=_0x28755a;this['_logService'][_0x28fad3(0x177)](_0x28fad3(0x466),_0x28fad3(0xce),_0x4b8758),this[_0x28fad3(0x18f)]();});}}catch(_0x26a9ef){this[_0x28755a(0x3df)]['error'](_0x26a9ef),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x473bda){const _0x3ce5de=_0x36f281;this[_0x3ce5de(0x3df)][_0x3ce5de(0x177)]('[CollaborationSessionService]',_0x3ce5de(0x2a1)),_0x473bda[_0x3ce5de(0x4ce)]({'cmd':_0x5e3ac2[_0x3ce5de(0x3ab)]}),this[_0x3ce5de(0x2da)]();}['_listenToOfflineEvent'](){const _0x3cbb46=_0x36f281;window['addEventListener']('offline',()=>this[_0x3cbb46(0x113)]());}['_onOffline'](){const _0xca808f=_0x36f281;this[_0xca808f(0x3b1)]=!0x1,this[_0xca808f(0x413)]=null,this[_0xca808f(0x20e)][_0xca808f(0x4e6)](_0x108499['OFFLINE']),this[_0xca808f(0x258)]['next'](null),this[_0xca808f(0x103)](),this[_0xca808f(0x4d3)]();}['_onConnectionFailed'](){const _0x252ba0=_0x36f281;var _0x535b35;this[_0x252ba0(0x113)](),this[_0x252ba0(0x292)]<((_0x535b35=this[_0x252ba0(0xdd)][_0x252ba0(0x3bd)](_0x428723))!=null?_0x535b35:0x3)?(this[_0x252ba0(0xf9)]['show']({'key':_0x252ba0(0x146),'type':_0x2b27fc[_0x252ba0(0x1ae)][_0x252ba0(0x1a1)],'content':this[_0x252ba0(0x36f)]['t'](_0x252ba0(0x2d2))}),this[_0x252ba0(0x464)]()):this[_0x252ba0(0xf9)][_0x252ba0(0x348)]({'key':_0x252ba0(0x146),'type':_0x2b27fc[_0x252ba0(0x1ae)][_0x252ba0(0x40f)],'content':this[_0x252ba0(0x36f)]['t'](_0x252ba0(0x187))});}[_0x36f281(0x385)](){const _0x2a5ff3=_0x36f281,_0x276751=()=>{const _0x21128e=_0x4c16;this[_0x21128e(0x1e8)]||this[_0x21128e(0x165)]();},_0x504355=()=>{const _0x448960=_0x4c16;this[_0x448960(0x1e8)]||document[_0x448960(0x1f0)]===_0x448960(0x201)||this[_0x448960(0x165)]();};window['addEventListener']('online',_0x276751),document[_0x2a5ff3(0x383)]('visibilitychange',_0x504355);}[_0x36f281(0x464)](){const _0x11e36f=_0x36f281;var _0x2229df;const _0x11ca5c=this[_0x11e36f(0x292)],_0x30d2c8=this[_0x11e36f(0xdd)][_0x11e36f(0x3bd)](_0xfe6e3e),_0x2c11a0=_0x11ca5c===0x0?0x0:((_0x2229df=_0x30d2c8==null?void 0x0:_0x30d2c8['retryConnectingInterval'])!=null?_0x2229df:0x4e20)*0x2**_0x11ca5c;this[_0x11e36f(0x31a)]=window[_0x11e36f(0x112)](()=>{const _0x3bc988=_0x11e36f;clearTimeout(this[_0x3bc988(0x31a)]),this[_0x3bc988(0x31a)]=null,this[_0x3bc988(0x312)]();},_0x2c11a0),this[_0x11e36f(0x292)]+=0x1;}[_0x36f281(0x425)](_0x113915,_0x4e54c3){const _0x48f973=_0x36f281,{cmd:_0x512ce0}=_0x4e54c3;_0x512ce0===_0x5e3ac2['HELLO']&&!this[_0x48f973(0x3b1)]&&(_0x113915['memberID']=_0x4e54c3['data']['memberID'],this[_0x48f973(0x258)][_0x48f973(0x4e6)](_0x113915),this[_0x48f973(0x20e)][_0x48f973(0x4e6)](_0x108499[_0x48f973(0x2af)]),this[_0x48f973(0x3b1)]=!0x0,this['_candidateSocket']=null),_0x512ce0===_0x5e3ac2['HEARTBEAT']&&this[_0x48f973(0x103)](),this[_0x48f973(0x2da)]();}['_rescheduleHeartbeat'](){const _0x5f290e=_0x36f281;var _0x593bd3;this[_0x5f290e(0x4d3)](),this['_sendHeartbeatTimer']=window[_0x5f290e(0x112)](()=>this[_0x5f290e(0xeb)](),(_0x593bd3=this[_0x5f290e(0xdd)][_0x5f290e(0x3bd)](_0xec8683))!=null?_0x593bd3:0x7530);}[_0x36f281(0xeb)](){const _0x58a76e=_0x36f281;this[_0x58a76e(0x1e8)][_0x58a76e(0x4ce)]({'cmd':_0x5e3ac2['HEARTBEAT']}),this[_0x58a76e(0x17d)]();}['_waitForHeartbeatResponse'](){const _0x1d4b59=_0x36f281;var _0x40b7c1;this[_0x1d4b59(0x49e)]=window['setTimeout'](()=>this[_0x1d4b59(0x18f)](),(_0x40b7c1=this['_configService'][_0x1d4b59(0x3bd)](_0x512ef2))!=null?_0x40b7c1:0x4e20);}[_0x36f281(0x4d3)](){const _0x4eafdc=_0x36f281;this[_0x4eafdc(0x253)]!=null&&(clearTimeout(this[_0x4eafdc(0x253)]),this[_0x4eafdc(0x253)]=null);}[_0x36f281(0x103)](){const _0x7a8f4=_0x36f281;this[_0x7a8f4(0x49e)]!=null&&(clearTimeout(this[_0x7a8f4(0x49e)]),this[_0x7a8f4(0x49e)]=null);}},_0x4238fe[_0x36f281(0x370)]=_0x10893d([_0x3ea66b(0x0,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x3ea66b(0x1,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x3ea66b(0x2,_0xc44033['IMessageService']),_0x3ea66b(0x3,_0x593949[_0x36f281(0x380)]),_0x3ea66b(0x4,_0x593949[_0x36f281(0xe7)]),_0x3ea66b(0x5,_0x2d8f92)],_0x4238fe[_0x36f281(0x370)]);for(var _0x5e0049=[],_0x5ada10=0x0;_0x5ada10<0x100;++_0x5ada10)_0x5e0049['push']((_0x5ada10+0x100)[_0x36f281(0x13d)](0x10)['slice'](0x1));function _0x47f13c(_0x4945e4,_0x3c2e26=0x0){return(_0x5e0049[_0x4945e4[_0x3c2e26+0x0]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x1]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x2]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x3]]+'-'+_0x5e0049[_0x4945e4[_0x3c2e26+0x4]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x5]]+'-'+_0x5e0049[_0x4945e4[_0x3c2e26+0x6]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x7]]+'-'+_0x5e0049[_0x4945e4[_0x3c2e26+0x8]]+_0x5e0049[_0x4945e4[_0x3c2e26+0x9]]+'-'+_0x5e0049[_0x4945e4[_0x3c2e26+0xa]]+_0x5e0049[_0x4945e4[_0x3c2e26+0xb]]+_0x5e0049[_0x4945e4[_0x3c2e26+0xc]]+_0x5e0049[_0x4945e4[_0x3c2e26+0xd]]+_0x5e0049[_0x4945e4[_0x3c2e26+0xe]]+_0x5e0049[_0x4945e4[_0x3c2e26+0xf]])['toLowerCase']();}var _0x3aef1e,_0xb6f1cc=new Uint8Array(0x10);function _0x40c750(){const _0x248cd9=_0x36f281;if(!_0x3aef1e&&(_0x3aef1e=typeof crypto<'u'&&crypto[_0x248cd9(0x3b9)]&&crypto[_0x248cd9(0x3b9)]['bind'](crypto),!_0x3aef1e))throw new Error(_0x248cd9(0x210));return _0x3aef1e(_0xb6f1cc);}var _0x5a3577=typeof crypto<'u'&&crypto[_0x36f281(0x32d)]&&crypto[_0x36f281(0x32d)][_0x36f281(0x107)](crypto);const _0x5eee52={'randomUUID':_0x5a3577};function _0x1b3228(_0x1626f2,_0x46939d,_0x26675c){const _0x4a3645=_0x36f281;if(_0x5eee52[_0x4a3645(0x32d)]&&!_0x46939d&&!_0x1626f2)return _0x5eee52[_0x4a3645(0x32d)]();_0x1626f2=_0x1626f2||{};var _0x432de1=_0x1626f2[_0x4a3645(0x4a7)]||(_0x1626f2[_0x4a3645(0x1a7)]||_0x40c750)();return _0x432de1[0x6]=_0x432de1[0x6]&0xf|0x40,_0x432de1[0x8]=_0x432de1[0x8]&0x3f|0x80,_0x47f13c(_0x432de1);}var _0x3157ab=Object[_0x36f281(0x49a)],_0x5067f6=Object[_0x36f281(0x381)],_0x20fb2f=(_0x519160,_0x4fd969,_0x474905,_0x4a89e1)=>{const _0x4063cf=_0x36f281;for(var _0x435f86=_0x4a89e1>0x1?void 0x0:_0x4a89e1?_0x5067f6(_0x4fd969,_0x474905):_0x4fd969,_0x5a0123=_0x519160[_0x4063cf(0x43f)]-0x1,_0x4d5ef0;_0x5a0123>=0x0;_0x5a0123--)(_0x4d5ef0=_0x519160[_0x5a0123])&&(_0x435f86=(_0x4a89e1?_0x4d5ef0(_0x4fd969,_0x474905,_0x435f86):_0x4d5ef0(_0x435f86))||_0x435f86);return _0x4a89e1&&_0x435f86&&_0x3157ab(_0x4fd969,_0x474905,_0x435f86),_0x435f86;},_0x462723=(_0x46e6ca,_0x4ff296)=>(_0x278daa,_0x23e988)=>_0x4ff296(_0x278daa,_0x23e988,_0x46e6ca);let _0x249d79=class{constructor(_0x4d9ff5,_0x10fe01,_0x492b17){const _0x211280=_0x36f281;this[_0x211280(0xf1)]=_0x4d9ff5,this[_0x211280(0x496)]=_0x10fe01,this['_renderManagerService']=_0x492b17;}[_0x36f281(0x3cf)](_0x19797a){const _0x358001=_0x36f281;this[_0x358001(0x392)](_0x19797a),this['_transformPreviousActiveRange'](_0x19797a);}[_0x36f281(0xe8)](_0x236d9d){const _0xdfab5b=_0x36f281,{unitID:_0x57a615}=_0x236d9d,_0x1b4895=this['_renderManagerService']['getRenderById'](_0x57a615)[_0xdfab5b(0x2f4)](_0x5c6469[_0xdfab5b(0x29b)]),{redoCache:_0x75e52d}=_0x1b4895[_0xdfab5b(0x145)]();if(_0x75e52d[_0xdfab5b(0x43f)]===0x0)return _0x236d9d;let _0x11449a=_0x593949[_0xdfab5b(0x205)][_0xdfab5b(0x117)](_0x236d9d['mutations'][0x0]);for(let _0x35e6c7=0x0;_0x35e6c7<_0x75e52d['length'];_0x35e6c7++){const _0x2c7133={'id':'doc.mutation.rich-text-editing','params':{..._0x75e52d[_0x35e6c7]}},_0x113c46=this[_0xdfab5b(0x496)][_0xdfab5b(0x18c)](_0x11449a,_0x2c7133,!0x1);if(_0x4968b4[_0xdfab5b(0x1e1)](_0x113c46))throw _0x113c46['error'];_0x11449a=_0x113c46[_0xdfab5b(0x2ca)];}return{..._0x593949[_0xdfab5b(0x205)][_0xdfab5b(0x117)](_0x236d9d),'mutations':[_0x11449a]};}[_0x36f281(0x392)](_0x1ccfc8){const _0x10c69f=_0x36f281,{unitID:_0x49ad82}=_0x1ccfc8,_0x43ba61=this[_0x10c69f(0x2aa)][_0x10c69f(0x203)](_0x49ad82)[_0x10c69f(0x2f4)](_0x5c6469['DocIMEInputManagerService']),{undoCache:_0x31e075,redoCache:_0x239b3c}=_0x43ba61[_0x10c69f(0x145)]();if(_0x31e075[_0x10c69f(0x43f)]===0x0||_0x239b3c[_0x10c69f(0x43f)]===0x0)return;const _0x1b5c7c=[],_0x41827d=[];let _0x43c244=_0x593949[_0x10c69f(0x205)][_0x10c69f(0x117)](_0x1ccfc8['mutations'][0x0]),_0x550a0b=_0x593949['Tools'][_0x10c69f(0x117)](_0x1ccfc8[_0x10c69f(0x152)][0x0]);for(let _0x16336b=_0x31e075[_0x10c69f(0x43f)]-0x1;_0x16336b>=0x0;_0x16336b--){const _0x4fe04e={'id':_0x10c69f(0x19d),'params':{..._0x31e075[_0x16336b]}},_0x4d0194={'id':'doc.mutation.rich-text-editing','params':{..._0x239b3c[_0x16336b]}},_0x108f84=this['_transformService'][_0x10c69f(0x18c)](_0x43c244,_0x4fe04e,!0x1),_0x17d5d4=this['_transformService'][_0x10c69f(0x18c)](_0x550a0b,_0x4d0194,!0x1);if(_0x4968b4['isTransformMutationFailure'](_0x108f84))throw _0x108f84[_0x10c69f(0x302)];if(_0x4968b4['isTransformMutationFailure'](_0x17d5d4))throw _0x17d5d4[_0x10c69f(0x302)];_0x1b5c7c[_0x10c69f(0x4c4)](_0x108f84['m2Prime'][_0x10c69f(0x2c8)]),_0x41827d[_0x10c69f(0x4c4)](_0x17d5d4['m2Prime'][_0x10c69f(0x2c8)]),_0x43c244=_0x108f84[_0x10c69f(0x2ca)],_0x550a0b=_0x17d5d4[_0x10c69f(0x2ca)];}_0x43ba61[_0x10c69f(0x404)]({'undoCache':_0x1b5c7c,'redoCache':_0x41827d});}['_transformPreviousActiveRange'](_0x11dccb){const _0x3c436f=_0x36f281,{unitID:_0x5a48bf}=_0x11dccb,_0x24716a=this[_0x3c436f(0x2aa)][_0x3c436f(0x203)](_0x5a48bf)['with'](_0x5c6469['DocIMEInputManagerService']),_0x1efde7=_0x24716a['getActiveRange']();if(_0x1efde7==null)return;const _0x2b9638=[{'id':_0x3c436f(0x19d),'params':{'unitId':_0x11dccb[_0x3c436f(0x2ba)],'actions':null,'textRanges':[_0x1efde7]}}],_0x5850a2=this[_0x3c436f(0x496)][_0x3c436f(0x310)](_0x11dccb,_0x2b9638);if(!_0x4968b4[_0x3c436f(0x3f3)](_0x5850a2))throw _0x5850a2[_0x3c436f(0x302)];const _0x4c198b=_0x5850a2[_0x3c436f(0xb3)][0x0][_0x3c436f(0x2c8)]['textRanges'];Array[_0x3c436f(0x10c)](_0x4c198b)&&_0x4c198b[_0x3c436f(0x43f)]&&_0x24716a[_0x3c436f(0xfb)](_0x4c198b[0x0]);}};_0x249d79=_0x20fb2f([_0x462723(0x0,_0x593949['Inject'](_0x593949['Injector'])),_0x462723(0x1,_0x4968b4[_0x36f281(0x415)]),_0x462723(0x2,_0xa07e34[_0x36f281(0x186)])],_0x249d79);var _0x37c40d=Object[_0x36f281(0x49a)],_0x1a9f3e=Object[_0x36f281(0x381)],_0x2b79f2=(_0x3f1d95,_0x47760a,_0xb4ddba,_0x2e8800)=>{const _0x1ddcc4=_0x36f281;for(var _0xb2c9c1=_0x2e8800>0x1?void 0x0:_0x2e8800?_0x1a9f3e(_0x47760a,_0xb4ddba):_0x47760a,_0xae5725=_0x3f1d95[_0x1ddcc4(0x43f)]-0x1,_0x5f5ca6;_0xae5725>=0x0;_0xae5725--)(_0x5f5ca6=_0x3f1d95[_0xae5725])&&(_0xb2c9c1=(_0x2e8800?_0x5f5ca6(_0x47760a,_0xb4ddba,_0xb2c9c1):_0x5f5ca6(_0xb2c9c1))||_0xb2c9c1);return _0x2e8800&&_0xb2c9c1&&_0x37c40d(_0x47760a,_0xb4ddba,_0xb2c9c1),_0xb2c9c1;},_0x4d845a=(_0x6bb76e,_0x5b2d03)=>(_0x4974ca,_0x448a19)=>_0x5b2d03(_0x4974ca,_0x448a19,_0x6bb76e);_0x4238fe[_0x36f281(0xd2)]=class extends _0x593949[_0x36f281(0x16a)]{constructor(_0x55d5e0,_0x1caa68,_0x26df50,_0x1e10bf,_0x5a75bf){const _0xfeb3fc=_0x36f281;super(),_0x3e0772(this,_0xfeb3fc(0x4ad),new Map()),_0x3e0772(this,'_saveTaskMap',new Map()),_0x3e0772(this,_0xfeb3fc(0x382),!0x1),(this[_0xfeb3fc(0xdd)]=_0x55d5e0,this['_localStorageService']=_0x1caa68,this[_0xfeb3fc(0x278)]=_0x26df50,this[_0xfeb3fc(0x36f)]=_0x1e10bf,this['_revisionService']=_0x5a75bf,this[_0xfeb3fc(0x461)]());}['disableLocalCache'](){const _0x5ed23e=_0x36f281;this[_0x5ed23e(0x382)]=!0x0;}[_0x36f281(0x255)](){const _0x695b02=_0x36f281;this[_0x695b02(0x382)]=!0x1;}['dispose'](){const _0x4dc051=_0x36f281;this[_0x4dc051(0x379)]()['then'](()=>super[_0x4dc051(0x1e6)]());}async['loadOfflineData'](_0x4288cd){const _0x2af859=_0x36f281;return this[_0x2af859(0x382)]?null:this[_0x2af859(0x319)][_0x2af859(0x324)](_0x20ff64(_0x4288cd));}async[_0x36f281(0x3a4)](_0x244506,_0xf3e9d1){const _0x529f0a=_0x36f281;return!!this[_0x529f0a(0x319)][_0x529f0a(0x443)](_0x244506,_0xf3e9d1);}['updateOfflineData'](_0x3ce7fc,_0x2d8210,_0x1d177,_0x48eb39){const _0x3b67d4=_0x36f281,_0x49e322=this[_0x3b67d4(0x237)]['getCurrentRevOfUnit'](_0x3ce7fc);this[_0x3b67d4(0x4ad)][_0x3b67d4(0x2bd)](_0x3ce7fc,{'unitID':_0x3ce7fc,'type':_0x2d8210,'awaitingChangeset':_0x1d177,'mutations':_0x48eb39,'rev':_0x49e322}),this[_0x3b67d4(0x162)]['has'](_0x3ce7fc)||this[_0x3b67d4(0x101)](_0x3ce7fc);}[_0x36f281(0x101)](_0x26954e){const _0x16557d=_0x36f281,_0x830fbe=this[_0x16557d(0x424)]();_0x830fbe===0x0?this[_0x16557d(0x4a4)](_0x26954e):this['_saveTaskMap'][_0x16557d(0x2bd)](_0x26954e,setTimeout(()=>this[_0x16557d(0x4a4)](_0x26954e),_0x830fbe));}['_getSaveTimeout'](){const _0x29ff7f=_0x36f281;var _0x5b80fa;return(_0x5b80fa=this['_configService'][_0x29ff7f(0x3bd)](_0x443bb))!=null?_0x5b80fa:0x3e8;}[_0x36f281(0x4a4)](_0x1eb8b3){const _0x5499b4=_0x36f281,_0x15e72e=this[_0x5499b4(0x162)][_0x5499b4(0x14e)](_0x1eb8b3);return _0x15e72e!==void 0x0&&window[_0x5499b4(0x3e3)](_0x15e72e),this['_localStorageService']['setItem'](_0x20ff64(_0x1eb8b3),this[_0x5499b4(0x4ad)][_0x5499b4(0x14e)](_0x1eb8b3))['then'](()=>this[_0x5499b4(0x162)][_0x5499b4(0x393)](_0x1eb8b3));}async[_0x36f281(0x379)](){const _0x251e0b=_0x36f281,_0x5e45ac=[];this['_saveTaskMap'][_0x251e0b(0x2a0)]((_0x4d24b3,_0x3095ec)=>{const _0x41badd=_0x251e0b;window[_0x41badd(0x3e3)](_0x4d24b3),_0x5e45ac[_0x41badd(0x43c)](this[_0x41badd(0x4a4)](_0x3095ec)[_0x41badd(0x372)](()=>{const _0x12dd9c=_0x41badd;this[_0x12dd9c(0x162)][_0x12dd9c(0x393)](_0x3095ec);}));}),await Promise[_0x251e0b(0x474)](_0x5e45ac);}[_0x36f281(0x461)](){const _0xd66237=_0x36f281;this[_0xd66237(0x196)](this[_0xd66237(0x278)][_0xd66237(0x31b)](()=>{const _0x29454f=_0xd66237;if(this['_saveTaskMap'][_0x29454f(0x4a3)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}},_0x4238fe[_0x36f281(0xd2)]=_0x2b79f2([_0x4d845a(0x0,_0x593949[_0x36f281(0xe7)]),_0x4d845a(0x1,_0x593949[_0x36f281(0xe0)]),_0x4d845a(0x2,_0xc44033[_0x36f281(0x2f2)]),_0x4d845a(0x3,_0x593949[_0x36f281(0xb9)](_0x593949['LocaleService'])),_0x4d845a(0x4,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0xe5)]))],_0x4238fe[_0x36f281(0xd2)]);function _0x20ff64(_0x47dd39){const _0x284ea2=_0x36f281;return _0x284ea2(0x401)+_0x47dd39;}var _0xbda6ec=Object['defineProperty'],_0x3b08e0=Object[_0x36f281(0x381)],_0x439222=(_0x313d9b,_0x2c4d82,_0x409d5a,_0x49b629)=>{const _0x3b7c21=_0x36f281;for(var _0x247215=_0x49b629>0x1?void 0x0:_0x49b629?_0x3b08e0(_0x2c4d82,_0x409d5a):_0x2c4d82,_0x41d22e=_0x313d9b[_0x3b7c21(0x43f)]-0x1,_0x3c1c8f;_0x41d22e>=0x0;_0x41d22e--)(_0x3c1c8f=_0x313d9b[_0x41d22e])&&(_0x247215=(_0x49b629?_0x3c1c8f(_0x2c4d82,_0x409d5a,_0x247215):_0x3c1c8f(_0x247215))||_0x247215);return _0x49b629&&_0x247215&&_0xbda6ec(_0x2c4d82,_0x409d5a,_0x247215),_0x247215;},_0x501656=(_0x38b95b,_0x31bc85)=>(_0x42b124,_0x4cc18b)=>_0x31bc85(_0x42b124,_0x4cc18b,_0x38b95b);function _0x19f63f(_0x388d7d){const _0x3b0858=_0x36f281,{unitID:_0x1274f2,mutations:_0x281e6d}=_0x388d7d;return{'unitId':_0x1274f2,'subUnitId':_0x281e6d[0x0][_0x3b0858(0x2c8)]['subUnitId']};}let _0x29a18f=class{constructor(_0xea8e3,_0x5cf779,_0x456a43){const _0x1194be=_0x36f281;this[_0x1194be(0xf1)]=_0xea8e3,this[_0x1194be(0x496)]=_0x5cf779,this[_0x1194be(0x228)]=_0x456a43;}[_0x36f281(0x28f)](_0x10f299){const _0x5935df=_0x36f281;var _0x4916d6,_0x45ecce,_0x49eec0,_0x706554;const _0x237812=this[_0x5935df(0xf1)][_0x5935df(0x14e)](_0xec6805['SheetsSelectionsService']),{unitId:_0x5e622f,subUnitId:_0x3266a4}=_0x19f63f(_0x10f299),_0x20853a=_0x237812[_0x5935df(0x3c9)](_0x5e622f)[_0x5935df(0x463)](),_0x4d90f9=(_0x45ecce=(_0x4916d6=this['_instanceService']['getUnit'](_0x5e622f))==null?void 0x0:_0x4916d6[_0x5935df(0x49b)]())==null?void 0x0:_0x45ecce[_0x5935df(0x353)]();if(_0x20853a[_0x5935df(0x43f)]===0x0||!_0x5e622f||!_0x3266a4)return;const _0x22b246=[{'id':_0xec6805[_0x5935df(0x195)]['id'],'params':{'unitId':_0x5e622f,'subUnitId':_0x4d90f9,'selections':_0x593949['Tools'][_0x5935df(0x117)](_0x20853a)}}],_0x1ca94b=this[_0x5935df(0x496)][_0x5935df(0x310)](_0x10f299,_0x22b246);if(!_0x4968b4[_0x5935df(0x3f3)](_0x1ca94b))throw _0x1ca94b[_0x5935df(0x302)];const _0x52ef73=(_0x706554=(_0x49eec0=_0x1ca94b[_0x5935df(0xb3)][0x0])==null?void 0x0:_0x49eec0[_0x5935df(0x2c8)])==null?void 0x0:_0x706554[_0x5935df(0x10f)];if(Array[_0x5935df(0x10c)](_0x52ef73)&&_0x52ef73[_0x5935df(0x43f)]){if(_0x52ef73[_0x5935df(0x43f)]===_0x22b246[0x0]['params'][_0x5935df(0x10f)][_0x5935df(0x43f)]&&_0x52ef73[_0x5935df(0x2d1)]((_0x5ec9c0,_0x278442)=>_0x593949[_0x5935df(0xb7)][_0x5935df(0x4bb)](_0x5ec9c0[_0x5935df(0x4d8)],_0x22b246[0x0]['params']['selections'][_0x278442][_0x5935df(0x4d8)])))return;this['_injector'][_0x5935df(0x14e)](_0x593949[_0x5935df(0x38d)])[_0x5935df(0x420)](_0xec6805[_0x5935df(0x195)]['id'],{'unitId':_0x5e622f,'subUnitId':_0x4d90f9,'selections':_0x52ef73});}}};_0x29a18f=_0x439222([_0x501656(0x0,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x501656(0x1,_0x4968b4[_0x36f281(0x415)]),_0x501656(0x2,_0x593949[_0x36f281(0x1dc)])],_0x29a18f);const _0x34b236=_0x593949['createIdentifier'](_0x36f281(0x137));var _0x3e0c16=(_0x43962a=>(_0x43962a[_0x43962a[_0x36f281(0x178)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x43962a[_0x43962a[_0x36f281(0x4c2)]=0x1]=_0x36f281(0x4c2),_0x43962a))(_0x3e0c16||{});const _0x2c0f60=0x7530,_0x535abf='ACTIVE_UNIT_EVENT_CHANNEL';class _0x34a490 extends _0x593949[_0x36f281(0x16a)]{constructor(){const _0x5da2f5=_0x36f281;super(),_0x3e0772(this,_0x5da2f5(0xde),_0x593949['Tools'][_0x5da2f5(0x433)]()),_0x3e0772(this,_0x5da2f5(0x309),new Set()),_0x3e0772(this,_0x5da2f5(0x2a9),new Map()),_0x3e0772(this,_0x5da2f5(0x3c6),null),_0x3e0772(this,_0x5da2f5(0x35c),new Map()),_0x3e0772(this,_0x5da2f5(0x33a),new Map()),this[_0x5da2f5(0x3b6)]();}[_0x36f281(0x1e6)](){const _0x2c791a=_0x36f281;super[_0x2c791a(0x1e6)](),this[_0x2c791a(0x35c)][_0x2c791a(0x2a0)]((_0x3ae17b,_0x5ccf6e)=>this[_0x2c791a(0x389)](_0x5ccf6e)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x2c791a(0x3c6)]);}[_0x36f281(0xd9)](_0x41db91){const _0x410874=_0x36f281;return this[_0x410874(0x402)](_0x41db91)['pipe'](_0x30c949[_0x410874(0x408)]());}[_0x36f281(0x32a)](_0x2c5760){const _0x22ccf4=_0x36f281;this[_0x22ccf4(0x309)][_0x22ccf4(0x4a3)]===0x0&&this[_0x22ccf4(0x352)](),this[_0x22ccf4(0x309)][_0x22ccf4(0xf6)](_0x2c5760),this[_0x22ccf4(0x4de)]({'type':0x0,'memberID':this[_0x22ccf4(0xde)],'unitIDs':[_0x2c5760],'isForwarded':!0x1});}[_0x36f281(0x307)](_0x51c2ec){const _0x42aec8=_0x36f281;this[_0x42aec8(0x309)][_0x42aec8(0x393)](_0x51c2ec),this[_0x42aec8(0x309)]['size']===0x0&&this[_0x42aec8(0x3c6)]&&window[_0x42aec8(0x3a9)](this[_0x42aec8(0x3c6)]);}[_0x36f281(0x3b6)](){const _0x4a3376=_0x36f281;this[_0x4a3376(0x196)](_0x593949[_0x4a3376(0x2b4)](_0x30c949[_0x4a3376(0x29c)](window,_0x4a3376(0x198))[_0x4a3376(0x188)](_0x52903e=>{const _0x140e63=_0x4a3376;if(_0x52903e[_0x140e63(0x1ad)]!==_0x535abf||!_0x52903e[_0x140e63(0x134)])return;const _0x408231=JSON['parse'](_0x52903e[_0x140e63(0x134)]);this[_0x140e63(0x3d5)](_0x408231);}))),window[_0x4a3376(0x383)](_0x4a3376(0x169),()=>this['_send']({'type':0x1,'memberID':this[_0x4a3376(0xde)],'unitIDs':Array[_0x4a3376(0x49d)](this[_0x4a3376(0x309)])}));}['_handleEvent'](_0x53f877){const _0x52af9c=_0x36f281;switch(_0x53f877[_0x52af9c(0x17b)]){case 0x0:this[_0x52af9c(0x2c6)](_0x53f877);break;case 0x1:this[_0x52af9c(0x321)](_0x53f877);break;case 0x2:this['_handleHeartbeatEvent'](_0x53f877);break;}}[_0x36f281(0x2c6)](_0x507f7c){const _0x5470f1=_0x36f281,{unitIDs:_0x1b5bac,memberID:_0x7a6c37,isForwarded:_0x16de66}=_0x507f7c;_0x1b5bac[_0x5470f1(0x2a0)](_0x424607=>{const _0x1e73b7=_0x5470f1;if(!_0x16de66&&this['_unitOnClients']['has'](_0x424607)&&this[_0x1e73b7(0x402)](_0x424607)[_0x1e73b7(0x4e6)](0x1),!this['_unitOnClients']['has'](_0x424607)||!this[_0x1e73b7(0x2a9)][_0x1e73b7(0x14e)](_0x424607)['has'](_0x7a6c37)){const _0xd5aa7b=this[_0x1e73b7(0x2a9)][_0x1e73b7(0x14e)](_0x424607)||new Set();_0xd5aa7b[_0x1e73b7(0xf6)](_0x7a6c37),this[_0x1e73b7(0x2a9)]['set'](_0x424607,_0xd5aa7b),this['_scheduleClearOtherTimer'](_0x7a6c37);}}),_0x16de66||this['_send']({'type':0x0,'memberID':this[_0x5470f1(0xde)],'unitIDs':[...this[_0x5470f1(0x309)]],'isForwarded':!0x0});}[_0x36f281(0xe4)](_0x35c573){const _0x4c8056=_0x36f281;this[_0x4c8056(0x389)](_0x35c573);const _0x3275da=window[_0x4c8056(0x112)](()=>{const _0x2eec7f=_0x4c8056;this[_0x2eec7f(0x2a9)]['forEach'](_0x4b016e=>{const _0x5660e2=_0x2eec7f;_0x4b016e[_0x5660e2(0x393)](_0x35c573);});},_0x2c0f60*0x2);this[_0x4c8056(0x35c)][_0x4c8056(0x2bd)](_0x35c573,_0x3275da);}[_0x36f281(0x389)](_0xefe167){const _0x3d13e8=_0x36f281;if(this[_0x3d13e8(0x35c)]['has'](_0xefe167)){const _0x3f1f96=this['_clearOtherTimers']['get'](_0xefe167);_0x3f1f96&&window[_0x3d13e8(0x3e3)](_0x3f1f96),this[_0x3d13e8(0x35c)][_0x3d13e8(0x2bd)](_0xefe167,null);}}[_0x36f281(0x321)](_0x4e3feb){const _0x352f81=_0x36f281,{memberID:_0x8405cb,unitIDs:_0x3b9781}=_0x4e3feb;_0x3b9781[_0x352f81(0x2a0)](_0x1f34e3=>{const _0x53ca0d=_0x352f81;var _0xb145bc;const _0x164297=this[_0x53ca0d(0x2a9)][_0x53ca0d(0x14e)](_0x1f34e3);_0x164297&&(_0x164297[_0x53ca0d(0x393)](_0x8405cb),(_0xb145bc=this['_ensureSubject'](_0x1f34e3))==null||_0xb145bc['next'](_0x164297['size']===0x0?0x0:0x1));}),this[_0x352f81(0x389)](_0x8405cb);}[_0x36f281(0x3da)](_0x4247c7){const _0x293ec7=_0x36f281;this['_scheduleClearOtherTimer'](_0x4247c7[_0x293ec7(0x4bf)]);}[_0x36f281(0x4de)](_0x26b5b1){const _0x1e9f3e=_0x36f281;localStorage[_0x1e9f3e(0x443)](_0x535abf,JSON[_0x1e9f3e(0xc1)](_0x26b5b1));}[_0x36f281(0x352)](){const _0x4b468c=_0x36f281;this[_0x4b468c(0x3c6)]=window[_0x4b468c(0x1ba)](()=>{const _0x554923=_0x4b468c;this['_send']({'type':0x2,'memberID':this[_0x554923(0xde)]});},_0x2c0f60);}[_0x36f281(0x402)](_0x59e518){const _0x123afb=_0x36f281;return this[_0x123afb(0x33a)]['has'](_0x59e518)||this[_0x123afb(0x33a)][_0x123afb(0x2bd)](_0x59e518,new _0x30c949[(_0x123afb(0x2f9))](0x0)),this[_0x123afb(0x33a)][_0x123afb(0x14e)](_0x59e518);}}function _0x2cec55(_0x1fcc0d){const _0xa034ca=_0x36f281;let _0x3b7600='';for(const _0x479228 of _0x1fcc0d){const {startOffset:_0x2e6bf9,endOffset:_0x327d5d,isActive:_0x5eb202}=_0x479228;_0x3b7600[_0xa034ca(0x43f)]&&(_0x3b7600+=','),_0x3b7600+=_0x2e6bf9+':'+_0x327d5d+':'+(_0x5eb202?'1':'0');}return _0x3b7600;}function _0x36aa49(_0x47bee1){const _0x43802a=_0x36f281,_0x573ec0=_0x47bee1['split'](','),_0x5258e8=[];for(const _0x160ded of _0x573ec0){const [_0x530506,_0x4f0a69,_0x5d4ba7]=_0x160ded[_0x43802a(0x47f)](':');_0x5258e8['push']({'startOffset':Number(_0x530506),'endOffset':Number(_0x4f0a69),'collapsed':_0x530506===_0x4f0a69,'isActive':_0x5d4ba7==='1'});}return _0x5258e8['some'](_0x282c54=>_0x282c54['isActive'])||(_0x5258e8[0x0][_0x43802a(0x2ae)]=!0x0),_0x5258e8;}class _0x337544 extends _0x593949[_0x36f281(0x130)]{constructor(){const _0x5021c6=_0x36f281;super(...arguments),_0x3e0772(this,_0x5021c6(0xb8),new _0x30c949[(_0x5021c6(0x2f9))](null)),_0x3e0772(this,_0x5021c6(0x283),this[_0x5021c6(0xb8)][_0x5021c6(0x13a)]());}[_0x36f281(0x4c6)](_0x20a898){const _0x358bb0=_0x36f281,{unitID:_0x2c11c1,memberID:_0x5691c6,textRanges:_0x537c13}=_0x20a898,_0x4fa47e=_0x2cec55(_0x537c13),_0x4ad810={'unitID':_0x2c11c1,'memberID':_0x5691c6,'selection':_0x4fa47e};this[_0x358bb0(0xb8)]['next'](_0x4ad810);}}var _0x3ecdc3=Object[_0x36f281(0x49a)],_0x4c1073=Object[_0x36f281(0x381)],_0x216986=(_0x15c6bb,_0xc99e77,_0x3fc2ec,_0x748638)=>{const _0x46e0ac=_0x36f281;for(var _0x5dfc20=_0x748638>0x1?void 0x0:_0x748638?_0x4c1073(_0xc99e77,_0x3fc2ec):_0xc99e77,_0x445051=_0x15c6bb[_0x46e0ac(0x43f)]-0x1,_0x8bed;_0x445051>=0x0;_0x445051--)(_0x8bed=_0x15c6bb[_0x445051])&&(_0x5dfc20=(_0x748638?_0x8bed(_0xc99e77,_0x3fc2ec,_0x5dfc20):_0x8bed(_0x5dfc20))||_0x5dfc20);return _0x748638&&_0x5dfc20&&_0x3ecdc3(_0xc99e77,_0x3fc2ec,_0x5dfc20),_0x5dfc20;},_0x3c4d8e=(_0x4815dd,_0x575ea9)=>(_0x5c390a,_0x60d294)=>_0x575ea9(_0x5c390a,_0x60d294,_0x4815dd);let _0x2ffd8e=class{constructor(_0x4d4ae1,_0x32b2ab){const _0x5ad6f4=_0x36f281;this[_0x5ad6f4(0xf1)]=_0x4d4ae1,this[_0x5ad6f4(0x496)]=_0x32b2ab;}[_0x36f281(0x28f)](_0x19461a){const _0x5560c0=_0x36f281;var _0x53103b;const _0x312f39=this[_0x5560c0(0xf1)][_0x5560c0(0x14e)](_0x4aa7be['DocSelectionManagerService']),_0x541d1b=(_0x53103b=_0x312f39[_0x5560c0(0x384)]())!=null?_0x53103b:[];if(_0x541d1b[_0x5560c0(0x43f)]===0x0)return;const _0x4d9b33=[{'id':_0x5560c0(0x19d),'params':{'unitId':_0x19461a[_0x5560c0(0x2ba)],'actions':null,'textRanges':_0x541d1b}}],_0x59d9c5=this['_transformService'][_0x5560c0(0x310)](_0x19461a,_0x4d9b33);if(!_0x4968b4[_0x5560c0(0x3f3)](_0x59d9c5))throw _0x59d9c5[_0x5560c0(0x302)];const _0x25ff06=_0x59d9c5[_0x5560c0(0xb3)][0x0][_0x5560c0(0x2c8)][_0x5560c0(0x4cb)];Array[_0x5560c0(0x10c)](_0x25ff06)&&_0x25ff06['length']&&_0x312f39[_0x5560c0(0x1ca)](_0x25ff06,!0x1);}};_0x2ffd8e=_0x216986([_0x3c4d8e(0x0,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x3c4d8e(0x1,_0x4968b4['ITransformService'])],_0x2ffd8e);const _0x40b5ae=new Set([_0xec6805[_0x36f281(0xd5)]['id']]);function _0x36aad1(_0x518f1b,_0x61569f,_0x168704,_0x338706,_0x57f936){const _0x52ce42=_0x36f281;var _0x18a5ec,_0x356d9c,_0x5825c8,_0x1e14a7;const _0x46f11f=[];for(const _0x52461b of _0x518f1b)if(_0x40b5ae[_0x52ce42(0x1f2)](_0x52461b['id'])){if(_0x46f11f[_0x52ce42(0x43f)]>0x0)break;_0x46f11f[_0x52ce42(0x43c)](_0x52461b);break;}else _0x46f11f[_0x52ce42(0x43c)](_0x52461b);const _0x22a6cb=(_0x356d9c=(_0x18a5ec=_0x57f936['getCurrentUser']())==null?void 0x0:_0x18a5ec['userID'])!=null?_0x356d9c:'unknown',_0x2917f4=(_0x1e14a7=(_0x5825c8=_0x57f936[_0x52ce42(0x333)]())==null?void 0x0:_0x5825c8[_0x52ce42(0x4bf)])!=null?_0x1e14a7:_0x52ce42(0x2ac);return{'changeset':{'unitID':_0x61569f,'type':_0x4968b4['mapDocumentTypeToUniverType'](_0x168704[_0x52ce42(0x36a)](_0x61569f)),'baseRev':_0x338706[_0x52ce42(0x1fb)](_0x61569f),'revision':0x0,'userID':_0x22a6cb,'memberID':_0x2917f4,'mutations':_0x46f11f},'pendingMutations':_0x518f1b['slice'](_0x46f11f[_0x52ce42(0x43f)])};}function _0xeb2f45(_0x5a77ad,_0x25d1a2,_0x2c0293,_0x87eef7,_0x236bf9){const _0x733102=_0x36f281;var _0x5c7a85,_0x1e1ea5,_0x4d9dc8,_0xcfbc2;const _0x1495ac=[_0x5a77ad[_0x733102(0x362)]((_0x440081,_0x2156b4)=>{const _0x22bf1b=_0x733102;var _0x258b01;const {id:_0x155d3a}=_0x440081,{id:_0x27e62e,type:_0x270d79}=_0x2156b4,_0x2b9adb=(_0x258b01=_0x440081[_0x22bf1b(0x2c8)])!=null?_0x258b01:{'actions':null},_0x6f9fb8=_0x2156b4['params'];if(_0x155d3a&&_0x155d3a!==_0x27e62e)throw new Error(_0x22bf1b(0x204)+_0x155d3a+_0x22bf1b(0x49f)+_0x27e62e+'.');return{..._0x440081,'id':_0x27e62e,'type':_0x270d79,'params':{'unitId':_0x6f9fb8[_0x22bf1b(0x315)],'textRanges':_0x6f9fb8[_0x22bf1b(0x4cb)],'actions':_0x593949[_0x22bf1b(0x499)][_0x22bf1b(0x28a)](_0x2b9adb[_0x22bf1b(0x3b0)],_0x6f9fb8[_0x22bf1b(0x3b0)])}};},{})],_0x445a8d=(_0x1e1ea5=(_0x5c7a85=_0x236bf9['getCurrentUser']())==null?void 0x0:_0x5c7a85['userID'])!=null?_0x1e1ea5:_0x733102(0x2ac),_0x16a734=(_0xcfbc2=(_0x4d9dc8=_0x236bf9[_0x733102(0x333)]())==null?void 0x0:_0x4d9dc8[_0x733102(0x4bf)])!=null?_0xcfbc2:'unknown';return{'changeset':{'unitID':_0x25d1a2,'type':_0x4968b4['mapDocumentTypeToUniverType'](_0x2c0293[_0x733102(0x36a)](_0x25d1a2)),'baseRev':_0x87eef7['getCurrentRevOfUnit'](_0x25d1a2),'revision':0x0,'userID':_0x445a8d,'memberID':_0x16a734,'mutations':_0x1495ac},'pendingMutations':[]};}const _0xea11e5={'id':_0xec6805[_0x36f281(0xae)]['id'],'type':_0x593949[_0x36f281(0x3e6)][_0x36f281(0xf7)],'params':{}};var _0x594cc4=Object[_0x36f281(0x49a)],_0x5e41ff=Object[_0x36f281(0x381)],_0x1a64a2=(_0x94cb9e,_0x5b142e,_0x4d54af,_0x467c68)=>{const _0x39c437=_0x36f281;for(var _0x5768c6=_0x467c68>0x1?void 0x0:_0x467c68?_0x5e41ff(_0x5b142e,_0x4d54af):_0x5b142e,_0x5e5dd6=_0x94cb9e[_0x39c437(0x43f)]-0x1,_0x4cf395;_0x5e5dd6>=0x0;_0x5e5dd6--)(_0x4cf395=_0x94cb9e[_0x5e5dd6])&&(_0x5768c6=(_0x467c68?_0x4cf395(_0x5b142e,_0x4d54af,_0x5768c6):_0x4cf395(_0x5768c6))||_0x5768c6);return _0x467c68&&_0x5768c6&&_0x594cc4(_0x5b142e,_0x4d54af,_0x5768c6),_0x5768c6;},_0x418d5f=(_0xbd3e43,_0x4bd33d)=>(_0x4d0bbe,_0x25c70e)=>_0x4bd33d(_0x4d0bbe,_0x25c70e,_0xbd3e43),_0x2d65dc=(_0x3cbbd2=>(_0x3cbbd2['NOT_COLLAB']=_0x36f281(0x4a9),_0x3cbbd2['SYNCED']=_0x36f281(0x418),_0x3cbbd2[_0x36f281(0x498)]='pending',_0x3cbbd2['AWAITING']='awaiting',_0x3cbbd2['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x3cbbd2[_0x36f281(0x3a1)]=_0x36f281(0xc5),_0x3cbbd2[_0x36f281(0x43a)]='conflict',_0x3cbbd2[_0x36f281(0x4eb)]=_0x36f281(0x322),_0x3cbbd2))(_0x2d65dc||{});class _0x3595bc{constructor(_0x11a4b9,_0x55ade5,_0x4464b3,_0x4082d3,_0x156e93,_0x155c84,_0x3aa855,_0x362f49,_0xf8ac74){const _0x3c08b6=_0x36f281;_0x3e0772(this,'_awaitingChangeset',null),_0x3e0772(this,_0x3c08b6(0x289),[]),(this[_0x3c08b6(0x2ba)]=_0x11a4b9,this[_0x3c08b6(0x17b)]=_0x55ade5,this['_handler']=_0x156e93,this[_0x3c08b6(0x265)]=_0x155c84,this[_0x3c08b6(0x407)]=_0x3aa855,this[_0x3c08b6(0x237)]=_0x362f49,this[_0x3c08b6(0xfc)]=_0xf8ac74,this[_0x3c08b6(0x446)]=_0x4464b3,this[_0x3c08b6(0x289)]=_0x4082d3);}['_checkMissing'](_0x499097){const _0x27ecad=_0x36f281,_0xe7ccdb=this[_0x27ecad(0x237)][_0x27ecad(0x1fb)](this[_0x27ecad(0x2ba)]);return _0x499097[_0x27ecad(0x320)]>_0xe7ccdb+0x1?(this[_0x27ecad(0x473)][_0x27ecad(0x3ad)]({'from':_0xe7ccdb,'to':_0x499097[_0x27ecad(0x320)]-0x1}),!0x0):!0x1;}[_0x36f281(0x240)](_0x3c921a){const _0x1f8abf=_0x36f281;this['_undoRedoService'][_0x1f8abf(0x194)](this[_0x1f8abf(0x2ba)],_0x3c921a);}[_0x36f281(0x48a)](_0x17390a){const _0x2e7a68=_0x36f281;var _0x5d9517,_0x154eb3;(_0x154eb3=(_0x5d9517=this[_0x2e7a68(0x473)])[_0x2e7a68(0xb1)])==null||_0x154eb3['call'](_0x5d9517,_0x17390a);}[_0x36f281(0x284)](_0x12fbc2){const _0x494ed2=_0x36f281;var _0x44ba26,_0x502ded;return(_0x502ded=(_0x44ba26=this[_0x494ed2(0x473)])[_0x494ed2(0x452)])==null?void 0x0:_0x502ded[_0x494ed2(0x2fa)](_0x44ba26,_0x12fbc2);}[_0x36f281(0x437)](_0x5306b9){const _0x3ee711=_0x36f281;var _0x5d4d66,_0x95e5d2,_0x1c0f1c;return(_0x1c0f1c=(_0x95e5d2=(_0x5d4d66=this[_0x3ee711(0x473)])[_0x3ee711(0x31c)])==null?void 0x0:_0x95e5d2[_0x3ee711(0x2fa)](_0x5d4d66,_0x5306b9))!=null?_0x1c0f1c:_0x5306b9;}[_0x36f281(0x480)](_0x175aac){const _0x2643d8=_0x36f281;var _0x1a1468,_0x224232;if(this[_0x2643d8(0x17b)]===_0x4775b3[_0x2643d8(0x4e1)]){const {unitID:_0x1aa9c8,mutations:_0x29b6f7,memberID:_0xc0003a}=_0x175aac,_0x7b4a8f=_0x29b6f7[0x0]['params'][_0x2643d8(0x4cb)];Array[_0x2643d8(0x10c)](_0x7b4a8f)&&_0x7b4a8f['length']>0x0&&((_0x224232=(_0x1a1468=this['_handler'])[_0x2643d8(0x1aa)])==null||_0x224232['call'](_0x1a1468,{'unitID':_0x1aa9c8,'memberID':_0xc0003a,'textRanges':_0x7b4a8f}));}}[_0x36f281(0x374)](){const _0xe831f8=_0x36f281;this[_0xe831f8(0xfc)]['updateOfflineData'](this['unitID'],this['type'],this[_0xe831f8(0x446)],this['_pendingMutations']);}[_0x36f281(0x2ce)](){const _0x2468ef=_0x36f281;return this['_revisionService'][_0x2468ef(0x1fb)](this[_0x2468ef(0x2ba)]);}[_0x36f281(0x2cf)](){const _0x342ddc=_0x36f281;this[_0x342ddc(0x237)][_0x342ddc(0xd1)](this['unitID']);}[_0x36f281(0x3de)](_0x45f862){const _0x34d139=_0x36f281;var _0x4160e2;const _0x2fe95e=this[_0x34d139(0x437)](_0x45f862),_0x163e9e=_0x593949[_0x34d139(0x190)](_0x2fe95e['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x163e9e[_0x34d139(0xbb)])throw _0x163e9e['error']instanceof Error?_0x163e9e[_0x34d139(0x302)]:new Error((_0x4160e2=_0x163e9e[_0x34d139(0x302)])!=null?_0x4160e2:'[CollaborationState]:\x20apply\x20error!');this[_0x34d139(0x284)](_0x2fe95e),this[_0x34d139(0x240)](_0x45f862),this[_0x34d139(0x48a)](_0x2fe95e),this[_0x34d139(0x480)](_0x2fe95e),this[_0x34d139(0x2cf)]();}}let _0x333ccd=class extends _0x3595bc{constructor(_0x25a245,_0xd47142,_0x456452,_0x121c50,_0x33d6d4,_0x1e9a28,_0x55bc33,_0x7156a5,_0x2ebc54,_0x33bfb9){const _0x10a57a=_0x36f281;super(_0x25a245,_0xd47142,null,[],_0x456452,_0x7156a5,_0x55bc33,_0x121c50,_0x33d6d4),_0x3e0772(this,'status',_0x10a57a(0x418)),(this[_0x10a57a(0xf1)]=_0x1e9a28,this['_logService']=_0x2ebc54,this[_0x10a57a(0x496)]=_0x33bfb9);}[_0x36f281(0xca)](_0x2584d7){const _0x384ef1=_0x36f281,_0x50c7f6=this[_0x384ef1(0xf1)]['createInstance'](_0x5f011e,this['unitID'],this[_0x384ef1(0x17b)],[_0x2584d7],this[_0x384ef1(0x473)]);return _0x50c7f6[_0x384ef1(0x478)](),_0x50c7f6['_updateLocalCache'](),_0x50c7f6;}[_0x36f281(0x271)](_0x3f7a97){const _0x35d5e5=_0x36f281;if(this[_0x35d5e5(0x313)](_0x3f7a97))return this['_injector'][_0x35d5e5(0xb4)](_0x486ba5,this[_0x35d5e5(0x2ba)],this[_0x35d5e5(0x17b)],null,[],null,[_0x3f7a97],this['_handler']);try{const _0x333569=this[_0x35d5e5(0x496)][_0x35d5e5(0x310)](_0x3f7a97,[_0xea11e5]);if(_0x4968b4['isTransformMutationsWithChangesetSuccess'](_0x333569)){const {c1Prime:_0x1c9ff5}=_0x333569;return this[_0x35d5e5(0x3de)](_0x1c9ff5),this;}throw _0x333569[_0x35d5e5(0x302)];}catch(_0x5eb085){return this['_logService'][_0x35d5e5(0x302)](_0x5eb085),this['_onConflict'](!0x1);}}[_0x36f281(0x343)](_0x4caf6b){const _0x170deb=_0x36f281;return this['_injector'][_0x170deb(0xb4)](_0x24fcd1,this[_0x170deb(0x2ba)],this[_0x170deb(0x17b)],null,[],this[_0x170deb(0x473)],_0x4caf6b);}['onRemoteAck'](){const _0x10eb0d=_0x36f281;throw new Error(_0x10eb0d(0x15f));}[_0x36f281(0x143)](){const _0x472319=_0x36f281;throw new Error(_0x472319(0xab));}[_0x36f281(0x40b)](){const _0x595b41=_0x36f281;return this[_0x595b41(0xf1)][_0x595b41(0xb4)](_0x4519aa,this[_0x595b41(0x2ba)],this[_0x595b41(0x17b)],null,[],this['_handler']);}[_0x36f281(0x400)](){return this;}[_0x36f281(0x39c)](){const _0x236037=_0x36f281;throw new Error(_0x236037(0x115));}[_0x36f281(0x492)](){const _0x4501f2=_0x36f281,_0x52dfa2=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x4501f2(0x473)][_0x4501f2(0x3ad)]({'from':_0x52dfa2,'to':0x0}),this[_0x4501f2(0xf1)][_0x4501f2(0xb4)](_0x486ba5,this[_0x4501f2(0x2ba)],this[_0x4501f2(0x17b)],null,[],null,[],this['_handler']);}};_0x333ccd=_0x1a64a2([_0x418d5f(0x3,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0x4,_0x593949['Inject'](_0x4238fe['LocalCacheService'])),_0x418d5f(0x5,_0x593949[_0x36f281(0xb9)](_0x593949['Injector'])),_0x418d5f(0x6,_0x593949[_0x36f281(0x3d1)]),_0x418d5f(0x7,_0x593949[_0x36f281(0x38d)]),_0x418d5f(0x8,_0x593949[_0x36f281(0x380)]),_0x418d5f(0x9,_0x4968b4[_0x36f281(0x415)])],_0x333ccd);let _0x5f011e=class extends _0x3595bc{constructor(_0x2e9d75,_0x9c2b0d,_0x377eac,_0x340ee5,_0x404305,_0x380968,_0x31d643,_0xdb9e77,_0x844249,_0x4e2ca6,_0x2f2a3a,_0x199268,_0x5df6de,_0x4f42de){const _0x2058ef=_0x36f281;super(_0x2e9d75,_0x9c2b0d,null,_0x377eac,_0x340ee5,_0x4e2ca6,_0x4f42de,_0x380968,_0x31d643),_0x3e0772(this,_0x2058ef(0x339),_0x2058ef(0x3ef)),_0x3e0772(this,_0x2058ef(0x215),null),_0x3e0772(this,_0x2058ef(0x22f),null),(this[_0x2058ef(0xf1)]=_0x404305,this['_memberService']=_0xdb9e77,this['_logService']=_0x844249,this[_0x2058ef(0xdd)]=_0x2f2a3a,this[_0x2058ef(0x496)]=_0x199268,this['_univerInstanceService']=_0x5df6de);}[_0x36f281(0xca)](_0x38102c){const _0x5ddeea=_0x36f281;return this['_pendingMutations'][_0x5ddeea(0x43c)](_0x38102c),this[_0x5ddeea(0x374)](),this;}['onRemoteChangeset'](_0x29c7c2){const _0x3068e8=_0x36f281;if(this[_0x3068e8(0x313)](_0x29c7c2))return this['_clearScheduledTask'](),this['_injector'][_0x3068e8(0xb4)](_0x486ba5,this[_0x3068e8(0x2ba)],this['type'],null,this[_0x3068e8(0x289)],null,[_0x29c7c2],this[_0x3068e8(0x473)]);try{const _0x91701a=this[_0x3068e8(0x496)][_0x3068e8(0x310)](_0x29c7c2,this[_0x3068e8(0x289)]);if(_0x4968b4[_0x3068e8(0x3f3)](_0x91701a)){const {c1Prime:_0x2d1287,m2Prime:_0x1f445e}=_0x91701a;this[_0x3068e8(0x3de)](_0x2d1287);const _0x4fdbc8=this[_0x3068e8(0xf1)][_0x3068e8(0xb4)](_0x5f011e,this[_0x3068e8(0x2ba)],this[_0x3068e8(0x17b)],_0x1f445e,this['_handler']);return this[_0x3068e8(0x46b)](),_0x4fdbc8[_0x3068e8(0x478)](this[_0x3068e8(0x215)]?Math[_0x3068e8(0x34b)](0x0,new Date()[_0x3068e8(0x3ac)]()-this[_0x3068e8(0x215)]):this[_0x3068e8(0x3b8)]()),_0x4fdbc8;}throw _0x91701a[_0x3068e8(0x302)];}catch(_0x303418){return this[_0x3068e8(0x3df)][_0x3068e8(0x302)](_0x303418),this['_onConflict'](!0x1);}}[_0x36f281(0x238)](){const _0x28dd51=_0x36f281;throw new Error(_0x28dd51(0x32f));}['onRemoteRej'](){const _0x7df85c=_0x36f281;throw new Error(_0x7df85c(0x3e1));}[_0x36f281(0x40b)](){const _0x825773=_0x36f281;return this[_0x825773(0x46b)](),this[_0x825773(0xf1)][_0x825773(0xb4)](_0x4519aa,this[_0x825773(0x2ba)],this[_0x825773(0x17b)],null,this[_0x825773(0x289)],this['_handler']);}['toggleOnline'](){return this;}[_0x36f281(0x478)](_0x3e577c){const _0x18a147=_0x36f281,_0x426214=_0x3e577c!=null?_0x3e577c:this[_0x18a147(0x3b8)]();this[_0x18a147(0x215)]=new Date()['getTime'](),this['_sendingTimer']=window['setTimeout'](()=>{const _0x5a820c=_0x18a147;this[_0x5a820c(0x46b)]();let _0x384dd1=null;switch(this['type']){case _0x4775b3[_0x5a820c(0x12e)]:{_0x384dd1=_0x36aad1(this[_0x5a820c(0x289)],this[_0x5a820c(0x2ba)],this[_0x5a820c(0x276)],this['_revisionService'],this[_0x5a820c(0x277)]);break;}case _0x4775b3[_0x5a820c(0x4e1)]:{this[_0x5a820c(0x289)][_0x5a820c(0x2d1)](_0xc95aa7=>_0xc95aa7['id']===_0x4aa7be[_0x5a820c(0x36e)]['id'])?_0x384dd1=_0xeb2f45(this[_0x5a820c(0x289)],this[_0x5a820c(0x2ba)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x384dd1=_0x36aad1(this[_0x5a820c(0x289)],this[_0x5a820c(0x2ba)],this[_0x5a820c(0x276)],this[_0x5a820c(0x237)],this[_0x5a820c(0x277)]);break;}default:throw new Error(_0x5a820c(0x2dd)+this[_0x5a820c(0x17b)]+_0x5a820c(0x1d3));}const {changeset:_0x47915a,pendingMutations:_0x2a7c06}=_0x384dd1;this[_0x5a820c(0x473)]['onSendChangeset'](_0x47915a);const _0x5edde7=_0x2a7c06['length']?this['_injector'][_0x5a820c(0xb4)](_0x165ad8,this[_0x5a820c(0x2ba)],this[_0x5a820c(0x17b)],_0x47915a,_0x2a7c06,this['_handler']):this['_injector']['createInstance'](_0x5165c0,this['unitID'],this[_0x5a820c(0x17b)],_0x47915a,this[_0x5a820c(0x473)]);_0x5edde7['_updateLocalCache'](),this['_handler'][_0x5a820c(0x4e2)](this,_0x5edde7);},_0x426214);}['_getSendChangesetTimeout'](){const _0x3dbcc1=_0x36f281;var _0x4543fc;const _0x2e78af=this[_0x3dbcc1(0xdd)]['getConfig'](_0xfe6e3e);return(_0x4543fc=_0x2e78af==null?void 0x0:_0x2e78af[_0x3dbcc1(0x10d)])!=null?_0x4543fc:0x7d0;}[_0x36f281(0x39c)](){const _0x1ab89a=_0x36f281;throw new Error(_0x1ab89a(0xd8));}[_0x36f281(0x46b)](){const _0x3109fd=_0x36f281;this['_sendingTimer']!=null&&(clearTimeout(this[_0x3109fd(0x22f)]),this[_0x3109fd(0x22f)]=null);}[_0x36f281(0x343)](_0x2c1a23){const _0x2c5189=_0x36f281;return this[_0x2c5189(0x46b)](),this[_0x2c5189(0xf1)][_0x2c5189(0xb4)](_0x24fcd1,this[_0x2c5189(0x2ba)],this[_0x2c5189(0x17b)],null,this['_pendingMutations'],this[_0x2c5189(0x473)],_0x2c1a23);}};_0x5f011e=_0x1a64a2([_0x418d5f(0x4,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x418d5f(0x5,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0x6,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0x7,_0x593949[_0x36f281(0xb9)](_0x40c14d)),_0x418d5f(0x8,_0x593949['ILogService']),_0x418d5f(0x9,_0x593949[_0x36f281(0x38d)]),_0x418d5f(0xa,_0x593949['IConfigService']),_0x418d5f(0xb,_0x4968b4[_0x36f281(0x415)]),_0x418d5f(0xc,_0x593949[_0x36f281(0x1dc)]),_0x418d5f(0xd,_0x593949[_0x36f281(0x3d1)])],_0x5f011e);let _0x5165c0=class extends _0x3595bc{constructor(_0xad17f2,_0x1671a,_0x2208ce,_0x4f5f88,_0x224ebb,_0x235a60,_0x5ae4c5,_0x1578c2,_0x3d8002,_0x310c0d,_0x3cc62a){const _0x17333f=_0x36f281;super(_0xad17f2,_0x1671a,_0x2208ce,[],_0x4f5f88,_0x1578c2,_0x3cc62a,_0x235a60,_0x5ae4c5),_0x3e0772(this,_0x17333f(0x339),_0x17333f(0x39e)),(this[_0x17333f(0xf1)]=_0x224ebb,this['_logService']=_0x3d8002,this[_0x17333f(0x496)]=_0x310c0d);}['appendMutation'](_0x296462){const _0x1c0908=_0x36f281,_0x25e8bf=this[_0x1c0908(0xf1)][_0x1c0908(0xb4)](_0x165ad8,this[_0x1c0908(0x2ba)],this[_0x1c0908(0x17b)],this['_awaitingChangeset'],[_0x296462],this['_handler']);return _0x25e8bf[_0x1c0908(0x374)](),_0x25e8bf;}[_0x36f281(0x271)](_0x468773){const _0x44e221=_0x36f281;if(this[_0x44e221(0x313)](_0x468773))return this[_0x44e221(0xf1)]['createInstance'](_0x486ba5,this[_0x44e221(0x2ba)],this[_0x44e221(0x17b)],this[_0x44e221(0x446)],[],null,[_0x468773],this[_0x44e221(0x473)]);try{const _0x4601f0=this['_transformService'][_0x44e221(0x2e8)]([_0x468773],[this['_awaitingChangeset']],!0x1);if(_0x4968b4[_0x44e221(0x2e9)](_0x4601f0)){const {c1Prime:_0x185285,c2Prime:_0x52b3b1}=_0x4601f0;this[_0x44e221(0x3de)](_0x185285[0x0]),_0x52b3b1[0x0]['baseRev']=this[_0x44e221(0x2ce)]();const _0x4a09e1=this['_injector'][_0x44e221(0xb4)](_0x5165c0,this[_0x44e221(0x2ba)],this['type'],_0x52b3b1[0x0],this[_0x44e221(0x473)]);return _0x4a09e1[_0x44e221(0x374)](),_0x4a09e1;}return this[_0x44e221(0x343)](!0x1);}catch(_0x3b2adb){return this[_0x44e221(0x3df)][_0x44e221(0x302)](_0x3b2adb),this[_0x44e221(0x343)](!0x1);}}[_0x36f281(0x238)](_0x1a1fc3){const _0x29f683=_0x36f281,_0x52f40b=this[_0x29f683(0x237)][_0x29f683(0x1fb)](this[_0x29f683(0x2ba)]);if(_0x1a1fc3[_0x29f683(0x320)]<_0x52f40b-0x1)return this;if(this[_0x29f683(0x313)](_0x1a1fc3))return this[_0x29f683(0xf1)][_0x29f683(0xb4)](_0x486ba5,this[_0x29f683(0x2ba)],this[_0x29f683(0x17b)],null,[],this[_0x29f683(0x446)],[],this[_0x29f683(0x473)]);this[_0x29f683(0x2cf)]();const _0x4b5547=this[_0x29f683(0xf1)][_0x29f683(0xb4)](_0x333ccd,this['unitID'],this[_0x29f683(0x17b)],this[_0x29f683(0x473)]);return _0x4b5547[_0x29f683(0x374)](),_0x4b5547;}[_0x36f281(0x143)](_0x48d8ce){const _0x2a9e3c=_0x36f281;return this[_0x2a9e3c(0x343)](!!(_0x48d8ce!=null&&_0x48d8ce['isPermissionRej']));}[_0x36f281(0x40b)](){const _0x4ba02e=_0x36f281;return this['_injector'][_0x4ba02e(0xb4)](_0x4519aa,this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x4ba02e(0x473)]);}[_0x36f281(0x400)](){return this;}[_0x36f281(0x39c)](){const _0x203f6a=_0x36f281;this[_0x203f6a(0x473)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x21a79e){const _0x5e3fc7=_0x36f281;return this[_0x5e3fc7(0xf1)][_0x5e3fc7(0xb4)](_0x24fcd1,this[_0x5e3fc7(0x2ba)],this['type'],this[_0x5e3fc7(0x446)],[],this[_0x5e3fc7(0x473)],_0x21a79e);}};_0x5165c0=_0x1a64a2([_0x418d5f(0x4,_0x593949['Inject'](_0x593949[_0x36f281(0xa8)])),_0x418d5f(0x5,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0x6,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0x7,_0x593949['ICommandService']),_0x418d5f(0x8,_0x593949[_0x36f281(0x380)]),_0x418d5f(0x9,_0x4968b4[_0x36f281(0x415)]),_0x418d5f(0xa,_0x593949['IUndoRedoService'])],_0x5165c0);let _0x165ad8=class extends _0x3595bc{constructor(_0x585f59,_0x450bc4,_0x12ce61,_0x5cfbf0,_0x318e88,_0x3148c6,_0x51c88f,_0x2b494d,_0xb7b8ca,_0x7d9f75,_0x520cfa,_0x2ea744){const _0x5704c8=_0x36f281;super(_0x585f59,_0x450bc4,_0x12ce61,_0x5cfbf0,_0x318e88,_0xb7b8ca,_0x2ea744,_0x51c88f,_0x2b494d),_0x3e0772(this,'status',_0x5704c8(0x158)),(this['_injector']=_0x3148c6,this[_0x5704c8(0x3df)]=_0x7d9f75,this['_transformService']=_0x520cfa);}['appendMutation'](_0xa0a491){const _0x23a7ac=_0x36f281;return this['_pendingMutations'][_0x23a7ac(0x43c)](_0xa0a491),this;}[_0x36f281(0x271)](_0x4d72b1){const _0x2f1407=_0x36f281;if(this[_0x2f1407(0x313)](_0x4d72b1))return this[_0x2f1407(0xf1)][_0x2f1407(0xb4)](_0x486ba5,this[_0x2f1407(0x2ba)],this[_0x2f1407(0x17b)],this[_0x2f1407(0x446)],this[_0x2f1407(0x289)],null,[_0x4d72b1],this[_0x2f1407(0x473)]);try{const _0x3a9144=this[_0x2f1407(0x496)][_0x2f1407(0x2e8)]([_0x4d72b1],[this['_awaitingChangeset']],!0x1);if(_0x4968b4['isTransformChangesetsSuccess'](_0x3a9144)){const {c1Prime:_0x2b6167,c2Prime:_0x5ab062}=_0x3a9144,_0x46ae56=this[_0x2f1407(0x496)][_0x2f1407(0x310)](_0x2b6167[0x0],this[_0x2f1407(0x289)]);if(_0x4968b4[_0x2f1407(0x3f3)](_0x46ae56)){const {c1Prime:_0x37cc9b,m2Prime:_0x21485b}=_0x46ae56;return this[_0x2f1407(0x3de)](_0x37cc9b),_0x5ab062[0x0][_0x2f1407(0x12d)]=this[_0x2f1407(0x2ce)](),this[_0x2f1407(0xf1)][_0x2f1407(0xb4)](_0x165ad8,this[_0x2f1407(0x2ba)],this[_0x2f1407(0x17b)],_0x5ab062[0x0],_0x21485b,this['_handler']);}throw _0x46ae56[_0x2f1407(0x302)];}throw _0x3a9144['error'];}catch(_0x346228){return this[_0x2f1407(0x3df)][_0x2f1407(0x302)](_0x346228),this[_0x2f1407(0x343)](!0x1);}}[_0x36f281(0x238)](_0x403aa9){const _0x14a630=_0x36f281;if(this[_0x14a630(0x313)](_0x403aa9))return this[_0x14a630(0xf1)][_0x14a630(0xb4)](_0x486ba5,this['unitID'],this['type'],null,this[_0x14a630(0x289)],this[_0x14a630(0x446)],[],this[_0x14a630(0x473)]);this[_0x14a630(0x2cf)]();const _0x18a12f=this[_0x14a630(0xf1)]['createInstance'](_0x5f011e,this[_0x14a630(0x2ba)],this['type'],this[_0x14a630(0x289)],this[_0x14a630(0x473)]);return _0x18a12f[_0x14a630(0x478)](),_0x18a12f['_updateLocalCache'](),_0x18a12f;}[_0x36f281(0x143)](_0x2dea48){const _0x258217=_0x36f281;return this[_0x258217(0x343)](!!(_0x2dea48!=null&&_0x2dea48['isPermissionRej']));}[_0x36f281(0x40b)](){const _0x10bc6d=_0x36f281;return this[_0x10bc6d(0xf1)]['createInstance'](_0x4519aa,this[_0x10bc6d(0x2ba)],this[_0x10bc6d(0x17b)],this[_0x10bc6d(0x446)],this[_0x10bc6d(0x289)],this[_0x10bc6d(0x473)]);}[_0x36f281(0x400)](){return this;}[_0x36f281(0x39c)](){const _0x44326b=_0x36f281;this[_0x44326b(0x473)][_0x44326b(0x3d8)](this[_0x44326b(0x446)]);}['_onConflict'](_0x5c85d1){const _0x1af3a5=_0x36f281;return this['_injector'][_0x1af3a5(0xb4)](_0x24fcd1,this['unitID'],this[_0x1af3a5(0x17b)],null,this[_0x1af3a5(0x289)],this[_0x1af3a5(0x473)],_0x5c85d1);}};_0x165ad8=_0x1a64a2([_0x418d5f(0x5,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x418d5f(0x6,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0x7,_0x593949['Inject'](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0x8,_0x593949['ICommandService']),_0x418d5f(0x9,_0x593949[_0x36f281(0x380)]),_0x418d5f(0xa,_0x4968b4[_0x36f281(0x415)]),_0x418d5f(0xb,_0x593949[_0x36f281(0x3d1)])],_0x165ad8);let _0x24fcd1=class extends _0x3595bc{constructor(_0x248ccf,_0x5e517a,_0x8a71f8,_0x1b837f,_0x199ef8,_0x3ced7f=!0x1,_0x254d48,_0x5c6a53,_0x50f869,_0x408cd5,_0x55b962,_0x49987b,_0x5df862){const _0xa9b98=_0x36f281;super(_0x248ccf,_0x5e517a,_0x8a71f8,_0x1b837f,_0x199ef8,_0x5c6a53,_0x50f869,_0x55b962,_0x408cd5),_0x3e0772(this,_0xa9b98(0x339),_0xa9b98(0x422)),(this[_0xa9b98(0x4dd)]=_0x3ced7f,this[_0xa9b98(0x397)]=_0x254d48,this['_localeService']=_0x49987b,this[_0xa9b98(0x4ea)]=_0x5df862,this['_showConflictNotification'](),this[_0xa9b98(0x495)](),this[_0xa9b98(0xaa)]());}[_0x36f281(0xca)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x36f281(0x40b)](){return this;}['toggleOnline'](){return this;}[_0x36f281(0x39c)](){const _0x3ca38e=_0x36f281;throw new Error(_0x3ca38e(0x44b));}[_0x36f281(0x495)](){const _0x391e9f=_0x36f281;this[_0x391e9f(0xfc)][_0x391e9f(0x26e)](this[_0x391e9f(0x2ba)],this['type'],null,[]);}['_showConflictNotification'](){const _0x4aefea=_0x36f281;this[_0x4aefea(0x4dd)]?this[_0x4aefea(0x4ea)]['show']({'title':this[_0x4aefea(0x36f)]['t'](_0x4aefea(0x29e)),'content':this[_0x4aefea(0x36f)]['t'](_0x4aefea(0x4d2)),'type':_0x4aefea(0x302),'duration':0x0}):this[_0x4aefea(0x4ea)][_0x4aefea(0x348)]({'title':this[_0x4aefea(0x36f)]['t']('conflict.title'),'content':this[_0x4aefea(0x36f)]['t'](_0x4aefea(0x48e)),'type':_0x4aefea(0x302),'duration':0x0});}[_0x36f281(0xaa)](){const _0x3a333a=_0x36f281;this['_permissionService'][_0x3a333a(0x1ee)](new _0xec6805[(_0x3a333a(0x1d2))](this['unitID'])['id'],!0x1);}};_0x24fcd1=_0x1a64a2([_0x418d5f(0x6,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x191)])),_0x418d5f(0x7,_0x593949[_0x36f281(0x38d)]),_0x418d5f(0x8,_0x593949[_0x36f281(0x3d1)]),_0x418d5f(0x9,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0xa,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0xb,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x418d5f(0xc,_0xc44033[_0x36f281(0x438)])],_0x24fcd1);let _0x4519aa=class extends _0x3595bc{constructor(_0x26d1eb,_0x571fa8,_0x44ee0e,_0x130cbc,_0x2c9116,_0x44ef86,_0x365a56,_0x24ec76,_0x59c328,_0x1edbd4){const _0x55d361=_0x36f281;super(_0x26d1eb,_0x571fa8,_0x44ee0e,_0x130cbc,_0x2c9116,_0x59c328,_0x1edbd4,_0x365a56,_0x24ec76),_0x3e0772(this,_0x55d361(0x339),'offline'),this['_injector']=_0x44ef86;}['appendMutation'](_0x561504){const _0xe9d4a9=_0x36f281;return this[_0xe9d4a9(0x289)]['push'](_0x561504),this[_0xe9d4a9(0x374)](),this;}[_0x36f281(0x271)](_0x43dc0c){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x968aa8=_0x36f281;throw new Error(_0x968aa8(0x14b));}['onRemoteRej'](){const _0x4a1f79=_0x36f281;throw new Error(_0x4a1f79(0x26f));}[_0x36f281(0x40b)](){return this;}[_0x36f281(0x400)](){const _0x527d65=_0x36f281,{_injector:_0x5e05fd,_pendingMutations:_0x4b40b4,_awaitingChangeset:_0x300cd7,unitID:_0x35577b,_handler:_0x2338a0,type:_0x191c1c}=this,_0x4dce49=_0x4d8d4e(_0x5e05fd,_0x35577b,_0x191c1c,_0x300cd7,_0x4b40b4,_0x2338a0);return _0x4dce49 instanceof _0x5f011e?_0x4dce49[_0x527d65(0x478)]():(_0x4dce49 instanceof _0x165ad8||_0x4dce49 instanceof _0x5165c0)&&_0x4dce49['resend'](),_0x4dce49;}[_0x36f281(0x39c)](){const _0x19f337=_0x36f281;throw new Error(_0x19f337(0x3f8));}};_0x4519aa=_0x1a64a2([_0x418d5f(0x5,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x418d5f(0x6,_0x593949[_0x36f281(0xb9)](_0x4968b4['RevisionService'])),_0x418d5f(0x7,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0x8,_0x593949[_0x36f281(0x38d)]),_0x418d5f(0x9,_0x593949['IUndoRedoService'])],_0x4519aa);let _0x486ba5=class extends _0x3595bc{constructor(_0x76d557,_0x4e60c4,_0x54c14d,_0x5f48bf,_0x3bb5b7,_0x52da86,_0x2fc433,_0x543c5e,_0x24423f,_0x368089,_0x2db470,_0x2ee923,_0x12f11b,_0x33b341){const _0x3b2b59=_0x36f281;super(_0x76d557,_0x4e60c4,_0x54c14d,_0x5f48bf,_0x2fc433,_0x2ee923,_0x12f11b,_0x24423f,_0x368089),_0x3e0772(this,_0x3b2b59(0x339),_0x3b2b59(0xc5)),(this['_acknowledgedAwaitingChangeset']=_0x3bb5b7,this[_0x3b2b59(0x439)]=_0x52da86,this['_injector']=_0x543c5e,this[_0x3b2b59(0x3df)]=_0x2db470,this[_0x3b2b59(0x496)]=_0x33b341);}[_0x36f281(0x27c)](_0x3d7cf6){const _0x447301=_0x36f281;try{const _0x4098b8=[..._0x3d7cf6,...this[_0x447301(0x439)]],_0x23650c=[this[_0x447301(0x446)]||this[_0x447301(0x4c5)]][_0x447301(0x218)](_0x9f1207=>!!_0x9f1207);let _0x195b53,_0x57c617;if(_0x23650c[_0x447301(0x43f)]){const _0x334ddf=this[_0x447301(0x496)]['transformChangesets'](_0x4098b8,_0x23650c,!0x1);if(!_0x4968b4['isTransformChangesetsSuccess'](_0x334ddf))throw _0x334ddf[_0x447301(0x302)];_0x195b53=_0x334ddf[_0x447301(0x39f)],_0x57c617=_0x334ddf['c2Prime'];}else _0x195b53=_0x4098b8,_0x57c617=[];let _0x47431e=this['_pendingMutations'];_0x195b53[_0x447301(0x2a0)](_0x2a1a3b=>{const _0x261695=_0x447301;let _0xdc1c72;if(_0x47431e['length']){const _0x4e2b5c=this[_0x261695(0x496)][_0x261695(0x310)](_0x2a1a3b,_0x47431e);if(!_0x4968b4['isTransformMutationsWithChangesetSuccess'](_0x4e2b5c))throw _0x4e2b5c['error'];_0xdc1c72=_0x4e2b5c[_0x261695(0x39f)],_0x47431e=_0x4e2b5c[_0x261695(0xb3)];}else _0xdc1c72=_0x2a1a3b;this[_0x261695(0x3de)](_0xdc1c72);}),this[_0x447301(0x4c5)]&&this[_0x447301(0x2cf)](),this[_0x447301(0x446)]&&_0x57c617[_0x447301(0x43f)]&&(_0x57c617[0x0][_0x447301(0x12d)]=this[_0x447301(0x2ce)]());let _0x89d84;if(this[_0x447301(0x446)]&&_0x47431e[_0x447301(0x43f)]!==0x0)_0x89d84=this[_0x447301(0xf1)][_0x447301(0xb4)](_0x165ad8,this['unitID'],this[_0x447301(0x17b)],_0x57c617[0x0],_0x47431e,this[_0x447301(0x473)]);else{if(this[_0x447301(0x446)]&&_0x47431e['length']===0x0)_0x57c617[0x0]['baseRev']=this[_0x447301(0x2ce)](),_0x89d84=this['_injector'][_0x447301(0xb4)](_0x5165c0,this[_0x447301(0x2ba)],this[_0x447301(0x17b)],_0x57c617[0x0],this['_handler']);else{if(_0x47431e[_0x447301(0x43f)]!==0x0){const _0x58acae=this[_0x447301(0xf1)]['createInstance'](_0x5f011e,this[_0x447301(0x2ba)],this[_0x447301(0x17b)],_0x47431e,this[_0x447301(0x473)]);_0x58acae[_0x447301(0x478)](),_0x89d84=_0x58acae;}else _0x89d84=this[_0x447301(0xf1)][_0x447301(0xb4)](_0x333ccd,this['unitID'],this[_0x447301(0x17b)],this[_0x447301(0x473)]);}}return _0x89d84['_updateLocalCache'](),_0x89d84;}catch(_0x13f2dd){return this[_0x447301(0x3df)][_0x447301(0x302)](_0x447301(0x2cc),_0x447301(0x360),_0x13f2dd),this['_injector']['createInstance'](_0x24fcd1,this['unitID'],this[_0x447301(0x17b)],this[_0x447301(0x446)],this[_0x447301(0x289)],this[_0x447301(0x473)],!0x1);}}['resend'](){const _0x5ae767=_0x36f281;throw new Error(_0x5ae767(0x2e3));}[_0x36f281(0xca)](_0x26138d){const _0x38dd37=_0x36f281;return this[_0x38dd37(0x289)]['push'](_0x26138d),this;}[_0x36f281(0x271)](_0x37a742){const _0x1c2d45=_0x36f281;return this[_0x1c2d45(0x439)][_0x1c2d45(0x43c)](_0x37a742),this;}[_0x36f281(0x238)](_0x3b7ac9){const _0x2f6fd0=_0x36f281;if(this[_0x2f6fd0(0x446)])return this[_0x2f6fd0(0x4c5)]=this[_0x2f6fd0(0x446)],this['_awaitingChangeset']=null,this;throw new Error(_0x2f6fd0(0x161));}[_0x36f281(0x143)](_0x3a32ae){const _0x1fa43d=_0x36f281;return this[_0x1fa43d(0x343)](!!(_0x3a32ae!=null&&_0x3a32ae[_0x1fa43d(0x1ef)]));}[_0x36f281(0x40b)](){const _0x1286af=_0x36f281;return this[_0x1286af(0xf1)]['createInstance'](_0x4519aa,this[_0x1286af(0x2ba)],this['type'],this[_0x1286af(0x446)],this['_pendingMutations'],this[_0x1286af(0x473)]);}[_0x36f281(0x400)](){return this;}['_onConflict'](_0x3413eb){const _0xca43ec=_0x36f281;return this[_0xca43ec(0xf1)][_0xca43ec(0xb4)](_0x24fcd1,this[_0xca43ec(0x2ba)],this[_0xca43ec(0x17b)],this[_0xca43ec(0x446)],this[_0xca43ec(0x289)],this[_0xca43ec(0x473)],_0x3413eb);}};_0x486ba5=_0x1a64a2([_0x418d5f(0x7,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x418d5f(0x8,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x418d5f(0x9,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x418d5f(0xa,_0x593949['ILogService']),_0x418d5f(0xb,_0x593949[_0x36f281(0x38d)]),_0x418d5f(0xc,_0x593949[_0x36f281(0x3d1)]),_0x418d5f(0xd,_0x4968b4['ITransformService'])],_0x486ba5);function _0x4d8d4e(_0x346e58,_0x5b5882,_0x4aa32c,_0x30d623,_0x220a6a,_0x1f1b60){const _0x26cefb=_0x36f281;return _0x30d623&&_0x220a6a[_0x26cefb(0x43f)]?_0x346e58[_0x26cefb(0xb4)](_0x165ad8,_0x5b5882,_0x4aa32c,_0x30d623,_0x220a6a,_0x1f1b60):_0x30d623?_0x346e58[_0x26cefb(0xb4)](_0x5165c0,_0x5b5882,_0x4aa32c,_0x30d623,_0x1f1b60):_0x220a6a['length']?_0x346e58[_0x26cefb(0xb4)](_0x5f011e,_0x5b5882,_0x4aa32c,_0x220a6a,_0x1f1b60):_0x346e58[_0x26cefb(0xb4)](_0x333ccd,_0x5b5882,_0x4aa32c,_0x1f1b60);}var _0x670b4=Object[_0x36f281(0x49a)],_0x2c911d=Object[_0x36f281(0x381)],_0x220de1=(_0x3beece,_0x353f56,_0x4bab18,_0x2f0dcc)=>{for(var _0x2cba5b=_0x2f0dcc>0x1?void 0x0:_0x2f0dcc?_0x2c911d(_0x353f56,_0x4bab18):_0x353f56,_0x57dc51=_0x3beece['length']-0x1,_0x1d1762;_0x57dc51>=0x0;_0x57dc51--)(_0x1d1762=_0x3beece[_0x57dc51])&&(_0x2cba5b=(_0x2f0dcc?_0x1d1762(_0x353f56,_0x4bab18,_0x2cba5b):_0x1d1762(_0x2cba5b))||_0x2cba5b);return _0x2f0dcc&&_0x2cba5b&&_0x670b4(_0x353f56,_0x4bab18,_0x2cba5b),_0x2cba5b;},_0x3d2353=(_0x34e84b,_0x35b4e2)=>(_0x276307,_0x68127f)=>_0x35b4e2(_0x276307,_0x68127f,_0x34e84b);_0x4238fe['CollaborationEntity']=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x26ed7e,_0x5cfe36,_0x32c0e1,_0xaf57ea,_0x2eb07b,_0x256b2d,_0xe2eb97,_0x40e780,_0x29f02b,_0x28a4a3,_0xabcbde,_0x198afa,_0x367ea5){const _0x45aa5e=_0x36f281;super(),_0x3e0772(this,_0x45aa5e(0x16f),new _0x30c949[(_0x45aa5e(0x2f9))](null)),_0x3e0772(this,_0x45aa5e(0x3f6),this['_state$'][_0x45aa5e(0x13a)]()),_0x3e0772(this,_0x45aa5e(0x3b5)),_0x3e0772(this,_0x45aa5e(0x27e),!0x1),_0x3e0772(this,_0x45aa5e(0x3d6),''),_0x3e0772(this,_0x45aa5e(0x236),0x0),_0x3e0772(this,'status$',this[_0x45aa5e(0x3f6)]['pipe'](_0x30c949['map'](_0x45dfb6=>_0x45dfb6?_0x45dfb6[_0x45aa5e(0x339)]:_0x2d65dc[_0x45aa5e(0x4eb)]),_0x30c949[_0x45aa5e(0x33e)](0x1))),_0x3e0772(this,'_transitionLocked',!0x1),_0x3e0772(this,_0x45aa5e(0x376),[]),(this[_0x45aa5e(0x2ba)]=_0x26ed7e,this[_0x45aa5e(0x3b4)]=_0x5cfe36,this[_0x45aa5e(0x30e)]=_0x32c0e1,this[_0x45aa5e(0xf1)]=_0xaf57ea,this[_0x45aa5e(0xfc)]=_0x2eb07b,this[_0x45aa5e(0x30b)]=_0x256b2d,this[_0x45aa5e(0x36f)]=_0xe2eb97,this['_revisionService']=_0x40e780,this['_logService']=_0x29f02b,this[_0x45aa5e(0x265)]=_0x28a4a3,this[_0x45aa5e(0xf9)]=_0xabcbde,this[_0x45aa5e(0x397)]=_0x198afa,this[_0x45aa5e(0xb2)]=_0x367ea5);}get['state'](){const _0x14a5be=_0x36f281;return this[_0x14a5be(0x3b5)];}async[_0x36f281(0x2bb)](){const _0x3482c3=_0x36f281;if(this[_0x3482c3(0xba)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3482c3(0x3b6)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x593949['toDisposable'](()=>{const _0x528c3c=_0x4c16;this['_collaborationPaused']=!0x1,this[_0x528c3c(0x2a7)]();});}['_updateState'](_0x17bb8d){const _0x13a181=_0x36f281;this[_0x13a181(0x3b5)]=_0x17bb8d,this[_0x13a181(0x16f)][_0x13a181(0x4e6)](_0x17bb8d);}async[_0x36f281(0x3b6)](){const _0x147b98=_0x36f281;var _0x1b0e92;this['_updateState'](await this[_0x147b98(0x21f)]()),this[_0x147b98(0xb2)]&&((_0x1b0e92=this['_singleActiveUnitService'])==null||_0x1b0e92[_0x147b98(0x32a)](this['unitID']),this[_0x147b98(0x196)](this[_0x147b98(0xb2)][_0x147b98(0xd9)](this['unitID'])['subscribe'](_0x3cc1ee=>{const _0x5d3fc8=_0x147b98;this[_0x5d3fc8(0x3df)][_0x5d3fc8(0x177)](_0x5d3fc8(0x1eb),'editing\x20status\x20changed\x20to',_0x3cc1ee),_0x3cc1ee===_0x3e0c16[_0x5d3fc8(0x4c2)]?(this[_0x5d3fc8(0xf9)][_0x5d3fc8(0x348)]({'content':this[_0x5d3fc8(0x36f)]['t'](_0x5d3fc8(0x2a2)),'type':_0x2b27fc[_0x5d3fc8(0x1ae)]['Warning']}),this['_permissionService'][_0x5d3fc8(0x1ee)](new _0xec6805[(_0x5d3fc8(0x1d2))](this[_0x5d3fc8(0x2ba)])['id'],!0x1)):this[_0x5d3fc8(0x397)][_0x5d3fc8(0x1ee)](new _0xec6805[(_0x5d3fc8(0x1d2))](this['unitID'])['id'],!0x0);})));let _0x3cc0bd=!0x1;return this[_0x147b98(0x196)](this[_0x147b98(0x3b4)][_0x147b98(0x45c)][_0x147b98(0x188)](_0x33a102=>{const _0x5f0ac5=_0x147b98;_0x33a102===_0x108499[_0x5f0ac5(0x2af)]?this[_0x5f0ac5(0x1fc)](_0x3cc0bd):_0x33a102===_0x108499[_0x5f0ac5(0x4eb)]&&(_0x3cc0bd=!0x0,this[_0x5f0ac5(0x1a9)]());})),this[_0x147b98(0x196)](this['session'][_0x147b98(0x44d)]['subscribe'](_0x52055c=>{const _0x162549=_0x147b98;try{switch(_0x52055c['eventID']){case _0x4968b4[_0x162549(0xbc)]['NEW_CHANGESETS']:{this[_0x162549(0x300)](_0x4968b4['parseProtocolChangeset'](_0x52055c[_0x162549(0x298)]));break;}case _0x4968b4[_0x162549(0xbc)]['CHANGESET_ACK']:{this[_0x162549(0x467)](_0x52055c[_0x162549(0x298)]);break;}case _0x4968b4[_0x162549(0xbc)][_0x162549(0x1f9)]:{this['_onRemoteRejected']();break;}case _0x4968b4[_0x162549(0xbc)][_0x162549(0x48d)]:{this[_0x162549(0xf2)](_0x52055c['data'][_0x162549(0x46a)][_0x162549(0x1de)](_0xfd94b1=>_0x4968b4[_0x162549(0x157)](_0xfd94b1)));break;}case _0x4968b4[_0x162549(0xbc)][_0x162549(0x4c3)]:this[_0x162549(0xb0)]({'isPermissionRej':!0x0});}}catch(_0x4d909c){throw console[_0x162549(0x302)](_0x162549(0x458),_0x4d909c),_0x4d909c;}})),this[_0x147b98(0x3b5)];}[_0x36f281(0x28b)](){const _0x2c0a65=_0x36f281;this[_0x2c0a65(0x371)]=!0x1;}['_lockTransition'](){const _0x497b09=_0x36f281;if(this[_0x497b09(0x371)])throw new Error(_0x497b09(0x493));this['_transitionLocked']=!0x0;}[_0x36f281(0x388)](_0x39b1b1){const _0x3d63e1=_0x36f281;this[_0x3d63e1(0x30c)](),this[_0x3d63e1(0x4b8)](this['_state'][_0x3d63e1(0xca)](_0x39b1b1)),this[_0x3d63e1(0x28b)]();}[_0x36f281(0x300)](_0x375f3d){const _0xe0f96a=_0x36f281;if(!(_0x375f3d[_0xe0f96a(0x320)]<=this[_0xe0f96a(0x237)][_0xe0f96a(0x1fb)](this[_0xe0f96a(0x2ba)]))){if(this[_0xe0f96a(0x27e)]){this[_0xe0f96a(0x376)][_0xe0f96a(0x43c)](_0x375f3d);return;}this[_0xe0f96a(0x23f)](_0x375f3d);}}[_0x36f281(0x2a7)](){const _0x4eaf79=_0x36f281;this['_remoteChangesetQueue']['forEach'](_0xa4ad1b=>this[_0x4eaf79(0x23f)](_0xa4ad1b)),this[_0x4eaf79(0x376)]=[];}[_0x36f281(0x23f)](_0x5e9b9c){const _0x57a7c4=_0x36f281,_0xe04b13=this['_compressMutationService'][_0x57a7c4(0x121)]['fetchThroughInterceptors'](this[_0x57a7c4(0x30b)][_0x57a7c4(0x121)][_0x57a7c4(0xee)]()[_0x57a7c4(0x336)])(_0x5e9b9c[_0x57a7c4(0x152)],null)||_0x5e9b9c['mutations'],_0x5dfdd4={..._0x5e9b9c,'mutations':_0xe04b13};this[_0x57a7c4(0x30c)](),this[_0x57a7c4(0x4b8)](this['_state'][_0x57a7c4(0x271)](_0x5dfdd4)),this['_unlockTransition']();}[_0x36f281(0x467)](_0x36c5f8){const _0x1f70cb=_0x36f281;this[_0x1f70cb(0x30c)](),this[_0x1f70cb(0x4b8)](this[_0x1f70cb(0x3b5)][_0x1f70cb(0x238)](_0x36c5f8)),this['_unlockTransition']();}['_onRemoteRejected'](_0x2f5eff){const _0x2e6409=_0x36f281;this[_0x2e6409(0x30c)](),this['_updateState'](this[_0x2e6409(0x3b5)][_0x2e6409(0x143)](_0x2f5eff)),this[_0x2e6409(0x28b)]();}[_0x36f281(0xf2)](_0x165107){const _0xa3e221=_0x36f281;if(!(this[_0xa3e221(0x3b5)]instanceof _0x486ba5))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xd44b21=_0x165107[_0xa3e221(0x1de)](_0x52c932=>{const _0x3603cb=_0xa3e221,_0x5c0af0=this[_0x3603cb(0x30b)][_0x3603cb(0x121)][_0x3603cb(0x34c)](this[_0x3603cb(0x30b)][_0x3603cb(0x121)][_0x3603cb(0xee)]()[_0x3603cb(0x336)])(_0x52c932[_0x3603cb(0x152)],null)||_0x52c932[_0x3603cb(0x152)];return{..._0x52c932,'mutations':_0x5c0af0};});this['_lockTransition'](),this[_0xa3e221(0x4b8)](this['_state']['onMissedChangesetFetched'](_0xd44b21)),this[_0xa3e221(0x28b)]();}['_toggleOffline'](){const _0x5e7fc8=_0x36f281;this[_0x5e7fc8(0x30c)](),this[_0x5e7fc8(0x4b8)](this['_state'][_0x5e7fc8(0x40b)]()),this[_0x5e7fc8(0x28b)]();}[_0x36f281(0x1fc)](_0x4a2c38=!0x1){const _0x13e9dd=_0x36f281;this[_0x13e9dd(0x30c)](),this[_0x13e9dd(0x4b8)](this['_state'][_0x13e9dd(0x400)]()),this[_0x13e9dd(0x28b)]();const _0x3e88c9=this[_0x13e9dd(0x3b5)];_0x4a2c38&&_0x3e88c9 instanceof _0x333ccd&&(this[_0x13e9dd(0x30c)](),this[_0x13e9dd(0x4b8)](_0x3e88c9[_0x13e9dd(0x492)]()),this[_0x13e9dd(0x28b)]());}async[_0x36f281(0x21f)](){return new Promise(_0x4b6ffe=>{const _0x11acd2=_0x4c16;this[_0x11acd2(0x3b4)][_0x11acd2(0x45c)][_0x11acd2(0x49c)](_0x30c949[_0x11acd2(0x477)](0x1))['subscribe'](async _0x1f33c6=>{const _0x1b7271=_0x11acd2;_0x4b6ffe(await this[_0x1b7271(0x47d)](_0x1f33c6===_0x108499['ONLINE']));});});}['_createHandler'](){const _0x11225e=_0x36f281,_0x11e877=this[_0x11225e(0x2ba)];return{'onStateChange':(_0x4038d9,_0x7d182c)=>{const _0x547d9a=_0x11225e;if(_0x4038d9!==this[_0x547d9a(0x3b5)])throw new Error(_0x547d9a(0x127)+_0x4038d9[_0x547d9a(0x339)]+'\x0aAfter:\x20'+_0x7d182c['status']+_0x547d9a(0x42a)+this[_0x547d9a(0x3b5)]['status']);this[_0x547d9a(0x4b8)](_0x7d182c);},'onSendChangeset':_0x25c6e6=>{const _0x127e0b=_0x11225e;_0x25c6e6[_0x127e0b(0x151)]||(_0x25c6e6[_0x127e0b(0x151)]=this['_changesetSessionId'],_0x25c6e6[_0x127e0b(0x25a)]=++this[_0x127e0b(0x236)]);const _0x24692a={'eventID':_0x4968b4[_0x127e0b(0xbc)][_0x127e0b(0x1f8)],'data':{'unitID':_0x25c6e6[_0x127e0b(0x2ba)],'unitType':this[_0x127e0b(0x30e)],'changeset':_0x25c6e6,'memberID':this[_0x127e0b(0x3b4)][_0x127e0b(0x391)]()}};this['session']['send'](_0x24692a,this[_0x127e0b(0x2ba)]);},'onMissingChangesets':({from:_0x737fc6,to:_0x35ff8d})=>{const _0x365e75=_0x11225e;this[_0x365e75(0x3df)][_0x365e75(0x177)](_0x365e75(0x1eb),_0x365e75(0x390)+_0x737fc6+_0x365e75(0x337)+_0x35ff8d);const _0x5d4407={'eventID':_0x4968b4['CollaborationEvent'][_0x365e75(0x318)],'data':{'unitID':_0x11e877,'unitType':this['_type'],'from':_0x737fc6,'to':_0x35ff8d}};this[_0x365e75(0x3b4)][_0x365e75(0x4ce)](_0x5d4407,this['unitID']);}};}async['_createInitialStateImpl'](_0x3fa656){const _0x4b4f20=_0x36f281;var _0x1c52ff,_0x236a9f;const _0x5d2e8e=await this[_0x4b4f20(0xfc)][_0x4b4f20(0x453)](this['unitID']),_0x3c8ab1=(_0x1c52ff=_0x5d2e8e==null?void 0x0:_0x5d2e8e[_0x4b4f20(0x152)])!=null?_0x1c52ff:[],_0x2ab73c=(_0x236a9f=_0x5d2e8e==null?void 0x0:_0x5d2e8e[_0x4b4f20(0x32b)])!=null?_0x236a9f:null,_0x5724a3=!!(_0x2ab73c!=null&&_0x2ab73c[_0x4b4f20(0x151)])&&!!(_0x2ab73c!=null&&_0x2ab73c[_0x4b4f20(0x25a)]);this['_changesetSessionId']=_0x5724a3?_0x2ab73c[_0x4b4f20(0x151)]:_0x1b3228(),this[_0x4b4f20(0x236)]=_0x5724a3?_0x2ab73c[_0x4b4f20(0x25a)]:0x0;const _0x361eec=this[_0x4b4f20(0x2ba)];try{this[_0x4b4f20(0x4da)](_0x2ab73c,_0x3c8ab1);}catch(_0x228ad3){this[_0x4b4f20(0x3df)]['error'](_0x228ad3);}const _0x2eac9d=this[_0x4b4f20(0x20f)]();if(_0x3fa656){const _0x1f1746=_0x4d8d4e(this[_0x4b4f20(0xf1)],_0x361eec,this[_0x4b4f20(0x30e)],_0x2ab73c,_0x3c8ab1,_0x2eac9d);return _0x1f1746 instanceof _0x5f011e?_0x1f1746[_0x4b4f20(0x478)]():(_0x1f1746 instanceof _0x165ad8||_0x1f1746 instanceof _0x5165c0)&&_0x1f1746[_0x4b4f20(0x39c)](),_0x1f1746;}return this[_0x4b4f20(0xf1)][_0x4b4f20(0xb4)](_0x4519aa,_0x361eec,this[_0x4b4f20(0x30e)],_0x2ab73c,_0x3c8ab1,_0x2eac9d);}['_replayCachedMutations'](_0x44c5bd,_0x59d8fb){const _0x5b8907=_0x36f281;var _0x4782b6,_0x481dd0;const _0x36f288=this['_compressMutationService'][_0x5b8907(0x121)][_0x5b8907(0x34c)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x5b8907(0x336)]);(_0x4782b6=_0x36f288((_0x44c5bd==null?void 0x0:_0x44c5bd[_0x5b8907(0x152)])||[],null))==null||_0x4782b6[_0x5b8907(0x2a0)](_0x3730f6=>this[_0x5b8907(0x265)][_0x5b8907(0x420)](_0x3730f6['id'],_0x3730f6['params'])),(_0x481dd0=_0x36f288(_0x59d8fb||[],null))==null||_0x481dd0[_0x5b8907(0x2a0)](_0x35faaa=>this['_commandService'][_0x5b8907(0x420)](_0x35faaa['id'],_0x35faaa[_0x5b8907(0x2c8)]));}},_0x4238fe[_0x36f281(0xe6)]=_0x220de1([_0x3d2353(0x3,_0x593949['Inject'](_0x593949['Injector'])),_0x3d2353(0x4,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x3d2353(0x5,_0x593949[_0x36f281(0xb9)](_0x4968b4['CompressMutationService'])),_0x3d2353(0x6,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x3d2353(0x7,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x3d2353(0x8,_0x593949['ILogService']),_0x3d2353(0x9,_0x593949[_0x36f281(0x38d)]),_0x3d2353(0xa,_0xc44033[_0x36f281(0x2d6)]),_0x3d2353(0xb,_0x593949['IPermissionService']),_0x3d2353(0xc,_0x593949[_0x36f281(0xc8)](_0x34b236))],_0x4238fe[_0x36f281(0xe6)]),_0x4238fe[_0x36f281(0x11f)]=class extends _0x4238fe[_0x36f281(0xe6)]{constructor(_0x2cec67,_0x2e1b7d,_0x41431b,_0x4a0fac,_0x4bea74,_0x77e0b,_0x38ab13,_0x210b29,_0x2238a0,_0x2c13e3,_0xfca7bc,_0x57cf36,_0x5891dd,_0x10b662,_0x228716,_0x4a8da3,_0x4e64f0){const _0x57e820=_0x36f281;super(_0x2cec67,_0x41431b,_0x2e1b7d,_0x4a0fac,_0x4bea74,_0x77e0b,_0x38ab13,_0x210b29,_0x5891dd,_0x10b662,_0x228716,_0x4a8da3,_0x4e64f0),this[_0x57e820(0x2ba)]=_0x2cec67,this[_0x57e820(0x17b)]=_0x2e1b7d,this[_0x57e820(0x13b)]=_0x2238a0,this[_0x57e820(0x1ab)]=_0x2c13e3,this[_0x57e820(0x304)]=_0xfca7bc,this[_0x57e820(0x25e)]=_0x57cf36;}[_0x36f281(0x20f)](){const _0x56a942=_0x36f281,_0x4c7cda=super[_0x56a942(0x20f)]();return _0x4c7cda[_0x56a942(0x452)]=_0x1a4ab8=>this['_docTransformIMECacheService'][_0x56a942(0x3cf)](_0x1a4ab8),_0x4c7cda[_0x56a942(0xb1)]=_0x1a1310=>this[_0x56a942(0x304)][_0x56a942(0x28f)](_0x1a1310),_0x4c7cda['onSyncEditingCollabCursor']=_0x30f6e0=>this[_0x56a942(0x25e)][_0x56a942(0x4c6)](_0x30f6e0),_0x4c7cda[_0x56a942(0x31c)]=_0x2db4cb=>this['_docTransformIMECacheService'][_0x56a942(0xe8)](_0x2db4cb),_0x4c7cda;}async[_0x36f281(0x3b6)](){const _0x5312e7=_0x36f281,_0x2885de=await super[_0x5312e7(0x3b6)]();return this[_0x5312e7(0x13b)][_0x5312e7(0x430)]['pipe'](_0x30c949[_0x5312e7(0x142)](this[_0x5312e7(0x4d4)]))[_0x5312e7(0x188)](_0x4f6ff7=>{const _0x452166=_0x5312e7;if(_0x4f6ff7==null)return;const {unitId:_0xe50e87,redoState:_0x16ea4d,commandId:_0x503d8d}=_0x4f6ff7;if(_0xe50e87!==this[_0x452166(0x2ba)])return;const _0x2ef758={'id':_0x503d8d,'type':_0x593949[_0x452166(0x3e6)]['MUTATION'],'params':{'unitId':_0xe50e87,'actions':_0x16ea4d[_0x452166(0x3b0)],'textRanges':null}};this[_0x452166(0x388)](_0x2ef758);}),_0x2885de;}},_0x4238fe[_0x36f281(0x11f)]=_0x220de1([_0x3d2353(0x3,_0x593949['Inject'](_0x593949['Injector'])),_0x3d2353(0x4,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x3d2353(0x5,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0x4cf)])),_0x3d2353(0x6,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x3d2353(0x7,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x3d2353(0x8,_0x593949[_0x36f281(0xb9)](_0x5c6469[_0x36f281(0x1c8)])),_0x3d2353(0x9,_0x593949[_0x36f281(0xb9)](_0x249d79)),_0x3d2353(0xa,_0x593949['Inject'](_0x2ffd8e)),_0x3d2353(0xb,_0x593949[_0x36f281(0xb9)](_0x337544)),_0x3d2353(0xc,_0x593949['ILogService']),_0x3d2353(0xd,_0x593949[_0x36f281(0x38d)]),_0x3d2353(0xe,_0xc44033[_0x36f281(0x2d6)]),_0x3d2353(0xf,_0x593949[_0x36f281(0x191)]),_0x3d2353(0x10,_0x593949[_0x36f281(0xc8)](_0x34b236))],_0x4238fe['DocCollaborationEntity']),_0x4238fe[_0x36f281(0x1bc)]=class extends _0x4238fe[_0x36f281(0xe6)]{constructor(_0x3c1c05,_0x13d324,_0x217420,_0x336cc5,_0x4d16d8,_0x54cc1a,_0x29dbda,_0x405250,_0x291890,_0x40fdeb,_0x3667be,_0x5bf1f8,_0x75772e,_0x202d52){const _0x27ef71=_0x36f281;super(_0x3c1c05,_0x217420,_0x13d324,_0x336cc5,_0x4d16d8,_0x54cc1a,_0x29dbda,_0x405250,_0x40fdeb,_0x3667be,_0x5bf1f8,_0x75772e,_0x202d52),this[_0x27ef71(0x2ba)]=_0x3c1c05,this[_0x27ef71(0x17b)]=_0x13d324,this[_0x27ef71(0x4d1)]=_0x291890;}[_0x36f281(0x20f)](){const _0x18984b=_0x36f281,_0xa5af5f=super[_0x18984b(0x20f)]();return _0xa5af5f[_0x18984b(0xb1)]=_0x35bd5c=>this[_0x18984b(0x4d1)]['transformSelections'](_0x35bd5c),_0xa5af5f;}async[_0x36f281(0x3b6)](){const _0x23fab2=_0x36f281,_0x223ddf=await super[_0x23fab2(0x3b6)]();return this[_0x23fab2(0x196)](this[_0x23fab2(0x265)][_0x23fab2(0x33c)]((_0x335e5e,_0x36d62e)=>{const _0x2363ff=_0x23fab2;if(_0x335e5e[_0x2363ff(0x17b)]!==_0x593949[_0x2363ff(0x3e6)]['MUTATION']||_0x36d62e!=null&&_0x36d62e[_0x2363ff(0x399)]||_0x36d62e!=null&&_0x36d62e['onlyLocal'])return;const _0x1e30bd=_0x335e5e['params'];if((_0x1e30bd==null?void 0x0:_0x1e30bd[_0x2363ff(0x315)])!==this[_0x2363ff(0x2ba)])return;const _0x3c6471=_0x335e5e,_0x49af38=this[_0x2363ff(0x30b)][_0x2363ff(0x121)][_0x2363ff(0x34c)](this[_0x2363ff(0x30b)][_0x2363ff(0x121)][_0x2363ff(0xee)]()[_0x2363ff(0x488)])([_0x3c6471],null)||[_0x3c6471];this[_0x2363ff(0x388)](_0x49af38[0x0]);})),_0x223ddf;}},_0x4238fe[_0x36f281(0x1bc)]=_0x220de1([_0x3d2353(0x3,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x3d2353(0x4,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x3d2353(0x5,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0x4cf)])),_0x3d2353(0x6,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)])),_0x3d2353(0x7,_0x593949['Inject'](_0x4968b4[_0x36f281(0xe5)])),_0x3d2353(0x8,_0x593949[_0x36f281(0xb9)](_0x29a18f)),_0x3d2353(0x9,_0x593949[_0x36f281(0x380)]),_0x3d2353(0xa,_0x593949[_0x36f281(0x38d)]),_0x3d2353(0xb,_0xc44033[_0x36f281(0x2d6)]),_0x3d2353(0xc,_0x593949[_0x36f281(0x191)]),_0x3d2353(0xd,_0x593949[_0x36f281(0xc8)](_0x34b236))],_0x4238fe[_0x36f281(0x1bc)]);var _0x167169=Object['defineProperty'],_0x1723ad=Object[_0x36f281(0x381)],_0x2df128=(_0x2fcbd3,_0x3e6266,_0x4c5e78,_0x5ad821)=>{const _0x799e1f=_0x36f281;for(var _0x656052=_0x5ad821>0x1?void 0x0:_0x5ad821?_0x1723ad(_0x3e6266,_0x4c5e78):_0x3e6266,_0x2cba86=_0x2fcbd3[_0x799e1f(0x43f)]-0x1,_0x9a26f9;_0x2cba86>=0x0;_0x2cba86--)(_0x9a26f9=_0x2fcbd3[_0x2cba86])&&(_0x656052=(_0x5ad821?_0x9a26f9(_0x3e6266,_0x4c5e78,_0x656052):_0x9a26f9(_0x656052))||_0x656052);return _0x5ad821&&_0x656052&&_0x167169(_0x3e6266,_0x4c5e78,_0x656052),_0x656052;},_0x33b5f1=(_0x1c917f,_0x4ea40b)=>(_0x40fc0,_0xfda460)=>_0x4ea40b(_0x40fc0,_0xfda460,_0x1c917f);_0x4238fe[_0x36f281(0x373)]=class extends _0x593949[_0x36f281(0x130)]{constructor(_0xd38ed6,_0x4ba227,_0x3d0dc2){const _0x443cd2=_0x36f281;super(),_0x3e0772(this,'_entities',new Map()),_0x3e0772(this,_0x443cd2(0x344),new _0x30c949['Subject']()),(this[_0x443cd2(0xf1)]=_0xd38ed6,this[_0x443cd2(0x129)]=_0x4ba227,this[_0x443cd2(0x276)]=_0x3d0dc2,this['_init']());}['dispose'](){const _0x541432=_0x36f281;super['dispose'](),this[_0x541432(0x11d)][_0x541432(0x2a0)](_0x23e797=>_0x23e797[_0x541432(0x1e6)]()),this[_0x541432(0x11d)][_0x541432(0x3dd)]();}[_0x36f281(0x47a)](_0x4e2eca){const _0x2b9f1a=_0x36f281;var _0x367457;return(_0x367457=this[_0x2b9f1a(0x11d)][_0x2b9f1a(0x14e)](_0x4e2eca))!=null?_0x367457:null;}[_0x36f281(0x1e3)](_0xee5c18){const _0x131455=_0x36f281,_0x83c5f4=this['getCollabEntity'](_0xee5c18);return _0x83c5f4?_0x30c949['of'](_0x83c5f4):this[_0x131455(0x344)][_0x131455(0x49c)](_0x218e56[_0x131455(0x218)](_0x26f982=>_0x26f982['unitID']===_0xee5c18));}[_0x36f281(0x3b6)](){const _0x4d529b=_0x36f281;this[_0x4d529b(0x276)]['getTypeOfUnitAdded$'](_0x593949['UniverInstanceType'][_0x4d529b(0x12e)])[_0x4d529b(0x49c)](_0x30c949['takeUntil'](this['dispose$']),_0x218e56[_0x4d529b(0x35e)](0x10))['subscribe'](async _0x30f206=>{const _0x2df253=_0x4d529b,_0x3f553d=_0x30f206['getUnitId'](),_0x1b790e=await this[_0x2df253(0x23b)](_0x3f553d,_0x4775b3[_0x2df253(0x12e)]);this[_0x2df253(0x11d)][_0x2df253(0x2bd)](_0x3f553d,_0x1b790e);}),this['_univerInstanceService'][_0x4d529b(0x19c)](_0x593949['UniverInstanceType'][_0x4d529b(0x4e1)])[_0x4d529b(0x49c)](_0x30c949[_0x4d529b(0x142)](this[_0x4d529b(0x4d4)]),_0x218e56['delay'](0x10))[_0x4d529b(0x49c)](_0x218e56['filter'](_0x479b01=>!_0x479b01[_0x4d529b(0x4c0)]()[_0x4d529b(0x1e7)]('__')))['subscribe'](async _0x1b9bb4=>{const _0x5834f5=_0x4d529b,_0x1f3cbf=_0x1b9bb4[_0x5834f5(0x4c0)](),_0x2c2ac=await this[_0x5834f5(0x23b)](_0x1f3cbf,_0x4775b3[_0x5834f5(0x4e1)]);this['_entities'][_0x5834f5(0x2bd)](_0x1f3cbf,_0x2c2ac);}),_0x30c949[_0x4d529b(0x27f)](this[_0x4d529b(0x276)][_0x4d529b(0x27a)](_0x593949['UniverInstanceType'][_0x4d529b(0x12e)]),this[_0x4d529b(0x276)][_0x4d529b(0x27a)](_0x593949[_0x4d529b(0xaf)]['UNIVER_DOC']))['pipe'](_0x30c949['takeUntil'](this[_0x4d529b(0x4d4)]))[_0x4d529b(0x188)](_0x2d09e3=>{const _0x54e5e6=_0x4d529b,_0x4c2b57=_0x2d09e3[_0x54e5e6(0x4c0)](),_0x4be5ff=this[_0x54e5e6(0x11d)][_0x54e5e6(0x14e)](_0x4c2b57);_0x4be5ff&&(_0x4be5ff[_0x54e5e6(0x1e6)](),this[_0x54e5e6(0x11d)]['delete'](_0x4c2b57));});}async['_startCollaboration'](_0x4dff58,_0x1aa679){const _0x3c2f13=_0x36f281,_0x46e037=await this['_collabSessionService'][_0x3c2f13(0x296)](_0x4dff58),_0x2f4764=this['_injector'][_0x3c2f13(0xb4)](this['_getCtorByUniverType'](_0x1aa679),_0x4dff58,_0x1aa679,_0x46e037);return await _0x2f4764[_0x3c2f13(0x2bb)](),this[_0x3c2f13(0x344)][_0x3c2f13(0x4e6)](_0x2f4764),_0x2f4764;}[_0x36f281(0x41b)](_0x3069f0){const _0x576d9d=_0x36f281;switch(_0x3069f0){case _0x4775b3['UNIVER_DOC']:return _0x4238fe['DocCollaborationEntity'];case _0x4775b3[_0x576d9d(0x12e)]:return _0x4238fe['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3069f0);}}},_0x4238fe['CollaborationController']=_0x2df128([_0x33b5f1(0x0,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x33b5f1(0x1,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0x370)])),_0x33b5f1(0x2,_0x593949[_0x36f281(0x1dc)])],_0x4238fe[_0x36f281(0x373)]);const _0xcf1d41=[_0x36f281(0x1e9),'jiqing500',_0x36f281(0x18a),'red300',_0x36f281(0x2eb),'gold400'];class _0x5d0f13 extends _0x593949['Disposable']{constructor(){const _0x5c9cf7=_0x36f281;super(...arguments),_0x3e0772(this,_0x5c9cf7(0x20b),new Map()),_0x3e0772(this,'_colorIndex',0x0);}[_0x36f281(0x111)](_0x40f67b){const _0x89e2c8=_0x36f281;if(this[_0x89e2c8(0x20b)][_0x89e2c8(0x1f2)](_0x40f67b))return this[_0x89e2c8(0x20b)][_0x89e2c8(0x14e)](_0x40f67b);const _0x247f39=_0xcf1d41[this['_colorIndex']];return this[_0x89e2c8(0x290)]=(this[_0x89e2c8(0x290)]+0x1)%_0xcf1d41[_0x89e2c8(0x43f)],this[_0x89e2c8(0x20b)][_0x89e2c8(0x2bd)](_0x40f67b,_0x247f39),_0x247f39;}}var _0x6a9dd6=Object[_0x36f281(0x49a)],_0x49738b=Object['getOwnPropertyDescriptor'],_0x281bab=(_0x2bb776,_0x4a970f,_0x103c51,_0x51b5d9)=>{const _0xd243a8=_0x36f281;for(var _0x48dbbb=_0x51b5d9>0x1?void 0x0:_0x51b5d9?_0x49738b(_0x4a970f,_0x103c51):_0x4a970f,_0x2cfff2=_0x2bb776[_0xd243a8(0x43f)]-0x1,_0x53d7a6;_0x2cfff2>=0x0;_0x2cfff2--)(_0x53d7a6=_0x2bb776[_0x2cfff2])&&(_0x48dbbb=(_0x51b5d9?_0x53d7a6(_0x4a970f,_0x103c51,_0x48dbbb):_0x53d7a6(_0x48dbbb))||_0x48dbbb);return _0x51b5d9&&_0x48dbbb&&_0x6a9dd6(_0x4a970f,_0x103c51,_0x48dbbb),_0x48dbbb;},_0x1bee55=(_0x3259a3,_0x518a3d)=>(_0x4f7c58,_0x222892)=>_0x518a3d(_0x4f7c58,_0x222892,_0x3259a3);const _0x16296b=0x12c,_0x345133=0x64;let _0x3353fc=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x5cfa84,_0x4b7016,_0x4a1d8b,_0x369efc,_0x6aa3a2,_0x51526f,_0x3cd3d1,_0x16530f,_0x5b4645){const _0x419366=_0x36f281;super(),_0x3e0772(this,'_online',!0x1),_0x3e0772(this,_0x419366(0x3b6),!0x1),_0x3e0772(this,'_cursorInfo$',new _0x30c949[(_0x419366(0x2f9))](new Map())),_0x3e0772(this,'cursorInfo$',this[_0x419366(0x3fb)][_0x419366(0x13a)]()),_0x3e0772(this,'_roomMembers$',new _0x30c949[(_0x419366(0x2f9))]([])),_0x3e0772(this,_0x419366(0x398),this[_0x419366(0x140)]['pipe'](_0x30c949[_0x419366(0x306)](_0x16296b))),_0x3e0772(this,'_updateLocalCursor',_0x593949[_0x419366(0x4e4)](_0xa54372=>{const _0x228a73=_0x419366,_0x4c7569={'eventID':_0x4968b4[_0x228a73(0xbc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x228a73(0x2ba)],'memberID':this['_session'][_0x228a73(0x391)](),'selection':_0x2cec55(_0xa54372)}};this[_0x228a73(0x33f)][_0x228a73(0x4ce)](_0x4c7569,this[_0x228a73(0x2ba)]);},_0x345133)),(this[_0x419366(0x2ba)]=_0x5cfa84,this['_session']=_0x4b7016,this[_0x419366(0xf1)]=_0x4a1d8b,this[_0x419366(0x41c)]=_0x369efc,this['_memberService']=_0x6aa3a2,this[_0x419366(0x3a3)]=_0x51526f,this[_0x419366(0x496)]=_0x3cd3d1,this[_0x419366(0x276)]=_0x16530f,this[_0x419366(0x265)]=_0x5b4645);}get[_0x36f281(0x4d6)](){const _0x59a7df=_0x36f281;return this['_cursorInfo$'][_0x59a7df(0x159)]();}get[_0x36f281(0x119)](){const _0x16b1a4=_0x36f281;return this[_0x16b1a4(0x140)][_0x16b1a4(0x159)]();}[_0x36f281(0x1e6)](){const _0x41685e=_0x36f281;super[_0x41685e(0x1e6)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x41685e(0x259)](),this[_0x41685e(0x140)][_0x41685e(0x4e6)]([]),this[_0x41685e(0x140)][_0x41685e(0x259)]();}[_0x36f281(0x2bb)](){const _0x58ccd1=_0x36f281;this[_0x58ccd1(0x3b6)]||(this['_init']=!0x0,this[_0x58ccd1(0x33f)][_0x58ccd1(0x45c)]['pipe'](_0x30c949['takeUntil'](this['dispose$']))[_0x58ccd1(0x188)](_0x4855cd=>{const _0x5bd986=_0x58ccd1;_0x4855cd===_0x108499['ONLINE']?this['_toggleOnline']():this[_0x5bd986(0x1a9)]();}),this[_0x58ccd1(0x33f)]['event$']['pipe'](_0x30c949[_0x58ccd1(0x142)](this[_0x58ccd1(0x4d4)]))[_0x58ccd1(0x188)](_0x3d7f00=>{const _0x5b34de=_0x58ccd1,_0x2c13de=_0x3d7f00[_0x5b34de(0x10a)];_0x2c13de===_0x4968b4[_0x5b34de(0xbc)][_0x5b34de(0x18d)]&&this[_0x5b34de(0x27d)](_0x3d7f00),_0x2c13de===_0x4968b4[_0x5b34de(0xbc)][_0x5b34de(0x3b2)]&&this[_0x5b34de(0x206)](_0x3d7f00);}),this['disposeWithMe'](this[_0x58ccd1(0x265)]['onCommandExecuted'](_0x4278b3=>{const _0x50cf98=_0x58ccd1,_0x5a595f=_0x4278b3[_0x50cf98(0x2c8)];_0x5a595f!=null&&this['_online']&&_0x4278b3['id']===_0x4aa7be[_0x50cf98(0x4ca)]['id']&&_0x5a595f[_0x50cf98(0x315)]===this[_0x50cf98(0x2ba)]&&_0x5a595f['isEditing']===!0x1&&this['_updateLocalCursor'](_0x5a595f[_0x50cf98(0x1f5)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x58ccd1(0x49c)](_0x30c949[_0x58ccd1(0x142)](this['dispose$']))[_0x58ccd1(0x188)](_0x2c9b73=>{const _0x1353a4=_0x58ccd1;if((_0x2c9b73==null?void 0x0:_0x2c9b73[_0x1353a4(0x2ba)])!==this['unitID'])return;const _0x385597={'eventID':_0x4968b4[_0x1353a4(0xbc)]['UPDATE_CURSOR'],'data':_0x2c9b73};this['_onCursorUpdate'](_0x385597);}),this['disposeWithMe'](this[_0x58ccd1(0x265)]['onCommandExecuted'](_0x38edc0=>{const _0x524ea2=_0x58ccd1;if(_0x38edc0['params']==null)return;const _0x5cf42f=_0x38edc0[_0x524ea2(0x2c8)];if(_0x38edc0['id']!==_0x4aa7be[_0x524ea2(0x36e)]['id']||_0x5cf42f[_0x524ea2(0x315)]!==this['unitID'])return;const _0x57f644={'id':_0x524ea2(0x19d),'params':_0x5cf42f},_0x45e658=this[_0x524ea2(0x4d6)];for(const [_0x6b4c0b,_0x5059f7]of _0x45e658){const _0x43a3f4={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x524ea2(0x2ba)],'actions':null,'textRanges':_0x5059f7[_0x524ea2(0x1f5)]}},_0x3e5ced=this['_transformService'][_0x524ea2(0x18c)](_0x57f644,_0x43a3f4,!0x1);if(_0x4968b4[_0x524ea2(0x1e1)](_0x3e5ced))throw _0x3e5ced[_0x524ea2(0x302)];_0x45e658[_0x524ea2(0x2bd)](_0x6b4c0b,{..._0x5059f7,'ranges':_0x3e5ced[_0x524ea2(0xb3)][_0x524ea2(0x2c8)][_0x524ea2(0x4cb)]});}queueMicrotask(()=>{const _0x3cb674=_0x524ea2;this['_cursorInfo$'][_0x3cb674(0x4e6)](_0x45e658);});})));}[_0x36f281(0x27d)](_0x5cb68c){const _0x18480b=_0x36f281;var _0x515c46,_0x5684f3;const {memberID:_0x4eeb96,selection:_0x455db9}=_0x5cb68c[_0x18480b(0x298)],_0x56b15b=_0x36aa49(_0x455db9),_0x41da3f=(_0x5684f3=(_0x515c46=this[_0x18480b(0x277)][_0x18480b(0x4a8)](this[_0x18480b(0x2ba)],_0x4eeb96))==null?void 0x0:_0x515c46[_0x18480b(0x4a2)])!=null?_0x5684f3:'Unknown\x20user',_0x20deaa={'color':this[_0x18480b(0x41c)][_0x18480b(0x111)](_0x4eeb96),'name':_0x41da3f,'ranges':_0x56b15b},_0x3b5066=this[_0x18480b(0x4d6)];_0x3b5066['set'](_0x4eeb96,_0x20deaa),this[_0x18480b(0x3fb)][_0x18480b(0x4e6)](_0x3b5066);}['_onCursorDelete'](_0x5f22fb){const _0x4e90d1=_0x36f281,{memberID:_0x201ce8}=_0x5f22fb['data'],_0x1c4a9f=this['cursorInfo'];_0x1c4a9f['delete'](_0x201ce8),this[_0x4e90d1(0x3fb)]['next'](_0x1c4a9f);}['_toggleOnline'](){const _0xaaa334=_0x36f281;var _0x3be34c;if(this[_0xaaa334(0x4ba)]=!0x0,((_0x3be34c=this['_univerInstanceService'][_0xaaa334(0x1f6)]())==null?void 0x0:_0x3be34c['getUnitId']())!==this[_0xaaa334(0x2ba)])return;const _0x1d7205=this['_injector']['get'](_0x4aa7be[_0xaaa334(0x46e)])[_0xaaa334(0x384)]();Array[_0xaaa334(0x10c)](_0x1d7205)&&_0x1d7205['length']>0x0&&this[_0xaaa334(0xe1)](_0x1d7205);}[_0x36f281(0x1a9)](){const _0x2d78e8=_0x36f281;this[_0x2d78e8(0x4ba)]=!0x1;}};_0x3353fc=_0x281bab([_0x1bee55(0x2,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x1bee55(0x3,_0x593949['Inject'](_0x5d0f13)),_0x1bee55(0x4,_0x593949['Inject'](_0x40c14d)),_0x1bee55(0x5,_0x593949[_0x36f281(0xb9)](_0x337544)),_0x1bee55(0x6,_0x4968b4[_0x36f281(0x415)]),_0x1bee55(0x7,_0x593949['IUniverInstanceService']),_0x1bee55(0x8,_0x593949['ICommandService'])],_0x3353fc);var _0x1d9f75=Object[_0x36f281(0x49a)],_0x4414bb=Object['getOwnPropertyDescriptor'],_0x39b844=(_0x46865c,_0x175fa8,_0x4d2871,_0x5b4a87)=>{const _0x4a9556=_0x36f281;for(var _0x431599=_0x5b4a87>0x1?void 0x0:_0x5b4a87?_0x4414bb(_0x175fa8,_0x4d2871):_0x175fa8,_0x3e54c8=_0x46865c[_0x4a9556(0x43f)]-0x1,_0x596120;_0x3e54c8>=0x0;_0x3e54c8--)(_0x596120=_0x46865c[_0x3e54c8])&&(_0x431599=(_0x5b4a87?_0x596120(_0x175fa8,_0x4d2871,_0x431599):_0x596120(_0x431599))||_0x431599);return _0x5b4a87&&_0x431599&&_0x1d9f75(_0x175fa8,_0x4d2871,_0x431599),_0x431599;},_0x48ea6d=(_0x45e313,_0x5a9de9)=>(_0x46d533,_0x477e6e)=>_0x5a9de9(_0x46d533,_0x477e6e,_0x45e313);const _0x3e52a8=0x12c,_0x322fbb=0x64,_0x3817ab=()=>{let _0x482cbf=[],_0xf9e2b0=!0x1;return _0x3828bb=>{const _0x444026=_0x4c16;_0x482cbf[_0x444026(0x43c)](_0x3828bb),_0xf9e2b0||(_0xf9e2b0=!0x0,setTimeout(()=>{_0x482cbf['forEach'](_0x3e9b83=>_0x3e9b83()),_0x482cbf=[],_0xf9e2b0=!0x1;}));};};let _0x58677e=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x71d2a3,_0x264990,_0x18276c,_0x5e9132,_0x3b41ff,_0x3a2be2,_0x4afb54,_0x587c6e){const _0x71230c=_0x36f281;super(),_0x3e0772(this,_0x71230c(0x4ba),!0x1),_0x3e0772(this,_0x71230c(0x3b6),!0x1),_0x3e0772(this,'_cursorInfo$',new _0x30c949[(_0x71230c(0x2f9))](new Map())),_0x3e0772(this,_0x71230c(0x47c),this[_0x71230c(0x3fb)][_0x71230c(0x13a)]()),_0x3e0772(this,_0x71230c(0x140),new _0x30c949[(_0x71230c(0x2f9))]([])),_0x3e0772(this,_0x71230c(0x398),this['_roomMembers$'][_0x71230c(0x49c)](_0x30c949[_0x71230c(0x306)](_0x3e52a8))),_0x3e0772(this,_0x71230c(0xe1),_0x593949[_0x71230c(0x4e4)]((_0x4c2661,_0x2eb24e)=>{const _0x1514bf=_0x71230c,_0x5902bc={'eventID':_0x4968b4[_0x1514bf(0xbc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1514bf(0x2ba)],'memberID':this[_0x1514bf(0x33f)][_0x1514bf(0x391)](),'selection':_0x399ee2[_0x1514bf(0x249)](_0x4c2661,_0x2eb24e['range'])}};this[_0x1514bf(0x33f)][_0x1514bf(0x4ce)](_0x5902bc,this[_0x1514bf(0x2ba)]);},_0x322fbb)),(this[_0x71230c(0x2ba)]=_0x71d2a3,this[_0x71230c(0x33f)]=_0x264990,this[_0x71230c(0xf1)]=_0x18276c,this['_colorAssignService']=_0x5e9132,this[_0x71230c(0x277)]=_0x3b41ff,this['_univerInstanceService']=_0x3a2be2,this[_0x71230c(0x265)]=_0x4afb54,this[_0x71230c(0x184)]=_0x587c6e);}get[_0x36f281(0x4d6)](){const _0x18c9aa=_0x36f281;return this[_0x18c9aa(0x3fb)][_0x18c9aa(0x159)]();}get[_0x36f281(0x119)](){const _0x4aed0b=_0x36f281;return this[_0x4aed0b(0x140)][_0x4aed0b(0x159)]();}[_0x36f281(0x1e6)](){const _0x172cae=_0x36f281;super['dispose'](),this[_0x172cae(0x3fb)][_0x172cae(0x4e6)](new Map()),this['_cursorInfo$'][_0x172cae(0x259)](),this[_0x172cae(0x140)][_0x172cae(0x4e6)]([]),this[_0x172cae(0x140)][_0x172cae(0x259)]();}['init'](){const _0x1b5e34=_0x36f281;this[_0x1b5e34(0x3b6)]||(this['_init']=!0x0,this[_0x1b5e34(0x33f)][_0x1b5e34(0x45c)][_0x1b5e34(0x49c)](_0x30c949[_0x1b5e34(0x142)](this[_0x1b5e34(0x4d4)]))['subscribe'](_0x2dad08=>{const _0x199066=_0x1b5e34;_0x2dad08===_0x108499['ONLINE']?this['_toggleOnline']():this[_0x199066(0x1a9)]();}),this[_0x1b5e34(0x33f)][_0x1b5e34(0x44d)][_0x1b5e34(0x49c)](_0x30c949['takeUntil'](this['dispose$']))[_0x1b5e34(0x188)](_0x52b9e4=>{const _0x1a0b74=_0x1b5e34,_0x37c1d7=_0x52b9e4['eventID'];_0x37c1d7===_0x4968b4[_0x1a0b74(0xbc)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x52b9e4),_0x37c1d7===_0x4968b4[_0x1a0b74(0xbc)]['USERS_LEAVE']&&this[_0x1a0b74(0x206)](_0x52b9e4);}),this[_0x1b5e34(0x325)](),this['disposeWithMe'](this[_0x1b5e34(0x265)][_0x1b5e34(0x33c)](_0x2df047=>{const _0x338d1c=_0x1b5e34;if(this[_0x338d1c(0x4ba)]&&_0x2df047['id']===_0xec6805[_0x338d1c(0x195)]['id']&&_0x2df047[_0x338d1c(0x2c8)][_0x338d1c(0x315)]===this[_0x338d1c(0x2ba)]){const _0x5b7d7d=_0x2df047[_0x338d1c(0x2c8)];this[_0x338d1c(0xe1)](_0x5b7d7d[_0x338d1c(0x4c9)],_0x5b7d7d[_0x338d1c(0x10f)][0x0]);}})));}[_0x36f281(0x27d)](_0x17b102){const _0x314e7f=_0x36f281;var _0x32d874,_0x581a9b;const {memberID:_0x56b398,selection:_0x8cbfb5}=_0x17b102[_0x314e7f(0x298)],{sheetName:_0x5d31e8,range:_0xd4f0d2}=_0x399ee2['deserializeRangeWithSheet'](_0x8cbfb5),_0x3215ef={'name':(_0x581a9b=(_0x32d874=this[_0x314e7f(0x277)][_0x314e7f(0x4a8)](this[_0x314e7f(0x2ba)],_0x56b398))==null?void 0x0:_0x32d874['name'])!=null?_0x581a9b:_0x314e7f(0x30f),'range':this[_0x314e7f(0x2b3)](_0x5d31e8,_0xd4f0d2),'sheetID':_0x5d31e8,'color':this[_0x314e7f(0x41c)]['assignAColorForMemberID'](_0x56b398),'selection':_0x8cbfb5},_0x3254aa=this[_0x314e7f(0x4d6)];_0x3254aa[_0x314e7f(0x2bd)](_0x56b398,_0x3215ef),this['_cursorInfo$']['next'](_0x3254aa);}['_onCursorDelete'](_0x3c5c86){const _0x5a9576=_0x36f281,{memberID:_0x403250}=_0x3c5c86[_0x5a9576(0x298)],_0x460741=this[_0x5a9576(0x4d6)];_0x460741['delete'](_0x403250),this[_0x5a9576(0x3fb)][_0x5a9576(0x4e6)](_0x460741);}[_0x36f281(0x2b3)](_0x579039,_0x3b2040){const _0xbeba5e=_0x36f281;var _0xbf3825,_0x23f561;const _0x4683d0=(_0x23f561=(_0xbf3825=this['_univerInstanceService'][_0xbeba5e(0x19a)](this[_0xbeba5e(0x2ba)]))==null?void 0x0:_0xbf3825[_0xbeba5e(0x16c)](_0x579039))==null?void 0x0:_0x23f561['getMergeData']();return(_0x4683d0==null?void 0x0:_0x4683d0[_0xbeba5e(0x1fd)](_0x3376b8=>_0x593949['Rectangle'][_0xbeba5e(0x2b6)](_0x3376b8,_0x3b2040)))||_0x3b2040;}[_0x36f281(0x325)](){const _0x114e1e=_0x36f281,_0x1e635c=new _0x593949[(_0x114e1e(0x182))](),_0xb518f0=_0x3817ab(),_0x1525a3=()=>{const _0x175f3b=_0x114e1e;_0x1e635c['dispose']();const _0x443a95=(_0xb95c8b,_0x553428,_0x4c8270,_0x52093a)=>{const _0x1e2140=_0x4c16;let _0x260351=[];switch(_0xb95c8b['id']){case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x406)]:{_0x260351=_0xec6805[_0x1e2140(0x2dc)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x1ac)]:{_0x260351=_0xec6805[_0x1e2140(0x16e)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x445)]:{_0x260351=_0xec6805[_0x1e2140(0x341)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x4a0)]:{_0x260351=_0xec6805[_0x1e2140(0x2d4)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x12b)]:{_0x260351=_0xec6805[_0x1e2140(0x331)](_0xb95c8b,_0x52093a);break;}case _0xec6805['EffectRefRangId']['InsertRowCommandId']:{_0x260351=_0xec6805[_0x1e2140(0x40a)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)]['MoveRangeCommandId']:{_0x260351=_0xec6805['handleMoveRange'](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x33d)]:{_0x260351=_0xec6805[_0x1e2140(0x38c)](_0xb95c8b,_0x52093a);break;}case _0xec6805[_0x1e2140(0x180)][_0x1e2140(0x1a0)]:{_0x260351=_0xec6805[_0x1e2140(0x1b1)](_0xb95c8b,_0x52093a);break;}}const _0x474b21=_0xec6805['runRefRangeMutations'](_0x260351,_0x52093a),_0x11909d=this['cursorInfo'][_0x1e2140(0x14e)](_0x553428);if(_0x11909d&&_0x474b21){const _0x24ca6c={..._0x11909d,'range':_0x474b21};this[_0x1e2140(0x4d6)][_0x1e2140(0x2bd)](_0x553428,_0x24ca6c),_0xb518f0(()=>{const _0x646c1a=_0x1e2140,_0x3f921c=this[_0x646c1a(0x184)]['registerRefRange'](_0x474b21,_0x520105=>(_0x3f921c[_0x646c1a(0x1e6)](),_0x443a95(_0x520105,_0x553428,_0x4c8270,_0x474b21)));_0x1e635c[_0x646c1a(0xf6)](_0x3f921c);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x175f3b(0x2a0)]((_0x5f2a14,_0x5af517)=>{const _0x1d1983=_0x175f3b,{range:_0x3bbfd0,sheetID:_0x18ca9a}=_0x5f2a14,_0x14dfad=this[_0x1d1983(0x184)][_0x1d1983(0x387)](_0x3bbfd0,_0x19ca34=>(_0x14dfad[_0x1d1983(0x1e6)](),_0x443a95(_0x19ca34,_0x5af517,_0x18ca9a,_0x3bbfd0)));_0x1e635c[_0x1d1983(0xf6)](_0x14dfad);});};this['disposeWithMe'](_0x593949['toDisposable'](this[_0x114e1e(0x3fb)]['subscribe'](()=>{_0x1525a3();})));}[_0x36f281(0x1fc)](){const _0x14b443=_0x36f281;var _0x1dd0f5,_0x127574;if(this[_0x14b443(0x4ba)]=!0x0,((_0x1dd0f5=this[_0x14b443(0x276)]['getFocusedUnit']())==null?void 0x0:_0x1dd0f5[_0x14b443(0x4c0)]())!==this[_0x14b443(0x2ba)])return;const _0x367863=(_0x127574=this[_0x14b443(0xf1)][_0x14b443(0x14e)](_0xec6805[_0x14b443(0x295)])['getCurrentSelections']())==null?void 0x0:_0x127574[0x0],_0x10be53=this[_0x14b443(0x276)][_0x14b443(0x17e)](_0x593949[_0x14b443(0xaf)]['UNIVER_SHEET'])[_0x14b443(0x49b)]();_0x367863&&_0x10be53&&this[_0x14b443(0xe1)](_0x10be53[_0x14b443(0x353)](),_0x367863);}[_0x36f281(0x1a9)](){this['_online']=!0x1;}};_0x58677e=_0x39b844([_0x48ea6d(0x2,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x48ea6d(0x3,_0x593949['Inject'](_0x5d0f13)),_0x48ea6d(0x4,_0x593949['Inject'](_0x40c14d)),_0x48ea6d(0x5,_0x593949[_0x36f281(0x1dc)]),_0x48ea6d(0x6,_0x593949['ICommandService']),_0x48ea6d(0x7,_0x593949[_0x36f281(0xb9)](_0xec6805['RefRangeService']))],_0x58677e);var _0x483cdd=Object[_0x36f281(0x49a)],_0x516b07=Object[_0x36f281(0x381)],_0x219bc0=(_0x28978c,_0x51b5b6,_0x6e3059,_0x34a477)=>{const _0x23f572=_0x36f281;for(var _0x511b19=_0x34a477>0x1?void 0x0:_0x34a477?_0x516b07(_0x51b5b6,_0x6e3059):_0x51b5b6,_0x4ed6b9=_0x28978c[_0x23f572(0x43f)]-0x1,_0x4f743a;_0x4ed6b9>=0x0;_0x4ed6b9--)(_0x4f743a=_0x28978c[_0x4ed6b9])&&(_0x511b19=(_0x34a477?_0x4f743a(_0x51b5b6,_0x6e3059,_0x511b19):_0x4f743a(_0x511b19))||_0x511b19);return _0x34a477&&_0x511b19&&_0x483cdd(_0x51b5b6,_0x6e3059,_0x511b19),_0x511b19;},_0x247f3a=(_0x1c7a21,_0x4a6a0b)=>(_0x1cf001,_0x425725)=>_0x4a6a0b(_0x1cf001,_0x425725,_0x1c7a21);let _0x455914=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x458715,_0x37d396,_0x333756){const _0xc02a3=_0x36f281;super(),_0x3e0772(this,_0xc02a3(0x11d),new Map()),_0x3e0772(this,_0xc02a3(0x344),new _0x30c949[(_0xc02a3(0x20c))]()),(this[_0xc02a3(0x276)]=_0x458715,this['_injector']=_0x37d396,this['_collabSessionService']=_0x333756,this[_0xc02a3(0x3b6)]());}[_0x36f281(0x1e6)](){const _0x303e6a=_0x36f281;super[_0x303e6a(0x1e6)](),this[_0x303e6a(0x344)][_0x303e6a(0x259)](),this[_0x303e6a(0x11d)][_0x303e6a(0x2a0)](_0x12fbd3=>_0x12fbd3['dispose']());}['getCollabCursors$'](_0x1f4aa1){const _0x1504a1=_0x36f281;return this[_0x1504a1(0x11d)]['has'](_0x1f4aa1)?this[_0x1504a1(0x11d)]['get'](_0x1f4aa1)[_0x1504a1(0x47c)]:this['_entityInit$'][_0x1504a1(0x49c)](_0x30c949[_0x1504a1(0x218)](_0x37ba47=>_0x37ba47['unitID']===_0x1f4aa1),_0x30c949['switchMap'](_0x4c61bd=>_0x4c61bd[_0x1504a1(0x47c)]));}[_0x36f281(0x3b6)](){const _0x5518cd=_0x36f281;this[_0x5518cd(0x276)][_0x5518cd(0x19c)](_0x593949['UniverInstanceType'][_0x5518cd(0x12e)])[_0x5518cd(0x49c)](_0x30c949['takeUntil'](this[_0x5518cd(0x4d4)]))[_0x5518cd(0x188)](async _0x3dbe2d=>{const _0x4dfcbd=_0x5518cd,_0x140e2b=_0x3dbe2d['getUnitId'](),_0x17259b=await this[_0x4dfcbd(0x3bc)](_0x140e2b);this['_entityInit$'][_0x4dfcbd(0x4e6)](_0x17259b),this[_0x4dfcbd(0x11d)][_0x4dfcbd(0x2bd)](_0x140e2b,_0x17259b);}),this[_0x5518cd(0x276)][_0x5518cd(0x19c)](_0x593949[_0x5518cd(0xaf)][_0x5518cd(0x4e1)])[_0x5518cd(0x49c)](_0x30c949['takeUntil'](this[_0x5518cd(0x4d4)]))['pipe'](_0x30c949['filter'](_0x24065c=>!_0x24065c['getUnitId']()[_0x5518cd(0x1e7)]('__')))['subscribe'](async _0x2dc820=>{const _0x2f99de=_0x5518cd,_0x240c80=_0x2dc820[_0x2f99de(0x4c0)](),_0x4826b2=await this[_0x2f99de(0x2c1)](_0x240c80);this[_0x2f99de(0x344)][_0x2f99de(0x4e6)](_0x4826b2),this[_0x2f99de(0x11d)][_0x2f99de(0x2bd)](_0x240c80,_0x4826b2);}),_0x30c949[_0x5518cd(0x27f)](this[_0x5518cd(0x276)][_0x5518cd(0x27a)](_0x593949[_0x5518cd(0xaf)]['UNIVER_DOC']),this[_0x5518cd(0x276)][_0x5518cd(0x27a)](_0x593949[_0x5518cd(0xaf)]['UNIVER_SHEET']))[_0x5518cd(0x49c)](_0x30c949[_0x5518cd(0x142)](this['dispose$']))[_0x5518cd(0x188)](_0x452be7=>{const _0x45549c=_0x5518cd,_0x831745=_0x452be7[_0x45549c(0x4c0)](),_0x3d350c=this[_0x45549c(0x11d)][_0x45549c(0x14e)](_0x831745);_0x3d350c&&(_0x3d350c['dispose'](),this[_0x45549c(0x11d)][_0x45549c(0x393)](_0x831745));});}async[_0x36f281(0x3bc)](_0x3bf126){const _0x11a51c=_0x36f281,_0x5d17c3=await this[_0x11a51c(0x129)][_0x11a51c(0x296)](_0x3bf126),_0x1ae8e5=this[_0x11a51c(0xf1)][_0x11a51c(0xb4)](_0x58677e,_0x3bf126,_0x5d17c3);return _0x1ae8e5[_0x11a51c(0x2bb)](),_0x1ae8e5;}async[_0x36f281(0x2c1)](_0x19e878){const _0x4925a4=_0x36f281,_0x44e459=await this[_0x4925a4(0x129)][_0x4925a4(0x296)](_0x19e878),_0x8c3331=this[_0x4925a4(0xf1)][_0x4925a4(0xb4)](_0x3353fc,_0x19e878,_0x44e459);return _0x8c3331['init'](),_0x8c3331;}};_0x455914=_0x219bc0([_0x247f3a(0x0,_0x593949['IUniverInstanceService']),_0x247f3a(0x1,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x247f3a(0x2,_0x593949['Inject'](_0x4238fe[_0x36f281(0x370)]))],_0x455914);const _0x60143b=0x14,_0x339035=0xc8,_0x130ec4=0x4,_0x3a331a=0x5;function _0x57a00a(_0x5b2740,_0x345029){const _0x150a37=_0x36f281;let {radius:_0xe713c4,width:_0x4942f4,height:_0x212996}=_0x345029;_0xe713c4=_0xe713c4!=null?_0xe713c4:0x0,_0x4942f4=_0x4942f4!=null?_0x4942f4:0x1e,_0x212996=_0x212996!=null?_0x212996:0x1e;let _0x19fb50=0x0,_0xb67f4c=0x0,_0x20eff2=0x0;_0x19fb50=_0xb67f4c=_0x20eff2=Math[_0x150a37(0xed)](_0xe713c4,_0x4942f4/0x2,_0x212996/0x2),_0x5b2740[_0x150a37(0x432)](),_0x5b2740['moveTo'](_0x19fb50,0x0),_0x5b2740['lineTo'](_0x4942f4-_0xb67f4c,0x0),_0x5b2740[_0x150a37(0x416)](_0x4942f4-_0xb67f4c,_0xb67f4c,_0xb67f4c,Math['PI']*0x3/0x2,0x0,!0x1),_0x5b2740[_0x150a37(0x2c7)](_0x4942f4,_0x212996-_0x20eff2),_0x5b2740[_0x150a37(0x416)](_0x4942f4-_0x20eff2,_0x212996-_0x20eff2,_0x20eff2,0x0,Math['PI']/0x2,!0x1),_0x5b2740['lineTo'](0x0,_0x212996),_0x5b2740['lineTo'](0x0,_0x19fb50),_0x5b2740[_0x150a37(0x416)](_0x19fb50,_0x19fb50,_0x19fb50,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5b2740[_0x150a37(0x36c)](),_0x345029[_0x150a37(0xda)]&&(_0x5b2740[_0x150a37(0x497)](),_0x5b2740[_0x150a37(0x2c0)]=_0x345029[_0x150a37(0xda)],_0x345029[_0x150a37(0x105)]==='evenodd'?_0x5b2740[_0x150a37(0xda)](_0x150a37(0x48f)):_0x5b2740[_0x150a37(0xda)](),_0x5b2740[_0x150a37(0x212)]());}class _0xc05a02 extends _0xa07e34[_0x36f281(0x378)]{constructor(_0x331bfa,_0x2875a2){const _0x269962=_0x36f281;super(_0x331bfa,_0x2875a2),_0x3e0772(this,_0x269962(0x2a6)),_0x3e0772(this,_0x269962(0x18b)),(this[_0x269962(0x2a6)]=_0x2875a2==null?void 0x0:_0x2875a2[_0x269962(0x2a6)],this['text']=_0x2875a2==null?void 0x0:_0x2875a2[_0x269962(0x18b)]);}static[_0x36f281(0x2db)](_0x46d1d2,_0x2c1b62){const _0x568ea2=_0x36f281,{text:_0x3ef2c,color:_0x57d863}=_0x2c1b62;_0x46d1d2[_0x568ea2(0x497)](),_0x46d1d2[_0x568ea2(0x4ab)]=_0x568ea2(0x147);const _0x1b2a6c=_0x46d1d2[_0x568ea2(0x244)](_0x3ef2c)[_0x568ea2(0x19f)],_0x45d9c1=Math[_0x568ea2(0xed)](_0x1b2a6c+0x2*_0x130ec4,_0x339035);_0x57a00a(_0x46d1d2,{'height':_0x60143b,'radius':0x4,'width':_0x45d9c1,'fill':_0x57d863,'evented':!0x1}),_0x46d1d2[_0x568ea2(0x2c0)]=_0x568ea2(0x288);const _0x17af1e=_0x130ec4,_0x5bb34a=_0x60143b-_0x3a331a,_0x1199b3=_0x339035-0x2*_0x130ec4;if(_0x1b2a6c>_0x1199b3){let _0x26d1f5='',_0x2299f5=0x0;for(const _0x1ddfe8 of _0x3ef2c){const _0x43027b=_0x46d1d2[_0x568ea2(0x244)](_0x1ddfe8)[_0x568ea2(0x19f)];if(_0x2299f5+_0x43027b<=_0x1199b3-_0x46d1d2['measureText'](_0x568ea2(0x429))[_0x568ea2(0x19f)])_0x26d1f5+=_0x1ddfe8,_0x2299f5+=_0x43027b;else{_0x26d1f5+=_0x568ea2(0x429);break;}}_0x46d1d2['fillText'](_0x26d1f5,_0x17af1e,_0x5bb34a);}else _0x46d1d2[_0x568ea2(0x2fe)](_0x3ef2c,_0x17af1e,_0x5bb34a);_0x46d1d2[_0x568ea2(0x212)]();}[_0x36f281(0x264)](_0x3f8fdb){_0xc05a02['drawWith'](_0x3f8fdb,this);}}const _0x3fd1e2='collab-text-anchor-',_0xfcf932=_0x36f281(0x110),_0x5b6e09=_0x36f281(0x3c1),_0xd11e0e=0x6,_0x28f04e=1.5,_0x1aa8bf=0x4,_0x50e2ac=1.5,_0x28dfe7=_0x36f281(0x3bf);class _0x4747cd{constructor(_0x2a73e9,_0x25fffb,_0x372bdd,_0x4b7a9c){const _0x159d29=_0x36f281;_0x3e0772(this,_0x159d29(0x252),[]),_0x3e0772(this,_0x159d29(0xc4),null),_0x3e0772(this,_0x159d29(0x4e3),null),_0x3e0772(this,_0x159d29(0x47e),null),_0x3e0772(this,'_hideTimer',null),_0x3e0772(this,_0x159d29(0x293),null),(this[_0x159d29(0x329)]=_0x2a73e9,this[_0x159d29(0x39d)]=_0x25fffb,this[_0x159d29(0x3fc)]=_0x372bdd,this[_0x159d29(0x490)]=_0x4b7a9c,this['_render']());}set[_0x36f281(0x3c2)](_0x3e6152){const _0x26d97f=_0x36f281;_0x3e6152?(this[_0x26d97f(0x47e)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x26d97f(0x4e3)][_0x26d97f(0x348)]()):(this[_0x26d97f(0x47e)]&&this[_0x26d97f(0x47e)][_0x26d97f(0x348)](),this[_0x26d97f(0x4e3)]&&this[_0x26d97f(0x4e3)][_0x26d97f(0x48b)]());}[_0x36f281(0x1e6)](){const _0x111ef8=_0x36f281;for(const _0x3c9b31 of this['_shapes'])_0x3c9b31[_0x111ef8(0x1e6)]();this[_0x111ef8(0x4e3)]&&this[_0x111ef8(0x4e3)]['dispose'](),this[_0x111ef8(0x47e)]&&this['_anchorDot'][_0x111ef8(0x1e6)](),this[_0x111ef8(0xc4)]&&this['_anchor']['dispose'](),this[_0x111ef8(0x293)]&&this['_eventUnsubscribe']();}['_render'](){const _0x46971e=_0x36f281;var _0x1845a8;const {_docSkeleton:_0x272d25,_document:_0x4593ad}=this,{color:_0x25edc4,name:_0x13d85c,ranges:_0x1c20d2}=this[_0x46971e(0x329)],_0x4c01b4=_0x4593ad[_0x46971e(0x2c9)](),{docsLeft:_0x2649a0,docsTop:_0x2e45e3}=_0x4c01b4,_0x2d1aa7=new _0x5c6469[(_0x46971e(0x242))](_0x4c01b4,_0x272d25);for(const {startOffset:_0x302bd3,endOffset:_0x2e2a3b,collapsed:_0x23fa1c,isActive:_0x1c3f9c}of _0x1c20d2){const _0x149e5e=_0x272d25[_0x46971e(0x2cb)](_0x302bd3),_0x21ebf8=_0x272d25[_0x46971e(0x2cb)](_0x2e2a3b);if(_0x1c3f9c){const {contentBoxPointGroup:_0x5e5baa}=_0x2d1aa7[_0x46971e(0x21b)](_0x21ebf8,_0x21ebf8);if(_0x5e5baa[_0x46971e(0x43f)]===0x0)continue;this[_0x46971e(0x156)](_0x25edc4,_0x5e5baa,_0x2649a0,_0x2e45e3,_0x13d85c),this[_0x46971e(0x293)]=this[_0x46971e(0x2ed)]();}if(!_0x23fa1c&&_0x149e5e&&_0x21ebf8){if(_0x5c6469[_0x46971e(0x11b)](_0x149e5e,_0x21ebf8)){const _0xd9de8c=new _0x5c6469['NodePositionConvertToRectRange'](_0x4c01b4,_0x272d25),{pointGroup:_0x3c891f}=(_0x1845a8=_0xd9de8c['getRangePointData'](_0x149e5e,_0x21ebf8))!=null?_0x1845a8:{};if(_0x3c891f==null||_0x3c891f[_0x46971e(0x43f)]===0x0)continue;this[_0x46971e(0xf5)](_0x25edc4,_0x3c891f,_0x2649a0,_0x2e45e3);}else{const {contentBoxPointGroup:_0x3d219c}=_0x2d1aa7[_0x46971e(0x21b)](_0x149e5e,_0x21ebf8);if(_0x3d219c[_0x46971e(0x43f)]===0x0)continue;this[_0x46971e(0x3e5)](_0x25edc4,_0x3d219c,_0x2649a0,_0x2e45e3);}}}}[_0x36f281(0x156)](_0x2edf17,_0x43ef65,_0x4ab47b,_0x1fb6a9,_0x17d738){const _0x506741=_0x36f281,_0x1c5d4f=this[_0x506741(0x1d0)](_0x43ef65),{left:_0x2609cd,top:_0x35842e,height:_0x2aae52}=_0x1c5d4f,_0xa93bb9=this[_0x506741(0x3ae)](),_0x219d99=_0x50e2ac/_0xa93bb9,_0x39ef26=new _0xa07e34['Rect'](_0x3fd1e2+_0x593949['Tools'][_0x506741(0x433)](_0xd11e0e),{'left':_0x2609cd+_0x4ab47b-_0x219d99,'top':_0x35842e+_0x1fb6a9,'height':_0x2aae52,'width':_0x28f04e,'fill':_0x2edf17||_0xa07e34[_0x506741(0x386)](_0x593949['COLORS']['black'],0x0),'strokeWidth':_0x219d99,'stroke':_0x28dfe7,'evented':!0x0});this['_anchor']=_0x39ef26,this[_0x506741(0x39d)][_0x506741(0x38e)](_0x39ef26,_0x5c6469['TEXT_RANGE_LAYER_INDEX']);const _0x47b763=new _0xa07e34[(_0x506741(0x247))](_0x3fd1e2+_0x593949['Tools'][_0x506741(0x433)](_0xd11e0e),{'left':_0x2609cd+_0x4ab47b-_0x219d99,'top':_0x35842e+_0x1fb6a9-_0x1aa8bf/0x2,'height':_0x1aa8bf,'width':_0x1aa8bf,'fill':_0x2edf17||_0xa07e34[_0x506741(0x386)](_0x593949[_0x506741(0x3ba)][_0x506741(0x29f)],0x0),'strokeWidth':0x0,'stroke':_0x2edf17||_0xa07e34[_0x506741(0x386)](_0x593949[_0x506741(0x3ba)][_0x506741(0x29f)],0x0),'evented':!0x1});this['_anchorDot']=_0x47b763,this['_scene']['addObject'](_0x47b763,_0x5c6469['TEXT_RANGE_LAYER_INDEX']);const _0x4568e1=new _0xc05a02(_0x3fd1e2+_0x593949[_0x506741(0x205)]['generateRandomId'](_0xd11e0e),{'left':_0x2609cd+_0x4ab47b-_0x219d99,'top':_0x35842e+_0x1fb6a9-_0x60143b,'text':_0x17d738,'color':_0x2edf17});this[_0x506741(0x4e3)]=_0x4568e1,this[_0x506741(0x39d)][_0x506741(0x38e)](_0x4568e1,_0x5c6469[_0x506741(0x189)]),this[_0x506741(0x3c2)]=!0x1;}[_0x36f281(0x2ed)](){const _0x4ad1d3=_0x36f281,_0x5be4d6=this['_anchor'][_0x4ad1d3(0x2f1)][_0x4ad1d3(0x174)](()=>{const _0x533ce5=_0x4ad1d3;this[_0x533ce5(0x3c2)]=!0x0;}),_0x57961f=this[_0x4ad1d3(0xc4)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x10b3c=_0x4ad1d3;this['_hideTimer']&&clearTimeout(this[_0x10b3c(0x15b)]),this[_0x10b3c(0x15b)]=setTimeout(()=>{const _0x48da71=_0x10b3c;this[_0x48da71(0x3c2)]=!0x1;},0x7d0);});return()=>{const _0x1f3cb8=_0x4ad1d3;_0x5be4d6[_0x1f3cb8(0x19b)](),_0x57961f[_0x1f3cb8(0x19b)]();};}[_0x36f281(0x3e5)](_0x4098e0,_0x201e5c,_0x1381b3,_0x116dc5){const _0xbe1059=_0x36f281,_0x170f24=new _0x593949[(_0xbe1059(0x175))](_0x4098e0)[_0xbe1059(0x248)](0.2)[_0xbe1059(0x2ee)](),_0x313d7e=new _0xa07e34[(_0xbe1059(0xcc))](_0xfcf932+_0x593949[_0xbe1059(0x205)][_0xbe1059(0x433)](_0xd11e0e),{'pointsGroup':_0x201e5c,'fill':_0x170f24||_0xa07e34['getColor'](_0x593949[_0xbe1059(0x3ba)][_0xbe1059(0x29f)],0.2),'left':_0x1381b3,'top':_0x116dc5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbe1059(0x252)][_0xbe1059(0x43c)](_0x313d7e),this[_0xbe1059(0x39d)][_0xbe1059(0x38e)](_0x313d7e,_0x5c6469[_0xbe1059(0x189)]);}['_drawRectRange'](_0x246807,_0x30a282,_0x49b1c0,_0x1f2a42){const _0x11beb3=_0x36f281,_0x25f96c=new _0x593949[(_0x11beb3(0x175))](_0x246807)[_0x11beb3(0x248)](0.2)[_0x11beb3(0x2ee)](),_0x510691=new _0xa07e34['RegularPolygon'](_0x5b6e09+_0x593949['Tools']['generateRandomId'](_0xd11e0e),{'pointsGroup':_0x30a282,'fill':_0x25f96c||_0xa07e34[_0x11beb3(0x386)](_0x593949[_0x11beb3(0x3ba)]['black'],0.2),'left':_0x49b1c0,'top':_0x1f2a42,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x11beb3(0x252)][_0x11beb3(0x43c)](_0x510691),this[_0x11beb3(0x39d)]['addObject'](_0x510691,_0x5c6469[_0x11beb3(0x189)]);}[_0x36f281(0x1d0)](_0x16f037){const _0xe987fe=_0x16f037[0x0],_0x23513f=_0xe987fe[0x0],_0x3f42e0=_0xe987fe[0x2],{x:_0xd80600,y:_0x474ac9}=_0x23513f,{x:_0x446be2,y:_0x2c0ea7}=_0x3f42e0;return{'left':_0xd80600,'top':_0x474ac9,'width':_0x446be2-_0xd80600,'height':_0x2c0ea7-_0x474ac9};}[_0x36f281(0x3ae)](){const _0x34d14e=_0x36f281,{scaleX:_0x128683,scaleY:_0x33d338}=this['_scene'][_0x34d14e(0x405)]();return Math[_0x34d14e(0x34b)](_0x128683,_0x33d338);}}var _0x1cba8d=Object[_0x36f281(0x49a)],_0x1cf060=Object[_0x36f281(0x381)],_0x362d85=(_0x1a0621,_0x2069f7,_0x51efaa,_0x29ef5f)=>{const _0x20a999=_0x36f281;for(var _0x2028f8=_0x29ef5f>0x1?void 0x0:_0x29ef5f?_0x1cf060(_0x2069f7,_0x51efaa):_0x2069f7,_0x53cb0b=_0x1a0621[_0x20a999(0x43f)]-0x1,_0x2cc151;_0x53cb0b>=0x0;_0x53cb0b--)(_0x2cc151=_0x1a0621[_0x53cb0b])&&(_0x2028f8=(_0x29ef5f?_0x2cc151(_0x2069f7,_0x51efaa,_0x2028f8):_0x2cc151(_0x2028f8))||_0x2028f8);return _0x29ef5f&&_0x2028f8&&_0x1cba8d(_0x2069f7,_0x51efaa,_0x2028f8),_0x2028f8;},_0x2479a2=(_0x3f81c2,_0x53a390)=>(_0x32a65a,_0x1afcae)=>_0x53a390(_0x32a65a,_0x1afcae,_0x3f81c2);let _0x12fd25=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x1cc65b,_0x252c4a,_0x157eb4,_0x56c148,_0x1762f9){const _0x318720=_0x36f281;super(),_0x3e0772(this,'_cursorShapes',[]),_0x3e0772(this,_0x318720(0x144),[]),(this['_context']=_0x1cc65b,this[_0x318720(0x375)]=_0x252c4a,this[_0x318720(0x2f6)]=_0x157eb4,this['_commandService']=_0x56c148,this[_0x318720(0x42b)]=_0x1762f9,this['_init']());}['_init'](){const _0x493c28=_0x36f281,_0x4a4b34=this[_0x493c28(0x3f4)]['unitId'],_0x2fcad3=this['_docSkeletonManagerService'];this[_0x493c28(0x196)](_0x30c949[_0x493c28(0x202)]([this[_0x493c28(0x2f6)]['getCollabCursors$'](_0x4a4b34),this[_0x493c28(0x42b)][_0x493c28(0x2e4)]])[_0x493c28(0x49c)](_0x218e56['map'](([_0x2a0c70,_0x114b24])=>({'skeleton':_0x2fcad3[_0x493c28(0x42c)](),'cursors':[..._0x2a0c70[_0x493c28(0x4b5)]()][_0x493c28(0x28c)](_0x131c13=>({..._0x131c13,'color':_0x114b24[_0x131c13['color']]}))})))[_0x493c28(0x188)](_0x492d67=>{const _0x3cce66=_0x493c28;if(this[_0x3cce66(0x251)](),_0x492d67){const {skeleton:_0x44a39b,cursors:_0x2f5d41}=_0x492d67;this[_0x3cce66(0x2e7)](_0x44a39b,_0x2f5d41);}})),this['_initResize'](),this[_0x493c28(0x185)]();}[_0x36f281(0x2e7)](_0xafec4a,_0x45ed8d){const _0x5e99f3=_0x36f281,{scene:_0x33c821,mainComponent:_0x473315}=this[_0x5e99f3(0x3f4)],_0x3bd3d9=_0x45ed8d['map'](_0xeea877=>new _0x4747cd(_0xeea877,_0x33c821,_0xafec4a,_0x473315));this[_0x5e99f3(0x20a)]=_0x3bd3d9,this[_0x5e99f3(0x144)]=_0x45ed8d;}['_refreshCollabCursors'](){const _0x2cd444=_0x36f281;this[_0x2cd444(0x251)]();const {scene:_0x4dad7a,mainComponent:_0x4bc129}=this[_0x2cd444(0x3f4)],_0xcd0982=this[_0x2cd444(0x375)][_0x2cd444(0x42c)](),_0x1d6526=this[_0x2cd444(0x144)][_0x2cd444(0x1de)](_0x2222ad=>new _0x4747cd(_0x2222ad,_0x4dad7a,_0xcd0982,_0x4bc129));this['_cursorShapes']=_0x1d6526;}[_0x36f281(0x251)](){const _0x18d6cb=_0x36f281;this[_0x18d6cb(0x20a)]['forEach'](_0x585b52=>_0x585b52['dispose']()),this[_0x18d6cb(0x20a)]=[];}[_0x36f281(0x185)](){const _0x3ebba0=_0x36f281,_0x4eb0f2=[_0x5c6469['SetDocZoomRatioOperation']['id']];this[_0x3ebba0(0x196)](this[_0x3ebba0(0x265)]['onCommandExecuted'](_0x109e94=>{const _0x238ff9=_0x3ebba0;_0x4eb0f2['includes'](_0x109e94['id'])&&_0x109e94[_0x238ff9(0x2c8)]['unitId']===this[_0x238ff9(0x3f4)][_0x238ff9(0x315)]&&this['_refreshCollabCursors']();}));}[_0x36f281(0x1f4)](){const _0xef6910=_0x36f281;this[_0xef6910(0x196)](_0x593949[_0xef6910(0x27b)](this[_0xef6910(0x3f4)][_0xef6910(0x2b0)][_0xef6910(0x44c)])['pipe'](_0x218e56[_0xef6910(0x218)](_0x1ebb47=>_0x1ebb47[_0xef6910(0x17b)]===_0xa07e34['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0xef6910(0x14c)]),_0x218e56[_0xef6910(0x254)](0x10))[_0xef6910(0x188)](()=>{const _0x4a1c52=_0xef6910;this[_0x4a1c52(0x275)]();}));}};_0x12fd25=_0x362d85([_0x2479a2(0x1,_0x593949['Inject'](_0x4aa7be[_0x36f281(0x17a)])),_0x2479a2(0x2,_0x593949[_0x36f281(0xb9)](_0x455914)),_0x2479a2(0x3,_0x593949[_0x36f281(0x38d)]),_0x2479a2(0x4,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x199)]))],_0x12fd25);const _0x2631a6=0x1,_0x35876c=1.5;class _0x55e027 extends _0xa07e34[_0x36f281(0x378)]{constructor(_0x21c154,_0x3102ee){const _0x409f4d=_0x36f281;super(_0x21c154,_0x3102ee),_0x3e0772(this,_0x409f4d(0x28e)),_0x3e0772(this,_0x409f4d(0x345),!0x1),_0x3e0772(this,_0x409f4d(0xc0)),_0x3e0772(this,_0x409f4d(0xc3),''),_0x3e0772(this,'_labelPosition',_0x409f4d(0x410)),_0x3e0772(this,_0x409f4d(0x43e)),(_0x3102ee&&this[_0x409f4d(0x4b7)](_0x3102ee),this[_0x409f4d(0x2f1)][_0x409f4d(0x174)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x409f4d(0x435)][_0x409f4d(0x174)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x36f281(0x4b7)](_0x11b155){const _0x5e973f=_0x36f281;var _0x324799,_0x619d23,_0x467ee4,_0x965c44,_0x50a00d,_0x1238f5;this[_0x5e973f(0x28e)]=(_0x324799=_0x11b155['color'])!=null?_0x324799:this[_0x5e973f(0x28e)],this[_0x5e973f(0x345)]=(_0x619d23=_0x11b155[_0x5e973f(0x4af)])!=null?_0x619d23:this['_hovered'],this[_0x5e973f(0xc0)]=(_0x467ee4=_0x11b155[_0x5e973f(0x4d8)])!=null?_0x467ee4:this[_0x5e973f(0xc0)],this['_name']=(_0x965c44=_0x11b155[_0x5e973f(0x4a2)])!=null?_0x965c44:this[_0x5e973f(0xc3)],this[_0x5e973f(0x2df)]=(_0x50a00d=_0x11b155['labelPosition'])!=null?_0x50a00d:this['_labelPosition'],this['_backgroundColor']=(_0x1238f5=_0x11b155[_0x5e973f(0x3ec)])!=null?_0x1238f5:this[_0x5e973f(0x43e)],this[_0x5e973f(0x160)]({'width':_0x11b155['width'],'height':_0x11b155[_0x5e973f(0xf8)]});}[_0x36f281(0x126)](_0x5b051d){const _0x535188=_0x36f281,{row:_0x4652a6,column:_0x30f166}=_0x5b051d;if(_0x4652a6>=this[_0x535188(0xc0)][_0x535188(0x455)]&&_0x4652a6<=this[_0x535188(0xc0)][_0x535188(0x30a)]&&_0x30f166>=this[_0x535188(0xc0)][_0x535188(0x3ca)]&&_0x30f166<=this[_0x535188(0xc0)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x16400d){return!0x1;}[_0x36f281(0x264)](_0x2e90b9){const _0x4068fc=_0x36f281;_0xa07e34[_0x4068fc(0x247)][_0x4068fc(0x2db)](_0x2e90b9,{'width':this['width'],'height':this['height'],'strokeWidth':_0x35876c,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4068fc(0x43e)]}),this[_0x4068fc(0x345)]&&(_0x2e90b9[_0x4068fc(0x497)](),_0x2e90b9['transform'](0x1,0x0,0x0,0x1,this[_0x4068fc(0x19f)],this[_0x4068fc(0x2df)]===_0x4068fc(0x3d7)?0x0:-_0x60143b),_0xc05a02[_0x4068fc(0x2db)](_0x2e90b9,{'text':this[_0x4068fc(0xc3)],'color':this[_0x4068fc(0x28e)]}),_0x2e90b9[_0x4068fc(0x212)]());}}var _0x5640fa=Object[_0x36f281(0x49a)],_0x37634a=Object['getOwnPropertyDescriptor'],_0x5eadd4=(_0x5472c3,_0x2000fe,_0x3baec5,_0x32d152)=>{const _0x3e5b44=_0x36f281;for(var _0x28089b=_0x32d152>0x1?void 0x0:_0x32d152?_0x37634a(_0x2000fe,_0x3baec5):_0x2000fe,_0x5ee4f0=_0x5472c3[_0x3e5b44(0x43f)]-0x1,_0x48e37d;_0x5ee4f0>=0x0;_0x5ee4f0--)(_0x48e37d=_0x5472c3[_0x5ee4f0])&&(_0x28089b=(_0x32d152?_0x48e37d(_0x2000fe,_0x3baec5,_0x28089b):_0x48e37d(_0x28089b))||_0x28089b);return _0x32d152&&_0x28089b&&_0x5640fa(_0x2000fe,_0x3baec5,_0x28089b),_0x28089b;},_0x473f8b=(_0x1e85cc,_0x447422)=>(_0x8c5ecc,_0x22b16b)=>_0x447422(_0x8c5ecc,_0x22b16b,_0x1e85cc);const _0x200e77=0x1389;let _0x11cefc=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x4aa855,_0x420559,_0x53d866,_0x3ab31d){const _0x12e463=_0x36f281;super(),_0x3e0772(this,_0x12e463(0x144),new Set()),_0x3e0772(this,'_lastPointer',null),(this[_0x12e463(0x3f4)]=_0x4aa855,this['_sheetSkeletonManagerService']=_0x420559,this[_0x12e463(0x2f6)]=_0x53d866,this[_0x12e463(0x42b)]=_0x3ab31d,this['_init']());}[_0x36f281(0x3b6)](){const _0x5b548a=_0x36f281;this[_0x5b548a(0xdb)]['currentSkeleton$'][_0x5b548a(0x49c)](_0x218e56[_0x5b548a(0x142)](this[_0x5b548a(0x4d4)]),_0x218e56['switchMap'](_0x1d6887=>{const _0x12c434=_0x5b548a;if(_0x1d6887){const _0x4dbd4d=_0x1d6887[_0x12c434(0x2e2)];return _0x30c949[_0x12c434(0x202)](this[_0x12c434(0x2f6)]['getCollabCursors$'](this['_context'][_0x12c434(0x315)]),this['_themeService'][_0x12c434(0x2e4)])[_0x12c434(0x49c)](_0x218e56[_0x12c434(0x1de)](([_0x1b82d2,_0x2c41e6])=>{const _0xe8a6bb=_0x12c434,_0x16f6af=new Map();return _0x1b82d2[_0xe8a6bb(0x2a0)]((_0x38e98f,_0x5cd08d)=>{const _0x1c8836=_0xe8a6bb;if(_0x38e98f[_0x1c8836(0x4b3)]===_0x4dbd4d){const _0x32b622={..._0x38e98f};_0x32b622[_0x1c8836(0x2a6)]=_0x2c41e6[_0x38e98f['color']],_0x16f6af['set'](_0x5cd08d,_0x32b622);}}),{'skeleton':_0x1d6887,'cursors':_0x16f6af};}));}return _0x30c949['of']({'skeleton':null,'cursors':new Map()});}))[_0x5b548a(0x188)](({skeleton:_0x3dc132,cursors:_0x4e5c5e})=>{const _0x3fc0d1=_0x5b548a;this[_0x3fc0d1(0x251)](),_0x3dc132&&this['_updateCollabCursors'](_0x3dc132,_0x4e5c5e);}),this['_sheetSkeletonManagerService'][_0x5b548a(0x104)][_0x5b548a(0x188)](_0x1892c1=>{const _0x2a56a0=_0x5b548a;if(_0x1892c1==null)return;const {skeleton:_0xc4e574}=_0x1892c1,{scene:_0x33e693}=this[_0x2a56a0(0x3f4)];_0x33e693[_0x2a56a0(0x428)][_0x2a56a0(0x174)](_0x593949[_0x2a56a0(0x4e4)](_0x18f5dd=>{const _0x2e45ad=_0x2a56a0;var _0x48b553,_0x4cff8e;const {offsetX:_0x5d0443,offsetY:_0x550fe0}=_0x18f5dd,{x:_0x5825c0,y:_0x38e267}=_0x33e693['getRelativeToViewportCoord'](_0xa07e34['Vector2'][_0x2e45ad(0x10b)]([_0x5d0443,_0x550fe0])),{scaleX:_0xac21ad,scaleY:_0x3d2c37}=_0x33e693[_0x2e45ad(0x405)](),_0x672f18=_0x33e693[_0x2e45ad(0x2ab)](_0x35ed85['VIEWPORT_KEY'][_0x2e45ad(0x3aa)]),_0x26fa0a=_0x33e693[_0x2e45ad(0x1b5)](_0xa07e34[_0x2e45ad(0x308)][_0x2e45ad(0x10b)]([_0x5825c0,_0x38e267]),_0x672f18),_0x5c4ece=_0xc4e574[_0x2e45ad(0x22c)](_0x5d0443,_0x550fe0,_0xac21ad,_0x3d2c37,_0x26fa0a);((_0x48b553=this[_0x2e45ad(0x230)])==null?void 0x0:_0x48b553['column'])===_0x5c4ece[_0x2e45ad(0x3e7)]&&((_0x4cff8e=this['_lastPointer'])==null?void 0x0:_0x4cff8e[_0x2e45ad(0x3af)])===_0x5c4ece[_0x2e45ad(0x3af)]||this[_0x2e45ad(0x144)][_0x2e45ad(0x2a0)](_0x37c399=>{const _0x77efc=_0x2e45ad;_0x37c399[_0x77efc(0x126)](_0x5c4ece);});},0x64));});}[_0x36f281(0x2e7)](_0x4f6458,_0x1e0685){const _0xe68280=_0x36f281;var _0x50d18d;const _0x588b53=(_0x50d18d=this[_0xe68280(0xdb)][_0xe68280(0x223)]())==null?void 0x0:_0x50d18d[_0xe68280(0x447)];if(!_0x588b53)return;const _0x483eff=this['_getSheetObject']();if(!_0x483eff)return;this[_0xe68280(0x144)][_0xe68280(0x2a0)](_0x1e79a6=>{_0x1e79a6['makeDirty']();});const {scene:_0x421d88}=_0x483eff,_0x4cb1c1=_0x14e1b7(Array['from'](_0x1e0685[_0xe68280(0x4b5)]()))['map'](_0x5e82da=>{const _0xca0a35=_0xe68280,{color:_0x20f548,range:_0x34ee6a,name:_0x24a3dd,selection:_0x1258b8,sheetID:_0x222760}=_0x5e82da,{startColumn:_0x3a1343,startRow:_0x260a97,endColumn:_0x425841,endRow:_0x4be5cd}=_0x34ee6a,_0x289950=_0x35ed85[_0xca0a35(0x4c7)](_0x260a97,_0x3a1343,_0x421d88,_0x588b53),_0x3a6f31=_0x35ed85[_0xca0a35(0x4c7)](_0x4be5cd,_0x425841,_0x421d88,_0x588b53),{columnHeaderHeightAndMarginTop:_0x2c151d}=_0x588b53,{startX:_0x35e7a7,startY:_0x46971b}=_0x289950,{endX:_0x50f142,endY:_0x15105a}=_0x3a6f31,_0x17cc20=_0x50f142-_0x35e7a7,_0x3f0e84=_0x15105a-_0x46971b,_0x41a737={'labelPosition':_0x46971b-_0x2c151d>=_0x60143b?_0xca0a35(0x410):'bottom','sheetID':_0x222760,'range':_0x34ee6a,'color':_0x20f548,'name':_0x24a3dd,'selection':_0x1258b8,'left':_0x35e7a7,'top':_0x46971b,'width':_0x17cc20,'height':_0x3f0e84,'evented':!0x1,'zIndex':_0x200e77};return new _0x55e027(_0x24a3dd,_0x41a737);});_0x421d88[_0xe68280(0x4e8)](_0x4cb1c1,_0x2631a6),this['_cursors']=new Set(_0x4cb1c1);}[_0x36f281(0x251)](){const _0x4c6ef3=_0x36f281;var _0x23a289;(_0x23a289=this[_0x4c6ef3(0x144)])==null||_0x23a289[_0x4c6ef3(0x2a0)](_0x43b12c=>_0x43b12c[_0x4c6ef3(0x1e6)]());}[_0x36f281(0x21a)](){const _0x2ab8a2=_0x36f281;return _0x35ed85['getSheetObject'](this[_0x2ab8a2(0x3f4)][_0x2ab8a2(0x179)],this['_context']);}};_0x11cefc=_0x5eadd4([_0x473f8b(0x1,_0x593949[_0x36f281(0xb9)](_0x35ed85[_0x36f281(0x1c9)])),_0x473f8b(0x2,_0x593949['Inject'](_0x455914)),_0x473f8b(0x3,_0x593949[_0x36f281(0xb9)](_0x593949['ThemeService']))],_0x11cefc);function _0x14e1b7(_0x4a61f3){const _0x41d85e=_0x36f281,_0x2fd401=new Map();return _0x4a61f3[_0x41d85e(0x2a0)](_0x525127=>{const _0x37471e=_0x41d85e;if(_0x2fd401[_0x37471e(0x1f2)](_0x525127[_0x37471e(0x3e8)])){const _0x2a7716=_0x2fd401[_0x37471e(0x14e)](_0x525127['selection']);_0x2a7716['name']+=',\x20'+_0x525127['name'];}else _0x2fd401[_0x37471e(0x2bd)](_0x525127['selection'],_0x525127);}),Array['from'](_0x2fd401[_0x41d85e(0x4b5)]());}var _0x3e8e60=function(){const _0x2b7802=_0x36f281;return _0x3e8e60=Object[_0x2b7802(0x45b)]||function(_0x349ac7){const _0x299d7e=_0x2b7802;for(var _0x5c642d,_0x2a2db9=0x1,_0x52e281=arguments[_0x299d7e(0x43f)];_0x2a2db9<_0x52e281;_0x2a2db9++){_0x5c642d=arguments[_0x2a2db9];for(var _0x3b0e58 in _0x5c642d)Object['prototype'][_0x299d7e(0x221)]['call'](_0x5c642d,_0x3b0e58)&&(_0x349ac7[_0x3b0e58]=_0x5c642d[_0x3b0e58]);}return _0x349ac7;},_0x3e8e60[_0x2b7802(0x4b9)](this,arguments);},_0x4386da=function(_0x31138c,_0x352856){const _0x12a3cf=_0x36f281;var _0x522c24={};for(var _0x5578a2 in _0x31138c)Object[_0x12a3cf(0x16b)][_0x12a3cf(0x221)][_0x12a3cf(0x2fa)](_0x31138c,_0x5578a2)&&_0x352856[_0x12a3cf(0x14f)](_0x5578a2)<0x0&&(_0x522c24[_0x5578a2]=_0x31138c[_0x5578a2]);if(_0x31138c!=null&&typeof Object[_0x12a3cf(0x3c8)]==_0x12a3cf(0x260)){for(var _0x20c285=0x0,_0x5578a2=Object[_0x12a3cf(0x3c8)](_0x31138c);_0x20c285<_0x5578a2[_0x12a3cf(0x43f)];_0x20c285++)_0x352856[_0x12a3cf(0x14f)](_0x5578a2[_0x20c285])<0x0&&Object[_0x12a3cf(0x16b)][_0x12a3cf(0x40e)][_0x12a3cf(0x2fa)](_0x31138c,_0x5578a2[_0x20c285])&&(_0x522c24[_0x5578a2[_0x20c285]]=_0x31138c[_0x5578a2[_0x20c285]]);}return _0x522c24;},_0x2e418b=_0x111993['forwardRef'](function(_0x11b39b,_0x3906dc){const _0x4fca90=_0x36f281;var _0x4f0297=_0x11b39b[_0x4fca90(0x1cd)],_0x24bb2e=_0x11b39b['id'],_0x5073e6=_0x11b39b[_0x4fca90(0x25d)],_0x2d4d08=_0x11b39b[_0x4fca90(0x24b)],_0x39c96c=_0x4386da(_0x11b39b,[_0x4fca90(0x1cd),'id','className',_0x4fca90(0x24b)]),_0x54fed8=_0x4fca90(0x1cc)['concat'](_0x24bb2e,'\x20')[_0x4fca90(0x1e2)](_0x5073e6||'')[_0x4fca90(0x3d0)](),_0x2b4258=_0x111993[_0x4fca90(0x26c)]('_'[_0x4fca90(0x1e2)](_0x48dcdb()));return _0x127c3b(_0x4f0297,''[_0x4fca90(0x1e2)](_0x24bb2e),{'defIds':_0x4f0297[_0x4fca90(0x444)],'idSuffix':_0x2b4258[_0x4fca90(0x47b)]},_0x3e8e60({'ref':_0x3906dc,'className':_0x54fed8},_0x39c96c),_0x2d4d08);});function _0x127c3b(_0x4e7289,_0x38f4ae,_0x50655f,_0x3c9bd4,_0x31121f){const _0xb89455=_0x36f281;return _0x111993[_0xb89455(0xc9)](_0x4e7289[_0xb89455(0x4dc)],_0x3e8e60(_0x3e8e60({'key':_0x38f4ae},_0x34a09c(_0x4e7289,_0x50655f,_0x31121f)),_0x3c9bd4),(_0x1a4f60(_0x4e7289,_0x50655f)[_0xb89455(0x261)]||[])[_0xb89455(0x1de)](function(_0x4e4540,_0x52ae11){const _0x1b4baa=_0xb89455;return _0x127c3b(_0x4e4540,''[_0x1b4baa(0x1e2)](_0x38f4ae,'-')[_0x1b4baa(0x1e2)](_0x4e7289['tag'],'-')[_0x1b4baa(0x1e2)](_0x52ae11),_0x50655f,void 0x0,_0x31121f);}));}function _0x34a09c(_0x1a1967,_0x5a21c4,_0x25fba7){const _0x2e4aba=_0x36f281;var _0x35dede=_0x3e8e60({},_0x1a1967[_0x2e4aba(0x42d)]);_0x25fba7!=null&&_0x25fba7['colorChannel1']&&_0x35dede[_0x2e4aba(0xda)]===_0x2e4aba(0xcf)&&(_0x35dede[_0x2e4aba(0xda)]=_0x25fba7[_0x2e4aba(0xcf)]);var _0x1af388=_0x5a21c4[_0x2e4aba(0x444)];return!_0x1af388||_0x1af388[_0x2e4aba(0x43f)]===0x0||(_0x1a1967[_0x2e4aba(0x4dc)]===_0x2e4aba(0x168)&&_0x35dede[_0x2e4aba(0xf0)]&&(_0x35dede[_0x2e4aba(0xf0)]=_0x35dede['xlink:href']+_0x5a21c4[_0x2e4aba(0x20d)]),Object[_0x2e4aba(0x421)](_0x35dede)[_0x2e4aba(0x2a0)](function(_0x4faf3a){const _0x232a69=_0x2e4aba;var _0x3457f4=_0x4faf3a[0x0],_0x2dc370=_0x4faf3a[0x1];typeof _0x2dc370==_0x232a69(0x2a8)&&(_0x35dede[_0x3457f4]=_0x2dc370['replace'](/url\(#(.*)\)/,_0x232a69(0x338)[_0x232a69(0x1e2)](_0x5a21c4[_0x232a69(0x20d)],')')));})),_0x35dede;}function _0x1a4f60(_0x34a091,_0x9e0fb4){const _0x302fbf=_0x36f281;var _0xb4f16f,_0x40059b=_0x9e0fb4[_0x302fbf(0x444)];return!_0x40059b||_0x40059b[_0x302fbf(0x43f)]===0x0?_0x34a091:_0x34a091[_0x302fbf(0x4dc)]===_0x302fbf(0x2e6)&&(!((_0xb4f16f=_0x34a091[_0x302fbf(0x261)])===null||_0xb4f16f===void 0x0)&&_0xb4f16f['length'])?_0x3e8e60(_0x3e8e60({},_0x34a091),{'children':_0x34a091[_0x302fbf(0x261)][_0x302fbf(0x1de)](function(_0x45348e){const _0x29ee77=_0x302fbf;return typeof _0x45348e[_0x29ee77(0x42d)]['id']==_0x29ee77(0x2a8)&&_0x40059b&&_0x40059b[_0x29ee77(0x14f)](_0x45348e[_0x29ee77(0x42d)]['id'])>-0x1?_0x3e8e60(_0x3e8e60({},_0x45348e),{'attrs':_0x3e8e60(_0x3e8e60({},_0x45348e['attrs']),{'id':_0x45348e[_0x29ee77(0x42d)]['id']+_0x9e0fb4[_0x29ee77(0x20d)]})}):_0x45348e;})}):_0x34a091;}function _0x48dcdb(){const _0x1cf14e=_0x36f281;return Math[_0x1cf14e(0x4a7)]()[_0x1cf14e(0x13d)](0x24)[_0x1cf14e(0x411)](0x2,0x8);}_0x2e418b['displayName']=_0x36f281(0x25f);var _0x4c4b77={'tag':_0x36f281(0x297),'attrs':{'fill':'none','viewBox':_0x36f281(0x219),'width':_0x36f281(0x24c),'height':_0x36f281(0x24c)},'children':[{'tag':'g','attrs':{'clipPath':_0x36f281(0x231)},'children':[{'tag':_0x36f281(0x273),'attrs':{'stroke':_0x36f281(0x361),'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':_0x36f281(0x233),'strokeLinejoin':_0x36f281(0x233),'strokeWidth':1.2}}]},{'tag':_0x36f281(0x2e6),'attrs':{},'children':[{'tag':_0x36f281(0x106),'attrs':{'id':_0x36f281(0x35a)},'children':[{'tag':_0x36f281(0x273),'attrs':{'fill':'#fff','d':_0x36f281(0x45e)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x447b96=_0x111993[_0x36f281(0x29a)](function(_0x171e8d,_0x4cbf99){const _0x249289=_0x36f281;return _0x111993[_0x249289(0xc9)](_0x2e418b,Object['assign']({},_0x171e8d,{'id':_0x249289(0x12c),'ref':_0x4cbf99,'icon':_0x4c4b77}));});_0x447b96[_0x36f281(0x3ed)]='OffLineSingle';var _0x467f00={'tag':_0x36f281(0x297),'attrs':{'fill':_0x36f281(0x39b),'viewBox':'0\x200\x2017\x2016','width':_0x36f281(0x24c),'height':_0x36f281(0x24c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x36f281(0x361),'d':'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','strokeLinecap':_0x36f281(0x233),'strokeLinejoin':_0x36f281(0x233),'strokeWidth':1.2}}]},{'tag':_0x36f281(0x2e6),'attrs':{},'children':[{'tag':_0x36f281(0x106),'attrs':{'id':_0x36f281(0x207)},'children':[{'tag':_0x36f281(0x273),'attrs':{'fill':_0x36f281(0x102),'d':_0x36f281(0x45e),'transform':_0x36f281(0x26b)}}]}]}],'defIds':[_0x36f281(0x207)]},_0x5544d1=_0x111993[_0x36f281(0x29a)](function(_0x41fb91,_0x2ef276){const _0x7be90d=_0x36f281;return _0x111993[_0x7be90d(0xc9)](_0x2e418b,Object['assign']({},_0x41fb91,{'id':_0x7be90d(0x472),'ref':_0x2ef276,'icon':_0x467f00}));});_0x5544d1[_0x36f281(0x3ed)]=_0x36f281(0x15c);function _0x1db50c(_0x13c0bf){const _0x582747=_0x36f281;var _0x1a8624,_0x392b7a,_0xd6a04a='';if(typeof _0x13c0bf==_0x582747(0x2a8)||typeof _0x13c0bf==_0x582747(0x3f0))_0xd6a04a+=_0x13c0bf;else{if(typeof _0x13c0bf=='object'){if(Array[_0x582747(0x10c)](_0x13c0bf)){var _0x2dfb42=_0x13c0bf[_0x582747(0x43f)];for(_0x1a8624=0x0;_0x1a8624<_0x2dfb42;_0x1a8624++)_0x13c0bf[_0x1a8624]&&(_0x392b7a=_0x1db50c(_0x13c0bf[_0x1a8624]))&&(_0xd6a04a&&(_0xd6a04a+='\x20'),_0xd6a04a+=_0x392b7a);}else{for(_0x392b7a in _0x13c0bf)_0x13c0bf[_0x392b7a]&&(_0xd6a04a&&(_0xd6a04a+='\x20'),_0xd6a04a+=_0x392b7a);}}}return _0xd6a04a;}function _0x3cdde9(){const _0x53b700=_0x36f281;for(var _0x26b794,_0x3033e6,_0x33a043=0x0,_0x12a9a2='',_0x59f557=arguments[_0x53b700(0x43f)];_0x33a043<_0x59f557;_0x33a043++)(_0x26b794=arguments[_0x33a043])&&(_0x3033e6=_0x1db50c(_0x26b794))&&(_0x12a9a2&&(_0x12a9a2+='\x20'),_0x12a9a2+=_0x3033e6);return _0x12a9a2;}const _0x379f92={'onlineStatusIcon':_0x36f281(0x4b0),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x36f281(0xbd),'online':_0x36f281(0x3fa),'offline':_0x36f281(0x14a)};function _0x425cdd(_0x14b273){const _0x9bf82e=_0x36f281;switch(_0x14b273){case _0x2d65dc[_0x9bf82e(0x4eb)]:return _0x9bf82e(0xf4);case _0x2d65dc[_0x9bf82e(0x43a)]:return _0x9bf82e(0x3c3);case _0x2d65dc[_0x9bf82e(0x3a1)]:return _0x9bf82e(0x246);case _0x2d65dc[_0x9bf82e(0x23c)]:return _0x9bf82e(0x216);case _0x2d65dc[_0x9bf82e(0x498)]:case _0x2d65dc[_0x9bf82e(0x40c)]:case _0x2d65dc['AWAITING_WITH_PENDING']:return _0x9bf82e(0x4d9);case _0x2d65dc[_0x9bf82e(0x197)]:return _0x9bf82e(0x226);}}function _0x580fae(_0x423c72){const _0x4e5856=_0x36f281,{status$:_0x44e188}=_0x423c72,_0xa0d3a7=_0xc44033[_0x4e5856(0x3e2)](_0x44e188,_0x2d65dc[_0x4e5856(0x23c)]),_0x5198c7=_0x593949['useDependency'](_0x593949[_0x4e5856(0x2bc)]),_0x35e760=_0x593949[_0x4e5856(0x3c0)](_0x4238fe[_0x4e5856(0x370)]),_0x2b7012=_0xa0d3a7!==_0x2d65dc['OFFLINE'],_0x468898=_0x5198c7['t'](_0x425cdd(_0xa0d3a7)),_0x4383a=_0x3cdde9(_0x379f92[_0x4e5856(0x395)],{[_0x379f92[_0x4e5856(0x3f2)]]:_0x2b7012,[_0x379f92[_0x4e5856(0x322)]]:!_0x2b7012}),_0x39283a=_0x2b7012?_0x111993['createElement'](_0x5544d1,null):_0x111993['createElement'](_0x447b96,null),_0x283cfb=_0x111993[_0x4e5856(0x21d)](()=>{const _0x172e14=_0x4e5856;_0x2b7012||_0x35e760[_0x172e14(0x165)]();},[_0x2b7012,_0x35e760]);function _0x3ab32e(){const _0x60504=_0x4e5856;return _0x111993['createElement'](_0x60504(0x45a),{'className':_0x4383a,'onClick':_0x283cfb},_0x111993['createElement']('div',{'className':_0x379f92[_0x60504(0x176)]},_0x39283a),_0x111993[_0x60504(0xc9)](_0x60504(0x45a),{'className':_0x379f92[_0x60504(0x479)]},_0x468898));}return _0x2b7012?_0x3ab32e():_0x111993[_0x4e5856(0xc9)](_0x2b27fc['Tooltip'],{'title':_0x5198c7['t'](_0x4e5856(0x363))},_0x3ab32e());}var _0x3c501b=Object[_0x36f281(0x49a)],_0x57c4e7=Object['getOwnPropertyDescriptor'],_0x5b0b55=(_0x559cf1,_0x51cd97,_0x5ebcd6,_0x2769d6)=>{const _0x3a9ff3=_0x36f281;for(var _0x1aaf82=_0x2769d6>0x1?void 0x0:_0x2769d6?_0x57c4e7(_0x51cd97,_0x5ebcd6):_0x51cd97,_0x389429=_0x559cf1[_0x3a9ff3(0x43f)]-0x1,_0x393053;_0x389429>=0x0;_0x389429--)(_0x393053=_0x559cf1[_0x389429])&&(_0x1aaf82=(_0x2769d6?_0x393053(_0x51cd97,_0x5ebcd6,_0x1aaf82):_0x393053(_0x1aaf82))||_0x1aaf82);return _0x2769d6&&_0x1aaf82&&_0x3c501b(_0x51cd97,_0x5ebcd6,_0x1aaf82),_0x1aaf82;},_0x52cd6b=(_0x1e135b,_0x17211e)=>(_0x38b629,_0x5c2605)=>_0x17211e(_0x38b629,_0x5c2605,_0x1e135b);_0x4238fe[_0x36f281(0x225)]=class extends _0x593949['Disposable']{constructor(_0x2ab502,_0x11de22,_0x339ecc,_0x4ba3a3){const _0x2c37dc=_0x36f281;super(),_0x3e0772(this,_0x2c37dc(0x20e),new _0x30c949[(_0x2c37dc(0x2f9))](_0x2d65dc[_0x2c37dc(0x23c)])),(this[_0x2c37dc(0x276)]=_0x2ab502,this[_0x2c37dc(0x31f)]=_0x11de22,this[_0x2c37dc(0xf1)]=_0x339ecc,this[_0x2c37dc(0x1cb)]=_0x4ba3a3,this[_0x2c37dc(0x2ff)](),this[_0x2c37dc(0x4ac)]());}[_0x36f281(0x4ac)](){const _0x108005=_0x36f281;this[_0x108005(0x196)](this[_0x108005(0x276)][_0x108005(0x4d5)]['pipe'](_0x30c949[_0x108005(0x3fd)](()=>{const _0x1cb576=_0x108005,_0x4c32e0=this['_univerInstanceService']['getFocusedUnit']();return _0x4c32e0?this['_collaborationController'][_0x1cb576(0x1e3)](_0x4c32e0[_0x1cb576(0x4c0)]()):_0x30c949['of'](null);}),_0x30c949['switchMap'](_0x43af13=>_0x43af13?_0x43af13[_0x108005(0x457)]:_0x30c949['of'](_0x2d65dc[_0x108005(0x23c)])))[_0x108005(0x188)](_0x190eca=>{const _0x3157d9=_0x108005;this[_0x3157d9(0x20e)]['next'](_0x190eca);}));}[_0x36f281(0x2ff)](){const _0x53dc03=_0x36f281;this[_0x53dc03(0x196)](this['_uiPartsService'][_0x53dc03(0x3a8)](_0xc44033[_0x53dc03(0x192)]['HEADER_MENU'],()=>_0x593949['connectInjector'](_0x113a75({'status$':this[_0x53dc03(0x20e)][_0x53dc03(0x13a)]()}),this[_0x53dc03(0xf1)])));}},_0x4238fe[_0x36f281(0x225)]=_0x5b0b55([_0x52cd6b(0x0,_0x593949[_0x36f281(0x1dc)]),_0x52cd6b(0x1,_0xc44033[_0x36f281(0x330)]),_0x52cd6b(0x2,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x52cd6b(0x3,_0x593949['Inject'](_0x4238fe[_0x36f281(0x373)]))],_0x4238fe[_0x36f281(0x225)]);function _0x113a75(_0x2da8a3){const {status$:_0x26b701}=_0x2da8a3;return function(){const _0x53f4f8=_0x4c16;return _0x111993[_0x53f4f8(0xc9)](_0x580fae,{'status$':_0x26b701});};}const _0x2863a7=_0x593949[_0x36f281(0x358)](_0x36f281(0x3cc));var _0x4371b0=Object[_0x36f281(0x49a)],_0x5d27b4=Object[_0x36f281(0x381)],_0xbe49a9=(_0x5e290f,_0x53f14f,_0x37d43c,_0x113436)=>{const _0xe1f861=_0x36f281;for(var _0x41525b=_0x113436>0x1?void 0x0:_0x113436?_0x5d27b4(_0x53f14f,_0x37d43c):_0x53f14f,_0x466d02=_0x5e290f[_0xe1f861(0x43f)]-0x1,_0x3eee9e;_0x466d02>=0x0;_0x466d02--)(_0x3eee9e=_0x5e290f[_0x466d02])&&(_0x41525b=(_0x113436?_0x3eee9e(_0x53f14f,_0x37d43c,_0x41525b):_0x3eee9e(_0x41525b))||_0x41525b);return _0x113436&&_0x41525b&&_0x4371b0(_0x53f14f,_0x37d43c,_0x41525b),_0x41525b;},_0x1a8666=(_0x178208,_0x5ed952)=>(_0xb713d,_0x3a1bed)=>_0x5ed952(_0xb713d,_0x3a1bed,_0x178208);_0x4238fe['DataLoaderController']=class extends _0x593949['RxDisposable']{constructor(_0x4e95dd,_0x284a98,_0x25c309,_0x1c6541,_0x3d6198,_0x21be4e){const _0x63c86e=_0x36f281;super(),this['_urlService']=_0x4e95dd,this[_0x63c86e(0x3df)]=_0x284a98,this[_0x63c86e(0x265)]=_0x25c309,this[_0x63c86e(0xfc)]=_0x1c6541,this[_0x63c86e(0xb5)]=_0x3d6198,_0x21be4e?_0x21be4e==null||_0x21be4e[_0x63c86e(0x245)]()[_0x63c86e(0x372)](()=>this[_0x63c86e(0x3b6)]()):(this[_0x63c86e(0x3df)]['debug'](_0x63c86e(0x172),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x63c86e(0x3b6)]());}async[_0x36f281(0x3b6)](){const _0xb3d370=_0x36f281,_0x3a74ab=this[_0xb3d370(0x2b5)][_0xb3d370(0x37d)](_0xb3d370(0x179)),_0x17691e=this[_0xb3d370(0x2b5)][_0xb3d370(0x37d)]('type');if(!_0x3a74ab||!_0x17691e){this[_0xb3d370(0x3df)][_0xb3d370(0x177)](_0xb3d370(0x172),_0xb3d370(0x1c6));return;}switch(Number(_0x17691e)){case _0x4775b3[_0xb3d370(0x12e)]:{const _0x340c54=await this[_0xb3d370(0x1f1)](_0x3a74ab);this[_0xb3d370(0x1e0)](_0x340c54);break;}case _0x4775b3[_0xb3d370(0x4e1)]:{await this['_loadDoc'](_0x3a74ab);break;}default:{this[_0xb3d370(0x3df)][_0xb3d370(0x302)](_0xb3d370(0x172),_0xb3d370(0x431));break;}}}async[_0x36f281(0x1e0)](_0x4a9d42){const _0x4eb71e=_0x36f281;await this[_0x4eb71e(0x301)](_0x4a9d42),_0x4a9d42[_0x4eb71e(0xea)][_0x4eb71e(0x49c)](_0x30c949[_0x4eb71e(0x142)](this[_0x4eb71e(0x4d4)]))[_0x4eb71e(0x188)](_0x1a325a=>{const _0x43ca18=_0x4eb71e;_0x1a325a&&this[_0x43ca18(0x23a)](_0x1a325a);}),this['_urlService'][_0x4eb71e(0x2a5)][_0x4eb71e(0x49c)](_0x30c949['takeUntil'](this['dispose$']))[_0x4eb71e(0x188)](()=>this[_0x4eb71e(0x301)](_0x4a9d42));}[_0x36f281(0x23a)](_0x141aab,_0x35cb92=!0x1){const _0x5b6323=_0x36f281,_0x5b9a22=this[_0x5b6323(0x2b5)][_0x5b6323(0x37d)](_0x5b6323(0x46c));_0x141aab[_0x5b6323(0x353)]()!==_0x5b9a22&&this['_urlService'][_0x5b6323(0x2f7)](_0x5b6323(0x46c),_0x141aab[_0x5b6323(0x353)](),_0x35cb92);}async['_updateSubUnitFromURLParams'](_0x47797f){const _0x3d27f5=_0x36f281;var _0x3a4dbd;const _0x9ce911=this['_urlService']['getParam']('subunit');if(!_0x9ce911||!_0x47797f['getSheetBySheetId'](_0x9ce911)){const _0x773178=_0x47797f[_0x3d27f5(0x3fe)]()[0x0],_0x3055b1=_0x47797f[_0x3d27f5(0x16c)](_0x773178);if(!_0x3055b1)return;this['_updateURLWithCurrentState'](_0x3055b1,!0x0),await this[_0x3d27f5(0x265)]['executeCommand'](_0xec6805[_0x3d27f5(0xec)]['id'],{'unitId':_0x47797f[_0x3d27f5(0x4c0)](),'subUnitId':_0x773178});return;}((_0x3a4dbd=_0x47797f[_0x3d27f5(0x49b)]())==null?void 0x0:_0x3a4dbd['getSheetId']())!==_0x9ce911&&await this[_0x3d27f5(0x265)][_0x3d27f5(0x420)](_0xec6805['SetWorksheetActivateCommand']['id'],{'unitId':_0x47797f[_0x3d27f5(0x4c0)](),'subUnitId':_0x9ce911});}async[_0x36f281(0x1f1)](_0x2272ca){const _0x5d4e27=_0x36f281;let _0x4942c2=0x0;const _0x4b5fcb=await this[_0x5d4e27(0xfc)][_0x5d4e27(0x453)](_0x2272ca);return _0x4b5fcb&&(_0x4b5fcb['awaitingChangeset']||_0x4b5fcb['mutations']['length']!==0x0)&&(_0x4942c2=_0x4b5fcb[_0x5d4e27(0x141)]),_0x4942c2===0x0&&this[_0x5d4e27(0x3df)][_0x5d4e27(0x177)]('[DataLoaderController]',_0x5d4e27(0x136)),this[_0x5d4e27(0xb5)][_0x5d4e27(0x326)](_0x2272ca,_0x4942c2);}async['_loadDoc'](_0x4d81ba){const _0x23f046=_0x36f281;let _0x30dace=0x0;const _0x2f4093=await this[_0x23f046(0xfc)]['loadOfflineData'](_0x4d81ba);return _0x2f4093&&(_0x2f4093[_0x23f046(0x32b)]||_0x2f4093[_0x23f046(0x152)][_0x23f046(0x43f)]!==0x0)&&(_0x30dace=_0x2f4093[_0x23f046(0x141)]),_0x30dace===0x0&&this[_0x23f046(0x3df)][_0x23f046(0x177)]('[DataLoaderController]',_0x23f046(0x136)),this['_snapshotService'][_0x23f046(0xad)](_0x4d81ba,_0x30dace);}},_0x4238fe[_0x36f281(0x1f3)]=_0xbe49a9([_0x1a8666(0x0,_0x2863a7),_0x1a8666(0x1,_0x593949[_0x36f281(0x380)]),_0x1a8666(0x2,_0x593949[_0x36f281(0x38d)]),_0x1a8666(0x3,_0x593949[_0x36f281(0xb9)](_0x4238fe[_0x36f281(0xd2)])),_0x1a8666(0x4,_0x593949[_0x36f281(0xb9)](_0x4968b4[_0x36f281(0x183)])),_0x1a8666(0x5,_0x593949[_0x36f281(0xc8)](_0x172174['IRemoteInstanceService']))],_0x4238fe[_0x36f281(0x1f3)]);var _0x20ae76=Object[_0x36f281(0x49a)],_0x34aaf1=Object[_0x36f281(0x381)],_0x301c2a=(_0x558118,_0x578b1a,_0x5a5892,_0x37a179)=>{const _0x5ef9e1=_0x36f281;for(var _0x52f210=_0x37a179>0x1?void 0x0:_0x37a179?_0x34aaf1(_0x578b1a,_0x5a5892):_0x578b1a,_0x407111=_0x558118[_0x5ef9e1(0x43f)]-0x1,_0x421074;_0x407111>=0x0;_0x407111--)(_0x421074=_0x558118[_0x407111])&&(_0x52f210=(_0x37a179?_0x421074(_0x578b1a,_0x5a5892,_0x52f210):_0x421074(_0x52f210))||_0x52f210);return _0x37a179&&_0x52f210&&_0x20ae76(_0x578b1a,_0x5a5892,_0x52f210),_0x52f210;},_0x129d22=(_0x5bbd49,_0x1ed2a5)=>(_0x367205,_0x5bc9e9)=>_0x1ed2a5(_0x367205,_0x5bc9e9,_0x5bbd49);const _0x480b3c=_0x36f281(0x209),_0x2a3669='Univer';let _0x471f41=class extends _0x593949[_0x36f281(0x16a)]{constructor(_0x46f433,_0xbd49fc){const _0xdc7a65=_0x36f281;super(),this['_univerInstanceService']=_0x46f433,this[_0xdc7a65(0xdd)]=_0xbd49fc,this[_0xdc7a65(0x3b6)]();}[_0x36f281(0x3b6)](){const _0x378dc0=_0x36f281;this[_0x378dc0(0x196)](this[_0x378dc0(0x276)][_0x378dc0(0x4d5)][_0x378dc0(0x188)](()=>{const _0x31558b=_0x378dc0;var _0x1be989;const _0x705adc=this[_0x31558b(0x276)][_0x31558b(0x1f6)]();let _0x221b9f=(_0x1be989=this[_0x31558b(0xdd)][_0x31558b(0x3bd)](_0x480b3c))!=null?_0x1be989:_0x2a3669;_0x705adc instanceof _0x593949['Workbook']&&(_0x221b9f=_0x705adc['name']),document[_0x31558b(0x1cf)]=_0x221b9f;}));}};_0x471f41=_0x301c2a([_0x129d22(0x0,_0x593949[_0x36f281(0x1dc)]),_0x129d22(0x1,_0x593949[_0x36f281(0xe7)])],_0x471f41);var _0x3b0555=Object['defineProperty'],_0x5a3fd6=Object[_0x36f281(0x381)],_0x3f03ee=(_0x3f36d4,_0x2dbc98,_0x13635d,_0x47c883)=>{const _0x4ee004=_0x36f281;for(var _0x4f5dcc=_0x47c883>0x1?void 0x0:_0x47c883?_0x5a3fd6(_0x2dbc98,_0x13635d):_0x2dbc98,_0x228166=_0x3f36d4[_0x4ee004(0x43f)]-0x1,_0xd4624e;_0x228166>=0x0;_0x228166--)(_0xd4624e=_0x3f36d4[_0x228166])&&(_0x4f5dcc=(_0x47c883?_0xd4624e(_0x2dbc98,_0x13635d,_0x4f5dcc):_0xd4624e(_0x4f5dcc))||_0x4f5dcc);return _0x47c883&&_0x4f5dcc&&_0x3b0555(_0x2dbc98,_0x13635d,_0x4f5dcc),_0x4f5dcc;},_0x713913=(_0x451119,_0x457478)=>(_0x12f28e,_0x8cba67)=>_0x457478(_0x12f28e,_0x8cba67,_0x451119);let _0x2e20af=class{constructor(_0x215234,_0x3a3f04,_0x34cf3e){const _0x5f4a56=_0x36f281;this[_0x5f4a56(0xdd)]=_0x215234,this[_0x5f4a56(0x2be)]=_0x3a3f04,this[_0x5f4a56(0x232)]=_0x34cf3e,this['init']();}[_0x36f281(0x2bb)](){const _0x1bee5a=_0x36f281;this[_0x1bee5a(0x2be)][_0x1bee5a(0x155)]({'priority':0x1,'interceptor':(_0x4f4e07,_0x48f015)=>_0x48f015(_0x4f4e07)['pipe'](_0x30c949[_0x1bee5a(0x235)](async _0x36dff1=>{const _0x51fb82=_0x1bee5a,_0x353e98=_0x36dff1;if(_0x353e98[_0x51fb82(0x339)]===0x191&&window['confirm'](this[_0x51fb82(0x232)]['t'](_0x51fb82(0x1d4)))){const _0x251aa7=window['encodeURIComponent'](window[_0x51fb82(0x43d)][_0x51fb82(0x150)]);window[_0x51fb82(0x43d)]['href']=this[_0x51fb82(0x3e9)]()+_0x51fb82(0x1b3)+_0x251aa7;}return _0x353e98;}))});}['_getLoginPath'](){const _0x11ea38=_0x36f281;var _0x38d931,_0x38f758;const _0x36fdc6=this['_configService'][_0x11ea38(0x3bd)](_0x40bc0f),_0x4fdfb7=this[_0x11ea38(0xdd)][_0x11ea38(0x3bd)](_0xfe6e3e);return(_0x38f758=(_0x38d931=_0x4fdfb7==null?void 0x0:_0x4fdfb7['loginUrlKey'])!=null?_0x38d931:_0x36fdc6)!=null?_0x38f758:_0x945847;}};_0x2e20af=_0x3f03ee([_0x713913(0x0,_0x593949[_0x36f281(0xe7)]),_0x713913(0x1,_0x593949[_0x36f281(0xb9)](_0x4c2b25[_0x36f281(0x426)])),_0x713913(0x2,_0x593949['Inject'](_0x593949[_0x36f281(0x2bc)]))],_0x2e20af);var _0x2ef9f4=Object['defineProperty'],_0x35d30e=Object['getOwnPropertyDescriptor'],_0x19d738=(_0xe952c2,_0x42d7d0,_0x18d7c8,_0x126883)=>{for(var _0x532d5d=_0x126883>0x1?void 0x0:_0x126883?_0x35d30e(_0x42d7d0,_0x18d7c8):_0x42d7d0,_0x145281=_0xe952c2['length']-0x1,_0x4d9ba7;_0x145281>=0x0;_0x145281--)(_0x4d9ba7=_0xe952c2[_0x145281])&&(_0x532d5d=(_0x126883?_0x4d9ba7(_0x42d7d0,_0x18d7c8,_0x532d5d):_0x4d9ba7(_0x532d5d))||_0x532d5d);return _0x126883&&_0x532d5d&&_0x2ef9f4(_0x42d7d0,_0x18d7c8,_0x532d5d),_0x532d5d;},_0x5db52a=(_0x55f7f2,_0x1928ef)=>(_0x204525,_0x3092b7)=>_0x1928ef(_0x204525,_0x3092b7,_0x55f7f2);const _0x53a088=_0x36f281(0x170),_0x4bf1ad=_0x36f281(0x28d);_0x4238fe['AuthzIoHttpService']=class extends _0x593949[_0x36f281(0x16a)]{constructor(_0x1113f1,_0x507a73){const _0x12e57b=_0x36f281;super(),this[_0x12e57b(0x14d)]=_0x1113f1,this[_0x12e57b(0xdd)]=_0x507a73,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0x384d6b=_0x36f281,_0x3ec204=this;this['disposeWithMe'](this[_0x384d6b(0x14d)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x4c2b25['MergeInterceptorFactory']({'isMatch'(_0x643bce){const _0x52b067=_0x384d6b;var _0x250efc;if(_0x643bce['method']===_0x52b067(0x2bf)&&((_0x250efc=_0x643bce[_0x52b067(0x368)])!=null&&_0x250efc[_0x52b067(0x256)])){const {objectID:_0x3dcfd7,objectType:_0x12fc75}=_0x643bce[_0x52b067(0x368)][_0x52b067(0x256)]||{};if(!_0x3dcfd7||_0x12fc75===void 0x0)return!0x1;const _0x5cc48b=_0x3ec204[_0x52b067(0x2d9)]()+'/'+_0x12fc75+'/object/'+_0x3dcfd7+_0x52b067(0x2fd);if(_0x643bce[_0x52b067(0x239)]===_0x5cc48b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5b6b23){const _0x4beaf4=_0x384d6b;var _0x4857fb;return(_0x4857fb=_0x5b6b23[_0x4beaf4(0x368)])==null?void 0x0:_0x4857fb[_0x4beaf4(0x256)];},'mergeParamsToRequest'(_0x3a38e7,_0x170ec8){const _0x46de2e=_0x384d6b,_0x249111=_0x3ec204[_0x46de2e(0x2d9)]()+_0x46de2e(0x2fb),_0x4131e8=_0x3a38e7['reduce']((_0x2c5faf,_0x3e55a9)=>{const _0x1f5362=_0x46de2e,{unitID:_0x1600e1,objectID:_0x5bb0b6,objectType:_0x266af9,actions:_0x5d31da}=_0x3e55a9;return _0x2c5faf[_0x1600e1]||(_0x2c5faf[_0x1600e1]={}),_0x2c5faf[_0x1600e1][_0x5bb0b6]||(_0x2c5faf[_0x1600e1][_0x5bb0b6]={'objectID':_0x5bb0b6,'objectType':_0x266af9,'actions':[]}),_0x2c5faf[_0x1600e1][_0x5bb0b6][_0x1f5362(0x3b0)][_0x1f5362(0x43c)](..._0x5d31da),_0x2c5faf;},{}),_0x5f4493=[];for(const _0x4fa5e7 in _0x4131e8)for(const _0x2ec48e in _0x4131e8[_0x4fa5e7]){const {actions:_0x336563,objectType:_0x32de66}=_0x4131e8[_0x4fa5e7][_0x2ec48e],_0x338537=[...new Set(_0x336563)];_0x5f4493[_0x46de2e(0x43c)]({'unitID':_0x4fa5e7,'objectID':_0x2ec48e,'objectType':_0x32de66,'actions':_0x338537});}return new _0x4c2b25[(_0x46de2e(0x2f5))](_0x46de2e(0x2bf),_0x249111,{'headers':_0x170ec8['headers'],'withCredentials':_0x170ec8[_0x46de2e(0x11a)],'responseType':_0x170ec8[_0x46de2e(0x35b)],'body':{'requests':_0x5f4493}});}},{'distributeResult'(_0x2cd386,_0x4160eb){const _0x1836c4=_0x384d6b,{objectActions:_0x2286aa}=_0x2cd386;return _0x4160eb[_0x1836c4(0x1de)](_0x5265d2=>{const _0x5c4bce=_0x1836c4,{unitID:_0x59deee,objectID:_0x57700b,actions:_0x46dfa4}=_0x5265d2,_0x394281=_0x2286aa[_0x5c4bce(0x1fd)](_0x37cda5=>_0x37cda5[_0x5c4bce(0x2ba)]===_0x59deee&&_0x37cda5['objectID']===_0x57700b),_0x53fd15=_0x46dfa4['map'](_0x438057=>_0x394281==null?void 0x0:_0x394281['actions'][_0x5c4bce(0x1fd)](_0x11de9e=>_0x11de9e[_0x5c4bce(0x3f9)]===_0x438057))[_0x5c4bce(0x218)](_0xe648c3=>!!_0xe648c3);return{'config':_0x5265d2,'result':{'actions':_0x53fd15,'error':_0x2cd386[_0x5c4bce(0x302)]}};});}})}));}['_getAPIPrefixPath'](){const _0x50e21e=_0x36f281;var _0x2d01f3,_0x22d8e5;const _0x12e0d3=this['_configService']['getConfig'](_0x53a088),_0x5ab16a=this[_0x50e21e(0xdd)]['getConfig'](_0xfe6e3e);return(_0x22d8e5=(_0x2d01f3=_0x5ab16a==null?void 0x0:_0x5ab16a[_0x50e21e(0x1a6)])!=null?_0x2d01f3:_0x12e0d3)!=null?_0x22d8e5:_0x4bf1ad;}async[_0x36f281(0x4cc)](_0x3e9298){const _0xf9fed5=_0x36f281,_0x4a3af5=this[_0xf9fed5(0x2d9)]()+'/'+_0x3e9298[_0xf9fed5(0x459)]+_0xf9fed5(0x355);return(await this['_HTTPService'][_0xf9fed5(0x13c)](_0x4a3af5,{'body':_0x3e9298}))['body'][_0xf9fed5(0x1ce)]||'';}async[_0x36f281(0x2f0)](_0x1b54dd){const _0x373c36=_0x36f281,_0x5a30ab=this[_0x373c36(0x2d9)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x5a30ab,{'body':_0x1b54dd}))[_0x373c36(0x256)][_0x373c36(0x38b)];}async[_0x36f281(0x266)](_0x5cf139){const _0x3f1c31=_0x36f281,_0x56cc06=this[_0x3f1c31(0x2d9)]()+'/'+_0x5cf139[_0x3f1c31(0x459)]+_0x3f1c31(0xf3)+_0x5cf139[_0x3f1c31(0x1ce)];await this['_HTTPService'][_0x3f1c31(0x114)](_0x56cc06,{'body':_0x5cf139});}async[_0x36f281(0x366)](_0x2cd959){const _0x23215=_0x36f281,_0x1c9231=this['_getAPIPrefixPath']()+'/'+_0x2cd959[_0x23215(0x459)]+_0x23215(0xf3)+_0x2cd959[_0x23215(0x1ce)]+'/allowed';return(await this[_0x23215(0x14d)][_0x23215(0x13c)](_0x1c9231,{'body':_0x2cd959}))['body'][_0x23215(0x3b0)];}async['batchAllowed'](_0x10f539){const _0x23d250=_0x36f281,_0x2cffa9=this[_0x23d250(0x2d9)]()+_0x23d250(0x2fb);return(await this[_0x23d250(0x14d)][_0x23d250(0x13c)](_0x2cffa9,{'body':{'requests':_0x10f539}}))[_0x23d250(0x256)][_0x23d250(0x2d0)];}async[_0x36f281(0x448)](_0x285d63){const _0x446177=_0x36f281,_0x490f26=this[_0x446177(0x2d9)]()+'/'+_0x285d63[_0x446177(0x459)]+_0x446177(0x3f1),_0x20267d=await this[_0x446177(0x14d)][_0x446177(0x13c)](_0x490f26,{'body':_0x285d63});return{'roles':_0x20267d[_0x446177(0x256)][_0x446177(0x234)],'actions':_0x20267d[_0x446177(0x256)]['actions']};}async[_0x36f281(0x32e)](_0x3da400){const _0x1b018b=_0x36f281,_0x4d61b0=this[_0x1b018b(0x2d9)]()+_0x1b018b(0xd3);await this[_0x1b018b(0x14d)][_0x1b018b(0x393)](_0x4d61b0,{'params':{'collaboratorID':_0x3da400[_0x1b018b(0x269)],'objectID':_0x3da400[_0x1b018b(0x1ce)],'unitID':_0x3da400['unitID']}});}async['updateCollaborator'](_0x2d344f){const _0x530329=_0x36f281,_0x164129=this['_getAPIPrefixPath']()+_0x530329(0xd3);await this[_0x530329(0x14d)]['patch'](_0x164129,{'body':_0x2d344f});}async[_0x36f281(0x342)](_0xbac71e){const _0x5b8922=_0x36f281,_0x221e79=this['_getAPIPrefixPath']()+_0x5b8922(0xd3);await this['_HTTPService'][_0x5b8922(0x13c)](_0x221e79,{'body':_0xbac71e});}async['listCollaborators'](_0x3ee79b){const _0x1d9192=_0x36f281,_0x416c86=this[_0x1d9192(0x2d9)]()+'/collaborator';return(await this[_0x1d9192(0x14d)][_0x1d9192(0x14e)](_0x416c86,{'params':{'objectID':_0x3ee79b[_0x1d9192(0x1ce)],'unitID':_0x3ee79b[_0x1d9192(0x2ba)]}}))[_0x1d9192(0x256)][_0x1d9192(0x17c)];}async['putCollaborators'](_0x5222ac){const _0xbb1f4a=_0x36f281,_0x596dea=this[_0xbb1f4a(0x2d9)]()+_0xbb1f4a(0xd3);await this[_0xbb1f4a(0x14d)]['put'](_0x596dea,{'body':_0x5222ac});}},_0x4238fe[_0x36f281(0x3be)]=_0x19d738([_0x5db52a(0x0,_0x593949[_0x36f281(0xb9)](_0x4c2b25[_0x36f281(0x426)])),_0x5db52a(0x1,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xe7)]))],_0x4238fe['AuthzIoHttpService']);var _0x20fef0=Object[_0x36f281(0x49a)],_0xbc48c0=Object[_0x36f281(0x381)],_0x3cdb4f=(_0x1a5d5c,_0xec4aa5,_0x2deea3,_0x5513fc)=>{const _0x3dae9b=_0x36f281;for(var _0xdafab1=_0x5513fc>0x1?void 0x0:_0x5513fc?_0xbc48c0(_0xec4aa5,_0x2deea3):_0xec4aa5,_0x2800b4=_0x1a5d5c[_0x3dae9b(0x43f)]-0x1,_0x5ef953;_0x2800b4>=0x0;_0x2800b4--)(_0x5ef953=_0x1a5d5c[_0x2800b4])&&(_0xdafab1=(_0x5513fc?_0x5ef953(_0xec4aa5,_0x2deea3,_0xdafab1):_0x5ef953(_0xdafab1))||_0xdafab1);return _0x5513fc&&_0xdafab1&&_0x20fef0(_0xec4aa5,_0x2deea3,_0xdafab1),_0xdafab1;},_0x4dbfb4=(_0xb2ed15,_0x53384a)=>(_0x4adfd9,_0x367a29)=>_0x53384a(_0x4adfd9,_0x367a29,_0xb2ed15);let _0x131dae=class{constructor(_0xc64324){const _0x429a3d=_0x36f281;this[_0x429a3d(0x2be)]=_0xc64324,this[_0x429a3d(0x285)]();}[_0x36f281(0x285)](){const _0x417ba8=_0x36f281;this[_0x417ba8(0x2be)][_0x417ba8(0x155)]({'interceptor':(_0x523ec0,_0x5c5c29)=>{const _0x33559a=_0x417ba8,_0x1965bb=_0x523ec0['headers'],_0x483c81=_0x56e63b[_0x33559a(0x423)]();return _0x483c81&&_0x1965bb[_0x33559a(0x2bd)](_0x33559a(0x193),_0x483c81),_0x5c5c29(_0x523ec0);}});}};_0x131dae=_0x3cdb4f([_0x4dbfb4(0x0,_0x593949[_0x36f281(0xb9)](_0x4c2b25['HTTPService']))],_0x131dae);var _0x35b515=Object[_0x36f281(0x49a)],_0x325f4d=Object[_0x36f281(0x381)],_0xf6657c=(_0x21834c,_0x41b5f2,_0x3d9b44,_0x3fb083)=>{const _0x1e0a95=_0x36f281;for(var _0x2348f5=_0x3fb083>0x1?void 0x0:_0x3fb083?_0x325f4d(_0x41b5f2,_0x3d9b44):_0x41b5f2,_0x152c2d=_0x21834c[_0x1e0a95(0x43f)]-0x1,_0x35e828;_0x152c2d>=0x0;_0x152c2d--)(_0x35e828=_0x21834c[_0x152c2d])&&(_0x2348f5=(_0x3fb083?_0x35e828(_0x41b5f2,_0x3d9b44,_0x2348f5):_0x35e828(_0x2348f5))||_0x2348f5);return _0x3fb083&&_0x2348f5&&_0x35b515(_0x41b5f2,_0x3d9b44,_0x2348f5),_0x2348f5;},_0x123bae=(_0x5883d5,_0x5644c4)=>(_0x4c1a4d,_0x50b306)=>_0x5644c4(_0x4c1a4d,_0x50b306,_0x5883d5);const _0xe87d0b=[_0x36f281(0x35d),_0x36f281(0x4e5),'image/jpg',_0x36f281(0x166),_0x36f281(0x34d)],_0x3b066f=0x5*0x400*0x400,_0x7cb682='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x3dff72=_0x36f281(0x486),_0x4b4605='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0xfd321b='/universer-api/file/{fileID}/sign-url';_0x4238fe[_0x36f281(0x456)]=class{constructor(_0x5d3bec,_0x298387,_0x43305e){const _0x2e7312=_0x36f281;_0x3e0772(this,_0x2e7312(0x37e),0x0),_0x3e0772(this,_0x2e7312(0xe2),new _0x30c949[(_0x2e7312(0x20c))]()),_0x3e0772(this,_0x2e7312(0x267),this['_change$']),_0x3e0772(this,_0x2e7312(0xfe),new Map()),(this[_0x2e7312(0x2be)]=_0x5d3bec,this[_0x2e7312(0xdd)]=_0x298387,this[_0x2e7312(0x276)]=_0x43305e);}['setWaitCount'](_0x4dc761){const _0x149359=_0x36f281;this[_0x149359(0x37e)]=_0x4dc761,this[_0x149359(0xe2)][_0x149359(0x4e6)](_0x4dc761);}['getImageSourceCache'](_0x2878ea,_0x496607){const _0x403262=_0x36f281;if(_0x496607===_0x2b881e[_0x403262(0x4b6)][_0x403262(0x45f)]){const _0x4b1449=new Image();return _0x4b1449[_0x403262(0x494)]=_0x2878ea,_0x4b1449;}return this[_0x403262(0xfe)][_0x403262(0x14e)](_0x2878ea);}[_0x36f281(0x1df)](_0x351f98,_0x2ffc72,_0x15f1a8){const _0x29e8cc=_0x36f281;_0x2ffc72===_0x2b881e['ImageSourceType'][_0x29e8cc(0x45f)]||_0x15f1a8==null||this[_0x29e8cc(0xfe)][_0x29e8cc(0x2bd)](_0x351f98,_0x15f1a8);}async[_0x36f281(0xfa)](_0x2cfb1b){const _0x4e9ca3=_0x36f281;try{const _0x1721ab=this[_0x4e9ca3(0x1fa)](this[_0x4e9ca3(0x123)](),''+_0x2cfb1b),_0x596ce7=(await this['_httpService'][_0x4e9ca3(0x14e)](_0x1721ab))[_0x4e9ca3(0x256)];if(_0x596ce7[_0x4e9ca3(0x302)]&&_0x596ce7[_0x4e9ca3(0x302)][_0x4e9ca3(0x2a3)]===_0x52baf3['OK']){const _0x18d3d7=new URL(_0x596ce7[_0x4e9ca3(0x239)],this[_0x4e9ca3(0x125)]())['toString']();return Promise[_0x4e9ca3(0x122)](_0x18d3d7);}return Promise[_0x4e9ca3(0x167)](_0x596ce7[_0x4e9ca3(0x302)]);}catch(_0x4cca9b){return Promise[_0x4e9ca3(0x167)](_0x4cca9b);}}async[_0x36f281(0x3ea)](_0x29e84b){const _0x319acd=_0x36f281;let _0x5d4641='';if(!_0xe87d0b[_0x319acd(0x489)](_0x29e84b[_0x319acd(0x17b)]))return this[_0x319acd(0x1be)](),Promise[_0x319acd(0x167)](new Error(_0x2b881e['ImageUploadStatusType'][_0x319acd(0xa9)]));if(_0x29e84b[_0x319acd(0x4a3)]>_0x3b066f)return this[_0x319acd(0x1be)](),Promise[_0x319acd(0x167)](new Error(_0x2b881e[_0x319acd(0x2f8)][_0x319acd(0x33b)]));try{const _0x41c1e0=new FormData();_0x41c1e0['append'](_0x319acd(0x37a),_0x29e84b);const _0x34e478=this[_0x319acd(0x276)][_0x319acd(0x1f6)](),_0x5eeec6=_0x34e478==null?void 0x0:_0x34e478[_0x319acd(0x4c0)]();if(!_0x5eeec6)throw new Error(_0x319acd(0xc2));const _0xdbc19=this['_getUploadFileURL']()+_0x319acd(0xcb)+_0x29e84b['size'][_0x319acd(0x13d)]()+'&source='+_0x34a97d[_0x319acd(0x286)]+'&assign='+encodeURIComponent(_0x5eeec6),_0x550bc3=await(await fetch(_0xdbc19,{'method':'POST','body':_0x41c1e0}))[_0x319acd(0x332)]();if(typeof _0x550bc3['FileId']!=_0x319acd(0x2a8))return this[_0x319acd(0x1be)](),Promise['reject'](new Error(_0x2b881e[_0x319acd(0x2f8)][_0x319acd(0x2f3)]));_0x5d4641=_0x550bc3[_0x319acd(0x465)];}catch{return this[_0x319acd(0x1be)](),Promise['reject'](new Error(_0x2b881e[_0x319acd(0x2f8)][_0x319acd(0x2f3)]));}return new Promise((_0x47120c,_0x18592a)=>{const _0x1a947a=_0x319acd,_0x4399d7=new FileReader();_0x4399d7[_0x1a947a(0x229)](_0x29e84b),_0x4399d7[_0x1a947a(0x396)]=_0x628fce=>{const _0x289cfb=_0x1a947a;var _0x702fb8;const _0x37d28e=(_0x702fb8=_0x628fce[_0x289cfb(0x4cd)])==null?void 0x0:_0x702fb8['result'];if(_0x37d28e==null){this[_0x289cfb(0x1be)](),_0x18592a(new Error(_0x2b881e['ImageUploadStatusType'][_0x289cfb(0x2f3)]));return;}const _0x4eb02d=_0x593949[_0x289cfb(0x205)][_0x289cfb(0x433)](0x6);_0x47120c({'imageId':_0x4eb02d,'imageSourceType':_0x2b881e[_0x289cfb(0x4b6)][_0x289cfb(0x3db)],'source':_0x5d4641,'base64Cache':_0x37d28e,'status':_0x2b881e[_0x289cfb(0x2f8)]['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x20f35a=_0x36f281;var _0x258005,_0x43350a;const _0x246352=this[_0x20f35a(0xdd)]['getConfig'](_0x7cb682),_0x4dd29f=this[_0x20f35a(0xdd)]['getConfig'](_0xfe6e3e);return(_0x43350a=(_0x258005=_0x4dd29f==null?void 0x0:_0x4dd29f[_0x20f35a(0x327)])!=null?_0x258005:_0x246352)!=null?_0x43350a:_0x3dff72;}[_0x36f281(0x123)](){const _0x820333=_0x36f281;var _0x3d0af6,_0x301bb8;const _0x43526c=this[_0x820333(0xdd)][_0x820333(0x3bd)](_0x4b4605),_0x5adeeb=this[_0x820333(0xdd)][_0x820333(0x3bd)](_0xfe6e3e);return(_0x301bb8=(_0x3d0af6=_0x5adeeb==null?void 0x0:_0x5adeeb[_0x820333(0x3a2)])!=null?_0x3d0af6:_0x43526c)!=null?_0x301bb8:_0xfd321b;}[_0x36f281(0x125)](){const _0x14af70=_0x36f281;var _0x146ffd;const _0x513572=this['_configService'][_0x14af70(0x3bd)](_0xfe6e3e);return(_0x146ffd=_0x513572==null?void 0x0:_0x513572[_0x14af70(0x1a2)])!=null?_0x146ffd:location['origin'];}[_0x36f281(0x1fa)](_0x172508,_0x264036){const _0x5f4e77=_0x36f281;return _0x172508['replace'](_0x5f4e77(0x2e1),_0x264036);}[_0x36f281(0x1be)](){const _0x9d77b=_0x36f281;this[_0x9d77b(0x37e)]-=0x1,this['_change$']['next'](this['_waitCount']);}},_0x4238fe[_0x36f281(0x456)]=_0xf6657c([_0x123bae(0x0,_0x593949[_0x36f281(0xb9)](_0x4c2b25[_0x36f281(0x426)])),_0x123bae(0x1,_0x593949[_0x36f281(0xe7)]),_0x123bae(0x2,_0x593949['Inject'](_0x593949[_0x36f281(0x1dc)]))],_0x4238fe[_0x36f281(0x456)]);var _0x31305b=Object[_0x36f281(0x49a)],_0xf6f75d=Object[_0x36f281(0x381)],_0x4f444a=(_0x2bc589,_0x9ad8dd,_0x256b5d,_0x2bd06b)=>{const _0x284c0b=_0x36f281;for(var _0x17f36f=_0x2bd06b>0x1?void 0x0:_0x2bd06b?_0xf6f75d(_0x9ad8dd,_0x256b5d):_0x9ad8dd,_0x537158=_0x2bc589[_0x284c0b(0x43f)]-0x1,_0x122f5f;_0x537158>=0x0;_0x537158--)(_0x122f5f=_0x2bc589[_0x537158])&&(_0x17f36f=(_0x2bd06b?_0x122f5f(_0x9ad8dd,_0x256b5d,_0x17f36f):_0x122f5f(_0x17f36f))||_0x17f36f);return _0x2bd06b&&_0x17f36f&&_0x31305b(_0x9ad8dd,_0x256b5d,_0x17f36f),_0x17f36f;},_0x20bc53=(_0x63f27a,_0x57fef2)=>(_0x5afcc5,_0x44565c)=>_0x57fef2(_0x5afcc5,_0x44565c,_0x63f27a);let _0x33dc8d=class extends _0x593949[_0x36f281(0x130)]{constructor(_0x5f473c,_0x593c73,_0x222804,_0x245b3e,_0x51ba14){const _0x1e7dbb=_0x36f281;super(),this[_0x1e7dbb(0xf1)]=_0x5f473c,this['_univerInstanceService']=_0x593c73,this[_0x1e7dbb(0x397)]=_0x222804,this[_0x1e7dbb(0x1c5)]=_0x245b3e,this[_0x1e7dbb(0x36f)]=_0x51ba14,this['_initUnitPermissionChange'](),this[_0x1e7dbb(0x34e)]();}[_0x36f281(0x34e)](){const _0xb445a7=_0x36f281,_0x2c1503=async _0x56856f=>{const _0x19373a=_0x4c16;(await this['_collaborationSessionService']['requireSession'](_0x56856f))[_0x19373a(0x44d)][_0x19373a(0x49c)](_0x218e56['filter'](_0x18e6ef=>_0x18e6ef[_0x19373a(0x10a)]===_0x4968b4['CollaborationEvent'][_0x19373a(0x451)]),_0x218e56[_0x19373a(0x142)](this[_0x19373a(0x4d4)]))[_0x19373a(0x188)](_0x3f548e=>{const _0x5aed58=_0x19373a,_0x40d162=_0x3f548e,{reason:_0x3ac3e8}=_0x40d162[_0x5aed58(0x298)];this['_injector']['get'](_0xc44033['IMessageService'])[_0x5aed58(0x348)]({'type':_0x2b27fc['MessageType'][_0x5aed58(0x40f)],'content':this['_localeService']['t'](_0x5aed58(0x1d1))+'('+_0x3ac3e8+')'}),this[_0x5aed58(0x397)]['updatePermissionPoint'](new _0xec6805[(_0x5aed58(0x1d2))](_0x56856f)['id'],!0x1),this[_0x5aed58(0x1c5)][_0x5aed58(0x1bb)](_0x56856f);});};_0x30c949['merge'](this[_0xb445a7(0x276)]['getTypeOfUnitAdded$'](_0x593949[_0xb445a7(0xaf)]['UNIVER_SHEET']),this[_0xb445a7(0x276)][_0xb445a7(0x19c)](_0x593949[_0xb445a7(0xaf)][_0xb445a7(0x4e1)]))[_0xb445a7(0x49c)](_0x218e56[_0xb445a7(0x1de)](_0x3951d8=>_0x3951d8['getUnitId']()),_0x218e56['filter'](_0x5d6c5a=>!_0x593949[_0xb445a7(0x3e0)](_0x5d6c5a)),_0x218e56[_0xb445a7(0x142)](this['dispose$']))[_0xb445a7(0x188)](_0x502efe=>{_0x2c1503(_0x502efe);});}[_0x36f281(0x441)](){const _0x5f217e=_0x36f281,_0x47c5a1=async _0x27b88d=>{const _0x3fdd36=_0x4c16;(await this[_0x3fdd36(0x1c5)]['requireSession'](_0x27b88d))['event$'][_0x3fdd36(0x49c)](_0x218e56[_0x3fdd36(0x218)](_0x4dbcd6=>_0x4dbcd6[_0x3fdd36(0x10a)]===_0x4968b4['CollaborationEvent'][_0x3fdd36(0x299)]),_0x218e56[_0x3fdd36(0x142)](this[_0x3fdd36(0x4d4)]))['subscribe'](_0x270a1e=>{const _0x22560e=_0x3fdd36,_0x35a299=_0x270a1e,{objectId:_0x5eb797}=_0x35a299[_0x22560e(0x298)],_0x4bf781=this[_0x22560e(0xf1)][_0x22560e(0x14e)](_0x35ed85[_0x22560e(0x403)]);_0x5eb797===_0x27b88d?_0x4bf781[_0x22560e(0x15d)](_0x27b88d):_0x4bf781[_0x22560e(0x291)](_0x27b88d,_0x5eb797);});};_0x30c949[_0x5f217e(0x27f)](this[_0x5f217e(0x276)][_0x5f217e(0x19c)](_0x593949[_0x5f217e(0xaf)]['UNIVER_SHEET']),this[_0x5f217e(0x276)]['getTypeOfUnitAdded$'](_0x593949[_0x5f217e(0xaf)][_0x5f217e(0x4e1)]))[_0x5f217e(0x49c)](_0x218e56[_0x5f217e(0x1de)](_0x5d9710=>_0x5d9710[_0x5f217e(0x4c0)]()),_0x218e56[_0x5f217e(0x218)](_0x434d29=>!_0x593949['isInternalEditorID'](_0x434d29)),_0x218e56[_0x5f217e(0x142)](this[_0x5f217e(0x4d4)]))[_0x5f217e(0x188)](_0x1809ad=>{_0x47c5a1(_0x1809ad);});}};_0x33dc8d=_0x4f444a([_0x20bc53(0x0,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x20bc53(0x1,_0x593949[_0x36f281(0x1dc)]),_0x20bc53(0x2,_0x593949[_0x36f281(0x191)]),_0x20bc53(0x3,_0x593949[_0x36f281(0xb9)](_0x4238fe['CollaborationSessionService'])),_0x20bc53(0x4,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0x2bc)]))],_0x33dc8d);var _0x2989cb=Object[_0x36f281(0x49a)],_0xbb894a=Object[_0x36f281(0x381)],_0x456626=(_0x38d2fc,_0x1e1d4d,_0x1ee3fe,_0x422f4c)=>{const _0x30d443=_0x36f281;for(var _0x51b643=_0x422f4c>0x1?void 0x0:_0x422f4c?_0xbb894a(_0x1e1d4d,_0x1ee3fe):_0x1e1d4d,_0x47379d=_0x38d2fc[_0x30d443(0x43f)]-0x1,_0x58b95d;_0x47379d>=0x0;_0x47379d--)(_0x58b95d=_0x38d2fc[_0x47379d])&&(_0x51b643=(_0x422f4c?_0x58b95d(_0x1e1d4d,_0x1ee3fe,_0x51b643):_0x58b95d(_0x51b643))||_0x51b643);return _0x422f4c&&_0x51b643&&_0x2989cb(_0x1e1d4d,_0x1ee3fe,_0x51b643),_0x51b643;},_0x3700e5=(_0x4b077e,_0x555f73)=>(_0x3943d2,_0x450dfa)=>_0x555f73(_0x3943d2,_0x450dfa,_0x4b077e);_0x4238fe['SnapshotServerOverHTTPService']=class{constructor(_0xca42da,_0x509503){const _0x1c951d=_0x36f281;this[_0x1c951d(0xdd)]=_0xca42da,this['_httpService']=_0x509503;}async['getUnitOnRev'](_0x4a5db2,_0x58edfa){const _0x2239ff=_0x36f281;var _0x33f7b8;const {unitID:_0x54ca0b,type:_0x4b0611,revision:_0x10c6d4=0x0}=_0x58edfa,_0x1e5c5b=this['_getSnapshotAPIPrefix']()+'/'+_0x4b0611+'/unit/'+_0x54ca0b+'/rev/'+_0x10c6d4,_0x3ebad3=(await this['_httpService']['get'](_0x1e5c5b))[_0x2239ff(0x256)],_0x48b967=(_0x33f7b8=_0x3ebad3[_0x2239ff(0x314)])==null?void 0x0:_0x33f7b8[_0x2239ff(0x272)];if(_0x48b967){const _0x466cef=_0x48b967==null?void 0x0:_0x48b967[_0x2239ff(0x4a1)],_0x5070dc=_0x4968b4[_0x2239ff(0x2b7)][_0x2239ff(0x22e)](_0x4968b4['b64DecodeUnicode'](_0x466cef));_0x48b967[_0x2239ff(0x4a1)]=_0x5070dc,Object['entries'](_0x48b967[_0x2239ff(0x281)])['forEach'](([,_0xdef50b])=>{const _0x430376=_0x2239ff,_0x25db27=_0xdef50b['originalMeta'],_0x85e57e=_0x4968b4['textEncoder'][_0x430376(0x22e)](_0x4968b4['b64DecodeUnicode'](_0x25db27));_0xdef50b['originalMeta']=_0x85e57e;});}return _0x3ebad3;}async[_0x36f281(0x38f)](_0x2c42f9,_0x385631){const _0x2ea763=_0x36f281,{unitID:_0x5b5500,type:_0x6ed45b,blockID:_0x1b3888}=_0x385631,_0xac2995=this[_0x2ea763(0xdc)]()+'/'+_0x6ed45b+_0x2ea763(0x2e5)+_0x5b5500+_0x2ea763(0x470)+_0x1b3888;return(await this['_httpService'][_0x2ea763(0x14e)](_0xac2995))['body'];}async[_0x36f281(0x171)](_0x59146d,_0x249f1e){const _0x236344=_0x36f281,{unitID:_0x182823,type:_0x4e1407,blockID:_0x179510}=_0x249f1e,_0x86b84b=this['_getAPIPrefix']()+_0x236344(0x470)+_0x4e1407+_0x236344(0x2e5)+_0x182823+'/block/'+_0x179510;return(await this[_0x236344(0x2be)][_0x236344(0x14e)](_0x86b84b))[_0x236344(0x256)];}async[_0x36f281(0x471)](_0x312df6,_0x28ecab){const _0x1da5b7=_0x36f281,{unitID:_0x9178b2,type:_0x390ecf,from:_0x9b9422,to:_0x22e39d}=_0x28ecab,_0x5d3439=this[_0x1da5b7(0xdc)]()+'/'+_0x390ecf+_0x1da5b7(0x2e5)+_0x9178b2+_0x1da5b7(0x335)+_0x9b9422+_0x1da5b7(0x23d)+_0x22e39d;return(await this[_0x1da5b7(0x2be)][_0x1da5b7(0x14e)](_0x5d3439))[_0x1da5b7(0x256)];}['_getSnapshotAPIPrefix'](){const _0x39d0a5=_0x36f281;var _0x1d94ae;return(_0x1d94ae=this[_0x39d0a5(0xdd)]['getConfig'](_0x418a13))!=null?_0x1d94ae:this[_0x39d0a5(0xdc)]();}['_getAPIPrefix'](){const _0x42b2f1=_0x36f281;var _0x56ee07,_0x569b9c;const _0x57e47c=this[_0x42b2f1(0xdd)][_0x42b2f1(0x3bd)](_0x3f5413),_0x3a5033=this[_0x42b2f1(0xdd)][_0x42b2f1(0x3bd)](_0xfe6e3e);return(_0x569b9c=(_0x56ee07=_0x3a5033==null?void 0x0:_0x3a5033[_0x42b2f1(0x1b4)])!=null?_0x56ee07:_0x57e47c)!=null?_0x569b9c:_0x227a95;}async[_0x36f281(0x41a)](_0x50ecc5,_0x3d253b){const _0x177602=_0x36f281,_0x4ad7cd=_0x177602(0x317)+_0x3d253b['type']+_0x177602(0x2e5)+_0x3d253b['unitID']+_0x177602(0x44a);return(await this['_httpService'][_0x177602(0x14e)](_0x4ad7cd,{'params':{'resourceId':JSON[_0x177602(0xc1)](_0x3d253b[_0x177602(0x120)])}}))['body'];}[_0x36f281(0x4be)](){const _0x2a96c9=_0x36f281;throw new Error(_0x2a96c9(0x24e));}['saveSheetBlock'](){const _0x4cf5de=_0x36f281;throw new Error(_0x4cf5de(0x24e));}[_0x36f281(0x2c3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x36f281(0x227)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x36f281(0x1c1)](){const _0x3c8a9f=_0x36f281;throw new Error(_0x3c8a9f(0x24e));}},_0x4238fe[_0x36f281(0x4a6)]=_0x456626([_0x3700e5(0x0,_0x593949[_0x36f281(0xe7)]),_0x3700e5(0x1,_0x593949[_0x36f281(0xb9)](_0x4c2b25['HTTPService']))],_0x4238fe['SnapshotServerOverHTTPService']);var _0x3f71a6=Object[_0x36f281(0x49a)],_0x51dea4=Object[_0x36f281(0x381)],_0xf42ea2=(_0x1720d1,_0x262048,_0xf64f20,_0x2b8803)=>{const _0x46962d=_0x36f281;for(var _0x1aa46f=_0x2b8803>0x1?void 0x0:_0x2b8803?_0x51dea4(_0x262048,_0xf64f20):_0x262048,_0x22e82b=_0x1720d1[_0x46962d(0x43f)]-0x1,_0x2d5e81;_0x22e82b>=0x0;_0x22e82b--)(_0x2d5e81=_0x1720d1[_0x22e82b])&&(_0x1aa46f=(_0x2b8803?_0x2d5e81(_0x262048,_0xf64f20,_0x1aa46f):_0x2d5e81(_0x1aa46f))||_0x1aa46f);return _0x2b8803&&_0x1aa46f&&_0x3f71a6(_0x262048,_0xf64f20,_0x1aa46f),_0x1aa46f;},_0x363352=(_0x123431,_0x51ba8d)=>(_0x5b2994,_0x307e4e)=>_0x51ba8d(_0x5b2994,_0x307e4e,_0x123431);let _0x360146=class extends _0x593949[_0x36f281(0x354)]{constructor(_0x41acf8,_0x587449,_0x4eb896,_0x1c9a6c,_0x488392){const _0x3adde9=_0x36f281;super(_0x41acf8,_0x587449,_0x4eb896),this[_0x3adde9(0x496)]=_0x1c9a6c,this[_0x3adde9(0x3df)]=_0x488392;}[_0x36f281(0x194)](_0x7b5d78,_0x38dfc3){const _0x29e28d=_0x36f281,_0x490090=this[_0x29e28d(0x211)](_0x7b5d78);if(_0x490090)try{const _0x1ac054=this[_0x29e28d(0x29d)](_0x490090,_0x38dfc3);this[_0x29e28d(0x34f)](_0x7b5d78,_0x1ac054);}catch(_0x3a3061){this[_0x29e28d(0x3df)][_0x29e28d(0x302)](_0x29e28d(0x3c7),_0x3a3061),this[_0x29e28d(0x2d5)](_0x7b5d78);}const _0x480ca9=this[_0x29e28d(0x3a0)](_0x7b5d78);if(_0x480ca9)try{const _0x2d579e=this[_0x29e28d(0x29d)](_0x480ca9,_0x38dfc3);this[_0x29e28d(0x328)](_0x7b5d78,_0x2d579e);}catch(_0x49389a){this[_0x29e28d(0x3df)]['error'](_0x49389a),this[_0x29e28d(0x1a5)](_0x7b5d78);}}[_0x36f281(0x2d5)](_0x4cd7b7){const _0x34a157=_0x36f281,_0x47c61e=this[_0x34a157(0x211)](_0x4cd7b7);_0x47c61e&&(_0x47c61e[_0x34a157(0x43f)]=0x0,this[_0x34a157(0x1c2)]());}[_0x36f281(0x1a5)](_0x19093f){const _0x377fed=_0x36f281,_0x422b0e=this[_0x377fed(0x3a0)](_0x19093f);_0x422b0e&&(_0x422b0e['length']=0x0,this[_0x377fed(0x1c2)]());}[_0x36f281(0x34f)](_0x3193b6,_0x598c70){const _0x24213a=_0x36f281;this[_0x24213a(0x282)]['set'](_0x3193b6,_0x598c70),this[_0x24213a(0x1c2)]();}[_0x36f281(0x328)](_0x16e176,_0x1fdb02){const _0x2cd1fc=_0x36f281;this['_redoStacks'][_0x2cd1fc(0x2bd)](_0x16e176,_0x1fdb02),this['_updateStatus']();}[_0x36f281(0x29d)](_0xadf77,_0x5316e5){const _0x4b9d73=_0x36f281,_0x1e0bd7=[];let _0xccdf7=_0x5316e5,_0x4750b7=_0x5316e5;for(let _0x484733=_0xadf77[_0x4b9d73(0x43f)]-0x1;_0x484733>=0x0;_0x484733--){const {unitID:_0x1186ec,undoMutations:_0x54ec7c,redoMutations:_0x402ae4}=_0xadf77[_0x484733],_0xc2a2d5=this[_0x4b9d73(0x496)]['transformMutationsWithChangeset'](_0xccdf7,_0x54ec7c),_0x3209fc=this[_0x4b9d73(0x496)][_0x4b9d73(0x310)](_0x4750b7,_0x402ae4);if(_0x4968b4[_0x4b9d73(0x3d9)](_0xc2a2d5)||_0x4968b4['isTransformMutationsWithChangesetFailure'](_0x3209fc)){this[_0x4b9d73(0x3df)][_0x4b9d73(0x302)](_0x4b9d73(0x3c7),_0x4b9d73(0x2cd),_0xc2a2d5,_0x3209fc);break;}_0xccdf7=_0xc2a2d5['c1Prime'],_0x4750b7=_0x3209fc[_0x4b9d73(0x39f)],_0x1e0bd7[_0x4b9d73(0x43c)]({'unitID':_0x1186ec,'undoMutations':_0xc2a2d5[_0x4b9d73(0xb3)],'redoMutations':_0x3209fc[_0x4b9d73(0xb3)]});}return _0x1e0bd7[_0x4b9d73(0x460)]();}};_0x360146=_0xf42ea2([_0x363352(0x0,_0x593949['IUniverInstanceService']),_0x363352(0x1,_0x593949['ICommandService']),_0x363352(0x2,_0x593949['IContextService']),_0x363352(0x3,_0x4968b4['ITransformService']),_0x363352(0x4,_0x593949[_0x36f281(0x380)])],_0x360146);class _0x4e05d9 extends _0x593949['RxDisposable']{constructor(){const _0x2b8516=_0x36f281;super(),_0x3e0772(this,_0x2b8516(0x2a5)),this[_0x2b8516(0x2a5)]=_0x30c949[_0x2b8516(0x29c)](window,'popstate')[_0x2b8516(0x49c)](_0x30c949['takeUntil'](this[_0x2b8516(0x4d4)]),_0x30c949[_0x2b8516(0x33e)](0x1),_0x30c949[_0x2b8516(0x359)](void 0x0));}[_0x36f281(0x2f7)](_0x3cd934,_0x3ea483,_0x46d38d=!0x1){const _0x1fc9a0=_0x36f281,_0x31c885=new URL(window[_0x1fc9a0(0x43d)][_0x1fc9a0(0x150)]);_0x31c885['searchParams'][_0x1fc9a0(0x2bd)](_0x3cd934,_0x3ea483),_0x46d38d?window[_0x1fc9a0(0x15e)]['replaceState']('','',_0x31c885[_0x1fc9a0(0x13d)]()):window[_0x1fc9a0(0x15e)][_0x1fc9a0(0x1b6)]('','',_0x31c885[_0x1fc9a0(0x13d)]());}[_0x36f281(0x2ea)](_0x4027ab,_0x325d78=!0x1){const _0x213cdd=_0x36f281,_0x1a5ea1=new URL(window[_0x213cdd(0x43d)][_0x213cdd(0x150)]);_0x1a5ea1['searchParams']['delete'](_0x4027ab),_0x325d78?window[_0x213cdd(0x15e)][_0x213cdd(0x1b8)]('','',_0x1a5ea1['toString']()):window[_0x213cdd(0x15e)][_0x213cdd(0x1b6)]('','',_0x1a5ea1[_0x213cdd(0x13d)]());}[_0x36f281(0x37d)](_0x3246e9){const _0x139134=_0x36f281;var _0x4c34c6;return(_0x4c34c6=new URL(window[_0x139134(0x43d)][_0x139134(0x150)])[_0x139134(0x3b3)][_0x139134(0x14e)](_0x3246e9))!=null?_0x4c34c6:void 0x0;}}var _0x44b24b=Object['defineProperty'],_0x281df3=Object[_0x36f281(0x381)],_0x462610=(_0xe7e8d1,_0x1a183e,_0x27a2ac)=>_0x1a183e in _0xe7e8d1?_0x44b24b(_0xe7e8d1,_0x1a183e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27a2ac}):_0xe7e8d1[_0x1a183e]=_0x27a2ac,_0x284ccd=(_0x3a4153,_0x54db1f,_0x598a9b,_0x4083c0)=>{const _0x68440d=_0x36f281;for(var _0x420da9=_0x4083c0>0x1?void 0x0:_0x4083c0?_0x281df3(_0x54db1f,_0x598a9b):_0x54db1f,_0x445a48=_0x3a4153[_0x68440d(0x43f)]-0x1,_0x184089;_0x445a48>=0x0;_0x445a48--)(_0x184089=_0x3a4153[_0x445a48])&&(_0x420da9=(_0x4083c0?_0x184089(_0x54db1f,_0x598a9b,_0x420da9):_0x184089(_0x420da9))||_0x420da9);return _0x4083c0&&_0x420da9&&_0x44b24b(_0x54db1f,_0x598a9b,_0x420da9),_0x420da9;},_0x1436ea=(_0x453111,_0x67652d)=>(_0x38f055,_0x4714ac)=>_0x67652d(_0x38f055,_0x4714ac,_0x453111),_0x2cafe3=(_0x403c08,_0x3ff4ee,_0x37e253)=>_0x462610(_0x403c08,_0x3ff4ee+'',_0x37e253);const _0x23e748=_0x36f281(0x2b9);_0x4238fe[_0x36f281(0x36d)]=class extends _0x593949[_0x36f281(0xd7)]{constructor(_0x41e574=_0x57fe04,_0x3fb56b,_0x4b4dea,_0x262a5a,_0x542e28){const _0x470fd4=_0x36f281;super(),this['_config']=_0x41e574,this[_0x470fd4(0x3df)]=_0x3fb56b,this[_0x470fd4(0x2aa)]=_0x4b4dea,this[_0x470fd4(0xf1)]=_0x262a5a,this[_0x470fd4(0xdd)]=_0x542e28;const {..._0x2e3e0e}=this[_0x470fd4(0x22d)];this[_0x470fd4(0xdd)]['setConfig'](_0xfe6e3e,_0x2e3e0e);}['onStarting'](){const _0x3d69be=_0x36f281;this['_registerDependencies'](),_0x593949[_0x3d69be(0x13f)](this[_0x3d69be(0xf1)],[[_0x455914],[_0x4238fe['DataLoaderController']],[_0x33dc8d]]);}[_0x36f281(0x26d)](){const _0x5ae054=_0x36f281;_0x593949[_0x5ae054(0x13f)](this['_injector'],[[_0x471f41]]);}[_0x36f281(0x40d)](){this['_registerRenderDependencies']();}[_0x36f281(0x323)](){const _0x506e3a=_0x36f281;var _0xf0f809,_0x1fd45a,_0x543f0e,_0xfc073;this[_0x506e3a(0xf1)][_0x506e3a(0x1f2)](_0x593949[_0x506e3a(0x3d1)])&&this[_0x506e3a(0x3df)][_0x506e3a(0x302)](_0x506e3a(0x334),_0x506e3a(0x22b));let _0x112f28=[[_0x593949[_0x506e3a(0x3d1)],{'useClass':_0x360146}],[_0x4238fe[_0x506e3a(0x370)]],[_0x5d0f13],[_0x4c2b25[_0x506e3a(0x426)]],[_0x2863a7,{'useClass':_0x4e05d9}],[_0x40c14d],[_0x4238fe[_0x506e3a(0xd2)]],[_0x4c2b25[_0x506e3a(0x357)]],[_0x29a18f],[_0x2ffd8e],[_0x249d79],[_0x337544],[_0x2e20af],[_0x131dae],[_0x5a515d],[_0x33dc8d],[_0x2d8f92,{'useClass':(_0x1fd45a=(_0xf0f809=this[_0x506e3a(0x22d)])==null?void 0x0:_0xf0f809['socketService'])!=null?_0x1fd45a:_0x4238fe['CollaborationSocketService']}],[_0x4c2b25[_0x506e3a(0x4e9)],{'useClass':_0x4c2b25[_0x506e3a(0x46f)]}],[_0x4968b4[_0x506e3a(0x369)],{'useClass':_0x4238fe['SnapshotServerOverHTTPService']}],[_0x593949[_0x506e3a(0x42f)],{'useClass':_0x4238fe['AuthzIoHttpService']}],[_0x2b881e[_0x506e3a(0x4e0)],{'useClass':_0x4238fe['ImageIoService']}],[_0x4238fe['CollaborationController']],[_0x4238fe[_0x506e3a(0x1f3)]],[_0x4238fe[_0x506e3a(0x225)]],[_0x471f41],[_0x455914]];(_0x543f0e=this['_config'])!=null&&_0x543f0e['enableSingleActiveInstanceLock']&&_0x112f28[_0x506e3a(0x43c)]([_0x34b236,{'useClass':_0x34a490}]),_0x112f28=_0x593949[_0x506e3a(0x26a)](_0x112f28,(_0xfc073=this[_0x506e3a(0x22d)])==null?void 0x0:_0xfc073[_0x506e3a(0x4d7)]),_0x112f28['forEach'](_0x469ef6=>this[_0x506e3a(0xf1)][_0x506e3a(0xf6)](_0x469ef6)),this[_0x506e3a(0x139)]();}[_0x36f281(0x24a)](){const _0x42e125=_0x36f281;this['disposeWithMe'](this[_0x42e125(0x2aa)][_0x42e125(0x46d)](_0x593949[_0x42e125(0xaf)]['UNIVER_DOC'],[_0x12fd25])),this[_0x42e125(0x196)](this[_0x42e125(0x2aa)]['registerRenderModule'](_0x593949[_0x42e125(0xaf)][_0x42e125(0x12e)],[_0x11cefc]));}[_0x36f281(0x139)](){const _0x2b4314=_0x36f281;var _0x5013dc,_0x12a765;this[_0x2b4314(0xf1)][_0x2b4314(0x14e)](_0x4c2b25[_0x2b4314(0x426)])[_0x2b4314(0x155)]({'priority':0x14,'interceptor':_0x4c2b25[_0x2b4314(0x30d)]({'maxParallel':0x6})}),this[_0x2b4314(0xf1)][_0x2b4314(0x14e)](_0x131dae),(_0x5013dc=this[_0x2b4314(0x22d)])!=null&&_0x5013dc[_0x2b4314(0x36b)]||this['_injector'][_0x2b4314(0x14e)](_0x4238fe[_0x2b4314(0xd2)])[_0x2b4314(0x4bd)](),(_0x12a765=this[_0x2b4314(0x22d)])!=null&&_0x12a765[_0x2b4314(0x24f)]&&this[_0x2b4314(0xf1)]['get'](_0x2e20af),this['_injector'][_0x2b4314(0x14e)](_0x4238fe['CollaborationController']),this[_0x2b4314(0xf1)][_0x2b4314(0x1f2)](_0x4238fe['DesktopCollaborationStatusDisplayController'])&&this[_0x2b4314(0xf1)][_0x2b4314(0x14e)](_0x4238fe[_0x2b4314(0x225)]);}},_0x2cafe3(_0x4238fe[_0x36f281(0x36d)],'pluginName',_0x23e748),_0x4238fe[_0x36f281(0x36d)]=_0x284ccd([_0x593949[_0x36f281(0x131)](_0x4968b4[_0x36f281(0x1ff)]),_0x1436ea(0x1,_0x593949[_0x36f281(0x380)]),_0x1436ea(0x2,_0xa07e34[_0x36f281(0x186)]),_0x1436ea(0x3,_0x593949[_0x36f281(0xb9)](_0x593949[_0x36f281(0xa8)])),_0x1436ea(0x4,_0x593949[_0x36f281(0xe7)])],_0x4238fe[_0x36f281(0x36d)]),_0x4238fe['AUTHZ_URL_KEY']=_0x53a088,_0x4238fe[_0x36f281(0x3f7)]=_0x51e7c0,_0x4238fe['COLLAB_WEB_SOCKET_URL_KEY']=_0x3db6d8,_0x4238fe[_0x36f281(0x1da)]=_0x2d65dc,_0x4238fe[_0x36f281(0x4b4)]=_0x580fae,_0x4238fe[_0x36f281(0x305)]=_0x5a515d,_0x4238fe[_0x36f281(0x2de)]=_0xec8683,_0x4238fe[_0x36f281(0x41f)]=_0x512ef2,_0x4238fe[_0x36f281(0x250)]=_0x2d8f92,_0x4238fe['IURLService']=_0x2863a7,_0x4238fe[_0x36f281(0x100)]=_0x443bb,_0x4238fe[_0x36f281(0x356)]=_0x40bc0f,_0x4238fe[_0x36f281(0x31d)]=_0x428723,_0x4238fe[_0x36f281(0x37c)]=_0x2b528f,_0x4238fe[_0x36f281(0x4c8)]=_0x3f5413,_0x4238fe[_0x36f281(0x1c0)]=_0x418a13,_0x4238fe[_0x36f281(0x2fc)]=_0x108499,_0x4238fe[_0x36f281(0x1d6)]=_0x55e027,_0x4238fe[_0x36f281(0x4db)]=_0x4e05d9,_0x4238fe[_0x36f281(0xb6)]=_0x49635b,_0x4238fe[_0x36f281(0x37b)]=_0x59173a,Object[_0x36f281(0x49a)](_0x4238fe,Symbol[_0x36f281(0x1b9)],{'value':'Module'});}));
|
1
|
+
(function(_0x2714da,_0x5df6fd){const _0x54f939=_0x49f2,_0x5a7a8f=_0x2714da();while(!![]){try{const _0x28d765=parseInt(_0x54f939(0x415))/0x1+-parseInt(_0x54f939(0x43f))/0x2*(parseInt(_0x54f939(0x376))/0x3)+-parseInt(_0x54f939(0x4fd))/0x4+parseInt(_0x54f939(0x393))/0x5+parseInt(_0x54f939(0x598))/0x6*(-parseInt(_0x54f939(0x41c))/0x7)+parseInt(_0x54f939(0x1b5))/0x8+parseInt(_0x54f939(0x5e4))/0x9;if(_0x28d765===_0x5df6fd)break;else _0x5a7a8f['push'](_0x5a7a8f['shift']());}catch(_0x153822){_0x5a7a8f['push'](_0x5a7a8f['shift']());}}}(_0x32d2,0x58785),function(_0x1f6628,_0x61e5d9){const _0xeca635=_0x49f2;typeof exports==_0xeca635(0x5ed)&&typeof module<'u'?_0x61e5d9(exports,require(_0xeca635(0x514)),require(_0xeca635(0x46f)),require(_0xeca635(0x5f1)),require('@univerjs/design'),require('@univerjs/ui'),require(_0xeca635(0x439)),require('@univerjs-pro/collaboration'),require(_0xeca635(0x2ca)),require(_0xeca635(0x359)),require(_0xeca635(0x1ed)),require('@univerjs/engine-render'),require('@univerjs/docs'),require(_0xeca635(0x4fb)),require(_0xeca635(0x3ed)),require(_0xeca635(0x282)),require(_0xeca635(0x1d3)),require(_0xeca635(0x2b5))):typeof define==_0xeca635(0x60f)&&define[_0xeca635(0x3a0)]?define([_0xeca635(0x3f1),_0xeca635(0x514),_0xeca635(0x46f),_0xeca635(0x5f1),'@univerjs/design',_0xeca635(0x5e6),_0xeca635(0x439),_0xeca635(0x5be),_0xeca635(0x2ca),_0xeca635(0x359),_0xeca635(0x1ed),_0xeca635(0x499),_0xeca635(0x1fd),_0xeca635(0x4fb),'@univerjs/engine-formula',_0xeca635(0x282),'react',_0xeca635(0x2b5)],_0x61e5d9):(_0x1f6628=typeof globalThis<'u'?globalThis:_0x1f6628||self,_0x61e5d9(_0x1f6628[_0xeca635(0x2ed)]={},_0x1f6628[_0xeca635(0x2d2)],_0x1f6628['rxjs'],_0x1f6628[_0xeca635(0x46f)][_0xeca635(0x4fa)],_0x1f6628['UniverDesign'],_0x1f6628['UniverUi'],_0x1f6628[_0xeca635(0x54a)],_0x1f6628[_0xeca635(0x1a4)],_0x1f6628[_0xeca635(0x4ca)],_0x1f6628[_0xeca635(0x346)],_0x1f6628[_0xeca635(0x639)],_0x1f6628[_0xeca635(0x442)],_0x1f6628[_0xeca635(0x179)],_0x1f6628[_0xeca635(0x43a)],_0x1f6628[_0xeca635(0x528)],_0x1f6628[_0xeca635(0x20c)],_0x1f6628['React'],_0x1f6628[_0xeca635(0x2d4)]));}(this,function(_0x2e54f6,_0x33b6e0,_0x382682,_0x52ded5,_0x34d4ff,_0x563831,_0x27fcf5,_0x2df36b,_0xaa8a37,_0x52f834,_0x3f2383,_0x1db1e9,_0x55f083,_0x1f0977,_0x125ddd,_0x31cf62,_0x4e2da1,_0x2ec0b1){'use strict';const _0xd21782=_0x49f2;var _0x3c3d51=Object[_0xd21782(0x407)],_0x19ef5f=(_0x3cf0b3,_0x418778,_0x384f91)=>_0x418778 in _0x3cf0b3?_0x3c3d51(_0x3cf0b3,_0x418778,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x384f91}):_0x3cf0b3[_0x418778]=_0x384f91,_0x398ae0=(_0xd74ccc,_0x49082a,_0x1ea466)=>_0x19ef5f(_0xd74ccc,typeof _0x49082a!='symbol'?_0x49082a+'':_0x49082a,_0x1ea466);const _0x385278=_0xd21782(0x18c),_0x8cfc9a=_0xd21782(0x398),_0x47dee2=_0xd21782(0x557),_0x36818c='SEND_CHANGESET_TIMEOUT',_0x414d61=_0xd21782(0x305),_0x5c1026=_0xd21782(0x41f),_0x19b725='HEARTBEAT_INTERVAL',_0x187776=_0xd21782(0x3c3),_0x54641d='RETRY_CONNECTING_MAX_COUNT',_0x2e492f=_0xd21782(0x4f8),_0x18e2fb=_0xd21782(0x524),_0x85bd4d=_0xd21782(0x241),_0x3b6c1c=_0xd21782(0x338),_0x40bbf9=_0xd21782(0x28b);var _0x42f684=(_0x5dc2ff=>(_0x5dc2ff[_0x5dc2ff[_0xd21782(0x4c2)]=0x0]=_0xd21782(0x4c2),_0x5dc2ff[_0x5dc2ff['OK']=0x1]='OK',_0x5dc2ff[_0x5dc2ff['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5dc2ff[_0x5dc2ff[_0xd21782(0x50c)]=0x3]=_0xd21782(0x50c),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x281)]=0x4]=_0xd21782(0x281),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x566)]=0x5]='UNAUTHENTICATED',_0x5dc2ff[_0x5dc2ff[_0xd21782(0x431)]=0x6]=_0xd21782(0x431),_0x5dc2ff[_0x5dc2ff['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5dc2ff[_0x5dc2ff[_0xd21782(0x360)]=0x8]=_0xd21782(0x360),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x561)]=0x9]=_0xd21782(0x561),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x48d)]=0x1389]=_0xd21782(0x48d),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x4ef)]=0x1771]=_0xd21782(0x4ef),_0x5dc2ff[_0x5dc2ff['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xd21782(0x538),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x23f)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5dc2ff[_0x5dc2ff['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x5dc2ff[_0x5dc2ff[_0xd21782(0x414)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5dc2ff[_0x5dc2ff['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xd21782(0x18a),_0x5dc2ff[_0x5dc2ff['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xd21782(0x343),_0x5dc2ff[_0x5dc2ff['APPLY_DUPLICATED']=0x1b5d]=_0xd21782(0x385),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x26d)]=0x1f41]=_0xd21782(0x26d),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x352)]=0x2329]=_0xd21782(0x352),_0x5dc2ff[_0x5dc2ff['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xd21782(0x2c6),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x2e6)]=0x232b]=_0xd21782(0x2e6),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x36d)]=0x232c]=_0xd21782(0x36d),_0x5dc2ff[_0x5dc2ff['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x5dc2ff[_0x5dc2ff[_0xd21782(0x580)]=0x2711]=_0xd21782(0x580),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x267)]=0x2712]=_0xd21782(0x267),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x380)]=0x2713]=_0xd21782(0x380),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x43e)]=0x2714]=_0xd21782(0x43e),_0x5dc2ff[_0x5dc2ff[_0xd21782(0x298)]=-0x1]=_0xd21782(0x298),_0x5dc2ff))(_0x42f684||{}),_0x5ce0e9=(_0x499a79=>(_0x499a79[_0x499a79['UNIVER_UNKNOWN']=0x0]=_0xd21782(0x310),_0x499a79[_0x499a79['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x499a79[_0x499a79['UNIVER_SHEET']=0x2]=_0xd21782(0x23c),_0x499a79[_0x499a79[_0xd21782(0x2e7)]=0x3]='UNIVER_SLIDE',_0x499a79[_0x499a79[_0xd21782(0x625)]=0x4]=_0xd21782(0x625),_0x499a79[_0x499a79[_0xd21782(0x298)]=-0x1]=_0xd21782(0x298),_0x499a79))(_0x5ce0e9||{}),_0x220f74=(_0x4c8bff=>(_0x4c8bff[_0x4c8bff['UNKNOWN_CMD']=0x0]=_0xd21782(0x1c8),_0x4c8bff[_0x4c8bff[_0xd21782(0x1c7)]=0x1]=_0xd21782(0x1c7),_0x4c8bff[_0x4c8bff[_0xd21782(0x3bd)]=0x2]=_0xd21782(0x3bd),_0x4c8bff[_0x4c8bff[_0xd21782(0x2a7)]=0x3]=_0xd21782(0x2a7),_0x4c8bff[_0x4c8bff['INGEST']=0x4]=_0xd21782(0x54f),_0x4c8bff[_0x4c8bff[_0xd21782(0x533)]=0x5]='HEARTBEAT',_0x4c8bff[_0x4c8bff[_0xd21782(0x481)]=0x6]=_0xd21782(0x481),_0x4c8bff[_0x4c8bff['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4c8bff))(_0x220f74||{}),_0x4e4457=(_0x38c7fb=>(_0x38c7fb[_0x38c7fb[_0xd21782(0x4ab)]=0x0]='UNKNOWN_CODE',_0x38c7fb[_0x38c7fb['OK']=0x1]='OK',_0x38c7fb[_0x38c7fb[_0xd21782(0x202)]=0x2]='FAIL',_0x38c7fb[_0x38c7fb[_0xd21782(0x298)]=-0x1]=_0xd21782(0x298),_0x38c7fb))(_0x4e4457||{}),_0x3685fb=(_0x18fffc=>(_0x18fffc[_0x18fffc[_0xd21782(0x2fe)]=0x0]='Undefined',_0x18fffc[_0x18fffc['HttpImport']=0x1]='HttpImport',_0x18fffc[_0x18fffc[_0xd21782(0x31a)]=0x2]=_0xd21782(0x31a),_0x18fffc[_0x18fffc[_0xd21782(0x3f0)]=0x3]=_0xd21782(0x3f0),_0x18fffc[_0x18fffc[_0xd21782(0x60a)]=0x4]='UnitSnapshot',_0x18fffc[_0x18fffc[_0xd21782(0x298)]=-0x1]='UNRECOGNIZED',_0x18fffc))(_0x3685fb||{});const _0x134311=_0xd21782(0x2f7),_0x51621e={};function _0x1036e5(_0x26b4a8){const _0x3c7526=_0xd21782;var _0x6e2cd9,_0x5d033c,_0x343ca4,_0x3bc202,_0x1ec370;const _0x187c5a=_0x26b4a8[_0x3c7526(0x325)],_0x525a7b=JSON[_0x3c7526(0x48e)](_0x187c5a);switch(_0x525a7b[_0x3c7526(0x5a8)]){case _0x220f74[_0x3c7526(0x533)]:case _0x220f74[_0x3c7526(0x1c7)]:{const _0x240ae1=_0x525a7b[_0x3c7526(0x1ec)];return{..._0x525a7b,'data':_0x240ae1,'cmd':_0x525a7b['cmd']};}case _0x220f74[_0x3c7526(0x3bd)]:{const _0x4eb15d=_0x525a7b[_0x3c7526(0x511)];return{..._0x525a7b,'data':_0x4eb15d,'cmd':_0x525a7b[_0x3c7526(0x5a8)]};}case _0x220f74[_0x3c7526(0x481)]:{const _0x2fde14=_0x525a7b[_0x3c7526(0x5a6)];switch(_0x2fde14[_0x3c7526(0x28e)]){case _0x2df36b[_0x3c7526(0x45e)][_0x3c7526(0x5bb)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':(_0x6e2cd9=_0x2fde14[_0x3c7526(0x443)])==null?void 0x0:_0x6e2cd9['cs']},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b[_0x3c7526(0x45e)]['CHANGESET_ACK']:return{..._0x525a7b,'data':{..._0x2fde14,'data':(_0x5d033c=_0x2fde14[_0x3c7526(0x3c6)])==null?void 0x0:_0x5d033c['cs']},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b[_0x3c7526(0x45e)][_0x3c7526(0x3c1)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':(_0x343ca4=_0x2fde14[_0x3c7526(0x259)])==null?void 0x0:_0x343ca4['cs']},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b['CollaborationEvent'][_0x3c7526(0x62d)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':(_0x3bc202=_0x2fde14['csRejEvent'])==null?void 0x0:_0x3bc202['cs']},'cmd':_0x525a7b['cmd']};case _0x2df36b[_0x3c7526(0x45e)][_0x3c7526(0x4d8)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':(_0x1ec370=_0x2fde14[_0x3c7526(0x2f6)])==null?void 0x0:_0x1ec370['cs']},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b['CollaborationEvent'][_0x3c7526(0x462)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':_0x2fde14[_0x3c7526(0x335)]},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b[_0x3c7526(0x45e)]['USERS_ENTER']:return{..._0x525a7b,'data':{..._0x2fde14,'data':_0x2fde14[_0x3c7526(0x197)]},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b['CollaborationEvent'][_0x3c7526(0x1bf)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':_0x2fde14[_0x3c7526(0x453)]},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b[_0x3c7526(0x45e)][_0x3c7526(0x565)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':_0x2fde14['liveShareNewHost']},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b[_0x3c7526(0x45e)][_0x3c7526(0x4a2)]:case _0x2df36b[_0x3c7526(0x45e)]['LIVESHARE_OPERATION']:return{..._0x525a7b,'data':{..._0x2fde14,'data':_0x2fde14[_0x3c7526(0x2ea)]},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b['CollaborationEvent'][_0x3c7526(0x2cd)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':_0x2fde14['liveShareNewHost']},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b[_0x3c7526(0x45e)][_0x3c7526(0x576)]:return{..._0x525a7b,'data':_0x2fde14,'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b[_0x3c7526(0x45e)][_0x3c7526(0x423)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':_0x2fde14[_0x3c7526(0x2b6)]},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};case _0x2df36b[_0x3c7526(0x45e)][_0x3c7526(0x287)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':_0x2fde14['updatePermissionObjEvent']},'cmd':_0x525a7b['cmd']};case _0x2df36b[_0x3c7526(0x45e)][_0x3c7526(0x3df)]:return{..._0x525a7b,'data':{..._0x2fde14,'data':_0x2fde14[_0x3c7526(0x17e)]},'cmd':_0x525a7b[_0x3c7526(0x5a8)]};default:return _0x525a7b;}}default:return _0x525a7b;}}function _0x220ec3(_0x13682d){const _0x1be700=_0xd21782;switch(_0x13682d[_0x1be700(0x5a8)]){case _0x220f74['HEARTBEAT']:case _0x220f74[_0x1be700(0x1c7)]:return JSON['stringify']({'cmd':_0x13682d['cmd'],'routeKey':_0x13682d[_0x1be700(0x373)]});case _0x220f74[_0x1be700(0x54f)]:{let _0x36c550;switch(_0x13682d[_0x1be700(0x325)][_0x1be700(0x28e)]){case _0x2df36b[_0x1be700(0x45e)]['UPDATE_CURSOR']:{_0x36c550={'eventID':_0x2df36b[_0x1be700(0x45e)][_0x1be700(0x462)],'updateCursorEvent':_0x13682d['data'][_0x1be700(0x325)]};break;}case _0x2df36b[_0x1be700(0x45e)][_0x1be700(0x1bf)]:{_0x36c550={'eventID':_0x2df36b[_0x1be700(0x45e)][_0x1be700(0x1bf)],'leaveEvent':_0x13682d[_0x1be700(0x325)][_0x1be700(0x325)]};break;}case _0x2df36b[_0x1be700(0x45e)][_0x1be700(0x266)]:{_0x36c550={'eventID':_0x2df36b[_0x1be700(0x45e)][_0x1be700(0x266)],'joinEvent':_0x13682d[_0x1be700(0x325)][_0x1be700(0x325)]};break;}case _0x2df36b['CollaborationEvent'][_0x1be700(0x565)]:{_0x36c550={'eventID':_0x2df36b[_0x1be700(0x45e)][_0x1be700(0x565)],'liveShareNewHost':_0x13682d['data']['data']};break;}case _0x2df36b[_0x1be700(0x45e)][_0x1be700(0x436)]:{_0x36c550={'eventID':_0x2df36b[_0x1be700(0x45e)][_0x1be700(0x436)],'liveShareOperation':_0x13682d[_0x1be700(0x325)][_0x1be700(0x325)]};break;}case _0x2df36b[_0x1be700(0x45e)][_0x1be700(0x2cd)]:{_0x36c550={'eventID':_0x2df36b[_0x1be700(0x45e)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x13682d[_0x1be700(0x325)][_0x1be700(0x325)]};break;}case _0x2df36b[_0x1be700(0x45e)]['LIVESHARE_REQUEST_HOST']:{_0x36c550={'eventID':_0x2df36b[_0x1be700(0x45e)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x13682d[_0x1be700(0x325)][_0x1be700(0x325)]};break;}case _0x2df36b['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x36c550={'eventID':_0x2df36b[_0x1be700(0x45e)][_0x1be700(0x4a2)]};break;}default:_0x36c550={'eventID':_0x13682d[_0x1be700(0x325)][_0x1be700(0x28e)]};}return JSON['stringify']({'cmd':_0x13682d[_0x1be700(0x5a8)],'routeKey':_0x13682d['routeKey'],'collaMsg':_0x36c550});}case _0x220f74[_0x1be700(0x3bd)]:return JSON['stringify']({'cmd':_0x13682d['cmd'],'routeKey':_0x13682d['routeKey'],'joinReq':_0x13682d['data']});case _0x220f74[_0x1be700(0x2a7)]:return JSON[_0x1be700(0x2e3)]({'cmd':_0x13682d[_0x1be700(0x5a8)],'routeKey':_0x13682d[_0x1be700(0x373)],'leaveReq':_0x13682d[_0x1be700(0x325)]});default:throw new Error(_0x1be700(0x42d));}}var _0x32ceb9=Object['defineProperty'],_0x57aedb=Object[_0xd21782(0x52e)],_0x28d811=(_0xc3a2c8,_0x223d15,_0x5db363,_0x40f42c)=>{const _0x3b4229=_0xd21782;for(var _0x2050c0=_0x40f42c>0x1?void 0x0:_0x40f42c?_0x57aedb(_0x223d15,_0x5db363):_0x223d15,_0x2605aa=_0xc3a2c8[_0x3b4229(0x39d)]-0x1,_0x135a93;_0x2605aa>=0x0;_0x2605aa--)(_0x135a93=_0xc3a2c8[_0x2605aa])&&(_0x2050c0=(_0x40f42c?_0x135a93(_0x223d15,_0x5db363,_0x2050c0):_0x135a93(_0x2050c0))||_0x2050c0);return _0x40f42c&&_0x2050c0&&_0x32ceb9(_0x223d15,_0x5db363,_0x2050c0),_0x2050c0;},_0x87b4af=(_0x5788ff,_0x317a1b)=>(_0x5be52a,_0x3dd672)=>_0x317a1b(_0x5be52a,_0x3dd672,_0x5788ff);const _0x234aba=_0x33b6e0[_0xd21782(0x4b9)]('univer-pro.collaboration-client-socket-service');function _0x12a9d8(_0x5f3bd5,_0x340b54,_0x28209e){const _0x2b65e9=_0xd21782;return _0x5f3bd5+'/'+_0x340b54+_0x2b65e9(0x58e)+_0x28209e+_0x2b65e9(0x36a);}_0x2e54f6[_0xd21782(0x273)]=class extends _0x33b6e0[_0xd21782(0x5ea)]{constructor(_0x3d8f30,_0x34a97e,_0x4dd3c,_0x34c3cb,_0x4c99b7){const _0x53da4c=_0xd21782;super(),this[_0x53da4c(0x1b1)]=_0x3d8f30,this[_0x53da4c(0x1c4)]=_0x34a97e,this['_configService']=_0x4dd3c,this['_logService']=_0x34c3cb,this[_0x53da4c(0x34b)]=_0x4c99b7;}[_0xd21782(0x41d)](_0x361074){const _0xa437aa=_0xd21782,_0x1f7c64=this[_0xa437aa(0x1c4)]['createSocket'](_0x361074);if(!_0x1f7c64)throw new Error(_0xa437aa(0x62b));const _0xb167ba=new _0x33b6e0[(_0xa437aa(0x27f))](),_0x48f3d4=new _0x382682['Subject']();_0xb167ba[_0xa437aa(0x29f)](_0x1f7c64[_0xa437aa(0x369)][_0xa437aa(0x306)](_0x3c97ce=>_0x48f3d4[_0xa437aa(0x2d0)](_0x3c97ce))),_0xb167ba[_0xa437aa(0x29f)](_0x33b6e0[_0xa437aa(0x318)](()=>_0x48f3d4[_0xa437aa(0x242)]()));const _0x768a31=new _0x382682[(_0xa437aa(0x1e0))]();_0xb167ba[_0xa437aa(0x29f)](_0x1f7c64[_0xa437aa(0x34f)][_0xa437aa(0x306)](_0x530bae=>_0x768a31[_0xa437aa(0x2d0)](_0x530bae))),_0xb167ba[_0xa437aa(0x29f)](_0x33b6e0[_0xa437aa(0x318)](()=>_0x768a31[_0xa437aa(0x242)]()));const _0x426f12=new _0x382682[(_0xa437aa(0x1e0))]();_0xb167ba['add'](_0x1f7c64[_0xa437aa(0x2b3)]['subscribe'](_0x331182=>{const _0x5d77e4=_0xa437aa,_0x2ab716=_0x1036e5(_0x331182);_0x426f12[_0x5d77e4(0x2d0)](_0x2ab716);})),_0xb167ba[_0xa437aa(0x29f)](_0x33b6e0['toDisposable'](()=>_0x426f12['complete']()));let _0x2443ca;const _0x432d1d=()=>{const _0x4c6f66=_0xa437aa;_0x768a31[_0x4c6f66(0x2d0)](new Event(_0x4c6f66(0x289))),_0x48f3d4[_0x4c6f66(0x2d0)](new CloseEvent('connection\x20error')),_0x2443ca[_0x4c6f66(0x5ee)]();};return _0x2443ca={'memberID':'','close$':_0x48f3d4['asObservable'](),'error$':_0x768a31[_0xa437aa(0x372)](),'open$':_0x1f7c64['open$'],'message$':_0x426f12[_0xa437aa(0x372)](),'send':_0x4207d3=>{const _0xbab8a1=_0xa437aa;if(_0x4207d3[_0xbab8a1(0x5a8)]===_0x220f74[_0xbab8a1(0x54f)]){if(_0x4207d3['data'][_0xbab8a1(0x28e)]===_0x2df36b[_0xbab8a1(0x45e)][_0xbab8a1(0x19a)]){this[_0xbab8a1(0x532)](_0x2443ca,_0x4207d3[_0xbab8a1(0x325)])[_0xbab8a1(0x3a5)](_0x362074=>{this['_logService']['error'](_0x362074),_0x432d1d();});return;}if(_0x4207d3['data']['eventID']===_0x2df36b[_0xbab8a1(0x45e)][_0xbab8a1(0x57b)]){const _0x2fcc35=_0x4207d3[_0xbab8a1(0x325)];this[_0xbab8a1(0x3d6)](_0x2fcc35)[_0xbab8a1(0x244)](_0x4b131a=>{const _0x3a18c8=_0xbab8a1;_0x426f12[_0x3a18c8(0x2d0)]({'cmd':_0x220f74[_0x3a18c8(0x481)],'code':_0x4e4457['OK'],'routeKey':_0x2fcc35[_0x3a18c8(0x325)][_0x3a18c8(0x33d)],'routeType':'','data':{'eventID':_0x2df36b['CollaborationEvent'][_0x3a18c8(0x405)],'data':{'changesets':_0x4b131a}}});})[_0xbab8a1(0x3a5)](_0x195e9a=>{const _0x2a18bd=_0xbab8a1;this[_0x2a18bd(0x387)][_0x2a18bd(0x59a)](_0x195e9a),_0x432d1d();});return;}}_0x1f7c64[_0xbab8a1(0x309)](_0x220ec3(_0x4207d3));},'close':()=>{const _0x24f407=_0xa437aa;_0x1f7c64[_0x24f407(0x5ee)](),_0xb167ba['dispose']();}},_0x2443ca;}async[_0xd21782(0x532)](_0x53a1a5,_0x4dc57d){const _0x3d3cfc=_0xd21782;var _0x13a9bd,_0xd6faec;const {unitType:_0x5631e8,unitID:_0x482d55,changeset:_0x3fe88c}=_0x4dc57d[_0x3d3cfc(0x325)],_0x5f4bf2={'unitID':_0x482d55,'memberID':_0x53a1a5[_0x3d3cfc(0x564)],'type':_0x5631e8,'changeset':_0x2df36b[_0x3d3cfc(0x1c5)](_0x3fe88c)},_0x9c67f=this[_0x3d3cfc(0x48a)][_0x3d3cfc(0x27c)](_0x18e2fb),_0x1dddb8=this[_0x3d3cfc(0x48a)][_0x3d3cfc(0x27c)](_0x134311),_0xaad151=_0x12a9d8((_0xd6faec=(_0x13a9bd=_0x1dddb8==null?void 0x0:_0x1dddb8[_0x3d3cfc(0x208)])!=null?_0x13a9bd:_0x9c67f)!=null?_0xd6faec:_0x85bd4d,_0x5631e8,_0x482d55);try{await this[_0x3d3cfc(0x1b1)][_0x3d3cfc(0x37e)](_0xaad151,{'body':_0x5f4bf2});}catch(_0x123c2d){throw this[_0x3d3cfc(0x387)]['error'](_0x3d3cfc(0x63a),_0x3d3cfc(0x252)),_0x123c2d;}}async[_0xd21782(0x3d6)](_0x363f18){const _0xe8d3b1=_0xd21782,{unitID:_0x1cb466,from:_0xbff198,to:_0x364972,unitType:_0x442a12}=_0x363f18[_0xe8d3b1(0x325)];return(await this[_0xe8d3b1(0x34b)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1cb466,'type':_0x442a12,'from':_0xbff198,'to':_0x364972}))[_0xe8d3b1(0x4ee)];}},_0x2e54f6[_0xd21782(0x273)]=_0x28d811([_0x87b4af(0x0,_0x33b6e0[_0xd21782(0x2d5)](_0x27fcf5[_0xd21782(0x2a9)])),_0x87b4af(0x1,_0x33b6e0[_0xd21782(0x2d5)](_0x27fcf5[_0xd21782(0x4f4)])),_0x87b4af(0x2,_0x33b6e0[_0xd21782(0x4a4)]),_0x87b4af(0x3,_0x33b6e0[_0xd21782(0x447)]),_0x87b4af(0x4,_0x2df36b['ISnapshotServerService'])],_0x2e54f6[_0xd21782(0x273)]);const _0x3ba0e2=_0xd21782(0x345);function _0x297a74(_0x399d68){const _0x6f89a9=_0xd21782;return JSON[_0x6f89a9(0x2e3)](_0x399d68)[_0x6f89a9(0x39d)];}class _0x273ed1{constructor(){const _0x3e5742=_0xd21782;_0x398ae0(this,_0x3e5742(0x5e3),new _0x382682[(_0x3e5742(0x1e0))]()),_0x398ae0(this,_0x3e5742(0x1be),this[_0x3e5742(0x5e3)][_0x3e5742(0x372)]());}[_0xd21782(0x5c0)](_0x30cde6){const _0x47e004=_0xd21782;this[_0x47e004(0x5e3)][_0x47e004(0x2d0)](_0x30cde6);}}var _0x4ae3cf=Object[_0xd21782(0x407)],_0x57828a=Object[_0xd21782(0x52e)],_0xaf0553=(_0x4da4d6,_0xf73724,_0x273668,_0x22809b)=>{for(var _0x1e60fe=_0x22809b>0x1?void 0x0:_0x22809b?_0x57828a(_0xf73724,_0x273668):_0xf73724,_0x1ab510=_0x4da4d6['length']-0x1,_0x154047;_0x1ab510>=0x0;_0x1ab510--)(_0x154047=_0x4da4d6[_0x1ab510])&&(_0x1e60fe=(_0x22809b?_0x154047(_0xf73724,_0x273668,_0x1e60fe):_0x154047(_0x1e60fe))||_0x1e60fe);return _0x22809b&&_0x1e60fe&&_0x4ae3cf(_0xf73724,_0x273668,_0x1e60fe),_0x1e60fe;},_0x4428c9=(_0x40aef9,_0x11c038)=>(_0x4de6f3,_0x5b311a)=>_0x11c038(_0x4de6f3,_0x5b311a,_0x40aef9);_0x2e54f6[_0xd21782(0x4c1)]=class extends _0x33b6e0[_0xd21782(0x5ea)]{constructor(_0x5eb249,_0x32869f){const _0x334498=_0xd21782;super(),_0x398ae0(this,_0x334498(0x4b7),new Map()),(this[_0x334498(0x40b)]=_0x5eb249,this[_0x334498(0x4e9)]=_0x32869f,this[_0x334498(0x3d8)](_0x33b6e0[_0x334498(0x318)](_0x382682[_0x334498(0x3ab)](this[_0x334498(0x40b)][_0x334498(0x517)](_0x33b6e0[_0x334498(0x2c1)][_0x334498(0x23c)])['pipe'](_0x52ded5[_0x334498(0x1f8)](_0x2a3cc8=>_0x2a3cc8['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x33b6e0['UniverInstanceType'][_0x334498(0x237)])['pipe'](_0x52ded5[_0x334498(0x1f8)](_0x460d65=>_0x460d65[_0x334498(0x292)]())),this[_0x334498(0x40b)][_0x334498(0x517)](_0x33b6e0[_0x334498(0x2c1)]['UNIVER_SLIDE'])[_0x334498(0x3d3)](_0x52ded5['map'](_0x1dbccf=>_0x1dbccf[_0x334498(0x292)]())))[_0x334498(0x306)](_0x2720c8=>this[_0x334498(0x5e2)](_0x2720c8)))));}[_0xd21782(0x383)](_0x2c0360){const _0x5121d5=_0xd21782;this[_0x5121d5(0x4e9)][_0x5121d5(0x383)](_0x2c0360);}[_0xd21782(0x5e5)](){const _0x17f627=_0xd21782;return this[_0x17f627(0x4e9)]['getCurrentUser']();}[_0xd21782(0x506)](_0xd6b4e3,_0x231ad0){const _0xe90925=_0xd21782;let _0x51bd3d=this[_0xe90925(0x4b7)][_0xe90925(0x3c8)](_0xd6b4e3);_0x51bd3d||(_0x51bd3d=new _0x545279(),this[_0xe90925(0x4b7)][_0xe90925(0x44b)](_0xd6b4e3,_0x51bd3d)),_0x51bd3d[_0xe90925(0x506)](_0x231ad0);}[_0xd21782(0x38e)](_0x3a9f7d,_0x1d7653){const _0x2f2976=_0xd21782,_0x1693cf=this['_roomMembers'][_0x2f2976(0x3c8)](_0x3a9f7d);_0x1693cf&&_0x1693cf[_0x2f2976(0x38e)](_0x1d7653);}['getRoom'](_0x52b666){const _0x5cfce6=_0xd21782;return this[_0x5cfce6(0x4b7)][_0x5cfce6(0x3c8)](_0x52b666);}['getMember'](_0x3624b0,_0x4ba626){const _0x4300c0=_0xd21782,_0x3f1eae=this['_roomMembers'][_0x4300c0(0x3c8)](_0x3624b0);if(_0x3f1eae)return _0x3f1eae[_0x4300c0(0x2e4)](_0x4ba626);}['_removeRoom'](_0x5eea7f){const _0x5f4323=_0xd21782,_0x214e4e=this[_0x5f4323(0x4b7)][_0x5f4323(0x3c8)](_0x5eea7f);_0x214e4e&&(_0x214e4e[_0x5f4323(0x214)](),this['_roomMembers'][_0x5f4323(0x18e)](_0x5eea7f));}[_0xd21782(0x214)](){const _0x579f63=_0xd21782;this[_0x579f63(0x4b7)][_0x579f63(0x4b3)](_0x3fcbfa=>_0x3fcbfa['dispose']()),this[_0x579f63(0x4b7)][_0x579f63(0x572)]();}},_0x2e54f6[_0xd21782(0x4c1)]=_0xaf0553([_0x4428c9(0x0,_0x33b6e0[_0xd21782(0x5a9)]),_0x4428c9(0x1,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x55c)]))],_0x2e54f6[_0xd21782(0x4c1)]);class _0x545279 extends _0x33b6e0['Disposable']{constructor(){const _0x248a2c=_0xd21782;super(...arguments),_0x398ae0(this,_0x248a2c(0x210),new Map());}[_0xd21782(0x214)](){const _0x363ffc=_0xd21782;this[_0x363ffc(0x210)]['clear']();}[_0xd21782(0x506)](_0x552e24){const _0x92e6bf=_0xd21782;this[_0x92e6bf(0x210)]['set'](_0x552e24[_0x92e6bf(0x564)],_0x552e24);}['removeMember'](_0x2b9333){const _0x2c00e2=_0xd21782;this['_members'][_0x2c00e2(0x18e)](_0x2b9333);}[_0xd21782(0x2e4)](_0xda5714){const _0x2ce715=_0xd21782;return this[_0x2ce715(0x210)][_0x2ce715(0x3c8)](_0xda5714);}[_0xd21782(0x534)](){const _0x127b02=_0xd21782;return Array[_0x127b02(0x5bf)](this['_members']['values']());}}var _0x507e68=Object[_0xd21782(0x407)],_0x1e0999=Object[_0xd21782(0x52e)],_0x4b8669=(_0x3c2dbb,_0x3b6c3d,_0xf5c05a,_0x35372f)=>{const _0x156e3e=_0xd21782;for(var _0xfe9d22=_0x35372f>0x1?void 0x0:_0x35372f?_0x1e0999(_0x3b6c3d,_0xf5c05a):_0x3b6c3d,_0x2ce660=_0x3c2dbb[_0x156e3e(0x39d)]-0x1,_0x2e5517;_0x2ce660>=0x0;_0x2ce660--)(_0x2e5517=_0x3c2dbb[_0x2ce660])&&(_0xfe9d22=(_0x35372f?_0x2e5517(_0x3b6c3d,_0xf5c05a,_0xfe9d22):_0x2e5517(_0xfe9d22))||_0xfe9d22);return _0x35372f&&_0xfe9d22&&_0x507e68(_0x3b6c3d,_0xf5c05a,_0xfe9d22),_0xfe9d22;},_0x48c898=(_0x517cb9,_0x42c163)=>(_0x117c9a,_0x18c170)=>_0x42c163(_0x117c9a,_0x18c170,_0x517cb9),_0x59052a=(_0x1732c5=>(_0x1732c5[_0x1732c5['IDLE']=0x0]='IDLE',_0x1732c5[_0x1732c5[_0xd21782(0x1ab)]=0x1]=_0xd21782(0x1ab),_0x1732c5[_0x1732c5[_0xd21782(0x3ca)]=0x2]=_0xd21782(0x3ca),_0x1732c5[_0x1732c5[_0xd21782(0x228)]=0x3]=_0xd21782(0x228),_0x1732c5))(_0x59052a||{});_0x2e54f6['CollaborationSession']=class extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(_0x1c409d,_0x3e00f7,_0x9f89c1,_0x821a1b,_0x8afb2c,_0x53d7b0,_0x5227db,_0x4f452c,_0x9afb0d,_0x40cb0c){const _0x4dea86=_0xd21782;super(),_0x398ae0(this,_0x4dea86(0x4a8),new _0x382682[(_0x4dea86(0x187))](0x0)),_0x398ae0(this,_0x4dea86(0x37a),this[_0x4dea86(0x4a8)][_0x4dea86(0x372)]()),_0x398ae0(this,_0x4dea86(0x18d),new _0x382682['Subject']()),_0x398ae0(this,_0x4dea86(0x1ce),this['_event$'][_0x4dea86(0x372)]()),_0x398ae0(this,_0x4dea86(0x1e8)),_0x398ae0(this,_0x4dea86(0x2fc)),_0x398ae0(this,_0x4dea86(0x17d)),_0x398ae0(this,_0x4dea86(0x5a1),!0x1),_0x398ae0(this,_0x4dea86(0x4d5),null),(this[_0x4dea86(0x204)]=_0x1c409d,this[_0x4dea86(0x387)]=_0x9f89c1,this[_0x4dea86(0x39b)]=_0x821a1b,this[_0x4dea86(0x575)]=_0x8afb2c,this[_0x4dea86(0x48a)]=_0x53d7b0,this[_0x4dea86(0x58d)]=_0x5227db,this['_memberService']=_0x4f452c,this[_0x4dea86(0x2ce)]=_0x9afb0d,this[_0x4dea86(0x51a)]=_0x40cb0c,this[_0x4dea86(0x5a1)]=!!this[_0x4dea86(0x51a)],_0x3e00f7['pipe'](_0x382682[_0x4dea86(0x45a)](this[_0x4dea86(0x472)]))['subscribe'](_0x54bbf9=>{const _0x230dc7=_0x4dea86;var _0x3603bb;typeof _0x54bbf9>'u'||(this[_0x230dc7(0x1e8)]=_0x54bbf9,_0x54bbf9?(this[_0x230dc7(0x574)](_0x54bbf9),this['_socketMessageSubscription']=_0x54bbf9['message$'][_0x230dc7(0x306)](_0x5a0499=>{const _0x4e64c8=_0x230dc7;_0x5a0499[_0x4e64c8(0x373)]===this[_0x4e64c8(0x204)]&&this[_0x4e64c8(0x444)](_0x5a0499);})):(this[_0x230dc7(0x2a6)](),this[_0x230dc7(0x4a8)][_0x230dc7(0x2d0)](0x2),(_0x3603bb=this[_0x230dc7(0x2fc)])==null||_0x3603bb[_0x230dc7(0x488)](),this[_0x230dc7(0x2fc)]=null));}),this[_0x4dea86(0x3d8)](this[_0x4dea86(0x39b)][_0x4dea86(0x50e)](()=>{const _0x25cdb9=_0x4dea86;var _0x316592;(_0x316592=this[_0x25cdb9(0x1e8)])==null||_0x316592[_0x25cdb9(0x309)]({'cmd':_0x220f74[_0x25cdb9(0x2a7)],'data':{'roomID':this['_unitID']}});})));}get[_0xd21782(0x4cf)](){const _0x348bfd=_0xd21782;return this[_0x348bfd(0x4a8)][_0x348bfd(0x4a7)]();}[_0xd21782(0x284)](){const _0x268e00=_0xd21782;var _0x20300e,_0x3847c4;return(_0x3847c4=(_0x20300e=this[_0x268e00(0x1e8)])==null?void 0x0:_0x20300e[_0x268e00(0x564)])!=null?_0x3847c4:null;}[_0xd21782(0x214)](){const _0x2b2e0e=_0xd21782;super[_0x2b2e0e(0x214)](),this[_0x2b2e0e(0x472)][_0x2b2e0e(0x2d0)](),this['dispose$'][_0x2b2e0e(0x242)]();}[_0xd21782(0x5ee)](){const _0x36df01=_0xd21782;var _0x1ef9dd,_0x3e5641;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1ef9dd=this[_0x36df01(0x1e8)])==null||_0x1ef9dd['send']({'cmd':_0x220f74[_0x36df01(0x2a7)],'data':{'roomID':this[_0x36df01(0x204)]}}),(_0x3e5641=this[_0x36df01(0x1e8)])==null||_0x3e5641[_0x36df01(0x5ee)](),this[_0x36df01(0x18d)][_0x36df01(0x242)](),this[_0x36df01(0x4a8)]['complete'](),this[_0x36df01(0x214)]();}[_0xd21782(0x444)](_0x4b471c){const _0x31e249=_0xd21782;_0x4b471c[_0x31e249(0x5a8)]===_0x220f74[_0x31e249(0x3bd)]?this[_0x31e249(0x3bc)](_0x4b471c):_0x4b471c[_0x31e249(0x5a8)]===_0x220f74[_0x31e249(0x481)]&&this[_0x31e249(0x196)](_0x4b471c);}[_0xd21782(0x574)](_0x5f1982){const _0x55c508=_0xd21782;this[_0x55c508(0x4a8)][_0x55c508(0x2d0)](0x1),_0x5f1982[_0x55c508(0x309)]({'cmd':_0x220f74['JOIN'],'routeKey':this[_0x55c508(0x204)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x32b56d){const _0x13aea8=_0xd21782;var _0x517d8d;if(_0x32b56d['code']===_0x4e4457['FAIL']){this[_0x13aea8(0x575)][_0x13aea8(0x31e)]({'type':_0x34d4ff['MessageType'][_0x13aea8(0x61f)],'content':this[_0x13aea8(0x58d)]['t'](_0x13aea8(0x39e))}),this[_0x13aea8(0x4a8)][_0x13aea8(0x2d0)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x988deb=(_0x517d8d=_0x32b56d[_0x13aea8(0x325)]['roomInfos'][this[_0x13aea8(0x204)]])==null?void 0x0:_0x517d8d[_0x13aea8(0x422)];_0x988deb&&_0x988deb[_0x13aea8(0x4b3)](_0x2354be=>this[_0x13aea8(0x420)][_0x13aea8(0x506)](this[_0x13aea8(0x204)],_0x2354be));}[_0xd21782(0x196)](_0x2de68e){const _0x5d44ed=_0xd21782;try{const _0x449685=_0x2de68e[_0x5d44ed(0x325)];switch(_0x449685[_0x5d44ed(0x28e)]){case _0x2df36b[_0x5d44ed(0x45e)][_0x5d44ed(0x266)]:this[_0x5d44ed(0x461)](_0x449685),this[_0x5d44ed(0x18d)][_0x5d44ed(0x2d0)](_0x449685);break;case _0x2df36b['CollaborationEvent'][_0x5d44ed(0x1bf)]:this[_0x5d44ed(0x5b1)](_0x449685),this['_event$'][_0x5d44ed(0x2d0)](_0x449685);break;case _0x2df36b[_0x5d44ed(0x45e)][_0x5d44ed(0x23e)]:case _0x2df36b[_0x5d44ed(0x45e)]['CHANGESET_SHOULD_RETRY']:this[_0x5d44ed(0x411)](),this[_0x5d44ed(0x454)](),this['_event$'][_0x5d44ed(0x2d0)](_0x449685);break;case _0x2df36b[_0x5d44ed(0x45e)][_0x5d44ed(0x576)]:this[_0x5d44ed(0x387)][_0x5d44ed(0x59a)](_0x5d44ed(0x48c)+JSON[_0x5d44ed(0x2e3)](_0x449685)),this['_event$'][_0x5d44ed(0x2d0)](_0x449685);break;case _0x2df36b[_0x5d44ed(0x45e)][_0x5d44ed(0x423)]:this[_0x5d44ed(0x2ce)][_0x5d44ed(0x5c0)](_0x449685['data']),this['_event$'][_0x5d44ed(0x2d0)](_0x449685);break;default:this[_0x5d44ed(0x18d)][_0x5d44ed(0x2d0)](_0x449685);}}catch(_0x1da935){this['_logService']['error'](_0x1da935,_0x2de68e);}}['_onUserJoin'](_0x4abee5){const _0x2c10b4=_0xd21782;this[_0x2c10b4(0x420)][_0x2c10b4(0x506)](this[_0x2c10b4(0x204)],_0x4abee5[_0x2c10b4(0x325)]);}[_0xd21782(0x5b1)](_0x17b1b5){const _0x3c2c50=_0xd21782;this[_0x3c2c50(0x420)][_0x3c2c50(0x38e)](this['_unitID'],_0x17b1b5[_0x3c2c50(0x325)][_0x3c2c50(0x564)]);}async['send'](_0x17690f,_0x3d21a0){const _0x15a9fc=_0xd21782;if(this[_0x15a9fc(0x4cf)]!==0x3||!this[_0x15a9fc(0x1e8)])throw new Error(_0x15a9fc(0x2d9));try{_0x17690f['eventID']===_0x2df36b[_0x15a9fc(0x45e)][_0x15a9fc(0x19a)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x17690f)),this[_0x15a9fc(0x1e8)][_0x15a9fc(0x309)]({'cmd':_0x220f74[_0x15a9fc(0x54f)],'routeKey':_0x3d21a0,'routeType':'','data':_0x17690f});}catch(_0x16ecfd){this[_0x15a9fc(0x387)][_0x15a9fc(0x59a)](_0x16ecfd);}}[_0xd21782(0x432)](){const _0x287e97=_0xd21782;var _0x345be9;this['_collaborationTimeoutTimer']=window[_0x287e97(0x1e6)](()=>{const _0xf170c4=_0x287e97;this[_0xf170c4(0x17d)]=null,this[_0xf170c4(0x575)][_0xf170c4(0x31e)]({'type':_0x34d4ff[_0xf170c4(0x261)][_0xf170c4(0x4ce)],'content':this[_0xf170c4(0x58d)]['t']('session.collaboration-timeout')});},(_0x345be9=this[_0x287e97(0x48a)][_0x287e97(0x27c)](_0x187776))!=null?_0x345be9:0x4e20);}[_0xd21782(0x454)](){const _0x372e1b=_0xd21782;this[_0x372e1b(0x17d)]&&(clearTimeout(this[_0x372e1b(0x17d)]),this[_0x372e1b(0x17d)]=null);}[_0xd21782(0x559)](_0x4e9184){const _0x2a43ff=_0xd21782;if(!this['_shouldReportTelemetry'])return;const {data:_0x406714}=_0x4e9184,{unitID:_0x564433,changeset:_0x4dccdc}=_0x406714,{mutations:_0x2b2f33,type:_0x39b300}=_0x4dccdc;this[_0x2a43ff(0x4d5)]={'unitId':_0x564433,'type':_0x39b300,'startTime':performance[_0x2a43ff(0x3bf)](),'stopTime':0x0,'duration':0x0,'size':_0x297a74(_0x2b2f33)};}[_0xd21782(0x411)](){const _0x584fae=_0xd21782;if(this[_0x584fae(0x5a1)]){if(!this[_0x584fae(0x4d5)]){this[_0x584fae(0x387)][_0x584fae(0x59a)](_0x584fae(0x63a),_0x584fae(0x4d0));return;}this[_0x584fae(0x4d5)][_0x584fae(0x3b1)]=performance[_0x584fae(0x3bf)](),this['_telemetryInfo'][_0x584fae(0x53a)]=this['_telemetryInfo'][_0x584fae(0x3b1)]-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x584fae(0x46b)](_0x3ba0e2,this[_0x584fae(0x4d5)]),this[_0x584fae(0x4d5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x5d4615=_0xd21782;this[_0x5d4615(0x4d5)]=null;}},_0x2e54f6[_0xd21782(0x56e)]=_0x4b8669([_0x48c898(0x2,_0x33b6e0[_0xd21782(0x447)]),_0x48c898(0x3,_0x563831['IBeforeCloseService']),_0x48c898(0x4,_0x563831[_0xd21782(0x33c)]),_0x48c898(0x5,_0x33b6e0[_0xd21782(0x4a4)]),_0x48c898(0x6,_0x33b6e0['Inject'](_0x33b6e0[_0xd21782(0x56a)])),_0x48c898(0x7,_0x33b6e0['Inject'](_0x2e54f6[_0xd21782(0x4c1)])),_0x48c898(0x8,_0x33b6e0[_0xd21782(0x2d5)](_0x273ed1)),_0x48c898(0x9,_0x33b6e0[_0xd21782(0x2a5)](_0xaa8a37[_0xd21782(0x60d)]))],_0x2e54f6['CollaborationSession']);var _0x4052aa=Object[_0xd21782(0x407)],_0x5a1198=Object[_0xd21782(0x52e)],_0x513fb8=(_0x506d72,_0x5320a6,_0x1b4149,_0x1200e8)=>{const _0x54bdf0=_0xd21782;for(var _0x3ea0bd=_0x1200e8>0x1?void 0x0:_0x1200e8?_0x5a1198(_0x5320a6,_0x1b4149):_0x5320a6,_0x101513=_0x506d72[_0x54bdf0(0x39d)]-0x1,_0x56286f;_0x101513>=0x0;_0x101513--)(_0x56286f=_0x506d72[_0x101513])&&(_0x3ea0bd=(_0x1200e8?_0x56286f(_0x5320a6,_0x1b4149,_0x3ea0bd):_0x56286f(_0x3ea0bd))||_0x3ea0bd);return _0x1200e8&&_0x3ea0bd&&_0x4052aa(_0x5320a6,_0x1b4149,_0x3ea0bd),_0x3ea0bd;},_0x162849=(_0x35678e,_0x1e6fc3)=>(_0x102f34,_0x2dc05c)=>_0x1e6fc3(_0x102f34,_0x2dc05c,_0x35678e);_0x2e54f6[_0xd21782(0x233)]=class extends _0x33b6e0['Disposable']{constructor(_0x51d69f,_0x28e297,_0xfb3186,_0x882bb6,_0x451432,_0x460dc9){const _0x2f07b8=_0xd21782;super(),_0x398ae0(this,_0x2f07b8(0x46d),new _0x382682[(_0x2f07b8(0x187))](void 0x0)),_0x398ae0(this,_0x2f07b8(0x418),this[_0x2f07b8(0x46d)][_0x2f07b8(0x372)]()),_0x398ae0(this,_0x2f07b8(0x429),null),_0x398ae0(this,_0x2f07b8(0x55a),new Map()),_0x398ae0(this,'_status$',new _0x382682[(_0x2f07b8(0x187))](_0x59052a[_0x2f07b8(0x4d7)])),_0x398ae0(this,_0x2f07b8(0x610),this[_0x2f07b8(0x503)][_0x2f07b8(0x372)]()),_0x398ae0(this,_0x2f07b8(0x28c),!0x1),_0x398ae0(this,_0x2f07b8(0x3ac)),_0x398ae0(this,_0x2f07b8(0x5d1),0x0),_0x398ae0(this,_0x2f07b8(0x523)),_0x398ae0(this,'_timeoutTimer'),(this['_injector']=_0x51d69f,this[_0x2f07b8(0x58d)]=_0x28e297,this['_messageService']=_0xfb3186,this[_0x2f07b8(0x387)]=_0x882bb6,this[_0x2f07b8(0x48a)]=_0x451432,this[_0x2f07b8(0x636)]=_0x460dc9,this[_0x2f07b8(0x586)]());}get[_0xd21782(0x1e8)](){const _0x30f404=_0xd21782;return this[_0x30f404(0x46d)]['getValue']();}[_0xd21782(0x586)](){const _0x8b258f=_0xd21782;this[_0x8b258f(0x614)](),this['_listenToOnlineEvent']();}[_0xd21782(0x214)](){const _0xb5b4b2=_0xd21782;super[_0xb5b4b2(0x214)](),this[_0xb5b4b2(0x55a)][_0xb5b4b2(0x4b3)](_0x289ff9=>_0x289ff9['dispose']()),this[_0xb5b4b2(0x55a)][_0xb5b4b2(0x572)](),this[_0xb5b4b2(0x503)][_0xb5b4b2(0x242)]();}async[_0xd21782(0x22f)](_0x941f63){const _0x15f26e=_0xd21782;if(this['_sessions'][_0x15f26e(0x4c6)](_0x941f63))return this[_0x15f26e(0x55a)][_0x15f26e(0x3c8)](_0x941f63);this[_0x15f26e(0x34e)]();const _0x7a1603=this[_0x15f26e(0x54d)][_0x15f26e(0x27d)](_0x2e54f6[_0x15f26e(0x56e)],_0x941f63,this[_0x15f26e(0x46d)][_0x15f26e(0x372)]());return this[_0x15f26e(0x55a)][_0x15f26e(0x44b)](_0x941f63,_0x7a1603),_0x7a1603;}[_0xd21782(0x570)](_0x3de6c8){const _0x43c30f=_0xd21782;var _0x524b25;const _0x49be64=this[_0x43c30f(0x55a)][_0x43c30f(0x3c8)](_0x3de6c8);_0x49be64&&(this[_0x43c30f(0x55a)][_0x43c30f(0x18e)](_0x3de6c8),_0x49be64[_0x43c30f(0x5ee)]()),this[_0x43c30f(0x55a)][_0x43c30f(0x5dd)]||(_0x524b25=this['_socket'])==null||_0x524b25[_0x43c30f(0x5ee)]();}[_0xd21782(0x51c)](){const _0x29521d=_0xd21782;this[_0x29521d(0x5d1)]=0x0,this[_0x29521d(0x3ac)]!=null&&(clearTimeout(this[_0x29521d(0x3ac)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}[_0xd21782(0x5f0)](){const _0x3541ff=_0xd21782;var _0x297e53,_0x5956f6;const _0x428a07=this[_0x3541ff(0x48a)]['getConfig'](_0x414d61),_0x12c5f1=this['_configService'][_0x3541ff(0x27c)](_0x134311),_0x35f84f=(_0x5956f6=(_0x297e53=_0x12c5f1==null?void 0x0:_0x12c5f1[_0x3541ff(0x44a)])!=null?_0x297e53:_0x428a07)!=null?_0x5956f6:_0x5c1026,_0x3d19e2=this[_0x3541ff(0x636)][_0x3541ff(0x41d)](_0x35f84f);return this[_0x3541ff(0x429)]=_0x3d19e2,_0x3d19e2;}[_0xd21782(0x34e)](){const _0x257d91=_0xd21782;var _0x143449,_0x29afe2;try{const _0x1cca9c=(_0x29afe2=(_0x143449=this[_0x257d91(0x1e8)])!=null?_0x143449:this['_candidateSocket'])!=null?_0x29afe2:this[_0x257d91(0x5f0)]();if(_0x1cca9c){const _0x46d65f=_0x1cca9c[_0x257d91(0x309)];_0x1cca9c['send']=_0x1e4d2f=>(this['_rescheduleHeartbeat'](),_0x46d65f[_0x257d91(0x4cd)](_0x1cca9c,[_0x1e4d2f])),_0x1cca9c[_0x257d91(0x2b3)][_0x257d91(0x306)](_0x479d05=>this[_0x257d91(0x3e1)](_0x1cca9c,_0x479d05)),_0x1cca9c[_0x257d91(0x34f)]['pipe'](_0x52ded5[_0x257d91(0x47f)](0x1))['subscribe'](_0x3ead90=>this[_0x257d91(0x387)][_0x257d91(0x59a)](_0x257d91(0x1b9),_0x3ead90)),_0x1cca9c[_0x257d91(0x24a)][_0x257d91(0x3d3)](_0x52ded5[_0x257d91(0x47f)](0x1))[_0x257d91(0x306)](()=>{const _0x43e902=_0x257d91;this[_0x43e902(0x3b2)](_0x1cca9c);}),_0x1cca9c[_0x257d91(0x369)][_0x257d91(0x3d3)](_0x52ded5['take'](0x1))[_0x257d91(0x306)](_0x224d00=>{const _0x3777f4=_0x257d91;this[_0x3777f4(0x387)][_0x3777f4(0x49e)](_0x3777f4(0x504),_0x3777f4(0x4a5),_0x224d00),this[_0x3777f4(0x449)]();});}}catch(_0x546f10){this['_logService']['error'](_0x546f10),this[_0x257d91(0x449)]();}}[_0xd21782(0x3b2)](_0x48f74c){const _0x19ab20=_0xd21782;this['_logService']['debug'](_0x19ab20(0x504),'socket\x20open.'),_0x48f74c['send']({'cmd':_0x220f74[_0x19ab20(0x1c7)]}),this['_rescheduleHeartbeat']();}[_0xd21782(0x614)](){const _0x4d8921=_0xd21782;window[_0x4d8921(0x1c9)](_0x4d8921(0x5dc),()=>this[_0x4d8921(0x53d)]());}[_0xd21782(0x53d)](){const _0xe01154=_0xd21782;this[_0xe01154(0x28c)]=!0x1,this['_candidateSocket']=null,this[_0xe01154(0x503)]['next'](_0x59052a[_0xe01154(0x3ca)]),this['_socket$'][_0xe01154(0x2d0)](null),this['_clearTimeoutTimer'](),this[_0xe01154(0x227)]();}[_0xd21782(0x449)](){const _0x4baa80=_0xd21782;var _0x55960c;this['_onOffline'](),this[_0x4baa80(0x5d1)]<((_0x55960c=this['_configService']['getConfig'](_0x54641d))!=null?_0x55960c:0x3)?(this['_messageService'][_0x4baa80(0x31e)]({'key':'collaboration-session-retry','type':_0x34d4ff[_0x4baa80(0x261)]['Warning'],'content':this[_0x4baa80(0x58d)]['t'](_0x4baa80(0x2b4))}),this['_tryReconnect']()):this['_messageService'][_0x4baa80(0x31e)]({'key':_0x4baa80(0x3a6),'type':_0x34d4ff[_0x4baa80(0x261)]['Error'],'content':this['_localeService']['t'](_0x4baa80(0x550))});}[_0xd21782(0x412)](){const _0x7c1cf1=_0xd21782,_0x405a37=()=>{const _0x4564e5=_0x49f2;this[_0x4564e5(0x1e8)]||this[_0x4564e5(0x51c)]();},_0x79f12b=()=>{const _0x4d0e70=_0x49f2;this['_socket']||document['visibilityState']===_0x4d0e70(0x5a7)||this[_0x4d0e70(0x51c)]();};window[_0x7c1cf1(0x1c9)](_0x7c1cf1(0x5b4),_0x405a37),document[_0x7c1cf1(0x1c9)](_0x7c1cf1(0x560),_0x79f12b);}[_0xd21782(0x263)](){const _0x5745ab=_0xd21782;var _0x267a82;const _0x5aac68=this[_0x5745ab(0x5d1)],_0x12535d=this['_configService'][_0x5745ab(0x27c)](_0x134311),_0x45c6a4=_0x5aac68===0x0?0x0:((_0x267a82=_0x12535d==null?void 0x0:_0x12535d[_0x5745ab(0x624)])!=null?_0x267a82:0x4e20)*0x2**_0x5aac68;this[_0x5745ab(0x3ac)]=window[_0x5745ab(0x1e6)](()=>{const _0x7bc4f7=_0x5745ab;clearTimeout(this[_0x7bc4f7(0x3ac)]),this[_0x7bc4f7(0x3ac)]=null,this[_0x7bc4f7(0x34e)]();},_0x45c6a4),this[_0x5745ab(0x5d1)]+=0x1;}['_onMessage'](_0x1af7c5,_0x854354){const _0x5983f1=_0xd21782,{cmd:_0x3caa9e}=_0x854354;_0x3caa9e===_0x220f74[_0x5983f1(0x1c7)]&&!this[_0x5983f1(0x28c)]&&(_0x1af7c5['memberID']=_0x854354['data'][_0x5983f1(0x564)],this['_socket$'][_0x5983f1(0x2d0)](_0x1af7c5),this[_0x5983f1(0x503)][_0x5983f1(0x2d0)](_0x59052a[_0x5983f1(0x228)]),this[_0x5983f1(0x28c)]=!0x0,this[_0x5983f1(0x429)]=null),_0x3caa9e===_0x220f74[_0x5983f1(0x533)]&&this['_clearTimeoutTimer'](),this[_0x5983f1(0x31b)]();}[_0xd21782(0x31b)](){const _0x252805=_0xd21782;var _0x52a7ff;this[_0x252805(0x227)](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this['_sendHeartbeat'](),(_0x52a7ff=this[_0x252805(0x48a)][_0x252805(0x27c)](_0x19b725))!=null?_0x52a7ff:0x7530);}[_0xd21782(0x2f2)](){const _0x24553d=_0xd21782;this['_socket'][_0x24553d(0x309)]({'cmd':_0x220f74[_0x24553d(0x533)]}),this['_waitForHeartbeatResponse']();}[_0xd21782(0x3e3)](){const _0x2b1bb8=_0xd21782;var _0x5d3e46;this[_0x2b1bb8(0x45b)]=window[_0x2b1bb8(0x1e6)](()=>this[_0x2b1bb8(0x449)](),(_0x5d3e46=this['_configService'][_0x2b1bb8(0x27c)](_0x187776))!=null?_0x5d3e46:0x4e20);}[_0xd21782(0x227)](){const _0x42a2ba=_0xd21782;this[_0x42a2ba(0x523)]!=null&&(clearTimeout(this[_0x42a2ba(0x523)]),this[_0x42a2ba(0x523)]=null);}['_clearTimeoutTimer'](){const _0x57e7bd=_0xd21782;this[_0x57e7bd(0x45b)]!=null&&(clearTimeout(this[_0x57e7bd(0x45b)]),this['_timeoutTimer']=null);}},_0x2e54f6[_0xd21782(0x233)]=_0x513fb8([_0x162849(0x0,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0x162849(0x1,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x56a)])),_0x162849(0x2,_0x563831['IMessageService']),_0x162849(0x3,_0x33b6e0[_0xd21782(0x447)]),_0x162849(0x4,_0x33b6e0[_0xd21782(0x4a4)]),_0x162849(0x5,_0x234aba)],_0x2e54f6[_0xd21782(0x233)]);for(var _0x3a4a71=[],_0x53f470=0x0;_0x53f470<0x100;++_0x53f470)_0x3a4a71['push']((_0x53f470+0x100)[_0xd21782(0x301)](0x10)['slice'](0x1));function _0x3dad9b(_0x1cc946,_0x5a9d39=0x0){return(_0x3a4a71[_0x1cc946[_0x5a9d39+0x0]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0x1]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0x2]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0x3]]+'-'+_0x3a4a71[_0x1cc946[_0x5a9d39+0x4]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0x5]]+'-'+_0x3a4a71[_0x1cc946[_0x5a9d39+0x6]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0x7]]+'-'+_0x3a4a71[_0x1cc946[_0x5a9d39+0x8]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0x9]]+'-'+_0x3a4a71[_0x1cc946[_0x5a9d39+0xa]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0xb]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0xc]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0xd]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0xe]]+_0x3a4a71[_0x1cc946[_0x5a9d39+0xf]])['toLowerCase']();}var _0x5f1eb1,_0x31d6e9=new Uint8Array(0x10);function _0x49cab6(){const _0x343e57=_0xd21782;if(!_0x5f1eb1&&(_0x5f1eb1=typeof crypto<'u'&&crypto[_0x343e57(0x530)]&&crypto[_0x343e57(0x530)][_0x343e57(0x440)](crypto),!_0x5f1eb1))throw new Error(_0x343e57(0x384));return _0x5f1eb1(_0x31d6e9);}var _0x392b58=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0xd21782(0x382)][_0xd21782(0x440)](crypto);const _0x1ee262={'randomUUID':_0x392b58};function _0x1c364f(_0x56b70b,_0x357823,_0x577a95){const _0x15b68e=_0xd21782;if(_0x1ee262[_0x15b68e(0x382)]&&!_0x357823&&!_0x56b70b)return _0x1ee262[_0x15b68e(0x382)]();_0x56b70b=_0x56b70b||{};var _0x3d846e=_0x56b70b[_0x15b68e(0x216)]||(_0x56b70b['rng']||_0x49cab6)();return _0x3d846e[0x6]=_0x3d846e[0x6]&0xf|0x40,_0x3d846e[0x8]=_0x3d846e[0x8]&0x3f|0x80,_0x3dad9b(_0x3d846e);}var _0x3ec54=Object['defineProperty'],_0x495bd7=Object['getOwnPropertyDescriptor'],_0x25034d=(_0x12018b,_0x1ebe8d,_0x17e6b5,_0xed1b02)=>{const _0x367e29=_0xd21782;for(var _0x4dd3dc=_0xed1b02>0x1?void 0x0:_0xed1b02?_0x495bd7(_0x1ebe8d,_0x17e6b5):_0x1ebe8d,_0x43e257=_0x12018b[_0x367e29(0x39d)]-0x1,_0x19f177;_0x43e257>=0x0;_0x43e257--)(_0x19f177=_0x12018b[_0x43e257])&&(_0x4dd3dc=(_0xed1b02?_0x19f177(_0x1ebe8d,_0x17e6b5,_0x4dd3dc):_0x19f177(_0x4dd3dc))||_0x4dd3dc);return _0xed1b02&&_0x4dd3dc&&_0x3ec54(_0x1ebe8d,_0x17e6b5,_0x4dd3dc),_0x4dd3dc;},_0x2fecca=(_0x187705,_0x2c5e7c)=>(_0xa33bc4,_0x54eb50)=>_0x2c5e7c(_0xa33bc4,_0x54eb50,_0x187705);let _0x22a379=class{constructor(_0x43db37,_0x5f8c80,_0x318d37){const _0x41bbe7=_0xd21782;this['_injector']=_0x43db37,this[_0x41bbe7(0x1ea)]=_0x5f8c80,this[_0x41bbe7(0x221)]=_0x318d37;}[_0xd21782(0x479)](_0x38b5b3){const _0x4dddb3=_0xd21782;this['_transformUndoRedoStack'](_0x38b5b3),this[_0x4dddb3(0x5f6)](_0x38b5b3);}['transformRemoteChangeset'](_0x483f0b){const _0x3597af=_0xd21782,{unitID:_0x532d47}=_0x483f0b,_0x429fee=this[_0x3597af(0x221)][_0x3597af(0x59f)](_0x532d47)[_0x3597af(0x3a7)](_0x52f834[_0x3597af(0x5f9)]),{redoCache:_0x15c750}=_0x429fee[_0x3597af(0x2ef)]();if(_0x15c750[_0x3597af(0x39d)]===0x0)return _0x483f0b;let _0x3d7b2f=_0x33b6e0[_0x3597af(0x270)][_0x3597af(0x32f)](_0x483f0b['mutations'][0x0]);for(let _0x18cc03=0x0;_0x18cc03<_0x15c750[_0x3597af(0x39d)];_0x18cc03++){const _0x1fa009={'id':'doc.mutation.rich-text-editing','params':{..._0x15c750[_0x18cc03]}},_0x495de0=this['_transformService'][_0x3597af(0x609)](_0x3d7b2f,_0x1fa009,!0x1);if(_0x2df36b['isTransformMutationFailure'](_0x495de0))throw _0x495de0[_0x3597af(0x59a)];_0x3d7b2f=_0x495de0[_0x3597af(0x4c5)];}return{..._0x33b6e0[_0x3597af(0x270)][_0x3597af(0x32f)](_0x483f0b),'mutations':[_0x3d7b2f]};}[_0xd21782(0x5ae)](_0x2b6c9d){const _0x1807f7=_0xd21782,{unitID:_0x17dafb}=_0x2b6c9d,_0x39eebd=this['_renderManagerService'][_0x1807f7(0x59f)](_0x17dafb)[_0x1807f7(0x3a7)](_0x52f834['DocIMEInputManagerService']),{undoCache:_0x201294,redoCache:_0x1e981e}=_0x39eebd['getUndoRedoMutationParamsCache']();if(_0x201294[_0x1807f7(0x39d)]===0x0||_0x1e981e[_0x1807f7(0x39d)]===0x0)return;const _0x386160=[],_0x1da0eb=[];let _0x3320fd=_0x33b6e0[_0x1807f7(0x270)]['deepClone'](_0x2b6c9d[_0x1807f7(0x5ff)][0x0]),_0x4e2314=_0x33b6e0[_0x1807f7(0x270)][_0x1807f7(0x32f)](_0x2b6c9d['mutations'][0x0]);for(let _0x2379cb=_0x201294[_0x1807f7(0x39d)]-0x1;_0x2379cb>=0x0;_0x2379cb--){const _0x6af138={'id':'doc.mutation.rich-text-editing','params':{..._0x201294[_0x2379cb]}},_0x4f7eae={'id':'doc.mutation.rich-text-editing','params':{..._0x1e981e[_0x2379cb]}},_0xa9e0e5=this[_0x1807f7(0x1ea)][_0x1807f7(0x609)](_0x3320fd,_0x6af138,!0x1),_0x273b6a=this['_transformService'][_0x1807f7(0x609)](_0x4e2314,_0x4f7eae,!0x1);if(_0x2df36b[_0x1807f7(0x4df)](_0xa9e0e5))throw _0xa9e0e5[_0x1807f7(0x59a)];if(_0x2df36b['isTransformMutationFailure'](_0x273b6a))throw _0x273b6a[_0x1807f7(0x59a)];_0x386160[_0x1807f7(0x607)](_0xa9e0e5[_0x1807f7(0x5ce)][_0x1807f7(0x589)]),_0x1da0eb[_0x1807f7(0x607)](_0x273b6a[_0x1807f7(0x5ce)][_0x1807f7(0x589)]),_0x3320fd=_0xa9e0e5[_0x1807f7(0x4c5)],_0x4e2314=_0x273b6a[_0x1807f7(0x4c5)];}_0x39eebd['setUndoRedoMutationParamsCache']({'undoCache':_0x386160,'redoCache':_0x1da0eb});}['_transformPreviousActiveRange'](_0x2c0a67){const _0x3bfca6=_0xd21782,{unitID:_0x440503}=_0x2c0a67,_0xbc856b=this[_0x3bfca6(0x221)][_0x3bfca6(0x59f)](_0x440503)[_0x3bfca6(0x3a7)](_0x52f834[_0x3bfca6(0x5f9)]),_0x2ebab3=_0xbc856b[_0x3bfca6(0x632)]();if(_0x2ebab3==null)return;const _0x20c49c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c0a67[_0x3bfca6(0x33d)],'actions':null,'textRanges':[_0x2ebab3]}}],_0x193c56=this[_0x3bfca6(0x1ea)][_0x3bfca6(0x5e8)](_0x2c0a67,_0x20c49c);if(!_0x2df36b['isTransformMutationsWithChangesetSuccess'](_0x193c56))throw _0x193c56['error'];const _0x23aeac=_0x193c56[_0x3bfca6(0x5ce)][0x0]['params'][_0x3bfca6(0x4ae)];Array[_0x3bfca6(0x229)](_0x23aeac)&&_0x23aeac[_0x3bfca6(0x39d)]&&_0xbc856b[_0x3bfca6(0x4c4)](_0x23aeac[0x0]);}};_0x22a379=_0x25034d([_0x2fecca(0x0,_0x33b6e0['Inject'](_0x33b6e0[_0xd21782(0x2de)])),_0x2fecca(0x1,_0x2df36b['ITransformService']),_0x2fecca(0x2,_0x1db1e9[_0xd21782(0x626)])],_0x22a379);var _0x5e0834=Object[_0xd21782(0x407)],_0x4c3454=Object[_0xd21782(0x52e)],_0x29798d=(_0x4f536e,_0x424156,_0x58d5fc,_0xda5c91)=>{const _0x34806f=_0xd21782;for(var _0x16a045=_0xda5c91>0x1?void 0x0:_0xda5c91?_0x4c3454(_0x424156,_0x58d5fc):_0x424156,_0x225381=_0x4f536e[_0x34806f(0x39d)]-0x1,_0xdf4526;_0x225381>=0x0;_0x225381--)(_0xdf4526=_0x4f536e[_0x225381])&&(_0x16a045=(_0xda5c91?_0xdf4526(_0x424156,_0x58d5fc,_0x16a045):_0xdf4526(_0x16a045))||_0x16a045);return _0xda5c91&&_0x16a045&&_0x5e0834(_0x424156,_0x58d5fc,_0x16a045),_0x16a045;},_0x17c977=(_0x28f249,_0x560b56)=>(_0x512c77,_0xb642f2)=>_0x560b56(_0x512c77,_0xb642f2,_0x28f249);_0x2e54f6[_0xd21782(0x4ec)]=class extends _0x33b6e0[_0xd21782(0x5ea)]{constructor(_0x10d50d,_0x1437bb,_0xacf793,_0x50bb67,_0x922bf6){const _0x24bb79=_0xd21782;super(),_0x398ae0(this,_0x24bb79(0x4e7),new Map()),_0x398ae0(this,_0x24bb79(0x4ba),new Map()),_0x398ae0(this,_0x24bb79(0x5bd),!0x1),(this[_0x24bb79(0x48a)]=_0x10d50d,this[_0x24bb79(0x476)]=_0x1437bb,this[_0x24bb79(0x39b)]=_0xacf793,this['_localeService']=_0x50bb67,this[_0x24bb79(0x1c3)]=_0x922bf6,this[_0x24bb79(0x24d)]());}[_0xd21782(0x3f4)](){const _0x5428b7=_0xd21782;this[_0x5428b7(0x5bd)]=!0x0;}[_0xd21782(0x1e3)](){this['_disabled']=!0x1;}['dispose'](){const _0xe3de89=_0xd21782;this['exhaustSavingTask']()[_0xe3de89(0x244)](()=>super['dispose']());}async[_0xd21782(0x3e4)](_0x59ce18){const _0x91efa1=_0xd21782;return this[_0x91efa1(0x5bd)]?null:this[_0x91efa1(0x476)][_0x91efa1(0x4b0)](_0x1588fb(_0x59ce18));}async[_0xd21782(0x595)](_0x1ae288,_0x400b58){const _0x1f8429=_0xd21782;return!!this[_0x1f8429(0x476)][_0x1f8429(0x200)](_0x1ae288,_0x400b58);}[_0xd21782(0x280)](_0x2fc637,_0x481152,_0x2f708a,_0x29f174){const _0x418f93=_0xd21782,_0x250f40=this[_0x418f93(0x1c3)][_0x418f93(0x585)](_0x2fc637);this[_0x418f93(0x4e7)][_0x418f93(0x44b)](_0x2fc637,{'unitID':_0x2fc637,'type':_0x481152,'awaitingChangeset':_0x2f708a,'mutations':_0x29f174,'rev':_0x250f40}),this[_0x418f93(0x4ba)]['has'](_0x2fc637)||this[_0x418f93(0x515)](_0x2fc637);}[_0xd21782(0x515)](_0x4f6d63){const _0x4ced9f=_0xd21782,_0x23e4ec=this[_0x4ced9f(0x35c)]();_0x23e4ec===0x0?this[_0x4ced9f(0x24b)](_0x4f6d63):this[_0x4ced9f(0x4ba)][_0x4ced9f(0x44b)](_0x4f6d63,setTimeout(()=>this[_0x4ced9f(0x24b)](_0x4f6d63),_0x23e4ec));}[_0xd21782(0x35c)](){const _0x53d93c=_0xd21782;var _0x556669;return(_0x556669=this[_0x53d93c(0x48a)][_0x53d93c(0x27c)](_0x2e492f))!=null?_0x556669:0x3e8;}['_saveCache'](_0x311cb4){const _0x1bef54=_0xd21782,_0x2bb0cd=this[_0x1bef54(0x4ba)][_0x1bef54(0x3c8)](_0x311cb4);return _0x2bb0cd!==void 0x0&&window[_0x1bef54(0x317)](_0x2bb0cd),this[_0x1bef54(0x476)][_0x1bef54(0x200)](_0x1588fb(_0x311cb4),this[_0x1bef54(0x4e7)][_0x1bef54(0x3c8)](_0x311cb4))[_0x1bef54(0x244)](()=>this[_0x1bef54(0x4ba)][_0x1bef54(0x18e)](_0x311cb4));}async['exhaustSavingTask'](){const _0x44c846=_0xd21782,_0x63fe91=[];this[_0x44c846(0x4ba)][_0x44c846(0x4b3)]((_0x17e632,_0x22ab89)=>{const _0x5d886e=_0x44c846;window[_0x5d886e(0x317)](_0x17e632),_0x63fe91[_0x5d886e(0x42a)](this['_saveCache'](_0x22ab89)[_0x5d886e(0x244)](()=>{const _0xc5ba60=_0x5d886e;this['_saveTaskMap'][_0xc5ba60(0x18e)](_0x22ab89);}));}),await Promise[_0x44c846(0x251)](_0x63fe91);}[_0xd21782(0x24d)](){const _0x38b6cd=_0xd21782;this[_0x38b6cd(0x3d8)](this[_0x38b6cd(0x39b)]['registerBeforeClose'](()=>{const _0x2f2945=_0x38b6cd;if(this[_0x2f2945(0x4ba)][_0x2f2945(0x5dd)])return this[_0x2f2945(0x58d)]['t'](_0x2f2945(0x213));}));}},_0x2e54f6[_0xd21782(0x4ec)]=_0x29798d([_0x17c977(0x0,_0x33b6e0['IConfigService']),_0x17c977(0x1,_0x33b6e0[_0xd21782(0x4a9)]),_0x17c977(0x2,_0x563831[_0xd21782(0x1fe)]),_0x17c977(0x3,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x56a)])),_0x17c977(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b['RevisionService']))],_0x2e54f6[_0xd21782(0x4ec)]);function _0x1588fb(_0xfd4b82){return'unit-cache-'+_0xfd4b82;}var _0x5e67c6=Object['defineProperty'],_0x1656d7=Object[_0xd21782(0x52e)],_0x43c5cb=(_0x3d7e9e,_0x436eb8,_0x2f93af,_0x395fc4)=>{const _0x50222d=_0xd21782;for(var _0x39df18=_0x395fc4>0x1?void 0x0:_0x395fc4?_0x1656d7(_0x436eb8,_0x2f93af):_0x436eb8,_0xd75fe6=_0x3d7e9e[_0x50222d(0x39d)]-0x1,_0x119d1e;_0xd75fe6>=0x0;_0xd75fe6--)(_0x119d1e=_0x3d7e9e[_0xd75fe6])&&(_0x39df18=(_0x395fc4?_0x119d1e(_0x436eb8,_0x2f93af,_0x39df18):_0x119d1e(_0x39df18))||_0x39df18);return _0x395fc4&&_0x39df18&&_0x5e67c6(_0x436eb8,_0x2f93af,_0x39df18),_0x39df18;},_0x1bbcf6=(_0x549282,_0x2e9b0f)=>(_0x2bd3f1,_0x36a380)=>_0x2e9b0f(_0x2bd3f1,_0x36a380,_0x549282);function _0x588c26(_0x236877){const _0x1956c7=_0xd21782,{unitID:_0x460cef,mutations:_0x191995}=_0x236877;return{'unitId':_0x460cef,'subUnitId':_0x191995[0x0][_0x1956c7(0x589)]['subUnitId']};}let _0x1561db=class{constructor(_0x42ad6a,_0x363aa0,_0x1e3fc7){const _0x3b5d33=_0xd21782;this['_injector']=_0x42ad6a,this[_0x3b5d33(0x1ea)]=_0x363aa0,this['_instanceService']=_0x1e3fc7;}[_0xd21782(0x230)](_0x12d6bf){const _0x2de992=_0xd21782;var _0x3eb1a2,_0x17bfe8,_0xd37c65,_0x83bb11;const _0x9bf55=this[_0x2de992(0x54d)][_0x2de992(0x3c8)](_0x3f2383[_0x2de992(0x2ae)]),{unitId:_0x4a4921,subUnitId:_0x182ca1}=_0x588c26(_0x12d6bf),_0x3733e7=_0x9bf55[_0x2de992(0x5c9)](_0x4a4921)[_0x2de992(0x1c2)](),_0x44c542=(_0x17bfe8=(_0x3eb1a2=this[_0x2de992(0x396)][_0x2de992(0x375)](_0x4a4921))==null?void 0x0:_0x3eb1a2['getActiveSheet']())==null?void 0x0:_0x17bfe8[_0x2de992(0x1ba)]();if(_0x3733e7['length']===0x0||!_0x4a4921||!_0x182ca1)return;const _0x2671bd=[{'id':_0x3f2383[_0x2de992(0x1ad)]['id'],'params':{'unitId':_0x4a4921,'subUnitId':_0x44c542,'selections':_0x33b6e0[_0x2de992(0x270)]['deepClone'](_0x3733e7)}}],_0x3aca56=this[_0x2de992(0x1ea)][_0x2de992(0x5e8)](_0x12d6bf,_0x2671bd);if(!_0x2df36b[_0x2de992(0x3eb)](_0x3aca56))throw _0x3aca56[_0x2de992(0x59a)];const _0x5816d8=(_0x83bb11=(_0xd37c65=_0x3aca56[_0x2de992(0x5ce)][0x0])==null?void 0x0:_0xd37c65[_0x2de992(0x589)])==null?void 0x0:_0x83bb11['selections'];if(Array[_0x2de992(0x229)](_0x5816d8)&&_0x5816d8[_0x2de992(0x39d)]){if(_0x5816d8['length']===_0x2671bd[0x0]['params']['selections']['length']&&_0x5816d8[_0x2de992(0x460)]((_0x2c6409,_0x48d247)=>_0x33b6e0[_0x2de992(0x57f)]['equals'](_0x2c6409[_0x2de992(0x2f3)],_0x2671bd[0x0][_0x2de992(0x589)][_0x2de992(0x3fc)][_0x48d247][_0x2de992(0x2f3)])))return;this['_injector']['get'](_0x33b6e0[_0x2de992(0x45c)])[_0x2de992(0x350)](_0x3f2383[_0x2de992(0x1ad)]['id'],{'unitId':_0x4a4921,'subUnitId':_0x44c542,'selections':_0x5816d8});}}};_0x1561db=_0x43c5cb([_0x1bbcf6(0x0,_0x33b6e0['Inject'](_0x33b6e0[_0xd21782(0x2de)])),_0x1bbcf6(0x1,_0x2df36b[_0xd21782(0x268)]),_0x1bbcf6(0x2,_0x33b6e0[_0xd21782(0x5a9)])],_0x1561db);const _0x4bdc83=_0x33b6e0[_0xd21782(0x4b9)](_0xd21782(0x634));var _0x1a49ad=(_0x204c92=>(_0x204c92[_0x204c92[_0xd21782(0x2fd)]=0x0]=_0xd21782(0x2fd),_0x204c92[_0x204c92['OTHER_CLIENTS_EDITING']=0x1]=_0xd21782(0x22e),_0x204c92))(_0x1a49ad||{});const _0x6bc756=0x7530,_0xaa6f2=_0xd21782(0x1d9);class _0x192700 extends _0x33b6e0[_0xd21782(0x5ea)]{constructor(){const _0x361d17=_0xd21782;super(),_0x398ae0(this,_0x361d17(0x5d2),_0x33b6e0['Tools'][_0x361d17(0x1b8)]()),_0x398ae0(this,_0x361d17(0x1eb),new Set()),_0x398ae0(this,_0x361d17(0x4c8),new Map()),_0x398ae0(this,_0x361d17(0x3fd),null),_0x398ae0(this,_0x361d17(0x48b),new Map()),_0x398ae0(this,_0x361d17(0x57d),new Map()),this['_init']();}[_0xd21782(0x214)](){const _0x524af=_0xd21782;super[_0x524af(0x214)](),this[_0x524af(0x48b)]['forEach']((_0x3fef0a,_0xd7570e)=>this[_0x524af(0x47a)](_0xd7570e)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x2485c1){const _0x349b70=_0xd21782;return this[_0x349b70(0x2a8)](_0x2485c1)['pipe'](_0x382682[_0x349b70(0x5b9)]());}['editingUnit'](_0x5dd62d){const _0x25f0fc=_0xd21782;this['_selfUnitIDs'][_0x25f0fc(0x5dd)]===0x0&&this[_0x25f0fc(0x512)](),this[_0x25f0fc(0x1eb)]['add'](_0x5dd62d),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5dd62d],'isForwarded':!0x1});}[_0xd21782(0x5f8)](_0x6f1ed0){const _0x4916fd=_0xd21782;this[_0x4916fd(0x1eb)][_0x4916fd(0x18e)](_0x6f1ed0),this[_0x4916fd(0x1eb)][_0x4916fd(0x5dd)]===0x0&&this[_0x4916fd(0x3fd)]&&window[_0x4916fd(0x215)](this[_0x4916fd(0x3fd)]);}[_0xd21782(0x323)](){const _0x4891f3=_0xd21782;this[_0x4891f3(0x3d8)](_0x33b6e0[_0x4891f3(0x318)](_0x382682['fromEvent'](window,_0x4891f3(0x288))[_0x4891f3(0x306)](_0x144bf2=>{const _0x5c989c=_0x4891f3;if(_0x144bf2[_0x5c989c(0x597)]!==_0xaa6f2||!_0x144bf2[_0x5c989c(0x2c0)])return;const _0x514d6f=JSON[_0x5c989c(0x48e)](_0x144bf2[_0x5c989c(0x2c0)]);this[_0x5c989c(0x5e0)](_0x514d6f);}))),window[_0x4891f3(0x1c9)](_0x4891f3(0x4fc),()=>this[_0x4891f3(0x3b5)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x4891f3(0x1eb)])}));}[_0xd21782(0x5e0)](_0x19a375){const _0x2aea3e=_0xd21782;switch(_0x19a375[_0x2aea3e(0x601)]){case 0x0:this[_0x2aea3e(0x4c7)](_0x19a375);break;case 0x1:this[_0x2aea3e(0x23b)](_0x19a375);break;case 0x2:this['_handleHeartbeatEvent'](_0x19a375);break;}}['_handleJoinEvent'](_0xbda273){const _0x4a1298=_0xd21782,{unitIDs:_0x15f6e7,memberID:_0x5c20dd,isForwarded:_0x550889}=_0xbda273;_0x15f6e7[_0x4a1298(0x4b3)](_0x93fb27=>{const _0x5d1485=_0x4a1298;if(!_0x550889&&this[_0x5d1485(0x4c8)][_0x5d1485(0x4c6)](_0x93fb27)&&this[_0x5d1485(0x2a8)](_0x93fb27)[_0x5d1485(0x2d0)](0x1),!this[_0x5d1485(0x4c8)][_0x5d1485(0x4c6)](_0x93fb27)||!this[_0x5d1485(0x4c8)][_0x5d1485(0x3c8)](_0x93fb27)[_0x5d1485(0x4c6)](_0x5c20dd)){const _0x332b81=this[_0x5d1485(0x4c8)][_0x5d1485(0x3c8)](_0x93fb27)||new Set();_0x332b81['add'](_0x5c20dd),this[_0x5d1485(0x4c8)][_0x5d1485(0x44b)](_0x93fb27,_0x332b81),this['_scheduleClearOtherTimer'](_0x5c20dd);}}),_0x550889||this[_0x4a1298(0x3b5)]({'type':0x0,'memberID':this[_0x4a1298(0x5d2)],'unitIDs':[...this[_0x4a1298(0x1eb)]],'isForwarded':!0x0});}[_0xd21782(0x493)](_0x45025f){const _0x3f8e02=_0xd21782;this[_0x3f8e02(0x47a)](_0x45025f);const _0xbb50d0=window[_0x3f8e02(0x1e6)](()=>{const _0x1b6624=_0x3f8e02;this[_0x1b6624(0x4c8)][_0x1b6624(0x4b3)](_0x2868bd=>{const _0x3aed82=_0x1b6624;_0x2868bd[_0x3aed82(0x18e)](_0x45025f);});},_0x6bc756*0x2);this['_clearOtherTimers'][_0x3f8e02(0x44b)](_0x45025f,_0xbb50d0);}[_0xd21782(0x47a)](_0x265de6){const _0x554042=_0xd21782;if(this[_0x554042(0x48b)][_0x554042(0x4c6)](_0x265de6)){const _0x1ddffc=this[_0x554042(0x48b)][_0x554042(0x3c8)](_0x265de6);_0x1ddffc&&window[_0x554042(0x317)](_0x1ddffc),this['_clearOtherTimers'][_0x554042(0x44b)](_0x265de6,null);}}['_handleLeaveEvent'](_0x33b53a){const _0x270763=_0xd21782,{memberID:_0x298e54,unitIDs:_0x33243d}=_0x33b53a;_0x33243d[_0x270763(0x4b3)](_0x16aef1=>{const _0x1682e4=_0x270763;var _0x31eaeb;const _0x91cf0b=this['_unitOnClients'][_0x1682e4(0x3c8)](_0x16aef1);_0x91cf0b&&(_0x91cf0b[_0x1682e4(0x18e)](_0x298e54),(_0x31eaeb=this[_0x1682e4(0x2a8)](_0x16aef1))==null||_0x31eaeb[_0x1682e4(0x2d0)](_0x91cf0b[_0x1682e4(0x5dd)]===0x0?0x0:0x1));}),this[_0x270763(0x47a)](_0x298e54);}['_handleHeartbeatEvent'](_0xad32bb){const _0x3dff2f=_0xd21782;this['_scheduleClearOtherTimer'](_0xad32bb[_0x3dff2f(0x564)]);}['_send'](_0x19e17f){const _0x13d05b=_0xd21782;localStorage[_0x13d05b(0x200)](_0xaa6f2,JSON[_0x13d05b(0x2e3)](_0x19e17f));}[_0xd21782(0x512)](){const _0x3486c5=_0xd21782;this[_0x3486c5(0x3fd)]=window[_0x3486c5(0x4d3)](()=>{const _0x155121=_0x3486c5;this['_send']({'type':0x2,'memberID':this[_0x155121(0x5d2)]});},_0x6bc756);}[_0xd21782(0x2a8)](_0xc5b5bf){const _0x1bde1d=_0xd21782;return this[_0x1bde1d(0x57d)][_0x1bde1d(0x4c6)](_0xc5b5bf)||this['_unitStatus']['set'](_0xc5b5bf,new _0x382682[(_0x1bde1d(0x187))](0x0)),this[_0x1bde1d(0x57d)][_0x1bde1d(0x3c8)](_0xc5b5bf);}}var _0x33ada2=Object[_0xd21782(0x407)],_0x63532=Object[_0xd21782(0x52e)],_0xca87f6=(_0x1c8451,_0x54393c,_0x4d9989,_0x5d6bea)=>{for(var _0x2af7a9=_0x5d6bea>0x1?void 0x0:_0x5d6bea?_0x63532(_0x54393c,_0x4d9989):_0x54393c,_0x11bc84=_0x1c8451['length']-0x1,_0x21d236;_0x11bc84>=0x0;_0x11bc84--)(_0x21d236=_0x1c8451[_0x11bc84])&&(_0x2af7a9=(_0x5d6bea?_0x21d236(_0x54393c,_0x4d9989,_0x2af7a9):_0x21d236(_0x2af7a9))||_0x2af7a9);return _0x5d6bea&&_0x2af7a9&&_0x33ada2(_0x54393c,_0x4d9989,_0x2af7a9),_0x2af7a9;},_0x21127f=(_0x3847de,_0x1673cd)=>(_0x271a9e,_0x452dd2)=>_0x1673cd(_0x271a9e,_0x452dd2,_0x3847de);let _0x3146a8=class{constructor(_0x6e9a1,_0x4fc5b7,_0x22a98e){const _0xe3d37a=_0xd21782;this[_0xe3d37a(0x54d)]=_0x6e9a1,this[_0xe3d37a(0x1ea)]=_0x4fc5b7,this[_0xe3d37a(0x421)]=_0x22a98e;}[_0xd21782(0x58c)](_0x5a08e0){const _0x56fa8a=_0xd21782;this[_0x56fa8a(0x62a)](_0x5a08e0);}['transformRemoteChangeset'](_0x219d19){const _0x50c00b=_0xd21782,{unitID:_0x2d567d}=_0x219d19,{collaboration:_0x155401}=this[_0x50c00b(0x421)][_0x50c00b(0x638)](_0x2d567d);if(_0x155401[_0x50c00b(0x39d)]===0x0)return _0x219d19;let _0x31ef41=_0x33b6e0[_0x50c00b(0x270)]['deepClone'](_0x219d19[_0x50c00b(0x5ff)][0x0]);for(let _0x31b111=0x0;_0x31b111<_0x155401['length'];_0x31b111++){const _0x209d03={'id':_0x50c00b(0x400),'params':{'unitId':_0x155401[_0x31b111]['unitId'],..._0x155401[_0x31b111][_0x50c00b(0x581)]}},_0x4b6f04=this[_0x50c00b(0x1ea)]['transformMutation'](_0x31ef41,_0x209d03,!0x1);if(_0x2df36b[_0x50c00b(0x4df)](_0x4b6f04))throw _0x4b6f04[_0x50c00b(0x59a)];_0x31ef41=_0x4b6f04['m1Prime'];}return{..._0x33b6e0['Tools']['deepClone'](_0x219d19),'mutations':[_0x31ef41]};}[_0xd21782(0x62a)](_0x92f4a8){const _0x440f47=_0xd21782,{unitID:_0x2d47fd}=_0x92f4a8,{history:_0x3feab8,collaboration:_0x1519e8}=this[_0x440f47(0x421)][_0x440f47(0x638)](_0x2d47fd);if(_0x3feab8[_0x440f47(0x39d)]===0x0&&_0x1519e8[_0x440f47(0x39d)]===0x0)return;const _0x5c076d=[],_0x3cbb66=[];let _0x2b820f=_0x33b6e0[_0x440f47(0x270)][_0x440f47(0x32f)](_0x92f4a8[_0x440f47(0x5ff)][0x0]),_0x398fb9=_0x33b6e0[_0x440f47(0x270)][_0x440f47(0x32f)](_0x92f4a8[_0x440f47(0x5ff)][0x0]);for(let _0x25cf47=_0x3feab8[_0x440f47(0x39d)]-0x1;_0x25cf47>=0x0;_0x25cf47--){const _0x1b64b1={'id':_0x440f47(0x400),'params':{'unitId':_0x3feab8[_0x25cf47][_0x440f47(0x1c6)],..._0x3feab8[_0x25cf47][_0x440f47(0x53c)]}},_0x4062de={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3feab8[_0x25cf47][_0x440f47(0x1c6)],..._0x3feab8[_0x25cf47][_0x440f47(0x581)]}},_0x5ba9e3=this['_transformService'][_0x440f47(0x609)](_0x2b820f,_0x1b64b1,!0x1),_0x4b791a=this[_0x440f47(0x1ea)][_0x440f47(0x609)](_0x398fb9,_0x4062de,!0x1);if(_0x2df36b[_0x440f47(0x4df)](_0x5ba9e3))throw _0x5ba9e3[_0x440f47(0x59a)];if(_0x2df36b[_0x440f47(0x4df)](_0x4b791a))throw _0x4b791a['error'];_0x5c076d[_0x440f47(0x607)]({..._0x3feab8[_0x25cf47],'undoState':_0x5ba9e3[_0x440f47(0x5ce)]['params'],'redoState':_0x4b791a[_0x440f47(0x5ce)][_0x440f47(0x589)]}),_0x2b820f=_0x5ba9e3['m1Prime'],_0x398fb9=_0x4b791a['m1Prime'];}_0x2b820f=_0x33b6e0['Tools']['deepClone'](_0x92f4a8[_0x440f47(0x5ff)][0x0]),_0x398fb9=_0x33b6e0[_0x440f47(0x270)][_0x440f47(0x32f)](_0x92f4a8[_0x440f47(0x5ff)][0x0]);for(let _0x5f1560=_0x1519e8[_0x440f47(0x39d)]-0x1;_0x5f1560>=0x0;_0x5f1560--){const _0x324d78={'id':_0x440f47(0x400),'params':{'unitId':_0x1519e8[_0x5f1560][_0x440f47(0x1c6)],..._0x1519e8[_0x5f1560][_0x440f47(0x53c)]}},_0x70ce9e={'id':_0x440f47(0x400),'params':{'unitId':_0x1519e8[_0x5f1560][_0x440f47(0x1c6)],..._0x1519e8[_0x5f1560][_0x440f47(0x581)]}},_0x4a93a0=this[_0x440f47(0x1ea)][_0x440f47(0x609)](_0x2b820f,_0x324d78,!0x1),_0x21591b=this[_0x440f47(0x1ea)][_0x440f47(0x609)](_0x398fb9,_0x70ce9e,!0x1);if(_0x2df36b[_0x440f47(0x4df)](_0x4a93a0))throw _0x4a93a0[_0x440f47(0x59a)];if(_0x2df36b[_0x440f47(0x4df)](_0x21591b))throw _0x21591b[_0x440f47(0x59a)];_0x3cbb66[_0x440f47(0x607)]({..._0x1519e8[_0x5f1560],'undoState':_0x4a93a0[_0x440f47(0x5ce)][_0x440f47(0x589)],'redoState':_0x21591b[_0x440f47(0x5ce)][_0x440f47(0x589)]}),_0x2b820f=_0x4a93a0[_0x440f47(0x4c5)],_0x398fb9=_0x21591b[_0x440f47(0x4c5)];}this[_0x440f47(0x421)][_0x440f47(0x615)](_0x2d47fd,{'history':_0x5c076d,'collaboration':_0x3cbb66});}};_0x3146a8=_0xca87f6([_0x21127f(0x0,_0x33b6e0['Inject'](_0x33b6e0[_0xd21782(0x2de)])),_0x21127f(0x1,_0x2df36b['ITransformService']),_0x21127f(0x2,_0x33b6e0[_0xd21782(0x2d5)](_0x52f834['DocStateChangeManagerService']))],_0x3146a8);function _0x3c13cb(_0x4898e7){const _0x3df426=_0xd21782;let _0x1b3bad='';for(const _0x2701f4 of _0x4898e7){const {startOffset:_0x30a7d0,endOffset:_0x2f4593,isActive:_0x44bd66,rangeType:_0x2e4afd,segmentId:_0x1e2b56,segmentPage:_0x464068}=_0x2701f4;_0x1b3bad[_0x3df426(0x39d)]&&(_0x1b3bad+=','),_0x1b3bad+=_0x30a7d0+':'+_0x2f4593+':'+(_0x44bd66?'1':'0')+':'+_0x2e4afd+':'+_0x1e2b56+':'+_0x464068;}return _0x1b3bad;}function _0x931378(_0x232cd6){const _0x21246c=_0xd21782,_0x1de199=_0x232cd6[_0x21246c(0x1d0)](','),_0x5c8447=[];for(const _0x311f79 of _0x1de199){const [_0x2bcae1,_0x4270c8,_0x3b0b09,_0x1fe488,_0x49d8c1,_0x548a82]=_0x311f79[_0x21246c(0x1d0)](':');_0x5c8447[_0x21246c(0x42a)]({'startOffset':Number(_0x2bcae1),'endOffset':Number(_0x4270c8),'collapsed':_0x2bcae1===_0x4270c8,'isActive':_0x3b0b09==='1','rangeType':_0x1fe488===_0x33b6e0[_0x21246c(0x192)]['TEXT']?_0x33b6e0[_0x21246c(0x192)][_0x21246c(0x26a)]:_0x33b6e0[_0x21246c(0x192)]['RECT'],'segmentId':typeof _0x49d8c1==_0x21246c(0x441)?String(_0x49d8c1):'','segmentPage':Number(_0x548a82!=null?_0x548a82:-0x1)});}return _0x5c8447['some'](_0x2169b5=>_0x2169b5[_0x21246c(0x1aa)])||(_0x5c8447[0x0][_0x21246c(0x1aa)]=!0x0),_0x5c8447;}class _0x409fc5 extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(){const _0x283f5c=_0xd21782;super(...arguments),_0x398ae0(this,'_collabCursorState$',new _0x382682[(_0x283f5c(0x187))](null)),_0x398ae0(this,_0x283f5c(0x473),this[_0x283f5c(0x4e6)][_0x283f5c(0x372)]());}['syncEditingCollabCursor'](_0xd8200d){const _0x2c15b4=_0xd21782,{unitID:_0x5cc3ce,memberID:_0x53e977,textRanges:_0x8000d}=_0xd8200d,_0x389f60=_0x3c13cb(_0x8000d);if(_0x389f60==='')return;const _0x31678a={'unitID':_0x5cc3ce,'memberID':_0x53e977,'selection':_0x389f60};this[_0x2c15b4(0x4e6)][_0x2c15b4(0x2d0)](_0x31678a);}}var _0x1eca0a=Object[_0xd21782(0x407)],_0x4a6ca6=Object['getOwnPropertyDescriptor'],_0x57f2a9=(_0x1d0ce2,_0x14c459,_0x18e8ed,_0x58f391)=>{const _0x4099f5=_0xd21782;for(var _0x886bf3=_0x58f391>0x1?void 0x0:_0x58f391?_0x4a6ca6(_0x14c459,_0x18e8ed):_0x14c459,_0x4ea1a4=_0x1d0ce2[_0x4099f5(0x39d)]-0x1,_0x41a298;_0x4ea1a4>=0x0;_0x4ea1a4--)(_0x41a298=_0x1d0ce2[_0x4ea1a4])&&(_0x886bf3=(_0x58f391?_0x41a298(_0x14c459,_0x18e8ed,_0x886bf3):_0x41a298(_0x886bf3))||_0x886bf3);return _0x58f391&&_0x886bf3&&_0x1eca0a(_0x14c459,_0x18e8ed,_0x886bf3),_0x886bf3;},_0x4a37e5=(_0x5017d0,_0x5168a2)=>(_0x4df3e8,_0x437a2f)=>_0x5168a2(_0x4df3e8,_0x437a2f,_0x5017d0);let _0x351f72=class{constructor(_0x2b8246,_0x162523){const _0x3ec9e1=_0xd21782;this[_0x3ec9e1(0x54d)]=_0x2b8246,this[_0x3ec9e1(0x1ea)]=_0x162523;}[_0xd21782(0x230)](_0x4368c4){const _0x486be7=_0xd21782;var _0x4cb1a0;const _0x47d3a6=this[_0x486be7(0x54d)]['get'](_0x55f083['DocSelectionManagerService']),_0x57f76c=(_0x4cb1a0=_0x47d3a6[_0x486be7(0x303)]())!=null?_0x4cb1a0:[];if(_0x57f76c[_0x486be7(0x39d)]===0x0)return;const _0x19e914=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4368c4[_0x486be7(0x33d)],'actions':null,'textRanges':_0x57f76c}}],_0x9d0a25=this['_transformService']['transformMutationsWithChangeset'](_0x4368c4,_0x19e914);if(!_0x2df36b[_0x486be7(0x3eb)](_0x9d0a25))throw _0x9d0a25[_0x486be7(0x59a)];const _0x4a6c98=_0x9d0a25[_0x486be7(0x5ce)][0x0][_0x486be7(0x589)][_0x486be7(0x4ae)];Array[_0x486be7(0x229)](_0x4a6c98)&&_0x4a6c98[_0x486be7(0x39d)]&&_0x47d3a6[_0x486be7(0x389)](_0x4a6c98,!0x1);}};_0x351f72=_0x57f2a9([_0x4a37e5(0x0,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0x4a37e5(0x1,_0x2df36b[_0xd21782(0x268)])],_0x351f72);const _0xd3f9ef=new Set([_0x3f2383['InsertSheetMutation']['id']]);function _0x5ba490(_0x3bcc4a,_0x4b7de9,_0x54e014,_0x2a32c9,_0x22a227){const _0x45c186=_0xd21782;var _0x3a4936,_0x121872,_0x520ec6,_0x2126a7;const _0x5f3cad=[];for(const _0x1f0c72 of _0x3bcc4a)if(_0xd3f9ef[_0x45c186(0x4c6)](_0x1f0c72['id'])){if(_0x5f3cad[_0x45c186(0x39d)]>0x0)break;_0x5f3cad[_0x45c186(0x42a)](_0x1f0c72);break;}else _0x5f3cad[_0x45c186(0x42a)](_0x1f0c72);const _0x132af6=(_0x121872=(_0x3a4936=_0x22a227[_0x45c186(0x5e5)]())==null?void 0x0:_0x3a4936[_0x45c186(0x3f8)])!=null?_0x121872:_0x45c186(0x206),_0x49f17f=(_0x2126a7=(_0x520ec6=_0x22a227['getCurrentUser']())==null?void 0x0:_0x520ec6[_0x45c186(0x564)])!=null?_0x2126a7:_0x45c186(0x206);return{'changeset':{'unitID':_0x4b7de9,'type':_0x2df36b[_0x45c186(0x424)](_0x54e014[_0x45c186(0x3d5)](_0x4b7de9)),'baseRev':_0x2a32c9[_0x45c186(0x585)](_0x4b7de9),'revision':0x0,'userID':_0x132af6,'memberID':_0x49f17f,'mutations':_0x5f3cad},'pendingMutations':_0x3bcc4a[_0x45c186(0x5af)](_0x5f3cad[_0x45c186(0x39d)])};}function _0x26bcd0(_0x11ba96,_0x1a6dab,_0x35160e,_0x1f43a0,_0x53abab){const _0x37852f=_0xd21782;var _0x2452f3,_0x3b367a,_0x25246d,_0x29e266;const _0x2d912a=[_0x11ba96[_0x37852f(0x596)]((_0x197c85,_0x4544ce)=>{const _0x4c08bd=_0x37852f;var _0x43e302;const {id:_0x2d4316}=_0x197c85,{id:_0x422b22,type:_0xeaa713}=_0x4544ce,_0x4edd7c=(_0x43e302=_0x197c85['params'])!=null?_0x43e302:{'actions':null},_0x5381de=_0x4544ce[_0x4c08bd(0x589)];if(_0x2d4316&&_0x2d4316!==_0x422b22)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2d4316+'\x20-\x20'+_0x422b22+'.');return{..._0x197c85,'id':_0x422b22,'type':_0xeaa713,'params':{'unitId':_0x5381de[_0x4c08bd(0x1c6)],'textRanges':_0x5381de[_0x4c08bd(0x4ae)],'actions':_0x33b6e0['JSONX'][_0x4c08bd(0x249)](_0x4edd7c['actions'],_0x5381de[_0x4c08bd(0x26f)])}};},{})],_0x39d757=(_0x3b367a=(_0x2452f3=_0x53abab['getCurrentUser']())==null?void 0x0:_0x2452f3['userID'])!=null?_0x3b367a:_0x37852f(0x206),_0xf971c4=(_0x29e266=(_0x25246d=_0x53abab[_0x37852f(0x5e5)]())==null?void 0x0:_0x25246d[_0x37852f(0x564)])!=null?_0x29e266:_0x37852f(0x206);return{'changeset':{'unitID':_0x1a6dab,'type':_0x2df36b['mapDocumentTypeToUniverType'](_0x35160e[_0x37852f(0x3d5)](_0x1a6dab)),'baseRev':_0x1f43a0[_0x37852f(0x585)](_0x1a6dab),'revision':0x0,'userID':_0x39d757,'memberID':_0xf971c4,'mutations':_0x2d912a},'pendingMutations':[]};}function _0x23381a(_0x36fd52,_0x389751){const _0x46ff11=_0xd21782,_0x33b448=new _0x382682[(_0x46ff11(0x239))](0x1);return setTimeout(()=>_0x33b448['next'](_0x389751),_0x36fd52),_0x33b448[_0x46ff11(0x372)]()[_0x46ff11(0x3d3)](_0x382682[_0x46ff11(0x47f)](0x1));}const _0x1a2fe9={'id':_0x3f2383[_0xd21782(0x5d8)]['id'],'type':_0x33b6e0[_0xd21782(0x55e)]['MUTATION'],'params':{}};var _0x42847f=Object[_0xd21782(0x407)],_0x1b1f5b=Object[_0xd21782(0x52e)],_0x5a16aa=(_0x2ba13b,_0x5adfd0,_0x3b848a,_0x4a5d69)=>{const _0x443b11=_0xd21782;for(var _0x3cd60c=_0x4a5d69>0x1?void 0x0:_0x4a5d69?_0x1b1f5b(_0x5adfd0,_0x3b848a):_0x5adfd0,_0x5a8e6a=_0x2ba13b[_0x443b11(0x39d)]-0x1,_0x1a900d;_0x5a8e6a>=0x0;_0x5a8e6a--)(_0x1a900d=_0x2ba13b[_0x5a8e6a])&&(_0x3cd60c=(_0x4a5d69?_0x1a900d(_0x5adfd0,_0x3b848a,_0x3cd60c):_0x1a900d(_0x3cd60c))||_0x3cd60c);return _0x4a5d69&&_0x3cd60c&&_0x42847f(_0x5adfd0,_0x3b848a,_0x3cd60c),_0x3cd60c;},_0x478827=(_0x5b3238,_0x38b8f0)=>(_0x378cce,_0x41e656)=>_0x38b8f0(_0x378cce,_0x41e656,_0x5b3238),_0x116db8=(_0x159a3d=>(_0x159a3d[_0xd21782(0x17c)]='not_collab',_0x159a3d[_0xd21782(0x2bd)]=_0xd21782(0x501),_0x159a3d[_0xd21782(0x194)]=_0xd21782(0x502),_0x159a3d[_0xd21782(0x1f6)]=_0xd21782(0x1e4),_0x159a3d['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x159a3d[_0xd21782(0x535)]=_0xd21782(0x471),_0x159a3d[_0xd21782(0x519)]=_0xd21782(0x510),_0x159a3d['OFFLINE']=_0xd21782(0x5dc),_0x159a3d))(_0x116db8||{});const _0x41069e=0xea60;class _0x15781f{constructor(_0x1f24dc,_0x462287,_0x229369,_0x510706,_0xd06715,_0x4349b1,_0x3a1835,_0x248646,_0x98d4f4){const _0x56d2c0=_0xd21782;_0x398ae0(this,'_awaitingChangeset',null),_0x398ae0(this,'_pendingMutations',[]),(this[_0x56d2c0(0x33d)]=_0x1f24dc,this[_0x56d2c0(0x601)]=_0x462287,this['_handler']=_0xd06715,this[_0x56d2c0(0x496)]=_0x4349b1,this[_0x56d2c0(0x1bc)]=_0x3a1835,this[_0x56d2c0(0x1c3)]=_0x248646,this[_0x56d2c0(0x31c)]=_0x98d4f4,this[_0x56d2c0(0x18b)]=_0x229369,this['_pendingMutations']=_0x510706);}[_0xd21782(0x2dd)](_0x494b89){const _0x1e705e=_0xd21782,_0x38b790=this[_0x1e705e(0x1c3)][_0x1e705e(0x585)](this['unitID']);return _0x494b89[_0x1e705e(0x543)]>_0x38b790+0x1?(this[_0x1e705e(0x183)][_0x1e705e(0x53f)]({'from':_0x38b790,'to':_0x494b89[_0x1e705e(0x543)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4642d0){const _0x2e1fb5=_0xd21782;this[_0x2e1fb5(0x1bc)][_0x2e1fb5(0x38b)](this['unitID'],_0x4642d0);}[_0xd21782(0x3cf)](_0x58a8b3){const _0x2502e7=_0xd21782;var _0xe8d190,_0x39fa9a;(_0x39fa9a=(_0xe8d190=this['_handler'])['onTransformSelections'])==null||_0x39fa9a[_0x2502e7(0x3aa)](_0xe8d190,_0x58a8b3);}[_0xd21782(0x2b0)](_0x45a14b){const _0x42a2f6=_0xd21782;var _0x4abf96,_0x3445b1;return(_0x3445b1=(_0x4abf96=this[_0x42a2f6(0x183)])[_0x42a2f6(0x4cc)])==null?void 0x0:_0x3445b1[_0x42a2f6(0x3aa)](_0x4abf96,_0x45a14b);}[_0xd21782(0x45f)](_0x1dbcc0){const _0x38089c=_0xd21782;var _0x56d5ba,_0x4d7625;return(_0x4d7625=(_0x56d5ba=this[_0x38089c(0x183)])[_0x38089c(0x413)])==null?void 0x0:_0x4d7625[_0x38089c(0x3aa)](_0x56d5ba,_0x1dbcc0);}[_0xd21782(0x2b8)](_0x28bf61){const _0x4c0f3a=_0xd21782;var _0x33c801,_0x196a28,_0x1d605d;return(_0x1d605d=(_0x196a28=(_0x33c801=this[_0x4c0f3a(0x183)])[_0x4c0f3a(0x312)])==null?void 0x0:_0x196a28[_0x4c0f3a(0x3aa)](_0x33c801,_0x28bf61))!=null?_0x1d605d:_0x28bf61;}[_0xd21782(0x3b3)](_0x402814){const _0x54c4c7=_0xd21782;var _0x21e001,_0x5f4fcd,_0x2b5eb8;return(_0x2b5eb8=(_0x5f4fcd=(_0x21e001=this['_handler'])[_0x54c4c7(0x3ea)])==null?void 0x0:_0x5f4fcd[_0x54c4c7(0x3aa)](_0x21e001,_0x402814))!=null?_0x2b5eb8:_0x402814;}[_0xd21782(0x211)](_0x1bb5ee){const _0x21c251=_0xd21782;var _0x3d4cdc,_0x125ea7;if(this[_0x21c251(0x601)]===_0x5ce0e9[_0x21c251(0x237)]){const {unitID:_0x322cfe,mutations:_0x3ad991,memberID:_0x34f0fa}=_0x1bb5ee,_0x286c3b=_0x3ad991[0x0]['params'][_0x21c251(0x4ae)];Array[_0x21c251(0x229)](_0x286c3b)&&_0x286c3b[_0x21c251(0x39d)]>0x0&&((_0x125ea7=(_0x3d4cdc=this[_0x21c251(0x183)])['onSyncEditingCollabCursor'])==null||_0x125ea7['call'](_0x3d4cdc,{'unitID':_0x322cfe,'memberID':_0x34f0fa,'textRanges':_0x286c3b}));}}[_0xd21782(0x475)](){const _0x57fe77=_0xd21782;this['_localCacheService'][_0x57fe77(0x280)](this[_0x57fe77(0x33d)],this[_0x57fe77(0x601)],this['_awaitingChangeset'],this[_0x57fe77(0x4a3)]);}[_0xd21782(0x236)](){const _0x2d14d7=_0xd21782;return this[_0x2d14d7(0x1c3)][_0x2d14d7(0x585)](this[_0x2d14d7(0x33d)]);}[_0xd21782(0x324)](){const _0x5dcaef=_0xd21782;this[_0x5dcaef(0x1c3)][_0x5dcaef(0x19e)](this['unitID']);}[_0xd21782(0x2b1)](_0x2a00d4){const _0x7cb2e1=_0xd21782;var _0x33414e;let _0x165636=this['_transformRemoteChangesetByIMECache'](_0x2a00d4);_0x165636=this[_0x7cb2e1(0x3b3)](_0x165636);const _0x41663d=_0x33b6e0['sequenceExecute'](_0x165636[_0x7cb2e1(0x5ff)],this[_0x7cb2e1(0x496)],{'fromCollab':!0x0});if(!_0x41663d['result'])throw _0x41663d['error']instanceof Error?_0x41663d['error']:new Error((_0x33414e=_0x41663d[_0x7cb2e1(0x59a)])!=null?_0x33414e:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x165636),this[_0x7cb2e1(0x45f)](_0x165636),this[_0x7cb2e1(0x51d)](_0x2a00d4),this[_0x7cb2e1(0x3cf)](_0x165636),this[_0x7cb2e1(0x211)](_0x165636),this[_0x7cb2e1(0x324)]();}}let _0x23db1a=class extends _0x15781f{constructor(_0x71f491,_0x46a108,_0x4f44c2,_0x5038e8,_0x378269,_0x45c860,_0x397cc8,_0x1661ed,_0x2bce0b,_0x541ea4){const _0x477d08=_0xd21782;super(_0x71f491,_0x46a108,null,[],_0x4f44c2,_0x1661ed,_0x397cc8,_0x5038e8,_0x378269),_0x398ae0(this,_0x477d08(0x61e),_0x477d08(0x501)),(this[_0x477d08(0x54d)]=_0x45c860,this[_0x477d08(0x387)]=_0x2bce0b,this[_0x477d08(0x1ea)]=_0x541ea4);}[_0xd21782(0x4d9)](_0x14b03a){const _0x337d8c=_0xd21782,_0x1e69c4=this[_0x337d8c(0x54d)]['createInstance'](_0x4fdde3,this['unitID'],this[_0x337d8c(0x601)],[_0x14b03a],this[_0x337d8c(0x183)]);return _0x1e69c4[_0x337d8c(0x521)](),_0x1e69c4[_0x337d8c(0x475)](),_0x1e69c4;}[_0xd21782(0x1de)](_0x5cf051){const _0x1fbef4=_0xd21782;if(this[_0x1fbef4(0x2dd)](_0x5cf051))return this[_0x1fbef4(0x54d)][_0x1fbef4(0x27d)](_0x4efe28,this[_0x1fbef4(0x33d)],this[_0x1fbef4(0x601)],null,[],null,[_0x5cf051],this[_0x1fbef4(0x183)]);try{const _0x59dedb=this['_transformService']['transformMutationsWithChangeset'](_0x5cf051,[_0x1a2fe9]);if(_0x2df36b[_0x1fbef4(0x3eb)](_0x59dedb)){const {c1Prime:_0x352e7b}=_0x59dedb;return this[_0x1fbef4(0x2b1)](_0x352e7b),this;}throw _0x59dedb[_0x1fbef4(0x59a)];}catch(_0x1ef9c9){return this[_0x1fbef4(0x387)][_0x1fbef4(0x59a)](_0x1ef9c9),this[_0x1fbef4(0x446)](!0x1);}}[_0xd21782(0x446)](_0x12d5ec){const _0x74f237=_0xd21782;return this['_injector'][_0x74f237(0x27d)](_0x14a810,this[_0x74f237(0x33d)],this[_0x74f237(0x601)],null,[],this[_0x74f237(0x183)],_0x12d5ec);}[_0xd21782(0x4ad)](){const _0x3bc0c7=_0xd21782;throw new Error(_0x3bc0c7(0x361));}[_0xd21782(0x3a4)](){const _0x675b92=_0xd21782;throw new Error(_0x675b92(0x61d));}['onRemoteRetry'](){return this;}[_0xd21782(0x328)](){const _0x325c37=_0xd21782;return this[_0x325c37(0x54d)]['createInstance'](_0x3162f3,this[_0x325c37(0x33d)],this[_0x325c37(0x601)],null,[],this[_0x325c37(0x183)]);}[_0xd21782(0x1bd)](){return this;}[_0xd21782(0x25b)](){const _0x23b62b=_0xd21782;throw new Error(_0x23b62b(0x362));}[_0xd21782(0x29a)](){const _0x5a206=_0xd21782,_0x44c324=this['_revisionService'][_0x5a206(0x585)](this[_0x5a206(0x33d)]);return this[_0x5a206(0x183)][_0x5a206(0x53f)]({'from':_0x44c324,'to':0x0}),this[_0x5a206(0x54d)]['createInstance'](_0x4efe28,this[_0x5a206(0x33d)],this[_0x5a206(0x601)],null,[],null,[],this['_handler']);}};_0x23db1a=_0x5a16aa([_0x478827(0x3,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b[_0xd21782(0x353)])),_0x478827(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6['LocalCacheService'])),_0x478827(0x5,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0x478827(0x6,_0x33b6e0[_0xd21782(0x5df)]),_0x478827(0x7,_0x33b6e0[_0xd21782(0x45c)]),_0x478827(0x8,_0x33b6e0[_0xd21782(0x447)]),_0x478827(0x9,_0x2df36b[_0xd21782(0x268)])],_0x23db1a);let _0x4fdde3=class extends _0x15781f{constructor(_0x4fb946,_0x2d67d2,_0x214dd5,_0x92af07,_0x375fe3,_0x54311a,_0x30d4df,_0x5f362b,_0x4828bb,_0xa5029e,_0x34cd5e,_0x3b40d8,_0x4ddfd5,_0x52fc93){const _0xdf4ba7=_0xd21782;super(_0x4fb946,_0x2d67d2,null,_0x214dd5,_0x92af07,_0xa5029e,_0x52fc93,_0x54311a,_0x30d4df),_0x398ae0(this,'status',_0xdf4ba7(0x502)),_0x398ae0(this,_0xdf4ba7(0x193),null),_0x398ae0(this,'_sendingTimer',null),(this[_0xdf4ba7(0x54d)]=_0x375fe3,this[_0xdf4ba7(0x420)]=_0x5f362b,this[_0xdf4ba7(0x387)]=_0x4828bb,this[_0xdf4ba7(0x48a)]=_0x34cd5e,this[_0xdf4ba7(0x1ea)]=_0x3b40d8,this[_0xdf4ba7(0x40b)]=_0x4ddfd5);}[_0xd21782(0x4d9)](_0x24ae3a){const _0x3e0c1d=_0xd21782;return this[_0x3e0c1d(0x4a3)][_0x3e0c1d(0x42a)](_0x24ae3a),this[_0x3e0c1d(0x475)](),this;}['onRemoteChangeset'](_0x64dc23){const _0x3cdc84=_0xd21782;if(this[_0x3cdc84(0x2dd)](_0x64dc23))return this[_0x3cdc84(0x26b)](),this[_0x3cdc84(0x54d)]['createInstance'](_0x4efe28,this['unitID'],this[_0x3cdc84(0x601)],null,this['_pendingMutations'],null,[_0x64dc23],this[_0x3cdc84(0x183)]);try{const _0x3171f9=this[_0x3cdc84(0x1ea)][_0x3cdc84(0x5e8)](_0x64dc23,this['_pendingMutations']);if(_0x2df36b[_0x3cdc84(0x3eb)](_0x3171f9)){const {c1Prime:_0xe737f1,m2Prime:_0x27f6ce}=_0x3171f9;this[_0x3cdc84(0x2b1)](_0xe737f1);const _0x56e796=this['_injector'][_0x3cdc84(0x27d)](_0x4fdde3,this[_0x3cdc84(0x33d)],this['type'],_0x27f6ce,this[_0x3cdc84(0x183)]);return this['_clearScheduledTask'](),_0x56e796[_0x3cdc84(0x521)](this[_0x3cdc84(0x193)]?Math[_0x3cdc84(0x25c)](0x0,new Date()[_0x3cdc84(0x5cb)]()-this[_0x3cdc84(0x193)]):this[_0x3cdc84(0x1ee)]()),_0x56e796;}throw _0x3171f9['error'];}catch(_0x12414a){return this['_logService'][_0x3cdc84(0x59a)](_0x12414a),this[_0x3cdc84(0x446)](!0x1);}}[_0xd21782(0x4ad)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xd21782(0x3a4)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xd21782(0x199)](){return this;}[_0xd21782(0x328)](){const _0x436ec6=_0xd21782;return this[_0x436ec6(0x26b)](),this['_injector'][_0x436ec6(0x27d)](_0x3162f3,this[_0x436ec6(0x33d)],this[_0x436ec6(0x601)],null,this[_0x436ec6(0x4a3)],this[_0x436ec6(0x183)]);}[_0xd21782(0x1bd)](){return this;}['_schedule'](_0x58b8a6){const _0x2b864e=_0xd21782,_0x1b7648=_0x58b8a6!=null?_0x58b8a6:this[_0x2b864e(0x1ee)]();this[_0x2b864e(0x193)]=new Date()[_0x2b864e(0x5cb)](),this[_0x2b864e(0x41e)]=window[_0x2b864e(0x1e6)](()=>{const _0xa57180=_0x2b864e;this[_0xa57180(0x26b)]();let _0x4e7b1c=null;switch(this[_0xa57180(0x601)]){case _0x5ce0e9[_0xa57180(0x23c)]:{_0x4e7b1c=_0x5ba490(this[_0xa57180(0x4a3)],this[_0xa57180(0x33d)],this['_univerInstanceService'],this[_0xa57180(0x1c3)],this[_0xa57180(0x420)]);break;}case _0x5ce0e9[_0xa57180(0x237)]:{this['_pendingMutations']['every'](_0x1579c7=>_0x1579c7['id']===_0x55f083[_0xa57180(0x334)]['id'])?_0x4e7b1c=_0x26bcd0(this['_pendingMutations'],this[_0xa57180(0x33d)],this[_0xa57180(0x40b)],this[_0xa57180(0x1c3)],this['_memberService']):_0x4e7b1c=_0x5ba490(this[_0xa57180(0x4a3)],this[_0xa57180(0x33d)],this[_0xa57180(0x40b)],this[_0xa57180(0x1c3)],this[_0xa57180(0x420)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0xa57180(0x601)]+'\x20in\x20_schedule.');}const {changeset:_0x1a73ae,pendingMutations:_0x3ca11a}=_0x4e7b1c;this[_0xa57180(0x183)][_0xa57180(0x582)](_0x1a73ae);const _0x2fbe99=_0x3ca11a[_0xa57180(0x39d)]?this[_0xa57180(0x54d)][_0xa57180(0x27d)](_0x110277,this[_0xa57180(0x33d)],this[_0xa57180(0x601)],_0x1a73ae,_0x3ca11a,this[_0xa57180(0x183)],void 0x0):this[_0xa57180(0x54d)][_0xa57180(0x27d)](_0x5a9356,this['unitID'],this[_0xa57180(0x601)],_0x1a73ae,this['_handler']);_0x2fbe99[_0xa57180(0x475)](),this[_0xa57180(0x183)][_0xa57180(0x2f8)](this,_0x2fbe99);},_0x1b7648);}[_0xd21782(0x1ee)](){const _0x23d5f8=_0xd21782;var _0x1d64d1;const _0x1ea065=this[_0x23d5f8(0x48a)][_0x23d5f8(0x27c)](_0x134311);return(_0x1d64d1=_0x1ea065==null?void 0x0:_0x1ea065['sendChangesetTimeout'])!=null?_0x1d64d1:0x7d0;}['resend'](){const _0xc8129d=_0xd21782;throw new Error(_0xc8129d(0x1cd));}[_0xd21782(0x26b)](){const _0x3f5c8c=_0xd21782;this[_0x3f5c8c(0x41e)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3f5c8c(0x41e)]=null);}[_0xd21782(0x446)](_0x281aa8){const _0x84c5f4=_0xd21782;return this[_0x84c5f4(0x26b)](),this[_0x84c5f4(0x54d)][_0x84c5f4(0x27d)](_0x14a810,this[_0x84c5f4(0x33d)],this[_0x84c5f4(0x601)],null,this[_0x84c5f4(0x4a3)],this['_handler'],_0x281aa8);}};_0x4fdde3=_0x5a16aa([_0x478827(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0x478827(0x5,_0x33b6e0['Inject'](_0x2df36b[_0xd21782(0x353)])),_0x478827(0x6,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x4ec)])),_0x478827(0x7,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x4c1)])),_0x478827(0x8,_0x33b6e0[_0xd21782(0x447)]),_0x478827(0x9,_0x33b6e0[_0xd21782(0x45c)]),_0x478827(0xa,_0x33b6e0['IConfigService']),_0x478827(0xb,_0x2df36b[_0xd21782(0x268)]),_0x478827(0xc,_0x33b6e0['IUniverInstanceService']),_0x478827(0xd,_0x33b6e0[_0xd21782(0x5df)])],_0x4fdde3);let _0x5a9356=class extends _0x15781f{constructor(_0x5f2cb8,_0xc5ed63,_0x842dbf,_0x42d131,_0x5a8a5d,_0x4ffcfd,_0x1a4532,_0x173788,_0x5872f8,_0x487080,_0x446a8b){const _0x31b6e2=_0xd21782;super(_0x5f2cb8,_0xc5ed63,_0x842dbf,[],_0x42d131,_0x173788,_0x446a8b,_0x4ffcfd,_0x1a4532),_0x398ae0(this,_0x31b6e2(0x61e),_0x31b6e2(0x1e4)),_0x398ae0(this,'_resendTimeout',0x0),_0x398ae0(this,_0x31b6e2(0x304)),_0x398ae0(this,_0x31b6e2(0x20b)),(this[_0x31b6e2(0x54d)]=_0x5a8a5d,this[_0x31b6e2(0x387)]=_0x5872f8,this[_0x31b6e2(0x1ea)]=_0x487080);}[_0xd21782(0x4d9)](_0x751144){const _0x3085ea=_0xd21782;this[_0x3085ea(0x26b)]();const _0x51611c=this[_0x3085ea(0x54d)][_0x3085ea(0x27d)](_0x110277,this[_0x3085ea(0x33d)],this[_0x3085ea(0x601)],this[_0x3085ea(0x18b)],[_0x751144],this['_handler'],this[_0x3085ea(0x304)]);return _0x51611c[_0x3085ea(0x475)](),_0x51611c;}['onRemoteChangeset'](_0x4e6f10){const _0x111571=_0xd21782;if(this[_0x111571(0x2dd)](_0x4e6f10))return this[_0x111571(0x26b)](),this['_injector'][_0x111571(0x27d)](_0x4efe28,this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x4e6f10],this[_0x111571(0x183)]);try{const _0x4fa695=this[_0x111571(0x1ea)][_0x111571(0x3d7)]([_0x4e6f10],[this[_0x111571(0x18b)]],!0x1);if(_0x2df36b[_0x111571(0x3fb)](_0x4fa695)){const {c1Prime:_0x37e261,c2Prime:_0x3efdc6}=_0x4fa695;this[_0x111571(0x2b1)](_0x37e261[0x0]),_0x3efdc6[0x0][_0x111571(0x3fa)]=this[_0x111571(0x236)](),this[_0x111571(0x26b)]();const _0xb0703=this[_0x111571(0x54d)][_0x111571(0x27d)](_0x5a9356,this[_0x111571(0x33d)],this['type'],_0x3efdc6[0x0],this['_handler']);return _0xb0703[_0x111571(0x475)](),_0xb0703;}return this[_0x111571(0x446)](!0x1);}catch(_0x40eb2c){return this[_0x111571(0x387)]['error'](_0x40eb2c),this[_0x111571(0x446)](!0x1);}}[_0xd21782(0x4ad)](_0x4aabed){const _0x589795=_0xd21782;this[_0x589795(0x26b)]();const _0xfe574a=this['_revisionService'][_0x589795(0x585)](this[_0x589795(0x33d)]);if(_0x4aabed[_0x589795(0x543)]<_0xfe574a-0x1)return this;if(this['_checkMissing'](_0x4aabed))return this['_injector'][_0x589795(0x27d)](_0x4efe28,this[_0x589795(0x33d)],this[_0x589795(0x601)],null,[],this[_0x589795(0x18b)],[],this[_0x589795(0x183)]);this[_0x589795(0x324)]();const _0x2107fb=this[_0x589795(0x54d)][_0x589795(0x27d)](_0x23db1a,this[_0x589795(0x33d)],this['type'],this[_0x589795(0x183)]);return _0x2107fb[_0x589795(0x475)](),_0x2107fb;}[_0xd21782(0x3a4)](_0x18376e){const _0x131265=_0xd21782;return this[_0x131265(0x446)](!!(_0x18376e!=null&&_0x18376e[_0x131265(0x1e1)]));}['onRemoteRetry'](_0x6109e9){const _0x469a6a=_0xd21782;return this[_0x469a6a(0x1f4)]>_0x41069e?this['toggleOffline']():(this[_0x469a6a(0x304)]=_0x23381a(this[_0x469a6a(0x1f4)],{'timeout':this[_0x469a6a(0x1f4)],'reqId':_0x6109e9[_0x469a6a(0x347)]}),this[_0x469a6a(0x20b)]=this[_0x469a6a(0x304)][_0x469a6a(0x306)](({reqId:_0x3999cd,timeout:_0x3508bc})=>{const _0x4c6913=_0x469a6a;this[_0x4c6913(0x509)](_0x3999cd,_0x3508bc);}),this);}[_0xd21782(0x328)](){const _0x28d6af=_0xd21782;return this[_0x28d6af(0x26b)](),this[_0x28d6af(0x54d)][_0x28d6af(0x27d)](_0x3162f3,this[_0x28d6af(0x33d)],this[_0x28d6af(0x601)],this['_awaitingChangeset'],[],this[_0x28d6af(0x183)]);}[_0xd21782(0x1bd)](){return this;}[_0xd21782(0x25b)](){const _0x151dcc=_0xd21782;this[_0x151dcc(0x183)][_0x151dcc(0x582)](this['_awaitingChangeset']);}['_onConflict'](_0x4400f8){const _0x565aa0=_0xd21782;return this['_clearScheduledTask'](),this[_0x565aa0(0x54d)][_0x565aa0(0x27d)](_0x14a810,this[_0x565aa0(0x33d)],this['type'],this['_awaitingChangeset'],[],this[_0x565aa0(0x183)],_0x4400f8);}[_0xd21782(0x509)](_0x582076,_0x370dba){const _0x9247=_0xd21782;var _0x53ab57;_0x582076===((_0x53ab57=this['_awaitingChangeset'])==null?void 0x0:_0x53ab57[_0x9247(0x347)])&&(this[_0x9247(0x25b)](),this['_resendTimeout']=_0x370dba===0x0?0x3e8:_0x370dba*0x2);}[_0xd21782(0x26b)](){const _0x358e46=_0xd21782;var _0x4cb16a;(_0x4cb16a=this[_0x358e46(0x20b)])==null||_0x4cb16a[_0x358e46(0x488)](),this['_resendTimeout']=0x0;}};_0x5a9356=_0x5a16aa([_0x478827(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0x478827(0x5,_0x33b6e0['Inject'](_0x2df36b['RevisionService'])),_0x478827(0x6,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6['LocalCacheService'])),_0x478827(0x7,_0x33b6e0[_0xd21782(0x45c)]),_0x478827(0x8,_0x33b6e0[_0xd21782(0x447)]),_0x478827(0x9,_0x2df36b[_0xd21782(0x268)]),_0x478827(0xa,_0x33b6e0['IUndoRedoService'])],_0x5a9356);let _0x110277=class extends _0x15781f{constructor(_0x21a3c9,_0x36c7b1,_0x46d1dd,_0x5d62ab,_0x2591a3,_0x385e96,_0x5a3f79,_0xc9a327,_0x799641,_0x19a454,_0x3f1c29,_0x3cbb48,_0x2d30a8){const _0x415ec4=_0xd21782;super(_0x21a3c9,_0x36c7b1,_0x46d1dd,_0x5d62ab,_0x2591a3,_0x19a454,_0x2d30a8,_0xc9a327,_0x799641),_0x398ae0(this,_0x415ec4(0x61e),_0x415ec4(0x2ba)),_0x398ae0(this,_0x415ec4(0x1f4),0x0),_0x398ae0(this,_0x415ec4(0x304)),_0x398ae0(this,_0x415ec4(0x20b)),(this[_0x415ec4(0x54d)]=_0x5a3f79,this[_0x415ec4(0x387)]=_0x3f1c29,this[_0x415ec4(0x1ea)]=_0x3cbb48,_0x385e96&&(this[_0x415ec4(0x304)]=_0x385e96,this['_sender']=this[_0x415ec4(0x304)]['subscribe'](({reqId:_0x45059b,timeout:_0x5b9a50})=>{const _0x516da6=_0x415ec4;this[_0x516da6(0x509)](_0x45059b,_0x5b9a50);})));}[_0xd21782(0x4d9)](_0x58cf65){const _0x3825c9=_0xd21782;return this[_0x3825c9(0x4a3)]['push'](_0x58cf65),this;}[_0xd21782(0x1de)](_0x3fc94c){const _0x397870=_0xd21782;if(this[_0x397870(0x2dd)](_0x3fc94c))return this['_clearScheduledTask'](),this['_injector'][_0x397870(0x27d)](_0x4efe28,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x397870(0x4a3)],null,[_0x3fc94c],this[_0x397870(0x183)]);try{const _0x4e150d=this[_0x397870(0x1ea)][_0x397870(0x3d7)]([_0x3fc94c],[this[_0x397870(0x18b)]],!0x1);if(_0x2df36b['isTransformChangesetsSuccess'](_0x4e150d)){const {c1Prime:_0x2b061e,c2Prime:_0x4230ca}=_0x4e150d,_0x4411a8=this['_transformService']['transformMutationsWithChangeset'](_0x2b061e[0x0],this['_pendingMutations']);if(_0x2df36b[_0x397870(0x3eb)](_0x4411a8)){const {c1Prime:_0x4a2064,m2Prime:_0x543419}=_0x4411a8;return this[_0x397870(0x2b1)](_0x4a2064),_0x4230ca[0x0]['baseRev']=this[_0x397870(0x236)](),this['_clearScheduledTask'](),this[_0x397870(0x54d)][_0x397870(0x27d)](_0x110277,this[_0x397870(0x33d)],this[_0x397870(0x601)],_0x4230ca[0x0],_0x543419,this[_0x397870(0x183)],void 0x0);}throw _0x4411a8[_0x397870(0x59a)];}throw _0x4e150d[_0x397870(0x59a)];}catch(_0x287711){return this[_0x397870(0x387)][_0x397870(0x59a)](_0x287711),this[_0x397870(0x446)](!0x1);}}[_0xd21782(0x4ad)](_0x430af4){const _0x356bce=_0xd21782;if(this[_0x356bce(0x26b)](),this[_0x356bce(0x2dd)](_0x430af4))return this['_injector'][_0x356bce(0x27d)](_0x4efe28,this[_0x356bce(0x33d)],this[_0x356bce(0x601)],null,this[_0x356bce(0x4a3)],this['_awaitingChangeset'],[],this[_0x356bce(0x183)]);this['_incrementRevisionNumber']();const _0x13a85e=this[_0x356bce(0x54d)][_0x356bce(0x27d)](_0x4fdde3,this[_0x356bce(0x33d)],this[_0x356bce(0x601)],this[_0x356bce(0x4a3)],this[_0x356bce(0x183)]);return _0x13a85e[_0x356bce(0x521)](),_0x13a85e['_updateLocalCache'](),_0x13a85e;}[_0xd21782(0x3a4)](_0x1fc371){const _0x441e51=_0xd21782;return this[_0x441e51(0x446)](!!(_0x1fc371!=null&&_0x1fc371[_0x441e51(0x1e1)]));}[_0xd21782(0x199)](_0x298a00){const _0x26c75d=_0xd21782;return this[_0x26c75d(0x1f4)]>_0x41069e?this[_0x26c75d(0x328)]():(this['_resendTimer']=_0x23381a(this[_0x26c75d(0x1f4)],{'timeout':this[_0x26c75d(0x1f4)],'reqId':_0x298a00[_0x26c75d(0x347)]}),this[_0x26c75d(0x20b)]=this['_resendTimer'][_0x26c75d(0x306)](({reqId:_0x227af6,timeout:_0x52c86f})=>{this['_resendWithTimeout'](_0x227af6,_0x52c86f);}),this);}[_0xd21782(0x328)](){const _0x183128=_0xd21782;return this[_0x183128(0x26b)](),this[_0x183128(0x54d)][_0x183128(0x27d)](_0x3162f3,this[_0x183128(0x33d)],this[_0x183128(0x601)],this[_0x183128(0x18b)],this[_0x183128(0x4a3)],this[_0x183128(0x183)]);}['toggleOnline'](){return this;}[_0xd21782(0x25b)](){const _0x4cbe89=_0xd21782;this['_handler'][_0x4cbe89(0x582)](this['_awaitingChangeset']);}['_onConflict'](_0x15d952){const _0x3bf000=_0xd21782;return this[_0x3bf000(0x26b)](),this[_0x3bf000(0x54d)][_0x3bf000(0x27d)](_0x14a810,this[_0x3bf000(0x33d)],this[_0x3bf000(0x601)],null,this['_pendingMutations'],this[_0x3bf000(0x183)],_0x15d952);}[_0xd21782(0x509)](_0x43acf9,_0x2e9949){const _0x5a8c37=_0xd21782;var _0x33187c;_0x43acf9===((_0x33187c=this[_0x5a8c37(0x18b)])==null?void 0x0:_0x33187c['reqId'])&&(this[_0x5a8c37(0x25b)](),this['_resendTimeout']=_0x2e9949===0x0?0x3e8:_0x2e9949*0x2);}['_clearScheduledTask'](){const _0x3016bb=_0xd21782;var _0x22350c;(_0x22350c=this['_sender'])==null||_0x22350c[_0x3016bb(0x488)](),this[_0x3016bb(0x1f4)]=0x0;}};_0x110277=_0x5a16aa([_0x478827(0x6,_0x33b6e0['Inject'](_0x33b6e0[_0xd21782(0x2de)])),_0x478827(0x7,_0x33b6e0['Inject'](_0x2df36b['RevisionService'])),_0x478827(0x8,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x4ec)])),_0x478827(0x9,_0x33b6e0[_0xd21782(0x45c)]),_0x478827(0xa,_0x33b6e0[_0xd21782(0x447)]),_0x478827(0xb,_0x2df36b[_0xd21782(0x268)]),_0x478827(0xc,_0x33b6e0[_0xd21782(0x5df)])],_0x110277);let _0x14a810=class extends _0x15781f{constructor(_0xb4c6bf,_0x5cd850,_0x300826,_0x28c927,_0x6a6bcf,_0x515942=!0x1,_0x5d2f70,_0x197fb4,_0x32467d,_0x46d058,_0x108865,_0xddaa08,_0x2d3f35){const _0x1006a8=_0xd21782;super(_0xb4c6bf,_0x5cd850,_0x300826,_0x28c927,_0x6a6bcf,_0x197fb4,_0x32467d,_0x108865,_0x46d058),_0x398ae0(this,_0x1006a8(0x61e),_0x1006a8(0x510)),(this[_0x1006a8(0x451)]=_0x515942,this['_permissionService']=_0x5d2f70,this[_0x1006a8(0x58d)]=_0xddaa08,this[_0x1006a8(0x477)]=_0x2d3f35,this[_0x1006a8(0x44e)](),this[_0x1006a8(0x28a)](),this[_0x1006a8(0x294)]());}[_0xd21782(0x4d9)](){return this;}[_0xd21782(0x1de)](){return this;}[_0xd21782(0x4ad)](){return this;}[_0xd21782(0x3a4)](){return this;}[_0xd21782(0x199)](){return this;}[_0xd21782(0x328)](){return this;}[_0xd21782(0x1bd)](){return this;}[_0xd21782(0x25b)](){const _0x24d788=_0xd21782;throw new Error(_0x24d788(0x404));}[_0xd21782(0x28a)](){const _0x10c4ce=_0xd21782;this[_0x10c4ce(0x31c)]['updateOfflineData'](this[_0x10c4ce(0x33d)],this[_0x10c4ce(0x601)],null,[]);}[_0xd21782(0x44e)](){const _0x106de4=_0xd21782;this[_0x106de4(0x451)]?this['_notificationService'][_0x106de4(0x31e)]({'title':this[_0x106de4(0x58d)]['t'](_0x106de4(0x42b)),'content':this[_0x106de4(0x58d)]['t'](_0x106de4(0x207)),'type':_0x106de4(0x59a),'duration':0x0}):this[_0x106de4(0x477)][_0x106de4(0x31e)]({'title':this[_0x106de4(0x58d)]['t']('conflict.title'),'content':this['_localeService']['t'](_0x106de4(0x18f)),'type':_0x106de4(0x59a),'duration':0x0});}[_0xd21782(0x294)](){const _0x25475d=_0xd21782;this['_permissionService'][_0x25475d(0x466)](new _0x3f2383[(_0x25475d(0x395))](this[_0x25475d(0x33d)])['id'],!0x1);}};_0x14a810=_0x5a16aa([_0x478827(0x6,_0x33b6e0['Inject'](_0x33b6e0['IPermissionService'])),_0x478827(0x7,_0x33b6e0[_0xd21782(0x45c)]),_0x478827(0x8,_0x33b6e0[_0xd21782(0x5df)]),_0x478827(0x9,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x4ec)])),_0x478827(0xa,_0x33b6e0['Inject'](_0x2df36b['RevisionService'])),_0x478827(0xb,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0['LocaleService'])),_0x478827(0xc,_0x563831[_0xd21782(0x5b6)])],_0x14a810);let _0x3162f3=class extends _0x15781f{constructor(_0x13f824,_0xc2a4ad,_0x320853,_0x5d02db,_0x4c97d5,_0x522332,_0x318b5b,_0x2e1947,_0x31204e,_0x2fb4a2){const _0xe5c876=_0xd21782;super(_0x13f824,_0xc2a4ad,_0x320853,_0x5d02db,_0x4c97d5,_0x31204e,_0x2fb4a2,_0x318b5b,_0x2e1947),_0x398ae0(this,'status',_0xe5c876(0x5dc)),this[_0xe5c876(0x54d)]=_0x522332;}[_0xd21782(0x4d9)](_0x870d4f){const _0x4b9838=_0xd21782;return this[_0x4b9838(0x4a3)]['push'](_0x870d4f),this['_updateLocalCache'](),this;}[_0xd21782(0x1de)](_0xf4cff){const _0x5cbe16=_0xd21782;throw new Error(_0x5cbe16(0x612));}[_0xd21782(0x4ad)](){const _0x50d0e1=_0xd21782;throw new Error(_0x50d0e1(0x5cc));}[_0xd21782(0x3a4)](){const _0x454836=_0xd21782;throw new Error(_0x454836(0x313));}[_0xd21782(0x199)](){return this;}[_0xd21782(0x328)](){return this;}[_0xd21782(0x1bd)](){const _0x3aaa06=_0xd21782,{_injector:_0x280384,_pendingMutations:_0x38da3a,_awaitingChangeset:_0x2e1586,unitID:_0x3a5f6c,_handler:_0x16e48e,type:_0x150e63}=this,_0x10c572=_0x2841c5(_0x280384,_0x3a5f6c,_0x150e63,_0x2e1586,_0x38da3a,_0x16e48e);return _0x10c572 instanceof _0x4fdde3?_0x10c572['_schedule']():(_0x10c572 instanceof _0x110277||_0x10c572 instanceof _0x5a9356)&&_0x10c572[_0x3aaa06(0x25b)](),_0x10c572;}['resend'](){const _0x2afb23=_0xd21782;throw new Error(_0x2afb23(0x275));}};_0x3162f3=_0x5a16aa([_0x478827(0x5,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0x478827(0x6,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b[_0xd21782(0x353)])),_0x478827(0x7,_0x33b6e0['Inject'](_0x2e54f6[_0xd21782(0x4ec)])),_0x478827(0x8,_0x33b6e0[_0xd21782(0x45c)]),_0x478827(0x9,_0x33b6e0[_0xd21782(0x5df)])],_0x3162f3);let _0x4efe28=class extends _0x15781f{constructor(_0x8ccf2f,_0x4e1b52,_0x31908c,_0x483464,_0x36f8f2,_0x2af7b0,_0x20c8cd,_0x2930f2,_0x3d2a7b,_0x393c1d,_0x194816,_0x2b73b0,_0x3d3f70,_0xf9d97f){const _0x16d732=_0xd21782;super(_0x8ccf2f,_0x4e1b52,_0x31908c,_0x483464,_0x20c8cd,_0x2b73b0,_0x3d3f70,_0x3d2a7b,_0x393c1d),_0x398ae0(this,_0x16d732(0x61e),_0x16d732(0x471)),(this[_0x16d732(0x1b0)]=_0x36f8f2,this[_0x16d732(0x48f)]=_0x2af7b0,this[_0x16d732(0x54d)]=_0x2930f2,this[_0x16d732(0x387)]=_0x194816,this['_transformService']=_0xf9d97f);}[_0xd21782(0x4fe)](_0x1d1e09){const _0x880192=_0xd21782;try{const _0x44495d=[..._0x1d1e09,...this['_queuedRemoteChangesets']],_0x9a5280=[this[_0x880192(0x18b)]||this[_0x880192(0x1b0)]]['filter'](_0x59d0f4=>!!_0x59d0f4);let _0x19e958,_0x32fc6f;if(_0x9a5280['length']){const _0x1ccba6=this['_transformService']['transformChangesets'](_0x44495d,_0x9a5280,!0x1);if(!_0x2df36b[_0x880192(0x3fb)](_0x1ccba6))throw _0x1ccba6[_0x880192(0x59a)];_0x19e958=_0x1ccba6['c1Prime'],_0x32fc6f=_0x1ccba6[_0x880192(0x618)];}else _0x19e958=_0x44495d,_0x32fc6f=[];let _0x920c1a=this[_0x880192(0x4a3)];_0x19e958['forEach'](_0x5c3b78=>{const _0xa05dea=_0x880192;let _0x33019d;if(_0x920c1a[_0xa05dea(0x39d)]){const _0x29d2fc=this[_0xa05dea(0x1ea)]['transformMutationsWithChangeset'](_0x5c3b78,_0x920c1a);if(!_0x2df36b[_0xa05dea(0x3eb)](_0x29d2fc))throw _0x29d2fc[_0xa05dea(0x59a)];_0x33019d=_0x29d2fc['c1Prime'],_0x920c1a=_0x29d2fc[_0xa05dea(0x5ce)];}else _0x33019d=_0x5c3b78;this[_0xa05dea(0x2b1)](_0x33019d);}),this[_0x880192(0x1b0)]&&this[_0x880192(0x324)](),this[_0x880192(0x18b)]&&_0x32fc6f[_0x880192(0x39d)]&&(_0x32fc6f[0x0]['baseRev']=this[_0x880192(0x236)]());let _0x35c7ba;if(this['_awaitingChangeset']&&_0x920c1a[_0x880192(0x39d)]!==0x0)_0x35c7ba=this[_0x880192(0x54d)][_0x880192(0x27d)](_0x110277,this['unitID'],this[_0x880192(0x601)],_0x32fc6f[0x0],_0x920c1a,this[_0x880192(0x183)],void 0x0);else{if(this[_0x880192(0x18b)]&&_0x920c1a[_0x880192(0x39d)]===0x0)_0x32fc6f[0x0]['baseRev']=this['_getCurrentRevision'](),_0x35c7ba=this[_0x880192(0x54d)]['createInstance'](_0x5a9356,this[_0x880192(0x33d)],this[_0x880192(0x601)],_0x32fc6f[0x0],this[_0x880192(0x183)]);else{if(_0x920c1a[_0x880192(0x39d)]!==0x0){const _0x1d0d5c=this[_0x880192(0x54d)][_0x880192(0x27d)](_0x4fdde3,this[_0x880192(0x33d)],this[_0x880192(0x601)],_0x920c1a,this['_handler']);_0x1d0d5c[_0x880192(0x521)](),_0x35c7ba=_0x1d0d5c;}else _0x35c7ba=this['_injector'][_0x880192(0x27d)](_0x23db1a,this[_0x880192(0x33d)],this['type'],this[_0x880192(0x183)]);}}return _0x35c7ba[_0x880192(0x475)](),_0x35c7ba;}catch(_0x2a91c1){return this[_0x880192(0x387)][_0x880192(0x59a)](_0x880192(0x600),_0x880192(0x3d2),_0x2a91c1),this[_0x880192(0x54d)][_0x880192(0x27d)](_0x14a810,this[_0x880192(0x33d)],this[_0x880192(0x601)],this[_0x880192(0x18b)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0xd21782(0x25b)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x4184e1){const _0x1603a0=_0xd21782;return this[_0x1603a0(0x4a3)]['push'](_0x4184e1),this;}['onRemoteChangeset'](_0x480f38){const _0x595586=_0xd21782;return this[_0x595586(0x48f)][_0x595586(0x42a)](_0x480f38),this;}[_0xd21782(0x4ad)](_0x108814){const _0x20c887=_0xd21782;if(this[_0x20c887(0x18b)])return this[_0x20c887(0x1b0)]=this['_awaitingChangeset'],this[_0x20c887(0x18b)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0xd21782(0x3a4)](_0x365165){const _0x4ce98e=_0xd21782;return this[_0x4ce98e(0x446)](!!(_0x365165!=null&&_0x365165[_0x4ce98e(0x1e1)]));}[_0xd21782(0x199)](){return this;}[_0xd21782(0x328)](){const _0x5b65ff=_0xd21782;return this[_0x5b65ff(0x54d)]['createInstance'](_0x3162f3,this[_0x5b65ff(0x33d)],this[_0x5b65ff(0x601)],this[_0x5b65ff(0x18b)],this[_0x5b65ff(0x4a3)],this[_0x5b65ff(0x183)]);}[_0xd21782(0x1bd)](){return this;}[_0xd21782(0x446)](_0x164b08){const _0x58d436=_0xd21782;return this['_injector']['createInstance'](_0x14a810,this[_0x58d436(0x33d)],this[_0x58d436(0x601)],this[_0x58d436(0x18b)],this[_0x58d436(0x4a3)],this[_0x58d436(0x183)],_0x164b08);}};_0x4efe28=_0x5a16aa([_0x478827(0x7,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0x478827(0x8,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b['RevisionService'])),_0x478827(0x9,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x4ec)])),_0x478827(0xa,_0x33b6e0[_0xd21782(0x447)]),_0x478827(0xb,_0x33b6e0[_0xd21782(0x45c)]),_0x478827(0xc,_0x33b6e0[_0xd21782(0x5df)]),_0x478827(0xd,_0x2df36b[_0xd21782(0x268)])],_0x4efe28);function _0x2841c5(_0x153806,_0x1c34d1,_0x379acd,_0x42dc9f,_0x127e9a,_0x388ba7){const _0x6ef4e0=_0xd21782;return _0x42dc9f&&_0x127e9a[_0x6ef4e0(0x39d)]?_0x153806[_0x6ef4e0(0x27d)](_0x110277,_0x1c34d1,_0x379acd,_0x42dc9f,_0x127e9a,_0x388ba7,void 0x0):_0x42dc9f?_0x153806[_0x6ef4e0(0x27d)](_0x5a9356,_0x1c34d1,_0x379acd,_0x42dc9f,_0x388ba7):_0x127e9a['length']?_0x153806[_0x6ef4e0(0x27d)](_0x4fdde3,_0x1c34d1,_0x379acd,_0x127e9a,_0x388ba7):_0x153806['createInstance'](_0x23db1a,_0x1c34d1,_0x379acd,_0x388ba7);}var _0x3a3c60=Object[_0xd21782(0x407)],_0x25ffe5=Object[_0xd21782(0x52e)],_0x7cc70e=(_0x3d2893,_0x3781c2,_0x165781,_0x3f1970)=>{for(var _0x394b0a=_0x3f1970>0x1?void 0x0:_0x3f1970?_0x25ffe5(_0x3781c2,_0x165781):_0x3781c2,_0xc5adb5=_0x3d2893['length']-0x1,_0x3ddf44;_0xc5adb5>=0x0;_0xc5adb5--)(_0x3ddf44=_0x3d2893[_0xc5adb5])&&(_0x394b0a=(_0x3f1970?_0x3ddf44(_0x3781c2,_0x165781,_0x394b0a):_0x3ddf44(_0x394b0a))||_0x394b0a);return _0x3f1970&&_0x394b0a&&_0x3a3c60(_0x3781c2,_0x165781,_0x394b0a),_0x394b0a;},_0x129bc5=(_0x20691a,_0x432a67)=>(_0x35caa5,_0xce1eda)=>_0x432a67(_0x35caa5,_0xce1eda,_0x20691a);_0x2e54f6[_0xd21782(0x5eb)]=class extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(_0x5aa299,_0x409efb,_0x2b6596,_0x1598b9,_0x281b5c,_0x23b71,_0x2edaa5,_0x4f215b,_0x244735,_0x3aaf1c,_0xb42de4,_0x8b0334,_0x5a24ba){const _0x3b970c=_0xd21782;super(),_0x398ae0(this,_0x3b970c(0x22b),new _0x382682[(_0x3b970c(0x187))](null)),_0x398ae0(this,_0x3b970c(0x602),this[_0x3b970c(0x22b)][_0x3b970c(0x372)]()),_0x398ae0(this,_0x3b970c(0x611)),_0x398ae0(this,'_collaborationPaused',!0x1),_0x398ae0(this,_0x3b970c(0x21d),''),_0x398ae0(this,_0x3b970c(0x58f),0x0),_0x398ae0(this,_0x3b970c(0x610),this[_0x3b970c(0x602)][_0x3b970c(0x3d3)](_0x382682[_0x3b970c(0x1f8)](_0x4f87e3=>_0x4f87e3?_0x4f87e3[_0x3b970c(0x61e)]:_0x116db8[_0x3b970c(0x3ca)]),_0x382682['shareReplay'](0x1))),_0x398ae0(this,_0x3b970c(0x531),!0x1),_0x398ae0(this,_0x3b970c(0x5e1),[]),(this[_0x3b970c(0x33d)]=_0x5aa299,this[_0x3b970c(0x5de)]=_0x409efb,this[_0x3b970c(0x3f6)]=_0x2b6596,this['_injector']=_0x1598b9,this['_localCacheService']=_0x281b5c,this['_compressMutationService']=_0x23b71,this['_localeService']=_0x2edaa5,this['_revisionService']=_0x4f215b,this[_0x3b970c(0x387)]=_0x244735,this[_0x3b970c(0x496)]=_0x3aaf1c,this['_messageService']=_0xb42de4,this['_permissionService']=_0x8b0334,this[_0x3b970c(0x299)]=_0x5a24ba);}get[_0xd21782(0x568)](){return this['_state'];}async[_0xd21782(0x2e5)](){const _0x295612=_0xd21782;if(this[_0x295612(0x568)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x295612(0x323)]();}[_0xd21782(0x629)](){const _0x266b9c=_0xd21782;return this[_0x266b9c(0x35f)]=!0x0,_0x33b6e0['toDisposable'](()=>{const _0x295824=_0x266b9c;this[_0x295824(0x35f)]=!0x1,this[_0x295824(0x465)]();});}[_0xd21782(0x344)](_0x3c1579){const _0x5d2c90=_0xd21782;this[_0x5d2c90(0x611)]=_0x3c1579,this[_0x5d2c90(0x22b)]['next'](_0x3c1579);}async[_0xd21782(0x323)](){const _0x5471f8=_0xd21782;var _0x574a58;this['_updateState'](await this[_0x5471f8(0x186)]()),this[_0x5471f8(0x299)]&&((_0x574a58=this[_0x5471f8(0x299)])==null||_0x574a58[_0x5471f8(0x1fb)](this[_0x5471f8(0x33d)]),this['disposeWithMe'](this[_0x5471f8(0x299)][_0x5471f8(0x30a)](this[_0x5471f8(0x33d)])['subscribe'](_0x38e5a8=>{const _0x4b3e1f=_0x5471f8;this['_logService']['debug'](_0x4b3e1f(0x245),_0x4b3e1f(0x1cc),_0x38e5a8),_0x38e5a8===_0x1a49ad[_0x4b3e1f(0x22e)]?(this[_0x4b3e1f(0x575)]['show']({'content':this['_localeService']['t'](_0x4b3e1f(0x36e)),'type':_0x34d4ff[_0x4b3e1f(0x261)][_0x4b3e1f(0x61f)]}),this['_permissionService']['updatePermissionPoint'](new _0x3f2383['WorkbookEditablePermission'](this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x3f2383['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x4b3e1f(0x4f0)][_0x4b3e1f(0x577)](!0x0));})));let _0x482512=!0x1;return this[_0x5471f8(0x3d8)](this['session'][_0x5471f8(0x37a)]['subscribe'](_0x4e983d=>{const _0x195971=_0x5471f8;_0x4e983d===_0x59052a[_0x195971(0x228)]?this[_0x195971(0x40e)](_0x482512):_0x4e983d===_0x59052a[_0x195971(0x3ca)]&&(_0x482512=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x5471f8(0x5de)][_0x5471f8(0x1ce)][_0x5471f8(0x306)](_0x511962=>{const _0xd2c635=_0x5471f8;try{switch(_0x511962['eventID']){case _0x2df36b[_0xd2c635(0x45e)][_0xd2c635(0x3c1)]:{this[_0xd2c635(0x425)](_0x2df36b[_0xd2c635(0x220)](_0x511962['data']));break;}case _0x2df36b[_0xd2c635(0x45e)][_0xd2c635(0x23e)]:{this['_onRemoteACK'](_0x511962[_0xd2c635(0x325)]);break;}case _0x2df36b['CollaborationEvent']['CHANGESET_REJ']:{this[_0xd2c635(0x2ee)]();break;}case _0x2df36b['CollaborationEvent'][_0xd2c635(0x4d8)]:{this[_0xd2c635(0x46c)](_0x511962[_0xd2c635(0x325)]);break;}case _0x2df36b[_0xd2c635(0x45e)][_0xd2c635(0x405)]:{this[_0xd2c635(0x32a)](_0x511962['data'][_0xd2c635(0x4ee)][_0xd2c635(0x1f8)](_0x490777=>_0x2df36b[_0xd2c635(0x220)](_0x490777)));break;}case _0x2df36b[_0xd2c635(0x45e)]['PERMISSION_REJ']:this[_0xd2c635(0x2ee)]({'isPermissionRej':!0x0});}}catch(_0x5530ba){throw console[_0xd2c635(0x59a)](_0xd2c635(0x35b),_0x5530ba),_0x5530ba;}})),this[_0x5471f8(0x611)];}[_0xd21782(0x55b)](){this['_transitionLocked']=!0x1;}[_0xd21782(0x5c8)](){const _0x5a4063=_0xd21782;if(this[_0x5a4063(0x531)])throw new Error(_0x5a4063(0x342));this['_transitionLocked']=!0x0;}[_0xd21782(0x285)](_0x34ff37){const _0x3174c7=_0xd21782;this[_0x3174c7(0x5c8)](),this[_0x3174c7(0x344)](this[_0x3174c7(0x611)][_0x3174c7(0x4d9)](_0x34ff37)),this['_unlockTransition']();}[_0xd21782(0x425)](_0x15b97f){const _0x11e036=_0xd21782;if(!(_0x15b97f[_0x11e036(0x543)]<=this[_0x11e036(0x1c3)][_0x11e036(0x585)](this[_0x11e036(0x33d)]))){if(this[_0x11e036(0x35f)]){this[_0x11e036(0x5e1)]['push'](_0x15b97f);return;}this['_applyRemoteChangeset'](_0x15b97f);}}[_0xd21782(0x465)](){const _0x314a9d=_0xd21782;this[_0x314a9d(0x5e1)][_0x314a9d(0x4b3)](_0x27784e=>this['_applyRemoteChangeset'](_0x27784e)),this['_remoteChangesetQueue']=[];}[_0xd21782(0x5f3)](_0x179271){const _0xc96f73=_0xd21782,_0x516eb3=this[_0xc96f73(0x56f)][_0xc96f73(0x386)][_0xc96f73(0x628)](this[_0xc96f73(0x56f)][_0xc96f73(0x386)][_0xc96f73(0x56d)]()[_0xc96f73(0x59e)])(_0x179271[_0xc96f73(0x5ff)],null)||_0x179271['mutations'],_0x25adac={..._0x179271,'mutations':_0x516eb3};this['_lockTransition'](),this[_0xc96f73(0x344)](this[_0xc96f73(0x611)][_0xc96f73(0x1de)](_0x25adac)),this[_0xc96f73(0x55b)]();}[_0xd21782(0x445)](_0x48d171){const _0x21f0a6=_0xd21782;this['_lockTransition'](),this[_0x21f0a6(0x344)](this[_0x21f0a6(0x611)][_0x21f0a6(0x4ad)](_0x48d171)),this['_unlockTransition']();}[_0xd21782(0x2ee)](_0x4b6817){const _0x4b679a=_0xd21782;this['_lockTransition'](),this[_0x4b679a(0x344)](this[_0x4b679a(0x611)][_0x4b679a(0x3a4)](_0x4b6817)),this[_0x4b679a(0x55b)]();}[_0xd21782(0x46c)](_0x2518e7){const _0x49a6c8=_0xd21782;this[_0x49a6c8(0x5c8)](),this[_0x49a6c8(0x344)](this[_0x49a6c8(0x611)][_0x49a6c8(0x199)](_0x2518e7)),this[_0x49a6c8(0x55b)]();}[_0xd21782(0x32a)](_0x5c1df1){const _0x3412a0=_0xd21782;if(!(this[_0x3412a0(0x611)]instanceof _0x4efe28))throw new TypeError(_0x3412a0(0x1fa));const _0x333835=_0x5c1df1[_0x3412a0(0x1f8)](_0x146b1c=>{const _0x36ae2f=_0x3412a0,_0x576120=this[_0x36ae2f(0x56f)][_0x36ae2f(0x386)]['fetchThroughInterceptors'](this[_0x36ae2f(0x56f)]['interceptor'][_0x36ae2f(0x56d)]()[_0x36ae2f(0x59e)])(_0x146b1c[_0x36ae2f(0x5ff)],null)||_0x146b1c[_0x36ae2f(0x5ff)];return{..._0x146b1c,'mutations':_0x576120};});this[_0x3412a0(0x5c8)](),this[_0x3412a0(0x344)](this['_state'][_0x3412a0(0x4fe)](_0x333835)),this[_0x3412a0(0x55b)]();}[_0xd21782(0x61b)](){const _0x25c462=_0xd21782;this[_0x25c462(0x5c8)](),this[_0x25c462(0x344)](this[_0x25c462(0x611)]['toggleOffline']()),this['_unlockTransition']();}[_0xd21782(0x40e)](_0x1e3784=!0x1){const _0xf460dc=_0xd21782;this[_0xf460dc(0x5c8)](),this[_0xf460dc(0x344)](this[_0xf460dc(0x611)][_0xf460dc(0x1bd)]()),this[_0xf460dc(0x55b)]();const _0x499a67=this[_0xf460dc(0x611)];_0x1e3784&&_0x499a67 instanceof _0x23db1a&&(this[_0xf460dc(0x5c8)](),this['_updateState'](_0x499a67[_0xf460dc(0x29a)]()),this['_unlockTransition']());}async[_0xd21782(0x186)](){return new Promise(_0x5375de=>{const _0x4b6cfd=_0x49f2;this[_0x4b6cfd(0x5de)]['sessionStatus$'][_0x4b6cfd(0x3d3)](_0x382682['take'](0x1))[_0x4b6cfd(0x306)](async _0x4e01a4=>{const _0x27b032=_0x4b6cfd;_0x5375de(await this[_0x27b032(0x57a)](_0x4e01a4===_0x59052a[_0x27b032(0x228)]));});});}[_0xd21782(0x5d6)](){const _0x108ba9=_0xd21782,_0x4131dc=this[_0x108ba9(0x33d)];return{'onStateChange':(_0x2f704c,_0x38d49a)=>{const _0x38159c=_0x108ba9;if(_0x2f704c!==this['_state'])throw new Error(_0x38159c(0x1ac)+_0x2f704c[_0x38159c(0x61e)]+_0x38159c(0x33b)+_0x38d49a[_0x38159c(0x61e)]+_0x38159c(0x23d)+this['_state'][_0x38159c(0x61e)]);this[_0x38159c(0x344)](_0x38d49a);},'onSendChangeset':_0x3bd490=>{const _0x180211=_0x108ba9;_0x3bd490['sid']||(_0x3bd490[_0x180211(0x5b3)]=this[_0x180211(0x21d)],_0x3bd490['reqId']=++this[_0x180211(0x58f)]);const _0x414960={'eventID':_0x2df36b[_0x180211(0x45e)][_0x180211(0x19a)],'data':{'unitID':_0x3bd490[_0x180211(0x33d)],'unitType':this['_type'],'changeset':_0x3bd490,'memberID':this['session'][_0x180211(0x284)]()}};this['session'][_0x180211(0x309)](_0x414960,this[_0x180211(0x33d)]);},'onMissingChangesets':({from:_0x479239,to:_0x468961})=>{const _0x3c025d=_0x108ba9;this['_logService'][_0x3c025d(0x49e)](_0x3c025d(0x245),_0x3c025d(0x1f2)+_0x479239+_0x3c025d(0x635)+_0x468961);const _0x453f6d={'eventID':_0x2df36b[_0x3c025d(0x45e)]['FETCH_MISSING'],'data':{'unitID':_0x4131dc,'unitType':this['_type'],'from':_0x479239,'to':_0x468961}};this[_0x3c025d(0x5de)]['send'](_0x453f6d,this[_0x3c025d(0x33d)]);}};}async[_0xd21782(0x57a)](_0x5a2384){const _0x2106e7=_0xd21782;var _0x57d8b8,_0x35dd48;const _0x4240de=await this[_0x2106e7(0x31c)][_0x2106e7(0x3e4)](this[_0x2106e7(0x33d)]),_0x3248a0=(_0x57d8b8=_0x4240de==null?void 0x0:_0x4240de['mutations'])!=null?_0x57d8b8:[],_0x5b52b9=(_0x35dd48=_0x4240de==null?void 0x0:_0x4240de['awaitingChangeset'])!=null?_0x35dd48:null,_0x3aa1cc=!!(_0x5b52b9!=null&&_0x5b52b9['sid'])&&!!(_0x5b52b9!=null&&_0x5b52b9[_0x2106e7(0x347)]);this['_changesetSessionId']=_0x3aa1cc?_0x5b52b9[_0x2106e7(0x5b3)]:_0x1c364f(),this[_0x2106e7(0x58f)]=_0x3aa1cc?_0x5b52b9['reqId']:0x0;const _0x3ad6c4=this[_0x2106e7(0x33d)];try{this[_0x2106e7(0x627)](_0x5b52b9,_0x3248a0);}catch(_0x435004){this['_logService'][_0x2106e7(0x59a)](_0x435004);}const _0x166f7c=this['_createHandler']();if(_0x5a2384){const _0x2654f1=_0x2841c5(this[_0x2106e7(0x54d)],_0x3ad6c4,this[_0x2106e7(0x3f6)],_0x5b52b9,_0x3248a0,_0x166f7c);return _0x2654f1 instanceof _0x4fdde3?_0x2654f1[_0x2106e7(0x521)]():(_0x2654f1 instanceof _0x110277||_0x2654f1 instanceof _0x5a9356)&&_0x2654f1['resend'](),_0x2654f1;}return this['_injector'][_0x2106e7(0x27d)](_0x3162f3,_0x3ad6c4,this[_0x2106e7(0x3f6)],_0x5b52b9,_0x3248a0,_0x166f7c);}[_0xd21782(0x627)](_0x5caef8,_0x49df00){const _0x29cb9c=_0xd21782;var _0x90b17b,_0x18faba;const _0x5ea617=this['_compressMutationService'][_0x29cb9c(0x386)][_0x29cb9c(0x628)](this[_0x29cb9c(0x56f)][_0x29cb9c(0x386)][_0x29cb9c(0x56d)]()['COMPRESS_MUTATION_APPLY']);(_0x90b17b=_0x5ea617((_0x5caef8==null?void 0x0:_0x5caef8['mutations'])||[],null))==null||_0x90b17b['forEach'](_0x46d4ef=>this[_0x29cb9c(0x496)]['executeCommand'](_0x46d4ef['id'],_0x46d4ef['params'])),(_0x18faba=_0x5ea617(_0x49df00||[],null))==null||_0x18faba[_0x29cb9c(0x4b3)](_0x518370=>this['_commandService'][_0x29cb9c(0x350)](_0x518370['id'],_0x518370[_0x29cb9c(0x589)]));}},_0x2e54f6[_0xd21782(0x5eb)]=_0x7cc70e([_0x129bc5(0x3,_0x33b6e0['Inject'](_0x33b6e0[_0xd21782(0x2de)])),_0x129bc5(0x4,_0x33b6e0['Inject'](_0x2e54f6['LocalCacheService'])),_0x129bc5(0x5,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b[_0xd21782(0x293)])),_0x129bc5(0x6,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x56a)])),_0x129bc5(0x7,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b[_0xd21782(0x353)])),_0x129bc5(0x8,_0x33b6e0[_0xd21782(0x447)]),_0x129bc5(0x9,_0x33b6e0[_0xd21782(0x45c)]),_0x129bc5(0xa,_0x563831[_0xd21782(0x33c)]),_0x129bc5(0xb,_0x33b6e0['IPermissionService']),_0x129bc5(0xc,_0x33b6e0['Optional'](_0x4bdc83))],_0x2e54f6['CollaborationEntity']),_0x2e54f6[_0xd21782(0x365)]=class extends _0x2e54f6[_0xd21782(0x5eb)]{constructor(_0x456690,_0x1de425,_0x41dc15,_0x100a6c,_0x4ce309,_0x2577f5,_0x39e823,_0x5bd963,_0x489b4a,_0x5a5d06,_0x11e61b,_0x4b10a8,_0x887e32,_0x37e1eb,_0x4e5f0b,_0x4303ed,_0x1a1c49,_0x3df368){const _0x16634d=_0xd21782;super(_0x456690,_0x41dc15,_0x1de425,_0x100a6c,_0x4ce309,_0x2577f5,_0x39e823,_0x5bd963,_0x37e1eb,_0x4e5f0b,_0x4303ed,_0x1a1c49,_0x3df368),this[_0x16634d(0x33d)]=_0x456690,this[_0x16634d(0x601)]=_0x1de425,this[_0x16634d(0x421)]=_0x489b4a,this['_docTransformIMECacheService']=_0x5a5d06,this[_0x16634d(0x392)]=_0x11e61b,this[_0x16634d(0x32e)]=_0x4b10a8,this['_docSyncEditingCollabCursorService']=_0x887e32;}[_0xd21782(0x5d6)](){const _0x4cd329=_0xd21782,_0x48cb5e=super[_0x4cd329(0x5d6)]();return _0x48cb5e[_0x4cd329(0x4cc)]=_0x1e98c4=>this[_0x4cd329(0x391)][_0x4cd329(0x479)](_0x1e98c4),_0x48cb5e['onTransformState']=_0x1fb4bd=>this[_0x4cd329(0x392)][_0x4cd329(0x58c)](_0x1fb4bd),_0x48cb5e[_0x4cd329(0x1f7)]=_0xc28bf8=>this[_0x4cd329(0x32e)]['transformSelections'](_0xc28bf8),_0x48cb5e[_0x4cd329(0x4e8)]=_0x1273e5=>this['_docSyncEditingCollabCursorService'][_0x4cd329(0x19b)](_0x1273e5),_0x48cb5e[_0x4cd329(0x312)]=_0x5dc330=>this[_0x4cd329(0x391)][_0x4cd329(0x4b8)](_0x5dc330),_0x48cb5e[_0x4cd329(0x3ea)]=_0x575112=>this[_0x4cd329(0x392)]['transformRemoteChangeset'](_0x575112),_0x48cb5e;}async[_0xd21782(0x323)](){const _0x163cd1=_0xd21782,_0x51c966=await super['_init']();return this['_docStateChangeManagerService'][_0x163cd1(0x217)][_0x163cd1(0x3d3)](_0x382682['takeUntil'](this[_0x163cd1(0x472)]))[_0x163cd1(0x306)](_0x4aa58b=>{const _0x2524ad=_0x163cd1;if(_0x4aa58b==null)return;const {unitId:_0x4e540c,redoState:_0x4956c3,commandId:_0x435d32}=_0x4aa58b;if(_0x4e540c!==this['unitID'])return;const _0x1c0f2f={'id':_0x435d32,'type':_0x33b6e0[_0x2524ad(0x55e)][_0x2524ad(0x19f)],'params':{'unitId':_0x4e540c,'actions':_0x4956c3[_0x2524ad(0x26f)],'textRanges':null}};this[_0x2524ad(0x285)](_0x1c0f2f);}),_0x51c966;}},_0x2e54f6['DocCollaborationEntity']=_0x7cc70e([_0x129bc5(0x3,_0x33b6e0['Inject'](_0x33b6e0[_0xd21782(0x2de)])),_0x129bc5(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x4ec)])),_0x129bc5(0x5,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b['CompressMutationService'])),_0x129bc5(0x6,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x56a)])),_0x129bc5(0x7,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b[_0xd21782(0x353)])),_0x129bc5(0x8,_0x33b6e0['Inject'](_0x52f834[_0xd21782(0x4b5)])),_0x129bc5(0x9,_0x33b6e0[_0xd21782(0x2d5)](_0x22a379)),_0x129bc5(0xa,_0x33b6e0['Inject'](_0x3146a8)),_0x129bc5(0xb,_0x33b6e0[_0xd21782(0x2d5)](_0x351f72)),_0x129bc5(0xc,_0x33b6e0[_0xd21782(0x2d5)](_0x409fc5)),_0x129bc5(0xd,_0x33b6e0[_0xd21782(0x447)]),_0x129bc5(0xe,_0x33b6e0[_0xd21782(0x45c)]),_0x129bc5(0xf,_0x563831[_0xd21782(0x33c)]),_0x129bc5(0x10,_0x33b6e0[_0xd21782(0x30b)]),_0x129bc5(0x11,_0x33b6e0[_0xd21782(0x2a5)](_0x4bdc83))],_0x2e54f6[_0xd21782(0x365)]),_0x2e54f6['SheetCollaborationEntity']=class extends _0x2e54f6[_0xd21782(0x5eb)]{constructor(_0x13e603,_0x2a79e8,_0x1c6de2,_0x3655c0,_0x163060,_0x5c2a95,_0x1e0170,_0x1d3284,_0x348125,_0x478f47,_0xac5a09,_0x16b408,_0x5ea03a,_0x28655a){const _0x17bb4e=_0xd21782;super(_0x13e603,_0x1c6de2,_0x2a79e8,_0x3655c0,_0x163060,_0x5c2a95,_0x1e0170,_0x1d3284,_0x478f47,_0xac5a09,_0x16b408,_0x5ea03a,_0x28655a),this[_0x17bb4e(0x33d)]=_0x13e603,this['type']=_0x2a79e8,this[_0x17bb4e(0x450)]=_0x348125;}[_0xd21782(0x5d6)](){const _0x34cc5e=_0xd21782,_0x52c5cb=super['_createHandler']();return _0x52c5cb[_0x34cc5e(0x1f7)]=_0x38c544=>this[_0x34cc5e(0x450)][_0x34cc5e(0x230)](_0x38c544),_0x52c5cb;}async[_0xd21782(0x323)](){const _0x1b0d4d=_0xd21782,_0x44f3c3=await super[_0x1b0d4d(0x323)]();return this[_0x1b0d4d(0x3d8)](this[_0x1b0d4d(0x496)][_0x1b0d4d(0x540)]((_0x48cdc7,_0x1e7653)=>{const _0x4ce22c=_0x1b0d4d;if(_0x48cdc7[_0x4ce22c(0x601)]!==_0x33b6e0[_0x4ce22c(0x55e)]['MUTATION']||_0x1e7653!=null&&_0x1e7653[_0x4ce22c(0x4a1)]||_0x1e7653!=null&&_0x1e7653[_0x4ce22c(0x57c)])return;const _0x1dc4bd=_0x48cdc7[_0x4ce22c(0x589)];if((_0x1dc4bd==null?void 0x0:_0x1dc4bd[_0x4ce22c(0x1c6)])!==this[_0x4ce22c(0x33d)])return;const _0x4c7bfd=_0x48cdc7,_0x3b909d=this[_0x4ce22c(0x56f)][_0x4ce22c(0x386)][_0x4ce22c(0x628)](this['_compressMutationService'][_0x4ce22c(0x386)][_0x4ce22c(0x56d)]()[_0x4ce22c(0x184)])([_0x4c7bfd],null)||[_0x4c7bfd];this[_0x4ce22c(0x285)](_0x3b909d[0x0]);})),_0x44f3c3;}},_0x2e54f6['SheetCollaborationEntity']=_0x7cc70e([_0x129bc5(0x3,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0['Injector'])),_0x129bc5(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x4ec)])),_0x129bc5(0x5,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b[_0xd21782(0x293)])),_0x129bc5(0x6,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x56a)])),_0x129bc5(0x7,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b[_0xd21782(0x353)])),_0x129bc5(0x8,_0x33b6e0[_0xd21782(0x2d5)](_0x1561db)),_0x129bc5(0x9,_0x33b6e0[_0xd21782(0x447)]),_0x129bc5(0xa,_0x33b6e0[_0xd21782(0x45c)]),_0x129bc5(0xb,_0x563831[_0xd21782(0x33c)]),_0x129bc5(0xc,_0x33b6e0[_0xd21782(0x30b)]),_0x129bc5(0xd,_0x33b6e0[_0xd21782(0x2a5)](_0x4bdc83))],_0x2e54f6[_0xd21782(0x3da)]);var _0x2a8032=Object[_0xd21782(0x407)],_0x19faa2=Object[_0xd21782(0x52e)],_0x3175b7=(_0x3ff4c3,_0x4075c1,_0x3ad958,_0x2d209e)=>{const _0x2d2a71=_0xd21782;for(var _0x12dcc7=_0x2d209e>0x1?void 0x0:_0x2d209e?_0x19faa2(_0x4075c1,_0x3ad958):_0x4075c1,_0x331d50=_0x3ff4c3[_0x2d2a71(0x39d)]-0x1,_0x3800d6;_0x331d50>=0x0;_0x331d50--)(_0x3800d6=_0x3ff4c3[_0x331d50])&&(_0x12dcc7=(_0x2d209e?_0x3800d6(_0x4075c1,_0x3ad958,_0x12dcc7):_0x3800d6(_0x12dcc7))||_0x12dcc7);return _0x2d209e&&_0x12dcc7&&_0x2a8032(_0x4075c1,_0x3ad958,_0x12dcc7),_0x12dcc7;},_0x4d74ea=(_0x5ef323,_0x2c0b7e)=>(_0x40236c,_0x1e4d09)=>_0x2c0b7e(_0x40236c,_0x1e4d09,_0x5ef323);_0x2e54f6['CollaborationController']=class extends _0x33b6e0['RxDisposable']{constructor(_0x5231b6,_0x8cdf55,_0xc84670){const _0x6051fb=_0xd21782;super(),_0x398ae0(this,_0x6051fb(0x2d7),new Map()),_0x398ae0(this,'_entityInit$',new _0x382682[(_0x6051fb(0x1e0))]()),(this[_0x6051fb(0x54d)]=_0x5231b6,this['_collabSessionService']=_0x8cdf55,this[_0x6051fb(0x40b)]=_0xc84670,this['_init']());}[_0xd21782(0x214)](){const _0x34278b=_0xd21782;super[_0x34278b(0x214)](),this[_0x34278b(0x2d7)][_0x34278b(0x4b3)](_0x40706a=>_0x40706a['dispose']()),this[_0x34278b(0x2d7)][_0x34278b(0x572)]();}[_0xd21782(0x201)](_0x593687){const _0x48b6e7=_0xd21782;var _0x497e00;return(_0x497e00=this[_0x48b6e7(0x2d7)]['get'](_0x593687))!=null?_0x497e00:null;}[_0xd21782(0x31d)](_0x255a49){const _0x50e150=_0xd21782,_0x408031=this[_0x50e150(0x201)](_0x255a49);return _0x408031?_0x382682['of'](_0x408031):this['_entityInit$']['pipe'](_0x52ded5[_0x50e150(0x40f)](_0x41ef7c=>_0x41ef7c[_0x50e150(0x33d)]===_0x255a49));}[_0xd21782(0x323)](){const _0x200258=_0xd21782;this[_0x200258(0x40b)][_0x200258(0x181)](_0x33b6e0[_0x200258(0x2c1)][_0x200258(0x23c)])[_0x200258(0x3d3)](_0x382682[_0x200258(0x45a)](this[_0x200258(0x472)]),_0x52ded5['delay'](0x10))[_0x200258(0x306)](async _0x1b06cc=>{const _0x58586c=_0x200258,_0x5941c8=_0x1b06cc['getUnitId'](),_0x5c48ea=await this[_0x58586c(0x59b)](_0x5941c8,_0x5ce0e9[_0x58586c(0x23c)]);this[_0x58586c(0x2d7)][_0x58586c(0x44b)](_0x5941c8,_0x5c48ea);}),this[_0x200258(0x40b)]['getTypeOfUnitAdded$'](_0x33b6e0['UniverInstanceType'][_0x200258(0x237)])[_0x200258(0x3d3)](_0x382682[_0x200258(0x45a)](this['dispose$']),_0x52ded5[_0x200258(0x3c0)](0x10))[_0x200258(0x3d3)](_0x52ded5[_0x200258(0x40f)](_0xd1a9b3=>!_0xd1a9b3['getUnitId']()[_0x200258(0x417)]('__')))['subscribe'](async _0x1f0349=>{const _0x7fc77d=_0x200258,_0x489f0a=_0x1f0349['getUnitId'](),_0x18133d=await this[_0x7fc77d(0x59b)](_0x489f0a,_0x5ce0e9[_0x7fc77d(0x237)]);this['_entities']['set'](_0x489f0a,_0x18133d);}),_0x382682[_0x200258(0x3ab)](this[_0x200258(0x40b)]['getTypeOfUnitDisposed$'](_0x33b6e0[_0x200258(0x2c1)][_0x200258(0x23c)]),this[_0x200258(0x40b)][_0x200258(0x517)](_0x33b6e0['UniverInstanceType'][_0x200258(0x237)]))[_0x200258(0x3d3)](_0x382682[_0x200258(0x45a)](this[_0x200258(0x472)]))[_0x200258(0x306)](_0x40492f=>{const _0x42c489=_0x200258,_0x3d98bb=_0x40492f['getUnitId'](),_0x7c7f74=this[_0x42c489(0x2d7)][_0x42c489(0x3c8)](_0x3d98bb);_0x7c7f74&&(_0x7c7f74[_0x42c489(0x214)](),this[_0x42c489(0x2d7)][_0x42c489(0x18e)](_0x3d98bb));});}async[_0xd21782(0x59b)](_0x10ddb9,_0x3552ce){const _0x42a97d=_0xd21782,_0x32389c=await this[_0x42a97d(0x584)][_0x42a97d(0x22f)](_0x10ddb9),_0x5048d0=this[_0x42a97d(0x54d)]['createInstance'](this[_0x42a97d(0x21f)](_0x3552ce),_0x10ddb9,_0x3552ce,_0x32389c);return await _0x5048d0[_0x42a97d(0x2e5)](),this['_entityInit$']['next'](_0x5048d0),_0x5048d0;}[_0xd21782(0x21f)](_0x4cfaa9){const _0x34f485=_0xd21782;switch(_0x4cfaa9){case _0x5ce0e9['UNIVER_DOC']:return _0x2e54f6['DocCollaborationEntity'];case _0x5ce0e9[_0x34f485(0x23c)]:return _0x2e54f6[_0x34f485(0x3da)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4cfaa9);}}},_0x2e54f6['CollaborationController']=_0x3175b7([_0x4d74ea(0x0,_0x33b6e0['Inject'](_0x33b6e0[_0xd21782(0x2de)])),_0x4d74ea(0x1,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x233)])),_0x4d74ea(0x2,_0x33b6e0['IUniverInstanceService'])],_0x2e54f6[_0xd21782(0x633)]);const _0x4f55ed=[_0xd21782(0x1af),_0xd21782(0x592),'verdancy600',_0xd21782(0x4dc),'blue400',_0xd21782(0x278)];class _0x522759 extends _0x33b6e0[_0xd21782(0x5ea)]{constructor(){const _0x436844=_0xd21782;super(...arguments),_0x398ae0(this,'_assignedColors',new Map()),_0x398ae0(this,_0x436844(0x53b),0x0);}[_0xd21782(0x25f)](_0x35e6f6){const _0x12f57a=_0xd21782;if(this[_0x12f57a(0x3d9)][_0x12f57a(0x4c6)](_0x35e6f6))return this['_assignedColors']['get'](_0x35e6f6);const _0x285d0f=_0x4f55ed[this[_0x12f57a(0x53b)]];return this[_0x12f57a(0x53b)]=(this['_colorIndex']+0x1)%_0x4f55ed[_0x12f57a(0x39d)],this[_0x12f57a(0x3d9)][_0x12f57a(0x44b)](_0x35e6f6,_0x285d0f),_0x285d0f;}}var _0x113b95=Object[_0xd21782(0x407)],_0x32fae2=Object['getOwnPropertyDescriptor'],_0x56f53b=(_0xae6e88,_0x4c6595,_0x5ac491,_0x57f390)=>{const _0x2d618c=_0xd21782;for(var _0x33e55d=_0x57f390>0x1?void 0x0:_0x57f390?_0x32fae2(_0x4c6595,_0x5ac491):_0x4c6595,_0x69a2=_0xae6e88[_0x2d618c(0x39d)]-0x1,_0x106065;_0x69a2>=0x0;_0x69a2--)(_0x106065=_0xae6e88[_0x69a2])&&(_0x33e55d=(_0x57f390?_0x106065(_0x4c6595,_0x5ac491,_0x33e55d):_0x106065(_0x33e55d))||_0x33e55d);return _0x57f390&&_0x33e55d&&_0x113b95(_0x4c6595,_0x5ac491,_0x33e55d),_0x33e55d;},_0xe939f6=(_0x1c21ff,_0x373de7)=>(_0x321c8f,_0x156133)=>_0x373de7(_0x321c8f,_0x156133,_0x1c21ff);const _0x226440=0x12c,_0x47404a=0x64;let _0x97d318=class extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(_0x3ad7c7,_0x25d654,_0x5e3154,_0x3ec608,_0x202aba,_0x16469f,_0x736627,_0x54d1e6,_0x2d3998){const _0x40cfdd=_0xd21782;super(),_0x398ae0(this,_0x40cfdd(0x5c4),!0x1),_0x398ae0(this,_0x40cfdd(0x323),!0x1),_0x398ae0(this,_0x40cfdd(0x62e),new _0x382682['BehaviorSubject'](new Map())),_0x398ae0(this,_0x40cfdd(0x246),this[_0x40cfdd(0x62e)][_0x40cfdd(0x372)]()),_0x398ae0(this,_0x40cfdd(0x290),new _0x382682[(_0x40cfdd(0x187))]([])),_0x398ae0(this,_0x40cfdd(0x20d),this[_0x40cfdd(0x290)][_0x40cfdd(0x3d3)](_0x382682[_0x40cfdd(0x3b7)](_0x226440))),_0x398ae0(this,_0x40cfdd(0x2d1),_0x33b6e0[_0x40cfdd(0x311)](_0x53d15a=>{const _0x34490e=_0x40cfdd,_0x9b1079={'eventID':_0x2df36b[_0x34490e(0x45e)][_0x34490e(0x462)],'data':{'unitID':this[_0x34490e(0x33d)],'memberID':this[_0x34490e(0x1e7)]['getMemberID'](),'selection':_0x3c13cb(_0x53d15a)}};this[_0x34490e(0x1e7)]['send'](_0x9b1079,this[_0x34490e(0x33d)]);},_0x47404a)),(this['unitID']=_0x3ad7c7,this[_0x40cfdd(0x1e7)]=_0x25d654,this['_injector']=_0x5e3154,this['_colorAssignService']=_0x3ec608,this[_0x40cfdd(0x420)]=_0x202aba,this[_0x40cfdd(0x25d)]=_0x16469f,this[_0x40cfdd(0x1ea)]=_0x736627,this[_0x40cfdd(0x40b)]=_0x54d1e6,this[_0x40cfdd(0x496)]=_0x2d3998);}get[_0xd21782(0x1a6)](){const _0x14d5a5=_0xd21782;return this[_0x14d5a5(0x62e)][_0x14d5a5(0x4a7)]();}get[_0xd21782(0x222)](){const _0x51938a=_0xd21782;return this[_0x51938a(0x290)][_0x51938a(0x4a7)]();}[_0xd21782(0x214)](){const _0x5e76f2=_0xd21782;super[_0x5e76f2(0x214)](),this[_0x5e76f2(0x62e)][_0x5e76f2(0x2d0)](new Map()),this[_0x5e76f2(0x62e)][_0x5e76f2(0x242)](),this[_0x5e76f2(0x290)][_0x5e76f2(0x2d0)]([]),this['_roomMembers$']['complete']();}[_0xd21782(0x2e5)](){const _0x135c01=_0xd21782;this[_0x135c01(0x323)]||(this[_0x135c01(0x323)]=!0x0,this[_0x135c01(0x1e7)][_0x135c01(0x37a)][_0x135c01(0x3d3)](_0x382682['takeUntil'](this[_0x135c01(0x472)]))['subscribe'](_0x18c89b=>{const _0x1be542=_0x135c01;_0x18c89b===_0x59052a[_0x1be542(0x228)]?this[_0x1be542(0x40e)]():this['_toggleOffline']();}),this['_session']['event$'][_0x135c01(0x3d3)](_0x382682[_0x135c01(0x45a)](this[_0x135c01(0x472)]))[_0x135c01(0x306)](_0x2332b8=>{const _0x491681=_0x135c01,_0x1778ae=_0x2332b8['eventID'];_0x1778ae===_0x2df36b['CollaborationEvent'][_0x491681(0x462)]&&this[_0x491681(0x1d1)](_0x2332b8),_0x1778ae===_0x2df36b[_0x491681(0x45e)][_0x491681(0x1bf)]&&this[_0x491681(0x381)](_0x2332b8);}),this[_0x135c01(0x3d8)](this[_0x135c01(0x496)][_0x135c01(0x540)](_0x5b431e=>{const _0x52a7f2=_0x135c01,_0x4b1dc3=_0x5b431e[_0x52a7f2(0x589)];_0x4b1dc3!=null&&this[_0x52a7f2(0x5c4)]&&_0x5b431e['id']===_0x55f083[_0x52a7f2(0x332)]['id']&&_0x4b1dc3['unitId']===this['unitID']&&_0x4b1dc3[_0x52a7f2(0x379)]===!0x1&&_0x4b1dc3[_0x52a7f2(0x355)][_0x52a7f2(0x39d)]>0x0&&this['_updateLocalCursor'](_0x4b1dc3[_0x52a7f2(0x355)]);})),this[_0x135c01(0x25d)][_0x135c01(0x473)][_0x135c01(0x3d3)](_0x382682[_0x135c01(0x45a)](this[_0x135c01(0x472)]))[_0x135c01(0x306)](_0xad4211=>{const _0x5f4850=_0x135c01;if((_0xad4211==null?void 0x0:_0xad4211[_0x5f4850(0x33d)])!==this[_0x5f4850(0x33d)])return;const _0x4c13aa={'eventID':_0x2df36b[_0x5f4850(0x45e)][_0x5f4850(0x462)],'data':_0xad4211};this[_0x5f4850(0x1d1)](_0x4c13aa);}),this['disposeWithMe'](this['_commandService'][_0x135c01(0x540)](_0x5dd461=>{const _0x381b99=_0x135c01;if(_0x5dd461[_0x381b99(0x589)]==null)return;const _0x27ded6=_0x5dd461[_0x381b99(0x589)];if(_0x5dd461['id']!==_0x55f083[_0x381b99(0x334)]['id']||_0x27ded6[_0x381b99(0x1c6)]!==this[_0x381b99(0x33d)])return;const _0x3d994e={'id':_0x381b99(0x400),'params':_0x27ded6},_0xce7ce3=this[_0x381b99(0x1a6)];for(const [_0x409995,_0x26bd0b]of _0xce7ce3){const _0x5865e6={'id':_0x381b99(0x400),'params':{'unitId':this[_0x381b99(0x33d)],'actions':null,'textRanges':_0x26bd0b[_0x381b99(0x355)]}},_0x2aa6db=this[_0x381b99(0x1ea)][_0x381b99(0x609)](_0x3d994e,_0x5865e6,!0x1);if(_0x2df36b[_0x381b99(0x4df)](_0x2aa6db))throw _0x2aa6db[_0x381b99(0x59a)];_0xce7ce3[_0x381b99(0x44b)](_0x409995,{..._0x26bd0b,'ranges':_0x2aa6db[_0x381b99(0x5ce)]['params']['textRanges']});}queueMicrotask(()=>{const _0x325439=_0x381b99;this[_0x325439(0x62e)][_0x325439(0x2d0)](_0xce7ce3);});})));}[_0xd21782(0x1d1)](_0x475482){const _0x34c415=_0xd21782;var _0x237916,_0x7eada6;const {memberID:_0x2462d6,selection:_0x1fe91d}=_0x475482['data'],_0x2ca46f=_0x931378(_0x1fe91d),_0x372053=(_0x7eada6=(_0x237916=this[_0x34c415(0x420)][_0x34c415(0x2e4)](this[_0x34c415(0x33d)],_0x2462d6))==null?void 0x0:_0x237916[_0x34c415(0x30d)])!=null?_0x7eada6:_0x34c415(0x486),_0xa14a4c={'color':this['_colorAssignService'][_0x34c415(0x25f)](_0x2462d6),'name':_0x372053,'ranges':_0x2ca46f},_0x1a194a=this[_0x34c415(0x1a6)];_0x1a194a['set'](_0x2462d6,_0xa14a4c),this[_0x34c415(0x62e)][_0x34c415(0x2d0)](_0x1a194a);}[_0xd21782(0x381)](_0x5125f1){const _0x1018f7=_0xd21782,{memberID:_0x4b23df}=_0x5125f1[_0x1018f7(0x325)],_0x145b4a=this[_0x1018f7(0x1a6)];_0x145b4a[_0x1018f7(0x18e)](_0x4b23df),this[_0x1018f7(0x62e)][_0x1018f7(0x2d0)](_0x145b4a);}['_toggleOnline'](){const _0x5e8c59=_0xd21782;var _0x3cc040;if(this['_online']=!0x0,((_0x3cc040=this[_0x5e8c59(0x40b)][_0x5e8c59(0x339)]())==null?void 0x0:_0x3cc040[_0x5e8c59(0x292)]())!==this[_0x5e8c59(0x33d)])return;const _0x235b7f=this[_0x5e8c59(0x54d)][_0x5e8c59(0x3c8)](_0x55f083[_0x5e8c59(0x1a2)])[_0x5e8c59(0x303)]();Array[_0x5e8c59(0x229)](_0x235b7f)&&_0x235b7f['length']>0x0&&this[_0x5e8c59(0x2d1)](_0x235b7f);}[_0xd21782(0x61b)](){const _0x3b7204=_0xd21782;this[_0x3b7204(0x5c4)]=!0x1;}};_0x97d318=_0x56f53b([_0xe939f6(0x2,_0x33b6e0['Inject'](_0x33b6e0['Injector'])),_0xe939f6(0x3,_0x33b6e0[_0xd21782(0x2d5)](_0x522759)),_0xe939f6(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x4c1)])),_0xe939f6(0x5,_0x33b6e0['Inject'](_0x409fc5)),_0xe939f6(0x6,_0x2df36b[_0xd21782(0x268)]),_0xe939f6(0x7,_0x33b6e0[_0xd21782(0x5a9)]),_0xe939f6(0x8,_0x33b6e0['ICommandService'])],_0x97d318);var _0x4746ee=Object[_0xd21782(0x407)],_0x374234=Object[_0xd21782(0x52e)],_0x5ae6bd=(_0x25183f,_0x3368d6,_0x34884c,_0x23eefa)=>{const _0x3e5f0c=_0xd21782;for(var _0x33a209=_0x23eefa>0x1?void 0x0:_0x23eefa?_0x374234(_0x3368d6,_0x34884c):_0x3368d6,_0x1c8e2a=_0x25183f[_0x3e5f0c(0x39d)]-0x1,_0x25937d;_0x1c8e2a>=0x0;_0x1c8e2a--)(_0x25937d=_0x25183f[_0x1c8e2a])&&(_0x33a209=(_0x23eefa?_0x25937d(_0x3368d6,_0x34884c,_0x33a209):_0x25937d(_0x33a209))||_0x33a209);return _0x23eefa&&_0x33a209&&_0x4746ee(_0x3368d6,_0x34884c,_0x33a209),_0x33a209;},_0x52f8d8=(_0x1bb249,_0x5341b5)=>(_0x8c23c5,_0x275c3a)=>_0x5341b5(_0x8c23c5,_0x275c3a,_0x1bb249);const _0x585325=0x12c,_0x34c353=0x64,_0x1cdea8=()=>{let _0x5668b2=[],_0x42459b=!0x1;return _0x2ab664=>{const _0x3fbc40=_0x49f2;_0x5668b2[_0x3fbc40(0x42a)](_0x2ab664),_0x42459b||(_0x42459b=!0x0,setTimeout(()=>{const _0x315e69=_0x3fbc40;_0x5668b2[_0x315e69(0x4b3)](_0x187f94=>_0x187f94()),_0x5668b2=[],_0x42459b=!0x1;}));};};let _0x4aca56=class extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(_0x5d0236,_0x59eb4b,_0x191f14,_0x3f75bc,_0x2bd99a,_0x2a0bb4,_0x1a4ee9,_0x352065){const _0x368cf3=_0xd21782;super(),_0x398ae0(this,_0x368cf3(0x5c4),!0x1),_0x398ae0(this,'_init',!0x1),_0x398ae0(this,'_cursorInfo$',new _0x382682[(_0x368cf3(0x187))](new Map())),_0x398ae0(this,'cursorInfo$',this[_0x368cf3(0x62e)]['asObservable']()),_0x398ae0(this,_0x368cf3(0x290),new _0x382682[(_0x368cf3(0x187))]([])),_0x398ae0(this,_0x368cf3(0x20d),this[_0x368cf3(0x290)]['pipe'](_0x382682[_0x368cf3(0x3b7)](_0x585325))),_0x398ae0(this,_0x368cf3(0x2d1),_0x33b6e0[_0x368cf3(0x311)]((_0x166f9e,_0x5eef0e)=>{const _0x2a7e8b=_0x368cf3,_0x4a63a7={'eventID':_0x2df36b[_0x2a7e8b(0x45e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2a7e8b(0x33d)],'memberID':this['_session'][_0x2a7e8b(0x284)](),'selection':_0x125ddd[_0x2a7e8b(0x419)](_0x166f9e,_0x5eef0e['range'])}};this[_0x2a7e8b(0x1e7)][_0x2a7e8b(0x309)](_0x4a63a7,this[_0x2a7e8b(0x33d)]);},_0x34c353)),(this[_0x368cf3(0x33d)]=_0x5d0236,this[_0x368cf3(0x1e7)]=_0x59eb4b,this[_0x368cf3(0x54d)]=_0x191f14,this[_0x368cf3(0x4a0)]=_0x3f75bc,this[_0x368cf3(0x420)]=_0x2bd99a,this['_univerInstanceService']=_0x2a0bb4,this['_commandService']=_0x1a4ee9,this['_refRangeService']=_0x352065);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0xd21782(0x222)](){const _0xbc6e68=_0xd21782;return this[_0xbc6e68(0x290)]['getValue']();}[_0xd21782(0x214)](){const _0x11fa67=_0xd21782;super[_0x11fa67(0x214)](),this[_0x11fa67(0x62e)][_0x11fa67(0x2d0)](new Map()),this[_0x11fa67(0x62e)][_0x11fa67(0x242)](),this['_roomMembers$']['next']([]),this[_0x11fa67(0x290)]['complete']();}[_0xd21782(0x2e5)](){const _0x464d6b=_0xd21782;this[_0x464d6b(0x323)]||(this[_0x464d6b(0x323)]=!0x0,this[_0x464d6b(0x1e7)][_0x464d6b(0x37a)][_0x464d6b(0x3d3)](_0x382682['takeUntil'](this[_0x464d6b(0x472)]))[_0x464d6b(0x306)](_0x103856=>{const _0x9deeb6=_0x464d6b;_0x103856===_0x59052a[_0x9deeb6(0x228)]?this[_0x9deeb6(0x40e)]():this['_toggleOffline']();}),this['_session'][_0x464d6b(0x1ce)][_0x464d6b(0x3d3)](_0x382682[_0x464d6b(0x45a)](this['dispose$']))['subscribe'](_0x213760=>{const _0x2c9769=_0x464d6b,_0x17bad7=_0x213760['eventID'];_0x17bad7===_0x2df36b[_0x2c9769(0x45e)][_0x2c9769(0x462)]&&this[_0x2c9769(0x1d1)](_0x213760),_0x17bad7===_0x2df36b[_0x2c9769(0x45e)][_0x2c9769(0x1bf)]&&this['_onCursorDelete'](_0x213760);}),this['_onRefRangeChange'](),this[_0x464d6b(0x3d8)](this['_commandService'][_0x464d6b(0x540)](_0x58eaee=>{const _0x430654=_0x464d6b;if(this[_0x430654(0x5c4)]&&_0x58eaee['id']===_0x3f2383[_0x430654(0x1ad)]['id']&&_0x58eaee[_0x430654(0x589)][_0x430654(0x1c6)]===this[_0x430654(0x33d)]){const _0xb41816=_0x58eaee[_0x430654(0x589)];this[_0x430654(0x2d1)](_0xb41816[_0x430654(0x225)],_0xb41816[_0x430654(0x3fc)][0x0]);}})));}[_0xd21782(0x1d1)](_0xd7e8cd){const _0x3690a3=_0xd21782;var _0x48c1cc,_0x4fdcc4;const {memberID:_0x4e6b8e,selection:_0x583538}=_0xd7e8cd['data'],{sheetName:_0x48ec2e,range:_0xbd71e4}=_0x125ddd[_0x3690a3(0x593)](_0x583538),_0x285afe={'name':(_0x4fdcc4=(_0x48c1cc=this[_0x3690a3(0x420)][_0x3690a3(0x2e4)](this['unitID'],_0x4e6b8e))==null?void 0x0:_0x48c1cc['name'])!=null?_0x4fdcc4:_0x3690a3(0x486),'range':this['_getMergeRange'](_0x48ec2e,_0xbd71e4),'sheetID':_0x48ec2e,'color':this['_colorAssignService'][_0x3690a3(0x25f)](_0x4e6b8e),'selection':_0x583538},_0x1e32b9=this['cursorInfo'];_0x1e32b9[_0x3690a3(0x44b)](_0x4e6b8e,_0x285afe),this[_0x3690a3(0x62e)][_0x3690a3(0x2d0)](_0x1e32b9);}[_0xd21782(0x381)](_0x29849d){const _0x1fa898=_0xd21782,{memberID:_0x3a97c8}=_0x29849d[_0x1fa898(0x325)],_0x3e2039=this['cursorInfo'];_0x3e2039[_0x1fa898(0x18e)](_0x3a97c8),this[_0x1fa898(0x62e)][_0x1fa898(0x2d0)](_0x3e2039);}['_getMergeRange'](_0x7d57ad,_0x58a21e){const _0xdd4654=_0xd21782;var _0x565c13,_0x346313;const _0x2498da=(_0x346313=(_0x565c13=this['_univerInstanceService'][_0xdd4654(0x250)](this[_0xdd4654(0x33d)]))==null?void 0x0:_0x565c13[_0xdd4654(0x551)](_0x7d57ad))==null?void 0x0:_0x346313[_0xdd4654(0x3e7)]();return(_0x2498da==null?void 0x0:_0x2498da[_0xdd4654(0x234)](_0x18f88e=>_0x33b6e0[_0xdd4654(0x57f)][_0xdd4654(0x56c)](_0x18f88e,_0x58a21e)))||_0x58a21e;}['_onRefRangeChange'](){const _0x3f85dc=_0xd21782,_0x454aaf=new _0x33b6e0[(_0x3f85dc(0x27f))](),_0x3e28c3=_0x1cdea8(),_0xc4bf0f=()=>{const _0x1903f2=_0x3f85dc;_0x454aaf[_0x1903f2(0x214)]();const _0x563a07=(_0x51ead5,_0x226f1d,_0xa9bc35,_0x2cc3e0)=>{const _0x20519c=_0x1903f2;let _0x5d3a4f=[];switch(_0x51ead5['id']){case _0x3f2383[_0x20519c(0x276)][_0x20519c(0x4f5)]:{_0x5d3a4f=_0x3f2383['handleDeleteRangeMoveLeft'](_0x51ead5,_0x2cc3e0);break;}case _0x3f2383[_0x20519c(0x276)][_0x20519c(0x470)]:{_0x5d3a4f=_0x3f2383[_0x20519c(0x410)](_0x51ead5,_0x2cc3e0);break;}case _0x3f2383[_0x20519c(0x276)][_0x20519c(0x37d)]:{_0x5d3a4f=_0x3f2383[_0x20519c(0x2dc)](_0x51ead5,_0x2cc3e0);break;}case _0x3f2383[_0x20519c(0x276)]['InsertRangeMoveDownCommandId']:{_0x5d3a4f=_0x3f2383[_0x20519c(0x231)](_0x51ead5,_0x2cc3e0);break;}case _0x3f2383[_0x20519c(0x276)]['InsertRangeMoveRightCommandId']:{_0x5d3a4f=_0x3f2383['handleInsertRangeMoveRight'](_0x51ead5,_0x2cc3e0);break;}case _0x3f2383[_0x20519c(0x276)][_0x20519c(0x5e9)]:{_0x5d3a4f=_0x3f2383[_0x20519c(0x17b)](_0x51ead5,_0x2cc3e0);break;}case _0x3f2383[_0x20519c(0x276)][_0x20519c(0x47c)]:{_0x5d3a4f=_0x3f2383[_0x20519c(0x5d9)](_0x51ead5,_0x2cc3e0);break;}case _0x3f2383[_0x20519c(0x276)][_0x20519c(0x490)]:{_0x5d3a4f=_0x3f2383[_0x20519c(0x2e1)](_0x51ead5,_0x2cc3e0);break;}case _0x3f2383['EffectRefRangId'][_0x20519c(0x4da)]:{_0x5d3a4f=_0x3f2383[_0x20519c(0x3c9)](_0x51ead5,_0x2cc3e0);break;}}const _0x58bf0e=_0x3f2383['runRefRangeMutations'](_0x5d3a4f,_0x2cc3e0),_0x42f482=this[_0x20519c(0x1a6)][_0x20519c(0x3c8)](_0x226f1d);if(_0x42f482&&_0x58bf0e){const _0x27635a={..._0x42f482,'range':_0x58bf0e};this['cursorInfo']['set'](_0x226f1d,_0x27635a),_0x3e28c3(()=>{const _0x5bdd70=_0x20519c,_0x42708c=this[_0x5bdd70(0x326)]['registerRefRange'](_0x58bf0e,_0x374b88=>(_0x42708c['dispose'](),_0x563a07(_0x374b88,_0x226f1d,_0xa9bc35,_0x58bf0e)));_0x454aaf[_0x5bdd70(0x29f)](_0x42708c);});}return{'redos':[],'undos':[]};};this[_0x1903f2(0x1a6)]['forEach']((_0x30f3f5,_0x34573c)=>{const _0x47fd12=_0x1903f2,{range:_0x3b9494,sheetID:_0x5b760f}=_0x30f3f5,_0x5a1e24=this[_0x47fd12(0x326)]['registerRefRange'](_0x3b9494,_0x3db568=>(_0x5a1e24[_0x47fd12(0x214)](),_0x563a07(_0x3db568,_0x34573c,_0x5b760f,_0x3b9494)));_0x454aaf[_0x47fd12(0x29f)](_0x5a1e24);});};this[_0x3f85dc(0x3d8)](_0x33b6e0[_0x3f85dc(0x318)](this['_cursorInfo$'][_0x3f85dc(0x306)](()=>{_0xc4bf0f();})));}[_0xd21782(0x40e)](){const _0x42dcf4=_0xd21782;var _0x2628a2,_0x5ea121;if(this[_0x42dcf4(0x5c4)]=!0x0,((_0x2628a2=this['_univerInstanceService'][_0x42dcf4(0x339)]())==null?void 0x0:_0x2628a2[_0x42dcf4(0x292)]())!==this[_0x42dcf4(0x33d)])return;const _0xd34b95=(_0x5ea121=this[_0x42dcf4(0x54d)][_0x42dcf4(0x3c8)](_0x3f2383[_0x42dcf4(0x2ae)])[_0x42dcf4(0x1c2)]())==null?void 0x0:_0x5ea121[0x0],_0x16bbf1=this[_0x42dcf4(0x40b)][_0x42dcf4(0x474)](_0x33b6e0[_0x42dcf4(0x2c1)]['UNIVER_SHEET'])[_0x42dcf4(0x3f3)]();_0xd34b95&&_0x16bbf1&&this[_0x42dcf4(0x2d1)](_0x16bbf1[_0x42dcf4(0x1ba)](),_0xd34b95);}[_0xd21782(0x61b)](){const _0x1f9b2a=_0xd21782;this[_0x1f9b2a(0x5c4)]=!0x1;}};_0x4aca56=_0x5ae6bd([_0x52f8d8(0x2,_0x33b6e0['Inject'](_0x33b6e0[_0xd21782(0x2de)])),_0x52f8d8(0x3,_0x33b6e0[_0xd21782(0x2d5)](_0x522759)),_0x52f8d8(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6['MemberService'])),_0x52f8d8(0x5,_0x33b6e0[_0xd21782(0x5a9)]),_0x52f8d8(0x6,_0x33b6e0['ICommandService']),_0x52f8d8(0x7,_0x33b6e0[_0xd21782(0x2d5)](_0x3f2383[_0xd21782(0x579)]))],_0x4aca56);var _0x26fa12=Object['defineProperty'],_0x494027=Object[_0xd21782(0x52e)],_0x5ada94=(_0x33c6ef,_0x2fdf12,_0x4dbb3c,_0x21b10e)=>{const _0x2f121a=_0xd21782;for(var _0x4e6692=_0x21b10e>0x1?void 0x0:_0x21b10e?_0x494027(_0x2fdf12,_0x4dbb3c):_0x2fdf12,_0x2ba263=_0x33c6ef[_0x2f121a(0x39d)]-0x1,_0x29eee9;_0x2ba263>=0x0;_0x2ba263--)(_0x29eee9=_0x33c6ef[_0x2ba263])&&(_0x4e6692=(_0x21b10e?_0x29eee9(_0x2fdf12,_0x4dbb3c,_0x4e6692):_0x29eee9(_0x4e6692))||_0x4e6692);return _0x21b10e&&_0x4e6692&&_0x26fa12(_0x2fdf12,_0x4dbb3c,_0x4e6692),_0x4e6692;},_0x59ffdb=(_0x4b5cfb,_0x1e173d)=>(_0x2dba1b,_0x432e4a)=>_0x1e173d(_0x2dba1b,_0x432e4a,_0x4b5cfb);let _0x290ad7=class extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(_0x1021c8,_0x2380d2,_0x106187){const _0x1aac56=_0xd21782;super(),_0x398ae0(this,_0x1aac56(0x2d7),new Map()),_0x398ae0(this,_0x1aac56(0x547),new _0x382682[(_0x1aac56(0x1e0))]()),(this[_0x1aac56(0x40b)]=_0x1021c8,this['_injector']=_0x2380d2,this['_collabSessionService']=_0x106187,this[_0x1aac56(0x323)]());}['dispose'](){const _0x58c3c4=_0xd21782;super[_0x58c3c4(0x214)](),this[_0x58c3c4(0x547)][_0x58c3c4(0x242)](),this[_0x58c3c4(0x2d7)][_0x58c3c4(0x4b3)](_0x2c14a3=>_0x2c14a3[_0x58c3c4(0x214)]());}['getCollabCursors$'](_0x8da985){const _0xc050d3=_0xd21782;return this[_0xc050d3(0x2d7)][_0xc050d3(0x4c6)](_0x8da985)?this[_0xc050d3(0x2d7)][_0xc050d3(0x3c8)](_0x8da985)['cursorInfo$']:this[_0xc050d3(0x547)][_0xc050d3(0x3d3)](_0x382682[_0xc050d3(0x40f)](_0x2cdda3=>_0x2cdda3['unitID']===_0x8da985),_0x382682[_0xc050d3(0x426)](_0x642d1f=>_0x642d1f[_0xc050d3(0x246)]));}[_0xd21782(0x323)](){const _0x315ebc=_0xd21782;this['_univerInstanceService'][_0x315ebc(0x181)](_0x33b6e0['UniverInstanceType'][_0x315ebc(0x23c)])[_0x315ebc(0x3d3)](_0x382682[_0x315ebc(0x45a)](this[_0x315ebc(0x472)]))['subscribe'](async _0x5c4f86=>{const _0x2ff78f=_0x315ebc,_0x38b29b=_0x5c4f86[_0x2ff78f(0x292)](),_0xd0b2eb=await this['_startSheetCollabCursor'](_0x38b29b);this['_entityInit$'][_0x2ff78f(0x2d0)](_0xd0b2eb),this[_0x2ff78f(0x2d7)][_0x2ff78f(0x44b)](_0x38b29b,_0xd0b2eb);}),this['_univerInstanceService'][_0x315ebc(0x181)](_0x33b6e0['UniverInstanceType']['UNIVER_DOC'])[_0x315ebc(0x3d3)](_0x382682[_0x315ebc(0x45a)](this[_0x315ebc(0x472)]))['pipe'](_0x382682[_0x315ebc(0x40f)](_0x231753=>!_0x231753[_0x315ebc(0x292)]()['startsWith']('__')))[_0x315ebc(0x306)](async _0x5d8f16=>{const _0x25bb40=_0x315ebc,_0x2e3fc0=_0x5d8f16[_0x25bb40(0x292)](),_0x5bd7a3=await this[_0x25bb40(0x61c)](_0x2e3fc0);this[_0x25bb40(0x547)][_0x25bb40(0x2d0)](_0x5bd7a3),this[_0x25bb40(0x2d7)][_0x25bb40(0x44b)](_0x2e3fc0,_0x5bd7a3);}),_0x382682[_0x315ebc(0x3ab)](this[_0x315ebc(0x40b)]['getTypeOfUnitDisposed$'](_0x33b6e0['UniverInstanceType'][_0x315ebc(0x237)]),this[_0x315ebc(0x40b)]['getTypeOfUnitDisposed$'](_0x33b6e0['UniverInstanceType']['UNIVER_SHEET']))[_0x315ebc(0x3d3)](_0x382682[_0x315ebc(0x45a)](this[_0x315ebc(0x472)]))['subscribe'](_0x2abaf9=>{const _0x4722bc=_0x315ebc,_0x5dd8ef=_0x2abaf9[_0x4722bc(0x292)](),_0x1d3d2b=this[_0x4722bc(0x2d7)][_0x4722bc(0x3c8)](_0x5dd8ef);_0x1d3d2b&&(_0x1d3d2b[_0x4722bc(0x214)](),this[_0x4722bc(0x2d7)][_0x4722bc(0x18e)](_0x5dd8ef));});}async['_startSheetCollabCursor'](_0x806933){const _0x5eafec=_0xd21782,_0x29d672=await this['_collabSessionService'][_0x5eafec(0x22f)](_0x806933),_0x450cfe=this[_0x5eafec(0x54d)][_0x5eafec(0x27d)](_0x4aca56,_0x806933,_0x29d672);return _0x450cfe[_0x5eafec(0x2e5)](),_0x450cfe;}async[_0xd21782(0x61c)](_0x14081e){const _0x365b9f=_0xd21782,_0x32afa1=await this['_collabSessionService']['requireSession'](_0x14081e),_0xcf8e75=this['_injector'][_0x365b9f(0x27d)](_0x97d318,_0x14081e,_0x32afa1);return _0xcf8e75[_0x365b9f(0x2e5)](),_0xcf8e75;}};_0x290ad7=_0x5ada94([_0x59ffdb(0x0,_0x33b6e0['IUniverInstanceService']),_0x59ffdb(0x1,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0x59ffdb(0x2,_0x33b6e0['Inject'](_0x2e54f6[_0xd21782(0x233)]))],_0x290ad7);const _0x41e18e=0x14,_0x54358b=0xc8,_0x48b21e=0x4,_0x5c820e=0x5;function _0x511e52(_0xf2bccf,_0x7cf0b0){const _0x26cf5e=_0xd21782;let {radius:_0xb5d40c,width:_0x3a7d9c,height:_0x5ec233}=_0x7cf0b0;_0xb5d40c=_0xb5d40c!=null?_0xb5d40c:0x0,_0x3a7d9c=_0x3a7d9c!=null?_0x3a7d9c:0x1e,_0x5ec233=_0x5ec233!=null?_0x5ec233:0x1e;let _0x2b2724=0x0,_0x1c7e84=0x0,_0x4e2a8d=0x0;_0x2b2724=_0x1c7e84=_0x4e2a8d=Math[_0x26cf5e(0x22d)](_0xb5d40c,_0x3a7d9c/0x2,_0x5ec233/0x2),_0xf2bccf[_0x26cf5e(0x483)](),_0xf2bccf['moveTo'](_0x2b2724,0x0),_0xf2bccf[_0x26cf5e(0x3ba)](_0x3a7d9c-_0x1c7e84,0x0),_0xf2bccf[_0x26cf5e(0x2f1)](_0x3a7d9c-_0x1c7e84,_0x1c7e84,_0x1c7e84,Math['PI']*0x3/0x2,0x0,!0x1),_0xf2bccf[_0x26cf5e(0x3ba)](_0x3a7d9c,_0x5ec233-_0x4e2a8d),_0xf2bccf[_0x26cf5e(0x2f1)](_0x3a7d9c-_0x4e2a8d,_0x5ec233-_0x4e2a8d,_0x4e2a8d,0x0,Math['PI']/0x2,!0x1),_0xf2bccf[_0x26cf5e(0x3ba)](0x0,_0x5ec233),_0xf2bccf['lineTo'](0x0,_0x2b2724),_0xf2bccf[_0x26cf5e(0x2f1)](_0x2b2724,_0x2b2724,_0x2b2724,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf2bccf[_0x26cf5e(0x487)](),_0x7cf0b0[_0x26cf5e(0x43d)]&&(_0xf2bccf['save'](),_0xf2bccf['fillStyle']=_0x7cf0b0[_0x26cf5e(0x43d)],_0x7cf0b0[_0x26cf5e(0x248)]===_0x26cf5e(0x1df)?_0xf2bccf[_0x26cf5e(0x43d)]('evenodd'):_0xf2bccf[_0x26cf5e(0x43d)](),_0xf2bccf[_0x26cf5e(0x397)]());}class _0xbeaa5f extends _0x1db1e9[_0xd21782(0x377)]{constructor(_0x5e5b4e,_0x45b5e7){const _0x1609cc=_0xd21782;super(_0x5e5b4e,_0x45b5e7),_0x398ae0(this,_0x1609cc(0x2b9)),_0x398ae0(this,_0x1609cc(0x1b7)),(this['color']=_0x45b5e7==null?void 0x0:_0x45b5e7[_0x1609cc(0x2b9)],this[_0x1609cc(0x1b7)]=_0x45b5e7==null?void 0x0:_0x45b5e7[_0x1609cc(0x1b7)]);}static[_0xd21782(0x5f2)](_0x267c09,_0x2818cb){const _0x62f5e5=_0xd21782,{text:_0x53c94c,color:_0x593f67}=_0x2818cb;_0x267c09[_0x62f5e5(0x253)](),_0x267c09[_0x62f5e5(0x370)]=_0x62f5e5(0x20f);const _0x2f9f17=_0x267c09[_0x62f5e5(0x52a)](_0x53c94c)[_0x62f5e5(0x2b7)],_0x148787=Math['min'](_0x2f9f17+0x2*_0x48b21e,_0x54358b);_0x511e52(_0x267c09,{'height':_0x41e18e,'radius':0x4,'width':_0x148787,'fill':_0x593f67,'evented':!0x1}),_0x267c09['fillStyle']=_0x62f5e5(0x265);const _0x5a733b=_0x48b21e,_0x11ce85=_0x41e18e-_0x5c820e,_0x5c67d4=_0x54358b-0x2*_0x48b21e;if(_0x2f9f17>_0x5c67d4){let _0x1fe872='',_0x571017=0x0;for(const _0x38b4e0 of _0x53c94c){const _0x381ae3=_0x267c09[_0x62f5e5(0x52a)](_0x38b4e0)[_0x62f5e5(0x2b7)];if(_0x571017+_0x381ae3<=_0x5c67d4-_0x267c09[_0x62f5e5(0x52a)](_0x62f5e5(0x24c))[_0x62f5e5(0x2b7)])_0x1fe872+=_0x38b4e0,_0x571017+=_0x381ae3;else{_0x1fe872+='...';break;}}_0x267c09[_0x62f5e5(0x4d6)](_0x1fe872,_0x5a733b,_0x11ce85);}else _0x267c09['fillText'](_0x53c94c,_0x5a733b,_0x11ce85);_0x267c09[_0x62f5e5(0x397)]();}[_0xd21782(0x51f)](_0x185b65){const _0xed4684=_0xd21782;_0xbeaa5f[_0xed4684(0x5f2)](_0x185b65,this);}}const _0x39ddab='collab-text-anchor-',_0x569839=_0xd21782(0x19d),_0x5ad49a='collab-rect-range-',_0x57e584=0x6,_0x25677c=1.5,_0x19de6c=0x4,_0x294372=1.5,_0x13f8af='rgba(255,\x20255,\x20255,\x200.01)';class _0x530ea8{constructor(_0x4878fc,_0x209066,_0x4e5c56,_0x4774f6){const _0x204c52=_0xd21782;_0x398ae0(this,_0x204c52(0x4a6),[]),_0x398ae0(this,_0x204c52(0x5fb),null),_0x398ae0(this,_0x204c52(0x492),null),_0x398ae0(this,_0x204c52(0x3ad),null),_0x398ae0(this,_0x204c52(0x5ec),null),_0x398ae0(this,_0x204c52(0x605),null),(this[_0x204c52(0x5c6)]=_0x4878fc,this[_0x204c52(0x2a1)]=_0x209066,this['_docSkeleton']=_0x4e5c56,this['_document']=_0x4774f6,this[_0x204c52(0x2ac)]());}set['_hover'](_0x2a52ad){const _0x5a4c51=_0xd21782;_0x2a52ad?(this['_anchorDot']&&this[_0x5a4c51(0x3ad)]['hide'](),this[_0x5a4c51(0x492)]&&this['_textBubble'][_0x5a4c51(0x31e)]()):(this[_0x5a4c51(0x3ad)]&&this[_0x5a4c51(0x3ad)][_0x5a4c51(0x31e)](),this['_textBubble']&&this[_0x5a4c51(0x492)][_0x5a4c51(0x434)]());}[_0xd21782(0x214)](){const _0xade99c=_0xd21782;for(const _0x407005 of this[_0xade99c(0x4a6)])_0x407005[_0xade99c(0x214)]();this[_0xade99c(0x492)]&&this[_0xade99c(0x492)]['dispose'](),this[_0xade99c(0x3ad)]&&this[_0xade99c(0x3ad)][_0xade99c(0x214)](),this['_anchor']&&this[_0xade99c(0x5fb)][_0xade99c(0x214)](),this[_0xade99c(0x605)]&&this[_0xade99c(0x605)]();}['_render'](){const _0x3b9e61=_0xd21782;var _0xbe4fc0;const {_docSkeleton:_0x3e591a,_document:_0x5f0fb4}=this,{color:_0x1b32ca,name:_0x540da1,ranges:_0x1bc9cf}=this['_cursor'],_0x1b1c48=_0x5f0fb4[_0x3b9e61(0x401)](),{docsLeft:_0x5600bb,docsTop:_0x457170}=_0x1b1c48,_0x19f82e=new _0x52f834['NodePositionConvertToCursor'](_0x1b1c48,_0x3e591a);for(const {startOffset:_0x5f1759,endOffset:_0x3e1e58,rangeType:_0x5c366a,segmentId:_0x1ae6df,segmentPage:_0xcd966c,collapsed:_0x37ed28,isActive:_0x1e0901}of _0x1bc9cf){const _0x2c7149=_0x3e591a['findNodePositionByCharIndex'](_0x5f1759,!0x0,_0x1ae6df,_0xcd966c);let _0x549352=_0x3e591a[_0x3b9e61(0x22c)](_0x3e1e58,!0x0,_0x1ae6df,_0xcd966c);if(_0x549352==null&&(_0x549352=_0x3e591a[_0x3b9e61(0x22c)](_0x3e1e58-0x1,!0x1,_0x1ae6df,_0xcd966c)),_0x1e0901){const {contentBoxPointGroup:_0x12c2db}=_0x19f82e[_0x3b9e61(0x185)](_0x549352,_0x549352);if(_0x12c2db[_0x3b9e61(0x39d)]===0x0)continue;this[_0x3b9e61(0x58a)](_0x1b32ca,_0x12c2db,_0x5600bb,_0x457170,_0x540da1),this[_0x3b9e61(0x605)]=this[_0x3b9e61(0x44c)]();}if(!_0x37ed28&&_0x2c7149&&_0x549352){if(_0x5c366a===_0x33b6e0[_0x3b9e61(0x192)][_0x3b9e61(0x2e9)]){const _0x5d8972=new _0x52f834[(_0x3b9e61(0x4cb))](_0x1b1c48,_0x3e591a),{pointGroup:_0xe17396}=(_0xbe4fc0=_0x5d8972[_0x3b9e61(0x185)](_0x2c7149,_0x549352))!=null?_0xbe4fc0:{};if(_0xe17396==null||_0xe17396['length']===0x0)continue;this[_0x3b9e61(0x2bf)](_0x1b32ca,_0xe17396,_0x5600bb,_0x457170);}else{const {borderBoxPointGroup:_0x33d439}=_0x19f82e['getRangePointData'](_0x2c7149,_0x549352);if(_0x33d439['length']===0x0)continue;this['_drawTextRange'](_0x1b32ca,_0x33d439,_0x5600bb,_0x457170);}}}}[_0xd21782(0x58a)](_0x746c0f,_0x98863c,_0x52dc27,_0x383884,_0x26ebf2){const _0x1e0832=_0xd21782,_0x4d605b=this[_0x1e0832(0x4c0)](_0x98863c),{left:_0x3551f5,top:_0x1f27ba,height:_0xf0160d}=_0x4d605b,_0x58b6e8=this['_getScale'](),_0x4edfe8=_0x294372/_0x58b6e8,_0x33748e=new _0x1db1e9['Rect'](_0x39ddab+_0x33b6e0[_0x1e0832(0x270)][_0x1e0832(0x1b8)](_0x57e584),{'left':_0x3551f5+_0x52dc27-_0x4edfe8,'top':_0x1f27ba+_0x383884,'height':_0xf0160d,'width':_0x25677c,'fill':_0x746c0f||_0x1db1e9['getColor'](_0x33b6e0[_0x1e0832(0x189)]['black'],0x0),'strokeWidth':_0x4edfe8,'stroke':_0x13f8af,'evented':!0x0});this[_0x1e0832(0x5fb)]=_0x33748e,this[_0x1e0832(0x2a1)][_0x1e0832(0x3e8)](_0x33748e,_0x52f834[_0x1e0832(0x26e)]);const _0x4210b3=new _0x1db1e9[(_0x1e0832(0x562))](_0x39ddab+_0x33b6e0[_0x1e0832(0x270)][_0x1e0832(0x1b8)](_0x57e584),{'left':_0x3551f5+_0x52dc27-_0x4edfe8,'top':_0x1f27ba+_0x383884-_0x19de6c/0x2,'height':_0x19de6c,'width':_0x19de6c,'fill':_0x746c0f||_0x1db1e9[_0x1e0832(0x4ed)](_0x33b6e0[_0x1e0832(0x189)][_0x1e0832(0x50f)],0x0),'strokeWidth':0x0,'stroke':_0x746c0f||_0x1db1e9['getColor'](_0x33b6e0[_0x1e0832(0x189)]['black'],0x0),'evented':!0x1});this[_0x1e0832(0x3ad)]=_0x4210b3,this['_scene']['addObject'](_0x4210b3,_0x52f834['TEXT_RANGE_LAYER_INDEX']);const _0x29d9d0=new _0xbeaa5f(_0x39ddab+_0x33b6e0[_0x1e0832(0x270)]['generateRandomId'](_0x57e584),{'left':_0x3551f5+_0x52dc27-_0x4edfe8,'top':_0x1f27ba+_0x383884-_0x41e18e,'text':_0x26ebf2,'color':_0x746c0f});this[_0x1e0832(0x492)]=_0x29d9d0,this[_0x1e0832(0x2a1)][_0x1e0832(0x3e8)](_0x29d9d0,_0x52f834[_0x1e0832(0x26e)]),this[_0x1e0832(0x467)]=!0x1;}[_0xd21782(0x44c)](){const _0x142206=_0xd21782,_0x341803=this[_0x142206(0x5fb)]['onPointerEnter$'][_0x142206(0x49a)](()=>{const _0xc10eb3=_0x142206;this[_0xc10eb3(0x467)]=!0x0;}),_0x1a5f5e=this[_0x142206(0x5fb)][_0x142206(0x4de)]['subscribeEvent'](()=>{const _0x48fa65=_0x142206;this['_hideTimer']&&clearTimeout(this[_0x48fa65(0x5ec)]),this[_0x48fa65(0x5ec)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x43e41f=_0x142206;_0x341803[_0x43e41f(0x488)](),_0x1a5f5e[_0x43e41f(0x488)]();};}[_0xd21782(0x4e0)](_0x8dd849,_0x48a16f,_0x84d80b,_0x17537a){const _0x1e4862=_0xd21782,_0x591901=new _0x33b6e0[(_0x1e4862(0x255))](_0x8dd849)[_0x1e4862(0x427)](0.2)[_0x1e4862(0x507)](),_0x22bd95=new _0x1db1e9[(_0x1e4862(0x3f9))](_0x569839+_0x33b6e0[_0x1e4862(0x270)][_0x1e4862(0x1b8)](_0x57e584),{'pointsGroup':_0x48a16f,'fill':_0x591901||_0x1db1e9[_0x1e4862(0x4ed)](_0x33b6e0[_0x1e4862(0x189)][_0x1e4862(0x50f)],0.2),'left':_0x84d80b,'top':_0x17537a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1e4862(0x4a6)]['push'](_0x22bd95),this[_0x1e4862(0x2a1)]['addObject'](_0x22bd95,_0x52f834['TEXT_RANGE_LAYER_INDEX']);}[_0xd21782(0x2bf)](_0x5a16a2,_0x33c7d2,_0x4959ae,_0x85a040){const _0x4798f0=_0xd21782,_0x97a95e=new _0x33b6e0[(_0x4798f0(0x255))](_0x5a16a2)['setAlpha'](0.2)[_0x4798f0(0x507)](),_0x403c89=new _0x1db1e9[(_0x4798f0(0x3f9))](_0x5ad49a+_0x33b6e0[_0x4798f0(0x270)]['generateRandomId'](_0x57e584),{'pointsGroup':_0x33c7d2,'fill':_0x97a95e||_0x1db1e9[_0x4798f0(0x4ed)](_0x33b6e0[_0x4798f0(0x189)]['black'],0.2),'left':_0x4959ae,'top':_0x85a040,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4798f0(0x4a6)][_0x4798f0(0x42a)](_0x403c89),this[_0x4798f0(0x2a1)]['addObject'](_0x403c89,_0x52f834[_0x4798f0(0x26e)]);}[_0xd21782(0x4c0)](_0x417e9a){const _0x1e2945=_0x417e9a[0x0],_0x44f670=_0x1e2945[0x0],_0x61ec63=_0x1e2945[0x2],{x:_0x1dcc62,y:_0x3fc00d}=_0x44f670,{x:_0x2b3691,y:_0x5c02fe}=_0x61ec63;return{'left':_0x1dcc62,'top':_0x3fc00d,'width':_0x2b3691-_0x1dcc62,'height':_0x5c02fe-_0x3fc00d};}[_0xd21782(0x409)](){const _0x3e60b2=_0xd21782,{scaleX:_0x7d229f,scaleY:_0x4bc5f4}=this[_0x3e60b2(0x2a1)][_0x3e60b2(0x2df)]();return Math[_0x3e60b2(0x25c)](_0x7d229f,_0x4bc5f4);}}var _0x15e909=Object[_0xd21782(0x407)],_0x3c0a65=Object[_0xd21782(0x52e)],_0x447b37=(_0x414bcd,_0x2c5f2b,_0x8a96b,_0x222555)=>{for(var _0x3b8bca=_0x222555>0x1?void 0x0:_0x222555?_0x3c0a65(_0x2c5f2b,_0x8a96b):_0x2c5f2b,_0x1adbaa=_0x414bcd['length']-0x1,_0x43f921;_0x1adbaa>=0x0;_0x1adbaa--)(_0x43f921=_0x414bcd[_0x1adbaa])&&(_0x3b8bca=(_0x222555?_0x43f921(_0x2c5f2b,_0x8a96b,_0x3b8bca):_0x43f921(_0x3b8bca))||_0x3b8bca);return _0x222555&&_0x3b8bca&&_0x15e909(_0x2c5f2b,_0x8a96b,_0x3b8bca),_0x3b8bca;},_0x34f69d=(_0x57e81e,_0x4d51af)=>(_0x5b62ad,_0x1e3092)=>_0x4d51af(_0x5b62ad,_0x1e3092,_0x57e81e);let _0x23312d=class extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(_0x2d6028,_0x3f517a,_0x397ed2,_0x356188,_0x16dedd){const _0x60f4ea=_0xd21782;super(),_0x398ae0(this,'_cursorShapes',[]),_0x398ae0(this,'_cursors',[]),(this[_0x60f4ea(0x498)]=_0x2d6028,this[_0x60f4ea(0x394)]=_0x3f517a,this['_collabCursorController']=_0x397ed2,this[_0x60f4ea(0x496)]=_0x356188,this[_0x60f4ea(0x33a)]=_0x16dedd,this[_0x60f4ea(0x323)]());}[_0xd21782(0x323)](){const _0xd20f60=_0xd21782,_0x1fcd12=this[_0xd20f60(0x498)][_0xd20f60(0x1c6)],_0x40c7eb=this['_docSkeletonManagerService'];this[_0xd20f60(0x3d8)](_0x382682[_0xd20f60(0x4ac)]([this[_0xd20f60(0x516)]['getCollabCursors$'](_0x1fcd12),this[_0xd20f60(0x33a)][_0xd20f60(0x212)]])[_0xd20f60(0x3d3)](_0x52ded5[_0xd20f60(0x1f8)](([_0x56e885,_0x39d36d])=>({'skeleton':_0x40c7eb['getSkeleton'](),'cursors':[..._0x56e885[_0xd20f60(0x2fb)]()]['flatMap'](_0x13df4a=>({..._0x13df4a,'color':_0x39d36d[_0x13df4a[_0xd20f60(0x2b9)]]}))})))[_0xd20f60(0x306)](_0x22fc09=>{const _0x3b1215=_0xd20f60;if(this[_0x3b1215(0x3de)](),_0x22fc09){const {skeleton:_0x2dff61,cursors:_0x3202c6}=_0x22fc09;this[_0x3b1215(0x33f)](_0x2dff61,_0x3202c6);}})),this[_0xd20f60(0x5db)](),this[_0xd20f60(0x36b)]();}[_0xd21782(0x33f)](_0x3234cb,_0x4beb3b){const _0x1ac82f=_0xd21782,{scene:_0x3d04b9,mainComponent:_0x166ffe}=this[_0x1ac82f(0x498)],_0x98aca2=_0x4beb3b[_0x1ac82f(0x1f8)](_0x4cc45e=>new _0x530ea8(_0x4cc45e,_0x3d04b9,_0x3234cb,_0x166ffe));this['_cursorShapes']=_0x98aca2,this[_0x1ac82f(0x617)]=_0x4beb3b;}[_0xd21782(0x3be)](){const _0x40dc46=_0xd21782;this[_0x40dc46(0x3de)]();const {scene:_0x134d5f,mainComponent:_0x5d78c2}=this['_context'],_0x4138b1=this[_0x40dc46(0x394)]['getSkeleton'](),_0x53ca6a=this[_0x40dc46(0x617)]['map'](_0x360cab=>new _0x530ea8(_0x360cab,_0x134d5f,_0x4138b1,_0x5d78c2));this[_0x40dc46(0x5c3)]=_0x53ca6a;}[_0xd21782(0x3de)](){const _0x130134=_0xd21782;this[_0x130134(0x5c3)][_0x130134(0x4b3)](_0x99c9ed=>_0x99c9ed[_0x130134(0x214)]()),this[_0x130134(0x5c3)]=[];}['_initCommandExecutedListener'](){const _0x3dc5bb=_0xd21782,_0x259008=[_0x52f834[_0x3dc5bb(0x4f7)]['id']];this[_0x3dc5bb(0x3d8)](this['_commandService'][_0x3dc5bb(0x540)](_0x1013a1=>{const _0x130237=_0x3dc5bb;_0x259008[_0x130237(0x29b)](_0x1013a1['id'])&&_0x1013a1['params'][_0x130237(0x1c6)]===this[_0x130237(0x498)][_0x130237(0x1c6)]&&this[_0x130237(0x3be)]();}));}['_initResize'](){const _0xf84a1=_0xd21782;this['disposeWithMe'](_0x33b6e0[_0xf84a1(0x39f)](this[_0xf84a1(0x498)][_0xf84a1(0x34a)][_0xf84a1(0x544)])[_0xf84a1(0x3d3)](_0x52ded5[_0xf84a1(0x40f)](_0x181cf8=>_0x181cf8[_0xf84a1(0x601)]===_0x1db1e9[_0xf84a1(0x5c7)][_0xf84a1(0x2ec)]),_0x52ded5[_0xf84a1(0x1d8)](0x10))[_0xf84a1(0x306)](()=>{const _0x518444=_0xf84a1;this[_0x518444(0x3be)]();}));}};_0x23312d=_0x447b37([_0x34f69d(0x1,_0x33b6e0[_0xd21782(0x2d5)](_0x55f083['DocSkeletonManagerService'])),_0x34f69d(0x2,_0x33b6e0[_0xd21782(0x2d5)](_0x290ad7)),_0x34f69d(0x3,_0x33b6e0[_0xd21782(0x45c)]),_0x34f69d(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x604)]))],_0x23312d);const _0x2fb7be=0x1,_0x344648=1.5;class _0xf96631 extends _0x1db1e9[_0xd21782(0x377)]{constructor(_0x4566e3,_0x1e1494){const _0x4e2584=_0xd21782;super(_0x4566e3,_0x1e1494),_0x398ae0(this,_0x4e2584(0x491)),_0x398ae0(this,'_hovered',!0x1),_0x398ae0(this,'_range'),_0x398ae0(this,'_name',''),_0x398ae0(this,_0x4e2584(0x620),'top'),_0x398ae0(this,_0x4e2584(0x513)),(_0x1e1494&&this[_0x4e2584(0x1a9)](_0x1e1494),this[_0x4e2584(0x428)][_0x4e2584(0x49a)](()=>this[_0x4e2584(0x1a9)]({'hovered':!0x0})),this[_0x4e2584(0x4de)][_0x4e2584(0x49a)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xd21782(0x1a9)](_0x57d95f){const _0x409319=_0xd21782;var _0x308c7f,_0x27dc3,_0x215592,_0x4783f0,_0x38365,_0x5a926c;this[_0x409319(0x491)]=(_0x308c7f=_0x57d95f[_0x409319(0x2b9)])!=null?_0x308c7f:this['_color'],this[_0x409319(0x5a5)]=(_0x27dc3=_0x57d95f[_0x409319(0x22a)])!=null?_0x27dc3:this['_hovered'],this[_0x409319(0x556)]=(_0x215592=_0x57d95f[_0x409319(0x2f3)])!=null?_0x215592:this[_0x409319(0x556)],this[_0x409319(0x29c)]=(_0x4783f0=_0x57d95f[_0x409319(0x30d)])!=null?_0x4783f0:this[_0x409319(0x29c)],this[_0x409319(0x620)]=(_0x38365=_0x57d95f[_0x409319(0x1e2)])!=null?_0x38365:this[_0x409319(0x620)],this[_0x409319(0x513)]=(_0x5a926c=_0x57d95f[_0x409319(0x5b7)])!=null?_0x5a926c:this[_0x409319(0x513)],this['transformByState']({'width':_0x57d95f[_0x409319(0x2b7)],'height':_0x57d95f[_0x409319(0x27a)]});}[_0xd21782(0x5fe)](_0x5aa095){const _0x4396e7=_0xd21782,{row:_0x3ee0fe,column:_0x4516fa}=_0x5aa095;if(_0x3ee0fe>=this[_0x4396e7(0x556)][_0x4396e7(0x2c2)]&&_0x3ee0fe<=this[_0x4396e7(0x556)][_0x4396e7(0x296)]&&_0x4516fa>=this[_0x4396e7(0x556)][_0x4396e7(0x4e2)]&&_0x4516fa<=this[_0x4396e7(0x556)][_0x4396e7(0x537)]){this[_0x4396e7(0x1a9)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xd21782(0x4b1)](_0x456c6f){return!0x1;}[_0xd21782(0x51f)](_0x49d0a7){const _0x21cdcc=_0xd21782;_0x1db1e9[_0x21cdcc(0x562)][_0x21cdcc(0x5f2)](_0x49d0a7,{'width':this[_0x21cdcc(0x2b7)],'height':this[_0x21cdcc(0x27a)],'strokeWidth':_0x344648,'stroke':this[_0x21cdcc(0x491)],'evented':!0x1,'fill':this[_0x21cdcc(0x513)]}),this['_hovered']&&(_0x49d0a7['save'](),_0x49d0a7[_0x21cdcc(0x31f)](0x1,0x0,0x0,0x1,this[_0x21cdcc(0x2b7)],this[_0x21cdcc(0x620)]===_0x21cdcc(0x45d)?0x0:-_0x41e18e),_0xbeaa5f[_0x21cdcc(0x5f2)](_0x49d0a7,{'text':this[_0x21cdcc(0x29c)],'color':this[_0x21cdcc(0x491)]}),_0x49d0a7['restore']());}}var _0x2dac5a=Object[_0xd21782(0x407)],_0x988063=Object['getOwnPropertyDescriptor'],_0x2e3e56=(_0x1f93ab,_0x16f313,_0x137ba2,_0x5de28e)=>{const _0x479641=_0xd21782;for(var _0x25d3d1=_0x5de28e>0x1?void 0x0:_0x5de28e?_0x988063(_0x16f313,_0x137ba2):_0x16f313,_0xd9a109=_0x1f93ab[_0x479641(0x39d)]-0x1,_0x3f1af1;_0xd9a109>=0x0;_0xd9a109--)(_0x3f1af1=_0x1f93ab[_0xd9a109])&&(_0x25d3d1=(_0x5de28e?_0x3f1af1(_0x16f313,_0x137ba2,_0x25d3d1):_0x3f1af1(_0x25d3d1))||_0x25d3d1);return _0x5de28e&&_0x25d3d1&&_0x2dac5a(_0x16f313,_0x137ba2,_0x25d3d1),_0x25d3d1;},_0x433d7a=(_0xc18b59,_0x3c97c3)=>(_0x10b021,_0x16906d)=>_0x3c97c3(_0x10b021,_0x16906d,_0xc18b59);const _0x450a19=0x1389;let _0x5defab=class extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(_0x25ff23,_0x342211,_0x4f668e,_0x359fb9){const _0x213b2c=_0xd21782;super(),_0x398ae0(this,_0x213b2c(0x617),new Set()),_0x398ae0(this,_0x213b2c(0x3c7),null),(this[_0x213b2c(0x498)]=_0x25ff23,this[_0x213b2c(0x3b4)]=_0x342211,this[_0x213b2c(0x516)]=_0x4f668e,this['_themeService']=_0x359fb9,this[_0x213b2c(0x323)]());}[_0xd21782(0x323)](){const _0x35fd58=_0xd21782;this[_0x35fd58(0x3b4)][_0x35fd58(0x3cd)][_0x35fd58(0x3d3)](_0x52ded5['takeUntil'](this['dispose$']),_0x52ded5['switchMap'](_0x2e33b9=>{const _0x240a7b=_0x35fd58;if(_0x2e33b9){const _0x18126b=_0x2e33b9[_0x240a7b(0x327)];return _0x382682['combineLatest'](this[_0x240a7b(0x516)]['getCollabCursors$'](this['_context'][_0x240a7b(0x1c6)]),this[_0x240a7b(0x33a)][_0x240a7b(0x212)])['pipe'](_0x52ded5[_0x240a7b(0x1f8)](([_0x399e34,_0x266378])=>{const _0x5cf2e1=_0x240a7b,_0x538e2e=new Map();return _0x399e34[_0x5cf2e1(0x4b3)]((_0xe32635,_0x4b92b2)=>{const _0xc1ffc0=_0x5cf2e1;if(_0xe32635[_0xc1ffc0(0x1da)]===_0x18126b){const _0x59c6d6={..._0xe32635};_0x59c6d6[_0xc1ffc0(0x2b9)]=_0x266378[_0xe32635[_0xc1ffc0(0x2b9)]],_0x538e2e['set'](_0x4b92b2,_0x59c6d6);}}),{'skeleton':_0x2e33b9,'cursors':_0x538e2e};}));}return _0x382682['of']({'skeleton':null,'cursors':new Map()});}))[_0x35fd58(0x306)](({skeleton:_0x54ca9b,cursors:_0x33020b})=>{const _0x4b7000=_0x35fd58;this[_0x4b7000(0x3de)](),_0x54ca9b&&this[_0x4b7000(0x33f)](_0x54ca9b,_0x33020b);}),this[_0x35fd58(0x3b4)][_0x35fd58(0x3cd)][_0x35fd58(0x306)](_0x5d7fee=>{const _0x11c3f6=_0x35fd58;if(_0x5d7fee==null)return;const {skeleton:_0x3296fd}=_0x5d7fee,{scene:_0x21e034}=this[_0x11c3f6(0x498)];_0x21e034['onPointerMove$'][_0x11c3f6(0x49a)](_0x33b6e0[_0x11c3f6(0x311)](_0x41a090=>{const _0x379172=_0x11c3f6;var _0x544162,_0x366edd;const {offsetX:_0x3d2523,offsetY:_0x2617dd}=_0x41a090,{x:_0x474b55,y:_0x2b1dbd}=_0x21e034[_0x379172(0x435)](_0x1db1e9[_0x379172(0x416)][_0x379172(0x3f2)]([_0x3d2523,_0x2617dd])),{scaleX:_0x58b949,scaleY:_0x1ef535}=_0x21e034['getAncestorScale'](),_0xc12497=_0x21e034[_0x379172(0x3b8)](_0x31cf62[_0x379172(0x2bb)][_0x379172(0x363)]),_0x10276c=_0x21e034[_0x379172(0x59d)](_0x1db1e9[_0x379172(0x416)][_0x379172(0x3f2)]([_0x474b55,_0x2b1dbd]),_0xc12497),_0x131350=_0x3296fd[_0x379172(0x1f9)](_0x3d2523,_0x2617dd,_0x58b949,_0x1ef535,_0x10276c);((_0x544162=this[_0x379172(0x3c7)])==null?void 0x0:_0x544162[_0x379172(0x49c)])===_0x131350[_0x379172(0x49c)]&&((_0x366edd=this[_0x379172(0x3c7)])==null?void 0x0:_0x366edd[_0x379172(0x599)])===_0x131350['row']||this['_cursors']['forEach'](_0x47cbd7=>{const _0x4c572b=_0x379172;_0x47cbd7[_0x4c572b(0x5fe)](_0x131350);});},0x64));});}[_0xd21782(0x33f)](_0x3b4e42,_0x227671){const _0x26cb5c=_0xd21782;var _0x4fdef9;const _0x48e9b6=(_0x4fdef9=this['_sheetSkeletonManagerService'][_0x26cb5c(0x302)]())==null?void 0x0:_0x4fdef9['skeleton'];if(!_0x48e9b6)return;const _0x3d5ee3=this[_0x26cb5c(0x1fc)]();if(!_0x3d5ee3)return;this[_0x26cb5c(0x617)][_0x26cb5c(0x4b3)](_0x339f8e=>{const _0x321ec8=_0x26cb5c;_0x339f8e[_0x321ec8(0x58b)]();});const {scene:_0x288b61}=_0x3d5ee3,_0x48016b=_0x146aa8(Array[_0x26cb5c(0x5bf)](_0x227671[_0x26cb5c(0x2fb)]()))[_0x26cb5c(0x1f8)](_0x24cdee=>{const _0x513d7d=_0x26cb5c,{color:_0x12bdad,range:_0x1b7805,name:_0x4a5850,selection:_0x13e72d,sheetID:_0x15bda9}=_0x24cdee,{startColumn:_0x48e459,startRow:_0x48e157,endColumn:_0x15c99c,endRow:_0x512eee}=_0x1b7805,_0x24b090=_0x31cf62['getCoordByCell'](_0x48e157,_0x48e459,_0x288b61,_0x48e9b6),_0x34ac1a=_0x31cf62[_0x513d7d(0x4e3)](_0x512eee,_0x15c99c,_0x288b61,_0x48e9b6),{columnHeaderHeightAndMarginTop:_0x1b9e0c}=_0x48e9b6,{startX:_0xfb5c91,startY:_0x3ae104}=_0x24b090,{endX:_0x3657a0,endY:_0x5d30a7}=_0x34ac1a,_0x53a183=_0x3657a0-_0xfb5c91,_0x2453a5=_0x5d30a7-_0x3ae104,_0x681c8d={'labelPosition':_0x3ae104-_0x1b9e0c>=_0x41e18e?_0x513d7d(0x2e0):_0x513d7d(0x45d),'sheetID':_0x15bda9,'range':_0x1b7805,'color':_0x12bdad,'name':_0x4a5850,'selection':_0x13e72d,'left':_0xfb5c91,'top':_0x3ae104,'width':_0x53a183,'height':_0x2453a5,'evented':!0x1,'zIndex':_0x450a19};return new _0xf96631(_0x4a5850,_0x681c8d);});_0x288b61[_0x26cb5c(0x5cd)](_0x48016b,_0x2fb7be),this[_0x26cb5c(0x617)]=new Set(_0x48016b);}[_0xd21782(0x3de)](){const _0x40671f=_0xd21782;var _0x4c9be9;(_0x4c9be9=this[_0x40671f(0x617)])==null||_0x4c9be9[_0x40671f(0x4b3)](_0x364663=>_0x364663[_0x40671f(0x214)]());}[_0xd21782(0x1fc)](){const _0x35672e=_0xd21782;return _0x31cf62[_0x35672e(0x371)](this[_0x35672e(0x498)][_0x35672e(0x224)],this['_context']);}};_0x5defab=_0x2e3e56([_0x433d7a(0x1,_0x33b6e0[_0xd21782(0x2d5)](_0x31cf62[_0xd21782(0x50d)])),_0x433d7a(0x2,_0x33b6e0['Inject'](_0x290ad7)),_0x433d7a(0x3,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x604)]))],_0x5defab);function _0x146aa8(_0x5c6991){const _0x562f5a=_0xd21782,_0x575818=new Map();return _0x5c6991['forEach'](_0x1204c2=>{const _0x14f3f7=_0x49f2;if(_0x575818['has'](_0x1204c2['selection'])){const _0x3d7bba=_0x575818[_0x14f3f7(0x3c8)](_0x1204c2[_0x14f3f7(0x553)]);_0x3d7bba[_0x14f3f7(0x30d)]+=',\x20'+_0x1204c2[_0x14f3f7(0x30d)];}else _0x575818['set'](_0x1204c2[_0x14f3f7(0x553)],_0x1204c2);}),Array[_0x562f5a(0x5bf)](_0x575818[_0x562f5a(0x2fb)]());}var _0x1ce2ed=function(){const _0x4276d9=_0xd21782;return _0x1ce2ed=Object[_0x4276d9(0x56b)]||function(_0xa1372){const _0x4ecd1f=_0x4276d9;for(var _0x29dacf,_0x502c5f=0x1,_0x17d287=arguments[_0x4ecd1f(0x39d)];_0x502c5f<_0x17d287;_0x502c5f++){_0x29dacf=arguments[_0x502c5f];for(var _0x352aaa in _0x29dacf)Object[_0x4ecd1f(0x3bb)]['hasOwnProperty'][_0x4ecd1f(0x3aa)](_0x29dacf,_0x352aaa)&&(_0xa1372[_0x352aaa]=_0x29dacf[_0x352aaa]);}return _0xa1372;},_0x1ce2ed[_0x4276d9(0x4cd)](this,arguments);},_0x4d59a1=function(_0x101870,_0x532065){const _0x559dc2=_0xd21782;var _0x13d866={};for(var _0x172b95 in _0x101870)Object['prototype'][_0x559dc2(0x354)][_0x559dc2(0x3aa)](_0x101870,_0x172b95)&&_0x532065[_0x559dc2(0x340)](_0x172b95)<0x0&&(_0x13d866[_0x172b95]=_0x101870[_0x172b95]);if(_0x101870!=null&&typeof Object[_0x559dc2(0x631)]=='function'){for(var _0x2a605f=0x0,_0x172b95=Object[_0x559dc2(0x631)](_0x101870);_0x2a605f<_0x172b95[_0x559dc2(0x39d)];_0x2a605f++)_0x532065[_0x559dc2(0x340)](_0x172b95[_0x2a605f])<0x0&&Object[_0x559dc2(0x3bb)][_0x559dc2(0x188)][_0x559dc2(0x3aa)](_0x101870,_0x172b95[_0x2a605f])&&(_0x13d866[_0x172b95[_0x2a605f]]=_0x101870[_0x172b95[_0x2a605f]]);}return _0x13d866;},_0x150e3d=_0x4e2da1['forwardRef'](function(_0x29db35,_0x38a474){const _0x4d4a5c=_0xd21782;var _0x561d84=_0x29db35['icon'],_0x454ba1=_0x29db35['id'],_0x1b4810=_0x29db35[_0x4d4a5c(0x5b5)],_0xe6e2c8=_0x29db35[_0x4d4a5c(0x25a)],_0x146d10=_0x4d59a1(_0x29db35,[_0x4d4a5c(0x2e2),'id',_0x4d4a5c(0x5b5),_0x4d4a5c(0x25a)]),_0x34eec7='univerjs-icon\x20univerjs-icon-'[_0x4d4a5c(0x274)](_0x454ba1,'\x20')['concat'](_0x1b4810||'')[_0x4d4a5c(0x2d3)](),_0x36f01d=_0x4e2da1['useRef']('_'[_0x4d4a5c(0x274)](_0x49b5f5()));return _0x5d971b(_0x561d84,''[_0x4d4a5c(0x274)](_0x454ba1),{'defIds':_0x561d84[_0x4d4a5c(0x60e)],'idSuffix':_0x36f01d[_0x4d4a5c(0x1f5)]},_0x1ce2ed({'ref':_0x38a474,'className':_0x34eec7},_0x146d10),_0xe6e2c8);});function _0x5d971b(_0x106330,_0x2236f8,_0x23796c,_0x4eb2b3,_0x3f37fc){const _0x4d8dac=_0xd21782;return _0x4e2da1['createElement'](_0x106330[_0x4d8dac(0x569)],_0x1ce2ed(_0x1ce2ed({'key':_0x2236f8},_0x4ff231(_0x106330,_0x23796c,_0x3f37fc)),_0x4eb2b3),(_0x25a0c4(_0x106330,_0x23796c)[_0x4d8dac(0x262)]||[])['map'](function(_0x88d6f,_0x2abea7){const _0x5006cc=_0x4d8dac;return _0x5d971b(_0x88d6f,''[_0x5006cc(0x274)](_0x2236f8,'-')[_0x5006cc(0x274)](_0x106330[_0x5006cc(0x569)],'-')[_0x5006cc(0x274)](_0x2abea7),_0x23796c,void 0x0,_0x3f37fc);}));}function _0x4ff231(_0xc3fca6,_0x159ec8,_0x376a28){const _0x147b18=_0xd21782;var _0x33fd4f=_0x1ce2ed({},_0xc3fca6[_0x147b18(0x5ba)]);_0x376a28!=null&&_0x376a28['colorChannel1']&&_0x33fd4f['fill']===_0x147b18(0x3ff)&&(_0x33fd4f[_0x147b18(0x43d)]=_0x376a28['colorChannel1']);var _0x466ae3=_0x159ec8['defIds'];return!_0x466ae3||_0x466ae3['length']===0x0||(_0xc3fca6[_0x147b18(0x569)]===_0x147b18(0x5b0)&&_0x33fd4f[_0x147b18(0x4dd)]&&(_0x33fd4f['xlink:href']=_0x33fd4f[_0x147b18(0x4dd)]+_0x159ec8[_0x147b18(0x637)]),Object[_0x147b18(0x3ce)](_0x33fd4f)['forEach'](function(_0x45f862){const _0xc287bd=_0x147b18;var _0x2ad5d6=_0x45f862[0x0],_0x5860d7=_0x45f862[0x1];typeof _0x5860d7==_0xc287bd(0x441)&&(_0x33fd4f[_0x2ad5d6]=_0x5860d7[_0xc287bd(0x494)](/url\(#(.*)\)/,'url(#$1'[_0xc287bd(0x274)](_0x159ec8[_0xc287bd(0x637)],')')));})),_0x33fd4f;}function _0x25a0c4(_0x32c43c,_0x31bd29){const _0x17e575=_0xd21782;var _0x3ee49f,_0x5825e6=_0x31bd29[_0x17e575(0x60e)];return!_0x5825e6||_0x5825e6[_0x17e575(0x39d)]===0x0?_0x32c43c:_0x32c43c['tag']===_0x17e575(0x2bc)&&(!((_0x3ee49f=_0x32c43c[_0x17e575(0x262)])===null||_0x3ee49f===void 0x0)&&_0x3ee49f[_0x17e575(0x39d)])?_0x1ce2ed(_0x1ce2ed({},_0x32c43c),{'children':_0x32c43c[_0x17e575(0x262)][_0x17e575(0x1f8)](function(_0x37dad7){const _0x44ff15=_0x17e575;return typeof _0x37dad7['attrs']['id']=='string'&&_0x5825e6&&_0x5825e6[_0x44ff15(0x340)](_0x37dad7[_0x44ff15(0x5ba)]['id'])>-0x1?_0x1ce2ed(_0x1ce2ed({},_0x37dad7),{'attrs':_0x1ce2ed(_0x1ce2ed({},_0x37dad7['attrs']),{'id':_0x37dad7['attrs']['id']+_0x31bd29[_0x44ff15(0x637)]})}):_0x37dad7;})}):_0x32c43c;}function _0x49b5f5(){const _0x3bff1f=_0xd21782;return Math['random']()[_0x3bff1f(0x301)](0x24)[_0x3bff1f(0x47b)](0x2,0x8);}_0x150e3d['displayName']=_0xd21782(0x529);var _0x171068={'tag':'svg','attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0xd21782(0x505),'height':_0xd21782(0x505)},'children':[{'tag':'g','attrs':{'clipPath':_0xd21782(0x4f9)},'children':[{'tag':_0xd21782(0x4b2),'attrs':{'stroke':_0xd21782(0x5a2),'d':_0xd21782(0x54e),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xd21782(0x2bc),'attrs':{},'children':[{'tag':_0xd21782(0x3c5),'attrs':{'id':_0xd21782(0x52c)},'children':[{'tag':_0xd21782(0x4b2),'attrs':{'fill':_0xd21782(0x463),'d':_0xd21782(0x38f)}}]}]}],'defIds':[_0xd21782(0x52c)]},_0x3e26d3=_0x4e2da1[_0xd21782(0x258)](function(_0x25931e,_0x202cf2){const _0x24ae27=_0xd21782;return _0x4e2da1['createElement'](_0x150e3d,Object[_0x24ae27(0x56b)]({},_0x25931e,{'id':_0x24ae27(0x32d),'ref':_0x202cf2,'icon':_0x171068}));});_0x3e26d3[_0xd21782(0x452)]=_0xd21782(0x3ec);var _0x4db644={'tag':_0xd21782(0x3d4),'attrs':{'fill':'none','viewBox':_0xd21782(0x51e),'width':_0xd21782(0x505),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xd21782(0x5cf)},'children':[{'tag':_0xd21782(0x4b2),'attrs':{'stroke':_0xd21782(0x5a2),'d':_0xd21782(0x4f1),'strokeLinecap':_0xd21782(0x546),'strokeLinejoin':_0xd21782(0x546),'strokeWidth':1.2}}]},{'tag':_0xd21782(0x2bc),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xd21782(0x2f0)},'children':[{'tag':_0xd21782(0x4b2),'attrs':{'fill':_0xd21782(0x463),'d':_0xd21782(0x38f),'transform':_0xd21782(0x5fc)}}]}]}],'defIds':[_0xd21782(0x2f0)]},_0x3a6f90=_0x4e2da1['forwardRef'](function(_0x3992d6,_0x3cbf3f){const _0x3271ab=_0xd21782;return _0x4e2da1[_0x3271ab(0x49b)](_0x150e3d,Object[_0x3271ab(0x56b)]({},_0x3992d6,{'id':_0x3271ab(0x2c9),'ref':_0x3cbf3f,'icon':_0x4db644}));});_0x3a6f90[_0xd21782(0x452)]=_0xd21782(0x4f6);function _0x5d2b0e(_0x41a619){const _0x2dfff0=_0xd21782;var _0x51384b,_0x5633d7,_0xf18565='';if(typeof _0x41a619=='string'||typeof _0x41a619==_0x2dfff0(0x21b))_0xf18565+=_0x41a619;else{if(typeof _0x41a619==_0x2dfff0(0x5ed)){if(Array[_0x2dfff0(0x229)](_0x41a619)){var _0x4d4a06=_0x41a619[_0x2dfff0(0x39d)];for(_0x51384b=0x0;_0x51384b<_0x4d4a06;_0x51384b++)_0x41a619[_0x51384b]&&(_0x5633d7=_0x5d2b0e(_0x41a619[_0x51384b]))&&(_0xf18565&&(_0xf18565+='\x20'),_0xf18565+=_0x5633d7);}else{for(_0x5633d7 in _0x41a619)_0x41a619[_0x5633d7]&&(_0xf18565&&(_0xf18565+='\x20'),_0xf18565+=_0x5633d7);}}}return _0xf18565;}function _0x3783e5(){const _0x1994e2=_0xd21782;for(var _0x4713cd,_0x59ca19,_0x2e80d7=0x0,_0x5b682b='',_0x59213a=arguments[_0x1994e2(0x39d)];_0x2e80d7<_0x59213a;_0x2e80d7++)(_0x4713cd=arguments[_0x2e80d7])&&(_0x59ca19=_0x5d2b0e(_0x4713cd))&&(_0x5b682b&&(_0x5b682b+='\x20'),_0x5b682b+=_0x59ca19);return _0x5b682b;}const _0x2c3fb7={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0xd21782(0x4db),'onlineStatus':_0xd21782(0x4eb),'online':_0xd21782(0x5b8),'offline':'univer-offline'};function _0x5a8c79(_0x340a63){const _0x19458e=_0xd21782;switch(_0x340a63){case _0x116db8[_0x19458e(0x3ca)]:return'collabStatus.offline';case _0x116db8[_0x19458e(0x519)]:return _0x19458e(0x3d0);case _0x116db8[_0x19458e(0x535)]:return _0x19458e(0x38d);case _0x116db8['NOT_COLLAB']:return'collabStatus.notCollab';case _0x116db8[_0x19458e(0x1f6)]:case _0x116db8[_0x19458e(0x495)]:return _0x19458e(0x403);case _0x116db8['SYNCED']:case _0x116db8[_0x19458e(0x194)]:return'collabStatus.synced';}}function _0x1cf628(_0x13de54){const _0x44c08a=_0xd21782,{status$:_0x409696}=_0x13de54,_0xae3aa6=_0x563831[_0x44c08a(0x468)](_0x409696,_0x116db8[_0x44c08a(0x17c)]),_0x1cf7f5=_0x33b6e0[_0x44c08a(0x5ac)](_0x33b6e0[_0x44c08a(0x56a)]),_0x23460a=_0x33b6e0['useDependency'](_0x2e54f6[_0x44c08a(0x233)]),_0x5148d1=_0xae3aa6!==_0x116db8[_0x44c08a(0x3ca)],_0x5ac007=_0x1cf7f5['t'](_0x5a8c79(_0xae3aa6)),_0x21ff1d=_0x3783e5(_0x2c3fb7[_0x44c08a(0x591)],{[_0x2c3fb7[_0x44c08a(0x5b4)]]:_0x5148d1,[_0x2c3fb7['offline']]:!_0x5148d1}),_0x444bb8=_0x5148d1?_0x4e2da1[_0x44c08a(0x49b)](_0x3a6f90,null):_0x4e2da1[_0x44c08a(0x49b)](_0x3e26d3,null),_0x3e0ff5=_0x4e2da1[_0x44c08a(0x616)](()=>{const _0x4f3579=_0x44c08a;_0x5148d1||_0x23460a[_0x4f3579(0x51c)]();},[_0x5148d1,_0x23460a]);function _0x50d4d5(){const _0x5e165e=_0x44c08a;return _0x4e2da1[_0x5e165e(0x49b)](_0x5e165e(0x541),{'className':_0x21ff1d,'onClick':_0x3e0ff5},_0x4e2da1[_0x5e165e(0x49b)](_0x5e165e(0x541),{'className':_0x2c3fb7[_0x5e165e(0x3af)]},_0x444bb8),_0x4e2da1[_0x5e165e(0x49b)](_0x5e165e(0x541),{'className':_0x2c3fb7[_0x5e165e(0x3e5)]},_0x5ac007));}return _0x5148d1?_0x50d4d5():_0x4e2da1[_0x44c08a(0x49b)](_0x34d4ff[_0x44c08a(0x37c)],{'title':_0x1cf7f5['t'](_0x44c08a(0x1f3))},_0x50d4d5());}var _0x46968c=Object['defineProperty'],_0x25832e=Object['getOwnPropertyDescriptor'],_0x571fd7=(_0x4dd084,_0x287ac3,_0xf6c82d,_0x522bbe)=>{const _0x23b8c3=_0xd21782;for(var _0xb81b7e=_0x522bbe>0x1?void 0x0:_0x522bbe?_0x25832e(_0x287ac3,_0xf6c82d):_0x287ac3,_0x3d6691=_0x4dd084[_0x23b8c3(0x39d)]-0x1,_0x457c79;_0x3d6691>=0x0;_0x3d6691--)(_0x457c79=_0x4dd084[_0x3d6691])&&(_0xb81b7e=(_0x522bbe?_0x457c79(_0x287ac3,_0xf6c82d,_0xb81b7e):_0x457c79(_0xb81b7e))||_0xb81b7e);return _0x522bbe&&_0xb81b7e&&_0x46968c(_0x287ac3,_0xf6c82d,_0xb81b7e),_0xb81b7e;},_0x1cebbd=(_0x174cb7,_0x2a76a4)=>(_0x2fb673,_0x26ef6a)=>_0x2a76a4(_0x2fb673,_0x26ef6a,_0x174cb7);_0x2e54f6['DesktopCollaborationStatusDisplayController']=class extends _0x33b6e0[_0xd21782(0x5ea)]{constructor(_0x2cb6c7,_0x556a62,_0x3832b1,_0x2d1fad){const _0x5c1517=_0xd21782;super(),_0x398ae0(this,_0x5c1517(0x503),new _0x382682['BehaviorSubject'](_0x116db8['NOT_COLLAB'])),(this[_0x5c1517(0x40b)]=_0x2cb6c7,this[_0x5c1517(0x2cb)]=_0x556a62,this[_0x5c1517(0x54d)]=_0x3832b1,this['_collaborationController']=_0x2d1fad,this['_initStatusComponent'](),this[_0x5c1517(0x5ab)]());}[_0xd21782(0x5ab)](){const _0x3e2743=_0xd21782;this[_0x3e2743(0x3d8)](this[_0x3e2743(0x40b)][_0x3e2743(0x62f)][_0x3e2743(0x3d3)](_0x382682[_0x3e2743(0x426)](()=>{const _0x64aeee=_0x3e2743,_0x2ebf8e=this[_0x64aeee(0x40b)][_0x64aeee(0x339)]();return _0x2ebf8e?this[_0x64aeee(0x44d)][_0x64aeee(0x31d)](_0x2ebf8e[_0x64aeee(0x292)]()):_0x382682['of'](null);}),_0x382682[_0x3e2743(0x426)](_0x45c383=>_0x45c383?_0x45c383[_0x3e2743(0x610)]:_0x382682['of'](_0x116db8[_0x3e2743(0x17c)])))['subscribe'](_0x25a1d6=>{const _0xbd1b16=_0x3e2743;this[_0xbd1b16(0x503)]['next'](_0x25a1d6);}));}['_initStatusComponent'](){const _0x2c077a=_0xd21782;this[_0x2c077a(0x3d8)](this['_uiPartsService']['registerComponent'](_0x563831[_0x2c077a(0x5aa)][_0x2c077a(0x438)],()=>_0x33b6e0['connectInjector'](_0x4d2a9c({'status$':this[_0x2c077a(0x503)][_0x2c077a(0x372)]()}),this[_0x2c077a(0x54d)])));}},_0x2e54f6[_0xd21782(0x39a)]=_0x571fd7([_0x1cebbd(0x0,_0x33b6e0[_0xd21782(0x5a9)]),_0x1cebbd(0x1,_0x563831[_0xd21782(0x218)]),_0x1cebbd(0x2,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0x1cebbd(0x3,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x633)]))],_0x2e54f6['DesktopCollaborationStatusDisplayController']);function _0x4d2a9c(_0x387dfd){const {status$:_0x587c93}=_0x387dfd;return function(){const _0x29fb07=_0x49f2;return _0x4e2da1[_0x29fb07(0x49b)](_0x1cf628,{'status$':_0x587c93});};}const _0x4a4eb7=_0x33b6e0[_0xd21782(0x4b9)](_0xd21782(0x497));var _0x15f84e=Object[_0xd21782(0x407)],_0x31b482=Object[_0xd21782(0x52e)],_0x1f3155=(_0x203535,_0x4b3d57,_0x3725a8,_0x33a307)=>{const _0x2da079=_0xd21782;for(var _0x3e0e64=_0x33a307>0x1?void 0x0:_0x33a307?_0x31b482(_0x4b3d57,_0x3725a8):_0x4b3d57,_0x3140e4=_0x203535[_0x2da079(0x39d)]-0x1,_0x273130;_0x3140e4>=0x0;_0x3140e4--)(_0x273130=_0x203535[_0x3140e4])&&(_0x3e0e64=(_0x33a307?_0x273130(_0x4b3d57,_0x3725a8,_0x3e0e64):_0x273130(_0x3e0e64))||_0x3e0e64);return _0x33a307&&_0x3e0e64&&_0x15f84e(_0x4b3d57,_0x3725a8,_0x3e0e64),_0x3e0e64;},_0xe23050=(_0x4063e8,_0x4fd1d1)=>(_0x184956,_0x29d1c6)=>_0x4fd1d1(_0x184956,_0x29d1c6,_0x4063e8);_0x2e54f6[_0xd21782(0x3e9)]=class extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(_0x4483f4,_0x83a4cd,_0x246a36,_0x3b5ab8,_0x507af8,_0xe3eed0){const _0x3ddfaa=_0xd21782;super(),this[_0x3ddfaa(0x4b6)]=_0x4483f4,this['_logService']=_0x83a4cd,this[_0x3ddfaa(0x496)]=_0x246a36,this['_localCacheService']=_0x3b5ab8,this[_0x3ddfaa(0x619)]=_0x507af8,_0xe3eed0?_0xe3eed0==null||_0xe3eed0['whenReady']()[_0x3ddfaa(0x244)](()=>this[_0x3ddfaa(0x323)]()):(this[_0x3ddfaa(0x387)][_0x3ddfaa(0x49e)](_0x3ddfaa(0x2c7),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3ddfaa(0x323)]());}async['_init'](){const _0x1b4dca=_0xd21782,_0x42ece8=this[_0x1b4dca(0x4b6)][_0x1b4dca(0x2b2)](_0x1b4dca(0x224)),_0x479e55=this['_urlService']['getParam'](_0x1b4dca(0x601));if(!_0x42ece8||!_0x479e55){this[_0x1b4dca(0x387)]['debug'](_0x1b4dca(0x2c7),_0x1b4dca(0x526));return;}switch(Number(_0x479e55)){case _0x5ce0e9[_0x1b4dca(0x23c)]:{const _0x44278e=await this[_0x1b4dca(0x374)](_0x42ece8);this[_0x1b4dca(0x456)](_0x44278e);break;}case _0x5ce0e9[_0x1b4dca(0x237)]:{await this[_0x1b4dca(0x21a)](_0x42ece8);break;}default:{this[_0x1b4dca(0x387)][_0x1b4dca(0x59a)](_0x1b4dca(0x2c7),_0x1b4dca(0x508));break;}}}async['_setupSubUnitSync'](_0x33f260){const _0x3c798e=_0xd21782;await this[_0x3c798e(0x60c)](_0x33f260),_0x33f260['activeSheet$'][_0x3c798e(0x3d3)](_0x382682[_0x3c798e(0x45a)](this[_0x3c798e(0x472)]))[_0x3c798e(0x306)](_0x59121d=>{const _0x2697a0=_0x3c798e;_0x59121d&&this[_0x2697a0(0x277)](_0x59121d);}),this[_0x3c798e(0x4b6)][_0x3c798e(0x522)]['pipe'](_0x382682['takeUntil'](this['dispose$']))[_0x3c798e(0x306)](()=>this[_0x3c798e(0x60c)](_0x33f260));}['_updateURLWithCurrentState'](_0x53c9d4,_0x281e8c=!0x1){const _0x2e0171=_0xd21782,_0x1a7a4c=this[_0x2e0171(0x4b6)][_0x2e0171(0x2b2)](_0x2e0171(0x195));_0x53c9d4[_0x2e0171(0x1ba)]()!==_0x1a7a4c&&this['_urlService'][_0x2e0171(0x622)](_0x2e0171(0x195),_0x53c9d4[_0x2e0171(0x1ba)](),_0x281e8c);}async[_0xd21782(0x60c)](_0x585a5f){const _0x446baf=_0xd21782;var _0x2e59e2;const _0x4b99f0=this[_0x446baf(0x4b6)][_0x446baf(0x2b2)](_0x446baf(0x195));if(!_0x4b99f0||!_0x585a5f[_0x446baf(0x551)](_0x4b99f0)){const _0x4e84d6=_0x585a5f['getUnhiddenWorksheets']()[0x0],_0x3bcb9a=_0x585a5f['getSheetBySheetId'](_0x4e84d6);if(!_0x3bcb9a)return;this[_0x446baf(0x277)](_0x3bcb9a,!0x0),await this[_0x446baf(0x496)]['executeCommand'](_0x3f2383[_0x446baf(0x61a)]['id'],{'unitId':_0x585a5f[_0x446baf(0x292)](),'subUnitId':_0x4e84d6});return;}((_0x2e59e2=_0x585a5f[_0x446baf(0x3f3)]())==null?void 0x0:_0x2e59e2[_0x446baf(0x1ba)]())!==_0x4b99f0&&await this[_0x446baf(0x496)][_0x446baf(0x350)](_0x3f2383[_0x446baf(0x61a)]['id'],{'unitId':_0x585a5f['getUnitId'](),'subUnitId':_0x4b99f0});}async['_loadSheet'](_0x52e29d){const _0x254254=_0xd21782;let _0x465eee=0x0;const _0x71f1ca=await this['_localCacheService']['loadOfflineData'](_0x52e29d);return _0x71f1ca&&(_0x71f1ca[_0x254254(0x5b2)]||_0x71f1ca[_0x254254(0x5ff)][_0x254254(0x39d)]!==0x0)&&(_0x465eee=_0x71f1ca['rev']),_0x465eee===0x0&&this[_0x254254(0x387)][_0x254254(0x49e)]('[DataLoaderController]',_0x254254(0x295)),this[_0x254254(0x619)][_0x254254(0x4c3)](_0x52e29d,_0x465eee);}async[_0xd21782(0x21a)](_0x4f562b){const _0x70208e=_0xd21782;let _0x59c3c1=0x0;const _0x5adf18=await this[_0x70208e(0x31c)]['loadOfflineData'](_0x4f562b);return _0x5adf18&&(_0x5adf18[_0x70208e(0x5b2)]||_0x5adf18[_0x70208e(0x5ff)][_0x70208e(0x39d)]!==0x0)&&(_0x59c3c1=_0x5adf18[_0x70208e(0x40a)]),_0x59c3c1===0x0&&this['_logService'][_0x70208e(0x49e)](_0x70208e(0x2c7),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x70208e(0x619)]['loadDoc'](_0x4f562b,_0x59c3c1);}},_0x2e54f6[_0xd21782(0x3e9)]=_0x1f3155([_0xe23050(0x0,_0x4a4eb7),_0xe23050(0x1,_0x33b6e0['ILogService']),_0xe23050(0x2,_0x33b6e0[_0xd21782(0x45c)]),_0xe23050(0x3,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x4ec)])),_0xe23050(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x2df36b['SnapshotService'])),_0xe23050(0x5,_0x33b6e0['Optional'](_0x2ec0b1['IRemoteInstanceService']))],_0x2e54f6[_0xd21782(0x3e9)]);var _0x2cf6df=Object[_0xd21782(0x407)],_0x2eac5f=Object[_0xd21782(0x52e)],_0x1b5f11=(_0x441172,_0x1b00aa,_0x572729,_0x422fc6)=>{const _0x3280ad=_0xd21782;for(var _0xf9b1cd=_0x422fc6>0x1?void 0x0:_0x422fc6?_0x2eac5f(_0x1b00aa,_0x572729):_0x1b00aa,_0x440587=_0x441172[_0x3280ad(0x39d)]-0x1,_0x521057;_0x440587>=0x0;_0x440587--)(_0x521057=_0x441172[_0x440587])&&(_0xf9b1cd=(_0x422fc6?_0x521057(_0x1b00aa,_0x572729,_0xf9b1cd):_0x521057(_0xf9b1cd))||_0xf9b1cd);return _0x422fc6&&_0xf9b1cd&&_0x2cf6df(_0x1b00aa,_0x572729,_0xf9b1cd),_0xf9b1cd;},_0x5e4851=(_0x16f5a1,_0x38fb25)=>(_0x40545d,_0x45dde0)=>_0x38fb25(_0x40545d,_0x45dde0,_0x16f5a1);const _0x4364fe='DEFAULT_FILE_NAME',_0xc66218=_0xd21782(0x366);let _0x3e39e4=class extends _0x33b6e0[_0xd21782(0x5ea)]{constructor(_0x7d0885,_0x4e4062){const _0x4f761c=_0xd21782;super(),this[_0x4f761c(0x40b)]=_0x7d0885,this['_configService']=_0x4e4062,this[_0x4f761c(0x323)]();}[_0xd21782(0x323)](){const _0x447554=_0xd21782;this[_0x447554(0x3d8)](this[_0x447554(0x40b)]['focused$'][_0x447554(0x306)](()=>{const _0x166af8=_0x447554;var _0x27d5b7;const _0x22125a=this[_0x166af8(0x40b)][_0x166af8(0x339)]();let _0x17b5d3=(_0x27d5b7=this['_configService'][_0x166af8(0x27c)](_0x4364fe))!=null?_0x27d5b7:_0xc66218;_0x22125a instanceof _0x33b6e0[_0x166af8(0x3c2)]&&(_0x17b5d3=_0x22125a['name']),document[_0x166af8(0x1d4)]=_0x17b5d3;}));}};_0x3e39e4=_0x1b5f11([_0x5e4851(0x0,_0x33b6e0[_0xd21782(0x5a9)]),_0x5e4851(0x1,_0x33b6e0[_0xd21782(0x4a4)])],_0x3e39e4);var _0x1dc289=Object['defineProperty'],_0x51f3d9=Object[_0xd21782(0x52e)],_0x5f3b7c=(_0x4b4ab8,_0x22b229,_0x582ec2,_0x150d92)=>{const _0x4f7110=_0xd21782;for(var _0x1988e6=_0x150d92>0x1?void 0x0:_0x150d92?_0x51f3d9(_0x22b229,_0x582ec2):_0x22b229,_0x4e3289=_0x4b4ab8[_0x4f7110(0x39d)]-0x1,_0x22828b;_0x4e3289>=0x0;_0x4e3289--)(_0x22828b=_0x4b4ab8[_0x4e3289])&&(_0x1988e6=(_0x150d92?_0x22828b(_0x22b229,_0x582ec2,_0x1988e6):_0x22828b(_0x1988e6))||_0x1988e6);return _0x150d92&&_0x1988e6&&_0x1dc289(_0x22b229,_0x582ec2,_0x1988e6),_0x1988e6;},_0x2251c5=(_0x158b0e,_0x2c4766)=>(_0x39adc2,_0x5d858f)=>_0x2c4766(_0x39adc2,_0x5d858f,_0x158b0e);let _0x1aab4d=class{constructor(_0x31babf,_0x1ef571,_0x1dbd0e){const _0x491f83=_0xd21782;this[_0x491f83(0x48a)]=_0x31babf,this['_httpService']=_0x1ef571,this[_0x491f83(0x2be)]=_0x1dbd0e,this[_0x491f83(0x2e5)]();}[_0xd21782(0x2e5)](){const _0x436343=_0xd21782;this[_0x436343(0x5ca)][_0x436343(0x5f7)]({'priority':0x1,'interceptor':(_0x1c0dbc,_0x56ae46)=>_0x56ae46(_0x1c0dbc)['pipe'](_0x382682[_0x436343(0x1c1)](async _0x3b700a=>{const _0x162bc0=_0x436343,_0x1f323c=_0x3b700a;if(_0x1f323c[_0x162bc0(0x61e)]===0x191&&window['confirm'](this[_0x162bc0(0x2be)]['t'](_0x162bc0(0x26c)))){const _0x38e16c=window['encodeURIComponent'](window[_0x162bc0(0x44f)][_0x162bc0(0x3a8)]);window['location'][_0x162bc0(0x3a8)]=this[_0x162bc0(0x2d6)]()+_0x162bc0(0x1b6)+_0x38e16c;}return _0x1f323c;}))});}[_0xd21782(0x2d6)](){const _0x5bc3f9=_0xd21782;var _0x3004fa,_0x59b2d2;const _0x44324c=this['_configService']['getConfig'](_0x3b6c1c),_0x3bd7c0=this['_configService'][_0x5bc3f9(0x27c)](_0x134311);return(_0x59b2d2=(_0x3004fa=_0x3bd7c0==null?void 0x0:_0x3bd7c0[_0x5bc3f9(0x3a1)])!=null?_0x3004fa:_0x44324c)!=null?_0x59b2d2:_0x40bbf9;}};_0x1aab4d=_0x5f3b7c([_0x2251c5(0x0,_0x33b6e0[_0xd21782(0x4a4)]),_0x2251c5(0x1,_0x33b6e0[_0xd21782(0x2d5)](_0x27fcf5[_0xd21782(0x2a9)])),_0x2251c5(0x2,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x56a)]))],_0x1aab4d);var _0xd4b395=Object[_0xd21782(0x407)],_0x2244cf=Object['getOwnPropertyDescriptor'],_0x48a670=(_0x3171ce,_0x4bb976,_0x3dc80f,_0x227fea)=>{const _0xb237ff=_0xd21782;for(var _0x1b47f7=_0x227fea>0x1?void 0x0:_0x227fea?_0x2244cf(_0x4bb976,_0x3dc80f):_0x4bb976,_0x331875=_0x3171ce[_0xb237ff(0x39d)]-0x1,_0x240d4f;_0x331875>=0x0;_0x331875--)(_0x240d4f=_0x3171ce[_0x331875])&&(_0x1b47f7=(_0x227fea?_0x240d4f(_0x4bb976,_0x3dc80f,_0x1b47f7):_0x240d4f(_0x1b47f7))||_0x1b47f7);return _0x227fea&&_0x1b47f7&&_0xd4b395(_0x4bb976,_0x3dc80f,_0x1b47f7),_0x1b47f7;},_0x4868ac=(_0x2cd2e9,_0x3135ba)=>(_0x58e5ff,_0x4c2fd4)=>_0x3135ba(_0x58e5ff,_0x4c2fd4,_0x2cd2e9);const _0x526c9d='AUTHZ_URL_KEY',_0x3b4644=_0xd21782(0x42c);_0x2e54f6['AuthzIoHttpService']=class extends _0x33b6e0[_0xd21782(0x5ea)]{constructor(_0xe90ff1,_0x2a968e){const _0x4b5613=_0xd21782;super(),this[_0x4b5613(0x571)]=_0xe90ff1,this[_0x4b5613(0x48a)]=_0x2a968e,this[_0x4b5613(0x485)]();}[_0xd21782(0x485)](){const _0x2af592=_0xd21782,_0x3975b7=this;this['disposeWithMe'](this[_0x2af592(0x571)][_0x2af592(0x5f7)]({'priority':0x3e7,'interceptor':_0x27fcf5[_0x2af592(0x203)]({'isMatch'(_0x37b36c){const _0x3d2794=_0x2af592;var _0x13b26a;if(_0x37b36c[_0x3d2794(0x3db)]===_0x3d2794(0x283)&&((_0x13b26a=_0x37b36c[_0x3d2794(0x34d)])!=null&&_0x13b26a[_0x3d2794(0x286)])){const {objectID:_0x5189e2,objectType:_0x202224}=_0x37b36c['requestParams'][_0x3d2794(0x286)]||{};if(!_0x5189e2||_0x202224===void 0x0)return!0x1;const _0x4729e4=_0x3975b7[_0x3d2794(0x3e0)]()+'/'+_0x202224+_0x3d2794(0x1dc)+_0x5189e2+_0x3d2794(0x4f3);if(_0x37b36c[_0x3d2794(0x448)]===_0x4729e4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4cf6a0){const _0x1fbe15=_0x2af592;var _0x29cea2;return(_0x29cea2=_0x4cf6a0[_0x1fbe15(0x34d)])==null?void 0x0:_0x29cea2[_0x1fbe15(0x286)];},'mergeParamsToRequest'(_0x3440c7,_0x546219){const _0x4e2a2d=_0x2af592,_0x16120f=_0x3975b7['_getAPIPrefixPath']()+_0x4e2a2d(0x42f),_0x27282f=_0x3440c7[_0x4e2a2d(0x596)]((_0x28e608,_0x3be485)=>{const _0x5113de=_0x4e2a2d,{unitID:_0x31e466,objectID:_0x118711,objectType:_0x64b5c8,actions:_0x2af178}=_0x3be485;return _0x28e608[_0x31e466]||(_0x28e608[_0x31e466]={}),_0x28e608[_0x31e466][_0x118711]||(_0x28e608[_0x31e466][_0x118711]={'objectID':_0x118711,'objectType':_0x64b5c8,'actions':[]}),_0x28e608[_0x31e466][_0x118711][_0x5113de(0x26f)][_0x5113de(0x42a)](..._0x2af178),_0x28e608;},{}),_0x88588b=[];for(const _0x13c743 in _0x27282f)for(const _0x4b5252 in _0x27282f[_0x13c743]){const {actions:_0x541264,objectType:_0x4b7ec1}=_0x27282f[_0x13c743][_0x4b5252],_0x50c90f=[...new Set(_0x541264)];_0x88588b[_0x4e2a2d(0x42a)]({'unitID':_0x13c743,'objectID':_0x4b5252,'objectType':_0x4b7ec1,'actions':_0x50c90f});}return new _0x27fcf5[(_0x4e2a2d(0x269))]('POST',_0x16120f,{'headers':_0x546219[_0x4e2a2d(0x583)],'withCredentials':_0x546219['withCredentials'],'responseType':_0x546219['responseType'],'body':{'requests':_0x88588b}});}},{'distributeResult'(_0x304864,_0x3daeac){const _0x16f9ca=_0x2af592,{objectActions:_0x16fa7f}=_0x304864;return _0x3daeac[_0x16f9ca(0x1f8)](_0x3c5d39=>{const _0x4c7595=_0x16f9ca,{unitID:_0x3296ed,objectID:_0x4f151b,actions:_0x362fe2}=_0x3c5d39,_0xaaa116=_0x16fa7f[_0x4c7595(0x234)](_0x4ce352=>_0x4ce352[_0x4c7595(0x33d)]===_0x3296ed&&_0x4ce352[_0x4c7595(0x2db)]===_0x4f151b),_0x79445=_0x362fe2[_0x4c7595(0x1f8)](_0x3af50e=>_0xaaa116==null?void 0x0:_0xaaa116[_0x4c7595(0x26f)]['find'](_0x386ee9=>_0x386ee9[_0x4c7595(0x3ee)]===_0x3af50e))[_0x4c7595(0x40f)](_0x2b8698=>!!_0x2b8698);return{'config':_0x3c5d39,'result':{'actions':_0x79445,'error':_0x304864[_0x4c7595(0x59a)]}};});}})}));}[_0xd21782(0x3e0)](){const _0x1c11fe=_0xd21782;var _0x5d41f8,_0x109b8f;const _0x46943b=this[_0x1c11fe(0x48a)][_0x1c11fe(0x27c)](_0x526c9d),_0x323f7a=this[_0x1c11fe(0x48a)][_0x1c11fe(0x27c)](_0x134311);return(_0x109b8f=(_0x5d41f8=_0x323f7a==null?void 0x0:_0x323f7a[_0x1c11fe(0x247)])!=null?_0x5d41f8:_0x46943b)!=null?_0x109b8f:_0x3b4644;}async[_0xd21782(0x23a)](_0x373983){const _0xfb742e=_0xd21782,_0x3139c6=this[_0xfb742e(0x3e0)]()+'/'+_0x373983[_0xfb742e(0x5f5)]+_0xfb742e(0x190);return(await this[_0xfb742e(0x571)]['post'](_0x3139c6,{'body':_0x373983}))[_0xfb742e(0x286)][_0xfb742e(0x2db)]||'';}async['list'](_0xc1afef){const _0x2d79e0=_0xd21782,_0x23e21=this[_0x2d79e0(0x3e0)]()+'/-/object/list';return(await this[_0x2d79e0(0x571)][_0x2d79e0(0x37e)](_0x23e21,{'body':_0xc1afef}))[_0x2d79e0(0x286)][_0x2d79e0(0x1d2)];}async[_0xd21782(0x5f4)](_0x2e7572){const _0x32e0eb=_0xd21782,_0x167e40=this['_getAPIPrefixPath']()+'/'+_0x2e7572[_0x32e0eb(0x5f5)]+'/object/'+_0x2e7572[_0x32e0eb(0x2db)];await this[_0x32e0eb(0x571)][_0x32e0eb(0x47d)](_0x167e40,{'body':_0x2e7572});}async[_0xd21782(0x482)](_0x474e6e){const _0x79c6b4=_0xd21782,_0x1ccac6=this[_0x79c6b4(0x3e0)]()+'/'+_0x474e6e[_0x79c6b4(0x5f5)]+_0x79c6b4(0x1dc)+_0x474e6e[_0x79c6b4(0x2db)]+_0x79c6b4(0x4f3);return(await this['_HTTPService']['post'](_0x1ccac6,{'body':_0x474e6e}))[_0x79c6b4(0x286)][_0x79c6b4(0x26f)];}async[_0xd21782(0x17f)](_0x581d4b){const _0x42f51f=_0xd21782,_0x399818=this['_getAPIPrefixPath']()+_0x42f51f(0x42f);return(await this[_0x42f51f(0x571)]['post'](_0x399818,{'body':{'requests':_0x581d4b}}))[_0x42f51f(0x286)][_0x42f51f(0x406)];}async[_0xd21782(0x3fe)](_0x3461ac){const _0x5143c2=_0xd21782,_0x4be44a=this['_getAPIPrefixPath']()+'/'+_0x3461ac[_0x5143c2(0x5f5)]+_0x5143c2(0x5d4),_0x238bbb=await this['_HTTPService'][_0x5143c2(0x37e)](_0x4be44a,{'body':_0x3461ac});return{'roles':_0x238bbb[_0x5143c2(0x286)]['roles'],'actions':_0x238bbb[_0x5143c2(0x286)][_0x5143c2(0x26f)]};}async[_0xd21782(0x1a0)](_0x4640f3){const _0x4ec8b8=_0xd21782,_0x5add02=this[_0x4ec8b8(0x3e0)]()+_0x4ec8b8(0x49f);await this[_0x4ec8b8(0x571)][_0x4ec8b8(0x18e)](_0x5add02,{'params':{'collaboratorID':_0x4640f3[_0x4ec8b8(0x464)],'objectID':_0x4640f3['objectID'],'unitID':_0x4640f3[_0x4ec8b8(0x33d)]}});}async[_0xd21782(0x594)](_0x1cdd9a){const _0x4a5205=_0xd21782,_0x467c5a=this[_0x4a5205(0x3e0)]()+'/collaborator';await this[_0x4a5205(0x571)][_0x4a5205(0x367)](_0x467c5a,{'body':_0x1cdd9a});}async[_0xd21782(0x520)](_0x836f53){const _0x11448f=_0xd21782,_0x3b7d39=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x11448f(0x37e)](_0x3b7d39,{'body':_0x836f53});}async[_0xd21782(0x1cf)](_0x1d5971){const _0x252efc=_0xd21782,_0x3b5d49=this[_0x252efc(0x3e0)]()+_0x252efc(0x49f);return(await this[_0x252efc(0x571)][_0x252efc(0x3c8)](_0x3b5d49,{'params':{'objectID':_0x1d5971[_0x252efc(0x2db)],'unitID':_0x1d5971[_0x252efc(0x33d)]}}))[_0x252efc(0x286)][_0x252efc(0x331)];}async[_0xd21782(0x34c)](_0x35d9d8){const _0x3332a0=_0xd21782,_0x575f21=this['_getAPIPrefixPath']()+_0x3332a0(0x49f);await this[_0x3332a0(0x571)]['put'](_0x575f21,{'body':_0x35d9d8});}},_0x2e54f6[_0xd21782(0x3ef)]=_0x48a670([_0x4868ac(0x0,_0x33b6e0[_0xd21782(0x2d5)](_0x27fcf5[_0xd21782(0x2a9)])),_0x4868ac(0x1,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x4a4)]))],_0x2e54f6[_0xd21782(0x3ef)]);var _0x1034db=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x995309(_0x3e2391){const _0x1022c4=_0xd21782;return _0x3e2391&&_0x3e2391['__esModule']&&Object[_0x1022c4(0x3bb)][_0x1022c4(0x354)]['call'](_0x3e2391,'default')?_0x3e2391[_0x1022c4(0x5e7)]:_0x3e2391;}function _0x4ac530(_0x35c2bc){const _0x3ea5cc=_0xd21782;if(_0x35c2bc[_0x3ea5cc(0x27b)])return _0x35c2bc;var _0x2bedd2=_0x35c2bc[_0x3ea5cc(0x5e7)];if(typeof _0x2bedd2==_0x3ea5cc(0x60f)){var _0x5ddce6=function _0x132f24(){const _0x1bd51a=_0x3ea5cc;return this instanceof _0x132f24?Reflect[_0x1bd51a(0x5a0)](_0x2bedd2,arguments,this[_0x1bd51a(0x320)]):_0x2bedd2['apply'](this,arguments);};_0x5ddce6[_0x3ea5cc(0x3bb)]=_0x2bedd2[_0x3ea5cc(0x3bb)];}else _0x5ddce6={};return Object[_0x3ea5cc(0x407)](_0x5ddce6,_0x3ea5cc(0x27b),{'value':!0x0}),Object[_0x3ea5cc(0x1a8)](_0x35c2bc)[_0x3ea5cc(0x4b3)](function(_0x4d64fd){const _0x306214=_0x3ea5cc;var _0x276923=Object['getOwnPropertyDescriptor'](_0x35c2bc,_0x4d64fd);Object[_0x306214(0x407)](_0x5ddce6,_0x4d64fd,_0x276923[_0x306214(0x3c8)]?_0x276923:{'enumerable':!0x0,'get':function(){return _0x35c2bc[_0x4d64fd];}});}),_0x5ddce6;}var _0x5ed12b={'exports':{}};function _0x4973d0(_0x5b7d22){const _0x2615c9=_0xd21782;throw new Error(_0x2615c9(0x3f5)+_0x5b7d22+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x177fab={'exports':{}};const _0x29dd84=_0x4ac530(Object[_0xd21782(0x314)](Object['defineProperty']({'__proto__':null,'default':{}},Symbol[_0xd21782(0x59c)],{'value':_0xd21782(0x542)})));var _0x101e75;function _0x3156b1(){const _0x53033e=_0xd21782;return _0x101e75||(_0x101e75=0x1,function(_0x12dd9b,_0x3101ba){(function(_0x19118d,_0x9ad57f){_0x12dd9b['exports']=_0x9ad57f();}(_0x1034db,function(){var _0x42dea5=_0x42dea5||function(_0x52f151,_0x3253ec){const _0x40d333=_0x49f2;var _0x5089a5;if(typeof window<'u'&&window[_0x40d333(0x52d)]&&(_0x5089a5=window[_0x40d333(0x52d)]),typeof self<'u'&&self['crypto']&&(_0x5089a5=self['crypto']),typeof globalThis<'u'&&globalThis[_0x40d333(0x52d)]&&(_0x5089a5=globalThis[_0x40d333(0x52d)]),!_0x5089a5&&typeof window<'u'&&window[_0x40d333(0x260)]&&(_0x5089a5=window[_0x40d333(0x260)]),!_0x5089a5&&typeof _0x1034db<'u'&&_0x1034db[_0x40d333(0x52d)]&&(_0x5089a5=_0x1034db['crypto']),!_0x5089a5&&typeof _0x4973d0=='function')try{_0x5089a5=_0x29dd84;}catch{}var _0x220f1e=function(){const _0x4fb29e=_0x40d333;if(_0x5089a5){if(typeof _0x5089a5['getRandomValues']==_0x4fb29e(0x60f))try{return _0x5089a5[_0x4fb29e(0x530)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5089a5[_0x4fb29e(0x623)]==_0x4fb29e(0x60f))try{return _0x5089a5[_0x4fb29e(0x623)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4fb29e(0x4aa));},_0x44d607=Object[_0x40d333(0x23a)]||(function(){function _0x4faaaf(){}return function(_0x4da163){const _0x109f1c=_0x49f2;var _0xeb84e3;return _0x4faaaf[_0x109f1c(0x3bb)]=_0x4da163,_0xeb84e3=new _0x4faaaf(),_0x4faaaf['prototype']=null,_0xeb84e3;};}()),_0x132d83={},_0x46fbd4=_0x132d83[_0x40d333(0x5bc)]={},_0x40239d=_0x46fbd4['Base']=(function(){return{'extend':function(_0x5ef09f){const _0x17fb98=_0x49f2;var _0x8b40a4=_0x44d607(this);return _0x5ef09f&&_0x8b40a4['mixIn'](_0x5ef09f),(!_0x8b40a4['hasOwnProperty']('init')||this[_0x17fb98(0x2e5)]===_0x8b40a4[_0x17fb98(0x2e5)])&&(_0x8b40a4['init']=function(){const _0x570aa0=_0x17fb98;_0x8b40a4[_0x570aa0(0x42e)][_0x570aa0(0x2e5)][_0x570aa0(0x4cd)](this,arguments);}),_0x8b40a4[_0x17fb98(0x2e5)][_0x17fb98(0x3bb)]=_0x8b40a4,_0x8b40a4[_0x17fb98(0x42e)]=this,_0x8b40a4;},'create':function(){const _0x1965a1=_0x49f2;var _0x47e1da=this[_0x1965a1(0x25a)]();return _0x47e1da['init'][_0x1965a1(0x4cd)](_0x47e1da,arguments),_0x47e1da;},'init':function(){},'mixIn':function(_0xc8c1c1){const _0x239f5e=_0x49f2;for(var _0x2f6b60 in _0xc8c1c1)_0xc8c1c1['hasOwnProperty'](_0x2f6b60)&&(this[_0x2f6b60]=_0xc8c1c1[_0x2f6b60]);_0xc8c1c1['hasOwnProperty'](_0x239f5e(0x301))&&(this[_0x239f5e(0x301)]=_0xc8c1c1['toString']);},'clone':function(){const _0x42c230=_0x49f2;return this[_0x42c230(0x2e5)][_0x42c230(0x3bb)][_0x42c230(0x25a)](this);}};}()),_0x3ae1b0=_0x46fbd4[_0x40d333(0x3e6)]=_0x40239d[_0x40d333(0x25a)]({'init':function(_0x528c51,_0x57dc82){const _0x415d58=_0x40d333;_0x528c51=this['words']=_0x528c51||[],_0x57dc82!=_0x3253ec?this[_0x415d58(0x43b)]=_0x57dc82:this[_0x415d58(0x43b)]=_0x528c51['length']*0x4;},'toString':function(_0x141be1){const _0x2c8bfb=_0x40d333;return(_0x141be1||_0x17436d)[_0x2c8bfb(0x2e3)](this);},'concat':function(_0x2afcdb){const _0x3689b2=_0x40d333;var _0x2e0ae8=this[_0x3689b2(0x257)],_0x2adb34=_0x2afcdb[_0x3689b2(0x257)],_0x3407a2=this[_0x3689b2(0x43b)],_0x46f77b=_0x2afcdb[_0x3689b2(0x43b)];if(this[_0x3689b2(0x19c)](),_0x3407a2%0x4)for(var _0x264739=0x0;_0x264739<_0x46f77b;_0x264739++){var _0x30e2d8=_0x2adb34[_0x264739>>>0x2]>>>0x18-_0x264739%0x4*0x8&0xff;_0x2e0ae8[_0x3407a2+_0x264739>>>0x2]|=_0x30e2d8<<0x18-(_0x3407a2+_0x264739)%0x4*0x8;}else{for(var _0x28b48b=0x0;_0x28b48b<_0x46f77b;_0x28b48b+=0x4)_0x2e0ae8[_0x3407a2+_0x28b48b>>>0x2]=_0x2adb34[_0x28b48b>>>0x2];}return this[_0x3689b2(0x43b)]+=_0x46f77b,this;},'clamp':function(){const _0x2ef02f=_0x40d333;var _0x378c64=this[_0x2ef02f(0x257)],_0x527695=this[_0x2ef02f(0x43b)];_0x378c64[_0x527695>>>0x2]&=0xffffffff<<0x20-_0x527695%0x4*0x8,_0x378c64[_0x2ef02f(0x39d)]=_0x52f151[_0x2ef02f(0x33e)](_0x527695/0x4);},'clone':function(){const _0x5da826=_0x40d333;var _0x332ffc=_0x40239d['clone'][_0x5da826(0x3aa)](this);return _0x332ffc['words']=this['words'][_0x5da826(0x5af)](0x0),_0x332ffc;},'random':function(_0x17c20a){const _0xad6791=_0x40d333;for(var _0x1e0a54=[],_0x35045d=0x0;_0x35045d<_0x17c20a;_0x35045d+=0x4)_0x1e0a54[_0xad6791(0x42a)](_0x220f1e());return new _0x3ae1b0[(_0xad6791(0x2e5))](_0x1e0a54,_0x17c20a);}}),_0x138368=_0x132d83[_0x40d333(0x307)]={},_0x17436d=_0x138368[_0x40d333(0x322)]={'stringify':function(_0x172645){const _0x3befc4=_0x40d333;for(var _0x2259d0=_0x172645[_0x3befc4(0x257)],_0x3bda01=_0x172645[_0x3befc4(0x43b)],_0x24ae10=[],_0x2386de=0x0;_0x2386de<_0x3bda01;_0x2386de++){var _0x1b620f=_0x2259d0[_0x2386de>>>0x2]>>>0x18-_0x2386de%0x4*0x8&0xff;_0x24ae10[_0x3befc4(0x42a)]((_0x1b620f>>>0x4)[_0x3befc4(0x301)](0x10)),_0x24ae10[_0x3befc4(0x42a)]((_0x1b620f&0xf)[_0x3befc4(0x301)](0x10));}return _0x24ae10[_0x3befc4(0x1ef)]('');},'parse':function(_0x5c0b2b){const _0x15f937=_0x40d333;for(var _0x263707=_0x5c0b2b[_0x15f937(0x39d)],_0x2f40d3=[],_0x327a30=0x0;_0x327a30<_0x263707;_0x327a30+=0x2)_0x2f40d3[_0x327a30>>>0x3]|=parseInt(_0x5c0b2b[_0x15f937(0x356)](_0x327a30,0x2),0x10)<<0x18-_0x327a30%0x8*0x4;return new _0x3ae1b0[(_0x15f937(0x2e5))](_0x2f40d3,_0x263707/0x2);}},_0x26b215=_0x138368[_0x40d333(0x2c8)]={'stringify':function(_0x2235c1){const _0x1d96a4=_0x40d333;for(var _0x47f479=_0x2235c1[_0x1d96a4(0x257)],_0x212867=_0x2235c1[_0x1d96a4(0x43b)],_0x1a9add=[],_0x39d683=0x0;_0x39d683<_0x212867;_0x39d683++){var _0x39f428=_0x47f479[_0x39d683>>>0x2]>>>0x18-_0x39d683%0x4*0x8&0xff;_0x1a9add[_0x1d96a4(0x42a)](String[_0x1d96a4(0x37b)](_0x39f428));}return _0x1a9add['join']('');},'parse':function(_0x2d41ed){const _0x3d6615=_0x40d333;for(var _0x1c0f09=_0x2d41ed[_0x3d6615(0x39d)],_0x478857=[],_0x5d4fd6=0x0;_0x5d4fd6<_0x1c0f09;_0x5d4fd6++)_0x478857[_0x5d4fd6>>>0x2]|=(_0x2d41ed['charCodeAt'](_0x5d4fd6)&0xff)<<0x18-_0x5d4fd6%0x4*0x8;return new _0x3ae1b0[(_0x3d6615(0x2e5))](_0x478857,_0x1c0f09);}},_0x316f60=_0x138368[_0x40d333(0x1b2)]={'stringify':function(_0x5104c4){const _0x1d8a56=_0x40d333;try{return decodeURIComponent(escape(_0x26b215[_0x1d8a56(0x2e3)](_0x5104c4)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2b2216){const _0x57d9b0=_0x40d333;return _0x26b215[_0x57d9b0(0x48e)](unescape(encodeURIComponent(_0x2b2216)));}},_0x2376b8=_0x46fbd4['BufferedBlockAlgorithm']=_0x40239d[_0x40d333(0x25a)]({'reset':function(){const _0xe6d0ff=_0x40d333;this['_data']=new _0x3ae1b0[(_0xe6d0ff(0x2e5))](),this[_0xe6d0ff(0x62c)]=0x0;},'_append':function(_0x385ec1){const _0x2571d6=_0x40d333;typeof _0x385ec1==_0x2571d6(0x441)&&(_0x385ec1=_0x316f60[_0x2571d6(0x48e)](_0x385ec1)),this['_data'][_0x2571d6(0x274)](_0x385ec1),this[_0x2571d6(0x62c)]+=_0x385ec1[_0x2571d6(0x43b)];},'_process':function(_0x231d2c){const _0x5db965=_0x40d333;var _0x1f74dd,_0x5ab1ee=this[_0x5db965(0x500)],_0x1a4374=_0x5ab1ee[_0x5db965(0x257)],_0x1e07e8=_0x5ab1ee['sigBytes'],_0x43a18f=this[_0x5db965(0x336)],_0x2398f7=_0x43a18f*0x4,_0x5e544f=_0x1e07e8/_0x2398f7;_0x231d2c?_0x5e544f=_0x52f151[_0x5db965(0x33e)](_0x5e544f):_0x5e544f=_0x52f151[_0x5db965(0x25c)]((_0x5e544f|0x0)-this[_0x5db965(0x4af)],0x0);var _0x361381=_0x5e544f*_0x43a18f,_0x16b2e9=_0x52f151['min'](_0x361381*0x4,_0x1e07e8);if(_0x361381){for(var _0x277186=0x0;_0x277186<_0x361381;_0x277186+=_0x43a18f)this[_0x5db965(0x60b)](_0x1a4374,_0x277186);_0x1f74dd=_0x1a4374[_0x5db965(0x38a)](0x0,_0x361381),_0x5ab1ee['sigBytes']-=_0x16b2e9;}return new _0x3ae1b0[(_0x5db965(0x2e5))](_0x1f74dd,_0x16b2e9);},'clone':function(){const _0x85ffae=_0x40d333;var _0x59efac=_0x40239d['clone'][_0x85ffae(0x3aa)](this);return _0x59efac[_0x85ffae(0x500)]=this[_0x85ffae(0x500)][_0x85ffae(0x4be)](),_0x59efac;},'_minBufferSize':0x0});_0x46fbd4['Hasher']=_0x2376b8[_0x40d333(0x25a)]({'cfg':_0x40239d['extend'](),'init':function(_0xe83ef){const _0xba8fa6=_0x40d333;this[_0xba8fa6(0x558)]=this['cfg'][_0xba8fa6(0x25a)](_0xe83ef),this[_0xba8fa6(0x525)]();},'reset':function(){const _0x4a54f9=_0x40d333;_0x2376b8[_0x4a54f9(0x525)][_0x4a54f9(0x3aa)](this),this[_0x4a54f9(0x348)]();},'update':function(_0xa80664){const _0x20faf8=_0x40d333;return this['_append'](_0xa80664),this[_0x20faf8(0x4f2)](),this;},'finalize':function(_0x540b9d){const _0x45bf4c=_0x40d333;_0x540b9d&&this[_0x45bf4c(0x47e)](_0x540b9d);var _0x3cd27e=this[_0x45bf4c(0x2d8)]();return _0x3cd27e;},'blockSize':0x10,'_createHelper':function(_0x2bd906){return function(_0x23cd82,_0x27e2a6){const _0x228159=_0x49f2;return new _0x2bd906[(_0x228159(0x2e5))](_0x27e2a6)[_0x228159(0x226)](_0x23cd82);};},'_createHmacHelper':function(_0x5dee62){return function(_0x42524e,_0x3b681f){const _0x4dd785=_0x49f2;return new _0x5c8ff5[(_0x4dd785(0x21e))][(_0x4dd785(0x2e5))](_0x5dee62,_0x3b681f)['finalize'](_0x42524e);};}});var _0x5c8ff5=_0x132d83[_0x40d333(0x3cb)]={};return _0x132d83;}(Math);return _0x42dea5;}));}(_0x177fab)),_0x177fab[_0x53033e(0x3f1)];}var _0x44cc30={'exports':{}},_0x1f2234;function _0x2eb87b(){const _0x56f944=_0xd21782;return _0x1f2234||(_0x1f2234=0x1,function(_0x33d11e,_0x541a38){(function(_0x2eaaf8,_0x4521d5){const _0x2f3914=_0x49f2;_0x33d11e[_0x2f3914(0x3f1)]=_0x4521d5(_0x3156b1());}(_0x1034db,function(_0x4f398c){const _0x334a69=_0x49f2;return(function(){const _0xf24e3b=_0x49f2;var _0x2c2f43=_0x4f398c,_0x3e1cc9=_0x2c2f43[_0xf24e3b(0x5bc)],_0x36e29c=_0x3e1cc9[_0xf24e3b(0x3e6)],_0x30dd84=_0x2c2f43[_0xf24e3b(0x307)];_0x30dd84['Base64']={'stringify':function(_0x459e84){const _0x178dc8=_0xf24e3b;var _0x251867=_0x459e84['words'],_0x49c052=_0x459e84[_0x178dc8(0x43b)],_0x438b7f=this[_0x178dc8(0x1a3)];_0x459e84[_0x178dc8(0x19c)]();for(var _0x2a840b=[],_0x575103=0x0;_0x575103<_0x49c052;_0x575103+=0x3)for(var _0x3bbfe7=_0x251867[_0x575103>>>0x2]>>>0x18-_0x575103%0x4*0x8&0xff,_0x5d2567=_0x251867[_0x575103+0x1>>>0x2]>>>0x18-(_0x575103+0x1)%0x4*0x8&0xff,_0x2a6388=_0x251867[_0x575103+0x2>>>0x2]>>>0x18-(_0x575103+0x2)%0x4*0x8&0xff,_0x4d7031=_0x3bbfe7<<0x10|_0x5d2567<<0x8|_0x2a6388,_0x552f03=0x0;_0x552f03<0x4&&_0x575103+_0x552f03*0.75<_0x49c052;_0x552f03++)_0x2a840b[_0x178dc8(0x42a)](_0x438b7f['charAt'](_0x4d7031>>>0x6*(0x3-_0x552f03)&0x3f));var _0x271fa0=_0x438b7f['charAt'](0x40);if(_0x271fa0){for(;_0x2a840b[_0x178dc8(0x39d)]%0x4;)_0x2a840b[_0x178dc8(0x42a)](_0x271fa0);}return _0x2a840b[_0x178dc8(0x1ef)]('');},'parse':function(_0x2b6f87){const _0x3d39fe=_0xf24e3b;var _0xf7d594=_0x2b6f87[_0x3d39fe(0x39d)],_0x5aa649=this[_0x3d39fe(0x1a3)],_0x4bbcb3=this[_0x3d39fe(0x4d1)];if(!_0x4bbcb3){_0x4bbcb3=this[_0x3d39fe(0x4d1)]=[];for(var _0x327a74=0x0;_0x327a74<_0x5aa649[_0x3d39fe(0x39d)];_0x327a74++)_0x4bbcb3[_0x5aa649[_0x3d39fe(0x5d7)](_0x327a74)]=_0x327a74;}var _0x4ffcf4=_0x5aa649[_0x3d39fe(0x308)](0x40);if(_0x4ffcf4){var _0x559eec=_0x2b6f87[_0x3d39fe(0x340)](_0x4ffcf4);_0x559eec!==-0x1&&(_0xf7d594=_0x559eec);}return _0x43559e(_0x2b6f87,_0xf7d594,_0x4bbcb3);},'_map':_0xf24e3b(0x232)};function _0x43559e(_0xfe3c79,_0x12f8f8,_0xa535b3){const _0x38be58=_0xf24e3b;for(var _0x2f478c=[],_0x23a03=0x0,_0x13c72b=0x0;_0x13c72b<_0x12f8f8;_0x13c72b++)if(_0x13c72b%0x4){var _0x2bbb6b=_0xa535b3[_0xfe3c79[_0x38be58(0x5d7)](_0x13c72b-0x1)]<<_0x13c72b%0x4*0x2,_0x5a7c2c=_0xa535b3[_0xfe3c79[_0x38be58(0x5d7)](_0x13c72b)]>>>0x6-_0x13c72b%0x4*0x2,_0x4ade9c=_0x2bbb6b|_0x5a7c2c;_0x2f478c[_0x23a03>>>0x2]|=_0x4ade9c<<0x18-_0x23a03%0x4*0x8,_0x23a03++;}return _0x36e29c[_0x38be58(0x23a)](_0x2f478c,_0x23a03);}}()),_0x4f398c['enc'][_0x334a69(0x243)];}));}(_0x44cc30)),_0x44cc30[_0x56f944(0x3f1)];}var _0x3b1f8c={'exports':{}},_0x1f193d;function _0x142311(){const _0x17dca2=_0xd21782;return _0x1f193d||(_0x1f193d=0x1,function(_0x28c889,_0x22e439){(function(_0x1dca9f,_0x5d5cb5){_0x28c889['exports']=_0x5d5cb5(_0x3156b1());}(_0x1034db,function(_0x2d9a9f){const _0x3a7197=_0x49f2;return function(_0x19db19){const _0x4bf71f=_0x49f2;var _0x5d4747=_0x2d9a9f,_0x104dd3=_0x5d4747['lib'],_0x5d70c0=_0x104dd3['WordArray'],_0x4e5e8c=_0x104dd3[_0x4bf71f(0x41b)],_0x1024ae=_0x5d4747[_0x4bf71f(0x3cb)],_0x38cd53=[];(function(){const _0x417df2=_0x4bf71f;for(var _0x3a02b9=0x0;_0x3a02b9<0x40;_0x3a02b9++)_0x38cd53[_0x3a02b9]=_0x19db19[_0x417df2(0x2f5)](_0x19db19[_0x417df2(0x1a1)](_0x3a02b9+0x1))*0x100000000|0x0;}());var _0x3b61f9=_0x1024ae[_0x4bf71f(0x3b0)]=_0x4e5e8c[_0x4bf71f(0x25a)]({'_doReset':function(){const _0x41e54e=_0x4bf71f;this[_0x41e54e(0x349)]=new _0x5d70c0['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xb4a0ec,_0x30bb1a){const _0x345c91=_0x4bf71f;for(var _0x5ad091=0x0;_0x5ad091<0x10;_0x5ad091++){var _0xfb5149=_0x30bb1a+_0x5ad091,_0x56cafc=_0xb4a0ec[_0xfb5149];_0xb4a0ec[_0xfb5149]=(_0x56cafc<<0x8|_0x56cafc>>>0x18)&0xff00ff|(_0x56cafc<<0x18|_0x56cafc>>>0x8)&0xff00ff00;}var _0x35b5ff=this[_0x345c91(0x349)][_0x345c91(0x257)],_0x115921=_0xb4a0ec[_0x30bb1a+0x0],_0x536dff=_0xb4a0ec[_0x30bb1a+0x1],_0x6fa3fd=_0xb4a0ec[_0x30bb1a+0x2],_0x1923cd=_0xb4a0ec[_0x30bb1a+0x3],_0x39598c=_0xb4a0ec[_0x30bb1a+0x4],_0x2a65a2=_0xb4a0ec[_0x30bb1a+0x5],_0x24cf76=_0xb4a0ec[_0x30bb1a+0x6],_0x34ccec=_0xb4a0ec[_0x30bb1a+0x7],_0x4cb14d=_0xb4a0ec[_0x30bb1a+0x8],_0xeeb26=_0xb4a0ec[_0x30bb1a+0x9],_0x89873f=_0xb4a0ec[_0x30bb1a+0xa],_0x1dff85=_0xb4a0ec[_0x30bb1a+0xb],_0xc8ec06=_0xb4a0ec[_0x30bb1a+0xc],_0x2f7018=_0xb4a0ec[_0x30bb1a+0xd],_0x57e73b=_0xb4a0ec[_0x30bb1a+0xe],_0x48d62d=_0xb4a0ec[_0x30bb1a+0xf],_0x44651d=_0x35b5ff[0x0],_0x15e22d=_0x35b5ff[0x1],_0x4711c5=_0x35b5ff[0x2],_0x5bd438=_0x35b5ff[0x3];_0x44651d=_0x35a994(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x115921,0x7,_0x38cd53[0x0]),_0x5bd438=_0x35a994(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x536dff,0xc,_0x38cd53[0x1]),_0x4711c5=_0x35a994(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x6fa3fd,0x11,_0x38cd53[0x2]),_0x15e22d=_0x35a994(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x1923cd,0x16,_0x38cd53[0x3]),_0x44651d=_0x35a994(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x39598c,0x7,_0x38cd53[0x4]),_0x5bd438=_0x35a994(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x2a65a2,0xc,_0x38cd53[0x5]),_0x4711c5=_0x35a994(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x24cf76,0x11,_0x38cd53[0x6]),_0x15e22d=_0x35a994(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x34ccec,0x16,_0x38cd53[0x7]),_0x44651d=_0x35a994(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x4cb14d,0x7,_0x38cd53[0x8]),_0x5bd438=_0x35a994(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0xeeb26,0xc,_0x38cd53[0x9]),_0x4711c5=_0x35a994(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x89873f,0x11,_0x38cd53[0xa]),_0x15e22d=_0x35a994(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x1dff85,0x16,_0x38cd53[0xb]),_0x44651d=_0x35a994(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0xc8ec06,0x7,_0x38cd53[0xc]),_0x5bd438=_0x35a994(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x2f7018,0xc,_0x38cd53[0xd]),_0x4711c5=_0x35a994(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x57e73b,0x11,_0x38cd53[0xe]),_0x15e22d=_0x35a994(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x48d62d,0x16,_0x38cd53[0xf]),_0x44651d=_0x44c9f6(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x536dff,0x5,_0x38cd53[0x10]),_0x5bd438=_0x44c9f6(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x24cf76,0x9,_0x38cd53[0x11]),_0x4711c5=_0x44c9f6(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x1dff85,0xe,_0x38cd53[0x12]),_0x15e22d=_0x44c9f6(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x115921,0x14,_0x38cd53[0x13]),_0x44651d=_0x44c9f6(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x2a65a2,0x5,_0x38cd53[0x14]),_0x5bd438=_0x44c9f6(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x89873f,0x9,_0x38cd53[0x15]),_0x4711c5=_0x44c9f6(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x48d62d,0xe,_0x38cd53[0x16]),_0x15e22d=_0x44c9f6(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x39598c,0x14,_0x38cd53[0x17]),_0x44651d=_0x44c9f6(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0xeeb26,0x5,_0x38cd53[0x18]),_0x5bd438=_0x44c9f6(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x57e73b,0x9,_0x38cd53[0x19]),_0x4711c5=_0x44c9f6(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x1923cd,0xe,_0x38cd53[0x1a]),_0x15e22d=_0x44c9f6(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x4cb14d,0x14,_0x38cd53[0x1b]),_0x44651d=_0x44c9f6(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x2f7018,0x5,_0x38cd53[0x1c]),_0x5bd438=_0x44c9f6(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x6fa3fd,0x9,_0x38cd53[0x1d]),_0x4711c5=_0x44c9f6(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x34ccec,0xe,_0x38cd53[0x1e]),_0x15e22d=_0x44c9f6(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0xc8ec06,0x14,_0x38cd53[0x1f]),_0x44651d=_0x45f18d(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x2a65a2,0x4,_0x38cd53[0x20]),_0x5bd438=_0x45f18d(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x4cb14d,0xb,_0x38cd53[0x21]),_0x4711c5=_0x45f18d(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x1dff85,0x10,_0x38cd53[0x22]),_0x15e22d=_0x45f18d(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x57e73b,0x17,_0x38cd53[0x23]),_0x44651d=_0x45f18d(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x536dff,0x4,_0x38cd53[0x24]),_0x5bd438=_0x45f18d(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x39598c,0xb,_0x38cd53[0x25]),_0x4711c5=_0x45f18d(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x34ccec,0x10,_0x38cd53[0x26]),_0x15e22d=_0x45f18d(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x89873f,0x17,_0x38cd53[0x27]),_0x44651d=_0x45f18d(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x2f7018,0x4,_0x38cd53[0x28]),_0x5bd438=_0x45f18d(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x115921,0xb,_0x38cd53[0x29]),_0x4711c5=_0x45f18d(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x1923cd,0x10,_0x38cd53[0x2a]),_0x15e22d=_0x45f18d(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x24cf76,0x17,_0x38cd53[0x2b]),_0x44651d=_0x45f18d(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0xeeb26,0x4,_0x38cd53[0x2c]),_0x5bd438=_0x45f18d(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0xc8ec06,0xb,_0x38cd53[0x2d]),_0x4711c5=_0x45f18d(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x48d62d,0x10,_0x38cd53[0x2e]),_0x15e22d=_0x45f18d(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x6fa3fd,0x17,_0x38cd53[0x2f]),_0x44651d=_0x15341b(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x115921,0x6,_0x38cd53[0x30]),_0x5bd438=_0x15341b(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x34ccec,0xa,_0x38cd53[0x31]),_0x4711c5=_0x15341b(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x57e73b,0xf,_0x38cd53[0x32]),_0x15e22d=_0x15341b(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x2a65a2,0x15,_0x38cd53[0x33]),_0x44651d=_0x15341b(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0xc8ec06,0x6,_0x38cd53[0x34]),_0x5bd438=_0x15341b(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x1923cd,0xa,_0x38cd53[0x35]),_0x4711c5=_0x15341b(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x89873f,0xf,_0x38cd53[0x36]),_0x15e22d=_0x15341b(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x536dff,0x15,_0x38cd53[0x37]),_0x44651d=_0x15341b(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x4cb14d,0x6,_0x38cd53[0x38]),_0x5bd438=_0x15341b(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x48d62d,0xa,_0x38cd53[0x39]),_0x4711c5=_0x15341b(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x24cf76,0xf,_0x38cd53[0x3a]),_0x15e22d=_0x15341b(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0x2f7018,0x15,_0x38cd53[0x3b]),_0x44651d=_0x15341b(_0x44651d,_0x15e22d,_0x4711c5,_0x5bd438,_0x39598c,0x6,_0x38cd53[0x3c]),_0x5bd438=_0x15341b(_0x5bd438,_0x44651d,_0x15e22d,_0x4711c5,_0x1dff85,0xa,_0x38cd53[0x3d]),_0x4711c5=_0x15341b(_0x4711c5,_0x5bd438,_0x44651d,_0x15e22d,_0x6fa3fd,0xf,_0x38cd53[0x3e]),_0x15e22d=_0x15341b(_0x15e22d,_0x4711c5,_0x5bd438,_0x44651d,_0xeeb26,0x15,_0x38cd53[0x3f]),_0x35b5ff[0x0]=_0x35b5ff[0x0]+_0x44651d|0x0,_0x35b5ff[0x1]=_0x35b5ff[0x1]+_0x15e22d|0x0,_0x35b5ff[0x2]=_0x35b5ff[0x2]+_0x4711c5|0x0,_0x35b5ff[0x3]=_0x35b5ff[0x3]+_0x5bd438|0x0;},'_doFinalize':function(){const _0x2106d7=_0x4bf71f;var _0x47868d=this[_0x2106d7(0x500)],_0x2c123b=_0x47868d[_0x2106d7(0x257)],_0x2245f2=this[_0x2106d7(0x62c)]*0x8,_0x1825fc=_0x47868d[_0x2106d7(0x43b)]*0x8;_0x2c123b[_0x1825fc>>>0x5]|=0x80<<0x18-_0x1825fc%0x20;var _0x58655e=_0x19db19[_0x2106d7(0x4e5)](_0x2245f2/0x100000000),_0x3f73d4=_0x2245f2;_0x2c123b[(_0x1825fc+0x40>>>0x9<<0x4)+0xf]=(_0x58655e<<0x8|_0x58655e>>>0x18)&0xff00ff|(_0x58655e<<0x18|_0x58655e>>>0x8)&0xff00ff00,_0x2c123b[(_0x1825fc+0x40>>>0x9<<0x4)+0xe]=(_0x3f73d4<<0x8|_0x3f73d4>>>0x18)&0xff00ff|(_0x3f73d4<<0x18|_0x3f73d4>>>0x8)&0xff00ff00,_0x47868d['sigBytes']=(_0x2c123b[_0x2106d7(0x39d)]+0x1)*0x4,this['_process']();for(var _0x1c3e13=this[_0x2106d7(0x349)],_0x17d7b0=_0x1c3e13[_0x2106d7(0x257)],_0x43640a=0x0;_0x43640a<0x4;_0x43640a++){var _0x14a6da=_0x17d7b0[_0x43640a];_0x17d7b0[_0x43640a]=(_0x14a6da<<0x8|_0x14a6da>>>0x18)&0xff00ff|(_0x14a6da<<0x18|_0x14a6da>>>0x8)&0xff00ff00;}return _0x1c3e13;},'clone':function(){const _0x4b9d59=_0x4bf71f;var _0x3abfa5=_0x4e5e8c[_0x4b9d59(0x4be)][_0x4b9d59(0x3aa)](this);return _0x3abfa5[_0x4b9d59(0x349)]=this[_0x4b9d59(0x349)]['clone'](),_0x3abfa5;}});function _0x35a994(_0x6f9933,_0x2f706b,_0x5ae1a7,_0x236ef3,_0x14f4b2,_0x186873,_0xa1f533){var _0x58c0b4=_0x6f9933+(_0x2f706b&_0x5ae1a7|~_0x2f706b&_0x236ef3)+_0x14f4b2+_0xa1f533;return(_0x58c0b4<<_0x186873|_0x58c0b4>>>0x20-_0x186873)+_0x2f706b;}function _0x44c9f6(_0x216cd6,_0x4b92c8,_0x22512f,_0x2b65fb,_0x38717f,_0xf3b60a,_0x57afbc){var _0x2e925c=_0x216cd6+(_0x4b92c8&_0x2b65fb|_0x22512f&~_0x2b65fb)+_0x38717f+_0x57afbc;return(_0x2e925c<<_0xf3b60a|_0x2e925c>>>0x20-_0xf3b60a)+_0x4b92c8;}function _0x45f18d(_0x1c6130,_0x4dc4d5,_0x46bbd9,_0x27cab4,_0xdeeefc,_0x5bf76e,_0x2442c8){var _0x4c5053=_0x1c6130+(_0x4dc4d5^_0x46bbd9^_0x27cab4)+_0xdeeefc+_0x2442c8;return(_0x4c5053<<_0x5bf76e|_0x4c5053>>>0x20-_0x5bf76e)+_0x4dc4d5;}function _0x15341b(_0x6b88b2,_0x3c4723,_0x4eae8c,_0x2b49c5,_0x2327ec,_0x1a56c7,_0x57307d){var _0x1c2693=_0x6b88b2+(_0x4eae8c^(_0x3c4723|~_0x2b49c5))+_0x2327ec+_0x57307d;return(_0x1c2693<<_0x1a56c7|_0x1c2693>>>0x20-_0x1a56c7)+_0x3c4723;}_0x5d4747['MD5']=_0x4e5e8c[_0x4bf71f(0x402)](_0x3b61f9),_0x5d4747[_0x4bf71f(0x3a3)]=_0x4e5e8c[_0x4bf71f(0x478)](_0x3b61f9);}(Math),_0x2d9a9f[_0x3a7197(0x3b0)];}));}(_0x3b1f8c)),_0x3b1f8c[_0x17dca2(0x3f1)];}var _0x446618={'exports':{}},_0x4a9663={'exports':{}},_0x351c34;function _0x2fef77(){const _0x16f1ae=_0xd21782;return _0x351c34||(_0x351c34=0x1,function(_0x3bffc7,_0x3397ff){(function(_0xd5a09a,_0x1d7552){const _0x25e734=_0x49f2;_0x3bffc7[_0x25e734(0x3f1)]=_0x1d7552(_0x3156b1());}(_0x1034db,function(_0x20e9ea){const _0x3bad84=_0x49f2;return(function(){const _0x344395=_0x49f2;var _0x4af7a0=_0x20e9ea,_0x27c40c=_0x4af7a0[_0x344395(0x5bc)],_0x1376b6=_0x27c40c[_0x344395(0x3e6)],_0x382fcf=_0x27c40c[_0x344395(0x41b)],_0x2516a6=_0x4af7a0[_0x344395(0x3cb)],_0x2286da=[],_0x303bb6=_0x2516a6[_0x344395(0x36f)]=_0x382fcf[_0x344395(0x25a)]({'_doReset':function(){const _0x550d6a=_0x344395;this[_0x550d6a(0x349)]=new _0x1376b6[(_0x550d6a(0x2e5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x587c25,_0x2cad0d){const _0x32739f=_0x344395;for(var _0x401571=this['_hash'][_0x32739f(0x257)],_0x25b955=_0x401571[0x0],_0x4851a1=_0x401571[0x1],_0x283f40=_0x401571[0x2],_0x55e98=_0x401571[0x3],_0xd80e8a=_0x401571[0x4],_0x287841=0x0;_0x287841<0x50;_0x287841++){if(_0x287841<0x10)_0x2286da[_0x287841]=_0x587c25[_0x2cad0d+_0x287841]|0x0;else{var _0x9cfb63=_0x2286da[_0x287841-0x3]^_0x2286da[_0x287841-0x8]^_0x2286da[_0x287841-0xe]^_0x2286da[_0x287841-0x10];_0x2286da[_0x287841]=_0x9cfb63<<0x1|_0x9cfb63>>>0x1f;}var _0x560d34=(_0x25b955<<0x5|_0x25b955>>>0x1b)+_0xd80e8a+_0x2286da[_0x287841];_0x287841<0x14?_0x560d34+=(_0x4851a1&_0x283f40|~_0x4851a1&_0x55e98)+0x5a827999:_0x287841<0x28?_0x560d34+=(_0x4851a1^_0x283f40^_0x55e98)+0x6ed9eba1:_0x287841<0x3c?_0x560d34+=(_0x4851a1&_0x283f40|_0x4851a1&_0x55e98|_0x283f40&_0x55e98)-0x70e44324:_0x560d34+=(_0x4851a1^_0x283f40^_0x55e98)-0x359d3e2a,_0xd80e8a=_0x55e98,_0x55e98=_0x283f40,_0x283f40=_0x4851a1<<0x1e|_0x4851a1>>>0x2,_0x4851a1=_0x25b955,_0x25b955=_0x560d34;}_0x401571[0x0]=_0x401571[0x0]+_0x25b955|0x0,_0x401571[0x1]=_0x401571[0x1]+_0x4851a1|0x0,_0x401571[0x2]=_0x401571[0x2]+_0x283f40|0x0,_0x401571[0x3]=_0x401571[0x3]+_0x55e98|0x0,_0x401571[0x4]=_0x401571[0x4]+_0xd80e8a|0x0;},'_doFinalize':function(){const _0x296ffc=_0x344395;var _0x5b0b40=this[_0x296ffc(0x500)],_0x1b503c=_0x5b0b40[_0x296ffc(0x257)],_0x22f435=this[_0x296ffc(0x62c)]*0x8,_0x386e75=_0x5b0b40[_0x296ffc(0x43b)]*0x8;return _0x1b503c[_0x386e75>>>0x5]|=0x80<<0x18-_0x386e75%0x20,_0x1b503c[(_0x386e75+0x40>>>0x9<<0x4)+0xe]=Math[_0x296ffc(0x4e5)](_0x22f435/0x100000000),_0x1b503c[(_0x386e75+0x40>>>0x9<<0x4)+0xf]=_0x22f435,_0x5b0b40[_0x296ffc(0x43b)]=_0x1b503c[_0x296ffc(0x39d)]*0x4,this[_0x296ffc(0x4f2)](),this['_hash'];},'clone':function(){const _0x54a8dd=_0x344395;var _0x214e3b=_0x382fcf[_0x54a8dd(0x4be)][_0x54a8dd(0x3aa)](this);return _0x214e3b['_hash']=this[_0x54a8dd(0x349)][_0x54a8dd(0x4be)](),_0x214e3b;}});_0x4af7a0[_0x344395(0x36f)]=_0x382fcf[_0x344395(0x402)](_0x303bb6),_0x4af7a0[_0x344395(0x316)]=_0x382fcf[_0x344395(0x478)](_0x303bb6);}()),_0x20e9ea[_0x3bad84(0x36f)];}));}(_0x4a9663)),_0x4a9663[_0x16f1ae(0x3f1)];}var _0x32e1e3={'exports':{}},_0x3fe961;function _0x335fe9(){const _0x349286=_0xd21782;return _0x3fe961||(_0x3fe961=0x1,function(_0xfd4b88,_0x111fb1){(function(_0x21beeb,_0x30011d){const _0x5d53d4=_0x49f2;_0xfd4b88[_0x5d53d4(0x3f1)]=_0x30011d(_0x3156b1());}(_0x1034db,function(_0x4a8b81){(function(){const _0xbef256=_0x49f2;var _0x52a8a4=_0x4a8b81,_0x85436e=_0x52a8a4[_0xbef256(0x5bc)],_0x3588a6=_0x85436e[_0xbef256(0x28d)],_0x2dadbe=_0x52a8a4[_0xbef256(0x307)],_0x434277=_0x2dadbe['Utf8'],_0x1a2105=_0x52a8a4[_0xbef256(0x3cb)];_0x1a2105[_0xbef256(0x21e)]=_0x3588a6[_0xbef256(0x25a)]({'init':function(_0x2adc65,_0x116ac0){const _0x26c0c1=_0xbef256;_0x2adc65=this['_hasher']=new _0x2adc65[(_0x26c0c1(0x2e5))](),typeof _0x116ac0==_0x26c0c1(0x441)&&(_0x116ac0=_0x434277[_0x26c0c1(0x48e)](_0x116ac0));var _0x4123ca=_0x2adc65[_0x26c0c1(0x336)],_0x4a831d=_0x4123ca*0x4;_0x116ac0[_0x26c0c1(0x43b)]>_0x4a831d&&(_0x116ac0=_0x2adc65[_0x26c0c1(0x226)](_0x116ac0)),_0x116ac0[_0x26c0c1(0x19c)]();for(var _0x3bec89=this[_0x26c0c1(0x4e1)]=_0x116ac0['clone'](),_0x1daff1=this[_0x26c0c1(0x1e9)]=_0x116ac0['clone'](),_0x2c3c0f=_0x3bec89['words'],_0x2c4ab0=_0x1daff1[_0x26c0c1(0x257)],_0x269f7e=0x0;_0x269f7e<_0x4123ca;_0x269f7e++)_0x2c3c0f[_0x269f7e]^=0x5c5c5c5c,_0x2c4ab0[_0x269f7e]^=0x36363636;_0x3bec89[_0x26c0c1(0x43b)]=_0x1daff1[_0x26c0c1(0x43b)]=_0x4a831d,this[_0x26c0c1(0x525)]();},'reset':function(){const _0x43ffc2=_0xbef256;var _0x42b6e3=this[_0x43ffc2(0x433)];_0x42b6e3[_0x43ffc2(0x525)](),_0x42b6e3[_0x43ffc2(0x5f4)](this[_0x43ffc2(0x1e9)]);},'update':function(_0xa787a5){const _0x21c591=_0xbef256;return this[_0x21c591(0x433)][_0x21c591(0x5f4)](_0xa787a5),this;},'finalize':function(_0x174536){const _0x435c4a=_0xbef256;var _0x502725=this[_0x435c4a(0x433)],_0x326747=_0x502725[_0x435c4a(0x226)](_0x174536);_0x502725['reset']();var _0x569b7a=_0x502725['finalize'](this[_0x435c4a(0x4e1)][_0x435c4a(0x4be)]()['concat'](_0x326747));return _0x569b7a;}});}());}));}(_0x32e1e3)),_0x32e1e3[_0x349286(0x3f1)];}var _0x529bf9;function _0x2a2279(){const _0x234f45=_0xd21782;return _0x529bf9||(_0x529bf9=0x1,function(_0x3f3d05,_0x4023e4){(function(_0x9b5f5f,_0x4a0f91,_0x382e82){const _0x47d0ca=_0x49f2;_0x3f3d05[_0x47d0ca(0x3f1)]=_0x4a0f91(_0x3156b1(),_0x2fef77(),_0x335fe9());}(_0x1034db,function(_0x3ba6cf){const _0x1a0569=_0x49f2;return(function(){const _0x5606ca=_0x49f2;var _0x5cbc79=_0x3ba6cf,_0x2853c1=_0x5cbc79['lib'],_0x31f14c=_0x2853c1[_0x5606ca(0x28d)],_0xde99c9=_0x2853c1['WordArray'],_0x1a73eb=_0x5cbc79[_0x5606ca(0x3cb)],_0x1eab6d=_0x1a73eb[_0x5606ca(0x3b0)],_0x5041e0=_0x1a73eb['EvpKDF']=_0x31f14c[_0x5606ca(0x25a)]({'cfg':_0x31f14c['extend']({'keySize':0x80/0x20,'hasher':_0x1eab6d,'iterations':0x1}),'init':function(_0x5b1d82){const _0x28f755=_0x5606ca;this['cfg']=this[_0x28f755(0x558)][_0x28f755(0x25a)](_0x5b1d82);},'compute':function(_0x4400cd,_0x187892){const _0xc4bc6e=_0x5606ca;for(var _0x742d28,_0xefed0f=this[_0xc4bc6e(0x558)],_0x1e1b07=_0xefed0f[_0xc4bc6e(0x291)]['create'](),_0xc83beb=_0xde99c9[_0xc4bc6e(0x23a)](),_0x2eb742=_0xc83beb[_0xc4bc6e(0x257)],_0x429c3d=_0xefed0f[_0xc4bc6e(0x300)],_0x104dc9=_0xefed0f[_0xc4bc6e(0x408)];_0x2eb742['length']<_0x429c3d;){_0x742d28&&_0x1e1b07[_0xc4bc6e(0x5f4)](_0x742d28),_0x742d28=_0x1e1b07[_0xc4bc6e(0x5f4)](_0x4400cd)[_0xc4bc6e(0x226)](_0x187892),_0x1e1b07[_0xc4bc6e(0x525)]();for(var _0x5dac16=0x1;_0x5dac16<_0x104dc9;_0x5dac16++)_0x742d28=_0x1e1b07['finalize'](_0x742d28),_0x1e1b07[_0xc4bc6e(0x525)]();_0xc83beb[_0xc4bc6e(0x274)](_0x742d28);}return _0xc83beb['sigBytes']=_0x429c3d*0x4,_0xc83beb;}});_0x5cbc79[_0x5606ca(0x549)]=function(_0x362538,_0x43c4c3,_0x642fa){return _0x5041e0['create'](_0x642fa)['compute'](_0x362538,_0x43c4c3);};}()),_0x3ba6cf[_0x1a0569(0x549)];}));}(_0x446618)),_0x446618[_0x234f45(0x3f1)];}var _0x2bb251={'exports':{}},_0x40a881;function _0x1615e4(){const _0x5d887f=_0xd21782;return _0x40a881||(_0x40a881=0x1,function(_0x96c998,_0xc094ac){(function(_0x3e12c4,_0x14117c,_0x4c96fb){const _0x12874a=_0x49f2;_0x96c998[_0x12874a(0x3f1)]=_0x14117c(_0x3156b1(),_0x2a2279());}(_0x1034db,function(_0x53270d){const _0x29f6d1=_0x49f2;_0x53270d['lib'][_0x29f6d1(0x3e2)]||function(_0x2ef99c){const _0x16150f=_0x29f6d1;var _0x39fe92=_0x53270d,_0x47d95e=_0x39fe92[_0x16150f(0x5bc)],_0xb4273f=_0x47d95e[_0x16150f(0x28d)],_0x42ebed=_0x47d95e['WordArray'],_0x194f12=_0x47d95e[_0x16150f(0x527)],_0x56147f=_0x39fe92[_0x16150f(0x307)];_0x56147f[_0x16150f(0x1b2)];var _0x216fb9=_0x56147f[_0x16150f(0x243)],_0x4e863d=_0x39fe92[_0x16150f(0x3cb)],_0x4fb2d0=_0x4e863d['EvpKDF'],_0x3d0c80=_0x47d95e['Cipher']=_0x194f12['extend']({'cfg':_0xb4273f['extend'](),'createEncryptor':function(_0x52b725,_0x17f44a){const _0x463ad5=_0x16150f;return this[_0x463ad5(0x23a)](this[_0x463ad5(0x28f)],_0x52b725,_0x17f44a);},'createDecryptor':function(_0x2eb3db,_0xd92952){const _0x347825=_0x16150f;return this[_0x347825(0x23a)](this[_0x347825(0x321)],_0x2eb3db,_0xd92952);},'init':function(_0x27885b,_0x3ec480,_0x5ca589){const _0x5ee0e9=_0x16150f;this[_0x5ee0e9(0x558)]=this[_0x5ee0e9(0x558)][_0x5ee0e9(0x25a)](_0x5ca589),this[_0x5ee0e9(0x52b)]=_0x27885b,this[_0x5ee0e9(0x4b4)]=_0x3ec480,this['reset']();},'reset':function(){const _0x43acc0=_0x16150f;_0x194f12[_0x43acc0(0x525)][_0x43acc0(0x3aa)](this),this['_doReset']();},'process':function(_0x309751){const _0x4e275f=_0x16150f;return this[_0x4e275f(0x47e)](_0x309751),this[_0x4e275f(0x4f2)]();},'finalize':function(_0x142cec){const _0xff8b5=_0x16150f;_0x142cec&&this[_0xff8b5(0x47e)](_0x142cec);var _0x27f6ed=this[_0xff8b5(0x2d8)]();return _0x27f6ed;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4cdb12(_0x51b3eb){return typeof _0x51b3eb=='string'?_0x311fe4:_0x10cbc1;}return function(_0x47f037){return{'encrypt':function(_0xcf12be,_0x4abca0,_0x20894a){const _0x28373f=_0x49f2;return _0x4cdb12(_0x4abca0)[_0x28373f(0x2c4)](_0x47f037,_0xcf12be,_0x4abca0,_0x20894a);},'decrypt':function(_0x5a97f9,_0x490df8,_0x376cd2){const _0x575519=_0x49f2;return _0x4cdb12(_0x490df8)[_0x575519(0x35a)](_0x47f037,_0x5a97f9,_0x490df8,_0x376cd2);}};};}())});_0x47d95e[_0x16150f(0x29e)]=_0x3d0c80[_0x16150f(0x25a)]({'_doFinalize':function(){const _0x3ba4c0=_0x16150f;var _0x27a349=this[_0x3ba4c0(0x4f2)](!0x0);return _0x27a349;},'blockSize':0x1});var _0x4ebe6a=_0x39fe92[_0x16150f(0x297)]={},_0x2af316=_0x47d95e['BlockCipherMode']=_0xb4273f[_0x16150f(0x25a)]({'createEncryptor':function(_0x149096,_0x47bcf1){const _0x4166ed=_0x16150f;return this[_0x4166ed(0x2cc)][_0x4166ed(0x23a)](_0x149096,_0x47bcf1);},'createDecryptor':function(_0x1818a9,_0x89136a){const _0x154e4a=_0x16150f;return this[_0x154e4a(0x489)][_0x154e4a(0x23a)](_0x1818a9,_0x89136a);},'init':function(_0x45b37e,_0x13a27e){this['_cipher']=_0x45b37e,this['_iv']=_0x13a27e;}}),_0x5cfd77=_0x4ebe6a[_0x16150f(0x4bd)]=(function(){const _0x1d1c6f=_0x16150f;var _0x31d95f=_0x2af316[_0x1d1c6f(0x25a)]();_0x31d95f[_0x1d1c6f(0x2cc)]=_0x31d95f[_0x1d1c6f(0x25a)]({'processBlock':function(_0x34253f,_0x168100){const _0x3f3ec3=_0x1d1c6f;var _0x816c4e=this['_cipher'],_0x1c515a=_0x816c4e[_0x3f3ec3(0x336)];_0x1c9ffa[_0x3f3ec3(0x3aa)](this,_0x34253f,_0x168100,_0x1c515a),_0x816c4e[_0x3f3ec3(0x40c)](_0x34253f,_0x168100),this[_0x3f3ec3(0x198)]=_0x34253f[_0x3f3ec3(0x5af)](_0x168100,_0x168100+_0x1c515a);}}),_0x31d95f[_0x1d1c6f(0x489)]=_0x31d95f[_0x1d1c6f(0x25a)]({'processBlock':function(_0x3f99a5,_0x1470d5){const _0x14f395=_0x1d1c6f;var _0x298039=this[_0x14f395(0x587)],_0x59b4cc=_0x298039[_0x14f395(0x336)],_0x33bc1a=_0x3f99a5[_0x14f395(0x5af)](_0x1470d5,_0x1470d5+_0x59b4cc);_0x298039['decryptBlock'](_0x3f99a5,_0x1470d5),_0x1c9ffa[_0x14f395(0x3aa)](this,_0x3f99a5,_0x1470d5,_0x59b4cc),this[_0x14f395(0x198)]=_0x33bc1a;}});function _0x1c9ffa(_0x3c6667,_0xbafde4,_0x2c841){const _0x273614=_0x1d1c6f;var _0x2804c5,_0x109db8=this[_0x273614(0x3dd)];_0x109db8?(_0x2804c5=_0x109db8,this['_iv']=_0x2ef99c):_0x2804c5=this[_0x273614(0x198)];for(var _0x3db495=0x0;_0x3db495<_0x2c841;_0x3db495++)_0x3c6667[_0xbafde4+_0x3db495]^=_0x2804c5[_0x3db495];}return _0x31d95f;}()),_0x428d5a=_0x39fe92[_0x16150f(0x606)]={},_0xeab225=_0x428d5a[_0x16150f(0x5c2)]={'pad':function(_0x5df4a5,_0x894ce7){const _0x394d72=_0x16150f;for(var _0x409f18=_0x894ce7*0x4,_0x3a6c08=_0x409f18-_0x5df4a5['sigBytes']%_0x409f18,_0x187a91=_0x3a6c08<<0x18|_0x3a6c08<<0x10|_0x3a6c08<<0x8|_0x3a6c08,_0x4340c1=[],_0x3a719c=0x0;_0x3a719c<_0x3a6c08;_0x3a719c+=0x4)_0x4340c1[_0x394d72(0x42a)](_0x187a91);var _0x1518b9=_0x42ebed[_0x394d72(0x23a)](_0x4340c1,_0x3a6c08);_0x5df4a5[_0x394d72(0x274)](_0x1518b9);},'unpad':function(_0x377d0e){const _0x282fae=_0x16150f;var _0x254731=_0x377d0e[_0x282fae(0x257)][_0x377d0e[_0x282fae(0x43b)]-0x1>>>0x2]&0xff;_0x377d0e[_0x282fae(0x43b)]-=_0x254731;}};_0x47d95e[_0x16150f(0x180)]=_0x3d0c80['extend']({'cfg':_0x3d0c80['cfg'][_0x16150f(0x25a)]({'mode':_0x5cfd77,'padding':_0xeab225}),'reset':function(){const _0x24f1d1=_0x16150f;var _0x2a5fab;_0x3d0c80['reset'][_0x24f1d1(0x3aa)](this);var _0x5d9dae=this[_0x24f1d1(0x558)],_0x326407=_0x5d9dae['iv'],_0x19cb7a=_0x5d9dae[_0x24f1d1(0x297)];this[_0x24f1d1(0x52b)]==this['_ENC_XFORM_MODE']?_0x2a5fab=_0x19cb7a[_0x24f1d1(0x25e)]:(_0x2a5fab=_0x19cb7a[_0x24f1d1(0x459)],this[_0x24f1d1(0x4af)]=0x1),this[_0x24f1d1(0x223)]&&this[_0x24f1d1(0x223)][_0x24f1d1(0x548)]==_0x2a5fab?this[_0x24f1d1(0x223)]['init'](this,_0x326407&&_0x326407[_0x24f1d1(0x257)]):(this[_0x24f1d1(0x223)]=_0x2a5fab['call'](_0x19cb7a,this,_0x326407&&_0x326407[_0x24f1d1(0x257)]),this[_0x24f1d1(0x223)][_0x24f1d1(0x548)]=_0x2a5fab);},'_doProcessBlock':function(_0x2c733,_0x5ae00e){this['_mode']['processBlock'](_0x2c733,_0x5ae00e);},'_doFinalize':function(){const _0x46c1f2=_0x16150f;var _0x233e64,_0x5a9988=this[_0x46c1f2(0x558)][_0x46c1f2(0x37f)];return this[_0x46c1f2(0x52b)]==this[_0x46c1f2(0x28f)]?(_0x5a9988[_0x46c1f2(0x606)](this[_0x46c1f2(0x500)],this[_0x46c1f2(0x336)]),_0x233e64=this[_0x46c1f2(0x4f2)](!0x0)):(_0x233e64=this[_0x46c1f2(0x4f2)](!0x0),_0x5a9988[_0x46c1f2(0x1d7)](_0x233e64)),_0x233e64;},'blockSize':0x80/0x20});var _0x38fb9f=_0x47d95e[_0x16150f(0x573)]=_0xb4273f[_0x16150f(0x25a)]({'init':function(_0x192a27){const _0x5c1b33=_0x16150f;this[_0x5c1b33(0x1f1)](_0x192a27);},'toString':function(_0x35b62d){const _0x56394f=_0x16150f;return(_0x35b62d||this[_0x56394f(0x32b)])[_0x56394f(0x2e3)](this);}}),_0x4d62d5=_0x39fe92[_0x16150f(0x357)]={},_0x28a5b2=_0x4d62d5['OpenSSL']={'stringify':function(_0x43b727){const _0x3c6bc1=_0x16150f;var _0x17b77a,_0x2b25bd=_0x43b727[_0x3c6bc1(0x437)],_0x27c9dc=_0x43b727[_0x3c6bc1(0x50b)];return _0x27c9dc?_0x17b77a=_0x42ebed['create']([0x53616c74,0x65645f5f])[_0x3c6bc1(0x274)](_0x27c9dc)['concat'](_0x2b25bd):_0x17b77a=_0x2b25bd,_0x17b77a[_0x3c6bc1(0x301)](_0x216fb9);},'parse':function(_0x56b117){const _0x5965f7=_0x16150f;var _0x17ee11,_0x1e17e5=_0x216fb9[_0x5965f7(0x48e)](_0x56b117),_0x2680f8=_0x1e17e5[_0x5965f7(0x257)];return _0x2680f8[0x0]==0x53616c74&&_0x2680f8[0x1]==0x65645f5f&&(_0x17ee11=_0x42ebed['create'](_0x2680f8[_0x5965f7(0x5af)](0x2,0x4)),_0x2680f8[_0x5965f7(0x38a)](0x0,0x4),_0x1e17e5[_0x5965f7(0x43b)]-=0x10),_0x38fb9f[_0x5965f7(0x23a)]({'ciphertext':_0x1e17e5,'salt':_0x17ee11});}},_0x10cbc1=_0x47d95e[_0x16150f(0x1b3)]=_0xb4273f[_0x16150f(0x25a)]({'cfg':_0xb4273f[_0x16150f(0x25a)]({'format':_0x28a5b2}),'encrypt':function(_0x15944c,_0x3a24d5,_0x2b8dcc,_0x3eb369){const _0x40b8a2=_0x16150f;_0x3eb369=this[_0x40b8a2(0x558)][_0x40b8a2(0x25a)](_0x3eb369);var _0x106423=_0x15944c[_0x40b8a2(0x25e)](_0x2b8dcc,_0x3eb369),_0x1f9431=_0x106423[_0x40b8a2(0x226)](_0x3a24d5),_0x1f45b8=_0x106423[_0x40b8a2(0x558)];return _0x38fb9f['create']({'ciphertext':_0x1f9431,'key':_0x2b8dcc,'iv':_0x1f45b8['iv'],'algorithm':_0x15944c,'mode':_0x1f45b8[_0x40b8a2(0x297)],'padding':_0x1f45b8[_0x40b8a2(0x37f)],'blockSize':_0x15944c[_0x40b8a2(0x336)],'formatter':_0x3eb369[_0x40b8a2(0x357)]});},'decrypt':function(_0x20944f,_0x2b2d39,_0x1239c3,_0xa65af5){const _0x75bece=_0x16150f;_0xa65af5=this['cfg'][_0x75bece(0x25a)](_0xa65af5),_0x2b2d39=this[_0x75bece(0x458)](_0x2b2d39,_0xa65af5[_0x75bece(0x357)]);var _0x5a16ff=_0x20944f[_0x75bece(0x459)](_0x1239c3,_0xa65af5)[_0x75bece(0x226)](_0x2b2d39[_0x75bece(0x437)]);return _0x5a16ff;},'_parse':function(_0xc5236,_0x4878f9){const _0x5da5de=_0x16150f;return typeof _0xc5236==_0x5da5de(0x441)?_0x4878f9[_0x5da5de(0x48e)](_0xc5236,this):_0xc5236;}}),_0x581f48=_0x39fe92[_0x16150f(0x5c1)]={},_0x1aa7c4=_0x581f48[_0x16150f(0x5d3)]={'execute':function(_0x2f15ac,_0x1fcd0c,_0x3a0a91,_0x45f703,_0x5b0b65){const _0x54801e=_0x16150f;if(_0x45f703||(_0x45f703=_0x42ebed[_0x54801e(0x216)](0x40/0x8)),_0x5b0b65)var _0x392c6d=_0x4fb2d0[_0x54801e(0x23a)]({'keySize':_0x1fcd0c+_0x3a0a91,'hasher':_0x5b0b65})['compute'](_0x2f15ac,_0x45f703);else var _0x392c6d=_0x4fb2d0['create']({'keySize':_0x1fcd0c+_0x3a0a91})['compute'](_0x2f15ac,_0x45f703);var _0x2ae60f=_0x42ebed['create'](_0x392c6d['words'][_0x54801e(0x5af)](_0x1fcd0c),_0x3a0a91*0x4);return _0x392c6d[_0x54801e(0x43b)]=_0x1fcd0c*0x4,_0x38fb9f['create']({'key':_0x392c6d,'iv':_0x2ae60f,'salt':_0x45f703});}},_0x311fe4=_0x47d95e[_0x16150f(0x1e5)]=_0x10cbc1[_0x16150f(0x25a)]({'cfg':_0x10cbc1['cfg'][_0x16150f(0x25a)]({'kdf':_0x1aa7c4}),'encrypt':function(_0x430919,_0x8422db,_0x477b94,_0x97315c){const _0x40f511=_0x16150f;_0x97315c=this['cfg'][_0x40f511(0x25a)](_0x97315c);var _0x44b3c8=_0x97315c[_0x40f511(0x5c1)][_0x40f511(0x51b)](_0x477b94,_0x430919[_0x40f511(0x300)],_0x430919[_0x40f511(0x36c)],_0x97315c[_0x40f511(0x50b)],_0x97315c[_0x40f511(0x291)]);_0x97315c['iv']=_0x44b3c8['iv'];var _0x2259c9=_0x10cbc1[_0x40f511(0x2c4)]['call'](this,_0x430919,_0x8422db,_0x44b3c8[_0x40f511(0x597)],_0x97315c);return _0x2259c9[_0x40f511(0x1f1)](_0x44b3c8),_0x2259c9;},'decrypt':function(_0xdc0390,_0x3aaa3d,_0x279cb2,_0x17dd6e){const _0x2de7bc=_0x16150f;_0x17dd6e=this[_0x2de7bc(0x558)][_0x2de7bc(0x25a)](_0x17dd6e),_0x3aaa3d=this[_0x2de7bc(0x458)](_0x3aaa3d,_0x17dd6e[_0x2de7bc(0x357)]);var _0xe2fc02=_0x17dd6e[_0x2de7bc(0x5c1)][_0x2de7bc(0x51b)](_0x279cb2,_0xdc0390['keySize'],_0xdc0390[_0x2de7bc(0x36c)],_0x3aaa3d['salt'],_0x17dd6e[_0x2de7bc(0x291)]);_0x17dd6e['iv']=_0xe2fc02['iv'];var _0xc67bb3=_0x10cbc1[_0x2de7bc(0x35a)][_0x2de7bc(0x3aa)](this,_0xdc0390,_0x3aaa3d,_0xe2fc02[_0x2de7bc(0x597)],_0x17dd6e);return _0xc67bb3;}});}();}));}(_0x2bb251)),_0x2bb251[_0x5d887f(0x3f1)];}(function(_0x54615a,_0x1768e6){(function(_0x49b018,_0x4bf229,_0x32151b){const _0x516117=_0x49f2;_0x54615a[_0x516117(0x3f1)]=_0x4bf229(_0x3156b1(),_0x2eb87b(),_0x142311(),_0x2a2279(),_0x1615e4());}(_0x1034db,function(_0x51d3ea){return(function(){const _0x1e625d=_0x49f2;var _0x35d78b=_0x51d3ea,_0x5032ef=_0x35d78b[_0x1e625d(0x5bc)],_0x327e2f=_0x5032ef[_0x1e625d(0x180)],_0x326ae0=_0x35d78b[_0x1e625d(0x3cb)],_0x2afe90=[],_0x2ce113=[],_0x227083=[],_0x1dfe55=[],_0x43e8fd=[],_0x2d7150=[],_0x31bb3b=[],_0x19ad24=[],_0x56c587=[],_0x326ffb=[];(function(){for(var _0x40085a=[],_0x4b8c86=0x0;_0x4b8c86<0x100;_0x4b8c86++)_0x4b8c86<0x80?_0x40085a[_0x4b8c86]=_0x4b8c86<<0x1:_0x40085a[_0x4b8c86]=_0x4b8c86<<0x1^0x11b;for(var _0xadd3d5=0x0,_0x59b779=0x0,_0x4b8c86=0x0;_0x4b8c86<0x100;_0x4b8c86++){var _0x45ca59=_0x59b779^_0x59b779<<0x1^_0x59b779<<0x2^_0x59b779<<0x3^_0x59b779<<0x4;_0x45ca59=_0x45ca59>>>0x8^_0x45ca59&0xff^0x63,_0x2afe90[_0xadd3d5]=_0x45ca59,_0x2ce113[_0x45ca59]=_0xadd3d5;var _0x2f1ade=_0x40085a[_0xadd3d5],_0x354792=_0x40085a[_0x2f1ade],_0xc0b5d9=_0x40085a[_0x354792],_0x8970cb=_0x40085a[_0x45ca59]*0x101^_0x45ca59*0x1010100;_0x227083[_0xadd3d5]=_0x8970cb<<0x18|_0x8970cb>>>0x8,_0x1dfe55[_0xadd3d5]=_0x8970cb<<0x10|_0x8970cb>>>0x10,_0x43e8fd[_0xadd3d5]=_0x8970cb<<0x8|_0x8970cb>>>0x18,_0x2d7150[_0xadd3d5]=_0x8970cb;var _0x8970cb=_0xc0b5d9*0x1010101^_0x354792*0x10001^_0x2f1ade*0x101^_0xadd3d5*0x1010100;_0x31bb3b[_0x45ca59]=_0x8970cb<<0x18|_0x8970cb>>>0x8,_0x19ad24[_0x45ca59]=_0x8970cb<<0x10|_0x8970cb>>>0x10,_0x56c587[_0x45ca59]=_0x8970cb<<0x8|_0x8970cb>>>0x18,_0x326ffb[_0x45ca59]=_0x8970cb,_0xadd3d5?(_0xadd3d5=_0x2f1ade^_0x40085a[_0x40085a[_0x40085a[_0xc0b5d9^_0x2f1ade]]],_0x59b779^=_0x40085a[_0x40085a[_0x59b779]]):_0xadd3d5=_0x59b779=0x1;}}());var _0x3f0877=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4f03bc=_0x326ae0[_0x1e625d(0x27e)]=_0x327e2f[_0x1e625d(0x25a)]({'_doReset':function(){const _0x317b3b=_0x1e625d;var _0x245fe4;if(!(this[_0x317b3b(0x254)]&&this[_0x317b3b(0x256)]===this[_0x317b3b(0x4b4)])){for(var _0x241dfa=this['_keyPriorReset']=this['_key'],_0x41bacd=_0x241dfa[_0x317b3b(0x257)],_0x3ff608=_0x241dfa[_0x317b3b(0x43b)]/0x4,_0x51312b=this[_0x317b3b(0x254)]=_0x3ff608+0x6,_0x59e842=(_0x51312b+0x1)*0x4,_0x5a43dc=this[_0x317b3b(0x341)]=[],_0x2e7f38=0x0;_0x2e7f38<_0x59e842;_0x2e7f38++)_0x2e7f38<_0x3ff608?_0x5a43dc[_0x2e7f38]=_0x41bacd[_0x2e7f38]:(_0x245fe4=_0x5a43dc[_0x2e7f38-0x1],_0x2e7f38%_0x3ff608?_0x3ff608>0x6&&_0x2e7f38%_0x3ff608==0x4&&(_0x245fe4=_0x2afe90[_0x245fe4>>>0x18]<<0x18|_0x2afe90[_0x245fe4>>>0x10&0xff]<<0x10|_0x2afe90[_0x245fe4>>>0x8&0xff]<<0x8|_0x2afe90[_0x245fe4&0xff]):(_0x245fe4=_0x245fe4<<0x8|_0x245fe4>>>0x18,_0x245fe4=_0x2afe90[_0x245fe4>>>0x18]<<0x18|_0x2afe90[_0x245fe4>>>0x10&0xff]<<0x10|_0x2afe90[_0x245fe4>>>0x8&0xff]<<0x8|_0x2afe90[_0x245fe4&0xff],_0x245fe4^=_0x3f0877[_0x2e7f38/_0x3ff608|0x0]<<0x18),_0x5a43dc[_0x2e7f38]=_0x5a43dc[_0x2e7f38-_0x3ff608]^_0x245fe4);for(var _0x3c4720=this[_0x317b3b(0x5a3)]=[],_0x118e2a=0x0;_0x118e2a<_0x59e842;_0x118e2a++){var _0x2e7f38=_0x59e842-_0x118e2a;if(_0x118e2a%0x4)var _0x245fe4=_0x5a43dc[_0x2e7f38];else var _0x245fe4=_0x5a43dc[_0x2e7f38-0x4];_0x118e2a<0x4||_0x2e7f38<=0x4?_0x3c4720[_0x118e2a]=_0x245fe4:_0x3c4720[_0x118e2a]=_0x31bb3b[_0x2afe90[_0x245fe4>>>0x18]]^_0x19ad24[_0x2afe90[_0x245fe4>>>0x10&0xff]]^_0x56c587[_0x2afe90[_0x245fe4>>>0x8&0xff]]^_0x326ffb[_0x2afe90[_0x245fe4&0xff]];}}},'encryptBlock':function(_0x46662c,_0x5ab014){const _0x514ae1=_0x1e625d;this[_0x514ae1(0x3a2)](_0x46662c,_0x5ab014,this[_0x514ae1(0x341)],_0x227083,_0x1dfe55,_0x43e8fd,_0x2d7150,_0x2afe90);},'decryptBlock':function(_0x356556,_0x27555c){const _0x1a2f47=_0x1e625d;var _0x598456=_0x356556[_0x27555c+0x1];_0x356556[_0x27555c+0x1]=_0x356556[_0x27555c+0x3],_0x356556[_0x27555c+0x3]=_0x598456,this[_0x1a2f47(0x3a2)](_0x356556,_0x27555c,this['_invKeySchedule'],_0x31bb3b,_0x19ad24,_0x56c587,_0x326ffb,_0x2ce113);var _0x598456=_0x356556[_0x27555c+0x1];_0x356556[_0x27555c+0x1]=_0x356556[_0x27555c+0x3],_0x356556[_0x27555c+0x3]=_0x598456;},'_doCryptBlock':function(_0x3ec28d,_0x2902d8,_0x2fdbfa,_0x355842,_0x560d56,_0x4e06f8,_0xdaf461,_0x5e237a){const _0x4b3866=_0x1e625d;for(var _0x31c775=this[_0x4b3866(0x254)],_0x3cdfdf=_0x3ec28d[_0x2902d8]^_0x2fdbfa[0x0],_0x369954=_0x3ec28d[_0x2902d8+0x1]^_0x2fdbfa[0x1],_0x282146=_0x3ec28d[_0x2902d8+0x2]^_0x2fdbfa[0x2],_0x4dfd37=_0x3ec28d[_0x2902d8+0x3]^_0x2fdbfa[0x3],_0x65eb61=0x4,_0xaad299=0x1;_0xaad299<_0x31c775;_0xaad299++){var _0x426091=_0x355842[_0x3cdfdf>>>0x18]^_0x560d56[_0x369954>>>0x10&0xff]^_0x4e06f8[_0x282146>>>0x8&0xff]^_0xdaf461[_0x4dfd37&0xff]^_0x2fdbfa[_0x65eb61++],_0x1a0f72=_0x355842[_0x369954>>>0x18]^_0x560d56[_0x282146>>>0x10&0xff]^_0x4e06f8[_0x4dfd37>>>0x8&0xff]^_0xdaf461[_0x3cdfdf&0xff]^_0x2fdbfa[_0x65eb61++],_0xdef9aa=_0x355842[_0x282146>>>0x18]^_0x560d56[_0x4dfd37>>>0x10&0xff]^_0x4e06f8[_0x3cdfdf>>>0x8&0xff]^_0xdaf461[_0x369954&0xff]^_0x2fdbfa[_0x65eb61++],_0x2544cb=_0x355842[_0x4dfd37>>>0x18]^_0x560d56[_0x3cdfdf>>>0x10&0xff]^_0x4e06f8[_0x369954>>>0x8&0xff]^_0xdaf461[_0x282146&0xff]^_0x2fdbfa[_0x65eb61++];_0x3cdfdf=_0x426091,_0x369954=_0x1a0f72,_0x282146=_0xdef9aa,_0x4dfd37=_0x2544cb;}var _0x426091=(_0x5e237a[_0x3cdfdf>>>0x18]<<0x18|_0x5e237a[_0x369954>>>0x10&0xff]<<0x10|_0x5e237a[_0x282146>>>0x8&0xff]<<0x8|_0x5e237a[_0x4dfd37&0xff])^_0x2fdbfa[_0x65eb61++],_0x1a0f72=(_0x5e237a[_0x369954>>>0x18]<<0x18|_0x5e237a[_0x282146>>>0x10&0xff]<<0x10|_0x5e237a[_0x4dfd37>>>0x8&0xff]<<0x8|_0x5e237a[_0x3cdfdf&0xff])^_0x2fdbfa[_0x65eb61++],_0xdef9aa=(_0x5e237a[_0x282146>>>0x18]<<0x18|_0x5e237a[_0x4dfd37>>>0x10&0xff]<<0x10|_0x5e237a[_0x3cdfdf>>>0x8&0xff]<<0x8|_0x5e237a[_0x369954&0xff])^_0x2fdbfa[_0x65eb61++],_0x2544cb=(_0x5e237a[_0x4dfd37>>>0x18]<<0x18|_0x5e237a[_0x3cdfdf>>>0x10&0xff]<<0x10|_0x5e237a[_0x369954>>>0x8&0xff]<<0x8|_0x5e237a[_0x282146&0xff])^_0x2fdbfa[_0x65eb61++];_0x3ec28d[_0x2902d8]=_0x426091,_0x3ec28d[_0x2902d8+0x1]=_0x1a0f72,_0x3ec28d[_0x2902d8+0x2]=_0xdef9aa,_0x3ec28d[_0x2902d8+0x3]=_0x2544cb;},'keySize':0x100/0x20});_0x35d78b['AES']=_0x327e2f['_createHelper'](_0x4f03bc);}()),_0x51d3ea['AES'];}));}(_0x5ed12b));var _0x22a7e4=_0x5ed12b['exports'];const _0x3d2dc7=_0x995309(_0x22a7e4);var _0x57ce17=_0x2eb87b();const _0x3e4073=_0x995309(_0x57ce17);var _0x395a33={'exports':{}};(function(_0x3c20de,_0x4d716d){(function(_0x238c88,_0x338d46){const _0x5c2fff=_0x49f2;_0x3c20de[_0x5c2fff(0x3f1)]=_0x338d46(_0x3156b1());}(_0x1034db,function(_0x5292d5){const _0x59cedd=_0x49f2;return _0x5292d5['enc'][_0x59cedd(0x1b2)];}));}(_0x395a33));var _0x29ff0e=_0x395a33['exports'];const _0x2b3c9a=_0x995309(_0x29ff0e);var _0x4681e8={'exports':{}};(function(_0x49a0cb,_0x27bab2){(function(_0x67401f,_0x3865ef){const _0x1e0da8=_0x49f2;_0x49a0cb[_0x1e0da8(0x3f1)]=_0x3865ef(_0x3156b1());}(_0x1034db,function(_0x44b716){const _0x3c724f=_0x49f2;return(function(){const _0x51feb3=_0x49f2;if(typeof ArrayBuffer==_0x51feb3(0x60f)){var _0x377a1c=_0x44b716,_0x1f0ebb=_0x377a1c[_0x51feb3(0x5bc)],_0x1e160c=_0x1f0ebb[_0x51feb3(0x3e6)],_0x246d14=_0x1e160c[_0x51feb3(0x2e5)],_0x3e8fb1=_0x1e160c[_0x51feb3(0x2e5)]=function(_0x283a64){const _0x1ad5c8=_0x51feb3;if(_0x283a64 instanceof ArrayBuffer&&(_0x283a64=new Uint8Array(_0x283a64)),(_0x283a64 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x283a64 instanceof Uint8ClampedArray||_0x283a64 instanceof Int16Array||_0x283a64 instanceof Uint16Array||_0x283a64 instanceof Int32Array||_0x283a64 instanceof Uint32Array||_0x283a64 instanceof Float32Array||_0x283a64 instanceof Float64Array)&&(_0x283a64=new Uint8Array(_0x283a64['buffer'],_0x283a64[_0x1ad5c8(0x388)],_0x283a64[_0x1ad5c8(0x554)])),_0x283a64 instanceof Uint8Array){for(var _0x5ecfcb=_0x283a64[_0x1ad5c8(0x554)],_0x4079d9=[],_0x143cdd=0x0;_0x143cdd<_0x5ecfcb;_0x143cdd++)_0x4079d9[_0x143cdd>>>0x2]|=_0x283a64[_0x143cdd]<<0x18-_0x143cdd%0x4*0x8;_0x246d14[_0x1ad5c8(0x3aa)](this,_0x4079d9,_0x5ecfcb);}else _0x246d14[_0x1ad5c8(0x4cd)](this,arguments);};_0x3e8fb1[_0x51feb3(0x3bb)]=_0x1e160c;}}()),_0x44b716['lib'][_0x3c724f(0x3e6)];}));}(_0x4681e8));var _0x777cc3=_0x4681e8[_0xd21782(0x3f1)];const _0x30e872=_0x995309(_0x777cc3);var _0x56ab3c={'exports':{}};(function(_0xdb3bed,_0x4e8ee0){(function(_0x31fa8b,_0x13b096,_0x1fc71a){const _0x25c83c=_0x49f2;_0xdb3bed[_0x25c83c(0x3f1)]=_0x13b096(_0x3156b1(),_0x1615e4());}(_0x1034db,function(_0x57a56c){const _0x606aaa=_0x49f2;return _0x57a56c[_0x606aaa(0x606)][_0x606aaa(0x3a9)]={'pad':function(){},'unpad':function(){}},_0x57a56c[_0x606aaa(0x606)][_0x606aaa(0x3a9)];}));}(_0x56ab3c));var _0x3c18bd=_0x56ab3c['exports'];const _0x2ca860=_0x995309(_0x3c18bd);function _0x142940(_0x31ec6b,_0xf9cfc4){const _0x1f93e0=_0xd21782,_0x302c3e=_0xf9cfc4-_0x31ec6b['length']%_0xf9cfc4,_0x425336=String['fromCharCode'](_0x302c3e)[_0x1f93e0(0x52f)](_0x302c3e);return _0x31ec6b+_0x425336;}function _0x2bea18(_0x34436b,_0x1c22b4){const _0x1ab83b=_0xd21782,_0x5e02a0=_0x30e872[_0x1ab83b(0x216)](0x10),_0x50c29f=_0x142940(_0x34436b,0x10),_0x410290=_0x3d2dc7[_0x1ab83b(0x2c4)](_0x2b3c9a[_0x1ab83b(0x48e)](_0x50c29f),_0x3e4073[_0x1ab83b(0x48e)](_0x1c22b4),{'iv':_0x5e02a0,'padding':_0x2ca860});return _0x5e02a0[_0x1ab83b(0x274)](_0x410290['ciphertext'])[_0x1ab83b(0x301)](_0x3e4073);}function _0x54a44b(){const _0x320021=_0xd21782,_0x13fc07=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x320021(0x5d5)];if(_0x13fc07){const _0x4d4fce={'time':Math[_0x320021(0x4e5)](Date[_0x320021(0x3bf)]()/0x3e8),'domain':location[_0x320021(0x469)]};return _0x2bea18(JSON[_0x320021(0x2e3)](_0x4d4fce),_0x13fc07);}}var _0x24e283=Object[_0xd21782(0x407)],_0x3c97e8=Object['getOwnPropertyDescriptor'],_0x2e6997=(_0x31b863,_0x10deb4,_0xd9dac,_0x367c84)=>{const _0x2492c8=_0xd21782;for(var _0x555565=_0x367c84>0x1?void 0x0:_0x367c84?_0x3c97e8(_0x10deb4,_0xd9dac):_0x10deb4,_0x3571af=_0x31b863[_0x2492c8(0x39d)]-0x1,_0x338f3d;_0x3571af>=0x0;_0x3571af--)(_0x338f3d=_0x31b863[_0x3571af])&&(_0x555565=(_0x367c84?_0x338f3d(_0x10deb4,_0xd9dac,_0x555565):_0x338f3d(_0x555565))||_0x555565);return _0x367c84&&_0x555565&&_0x24e283(_0x10deb4,_0xd9dac,_0x555565),_0x555565;},_0x4c6d95=(_0x32ec7c,_0x5f1351)=>(_0x34eca8,_0xa25550)=>_0x5f1351(_0x34eca8,_0xa25550,_0x32ec7c);let _0x2004de=class{constructor(_0x56b208){const _0x3b25f8=_0xd21782;this[_0x3b25f8(0x5ca)]=_0x56b208,this[_0x3b25f8(0x54c)]();}[_0xd21782(0x54c)](){const _0xd64453=_0xd21782;this[_0xd64453(0x5ca)][_0xd64453(0x5f7)]({'interceptor':(_0x337911,_0x4a019d)=>{const _0x30d205=_0xd64453,_0x3cde93=_0x337911[_0x30d205(0x583)],_0x215053=_0x54a44b();return _0x215053&&_0x3cde93['set'](_0x30d205(0x4ff),_0x215053),_0x4a019d(_0x337911);}});}};_0x2004de=_0x2e6997([_0x4c6d95(0x0,_0x33b6e0[_0xd21782(0x2d5)](_0x27fcf5[_0xd21782(0x2a9)]))],_0x2004de);var _0x2e2891=Object['defineProperty'],_0x150cfa=Object['getOwnPropertyDescriptor'],_0x4c0486=(_0x15f084,_0x45396c,_0x509217,_0x4d224b)=>{for(var _0x17e977=_0x4d224b>0x1?void 0x0:_0x4d224b?_0x150cfa(_0x45396c,_0x509217):_0x45396c,_0xb459c2=_0x15f084['length']-0x1,_0x3362a5;_0xb459c2>=0x0;_0xb459c2--)(_0x3362a5=_0x15f084[_0xb459c2])&&(_0x17e977=(_0x4d224b?_0x3362a5(_0x45396c,_0x509217,_0x17e977):_0x3362a5(_0x17e977))||_0x17e977);return _0x4d224b&&_0x17e977&&_0x2e2891(_0x45396c,_0x509217,_0x17e977),_0x17e977;},_0x1cde61=(_0x343612,_0x329232)=>(_0x31ee6f,_0x6efe4d)=>_0x329232(_0x31ee6f,_0x6efe4d,_0x343612);const _0x228ba4=[_0xd21782(0x613),_0xd21782(0x1cb),_0xd21782(0x5ad),_0xd21782(0x2e8),'image/bmp'],_0x2ec68a=0x5*0x400*0x400,_0x235406=_0xd21782(0x4c9),_0x1eddfd=_0xd21782(0x2ad),_0x4150c4='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x1228e5=_0xd21782(0x40d);_0x2e54f6[_0xd21782(0x39c)]=class{constructor(_0x27407a,_0x3c3449,_0x4f5be0){const _0x513add=_0xd21782;_0x398ae0(this,_0x513add(0x53e),0x0),_0x398ae0(this,'_change$',new _0x382682['Subject']()),_0x398ae0(this,'change$',this[_0x513add(0x5ef)]),_0x398ae0(this,_0x513add(0x552),new Map()),(this['_httpService']=_0x27407a,this[_0x513add(0x48a)]=_0x3c3449,this[_0x513add(0x40b)]=_0x4f5be0);}[_0xd21782(0x4ea)](_0xe7d505){const _0x3b838f=_0xd21782;this[_0x3b838f(0x53e)]=_0xe7d505,this[_0x3b838f(0x5ef)][_0x3b838f(0x2d0)](_0xe7d505);}[_0xd21782(0x1bb)](_0x37e247,_0x44c954){const _0x45884f=_0xd21782;if(_0x44c954===_0x1f0977[_0x45884f(0x1ca)][_0x45884f(0x182)]){const _0x265a01=new Image();return _0x265a01['src']=_0x37e247,_0x265a01;}return this[_0x45884f(0x552)][_0x45884f(0x3c8)](_0x37e247);}[_0xd21782(0x17a)](_0x3f8d72,_0x973052,_0x11eb90){const _0x15b642=_0xd21782;_0x973052===_0x1f0977[_0x15b642(0x1ca)]['BASE64']||_0x11eb90==null||this[_0x15b642(0x552)][_0x15b642(0x44b)](_0x3f8d72,_0x11eb90);}async['getImage'](_0x993db3){const _0x16602f=_0xd21782;try{const _0x2d32f8=this[_0x16602f(0x24e)](this[_0x16602f(0x49d)](),''+_0x993db3),_0x2678db=(await this['_httpService'][_0x16602f(0x3c8)](_0x2d32f8))[_0x16602f(0x286)];if(_0x2678db[_0x16602f(0x59a)]&&_0x2678db['error'][_0x16602f(0x1db)]===_0x42f684['OK']){const _0x3cf15b=new URL(_0x2678db[_0x16602f(0x448)],this['_getDownloadEndpointURL']())[_0x16602f(0x301)]();return Promise[_0x16602f(0x5da)](_0x3cf15b);}return Promise['reject'](_0x2678db[_0x16602f(0x59a)]);}catch(_0x8c3f9){return Promise[_0x16602f(0x20e)](_0x8c3f9);}}async[_0xd21782(0x3b9)](_0x5b1361){const _0x217466=_0xd21782;let _0xc5a72c='';if(!_0x228ba4['includes'](_0x5b1361[_0x217466(0x601)]))return this[_0x217466(0x1a5)](),Promise[_0x217466(0x20e)](new Error(_0x1f0977[_0x217466(0x2c5)][_0x217466(0x2c3)]));if(_0x5b1361['size']>_0x2ec68a)return this[_0x217466(0x1a5)](),Promise['reject'](new Error(_0x1f0977['ImageUploadStatusType'][_0x217466(0x5fd)]));try{const _0x56cc19=new FormData();_0x56cc19[_0x217466(0x630)]('file',_0x5b1361);const _0x151783=this['_univerInstanceService'][_0x217466(0x339)](),_0x3396b1=_0x151783==null?void 0x0:_0x151783[_0x217466(0x292)]();if(!_0x3396b1)throw new Error(_0x217466(0x315));const _0x2f42b7=this[_0x217466(0x590)]()+_0x217466(0x539)+_0x5b1361[_0x217466(0x5dd)][_0x217466(0x301)]()+_0x217466(0x319)+_0x3685fb[_0x217466(0x3f0)]+_0x217466(0x4bf)+encodeURIComponent(_0x3396b1),_0xc7204b=await(await fetch(_0x2f42b7,{'method':_0x217466(0x283),'body':_0x56cc19}))['json']();if(typeof _0xc7204b[_0x217466(0x545)]!=_0x217466(0x441))return this[_0x217466(0x1a5)](),Promise['reject'](new Error(_0x1f0977[_0x217466(0x2c5)][_0x217466(0x3ae)]));_0xc5a72c=_0xc7204b[_0x217466(0x545)];}catch{return this[_0x217466(0x1a5)](),Promise[_0x217466(0x20e)](new Error(_0x1f0977[_0x217466(0x2c5)][_0x217466(0x3ae)]));}return new Promise((_0x3e8f93,_0x394c47)=>{const _0x1ccd45=_0x217466,_0x23c9d1=new FileReader();_0x23c9d1[_0x1ccd45(0x518)](_0x5b1361),_0x23c9d1[_0x1ccd45(0x55d)]=_0x284dc6=>{const _0x737f41=_0x1ccd45;var _0x422164;const _0x470a4e=(_0x422164=_0x284dc6[_0x737f41(0x368)])==null?void 0x0:_0x422164[_0x737f41(0x2eb)];if(_0x470a4e==null){this[_0x737f41(0x1a5)](),_0x394c47(new Error(_0x1f0977['ImageUploadStatusType'][_0x737f41(0x3ae)]));return;}const _0x44ec20=_0x33b6e0['Tools']['generateRandomId'](0x6);_0x3e8f93({'imageId':_0x44ec20,'imageSourceType':_0x1f0977['ImageSourceType'][_0x737f41(0x390)],'source':_0xc5a72c,'base64Cache':_0x470a4e,'status':_0x1f0977[_0x737f41(0x2c5)][_0x737f41(0x191)]}),this[_0x737f41(0x1a5)]();};});}[_0xd21782(0x590)](){const _0x294e90=_0xd21782;var _0x36ca1f,_0x44db7a;const _0xd11911=this['_configService']['getConfig'](_0x235406),_0xa21605=this[_0x294e90(0x48a)][_0x294e90(0x27c)](_0x134311);return(_0x44db7a=(_0x36ca1f=_0xa21605==null?void 0x0:_0xa21605['uploadFileServerUrl'])!=null?_0x36ca1f:_0xd11911)!=null?_0x44db7a:_0x1eddfd;}['_getSignURL'](){const _0x1fee51=_0xd21782;var _0x17a779,_0x525094;const _0x2f4006=this['_configService'][_0x1fee51(0x27c)](_0x4150c4),_0x13f283=this[_0x1fee51(0x48a)]['getConfig'](_0x134311);return(_0x525094=(_0x17a779=_0x13f283==null?void 0x0:_0x13f283[_0x1fee51(0x30c)])!=null?_0x17a779:_0x2f4006)!=null?_0x525094:_0x1228e5;}[_0xd21782(0x38c)](){const _0x3215d8=_0xd21782;var _0x1d5128;const _0x5126bd=this[_0x3215d8(0x48a)][_0x3215d8(0x27c)](_0x134311);return(_0x1d5128=_0x5126bd==null?void 0x0:_0x5126bd[_0x3215d8(0x41a)])!=null?_0x1d5128:location[_0x3215d8(0x399)];}[_0xd21782(0x24e)](_0x1bfa31,_0x2888c5){const _0x2eef53=_0xd21782;return _0x1bfa31[_0x2eef53(0x494)]('{fileID}',_0x2888c5);}[_0xd21782(0x1a5)](){const _0x15ab5c=_0xd21782;this[_0x15ab5c(0x53e)]-=0x1,this[_0x15ab5c(0x5ef)]['next'](this['_waitCount']);}},_0x2e54f6[_0xd21782(0x39c)]=_0x4c0486([_0x1cde61(0x0,_0x33b6e0[_0xd21782(0x2d5)](_0x27fcf5[_0xd21782(0x2a9)])),_0x1cde61(0x1,_0x33b6e0[_0xd21782(0x4a4)]),_0x1cde61(0x2,_0x33b6e0['Inject'](_0x33b6e0[_0xd21782(0x5a9)]))],_0x2e54f6[_0xd21782(0x39c)]);var _0x105de5=Object[_0xd21782(0x407)],_0x40961d=Object['getOwnPropertyDescriptor'],_0x3f6dcc=(_0xdff916,_0x3680a3,_0x5d9e06,_0x581ac6)=>{for(var _0x34ec3d=_0x581ac6>0x1?void 0x0:_0x581ac6?_0x40961d(_0x3680a3,_0x5d9e06):_0x3680a3,_0x18072c=_0xdff916['length']-0x1,_0x5e2b12;_0x18072c>=0x0;_0x18072c--)(_0x5e2b12=_0xdff916[_0x18072c])&&(_0x34ec3d=(_0x581ac6?_0x5e2b12(_0x3680a3,_0x5d9e06,_0x34ec3d):_0x5e2b12(_0x34ec3d))||_0x34ec3d);return _0x581ac6&&_0x34ec3d&&_0x105de5(_0x3680a3,_0x5d9e06,_0x34ec3d),_0x34ec3d;},_0xd52157=(_0x93f5c2,_0x53665e)=>(_0x538db2,_0x43b8eb)=>_0x53665e(_0x538db2,_0x43b8eb,_0x93f5c2);let _0x5b6528=class extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(_0x11ae3c,_0x672be3,_0x56ee7d,_0x561cc1,_0x4c4045){const _0x3fb435=_0xd21782;super(),this[_0x3fb435(0x54d)]=_0x11ae3c,this[_0x3fb435(0x40b)]=_0x672be3,this[_0x3fb435(0x4f0)]=_0x56ee7d,this[_0x3fb435(0x21c)]=_0x561cc1,this[_0x3fb435(0x58d)]=_0x4c4045,this[_0x3fb435(0x238)](),this[_0x3fb435(0x603)]();}[_0xd21782(0x603)](){const _0x36c20b=_0xd21782,_0x175dec=async _0x9e9419=>{const _0x10abc3=_0x49f2;(await this[_0x10abc3(0x21c)]['requireSession'](_0x9e9419))['event$'][_0x10abc3(0x3d3)](_0x52ded5[_0x10abc3(0x40f)](_0x2d16c8=>_0x2d16c8[_0x10abc3(0x28e)]===_0x2df36b['CollaborationEvent'][_0x10abc3(0x3df)]),_0x52ded5['takeUntil'](this['dispose$']))[_0x10abc3(0x306)](_0x1d0cd1=>{const _0x178acc=_0x10abc3,_0x2e691a=_0x1d0cd1,{reason:_0x363817}=_0x2e691a[_0x178acc(0x325)];this[_0x178acc(0x54d)][_0x178acc(0x3c8)](_0x563831[_0x178acc(0x33c)])[_0x178acc(0x31e)]({'type':_0x34d4ff[_0x178acc(0x261)]['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x363817+')'}),this[_0x178acc(0x4f0)][_0x178acc(0x466)](new _0x3f2383[(_0x178acc(0x395))](_0x9e9419)['id'],!0x1),this[_0x178acc(0x21c)][_0x178acc(0x570)](_0x9e9419);});};_0x382682['merge'](this[_0x36c20b(0x40b)][_0x36c20b(0x181)](_0x33b6e0['UniverInstanceType'][_0x36c20b(0x23c)]),this['_univerInstanceService'][_0x36c20b(0x181)](_0x33b6e0[_0x36c20b(0x2c1)][_0x36c20b(0x237)]))[_0x36c20b(0x3d3)](_0x52ded5[_0x36c20b(0x1f8)](_0x4ac8dd=>_0x4ac8dd[_0x36c20b(0x292)]()),_0x52ded5[_0x36c20b(0x40f)](_0x12dd0f=>!_0x33b6e0[_0x36c20b(0x378)](_0x12dd0f)),_0x52ded5['takeUntil'](this[_0x36c20b(0x472)]))[_0x36c20b(0x306)](_0x1beaa6=>{_0x175dec(_0x1beaa6);});}[_0xd21782(0x238)](){const _0x5eb930=_0xd21782,_0x413805=async _0x3a3335=>{const _0x11210b=_0x49f2;(await this['_collaborationSessionService'][_0x11210b(0x22f)](_0x3a3335))[_0x11210b(0x1ce)][_0x11210b(0x3d3)](_0x52ded5[_0x11210b(0x40f)](_0x4f8900=>_0x4f8900[_0x11210b(0x28e)]===_0x2df36b[_0x11210b(0x45e)][_0x11210b(0x287)]),_0x52ded5[_0x11210b(0x45a)](this[_0x11210b(0x472)]))[_0x11210b(0x306)](_0x51a417=>{const _0x3a1b9b=_0x11210b,_0x4752be=_0x51a417,{objectId:_0x18a918}=_0x4752be[_0x3a1b9b(0x325)],_0xe004a7=this[_0x3a1b9b(0x54d)]['get'](_0x31cf62[_0x3a1b9b(0x20a)]);_0x18a918===_0x3a3335?_0xe004a7[_0x3a1b9b(0x240)](_0x3a3335):_0xe004a7[_0x3a1b9b(0x1d5)](_0x3a3335,_0x18a918);});};_0x382682['merge'](this[_0x5eb930(0x40b)][_0x5eb930(0x181)](_0x33b6e0[_0x5eb930(0x2c1)][_0x5eb930(0x23c)]),this[_0x5eb930(0x40b)][_0x5eb930(0x181)](_0x33b6e0[_0x5eb930(0x2c1)][_0x5eb930(0x237)]))[_0x5eb930(0x3d3)](_0x52ded5[_0x5eb930(0x1f8)](_0x177550=>_0x177550[_0x5eb930(0x292)]()),_0x52ded5[_0x5eb930(0x40f)](_0x4f0f2e=>!_0x33b6e0[_0x5eb930(0x378)](_0x4f0f2e)),_0x52ded5[_0x5eb930(0x45a)](this[_0x5eb930(0x472)]))[_0x5eb930(0x306)](_0x338d2d=>{_0x413805(_0x338d2d);});}};_0x5b6528=_0x3f6dcc([_0xd52157(0x0,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0xd52157(0x1,_0x33b6e0['IUniverInstanceService']),_0xd52157(0x2,_0x33b6e0['IPermissionService']),_0xd52157(0x3,_0x33b6e0[_0xd21782(0x2d5)](_0x2e54f6[_0xd21782(0x233)])),_0xd52157(0x4,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x56a)]))],_0x5b6528);var _0x877706=Object[_0xd21782(0x407)],_0x4bb3ca=Object[_0xd21782(0x52e)],_0x2e00d2=(_0x59cb18,_0x29aa95,_0x12e452,_0x3588f3)=>{const _0x30c71e=_0xd21782;for(var _0x18da6b=_0x3588f3>0x1?void 0x0:_0x3588f3?_0x4bb3ca(_0x29aa95,_0x12e452):_0x29aa95,_0x3ebdff=_0x59cb18[_0x30c71e(0x39d)]-0x1,_0x4f9d1e;_0x3ebdff>=0x0;_0x3ebdff--)(_0x4f9d1e=_0x59cb18[_0x3ebdff])&&(_0x18da6b=(_0x3588f3?_0x4f9d1e(_0x29aa95,_0x12e452,_0x18da6b):_0x4f9d1e(_0x18da6b))||_0x18da6b);return _0x3588f3&&_0x18da6b&&_0x877706(_0x29aa95,_0x12e452,_0x18da6b),_0x18da6b;},_0x51b285=(_0x2c5a95,_0x2fa5c8)=>(_0x3d1ba5,_0x3a4978)=>_0x2fa5c8(_0x3d1ba5,_0x3a4978,_0x2c5a95);_0x2e54f6['SnapshotServerOverHTTPService']=class{constructor(_0x43aea2,_0x1996a7){const _0x1168a2=_0xd21782;this[_0x1168a2(0x48a)]=_0x43aea2,this[_0x1168a2(0x5ca)]=_0x1996a7;}async[_0xd21782(0x35e)](_0xdd9a61,_0x298a85){const _0x3dba47=_0xd21782;var _0x1ed4a0;const {unitID:_0x1b0a9b,type:_0x3cfba8,revision:_0x31c377=0x0}=_0x298a85,_0x24b66b=this[_0x3dba47(0x563)]()+'/'+_0x3cfba8+_0x3dba47(0x58e)+_0x1b0a9b+_0x3dba47(0x329)+_0x31c377,_0x4156e0=(await this[_0x3dba47(0x5ca)][_0x3dba47(0x3c8)](_0x24b66b))[_0x3dba47(0x286)],_0x5454b1=(_0x1ed4a0=_0x4156e0['snapshot'])==null?void 0x0:_0x1ed4a0['workbook'];if(_0x5454b1){const _0x1599af=_0x5454b1==null?void 0x0:_0x5454b1[_0x3dba47(0x3f7)],_0x4fcd26=_0x2df36b[_0x3dba47(0x264)][_0x3dba47(0x235)](_0x2df36b[_0x3dba47(0x209)](_0x1599af));_0x5454b1['originalMeta']=_0x4fcd26,Object[_0x3dba47(0x3ce)](_0x5454b1['sheets'])[_0x3dba47(0x4b3)](([,_0x265a8])=>{const _0x46d05d=_0x3dba47,_0x343c92=_0x265a8['originalMeta'],_0x1c266d=_0x2df36b[_0x46d05d(0x264)]['encode'](_0x2df36b[_0x46d05d(0x209)](_0x343c92));_0x265a8[_0x46d05d(0x3f7)]=_0x1c266d;});}return _0x4156e0;}async['getSheetBlock'](_0x3855e3,_0x5e5599){const _0x468e6b=_0xd21782,{unitID:_0x33f13a,type:_0x2108e9,blockID:_0x31a8fa}=_0x5e5599,_0x2d2023=this[_0x468e6b(0x1ff)]()+'/'+_0x2108e9+_0x468e6b(0x58e)+_0x33f13a+_0x468e6b(0x30f)+_0x31a8fa;return(await this[_0x468e6b(0x5ca)][_0x468e6b(0x3c8)](_0x2d2023))[_0x468e6b(0x286)];}async[_0xd21782(0x555)](_0x366496,_0x7babb0){const _0x47f076=_0xd21782,{unitID:_0x2e1800,type:_0x507005,blockID:_0x52d0fe}=_0x7babb0,_0x51d92e=this['_getAPIPrefix']()+_0x47f076(0x30f)+_0x507005+'/unit/'+_0x2e1800+_0x47f076(0x30f)+_0x52d0fe;return(await this['_httpService'][_0x47f076(0x3c8)](_0x51d92e))[_0x47f076(0x286)];}async[_0xd21782(0x5fa)](_0xb9f866,_0x304dfb){const _0x19e97f=_0xd21782,{unitID:_0x852363,type:_0x4d7128,from:_0x130c35,to:_0x280456}=_0x304dfb,_0x33adda=this[_0x19e97f(0x1ff)]()+'/'+_0x4d7128+_0x19e97f(0x58e)+_0x852363+'/fetchmissing?from='+_0x130c35+_0x19e97f(0x2da)+_0x280456;return(await this[_0x19e97f(0x5ca)][_0x19e97f(0x3c8)](_0x33adda))[_0x19e97f(0x286)];}[_0xd21782(0x563)](){const _0x18ad68=_0xd21782;var _0x499bde;return(_0x499bde=this[_0x18ad68(0x48a)]['getConfig'](_0x47dee2))!=null?_0x499bde:this['_getAPIPrefix']();}[_0xd21782(0x1ff)](){const _0x460bd3=_0xd21782;var _0x52e29e,_0x635da5;const _0x303c9d=this[_0x460bd3(0x48a)][_0x460bd3(0x27c)](_0x385278),_0x47d87d=this[_0x460bd3(0x48a)]['getConfig'](_0x134311);return(_0x635da5=(_0x52e29e=_0x47d87d==null?void 0x0:_0x47d87d[_0x460bd3(0x4bb)])!=null?_0x52e29e:_0x303c9d)!=null?_0x635da5:_0x8cfc9a;}async[_0xd21782(0x3cc)](_0x3aa14f,_0x975697){const _0x490974=_0xd21782,_0x4c58c3=_0x490974(0x29d)+_0x975697[_0x490974(0x601)]+'/unit/'+_0x975697['unitID']+_0x490974(0x50a);return(await this['_httpService'][_0x490974(0x3c8)](_0x4c58c3,{'params':{'resourceId':JSON[_0x490974(0x2e3)](_0x975697['resourceIDs'])}}))[_0x490974(0x286)];}[_0xd21782(0x457)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xd21782(0x1ae)](){const _0x370a36=_0xd21782;throw new Error(_0x370a36(0x55f));}['saveChangeset'](){const _0x135387=_0xd21782;throw new Error(_0x135387(0x55f));}['copyFileMeta'](){const _0x105680=_0xd21782;throw new Error(_0x105680(0x55f));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x2e54f6['SnapshotServerOverHTTPService']=_0x2e00d2([_0x51b285(0x0,_0x33b6e0[_0xd21782(0x4a4)]),_0x51b285(0x1,_0x33b6e0['Inject'](_0x27fcf5[_0xd21782(0x2a9)]))],_0x2e54f6[_0xd21782(0x2fa)]);var _0x2223f9=Object[_0xd21782(0x407)],_0xd09b76=Object[_0xd21782(0x52e)],_0x1681ad=(_0x1ec973,_0x559b2e,_0x78068b,_0x51c2d9)=>{const _0x5907da=_0xd21782;for(var _0x16f194=_0x51c2d9>0x1?void 0x0:_0x51c2d9?_0xd09b76(_0x559b2e,_0x78068b):_0x559b2e,_0x4b3df9=_0x1ec973[_0x5907da(0x39d)]-0x1,_0x50c4f6;_0x4b3df9>=0x0;_0x4b3df9--)(_0x50c4f6=_0x1ec973[_0x4b3df9])&&(_0x16f194=(_0x51c2d9?_0x50c4f6(_0x559b2e,_0x78068b,_0x16f194):_0x50c4f6(_0x16f194))||_0x16f194);return _0x51c2d9&&_0x16f194&&_0x2223f9(_0x559b2e,_0x78068b,_0x16f194),_0x16f194;},_0xd6b48e=(_0x6bc727,_0x526f8e)=>(_0x125d6a,_0x5b3a03)=>_0x526f8e(_0x125d6a,_0x5b3a03,_0x6bc727);let _0x31f07d=class extends _0x33b6e0['LocalUndoRedoService']{constructor(_0x5f0bba,_0x244368,_0x36eefc,_0x4d67b5,_0x42b0b8){const _0x374210=_0xd21782;super(_0x5f0bba,_0x244368,_0x36eefc),this[_0x374210(0x1ea)]=_0x4d67b5,this['_logService']=_0x42b0b8;}[_0xd21782(0x38b)](_0x34d132,_0x476103){const _0x3477ac=_0xd21782,_0x51d63c=this[_0x3477ac(0x5c5)](_0x34d132);if(_0x51d63c)try{const _0xbeaaa4=this['_transformStack'](_0x51d63c,_0x476103);this['_substituteUndoStack'](_0x34d132,_0xbeaaa4);}catch(_0x9f67d){this[_0x3477ac(0x387)][_0x3477ac(0x59a)](_0x3477ac(0x43c),_0x9f67d),this['_clearUndo'](_0x34d132);}const _0x2b927f=this[_0x3477ac(0x480)](_0x34d132);if(_0x2b927f)try{const _0x445409=this[_0x3477ac(0x3d1)](_0x2b927f,_0x476103);this['_substituteRedoStack'](_0x34d132,_0x445409);}catch(_0x2f2213){this[_0x3477ac(0x387)]['error'](_0x2f2213),this[_0x3477ac(0x279)](_0x34d132);}}[_0xd21782(0x578)](_0x23b2c0){const _0x44166f=_0xd21782,_0x41a205=this[_0x44166f(0x5c5)](_0x23b2c0);_0x41a205&&(_0x41a205['length']=0x0,this[_0x44166f(0x330)]());}[_0xd21782(0x279)](_0x41c971){const _0x11495a=this['_getRedoStack'](_0x41c971);_0x11495a&&(_0x11495a['length']=0x0,this['_updateStatus']());}[_0xd21782(0x57e)](_0x14f602,_0x251529){const _0x4778a9=_0xd21782;this[_0x4778a9(0x536)][_0x4778a9(0x44b)](_0x14f602,_0x251529),this[_0x4778a9(0x330)]();}[_0xd21782(0x484)](_0x266572,_0x57741c){const _0x36eb3e=_0xd21782;this[_0x36eb3e(0x608)][_0x36eb3e(0x44b)](_0x266572,_0x57741c),this[_0x36eb3e(0x330)]();}['_transformStack'](_0x1da0da,_0x3454a8){const _0x8d25f4=_0xd21782,_0x4e2df1=[];let _0x5dff19=_0x3454a8,_0x436228=_0x3454a8;for(let _0x597b3f=_0x1da0da[_0x8d25f4(0x39d)]-0x1;_0x597b3f>=0x0;_0x597b3f--){const {unitID:_0x53fcb1,undoMutations:_0x14c4ba,redoMutations:_0x21fefc}=_0x1da0da[_0x597b3f],_0x16a49a=this[_0x8d25f4(0x1ea)][_0x8d25f4(0x5e8)](_0x5dff19,_0x14c4ba),_0x46351b=this[_0x8d25f4(0x1ea)]['transformMutationsWithChangeset'](_0x436228,_0x21fefc);if(_0x2df36b[_0x8d25f4(0x1b4)](_0x16a49a)||_0x2df36b[_0x8d25f4(0x1b4)](_0x46351b)){this[_0x8d25f4(0x387)][_0x8d25f4(0x59a)](_0x8d25f4(0x43c),_0x8d25f4(0x1c0),_0x16a49a,_0x46351b);break;}_0x5dff19=_0x16a49a[_0x8d25f4(0x455)],_0x436228=_0x46351b['c1Prime'],_0x4e2df1[_0x8d25f4(0x42a)]({'unitID':_0x53fcb1,'undoMutations':_0x16a49a[_0x8d25f4(0x5ce)],'redoMutations':_0x46351b[_0x8d25f4(0x5ce)]});}return _0x4e2df1[_0x8d25f4(0x4bc)]();}};_0x31f07d=_0x1681ad([_0xd6b48e(0x0,_0x33b6e0['IUniverInstanceService']),_0xd6b48e(0x1,_0x33b6e0[_0xd21782(0x45c)]),_0xd6b48e(0x2,_0x33b6e0[_0xd21782(0x271)]),_0xd6b48e(0x3,_0x2df36b[_0xd21782(0x268)]),_0xd6b48e(0x4,_0x33b6e0['ILogService'])],_0x31f07d);class _0x2a17c2 extends _0x33b6e0[_0xd21782(0x3c4)]{constructor(){const _0x1e6086=_0xd21782;super(),_0x398ae0(this,_0x1e6086(0x522)),this['urlChange$']=_0x382682[_0x1e6086(0x4d4)](window,'popstate')[_0x1e6086(0x3d3)](_0x382682[_0x1e6086(0x45a)](this[_0x1e6086(0x472)]),_0x382682[_0x1e6086(0x2a2)](0x1),_0x382682[_0x1e6086(0x364)](void 0x0));}[_0xd21782(0x622)](_0x2f481b,_0x11bfcc,_0x49a12f=!0x1){const _0x1ae226=_0xd21782,_0x683e40=new URL(window[_0x1ae226(0x44f)][_0x1ae226(0x3a8)]);_0x683e40[_0x1ae226(0x1a7)]['set'](_0x2f481b,_0x11bfcc),_0x49a12f?window[_0x1ae226(0x54b)][_0x1ae226(0x621)]('','',_0x683e40[_0x1ae226(0x301)]()):window[_0x1ae226(0x54b)][_0x1ae226(0x1f0)]('','',_0x683e40['toString']());}[_0xd21782(0x1dd)](_0x529db5,_0x1fa85d=!0x1){const _0x1f9ae2=_0xd21782,_0x347780=new URL(window[_0x1f9ae2(0x44f)]['href']);_0x347780[_0x1f9ae2(0x1a7)]['delete'](_0x529db5),_0x1fa85d?window[_0x1f9ae2(0x54b)][_0x1f9ae2(0x621)]('','',_0x347780[_0x1f9ae2(0x301)]()):window[_0x1f9ae2(0x54b)]['pushState']('','',_0x347780[_0x1f9ae2(0x301)]());}[_0xd21782(0x2b2)](_0x46b0c8){const _0x3352c4=_0xd21782;var _0x4491f4;return(_0x4491f4=new URL(window[_0x3352c4(0x44f)][_0x3352c4(0x3a8)])[_0x3352c4(0x1a7)][_0x3352c4(0x3c8)](_0x46b0c8))!=null?_0x4491f4:void 0x0;}}var _0xe37100=Object['defineProperty'],_0x5bf191=Object['getOwnPropertyDescriptor'],_0x1bd745=(_0x52ad9e,_0x456f00,_0x23d625)=>_0x456f00 in _0x52ad9e?_0xe37100(_0x52ad9e,_0x456f00,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23d625}):_0x52ad9e[_0x456f00]=_0x23d625,_0x4f5ac7=(_0x357f46,_0x2d189b,_0x12a8f7,_0x1f3bbe)=>{const _0x2934c5=_0xd21782;for(var _0x2f716b=_0x1f3bbe>0x1?void 0x0:_0x1f3bbe?_0x5bf191(_0x2d189b,_0x12a8f7):_0x2d189b,_0x57aa74=_0x357f46[_0x2934c5(0x39d)]-0x1,_0x1b2ff3;_0x57aa74>=0x0;_0x57aa74--)(_0x1b2ff3=_0x357f46[_0x57aa74])&&(_0x2f716b=(_0x1f3bbe?_0x1b2ff3(_0x2d189b,_0x12a8f7,_0x2f716b):_0x1b2ff3(_0x2f716b))||_0x2f716b);return _0x1f3bbe&&_0x2f716b&&_0xe37100(_0x2d189b,_0x12a8f7,_0x2f716b),_0x2f716b;},_0x41dae2=(_0x5dccca,_0x34f118)=>(_0x50e671,_0x3ddb71)=>_0x34f118(_0x50e671,_0x3ddb71,_0x5dccca),_0x42d6ef=(_0x4e2fde,_0xaa998d,_0x2f35fd)=>_0x1bd745(_0x4e2fde,_0xaa998d+'',_0x2f35fd);const _0x2cc859=_0xd21782(0x333);_0x2e54f6[_0xd21782(0x358)]=class extends _0x33b6e0['Plugin']{constructor(_0x3d3200=_0x51621e,_0xf15eff,_0xae8c16,_0x1891e3,_0x8e179e){const _0x46796e=_0xd21782;super(),this[_0x46796e(0x2af)]=_0x3d3200,this[_0x46796e(0x387)]=_0xf15eff,this[_0x46796e(0x221)]=_0xae8c16,this[_0x46796e(0x54d)]=_0x1891e3,this[_0x46796e(0x48a)]=_0x8e179e;const {..._0x52ece0}=this[_0x46796e(0x2af)];this[_0x46796e(0x48a)][_0x46796e(0x337)](_0x134311,_0x52ece0);}['onStarting'](){const _0x579728=_0xd21782;this[_0x579728(0x2ff)](),this['_initDependencies']();}[_0xd21782(0x4e4)](){const _0x31a2ef=_0xd21782;_0x33b6e0[_0x31a2ef(0x1d6)](this['_injector'],[[_0x3e39e4]]);}[_0xd21782(0x24f)](){const _0x45c965=_0xd21782;this[_0x45c965(0x2aa)]();}[_0xd21782(0x2ff)](){const _0x51a290=_0xd21782;var _0x334f73,_0x5b9325,_0x57b2e0,_0x2c7138;this['_injector'][_0x51a290(0x4c6)](_0x33b6e0[_0x51a290(0x5df)])&&this[_0x51a290(0x387)][_0x51a290(0x59a)](_0x51a290(0x2ab),_0x51a290(0x46e));const _0x655c17=[[_0x33b6e0[_0x51a290(0x5df)],{'useClass':_0x31f07d}],[_0x2e54f6[_0x51a290(0x233)]],[_0x522759],[_0x4a4eb7,{'useClass':_0x2a17c2}],[_0x2e54f6['MemberService']],[_0x2e54f6['LocalCacheService']],[_0x27fcf5[_0x51a290(0x4f4)]],[_0x1561db],[_0x351f72],[_0x22a379],[_0x3146a8],[_0x409fc5],[_0x1aab4d],[_0x2004de],[_0x273ed1],[_0x5b6528],[_0x234aba,{'useClass':(_0x5b9325=(_0x334f73=this['_config'])==null?void 0x0:_0x334f73['socketService'])!=null?_0x5b9325:_0x2e54f6['CollaborationSocketService']}],[_0x2df36b[_0x51a290(0x3dc)],{'useClass':_0x2e54f6[_0x51a290(0x2fa)]}],[_0x33b6e0[_0x51a290(0x351)],{'useClass':_0x2e54f6['AuthzIoHttpService']}],[_0x1f0977['IImageIoService'],{'useClass':_0x2e54f6[_0x51a290(0x39c)]}],[_0x2e54f6[_0x51a290(0x633)]],[_0x2e54f6[_0x51a290(0x3e9)]],[_0x2e54f6[_0x51a290(0x39a)]],[_0x3e39e4],[_0x290ad7]];(_0x57b2e0=this[_0x51a290(0x2af)])!=null&&_0x57b2e0[_0x51a290(0x35d)]&&_0x655c17['push']([_0x4bdc83,{'useClass':_0x192700}]),_0x33b6e0[_0x51a290(0x5d0)](this['_injector'],_0x33b6e0[_0x51a290(0x2f9)](_0x655c17,(_0x2c7138=this['_config'])==null?void 0x0:_0x2c7138[_0x51a290(0x430)]));}[_0xd21782(0x2aa)](){const _0x31252e=_0xd21782;this['disposeWithMe'](this[_0x31252e(0x221)][_0x31252e(0x3b6)](_0x33b6e0[_0x31252e(0x2c1)][_0x31252e(0x237)],[_0x23312d])),this['disposeWithMe'](this[_0x31252e(0x221)]['registerRenderModule'](_0x33b6e0[_0x31252e(0x2c1)]['UNIVER_SHEET'],[_0x5defab]));}['_initDependencies'](){const _0x451765=_0xd21782;var _0x246f13,_0x38b48b;this[_0x451765(0x54d)][_0x451765(0x3c8)](_0x27fcf5[_0x451765(0x2a9)])[_0x451765(0x5f7)]({'priority':0x14,'interceptor':_0x27fcf5[_0x451765(0x5a4)]({'maxParallel':0x6})}),(_0x246f13=this[_0x451765(0x2af)])!=null&&_0x246f13['enableOfflineEditing']||this['_injector'][_0x451765(0x3c8)](_0x2e54f6[_0x451765(0x4ec)])[_0x451765(0x3f4)](),(_0x38b48b=this[_0x451765(0x2af)])!=null&&_0x38b48b['enableAuthServer']&&_0x33b6e0[_0x451765(0x1d6)](this[_0x451765(0x54d)],[[_0x1aab4d]]),_0x33b6e0['touchDependencies'](this['_injector'],[[_0x2004de],[_0x290ad7],[_0x2e54f6[_0x451765(0x3e9)]],[_0x2e54f6['CollaborationController']],[_0x2e54f6[_0x451765(0x39a)]],[_0x5b6528]]);}},_0x42d6ef(_0x2e54f6['UniverCollaborationClientPlugin'],_0xd21782(0x567),_0x2cc859),_0x2e54f6[_0xd21782(0x358)]=_0x4f5ac7([_0x33b6e0['DependentOn'](_0x2df36b[_0xd21782(0x2a0)],_0x27fcf5[_0xd21782(0x2a3)]),_0x41dae2(0x1,_0x33b6e0['ILogService']),_0x41dae2(0x2,_0x1db1e9[_0xd21782(0x626)]),_0x41dae2(0x3,_0x33b6e0[_0xd21782(0x2d5)](_0x33b6e0[_0xd21782(0x2de)])),_0x41dae2(0x4,_0x33b6e0[_0xd21782(0x4a4)])],_0x2e54f6[_0xd21782(0x358)]),_0x2e54f6[_0xd21782(0x272)]=_0x526c9d,_0x2e54f6['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x18e2fb,_0x2e54f6['COLLAB_WEB_SOCKET_URL_KEY']=_0x414d61,_0x2e54f6[_0xd21782(0x4d2)]=_0x116db8,_0x2e54f6[_0xd21782(0x588)]=_0x1cf628,_0x2e54f6['CommentService']=_0x273ed1,_0x2e54f6['HEARTBEAT_INTERVAL_KEY']=_0x19b725,_0x2e54f6[_0xd21782(0x46a)]=_0x187776,_0x2e54f6['ICollaborationSocketService']=_0x234aba,_0x2e54f6['IURLService']=_0x4a4eb7,_0x2e54f6[_0xd21782(0x32c)]=_0x2e492f,_0x2e54f6[_0xd21782(0x338)]=_0x3b6c1c,_0x2e54f6[_0xd21782(0x30e)]=_0x54641d,_0x2e54f6[_0xd21782(0x219)]=_0x36818c,_0x2e54f6[_0xd21782(0x18c)]=_0x385278,_0x2e54f6[_0xd21782(0x557)]=_0x47dee2,_0x2e54f6['SessionStatus']=_0x59052a,_0x2e54f6[_0xd21782(0x2cf)]=_0xf96631,_0x2e54f6[_0xd21782(0x2a4)]=_0x2a17c2,_0x2e54f6[_0xd21782(0x2f4)]=_0x1036e5,_0x2e54f6[_0xd21782(0x205)]=_0x220ec3,Object[_0xd21782(0x407)](_0x2e54f6,Symbol[_0xd21782(0x59c)],{'value':_0xd21782(0x542)});}));function _0x49f2(_0x281cfd,_0x1680c2){const _0x32d29d=_0x32d2();return _0x49f2=function(_0x49f217,_0x45ea03){_0x49f217=_0x49f217-0x179;let _0x47fa74=_0x32d29d[_0x49f217];return _0x47fa74;},_0x49f2(_0x281cfd,_0x1680c2);}function _0x32d2(){const _0x592ab1=['repeat','getRandomValues','_transitionLocked','_submitChangeset','HEARTBEAT','getAllMembers','FETCH_MISS','_undoStacks','endColumn','SNAPSHOT_HAS_BEEN_REMOVED','?size=','duration','_colorIndex','undoState','_onOffline','_waitCount','onMissingChangesets','onCommandExecuted','div','Module','revision','onTransformChange$','FileId','round','_entityInit$','__creator','EvpKDF','UniverNetwork','history','_initRequestHeader','_injector','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','INGEST','session.connection-failed','getSheetBySheetId','_imageSourceCache','selection','byteLength','getDeserializedSheetBlock','_range','SNAPSHOT_URL_KEY','cfg','_startTelemetryCollaborationNewChangeset','_sessions','_unlockTransition','UserManagerService','onload','CommandType','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','visibilitychange','COMPLETION_FINISHED','Rect','_getSnapshotAPIPrefix','memberID','LIVESHARE_NEW_HOST','UNAUTHENTICATED','pluginName','state','tag','LocaleService','assign','contains','getInterceptPoints','CollaborationSession','_compressMutationService','closeSession','_HTTPService','clear','CipherParams','_joinRoom','_messageService','MSG_FOR_ERROR','setShowComponents','_clearUndo','RefRangeService','_createInitialStateImpl','FETCH_MISSING','onlyLocal','_unitStatus','_substituteUndoStack','Rectangle','YUUMI_UNABLE_LOAD_URL','redoState','onSendChangeset','headers','_collabSessionService','getCurrentRevOfUnit','_initEventListeners','_cipher','CollaborationStatusDisplay','params','_drawAnchor','makeDirty','transformStateCache','_localeService','/unit/','_changesetReqId','_getUploadFileURL','onlineStatus','jiqing500','deserializeRangeWithSheet','updateCollaborator','saveOfflineData','reduce','key','342YzxoGz','row','error','_startCollaboration','toStringTag','getVpScrollXYInfoByPosToVp','COMPRESS_MUTATION_APPLY','getRenderById','construct','_shouldReportTelemetry','currentColor','_invKeySchedule','ThresholdInterceptorFactory','_hovered','collaMsg','hidden','cmd','IUniverInstanceService','BuiltInUIPart','_initStatusListener','useDependency','image/jpg','_transformUndoRedoStack','slice','use','_onUserLeave','awaitingChangeset','sid','online','className','INotificationService','backgroundColor','univer-online','distinctUntilChanged','attrs','PERMISSION_REJ','lib','_disabled','@univerjs-pro/collaboration','from','onCommentUpdate','kdf','Pkcs7','_cursorShapes','_online','_getUndoStack','_cursor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_lockTransition','getWorkbookSelections','_httpService','getTime','[OfflineState]:\x20received\x20acknowledgement.','addObjects','m2Prime','url(#on-line-single_clip0_910_349)','registerDependencies','_retryCount','_id','OpenSSL','/role','__Key__','_createHandler','charCodeAt','EmptyMutation','handleMoveRange','resolve','_initResize','offline','size','session','IUndoRedoService','_handleEvent','_remoteChangesetQueue','_removeRoom','_commentUpdate$','4903830MiBqPp','getCurrentUser','@univerjs/ui','default','transformMutationsWithChangeset','InsertRowCommandId','Disposable','CollaborationEntity','_hideTimer','object','close','_change$','_createSocket','rxjs/operators','drawWith','_applyRemoteChangeset','update','objectType','_transformPreviousActiveRange','registerHTTPInterceptor','disposeUnit','DocIMEInputManagerService','fetchMissingChangesets','_anchor','translate(.97)','ERROR_EXCEED_SIZE','onMouseMove','mutations','[FetchMissState]','type','state$','_initCloseConn','ThemeService','_eventUnsubscribe','pad','unshift','_redoStacks','transformMutation','UnitSnapshot','_doProcessBlock','_updateSubUnitFromURLParams','ITelemetryService','defIds','function','status$','_state','[OfflineState]:\x20received\x20changeset.','image/png','_listenToOfflineEvent','setStateCache','useCallback','_cursors','c2Prime','_snapshotService','SetWorksheetActivateCommand','_toggleOffline','_startDocCollabCursor','[SyncedState]:\x20received\x20rejection.','status','Warning','_labelPosition','replaceState','setParam','randomBytes','retryConnectingInterval','UNIVER_PROJECT','IRenderManagerService','_replayCachedMutations','fetchThroughInterceptors','pauseCollaboration','_transformHistoryAndStateStack','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_nDataBytes','CHANGESET_REJ','_cursorInfo$','focused$','append','getOwnPropertySymbols','getActiveRange','CollaborationController','univer-pro.collaboration-client.single-active-unit-service','\x20to\x20','_socketService','idSuffix','getStateCache','UniverSheets','[CollaborationSession]','UniverDocs','addImageSourceCache','handleInsertRow','NOT_COLLAB','_collaborationTimeoutTimer','shouldCloseConn','batchAllowed','BlockCipher','getTypeOfUnitAdded$','BASE64','_handler','COMPRESS_MUTATION_SEND','getRangePointData','_createInitialState','BehaviorSubject','propertyIsEnumerable','COLORS','APPLY_REVISION_CONFILICT','_awaitingChangeset','SNAPSHOT_SERVER_URL_KEY','_event$','delete','conflict.content','/object','SUCCUSS','DOC_RANGE_TYPE','_scheduleTimestamp','PENDING','subunit','_onRecvEvent','joinEvent','_prevBlock','onRemoteRetry','SUBMIT_CHANGESET','syncEditingCollabCursor','clamp','collab-text-range-','incrementRevOfUnit','MUTATION','deleteCollaborator','sin','DocSelectionManagerService','_map','UniverCollaboration','_decreaseWaiting','cursorInfo','searchParams','keys','setShapeProps','isActive','JOINING','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','SetSelectionsOperation','saveSheetBlock','purple300','_acknowledgedAwaitingChangeset','_http','Utf8','SerializableCipher','isTransformMutationsWithChangesetFailure','4604344eJRULj','?url=','text','generateRandomId','[CollaborationSessionService]:\x20socket\x20error','getSheetId','getImageSourceCache','_undoRedoService','toggleOnline','commentUpdate$','USERS_LEAVE','transformStack\x20failed!','concatMap','getCurrentSelections','_revisionService','_ws','parseChangesetToProtocol','unitId','HELLO','UNKNOWN_CMD','addEventListener','ImageSourceType','image/jpeg','editing\x20status\x20changed\x20to','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','event$','listCollaborators','split','_onCursorUpdate','objects','react','title','refreshPermission','touchDependencies','unpad','throttleTime','ACTIVE_UNIT_EVENT_CHANNEL','sheetID','code','/object/','removeParam','onRemoteChangeset','evenodd','Subject','isPermissionRej','labelPosition','enableLocalCache','awaiting','PasswordBasedCipher','setTimeout','_session','_socket','_iKey','_transformService','_selfUnitIDs','infoRsp','@univerjs/sheets','_getSendChangesetTimeout','join','pushState','mixIn','fetching\x20missing\x20changesets\x20from\x20','collab-client.tooltip.reconnect','_resendTimeout','current','AWAITING','onTransformSelections','map','getCellPositionByOffset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','editingUnit','_getSheetObject','@univerjs/docs','IBeforeCloseService','_getAPIPrefix','setItem','getCollabEntity','FAIL','MergeInterceptorFactory','_unitID','serializeCombRequest','unknown','permission.content','collabSubmitChangesetUrl','b64DecodeUnicode','SheetPermissionInitController','_sender','UniverSheetsUi','roomMembers$','reject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_members','_syncEditingCollabCursor','currentTheme$','collaboration-client.offline-data-not-saved','dispose','clearInterval','random','docStateChange$','IUIPartsService','SEND_CHANGESET_TIMEOUT_KEY','_loadDoc','number','_collaborationSessionService','_changesetSessionId','HMAC','_getCtorByUniverType','parseProtocolChangeset','_renderManagerService','roomMembers','_mode','unit','subUnitId','finalize','_clearHeartbeatTimer','ONLINE','isArray','hovered','_state$','findNodePositionByCharIndex','min','OTHER_CLIENTS_EDITING','requireSession','transformSelections','handleInsertRangeMoveDown','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','CollaborationSessionService','find','encode','_getCurrentRevision','UNIVER_DOC','_initUnitPermissionChange','ReplaySubject','create','_handleLeaveEvent','UNIVER_SHEET','\x0aCurrent:\x20','CHANGESET_ACK','ENSURE_SNAPSHOT_EXECUTION','initWorkbookPermissionChange','/universer-api/comb','complete','Base64','then','[CollaborationEntity]','cursorInfo$','authzUrl','fillRule','compose','open$','_saveCache','...','_setupBeforeClosingHandler','_replaceFileID','onRendered','getUniverSheetInstance','all','submit\x20changeset\x20error!','save','_nRounds','ColorKit','_keyPriorReset','words','forwardRef','newCsEvent','extend','resend','max','_syncEditingCollabCursorService','createEncryptor','assignAColorForMemberID','msCrypto','MessageType','children','_tryReconnect','textEncoder','#FFF','USERS_ENTER','YUUMI_URL_COL_OUT_OF_RANGE','ITransformService','HTTPRequest','TEXT','_clearScheduledTask','auth.needGotoLoginAlert','CONNECTOR_DATA_TOO_LARGE','TEXT_RANGE_LAYER_INDEX','actions','Tools','IContextService','AUTHZ_URL_KEY','CollaborationSocketService','concat','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','EffectRefRangId','_updateURLWithCurrentState','gold400','_clearRedo','height','__esModule','getConfig','createInstance','AES','DisposableCollection','updateOfflineData','NOT_FOUND','@univerjs/sheets-ui','POST','getMemberID','_onLocalMutation','body','UPDATE_PERMISSION_OBJ','storage','connection\x20error','_clearLocalCache','/universer-api/oidc/authpage','_socketReady','Base','eventID','_ENC_XFORM_MODE','_roomMembers$','hasher','getUnitId','CompressMutationService','_disableEditing','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','endRow','mode','UNRECOGNIZED','_singleActiveUnitService','fetchMiss','includes','_name','/universer-api/snapshot/','StreamCipher','add','UniverCollaborationPlugin','_scene','shareReplay','UniverNetworkPlugin','WebURLService','Optional','_throwTelemetryCollaborationNewChangeset','LEAVE','_ensureSubject','HTTPService','_registerRenderDependencies','[UniverCollaborationClientPlugin]','_render','/universer-api/stream/file/upload','SheetsSelectionsService','_config','_transformIMECache','_executeRemoteChangeset','getParam','message$','session.will-retry','@univerjs/rpc','commentUpdateEvent','width','_transformRemoteChangesetByIMECache','color','awaiting_with_pending','VIEWPORT_KEY','defs','SYNCED','localeService','_drawRectRange','newValue','UniverInstanceType','startRow','ERROR_IMAGE_TYPE','encrypt','ImageUploadStatusType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[DataLoaderController]','Latin1','on-line-single','@univerjs/telemetry','_uiPartsService','Encryptor','LIVESHARE_TERMINATE','_commentService','SheetCollabCursorShape','next','_updateLocalCursor','UniverCore','trim','UniverRpc','Inject','_getLoginPath','_entities','_doFinalize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','&to=','objectID','handleInsertCol','_checkMissing','Injector','getAncestorScale','top','handleIRemoveCol','icon','stringify','getMember','init','LICENSE_IMPORT_SIZE_EXCEEDED','UNIVER_SLIDE','image/gif','RECT','liveShareOperation','result','resize','UniverCollaborationClient','_onRemoteRejected','getUndoRedoMutationParamsCache','on-line-single_clip0_910_349','arc','_sendHeartbeat','range','deserializeToCombResponse','abs','csShouldRetryEvent','collaboration-client.config','onStateChange','mergeOverrideWithDependencies','SnapshotServerOverHTTPService','values','_socketMessageSubscription','NO_OTHER_CLIENTS_EDITING','Undefined','_registerDependencies','keySize','toString','getCurrent','getDocRanges','_resendTimer','COLLAB_WEB_SOCKET_URL','subscribe','enc','charAt','send','getUnitStatus$','IPermissionService','signUrlServerUrl','name','RETRY_CONNECTING_MAX_COUNT_KEY','/block/','UNIVER_UNKNOWN','debounce','onTransformRemoteChangesetByIMECache','[OfflineState]:\x20received\x20rejection.','freeze','unitId\x20is\x20not\x20found','HmacSHA1','clearTimeout','toDisposable','&source=','HttpExport','_rescheduleHeartbeat','_localCacheService','getCollabEntity$','show','transform','constructor','_DEC_XFORM_MODE','Hex','_init','_incrementRevisionNumber','data','_refRangeService','sheetId','toggleOffline','/rev/','_onFetchMissResult','formatter','LOCAL_CACHE_INTERVAL_KEY','off-line-single','_docTransformSelectionsService','deepClone','_updateStatus','collaborators','SetTextSelectionsOperation','UNIVER_COLLABORATION_CLIENT_PLUGIN','RichTextEditingMutation','updateCursorEvent','blockSize','setConfig','LOGIN_URL_KEY','getFocusedUnit','_themeService','\x0aAfter:\x20','IMessageService','unitID','ceil','_updateCollabCursors','indexOf','_keySchedule','[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.','APPLY_PERMISSION_DENIED','_updateState','collaboration_new_changeset','UniverDocsUi','reqId','_doReset','_hash','engine','_snapshotServerService','putCollaborators','requestParams','_tryEnsureSocket','error$','executeCommand','IAuthzIoService','LICENSE_MAX_UNITS_EXCEEDED','RevisionService','hasOwnProperty','ranges','substr','format','UniverCollaborationClientPlugin','@univerjs/docs-ui','decrypt','Error\x20on\x20receiving\x20event','_getSaveTimeout','enableSingleActiveInstanceLock','getUnitOnRev','_collaborationPaused','TOO_MANY_REQUESTS','[SyncedState]:\x20received\x20acknowledgement.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','VIEW_MAIN','mapTo','DocCollaborationEntity','Univer','patch','target','close$','/new_changes','_initCommandExecutedListener','ivSize','LICENSE_EXPORT_SIZE_EXCEEDED','collaboration.single-unit.warning','SHA1','font','getSheetObject','asObservable','routeKey','_loadSheet','getUnit','3LqRdcU','Shape','isInternalEditorID','isEditing','sessionStatus$','fromCharCode','Tooltip','InsertColCommandId','post','padding','YUUMI_RATE_OVER_LIMIT','_onCursorDelete','randomUUID','setCurrentUser','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','APPLY_DUPLICATED','interceptor','_logService','byteOffset','replaceTextRanges','splice','transformUndoRedo','_getDownloadEndpointURL','collabStatus.fetchMiss','removeMember','M0\x200H16V16H0z','UUID','_docTransformIMECacheService','_docTransformStateCacheService','401580eHZwCf','_docSkeletonManagerService','WorkbookEditablePermission','_instanceService','restore','/universer-api/snapshot','origin','DesktopCollaborationStatusDisplayController','_beforeCloseService','ImageIoService','length','session.room-full','fromEventSubject','amd','loginUrlKey','_doCryptBlock','HmacMD5','onRemoteRej','catch','collaboration-session-retry','with','href','NoPadding','call','merge','_retryConnectingTimer','_anchorDot','ERROR_IMAGE','onlineStatusIcon','MD5','stopTime','_onConnectionOpen','_transformRemoteChangesetByStateCache','_sheetSkeletonManagerService','_send','registerRenderModule','debounceTime','getViewport','saveImage','lineTo','prototype','_onJoinRoomEvent','JOIN','_refreshCollabCursors','now','delay','NEW_CHANGESETS','Workbook','HEARTBEAT_TIMEOUT','RxDisposable','clipPath','csAckEvent','_lastPointer','get','handleIRemoveRow','OFFLINE','algo','getResourcesRequest','currentSkeleton$','entries','_transformSelections','collabStatus.conflict','_transformStack','failed\x20to\x20apply\x20missed\x20changesets!','pipe','svg','getUnitType','_fetchMissChangesets','transformChangesets','disposeWithMe','_assignedColors','SheetCollaborationEntity','method','ISnapshotServerService','_iv','_removeCollabCursors','SHOULD_CLOSE_CONN','_getAPIPrefixPath','_onMessage','Cipher','_waitForHeartbeatResponse','loadOfflineData','onlineStatusTitle','WordArray','getMergeData','addObject','DataLoaderController','onTransformRemoteChangesetByStateCache','isTransformMutationsWithChangesetSuccess','OffLineSingle','@univerjs/engine-formula','action','AuthzIoHttpService','UnitEmbedded','exports','FromArray','getActiveSheet','disableLocalCache','Could\x20not\x20dynamically\x20require\x20\x22','_type','originalMeta','userID','RegularPolygon','baseRev','isTransformChangesetsSuccess','selections','_heartbeatTimer','listRoles','colorChannel1','doc.mutation.rich-text-editing','getOffsetConfig','_createHelper','collabStatus.syncing','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','PSEUDO_FETCH_MISSING_RESULT','objectActions','defineProperty','iterations','_getScale','rev','_univerInstanceService','encryptBlock','/universer-api/file/{fileID}/sign-url','_toggleOnline','filter','handleDeleteRangeMoveUp','_stopTelemetryCollaborationNewChangeset','_listenToOnlineEvent','onTransformState','APPLY_NON_SEQUENTIAL_REVISION','575549hyUPjp','Vector2','startsWith','socket$','serializeRangeWithSheet','downloadEndpointUrl','Hasher','43162LnbzcU','createSocket','_sendingTimer','ws://127.0.0.1:8000/universer-api/comb/connect','_memberService','_docStateChangeManagerService','members','COMMENT_UPDATE','mapDocumentTypeToUniverType','_onRemoteChangeset','switchMap','setAlpha','onPointerEnter$','_candidateSocket','push','permission.title','/universer-api/authz','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','$super','/-/object/-/batch_allowed','override','ALREADY_EXISTS','_scheduleCollaborationTimeoutTimer','_hasher','hide','getRelativeToViewportCoord','LIVESHARE_OPERATION','ciphertext','HEADER_MENU','@univerjs/network','UniverDrawing','sigBytes','[CollaborationUndoRedoService]','fill','YUUMI_SUBSCRIPTION_NOT_FOUND','1165688OLLYgh','bind','string','UniverEngineRender','permissionRejEvent','_onCombEvent','_onRemoteACK','_onConflict','ILogService','url','_onConnectionFailed','collabWebSocketUrl','set','_handleHover','_collaborationController','_showConflictNotification','location','_sheetTransformSelectionsService','_isPermissionRej','displayName','leaveEvent','_clearCollaborationTimeoutTimer','c1Prime','_setupSubUnitSync','saveSnapshot','_parse','createDecryptor','takeUntil','_timeoutTimer','ICommandService','bottom','CollaborationEvent','_transformStateCache','every','_onUserJoin','UPDATE_CURSOR','#fff','collaboratorID','_exhaustRemoteChangesetQueue','updatePermissionPoint','_hover','useObservable','hostname','HEARTBEAT_TIMEOUT_KEY','capture','_onRemoteRetry','_socket$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','rxjs','DeleteRangeMoveUpCommandId','fetch_missing','dispose$','collabCursorState$','getCurrentUnitForType','_updateLocalCache','_localStorageService','_notificationService','_createHmacHelper','transformIMECache','_removeClearOtherTimer','substring','MoveRangeCommandId','put','_append','take','_getRedoStack','RECV','allowed','beginPath','_substituteRedoStack','_initMergeInterceptor','Unknown\x20user','closePath','unsubscribe','Decryptor','_configService','_clearOtherTimers','save\x20fail\x20reason\x20is\x20','CHANGESET_REVISION_CONFILICT','parse','_queuedRemoteChangesets','RemoveColCommandId','_color','_textBubble','_scheduleClearOtherTimer','replace','AWAITING_WITH_PENDING','_commandService','uni.network.url-service','_context','@univerjs/engine-render','subscribeEvent','createElement','column','_getSignURL','debug','/collaborator','_colorAssignService','fromCollab','LIVESHARE_FETCH_OPERATIONS','_pendingMutations','IConfigService','socket\x20close','_shapes','getValue','_sessionStatus$','ILocalStorageService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNKNOWN_CODE','combineLatest','onRemoteAck','textRanges','_minBufferSize','getItem','triggerDblclick','path','forEach','_key','DocStateChangeManagerService','_urlService','_roomMembers','transformRemoteChangeset','createIdentifier','_saveTaskMap','snapshotServerUrl','reverse','CBC','clone','&assign=','_getAnchorBounding','MemberService','UNDEFINED','loadSheet','setActiveRange','m1Prime','has','_handleJoinEvent','_unitOnClients','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','UniverTelemetry','NodePositionConvertToRectRange','onTransformIME','apply','Error','sessionStatus','telemetry\x20info\x20is\x20not\x20initialized','_reverseMap','CollaborationStatus','setInterval','fromEvent','_telemetryInfo','fillText','IDLE','CHANGESET_SHOULD_RETRY','appendMutation','RemoveRowCommandId','univer-online-status-title','red300','xlink:href','onPointerLeave$','isTransformMutationFailure','_drawTextRange','_oKey','startColumn','getCoordByCell','onReady','floor','_collabCursorState$','_cachedData','onSyncEditingCollabCursor','_userManagerService','setWaitCount','univer-online-status','LocalCacheService','getColor','changesets','SNAPSHOT_INVALID_SNAPSHOT','_permissionService','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','_process','/allowed','WebSocketService','DeleteRangeMoveLeftCommandId','OnLineSingle','SetDocZoomRatioOperation','LOCAL_CACHE_INTERVAL','url(#off-line-single_clip0_910_343)','operators','@univerjs/drawing','unload','1918396yqdKtq','onMissedChangesetFetched','x-univer-host','_data','synced','pending','_status$','[CollaborationSessionService]','1em','updateMember','toRgbString','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_resendWithTimeout','/resources','salt','PERMISSION_DENIED','SheetSkeletonManagerService','registerOnClose','black','conflict','joinRsp','_scheduleHeartbeat','_backgroundColor','@univerjs/core','_scheduleSaving','_collabCursorController','getTypeOfUnitDisposed$','readAsDataURL','CONFLICT','_telemetryService','execute','reconnect','_transformUndoredo','0\x200\x2017\x2016','_draw','createCollaborator','_schedule','urlChange$','_sendHeartbeatTimer','COLLAB_SUBMIT_CHANGESET_URL','reset','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','BufferedBlockAlgorithm','UniverEngineFormula','UniverIcon','measureText','_xformMode','off-line-single_clip0_910_343','crypto','getOwnPropertyDescriptor'];_0x32d2=function(){return _0x592ab1;};return _0x32d2();}
|