@univerjs/preset-sheets-collaboration 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/umd/index.js +7 -7
- package/lib/umd/locales/ca-ES.js +3 -3
- package/lib/umd/locales/en-US.js +3 -3
- package/lib/umd/locales/es-ES.js +3 -3
- package/lib/umd/locales/fa-IR.js +3 -3
- package/lib/umd/locales/fr-FR.js +3 -3
- package/lib/umd/locales/ja-JP.js +3 -3
- package/lib/umd/locales/ko-KR.js +3 -3
- package/lib/umd/locales/ru-RU.js +3 -3
- package/lib/umd/locales/sk-SK.js +3 -3
- package/lib/umd/locales/vi-VN.js +3 -3
- package/lib/umd/locales/zh-CN.js +3 -3
- package/lib/umd/locales/zh-TW.js +3 -3
- package/package.json +10 -10
package/lib/umd/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
function _0x4f27(_0x2e16f6,_0x306e4d){_0x2e16f6=_0x2e16f6-0x1e1;const _0x3d6151=_0x3d61();let _0x4f276f=_0x3d6151[_0x2e16f6];return _0x4f276f;}function _0x3d61(){const _0x2306f1=['&to=','_remoteChangesetQueue','editing\x20status\x20changed\x20to','function','_updateState','[CollaborationUndoRedoService]','BYTES_PER_ELEMENT','_shouldReportTelemetry','/universer-api/comb','SUBMIT_CHANGESET_TIMEOUT','isTransformMutationsWithChangesetSuccess','_decreaseWaiting','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','startTime','stringify','IPermissionService','_updateStatus','Subject','every','_localCacheService','_undoStacks','ReplaySubject','putCollaborators','LocaleService','objects','SOCKET_FAILED_RETRY','_status$','getTypeOfUnitDisposed$','_clearUndo','range','_substituteUndoStack','onRemoteChangeset','saveImage','cipher\x20output\x20not\x20supported','unsubscribe','JOIN_ROOM_FULL','_roomCreated$','_showConflictNotification','OPTIONAL','getFocusedUnit','univer-pro.collaboration-client.single-active-unit-service','isArray','MentionType','call','_getDownloadEndpointURL','splice','BASE64','_onCombEvent','_singleActiveUnitService','_onRemoteRejected','_change$','message$','interceptor','initWorkbookPermissionChange','error','_resendTimer','_waitCount','responseType','ConflictState','_transformRemoteChangesetByIMECache','13076704KVTSiJ','catch','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','SHOULD_CLOSE_CONN','_socketMessageSubscription','min','enableCollaboration','localeService','onMutationExecutedForCollab','EmptyMutationInfo','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','@univerjs-pro/license','_applyRemoteChangeset','JOINING','objectType','subUnitId','requestParams','cfgEnableObjInherit','onTransformSelections','UnitStatus','joinRsp','_handleRemoteChangesets','deserializeToCombResponse','PERMISSION_DENIED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unitID','RichTextEditingMutation','copyFileMeta','_members','add','assign','@univerjs/core','getCfgEnableObjInherit','_clearRedo','ERROR_EXCEED_SIZE','onMissingChangesets','_univerInstanceService','_sender','Tools','updateMember','[OfflineState]:\x20received\x20rejection.','addHandlerCallback','getGlobalObject','sid','BehaviorSubject','_collaborationUIEventService','deepClone','_handlerCallback','setWaitCount','_networkConditionService','replace','mapDocumentTypeToUniverInstanceType','_commandService','ICollaborationSocketService','_changesetReqId','amd','location','_listenToNetworkCondition','mergeOverrideWithDependencies','allowed','findIndex','sessionStatus','reject','_entities','status$','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','getUnitId','_initUnitPermissionChange','telemetry\x20info\x20is\x20not\x20initialized','\x20in\x20_schedule.','/role','&assign=','resolveWithBasePath','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ERROR_IMAGE_TYPE','CHANGESET_ACK','WorkbookEditablePermission','method','updatePermissionObjEvent','decorate','symbol','@univerjs/drawing','event$','requireSession','_onLocalMutation','_doCreateSocket','href','open$','UniverNetwork','_getUploadFileURL','_startTelemetryCollaborationNewChangeset','getUnitStatus$','JOIN_ROOM_NOT_EXISTS','session.room-cnt-exceeds','_socket$','_startCollaboration','getSheetId','_tryReconnect','@univerjs/telemetry','cmd','session.room-full','encodeURIComponent',',\x20got:\x20','changesets','isView','from','SNAPSHOT_URL_KEY','_onUserJoin','isTransformChangesetsSuccess','_onRemoteACK','src','_replayCachedMutations','_retryConnectingTimer','_sendHeartbeatTimer','compose','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_executeRemoteChangeset','shareReplay','transformMutationsWithChangeset','_acknowledgeAwaiting','reduce','_clearScheduledTask','CollaborationImageIoService','snapshot','fromCollab','append','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_undoRedoService','_telemetryService','_onUserLeave','_isPermissionRej','aes/pkcs7:\x20wrong\x20padding','ITransformService','dispose$','USERS_ENTER','_collaborationSessionService','_localeService','AAD','2130KvcxzE','_instanceService','editingUnit','onStarting','crypto','_toggleOffline','executeCommand','_transformSelections','onRemoteRetry','type','signUrlServerUrl','Injector','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','@univerjs-pro/collaboration','UniverCollaborationClientPlugin','capture','LIVESHARE_OPERATION','unit','incrementRevOfUnit','_type','onTransformIME','_scheduleCollaborationTimeoutTimer','_unlockTransition','CollaborationEvent','output','createInstance','_transformService','originalMeta','MSG_FOR_ERROR','close$','generateRandomId','[OfflineState]:\x20received\x20acknowledgement.','resolve','IContextService','Rectangle','state','packageName','HEARTBEAT_INTERVAL','actions','COMPRESS_MUTATION_APPLY','OFFLINE','toggleOffline','ErrorCode','set','registerHTTPInterceptor','_maxTotalRetryTimeout','csAckEvent','localCacheService','avatar','collabSubmitChangesetUrl','PSEUDO_FETCH_MISSING_RESULT','filter','DEFAULT_FILE_NAME','\x20to\x20','collabWebSocketUrl','getWorkbookSelections','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','readAsDataURL','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','merge','CombCmd','saveChangeset','loadSheet','length=','get','reconnect','[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.','encrypt','origin','collaMsg','saveSnapshot','fill','CHANGESET_SHOULD_RETRY','onload','getRandomValues','data','synced','collaboration_new_changeset','SheetTransformSelectionsService','_removeRoom','update','[CollaborationEntity]','_syncEditingCollabCursor','UniverInstanceType','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','rev','getImage','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CmdRspCode','UNIVER_COLLABORATION_CLIENT_PLUGIN','/collaborator','NEW_CHANGESETS','transformUndoRedo','_handler','_awaitingChangeset','toggleOnline','ThresholdInterceptorFactory','@univerjs/sheets','floor','_onOffline','/-/object/-/batch_allowed','_timeoutTimer','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','uniscriptRunEvent','onSendChangeset','listCollaborators','disableLocalCache','create','firstValueFrom','encode','getUnit','_roomMembers','_checkMissing','resend','_permissionService','post','CollaborationController','ONLINE','indexOf','unknown','_transformRemoteChangesetByStateCache','_revisionService','MUTATION','CompressMutationService','_acknowledgedAwaitingRevision','getConfig','onTransformState','baseRev','body','ImageSourceType','HELLO','RETRY_CONNECTING_MAX_COUNT','_changesetSessionId','715352FZJnyC','[PendingState]:\x20received\x20rejection.','?url=','UNIVER_DOC','_onRemoteRetry','addImageSourceCache','_members$','[UniverCollaborationClientPlugin]','_onConnectionOpen','_lockTransition','CollaborationSocketService','SheetCollaborationEntity','0.23.0','csShouldRetryEvent','_snapshotServerService','UniverProCollaboration','CLOSE_ROOM','isTransformMutationsWithChangesetFailure','CommentService','max','IConfigService','snapshotServerUrl','NOT_COLLAB','userID','_telemetryInfo','_createHandler','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','slice','c1Prime','_sessionStatus$','onSyncEditingCollabCursor','byteOffset','RevisionService','SnapshotServerOverHTTPService','defineProperty','SheetsSelectionsService','change$','toString','parseChangesetToProtocol','isSafeInteger','_collaborationPaused','_emitMembers','HEARTBEAT','_clearRetryConnectingTimer','JOIN','_transformUndoredo','_isEchoedAwaitingChangeset','AuthzIoHttpService','listRoles','disposeWithMe','{fileID}','crypto.getRandomValues\x20must\x20be\x20defined','now','RECV','unitInfo$','_getAPIPrefix','1184185BteISE','[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.','removeMember','getCollabEntity','getUnitOnRev','loadUnitOfRevision','_config','People','_onConnectionFailed','result','fetchMissingChangesets','parseProtocolChangeset','clear','onlyLocal','LOCAL_CACHE_INTERVAL','RETRY_CONNECTING_MAX_COUNT_KEY','IUndoRedoService','pipe','pauseCollaboration','getMember','object','getDeserializedSheetBlock','FETCH_MISS','OfflineState','IAuthzIoService','AwaitingWithPendingState','params','USERS_LEAVE','m2Prime','take','LOCAL_CACHE_INTERVAL_KEY','/object','[CollaborationSessionService]','downloadEndpointUrl','univer-pro.collaboration-client-socket-service','IUniverInstanceService','awaitingChangeset','[CollaborationSessionService]:\x20socket\x20error','_clearTimeoutTimer','readyForCollab','delete','updatePermissionPoint','HEARTBEAT_TIMEOUT','expected\x20Uint8Array','eventID','UniverSheets','connection\x20error','Wrong\x20sbox\x20length','selections','b64DecodeUnicode','onRemoteAck','conflict','refreshPermission','_getSendChangesetTimeout','default','IMentionIOService','focused$','pending','@univerjs/docs','IDLE','equals','revision','send','_resendTimeout','POST','CollaborationSession','ERROR_IMAGE','MentionIoHttpService','_initCloseConn','workbook','startsWith','_pendingMutations','[SyncedState]:\x20received\x20acknowledgement.','setCurrentUser','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','exports','missingChangesets','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','duration','takeUntil','appendMutation','version','code','_collabSessionService','disablePadding','string','number','/universer-api/snapshot','map','getLocalCacheKey','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','buffer','UniverCore','_compressMutationService','_retryCount','SessionStatus','_tryEnsureSocket','hostname','/universer-api/snapshot/','toDisposable','x-univer-host','UserManagerService','378gfbiUv','_userManagerService','_replaceFileID','socket\x20open.','rxjs','_sendingTimer','_createInitialState','_fetchMissChangesets','Uint8Array','UniverDrawing','CollaborativeUndoRedoService','liveShareOperation','init','permissionRejEvent','awaiting','COMPRESS_MUTATION_SEND','setConfig','_transitionLocked','csRejEvent','loginUrlKey','loadUnit','ILocalCacheService','HTTPService','_incrementRevisionNumber','/universer-api/oidc/authpage','UNIVER_SHEET','_getCtorByUniverInstanceType','then','session','values',',\x20got\x20','title','tagLength','onRemoteRej','_schedule','getRoom','onCommentUpdate','emitEvent','UnitEmbedded','getActiveSheet','number\x20expected,\x20got\x20','LIVESHARE_FETCH_OPERATIONS','ILogService','_throwTelemetryCollaborationNewChangeset','getCollabEntity$','collaborators','_httpService','getTypeOfUnitAdded$','_getUndoStack','_unitInfo$','FAIL','decrypt','error$','_init','onTransformRemoteChangesetByStateCache','isInternalEditorID','newCsEvent','_scheduleCompleteTimestamp','byteLength','1142646ULJuST','getCurrentSelections','_updateLocalCache','/universer-api/authz','saveSheetBlock','routeKey','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','pluginName','createCollaborator','_joinRoom','_logService','enableSingleActiveInstanceLock','_registerDependencies','OTHER_CLIENTS_EDITING','entries','_snapshotService','SetSelectionsOperation','subarray','SYNCED','push','ImageUploadStatusType','Quantity','_submitChangeset','close','_eventService','getTime','UPDATE_PERMISSION_OBJ','leaveEvent','concatMap','INGEST','list','loadDoc','/fetchmissing?from=','[DataLoaderService]','joinEvent','confirm','_state$','collaboratorID','has','CollaborationUIEventId','PERMISSION_REJ','_transformStack','UniverProCollaborationClient','_initDependencies','[SyncedState]:\x20received\x20rejection.','deleteCollaborator','auth.needGotoLoginAlert','fromCharCode','closeSession','CONFLICT','DocCollaborationEntity','AWAITING','memberID','getInterceptPoints','_commentUpdate$','_clearCollaborationTimeoutTimer','_imageSourceCache','debug','_configService','[FetchMissState]','createSocket','authzUrl','UniverCollaborationPlugin','UniverDocs','IImageIoService','&source=','Plugin','updateOfflineData','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_rescheduleHeartbeat','_onRecvEvent','_transformIMECache','next','members','onTransformRemoteChangesetByIMECache','mutations','_commentService','/universer-api/uniscript','setShowComponents','UniverProtocol','find','Workbook','_HTTPService','PERSON','_sessions','unitId','fetchMiss','setCfgEnableObjInherit','prototype','objectID','headers','session.room-permission-denied','Module','sessionStatus$','ISnapshotServerService','_getRedoStack','ICommandService','_candidateSocket','UniverTelemetry','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','textEncoder','UniverNetworkPlugin','ws://127.0.0.1:8000/universer-api/comb/connect','DependentOn','_waitForHeartbeatResponse','_socketReady','UUID','MemberService','_collaborationTimeoutTimer','resourceIDs','commentUpdate$','SyncedState','@univerjs/network','_exhaustRemoteChangesetQueue','getSnapshotAPIPath','reqId','_unitID','_entityInit$','_onFetchMissResult','apply','_memberService','SOCKET_FAILED','_createSocket','size','isPermissionRej','_socketService','/-/object/list','LIVESHARE_REQUEST_HOST','c2Prime','getOwnPropertyDescriptor','INetworkConditionService','infoRsp','Univer','_resendWithTimeout','CommandType','socketService','liveShareNewHost','?size=','withCredentials','/resources','_sendHeartbeat','transformStack\x20failed!','_onRemoteChangeset','JOIN_ROOM_FAILED','subject','_createInitialStateImpl','invalid\x20output,\x20must\x20be\x20aligned','getCurrentUser','includes','/block/','override','Inject','positive\x20integer\x20expected,\x20got\x20','_clearLocalCache','offline','save\x20fail\x20reason\x20is\x20','createIdentifier','LIVESHARE_TERMINATE','collaboration-client.config','CollaborationStatus','fetchThroughInterceptors','action','_onMessage','onMissedChangesetFetched','_transformAndApplyRemoteChangeset','_stopTelemetryCollaborationNewChangeset','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','[CollaborationSession]','_injector','UNISCRIPT_RUN','getDrawingImageAllowSize','MergeInterceptorFactory','_clearHeartbeatTimer','_toggleOnline','UPDATE_CURSOR','AwaitingState','iterator','getCurrentRevOfUnit','Optional','SUCCUSS','_substituteRedoStack','dispose','length','_redoStacks','onLocalMutation','Disposable','_cfgEnableObjInherit','commentUpdateEvent','asObservable','registerDependencies','updateSnapshot','_socket','RxDisposable','__Key__','awaiting_with_pending','1518352qWikNq','stopTime','LEAVE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getLatestCsReqIdBySid','reverse','url','shouldCloseConn','_getAPIPrefixPath','_queuedRemoteChangesets','varSizeNonce','unit-cache-','/allowed','name','getValue','Failed\x20to\x20update\x20permission\x20point','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_onJoinRoomEvent','_state','_sheetTransformSelectionsService','batchAllowed','getMemberID','session.room-not-exists','status','_disableEditing','Error\x20on\x20receiving\x20event','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/unit/','state$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SheetPermissionInitController','getUnitType','complete','forEach','[PendingState]:\x20received\x20acknowledgement.','@univerjs/protocol','_getCurrentRevision','COMMENT_UPDATE','ISingleActiveUnitService','_onConflict','[OfflineState]:\x20received\x20changeset.','1494878FUnIZT','FETCH_MISSING','transformChangesets','DisposableCollection','CollaborationEntity','subscribe','submit\x20changeset\x20error!','enableOfflineEditing','fetch_missing','/universer-api/stream/file/upload','FileSource','_acknowledgeAwaitingIfReady','_event$','CollaborationUIEventService','LIVESHARE_NEW_HOST'];_0x3d61=function(){return _0x2306f1;};return _0x3d61();}(function(_0x4a8ac1,_0x39966c){const _0x5ced57=_0x4f27,_0x54ef60=_0x4a8ac1();while(!![]){try{const _0x52b01c=parseInt(_0x5ced57(0x4ad))/0x1+parseInt(_0x5ced57(0x2f0))/0x2+parseInt(_0x5ced57(0x22c))/0x3+parseInt(_0x5ced57(0x474))/0x4+parseInt(_0x5ced57(0x3ef))/0x5*(-parseInt(_0x5ced57(0x1f1))/0x6)+-parseInt(_0x5ced57(0x31a))/0x7+-parseInt(_0x5ced57(0x365))/0x8;if(_0x52b01c===_0x39966c)break;else _0x54ef60['push'](_0x54ef60['shift']());}catch(_0xda2983){_0x54ef60['push'](_0x54ef60['shift']());}}}(_0x3d61,0x99585),function(_0x3d9db0,_0x4be09d){const _0x4140a1=_0x4f27;typeof exports==_0x4140a1(0x4c1)&&typeof module<'u'?_0x4be09d(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/protocol`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define[_0x4140a1(0x39c)]?define([_0x4140a1(0x4f8),_0x4140a1(0x3fc),_0x4140a1(0x384),_0x4140a1(0x4e7),_0x4140a1(0x450),_0x4140a1(0x1f5),_0x4140a1(0x314),_0x4140a1(0x3c7),'rxjs/operators',_0x4140a1(0x29c),_0x4140a1(0x370),_0x4140a1(0x3b6)],_0x4be09d):(_0x3d9db0=typeof globalThis<'u'?globalThis:_0x3d9db0||self,_0x4be09d(_0x3d9db0[_0x4140a1(0x256)]={},_0x3d9db0[_0x4140a1(0x483)],_0x3d9db0[_0x4140a1(0x1e7)],_0x3d9db0[_0x4140a1(0x26b)],_0x3d9db0[_0x4140a1(0x4da)],_0x3d9db0['rxjs'],_0x3d9db0[_0x4140a1(0x27b)],_0x3d9db0[_0x4140a1(0x28e)],_0x3d9db0[_0x4140a1(0x1f5)]['operators'],_0x3d9db0[_0x4140a1(0x3bd)],_0x3d9db0['UniverProLicense'],_0x3d9db0[_0x4140a1(0x1fa)]));}(this,function(_0x44d4a3,_0x2b53f2,_0x2dbbd9,_0x13703b,_0x184bfa,_0x4f3716,_0x240cfb,_0x564f5a,_0x2ab3d8,_0x5f56f9,_0x3b77ee,_0x4e927a){const _0x5bf0eb=_0x4f27;Object[_0x5bf0eb(0x497)](_0x44d4a3,Symbol['toStringTag'],{'value':_0x5bf0eb(0x288)});let _0xcb84c1=_0x5bf0eb(0x292),_0x39fe51=0x4e20;function _0x4050ec(_0x29d059){return JSON['stringify'](_0x29d059)['length'];}function _0xfc8cb8(_0x2130fb){'@babel/helpers - typeof';const _0x1315a0=_0x5bf0eb;return _0xfc8cb8=typeof Symbol=='function'&&typeof Symbol[_0x1315a0(0x2dd)]=='symbol'?function(_0x41a841){return typeof _0x41a841;}:function(_0x2ddd85){const _0x3e21cd=_0x1315a0;return _0x2ddd85&&typeof Symbol==_0x3e21cd(0x32c)&&_0x2ddd85['constructor']===Symbol&&_0x2ddd85!==Symbol[_0x3e21cd(0x284)]?_0x3e21cd(0x3b5):typeof _0x2ddd85;},_0xfc8cb8(_0x2130fb);}function _0x162c6b(_0x4e32ad,_0x53b5ad){const _0x1121b6=_0x5bf0eb;if(_0xfc8cb8(_0x4e32ad)!=_0x1121b6(0x4c1)||!_0x4e32ad)return _0x4e32ad;var _0x345db7=_0x4e32ad[Symbol['toPrimitive']];if(_0x345db7!==void 0x0){var _0x45a015=_0x345db7['call'](_0x4e32ad,_0x53b5ad||_0x1121b6(0x4e3));if(_0xfc8cb8(_0x45a015)!='object')return _0x45a015;throw TypeError(_0x1121b6(0x3fb));}return(_0x53b5ad===_0x1121b6(0x502)?String:Number)(_0x4e32ad);}function _0x38d98e(_0x4f90a6){const _0x148d1c=_0x5bf0eb;var _0x1f0161=_0x162c6b(_0x4f90a6,_0x148d1c(0x502));return _0xfc8cb8(_0x1f0161)=='symbol'?_0x1f0161:_0x1f0161+'';}function _0x527b5d(_0x18c19b,_0x4e5475,_0xcaefb0){const _0x20b4d8=_0x5bf0eb;return(_0x4e5475=_0x38d98e(_0x4e5475))in _0x18c19b?Object[_0x20b4d8(0x497)](_0x18c19b,_0x4e5475,{'value':_0xcaefb0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x18c19b[_0x4e5475]=_0xcaefb0,_0x18c19b;}let _0x3c5b62=function(_0x1ee552){const _0x3068ca=_0x5bf0eb;return _0x1ee552['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x1ee552[_0x3068ca(0x37c)]=_0x3068ca(0x37c),_0x1ee552[_0x3068ca(0x25d)]='CONFLICT',_0x1ee552[_0x3068ca(0x484)]=_0x3068ca(0x484),_0x1ee552[_0x3068ca(0x2bb)]=_0x3068ca(0x2bb),_0x1ee552[_0x3068ca(0x342)]=_0x3068ca(0x342),_0x1ee552['SOCKET_FAILED']=_0x3068ca(0x2a5),_0x1ee552['SUBMIT_CHANGESET_TIMEOUT']=_0x3068ca(0x332),_0x1ee552;}({});var _0x10b08d=class{constructor(){const _0x31917c=_0x5bf0eb;_0x527b5d(this,'_event$',new _0x4f3716[(_0x31917c(0x33a))]()),_0x527b5d(this,_0x31917c(0x3b7),this[_0x31917c(0x326)]['asObservable']());}[_0x5bf0eb(0x216)](_0x33cd3e){const _0x1586b8=_0x5bf0eb;this[_0x1586b8(0x326)][_0x1586b8(0x274)](_0x33cd3e);}},_0x4f6931=class{constructor(){const _0x1c11ba=_0x5bf0eb;_0x527b5d(this,_0x1c11ba(0x262),new _0x4f3716[(_0x1c11ba(0x33a))]()),_0x527b5d(this,_0x1c11ba(0x29a),this['_commentUpdate$']['asObservable']());}[_0x5bf0eb(0x215)](_0x18922a){const _0xc64554=_0x5bf0eb;this[_0xc64554(0x262)][_0xc64554(0x274)](_0x18922a);}};function _0xe72533(_0x5b1ead,_0x1bae47){return function(_0x4c3a49,_0x5d8d98){_0x1bae47(_0x4c3a49,_0x5d8d98,_0x5b1ead);};}function _0x4e6e0f(_0x5a323e,_0x319813,_0x138aca,_0xef2d75){const _0x19530e=_0x5bf0eb;var _0x538153=arguments[_0x19530e(0x2e3)],_0xfa1d3e=_0x538153<0x3?_0x319813:_0xef2d75===null?_0xef2d75=Object[_0x19530e(0x2ad)](_0x319813,_0x138aca):_0xef2d75,_0x3c8dc2;if(typeof Reflect=='object'&&typeof Reflect[_0x19530e(0x3b4)]==_0x19530e(0x32c))_0xfa1d3e=Reflect[_0x19530e(0x3b4)](_0x5a323e,_0x319813,_0x138aca,_0xef2d75);else{for(var _0x5a60fa=_0x5a323e[_0x19530e(0x2e3)]-0x1;_0x5a60fa>=0x0;_0x5a60fa--)(_0x3c8dc2=_0x5a323e[_0x5a60fa])&&(_0xfa1d3e=(_0x538153<0x3?_0x3c8dc2(_0xfa1d3e):_0x538153>0x3?_0x3c8dc2(_0x319813,_0x138aca,_0xfa1d3e):_0x3c8dc2(_0x319813,_0x138aca))||_0xfa1d3e);}return _0x538153>0x3&&_0xfa1d3e&&Object[_0x19530e(0x497)](_0x319813,_0x138aca,_0xfa1d3e),_0xfa1d3e;}let _0xf86089=class extends _0x2dbbd9[_0x5bf0eb(0x2e6)]{constructor(_0x216414,_0xe00463){const _0x121645=_0x5bf0eb;super(),this[_0x121645(0x389)]=_0x216414,this[_0x121645(0x1f2)]=_0xe00463,_0x527b5d(this,_0x121645(0x45e),new Map()),_0x527b5d(this,_0x121645(0x34d),new _0x4f3716[(_0x121645(0x33a))]()),this[_0x121645(0x4a6)]((0x0,_0x4f3716[_0x121645(0x42a)])(this[_0x121645(0x389)][_0x121645(0x344)](_0x2dbbd9[_0x121645(0x442)][_0x121645(0x20a)])[_0x121645(0x4be)]((0x0,_0x2ab3d8[_0x121645(0x1e3)])(_0x528530=>_0x528530[_0x121645(0x3a7)]())),this['_univerInstanceService'][_0x121645(0x344)](_0x2dbbd9[_0x121645(0x442)][_0x121645(0x477)])['pipe']((0x0,_0x2ab3d8[_0x121645(0x1e3)])(_0x371c14=>_0x371c14[_0x121645(0x3a7)]())))[_0x121645(0x31f)](_0x5eff81=>this['_removeRoom'](_0x5eff81)));}['waitForRoom$'](_0x585d09){const _0xa86fa9=_0x5bf0eb;return this['_roomMembers'][_0xa86fa9(0x252)](_0x585d09)?(0x0,_0x4f3716['of'])(this['_roomMembers']['get'](_0x585d09)):this[_0xa86fa9(0x34d)][_0xa86fa9(0x4be)]((0x0,_0x2ab3d8[_0xa86fa9(0x1e3)])(_0x31a9f3=>{if(_0x31a9f3===_0x585d09)return this['_roomMembers']['get'](_0x31a9f3);}));}[_0x5bf0eb(0x4f6)](_0x5e7ce5){const _0x508755=_0x5bf0eb;this[_0x508755(0x1f2)]['setCurrentUser'](_0x5e7ce5);}[_0x5bf0eb(0x2bf)](){const _0x4967d0=_0x5bf0eb;return this[_0x4967d0(0x1f2)]['getCurrentUser']();}[_0x5bf0eb(0x38c)](_0x5b94bc,_0x9fb53f){const _0x44df45=_0x5bf0eb;let _0x250cd4=this[_0x44df45(0x45e)][_0x44df45(0x42f)](_0x5b94bc);_0x250cd4||(_0x250cd4=new _0x1f1a3a(),this[_0x44df45(0x45e)][_0x44df45(0x41a)](_0x5b94bc,_0x250cd4),this[_0x44df45(0x34d)][_0x44df45(0x274)](_0x5b94bc)),_0x250cd4[_0x44df45(0x38c)](_0x9fb53f);}[_0x5bf0eb(0x4af)](_0x5b96ed,_0x2b3c13){const _0x2e1c56=_0x5bf0eb;let _0x151033=this['_roomMembers'][_0x2e1c56(0x42f)](_0x5b96ed);_0x151033&&_0x151033['removeMember'](_0x2b3c13);}[_0x5bf0eb(0x214)](_0x37241c){const _0x3fe673=_0x5bf0eb;return this[_0x3fe673(0x45e)][_0x3fe673(0x42f)](_0x37241c);}[_0x5bf0eb(0x4c0)](_0x2cb0c9,_0x463ae6){let _0x216d7a=this['_roomMembers']['get'](_0x2cb0c9);if(_0x216d7a)return _0x216d7a['getMember'](_0x463ae6);}[_0x5bf0eb(0x43e)](_0x10a667){const _0x2441c4=_0x5bf0eb;let _0x1a9545=this[_0x2441c4(0x45e)][_0x2441c4(0x42f)](_0x10a667);_0x1a9545&&(_0x1a9545[_0x2441c4(0x2e2)](),this['_roomMembers']['delete'](_0x10a667));}[_0x5bf0eb(0x2e2)](){const _0x1cea25=_0x5bf0eb;this[_0x1cea25(0x45e)][_0x1cea25(0x312)](_0x29a10f=>_0x29a10f[_0x1cea25(0x2e2)]()),this['_roomMembers'][_0x1cea25(0x4b9)](),this[_0x1cea25(0x34d)][_0x1cea25(0x311)]();}};_0xf86089=_0x4e6e0f([_0xe72533(0x0,_0x2dbbd9['IUniverInstanceService']),_0xe72533(0x1,(0x0,_0x2dbbd9['Inject'])(_0x2dbbd9[_0x5bf0eb(0x1f0)]))],_0xf86089);var _0x1f1a3a=class extends _0x2dbbd9[_0x5bf0eb(0x2e6)]{constructor(..._0x25a323){const _0x2e3ae7=_0x5bf0eb;super(..._0x25a323),_0x527b5d(this,_0x2e3ae7(0x381),new Map()),_0x527b5d(this,_0x2e3ae7(0x47a),new _0x4f3716[(_0x2e3ae7(0x391))](this[_0x2e3ae7(0x381)])),_0x527b5d(this,'members$',this[_0x2e3ae7(0x47a)]['asObservable']());}['dispose'](){const _0x290d3c=_0x5bf0eb;this[_0x290d3c(0x381)]['clear'](),this[_0x290d3c(0x47a)][_0x290d3c(0x311)]();}[_0x5bf0eb(0x38c)](_0xf146d7){const _0xbc2e18=_0x5bf0eb;this[_0xbc2e18(0x381)][_0xbc2e18(0x41a)](_0xf146d7[_0xbc2e18(0x260)],_0xf146d7),this[_0xbc2e18(0x49e)]();}['removeMember'](_0xf05f35){const _0x249f54=_0x5bf0eb;this['_members'][_0x249f54(0x4d5)](_0xf05f35),this[_0x249f54(0x49e)]();}[_0x5bf0eb(0x4c0)](_0x298545){const _0x1f134c=_0x5bf0eb;return this['_members'][_0x1f134c(0x42f)](_0x298545);}['getAllMembers'](){const _0x36e0a7=_0x5bf0eb;return Array[_0x36e0a7(0x3ce)](this[_0x36e0a7(0x381)][_0x36e0a7(0x20e)]());}[_0x5bf0eb(0x49e)](){const _0xa4549f=_0x5bf0eb;this[_0xa4549f(0x47a)][_0xa4549f(0x274)](this['_members']);}};let _0x45b19d=function(_0xcc59b1){const _0x3ee5eb=_0x5bf0eb;return _0xcc59b1[_0xcc59b1[_0x3ee5eb(0x4e8)]=0x0]=_0x3ee5eb(0x4e8),_0xcc59b1[_0xcc59b1[_0x3ee5eb(0x372)]=0x1]='JOINING',_0xcc59b1[_0xcc59b1[_0x3ee5eb(0x417)]=0x2]=_0x3ee5eb(0x417),_0xcc59b1[_0xcc59b1[_0x3ee5eb(0x464)]=0x3]=_0x3ee5eb(0x464),_0xcc59b1;}({}),_0x6d4b86={[_0x240cfb[_0x5bf0eb(0x447)][_0x5bf0eb(0x223)]]:'session.join-failed',[_0x240cfb['CmdRspCode'][_0x5bf0eb(0x34c)]]:_0x5bf0eb(0x3c9),[_0x240cfb[_0x5bf0eb(0x447)][_0x5bf0eb(0x3c1)]]:_0x5bf0eb(0x307),[_0x240cfb[_0x5bf0eb(0x447)]['JOIN_ROOM_PERMISSION_DENIED']]:_0x5bf0eb(0x287),[_0x240cfb[_0x5bf0eb(0x447)]['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5bf0eb(0x3c2)},_0x2fe3e1=class extends _0x2dbbd9[_0x5bf0eb(0x2ed)]{get[_0x5bf0eb(0x3a2)](){const _0x5931a5=_0x5bf0eb;return this[_0x5931a5(0x492)]['getValue']();}constructor(_0x11f55b,_0xa9459f,_0x7b7e60,_0x342bef,_0x36f00f,_0x18d2f2,_0x4bf71d,_0xcf03cc){const _0xe3b717=_0x5bf0eb;super(),this[_0xe3b717(0x2a0)]=_0x11f55b,this[_0xe3b717(0x236)]=_0x7b7e60,this[_0xe3b717(0x266)]=_0x342bef,this[_0xe3b717(0x2a4)]=_0x36f00f,this[_0xe3b717(0x278)]=_0x18d2f2,this[_0xe3b717(0x392)]=_0x4bf71d,this[_0xe3b717(0x3e5)]=_0xcf03cc,_0x527b5d(this,_0xe3b717(0x492),new _0x4f3716[(_0xe3b717(0x391))](0x0)),_0x527b5d(this,_0xe3b717(0x289),this[_0xe3b717(0x492)][_0xe3b717(0x2e9)]()),_0x527b5d(this,'_event$',new _0x4f3716[(_0xe3b717(0x33a))]()),_0x527b5d(this,_0xe3b717(0x3b7),this[_0xe3b717(0x326)][_0xe3b717(0x2e9)]()),_0x527b5d(this,_0xe3b717(0x2ec),void 0x0),_0x527b5d(this,_0xe3b717(0x369),void 0x0),_0x527b5d(this,_0xe3b717(0x298),void 0x0),_0x527b5d(this,_0xe3b717(0x330),!0x1),_0x527b5d(this,'_telemetryInfo',null),this[_0xe3b717(0x330)]=!!this[_0xe3b717(0x3e5)],_0xa9459f['pipe']((0x0,_0x4f3716[_0xe3b717(0x4fc)])(this[_0xe3b717(0x3ea)]))['subscribe'](_0x3fd341=>{const _0x3eca66=_0xe3b717;if(_0x3fd341!==void 0x0){if(this[_0x3eca66(0x2ec)]=_0x3fd341,_0x3fd341)this[_0x3eca66(0x235)](_0x3fd341),this['_socketMessageSubscription']=_0x3fd341[_0x3eca66(0x35c)][_0x3eca66(0x31f)](_0x2637b3=>{const _0x48d644=_0x3eca66;_0x2637b3[_0x48d644(0x231)]===this[_0x48d644(0x2a0)]&&this['_onCombEvent'](_0x2637b3);});else{var _0x578fa7;this[_0x3eca66(0x21c)](),this[_0x3eca66(0x492)][_0x3eca66(0x274)](0x2),(_0x578fa7=this['_socketMessageSubscription'])==null||_0x578fa7[_0x3eca66(0x34b)](),this[_0x3eca66(0x369)]=null;}}});}['getMemberID'](){const _0x156c2d=_0x5bf0eb;var _0x417a5b,_0x286176;return(_0x417a5b=(_0x286176=this[_0x156c2d(0x2ec)])==null?void 0x0:_0x286176[_0x156c2d(0x260)])==null?null:_0x417a5b;}[_0x5bf0eb(0x2e2)](){const _0x2c4eb5=_0x5bf0eb;super['dispose'](),this[_0x2c4eb5(0x243)](),this[_0x2c4eb5(0x3ea)][_0x2c4eb5(0x274)](),this[_0x2c4eb5(0x3ea)][_0x2c4eb5(0x311)]();}[_0x5bf0eb(0x243)](){const _0x246251=_0x5bf0eb;var _0x8537ad,_0x35cf22;this['_throwTelemetryCollaborationNewChangeset'](),(_0x8537ad=this[_0x246251(0x2ec)])==null||_0x8537ad[_0x246251(0x4eb)]({'cmd':_0x240cfb['CombCmd'][_0x246251(0x2f2)],'data':{'roomID':this['_unitID']}}),(_0x35cf22=this[_0x246251(0x2ec)])==null||_0x35cf22[_0x246251(0x243)](),this['_event$'][_0x246251(0x311)](),this[_0x246251(0x492)][_0x246251(0x311)]();}[_0x5bf0eb(0x358)](_0x184466){const _0x5754aa=_0x5bf0eb;_0x184466[_0x5754aa(0x3c8)]===_0x240cfb['CombCmd'][_0x5754aa(0x4a1)]?this[_0x5754aa(0x302)](_0x184466):_0x184466['cmd']===_0x240cfb[_0x5754aa(0x42b)]['RECV']&&this[_0x5754aa(0x272)](_0x184466);}['_joinRoom'](_0x2b8eaf){const _0x2f22a9=_0x5bf0eb;this[_0x2f22a9(0x492)]['next'](0x1),_0x2b8eaf[_0x2f22a9(0x4eb)]({'cmd':_0x240cfb[_0x2f22a9(0x42b)]['JOIN'],'routeKey':this[_0x2f22a9(0x2a0)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2f22a9(0x2a0)]}]}});}[_0x5bf0eb(0x302)](_0x5c0764){const _0x50da25=_0x5bf0eb;var _0x59c848;if(_0x5c0764[_0x50da25(0x4ff)]in _0x6d4b86){this[_0x50da25(0x392)]['emitEvent']({'id':'JOIN_ROOM_FAILED','data':_0x6d4b86[_0x5c0764[_0x50da25(0x4ff)]]}),this[_0x50da25(0x492)][_0x50da25(0x274)](0x2);return;}this[_0x50da25(0x492)][_0x50da25(0x274)](0x3);let _0x31ade4=(_0x59c848=_0x5c0764[_0x50da25(0x43a)]['roomInfos'][this[_0x50da25(0x2a0)]])==null?void 0x0:_0x59c848[_0x50da25(0x275)];_0x31ade4&&_0x31ade4['forEach'](_0x12a783=>this['_memberService']['updateMember'](this[_0x50da25(0x2a0)],_0x12a783));}[_0x5bf0eb(0x272)](_0x507ee6){const _0x2c4725=_0x5bf0eb;try{let _0x11077a=_0x507ee6[_0x2c4725(0x43a)];switch(_0x11077a[_0x2c4725(0x4d9)]){case _0x2b53f2[_0x2c4725(0x406)][_0x2c4725(0x3eb)]:this[_0x2c4725(0x3d0)](_0x11077a),this['_event$'][_0x2c4725(0x274)](_0x11077a);break;case _0x2b53f2['CollaborationEvent'][_0x2c4725(0x4c8)]:this[_0x2c4725(0x3e6)](_0x11077a),this[_0x2c4725(0x326)]['next'](_0x11077a);break;case _0x2b53f2[_0x2c4725(0x406)][_0x2c4725(0x3b0)]:case _0x2b53f2[_0x2c4725(0x406)][_0x2c4725(0x437)]:this[_0x2c4725(0x2d1)](),this[_0x2c4725(0x263)](),this['_event$'][_0x2c4725(0x274)](_0x11077a);break;case _0x2b53f2['CollaborationEvent'][_0x2c4725(0x40b)]:this[_0x2c4725(0x236)][_0x2c4725(0x35f)](_0x2c4725(0x2c7)+JSON['stringify'](_0x11077a)),this[_0x2c4725(0x326)]['next'](_0x11077a);break;case _0x2b53f2['CollaborationEvent']['COMMENT_UPDATE']:this[_0x2c4725(0x278)][_0x2c4725(0x215)](_0x11077a['data']),this['_event$'][_0x2c4725(0x274)](_0x11077a);break;default:this['_event$']['next'](_0x11077a);}}catch(_0x52ffc9){this[_0x2c4725(0x236)][_0x2c4725(0x35f)](_0x52ffc9,_0x507ee6);}}['_onUserJoin'](_0x389fea){const _0x50ca90=_0x5bf0eb;this[_0x50ca90(0x2a4)]['updateMember'](this[_0x50ca90(0x2a0)],_0x389fea[_0x50ca90(0x43a)]);}[_0x5bf0eb(0x3e6)](_0x38c33c){const _0x34bbb3=_0x5bf0eb;this[_0x34bbb3(0x2a4)]['removeMember'](this[_0x34bbb3(0x2a0)],_0x38c33c[_0x34bbb3(0x43a)][_0x34bbb3(0x260)]);}async['send'](_0x2dc9bf,_0x2eec20){const _0x349b0b=_0x5bf0eb;if(this[_0x349b0b(0x3a2)]!==0x3||!this[_0x349b0b(0x2ec)])throw Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2dc9bf[_0x349b0b(0x4d9)]===_0x2b53f2[_0x349b0b(0x406)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x349b0b(0x3bf)](_0x2dc9bf)),this['_socket']['send']({'cmd':_0x240cfb[_0x349b0b(0x42b)][_0x349b0b(0x249)],'routeKey':_0x2eec20,'routeType':'','data':_0x2dc9bf});}catch(_0x2bec92){this[_0x349b0b(0x236)][_0x349b0b(0x35f)](_0x2bec92);}}[_0x5bf0eb(0x404)](){const _0x52bef3=_0x5bf0eb;var _0x5d2d42;this['_collaborationTimeoutTimer']=setTimeout(()=>{const _0x101e9f=_0x4f27;this[_0x101e9f(0x298)]=null,this[_0x101e9f(0x392)][_0x101e9f(0x216)]({'id':_0x101e9f(0x332)});},(_0x5d2d42=this[_0x52bef3(0x266)][_0x52bef3(0x46c)]('HEARTBEAT_TIMEOUT'))==null?_0x39fe51:_0x5d2d42);}[_0x5bf0eb(0x263)](){const _0xc01f9c=_0x5bf0eb;this[_0xc01f9c(0x298)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xc01f9c(0x298)]=null);}[_0x5bf0eb(0x3bf)](_0x29adaa){const _0x26f6d6=_0x5bf0eb;if(!this[_0x26f6d6(0x330)])return;let {data:_0x277a88}=_0x29adaa,{unitID:_0x1f37d4,changeset:_0x433e0e}=_0x277a88,{mutations:_0x4aaab6,type:_0x522b3b}=_0x433e0e;this['_telemetryInfo']={'unitId':_0x1f37d4,'type':_0x522b3b,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x4050ec(_0x4aaab6)};}[_0x5bf0eb(0x2d1)](){const _0x1dd0f7=_0x5bf0eb;if(this[_0x1dd0f7(0x330)]){if(!this[_0x1dd0f7(0x48c)]){this[_0x1dd0f7(0x236)]['error']('[CollaborationSession]',_0x1dd0f7(0x3a9));return;}this['_telemetryInfo'][_0x1dd0f7(0x2f1)]=performance[_0x1dd0f7(0x4a9)](),this[_0x1dd0f7(0x48c)][_0x1dd0f7(0x4fb)]=this['_telemetryInfo'][_0x1dd0f7(0x2f1)]-this[_0x1dd0f7(0x48c)][_0x1dd0f7(0x336)],this['_telemetryService'][_0x1dd0f7(0x3fe)](_0x1dd0f7(0x43c),this[_0x1dd0f7(0x48c)]),this[_0x1dd0f7(0x48c)]=null;}}[_0x5bf0eb(0x21c)](){this['_telemetryInfo']=null;}};_0x2fe3e1=_0x4e6e0f([_0xe72533(0x2,_0x2dbbd9[_0x5bf0eb(0x21b)]),_0xe72533(0x3,_0x2dbbd9[_0x5bf0eb(0x488)]),_0xe72533(0x4,(0x0,_0x2dbbd9['Inject'])(_0xf86089)),_0xe72533(0x5,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x4f6931)),_0xe72533(0x6,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x10b08d)),_0xe72533(0x7,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x564f5a['ITelemetryService']))],_0x2fe3e1);let _0x36e220=(0x0,_0x2dbbd9['createIdentifier'])('collaboration-client.local-cache-service');function _0x41fc85(_0x4d2b68){const _0x1b4298=_0x5bf0eb;return _0x1b4298(0x2fb)+_0x4d2b68;}function _0x3aa1a3(_0xe88341){const _0x5c556e=_0x5bf0eb;let {unitID:_0x3e8d4f,mutations:_0x2ae15c}=_0xe88341;return{'unitId':_0x3e8d4f,'subUnitId':_0x2ae15c[_0x5c556e(0x2e3)]>0x0?_0x2ae15c[0x0]['params'][_0x5c556e(0x374)]:null};}let _0x53e950=class{constructor(_0x5ec547,_0x8b0ec8,_0x32c214){const _0x46f684=_0x5bf0eb;this[_0x46f684(0x2d5)]=_0x5ec547,this[_0x46f684(0x409)]=_0x8b0ec8,this[_0x46f684(0x3f0)]=_0x32c214;}['transformSelections'](_0x10fa0a){const _0x1c0356=_0x5bf0eb;var _0x594bff,_0x212663;let _0x58416c=this[_0x1c0356(0x2d5)][_0x1c0356(0x42f)](_0x184bfa[_0x1c0356(0x498)]),{unitId:_0x5486bc,subUnitId:_0x54a04a}=_0x3aa1a3(_0x10fa0a),_0x4bb167=_0x58416c==null?void 0x0:_0x58416c[_0x1c0356(0x426)](_0x5486bc)[_0x1c0356(0x22d)](),_0x4437dc=(_0x594bff=this[_0x1c0356(0x3f0)][_0x1c0356(0x45d)](_0x5486bc))==null||(_0x594bff=_0x594bff[_0x1c0356(0x218)]())==null?void 0x0:_0x594bff[_0x1c0356(0x3c5)]();if(_0x4bb167['length']===0x0||!_0x5486bc||!_0x54a04a)return;let _0x5fa596=[{'id':_0x184bfa[_0x1c0356(0x23c)]['id'],'params':{'unitId':_0x5486bc,'subUnitId':_0x4437dc,'selections':_0x2dbbd9[_0x1c0356(0x38b)][_0x1c0356(0x393)](_0x4bb167)}}],_0x3bf10f=this['_transformService'][_0x1c0356(0x3db)](_0x10fa0a,_0x5fa596);if(!(0x0,_0x2b53f2['isTransformMutationsWithChangesetSuccess'])(_0x3bf10f))throw _0x3bf10f[_0x1c0356(0x35f)];let _0x100683=(_0x212663=_0x3bf10f[_0x1c0356(0x4c9)][0x0])==null||(_0x212663=_0x212663[_0x1c0356(0x4c7)])==null?void 0x0:_0x212663[_0x1c0356(0x4dd)];if(Array[_0x1c0356(0x352)](_0x100683)&&_0x100683[_0x1c0356(0x2e3)]){if(_0x100683['length']===_0x5fa596[0x0][_0x1c0356(0x4c7)]['selections']['length']&&_0x100683[_0x1c0356(0x33b)]((_0xb29e1,_0x142396)=>_0x2dbbd9[_0x1c0356(0x411)][_0x1c0356(0x4e9)](_0xb29e1[_0x1c0356(0x346)],_0x5fa596[0x0][_0x1c0356(0x4c7)][_0x1c0356(0x4dd)][_0x142396][_0x1c0356(0x346)])))return;this['_injector'][_0x1c0356(0x42f)](_0x2dbbd9[_0x1c0356(0x28c)])[_0x1c0356(0x3f5)](_0x184bfa[_0x1c0356(0x23c)]['id'],{'unitId':_0x5486bc,'subUnitId':_0x4437dc,'selections':_0x100683});}}};_0x53e950=_0x4e6e0f([_0xe72533(0x0,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x3fa)])),_0xe72533(0x1,_0x2b53f2['ITransformService']),_0xe72533(0x2,_0x2dbbd9['IUniverInstanceService'])],_0x53e950);let _0x268fcd=(0x0,_0x2dbbd9[_0x5bf0eb(0x2c8)])(_0x5bf0eb(0x351)),_0x26ce4c=function(_0x4bf5ba){const _0x214c43=_0x5bf0eb;return _0x4bf5ba[_0x4bf5ba['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4bf5ba[_0x4bf5ba[_0x214c43(0x239)]=0x1]=_0x214c43(0x239),_0x4bf5ba;}({}),_0x2a84dd=_0x5bf0eb(0x2ca);Symbol(_0x2a84dd);let _0x3b8dd5={};function _0x4a422f(_0x4445ac){const _0x390d88=_0x5bf0eb;var _0x147600;return!!((_0x147600=_0x4445ac[_0x390d88(0x4c7)])!=null&&_0x147600['__splitChunk__']);}let _0x2e926e=new Set([_0x184bfa['InsertSheetMutation']['id']]);function _0x1f473b(_0x1e4571,_0x323d1b,_0x3b6b46,_0x52313,_0x582075){const _0x18bd32=_0x5bf0eb;var _0x1b6aab,_0x233f67,_0x4af70a,_0x3eea2c;let _0x58a855=[];for(let _0x59133c of _0x1e4571){if(_0x2e926e[_0x18bd32(0x252)](_0x59133c['id'])){if(_0x58a855[_0x18bd32(0x2e3)]>0x0)break;_0x58a855[_0x18bd32(0x23f)](_0x59133c);break;}if(_0x4a422f(_0x59133c)){if(_0x58a855['length']>0x0)break;_0x58a855[_0x18bd32(0x23f)](_0x59133c);break;}_0x58a855[_0x18bd32(0x23f)](_0x59133c);}let _0x15a150=(_0x1b6aab=(_0x233f67=_0x582075['getCurrentUser']())==null?void 0x0:_0x233f67[_0x18bd32(0x48b)])==null?_0x18bd32(0x466):_0x1b6aab,_0x4431a1=(_0x4af70a=(_0x3eea2c=_0x582075[_0x18bd32(0x2bf)]())==null?void 0x0:_0x3eea2c['memberID'])==null?_0x18bd32(0x466):_0x4af70a;return{'changeset':{'unitID':_0x323d1b,'type':(0x0,_0x2b53f2[_0x18bd32(0x398)])(_0x3b6b46[_0x18bd32(0x310)](_0x323d1b)),'baseRev':_0x52313[_0x18bd32(0x2de)](_0x323d1b),'revision':0x0,'userID':_0x15a150,'memberID':_0x4431a1,'mutations':_0x58a855},'pendingMutations':_0x1e4571[_0x18bd32(0x490)](_0x58a855['length'])};}function _0x11ffe5(_0x703780,_0x1b18fb,_0x48a55e,_0x5da3c5,_0x4f0efa){const _0x29d202=_0x5bf0eb;var _0x137bb5,_0x306313,_0x4ba8aa,_0x21d5cc;let _0x794028=[_0x703780[_0x29d202(0x3dd)]((_0x4d9742,_0xc6d097)=>{const _0x515aab=_0x29d202;var _0x3ce79f;let {id:_0x938f85}=_0x4d9742,{id:_0x5341ad,type:_0x39081e}=_0xc6d097,_0x236cee=(_0x3ce79f=_0x4d9742[_0x515aab(0x4c7)])==null?{'actions':null}:_0x3ce79f,_0x2cf092=_0xc6d097[_0x515aab(0x4c7)];if(_0x938f85&&_0x938f85!==_0x5341ad)throw Error(_0x515aab(0x301)+_0x938f85+'\x20-\x20'+_0x5341ad+'.');return{..._0x4d9742,'id':_0x5341ad,'type':_0x39081e,'params':{'unitId':_0x2cf092[_0x515aab(0x281)],'textRanges':_0x2cf092['textRanges'],'actions':_0x2dbbd9['JSONX'][_0x515aab(0x3d7)](_0x236cee['actions'],_0x2cf092[_0x515aab(0x415)])}};},{})],_0x55b906=(_0x137bb5=(_0x306313=_0x4f0efa[_0x29d202(0x2bf)]())==null?void 0x0:_0x306313[_0x29d202(0x48b)])==null?_0x29d202(0x466):_0x137bb5,_0x358615=(_0x4ba8aa=(_0x21d5cc=_0x4f0efa[_0x29d202(0x2bf)]())==null?void 0x0:_0x21d5cc[_0x29d202(0x260)])==null?_0x29d202(0x466):_0x4ba8aa;return{'changeset':{'unitID':_0x1b18fb,'type':(0x0,_0x2b53f2['mapDocumentTypeToUniverInstanceType'])(_0x48a55e[_0x29d202(0x310)](_0x1b18fb)),'baseRev':_0x5da3c5[_0x29d202(0x2de)](_0x1b18fb),'revision':0x0,'userID':_0x55b906,'memberID':_0x358615,'mutations':_0x794028},'pendingMutations':[]};}function _0x328c98(_0x2198a5,_0x142c6c){const _0x407b94=_0x5bf0eb;let _0x133d69=new _0x4f3716[(_0x407b94(0x33e))](0x1);return setTimeout(()=>_0x133d69[_0x407b94(0x274)](_0x142c6c),_0x2198a5),_0x133d69[_0x407b94(0x2e9)]()['pipe']((0x0,_0x4f3716[_0x407b94(0x4ca)])(0x1));}var _0x1b0a99,_0x379970,_0x23a599;let _0x41a59c=function(_0x4cc6e7){const _0xd68850=_0x5bf0eb;return _0x4cc6e7[_0xd68850(0x48a)]='not_collab',_0x4cc6e7[_0xd68850(0x23e)]=_0xd68850(0x43b),_0x4cc6e7['PENDING']=_0xd68850(0x4e6),_0x4cc6e7[_0xd68850(0x25f)]=_0xd68850(0x1ff),_0x4cc6e7['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x4cc6e7[_0xd68850(0x4c3)]=_0xd68850(0x322),_0x4cc6e7[_0xd68850(0x25d)]=_0xd68850(0x4e0),_0x4cc6e7['OFFLINE']=_0xd68850(0x2c6),_0x4cc6e7;}({}),_0x29e294=0x4e20,_0xe13796=0x2bf20;var _0x48f410=class{constructor(_0x13c4c6,_0x58520f,_0x370c2a,_0x5043a6,_0x515458,_0x390816,_0x269030,_0x2bee60,_0x3611ab){const _0x1bb001=_0x5bf0eb;this['unitID']=_0x13c4c6,this[_0x1bb001(0x3f8)]=_0x58520f,this[_0x1bb001(0x44c)]=_0x515458,this[_0x1bb001(0x399)]=_0x390816,this[_0x1bb001(0x3e4)]=_0x269030,this[_0x1bb001(0x468)]=_0x2bee60,this[_0x1bb001(0x33c)]=_0x3611ab,_0x527b5d(this,_0x1bb001(0x44d),null),_0x527b5d(this,_0x1bb001(0x4f4),[]),this[_0x1bb001(0x44d)]=_0x370c2a,this[_0x1bb001(0x4f4)]=_0x5043a6;}['_checkMissing'](_0x55fcbd){const _0x100019=_0x5bf0eb;let _0x39f362=this[_0x100019(0x468)][_0x100019(0x2de)](this[_0x100019(0x37e)]);return _0x55fcbd['revision']>_0x39f362+0x1?(this[_0x100019(0x44c)][_0x100019(0x388)]({'from':_0x39f362,'to':_0x55fcbd[_0x100019(0x4ea)]-0x1}),!0x0):!0x1;}[_0x5bf0eb(0x4a2)](_0x1efb32){const _0x449ac4=_0x5bf0eb;this[_0x449ac4(0x3e4)][_0x449ac4(0x44b)](this[_0x449ac4(0x37e)],_0x1efb32);}[_0x5bf0eb(0x3f6)](_0x5c42cc){const _0x1dd361=_0x5bf0eb;var _0x103ebc,_0x313144;(_0x103ebc=(_0x313144=this[_0x1dd361(0x44c)])['onTransformSelections'])==null||_0x103ebc['call'](_0x313144,_0x5c42cc);}[_0x5bf0eb(0x273)](_0x3de3dd){const _0x159955=_0x5bf0eb;var _0x5f1a0e,_0x418354;return(_0x5f1a0e=(_0x418354=this[_0x159955(0x44c)])[_0x159955(0x403)])==null?void 0x0:_0x5f1a0e[_0x159955(0x354)](_0x418354,_0x3de3dd);}['_transformStateCache'](_0x2a27f8){const _0x8403d5=_0x5bf0eb;var _0x26f72f,_0x5bcef0;return(_0x26f72f=(_0x5bcef0=this[_0x8403d5(0x44c)])[_0x8403d5(0x46d)])==null?void 0x0:_0x26f72f[_0x8403d5(0x354)](_0x5bcef0,_0x2a27f8);}[_0x5bf0eb(0x364)](_0x443c51){const _0x19f2d2=_0x5bf0eb;var _0xf5eca0,_0xbc319,_0x12b519;return(_0xf5eca0=(_0xbc319=(_0x12b519=this['_handler'])[_0x19f2d2(0x276)])==null?void 0x0:_0xbc319['call'](_0x12b519,_0x443c51))==null?_0x443c51:_0xf5eca0;}[_0x5bf0eb(0x467)](_0x5bca5e){const _0x17a2f6=_0x5bf0eb;var _0x4ff7d6,_0x37a702,_0x3f8d35;return(_0x4ff7d6=(_0x37a702=(_0x3f8d35=this[_0x17a2f6(0x44c)])[_0x17a2f6(0x227)])==null?void 0x0:_0x37a702[_0x17a2f6(0x354)](_0x3f8d35,_0x5bca5e))==null?_0x5bca5e:_0x4ff7d6;}[_0x5bf0eb(0x441)](_0x5c72b9){const _0x4b8917=_0x5bf0eb;if(this['type']===_0x2dbbd9['UniverInstanceType'][_0x4b8917(0x477)]){let {unitID:_0x1716aa,mutations:_0x5aee5c,memberID:_0x52c5a9}=_0x5c72b9,_0x52b9bc=_0x5aee5c[_0x4b8917(0x2e3)]>0x0?_0x5aee5c[0x0][_0x4b8917(0x4c7)]['textRanges']:[];if(Array[_0x4b8917(0x352)](_0x52b9bc)&&_0x52b9bc[_0x4b8917(0x2e3)]>0x0){var _0x54670a,_0x455fd5;(_0x54670a=(_0x455fd5=this[_0x4b8917(0x44c)])[_0x4b8917(0x493)])==null||_0x54670a[_0x4b8917(0x354)](_0x455fd5,{'unitID':_0x1716aa,'memberID':_0x52c5a9,'textRanges':_0x52b9bc});}}}['_updateLocalCache'](){const _0x497b8e=_0x5bf0eb;var _0x1449ff;(_0x1449ff=this[_0x497b8e(0x33c)])==null||_0x1449ff[_0x497b8e(0x26f)](this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x497b8e(0x4f4)]);}[_0x5bf0eb(0x315)](){const _0x2a5dc4=_0x5bf0eb;return this['_revisionService'][_0x2a5dc4(0x2de)](this['unitID']);}[_0x5bf0eb(0x208)](){const _0x2d1686=_0x5bf0eb;this[_0x2d1686(0x468)][_0x2d1686(0x401)](this[_0x2d1686(0x37e)]);}[_0x5bf0eb(0x3d9)](_0x3af240){const _0x362785=_0x5bf0eb;let _0x49f278=this[_0x362785(0x364)](_0x3af240);_0x49f278=this[_0x362785(0x467)](_0x49f278);let _0x22f99c=(0x0,_0x2dbbd9['sequenceExecute'])(_0x49f278[_0x362785(0x277)],this[_0x362785(0x399)],{'fromCollab':!0x0});if(!_0x22f99c[_0x362785(0x4b6)]){var _0x50413e;throw _0x22f99c[_0x362785(0x35f)]instanceof Error?_0x22f99c[_0x362785(0x35f)]:Error((_0x50413e=_0x22f99c[_0x362785(0x35f)])==null?'[CollaborationState]:\x20apply\x20error!':_0x50413e);}this[_0x362785(0x273)](_0x49f278),this['_transformStateCache'](_0x49f278),this[_0x362785(0x4a2)](_0x3af240),this['_transformSelections'](_0x49f278),this['_syncEditingCollabCursor'](_0x49f278),this[_0x362785(0x208)]();}};let _0x28d539=class extends _0x48f410{constructor(_0x181d1c,_0x2a4632,_0xecef6b,_0x2659d1,_0x57179b,_0x79141f,_0x314d51,_0x2b248f,_0x3d4659,_0x502622){const _0x3db587=_0x5bf0eb;super(_0x181d1c,_0x2a4632,null,[],_0xecef6b,_0x314d51,_0x79141f,_0x2659d1,_0x502622),this[_0x3db587(0x2d5)]=_0x57179b,this[_0x3db587(0x236)]=_0x2b248f,this['_transformService']=_0x3d4659,this[_0x3db587(0x41e)]=_0x502622,_0x527b5d(this,_0x3db587(0x308),_0x3db587(0x43b));}[_0x5bf0eb(0x4fd)](_0x45d526){const _0x36e73c=_0x5bf0eb;let _0x10c6e1=this[_0x36e73c(0x2d5)][_0x36e73c(0x408)](_0x17b236,this[_0x36e73c(0x37e)],this['type'],[_0x45d526],this[_0x36e73c(0x44c)]);return _0x10c6e1[_0x36e73c(0x213)](),_0x10c6e1[_0x36e73c(0x22e)](),_0x10c6e1;}[_0x5bf0eb(0x348)](_0x4a9897){const _0x48028c=_0x5bf0eb;if(this['_checkMissing'](_0x4a9897))return this['_injector'][_0x48028c(0x408)](_0x49dbd8,this[_0x48028c(0x37e)],this['type'],null,[],null,[_0x4a9897],this[_0x48028c(0x44c)]);try{let _0x4dbade=this[_0x48028c(0x409)][_0x48028c(0x3db)](_0x4a9897,[_0x2b53f2[_0x48028c(0x36e)]]);if((0x0,_0x2b53f2[_0x48028c(0x333)])(_0x4dbade)){let {c1Prime:_0x5c4ebc}=_0x4dbade;return this[_0x48028c(0x3d9)](_0x5c4ebc),this;}throw _0x4dbade[_0x48028c(0x35f)];}catch(_0x1c81de){return this[_0x48028c(0x236)][_0x48028c(0x35f)](_0x1c81de),this[_0x48028c(0x318)](!0x1);}}[_0x5bf0eb(0x318)](_0x35c445){const _0x5e28c6=_0x5bf0eb;return this[_0x5e28c6(0x2d5)][_0x5e28c6(0x408)](_0x4446c9,this[_0x5e28c6(0x37e)],this[_0x5e28c6(0x3f8)],null,[],this['_handler'],_0x35c445);}[_0x5bf0eb(0x4df)](_0x368577){const _0x44fb71=_0x5bf0eb;if(_0x368577['revision']<=this['_getCurrentRevision']())return this;throw Error(_0x44fb71(0x4f5));}[_0x5bf0eb(0x212)](){const _0x5c4ac6=_0x5bf0eb;throw Error(_0x5c4ac6(0x258));}[_0x5bf0eb(0x3f7)](){return this;}[_0x5bf0eb(0x418)](){const _0xe489b=_0x5bf0eb;return this[_0xe489b(0x2d5)][_0xe489b(0x408)](_0x5a87ab,this['unitID'],this[_0xe489b(0x3f8)],null,[],this['_handler']);}[_0x5bf0eb(0x44e)](){return this;}['resend'](){throw Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x28a13e=_0x5bf0eb;let _0x40861c=this[_0x28a13e(0x468)][_0x28a13e(0x2de)](this[_0x28a13e(0x37e)]);return this[_0x28a13e(0x44c)][_0x28a13e(0x388)]({'from':_0x40861c,'to':0x0}),this[_0x28a13e(0x2d5)][_0x28a13e(0x408)](_0x49dbd8,this[_0x28a13e(0x37e)],this[_0x28a13e(0x3f8)],null,[],null,[],this['_handler']);}};_0x28d539=_0x4e6e0f([_0xe72533(0x3,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2b53f2[_0x5bf0eb(0x495)])),_0xe72533(0x4,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x3fa)])),_0xe72533(0x5,_0x2dbbd9[_0x5bf0eb(0x4bd)]),_0xe72533(0x6,_0x2dbbd9[_0x5bf0eb(0x28c)]),_0xe72533(0x7,_0x2dbbd9[_0x5bf0eb(0x21b)]),_0xe72533(0x8,_0x2b53f2[_0x5bf0eb(0x3e9)]),_0xe72533(0x9,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x36e220))],_0x28d539);let _0x17b236=_0x1b0a99=class extends _0x48f410{constructor(_0x3fc831,_0x49fd50,_0x23a4d,_0x1587e8,_0x4f9660,_0x4d5bcf,_0x3e4003,_0x1da2e5,_0x4422c0,_0x2aa7a,_0x30f6ab,_0x3788d5,_0x437847,_0x12188d){const _0x58311c=_0x5bf0eb;super(_0x3fc831,_0x49fd50,null,_0x23a4d,_0x1587e8,_0x4422c0,_0x437847,_0x4d5bcf,_0x12188d),this['_injector']=_0x4f9660,this['_memberService']=_0x3e4003,this[_0x58311c(0x236)]=_0x1da2e5,this[_0x58311c(0x266)]=_0x2aa7a,this['_transformService']=_0x30f6ab,this[_0x58311c(0x389)]=_0x3788d5,_0x527b5d(this,'status','pending'),_0x527b5d(this,_0x58311c(0x22a),null),_0x527b5d(this,_0x58311c(0x1f6),null);}[_0x5bf0eb(0x4fd)](_0x347118){const _0x2e2cb5=_0x5bf0eb;return this['_pendingMutations'][_0x2e2cb5(0x23f)](_0x347118),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2e02c7){const _0x1bf69f=_0x5bf0eb;if(this['_checkMissing'](_0x2e02c7))return this['_clearScheduledTask'](),this[_0x1bf69f(0x2d5)][_0x1bf69f(0x408)](_0x49dbd8,this[_0x1bf69f(0x37e)],this[_0x1bf69f(0x3f8)],null,this[_0x1bf69f(0x4f4)],null,[_0x2e02c7],this[_0x1bf69f(0x44c)]);try{let _0x2fac84=this[_0x1bf69f(0x409)][_0x1bf69f(0x3db)](_0x2e02c7,this[_0x1bf69f(0x4f4)]);if((0x0,_0x2b53f2[_0x1bf69f(0x333)])(_0x2fac84)){let {c1Prime:_0x2b5d1d,m2Prime:_0x51da58}=_0x2fac84;this['_executeRemoteChangeset'](_0x2b5d1d);let _0x5cbca9=this[_0x1bf69f(0x2d5)][_0x1bf69f(0x408)](_0x1b0a99,this['unitID'],this[_0x1bf69f(0x3f8)],_0x51da58,this[_0x1bf69f(0x44c)]);this['_clearScheduledTask']();let _0x36cf5f=new Date()[_0x1bf69f(0x245)](),_0x19a73a=this[_0x1bf69f(0x22a)]?Math[_0x1bf69f(0x487)](this['_scheduleCompleteTimestamp']-_0x36cf5f,0x0):this[_0x1bf69f(0x4e2)]();return _0x5cbca9[_0x1bf69f(0x213)](_0x19a73a),_0x5cbca9;}throw _0x2fac84['error'];}catch(_0x3dcb1){return this[_0x1bf69f(0x236)]['error'](_0x3dcb1),this[_0x1bf69f(0x318)](!0x1);}}[_0x5bf0eb(0x4df)](_0x3c8280){const _0x34685e=_0x5bf0eb;if(_0x3c8280[_0x34685e(0x4ea)]<=this['_getCurrentRevision']())return this;throw Error(_0x34685e(0x313));}[_0x5bf0eb(0x212)](){const _0x5f09c4=_0x5bf0eb;throw Error(_0x5f09c4(0x475));}['onRemoteRetry'](){return this;}[_0x5bf0eb(0x418)](){const _0x1747f2=_0x5bf0eb;return this['_clearScheduledTask'](),this[_0x1747f2(0x2d5)][_0x1747f2(0x408)](_0x5a87ab,this['unitID'],this[_0x1747f2(0x3f8)],null,this[_0x1747f2(0x4f4)],this['_handler']);}[_0x5bf0eb(0x44e)](){return this;}[_0x5bf0eb(0x213)](_0x18898d){const _0x2a8806=_0x5bf0eb;let _0x54060c=_0x18898d==null?this['_getSendChangesetTimeout']():_0x18898d;this[_0x2a8806(0x22a)]=new Date()[_0x2a8806(0x245)]()+_0x54060c,this['_sendingTimer']=setTimeout(()=>{const _0x4bd947=_0x2a8806;this[_0x4bd947(0x3de)]();let _0x47524f=null;switch(this[_0x4bd947(0x3f8)]){case _0x2dbbd9[_0x4bd947(0x442)][_0x4bd947(0x20a)]:_0x47524f=_0x1f473b(this[_0x4bd947(0x4f4)],this['unitID'],this[_0x4bd947(0x389)],this[_0x4bd947(0x468)],this[_0x4bd947(0x2a4)]);break;case _0x2dbbd9[_0x4bd947(0x442)]['UNIVER_DOC']:_0x47524f=this['_pendingMutations'][_0x4bd947(0x33b)](_0x55bd9f=>_0x55bd9f['id']===_0x13703b['RichTextEditingMutation']['id'])?_0x11ffe5(this[_0x4bd947(0x4f4)],this[_0x4bd947(0x37e)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x1f473b(this[_0x4bd947(0x4f4)],this[_0x4bd947(0x37e)],this[_0x4bd947(0x389)],this[_0x4bd947(0x468)],this[_0x4bd947(0x2a4)]);break;default:throw Error(_0x4bd947(0x3d8)+this[_0x4bd947(0x3f8)]+_0x4bd947(0x3aa));}let {changeset:_0x404785,pendingMutations:_0x26474a}=_0x47524f;this[_0x4bd947(0x44c)][_0x4bd947(0x457)](_0x404785);let _0x4fcaf2=_0x26474a[_0x4bd947(0x2e3)]?this['_injector'][_0x4bd947(0x408)](_0x2be15f,this[_0x4bd947(0x37e)],this['type'],_0x404785,_0x26474a,this[_0x4bd947(0x44c)],void 0x0):this[_0x4bd947(0x2d5)]['createInstance'](_0x45f3bd,this[_0x4bd947(0x37e)],this[_0x4bd947(0x3f8)],_0x404785,this[_0x4bd947(0x44c)]);_0x4fcaf2[_0x4bd947(0x22e)](),this[_0x4bd947(0x44c)]['onStateChange'](this,_0x4fcaf2);},_0x54060c);}[_0x5bf0eb(0x4e2)](){const _0x4f1681=_0x5bf0eb;var _0x5c8e73;let _0xa4c7dc=this[_0x4f1681(0x266)][_0x4f1681(0x46c)](_0x2a84dd);return(_0x5c8e73=_0xa4c7dc==null?void 0x0:_0xa4c7dc['sendChangesetTimeout'])==null?0x7d0:_0x5c8e73;}['resend'](){const _0x124014=_0x5bf0eb;throw Error(_0x124014(0x3e3));}['_clearScheduledTask'](){const _0x2ce7d4=_0x5bf0eb;this[_0x2ce7d4(0x1f6)]!=null&&(clearTimeout(this[_0x2ce7d4(0x1f6)]),this[_0x2ce7d4(0x1f6)]=null);}[_0x5bf0eb(0x318)](_0x3b8bc8){const _0x1d4b46=_0x5bf0eb;return this[_0x1d4b46(0x3de)](),this[_0x1d4b46(0x2d5)][_0x1d4b46(0x408)](_0x4446c9,this[_0x1d4b46(0x37e)],this[_0x1d4b46(0x3f8)],null,this[_0x1d4b46(0x4f4)],this['_handler'],_0x3b8bc8);}};_0x17b236=_0x1b0a99=_0x4e6e0f([_0xe72533(0x4,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x3fa)])),_0xe72533(0x5,(0x0,_0x2dbbd9['Inject'])(_0x2b53f2[_0x5bf0eb(0x495)])),_0xe72533(0x6,(0x0,_0x2dbbd9['Inject'])(_0xf86089)),_0xe72533(0x7,_0x2dbbd9['ILogService']),_0xe72533(0x8,_0x2dbbd9[_0x5bf0eb(0x28c)]),_0xe72533(0x9,_0x2dbbd9['IConfigService']),_0xe72533(0xa,_0x2b53f2[_0x5bf0eb(0x3e9)]),_0xe72533(0xb,_0x2dbbd9[_0x5bf0eb(0x4d0)]),_0xe72533(0xc,_0x2dbbd9[_0x5bf0eb(0x4bd)]),_0xe72533(0xd,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x36e220))],_0x17b236);let _0x45f3bd=_0x379970=class extends _0x48f410{constructor(_0x463a27,_0x2496ce,_0x45f56c,_0x599191,_0x105db1,_0x57655a,_0x2a9cab,_0x14d8e9,_0x5d5d52,_0x2cd92b,_0x5f11c3){const _0x3bcff5=_0x5bf0eb;super(_0x463a27,_0x2496ce,_0x45f56c,[],_0x599191,_0x2a9cab,_0x2cd92b,_0x57655a,_0x5f11c3),this['_injector']=_0x105db1,this[_0x3bcff5(0x236)]=_0x14d8e9,this[_0x3bcff5(0x409)]=_0x5d5d52,_0x527b5d(this,_0x3bcff5(0x308),_0x3bcff5(0x1ff)),_0x527b5d(this,_0x3bcff5(0x4ec),0x0),_0x527b5d(this,_0x3bcff5(0x41c),0x0),_0x527b5d(this,_0x3bcff5(0x360),void 0x0),_0x527b5d(this,_0x3bcff5(0x38a),void 0x0);}[_0x5bf0eb(0x4fd)](_0x5e21bd){const _0x418d67=_0x5bf0eb;this[_0x418d67(0x3de)]();let _0xf1493d=this['_injector']['createInstance'](_0x2be15f,this[_0x418d67(0x37e)],this[_0x418d67(0x3f8)],this['_awaitingChangeset'],[_0x5e21bd],this[_0x418d67(0x44c)],this[_0x418d67(0x360)]);return _0xf1493d[_0x418d67(0x22e)](),_0xf1493d;}[_0x5bf0eb(0x348)](_0x1b313d){const _0x214dae=_0x5bf0eb;if(this[_0x214dae(0x45f)](_0x1b313d))return this[_0x214dae(0x3de)](),this['_injector'][_0x214dae(0x408)](_0x49dbd8,this['unitID'],this[_0x214dae(0x3f8)],this[_0x214dae(0x44d)],[],null,[_0x1b313d],this[_0x214dae(0x44c)]);try{let _0x5266ba=this['_transformService'][_0x214dae(0x31c)]([_0x1b313d],[this[_0x214dae(0x44d)]],!0x1);if((0x0,_0x2b53f2[_0x214dae(0x3d1)])(_0x5266ba)){let {c1Prime:_0x39bc91,c2Prime:_0x3d53a7}=_0x5266ba;this[_0x214dae(0x3d9)](_0x39bc91[0x0]),_0x3d53a7[0x0][_0x214dae(0x46e)]=this[_0x214dae(0x315)](),this[_0x214dae(0x3de)]();let _0x1bd358=this[_0x214dae(0x2d5)][_0x214dae(0x408)](_0x379970,this[_0x214dae(0x37e)],this[_0x214dae(0x3f8)],_0x3d53a7[0x0],this[_0x214dae(0x44c)]);return _0x1bd358[_0x214dae(0x22e)](),_0x1bd358;}throw _0x5266ba['error'];}catch(_0x4786d0){return this['_logService'][_0x214dae(0x35f)](_0x4786d0),this[_0x214dae(0x318)](!0x1);}}[_0x5bf0eb(0x4df)](_0x1fe489){const _0x3f7333=_0x5bf0eb;this[_0x3f7333(0x3de)]();let _0x3f2dd5=this['_revisionService'][_0x3f7333(0x2de)](this[_0x3f7333(0x37e)]);if(_0x1fe489['revision']<=_0x3f2dd5)return this;if(this[_0x3f7333(0x45f)](_0x1fe489))return this['_injector'][_0x3f7333(0x408)](_0x49dbd8,this['unitID'],this[_0x3f7333(0x3f8)],this[_0x3f7333(0x44d)],[],_0x1fe489[_0x3f7333(0x4ea)],[],this[_0x3f7333(0x44c)]);this['_incrementRevisionNumber']();let _0x485488=this[_0x3f7333(0x2d5)]['createInstance'](_0x28d539,this['unitID'],this['type'],this[_0x3f7333(0x44c)]);return _0x485488[_0x3f7333(0x22e)](),_0x485488;}[_0x5bf0eb(0x212)](_0x154684){const _0x4ead7a=_0x5bf0eb;return this[_0x4ead7a(0x318)](!!(_0x154684!=null&&_0x154684[_0x4ead7a(0x2a8)]));}[_0x5bf0eb(0x3f7)](_0x3719ef){const _0x1a3b6f=_0x5bf0eb;return this['_maxTotalRetryTimeout']>_0xe13796?this[_0x1a3b6f(0x418)]():(this[_0x1a3b6f(0x360)]=_0x328c98(this[_0x1a3b6f(0x4ec)],{'timeout':this[_0x1a3b6f(0x4ec)],'reqId':_0x3719ef[_0x1a3b6f(0x29f)]}),this['_sender']=this[_0x1a3b6f(0x360)][_0x1a3b6f(0x31f)](({reqId:_0x25a72f,timeout:_0x35a106})=>{const _0x37e257=_0x1a3b6f;this[_0x37e257(0x2b1)](_0x25a72f,_0x35a106);}),this);}[_0x5bf0eb(0x418)](){const _0x42bc0d=_0x5bf0eb;return this[_0x42bc0d(0x3de)](),this[_0x42bc0d(0x2d5)][_0x42bc0d(0x408)](_0x5a87ab,this['unitID'],this[_0x42bc0d(0x3f8)],this[_0x42bc0d(0x44d)],[],this[_0x42bc0d(0x44c)]);}[_0x5bf0eb(0x44e)](){return this;}[_0x5bf0eb(0x460)](){const _0x4ebe8d=_0x5bf0eb;this[_0x4ebe8d(0x44c)][_0x4ebe8d(0x457)](this['_awaitingChangeset']);}[_0x5bf0eb(0x318)](_0x127728){const _0x5530ac=_0x5bf0eb;return this[_0x5530ac(0x3de)](),this[_0x5530ac(0x2d5)]['createInstance'](_0x4446c9,this[_0x5530ac(0x37e)],this[_0x5530ac(0x3f8)],this[_0x5530ac(0x44d)],[],this[_0x5530ac(0x44c)],_0x127728);}[_0x5bf0eb(0x2b1)](_0x3b5b43,_0x2db185){const _0x3c1616=_0x5bf0eb;var _0x2141fc;_0x3b5b43===((_0x2141fc=this['_awaitingChangeset'])==null?void 0x0:_0x2141fc[_0x3c1616(0x29f)])&&(this[_0x3c1616(0x460)](),this[_0x3c1616(0x4ec)]=_0x2db185===0x0?0x3e8:Math[_0x3c1616(0x36a)](_0x2db185*0x2,_0x29e294),this[_0x3c1616(0x41c)]+=this[_0x3c1616(0x4ec)]);}[_0x5bf0eb(0x3de)](){const _0x5e88c6=_0x5bf0eb;var _0x5a4bc0;(_0x5a4bc0=this['_sender'])==null||_0x5a4bc0[_0x5e88c6(0x34b)](),this['_resendTimeout']=0x0,this[_0x5e88c6(0x41c)]=0x0;}};_0x45f3bd=_0x379970=_0x4e6e0f([_0xe72533(0x4,(0x0,_0x2dbbd9['Inject'])(_0x2dbbd9[_0x5bf0eb(0x3fa)])),_0xe72533(0x5,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2b53f2[_0x5bf0eb(0x495)])),_0xe72533(0x6,_0x2dbbd9[_0x5bf0eb(0x28c)]),_0xe72533(0x7,_0x2dbbd9[_0x5bf0eb(0x21b)]),_0xe72533(0x8,_0x2b53f2[_0x5bf0eb(0x3e9)]),_0xe72533(0x9,_0x2dbbd9[_0x5bf0eb(0x4bd)]),_0xe72533(0xa,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x36e220))],_0x45f3bd);let _0x2be15f=_0x23a599=class extends _0x48f410{constructor(_0x4221d4,_0x1e2372,_0x1c4ded,_0x5e4272,_0x15c98e,_0x36e189,_0x504fd7,_0x1cbc8e,_0x1f81fd,_0x4c2a4c,_0x2542c5,_0x14a54e,_0xe7be4b){const _0x247839=_0x5bf0eb;super(_0x4221d4,_0x1e2372,_0x1c4ded,_0x5e4272,_0x15c98e,_0x1f81fd,_0x14a54e,_0x1cbc8e,_0xe7be4b),this['_injector']=_0x504fd7,this['_logService']=_0x4c2a4c,this[_0x247839(0x409)]=_0x2542c5,this[_0x247839(0x41e)]=_0xe7be4b,_0x527b5d(this,_0x247839(0x308),_0x247839(0x2ef)),_0x527b5d(this,_0x247839(0x4ec),0x0),_0x527b5d(this,_0x247839(0x41c),0x0),_0x527b5d(this,'_resendTimer',void 0x0),_0x527b5d(this,'_sender',void 0x0),_0x36e189&&(this[_0x247839(0x360)]=_0x36e189,this[_0x247839(0x38a)]=this[_0x247839(0x360)]['subscribe'](({reqId:_0x34221c,timeout:_0xdf41e3})=>{const _0x5a0317=_0x247839;this[_0x5a0317(0x2b1)](_0x34221c,_0xdf41e3);}));}['appendMutation'](_0x5cd3bc){const _0x44418d=_0x5bf0eb;return this['_pendingMutations'][_0x44418d(0x23f)](_0x5cd3bc),this;}[_0x5bf0eb(0x348)](_0x124690){const _0x11ea9b=_0x5bf0eb;if(this[_0x11ea9b(0x45f)](_0x124690))return this['_clearScheduledTask'](),this[_0x11ea9b(0x2d5)][_0x11ea9b(0x408)](_0x49dbd8,this[_0x11ea9b(0x37e)],this[_0x11ea9b(0x3f8)],this['_awaitingChangeset'],this[_0x11ea9b(0x4f4)],null,[_0x124690],this[_0x11ea9b(0x44c)]);try{let _0xd8b028=this[_0x11ea9b(0x409)][_0x11ea9b(0x31c)]([_0x124690],[this[_0x11ea9b(0x44d)]],!0x1);if((0x0,_0x2b53f2[_0x11ea9b(0x3d1)])(_0xd8b028)){let {c1Prime:_0x1053e3,c2Prime:_0x485a4f}=_0xd8b028,_0x42c897=this['_transformService'][_0x11ea9b(0x3db)](_0x1053e3[0x0],this[_0x11ea9b(0x4f4)]);if((0x0,_0x2b53f2[_0x11ea9b(0x333)])(_0x42c897)){let {c1Prime:_0x4fdfb4,m2Prime:_0x381c86}=_0x42c897;return this['_executeRemoteChangeset'](_0x4fdfb4),_0x485a4f[0x0][_0x11ea9b(0x46e)]=this[_0x11ea9b(0x315)](),this[_0x11ea9b(0x3de)](),this[_0x11ea9b(0x2d5)]['createInstance'](_0x23a599,this['unitID'],this[_0x11ea9b(0x3f8)],_0x485a4f[0x0],_0x381c86,this['_handler'],void 0x0);}throw _0x42c897['error'];}throw _0xd8b028[_0x11ea9b(0x35f)];}catch(_0xddf8c2){return this[_0x11ea9b(0x236)][_0x11ea9b(0x35f)](_0xddf8c2),this[_0x11ea9b(0x318)](!0x1);}}[_0x5bf0eb(0x4df)](_0x230f59){const _0xc34ff9=_0x5bf0eb;this[_0xc34ff9(0x3de)]();let _0x2d6a88=this['_getCurrentRevision']();if(_0x230f59[_0xc34ff9(0x4ea)]<=_0x2d6a88)return this;if(this[_0xc34ff9(0x45f)](_0x230f59))return this[_0xc34ff9(0x2d5)][_0xc34ff9(0x408)](_0x49dbd8,this[_0xc34ff9(0x37e)],this[_0xc34ff9(0x3f8)],this[_0xc34ff9(0x44d)],this['_pendingMutations'],_0x230f59[_0xc34ff9(0x4ea)],[],this['_handler']);this[_0xc34ff9(0x208)]();let _0x446463=this[_0xc34ff9(0x2d5)][_0xc34ff9(0x408)](_0x17b236,this['unitID'],this['type'],this[_0xc34ff9(0x4f4)],this[_0xc34ff9(0x44c)]);return _0x446463['_schedule'](),_0x446463[_0xc34ff9(0x22e)](),_0x446463;}[_0x5bf0eb(0x212)](_0x3eb4d9){const _0x4700de=_0x5bf0eb;return this[_0x4700de(0x318)](!!(_0x3eb4d9!=null&&_0x3eb4d9[_0x4700de(0x2a8)]));}['onRemoteRetry'](_0x48b08d){const _0x2f2023=_0x5bf0eb;return this['_maxTotalRetryTimeout']>_0xe13796?this['toggleOffline']():(this[_0x2f2023(0x360)]=_0x328c98(this[_0x2f2023(0x4ec)],{'timeout':this[_0x2f2023(0x4ec)],'reqId':_0x48b08d[_0x2f2023(0x29f)]}),this[_0x2f2023(0x38a)]=this[_0x2f2023(0x360)][_0x2f2023(0x31f)](({reqId:_0x156ef5,timeout:_0x2499b1})=>{const _0x478a71=_0x2f2023;this[_0x478a71(0x2b1)](_0x156ef5,_0x2499b1);}),this);}[_0x5bf0eb(0x418)](){const _0x1c8af7=_0x5bf0eb;return this[_0x1c8af7(0x3de)](),this['_injector'][_0x1c8af7(0x408)](_0x5a87ab,this[_0x1c8af7(0x37e)],this['type'],this['_awaitingChangeset'],this[_0x1c8af7(0x4f4)],this[_0x1c8af7(0x44c)]);}[_0x5bf0eb(0x44e)](){return this;}[_0x5bf0eb(0x460)](){const _0x3d3c31=_0x5bf0eb;this[_0x3d3c31(0x44c)]['onSendChangeset'](this[_0x3d3c31(0x44d)]);}[_0x5bf0eb(0x318)](_0x1cf473){const _0x5bf002=_0x5bf0eb;return this[_0x5bf002(0x3de)](),this['_injector'][_0x5bf002(0x408)](_0x4446c9,this[_0x5bf002(0x37e)],this[_0x5bf002(0x3f8)],null,this['_pendingMutations'],this[_0x5bf002(0x44c)],_0x1cf473);}[_0x5bf0eb(0x2b1)](_0x4cbcb6,_0x16fed8){const _0xc726dd=_0x5bf0eb;var _0x37c976;_0x4cbcb6===((_0x37c976=this['_awaitingChangeset'])==null?void 0x0:_0x37c976[_0xc726dd(0x29f)])&&(this[_0xc726dd(0x460)](),this[_0xc726dd(0x4ec)]=_0x16fed8===0x0?0x3e8:Math['min'](_0x16fed8*0x2,_0x29e294),this['_maxTotalRetryTimeout']+=this[_0xc726dd(0x4ec)]);}[_0x5bf0eb(0x3de)](){const _0x3b0e0f=_0x5bf0eb;var _0x58c6fe;(_0x58c6fe=this['_sender'])==null||_0x58c6fe[_0x3b0e0f(0x34b)](),this[_0x3b0e0f(0x4ec)]=0x0,this[_0x3b0e0f(0x41c)]=0x0;}};_0x2be15f=_0x23a599=_0x4e6e0f([_0xe72533(0x6,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9['Injector'])),_0xe72533(0x7,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2b53f2[_0x5bf0eb(0x495)])),_0xe72533(0x8,_0x2dbbd9[_0x5bf0eb(0x28c)]),_0xe72533(0x9,_0x2dbbd9[_0x5bf0eb(0x21b)]),_0xe72533(0xa,_0x2b53f2[_0x5bf0eb(0x3e9)]),_0xe72533(0xb,_0x2dbbd9[_0x5bf0eb(0x4bd)]),_0xe72533(0xc,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x36e220))],_0x2be15f);let _0x4446c9=class extends _0x48f410{constructor(_0x4a8fe4,_0x563ced,_0x2fe53d,_0x3d89be,_0x386421,_0x193b95=!0x1,_0xcdc7ad,_0x19adcd,_0x1a24ff,_0x1e06e0,_0x34e6f8,_0x3e9dd7,_0x30dba4){const _0x1a97f7=_0x5bf0eb;super(_0x4a8fe4,_0x563ced,_0x2fe53d,_0x3d89be,_0x386421,_0x19adcd,_0x1a24ff,_0x1e06e0,_0x30dba4),this[_0x1a97f7(0x3e7)]=_0x193b95,this[_0x1a97f7(0x461)]=_0xcdc7ad,this[_0x1a97f7(0x3ed)]=_0x34e6f8,this['_collaborationUIEventService']=_0x3e9dd7,this[_0x1a97f7(0x41e)]=_0x30dba4,_0x527b5d(this,_0x1a97f7(0x308),_0x1a97f7(0x4e0)),this[_0x1a97f7(0x34e)](),this['_clearLocalCache'](),this[_0x1a97f7(0x309)]();}[_0x5bf0eb(0x4fd)](){return this;}[_0x5bf0eb(0x348)](){return this;}['onRemoteAck'](){return this;}[_0x5bf0eb(0x212)](){return this;}[_0x5bf0eb(0x3f7)](){return this;}[_0x5bf0eb(0x418)](){return this;}['toggleOnline'](){return this;}[_0x5bf0eb(0x460)](){throw Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5bf0eb(0x2c5)](){const _0x285489=_0x5bf0eb;var _0x5cd38b;(_0x5cd38b=this[_0x285489(0x33c)])==null||_0x5cd38b['updateOfflineData'](this[_0x285489(0x37e)],this[_0x285489(0x3f8)],null,[]);}[_0x5bf0eb(0x34e)](){const _0x2caeea=_0x5bf0eb;this[_0x2caeea(0x3e7)]?this[_0x2caeea(0x392)][_0x2caeea(0x216)]({'id':_0x2caeea(0x37c)}):this['_collaborationUIEventService']['emitEvent']({'id':_0x2caeea(0x25d)});}['_disableEditing'](){const _0xd556cd=_0x5bf0eb;this[_0xd556cd(0x461)]['updatePermissionPoint'](new _0x184bfa['WorkbookEditablePermission'](this[_0xd556cd(0x37e)])['id'],!0x1);}};_0x4446c9=_0x4e6e0f([_0xe72533(0x6,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x338)])),_0xe72533(0x7,_0x2dbbd9[_0x5bf0eb(0x28c)]),_0xe72533(0x8,_0x2dbbd9[_0x5bf0eb(0x4bd)]),_0xe72533(0x9,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2b53f2[_0x5bf0eb(0x495)])),_0xe72533(0xa,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x340)])),_0xe72533(0xb,(0x0,_0x2dbbd9['Inject'])(_0x10b08d)),_0xe72533(0xc,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x36e220))],_0x4446c9);let _0x5a87ab=class extends _0x48f410{constructor(_0x28a73d,_0x277c28,_0x5e67a7,_0x5107b8,_0x341b93,_0x525b22,_0x502ae9,_0xe4a513,_0x271bf1,_0x398347){const _0x198b04=_0x5bf0eb;super(_0x28a73d,_0x277c28,_0x5e67a7,_0x5107b8,_0x341b93,_0xe4a513,_0x271bf1,_0x502ae9,_0x398347),this[_0x198b04(0x2d5)]=_0x525b22,_0x527b5d(this,_0x198b04(0x308),_0x198b04(0x2c6));}[_0x5bf0eb(0x4fd)](_0x1493dc){const _0x2eed36=_0x5bf0eb;return this[_0x2eed36(0x4f4)][_0x2eed36(0x23f)](_0x1493dc),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x227def){const _0x2c026a=_0x5bf0eb;throw Error(_0x2c026a(0x319));}[_0x5bf0eb(0x4df)](){const _0x526e70=_0x5bf0eb;throw Error(_0x526e70(0x40e));}['onRemoteRej'](){const _0x51cb72=_0x5bf0eb;throw Error(_0x51cb72(0x38d));}[_0x5bf0eb(0x3f7)](){return this;}[_0x5bf0eb(0x418)](){return this;}['toggleOnline'](){const _0x92ad2=_0x5bf0eb;let {_injector:_0x5213c4,_pendingMutations:_0x592fa6,_awaitingChangeset:_0x2cb115,unitID:_0x166ee5,_handler:_0xcffa49,type:_0x7b9f0b}=this,_0x2fad1f=_0x1f46ae(_0x5213c4,_0x166ee5,_0x7b9f0b,_0x2cb115,_0x592fa6,_0xcffa49);return _0x2fad1f instanceof _0x17b236?_0x2fad1f[_0x92ad2(0x213)]():(_0x2fad1f instanceof _0x2be15f||_0x2fad1f instanceof _0x45f3bd)&&_0x2fad1f[_0x92ad2(0x460)](),_0x2fad1f;}[_0x5bf0eb(0x460)](){throw Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x5a87ab=_0x4e6e0f([_0xe72533(0x5,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x3fa)])),_0xe72533(0x6,(0x0,_0x2dbbd9['Inject'])(_0x2b53f2[_0x5bf0eb(0x495)])),_0xe72533(0x7,_0x2dbbd9[_0x5bf0eb(0x28c)]),_0xe72533(0x8,_0x2dbbd9[_0x5bf0eb(0x4bd)]),_0xe72533(0x9,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x36e220))],_0x5a87ab);let _0x49dbd8=class extends _0x48f410{constructor(_0x65371b,_0x599037,_0x24c86b,_0x488e73,_0x5a6b30,_0x58ffdf,_0x19f5ab,_0x44b31a,_0x25651a,_0x55f6c4,_0x471a81,_0x2a025c,_0x515b62,_0x2da153){const _0x4f30d8=_0x5bf0eb;super(_0x65371b,_0x599037,_0x24c86b,_0x488e73,_0x19f5ab,_0x471a81,_0x2a025c,_0x25651a,_0x2da153),this['_acknowledgedAwaitingRevision']=_0x5a6b30,this['_queuedRemoteChangesets']=_0x58ffdf,this[_0x4f30d8(0x2d5)]=_0x44b31a,this['_logService']=_0x55f6c4,this[_0x4f30d8(0x409)]=_0x515b62,this[_0x4f30d8(0x41e)]=_0x2da153,_0x527b5d(this,_0x4f30d8(0x308),_0x4f30d8(0x322));}['onMissedChangesetFetched'](_0x5b3924){const _0x660cb4=_0x5bf0eb;try{if(this[_0x660cb4(0x37a)](_0x5b3924)[_0x660cb4(0x4f9)])throw Error(_0x660cb4(0x4ae));if(this[_0x660cb4(0x37a)]([...this[_0x660cb4(0x2f9)]]['sort']((_0x5c3d37,_0x179c65)=>_0x5c3d37[_0x660cb4(0x4ea)]-_0x179c65['revision']))[_0x660cb4(0x4f9)])return this[_0x660cb4(0x2f9)]=[],this[_0x660cb4(0x22e)](),this[_0x660cb4(0x44c)][_0x660cb4(0x388)]({'from':this[_0x660cb4(0x315)](),'to':0x0}),this;let _0x3df6d8=this[_0x660cb4(0x44d)],_0x389352=this[_0x660cb4(0x4f4)],_0x330598;if(_0x3df6d8&&_0x389352[_0x660cb4(0x2e3)]!==0x0)_0x330598=this[_0x660cb4(0x2d5)][_0x660cb4(0x408)](_0x2be15f,this['unitID'],this[_0x660cb4(0x3f8)],_0x3df6d8,_0x389352,this['_handler'],void 0x0);else{if(_0x3df6d8&&_0x389352[_0x660cb4(0x2e3)]===0x0)_0x3df6d8[_0x660cb4(0x46e)]=this[_0x660cb4(0x315)](),_0x330598=this[_0x660cb4(0x2d5)][_0x660cb4(0x408)](_0x45f3bd,this['unitID'],this['type'],_0x3df6d8,this[_0x660cb4(0x44c)]);else{if(_0x389352[_0x660cb4(0x2e3)]!==0x0){let _0x24c076=this['_injector'][_0x660cb4(0x408)](_0x17b236,this[_0x660cb4(0x37e)],this[_0x660cb4(0x3f8)],_0x389352,this[_0x660cb4(0x44c)]);_0x24c076[_0x660cb4(0x213)](),_0x330598=_0x24c076;}else _0x330598=this['_injector'][_0x660cb4(0x408)](_0x28d539,this['unitID'],this[_0x660cb4(0x3f8)],this[_0x660cb4(0x44c)]);}}return _0x330598[_0x660cb4(0x22e)](),_0x330598;}catch(_0x545df9){return this[_0x660cb4(0x236)][_0x660cb4(0x35f)](_0x660cb4(0x267),'failed\x20to\x20apply\x20missed\x20changesets!',_0x545df9),this['_injector']['createInstance'](_0x4446c9,this[_0x660cb4(0x37e)],this[_0x660cb4(0x3f8)],this[_0x660cb4(0x44d)],this[_0x660cb4(0x4f4)],this[_0x660cb4(0x44c)],!0x1);}}[_0x5bf0eb(0x37a)](_0x4e5274){const _0x5224d8=_0x5bf0eb;this[_0x5224d8(0x325)]();for(let _0x5766c6=0x0;_0x5766c6<_0x4e5274[_0x5224d8(0x2e3)];_0x5766c6++){let _0x5488a3=_0x4e5274[_0x5766c6],_0x1aa427=this[_0x5224d8(0x315)]();if(!(_0x5488a3['revision']<=_0x1aa427)){if(_0x5488a3[_0x5224d8(0x4ea)]>_0x1aa427+0x1)return{'missingChangesets':!0x0};if(this['_isEchoedAwaitingChangeset'](_0x5488a3)){this[_0x5224d8(0x3dc)]();continue;}this[_0x5224d8(0x2d0)](_0x5488a3),this['_acknowledgeAwaitingIfReady']();}}return{'missingChangesets':!0x1};}[_0x5bf0eb(0x2d0)](_0x1ca395){const _0x4e9260=_0x5bf0eb;let _0x224f43=_0x1ca395,_0x543712=this[_0x4e9260(0x44d)];if(_0x543712){let _0x4a0a86=this[_0x4e9260(0x409)][_0x4e9260(0x31c)]([_0x1ca395],[_0x543712],!0x1);if(!(0x0,_0x2b53f2['isTransformChangesetsSuccess'])(_0x4a0a86))throw _0x4a0a86[_0x4e9260(0x35f)];_0x224f43=_0x4a0a86[_0x4e9260(0x491)][0x0],_0x543712=_0x4a0a86[_0x4e9260(0x2ac)][0x0];}let _0x2e3b14=this['_pendingMutations'];if(_0x2e3b14[_0x4e9260(0x2e3)]){let _0x537535=this[_0x4e9260(0x409)][_0x4e9260(0x3db)](_0x224f43,_0x2e3b14);if(!(0x0,_0x2b53f2[_0x4e9260(0x333)])(_0x537535))throw _0x537535['error'];_0x224f43=_0x537535[_0x4e9260(0x491)],_0x2e3b14=_0x537535[_0x4e9260(0x4c9)];}this[_0x4e9260(0x3d9)](_0x224f43),_0x543712&&(_0x543712[_0x4e9260(0x46e)]=this[_0x4e9260(0x315)]()),this[_0x4e9260(0x44d)]=_0x543712,this[_0x4e9260(0x4f4)]=_0x2e3b14;}[_0x5bf0eb(0x325)](){const _0x53735e=_0x5bf0eb;if(!this[_0x53735e(0x44d)]||this[_0x53735e(0x46b)]==null)return;let _0x59a7f2=this[_0x53735e(0x315)]();if(this['_acknowledgedAwaitingRevision']<=_0x59a7f2)throw Error(_0x53735e(0x4f7)+this['_acknowledgedAwaitingRevision']+'.');this[_0x53735e(0x46b)]===_0x59a7f2+0x1&&this[_0x53735e(0x3dc)]();}['_acknowledgeAwaiting'](){const _0x34e912=_0x5bf0eb;this[_0x34e912(0x208)](),this[_0x34e912(0x44d)]=null,this[_0x34e912(0x46b)]=null;}[_0x5bf0eb(0x4a3)](_0x4fbffd){const _0x28ed09=_0x5bf0eb;let _0x5941ee=this[_0x28ed09(0x44d)];return!_0x5941ee||!_0x5941ee['sid']||_0x5941ee[_0x28ed09(0x29f)]===null||_0x5941ee['reqId']===void 0x0?!0x1:_0x4fbffd[_0x28ed09(0x37e)]===_0x5941ee[_0x28ed09(0x37e)]&&_0x4fbffd[_0x28ed09(0x390)]===_0x5941ee[_0x28ed09(0x390)]&&_0x4fbffd[_0x28ed09(0x29f)]===_0x5941ee[_0x28ed09(0x29f)];}[_0x5bf0eb(0x460)](){const _0xfe861e=_0x5bf0eb;throw Error(_0xfe861e(0x36f));}['appendMutation'](_0x5afef4){const _0x29dcbf=_0x5bf0eb;return this[_0x29dcbf(0x4f4)]['push'](_0x5afef4),this;}['onRemoteChangeset'](_0x2aaa9a){const _0x4fbc9f=_0x5bf0eb;return this['_queuedRemoteChangesets'][_0x4fbc9f(0x23f)](_0x2aaa9a),this;}[_0x5bf0eb(0x4df)](_0x11a23d){const _0x14e8ac=_0x5bf0eb;if(this[_0x14e8ac(0x44d)]){let _0x3eddbf=this['_getCurrentRevision']();return _0x11a23d['revision']<=_0x3eddbf||(_0x3eddbf+0x1===_0x11a23d[_0x14e8ac(0x4ea)]?(this[_0x14e8ac(0x208)](),this[_0x14e8ac(0x44d)]=null,this['_acknowledgedAwaitingRevision']=null):this[_0x14e8ac(0x46b)]=_0x11a23d[_0x14e8ac(0x4ea)]),this;}if(_0x11a23d[_0x14e8ac(0x4ea)]<=this['_getCurrentRevision']())return this;throw Error(_0x14e8ac(0x30e));}['onRemoteRej'](_0x47b740){const _0x425063=_0x5bf0eb;return this[_0x425063(0x318)](!!(_0x47b740!=null&&_0x47b740[_0x425063(0x2a8)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x15cd40=_0x5bf0eb;return this[_0x15cd40(0x2d5)][_0x15cd40(0x408)](_0x5a87ab,this[_0x15cd40(0x37e)],this[_0x15cd40(0x3f8)],this['_awaitingChangeset'],this[_0x15cd40(0x4f4)],this['_handler']);}[_0x5bf0eb(0x44e)](){return this;}[_0x5bf0eb(0x318)](_0x488827){const _0x5c87b0=_0x5bf0eb;return this[_0x5c87b0(0x2d5)][_0x5c87b0(0x408)](_0x4446c9,this[_0x5c87b0(0x37e)],this['type'],this[_0x5c87b0(0x44d)],this[_0x5c87b0(0x4f4)],this['_handler'],_0x488827);}};_0x49dbd8=_0x4e6e0f([_0xe72533(0x7,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9['Injector'])),_0xe72533(0x8,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2b53f2[_0x5bf0eb(0x495)])),_0xe72533(0x9,_0x2dbbd9[_0x5bf0eb(0x21b)]),_0xe72533(0xa,_0x2dbbd9['ICommandService']),_0xe72533(0xb,_0x2dbbd9[_0x5bf0eb(0x4bd)]),_0xe72533(0xc,_0x2b53f2['ITransformService']),_0xe72533(0xd,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x36e220))],_0x49dbd8);function _0x1f46ae(_0x61e00a,_0x4a6de8,_0x4b3a66,_0x15667a,_0x3c68d4,_0x182390){const _0xeaab5e=_0x5bf0eb;return _0x15667a&&_0x3c68d4[_0xeaab5e(0x2e3)]?_0x61e00a['createInstance'](_0x2be15f,_0x4a6de8,_0x4b3a66,_0x15667a,_0x3c68d4,_0x182390,void 0x0):_0x15667a?_0x61e00a[_0xeaab5e(0x408)](_0x45f3bd,_0x4a6de8,_0x4b3a66,_0x15667a,_0x182390):_0x3c68d4[_0xeaab5e(0x2e3)]?_0x61e00a[_0xeaab5e(0x408)](_0x17b236,_0x4a6de8,_0x4b3a66,_0x3c68d4,_0x182390):_0x61e00a[_0xeaab5e(0x408)](_0x28d539,_0x4a6de8,_0x4b3a66,_0x182390);}let _0x3e0a94=class extends _0x2dbbd9[_0x5bf0eb(0x2ed)]{get[_0x5bf0eb(0x412)](){return this['_state'];}constructor(_0x7775a4,_0x4c6b40,_0x31fbee,_0x27c9fc,_0x7625ee,_0xcc5951,_0x26be5a,_0x376ac5,_0x53b406,_0x445483,_0x4f7a07,_0x685fe1,_0x1bf2c7,_0xb730ab){const _0x18c795=_0x5bf0eb;super(),this[_0x18c795(0x37e)]=_0x7775a4,this[_0x18c795(0x20d)]=_0x4c6b40,this[_0x18c795(0x402)]=_0x31fbee,this['_injector']=_0x27c9fc,this[_0x18c795(0x1e8)]=_0x7625ee,this[_0x18c795(0x3ed)]=_0xcc5951,this[_0x18c795(0x468)]=_0x26be5a,this[_0x18c795(0x244)]=_0x376ac5,this[_0x18c795(0x389)]=_0x53b406,this[_0x18c795(0x236)]=_0x445483,this[_0x18c795(0x399)]=_0x4f7a07,this['_permissionService']=_0x685fe1,this[_0x18c795(0x359)]=_0x1bf2c7,this[_0x18c795(0x33c)]=_0xb730ab,_0x527b5d(this,_0x18c795(0x250),new _0x4f3716['BehaviorSubject'](null)),_0x527b5d(this,'state$',this[_0x18c795(0x250)][_0x18c795(0x2e9)]()),_0x527b5d(this,_0x18c795(0x303),void 0x0),_0x527b5d(this,_0x18c795(0x49d),!0x1),_0x527b5d(this,_0x18c795(0x473),''),_0x527b5d(this,_0x18c795(0x39b),0x0),_0x527b5d(this,_0x18c795(0x3a5),this[_0x18c795(0x30d)][_0x18c795(0x4be)]((0x0,_0x4f3716[_0x18c795(0x1e3)])(_0x174383=>_0x174383?_0x174383['status']:_0x18c795(0x2c6)),(0x0,_0x4f3716[_0x18c795(0x3da)])(0x1))),_0x527b5d(this,'_transitionLocked',!0x1),_0x527b5d(this,_0x18c795(0x32a),[]);}async[_0x5bf0eb(0x1fd)](){const _0x5b6fa7=_0x5bf0eb;if(this['state'])throw Error(_0x5b6fa7(0x2f3));await this['_init']();}[_0x5bf0eb(0x4bf)](){const _0x1d01cc=_0x5bf0eb;return this[_0x1d01cc(0x49d)]=!0x0,(0x0,_0x2dbbd9[_0x1d01cc(0x1ee)])(()=>{const _0x245760=_0x1d01cc;this[_0x245760(0x49d)]=!0x1,this[_0x245760(0x29d)]();});}[_0x5bf0eb(0x2e5)](_0x2cd165){const _0x118663=_0x5bf0eb;this[_0x118663(0x3b9)](_0x2cd165);}[_0x5bf0eb(0x32d)](_0x2b3c3d){const _0x2227b9=_0x5bf0eb;this['_state']=_0x2b3c3d,this[_0x2227b9(0x250)][_0x2227b9(0x274)](_0x2b3c3d);}async[_0x5bf0eb(0x226)](){const _0x3d6962=_0x5bf0eb;if(this[_0x3d6962(0x32d)](await this[_0x3d6962(0x1f7)]()),this[_0x3d6962(0x359)]){var _0x166833;(_0x166833=this[_0x3d6962(0x359)])==null||_0x166833[_0x3d6962(0x3f1)](this[_0x3d6962(0x37e)]),this[_0x3d6962(0x4a6)](this[_0x3d6962(0x359)][_0x3d6962(0x3c0)](this[_0x3d6962(0x37e)])[_0x3d6962(0x31f)](_0x1b4dac=>{const _0x22d56c=_0x3d6962;this['_logService'][_0x22d56c(0x265)]('[CollaborationEntity]',_0x22d56c(0x32b),_0x1b4dac),_0x1b4dac===0x1?(this[_0x22d56c(0x244)][_0x22d56c(0x216)]({'id':'OTHER_CLIENT_EDITING'}),this[_0x22d56c(0x461)]['updatePermissionPoint'](new _0x184bfa['WorkbookEditablePermission'](this[_0x22d56c(0x37e)])['id'],!0x1),this[_0x22d56c(0x461)]['setShowComponents'](!0x1)):(this[_0x22d56c(0x461)][_0x22d56c(0x4d6)](new _0x184bfa[(_0x22d56c(0x3b1))](this['unitID'])['id'],!0x0),this[_0x22d56c(0x461)][_0x22d56c(0x27a)](!0x0));}));}let _0xa5140d=!0x1;return this[_0x3d6962(0x4a6)](this[_0x3d6962(0x20d)]['sessionStatus$'][_0x3d6962(0x31f)](_0x145db9=>{const _0x1cad99=_0x3d6962;_0x145db9===0x3?this[_0x1cad99(0x2da)](_0xa5140d):_0x145db9===0x2&&(_0xa5140d=!0x0,this['_toggleOffline']());})),this[_0x3d6962(0x4a6)](this[_0x3d6962(0x20d)][_0x3d6962(0x3b7)][_0x3d6962(0x31f)](_0x17f07f=>{const _0x47e915=_0x3d6962;try{switch(_0x17f07f[_0x47e915(0x4d9)]){case _0x2b53f2[_0x47e915(0x406)][_0x47e915(0x44a)]:this['_onRemoteChangeset']((0x0,_0x2b53f2[_0x47e915(0x4b8)])(_0x17f07f[_0x47e915(0x43a)]));break;case _0x2b53f2[_0x47e915(0x406)]['CHANGESET_ACK']:this['_onRemoteACK'](_0x17f07f[_0x47e915(0x43a)]);break;case _0x2b53f2[_0x47e915(0x406)]['CHANGESET_REJ']:this[_0x47e915(0x35a)]();break;case _0x2b53f2[_0x47e915(0x406)][_0x47e915(0x437)]:this[_0x47e915(0x478)](_0x17f07f['data']);break;case _0x2b53f2[_0x47e915(0x406)][_0x47e915(0x421)]:this['_onFetchMissResult'](_0x17f07f[_0x47e915(0x43a)][_0x47e915(0x3cc)][_0x47e915(0x1e3)](_0x29b22c=>(0x0,_0x2b53f2[_0x47e915(0x4b8)])(_0x29b22c)));break;case _0x2b53f2[_0x47e915(0x406)]['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});break;case _0x2b53f2['CollaborationEvent'][_0x47e915(0x2d6)]:break;}}catch(_0x288558){throw console[_0x47e915(0x35f)](_0x47e915(0x30a),_0x288558),_0x288558;}})),this['_state'];}[_0x5bf0eb(0x405)](){const _0x1f9ca5=_0x5bf0eb;this[_0x1f9ca5(0x202)]=!0x1;}[_0x5bf0eb(0x47d)](){const _0x5edfc6=_0x5bf0eb;if(this['_transitionLocked'])throw Error(_0x5edfc6(0x431));this[_0x5edfc6(0x202)]=!0x0;}[_0x5bf0eb(0x3b9)](_0x2c4ab1){const _0x4c30c8=_0x5bf0eb;this['_lockTransition'](),this[_0x4c30c8(0x32d)](this[_0x4c30c8(0x303)][_0x4c30c8(0x4fd)](_0x2c4ab1)),this[_0x4c30c8(0x405)]();}[_0x5bf0eb(0x2ba)](_0x4b8131){const _0x56dee3=_0x5bf0eb;if(!(_0x4b8131[_0x56dee3(0x4ea)]<=this[_0x56dee3(0x468)][_0x56dee3(0x2de)](this[_0x56dee3(0x37e)]))){if(this['_collaborationPaused']){this[_0x56dee3(0x32a)][_0x56dee3(0x23f)](_0x4b8131);return;}this['_applyRemoteChangeset'](_0x4b8131);}}[_0x5bf0eb(0x29d)](){const _0x17c29a=_0x5bf0eb;this['_remoteChangesetQueue'][_0x17c29a(0x312)](_0x1a7e83=>this[_0x17c29a(0x371)](_0x1a7e83)),this['_remoteChangesetQueue']=[];}[_0x5bf0eb(0x371)](_0x586197){const _0x25caca=_0x5bf0eb;let _0x2933f7=this[_0x25caca(0x1e8)][_0x25caca(0x35d)][_0x25caca(0x2cc)](this['_compressMutationService'][_0x25caca(0x35d)]['getInterceptPoints']()[_0x25caca(0x416)])(_0x586197[_0x25caca(0x277)],null)||_0x586197[_0x25caca(0x277)],_0x26c65a={..._0x586197,'mutations':_0x2933f7};this[_0x25caca(0x47d)](),this[_0x25caca(0x32d)](this[_0x25caca(0x303)][_0x25caca(0x348)](_0x26c65a)),this[_0x25caca(0x405)]();}[_0x5bf0eb(0x3d2)](_0x4c56e4){const _0x119593=_0x5bf0eb;this['_lockTransition'](),this['_updateState'](this['_state'][_0x119593(0x4df)](_0x4c56e4)),this[_0x119593(0x405)]();}[_0x5bf0eb(0x35a)](_0x1df9ca){const _0x1cb0a5=_0x5bf0eb;this[_0x1cb0a5(0x47d)](),this['_updateState'](this[_0x1cb0a5(0x303)][_0x1cb0a5(0x212)](_0x1df9ca)),this[_0x1cb0a5(0x405)]();}[_0x5bf0eb(0x478)](_0x439388){const _0x42acfc=_0x5bf0eb;this[_0x42acfc(0x47d)](),this['_updateState'](this[_0x42acfc(0x303)][_0x42acfc(0x3f7)](_0x439388)),this[_0x42acfc(0x405)]();}[_0x5bf0eb(0x2a2)](_0x58b2e1){const _0x3f3934=_0x5bf0eb;if(!(this[_0x3f3934(0x303)]instanceof _0x49dbd8))throw TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');let _0x23e8aa=_0x58b2e1[_0x3f3934(0x1e3)](_0x18ae07=>{const _0x1d79d2=_0x3f3934;let _0x5f173e=this['_compressMutationService'][_0x1d79d2(0x35d)][_0x1d79d2(0x2cc)](this['_compressMutationService'][_0x1d79d2(0x35d)][_0x1d79d2(0x261)]()['COMPRESS_MUTATION_APPLY'])(_0x18ae07[_0x1d79d2(0x277)],null)||_0x18ae07[_0x1d79d2(0x277)];return{..._0x18ae07,'mutations':_0x5f173e};});this[_0x3f3934(0x47d)](),this['_updateState'](this['_state'][_0x3f3934(0x2cf)](_0x23e8aa)),this[_0x3f3934(0x405)]();}[_0x5bf0eb(0x3f4)](){const _0x20c295=_0x5bf0eb;this[_0x20c295(0x47d)](),this[_0x20c295(0x32d)](this[_0x20c295(0x303)][_0x20c295(0x418)]()),this['_unlockTransition']();}[_0x5bf0eb(0x2da)](_0x2b8bb7=!0x1){const _0xc605eb=_0x5bf0eb;this[_0xc605eb(0x47d)](),this[_0xc605eb(0x32d)](this[_0xc605eb(0x303)][_0xc605eb(0x44e)]()),this[_0xc605eb(0x405)]();let _0x1b38cf=this[_0xc605eb(0x303)];_0x2b8bb7&&_0x1b38cf instanceof _0x28d539&&(this[_0xc605eb(0x47d)](),this[_0xc605eb(0x32d)](_0x1b38cf[_0xc605eb(0x282)]()),this[_0xc605eb(0x405)]());}async['_createInitialState'](){return new Promise(_0x5790a8=>{const _0x3af914=_0x4f27;this[_0x3af914(0x20d)]['sessionStatus$'][_0x3af914(0x4be)]((0x0,_0x4f3716['take'])(0x1))[_0x3af914(0x31f)](async _0x2358f2=>{const _0x173295=_0x3af914;_0x5790a8(await this[_0x173295(0x2bd)](_0x2358f2===0x3));});});}[_0x5bf0eb(0x48d)](){const _0x43f762=_0x5bf0eb;let _0x11bec2=this[_0x43f762(0x37e)];return{'onStateChange':(_0x5b5bd4,_0x340f65)=>{const _0x5ad769=_0x43f762;if(_0x5b5bd4!==this[_0x5ad769(0x303)])throw Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5b5bd4['status']+'\x0aAfter:\x20'+_0x340f65[_0x5ad769(0x308)]+'\x0aCurrent:\x20'+this['_state']['status']);this[_0x5ad769(0x32d)](_0x340f65);},'onSendChangeset':_0x763ddc=>{const _0x17580e=_0x43f762;_0x763ddc[_0x17580e(0x390)]||(_0x763ddc[_0x17580e(0x390)]=this[_0x17580e(0x473)],_0x763ddc[_0x17580e(0x29f)]=++this[_0x17580e(0x39b)]);let _0x10573e={'eventID':_0x2b53f2['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x763ddc[_0x17580e(0x37e)],'unitType':this[_0x17580e(0x402)],'changeset':_0x763ddc,'memberID':this[_0x17580e(0x20d)][_0x17580e(0x306)]()}};this[_0x17580e(0x20d)][_0x17580e(0x4eb)](_0x10573e,this[_0x17580e(0x37e)]);},'onMissingChangesets':({from:_0x3ef1d4,to:_0x4a0df9})=>{const _0x10e8ce=_0x43f762;this[_0x10e8ce(0x236)][_0x10e8ce(0x265)](_0x10e8ce(0x440),'fetching\x20missing\x20changesets\x20from\x20'+_0x3ef1d4+_0x10e8ce(0x424)+_0x4a0df9);let _0x5c37e0={'eventID':_0x2b53f2[_0x10e8ce(0x406)][_0x10e8ce(0x31b)],'data':{'unitID':_0x11bec2,'unitType':this[_0x10e8ce(0x402)],'from':_0x3ef1d4,'to':_0x4a0df9}};this[_0x10e8ce(0x20d)]['send'](_0x5c37e0,this[_0x10e8ce(0x37e)]);}};}async['_createInitialStateImpl'](_0x555c3a){const _0x59671a=_0x5bf0eb;var _0x11de98,_0xb38096,_0x5d0c64;let _0x7f7cac=await((_0x11de98=this[_0x59671a(0x33c)])==null?void 0x0:_0x11de98['loadOfflineData'](this[_0x59671a(0x37e)])),_0x40589c=(_0xb38096=_0x7f7cac==null?void 0x0:_0x7f7cac[_0x59671a(0x277)])==null?[]:_0xb38096,_0x114d0e=(_0x5d0c64=_0x7f7cac==null?void 0x0:_0x7f7cac[_0x59671a(0x4d1)])==null?null:_0x5d0c64,_0xab9273=!!(_0x114d0e!=null&&_0x114d0e['sid'])&&!!(_0x114d0e!=null&&_0x114d0e[_0x59671a(0x29f)]);this[_0x59671a(0x473)]=_0xab9273?_0x114d0e[_0x59671a(0x390)]:(0x0,_0x2b53f2['uuidv4'])(),this[_0x59671a(0x39b)]=_0xab9273?_0x114d0e['reqId']:0x0;let _0x8beb58=this[_0x59671a(0x37e)];try{this[_0x59671a(0x3d4)](_0x114d0e,_0x40589c);}catch(_0x4a0946){this['_logService'][_0x59671a(0x35f)](_0x4a0946);}let _0x19c29d=this[_0x59671a(0x48d)]();if(_0x555c3a){let _0x5d2cc8=_0x1f46ae(this[_0x59671a(0x2d5)],_0x8beb58,this['_type'],_0x114d0e,_0x40589c,_0x19c29d);return _0x5d2cc8 instanceof _0x17b236?_0x5d2cc8['_schedule']():(_0x5d2cc8 instanceof _0x2be15f||_0x5d2cc8 instanceof _0x45f3bd)&&_0x5d2cc8[_0x59671a(0x460)](),_0x5d2cc8;}return this[_0x59671a(0x2d5)]['createInstance'](_0x5a87ab,_0x8beb58,this[_0x59671a(0x402)],_0x114d0e,_0x40589c,_0x19c29d);}[_0x5bf0eb(0x3d4)](_0x2f9a58,_0x378f82){const _0x402062=_0x5bf0eb;var _0x723a3d,_0x49cd18;let _0x4fd216=this[_0x402062(0x1e8)][_0x402062(0x35d)][_0x402062(0x2cc)](this[_0x402062(0x1e8)][_0x402062(0x35d)]['getInterceptPoints']()[_0x402062(0x416)]);(_0x723a3d=_0x4fd216((_0x2f9a58==null?void 0x0:_0x2f9a58[_0x402062(0x277)])||[],null))==null||_0x723a3d[_0x402062(0x312)](_0x343085=>this[_0x402062(0x399)][_0x402062(0x3f5)](_0x343085['id'],_0x343085['params'])),(_0x49cd18=_0x4fd216(_0x378f82||[],null))==null||_0x49cd18['forEach'](_0x979c6e=>this[_0x402062(0x399)][_0x402062(0x3f5)](_0x979c6e['id'],_0x979c6e[_0x402062(0x4c7)]));}};_0x3e0a94=_0x4e6e0f([_0xe72533(0x3,(0x0,_0x2dbbd9['Inject'])(_0x2dbbd9['Injector'])),_0xe72533(0x4,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2b53f2['CompressMutationService'])),_0xe72533(0x5,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x340)])),_0xe72533(0x6,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2b53f2[_0x5bf0eb(0x495)])),_0xe72533(0x7,(0x0,_0x2dbbd9['Inject'])(_0x10b08d)),_0xe72533(0x8,_0x2dbbd9[_0x5bf0eb(0x4d0)]),_0xe72533(0x9,_0x2dbbd9[_0x5bf0eb(0x21b)]),_0xe72533(0xa,_0x2dbbd9['ICommandService']),_0xe72533(0xb,_0x2dbbd9[_0x5bf0eb(0x338)]),_0xe72533(0xc,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x268fcd)),_0xe72533(0xd,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x36e220))],_0x3e0a94);let _0xe7b4d0=class extends _0x3e0a94{constructor(_0x4afe71,_0x14b8b2,_0x50abc6,_0x20caba,_0x57cee4,_0x102ca2,_0x12d500,_0xb5295,_0x16fe1e,_0x4a6b6b,_0x1988b9,_0x533e1a,_0x1650ac,_0x4ac18b){const _0x6895e2=_0x5bf0eb;super(_0x4afe71,_0x50abc6,_0x14b8b2,_0x20caba,_0x57cee4,_0x102ca2,_0x12d500,_0xb5295,_0x16fe1e,_0x4a6b6b,_0x1988b9,_0x533e1a,_0x1650ac,_0x4ac18b),this['unitID']=_0x4afe71,this[_0x6895e2(0x3f8)]=_0x14b8b2,_0x527b5d(this,'_handlerCallback',null);}[_0x5bf0eb(0x38e)](_0x34ab09){this['_handlerCallback']=_0x34ab09;}[_0x5bf0eb(0x2e2)](){const _0x452856=_0x5bf0eb;this[_0x452856(0x394)]=null,super[_0x452856(0x2e2)]();}[_0x5bf0eb(0x48d)](){const _0x5891d3=_0x5bf0eb;let _0x3a11b3=super[_0x5891d3(0x48d)]();return _0x3a11b3[_0x5891d3(0x403)]=_0x28ae8a=>{const _0x418daa=_0x5891d3;var _0x25a12d,_0x2f0864;return(_0x25a12d=this[_0x418daa(0x394)])==null||(_0x2f0864=_0x25a12d['onTransformIME'])==null?void 0x0:_0x2f0864[_0x418daa(0x354)](_0x25a12d,_0x28ae8a);},_0x3a11b3[_0x5891d3(0x46d)]=_0xfffa7f=>{const _0x343632=_0x5891d3;var _0x304681,_0xe6940f;return(_0x304681=this[_0x343632(0x394)])==null||(_0xe6940f=_0x304681['onTransformState'])==null?void 0x0:_0xe6940f[_0x343632(0x354)](_0x304681,_0xfffa7f);},_0x3a11b3[_0x5891d3(0x377)]=_0x169f9a=>{const _0x5b72bb=_0x5891d3;var _0x3ec4dd,_0x43a9d0;return(_0x3ec4dd=this[_0x5b72bb(0x394)])==null||(_0x43a9d0=_0x3ec4dd[_0x5b72bb(0x377)])==null?void 0x0:_0x43a9d0['call'](_0x3ec4dd,_0x169f9a);},_0x3a11b3[_0x5891d3(0x493)]=_0x5e0da3=>{const _0x328181=_0x5891d3;var _0x38ccc9,_0x4eedf0;return(_0x38ccc9=this[_0x328181(0x394)])==null||(_0x4eedf0=_0x38ccc9[_0x328181(0x493)])==null?void 0x0:_0x4eedf0['call'](_0x38ccc9,_0x5e0da3);},_0x3a11b3['onTransformRemoteChangesetByIMECache']=_0x3b9804=>{const _0x437148=_0x5891d3;var _0x4e0019,_0x417281,_0x80fba0;if(!((_0x4e0019=this[_0x437148(0x394)])!=null&&_0x4e0019['onTransformRemoteChangesetByIMECache']))throw Error(_0x437148(0x429));return(_0x417281=this[_0x437148(0x394)])==null||(_0x80fba0=_0x417281[_0x437148(0x276)])==null?void 0x0:_0x80fba0['call'](_0x417281,_0x3b9804);},_0x3a11b3[_0x5891d3(0x227)]=_0x420817=>{const _0x3dcf25=_0x5891d3;var _0x5c235b,_0x25870f,_0x119956;if(!((_0x5c235b=this[_0x3dcf25(0x394)])!=null&&_0x5c235b['onTransformRemoteChangesetByStateCache']))throw Error(_0x3dcf25(0x300));return(_0x25870f=this[_0x3dcf25(0x394)])==null||(_0x119956=_0x25870f[_0x3dcf25(0x227)])==null?void 0x0:_0x119956['call'](_0x25870f,_0x420817);},_0x3a11b3;}async[_0x5bf0eb(0x226)](){const _0x295f5f=_0x5bf0eb;let _0x2bd405=await super[_0x295f5f(0x226)]();return this[_0x295f5f(0x4a6)](this['_commandService'][_0x295f5f(0x36d)]((_0x42a6d3,_0x3e9845)=>{const _0x2be856=_0x295f5f;if(_0x42a6d3['type']!==_0x2dbbd9[_0x2be856(0x2b2)][_0x2be856(0x469)]||_0x3e9845!=null&&_0x3e9845['fromCollab']||_0x3e9845!=null&&_0x3e9845[_0x2be856(0x4ba)]||_0x42a6d3['id']===_0x13703b[_0x2be856(0x37f)]['id'])return;let _0x32298a=_0x42a6d3[_0x2be856(0x4c7)];if((_0x32298a==null?void 0x0:_0x32298a['unitId'])!==this[_0x2be856(0x37e)])return;let _0x5832f7=_0x42a6d3,_0x5b8110=this[_0x2be856(0x1e8)][_0x2be856(0x35d)][_0x2be856(0x2cc)](this[_0x2be856(0x1e8)][_0x2be856(0x35d)][_0x2be856(0x261)]()[_0x2be856(0x200)])([_0x5832f7],this[_0x2be856(0x389)])||[_0x5832f7];this[_0x2be856(0x3b9)](_0x5b8110[0x0]);})),_0x2bd405;}};_0xe7b4d0=_0x4e6e0f([_0xe72533(0x3,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x3fa)])),_0xe72533(0x4,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2b53f2[_0x5bf0eb(0x46a)])),_0xe72533(0x5,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9['LocaleService'])),_0xe72533(0x6,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2b53f2[_0x5bf0eb(0x495)])),_0xe72533(0x7,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x10b08d)),_0xe72533(0x8,_0x2dbbd9[_0x5bf0eb(0x4d0)]),_0xe72533(0x9,_0x2dbbd9[_0x5bf0eb(0x21b)]),_0xe72533(0xa,_0x2dbbd9[_0x5bf0eb(0x28c)]),_0xe72533(0xb,_0x2dbbd9['IPermissionService']),_0xe72533(0xc,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x268fcd)),_0xe72533(0xd,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x36e220))],_0xe7b4d0);let _0x4db82b=class extends _0x3e0a94{constructor(_0x590fea,_0x569811,_0x2d85ef,_0x18239c,_0x38c86f,_0x4b1891,_0x24b8fa,_0x3206d1,_0x429bd5,_0x2d2c1d,_0xa4c990,_0x570fdd,_0x497a87,_0x2c5bdc,_0x3d4f52){const _0x231a67=_0x5bf0eb;super(_0x590fea,_0x2d85ef,_0x569811,_0x18239c,_0x38c86f,_0x4b1891,_0x24b8fa,_0x429bd5,_0x2d2c1d,_0xa4c990,_0x570fdd,_0x497a87,_0x2c5bdc,_0x3d4f52),this[_0x231a67(0x37e)]=_0x590fea,this['type']=_0x569811,this[_0x231a67(0x304)]=_0x3206d1;}['_createHandler'](){const _0x56e43d=_0x5bf0eb;let _0x3cfbeb=super[_0x56e43d(0x48d)]();return _0x3cfbeb[_0x56e43d(0x377)]=_0x2bdae8=>this[_0x56e43d(0x304)]['transformSelections'](_0x2bdae8),_0x3cfbeb;}async[_0x5bf0eb(0x226)](){const _0x5e47cf=_0x5bf0eb;let _0x19fd86=await super[_0x5e47cf(0x226)]();return this['disposeWithMe'](this[_0x5e47cf(0x399)][_0x5e47cf(0x36d)]((_0x23a8af,_0x217e16)=>{const _0x4e7cfb=_0x5e47cf;if(_0x23a8af[_0x4e7cfb(0x3f8)]!==_0x2dbbd9['CommandType']['MUTATION']||_0x217e16!=null&&_0x217e16[_0x4e7cfb(0x3e1)]||_0x217e16!=null&&_0x217e16[_0x4e7cfb(0x4ba)])return;let _0x4329b4=_0x23a8af['params'];if((_0x4329b4==null?void 0x0:_0x4329b4[_0x4e7cfb(0x281)])!==this[_0x4e7cfb(0x37e)])return;let _0x70b660=_0x23a8af,_0x446f14=this[_0x4e7cfb(0x1e8)][_0x4e7cfb(0x35d)][_0x4e7cfb(0x2cc)](this[_0x4e7cfb(0x1e8)]['interceptor']['getInterceptPoints']()[_0x4e7cfb(0x200)])([_0x70b660],this[_0x4e7cfb(0x389)])||[_0x70b660];this[_0x4e7cfb(0x3b9)](_0x446f14[0x0]);})),_0x19fd86;}};_0x4db82b=_0x4e6e0f([_0xe72533(0x3,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x3fa)])),_0xe72533(0x4,(0x0,_0x2dbbd9['Inject'])(_0x2b53f2[_0x5bf0eb(0x46a)])),_0xe72533(0x5,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x340)])),_0xe72533(0x6,(0x0,_0x2dbbd9['Inject'])(_0x2b53f2[_0x5bf0eb(0x495)])),_0xe72533(0x7,(0x0,_0x2dbbd9['Inject'])(_0x53e950)),_0xe72533(0x8,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x10b08d)),_0xe72533(0x9,_0x2dbbd9[_0x5bf0eb(0x4d0)]),_0xe72533(0xa,_0x2dbbd9['ILogService']),_0xe72533(0xb,_0x2dbbd9[_0x5bf0eb(0x28c)]),_0xe72533(0xc,_0x2dbbd9['IPermissionService']),_0xe72533(0xd,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x268fcd)),_0xe72533(0xe,(0x0,_0x2dbbd9['Optional'])(_0x36e220))],_0x4db82b);let _0x235c1d=(0x0,_0x2dbbd9['createIdentifier'])('univer-pro.collaboration-client.network-condition.service');function _0x1a0343(_0x4f1a07){const _0x24995c=_0x5bf0eb;let _0x59e7fb=_0x4f1a07[_0x24995c(0x43a)],_0x892557=JSON['parse'](_0x59e7fb);switch(_0x892557[_0x24995c(0x3c8)]){case _0x240cfb['CombCmd'][_0x24995c(0x49f)]:case _0x240cfb['CombCmd']['HELLO']:{let _0x4c1bd5=_0x892557[_0x24995c(0x2af)];return{..._0x892557,'data':_0x4c1bd5,'cmd':_0x892557['cmd']};}case _0x240cfb[_0x24995c(0x42b)][_0x24995c(0x4a1)]:{let _0x458ca2=_0x892557[_0x24995c(0x379)];return{..._0x892557,'data':_0x458ca2,'cmd':_0x892557['cmd']};}case _0x240cfb['CombCmd']['RECV']:{let _0x273a07=_0x892557[_0x24995c(0x434)];switch(_0x273a07[_0x24995c(0x4d9)]){case _0x2b53f2['CollaborationEvent'][_0x24995c(0x254)]:var _0x25db2c;return{..._0x892557,'data':{..._0x273a07,'data':(_0x25db2c=_0x273a07[_0x24995c(0x1fe)])==null?void 0x0:_0x25db2c['cs']},'cmd':_0x892557['cmd']};case _0x2b53f2[_0x24995c(0x406)]['CHANGESET_ACK']:var _0x691bdf;return{..._0x892557,'data':{..._0x273a07,'data':(_0x691bdf=_0x273a07[_0x24995c(0x41d)])==null?void 0x0:_0x691bdf['cs']},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2['CollaborationEvent'][_0x24995c(0x44a)]:var _0x2e1b21;return{..._0x892557,'data':{..._0x273a07,'data':(_0x2e1b21=_0x273a07[_0x24995c(0x229)])==null?void 0x0:_0x2e1b21['cs']},'cmd':_0x892557['cmd']};case _0x2b53f2[_0x24995c(0x406)]['CHANGESET_REJ']:var _0x182e4d;return{..._0x892557,'data':{..._0x273a07,'data':(_0x182e4d=_0x273a07[_0x24995c(0x203)])==null?void 0x0:_0x182e4d['cs']},'cmd':_0x892557['cmd']};case _0x2b53f2['CollaborationEvent'][_0x24995c(0x437)]:var _0x45181b;return{..._0x892557,'data':{..._0x273a07,'data':(_0x45181b=_0x273a07[_0x24995c(0x481)])==null?void 0x0:_0x45181b['cs']},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2['CollaborationEvent'][_0x24995c(0x2db)]:return{..._0x892557,'data':{..._0x273a07,'data':_0x273a07['updateCursorEvent']},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2['CollaborationEvent']['USERS_ENTER']:return{..._0x892557,'data':{..._0x273a07,'data':_0x273a07[_0x24995c(0x24e)]},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2[_0x24995c(0x406)][_0x24995c(0x4c8)]:return{..._0x892557,'data':{..._0x273a07,'data':_0x273a07[_0x24995c(0x247)]},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2['CollaborationEvent'][_0x24995c(0x328)]:return{..._0x892557,'data':{..._0x273a07,'data':_0x273a07[_0x24995c(0x2b4)]},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2[_0x24995c(0x406)][_0x24995c(0x21a)]:case _0x2b53f2[_0x24995c(0x406)][_0x24995c(0x3ff)]:return{..._0x892557,'data':{..._0x273a07,'data':_0x273a07[_0x24995c(0x1fc)]},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2[_0x24995c(0x406)][_0x24995c(0x2c9)]:return{..._0x892557,'data':{..._0x273a07,'data':_0x273a07[_0x24995c(0x2b4)]},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2[_0x24995c(0x406)]['MSG_FOR_ERROR']:return{..._0x892557,'data':_0x273a07,'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2[_0x24995c(0x406)][_0x24995c(0x316)]:return{..._0x892557,'data':{..._0x273a07,'data':_0x273a07[_0x24995c(0x2e8)]},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2['CollaborationEvent'][_0x24995c(0x246)]:return{..._0x892557,'data':{..._0x273a07,'data':_0x273a07[_0x24995c(0x3b3)]},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2[_0x24995c(0x406)][_0x24995c(0x368)]:return{..._0x892557,'data':{..._0x273a07,'data':_0x273a07[_0x24995c(0x2f7)]},'cmd':_0x892557[_0x24995c(0x3c8)]};case _0x2b53f2['CollaborationEvent'][_0x24995c(0x2d6)]:return{..._0x892557,'data':{..._0x273a07,'data':_0x273a07[_0x24995c(0x456)]},'cmd':_0x892557[_0x24995c(0x3c8)]};default:return _0x892557;}}default:return _0x892557;}}function _0x600b81(_0x615d2){const _0x3cd6b1=_0x5bf0eb;switch(_0x615d2[_0x3cd6b1(0x3c8)]){case _0x240cfb[_0x3cd6b1(0x42b)][_0x3cd6b1(0x49f)]:case _0x240cfb['CombCmd']['HELLO']:return JSON[_0x3cd6b1(0x337)]({'cmd':_0x615d2[_0x3cd6b1(0x3c8)],'routeKey':_0x615d2['routeKey']});case _0x240cfb['CombCmd'][_0x3cd6b1(0x249)]:{let _0x50a520;switch(_0x615d2[_0x3cd6b1(0x43a)][_0x3cd6b1(0x4d9)]){case _0x2b53f2[_0x3cd6b1(0x406)][_0x3cd6b1(0x2db)]:_0x50a520={'eventID':_0x2b53f2['CollaborationEvent'][_0x3cd6b1(0x2db)],'updateCursorEvent':_0x615d2[_0x3cd6b1(0x43a)][_0x3cd6b1(0x43a)]};break;case _0x2b53f2[_0x3cd6b1(0x406)][_0x3cd6b1(0x4c8)]:_0x50a520={'eventID':_0x2b53f2[_0x3cd6b1(0x406)][_0x3cd6b1(0x4c8)],'leaveEvent':_0x615d2['data'][_0x3cd6b1(0x43a)]};break;case _0x2b53f2[_0x3cd6b1(0x406)]['USERS_ENTER']:_0x50a520={'eventID':_0x2b53f2['CollaborationEvent'][_0x3cd6b1(0x3eb)],'joinEvent':_0x615d2[_0x3cd6b1(0x43a)][_0x3cd6b1(0x43a)]};break;case _0x2b53f2[_0x3cd6b1(0x406)]['LIVESHARE_NEW_HOST']:_0x50a520={'eventID':_0x2b53f2[_0x3cd6b1(0x406)][_0x3cd6b1(0x328)],'liveShareNewHost':_0x615d2[_0x3cd6b1(0x43a)][_0x3cd6b1(0x43a)]};break;case _0x2b53f2[_0x3cd6b1(0x406)][_0x3cd6b1(0x3ff)]:_0x50a520={'eventID':_0x2b53f2[_0x3cd6b1(0x406)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x615d2[_0x3cd6b1(0x43a)][_0x3cd6b1(0x43a)]};break;case _0x2b53f2['CollaborationEvent'][_0x3cd6b1(0x2c9)]:_0x50a520={'eventID':_0x2b53f2['CollaborationEvent'][_0x3cd6b1(0x2c9)],'liveShareTerminate':_0x615d2['data'][_0x3cd6b1(0x43a)]};break;case _0x2b53f2[_0x3cd6b1(0x406)][_0x3cd6b1(0x2ab)]:_0x50a520={'eventID':_0x2b53f2[_0x3cd6b1(0x406)][_0x3cd6b1(0x2ab)],'liveShareRequestHost':_0x615d2['data']['data']};break;case _0x2b53f2[_0x3cd6b1(0x406)][_0x3cd6b1(0x21a)]:_0x50a520={'eventID':_0x2b53f2['CollaborationEvent'][_0x3cd6b1(0x21a)]};break;default:_0x50a520={'eventID':_0x615d2['data'][_0x3cd6b1(0x4d9)]};}return JSON[_0x3cd6b1(0x337)]({'cmd':_0x615d2['cmd'],'routeKey':_0x615d2[_0x3cd6b1(0x231)],'collaMsg':_0x50a520});}case _0x240cfb['CombCmd'][_0x3cd6b1(0x4a1)]:return JSON[_0x3cd6b1(0x337)]({'cmd':_0x615d2[_0x3cd6b1(0x3c8)],'routeKey':_0x615d2[_0x3cd6b1(0x231)],'joinReq':_0x615d2[_0x3cd6b1(0x43a)]});case _0x240cfb[_0x3cd6b1(0x42b)]['LEAVE']:return JSON[_0x3cd6b1(0x337)]({'cmd':_0x615d2[_0x3cd6b1(0x3c8)],'routeKey':_0x615d2['routeKey'],'leaveReq':_0x615d2[_0x3cd6b1(0x43a)]});default:throw Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}let _0x18a142=(0x0,_0x2dbbd9[_0x5bf0eb(0x2c8)])(_0x5bf0eb(0x4cf));function _0x26ebb7(_0x31d87d,_0x1b9765,_0x3c3256){return _0x31d87d+'/'+_0x1b9765+'/unit/'+_0x3c3256+'/new_changes';}let _0x47e4bb=class extends _0x2dbbd9[_0x5bf0eb(0x2e6)]{constructor(_0x1d9a79,_0x2194dc,_0x1af019,_0x41ef6a,_0x172187){const _0x1cb35b=_0x5bf0eb;super(),this[_0x1cb35b(0x2d5)]=_0x1d9a79,this[_0x1cb35b(0x21f)]=_0x2194dc,this['_configService']=_0x1af019,this[_0x1cb35b(0x236)]=_0x41ef6a,this['_snapshotServerService']=_0x172187;}[_0x5bf0eb(0x3ba)](_0x3cee2e){const _0x32390d=_0x5bf0eb;let _0x2eb4d6=this['_injector'][_0x32390d(0x42f)](_0x5f56f9['ISocketService']);if(!_0x2eb4d6)throw Error(_0x32390d(0x335));let _0x569295=_0x2eb4d6[_0x32390d(0x268)](_0x3cee2e);if(!_0x569295)throw Error(_0x32390d(0x232));let _0x23edd7=new _0x2dbbd9[(_0x32390d(0x31d))](),_0x549ff0=new _0x4f3716[(_0x32390d(0x33a))]();_0x23edd7['add'](_0x569295[_0x32390d(0x40c)][_0x32390d(0x31f)](_0x5108ac=>_0x549ff0[_0x32390d(0x274)](_0x5108ac))),_0x23edd7['add']((0x0,_0x2dbbd9['toDisposable'])(()=>_0x549ff0['complete']()));let _0x10f574=new _0x4f3716['Subject']();_0x23edd7['add'](_0x569295['error$'][_0x32390d(0x31f)](_0x400321=>_0x10f574[_0x32390d(0x274)](_0x400321))),_0x23edd7[_0x32390d(0x382)]((0x0,_0x2dbbd9[_0x32390d(0x1ee)])(()=>_0x10f574[_0x32390d(0x311)]()));let _0x2cbadc=new _0x4f3716[(_0x32390d(0x33a))]();_0x23edd7['add'](_0x569295['message$'][_0x32390d(0x31f)](_0x3d4418=>{const _0x129c28=_0x32390d;let _0x1ba4e0=_0x1a0343(_0x3d4418);_0x2cbadc[_0x129c28(0x274)](_0x1ba4e0);})),_0x23edd7['add']((0x0,_0x2dbbd9['toDisposable'])(()=>_0x2cbadc[_0x32390d(0x311)]()));let _0x4db891,_0x29e820=()=>{const _0x107da2=_0x32390d;_0x10f574[_0x107da2(0x274)](new Event(_0x107da2(0x4db))),_0x549ff0[_0x107da2(0x274)](new Event(_0x107da2(0x4db))),_0x4db891['close']();};return _0x4db891={'memberID':'','close$':_0x549ff0[_0x32390d(0x2e9)](),'error$':_0x10f574[_0x32390d(0x2e9)](),'open$':_0x569295[_0x32390d(0x3bc)],'message$':_0x2cbadc['asObservable'](),'send':_0x535372=>{const _0xde1262=_0x32390d;if(_0x535372[_0xde1262(0x3c8)]===_0x240cfb[_0xde1262(0x42b)][_0xde1262(0x249)]){if(_0x535372[_0xde1262(0x43a)][_0xde1262(0x4d9)]===_0x2b53f2[_0xde1262(0x406)]['SUBMIT_CHANGESET']){this[_0xde1262(0x242)](_0x4db891,_0x535372['data'])[_0xde1262(0x366)](_0x180e37=>{const _0x520b91=_0xde1262;this['_logService'][_0x520b91(0x35f)](_0x180e37),_0x29e820();});return;}if(_0x535372['data'][_0xde1262(0x4d9)]===_0x2b53f2[_0xde1262(0x406)][_0xde1262(0x31b)]){let _0x2c4326=_0x535372[_0xde1262(0x43a)];this[_0xde1262(0x1f8)](_0x2c4326)[_0xde1262(0x20c)](_0x1102fd=>{const _0x1b2400=_0xde1262;_0x2cbadc['next']({'cmd':_0x240cfb['CombCmd'][_0x1b2400(0x4aa)],'code':_0x240cfb[_0x1b2400(0x447)]['OK'],'routeKey':_0x2c4326[_0x1b2400(0x43a)][_0x1b2400(0x37e)],'routeType':'','data':{'eventID':_0x2b53f2[_0x1b2400(0x406)][_0x1b2400(0x421)],'data':{'changesets':_0x1102fd}}});})['catch'](_0x540003=>{const _0x4e6630=_0xde1262;this[_0x4e6630(0x236)][_0x4e6630(0x35f)](_0x540003),_0x29e820();});return;}}_0x569295[_0xde1262(0x4eb)](_0x600b81(_0x535372));},'close':()=>{const _0x33d259=_0x32390d;_0x569295[_0x33d259(0x243)](),_0x23edd7[_0x33d259(0x2e2)]();}},_0x4db891;}async[_0x5bf0eb(0x242)](_0x26d2c8,_0x57cff8){const _0x3006d0=_0x5bf0eb;var _0x3d905f;let {unitType:_0x478502,unitID:_0x375afd,changeset:_0x45e806}=_0x57cff8['data'],_0x3cc297={'unitID':_0x375afd,'memberID':_0x26d2c8['memberID'],'type':_0x478502,'changeset':(0x0,_0x2b53f2[_0x3006d0(0x49b)])(_0x45e806)},_0x341b11=this[_0x3006d0(0x266)][_0x3006d0(0x46c)](_0x2a84dd),_0x547d14=_0x26ebb7((_0x3d905f=_0x341b11==null?void 0x0:_0x341b11[_0x3006d0(0x420)])==null?_0x3006d0(0x331):_0x3d905f,_0x478502,_0x375afd);try{await this[_0x3006d0(0x21f)]['post'](_0x547d14,{'body':_0x3cc297});}catch(_0x1d5d38){throw this[_0x3006d0(0x236)][_0x3006d0(0x35f)](_0x3006d0(0x2d4),_0x3006d0(0x320)),_0x1d5d38;}}async['_fetchMissChangesets'](_0x7f17e3){const _0x2b2ac3=_0x5bf0eb;let {unitID:_0x359163,from:_0x2e40bb,to:_0xa29691,unitType:_0x701a4f}=_0x7f17e3[_0x2b2ac3(0x43a)];return(await this[_0x2b2ac3(0x482)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x359163,'type':_0x701a4f,'from':_0x2e40bb,'to':_0xa29691}))['changesets'][_0x2b2ac3(0x1e3)](_0x25b68f=>((_0x25b68f[_0x2b2ac3(0x277)]===null||_0x25b68f['mutations']===void 0x0)&&(_0x25b68f['mutations']=[]),_0x25b68f));}};_0x47e4bb=_0x4e6e0f([_0xe72533(0x0,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9['Injector'])),_0xe72533(0x1,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x5f56f9[_0x5bf0eb(0x207)])),_0xe72533(0x2,_0x2dbbd9[_0x5bf0eb(0x488)]),_0xe72533(0x3,_0x2dbbd9[_0x5bf0eb(0x21b)]),_0xe72533(0x4,_0x2b53f2[_0x5bf0eb(0x28a)])],_0x47e4bb);let _0x1d8d49=class extends _0x2dbbd9[_0x5bf0eb(0x2e6)]{get[_0x5bf0eb(0x2ec)](){const _0x41acc5=_0x5bf0eb;return this[_0x41acc5(0x3c3)][_0x41acc5(0x2fe)]();}constructor(_0x8b979e,_0x4af259,_0x3b22fe,_0x27a2a2,_0x50e67a,_0x362bda){const _0x277039=_0x5bf0eb;super(),this['_injector']=_0x8b979e,this[_0x277039(0x236)]=_0x4af259,this[_0x277039(0x266)]=_0x3b22fe,this[_0x277039(0x2a9)]=_0x27a2a2,this[_0x277039(0x392)]=_0x50e67a,this[_0x277039(0x396)]=_0x362bda,_0x527b5d(this,_0x277039(0x3c3),new _0x4f3716[(_0x277039(0x391))](void 0x0)),_0x527b5d(this,'socket$',this[_0x277039(0x3c3)][_0x277039(0x2e9)]()),_0x527b5d(this,_0x277039(0x28d),null),_0x527b5d(this,_0x277039(0x280),new Map()),_0x527b5d(this,'_status$',new _0x4f3716[(_0x277039(0x391))](0x0)),_0x527b5d(this,'status$',this[_0x277039(0x343)][_0x277039(0x2e9)]()),_0x527b5d(this,'_socketReady',!0x1),_0x527b5d(this,'_retryConnectingTimer',void 0x0),_0x527b5d(this,'_retryCount',0x0),_0x527b5d(this,'_sendHeartbeatTimer',void 0x0),_0x527b5d(this,_0x277039(0x454),void 0x0),this[_0x277039(0x39e)]();}[_0x5bf0eb(0x39e)](){const _0x6a70ee=_0x5bf0eb;this[_0x6a70ee(0x396)]&&this[_0x6a70ee(0x4a6)](this[_0x6a70ee(0x396)]['online$']['subscribe'](_0x543eb7=>{const _0x1665f3=_0x6a70ee;_0x543eb7&&!this[_0x1665f3(0x2ec)]&&this[_0x1665f3(0x430)](),_0x543eb7||this[_0x1665f3(0x452)]();}));}['dispose'](){const _0x3e76ae=_0x5bf0eb;super['dispose'](),this[_0x3e76ae(0x4a0)](),this['_clearTimeoutTimer'](),this[_0x3e76ae(0x2d9)](),this[_0x3e76ae(0x280)]['forEach'](_0x1e11f9=>_0x1e11f9[_0x3e76ae(0x2e2)]()),this['_sessions'][_0x3e76ae(0x4b9)](),this[_0x3e76ae(0x343)][_0x3e76ae(0x311)]();}async[_0x5bf0eb(0x3b8)](_0x27a9cf){const _0x49573b=_0x5bf0eb;if(this[_0x49573b(0x280)]['has'](_0x27a9cf))return this[_0x49573b(0x280)][_0x49573b(0x42f)](_0x27a9cf);this[_0x49573b(0x1eb)]();let _0x504e39=this[_0x49573b(0x2d5)][_0x49573b(0x408)](_0x2fe3e1,_0x27a9cf,this[_0x49573b(0x3c3)][_0x49573b(0x2e9)]());return this[_0x49573b(0x280)][_0x49573b(0x41a)](_0x27a9cf,_0x504e39),_0x504e39;}['closeSession'](_0x271b00){const _0x222f6c=_0x5bf0eb;let _0x54faa5=this[_0x222f6c(0x280)][_0x222f6c(0x42f)](_0x271b00);if(_0x54faa5&&(this[_0x222f6c(0x280)][_0x222f6c(0x4d5)](_0x271b00),_0x54faa5['close']()),!this['_sessions'][_0x222f6c(0x2a7)]){var _0x368cc8;(_0x368cc8=this['_socket'])==null||_0x368cc8[_0x222f6c(0x243)]();}}[_0x5bf0eb(0x430)](){const _0x2a6b08=_0x5bf0eb;this['_retryCount']=0x0,this[_0x2a6b08(0x4a0)](),this[_0x2a6b08(0x3c6)]();}[_0x5bf0eb(0x4a0)](){const _0x5897fd=_0x5bf0eb;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x5897fd(0x3d5)]),this[_0x5897fd(0x3d5)]=null);}async[_0x5bf0eb(0x2a6)](){const _0x1bf4a9=_0x5bf0eb;var _0xfbcf52;let _0x22ebf4=this[_0x1bf4a9(0x266)][_0x1bf4a9(0x46c)](_0x2a84dd),_0x5b9f69=(_0xfbcf52=_0x22ebf4==null?void 0x0:_0x22ebf4[_0x1bf4a9(0x425)])==null?_0xcb84c1:_0xfbcf52,_0x28780b=await this['_socketService'][_0x1bf4a9(0x268)](_0x5b9f69);return this[_0x1bf4a9(0x28d)]=_0x28780b,_0x28780b;}async['_tryEnsureSocket'](){const _0x4bda8b=_0x5bf0eb;try{var _0x3a4f3a,_0x385430;let _0x5b5a71=(_0x3a4f3a=(_0x385430=this[_0x4bda8b(0x2ec)])==null?this['_candidateSocket']:_0x385430)==null?await this[_0x4bda8b(0x2a6)]():_0x3a4f3a;if(_0x5b5a71){let _0x354ad6=_0x5b5a71[_0x4bda8b(0x4eb)];_0x5b5a71[_0x4bda8b(0x4eb)]=_0x25909d=>(_0x25909d[_0x4bda8b(0x3c8)]!==_0x240cfb['CombCmd']['LEAVE']&&this['_rescheduleHeartbeat'](),_0x354ad6[_0x4bda8b(0x2a3)](_0x5b5a71,[_0x25909d])),_0x5b5a71[_0x4bda8b(0x35c)][_0x4bda8b(0x31f)](_0x1e12ea=>this[_0x4bda8b(0x2ce)](_0x5b5a71,_0x1e12ea)),_0x5b5a71[_0x4bda8b(0x225)][_0x4bda8b(0x4be)]((0x0,_0x2ab3d8[_0x4bda8b(0x4ca)])(0x1))[_0x4bda8b(0x31f)](_0x22ba89=>this[_0x4bda8b(0x236)][_0x4bda8b(0x35f)](_0x4bda8b(0x4d2),_0x22ba89)),_0x5b5a71['open$'][_0x4bda8b(0x4be)]((0x0,_0x2ab3d8[_0x4bda8b(0x4ca)])(0x1))[_0x4bda8b(0x31f)](()=>{this['_onConnectionOpen'](_0x5b5a71);}),_0x5b5a71[_0x4bda8b(0x40c)][_0x4bda8b(0x4be)]((0x0,_0x2ab3d8[_0x4bda8b(0x4ca)])(0x1))['subscribe'](_0x1ecd16=>{const _0x49e7a5=_0x4bda8b;this['_logService'][_0x49e7a5(0x265)]('[CollaborationSessionService]','socket\x20close',_0x1ecd16),this[_0x49e7a5(0x4b5)]();});}}catch(_0x28d7ae){this[_0x4bda8b(0x236)][_0x4bda8b(0x35f)](_0x28d7ae),this[_0x4bda8b(0x4b5)]();}}[_0x5bf0eb(0x47c)](_0x3a8cef){const _0x3b7a49=_0x5bf0eb;this[_0x3b7a49(0x236)][_0x3b7a49(0x265)](_0x3b7a49(0x4cd),_0x3b7a49(0x1f4)),_0x3a8cef[_0x3b7a49(0x4eb)]({'cmd':_0x240cfb[_0x3b7a49(0x42b)]['HELLO']}),this[_0x3b7a49(0x271)]();}['_onOffline'](){const _0x556005=_0x5bf0eb;this['_socketReady']=!0x1,this[_0x556005(0x28d)]=null,this[_0x556005(0x343)]['next'](0x2),this[_0x556005(0x3c3)]['next'](null),this[_0x556005(0x4d3)](),this[_0x556005(0x2d9)]();}[_0x5bf0eb(0x4b5)](){const _0x1f1ea2=_0x5bf0eb;var _0x1b1270;this[_0x1f1ea2(0x452)](),this['_retryCount']<((_0x1b1270=this['_configService'][_0x1f1ea2(0x46c)](_0x1f1ea2(0x472)))==null?0x3:_0x1b1270)?(this[_0x1f1ea2(0x392)][_0x1f1ea2(0x216)]({'id':_0x1f1ea2(0x342)}),this[_0x1f1ea2(0x3c6)]()):this[_0x1f1ea2(0x392)][_0x1f1ea2(0x216)]({'id':_0x1f1ea2(0x2a5)});}[_0x5bf0eb(0x3c6)](){const _0x1e6f7d=_0x5bf0eb;var _0xe2042e;let _0x51be22=this['_retryCount'],_0x1671aa=this[_0x1e6f7d(0x266)][_0x1e6f7d(0x46c)](_0x2a84dd),_0x5dcf73=_0x51be22===0x0?0x0:((_0xe2042e=_0x1671aa==null?void 0x0:_0x1671aa['retryConnectingInterval'])==null?0x4e20:_0xe2042e)*0x2**_0x51be22;this[_0x1e6f7d(0x3d5)]=setTimeout(()=>{const _0x9ec16d=_0x1e6f7d;clearTimeout(this[_0x9ec16d(0x3d5)]),this[_0x9ec16d(0x3d5)]=null,this[_0x9ec16d(0x1eb)]();},_0x5dcf73),this[_0x1e6f7d(0x1e9)]+=0x1;}[_0x5bf0eb(0x2ce)](_0x1b7ba5,_0x31a1ec){const _0x91e95c=_0x5bf0eb;let {cmd:_0x42cd8b}=_0x31a1ec;_0x42cd8b===_0x240cfb[_0x91e95c(0x42b)][_0x91e95c(0x471)]&&!this[_0x91e95c(0x295)]&&(_0x1b7ba5['memberID']=_0x31a1ec[_0x91e95c(0x43a)][_0x91e95c(0x260)],this[_0x91e95c(0x3c3)][_0x91e95c(0x274)](_0x1b7ba5),this[_0x91e95c(0x343)]['next'](0x3),this[_0x91e95c(0x295)]=!0x0,this[_0x91e95c(0x28d)]=null),_0x42cd8b===_0x240cfb[_0x91e95c(0x42b)][_0x91e95c(0x49f)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x5bf0eb(0x271)](){const _0x10bd49=_0x5bf0eb;var _0x525e26;this[_0x10bd49(0x2d9)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x10bd49(0x2b8)](),(_0x525e26=this['_configService']['getConfig'](_0x10bd49(0x414)))==null?0x7530:_0x525e26);}[_0x5bf0eb(0x2b8)](){const _0x5c6a53=_0x5bf0eb;this[_0x5c6a53(0x2ec)]['send']({'cmd':_0x240cfb[_0x5c6a53(0x42b)]['HEARTBEAT']}),this[_0x5c6a53(0x294)]();}[_0x5bf0eb(0x294)](){const _0x43a4c8=_0x5bf0eb;var _0x11322d;this[_0x43a4c8(0x454)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x11322d=this[_0x43a4c8(0x266)][_0x43a4c8(0x46c)](_0x43a4c8(0x4d7)))==null?_0x39fe51:_0x11322d);}[_0x5bf0eb(0x2d9)](){const _0x5f5d2f=_0x5bf0eb;this[_0x5f5d2f(0x3d6)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5f5d2f(0x3d6)]=null);}[_0x5bf0eb(0x4d3)](){const _0x4dda9f=_0x5bf0eb;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4dda9f(0x454)]=null);}};_0x1d8d49=_0x4e6e0f([_0xe72533(0x0,(0x0,_0x2dbbd9['Inject'])(_0x2dbbd9[_0x5bf0eb(0x3fa)])),_0xe72533(0x1,_0x2dbbd9['ILogService']),_0xe72533(0x2,_0x2dbbd9[_0x5bf0eb(0x488)]),_0xe72533(0x3,_0x18a142),_0xe72533(0x4,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x10b08d)),_0xe72533(0x5,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x235c1d))],_0x1d8d49);let _0x573fbd=class extends _0x2dbbd9[_0x5bf0eb(0x2ed)]{constructor(_0x4b5ebf,_0xd0cf7e,_0x513c6f,_0x145669){const _0x3f7969=_0x5bf0eb;var _0x259e66;super(),this[_0x3f7969(0x2d5)]=_0x4b5ebf,this[_0x3f7969(0x500)]=_0xd0cf7e,this[_0x3f7969(0x266)]=_0x513c6f,this[_0x3f7969(0x389)]=_0x145669,_0x527b5d(this,'_entities',new Map()),_0x527b5d(this,_0x3f7969(0x2a1),new _0x4f3716[(_0x3f7969(0x33a))]()),_0x527b5d(this,'entityInit$',this[_0x3f7969(0x2a1)]['asObservable']()),((_0x259e66=this[_0x3f7969(0x266)][_0x3f7969(0x46c)](_0x3f7969(0x2ca)))==null?void 0x0:_0x259e66[_0x3f7969(0x36b)])!==!0x1&&this[_0x3f7969(0x226)]();}[_0x5bf0eb(0x2e2)](){const _0x3f4cb6=_0x5bf0eb;super[_0x3f4cb6(0x2e2)](),this['_entities']['forEach'](_0x522d3d=>_0x522d3d[_0x3f4cb6(0x2e2)]()),this['_entities']['clear']();}[_0x5bf0eb(0x4b0)](_0x3eb622){const _0x4892ae=_0x5bf0eb;var _0x142296;return(_0x142296=this['_entities'][_0x4892ae(0x42f)](_0x3eb622))==null?null:_0x142296;}['getCollabEntity$'](_0x5557b2){const _0xfb0768=_0x5bf0eb;let _0x531859=this[_0xfb0768(0x4b0)](_0x5557b2);return _0x531859?(0x0,_0x4f3716['of'])(_0x531859):this[_0xfb0768(0x2a1)][_0xfb0768(0x4be)]((0x0,_0x2ab3d8[_0xfb0768(0x422)])(_0x42fbf5=>_0x42fbf5[_0xfb0768(0x37e)]===_0x5557b2));}[_0x5bf0eb(0x4d4)](_0x51339a){const _0x1772d9=_0x5bf0eb;return(0x0,_0x4f3716[_0x1772d9(0x45b)])(this[_0x1772d9(0x21d)](_0x51339a)[_0x1772d9(0x4be)]((0x0,_0x2ab3d8[_0x1772d9(0x1e3)])(()=>void 0x0)));}[_0x5bf0eb(0x226)](){const _0x46b0c2=_0x5bf0eb;this[_0x46b0c2(0x389)][_0x46b0c2(0x220)](_0x2dbbd9[_0x46b0c2(0x442)][_0x46b0c2(0x20a)])['pipe']((0x0,_0x4f3716[_0x46b0c2(0x4fc)])(this[_0x46b0c2(0x3ea)]),(0x0,_0x2ab3d8['delay'])(0x10))[_0x46b0c2(0x31f)](async _0x42ea0f=>{const _0x4bc554=_0x46b0c2;let _0x9f9eb8=_0x42ea0f['unit'][_0x4bc554(0x3a7)](),_0x348b63=await this['_startCollaboration'](_0x9f9eb8,_0x2dbbd9[_0x4bc554(0x442)][_0x4bc554(0x20a)]);this[_0x4bc554(0x3a4)]['set'](_0x9f9eb8,_0x348b63);}),this['_univerInstanceService'][_0x46b0c2(0x220)](_0x2dbbd9[_0x46b0c2(0x442)][_0x46b0c2(0x477)])[_0x46b0c2(0x4be)]((0x0,_0x4f3716[_0x46b0c2(0x4fc)])(this[_0x46b0c2(0x3ea)]),(0x0,_0x2ab3d8['delay'])(0x10))[_0x46b0c2(0x4be)]((0x0,_0x2ab3d8[_0x46b0c2(0x422)])(_0x12afdb=>!_0x12afdb['unit'][_0x46b0c2(0x3a7)]()[_0x46b0c2(0x4f3)]('__')))['subscribe'](async _0x2802db=>{const _0x55cbd2=_0x46b0c2;let _0x519443=_0x2802db[_0x55cbd2(0x400)]['getUnitId'](),_0x5e4177=await this[_0x55cbd2(0x3c4)](_0x519443,_0x2dbbd9[_0x55cbd2(0x442)]['UNIVER_DOC']);this[_0x55cbd2(0x3a4)]['set'](_0x519443,_0x5e4177);}),(0x0,_0x4f3716[_0x46b0c2(0x42a)])(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2dbbd9['UniverInstanceType'][_0x46b0c2(0x20a)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2dbbd9[_0x46b0c2(0x442)][_0x46b0c2(0x477)]))['pipe']((0x0,_0x4f3716['takeUntil'])(this[_0x46b0c2(0x3ea)]))[_0x46b0c2(0x31f)](_0x454b46=>{const _0x2d3499=_0x46b0c2;let _0x5c87e2=_0x454b46[_0x2d3499(0x3a7)](),_0x332d95=this[_0x2d3499(0x3a4)][_0x2d3499(0x42f)](_0x5c87e2);_0x332d95&&(_0x332d95[_0x2d3499(0x2e2)](),this[_0x2d3499(0x3a4)][_0x2d3499(0x4d5)](_0x5c87e2));});}async[_0x5bf0eb(0x3c4)](_0x5a75db,_0x2f6765){const _0x351a2b=_0x5bf0eb;let _0x36c05b=await this[_0x351a2b(0x500)][_0x351a2b(0x3b8)](_0x5a75db),_0x95a8d0=this[_0x351a2b(0x2d5)]['createInstance'](this[_0x351a2b(0x20b)](_0x2f6765),_0x5a75db,_0x2f6765,_0x36c05b);return await _0x95a8d0['init'](),this[_0x351a2b(0x2a1)][_0x351a2b(0x274)](_0x95a8d0),_0x95a8d0;}[_0x5bf0eb(0x20b)](_0x53973c){const _0x23eab9=_0x5bf0eb;switch(_0x53973c){case _0x2dbbd9[_0x23eab9(0x442)][_0x23eab9(0x477)]:return _0xe7b4d0;case _0x2dbbd9[_0x23eab9(0x442)][_0x23eab9(0x20a)]:return _0x4db82b;default:throw Error(_0x23eab9(0x48f)+_0x53973c);}}};_0x573fbd=_0x4e6e0f([_0xe72533(0x0,(0x0,_0x2dbbd9['Inject'])(_0x2dbbd9[_0x5bf0eb(0x3fa)])),_0xe72533(0x1,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x1d8d49)),_0xe72533(0x2,_0x2dbbd9[_0x5bf0eb(0x488)]),_0xe72533(0x3,_0x2dbbd9['IUniverInstanceService'])],_0x573fbd);var _0x36adc3='@univerjs-pro/collaboration-client',_0xc8583d=_0x5bf0eb(0x480);let _0x2af5f4=class extends _0x2dbbd9[_0x5bf0eb(0x2e6)]{constructor(_0x1911a8,_0x572a12){const _0x4ce31f=_0x5bf0eb;super(),this['_univerInstanceService']=_0x1911a8,this[_0x4ce31f(0x266)]=_0x572a12,this[_0x4ce31f(0x226)]();}['_init'](){const _0x200792=_0x5bf0eb;this[_0x200792(0x4a6)](this[_0x200792(0x389)][_0x200792(0x4e5)][_0x200792(0x31f)](()=>{const _0x3f3813=_0x200792;var _0x55b724;let _0x141fec=this[_0x3f3813(0x389)][_0x3f3813(0x350)](),_0x20ecca=(_0x55b724=this[_0x3f3813(0x266)][_0x3f3813(0x46c)](_0x3f3813(0x423)))==null?_0x3f3813(0x2b0):_0x55b724;_0x141fec instanceof _0x2dbbd9[_0x3f3813(0x27d)]&&(_0x20ecca=_0x141fec['name']),document[_0x3f3813(0x210)]=_0x20ecca;}));}};_0x2af5f4=_0x4e6e0f([_0xe72533(0x0,_0x2dbbd9[_0x5bf0eb(0x4d0)]),_0xe72533(0x1,_0x2dbbd9[_0x5bf0eb(0x488)])],_0x2af5f4);let _0x39e94c=class{constructor(_0x373adc,_0x34b397,_0x17d7bd){const _0x265529=_0x5bf0eb;this[_0x265529(0x266)]=_0x373adc,this['_httpService']=_0x34b397,this[_0x265529(0x36c)]=_0x17d7bd,this[_0x265529(0x1fd)]();}[_0x5bf0eb(0x1fd)](){const _0x253465=_0x5bf0eb;this[_0x253465(0x21f)][_0x253465(0x41b)]({'priority':0x1,'interceptor':(_0x872292,_0x4ed0bd)=>_0x4ed0bd(_0x872292)[_0x253465(0x4be)]((0x0,_0x4f3716[_0x253465(0x248)])(async _0x10a415=>{const _0x1438c4=_0x253465;let _0x303f08=_0x10a415;if(_0x303f08[_0x1438c4(0x308)]===0x191){if(typeof window>'u')throw Error(_0x1438c4(0x2d3));if(window[_0x1438c4(0x24f)](this[_0x1438c4(0x36c)]['t'](_0x1438c4(0x25a)))){let _0x16ac41=window[_0x1438c4(0x3ca)](window['location'][_0x1438c4(0x3bb)]);window[_0x1438c4(0x39d)][_0x1438c4(0x3bb)]=this['_getLoginPath']()+_0x1438c4(0x476)+_0x16ac41;}}return _0x303f08;}))});}['_getLoginPath'](){const _0xef5fe2=_0x5bf0eb;var _0x282d5a;let _0x438ae5=this['_configService'][_0xef5fe2(0x46c)](_0x2a84dd);return(_0x282d5a=_0x438ae5==null?void 0x0:_0x438ae5[_0xef5fe2(0x204)])==null?_0xef5fe2(0x209):_0x282d5a;}};_0x39e94c=_0x4e6e0f([_0xe72533(0x0,_0x2dbbd9[_0x5bf0eb(0x488)]),_0xe72533(0x1,(0x0,_0x2dbbd9['Inject'])(_0x5f56f9[_0x5bf0eb(0x207)])),_0xe72533(0x2,(0x0,_0x2dbbd9['Inject'])(_0x2dbbd9['LocaleService']))],_0x39e94c);let _0x2d37b7=class extends _0x2dbbd9[_0x5bf0eb(0x2e6)]{constructor(_0x354580,_0xd6f4a2){const _0x5398e5=_0x5bf0eb;super(),this[_0x5398e5(0x27e)]=_0x354580,this['_configService']=_0xd6f4a2,_0x527b5d(this,_0x5398e5(0x2e7),!0x1),this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0x2f11f3=_0x5bf0eb;let _0x3202ec=this;this[_0x2f11f3(0x4a6)](this['_HTTPService'][_0x2f11f3(0x41b)]({'priority':0x3e7,'interceptor':(0x0,_0x5f56f9[_0x2f11f3(0x2d8)])({'isMatch'(_0x48d9b4){const _0x216548=_0x2f11f3;var _0x1d118;if(_0x48d9b4[_0x216548(0x3b2)]===_0x216548(0x4ed)&&(_0x1d118=_0x48d9b4['requestParams'])!=null&&_0x1d118['body']){let {objectID:_0x3cefa6,objectType:_0x1e68e7}=_0x48d9b4['requestParams'][_0x216548(0x46f)]||{};if(!_0x3cefa6||_0x1e68e7===void 0x0)return!0x1;let _0x5a4a99=_0x3202ec['_getAPIPrefixPath']()+'/'+_0x1e68e7+'/object/'+_0x3cefa6+_0x216548(0x2fc);if(_0x48d9b4[_0x216548(0x2f6)]===_0x5a4a99)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1fda06){const _0x39d909=_0x2f11f3;var _0x1adafe;return(_0x1adafe=_0x1fda06[_0x39d909(0x375)])==null?void 0x0:_0x1adafe[_0x39d909(0x46f)];},'mergeParamsToRequest'(_0x1f601a,_0x487a7e){const _0x45fe08=_0x2f11f3;let _0x5bb3dd=_0x3202ec[_0x45fe08(0x2f8)]()+_0x45fe08(0x453),_0x30475b=_0x1f601a[_0x45fe08(0x3dd)]((_0x5d5610,_0x4f658)=>{const _0x302d5e=_0x45fe08;let {unitID:_0x55343e,objectID:_0x14891e,objectType:_0x2aba5a,actions:_0x334dda}=_0x4f658;return _0x5d5610[_0x55343e]||(_0x5d5610[_0x55343e]={}),_0x5d5610[_0x55343e][_0x14891e]||(_0x5d5610[_0x55343e][_0x14891e]={'objectID':_0x14891e,'objectType':_0x2aba5a,'actions':[]}),_0x5d5610[_0x55343e][_0x14891e][_0x302d5e(0x415)]['push'](..._0x334dda),_0x5d5610;},{}),_0x250c5a=[];for(let _0x589151 in _0x30475b)for(let _0x2728af in _0x30475b[_0x589151]){let {actions:_0x546e12,objectType:_0x20d434}=_0x30475b[_0x589151][_0x2728af],_0x1ae872=[...new Set(_0x546e12)];_0x250c5a[_0x45fe08(0x23f)]({'unitID':_0x589151,'objectID':_0x2728af,'objectType':_0x20d434,'actions':_0x1ae872});}return new _0x5f56f9['HTTPRequest'](_0x45fe08(0x4ed),_0x5bb3dd,{'headers':_0x487a7e[_0x45fe08(0x286)],'withCredentials':_0x487a7e[_0x45fe08(0x2b6)],'responseType':_0x487a7e[_0x45fe08(0x362)],'body':{'requests':_0x250c5a}});}},{'distributeResult'(_0x12c724,_0x552043){const _0x4bea25=_0x2f11f3;let {objectActions:_0x1427c7}=_0x12c724;return _0x552043[_0x4bea25(0x1e3)](_0x244230=>{const _0x20a9f9=_0x4bea25;let {unitID:_0x191c16,objectID:_0x3b5f36,actions:_0x5dba2a}=_0x244230,_0x257264=_0x1427c7[_0x20a9f9(0x27c)](_0x4fc38a=>_0x4fc38a[_0x20a9f9(0x37e)]===_0x191c16&&_0x4fc38a[_0x20a9f9(0x285)]===_0x3b5f36);return{'config':_0x244230,'result':{'actions':_0x5dba2a[_0x20a9f9(0x1e3)](_0x107040=>_0x257264==null?void 0x0:_0x257264['actions'][_0x20a9f9(0x27c)](_0x269e4b=>_0x269e4b[_0x20a9f9(0x2cd)]===_0x107040))['filter'](_0x29ec09=>!!_0x29ec09),'error':_0x12c724[_0x20a9f9(0x35f)]}};});}})}));}['_getAPIPrefixPath'](){const _0x34e6d1=_0x5bf0eb;var _0x4385ca;let _0x53a042=this[_0x34e6d1(0x266)]['getConfig'](_0x2a84dd);return(_0x4385ca=_0x53a042==null?void 0x0:_0x53a042[_0x34e6d1(0x269)])==null?_0x34e6d1(0x22f):_0x4385ca;}async[_0x5bf0eb(0x45a)](_0x1c484e){const _0xcf5b44=_0x5bf0eb;let _0x29311c=this[_0xcf5b44(0x2f8)]()+'/'+_0x1c484e[_0xcf5b44(0x373)]+_0xcf5b44(0x4cc);return(await this[_0xcf5b44(0x27e)][_0xcf5b44(0x462)](_0x29311c,{'body':_0x1c484e}))[_0xcf5b44(0x46f)]['objectID']||'';}async[_0x5bf0eb(0x24a)](_0x3f3b0a){const _0x2f0674=_0x5bf0eb;let _0x4ff350=this[_0x2f0674(0x2f8)]()+_0x2f0674(0x2aa);return(await this[_0x2f0674(0x27e)][_0x2f0674(0x462)](_0x4ff350,{'body':_0x3f3b0a}))[_0x2f0674(0x46f)][_0x2f0674(0x341)];}async[_0x5bf0eb(0x43f)](_0x5a600c){const _0x88ec4=_0x5bf0eb;var _0x2c1111;let _0x2b9c9d=this[_0x88ec4(0x2f8)]()+'/'+_0x5a600c[_0x88ec4(0x373)]+'/object/'+_0x5a600c[_0x88ec4(0x285)],_0x16cabc=await this['_HTTPService']['put'](_0x2b9c9d,{'body':_0x5a600c});if((_0x16cabc==null||(_0x2c1111=_0x16cabc[_0x88ec4(0x46f)])==null||(_0x2c1111=_0x2c1111[_0x88ec4(0x35f)])==null?void 0x0:_0x2c1111[_0x88ec4(0x4ff)])!==0x1)throw Error(_0x88ec4(0x2ff));}async[_0x5bf0eb(0x3a0)](_0x1d1719){const _0x24ede9=_0x5bf0eb;let _0x5e4139=this[_0x24ede9(0x2f8)]()+'/'+_0x1d1719['objectType']+'/object/'+_0x1d1719[_0x24ede9(0x285)]+_0x24ede9(0x2fc);return(await this[_0x24ede9(0x27e)][_0x24ede9(0x462)](_0x5e4139,{'body':_0x1d1719}))[_0x24ede9(0x46f)][_0x24ede9(0x415)];}async[_0x5bf0eb(0x305)](_0x32ca33){const _0x1c6a0c=_0x5bf0eb;let _0x1bc7ed=this[_0x1c6a0c(0x2f8)]()+'/-/object/-/batch_allowed';return(await this[_0x1c6a0c(0x27e)]['post'](_0x1bc7ed,{'body':{'requests':_0x32ca33}}))[_0x1c6a0c(0x46f)]['objectActions'];}async[_0x5bf0eb(0x4a5)](_0x2d0c3d){const _0x5834e5=_0x5bf0eb;let _0x31cd19=this[_0x5834e5(0x2f8)]()+'/'+_0x2d0c3d[_0x5834e5(0x373)]+_0x5834e5(0x3ab),_0x5b9053=await this[_0x5834e5(0x27e)][_0x5834e5(0x462)](_0x31cd19,{'body':_0x2d0c3d});return{'roles':_0x5b9053[_0x5834e5(0x46f)]['roles'],'actions':_0x5b9053[_0x5834e5(0x46f)]['actions']};}async[_0x5bf0eb(0x259)](_0x5ef25a){const _0x5a7d7e=_0x5bf0eb;let _0x5dc92a=this[_0x5a7d7e(0x2f8)]()+_0x5a7d7e(0x449);await this['_HTTPService'][_0x5a7d7e(0x4d5)](_0x5dc92a,{'params':{'collaboratorID':_0x5ef25a[_0x5a7d7e(0x251)],'objectID':_0x5ef25a[_0x5a7d7e(0x285)],'unitID':_0x5ef25a['unitID']}});}async['updateCollaborator'](_0x192fc6){const _0x3e1023=_0x5bf0eb;let _0x48894e=this['_getAPIPrefixPath']()+_0x3e1023(0x449);await this['_HTTPService']['patch'](_0x48894e,{'body':_0x192fc6});}async[_0x5bf0eb(0x234)](_0x5e3d6c){const _0xe7a1b5=_0x5bf0eb;let _0x44edc7=this['_getAPIPrefixPath']()+_0xe7a1b5(0x449);await this['_HTTPService'][_0xe7a1b5(0x462)](_0x44edc7,{'body':_0x5e3d6c});}async[_0x5bf0eb(0x458)](_0x14cb68){const _0x45baea=_0x5bf0eb;var _0x480abb;let _0x11e316=this[_0x45baea(0x2f8)]()+_0x45baea(0x449),_0x305d15=await this[_0x45baea(0x27e)]['get'](_0x11e316,{'params':{'objectID':_0x14cb68[_0x45baea(0x285)],'unitID':_0x14cb68[_0x45baea(0x37e)]}});return this[_0x45baea(0x283)]((_0x480abb=_0x305d15[_0x45baea(0x46f)][_0x45baea(0x376)])==null?!0x1:_0x480abb),_0x305d15[_0x45baea(0x46f)][_0x45baea(0x21e)];}async[_0x5bf0eb(0x33f)](_0x480db1){const _0x3950f7=_0x5bf0eb;let _0x413e92=this[_0x3950f7(0x2f8)]()+'/collaborator';await this[_0x3950f7(0x27e)]['put'](_0x413e92,{'body':_0x480db1});}[_0x5bf0eb(0x283)](_0x5f4f42){const _0x3f622f=_0x5bf0eb;this[_0x3f622f(0x2e7)]=_0x5f4f42;}[_0x5bf0eb(0x385)](){const _0x120e6c=_0x5bf0eb;return this[_0x120e6c(0x2e7)];}};_0x2d37b7=_0x4e6e0f([_0xe72533(0x0,(0x0,_0x2dbbd9['Inject'])(_0x5f56f9[_0x5bf0eb(0x207)])),_0xe72533(0x1,(0x0,_0x2dbbd9['Inject'])(_0x2dbbd9[_0x5bf0eb(0x488)]))],_0x2d37b7);function _0x42d178(_0x4eea16){const _0x47cc89=_0x5bf0eb;return _0x4eea16 instanceof Uint8Array||ArrayBuffer[_0x47cc89(0x3cd)](_0x4eea16)&&_0x4eea16['constructor'][_0x47cc89(0x2fd)]===_0x47cc89(0x1f9)&&'BYTES_PER_ELEMENT'in _0x4eea16&&_0x4eea16[_0x47cc89(0x32f)]===0x1;}function _0x8d084e(_0x2dbe31){const _0x2fd1aa=_0x5bf0eb;if(typeof _0x2dbe31!=_0x2fd1aa(0x1e1))throw TypeError(_0x2fd1aa(0x219)+typeof _0x2dbe31);if(!Number[_0x2fd1aa(0x49c)](_0x2dbe31)||_0x2dbe31<0x0)throw RangeError(_0x2fd1aa(0x2c4)+_0x2dbe31);}function _0x27a1c5(_0x25e678,_0xabc77e,_0x3739f1=''){const _0x3d9e48=_0x5bf0eb;let _0x37109b=_0x42d178(_0x25e678),_0x90f47f=_0x25e678==null?void 0x0:_0x25e678[_0x3d9e48(0x2e3)],_0x58c9a8=_0xabc77e!==void 0x0;if(!_0x37109b||_0x58c9a8&&_0x90f47f!==_0xabc77e){let _0x345243=_0x3739f1&&'\x22'+_0x3739f1+'\x22\x20',_0x5b0851=_0x58c9a8?'\x20of\x20length\x20'+_0xabc77e:'',_0x214178=_0x37109b?_0x3d9e48(0x42e)+_0x90f47f:'type='+typeof _0x25e678,_0x416bf5=_0x345243+_0x3d9e48(0x4d8)+_0x5b0851+_0x3d9e48(0x20f)+_0x214178;throw _0x37109b?RangeError(_0x416bf5):TypeError(_0x416bf5);}return _0x25e678;}function _0x497337(_0x45569d){const _0x1ddbb5=_0x5bf0eb;return new Uint32Array(_0x45569d[_0x1ddbb5(0x1e6)],_0x45569d[_0x1ddbb5(0x494)],Math['floor'](_0x45569d[_0x1ddbb5(0x22b)]/0x4));}function _0x5e2b71(..._0x49f2dd){const _0x549b08=_0x5bf0eb;for(let _0x54a586=0x0;_0x54a586<_0x49f2dd[_0x549b08(0x2e3)];_0x54a586++)_0x49f2dd[_0x54a586][_0x549b08(0x436)](0x0);}let _0x4efbb2=new Uint8Array(new Uint32Array([0x11223344])[_0x5bf0eb(0x1e6)])[0x0]===0x44,_0x338916=_0x1de267=>_0x1de267<<0x18&0xff000000|_0x1de267<<0x8&0xff0000|_0x1de267>>>0x8&0xff00|_0x1de267>>>0x18&0xff,_0x50c762=_0x4efbb2?_0x1928dc=>_0x1928dc:_0x3d5685=>{const _0x49a887=_0x5bf0eb;for(let _0x4f007d=0x0;_0x4f007d<_0x3d5685[_0x49a887(0x2e3)];_0x4f007d++)_0x3d5685[_0x4f007d]=_0x338916(_0x3d5685[_0x4f007d]);return _0x3d5685;};typeof Uint8Array['from']([])['toHex']==_0x5bf0eb(0x32c)&&Uint8Array['fromHex'];function _0x5e6931(_0x1c8cf2){const _0x23136c=_0x5bf0eb;if(typeof _0x1c8cf2!='string')throw TypeError('string\x20expected');return new Uint8Array(new TextEncoder()[_0x23136c(0x45c)](_0x1c8cf2));}function _0x5e258c(_0xe1e1b2,_0x5c8a27){const _0x5dcc45=_0x5bf0eb;return!_0xe1e1b2[_0x5dcc45(0x22b)]||!_0x5c8a27['byteLength']?!0x1:_0xe1e1b2[_0x5dcc45(0x1e6)]===_0x5c8a27[_0x5dcc45(0x1e6)]&&_0xe1e1b2['byteOffset']<_0x5c8a27[_0x5dcc45(0x494)]+_0x5c8a27[_0x5dcc45(0x22b)]&&_0x5c8a27[_0x5dcc45(0x494)]<_0xe1e1b2['byteOffset']+_0xe1e1b2[_0x5dcc45(0x22b)];}function _0x4de166(_0xac7c0f,_0x4db227){const _0x1d40f6=_0x5bf0eb;if(_0x5e258c(_0xac7c0f,_0x4db227)&&_0xac7c0f[_0x1d40f6(0x494)]<_0x4db227[_0x1d40f6(0x494)])throw Error('complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported');}function _0x4c7178(..._0x248547){const _0x1f8f0b=_0x5bf0eb;let _0x18beb9=0x0;for(let _0x38e03c=0x0;_0x38e03c<_0x248547[_0x1f8f0b(0x2e3)];_0x38e03c++){let _0x477710=_0x248547[_0x38e03c];_0x27a1c5(_0x477710),_0x18beb9+=_0x477710[_0x1f8f0b(0x2e3)];}let _0x3c3bb5=new Uint8Array(_0x18beb9);for(let _0x1aad09=0x0,_0x46fc10=0x0;_0x1aad09<_0x248547[_0x1f8f0b(0x2e3)];_0x1aad09++){let _0x3b9221=_0x248547[_0x1aad09];_0x3c3bb5['set'](_0x3b9221,_0x46fc10),_0x46fc10+=_0x3b9221[_0x1f8f0b(0x2e3)];}return _0x3c3bb5;}let _0x10cc83=(_0x3e3cb1,_0x26eafe)=>{const _0x2fcd4b=_0x5bf0eb;function _0x3eb5bc(_0x3cf004,..._0x5bdd50){const _0x58215a=_0x4f27;if(_0x27a1c5(_0x3cf004,void 0x0,'key'),_0x3e3cb1['nonceLength']!==void 0x0){let _0xf4040a=_0x5bdd50[0x0];_0x27a1c5(_0xf4040a,_0x3e3cb1[_0x58215a(0x2fa)]?void 0x0:_0x3e3cb1['nonceLength'],'nonce');}let _0x7be6f7=_0x3e3cb1[_0x58215a(0x211)];_0x7be6f7&&_0x5bdd50[0x1]!==void 0x0&&_0x27a1c5(_0x5bdd50[0x1],void 0x0,_0x58215a(0x3ee));let _0x1d15b5=_0x26eafe(_0x3cf004,..._0x5bdd50),_0x4c1aea=(_0x53735c,_0x424885)=>{const _0x4149ab=_0x58215a;if(_0x424885!==void 0x0){if(_0x53735c!==0x2)throw Error(_0x4149ab(0x34a));_0x27a1c5(_0x424885,void 0x0,_0x4149ab(0x407));}},_0x3b7b5c=!0x1;return{'encrypt'(_0x1550ea,_0x3949f3){const _0x3e70db=_0x58215a;if(_0x3b7b5c)throw Error(_0x3e70db(0x427));return _0x3b7b5c=!0x0,_0x27a1c5(_0x1550ea),_0x4c1aea(_0x1d15b5['encrypt'][_0x3e70db(0x2e3)],_0x3949f3),_0x1d15b5[_0x3e70db(0x432)](_0x1550ea,_0x3949f3);},'decrypt'(_0x58009b,_0x5a2929){const _0x58f075=_0x58215a;if(_0x27a1c5(_0x58009b),_0x7be6f7&&_0x58009b[_0x58f075(0x2e3)]<_0x7be6f7)throw Error(_0x58f075(0x367)+_0x7be6f7);return _0x4c1aea(_0x1d15b5[_0x58f075(0x224)][_0x58f075(0x2e3)],_0x5a2929),_0x1d15b5[_0x58f075(0x224)](_0x58009b,_0x5a2929);}};}return Object[_0x2fcd4b(0x383)](_0x3eb5bc,_0x3e3cb1),_0x3eb5bc;};function _0x300ba8(_0x251239,_0x5dd85f,_0x5c96d0=!0x0){const _0x3380c8=_0x5bf0eb;if(_0x5dd85f===void 0x0)return new Uint8Array(_0x251239);if(_0x27a1c5(_0x5dd85f,void 0x0,'output'),_0x5dd85f[_0x3380c8(0x2e3)]!==_0x251239)throw Error(_0x3380c8(0x455)+_0x251239+_0x3380c8(0x3cb)+_0x5dd85f[_0x3380c8(0x2e3)]);if(_0x5c96d0&&!_0x43cbb1(_0x5dd85f))throw Error(_0x3380c8(0x2be));return _0x5dd85f;}function _0x43cbb1(_0x4d67ea){const _0x2aecb8=_0x5bf0eb;return _0x4d67ea[_0x2aecb8(0x494)]%0x4==0x0;}function _0x3d8331(_0x25056a){const _0x4f1ca5=_0x5bf0eb;return Uint8Array[_0x4f1ca5(0x3ce)](_0x27a1c5(_0x25056a));}function _0x3e6665(_0x518364=0x20){const _0x2a9bb3=_0x5bf0eb;_0x8d084e(_0x518364);let _0xb750dd=typeof globalThis==_0x2a9bb3(0x4c1)?globalThis[_0x2a9bb3(0x3f3)]:null;if(typeof(_0xb750dd==null?void 0x0:_0xb750dd[_0x2a9bb3(0x439)])!=_0x2a9bb3(0x32c))throw Error(_0x2a9bb3(0x4a8));return _0xb750dd[_0x2a9bb3(0x439)](new Uint8Array(_0x518364));}function _0x492979(_0x2a7a4e){const _0x4c3e5a=_0x5bf0eb;if(![0x10,0x18,0x20][_0x4c3e5a(0x2c0)](_0x2a7a4e[_0x4c3e5a(0x2e3)]))throw Error(_0x4c3e5a(0x4fa)+_0x2a7a4e[_0x4c3e5a(0x2e3)]);}function _0x11e127(_0x59c304){return _0x59c304<<0x1^0x11b&-(_0x59c304>>0x7);}function _0x17debe(_0xa02041,_0xcbd798){let _0x399caf=0x0;for(;_0xcbd798>0x0;_0xcbd798>>=0x1)_0x399caf^=_0xa02041&-(_0xcbd798&0x1),_0xa02041=_0x11e127(_0xa02041);return _0x399caf;}let _0x5dfd0c=((()=>{let _0x4fd039=new Uint8Array(0x100);for(let _0x18af32=0x0,_0x463841=0x1;_0x18af32<0x100;_0x18af32++,_0x463841^=_0x11e127(_0x463841))_0x4fd039[_0x18af32]=_0x463841;let _0x169e74=new Uint8Array(0x100);_0x169e74[0x0]=0x63;for(let _0x1fe45c=0x0;_0x1fe45c<0xff;_0x1fe45c++){let _0x5d5641=_0x4fd039[0xff-_0x1fe45c];_0x5d5641|=_0x5d5641<<0x8,_0x169e74[_0x4fd039[_0x1fe45c]]=(_0x5d5641^_0x5d5641>>0x4^_0x5d5641>>0x5^_0x5d5641>>0x6^_0x5d5641>>0x7^0x63)&0xff;}return _0x5e2b71(_0x4fd039),_0x169e74;})()),_0x1e0375=_0x5dfd0c[_0x5bf0eb(0x1e3)]((_0x2d0a6f,_0x1accae)=>_0x5dfd0c[_0x5bf0eb(0x465)](_0x1accae)),_0x2c221c=_0xe40bd7=>_0xe40bd7<<0x18|_0xe40bd7>>>0x8,_0x21c13b=_0x242cc1=>_0x242cc1<<0x8|_0x242cc1>>>0x18;function _0x5d5d60(_0x5057c1,_0x42eef3){const _0x5360e8=_0x5bf0eb;if(_0x5057c1[_0x5360e8(0x2e3)]!==0x100)throw Error(_0x5360e8(0x4dc));let _0x41c356=new Uint32Array(0x100)[_0x5360e8(0x1e3)]((_0x3755ef,_0x5c998e)=>_0x42eef3(_0x5057c1[_0x5c998e])),_0x32adb6=_0x41c356[_0x5360e8(0x1e3)](_0x21c13b),_0x276a68=_0x32adb6['map'](_0x21c13b),_0x54485d=_0x276a68[_0x5360e8(0x1e3)](_0x21c13b),_0x2481d3=new Uint32Array(0x100*0x100),_0x35dedf=new Uint32Array(0x100*0x100),_0x2aada6=new Uint16Array(0x100*0x100);for(let _0x7d1ab0=0x0;_0x7d1ab0<0x100;_0x7d1ab0++)for(let _0x5c46be=0x0;_0x5c46be<0x100;_0x5c46be++){let _0x501514=_0x7d1ab0*0x100+_0x5c46be;_0x2481d3[_0x501514]=_0x41c356[_0x7d1ab0]^_0x32adb6[_0x5c46be],_0x35dedf[_0x501514]=_0x276a68[_0x7d1ab0]^_0x54485d[_0x5c46be],_0x2aada6[_0x501514]=_0x5057c1[_0x7d1ab0]<<0x8|_0x5057c1[_0x5c46be];}return{'sbox':_0x5057c1,'sbox2':_0x2aada6,'T0':_0x41c356,'T1':_0x32adb6,'T2':_0x276a68,'T3':_0x54485d,'T01':_0x2481d3,'T23':_0x35dedf};}let _0x1b6424=_0x5d5d60(_0x5dfd0c,_0x2b6543=>_0x17debe(_0x2b6543,0x3)<<0x18|_0x2b6543<<0x10|_0x2b6543<<0x8|_0x17debe(_0x2b6543,0x2)),_0x20b002=_0x5d5d60(_0x1e0375,_0x326bb8=>_0x17debe(_0x326bb8,0xb)<<0x18|_0x17debe(_0x326bb8,0xd)<<0x10|_0x17debe(_0x326bb8,0x9)<<0x8|_0x17debe(_0x326bb8,0xe)),_0x38733c=((()=>{let _0x2839dc=new Uint8Array(0x10);for(let _0x59a795=0x0,_0x5afe0b=0x1;_0x59a795<0x10;_0x59a795++,_0x5afe0b=_0x11e127(_0x5afe0b))_0x2839dc[_0x59a795]=_0x5afe0b;return _0x2839dc;})());function _0x5af3b6(_0x5b046f){const _0x134bf2=_0x5bf0eb;_0x27a1c5(_0x5b046f);let _0x1ae4d1=_0x5b046f[_0x134bf2(0x2e3)];_0x492979(_0x5b046f);let {sbox2:_0x2745b7}=_0x1b6424,_0x2f6f2d=[];(!_0x4efbb2||!_0x43cbb1(_0x5b046f))&&_0x2f6f2d['push'](_0x5b046f=_0x3d8331(_0x5b046f));let _0x501498=_0x50c762(_0x497337(_0x5b046f)),_0x659cc9=_0x501498['length'],_0x52e278=_0x21eed3=>_0x3bdcb6(_0x2745b7,_0x21eed3,_0x21eed3,_0x21eed3,_0x21eed3),_0xab6c0c=new Uint32Array(_0x1ae4d1+0x1c);_0xab6c0c[_0x134bf2(0x41a)](_0x501498);for(let _0x3235b4=_0x659cc9;_0x3235b4<_0xab6c0c[_0x134bf2(0x2e3)];_0x3235b4++){let _0x4fc768=_0xab6c0c[_0x3235b4-0x1];_0x3235b4%_0x659cc9===0x0?_0x4fc768=_0x52e278(_0x2c221c(_0x4fc768))^_0x38733c[_0x3235b4/_0x659cc9-0x1]:_0x659cc9>0x6&&_0x3235b4%_0x659cc9===0x4&&(_0x4fc768=_0x52e278(_0x4fc768)),_0xab6c0c[_0x3235b4]=_0xab6c0c[_0x3235b4-_0x659cc9]^_0x4fc768;}return _0x5e2b71(..._0x2f6f2d),_0xab6c0c;}function _0xa8970c(_0x58e1ba){const _0xb1ddea=_0x5bf0eb;let _0x1092ee=_0x5af3b6(_0x58e1ba),_0x32791e=_0x1092ee[_0xb1ddea(0x490)](),_0xf5e5a4=_0x1092ee['length'],{sbox2:_0x1a2e64}=_0x1b6424,{T0:_0x3522ec,T1:_0x51be7b,T2:_0xad33c0,T3:_0x1f3f6c}=_0x20b002;for(let _0x237aee=0x0;_0x237aee<_0xf5e5a4;_0x237aee+=0x4)for(let _0x104e9f=0x0;_0x104e9f<0x4;_0x104e9f++)_0x32791e[_0x237aee+_0x104e9f]=_0x1092ee[_0xf5e5a4-_0x237aee-0x4+_0x104e9f];_0x5e2b71(_0x1092ee);for(let _0x24c202=0x4;_0x24c202<_0xf5e5a4-0x4;_0x24c202++){let _0x50ded5=_0x32791e[_0x24c202],_0x515088=_0x3bdcb6(_0x1a2e64,_0x50ded5,_0x50ded5,_0x50ded5,_0x50ded5);_0x32791e[_0x24c202]=_0x3522ec[_0x515088&0xff]^_0x51be7b[_0x515088>>>0x8&0xff]^_0xad33c0[_0x515088>>>0x10&0xff]^_0x1f3f6c[_0x515088>>>0x18];}return _0x32791e;}function _0x34f09e(_0x41aed4,_0x23218c,_0x13ea72,_0x4cde3f,_0x388952,_0x72618f){return _0x41aed4[_0x13ea72<<0x8&0xff00|_0x4cde3f>>>0x8&0xff]^_0x23218c[_0x388952>>>0x8&0xff00|_0x72618f>>>0x18&0xff];}function _0x3bdcb6(_0x41dfb8,_0x3849ca,_0x9528da,_0x4222d0,_0x2eac73){return _0x41dfb8[_0x3849ca&0xff|_0x9528da&0xff00]|_0x41dfb8[_0x4222d0>>>0x10&0xff|_0x2eac73>>>0x10&0xff00]<<0x10;}function _0x391a28(_0x942d37,_0x1df626,_0x2bbfde,_0x364f35,_0x2739bd){const _0x15cb04=_0x5bf0eb;let {sbox2:_0x278ef1,T01:_0x1a87b9,T23:_0x1ac55c}=_0x1b6424,_0x1f6097=0x0;_0x1df626^=_0x942d37[_0x1f6097++],_0x2bbfde^=_0x942d37[_0x1f6097++],_0x364f35^=_0x942d37[_0x1f6097++],_0x2739bd^=_0x942d37[_0x1f6097++];let _0x48286c=_0x942d37[_0x15cb04(0x2e3)]/0x4-0x2;for(let _0xde7bc8=0x0;_0xde7bc8<_0x48286c;_0xde7bc8++){let _0x40aeb3=_0x942d37[_0x1f6097++]^_0x34f09e(_0x1a87b9,_0x1ac55c,_0x1df626,_0x2bbfde,_0x364f35,_0x2739bd),_0x38ed66=_0x942d37[_0x1f6097++]^_0x34f09e(_0x1a87b9,_0x1ac55c,_0x2bbfde,_0x364f35,_0x2739bd,_0x1df626),_0x40bf96=_0x942d37[_0x1f6097++]^_0x34f09e(_0x1a87b9,_0x1ac55c,_0x364f35,_0x2739bd,_0x1df626,_0x2bbfde),_0x5a82b6=_0x942d37[_0x1f6097++]^_0x34f09e(_0x1a87b9,_0x1ac55c,_0x2739bd,_0x1df626,_0x2bbfde,_0x364f35);_0x1df626=_0x40aeb3,_0x2bbfde=_0x38ed66,_0x364f35=_0x40bf96,_0x2739bd=_0x5a82b6;}return{'s0':_0x942d37[_0x1f6097++]^_0x3bdcb6(_0x278ef1,_0x1df626,_0x2bbfde,_0x364f35,_0x2739bd),'s1':_0x942d37[_0x1f6097++]^_0x3bdcb6(_0x278ef1,_0x2bbfde,_0x364f35,_0x2739bd,_0x1df626),'s2':_0x942d37[_0x1f6097++]^_0x3bdcb6(_0x278ef1,_0x364f35,_0x2739bd,_0x1df626,_0x2bbfde),'s3':_0x942d37[_0x1f6097++]^_0x3bdcb6(_0x278ef1,_0x2739bd,_0x1df626,_0x2bbfde,_0x364f35)};}function _0x18e28d(_0x108416,_0x45af60,_0x495711,_0xf29eb1,_0x2c5e10){const _0x25d4ed=_0x5bf0eb;let {sbox2:_0x3dacc7,T01:_0x164cef,T23:_0x155c11}=_0x20b002,_0x654305=0x0;_0x45af60^=_0x108416[_0x654305++],_0x495711^=_0x108416[_0x654305++],_0xf29eb1^=_0x108416[_0x654305++],_0x2c5e10^=_0x108416[_0x654305++];let _0xd3bccf=_0x108416[_0x25d4ed(0x2e3)]/0x4-0x2;for(let _0x2a2be3=0x0;_0x2a2be3<_0xd3bccf;_0x2a2be3++){let _0x3d19eb=_0x108416[_0x654305++]^_0x34f09e(_0x164cef,_0x155c11,_0x45af60,_0x2c5e10,_0xf29eb1,_0x495711),_0x286f50=_0x108416[_0x654305++]^_0x34f09e(_0x164cef,_0x155c11,_0x495711,_0x45af60,_0x2c5e10,_0xf29eb1),_0x21d35e=_0x108416[_0x654305++]^_0x34f09e(_0x164cef,_0x155c11,_0xf29eb1,_0x495711,_0x45af60,_0x2c5e10),_0x3967e9=_0x108416[_0x654305++]^_0x34f09e(_0x164cef,_0x155c11,_0x2c5e10,_0xf29eb1,_0x495711,_0x45af60);_0x45af60=_0x3d19eb,_0x495711=_0x286f50,_0xf29eb1=_0x21d35e,_0x2c5e10=_0x3967e9;}return{'s0':_0x108416[_0x654305++]^_0x3bdcb6(_0x3dacc7,_0x45af60,_0x2c5e10,_0xf29eb1,_0x495711),'s1':_0x108416[_0x654305++]^_0x3bdcb6(_0x3dacc7,_0x495711,_0x45af60,_0x2c5e10,_0xf29eb1),'s2':_0x108416[_0x654305++]^_0x3bdcb6(_0x3dacc7,_0xf29eb1,_0x495711,_0x45af60,_0x2c5e10),'s3':_0x108416[_0x654305++]^_0x3bdcb6(_0x3dacc7,_0x2c5e10,_0xf29eb1,_0x495711,_0x45af60)};}function _0x20ae11(_0x6a5e31){const _0xa75e0b=_0x5bf0eb;if(_0x27a1c5(_0x6a5e31),_0x6a5e31[_0xa75e0b(0x2e3)]%0x10!=0x0)throw Error(_0xa75e0b(0x3a6));}function _0x2fdcf5(_0x4fbf36,_0x5c9028,_0x21b17a){const _0x4bf532=_0x5bf0eb;_0x27a1c5(_0x4fbf36);let _0x52f125=_0x4fbf36['length'],_0x500dca=_0x52f125%0x10;if(!_0x5c9028&&_0x500dca!==0x0)throw Error(_0x4bf532(0x2d2));if(_0x5c9028){let _0xeb7bba=0x10-_0x500dca;_0xeb7bba||(_0xeb7bba=0x10),_0x52f125+=_0xeb7bba;}_0x21b17a=_0x300ba8(_0x52f125,_0x21b17a),_0x4de166(_0x4fbf36,_0x21b17a),(!_0x4efbb2||!_0x43cbb1(_0x4fbf36))&&(_0x4fbf36=_0x3d8331(_0x4fbf36));let _0x123ad7=_0x497337(_0x4fbf36);return _0x50c762(_0x123ad7),{'b':_0x123ad7,'o':_0x497337(_0x21b17a),'out':_0x21b17a};}function _0x21b6b9(_0x3f73b8,_0x2787cf){const _0x318888=_0x5bf0eb;if(!_0x2787cf)return _0x3f73b8;let _0x16f8dd=_0x3f73b8[_0x318888(0x2e3)];if(_0x16f8dd===0x0)throw Error(_0x318888(0x28f));let _0x262d9e=_0x3f73b8[_0x16f8dd-0x1],_0x328b69=0x1;_0x328b69&=_0x262d9e-0x1>>>0x1f^0x1,_0x328b69&=0x10-_0x262d9e>>>0x1f^0x1;for(let _0x54d1b7=0x0;_0x54d1b7<0x10;_0x54d1b7++){let _0x49af91=_0x54d1b7-_0x262d9e>>>0x1f,_0x2c259b=+((_0x3f73b8[_0x16f8dd-0x1-_0x54d1b7]^_0x262d9e)===0x0);_0x328b69&=_0x2c259b|_0x49af91^0x1;}if(!_0x328b69)throw Error(_0x318888(0x3e8));return _0x3f73b8[_0x318888(0x23d)](0x0,_0x16f8dd-_0x262d9e);}function _0x3b5ee3(_0x470ddb){const _0x360e41=_0x5bf0eb;let _0xa8a161=new Uint8Array(0x10),_0x409bec=_0x497337(_0xa8a161);_0xa8a161['set'](_0x470ddb);let _0x16a511=0x10-_0x470ddb[_0x360e41(0x2e3)];for(let _0x56fe56=0x10-_0x16a511;_0x56fe56<0x10;_0x56fe56++)_0xa8a161[_0x56fe56]=_0x16a511;return _0x409bec;}let _0x10ab97=_0x10cc83({'blockSize':0x10,'nonceLength':0x10},function(_0x26c28c,_0x291009,_0x433abe={}){const _0x3767a3=_0x5bf0eb;let _0x158da8=!_0x433abe[_0x3767a3(0x501)];return{'encrypt'(_0x2ecdb8,_0x38ff3c){const _0x41dc20=_0x3767a3;let _0x75e005=_0x5af3b6(_0x26c28c),{b:_0x1aa692,o:_0x2a86c3,out:_0x2f3262}=_0x2fdcf5(_0x2ecdb8,_0x158da8,_0x38ff3c),_0x42162d=_0x291009,_0x3ef87f=[_0x75e005];(!_0x4efbb2||!_0x43cbb1(_0x42162d))&&_0x3ef87f['push'](_0x42162d=_0x3d8331(_0x42162d));let _0x3e0a44=_0x497337(_0x42162d);_0x50c762(_0x3e0a44);let _0x1d8a6a=_0x3e0a44[0x0],_0x3cfa9a=_0x3e0a44[0x1],_0x2cd24b=_0x3e0a44[0x2],_0x1845cf=_0x3e0a44[0x3],_0x5ee7f9=0x0;for(;_0x5ee7f9+0x4<=_0x1aa692[_0x41dc20(0x2e3)];)_0x1d8a6a^=_0x1aa692[_0x5ee7f9+0x0],_0x3cfa9a^=_0x1aa692[_0x5ee7f9+0x1],_0x2cd24b^=_0x1aa692[_0x5ee7f9+0x2],_0x1845cf^=_0x1aa692[_0x5ee7f9+0x3],{s0:_0x1d8a6a,s1:_0x3cfa9a,s2:_0x2cd24b,s3:_0x1845cf}=_0x391a28(_0x75e005,_0x1d8a6a,_0x3cfa9a,_0x2cd24b,_0x1845cf),_0x2a86c3[_0x5ee7f9++]=_0x1d8a6a,_0x2a86c3[_0x5ee7f9++]=_0x3cfa9a,_0x2a86c3[_0x5ee7f9++]=_0x2cd24b,_0x2a86c3[_0x5ee7f9++]=_0x1845cf;if(_0x158da8){let _0xc8f874=_0x3b5ee3(_0x2ecdb8[_0x41dc20(0x23d)](_0x5ee7f9*0x4));_0x50c762(_0xc8f874),_0x1d8a6a^=_0xc8f874[0x0],_0x3cfa9a^=_0xc8f874[0x1],_0x2cd24b^=_0xc8f874[0x2],_0x1845cf^=_0xc8f874[0x3],{s0:_0x1d8a6a,s1:_0x3cfa9a,s2:_0x2cd24b,s3:_0x1845cf}=_0x391a28(_0x75e005,_0x1d8a6a,_0x3cfa9a,_0x2cd24b,_0x1845cf),_0x2a86c3[_0x5ee7f9++]=_0x1d8a6a,_0x2a86c3[_0x5ee7f9++]=_0x3cfa9a,_0x2a86c3[_0x5ee7f9++]=_0x2cd24b,_0x2a86c3[_0x5ee7f9++]=_0x1845cf;}return _0x50c762(_0x2a86c3),_0x5e2b71(..._0x3ef87f),_0x2f3262;},'decrypt'(_0x305103,_0x42162e){const _0xfb2bcf=_0x3767a3;_0x20ae11(_0x305103);let _0xb02082=_0xa8970c(_0x26c28c),_0x71a036=_0x291009,_0x233f51=[_0xb02082];(!_0x4efbb2||!_0x43cbb1(_0x71a036))&&_0x233f51['push'](_0x71a036=_0x3d8331(_0x71a036));let _0x84a854=_0x497337(_0x71a036);_0x50c762(_0x84a854),_0x42162e=_0x300ba8(_0x305103['length'],_0x42162e),_0x4de166(_0x305103,_0x42162e),(!_0x4efbb2||!_0x43cbb1(_0x305103))&&_0x233f51[_0xfb2bcf(0x23f)](_0x305103=_0x3d8331(_0x305103));let _0x5a41d2=_0x497337(_0x305103),_0x28b179=_0x497337(_0x42162e);_0x50c762(_0x5a41d2);let _0x169af7=_0x84a854[0x0],_0x1d4fa4=_0x84a854[0x1],_0x2b6836=_0x84a854[0x2],_0x1b828c=_0x84a854[0x3];for(let _0xc31726=0x0;_0xc31726+0x4<=_0x5a41d2[_0xfb2bcf(0x2e3)];){let _0x2dcc75=_0x169af7,_0x3f8f9b=_0x1d4fa4,_0x5cbf73=_0x2b6836,_0x13b9b8=_0x1b828c;_0x169af7=_0x5a41d2[_0xc31726+0x0],_0x1d4fa4=_0x5a41d2[_0xc31726+0x1],_0x2b6836=_0x5a41d2[_0xc31726+0x2],_0x1b828c=_0x5a41d2[_0xc31726+0x3];let {s0:_0x4a96fb,s1:_0x2f43ca,s2:_0x4e1116,s3:_0x5be020}=_0x18e28d(_0xb02082,_0x169af7,_0x1d4fa4,_0x2b6836,_0x1b828c);_0x28b179[_0xc31726++]=_0x4a96fb^_0x2dcc75,_0x28b179[_0xc31726++]=_0x2f43ca^_0x3f8f9b,_0x28b179[_0xc31726++]=_0x4e1116^_0x5cbf73,_0x28b179[_0xc31726++]=_0x5be020^_0x13b9b8;}return _0x50c762(_0x28b179),_0x5e2b71(..._0x233f51),_0x21b6b9(_0x42162e,_0x158da8);}};});function _0x5c7f23(_0xc9d79){const _0x491a96=_0x5bf0eb;let _0x38c91c=atob(_0xc9d79),_0x5c62b2=new Uint8Array(_0x38c91c[_0x491a96(0x2e3)]);for(let _0x4cdf46=0x0;_0x4cdf46<_0x38c91c[_0x491a96(0x2e3)];_0x4cdf46++)_0x5c62b2[_0x4cdf46]=_0x38c91c['charCodeAt'](_0x4cdf46);return _0x5c62b2;}function _0x29b1cd(_0xcba37d){const _0x594f67=_0x5bf0eb;let _0x49db1f='';for(let _0x2763fe=0x0;_0x2763fe<_0xcba37d[_0x594f67(0x2e3)];_0x2763fe++)_0x49db1f+=String[_0x594f67(0x25b)](_0xcba37d[_0x2763fe]);return btoa(_0x49db1f);}function _0x532e8c(_0x429d92,_0x2d7398){const _0x197022=_0x5bf0eb;let _0x3954e5=_0x5c7f23(_0x2d7398),_0x2ed672=_0x3e6665(0x10);return _0x29b1cd(_0x4c7178(_0x2ed672,_0x10ab97(_0x3954e5,_0x2ed672)[_0x197022(0x432)](_0x5e6931(_0x429d92))));}function _0x529779(){const _0x3d91c4=_0x5bf0eb;let _0x33cf84=(0x0,_0x3b77ee[_0x3d91c4(0x38f)])()[_0x3d91c4(0x2ee)];if(typeof window<'u'&&window[_0x3d91c4(0x39d)]!==void 0x0&&_0x33cf84){let _0x2c620d={'time':Math[_0x3d91c4(0x451)](Date[_0x3d91c4(0x4a9)]()/0x3e8),'domain':location[_0x3d91c4(0x1ec)]};return _0x532e8c(JSON[_0x3d91c4(0x337)](_0x2c620d),_0x33cf84);}}let _0x41e2cb=class{constructor(_0xc28caf){this['_httpService']=_0xc28caf,this['_initRequestHeader']();}['_initRequestHeader'](){const _0x15f0b0=_0x5bf0eb;this[_0x15f0b0(0x21f)][_0x15f0b0(0x41b)]({'interceptor':(_0x477ce3,_0x3a6137)=>{const _0x37ad5f=_0x15f0b0;let _0x5f1434=_0x529779();return _0x5f1434&&_0x477ce3['headers'][_0x37ad5f(0x41a)](_0x37ad5f(0x1ef),_0x5f1434),_0x3a6137(_0x477ce3);}});}};_0x41e2cb=_0x4e6e0f([_0xe72533(0x0,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x5f56f9[_0x5bf0eb(0x207)]))],_0x41e2cb);let _0x48b093=class extends _0x2dbbd9[_0x5bf0eb(0x2ed)]{constructor(_0x23f6a1,_0x1ad2a3,_0x119bac){const _0x4d05cb=_0x5bf0eb;super(),this[_0x4d05cb(0x236)]=_0x23f6a1,this[_0x4d05cb(0x23b)]=_0x1ad2a3,this['_localCacheService']=_0x119bac,_0x527b5d(this,_0x4d05cb(0x222),new _0x4f3716[(_0x4d05cb(0x391))](null)),_0x527b5d(this,_0x4d05cb(0x4ab),this[_0x4d05cb(0x222)]['asObservable']());}async[_0x5bf0eb(0x4b2)](_0x43a59a,_0x5b8815,_0x36e208){const _0x56822e=_0x5bf0eb;this['_unitInfo$']['next']({'unitId':_0x43a59a,'type':_0x5b8815});let _0x2f09cd=null;switch(_0x5b8815){case _0x2dbbd9['UniverInstanceType'][_0x56822e(0x20a)]:_0x2f09cd=await this[_0x56822e(0x23b)][_0x56822e(0x42d)](_0x43a59a,_0x36e208);break;case _0x2dbbd9[_0x56822e(0x442)][_0x56822e(0x477)]:_0x2f09cd=await this[_0x56822e(0x23b)][_0x56822e(0x24b)](_0x43a59a,_0x36e208);break;default:this[_0x56822e(0x236)]['error'](_0x56822e(0x24d),_0x56822e(0x37d));break;}return _0x2f09cd;}async[_0x5bf0eb(0x205)](_0xada565,_0x3d4a9f,_0x4ce3fd){const _0x23e2dc=_0x5bf0eb;var _0xa43fbd;this['_unitInfo$'][_0x23e2dc(0x274)]({'unitId':_0xada565,'type':_0x3d4a9f,'subUnitId':_0x4ce3fd});let _0x5b88ae=0x0,_0x26d217=await((_0xa43fbd=this[_0x23e2dc(0x33c)])==null?void 0x0:_0xa43fbd['loadOfflineData'](_0xada565));return _0x26d217&&(_0x26d217['awaitingChangeset']||_0x26d217[_0x23e2dc(0x277)][_0x23e2dc(0x2e3)]!==0x0)&&(_0x5b88ae=_0x26d217[_0x23e2dc(0x444)]),_0x5b88ae===0x0&&this[_0x23e2dc(0x236)][_0x23e2dc(0x265)](_0x23e2dc(0x24d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0xada565,_0x3d4a9f,_0x5b88ae);}};_0x48b093=_0x4e6e0f([_0xe72533(0x0,_0x2dbbd9['ILogService']),_0xe72533(0x1,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2b53f2['SnapshotService'])),_0xe72533(0x2,(0x0,_0x2dbbd9[_0x5bf0eb(0x2df)])(_0x36e220))],_0x48b093);let _0x68b0f9=class{constructor(_0x2fa423,_0x28f458,_0x3962e3){const _0x3a653e=_0x5bf0eb;this[_0x3a653e(0x21f)]=_0x2fa423,this[_0x3a653e(0x266)]=_0x28f458,this[_0x3a653e(0x389)]=_0x3962e3,_0x527b5d(this,_0x3a653e(0x361),0x0),_0x527b5d(this,'_change$',new _0x4f3716['Subject']()),_0x527b5d(this,_0x3a653e(0x499),this['_change$']),_0x527b5d(this,_0x3a653e(0x264),new Map());}[_0x5bf0eb(0x395)](_0x4fc2e5){const _0x1ade7d=_0x5bf0eb;this[_0x1ade7d(0x361)]=_0x4fc2e5,this[_0x1ade7d(0x35b)][_0x1ade7d(0x274)](_0x4fc2e5);}['getImageSourceCache'](_0x3772bf,_0x1d8f52){const _0x1a70e3=_0x5bf0eb;if(_0x1d8f52===_0x4e927a[_0x1a70e3(0x470)][_0x1a70e3(0x357)]){let _0x4477d2=new Image();return _0x4477d2[_0x1a70e3(0x3d3)]=_0x3772bf,_0x4477d2;}return this['_imageSourceCache'][_0x1a70e3(0x42f)](_0x3772bf);}[_0x5bf0eb(0x479)](_0x344fb8,_0x1a8746,_0x3c9be5){const _0xb4d730=_0x5bf0eb;_0x1a8746===_0x4e927a[_0xb4d730(0x470)]['BASE64']||_0x3c9be5==null||this[_0xb4d730(0x264)][_0xb4d730(0x41a)](_0x344fb8,_0x3c9be5);}async[_0x5bf0eb(0x445)](_0x52d242){const _0x499d19=_0x5bf0eb;try{let _0x983a7=this[_0x499d19(0x1f3)](this['_getSignURL'](),''+_0x52d242),_0x1c321b=(await this[_0x499d19(0x21f)][_0x499d19(0x42f)](_0x983a7))[_0x499d19(0x46f)];if(_0x1c321b[_0x499d19(0x35f)]&&_0x1c321b['error'][_0x499d19(0x4ff)]===_0x240cfb[_0x499d19(0x419)]['OK']){let _0x37a962=(0x0,_0x2dbbd9[_0x499d19(0x3ad)])(_0x1c321b[_0x499d19(0x2f6)],this[_0x499d19(0x355)]());return Promise[_0x499d19(0x40f)](_0x37a962);}return Promise[_0x499d19(0x3a3)](_0x1c321b[_0x499d19(0x35f)]);}catch(_0x2ff598){return Promise[_0x499d19(0x3a3)](_0x2ff598);}}async[_0x5bf0eb(0x349)](_0x2e96ea){const _0x11c413=_0x5bf0eb;let _0x2bfa75='';if(!_0x4e927a['DRAWING_IMAGE_ALLOW_IMAGE_LIST'][_0x11c413(0x2c0)](_0x2e96ea[_0x11c413(0x3f8)]))return this[_0x11c413(0x334)](),Promise[_0x11c413(0x3a3)](Error(_0x4e927a['ImageUploadStatusType'][_0x11c413(0x3af)]));if(_0x2e96ea[_0x11c413(0x2a7)]>(0x0,_0x4e927a[_0x11c413(0x2d7)])())return this['_decreaseWaiting'](),Promise[_0x11c413(0x3a3)](Error(_0x4e927a[_0x11c413(0x240)][_0x11c413(0x387)]));try{let _0x3032cf=new FormData();_0x3032cf[_0x11c413(0x3e2)]('file',_0x2e96ea);let _0x5bf55b=this[_0x11c413(0x389)][_0x11c413(0x350)](),_0x5ba5f1=_0x5bf55b==null?void 0x0:_0x5bf55b[_0x11c413(0x3a7)]();if(!_0x5ba5f1)throw Error('unitId\x20is\x20not\x20found');let _0x168dec=this[_0x11c413(0x3be)]()+_0x11c413(0x2b5)+_0x2e96ea['size'][_0x11c413(0x49a)]()+_0x11c413(0x26d)+_0x240cfb[_0x11c413(0x324)][_0x11c413(0x217)]+_0x11c413(0x3ac)+encodeURIComponent(_0x5ba5f1),_0x2d4f5c={'body':_0x3032cf},_0x297452=(await this[_0x11c413(0x21f)]['post'](_0x168dec,_0x2d4f5c))[_0x11c413(0x46f)];if(typeof _0x297452['FileId']!=_0x11c413(0x502))return this['_decreaseWaiting'](),Promise[_0x11c413(0x3a3)](Error(_0x4e927a[_0x11c413(0x240)][_0x11c413(0x4ef)]));_0x2bfa75=_0x297452['FileId'];}catch{return this[_0x11c413(0x334)](),Promise[_0x11c413(0x3a3)](Error(_0x4e927a['ImageUploadStatusType'][_0x11c413(0x4ef)]));}return new Promise((_0x5e6029,_0x18c880)=>{const _0x3df140=_0x11c413;let _0x5ea21c=new FileReader();_0x5ea21c[_0x3df140(0x428)](_0x2e96ea),_0x5ea21c[_0x3df140(0x438)]=_0x27d947=>{const _0x484cb5=_0x3df140;var _0x31a47b;let _0x2652cb=(_0x31a47b=_0x27d947['target'])==null?void 0x0:_0x31a47b[_0x484cb5(0x4b6)];if(_0x2652cb==null){this[_0x484cb5(0x334)](),_0x18c880(Error(_0x4e927a['ImageUploadStatusType'][_0x484cb5(0x4ef)]));return;}_0x5e6029({'imageId':(0x0,_0x2dbbd9[_0x484cb5(0x40d)])(0x6),'imageSourceType':_0x4e927a[_0x484cb5(0x470)][_0x484cb5(0x296)],'source':_0x2bfa75,'base64Cache':_0x2652cb,'status':_0x4e927a[_0x484cb5(0x240)][_0x484cb5(0x2e0)]}),this[_0x484cb5(0x334)]();};});}['_getUploadFileURL'](){const _0x3ac542=_0x5bf0eb;var _0x19630b;let _0x5dce10=this[_0x3ac542(0x266)][_0x3ac542(0x46c)](_0x2a84dd);return(_0x19630b=_0x5dce10==null?void 0x0:_0x5dce10['uploadFileServerUrl'])==null?_0x3ac542(0x323):_0x19630b;}['_getSignURL'](){const _0x58664c=_0x5bf0eb;var _0x239249;let _0x577fc1=this[_0x58664c(0x266)][_0x58664c(0x46c)](_0x2a84dd);return(_0x239249=_0x577fc1==null?void 0x0:_0x577fc1[_0x58664c(0x3f9)])==null?'/universer-api/file/{fileID}/sign-url':_0x239249;}[_0x5bf0eb(0x355)](){const _0x44823a=_0x5bf0eb;var _0x4db432;let _0x22b9af=this[_0x44823a(0x266)][_0x44823a(0x46c)](_0x2a84dd);return(_0x4db432=_0x22b9af==null?void 0x0:_0x22b9af[_0x44823a(0x4ce)])==null?location[_0x44823a(0x433)]:_0x4db432;}[_0x5bf0eb(0x1f3)](_0x3fe38f,_0x260162){const _0x3fbadf=_0x5bf0eb;return _0x3fe38f[_0x3fbadf(0x397)](_0x3fbadf(0x4a7),_0x260162);}['_decreaseWaiting'](){const _0x43afc7=_0x5bf0eb;--this[_0x43afc7(0x361)],this[_0x43afc7(0x35b)][_0x43afc7(0x274)](this[_0x43afc7(0x361)]);}};_0x68b0f9=_0x4e6e0f([_0xe72533(0x0,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x5f56f9[_0x5bf0eb(0x207)])),_0xe72533(0x1,_0x2dbbd9[_0x5bf0eb(0x488)]),_0xe72533(0x2,(0x0,_0x2dbbd9['Inject'])(_0x2dbbd9[_0x5bf0eb(0x4d0)]))],_0x68b0f9);let _0x521f8d=class{constructor(_0xd3cd02,_0x300de8){const _0x4adb4c=_0x5bf0eb;this[_0x4adb4c(0x266)]=_0xd3cd02,this['_HTTPService']=_0x300de8;}[_0x5bf0eb(0x2f8)](){const _0xecaa76=_0x5bf0eb;var _0x26ef26;let _0x3d6f63=this['_configService'][_0xecaa76(0x46c)](_0x2a84dd);return(_0x26ef26=_0x3d6f63==null?void 0x0:_0x3d6f63[_0xecaa76(0x269)])==null?_0xecaa76(0x22f):_0x26ef26;}async[_0x5bf0eb(0x24a)](_0x49ca4f){const _0x607590=_0x5bf0eb;let _0x31ac03=this['_getAPIPrefixPath']()+_0x607590(0x449);return{'list':[{'title':_0x607590(0x4b4),'mentions':(await this[_0x607590(0x27e)][_0x607590(0x42f)](_0x31ac03,{'params':{'objectID':_0x49ca4f[_0x607590(0x281)],'unitID':_0x49ca4f[_0x607590(0x281)]}}))[_0x607590(0x46f)][_0x607590(0x21e)][_0x607590(0x1e3)](_0x55becd=>({'objectId':_0x55becd['id'],'name':_0x55becd['subject']['name'],'metadata':{'icon':_0x55becd[_0x607590(0x2bc)][_0x607590(0x41f)]},'label':_0x55becd['subject'][_0x607590(0x2fd)],'objectType':_0x2dbbd9[_0x607590(0x353)][_0x607590(0x27f)]})),'metadata':{},'type':_0x2dbbd9[_0x607590(0x353)][_0x607590(0x27f)]}]};}};_0x521f8d=_0x4e6e0f([_0xe72533(0x0,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9[_0x5bf0eb(0x488)])),_0xe72533(0x1,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x5f56f9[_0x5bf0eb(0x207)]))],_0x521f8d);let _0x4f64c9=class extends _0x2dbbd9['RxDisposable']{constructor(_0x2e32dc,_0x5d746a,_0x16cb86,_0x42566a,_0x1803a5){const _0x17f1ad=_0x5bf0eb;super(),this['_injector']=_0x2e32dc,this[_0x17f1ad(0x389)]=_0x5d746a,this['_permissionService']=_0x16cb86,this[_0x17f1ad(0x3ec)]=_0x42566a,this['_collaborationUIEventService']=_0x1803a5,this[_0x17f1ad(0x3a8)](),this[_0x17f1ad(0x4f1)]();}[_0x5bf0eb(0x4f1)](){const _0xae562a=_0x5bf0eb;let _0x21a548=async _0x52f4ab=>{const _0x4b0b28=_0x4f27;(await this['_collaborationSessionService']['requireSession'](_0x52f4ab))[_0x4b0b28(0x3b7)][_0x4b0b28(0x4be)]((0x0,_0x2ab3d8['filter'])(_0x26d18a=>_0x26d18a[_0x4b0b28(0x4d9)]===_0x2b53f2['CollaborationEvent'][_0x4b0b28(0x368)]),(0x0,_0x2ab3d8['takeUntil'])(this[_0x4b0b28(0x3ea)]))['subscribe'](_0x1ad40a=>{const _0x5244f6=_0x4b0b28;let {reason:_0x2c8dfa}=_0x1ad40a[_0x5244f6(0x43a)];this['_collaborationUIEventService'][_0x5244f6(0x216)]({'id':_0x5244f6(0x484),'data':_0x2c8dfa}),this[_0x5244f6(0x461)][_0x5244f6(0x4d6)](new _0x184bfa[(_0x5244f6(0x3b1))](_0x52f4ab)['id'],!0x1),this[_0x5244f6(0x3ec)][_0x5244f6(0x25c)](_0x52f4ab);});};(0x0,_0x4f3716['merge'])(this[_0xae562a(0x389)]['getTypeOfUnitAdded$'](_0x2dbbd9[_0xae562a(0x442)][_0xae562a(0x20a)]),this[_0xae562a(0x389)][_0xae562a(0x220)](_0x2dbbd9[_0xae562a(0x442)]['UNIVER_DOC']))[_0xae562a(0x4be)]((0x0,_0x2ab3d8[_0xae562a(0x1e3)])(_0x2177f1=>_0x2177f1[_0xae562a(0x400)][_0xae562a(0x3a7)]()),(0x0,_0x2ab3d8[_0xae562a(0x422)])(_0x3edb10=>!(0x0,_0x2dbbd9[_0xae562a(0x228)])(_0x3edb10)),(0x0,_0x2ab3d8[_0xae562a(0x4fc)])(this[_0xae562a(0x3ea)]))[_0xae562a(0x31f)](_0x48b02f=>{_0x21a548(_0x48b02f);});}['_initUnitPermissionChange'](){const _0x251801=_0x5bf0eb;let _0x4010b2=async _0xf0e73e=>{const _0x28a200=_0x4f27;let _0x398b08=await this['_collaborationSessionService'][_0x28a200(0x3b8)](_0xf0e73e),_0x1eeb56=this[_0x28a200(0x2d5)][_0x28a200(0x42f)](_0x184bfa[_0x28a200(0x30f)]);_0x398b08[_0x28a200(0x3b7)][_0x28a200(0x4be)]((0x0,_0x2ab3d8['filter'])(_0x179e27=>_0x179e27['eventID']===_0x2b53f2[_0x28a200(0x406)][_0x28a200(0x246)]),(0x0,_0x2ab3d8[_0x28a200(0x4fc)])(this['dispose$']))[_0x28a200(0x31f)](_0x40d866=>{const _0x3243ee=_0x28a200;let {objectId:_0x3c7704}=_0x40d866[_0x3243ee(0x43a)];_0x3c7704===_0xf0e73e?_0x1eeb56[_0x3243ee(0x35e)](_0xf0e73e):_0x1eeb56[_0x3243ee(0x4e1)](_0xf0e73e,_0x3c7704);});};(0x0,_0x4f3716[_0x251801(0x42a)])(this[_0x251801(0x389)][_0x251801(0x220)](_0x2dbbd9[_0x251801(0x442)]['UNIVER_SHEET']))['pipe']((0x0,_0x2ab3d8[_0x251801(0x1e3)])(_0x5001c0=>_0x5001c0[_0x251801(0x400)][_0x251801(0x3a7)]()),(0x0,_0x2ab3d8[_0x251801(0x422)])(_0x265575=>!(0x0,_0x2dbbd9[_0x251801(0x228)])(_0x265575)),(0x0,_0x2ab3d8['takeUntil'])(this[_0x251801(0x3ea)]))['subscribe'](_0x19bc90=>{_0x4010b2(_0x19bc90);});}};_0x4f64c9=_0x4e6e0f([_0xe72533(0x0,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9['Injector'])),_0xe72533(0x1,_0x2dbbd9['IUniverInstanceService']),_0xe72533(0x2,_0x2dbbd9[_0x5bf0eb(0x338)]),_0xe72533(0x3,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x1d8d49)),_0xe72533(0x4,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x10b08d))],_0x4f64c9);let _0x13e673=class{constructor(_0x534959,_0x4fe0e3){const _0x319c95=_0x5bf0eb;this[_0x319c95(0x266)]=_0x534959,this[_0x319c95(0x21f)]=_0x4fe0e3;}async[_0x5bf0eb(0x4b1)](_0x5d1761,_0x43ec15){const _0x2d5a33=_0x5bf0eb;var _0x3a4fa3;let {unitID:_0x4a73b5,type:_0x110e48,revision:_0x5236df=0x0}=_0x43ec15,_0x4e4e99=this['getSnapshotAPIPath']()+'/'+_0x110e48+_0x2d5a33(0x30c)+_0x4a73b5+'/rev/'+_0x5236df,_0x35489e=(await this[_0x2d5a33(0x21f)][_0x2d5a33(0x42f)](_0x4e4e99))['body'],_0x1dc388=(_0x3a4fa3=_0x35489e[_0x2d5a33(0x3e0)])==null?void 0x0:_0x3a4fa3[_0x2d5a33(0x4f2)];if(_0x1dc388){let _0x39dc7e=_0x1dc388==null?void 0x0:_0x1dc388[_0x2d5a33(0x40a)];_0x1dc388['originalMeta']=_0x2b53f2[_0x2d5a33(0x290)][_0x2d5a33(0x45c)]((0x0,_0x2b53f2[_0x2d5a33(0x4de)])(_0x39dc7e)),Object[_0x2d5a33(0x23a)](_0x1dc388['sheets'])[_0x2d5a33(0x312)](([,_0x26e01a])=>{const _0x2fd64f=_0x2d5a33;let _0x186b8c=_0x26e01a[_0x2fd64f(0x40a)];_0x26e01a[_0x2fd64f(0x40a)]=_0x2b53f2['textEncoder'][_0x2fd64f(0x45c)]((0x0,_0x2b53f2[_0x2fd64f(0x4de)])(_0x186b8c));});}return _0x35489e;}async['getSheetBlock'](_0x1a1b92,_0x3d4329){const _0x4852ad=_0x5bf0eb;let {unitID:_0xf5c150,type:_0x1f4ff4,blockID:_0x2cdf8c}=_0x3d4329,_0x59b445=this[_0x4852ad(0x4ac)]()+'/'+_0x1f4ff4+_0x4852ad(0x30c)+_0xf5c150+_0x4852ad(0x2c1)+_0x2cdf8c;return(await this[_0x4852ad(0x21f)]['get'](_0x59b445))[_0x4852ad(0x46f)];}async[_0x5bf0eb(0x4c2)](_0xc27a38,_0x3df773){const _0x429d57=_0x5bf0eb;let {unitID:_0x3f6871,type:_0xc2d317,blockID:_0x5e2513}=_0x3df773,_0x1fc19b=this[_0x429d57(0x4ac)]()+_0x429d57(0x2c1)+_0xc2d317+_0x429d57(0x30c)+_0x3f6871+_0x429d57(0x2c1)+_0x5e2513;return(await this['_httpService']['get'](_0x1fc19b))[_0x429d57(0x46f)];}async[_0x5bf0eb(0x4b7)](_0x2b88f0,_0xaf3cfe){const _0x321dbe=_0x5bf0eb;let {unitID:_0x3708b9,type:_0x5a0a3b,from:_0x1e9e24,to:_0x5a272c}=_0xaf3cfe,_0x63f5f1=this[_0x321dbe(0x4ac)]()+'/'+_0x5a0a3b+'/unit/'+_0x3708b9+_0x321dbe(0x24c)+_0x1e9e24+_0x321dbe(0x329)+_0x5a272c;return(await this['_httpService'][_0x321dbe(0x42f)](_0x63f5f1))[_0x321dbe(0x46f)];}[_0x5bf0eb(0x29e)](){const _0xeb05=_0x5bf0eb;var _0x1919ec;return(_0x1919ec=this[_0xeb05(0x266)][_0xeb05(0x46c)](_0xeb05(0x3cf)))==null?this[_0xeb05(0x4ac)]():_0x1919ec;}['_getAPIPrefix'](){const _0x596efc=_0x5bf0eb;var _0x25743c;let _0x14f0b3=this[_0x596efc(0x266)][_0x596efc(0x46c)](_0x2a84dd);return(_0x25743c=_0x14f0b3==null?void 0x0:_0x14f0b3[_0x596efc(0x489)])==null?_0x596efc(0x1e2):_0x25743c;}async['getResourcesRequest'](_0xd33948,_0x147181){const _0x89663=_0x5bf0eb;let _0x5c8601=_0x89663(0x1ed)+_0x147181['type']+'/unit/'+_0x147181[_0x89663(0x37e)]+_0x89663(0x2b7);return(await this['_httpService'][_0x89663(0x42f)](_0x5c8601,{'params':{'resourceId':JSON[_0x89663(0x337)](_0x147181[_0x89663(0x299)])}}))[_0x89663(0x46f)];}[_0x5bf0eb(0x435)](){const _0x3aa95b=_0x5bf0eb;throw Error(_0x3aa95b(0x446));}[_0x5bf0eb(0x2eb)](){const _0xa96c6c=_0x5bf0eb;throw Error(_0xa96c6c(0x446));}[_0x5bf0eb(0x230)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bf0eb(0x42c)](){const _0x3135f3=_0x5bf0eb;throw Error(_0x3135f3(0x446));}[_0x5bf0eb(0x380)](){const _0x15defa=_0x5bf0eb;throw Error(_0x15defa(0x446));}[_0x5bf0eb(0x2f4)](){const _0xf2bc79=_0x5bf0eb;throw Error(_0xf2bc79(0x446));}};_0x13e673=_0x4e6e0f([_0xe72533(0x0,_0x2dbbd9['IConfigService']),_0xe72533(0x1,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x5f56f9[_0x5bf0eb(0x207)]))],_0x13e673);let _0x29d13a=class extends _0x2dbbd9['LocalUndoRedoService']{constructor(_0x2d2a08,_0xa5c0f5,_0x20c9f1,_0x144a34,_0x1e4085){const _0x25ba5b=_0x5bf0eb;super(_0x2d2a08,_0xa5c0f5,_0x20c9f1),this[_0x25ba5b(0x409)]=_0x144a34,this[_0x25ba5b(0x236)]=_0x1e4085;}[_0x5bf0eb(0x44b)](_0xf55f86,_0x165bdf){const _0x495001=_0x5bf0eb;let _0x2d05ad=this[_0x495001(0x221)](_0xf55f86);if(_0x2d05ad)try{let _0xc21630=this[_0x495001(0x255)](_0x2d05ad,_0x165bdf);this['_substituteUndoStack'](_0xf55f86,_0xc21630);}catch(_0x28c1de){this[_0x495001(0x236)]['error'](_0x495001(0x32e),_0x28c1de),this[_0x495001(0x345)](_0xf55f86);}let _0x5a984b=this[_0x495001(0x28b)](_0xf55f86);if(_0x5a984b)try{let _0x3ea45f=this[_0x495001(0x255)](_0x5a984b,_0x165bdf);this[_0x495001(0x2e1)](_0xf55f86,_0x3ea45f);}catch(_0x2c8e14){this[_0x495001(0x236)][_0x495001(0x35f)](_0x2c8e14),this['_clearRedo'](_0xf55f86);}}['_clearUndo'](_0x3f4de6){const _0x39a4c4=_0x5bf0eb;let _0x250553=this[_0x39a4c4(0x221)](_0x3f4de6);_0x250553&&(_0x250553[_0x39a4c4(0x2e3)]=0x0,this['_updateStatus']());}[_0x5bf0eb(0x386)](_0x12b0b3){const _0x2d8e36=_0x5bf0eb;let _0x4541e8=this[_0x2d8e36(0x28b)](_0x12b0b3);_0x4541e8&&(_0x4541e8[_0x2d8e36(0x2e3)]=0x0,this[_0x2d8e36(0x339)]());}[_0x5bf0eb(0x347)](_0x4e8eba,_0x1533bf){const _0x462c50=_0x5bf0eb;this[_0x462c50(0x33d)][_0x462c50(0x41a)](_0x4e8eba,_0x1533bf),this[_0x462c50(0x339)]();}[_0x5bf0eb(0x2e1)](_0x2b1af8,_0x5d73d9){const _0x16cf1a=_0x5bf0eb;this[_0x16cf1a(0x2e4)][_0x16cf1a(0x41a)](_0x2b1af8,_0x5d73d9),this[_0x16cf1a(0x339)]();}[_0x5bf0eb(0x255)](_0x45f85b,_0xd8d00){const _0x33e49c=_0x5bf0eb;let _0x4dbe8f=[],_0x2ca3d4=_0xd8d00,_0x62e47d=_0xd8d00;for(let _0x4d22fc=_0x45f85b[_0x33e49c(0x2e3)]-0x1;_0x4d22fc>=0x0;_0x4d22fc--){let {unitID:_0x58d493,undoMutations:_0x3a2677,redoMutations:_0x3c3f17}=_0x45f85b[_0x4d22fc],_0x434587=this[_0x33e49c(0x409)][_0x33e49c(0x3db)](_0x2ca3d4,_0x3a2677),_0x4064f9=this['_transformService']['transformMutationsWithChangeset'](_0x62e47d,_0x3c3f17);if((0x0,_0x2b53f2[_0x33e49c(0x485)])(_0x434587)||(0x0,_0x2b53f2[_0x33e49c(0x485)])(_0x4064f9)){this['_logService'][_0x33e49c(0x35f)](_0x33e49c(0x32e),_0x33e49c(0x2b9),_0x434587,_0x4064f9);break;}_0x2ca3d4=_0x434587[_0x33e49c(0x491)],_0x62e47d=_0x4064f9['c1Prime'],_0x4dbe8f['push']({'unitID':_0x58d493,'undoMutations':_0x434587[_0x33e49c(0x4c9)],'redoMutations':_0x4064f9[_0x33e49c(0x4c9)]});}return _0x4dbe8f[_0x33e49c(0x2f5)]();}};_0x29d13a=_0x4e6e0f([_0xe72533(0x0,_0x2dbbd9[_0x5bf0eb(0x4d0)]),_0xe72533(0x1,_0x2dbbd9[_0x5bf0eb(0x28c)]),_0xe72533(0x2,_0x2dbbd9[_0x5bf0eb(0x410)]),_0xe72533(0x3,_0x2b53f2[_0x5bf0eb(0x3e9)]),_0xe72533(0x4,_0x2dbbd9[_0x5bf0eb(0x21b)])],_0x29d13a);let _0x59dcfc=class extends _0x2dbbd9[_0x5bf0eb(0x26e)]{constructor(_0x5f4879={},_0x72c5d4,_0x5a5872,_0x3acc8b){const _0x6cb3a0=_0x5bf0eb;super(),this['_config']=_0x5f4879,this[_0x6cb3a0(0x236)]=_0x72c5d4,this[_0x6cb3a0(0x2d5)]=_0x5a5872,this[_0x6cb3a0(0x266)]=_0x3acc8b;let {..._0x5a594a}=(0x0,_0x2dbbd9[_0x6cb3a0(0x42a)])({},_0x3b8dd5,_0x5f4879);if(!_0x5a594a[_0x6cb3a0(0x2b3)])throw Error(_0x6cb3a0(0x270));this['_config']=_0x5a594a,this['_configService'][_0x6cb3a0(0x201)](_0x2a84dd,_0x5a594a);}[_0x5bf0eb(0x3f2)](){const _0x2935b9=_0x5bf0eb;this[_0x2935b9(0x238)](),this[_0x2935b9(0x257)]();}[_0x5bf0eb(0x238)](){const _0x2440d7=_0x5bf0eb;var _0x2339e5,_0x3d6524;this[_0x2440d7(0x2d5)][_0x2440d7(0x252)](_0x2dbbd9['IUndoRedoService'])&&this['_logService'][_0x2440d7(0x35f)](_0x2440d7(0x47b),_0x2440d7(0x48e));let _0x5021a9=(0x0,_0x2dbbd9[_0x2440d7(0x39f)])([[_0x2dbbd9[_0x2440d7(0x4bd)],{'useClass':_0x29d13a}],[_0x1d8d49],[_0xf86089],[_0x53e950],[_0x39e94c],[_0x41e2cb],[_0x4f6931],[_0x4f64c9],[_0x10b08d],[_0x48b093],[_0x18a142,{'useClass':this[_0x2440d7(0x4b3)][_0x2440d7(0x2b3)]}],[_0x2b53f2[_0x2440d7(0x28a)],{'useClass':_0x13e673}],[_0x2dbbd9[_0x2440d7(0x4c5)],{'useClass':_0x2d37b7}],[_0x4e927a[_0x2440d7(0x26c)],{'useClass':_0x68b0f9}],[_0x2dbbd9[_0x2440d7(0x4e4)],{'useClass':_0x521f8d}],[_0x573fbd],[_0x2af5f4]],(_0x2339e5=this[_0x2440d7(0x4b3)])==null?void 0x0:_0x2339e5[_0x2440d7(0x2c2)]);if(!((_0x3d6524=this['_config'])!=null&&_0x3d6524[_0x2440d7(0x237)])){let _0xee17e1=_0x5021a9[_0x2440d7(0x3a1)](([_0x2a1a88])=>_0x2a1a88===_0x268fcd);_0xee17e1!==-0x1&&_0x5021a9[_0x2440d7(0x356)](_0xee17e1,0x1);}(0x0,_0x2dbbd9[_0x2440d7(0x2ea)])(this[_0x2440d7(0x2d5)],_0x5021a9);}[_0x5bf0eb(0x257)](){const _0x4f368a=_0x5bf0eb;var _0x5ac68e,_0x56c771;if(this[_0x4f368a(0x2d5)][_0x4f368a(0x42f)](_0x5f56f9['HTTPService'])[_0x4f368a(0x41b)]({'priority':0x14,'interceptor':(0x0,_0x5f56f9[_0x4f368a(0x44f)])({'maxParallel':0x6})}),!((_0x5ac68e=this['_config'])!=null&&_0x5ac68e[_0x4f368a(0x321)])){var _0x589980;(_0x589980=this[_0x4f368a(0x2d5)][_0x4f368a(0x42f)](_0x36e220,_0x2dbbd9[_0x4f368a(0x241)][_0x4f368a(0x34f)]))==null||_0x589980[_0x4f368a(0x459)]();}(_0x56c771=this[_0x4f368a(0x4b3)])!=null&&_0x56c771['enableAuthServer']&&(0x0,_0x2dbbd9['touchDependencies'])(this[_0x4f368a(0x2d5)],[[_0x39e94c]]),(0x0,_0x2dbbd9['touchDependencies'])(this[_0x4f368a(0x2d5)],[[_0x41e2cb],[_0x573fbd],[_0x4f64c9]]);}};_0x527b5d(_0x59dcfc,_0x5bf0eb(0x233),_0x5bf0eb(0x448)),_0x527b5d(_0x59dcfc,_0x5bf0eb(0x413),_0x36adc3),_0x527b5d(_0x59dcfc,_0x5bf0eb(0x4fe),_0xc8583d),_0x59dcfc=_0x4e6e0f([(0x0,_0x2dbbd9[_0x5bf0eb(0x293)])(_0x3b77ee['UniverLicensePlugin'],_0x2b53f2[_0x5bf0eb(0x26a)],_0x5f56f9[_0x5bf0eb(0x291)]),_0xe72533(0x1,_0x2dbbd9[_0x5bf0eb(0x21b)]),_0xe72533(0x2,(0x0,_0x2dbbd9[_0x5bf0eb(0x2c3)])(_0x2dbbd9['Injector'])),_0xe72533(0x3,_0x2dbbd9[_0x5bf0eb(0x488)])],_0x59dcfc),Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x4a4),{'enumerable':!0x0,'get':function(){return _0x2d37b7;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x2dc),{'enumerable':!0x0,'get':function(){return _0x45f3bd;}}),Object['defineProperty'](_0x44d4a3,_0x5bf0eb(0x4c6),{'enumerable':!0x0,'get':function(){return _0x2be15f;}}),_0x44d4a3[_0x5bf0eb(0x3ae)]=_0x2a84dd,Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x463),{'enumerable':!0x0,'get':function(){return _0x573fbd;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x31e),{'enumerable':!0x0,'get':function(){return _0x3e0a94;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x3df),{'enumerable':!0x0,'get':function(){return _0x68b0f9;}}),Object['defineProperty'](_0x44d4a3,_0x5bf0eb(0x4ee),{'enumerable':!0x0,'get':function(){return _0x2fe3e1;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,'CollaborationSessionService',{'enumerable':!0x0,'get':function(){return _0x1d8d49;}}),Object['defineProperty'](_0x44d4a3,_0x5bf0eb(0x47e),{'enumerable':!0x0,'get':function(){return _0x47e4bb;}}),_0x44d4a3[_0x5bf0eb(0x2cb)]=_0x41a59c,_0x44d4a3[_0x5bf0eb(0x253)]=_0x3c5b62,_0x44d4a3[_0x5bf0eb(0x327)]=_0x10b08d,Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x1fb),{'enumerable':!0x0,'get':function(){return _0x29d13a;}}),_0x44d4a3[_0x5bf0eb(0x486)]=_0x4f6931,Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x363),{'enumerable':!0x0,'get':function(){return _0x4446c9;}}),_0x44d4a3['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0xcb84c1,_0x44d4a3[_0x5bf0eb(0x443)]=_0x5bf0eb(0x279),_0x44d4a3['DEFAULT_WS_SESSION_TICKET_URL']='/universer-api/user/session-ticket',Object[_0x5bf0eb(0x497)](_0x44d4a3,'DataLoaderService',{'enumerable':!0x0,'get':function(){return _0x48b093;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x25e),{'enumerable':!0x0,'get':function(){return _0xe7b4d0;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,'FetchingMissState',{'enumerable':!0x0,'get':function(){return _0x49dbd8;}}),_0x44d4a3['HEARTBEAT_INTERVAL_KEY']=_0x5bf0eb(0x414),_0x44d4a3['HEARTBEAT_TIMEOUT_KEY']=_0x5bf0eb(0x4d7),_0x44d4a3[_0x5bf0eb(0x39a)]=_0x18a142,_0x44d4a3[_0x5bf0eb(0x206)]=_0x36e220,_0x44d4a3[_0x5bf0eb(0x2ae)]=_0x235c1d,_0x44d4a3[_0x5bf0eb(0x317)]=_0x268fcd,_0x44d4a3[_0x5bf0eb(0x4bb)]=0x3e8,_0x44d4a3[_0x5bf0eb(0x4cb)]=_0x5bf0eb(0x4bb),Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x297),{'enumerable':!0x0,'get':function(){return _0xf86089;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x4f0),{'enumerable':!0x0,'get':function(){return _0x521f8d;}}),Object['defineProperty'](_0x44d4a3,_0x5bf0eb(0x4c4),{'enumerable':!0x0,'get':function(){return _0x5a87ab;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,'PendingState',{'enumerable':!0x0,'get':function(){return _0x17b236;}}),_0x44d4a3[_0x5bf0eb(0x1e5)]=_0x5bf0eb(0x30b),_0x44d4a3[_0x5bf0eb(0x4bc)]=_0x5bf0eb(0x472),_0x44d4a3[_0x5bf0eb(0x1ea)]=_0x45b19d,Object['defineProperty'](_0x44d4a3,_0x5bf0eb(0x47f),{'enumerable':!0x0,'get':function(){return _0x4db82b;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x43d),{'enumerable':!0x0,'get':function(){return _0x53e950;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x496),{'enumerable':!0x0,'get':function(){return _0x13e673;}}),Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x29b),{'enumerable':!0x0,'get':function(){return _0x28d539;}}),_0x44d4a3[_0x5bf0eb(0x378)]=_0x26ce4c,Object[_0x5bf0eb(0x497)](_0x44d4a3,_0x5bf0eb(0x3fd),{'enumerable':!0x0,'get':function(){return _0x59dcfc;}}),_0x44d4a3[_0x5bf0eb(0x37b)]=_0x1a0343,_0x44d4a3[_0x5bf0eb(0x1e4)]=_0x41fc85,_0x44d4a3['serializeCombRequest']=_0x600b81;}));
|
|
2
|
+
function _0x2112(){const _0x2ab8ac=['_sessions',',\x20got:\x20','forEach','DependentOn','clear','_snapshotService','_changesetReqId','executeCommand','SYNCED','_sendHeartbeatTimer','removeMember','_initCloseConn','isTransformChangesetsSuccess','_collaborationTimeoutTimer','InsertSheetMutation','decorate','_onRemoteRetry','packageName','_sendingTimer','pluginName','override','RECV','_initMergeInterceptor','every','_awaitingChangeset','getTypeOfUnitAdded$','AWAITING_WITH_PENDING','_onJoinRoomEvent','WorkbookEditablePermission','close$','rxjs/operators','_removeRoom','SUBMIT_CHANGESET_TIMEOUT','[CollaborationSessionService]','_transformService','onRemoteAck','2593953WmSVpI','FETCH_MISS','getTime','_roomCreated$','OTHER_CLIENTS_EDITING','getImage','sid','Quantity','_maxTotalRetryTimeout','memberID','/block/','push','/role','setWaitCount','getMemberID','_tryEnsureSocket','collaboration_new_changeset','_startCollaboration','fromHex','status$','35MezOeS','onRemoteRetry','@univerjs-pro/license','post','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_localeService','_executeRemoteChangeset','_init','[CollaborationSession]','RevisionService','_onRecvEvent','save\x20fail\x20reason\x20is\x20','sort','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getSignURL','nonceLength','body','_acknowledgedAwaitingRevision','&source=','ImageUploadStatusType','_schedule','ReplaySubject','_undoStacks','_doCreateSocket','readAsDataURL','getUnitOnRev','default','transformMutationsWithChangeset','COMPRESS_MUTATION_APPLY','open$','prototype','awaitingChangeset','DocCollaborationEntity','LIVESHARE_TERMINATE','max','SHOULD_CLOSE_CONN','resend','/unit/','initWorkbookPermissionChange','cmd','_transformStack','UPDATE_CURSOR','_getUndoStack','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/fetchmissing?from=','CombCmd','session.join-failed','has','CompressMutationService','decrypt','_sheetTransformSelectionsService','updateCollaborator','collabWebSocketUrl','Failed\x20to\x20update\x20permission\x20point','Subject','updatePermissionPoint','result','&to=','complete','_retryConnectingTimer','_onRemoteRejected','output','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','enableOfflineEditing','objectActions','enableSingleActiveInstanceLock','isPermissionRej','CollaborativeUndoRedoService','code','length=','_sender','toStringTag','CHANGESET_REJ','@univerjs/network','object','DisposableCollection','_httpService','_event$','location','SheetPermissionInitController','onTransformRemoteChangesetByIMECache','incrementRevOfUnit','appendMutation','saveSnapshot','_transformRemoteChangesetByStateCache','floor','[SyncedState]:\x20received\x20rejection.','_pendingMutations','allowed','toggleOnline','message$','JOIN_ROOM_NOT_EXISTS','getCurrentRevOfUnit','objectID','SyncedState','_showConflictNotification','_clearCollaborationTimeoutTimer','call','UniverProCollaborationClient','delay','setCurrentUser','crypto.getRandomValues\x20must\x20be\x20defined','_createInitialStateImpl','HEARTBEAT_TIMEOUT','OFFLINE','HTTPService','key','DRAWING_IMAGE_ALLOW_IMAGE_LIST','ERROR_IMAGE','c1Prime','_sendHeartbeat','[PendingState]:\x20received\x20acknowledgement.','includes','delete','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','IUniverInstanceService','_configService','univer-pro.collaboration-client-socket-service','length','event$','BYTES_PER_ELEMENT','_listenToNetworkCondition','_config','routeKey','_imageSourceCache','_startTelemetryCollaborationNewChangeset','@univerjs/core','_resendTimeout','values','NO_OTHER_CLIENTS_EDITING','[DataLoaderService]','_sessionStatus$','_fetchMissChangesets','stopTime','_socket','IPermissionService','_unitInfo$','ITelemetryService','_timeoutTimer','/universer-api/uniscript','IImageIoService','charCodeAt','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','PERMISSION_DENIED','__splitChunk__','byteLength','iterator','loadOfflineData','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','session.room-not-exists','SUBMIT_CHANGESET','missingChangesets','addImageSourceCache','SnapshotServerOverHTTPService','CLOSE_ROOM','socket$','onSendChangeset','_members','aes/pkcs7:\x20wrong\x20padding','_onConflict','reverse','SOCKET_FAILED_RETRY','FileId','takeUntil','_createHandler','objectType','requireSession','getUnit','getOwnPropertyDescriptor','change$','find','subscribe','hostname','RxDisposable','DataLoaderService','data','fetching\x20missing\x20changesets\x20from\x20','ERROR_EXCEED_SIZE','confirm','_entityInit$','getTypeOfUnitDisposed$','AWAITING','_commentUpdate$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_applyRemoteChangeset','JOIN_ROOM_FULL','retryConnectingInterval','ITransformService','debug','_stopTelemetryCollaborationNewChangeset','CollaborationUIEventId','RETRY_CONNECTING_MAX_COUNT_KEY','onMissingChangesets','isTransformMutationsWithChangesetSuccess','map','_acknowledgeAwaiting','parse','@univerjs/protocol','conflict','CONFLICT','transformUndoRedo','ImageSourceType','COMPRESS_MUTATION_SEND','onCommentUpdate','size','UserManagerService','_getRedoStack','LOCAL_CACHE_INTERVAL','ONLINE','Tools','6724xxLeYg','getCfgEnableObjInherit','_handleRemoteChangesets','/rev/','/universer-api/comb','POST','_HTTPService','@univerjs/docs','type','from','auth.needGotoLoginAlert','\x20in\x20_schedule.','UniverCollaborationPlugin','EmptyMutationInfo','getCollabEntity$','status','cipher\x20output\x20not\x20supported','sheets','[OfflineState]:\x20received\x20acknowledgement.','subject','invalid\x20output,\x20must\x20be\x20aligned','capture','SUCCUSS','@univerjs/sheets','version','NEW_CHANGESETS','loadSheet','[CollaborationState]:\x20apply\x20error!','IDLE','@univerjs/telemetry','getMember','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','csRejEvent','getCurrentUser','_transformIMECache','exports','parseProtocolChangeset','href','_scheduleCompleteTimestamp','collaborators','state$','eventID','UniverTelemetry','Inject','src','_transformUndoredo','disposeWithMe','filter','selections','fromCharCode','loadUnitOfRevision','method','byteOffset','apply','onRemoteRej','_updateState','Error\x20on\x20receiving\x20event','socket\x20close','/allowed','action','_clearScheduledTask','copyFileMeta','refreshPermission','createCollaborator','toString','_substituteRedoStack','_onRemoteChangeset','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','_getSendChangesetTimeout','Module','{fileID}','entityInit$','createIdentifier','target','baseRev','UniverDrawing','SheetsSelectionsService','SetSelectionsOperation','tagLength','JOINING','_onConnectionFailed','collaMsg','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getGlobalObject','_isPermissionRej','_commandService','saveSheetBlock','b64DecodeUnicode','ThresholdInterceptorFactory','IAuthzIoService','setCfgEnableObjInherit','_changesetSessionId','defineProperty','onload','collabSubmitChangesetUrl','\x0aCurrent:\x20','submit\x20changeset\x20error!','_logService','merge','focused$','LIVESHARE_REQUEST_HOST','COMMENT_UPDATE','_handler','responseType','updatePermissionObjEvent','not_collab','PendingState','getUnitType','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','HELLO','toggleOffline','commentUpdate$','_clearUndo','_type','synced','updateOfflineData','encrypt','_onUserLeave','UNIVER_DOC','disablePadding','UniverLicensePlugin','duration','NOT_COLLAB','&assign=','onTransformSelections','_getUploadFileURL','_emitMembers','deepClone','Optional','CollaborationUIEventService','firstValueFrom','range','ISingleActiveUnitService','connection\x20error','CollaborationEntity','_status$','c2Prime','updateCursorEvent','title','_permissionService','Plugin','touchDependencies','15835yViJRp','UniverSheets','replace','encode','roomInfos','stringify','_throwTelemetryCollaborationNewChangeset','_checkMissing','univer-pro.collaboration-client.single-active-unit-service','MemberService','compose',',\x20got\x20','_compressMutationService','518192Payjti','localeService','workbook','CollaborationImageIoService','getFocusedUnit','x-univer-host','_change$','assign','createSocket','LIVESHARE_OPERATION','_eventService','batchAllowed','fill','CommandType','registerHTTPInterceptor','UniverCollaborationClientPlugin','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','FETCH_MISSING','csShouldRetryEvent','roles','/-/object/list','saveImage','_remoteChangesetQueue','session','PERMISSION_REJ','_submitChangeset','withCredentials','_transformAndApplyRemoteChangeset','CollaborationEvent','editing\x20status\x20changed\x20to','send','onTransformIME','10nCpamW','unsubscribe','liveShareOperation','_clearHeartbeatTimer','ICollaborationSocketService','snapshot','_state$','_acknowledgeAwaitingIfReady','_handlerCallback','fetchMiss','onTransformRemoteChangesetByStateCache','RETRY_CONNECTING_MAX_COUNT','_entities','resourceIDs','authzUrl','resolveWithBasePath','/universer-api/file/{fileID}/sign-url','error','/collaborator','IUndoRedoService','update','MentionType','_unitID','asObservable','_revisionService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_createSocket','generateRandomId','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_clearTimeoutTimer','_localCacheService','getResourcesRequest','USERS_LEAVE','_collabSessionService','_onMessage','_members$','sessionStatus','unit','MSG_FOR_ERROR','UNISCRIPT_RUN','_roomMembers','_getDownloadEndpointURL','registerDependencies','put','_getCurrentRevision','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','cfgEnableObjInherit','transformSelections','list','1867020yrCOro','isSafeInteger','CmdRspCode','state','reqId','interceptor','telemetry\x20info\x20is\x20not\x20initialized','_exhaustRemoteChangesetQueue','set','_transformStateCache','listRoles','unitId\x20is\x20not\x20found','LIVESHARE_FETCH_OPERATIONS','CommentService','getRandomValues','AwaitingWithPendingState','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_onOffline','_initUnitPermissionChange','originalMeta','catch','_state','pending','0.24.0','HEARTBEAT_INTERVAL','RichTextEditingMutation','string\x20expected','_joinRoom','_candidateSocket','CHANGESET_SHOULD_RETRY','DEFAULT_COLLAB_WEB_SOCKET_URL','_onUserJoin','fetch_missing','positive\x20integer\x20expected,\x20got\x20','_commentService','_collaborationPaused','toDisposable','_updateLocalCache','MergeInterceptorFactory','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','snapshotServerUrl','SnapshotService','startTime','ISocketService','init','loadUnit','nonce','_onLocalMutation','_collaborationUIEventService','FetchingMissState','putCollaborators','changesets','_replayCachedMutations','/universer-api/authz','isTransformMutationsWithChangesetFailure','MentionIoHttpService','unitInfo$','deleteCollaborator','UNIVER_COLLABORATION_CLIENT_PLUGIN','shouldCloseConn','UniverInstanceType','getSheetBlock','ISnapshotServerService','textRanges','_tryReconnect','error$','[OfflineState]:\x20received\x20rejection.','online$','updateMember','_createInitialState','13504700kYAnAP','getWorkbookSelections','/universer-api/snapshot/','UniverProCollaboration','name','_univerInstanceService','CollaborationStatus','Wrong\x20sbox\x20length','UPDATE_PERMISSION_OBJ','/object','\x20of\x20length\x20','symbol','FileSource','rxjs','origin','[SyncedState]:\x20received\x20acknowledgement.','_redoStacks','_transformRemoteChangesetByIMECache','INGEST','startsWith','reconnect','LocaleService','_getCtorByUniverInstanceType','editingUnit','mutations','_scheduleCollaborationTimeoutTimer','newCsEvent','_initDependencies','_toggleOffline','/-/object/-/batch_allowed','type=','getConfig','shareReplay','_collaborationSessionService','_injector','concatMap','_telemetryInfo','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','session.room-permission-denied','socket\x20open.','/universer-api/oidc/authpage','LEAVE','Rectangle','_resendTimer','ICommandService','LIVESHARE_NEW_HOST','revision','_networkConditionService','_cfgEnableObjInherit','take','setShowComponents','_rescheduleHeartbeat','\x20to\x20','AuthzIoHttpService','actions','mergeOverrideWithDependencies','FAIL','indexOf','m2Prime','JOIN_ROOM_FAILED','PERSON','file','_getAPIPrefixPath','ILogService','constructor','enableCollaboration','function','emitEvent','_retryCount','reject','[CollaborationUndoRedoService]','getLatestCsReqIdBySid','get','_socketReady','_transformSelections','_transitionLocked','url','SheetCollaborationEntity','GLOBAL_ROOMS_CNT_EXCEEDS','now','pauseCollaboration','sessionStatus$','onLocalMutation','offline','Injector','buffer','_socketMessageSubscription','getSnapshotAPIPath','subarray','_lockTransition','listCollaborators','onlyLocal','getActiveSheet','closeSession','Uint8Array','_updateStatus','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','BASE64','transformChangesets','mapDocumentTypeToUniverInstanceType','onRemoteChangeset','UniverProLicense','onStarting','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','close','_syncEditingCollabCursor','patch','Disposable','PSEUDO_FETCH_MISSING_RESULT','_disableEditing','1602DaGYyY','unknown','isArray','_onConnectionOpen','?size=','JOIN_ROOM_PERMISSION_DENIED','OPTIONAL','_queuedRemoteChangesets','getImageSourceCache','requestParams','/object/','onMutationExecutedForCollab','getAllMembers','\x20-\x20','MUTATION','_getAPIPrefix','_memberService','getLocalCacheKey','UnitStatus','CHANGESET_ACK','_clearRedo','_clearLocalCache','sendChangesetTimeout','BehaviorSubject','@univerjs-pro/collaboration','string','sequenceExecute','entries','USERS_ENTER','readyForCollab','add','findIndex','_clearRetryConnectingTimer','CollaborationSession','468282lzvWRK','_singleActiveUnitService','__Key__','varSizeNonce','setConfig','crypto','_decreaseWaiting','number\x20expected,\x20got\x20','_telemetryService','[CollaborationEntity]','_instanceService','collaboration-client.config','getValue','UNIVER_SHEET','_getLoginPath','joinEvent','_incrementRevisionNumber','socketService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','localCacheService','_resendWithTimeout','getInterceptPoints','saveChangeset','ErrorCode','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','csAckEvent','onMissedChangesetFetched','userID','pipe','_initRequestHeader','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','liveShareNewHost','dispose$','fetchThroughInterceptors','min','JOIN','[OfflineState]:\x20received\x20changeset.','_shouldReportTelemetry','124qwScQM','_onCombEvent','_waitCount','UUID','unitId','HEARTBEAT','SOCKET_FAILED','members$','_substituteUndoStack','LocalUndoRedoService','CollaborationController','_userManagerService','unitID','_socket$','objects','textEncoder','reduce','onSyncEditingCollabCursor','amd','params','_isEchoedAwaitingChangeset','IConfigService','_onRemoteACK','onTransformState','createInstance','failed\x20to\x20apply\x20missed\x20changesets!','serializeCombRequest','getUnitStatus$','enableAuthServer','_registerDependencies','getCollabEntity','next','dispose','Workbook','deserializeToCombResponse','awaiting_with_pending','unit-cache-','_unlockTransition','session.room-cnt-exceeds','\x0aAfter:\x20','_socketService','_snapshotServerService','getUnitId','JSONX','awaiting','infoRsp'];_0x2112=function(){return _0x2ab8ac;};return _0x2112();}function _0x2103(_0x35fecc,_0x145abc){_0x35fecc=_0x35fecc-0x1f0;const _0x2112d5=_0x2112();let _0x210331=_0x2112d5[_0x35fecc];return _0x210331;}(function(_0x1a0b32,_0x50fb41){const _0x2eb7a9=_0x2103,_0x465842=_0x1a0b32();while(!![]){try{const _0x269e31=-parseInt(_0x2eb7a9(0x473))/0x1*(parseInt(_0x2eb7a9(0x28b))/0x2)+parseInt(_0x2eb7a9(0x44d))/0x3+parseInt(_0x2eb7a9(0x377))/0x4+-parseInt(_0x2eb7a9(0x319))/0x5*(-parseInt(_0x2eb7a9(0x42b))/0x6)+-parseInt(_0x2eb7a9(0x4d9))/0x7*(-parseInt(_0x2eb7a9(0x326))/0x8)+parseInt(_0x2eb7a9(0x4c5))/0x9+parseInt(_0x2eb7a9(0x346))/0xa*(-parseInt(_0x2eb7a9(0x3bd))/0xb);if(_0x269e31===_0x50fb41)break;else _0x465842['push'](_0x465842['shift']());}catch(_0x36ae7e){_0x465842['push'](_0x465842['shift']());}}}(_0x2112,0x6a6e1),function(_0xce4b67,_0x472394){const _0x35cb46=_0x2103;typeof exports==_0x35cb46(0x203)&&typeof module<'u'?_0x472394(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/protocol`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define[_0x35cb46(0x485)]?define([_0x35cb46(0x2ae),_0x35cb46(0x443),_0x35cb46(0x237),_0x35cb46(0x292),_0x35cb46(0x2a2),_0x35cb46(0x3ca),_0x35cb46(0x27e),_0x35cb46(0x2a8),_0x35cb46(0x4bf),_0x35cb46(0x202),_0x35cb46(0x4db),'@univerjs/drawing'],_0x472394):(_0xce4b67=typeof globalThis<'u'?globalThis:_0xce4b67||self,_0x472394(_0xce4b67[_0x35cb46(0x21b)]={},_0xce4b67[_0x35cb46(0x3c0)],_0xce4b67['UniverCore'],_0xce4b67['UniverDocs'],_0xce4b67[_0x35cb46(0x31a)],_0xce4b67[_0x35cb46(0x3ca)],_0xce4b67['UniverProtocol'],_0xce4b67[_0x35cb46(0x2b5)],_0xce4b67[_0x35cb46(0x3ca)]['operators'],_0xce4b67['UniverNetwork'],_0xce4b67[_0x35cb46(0x422)],_0xce4b67[_0x35cb46(0x2d6)]));}(this,function(_0x4a8f3a,_0x37511f,_0x15f21c,_0x93b6b9,_0x5dbd34,_0x57cf55,_0x1b8fab,_0x1ae6d5,_0x19fb73,_0x3c5332,_0x3b5393,_0x5f09e6){const _0x1453e5=_0x2103;Object[_0x1453e5(0x2e7)](_0x4a8f3a,Symbol[_0x1453e5(0x200)],{'value':_0x1453e5(0x2d0)});let _0xe2144e='ws://127.0.0.1:8000/universer-api/comb/connect',_0x1f5766=0x4e20;function _0x57c3ed(_0x2c320d){const _0x2cb69e=_0x1453e5;return JSON['stringify'](_0x2c320d)[_0x2cb69e(0x22f)];}function _0xe4faa5(_0x3f76c1){'@babel/helpers - typeof';const _0x14090e=_0x1453e5;return _0xe4faa5=typeof Symbol==_0x14090e(0x3ff)&&typeof Symbol[_0x14090e(0x24b)]==_0x14090e(0x3c8)?function(_0x2e2b82){return typeof _0x2e2b82;}:function(_0x105c17){const _0x3117c2=_0x14090e;return _0x105c17&&typeof Symbol==_0x3117c2(0x3ff)&&_0x105c17['constructor']===Symbol&&_0x105c17!==Symbol[_0x3117c2(0x4f7)]?_0x3117c2(0x3c8):typeof _0x105c17;},_0xe4faa5(_0x3f76c1);}function _0x5de197(_0x31c7f5,_0x4924b3){const _0x1bafba=_0x1453e5;if(_0xe4faa5(_0x31c7f5)!='object'||!_0x31c7f5)return _0x31c7f5;var _0x45a46c=_0x31c7f5[Symbol['toPrimitive']];if(_0x45a46c!==void 0x0){var _0x3e0c2f=_0x45a46c['call'](_0x31c7f5,_0x4924b3||_0x1bafba(0x4f3));if(_0xe4faa5(_0x3e0c2f)!=_0x1bafba(0x203))return _0x3e0c2f;throw TypeError(_0x1bafba(0x22b));}return(_0x4924b3===_0x1bafba(0x444)?String:Number)(_0x31c7f5);}function _0x5b983f(_0x16d249){const _0x18df53=_0x1453e5;var _0x391056=_0x5de197(_0x16d249,'string');return _0xe4faa5(_0x391056)==_0x18df53(0x3c8)?_0x391056:_0x391056+'';}function _0x14249f(_0x25c31f,_0x514a9f,_0x12e10f){const _0x21295c=_0x1453e5;return(_0x514a9f=_0x5b983f(_0x514a9f))in _0x25c31f?Object[_0x21295c(0x2e7)](_0x25c31f,_0x514a9f,{'value':_0x12e10f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x25c31f[_0x514a9f]=_0x12e10f,_0x25c31f;}let _0xbe416e=function(_0x5beb17){const _0x86423=_0x1453e5;return _0x5beb17['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x5beb17['PERMISSION_DENIED']=_0x86423(0x248),_0x5beb17[_0x86423(0x280)]='CONFLICT',_0x5beb17[_0x86423(0x253)]=_0x86423(0x253),_0x5beb17[_0x86423(0x3f8)]=_0x86423(0x3f8),_0x5beb17[_0x86423(0x25a)]='SOCKET_FAILED_RETRY',_0x5beb17[_0x86423(0x479)]='SOCKET_FAILED',_0x5beb17[_0x86423(0x4c1)]='SUBMIT_CHANGESET_TIMEOUT',_0x5beb17;}({});var _0x44a5ef=class{constructor(){const _0x33e696=_0x1453e5;_0x14249f(this,_0x33e696(0x206),new _0x57cf55[(_0x33e696(0x50f))]()),_0x14249f(this,_0x33e696(0x230),this[_0x33e696(0x206)][_0x33e696(0x35d)]());}['emitEvent'](_0x5a4c2f){const _0x1dd590=_0x1453e5;this[_0x1dd590(0x206)][_0x1dd590(0x492)](_0x5a4c2f);}},_0x5b555c=class{constructor(){const _0x21d0ae=_0x1453e5;_0x14249f(this,_0x21d0ae(0x26f),new _0x57cf55[(_0x21d0ae(0x50f))]()),_0x14249f(this,_0x21d0ae(0x2fa),this[_0x21d0ae(0x26f)]['asObservable']());}[_0x1453e5(0x284)](_0x52b474){const _0x3bc4dc=_0x1453e5;this[_0x3bc4dc(0x26f)][_0x3bc4dc(0x492)](_0x52b474);}};function _0x20187e(_0x3e06a7,_0x5184f5){return function(_0x5ad70f,_0x55cef9){_0x5184f5(_0x5ad70f,_0x55cef9,_0x3e06a7);};}function _0x23bcbc(_0x2c4e45,_0x501531,_0x577545,_0x18ee62){const _0x2dc22b=_0x1453e5;var _0x3376d1=arguments[_0x2dc22b(0x22f)],_0x5eb40c=_0x3376d1<0x3?_0x501531:_0x18ee62===null?_0x18ee62=Object[_0x2dc22b(0x261)](_0x501531,_0x577545):_0x18ee62,_0x59bb48;if(typeof Reflect=='object'&&typeof Reflect[_0x2dc22b(0x4b0)]==_0x2dc22b(0x3ff))_0x5eb40c=Reflect[_0x2dc22b(0x4b0)](_0x2c4e45,_0x501531,_0x577545,_0x18ee62);else{for(var _0x5ad186=_0x2c4e45[_0x2dc22b(0x22f)]-0x1;_0x5ad186>=0x0;_0x5ad186--)(_0x59bb48=_0x2c4e45[_0x5ad186])&&(_0x5eb40c=(_0x3376d1<0x3?_0x59bb48(_0x5eb40c):_0x3376d1>0x3?_0x59bb48(_0x501531,_0x577545,_0x5eb40c):_0x59bb48(_0x501531,_0x577545))||_0x5eb40c);}return _0x3376d1>0x3&&_0x5eb40c&&Object[_0x2dc22b(0x2e7)](_0x501531,_0x577545,_0x5eb40c),_0x5eb40c;}let _0x3feb5b=class extends _0x15f21c['Disposable']{constructor(_0x241f0a,_0x3e8a9a){const _0x14b3bb=_0x1453e5;super(),this[_0x14b3bb(0x3c2)]=_0x241f0a,this[_0x14b3bb(0x47e)]=_0x3e8a9a,_0x14249f(this,_0x14b3bb(0x36e),new Map()),_0x14249f(this,_0x14b3bb(0x4c8),new _0x57cf55[(_0x14b3bb(0x50f))]()),this[_0x14b3bb(0x2b9)]((0x0,_0x57cf55['merge'])(this[_0x14b3bb(0x3c2)]['getTypeOfUnitDisposed$'](_0x15f21c[_0x14b3bb(0x3b3)][_0x14b3bb(0x45a)])[_0x14b3bb(0x469)]((0x0,_0x19fb73[_0x14b3bb(0x27b)])(_0x313e47=>_0x313e47[_0x14b3bb(0x49d)]())),this[_0x14b3bb(0x3c2)][_0x14b3bb(0x26d)](_0x15f21c[_0x14b3bb(0x3b3)][_0x14b3bb(0x301)])[_0x14b3bb(0x469)]((0x0,_0x19fb73[_0x14b3bb(0x27b)])(_0x2a3b50=>_0x2a3b50[_0x14b3bb(0x49d)]())))[_0x14b3bb(0x264)](_0x163bf8=>this[_0x14b3bb(0x4c0)](_0x163bf8)));}['waitForRoom$'](_0x491ac1){const _0x494a9b=_0x1453e5;return this[_0x494a9b(0x36e)]['has'](_0x491ac1)?(0x0,_0x57cf55['of'])(this[_0x494a9b(0x36e)][_0x494a9b(0x405)](_0x491ac1)):this[_0x494a9b(0x4c8)][_0x494a9b(0x469)]((0x0,_0x19fb73[_0x494a9b(0x27b)])(_0x24b5f3=>{const _0x5c8db1=_0x494a9b;if(_0x24b5f3===_0x491ac1)return this[_0x5c8db1(0x36e)][_0x5c8db1(0x405)](_0x24b5f3);}));}['setCurrentUser'](_0x40416d){const _0x3f3ce8=_0x1453e5;this[_0x3f3ce8(0x47e)][_0x3f3ce8(0x21d)](_0x40416d);}[_0x1453e5(0x2ac)](){const _0x11e3bf=_0x1453e5;return this[_0x11e3bf(0x47e)]['getCurrentUser']();}[_0x1453e5(0x3bb)](_0x16cf58,_0x5b255a){const _0x433172=_0x1453e5;let _0x2ef48=this[_0x433172(0x36e)][_0x433172(0x405)](_0x16cf58);_0x2ef48||(_0x2ef48=new _0x53d647(),this[_0x433172(0x36e)][_0x433172(0x37f)](_0x16cf58,_0x2ef48),this[_0x433172(0x4c8)][_0x433172(0x492)](_0x16cf58)),_0x2ef48[_0x433172(0x3bb)](_0x5b255a);}['removeMember'](_0x21b656,_0x56beee){const _0x6fc96d=_0x1453e5;let _0x49438a=this[_0x6fc96d(0x36e)]['get'](_0x21b656);_0x49438a&&_0x49438a[_0x6fc96d(0x4ab)](_0x56beee);}['getRoom'](_0x46dbb1){const _0xe4e620=_0x1453e5;return this['_roomMembers'][_0xe4e620(0x405)](_0x46dbb1);}['getMember'](_0x2922a,_0x505af2){const _0x3bd1c5=_0x1453e5;let _0x193f94=this[_0x3bd1c5(0x36e)]['get'](_0x2922a);if(_0x193f94)return _0x193f94[_0x3bd1c5(0x2a9)](_0x505af2);}['_removeRoom'](_0x2bc64b){const _0xab0509=_0x1453e5;let _0x4a993c=this[_0xab0509(0x36e)]['get'](_0x2bc64b);_0x4a993c&&(_0x4a993c[_0xab0509(0x493)](),this[_0xab0509(0x36e)][_0xab0509(0x22a)](_0x2bc64b));}['dispose'](){const _0x734138=_0x1453e5;this['_roomMembers'][_0x734138(0x4a3)](_0x450d46=>_0x450d46[_0x734138(0x493)]()),this[_0x734138(0x36e)][_0x734138(0x4a5)](),this[_0x734138(0x4c8)][_0x734138(0x1f2)]();}};_0x3feb5b=_0x23bcbc([_0x20187e(0x0,_0x15f21c[_0x1453e5(0x22c)]),_0x20187e(0x1,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x286)]))],_0x3feb5b);var _0x53d647=class extends _0x15f21c[_0x1453e5(0x428)]{constructor(..._0x460e4c){const _0x1fe27f=_0x1453e5;super(..._0x460e4c),_0x14249f(this,_0x1fe27f(0x256),new Map()),_0x14249f(this,_0x1fe27f(0x369),new _0x57cf55['BehaviorSubject'](this[_0x1fe27f(0x256)])),_0x14249f(this,_0x1fe27f(0x47a),this['_members$'][_0x1fe27f(0x35d)]());}[_0x1453e5(0x493)](){const _0x34df64=_0x1453e5;this[_0x34df64(0x256)]['clear'](),this[_0x34df64(0x369)][_0x34df64(0x1f2)]();}['updateMember'](_0x5002a3){const _0x11eca0=_0x1453e5;this[_0x11eca0(0x256)][_0x11eca0(0x37f)](_0x5002a3[_0x11eca0(0x4ce)],_0x5002a3),this[_0x11eca0(0x309)]();}[_0x1453e5(0x4ab)](_0xb2881d){const _0x18863f=_0x1453e5;this['_members'][_0x18863f(0x22a)](_0xb2881d),this[_0x18863f(0x309)]();}['getMember'](_0x1d77be){const _0x2035ae=_0x1453e5;return this[_0x2035ae(0x256)]['get'](_0x1d77be);}[_0x1453e5(0x437)](){const _0x5327c9=_0x1453e5;return Array[_0x5327c9(0x294)](this[_0x5327c9(0x256)][_0x5327c9(0x239)]());}[_0x1453e5(0x309)](){const _0x497f42=_0x1453e5;this[_0x497f42(0x369)][_0x497f42(0x492)](this['_members']);}};let _0x486481=function(_0x1adb60){const _0x15272f=_0x1453e5;return _0x1adb60[_0x1adb60[_0x15272f(0x2a7)]=0x0]=_0x15272f(0x2a7),_0x1adb60[_0x1adb60[_0x15272f(0x2da)]=0x1]=_0x15272f(0x2da),_0x1adb60[_0x1adb60[_0x15272f(0x221)]=0x2]=_0x15272f(0x221),_0x1adb60[_0x1adb60['ONLINE']=0x3]=_0x15272f(0x289),_0x1adb60;}({}),_0xc4b44c={[_0x1b8fab[_0x1453e5(0x379)][_0x1453e5(0x3f5)]]:_0x1453e5(0x507),[_0x1b8fab[_0x1453e5(0x379)][_0x1453e5(0x272)]]:'session.room-full',[_0x1b8fab['CmdRspCode'][_0x1453e5(0x214)]]:_0x1453e5(0x24e),[_0x1b8fab['CmdRspCode'][_0x1453e5(0x430)]]:_0x1453e5(0x3e3),[_0x1b8fab['CmdRspCode'][_0x1453e5(0x40b)]]:_0x1453e5(0x499)},_0xf4dd52=class extends _0x15f21c[_0x1453e5(0x266)]{get['sessionStatus'](){const _0x1ec056=_0x1453e5;return this['_sessionStatus$'][_0x1ec056(0x459)]();}constructor(_0x3271d0,_0xc1f7de,_0x568759,_0x545ca7,_0x26e89a,_0x22b5a1,_0x408b15,_0x214b49){const _0x9469f2=_0x1453e5;super(),this[_0x9469f2(0x35c)]=_0x3271d0,this[_0x9469f2(0x2ec)]=_0x568759,this[_0x9469f2(0x22d)]=_0x545ca7,this[_0x9469f2(0x43b)]=_0x26e89a,this[_0x9469f2(0x399)]=_0x22b5a1,this['_collaborationUIEventService']=_0x408b15,this[_0x9469f2(0x455)]=_0x214b49,_0x14249f(this,_0x9469f2(0x23c),new _0x57cf55[(_0x9469f2(0x442))](0x0)),_0x14249f(this,_0x9469f2(0x40e),this['_sessionStatus$'][_0x9469f2(0x35d)]()),_0x14249f(this,'_event$',new _0x57cf55[(_0x9469f2(0x50f))]()),_0x14249f(this,'event$',this[_0x9469f2(0x206)]['asObservable']()),_0x14249f(this,_0x9469f2(0x23f),void 0x0),_0x14249f(this,'_socketMessageSubscription',void 0x0),_0x14249f(this,_0x9469f2(0x4ae),void 0x0),_0x14249f(this,'_shouldReportTelemetry',!0x1),_0x14249f(this,_0x9469f2(0x3e1),null),this[_0x9469f2(0x472)]=!!this[_0x9469f2(0x455)],_0xc1f7de[_0x9469f2(0x469)]((0x0,_0x57cf55[_0x9469f2(0x25c)])(this[_0x9469f2(0x46d)]))['subscribe'](_0x372f17=>{const _0x17cf3c=_0x9469f2;if(_0x372f17!==void 0x0){if(this[_0x17cf3c(0x23f)]=_0x372f17,_0x372f17)this[_0x17cf3c(0x392)](_0x372f17),this[_0x17cf3c(0x413)]=_0x372f17['message$']['subscribe'](_0xdf20c0=>{const _0x25e990=_0x17cf3c;_0xdf20c0[_0x25e990(0x234)]===this[_0x25e990(0x35c)]&&this[_0x25e990(0x474)](_0xdf20c0);});else{var _0xc5eb89;this[_0x17cf3c(0x31f)](),this[_0x17cf3c(0x23c)][_0x17cf3c(0x492)](0x2),(_0xc5eb89=this['_socketMessageSubscription'])==null||_0xc5eb89['unsubscribe'](),this[_0x17cf3c(0x413)]=null;}}});}['getMemberID'](){const _0x5e6bfc=_0x1453e5;var _0x37e42c,_0x214373;return(_0x37e42c=(_0x214373=this[_0x5e6bfc(0x23f)])==null?void 0x0:_0x214373[_0x5e6bfc(0x4ce)])==null?null:_0x37e42c;}['dispose'](){const _0x55d2ea=_0x1453e5;super[_0x55d2ea(0x493)](),this[_0x55d2ea(0x425)](),this['dispose$'][_0x55d2ea(0x492)](),this['dispose$'][_0x55d2ea(0x1f2)]();}['close'](){const _0x59d064=_0x1453e5;var _0x22411c,_0x298392;this[_0x59d064(0x31f)](),(_0x22411c=this['_socket'])==null||_0x22411c['send']({'cmd':_0x1b8fab['CombCmd'][_0x59d064(0x3e6)],'data':{'roomID':this[_0x59d064(0x35c)]}}),(_0x298392=this[_0x59d064(0x23f)])==null||_0x298392[_0x59d064(0x425)](),this[_0x59d064(0x206)][_0x59d064(0x1f2)](),this[_0x59d064(0x23c)][_0x59d064(0x1f2)]();}[_0x1453e5(0x474)](_0x1b9b38){const _0x1687f3=_0x1453e5;_0x1b9b38[_0x1687f3(0x500)]===_0x1b8fab[_0x1687f3(0x506)]['JOIN']?this['_onJoinRoomEvent'](_0x1b9b38):_0x1b9b38['cmd']===_0x1b8fab[_0x1687f3(0x506)][_0x1687f3(0x4b6)]&&this['_onRecvEvent'](_0x1b9b38);}['_joinRoom'](_0x2019e7){const _0xa71056=_0x1453e5;this[_0xa71056(0x23c)][_0xa71056(0x492)](0x1),_0x2019e7[_0xa71056(0x344)]({'cmd':_0x1b8fab['CombCmd']['JOIN'],'routeKey':this[_0xa71056(0x35c)],'routeType':'','data':{'rooms':[{'roomID':this[_0xa71056(0x35c)]}]}});}[_0x1453e5(0x4bc)](_0x507a06){const _0x13f1ed=_0x1453e5;var _0x512892;if(_0x507a06[_0x13f1ed(0x1fd)]in _0xc4b44c){this['_collaborationUIEventService'][_0x13f1ed(0x400)]({'id':_0x13f1ed(0x3f8),'data':_0xc4b44c[_0x507a06[_0x13f1ed(0x1fd)]]}),this[_0x13f1ed(0x23c)][_0x13f1ed(0x492)](0x2);return;}this[_0x13f1ed(0x23c)][_0x13f1ed(0x492)](0x3);let _0x174cd6=(_0x512892=_0x507a06['data'][_0x13f1ed(0x31d)][this[_0x13f1ed(0x35c)]])==null?void 0x0:_0x512892['members'];_0x174cd6&&_0x174cd6['forEach'](_0x5b47d8=>this[_0x13f1ed(0x43b)][_0x13f1ed(0x3bb)](this[_0x13f1ed(0x35c)],_0x5b47d8));}[_0x1453e5(0x4e3)](_0x4e71b0){const _0x194832=_0x1453e5;try{let _0x84e1a=_0x4e71b0[_0x194832(0x268)];switch(_0x84e1a[_0x194832(0x2b4)]){case _0x37511f[_0x194832(0x342)][_0x194832(0x447)]:this[_0x194832(0x396)](_0x84e1a),this[_0x194832(0x206)]['next'](_0x84e1a);break;case _0x37511f['CollaborationEvent'][_0x194832(0x366)]:this[_0x194832(0x300)](_0x84e1a),this[_0x194832(0x206)][_0x194832(0x492)](_0x84e1a);break;case _0x37511f['CollaborationEvent'][_0x194832(0x43e)]:case _0x37511f[_0x194832(0x342)][_0x194832(0x394)]:this[_0x194832(0x276)](),this[_0x194832(0x219)](),this[_0x194832(0x206)]['next'](_0x84e1a);break;case _0x37511f[_0x194832(0x342)]['MSG_FOR_ERROR']:this[_0x194832(0x2ec)]['error'](_0x194832(0x4e4)+JSON['stringify'](_0x84e1a)),this[_0x194832(0x206)][_0x194832(0x492)](_0x84e1a);break;case _0x37511f[_0x194832(0x342)][_0x194832(0x2f0)]:this['_commentService']['onCommentUpdate'](_0x84e1a['data']),this[_0x194832(0x206)]['next'](_0x84e1a);break;default:this['_event$'][_0x194832(0x492)](_0x84e1a);}}catch(_0x2cfaa0){this['_logService'][_0x194832(0x357)](_0x2cfaa0,_0x4e71b0);}}['_onUserJoin'](_0x40575f){const _0xe777e9=_0x1453e5;this[_0xe777e9(0x43b)][_0xe777e9(0x3bb)](this[_0xe777e9(0x35c)],_0x40575f[_0xe777e9(0x268)]);}['_onUserLeave'](_0x494553){const _0x11e4cb=_0x1453e5;this['_memberService'][_0x11e4cb(0x4ab)](this[_0x11e4cb(0x35c)],_0x494553['data'][_0x11e4cb(0x4ce)]);}async[_0x1453e5(0x344)](_0x8faccc,_0x53fd47){const _0x3655c2=_0x1453e5;if(this[_0x3655c2(0x36a)]!==0x3||!this['_socket'])throw Error(_0x3655c2(0x39e));try{_0x8faccc[_0x3655c2(0x2b4)]===_0x37511f[_0x3655c2(0x342)][_0x3655c2(0x24f)]&&(this[_0x3655c2(0x3d6)](),this['_startTelemetryCollaborationNewChangeset'](_0x8faccc)),this[_0x3655c2(0x23f)][_0x3655c2(0x344)]({'cmd':_0x1b8fab['CombCmd']['INGEST'],'routeKey':_0x53fd47,'routeType':'','data':_0x8faccc});}catch(_0x1514f7){this[_0x3655c2(0x2ec)]['error'](_0x1514f7);}}['_scheduleCollaborationTimeoutTimer'](){const _0x1f6bc1=_0x1453e5;var _0x3b6616;this[_0x1f6bc1(0x4ae)]=setTimeout(()=>{const _0x1faa64=_0x1f6bc1;this[_0x1faa64(0x4ae)]=null,this[_0x1faa64(0x3a7)][_0x1faa64(0x400)]({'id':_0x1faa64(0x4c1)});},(_0x3b6616=this[_0x1f6bc1(0x22d)]['getConfig'](_0x1f6bc1(0x220)))==null?_0x1f5766:_0x3b6616);}[_0x1453e5(0x219)](){const _0x473c5e=_0x1453e5;this[_0x473c5e(0x4ae)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x473c5e(0x4ae)]=null);}[_0x1453e5(0x236)](_0x205437){const _0x328b78=_0x1453e5;if(!this[_0x328b78(0x472)])return;let {data:_0x21b702}=_0x205437,{unitID:_0x53d6b2,changeset:_0x18f8fe}=_0x21b702,{mutations:_0xabd215,type:_0x69741e}=_0x18f8fe;this[_0x328b78(0x3e1)]={'unitId':_0x53d6b2,'type':_0x69741e,'startTime':performance[_0x328b78(0x40c)](),'stopTime':0x0,'duration':0x0,'size':_0x57c3ed(_0xabd215)};}[_0x1453e5(0x276)](){const _0x14674f=_0x1453e5;if(this['_shouldReportTelemetry']){if(!this[_0x14674f(0x3e1)]){this[_0x14674f(0x2ec)][_0x14674f(0x357)](_0x14674f(0x4e1),_0x14674f(0x37d));return;}this[_0x14674f(0x3e1)][_0x14674f(0x23e)]=performance[_0x14674f(0x40c)](),this[_0x14674f(0x3e1)][_0x14674f(0x304)]=this['_telemetryInfo'][_0x14674f(0x23e)]-this[_0x14674f(0x3e1)][_0x14674f(0x3a1)],this['_telemetryService'][_0x14674f(0x2a0)](_0x14674f(0x4d5),this[_0x14674f(0x3e1)]),this[_0x14674f(0x3e1)]=null;}}[_0x1453e5(0x31f)](){this['_telemetryInfo']=null;}};_0xf4dd52=_0x23bcbc([_0x20187e(0x2,_0x15f21c[_0x1453e5(0x3fc)]),_0x20187e(0x3,_0x15f21c[_0x1453e5(0x488)]),_0x20187e(0x4,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x3feb5b)),_0x20187e(0x5,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x5b555c)),_0x20187e(0x6,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x44a5ef)),_0x20187e(0x7,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x1ae6d5[_0x1453e5(0x242)]))],_0xf4dd52);let _0x2bb040=(0x0,_0x15f21c['createIdentifier'])('collaboration-client.local-cache-service');function _0x19d226(_0x200e57){const _0x32fc78=_0x1453e5;return _0x32fc78(0x497)+_0x200e57;}function _0x5a02a6(_0x251a5a){const _0x1d582e=_0x1453e5;let {unitID:_0x40a8d9,mutations:_0x42d79f}=_0x251a5a;return{'unitId':_0x40a8d9,'subUnitId':_0x42d79f[_0x1d582e(0x22f)]>0x0?_0x42d79f[0x0][_0x1d582e(0x486)]['subUnitId']:null};}let _0x53d349=class{constructor(_0x53aa2c,_0x3ff277,_0x36efe2){const _0x53815e=_0x1453e5;this[_0x53815e(0x3df)]=_0x53aa2c,this[_0x53815e(0x4c3)]=_0x3ff277,this[_0x53815e(0x457)]=_0x36efe2;}['transformSelections'](_0x187e98){const _0x2c7777=_0x1453e5;var _0x4a8fe9,_0x5ee649;let _0x4c6552=this[_0x2c7777(0x3df)][_0x2c7777(0x405)](_0x5dbd34[_0x2c7777(0x2d7)]),{unitId:_0x385756,subUnitId:_0x14d4d6}=_0x5a02a6(_0x187e98),_0x4e3414=_0x4c6552==null?void 0x0:_0x4c6552[_0x2c7777(0x3be)](_0x385756)['getCurrentSelections'](),_0x386f76=(_0x4a8fe9=this[_0x2c7777(0x457)][_0x2c7777(0x260)](_0x385756))==null||(_0x4a8fe9=_0x4a8fe9[_0x2c7777(0x419)]())==null?void 0x0:_0x4a8fe9['getSheetId']();if(_0x4e3414[_0x2c7777(0x22f)]===0x0||!_0x385756||!_0x14d4d6)return;let _0x1011ea=[{'id':_0x5dbd34[_0x2c7777(0x2d8)]['id'],'params':{'unitId':_0x385756,'subUnitId':_0x386f76,'selections':_0x15f21c[_0x2c7777(0x28a)][_0x2c7777(0x30a)](_0x4e3414)}}],_0x35630b=this[_0x2c7777(0x4c3)][_0x2c7777(0x4f4)](_0x187e98,_0x1011ea);if(!(0x0,_0x37511f[_0x2c7777(0x27a)])(_0x35630b))throw _0x35630b[_0x2c7777(0x357)];let _0x2ff5e9=(_0x5ee649=_0x35630b[_0x2c7777(0x3f7)][0x0])==null||(_0x5ee649=_0x5ee649[_0x2c7777(0x486)])==null?void 0x0:_0x5ee649[_0x2c7777(0x2bb)];if(Array[_0x2c7777(0x42d)](_0x2ff5e9)&&_0x2ff5e9['length']){if(_0x2ff5e9[_0x2c7777(0x22f)]===_0x1011ea[0x0][_0x2c7777(0x486)][_0x2c7777(0x2bb)][_0x2c7777(0x22f)]&&_0x2ff5e9[_0x2c7777(0x4b8)]((_0x4603ae,_0x8c5eba)=>_0x15f21c[_0x2c7777(0x3e7)]['equals'](_0x4603ae['range'],_0x1011ea[0x0]['params'][_0x2c7777(0x2bb)][_0x8c5eba][_0x2c7777(0x30e)])))return;this[_0x2c7777(0x3df)]['get'](_0x15f21c[_0x2c7777(0x3e9)])[_0x2c7777(0x4a8)](_0x5dbd34[_0x2c7777(0x2d8)]['id'],{'unitId':_0x385756,'subUnitId':_0x386f76,'selections':_0x2ff5e9});}}};_0x53d349=_0x23bcbc([_0x20187e(0x0,(0x0,_0x15f21c['Inject'])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x1,_0x37511f[_0x1453e5(0x274)]),_0x20187e(0x2,_0x15f21c[_0x1453e5(0x22c)])],_0x53d349);let _0x7c093b=(0x0,_0x15f21c[_0x1453e5(0x2d3)])(_0x1453e5(0x321)),_0x4a91b3=function(_0x3b3fdf){const _0x2107c8=_0x1453e5;return _0x3b3fdf[_0x3b3fdf['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2107c8(0x23a),_0x3b3fdf[_0x3b3fdf['OTHER_CLIENTS_EDITING']=0x1]=_0x2107c8(0x4c9),_0x3b3fdf;}({}),_0x4ffd90=_0x1453e5(0x458);Symbol(_0x4ffd90);let _0x188d4c={};function _0x1594e7(_0xfd2cbd){const _0x5976bd=_0x1453e5;var _0x30ff2c;return!!((_0x30ff2c=_0xfd2cbd['params'])!=null&&_0x30ff2c[_0x5976bd(0x249)]);}let _0x5e6014=new Set([_0x5dbd34[_0x1453e5(0x4af)]['id']]);function _0x45f270(_0x1cff80,_0x44500b,_0x3f12e4,_0x3e424b,_0x132f70){const _0x488f76=_0x1453e5;var _0x411e2b,_0x22563f,_0x5ec9af,_0x196524;let _0x333c1c=[];for(let _0x42dd4d of _0x1cff80){if(_0x5e6014[_0x488f76(0x508)](_0x42dd4d['id'])){if(_0x333c1c['length']>0x0)break;_0x333c1c['push'](_0x42dd4d);break;}if(_0x1594e7(_0x42dd4d)){if(_0x333c1c[_0x488f76(0x22f)]>0x0)break;_0x333c1c[_0x488f76(0x4d0)](_0x42dd4d);break;}_0x333c1c[_0x488f76(0x4d0)](_0x42dd4d);}let _0x43e292=(_0x411e2b=(_0x22563f=_0x132f70[_0x488f76(0x2ac)]())==null?void 0x0:_0x22563f[_0x488f76(0x468)])==null?_0x488f76(0x42c):_0x411e2b,_0x5a8e07=(_0x5ec9af=(_0x196524=_0x132f70['getCurrentUser']())==null?void 0x0:_0x196524[_0x488f76(0x4ce)])==null?_0x488f76(0x42c):_0x5ec9af;return{'changeset':{'unitID':_0x44500b,'type':(0x0,_0x37511f[_0x488f76(0x420)])(_0x3f12e4[_0x488f76(0x2f6)](_0x44500b)),'baseRev':_0x3e424b[_0x488f76(0x215)](_0x44500b),'revision':0x0,'userID':_0x43e292,'memberID':_0x5a8e07,'mutations':_0x333c1c},'pendingMutations':_0x1cff80['slice'](_0x333c1c[_0x488f76(0x22f)])};}function _0x6847e4(_0x1c21f5,_0x5922c6,_0x3d9319,_0x365a94,_0x4d8393){const _0xc7ecbc=_0x1453e5;var _0x1ec86a,_0x2c36fe,_0x263836,_0xeff301;let _0x106e10=[_0x1c21f5['reduce']((_0x530c72,_0x218136)=>{const _0x6fcc94=_0x2103;var _0xcb9db4;let {id:_0x3c654b}=_0x530c72,{id:_0x5cb584,type:_0xa4ecc8}=_0x218136,_0x159336=(_0xcb9db4=_0x530c72[_0x6fcc94(0x486)])==null?{'actions':null}:_0xcb9db4,_0x59739f=_0x218136[_0x6fcc94(0x486)];if(_0x3c654b&&_0x3c654b!==_0x5cb584)throw Error(_0x6fcc94(0x2f7)+_0x3c654b+_0x6fcc94(0x438)+_0x5cb584+'.');return{..._0x530c72,'id':_0x5cb584,'type':_0xa4ecc8,'params':{'unitId':_0x59739f[_0x6fcc94(0x477)],'textRanges':_0x59739f[_0x6fcc94(0x3b6)],'actions':_0x15f21c[_0x6fcc94(0x49e)][_0x6fcc94(0x323)](_0x159336[_0x6fcc94(0x3f3)],_0x59739f[_0x6fcc94(0x3f3)])}};},{})],_0x3de3b2=(_0x1ec86a=(_0x2c36fe=_0x4d8393['getCurrentUser']())==null?void 0x0:_0x2c36fe[_0xc7ecbc(0x468)])==null?_0xc7ecbc(0x42c):_0x1ec86a,_0x2cbd53=(_0x263836=(_0xeff301=_0x4d8393[_0xc7ecbc(0x2ac)]())==null?void 0x0:_0xeff301[_0xc7ecbc(0x4ce)])==null?_0xc7ecbc(0x42c):_0x263836;return{'changeset':{'unitID':_0x5922c6,'type':(0x0,_0x37511f[_0xc7ecbc(0x420)])(_0x3d9319[_0xc7ecbc(0x2f6)](_0x5922c6)),'baseRev':_0x365a94[_0xc7ecbc(0x215)](_0x5922c6),'revision':0x0,'userID':_0x3de3b2,'memberID':_0x2cbd53,'mutations':_0x106e10},'pendingMutations':[]};}function _0x430714(_0x2d8f6e,_0x503f13){const _0x502a0e=_0x1453e5;let _0x551c73=new _0x57cf55[(_0x502a0e(0x4ee))](0x1);return setTimeout(()=>_0x551c73[_0x502a0e(0x492)](_0x503f13),_0x2d8f6e),_0x551c73[_0x502a0e(0x35d)]()[_0x502a0e(0x469)]((0x0,_0x57cf55[_0x502a0e(0x3ee)])(0x1));}var _0x4ee6dd,_0x19e0dc,_0x1c607b;let _0x5a1771=function(_0x5ca3a1){const _0x2f1854=_0x1453e5;return _0x5ca3a1[_0x2f1854(0x305)]=_0x2f1854(0x2f4),_0x5ca3a1[_0x2f1854(0x4a9)]=_0x2f1854(0x2fd),_0x5ca3a1['PENDING']='pending',_0x5ca3a1[_0x2f1854(0x26e)]='awaiting',_0x5ca3a1[_0x2f1854(0x4bb)]='awaiting_with_pending',_0x5ca3a1[_0x2f1854(0x4c6)]=_0x2f1854(0x397),_0x5ca3a1[_0x2f1854(0x280)]='conflict',_0x5ca3a1[_0x2f1854(0x221)]=_0x2f1854(0x410),_0x5ca3a1;}({}),_0x45f1e5=0x4e20,_0x3e1ff7=0x2bf20;var _0x2085d4=class{constructor(_0x57e892,_0x5b404f,_0x49a775,_0x1678f6,_0x1faf18,_0x54dfd8,_0x553b1f,_0xdd5ec0,_0x4371c5){const _0x5397af=_0x1453e5;this[_0x5397af(0x47f)]=_0x57e892,this[_0x5397af(0x293)]=_0x5b404f,this['_handler']=_0x1faf18,this[_0x5397af(0x2e0)]=_0x54dfd8,this['_undoRedoService']=_0x553b1f,this[_0x5397af(0x35e)]=_0xdd5ec0,this[_0x5397af(0x364)]=_0x4371c5,_0x14249f(this,_0x5397af(0x4b9),null),_0x14249f(this,_0x5397af(0x210),[]),this[_0x5397af(0x4b9)]=_0x49a775,this['_pendingMutations']=_0x1678f6;}['_checkMissing'](_0x5cf785){const _0x24a847=_0x1453e5;let _0x4060e4=this[_0x24a847(0x35e)][_0x24a847(0x215)](this[_0x24a847(0x47f)]);return _0x5cf785[_0x24a847(0x3eb)]>_0x4060e4+0x1?(this[_0x24a847(0x2f1)][_0x24a847(0x279)]({'from':_0x4060e4,'to':_0x5cf785['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1d37a5){const _0x52c519=_0x1453e5;this['_undoRedoService'][_0x52c519(0x281)](this[_0x52c519(0x47f)],_0x1d37a5);}[_0x1453e5(0x407)](_0x379112){const _0x2b7920=_0x1453e5;var _0x151ff5,_0x5d19d5;(_0x151ff5=(_0x5d19d5=this[_0x2b7920(0x2f1)])[_0x2b7920(0x307)])==null||_0x151ff5[_0x2b7920(0x21a)](_0x5d19d5,_0x379112);}[_0x1453e5(0x2ad)](_0x1b4ed2){const _0x1d0aa5=_0x1453e5;var _0x571e8e,_0xfaa6bc;return(_0x571e8e=(_0xfaa6bc=this['_handler'])[_0x1d0aa5(0x345)])==null?void 0x0:_0x571e8e[_0x1d0aa5(0x21a)](_0xfaa6bc,_0x1b4ed2);}[_0x1453e5(0x380)](_0x231a44){const _0x1c0ca2=_0x1453e5;var _0x2acd63,_0x4f6d59;return(_0x2acd63=(_0x4f6d59=this[_0x1c0ca2(0x2f1)])['onTransformState'])==null?void 0x0:_0x2acd63[_0x1c0ca2(0x21a)](_0x4f6d59,_0x231a44);}[_0x1453e5(0x3ce)](_0x34ddec){const _0x159433=_0x1453e5;var _0x4a289a,_0x3eaf86,_0x227e1e;return(_0x4a289a=(_0x3eaf86=(_0x227e1e=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3eaf86[_0x159433(0x21a)](_0x227e1e,_0x34ddec))==null?_0x34ddec:_0x4a289a;}[_0x1453e5(0x20d)](_0x4ab133){const _0x34803f=_0x1453e5;var _0x543a4d,_0x25d921,_0x176f32;return(_0x543a4d=(_0x25d921=(_0x176f32=this[_0x34803f(0x2f1)])[_0x34803f(0x350)])==null?void 0x0:_0x25d921[_0x34803f(0x21a)](_0x176f32,_0x4ab133))==null?_0x4ab133:_0x543a4d;}[_0x1453e5(0x426)](_0x47b677){const _0x462bb7=_0x1453e5;if(this[_0x462bb7(0x293)]===_0x15f21c['UniverInstanceType'][_0x462bb7(0x301)]){let {unitID:_0x17b7a3,mutations:_0xfcb516,memberID:_0x1b9a10}=_0x47b677,_0x47d124=_0xfcb516['length']>0x0?_0xfcb516[0x0][_0x462bb7(0x486)][_0x462bb7(0x3b6)]:[];if(Array['isArray'](_0x47d124)&&_0x47d124[_0x462bb7(0x22f)]>0x0){var _0x6cf1ad,_0x49dc73;(_0x6cf1ad=(_0x49dc73=this[_0x462bb7(0x2f1)])['onSyncEditingCollabCursor'])==null||_0x6cf1ad[_0x462bb7(0x21a)](_0x49dc73,{'unitID':_0x17b7a3,'memberID':_0x1b9a10,'textRanges':_0x47d124});}}}['_updateLocalCache'](){const _0x48b2e6=_0x1453e5;var _0x55f43e;(_0x55f43e=this[_0x48b2e6(0x364)])==null||_0x55f43e['updateOfflineData'](this[_0x48b2e6(0x47f)],this['type'],this[_0x48b2e6(0x4b9)],this[_0x48b2e6(0x210)]);}[_0x1453e5(0x372)](){const _0x341f73=_0x1453e5;return this[_0x341f73(0x35e)][_0x341f73(0x215)](this['unitID']);}[_0x1453e5(0x45d)](){const _0x260c51=_0x1453e5;this[_0x260c51(0x35e)][_0x260c51(0x20a)](this[_0x260c51(0x47f)]);}[_0x1453e5(0x4df)](_0xbc02d){const _0x388cdc=_0x1453e5;let _0x516692=this['_transformRemoteChangesetByIMECache'](_0xbc02d);_0x516692=this['_transformRemoteChangesetByStateCache'](_0x516692);let _0x5dba1c=(0x0,_0x15f21c[_0x388cdc(0x445)])(_0x516692[_0x388cdc(0x3d5)],this[_0x388cdc(0x2e0)],{'fromCollab':!0x0});if(!_0x5dba1c[_0x388cdc(0x1f0)]){var _0x362b13;throw _0x5dba1c[_0x388cdc(0x357)]instanceof Error?_0x5dba1c[_0x388cdc(0x357)]:Error((_0x362b13=_0x5dba1c[_0x388cdc(0x357)])==null?_0x388cdc(0x2a6):_0x362b13);}this[_0x388cdc(0x2ad)](_0x516692),this[_0x388cdc(0x380)](_0x516692),this[_0x388cdc(0x2b8)](_0xbc02d),this[_0x388cdc(0x407)](_0x516692),this[_0x388cdc(0x426)](_0x516692),this[_0x388cdc(0x45d)]();}};let _0x301f3f=class extends _0x2085d4{constructor(_0x372c9e,_0x52430e,_0x904939,_0x5d286e,_0x17ad6a,_0x3b4677,_0x526991,_0x239ceb,_0x51b265,_0x4f1166){const _0x9ae8f2=_0x1453e5;super(_0x372c9e,_0x52430e,null,[],_0x904939,_0x526991,_0x3b4677,_0x5d286e,_0x4f1166),this['_injector']=_0x17ad6a,this[_0x9ae8f2(0x2ec)]=_0x239ceb,this['_transformService']=_0x51b265,this['localCacheService']=_0x4f1166,_0x14249f(this,_0x9ae8f2(0x29a),_0x9ae8f2(0x2fd));}['appendMutation'](_0x4b4d10){const _0x4beb6f=_0x1453e5;let _0x1791fe=this[_0x4beb6f(0x3df)]['createInstance'](_0xe56e96,this[_0x4beb6f(0x47f)],this[_0x4beb6f(0x293)],[_0x4b4d10],this[_0x4beb6f(0x2f1)]);return _0x1791fe[_0x4beb6f(0x4ed)](),_0x1791fe[_0x4beb6f(0x39c)](),_0x1791fe;}[_0x1453e5(0x421)](_0x22217f){const _0x1bce35=_0x1453e5;if(this[_0x1bce35(0x320)](_0x22217f))return this[_0x1bce35(0x3df)][_0x1bce35(0x48b)](_0x12b492,this[_0x1bce35(0x47f)],this[_0x1bce35(0x293)],null,[],null,[_0x22217f],this[_0x1bce35(0x2f1)]);try{let _0x1b2949=this[_0x1bce35(0x4c3)][_0x1bce35(0x4f4)](_0x22217f,[_0x37511f[_0x1bce35(0x298)]]);if((0x0,_0x37511f[_0x1bce35(0x27a)])(_0x1b2949)){let {c1Prime:_0x2dcc67}=_0x1b2949;return this[_0x1bce35(0x4df)](_0x2dcc67),this;}throw _0x1b2949['error'];}catch(_0x3cf0ad){return this[_0x1bce35(0x2ec)][_0x1bce35(0x357)](_0x3cf0ad),this[_0x1bce35(0x258)](!0x1);}}[_0x1453e5(0x258)](_0x896cd9){const _0x54da2b=_0x1453e5;return this['_injector'][_0x54da2b(0x48b)](_0x1617da,this[_0x54da2b(0x47f)],this['type'],null,[],this[_0x54da2b(0x2f1)],_0x896cd9);}[_0x1453e5(0x4c4)](_0x26d523){const _0x16a505=_0x1453e5;if(_0x26d523['revision']<=this['_getCurrentRevision']())return this;throw Error(_0x16a505(0x3cc));}[_0x1453e5(0x2c1)](){const _0x458d03=_0x1453e5;throw Error(_0x458d03(0x20f));}[_0x1453e5(0x4da)](){return this;}[_0x1453e5(0x2f9)](){const _0x42c3fc=_0x1453e5;return this[_0x42c3fc(0x3df)][_0x42c3fc(0x48b)](_0x49a25b,this['unitID'],this[_0x42c3fc(0x293)],null,[],this[_0x42c3fc(0x2f1)]);}[_0x1453e5(0x212)](){return this;}[_0x1453e5(0x4fd)](){const _0x15bafc=_0x1453e5;throw Error(_0x15bafc(0x270));}['fetchMiss'](){const _0x455889=_0x1453e5;let _0x13855c=this[_0x455889(0x35e)][_0x455889(0x215)](this[_0x455889(0x47f)]);return this[_0x455889(0x2f1)]['onMissingChangesets']({'from':_0x13855c,'to':0x0}),this[_0x455889(0x3df)][_0x455889(0x48b)](_0x12b492,this[_0x455889(0x47f)],this[_0x455889(0x293)],null,[],null,[],this[_0x455889(0x2f1)]);}};_0x301f3f=_0x23bcbc([_0x20187e(0x3,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x37511f[_0x1453e5(0x4e2)])),_0x20187e(0x4,(0x0,_0x15f21c['Inject'])(_0x15f21c['Injector'])),_0x20187e(0x5,_0x15f21c[_0x1453e5(0x359)]),_0x20187e(0x6,_0x15f21c[_0x1453e5(0x3e9)]),_0x20187e(0x7,_0x15f21c[_0x1453e5(0x3fc)]),_0x20187e(0x8,_0x37511f['ITransformService']),_0x20187e(0x9,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x2bb040))],_0x301f3f);let _0xe56e96=_0x4ee6dd=class extends _0x2085d4{constructor(_0x3b5836,_0x38202b,_0x410636,_0x5030f2,_0x109649,_0x45b501,_0x35720d,_0x5eb1a8,_0x58ae1a,_0x5263f5,_0x4c784a,_0x46cf7f,_0x38b97c,_0xea0685){const _0x21b5ae=_0x1453e5;super(_0x3b5836,_0x38202b,null,_0x410636,_0x5030f2,_0x58ae1a,_0x38b97c,_0x45b501,_0xea0685),this[_0x21b5ae(0x3df)]=_0x109649,this[_0x21b5ae(0x43b)]=_0x35720d,this[_0x21b5ae(0x2ec)]=_0x5eb1a8,this[_0x21b5ae(0x22d)]=_0x5263f5,this['_transformService']=_0x4c784a,this[_0x21b5ae(0x3c2)]=_0x46cf7f,_0x14249f(this,_0x21b5ae(0x29a),_0x21b5ae(0x38d)),_0x14249f(this,'_scheduleCompleteTimestamp',null),_0x14249f(this,_0x21b5ae(0x4b3),null);}[_0x1453e5(0x20b)](_0x1aae71){const _0x395bc2=_0x1453e5;return this[_0x395bc2(0x210)][_0x395bc2(0x4d0)](_0x1aae71),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0xaee5a7){const _0x547778=_0x1453e5;if(this[_0x547778(0x320)](_0xaee5a7))return this[_0x547778(0x2c7)](),this[_0x547778(0x3df)][_0x547778(0x48b)](_0x12b492,this[_0x547778(0x47f)],this['type'],null,this[_0x547778(0x210)],null,[_0xaee5a7],this[_0x547778(0x2f1)]);try{let _0x263986=this[_0x547778(0x4c3)][_0x547778(0x4f4)](_0xaee5a7,this['_pendingMutations']);if((0x0,_0x37511f[_0x547778(0x27a)])(_0x263986)){let {c1Prime:_0x7da5da,m2Prime:_0x582de0}=_0x263986;this[_0x547778(0x4df)](_0x7da5da);let _0x42d5cd=this[_0x547778(0x3df)][_0x547778(0x48b)](_0x4ee6dd,this[_0x547778(0x47f)],this[_0x547778(0x293)],_0x582de0,this['_handler']);this[_0x547778(0x2c7)]();let _0x3f8172=new Date()[_0x547778(0x4c7)](),_0x5b513d=this[_0x547778(0x2b1)]?Math[_0x547778(0x4fb)](this['_scheduleCompleteTimestamp']-_0x3f8172,0x0):this[_0x547778(0x2cf)]();return _0x42d5cd['_schedule'](_0x5b513d),_0x42d5cd;}throw _0x263986[_0x547778(0x357)];}catch(_0x5d10be){return this['_logService'][_0x547778(0x357)](_0x5d10be),this[_0x547778(0x258)](!0x1);}}[_0x1453e5(0x4c4)](_0x53327b){const _0x249925=_0x1453e5;if(_0x53327b[_0x249925(0x3eb)]<=this[_0x249925(0x372)]())return this;throw Error(_0x249925(0x228));}[_0x1453e5(0x2c1)](){throw Error('[PendingState]:\x20received\x20rejection.');}[_0x1453e5(0x4da)](){return this;}[_0x1453e5(0x2f9)](){const _0x441caa=_0x1453e5;return this[_0x441caa(0x2c7)](),this[_0x441caa(0x3df)]['createInstance'](_0x49a25b,this[_0x441caa(0x47f)],this[_0x441caa(0x293)],null,this['_pendingMutations'],this['_handler']);}[_0x1453e5(0x212)](){return this;}[_0x1453e5(0x4ed)](_0x3aca20){const _0x1ac8ca=_0x1453e5;let _0xd12e2=_0x3aca20==null?this['_getSendChangesetTimeout']():_0x3aca20;this[_0x1ac8ca(0x2b1)]=new Date()[_0x1ac8ca(0x4c7)]()+_0xd12e2,this[_0x1ac8ca(0x4b3)]=setTimeout(()=>{const _0x90251=_0x1ac8ca;this[_0x90251(0x2c7)]();let _0x78f961=null;switch(this[_0x90251(0x293)]){case _0x15f21c[_0x90251(0x3b3)]['UNIVER_SHEET']:_0x78f961=_0x45f270(this[_0x90251(0x210)],this['unitID'],this[_0x90251(0x3c2)],this['_revisionService'],this[_0x90251(0x43b)]);break;case _0x15f21c[_0x90251(0x3b3)][_0x90251(0x301)]:_0x78f961=this['_pendingMutations'][_0x90251(0x4b8)](_0x51175e=>_0x51175e['id']===_0x93b6b9[_0x90251(0x390)]['id'])?_0x6847e4(this['_pendingMutations'],this[_0x90251(0x47f)],this[_0x90251(0x3c2)],this[_0x90251(0x35e)],this[_0x90251(0x43b)]):_0x45f270(this[_0x90251(0x210)],this['unitID'],this[_0x90251(0x3c2)],this['_revisionService'],this['_memberService']);break;default:throw Error(_0x90251(0x45f)+this[_0x90251(0x293)]+_0x90251(0x296));}let {changeset:_0x6b7c43,pendingMutations:_0x2e4c7b}=_0x78f961;this[_0x90251(0x2f1)]['onSendChangeset'](_0x6b7c43);let _0x4b3998=_0x2e4c7b['length']?this[_0x90251(0x3df)][_0x90251(0x48b)](_0x451a32,this[_0x90251(0x47f)],this[_0x90251(0x293)],_0x6b7c43,_0x2e4c7b,this[_0x90251(0x2f1)],void 0x0):this[_0x90251(0x3df)][_0x90251(0x48b)](_0x393762,this[_0x90251(0x47f)],this[_0x90251(0x293)],_0x6b7c43,this[_0x90251(0x2f1)]);_0x4b3998[_0x90251(0x39c)](),this[_0x90251(0x2f1)]['onStateChange'](this,_0x4b3998);},_0xd12e2);}['_getSendChangesetTimeout'](){const _0x4671d7=_0x1453e5;var _0x587868;let _0x816fa8=this['_configService']['getConfig'](_0x4ffd90);return(_0x587868=_0x816fa8==null?void 0x0:_0x816fa8[_0x4671d7(0x441)])==null?0x7d0:_0x587868;}[_0x1453e5(0x4fd)](){throw Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1453e5(0x2c7)](){const _0x37e993=_0x1453e5;this[_0x37e993(0x4b3)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x37e993(0x4b3)]=null);}[_0x1453e5(0x258)](_0x37e118){const _0x2234e0=_0x1453e5;return this[_0x2234e0(0x2c7)](),this['_injector']['createInstance'](_0x1617da,this[_0x2234e0(0x47f)],this['type'],null,this['_pendingMutations'],this[_0x2234e0(0x2f1)],_0x37e118);}};_0xe56e96=_0x4ee6dd=_0x23bcbc([_0x20187e(0x4,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x5,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x37511f[_0x1453e5(0x4e2)])),_0x20187e(0x6,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x3feb5b)),_0x20187e(0x7,_0x15f21c[_0x1453e5(0x3fc)]),_0x20187e(0x8,_0x15f21c[_0x1453e5(0x3e9)]),_0x20187e(0x9,_0x15f21c[_0x1453e5(0x488)]),_0x20187e(0xa,_0x37511f[_0x1453e5(0x274)]),_0x20187e(0xb,_0x15f21c[_0x1453e5(0x22c)]),_0x20187e(0xc,_0x15f21c['IUndoRedoService']),_0x20187e(0xd,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x2bb040))],_0xe56e96);let _0x393762=_0x19e0dc=class extends _0x2085d4{constructor(_0x458290,_0x260a51,_0x554338,_0x43e9aa,_0x58532e,_0x2be65c,_0x323195,_0x515bfd,_0x3604a1,_0x1aa427,_0x9acd86){const _0x395206=_0x1453e5;super(_0x458290,_0x260a51,_0x554338,[],_0x43e9aa,_0x323195,_0x1aa427,_0x2be65c,_0x9acd86),this[_0x395206(0x3df)]=_0x58532e,this[_0x395206(0x2ec)]=_0x515bfd,this[_0x395206(0x4c3)]=_0x3604a1,_0x14249f(this,_0x395206(0x29a),_0x395206(0x49f)),_0x14249f(this,_0x395206(0x238),0x0),_0x14249f(this,_0x395206(0x4cd),0x0),_0x14249f(this,'_resendTimer',void 0x0),_0x14249f(this,'_sender',void 0x0);}[_0x1453e5(0x20b)](_0x569246){const _0x23816a=_0x1453e5;this[_0x23816a(0x2c7)]();let _0x945703=this['_injector'][_0x23816a(0x48b)](_0x451a32,this['unitID'],this[_0x23816a(0x293)],this[_0x23816a(0x4b9)],[_0x569246],this[_0x23816a(0x2f1)],this[_0x23816a(0x3e8)]);return _0x945703[_0x23816a(0x39c)](),_0x945703;}['onRemoteChangeset'](_0x31f1a5){const _0x516ec8=_0x1453e5;if(this[_0x516ec8(0x320)](_0x31f1a5))return this[_0x516ec8(0x2c7)](),this[_0x516ec8(0x3df)][_0x516ec8(0x48b)](_0x12b492,this[_0x516ec8(0x47f)],this[_0x516ec8(0x293)],this[_0x516ec8(0x4b9)],[],null,[_0x31f1a5],this[_0x516ec8(0x2f1)]);try{let _0x61fbd1=this[_0x516ec8(0x4c3)][_0x516ec8(0x41f)]([_0x31f1a5],[this[_0x516ec8(0x4b9)]],!0x1);if((0x0,_0x37511f[_0x516ec8(0x4ad)])(_0x61fbd1)){let {c1Prime:_0x36854b,c2Prime:_0x46f11c}=_0x61fbd1;this[_0x516ec8(0x4df)](_0x36854b[0x0]),_0x46f11c[0x0][_0x516ec8(0x2d5)]=this[_0x516ec8(0x372)](),this['_clearScheduledTask']();let _0xc1c877=this[_0x516ec8(0x3df)]['createInstance'](_0x19e0dc,this[_0x516ec8(0x47f)],this[_0x516ec8(0x293)],_0x46f11c[0x0],this['_handler']);return _0xc1c877['_updateLocalCache'](),_0xc1c877;}throw _0x61fbd1[_0x516ec8(0x357)];}catch(_0x3ebad0){return this[_0x516ec8(0x2ec)][_0x516ec8(0x357)](_0x3ebad0),this[_0x516ec8(0x258)](!0x1);}}[_0x1453e5(0x4c4)](_0x584118){const _0x230a4e=_0x1453e5;this['_clearScheduledTask']();let _0x224930=this[_0x230a4e(0x35e)]['getCurrentRevOfUnit'](this[_0x230a4e(0x47f)]);if(_0x584118[_0x230a4e(0x3eb)]<=_0x224930)return this;if(this[_0x230a4e(0x320)](_0x584118))return this[_0x230a4e(0x3df)]['createInstance'](_0x12b492,this['unitID'],this[_0x230a4e(0x293)],this[_0x230a4e(0x4b9)],[],_0x584118['revision'],[],this[_0x230a4e(0x2f1)]);this[_0x230a4e(0x45d)]();let _0x2b7a0b=this[_0x230a4e(0x3df)][_0x230a4e(0x48b)](_0x301f3f,this['unitID'],this[_0x230a4e(0x293)],this['_handler']);return _0x2b7a0b['_updateLocalCache'](),_0x2b7a0b;}[_0x1453e5(0x2c1)](_0xf457fa){const _0x374c5f=_0x1453e5;return this[_0x374c5f(0x258)](!!(_0xf457fa!=null&&_0xf457fa[_0x374c5f(0x1fb)]));}['onRemoteRetry'](_0x304e42){const _0x570a4f=_0x1453e5;return this[_0x570a4f(0x4cd)]>_0x3e1ff7?this['toggleOffline']():(this[_0x570a4f(0x3e8)]=_0x430714(this['_resendTimeout'],{'timeout':this[_0x570a4f(0x238)],'reqId':_0x304e42['reqId']}),this[_0x570a4f(0x1ff)]=this[_0x570a4f(0x3e8)][_0x570a4f(0x264)](({reqId:_0x57c22b,timeout:_0x2a823a})=>{const _0x1ebada=_0x570a4f;this[_0x1ebada(0x461)](_0x57c22b,_0x2a823a);}),this);}[_0x1453e5(0x2f9)](){const _0x28e29e=_0x1453e5;return this['_clearScheduledTask'](),this[_0x28e29e(0x3df)][_0x28e29e(0x48b)](_0x49a25b,this[_0x28e29e(0x47f)],this[_0x28e29e(0x293)],this['_awaitingChangeset'],[],this['_handler']);}[_0x1453e5(0x212)](){return this;}[_0x1453e5(0x4fd)](){const _0x170cd5=_0x1453e5;this[_0x170cd5(0x2f1)]['onSendChangeset'](this[_0x170cd5(0x4b9)]);}[_0x1453e5(0x258)](_0x4cf8ca){const _0x1e9ac3=_0x1453e5;return this['_clearScheduledTask'](),this[_0x1e9ac3(0x3df)][_0x1e9ac3(0x48b)](_0x1617da,this[_0x1e9ac3(0x47f)],this[_0x1e9ac3(0x293)],this[_0x1e9ac3(0x4b9)],[],this[_0x1e9ac3(0x2f1)],_0x4cf8ca);}[_0x1453e5(0x461)](_0x5810df,_0x3ccccc){const _0x4b8d80=_0x1453e5;var _0x5a5f16;_0x5810df===((_0x5a5f16=this[_0x4b8d80(0x4b9)])==null?void 0x0:_0x5a5f16['reqId'])&&(this[_0x4b8d80(0x4fd)](),this[_0x4b8d80(0x238)]=_0x3ccccc===0x0?0x3e8:Math[_0x4b8d80(0x46f)](_0x3ccccc*0x2,_0x45f1e5),this[_0x4b8d80(0x4cd)]+=this[_0x4b8d80(0x238)]);}[_0x1453e5(0x2c7)](){var _0x465e58;(_0x465e58=this['_sender'])==null||_0x465e58['unsubscribe'](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x393762=_0x19e0dc=_0x23bcbc([_0x20187e(0x4,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x5,(0x0,_0x15f21c['Inject'])(_0x37511f['RevisionService'])),_0x20187e(0x6,_0x15f21c[_0x1453e5(0x3e9)]),_0x20187e(0x7,_0x15f21c['ILogService']),_0x20187e(0x8,_0x37511f[_0x1453e5(0x274)]),_0x20187e(0x9,_0x15f21c['IUndoRedoService']),_0x20187e(0xa,(0x0,_0x15f21c['Optional'])(_0x2bb040))],_0x393762);let _0x451a32=_0x1c607b=class extends _0x2085d4{constructor(_0x43abcd,_0x19e108,_0x365890,_0x5c4058,_0x2c85ce,_0x50d86f,_0x464c0a,_0x464f60,_0x4cbaaf,_0x17d83b,_0x151c97,_0x541b7e,_0x58ce9a){const _0x2858ef=_0x1453e5;super(_0x43abcd,_0x19e108,_0x365890,_0x5c4058,_0x2c85ce,_0x4cbaaf,_0x541b7e,_0x464f60,_0x58ce9a),this[_0x2858ef(0x3df)]=_0x464c0a,this['_logService']=_0x17d83b,this[_0x2858ef(0x4c3)]=_0x151c97,this[_0x2858ef(0x460)]=_0x58ce9a,_0x14249f(this,'status',_0x2858ef(0x496)),_0x14249f(this,_0x2858ef(0x238),0x0),_0x14249f(this,_0x2858ef(0x4cd),0x0),_0x14249f(this,_0x2858ef(0x3e8),void 0x0),_0x14249f(this,'_sender',void 0x0),_0x50d86f&&(this[_0x2858ef(0x3e8)]=_0x50d86f,this['_sender']=this['_resendTimer'][_0x2858ef(0x264)](({reqId:_0x10de1e,timeout:_0x52ad52})=>{const _0x3c425c=_0x2858ef;this[_0x3c425c(0x461)](_0x10de1e,_0x52ad52);}));}[_0x1453e5(0x20b)](_0x5b5c5a){const _0x2c1bc2=_0x1453e5;return this[_0x2c1bc2(0x210)][_0x2c1bc2(0x4d0)](_0x5b5c5a),this;}[_0x1453e5(0x421)](_0x12106e){const _0x1cbb4d=_0x1453e5;if(this[_0x1cbb4d(0x320)](_0x12106e))return this[_0x1cbb4d(0x2c7)](),this[_0x1cbb4d(0x3df)][_0x1cbb4d(0x48b)](_0x12b492,this[_0x1cbb4d(0x47f)],this[_0x1cbb4d(0x293)],this['_awaitingChangeset'],this[_0x1cbb4d(0x210)],null,[_0x12106e],this[_0x1cbb4d(0x2f1)]);try{let _0x397e08=this[_0x1cbb4d(0x4c3)][_0x1cbb4d(0x41f)]([_0x12106e],[this['_awaitingChangeset']],!0x1);if((0x0,_0x37511f[_0x1cbb4d(0x4ad)])(_0x397e08)){let {c1Prime:_0x128b1f,c2Prime:_0x22a362}=_0x397e08,_0x37b2bb=this[_0x1cbb4d(0x4c3)][_0x1cbb4d(0x4f4)](_0x128b1f[0x0],this[_0x1cbb4d(0x210)]);if((0x0,_0x37511f[_0x1cbb4d(0x27a)])(_0x37b2bb)){let {c1Prime:_0x4693a2,m2Prime:_0x54c993}=_0x37b2bb;return this[_0x1cbb4d(0x4df)](_0x4693a2),_0x22a362[0x0][_0x1cbb4d(0x2d5)]=this[_0x1cbb4d(0x372)](),this[_0x1cbb4d(0x2c7)](),this[_0x1cbb4d(0x3df)][_0x1cbb4d(0x48b)](_0x1c607b,this['unitID'],this[_0x1cbb4d(0x293)],_0x22a362[0x0],_0x54c993,this[_0x1cbb4d(0x2f1)],void 0x0);}throw _0x37b2bb[_0x1cbb4d(0x357)];}throw _0x397e08[_0x1cbb4d(0x357)];}catch(_0xc67c9a){return this[_0x1cbb4d(0x2ec)][_0x1cbb4d(0x357)](_0xc67c9a),this[_0x1cbb4d(0x258)](!0x1);}}[_0x1453e5(0x4c4)](_0x219af1){const _0x43ed4d=_0x1453e5;this['_clearScheduledTask']();let _0x48ae69=this[_0x43ed4d(0x372)]();if(_0x219af1['revision']<=_0x48ae69)return this;if(this[_0x43ed4d(0x320)](_0x219af1))return this[_0x43ed4d(0x3df)][_0x43ed4d(0x48b)](_0x12b492,this[_0x43ed4d(0x47f)],this['type'],this[_0x43ed4d(0x4b9)],this[_0x43ed4d(0x210)],_0x219af1[_0x43ed4d(0x3eb)],[],this[_0x43ed4d(0x2f1)]);this[_0x43ed4d(0x45d)]();let _0x369fbd=this[_0x43ed4d(0x3df)][_0x43ed4d(0x48b)](_0xe56e96,this['unitID'],this[_0x43ed4d(0x293)],this[_0x43ed4d(0x210)],this[_0x43ed4d(0x2f1)]);return _0x369fbd[_0x43ed4d(0x4ed)](),_0x369fbd[_0x43ed4d(0x39c)](),_0x369fbd;}[_0x1453e5(0x2c1)](_0x165676){const _0x171872=_0x1453e5;return this[_0x171872(0x258)](!!(_0x165676!=null&&_0x165676['isPermissionRej']));}['onRemoteRetry'](_0x2d8f13){const _0x269514=_0x1453e5;return this[_0x269514(0x4cd)]>_0x3e1ff7?this[_0x269514(0x2f9)]():(this['_resendTimer']=_0x430714(this['_resendTimeout'],{'timeout':this[_0x269514(0x238)],'reqId':_0x2d8f13[_0x269514(0x37b)]}),this[_0x269514(0x1ff)]=this[_0x269514(0x3e8)][_0x269514(0x264)](({reqId:_0x416dcf,timeout:_0x3757de})=>{const _0x519a45=_0x269514;this[_0x519a45(0x461)](_0x416dcf,_0x3757de);}),this);}[_0x1453e5(0x2f9)](){const _0x5bbfa4=_0x1453e5;return this[_0x5bbfa4(0x2c7)](),this[_0x5bbfa4(0x3df)][_0x5bbfa4(0x48b)](_0x49a25b,this[_0x5bbfa4(0x47f)],this[_0x5bbfa4(0x293)],this[_0x5bbfa4(0x4b9)],this[_0x5bbfa4(0x210)],this[_0x5bbfa4(0x2f1)]);}[_0x1453e5(0x212)](){return this;}[_0x1453e5(0x4fd)](){const _0x3ee2d8=_0x1453e5;this['_handler'][_0x3ee2d8(0x255)](this['_awaitingChangeset']);}[_0x1453e5(0x258)](_0x1fbd08){const _0x4f5b48=_0x1453e5;return this['_clearScheduledTask'](),this['_injector'][_0x4f5b48(0x48b)](_0x1617da,this[_0x4f5b48(0x47f)],this[_0x4f5b48(0x293)],null,this['_pendingMutations'],this[_0x4f5b48(0x2f1)],_0x1fbd08);}[_0x1453e5(0x461)](_0xe7d327,_0x438d46){const _0x16a92a=_0x1453e5;var _0x587748;_0xe7d327===((_0x587748=this[_0x16a92a(0x4b9)])==null?void 0x0:_0x587748[_0x16a92a(0x37b)])&&(this[_0x16a92a(0x4fd)](),this[_0x16a92a(0x238)]=_0x438d46===0x0?0x3e8:Math[_0x16a92a(0x46f)](_0x438d46*0x2,_0x45f1e5),this['_maxTotalRetryTimeout']+=this[_0x16a92a(0x238)]);}[_0x1453e5(0x2c7)](){const _0x48a41a=_0x1453e5;var _0x26bd00;(_0x26bd00=this[_0x48a41a(0x1ff)])==null||_0x26bd00[_0x48a41a(0x347)](),this['_resendTimeout']=0x0,this[_0x48a41a(0x4cd)]=0x0;}};_0x451a32=_0x1c607b=_0x23bcbc([_0x20187e(0x6,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x7,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x37511f[_0x1453e5(0x4e2)])),_0x20187e(0x8,_0x15f21c[_0x1453e5(0x3e9)]),_0x20187e(0x9,_0x15f21c['ILogService']),_0x20187e(0xa,_0x37511f['ITransformService']),_0x20187e(0xb,_0x15f21c[_0x1453e5(0x359)]),_0x20187e(0xc,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x2bb040))],_0x451a32);let _0x1617da=class extends _0x2085d4{constructor(_0x10472f,_0x29556b,_0x3f437e,_0x218ab7,_0x241812,_0x3f518f=!0x1,_0x5a1c52,_0x37440d,_0x596ffd,_0x219cb9,_0x434029,_0x44a59e,_0x11f149){const _0x46c653=_0x1453e5;super(_0x10472f,_0x29556b,_0x3f437e,_0x218ab7,_0x241812,_0x37440d,_0x596ffd,_0x219cb9,_0x11f149),this['_isPermissionRej']=_0x3f518f,this[_0x46c653(0x316)]=_0x5a1c52,this[_0x46c653(0x4de)]=_0x434029,this[_0x46c653(0x3a7)]=_0x44a59e,this[_0x46c653(0x460)]=_0x11f149,_0x14249f(this,_0x46c653(0x29a),_0x46c653(0x27f)),this[_0x46c653(0x218)](),this[_0x46c653(0x440)](),this[_0x46c653(0x42a)]();}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x1453e5(0x4c4)](){return this;}[_0x1453e5(0x2c1)](){return this;}[_0x1453e5(0x4da)](){return this;}[_0x1453e5(0x2f9)](){return this;}[_0x1453e5(0x212)](){return this;}[_0x1453e5(0x4fd)](){const _0x4cbc70=_0x1453e5;throw Error(_0x4cbc70(0x465));}[_0x1453e5(0x440)](){const _0x4e266e=_0x1453e5;var _0x550dc0;(_0x550dc0=this[_0x4e266e(0x364)])==null||_0x550dc0[_0x4e266e(0x2fe)](this[_0x4e266e(0x47f)],this[_0x4e266e(0x293)],null,[]);}[_0x1453e5(0x218)](){const _0x4a6b63=_0x1453e5;this[_0x4a6b63(0x2df)]?this['_collaborationUIEventService'][_0x4a6b63(0x400)]({'id':_0x4a6b63(0x248)}):this[_0x4a6b63(0x3a7)][_0x4a6b63(0x400)]({'id':_0x4a6b63(0x280)});}[_0x1453e5(0x42a)](){const _0x14a4e0=_0x1453e5;this[_0x14a4e0(0x316)][_0x14a4e0(0x510)](new _0x5dbd34['WorkbookEditablePermission'](this[_0x14a4e0(0x47f)])['id'],!0x1);}};_0x1617da=_0x23bcbc([_0x20187e(0x6,(0x0,_0x15f21c['Inject'])(_0x15f21c[_0x1453e5(0x240)])),_0x20187e(0x7,_0x15f21c['ICommandService']),_0x20187e(0x8,_0x15f21c[_0x1453e5(0x359)]),_0x20187e(0x9,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x37511f[_0x1453e5(0x4e2)])),_0x20187e(0xa,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x3d2)])),_0x20187e(0xb,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x44a5ef)),_0x20187e(0xc,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x2bb040))],_0x1617da);let _0x49a25b=class extends _0x2085d4{constructor(_0x5cb448,_0x1e4d3e,_0x353507,_0x43bc0c,_0x4c9426,_0x95b47c,_0x2cbd30,_0x5778a3,_0x543cf9,_0xec327d){const _0x274ad2=_0x1453e5;super(_0x5cb448,_0x1e4d3e,_0x353507,_0x43bc0c,_0x4c9426,_0x5778a3,_0x543cf9,_0x2cbd30,_0xec327d),this[_0x274ad2(0x3df)]=_0x95b47c,_0x14249f(this,_0x274ad2(0x29a),_0x274ad2(0x410));}[_0x1453e5(0x20b)](_0x22f38c){const _0x555e07=_0x1453e5;return this['_pendingMutations'][_0x555e07(0x4d0)](_0x22f38c),this[_0x555e07(0x39c)](),this;}[_0x1453e5(0x421)](_0x3196fa){const _0x330a16=_0x1453e5;throw Error(_0x330a16(0x471));}[_0x1453e5(0x4c4)](){const _0x1c4cda=_0x1453e5;throw Error(_0x1c4cda(0x29d));}[_0x1453e5(0x2c1)](){const _0x1e34d8=_0x1453e5;throw Error(_0x1e34d8(0x3b9));}[_0x1453e5(0x4da)](){return this;}['toggleOffline'](){return this;}[_0x1453e5(0x212)](){const _0x32cedf=_0x1453e5;let {_injector:_0x522f09,_pendingMutations:_0x5e803a,_awaitingChangeset:_0x3b9b55,unitID:_0x531325,_handler:_0x8b5fcd,type:_0x5412cb}=this,_0xbe1806=_0x357228(_0x522f09,_0x531325,_0x5412cb,_0x3b9b55,_0x5e803a,_0x8b5fcd);return _0xbe1806 instanceof _0xe56e96?_0xbe1806[_0x32cedf(0x4ed)]():(_0xbe1806 instanceof _0x451a32||_0xbe1806 instanceof _0x393762)&&_0xbe1806[_0x32cedf(0x4fd)](),_0xbe1806;}[_0x1453e5(0x4fd)](){const _0x14eaaa=_0x1453e5;throw Error(_0x14eaaa(0x373));}};_0x49a25b=_0x23bcbc([_0x20187e(0x5,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x6,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x37511f[_0x1453e5(0x4e2)])),_0x20187e(0x7,_0x15f21c[_0x1453e5(0x3e9)]),_0x20187e(0x8,_0x15f21c[_0x1453e5(0x359)]),_0x20187e(0x9,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x2bb040))],_0x49a25b);let _0x12b492=class extends _0x2085d4{constructor(_0x36d4f3,_0x5d2078,_0x24b53f,_0x388f2c,_0x4c155d,_0x104679,_0x2806f8,_0x384e1b,_0x2cad8e,_0x2c6873,_0x4ddcae,_0x3d1b7e,_0x12b0a1,_0x319b43){const _0x3c34aa=_0x1453e5;super(_0x36d4f3,_0x5d2078,_0x24b53f,_0x388f2c,_0x2806f8,_0x4ddcae,_0x3d1b7e,_0x2cad8e,_0x319b43),this[_0x3c34aa(0x4ea)]=_0x4c155d,this[_0x3c34aa(0x432)]=_0x104679,this[_0x3c34aa(0x3df)]=_0x384e1b,this[_0x3c34aa(0x2ec)]=_0x2c6873,this['_transformService']=_0x12b0a1,this[_0x3c34aa(0x460)]=_0x319b43,_0x14249f(this,_0x3c34aa(0x29a),_0x3c34aa(0x397));}[_0x1453e5(0x467)](_0x433443){const _0x43b3c2=_0x1453e5;try{if(this[_0x43b3c2(0x28d)](_0x433443)['missingChangesets'])throw Error('[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.');if(this[_0x43b3c2(0x28d)]([...this['_queuedRemoteChangesets']][_0x43b3c2(0x4e5)]((_0x1b6433,_0x794fd0)=>_0x1b6433['revision']-_0x794fd0[_0x43b3c2(0x3eb)]))[_0x43b3c2(0x250)])return this['_queuedRemoteChangesets']=[],this['_updateLocalCache'](),this[_0x43b3c2(0x2f1)][_0x43b3c2(0x279)]({'from':this[_0x43b3c2(0x372)](),'to':0x0}),this;let _0x2ef933=this['_awaitingChangeset'],_0x5cb063=this[_0x43b3c2(0x210)],_0x258ede;if(_0x2ef933&&_0x5cb063[_0x43b3c2(0x22f)]!==0x0)_0x258ede=this[_0x43b3c2(0x3df)][_0x43b3c2(0x48b)](_0x451a32,this[_0x43b3c2(0x47f)],this[_0x43b3c2(0x293)],_0x2ef933,_0x5cb063,this['_handler'],void 0x0);else{if(_0x2ef933&&_0x5cb063['length']===0x0)_0x2ef933[_0x43b3c2(0x2d5)]=this[_0x43b3c2(0x372)](),_0x258ede=this[_0x43b3c2(0x3df)][_0x43b3c2(0x48b)](_0x393762,this[_0x43b3c2(0x47f)],this[_0x43b3c2(0x293)],_0x2ef933,this[_0x43b3c2(0x2f1)]);else{if(_0x5cb063[_0x43b3c2(0x22f)]!==0x0){let _0x22a625=this[_0x43b3c2(0x3df)]['createInstance'](_0xe56e96,this[_0x43b3c2(0x47f)],this['type'],_0x5cb063,this[_0x43b3c2(0x2f1)]);_0x22a625[_0x43b3c2(0x4ed)](),_0x258ede=_0x22a625;}else _0x258ede=this['_injector'][_0x43b3c2(0x48b)](_0x301f3f,this[_0x43b3c2(0x47f)],this['type'],this[_0x43b3c2(0x2f1)]);}}return _0x258ede[_0x43b3c2(0x39c)](),_0x258ede;}catch(_0x1010d7){return this[_0x43b3c2(0x2ec)][_0x43b3c2(0x357)]('[FetchMissState]',_0x43b3c2(0x48c),_0x1010d7),this[_0x43b3c2(0x3df)][_0x43b3c2(0x48b)](_0x1617da,this[_0x43b3c2(0x47f)],this[_0x43b3c2(0x293)],this[_0x43b3c2(0x4b9)],this[_0x43b3c2(0x210)],this[_0x43b3c2(0x2f1)],!0x1);}}[_0x1453e5(0x28d)](_0x2c52d2){const _0x16e552=_0x1453e5;this[_0x16e552(0x34d)]();for(let _0x543f8c=0x0;_0x543f8c<_0x2c52d2[_0x16e552(0x22f)];_0x543f8c++){let _0x5e027a=_0x2c52d2[_0x543f8c],_0x4b4f4b=this[_0x16e552(0x372)]();if(!(_0x5e027a['revision']<=_0x4b4f4b)){if(_0x5e027a['revision']>_0x4b4f4b+0x1)return{'missingChangesets':!0x0};if(this[_0x16e552(0x487)](_0x5e027a)){this[_0x16e552(0x27c)]();continue;}this[_0x16e552(0x341)](_0x5e027a),this[_0x16e552(0x34d)]();}}return{'missingChangesets':!0x1};}[_0x1453e5(0x341)](_0xd7b3b0){const _0x299c0c=_0x1453e5;let _0x11e648=_0xd7b3b0,_0x343301=this[_0x299c0c(0x4b9)];if(_0x343301){let _0x398a9b=this[_0x299c0c(0x4c3)]['transformChangesets']([_0xd7b3b0],[_0x343301],!0x1);if(!(0x0,_0x37511f[_0x299c0c(0x4ad)])(_0x398a9b))throw _0x398a9b[_0x299c0c(0x357)];_0x11e648=_0x398a9b[_0x299c0c(0x226)][0x0],_0x343301=_0x398a9b[_0x299c0c(0x313)][0x0];}let _0x45fa18=this[_0x299c0c(0x210)];if(_0x45fa18[_0x299c0c(0x22f)]){let _0x3cf320=this['_transformService'][_0x299c0c(0x4f4)](_0x11e648,_0x45fa18);if(!(0x0,_0x37511f['isTransformMutationsWithChangesetSuccess'])(_0x3cf320))throw _0x3cf320[_0x299c0c(0x357)];_0x11e648=_0x3cf320[_0x299c0c(0x226)],_0x45fa18=_0x3cf320[_0x299c0c(0x3f7)];}this[_0x299c0c(0x4df)](_0x11e648),_0x343301&&(_0x343301[_0x299c0c(0x2d5)]=this[_0x299c0c(0x372)]()),this['_awaitingChangeset']=_0x343301,this[_0x299c0c(0x210)]=_0x45fa18;}[_0x1453e5(0x34d)](){const _0x404727=_0x1453e5;if(!this[_0x404727(0x4b9)]||this[_0x404727(0x4ea)]==null)return;let _0x46cf9b=this[_0x404727(0x372)]();if(this[_0x404727(0x4ea)]<=_0x46cf9b)throw Error(_0x404727(0x2ce)+this[_0x404727(0x4ea)]+'.');this[_0x404727(0x4ea)]===_0x46cf9b+0x1&&this[_0x404727(0x27c)]();}[_0x1453e5(0x27c)](){const _0x4210e8=_0x1453e5;this['_incrementRevisionNumber'](),this[_0x4210e8(0x4b9)]=null,this[_0x4210e8(0x4ea)]=null;}[_0x1453e5(0x487)](_0xafe16b){const _0x5cfb91=_0x1453e5;let _0x232264=this[_0x5cfb91(0x4b9)];return!_0x232264||!_0x232264[_0x5cfb91(0x4cb)]||_0x232264[_0x5cfb91(0x37b)]===null||_0x232264[_0x5cfb91(0x37b)]===void 0x0?!0x1:_0xafe16b[_0x5cfb91(0x47f)]===_0x232264['unitID']&&_0xafe16b[_0x5cfb91(0x4cb)]===_0x232264['sid']&&_0xafe16b[_0x5cfb91(0x37b)]===_0x232264[_0x5cfb91(0x37b)];}[_0x1453e5(0x4fd)](){const _0x12e633=_0x1453e5;throw Error(_0x12e633(0x424));}['appendMutation'](_0x36f22a){const _0x4a274b=_0x1453e5;return this['_pendingMutations'][_0x4a274b(0x4d0)](_0x36f22a),this;}[_0x1453e5(0x421)](_0x37c4cb){const _0xdcd809=_0x1453e5;return this[_0xdcd809(0x432)][_0xdcd809(0x4d0)](_0x37c4cb),this;}[_0x1453e5(0x4c4)](_0x1e8bc1){const _0x4c4c1a=_0x1453e5;if(this[_0x4c4c1a(0x4b9)]){let _0x340bc4=this[_0x4c4c1a(0x372)]();return _0x1e8bc1[_0x4c4c1a(0x3eb)]<=_0x340bc4||(_0x340bc4+0x1===_0x1e8bc1[_0x4c4c1a(0x3eb)]?(this[_0x4c4c1a(0x45d)](),this[_0x4c4c1a(0x4b9)]=null,this[_0x4c4c1a(0x4ea)]=null):this['_acknowledgedAwaitingRevision']=_0x1e8bc1[_0x4c4c1a(0x3eb)]),this;}if(_0x1e8bc1[_0x4c4c1a(0x3eb)]<=this[_0x4c4c1a(0x372)]())return this;throw Error(_0x4c4c1a(0x4dd));}[_0x1453e5(0x2c1)](_0x2ee6e5){const _0x3cf5e0=_0x1453e5;return this[_0x3cf5e0(0x258)](!!(_0x2ee6e5!=null&&_0x2ee6e5[_0x3cf5e0(0x1fb)]));}[_0x1453e5(0x4da)](){return this;}[_0x1453e5(0x2f9)](){const _0x595e2e=_0x1453e5;return this[_0x595e2e(0x3df)][_0x595e2e(0x48b)](_0x49a25b,this[_0x595e2e(0x47f)],this[_0x595e2e(0x293)],this[_0x595e2e(0x4b9)],this[_0x595e2e(0x210)],this[_0x595e2e(0x2f1)]);}[_0x1453e5(0x212)](){return this;}[_0x1453e5(0x258)](_0x53dfda){const _0x39b8b1=_0x1453e5;return this[_0x39b8b1(0x3df)][_0x39b8b1(0x48b)](_0x1617da,this[_0x39b8b1(0x47f)],this['type'],this[_0x39b8b1(0x4b9)],this[_0x39b8b1(0x210)],this[_0x39b8b1(0x2f1)],_0x53dfda);}};_0x12b492=_0x23bcbc([_0x20187e(0x7,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x8,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x37511f[_0x1453e5(0x4e2)])),_0x20187e(0x9,_0x15f21c[_0x1453e5(0x3fc)]),_0x20187e(0xa,_0x15f21c[_0x1453e5(0x3e9)]),_0x20187e(0xb,_0x15f21c[_0x1453e5(0x359)]),_0x20187e(0xc,_0x37511f[_0x1453e5(0x274)]),_0x20187e(0xd,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x2bb040))],_0x12b492);function _0x357228(_0x26380a,_0x1879f9,_0x319e70,_0x2da304,_0x524340,_0x3ceaa4){const _0x5b5a93=_0x1453e5;return _0x2da304&&_0x524340[_0x5b5a93(0x22f)]?_0x26380a['createInstance'](_0x451a32,_0x1879f9,_0x319e70,_0x2da304,_0x524340,_0x3ceaa4,void 0x0):_0x2da304?_0x26380a[_0x5b5a93(0x48b)](_0x393762,_0x1879f9,_0x319e70,_0x2da304,_0x3ceaa4):_0x524340[_0x5b5a93(0x22f)]?_0x26380a[_0x5b5a93(0x48b)](_0xe56e96,_0x1879f9,_0x319e70,_0x524340,_0x3ceaa4):_0x26380a[_0x5b5a93(0x48b)](_0x301f3f,_0x1879f9,_0x319e70,_0x3ceaa4);}let _0x2dfe9f=class extends _0x15f21c['RxDisposable']{get[_0x1453e5(0x37a)](){const _0x53c10c=_0x1453e5;return this[_0x53c10c(0x38c)];}constructor(_0x328b3c,_0x429930,_0x1e20c1,_0x44717a,_0x43cd66,_0x3f68c5,_0x152c18,_0x2bda29,_0xfcc021,_0x142569,_0x53c761,_0x1ffa05,_0x26c1e1,_0x419080){const _0x396fbc=_0x1453e5;super(),this[_0x396fbc(0x47f)]=_0x328b3c,this[_0x396fbc(0x33d)]=_0x429930,this[_0x396fbc(0x2fc)]=_0x1e20c1,this[_0x396fbc(0x3df)]=_0x44717a,this['_compressMutationService']=_0x43cd66,this[_0x396fbc(0x4de)]=_0x3f68c5,this[_0x396fbc(0x35e)]=_0x152c18,this[_0x396fbc(0x330)]=_0x2bda29,this[_0x396fbc(0x3c2)]=_0xfcc021,this['_logService']=_0x142569,this[_0x396fbc(0x2e0)]=_0x53c761,this[_0x396fbc(0x316)]=_0x1ffa05,this[_0x396fbc(0x44e)]=_0x26c1e1,this[_0x396fbc(0x364)]=_0x419080,_0x14249f(this,_0x396fbc(0x34c),new _0x57cf55[(_0x396fbc(0x442))](null)),_0x14249f(this,_0x396fbc(0x2b3),this[_0x396fbc(0x34c)][_0x396fbc(0x35d)]()),_0x14249f(this,_0x396fbc(0x38c),void 0x0),_0x14249f(this,_0x396fbc(0x39a),!0x1),_0x14249f(this,'_changesetSessionId',''),_0x14249f(this,_0x396fbc(0x4a7),0x0),_0x14249f(this,'status$',this['state$'][_0x396fbc(0x469)]((0x0,_0x57cf55['map'])(_0x47d18c=>_0x47d18c?_0x47d18c[_0x396fbc(0x29a)]:_0x396fbc(0x410)),(0x0,_0x57cf55[_0x396fbc(0x3dd)])(0x1))),_0x14249f(this,_0x396fbc(0x408),!0x1),_0x14249f(this,_0x396fbc(0x33c),[]);}async[_0x1453e5(0x3a3)](){const _0x3c9812=_0x1453e5;if(this[_0x3c9812(0x37a)])throw Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3c9812(0x4e0)]();}[_0x1453e5(0x40d)](){const _0x4245c1=_0x1453e5;return this[_0x4245c1(0x39a)]=!0x0,(0x0,_0x15f21c[_0x4245c1(0x39b)])(()=>{const _0x577097=_0x4245c1;this[_0x577097(0x39a)]=!0x1,this[_0x577097(0x37e)]();});}[_0x1453e5(0x40f)](_0x41c32e){this['_onLocalMutation'](_0x41c32e);}[_0x1453e5(0x2c2)](_0x616142){const _0x1323e2=_0x1453e5;this['_state']=_0x616142,this[_0x1323e2(0x34c)][_0x1323e2(0x492)](_0x616142);}async[_0x1453e5(0x4e0)](){const _0x7cdf6f=_0x1453e5;if(this[_0x7cdf6f(0x2c2)](await this[_0x7cdf6f(0x3bc)]()),this[_0x7cdf6f(0x44e)]){var _0x30f7ac;(_0x30f7ac=this['_singleActiveUnitService'])==null||_0x30f7ac[_0x7cdf6f(0x3d4)](this[_0x7cdf6f(0x47f)]),this[_0x7cdf6f(0x2b9)](this[_0x7cdf6f(0x44e)][_0x7cdf6f(0x48e)](this['unitID'])[_0x7cdf6f(0x264)](_0x180aa1=>{const _0x529cbf=_0x7cdf6f;this[_0x529cbf(0x2ec)]['debug'](_0x529cbf(0x456),_0x529cbf(0x343),_0x180aa1),_0x180aa1===0x1?(this['_eventService']['emitEvent']({'id':'OTHER_CLIENT_EDITING'}),this[_0x529cbf(0x316)][_0x529cbf(0x510)](new _0x5dbd34[(_0x529cbf(0x4bd))](this[_0x529cbf(0x47f)])['id'],!0x1),this[_0x529cbf(0x316)][_0x529cbf(0x3ef)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x5dbd34[(_0x529cbf(0x4bd))](this[_0x529cbf(0x47f)])['id'],!0x0),this[_0x529cbf(0x316)][_0x529cbf(0x3ef)](!0x0));}));}let _0x5402ac=!0x1;return this[_0x7cdf6f(0x2b9)](this[_0x7cdf6f(0x33d)]['sessionStatus$']['subscribe'](_0x554f6a=>{const _0x445dc2=_0x7cdf6f;_0x554f6a===0x3?this['_toggleOnline'](_0x5402ac):_0x554f6a===0x2&&(_0x5402ac=!0x0,this[_0x445dc2(0x3d9)]());})),this[_0x7cdf6f(0x2b9)](this[_0x7cdf6f(0x33d)][_0x7cdf6f(0x230)][_0x7cdf6f(0x264)](_0x295230=>{const _0x5b3289=_0x7cdf6f;try{switch(_0x295230[_0x5b3289(0x2b4)]){case _0x37511f[_0x5b3289(0x342)][_0x5b3289(0x2a4)]:this[_0x5b3289(0x2cd)]((0x0,_0x37511f[_0x5b3289(0x2af)])(_0x295230[_0x5b3289(0x268)]));break;case _0x37511f['CollaborationEvent'][_0x5b3289(0x43e)]:this[_0x5b3289(0x489)](_0x295230[_0x5b3289(0x268)]);break;case _0x37511f['CollaborationEvent']['CHANGESET_REJ']:this[_0x5b3289(0x1f4)]();break;case _0x37511f[_0x5b3289(0x342)][_0x5b3289(0x394)]:this[_0x5b3289(0x4b1)](_0x295230[_0x5b3289(0x268)]);break;case _0x37511f[_0x5b3289(0x342)]['PSEUDO_FETCH_MISSING_RESULT']:this['_onFetchMissResult'](_0x295230[_0x5b3289(0x268)][_0x5b3289(0x3aa)][_0x5b3289(0x27b)](_0xd93a17=>(0x0,_0x37511f[_0x5b3289(0x2af)])(_0xd93a17)));break;case _0x37511f['CollaborationEvent'][_0x5b3289(0x33e)]:this[_0x5b3289(0x1f4)]({'isPermissionRej':!0x0});break;case _0x37511f['CollaborationEvent'][_0x5b3289(0x36d)]:break;}}catch(_0x5b5047){throw console[_0x5b3289(0x357)](_0x5b3289(0x2c3),_0x5b5047),_0x5b5047;}})),this[_0x7cdf6f(0x38c)];}[_0x1453e5(0x498)](){const _0x4936e1=_0x1453e5;this[_0x4936e1(0x408)]=!0x1;}[_0x1453e5(0x416)](){const _0x549ce6=_0x1453e5;if(this[_0x549ce6(0x408)])throw Error('[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.');this[_0x549ce6(0x408)]=!0x0;}[_0x1453e5(0x3a6)](_0x5f3efe){const _0x4ab1f9=_0x1453e5;this[_0x4ab1f9(0x416)](),this[_0x4ab1f9(0x2c2)](this['_state'][_0x4ab1f9(0x20b)](_0x5f3efe)),this[_0x4ab1f9(0x498)]();}[_0x1453e5(0x2cd)](_0x1cbc2b){const _0x3fa7b2=_0x1453e5;if(!(_0x1cbc2b[_0x3fa7b2(0x3eb)]<=this['_revisionService'][_0x3fa7b2(0x215)](this[_0x3fa7b2(0x47f)]))){if(this['_collaborationPaused']){this[_0x3fa7b2(0x33c)][_0x3fa7b2(0x4d0)](_0x1cbc2b);return;}this[_0x3fa7b2(0x271)](_0x1cbc2b);}}['_exhaustRemoteChangesetQueue'](){const _0x491481=_0x1453e5;this[_0x491481(0x33c)][_0x491481(0x4a3)](_0x455eb2=>this['_applyRemoteChangeset'](_0x455eb2)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x3a7cbc){const _0x2740ae=_0x1453e5;let _0x2df0c8=this[_0x2740ae(0x325)][_0x2740ae(0x37c)][_0x2740ae(0x46e)](this[_0x2740ae(0x325)][_0x2740ae(0x37c)]['getInterceptPoints']()[_0x2740ae(0x4f5)])(_0x3a7cbc[_0x2740ae(0x3d5)],null)||_0x3a7cbc['mutations'],_0x48d4e2={..._0x3a7cbc,'mutations':_0x2df0c8};this[_0x2740ae(0x416)](),this['_updateState'](this[_0x2740ae(0x38c)][_0x2740ae(0x421)](_0x48d4e2)),this[_0x2740ae(0x498)]();}[_0x1453e5(0x489)](_0x166bc8){const _0x5b5d0c=_0x1453e5;this[_0x5b5d0c(0x416)](),this[_0x5b5d0c(0x2c2)](this[_0x5b5d0c(0x38c)][_0x5b5d0c(0x4c4)](_0x166bc8)),this['_unlockTransition']();}['_onRemoteRejected'](_0x162889){const _0x2ef2ab=_0x1453e5;this['_lockTransition'](),this['_updateState'](this[_0x2ef2ab(0x38c)][_0x2ef2ab(0x2c1)](_0x162889)),this['_unlockTransition']();}[_0x1453e5(0x4b1)](_0x44f8ec){const _0x20818f=_0x1453e5;this[_0x20818f(0x416)](),this[_0x20818f(0x2c2)](this[_0x20818f(0x38c)][_0x20818f(0x4da)](_0x44f8ec)),this[_0x20818f(0x498)]();}['_onFetchMissResult'](_0x3ea148){const _0x85825e=_0x1453e5;if(!(this[_0x85825e(0x38c)]instanceof _0x12b492))throw TypeError(_0x85825e(0x362));let _0x364cf1=_0x3ea148['map'](_0xdb6f6=>{const _0x51d99c=_0x85825e;let _0x3e5d87=this[_0x51d99c(0x325)]['interceptor']['fetchThroughInterceptors'](this[_0x51d99c(0x325)]['interceptor'][_0x51d99c(0x462)]()[_0x51d99c(0x4f5)])(_0xdb6f6['mutations'],null)||_0xdb6f6['mutations'];return{..._0xdb6f6,'mutations':_0x3e5d87};});this[_0x85825e(0x416)](),this[_0x85825e(0x2c2)](this[_0x85825e(0x38c)][_0x85825e(0x467)](_0x364cf1)),this['_unlockTransition']();}['_toggleOffline'](){const _0x4a34f0=_0x1453e5;this[_0x4a34f0(0x416)](),this[_0x4a34f0(0x2c2)](this[_0x4a34f0(0x38c)][_0x4a34f0(0x2f9)]()),this['_unlockTransition']();}['_toggleOnline'](_0x3ba14a=!0x1){const _0x2529d8=_0x1453e5;this[_0x2529d8(0x416)](),this[_0x2529d8(0x2c2)](this[_0x2529d8(0x38c)]['toggleOnline']()),this[_0x2529d8(0x498)]();let _0x2ea47a=this[_0x2529d8(0x38c)];_0x3ba14a&&_0x2ea47a instanceof _0x301f3f&&(this['_lockTransition'](),this[_0x2529d8(0x2c2)](_0x2ea47a[_0x2529d8(0x34f)]()),this['_unlockTransition']());}async[_0x1453e5(0x3bc)](){return new Promise(_0x1ed191=>{const _0x4a12a3=_0x2103;this[_0x4a12a3(0x33d)][_0x4a12a3(0x40e)][_0x4a12a3(0x469)]((0x0,_0x57cf55[_0x4a12a3(0x3ee)])(0x1))[_0x4a12a3(0x264)](async _0x4cc644=>{const _0x53356d=_0x4a12a3;_0x1ed191(await this[_0x53356d(0x21f)](_0x4cc644===0x3));});});}[_0x1453e5(0x25d)](){const _0x2fe6ce=_0x1453e5;let _0x1f3e70=this[_0x2fe6ce(0x47f)];return{'onStateChange':(_0x163913,_0x1c7872)=>{const _0x12e86b=_0x2fe6ce;if(_0x163913!==this[_0x12e86b(0x38c)])throw Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x163913[_0x12e86b(0x29a)]+_0x12e86b(0x49a)+_0x1c7872[_0x12e86b(0x29a)]+_0x12e86b(0x2ea)+this[_0x12e86b(0x38c)][_0x12e86b(0x29a)]);this['_updateState'](_0x1c7872);},'onSendChangeset':_0x589a8a=>{const _0x3ad1f1=_0x2fe6ce;_0x589a8a[_0x3ad1f1(0x4cb)]||(_0x589a8a[_0x3ad1f1(0x4cb)]=this[_0x3ad1f1(0x2e6)],_0x589a8a[_0x3ad1f1(0x37b)]=++this[_0x3ad1f1(0x4a7)]);let _0x1faf4b={'eventID':_0x37511f[_0x3ad1f1(0x342)][_0x3ad1f1(0x24f)],'data':{'unitID':_0x589a8a[_0x3ad1f1(0x47f)],'unitType':this[_0x3ad1f1(0x2fc)],'changeset':_0x589a8a,'memberID':this[_0x3ad1f1(0x33d)][_0x3ad1f1(0x4d3)]()}};this['session'][_0x3ad1f1(0x344)](_0x1faf4b,this[_0x3ad1f1(0x47f)]);},'onMissingChangesets':({from:_0x32e41d,to:_0x48c6d1})=>{const _0x10e008=_0x2fe6ce;this['_logService'][_0x10e008(0x275)](_0x10e008(0x456),_0x10e008(0x269)+_0x32e41d+_0x10e008(0x3f1)+_0x48c6d1);let _0x2c2df5={'eventID':_0x37511f[_0x10e008(0x342)]['FETCH_MISSING'],'data':{'unitID':_0x1f3e70,'unitType':this[_0x10e008(0x2fc)],'from':_0x32e41d,'to':_0x48c6d1}};this[_0x10e008(0x33d)]['send'](_0x2c2df5,this[_0x10e008(0x47f)]);}};}async[_0x1453e5(0x21f)](_0x393faf){const _0x3e233b=_0x1453e5;var _0x206b03,_0x46a15e,_0x1979c1;let _0xb21e8c=await((_0x206b03=this['_localCacheService'])==null?void 0x0:_0x206b03['loadOfflineData'](this[_0x3e233b(0x47f)])),_0xc0eda2=(_0x46a15e=_0xb21e8c==null?void 0x0:_0xb21e8c[_0x3e233b(0x3d5)])==null?[]:_0x46a15e,_0x35d575=(_0x1979c1=_0xb21e8c==null?void 0x0:_0xb21e8c[_0x3e233b(0x4f8)])==null?null:_0x1979c1,_0xb5da6f=!!(_0x35d575!=null&&_0x35d575[_0x3e233b(0x4cb)])&&!!(_0x35d575!=null&&_0x35d575['reqId']);this[_0x3e233b(0x2e6)]=_0xb5da6f?_0x35d575[_0x3e233b(0x4cb)]:(0x0,_0x37511f['uuidv4'])(),this[_0x3e233b(0x4a7)]=_0xb5da6f?_0x35d575[_0x3e233b(0x37b)]:0x0;let _0x338c33=this[_0x3e233b(0x47f)];try{this[_0x3e233b(0x3ab)](_0x35d575,_0xc0eda2);}catch(_0x3d6618){this['_logService'][_0x3e233b(0x357)](_0x3d6618);}let _0xb6c44d=this[_0x3e233b(0x25d)]();if(_0x393faf){let _0x49f7b0=_0x357228(this[_0x3e233b(0x3df)],_0x338c33,this[_0x3e233b(0x2fc)],_0x35d575,_0xc0eda2,_0xb6c44d);return _0x49f7b0 instanceof _0xe56e96?_0x49f7b0[_0x3e233b(0x4ed)]():(_0x49f7b0 instanceof _0x451a32||_0x49f7b0 instanceof _0x393762)&&_0x49f7b0[_0x3e233b(0x4fd)](),_0x49f7b0;}return this[_0x3e233b(0x3df)][_0x3e233b(0x48b)](_0x49a25b,_0x338c33,this[_0x3e233b(0x2fc)],_0x35d575,_0xc0eda2,_0xb6c44d);}['_replayCachedMutations'](_0x108942,_0x3b4199){const _0x2f7a9f=_0x1453e5;var _0x39c3be,_0x3f6b24;let _0x56919f=this[_0x2f7a9f(0x325)][_0x2f7a9f(0x37c)][_0x2f7a9f(0x46e)](this[_0x2f7a9f(0x325)][_0x2f7a9f(0x37c)]['getInterceptPoints']()[_0x2f7a9f(0x4f5)]);(_0x39c3be=_0x56919f((_0x108942==null?void 0x0:_0x108942['mutations'])||[],null))==null||_0x39c3be['forEach'](_0x1caa9d=>this[_0x2f7a9f(0x2e0)][_0x2f7a9f(0x4a8)](_0x1caa9d['id'],_0x1caa9d[_0x2f7a9f(0x486)])),(_0x3f6b24=_0x56919f(_0x3b4199||[],null))==null||_0x3f6b24[_0x2f7a9f(0x4a3)](_0x3ea205=>this['_commandService'][_0x2f7a9f(0x4a8)](_0x3ea205['id'],_0x3ea205[_0x2f7a9f(0x486)]));}};_0x2dfe9f=_0x23bcbc([_0x20187e(0x3,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x4,(0x0,_0x15f21c['Inject'])(_0x37511f[_0x1453e5(0x509)])),_0x20187e(0x5,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x3d2)])),_0x20187e(0x6,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x37511f[_0x1453e5(0x4e2)])),_0x20187e(0x7,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x44a5ef)),_0x20187e(0x8,_0x15f21c[_0x1453e5(0x22c)]),_0x20187e(0x9,_0x15f21c['ILogService']),_0x20187e(0xa,_0x15f21c[_0x1453e5(0x3e9)]),_0x20187e(0xb,_0x15f21c['IPermissionService']),_0x20187e(0xc,(0x0,_0x15f21c['Optional'])(_0x7c093b)),_0x20187e(0xd,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x2bb040))],_0x2dfe9f);let _0x3313c8=class extends _0x2dfe9f{constructor(_0x19e181,_0x46a5f7,_0x5776ad,_0x267287,_0x3665b2,_0x741be,_0xb99cc9,_0x5afeaf,_0x1268d6,_0x591816,_0x13afdc,_0xa0d328,_0x1652be,_0x150491){const _0x1adada=_0x1453e5;super(_0x19e181,_0x5776ad,_0x46a5f7,_0x267287,_0x3665b2,_0x741be,_0xb99cc9,_0x5afeaf,_0x1268d6,_0x591816,_0x13afdc,_0xa0d328,_0x1652be,_0x150491),this['unitID']=_0x19e181,this[_0x1adada(0x293)]=_0x46a5f7,_0x14249f(this,_0x1adada(0x34e),null);}['addHandlerCallback'](_0x4566d9){const _0xd1838f=_0x1453e5;this[_0xd1838f(0x34e)]=_0x4566d9;}['dispose'](){const _0x117505=_0x1453e5;this['_handlerCallback']=null,super[_0x117505(0x493)]();}[_0x1453e5(0x25d)](){const _0x157b77=_0x1453e5;let _0x93cc12=super[_0x157b77(0x25d)]();return _0x93cc12[_0x157b77(0x345)]=_0x2e0ddb=>{const _0x533c30=_0x157b77;var _0x4bfeb7,_0xf5d0a7;return(_0x4bfeb7=this['_handlerCallback'])==null||(_0xf5d0a7=_0x4bfeb7[_0x533c30(0x345)])==null?void 0x0:_0xf5d0a7['call'](_0x4bfeb7,_0x2e0ddb);},_0x93cc12['onTransformState']=_0x4bcf9c=>{const _0xa96bb2=_0x157b77;var _0x35a901,_0x272301;return(_0x35a901=this[_0xa96bb2(0x34e)])==null||(_0x272301=_0x35a901[_0xa96bb2(0x48a)])==null?void 0x0:_0x272301[_0xa96bb2(0x21a)](_0x35a901,_0x4bcf9c);},_0x93cc12[_0x157b77(0x307)]=_0xf02a78=>{const _0x364ad9=_0x157b77;var _0x32aff4,_0xb7336b;return(_0x32aff4=this[_0x364ad9(0x34e)])==null||(_0xb7336b=_0x32aff4[_0x364ad9(0x307)])==null?void 0x0:_0xb7336b[_0x364ad9(0x21a)](_0x32aff4,_0xf02a78);},_0x93cc12[_0x157b77(0x484)]=_0x2fb065=>{const _0x3ac889=_0x157b77;var _0xbb5800,_0x5bb0ce;return(_0xbb5800=this[_0x3ac889(0x34e)])==null||(_0x5bb0ce=_0xbb5800[_0x3ac889(0x484)])==null?void 0x0:_0x5bb0ce[_0x3ac889(0x21a)](_0xbb5800,_0x2fb065);},_0x93cc12[_0x157b77(0x209)]=_0x292796=>{const _0x23c2a6=_0x157b77;var _0x512f5b,_0x12539d,_0x8d2396;if(!((_0x512f5b=this[_0x23c2a6(0x34e)])!=null&&_0x512f5b[_0x23c2a6(0x209)]))throw Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x12539d=this['_handlerCallback'])==null||(_0x8d2396=_0x12539d[_0x23c2a6(0x209)])==null?void 0x0:_0x8d2396[_0x23c2a6(0x21a)](_0x12539d,_0x292796);},_0x93cc12['onTransformRemoteChangesetByStateCache']=_0x1e8ad2=>{const _0x4ceaec=_0x157b77;var _0x2a9789,_0x3fcf80,_0x45c380;if(!((_0x2a9789=this['_handlerCallback'])!=null&&_0x2a9789['onTransformRemoteChangesetByStateCache']))throw Error(_0x4ceaec(0x3e2));return(_0x3fcf80=this[_0x4ceaec(0x34e)])==null||(_0x45c380=_0x3fcf80['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x45c380['call'](_0x3fcf80,_0x1e8ad2);},_0x93cc12;}async[_0x1453e5(0x4e0)](){const _0x15708f=_0x1453e5;let _0x297556=await super[_0x15708f(0x4e0)]();return this[_0x15708f(0x2b9)](this[_0x15708f(0x2e0)][_0x15708f(0x436)]((_0x3d1fbf,_0x5d1fcd)=>{const _0xd32bb9=_0x15708f;if(_0x3d1fbf[_0xd32bb9(0x293)]!==_0x15f21c[_0xd32bb9(0x333)][_0xd32bb9(0x439)]||_0x5d1fcd!=null&&_0x5d1fcd['fromCollab']||_0x5d1fcd!=null&&_0x5d1fcd[_0xd32bb9(0x418)]||_0x3d1fbf['id']===_0x93b6b9[_0xd32bb9(0x390)]['id'])return;let _0x3c0c72=_0x3d1fbf[_0xd32bb9(0x486)];if((_0x3c0c72==null?void 0x0:_0x3c0c72[_0xd32bb9(0x477)])!==this[_0xd32bb9(0x47f)])return;let _0x569af8=_0x3d1fbf,_0x28e040=this[_0xd32bb9(0x325)][_0xd32bb9(0x37c)][_0xd32bb9(0x46e)](this[_0xd32bb9(0x325)][_0xd32bb9(0x37c)][_0xd32bb9(0x462)]()[_0xd32bb9(0x283)])([_0x569af8],this['_univerInstanceService'])||[_0x569af8];this[_0xd32bb9(0x3a6)](_0x28e040[0x0]);})),_0x297556;}};_0x3313c8=_0x23bcbc([_0x20187e(0x3,(0x0,_0x15f21c['Inject'])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x4,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x37511f[_0x1453e5(0x509)])),_0x20187e(0x5,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c['LocaleService'])),_0x20187e(0x6,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x37511f[_0x1453e5(0x4e2)])),_0x20187e(0x7,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x44a5ef)),_0x20187e(0x8,_0x15f21c['IUniverInstanceService']),_0x20187e(0x9,_0x15f21c[_0x1453e5(0x3fc)]),_0x20187e(0xa,_0x15f21c['ICommandService']),_0x20187e(0xb,_0x15f21c[_0x1453e5(0x240)]),_0x20187e(0xc,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x7c093b)),_0x20187e(0xd,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x2bb040))],_0x3313c8);let _0x5a3f3c=class extends _0x2dfe9f{constructor(_0xbcef46,_0x2a5f1b,_0xdf84a8,_0xbe3ae0,_0x270ef3,_0x2c8419,_0x22058a,_0x521dbe,_0x38cbc8,_0xcfe4d1,_0x1883d5,_0x409e81,_0x50a53b,_0xb22296,_0x5bd1a8){const _0x43475d=_0x1453e5;super(_0xbcef46,_0xdf84a8,_0x2a5f1b,_0xbe3ae0,_0x270ef3,_0x2c8419,_0x22058a,_0x38cbc8,_0xcfe4d1,_0x1883d5,_0x409e81,_0x50a53b,_0xb22296,_0x5bd1a8),this[_0x43475d(0x47f)]=_0xbcef46,this[_0x43475d(0x293)]=_0x2a5f1b,this[_0x43475d(0x50b)]=_0x521dbe;}[_0x1453e5(0x25d)](){const _0x170bec=_0x1453e5;let _0x538e41=super[_0x170bec(0x25d)]();return _0x538e41[_0x170bec(0x307)]=_0xd63635=>this[_0x170bec(0x50b)][_0x170bec(0x375)](_0xd63635),_0x538e41;}async[_0x1453e5(0x4e0)](){const _0x24e439=_0x1453e5;let _0x46bde3=await super['_init']();return this[_0x24e439(0x2b9)](this[_0x24e439(0x2e0)]['onMutationExecutedForCollab']((_0x30e181,_0x113abd)=>{const _0x4477cb=_0x24e439;if(_0x30e181[_0x4477cb(0x293)]!==_0x15f21c['CommandType']['MUTATION']||_0x113abd!=null&&_0x113abd['fromCollab']||_0x113abd!=null&&_0x113abd[_0x4477cb(0x418)])return;let _0x53b8a8=_0x30e181[_0x4477cb(0x486)];if((_0x53b8a8==null?void 0x0:_0x53b8a8[_0x4477cb(0x477)])!==this[_0x4477cb(0x47f)])return;let _0x589747=_0x30e181,_0x52a16e=this[_0x4477cb(0x325)]['interceptor'][_0x4477cb(0x46e)](this[_0x4477cb(0x325)][_0x4477cb(0x37c)]['getInterceptPoints']()[_0x4477cb(0x283)])([_0x589747],this[_0x4477cb(0x3c2)])||[_0x589747];this['_onLocalMutation'](_0x52a16e[0x0]);})),_0x46bde3;}};_0x5a3f3c=_0x23bcbc([_0x20187e(0x3,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x4,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x37511f[_0x1453e5(0x509)])),_0x20187e(0x5,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x3d2)])),_0x20187e(0x6,(0x0,_0x15f21c['Inject'])(_0x37511f[_0x1453e5(0x4e2)])),_0x20187e(0x7,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x53d349)),_0x20187e(0x8,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x44a5ef)),_0x20187e(0x9,_0x15f21c[_0x1453e5(0x22c)]),_0x20187e(0xa,_0x15f21c[_0x1453e5(0x3fc)]),_0x20187e(0xb,_0x15f21c[_0x1453e5(0x3e9)]),_0x20187e(0xc,_0x15f21c[_0x1453e5(0x240)]),_0x20187e(0xd,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x7c093b)),_0x20187e(0xe,(0x0,_0x15f21c[_0x1453e5(0x30b)])(_0x2bb040))],_0x5a3f3c);let _0x49ddf5=(0x0,_0x15f21c[_0x1453e5(0x2d3)])('univer-pro.collaboration-client.network-condition.service');function _0x12e05c(_0x2b281c){const _0x3820aa=_0x1453e5;let _0x5b8679=_0x2b281c[_0x3820aa(0x268)],_0x2111dc=JSON[_0x3820aa(0x27d)](_0x5b8679);switch(_0x2111dc[_0x3820aa(0x500)]){case _0x1b8fab[_0x3820aa(0x506)][_0x3820aa(0x478)]:case _0x1b8fab[_0x3820aa(0x506)][_0x3820aa(0x2f8)]:{let _0x46cc82=_0x2111dc[_0x3820aa(0x4a0)];return{..._0x2111dc,'data':_0x46cc82,'cmd':_0x2111dc['cmd']};}case _0x1b8fab[_0x3820aa(0x506)][_0x3820aa(0x470)]:{let _0x73776d=_0x2111dc['joinRsp'];return{..._0x2111dc,'data':_0x73776d,'cmd':_0x2111dc[_0x3820aa(0x500)]};}case _0x1b8fab['CombCmd'][_0x3820aa(0x4b6)]:{let _0xb91270=_0x2111dc[_0x3820aa(0x2dc)];switch(_0xb91270[_0x3820aa(0x2b4)]){case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x33e)]:var _0x1680c3;return{..._0x2111dc,'data':{..._0xb91270,'data':(_0x1680c3=_0xb91270['permissionRejEvent'])==null?void 0x0:_0x1680c3['cs']},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f['CollaborationEvent'][_0x3820aa(0x43e)]:var _0x108680;return{..._0x2111dc,'data':{..._0xb91270,'data':(_0x108680=_0xb91270[_0x3820aa(0x466)])==null?void 0x0:_0x108680['cs']},'cmd':_0x2111dc['cmd']};case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x2a4)]:var _0x3c6d45;return{..._0x2111dc,'data':{..._0xb91270,'data':(_0x3c6d45=_0xb91270[_0x3820aa(0x3d7)])==null?void 0x0:_0x3c6d45['cs']},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x201)]:var _0x2492c4;return{..._0x2111dc,'data':{..._0xb91270,'data':(_0x2492c4=_0xb91270[_0x3820aa(0x2ab)])==null?void 0x0:_0x2492c4['cs']},'cmd':_0x2111dc['cmd']};case _0x37511f['CollaborationEvent'][_0x3820aa(0x394)]:var _0x5fe25d;return{..._0x2111dc,'data':{..._0xb91270,'data':(_0x5fe25d=_0xb91270[_0x3820aa(0x338)])==null?void 0x0:_0x5fe25d['cs']},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x502)]:return{..._0x2111dc,'data':{..._0xb91270,'data':_0xb91270[_0x3820aa(0x314)]},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x447)]:return{..._0x2111dc,'data':{..._0xb91270,'data':_0xb91270[_0x3820aa(0x45c)]},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x366)]:return{..._0x2111dc,'data':{..._0xb91270,'data':_0xb91270['leaveEvent']},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f[_0x3820aa(0x342)]['LIVESHARE_NEW_HOST']:return{..._0x2111dc,'data':{..._0xb91270,'data':_0xb91270['liveShareNewHost']},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f[_0x3820aa(0x342)]['LIVESHARE_FETCH_OPERATIONS']:case _0x37511f[_0x3820aa(0x342)]['LIVESHARE_OPERATION']:return{..._0x2111dc,'data':{..._0xb91270,'data':_0xb91270[_0x3820aa(0x348)]},'cmd':_0x2111dc['cmd']};case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x4fa)]:return{..._0x2111dc,'data':{..._0xb91270,'data':_0xb91270[_0x3820aa(0x46c)]},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f['CollaborationEvent'][_0x3820aa(0x36c)]:return{..._0x2111dc,'data':_0xb91270,'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x2f0)]:return{..._0x2111dc,'data':{..._0xb91270,'data':_0xb91270['commentUpdateEvent']},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x3c5)]:return{..._0x2111dc,'data':{..._0xb91270,'data':_0xb91270[_0x3820aa(0x2f3)]},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x4fc)]:return{..._0x2111dc,'data':{..._0xb91270,'data':_0xb91270[_0x3820aa(0x3b2)]},'cmd':_0x2111dc[_0x3820aa(0x500)]};case _0x37511f[_0x3820aa(0x342)][_0x3820aa(0x36d)]:return{..._0x2111dc,'data':{..._0xb91270,'data':_0xb91270['uniscriptRunEvent']},'cmd':_0x2111dc[_0x3820aa(0x500)]};default:return _0x2111dc;}}default:return _0x2111dc;}}function _0x2cf58b(_0x399948){const _0x463be6=_0x1453e5;switch(_0x399948[_0x463be6(0x500)]){case _0x1b8fab[_0x463be6(0x506)]['HEARTBEAT']:case _0x1b8fab[_0x463be6(0x506)][_0x463be6(0x2f8)]:return JSON['stringify']({'cmd':_0x399948[_0x463be6(0x500)],'routeKey':_0x399948['routeKey']});case _0x1b8fab[_0x463be6(0x506)][_0x463be6(0x3cf)]:{let _0x53ce55;switch(_0x399948['data']['eventID']){case _0x37511f[_0x463be6(0x342)][_0x463be6(0x502)]:_0x53ce55={'eventID':_0x37511f[_0x463be6(0x342)][_0x463be6(0x502)],'updateCursorEvent':_0x399948[_0x463be6(0x268)][_0x463be6(0x268)]};break;case _0x37511f[_0x463be6(0x342)][_0x463be6(0x366)]:_0x53ce55={'eventID':_0x37511f[_0x463be6(0x342)]['USERS_LEAVE'],'leaveEvent':_0x399948[_0x463be6(0x268)][_0x463be6(0x268)]};break;case _0x37511f[_0x463be6(0x342)][_0x463be6(0x447)]:_0x53ce55={'eventID':_0x37511f[_0x463be6(0x342)][_0x463be6(0x447)],'joinEvent':_0x399948[_0x463be6(0x268)][_0x463be6(0x268)]};break;case _0x37511f[_0x463be6(0x342)][_0x463be6(0x3ea)]:_0x53ce55={'eventID':_0x37511f[_0x463be6(0x342)][_0x463be6(0x3ea)],'liveShareNewHost':_0x399948[_0x463be6(0x268)]['data']};break;case _0x37511f[_0x463be6(0x342)][_0x463be6(0x32f)]:_0x53ce55={'eventID':_0x37511f[_0x463be6(0x342)][_0x463be6(0x32f)],'liveShareOperation':_0x399948[_0x463be6(0x268)]['data']};break;case _0x37511f[_0x463be6(0x342)][_0x463be6(0x4fa)]:_0x53ce55={'eventID':_0x37511f['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x399948['data'][_0x463be6(0x268)]};break;case _0x37511f[_0x463be6(0x342)][_0x463be6(0x2ef)]:_0x53ce55={'eventID':_0x37511f[_0x463be6(0x342)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x399948[_0x463be6(0x268)]['data']};break;case _0x37511f[_0x463be6(0x342)][_0x463be6(0x383)]:_0x53ce55={'eventID':_0x37511f[_0x463be6(0x342)][_0x463be6(0x383)]};break;default:_0x53ce55={'eventID':_0x399948[_0x463be6(0x268)][_0x463be6(0x2b4)]};}return JSON[_0x463be6(0x31e)]({'cmd':_0x399948['cmd'],'routeKey':_0x399948[_0x463be6(0x234)],'collaMsg':_0x53ce55});}case _0x1b8fab['CombCmd'][_0x463be6(0x470)]:return JSON[_0x463be6(0x31e)]({'cmd':_0x399948[_0x463be6(0x500)],'routeKey':_0x399948['routeKey'],'joinReq':_0x399948[_0x463be6(0x268)]});case _0x1b8fab['CombCmd'][_0x463be6(0x3e6)]:return JSON[_0x463be6(0x31e)]({'cmd':_0x399948['cmd'],'routeKey':_0x399948[_0x463be6(0x234)],'leaveReq':_0x399948[_0x463be6(0x268)]});default:throw Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}let _0x20db02=(0x0,_0x15f21c[_0x1453e5(0x2d3)])(_0x1453e5(0x22e));function _0x71d41f(_0x335d5c,_0x54b27a,_0x35aee4){const _0xb1ffdd=_0x1453e5;return _0x335d5c+'/'+_0x54b27a+_0xb1ffdd(0x4fe)+_0x35aee4+'/new_changes';}let _0x2d2413=class extends _0x15f21c[_0x1453e5(0x428)]{constructor(_0x659868,_0x3aeafb,_0x37b2c0,_0x1cc0e3,_0x10d9b8){const _0x3fface=_0x1453e5;super(),this[_0x3fface(0x3df)]=_0x659868,this[_0x3fface(0x205)]=_0x3aeafb,this[_0x3fface(0x22d)]=_0x37b2c0,this[_0x3fface(0x2ec)]=_0x1cc0e3,this[_0x3fface(0x49c)]=_0x10d9b8;}[_0x1453e5(0x4f0)](_0x26ce3e){const _0x49c306=_0x1453e5;let _0x9dc0fe=this[_0x49c306(0x3df)][_0x49c306(0x405)](_0x3c5332[_0x49c306(0x3a2)]);if(!_0x9dc0fe)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');let _0x7c9d65=_0x9dc0fe[_0x49c306(0x32e)](_0x26ce3e);if(!_0x7c9d65)throw Error(_0x49c306(0x1f6));let _0x3f9347=new _0x15f21c[(_0x49c306(0x204))](),_0x1fbd0e=new _0x57cf55[(_0x49c306(0x50f))]();_0x3f9347['add'](_0x7c9d65['close$'][_0x49c306(0x264)](_0x14098a=>_0x1fbd0e[_0x49c306(0x492)](_0x14098a))),_0x3f9347[_0x49c306(0x449)]((0x0,_0x15f21c[_0x49c306(0x39b)])(()=>_0x1fbd0e['complete']()));let _0x423d7a=new _0x57cf55[(_0x49c306(0x50f))]();_0x3f9347['add'](_0x7c9d65[_0x49c306(0x3b8)][_0x49c306(0x264)](_0x137b78=>_0x423d7a[_0x49c306(0x492)](_0x137b78))),_0x3f9347['add']((0x0,_0x15f21c[_0x49c306(0x39b)])(()=>_0x423d7a[_0x49c306(0x1f2)]()));let _0x1e3024=new _0x57cf55[(_0x49c306(0x50f))]();_0x3f9347[_0x49c306(0x449)](_0x7c9d65[_0x49c306(0x213)][_0x49c306(0x264)](_0x419d6c=>{let _0x14ce8e=_0x12e05c(_0x419d6c);_0x1e3024['next'](_0x14ce8e);})),_0x3f9347['add']((0x0,_0x15f21c[_0x49c306(0x39b)])(()=>_0x1e3024[_0x49c306(0x1f2)]()));let _0x4435be,_0x2f2260=()=>{const _0x338c84=_0x49c306;_0x423d7a['next'](new Event(_0x338c84(0x310))),_0x1fbd0e[_0x338c84(0x492)](new Event(_0x338c84(0x310))),_0x4435be[_0x338c84(0x425)]();};return _0x4435be={'memberID':'','close$':_0x1fbd0e[_0x49c306(0x35d)](),'error$':_0x423d7a[_0x49c306(0x35d)](),'open$':_0x7c9d65[_0x49c306(0x4f6)],'message$':_0x1e3024[_0x49c306(0x35d)](),'send':_0x2a6012=>{const _0x106cee=_0x49c306;if(_0x2a6012[_0x106cee(0x500)]===_0x1b8fab[_0x106cee(0x506)]['INGEST']){if(_0x2a6012[_0x106cee(0x268)]['eventID']===_0x37511f[_0x106cee(0x342)][_0x106cee(0x24f)]){this[_0x106cee(0x33f)](_0x4435be,_0x2a6012[_0x106cee(0x268)])['catch'](_0x42d7d8=>{const _0x194b52=_0x106cee;this[_0x194b52(0x2ec)][_0x194b52(0x357)](_0x42d7d8),_0x2f2260();});return;}if(_0x2a6012[_0x106cee(0x268)][_0x106cee(0x2b4)]===_0x37511f[_0x106cee(0x342)][_0x106cee(0x337)]){let _0xe51382=_0x2a6012['data'];this[_0x106cee(0x23d)](_0xe51382)['then'](_0x3398ed=>{const _0x415ec6=_0x106cee;_0x1e3024[_0x415ec6(0x492)]({'cmd':_0x1b8fab[_0x415ec6(0x506)][_0x415ec6(0x4b6)],'code':_0x1b8fab['CmdRspCode']['OK'],'routeKey':_0xe51382['data'][_0x415ec6(0x47f)],'routeType':'','data':{'eventID':_0x37511f['CollaborationEvent'][_0x415ec6(0x429)],'data':{'changesets':_0x3398ed}}});})[_0x106cee(0x38b)](_0x981527=>{const _0x369bb7=_0x106cee;this[_0x369bb7(0x2ec)][_0x369bb7(0x357)](_0x981527),_0x2f2260();});return;}}_0x7c9d65[_0x106cee(0x344)](_0x2cf58b(_0x2a6012));},'close':()=>{const _0x1424c2=_0x49c306;_0x7c9d65[_0x1424c2(0x425)](),_0x3f9347[_0x1424c2(0x493)]();}},_0x4435be;}async[_0x1453e5(0x33f)](_0x4ca2d9,_0x34d2f4){const _0x5bb05b=_0x1453e5;var _0x51e5a6;let {unitType:_0x4862ca,unitID:_0x134b2d,changeset:_0x19e27f}=_0x34d2f4[_0x5bb05b(0x268)],_0x49867d={'unitID':_0x134b2d,'memberID':_0x4ca2d9[_0x5bb05b(0x4ce)],'type':_0x4862ca,'changeset':(0x0,_0x37511f['parseChangesetToProtocol'])(_0x19e27f)},_0x3b09ef=this[_0x5bb05b(0x22d)]['getConfig'](_0x4ffd90),_0x5e3f1b=_0x71d41f((_0x51e5a6=_0x3b09ef==null?void 0x0:_0x3b09ef[_0x5bb05b(0x2e9)])==null?_0x5bb05b(0x28f):_0x51e5a6,_0x4862ca,_0x134b2d);try{await this[_0x5bb05b(0x205)][_0x5bb05b(0x4dc)](_0x5e3f1b,{'body':_0x49867d});}catch(_0x289b84){throw this[_0x5bb05b(0x2ec)][_0x5bb05b(0x357)](_0x5bb05b(0x4e1),_0x5bb05b(0x2eb)),_0x289b84;}}async[_0x1453e5(0x23d)](_0x59d1e6){const _0x3725a7=_0x1453e5;let {unitID:_0x36cd2d,from:_0x320cc3,to:_0x43c3ce,unitType:_0x1ff41f}=_0x59d1e6[_0x3725a7(0x268)];return(await this[_0x3725a7(0x49c)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x36cd2d,'type':_0x1ff41f,'from':_0x320cc3,'to':_0x43c3ce}))['changesets']['map'](_0x26dfe1=>((_0x26dfe1[_0x3725a7(0x3d5)]===null||_0x26dfe1[_0x3725a7(0x3d5)]===void 0x0)&&(_0x26dfe1[_0x3725a7(0x3d5)]=[]),_0x26dfe1));}};_0x2d2413=_0x23bcbc([_0x20187e(0x0,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x1,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x3c5332['HTTPService'])),_0x20187e(0x2,_0x15f21c[_0x1453e5(0x488)]),_0x20187e(0x3,_0x15f21c[_0x1453e5(0x3fc)]),_0x20187e(0x4,_0x37511f[_0x1453e5(0x3b5)])],_0x2d2413);let _0x2bd27e=class extends _0x15f21c[_0x1453e5(0x428)]{get[_0x1453e5(0x23f)](){const _0x539b6c=_0x1453e5;return this[_0x539b6c(0x480)][_0x539b6c(0x459)]();}constructor(_0x2c1a1d,_0x2a05e9,_0x42370e,_0x3982d6,_0x44d853,_0x24f5cf){const _0x15b655=_0x1453e5;super(),this[_0x15b655(0x3df)]=_0x2c1a1d,this[_0x15b655(0x2ec)]=_0x2a05e9,this[_0x15b655(0x22d)]=_0x42370e,this['_socketService']=_0x3982d6,this[_0x15b655(0x3a7)]=_0x44d853,this[_0x15b655(0x3ec)]=_0x24f5cf,_0x14249f(this,'_socket$',new _0x57cf55[(_0x15b655(0x442))](void 0x0)),_0x14249f(this,_0x15b655(0x254),this['_socket$']['asObservable']()),_0x14249f(this,_0x15b655(0x393),null),_0x14249f(this,'_sessions',new Map()),_0x14249f(this,_0x15b655(0x312),new _0x57cf55[(_0x15b655(0x442))](0x0)),_0x14249f(this,_0x15b655(0x4d8),this['_status$'][_0x15b655(0x35d)]()),_0x14249f(this,_0x15b655(0x406),!0x1),_0x14249f(this,_0x15b655(0x1f3),void 0x0),_0x14249f(this,_0x15b655(0x401),0x0),_0x14249f(this,'_socketMessageSubscription',null),_0x14249f(this,_0x15b655(0x4aa),void 0x0),_0x14249f(this,_0x15b655(0x243),void 0x0),this[_0x15b655(0x232)]();}[_0x1453e5(0x232)](){const _0xcb0cab=_0x1453e5;this[_0xcb0cab(0x3ec)]&&this['disposeWithMe'](this[_0xcb0cab(0x3ec)][_0xcb0cab(0x3ba)][_0xcb0cab(0x264)](_0x5939ae=>{const _0x1d9187=_0xcb0cab;_0x5939ae&&!this[_0x1d9187(0x23f)]&&this[_0x1d9187(0x3d1)](),_0x5939ae||this[_0x1d9187(0x388)]();}));}['dispose'](){const _0x35a2de=_0x1453e5;var _0x5de43c;super['dispose'](),(_0x5de43c=this['_socketMessageSubscription'])==null||_0x5de43c[_0x35a2de(0x347)](),this['_socketMessageSubscription']=null,this[_0x35a2de(0x44b)](),this[_0x35a2de(0x363)](),this[_0x35a2de(0x349)](),this['_sessions']['forEach'](_0x547cdc=>_0x547cdc[_0x35a2de(0x493)]()),this[_0x35a2de(0x4a1)][_0x35a2de(0x4a5)](),this[_0x35a2de(0x312)][_0x35a2de(0x1f2)]();}async[_0x1453e5(0x25f)](_0x3e0991){const _0x40e5b2=_0x1453e5;if(this[_0x40e5b2(0x4a1)][_0x40e5b2(0x508)](_0x3e0991))return this[_0x40e5b2(0x4a1)][_0x40e5b2(0x405)](_0x3e0991);this[_0x40e5b2(0x4d4)]();let _0x125678=this[_0x40e5b2(0x3df)]['createInstance'](_0xf4dd52,_0x3e0991,this[_0x40e5b2(0x480)][_0x40e5b2(0x35d)]());return this[_0x40e5b2(0x4a1)][_0x40e5b2(0x37f)](_0x3e0991,_0x125678),_0x125678;}[_0x1453e5(0x41a)](_0x3568cd){const _0x4cd746=_0x1453e5;let _0x39ba79=this['_sessions']['get'](_0x3568cd);if(_0x39ba79&&(this[_0x4cd746(0x4a1)]['delete'](_0x3568cd),_0x39ba79[_0x4cd746(0x425)]()),!this[_0x4cd746(0x4a1)]['size']){var _0x20b180;(_0x20b180=this['_socket'])==null||_0x20b180[_0x4cd746(0x425)]();}}['reconnect'](){const _0x11f49c=_0x1453e5;this[_0x11f49c(0x401)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x1453e5(0x44b)](){const _0x2d231f=_0x1453e5;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2d231f(0x1f3)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){const _0x412bb4=_0x1453e5;var _0x4e3573;let _0x118a6f=this['_configService'][_0x412bb4(0x3dc)](_0x4ffd90),_0x48e35d=(_0x4e3573=_0x118a6f==null?void 0x0:_0x118a6f[_0x412bb4(0x50d)])==null?_0xe2144e:_0x4e3573,_0x3b418b=await this[_0x412bb4(0x49b)]['createSocket'](_0x48e35d);return this[_0x412bb4(0x393)]=_0x3b418b,_0x3b418b;}async[_0x1453e5(0x4d4)](){const _0x440a7e=_0x1453e5;try{var _0x42439b,_0x568326;let _0x5696cd=(_0x42439b=(_0x568326=this[_0x440a7e(0x23f)])==null?this[_0x440a7e(0x393)]:_0x568326)==null?await this[_0x440a7e(0x360)]():_0x42439b;if(_0x5696cd){var _0x1f8e34;let _0x26d0d2=_0x5696cd[_0x440a7e(0x344)];_0x5696cd[_0x440a7e(0x344)]=_0x34daae=>(_0x34daae[_0x440a7e(0x500)]!==_0x1b8fab[_0x440a7e(0x506)]['LEAVE']&&this[_0x440a7e(0x3f0)](),_0x26d0d2[_0x440a7e(0x2c0)](_0x5696cd,[_0x34daae])),(_0x1f8e34=this['_socketMessageSubscription'])==null||_0x1f8e34[_0x440a7e(0x347)](),this[_0x440a7e(0x413)]=null,this[_0x440a7e(0x413)]=_0x5696cd[_0x440a7e(0x213)][_0x440a7e(0x264)](_0x545218=>this[_0x440a7e(0x368)](_0x5696cd,_0x545218)),_0x5696cd[_0x440a7e(0x3b8)][_0x440a7e(0x469)]((0x0,_0x19fb73[_0x440a7e(0x3ee)])(0x1))[_0x440a7e(0x264)](_0x1ebd59=>this[_0x440a7e(0x2ec)][_0x440a7e(0x357)]('[CollaborationSessionService]:\x20socket\x20error',_0x1ebd59)),_0x5696cd[_0x440a7e(0x4f6)][_0x440a7e(0x469)]((0x0,_0x19fb73[_0x440a7e(0x3ee)])(0x1))[_0x440a7e(0x264)](()=>{this['_onConnectionOpen'](_0x5696cd);}),_0x5696cd[_0x440a7e(0x4be)]['pipe']((0x0,_0x19fb73['take'])(0x1))[_0x440a7e(0x264)](_0x3b74cb=>{const _0x4ae31f=_0x440a7e;this['_logService']['debug'](_0x4ae31f(0x4c2),_0x4ae31f(0x2c4),_0x3b74cb),this[_0x4ae31f(0x2db)]();});}}catch(_0x28cca9){this[_0x440a7e(0x2ec)]['error'](_0x28cca9),this[_0x440a7e(0x2db)]();}}[_0x1453e5(0x42e)](_0x415eb2){const _0x2018b5=_0x1453e5;this['_logService'][_0x2018b5(0x275)](_0x2018b5(0x4c2),_0x2018b5(0x3e4)),_0x415eb2['send']({'cmd':_0x1b8fab[_0x2018b5(0x506)][_0x2018b5(0x2f8)]}),this[_0x2018b5(0x3f0)]();}[_0x1453e5(0x388)](){const _0x4f958c=_0x1453e5;this[_0x4f958c(0x406)]=!0x1,this[_0x4f958c(0x393)]=null,this['_status$'][_0x4f958c(0x492)](0x2),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x1453e5(0x2db)](){const _0x251999=_0x1453e5;var _0x3c4029;this[_0x251999(0x388)](),this[_0x251999(0x401)]<((_0x3c4029=this[_0x251999(0x22d)][_0x251999(0x3dc)](_0x251999(0x351)))==null?0x3:_0x3c4029)?(this[_0x251999(0x3a7)]['emitEvent']({'id':_0x251999(0x25a)}),this['_tryReconnect']()):this[_0x251999(0x3a7)][_0x251999(0x400)]({'id':_0x251999(0x479)});}[_0x1453e5(0x3b7)](){const _0x18dd3d=_0x1453e5;var _0x60831;let _0x3a225f=this['_retryCount'],_0x50cacf=this[_0x18dd3d(0x22d)][_0x18dd3d(0x3dc)](_0x4ffd90),_0x2bdc69=_0x3a225f===0x0?0x0:((_0x60831=_0x50cacf==null?void 0x0:_0x50cacf[_0x18dd3d(0x273)])==null?0x4e20:_0x60831)*0x2**_0x3a225f;this[_0x18dd3d(0x1f3)]=setTimeout(()=>{const _0x1a3f5a=_0x18dd3d;clearTimeout(this[_0x1a3f5a(0x1f3)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x2bdc69),this[_0x18dd3d(0x401)]+=0x1;}[_0x1453e5(0x368)](_0x46d818,_0xd540bf){const _0x55af3e=_0x1453e5;let {cmd:_0x5d92b6}=_0xd540bf;_0x5d92b6===_0x1b8fab['CombCmd'][_0x55af3e(0x2f8)]&&!this[_0x55af3e(0x406)]&&(_0x46d818[_0x55af3e(0x4ce)]=_0xd540bf[_0x55af3e(0x268)]['memberID'],this[_0x55af3e(0x480)][_0x55af3e(0x492)](_0x46d818),this[_0x55af3e(0x312)][_0x55af3e(0x492)](0x3),this['_socketReady']=!0x0,this[_0x55af3e(0x393)]=null),_0x5d92b6===_0x1b8fab['CombCmd'][_0x55af3e(0x478)]&&this[_0x55af3e(0x363)](),this['_rescheduleHeartbeat']();}[_0x1453e5(0x3f0)](){const _0xbd4ccb=_0x1453e5;var _0x235cf8;this[_0xbd4ccb(0x349)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x235cf8=this['_configService'][_0xbd4ccb(0x3dc)](_0xbd4ccb(0x38f)))==null?0x7530:_0x235cf8);}[_0x1453e5(0x227)](){const _0x16e1fb=_0x1453e5;this[_0x16e1fb(0x23f)][_0x16e1fb(0x344)]({'cmd':_0x1b8fab[_0x16e1fb(0x506)][_0x16e1fb(0x478)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){const _0x223659=_0x1453e5;var _0x2f7d05;this[_0x223659(0x243)]=setTimeout(()=>this[_0x223659(0x2db)](),(_0x2f7d05=this[_0x223659(0x22d)][_0x223659(0x3dc)]('HEARTBEAT_TIMEOUT'))==null?_0x1f5766:_0x2f7d05);}['_clearHeartbeatTimer'](){const _0x580562=_0x1453e5;this[_0x580562(0x4aa)]!=null&&(clearTimeout(this[_0x580562(0x4aa)]),this[_0x580562(0x4aa)]=null);}[_0x1453e5(0x363)](){const _0x532bed=_0x1453e5;this[_0x532bed(0x243)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x532bed(0x243)]=null);}};_0x2bd27e=_0x23bcbc([_0x20187e(0x0,(0x0,_0x15f21c['Inject'])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x1,_0x15f21c['ILogService']),_0x20187e(0x2,_0x15f21c[_0x1453e5(0x488)]),_0x20187e(0x3,_0x20db02),_0x20187e(0x4,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x44a5ef)),_0x20187e(0x5,(0x0,_0x15f21c['Optional'])(_0x49ddf5))],_0x2bd27e);let _0x3c00a4=class extends _0x15f21c['RxDisposable']{constructor(_0xaf5727,_0x19d53c,_0x439369,_0xa0e6af){const _0xe23c82=_0x1453e5;var _0x2f77c4;super(),this[_0xe23c82(0x3df)]=_0xaf5727,this['_collabSessionService']=_0x19d53c,this[_0xe23c82(0x22d)]=_0x439369,this['_univerInstanceService']=_0xa0e6af,_0x14249f(this,_0xe23c82(0x352),new Map()),_0x14249f(this,_0xe23c82(0x26c),new _0x57cf55[(_0xe23c82(0x50f))]()),_0x14249f(this,_0xe23c82(0x2d2),this[_0xe23c82(0x26c)][_0xe23c82(0x35d)]()),((_0x2f77c4=this[_0xe23c82(0x22d)]['getConfig'](_0xe23c82(0x458)))==null?void 0x0:_0x2f77c4[_0xe23c82(0x3fe)])!==!0x1&&this['_init']();}[_0x1453e5(0x493)](){const _0x275197=_0x1453e5;super['dispose'](),this['_entities'][_0x275197(0x4a3)](_0x133c8c=>_0x133c8c[_0x275197(0x493)]()),this[_0x275197(0x352)][_0x275197(0x4a5)]();}[_0x1453e5(0x491)](_0x55bcf9){const _0x2485cb=_0x1453e5;var _0x516ae;return(_0x516ae=this['_entities'][_0x2485cb(0x405)](_0x55bcf9))==null?null:_0x516ae;}[_0x1453e5(0x299)](_0x5e5a28){const _0x2a6bfc=_0x1453e5;let _0x293d78=this['getCollabEntity'](_0x5e5a28);return _0x293d78?(0x0,_0x57cf55['of'])(_0x293d78):this[_0x2a6bfc(0x26c)][_0x2a6bfc(0x469)]((0x0,_0x19fb73[_0x2a6bfc(0x2ba)])(_0x129abb=>_0x129abb[_0x2a6bfc(0x47f)]===_0x5e5a28));}[_0x1453e5(0x448)](_0x3263bc){const _0xb46ee5=_0x1453e5;return(0x0,_0x57cf55[_0xb46ee5(0x30d)])(this[_0xb46ee5(0x299)](_0x3263bc)['pipe']((0x0,_0x19fb73[_0xb46ee5(0x27b)])(()=>void 0x0)));}[_0x1453e5(0x4e0)](){const _0x5d0664=_0x1453e5;this['_univerInstanceService'][_0x5d0664(0x4ba)](_0x15f21c[_0x5d0664(0x3b3)]['UNIVER_SHEET'])[_0x5d0664(0x469)]((0x0,_0x57cf55['takeUntil'])(this[_0x5d0664(0x46d)]),(0x0,_0x19fb73[_0x5d0664(0x21c)])(0x10))[_0x5d0664(0x264)](async _0x3b2e59=>{const _0x373e81=_0x5d0664;let _0x419ccf=_0x3b2e59[_0x373e81(0x36b)]['getUnitId'](),_0x748103=await this[_0x373e81(0x4d6)](_0x419ccf,_0x15f21c['UniverInstanceType']['UNIVER_SHEET']);this[_0x373e81(0x352)]['set'](_0x419ccf,_0x748103);}),this[_0x5d0664(0x3c2)]['getTypeOfUnitAdded$'](_0x15f21c['UniverInstanceType'][_0x5d0664(0x301)])[_0x5d0664(0x469)]((0x0,_0x57cf55[_0x5d0664(0x25c)])(this[_0x5d0664(0x46d)]),(0x0,_0x19fb73[_0x5d0664(0x21c)])(0x10))['pipe']((0x0,_0x19fb73[_0x5d0664(0x2ba)])(_0x226468=>!_0x226468[_0x5d0664(0x36b)][_0x5d0664(0x49d)]()[_0x5d0664(0x3d0)]('__')))['subscribe'](async _0xf190c0=>{const _0x6808c2=_0x5d0664;let _0x249a91=_0xf190c0[_0x6808c2(0x36b)]['getUnitId'](),_0xee7c74=await this[_0x6808c2(0x4d6)](_0x249a91,_0x15f21c[_0x6808c2(0x3b3)][_0x6808c2(0x301)]);this[_0x6808c2(0x352)][_0x6808c2(0x37f)](_0x249a91,_0xee7c74);}),(0x0,_0x57cf55[_0x5d0664(0x2ed)])(this[_0x5d0664(0x3c2)][_0x5d0664(0x26d)](_0x15f21c[_0x5d0664(0x3b3)][_0x5d0664(0x45a)]),this['_univerInstanceService'][_0x5d0664(0x26d)](_0x15f21c[_0x5d0664(0x3b3)]['UNIVER_DOC']))[_0x5d0664(0x469)]((0x0,_0x57cf55['takeUntil'])(this[_0x5d0664(0x46d)]))[_0x5d0664(0x264)](_0x463021=>{const _0x33d021=_0x5d0664;let _0x23ccc2=_0x463021[_0x33d021(0x49d)](),_0x2e574d=this[_0x33d021(0x352)][_0x33d021(0x405)](_0x23ccc2);_0x2e574d&&(_0x2e574d[_0x33d021(0x493)](),this['_entities'][_0x33d021(0x22a)](_0x23ccc2));});}async[_0x1453e5(0x4d6)](_0x344539,_0x4e0678){const _0x45403d=_0x1453e5;let _0x479625=await this[_0x45403d(0x367)][_0x45403d(0x25f)](_0x344539),_0x340c52=this[_0x45403d(0x3df)][_0x45403d(0x48b)](this[_0x45403d(0x3d3)](_0x4e0678),_0x344539,_0x4e0678,_0x479625);return await _0x340c52[_0x45403d(0x3a3)](),this[_0x45403d(0x26c)][_0x45403d(0x492)](_0x340c52),_0x340c52;}[_0x1453e5(0x3d3)](_0x14884c){const _0x3dab6f=_0x1453e5;switch(_0x14884c){case _0x15f21c[_0x3dab6f(0x3b3)]['UNIVER_DOC']:return _0x3313c8;case _0x15f21c['UniverInstanceType'][_0x3dab6f(0x45a)]:return _0x5a3f3c;default:throw Error(_0x3dab6f(0x35f)+_0x14884c);}}};_0x3c00a4=_0x23bcbc([_0x20187e(0x0,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x1,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x2bd27e)),_0x20187e(0x2,_0x15f21c[_0x1453e5(0x488)]),_0x20187e(0x3,_0x15f21c[_0x1453e5(0x22c)])],_0x3c00a4);var _0x5dfe46='@univerjs-pro/collaboration-client',_0x5e44b1=_0x1453e5(0x38e);let _0x2ec451=class extends _0x15f21c[_0x1453e5(0x428)]{constructor(_0x55faba,_0x326dba){const _0x418ea2=_0x1453e5;super(),this[_0x418ea2(0x3c2)]=_0x55faba,this['_configService']=_0x326dba,this[_0x418ea2(0x4e0)]();}[_0x1453e5(0x4e0)](){const _0x24d39e=_0x1453e5;this[_0x24d39e(0x2b9)](this[_0x24d39e(0x3c2)][_0x24d39e(0x2ee)][_0x24d39e(0x264)](()=>{const _0x42acdd=_0x24d39e;var _0x2b8aba;let _0x53f89d=this[_0x42acdd(0x3c2)][_0x42acdd(0x32a)](),_0xb85328=(_0x2b8aba=this['_configService'][_0x42acdd(0x3dc)]('DEFAULT_FILE_NAME'))==null?'Univer':_0x2b8aba;_0x53f89d instanceof _0x15f21c[_0x42acdd(0x494)]&&(_0xb85328=_0x53f89d[_0x42acdd(0x3c1)]),document[_0x42acdd(0x315)]=_0xb85328;}));}};_0x2ec451=_0x23bcbc([_0x20187e(0x0,_0x15f21c[_0x1453e5(0x22c)]),_0x20187e(0x1,_0x15f21c[_0x1453e5(0x488)])],_0x2ec451);let _0x246b1c=class{constructor(_0x22e412,_0x1fad73,_0x18a506){const _0xd73d71=_0x1453e5;this[_0xd73d71(0x22d)]=_0x22e412,this[_0xd73d71(0x205)]=_0x1fad73,this[_0xd73d71(0x327)]=_0x18a506,this[_0xd73d71(0x3a3)]();}[_0x1453e5(0x3a3)](){const _0x4004bb=_0x1453e5;this[_0x4004bb(0x205)][_0x4004bb(0x334)]({'priority':0x1,'interceptor':(_0x110a9b,_0x16f589)=>_0x16f589(_0x110a9b)[_0x4004bb(0x469)]((0x0,_0x57cf55[_0x4004bb(0x3e0)])(async _0x57ae21=>{const _0x33c186=_0x4004bb;let _0x4d24e6=_0x57ae21;if(_0x4d24e6[_0x33c186(0x29a)]===0x191){if(typeof window>'u')throw Error(_0x33c186(0x336));if(window[_0x33c186(0x26b)](this[_0x33c186(0x327)]['t'](_0x33c186(0x295)))){let _0x2d03b4=window['encodeURIComponent'](window[_0x33c186(0x207)]['href']);window['location'][_0x33c186(0x2b0)]=this[_0x33c186(0x45b)]()+'?url='+_0x2d03b4;}}return _0x4d24e6;}))});}[_0x1453e5(0x45b)](){const _0x3934c6=_0x1453e5;var _0x4da016;let _0x208a41=this[_0x3934c6(0x22d)][_0x3934c6(0x3dc)](_0x4ffd90);return(_0x4da016=_0x208a41==null?void 0x0:_0x208a41['loginUrlKey'])==null?_0x3934c6(0x3e5):_0x4da016;}};_0x246b1c=_0x23bcbc([_0x20187e(0x0,_0x15f21c['IConfigService']),_0x20187e(0x1,(0x0,_0x15f21c['Inject'])(_0x3c5332[_0x1453e5(0x222)])),_0x20187e(0x2,(0x0,_0x15f21c['Inject'])(_0x15f21c[_0x1453e5(0x3d2)]))],_0x246b1c);let _0x8459f8=class extends _0x15f21c[_0x1453e5(0x428)]{constructor(_0x48da9f,_0x3881a3){const _0x91825d=_0x1453e5;super(),this['_HTTPService']=_0x48da9f,this[_0x91825d(0x22d)]=_0x3881a3,_0x14249f(this,_0x91825d(0x3ed),!0x1),this[_0x91825d(0x4b7)]();}[_0x1453e5(0x4b7)](){const _0x48cb95=_0x1453e5;let _0x2fa09e=this;this[_0x48cb95(0x2b9)](this[_0x48cb95(0x291)][_0x48cb95(0x334)]({'priority':0x3e7,'interceptor':(0x0,_0x3c5332[_0x48cb95(0x39d)])({'isMatch'(_0x38628b){const _0x5cf604=_0x48cb95;var _0x45b7fe;if(_0x38628b[_0x5cf604(0x2be)]===_0x5cf604(0x290)&&(_0x45b7fe=_0x38628b[_0x5cf604(0x434)])!=null&&_0x45b7fe[_0x5cf604(0x4e9)]){let {objectID:_0x414339,objectType:_0x3c280a}=_0x38628b[_0x5cf604(0x434)][_0x5cf604(0x4e9)]||{};if(!_0x414339||_0x3c280a===void 0x0)return!0x1;let _0x3da94e=_0x2fa09e['_getAPIPrefixPath']()+'/'+_0x3c280a+_0x5cf604(0x435)+_0x414339+'/allowed';if(_0x38628b[_0x5cf604(0x409)]===_0x3da94e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x365022){const _0x188883=_0x48cb95;var _0x426704;return(_0x426704=_0x365022[_0x188883(0x434)])==null?void 0x0:_0x426704[_0x188883(0x4e9)];},'mergeParamsToRequest'(_0x3d9331,_0x10b77d){const _0x592dfd=_0x48cb95;let _0x1a6899=_0x2fa09e[_0x592dfd(0x3fb)]()+'/-/object/-/batch_allowed',_0x3de75a=_0x3d9331[_0x592dfd(0x483)]((_0x1ae330,_0x3f23a7)=>{const _0x4752ab=_0x592dfd;let {unitID:_0x299d82,objectID:_0x129a8d,objectType:_0x240714,actions:_0x4e8ce0}=_0x3f23a7;return _0x1ae330[_0x299d82]||(_0x1ae330[_0x299d82]={}),_0x1ae330[_0x299d82][_0x129a8d]||(_0x1ae330[_0x299d82][_0x129a8d]={'objectID':_0x129a8d,'objectType':_0x240714,'actions':[]}),_0x1ae330[_0x299d82][_0x129a8d][_0x4752ab(0x3f3)][_0x4752ab(0x4d0)](..._0x4e8ce0),_0x1ae330;},{}),_0x4e10dd=[];for(let _0x46a268 in _0x3de75a)for(let _0x33a42c in _0x3de75a[_0x46a268]){let {actions:_0x312592,objectType:_0x237413}=_0x3de75a[_0x46a268][_0x33a42c],_0x79305b=[...new Set(_0x312592)];_0x4e10dd[_0x592dfd(0x4d0)]({'unitID':_0x46a268,'objectID':_0x33a42c,'objectType':_0x237413,'actions':_0x79305b});}return new _0x3c5332['HTTPRequest'](_0x592dfd(0x290),_0x1a6899,{'headers':_0x10b77d['headers'],'withCredentials':_0x10b77d[_0x592dfd(0x340)],'responseType':_0x10b77d[_0x592dfd(0x2f2)],'body':{'requests':_0x4e10dd}});}},{'distributeResult'(_0x1a73ef,_0x23c9c9){let {objectActions:_0x3d4160}=_0x1a73ef;return _0x23c9c9['map'](_0x198cc7=>{const _0x3e5928=_0x2103;let {unitID:_0x32b3cc,objectID:_0x38219a,actions:_0x4b1516}=_0x198cc7,_0xe87cab=_0x3d4160[_0x3e5928(0x263)](_0x353a0e=>_0x353a0e[_0x3e5928(0x47f)]===_0x32b3cc&&_0x353a0e[_0x3e5928(0x216)]===_0x38219a);return{'config':_0x198cc7,'result':{'actions':_0x4b1516['map'](_0x556ffd=>_0xe87cab==null?void 0x0:_0xe87cab[_0x3e5928(0x3f3)]['find'](_0x4af2b1=>_0x4af2b1[_0x3e5928(0x2c6)]===_0x556ffd))[_0x3e5928(0x2ba)](_0x2c021d=>!!_0x2c021d),'error':_0x1a73ef['error']}};});}})}));}[_0x1453e5(0x3fb)](){const _0x28e1bc=_0x1453e5;var _0x2ee807;let _0x40f953=this[_0x28e1bc(0x22d)]['getConfig'](_0x4ffd90);return(_0x2ee807=_0x40f953==null?void 0x0:_0x40f953[_0x28e1bc(0x354)])==null?_0x28e1bc(0x3ac):_0x2ee807;}async['create'](_0x2edd89){const _0x1fbd6b=_0x1453e5;let _0x19b1d1=this['_getAPIPrefixPath']()+'/'+_0x2edd89[_0x1fbd6b(0x25e)]+_0x1fbd6b(0x3c6);return(await this[_0x1fbd6b(0x291)][_0x1fbd6b(0x4dc)](_0x19b1d1,{'body':_0x2edd89}))[_0x1fbd6b(0x4e9)][_0x1fbd6b(0x216)]||'';}async['list'](_0x2bc6b0){const _0x213b11=_0x1453e5;let _0x2497aa=this[_0x213b11(0x3fb)]()+_0x213b11(0x33a);return(await this[_0x213b11(0x291)][_0x213b11(0x4dc)](_0x2497aa,{'body':_0x2bc6b0}))[_0x213b11(0x4e9)][_0x213b11(0x481)];}async[_0x1453e5(0x35a)](_0x4515a5){const _0x48c0ea=_0x1453e5;var _0x8dd4dd;let _0xb4060f=this[_0x48c0ea(0x3fb)]()+'/'+_0x4515a5[_0x48c0ea(0x25e)]+_0x48c0ea(0x435)+_0x4515a5[_0x48c0ea(0x216)],_0x34fdd6=await this[_0x48c0ea(0x291)]['put'](_0xb4060f,{'body':_0x4515a5});if((_0x34fdd6==null||(_0x8dd4dd=_0x34fdd6[_0x48c0ea(0x4e9)])==null||(_0x8dd4dd=_0x8dd4dd[_0x48c0ea(0x357)])==null?void 0x0:_0x8dd4dd[_0x48c0ea(0x1fd)])!==0x1)throw Error(_0x48c0ea(0x50e));}async[_0x1453e5(0x211)](_0x31b92d){const _0x432751=_0x1453e5;let _0x24a36f=this[_0x432751(0x3fb)]()+'/'+_0x31b92d[_0x432751(0x25e)]+'/object/'+_0x31b92d[_0x432751(0x216)]+_0x432751(0x2c5);return(await this[_0x432751(0x291)]['post'](_0x24a36f,{'body':_0x31b92d}))[_0x432751(0x4e9)][_0x432751(0x3f3)];}async[_0x1453e5(0x331)](_0x377e65){const _0x2dfb0f=_0x1453e5;let _0x59fc43=this[_0x2dfb0f(0x3fb)]()+_0x2dfb0f(0x3da);return(await this[_0x2dfb0f(0x291)][_0x2dfb0f(0x4dc)](_0x59fc43,{'body':{'requests':_0x377e65}}))['body'][_0x2dfb0f(0x1f9)];}async[_0x1453e5(0x381)](_0x89e780){const _0xcc4627=_0x1453e5;let _0x1a19e9=this[_0xcc4627(0x3fb)]()+'/'+_0x89e780[_0xcc4627(0x25e)]+_0xcc4627(0x4d1),_0x32d902=await this[_0xcc4627(0x291)]['post'](_0x1a19e9,{'body':_0x89e780});return{'roles':_0x32d902['body'][_0xcc4627(0x339)],'actions':_0x32d902['body'][_0xcc4627(0x3f3)]};}async[_0x1453e5(0x3b0)](_0x24530b){const _0x4346be=_0x1453e5;let _0x1d975a=this['_getAPIPrefixPath']()+_0x4346be(0x358);await this[_0x4346be(0x291)][_0x4346be(0x22a)](_0x1d975a,{'params':{'collaboratorID':_0x24530b['collaboratorID'],'objectID':_0x24530b[_0x4346be(0x216)],'unitID':_0x24530b[_0x4346be(0x47f)]}});}async[_0x1453e5(0x50c)](_0x4db9d2){const _0x593b9a=_0x1453e5;let _0x272f9e=this[_0x593b9a(0x3fb)]()+_0x593b9a(0x358);await this['_HTTPService'][_0x593b9a(0x427)](_0x272f9e,{'body':_0x4db9d2});}async[_0x1453e5(0x2ca)](_0x5bd688){const _0x139f92=_0x1453e5;let _0x1d8530=this[_0x139f92(0x3fb)]()+_0x139f92(0x358);await this[_0x139f92(0x291)][_0x139f92(0x4dc)](_0x1d8530,{'body':_0x5bd688});}async[_0x1453e5(0x417)](_0x392bb5){const _0xd0a742=_0x1453e5;var _0x35da77;let _0x33dc27=this[_0xd0a742(0x3fb)]()+_0xd0a742(0x358),_0x39f4a3=await this[_0xd0a742(0x291)][_0xd0a742(0x405)](_0x33dc27,{'params':{'objectID':_0x392bb5[_0xd0a742(0x216)],'unitID':_0x392bb5[_0xd0a742(0x47f)]}});return this[_0xd0a742(0x2e5)]((_0x35da77=_0x39f4a3[_0xd0a742(0x4e9)][_0xd0a742(0x374)])==null?!0x1:_0x35da77),_0x39f4a3[_0xd0a742(0x4e9)]['collaborators'];}async[_0x1453e5(0x3a9)](_0x460751){const _0x19458f=_0x1453e5;let _0x3d1365=this[_0x19458f(0x3fb)]()+_0x19458f(0x358);await this[_0x19458f(0x291)][_0x19458f(0x371)](_0x3d1365,{'body':_0x460751});}['setCfgEnableObjInherit'](_0x40f618){const _0x1c44bd=_0x1453e5;this[_0x1c44bd(0x3ed)]=_0x40f618;}[_0x1453e5(0x28c)](){const _0x4d5711=_0x1453e5;return this[_0x4d5711(0x3ed)];}};_0x8459f8=_0x23bcbc([_0x20187e(0x0,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x3c5332['HTTPService'])),_0x20187e(0x1,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x488)]))],_0x8459f8);function _0x34bf47(_0xfb641f){const _0x58b3bb=_0x1453e5;return _0xfb641f instanceof Uint8Array||ArrayBuffer['isView'](_0xfb641f)&&_0xfb641f[_0x58b3bb(0x3fd)][_0x58b3bb(0x3c1)]===_0x58b3bb(0x41b)&&_0x58b3bb(0x231)in _0xfb641f&&_0xfb641f[_0x58b3bb(0x231)]===0x1;}function _0x5b62a7(_0x50a85e){const _0x203275=_0x1453e5;if(typeof _0x50a85e!='number')throw TypeError(_0x203275(0x454)+typeof _0x50a85e);if(!Number[_0x203275(0x378)](_0x50a85e)||_0x50a85e<0x0)throw RangeError(_0x203275(0x398)+_0x50a85e);}function _0x4b74eb(_0x350aa5,_0x5683e7,_0x2d121a=''){const _0x5adaf7=_0x1453e5;let _0x3bfcc8=_0x34bf47(_0x350aa5),_0x4a2772=_0x350aa5==null?void 0x0:_0x350aa5[_0x5adaf7(0x22f)],_0x9cf1ab=_0x5683e7!==void 0x0;if(!_0x3bfcc8||_0x9cf1ab&&_0x4a2772!==_0x5683e7){let _0x579132=_0x2d121a&&'\x22'+_0x2d121a+'\x22\x20',_0x454223=_0x9cf1ab?_0x5adaf7(0x3c7)+_0x5683e7:'',_0x88a47b=_0x3bfcc8?_0x5adaf7(0x1fe)+_0x4a2772:_0x5adaf7(0x3db)+typeof _0x350aa5,_0x374b37=_0x579132+'expected\x20Uint8Array'+_0x454223+_0x5adaf7(0x324)+_0x88a47b;throw _0x3bfcc8?RangeError(_0x374b37):TypeError(_0x374b37);}return _0x350aa5;}function _0xda43d0(_0x294ade){return new Uint32Array(_0x294ade['buffer'],_0x294ade['byteOffset'],Math['floor'](_0x294ade['byteLength']/0x4));}function _0x4dcd4d(..._0x244efb){const _0x15b9f8=_0x1453e5;for(let _0x5a89a9=0x0;_0x5a89a9<_0x244efb[_0x15b9f8(0x22f)];_0x5a89a9++)_0x244efb[_0x5a89a9][_0x15b9f8(0x332)](0x0);}let _0x47c89c=new Uint8Array(new Uint32Array([0x11223344])[_0x1453e5(0x412)])[0x0]===0x44,_0x211705=_0xd8657d=>_0xd8657d<<0x18&0xff000000|_0xd8657d<<0x8&0xff0000|_0xd8657d>>>0x8&0xff00|_0xd8657d>>>0x18&0xff,_0x367d32=_0x47c89c?_0x22d38d=>_0x22d38d:_0x4dbc87=>{const _0x358a6a=_0x1453e5;for(let _0x5995ba=0x0;_0x5995ba<_0x4dbc87[_0x358a6a(0x22f)];_0x5995ba++)_0x4dbc87[_0x5995ba]=_0x211705(_0x4dbc87[_0x5995ba]);return _0x4dbc87;};typeof Uint8Array[_0x1453e5(0x294)]([])['toHex']==_0x1453e5(0x3ff)&&Uint8Array[_0x1453e5(0x4d7)];function _0x5e4550(_0x5ef294){const _0x1dc0b7=_0x1453e5;if(typeof _0x5ef294!=_0x1dc0b7(0x444))throw TypeError(_0x1dc0b7(0x391));return new Uint8Array(new TextEncoder()[_0x1dc0b7(0x31c)](_0x5ef294));}function _0x2bd927(_0x18dec3,_0x38d72c){const _0x48a56e=_0x1453e5;return!_0x18dec3[_0x48a56e(0x24a)]||!_0x38d72c[_0x48a56e(0x24a)]?!0x1:_0x18dec3['buffer']===_0x38d72c[_0x48a56e(0x412)]&&_0x18dec3['byteOffset']<_0x38d72c[_0x48a56e(0x2bf)]+_0x38d72c[_0x48a56e(0x24a)]&&_0x38d72c[_0x48a56e(0x2bf)]<_0x18dec3['byteOffset']+_0x18dec3['byteLength'];}function _0x3a4acd(_0x257f8b,_0x335ad8){const _0xc3f7ca=_0x1453e5;if(_0x2bd927(_0x257f8b,_0x335ad8)&&_0x257f8b['byteOffset']<_0x335ad8[_0xc3f7ca(0x2bf)])throw Error('complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported');}function _0x50991e(..._0x205245){const _0x12e8c9=_0x1453e5;let _0x5036bc=0x0;for(let _0x27d2b3=0x0;_0x27d2b3<_0x205245['length'];_0x27d2b3++){let _0x191abb=_0x205245[_0x27d2b3];_0x4b74eb(_0x191abb),_0x5036bc+=_0x191abb['length'];}let _0x39046e=new Uint8Array(_0x5036bc);for(let _0x1b31f5=0x0,_0x31f394=0x0;_0x1b31f5<_0x205245[_0x12e8c9(0x22f)];_0x1b31f5++){let _0xa75cb5=_0x205245[_0x1b31f5];_0x39046e[_0x12e8c9(0x37f)](_0xa75cb5,_0x31f394),_0x31f394+=_0xa75cb5['length'];}return _0x39046e;}let _0x5efb0b=(_0x39ac5e,_0x22b58c)=>{const _0x3d39cd=_0x1453e5;function _0x3ab971(_0x327485,..._0x4a80c1){const _0x13e52c=_0x2103;if(_0x4b74eb(_0x327485,void 0x0,_0x13e52c(0x223)),_0x39ac5e[_0x13e52c(0x4e8)]!==void 0x0){let _0x38d28c=_0x4a80c1[0x0];_0x4b74eb(_0x38d28c,_0x39ac5e[_0x13e52c(0x450)]?void 0x0:_0x39ac5e['nonceLength'],_0x13e52c(0x3a5));}let _0x16eceb=_0x39ac5e[_0x13e52c(0x2d9)];_0x16eceb&&_0x4a80c1[0x1]!==void 0x0&&_0x4b74eb(_0x4a80c1[0x1],void 0x0,'AAD');let _0x4c3306=_0x22b58c(_0x327485,..._0x4a80c1),_0x1cbc01=(_0x3117db,_0x52a60a)=>{const _0x156da2=_0x13e52c;if(_0x52a60a!==void 0x0){if(_0x3117db!==0x2)throw Error(_0x156da2(0x29b));_0x4b74eb(_0x52a60a,void 0x0,_0x156da2(0x1f5));}},_0x43f15d=!0x1;return{'encrypt'(_0x271586,_0x4bf7cc){const _0x34b8b4=_0x13e52c;if(_0x43f15d)throw Error(_0x34b8b4(0x2aa));return _0x43f15d=!0x0,_0x4b74eb(_0x271586),_0x1cbc01(_0x4c3306[_0x34b8b4(0x2ff)]['length'],_0x4bf7cc),_0x4c3306[_0x34b8b4(0x2ff)](_0x271586,_0x4bf7cc);},'decrypt'(_0xea58b8,_0x376135){const _0x45034d=_0x13e52c;if(_0x4b74eb(_0xea58b8),_0x16eceb&&_0xea58b8[_0x45034d(0x22f)]<_0x16eceb)throw Error(_0x45034d(0x41d)+_0x16eceb);return _0x1cbc01(_0x4c3306['decrypt'][_0x45034d(0x22f)],_0x376135),_0x4c3306[_0x45034d(0x50a)](_0xea58b8,_0x376135);}};}return Object[_0x3d39cd(0x32d)](_0x3ab971,_0x39ac5e),_0x3ab971;};function _0x49d46d(_0x4e8c82,_0x395944,_0x3f3e1f=!0x0){const _0x2bc930=_0x1453e5;if(_0x395944===void 0x0)return new Uint8Array(_0x4e8c82);if(_0x4b74eb(_0x395944,void 0x0,'output'),_0x395944[_0x2bc930(0x22f)]!==_0x4e8c82)throw Error('\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20'+_0x4e8c82+_0x2bc930(0x4a2)+_0x395944['length']);if(_0x3f3e1f&&!_0x58c7b8(_0x395944))throw Error(_0x2bc930(0x29f));return _0x395944;}function _0x58c7b8(_0x1611a2){return _0x1611a2['byteOffset']%0x4==0x0;}function _0x7d6f1f(_0x1d2f57){return Uint8Array['from'](_0x4b74eb(_0x1d2f57));}function _0x38fb0b(_0x11381e=0x20){const _0x16debb=_0x1453e5;_0x5b62a7(_0x11381e);let _0x54e5ef=typeof globalThis==_0x16debb(0x203)?globalThis[_0x16debb(0x452)]:null;if(typeof(_0x54e5ef==null?void 0x0:_0x54e5ef[_0x16debb(0x385)])!=_0x16debb(0x3ff))throw Error(_0x16debb(0x21e));return _0x54e5ef[_0x16debb(0x385)](new Uint8Array(_0x11381e));}function _0x1f69b4(_0x5a0849){const _0x5e2c51=_0x1453e5;if(![0x10,0x18,0x20][_0x5e2c51(0x229)](_0x5a0849[_0x5e2c51(0x22f)]))throw Error('\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length='+_0x5a0849[_0x5e2c51(0x22f)]);}function _0x3c973d(_0x16d88d){return _0x16d88d<<0x1^0x11b&-(_0x16d88d>>0x7);}function _0x59796b(_0x569e53,_0xd53578){let _0x22d941=0x0;for(;_0xd53578>0x0;_0xd53578>>=0x1)_0x22d941^=_0x569e53&-(_0xd53578&0x1),_0x569e53=_0x3c973d(_0x569e53);return _0x22d941;}let _0x5b52f4=((()=>{let _0xab966=new Uint8Array(0x100);for(let _0x29dacf=0x0,_0x392597=0x1;_0x29dacf<0x100;_0x29dacf++,_0x392597^=_0x3c973d(_0x392597))_0xab966[_0x29dacf]=_0x392597;let _0x45579b=new Uint8Array(0x100);_0x45579b[0x0]=0x63;for(let _0x34be4f=0x0;_0x34be4f<0xff;_0x34be4f++){let _0x3c04ff=_0xab966[0xff-_0x34be4f];_0x3c04ff|=_0x3c04ff<<0x8,_0x45579b[_0xab966[_0x34be4f]]=(_0x3c04ff^_0x3c04ff>>0x4^_0x3c04ff>>0x5^_0x3c04ff>>0x6^_0x3c04ff>>0x7^0x63)&0xff;}return _0x4dcd4d(_0xab966),_0x45579b;})()),_0x1dada6=_0x5b52f4[_0x1453e5(0x27b)]((_0x25cc5e,_0xc24328)=>_0x5b52f4[_0x1453e5(0x3f6)](_0xc24328)),_0x5c1aa6=_0x589273=>_0x589273<<0x18|_0x589273>>>0x8,_0x22ccb0=_0x4ba0e2=>_0x4ba0e2<<0x8|_0x4ba0e2>>>0x18;function _0x25db54(_0x1d53f7,_0x4ac9e4){const _0x481aaa=_0x1453e5;if(_0x1d53f7[_0x481aaa(0x22f)]!==0x100)throw Error(_0x481aaa(0x3c4));let _0x1b25a5=new Uint32Array(0x100)[_0x481aaa(0x27b)]((_0x38cd97,_0x30ab68)=>_0x4ac9e4(_0x1d53f7[_0x30ab68])),_0x52f98a=_0x1b25a5[_0x481aaa(0x27b)](_0x22ccb0),_0x16a69c=_0x52f98a[_0x481aaa(0x27b)](_0x22ccb0),_0xeaefe5=_0x16a69c[_0x481aaa(0x27b)](_0x22ccb0),_0x53f8dd=new Uint32Array(0x100*0x100),_0x28b113=new Uint32Array(0x100*0x100),_0x10caec=new Uint16Array(0x100*0x100);for(let _0x4f51e2=0x0;_0x4f51e2<0x100;_0x4f51e2++)for(let _0xa1dc59=0x0;_0xa1dc59<0x100;_0xa1dc59++){let _0x37cd7e=_0x4f51e2*0x100+_0xa1dc59;_0x53f8dd[_0x37cd7e]=_0x1b25a5[_0x4f51e2]^_0x52f98a[_0xa1dc59],_0x28b113[_0x37cd7e]=_0x16a69c[_0x4f51e2]^_0xeaefe5[_0xa1dc59],_0x10caec[_0x37cd7e]=_0x1d53f7[_0x4f51e2]<<0x8|_0x1d53f7[_0xa1dc59];}return{'sbox':_0x1d53f7,'sbox2':_0x10caec,'T0':_0x1b25a5,'T1':_0x52f98a,'T2':_0x16a69c,'T3':_0xeaefe5,'T01':_0x53f8dd,'T23':_0x28b113};}let _0x1588b6=_0x25db54(_0x5b52f4,_0x41446b=>_0x59796b(_0x41446b,0x3)<<0x18|_0x41446b<<0x10|_0x41446b<<0x8|_0x59796b(_0x41446b,0x2)),_0x4d1784=_0x25db54(_0x1dada6,_0x59628d=>_0x59796b(_0x59628d,0xb)<<0x18|_0x59796b(_0x59628d,0xd)<<0x10|_0x59796b(_0x59628d,0x9)<<0x8|_0x59796b(_0x59628d,0xe)),_0x5ed0b4=((()=>{let _0x456966=new Uint8Array(0x10);for(let _0x306853=0x0,_0x20fad4=0x1;_0x306853<0x10;_0x306853++,_0x20fad4=_0x3c973d(_0x20fad4))_0x456966[_0x306853]=_0x20fad4;return _0x456966;})());function _0x4fd916(_0x5e901a){const _0x94bcd=_0x1453e5;_0x4b74eb(_0x5e901a);let _0x290450=_0x5e901a[_0x94bcd(0x22f)];_0x1f69b4(_0x5e901a);let {sbox2:_0x3dc0a2}=_0x1588b6,_0x153235=[];(!_0x47c89c||!_0x58c7b8(_0x5e901a))&&_0x153235[_0x94bcd(0x4d0)](_0x5e901a=_0x7d6f1f(_0x5e901a));let _0x51ec6c=_0x367d32(_0xda43d0(_0x5e901a)),_0x868f20=_0x51ec6c[_0x94bcd(0x22f)],_0x4d5733=_0x3b86f9=>_0x92f847(_0x3dc0a2,_0x3b86f9,_0x3b86f9,_0x3b86f9,_0x3b86f9),_0x358b06=new Uint32Array(_0x290450+0x1c);_0x358b06[_0x94bcd(0x37f)](_0x51ec6c);for(let _0x5b2090=_0x868f20;_0x5b2090<_0x358b06[_0x94bcd(0x22f)];_0x5b2090++){let _0x50caf1=_0x358b06[_0x5b2090-0x1];_0x5b2090%_0x868f20===0x0?_0x50caf1=_0x4d5733(_0x5c1aa6(_0x50caf1))^_0x5ed0b4[_0x5b2090/_0x868f20-0x1]:_0x868f20>0x6&&_0x5b2090%_0x868f20===0x4&&(_0x50caf1=_0x4d5733(_0x50caf1)),_0x358b06[_0x5b2090]=_0x358b06[_0x5b2090-_0x868f20]^_0x50caf1;}return _0x4dcd4d(..._0x153235),_0x358b06;}function _0x56f450(_0x53b21d){const _0x3b5b40=_0x1453e5;let _0x396b20=_0x4fd916(_0x53b21d),_0x1e558f=_0x396b20['slice'](),_0x49ccab=_0x396b20[_0x3b5b40(0x22f)],{sbox2:_0x43b811}=_0x1588b6,{T0:_0x4c98ba,T1:_0x6c5719,T2:_0x298aba,T3:_0x3c4470}=_0x4d1784;for(let _0x5724ea=0x0;_0x5724ea<_0x49ccab;_0x5724ea+=0x4)for(let _0x5c40b4=0x0;_0x5c40b4<0x4;_0x5c40b4++)_0x1e558f[_0x5724ea+_0x5c40b4]=_0x396b20[_0x49ccab-_0x5724ea-0x4+_0x5c40b4];_0x4dcd4d(_0x396b20);for(let _0x5dbf9c=0x4;_0x5dbf9c<_0x49ccab-0x4;_0x5dbf9c++){let _0x58753d=_0x1e558f[_0x5dbf9c],_0x110233=_0x92f847(_0x43b811,_0x58753d,_0x58753d,_0x58753d,_0x58753d);_0x1e558f[_0x5dbf9c]=_0x4c98ba[_0x110233&0xff]^_0x6c5719[_0x110233>>>0x8&0xff]^_0x298aba[_0x110233>>>0x10&0xff]^_0x3c4470[_0x110233>>>0x18];}return _0x1e558f;}function _0x2be600(_0x39150c,_0x3a1956,_0x29b1f7,_0x120047,_0x1e9b9a,_0x55dc27){return _0x39150c[_0x29b1f7<<0x8&0xff00|_0x120047>>>0x8&0xff]^_0x3a1956[_0x1e9b9a>>>0x8&0xff00|_0x55dc27>>>0x18&0xff];}function _0x92f847(_0x49b923,_0x2371c5,_0x4a5713,_0x292175,_0x3ab3bf){return _0x49b923[_0x2371c5&0xff|_0x4a5713&0xff00]|_0x49b923[_0x292175>>>0x10&0xff|_0x3ab3bf>>>0x10&0xff00]<<0x10;}function _0x58021b(_0x3003b1,_0x1f49b8,_0x268d4a,_0x5ab736,_0x209f3c){const _0x57e7d0=_0x1453e5;let {sbox2:_0x53c6d2,T01:_0x5825e,T23:_0x351cda}=_0x1588b6,_0x1db606=0x0;_0x1f49b8^=_0x3003b1[_0x1db606++],_0x268d4a^=_0x3003b1[_0x1db606++],_0x5ab736^=_0x3003b1[_0x1db606++],_0x209f3c^=_0x3003b1[_0x1db606++];let _0x133750=_0x3003b1[_0x57e7d0(0x22f)]/0x4-0x2;for(let _0x1e633a=0x0;_0x1e633a<_0x133750;_0x1e633a++){let _0x432a4e=_0x3003b1[_0x1db606++]^_0x2be600(_0x5825e,_0x351cda,_0x1f49b8,_0x268d4a,_0x5ab736,_0x209f3c),_0x443310=_0x3003b1[_0x1db606++]^_0x2be600(_0x5825e,_0x351cda,_0x268d4a,_0x5ab736,_0x209f3c,_0x1f49b8),_0x5071d3=_0x3003b1[_0x1db606++]^_0x2be600(_0x5825e,_0x351cda,_0x5ab736,_0x209f3c,_0x1f49b8,_0x268d4a),_0x44d3ae=_0x3003b1[_0x1db606++]^_0x2be600(_0x5825e,_0x351cda,_0x209f3c,_0x1f49b8,_0x268d4a,_0x5ab736);_0x1f49b8=_0x432a4e,_0x268d4a=_0x443310,_0x5ab736=_0x5071d3,_0x209f3c=_0x44d3ae;}return{'s0':_0x3003b1[_0x1db606++]^_0x92f847(_0x53c6d2,_0x1f49b8,_0x268d4a,_0x5ab736,_0x209f3c),'s1':_0x3003b1[_0x1db606++]^_0x92f847(_0x53c6d2,_0x268d4a,_0x5ab736,_0x209f3c,_0x1f49b8),'s2':_0x3003b1[_0x1db606++]^_0x92f847(_0x53c6d2,_0x5ab736,_0x209f3c,_0x1f49b8,_0x268d4a),'s3':_0x3003b1[_0x1db606++]^_0x92f847(_0x53c6d2,_0x209f3c,_0x1f49b8,_0x268d4a,_0x5ab736)};}function _0x2d2102(_0x5109ba,_0x5f4a8f,_0x1e75a3,_0x2b4ce4,_0x4cf151){const _0x3b1797=_0x1453e5;let {sbox2:_0x30fe25,T01:_0x2cd0cf,T23:_0x3ab5bb}=_0x4d1784,_0x553be8=0x0;_0x5f4a8f^=_0x5109ba[_0x553be8++],_0x1e75a3^=_0x5109ba[_0x553be8++],_0x2b4ce4^=_0x5109ba[_0x553be8++],_0x4cf151^=_0x5109ba[_0x553be8++];let _0x595a02=_0x5109ba[_0x3b1797(0x22f)]/0x4-0x2;for(let _0x415cbd=0x0;_0x415cbd<_0x595a02;_0x415cbd++){let _0x244c0c=_0x5109ba[_0x553be8++]^_0x2be600(_0x2cd0cf,_0x3ab5bb,_0x5f4a8f,_0x4cf151,_0x2b4ce4,_0x1e75a3),_0x48dc82=_0x5109ba[_0x553be8++]^_0x2be600(_0x2cd0cf,_0x3ab5bb,_0x1e75a3,_0x5f4a8f,_0x4cf151,_0x2b4ce4),_0xad1070=_0x5109ba[_0x553be8++]^_0x2be600(_0x2cd0cf,_0x3ab5bb,_0x2b4ce4,_0x1e75a3,_0x5f4a8f,_0x4cf151),_0x52c4f1=_0x5109ba[_0x553be8++]^_0x2be600(_0x2cd0cf,_0x3ab5bb,_0x4cf151,_0x2b4ce4,_0x1e75a3,_0x5f4a8f);_0x5f4a8f=_0x244c0c,_0x1e75a3=_0x48dc82,_0x2b4ce4=_0xad1070,_0x4cf151=_0x52c4f1;}return{'s0':_0x5109ba[_0x553be8++]^_0x92f847(_0x30fe25,_0x5f4a8f,_0x4cf151,_0x2b4ce4,_0x1e75a3),'s1':_0x5109ba[_0x553be8++]^_0x92f847(_0x30fe25,_0x1e75a3,_0x5f4a8f,_0x4cf151,_0x2b4ce4),'s2':_0x5109ba[_0x553be8++]^_0x92f847(_0x30fe25,_0x2b4ce4,_0x1e75a3,_0x5f4a8f,_0x4cf151),'s3':_0x5109ba[_0x553be8++]^_0x92f847(_0x30fe25,_0x4cf151,_0x2b4ce4,_0x1e75a3,_0x5f4a8f)};}function _0x4adffa(_0x1be65c){if(_0x4b74eb(_0x1be65c),_0x1be65c['length']%0x10!=0x0)throw Error('aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016');}function _0x540e10(_0x3af9b6,_0x2e2bad,_0x2fa37d){const _0x46c670=_0x1453e5;_0x4b74eb(_0x3af9b6);let _0x4671da=_0x3af9b6[_0x46c670(0x22f)],_0x55ef67=_0x4671da%0x10;if(!_0x2e2bad&&_0x55ef67!==0x0)throw Error('aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding');if(_0x2e2bad){let _0x16aa2c=0x10-_0x55ef67;_0x16aa2c||(_0x16aa2c=0x10),_0x4671da+=_0x16aa2c;}_0x2fa37d=_0x49d46d(_0x4671da,_0x2fa37d),_0x3a4acd(_0x3af9b6,_0x2fa37d),(!_0x47c89c||!_0x58c7b8(_0x3af9b6))&&(_0x3af9b6=_0x7d6f1f(_0x3af9b6));let _0xac4ab9=_0xda43d0(_0x3af9b6);return _0x367d32(_0xac4ab9),{'b':_0xac4ab9,'o':_0xda43d0(_0x2fa37d),'out':_0x2fa37d};}function _0x11d3b6(_0x26dfe6,_0x3bb640){const _0x5102ef=_0x1453e5;if(!_0x3bb640)return _0x26dfe6;let _0x32e766=_0x26dfe6[_0x5102ef(0x22f)];if(_0x32e766===0x0)throw Error(_0x5102ef(0x1f7));let _0x45192d=_0x26dfe6[_0x32e766-0x1],_0x5c730a=0x1;_0x5c730a&=_0x45192d-0x1>>>0x1f^0x1,_0x5c730a&=0x10-_0x45192d>>>0x1f^0x1;for(let _0x3fc3cb=0x0;_0x3fc3cb<0x10;_0x3fc3cb++){let _0x13d103=_0x3fc3cb-_0x45192d>>>0x1f,_0x181566=+((_0x26dfe6[_0x32e766-0x1-_0x3fc3cb]^_0x45192d)===0x0);_0x5c730a&=_0x181566|_0x13d103^0x1;}if(!_0x5c730a)throw Error(_0x5102ef(0x257));return _0x26dfe6[_0x5102ef(0x415)](0x0,_0x32e766-_0x45192d);}function _0x5ca4d6(_0x5f3f04){const _0x5d0caf=_0x1453e5;let _0x4c9436=new Uint8Array(0x10),_0x2111d4=_0xda43d0(_0x4c9436);_0x4c9436[_0x5d0caf(0x37f)](_0x5f3f04);let _0x5b6b05=0x10-_0x5f3f04[_0x5d0caf(0x22f)];for(let _0x31ff9e=0x10-_0x5b6b05;_0x31ff9e<0x10;_0x31ff9e++)_0x4c9436[_0x31ff9e]=_0x5b6b05;return _0x2111d4;}let _0x575da1=_0x5efb0b({'blockSize':0x10,'nonceLength':0x10},function(_0x45d1ee,_0x6cfe59,_0x1a940b={}){const _0x2c1ff0=_0x1453e5;let _0x2b817c=!_0x1a940b[_0x2c1ff0(0x302)];return{'encrypt'(_0x536729,_0x47a394){const _0x592b1f=_0x2c1ff0;let _0x2b59ac=_0x4fd916(_0x45d1ee),{b:_0x49bdef,o:_0x26b5c5,out:_0x495f09}=_0x540e10(_0x536729,_0x2b817c,_0x47a394),_0x5a02e7=_0x6cfe59,_0x592e8d=[_0x2b59ac];(!_0x47c89c||!_0x58c7b8(_0x5a02e7))&&_0x592e8d[_0x592b1f(0x4d0)](_0x5a02e7=_0x7d6f1f(_0x5a02e7));let _0x5c8780=_0xda43d0(_0x5a02e7);_0x367d32(_0x5c8780);let _0x4624b5=_0x5c8780[0x0],_0x2c44d0=_0x5c8780[0x1],_0x34e7c1=_0x5c8780[0x2],_0x187174=_0x5c8780[0x3],_0x4f6b49=0x0;for(;_0x4f6b49+0x4<=_0x49bdef[_0x592b1f(0x22f)];)_0x4624b5^=_0x49bdef[_0x4f6b49+0x0],_0x2c44d0^=_0x49bdef[_0x4f6b49+0x1],_0x34e7c1^=_0x49bdef[_0x4f6b49+0x2],_0x187174^=_0x49bdef[_0x4f6b49+0x3],{s0:_0x4624b5,s1:_0x2c44d0,s2:_0x34e7c1,s3:_0x187174}=_0x58021b(_0x2b59ac,_0x4624b5,_0x2c44d0,_0x34e7c1,_0x187174),_0x26b5c5[_0x4f6b49++]=_0x4624b5,_0x26b5c5[_0x4f6b49++]=_0x2c44d0,_0x26b5c5[_0x4f6b49++]=_0x34e7c1,_0x26b5c5[_0x4f6b49++]=_0x187174;if(_0x2b817c){let _0x511104=_0x5ca4d6(_0x536729[_0x592b1f(0x415)](_0x4f6b49*0x4));_0x367d32(_0x511104),_0x4624b5^=_0x511104[0x0],_0x2c44d0^=_0x511104[0x1],_0x34e7c1^=_0x511104[0x2],_0x187174^=_0x511104[0x3],{s0:_0x4624b5,s1:_0x2c44d0,s2:_0x34e7c1,s3:_0x187174}=_0x58021b(_0x2b59ac,_0x4624b5,_0x2c44d0,_0x34e7c1,_0x187174),_0x26b5c5[_0x4f6b49++]=_0x4624b5,_0x26b5c5[_0x4f6b49++]=_0x2c44d0,_0x26b5c5[_0x4f6b49++]=_0x34e7c1,_0x26b5c5[_0x4f6b49++]=_0x187174;}return _0x367d32(_0x26b5c5),_0x4dcd4d(..._0x592e8d),_0x495f09;},'decrypt'(_0x31fa1f,_0x535567){const _0x40bf51=_0x2c1ff0;_0x4adffa(_0x31fa1f);let _0x599617=_0x56f450(_0x45d1ee),_0x573372=_0x6cfe59,_0x83aa64=[_0x599617];(!_0x47c89c||!_0x58c7b8(_0x573372))&&_0x83aa64['push'](_0x573372=_0x7d6f1f(_0x573372));let _0x31a6f1=_0xda43d0(_0x573372);_0x367d32(_0x31a6f1),_0x535567=_0x49d46d(_0x31fa1f['length'],_0x535567),_0x3a4acd(_0x31fa1f,_0x535567),(!_0x47c89c||!_0x58c7b8(_0x31fa1f))&&_0x83aa64[_0x40bf51(0x4d0)](_0x31fa1f=_0x7d6f1f(_0x31fa1f));let _0x369292=_0xda43d0(_0x31fa1f),_0x38bb73=_0xda43d0(_0x535567);_0x367d32(_0x369292);let _0x18f2e7=_0x31a6f1[0x0],_0x1ea466=_0x31a6f1[0x1],_0xe89363=_0x31a6f1[0x2],_0x2240a2=_0x31a6f1[0x3];for(let _0x17d2e2=0x0;_0x17d2e2+0x4<=_0x369292['length'];){let _0x1fdc4b=_0x18f2e7,_0x36ae12=_0x1ea466,_0x250f72=_0xe89363,_0x4da2cb=_0x2240a2;_0x18f2e7=_0x369292[_0x17d2e2+0x0],_0x1ea466=_0x369292[_0x17d2e2+0x1],_0xe89363=_0x369292[_0x17d2e2+0x2],_0x2240a2=_0x369292[_0x17d2e2+0x3];let {s0:_0x738898,s1:_0x2c35de,s2:_0x5528d7,s3:_0x417ab6}=_0x2d2102(_0x599617,_0x18f2e7,_0x1ea466,_0xe89363,_0x2240a2);_0x38bb73[_0x17d2e2++]=_0x738898^_0x1fdc4b,_0x38bb73[_0x17d2e2++]=_0x2c35de^_0x36ae12,_0x38bb73[_0x17d2e2++]=_0x5528d7^_0x250f72,_0x38bb73[_0x17d2e2++]=_0x417ab6^_0x4da2cb;}return _0x367d32(_0x38bb73),_0x4dcd4d(..._0x83aa64),_0x11d3b6(_0x535567,_0x2b817c);}};});function _0x5a7f89(_0x39233b){const _0x4edcb1=_0x1453e5;let _0x13b798=atob(_0x39233b),_0x2398fb=new Uint8Array(_0x13b798[_0x4edcb1(0x22f)]);for(let _0x30572e=0x0;_0x30572e<_0x13b798[_0x4edcb1(0x22f)];_0x30572e++)_0x2398fb[_0x30572e]=_0x13b798[_0x4edcb1(0x246)](_0x30572e);return _0x2398fb;}function _0x563fd5(_0x400909){const _0x13e667=_0x1453e5;let _0x3cca93='';for(let _0xb8900b=0x0;_0xb8900b<_0x400909[_0x13e667(0x22f)];_0xb8900b++)_0x3cca93+=String[_0x13e667(0x2bc)](_0x400909[_0xb8900b]);return btoa(_0x3cca93);}function _0x32f57d(_0x1fba28,_0x5f5957){const _0x411d02=_0x1453e5;let _0x4173c4=_0x5a7f89(_0x5f5957),_0x1487a4=_0x38fb0b(0x10);return _0x563fd5(_0x50991e(_0x1487a4,_0x575da1(_0x4173c4,_0x1487a4)[_0x411d02(0x2ff)](_0x5e4550(_0x1fba28))));}function _0x1e2769(){const _0x4006ff=_0x1453e5;let _0xae6919=(0x0,_0x3b5393[_0x4006ff(0x2de)])()[_0x4006ff(0x44f)];if(typeof window<'u'&&window['location']!==void 0x0&&_0xae6919){let _0x3d421e={'time':Math[_0x4006ff(0x20e)](Date[_0x4006ff(0x40c)]()/0x3e8),'domain':location[_0x4006ff(0x265)]};return _0x32f57d(JSON[_0x4006ff(0x31e)](_0x3d421e),_0xae6919);}}let _0x4358e9=class{constructor(_0x245d6d){const _0x5f15e0=_0x1453e5;this[_0x5f15e0(0x205)]=_0x245d6d,this[_0x5f15e0(0x46a)]();}[_0x1453e5(0x46a)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3358e9,_0x2658b6)=>{const _0x4b1924=_0x2103;let _0x1a34b0=_0x1e2769();return _0x1a34b0&&_0x3358e9['headers']['set'](_0x4b1924(0x32b),_0x1a34b0),_0x2658b6(_0x3358e9);}});}};_0x4358e9=_0x23bcbc([_0x20187e(0x0,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x3c5332[_0x1453e5(0x222)]))],_0x4358e9);let _0x57339c=class extends _0x15f21c['RxDisposable']{constructor(_0x1c09ca,_0x4ef159,_0x53d444){const _0x1912da=_0x1453e5;super(),this[_0x1912da(0x2ec)]=_0x1c09ca,this[_0x1912da(0x4a6)]=_0x4ef159,this[_0x1912da(0x364)]=_0x53d444,_0x14249f(this,_0x1912da(0x241),new _0x57cf55[(_0x1912da(0x442))](null)),_0x14249f(this,_0x1912da(0x3af),this[_0x1912da(0x241)][_0x1912da(0x35d)]());}async[_0x1453e5(0x2bd)](_0x45b9af,_0x26444c,_0x269079){const _0x47811c=_0x1453e5;this[_0x47811c(0x241)][_0x47811c(0x492)]({'unitId':_0x45b9af,'type':_0x26444c});let _0x1d5b15=null;switch(_0x26444c){case _0x15f21c[_0x47811c(0x3b3)][_0x47811c(0x45a)]:_0x1d5b15=await this[_0x47811c(0x4a6)][_0x47811c(0x2a5)](_0x45b9af,_0x269079);break;case _0x15f21c[_0x47811c(0x3b3)][_0x47811c(0x301)]:_0x1d5b15=await this[_0x47811c(0x4a6)]['loadDoc'](_0x45b9af,_0x269079);break;default:this['_logService']['error'](_0x47811c(0x23b),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}return _0x1d5b15;}async[_0x1453e5(0x3a4)](_0x1c8e05,_0x7808ad,_0x1bf903){const _0x335ba1=_0x1453e5;var _0xc9fa8b;this[_0x335ba1(0x241)][_0x335ba1(0x492)]({'unitId':_0x1c8e05,'type':_0x7808ad,'subUnitId':_0x1bf903});let _0x9e55d6=0x0,_0x4520b6=await((_0xc9fa8b=this[_0x335ba1(0x364)])==null?void 0x0:_0xc9fa8b[_0x335ba1(0x24c)](_0x1c8e05));return _0x4520b6&&(_0x4520b6[_0x335ba1(0x4f8)]||_0x4520b6[_0x335ba1(0x3d5)]['length']!==0x0)&&(_0x9e55d6=_0x4520b6['rev']),_0x9e55d6===0x0&&this[_0x335ba1(0x2ec)][_0x335ba1(0x275)]('[DataLoaderService]',_0x335ba1(0x24d)),this[_0x335ba1(0x2bd)](_0x1c8e05,_0x7808ad,_0x9e55d6);}};_0x57339c=_0x23bcbc([_0x20187e(0x0,_0x15f21c['ILogService']),_0x20187e(0x1,(0x0,_0x15f21c['Inject'])(_0x37511f[_0x1453e5(0x3a0)])),_0x20187e(0x2,(0x0,_0x15f21c['Optional'])(_0x2bb040))],_0x57339c);let _0x1debe8=class{constructor(_0x53fe81,_0x5ae124,_0x208514){const _0x4454ed=_0x1453e5;this['_httpService']=_0x53fe81,this[_0x4454ed(0x22d)]=_0x5ae124,this[_0x4454ed(0x3c2)]=_0x208514,_0x14249f(this,_0x4454ed(0x475),0x0),_0x14249f(this,_0x4454ed(0x32c),new _0x57cf55['Subject']()),_0x14249f(this,_0x4454ed(0x262),this[_0x4454ed(0x32c)]),_0x14249f(this,'_imageSourceCache',new Map());}[_0x1453e5(0x4d2)](_0x52f616){const _0x111c8d=_0x1453e5;this[_0x111c8d(0x475)]=_0x52f616,this[_0x111c8d(0x32c)][_0x111c8d(0x492)](_0x52f616);}[_0x1453e5(0x433)](_0x2fd394,_0x33513f){const _0x814a83=_0x1453e5;if(_0x33513f===_0x5f09e6[_0x814a83(0x282)][_0x814a83(0x41e)]){let _0x165a47=new Image();return _0x165a47[_0x814a83(0x2b7)]=_0x2fd394,_0x165a47;}return this[_0x814a83(0x235)][_0x814a83(0x405)](_0x2fd394);}[_0x1453e5(0x251)](_0x38fe4d,_0xa4254,_0x484b5c){const _0x4402f3=_0x1453e5;_0xa4254===_0x5f09e6[_0x4402f3(0x282)][_0x4402f3(0x41e)]||_0x484b5c==null||this[_0x4402f3(0x235)][_0x4402f3(0x37f)](_0x38fe4d,_0x484b5c);}async[_0x1453e5(0x4ca)](_0x23c5e8){const _0x1c33e5=_0x1453e5;try{let _0x138422=this['_replaceFileID'](this[_0x1c33e5(0x4e7)](),''+_0x23c5e8),_0x98325a=(await this[_0x1c33e5(0x205)]['get'](_0x138422))[_0x1c33e5(0x4e9)];if(_0x98325a['error']&&_0x98325a['error'][_0x1c33e5(0x1fd)]===_0x1b8fab[_0x1c33e5(0x464)]['OK']){let _0x31d184=(0x0,_0x15f21c[_0x1c33e5(0x355)])(_0x98325a[_0x1c33e5(0x409)],this[_0x1c33e5(0x36f)]());return Promise['resolve'](_0x31d184);}return Promise[_0x1c33e5(0x402)](_0x98325a[_0x1c33e5(0x357)]);}catch(_0x52b5fe){return Promise[_0x1c33e5(0x402)](_0x52b5fe);}}async[_0x1453e5(0x33b)](_0x27e29b){const _0x26b340=_0x1453e5;let _0x29ffee='';if(!_0x5f09e6[_0x26b340(0x224)][_0x26b340(0x229)](_0x27e29b[_0x26b340(0x293)]))return this['_decreaseWaiting'](),Promise[_0x26b340(0x402)](Error(_0x5f09e6[_0x26b340(0x4ec)]['ERROR_IMAGE_TYPE']));if(_0x27e29b[_0x26b340(0x285)]>(0x0,_0x5f09e6['getDrawingImageAllowSize'])())return this[_0x26b340(0x453)](),Promise[_0x26b340(0x402)](Error(_0x5f09e6[_0x26b340(0x4ec)][_0x26b340(0x26a)]));try{let _0x5db7d3=new FormData();_0x5db7d3['append'](_0x26b340(0x3fa),_0x27e29b);let _0x4ebcd0=this['_univerInstanceService']['getFocusedUnit'](),_0x27f620=_0x4ebcd0==null?void 0x0:_0x4ebcd0[_0x26b340(0x49d)]();if(!_0x27f620)throw Error(_0x26b340(0x382));let _0x4401dd=this[_0x26b340(0x308)]()+_0x26b340(0x42f)+_0x27e29b['size'][_0x26b340(0x2cb)]()+_0x26b340(0x4eb)+_0x1b8fab[_0x26b340(0x3c9)]['UnitEmbedded']+_0x26b340(0x306)+encodeURIComponent(_0x27f620),_0x45dda7={'body':_0x5db7d3},_0x12fe0b=(await this['_httpService'][_0x26b340(0x4dc)](_0x4401dd,_0x45dda7))[_0x26b340(0x4e9)];if(typeof _0x12fe0b[_0x26b340(0x25b)]!=_0x26b340(0x444))return this['_decreaseWaiting'](),Promise[_0x26b340(0x402)](Error(_0x5f09e6[_0x26b340(0x4ec)][_0x26b340(0x225)]));_0x29ffee=_0x12fe0b[_0x26b340(0x25b)];}catch{return this[_0x26b340(0x453)](),Promise[_0x26b340(0x402)](Error(_0x5f09e6['ImageUploadStatusType'][_0x26b340(0x225)]));}return new Promise((_0x3578f7,_0x56b19c)=>{const _0x502e4d=_0x26b340;let _0x139996=new FileReader();_0x139996[_0x502e4d(0x4f1)](_0x27e29b),_0x139996[_0x502e4d(0x2e8)]=_0x21e01b=>{const _0x17d2d4=_0x502e4d;var _0x34f678;let _0xef6d50=(_0x34f678=_0x21e01b[_0x17d2d4(0x2d4)])==null?void 0x0:_0x34f678[_0x17d2d4(0x1f0)];if(_0xef6d50==null){this['_decreaseWaiting'](),_0x56b19c(Error(_0x5f09e6[_0x17d2d4(0x4ec)][_0x17d2d4(0x225)]));return;}_0x3578f7({'imageId':(0x0,_0x15f21c[_0x17d2d4(0x361)])(0x6),'imageSourceType':_0x5f09e6['ImageSourceType'][_0x17d2d4(0x476)],'source':_0x29ffee,'base64Cache':_0xef6d50,'status':_0x5f09e6[_0x17d2d4(0x4ec)][_0x17d2d4(0x2a1)]}),this[_0x17d2d4(0x453)]();};});}[_0x1453e5(0x308)](){const _0x139219=_0x1453e5;var _0x1bd89e;let _0x591305=this[_0x139219(0x22d)]['getConfig'](_0x4ffd90);return(_0x1bd89e=_0x591305==null?void 0x0:_0x591305['uploadFileServerUrl'])==null?'/universer-api/stream/file/upload':_0x1bd89e;}[_0x1453e5(0x4e7)](){const _0x1c1600=_0x1453e5;var _0xf05268;let _0xf4cb35=this['_configService'][_0x1c1600(0x3dc)](_0x4ffd90);return(_0xf05268=_0xf4cb35==null?void 0x0:_0xf4cb35['signUrlServerUrl'])==null?_0x1c1600(0x356):_0xf05268;}['_getDownloadEndpointURL'](){const _0x53619d=_0x1453e5;var _0x3a57cf;let _0x5d3ed6=this[_0x53619d(0x22d)][_0x53619d(0x3dc)](_0x4ffd90);return(_0x3a57cf=_0x5d3ed6==null?void 0x0:_0x5d3ed6['downloadEndpointUrl'])==null?location[_0x53619d(0x3cb)]:_0x3a57cf;}['_replaceFileID'](_0x445fa6,_0x51cddf){const _0x3cfa48=_0x1453e5;return _0x445fa6[_0x3cfa48(0x31b)](_0x3cfa48(0x2d1),_0x51cddf);}['_decreaseWaiting'](){const _0x3fbc63=_0x1453e5;--this[_0x3fbc63(0x475)],this[_0x3fbc63(0x32c)]['next'](this[_0x3fbc63(0x475)]);}};_0x1debe8=_0x23bcbc([_0x20187e(0x0,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x3c5332[_0x1453e5(0x222)])),_0x20187e(0x1,_0x15f21c[_0x1453e5(0x488)]),_0x20187e(0x2,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c['IUniverInstanceService']))],_0x1debe8);let _0x4e89df=class{constructor(_0x504a45,_0x1d2af9){this['_configService']=_0x504a45,this['_HTTPService']=_0x1d2af9;}[_0x1453e5(0x3fb)](){const _0x251522=_0x1453e5;var _0x4aba13;let _0x1cdd56=this[_0x251522(0x22d)]['getConfig'](_0x4ffd90);return(_0x4aba13=_0x1cdd56==null?void 0x0:_0x1cdd56[_0x251522(0x354)])==null?'/universer-api/authz':_0x4aba13;}async[_0x1453e5(0x376)](_0x4841ce){const _0xb3d219=_0x1453e5;let _0x1e801a=this[_0xb3d219(0x3fb)]()+_0xb3d219(0x358);return{'list':[{'title':'People','mentions':(await this[_0xb3d219(0x291)][_0xb3d219(0x405)](_0x1e801a,{'params':{'objectID':_0x4841ce[_0xb3d219(0x477)],'unitID':_0x4841ce[_0xb3d219(0x477)]}}))[_0xb3d219(0x4e9)][_0xb3d219(0x2b2)][_0xb3d219(0x27b)](_0x4d0c5b=>({'objectId':_0x4d0c5b['id'],'name':_0x4d0c5b[_0xb3d219(0x29e)][_0xb3d219(0x3c1)],'metadata':{'icon':_0x4d0c5b[_0xb3d219(0x29e)]['avatar']},'label':_0x4d0c5b[_0xb3d219(0x29e)][_0xb3d219(0x3c1)],'objectType':_0x15f21c['MentionType']['PERSON']})),'metadata':{},'type':_0x15f21c[_0xb3d219(0x35b)][_0xb3d219(0x3f9)]}]};}};_0x4e89df=_0x23bcbc([_0x20187e(0x0,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c['IConfigService'])),_0x20187e(0x1,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x3c5332[_0x1453e5(0x222)]))],_0x4e89df);let _0xa80062=class extends _0x15f21c[_0x1453e5(0x266)]{constructor(_0x19174d,_0x2e37af,_0x9ffc12,_0x4ac235,_0x3ade00){const _0x4461b9=_0x1453e5;super(),this[_0x4461b9(0x3df)]=_0x19174d,this[_0x4461b9(0x3c2)]=_0x2e37af,this[_0x4461b9(0x316)]=_0x9ffc12,this['_collaborationSessionService']=_0x4ac235,this[_0x4461b9(0x3a7)]=_0x3ade00,this[_0x4461b9(0x389)](),this[_0x4461b9(0x4ac)]();}[_0x1453e5(0x4ac)](){const _0x2ae00e=_0x1453e5;let _0x182832=async _0x1ed171=>{const _0x396cca=_0x2103;(await this[_0x396cca(0x3de)][_0x396cca(0x25f)](_0x1ed171))[_0x396cca(0x230)][_0x396cca(0x469)]((0x0,_0x19fb73[_0x396cca(0x2ba)])(_0x3a8406=>_0x3a8406[_0x396cca(0x2b4)]===_0x37511f[_0x396cca(0x342)][_0x396cca(0x4fc)]),(0x0,_0x19fb73[_0x396cca(0x25c)])(this[_0x396cca(0x46d)]))[_0x396cca(0x264)](_0x59fc45=>{const _0xea250f=_0x396cca;let {reason:_0x5d330c}=_0x59fc45['data'];this[_0xea250f(0x3a7)][_0xea250f(0x400)]({'id':'CLOSE_ROOM','data':_0x5d330c}),this[_0xea250f(0x316)][_0xea250f(0x510)](new _0x5dbd34[(_0xea250f(0x4bd))](_0x1ed171)['id'],!0x1),this[_0xea250f(0x3de)][_0xea250f(0x41a)](_0x1ed171);});};(0x0,_0x57cf55[_0x2ae00e(0x2ed)])(this[_0x2ae00e(0x3c2)][_0x2ae00e(0x4ba)](_0x15f21c[_0x2ae00e(0x3b3)][_0x2ae00e(0x45a)]),this[_0x2ae00e(0x3c2)][_0x2ae00e(0x4ba)](_0x15f21c[_0x2ae00e(0x3b3)][_0x2ae00e(0x301)]))[_0x2ae00e(0x469)]((0x0,_0x19fb73[_0x2ae00e(0x27b)])(_0x451698=>_0x451698[_0x2ae00e(0x36b)][_0x2ae00e(0x49d)]()),(0x0,_0x19fb73['filter'])(_0x408ef0=>!(0x0,_0x15f21c['isInternalEditorID'])(_0x408ef0)),(0x0,_0x19fb73[_0x2ae00e(0x25c)])(this[_0x2ae00e(0x46d)]))[_0x2ae00e(0x264)](_0x156d10=>{_0x182832(_0x156d10);});}[_0x1453e5(0x389)](){const _0x52b05a=_0x1453e5;let _0x3c2041=async _0x346f82=>{const _0x43c127=_0x2103;let _0x5d623f=await this[_0x43c127(0x3de)][_0x43c127(0x25f)](_0x346f82),_0x22cd14=this['_injector'][_0x43c127(0x405)](_0x5dbd34[_0x43c127(0x208)]);_0x5d623f[_0x43c127(0x230)]['pipe']((0x0,_0x19fb73['filter'])(_0x3d54d3=>_0x3d54d3['eventID']===_0x37511f[_0x43c127(0x342)][_0x43c127(0x3c5)]),(0x0,_0x19fb73[_0x43c127(0x25c)])(this[_0x43c127(0x46d)]))[_0x43c127(0x264)](_0x338965=>{const _0x2d1e41=_0x43c127;let {objectId:_0x4d1596}=_0x338965['data'];_0x4d1596===_0x346f82?_0x22cd14[_0x2d1e41(0x4ff)](_0x346f82):_0x22cd14[_0x2d1e41(0x2c9)](_0x346f82,_0x4d1596);});};(0x0,_0x57cf55[_0x52b05a(0x2ed)])(this[_0x52b05a(0x3c2)]['getTypeOfUnitAdded$'](_0x15f21c[_0x52b05a(0x3b3)][_0x52b05a(0x45a)]))['pipe']((0x0,_0x19fb73[_0x52b05a(0x27b)])(_0x55fc68=>_0x55fc68[_0x52b05a(0x36b)]['getUnitId']()),(0x0,_0x19fb73['filter'])(_0x488921=>!(0x0,_0x15f21c['isInternalEditorID'])(_0x488921)),(0x0,_0x19fb73[_0x52b05a(0x25c)])(this['dispose$']))[_0x52b05a(0x264)](_0x40e659=>{_0x3c2041(_0x40e659);});}};_0xa80062=_0x23bcbc([_0x20187e(0x0,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c['Injector'])),_0x20187e(0x1,_0x15f21c[_0x1453e5(0x22c)]),_0x20187e(0x2,_0x15f21c[_0x1453e5(0x240)]),_0x20187e(0x3,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x2bd27e)),_0x20187e(0x4,(0x0,_0x15f21c['Inject'])(_0x44a5ef))],_0xa80062);let _0x2eb448=class{constructor(_0x5143e9,_0xd4b6ae){const _0x1e9035=_0x1453e5;this[_0x1e9035(0x22d)]=_0x5143e9,this[_0x1e9035(0x205)]=_0xd4b6ae;}async[_0x1453e5(0x4f2)](_0x1875c7,_0x5b695e){const _0x369d55=_0x1453e5;var _0x4d6867;let {unitID:_0xd3e6dc,type:_0x1c8d8e,revision:_0x1fcc37=0x0}=_0x5b695e,_0x375468=this[_0x369d55(0x414)]()+'/'+_0x1c8d8e+_0x369d55(0x4fe)+_0xd3e6dc+_0x369d55(0x28e)+_0x1fcc37,_0x55f1c2=(await this[_0x369d55(0x205)][_0x369d55(0x405)](_0x375468))['body'],_0x3f8d9f=(_0x4d6867=_0x55f1c2[_0x369d55(0x34b)])==null?void 0x0:_0x4d6867[_0x369d55(0x328)];if(_0x3f8d9f){let _0x194ae8=_0x3f8d9f==null?void 0x0:_0x3f8d9f[_0x369d55(0x38a)];_0x3f8d9f['originalMeta']=_0x37511f[_0x369d55(0x482)][_0x369d55(0x31c)]((0x0,_0x37511f[_0x369d55(0x2e2)])(_0x194ae8)),Object[_0x369d55(0x446)](_0x3f8d9f[_0x369d55(0x29c)])[_0x369d55(0x4a3)](([,_0x521c5d])=>{const _0x4901b7=_0x369d55;let _0x6de74=_0x521c5d[_0x4901b7(0x38a)];_0x521c5d[_0x4901b7(0x38a)]=_0x37511f['textEncoder'][_0x4901b7(0x31c)]((0x0,_0x37511f[_0x4901b7(0x2e2)])(_0x6de74));});}return _0x55f1c2;}async[_0x1453e5(0x3b4)](_0x42dfa3,_0x13c3f0){const _0x5850d2=_0x1453e5;let {unitID:_0x21c021,type:_0x5bd303,blockID:_0x4508e9}=_0x13c3f0,_0x14c478=this[_0x5850d2(0x43a)]()+'/'+_0x5bd303+'/unit/'+_0x21c021+_0x5850d2(0x4cf)+_0x4508e9;return(await this['_httpService']['get'](_0x14c478))[_0x5850d2(0x4e9)];}async['getDeserializedSheetBlock'](_0xfc24ce,_0xc21769){const _0xa8b39f=_0x1453e5;let {unitID:_0x416fd6,type:_0xcd7ae1,blockID:_0x4f0a00}=_0xc21769,_0x4d4d6b=this[_0xa8b39f(0x43a)]()+_0xa8b39f(0x4cf)+_0xcd7ae1+_0xa8b39f(0x4fe)+_0x416fd6+_0xa8b39f(0x4cf)+_0x4f0a00;return(await this['_httpService'][_0xa8b39f(0x405)](_0x4d4d6b))[_0xa8b39f(0x4e9)];}async['fetchMissingChangesets'](_0x304755,_0x3670fe){const _0x38340e=_0x1453e5;let {unitID:_0x2e5a92,type:_0x5307ae,from:_0x3f591d,to:_0x50d319}=_0x3670fe,_0x3722c6=this['_getAPIPrefix']()+'/'+_0x5307ae+_0x38340e(0x4fe)+_0x2e5a92+_0x38340e(0x505)+_0x3f591d+_0x38340e(0x1f1)+_0x50d319;return(await this[_0x38340e(0x205)][_0x38340e(0x405)](_0x3722c6))[_0x38340e(0x4e9)];}[_0x1453e5(0x414)](){const _0x1e3c59=_0x1453e5;var _0xa244aa;return(_0xa244aa=this[_0x1e3c59(0x22d)][_0x1e3c59(0x3dc)]('SNAPSHOT_URL_KEY'))==null?this['_getAPIPrefix']():_0xa244aa;}['_getAPIPrefix'](){const _0xfa41fa=_0x1453e5;var _0x1f5b9f;let _0x189404=this[_0xfa41fa(0x22d)]['getConfig'](_0x4ffd90);return(_0x1f5b9f=_0x189404==null?void 0x0:_0x189404[_0xfa41fa(0x39f)])==null?'/universer-api/snapshot':_0x1f5b9f;}async[_0x1453e5(0x365)](_0x2172f8,_0xdc9b34){const _0x493488=_0x1453e5;let _0x345fe9=_0x493488(0x3bf)+_0xdc9b34[_0x493488(0x293)]+_0x493488(0x4fe)+_0xdc9b34[_0x493488(0x47f)]+'/resources';return(await this[_0x493488(0x205)][_0x493488(0x405)](_0x345fe9,{'params':{'resourceId':JSON['stringify'](_0xdc9b34[_0x493488(0x353)])}}))[_0x493488(0x4e9)];}[_0x1453e5(0x20c)](){const _0x3322e8=_0x1453e5;throw Error(_0x3322e8(0x4e6));}['updateSnapshot'](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1453e5(0x2e1)](){const _0x3260bf=_0x1453e5;throw Error(_0x3260bf(0x4e6));}[_0x1453e5(0x463)](){const _0x249f01=_0x1453e5;throw Error(_0x249f01(0x4e6));}[_0x1453e5(0x2c8)](){const _0x63a743=_0x1453e5;throw Error(_0x63a743(0x4e6));}[_0x1453e5(0x404)](){const _0x17c718=_0x1453e5;throw Error(_0x17c718(0x4e6));}};_0x2eb448=_0x23bcbc([_0x20187e(0x0,_0x15f21c['IConfigService']),_0x20187e(0x1,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x3c5332[_0x1453e5(0x222)]))],_0x2eb448);let _0x48500c=class extends _0x15f21c[_0x1453e5(0x47c)]{constructor(_0x4d6954,_0x468bf9,_0x57db0c,_0x17487c,_0x4692b5){const _0x5e883d=_0x1453e5;super(_0x4d6954,_0x468bf9,_0x57db0c),this[_0x5e883d(0x4c3)]=_0x17487c,this[_0x5e883d(0x2ec)]=_0x4692b5;}['transformUndoRedo'](_0x19b8e0,_0x132932){const _0x57c7fc=_0x1453e5;let _0x44fe4e=this[_0x57c7fc(0x503)](_0x19b8e0);if(_0x44fe4e)try{let _0x3d3746=this['_transformStack'](_0x44fe4e,_0x132932);this[_0x57c7fc(0x47b)](_0x19b8e0,_0x3d3746);}catch(_0x230f94){this[_0x57c7fc(0x2ec)][_0x57c7fc(0x357)](_0x57c7fc(0x403),_0x230f94),this[_0x57c7fc(0x2fb)](_0x19b8e0);}let _0xa2137a=this[_0x57c7fc(0x287)](_0x19b8e0);if(_0xa2137a)try{let _0x2c48b3=this[_0x57c7fc(0x501)](_0xa2137a,_0x132932);this[_0x57c7fc(0x2cc)](_0x19b8e0,_0x2c48b3);}catch(_0x2c0d18){this[_0x57c7fc(0x2ec)][_0x57c7fc(0x357)](_0x2c0d18),this['_clearRedo'](_0x19b8e0);}}[_0x1453e5(0x2fb)](_0x138fb0){const _0x49053a=_0x1453e5;let _0x2dd99d=this[_0x49053a(0x503)](_0x138fb0);_0x2dd99d&&(_0x2dd99d[_0x49053a(0x22f)]=0x0,this[_0x49053a(0x41c)]());}[_0x1453e5(0x43f)](_0x25ddf2){const _0x4f6036=_0x1453e5;let _0x3401df=this['_getRedoStack'](_0x25ddf2);_0x3401df&&(_0x3401df[_0x4f6036(0x22f)]=0x0,this['_updateStatus']());}[_0x1453e5(0x47b)](_0x52cdb2,_0x2a4f5a){const _0x24ea97=_0x1453e5;this[_0x24ea97(0x4ef)][_0x24ea97(0x37f)](_0x52cdb2,_0x2a4f5a),this[_0x24ea97(0x41c)]();}[_0x1453e5(0x2cc)](_0x5056a9,_0x7f0a37){const _0x2ef98c=_0x1453e5;this[_0x2ef98c(0x3cd)][_0x2ef98c(0x37f)](_0x5056a9,_0x7f0a37),this['_updateStatus']();}[_0x1453e5(0x501)](_0x5c9501,_0x401ef3){const _0x3556cb=_0x1453e5;let _0xcdb946=[],_0x89c72c=_0x401ef3,_0x3f9d19=_0x401ef3;for(let _0x3ce66a=_0x5c9501[_0x3556cb(0x22f)]-0x1;_0x3ce66a>=0x0;_0x3ce66a--){let {unitID:_0x58d822,undoMutations:_0x3861de,redoMutations:_0x549efd}=_0x5c9501[_0x3ce66a],_0x51d6c2=this['_transformService'][_0x3556cb(0x4f4)](_0x89c72c,_0x3861de),_0x55b327=this[_0x3556cb(0x4c3)][_0x3556cb(0x4f4)](_0x3f9d19,_0x549efd);if((0x0,_0x37511f['isTransformMutationsWithChangesetFailure'])(_0x51d6c2)||(0x0,_0x37511f[_0x3556cb(0x3ad)])(_0x55b327)){this['_logService'][_0x3556cb(0x357)](_0x3556cb(0x403),'transformStack\x20failed!',_0x51d6c2,_0x55b327);break;}_0x89c72c=_0x51d6c2[_0x3556cb(0x226)],_0x3f9d19=_0x55b327[_0x3556cb(0x226)],_0xcdb946[_0x3556cb(0x4d0)]({'unitID':_0x58d822,'undoMutations':_0x51d6c2[_0x3556cb(0x3f7)],'redoMutations':_0x55b327[_0x3556cb(0x3f7)]});}return _0xcdb946[_0x3556cb(0x259)]();}};_0x48500c=_0x23bcbc([_0x20187e(0x0,_0x15f21c[_0x1453e5(0x22c)]),_0x20187e(0x1,_0x15f21c['ICommandService']),_0x20187e(0x2,_0x15f21c['IContextService']),_0x20187e(0x3,_0x37511f['ITransformService']),_0x20187e(0x4,_0x15f21c[_0x1453e5(0x3fc)])],_0x48500c);let _0x2adbe9=class extends _0x15f21c[_0x1453e5(0x317)]{constructor(_0x230b9e={},_0x2b8124,_0x1ca72e,_0x2f041d){const _0x5e8772=_0x1453e5;super(),this[_0x5e8772(0x233)]=_0x230b9e,this['_logService']=_0x2b8124,this[_0x5e8772(0x3df)]=_0x1ca72e,this[_0x5e8772(0x22d)]=_0x2f041d;let {..._0x505bb2}=(0x0,_0x15f21c['merge'])({},_0x188d4c,_0x230b9e);if(!_0x505bb2[_0x5e8772(0x45e)])throw Error(_0x5e8772(0x2dd));this[_0x5e8772(0x233)]=_0x505bb2,this[_0x5e8772(0x22d)][_0x5e8772(0x451)](_0x4ffd90,_0x505bb2);}[_0x1453e5(0x423)](){const _0x45556b=_0x1453e5;this[_0x45556b(0x490)](),this[_0x45556b(0x3d8)]();}[_0x1453e5(0x490)](){const _0xda98e7=_0x1453e5;var _0x4345e2,_0xd283d8;this[_0xda98e7(0x3df)][_0xda98e7(0x508)](_0x15f21c[_0xda98e7(0x359)])&&this[_0xda98e7(0x2ec)]['error']('[UniverCollaborationClientPlugin]',_0xda98e7(0x247));let _0x3d06f1=(0x0,_0x15f21c[_0xda98e7(0x3f4)])([[_0x15f21c['IUndoRedoService'],{'useClass':_0x48500c}],[_0x2bd27e],[_0x3feb5b],[_0x53d349],[_0x246b1c],[_0x4358e9],[_0x5b555c],[_0xa80062],[_0x44a5ef],[_0x57339c],[_0x20db02,{'useClass':this[_0xda98e7(0x233)][_0xda98e7(0x45e)]}],[_0x37511f['ISnapshotServerService'],{'useClass':_0x2eb448}],[_0x15f21c[_0xda98e7(0x2e4)],{'useClass':_0x8459f8}],[_0x5f09e6[_0xda98e7(0x245)],{'useClass':_0x1debe8}],[_0x15f21c['IMentionIOService'],{'useClass':_0x4e89df}],[_0x3c00a4],[_0x2ec451]],(_0x4345e2=this['_config'])==null?void 0x0:_0x4345e2[_0xda98e7(0x4b5)]);if(!((_0xd283d8=this[_0xda98e7(0x233)])!=null&&_0xd283d8[_0xda98e7(0x1fa)])){let _0x1ab4c1=_0x3d06f1[_0xda98e7(0x44a)](([_0x5065b9])=>_0x5065b9===_0x7c093b);_0x1ab4c1!==-0x1&&_0x3d06f1['splice'](_0x1ab4c1,0x1);}(0x0,_0x15f21c[_0xda98e7(0x370)])(this[_0xda98e7(0x3df)],_0x3d06f1);}[_0x1453e5(0x3d8)](){const _0x596b88=_0x1453e5;var _0x48917c,_0x4fc587;if(this[_0x596b88(0x3df)][_0x596b88(0x405)](_0x3c5332[_0x596b88(0x222)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':(0x0,_0x3c5332[_0x596b88(0x2e3)])({'maxParallel':0x6})}),!((_0x48917c=this[_0x596b88(0x233)])!=null&&_0x48917c[_0x596b88(0x1f8)])){var _0x43d292;(_0x43d292=this[_0x596b88(0x3df)][_0x596b88(0x405)](_0x2bb040,_0x15f21c[_0x596b88(0x4cc)][_0x596b88(0x431)]))==null||_0x43d292['disableLocalCache']();}(_0x4fc587=this[_0x596b88(0x233)])!=null&&_0x4fc587[_0x596b88(0x48f)]&&(0x0,_0x15f21c[_0x596b88(0x318)])(this['_injector'],[[_0x246b1c]]),(0x0,_0x15f21c[_0x596b88(0x318)])(this['_injector'],[[_0x4358e9],[_0x3c00a4],[_0xa80062]]);}};_0x14249f(_0x2adbe9,_0x1453e5(0x4b4),_0x1453e5(0x3b1)),_0x14249f(_0x2adbe9,_0x1453e5(0x4b2),_0x5dfe46),_0x14249f(_0x2adbe9,_0x1453e5(0x2a3),_0x5e44b1),_0x2adbe9=_0x23bcbc([(0x0,_0x15f21c[_0x1453e5(0x4a4)])(_0x3b5393[_0x1453e5(0x303)],_0x37511f[_0x1453e5(0x297)],_0x3c5332['UniverNetworkPlugin']),_0x20187e(0x1,_0x15f21c['ILogService']),_0x20187e(0x2,(0x0,_0x15f21c[_0x1453e5(0x2b6)])(_0x15f21c[_0x1453e5(0x411)])),_0x20187e(0x3,_0x15f21c[_0x1453e5(0x488)])],_0x2adbe9),Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x3f2),{'enumerable':!0x0,'get':function(){return _0x8459f8;}}),Object['defineProperty'](_0x4a8f3a,'AwaitingState',{'enumerable':!0x0,'get':function(){return _0x393762;}}),Object['defineProperty'](_0x4a8f3a,_0x1453e5(0x386),{'enumerable':!0x0,'get':function(){return _0x451a32;}}),_0x4a8f3a[_0x1453e5(0x46b)]=_0x4ffd90,Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x47d),{'enumerable':!0x0,'get':function(){return _0x3c00a4;}}),Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x311),{'enumerable':!0x0,'get':function(){return _0x2dfe9f;}}),Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x329),{'enumerable':!0x0,'get':function(){return _0x1debe8;}}),Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x44c),{'enumerable':!0x0,'get':function(){return _0xf4dd52;}}),Object['defineProperty'](_0x4a8f3a,'CollaborationSessionService',{'enumerable':!0x0,'get':function(){return _0x2bd27e;}}),Object[_0x1453e5(0x2e7)](_0x4a8f3a,'CollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x2d2413;}}),_0x4a8f3a[_0x1453e5(0x3c3)]=_0x5a1771,_0x4a8f3a[_0x1453e5(0x277)]=_0xbe416e,_0x4a8f3a[_0x1453e5(0x30c)]=_0x44a5ef,Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x1fc),{'enumerable':!0x0,'get':function(){return _0x48500c;}}),_0x4a8f3a[_0x1453e5(0x384)]=_0x5b555c,Object[_0x1453e5(0x2e7)](_0x4a8f3a,'ConflictState',{'enumerable':!0x0,'get':function(){return _0x1617da;}}),_0x4a8f3a[_0x1453e5(0x395)]=_0xe2144e,_0x4a8f3a[_0x1453e5(0x504)]=_0x1453e5(0x244),_0x4a8f3a['DEFAULT_WS_SESSION_TICKET_URL']='/universer-api/user/session-ticket',Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x267),{'enumerable':!0x0,'get':function(){return _0x57339c;}}),Object['defineProperty'](_0x4a8f3a,_0x1453e5(0x4f9),{'enumerable':!0x0,'get':function(){return _0x3313c8;}}),Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x3a8),{'enumerable':!0x0,'get':function(){return _0x12b492;}}),_0x4a8f3a['HEARTBEAT_INTERVAL_KEY']=_0x1453e5(0x38f),_0x4a8f3a['HEARTBEAT_TIMEOUT_KEY']=_0x1453e5(0x220),_0x4a8f3a[_0x1453e5(0x34a)]=_0x20db02,_0x4a8f3a['ILocalCacheService']=_0x2bb040,_0x4a8f3a['INetworkConditionService']=_0x49ddf5,_0x4a8f3a[_0x1453e5(0x30f)]=_0x7c093b,_0x4a8f3a[_0x1453e5(0x288)]=0x3e8,_0x4a8f3a['LOCAL_CACHE_INTERVAL_KEY']=_0x1453e5(0x288),Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x322),{'enumerable':!0x0,'get':function(){return _0x3feb5b;}}),Object['defineProperty'](_0x4a8f3a,_0x1453e5(0x3ae),{'enumerable':!0x0,'get':function(){return _0x4e89df;}}),Object[_0x1453e5(0x2e7)](_0x4a8f3a,'OfflineState',{'enumerable':!0x0,'get':function(){return _0x49a25b;}}),Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x2f5),{'enumerable':!0x0,'get':function(){return _0xe56e96;}}),_0x4a8f3a[_0x1453e5(0x387)]='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x4a8f3a[_0x1453e5(0x278)]=_0x1453e5(0x351),_0x4a8f3a['SessionStatus']=_0x486481,Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x40a),{'enumerable':!0x0,'get':function(){return _0x5a3f3c;}}),Object[_0x1453e5(0x2e7)](_0x4a8f3a,'SheetTransformSelectionsService',{'enumerable':!0x0,'get':function(){return _0x53d349;}}),Object['defineProperty'](_0x4a8f3a,_0x1453e5(0x252),{'enumerable':!0x0,'get':function(){return _0x2eb448;}}),Object['defineProperty'](_0x4a8f3a,_0x1453e5(0x217),{'enumerable':!0x0,'get':function(){return _0x301f3f;}}),_0x4a8f3a[_0x1453e5(0x43d)]=_0x4a91b3,Object[_0x1453e5(0x2e7)](_0x4a8f3a,_0x1453e5(0x335),{'enumerable':!0x0,'get':function(){return _0x2adbe9;}}),_0x4a8f3a[_0x1453e5(0x495)]=_0x12e05c,_0x4a8f3a[_0x1453e5(0x43c)]=_0x19d226,_0x4a8f3a[_0x1453e5(0x48d)]=_0x2cf58b;}));
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
|
|
5
|
+
(function(_0x55d1ed,_0x1def79){const _0x3d7bb3=_0x495d,_0x2e5e2d=_0x55d1ed();while(!![]){try{const _0xc5e7c0=-parseInt(_0x3d7bb3(0x1d3))/0x1+parseInt(_0x3d7bb3(0x1ee))/0x2+parseInt(_0x3d7bb3(0x1c1))/0x3+parseInt(_0x3d7bb3(0x1ba))/0x4+-parseInt(_0x3d7bb3(0x1bb))/0x5*(parseInt(_0x3d7bb3(0x1fa))/0x6)+parseInt(_0x3d7bb3(0x1e6))/0x7+parseInt(_0x3d7bb3(0x1df))/0x8*(-parseInt(_0x3d7bb3(0x1d4))/0x9);if(_0xc5e7c0===_0x1def79)break;else _0x2e5e2d['push'](_0x2e5e2d['shift']());}catch(_0xbae406){_0x2e5e2d['push'](_0x2e5e2d['shift']());}}}(_0x5af8,0x57560),function(_0x16ce1d,_0x247099){const _0x4275a9=_0x495d;typeof exports==_0x4275a9(0x1e9)&&typeof module<'u'?_0x247099(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x4275a9(0x1e0)&&define[_0x4275a9(0x1d6)]?define([_0x4275a9(0x1f5),_0x4275a9(0x1f2),_0x4275a9(0x1f0),'@univerjs/core',_0x4275a9(0x1bc),_0x4275a9(0x1dc)],_0x247099):(_0x16ce1d=typeof globalThis<'u'?globalThis:_0x16ce1d||self,_0x247099(_0x16ce1d[_0x4275a9(0x1cf)]={},_0x16ce1d['UniverProCollaborationClient'],_0x16ce1d[_0x4275a9(0x1e4)],_0x16ce1d['UniverCore'],_0x16ce1d['UniverProCollaboration'],_0x16ce1d[_0x4275a9(0x1dc)]));}(this,function(_0x6ae73e,_0x22aec4,_0xbd3ebf,_0x2f2254,_0x225c37,_0xef539b){const _0xce9930=_0x495d;Object[_0xce9930(0x1b6)](_0x6ae73e,Symbol[_0xce9930(0x1d2)],{'value':'Module'});var _0x29f935=class extends _0xbd3ebf[_0xce9930(0x1e1)]{get[_0xce9930(0x1c7)](){const _0x3f3fb3=_0xce9930;return _0x22aec4[_0x3f3fb3(0x1c7)];}};_0xbd3ebf['FEnum'][_0xce9930(0x1e8)](_0x29f935);var _0x585ee8=class extends _0xbd3ebf[_0xce9930(0x1f1)]{get[_0xce9930(0x1d5)](){return'CollaborationStatusChanged';}};_0xbd3ebf[_0xce9930(0x1f1)][_0xce9930(0x1e8)](_0x585ee8);function _0xb0fd4e(_0x550b4b,_0x3e10c5){return function(_0x1c0e1b,_0x42b97b){_0x3e10c5(_0x1c0e1b,_0x42b97b,_0x550b4b);};}function _0x3f3560(_0x71a2f,_0x3d35f9,_0x4bbdbf,_0x3181e2){const _0x5e4bad=_0xce9930;var _0x42d0b0=arguments[_0x5e4bad(0x1d1)],_0x1f1a2d=_0x42d0b0<0x3?_0x3d35f9:_0x3181e2===null?_0x3181e2=Object[_0x5e4bad(0x1c0)](_0x3d35f9,_0x4bbdbf):_0x3181e2,_0x2ed237;if(typeof Reflect==_0x5e4bad(0x1e9)&&typeof Reflect[_0x5e4bad(0x1bd)]==_0x5e4bad(0x1e0))_0x1f1a2d=Reflect['decorate'](_0x71a2f,_0x3d35f9,_0x4bbdbf,_0x3181e2);else{for(var _0x2c48cb=_0x71a2f[_0x5e4bad(0x1d1)]-0x1;_0x2c48cb>=0x0;_0x2c48cb--)(_0x2ed237=_0x71a2f[_0x2c48cb])&&(_0x1f1a2d=(_0x42d0b0<0x3?_0x2ed237(_0x1f1a2d):_0x42d0b0>0x3?_0x2ed237(_0x3d35f9,_0x4bbdbf,_0x1f1a2d):_0x2ed237(_0x3d35f9,_0x4bbdbf))||_0x1f1a2d);}return _0x42d0b0>0x3&&_0x1f1a2d&&Object[_0x5e4bad(0x1b6)](_0x3d35f9,_0x4bbdbf,_0x1f1a2d),_0x1f1a2d;}let _0x1613fa=class extends _0xbd3ebf['FBase']{constructor(_0x62ce5b,_0x49b689,_0x4caa2a,_0x3d6744,_0x513985){const _0x5a75bc=_0xce9930;super(),this['_handler']=_0x62ce5b,this[_0x5a75bc(0x1b7)]=_0x49b689,this[_0x5a75bc(0x1d7)]=_0x4caa2a,this['_snapshotService']=_0x3d6744,this['_collaborationController']=_0x513985;}async[_0xce9930(0x1ec)](){const _0x54d5c8=_0xce9930;return this[_0x54d5c8(0x1d9)]();}async[_0xce9930(0x1d9)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0xce9930(0x1c8)](_0x2df059){const _0x246fae=_0xce9930;return this[_0x246fae(0x1cd)](_0x2df059);}async['loadSheetAsync'](_0x396342,_0xee47fc){const _0x430a95=_0xce9930;return await this['_snapshotService']['loadSheet'](_0x396342,0x0,_0xee47fc)?(await this['_collaborationController']['readyForCollab'](_0x396342),this[_0x430a95(0x1f6)][_0x430a95(0x1c2)](_0x396342)):null;}[_0xce9930(0x1f3)](_0x4fa5dc,_0x400832){const _0x2d1fa2=_0xce9930;return(0x0,_0x2f2254[_0x2d1fa2(0x1b9)])(this[_0x2d1fa2(0x1b7)]['get'](_0x22aec4[_0x2d1fa2(0x1cc)])[_0x2d1fa2(0x1b8)](_0x4fa5dc)[_0x2d1fa2(0x1d0)]((0x0,_0xef539b[_0x2d1fa2(0x1bf)])(_0x4c4f7a=>_0x4c4f7a[_0x2d1fa2(0x1ea)]))[_0x2d1fa2(0x1be)](_0x4e3bb5=>_0x400832(Array[_0x2d1fa2(0x1e3)](_0x4e3bb5[_0x2d1fa2(0x1f8)]()))));}[_0xce9930(0x1da)](_0x520a7d){const _0x521873=_0xce9930;var _0x411475;let _0x4eef8e;if(_0x520a7d)_0x4eef8e=_0x520a7d;else{let _0x178f1a=this[_0x521873(0x1d7)][_0x521873(0x1f4)]();_0x4eef8e=_0x178f1a==null?void 0x0:_0x178f1a['getUnitId']();}if(!_0x4eef8e)return _0x22aec4[_0x521873(0x1c7)][_0x521873(0x1f7)];let _0x63e42d=this[_0x521873(0x1dd)]['getCollabEntity'](_0x4eef8e);return(_0x411475=_0x63e42d==null?void 0x0:_0x63e42d[_0x521873(0x1de)]['status'])==null?_0x22aec4[_0x521873(0x1c7)]['NOT_COLLAB']:_0x411475;}};_0x1613fa=_0x3f3560([_0xb0fd4e(0x1,(0x0,_0x2f2254[_0xce9930(0x1fb)])(_0x2f2254[_0xce9930(0x1e5)])),_0xb0fd4e(0x2,_0x2f2254[_0xce9930(0x1eb)]),_0xb0fd4e(0x3,(0x0,_0x2f2254[_0xce9930(0x1fb)])(_0x225c37[_0xce9930(0x1e2)])),_0xb0fd4e(0x4,(0x0,_0x2f2254[_0xce9930(0x1fb)])(_0x22aec4[_0xce9930(0x1c5)]))],_0x1613fa);var _0x1b8069=class extends _0xbd3ebf[_0xce9930(0x1db)]{[_0xce9930(0x1ef)](_0x266769){const _0x36be20=_0xce9930;let _0x3525a7=_0x266769[_0x36be20(0x1c6)](_0x22aec4[_0x36be20(0x1c5)]);this['disposeWithMe'](this[_0x36be20(0x1ed)](this[_0x36be20(0x1b4)][_0x36be20(0x1d5)],()=>{const _0x2e6317=_0x36be20;let _0x310bd2=new _0x2f2254['DisposableCollection'](),_0x327136=_0x3525a7[_0x2e6317(0x1c4)][_0x2e6317(0x1be)](_0x5330d4=>{const _0x5514be=_0x2e6317;let _0x1700cc=_0x5330d4[_0x5514be(0x1ca)][_0x5514be(0x1be)](_0x1eee93=>{const _0x1eaa35=_0x5514be;let _0x7ceffc={'unitId':_0x5330d4[_0x1eaa35(0x1c3)],'status':_0x1eee93};this[_0x1eaa35(0x1c9)](this[_0x1eaa35(0x1b4)][_0x1eaa35(0x1d5)],_0x7ceffc);});_0x310bd2[_0x5514be(0x1d8)]((0x0,_0x2f2254[_0x5514be(0x1b9)])(_0x1700cc));});return _0x310bd2[_0x2e6317(0x1d8)]((0x0,_0x2f2254[_0x2e6317(0x1b9)])(_0x327136)),_0x310bd2;}));}['getCollaboration'](){const _0x4b7bd5=_0xce9930;return this[_0x4b7bd5(0x1b7)][_0x4b7bd5(0x1b5)](_0x1613fa,{'getUniverSheet':_0x5e1e7e=>this[_0x4b7bd5(0x1c2)](_0x5e1e7e)});}[_0xce9930(0x1f9)](_0x190b7f,_0xa2bc81,_0xad348e){const _0x4a0bd8=_0xce9930;return this['_injector'][_0x4a0bd8(0x1c6)](_0x22aec4[_0x4a0bd8(0x1ce)])[_0x4a0bd8(0x1e7)](_0x190b7f,_0xa2bc81,_0xad348e);}[_0xce9930(0x1cb)](_0x49fedc,_0xc83262,_0x5de884){const _0x20c67a=_0xce9930;return this[_0x20c67a(0x1b7)][_0x20c67a(0x1c6)](_0x22aec4[_0x20c67a(0x1ce)])['loadUnitOfRevision'](_0x49fedc,_0xc83262,_0x5de884);}};_0xbd3ebf[_0xce9930(0x1db)][_0xce9930(0x1e8)](_0x1b8069),Object[_0xce9930(0x1b6)](_0x6ae73e,'FCollaboration',{'enumerable':!0x0,'get':function(){return _0x1613fa;}});}));function _0x495d(_0x92a68b,_0x40005c){_0x92a68b=_0x92a68b-0x1b4;const _0x5af8ef=_0x5af8();let _0x495db1=_0x5af8ef[_0x92a68b];return _0x495db1;}function _0x5af8(){const _0x5261f2=['UniverProCollaborationClientFacade','pipe','length','toStringTag','158552xEpUxd','5759973HxhPas','CollaborationStatusChanged','amd','_univerInstanceService','add','loadActiveSheetAsync','getCollaborationStatus','FUniver','rxjs','_collaborationController','state','16EjcciA','function','FEnum','SnapshotService','from','UniverCoreFacade','Injector','4779908Nclybl','loadUnit','extend','object','members$','IUniverInstanceService','loadActiveSheet','registerEventHandler','1087646deULmj','_initialize','@univerjs/core/facade','FEventName','@univerjs-pro/collaboration-client','subscribeCollaborators','getFocusedUnit','exports','_handler','NOT_COLLAB','values','loadServerUnit','12AJthSa','Inject','Event','createInstance','defineProperty','_injector','waitForRoom$','toDisposable','2261708NrPSPD','270925NAfMtY','@univerjs-pro/collaboration','decorate','subscribe','switchMap','getOwnPropertyDescriptor','337650PIWdNB','getUniverSheet','unitID','entityInit$','CollaborationController','get','CollaborationStatus','loadSheet','fireEvent','status$','loadServerUnitOfRevision','MemberService','loadSheetAsync','DataLoaderService'];_0x5af8=function(){return _0x5261f2;};return _0x5af8();}
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0x33fc(_0xea37f1,_0x201c08){_0xea37f1=_0xea37f1-0x1b7;const _0x202fe1=_0x202f();let _0x33fcdd=_0x202fe1[_0xea37f1];return _0x33fcdd;}(function(_0x1fcdf0,_0x3d792f){const _0x1f92cf=_0x33fc,_0x1f333e=_0x1fcdf0();while(!![]){try{const _0xd2b9e2=parseInt(_0x1f92cf(0x225))/0x1+-parseInt(_0x1f92cf(0x42f))/0x2*(-parseInt(_0x1f92cf(0x33e))/0x3)+-parseInt(_0x1f92cf(0x215))/0x4+-parseInt(_0x1f92cf(0x331))/0x5*(-parseInt(_0x1f92cf(0x206))/0x6)+-parseInt(_0x1f92cf(0x37d))/0x7*(parseInt(_0x1f92cf(0x362))/0x8)+parseInt(_0x1f92cf(0x2ed))/0x9+parseInt(_0x1f92cf(0x2bc))/0xa*(-parseInt(_0x1f92cf(0x217))/0xb);if(_0xd2b9e2===_0x3d792f)break;else _0x1f333e['push'](_0x1f333e['shift']());}catch(_0x566f03){_0x1f333e['push'](_0x1f333e['shift']());}}}(_0x202f,0x9d64f),function(_0x4c2bb2,_0x32ee65){const _0x3f21d9=_0x33fc;typeof exports==_0x3f21d9(0x2d9)&&typeof module<'u'?_0x32ee65(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/rpc`),require(`@univerjs/sheets`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs-pro/collaboration`),require(`@univerjs/docs`),require(`@univerjs/engine-formula`),require(`rxjs/operators`),require(`@univerjs/sheets-ui`),require(`@univerjs/protocol`)):typeof define==_0x3f21d9(0x1c5)&&define[_0x3f21d9(0x3ca)]?define([_0x3f21d9(0x30a),_0x3f21d9(0x3cf),_0x3f21d9(0x41b),_0x3f21d9(0x1e3),'rxjs',_0x3f21d9(0x27d),_0x3f21d9(0x205),_0x3f21d9(0x247),'@univerjs/rpc',_0x3f21d9(0x48a),'@univerjs/engine-render','@univerjs/network',_0x3f21d9(0x451),_0x3f21d9(0x3c7),_0x3f21d9(0x340),_0x3f21d9(0x238),_0x3f21d9(0x1d3),_0x3f21d9(0x1ed),'@univerjs/sheets-ui',_0x3f21d9(0x3ab)],_0x32ee65):(_0x4c2bb2=typeof globalThis<'u'?globalThis:_0x4c2bb2||self,_0x32ee65(_0x4c2bb2[_0x3f21d9(0x348)]={},_0x4c2bb2[_0x3f21d9(0x37c)],_0x4c2bb2[_0x3f21d9(0x464)],_0x4c2bb2[_0x3f21d9(0x354)],_0x4c2bb2['rxjs'],_0x4c2bb2[_0x3f21d9(0x2a2)],_0x4c2bb2['React'],_0x4c2bb2[_0x3f21d9(0x2cb)],_0x4c2bb2[_0x3f21d9(0x436)],_0x4c2bb2['UniverSheets'],_0x4c2bb2['UniverEngineRender'],_0x4c2bb2[_0x3f21d9(0x239)],_0x4c2bb2[_0x3f21d9(0x20a)],_0x4c2bb2['UniverDrawing'],_0x4c2bb2[_0x3f21d9(0x24a)],_0x4c2bb2[_0x3f21d9(0x27b)],_0x4c2bb2[_0x3f21d9(0x2aa)],_0x4c2bb2[_0x3f21d9(0x2b6)][_0x3f21d9(0x463)],_0x4c2bb2['UniverSheetsUi'],_0x4c2bb2[_0x3f21d9(0x1c9)]));}(this,function(_0x39d08a,_0x43fc47,_0x48a01c,_0x10867e,_0x515ebd,_0x2c2150,_0x50d519,_0x21add0,_0xf28d6,_0x591afc,_0x27c640,_0x2a8a9d,_0x4f84ab,_0x1b6c6f,_0x4e304d,_0x41429d,_0xa1659d,_0x278175,_0x30aaa7,_0x4e493a){const _0x3c49b3=_0x33fc;Object[_0x3c49b3(0x416)](_0x39d08a,Symbol['toStringTag'],{'value':'Module'});function _0x4dc206({ref:_0x4e1d8a,..._0x4e2117}){const _0x59cf0a=_0x3c49b3;let {icon:_0x4a3c94,id:_0xedf7ae,className:_0x511965,extend:_0x3aa03f,..._0x26fae0}=_0x4e2117,_0xd8a421=(_0x59cf0a(0x496)+_0xedf7ae+'\x20'+(_0x511965||''))[_0x59cf0a(0x251)](),_0x5b1f5e=(0x0,_0x50d519[_0x59cf0a(0x2e1)])('_'+_0x2f2ccb());return _0x2b3c3d(_0x4a3c94,''+_0xedf7ae,{'defIds':_0x4a3c94[_0x59cf0a(0x2b4)],'idSuffix':_0x5b1f5e[_0x59cf0a(0x486)]},{'ref':_0x4e1d8a,'className':_0xd8a421,..._0x26fae0},_0x3aa03f);}function _0x2b3c3d(_0x32bf6d,_0x32343e,_0x5affa1,_0x5dade2,_0x1a91a7){const _0x730ea=_0x3c49b3;return(0x0,_0x50d519['createElement'])(_0x32bf6d[_0x730ea(0x1d0)],{'key':_0x32343e,..._0xa9c222(_0x32bf6d,_0x5affa1,_0x1a91a7),..._0x5dade2},(_0xda4306(_0x32bf6d,_0x5affa1)[_0x730ea(0x2bb)]||[])[_0x730ea(0x44d)]((_0x111c57,_0x183700)=>_0x2b3c3d(_0x111c57,_0x32343e+'-'+_0x32bf6d['tag']+'-'+_0x183700,_0x5affa1,void 0x0,_0x1a91a7)));}function _0xa9c222(_0x52c97a,_0x38a957,_0x48e2ab){const _0x474fcc=_0x3c49b3;let _0x30cfba={..._0x52c97a['attrs']};_0x48e2ab!=null&&_0x48e2ab[_0x474fcc(0x2a6)]&&_0x30cfba[_0x474fcc(0x295)]===_0x474fcc(0x2a6)&&(_0x30cfba['fill']=_0x48e2ab[_0x474fcc(0x2a6)]),_0x52c97a[_0x474fcc(0x1d0)]===_0x474fcc(0x204)&&_0x30cfba['id']&&(_0x30cfba['id']+=_0x38a957[_0x474fcc(0x352)]),Object[_0x474fcc(0x472)](_0x30cfba)[_0x474fcc(0x41e)](([_0x26eac0,_0x55f6d8])=>{const _0x1c5eb8=_0x474fcc;_0x26eac0===_0x1c5eb8(0x204)&&typeof _0x55f6d8==_0x1c5eb8(0x267)&&(_0x30cfba[_0x26eac0]=_0x55f6d8[_0x1c5eb8(0x283)](/url\(#(.*)\)/,_0x1c5eb8(0x21f)+_0x38a957[_0x1c5eb8(0x352)]+')'));});let {defIds:_0x378420}=_0x38a957;return!_0x378420||_0x378420[_0x474fcc(0x28a)]===0x0?_0x30cfba:(_0x52c97a[_0x474fcc(0x1d0)]===_0x474fcc(0x2f1)&&_0x30cfba[_0x474fcc(0x39c)]&&(_0x30cfba[_0x474fcc(0x39c)]+=_0x38a957[_0x474fcc(0x352)]),Object[_0x474fcc(0x472)](_0x30cfba)['forEach'](([_0x2a2b19,_0x5c8f39])=>{const _0x2e33ba=_0x474fcc;typeof _0x5c8f39=='string'&&(_0x30cfba[_0x2a2b19]=_0x5c8f39[_0x2e33ba(0x283)](/url\(#(.*)\)/,_0x2e33ba(0x21f)+_0x38a957[_0x2e33ba(0x352)]+')'));}),_0x30cfba);}function _0xda4306(_0x4cdc81,_0x1f126d){const _0x208ee5=_0x3c49b3;var _0x3a77df;let {defIds:_0x42018f}=_0x1f126d;return!_0x42018f||_0x42018f[_0x208ee5(0x28a)]===0x0?_0x4cdc81:_0x4cdc81[_0x208ee5(0x1d0)]===_0x208ee5(0x26e)&&(_0x3a77df=_0x4cdc81[_0x208ee5(0x2bb)])!=null&&_0x3a77df[_0x208ee5(0x28a)]?{..._0x4cdc81,'children':_0x4cdc81[_0x208ee5(0x2bb)]['map'](_0x443e86=>typeof _0x443e86[_0x208ee5(0x4a5)]['id']==_0x208ee5(0x267)&&_0x42018f&&_0x42018f[_0x208ee5(0x3d2)](_0x443e86[_0x208ee5(0x4a5)]['id'])?{..._0x443e86,'attrs':{..._0x443e86['attrs'],'id':_0x443e86[_0x208ee5(0x4a5)]['id']+_0x1f126d[_0x208ee5(0x352)]}}:_0x443e86)}:_0x4cdc81;}function _0x2f2ccb(){const _0x117e81=_0x3c49b3;return Math['random']()[_0x117e81(0x282)](0x24)['substring'](0x2,0x8);}_0x4dc206['displayName']=_0x3c49b3(0x435);let _0x28a33e={'tag':_0x3c49b3(0x3e4),'attrs':{'xmlns':_0x3c49b3(0x3cb),'fill':_0x3c49b3(0x2e4),'viewBox':_0x3c49b3(0x356),'width':'1em','height':_0x3c49b3(0x227)},'children':[{'tag':'g','attrs':{'clipPath':_0x3c49b3(0x37f)},'children':[{'tag':'path','attrs':{'stroke':_0x3c49b3(0x425),'d':_0x3c49b3(0x40b),'strokeLinecap':_0x3c49b3(0x433),'strokeLinejoin':_0x3c49b3(0x433),'strokeWidth':1.2}}]},{'tag':_0x3c49b3(0x26e),'attrs':{},'children':[{'tag':_0x3c49b3(0x2c0),'attrs':{'id':_0x3c49b3(0x3fb)},'children':[{'tag':_0x3c49b3(0x410),'attrs':{'fill':_0x3c49b3(0x39a),'d':_0x3c49b3(0x201)}}]}]}],'defIds':[_0x3c49b3(0x3fb)]},_0x5eb4fc=(0x0,_0x50d519[_0x3c49b3(0x207)])(function(_0x38afac,_0x137590){const _0x261839=_0x3c49b3;return(0x0,_0x50d519[_0x261839(0x379)])(_0x4dc206,Object[_0x261839(0x29b)]({},_0x38afac,{'id':_0x261839(0x2ce),'ref':_0x137590,'icon':_0x28a33e}));});_0x5eb4fc[_0x3c49b3(0x22b)]=_0x3c49b3(0x2dd);let _0x1b4ce8={'tag':'svg','attrs':{'xmlns':_0x3c49b3(0x3cb),'fill':_0x3c49b3(0x2e4),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x3c49b3(0x227)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3c49b3(0x410),'attrs':{'stroke':'currentColor','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':'round','strokeLinejoin':_0x3c49b3(0x433),'strokeWidth':1.2}}]},{'tag':_0x3c49b3(0x26e),'attrs':{},'children':[{'tag':_0x3c49b3(0x2c0),'attrs':{'id':_0x3c49b3(0x446)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x3c49b3(0x201),'transform':_0x3c49b3(0x302)}}]}]}],'defIds':[_0x3c49b3(0x446)]},_0xb70980=(0x0,_0x50d519[_0x3c49b3(0x207)])(function(_0x568878,_0x1f0cd8){const _0x310b60=_0x3c49b3;return(0x0,_0x50d519['createElement'])(_0x4dc206,Object[_0x310b60(0x29b)]({},_0x568878,{'id':_0x310b60(0x3df),'ref':_0x1f0cd8,'icon':_0x1b4ce8}));});_0xb70980[_0x3c49b3(0x22b)]=_0x3c49b3(0x2e8);let _0x3c85cd={'tag':_0x3c49b3(0x3e4),'attrs':{'xmlns':_0x3c49b3(0x3cb),'fill':_0x3c49b3(0x2e4),'viewBox':'0\x200\x2016\x2016','width':_0x3c49b3(0x227),'height':_0x3c49b3(0x227)},'children':[{'tag':_0x3c49b3(0x410),'attrs':{'fill':'#0B9EFB','d':_0x3c49b3(0x37a),'fillOpacity':0.2,'fillRule':_0x3c49b3(0x297),'clipRule':'evenodd'}},{'tag':_0x3c49b3(0x410),'attrs':{'fill':_0x3c49b3(0x3ef),'d':_0x3c49b3(0x3d7),'fillRule':'evenodd','clipRule':_0x3c49b3(0x297)}}]},_0x492e0c=(0x0,_0x50d519['forwardRef'])(function(_0x448c7b,_0x21437d){const _0xe81cba=_0x3c49b3;return(0x0,_0x50d519[_0xe81cba(0x379)])(_0x4dc206,Object['assign']({},_0x448c7b,{'id':'loading-multi-icon','ref':_0x21437d,'icon':_0x3c85cd}));});_0x492e0c['displayName']=_0x3c49b3(0x1bf);function _0x511f3c(_0x340e15){const _0x1eccd8=_0x3c49b3;switch(_0x340e15){case _0x43fc47[_0x1eccd8(0x46e)]['OFFLINE']:return{'icon':(0x0,_0x21add0[_0x1eccd8(0x3d0)])(_0x5eb4fc,{}),'colorClass':'univer-text-red-500','i18nKey':_0x1eccd8(0x49d),'tooltipKey':_0x1eccd8(0x3b4),'clickable':!0x0,'indicator':'static'};case _0x43fc47[_0x1eccd8(0x46e)][_0x1eccd8(0x36e)]:return{'icon':(0x0,_0x21add0[_0x1eccd8(0x3d0)])(_0x5eb4fc,{}),'colorClass':'univer-text-orange-500','i18nKey':_0x1eccd8(0x2da),'clickable':!0x1,'indicator':'static'};case _0x43fc47['CollaborationStatus'][_0x1eccd8(0x453)]:return{'icon':(0x0,_0x21add0[_0x1eccd8(0x3d0)])(_0x492e0c,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x1eccd8(0x2ef),'clickable':!0x1,'indicator':_0x1eccd8(0x236)};case _0x43fc47[_0x1eccd8(0x46e)][_0x1eccd8(0x403)]:return{'icon':(0x0,_0x21add0[_0x1eccd8(0x3d0)])(_0xb70980,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x1eccd8(0x1c0),'clickable':!0x1,'indicator':_0x1eccd8(0x1cc)};case _0x43fc47[_0x1eccd8(0x46e)][_0x1eccd8(0x21d)]:case _0x43fc47[_0x1eccd8(0x46e)][_0x1eccd8(0x334)]:return{'icon':(0x0,_0x21add0[_0x1eccd8(0x3d0)])(_0x492e0c,{}),'colorClass':_0x1eccd8(0x36c),'i18nKey':'collabStatus.syncing','clickable':!0x1,'indicator':_0x1eccd8(0x236)};case _0x43fc47['CollaborationStatus'][_0x1eccd8(0x408)]:case _0x43fc47[_0x1eccd8(0x46e)][_0x1eccd8(0x34a)]:return{'icon':(0x0,_0x21add0['jsx'])(_0xb70980,{}),'colorClass':_0x1eccd8(0x45b),'i18nKey':_0x1eccd8(0x43d),'clickable':!0x1,'indicator':_0x1eccd8(0x1cc)};}}function _0x3d6baf(_0x1be3be){const _0x408d04=_0x3c49b3;let {status$:_0x54a79e}=_0x1be3be,_0x8d8a9f=(0x0,_0x10867e[_0x408d04(0x441)])(_0x54a79e,_0x43fc47[_0x408d04(0x46e)][_0x408d04(0x403)]),_0x406138=(0x0,_0x10867e[_0x408d04(0x498)])(_0x48a01c[_0x408d04(0x409)]),_0x33885c=(0x0,_0x10867e[_0x408d04(0x498)])(_0x43fc47['CollaborationSessionService']),_0x2d9e97=(0x0,_0x50d519[_0x408d04(0x2ab)])(()=>_0x511f3c(_0x8d8a9f),[_0x8d8a9f]),_0x553400=_0x8d8a9f!==_0x43fc47['CollaborationStatus'][_0x408d04(0x380)],_0x49a598=_0x406138['t'](_0x2d9e97['i18nKey']),_0x224cd3=_0x2d9e97['tooltipKey']?_0x406138['t'](_0x2d9e97[_0x408d04(0x372)]):_0x49a598,_0xeb7461=(0x0,_0x50d519[_0x408d04(0x2b8)])(()=>{const _0x44ecff=_0x408d04;_0x553400||_0x33885c[_0x44ecff(0x465)]();},[_0x553400,_0x33885c]),_0xc32358=(0x0,_0x50d519[_0x408d04(0x2b8)])(_0x206846=>{const _0x4ef95b=_0x408d04;!_0x553400&&(_0x206846['key']===_0x4ef95b(0x2b5)||_0x206846[_0x4ef95b(0x41a)]==='\x20')&&(_0x206846[_0x4ef95b(0x1d8)](),_0x33885c['reconnect']());},[_0x553400,_0x33885c]),_0x54a4b1=(0x0,_0x21add0[_0x408d04(0x3d0)])(_0x408d04(0x1f3),{'className':(0x0,_0x2c2150['clsx'])(_0x408d04(0x40a),_0x408d04(0x43a),_0x2d9e97[_0x408d04(0x349)],{'univer-animate-spin':_0x2d9e97[_0x408d04(0x388)]===_0x408d04(0x236),'univer-animate-pulse':_0x2d9e97[_0x408d04(0x388)]==='pulse'}),'aria-hidden':_0x408d04(0x208),'children':_0x2d9e97[_0x408d04(0x1f2)]}),_0x2a608b=(0x0,_0x21add0[_0x408d04(0x3d0)])(_0x408d04(0x1f3),{'className':(0x0,_0x2c2150[_0x408d04(0x1d5)])(_0x408d04(0x40a),_0x408d04(0x28d),_0x408d04(0x34b),_0x408d04(0x29c),_0x408d04(0x27a),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x2d9e97[_0x408d04(0x3a4)],'univer-cursor-default':!_0x2d9e97[_0x408d04(0x3a4)]}),'children':_0x54a4b1});return _0x2d9e97[_0x408d04(0x3a4)]?(0x0,_0x21add0[_0x408d04(0x3d0)])(_0x2c2150[_0x408d04(0x442)],{'title':_0x224cd3,'placement':_0x408d04(0x432),'children':(0x0,_0x21add0[_0x408d04(0x3d0)])('button',{'type':'button','onClick':_0xeb7461,'onKeyDown':_0xc32358,'className':(0x0,_0x2c2150['clsx'])(_0x408d04(0x387),'univer-border-none\x20univer-bg-transparent','univer-m-0\x20univer-p-0',_0x408d04(0x1b8)),'aria-label':_0x49a598+_0x408d04(0x2de)+_0x224cd3,'role':_0x408d04(0x363),'aria-live':_0x408d04(0x48d),'aria-atomic':_0x408d04(0x208),'children':_0x2a608b})}):(0x0,_0x21add0['jsx'])(_0x2c2150['Tooltip'],{'title':_0x224cd3,'placement':_0x408d04(0x432),'children':(0x0,_0x21add0[_0x408d04(0x3d0)])(_0x408d04(0x413),{'className':(0x0,_0x2c2150[_0x408d04(0x1d5)])(_0x408d04(0x387),_0x408d04(0x45a),_0x408d04(0x460)),'aria-label':_0x49a598,'role':_0x408d04(0x363),'aria-live':'polite','aria-atomic':_0x408d04(0x208),'children':_0x2a608b})});}function _0x4d6d92(_0xf44cd2){'@babel/helpers - typeof';const _0x33cf64=_0x3c49b3;return _0x4d6d92=typeof Symbol=='function'&&typeof Symbol[_0x33cf64(0x41d)]=='symbol'?function(_0x83ef85){return typeof _0x83ef85;}:function(_0x2361a7){const _0x534d0f=_0x33cf64;return _0x2361a7&&typeof Symbol==_0x534d0f(0x1c5)&&_0x2361a7[_0x534d0f(0x31d)]===Symbol&&_0x2361a7!==Symbol[_0x534d0f(0x1e2)]?_0x534d0f(0x440):typeof _0x2361a7;},_0x4d6d92(_0xf44cd2);}function _0x921700(_0x8ec928,_0x41003b){const _0x238065=_0x3c49b3;if(_0x4d6d92(_0x8ec928)!=_0x238065(0x2d9)||!_0x8ec928)return _0x8ec928;var _0x118c00=_0x8ec928[Symbol[_0x238065(0x383)]];if(_0x118c00!==void 0x0){var _0x321900=_0x118c00[_0x238065(0x281)](_0x8ec928,_0x41003b||'default');if(_0x4d6d92(_0x321900)!=_0x238065(0x2d9))return _0x321900;throw TypeError(_0x238065(0x4a7));}return(_0x41003b==='string'?String:Number)(_0x8ec928);}function _0x5de5d9(_0x5149fc){const _0x5a669b=_0x3c49b3;var _0x1fab13=_0x921700(_0x5149fc,'string');return _0x4d6d92(_0x1fab13)==_0x5a669b(0x440)?_0x1fab13:_0x1fab13+'';}function _0x4b1ad7(_0x4df031,_0xed7c0e,_0xa53e98){const _0x2d49d6=_0x3c49b3;return(_0xed7c0e=_0x5de5d9(_0xed7c0e))in _0x4df031?Object[_0x2d49d6(0x416)](_0x4df031,_0xed7c0e,{'value':_0xa53e98,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4df031[_0xed7c0e]=_0xa53e98,_0x4df031;}function _0x459348(_0x5706fb,_0x317f61){return function(_0x48d999,_0xd2e62e){_0x317f61(_0x48d999,_0xd2e62e,_0x5706fb);};}function _0x5efc3a(_0x3664c6,_0x2ce61d,_0x23233b,_0x3b2097){const _0x41e853=_0x3c49b3;var _0x29bbd3=arguments[_0x41e853(0x28a)],_0x14712a=_0x29bbd3<0x3?_0x2ce61d:_0x3b2097===null?_0x3b2097=Object[_0x41e853(0x35f)](_0x2ce61d,_0x23233b):_0x3b2097,_0x3a95e1;if(typeof Reflect==_0x41e853(0x2d9)&&typeof Reflect[_0x41e853(0x1e7)]==_0x41e853(0x1c5))_0x14712a=Reflect[_0x41e853(0x1e7)](_0x3664c6,_0x2ce61d,_0x23233b,_0x3b2097);else{for(var _0x1948b8=_0x3664c6[_0x41e853(0x28a)]-0x1;_0x1948b8>=0x0;_0x1948b8--)(_0x3a95e1=_0x3664c6[_0x1948b8])&&(_0x14712a=(_0x29bbd3<0x3?_0x3a95e1(_0x14712a):_0x29bbd3>0x3?_0x3a95e1(_0x2ce61d,_0x23233b,_0x14712a):_0x3a95e1(_0x2ce61d,_0x23233b))||_0x14712a);}return _0x29bbd3>0x3&&_0x14712a&&Object['defineProperty'](_0x2ce61d,_0x23233b,_0x14712a),_0x14712a;}let _0x29a2f8=class extends _0x48a01c['Disposable']{constructor(_0x143a8d,_0x325315,_0x574500,_0x595a46){const _0x17b531=_0x3c49b3;super(),this['_univerInstanceService']=_0x143a8d,this[_0x17b531(0x2b7)]=_0x325315,this[_0x17b531(0x398)]=_0x574500,this['_uiPartsService']=_0x595a46,_0x4b1ad7(this,_0x17b531(0x3d9),new _0x515ebd[(_0x17b531(0x406))](_0x43fc47[_0x17b531(0x46e)][_0x17b531(0x403)])),this[_0x17b531(0x3c4)](),this[_0x17b531(0x364)]();}[_0x3c49b3(0x364)](){const _0x29944e=_0x3c49b3;this[_0x29944e(0x2bf)](this[_0x29944e(0x4a1)][_0x29944e(0x3e7)][_0x29944e(0x1d1)]((0x0,_0x515ebd[_0x29944e(0x386)])(()=>{const _0x1eb569=_0x29944e;let _0x428b6c=this[_0x1eb569(0x4a1)][_0x1eb569(0x485)]();return _0x428b6c?this[_0x1eb569(0x398)][_0x1eb569(0x3d6)](_0x428b6c[_0x1eb569(0x3a5)]()):(0x0,_0x515ebd['of'])(null);}),(0x0,_0x515ebd['switchMap'])(_0x2022f3=>_0x2022f3?_0x2022f3[_0x29944e(0x4a0)]:(0x0,_0x515ebd['of'])(_0x43fc47[_0x29944e(0x46e)]['NOT_COLLAB'])))['subscribe'](_0x1c6fa5=>{const _0x4b05ee=_0x29944e;this[_0x4b05ee(0x3d9)][_0x4b05ee(0x38b)](_0x1c6fa5);}));}[_0x3c49b3(0x3c4)](){const _0x523c41=_0x3c49b3;this[_0x523c41(0x2bf)](this[_0x523c41(0x2b3)][_0x523c41(0x332)](_0x10867e[_0x523c41(0x23d)][_0x523c41(0x2fe)],()=>(0x0,_0x10867e['connectInjector'])(_0x3de8c1({'status$':this[_0x523c41(0x3d9)][_0x523c41(0x273)]()}),this[_0x523c41(0x2b7)])));}};_0x29a2f8=_0x5efc3a([_0x459348(0x0,_0x48a01c[_0x3c49b3(0x26f)]),_0x459348(0x1,(0x0,_0x48a01c['Inject'])(_0x48a01c[_0x3c49b3(0x3a1)])),_0x459348(0x2,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x43fc47['CollaborationController'])),_0x459348(0x3,_0x10867e[_0x3c49b3(0x2c9)])],_0x29a2f8);function _0x3de8c1(_0x307e5c){let {status$:_0x16db0f}=_0x307e5c;return function(){const _0x225fdd=_0x33fc;return(0x0,_0x21add0[_0x225fdd(0x3d0)])(_0x3d6baf,{'status$':_0x16db0f});};}let _0x1c4cba=(0x0,_0x48a01c['createIdentifier'])(_0x3c49b3(0x2d1)),_0x5a5127=class extends _0x48a01c[_0x3c49b3(0x47f)]{constructor(_0xb2e273,_0xdbfd75,_0x55565d,_0x4c6c3b,_0x4f9cb4){const _0x3553d7=_0x3c49b3;super(),this[_0x3553d7(0x2c7)]=_0xb2e273,this[_0x3553d7(0x2c1)]=_0xdbfd75,this[_0x3553d7(0x294)]=_0x55565d,this[_0x3553d7(0x312)]=_0x4c6c3b,_0x4f9cb4?_0x4f9cb4==null||_0x4f9cb4[_0x3553d7(0x2e0)]()[_0x3553d7(0x4aa)](()=>this[_0x3553d7(0x396)]()):(this['_logService'][_0x3553d7(0x34f)](_0x3553d7(0x343),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3553d7(0x396)]());}async[_0x3c49b3(0x396)](){const _0x3de234=_0x3c49b3;let _0x5292be=this[_0x3de234(0x2c7)][_0x3de234(0x488)]('unit'),_0x113c1e=this['_urlService']['getParam']('type'),_0x129722=this['_urlService']['getParam']('subunit');if(!_0x5292be||!_0x113c1e){this['_logService']['debug'](_0x3de234(0x343),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x323338=await this[_0x3de234(0x312)][_0x3de234(0x3e6)](_0x5292be,Number(_0x113c1e),_0x129722);_0x323338&&_0x323338 instanceof _0x48a01c[_0x3de234(0x296)]&&this[_0x3de234(0x430)](_0x323338);}async[_0x3c49b3(0x430)](_0x27b39d){const _0x1845aa=_0x3c49b3;await this[_0x1845aa(0x38e)](_0x27b39d),_0x27b39d[_0x1845aa(0x322)][_0x1845aa(0x1d1)]((0x0,_0x515ebd[_0x1845aa(0x417)])(this['dispose$']))[_0x1845aa(0x40e)](_0x32f6e3=>{_0x32f6e3&&this['_updateURLWithCurrentState'](_0x32f6e3);}),this['_urlService'][_0x1845aa(0x3d3)][_0x1845aa(0x1d1)]((0x0,_0x515ebd[_0x1845aa(0x417)])(this[_0x1845aa(0x286)]))[_0x1845aa(0x40e)](()=>this[_0x1845aa(0x38e)](_0x27b39d));}[_0x3c49b3(0x449)](_0x44a7e0,_0x49ed05=!0x1){const _0x19646d=_0x3c49b3;let _0x4009dd=this['_urlService'][_0x19646d(0x488)](_0x19646d(0x342));_0x44a7e0[_0x19646d(0x212)]()!==_0x4009dd&&this[_0x19646d(0x2c7)][_0x19646d(0x1c3)]('subunit',_0x44a7e0['getSheetId'](),_0x49ed05);}async[_0x3c49b3(0x38e)](_0x21d2c6){const _0x2725ca=_0x3c49b3;var _0x4a18e2;let _0x66a858=this[_0x2725ca(0x2c7)][_0x2725ca(0x488)]('subunit');if(!_0x66a858||!_0x21d2c6[_0x2725ca(0x47c)](_0x66a858)){let _0x44a394=_0x21d2c6[_0x2725ca(0x226)]()[0x0],_0x159546=_0x21d2c6[_0x2725ca(0x47c)](_0x44a394);if(!_0x159546)return;this[_0x2725ca(0x449)](_0x159546,!0x0),await this[_0x2725ca(0x294)]['executeCommand'](_0x591afc['SetWorksheetActivateCommand']['id'],{'unitId':_0x21d2c6[_0x2725ca(0x3a5)](),'subUnitId':_0x44a394});return;}((_0x4a18e2=_0x21d2c6['getActiveSheet']())==null?void 0x0:_0x4a18e2['getSheetId']())!==_0x66a858&&await this[_0x2725ca(0x294)]['executeCommand'](_0x591afc[_0x2725ca(0x44e)]['id'],{'unitId':_0x21d2c6[_0x2725ca(0x3a5)](),'subUnitId':_0x66a858});}};_0x5a5127=_0x5efc3a([_0x459348(0x0,_0x1c4cba),_0x459348(0x1,_0x48a01c[_0x3c49b3(0x2df)]),_0x459348(0x2,_0x48a01c['ICommandService']),_0x459348(0x3,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x43fc47[_0x3c49b3(0x33f)])),_0x459348(0x4,(0x0,_0x48a01c[_0x3c49b3(0x338)])(_0xf28d6['IRemoteInstanceService']))],_0x5a5127);var _0x333bc0=_0x3c49b3(0x444),_0x48bb10=_0x3c49b3(0x365);let _0x6cc1b8=class extends _0x48a01c['RxDisposable']{constructor(_0x5cc4e3,_0x14b3c5){const _0x5c3a53=_0x3c49b3;super(),this[_0x5c3a53(0x3b8)]=_0x5cc4e3,this[_0x5c3a53(0x35a)]=_0x14b3c5,this[_0x5c3a53(0x396)]();}['_init'](){const _0x1b1f73=_0x3c49b3;let _0x597a3b=this;this['disposeWithMe'](this['_docClipboardService'][_0x1b1f73(0x3cc)]({'onBeforePasteImage':async _0x49c97e=>{const _0x3e3a26=_0x1b1f73;let _0xaac79b=await _0x597a3b[_0x3e3a26(0x35a)]['saveImage'](_0x49c97e);return _0xaac79b?{'source':_0xaac79b[_0x3e3a26(0x24d)],'imageSourceType':_0xaac79b[_0x3e3a26(0x253)]}:null;}}));}};_0x6cc1b8=_0x5efc3a([_0x459348(0x0,_0x4f84ab['IDocClipboardService']),_0x459348(0x1,_0x1b6c6f[_0x3c49b3(0x3f7)])],_0x6cc1b8);let _0x98e70b=[_0x3c49b3(0x2dc),_0x3c49b3(0x224),_0x3c49b3(0x1f4),_0x3c49b3(0x2c5),_0x3c49b3(0x272),_0x3c49b3(0x461)];var _0x54f25d=class extends _0x48a01c[_0x3c49b3(0x1dc)]{constructor(..._0x74be){const _0x4035c3=_0x3c49b3;super(..._0x74be),_0x4b1ad7(this,'_assignedColors',new Map()),_0x4b1ad7(this,_0x4035c3(0x4a3),0x0);}[_0x3c49b3(0x1ba)](_0x5f7738){const _0x4c3475=_0x3c49b3;if(this[_0x4c3475(0x38c)]['has'](_0x5f7738))return this[_0x4c3475(0x38c)][_0x4c3475(0x284)](_0x5f7738);let _0x22edd0=_0x98e70b[this['_colorIndex']];return this[_0x4c3475(0x4a3)]=(this[_0x4c3475(0x4a3)]+0x1)%_0x98e70b[_0x4c3475(0x28a)],this[_0x4c3475(0x38c)]['set'](_0x5f7738,_0x22edd0),_0x22edd0;}};function _0x56d8f6(_0x35b353){const _0x4fbacf=_0x3c49b3;let _0x24f2f7='';for(let _0xb0dbd8 of _0x35b353){let {startOffset:_0x5540c2,endOffset:_0xc9a63,isActive:_0x10108b,rangeType:_0x12ad18,segmentId:_0x144129,segmentPage:_0x26a629}=_0xb0dbd8;_0x24f2f7[_0x4fbacf(0x28a)]&&(_0x24f2f7+=','),_0x24f2f7+=_0x5540c2+':'+_0xc9a63+':'+(_0x10108b?'1':'0')+':'+_0x12ad18+':'+_0x144129+':'+_0x26a629;}return _0x24f2f7;}function _0x224c8b(_0x132ff4){const _0x49fb39=_0x3c49b3;let _0x30fbfb=_0x132ff4[_0x49fb39(0x256)](','),_0x289f90=[];for(let _0x2b6146 of _0x30fbfb){let [_0x2d6ff3,_0x42c915,_0x15959a,_0x209c7d,_0x21e77e,_0xd25617]=_0x2b6146[_0x49fb39(0x256)](':');_0x289f90[_0x49fb39(0x373)]({'startOffset':Number(_0x2d6ff3),'endOffset':Number(_0x42c915),'collapsed':_0x2d6ff3===_0x42c915,'isActive':_0x15959a==='1','rangeType':_0x209c7d===_0x48a01c[_0x49fb39(0x43e)][_0x49fb39(0x43c)]?_0x48a01c[_0x49fb39(0x43e)][_0x49fb39(0x43c)]:_0x48a01c[_0x49fb39(0x43e)]['RECT'],'segmentId':typeof _0x21e77e==_0x49fb39(0x267)?String(_0x21e77e):'','segmentPage':Number(_0xd25617==null?-0x1:_0xd25617)});}return _0x289f90[_0x49fb39(0x42b)](_0x21e3bc=>_0x21e3bc[_0x49fb39(0x26b)])||(_0x289f90[0x0]['isActive']=!0x0),_0x289f90;}var _0x3a71aa=class extends _0x48a01c['RxDisposable']{constructor(..._0x129dec){const _0x56e111=_0x3c49b3;super(..._0x129dec),_0x4b1ad7(this,_0x56e111(0x2e5),new _0x515ebd[(_0x56e111(0x406))](null)),_0x4b1ad7(this,'collabCursorState$',this['_collabCursorState$'][_0x56e111(0x273)]());}[_0x3c49b3(0x243)](_0x3073fe){const _0x228228=_0x3c49b3;let {unitID:_0xba91a6,memberID:_0x2e69e9,textRanges:_0x31a725}=_0x3073fe,_0x5a9401=_0x56d8f6(_0x31a725);if(_0x5a9401==='')return;let _0x534ab1={'unitID':_0xba91a6,'memberID':_0x2e69e9,'selection':_0x5a9401};this[_0x228228(0x2e5)]['next'](_0x534ab1);}};let _0x244ddf=class extends _0x48a01c[_0x3c49b3(0x47f)]{get[_0x3c49b3(0x382)](){const _0x331d05=_0x3c49b3;return this[_0x331d05(0x345)][_0x331d05(0x35d)]();}get['roomMembers'](){const _0x3a0e14=_0x3c49b3;return this['_roomMembers$'][_0x3a0e14(0x35d)]();}constructor(_0x2f6b9b,_0x3d03eb,_0x46ef24,_0x51651c,_0x25e71f,_0x318d6b,_0x1f1348,_0x7d3449,_0x53980d){const _0x173bde=_0x3c49b3;super(),this[_0x173bde(0x22d)]=_0x2f6b9b,this[_0x173bde(0x323)]=_0x3d03eb,this[_0x173bde(0x2b7)]=_0x46ef24,this['_colorAssignService']=_0x51651c,this[_0x173bde(0x20f)]=_0x25e71f,this[_0x173bde(0x3b9)]=_0x318d6b,this['_transformService']=_0x1f1348,this[_0x173bde(0x4a1)]=_0x7d3449,this[_0x173bde(0x294)]=_0x53980d,_0x4b1ad7(this,'_online',!0x1),_0x4b1ad7(this,_0x173bde(0x396),!0x1),_0x4b1ad7(this,_0x173bde(0x345),new _0x515ebd[(_0x173bde(0x406))](new Map())),_0x4b1ad7(this,_0x173bde(0x26c),this[_0x173bde(0x345)]['asObservable']()),_0x4b1ad7(this,_0x173bde(0x25c),new _0x515ebd[(_0x173bde(0x406))]([])),_0x4b1ad7(this,_0x173bde(0x34d),this[_0x173bde(0x25c)][_0x173bde(0x1d1)]((0x0,_0x515ebd[_0x173bde(0x3bd)])(0x12c))),_0x4b1ad7(this,_0x173bde(0x47b),(0x0,_0x48a01c[_0x173bde(0x229)])(_0x24c824=>{const _0x4c248f=_0x173bde;let _0x4a9e97={'eventID':_0x4e304d[_0x4c248f(0x2ac)][_0x4c248f(0x43f)],'data':{'unitID':this[_0x4c248f(0x22d)],'memberID':this[_0x4c248f(0x323)][_0x4c248f(0x351)](),'selection':_0x56d8f6(_0x24c824)}};this[_0x4c248f(0x323)]['send'](_0x4a9e97,this[_0x4c248f(0x22d)]);},0x64));}[_0x3c49b3(0x21a)](){const _0x3bdac2=_0x3c49b3;super[_0x3bdac2(0x21a)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x3bdac2(0x2c3)](),this[_0x3bdac2(0x25c)][_0x3bdac2(0x38b)]([]),this['_roomMembers$'][_0x3bdac2(0x2c3)]();}[_0x3c49b3(0x278)](){const _0x436ad4=_0x3c49b3;this[_0x436ad4(0x396)]||(this[_0x436ad4(0x396)]=!0x0,this[_0x436ad4(0x323)][_0x436ad4(0x25f)][_0x436ad4(0x1d1)]((0x0,_0x515ebd[_0x436ad4(0x417)])(this[_0x436ad4(0x286)]))[_0x436ad4(0x40e)](_0x20652d=>{const _0x43b06e=_0x436ad4;_0x20652d===_0x43fc47[_0x43b06e(0x214)]['ONLINE']?this[_0x43b06e(0x405)]():this[_0x43b06e(0x3fe)]();}),this[_0x436ad4(0x323)]['event$'][_0x436ad4(0x1d1)]((0x0,_0x515ebd[_0x436ad4(0x417)])(this[_0x436ad4(0x286)]))[_0x436ad4(0x40e)](_0x48a70a=>{const _0x373f88=_0x436ad4;let _0x26b77e=_0x48a70a['eventID'];_0x26b77e===_0x4e304d['CollaborationEvent'][_0x373f88(0x43f)]&&this[_0x373f88(0x3b3)](_0x48a70a),_0x26b77e===_0x4e304d[_0x373f88(0x2ac)][_0x373f88(0x37b)]&&this['_onCursorDelete'](_0x48a70a);}),this[_0x436ad4(0x2bf)](this[_0x436ad4(0x294)][_0x436ad4(0x1f5)](_0x2e683d=>{const _0x4e2453=_0x436ad4;let _0x4d7733=_0x2e683d[_0x4e2453(0x358)];_0x4d7733!=null&&this[_0x4e2453(0x456)]&&_0x2e683d['id']===_0x41429d[_0x4e2453(0x3dd)]['id']&&_0x4d7733[_0x4e2453(0x450)]===this[_0x4e2453(0x22d)]&&_0x4d7733['isEditing']===!0x1&&_0x4d7733['ranges'][_0x4e2453(0x28a)]>0x0&&this['_updateLocalCursor'](_0x4d7733[_0x4e2453(0x3ed)]);})),this[_0x436ad4(0x3b9)]['collabCursorState$'][_0x436ad4(0x1d1)]((0x0,_0x515ebd['takeUntil'])(this[_0x436ad4(0x286)]))[_0x436ad4(0x40e)](_0x283d7d=>{const _0x107b2c=_0x436ad4;if((_0x283d7d==null?void 0x0:_0x283d7d['unitID'])!==this['unitID'])return;let _0x524a3e={'eventID':_0x4e304d[_0x107b2c(0x2ac)][_0x107b2c(0x43f)],'data':_0x283d7d};this['_onCursorUpdate'](_0x524a3e);}),this[_0x436ad4(0x2bf)](this[_0x436ad4(0x294)][_0x436ad4(0x1f5)](_0x5782bc=>{const _0x16b76a=_0x436ad4;if(_0x5782bc[_0x16b76a(0x358)]==null)return;let _0x42d9a8=_0x5782bc[_0x16b76a(0x358)];if(_0x5782bc['id']!==_0x41429d['RichTextEditingMutation']['id']||_0x42d9a8['unitId']!==this[_0x16b76a(0x22d)])return;let _0x1e02a5={'id':_0x16b76a(0x48b),'params':_0x42d9a8},_0x36ac62=this[_0x16b76a(0x382)];for(let [_0x4a10f5,_0x4a30e5]of _0x36ac62){let _0x284ceb={'id':_0x16b76a(0x48b),'params':{'unitId':this[_0x16b76a(0x22d)],'actions':null,'textRanges':_0x4a30e5[_0x16b76a(0x3ed)]}},_0x524e9a=this['_transformService'][_0x16b76a(0x46c)](_0x1e02a5,_0x284ceb,!0x1);if((0x0,_0x4e304d[_0x16b76a(0x426)])(_0x524e9a))throw _0x524e9a[_0x16b76a(0x3ec)];_0x36ac62[_0x16b76a(0x1cb)](_0x4a10f5,{..._0x4a30e5,'ranges':_0x524e9a[_0x16b76a(0x42c)][_0x16b76a(0x358)]['textRanges']});}queueMicrotask(()=>{const _0x11fbc5=_0x16b76a;this[_0x11fbc5(0x345)][_0x11fbc5(0x38b)](_0x36ac62);});})));}['_onCursorUpdate'](_0x4e8c2d){const _0x4bd57f=_0x3c49b3;var _0x349963,_0xf3e06d;let {memberID:_0x273880,selection:_0x247562}=_0x4e8c2d[_0x4bd57f(0x23b)],_0x26523f=_0x224c8b(_0x247562),_0xe5797e=(_0x349963=(_0xf3e06d=this[_0x4bd57f(0x20f)][_0x4bd57f(0x230)](this['unitID'],_0x273880))==null?void 0x0:_0xf3e06d[_0x4bd57f(0x2d0)])==null?_0x4bd57f(0x392):_0x349963,_0x3c9e4e={'color':this['_colorAssignService'][_0x4bd57f(0x1ba)](_0x273880),'name':_0xe5797e,'ranges':_0x26523f},_0x3c5a72=this[_0x4bd57f(0x382)];_0x3c5a72['set'](_0x273880,_0x3c9e4e),this[_0x4bd57f(0x345)][_0x4bd57f(0x38b)](_0x3c5a72);}['_onCursorDelete'](_0x61e7d9){const _0x48669a=_0x3c49b3;let {memberID:_0x500561}=_0x61e7d9[_0x48669a(0x23b)],_0x231832=this[_0x48669a(0x382)];_0x231832[_0x48669a(0x429)](_0x500561),this[_0x48669a(0x345)][_0x48669a(0x38b)](_0x231832);}[_0x3c49b3(0x405)](){const _0xb0e7cf=_0x3c49b3;var _0x1f69bc;if(this[_0xb0e7cf(0x456)]=!0x0,((_0x1f69bc=this[_0xb0e7cf(0x4a1)][_0xb0e7cf(0x485)]())==null?void 0x0:_0x1f69bc[_0xb0e7cf(0x3a5)]())!==this[_0xb0e7cf(0x22d)])return;let _0x116748=this[_0xb0e7cf(0x2b7)][_0xb0e7cf(0x284)](_0x41429d[_0xb0e7cf(0x479)])[_0xb0e7cf(0x1d4)]();Array['isArray'](_0x116748)&&_0x116748['length']>0x0&&this[_0xb0e7cf(0x47b)](_0x116748);}[_0x3c49b3(0x3fe)](){const _0x59e015=_0x3c49b3;this[_0x59e015(0x456)]=!0x1;}};_0x244ddf=_0x5efc3a([_0x459348(0x2,(0x0,_0x48a01c['Inject'])(_0x48a01c[_0x3c49b3(0x3a1)])),_0x459348(0x3,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x54f25d)),_0x459348(0x4,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x43fc47['MemberService'])),_0x459348(0x5,(0x0,_0x48a01c['Inject'])(_0x3a71aa)),_0x459348(0x6,_0x4e304d[_0x3c49b3(0x1fd)]),_0x459348(0x7,_0x48a01c[_0x3c49b3(0x26f)]),_0x459348(0x8,_0x48a01c['ICommandService'])],_0x244ddf);let _0x31fb77=()=>{let _0x42014d=[],_0x1afb4f=!0x1;return _0xc586df=>{const _0x50108f=_0x33fc;_0x42014d[_0x50108f(0x373)](_0xc586df),_0x1afb4f||(_0x1afb4f=!0x0,setTimeout(()=>{const _0x324ed8=_0x50108f;_0x42014d[_0x324ed8(0x41e)](_0x5508e2=>_0x5508e2()),_0x42014d=[],_0x1afb4f=!0x1;}));};},_0x298033=class extends _0x48a01c[_0x3c49b3(0x47f)]{get[_0x3c49b3(0x382)](){const _0x43b261=_0x3c49b3;return this[_0x43b261(0x345)][_0x43b261(0x35d)]();}get[_0x3c49b3(0x3f5)](){const _0x1c4a31=_0x3c49b3;return this[_0x1c4a31(0x25c)][_0x1c4a31(0x35d)]();}constructor(_0x1853b8,_0x4624e7,_0x2a28a1,_0x322c99,_0x4a2da5,_0x243e6c,_0xa824c4,_0xfb03de){const _0x3db35e=_0x3c49b3;super(),this[_0x3db35e(0x22d)]=_0x1853b8,this[_0x3db35e(0x323)]=_0x4624e7,this['_injector']=_0x2a28a1,this[_0x3db35e(0x262)]=_0x322c99,this[_0x3db35e(0x20f)]=_0x4a2da5,this[_0x3db35e(0x4a1)]=_0x243e6c,this[_0x3db35e(0x294)]=_0xa824c4,this['_refRangeService']=_0xfb03de,_0x4b1ad7(this,'_online',!0x1),_0x4b1ad7(this,_0x3db35e(0x396),!0x1),_0x4b1ad7(this,'_cursorInfo$',new _0x515ebd[(_0x3db35e(0x406))](new Map())),_0x4b1ad7(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x4b1ad7(this,'_roomMembers$',new _0x515ebd['BehaviorSubject']([])),_0x4b1ad7(this,_0x3db35e(0x34d),this['_roomMembers$']['pipe']((0x0,_0x515ebd[_0x3db35e(0x3bd)])(0x12c))),_0x4b1ad7(this,_0x3db35e(0x47b),(0x0,_0x48a01c[_0x3db35e(0x229)])((_0x5c6b25,_0x1a7ff7)=>{const _0x13848c=_0x3db35e;let _0x190a0b={'eventID':_0x4e304d[_0x13848c(0x2ac)][_0x13848c(0x43f)],'data':{'unitID':this[_0x13848c(0x22d)],'memberID':this['_session'][_0x13848c(0x351)](),'selection':(0x0,_0xa1659d[_0x13848c(0x42d)])(_0x5c6b25,_0x1a7ff7[_0x13848c(0x264)])}};this['_session'][_0x13848c(0x3a7)](_0x190a0b,this[_0x13848c(0x22d)]);},0x64));}[_0x3c49b3(0x21a)](){const _0x2e3094=_0x3c49b3;super[_0x2e3094(0x21a)](),this[_0x2e3094(0x345)][_0x2e3094(0x38b)](new Map()),this[_0x2e3094(0x345)]['complete'](),this[_0x2e3094(0x25c)][_0x2e3094(0x38b)]([]),this[_0x2e3094(0x25c)][_0x2e3094(0x2c3)]();}['init'](){const _0x210e66=_0x3c49b3;this[_0x210e66(0x396)]||(this[_0x210e66(0x396)]=!0x0,this['_session'][_0x210e66(0x25f)][_0x210e66(0x1d1)]((0x0,_0x515ebd[_0x210e66(0x417)])(this[_0x210e66(0x286)]))[_0x210e66(0x40e)](_0x1a544c=>{const _0xdb54fa=_0x210e66;_0x1a544c===_0x43fc47['SessionStatus'][_0xdb54fa(0x32d)]?this['_toggleOnline']():this[_0xdb54fa(0x3fe)]();}),this[_0x210e66(0x323)][_0x210e66(0x1f8)][_0x210e66(0x1d1)]((0x0,_0x515ebd[_0x210e66(0x417)])(this[_0x210e66(0x286)]))[_0x210e66(0x40e)](_0x3d5396=>{const _0x23b533=_0x210e66;let _0x1ee340=_0x3d5396[_0x23b533(0x2a9)];_0x1ee340===_0x4e304d[_0x23b533(0x2ac)]['UPDATE_CURSOR']&&this[_0x23b533(0x3b3)](_0x3d5396),_0x1ee340===_0x4e304d[_0x23b533(0x2ac)]['USERS_LEAVE']&&this[_0x23b533(0x44a)](_0x3d5396);}),this[_0x210e66(0x232)](),this[_0x210e66(0x2bf)](this[_0x210e66(0x294)][_0x210e66(0x1f5)](_0x1cefa7=>{const _0x47f35d=_0x210e66;if(this[_0x47f35d(0x456)]&&_0x1cefa7['id']===_0x591afc[_0x47f35d(0x2ea)]['id']&&_0x1cefa7[_0x47f35d(0x358)][_0x47f35d(0x450)]===this[_0x47f35d(0x22d)]){let _0x31745f=_0x1cefa7['params'];this['_updateLocalCursor'](_0x31745f['subUnitId'],_0x31745f[_0x47f35d(0x29f)][0x0]);}})));}[_0x3c49b3(0x3b3)](_0x5a17af){const _0x410768=_0x3c49b3;var _0x4bee51,_0x3b0c9c;let {memberID:_0x5c4b9e,selection:_0xfd89d7}=_0x5a17af['data'],{sheetName:_0x22f5d8,range:_0x480253}=(0x0,_0xa1659d[_0x410768(0x346)])(_0xfd89d7),_0x1bd02={'name':(_0x4bee51=(_0x3b0c9c=this['_memberService'][_0x410768(0x230)](this[_0x410768(0x22d)],_0x5c4b9e))==null?void 0x0:_0x3b0c9c[_0x410768(0x2d0)])==null?_0x410768(0x392):_0x4bee51,'range':this['_getMergeRange'](_0x22f5d8,_0x480253),'sheetID':_0x22f5d8,'color':this[_0x410768(0x262)][_0x410768(0x1ba)](_0x5c4b9e),'selection':_0xfd89d7},_0x11123a=this[_0x410768(0x382)];_0x11123a['set'](_0x5c4b9e,_0x1bd02),this[_0x410768(0x345)][_0x410768(0x38b)](_0x11123a);}[_0x3c49b3(0x44a)](_0x16fa29){const _0x746083=_0x3c49b3;let {memberID:_0x13345d}=_0x16fa29[_0x746083(0x23b)],_0x833608=this['cursorInfo'];_0x833608['delete'](_0x13345d),this[_0x746083(0x345)][_0x746083(0x38b)](_0x833608);}[_0x3c49b3(0x36b)](_0x5bf476,_0x2b68df){const _0x4f6d03=_0x3c49b3;var _0x2d20d6;let _0x50e535=(_0x2d20d6=this['_univerInstanceService'][_0x4f6d03(0x26a)](this[_0x4f6d03(0x22d)]))==null||(_0x2d20d6=_0x2d20d6[_0x4f6d03(0x47c)](_0x5bf476))==null?void 0x0:_0x2d20d6[_0x4f6d03(0x20e)]();return(_0x50e535==null?void 0x0:_0x50e535[_0x4f6d03(0x394)](_0x2a533d=>_0x48a01c[_0x4f6d03(0x447)][_0x4f6d03(0x42e)](_0x2a533d,_0x2b68df)))||_0x2b68df;}[_0x3c49b3(0x232)](){const _0x5144b3=_0x3c49b3;let _0x3ddf61=new _0x48a01c['DisposableCollection'](),_0x118bdc=_0x31fb77(),_0x527dc5=()=>{const _0x499f8b=_0x33fc;_0x3ddf61[_0x499f8b(0x21a)]();let _0x235117=(_0x3e6251,_0x4b77b4,_0x714380,_0x5befaf)=>{const _0x2fe3c7=_0x499f8b;let _0x222513=[];switch(_0x3e6251['id']){case _0x591afc['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:_0x222513=(0x0,_0x591afc[_0x2fe3c7(0x2f9)])(_0x3e6251,_0x5befaf);break;case _0x591afc[_0x2fe3c7(0x487)][_0x2fe3c7(0x31c)]:_0x222513=(0x0,_0x591afc[_0x2fe3c7(0x39e)])(_0x3e6251,_0x5befaf);break;case _0x591afc[_0x2fe3c7(0x487)][_0x2fe3c7(0x3ad)]:_0x222513=(0x0,_0x591afc[_0x2fe3c7(0x336)])(_0x3e6251,_0x5befaf);break;case _0x591afc[_0x2fe3c7(0x487)]['InsertRangeMoveDownCommandId']:_0x222513=(0x0,_0x591afc['handleInsertRangeMoveDown'])(_0x3e6251,_0x5befaf);break;case _0x591afc['EffectRefRangId'][_0x2fe3c7(0x1d7)]:_0x222513=(0x0,_0x591afc[_0x2fe3c7(0x375)])(_0x3e6251,_0x5befaf);break;case _0x591afc[_0x2fe3c7(0x487)][_0x2fe3c7(0x499)]:_0x222513=(0x0,_0x591afc[_0x2fe3c7(0x1dd)])(_0x3e6251,_0x5befaf);break;case _0x591afc['EffectRefRangId'][_0x2fe3c7(0x439)]:_0x222513=(0x0,_0x591afc[_0x2fe3c7(0x255)])(_0x3e6251,_0x5befaf);break;case _0x591afc[_0x2fe3c7(0x487)][_0x2fe3c7(0x2a4)]:_0x222513=(0x0,_0x591afc[_0x2fe3c7(0x314)])(_0x3e6251,_0x5befaf);break;case _0x591afc['EffectRefRangId'][_0x2fe3c7(0x484)]:_0x222513=(0x0,_0x591afc['handleIRemoveRow'])(_0x3e6251,_0x5befaf);break;}let _0x582060=(0x0,_0x591afc[_0x2fe3c7(0x36d)])(_0x222513,_0x5befaf),_0x206af3=this[_0x2fe3c7(0x382)][_0x2fe3c7(0x284)](_0x4b77b4);if(_0x206af3&&_0x582060){let _0x2e548f={..._0x206af3,'range':_0x582060};this['cursorInfo'][_0x2fe3c7(0x1cb)](_0x4b77b4,_0x2e548f),_0x118bdc(()=>{const _0x381d9c=_0x2fe3c7;let _0x5d5123=this[_0x381d9c(0x304)]['registerRefRange'](_0x582060,_0xcadbed=>(_0x5d5123['dispose'](),_0x235117(_0xcadbed,_0x4b77b4,_0x714380,_0x582060)));_0x3ddf61[_0x381d9c(0x48f)](_0x5d5123);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x26b7c8,_0x52c109)=>{const _0x22b944=_0x499f8b;let {range:_0x4d0902,sheetID:_0x24730f}=_0x26b7c8,_0x5e8d65=this[_0x22b944(0x304)][_0x22b944(0x2d2)](_0x4d0902,_0x11ee55=>(_0x5e8d65[_0x22b944(0x21a)](),_0x235117(_0x11ee55,_0x52c109,_0x24730f,_0x4d0902)));_0x3ddf61['add'](_0x5e8d65);});};this[_0x5144b3(0x2bf)]((0x0,_0x48a01c['toDisposable'])(this[_0x5144b3(0x345)][_0x5144b3(0x40e)](()=>{_0x527dc5();})));}[_0x3c49b3(0x405)](){const _0x3da924=_0x3c49b3;var _0x222d77,_0x47b47c;if(this['_online']=!0x0,((_0x222d77=this[_0x3da924(0x4a1)]['getFocusedUnit']())==null?void 0x0:_0x222d77[_0x3da924(0x3a5)]())!==this[_0x3da924(0x22d)])return;let _0x14777e=(_0x47b47c=this[_0x3da924(0x2b7)][_0x3da924(0x284)](_0x591afc[_0x3da924(0x2f2)])[_0x3da924(0x35c)]())==null?void 0x0:_0x47b47c[0x0],_0x42568b=this[_0x3da924(0x4a1)][_0x3da924(0x49e)](_0x48a01c['UniverInstanceType'][_0x3da924(0x24b)])[_0x3da924(0x419)]();_0x14777e&&_0x42568b&&this['_updateLocalCursor'](_0x42568b[_0x3da924(0x212)](),_0x14777e);}['_toggleOffline'](){const _0x47fbe2=_0x3c49b3;this[_0x47fbe2(0x456)]=!0x1;}};_0x298033=_0x5efc3a([_0x459348(0x2,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x48a01c[_0x3c49b3(0x3a1)])),_0x459348(0x3,(0x0,_0x48a01c['Inject'])(_0x54f25d)),_0x459348(0x4,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x43fc47[_0x3c49b3(0x2f7)])),_0x459348(0x5,_0x48a01c[_0x3c49b3(0x26f)]),_0x459348(0x6,_0x48a01c[_0x3c49b3(0x39b)]),_0x459348(0x7,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x591afc[_0x3c49b3(0x305)]))],_0x298033);let _0x51ebec=class extends _0x48a01c[_0x3c49b3(0x47f)]{constructor(_0x21da2e,_0x42c15b,_0x5f2754){const _0x3115bd=_0x3c49b3;super(),this[_0x3115bd(0x4a1)]=_0x21da2e,this[_0x3115bd(0x2b7)]=_0x42c15b,this[_0x3115bd(0x44c)]=_0x5f2754,_0x4b1ad7(this,'_entities',new Map()),_0x4b1ad7(this,_0x3115bd(0x3af),new _0x515ebd[(_0x3115bd(0x32f))]()),this[_0x3115bd(0x396)]();}[_0x3c49b3(0x21a)](){const _0x61bc1c=_0x3c49b3;super[_0x61bc1c(0x21a)](),this[_0x61bc1c(0x3af)][_0x61bc1c(0x2c3)](),this['_entities'][_0x61bc1c(0x41e)](_0x5823b9=>_0x5823b9['dispose']());}[_0x3c49b3(0x2c6)](_0x10a06b){const _0x4366f3=_0x3c49b3;return this[_0x4366f3(0x3cd)]['has'](_0x10a06b)?this[_0x4366f3(0x3cd)][_0x4366f3(0x284)](_0x10a06b)['cursorInfo$']:this['_entityInit$'][_0x4366f3(0x1d1)]((0x0,_0x515ebd['filter'])(_0x190dc8=>_0x190dc8[_0x4366f3(0x22d)]===_0x10a06b),(0x0,_0x515ebd['switchMap'])(_0x4615a0=>_0x4615a0['cursorInfo$']));}[_0x3c49b3(0x396)](){const _0x7e7488=_0x3c49b3;this['_univerInstanceService'][_0x7e7488(0x2ad)](_0x48a01c[_0x7e7488(0x3de)]['UNIVER_SHEET'])['pipe']((0x0,_0x515ebd[_0x7e7488(0x417)])(this[_0x7e7488(0x286)]))[_0x7e7488(0x40e)](async _0x3ae0df=>{const _0x13cf4a=_0x7e7488;let _0x197046=_0x3ae0df[_0x13cf4a(0x4a8)][_0x13cf4a(0x3a5)](),_0x27afbe=await this[_0x13cf4a(0x2ff)](_0x197046);this[_0x13cf4a(0x3af)]['next'](_0x27afbe),this[_0x13cf4a(0x3cd)][_0x13cf4a(0x1cb)](_0x197046,_0x27afbe);}),this['_univerInstanceService'][_0x7e7488(0x2ad)](_0x48a01c[_0x7e7488(0x3de)][_0x7e7488(0x2fd)])[_0x7e7488(0x1d1)]((0x0,_0x515ebd[_0x7e7488(0x417)])(this[_0x7e7488(0x286)]))[_0x7e7488(0x1d1)]((0x0,_0x515ebd[_0x7e7488(0x237)])(_0x56c0c9=>!_0x56c0c9['unit']['getUnitId']()[_0x7e7488(0x2e6)]('__')))['subscribe'](async _0x4a5544=>{const _0x5153d7=_0x7e7488;let {unit:_0x26a74d}=_0x4a5544,_0x238ea1=_0x26a74d[_0x5153d7(0x3a5)](),_0x1b66a0=await this[_0x5153d7(0x452)](_0x238ea1);this['_entityInit$'][_0x5153d7(0x38b)](_0x1b66a0),this['_entities'][_0x5153d7(0x1cb)](_0x238ea1,_0x1b66a0);}),(0x0,_0x515ebd['merge'])(this[_0x7e7488(0x4a1)][_0x7e7488(0x307)](_0x48a01c['UniverInstanceType'][_0x7e7488(0x2fd)]),this[_0x7e7488(0x4a1)]['getTypeOfUnitDisposed$'](_0x48a01c[_0x7e7488(0x3de)][_0x7e7488(0x24b)]))[_0x7e7488(0x1d1)]((0x0,_0x515ebd[_0x7e7488(0x417)])(this[_0x7e7488(0x286)]))[_0x7e7488(0x40e)](_0x3f1277=>{const _0x3dc253=_0x7e7488;let _0xa36149=_0x3f1277[_0x3dc253(0x3a5)](),_0x5c8155=this[_0x3dc253(0x3cd)][_0x3dc253(0x284)](_0xa36149);_0x5c8155&&(_0x5c8155[_0x3dc253(0x21a)](),this[_0x3dc253(0x3cd)][_0x3dc253(0x429)](_0xa36149));});}async['_startSheetCollabCursor'](_0x5a8662){const _0x4d6300=_0x3c49b3;let _0x200bf4=await this[_0x4d6300(0x44c)]['requireSession'](_0x5a8662),_0x4d0bc3=this[_0x4d6300(0x2b7)][_0x4d6300(0x2c8)](_0x298033,_0x5a8662,_0x200bf4);return _0x4d0bc3[_0x4d6300(0x278)](),_0x4d0bc3;}async[_0x3c49b3(0x452)](_0xfefa2f){const _0x12fe86=_0x3c49b3;let _0x5be03a=await this[_0x12fe86(0x44c)][_0x12fe86(0x249)](_0xfefa2f),_0x3651cf=this[_0x12fe86(0x2b7)][_0x12fe86(0x2c8)](_0x244ddf,_0xfefa2f,_0x5be03a);return _0x3651cf[_0x12fe86(0x278)](),_0x3651cf;}};_0x51ebec=_0x5efc3a([_0x459348(0x0,_0x48a01c[_0x3c49b3(0x26f)]),_0x459348(0x1,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x48a01c['Injector'])),_0x459348(0x2,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x43fc47[_0x3c49b3(0x1da)]))],_0x51ebec);function _0x28b9cb(_0x300c4e,_0x4ef230){const _0xd6f83a=_0x3c49b3;var _0x353791,_0x33b015,_0x46a0e9;let {radius:_0x4cc283,width:_0x2aa67d,height:_0x496523}=_0x4ef230;_0x4cc283=(_0x353791=_0x4cc283)==null?0x0:_0x353791,_0x2aa67d=(_0x33b015=_0x2aa67d)==null?0x1e:_0x33b015,_0x496523=(_0x46a0e9=_0x496523)==null?0x1e:_0x46a0e9;let _0x58e30c=0x0,_0x3d7a44=0x0,_0xb852f6=0x0;_0x58e30c=_0x3d7a44=_0xb852f6=Math[_0xd6f83a(0x3a6)](_0x4cc283,_0x2aa67d/0x2,_0x496523/0x2),_0x300c4e[_0xd6f83a(0x46a)](),_0x300c4e[_0xd6f83a(0x320)](_0x58e30c,0x0),_0x300c4e[_0xd6f83a(0x2cf)](_0x2aa67d-_0x3d7a44,0x0),_0x300c4e[_0xd6f83a(0x428)](_0x2aa67d-_0x3d7a44,_0x3d7a44,_0x3d7a44,Math['PI']*0x3/0x2,0x0,!0x1),_0x300c4e[_0xd6f83a(0x2cf)](_0x2aa67d,_0x496523-_0xb852f6),_0x300c4e['arc'](_0x2aa67d-_0xb852f6,_0x496523-_0xb852f6,_0xb852f6,0x0,Math['PI']/0x2,!0x1),_0x300c4e[_0xd6f83a(0x2cf)](0x0,_0x496523),_0x300c4e[_0xd6f83a(0x2cf)](0x0,_0x58e30c),_0x300c4e['arc'](_0x58e30c,_0x58e30c,_0x58e30c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x300c4e[_0xd6f83a(0x27e)](),_0x4ef230['fill']&&(_0x300c4e[_0xd6f83a(0x458)](),_0x300c4e['fillStyle']=_0x4ef230[_0xd6f83a(0x295)],_0x4ef230['fillRule']===_0xd6f83a(0x297)?_0x300c4e[_0xd6f83a(0x295)](_0xd6f83a(0x297)):_0x300c4e[_0xd6f83a(0x295)](),_0x300c4e[_0xd6f83a(0x483)]());}var _0x1881f7=class _0x1fa63f extends _0x27c640[_0x3c49b3(0x27c)]{constructor(_0xd77782,_0x5795e2){const _0x523d4e=_0x3c49b3;super(_0xd77782,_0x5795e2),_0x4b1ad7(this,_0x523d4e(0x393),void 0x0),_0x4b1ad7(this,'text',void 0x0),this[_0x523d4e(0x393)]=_0x5795e2==null?void 0x0:_0x5795e2[_0x523d4e(0x393)],this[_0x523d4e(0x378)]=_0x5795e2==null?void 0x0:_0x5795e2[_0x523d4e(0x378)];}static['drawWith'](_0x15d7fb,_0x4c1c28){const _0x2fea5c=_0x3c49b3;let {text:_0x2c3fc9,color:_0x1a40f6}=_0x4c1c28;_0x15d7fb[_0x2fea5c(0x458)](),_0x15d7fb[_0x2fea5c(0x3b0)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x4226be=_0x15d7fb[_0x2fea5c(0x2bd)](_0x2c3fc9)[_0x2fea5c(0x473)];if(_0x28b9cb(_0x15d7fb,{'height':0x14,'radius':0x4,'width':Math[_0x2fea5c(0x3a6)](_0x4226be+0x8,0xc8),'fill':_0x1a40f6,'evented':!0x1}),_0x15d7fb[_0x2fea5c(0x327)]='#FFF',_0x4226be>0xc0){let _0xc56e96='',_0x415927=0x0;for(let _0x35baa0 of _0x2c3fc9){let _0x30dbe1=_0x15d7fb[_0x2fea5c(0x2bd)](_0x35baa0)[_0x2fea5c(0x473)];if(_0x415927+_0x30dbe1<=0xc0-_0x15d7fb[_0x2fea5c(0x2bd)](_0x2fea5c(0x40c))[_0x2fea5c(0x473)])_0xc56e96+=_0x35baa0,_0x415927+=_0x30dbe1;else{_0xc56e96+=_0x2fea5c(0x40c);break;}}_0x15d7fb[_0x2fea5c(0x3c2)](_0xc56e96,0x4,0xf);}else _0x15d7fb[_0x2fea5c(0x3c2)](_0x2c3fc9,0x4,0xf);_0x15d7fb['restore']();}[_0x3c49b3(0x1f9)](_0x8225ef){const _0x1fbf07=_0x3c49b3;_0x1fa63f[_0x1fbf07(0x1e8)](_0x8225ef,this);}};let _0x58958c=_0x3c49b3(0x2f4);var _0x55ff8f=class{constructor(_0x130802,_0x4d3864,_0x493e7e,_0x40f0cc){const _0x4ffba1=_0x3c49b3;this[_0x4ffba1(0x32b)]=_0x130802,this[_0x4ffba1(0x1d2)]=_0x4d3864,this[_0x4ffba1(0x1e5)]=_0x493e7e,this[_0x4ffba1(0x2ca)]=_0x40f0cc,_0x4b1ad7(this,_0x4ffba1(0x275),[]),_0x4b1ad7(this,_0x4ffba1(0x1e4),null),_0x4b1ad7(this,'_textBubble',null),_0x4b1ad7(this,_0x4ffba1(0x20b),null),_0x4b1ad7(this,_0x4ffba1(0x37e),null),_0x4b1ad7(this,_0x4ffba1(0x41c),null),this[_0x4ffba1(0x3fa)]();}set['_hover'](_0x57a4d3){const _0x461f25=_0x3c49b3;_0x57a4d3?(this[_0x461f25(0x20b)]&&this['_anchorDot'][_0x461f25(0x1de)](),this['_textBubble']&&this[_0x461f25(0x28e)][_0x461f25(0x48c)]()):(this[_0x461f25(0x20b)]&&this[_0x461f25(0x20b)][_0x461f25(0x48c)](),this[_0x461f25(0x28e)]&&this['_textBubble'][_0x461f25(0x1de)]());}[_0x3c49b3(0x21a)](){const _0xc7d4f6=_0x3c49b3;for(let _0xa4da3d of this['_shapes'])_0xa4da3d[_0xc7d4f6(0x21a)]();this[_0xc7d4f6(0x28e)]&&this[_0xc7d4f6(0x28e)][_0xc7d4f6(0x21a)](),this[_0xc7d4f6(0x20b)]&&this[_0xc7d4f6(0x20b)][_0xc7d4f6(0x21a)](),this[_0xc7d4f6(0x1e4)]&&this[_0xc7d4f6(0x1e4)]['dispose'](),this[_0xc7d4f6(0x41c)]&&this[_0xc7d4f6(0x41c)]();}['_render'](){const _0x291665=_0x3c49b3;let {_docSkeleton:_0x3d352b,_document:_0x4c379a}=this,{color:_0x1a72b2,name:_0x44766c,ranges:_0x12fb64}=this[_0x291665(0x32b)],_0x131880=_0x4c379a['getOffsetConfig'](),{docsLeft:_0xcc7156,docsTop:_0x18acbc}=_0x131880,_0x4cc516=new _0x4f84ab[(_0x291665(0x32c))](_0x131880,_0x3d352b);for(let {startOffset:_0x1d8778,endOffset:_0x1f1a4f,rangeType:_0x219e7c,segmentId:_0x22db3c,segmentPage:_0x5b8eda,collapsed:_0x4e8a37,isActive:_0x4ec11c}of _0x12fb64){let _0x10bbf3=_0x3d352b['findNodePositionByCharIndex'](_0x1d8778,!0x0,_0x22db3c,_0x5b8eda),_0x4ce44b=_0x3d352b[_0x291665(0x360)](_0x1f1a4f,!0x0,_0x22db3c,_0x5b8eda);if(_0x4ce44b==null&&(_0x4ce44b=_0x3d352b[_0x291665(0x360)](_0x1f1a4f-0x1,!0x1,_0x22db3c,_0x5b8eda)),_0x4ec11c){let {contentBoxPointGroup:_0xc58d32}=_0x4cc516[_0x291665(0x49b)](_0x4ce44b,_0x4ce44b);if(_0xc58d32[_0x291665(0x28a)]===0x0)continue;this[_0x291665(0x1fb)](_0x1a72b2,_0xc58d32,_0xcc7156,_0x18acbc,_0x44766c),this[_0x291665(0x41c)]=this['_handleHover']();}if(_0x10bbf3&&_0x4ce44b){if(_0x219e7c===_0x48a01c[_0x291665(0x43e)][_0x291665(0x2a1)]){var _0x1bcaa9;let {pointGroup:_0x3cce8f}=(_0x1bcaa9=new _0x4f84ab['NodePositionConvertToRectRange'](_0x131880,_0x3d352b)['getRangePointData'](_0x10bbf3,_0x4ce44b))==null?{}:_0x1bcaa9;if(_0x3cce8f==null||_0x3cce8f[_0x291665(0x28a)]===0x0)continue;this['_drawRectRange'](_0x1a72b2,_0x3cce8f,_0xcc7156,_0x18acbc);}else{if(!_0x4e8a37){let {borderBoxPointGroup:_0x20081d}=_0x4cc516[_0x291665(0x49b)](_0x10bbf3,_0x4ce44b);if(_0x20081d[_0x291665(0x28a)]===0x0)continue;this[_0x291665(0x1e0)](_0x1a72b2,_0x20081d,_0xcc7156,_0x18acbc);}}}}}[_0x3c49b3(0x1fb)](_0x2b4134,_0x1081d4,_0x3696ee,_0x4d450b,_0x5a7c1c){const _0x4e9b10=_0x3c49b3;let {left:_0x152596,top:_0x16ff8a,height:_0x80387a}=this[_0x4e9b10(0x31f)](_0x1081d4),_0x21594b=1.5/this[_0x4e9b10(0x3a8)](),_0x59a890=new _0x27c640[(_0x4e9b10(0x319))](_0x58958c+(0x0,_0x48a01c['generateRandomId'])(0x6),{'left':_0x152596+_0x3696ee-_0x21594b,'top':_0x16ff8a+_0x4d450b,'height':_0x80387a,'width':1.5,'fill':_0x2b4134||(0x0,_0x27c640[_0x4e9b10(0x36f)])(_0x48a01c[_0x4e9b10(0x268)]['black'],0x0),'strokeWidth':_0x21594b,'stroke':_0x4e9b10(0x3dc),'evented':!0x0});this[_0x4e9b10(0x1e4)]=_0x59a890,this[_0x4e9b10(0x1d2)][_0x4e9b10(0x2db)](_0x59a890,_0x4f84ab['TEXT_RANGE_LAYER_INDEX']);let _0x2be1cc=new _0x27c640[(_0x4e9b10(0x319))](_0x58958c+(0x0,_0x48a01c['generateRandomId'])(0x6),{'left':_0x152596+_0x3696ee-_0x21594b,'top':_0x16ff8a+_0x4d450b-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x2b4134||(0x0,_0x27c640[_0x4e9b10(0x36f)])(_0x48a01c[_0x4e9b10(0x268)][_0x4e9b10(0x412)],0x0),'strokeWidth':0x0,'stroke':_0x2b4134||(0x0,_0x27c640[_0x4e9b10(0x36f)])(_0x48a01c[_0x4e9b10(0x268)][_0x4e9b10(0x412)],0x0),'evented':!0x1});this[_0x4e9b10(0x20b)]=_0x2be1cc,this[_0x4e9b10(0x1d2)]['addObject'](_0x2be1cc,_0x4f84ab[_0x4e9b10(0x402)]);let _0x301cae=new _0x1881f7(_0x58958c+(0x0,_0x48a01c[_0x4e9b10(0x3c6)])(0x6),{'left':_0x152596+_0x3696ee-_0x21594b,'top':_0x16ff8a+_0x4d450b-0x14,'text':_0x5a7c1c,'color':_0x2b4134});this[_0x4e9b10(0x28e)]=_0x301cae,this[_0x4e9b10(0x1d2)][_0x4e9b10(0x2db)](_0x301cae,_0x4f84ab[_0x4e9b10(0x402)]),this[_0x4e9b10(0x257)]=!0x1;}[_0x3c49b3(0x370)](){const _0x559665=_0x3c49b3;let _0x4b7ad8=this[_0x559665(0x1e4)][_0x559665(0x418)][_0x559665(0x366)](()=>{this['_hover']=!0x0;}),_0x5c0e2c=this[_0x559665(0x1e4)][_0x559665(0x3c5)][_0x559665(0x366)](()=>{const _0x1b5662=_0x559665;this[_0x1b5662(0x37e)]&&clearTimeout(this[_0x1b5662(0x37e)]),this[_0x1b5662(0x37e)]=setTimeout(()=>{const _0x101d95=_0x1b5662;this[_0x101d95(0x257)]=!0x1;},0x7d0);});return()=>{_0x4b7ad8['unsubscribe'](),_0x5c0e2c['unsubscribe']();};}[_0x3c49b3(0x1e0)](_0xfffa8f,_0x591da5,_0x54a2f7,_0x410fde){const _0x276b64=_0x3c49b3;let _0x1a0938=0.2,_0x2790e2=new _0x48a01c['ColorKit'](_0xfffa8f)[_0x276b64(0x3d5)](_0x1a0938)[_0x276b64(0x328)](),_0x25a302=new _0x27c640['RegularPolygon'](_0x276b64(0x38d)+(0x0,_0x48a01c[_0x276b64(0x3c6)])(0x6),{'pointsGroup':_0x591da5,'fill':_0x2790e2||(0x0,_0x27c640[_0x276b64(0x36f)])(_0x48a01c[_0x276b64(0x268)]['black'],_0x1a0938),'left':_0x54a2f7,'top':_0x410fde,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x276b64(0x275)][_0x276b64(0x373)](_0x25a302),this['_scene'][_0x276b64(0x2db)](_0x25a302,_0x4f84ab['TEXT_RANGE_LAYER_INDEX']);}[_0x3c49b3(0x3b6)](_0x25b0a5,_0x41a1cd,_0x5a5a1e,_0x372fb0){const _0xb7b5d5=_0x3c49b3;let _0x280b72=0.2,_0x52ffa3=new _0x48a01c['ColorKit'](_0x25b0a5)[_0xb7b5d5(0x3d5)](_0x280b72)[_0xb7b5d5(0x328)](),_0x3726c9=new _0x27c640[(_0xb7b5d5(0x3f6))](_0xb7b5d5(0x1cd)+(0x0,_0x48a01c[_0xb7b5d5(0x3c6)])(0x6),{'pointsGroup':_0x41a1cd,'fill':_0x52ffa3||(0x0,_0x27c640[_0xb7b5d5(0x36f)])(_0x48a01c[_0xb7b5d5(0x268)][_0xb7b5d5(0x412)],_0x280b72),'left':_0x5a5a1e,'top':_0x372fb0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb7b5d5(0x275)][_0xb7b5d5(0x373)](_0x3726c9),this[_0xb7b5d5(0x1d2)]['addObject'](_0x3726c9,_0x4f84ab['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x3fdeb2){let _0x545471=_0x3fdeb2[0x0],_0x3f6031=_0x545471[0x0],_0x50d85d=_0x545471[0x2],{x:_0x56bdd7,y:_0x27e9bc}=_0x3f6031,{x:_0xa67d8f,y:_0x361df6}=_0x50d85d;return{'left':_0x56bdd7,'top':_0x27e9bc,'width':_0xa67d8f-_0x56bdd7,'height':_0x361df6-_0x27e9bc};}['_getScale'](){const _0x3fa748=_0x3c49b3;let {scaleX:_0xddbd48,scaleY:_0x23729d}=this['_scene'][_0x3fa748(0x277)]();return Math[_0x3fa748(0x330)](_0xddbd48,_0x23729d);}};let _0x40baf2=class extends _0x48a01c[_0x3c49b3(0x47f)]{constructor(_0x4abbfa,_0x19ac2e,_0x368c89,_0x6b33ac,_0x39f2a0){const _0x5e5c42=_0x3c49b3;super(),this['_context']=_0x4abbfa,this[_0x5e5c42(0x1f1)]=_0x19ac2e,this[_0x5e5c42(0x271)]=_0x368c89,this[_0x5e5c42(0x294)]=_0x6b33ac,this['_themeService']=_0x39f2a0,_0x4b1ad7(this,'_cursorShapes',[]),_0x4b1ad7(this,_0x5e5c42(0x2a7),[]),this[_0x5e5c42(0x396)]();}[_0x3c49b3(0x396)](){const _0x5158b3=_0x3c49b3;let _0x369a3a=this[_0x5158b3(0x3ea)][_0x5158b3(0x450)],_0x432a3e=this['_docSkeletonManagerService'];this[_0x5158b3(0x2bf)]((0x0,_0x515ebd['combineLatest'])([this[_0x5158b3(0x271)][_0x5158b3(0x2c6)](_0x369a3a),this[_0x5158b3(0x1f7)][_0x5158b3(0x45c)]])[_0x5158b3(0x1d1)]((0x0,_0x278175[_0x5158b3(0x44d)])(([_0xcc0ef3,_0x5b90a6])=>({'skeleton':_0x432a3e[_0x5158b3(0x23f)](),'cursors':[..._0xcc0ef3[_0x5158b3(0x3c1)]()][_0x5158b3(0x31b)](_0x523322=>({..._0x523322,'color':this[_0x5158b3(0x1f7)][_0x5158b3(0x270)](_0x523322[_0x5158b3(0x393)])}))})))['subscribe'](_0x2fbe56=>{const _0x520308=_0x5158b3;if(this[_0x520308(0x47d)](),_0x2fbe56){let {skeleton:_0x709641,cursors:_0x1649dc}=_0x2fbe56;this['_updateCollabCursors'](_0x709641,_0x1649dc);}})),this[_0x5158b3(0x293)](),this['_initCommandExecutedListener']();}[_0x3c49b3(0x3ee)](_0x103070,_0x429bc6){const _0x41f593=_0x3c49b3;let {scene:_0x252662,mainComponent:_0x57d26c}=this[_0x41f593(0x3ea)],_0x13cb08=_0x429bc6['map'](_0x13fb80=>new _0x55ff8f(_0x13fb80,_0x252662,_0x103070,_0x57d26c));this[_0x41f593(0x420)]=_0x13cb08,this[_0x41f593(0x2a7)]=_0x429bc6;}[_0x3c49b3(0x32e)](){const _0x3175d5=_0x3c49b3;this[_0x3175d5(0x47d)]();let {scene:_0x52841f,mainComponent:_0x1ef8fe}=this[_0x3175d5(0x3ea)],_0x31c3cd=this['_docSkeletonManagerService'][_0x3175d5(0x23f)](),_0x5c3699=this[_0x3175d5(0x2a7)]['map'](_0xd729cd=>new _0x55ff8f(_0xd729cd,_0x52841f,_0x31c3cd,_0x1ef8fe));this[_0x3175d5(0x420)]=_0x5c3699;}[_0x3c49b3(0x47d)](){const _0x5989f7=_0x3c49b3;this['_cursorShapes']['forEach'](_0x5365af=>_0x5365af[_0x5989f7(0x21a)]()),this[_0x5989f7(0x420)]=[];}[_0x3c49b3(0x467)](){const _0x1ccb4b=_0x3c49b3;let _0x1c401d=[_0x4f84ab[_0x1ccb4b(0x1ee)]['id']];this[_0x1ccb4b(0x2bf)](this[_0x1ccb4b(0x294)]['onCommandExecuted'](_0x52e183=>{const _0x55521e=_0x1ccb4b;_0x1c401d[_0x55521e(0x3d2)](_0x52e183['id'])&&_0x52e183[_0x55521e(0x358)]['unitId']===this[_0x55521e(0x3ea)][_0x55521e(0x450)]&&this[_0x55521e(0x32e)]();}));}[_0x3c49b3(0x293)](){const _0x58108b=_0x3c49b3;this[_0x58108b(0x2bf)]((0x0,_0x48a01c[_0x58108b(0x341)])(this[_0x58108b(0x3ea)]['engine']['onTransformChange$'])[_0x58108b(0x1d1)]((0x0,_0x278175['filter'])(_0xde224e=>_0xde224e[_0x58108b(0x200)]===_0x27c640[_0x58108b(0x2fc)][_0x58108b(0x495)]),(0x0,_0x278175[_0x58108b(0x2c4)])(0x10))[_0x58108b(0x40e)](()=>{const _0x2cf44f=_0x58108b;this[_0x2cf44f(0x32e)]();}));}};_0x40baf2=_0x5efc3a([_0x459348(0x1,(0x0,_0x48a01c['Inject'])(_0x41429d['DocSkeletonManagerService'])),_0x459348(0x2,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x51ebec)),_0x459348(0x3,_0x48a01c[_0x3c49b3(0x39b)]),_0x459348(0x4,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x48a01c[_0x3c49b3(0x492)]))],_0x40baf2);var _0x5b9b14=class extends _0x27c640[_0x3c49b3(0x27c)]{constructor(_0x46e9c4,_0x2a9d3c){const _0x38cab5=_0x3c49b3;if(super(_0x46e9c4,_0x2a9d3c),_0x4b1ad7(this,_0x38cab5(0x399),void 0x0),_0x4b1ad7(this,'_hovered',!0x1),_0x4b1ad7(this,_0x38cab5(0x415),void 0x0),_0x4b1ad7(this,_0x38cab5(0x1fa),''),_0x4b1ad7(this,'_labelPosition','top'),_0x4b1ad7(this,_0x38cab5(0x45f),void 0x0),_0x4b1ad7(this,'_showText',void 0x0),_0x4b1ad7(this,_0x38cab5(0x445),void 0x0),_0x4b1ad7(this,_0x38cab5(0x1c4),0x4),_0x4b1ad7(this,_0x38cab5(0x3fd),void 0x0),_0x4b1ad7(this,_0x38cab5(0x48e),void 0x0),_0x4b1ad7(this,_0x38cab5(0x34c),!0x0),_0x4b1ad7(this,_0x38cab5(0x42a),0x0),_0x2a9d3c){var _0x2a08bf;if(this['setShapeProps'](_0x2a9d3c),_0x2a9d3c[_0x38cab5(0x2a5)]&&((_0x2a08bf=_0x2a9d3c[_0x38cab5(0x391)])==null?this[_0x38cab5(0x1c4)]:_0x2a08bf)){var _0x1ca1f7;this[_0x38cab5(0x2a0)]((_0x1ca1f7=_0x2a9d3c[_0x38cab5(0x391)])==null?this['_highlightSecond']:_0x1ca1f7);}}this[_0x38cab5(0x418)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x38cab5(0x366)](()=>this[_0x38cab5(0x324)]({'hovered':!0x1}));}[_0x3c49b3(0x3d8)](_0x11f091){this['_offsetY']=_0x11f091;}[_0x3c49b3(0x324)](_0x128b63){const _0x320108=_0x3c49b3;var _0x25cc58,_0x1a3399,_0x31252e,_0x1b3fdb,_0x57e327,_0x4527f1,_0x5001a1;this['_color']=(_0x25cc58=_0x128b63[_0x320108(0x393)])==null?this[_0x320108(0x399)]:_0x25cc58,this[_0x320108(0x301)]=(_0x1a3399=_0x128b63['hovered'])==null?this[_0x320108(0x301)]:_0x1a3399,this['_range']=(_0x31252e=_0x128b63[_0x320108(0x264)])==null?this[_0x320108(0x415)]:_0x31252e,this[_0x320108(0x1fa)]=(_0x1b3fdb=_0x128b63[_0x320108(0x2d0)])==null?this[_0x320108(0x1fa)]:_0x1b3fdb,this[_0x320108(0x250)]=(_0x57e327=_0x128b63[_0x320108(0x389)])==null?this[_0x320108(0x250)]:_0x57e327,this[_0x320108(0x45f)]=(_0x4527f1=_0x128b63[_0x320108(0x490)])==null?this[_0x320108(0x45f)]:_0x4527f1,this[_0x320108(0x2ba)]=(_0x5001a1=_0x128b63[_0x320108(0x203)])==null?this[_0x320108(0x2ba)]:_0x5001a1,_0x128b63['highlightSecond']!==void 0x0&&(this['_highlightSecond']=_0x128b63[_0x320108(0x391)]),_0x128b63[_0x320108(0x2a5)]!==void 0x0&&(this[_0x320108(0x445)]=_0x128b63[_0x320108(0x2a5)]),_0x128b63[_0x320108(0x21b)]!==void 0x0&&(this[_0x320108(0x42a)]=_0x128b63[_0x320108(0x21b)]),this[_0x320108(0x335)]({'width':_0x128b63['width'],'height':_0x128b63[_0x320108(0x1e9)]});}['onMouseMove'](_0x256ae0){const _0xbd24bd=_0x3c49b3;let {row:_0x3f4b6d,column:_0x446912}=_0x256ae0;if(_0x3f4b6d>=this[_0xbd24bd(0x415)]['startRow']&&_0x3f4b6d<=this['_range'][_0xbd24bd(0x353)]&&_0x446912>=this[_0xbd24bd(0x415)][_0xbd24bd(0x470)]&&_0x446912<=this[_0xbd24bd(0x415)][_0xbd24bd(0x3f3)]){this[_0xbd24bd(0x324)]({'hovered':!0x0});return;}this[_0xbd24bd(0x324)]({'hovered':!0x1});}[_0x3c49b3(0x2a0)](_0x1cdbc6){const _0x3a1f46=_0x3c49b3;this[_0x3a1f46(0x3fc)](),this[_0x3a1f46(0x34c)]=!0x0,this[_0x3a1f46(0x48e)]=window[_0x3a1f46(0x1bb)](()=>{const _0x182206=_0x3a1f46;this[_0x182206(0x34c)]=!this['_isBlinkVisible'],this['makeDirty'](!0x0);},0x1f4),this[_0x3a1f46(0x3fd)]=window[_0x3a1f46(0x477)](()=>{const _0x244ba6=_0x3a1f46;this[_0x244ba6(0x3fc)](),this[_0x244ba6(0x34c)]=!0x0,this[_0x244ba6(0x44b)](!0x0);},_0x1cdbc6*0x3e8);}['_stopBlinking'](){const _0x389b00=_0x3c49b3;this['_blinkIntervalTimer']&&(window[_0x389b00(0x2fb)](this['_blinkIntervalTimer']),this['_blinkIntervalTimer']=void 0x0),this[_0x389b00(0x3fd)]&&(window['clearTimeout'](this[_0x389b00(0x3fd)]),this[_0x389b00(0x3fd)]=void 0x0);}[_0x3c49b3(0x261)](_0xaf14c8){return!0x1;}[_0x3c49b3(0x21a)](){const _0x1d6c08=_0x3c49b3;this[_0x1d6c08(0x3fc)](),super[_0x1d6c08(0x21a)]();}[_0x3c49b3(0x1f9)](_0x2dc75f){const _0x287dd9=_0x3c49b3;let _0x5725fe=this[_0x287dd9(0x399)],_0x39652d=this['_backgroundColor'];if(this[_0x287dd9(0x445)]&&!this[_0x287dd9(0x34c)]&&(_0x5725fe=this[_0x287dd9(0x381)](this['_color']),_0x39652d=this[_0x287dd9(0x45f)]?this[_0x287dd9(0x381)](this[_0x287dd9(0x45f)]):void 0x0),_0x27c640[_0x287dd9(0x319)][_0x287dd9(0x1e8)](_0x2dc75f,{'width':this[_0x287dd9(0x473)],'height':this[_0x287dd9(0x1e9)],'strokeWidth':this[_0x287dd9(0x457)]||1.5,'stroke':_0x5725fe,'evented':!0x1,'fill':_0x39652d}),this[_0x287dd9(0x301)]||this['_showText']){var _0x9cb75b;_0x2dc75f[_0x287dd9(0x458)](),_0x2dc75f[_0x287dd9(0x291)](0x1,0x0,0x0,0x1,this['width'],(this['_labelPosition']===_0x287dd9(0x432)?0x0:-0x14)+((_0x9cb75b=this[_0x287dd9(0x42a)])==null?0x0:_0x9cb75b)),_0x1881f7['drawWith'](_0x2dc75f,{'text':this[_0x287dd9(0x1fa)],'color':_0x5725fe}),_0x2dc75f[_0x287dd9(0x483)]();}}[_0x3c49b3(0x381)](_0x1855ec){const _0xca2327=_0x3c49b3;return _0x1855ec['startsWith']('#')?_0xca2327(0x3eb)+Number[_0xca2327(0x292)](_0x1855ec[_0xca2327(0x274)](0x1,0x3),0x10)+',\x20'+Number[_0xca2327(0x292)](_0x1855ec[_0xca2327(0x274)](0x3,0x5),0x10)+',\x20'+Number[_0xca2327(0x292)](_0x1855ec[_0xca2327(0x274)](0x5,0x7),0x10)+',\x200.2)':_0x1855ec[_0xca2327(0x2e6)](_0xca2327(0x3db))?_0x1855ec[_0xca2327(0x283)](/[\d.]+\)$/g,_0xca2327(0x28b)):_0x1855ec['startsWith'](_0xca2327(0x3a2))?_0x1855ec[_0xca2327(0x283)](_0xca2327(0x3a2),_0xca2327(0x3db))[_0xca2327(0x283)](')',_0xca2327(0x244)):_0x1855ec;}};let _0x22cee0=class extends _0x48a01c[_0x3c49b3(0x47f)]{constructor(_0x7385b,_0xc76cd3,_0x2a2f86,_0x407aa0){const _0x132696=_0x3c49b3;super(),this[_0x132696(0x3ea)]=_0x7385b,this[_0x132696(0x454)]=_0xc76cd3,this[_0x132696(0x271)]=_0x2a2f86,this['_themeService']=_0x407aa0,_0x4b1ad7(this,_0x132696(0x2a7),new Set()),_0x4b1ad7(this,_0x132696(0x260),null),this[_0x132696(0x396)]();}[_0x3c49b3(0x396)](){const _0x14e453=_0x3c49b3;this[_0x14e453(0x454)][_0x14e453(0x497)][_0x14e453(0x1d1)]((0x0,_0x278175[_0x14e453(0x417)])(this[_0x14e453(0x286)]),(0x0,_0x278175[_0x14e453(0x386)])(_0x5450a1=>{const _0x4046dd=_0x14e453;if(_0x5450a1){let _0x2ce50f=_0x5450a1['sheetId'];return(0x0,_0x515ebd['combineLatest'])(this[_0x4046dd(0x271)][_0x4046dd(0x2c6)](this[_0x4046dd(0x3ea)]['unitId']),this[_0x4046dd(0x1f7)][_0x4046dd(0x45c)])[_0x4046dd(0x1d1)]((0x0,_0x278175[_0x4046dd(0x44d)])(([_0x1dcf03,_0x108d09])=>{const _0x2f640b=_0x4046dd;let _0x138ba7=new Map();return _0x1dcf03[_0x2f640b(0x41e)]((_0x41abc2,_0x188603)=>{const _0xe00c36=_0x2f640b;if(_0x41abc2['sheetID']===_0x2ce50f){let _0x253a79={..._0x41abc2};_0x253a79[_0xe00c36(0x393)]=this['_themeService'][_0xe00c36(0x270)](_0x41abc2[_0xe00c36(0x393)]),_0x138ba7[_0xe00c36(0x1cb)](_0x188603,_0x253a79);}}),{'skeleton':_0x5450a1,'cursors':_0x138ba7};}));}return(0x0,_0x515ebd['of'])({'skeleton':null,'cursors':new Map()});}))[_0x14e453(0x40e)](({skeleton:_0x5819a3,cursors:_0x3f7766})=>{const _0x426ce8=_0x14e453;this[_0x426ce8(0x47d)](),_0x5819a3&&this[_0x426ce8(0x3ee)](_0x5819a3,_0x3f7766);}),this[_0x14e453(0x454)][_0x14e453(0x497)]['subscribe'](_0x224d1b=>{const _0x50a1cd=_0x14e453;if(_0x224d1b==null)return;let {skeleton:_0xb35064}=_0x224d1b,{scene:_0xfdb2ee}=this[_0x50a1cd(0x3ea)];_0xfdb2ee[_0x50a1cd(0x30b)][_0x50a1cd(0x366)]((0x0,_0x48a01c['debounce'])(_0x2c064a=>{const _0x38cb45=_0x50a1cd;var _0x353a41,_0x5e03d1;let {offsetX:_0x3c2243,offsetY:_0x2a30cf}=_0x2c064a,{x:_0x58a699,y:_0x26f684}=_0xfdb2ee[_0x38cb45(0x2d3)](_0x27c640[_0x38cb45(0x423)][_0x38cb45(0x245)]([_0x3c2243,_0x2a30cf])),{scaleX:_0x485220,scaleY:_0x50e7f7}=_0xfdb2ee[_0x38cb45(0x277)](),_0x51be3d=_0xfdb2ee[_0x38cb45(0x355)](_0x27c640[_0x38cb45(0x411)]['VIEW_MAIN']),_0x5f0128=_0xfdb2ee[_0x38cb45(0x326)](_0x27c640[_0x38cb45(0x423)][_0x38cb45(0x245)]([_0x58a699,_0x26f684]),_0x51be3d),_0x3b2047=_0xb35064[_0x38cb45(0x2af)](_0x3c2243,_0x2a30cf,_0x485220,_0x50e7f7,_0x5f0128);((_0x353a41=this[_0x38cb45(0x260)])==null?void 0x0:_0x353a41[_0x38cb45(0x3c8)])===_0x3b2047[_0x38cb45(0x3c8)]&&((_0x5e03d1=this[_0x38cb45(0x260)])==null?void 0x0:_0x5e03d1['row'])===_0x3b2047[_0x38cb45(0x276)]||this[_0x38cb45(0x2a7)][_0x38cb45(0x41e)](_0x1e069a=>{const _0x5c5b14=_0x38cb45;_0x1e069a[_0x5c5b14(0x246)](_0x3b2047);});},0x64));});}[_0x3c49b3(0x3ee)](_0x4768d8,_0x1f8a7f){const _0x50ecb9=_0x3c49b3;let _0x44f526=this[_0x50ecb9(0x454)]['getCurrentSkeleton']();if(!_0x44f526)return;let _0x1a1d58=this[_0x50ecb9(0x309)]();if(!_0x1a1d58)return;this[_0x50ecb9(0x2a7)][_0x50ecb9(0x41e)](_0x3933e6=>{_0x3933e6['makeDirty']();});let {scene:_0x148530}=_0x1a1d58,_0x420b0b=_0x50b874(Array['from'](_0x1f8a7f[_0x50ecb9(0x3c1)]()))[_0x50ecb9(0x44d)](_0x4bbe6b=>{const _0x2d4a1e=_0x50ecb9;let {color:_0x2c9188,range:_0x5ec667,name:_0x1fc7e1,selection:_0x16f474,sheetID:_0x49ce88}=_0x4bbe6b,{startColumn:_0x4c327d,startRow:_0x242a29,endColumn:_0x462a0d,endRow:_0x228c98}=_0x5ec667,_0x4e909c=(0x0,_0x30aaa7[_0x2d4a1e(0x28f)])(_0x242a29,_0x4c327d,_0x148530,_0x44f526),_0x1f916d=(0x0,_0x30aaa7[_0x2d4a1e(0x28f)])(_0x228c98,_0x462a0d,_0x148530,_0x44f526),{columnHeaderHeightAndMarginTop:_0x598f60}=_0x44f526,{startX:_0x578079,startY:_0xa6066d}=_0x4e909c,{endX:_0xf7c76a,endY:_0x363daf}=_0x1f916d,_0x2be3ea=_0xf7c76a-_0x578079,_0x5f4dbe=_0x363daf-_0xa6066d;return new _0x5b9b14(_0x1fc7e1,{'labelPosition':_0xa6066d-_0x598f60>=0x14?_0x2d4a1e(0x23c):_0x2d4a1e(0x432),'sheetID':_0x49ce88,'range':_0x5ec667,'color':_0x2c9188,'name':_0x1fc7e1,'selection':_0x16f474,'left':_0x578079,'top':_0xa6066d,'width':_0x2be3ea,'height':_0x5f4dbe,'evented':!0x1,'zIndex':0x1389});});_0x148530[_0x50ecb9(0x2b9)](_0x420b0b,0x1),this[_0x50ecb9(0x2a7)]=new Set(_0x420b0b);}[_0x3c49b3(0x47d)](){var _0x5b07be;(_0x5b07be=this['_cursors'])==null||_0x5b07be['forEach'](_0x1ff915=>_0x1ff915['dispose']());}[_0x3c49b3(0x309)](){const _0x3f6fe9=_0x3c49b3;return(0x0,_0x30aaa7['getSheetObject'])(this[_0x3f6fe9(0x3ea)][_0x3f6fe9(0x4a8)],this['_context']);}};_0x22cee0=_0x5efc3a([_0x459348(0x1,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x30aaa7['SheetSkeletonManagerService'])),_0x459348(0x2,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x51ebec)),_0x459348(0x3,(0x0,_0x48a01c['Inject'])(_0x48a01c['ThemeService']))],_0x22cee0);function _0x50b874(_0x5ace87){const _0xa6fea6=_0x3c49b3;let _0x5c1e58=new Map();return _0x5ace87['forEach'](_0xa07aa3=>{const _0x34361d=_0x33fc;if(_0x5c1e58[_0x34361d(0x209)](_0xa07aa3[_0x34361d(0x2e7)])){let _0x4b951b=_0x5c1e58[_0x34361d(0x284)](_0xa07aa3[_0x34361d(0x2e7)]);_0x4b951b['name']+=',\x20'+_0xa07aa3['name'];}else _0x5c1e58[_0x34361d(0x1cb)](_0xa07aa3[_0x34361d(0x2e7)],_0xa07aa3);}),Array[_0xa6fea6(0x437)](_0x5c1e58[_0xa6fea6(0x3c1)]());}let _0x573125=class extends _0x48a01c[_0x3c49b3(0x1dc)]{constructor(_0x421eea,_0x2c9532,_0x358347,_0x3fd8a8,_0x409d08,_0xe0cc24){const _0x58ebeb=_0x3c49b3;super(),this['_beforeCloseService']=_0x421eea,this['_localCacheService']=_0x2c9532,this[_0x58ebeb(0x3da)]=_0x358347,this[_0x58ebeb(0x478)]=_0x3fd8a8,this[_0x58ebeb(0x480)]=_0x409d08,this[_0x58ebeb(0x2ee)]=_0xe0cc24,this[_0x58ebeb(0x2d4)](),this[_0x58ebeb(0x466)]();}[_0x3c49b3(0x2d4)](){const _0x33164c=_0x3c49b3;this[_0x33164c(0x2bf)](this[_0x33164c(0x252)][_0x33164c(0x254)](()=>{const _0x3dfd46=_0x33164c;if(this['_localCacheService'][_0x3dfd46(0x3be)][_0x3dfd46(0x1f0)])return this[_0x3dfd46(0x2ee)]['t'](_0x3dfd46(0x2e9));}));}['_initEvent'](){const _0x3867fb=_0x3c49b3;this[_0x3867fb(0x2bf)](this[_0x3867fb(0x3da)][_0x3867fb(0x1f8)]['subscribe'](_0x35cd6b=>{const _0xdb9d09=_0x3867fb;_0x35cd6b['id']===_0x43fc47[_0xdb9d09(0x299)][_0xdb9d09(0x1ec)]&&this[_0xdb9d09(0x478)][_0xdb9d09(0x48c)]({'type':_0x2c2150[_0xdb9d09(0x47a)][_0xdb9d09(0x4a2)],'content':this[_0xdb9d09(0x2ee)]['t'](_0xdb9d09(0x3c9))}),_0x35cd6b['id']===_0x43fc47['CollaborationUIEventId'][_0xdb9d09(0x1df)]&&this[_0xdb9d09(0x478)]['show']({'type':_0x2c2150[_0xdb9d09(0x47a)][_0xdb9d09(0x4a2)],'content':this['_localeService']['t'](_0xdb9d09(0x31a))}),_0x35cd6b['id']===_0x43fc47[_0xdb9d09(0x299)][_0xdb9d09(0x3d1)]&&this[_0xdb9d09(0x480)][_0xdb9d09(0x48c)]({'title':this[_0xdb9d09(0x2ee)]['t']('permission.title'),'content':this['_localeService']['t'](_0xdb9d09(0x30e)),'type':_0xdb9d09(0x3ec),'duration':0x0}),_0x35cd6b['id']===_0x43fc47['CollaborationUIEventId'][_0xdb9d09(0x36e)]&&this[_0xdb9d09(0x478)]['show']({'type':_0x2c2150['MessageType']['Error'],'content':this[_0xdb9d09(0x2ee)]['t'](_0xdb9d09(0x31a))+'('+_0x35cd6b[_0xdb9d09(0x23b)]+')'}),_0x35cd6b['id']===_0x43fc47[_0xdb9d09(0x299)][_0xdb9d09(0x3e5)]&&this[_0xdb9d09(0x478)][_0xdb9d09(0x48c)]({'type':_0x2c2150[_0xdb9d09(0x47a)][_0xdb9d09(0x4a2)],'content':this[_0xdb9d09(0x2ee)]['t'](_0x35cd6b[_0xdb9d09(0x23b)]||'')}),_0x35cd6b['id']===_0x43fc47[_0xdb9d09(0x299)][_0xdb9d09(0x339)]&&this[_0xdb9d09(0x478)][_0xdb9d09(0x48c)]({'type':_0x2c2150[_0xdb9d09(0x47a)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x35cd6b['id']===_0x43fc47[_0xdb9d09(0x299)][_0xdb9d09(0x290)]&&this[_0xdb9d09(0x478)][_0xdb9d09(0x48c)]({'type':_0x2c2150['MessageType']['Error'],'content':this[_0xdb9d09(0x2ee)]['t'](_0xdb9d09(0x3d4))}),_0x35cd6b['id']===_0x43fc47['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x2c2150['MessageType'][_0xdb9d09(0x1f6)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x573125=_0x5efc3a([_0x459348(0x0,_0x10867e[_0x3c49b3(0x30c)]),_0x459348(0x1,_0x43fc47['ILocalCacheService']),_0x459348(0x2,(0x0,_0x48a01c['Inject'])(_0x43fc47[_0x3c49b3(0x22a)])),_0x459348(0x3,_0x10867e[_0x3c49b3(0x36a)]),_0x459348(0x4,_0x10867e[_0x3c49b3(0x3a3)]),_0x459348(0x5,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x48a01c[_0x3c49b3(0x409)]))],_0x573125);let _0x3882be=_0x3c49b3(0x1ff);Symbol(_0x3882be);let _0x4eadeb={},_0x72885d=class{constructor(_0x382e69,_0x556213){const _0x1a2f5d=_0x3c49b3;this[_0x1a2f5d(0x231)]=_0x382e69,this[_0x1a2f5d(0x2be)]=_0x556213;}[_0x3c49b3(0x3c0)](_0xaf05e1){const _0xb12787=_0x3c49b3;this[_0xb12787(0x404)](_0xaf05e1),this['_transformPreviousActiveRange'](_0xaf05e1);}[_0x3c49b3(0x32a)](_0x423c8c){const _0x3d121c=_0x3c49b3;let {unitID:_0x841658}=_0x423c8c,{redoCache:_0x1a61ec}=this['_renderManagerService'][_0x3d121c(0x422)](_0x841658)[_0x3d121c(0x3f4)](_0x4f84ab['DocIMEInputManagerService'])['getUndoRedoMutationParamsCache']();if(_0x1a61ec[_0x3d121c(0x28a)]===0x0)return _0x423c8c;let _0x2a9156=_0x48a01c['Tools']['deepClone'](_0x423c8c[_0x3d121c(0x39f)][0x0]);for(let _0x120001=0x0;_0x120001<_0x1a61ec[_0x3d121c(0x28a)];_0x120001++){let _0x5cc22e={'id':_0x3d121c(0x48b),'params':{..._0x1a61ec[_0x120001]}},_0x4b2ebd=this[_0x3d121c(0x231)][_0x3d121c(0x46c)](_0x2a9156,_0x5cc22e,!0x1);if((0x0,_0x4e304d[_0x3d121c(0x426)])(_0x4b2ebd))throw _0x4b2ebd[_0x3d121c(0x3ec)];_0x2a9156=_0x4b2ebd[_0x3d121c(0x213)];}return{..._0x48a01c[_0x3d121c(0x40d)][_0x3d121c(0x49a)](_0x423c8c),'mutations':[_0x2a9156]};}['_transformUndoRedoStack'](_0x28b294){const _0x4635c9=_0x3c49b3;let {unitID:_0x267317}=_0x28b294,_0x26fb84=this[_0x4635c9(0x2be)][_0x4635c9(0x422)](_0x267317)[_0x4635c9(0x3f4)](_0x4f84ab[_0x4635c9(0x1eb)]),{undoCache:_0x5a4fc2,redoCache:_0x5457c5}=_0x26fb84[_0x4635c9(0x1bd)]();if(_0x5a4fc2[_0x4635c9(0x28a)]===0x0||_0x5457c5[_0x4635c9(0x28a)]===0x0)return;let _0x3837a8=[],_0x344d73=[],_0x3c3e8b=_0x48a01c[_0x4635c9(0x40d)][_0x4635c9(0x49a)](_0x28b294['mutations'][0x0]),_0x21fa51=_0x48a01c[_0x4635c9(0x40d)][_0x4635c9(0x49a)](_0x28b294[_0x4635c9(0x39f)][0x0]);for(let _0x203c4e=_0x5a4fc2['length']-0x1;_0x203c4e>=0x0;_0x203c4e--){let _0x55e123={'id':_0x4635c9(0x48b),'params':{..._0x5a4fc2[_0x203c4e]}},_0x4ff30f={'id':'doc.mutation.rich-text-editing','params':{..._0x5457c5[_0x203c4e]}},_0x25afe2=this[_0x4635c9(0x231)][_0x4635c9(0x46c)](_0x3c3e8b,_0x55e123,!0x1),_0xee0aaa=this['_transformService'][_0x4635c9(0x46c)](_0x21fa51,_0x4ff30f,!0x1);if((0x0,_0x4e304d['isTransformMutationFailure'])(_0x25afe2))throw _0x25afe2[_0x4635c9(0x3ec)];if((0x0,_0x4e304d[_0x4635c9(0x426)])(_0xee0aaa))throw _0xee0aaa['error'];_0x3837a8['unshift'](_0x25afe2[_0x4635c9(0x42c)][_0x4635c9(0x358)]),_0x344d73[_0x4635c9(0x242)](_0xee0aaa[_0x4635c9(0x42c)][_0x4635c9(0x358)]),_0x3c3e8b=_0x25afe2['m1Prime'],_0x21fa51=_0xee0aaa[_0x4635c9(0x213)];}_0x26fb84[_0x4635c9(0x2f6)]({'undoCache':_0x3837a8,'redoCache':_0x344d73});}[_0x3c49b3(0x234)](_0x563b1e){const _0x2b88a6=_0x3c49b3;let {unitID:_0x283601}=_0x563b1e,_0x2e1ac7=this[_0x2b88a6(0x2be)][_0x2b88a6(0x422)](_0x283601)[_0x2b88a6(0x3f4)](_0x4f84ab[_0x2b88a6(0x1eb)]),_0x3dff8f=_0x2e1ac7[_0x2b88a6(0x318)]();if(_0x3dff8f==null)return;let _0x2e5c5f=[{'id':_0x2b88a6(0x48b),'params':{'unitId':_0x563b1e[_0x2b88a6(0x22d)],'actions':null,'textRanges':[_0x3dff8f]}}],_0x725ded=this[_0x2b88a6(0x231)]['transformMutationsWithChangeset'](_0x563b1e,_0x2e5c5f);if(!(0x0,_0x4e304d[_0x2b88a6(0x2d6)])(_0x725ded))throw _0x725ded[_0x2b88a6(0x3ec)];let _0x3a4596=_0x725ded[_0x2b88a6(0x42c)][0x0][_0x2b88a6(0x358)][_0x2b88a6(0x25a)];Array['isArray'](_0x3a4596)&&_0x3a4596['length']&&_0x2e1ac7[_0x2b88a6(0x475)](_0x3a4596[0x0]);}};_0x72885d=_0x5efc3a([_0x459348(0x0,_0x4e304d[_0x3c49b3(0x1fd)]),_0x459348(0x1,_0x27c640['IRenderManagerService'])],_0x72885d);let _0x47cfa5=class{constructor(_0x33b8ec,_0x2ba89c,_0x26e558){const _0x286dd5=_0x3c49b3;this[_0x286dd5(0x2b7)]=_0x33b8ec,this[_0x286dd5(0x231)]=_0x2ba89c,this[_0x286dd5(0x49c)]=_0x26e558;}[_0x3c49b3(0x3e0)](_0x4fd704){this['_transformHistoryAndStateStack'](_0x4fd704);}['transformRemoteChangeset'](_0x2cb488){const _0x5e2596=_0x3c49b3;let {unitID:_0x531a77}=_0x2cb488,{collaboration:_0x5e6e22}=this['_docStateChangeManagerService'][_0x5e2596(0x1bc)](_0x531a77);if(_0x5e6e22[_0x5e2596(0x28a)]===0x0)return _0x2cb488;let _0x44088d=_0x48a01c['Tools'][_0x5e2596(0x49a)](_0x2cb488[_0x5e2596(0x39f)][0x0]);for(let _0x320a7e=0x0;_0x320a7e<_0x5e6e22[_0x5e2596(0x28a)];_0x320a7e++){let _0x3595b5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e6e22[_0x320a7e]['unitId'],..._0x5e6e22[_0x320a7e]['redoState']}},_0x15da6c=this['_transformService']['transformMutation'](_0x44088d,_0x3595b5,!0x1);if((0x0,_0x4e304d[_0x5e2596(0x426)])(_0x15da6c))throw _0x15da6c['error'];_0x44088d=_0x15da6c[_0x5e2596(0x213)];}return{..._0x48a01c[_0x5e2596(0x40d)][_0x5e2596(0x49a)](_0x2cb488),'mutations':[_0x44088d]};}[_0x3c49b3(0x265)](_0x1f85d1){const _0x5b732f=_0x3c49b3;let {unitID:_0xabdd1f}=_0x1f85d1,{history:_0x1cdbbf,collaboration:_0x55b714}=this[_0x5b732f(0x49c)][_0x5b732f(0x1bc)](_0xabdd1f);if(_0x1cdbbf[_0x5b732f(0x28a)]===0x0&&_0x55b714[_0x5b732f(0x28a)]===0x0)return;let _0x3cdc4b=[],_0x136665=[],_0x402f81=_0x48a01c[_0x5b732f(0x40d)][_0x5b732f(0x49a)](_0x1f85d1['mutations'][0x0]),_0x445b84=_0x48a01c[_0x5b732f(0x40d)][_0x5b732f(0x49a)](_0x1f85d1[_0x5b732f(0x39f)][0x0]);for(let _0x497571=_0x1cdbbf['length']-0x1;_0x497571>=0x0;_0x497571--){let _0x12785a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cdbbf[_0x497571][_0x5b732f(0x450)],..._0x1cdbbf[_0x497571]['undoState']}},_0xfde5ea={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cdbbf[_0x497571][_0x5b732f(0x450)],..._0x1cdbbf[_0x497571]['redoState']}},_0x52643a=this[_0x5b732f(0x231)][_0x5b732f(0x46c)](_0x402f81,_0x12785a,!0x1),_0x54fc52=this[_0x5b732f(0x231)][_0x5b732f(0x46c)](_0x445b84,_0xfde5ea,!0x1);if((0x0,_0x4e304d[_0x5b732f(0x426)])(_0x52643a))throw _0x52643a['error'];if((0x0,_0x4e304d[_0x5b732f(0x426)])(_0x54fc52))throw _0x54fc52['error'];_0x3cdc4b['unshift']({..._0x1cdbbf[_0x497571],'undoState':_0x52643a[_0x5b732f(0x42c)][_0x5b732f(0x358)],'redoState':_0x54fc52[_0x5b732f(0x42c)]['params']}),_0x402f81=_0x52643a['m1Prime'],_0x445b84=_0x54fc52[_0x5b732f(0x213)];}_0x402f81=_0x48a01c[_0x5b732f(0x40d)][_0x5b732f(0x49a)](_0x1f85d1[_0x5b732f(0x39f)][0x0]),_0x445b84=_0x48a01c[_0x5b732f(0x40d)][_0x5b732f(0x49a)](_0x1f85d1[_0x5b732f(0x39f)][0x0]);for(let _0xc8e630=_0x55b714['length']-0x1;_0xc8e630>=0x0;_0xc8e630--){let _0x19ab8f={'id':_0x5b732f(0x48b),'params':{'unitId':_0x55b714[_0xc8e630][_0x5b732f(0x450)],..._0x55b714[_0xc8e630]['undoState']}},_0x43e892={'id':_0x5b732f(0x48b),'params':{'unitId':_0x55b714[_0xc8e630][_0x5b732f(0x450)],..._0x55b714[_0xc8e630][_0x5b732f(0x421)]}},_0x42a2eb=this['_transformService'][_0x5b732f(0x46c)](_0x402f81,_0x19ab8f,!0x1),_0x3fe57c=this[_0x5b732f(0x231)]['transformMutation'](_0x445b84,_0x43e892,!0x1);if((0x0,_0x4e304d['isTransformMutationFailure'])(_0x42a2eb))throw _0x42a2eb['error'];if((0x0,_0x4e304d[_0x5b732f(0x426)])(_0x3fe57c))throw _0x3fe57c[_0x5b732f(0x3ec)];_0x136665[_0x5b732f(0x242)]({..._0x55b714[_0xc8e630],'undoState':_0x42a2eb[_0x5b732f(0x42c)]['params'],'redoState':_0x3fe57c[_0x5b732f(0x42c)][_0x5b732f(0x358)]}),_0x402f81=_0x42a2eb[_0x5b732f(0x213)],_0x445b84=_0x3fe57c[_0x5b732f(0x213)];}this[_0x5b732f(0x49c)][_0x5b732f(0x377)](_0xabdd1f,{'history':_0x3cdc4b,'collaboration':_0x136665});}};_0x47cfa5=_0x5efc3a([_0x459348(0x0,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x48a01c[_0x3c49b3(0x3a1)])),_0x459348(0x1,_0x4e304d[_0x3c49b3(0x1fd)]),_0x459348(0x2,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x4f84ab[_0x3c49b3(0x33a)]))],_0x47cfa5);let _0x4dac2a=class{constructor(_0x423e98,_0x5ea702){const _0x47a028=_0x3c49b3;this[_0x47a028(0x2b7)]=_0x423e98,this['_transformService']=_0x5ea702;}[_0x3c49b3(0x424)](_0xb44824){const _0x479065=_0x3c49b3;var _0x3971ec;let _0x470228=this[_0x479065(0x2b7)][_0x479065(0x284)](_0x41429d[_0x479065(0x479)]),_0x4fa594=(_0x3971ec=_0x470228['getDocRanges']())==null?[]:_0x3971ec;if(_0x4fa594['length']===0x0)return;let _0x432e6b=_0xb44824[_0x479065(0x22d)],_0x439588=[{'id':_0x479065(0x48b),'params':{'unitId':_0x432e6b,'actions':null,'textRanges':_0x4fa594}}],_0x59e973=this[_0x479065(0x231)]['transformMutationsWithChangeset'](_0xb44824,_0x439588);if(!(0x0,_0x4e304d[_0x479065(0x2d6)])(_0x59e973))throw _0x59e973[_0x479065(0x3ec)];let _0x3e8923=_0x59e973[_0x479065(0x42c)][0x0][_0x479065(0x358)][_0x479065(0x25a)];Array['isArray'](_0x3e8923)&&_0x3e8923['length']&&_0x470228[_0x479065(0x202)](_0x3e8923,{'unitId':_0x432e6b,'subUnitId':_0x432e6b},!0x1);}};_0x4dac2a=_0x5efc3a([_0x459348(0x0,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x48a01c['Injector'])),_0x459348(0x1,_0x4e304d[_0x3c49b3(0x1fd)])],_0x4dac2a);let _0x3ba236=class extends _0x48a01c['Disposable']{constructor(_0x2266d3,_0x185282,_0x9b6b74,_0x25e6f0,_0x333b59,_0x244183,_0x33b2d1,_0x367998){const _0x3239f9=_0x3c49b3;super(),this[_0x3239f9(0x49c)]=_0x2266d3,this[_0x3239f9(0x398)]=_0x185282,this['_docTransformIMECacheService']=_0x9b6b74,this[_0x3239f9(0x1c7)]=_0x25e6f0,this['_docTransformSelectionsService']=_0x333b59,this['_docSyncEditingCollabCursorService']=_0x244183,this[_0x3239f9(0x478)]=_0x33b2d1,this[_0x3239f9(0x2ee)]=_0x367998,_0x4b1ad7(this,'_status$',new _0x515ebd[(_0x3239f9(0x406))](_0x43fc47['CollaborationStatus'][_0x3239f9(0x403)])),this[_0x3239f9(0x310)]();}[_0x3c49b3(0x310)](){const _0xd501fe=_0x3c49b3;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0xd501fe(0x40e)](_0x264367=>{const _0x509454=_0xd501fe;let _0x2b3a7b=this['_docStateChangeManagerService'][_0x509454(0x30f)][_0x509454(0x40e)](_0x15634f=>{const _0x1580d6=_0x509454;if(_0x15634f==null)return;let {unitId:_0x2fe49a,redoState:_0x545a7c,commandId:_0x27c951}=_0x15634f;if(_0x2fe49a!==_0x264367[_0x1580d6(0x22d)])return;let _0x1d9b4e={'id':_0x27c951,'type':_0x48a01c[_0x1580d6(0x1fe)][_0x1580d6(0x2d5)],'params':{'unitId':_0x2fe49a,'actions':_0x545a7c[_0x1580d6(0x2e3)],'textRanges':null}};_0x264367[_0x1580d6(0x219)](_0x1d9b4e);});_0x264367['disposeWithMe'](_0x2b3a7b),_0x264367 instanceof _0x43fc47[_0x509454(0x240)]&&_0x264367['addHandlerCallback']({'onTransformIME':_0x793b0e=>this[_0x509454(0x321)][_0x509454(0x3c0)](_0x793b0e),'onTransformState':_0x42c02b=>this[_0x509454(0x1c7)][_0x509454(0x3e0)](_0x42c02b),'onTransformSelections':_0x4320a6=>this[_0x509454(0x385)]['transformSelections'](_0x4320a6),'onSyncEditingCollabCursor':_0x537312=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x537312),'onTransformRemoteChangesetByIMECache':_0x175dd4=>this[_0x509454(0x321)]['transformRemoteChangeset'](_0x175dd4),'onTransformRemoteChangesetByStateCache':_0x487fae=>this[_0x509454(0x1c7)][_0x509454(0x32a)](_0x487fae)});}));}};_0x3ba236=_0x5efc3a([_0x459348(0x0,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x4f84ab['DocStateChangeManagerService'])),_0x459348(0x1,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x43fc47[_0x3c49b3(0x300)])),_0x459348(0x2,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x72885d)),_0x459348(0x3,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x47cfa5)),_0x459348(0x4,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x4dac2a)),_0x459348(0x5,(0x0,_0x48a01c['Inject'])(_0x3a71aa)),_0x459348(0x6,_0x10867e['IMessageService']),_0x459348(0x7,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x48a01c['LocaleService']))],_0x3ba236);let _0x4625d6=class extends _0x48a01c[_0x3c49b3(0x1dc)]{constructor(_0x552546,_0x4a2a58,_0x211988,_0x2c00e7){const _0x33a76b=_0x3c49b3;super(),this['_injector']=_0x552546,this[_0x33a76b(0x25b)]=_0x4a2a58,this[_0x33a76b(0x2c1)]=_0x211988,this[_0x33a76b(0x26d)]=_0x2c00e7,_0x4b1ad7(this,'_memberID',void 0x0),this['_init']();}[_0x3c49b3(0x396)](){const _0x3c15c3=_0x3c49b3;this[_0x3c15c3(0x303)](),this['_initUnhandledRejectionListener'](),this[_0x3c15c3(0x462)](),this[_0x3c15c3(0x287)]();}[_0x3c49b3(0x287)](){const _0x1102f4=_0x3c49b3;this[_0x1102f4(0x2bf)](this[_0x1102f4(0x26d)][_0x1102f4(0x29e)][_0x1102f4(0x40e)](_0x4dc3dd=>{const _0x1bb46e=_0x1102f4;this[_0x1bb46e(0x3ac)]=_0x4dc3dd==null?void 0x0:_0x4dc3dd[_0x1bb46e(0x3bb)];}));}[_0x3c49b3(0x303)](){const _0x43c5d4=_0x3c49b3;let _0x26d13b=_0x317ef9=>{const _0x48de6d=_0x33fc;var _0x132b7e;this['_uploadLog'](_0x48de6d(0x3ec),_0x48de6d(0x259)+_0x317ef9['message']+_0x48de6d(0x47e)+_0x317ef9[_0x48de6d(0x3b7)]+':'+_0x317ef9[_0x48de6d(0x493)]+':'+_0x317ef9[_0x48de6d(0x33c)]+'\x0a'+(((_0x132b7e=_0x317ef9[_0x48de6d(0x3ec)])==null?void 0x0:_0x132b7e[_0x48de6d(0x3ae)])||''));};window[_0x43c5d4(0x2ec)](_0x43c5d4(0x3ec),_0x26d13b),this[_0x43c5d4(0x2bf)](()=>{const _0x51288d=_0x43c5d4;window[_0x51288d(0x317)](_0x51288d(0x3ec),_0x26d13b);});}[_0x3c49b3(0x308)](){const _0x5f037c=_0x3c49b3;let _0x30afa5=_0x45f14e=>{const _0x4d9e7f=_0x33fc;this[_0x4d9e7f(0x288)]('error','[Unhandled\x20Rejection]:\x20'+_0x45f14e[_0x4d9e7f(0x431)]);};window[_0x5f037c(0x2ec)]('unhandledrejection',_0x30afa5),this[_0x5f037c(0x2bf)](()=>{const _0x4b10d2=_0x5f037c;window[_0x4b10d2(0x317)](_0x4b10d2(0x24e),_0x30afa5);});}[_0x3c49b3(0x462)](){const _0x1ccc44=_0x3c49b3;let _0x11aedc=this[_0x1ccc44(0x2c1)]['error'][_0x1ccc44(0x38f)](this['_logService']);this[_0x1ccc44(0x2c1)][_0x1ccc44(0x3ec)]=(..._0x5f49dd)=>{const _0x423055=_0x1ccc44;let _0x4eba72=_0x5f49dd[_0x423055(0x44d)](_0x278699=>_0x278699 instanceof Error?_0x278699[_0x423055(0x248)]+'\x0a'+_0x278699[_0x423055(0x3ae)]:String(_0x278699))[_0x423055(0x2e2)]('\x20');this['_uploadLog'](_0x423055(0x3ec),_0x423055(0x49f)+_0x4eba72),_0x11aedc(..._0x5f49dd);},this['disposeWithMe'](()=>{const _0x218a14=_0x1ccc44;this['_logService'][_0x218a14(0x3ec)]=_0x11aedc;});}[_0x3c49b3(0x288)](_0x4e8f2e,_0x4c135c){const _0x53a5db=_0x3c49b3;try{let _0x422ebf={'userId':this[_0x53a5db(0x3ac)],'logLabel':_0x4e8f2e,'content':_0x4c135c};this['_httpService'][_0x53a5db(0x35e)](_0x53a5db(0x3e2),{'body':_0x422ebf})['catch'](()=>{});}catch{}}};_0x4625d6=_0x5efc3a([_0x459348(0x0,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x48a01c[_0x3c49b3(0x3a1)])),_0x459348(0x1,(0x0,_0x48a01c['Inject'])(_0x2a8a9d[_0x3c49b3(0x2d7)])),_0x459348(0x2,_0x48a01c[_0x3c49b3(0x2df)]),_0x459348(0x3,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x43fc47[_0x3c49b3(0x1da)]))],_0x4625d6);function _0x4e7cfb(_0x5e16ea){const _0x8a8c7c=_0x3c49b3;var _0x5a332c,_0x4d1e5d;let _0x40eb87=(_0x5a332c=_0x5e16ea[_0x8a8c7c(0x3f1)])==null?void 0x0:_0x5a332c[_0x8a8c7c(0x337)],_0x2f0eba=((_0x4d1e5d=_0x5e16ea['stageInfo'])==null?void 0x0:_0x4d1e5d['totalFormulasToCalculate'])||0x0;return _0x40eb87===_0xa1659d[_0x8a8c7c(0x35b)][_0x8a8c7c(0x1ea)]&&_0x2f0eba>0x0;}function _0x15b3ac(_0x461115){const _0x54f260=_0x3c49b3;return _0x461115['functionsExecutedState']===_0xa1659d[_0x54f260(0x223)][_0x54f260(0x3ce)];}let _0x1242f1=class extends _0x48a01c[_0x3c49b3(0x1dc)]{constructor(_0x5b5322,_0xbbf10c,_0x5563f4,_0x1c4196,_0x3f2da0,_0xfba584,_0x535b3f){const _0x436bd8=_0x3c49b3;super(),this[_0x436bd8(0x478)]=_0x5b5322,this[_0x436bd8(0x294)]=_0xbbf10c,this[_0x436bd8(0x221)]=_0x5563f4,this[_0x436bd8(0x25b)]=_0x1c4196,this[_0x436bd8(0x4a1)]=_0x3f2da0,this[_0x436bd8(0x2c1)]=_0xfba584,this['_localeService']=_0x535b3f,_0x4b1ad7(this,_0x436bd8(0x374),null),_0x4b1ad7(this,_0x436bd8(0x311),0x0),_0x4b1ad7(this,_0x436bd8(0x22f),0x0),_0x4b1ad7(this,_0x436bd8(0x46f),[]),_0x4b1ad7(this,_0x436bd8(0x2a3),0x0),this[_0x436bd8(0x220)]();}[_0x3c49b3(0x220)](){const _0x41d4ed=_0x3c49b3;this[_0x41d4ed(0x2bf)](this[_0x41d4ed(0x294)][_0x41d4ed(0x2fa)]((_0x568e6a,_0x3369b5)=>{const _0x56d9d6=_0x41d4ed;var _0x63485d;if(_0x568e6a['id']!==_0xa1659d[_0x56d9d6(0x43b)]['id'])return;let _0x2216ba=_0x568e6a[_0x56d9d6(0x358)];if(this[_0x56d9d6(0x40f)]((_0x63485d=_0x2216ba[_0x56d9d6(0x384)])==null?[]:_0x63485d)&&!this[_0x56d9d6(0x1cf)]())throw this['_checkAndWaitForCalculationPermission'](_0x568e6a,_0x3369b5),this[_0x56d9d6(0x3f8)](),new _0x48a01c[(_0x56d9d6(0x30d))]();})),this[_0x41d4ed(0x2bf)](this[_0x41d4ed(0x294)][_0x41d4ed(0x1f5)]((_0x44e551,_0x495fd5)=>{const _0x211ab5=_0x41d4ed;if(_0x44e551['id']!==_0xa1659d[_0x211ab5(0x2c2)]['id'])return;let _0x1aadf7=_0x44e551['params'];if(_0x4e7cfb(_0x1aadf7)){let _0x293e9f=(0x0,_0x48a01c['generateRandomId'])();this[_0x211ab5(0x46f)]['push'](_0x293e9f),this[_0x211ab5(0x1c8)](_0x293e9f);}else{if(_0x15b3ac(_0x1aadf7)&&this['_taskIds'][_0x211ab5(0x28a)]>0x0){let _0x808916=this['_taskIds'][_0x211ab5(0x368)]();this[_0x211ab5(0x357)](_0x808916);}}}));}[_0x3c49b3(0x21a)](){const _0x40db4e=_0x3c49b3;super[_0x40db4e(0x21a)](),this[_0x40db4e(0x46b)](),this['_taskIds']=[],this[_0x40db4e(0x22f)]=0x0,this['_maxFormulaLimit']=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x1fb439,_0xf475c8){const _0x566e05=_0x3c49b3;for(let _0x3811b3=0x0;_0x3811b3<0x1e;_0x3811b3++)try{if(await this[_0x566e05(0x222)](),this[_0x566e05(0x1cf)]()){this[_0x566e05(0x21c)](_0x1fb439,_0xf475c8),this['_messageService'][_0x566e05(0x48c)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x2c2150[_0x566e05(0x47a)][_0x566e05(0x285)]});return;}await new Promise(_0x55a549=>{const _0x54775a=_0x566e05;this[_0x54775a(0x374)]=window[_0x54775a(0x477)](_0x55a549,0x3e8);});}catch(_0x4c1904){this[_0x566e05(0x2c1)][_0x566e05(0x3ec)](_0x4c1904);}this[_0x566e05(0x478)][_0x566e05(0x48c)]({'content':this['_localeService']['t'](_0x566e05(0x1c1)),'type':_0x2c2150[_0x566e05(0x47a)][_0x566e05(0x1f6)]});}[_0x3c49b3(0x21c)](_0xada876,_0x14279a){const _0x5a38e2=_0x3c49b3;try{this[_0x5a38e2(0x294)][_0x5a38e2(0x3bf)](_0xada876['id'],_0xada876[_0x5a38e2(0x358)],_0x14279a);}catch(_0x3df23a){this[_0x5a38e2(0x2c1)][_0x5a38e2(0x3ec)](_0x3df23a);}}[_0x3c49b3(0x289)](_0x320e57,_0x34801a){const _0x57747e=_0x3c49b3;_0x34801a<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x34801a,this[_0x57747e(0x311)]=Number[_0x57747e(0x292)](_0x320e57[_0x57747e(0x3bc)]),this[_0x57747e(0x22f)]=Number['parseInt'](_0x320e57[_0x57747e(0x2cc)]));}async[_0x3c49b3(0x1c8)](_0x3fcfb1){const _0x29f038=_0x3c49b3;let _0x17cf54=Date[_0x29f038(0x476)]();try{var _0x19cd4f,_0xb31e32;let _0x202a4d=((_0x19cd4f=this[_0x29f038(0x221)]['getConfig'](_0x43fc47[_0x29f038(0x3aa)]))==null?void 0x0:_0x19cd4f['startFormulaLimitUrl'])||'/universer-api/license/formula/limit/start',_0x4f7d8d=(await this['_httpService'][_0x29f038(0x35e)](_0x202a4d,{'body':JSON[_0x29f038(0x1fc)]({'taskId':_0x3fcfb1})}))[_0x29f038(0x443)];if(((_0xb31e32=_0x4f7d8d[_0x29f038(0x3ec)])==null?void 0x0:_0xb31e32[_0x29f038(0x313)])!==_0x4e493a[_0x29f038(0x4a4)]['OK'])return;this[_0x29f038(0x289)](_0x4f7d8d[_0x29f038(0x474)],_0x17cf54);}catch(_0x510f0c){this[_0x29f038(0x2c1)][_0x29f038(0x3ec)](_0x510f0c);}}async[_0x3c49b3(0x222)](_0x265869){const _0x5d0a09=_0x3c49b3;let _0x18e297=Date[_0x5d0a09(0x476)]();try{var _0x55f7a0,_0x496b26;let _0x2bbd9f=((_0x55f7a0=this[_0x5d0a09(0x221)][_0x5d0a09(0x2cd)](_0x43fc47[_0x5d0a09(0x3aa)]))==null?void 0x0:_0x55f7a0[_0x5d0a09(0x2ae)])||_0x5d0a09(0x38a),_0x71698a=_0x265869?_0x2bbd9f+_0x5d0a09(0x216)+encodeURIComponent(_0x265869):_0x2bbd9f,_0x30c166=(await this[_0x5d0a09(0x25b)][_0x5d0a09(0x284)](_0x71698a))[_0x5d0a09(0x443)];if(((_0x496b26=_0x30c166[_0x5d0a09(0x3ec)])==null?void 0x0:_0x496b26['code'])!==_0x4e493a[_0x5d0a09(0x4a4)]['OK'])return;this[_0x5d0a09(0x289)](_0x30c166[_0x5d0a09(0x474)],_0x18e297);}catch(_0x1aae9e){this[_0x5d0a09(0x2c1)][_0x5d0a09(0x3ec)](_0x1aae9e);}}async[_0x3c49b3(0x357)](_0x527b1b){const _0x4c8d04=_0x3c49b3;let _0x198677=Date['now']();try{var _0x5f35b2,_0x1e6633;let _0x2db12a=((_0x5f35b2=this['_configService'][_0x4c8d04(0x2cd)](_0x43fc47['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5f35b2['releaseFormulaLimitUrl'])||_0x4c8d04(0x371),_0x568a44=(await this[_0x4c8d04(0x25b)][_0x4c8d04(0x35e)](_0x2db12a,{'body':JSON[_0x4c8d04(0x1fc)]({'taskId':_0x527b1b})}))[_0x4c8d04(0x443)];if(((_0x1e6633=_0x568a44['error'])==null?void 0x0:_0x1e6633['code'])!==_0x4e493a[_0x4c8d04(0x4a4)]['OK'])return;this[_0x4c8d04(0x289)](_0x568a44[_0x4c8d04(0x474)],_0x198677);}catch(_0x34ef1e){this[_0x4c8d04(0x2c1)][_0x4c8d04(0x3ec)](_0x34ef1e);}}[_0x3c49b3(0x1cf)](){const _0xd95ae0=_0x3c49b3;return this[_0xd95ae0(0x311)]===0x0?!0x0:this[_0xd95ae0(0x311)]-this['_currentUsage']>0x0;}[_0x3c49b3(0x46b)](){const _0x50e245=_0x3c49b3;this[_0x50e245(0x374)]&&(clearTimeout(this[_0x50e245(0x374)]),this['_pollingInterval']=null);}[_0x3c49b3(0x3f8)](){const _0x2e8db3=_0x3c49b3;this[_0x2e8db3(0x478)][_0x2e8db3(0x48c)]({'content':this[_0x2e8db3(0x2ee)]['t'](_0x2e8db3(0x3f2)),'type':_0x2c2150[_0x2e8db3(0x47a)][_0x2e8db3(0x471)]});}[_0x3c49b3(0x40f)](_0x5d299d){const _0x75fe07=_0x3c49b3;for(let _0x289695 of _0x5d299d){let {unitId:_0x5b1adc,sheetId:_0x367fb0,range:_0x242b38}=_0x289695,_0x2f89e0=this[_0x75fe07(0x4a1)][_0x75fe07(0x27f)](_0x5b1adc);if(!_0x2f89e0)continue;let _0x562b17=_0x2f89e0[_0x75fe07(0x47c)](_0x367fb0);if(!_0x562b17)continue;let _0x3a5f75=_0x562b17[_0x75fe07(0x1e6)]();for(let _0x4013a8=_0x242b38[_0x75fe07(0x29d)];_0x4013a8<=_0x242b38[_0x75fe07(0x353)];_0x4013a8++)for(let _0x29c29e=_0x242b38[_0x75fe07(0x470)];_0x29c29e<=_0x242b38['endColumn'];_0x29c29e++){let _0x20008b=_0x3a5f75[_0x75fe07(0x35d)](_0x4013a8,_0x29c29e);if(_0x20008b&&((0x0,_0x48a01c[_0x75fe07(0x31e)])(_0x20008b['f'])||(0x0,_0x48a01c[_0x75fe07(0x3a9)])(_0x20008b['si'])))return!0x0;}}return!0x1;}};_0x1242f1=_0x5efc3a([_0x459348(0x0,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x10867e[_0x3c49b3(0x36a)])),_0x459348(0x1,_0x48a01c['ICommandService']),_0x459348(0x2,_0x48a01c[_0x3c49b3(0x22e)]),_0x459348(0x3,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x2a8a9d[_0x3c49b3(0x2d7)])),_0x459348(0x4,_0x48a01c[_0x3c49b3(0x26f)]),_0x459348(0x5,_0x48a01c[_0x3c49b3(0x2df)]),_0x459348(0x6,(0x0,_0x48a01c['Inject'])(_0x48a01c[_0x3c49b3(0x409)]))],_0x1242f1);let _0x1a51e2=class extends _0x48a01c[_0x3c49b3(0x1dc)]{constructor(_0x5dca51,_0x3d73fc,_0x26286c){const _0x5dc646=_0x3c49b3;super(),this[_0x5dc646(0x221)]=_0x5dca51,this[_0x5dc646(0x400)]=_0x3d73fc,this[_0x5dc646(0x3a0)]=_0x26286c,_0x4b1ad7(this,_0x5dc646(0x448),new Map()),_0x4b1ad7(this,_0x5dc646(0x3c3),new Map()),_0x4b1ad7(this,_0x5dc646(0x1ef),!0x1);}[_0x3c49b3(0x25e)](){this['_disabled']=!0x0;}[_0x3c49b3(0x3ff)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x4beff4=_0x3c49b3;return this[_0x4beff4(0x3c3)];}[_0x3c49b3(0x21a)](){const _0xef6623=_0x3c49b3;this[_0xef6623(0x266)]()[_0xef6623(0x4aa)](()=>super[_0xef6623(0x21a)]());}async[_0x3c49b3(0x455)](_0x2c480f){const _0x590cf4=_0x3c49b3;return this['_disabled']?null:this['_localStorageService']['getItem']((0x0,_0x43fc47[_0x590cf4(0x1d6)])(_0x2c480f));}async[_0x3c49b3(0x241)](_0x1956e6,_0x22b97e){const _0x2a9ec2=_0x3c49b3;return!!this[_0x2a9ec2(0x400)][_0x2a9ec2(0x41f)](_0x1956e6,_0x22b97e);}[_0x3c49b3(0x1b7)](_0x178005,_0x1d8520,_0x18058c,_0xab1b24){const _0x41096c=_0x3c49b3;let _0x53bdc3=this[_0x41096c(0x3a0)][_0x41096c(0x269)](_0x178005);this[_0x41096c(0x448)][_0x41096c(0x1cb)](_0x178005,{'unitID':_0x178005,'type':_0x1d8520,'awaitingChangeset':_0x18058c,'mutations':_0xab1b24,'rev':_0x53bdc3}),this[_0x41096c(0x3c3)]['has'](_0x178005)||this[_0x41096c(0x325)](_0x178005);}['_scheduleSaving'](_0x51661f){const _0x431395=_0x3c49b3;let _0x11efde=this[_0x431395(0x28c)]();_0x11efde===0x0?this[_0x431395(0x2b0)](_0x51661f):this[_0x431395(0x3c3)][_0x431395(0x1cb)](_0x51661f,setTimeout(()=>this['_saveCache'](_0x51661f),_0x11efde));}[_0x3c49b3(0x28c)](){const _0x5ddf6a=_0x3c49b3;var _0x56914f;return(_0x56914f=this['_configService'][_0x5ddf6a(0x2cd)](_0x43fc47[_0x5ddf6a(0x34e)]))==null?_0x43fc47[_0x5ddf6a(0x45d)]:_0x56914f;}['_saveCache'](_0x2c44a7){const _0x2e1a49=_0x3c49b3;let _0x5991b2=this[_0x2e1a49(0x3c3)][_0x2e1a49(0x284)](_0x2c44a7);return _0x5991b2!==void 0x0&&window[_0x2e1a49(0x2d8)](_0x5991b2),this[_0x2e1a49(0x400)][_0x2e1a49(0x41f)]((0x0,_0x43fc47[_0x2e1a49(0x1d6)])(_0x2c44a7),this[_0x2e1a49(0x448)][_0x2e1a49(0x284)](_0x2c44a7))[_0x2e1a49(0x4aa)](()=>this['_saveTaskMap'][_0x2e1a49(0x429)](_0x2c44a7));}async[_0x3c49b3(0x266)](){const _0x5d2a47=_0x3c49b3;let _0x14aa37=[];this['_saveTaskMap'][_0x5d2a47(0x41e)]((_0x178b3e,_0x22d29b)=>{const _0x2368bf=_0x5d2a47;window['clearTimeout'](_0x178b3e),_0x14aa37[_0x2368bf(0x373)](this[_0x2368bf(0x2b0)](_0x22d29b)[_0x2368bf(0x4aa)](()=>{const _0x4209e4=_0x2368bf;this['_saveTaskMap'][_0x4209e4(0x429)](_0x22d29b);}));}),await Promise[_0x5d2a47(0x438)](_0x14aa37);}};_0x1a51e2=_0x5efc3a([_0x459348(0x0,_0x48a01c['IConfigService']),_0x459348(0x1,_0x48a01c[_0x3c49b3(0x33d)]),_0x459348(0x2,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x4e304d[_0x3c49b3(0x23e)]))],_0x1a51e2);var _0x1e2fec=class extends _0x48a01c[_0x3c49b3(0x47f)]{constructor(){const _0x323008=_0x3c49b3;super(),_0x4b1ad7(this,'urlChange$',void 0x0),this[_0x323008(0x3d3)]=(0x0,_0x515ebd[_0x323008(0x315)])(window,_0x323008(0x46d))['pipe']((0x0,_0x515ebd[_0x323008(0x417)])(this['dispose$']),(0x0,_0x515ebd['shareReplay'])(0x1),(0x0,_0x515ebd[_0x323008(0x4a6)])(void 0x0));}[_0x3c49b3(0x1c3)](_0xf1ce71,_0x4addd5,_0x71aedd=!0x1){const _0x3763f2=_0x3c49b3;let _0x4a8d21=new URL(window[_0x3763f2(0x494)][_0x3763f2(0x350)]);_0x4a8d21[_0x3763f2(0x2f5)]['set'](_0xf1ce71,_0x4addd5),_0x71aedd?window['history'][_0x3763f2(0x3e3)]('','',_0x4a8d21['toString']()):window[_0x3763f2(0x434)]['pushState']('','',_0x4a8d21[_0x3763f2(0x282)]());}[_0x3c49b3(0x3b2)](_0x5f3bcc,_0xc9de04=!0x1){const _0x135e68=_0x3c49b3;let _0x5432f1=new URL(window[_0x135e68(0x494)]['href']);_0x5432f1[_0x135e68(0x2f5)][_0x135e68(0x429)](_0x5f3bcc),_0xc9de04?window[_0x135e68(0x434)][_0x135e68(0x3e3)]('','',_0x5432f1[_0x135e68(0x282)]()):window['history']['pushState']('','',_0x5432f1['toString']());}[_0x3c49b3(0x488)](_0x5c85dc){const _0x5a2649=_0x3c49b3;var _0xd6e3a5;return(_0xd6e3a5=new URL(window['location'][_0x5a2649(0x350)])[_0x5a2649(0x2f5)][_0x5a2649(0x284)](_0x5c85dc))==null?void 0x0:_0xd6e3a5;}};let _0x39fd21=class extends _0x48a01c[_0x3c49b3(0x44f)]{constructor(_0x263545=_0x4eadeb,_0x38fc2d,_0x2c37ce,_0x39aa53){const _0x3a90b6=_0x3c49b3;super(),this[_0x3a90b6(0x401)]=_0x263545,this[_0x3a90b6(0x2be)]=_0x38fc2d,this[_0x3a90b6(0x2b7)]=_0x2c37ce,this['_configService']=_0x39aa53;let {..._0x430e09}=(0x0,_0x48a01c[_0x3a90b6(0x2f8)])({},_0x4eadeb,this[_0x3a90b6(0x401)]);this[_0x3a90b6(0x221)]['setConfig'](_0x3882be,_0x430e09);}[_0x3c49b3(0x1be)](){const _0xe6b2e6=_0x3c49b3;this[_0xe6b2e6(0x3e1)](),this[_0xe6b2e6(0x376)]();}[_0x3c49b3(0x298)](){const _0x19ed99=_0x3c49b3;this[_0x19ed99(0x25d)]();}[_0x3c49b3(0x3e1)](){const _0x103895=_0x3c49b3;var _0x410949;let _0x13529b=[[_0x54f25d],[_0x1242f1],[_0x4dac2a],[_0x72885d],[_0x47cfa5],[_0x3a71aa],[_0x1c4cba,{'useClass':_0x1e2fec}],[_0x2a8a9d[_0x103895(0x228)],{'useClass':_0x2a8a9d[_0x103895(0x23a)]}],[_0x43fc47[_0x103895(0x491)],{'useClass':_0x1a51e2}],[_0x29a2f8],[_0x3ba236],[_0x573125],[_0x51ebec],[_0x6cc1b8],[_0x5a5127]];this[_0x103895(0x401)][_0x103895(0x329)]&&_0x13529b[_0x103895(0x373)]([_0x4625d6]),(0x0,_0x48a01c[_0x103895(0x367)])(this[_0x103895(0x2b7)],(0x0,_0x48a01c['mergeOverrideWithDependencies'])(_0x13529b,(_0x410949=this['_config'])==null?void 0x0:_0x410949[_0x103895(0x344)]));}['_registerRenderDependencies'](){const _0x4f6af8=_0x3c49b3;this[_0x4f6af8(0x2bf)](this['_renderManagerService']['registerRenderModule'](_0x48a01c[_0x4f6af8(0x3de)]['UNIVER_DOC'],[_0x40baf2])),this[_0x4f6af8(0x2bf)](this[_0x4f6af8(0x2be)][_0x4f6af8(0x3b5)](_0x48a01c['UniverInstanceType'][_0x4f6af8(0x24b)],[_0x22cee0]));}[_0x3c49b3(0x376)](){const _0x3313e0=_0x3c49b3;(0x0,_0x48a01c['touchDependencies'])(this[_0x3313e0(0x2b7)],[[_0x51ebec],[_0x29a2f8],[_0x3ba236],[_0x573125],[_0x5a5127],[_0x1242f1]]),this[_0x3313e0(0x401)][_0x3313e0(0x329)]&&(0x0,_0x48a01c[_0x3313e0(0x316)])(this['_injector'],[[_0x4625d6]]);}};_0x4b1ad7(_0x39fd21,_0x3c49b3(0x333),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x4b1ad7(_0x39fd21,_0x3c49b3(0x3f9),_0x333bc0),_0x4b1ad7(_0x39fd21,_0x3c49b3(0x390),_0x48bb10),_0x39fd21=_0x5efc3a([(0x0,_0x48a01c[_0x3c49b3(0x369)])(_0x43fc47[_0x3c49b3(0x235)]),_0x459348(0x1,_0x27c640[_0x3c49b3(0x233)]),_0x459348(0x2,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x48a01c[_0x3c49b3(0x3a1)])),_0x459348(0x3,_0x48a01c[_0x3c49b3(0x22e)])],_0x39fd21);let _0x20f029=class extends _0x43fc47[_0x3c49b3(0x482)]{constructor(_0x5154a2,_0xea2eac,_0x423583,_0x5d4bdf,_0x5d1cb7){super(_0x5154a2,_0xea2eac,_0x423583,_0x5d4bdf,_0x5d1cb7);}async[_0x3c49b3(0x45e)](_0x2a52d5){const _0x2e2fef=_0x3c49b3;let _0x2adf01=await this[_0x2e2fef(0x395)](),_0x22226d=this['_createSocketURL'](_0x2a52d5,_0x2adf01);return this[_0x2e2fef(0x2eb)](_0x22226d);}[_0x3c49b3(0x2b1)](_0xa55134,_0x123aa5){const _0x215ca6=_0x3c49b3;let _0x5c7cd4=typeof window>'u'?new URL(_0xa55134):new URL(_0xa55134,window[_0x215ca6(0x494)]['origin']);_0x5c7cd4[_0x215ca6(0x2f5)][_0x215ca6(0x1cb)]('sessionTicket',_0x123aa5);let _0x1f1e0d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x215ca6(0x494)][_0x215ca6(0x481)]);return _0x1f1e0d[_0x215ca6(0x284)]('runId')&&_0x5c7cd4[_0x215ca6(0x2f5)]['set'](_0x215ca6(0x280),_0x1f1e0d[_0x215ca6(0x284)](_0x215ca6(0x280))),_0x5c7cd4[_0x215ca6(0x282)]();}async['_getSessionTicket'](){const _0x5e2a46=_0x3c49b3;var _0x56fcdb,_0x2aec7e,_0x2a1eb1;let _0x544cb8=this[_0x5e2a46(0x221)]['getConfig'](_0x43fc47[_0x5e2a46(0x3aa)]),_0x4e48fc=(_0x56fcdb=_0x544cb8==null?void 0x0:_0x544cb8[_0x5e2a46(0x1b9)])==null?_0x43fc47[_0x5e2a46(0x1db)]:_0x56fcdb;return(_0x2aec7e=(_0x2a1eb1=(await this[_0x5e2a46(0x25b)][_0x5e2a46(0x284)](_0x4e48fc,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x2a1eb1[_0x5e2a46(0x2a8)])==null?'':_0x2aec7e;}};_0x20f029=_0x5efc3a([_0x459348(0x0,(0x0,_0x48a01c['Inject'])(_0x48a01c['Injector'])),_0x459348(0x1,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x2a8a9d[_0x3c49b3(0x2d7)])),_0x459348(0x2,_0x48a01c[_0x3c49b3(0x22e)]),_0x459348(0x3,_0x48a01c[_0x3c49b3(0x2df)]),_0x459348(0x4,_0x4e304d[_0x3c49b3(0x427)])],_0x20f029);let _0x23a5d4=class extends _0x48a01c['Disposable']{constructor(_0x50063d,_0x397e21,_0x1afe99){const _0x3099a0=_0x3c49b3;super(),this[_0x3099a0(0x359)]=_0x50063d,this[_0x3099a0(0x25b)]=_0x397e21,this[_0x3099a0(0x221)]=_0x1afe99;}async['runOnServer'](_0x58e88c,_0x22a8bb,_0x242ac9,..._0x339ad2){const _0x542bae=_0x3c49b3;var _0x2e4483,_0x43bc2d,_0x11cda3,_0x26f791;let _0xb75d0b=this[_0x542bae(0x359)][_0x542bae(0x485)]();if(!_0xb75d0b)throw Error(_0x542bae(0x24c));let _0x2be8ef=((_0x2e4483=this[_0x542bae(0x221)][_0x542bae(0x2cd)](_0x43fc47[_0x542bae(0x4a9)]))==null?_0x43fc47['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']:_0x2e4483)+'/'+_0x58e88c+_0x542bae(0x20d)+_0x22a8bb,_0x256fff={'scriptId':_0x58e88c,'runId':(_0x43bc2d=new URL(window[_0x542bae(0x494)][_0x542bae(0x350)])['searchParams'][_0x542bae(0x284)]('runId'))==null?'':_0x43bc2d,'function':_0x22a8bb,'unitId':_0xb75d0b['getUnitId'](),'argsOfFunction':JSON[_0x542bae(0x1fc)](_0x339ad2),'invokeId':(_0x11cda3=_0x242ac9['invokeId'])==null?'':_0x11cda3,'executionId':(_0x26f791=_0x242ac9['executionId'])==null?'':_0x26f791};try{let _0x2d9e92=await this[_0x542bae(0x25b)][_0x542bae(0x35e)](_0x2be8ef,{'body':_0x256fff});return _0x2d9e92[_0x542bae(0x443)][_0x542bae(0x3ec)]&&_0x2d9e92[_0x542bae(0x443)]['error'][_0x542bae(0x313)]!==_0x4e493a[_0x542bae(0x4a4)]['OK']?_0x542bae(0x24f):_0x2d9e92[_0x542bae(0x443)][_0x542bae(0x361)];}catch{return _0x542bae(0x24f);}}};_0x23a5d4=_0x5efc3a([_0x459348(0x0,_0x48a01c[_0x3c49b3(0x26f)]),_0x459348(0x1,(0x0,_0x48a01c[_0x3c49b3(0x3e8)])(_0x2a8a9d[_0x3c49b3(0x2d7)])),_0x459348(0x2,_0x48a01c[_0x3c49b3(0x22e)])],_0x23a5d4);let _0x513f5e=0x7530,_0xc4672e=_0x3c49b3(0x3e9);var _0x4a6dde=class extends _0x48a01c['Disposable']{constructor(){const _0x3dbd9d=_0x3c49b3;super(),_0x4b1ad7(this,_0x3dbd9d(0x29a),(0x0,_0x48a01c[_0x3dbd9d(0x3c6)])()),_0x4b1ad7(this,_0x3dbd9d(0x210),new Set()),_0x4b1ad7(this,'_unitOnClients',new Map()),_0x4b1ad7(this,_0x3dbd9d(0x414),null),_0x4b1ad7(this,_0x3dbd9d(0x2f3),new Map()),_0x4b1ad7(this,'_unitStatus',new Map()),this['_init']();}[_0x3c49b3(0x21a)](){const _0x295c2c=_0x3c49b3;super[_0x295c2c(0x21a)](),this['_clearOtherTimers'][_0x295c2c(0x41e)]((_0x1d8769,_0x90db21)=>this['_removeClearOtherTimer'](_0x90db21)),this[_0x295c2c(0x414)]&&window[_0x295c2c(0x2fb)](this['_heartbeatTimer']);}[_0x3c49b3(0x263)](_0x2117d9){const _0x486155=_0x3c49b3;return this[_0x486155(0x1ce)](_0x2117d9)['pipe']((0x0,_0x515ebd['distinctUntilChanged'])());}[_0x3c49b3(0x2f0)](_0xf5e16a){const _0x52a87b=_0x3c49b3;this[_0x52a87b(0x210)][_0x52a87b(0x1f0)]===0x0&&this[_0x52a87b(0x1c6)](),this['_selfUnitIDs'][_0x52a87b(0x48f)](_0xf5e16a),this[_0x52a87b(0x468)]({'type':0x0,'memberID':this[_0x52a87b(0x29a)],'unitIDs':[_0xf5e16a],'isForwarded':!0x1});}[_0x3c49b3(0x407)](_0x277572){const _0x197f4d=_0x3c49b3;this[_0x197f4d(0x210)][_0x197f4d(0x429)](_0x277572),this['_selfUnitIDs'][_0x197f4d(0x1f0)]===0x0&&this['_heartbeatTimer']&&window[_0x197f4d(0x2fb)](this[_0x197f4d(0x414)]);}[_0x3c49b3(0x396)](){const _0x2842ea=_0x3c49b3;this['disposeWithMe']((0x0,_0x48a01c[_0x2842ea(0x3b1)])((0x0,_0x515ebd[_0x2842ea(0x315)])(window,_0x2842ea(0x3f0))['subscribe'](_0x329a8a=>{const _0x29a925=_0x2842ea;if(_0x329a8a[_0x29a925(0x41a)]!==_0xc4672e||!_0x329a8a['newValue'])return;let _0x50709f=JSON[_0x29a925(0x397)](_0x329a8a[_0x29a925(0x20c)]);this['_handleEvent'](_0x50709f);}))),window[_0x2842ea(0x2ec)](_0x2842ea(0x1d9),()=>this[_0x2842ea(0x468)]({'type':0x1,'memberID':this[_0x2842ea(0x29a)],'unitIDs':Array[_0x2842ea(0x437)](this[_0x2842ea(0x210)])}));}[_0x3c49b3(0x211)](_0x2cfcc4){const _0x49bffa=_0x3c49b3;switch(_0x2cfcc4[_0x49bffa(0x200)]){case 0x0:this[_0x49bffa(0x218)](_0x2cfcc4);break;case 0x1:this[_0x49bffa(0x2b2)](_0x2cfcc4);break;case 0x2:this[_0x49bffa(0x258)](_0x2cfcc4);break;}}[_0x3c49b3(0x218)](_0x2ee909){const _0x2ebda4=_0x3c49b3;let {unitIDs:_0x457624,memberID:_0x92d3ea,isForwarded:_0xbf7aa5}=_0x2ee909;_0x457624[_0x2ebda4(0x41e)](_0x4d166a=>{const _0x1727b5=_0x2ebda4;if(!_0xbf7aa5&&this[_0x1727b5(0x1ca)]['has'](_0x4d166a)&&this[_0x1727b5(0x1ce)](_0x4d166a)['next'](_0x43fc47[_0x1727b5(0x22c)][_0x1727b5(0x347)]),!this[_0x1727b5(0x1ca)]['has'](_0x4d166a)||!this[_0x1727b5(0x1ca)][_0x1727b5(0x284)](_0x4d166a)[_0x1727b5(0x209)](_0x92d3ea)){let _0x4d778b=this[_0x1727b5(0x1ca)][_0x1727b5(0x284)](_0x4d166a)||new Set();_0x4d778b[_0x1727b5(0x48f)](_0x92d3ea),this[_0x1727b5(0x1ca)][_0x1727b5(0x1cb)](_0x4d166a,_0x4d778b),this[_0x1727b5(0x3ba)](_0x92d3ea);}}),_0xbf7aa5||this[_0x2ebda4(0x468)]({'type':0x0,'memberID':this[_0x2ebda4(0x29a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3c49b3(0x3ba)](_0x3a2de7){const _0x4ab606=_0x3c49b3;this['_removeClearOtherTimer'](_0x3a2de7);let _0xda59c4=window[_0x4ab606(0x477)](()=>{this['_unitOnClients']['forEach'](_0x30f929=>{const _0x1c2bc7=_0x33fc;_0x30f929[_0x1c2bc7(0x429)](_0x3a2de7);});},_0x513f5e*0x2);this['_clearOtherTimers']['set'](_0x3a2de7,_0xda59c4);}[_0x3c49b3(0x21e)](_0x522868){const _0x1873e4=_0x3c49b3;if(this['_clearOtherTimers'][_0x1873e4(0x209)](_0x522868)){let _0x55be6d=this[_0x1873e4(0x2f3)][_0x1873e4(0x284)](_0x522868);_0x55be6d&&window[_0x1873e4(0x2d8)](_0x55be6d),this[_0x1873e4(0x2f3)][_0x1873e4(0x1cb)](_0x522868,null);}}[_0x3c49b3(0x2b2)](_0x295d2a){const _0x448392=_0x3c49b3;let {memberID:_0xc3f542,unitIDs:_0x38f2f6}=_0x295d2a;_0x38f2f6[_0x448392(0x41e)](_0x5325b2=>{const _0x180e06=_0x448392;var _0x3c3265;let _0x53fa43=this['_unitOnClients']['get'](_0x5325b2);_0x53fa43&&(_0x53fa43[_0x180e06(0x429)](_0xc3f542),(_0x3c3265=this[_0x180e06(0x1ce)](_0x5325b2))==null||_0x3c3265[_0x180e06(0x38b)](_0x53fa43[_0x180e06(0x1f0)]===0x0?_0x43fc47['UnitStatus'][_0x180e06(0x39d)]:_0x43fc47['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x448392(0x21e)](_0xc3f542);}[_0x3c49b3(0x258)](_0x2f0960){const _0x317580=_0x3c49b3;this['_scheduleClearOtherTimer'](_0x2f0960[_0x317580(0x3bb)]);}['_send'](_0x1e6ead){const _0x212948=_0x3c49b3;localStorage['setItem'](_0xc4672e,JSON[_0x212948(0x1fc)](_0x1e6ead));}[_0x3c49b3(0x1c6)](){const _0x1b1cd=_0x3c49b3;this[_0x1b1cd(0x414)]=window[_0x1b1cd(0x1bb)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x513f5e);}[_0x3c49b3(0x1ce)](_0x1d7b79){const _0x3b2b47=_0x3c49b3;return this[_0x3b2b47(0x459)][_0x3b2b47(0x209)](_0x1d7b79)||this[_0x3b2b47(0x459)][_0x3b2b47(0x1cb)](_0x1d7b79,new _0x515ebd[(_0x3b2b47(0x406))](_0x43fc47[_0x3b2b47(0x22c)][_0x3b2b47(0x39d)])),this[_0x3b2b47(0x459)][_0x3b2b47(0x284)](_0x1d7b79);}};Object[_0x3c49b3(0x416)](_0x39d08a,_0x3c49b3(0x279),{'enumerable':!0x0,'get':function(){return _0x20f029;}}),Object[_0x3c49b3(0x416)](_0x39d08a,_0x3c49b3(0x489),{'enumerable':!0x0,'get':function(){return _0x5a5127;}}),Object['defineProperty'](_0x39d08a,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x29a2f8;}}),_0x39d08a[_0x3c49b3(0x306)]=_0x1c4cba,Object[_0x3c49b3(0x416)](_0x39d08a,_0x3c49b3(0x469),{'enumerable':!0x0,'get':function(){return _0x23a5d4;}}),_0x39d08a['SheetCollabCursorShape']=_0x5b9b14,Object['defineProperty'](_0x39d08a,_0x3c49b3(0x1e1),{'enumerable':!0x0,'get':function(){return _0x39fd21;}}),_0x39d08a[_0x3c49b3(0x33b)]=_0x4a6dde,_0x39d08a[_0x3c49b3(0x1c2)]=_0x1e2fec;}));function _0x202f(){const _0x22b851=['whenReady','useRef','join','actions','none','_collabCursorState$','startsWith','selection','OnLineIcon','collaboration.offline-data-not-saved','SetSelectionsOperation','_doCreateSocket','addEventListener','8779932oDzAeX','_localeService','collabStatus.fetchMiss','editingUnit','use','SheetsSelectionsService','_clearOtherTimers','collab-text-anchor-','searchParams','setUndoRedoMutationParamsCache','MemberService','merge','handleDeleteRangeMoveLeft','beforeCommandExecuted','clearInterval','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UNIVER_DOC','HEADER_MENU','_startSheetCollabCursor','CollaborationController','_hovered','translate(.97)','_initWindowErrorListener','_refRangeService','RefRangeService','IURLService','getTypeOfUnitDisposed$','_initUnhandledRejectionListener','_getSheetObject','exports','onPointerMove$','IBeforeCloseService','CanceledError','permission.content','docStateChange$','_initEntityListener','_maxFormulaLimit','_dataLoaderService','code','handleIRemoveCol','fromEvent','touchDependencies','removeEventListener','getActiveRange','Rect','collaboration.closeRoom','flatMap','DeleteRangeMoveUpCommandId','constructor','isFormulaString','_getAnchorBounding','moveTo','_docTransformIMECacheService','activeSheet$','_session','setShapeProps','_scheduleSaving','getVpScrollXYInfoByPosToVp','fillStyle','toRgbString','enableFrontendLog','transformRemoteChangeset','_cursor','NodePositionConvertToCursor','ONLINE','_refreshCollabCursors','Subject','max','3063895EKYsKq','registerComponent','pluginName','AWAITING_WITH_PENDING','transformByState','handleInsertCol','stage','Optional','SOCKET_FAILED_RETRY','DocStateChangeManagerService','WebBrowserSingleActiveUnitService','colno','ILocalStorageService','3YzaYwC','DataLoaderService','@univerjs-pro/collaboration','fromEventSubject','subunit','[CollaborationDataLoaderController]','override','_cursorInfo$','deserializeRangeWithSheet','OTHER_CLIENTS_EDITING','UniverProCollaborationClientUi','colorClass','PENDING','univer-transition-all\x20univer-duration-200','_isBlinkVisible','roomMembers$','LOCAL_CACHE_INTERVAL_KEY','debug','href','getMemberID','idSuffix','endRow','UniverUi','getViewport','0\x200\x2016\x2016','_releaseCalculationLimit','params','_instanceService','_imageIoService','FormulaExecuteStageType','getCurrentSelections','getValue','post','getOwnPropertyDescriptor','findNodePositionByCharIndex','result','8kZpOQu','status','_initStatusListener','0.23.0','subscribeEvent','registerDependencies','shift','DependentOn','IMessageService','_getMergeRange','univer-text-blue-500','runRefRangeMutations','CONFLICT','getColor','_handleHover','/universer-api/license/formula/limit/done','tooltipKey','push','_pollingInterval','handleInsertRangeMoveRight','_initDependencies','setStateCache','text','createElement','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','USERS_LEAVE','UniverProCollaborationClient','738311yvTDff','_hideTimer','url(#off-line-icon_clip0_910_343)','OFFLINE','_getLighterColor','cursorInfo','toPrimitive','dirtyRanges','_docTransformSelectionsService','switchMap','univer-inline-flex\x20univer-items-center\x20univer-justify-center','indicator','labelPosition','/universer-api/license/formula/limit/status','next','_assignedColors','collab-text-range-','_updateSubUnitFromURLParams','bind','version','highlightSecond','Unknown\x20user','color','find','_getSessionTicket','_init','parse','_collaborationController','_color','white','ICommandService','xlink:href','NO_OTHER_CLIENTS_EDITING','handleDeleteRangeMoveUp','mutations','_revisionService','Injector','rgb','INotificationService','clickable','getUnitId','min','send','_getScale','isFormulaId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/protocol','_memberID','InsertColCommandId','stack','_entityInit$','font','toDisposable','removeParam','_onCursorUpdate','collab-client.tooltip.reconnect','registerRenderModule','_drawRectRange','filename','_docClipboardService','_syncEditingCollabCursorService','_scheduleClearOtherTimer','memberID','maxFormulaLimit','debounceTime','saveTaskMap','executeCommand','transformIMECache','values','fillText','_saveTaskMap','_initStatusComponent','onPointerLeave$','generateRandomId','@univerjs/drawing','column','collaboration.single-unit.warning','amd','http://www.w3.org/2000/svg','addClipboardHook','_entities','SUCCESS','@univerjs-pro/collaboration-client','jsx','PERMISSION_DENIED','includes','urlChange$','session.connection-failed','setAlpha','getCollabEntity$','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','setOffsetY','_status$','_collaborationUIEventService','rgba','rgba(255,\x20255,\x20255,\x200.01)','SetTextSelectionsOperation','UniverInstanceType','on-line-icon','transformStateCache','_registerDependencies','/universer-api/frontend/logs','replaceState','svg','JOIN_ROOM_FAILED','loadUnit','focused$','Inject','ACTIVE_UNIT_EVENT_CHANNEL','_context','rgba(','error','ranges','_updateCollabCursors','#0B9EFB','storage','stageInfo','formula.calculation.waiting','endColumn','with','roomMembers','RegularPolygon','IImageIoService','_showGuardMessage','packageName','_render','off-line-icon_clip0_910_343','_stopBlinking','_blinkTimer','_toggleOffline','enableLocalCache','_localStorageService','_config','TEXT_RANGE_LAYER_INDEX','NOT_COLLAB','_transformUndoRedoStack','_toggleOnline','BehaviorSubject','disposeUnit','SYNCED','LocaleService','univer-flex\x20univer-items-center\x20univer-justify-center','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','...','Tools','subscribe','_hasFormulaInDirtyRanges','path','SHEET_VIEWPORT_KEY','black','div','_heartbeatTimer','_range','defineProperty','takeUntil','onPointerEnter$','getActiveSheet','key','@univerjs/core','_eventUnsubscribe','iterator','forEach','setItem','_cursorShapes','redoState','getRenderById','Vector2','transformSelections','currentColor','isTransformMutationFailure','ISnapshotServerService','arc','delete','_offsetY','some','m2Prime','serializeRangeWithSheet','contains','588858tvdCxs','_setupSubUnitSync','reason','bottom','round','history','UniverIcon','UniverRpc','from','all','MoveRangeCommandId','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','SetFormulaCalculationStartMutation','TEXT','collabStatus.synced','DOC_RANGE_TYPE','UPDATE_CURSOR','symbol','useObservable','Tooltip','body','@univerjs-pro/collaboration-client-ui','_highlight','on-line-icon_clip0_910_349','Rectangle','_cachedData','_updateURLWithCurrentState','_onCursorDelete','makeDirty','_collabSessionService','map','SetWorksheetActivateCommand','Plugin','unitId','@univerjs/docs-ui','_startDocCollabCursor','FETCH_MISS','_sheetSkeletonManagerService','loadOfflineData','_online','strokeWidth','save','_unitStatus','univer-border-none\x20univer-bg-transparent','univer-text-green-500','currentTheme$','LOCAL_CACHE_INTERVAL','createSocket','_backgroundColor','univer-m-0\x20univer-p-0','yellow.400','_monkeyPatchLogService','operators','UniverCore','reconnect','_initEvent','_initCommandExecutedListener','_send','RemoteUniscriptService','beginPath','_clearPolling','transformMutation','popstate','CollaborationStatus','_taskIds','startColumn','Loading','entries','width','limitInfo','setActiveRange','now','setTimeout','_messageService','DocSelectionManagerService','MessageType','_updateLocalCursor','getSheetBySheetId','_removeCollabCursors','\x20at\x20','RxDisposable','_notificationService','search','CollaborationSocketService','restore','RemoveRowCommandId','getFocusedUnit','current','EffectRefRangId','getParam','CollaborationDataLoaderController','@univerjs/sheets','doc.mutation.rich-text-editing','show','polite','_blinkIntervalTimer','add','backgroundColor','ILocalCacheService','ThemeService','lineno','location','resize','univerjs-icon\x20univerjs-icon-','currentSkeleton$','useDependency','InsertRowCommandId','deepClone','getRangePointData','_docStateChangeManagerService','collabStatus.offline','getCurrentUnitForType','[LogService\x20Error]:\x20','status$','_univerInstanceService','Warning','_colorIndex','ErrorCode','attrs','mapTo','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','unit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','then','updateOfflineData','univer-appearance-none','wsSessionTicketUrl','assignAColorForMemberID','setInterval','getStateCache','getUndoRedoMutationParamsCache','onStarting','LoadingMultiIcon','collabStatus.notCollab','formula.calculation.unable','WebURLService','setParam','_highlightSecond','function','_scheduleHeartbeat','_docTransformStateCacheService','_startCalculationLimit','UniverProtocol','_unitOnClients','set','static','collab-rect-range-','_ensureSubject','_checkCalculationAvailable','tag','pipe','_scene','@univerjs/engine-formula','getDocRanges','clsx','getLocalCacheKey','InsertRangeMoveRightCommandId','preventDefault','unload','CollaborationSessionService','DEFAULT_WS_SESSION_TICKET_URL','Disposable','handleInsertRow','hide','CLOSE_ROOM','_drawTextRange','UniverCollaborationClientUIPlugin','prototype','@univerjs/ui','_anchor','_docSkeleton','getCellMatrix','decorate','drawWith','height','START_CALCULATION','DocIMEInputManagerService','OTHER_CLIENT_EDITING','rxjs/operators','SetDocZoomRatioOperation','_disabled','size','_docSkeletonManagerService','icon','span','green.600','onCommandExecuted','Error','_themeService','event$','_draw','_name','_drawAnchor','stringify','ITransformService','CommandType','collaboration-client-ui.config','type','M0\x200H16V16H0z','replaceDocRanges','showText','mask','react','12bMfVQd','forwardRef','true','has','UniverDocsUi','_anchorDot','newValue','/run/','getMergeData','_memberService','_selfUnitIDs','_handleEvent','getSheetId','m1Prime','SessionStatus','2011548skutaR','?taskId=','22vQEiqN','_handleJoinEvent','onLocalMutation','dispose','offsetY','_applyCommand','AWAITING','_removeClearOtherTimer','url(#$1','_initCommandInterceptor','_configService','_getFormulaLimitStatus','FormulaExecutedStateType','jiqing.500','1260710SpCRTt','getUnhiddenWorksheets','1em','ISocketService','debounce','CollaborationUIEventService','displayName','UnitStatus','unitID','IConfigService','_currentUsage','getMember','_transformService','_onRefRangeChange','IRenderManagerService','_transformPreviousActiveRange','UniverCollaborationClientPlugin','spin','filter','@univerjs/docs','UniverNetwork','WebSocketService','data','top','BuiltInUIPart','RevisionService','getSkeleton','DocCollaborationEntity','saveOfflineData','unshift','syncEditingCollabCursor',',\x200.2)','FromArray','onMouseMove','react/jsx-runtime','message','requireSession','UniverProCollaboration','UNIVER_SHEET','[RemoteUniscriptService]:\x20no\x20focused\x20unit','source','unhandledrejection','Failed','_labelPosition','trim','_beforeCloseService','imageSourceType','registerBeforeClose','handleMoveRange','split','_hover','_handleHeartbeatEvent','[Window\x20Error]:\x20','textRanges','_httpService','_roomMembers$','_registerRenderDependencies','disableLocalCache','sessionStatus$','_lastPointer','triggerDblclick','_colorAssignService','getUnitStatus$','range','_transformHistoryAndStateStack','exhaustSavingTask','string','COLORS','getCurrentRevOfUnit','getUniverSheetInstance','isActive','cursorInfo$','_collaborationSessionService','defs','IUniverInstanceService','getColorFromTheme','_collabCursorController','blue.400','asObservable','slice','_shapes','row','getAncestorScale','init','BrowserCollaborationSocketService','dark:focus:univer-ring-offset-gray-800','UniverDocs','Shape','@univerjs/design','closePath','getUnit','runId','call','toString','replace','get','Success','dispose$','_initUserListener','_uploadLog','_setFormulaLimitStatus','length','0.2)','_getSaveTimeout','univer-h-8\x20univer-w-8\x20univer-rounded-lg','_textBubble','getCoordByCell','SOCKET_FAILED','transform','parseInt','_initResize','_commandService','fill','Workbook','evenodd','onRendered','CollaborationUIEventId','_id','assign','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','startRow','socket$','selections','_startBlinking','RECT','UniverDesign','_lastResponseTimestamp','RemoveColCommandId','highlight','colorChannel1','_cursors','ticket','eventID','UniverEngineFormula','useMemo','CollaborationEvent','getTypeOfUnitAdded$','getFormulaLimitStatusUrl','getCellPositionByOffset','_saveCache','_createSocketURL','_handleLeaveEvent','_uiPartsService','defIds','Enter','rxjs','_injector','useCallback','addObjects','_showText','children','12515990linobj','measureText','_renderManagerService','disposeWithMe','clipPath','_logService','SetFormulaCalculationNotificationMutation','complete','throttleTime','red.300','getCollabCursors$','_urlService','createInstance','IUIPartsService','_document','React','currentUsage','getConfig','off-line-icon','lineTo','name','uni.network.url-service','registerRefRange','getRelativeToViewportCoord','_setupBeforeClosingHandler','MUTATION','isTransformMutationsWithChangesetSuccess','HTTPService','clearTimeout','object','collabStatus.conflict','addObject','purple.300','OffLineIcon','\x20-\x20','ILogService'];_0x202f=function(){return _0x22b851;};return _0x202f();}
|
|
8
|
+
function _0x4aba(_0x1ef9aa,_0x160969){_0x1ef9aa=_0x1ef9aa-0x106;const _0xf61a7c=_0xf61a();let _0x4abac8=_0xf61a7c[_0x1ef9aa];return _0x4abac8;}(function(_0x122153,_0x5c1cfe){const _0x5b7e6c=_0x4aba,_0x3c5f0f=_0x122153();while(!![]){try{const _0x132932=-parseInt(_0x5b7e6c(0x2da))/0x1*(-parseInt(_0x5b7e6c(0x160))/0x2)+-parseInt(_0x5b7e6c(0x3c5))/0x3+-parseInt(_0x5b7e6c(0x37c))/0x4*(parseInt(_0x5b7e6c(0x3e3))/0x5)+-parseInt(_0x5b7e6c(0x199))/0x6*(-parseInt(_0x5b7e6c(0x3b3))/0x7)+-parseInt(_0x5b7e6c(0x352))/0x8+parseInt(_0x5b7e6c(0x1f3))/0x9*(parseInt(_0x5b7e6c(0x1fe))/0xa)+-parseInt(_0x5b7e6c(0x3d4))/0xb;if(_0x132932===_0x5c1cfe)break;else _0x3c5f0f['push'](_0x3c5f0f['shift']());}catch(_0x5f2b0f){_0x3c5f0f['push'](_0x3c5f0f['shift']());}}}(_0xf61a,0xc3ef5),function(_0x3e63f1,_0x316b0b){const _0x48bb3e=_0x4aba;typeof exports==_0x48bb3e(0x25a)&&typeof module<'u'?_0x316b0b(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/rpc`),require(`@univerjs/sheets`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs-pro/collaboration`),require(`@univerjs/docs`),require(`@univerjs/engine-formula`),require(`rxjs/operators`),require(`@univerjs/sheets-ui`),require(`@univerjs/protocol`)):typeof define==_0x48bb3e(0x2d1)&&define[_0x48bb3e(0x381)]?define([_0x48bb3e(0x1e0),_0x48bb3e(0x2fb),_0x48bb3e(0x271),'@univerjs/ui',_0x48bb3e(0x1ed),_0x48bb3e(0x190),_0x48bb3e(0x35a),_0x48bb3e(0x3e7),_0x48bb3e(0x290),_0x48bb3e(0x1a2),_0x48bb3e(0x12a),_0x48bb3e(0x2f4),'@univerjs/docs-ui',_0x48bb3e(0x31d),'@univerjs-pro/collaboration','@univerjs/docs',_0x48bb3e(0x2cd),_0x48bb3e(0x16b),_0x48bb3e(0x2d9),_0x48bb3e(0x270)],_0x316b0b):(_0x3e63f1=typeof globalThis<'u'?globalThis:_0x3e63f1||self,_0x316b0b(_0x3e63f1[_0x48bb3e(0x3c2)]={},_0x3e63f1[_0x48bb3e(0x3de)],_0x3e63f1[_0x48bb3e(0x132)],_0x3e63f1['UniverUi'],_0x3e63f1[_0x48bb3e(0x1ed)],_0x3e63f1[_0x48bb3e(0x114)],_0x3e63f1[_0x48bb3e(0x1da)],_0x3e63f1[_0x48bb3e(0x1da)],_0x3e63f1[_0x48bb3e(0x202)],_0x3e63f1['UniverSheets'],_0x3e63f1[_0x48bb3e(0x36b)],_0x3e63f1['UniverNetwork'],_0x3e63f1[_0x48bb3e(0x300)],_0x3e63f1[_0x48bb3e(0x297)],_0x3e63f1[_0x48bb3e(0x11b)],_0x3e63f1[_0x48bb3e(0x1dd)],_0x3e63f1['UniverEngineFormula'],_0x3e63f1[_0x48bb3e(0x1ed)][_0x48bb3e(0x22a)],_0x3e63f1[_0x48bb3e(0x327)],_0x3e63f1[_0x48bb3e(0x16a)]));}(this,function(_0x15f6cb,_0x316dd7,_0x388d59,_0x4b4951,_0x5f234d,_0x557885,_0x9c4f06,_0x292e4b,_0x394f89,_0x19978b,_0x4feec6,_0xe73b5b,_0x2c1d91,_0x3e3bfb,_0x2b86a0,_0x53fea4,_0x5eb7bd,_0x217ea4,_0x5e0ee5,_0x152465){const _0x178811=_0x4aba;Object['defineProperty'](_0x15f6cb,Symbol[_0x178811(0x29e)],{'value':_0x178811(0x28f)});function _0x23f068({ref:_0x48c5d0,..._0x4eeabf}){const _0x332bdb=_0x178811;let {icon:_0x13886a,id:_0x4ff2e4,className:_0x93072c,extend:_0x1926ec,..._0xe47283}=_0x4eeabf,_0xd652c3=(_0x332bdb(0x3e0)+_0x4ff2e4+'\x20'+(_0x93072c||''))[_0x332bdb(0x37d)](),_0x38239d=(0x0,_0x9c4f06[_0x332bdb(0x321)])('_'+_0x2e4395());return _0x4c4caa(_0x13886a,''+_0x4ff2e4,{'defIds':_0x13886a[_0x332bdb(0x362)],'idSuffix':_0x38239d['current']},{'ref':_0x48c5d0,'className':_0xd652c3,..._0xe47283},_0x1926ec);}function _0x4c4caa(_0x3c68e9,_0x5936ca,_0x1d7d0e,_0x2d65b0,_0x31ebf4){const _0x30d031=_0x178811;return(0x0,_0x9c4f06[_0x30d031(0x36e)])(_0x3c68e9[_0x30d031(0x3c7)],{'key':_0x5936ca,..._0x4ddf03(_0x3c68e9,_0x1d7d0e,_0x31ebf4),..._0x2d65b0},(_0x2b34d7(_0x3c68e9,_0x1d7d0e)[_0x30d031(0x15a)]||[])[_0x30d031(0x2b3)]((_0x363b82,_0x61cc0d)=>_0x4c4caa(_0x363b82,_0x5936ca+'-'+_0x3c68e9[_0x30d031(0x3c7)]+'-'+_0x61cc0d,_0x1d7d0e,void 0x0,_0x31ebf4)));}function _0x4ddf03(_0x397868,_0x3d6edf,_0x24ee23){const _0x539f02=_0x178811;let _0xd8640f={..._0x397868[_0x539f02(0x302)]};_0x24ee23!=null&&_0x24ee23['colorChannel1']&&_0xd8640f[_0x539f02(0x214)]===_0x539f02(0x19f)&&(_0xd8640f[_0x539f02(0x214)]=_0x24ee23[_0x539f02(0x19f)]),_0x397868['tag']===_0x539f02(0x14e)&&_0xd8640f['id']&&(_0xd8640f['id']+=_0x3d6edf['idSuffix']),Object[_0x539f02(0x23d)](_0xd8640f)[_0x539f02(0x26f)](([_0x31886f,_0x445a4d])=>{const _0x3b07a4=_0x539f02;_0x31886f===_0x3b07a4(0x14e)&&typeof _0x445a4d==_0x3b07a4(0x193)&&(_0xd8640f[_0x31886f]=_0x445a4d['replace'](/url\(#(.*)\)/,_0x3b07a4(0x208)+_0x3d6edf[_0x3b07a4(0x3ca)]+')'));});let {defIds:_0x675b64}=_0x3d6edf;return!_0x675b64||_0x675b64['length']===0x0?_0xd8640f:(_0x397868[_0x539f02(0x3c7)]===_0x539f02(0x169)&&_0xd8640f[_0x539f02(0x3a7)]&&(_0xd8640f[_0x539f02(0x3a7)]+=_0x3d6edf[_0x539f02(0x3ca)]),Object[_0x539f02(0x23d)](_0xd8640f)[_0x539f02(0x26f)](([_0x40e863,_0x3320c2])=>{const _0x1872b0=_0x539f02;typeof _0x3320c2=='string'&&(_0xd8640f[_0x40e863]=_0x3320c2['replace'](/url\(#(.*)\)/,_0x1872b0(0x208)+_0x3d6edf[_0x1872b0(0x3ca)]+')'));}),_0xd8640f);}function _0x2b34d7(_0x87bfb5,_0x21c52e){const _0x675dd0=_0x178811;var _0x321096;let {defIds:_0x53df8b}=_0x21c52e;return!_0x53df8b||_0x53df8b[_0x675dd0(0x2fe)]===0x0?_0x87bfb5:_0x87bfb5['tag']===_0x675dd0(0x1d4)&&(_0x321096=_0x87bfb5[_0x675dd0(0x15a)])!=null&&_0x321096[_0x675dd0(0x2fe)]?{..._0x87bfb5,'children':_0x87bfb5[_0x675dd0(0x15a)][_0x675dd0(0x2b3)](_0x843656=>typeof _0x843656[_0x675dd0(0x302)]['id']=='string'&&_0x53df8b&&_0x53df8b['includes'](_0x843656[_0x675dd0(0x302)]['id'])?{..._0x843656,'attrs':{..._0x843656[_0x675dd0(0x302)],'id':_0x843656['attrs']['id']+_0x21c52e[_0x675dd0(0x3ca)]}}:_0x843656)}:_0x87bfb5;}function _0x2e4395(){const _0x215d3e=_0x178811;return Math[_0x215d3e(0x118)]()['toString'](0x24)[_0x215d3e(0x200)](0x2,0x8);}_0x23f068[_0x178811(0x367)]=_0x178811(0x28d);let _0x58d45a={'tag':_0x178811(0x3b4),'attrs':{'xmlns':_0x178811(0x1d7),'fill':'none','viewBox':_0x178811(0x23f),'width':_0x178811(0x16d),'height':_0x178811(0x16d)},'children':[{'tag':'g','attrs':{'clipPath':_0x178811(0x2ee)},'children':[{'tag':'path','attrs':{'stroke':_0x178811(0x3b9),'d':_0x178811(0x124),'strokeLinecap':_0x178811(0x194),'strokeLinejoin':_0x178811(0x194),'strokeWidth':1.2}}]},{'tag':_0x178811(0x1d4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x178811(0x2b9),'attrs':{'fill':'white','d':_0x178811(0x2e7)}}]}]}],'defIds':[_0x178811(0x106)]},_0x16d462=(0x0,_0x9c4f06[_0x178811(0x1c6)])(function(_0x250d28,_0x4589aa){const _0x1712c4=_0x178811;return(0x0,_0x9c4f06[_0x1712c4(0x36e)])(_0x23f068,Object[_0x1712c4(0x1a5)]({},_0x250d28,{'id':'off-line-icon','ref':_0x4589aa,'icon':_0x58d45a}));});_0x16d462[_0x178811(0x367)]=_0x178811(0x1f9);let _0x40a723={'tag':_0x178811(0x3b4),'attrs':{'xmlns':_0x178811(0x1d7),'fill':_0x178811(0x13a),'viewBox':_0x178811(0x281),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x178811(0x182)},'children':[{'tag':'path','attrs':{'stroke':_0x178811(0x3b9),'d':_0x178811(0x1d2),'strokeLinecap':_0x178811(0x194),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x178811(0x1d4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x178811(0x337)},'children':[{'tag':_0x178811(0x2b9),'attrs':{'fill':_0x178811(0x253),'d':_0x178811(0x2e7),'transform':_0x178811(0x27e)}}]}]}],'defIds':[_0x178811(0x337)]},_0x92893c=(0x0,_0x9c4f06[_0x178811(0x1c6)])(function(_0x1c9072,_0x513424){const _0x285201=_0x178811;return(0x0,_0x9c4f06[_0x285201(0x36e)])(_0x23f068,Object['assign']({},_0x1c9072,{'id':_0x285201(0x269),'ref':_0x513424,'icon':_0x40a723}));});_0x92893c['displayName']=_0x178811(0x311);let _0x5b0c01={'tag':_0x178811(0x3b4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x178811(0x13a),'viewBox':_0x178811(0x23f),'width':_0x178811(0x16d),'height':_0x178811(0x16d)},'children':[{'tag':'path','attrs':{'fill':_0x178811(0x3dd),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x178811(0x2b9),'attrs':{'fill':_0x178811(0x3dd),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x178811(0x2ba),'clipRule':_0x178811(0x2ba)}}]},_0x18ccfe=(0x0,_0x9c4f06[_0x178811(0x1c6)])(function(_0x4cdcd5,_0x261ba3){const _0x5eb94e=_0x178811;return(0x0,_0x9c4f06[_0x5eb94e(0x36e)])(_0x23f068,Object[_0x5eb94e(0x1a5)]({},_0x4cdcd5,{'id':_0x5eb94e(0x326),'ref':_0x261ba3,'icon':_0x5b0c01}));});_0x18ccfe[_0x178811(0x367)]=_0x178811(0x158);function _0x304fd1(_0x311d6a){const _0x4065e7=_0x178811;switch(_0x311d6a){case _0x316dd7[_0x4065e7(0x1a7)]['OFFLINE']:return{'icon':(0x0,_0x292e4b['jsx'])(_0x16d462,{}),'colorClass':_0x4065e7(0x274),'i18nKey':_0x4065e7(0x161),'tooltipKey':'collab-client.tooltip.reconnect','clickable':!0x0,'indicator':_0x4065e7(0x146)};case _0x316dd7[_0x4065e7(0x1a7)][_0x4065e7(0x273)]:return{'icon':(0x0,_0x292e4b[_0x4065e7(0x15f)])(_0x16d462,{}),'colorClass':_0x4065e7(0x2c4),'i18nKey':_0x4065e7(0x217),'clickable':!0x1,'indicator':_0x4065e7(0x146)};case _0x316dd7['CollaborationStatus'][_0x4065e7(0x285)]:return{'icon':(0x0,_0x292e4b[_0x4065e7(0x15f)])(_0x18ccfe,{}),'colorClass':_0x4065e7(0x10f),'i18nKey':_0x4065e7(0x125),'clickable':!0x1,'indicator':_0x4065e7(0x35d)};case _0x316dd7[_0x4065e7(0x1a7)][_0x4065e7(0x159)]:return{'icon':(0x0,_0x292e4b[_0x4065e7(0x15f)])(_0x92893c,{}),'colorClass':_0x4065e7(0x19c),'i18nKey':'collabStatus.notCollab','clickable':!0x1,'indicator':_0x4065e7(0x146)};case _0x316dd7[_0x4065e7(0x1a7)][_0x4065e7(0x376)]:case _0x316dd7[_0x4065e7(0x1a7)][_0x4065e7(0x108)]:return{'icon':(0x0,_0x292e4b[_0x4065e7(0x15f)])(_0x18ccfe,{}),'colorClass':_0x4065e7(0x10f),'i18nKey':_0x4065e7(0x1d0),'clickable':!0x1,'indicator':'spin'};case _0x316dd7['CollaborationStatus']['SYNCED']:case _0x316dd7[_0x4065e7(0x1a7)]['PENDING']:return{'icon':(0x0,_0x292e4b['jsx'])(_0x92893c,{}),'colorClass':_0x4065e7(0x24a),'i18nKey':'collabStatus.synced','clickable':!0x1,'indicator':_0x4065e7(0x146)};}}function _0x182ba1(_0x3bcd29){const _0x2f3ee5=_0x178811;let {status$:_0x17528b}=_0x3bcd29,_0x3ba8a5=(0x0,_0x4b4951[_0x2f3ee5(0x1ce)])(_0x17528b,_0x316dd7[_0x2f3ee5(0x1a7)][_0x2f3ee5(0x159)]),_0x1a48fd=(0x0,_0x4b4951[_0x2f3ee5(0x195)])(_0x388d59[_0x2f3ee5(0x130)]),_0x91cbc=(0x0,_0x4b4951[_0x2f3ee5(0x195)])(_0x316dd7[_0x2f3ee5(0x2b7)]),_0x447ab3=(0x0,_0x9c4f06[_0x2f3ee5(0x2c8)])(()=>_0x304fd1(_0x3ba8a5),[_0x3ba8a5]),_0x434bc6=_0x3ba8a5!==_0x316dd7[_0x2f3ee5(0x1a7)][_0x2f3ee5(0x336)],_0xecf17d=_0x1a48fd['t'](_0x447ab3['i18nKey']),_0x1e7ab6=_0x447ab3['tooltipKey']?_0x1a48fd['t'](_0x447ab3[_0x2f3ee5(0x2c9)]):_0xecf17d,_0x3d50cd=(0x0,_0x9c4f06['useCallback'])(()=>{const _0x4fdb43=_0x2f3ee5;_0x434bc6||_0x91cbc[_0x4fdb43(0x1e6)]();},[_0x434bc6,_0x91cbc]),_0x3b0c37=(0x0,_0x9c4f06[_0x2f3ee5(0x323)])(_0x13f8bb=>{const _0x1c85aa=_0x2f3ee5;!_0x434bc6&&(_0x13f8bb[_0x1c85aa(0x151)]==='Enter'||_0x13f8bb[_0x1c85aa(0x151)]==='\x20')&&(_0x13f8bb['preventDefault'](),_0x91cbc[_0x1c85aa(0x1e6)]());},[_0x434bc6,_0x91cbc]),_0x4042b7=(0x0,_0x292e4b[_0x2f3ee5(0x15f)])('span',{'className':(0x0,_0x557885['clsx'])(_0x2f3ee5(0x20c),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x447ab3[_0x2f3ee5(0x3c4)],{'univer-animate-spin':_0x447ab3[_0x2f3ee5(0x15b)]===_0x2f3ee5(0x35d),'univer-animate-pulse':_0x447ab3[_0x2f3ee5(0x15b)]===_0x2f3ee5(0x12e)}),'aria-hidden':_0x2f3ee5(0x2ff),'children':_0x447ab3['icon']}),_0x1da972=(0x0,_0x292e4b[_0x2f3ee5(0x15f)])(_0x2f3ee5(0x165),{'className':(0x0,_0x557885[_0x2f3ee5(0x333)])(_0x2f3ee5(0x20c),'univer-h-8\x20univer-w-8\x20univer-rounded-lg',_0x2f3ee5(0x3a5),_0x2f3ee5(0x331),_0x2f3ee5(0x276),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x447ab3[_0x2f3ee5(0x249)],'univer-cursor-default':!_0x447ab3[_0x2f3ee5(0x249)]}),'children':_0x4042b7});return _0x447ab3[_0x2f3ee5(0x249)]?(0x0,_0x292e4b['jsx'])(_0x557885[_0x2f3ee5(0x28b)],{'title':_0x1e7ab6,'placement':_0x2f3ee5(0x2be),'children':(0x0,_0x292e4b[_0x2f3ee5(0x15f)])(_0x2f3ee5(0x136),{'type':'button','onClick':_0x3d50cd,'onKeyDown':_0x3b0c37,'className':(0x0,_0x557885[_0x2f3ee5(0x333)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x2f3ee5(0x1cd),_0x2f3ee5(0x3a4),_0x2f3ee5(0x2e5)),'aria-label':_0xecf17d+_0x2f3ee5(0x3b8)+_0x1e7ab6,'role':_0x2f3ee5(0x26e),'aria-live':_0x2f3ee5(0x2bc),'aria-atomic':_0x2f3ee5(0x2ff),'children':_0x1da972})}):(0x0,_0x292e4b[_0x2f3ee5(0x15f)])(_0x557885['Tooltip'],{'title':_0x1e7ab6,'placement':_0x2f3ee5(0x2be),'children':(0x0,_0x292e4b[_0x2f3ee5(0x15f)])(_0x2f3ee5(0x263),{'className':(0x0,_0x557885[_0x2f3ee5(0x333)])(_0x2f3ee5(0x231),'univer-border-none\x20univer-bg-transparent',_0x2f3ee5(0x3a4)),'aria-label':_0xecf17d,'role':_0x2f3ee5(0x26e),'aria-live':_0x2f3ee5(0x2bc),'aria-atomic':'true','children':_0x1da972})});}function _0x4ad1ea(_0x2d2889){'@babel/helpers - typeof';const _0x4bf0bb=_0x178811;return _0x4ad1ea=typeof Symbol=='function'&&typeof Symbol[_0x4bf0bb(0x1de)]==_0x4bf0bb(0x1f4)?function(_0x257bf0){return typeof _0x257bf0;}:function(_0x450b9b){const _0x4a7829=_0x4bf0bb;return _0x450b9b&&typeof Symbol=='function'&&_0x450b9b[_0x4a7829(0x31b)]===Symbol&&_0x450b9b!==Symbol[_0x4a7829(0x2a1)]?_0x4a7829(0x1f4):typeof _0x450b9b;},_0x4ad1ea(_0x2d2889);}function _0x4c199e(_0x285a1d,_0x263f1c){const _0x1cd94c=_0x178811;if(_0x4ad1ea(_0x285a1d)!=_0x1cd94c(0x25a)||!_0x285a1d)return _0x285a1d;var _0x4cfb3d=_0x285a1d[Symbol[_0x1cd94c(0x254)]];if(_0x4cfb3d!==void 0x0){var _0x203d05=_0x4cfb3d[_0x1cd94c(0x34a)](_0x285a1d,_0x263f1c||'default');if(_0x4ad1ea(_0x203d05)!=_0x1cd94c(0x25a))return _0x203d05;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x263f1c===_0x1cd94c(0x193)?String:Number)(_0x285a1d);}function _0x37f725(_0x7196f7){const _0x5ded18=_0x178811;var _0x40fbb5=_0x4c199e(_0x7196f7,_0x5ded18(0x193));return _0x4ad1ea(_0x40fbb5)==_0x5ded18(0x1f4)?_0x40fbb5:_0x40fbb5+'';}function _0x42fde9(_0x184023,_0x4c40c4,_0x3243a8){return(_0x4c40c4=_0x37f725(_0x4c40c4))in _0x184023?Object['defineProperty'](_0x184023,_0x4c40c4,{'value':_0x3243a8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x184023[_0x4c40c4]=_0x3243a8,_0x184023;}function _0x19b9fb(_0x16a029,_0xa2972d){return function(_0xeca7d7,_0x4b0f28){_0xa2972d(_0xeca7d7,_0x4b0f28,_0x16a029);};}function _0x5cbc75(_0xb09ba6,_0x1d50b8,_0x408cab,_0x5f1361){const _0x152450=_0x178811;var _0x1a09a6=arguments[_0x152450(0x2fe)],_0x30c627=_0x1a09a6<0x3?_0x1d50b8:_0x5f1361===null?_0x5f1361=Object['getOwnPropertyDescriptor'](_0x1d50b8,_0x408cab):_0x5f1361,_0x221c72;if(typeof Reflect==_0x152450(0x25a)&&typeof Reflect['decorate']==_0x152450(0x2d1))_0x30c627=Reflect[_0x152450(0x122)](_0xb09ba6,_0x1d50b8,_0x408cab,_0x5f1361);else{for(var _0x30c744=_0xb09ba6['length']-0x1;_0x30c744>=0x0;_0x30c744--)(_0x221c72=_0xb09ba6[_0x30c744])&&(_0x30c627=(_0x1a09a6<0x3?_0x221c72(_0x30c627):_0x1a09a6>0x3?_0x221c72(_0x1d50b8,_0x408cab,_0x30c627):_0x221c72(_0x1d50b8,_0x408cab))||_0x30c627);}return _0x1a09a6>0x3&&_0x30c627&&Object['defineProperty'](_0x1d50b8,_0x408cab,_0x30c627),_0x30c627;}let _0x27efdb=class extends _0x388d59[_0x178811(0x258)]{constructor(_0x55aebc,_0x49c6e0,_0x4a310d,_0x171d4c){const _0x49eaed=_0x178811;super(),this['_univerInstanceService']=_0x55aebc,this[_0x49eaed(0x12c)]=_0x49c6e0,this[_0x49eaed(0x241)]=_0x4a310d,this['_uiPartsService']=_0x171d4c,_0x42fde9(this,_0x49eaed(0x3ab),new _0x5f234d[(_0x49eaed(0x34e))](_0x316dd7['CollaborationStatus'][_0x49eaed(0x159)])),this['_initStatusComponent'](),this['_initStatusListener']();}['_initStatusListener'](){const _0x2bc639=_0x178811;this[_0x2bc639(0x30a)](this[_0x2bc639(0x3d7)][_0x2bc639(0x22c)][_0x2bc639(0x293)]((0x0,_0x5f234d['switchMap'])(()=>{const _0x4d2215=_0x2bc639;let _0x1a1a1e=this[_0x4d2215(0x3d7)]['getFocusedUnit']();return _0x1a1a1e?this[_0x4d2215(0x241)][_0x4d2215(0x248)](_0x1a1a1e['getUnitId']()):(0x0,_0x5f234d['of'])(null);}),(0x0,_0x5f234d[_0x2bc639(0x17b)])(_0x3974c6=>_0x3974c6?_0x3974c6[_0x2bc639(0x35c)]:(0x0,_0x5f234d['of'])(_0x316dd7[_0x2bc639(0x1a7)][_0x2bc639(0x159)])))['subscribe'](_0xfc3006=>{const _0x112e1a=_0x2bc639;this[_0x112e1a(0x3ab)][_0x112e1a(0x304)](_0xfc3006);}));}[_0x178811(0x393)](){const _0xf05fc2=_0x178811;this[_0xf05fc2(0x30a)](this[_0xf05fc2(0x3e4)][_0xf05fc2(0x36f)](_0x4b4951['BuiltInUIPart'][_0xf05fc2(0x2d6)],()=>(0x0,_0x4b4951['connectInjector'])(_0x4f5491({'status$':this['_status$'][_0xf05fc2(0x315)]()}),this['_injector'])));}};_0x27efdb=_0x5cbc75([_0x19b9fb(0x0,_0x388d59[_0x178811(0x149)]),_0x19b9fb(0x1,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x266)])),_0x19b9fb(0x2,(0x0,_0x388d59[_0x178811(0x14b)])(_0x316dd7[_0x178811(0x1ff)])),_0x19b9fb(0x3,_0x4b4951['IUIPartsService'])],_0x27efdb);function _0x4f5491(_0x3088b3){let {status$:_0x57f5f5}=_0x3088b3;return function(){const _0x4fd3f8=_0x4aba;return(0x0,_0x292e4b[_0x4fd3f8(0x15f)])(_0x182ba1,{'status$':_0x57f5f5});};}let _0x5803f9=(0x0,_0x388d59['createIdentifier'])(_0x178811(0x121)),_0x251c30=class extends _0x388d59[_0x178811(0x3bc)]{constructor(_0x37c224,_0x3fd5e3,_0x34ad42,_0x1ed873,_0x4ac974){const _0x54c339=_0x178811;super(),this[_0x54c339(0x291)]=_0x37c224,this['_logService']=_0x3fd5e3,this[_0x54c339(0x3e8)]=_0x34ad42,this[_0x54c339(0x21d)]=_0x1ed873,_0x4ac974?_0x4ac974==null||_0x4ac974[_0x54c339(0x292)]()['then'](()=>this['_init']()):(this['_logService']['debug'](_0x54c339(0x2a0),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x54c339(0x37e)]());}async['_init'](){const _0x36c8d6=_0x178811;let _0x2113a6=this[_0x36c8d6(0x291)]['getParam']('unit'),_0x3914c2=this[_0x36c8d6(0x291)][_0x36c8d6(0x197)](_0x36c8d6(0x2e4)),_0x50ef13=this[_0x36c8d6(0x291)]['getParam'](_0x36c8d6(0x303));if(!_0x2113a6||!_0x3914c2){this[_0x36c8d6(0x135)]['debug'](_0x36c8d6(0x2a0),_0x36c8d6(0x14a));return;}let _0x54500e=await this[_0x36c8d6(0x21d)][_0x36c8d6(0x363)](_0x2113a6,Number(_0x3914c2),_0x50ef13);_0x54500e&&_0x54500e instanceof _0x388d59[_0x36c8d6(0x2a6)]&&this[_0x36c8d6(0x1c0)](_0x54500e);}async[_0x178811(0x1c0)](_0x27a81d){const _0x37f960=_0x178811;await this[_0x37f960(0x22b)](_0x27a81d),_0x27a81d['activeSheet$']['pipe']((0x0,_0x5f234d['takeUntil'])(this['dispose$']))[_0x37f960(0x113)](_0x296835=>{const _0x2c85c9=_0x37f960;_0x296835&&this[_0x2c85c9(0x38c)](_0x296835);}),this[_0x37f960(0x291)][_0x37f960(0x176)][_0x37f960(0x293)]((0x0,_0x5f234d['takeUntil'])(this['dispose$']))[_0x37f960(0x113)](()=>this[_0x37f960(0x22b)](_0x27a81d));}[_0x178811(0x38c)](_0x3b6ac5,_0x362e60=!0x1){const _0x2de507=_0x178811;let _0x5aecbb=this['_urlService'][_0x2de507(0x197)](_0x2de507(0x303));_0x3b6ac5[_0x2de507(0x209)]()!==_0x5aecbb&&this[_0x2de507(0x291)][_0x2de507(0x28c)](_0x2de507(0x303),_0x3b6ac5[_0x2de507(0x209)](),_0x362e60);}async[_0x178811(0x22b)](_0x1b733f){const _0x429ba5=_0x178811;var _0x23274d;let _0x4fbac2=this['_urlService']['getParam'](_0x429ba5(0x303));if(!_0x4fbac2||!_0x1b733f[_0x429ba5(0x320)](_0x4fbac2)){let _0x557226=_0x1b733f[_0x429ba5(0x350)]()[0x0],_0x47c6ae=_0x1b733f['getSheetBySheetId'](_0x557226);if(!_0x47c6ae)return;this[_0x429ba5(0x38c)](_0x47c6ae,!0x0),await this[_0x429ba5(0x3e8)][_0x429ba5(0x1d3)](_0x19978b[_0x429ba5(0x34b)]['id'],{'unitId':_0x1b733f[_0x429ba5(0x3ac)](),'subUnitId':_0x557226});return;}((_0x23274d=_0x1b733f[_0x429ba5(0x2e6)]())==null?void 0x0:_0x23274d[_0x429ba5(0x209)]())!==_0x4fbac2&&await this[_0x429ba5(0x3e8)][_0x429ba5(0x1d3)](_0x19978b[_0x429ba5(0x34b)]['id'],{'unitId':_0x1b733f['getUnitId'](),'subUnitId':_0x4fbac2});}};_0x251c30=_0x5cbc75([_0x19b9fb(0x0,_0x5803f9),_0x19b9fb(0x1,_0x388d59[_0x178811(0x2ac)]),_0x19b9fb(0x2,_0x388d59[_0x178811(0x22f)]),_0x19b9fb(0x3,(0x0,_0x388d59[_0x178811(0x14b)])(_0x316dd7['DataLoaderService'])),_0x19b9fb(0x4,(0x0,_0x388d59[_0x178811(0x2db)])(_0x394f89[_0x178811(0x1b5)]))],_0x251c30);var _0xa4800f='@univerjs-pro/collaboration-client-ui',_0x19f08f='0.24.0';let _0x598a7a=class extends _0x388d59['RxDisposable']{constructor(_0x2be244,_0x12a46d){const _0x565bc0=_0x178811;super(),this[_0x565bc0(0x26b)]=_0x2be244,this[_0x565bc0(0x15c)]=_0x12a46d,this[_0x565bc0(0x37e)]();}[_0x178811(0x37e)](){const _0x509dfb=_0x178811;let _0x500eeb=this;this[_0x509dfb(0x30a)](this[_0x509dfb(0x26b)][_0x509dfb(0x19d)]({'onBeforePasteImage':async _0x16f88f=>{const _0x2f3dc9=_0x509dfb;let _0xd469ac=await _0x500eeb[_0x2f3dc9(0x15c)][_0x2f3dc9(0x174)](_0x16f88f);return _0xd469ac?{'source':_0xd469ac[_0x2f3dc9(0x2eb)],'imageSourceType':_0xd469ac[_0x2f3dc9(0x20e)]}:null;}}));}};_0x598a7a=_0x5cbc75([_0x19b9fb(0x0,_0x2c1d91[_0x178811(0x39c)]),_0x19b9fb(0x1,_0x3e3bfb[_0x178811(0x392)])],_0x598a7a);let _0x3c62fb=[_0x178811(0x22d),'jiqing.500',_0x178811(0x10e),'red.300',_0x178811(0x155),'yellow.400'];var _0x3143aa=class extends _0x388d59[_0x178811(0x258)]{constructor(..._0xdf72a4){super(..._0xdf72a4),_0x42fde9(this,'_assignedColors',new Map()),_0x42fde9(this,'_colorIndex',0x0);}[_0x178811(0x28e)](_0x29f9d8){const _0x199a26=_0x178811;if(this[_0x199a26(0x21f)][_0x199a26(0x28a)](_0x29f9d8))return this['_assignedColors'][_0x199a26(0x27d)](_0x29f9d8);let _0x530395=_0x3c62fb[this[_0x199a26(0x14f)]];return this['_colorIndex']=(this[_0x199a26(0x14f)]+0x1)%_0x3c62fb['length'],this[_0x199a26(0x21f)][_0x199a26(0x23c)](_0x29f9d8,_0x530395),_0x530395;}};function _0x509e9f(_0xfa3195){const _0x4aac35=_0x178811;let _0x4600f1='';for(let _0x2454c6 of _0xfa3195){let {startOffset:_0x661abc,endOffset:_0xcd4658,isActive:_0x2b6cd8,rangeType:_0x3492f7,segmentId:_0x473478,segmentPage:_0x555849}=_0x2454c6;_0x4600f1[_0x4aac35(0x2fe)]&&(_0x4600f1+=','),_0x4600f1+=_0x661abc+':'+_0xcd4658+':'+(_0x2b6cd8?'1':'0')+':'+_0x3492f7+':'+_0x473478+':'+_0x555849;}return _0x4600f1;}function _0x432805(_0x5e0d49){const _0x288980=_0x178811;let _0x34b7d7=_0x5e0d49['split'](','),_0xeff154=[];for(let _0x265271 of _0x34b7d7){let [_0x298189,_0x3325be,_0x189bd0,_0x4c3212,_0x5849ec,_0x2f3b07]=_0x265271['split'](':');_0xeff154['push']({'startOffset':Number(_0x298189),'endOffset':Number(_0x3325be),'collapsed':_0x298189===_0x3325be,'isActive':_0x189bd0==='1','rangeType':_0x4c3212===_0x388d59[_0x288980(0x1b8)][_0x288980(0x2c6)]?_0x388d59['DOC_RANGE_TYPE'][_0x288980(0x2c6)]:_0x388d59[_0x288980(0x1b8)][_0x288980(0x3bd)],'segmentId':typeof _0x5849ec==_0x288980(0x193)?String(_0x5849ec):'','segmentPage':Number(_0x2f3b07==null?-0x1:_0x2f3b07)});}return _0xeff154['some'](_0x5aec9b=>_0x5aec9b[_0x288980(0x287)])||(_0xeff154[0x0][_0x288980(0x287)]=!0x0),_0xeff154;}var _0x1e350a=class extends _0x388d59[_0x178811(0x3bc)]{constructor(..._0xdd0ee3){const _0x3e3b14=_0x178811;super(..._0xdd0ee3),_0x42fde9(this,_0x3e3b14(0x286),new _0x5f234d[(_0x3e3b14(0x34e))](null)),_0x42fde9(this,_0x3e3b14(0x314),this[_0x3e3b14(0x286)][_0x3e3b14(0x315)]());}[_0x178811(0x3a3)](_0x2e23e3){const _0x1af647=_0x178811;let {unitID:_0x4504ea,memberID:_0x4abc1e,textRanges:_0x4877a9}=_0x2e23e3,_0x8b6348=_0x509e9f(_0x4877a9);if(_0x8b6348==='')return;let _0x23dd5e={'unitID':_0x4504ea,'memberID':_0x4abc1e,'selection':_0x8b6348};this[_0x1af647(0x286)][_0x1af647(0x304)](_0x23dd5e);}};let _0x586670=class extends _0x388d59[_0x178811(0x3bc)]{get[_0x178811(0x206)](){const _0x23f32c=_0x178811;return this['_cursorInfo$'][_0x23f32c(0x247)]();}get['roomMembers'](){const _0x72946e=_0x178811;return this[_0x72946e(0x127)][_0x72946e(0x247)]();}constructor(_0x4e810a,_0x5bfa55,_0x47f6d0,_0xbc4f15,_0x5177c3,_0x3f289d,_0x3ea006,_0x5794db,_0x55bc25){const _0x1da023=_0x178811;super(),this['unitID']=_0x4e810a,this[_0x1da023(0x319)]=_0x5bfa55,this['_injector']=_0x47f6d0,this[_0x1da023(0x2a4)]=_0xbc4f15,this[_0x1da023(0x107)]=_0x5177c3,this[_0x1da023(0x1b3)]=_0x3f289d,this[_0x1da023(0x1f6)]=_0x3ea006,this[_0x1da023(0x3d7)]=_0x5794db,this['_commandService']=_0x55bc25,_0x42fde9(this,_0x1da023(0x10d),!0x1),_0x42fde9(this,_0x1da023(0x37e),!0x1),_0x42fde9(this,'_cursorInfo$',new _0x5f234d['BehaviorSubject'](new Map())),_0x42fde9(this,_0x1da023(0x172),this[_0x1da023(0x2b8)]['asObservable']()),_0x42fde9(this,_0x1da023(0x127),new _0x5f234d[(_0x1da023(0x34e))]([])),_0x42fde9(this,_0x1da023(0x184),this['_roomMembers$'][_0x1da023(0x293)]((0x0,_0x5f234d[_0x1da023(0x185)])(0x12c))),_0x42fde9(this,'_updateLocalCursor',(0x0,_0x388d59[_0x1da023(0x351)])(_0x49efcf=>{const _0x2141c1=_0x1da023;let _0x5d0b20={'eventID':_0x2b86a0[_0x2141c1(0x2ef)][_0x2141c1(0x1e5)],'data':{'unitID':this[_0x2141c1(0x399)],'memberID':this[_0x2141c1(0x319)][_0x2141c1(0x139)](),'selection':_0x509e9f(_0x49efcf)}};this[_0x2141c1(0x319)][_0x2141c1(0x13f)](_0x5d0b20,this[_0x2141c1(0x399)]);},0x64));}[_0x178811(0x25c)](){const _0x3f39d2=_0x178811;super[_0x3f39d2(0x25c)](),this[_0x3f39d2(0x2b8)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x3f39d2(0x127)]['next']([]),this[_0x3f39d2(0x127)][_0x3f39d2(0x1aa)]();}['init'](){const _0x4f2db6=_0x178811;this[_0x4f2db6(0x37e)]||(this[_0x4f2db6(0x37e)]=!0x0,this['_session'][_0x4f2db6(0x2dd)][_0x4f2db6(0x293)]((0x0,_0x5f234d[_0x4f2db6(0x24d)])(this['dispose$']))[_0x4f2db6(0x113)](_0x547323=>{const _0x433153=_0x4f2db6;_0x547323===_0x316dd7[_0x433153(0x279)][_0x433153(0x11c)]?this['_toggleOnline']():this[_0x433153(0x3c0)]();}),this[_0x4f2db6(0x319)][_0x4f2db6(0x3ce)][_0x4f2db6(0x293)]((0x0,_0x5f234d[_0x4f2db6(0x24d)])(this[_0x4f2db6(0x373)]))['subscribe'](_0x18d160=>{const _0xa24ac3=_0x4f2db6;let _0x51520f=_0x18d160[_0xa24ac3(0x17e)];_0x51520f===_0x2b86a0[_0xa24ac3(0x2ef)]['UPDATE_CURSOR']&&this[_0xa24ac3(0x372)](_0x18d160),_0x51520f===_0x2b86a0[_0xa24ac3(0x2ef)][_0xa24ac3(0x2d8)]&&this[_0xa24ac3(0x1b9)](_0x18d160);}),this['disposeWithMe'](this[_0x4f2db6(0x3e8)][_0x4f2db6(0x218)](_0x139c45=>{const _0x5cb849=_0x4f2db6;let _0x360ac5=_0x139c45[_0x5cb849(0x3d1)];_0x360ac5!=null&&this[_0x5cb849(0x10d)]&&_0x139c45['id']===_0x53fea4[_0x5cb849(0x2bd)]['id']&&_0x360ac5[_0x5cb849(0x398)]===this[_0x5cb849(0x399)]&&_0x360ac5[_0x5cb849(0x1b7)]===!0x1&&_0x360ac5[_0x5cb849(0x117)][_0x5cb849(0x2fe)]>0x0&&this['_updateLocalCursor'](_0x360ac5[_0x5cb849(0x117)]);})),this['_syncEditingCollabCursorService'][_0x4f2db6(0x314)][_0x4f2db6(0x293)]((0x0,_0x5f234d[_0x4f2db6(0x24d)])(this[_0x4f2db6(0x373)]))[_0x4f2db6(0x113)](_0x275cc7=>{const _0x3bb504=_0x4f2db6;if((_0x275cc7==null?void 0x0:_0x275cc7[_0x3bb504(0x399)])!==this[_0x3bb504(0x399)])return;let _0x4c9d45={'eventID':_0x2b86a0[_0x3bb504(0x2ef)][_0x3bb504(0x1e5)],'data':_0x275cc7};this['_onCursorUpdate'](_0x4c9d45);}),this[_0x4f2db6(0x30a)](this[_0x4f2db6(0x3e8)][_0x4f2db6(0x218)](_0x1bb0d9=>{const _0x461146=_0x4f2db6;if(_0x1bb0d9[_0x461146(0x3d1)]==null)return;let _0x2a936d=_0x1bb0d9[_0x461146(0x3d1)];if(_0x1bb0d9['id']!==_0x53fea4[_0x461146(0x20d)]['id']||_0x2a936d[_0x461146(0x398)]!==this[_0x461146(0x399)])return;let _0x29d063={'id':'doc.mutation.rich-text-editing','params':_0x2a936d},_0x18ea48=this[_0x461146(0x206)];for(let [_0x1825e3,_0x5dbb30]of _0x18ea48){let _0x9481d4={'id':_0x461146(0x17c),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5dbb30['ranges']}},_0x103d8f=this[_0x461146(0x1f6)]['transformMutation'](_0x29d063,_0x9481d4,!0x1);if((0x0,_0x2b86a0[_0x461146(0x1fc)])(_0x103d8f))throw _0x103d8f[_0x461146(0x3a8)];_0x18ea48['set'](_0x1825e3,{..._0x5dbb30,'ranges':_0x103d8f['m2Prime']['params'][_0x461146(0x1d9)]});}queueMicrotask(()=>{const _0x39f9bd=_0x461146;this[_0x39f9bd(0x2b8)][_0x39f9bd(0x304)](_0x18ea48);});})));}[_0x178811(0x372)](_0x35b7bf){const _0x1ae173=_0x178811;var _0x11b3c1,_0x2cb3ff;let {memberID:_0x3c30c1,selection:_0x8ac643}=_0x35b7bf['data'],_0x50d8ab=_0x432805(_0x8ac643),_0xc99d90=(_0x11b3c1=(_0x2cb3ff=this[_0x1ae173(0x107)][_0x1ae173(0x203)](this[_0x1ae173(0x399)],_0x3c30c1))==null?void 0x0:_0x2cb3ff[_0x1ae173(0x33b)])==null?_0x1ae173(0x2b0):_0x11b3c1,_0x4666dc={'color':this['_colorAssignService'][_0x1ae173(0x28e)](_0x3c30c1),'name':_0xc99d90,'ranges':_0x50d8ab},_0x124f60=this[_0x1ae173(0x206)];_0x124f60['set'](_0x3c30c1,_0x4666dc),this[_0x1ae173(0x2b8)][_0x1ae173(0x304)](_0x124f60);}[_0x178811(0x1b9)](_0x32c117){const _0x161669=_0x178811;let {memberID:_0x8b3451}=_0x32c117[_0x161669(0x301)],_0x3ca484=this[_0x161669(0x206)];_0x3ca484[_0x161669(0x3dc)](_0x8b3451),this[_0x161669(0x2b8)][_0x161669(0x304)](_0x3ca484);}['_toggleOnline'](){const _0x541a76=_0x178811;var _0x5d6936;if(this[_0x541a76(0x10d)]=!0x0,((_0x5d6936=this[_0x541a76(0x3d7)][_0x541a76(0x1fb)]())==null?void 0x0:_0x5d6936[_0x541a76(0x3ac)]())!==this[_0x541a76(0x399)])return;let _0x4eb412=this[_0x541a76(0x12c)][_0x541a76(0x27d)](_0x53fea4[_0x541a76(0x27b)])[_0x541a76(0x10a)]();Array[_0x541a76(0x237)](_0x4eb412)&&_0x4eb412['length']>0x0&&this[_0x541a76(0x123)](_0x4eb412);}[_0x178811(0x3c0)](){this['_online']=!0x1;}};_0x586670=_0x5cbc75([_0x19b9fb(0x2,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x266)])),_0x19b9fb(0x3,(0x0,_0x388d59['Inject'])(_0x3143aa)),_0x19b9fb(0x4,(0x0,_0x388d59[_0x178811(0x14b)])(_0x316dd7[_0x178811(0x2c3)])),_0x19b9fb(0x5,(0x0,_0x388d59[_0x178811(0x14b)])(_0x1e350a)),_0x19b9fb(0x6,_0x2b86a0[_0x178811(0x3c8)]),_0x19b9fb(0x7,_0x388d59[_0x178811(0x149)]),_0x19b9fb(0x8,_0x388d59[_0x178811(0x22f)])],_0x586670);let _0x1bfc0b=()=>{let _0x475c06=[],_0x237b3d=!0x1;return _0x5dde47=>{const _0x36ffa0=_0x4aba;_0x475c06[_0x36ffa0(0x148)](_0x5dde47),_0x237b3d||(_0x237b3d=!0x0,setTimeout(()=>{const _0x4c1b66=_0x36ffa0;_0x475c06[_0x4c1b66(0x26f)](_0x2d0df8=>_0x2d0df8()),_0x475c06=[],_0x237b3d=!0x1;}));};},_0x2f18ac=class extends _0x388d59['RxDisposable']{get[_0x178811(0x206)](){const _0x29d8ea=_0x178811;return this[_0x29d8ea(0x2b8)][_0x29d8ea(0x247)]();}get['roomMembers'](){const _0x10682f=_0x178811;return this[_0x10682f(0x127)][_0x10682f(0x247)]();}constructor(_0x55b1f9,_0x1ba98f,_0x3daeab,_0x3f57b3,_0x5c6627,_0x77d04b,_0x4e2199,_0x3e0b85){const _0x3b17cd=_0x178811;super(),this['unitID']=_0x55b1f9,this[_0x3b17cd(0x319)]=_0x1ba98f,this['_injector']=_0x3daeab,this['_colorAssignService']=_0x3f57b3,this[_0x3b17cd(0x107)]=_0x5c6627,this[_0x3b17cd(0x3d7)]=_0x77d04b,this[_0x3b17cd(0x3e8)]=_0x4e2199,this[_0x3b17cd(0x1f0)]=_0x3e0b85,_0x42fde9(this,_0x3b17cd(0x10d),!0x1),_0x42fde9(this,_0x3b17cd(0x37e),!0x1),_0x42fde9(this,_0x3b17cd(0x2b8),new _0x5f234d[(_0x3b17cd(0x34e))](new Map())),_0x42fde9(this,_0x3b17cd(0x172),this[_0x3b17cd(0x2b8)][_0x3b17cd(0x315)]()),_0x42fde9(this,_0x3b17cd(0x127),new _0x5f234d[(_0x3b17cd(0x34e))]([])),_0x42fde9(this,_0x3b17cd(0x184),this[_0x3b17cd(0x127)][_0x3b17cd(0x293)]((0x0,_0x5f234d[_0x3b17cd(0x185)])(0x12c))),_0x42fde9(this,_0x3b17cd(0x123),(0x0,_0x388d59[_0x3b17cd(0x351)])((_0x1edde2,_0x5107ca)=>{const _0x4464be=_0x3b17cd;let _0x4ec98b={'eventID':_0x2b86a0['CollaborationEvent'][_0x4464be(0x1e5)],'data':{'unitID':this[_0x4464be(0x399)],'memberID':this['_session'][_0x4464be(0x139)](),'selection':(0x0,_0x5eb7bd[_0x4464be(0x1ac)])(_0x1edde2,_0x5107ca['range'])}};this[_0x4464be(0x319)][_0x4464be(0x13f)](_0x4ec98b,this[_0x4464be(0x399)]);},0x64));}[_0x178811(0x25c)](){const _0x18fb50=_0x178811;super[_0x18fb50(0x25c)](),this[_0x18fb50(0x2b8)][_0x18fb50(0x304)](new Map()),this[_0x18fb50(0x2b8)][_0x18fb50(0x1aa)](),this[_0x18fb50(0x127)]['next']([]),this[_0x18fb50(0x127)][_0x18fb50(0x1aa)]();}[_0x178811(0x3cc)](){const _0x2a6053=_0x178811;this[_0x2a6053(0x37e)]||(this[_0x2a6053(0x37e)]=!0x0,this[_0x2a6053(0x319)][_0x2a6053(0x2dd)][_0x2a6053(0x293)]((0x0,_0x5f234d[_0x2a6053(0x24d)])(this[_0x2a6053(0x373)]))[_0x2a6053(0x113)](_0x5ed516=>{const _0x5bee86=_0x2a6053;_0x5ed516===_0x316dd7[_0x5bee86(0x279)][_0x5bee86(0x11c)]?this[_0x5bee86(0x13d)]():this[_0x5bee86(0x3c0)]();}),this[_0x2a6053(0x319)][_0x2a6053(0x3ce)][_0x2a6053(0x293)]((0x0,_0x5f234d[_0x2a6053(0x24d)])(this[_0x2a6053(0x373)]))['subscribe'](_0x452854=>{const _0x5a8e7c=_0x2a6053;let _0x1386d5=_0x452854['eventID'];_0x1386d5===_0x2b86a0['CollaborationEvent'][_0x5a8e7c(0x1e5)]&&this[_0x5a8e7c(0x372)](_0x452854),_0x1386d5===_0x2b86a0['CollaborationEvent']['USERS_LEAVE']&&this[_0x5a8e7c(0x1b9)](_0x452854);}),this[_0x2a6053(0x171)](),this[_0x2a6053(0x30a)](this[_0x2a6053(0x3e8)]['onCommandExecuted'](_0xc3167a=>{const _0x45c1fd=_0x2a6053;if(this[_0x45c1fd(0x10d)]&&_0xc3167a['id']===_0x19978b[_0x45c1fd(0x380)]['id']&&_0xc3167a['params'][_0x45c1fd(0x398)]===this[_0x45c1fd(0x399)]){let _0x37509e=_0xc3167a['params'];this[_0x45c1fd(0x123)](_0x37509e[_0x45c1fd(0x24e)],_0x37509e[_0x45c1fd(0x39d)][0x0]);}})));}[_0x178811(0x372)](_0x51c363){const _0x166aa5=_0x178811;var _0x511db8,_0x1d370d;let {memberID:_0x31a43f,selection:_0x4476de}=_0x51c363[_0x166aa5(0x301)],{sheetName:_0x11d32a,range:_0x42b9fa}=(0x0,_0x5eb7bd[_0x166aa5(0x20b)])(_0x4476de),_0x12ac5f={'name':(_0x511db8=(_0x1d370d=this[_0x166aa5(0x107)][_0x166aa5(0x203)](this[_0x166aa5(0x399)],_0x31a43f))==null?void 0x0:_0x1d370d[_0x166aa5(0x33b)])==null?'Unknown\x20user':_0x511db8,'range':this[_0x166aa5(0x112)](_0x11d32a,_0x42b9fa),'sheetID':_0x11d32a,'color':this[_0x166aa5(0x2a4)][_0x166aa5(0x28e)](_0x31a43f),'selection':_0x4476de},_0x23c446=this[_0x166aa5(0x206)];_0x23c446['set'](_0x31a43f,_0x12ac5f),this[_0x166aa5(0x2b8)]['next'](_0x23c446);}[_0x178811(0x1b9)](_0x86efb){const _0x5a250c=_0x178811;let {memberID:_0x4d4dc3}=_0x86efb[_0x5a250c(0x301)],_0x594dbf=this[_0x5a250c(0x206)];_0x594dbf[_0x5a250c(0x3dc)](_0x4d4dc3),this[_0x5a250c(0x2b8)][_0x5a250c(0x304)](_0x594dbf);}['_getMergeRange'](_0x597940,_0x43658a){const _0x3ad712=_0x178811;var _0x1b9f09;let _0x178d50=(_0x1b9f09=this[_0x3ad712(0x3d7)]['getUniverSheetInstance'](this['unitID']))==null||(_0x1b9f09=_0x1b9f09[_0x3ad712(0x320)](_0x597940))==null?void 0x0:_0x1b9f09[_0x3ad712(0x11e)]();return(_0x178d50==null?void 0x0:_0x178d50[_0x3ad712(0x268)](_0x23d5f7=>_0x388d59[_0x3ad712(0x24c)]['contains'](_0x23d5f7,_0x43658a)))||_0x43658a;}[_0x178811(0x171)](){const _0xe8b0f=_0x178811;let _0xad838c=new _0x388d59[(_0xe8b0f(0x246))](),_0x4e2a9=_0x1bfc0b(),_0x32b15e=()=>{const _0x674de1=_0xe8b0f;_0xad838c[_0x674de1(0x25c)]();let _0x152446=(_0x2ad11f,_0x5840f7,_0x56e94a,_0x30203f)=>{const _0x2f3ba6=_0x674de1;let _0x2c1c46=[];switch(_0x2ad11f['id']){case _0x19978b[_0x2f3ba6(0x1e8)][_0x2f3ba6(0x3a1)]:_0x2c1c46=(0x0,_0x19978b[_0x2f3ba6(0x26d)])(_0x2ad11f,_0x30203f);break;case _0x19978b['EffectRefRangId'][_0x2f3ba6(0x240)]:_0x2c1c46=(0x0,_0x19978b[_0x2f3ba6(0x222)])(_0x2ad11f,_0x30203f);break;case _0x19978b[_0x2f3ba6(0x1e8)][_0x2f3ba6(0x39b)]:_0x2c1c46=(0x0,_0x19978b[_0x2f3ba6(0x2c2)])(_0x2ad11f,_0x30203f);break;case _0x19978b[_0x2f3ba6(0x1e8)][_0x2f3ba6(0x30f)]:_0x2c1c46=(0x0,_0x19978b[_0x2f3ba6(0x37b)])(_0x2ad11f,_0x30203f);break;case _0x19978b[_0x2f3ba6(0x1e8)][_0x2f3ba6(0x221)]:_0x2c1c46=(0x0,_0x19978b[_0x2f3ba6(0x364)])(_0x2ad11f,_0x30203f);break;case _0x19978b['EffectRefRangId']['InsertRowCommandId']:_0x2c1c46=(0x0,_0x19978b[_0x2f3ba6(0x335)])(_0x2ad11f,_0x30203f);break;case _0x19978b[_0x2f3ba6(0x1e8)][_0x2f3ba6(0x223)]:_0x2c1c46=(0x0,_0x19978b[_0x2f3ba6(0x388)])(_0x2ad11f,_0x30203f);break;case _0x19978b[_0x2f3ba6(0x1e8)][_0x2f3ba6(0x2e3)]:_0x2c1c46=(0x0,_0x19978b['handleIRemoveCol'])(_0x2ad11f,_0x30203f);break;case _0x19978b[_0x2f3ba6(0x1e8)][_0x2f3ba6(0x3db)]:_0x2c1c46=(0x0,_0x19978b[_0x2f3ba6(0x29c)])(_0x2ad11f,_0x30203f);break;}let _0x33fd20=(0x0,_0x19978b['runRefRangeMutations'])(_0x2c1c46,_0x30203f),_0xab5d28=this[_0x2f3ba6(0x206)][_0x2f3ba6(0x27d)](_0x5840f7);if(_0xab5d28&&_0x33fd20){let _0x337085={..._0xab5d28,'range':_0x33fd20};this['cursorInfo']['set'](_0x5840f7,_0x337085),_0x4e2a9(()=>{const _0x1e44cd=_0x2f3ba6;let _0x544065=this['_refRangeService']['registerRefRange'](_0x33fd20,_0x29ffa1=>(_0x544065[_0x1e44cd(0x25c)](),_0x152446(_0x29ffa1,_0x5840f7,_0x56e94a,_0x33fd20)));_0xad838c['add'](_0x544065);});}return{'redos':[],'undos':[]};};this[_0x674de1(0x206)]['forEach']((_0x53f0a0,_0x48eba5)=>{const _0x1a5791=_0x674de1;let {range:_0x1288dc,sheetID:_0x1cf0c7}=_0x53f0a0,_0x26acf0=this['_refRangeService'][_0x1a5791(0x19b)](_0x1288dc,_0x369da1=>(_0x26acf0[_0x1a5791(0x25c)](),_0x152446(_0x369da1,_0x48eba5,_0x1cf0c7,_0x1288dc)));_0xad838c[_0x1a5791(0x3d5)](_0x26acf0);});};this[_0xe8b0f(0x30a)]((0x0,_0x388d59['toDisposable'])(this[_0xe8b0f(0x2b8)]['subscribe'](()=>{_0x32b15e();})));}[_0x178811(0x13d)](){const _0x2eb62c=_0x178811;var _0x439440,_0x3b04e6;if(this[_0x2eb62c(0x10d)]=!0x0,((_0x439440=this[_0x2eb62c(0x3d7)][_0x2eb62c(0x1fb)]())==null?void 0x0:_0x439440['getUnitId']())!==this[_0x2eb62c(0x399)])return;let _0x437473=(_0x3b04e6=this[_0x2eb62c(0x12c)][_0x2eb62c(0x27d)](_0x19978b[_0x2eb62c(0x38a)])['getCurrentSelections']())==null?void 0x0:_0x3b04e6[0x0],_0x1e1abf=this[_0x2eb62c(0x3d7)][_0x2eb62c(0x21c)](_0x388d59[_0x2eb62c(0x2de)][_0x2eb62c(0x332)])['getActiveSheet']();_0x437473&&_0x1e1abf&&this[_0x2eb62c(0x123)](_0x1e1abf[_0x2eb62c(0x209)](),_0x437473);}['_toggleOffline'](){const _0x8ab6f4=_0x178811;this[_0x8ab6f4(0x10d)]=!0x1;}};_0x2f18ac=_0x5cbc75([_0x19b9fb(0x2,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x266)])),_0x19b9fb(0x3,(0x0,_0x388d59[_0x178811(0x14b)])(_0x3143aa)),_0x19b9fb(0x4,(0x0,_0x388d59[_0x178811(0x14b)])(_0x316dd7[_0x178811(0x2c3)])),_0x19b9fb(0x5,_0x388d59[_0x178811(0x149)]),_0x19b9fb(0x6,_0x388d59['ICommandService']),_0x19b9fb(0x7,(0x0,_0x388d59['Inject'])(_0x19978b['RefRangeService']))],_0x2f18ac);let _0x6869a=class extends _0x388d59[_0x178811(0x3bc)]{constructor(_0xe0bce1,_0x215671,_0x1c1d6c){const _0x7dbf0d=_0x178811;super(),this[_0x7dbf0d(0x3d7)]=_0xe0bce1,this['_injector']=_0x215671,this['_collabSessionService']=_0x1c1d6c,_0x42fde9(this,_0x7dbf0d(0x3ba),new Map()),_0x42fde9(this,_0x7dbf0d(0x1ec),new _0x5f234d['Subject']()),this[_0x7dbf0d(0x37e)]();}['dispose'](){const _0x4b8acc=_0x178811;super[_0x4b8acc(0x25c)](),this[_0x4b8acc(0x1ec)]['complete'](),this[_0x4b8acc(0x3ba)][_0x4b8acc(0x26f)](_0x254715=>_0x254715[_0x4b8acc(0x25c)]());}['getCollabCursors$'](_0x4c56b7){const _0x5f091d=_0x178811;return this[_0x5f091d(0x3ba)]['has'](_0x4c56b7)?this[_0x5f091d(0x3ba)][_0x5f091d(0x27d)](_0x4c56b7)[_0x5f091d(0x172)]:this[_0x5f091d(0x1ec)][_0x5f091d(0x293)]((0x0,_0x5f234d['filter'])(_0x4f4c82=>_0x4f4c82[_0x5f091d(0x399)]===_0x4c56b7),(0x0,_0x5f234d[_0x5f091d(0x17b)])(_0x4de408=>_0x4de408['cursorInfo$']));}['_init'](){const _0x1a102d=_0x178811;this[_0x1a102d(0x3d7)][_0x1a102d(0x265)](_0x388d59[_0x1a102d(0x2de)][_0x1a102d(0x332)])['pipe']((0x0,_0x5f234d[_0x1a102d(0x24d)])(this[_0x1a102d(0x373)]))[_0x1a102d(0x113)](async _0x2b2a2f=>{const _0x144ea0=_0x1a102d;let _0x4459fc=_0x2b2a2f[_0x144ea0(0x308)][_0x144ea0(0x3ac)](),_0x571efe=await this[_0x144ea0(0x242)](_0x4459fc);this[_0x144ea0(0x1ec)][_0x144ea0(0x304)](_0x571efe),this[_0x144ea0(0x3ba)]['set'](_0x4459fc,_0x571efe);}),this[_0x1a102d(0x3d7)]['getTypeOfUnitAdded$'](_0x388d59[_0x1a102d(0x2de)][_0x1a102d(0x3b2)])['pipe']((0x0,_0x5f234d[_0x1a102d(0x24d)])(this[_0x1a102d(0x373)]))['pipe']((0x0,_0x5f234d[_0x1a102d(0x2cb)])(_0x5c5c22=>!_0x5c5c22[_0x1a102d(0x308)][_0x1a102d(0x3ac)]()[_0x1a102d(0x3da)]('__')))[_0x1a102d(0x113)](async _0x1b1c84=>{const _0x3b54bd=_0x1a102d;let {unit:_0x1f4f2a}=_0x1b1c84,_0x2af2d9=_0x1f4f2a[_0x3b54bd(0x3ac)](),_0x4fc8bb=await this[_0x3b54bd(0x21a)](_0x2af2d9);this[_0x3b54bd(0x1ec)]['next'](_0x4fc8bb),this[_0x3b54bd(0x3ba)][_0x3b54bd(0x23c)](_0x2af2d9,_0x4fc8bb);}),(0x0,_0x5f234d[_0x1a102d(0x38e)])(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x388d59['UniverInstanceType']['UNIVER_DOC']),this[_0x1a102d(0x3d7)][_0x1a102d(0x31a)](_0x388d59[_0x1a102d(0x2de)][_0x1a102d(0x332)]))[_0x1a102d(0x293)]((0x0,_0x5f234d[_0x1a102d(0x24d)])(this['dispose$']))['subscribe'](_0x4235fe=>{const _0x4bb51f=_0x1a102d;let _0x4064c8=_0x4235fe[_0x4bb51f(0x3ac)](),_0x57892a=this['_entities']['get'](_0x4064c8);_0x57892a&&(_0x57892a[_0x4bb51f(0x25c)](),this[_0x4bb51f(0x3ba)][_0x4bb51f(0x3dc)](_0x4064c8));});}async[_0x178811(0x242)](_0x559c40){const _0x598ebe=_0x178811;let _0x5cd695=await this['_collabSessionService'][_0x598ebe(0x137)](_0x559c40),_0xa3ba44=this[_0x598ebe(0x12c)][_0x598ebe(0x387)](_0x2f18ac,_0x559c40,_0x5cd695);return _0xa3ba44[_0x598ebe(0x3cc)](),_0xa3ba44;}async['_startDocCollabCursor'](_0x13efb2){const _0x3186e1=_0x178811;let _0xf9b7d5=await this[_0x3186e1(0x261)]['requireSession'](_0x13efb2),_0x2a3bc5=this[_0x3186e1(0x12c)][_0x3186e1(0x387)](_0x586670,_0x13efb2,_0xf9b7d5);return _0x2a3bc5[_0x3186e1(0x3cc)](),_0x2a3bc5;}};_0x6869a=_0x5cbc75([_0x19b9fb(0x0,_0x388d59[_0x178811(0x149)]),_0x19b9fb(0x1,(0x0,_0x388d59['Inject'])(_0x388d59[_0x178811(0x266)])),_0x19b9fb(0x2,(0x0,_0x388d59['Inject'])(_0x316dd7[_0x178811(0x2b7)]))],_0x6869a);function _0x567388(_0x2f7b60,_0x298367){const _0xe9ccf1=_0x178811;var _0x2d9434,_0x2e0671,_0xf9bac5;let {radius:_0x5ce5b2,width:_0x2b4a2a,height:_0x382635}=_0x298367;_0x5ce5b2=(_0x2d9434=_0x5ce5b2)==null?0x0:_0x2d9434,_0x2b4a2a=(_0x2e0671=_0x2b4a2a)==null?0x1e:_0x2e0671,_0x382635=(_0xf9bac5=_0x382635)==null?0x1e:_0xf9bac5;let _0x140424=0x0,_0x2a3bd8=0x0,_0x4952f4=0x0;_0x140424=_0x2a3bd8=_0x4952f4=Math['min'](_0x5ce5b2,_0x2b4a2a/0x2,_0x382635/0x2),_0x2f7b60['beginPath'](),_0x2f7b60[_0xe9ccf1(0x15d)](_0x140424,0x0),_0x2f7b60[_0xe9ccf1(0x306)](_0x2b4a2a-_0x2a3bd8,0x0),_0x2f7b60[_0xe9ccf1(0x2ea)](_0x2b4a2a-_0x2a3bd8,_0x2a3bd8,_0x2a3bd8,Math['PI']*0x3/0x2,0x0,!0x1),_0x2f7b60[_0xe9ccf1(0x306)](_0x2b4a2a,_0x382635-_0x4952f4),_0x2f7b60['arc'](_0x2b4a2a-_0x4952f4,_0x382635-_0x4952f4,_0x4952f4,0x0,Math['PI']/0x2,!0x1),_0x2f7b60[_0xe9ccf1(0x306)](0x0,_0x382635),_0x2f7b60['lineTo'](0x0,_0x140424),_0x2f7b60[_0xe9ccf1(0x2ea)](_0x140424,_0x140424,_0x140424,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2f7b60['closePath'](),_0x298367['fill']&&(_0x2f7b60[_0xe9ccf1(0x233)](),_0x2f7b60[_0xe9ccf1(0x1f5)]=_0x298367[_0xe9ccf1(0x214)],_0x298367[_0xe9ccf1(0x227)]==='evenodd'?_0x2f7b60[_0xe9ccf1(0x214)](_0xe9ccf1(0x2ba)):_0x2f7b60[_0xe9ccf1(0x214)](),_0x2f7b60[_0xe9ccf1(0x349)]());}var _0x31ead7=class _0xdb9868 extends _0x4feec6[_0x178811(0x201)]{constructor(_0x200c43,_0x14d58b){const _0x2ba33e=_0x178811;super(_0x200c43,_0x14d58b),_0x42fde9(this,_0x2ba33e(0x252),void 0x0),_0x42fde9(this,_0x2ba33e(0x2a2),void 0x0),this[_0x2ba33e(0x252)]=_0x14d58b==null?void 0x0:_0x14d58b['color'],this[_0x2ba33e(0x2a2)]=_0x14d58b==null?void 0x0:_0x14d58b['text'];}static[_0x178811(0x262)](_0x43bdc4,_0x43119c){const _0x35d07c=_0x178811;let {text:_0x2c7043,color:_0x5aee92}=_0x43119c;_0x43bdc4[_0x35d07c(0x233)](),_0x43bdc4[_0x35d07c(0x1f1)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x2bc0b1=_0x43bdc4[_0x35d07c(0x3d3)](_0x2c7043)[_0x35d07c(0x228)];if(_0x567388(_0x43bdc4,{'height':0x14,'radius':0x4,'width':Math['min'](_0x2bc0b1+0x8,0xc8),'fill':_0x5aee92,'evented':!0x1}),_0x43bdc4[_0x35d07c(0x1f5)]=_0x35d07c(0x30e),_0x2bc0b1>0xc0){let _0x4387bc='',_0x2bfa3f=0x0;for(let _0xc84fec of _0x2c7043){let _0x537d68=_0x43bdc4['measureText'](_0xc84fec)['width'];if(_0x2bfa3f+_0x537d68<=0xc0-_0x43bdc4[_0x35d07c(0x3d3)](_0x35d07c(0x2f8))[_0x35d07c(0x228)])_0x4387bc+=_0xc84fec,_0x2bfa3f+=_0x537d68;else{_0x4387bc+='...';break;}}_0x43bdc4[_0x35d07c(0x1c5)](_0x4387bc,0x4,0xf);}else _0x43bdc4[_0x35d07c(0x1c5)](_0x2c7043,0x4,0xf);_0x43bdc4['restore']();}[_0x178811(0x2b6)](_0x126f47){const _0x5a95b3=_0x178811;_0xdb9868[_0x5a95b3(0x262)](_0x126f47,this);}};let _0xe3f1f=_0x178811(0x186);var _0x2c3487=class{constructor(_0x1e81b9,_0x349c8a,_0x33a6a7,_0x426c6f){const _0x5c9a8e=_0x178811;this[_0x5c9a8e(0x16f)]=_0x1e81b9,this['_scene']=_0x349c8a,this[_0x5c9a8e(0x3d9)]=_0x33a6a7,this[_0x5c9a8e(0x179)]=_0x426c6f,_0x42fde9(this,_0x5c9a8e(0x2b2),[]),_0x42fde9(this,_0x5c9a8e(0x16e),null),_0x42fde9(this,'_textBubble',null),_0x42fde9(this,'_anchorDot',null),_0x42fde9(this,_0x5c9a8e(0x207),null),_0x42fde9(this,_0x5c9a8e(0x385),null),this['_render']();}set['_hover'](_0x19cf9c){const _0x2f0337=_0x178811;_0x19cf9c?(this['_anchorDot']&&this[_0x2f0337(0x32e)]['hide'](),this[_0x2f0337(0x129)]&&this[_0x2f0337(0x129)][_0x2f0337(0x27c)]()):(this[_0x2f0337(0x32e)]&&this[_0x2f0337(0x32e)][_0x2f0337(0x27c)](),this[_0x2f0337(0x129)]&&this[_0x2f0337(0x129)][_0x2f0337(0x1bd)]());}[_0x178811(0x25c)](){const _0x5051e3=_0x178811;for(let _0x24d7c3 of this[_0x5051e3(0x2b2)])_0x24d7c3['dispose']();this[_0x5051e3(0x129)]&&this['_textBubble'][_0x5051e3(0x25c)](),this[_0x5051e3(0x32e)]&&this[_0x5051e3(0x32e)][_0x5051e3(0x25c)](),this[_0x5051e3(0x16e)]&&this[_0x5051e3(0x16e)][_0x5051e3(0x25c)](),this[_0x5051e3(0x385)]&&this[_0x5051e3(0x385)]();}['_render'](){const _0x2a4c25=_0x178811;let {_docSkeleton:_0x403c0f,_document:_0x2b3e9a}=this,{color:_0x183d3f,name:_0x941b62,ranges:_0xf26b2b}=this[_0x2a4c25(0x16f)],_0x57c206=_0x2b3e9a[_0x2a4c25(0x1b1)](),{docsLeft:_0x3aed86,docsTop:_0x209264}=_0x57c206,_0x197054=new _0x2c1d91[(_0x2a4c25(0x3b7))](_0x57c206,_0x403c0f);for(let {startOffset:_0x4342ea,endOffset:_0x1f680c,rangeType:_0xb7c951,segmentId:_0x10295a,segmentPage:_0x3fb6ad,collapsed:_0x53fb9e,isActive:_0x58881b}of _0xf26b2b){let _0x5a47af=_0x403c0f[_0x2a4c25(0x17a)](_0x4342ea,!0x0,_0x10295a,_0x3fb6ad),_0x4a9a1c=_0x403c0f['findNodePositionByCharIndex'](_0x1f680c,!0x0,_0x10295a,_0x3fb6ad);if(_0x4a9a1c==null&&(_0x4a9a1c=_0x403c0f[_0x2a4c25(0x17a)](_0x1f680c-0x1,!0x1,_0x10295a,_0x3fb6ad)),_0x58881b){let {contentBoxPointGroup:_0x1cc7b0}=_0x197054['getRangePointData'](_0x4a9a1c,_0x4a9a1c);if(_0x1cc7b0[_0x2a4c25(0x2fe)]===0x0)continue;this[_0x2a4c25(0x23a)](_0x183d3f,_0x1cc7b0,_0x3aed86,_0x209264,_0x941b62),this[_0x2a4c25(0x385)]=this[_0x2a4c25(0x288)]();}if(_0x5a47af&&_0x4a9a1c){if(_0xb7c951===_0x388d59[_0x2a4c25(0x1b8)][_0x2a4c25(0x3bd)]){var _0x206ce3;let {pointGroup:_0x48d71f}=(_0x206ce3=new _0x2c1d91[(_0x2a4c25(0x3df))](_0x57c206,_0x403c0f)[_0x2a4c25(0x2ed)](_0x5a47af,_0x4a9a1c))==null?{}:_0x206ce3;if(_0x48d71f==null||_0x48d71f['length']===0x0)continue;this[_0x2a4c25(0x299)](_0x183d3f,_0x48d71f,_0x3aed86,_0x209264);}else{if(!_0x53fb9e){let {borderBoxPointGroup:_0x11361a}=_0x197054[_0x2a4c25(0x2ed)](_0x5a47af,_0x4a9a1c);if(_0x11361a[_0x2a4c25(0x2fe)]===0x0)continue;this['_drawTextRange'](_0x183d3f,_0x11361a,_0x3aed86,_0x209264);}}}}}[_0x178811(0x23a)](_0x41bde8,_0x453546,_0x215ba8,_0x1a5b53,_0x4fdff4){const _0x459310=_0x178811;let {left:_0x1c00f1,top:_0x41077f,height:_0x84704c}=this[_0x459310(0x30b)](_0x453546),_0x191918=1.5/this['_getScale'](),_0x4e889b=new _0x4feec6[(_0x459310(0x154))](_0xe3f1f+(0x0,_0x388d59[_0x459310(0x325)])(0x6),{'left':_0x1c00f1+_0x215ba8-_0x191918,'top':_0x41077f+_0x1a5b53,'height':_0x84704c,'width':1.5,'fill':_0x41bde8||(0x0,_0x4feec6[_0x459310(0x18b)])(_0x388d59[_0x459310(0x1ea)][_0x459310(0x347)],0x0),'strokeWidth':_0x191918,'stroke':_0x459310(0x18f),'evented':!0x0});this[_0x459310(0x16e)]=_0x4e889b,this[_0x459310(0x244)][_0x459310(0x305)](_0x4e889b,_0x2c1d91['TEXT_RANGE_LAYER_INDEX']);let _0x29c67a=new _0x4feec6[(_0x459310(0x154))](_0xe3f1f+(0x0,_0x388d59['generateRandomId'])(0x6),{'left':_0x1c00f1+_0x215ba8-_0x191918,'top':_0x41077f+_0x1a5b53-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x41bde8||(0x0,_0x4feec6[_0x459310(0x18b)])(_0x388d59[_0x459310(0x1ea)][_0x459310(0x347)],0x0),'strokeWidth':0x0,'stroke':_0x41bde8||(0x0,_0x4feec6['getColor'])(_0x388d59[_0x459310(0x1ea)][_0x459310(0x347)],0x0),'evented':!0x1});this[_0x459310(0x32e)]=_0x29c67a,this[_0x459310(0x244)][_0x459310(0x305)](_0x29c67a,_0x2c1d91[_0x459310(0x29a)]);let _0x2dad48=new _0x31ead7(_0xe3f1f+(0x0,_0x388d59[_0x459310(0x325)])(0x6),{'left':_0x1c00f1+_0x215ba8-_0x191918,'top':_0x41077f+_0x1a5b53-0x14,'text':_0x4fdff4,'color':_0x41bde8});this[_0x459310(0x129)]=_0x2dad48,this[_0x459310(0x244)]['addObject'](_0x2dad48,_0x2c1d91[_0x459310(0x29a)]),this[_0x459310(0x234)]=!0x1;}[_0x178811(0x288)](){const _0x177f54=_0x178811;let _0xc34146=this[_0x177f54(0x16e)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x17c869=_0x177f54;this[_0x17c869(0x234)]=!0x0;}),_0x91bf5a=this[_0x177f54(0x16e)][_0x177f54(0x162)][_0x177f54(0x2c5)](()=>{const _0x49145=_0x177f54;this[_0x49145(0x207)]&&clearTimeout(this[_0x49145(0x207)]),this[_0x49145(0x207)]=setTimeout(()=>{const _0xccd148=_0x49145;this[_0xccd148(0x234)]=!0x1;},0x7d0);});return()=>{const _0x22afc2=_0x177f54;_0xc34146[_0x22afc2(0x3a0)](),_0x91bf5a[_0x22afc2(0x3a0)]();};}['_drawTextRange'](_0x2271f6,_0x2f325d,_0x445409,_0x480272){const _0x35cfc9=_0x178811;let _0x482b9a=0.2,_0x5d21db=new _0x388d59[(_0x35cfc9(0x12d))](_0x2271f6)['setAlpha'](_0x482b9a)[_0x35cfc9(0x396)](),_0xbf77d2=new _0x4feec6[(_0x35cfc9(0x3e9))](_0x35cfc9(0x39a)+(0x0,_0x388d59['generateRandomId'])(0x6),{'pointsGroup':_0x2f325d,'fill':_0x5d21db||(0x0,_0x4feec6['getColor'])(_0x388d59[_0x35cfc9(0x1ea)][_0x35cfc9(0x347)],_0x482b9a),'left':_0x445409,'top':_0x480272,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35cfc9(0x2b2)][_0x35cfc9(0x148)](_0xbf77d2),this['_scene']['addObject'](_0xbf77d2,_0x2c1d91[_0x35cfc9(0x29a)]);}[_0x178811(0x299)](_0x547d4e,_0x62a6fd,_0xae494a,_0x136e79){const _0x2bb344=_0x178811;let _0x1912af=0.2,_0x274576=new _0x388d59[(_0x2bb344(0x12d))](_0x547d4e)[_0x2bb344(0x1ee)](_0x1912af)[_0x2bb344(0x396)](),_0x306a80=new _0x4feec6['RegularPolygon'](_0x2bb344(0x298)+(0x0,_0x388d59[_0x2bb344(0x325)])(0x6),{'pointsGroup':_0x62a6fd,'fill':_0x274576||(0x0,_0x4feec6[_0x2bb344(0x18b)])(_0x388d59['COLORS'][_0x2bb344(0x347)],_0x1912af),'left':_0xae494a,'top':_0x136e79,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x306a80),this['_scene'][_0x2bb344(0x305)](_0x306a80,_0x2c1d91[_0x2bb344(0x29a)]);}[_0x178811(0x30b)](_0x550ea6){let _0x19dd91=_0x550ea6[0x0],_0x41e798=_0x19dd91[0x0],_0x71e902=_0x19dd91[0x2],{x:_0x2083a0,y:_0x7b4db1}=_0x41e798,{x:_0x5058bb,y:_0x5cd0c5}=_0x71e902;return{'left':_0x2083a0,'top':_0x7b4db1,'width':_0x5058bb-_0x2083a0,'height':_0x5cd0c5-_0x7b4db1};}[_0x178811(0x187)](){const _0x3766ea=_0x178811;let {scaleX:_0x15f551,scaleY:_0x138ca8}=this[_0x3766ea(0x244)][_0x3766ea(0x20f)]();return Math[_0x3766ea(0x30d)](_0x15f551,_0x138ca8);}};let _0x58cc5a=class extends _0x388d59[_0x178811(0x3bc)]{constructor(_0x3fe211,_0x14d72f,_0xcb6a45,_0x29f099,_0x4814ae){const _0x532cfe=_0x178811;super(),this[_0x532cfe(0x10c)]=_0x3fe211,this[_0x532cfe(0x2fa)]=_0x14d72f,this['_collabCursorController']=_0xcb6a45,this['_commandService']=_0x29f099,this[_0x532cfe(0x1b0)]=_0x4814ae,_0x42fde9(this,_0x532cfe(0x355),[]),_0x42fde9(this,_0x532cfe(0x2e1),[]),this[_0x532cfe(0x37e)]();}[_0x178811(0x37e)](){const _0x5598ad=_0x178811;let _0x249a40=this['_context'][_0x5598ad(0x398)],_0x5cfe1a=this[_0x5598ad(0x2fa)];this[_0x5598ad(0x30a)]((0x0,_0x5f234d['combineLatest'])([this['_collabCursorController'][_0x5598ad(0x1b4)](_0x249a40),this[_0x5598ad(0x1b0)][_0x5598ad(0x1c4)]])[_0x5598ad(0x293)]((0x0,_0x217ea4[_0x5598ad(0x2b3)])(([_0x35a975,_0x5187bb])=>({'skeleton':_0x5cfe1a['getSkeleton'](),'cursors':[..._0x35a975['values']()]['flatMap'](_0x1b7f91=>({..._0x1b7f91,'color':this[_0x5598ad(0x1b0)]['getColorFromTheme'](_0x1b7f91[_0x5598ad(0x252)])}))})))[_0x5598ad(0x113)](_0x41bac2=>{const _0x4ff525=_0x5598ad;if(this[_0x4ff525(0x1ba)](),_0x41bac2){let {skeleton:_0x5e5869,cursors:_0x28f8c3}=_0x41bac2;this[_0x4ff525(0x257)](_0x5e5869,_0x28f8c3);}})),this[_0x5598ad(0x2f5)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x3e7ea4,_0x3a6151){const _0x31ee6f=_0x178811;let {scene:_0x5525e0,mainComponent:_0x3b2bb4}=this[_0x31ee6f(0x10c)],_0x52ed93=_0x3a6151[_0x31ee6f(0x2b3)](_0x2b2cb9=>new _0x2c3487(_0x2b2cb9,_0x5525e0,_0x3e7ea4,_0x3b2bb4));this[_0x31ee6f(0x355)]=_0x52ed93,this[_0x31ee6f(0x2e1)]=_0x3a6151;}['_refreshCollabCursors'](){const _0xdc6120=_0x178811;this[_0xdc6120(0x1ba)]();let {scene:_0x57ab7b,mainComponent:_0x214b4d}=this[_0xdc6120(0x10c)],_0x4e74e5=this[_0xdc6120(0x2fa)][_0xdc6120(0x38d)](),_0x479e5b=this[_0xdc6120(0x2e1)][_0xdc6120(0x2b3)](_0x4e93fc=>new _0x2c3487(_0x4e93fc,_0x57ab7b,_0x4e74e5,_0x214b4d));this[_0xdc6120(0x355)]=_0x479e5b;}[_0x178811(0x1ba)](){const _0x3d378b=_0x178811;this[_0x3d378b(0x355)]['forEach'](_0x506d37=>_0x506d37[_0x3d378b(0x25c)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x335680=_0x178811;let _0x56c4a8=[_0x2c1d91[_0x335680(0x2f3)]['id']];this['disposeWithMe'](this['_commandService'][_0x335680(0x218)](_0x4f85fc=>{const _0x16409e=_0x335680;_0x56c4a8[_0x16409e(0x1ca)](_0x4f85fc['id'])&&_0x4f85fc[_0x16409e(0x3d1)][_0x16409e(0x398)]===this[_0x16409e(0x10c)][_0x16409e(0x398)]&&this['_refreshCollabCursors']();}));}[_0x178811(0x2f5)](){const _0x19c2f7=_0x178811;this['disposeWithMe']((0x0,_0x388d59['fromEventSubject'])(this[_0x19c2f7(0x10c)][_0x19c2f7(0x2bf)][_0x19c2f7(0x383)])[_0x19c2f7(0x293)]((0x0,_0x217ea4[_0x19c2f7(0x2cb)])(_0x400908=>_0x400908['type']===_0x4feec6[_0x19c2f7(0x29f)][_0x19c2f7(0x346)]),(0x0,_0x217ea4['throttleTime'])(0x10))[_0x19c2f7(0x113)](()=>{const _0x10f345=_0x19c2f7;this[_0x10f345(0x11d)]();}));}};_0x58cc5a=_0x5cbc75([_0x19b9fb(0x1,(0x0,_0x388d59['Inject'])(_0x53fea4['DocSkeletonManagerService'])),_0x19b9fb(0x2,(0x0,_0x388d59['Inject'])(_0x6869a)),_0x19b9fb(0x3,_0x388d59[_0x178811(0x22f)]),_0x19b9fb(0x4,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x1cf)]))],_0x58cc5a);var _0x34d60d=class extends _0x4feec6[_0x178811(0x201)]{constructor(_0x53a8a9,_0x33db8f){const _0x21123d=_0x178811;if(super(_0x53a8a9,_0x33db8f),_0x42fde9(this,_0x21123d(0x32c),void 0x0),_0x42fde9(this,'_hovered',!0x1),_0x42fde9(this,_0x21123d(0x1b2),void 0x0),_0x42fde9(this,_0x21123d(0x31c),''),_0x42fde9(this,'_labelPosition',_0x21123d(0x2f0)),_0x42fde9(this,_0x21123d(0x177),void 0x0),_0x42fde9(this,_0x21123d(0x212),void 0x0),_0x42fde9(this,_0x21123d(0x2a3),void 0x0),_0x42fde9(this,_0x21123d(0x36d),0x4),_0x42fde9(this,'_blinkTimer',void 0x0),_0x42fde9(this,'_blinkIntervalTimer',void 0x0),_0x42fde9(this,_0x21123d(0x3e5),!0x0),_0x42fde9(this,_0x21123d(0x3c6),0x0),_0x33db8f){var _0x21d930;if(this['setShapeProps'](_0x33db8f),_0x33db8f[_0x21123d(0x19e)]&&((_0x21d930=_0x33db8f['highlightSecond'])==null?this[_0x21123d(0x36d)]:_0x21d930)){var _0xde6fda;this[_0x21123d(0x245)]((_0xde6fda=_0x33db8f[_0x21123d(0x140)])==null?this[_0x21123d(0x36d)]:_0xde6fda);}}this[_0x21123d(0x13e)]['subscribeEvent'](()=>this[_0x21123d(0x11a)]({'hovered':!0x0})),this[_0x21123d(0x162)][_0x21123d(0x2c5)](()=>this[_0x21123d(0x11a)]({'hovered':!0x1}));}['setOffsetY'](_0x572831){const _0x5768ca=_0x178811;this[_0x5768ca(0x3c6)]=_0x572831;}[_0x178811(0x11a)](_0x33c76a){const _0x54b440=_0x178811;var _0x50d7c1,_0x1e1120,_0x20c9a1,_0x5b8227,_0x1ba9a2,_0x285082,_0x2a5774;this[_0x54b440(0x32c)]=(_0x50d7c1=_0x33c76a[_0x54b440(0x252)])==null?this[_0x54b440(0x32c)]:_0x50d7c1,this[_0x54b440(0x329)]=(_0x1e1120=_0x33c76a['hovered'])==null?this[_0x54b440(0x329)]:_0x1e1120,this['_range']=(_0x20c9a1=_0x33c76a[_0x54b440(0x3e2)])==null?this['_range']:_0x20c9a1,this['_name']=(_0x5b8227=_0x33c76a[_0x54b440(0x33b)])==null?this[_0x54b440(0x31c)]:_0x5b8227,this['_labelPosition']=(_0x1ba9a2=_0x33c76a[_0x54b440(0x168)])==null?this[_0x54b440(0x250)]:_0x1ba9a2,this['_backgroundColor']=(_0x285082=_0x33c76a[_0x54b440(0x39e)])==null?this[_0x54b440(0x177)]:_0x285082,this[_0x54b440(0x212)]=(_0x2a5774=_0x33c76a['showText'])==null?this[_0x54b440(0x212)]:_0x2a5774,_0x33c76a[_0x54b440(0x140)]!==void 0x0&&(this[_0x54b440(0x36d)]=_0x33c76a[_0x54b440(0x140)]),_0x33c76a['highlight']!==void 0x0&&(this[_0x54b440(0x2a3)]=_0x33c76a[_0x54b440(0x19e)]),_0x33c76a['offsetY']!==void 0x0&&(this['_offsetY']=_0x33c76a[_0x54b440(0x33e)]),this[_0x54b440(0x3e6)]({'width':_0x33c76a[_0x54b440(0x228)],'height':_0x33c76a['height']});}[_0x178811(0x25d)](_0x52efbb){const _0x598c84=_0x178811;let {row:_0x230a43,column:_0x3762ed}=_0x52efbb;if(_0x230a43>=this[_0x598c84(0x1b2)][_0x598c84(0x39f)]&&_0x230a43<=this[_0x598c84(0x1b2)][_0x598c84(0x37f)]&&_0x3762ed>=this[_0x598c84(0x1b2)][_0x598c84(0x369)]&&_0x3762ed<=this[_0x598c84(0x1b2)]['endColumn']){this[_0x598c84(0x11a)]({'hovered':!0x0});return;}this[_0x598c84(0x11a)]({'hovered':!0x1});}[_0x178811(0x245)](_0x7a1b8f){const _0x581ab6=_0x178811;this[_0x581ab6(0x2c0)](),this[_0x581ab6(0x3e5)]=!0x0,this['_blinkIntervalTimer']=window[_0x581ab6(0x27a)](()=>{const _0x256f0a=_0x581ab6;this[_0x256f0a(0x3e5)]=!this['_isBlinkVisible'],this[_0x256f0a(0x219)](!0x0);},0x1f4),this['_blinkTimer']=window['setTimeout'](()=>{const _0x5a9bbe=_0x581ab6;this[_0x5a9bbe(0x2c0)](),this['_isBlinkVisible']=!0x0,this['makeDirty'](!0x0);},_0x7a1b8f*0x3e8);}[_0x178811(0x2c0)](){const _0x341195=_0x178811;this[_0x341195(0x119)]&&(window[_0x341195(0x1e7)](this[_0x341195(0x119)]),this[_0x341195(0x119)]=void 0x0),this[_0x341195(0x243)]&&(window[_0x341195(0x26c)](this['_blinkTimer']),this[_0x341195(0x243)]=void 0x0);}[_0x178811(0x2f6)](_0x3059e6){return!0x1;}['dispose'](){const _0x3cc77b=_0x178811;this[_0x3cc77b(0x2c0)](),super['dispose']();}[_0x178811(0x2b6)](_0xe93f50){const _0x5c8ed2=_0x178811;let _0x37b7e8=this[_0x5c8ed2(0x32c)],_0xb14110=this[_0x5c8ed2(0x177)];if(this[_0x5c8ed2(0x2a3)]&&!this['_isBlinkVisible']&&(_0x37b7e8=this[_0x5c8ed2(0x204)](this[_0x5c8ed2(0x32c)]),_0xb14110=this['_backgroundColor']?this[_0x5c8ed2(0x204)](this[_0x5c8ed2(0x177)]):void 0x0),_0x4feec6['Rect'][_0x5c8ed2(0x262)](_0xe93f50,{'width':this[_0x5c8ed2(0x228)],'height':this['height'],'strokeWidth':this['strokeWidth']||1.5,'stroke':_0x37b7e8,'evented':!0x1,'fill':_0xb14110}),this[_0x5c8ed2(0x329)]||this[_0x5c8ed2(0x212)]){var _0x288b40;_0xe93f50[_0x5c8ed2(0x233)](),_0xe93f50['transform'](0x1,0x0,0x0,0x1,this[_0x5c8ed2(0x228)],(this[_0x5c8ed2(0x250)]===_0x5c8ed2(0x2be)?0x0:-0x14)+((_0x288b40=this['_offsetY'])==null?0x0:_0x288b40)),_0x31ead7[_0x5c8ed2(0x262)](_0xe93f50,{'text':this[_0x5c8ed2(0x31c)],'color':_0x37b7e8}),_0xe93f50[_0x5c8ed2(0x349)]();}}['_getLighterColor'](_0x500d2c){const _0xca9dc0=_0x178811;return _0x500d2c['startsWith']('#')?_0xca9dc0(0x32d)+Number[_0xca9dc0(0x180)](_0x500d2c[_0xca9dc0(0x3eb)](0x1,0x3),0x10)+',\x20'+Number[_0xca9dc0(0x180)](_0x500d2c[_0xca9dc0(0x3eb)](0x3,0x5),0x10)+',\x20'+Number[_0xca9dc0(0x180)](_0x500d2c[_0xca9dc0(0x3eb)](0x5,0x7),0x10)+_0xca9dc0(0x309):_0x500d2c['startsWith'](_0xca9dc0(0x31e))?_0x500d2c[_0xca9dc0(0x3af)](/[\d.]+\)$/g,'0.2)'):_0x500d2c[_0xca9dc0(0x3da)](_0xca9dc0(0x2a9))?_0x500d2c[_0xca9dc0(0x3af)](_0xca9dc0(0x2a9),_0xca9dc0(0x31e))[_0xca9dc0(0x3af)](')',_0xca9dc0(0x309)):_0x500d2c;}};let _0x3b13fb=class extends _0x388d59[_0x178811(0x3bc)]{constructor(_0x5c38a7,_0x51ea37,_0x2399d9,_0x246465){const _0x2656ba=_0x178811;super(),this['_context']=_0x5c38a7,this['_sheetSkeletonManagerService']=_0x51ea37,this['_collabCursorController']=_0x2399d9,this[_0x2656ba(0x1b0)]=_0x246465,_0x42fde9(this,_0x2656ba(0x2e1),new Set()),_0x42fde9(this,_0x2656ba(0x1c7),null),_0x42fde9(this,_0x2656ba(0x382),null),this[_0x2656ba(0x37e)]();}[_0x178811(0x37e)](){const _0x25873b=_0x178811;this[_0x25873b(0x356)][_0x25873b(0x220)][_0x25873b(0x293)]((0x0,_0x217ea4[_0x25873b(0x24d)])(this['dispose$']),(0x0,_0x217ea4[_0x25873b(0x17b)])(_0x40bc1d=>{const _0x142ff9=_0x25873b;if(_0x40bc1d){let _0x56e2f2=_0x40bc1d[_0x142ff9(0x2bb)];return(0x0,_0x5f234d[_0x142ff9(0x10b)])(this['_collabCursorController'][_0x142ff9(0x1b4)](this[_0x142ff9(0x10c)][_0x142ff9(0x398)]),this['_themeService'][_0x142ff9(0x1c4)])['pipe']((0x0,_0x217ea4[_0x142ff9(0x2b3)])(([_0x24b941,_0x2f0f2e])=>{let _0x42d66a=new Map();return _0x24b941['forEach']((_0x576e00,_0x50ee8e)=>{const _0xfbe73f=_0x4aba;if(_0x576e00[_0xfbe73f(0x192)]===_0x56e2f2){let _0x3d87fc={..._0x576e00};_0x3d87fc['color']=this[_0xfbe73f(0x1b0)][_0xfbe73f(0x2fd)](_0x576e00[_0xfbe73f(0x252)]),_0x42d66a[_0xfbe73f(0x23c)](_0x50ee8e,_0x3d87fc);}}),{'skeleton':_0x40bc1d,'cursors':_0x42d66a};}));}return(0x0,_0x5f234d['of'])({'skeleton':null,'cursors':new Map()});}))[_0x25873b(0x113)](({skeleton:_0x5610bc,cursors:_0x391227})=>{const _0xd8be9e=_0x25873b;this[_0xd8be9e(0x1ba)](),_0x5610bc&&this['_updateCollabCursors'](_0x5610bc,_0x391227);}),this[_0x25873b(0x30a)](this[_0x25873b(0x356)][_0x25873b(0x220)][_0x25873b(0x293)]((0x0,_0x217ea4[_0x25873b(0x24d)])(this[_0x25873b(0x373)]))[_0x25873b(0x113)](_0x10ff7f=>{const _0x5f0bb5=_0x25873b;var _0x4b1e18;if(_0x10ff7f==null)return;(_0x4b1e18=this[_0x5f0bb5(0x382)])==null||_0x4b1e18[_0x5f0bb5(0x3a0)](),this[_0x5f0bb5(0x382)]=null;let {skeleton:_0x22d844}=_0x10ff7f,{scene:_0x5b4b0f}=this[_0x5f0bb5(0x10c)];this[_0x5f0bb5(0x382)]=_0x5b4b0f[_0x5f0bb5(0x18a)][_0x5f0bb5(0x2c5)]((0x0,_0x388d59[_0x5f0bb5(0x351)])(_0x2a159c=>{const _0x49b3cb=_0x5f0bb5;var _0x5f2cdd,_0x81aad4;let {offsetX:_0x1294f4,offsetY:_0xb5704b}=_0x2a159c,{x:_0x5109b5,y:_0x3b63d1}=_0x5b4b0f[_0x49b3cb(0x142)](_0x4feec6[_0x49b3cb(0x2d3)][_0x49b3cb(0x22e)]([_0x1294f4,_0xb5704b])),{scaleX:_0x3fc15b,scaleY:_0x2c6cc3}=_0x5b4b0f[_0x49b3cb(0x20f)](),_0x585ef8=_0x5b4b0f[_0x49b3cb(0x3d8)](_0x4feec6[_0x49b3cb(0x19a)][_0x49b3cb(0x29d)]),_0x13e7f4=_0x5b4b0f[_0x49b3cb(0x294)](_0x4feec6['Vector2'][_0x49b3cb(0x22e)]([_0x5109b5,_0x3b63d1]),_0x585ef8),_0x59157c=_0x22d844[_0x49b3cb(0x1e4)](_0x1294f4,_0xb5704b,_0x3fc15b,_0x2c6cc3,_0x13e7f4);((_0x5f2cdd=this[_0x49b3cb(0x1c7)])==null?void 0x0:_0x5f2cdd[_0x49b3cb(0x1f8)])===_0x59157c[_0x49b3cb(0x1f8)]&&((_0x81aad4=this['_lastPointer'])==null?void 0x0:_0x81aad4['row'])===_0x59157c[_0x49b3cb(0x188)]||this[_0x49b3cb(0x2e1)][_0x49b3cb(0x26f)](_0x407f50=>{_0x407f50['onMouseMove'](_0x59157c);});},0x64));})),this[_0x25873b(0x30a)]((0x0,_0x388d59[_0x25873b(0x110)])(()=>{const _0x2c99cb=_0x25873b;var _0x196099;(_0x196099=this[_0x2c99cb(0x382)])==null||_0x196099[_0x2c99cb(0x3a0)](),this[_0x2c99cb(0x382)]=null;}));}[_0x178811(0x257)](_0x2bcf08,_0xf7d879){const _0x410100=_0x178811;let _0x3f7112=this['_sheetSkeletonManagerService']['getCurrentSkeleton']();if(!_0x3f7112)return;let _0x16d87d=this['_getSheetObject']();if(!_0x16d87d)return;this[_0x410100(0x2e1)][_0x410100(0x26f)](_0x25c490=>{_0x25c490['makeDirty']();});let {scene:_0x531c14}=_0x16d87d,_0x21c909=_0x55d593(Array[_0x410100(0x371)](_0xf7d879[_0x410100(0x2d2)]()))['map'](_0x526b72=>{const _0x5d161f=_0x410100;let {color:_0x3d1d41,range:_0x450465,name:_0x3e43a5,selection:_0x2c5304,sheetID:_0x375a7e}=_0x526b72,{startColumn:_0x48849f,startRow:_0x1e77d1,endColumn:_0x550cc2,endRow:_0x325531}=_0x450465,_0x459c09=(0x0,_0x5e0ee5[_0x5d161f(0x1c8)])(_0x1e77d1,_0x48849f,_0x531c14,_0x3f7112),_0x12f082=(0x0,_0x5e0ee5[_0x5d161f(0x1c8)])(_0x325531,_0x550cc2,_0x531c14,_0x3f7112),{columnHeaderHeightAndMarginTop:_0xa80c57}=_0x3f7112,{startX:_0x51162f,startY:_0x2d97ce}=_0x459c09,{endX:_0x2c2d2a,endY:_0x27f31d}=_0x12f082,_0xcfaa22=_0x2c2d2a-_0x51162f,_0x96ed44=_0x27f31d-_0x2d97ce;return new _0x34d60d(_0x3e43a5,{'labelPosition':_0x2d97ce-_0xa80c57>=0x14?_0x5d161f(0x2f0):_0x5d161f(0x2be),'sheetID':_0x375a7e,'range':_0x450465,'color':_0x3d1d41,'name':_0x3e43a5,'selection':_0x2c5304,'left':_0x51162f,'top':_0x2d97ce,'width':_0xcfaa22,'height':_0x96ed44,'evented':!0x1,'zIndex':0x1389});});_0x531c14[_0x410100(0x2c7)](_0x21c909,0x1),this[_0x410100(0x2e1)]=new Set(_0x21c909);}[_0x178811(0x1ba)](){const _0x2e327d=_0x178811;var _0x387f32;(_0x387f32=this[_0x2e327d(0x2e1)])==null||_0x387f32[_0x2e327d(0x26f)](_0x50b44c=>_0x50b44c[_0x2e327d(0x25c)]());}['_getSheetObject'](){const _0x58d426=_0x178811;return(0x0,_0x5e0ee5['getSheetObject'])(this['_context'][_0x58d426(0x308)],this[_0x58d426(0x10c)]);}};_0x3b13fb=_0x5cbc75([_0x19b9fb(0x1,(0x0,_0x388d59['Inject'])(_0x5e0ee5[_0x178811(0x3b0)])),_0x19b9fb(0x2,(0x0,_0x388d59[_0x178811(0x14b)])(_0x6869a)),_0x19b9fb(0x3,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x1cf)]))],_0x3b13fb);function _0x55d593(_0x8936c8){const _0x20c9d0=_0x178811;let _0x3604fe=new Map();return _0x8936c8[_0x20c9d0(0x26f)](_0x52ce01=>{const _0x267d20=_0x20c9d0;if(_0x3604fe[_0x267d20(0x28a)](_0x52ce01['selection'])){let _0x2dbb90=_0x3604fe[_0x267d20(0x27d)](_0x52ce01[_0x267d20(0x138)]);_0x2dbb90[_0x267d20(0x33b)]+=',\x20'+_0x52ce01[_0x267d20(0x33b)];}else _0x3604fe[_0x267d20(0x23c)](_0x52ce01[_0x267d20(0x138)],_0x52ce01);}),Array[_0x20c9d0(0x371)](_0x3604fe[_0x20c9d0(0x2d2)]());}let _0x4e87b8=class extends _0x388d59[_0x178811(0x258)]{constructor(_0x29548d,_0x4b7e29,_0x10eae0,_0x11dc4a,_0xf63594,_0x31b03f){const _0x2a211e=_0x178811;super(),this[_0x2a211e(0x1e1)]=_0x29548d,this['_localCacheService']=_0x4b7e29,this[_0x2a211e(0x170)]=_0x10eae0,this[_0x2a211e(0x1a4)]=_0x11dc4a,this['_notificationService']=_0xf63594,this[_0x2a211e(0x115)]=_0x31b03f,this['_setupBeforeClosingHandler'](),this[_0x2a211e(0x390)]();}['_setupBeforeClosingHandler'](){const _0x441c74=_0x178811;this[_0x441c74(0x30a)](this[_0x441c74(0x1e1)][_0x441c74(0x3be)](()=>{const _0x340d58=_0x441c74;if(this[_0x340d58(0x394)][_0x340d58(0x17d)][_0x340d58(0x18c)])return this['_localeService']['t'](_0x340d58(0x13b));}));}[_0x178811(0x390)](){const _0x3e89f1=_0x178811;this[_0x3e89f1(0x30a)](this[_0x3e89f1(0x170)][_0x3e89f1(0x3ce)][_0x3e89f1(0x113)](_0x36e31a=>{const _0x88bcd0=_0x3e89f1;_0x36e31a['id']===_0x316dd7[_0x88bcd0(0x282)][_0x88bcd0(0x2f2)]&&this['_messageService'][_0x88bcd0(0x27c)]({'type':_0x557885['MessageType'][_0x88bcd0(0x111)],'content':this[_0x88bcd0(0x115)]['t'](_0x88bcd0(0x2e2))}),_0x36e31a['id']===_0x316dd7[_0x88bcd0(0x282)][_0x88bcd0(0x256)]&&this[_0x88bcd0(0x1a4)][_0x88bcd0(0x27c)]({'type':_0x557885[_0x88bcd0(0x389)][_0x88bcd0(0x111)],'content':this[_0x88bcd0(0x115)]['t']('collaboration.closeRoom')}),_0x36e31a['id']===_0x316dd7[_0x88bcd0(0x282)][_0x88bcd0(0x2aa)]&&this[_0x88bcd0(0x189)][_0x88bcd0(0x27c)]({'title':this[_0x88bcd0(0x115)]['t']('permission.title'),'content':this['_localeService']['t'](_0x88bcd0(0x175)),'type':_0x88bcd0(0x3a8),'duration':0x0}),_0x36e31a['id']===_0x316dd7[_0x88bcd0(0x282)][_0x88bcd0(0x273)]&&this[_0x88bcd0(0x1a4)][_0x88bcd0(0x27c)]({'type':_0x557885['MessageType'][_0x88bcd0(0x23b)],'content':this[_0x88bcd0(0x115)]['t'](_0x88bcd0(0x3d0))+'('+_0x36e31a['data']+')'}),_0x36e31a['id']===_0x316dd7[_0x88bcd0(0x282)][_0x88bcd0(0x343)]&&this['_messageService']['show']({'type':_0x557885[_0x88bcd0(0x389)]['Warning'],'content':this['_localeService']['t'](_0x36e31a[_0x88bcd0(0x301)]||'')}),_0x36e31a['id']===_0x316dd7[_0x88bcd0(0x282)][_0x88bcd0(0x18d)]&&this['_messageService'][_0x88bcd0(0x27c)]({'type':_0x557885[_0x88bcd0(0x389)][_0x88bcd0(0x111)],'content':this['_localeService']['t'](_0x88bcd0(0x16c))}),_0x36e31a['id']===_0x316dd7['CollaborationUIEventId'][_0x88bcd0(0x2c1)]&&this[_0x88bcd0(0x1a4)]['show']({'type':_0x557885[_0x88bcd0(0x389)][_0x88bcd0(0x23b)],'content':this[_0x88bcd0(0x115)]['t'](_0x88bcd0(0x25e))}),_0x36e31a['id']===_0x316dd7['CollaborationUIEventId'][_0x88bcd0(0x1f2)]&&this['_messageService'][_0x88bcd0(0x27c)]({'type':_0x557885[_0x88bcd0(0x389)][_0x88bcd0(0x23b)],'content':this[_0x88bcd0(0x115)]['t'](_0x88bcd0(0x1d8))});}));}};_0x4e87b8=_0x5cbc75([_0x19b9fb(0x0,_0x4b4951[_0x178811(0x1a1)]),_0x19b9fb(0x1,_0x316dd7[_0x178811(0x296)]),_0x19b9fb(0x2,(0x0,_0x388d59[_0x178811(0x14b)])(_0x316dd7[_0x178811(0x213)])),_0x19b9fb(0x3,_0x4b4951[_0x178811(0x342)]),_0x19b9fb(0x4,_0x4b4951[_0x178811(0x378)]),_0x19b9fb(0x5,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x130)]))],_0x4e87b8);let _0x47280b=_0x178811(0x2cc);Symbol(_0x47280b);let _0x58b266={},_0x1e235e=class{constructor(_0x5317f2,_0x6f1fe0){this['_transformService']=_0x5317f2,this['_renderManagerService']=_0x6f1fe0;}[_0x178811(0x312)](_0x5e0630){const _0xbbf021=_0x178811;this[_0xbbf021(0x324)](_0x5e0630),this[_0xbbf021(0x205)](_0x5e0630);}[_0x178811(0x164)](_0x34c4a9){const _0x41eaaa=_0x178811;let {unitID:_0x33a242}=_0x34c4a9,{redoCache:_0x35a098}=this[_0x41eaaa(0x370)][_0x41eaaa(0x1a6)](_0x33a242)['with'](_0x2c1d91[_0x41eaaa(0x224)])['getUndoRedoMutationParamsCache']();if(_0x35a098[_0x41eaaa(0x2fe)]===0x0)return _0x34c4a9;let _0x5c624a=_0x388d59[_0x41eaaa(0x109)]['deepClone'](_0x34c4a9[_0x41eaaa(0x215)][0x0]);for(let _0x1a31b5=0x0;_0x1a31b5<_0x35a098[_0x41eaaa(0x2fe)];_0x1a31b5++){let _0x5352c0={'id':_0x41eaaa(0x17c),'params':{..._0x35a098[_0x1a31b5]}},_0x15f382=this[_0x41eaaa(0x1f6)][_0x41eaaa(0x272)](_0x5c624a,_0x5352c0,!0x1);if((0x0,_0x2b86a0[_0x41eaaa(0x1fc)])(_0x15f382))throw _0x15f382[_0x41eaaa(0x3a8)];_0x5c624a=_0x15f382[_0x41eaaa(0x26a)];}return{..._0x388d59['Tools']['deepClone'](_0x34c4a9),'mutations':[_0x5c624a]};}[_0x178811(0x324)](_0x9447ba){const _0x3443f4=_0x178811;let {unitID:_0x24e1d8}=_0x9447ba,_0x34656f=this[_0x3443f4(0x370)][_0x3443f4(0x1a6)](_0x24e1d8)[_0x3443f4(0x330)](_0x2c1d91[_0x3443f4(0x224)]),{undoCache:_0x25eaeb,redoCache:_0x3c9f82}=_0x34656f[_0x3443f4(0x1d5)]();if(_0x25eaeb['length']===0x0||_0x3c9f82[_0x3443f4(0x2fe)]===0x0)return;let _0x50f58f=[],_0x32721d=[],_0xfafa08=_0x388d59[_0x3443f4(0x109)]['deepClone'](_0x9447ba[_0x3443f4(0x215)][0x0]),_0x109cc9=_0x388d59[_0x3443f4(0x109)][_0x3443f4(0x2d4)](_0x9447ba[_0x3443f4(0x215)][0x0]);for(let _0x48fd84=_0x25eaeb[_0x3443f4(0x2fe)]-0x1;_0x48fd84>=0x0;_0x48fd84--){let _0x14af98={'id':_0x3443f4(0x17c),'params':{..._0x25eaeb[_0x48fd84]}},_0x456d26={'id':_0x3443f4(0x17c),'params':{..._0x3c9f82[_0x48fd84]}},_0x2f2165=this['_transformService']['transformMutation'](_0xfafa08,_0x14af98,!0x1),_0x5d767a=this[_0x3443f4(0x1f6)]['transformMutation'](_0x109cc9,_0x456d26,!0x1);if((0x0,_0x2b86a0['isTransformMutationFailure'])(_0x2f2165))throw _0x2f2165[_0x3443f4(0x3a8)];if((0x0,_0x2b86a0[_0x3443f4(0x1fc)])(_0x5d767a))throw _0x5d767a[_0x3443f4(0x3a8)];_0x50f58f[_0x3443f4(0x229)](_0x2f2165[_0x3443f4(0x15e)][_0x3443f4(0x3d1)]),_0x32721d[_0x3443f4(0x229)](_0x5d767a['m2Prime'][_0x3443f4(0x3d1)]),_0xfafa08=_0x2f2165[_0x3443f4(0x26a)],_0x109cc9=_0x5d767a['m1Prime'];}_0x34656f[_0x3443f4(0x2d5)]({'undoCache':_0x50f58f,'redoCache':_0x32721d});}[_0x178811(0x205)](_0x14f545){const _0x3218b3=_0x178811;let {unitID:_0x1e48b6}=_0x14f545,_0x17038f=this[_0x3218b3(0x370)]['getRenderById'](_0x1e48b6)['with'](_0x2c1d91[_0x3218b3(0x224)]),_0x19bd44=_0x17038f[_0x3218b3(0x2ad)]();if(_0x19bd44==null)return;let _0x10cefe=[{'id':_0x3218b3(0x17c),'params':{'unitId':_0x14f545[_0x3218b3(0x399)],'actions':null,'textRanges':[_0x19bd44]}}],_0x3279c6=this['_transformService'][_0x3218b3(0x1c1)](_0x14f545,_0x10cefe);if(!(0x0,_0x2b86a0['isTransformMutationsWithChangesetSuccess'])(_0x3279c6))throw _0x3279c6[_0x3218b3(0x3a8)];let _0x3b8547=_0x3279c6[_0x3218b3(0x15e)][0x0][_0x3218b3(0x3d1)][_0x3218b3(0x1d9)];Array['isArray'](_0x3b8547)&&_0x3b8547[_0x3218b3(0x2fe)]&&_0x17038f[_0x3218b3(0x18e)](_0x3b8547[0x0]);}};_0x1e235e=_0x5cbc75([_0x19b9fb(0x0,_0x2b86a0[_0x178811(0x3c8)]),_0x19b9fb(0x1,_0x4feec6[_0x178811(0x1db)])],_0x1e235e);let _0x3a12b7=class{constructor(_0x52afe5,_0x5ddd31,_0x239687){const _0x4d7df9=_0x178811;this[_0x4d7df9(0x12c)]=_0x52afe5,this[_0x4d7df9(0x1f6)]=_0x5ddd31,this[_0x4d7df9(0x29b)]=_0x239687;}[_0x178811(0x2cf)](_0x3d5fbe){const _0x27c847=_0x178811;this[_0x27c847(0x360)](_0x3d5fbe);}[_0x178811(0x164)](_0x4c0baf){const _0x205076=_0x178811;let {unitID:_0x444f1e}=_0x4c0baf,{collaboration:_0x85c171}=this[_0x205076(0x29b)][_0x205076(0x2b5)](_0x444f1e);if(_0x85c171['length']===0x0)return _0x4c0baf;let _0xc5bab0=_0x388d59['Tools'][_0x205076(0x2d4)](_0x4c0baf[_0x205076(0x215)][0x0]);for(let _0x4bb735=0x0;_0x4bb735<_0x85c171[_0x205076(0x2fe)];_0x4bb735++){let _0x5967ab={'id':_0x205076(0x17c),'params':{'unitId':_0x85c171[_0x4bb735]['unitId'],..._0x85c171[_0x4bb735]['redoState']}},_0x558882=this['_transformService'][_0x205076(0x272)](_0xc5bab0,_0x5967ab,!0x1);if((0x0,_0x2b86a0[_0x205076(0x1fc)])(_0x558882))throw _0x558882['error'];_0xc5bab0=_0x558882[_0x205076(0x26a)];}return{..._0x388d59['Tools']['deepClone'](_0x4c0baf),'mutations':[_0xc5bab0]};}[_0x178811(0x360)](_0xb66257){const _0xe28522=_0x178811;let {unitID:_0x3b3bec}=_0xb66257,{history:_0x486c7c,collaboration:_0x34b1b5}=this[_0xe28522(0x29b)]['getStateCache'](_0x3b3bec);if(_0x486c7c['length']===0x0&&_0x34b1b5[_0xe28522(0x2fe)]===0x0)return;let _0x90328e=[],_0x1616c2=[],_0x373b4a=_0x388d59[_0xe28522(0x109)]['deepClone'](_0xb66257[_0xe28522(0x215)][0x0]),_0x53a91d=_0x388d59['Tools'][_0xe28522(0x2d4)](_0xb66257[_0xe28522(0x215)][0x0]);for(let _0x43a83d=_0x486c7c[_0xe28522(0x2fe)]-0x1;_0x43a83d>=0x0;_0x43a83d--){let _0x48ff7e={'id':_0xe28522(0x17c),'params':{'unitId':_0x486c7c[_0x43a83d][_0xe28522(0x398)],..._0x486c7c[_0x43a83d][_0xe28522(0x35e)]}},_0x3245e0={'id':_0xe28522(0x17c),'params':{'unitId':_0x486c7c[_0x43a83d]['unitId'],..._0x486c7c[_0x43a83d][_0xe28522(0x3bb)]}},_0x505b78=this['_transformService'][_0xe28522(0x272)](_0x373b4a,_0x48ff7e,!0x1),_0x1654c4=this[_0xe28522(0x1f6)][_0xe28522(0x272)](_0x53a91d,_0x3245e0,!0x1);if((0x0,_0x2b86a0[_0xe28522(0x1fc)])(_0x505b78))throw _0x505b78[_0xe28522(0x3a8)];if((0x0,_0x2b86a0['isTransformMutationFailure'])(_0x1654c4))throw _0x1654c4[_0xe28522(0x3a8)];_0x90328e['unshift']({..._0x486c7c[_0x43a83d],'undoState':_0x505b78[_0xe28522(0x15e)][_0xe28522(0x3d1)],'redoState':_0x1654c4[_0xe28522(0x15e)]['params']}),_0x373b4a=_0x505b78[_0xe28522(0x26a)],_0x53a91d=_0x1654c4['m1Prime'];}_0x373b4a=_0x388d59['Tools'][_0xe28522(0x2d4)](_0xb66257['mutations'][0x0]),_0x53a91d=_0x388d59[_0xe28522(0x109)][_0xe28522(0x2d4)](_0xb66257['mutations'][0x0]);for(let _0x1a52d8=_0x34b1b5['length']-0x1;_0x1a52d8>=0x0;_0x1a52d8--){let _0x44b3f6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34b1b5[_0x1a52d8][_0xe28522(0x398)],..._0x34b1b5[_0x1a52d8][_0xe28522(0x35e)]}},_0x51fe34={'id':_0xe28522(0x17c),'params':{'unitId':_0x34b1b5[_0x1a52d8]['unitId'],..._0x34b1b5[_0x1a52d8]['redoState']}},_0x5dc5b3=this['_transformService']['transformMutation'](_0x373b4a,_0x44b3f6,!0x1),_0x579448=this[_0xe28522(0x1f6)][_0xe28522(0x272)](_0x53a91d,_0x51fe34,!0x1);if((0x0,_0x2b86a0[_0xe28522(0x1fc)])(_0x5dc5b3))throw _0x5dc5b3[_0xe28522(0x3a8)];if((0x0,_0x2b86a0[_0xe28522(0x1fc)])(_0x579448))throw _0x579448['error'];_0x1616c2[_0xe28522(0x229)]({..._0x34b1b5[_0x1a52d8],'undoState':_0x5dc5b3[_0xe28522(0x15e)][_0xe28522(0x3d1)],'redoState':_0x579448[_0xe28522(0x15e)]['params']}),_0x373b4a=_0x5dc5b3[_0xe28522(0x26a)],_0x53a91d=_0x579448[_0xe28522(0x26a)];}this['_docStateChangeManagerService']['setStateCache'](_0x3b3bec,{'history':_0x90328e,'collaboration':_0x1616c2});}};_0x3a12b7=_0x5cbc75([_0x19b9fb(0x0,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x266)])),_0x19b9fb(0x1,_0x2b86a0[_0x178811(0x3c8)]),_0x19b9fb(0x2,(0x0,_0x388d59[_0x178811(0x14b)])(_0x2c1d91['DocStateChangeManagerService']))],_0x3a12b7);let _0x4583bd=class{constructor(_0x5bf205,_0x9abfef){const _0x2dc232=_0x178811;this[_0x2dc232(0x12c)]=_0x5bf205,this[_0x2dc232(0x1f6)]=_0x9abfef;}[_0x178811(0x361)](_0x52b03b){const _0x10ea3d=_0x178811;var _0x154be6;let _0x5fcbd3=this[_0x10ea3d(0x12c)][_0x10ea3d(0x27d)](_0x53fea4[_0x10ea3d(0x27b)]),_0x3386fa=(_0x154be6=_0x5fcbd3[_0x10ea3d(0x10a)]())==null?[]:_0x154be6;if(_0x3386fa['length']===0x0)return;let _0x562498=_0x52b03b[_0x10ea3d(0x399)],_0xd8edd2=[{'id':_0x10ea3d(0x17c),'params':{'unitId':_0x562498,'actions':null,'textRanges':_0x3386fa}}],_0x48b1bd=this['_transformService'][_0x10ea3d(0x1c1)](_0x52b03b,_0xd8edd2);if(!(0x0,_0x2b86a0[_0x10ea3d(0x3c3)])(_0x48b1bd))throw _0x48b1bd['error'];let _0x1ce03e=_0x48b1bd['m2Prime'][0x0][_0x10ea3d(0x3d1)][_0x10ea3d(0x1d9)];Array['isArray'](_0x1ce03e)&&_0x1ce03e['length']&&_0x5fcbd3[_0x10ea3d(0x1b6)](_0x1ce03e,{'unitId':_0x562498,'subUnitId':_0x562498},!0x1);}};_0x4583bd=_0x5cbc75([_0x19b9fb(0x0,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x266)])),_0x19b9fb(0x1,_0x2b86a0[_0x178811(0x3c8)])],_0x4583bd);let _0xa8c047=class extends _0x388d59['Disposable']{constructor(_0x35df98,_0x1f9677,_0x539fce,_0x17fa4b,_0x408e24,_0x195335,_0x3e603a,_0x234867){const _0x16eb45=_0x178811;super(),this[_0x16eb45(0x29b)]=_0x35df98,this['_collaborationController']=_0x1f9677,this[_0x16eb45(0x239)]=_0x539fce,this['_docTransformStateCacheService']=_0x17fa4b,this[_0x16eb45(0x163)]=_0x408e24,this[_0x16eb45(0x3a2)]=_0x195335,this['_messageService']=_0x3e603a,this[_0x16eb45(0x115)]=_0x234867,_0x42fde9(this,_0x16eb45(0x3ab),new _0x5f234d[(_0x16eb45(0x34e))](_0x316dd7[_0x16eb45(0x1a7)]['NOT_COLLAB'])),this['_initEntityListener']();}[_0x178811(0x3cf)](){const _0xf3b664=_0x178811;this[_0xf3b664(0x30a)](this[_0xf3b664(0x241)][_0xf3b664(0x12f)][_0xf3b664(0x113)](_0x5db154=>{const _0x295edb=_0xf3b664;let _0x548eb4=this[_0x295edb(0x29b)][_0x295edb(0x310)][_0x295edb(0x113)](_0x475a39=>{const _0x411921=_0x295edb;if(_0x475a39==null)return;let {unitId:_0x264872,redoState:_0x474139,commandId:_0x50cc68}=_0x475a39;if(_0x264872!==_0x5db154[_0x411921(0x399)])return;let _0x2251a3={'id':_0x50cc68,'type':_0x388d59[_0x411921(0x1cb)][_0x411921(0x313)],'params':{'unitId':_0x264872,'actions':_0x474139[_0x411921(0x1a3)],'textRanges':null}};_0x5db154['onLocalMutation'](_0x2251a3);});_0x5db154[_0x295edb(0x30a)](_0x548eb4),_0x5db154 instanceof _0x316dd7[_0x295edb(0x198)]&&_0x5db154['addHandlerCallback']({'onTransformIME':_0x442729=>this[_0x295edb(0x239)]['transformIMECache'](_0x442729),'onTransformState':_0x49e052=>this[_0x295edb(0x267)][_0x295edb(0x2cf)](_0x49e052),'onTransformSelections':_0x261e9b=>this['_docTransformSelectionsService']['transformSelections'](_0x261e9b),'onSyncEditingCollabCursor':_0x4118c0=>this[_0x295edb(0x3a2)][_0x295edb(0x3a3)](_0x4118c0),'onTransformRemoteChangesetByIMECache':_0x380f88=>this['_docTransformIMECacheService'][_0x295edb(0x164)](_0x380f88),'onTransformRemoteChangesetByStateCache':_0x2e1846=>this[_0x295edb(0x267)][_0x295edb(0x164)](_0x2e1846)});}));}};_0xa8c047=_0x5cbc75([_0x19b9fb(0x0,(0x0,_0x388d59[_0x178811(0x14b)])(_0x2c1d91[_0x178811(0x181)])),_0x19b9fb(0x1,(0x0,_0x388d59[_0x178811(0x14b)])(_0x316dd7[_0x178811(0x1ff)])),_0x19b9fb(0x2,(0x0,_0x388d59[_0x178811(0x14b)])(_0x1e235e)),_0x19b9fb(0x3,(0x0,_0x388d59[_0x178811(0x14b)])(_0x3a12b7)),_0x19b9fb(0x4,(0x0,_0x388d59[_0x178811(0x14b)])(_0x4583bd)),_0x19b9fb(0x5,(0x0,_0x388d59[_0x178811(0x14b)])(_0x1e350a)),_0x19b9fb(0x6,_0x4b4951['IMessageService']),_0x19b9fb(0x7,(0x0,_0x388d59['Inject'])(_0x388d59[_0x178811(0x130)]))],_0xa8c047);let _0x521e20=class extends _0x388d59['Disposable']{constructor(_0x5697c4,_0x3c5442,_0x344a0a,_0x202418){const _0x1ad1ef=_0x178811;super(),this[_0x1ad1ef(0x12c)]=_0x5697c4,this[_0x1ad1ef(0x2d0)]=_0x3c5442,this[_0x1ad1ef(0x135)]=_0x344a0a,this[_0x1ad1ef(0x3d2)]=_0x202418,_0x42fde9(this,_0x1ad1ef(0x2df),void 0x0),this['_init']();}[_0x178811(0x37e)](){const _0x38607c=_0x178811;this[_0x38607c(0x196)](),this[_0x38607c(0x2fc)](),this[_0x38607c(0x2af)](),this[_0x38607c(0x14d)]();}[_0x178811(0x14d)](){const _0x2f210a=_0x178811;this[_0x2f210a(0x30a)](this[_0x2f210a(0x3d2)][_0x2f210a(0x275)][_0x2f210a(0x113)](_0x34a8fb=>{const _0x3d0156=_0x2f210a;this[_0x3d0156(0x2df)]=_0x34a8fb==null?void 0x0:_0x34a8fb['memberID'];}));}[_0x178811(0x196)](){const _0x7ea840=_0x178811;let _0x334ca0=_0x2a7868=>{const _0x21387b=_0x4aba;var _0x4146fb;this[_0x21387b(0x295)](_0x21387b(0x3a8),'[Window\x20Error]:\x20'+_0x2a7868[_0x21387b(0x278)]+_0x21387b(0x1ab)+_0x2a7868[_0x21387b(0x153)]+':'+_0x2a7868['lineno']+':'+_0x2a7868[_0x21387b(0x128)]+'\x0a'+(((_0x4146fb=_0x2a7868[_0x21387b(0x3a8)])==null?void 0x0:_0x4146fb[_0x21387b(0x1a9)])||''));};window[_0x7ea840(0x1d1)]('error',_0x334ca0),this['disposeWithMe'](()=>{window['removeEventListener']('error',_0x334ca0);});}[_0x178811(0x2fc)](){const _0x102c16=_0x178811;let _0x18c69a=_0x39c0b8=>{const _0x1e54cb=_0x4aba;this['_uploadLog']('error',_0x1e54cb(0x230)+_0x39c0b8[_0x1e54cb(0x1e3)]);};window[_0x102c16(0x1d1)](_0x102c16(0x368),_0x18c69a),this[_0x102c16(0x30a)](()=>{const _0x1279f0=_0x102c16;window[_0x1279f0(0x2e9)](_0x1279f0(0x368),_0x18c69a);});}['_monkeyPatchLogService'](){const _0x5f40b8=_0x178811;let _0x46f9e7=this['_logService']['error'][_0x5f40b8(0x318)](this['_logService']);this['_logService'][_0x5f40b8(0x3a8)]=(..._0x24d8b0)=>{const _0x5aec41=_0x5f40b8;let _0x43a603=_0x24d8b0[_0x5aec41(0x2b3)](_0x11bb48=>_0x11bb48 instanceof Error?_0x11bb48[_0x5aec41(0x278)]+'\x0a'+_0x11bb48[_0x5aec41(0x1a9)]:String(_0x11bb48))['join']('\x20');this[_0x5aec41(0x295)]('error',_0x5aec41(0x1ad)+_0x43a603),_0x46f9e7(..._0x24d8b0);},this[_0x5f40b8(0x30a)](()=>{const _0x44f109=_0x5f40b8;this[_0x44f109(0x135)][_0x44f109(0x3a8)]=_0x46f9e7;});}[_0x178811(0x295)](_0x239229,_0x40e449){const _0x456931=_0x178811;try{let _0x4145b7={'userId':this[_0x456931(0x2df)],'logLabel':_0x239229,'content':_0x40e449};this[_0x456931(0x2d0)][_0x456931(0x235)](_0x456931(0x2d7),{'body':_0x4145b7})[_0x456931(0x348)](()=>{});}catch{}}};_0x521e20=_0x5cbc75([_0x19b9fb(0x0,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x266)])),_0x19b9fb(0x1,(0x0,_0x388d59[_0x178811(0x14b)])(_0xe73b5b[_0x178811(0x264)])),_0x19b9fb(0x2,_0x388d59[_0x178811(0x2ac)]),_0x19b9fb(0x3,(0x0,_0x388d59['Inject'])(_0x316dd7[_0x178811(0x2b7)]))],_0x521e20);function _0x1d7add(_0x4bde0d){const _0x4d4611=_0x178811;var _0x2f300b,_0x254c87;let _0x2693b5=(_0x2f300b=_0x4bde0d['stageInfo'])==null?void 0x0:_0x2f300b['stage'],_0x2dbb61=((_0x254c87=_0x4bde0d[_0x4d4611(0x379)])==null?void 0x0:_0x254c87[_0x4d4611(0x1af)])||0x0;return _0x2693b5===_0x5eb7bd['FormulaExecuteStageType']['START_CALCULATION']&&_0x2dbb61>0x0;}function _0x4fb6b5(_0x1bdbff){const _0x207e54=_0x178811;return _0x1bdbff[_0x207e54(0x1dc)]===_0x5eb7bd[_0x207e54(0x386)][_0x207e54(0x191)];}let _0x3d213f=class extends _0x388d59[_0x178811(0x258)]{constructor(_0x26041f,_0x5d1d13,_0x5986b9,_0x4c398c,_0xc3250d,_0x3d59c0,_0x5485cf){const _0x37f7ca=_0x178811;super(),this[_0x37f7ca(0x1a4)]=_0x26041f,this['_commandService']=_0x5d1d13,this['_configService']=_0x5986b9,this[_0x37f7ca(0x2d0)]=_0x4c398c,this[_0x37f7ca(0x3d7)]=_0xc3250d,this['_logService']=_0x3d59c0,this['_localeService']=_0x5485cf,_0x42fde9(this,'_pollingInterval',null),_0x42fde9(this,_0x37f7ca(0x150),0x0),_0x42fde9(this,'_currentUsage',0x0),_0x42fde9(this,_0x37f7ca(0x375),[]),_0x42fde9(this,'_lastResponseTimestamp',0x0),this['_initCommandInterceptor']();}[_0x178811(0x3e1)](){const _0x1d728b=_0x178811;this[_0x1d728b(0x30a)](this[_0x1d728b(0x3e8)][_0x1d728b(0x2f9)]((_0x12b5a2,_0x95ee2e)=>{const _0x55e02b=_0x1d728b;var _0x48a86c;if(_0x12b5a2['id']!==_0x5eb7bd[_0x55e02b(0x353)]['id'])return;let _0x3dd706=_0x12b5a2[_0x55e02b(0x3d1)];if(this['_hasFormulaInDirtyRanges']((_0x48a86c=_0x3dd706[_0x55e02b(0x3b6)])==null?[]:_0x48a86c)&&!this['_checkCalculationAvailable']())throw this[_0x55e02b(0x1be)](_0x12b5a2,_0x95ee2e),this[_0x55e02b(0x3cb)](),new _0x388d59[(_0x55e02b(0x211))]();})),this['disposeWithMe'](this[_0x1d728b(0x3e8)]['onCommandExecuted']((_0x344395,_0x42465f)=>{const _0x275f38=_0x1d728b;if(_0x344395['id']!==_0x5eb7bd[_0x275f38(0x1eb)]['id'])return;let _0x2af864=_0x344395[_0x275f38(0x3d1)];if(_0x1d7add(_0x2af864)){let _0x4c5cf8=(0x0,_0x388d59[_0x275f38(0x325)])();this['_taskIds'][_0x275f38(0x148)](_0x4c5cf8),this[_0x275f38(0x2dc)](_0x4c5cf8);}else{if(_0x4fb6b5(_0x2af864)&&this['_taskIds'][_0x275f38(0x2fe)]>0x0){let _0x5b38a6=this[_0x275f38(0x375)][_0x275f38(0x134)]();this[_0x275f38(0x144)](_0x5b38a6);}}}));}[_0x178811(0x25c)](){const _0x5c4340=_0x178811;super[_0x5c4340(0x25c)](),this['_clearPolling'](),this[_0x5c4340(0x375)]=[],this['_currentUsage']=0x0,this[_0x5c4340(0x150)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x35d381,_0x40bd84){const _0xab4dd8=_0x178811;for(let _0x390c65=0x0;_0x390c65<0x1e;_0x390c65++)try{if(await this[_0xab4dd8(0x38f)](),this[_0xab4dd8(0x145)]()){this[_0xab4dd8(0x1c2)](_0x35d381,_0x40bd84),this['_messageService'][_0xab4dd8(0x27c)]({'content':this[_0xab4dd8(0x115)]['t']('formula.calculation.started'),'type':_0x557885[_0xab4dd8(0x389)]['Success']});return;}await new Promise(_0x4792c3=>{const _0xebe638=_0xab4dd8;this[_0xebe638(0x1c3)]=window[_0xebe638(0x255)](_0x4792c3,0x3e8);});}catch(_0x4cca42){this[_0xab4dd8(0x135)][_0xab4dd8(0x3a8)](_0x4cca42);}this[_0xab4dd8(0x1a4)][_0xab4dd8(0x27c)]({'content':this[_0xab4dd8(0x115)]['t'](_0xab4dd8(0x3d6)),'type':_0x557885[_0xab4dd8(0x389)]['Error']});}[_0x178811(0x1c2)](_0x402be0,_0x2c8672){const _0x4d29a4=_0x178811;try{this[_0x4d29a4(0x3e8)][_0x4d29a4(0x1d3)](_0x402be0['id'],_0x402be0[_0x4d29a4(0x3d1)],_0x2c8672);}catch(_0xf5ed4f){this[_0x4d29a4(0x135)][_0x4d29a4(0x3a8)](_0xf5ed4f);}}['_setFormulaLimitStatus'](_0x3c6a6d,_0x2720e8){const _0x118ea9=_0x178811;_0x2720e8<this[_0x118ea9(0x1a0)]||(this[_0x118ea9(0x1a0)]=_0x2720e8,this['_maxFormulaLimit']=Number['parseInt'](_0x3c6a6d[_0x118ea9(0x2b1)]),this[_0x118ea9(0x17f)]=Number[_0x118ea9(0x180)](_0x3c6a6d[_0x118ea9(0x141)]));}async[_0x178811(0x2dc)](_0x24b739){const _0x5c9fa9=_0x178811;let _0x2c4f73=Date[_0x5c9fa9(0x3b1)]();try{var _0x415abb,_0x39c124;let _0x5bfa5c=((_0x415abb=this[_0x5c9fa9(0x1e2)][_0x5c9fa9(0x1e9)](_0x316dd7[_0x5c9fa9(0x1ae)]))==null?void 0x0:_0x415abb[_0x5c9fa9(0x116)])||_0x5c9fa9(0x33a),_0x5da32b=(await this[_0x5c9fa9(0x2d0)][_0x5c9fa9(0x235)](_0x5bfa5c,{'body':JSON[_0x5c9fa9(0x1f7)]({'taskId':_0x24b739})}))[_0x5c9fa9(0x156)];if(((_0x39c124=_0x5da32b[_0x5c9fa9(0x3a8)])==null?void 0x0:_0x39c124['code'])!==_0x152465[_0x5c9fa9(0x1bc)]['OK'])return;this[_0x5c9fa9(0x3ad)](_0x5da32b[_0x5c9fa9(0x307)],_0x2c4f73);}catch(_0xc1ff58){this[_0x5c9fa9(0x135)]['error'](_0xc1ff58);}}async[_0x178811(0x38f)](_0x556f96){const _0x2aab54=_0x178811;let _0x1f603e=Date[_0x2aab54(0x3b1)]();try{var _0x183c19,_0x4a7c7e;let _0x54e458=((_0x183c19=this[_0x2aab54(0x1e2)]['getConfig'](_0x316dd7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x183c19[_0x2aab54(0x2e8)])||'/universer-api/license/formula/limit/status',_0x5f49ca=_0x556f96?_0x54e458+_0x2aab54(0x339)+encodeURIComponent(_0x556f96):_0x54e458,_0xcd0255=(await this['_httpService']['get'](_0x5f49ca))['body'];if(((_0x4a7c7e=_0xcd0255[_0x2aab54(0x3a8)])==null?void 0x0:_0x4a7c7e['code'])!==_0x152465['ErrorCode']['OK'])return;this[_0x2aab54(0x3ad)](_0xcd0255[_0x2aab54(0x307)],_0x1f603e);}catch(_0x3fe7d2){this[_0x2aab54(0x135)][_0x2aab54(0x3a8)](_0x3fe7d2);}}async[_0x178811(0x144)](_0x454a55){const _0x130558=_0x178811;let _0x460aef=Date[_0x130558(0x3b1)]();try{var _0x5ccaf9,_0x47c05b;let _0x5ad147=((_0x5ccaf9=this[_0x130558(0x1e2)][_0x130558(0x1e9)](_0x316dd7[_0x130558(0x1ae)]))==null?void 0x0:_0x5ccaf9['releaseFormulaLimitUrl'])||_0x130558(0x357),_0x403021=(await this[_0x130558(0x2d0)][_0x130558(0x235)](_0x5ad147,{'body':JSON[_0x130558(0x1f7)]({'taskId':_0x454a55})}))[_0x130558(0x156)];if(((_0x47c05b=_0x403021[_0x130558(0x3a8)])==null?void 0x0:_0x47c05b['code'])!==_0x152465['ErrorCode']['OK'])return;this['_setFormulaLimitStatus'](_0x403021[_0x130558(0x307)],_0x460aef);}catch(_0x4b322b){this[_0x130558(0x135)][_0x130558(0x3a8)](_0x4b322b);}}['_checkCalculationAvailable'](){const _0x8dd730=_0x178811;return this[_0x8dd730(0x150)]===0x0?!0x0:this[_0x8dd730(0x150)]-this[_0x8dd730(0x17f)]>0x0;}[_0x178811(0x232)](){const _0x2034fd=_0x178811;this[_0x2034fd(0x1c3)]&&(clearTimeout(this['_pollingInterval']),this[_0x2034fd(0x1c3)]=null);}['_showGuardMessage'](){const _0x3e14d2=_0x178811;this[_0x3e14d2(0x1a4)][_0x3e14d2(0x27c)]({'content':this[_0x3e14d2(0x115)]['t'](_0x3e14d2(0x38b)),'type':_0x557885[_0x3e14d2(0x389)][_0x3e14d2(0x31f)]});}['_hasFormulaInDirtyRanges'](_0x24f74e){const _0x25a89b=_0x178811;for(let _0x2040db of _0x24f74e){let {unitId:_0x5db8c9,sheetId:_0x2d8a51,range:_0x4c99b1}=_0x2040db,_0x197add=this[_0x25a89b(0x3d7)]['getUnit'](_0x5db8c9);if(!_0x197add)continue;let _0x25f89c=_0x197add[_0x25a89b(0x320)](_0x2d8a51);if(!_0x25f89c)continue;let _0x886fa6=_0x25f89c[_0x25a89b(0x2ae)]();for(let _0x4c48b1=_0x4c99b1['startRow'];_0x4c48b1<=_0x4c99b1[_0x25a89b(0x37f)];_0x4c48b1++)for(let _0x645d81=_0x4c99b1[_0x25a89b(0x369)];_0x645d81<=_0x4c99b1[_0x25a89b(0x3a6)];_0x645d81++){let _0x35cc7d=_0x886fa6['getValue'](_0x4c48b1,_0x645d81);if(_0x35cc7d&&((0x0,_0x388d59[_0x25a89b(0x3bf)])(_0x35cc7d['f'])||(0x0,_0x388d59[_0x25a89b(0x133)])(_0x35cc7d['si'])))return!0x0;}}return!0x1;}};_0x3d213f=_0x5cbc75([_0x19b9fb(0x0,(0x0,_0x388d59['Inject'])(_0x4b4951[_0x178811(0x342)])),_0x19b9fb(0x1,_0x388d59[_0x178811(0x22f)]),_0x19b9fb(0x2,_0x388d59[_0x178811(0x384)]),_0x19b9fb(0x3,(0x0,_0x388d59['Inject'])(_0xe73b5b['HTTPService'])),_0x19b9fb(0x4,_0x388d59['IUniverInstanceService']),_0x19b9fb(0x5,_0x388d59[_0x178811(0x2ac)]),_0x19b9fb(0x6,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x130)]))],_0x3d213f);let _0xd0c492=class extends _0x388d59[_0x178811(0x258)]{constructor(_0x15c6de,_0xf90786,_0xab057f){const _0x403b09=_0x178811;super(),this['_configService']=_0x15c6de,this['_localStorageService']=_0xf90786,this['_revisionService']=_0xab057f,_0x42fde9(this,_0x403b09(0x391),new Map()),_0x42fde9(this,_0x403b09(0x32f),new Map()),_0x42fde9(this,_0x403b09(0x2e0),!0x1);}[_0x178811(0x2a8)](){const _0x342af6=_0x178811;this[_0x342af6(0x2e0)]=!0x0;}[_0x178811(0x354)](){const _0x2eda44=_0x178811;this[_0x2eda44(0x2e0)]=!0x1;}get['saveTaskMap'](){const _0x134c8b=_0x178811;return this[_0x134c8b(0x32f)];}[_0x178811(0x25c)](){const _0x54c307=_0x178811;this[_0x54c307(0x11f)]()[_0x54c307(0x30c)](()=>super[_0x54c307(0x25c)]());}async['loadOfflineData'](_0x40c156){const _0x5c1acc=_0x178811;return this['_disabled']?null:this[_0x5c1acc(0x120)][_0x5c1acc(0x24f)]((0x0,_0x316dd7[_0x5c1acc(0x277)])(_0x40c156));}async['saveOfflineData'](_0x4ca8f5,_0x4e4601){const _0x1f8212=_0x178811;return!!this[_0x1f8212(0x120)][_0x1f8212(0x34f)](_0x4ca8f5,_0x4e4601);}['updateOfflineData'](_0x1aa833,_0xa4e509,_0x516d31,_0x5f4cb8){const _0x3f3c0d=_0x178811;let _0x457853=this[_0x3f3c0d(0x289)][_0x3f3c0d(0x1ef)](_0x1aa833);this[_0x3f3c0d(0x391)][_0x3f3c0d(0x23c)](_0x1aa833,{'unitID':_0x1aa833,'type':_0xa4e509,'awaitingChangeset':_0x516d31,'mutations':_0x5f4cb8,'rev':_0x457853}),this[_0x3f3c0d(0x32f)][_0x3f3c0d(0x28a)](_0x1aa833)||this['_scheduleSaving'](_0x1aa833);}[_0x178811(0x2a5)](_0x336c6a){const _0x58566c=_0x178811;let _0x3e51bf=this[_0x58566c(0x21e)]();_0x3e51bf===0x0?this[_0x58566c(0x377)](_0x336c6a):this[_0x58566c(0x32f)]['set'](_0x336c6a,setTimeout(()=>this['_saveCache'](_0x336c6a),_0x3e51bf));}[_0x178811(0x21e)](){const _0x6268fb=_0x178811;var _0x5bd39c;return(_0x5bd39c=this[_0x6268fb(0x1e2)][_0x6268fb(0x1e9)](_0x316dd7[_0x6268fb(0x374)]))==null?_0x316dd7['LOCAL_CACHE_INTERVAL']:_0x5bd39c;}[_0x178811(0x377)](_0x40937){const _0xf8dc1d=_0x178811;let _0x38a1cf=this[_0xf8dc1d(0x32f)]['get'](_0x40937);return _0x38a1cf!==void 0x0&&window[_0xf8dc1d(0x26c)](_0x38a1cf),this[_0xf8dc1d(0x120)][_0xf8dc1d(0x34f)]((0x0,_0x316dd7[_0xf8dc1d(0x277)])(_0x40937),this[_0xf8dc1d(0x391)]['get'](_0x40937))[_0xf8dc1d(0x30c)](()=>this[_0xf8dc1d(0x32f)]['delete'](_0x40937));}async[_0x178811(0x11f)](){const _0x358bc0=_0x178811;let _0x4827ab=[];this[_0x358bc0(0x32f)][_0x358bc0(0x26f)]((_0xb21fa0,_0xf48ea4)=>{const _0x1d5d3d=_0x358bc0;window['clearTimeout'](_0xb21fa0),_0x4827ab[_0x1d5d3d(0x148)](this[_0x1d5d3d(0x377)](_0xf48ea4)[_0x1d5d3d(0x30c)](()=>{const _0x3ea159=_0x1d5d3d;this[_0x3ea159(0x32f)][_0x3ea159(0x3dc)](_0xf48ea4);}));}),await Promise['all'](_0x4827ab);}};_0xd0c492=_0x5cbc75([_0x19b9fb(0x0,_0x388d59[_0x178811(0x384)]),_0x19b9fb(0x1,_0x388d59[_0x178811(0x143)]),_0x19b9fb(0x2,(0x0,_0x388d59[_0x178811(0x14b)])(_0x2b86a0[_0x178811(0x280)]))],_0xd0c492);var _0x98d542=class extends _0x388d59[_0x178811(0x3bc)]{constructor(){const _0x4f00bc=_0x178811;super(),_0x42fde9(this,_0x4f00bc(0x176),void 0x0),this[_0x4f00bc(0x176)]=(0x0,_0x5f234d[_0x4f00bc(0x2ec)])(window,'popstate')[_0x4f00bc(0x293)]((0x0,_0x5f234d[_0x4f00bc(0x24d)])(this[_0x4f00bc(0x373)]),(0x0,_0x5f234d[_0x4f00bc(0x1df)])(0x1),(0x0,_0x5f234d[_0x4f00bc(0x37a)])(void 0x0));}[_0x178811(0x28c)](_0x1d098a,_0x50a1c4,_0x1fbfa9=!0x1){const _0x2f8f88=_0x178811;let _0x1cc6c5=new URL(window[_0x2f8f88(0x328)]['href']);_0x1cc6c5[_0x2f8f88(0x1cc)]['set'](_0x1d098a,_0x50a1c4),_0x1fbfa9?window['history'][_0x2f8f88(0x1a8)]('','',_0x1cc6c5[_0x2f8f88(0x131)]()):window['history'][_0x2f8f88(0x173)]('','',_0x1cc6c5[_0x2f8f88(0x131)]());}[_0x178811(0x36a)](_0x3b0a5f,_0x415a73=!0x1){const _0x29105c=_0x178811;let _0x320f44=new URL(window[_0x29105c(0x328)]['href']);_0x320f44[_0x29105c(0x1cc)][_0x29105c(0x3dc)](_0x3b0a5f),_0x415a73?window[_0x29105c(0x225)][_0x29105c(0x1a8)]('','',_0x320f44[_0x29105c(0x131)]()):window[_0x29105c(0x225)][_0x29105c(0x173)]('','',_0x320f44[_0x29105c(0x131)]());}[_0x178811(0x197)](_0x36883b){const _0x59b34b=_0x178811;var _0x458f9f;return(_0x458f9f=new URL(window[_0x59b34b(0x328)]['href'])[_0x59b34b(0x1cc)][_0x59b34b(0x27d)](_0x36883b))==null?void 0x0:_0x458f9f;}};let _0x1659a2=class extends _0x388d59[_0x178811(0x3b5)]{constructor(_0x497d28=_0x58b266,_0x5aa153,_0x1f85aa,_0x424dcf){const _0x4dd6d2=_0x178811;super(),this[_0x4dd6d2(0x25f)]=_0x497d28,this[_0x4dd6d2(0x370)]=_0x5aa153,this['_injector']=_0x1f85aa,this[_0x4dd6d2(0x1e2)]=_0x424dcf;let {..._0x4d7f44}=(0x0,_0x388d59[_0x4dd6d2(0x38e)])({},_0x58b266,this['_config']);this[_0x4dd6d2(0x1e2)][_0x4dd6d2(0x259)](_0x47280b,_0x4d7f44);}[_0x178811(0x157)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x178811(0x2ce)](){const _0x5218aa=_0x178811;this[_0x5218aa(0x24b)]();}[_0x178811(0x2f7)](){const _0x5c96a1=_0x178811;var _0x19fd08;let _0x1b4ca5=[[_0x3143aa],[_0x3d213f],[_0x4583bd],[_0x1e235e],[_0x3a12b7],[_0x1e350a],[_0x5803f9,{'useClass':_0x98d542}],[_0xe73b5b[_0x5c96a1(0x226)],{'useClass':_0xe73b5b['WebSocketService']}],[_0x316dd7['ILocalCacheService'],{'useClass':_0xd0c492}],[_0x27efdb],[_0xa8c047],[_0x4e87b8],[_0x6869a],[_0x598a7a],[_0x251c30]];this[_0x5c96a1(0x25f)][_0x5c96a1(0x167)]&&_0x1b4ca5[_0x5c96a1(0x148)]([_0x521e20]),(0x0,_0x388d59[_0x5c96a1(0x2f1)])(this[_0x5c96a1(0x12c)],(0x0,_0x388d59[_0x5c96a1(0x2ab)])(_0x1b4ca5,(_0x19fd08=this[_0x5c96a1(0x25f)])==null?void 0x0:_0x19fd08[_0x5c96a1(0x12b)]));}['_registerRenderDependencies'](){const _0x1603a8=_0x178811;this[_0x1603a8(0x30a)](this[_0x1603a8(0x370)][_0x1603a8(0x147)](_0x388d59[_0x1603a8(0x2de)]['UNIVER_DOC'],[_0x58cc5a])),this[_0x1603a8(0x30a)](this[_0x1603a8(0x370)]['registerRenderModule'](_0x388d59[_0x1603a8(0x2de)]['UNIVER_SHEET'],[_0x3b13fb]));}['_initDependencies'](){const _0x1a7f06=_0x178811;(0x0,_0x388d59[_0x1a7f06(0x395)])(this[_0x1a7f06(0x12c)],[[_0x6869a],[_0x27efdb],[_0xa8c047],[_0x4e87b8],[_0x251c30],[_0x3d213f]]),this[_0x1a7f06(0x25f)][_0x1a7f06(0x167)]&&(0x0,_0x388d59['touchDependencies'])(this[_0x1a7f06(0x12c)],[[_0x521e20]]);}};_0x42fde9(_0x1659a2,_0x178811(0x365),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x42fde9(_0x1659a2,_0x178811(0x236),_0xa4800f),_0x42fde9(_0x1659a2,_0x178811(0x316),_0x19f08f),_0x1659a2=_0x5cbc75([(0x0,_0x388d59[_0x178811(0x34c)])(_0x316dd7[_0x178811(0x344)]),_0x19b9fb(0x1,_0x4feec6[_0x178811(0x1db)]),_0x19b9fb(0x2,(0x0,_0x388d59[_0x178811(0x14b)])(_0x388d59[_0x178811(0x266)])),_0x19b9fb(0x3,_0x388d59[_0x178811(0x384)])],_0x1659a2);let _0x5eaa08=class extends _0x316dd7[_0x178811(0x366)]{constructor(_0x460403,_0x56a6dc,_0x6dd46c,_0x2afaa8,_0x36b99f){super(_0x460403,_0x56a6dc,_0x6dd46c,_0x2afaa8,_0x36b99f);}async[_0x178811(0x284)](_0x4d0c36){const _0x3f6e9a=_0x178811;let _0x192254=await this[_0x3f6e9a(0x251)](),_0x3e41f4=this[_0x3f6e9a(0x33d)](_0x4d0c36,_0x192254);return this['_doCreateSocket'](_0x3e41f4);}[_0x178811(0x33d)](_0x4bae32,_0xa594bd){const _0x120f38=_0x178811;let _0x41f656=typeof window>'u'?new URL(_0x4bae32):new URL(_0x4bae32,window[_0x120f38(0x328)][_0x120f38(0x183)]);_0x41f656[_0x120f38(0x1cc)]['set']('sessionTicket',_0xa594bd);let _0x37ee60=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x120f38(0x328)][_0x120f38(0x238)]);return _0x37ee60[_0x120f38(0x27d)](_0x120f38(0x341))&&_0x41f656[_0x120f38(0x1cc)][_0x120f38(0x23c)]('runId',_0x37ee60['get'](_0x120f38(0x341))),_0x41f656['toString']();}async['_getSessionTicket'](){const _0x5cc0c7=_0x178811;var _0x3896b8,_0x5680b3,_0x1865c1;let _0x9b6fda=this[_0x5cc0c7(0x1e2)][_0x5cc0c7(0x1e9)](_0x316dd7[_0x5cc0c7(0x1ae)]),_0x23be9f=(_0x3896b8=_0x9b6fda==null?void 0x0:_0x9b6fda[_0x5cc0c7(0x359)])==null?_0x316dd7[_0x5cc0c7(0x2ca)]:_0x3896b8;return(_0x5680b3=(_0x1865c1=(await this['_httpService'][_0x5cc0c7(0x27d)](_0x23be9f,{'headers':{'Content-Type':_0x5cc0c7(0x216)}}))[_0x5cc0c7(0x156)])==null?void 0x0:_0x1865c1[_0x5cc0c7(0x1bf)])==null?'':_0x5680b3;}};_0x5eaa08=_0x5cbc75([_0x19b9fb(0x0,(0x0,_0x388d59['Inject'])(_0x388d59['Injector'])),_0x19b9fb(0x1,(0x0,_0x388d59[_0x178811(0x14b)])(_0xe73b5b[_0x178811(0x264)])),_0x19b9fb(0x2,_0x388d59[_0x178811(0x384)]),_0x19b9fb(0x3,_0x388d59[_0x178811(0x2ac)]),_0x19b9fb(0x4,_0x2b86a0[_0x178811(0x3c9)])],_0x5eaa08);let _0x44b432=class extends _0x388d59[_0x178811(0x258)]{constructor(_0x29f700,_0x218f75,_0x4da2cc){const _0x5f3510=_0x178811;super(),this['_instanceService']=_0x29f700,this[_0x5f3510(0x2d0)]=_0x218f75,this['_configService']=_0x4da2cc;}async[_0x178811(0x35b)](_0x219b13,_0xa1b451,_0x27625d,..._0x26d5b5){const _0x44f19c=_0x178811;var _0x3e4ff2,_0x34c6cd,_0x58ca2b,_0x2a2986;let _0x1a31ef=this[_0x44f19c(0x166)][_0x44f19c(0x1fb)]();if(!_0x1a31ef)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x1b53ca=((_0x3e4ff2=this[_0x44f19c(0x1e2)][_0x44f19c(0x1e9)](_0x316dd7[_0x44f19c(0x2b4)]))==null?_0x316dd7[_0x44f19c(0x21b)]:_0x3e4ff2)+'/'+_0x219b13+_0x44f19c(0x32b)+_0xa1b451,_0x4f2071={'scriptId':_0x219b13,'runId':(_0x34c6cd=new URL(window[_0x44f19c(0x328)]['href'])[_0x44f19c(0x1cc)][_0x44f19c(0x27d)](_0x44f19c(0x341)))==null?'':_0x34c6cd,'function':_0xa1b451,'unitId':_0x1a31ef[_0x44f19c(0x3ac)](),'argsOfFunction':JSON[_0x44f19c(0x1f7)](_0x26d5b5),'invokeId':(_0x58ca2b=_0x27625d[_0x44f19c(0x35f)])==null?'':_0x58ca2b,'executionId':(_0x2a2986=_0x27625d['executionId'])==null?'':_0x2a2986};try{let _0x2c0a92=await this[_0x44f19c(0x2d0)][_0x44f19c(0x235)](_0x1b53ca,{'body':_0x4f2071});return _0x2c0a92['body'][_0x44f19c(0x3a8)]&&_0x2c0a92[_0x44f19c(0x156)][_0x44f19c(0x3a8)][_0x44f19c(0x322)]!==_0x152465['ErrorCode']['OK']?_0x44f19c(0x178):_0x2c0a92['body'][_0x44f19c(0x338)];}catch{return _0x44f19c(0x178);}}};_0x44b432=_0x5cbc75([_0x19b9fb(0x0,_0x388d59[_0x178811(0x149)]),_0x19b9fb(0x1,(0x0,_0x388d59[_0x178811(0x14b)])(_0xe73b5b[_0x178811(0x264)])),_0x19b9fb(0x2,_0x388d59[_0x178811(0x384)])],_0x44b432);let _0x19546d=0x7530,_0x54f885='ACTIVE_UNIT_EVENT_CHANNEL';var _0x580d74=class extends _0x388d59[_0x178811(0x258)]{constructor(){const _0x2a04e0=_0x178811;super(),_0x42fde9(this,'_id',(0x0,_0x388d59[_0x2a04e0(0x325)])()),_0x42fde9(this,_0x2a04e0(0x152),new Set()),_0x42fde9(this,_0x2a04e0(0x260),new Map()),_0x42fde9(this,_0x2a04e0(0x1fd),null),_0x42fde9(this,_0x2a04e0(0x1bb),new Map()),_0x42fde9(this,'_unitStatus',new Map()),this[_0x2a04e0(0x37e)]();}['dispose'](){const _0x47257d=_0x178811;super[_0x47257d(0x25c)](),this[_0x47257d(0x1bb)]['forEach']((_0x5df21c,_0x343edd)=>this['_removeClearOtherTimer'](_0x343edd)),this[_0x47257d(0x1fd)]&&window[_0x47257d(0x1e7)](this[_0x47257d(0x1fd)]);}[_0x178811(0x3cd)](_0x2ee358){const _0x355a40=_0x178811;return this[_0x355a40(0x340)](_0x2ee358)[_0x355a40(0x293)]((0x0,_0x5f234d[_0x355a40(0x32a)])());}[_0x178811(0x25b)](_0x2b2fc0){const _0x4c0182=_0x178811;this[_0x4c0182(0x152)][_0x4c0182(0x18c)]===0x0&&this[_0x4c0182(0x3ae)](),this[_0x4c0182(0x152)][_0x4c0182(0x3d5)](_0x2b2fc0),this[_0x4c0182(0x3c1)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2b2fc0],'isForwarded':!0x1});}['disposeUnit'](_0xc2c371){const _0x1ccf3e=_0x178811;this['_selfUnitIDs'][_0x1ccf3e(0x3dc)](_0xc2c371),this['_selfUnitIDs'][_0x1ccf3e(0x18c)]===0x0&&this[_0x1ccf3e(0x1fd)]&&window[_0x1ccf3e(0x1e7)](this[_0x1ccf3e(0x1fd)]);}[_0x178811(0x37e)](){const _0x356472=_0x178811;this['disposeWithMe']((0x0,_0x388d59[_0x356472(0x110)])((0x0,_0x5f234d['fromEvent'])(window,_0x356472(0x34d))[_0x356472(0x113)](_0x352839=>{const _0x1a18dc=_0x356472;if(_0x352839[_0x1a18dc(0x151)]!==_0x54f885||!_0x352839[_0x1a18dc(0x345)])return;let _0x43a28b=JSON[_0x1a18dc(0x1d6)](_0x352839['newValue']);this[_0x1a18dc(0x3aa)](_0x43a28b);}))),window[_0x356472(0x1d1)]('unload',()=>this[_0x356472(0x3c1)]({'type':0x1,'memberID':this[_0x356472(0x20a)],'unitIDs':Array[_0x356472(0x371)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x1cf1a5){const _0x5adfaa=_0x178811;switch(_0x1cf1a5[_0x5adfaa(0x2e4)]){case 0x0:this[_0x5adfaa(0x210)](_0x1cf1a5);break;case 0x1:this[_0x5adfaa(0x397)](_0x1cf1a5);break;case 0x2:this[_0x5adfaa(0x126)](_0x1cf1a5);break;}}['_handleJoinEvent'](_0x43c0ec){const _0x54e37e=_0x178811;let {unitIDs:_0x5de374,memberID:_0x1ce342,isForwarded:_0x24052d}=_0x43c0ec;_0x5de374['forEach'](_0x43aac4=>{const _0x1efad1=_0x4aba;if(!_0x24052d&&this[_0x1efad1(0x260)]['has'](_0x43aac4)&&this[_0x1efad1(0x340)](_0x43aac4)[_0x1efad1(0x304)](_0x316dd7[_0x1efad1(0x27f)]['OTHER_CLIENTS_EDITING']),!this[_0x1efad1(0x260)][_0x1efad1(0x28a)](_0x43aac4)||!this[_0x1efad1(0x260)][_0x1efad1(0x27d)](_0x43aac4)['has'](_0x1ce342)){let _0x3ff2bd=this[_0x1efad1(0x260)]['get'](_0x43aac4)||new Set();_0x3ff2bd[_0x1efad1(0x3d5)](_0x1ce342),this[_0x1efad1(0x260)][_0x1efad1(0x23c)](_0x43aac4,_0x3ff2bd),this['_scheduleClearOtherTimer'](_0x1ce342);}}),_0x24052d||this[_0x54e37e(0x3c1)]({'type':0x0,'memberID':this[_0x54e37e(0x20a)],'unitIDs':[...this[_0x54e37e(0x152)]],'isForwarded':!0x0});}[_0x178811(0x3a9)](_0x1bdf11){const _0x427109=_0x178811;this[_0x427109(0x2a7)](_0x1bdf11);let _0x21a4f6=window[_0x427109(0x255)](()=>{const _0x2892d3=_0x427109;this[_0x2892d3(0x260)][_0x2892d3(0x26f)](_0x2240dc=>{const _0x44d9ee=_0x2892d3;_0x2240dc[_0x44d9ee(0x3dc)](_0x1bdf11);});},_0x19546d*0x2);this['_clearOtherTimers']['set'](_0x1bdf11,_0x21a4f6);}[_0x178811(0x2a7)](_0x4a9315){const _0x2b8156=_0x178811;if(this[_0x2b8156(0x1bb)][_0x2b8156(0x28a)](_0x4a9315)){let _0x31524e=this['_clearOtherTimers'][_0x2b8156(0x27d)](_0x4a9315);_0x31524e&&window[_0x2b8156(0x26c)](_0x31524e),this[_0x2b8156(0x1bb)][_0x2b8156(0x23c)](_0x4a9315,null);}}[_0x178811(0x397)](_0x3d1348){const _0x398922=_0x178811;let {memberID:_0x366c24,unitIDs:_0x443bda}=_0x3d1348;_0x443bda[_0x398922(0x26f)](_0x10a0f1=>{const _0x2a47a8=_0x398922;var _0x424a6f;let _0x462c02=this['_unitOnClients'][_0x2a47a8(0x27d)](_0x10a0f1);_0x462c02&&(_0x462c02[_0x2a47a8(0x3dc)](_0x366c24),(_0x424a6f=this[_0x2a47a8(0x340)](_0x10a0f1))==null||_0x424a6f['next'](_0x462c02[_0x2a47a8(0x18c)]===0x0?_0x316dd7[_0x2a47a8(0x27f)][_0x2a47a8(0x1fa)]:_0x316dd7['UnitStatus'][_0x2a47a8(0x358)]));}),this[_0x398922(0x2a7)](_0x366c24);}[_0x178811(0x126)](_0x5dd9ab){const _0x3b25d5=_0x178811;this['_scheduleClearOtherTimer'](_0x5dd9ab[_0x3b25d5(0x1c9)]);}['_send'](_0x3e1d71){const _0x46db70=_0x178811;localStorage[_0x46db70(0x34f)](_0x54f885,JSON[_0x46db70(0x1f7)](_0x3e1d71));}[_0x178811(0x3ae)](){const _0x1d5448=_0x178811;this[_0x1d5448(0x1fd)]=window[_0x1d5448(0x27a)](()=>{const _0x534085=_0x1d5448;this[_0x534085(0x3c1)]({'type':0x2,'memberID':this[_0x534085(0x20a)]});},_0x19546d);}[_0x178811(0x340)](_0x499448){const _0x4771b4=_0x178811;return this['_unitStatus']['has'](_0x499448)||this['_unitStatus'][_0x4771b4(0x23c)](_0x499448,new _0x5f234d['BehaviorSubject'](_0x316dd7['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x4771b4(0x33c)][_0x4771b4(0x27d)](_0x499448);}};Object[_0x178811(0x317)](_0x15f6cb,_0x178811(0x13c),{'enumerable':!0x0,'get':function(){return _0x5eaa08;}}),Object[_0x178811(0x317)](_0x15f6cb,_0x178811(0x3ea),{'enumerable':!0x0,'get':function(){return _0x251c30;}}),Object[_0x178811(0x317)](_0x15f6cb,_0x178811(0x33f),{'enumerable':!0x0,'get':function(){return _0x27efdb;}}),_0x15f6cb[_0x178811(0x23e)]=_0x5803f9,Object[_0x178811(0x317)](_0x15f6cb,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0x44b432;}}),_0x15f6cb[_0x178811(0x36c)]=_0x34d60d,Object[_0x178811(0x317)](_0x15f6cb,_0x178811(0x283),{'enumerable':!0x0,'get':function(){return _0x1659a2;}}),_0x15f6cb[_0x178811(0x334)]=_0x580d74,_0x15f6cb[_0x178811(0x14c)]=_0x98d542;}));function _0xf61a(){const _0x441be1=['createInstance','handleMoveRange','MessageType','SheetsSelectionsService','formula.calculation.waiting','_updateURLWithCurrentState','getSkeleton','merge','_getFormulaLimitStatus','_initEvent','_cachedData','IImageIoService','_initStatusComponent','_localCacheService','touchDependencies','toRgbString','_handleLeaveEvent','unitId','unitID','collab-text-range-','InsertColCommandId','IDocClipboardService','selections','backgroundColor','startRow','unsubscribe','DeleteRangeMoveLeftCommandId','_docSyncEditingCollabCursorService','syncEditingCollabCursor','univer-m-0\x20univer-p-0','univer-transition-all\x20univer-duration-200','endColumn','xlink:href','error','_scheduleClearOtherTimer','_handleEvent','_status$','getUnitId','_setFormulaLimitStatus','_scheduleHeartbeat','replace','SheetSkeletonManagerService','now','UNIVER_DOC','8491dGhkmW','svg','Plugin','dirtyRanges','NodePositionConvertToCursor','\x20-\x20','currentColor','_entities','redoState','RxDisposable','RECT','registerBeforeClose','isFormulaString','_toggleOffline','_send','UniverProCollaborationClientUi','isTransformMutationsWithChangesetSuccess','colorClass','3301944mDNWdy','_offsetY','tag','ITransformService','ISnapshotServerService','idSuffix','_showGuardMessage','init','getUnitStatus$','event$','_initEntityListener','collaboration.closeRoom','params','_collaborationSessionService','measureText','1272733lSkHxo','add','formula.calculation.unable','_univerInstanceService','getViewport','_docSkeleton','startsWith','RemoveRowCommandId','delete','#0B9EFB','UniverProCollaborationClient','NodePositionConvertToRectRange','univerjs-icon\x20univerjs-icon-','_initCommandInterceptor','range','2075lLKFCl','_uiPartsService','_isBlinkVisible','transformByState','react/jsx-runtime','_commandService','RegularPolygon','CollaborationDataLoaderController','slice','off-line-icon_clip0_910_343','_memberService','AWAITING_WITH_PENDING','Tools','getDocRanges','combineLatest','_context','_online','green.600','univer-text-blue-500','toDisposable','Warning','_getMergeRange','subscribe','UniverDesign','_localeService','startFormulaLimitUrl','ranges','random','_blinkIntervalTimer','setShapeProps','UniverProCollaboration','ONLINE','_refreshCollabCursors','getMergeData','exhaustSavingTask','_localStorageService','uni.network.url-service','decorate','_updateLocalCursor','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','collabStatus.fetchMiss','_handleHeartbeatEvent','_roomMembers$','colno','_textBubble','@univerjs/engine-render','override','_injector','ColorKit','pulse','entityInit$','LocaleService','toString','UniverCore','isFormulaId','shift','_logService','button','requireSession','selection','getMemberID','none','collaboration.offline-data-not-saved','BrowserCollaborationSocketService','_toggleOnline','onPointerEnter$','send','highlightSecond','currentUsage','getRelativeToViewportCoord','ILocalStorageService','_releaseCalculationLimit','_checkCalculationAvailable','static','registerRenderModule','push','IUniverInstanceService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Inject','WebURLService','_initUserListener','mask','_colorIndex','_maxFormulaLimit','key','_selfUnitIDs','filename','Rect','blue.400','body','onStarting','LoadingMultiIcon','NOT_COLLAB','children','indicator','_imageIoService','moveTo','m2Prime','jsx','2072156SCFoDk','collabStatus.offline','onPointerLeave$','_docTransformSelectionsService','transformRemoteChangeset','span','_instanceService','enableFrontendLog','labelPosition','use','UniverProtocol','rxjs/operators','session.will-retry','1em','_anchor','_cursor','_collaborationUIEventService','_onRefRangeChange','cursorInfo$','pushState','saveImage','permission.content','urlChange$','_backgroundColor','Failed','_document','findNodePositionByCharIndex','switchMap','doc.mutation.rich-text-editing','saveTaskMap','eventID','_currentUsage','parseInt','DocStateChangeManagerService','url(#on-line-icon_clip0_910_349)','origin','roomMembers$','debounceTime','collab-text-anchor-','_getScale','row','_notificationService','onPointerMove$','getColor','size','SOCKET_FAILED_RETRY','setActiveRange','rgba(255,\x20255,\x20255,\x200.01)','@univerjs/design','SUCCESS','sheetID','string','round','useDependency','_initWindowErrorListener','getParam','DocCollaborationEntity','7716FFUBzF','SHEET_VIEWPORT_KEY','registerRefRange','univer-text-gray-400','addClipboardHook','highlight','colorChannel1','_lastResponseTimestamp','IBeforeCloseService','@univerjs/sheets','actions','_messageService','assign','getRenderById','CollaborationStatus','replaceState','stack','complete','\x20at\x20','serializeRangeWithSheet','[LogService\x20Error]:\x20','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','totalFormulasToCalculate','_themeService','getOffsetConfig','_range','_syncEditingCollabCursorService','getCollabCursors$','IRemoteInstanceService','replaceDocRanges','isEditing','DOC_RANGE_TYPE','_onCursorDelete','_removeCollabCursors','_clearOtherTimers','ErrorCode','hide','_checkAndWaitForCalculationPermission','ticket','_setupSubUnitSync','transformMutationsWithChangeset','_applyCommand','_pollingInterval','currentTheme$','fillText','forwardRef','_lastPointer','getCoordByCell','memberID','includes','CommandType','searchParams','univer-border-none\x20univer-bg-transparent','useObservable','ThemeService','collabStatus.syncing','addEventListener','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','executeCommand','defs','getUndoRedoMutationParamsCache','parse','http://www.w3.org/2000/svg','session.collaboration-timeout','textRanges','React','IRenderManagerService','functionsExecutedState','UniverDocs','iterator','shareReplay','exports','_beforeCloseService','_configService','reason','getCellPositionByOffset','UPDATE_CURSOR','reconnect','clearInterval','EffectRefRangId','getConfig','COLORS','SetFormulaCalculationNotificationMutation','_entityInit$','rxjs','setAlpha','getCurrentRevOfUnit','_refRangeService','font','SUBMIT_CHANGESET_TIMEOUT','9gGteme','symbol','fillStyle','_transformService','stringify','column','OffLineIcon','NO_OTHER_CLIENTS_EDITING','getFocusedUnit','isTransformMutationFailure','_heartbeatTimer','9687410hhTmQq','CollaborationController','substring','Shape','UniverRpc','getMember','_getLighterColor','_transformPreviousActiveRange','cursorInfo','_hideTimer','url(#$1','getSheetId','_id','deserializeRangeWithSheet','univer-flex\x20univer-items-center\x20univer-justify-center','RichTextEditingMutation','imageSourceType','getAncestorScale','_handleJoinEvent','CanceledError','_showText','CollaborationUIEventService','fill','mutations','application/json','collabStatus.conflict','onCommandExecuted','makeDirty','_startDocCollabCursor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrentUnitOfType','_dataLoaderService','_getSaveTimeout','_assignedColors','currentSkeleton$','InsertRangeMoveRightCommandId','handleDeleteRangeMoveUp','MoveRangeCommandId','DocIMEInputManagerService','history','ISocketService','fillRule','width','unshift','operators','_updateSubUnitFromURLParams','focused$','purple.300','FromArray','ICommandService','[Unhandled\x20Rejection]:\x20','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_clearPolling','save','_hover','post','packageName','isArray','search','_docTransformIMECacheService','_drawAnchor','Error','set','entries','IURLService','0\x200\x2016\x2016','DeleteRangeMoveUpCommandId','_collaborationController','_startSheetCollabCursor','_blinkTimer','_scene','_startBlinking','DisposableCollection','getValue','getCollabEntity$','clickable','univer-text-green-500','_registerRenderDependencies','Rectangle','takeUntil','subUnitId','getItem','_labelPosition','_getSessionTicket','color','white','toPrimitive','setTimeout','CLOSE_ROOM','_updateCollabCursors','Disposable','setConfig','object','editingUnit','dispose','onMouseMove','session.connection-failed','_config','_unitOnClients','_collabSessionService','drawWith','div','HTTPService','getTypeOfUnitAdded$','Injector','_docTransformStateCacheService','find','on-line-icon','m1Prime','_docClipboardService','clearTimeout','handleDeleteRangeMoveLeft','status','forEach','@univerjs/protocol','@univerjs/core','transformMutation','CONFLICT','univer-text-red-500','socket$','dark:focus:univer-ring-offset-gray-800','getLocalCacheKey','message','SessionStatus','setInterval','DocSelectionManagerService','show','get','translate(.97)','UnitStatus','RevisionService','0\x200\x2017\x2016','CollaborationUIEventId','UniverCollaborationClientUIPlugin','createSocket','FETCH_MISS','_collabCursorState$','isActive','_handleHover','_revisionService','has','Tooltip','setParam','UniverIcon','assignAColorForMemberID','Module','@univerjs/rpc','_urlService','whenReady','pipe','getVpScrollXYInfoByPosToVp','_uploadLog','ILocalCacheService','UniverDrawing','collab-rect-range-','_drawRectRange','TEXT_RANGE_LAYER_INDEX','_docStateChangeManagerService','handleIRemoveRow','VIEW_MAIN','toStringTag','TRANSFORM_CHANGE_OBSERVABLE_TYPE','[CollaborationDataLoaderController]','prototype','text','_highlight','_colorAssignService','_scheduleSaving','Workbook','_removeClearOtherTimer','disableLocalCache','rgb','PERMISSION_DENIED','mergeOverrideWithDependencies','ILogService','getActiveRange','getCellMatrix','_monkeyPatchLogService','Unknown\x20user','maxFormulaLimit','_shapes','map','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getStateCache','_draw','CollaborationSessionService','_cursorInfo$','path','evenodd','sheetId','polite','SetTextSelectionsOperation','bottom','engine','_stopBlinking','SOCKET_FAILED','handleInsertCol','MemberService','univer-text-orange-500','subscribeEvent','TEXT','addObjects','useMemo','tooltipKey','DEFAULT_WS_SESSION_TICKET_URL','filter','collaboration-client-ui.config','@univerjs/engine-formula','onRendered','transformStateCache','_httpService','function','values','Vector2','deepClone','setUndoRedoMutationParamsCache','HEADER_MENU','/universer-api/frontend/logs','USERS_LEAVE','@univerjs/sheets-ui','1sMCVVq','Optional','_startCalculationLimit','sessionStatus$','UniverInstanceType','_memberID','_disabled','_cursors','collaboration.single-unit.warning','RemoveColCommandId','type','univer-appearance-none','getActiveSheet','M0\x200H16V16H0z','getFormulaLimitStatusUrl','removeEventListener','arc','source','fromEvent','getRangePointData','url(#off-line-icon_clip0_910_343)','CollaborationEvent','top','registerDependencies','OTHER_CLIENT_EDITING','SetDocZoomRatioOperation','@univerjs/network','_initResize','triggerDblclick','_registerDependencies','...','beforeCommandExecuted','_docSkeletonManagerService','@univerjs-pro/collaboration-client','_initUnhandledRejectionListener','getColorFromTheme','length','true','UniverDocsUi','data','attrs','subunit','next','addObject','lineTo','limitInfo','unit',',\x200.2)','disposeWithMe','_getAnchorBounding','then','max','#FFF','InsertRangeMoveDownCommandId','docStateChange$','OnLineIcon','transformIMECache','MUTATION','collabCursorState$','asObservable','version','defineProperty','bind','_session','getTypeOfUnitDisposed$','constructor','_name','@univerjs/drawing','rgba','Loading','getSheetBySheetId','useRef','code','useCallback','_transformUndoRedoStack','generateRandomId','loading-multi-icon','UniverSheetsUi','location','_hovered','distinctUntilChanged','/run/','_color','rgba(','_anchorDot','_saveTaskMap','with','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','UNIVER_SHEET','clsx','WebBrowserSingleActiveUnitService','handleInsertRow','OFFLINE','on-line-icon_clip0_910_349','result','?taskId=','/universer-api/license/formula/limit/start','name','_unitStatus','_createSocketURL','offsetY','DesktopCollaborationStatusDisplayController','_ensureSubject','runId','IMessageService','JOIN_ROOM_FAILED','UniverCollaborationClientPlugin','newValue','resize','black','catch','restore','call','SetWorksheetActivateCommand','DependentOn','storage','BehaviorSubject','setItem','getUnhiddenWorksheets','debounce','11589816UZCdCs','SetFormulaCalculationStartMutation','enableLocalCache','_cursorShapes','_sheetSkeletonManagerService','/universer-api/license/formula/limit/done','OTHER_CLIENTS_EDITING','wsSessionTicketUrl','react','runOnServer','status$','spin','undoState','invokeId','_transformHistoryAndStateStack','transformSelections','defIds','loadUnit','handleInsertRangeMoveRight','pluginName','CollaborationSocketService','displayName','unhandledrejection','startColumn','removeParam','UniverEngineRender','SheetCollabCursorShape','_highlightSecond','createElement','registerComponent','_renderManagerService','from','_onCursorUpdate','dispose$','LOCAL_CACHE_INTERVAL_KEY','_taskIds','AWAITING','_saveCache','INotificationService','stageInfo','mapTo','handleInsertRangeMoveDown','936WlJdbJ','trim','_init','endRow','SetSelectionsOperation','amd','_pointerMoveDisposable','onTransformChange$','IConfigService','_eventUnsubscribe','FormulaExecutedStateType'];_0xf61a=function(){return _0x441be1;};return _0xf61a();}
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
function
|
|
11
|
+
function _0x444c(_0x465d70,_0x2c9af2){_0x465d70=_0x465d70-0xb8;var _0x56d34e=_0x56d3();var _0x444c70=_0x56d34e[_0x465d70];return _0x444c70;}(function(_0x5972a8,_0x150905){var _0x2bbaa5=_0x444c,_0x386ced=_0x5972a8();while(!![]){try{var _0x1377e8=parseInt(_0x2bbaa5(0xc9))/0x1+-parseInt(_0x2bbaa5(0xc0))/0x2*(-parseInt(_0x2bbaa5(0xba))/0x3)+-parseInt(_0x2bbaa5(0xbb))/0x4*(-parseInt(_0x2bbaa5(0xb9))/0x5)+parseInt(_0x2bbaa5(0xbf))/0x6+-parseInt(_0x2bbaa5(0xc5))/0x7*(parseInt(_0x2bbaa5(0xc3))/0x8)+-parseInt(_0x2bbaa5(0xc1))/0x9+-parseInt(_0x2bbaa5(0xc6))/0xa;if(_0x1377e8===_0x150905)break;else _0x386ced['push'](_0x386ced['shift']());}catch(_0x5f968f){_0x386ced['push'](_0x386ced['shift']());}}}(_0x56d3,0x1c17d),function(_0x481988,_0x2e3795){var _0x4cf590=_0x444c;typeof exports==_0x4cf590(0xca)&&typeof module<'u'?_0x2e3795(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define==_0x4cf590(0xbc)&&define[_0x4cf590(0xbe)]?define(['@univerjs-pro/collaboration-client-ui','@univerjs/core/facade'],_0x2e3795):(_0x481988=typeof globalThis<'u'?globalThis:_0x481988||self,_0x2e3795(_0x481988[_0x4cf590(0xc2)],_0x481988[_0x4cf590(0xb8)]));}(this,function(_0x585158,_0x968eb5){var _0x3d4277=_0x444c,_0x4e733c=class extends _0x968eb5['FUniver']{[_0x3d4277(0xc7)](_0x5562ee,_0x3e9273,..._0x562e03){var _0xa2fa5f=_0x3d4277;return this['_injector'][_0xa2fa5f(0xc8)](_0x585158[_0xa2fa5f(0xbd)])[_0xa2fa5f(0xc7)](_0x5562ee,_0x3e9273,{},..._0x562e03);}};_0x968eb5[_0x3d4277(0xc4)]['extend'](_0x4e733c);}));function _0x56d3(){var _0x702c0=['413JdTDRR','1926300lxwkrR','runOnServer','get','179929HjVtjG','object','UniverCoreFacade','5iastJC','6CODmMV','565636dwgjab','function','RemoteUniscriptService','amd','104772vuTqdi','109202JKpHdK','1174050iJtuVq','UniverProCollaborationClientUi','1336KddGPU','FUniver'];_0x56d3=function(){return _0x702c0;};return _0x56d3();}
|
|
12
12
|
|
|
13
13
|
// @univerjs-pro/thread-comment-datasource/index
|
|
14
|
-
function _0x3985(_0x5e660a,_0x460ed2){_0x5e660a=_0x5e660a-0x103;const _0xd3fade=_0xd3fa();let _0x398570=_0xd3fade[_0x5e660a];return _0x398570;}(function(_0x418650,_0x54a410){const _0x278efa=_0x3985,_0x32521b=_0x418650();while(!![]){try{const _0x56116b=parseInt(_0x278efa(0x108))/0x1+-parseInt(_0x278efa(0x135))/0x2+parseInt(_0x278efa(0x17b))/0x3+parseInt(_0x278efa(0x113))/0x4+parseInt(_0x278efa(0x119))/0x5*(-parseInt(_0x278efa(0x118))/0x6)+parseInt(_0x278efa(0x11c))/0x7+-parseInt(_0x278efa(0x16d))/0x8;if(_0x56116b===_0x54a410)break;else _0x32521b['push'](_0x32521b['shift']());}catch(_0x5137fb){_0x32521b['push'](_0x32521b['shift']());}}}(_0xd3fa,0x9bb9d),function(_0xff6056,_0x2a8345){const _0x52bcbd=_0x3985;typeof exports=='object'&&typeof module<'u'?_0x2a8345(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs-pro/license`),require(`@univerjs/core`),require(`@univerjs/thread-comment-ui`),require(`@univerjs/protocol`),require(`@univerjs/thread-comment`),require(`rxjs`),require(`@univerjs/network`)):typeof define=='function'&&define['amd']?define([_0x52bcbd(0x16a),_0x52bcbd(0x13b),_0x52bcbd(0x123),_0x52bcbd(0x159),_0x52bcbd(0x143),'@univerjs/protocol','@univerjs/thread-comment','rxjs',_0x52bcbd(0x10d)],_0x2a8345):(_0xff6056=typeof globalThis<'u'?globalThis:_0xff6056||self,_0x2a8345(_0xff6056[_0x52bcbd(0x169)]={},_0xff6056['UniverProCollaborationClient'],_0xff6056['UniverProLicense'],_0xff6056['UniverCore'],_0xff6056[_0x52bcbd(0x13a)],_0xff6056['UniverProtocol'],_0xff6056[_0x52bcbd(0x114)],_0xff6056['rxjs'],_0xff6056['UniverNetwork']));}(this,function(_0x297754,_0x4f17b3,_0x3368a3,_0x2c58cf,_0x3c1ec9,_0x592667,_0x1daa07,_0xa4f2cb,_0x103802){const _0x2612aa=_0x3985;Object['defineProperty'](_0x297754,Symbol[_0x2612aa(0x127)],{'value':'Module'});var _0x30a7df=_0x2612aa(0x165),_0xb95e6b=_0x2612aa(0x168);let _0x2d011f=_0x3e17fc=>(0x0,_0x2c58cf['dateKit'])(new Date(+_0x3e17fc))['format'](_0x2612aa(0x171)),_0x339137=async(_0xa299c2,_0x3173d7)=>{const _0x596a7a=_0x2612aa;let _0x1f6e40=_0xa299c2[_0x596a7a(0x15a)](_0x2c58cf[_0x596a7a(0x11f)]),_0x53d652=_0xa299c2[_0x596a7a(0x15a)](_0x103802[_0x596a7a(0x11a)]);_0x3173d7[_0x596a7a(0x16b)](_0x2969ca=>{const _0x1ad7f0=_0x596a7a;_0x1f6e40['getUser'](_0x2969ca)&&_0x3173d7[_0x1ad7f0(0x125)](_0x2969ca);}),_0x3173d7[_0x596a7a(0x154)]&&(await _0x53d652[_0x596a7a(0x15a)](_0x596a7a(0x18e),{'params':{'userIDs':[..._0x3173d7]}}))['body'][_0x596a7a(0x152)][_0x596a7a(0x16b)](_0x320f8b=>{const _0x21c13a=_0x596a7a;_0x320f8b&&_0x1f6e40[_0x21c13a(0x177)](_0x320f8b);});};function _0x20278e(_0x5a463b,_0x158857){return function(_0x18701,_0x2013d3){_0x158857(_0x18701,_0x2013d3,_0x5a463b);};}function _0x4c3f8f(_0x413825,_0x460ef6,_0x5ad761,_0x328338){const _0x3da1b9=_0x2612aa;var _0x25f39d=arguments[_0x3da1b9(0x134)],_0xcf636e=_0x25f39d<0x3?_0x460ef6:_0x328338===null?_0x328338=Object[_0x3da1b9(0x188)](_0x460ef6,_0x5ad761):_0x328338,_0x238b5c;if(typeof Reflect==_0x3da1b9(0x103)&&typeof Reflect[_0x3da1b9(0x10b)]==_0x3da1b9(0x12d))_0xcf636e=Reflect['decorate'](_0x413825,_0x460ef6,_0x5ad761,_0x328338);else{for(var _0x355c42=_0x413825[_0x3da1b9(0x134)]-0x1;_0x355c42>=0x0;_0x355c42--)(_0x238b5c=_0x413825[_0x355c42])&&(_0xcf636e=(_0x25f39d<0x3?_0x238b5c(_0xcf636e):_0x25f39d>0x3?_0x238b5c(_0x460ef6,_0x5ad761,_0xcf636e):_0x238b5c(_0x460ef6,_0x5ad761))||_0xcf636e);}return _0x25f39d>0x3&&_0xcf636e&&Object[_0x3da1b9(0x11b)](_0x460ef6,_0x5ad761,_0xcf636e),_0xcf636e;}let _0x1e0ae7=class extends _0x2c58cf[_0x2612aa(0x158)]{constructor(_0x546f6b,_0x3d7222,_0x4c0731,_0x3a6730){const _0x228735=_0x2612aa;super(),this[_0x228735(0x15d)]=_0x546f6b,this['_threadCommentModel']=_0x3d7222,this['_userService']=_0x4c0731,this[_0x228735(0x144)]=_0x3a6730,this[_0x228735(0x157)](),this['_initUserSync']();}[_0x2612aa(0x12f)](){const _0xc774ad=_0x2612aa;this[_0xc774ad(0x185)](this[_0xc774ad(0x164)][_0xc774ad(0x180)]['pipe']((0x0,_0xa4f2cb['bufferTime'])(0x10))[_0xc774ad(0x133)](_0x343f13=>{const _0x474721=_0xc774ad;let _0xe46493=new Set();_0x343f13['forEach'](_0x31a8c9=>{const _0x12b0a2=_0x3985;switch(_0x31a8c9[_0x12b0a2(0x142)]){case'add':{let _0x51ef90=_0x31a8c9[_0x12b0a2(0x18c)][_0x12b0a2(0x131)];_0xe46493[_0x12b0a2(0x15c)](_0x51ef90);break;}default:break;}}),_0x339137(this[_0x474721(0x144)],_0xe46493);}));}[_0x2612aa(0x157)](){const _0xc46425=_0x2612aa;this[_0xc46425(0x185)](this[_0xc46425(0x15d)][_0xc46425(0x180)][_0xc46425(0x133)](async _0x5227d1=>{const _0x290083=_0xc46425;var _0x551ed9;let _0x3f6b85=(_0x551ed9=this[_0x290083(0x164)][_0x290083(0x14d)](_0x5227d1[_0x290083(0x156)])['find'](_0x4d3c6c=>_0x4d3c6c['threadId']===_0x5227d1['threadId']))==null?void 0x0:_0x551ed9[_0x290083(0x13c)];if(!_0x3f6b85)return;let {unitId:_0x2ed252,subUnitId:_0x344197}=_0x3f6b85;switch(_0x5227d1[_0x290083(0x12b)]&&this[_0x290083(0x15b)][_0x290083(0x177)](_0x5227d1['user']),_0x5227d1['type']){case _0x592667[_0x290083(0x18a)]['Add']:break;case _0x592667[_0x290083(0x18a)][_0x290083(0x124)]:var _0x2e8504,_0x1fbfb2;this['_threadCommentModel'][_0x290083(0x147)](_0x2ed252,_0x344197,{'unitId':_0x2ed252,'subUnitId':_0x344197,'ref':'','id':_0x5227d1[_0x290083(0x14e)],'dT':_0x2d011f(+_0x5227d1[_0x290083(0x166)]),'threadId':_0x5227d1[_0x290083(0x121)],'personId':(_0x2e8504=(_0x1fbfb2=_0x5227d1['user'])==null?void 0x0:_0x1fbfb2['userID'])==null?_0x5227d1['userId']:_0x2e8504,'text':JSON[_0x290083(0x10f)](_0x5227d1['content']),'parentId':_0x3f6b85['id']});break;case _0x592667[_0x290083(0x18a)][_0x290083(0x183)]:{let _0x2b8d30=this['_threadCommentModel'][_0x290083(0x10a)](_0x2ed252,_0x344197,_0x5227d1['replyId']);_0x2b8d30&&_0x2b8d30[_0x290083(0x186)]&&this['_threadCommentModel']['deleteComment'](_0x2ed252,_0x344197,_0x5227d1['replyId']);break;}case _0x592667[_0x290083(0x18a)][_0x290083(0x14a)]:this[_0x290083(0x164)][_0x290083(0x161)](_0x2ed252,_0x344197,{'commentId':_0x5227d1[_0x290083(0x14e)],'text':JSON[_0x290083(0x10f)](_0x5227d1[_0x290083(0x17a)])});break;case _0x592667[_0x290083(0x18a)][_0x290083(0x14b)]:{var _0x471eef;let _0x5774e0=(_0x471eef=this['_threadCommentModel']['getUnit'](_0x5227d1[_0x290083(0x156)])['find'](_0x533a4e=>_0x533a4e[_0x290083(0x121)]===_0x5227d1[_0x290083(0x121)]))==null?void 0x0:_0x471eef[_0x290083(0x13c)];_0x5774e0&&this[_0x290083(0x164)][_0x290083(0x105)](_0x2ed252,_0x344197,_0x5774e0['id'],_0x5227d1['solved']===_0x592667['CommentSolvedStatus'][_0x290083(0x173)]);break;}default:break;}}));}};_0x1e0ae7=_0x4c3f8f([_0x20278e(0x0,(0x0,_0x2c58cf[_0x2612aa(0x11d)])(_0x4f17b3['CommentService'])),_0x20278e(0x1,(0x0,_0x2c58cf['Inject'])(_0x1daa07[_0x2612aa(0x110)])),_0x20278e(0x2,(0x0,_0x2c58cf['Inject'])(_0x2c58cf[_0x2612aa(0x11f)])),_0x20278e(0x3,(0x0,_0x2c58cf[_0x2612aa(0x11d)])(_0x2c58cf['Injector']))],_0x1e0ae7);let _0x5e8814=_0x2612aa(0x179);Symbol(_0x5e8814);let _0x1bc728={};function _0x5b2ed8(_0x3f63a4,_0x2613f2){const _0x16c592=_0x2612aa;let _0x2ccfd3=_0x3f63a4[_0x16c592(0x132)][0x0];return{..._0x2613f2,'id':_0x2ccfd3[_0x16c592(0x14e)],'resolved':_0x3f63a4[_0x16c592(0x160)]===0x1,'dT':_0x2d011f(_0x2ccfd3[_0x16c592(0x166)]),'personId':_0x2ccfd3[_0x16c592(0x139)],'threadId':_0x2ccfd3[_0x16c592(0x121)]};}function _0x5cee8d(_0x1941d3,_0x10e228,_0x42d42d){const _0x5ac84d=_0x2612aa;var _0x37d471,_0x149a35;if(((_0x37d471=_0x1941d3==null||(_0x149a35=_0x1941d3[_0x5ac84d(0x132)])==null?void 0x0:_0x149a35[_0x5ac84d(0x134)])==null?0x0:_0x37d471)>0x0){let _0x5e79e9=(_0x3d6791,_0xb8a8b7)=>({'id':_0x3d6791['replyId'],'threadId':_0x3d6791[_0x5ac84d(0x121)],'dT':_0x2d011f(_0x3d6791[_0x5ac84d(0x166)]),'personId':_0x3d6791[_0x5ac84d(0x139)],'resolved':_0x1941d3[_0x5ac84d(0x160)]===_0x592667[_0x5ac84d(0x189)][_0x5ac84d(0x173)],'unitId':_0x10e228,'subUnitId':_0x42d42d,'text':JSON[_0x5ac84d(0x10f)](_0x3d6791[_0x5ac84d(0x17a)]),'parentId':_0xb8a8b7}),_0x2a017f=_0x5e79e9(_0x1941d3[_0x5ac84d(0x132)][0x0]);return{..._0x2a017f,'children':_0x1941d3[_0x5ac84d(0x132)][_0x5ac84d(0x172)](0x1)['map'](_0x285797=>_0x5e79e9(_0x285797,_0x2a017f['id']))};}return null;}let _0x1636e2=class{constructor(_0x2700b7,_0x832c14,_0x367277){const _0x3f3447=_0x2612aa;this[_0x3f3447(0x120)]=_0x2700b7,this['_userService']=_0x832c14,this[_0x3f3447(0x15e)]=_0x367277;}async[_0x2612aa(0x147)](_0x409578){const _0x51047e=_0x2612aa;var _0xd8fae1,_0x16e97a;let {parentId:_0x36b3fd,unitId:_0x4b15bd,text:_0x687c6c,threadId:_0x412948}=_0x409578,_0x41e867=(_0xd8fae1=(_0x16e97a=_0x687c6c[_0x51047e(0x145)])==null?void 0x0:_0x16e97a['filter'](_0x3e8cac=>_0x3e8cac[_0x51047e(0x181)]===_0x2c58cf[_0x51047e(0x176)][_0x51047e(0x111)])[_0x51047e(0x115)](_0x37f75a=>_0x37f75a['rangeId']))==null?[]:_0xd8fae1,_0x20a312=JSON[_0x51047e(0x122)](_0x687c6c),_0x841934=(await this[_0x51047e(0x15e)][_0x51047e(0x130)](_0x4b15bd))['getMemberID']();if(_0x36b3fd){let _0x36b01e={'memberId':_0x841934,'unitId':_0x4b15bd,'content':_0x20a312,'mention':_0x41e867,'threadId':_0x412948},_0x5ca2ce=(await this['_httpService'][_0x51047e(0x128)](_0x51047e(0x14f)+_0x4b15bd+_0x51047e(0x13d),{'body':_0x36b01e}))[_0x51047e(0x12a)][_0x51047e(0x17d)];return{..._0x409578,'id':_0x5ca2ce[_0x51047e(0x14e)],'dT':(0x0,_0x2c58cf[_0x51047e(0x13e)])(+_0x5ca2ce[_0x51047e(0x166)])[_0x51047e(0x153)](_0x51047e(0x171)),'personId':_0x5ca2ce['userId']};}else{let _0x36a005={'memberId':_0x841934,'unitId':_0x4b15bd,'content':_0x20a312,'mention':_0x41e867};return _0x5b2ed8((await this['_httpService'][_0x51047e(0x128)](_0x51047e(0x14f)+_0x4b15bd+_0x51047e(0x16c),{'body':_0x36a005}))[_0x51047e(0x12a)][_0x51047e(0x137)],_0x409578);}}async[_0x2612aa(0x161)](_0x37381a){const _0x350c99=_0x2612aa;var _0x46522e,_0x15f651;let {text:_0x2bca00,unitId:_0x1df453}=_0x37381a,_0x1d981d=(_0x46522e=(_0x15f651=_0x2bca00[_0x350c99(0x145)])==null?void 0x0:_0x15f651[_0x350c99(0x136)](_0x5f3630=>_0x5f3630['rangeType']===_0x2c58cf[_0x350c99(0x176)][_0x350c99(0x111)])['map'](_0x364f37=>_0x364f37['rangeId']))==null?[]:_0x46522e,_0x224735=JSON[_0x350c99(0x122)](_0x2bca00),_0x24b774=_0x37381a['threadId'],_0x532efd=_0x37381a['id'],_0x3a7a74={'memberId':(await this['_sessionService'][_0x350c99(0x130)](_0x1df453))['getMemberID'](),'unitId':_0x1df453,'threadId':_0x24b774,'mention':_0x1d981d,'content':_0x224735,'replyId':_0x532efd},_0x3aafcc=await this[_0x350c99(0x120)][_0x350c99(0x128)]('/universer-api/comment/unit/'+_0x1df453+_0x350c99(0x182),{'body':_0x3a7a74});return!_0x3aafcc[_0x350c99(0x12a)][_0x350c99(0x151)]||_0x3aafcc[_0x350c99(0x12a)][_0x350c99(0x151)][_0x350c99(0x17f)]===0x1;}async[_0x2612aa(0x105)](_0x101c85){const _0x3304b4=_0x2612aa;let {unitId:_0x2cdc1a}=_0x101c85,_0x23f4df=_0x101c85[_0x3304b4(0x121)],_0x3b0012={'memberId':this['_userService']['getCurrentUser']()['userID'],'unitId':_0x2cdc1a,'threadId':_0x23f4df,'solved':_0x101c85['resolved']?_0x592667['CommentSolvedStatus'][_0x3304b4(0x173)]:_0x592667[_0x3304b4(0x189)][_0x3304b4(0x155)]},_0x1361d2=await this[_0x3304b4(0x120)][_0x3304b4(0x128)](_0x3304b4(0x14f)+_0x2cdc1a+_0x3304b4(0x140),{'body':_0x3b0012});return!_0x1361d2[_0x3304b4(0x12a)][_0x3304b4(0x151)]||_0x1361d2[_0x3304b4(0x12a)][_0x3304b4(0x151)][_0x3304b4(0x17f)]===0x1;}async[_0x2612aa(0x18b)](_0x3b2a56,_0x52b0cf,_0x1d9406,_0x2e0197){const _0x58dd16=_0x2612aa;let _0x530b5c={'memberId':(await this[_0x58dd16(0x15e)][_0x58dd16(0x130)](_0x3b2a56))[_0x58dd16(0x162)](),'threadId':_0x1d9406,'replyId':_0x2e0197,'unitId':_0x3b2a56},_0x12e10c=await this['_httpService'][_0x58dd16(0x128)](_0x58dd16(0x14f)+_0x3b2a56+_0x58dd16(0x146),{'body':_0x530b5c});return!_0x12e10c[_0x58dd16(0x12a)]['error']||_0x12e10c[_0x58dd16(0x12a)][_0x58dd16(0x151)][_0x58dd16(0x17f)]===0x1;}async[_0x2612aa(0x141)](_0x317561,_0x183c9e,_0x2c7dbd){const _0xe6d458=_0x2612aa;let _0xff02db={'unitId':_0x317561,'threadId':_0x2c7dbd},_0xebdefe=await this[_0xe6d458(0x120)][_0xe6d458(0x128)]('/universer-api/comment/unit/'+_0x317561+_0xe6d458(0x10c),{'body':_0xff02db}),_0x3c9198=_0x2c7dbd[_0xe6d458(0x115)](_0x5d4657=>_0x5cee8d(_0xebdefe[_0xe6d458(0x12a)]['comments'][_0x5d4657],_0x317561,_0x183c9e))[_0xe6d458(0x136)](Boolean);return Object[_0xe6d458(0x170)](_0xebdefe[_0xe6d458(0x12a)][_0xe6d458(0x152)])[_0xe6d458(0x16b)](_0x3b3925=>{const _0xc3c4e=_0xe6d458;this['_userService'][_0xc3c4e(0x177)](_0x3b3925);}),_0x3c9198;}[_0x2612aa(0x112)](_0x4c705d){const _0x46f17c=_0x2612aa;return{'id':_0x4c705d['id'],'threadId':_0x4c705d['threadId'],'ref':_0x4c705d[_0x46f17c(0x150)]};}};_0x1636e2=_0x4c3f8f([_0x20278e(0x0,(0x0,_0x2c58cf[_0x2612aa(0x11d)])(_0x103802[_0x2612aa(0x11a)])),_0x20278e(0x1,(0x0,_0x2c58cf[_0x2612aa(0x11d)])(_0x2c58cf[_0x2612aa(0x11f)])),_0x20278e(0x2,(0x0,_0x2c58cf[_0x2612aa(0x11d)])(_0x4f17b3[_0x2612aa(0x16e)]))],_0x1636e2);let _0x227132=class extends _0x2c58cf[_0x2612aa(0x158)]{constructor(_0x93087f,_0x15f87d){const _0x38daf3=_0x2612aa;super(),this['_threadCommentDataSourceService']=_0x93087f,this[_0x38daf3(0x12e)]=_0x15f87d,this[_0x38daf3(0x138)]();}['_initDataSource'](){const _0xac010d=_0x2612aa;this[_0xac010d(0x178)][_0xac010d(0x148)]=this[_0xac010d(0x12e)],this['_threadCommentDataSourceService'][_0xac010d(0x163)]=!0x1;}};_0x227132=_0x4c3f8f([_0x20278e(0x0,_0x1daa07[_0x2612aa(0x14c)]),_0x20278e(0x1,(0x0,_0x2c58cf[_0x2612aa(0x11d)])(_0x1636e2))],_0x227132);function _0xe219fd(_0x27e7eb){'@babel/helpers - typeof';const _0xb2957f=_0x2612aa;return _0xe219fd=typeof Symbol==_0xb2957f(0x12d)&&typeof Symbol[_0xb2957f(0x11e)]=='symbol'?function(_0x2a2742){return typeof _0x2a2742;}:function(_0x3bfdd2){const _0x1b847c=_0xb2957f;return _0x3bfdd2&&typeof Symbol==_0x1b847c(0x12d)&&_0x3bfdd2[_0x1b847c(0x13f)]===Symbol&&_0x3bfdd2!==Symbol[_0x1b847c(0x149)]?'symbol':typeof _0x3bfdd2;},_0xe219fd(_0x27e7eb);}function _0x188a63(_0x165bd7,_0x4f04c5){const _0xec8747=_0x2612aa;if(_0xe219fd(_0x165bd7)!=_0xec8747(0x103)||!_0x165bd7)return _0x165bd7;var _0x4db143=_0x165bd7[Symbol[_0xec8747(0x15f)]];if(_0x4db143!==void 0x0){var _0x8e4155=_0x4db143[_0xec8747(0x117)](_0x165bd7,_0x4f04c5||_0xec8747(0x106));if(_0xe219fd(_0x8e4155)!=_0xec8747(0x103))return _0x8e4155;throw TypeError(_0xec8747(0x184));}return(_0x4f04c5===_0xec8747(0x167)?String:Number)(_0x165bd7);}function _0xb10601(_0x11d98e){const _0x52efbd=_0x2612aa;var _0x2cfec4=_0x188a63(_0x11d98e,_0x52efbd(0x167));return _0xe219fd(_0x2cfec4)=='symbol'?_0x2cfec4:_0x2cfec4+'';}function _0x43f6f3(_0x62d02e,_0x417c4a,_0x3e3998){const _0x341543=_0x2612aa;return(_0x417c4a=_0xb10601(_0x417c4a))in _0x62d02e?Object[_0x341543(0x11b)](_0x62d02e,_0x417c4a,{'value':_0x3e3998,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x62d02e[_0x417c4a]=_0x3e3998,_0x62d02e;}let _0x502e31=class extends _0x2c58cf[_0x2612aa(0x175)]{constructor(_0x37d97f=_0x1bc728,_0x11728e,_0x564be6){const _0x184def=_0x2612aa;super(),this['_config']=_0x37d97f,this['_injector']=_0x11728e,this[_0x184def(0x129)]=_0x564be6;let {..._0x7e8536}=(0x0,_0x2c58cf[_0x184def(0x107)])({},_0x1bc728,this['_config']);this[_0x184def(0x129)]['setConfig'](_0x5e8814,_0x7e8536);}['onStarting'](){const _0x8bc117=_0x2612aa;[[_0x1636e2],[_0x227132],[_0x1e0ae7]][_0x8bc117(0x16b)](_0x2c3e1e=>{const _0x1c20de=_0x8bc117;this[_0x1c20de(0x144)][_0x1c20de(0x15c)](_0x2c3e1e);});}[_0x2612aa(0x17c)](){const _0x53c8ad=_0x2612aa;this['_injector']['get'](_0x227132),this[_0x53c8ad(0x144)]['get'](_0x1e0ae7);}};_0x43f6f3(_0x502e31,_0x2612aa(0x16f),_0x2612aa(0x104)),_0x43f6f3(_0x502e31,_0x2612aa(0x109),_0x30a7df),_0x43f6f3(_0x502e31,_0x2612aa(0x17e),_0xb95e6b),_0x502e31=_0x4c3f8f([(0x0,_0x2c58cf[_0x2612aa(0x116)])(_0x3c1ec9[_0x2612aa(0x126)],_0x4f17b3[_0x2612aa(0x10e)],_0x3368a3[_0x2612aa(0x12c)]),_0x20278e(0x1,(0x0,_0x2c58cf['Inject'])(_0x2c58cf[_0x2612aa(0x18d)])),_0x20278e(0x2,_0x2c58cf[_0x2612aa(0x187)])],_0x502e31),Object['defineProperty'](_0x297754,_0x2612aa(0x174),{'enumerable':!0x0,'get':function(){return _0x502e31;}});}));function _0xd3fa(){const _0x3a25f6=['/universer-api/user/list','object','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','resolveComment','default','merge','212169SmWzFT','packageName','getComment','decorate','/list','@univerjs/network','UniverCollaborationClientPlugin','parse','ThreadCommentModel','COMMENT','saveCommentToSnapshot','4653788WmhAHd','UniverThreadComment','map','DependentOn','call','8112BOYSoT','2845byzFFm','HTTPService','defineProperty','1935829tWFXQD','Inject','iterator','UserManagerService','_httpService','threadId','stringify','@univerjs-pro/license','Reply','delete','UniverThreadCommentUIPlugin','toStringTag','post','_configService','body','user','UniverLicensePlugin','function','_threadCommentDataSource','_initUserSync','requireSession','personId','replies','subscribe','length','798782aeTifP','filter','comment','_initDataSource','userId','UniverThreadCommentUi','@univerjs-pro/collaboration-client','root','/reply','dateKit','constructor','/solved','listComments','type','@univerjs/thread-comment-ui','_injector','customRanges','/delete','addComment','dataSource','prototype','Edit','Solve','IThreadCommentDataSourceService','getUnit','replyId','/universer-api/comment/unit/','ref','error','users','format','size','OpenOrReOpen','unitId','_init','Disposable','@univerjs/core','get','_userService','add','_commentService','_sessionService','toPrimitive','solved','updateComment','getMemberID','syncUpdateMutationToColla','_threadCommentModel','@univerjs-pro/thread-comment-datasource','createTimestamp','string','0.23.0','UniverProThreadCommentDatasource','exports','forEach','/add','8615592ibyjug','CollaborationSessionService','pluginName','values','YYYY/MM/DD\x20HH:mm','slice','Solved','UniverThreadCommentDataSourcePlugin','Plugin','CustomRangeType','addUser','_threadCommentDataSourceService','thread-comment-data-source.config','content','3693954tSEofK','onReady','reply','version','code','commentUpdate$','rangeType','/edit','Delete','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','disposeWithMe','parentId','IConfigService','getOwnPropertyDescriptor','CommentSolvedStatus','CommentUpdateEventType','deleteComment','payload','Injector'];_0xd3fa=function(){return _0x3a25f6;};return _0xd3fa();}
|
|
14
|
+
function _0x2f62(){const _0x1f0810=['deleteComment','dateKit','UniverThreadCommentDataSourcePlugin','@univerjs/thread-comment','_commentService','getOwnPropertyDescriptor','add','code','121SbDhEx','5EVjXfi','resolveComment','ThreadCommentModel','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','@univerjs/core','error','18qVCZOB','rangeId','93SzWKOG','Edit','rangeType','onReady','filter','setConfig','UniverProThreadCommentDatasource','unitId','toStringTag','root','Solve','object','default','post','Solved','DependentOn','/solved','HTTPService','Plugin','onStarting','Reply','bufferTime','pluginName','/reply','getMemberID','CommentUpdateEventType','1025370euRfQh','addComment','saveCommentToSnapshot','toPrimitive','0.24.0','dataSource','delete','amd','content','replies','requireSession','_sessionService','OpenOrReOpen','@univerjs/protocol','string','users','symbol','YYYY/MM/DD\x20HH:mm','getUnit','_httpService','pipe','createTimestamp','3812CvyYPm','/edit','/list','CustomRangeType','Injector','@univerjs/network','format','listComments','1392392NlwGzq','userID','_initDataSource','UniverLicensePlugin','713120FnwPMi','stringify','get','body','type','COMMENT','resolved','defineProperty','updateComment','_userService','getCurrentUser','Disposable','_initUserSync','addUser','/add','replyId','rxjs','subscribe','comment','getComment','size','268701AIXSRd','67790NMLROo','syncUpdateMutationToColla','@univerjs-pro/collaboration-client','length','_injector','CommentSolvedStatus','find','UniverProCollaborationClient','/universer-api/user/list','/universer-api/comment/unit/','solved','1302343zGCqvx','UniverProLicense','disposeWithMe','prototype','_threadCommentDataSourceService','comments','iterator','decorate','_threadCommentDataSource','user','getUser','merge','UniverThreadCommentUIPlugin','@univerjs-pro/thread-comment-datasource','Inject','map','commentUpdate$','parse','slice','UniverThreadComment','_configService','threadId','customRanges','_threadCommentModel','userId','function','UserManagerService','UniverCollaborationClientPlugin','forEach','_init','CollaborationSessionService'];_0x2f62=function(){return _0x1f0810;};return _0x2f62();}function _0x191e(_0x218c3a,_0x57f561){_0x218c3a=_0x218c3a-0x1dd;const _0x2f62b9=_0x2f62();let _0x191e96=_0x2f62b9[_0x218c3a];return _0x191e96;}(function(_0x28db60,_0x538abd){const _0x573f0b=_0x191e,_0x492bad=_0x28db60();while(!![]){try{const _0x50b44a=-parseInt(_0x573f0b(0x219))/0x1+parseInt(_0x573f0b(0x204))/0x2+parseInt(_0x573f0b(0x255))/0x3*(parseInt(_0x573f0b(0x1f8))/0x4)+-parseInt(_0x573f0b(0x24d))/0x5*(parseInt(_0x573f0b(0x1e2))/0x6)+-parseInt(_0x573f0b(0x225))/0x7+parseInt(_0x573f0b(0x200))/0x8*(parseInt(_0x573f0b(0x253))/0x9)+parseInt(_0x573f0b(0x21a))/0xa*(parseInt(_0x573f0b(0x24c))/0xb);if(_0x50b44a===_0x538abd)break;else _0x492bad['push'](_0x492bad['shift']());}catch(_0x5cebfd){_0x492bad['push'](_0x492bad['shift']());}}}(_0x2f62,0x2cb55),function(_0x53159a,_0x174943){const _0x2049c3=_0x191e;typeof exports==_0x2049c3(0x260)&&typeof module<'u'?_0x174943(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs-pro/license`),require(`@univerjs/core`),require(`@univerjs/thread-comment-ui`),require(`@univerjs/protocol`),require(`@univerjs/thread-comment`),require(`rxjs`),require(`@univerjs/network`)):typeof define==_0x2049c3(0x23e)&&define[_0x2049c3(0x1e9)]?define(['exports',_0x2049c3(0x21c),'@univerjs-pro/license',_0x2049c3(0x251),'@univerjs/thread-comment-ui',_0x2049c3(0x1ef),_0x2049c3(0x247),'rxjs',_0x2049c3(0x1fd)],_0x174943):(_0x53159a=typeof globalThis<'u'?globalThis:_0x53159a||self,_0x174943(_0x53159a[_0x2049c3(0x25b)]={},_0x53159a[_0x2049c3(0x221)],_0x53159a[_0x2049c3(0x226)],_0x53159a['UniverCore'],_0x53159a['UniverThreadCommentUi'],_0x53159a['UniverProtocol'],_0x53159a[_0x2049c3(0x238)],_0x53159a[_0x2049c3(0x214)],_0x53159a['UniverNetwork']));}(this,function(_0x233f00,_0x4a3ce9,_0x326ba7,_0x5eb30e,_0x2a2e4d,_0x264b49,_0x3ea412,_0x2f852d,_0x265398){const _0x5de8ba=_0x191e;Object['defineProperty'](_0x233f00,Symbol[_0x5de8ba(0x25d)],{'value':'Module'});var _0x4a79c2=_0x5de8ba(0x232),_0x205c7e=_0x5de8ba(0x1e6);let _0x1ae6db=_0x45d5cc=>(0x0,_0x5eb30e[_0x5de8ba(0x245)])(new Date(+_0x45d5cc))[_0x5de8ba(0x1fe)]('YYYY/MM/DD\x20HH:mm'),_0x335c2b=async(_0x551ca6,_0xea1169)=>{const _0xa34fc1=_0x5de8ba;let _0x86f069=_0x551ca6[_0xa34fc1(0x206)](_0x5eb30e[_0xa34fc1(0x23f)]),_0x3f8d4f=_0x551ca6['get'](_0x265398['HTTPService']);_0xea1169[_0xa34fc1(0x241)](_0x566c6f=>{const _0x4a10ec=_0xa34fc1;_0x86f069[_0x4a10ec(0x22f)](_0x566c6f)&&_0xea1169[_0x4a10ec(0x1e8)](_0x566c6f);}),_0xea1169[_0xa34fc1(0x218)]&&(await _0x3f8d4f[_0xa34fc1(0x206)](_0xa34fc1(0x222),{'params':{'userIDs':[..._0xea1169]}}))[_0xa34fc1(0x207)]['users']['forEach'](_0x63f32a=>{const _0x186cfd=_0xa34fc1;_0x63f32a&&_0x86f069[_0x186cfd(0x211)](_0x63f32a);});};function _0x3c1fef(_0x22d707,_0x2f4778){return function(_0x3b59d8,_0x2ca084){_0x2f4778(_0x3b59d8,_0x2ca084,_0x22d707);};}function _0x4c09c4(_0x1e9c5e,_0x4d30d0,_0x6f5771,_0x2d9769){const _0x2dfac1=_0x5de8ba;var _0x4259c5=arguments['length'],_0x2c5a9e=_0x4259c5<0x3?_0x4d30d0:_0x2d9769===null?_0x2d9769=Object[_0x2dfac1(0x249)](_0x4d30d0,_0x6f5771):_0x2d9769,_0x4bcaee;if(typeof Reflect==_0x2dfac1(0x260)&&typeof Reflect['decorate']==_0x2dfac1(0x23e))_0x2c5a9e=Reflect[_0x2dfac1(0x22c)](_0x1e9c5e,_0x4d30d0,_0x6f5771,_0x2d9769);else{for(var _0xb8d169=_0x1e9c5e[_0x2dfac1(0x21d)]-0x1;_0xb8d169>=0x0;_0xb8d169--)(_0x4bcaee=_0x1e9c5e[_0xb8d169])&&(_0x2c5a9e=(_0x4259c5<0x3?_0x4bcaee(_0x2c5a9e):_0x4259c5>0x3?_0x4bcaee(_0x4d30d0,_0x6f5771,_0x2c5a9e):_0x4bcaee(_0x4d30d0,_0x6f5771))||_0x2c5a9e);}return _0x4259c5>0x3&&_0x2c5a9e&&Object[_0x2dfac1(0x20b)](_0x4d30d0,_0x6f5771,_0x2c5a9e),_0x2c5a9e;}let _0x4d71b0=class extends _0x5eb30e[_0x5de8ba(0x20f)]{constructor(_0x1a5c92,_0x435571,_0x64e61d,_0x108538){const _0x393af0=_0x5de8ba;super(),this[_0x393af0(0x248)]=_0x1a5c92,this[_0x393af0(0x23c)]=_0x435571,this[_0x393af0(0x20d)]=_0x64e61d,this[_0x393af0(0x21e)]=_0x108538,this[_0x393af0(0x242)](),this['_initUserSync']();}[_0x5de8ba(0x210)](){const _0x10fade=_0x5de8ba;this['disposeWithMe'](this[_0x10fade(0x23c)][_0x10fade(0x235)][_0x10fade(0x1f6)]((0x0,_0x2f852d[_0x10fade(0x1dd)])(0x10))['subscribe'](_0x1552e6=>{const _0x4cf9b5=_0x10fade;let _0x1fe51a=new Set();_0x1552e6[_0x4cf9b5(0x241)](_0x1d9b65=>{const _0x274323=_0x4cf9b5;switch(_0x1d9b65[_0x274323(0x208)]){case _0x274323(0x24a):{let _0x30ec20=_0x1d9b65['payload']['personId'];_0x1fe51a[_0x274323(0x24a)](_0x30ec20);break;}default:break;}}),_0x335c2b(this[_0x4cf9b5(0x21e)],_0x1fe51a);}));}[_0x5de8ba(0x242)](){const _0x28330c=_0x5de8ba;this[_0x28330c(0x227)](this[_0x28330c(0x248)]['commentUpdate$'][_0x28330c(0x215)](async _0x66e48=>{const _0x3a9323=_0x28330c;var _0x2e0be2;let _0x36f5d3=(_0x2e0be2=this[_0x3a9323(0x23c)]['getUnit'](_0x66e48[_0x3a9323(0x25c)])[_0x3a9323(0x220)](_0x1fc93e=>_0x1fc93e['threadId']===_0x66e48[_0x3a9323(0x23a)]))==null?void 0x0:_0x2e0be2['root'];if(!_0x36f5d3)return;let {unitId:_0x52dba2,subUnitId:_0x4b2edc}=_0x36f5d3;switch(_0x66e48[_0x3a9323(0x22e)]&&this[_0x3a9323(0x20d)][_0x3a9323(0x211)](_0x66e48[_0x3a9323(0x22e)]),_0x66e48[_0x3a9323(0x208)]){case _0x264b49[_0x3a9323(0x1e1)]['Add']:break;case _0x264b49[_0x3a9323(0x1e1)][_0x3a9323(0x269)]:var _0x544e16,_0x1f099b;this['_threadCommentModel'][_0x3a9323(0x1e3)](_0x52dba2,_0x4b2edc,{'unitId':_0x52dba2,'subUnitId':_0x4b2edc,'ref':'','id':_0x66e48[_0x3a9323(0x213)],'dT':_0x1ae6db(+_0x66e48['createTimestamp']),'threadId':_0x66e48['threadId'],'personId':(_0x544e16=(_0x1f099b=_0x66e48[_0x3a9323(0x22e)])==null?void 0x0:_0x1f099b[_0x3a9323(0x201)])==null?_0x66e48[_0x3a9323(0x23d)]:_0x544e16,'text':JSON[_0x3a9323(0x236)](_0x66e48[_0x3a9323(0x1ea)]),'parentId':_0x36f5d3['id']});break;case _0x264b49['CommentUpdateEventType']['Delete']:{let _0x5bac74=this[_0x3a9323(0x23c)][_0x3a9323(0x217)](_0x52dba2,_0x4b2edc,_0x66e48['replyId']);_0x5bac74&&_0x5bac74['parentId']&&this[_0x3a9323(0x23c)]['deleteComment'](_0x52dba2,_0x4b2edc,_0x66e48[_0x3a9323(0x213)]);break;}case _0x264b49[_0x3a9323(0x1e1)][_0x3a9323(0x256)]:this[_0x3a9323(0x23c)][_0x3a9323(0x20c)](_0x52dba2,_0x4b2edc,{'commentId':_0x66e48[_0x3a9323(0x213)],'text':JSON[_0x3a9323(0x236)](_0x66e48[_0x3a9323(0x1ea)])});break;case _0x264b49[_0x3a9323(0x1e1)][_0x3a9323(0x25f)]:{var _0x5e5e47;let _0xd9f7d6=(_0x5e5e47=this[_0x3a9323(0x23c)][_0x3a9323(0x1f4)](_0x66e48['unitId'])['find'](_0x5bee1d=>_0x5bee1d[_0x3a9323(0x23a)]===_0x66e48[_0x3a9323(0x23a)]))==null?void 0x0:_0x5e5e47[_0x3a9323(0x25e)];_0xd9f7d6&&this[_0x3a9323(0x23c)][_0x3a9323(0x24e)](_0x52dba2,_0x4b2edc,_0xd9f7d6['id'],_0x66e48[_0x3a9323(0x224)]===_0x264b49['CommentSolvedStatus'][_0x3a9323(0x263)]);break;}default:break;}}));}};_0x4d71b0=_0x4c09c4([_0x3c1fef(0x0,(0x0,_0x5eb30e[_0x5de8ba(0x233)])(_0x4a3ce9['CommentService'])),_0x3c1fef(0x1,(0x0,_0x5eb30e[_0x5de8ba(0x233)])(_0x3ea412[_0x5de8ba(0x24f)])),_0x3c1fef(0x2,(0x0,_0x5eb30e[_0x5de8ba(0x233)])(_0x5eb30e['UserManagerService'])),_0x3c1fef(0x3,(0x0,_0x5eb30e[_0x5de8ba(0x233)])(_0x5eb30e['Injector']))],_0x4d71b0);let _0xa8911f='thread-comment-data-source.config';Symbol(_0xa8911f);let _0xabf9ce={};function _0x49a6f4(_0x3e9f34,_0x165fe5){const _0x44ed9c=_0x5de8ba;let _0x193313=_0x3e9f34[_0x44ed9c(0x1eb)][0x0];return{..._0x165fe5,'id':_0x193313['replyId'],'resolved':_0x3e9f34[_0x44ed9c(0x224)]===0x1,'dT':_0x1ae6db(_0x193313[_0x44ed9c(0x1f7)]),'personId':_0x193313[_0x44ed9c(0x23d)],'threadId':_0x193313[_0x44ed9c(0x23a)]};}function _0x57ba87(_0xd8ed19,_0x47e5c3,_0x43bf61){const _0x25b2a1=_0x5de8ba;var _0x1b329a,_0x392033;if(((_0x1b329a=_0xd8ed19==null||(_0x392033=_0xd8ed19['replies'])==null?void 0x0:_0x392033[_0x25b2a1(0x21d)])==null?0x0:_0x1b329a)>0x0){let _0x391a6d=(_0x30ba65,_0x4b0602)=>({'id':_0x30ba65[_0x25b2a1(0x213)],'threadId':_0x30ba65['threadId'],'dT':_0x1ae6db(_0x30ba65['createTimestamp']),'personId':_0x30ba65[_0x25b2a1(0x23d)],'resolved':_0xd8ed19['solved']===_0x264b49['CommentSolvedStatus']['Solved'],'unitId':_0x47e5c3,'subUnitId':_0x43bf61,'text':JSON[_0x25b2a1(0x236)](_0x30ba65[_0x25b2a1(0x1ea)]),'parentId':_0x4b0602}),_0x1866df=_0x391a6d(_0xd8ed19[_0x25b2a1(0x1eb)][0x0]);return{..._0x1866df,'children':_0xd8ed19[_0x25b2a1(0x1eb)][_0x25b2a1(0x237)](0x1)[_0x25b2a1(0x234)](_0x15d8e3=>_0x391a6d(_0x15d8e3,_0x1866df['id']))};}return null;}let _0xd01958=class{constructor(_0x3f65e6,_0x429d36,_0x373e7c){const _0x5ab179=_0x5de8ba;this[_0x5ab179(0x1f5)]=_0x3f65e6,this[_0x5ab179(0x20d)]=_0x429d36,this[_0x5ab179(0x1ed)]=_0x373e7c;}async[_0x5de8ba(0x1e3)](_0x54adc0){const _0x464876=_0x5de8ba;var _0x10e6da,_0xd0ebc8;let {parentId:_0x2596a7,unitId:_0x31c039,text:_0x568189,threadId:_0x4abd54}=_0x54adc0,_0x174914=(_0x10e6da=(_0xd0ebc8=_0x568189[_0x464876(0x23b)])==null?void 0x0:_0xd0ebc8[_0x464876(0x259)](_0xe392e0=>_0xe392e0[_0x464876(0x257)]===_0x5eb30e[_0x464876(0x1fb)][_0x464876(0x209)])['map'](_0x8c0b9b=>_0x8c0b9b[_0x464876(0x254)]))==null?[]:_0x10e6da,_0x462f95=JSON['stringify'](_0x568189),_0x11dd74=(await this[_0x464876(0x1ed)][_0x464876(0x1ec)](_0x31c039))[_0x464876(0x1e0)]();if(_0x2596a7){let _0x5a6a62={'memberId':_0x11dd74,'unitId':_0x31c039,'content':_0x462f95,'mention':_0x174914,'threadId':_0x4abd54},_0x3fd4b4=(await this[_0x464876(0x1f5)]['post'](_0x464876(0x223)+_0x31c039+_0x464876(0x1df),{'body':_0x5a6a62}))[_0x464876(0x207)]['reply'];return{..._0x54adc0,'id':_0x3fd4b4[_0x464876(0x213)],'dT':(0x0,_0x5eb30e[_0x464876(0x245)])(+_0x3fd4b4['createTimestamp'])[_0x464876(0x1fe)](_0x464876(0x1f3)),'personId':_0x3fd4b4[_0x464876(0x23d)]};}else{let _0x4640b2={'memberId':_0x11dd74,'unitId':_0x31c039,'content':_0x462f95,'mention':_0x174914};return _0x49a6f4((await this['_httpService'][_0x464876(0x262)](_0x464876(0x223)+_0x31c039+_0x464876(0x212),{'body':_0x4640b2}))[_0x464876(0x207)][_0x464876(0x216)],_0x54adc0);}}async[_0x5de8ba(0x20c)](_0x505fa3){const _0x159139=_0x5de8ba;var _0x3f66d0,_0x122b97;let {text:_0x38455e,unitId:_0x84ec45}=_0x505fa3,_0x1c3a90=(_0x3f66d0=(_0x122b97=_0x38455e[_0x159139(0x23b)])==null?void 0x0:_0x122b97[_0x159139(0x259)](_0x2f79f5=>_0x2f79f5[_0x159139(0x257)]===_0x5eb30e[_0x159139(0x1fb)][_0x159139(0x209)])[_0x159139(0x234)](_0x2c25a9=>_0x2c25a9[_0x159139(0x254)]))==null?[]:_0x3f66d0,_0x2150a6=JSON[_0x159139(0x205)](_0x38455e),_0x19ee5e=_0x505fa3[_0x159139(0x23a)],_0x2f4dd6=_0x505fa3['id'],_0x215e29={'memberId':(await this['_sessionService'][_0x159139(0x1ec)](_0x84ec45))['getMemberID'](),'unitId':_0x84ec45,'threadId':_0x19ee5e,'mention':_0x1c3a90,'content':_0x2150a6,'replyId':_0x2f4dd6},_0x32b456=await this['_httpService'][_0x159139(0x262)](_0x159139(0x223)+_0x84ec45+_0x159139(0x1f9),{'body':_0x215e29});return!_0x32b456[_0x159139(0x207)]['error']||_0x32b456['body']['error']['code']===0x1;}async[_0x5de8ba(0x24e)](_0x17c862){const _0xfc38cc=_0x5de8ba;let {unitId:_0x373983}=_0x17c862,_0x44a523=_0x17c862[_0xfc38cc(0x23a)],_0x467bd0={'memberId':this[_0xfc38cc(0x20d)][_0xfc38cc(0x20e)]()[_0xfc38cc(0x201)],'unitId':_0x373983,'threadId':_0x44a523,'solved':_0x17c862[_0xfc38cc(0x20a)]?_0x264b49[_0xfc38cc(0x21f)]['Solved']:_0x264b49[_0xfc38cc(0x21f)][_0xfc38cc(0x1ee)]},_0x4ac969=await this[_0xfc38cc(0x1f5)][_0xfc38cc(0x262)](_0xfc38cc(0x223)+_0x373983+_0xfc38cc(0x265),{'body':_0x467bd0});return!_0x4ac969['body'][_0xfc38cc(0x252)]||_0x4ac969[_0xfc38cc(0x207)]['error'][_0xfc38cc(0x24b)]===0x1;}async[_0x5de8ba(0x244)](_0xd830b4,_0xee8061,_0x536675,_0x4a76e0){const _0x1a8d8e=_0x5de8ba;let _0x48834f={'memberId':(await this[_0x1a8d8e(0x1ed)][_0x1a8d8e(0x1ec)](_0xd830b4))[_0x1a8d8e(0x1e0)](),'threadId':_0x536675,'replyId':_0x4a76e0,'unitId':_0xd830b4},_0x1da15d=await this[_0x1a8d8e(0x1f5)][_0x1a8d8e(0x262)](_0x1a8d8e(0x223)+_0xd830b4+'/delete',{'body':_0x48834f});return!_0x1da15d[_0x1a8d8e(0x207)][_0x1a8d8e(0x252)]||_0x1da15d['body'][_0x1a8d8e(0x252)][_0x1a8d8e(0x24b)]===0x1;}async[_0x5de8ba(0x1ff)](_0x3775e2,_0x4355a3,_0x3db5ad){const _0x4a2a55=_0x5de8ba;let _0x94d430={'unitId':_0x3775e2,'threadId':_0x3db5ad},_0x3766cf=await this['_httpService'][_0x4a2a55(0x262)](_0x4a2a55(0x223)+_0x3775e2+_0x4a2a55(0x1fa),{'body':_0x94d430}),_0x52d1bd=_0x3db5ad[_0x4a2a55(0x234)](_0x442013=>_0x57ba87(_0x3766cf[_0x4a2a55(0x207)][_0x4a2a55(0x22a)][_0x442013],_0x3775e2,_0x4355a3))[_0x4a2a55(0x259)](Boolean);return Object['values'](_0x3766cf[_0x4a2a55(0x207)][_0x4a2a55(0x1f1)])[_0x4a2a55(0x241)](_0x46b68f=>{const _0x4faa33=_0x4a2a55;this[_0x4faa33(0x20d)][_0x4faa33(0x211)](_0x46b68f);}),_0x52d1bd;}[_0x5de8ba(0x1e4)](_0x332ac7){const _0x332c94=_0x5de8ba;return{'id':_0x332ac7['id'],'threadId':_0x332ac7[_0x332c94(0x23a)],'ref':_0x332ac7['ref']};}};_0xd01958=_0x4c09c4([_0x3c1fef(0x0,(0x0,_0x5eb30e[_0x5de8ba(0x233)])(_0x265398[_0x5de8ba(0x266)])),_0x3c1fef(0x1,(0x0,_0x5eb30e[_0x5de8ba(0x233)])(_0x5eb30e[_0x5de8ba(0x23f)])),_0x3c1fef(0x2,(0x0,_0x5eb30e[_0x5de8ba(0x233)])(_0x4a3ce9[_0x5de8ba(0x243)]))],_0xd01958);let _0x248d24=class extends _0x5eb30e[_0x5de8ba(0x20f)]{constructor(_0x198290,_0x368aa5){const _0x3677fc=_0x5de8ba;super(),this[_0x3677fc(0x229)]=_0x198290,this['_threadCommentDataSource']=_0x368aa5,this[_0x3677fc(0x202)]();}[_0x5de8ba(0x202)](){const _0x3de160=_0x5de8ba;this[_0x3de160(0x229)][_0x3de160(0x1e7)]=this[_0x3de160(0x22d)],this['_threadCommentDataSourceService'][_0x3de160(0x21b)]=!0x1;}};_0x248d24=_0x4c09c4([_0x3c1fef(0x0,_0x3ea412['IThreadCommentDataSourceService']),_0x3c1fef(0x1,(0x0,_0x5eb30e[_0x5de8ba(0x233)])(_0xd01958))],_0x248d24);function _0x938851(_0x4c1982){'@babel/helpers - typeof';const _0x471a62=_0x5de8ba;return _0x938851=typeof Symbol==_0x471a62(0x23e)&&typeof Symbol[_0x471a62(0x22b)]==_0x471a62(0x1f2)?function(_0x11b824){return typeof _0x11b824;}:function(_0x3aa073){const _0x3ab0ef=_0x471a62;return _0x3aa073&&typeof Symbol=='function'&&_0x3aa073['constructor']===Symbol&&_0x3aa073!==Symbol[_0x3ab0ef(0x228)]?'symbol':typeof _0x3aa073;},_0x938851(_0x4c1982);}function _0x159e94(_0x3b6ef2,_0x4bcfe2){const _0x37e035=_0x5de8ba;if(_0x938851(_0x3b6ef2)!=_0x37e035(0x260)||!_0x3b6ef2)return _0x3b6ef2;var _0x4c02f3=_0x3b6ef2[Symbol[_0x37e035(0x1e5)]];if(_0x4c02f3!==void 0x0){var _0x4038f7=_0x4c02f3['call'](_0x3b6ef2,_0x4bcfe2||_0x37e035(0x261));if(_0x938851(_0x4038f7)!='object')return _0x4038f7;throw TypeError(_0x37e035(0x250));}return(_0x4bcfe2==='string'?String:Number)(_0x3b6ef2);}function _0xfaf3b(_0x16369a){const _0x4880c8=_0x5de8ba;var _0x5c7d9d=_0x159e94(_0x16369a,_0x4880c8(0x1f0));return _0x938851(_0x5c7d9d)==_0x4880c8(0x1f2)?_0x5c7d9d:_0x5c7d9d+'';}function _0x1b1519(_0x27f2b3,_0x3c00c5,_0x134b64){return(_0x3c00c5=_0xfaf3b(_0x3c00c5))in _0x27f2b3?Object['defineProperty'](_0x27f2b3,_0x3c00c5,{'value':_0x134b64,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27f2b3[_0x3c00c5]=_0x134b64,_0x27f2b3;}let _0x2429e9=class extends _0x5eb30e[_0x5de8ba(0x267)]{constructor(_0x2c7f0c=_0xabf9ce,_0x572c31,_0x44df6f){const _0x3a9d74=_0x5de8ba;super(),this['_config']=_0x2c7f0c,this[_0x3a9d74(0x21e)]=_0x572c31,this[_0x3a9d74(0x239)]=_0x44df6f;let {..._0x27e6bb}=(0x0,_0x5eb30e[_0x3a9d74(0x230)])({},_0xabf9ce,this['_config']);this[_0x3a9d74(0x239)][_0x3a9d74(0x25a)](_0xa8911f,_0x27e6bb);}[_0x5de8ba(0x268)](){[[_0xd01958],[_0x248d24],[_0x4d71b0]]['forEach'](_0x1142b8=>{const _0x501776=_0x191e;this[_0x501776(0x21e)][_0x501776(0x24a)](_0x1142b8);});}[_0x5de8ba(0x258)](){const _0x26888f=_0x5de8ba;this[_0x26888f(0x21e)][_0x26888f(0x206)](_0x248d24),this[_0x26888f(0x21e)][_0x26888f(0x206)](_0x4d71b0);}};_0x1b1519(_0x2429e9,_0x5de8ba(0x1de),'UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN'),_0x1b1519(_0x2429e9,'packageName',_0x4a79c2),_0x1b1519(_0x2429e9,'version',_0x205c7e),_0x2429e9=_0x4c09c4([(0x0,_0x5eb30e[_0x5de8ba(0x264)])(_0x2a2e4d[_0x5de8ba(0x231)],_0x4a3ce9[_0x5de8ba(0x240)],_0x326ba7[_0x5de8ba(0x203)]),_0x3c1fef(0x1,(0x0,_0x5eb30e[_0x5de8ba(0x233)])(_0x5eb30e[_0x5de8ba(0x1fc)])),_0x3c1fef(0x2,_0x5eb30e['IConfigService'])],_0x2429e9),Object['defineProperty'](_0x233f00,_0x5de8ba(0x246),{'enumerable':!0x0,'get':function(){return _0x2429e9;}});}));
|
|
15
15
|
|
|
16
16
|
// @univerjs-pro/edit-history-viewer/index
|
|
17
|
-
function _0x5c10(_0x12bbff,_0x2c2ea0){_0x12bbff=_0x12bbff-0x87;const _0x1a8f94=_0x1a8f();let _0x5c100b=_0x1a8f94[_0x12bbff];return _0x5c100b;}function _0x1a8f(){const _0xcb5041=['_sheetSkeletonManagerService','_sheetsPivotTableConfigModel','_currentVersion$','connectInjector','UniverNetworkPlugin','updateFieldPosition','map','removeSparkline','endDateString','generateDiffMarks','updateChartSource','addRangeProtection','58280uldxMg','getConfig','UnitAction','more-down-icon','refreshRangeProtectPermission','asObservable','fill','insertBorder','more-right-icon','max','WorkbookEditablePermission','univer-flex-1','AddSheetTableMutation','measureText','0.01','_maskContainer','setRightToLeft','SetPivotCollapseMutation','_sheetsChartService','toString','translateY(-50%)','M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','deleteDrawings','DeleteSheetTableMutation','useMemo','_removeDiffMarks','SetColDataMutation','Checkbox','/list?','focusUnit','getCurrentUnitCurrentVersion','_name','RangeMergeUtil','_highlight','UniverSheetsMobileUIPlugin','DeleteWorksheetProtectionMutation','beginPath','_loadParams','getPivotTableRangeInfo','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-blue-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','add','clsx','DrawingApplyType','CopyWorksheetEndMutation','zIndex','UpdateSheetsShapeTypeMutation','DependentOn','rxjs','_applyWorkbookData','loading','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','RemoveRangeThemeMutation','forwardRef','entries','editHistory.panel.revertConfirm','http://www.w3.org/2000/svg','getMatrix','Rect','_createMask','DeleteRangeProtectionMutation','editHistory.action.','DeleteConditionalRuleMutation','getViewport','slice','moveCF','_setFetching','none','unitId$','showMask','SetRangeThemeMutation','createTime','RemoveRowMutation','subUnitIds','removePivotTable','strokeStyle','getDeserializedSheetBlock','commands','editHistory.action.revertSheetPrefix','subscribe','SetRowDataMutation','10px','onRendered','0\x200\x2016\x2016','Comment','univerjs-icon\x20univerjs-icon-','setState','setShapeProps','24DulRqG','IConfigService','update','setPivotValueFilter','MoveRowsMutation','push','InsertSheetsChartMutation','ChartUpdateSourceConfigMutation','setTabColor','rgba(198,40,40,0.5)','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','SetDrawingApplyMutation','sparklineConfigMap','FromArray','_labelPosition','SetFrozenMutation','decorate','12iwSVVV','UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN','executeCommand','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-h-full\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-flex-1\x20univer-overflow-y-auto','userIds','current','_rangeProtectionRuleModel','start','_isBlinkVisible','Dropdown','deleteRangeProtection','makeDirty','rgba(','_drawingManagerService','random','body','bottom','_componentManager','allRanges','UniverSheetsFilter','userID','_getSheetObject','sort','HEADER','top','ConditionalFormattingRuleModel','[HistoryFetchService]:\x20request\x20snapshot\x20error!','removeNumfmt','_lastLabel','url(#paint0_linear_236_415)','_lastPointer','toPrimitive','SetSheetSparklineMutation','fillText','-drawing-','_startBlinking','anonymous','ToggleGridlinesMutation','_borderDiffs','updatePermissionPoint','stopPropagation','setNumfmt','rgba(21,101,192,0.5)','7.08645','function','HTTPService','_config','symbol','showText','univer-relative\x20univer-h-8','removeShape','historyPanelHidden','SetWorksheetOrderMutation','moveRows','join','RemoveSheetsChartMutation','addEventListener','clear','updateValuePosition','6.77028','triggerRevert','rgb','revision','date','drawingId','getElementById','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','editHistory.panel.title','value','SparklineDataSourceModel','flex','updateBorderRanges','endRev','InsertRowMutation','_drawHorizontalArrow','_hasMore','showRow','chartId','ReCalcSheetsFilterMutation','style','deleteProtection','substring','setColData','univer-h-12','userId','getRule','RemoveDataValidationMutation','append','IMessageService','resolve','useEffect',':\x20(','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','UniverProtocol','getDrawingByParam','_sheetsFilterService','removeTable','UniverProSheetsShape','REMOVE','addTable','setFrozen','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','mask','SetSheetTableFilterMutation','defIds','_revertRevision$','mutations','RangeProtectionRuleModel','_cellEditorManagerService','getRange','editHistory.panel.unknownUser','Button','_unitCurrentVersionMap','getUnitId','object','_registerHeader','endRevision','_sheetPermissionInitController','HideSheet','deleteBorderRanges','#0B9EFB','IDrawingManagerService','getCurrentSkeleton','type','toStringTag','onMouseMove','restore-icon','#FFF','ruleIds','UniverSheetsTable','AddSheetSparklineMutation','setSparkline','_sidebarService','_createUnit','LoadingMultiIcon','history-panel','INSERT','IUniverInstanceService','_showText','parseInt','76443jkrYLP','editHistory.panel.cancel','arc','_drawVerticalArrow','drawingIds','UniverProEditHistoryViewer','history-mask','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','arrowColumnRanges','updateChartConfig','assign','moveCols','shapeId','versions','dateString','updateCellRanges','command','defs','0.31','flat','onPointerMove$','SetPivotFieldFormatMutation','highlight','addPivotField','error','memberId','_init','BackIcon','loadSheet','loadHistoryCreatorList','startDateString','AddDataValidationMutation','_versionDiffService','from','keys','_dialogOptions$','users','setInterval','364674MiubfC','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','WorkbookMoveSheetPermission','scene','12px','link','setPivotOption','_diffs','UpdatePivotFieldSourceInfoMutation','_renderDrawingHighlights','univer-min-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','SheetCollabCursorShape','setRowCount','arrowRowRanges','viewportScrollX','DeleteWorksheetRangeThemeStyleMutation','getVersion','UpdateValuePositionMutation','onPointerLeave$','deleteBorder','SetPivotValueFilterMutation','currentSkeleton$','sheetId','user','userSpaceOnUse','AddRangeProtectionMutation','editHistory.header.back','_updateDiffMarks','removeCol','state$','RenamePivotFieldMutation','interceptor','arrowRow','fetching$','RANGE_TYPE','1950843yfvYvK','addObjects','groupIds','highlightColumn','now','_detailVersionsMap','chartModelId','_initPanel','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-1/2\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_loadingState$','editHistory.panel.filterCollaboratorConfirm','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','rgba(46,125,50,0.5)','_workbookDataCache','end','_status$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','setGridlinesColor','univer-size-4\x20univer-shrink-0','row','endRow','canRevert','tag','_blinkIntervalTimer','_members','default','forEach','linearGradient','1em','all','ObjectMatrix','UpdatePivotTableSourceRangeMutation','useObservable','includes','_sidebarDisposable','_renderCellRanges','open','_currentVersionDiff$','AddConditionalRuleMutation','startsWith','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','setColCount','debounce','getSelectedVersionCanRevert','VersionDiffService','insertCellRanges','rgba','SetWorksheetRightToLeftMutation','getHistoryChangesets','creators$','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','LocaleService','SetSheetTableMutation','objects','updateShapeType','displayName','rowData','_getLighterColor','registerComponent','removeEventListener','loadingState','CreateUnitMutation','Today','95WibDmz','reverse','startRevCreateTime','editHistory.panel.confirm','setTableFilter','labelPosition','removeDiffMarks','_historyFetchService','show','InsertColMutation','path','SetWorksheetRowCountMutation','InsertSheetMutation','set','_univerInstanceService','SetRowVisibleMutation','middle','_canRevert','close','RemoveNumfmtMutation','_hovered','SnapshotServerOverHTTPService','endColumn','LRUMap','insert','versions$','univer-text-2xl\x20dark:!univer-text-white','SetWorksheetColWidthMutation','getRelativeToViewportCoord','_sparklineDataSourceModel','AddWorksheetMergeMutation','getSubUnitId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','onSteady','editHistory.panel.currentVersion','Segmented','univer-size-8\x20univer-text-gray-400','_setVersions','jsx','SHEET_VIEWPORT_KEY','1377901ODMDuj','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','fetchThroughInterceptors','showDiffMarks','removeRangeTheme','ChartUpdateConfigMutation','_versions$','delete','WorkbookRenameSheetPermission','unitID','deleteCellRanges','univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','hovered','isArray','triggerLoadVersions','deleteCF','CONTENT','16oeqxdZ','arrowColumn','loaded','getSeconds','Vector2','SetGridlinesColorMutation','getCellPositionByOffset','url(#restore-icon_clip0_1247_2)','rangeInfo','updatePivotSource','Info','useCallback','_confirmService','SetPivotSortMutation','insertBorderRanges','_compressMutationService','idSuffix','SheetDataValidationModel','evenodd','_renderArrowRanges','Edit','removePivotField','Disposable','_handleOverlappingShapes','addSparkline','evented','SetWorkbookNameMutation','key','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','setPivotCollapse','triggerDblclick','RemoveSheetSparklineMutation','_unitId$','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','SetWorksheetRowHeightMutation','triggerLoadSheet','UniverInstanceType','_httpService','SetPivotOptionMutation','IConfirmService','startRev','_extractRanges','_context','_messageService','MoveConditionalRuleMutation','startRow','getCoordByCell','setRangeValues','subUnitId','SetWorksheetRowAutoHeightMutation','UniverUi','setOffsetY','setRangeTheme','unionPivotViewRange','_sheetTableService','parse','call','primary','loadingState$','_drawingDiffs','jsxs','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-break-all\x20univer-font-medium\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','width','time','0\x200\x2020\x2020','getSelectedVersionIsCurrentVersion','_arrowDiffs','hideDiffMarks','DisposableCollection','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','SetWorksheetHideMutation','User','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','funnel-icon','_creators$','closeAll','cellValue','RemoveSheetMutation','getSparklineById','unknownUser','MoveRangeMutation','moveRange','categorizeMutationRanges','editHistory.panel.aiAssistant','VersionDiffRenderController','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SetConditionalRuleMutation','next','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','filter','lastLabel','/universer-api/history','UniverSheets','transformSnapshotToWorkbookData','showCol','rule','LocaleType','setPivotSubtotalType','then','init','name','M9.18035\x202.34502C9.21605\x202.15386\x209.31749\x201.9812\x209.46709\x201.85695C9.6167\x201.7327\x209.80504\x201.66469\x209.99951\x201.66469C10.194\x201.66469\x2010.3823\x201.7327\x2010.5319\x201.85695C10.6815\x201.9812\x2010.783\x202.15386\x2010.8187\x202.34502L11.6945\x206.97669C11.7567\x207.30598\x2011.9167\x207.60887\x2012.1537\x207.84583C12.3907\x208.08279\x2012.6936\x208.24282\x2013.0228\x208.30502L17.6545\x209.18085C17.8457\x209.21656\x2018.0183\x209.318\x2018.1426\x209.4676C18.2668\x209.6172\x2018.3348\x209.80555\x2018.3348\x2010C18.3348\x2010.1945\x2018.2668\x2010.3828\x2018.1426\x2010.5324C18.0183\x2010.682\x2017.8457\x2010.7835\x2017.6545\x2010.8192L13.0228\x2011.695C12.6936\x2011.7572\x2012.3907\x2011.9172\x2012.1537\x2012.1542C11.9167\x2012.3912\x2011.7567\x2012.6941\x2011.6945\x2013.0234L10.8187\x2017.655C10.783\x2017.8462\x2010.6815\x2018.0188\x2010.5319\x2018.1431C10.3823\x2018.2673\x2010.194\x2018.3353\x209.99951\x2018.3353C9.80504\x2018.3353\x209.6167\x2018.2673\x209.46709\x2018.1431C9.31749\x2018.0188\x209.21605\x2017.8462\x209.18035\x2017.655L8.30451\x2013.0234C8.24231\x2012.6941\x208.08228\x2012.3912\x207.84532\x2012.1542C7.60836\x2011.9172\x207.30547\x2011.7572\x206.97618\x2011.695L2.34451\x2010.8192C2.15335\x2010.7835\x201.98069\x2010.682\x201.85645\x2010.5324C1.7322\x2010.3828\x201.66418\x2010.1945\x201.66418\x2010C1.66418\x209.80555\x201.7322\x209.6172\x201.85645\x209.4676C1.98069\x209.318\x202.15335\x209.21656\x202.34451\x209.18085L6.97618\x208.30502C7.30547\x208.24282\x207.60836\x208.08279\x207.84532\x207.84583C8.08228\x207.60887\x208.24231\x207.30598\x208.30451\x206.97669L9.18035\x202.34502Z','_highlightSecond','small','#01C2AA','univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800','createElement','_dataValidationModel','_renderBorderRanges','FloatImg','setConfig','_snapshotServerService','InsertSheetsShapeMutation','setPivotPosition','button','4TiypFY','IPermissionService','setWorksheetRangeTheme','getHours','UniverNetwork','_draw','updateBorder','SetWorksheetRangeThemeStyleMutation','_openPanel$','loadInitialVersions','updateTable','ROW','revertRevision$','univer-animate-spin\x20univer-text-gray-400','ZH_CN','hideRow','m1Prime','highlightSecond','setRowAutoHeight','useState','_uiPartsService','cfId','getUnit','_transformMutationByOrder','RemovePivotTableMutation','_conditionalFormattingRuleModel','COMPRESS_MUTATION_APPLY','code','toggleGridlines','copySheet','getCurrentLocale','SetColVisibleMutation','updateDrawing','UniverSheetsDataValidation','exited','stop','_initRender','_drawTextBubble','stringify','currentColor','#FF557D','ISnapshotServerService','0px','getUnitOnRev','UniverProCollaboration','length','parent','setFilter','Unspecified','univer-w-10','_color','RevertRevisionMutation','_localeService','getMutationActionMap','VIEW_MAIN','insertShape','RenameSheet','font','setDV','RemoveSheetsShapeMutation','ICellEditorManagerService','reduce','currentVersion','useRef','VIRTUAL_VERSION_NOW','UniverEditHistoryViewerMobilePlugin','blockMeta','startColumn','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_findOverlappingShapes','scrollToShape','disposeWithMe','editHistory.panel.filterAll','stroke','block','UniverSheetsUIPlugin','_blinkTimer','_yieldToMain','recoverTime','prototype','addPivotTable','BuiltInUIPart','subscribeEvent','transformByState','_direction','clearTimeout','_getActiveSubUnitId','_categorizeMutationRanges','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','renamePivotField','univer-size-4','attrs','SetRowHiddenMutation','editHistory.info.loading','HistoryModeStatus','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-justify-end\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UniverSheetsDrawing','setPivotSort','setValue','color','ComponentManager','loadMoreVersions','setFilterCriteria','ISidebarService','has','onStarting','closePath','getVersions','split','isTransformMutationsSuccess','removeFilter','_commandService','iterator','edit-history-viewer.config','_fetching$','className','univer-m-auto\x20univer-animate-spin','recalcFilter','RemoveWorksheetMergeMutation','getMember','blocks','parseProtocolChangeset','getVpScrollXYInfoByPosToVp','0.23.0','register','Entered','_updateVersions','defineProperty','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overflow-auto\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','openPanel$','SetRangeValuesMutation','string','ruleId','updateDrawings','targetRange','scroll','restore','fillStyle','status','_historyContainerId','&endRevision=','SetPivotPositionMutation','url(#$1','lineTo','currentVersionDiff$','BehaviorSubject','UpdateFieldPositionMutation','CollaborationImageIoService','transform','ErrorCode','setDefaultStyle','SetPivotFilterMutation','min','removeAll','getTableInfo','restore-icon_clip0_1247_2','get','column','_permissionService','tableId','UniverDesign','getMinutes','insertDrawings','RemoveSheetsFilterMutation','Character','hideSheet','_stopBlinking','editHistory.action.removeDrawing','hideCol','editHistory.panel.currentUser','position','MoveColsMutation','params','status$','@univerjs-pro/edit-history-viewer','-detail-','left','removeSheet','addRangeTheme','MoreDownIcon','univer-h-[60%]','permissionPointUpdate$','use','setPivotFieldFormat','SetWorksheetActiveOperation','hideMask',',\x200.2)','Error','height','SetSheetsFilterCriteriaMutation','univer-min-w-0\x20univer-flex-1','Injector','range','UniverEditHistoryViewerPlugin','UNIVER_SHEET','AddPivotFieldMutation','dispose','_updateWorksheetVisibility','1727jgxciH','setColWidth','IDialogService','_renderManagerService','getFilterModel','horizontal','Fragment','MessageType','additionalFields','pipe','univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','_cacheKey','SetPivotSubtotalTypeMutation','columnData','div','merge','active','#2793FF','ranges','univer-min-w-[240px]','SetNumfmtMutation','_injector','_getAPIPrefix','save','RemovePivotFieldMutation','_combineRanges','display','subType','labelKey','UpdateDataValidationMutation','xlink:href','AddPivotTableMutation','some','editHistory.header.revert','insertChart','CompressMutationService','IImageIoService','center','packageName','_initMaskContainer','getSheetId','values','FunnelIcon','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','fetching','useDependency','deleteWorksheetRangeTheme','_maskElement','insertRow','100%','viewportScrollY','0.2)','RestoreIcon','unmergeCells','3399876wMZQCO','pivotTableId','colorChannel1','svg','columnHeaderHeight','_diffRangesMap','WorkbookHideSheetPermission','getCurrentVersion','ensureVersion','HistoryOrigin','triggerCustomVersions','univer-flex\x20univer-items-center\x20univer-justify-center','univer-flex\x20univer-min-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','_scrollToShape','unitId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','COLUMN','sourceRange','sparklines','hide','removeRow','rowHeaderWidth','getInterceptPoints','label','moveTo','...','span','setPivotFilter','mergeCells','1px','borderBottomClassName','SheetsFilterService','Plugin','toISOString','data','IUIPartsService','children','UniverIcon','constructor','24330839KlrwDB','SetRangeProtectionMutation','setCF','replace','/cs?startRevision=','SetSheetsFilterRangeMutation','updatePivotFieldSource','pluginName','removeDV','currentVersion$','univer-flex\x20univer-items-center\x20univer-gap-2','padStart','IRenderManagerService','registerRenderModule','Inject','registerDetailVersion','setRowData','_transformService','getOwnPropertyDescriptor','fetchCreatorList','reorderRange','0.655','_configService','back-icon','_historyManagerService','univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-white\x20univer-shadow-[0_-4px_24px_rgba(0,0,0,0.12)]\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950','setRowHeight','onPointerEnter$','absolute','SheetTableService','rev','UniverDrawing','renameSheet','SetColHiddenMutation','endRevCreateTime','insertCol','18.1758','Subject','abs','UniverProCollaborationClient','MoveSheet','setRangeProtection','loading-multi-icon'];_0x1a8f=function(){return _0xcb5041;};return _0x1a8f();}(function(_0x5c2803,_0x4254c8){const _0x42cdd4=_0x5c10,_0x3123ab=_0x5c2803();while(!![]){try{const _0x578fb3=parseInt(_0x42cdd4(0xf4))/0x1*(-parseInt(_0x42cdd4(0x3db))/0x2)+parseInt(_0x42cdd4(0x13d))/0x3*(parseInt(_0x42cdd4(0x229))/0x4)+-parseInt(_0x42cdd4(0x17c))/0x5*(parseInt(_0x42cdd4(0x11a))/0x6)+parseInt(_0x42cdd4(0x1a4))/0x7*(-parseInt(_0x42cdd4(0x1b5))/0x8)+-parseInt(_0x42cdd4(0x325))/0x9+parseInt(_0x42cdd4(0x384))/0xa*(parseInt(_0x42cdd4(0x2ef))/0xb)+parseInt(_0x42cdd4(0x3ec))/0xc*(parseInt(_0x42cdd4(0x34c))/0xd);if(_0x578fb3===_0x4254c8)break;else _0x3123ab['push'](_0x3123ab['shift']());}catch(_0x225f1d){_0x3123ab['push'](_0x3123ab['shift']());}}}(_0x1a8f,0x90da1),function(_0x5423fa,_0x1fabe0){const _0x3f0475=_0x5c10;typeof exports==_0x3f0475(0xda)&&typeof module<'u'?_0x1fabe0(exports,require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core`),require(`@univerjs/drawing`),require(`@univerjs/engine-render`),require(`@univerjs/sheets`),require(`@univerjs/sheets-ui`),require(`rxjs`),require(`@univerjs/design`),require(`@univerjs/ui`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-pivot`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs/data-validation`),require(`@univerjs/sheets-conditional-formatting`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-filter`),require(`@univerjs/sheets-table`),require(`@univerjs/network`),require(`@univerjs/protocol`),require(`@univerjs/sheets-data-validation`),require(`@univerjs-pro/collaboration-client`),require(`react`),require(`react/jsx-runtime`)):typeof define==_0x3f0475(0x94)&&define['amd']?define('exports.@univerjs-pro/collaboration-client-ui.@univerjs/core.@univerjs/drawing.@univerjs/engine-render.@univerjs/sheets.@univerjs/sheets-ui.rxjs.@univerjs/design.@univerjs/ui.@univerjs-pro/collaboration.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-sparkline.@univerjs/data-validation.@univerjs/sheets-conditional-formatting.@univerjs/sheets-drawing.@univerjs/sheets-filter.@univerjs/sheets-table.@univerjs/network.@univerjs/protocol.@univerjs/sheets-data-validation.@univerjs-pro/collaboration-client.react.react/jsx-runtime'[_0x3f0475(0x295)]('.'),_0x1fabe0):(_0x5423fa=typeof globalThis<'u'?globalThis:_0x5423fa||self,_0x1fabe0(_0x5423fa[_0x3f0475(0xf9)]={},_0x5423fa['UniverProCollaborationClientUi'],_0x5423fa['UniverCore'],_0x5423fa[_0x3f0475(0x36c)],_0x5423fa['UniverEngineRender'],_0x5423fa[_0x3f0475(0x212)],_0x5423fa['UniverSheetsUi'],_0x5423fa[_0x3f0475(0x3b3)],_0x5423fa[_0x3f0475(0x2c9)],_0x5423fa[_0x3f0475(0x1e7)],_0x5423fa[_0x3f0475(0x255)],_0x5423fa['UniverProSheetsChart'],_0x5423fa['UniverProSheetsPivot'],_0x5423fa[_0x3f0475(0xc9)],_0x5423fa['UniverProSheetsSparkline'],_0x5423fa['UniverDataValidation'],_0x5423fa['UniverSheetsConditionalFormatting'],_0x5423fa[_0x3f0475(0x289)],_0x5423fa[_0x3f0475(0x400)],_0x5423fa[_0x3f0475(0xe9)],_0x5423fa[_0x3f0475(0x22d)],_0x5423fa[_0x3f0475(0xc5)],_0x5423fa[_0x3f0475(0x24a)],_0x5423fa[_0x3f0475(0x374)],_0x5423fa['React'],_0x5423fa['React']));}(this,function(_0x1218c5,_0x13950c,_0x1e04c6,_0x50ad73,_0x253621,_0x37090c,_0x5d2266,_0x2a040b,_0x2a5339,_0x48e19f,_0x368552,_0x235e8a,_0xab2afa,_0x5ca3a7,_0x537896,_0x558bd8,_0x273210,_0x29b431,_0x328750,_0x1fc839,_0x4a1ebd,_0x576ab1,_0x1de3fe,_0x101bb8,_0x5e6334,_0x1d3622){const _0x1888a5=_0x5c10;Object['defineProperty'](_0x1218c5,Symbol[_0x1888a5(0xe4)],{'value':'Module'});function _0xc7ab35(_0x127b51=_0x1888a5(0x3c0)){const _0x5ecdeb=_0x1888a5;return{'collaboration':[{'id':_0x368552[_0x5ecdeb(0x17a)]['id'],'action':_0x127b51+'createSheet'},{'id':_0x368552[_0x5ecdeb(0x25c)]['id'],'action':_0x127b51+'revertSheet'}],'sheets':[{'id':_0x37090c[_0x5ecdeb(0x188)]['id'],'action':_0x127b51+'insertSheet'},{'id':_0x37090c[_0x5ecdeb(0x203)]['id'],'action':_0x127b51+_0x5ecdeb(0x2da)},{'id':_0x37090c['SetWorksheetNameMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x36d)},{'id':_0x37090c[_0x5ecdeb(0x9c)]['id'],'action':_0x127b51+'reorderSheet'},{'id':_0x37090c['SetWorksheetHideMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x2ce)},{'id':_0x37090c[_0x5ecdeb(0x3af)]['id'],'action':_0x127b51+_0x5ecdeb(0x246)},{'id':_0x37090c['SetTabColorMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x3e3)},{'id':_0x37090c[_0x5ecdeb(0x1cf)]['id'],'action':_0x127b51+'renameWorkbook'},{'id':_0x37090c[_0x5ecdeb(0xb1)]['id'],'action':_0x127b51+_0x5ecdeb(0x31f)},{'id':_0x37090c[_0x5ecdeb(0x185)]['id'],'action':_0x127b51+_0x5ecdeb(0x370)},{'id':_0x37090c[_0x5ecdeb(0x3cb)]['id'],'action':_0x127b51+_0x5ecdeb(0x339)},{'id':_0x37090c['RemoveColMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x136)},{'id':_0x37090c[_0x5ecdeb(0x3df)]['id'],'action':_0x127b51+_0x5ecdeb(0x9d)},{'id':_0x37090c[_0x5ecdeb(0x2d4)]['id'],'action':_0x127b51+_0x5ecdeb(0xff)},{'id':_0x37090c[_0x5ecdeb(0x18b)]['id'],'action':_0x127b51+'showRow'},{'id':_0x37090c[_0x5ecdeb(0x285)]['id'],'action':_0x127b51+_0x5ecdeb(0x238)},{'id':_0x37090c[_0x5ecdeb(0x248)]['id'],'action':_0x127b51+_0x5ecdeb(0x214)},{'id':_0x37090c[_0x5ecdeb(0x36e)]['id'],'action':_0x127b51+_0x5ecdeb(0x2d1)},{'id':_0x37090c[_0x5ecdeb(0x1d7)]['id'],'action':_0x127b51+_0x5ecdeb(0x367)},{'id':_0x37090c[_0x5ecdeb(0x197)]['id'],'action':_0x127b51+_0x5ecdeb(0x2f0)},{'id':_0x37090c[_0x5ecdeb(0x1e6)]['id'],'action':_0x127b51+_0x5ecdeb(0x23b)},{'id':_0x37090c['SetWorksheetRowIsAutoHeightMutation']['id'],'action':_0x127b51+'setRowIsAutoHeight'},{'id':_0x37090c[_0x5ecdeb(0x3d3)]['id'],'action':_0x127b51+_0x5ecdeb(0x35c)},{'id':_0x37090c[_0x5ecdeb(0x39e)]['id'],'action':_0x127b51+_0x5ecdeb(0xba)},{'id':_0x37090c[_0x5ecdeb(0x187)]['id'],'action':_0x127b51+_0x5ecdeb(0x126)},{'id':_0x37090c['SetWorksheetColumnCountMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x166)},{'id':_0x37090c[_0x5ecdeb(0x2ab)]['id'],'action':_0x127b51+_0x5ecdeb(0x1e4)},{'id':_0x37090c[_0x5ecdeb(0x206)]['id'],'action':_0x127b51+_0x5ecdeb(0x207)},{'id':_0x37090c['ReorderRangeMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x360)},{'id':_0x37090c[_0x5ecdeb(0x19a)]['id'],'action':_0x127b51+_0x5ecdeb(0x341)},{'id':_0x37090c[_0x5ecdeb(0x29f)]['id'],'action':_0x127b51+_0x5ecdeb(0x324)},{'id':_0x37090c[_0x5ecdeb(0x3ea)]['id'],'action':_0x127b51+_0x5ecdeb(0xcc)},{'id':_0x37090c[_0x5ecdeb(0x8d)]['id'],'action':_0x127b51+_0x5ecdeb(0x245)},{'id':_0x37090c[_0x5ecdeb(0x1ba)]['id'],'action':_0x127b51+_0x5ecdeb(0x14e)},{'id':_0x37090c[_0x5ecdeb(0x16c)]['id'],'action':_0x127b51+_0x5ecdeb(0x394)},{'id':_0x37090c['SetWorksheetDefaultStyleMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x2bf)},{'id':_0x37090c['AddWorksheetProtectionMutation']['id'],'action':_0x127b51+'addProtection'},{'id':_0x37090c['SetWorksheetProtectionMutation']['id'],'action':_0x127b51+'setProtection'},{'id':_0x37090c[_0x5ecdeb(0x3a7)]['id'],'action':_0x127b51+_0x5ecdeb(0xb8)},{'id':_0x37090c['AddRangeProtectionMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x383)},{'id':_0x37090c[_0x5ecdeb(0x34d)]['id'],'action':_0x127b51+_0x5ecdeb(0x376)},{'id':_0x37090c[_0x5ecdeb(0x3bf)]['id'],'action':_0x127b51+_0x5ecdeb(0x3f7)},{'id':_0x37090c['SetWorksheetPermissionPointsMutation']['id'],'action':_0x127b51+'setPermissionPoints'},{'id':_0x37090c[_0x5ecdeb(0x303)]['id'],'action':_0x127b51+_0x5ecdeb(0x91)},{'id':_0x37090c[_0x5ecdeb(0x18f)]['id'],'action':_0x127b51+_0x5ecdeb(0x408)},{'id':_0x37090c['AddRangeThemeMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x2db)},{'id':_0x37090c[_0x5ecdeb(0x3c9)]['id'],'action':_0x127b51+_0x5ecdeb(0x1e9)},{'id':_0x37090c[_0x5ecdeb(0x3b7)]['id'],'action':_0x127b51+_0x5ecdeb(0x1a8)},{'id':_0x37090c['SetWorksheetRangeThemeStyleMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x22b)},{'id':_0x37090c[_0x5ecdeb(0x129)]['id'],'action':_0x127b51+_0x5ecdeb(0x31d)}],'sheetsConditionalFormatting':[{'id':_0x273210[_0x5ecdeb(0x163)]['id'],'action':_0x127b51+_0x5ecdeb(0x34e)},{'id':_0x273210['SetConditionalRuleMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x34e)},{'id':_0x273210[_0x5ecdeb(0x3c1)]['id'],'action':_0x127b51+'deleteCF'},{'id':_0x273210[_0x5ecdeb(0x1e1)]['id'],'action':_0x127b51+_0x5ecdeb(0x3c4)}],'sheetsFilter':[{'id':_0x328750['SetSheetsFilterRangeMutation']['id'],'action':_0x127b51+'setFilter'},{'id':_0x328750['SetSheetsFilterCriteriaMutation']['id'],'action':_0x127b51+'setFilterCriteria'},{'id':_0x328750[_0x5ecdeb(0x2cc)]['id'],'action':_0x127b51+'removeFilter'},{'id':_0x328750[_0x5ecdeb(0xb6)]['id'],'action':_0x127b51+_0x5ecdeb(0x29e)}],'dataValidation':[{'id':_0x558bd8[_0x5ecdeb(0x113)]['id'],'action':_0x127b51+_0x5ecdeb(0x263)},{'id':_0x558bd8[_0x5ecdeb(0x30c)]['id'],'action':_0x127b51+'setDV'},{'id':_0x558bd8[_0x5ecdeb(0xbe)]['id'],'action':_0x127b51+_0x5ecdeb(0x354)}],'sheetsChart':[{'id':_0x235e8a[_0x5ecdeb(0x3e1)]['id'],'action':_0x127b51+_0x5ecdeb(0x311)},{'id':_0x235e8a[_0x5ecdeb(0x9f)]['id'],'action':_0x127b51+'removeChart'},{'id':_0x235e8a[_0x5ecdeb(0x1a9)]['id'],'action':_0x127b51+_0x5ecdeb(0xfd)},{'id':_0x235e8a[_0x5ecdeb(0x3e2)]['id'],'action':_0x127b51+_0x5ecdeb(0x382)}],'sheetsSparkline':[{'id':_0x537896[_0x5ecdeb(0xea)]['id'],'action':_0x127b51+_0x5ecdeb(0x1cd)},{'id':_0x537896[_0x5ecdeb(0x88)]['id'],'action':_0x127b51+'setSparkline'},{'id':_0x537896[_0x5ecdeb(0x1d4)]['id'],'action':_0x127b51+'removeSparkline'}],'sheetsPivot':[{'id':_0xab2afa[_0x5ecdeb(0x30e)]['id'],'action':_0x127b51+'addPivotTable'},{'id':_0xab2afa[_0x5ecdeb(0x241)]['id'],'action':_0x127b51+_0x5ecdeb(0x3cd)},{'id':_0xab2afa[_0x5ecdeb(0x1db)]['id'],'action':_0x127b51+'setPivotOption'},{'id':_0xab2afa[_0x5ecdeb(0x2b6)]['id'],'action':_0x127b51+_0x5ecdeb(0x227)},{'id':_0xab2afa[_0x5ecdeb(0x15c)]['id'],'action':_0x127b51+'updatePivotSource'},{'id':_0xab2afa[_0x5ecdeb(0x2ec)]['id'],'action':_0x127b51+_0x5ecdeb(0x10b)},{'id':_0xab2afa[_0x5ecdeb(0x307)]['id'],'action':_0x127b51+_0x5ecdeb(0x1ca)},{'id':_0xab2afa[_0x5ecdeb(0x138)]['id'],'action':_0x127b51+_0x5ecdeb(0x282)},{'id':_0xab2afa[_0x5ecdeb(0x2bb)]['id'],'action':_0x127b51+_0x5ecdeb(0x37d)},{'id':_0xab2afa[_0x5ecdeb(0x12b)]['id'],'action':_0x127b51+'updateValuePosition'},{'id':_0xab2afa['UpdatePivotFieldSourceInfoMutation']['id'],'action':_0x127b51+'updatePivotFieldSource'},{'id':_0xab2afa[_0x5ecdeb(0x109)]['id'],'action':_0x127b51+_0x5ecdeb(0x2e0)},{'id':_0xab2afa[_0x5ecdeb(0x2c0)]['id'],'action':_0x127b51+_0x5ecdeb(0x340)},{'id':_0xab2afa[_0x5ecdeb(0x12e)]['id'],'action':_0x127b51+_0x5ecdeb(0x3de)},{'id':_0xab2afa[_0x5ecdeb(0x1c2)]['id'],'action':_0x127b51+_0x5ecdeb(0x28a)},{'id':_0xab2afa[_0x5ecdeb(0x395)]['id'],'action':_0x127b51+_0x5ecdeb(0x1d2)},{'id':_0xab2afa[_0x5ecdeb(0x2fb)]['id'],'action':_0x127b51+_0x5ecdeb(0x217)}],'sheetsShape':[{'id':_0x5ca3a7['InsertSheetsShapeMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x260)},{'id':_0x5ca3a7[_0x5ecdeb(0x264)]['id'],'action':_0x127b51+_0x5ecdeb(0x9a)},{'id':_0x5ca3a7['UpdateSheetsShapeDataMutation']['id'],'action':_0x127b51+'updateShapeData'},{'id':_0x5ca3a7[_0x5ecdeb(0x3b1)]['id'],'action':_0x127b51+_0x5ecdeb(0x173)}],'sheetsTable':[{'id':_0x1fc839[_0x5ecdeb(0x390)]['id'],'action':_0x127b51+_0x5ecdeb(0xcb)},{'id':_0x1fc839['DeleteSheetTableMutation']['id'],'action':_0x127b51+'removeTable'},{'id':_0x1fc839[_0x5ecdeb(0x171)]['id'],'action':_0x127b51+'updateTable'},{'id':_0x1fc839['SetSheetTableFilterMutation']['id'],'action':_0x127b51+_0x5ecdeb(0x180)}],'sheetsDrawing':[{'id':_0x29b431[_0x5ecdeb(0x3e6)]['id'],'action':_0x127b51+_0x5ecdeb(0x249)}]};}function _0x1a1257(_0x189cff='editHistory.action.'){const _0x13cc97=_0x1888a5;let _0x4030d8=_0xc7ab35(_0x189cff);return Object[_0x13cc97(0x318)](_0x4030d8)['flat']();}let _0x4974cf=(_0x5df0c1,_0x4b30f1)=>{const _0x42d6e6=_0x1888a5;if(!_0x5df0c1)return{'date':'','time':''};let _0x156fab=new Date(_0x5df0c1),_0x2d833d=_0x156fab[_0x42d6e6(0x346)]()['split']('T')[0x0];switch(_0x4b30f1){case _0x1e04c6['LocaleType'][_0x42d6e6(0x237)]:return{'date':_0x418b28(_0x2d833d,_0x4b30f1),'time':_0x156fab['getHours']()+':'+String(_0x156fab[_0x42d6e6(0x2ca)]())[_0x42d6e6(0x357)](0x2,'0')+':'+String(_0x156fab[_0x42d6e6(0x1b8)]())[_0x42d6e6(0x357)](0x2,'0')};default:return{'date':_0x418b28(_0x2d833d,_0x4b30f1),'time':_0x156fab[_0x42d6e6(0x22c)]()+':'+_0x156fab[_0x42d6e6(0x2ca)]()+':'+_0x156fab[_0x42d6e6(0x1b8)]()};}},_0x2215b7=(_0x2601b9,_0x27e2aa)=>{const _0x513d75=_0x1888a5;if(_0x2601b9[_0x513d75(0x3d0)][_0x513d75(0x30f)](_0x552daa=>_0x552daa===_0x368552[_0x513d75(0x25c)]['id'])&&_0x2601b9[_0x513d75(0x277)]){let _0x2e2e8f=_0x4974cf(_0x2601b9['recoverTime'],_0x27e2aa['getCurrentLocale']()),_0x358268=_0x2e2e8f[_0x513d75(0xa7)]+'\x20'+_0x2e2e8f[_0x513d75(0x1f5)];return _0x27e2aa['t'](_0x513d75(0x3d1))+'\x20'+_0x358268+'\x20'+_0x27e2aa['t']('editHistory.action.revertSheetSuffix');}let _0x3e9cf6=_0x258071(_0x2601b9),_0x329671=Array[_0x513d75(0x115)](new Set(_0x3e9cf6)),_0xf023e1;if(_0x329671[_0x513d75(0x256)]===0x1)_0xf023e1=_0x27e2aa['t'](_0x329671[0x0]);else{let _0x3ac81e=_0x329671[_0x513d75(0x3c3)](0x0,0x5)[_0x513d75(0x37e)](_0x215691=>_0x27e2aa['t'](_0x215691))[_0x513d75(0x9e)](',\x20');_0xf023e1=_0x329671[_0x513d75(0x256)]>0x5?''+_0x3ac81e+_0x27e2aa['t']('editHistory.action.etc'):_0x3ac81e;}return''+_0xf023e1;};function _0x258071(_0x4af7ed){const _0xe70c43=_0x1888a5;if(_0x4af7ed[_0xe70c43(0x3d0)][_0xe70c43(0x256)]===0x0)return[''];let _0x247637=_0xe70c43(0x3c0),_0x5bdfd3=_0x247637+'editSheet',_0x14709f=_0x1a1257(_0x247637)[_0xe70c43(0x20f)](_0xd992dc=>_0x4af7ed['commands'][_0xe70c43(0x15e)](_0xd992dc['id']));return _0x14709f!=null&&_0x14709f[_0xe70c43(0x256)]?_0x14709f[_0xe70c43(0x37e)](_0x1f78f6=>_0x1f78f6['action']):[_0x5bdfd3];}function _0x418b28(_0x42d81e,_0x4bbe26){const _0x55796d=_0x1888a5;let [_0x24ce59,_0x131aef,_0x5a07b4]=new Date()[_0x55796d(0x346)]()[_0x55796d(0x295)]('T')[0x0]['split']('-'),[_0x30b61d,_0x44cdf9,_0x5ca1db]=_0x42d81e[_0x55796d(0x295)]('-'),_0x341aef=_0x24ce59===_0x30b61d&&_0x131aef===_0x44cdf9&&_0x5a07b4===_0x5ca1db,_0x512ffc='',_0x4b703f='',_0x22d558='';switch(_0x4bbe26){case _0x1e04c6[_0x55796d(0x216)][_0x55796d(0x237)]:return _0x341aef?'今天':(_0x512ffc=_0x24ce59===_0x30b61d?'':_0x30b61d+'年',_0x4b703f=_0x44cdf9+'月',_0x22d558=_0x5ca1db+'日',''+_0x512ffc+_0x4b703f+_0x22d558);default:return _0x341aef?_0x55796d(0x17b):(_0x512ffc=_0x24ce59===_0x30b61d?'':_0x30b61d+'-',_0x4b703f=_0x44cdf9+'-',_0x22d558=''+_0x5ca1db,''+_0x512ffc+_0x4b703f+_0x22d558);}}function _0x2d393f(_0x5372f6){const _0x3da13b=_0x1888a5;return _0x5372f6?_0x5372f6[_0x3da13b(0x266)]((_0x47cf62,_0x580ac3)=>{const _0x58f3be=_0x3da13b;let _0x30615e=new Date(_0x580ac3[_0x58f3be(0x1f5)])['toISOString']()[_0x58f3be(0x295)]('T')[0x0],_0x56313b=_0x580ac3[_0x58f3be(0x17e)]?new Date(_0x580ac3[_0x58f3be(0x17e)])[_0x58f3be(0x346)]()[_0x58f3be(0x295)]('T')[0x0]:_0x30615e,_0x180326=_0x580ac3['endRevCreateTime']?new Date(_0x580ac3[_0x58f3be(0x36f)])[_0x58f3be(0x346)]()[_0x58f3be(0x295)]('T')[0x0]:_0x30615e;return _0x47cf62[_0x58f3be(0x256)]>0x0&&_0x47cf62[_0x47cf62['length']-0x1][_0x58f3be(0x112)]===_0x56313b?_0x47cf62[_0x47cf62[_0x58f3be(0x256)]-0x1][_0x58f3be(0x101)][_0x58f3be(0x3e0)](_0x580ac3):_0x47cf62[_0x58f3be(0x3e0)]({'dateString':_0x30615e,'startDateString':_0x56313b,'endDateString':_0x180326,'versions':[_0x580ac3]}),_0x47cf62;},[]):[];}let _0x1ec56e=_0x1888a5(0x29a);Symbol(_0x1ec56e);let _0x36c15a={};function _0x22eef2(_0x3a6611){'@babel/helpers - typeof';const _0x3882ee=_0x1888a5;return _0x22eef2=typeof Symbol==_0x3882ee(0x94)&&typeof Symbol[_0x3882ee(0x299)]=='symbol'?function(_0x3c6f3e){return typeof _0x3c6f3e;}:function(_0x3a4015){const _0x32e79d=_0x3882ee;return _0x3a4015&&typeof Symbol==_0x32e79d(0x94)&&_0x3a4015[_0x32e79d(0x34b)]===Symbol&&_0x3a4015!==Symbol[_0x32e79d(0x278)]?_0x32e79d(0x97):typeof _0x3a4015;},_0x22eef2(_0x3a6611);}function _0x89247d(_0xc3093f,_0x1ecae8){const _0x417583=_0x1888a5;if(_0x22eef2(_0xc3093f)!=_0x417583(0xda)||!_0xc3093f)return _0xc3093f;var _0x36e7ff=_0xc3093f[Symbol[_0x417583(0x87)]];if(_0x36e7ff!==void 0x0){var _0x357b0d=_0x36e7ff[_0x417583(0x1ed)](_0xc3093f,_0x1ecae8||_0x417583(0x156));if(_0x22eef2(_0x357b0d)!='object')return _0x357b0d;throw TypeError(_0x417583(0x1fb));}return(_0x1ecae8===_0x417583(0x2ac)?String:Number)(_0xc3093f);}function _0x218939(_0x4129a8){const _0x4ec162=_0x1888a5;var _0x2c6772=_0x89247d(_0x4129a8,_0x4ec162(0x2ac));return _0x22eef2(_0x2c6772)==_0x4ec162(0x97)?_0x2c6772:_0x2c6772+'';}function _0x51a179(_0x668859,_0x2a8c2c,_0x521002){return(_0x2a8c2c=_0x218939(_0x2a8c2c))in _0x668859?Object['defineProperty'](_0x668859,_0x2a8c2c,{'value':_0x521002,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x668859[_0x2a8c2c]=_0x521002,_0x668859;}function _0x10a923(_0x114e35,_0x366358){return function(_0x274afa,_0x1a83a8){_0x366358(_0x274afa,_0x1a83a8,_0x114e35);};}function _0x4262d0(_0x2a4067,_0x5ce500,_0x750539,_0x41d7df){const _0x49a51a=_0x1888a5;var _0x3ac909=arguments[_0x49a51a(0x256)],_0x1dc0f7=_0x3ac909<0x3?_0x5ce500:_0x41d7df===null?_0x41d7df=Object[_0x49a51a(0x35e)](_0x5ce500,_0x750539):_0x41d7df,_0x2e451d;if(typeof Reflect==_0x49a51a(0xda)&&typeof Reflect[_0x49a51a(0x3eb)]=='function')_0x1dc0f7=Reflect[_0x49a51a(0x3eb)](_0x2a4067,_0x5ce500,_0x750539,_0x41d7df);else{for(var _0x25abe3=_0x2a4067[_0x49a51a(0x256)]-0x1;_0x25abe3>=0x0;_0x25abe3--)(_0x2e451d=_0x2a4067[_0x25abe3])&&(_0x1dc0f7=(_0x3ac909<0x3?_0x2e451d(_0x1dc0f7):_0x3ac909>0x3?_0x2e451d(_0x5ce500,_0x750539,_0x1dc0f7):_0x2e451d(_0x5ce500,_0x750539))||_0x1dc0f7);}return _0x3ac909>0x3&&_0x1dc0f7&&Object['defineProperty'](_0x5ce500,_0x750539,_0x1dc0f7),_0x1dc0f7;}let _0x1d3600=function(_0x49bfd0){const _0x212dba=_0x1888a5;return _0x49bfd0[_0x49bfd0[_0x212dba(0x259)]=0x0]='Unspecified',_0x49bfd0[_0x49bfd0[_0x212dba(0x1fd)]=0x1]=_0x212dba(0x1fd),_0x49bfd0[_0x49bfd0[_0x212dba(0x2cd)]=0x2]=_0x212dba(0x2cd),_0x49bfd0;}({}),_0x50ccf5=class extends _0x1e04c6['Disposable']{constructor(_0x2f2ab4,_0x34ed78,_0x374334,_0x3d5cfe,_0x4c80dc,_0x22e1f1,_0x26dbdd){const _0x2726ef=_0x1888a5;super(),this['_snapshotServerService']=_0x2f2ab4,this[_0x2726ef(0x18a)]=_0x34ed78,this[_0x2726ef(0x298)]=_0x374334,this['_configService']=_0x3d5cfe,this[_0x2726ef(0x1da)]=_0x4c80dc,this['_compressMutationService']=_0x22e1f1,this[_0x2726ef(0xdd)]=_0x26dbdd,_0x51a179(this,_0x2726ef(0x14a),void 0x0),this[_0x2726ef(0x14a)]=new _0x1e04c6[(_0x2726ef(0x193))](0x3c);}[_0x1888a5(0x2ed)](){const _0x5ce2bf=_0x1888a5;this['_workbookDataCache'][_0x5ce2bf(0xa1)](),super[_0x5ce2bf(0x2ed)]();}async[_0x1888a5(0x35f)](_0x4ebb65){const _0x527190=_0x1888a5;try{let _0x52a753=(await this[_0x527190(0x1da)][_0x527190(0x2c5)](this[_0x527190(0x305)]()+'/'+_0x4ebb65+'/creators'))[_0x527190(0x3fc)];if(_0x52a753&&_0x52a753[_0x527190(0x10c)]&&_0x52a753['error'][_0x527190(0x244)]===_0x576ab1[_0x527190(0x2be)]['OK'])return _0x52a753['creators'];}catch(_0x2022b8){console[_0x527190(0x10c)](_0x2022b8);}return[];}async[_0x1888a5(0x294)](_0x1e90c1,_0x4a93df){const _0x58ebc9=_0x1888a5;let {userIds:_0x2d4e19,lastLabel:_0x216022,origin:_0x58acc0}=_0x4a93df==null?{}:_0x4a93df,_0x194def=new URLSearchParams();_0x194def['set']('length','20'),_0x216022&&_0x194def[_0x58ebc9(0x189)](_0x58ebc9(0x210),_0x216022),_0x2d4e19==null||_0x2d4e19['forEach'](_0x54ea6b=>{const _0xa0b480=_0x58ebc9;_0x194def[_0xa0b480(0xbf)](_0xa0b480(0x3f1),_0x54ea6b);}),_0x58acc0&&_0x194def[_0x58ebc9(0x189)]('origin',_0x58acc0[_0x58ebc9(0x397)]());let _0x23578a=this['_getAPIPrefix']()+'/'+_0x1e90c1+_0x58ebc9(0x3a0)+_0x194def[_0x58ebc9(0x397)]();try{let _0x912780=(await this[_0x58ebc9(0x1da)][_0x58ebc9(0x2c5)](_0x23578a))['body'];if(_0x912780&&_0x912780['error']&&_0x912780[_0x58ebc9(0x10c)][_0x58ebc9(0x244)]===_0x576ab1[_0x58ebc9(0x2be)]['OK']){let {hasMore:_0x346ec6,lastLabel:_0x323d4}=_0x912780;return{'hasMore':_0x346ec6,'lastLabel':_0x323d4,'versions':_0x16312f(_0x912780),'members':_0x912780['entities']['users']};}}catch(_0x5af913){console['error'](_0x5af913);}return null;}async['getHistoryChangesets'](_0x3c826b,_0x6d4b8d){const _0x5a308b=_0x1888a5;let {unitId:_0xe53007,startRevision:_0x38a40d,endRevision:_0x21656c}=_0x6d4b8d,_0x1a5ac3=this[_0x5a308b(0x305)]()+'/'+_0xe53007+_0x5a308b(0x350)+_0x38a40d+_0x5a308b(0x2b5)+_0x21656c;return(await this[_0x5a308b(0x1da)][_0x5a308b(0x2c5)](_0x1a5ac3))[_0x5a308b(0x3fc)];}[_0x1888a5(0x305)](){const _0x591572=_0x1888a5;var _0x4b684c;let _0x14ca2b=this[_0x591572(0x362)]['getConfig'](_0x1ec56e);return(_0x4b684c=_0x14ca2b==null?void 0x0:_0x14ca2b['historyListServerUrl'])==null?_0x591572(0x211):_0x4b684c;}['_cacheKey'](_0x26e6f6,_0x4a6693){return _0x26e6f6+':'+_0x4a6693;}async['loadSheet'](_0x11eb4b,_0x113574,_0x475879={}){const _0x2d5bbb=_0x1888a5;var _0x52ecc9;let _0x2c02be=this[_0x2d5bbb(0x2fa)](_0x11eb4b,_0x113574),_0x6641c7=this[_0x2d5bbb(0x14a)][_0x2d5bbb(0x2c5)](_0x2c02be);if(_0x6641c7){let {workbookData:_0x981cc3,changesets:_0x2af29c}=_0x6641c7;return await this[_0x2d5bbb(0x3b4)](_0x981cc3,_0x2af29c),!0x0;}let {snapshot:_0x1e1b47,changesets:_0x2c202f,error:_0xc3a109}=await this[_0x2d5bbb(0x225)][_0x2d5bbb(0x254)](_0x475879,{'unitID':_0x11eb4b,'type':_0x1e04c6[_0x2d5bbb(0x1d9)][_0x2d5bbb(0x2eb)],'revision':_0x113574});if((0x0,_0x576ab1['isError'])(_0xc3a109)||!_0x1e1b47||!_0x1e1b47['workbook'])throw Error(_0x2d5bbb(0x407));let _0x4f80a3=(_0x52ecc9=_0x2c202f==null?void 0x0:_0x2c202f[_0x2d5bbb(0x256)])==null?0x0:_0x52ecc9;if(_0x113574!==0x0&&_0x1e1b47[_0x2d5bbb(0x36b)]+_0x4f80a3!==_0x113574)throw Error(_0x2d5bbb(0xcd));let {workbook:_0x308e43}=_0x1e1b47,_0x5eca85=_0x308e43['blockMeta']?Object['values'](_0x308e43[_0x2d5bbb(0x26b)])['flatMap'](_0x2cc58a=>{const _0x263797=_0x2d5bbb;var _0x32ee9e;return(_0x32ee9e=_0x2cc58a[_0x263797(0x2a1)])==null?[]:_0x32ee9e;}):[],_0x483362=await(0x0,_0x368552[_0x2d5bbb(0x213)])(_0x1e1b47,(await Promise[_0x2d5bbb(0x15a)](_0x5eca85[_0x2d5bbb(0x37e)](_0x31ed72=>this[_0x2d5bbb(0x225)][_0x2d5bbb(0x3cf)](_0x475879,{'unitID':_0x11eb4b,'type':_0x1e04c6[_0x2d5bbb(0x1d9)]['UNIVER_SHEET'],'blockID':_0x31ed72})[_0x2d5bbb(0x218)](_0x67571c=>_0x67571c[_0x2d5bbb(0x273)]))))['filter'](Boolean),_0x475879);return this['_workbookDataCache'][_0x2d5bbb(0x189)](_0x2c02be,{'workbookData':_0x483362,'changesets':_0x2c202f}),await this[_0x2d5bbb(0x3b4)](_0x483362,_0x2c202f),!0x0;}async[_0x1888a5(0x3b4)](_0x238127,_0x155e5a){const _0x46f6e9=_0x1888a5;let _0x5d28e0=this[_0x46f6e9(0x18a)]['getCurrentUnitForType'](_0x1e04c6[_0x46f6e9(0x1d9)][_0x46f6e9(0x2eb)]);_0x5d28e0&&(this['_univerInstanceService']['disposeUnit'](_0x5d28e0[_0x46f6e9(0xd9)]()),await Promise[_0x46f6e9(0xc1)]());let _0x2e2262=JSON[_0x46f6e9(0x1ec)](JSON[_0x46f6e9(0x24f)](_0x238127));this['_createUnit'](_0x2e2262,_0x155e5a),this[_0x46f6e9(0xdd)][_0x46f6e9(0x388)]();}[_0x1888a5(0xed)](_0x23f18c,_0x5036f9){const _0x33df31=_0x1888a5;let _0xccd644=this[_0x33df31(0x18a)]['createUnit'](_0x1e04c6[_0x33df31(0x1d9)]['UNIVER_SHEET'],_0x23f18c);this[_0x33df31(0x18a)][_0x33df31(0x3a1)](_0xccd644[_0x33df31(0xd9)]());let _0x4a4df6=this[_0x33df31(0x1c4)]['interceptor'][_0x33df31(0x1a6)](this[_0x33df31(0x1c4)][_0x33df31(0x139)][_0x33df31(0x33b)]()[_0x33df31(0x243)]);return _0x5036f9==null||_0x5036f9[_0x33df31(0x157)](_0x1e281b=>{const _0x367b31=_0x33df31;let _0x130715=_0x1e281b['mutations']['map'](_0x26e728=>({'id':_0x26e728['id'],'params':JSON[_0x367b31(0x1ec)](_0x26e728[_0x367b31(0x347)])}));(_0x4a4df6(_0x130715,null)||_0x130715)[_0x367b31(0x157)](_0xddb284=>{const _0x25217c=_0x367b31;this['_commandService']['hasCommand'](_0xddb284['id'])&&this[_0x25217c(0x298)]['syncExecuteCommand'](_0xddb284['id'],_0xddb284[_0x25217c(0x2d5)],{'fromChangeset':!0x0});});}),_0xccd644;}};_0x50ccf5=_0x4262d0([_0x10a923(0x0,_0x368552['ISnapshotServerService']),_0x10a923(0x1,_0x1e04c6['IUniverInstanceService']),_0x10a923(0x2,_0x1e04c6['ICommandService']),_0x10a923(0x3,_0x1e04c6[_0x1888a5(0x3dc)]),_0x10a923(0x4,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x4a1ebd[_0x1888a5(0x95)])),_0x10a923(0x5,(0x0,_0x1e04c6['Inject'])(_0x368552[_0x1888a5(0x312)])),_0x10a923(0x6,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x37090c['SheetPermissionInitController']))],_0x50ccf5);function _0x16312f(_0x447458){const _0x360ca9=_0x1888a5;let _0x48d745=[],{entities:_0x35dacb,historyIds:_0x3bf539}=_0x447458,{datas:_0x1e8684,users:_0x5e6a8d}=_0x35dacb;for(let _0x23c14e of _0x3bf539){let _0x35a276=_0x1e8684[_0x23c14e];if(_0x35a276){var _0xbea7b9,_0xcf74bc;let _0x4416cd=!!((_0xbea7b9=_0x5e6a8d[_0x35a276[_0x360ca9(0xbc)]])!=null&&_0xbea7b9[_0x360ca9(0x8c)]);_0x48d745[_0x360ca9(0x3e0)]({'unitId':_0x35a276['unitId'],'user':_0x4416cd?'':(_0x5e6a8d==null||(_0xcf74bc=_0x5e6a8d[_0x35a276[_0x360ca9(0xbc)]])==null?void 0x0:_0xcf74bc[_0x360ca9(0x21a)])||'','users':_0x35a276[_0x360ca9(0x3f1)][_0x360ca9(0x37e)](_0x509e6e=>{const _0x590d89=_0x360ca9;var _0x4b9286;return(_0x5e6a8d==null||(_0x4b9286=_0x5e6a8d[_0x509e6e])==null?void 0x0:_0x4b9286[_0x590d89(0x21a)])||'';})[_0x360ca9(0x20f)](_0x2d1656=>_0x2d1656),'isAnonymous':_0x4416cd,'id':_0x23c14e,'time':_0x35a276[_0x360ca9(0x3ca)]?Number(_0x35a276[_0x360ca9(0x3ca)]):void 0x0,'commands':_0x35a276[_0x360ca9(0x104)],'startRev':Number(_0x35a276['startRevision']),'endRev':Number(_0x35a276[_0x360ca9(0xdc)]),'recoverTime':_0x35a276[_0x360ca9(0x277)]?Number(_0x35a276[_0x360ca9(0x277)]):void 0x0,'additionalFields':_0x35a276[_0x360ca9(0x2f7)],'startRevCreateTime':_0x35a276[_0x360ca9(0x17e)]?Number(_0x35a276[_0x360ca9(0x17e)]):void 0x0,'endRevCreateTime':_0x35a276[_0x360ca9(0x36f)]?Number(_0x35a276[_0x360ca9(0x36f)]):void 0x0});}}return _0x48d745;}let _0x4afadc=function(_0x3c4504){const _0x360e29=_0x1888a5;return _0x3c4504[_0x360e29(0x2a6)]='entered',_0x3c4504['Exited']=_0x360e29(0x24b),_0x3c4504[_0x360e29(0x2e4)]=_0x360e29(0x10c),_0x3c4504;}({}),_0x32eed7=_0x1888a5(0x269),_0x570b37=class extends _0x1e04c6[_0x1888a5(0x1cb)]{[_0x1888a5(0x3c5)](_0x20b403){const _0x952782=_0x1888a5;this['_fetching$'][_0x952782(0x20d)](_0x20b403);}get[_0x1888a5(0x31b)](){const _0x2418d3=_0x1888a5;return this[_0x2418d3(0x29b)][_0x2418d3(0xac)];}constructor(_0xfda632,_0x155d5e,_0xfb4bb3,_0x2c9b12){const _0x52f280=_0x1888a5;super(),this[_0x52f280(0x1e0)]=_0xfda632,this['_confirmService']=_0x155d5e,this['_localeService']=_0xfb4bb3,this[_0x52f280(0x183)]=_0x2c9b12,_0x51a179(this,_0x52f280(0x1aa),new _0x2a040b['BehaviorSubject']([])),_0x51a179(this,_0x52f280(0x195),this[_0x52f280(0x1aa)]['asObservable']()),_0x51a179(this,_0x52f280(0x37a),new _0x2a040b['BehaviorSubject']('')),_0x51a179(this,'currentVersion$',this[_0x52f280(0x37a)][_0x52f280(0x389)]()),_0x51a179(this,_0x52f280(0x14c),new _0x2a040b[(_0x52f280(0x2ba))]('entered')),_0x51a179(this,_0x52f280(0x2d6),this[_0x52f280(0x14c)][_0x52f280(0x389)]()),_0x51a179(this,_0x52f280(0xd1),new _0x2a040b[(_0x52f280(0x2ba))](0x0)),_0x51a179(this,_0x52f280(0x235),this[_0x52f280(0xd1)]['asObservable']()),_0x51a179(this,'_unitId$',new _0x2a040b['BehaviorSubject']('')),_0x51a179(this,_0x52f280(0x3c7),this['_unitId$']['asObservable']()),_0x51a179(this,'_fetching$',new _0x2a040b[(_0x52f280(0x2ba))](!0x1)),_0x51a179(this,_0x52f280(0x13b),this[_0x52f280(0x29b)][_0x52f280(0x389)]()),_0x51a179(this,_0x52f280(0x200),new _0x2a040b['BehaviorSubject']([])),_0x51a179(this,_0x52f280(0x16e),this[_0x52f280(0x200)][_0x52f280(0x389)]()),_0x51a179(this,_0x52f280(0x231),new _0x2a040b[(_0x52f280(0x2ba))](!0x1)),_0x51a179(this,'openPanel$',this['_openPanel$'][_0x52f280(0x389)]()),_0x51a179(this,'_detailVersionsMap',new Map()),_0x51a179(this,_0x52f280(0x146),new _0x2a040b[(_0x52f280(0x2ba))](_0x52f280(0x219))),_0x51a179(this,_0x52f280(0x1ef),this[_0x52f280(0x146)][_0x52f280(0x389)]()),_0x51a179(this,_0x52f280(0x409),null),_0x51a179(this,_0x52f280(0xb3),!0x0),_0x51a179(this,_0x52f280(0x155),new Map()),_0x51a179(this,_0x52f280(0x2b4),void 0x0),_0x51a179(this,'_maskContainer',void 0x0),_0x51a179(this,_0x52f280(0x31e),void 0x0),_0x51a179(this,_0x52f280(0x18d),!0x1),_0x51a179(this,_0x52f280(0x3a9),null),_0x51a179(this,_0x52f280(0xd8),new Map());}async[_0x1888a5(0x1b2)](_0x24bbb6,_0xda0216,_0x18ee40){const _0x225254=_0x1888a5;this['_historyContainerId']=_0xda0216,this[_0x225254(0x18d)]=_0x18ee40,this[_0x225254(0x231)]['next'](!0x0),await this[_0x225254(0x232)](_0x24bbb6);}[_0x1888a5(0x32f)](_0x24467c,_0x502465='',_0x567a75,_0x2641b4){const _0x38e046=_0x1888a5;let {versions:_0x4c297e,hasMore:_0x23da99,lastLabel:_0x42de0d,members:_0x4bea59}=_0x2641b4,_0x4b5c87=_0x4c297e[_0x38e046(0x256)]>0x0?_0x4c297e:[{'unitId':_0x24467c,'id':_0x32eed7,'startRev':0x1,'endRev':0x0,'time':Date[_0x38e046(0x141)](),'user':this[_0x38e046(0x25d)]['t'](_0x38e046(0x2d2)),'users':[this['_localeService']['t'](_0x38e046(0x2d2))],'commands':[],'isAnonymous':!0x1}];this['_canRevert']=_0x567a75,this[_0x38e046(0x2b4)]=_0x502465,this[_0x38e046(0x1d5)]['next'](_0x24467c),this[_0x38e046(0x2a7)](_0x4b5c87,_0x23da99,_0x42de0d,!0x1,_0x4bea59),this[_0x38e046(0x37a)][_0x38e046(0x20d)](_0x4b5c87[0x0]['id']);}async[_0x1888a5(0x232)](_0x15d3e1,_0x890f53){const _0x4ce571=_0x1888a5;this[_0x4ce571(0x1d5)][_0x4ce571(0x20d)](_0x15d3e1),this[_0x4ce571(0x3a9)]=_0x890f53==null?null:_0x890f53,this['_setFetching'](!0x0);let _0x37bbc3=await this['_historyFetchService'][_0x4ce571(0x294)](_0x15d3e1,_0x890f53);if(this[_0x4ce571(0x3c5)](!0x1),_0x37bbc3){let {versions:_0x5453ea,lastLabel:_0x57edb1,hasMore:_0xbf8fd9,members:_0x4957d3}=_0x37bbc3;_0x5453ea['length']===0x0&&_0x5453ea[_0x4ce571(0x3e0)]({'unitId':_0x15d3e1,'id':_0x32eed7,'startRev':0x1,'endRev':0x0,'time':Date[_0x4ce571(0x141)](),'user':this[_0x4ce571(0x25d)]['t'](_0x4ce571(0x2d2)),'users':[this['_localeService']['t'](_0x4ce571(0x2d2))],'commands':[],'isAnonymous':!0x1}),this[_0x4ce571(0x2a7)](_0x5453ea,_0xbf8fd9,_0x57edb1,!0x1,_0x4957d3),this[_0x4ce571(0x37a)][_0x4ce571(0x20d)](_0x5453ea[0x0]['id']),this[_0x4ce571(0xd8)][_0x4ce571(0x189)](_0x15d3e1,_0x5453ea[0x0][_0x4ce571(0xb0)]);}else this[_0x4ce571(0x14c)][_0x4ce571(0x20d)]('error');}async[_0x1888a5(0x28e)](){const _0x402b28=_0x1888a5;if(!this['_lastLabel']||!this[_0x402b28(0xb3)]||this[_0x402b28(0x31b)])return!0x1;this[_0x402b28(0x3c5)](!0x0);let _0x1c1cb7=await this[_0x402b28(0x183)][_0x402b28(0x294)](this['unitId'],{'lastLabel':this[_0x402b28(0x409)],...this[_0x402b28(0x3a9)]});if(this[_0x402b28(0x3c5)](!0x1),_0x1c1cb7){let {versions:_0x59d6fe,lastLabel:_0x37ac4b,hasMore:_0x1b9e43,members:_0x35e8ae}=_0x1c1cb7;this[_0x402b28(0x2a7)](_0x59d6fe,_0x1b9e43,_0x37ac4b,!0x0,_0x35e8ae);}else this[_0x402b28(0x1e0)]['show']({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x2a5339[_0x402b28(0x2f6)][_0x402b28(0x2e4)],'duration':0xbb8});return!0x0;}async[_0x1888a5(0x111)](){const _0x545740=_0x1888a5;let {unitId:_0x3146f7}=this;if(!_0x3146f7)return;let _0x39a467=await this[_0x545740(0x183)][_0x545740(0x35f)](_0x3146f7);_0x39a467&&this['_creators$'][_0x545740(0x20d)](_0x39a467);}async['triggerLoadSheet'](_0x415eba){const _0x16822c=_0x1888a5;let {endRev:_0x76a9a9}=this[_0x16822c(0x12a)](_0x415eba)||{};_0x76a9a9||_0x76a9a9===0x0?(this[_0x16822c(0x146)][_0x16822c(0x20d)](_0x16822c(0x3b5)),await this['_historyFetchService'][_0x16822c(0x110)](this['unitId'],_0x76a9a9),this['_loadingState$'][_0x16822c(0x20d)](_0x16822c(0x1b7))):this[_0x16822c(0x14c)]['next'](_0x16822c(0x10c));}async[_0x1888a5(0xa4)](_0xf08b2e){const _0x34ce0d=_0x1888a5;let _0x405440=_0xf08b2e?this[_0x34ce0d(0x12a)](_0xf08b2e):this[_0x34ce0d(0x32c)]();if(!_0x405440)return;let _0x293950=_0x405440[_0x34ce0d(0xb0)],_0x19a78=_0x4974cf(_0x405440[_0x34ce0d(0x1f5)],this['_localeService'][_0x34ce0d(0x247)]());await this[_0x34ce0d(0x1c1)]['confirm']({'id':'confirm-revert-revision','title':{'title':this[_0x34ce0d(0x25d)]['t'](_0x34ce0d(0x3ba))},'children':{'title':this['_localeService']['t']('editHistory.panel.revertConfirmText')+_0x34ce0d(0xc3)+_0x19a78['date']+'\x20'+_0x19a78[_0x34ce0d(0x1f5)]+')'},'cancelText':this['_localeService']['t'](_0x34ce0d(0xf5)),'confirmText':this[_0x34ce0d(0x25d)]['t'](_0x34ce0d(0x17f))})&&this[_0x34ce0d(0xd1)][_0x34ce0d(0x20d)](_0x293950);}[_0x1888a5(0x2a7)](_0x3fec85,_0x37e782,_0x55877f,_0x299034,_0x45b6eb){const _0x597be7=_0x1888a5;this[_0x597be7(0x1a1)](_0x299034?this[_0x597be7(0x1aa)][_0x597be7(0xac)]['concat'](_0x3fec85):_0x3fec85),this[_0x597be7(0xb3)]=_0x37e782,this[_0x597be7(0x409)]=_0x55877f,_0x45b6eb&&Object[_0x597be7(0x116)](_0x45b6eb)[_0x597be7(0x157)](_0x275f85=>this[_0x597be7(0x155)][_0x597be7(0x189)](_0x275f85,_0x45b6eb[_0x275f85]));}[_0x1888a5(0x32c)](){const _0x476b99=_0x1888a5;return this[_0x476b99(0x12a)](this[_0x476b99(0x37a)][_0x476b99(0xac)]);}[_0x1888a5(0x1a1)](_0x4a2a76){const _0x178adf=_0x1888a5;this['_versions$'][_0x178adf(0x20d)](_0x4a2a76);}['getVersion'](_0x26fe6f){const _0xa33841=_0x1888a5;var _0x56154d;return((_0x56154d=this[_0xa33841(0x1aa)][_0xa33841(0xac)])==null?void 0x0:_0x56154d['find'](_0x1a204a=>_0x1a204a['id']===_0x26fe6f))||this['_detailVersionsMap'][_0xa33841(0x2c5)](_0x26fe6f);}[_0x1888a5(0x35b)](_0x208411){const _0x11c656=_0x1888a5;this[_0x11c656(0x142)][_0x11c656(0x189)](_0x208411['id'],_0x208411);}[_0x1888a5(0x3a2)](){const _0x1a73f8=_0x1888a5;if(this['unitId'])return this[_0x1a73f8(0xd8)][_0x1a73f8(0x2c5)](this['unitId']);}[_0x1888a5(0x1f7)](){const _0x4762f7=_0x1888a5;var _0x154a27;return((_0x154a27=this[_0x4762f7(0x32c)]())==null?void 0x0:_0x154a27[_0x4762f7(0xb0)])===this[_0x4762f7(0x3a2)]();}['getSelectedVersionCanRevert'](){const _0x41b1c1=_0x1888a5;return!this[_0x41b1c1(0x1f7)]()&&this['canRevert'];}[_0x1888a5(0x2a0)](_0x3fd9ce){const _0x154928=_0x1888a5;return this[_0x154928(0x155)][_0x154928(0x2c5)](_0x3fd9ce);}[_0x1888a5(0x3be)](){const _0x7314c7=_0x1888a5;this[_0x7314c7(0x31e)]=document[_0x7314c7(0x220)]('div'),this[_0x7314c7(0x31e)][_0x7314c7(0x29c)]=_0x7314c7(0xfa),this[_0x7314c7(0x31e)][_0x7314c7(0xb7)][_0x7314c7(0x2d3)]=_0x7314c7(0x369),this[_0x7314c7(0x31e)][_0x7314c7(0xb7)][_0x7314c7(0x405)]='0',this['_maskElement']['style'][_0x7314c7(0x2d9)]='0',this[_0x7314c7(0x31e)][_0x7314c7(0xb7)][_0x7314c7(0x1f4)]=_0x7314c7(0x320),this[_0x7314c7(0x31e)][_0x7314c7(0xb7)][_0x7314c7(0x2e5)]=_0x7314c7(0x320),this[_0x7314c7(0x31e)]['style']['backgroundColor']='rgba(225,\x20225,\x20225,\x200.5)',this[_0x7314c7(0x31e)][_0x7314c7(0xb7)][_0x7314c7(0x28c)]='white',this[_0x7314c7(0x31e)][_0x7314c7(0xb7)][_0x7314c7(0x309)]=_0x7314c7(0xae),this[_0x7314c7(0x31e)]['style']['justifyContent']=_0x7314c7(0x314),this['_maskElement'][_0x7314c7(0xb7)][_0x7314c7(0x3b0)]='1000',this[_0x7314c7(0x31e)][_0x7314c7(0xb7)]['display']=_0x7314c7(0x3c6),this[_0x7314c7(0x393)][_0x7314c7(0xbf)](this[_0x7314c7(0x31e)]);}[_0x1888a5(0x316)](){const _0x2c4fd7=_0x1888a5;let _0x1187e4=document[_0x2c4fd7(0xa9)](this['_historyContainerId']);_0x1187e4&&(this[_0x2c4fd7(0x393)]=_0x1187e4,this[_0x2c4fd7(0x3be)]());}['showMask'](){const _0x52565c=_0x1888a5;this[_0x52565c(0x393)]||this['_initMaskContainer'](),this['_maskElement']&&(this[_0x52565c(0x31e)][_0x52565c(0xb7)][_0x52565c(0x309)]=_0x52565c(0xae));}[_0x1888a5(0x2e2)](){const _0x4c8f08=_0x1888a5;this[_0x4c8f08(0x31e)]&&(this[_0x4c8f08(0x31e)][_0x4c8f08(0xb7)][_0x4c8f08(0x309)]='none');}set['status'](_0x2bd2e9){const _0x2bdaac=_0x1888a5;this[_0x2bdaac(0x14c)][_0x2bdaac(0x20d)](_0x2bd2e9);}set[_0x1888a5(0x267)](_0x236b5d){const _0x206e1a=_0x1888a5;_0x236b5d!==this[_0x206e1a(0x37a)][_0x206e1a(0xac)]&&this[_0x206e1a(0x37a)][_0x206e1a(0x20d)](_0x236b5d);}get[_0x1888a5(0x267)](){const _0x573cb6=_0x1888a5;return this['_currentVersion$'][_0x573cb6(0xac)];}set['unitId'](_0x599bfd){const _0x27ea98=_0x1888a5;this[_0x27ea98(0x1d5)][_0x27ea98(0x20d)](_0x599bfd);}get[_0x1888a5(0x333)](){const _0x1fcdfd=_0x1888a5;return this[_0x1fcdfd(0x1d5)][_0x1fcdfd(0xac)];}get[_0x1888a5(0x152)](){const _0xfa740a=_0x1888a5;return this[_0xfa740a(0x18d)];}get[_0x1888a5(0x179)](){return this['_loadingState$']['value'];}};_0x570b37=_0x4262d0([_0x10a923(0x0,_0x48e19f[_0x1888a5(0xc0)]),_0x10a923(0x1,_0x1e04c6[_0x1888a5(0x1dc)]),_0x10a923(0x2,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1e04c6[_0x1888a5(0x170)])),_0x10a923(0x3,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x50ccf5))],_0x570b37);let _0x2f5c48=class extends _0x1e04c6[_0x1888a5(0x1cb)]{constructor(_0x285268,_0x44c943,_0xf58fde,_0x5cabac,_0x5021e2,_0x74491a,_0x5ec3d2,_0x258ecc,_0x2ffbe0,_0x44986d,_0x1a79ae,_0x428c23,_0x16d5d7){const _0x257d26=_0x1888a5;super(),this[_0x257d26(0x364)]=_0x285268,this[_0x257d26(0x35d)]=_0x44c943,this[_0x257d26(0x225)]=_0xf58fde,this[_0x257d26(0x3f3)]=_0x5cabac,this[_0x257d26(0x242)]=_0x5021e2,this[_0x257d26(0x221)]=_0x74491a,this[_0x257d26(0xc7)]=_0x5ec3d2,this['_sparklineDataSourceModel']=_0x258ecc,this['_sheetsPivotTableConfigModel']=_0x2ffbe0,this['_sheetTableService']=_0x44986d,this[_0x257d26(0x25d)]=_0x1a79ae,this[_0x257d26(0x396)]=_0x428c23,this['_historyFetchService']=_0x16d5d7,_0x51a179(this,_0x257d26(0x32a),new Map()),_0x51a179(this,'_currentVersionDiff$',new _0x2a040b[(_0x257d26(0x2ba))]({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0x51a179(this,_0x257d26(0x2b9),this['_currentVersionDiff$'][_0x257d26(0x389)]()),this[_0x257d26(0x10e)]();}['_init'](){const _0x3afe70=_0x1888a5;this[_0x3afe70(0x32a)]=new Map(),this['disposeWithMe'](this[_0x3afe70(0x364)][_0x3afe70(0x3c7)][_0x3afe70(0x3d2)](_0x9ca058=>{const _0x4359b9=_0x3afe70;_0x9ca058&&!this[_0x4359b9(0x32a)]['has'](_0x9ca058)&&this[_0x4359b9(0x32a)][_0x4359b9(0x189)](_0x9ca058,new Map());})),this['disposeWithMe'](this[_0x3afe70(0x364)][_0x3afe70(0x355)][_0x3afe70(0x3d2)](async _0x4bd3ab=>{const _0x4723c6=_0x3afe70;if(_0x4bd3ab){var _0x3f5c8e;await this[_0x4723c6(0x32d)](_0x4bd3ab),this[_0x4723c6(0x162)][_0x4723c6(0x20d)](((_0x3f5c8e=this['_diffRangesMap']['get'](this[_0x4723c6(0x364)][_0x4723c6(0x333)]))==null?void 0x0:_0x3f5c8e[_0x4723c6(0x2c5)](_0x4bd3ab))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async['ensureVersion'](_0x1693ea){const _0x3126aa=_0x1888a5;var _0xb52502,_0x388c58;let _0x3bc6da=this[_0x3126aa(0x364)]['getVersion'](_0x1693ea),_0x2757c7=this[_0x3126aa(0x364)]['unitId'];if(!_0x3bc6da||!_0x2757c7)return;let _0x2d4855=this['_diffRangesMap'][_0x3126aa(0x2c5)](_0x2757c7);if(_0x2d4855||this[_0x3126aa(0x32a)]['set'](_0x2757c7,new Map()),(_0xb52502=this[_0x3126aa(0x32a)]['get'](_0x2757c7))!=null&&_0xb52502[_0x3126aa(0x291)](_0x3bc6da['id']))return;let {startRev:_0x3b925e,endRev:_0x550893}=_0x3bc6da;if(_0x3b925e===0x1){_0x2d4855[_0x3126aa(0x189)](_0x3bc6da['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x3448de=_0x3b925e,_0x3c5d9c=_0x550893,_0x25f0ea=await this[_0x3126aa(0x183)]['getHistoryChangesets']({},{'unitId':_0x2757c7,'startRevision':_0x3448de,'endRevision':_0x3c5d9c});if(((_0x388c58=_0x25f0ea['error'])==null?void 0x0:_0x388c58[_0x3126aa(0x244)])===_0x576ab1['ErrorCode']['OK']){let _0x4452f6=_0x25f0ea['changesets']['map'](_0x2d0eee=>((_0x2d0eee[_0x3126aa(0xd2)]===null||_0x2d0eee['mutations']===void 0x0)&&(_0x2d0eee['mutations']=[]),(0x0,_0x368552[_0x3126aa(0x2a2)])(_0x2d0eee)))['map'](_0x4f3513=>_0x4f3513[_0x3126aa(0xd2)][_0x3126aa(0x37e)](_0x53782b=>({..._0x53782b,'params':{..._0x53782b[_0x3126aa(0x2d5)],'memberId':_0x4f3513['userID']||_0x3126aa(0x205)}})))[_0x3126aa(0x107)](),_0x39e75c=await this['_transformMutationByOrder'](_0x4452f6),_0x6550e8=this[_0x3126aa(0x27f)](_0x4452f6),_0x4868ec=this['_extractRanges'](_0x39e75c);_0x2d4855['set'](_0x3bc6da['id'],{..._0x4868ec,'active':_0x6550e8});}}[_0x1888a5(0x25e)](){const _0x109b3d=_0x1888a5;let _0x5eb6fb=_0xc7ab35('editHistory.action.'),_0x1329b0=new Map();return Object[_0x109b3d(0x318)](_0x5eb6fb)['flat']()[_0x109b3d(0x157)](_0x2dade1=>{const _0x379350=_0x109b3d;_0x1329b0[_0x379350(0x189)](_0x2dade1['id'],_0x2dade1['action']);}),_0x1329b0;}[_0x1888a5(0x208)](_0x3b6374,_0x4142a4){const _0x438e4c=_0x1888a5;return this[_0x438e4c(0x280)](_0x3b6374,_0x4142a4);}async[_0x1888a5(0x240)](_0x16e0c0){const _0x26cb96=_0x1888a5;let _0x187e49=[];for(let _0x4bc48d=0x0;_0x4bc48d<_0x16e0c0[_0x26cb96(0x256)];_0x4bc48d++){let _0x1fd8cd=_0x16e0c0[_0x4bc48d];if(_0x187e49[_0x26cb96(0x3e0)](_0x1fd8cd),_0x4bc48d!==_0x16e0c0[_0x26cb96(0x256)]-0x1){let _0x1c793c=_0x16e0c0[_0x4bc48d+0x1],_0x1ae1e9=this[_0x26cb96(0x35d)]['transformMutations'](_0x187e49,[_0x1c793c]);_0x187e49=(0x0,_0x368552[_0x26cb96(0x296)])(_0x1ae1e9)?_0x1ae1e9[_0x26cb96(0x239)]:[];}_0x4bc48d%0xa==0x0&&_0x4bc48d>0x0&&await this[_0x26cb96(0x276)]();}return _0x187e49;}[_0x1888a5(0x276)](){return new Promise(_0x36080a=>{const _0x3a5828=_0x5c10;typeof requestIdleCallback==_0x3a5828(0x94)?requestIdleCallback(()=>_0x36080a(),{'timeout':0x64}):setTimeout(_0x36080a,0x0);});}[_0x1888a5(0x27f)](_0x15e194){const _0x48c08d=_0x1888a5;let _0x189db3=[];return _0x15e194[_0x48c08d(0x157)](_0x2fd999=>{const _0xd36a37=_0x48c08d;if(_0x2fd999['id']===_0x37090c['InsertSheetMutation']['id']){let _0x32b0e1=_0x2fd999[_0xd36a37(0x2d5)];_0x189db3['push'](_0x32b0e1['sheet']['id']);}else{if(_0x2fd999['id']===_0x37090c[_0xd36a37(0x203)]['id']){let _0x2c9c9d=_0x2fd999[_0xd36a37(0x2d5)];_0x189db3['length']>0x0&&(_0x189db3=_0x189db3[_0xd36a37(0x20f)](_0xa5ef2b=>_0xa5ef2b!==_0x2c9c9d[_0xd36a37(0x1e5)]));}else{if(_0x2fd999['id']===_0x37090c['SetWorksheetHideMutation']['id']){let _0x21c7f7=_0x2fd999[_0xd36a37(0x2d5)];_0x21c7f7['hidden']?_0x189db3=_0x189db3[_0xd36a37(0x20f)](_0x4d9489=>_0x4d9489!==_0x21c7f7[_0xd36a37(0x1e5)]):_0x189db3['push'](_0x21c7f7[_0xd36a37(0x1e5)]);}else{let _0x2d3309=_0x2fd999[_0xd36a37(0x2d5)];_0x2d3309[_0xd36a37(0x1e5)]&&_0x189db3[_0xd36a37(0x3e0)](_0x2d3309[_0xd36a37(0x1e5)]);}}}}),_0x189db3[_0x48c08d(0x256)]>0x0?_0x189db3[_0x189db3['length']-0x1]:null;}[_0x1888a5(0x1de)](_0x4190fd){const _0x784a8f=_0x1888a5;let _0x5680d5=new Map(),_0x54ef5a=new Map(),_0x54c198=new Map(),_0x55f1be=new Map(),_0x3e029e=new Map(),_0x1405f7=new Map(),_0x15aafb=new Map(),_0x2c2dff=new Map(),_0x258d23=new Map(),_0x4dd5ff=new Map(),_0x2db463=new Map(),_0x3220bf=new Map(),_0x3ae6e0=new Set(),_0x2db8d0=this[_0x784a8f(0x25e)]();return _0x4190fd[_0x784a8f(0x157)](_0xfb93a5=>{const _0x50fb6a=_0x784a8f;var _0x295a06,_0x47dce1,_0x6bbd47,_0x263d98,_0x475240,_0x13bc64,_0x4b98a4,_0x6deebd,_0x168399,_0x1cee49,_0x48afbb,_0x574df6,_0x19fdf1;let _0x54efd8=(_0x295a06=_0xfb93a5[_0x50fb6a(0x2d5)])==null?void 0x0:_0x295a06[_0x50fb6a(0x10d)];if(!_0x54efd8)return;_0x5680d5[_0x50fb6a(0x291)](_0x54efd8)||(_0x5680d5[_0x50fb6a(0x189)](_0x54efd8,[]),_0x54ef5a[_0x50fb6a(0x189)](_0x54efd8,[]),_0x54c198['set'](_0x54efd8,[]),_0x55f1be[_0x50fb6a(0x189)](_0x54efd8,[]),_0x3e029e['set'](_0x54efd8,[]),_0x1405f7['set'](_0x54efd8,[]),_0x15aafb[_0x50fb6a(0x189)](_0x54efd8,[]),_0x2c2dff[_0x50fb6a(0x189)](_0x54efd8,[]),_0x258d23[_0x50fb6a(0x189)](_0x54efd8,[]),_0x4dd5ff[_0x50fb6a(0x189)](_0x54efd8,[]),_0x2db463['set'](_0x54efd8,[]),_0x3220bf[_0x50fb6a(0x189)](_0x54efd8,[]));let _0x112886=this[_0x50fb6a(0x280)](_0xfb93a5,_0x2db8d0);_0x112886[_0x50fb6a(0x3cc)][_0x50fb6a(0x157)](_0x84d25a=>_0x3ae6e0[_0x50fb6a(0x3ac)](_0x84d25a)),(_0x47dce1=_0x5680d5[_0x50fb6a(0x2c5)](_0x54efd8))==null||_0x47dce1[_0x50fb6a(0x3e0)](..._0x112886[_0x50fb6a(0x3ff)]),(_0x6bbd47=_0x54ef5a[_0x50fb6a(0x2c5)](_0x54efd8))==null||_0x6bbd47['push'](..._0x112886[_0x50fb6a(0x16a)]),(_0x263d98=_0x54c198['get'](_0x54efd8))==null||_0x263d98[_0x50fb6a(0x3e0)](..._0x112886[_0x50fb6a(0x1ae)]),(_0x475240=_0x55f1be[_0x50fb6a(0x2c5)](_0x54efd8))==null||_0x475240[_0x50fb6a(0x3e0)](..._0x112886[_0x50fb6a(0x103)]),(_0x13bc64=_0x3e029e[_0x50fb6a(0x2c5)](_0x54efd8))==null||_0x13bc64['push'](..._0x112886[_0x50fb6a(0x1c3)]),(_0x4b98a4=_0x1405f7[_0x50fb6a(0x2c5)](_0x54efd8))==null||_0x4b98a4[_0x50fb6a(0x3e0)](..._0x112886[_0x50fb6a(0xdf)]),(_0x6deebd=_0x15aafb[_0x50fb6a(0x2c5)](_0x54efd8))==null||_0x6deebd[_0x50fb6a(0x3e0)](..._0x112886[_0x50fb6a(0xaf)]),(_0x168399=_0x2c2dff['get'](_0x54efd8))==null||_0x168399['push'](..._0x112886[_0x50fb6a(0x127)]),(_0x1cee49=_0x258d23[_0x50fb6a(0x2c5)](_0x54efd8))==null||_0x1cee49[_0x50fb6a(0x3e0)](..._0x112886[_0x50fb6a(0xfc)]),(_0x48afbb=_0x2db463['get'](_0x54efd8))==null||_0x48afbb['push'](..._0x112886['insertDrawings']),(_0x574df6=_0x3220bf[_0x50fb6a(0x2c5)](_0x54efd8))==null||_0x574df6[_0x50fb6a(0x3e0)](..._0x112886[_0x50fb6a(0x39a)]),(_0x19fdf1=_0x4dd5ff['get'](_0x54efd8))==null||_0x19fdf1[_0x50fb6a(0x3e0)](..._0x112886[_0x50fb6a(0x2ae)]);}),_0x5680d5[_0x784a8f(0x157)]((_0x3ed02e,_0x253e9d)=>{const _0x32a2f3=_0x784a8f;_0x5680d5[_0x32a2f3(0x189)](_0x253e9d,this[_0x32a2f3(0x308)](_0x3ed02e)),_0x54ef5a[_0x32a2f3(0x189)](_0x253e9d,this['_combineRanges'](_0x54ef5a[_0x32a2f3(0x2c5)](_0x253e9d)||[])),_0x54c198[_0x32a2f3(0x189)](_0x253e9d,this[_0x32a2f3(0x308)](_0x54c198[_0x32a2f3(0x2c5)](_0x253e9d)||[])),_0x55f1be[_0x32a2f3(0x189)](_0x253e9d,this['_combineRanges'](_0x55f1be[_0x32a2f3(0x2c5)](_0x253e9d)||[])),_0x3e029e[_0x32a2f3(0x189)](_0x253e9d,this[_0x32a2f3(0x308)](_0x3e029e['get'](_0x253e9d)||[])),_0x1405f7[_0x32a2f3(0x189)](_0x253e9d,this['_combineRanges'](_0x1405f7[_0x32a2f3(0x2c5)](_0x253e9d)||[])),_0x15aafb['set'](_0x253e9d,this[_0x32a2f3(0x308)](_0x15aafb[_0x32a2f3(0x2c5)](_0x253e9d)||[])),_0x2c2dff[_0x32a2f3(0x189)](_0x253e9d,this['_combineRanges'](_0x2c2dff[_0x32a2f3(0x2c5)](_0x253e9d)||[])),_0x258d23[_0x32a2f3(0x189)](_0x253e9d,this[_0x32a2f3(0x308)](_0x258d23[_0x32a2f3(0x2c5)](_0x253e9d)||[]));}),{'ranges':_0x5680d5,'insertCellRanges':_0x54ef5a,'deleteCellRanges':_0x54c198,'updateCellRanges':_0x55f1be,'insertBorderRanges':_0x3e029e,'deleteBorderRanges':_0x1405f7,'updateBorderRanges':_0x15aafb,'arrowRowRanges':_0x2c2dff,'arrowColumnRanges':_0x258d23,'insertDrawings':_0x2db463,'deleteDrawings':_0x3220bf,'updateDrawings':_0x4dd5ff,'subUnitIds':Array[_0x784a8f(0x115)](_0x3ae6e0)};}['_categorizeMutationRanges'](_0x16a4eb,_0x18c651){const _0x324145=_0x1888a5;let _0x55f128={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x3af4e6=_0x16a4eb['id'],_0x3e4af8=_0x16a4eb[_0x324145(0x2d5)],_0x472084=this[_0x324145(0x25d)]['t'](_0x18c651[_0x324145(0x2c5)](_0x3af4e6)||'');_0x3e4af8[_0x324145(0x1e5)]&&_0x55f128['subUnitIds'][_0x324145(0x3e0)](_0x3e4af8[_0x324145(0x1e5)]);let _0x3e7549=(_0x5a52e4,_0x29fd0f)=>{const _0x1e07d2=_0x324145;let _0x21879e=_0x5a52e4['map'](_0x345213=>({..._0x345213,'showText':_0x472084}));switch(_0x55f128[_0x1e07d2(0x3ff)][_0x1e07d2(0x3e0)](..._0x21879e),_0x29fd0f){case _0x1e07d2(0x194):_0x55f128[_0x1e07d2(0x16a)][_0x1e07d2(0x3e0)](..._0x21879e);break;case _0x1e07d2(0x1ab):_0x55f128[_0x1e07d2(0x1ae)][_0x1e07d2(0x3e0)](..._0x21879e);break;case'update':_0x55f128[_0x1e07d2(0x103)][_0x1e07d2(0x3e0)](..._0x21879e);break;case'insertBorder':_0x55f128[_0x1e07d2(0x1c3)]['push'](..._0x21879e);break;case'deleteBorder':_0x55f128[_0x1e07d2(0xdf)][_0x1e07d2(0x3e0)](..._0x21879e);break;case _0x1e07d2(0x22f):_0x55f128[_0x1e07d2(0xaf)][_0x1e07d2(0x3e0)](..._0x21879e);break;case _0x1e07d2(0x13a):_0x55f128['arrowRowRanges'][_0x1e07d2(0x3e0)](..._0x21879e);break;case _0x1e07d2(0x1b6):_0x55f128[_0x1e07d2(0xfc)][_0x1e07d2(0x3e0)](..._0x21879e);break;}};switch(_0x3af4e6){case _0x37090c[_0x324145(0xb1)]['id']:{let _0x5060f1=_0x3e4af8;_0x3e7549([{'range':{..._0x5060f1[_0x324145(0x2e9)],'rangeType':_0x1e04c6[_0x324145(0x13c)][_0x324145(0x234)]},'unitId':_0x5060f1[_0x324145(0x333)],'subUnitId':_0x5060f1[_0x324145(0x1e5)],'showText':_0x324145(0x31f),'highlightRow':!0x0}],_0x324145(0x194));break;}case _0x37090c[_0x324145(0x185)]['id']:{let _0x34f4ec=_0x3e4af8;_0x3e7549([{'range':{..._0x34f4ec[_0x324145(0x2e9)],'rangeType':_0x1e04c6[_0x324145(0x13c)][_0x324145(0x335)]},'unitId':_0x34f4ec[_0x324145(0x333)],'subUnitId':_0x34f4ec['subUnitId'],'showText':_0x324145(0x370),'highlightColumn':!0x0}],'insert');break;}case _0x37090c[_0x324145(0x19a)]['id']:{let _0x39bd77=_0x3e4af8;_0x3e7549(_0x39bd77['ranges'][_0x324145(0x37e)](_0x5c5762=>({'range':_0x5c5762,'unitId':_0x39bd77[_0x324145(0x333)],'subUnitId':_0x39bd77[_0x324145(0x1e5)],'showText':'mergeCells'})),'insert');break;}case _0x37090c[_0x324145(0x303)]['id']:{let _0xd65829=_0x3e4af8;_0x3e7549(Object[_0x324145(0x318)](_0xd65829[_0x324145(0x318)])[_0x324145(0x37e)](_0x102477=>_0x102477[_0x324145(0x301)]['map'](_0x2db638=>({'range':_0x2db638,'unitId':_0xd65829[_0x324145(0x333)],'subUnitId':_0xd65829[_0x324145(0x1e5)],'showText':_0x324145(0x91)})))[_0x324145(0x107)](),_0x324145(0x194));break;}case _0x37090c[_0x324145(0x29f)]['id']:{let _0x534f2a=_0x3e4af8;_0x3e7549(_0x534f2a['ranges'][_0x324145(0x37e)](_0x5903a3=>({'range':_0x5903a3,'unitId':_0x534f2a[_0x324145(0x333)],'subUnitId':_0x534f2a[_0x324145(0x1e5)],'showText':_0x324145(0x324)})),'delete');break;}case _0x37090c[_0x324145(0x18f)]['id']:{let _0x17181c=_0x3e4af8;_0x3e7549(_0x17181c[_0x324145(0x301)]['map'](_0x98aeef=>({'range':_0x98aeef,'unitId':_0x17181c[_0x324145(0x333)],'subUnitId':_0x17181c['subUnitId'],'showText':_0x324145(0x408)})),_0x324145(0x1ab));break;}case _0x37090c['MoveRowsMutation']['id']:{let _0x101fc0=_0x3e4af8;_0x3e7549([{'range':{..._0x101fc0[_0x324145(0x336)],'rangeType':_0x1e04c6[_0x324145(0x13c)][_0x324145(0x234)]},'unitId':_0x101fc0[_0x324145(0x333)],'subUnitId':_0x101fc0[_0x324145(0x1e5)],'showText':_0x324145(0x9d)}],_0x324145(0x1ab)),_0x3e7549([{'range':{..._0x101fc0[_0x324145(0x2af)],'rangeType':_0x1e04c6['RANGE_TYPE'][_0x324145(0x234)]},'unitId':_0x101fc0[_0x324145(0x333)],'subUnitId':_0x101fc0[_0x324145(0x1e5)],'showText':_0x324145(0x9d)}],_0x324145(0x194));break;}case _0x37090c[_0x324145(0x2d4)]['id']:{let _0x410f80=_0x3e4af8;_0x3e7549([{'range':{..._0x410f80[_0x324145(0x336)],'rangeType':_0x1e04c6[_0x324145(0x13c)][_0x324145(0x335)]},'unitId':_0x410f80[_0x324145(0x333)],'subUnitId':_0x410f80[_0x324145(0x1e5)],'showText':'moveCols'}],'delete'),_0x3e7549([{'range':{..._0x410f80['targetRange'],'rangeType':_0x1e04c6[_0x324145(0x13c)][_0x324145(0x335)]},'unitId':_0x410f80['unitId'],'subUnitId':_0x410f80[_0x324145(0x1e5)],'showText':_0x324145(0xff)}],_0x324145(0x194));break;}case _0x37090c['SetRowVisibleMutation']['id']:{let _0x7d0b62=_0x3e4af8;_0x3e7549(_0x7d0b62[_0x324145(0x301)][_0x324145(0x37e)](_0x591ccb=>({'range':{..._0x591ccb,'rangeType':_0x1e04c6[_0x324145(0x13c)]['ROW']},'unitId':_0x7d0b62[_0x324145(0x333)],'subUnitId':_0x7d0b62[_0x324145(0x1e5)],'showText':_0x324145(0xb4),'highlightRow':!0x0})),'update');break;}case _0x37090c[_0x324145(0x3d3)]['id']:{let _0x5c8d3b=_0x3e4af8;_0x5c8d3b[_0x324145(0x175)]&&_0x5c8d3b[_0x324145(0x1e5)]&&Object['keys'](_0x5c8d3b[_0x324145(0x175)])[_0x324145(0x37e)](Number)[_0x324145(0x157)](_0x5b5983=>{const _0x8a9726=_0x324145;_0x3e7549([{'range':{'startRow':_0x5b5983,'endRow':_0x5b5983,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x1e04c6['RANGE_TYPE'][_0x8a9726(0x234)]},'unitId':_0x5c8d3b['unitId'],'subUnitId':_0x5c8d3b[_0x8a9726(0x1e5)],'showText':'setRowData','highlightRow':!0x0}],'update');});break;}case _0x37090c[_0x324145(0x248)]['id']:{let _0x5bb076=_0x3e4af8;_0x3e7549(_0x5bb076['ranges'][_0x324145(0x37e)](_0x1ee148=>({'range':{..._0x1ee148,'rangeType':_0x1e04c6['RANGE_TYPE'][_0x324145(0x335)]},'unitId':_0x5bb076[_0x324145(0x333)],'subUnitId':_0x5bb076['subUnitId'],'showText':_0x324145(0x214),'highlightColumn':!0x0})),_0x324145(0x3dd));break;}case _0x37090c['SetColDataMutation']['id']:{let _0x39e79b=_0x3e4af8;_0x39e79b[_0x324145(0x2fc)]&&_0x39e79b[_0x324145(0x1e5)]&&Object[_0x324145(0x116)](_0x39e79b[_0x324145(0x2fc)])['map'](Number)[_0x324145(0x157)](_0x1587fc=>{const _0x1f082a=_0x324145;_0x3e7549([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x1587fc,'endColumn':_0x1587fc,'rangeType':_0x1e04c6['RANGE_TYPE'][_0x1f082a(0x335)]},'unitId':_0x39e79b[_0x1f082a(0x333)],'subUnitId':_0x39e79b[_0x1f082a(0x1e5)],'showText':_0x1f082a(0xba),'highlightColumn':!0x0}],_0x1f082a(0x3dd));});break;}case _0x37090c[_0x324145(0x2ab)]['id']:{let _0x3eee0f=_0x3e4af8;_0x3e7549(_0x3eee0f['cellValue']?_0x3bf887(_0x3eee0f[_0x324145(0x202)])['map'](_0x583da4=>({'range':_0x583da4,'unitId':_0x3eee0f[_0x324145(0x333)],'subUnitId':_0x3eee0f[_0x324145(0x1e5)],'showText':_0x324145(0x1e4)})):[],_0x324145(0x3dd));break;}case _0x37090c[_0x324145(0x206)]['id']:{let _0x1d9d3a=_0x16a4eb[_0x324145(0x2d5)];_0x3e7549([{'range':_0x31c48b(_0x1d9d3a[_0x324145(0x115)][_0x324145(0xac)]),'unitId':_0x1d9d3a[_0x324145(0x333)],'subUnitId':_0x1d9d3a[_0x324145(0x115)]['subUnitId'],'showText':_0x324145(0x207)}],'delete'),_0x3e7549([{'range':_0x31c48b(_0x1d9d3a['to'][_0x324145(0xac)]),'unitId':_0x1d9d3a[_0x324145(0x333)],'subUnitId':_0x1d9d3a['to'][_0x324145(0x1e5)],'showText':_0x324145(0x207)}],_0x324145(0x194));break;}case _0x37090c['ReorderRangeMutation']['id']:{let _0xc82efc=_0x3e4af8;_0x3e7549([{'range':_0xc82efc[_0x324145(0x2e9)],'unitId':_0xc82efc[_0x324145(0x333)],'subUnitId':_0xc82efc[_0x324145(0x1e5)]}],_0x324145(0x3dd));break;}case _0x37090c[_0x324145(0x1d7)]['id']:{let _0x562656=_0x3e4af8;_0x562656[_0x324145(0x301)]&&_0x562656['ranges']['length']>0x0&&_0x562656[_0x324145(0x1e5)]&&_0x3e7549(_0x562656[_0x324145(0x301)][_0x324145(0x37e)](_0x5956d5=>({'range':_0x5956d5,'unitId':_0x562656['unitId'],'subUnitId':_0x562656[_0x324145(0x1e5)],'showText':_0x324145(0x367)})),_0x324145(0x13a));break;}case _0x37090c[_0x324145(0x197)]['id']:{let _0x5905ba=_0x3e4af8;_0x5905ba[_0x324145(0x301)]&&_0x5905ba[_0x324145(0x301)][_0x324145(0x256)]>0x0&&_0x5905ba[_0x324145(0x1e5)]&&_0x3e7549(_0x5905ba['ranges'][_0x324145(0x37e)](_0x1ad7b4=>({'range':_0x1ad7b4,'unitId':_0x5905ba['unitId'],'subUnitId':_0x5905ba[_0x324145(0x1e5)],'showText':_0x324145(0x2f0)})),_0x324145(0x1b6));break;}case _0x37090c[_0x324145(0x133)]['id']:{let _0x14b276=_0x3e4af8;_0x3e7549(_0x14b276['rules'][_0x324145(0x37e)](_0x5089d6=>_0x5089d6['ranges'][_0x324145(0x37e)](_0x2cf3a9=>({'range':_0x2cf3a9,'unitId':_0x14b276[_0x324145(0x333)],'subUnitId':_0x14b276['subUnitId'],'showText':_0x324145(0x383)})))['flat'](),_0x324145(0x38b));break;}case _0x273210[_0x324145(0x163)]['id']:{let _0x579725=_0x3e4af8;_0x3e7549(_0x579725[_0x324145(0x215)][_0x324145(0x301)][_0x324145(0x37e)](_0x51d237=>({'range':_0x51d237,'unitId':_0x579725[_0x324145(0x333)],'subUnitId':_0x579725['subUnitId'],'showText':_0x324145(0x34e)})),_0x324145(0x38b));break;}case _0x558bd8[_0x324145(0x113)]['id']:{let _0x5bc48f=_0x3e4af8;_0x3e7549((Array['isArray'](_0x5bc48f[_0x324145(0x215)])?_0x5bc48f[_0x324145(0x215)]:[_0x5bc48f[_0x324145(0x215)]])[_0x324145(0x37e)](_0x5374fd=>_0x5374fd[_0x324145(0x301)][_0x324145(0x37e)](_0x93805d=>({'range':_0x93805d,'unitId':_0x5bc48f[_0x324145(0x333)],'subUnitId':_0x5bc48f['subUnitId'],'showText':_0x324145(0x263)})))['flat'](),_0x324145(0x38b));break;}case _0x37090c[_0x324145(0x3bf)]['id']:{let _0x4a05e9=_0x3e4af8,_0x4b8fc9=_0x4a05e9['unitId'],_0x2c9dd3=_0x4a05e9[_0x324145(0x1e5)];_0x4a05e9[_0x324145(0xe8)]&&_0x4a05e9[_0x324145(0xe8)]['length']>0x0&&_0x4a05e9[_0x324145(0x1e5)]&&_0x4a05e9[_0x324145(0xe8)][_0x324145(0x157)](_0xa8d2e3=>{const _0x3f18f1=_0x324145;let _0x3252b2=this[_0x3f18f1(0x3f3)]['getRule'](_0x4b8fc9,_0x2c9dd3,_0xa8d2e3),_0x21781c=(_0x3252b2==null?void 0x0:_0x3252b2[_0x3f18f1(0x301)][_0x3f18f1(0x37e)](_0x14ad66=>({'range':_0x14ad66,'unitId':_0x4b8fc9,'subUnitId':_0x2c9dd3,'showText':_0x3f18f1(0x3f7)})))||[];_0x21781c[_0x3f18f1(0x256)]>0x0&&_0x3e7549(_0x21781c,_0x3f18f1(0x12d));});break;}case _0x273210['DeleteConditionalRuleMutation']['id']:{let _0x262d76=_0x3e4af8;if(_0x262d76[_0x324145(0x23e)]&&_0x262d76[_0x324145(0x1e5)]){let _0x14dfc4=this[_0x324145(0x242)]['getRule'](_0x262d76[_0x324145(0x333)],_0x262d76[_0x324145(0x1e5)],_0x262d76['cfId']);if(_0x14dfc4){let _0x45ecea=_0x14dfc4['ranges']['map'](_0x375f7a=>({'range':_0x375f7a,'unitId':_0x262d76[_0x324145(0x333)],'subUnitId':_0x262d76[_0x324145(0x1e5)],'showText':_0x324145(0x1b3)}));_0x45ecea['length']>0x0&&_0x3e7549(_0x45ecea,_0x324145(0x12d));}}break;}case _0x558bd8[_0x324145(0xbe)]['id']:{let _0x19c0ef=_0x3e4af8,_0x5eabcd=Array[_0x324145(0x1b1)](_0x19c0ef[_0x324145(0x2ad)])?_0x19c0ef[_0x324145(0x2ad)]:[_0x19c0ef[_0x324145(0x2ad)]];_0x5eabcd[_0x324145(0x256)]>0x0&&_0x19c0ef[_0x324145(0x1e5)]&&_0x5eabcd[_0x324145(0x157)](_0x8a2dbb=>{const _0x568833=_0x324145;let _0x47d084=this[_0x568833(0x221)]['getRuleById'](_0x19c0ef[_0x568833(0x333)],_0x19c0ef[_0x568833(0x1e5)],_0x8a2dbb),_0x49894d=(_0x47d084==null?void 0x0:_0x47d084[_0x568833(0x301)][_0x568833(0x37e)](_0x2c02eb=>({'range':_0x2c02eb,'unitId':_0x19c0ef['unitId'],'subUnitId':_0x19c0ef[_0x568833(0x1e5)],'showText':_0x568833(0x354)})))||[];_0x49894d['length']>0x0&&_0x3e7549(_0x49894d,_0x568833(0x12d));});break;}case _0x37090c[_0x324145(0x34d)]['id']:{let _0x26ca3f=_0x3e4af8;_0x3e7549(_0x26ca3f['rule'][_0x324145(0x301)][_0x324145(0x37e)](_0x226ace=>({'range':_0x226ace,'unitId':_0x26ca3f['unitId'],'subUnitId':_0x26ca3f['subUnitId'],'showText':_0x324145(0x376)})),_0x324145(0x22f));break;}case _0x37090c[_0x324145(0x230)]['id']:{let _0x23da6c=_0x3e4af8;_0x3e7549([{'range':_0x23da6c[_0x324145(0x2e9)],'unitId':_0x23da6c[_0x324145(0x333)],'subUnitId':_0x23da6c[_0x324145(0x1e5)],'showText':'setWorksheetRangeTheme'}],'updateBorder');break;}case _0x37090c[_0x324145(0x129)]['id']:{let _0x296efb=_0x3e4af8;_0x3e7549([{'range':_0x296efb['range'],'unitId':_0x296efb[_0x324145(0x333)],'subUnitId':_0x296efb[_0x324145(0x1e5)],'showText':_0x324145(0x31d)}],_0x324145(0x22f));break;}case _0x273210[_0x324145(0x20c)]['id']:{let _0x4f325e=_0x3e4af8;_0x3e7549(_0x4f325e[_0x324145(0x215)][_0x324145(0x301)][_0x324145(0x37e)](_0x52d614=>({'range':_0x52d614,'unitId':_0x4f325e['unitId'],'subUnitId':_0x4f325e[_0x324145(0x1e5)],'showText':_0x324145(0x34e)})),_0x324145(0x22f));break;}case _0x273210[_0x324145(0x1e1)]['id']:{let _0x39fa04=_0x3e4af8,_0x273130=this[_0x324145(0x242)][_0x324145(0xbd)](_0x39fa04['unitId'],_0x39fa04['subUnitId'],_0x39fa04[_0x324145(0x3f4)]['id']),_0x3586a1=this[_0x324145(0x242)]['getRule'](_0x39fa04[_0x324145(0x333)],_0x39fa04['subUnitId'],_0x39fa04[_0x324145(0x14b)]['id']);_0x273130&&_0x3e7549(_0x273130[_0x324145(0x301)]['map'](_0x11d036=>({'range':_0x11d036,'unitId':_0x39fa04[_0x324145(0x333)],'subUnitId':_0x39fa04[_0x324145(0x1e5)],'showText':_0x324145(0x3c4)})),_0x324145(0x12d)),_0x3586a1&&_0x3e7549(_0x3586a1[_0x324145(0x301)][_0x324145(0x37e)](_0x22b05c=>({'range':_0x22b05c,'unitId':_0x39fa04[_0x324145(0x333)],'subUnitId':_0x39fa04[_0x324145(0x1e5)],'showText':_0x324145(0x3c4)})),'insertBorder');break;}case _0x328750[_0x324145(0x351)]['id']:{let _0x1810f3=_0x3e4af8;_0x3e7549([{'range':_0x1810f3[_0x324145(0x2e9)],'unitId':_0x1810f3['unitId'],'subUnitId':_0x1810f3['subUnitId'],'showText':_0x324145(0x258)}],_0x324145(0x22f));break;}case _0x328750[_0x324145(0x2e6)]['id']:{let _0xe0d537=_0x3e4af8,_0x160d5b=this['_sheetsFilterService'][_0x324145(0x2f3)](_0xe0d537[_0x324145(0x333)],_0xe0d537[_0x324145(0x1e5)]);if(_0x160d5b){let _0x37b7bc=_0x160d5b[_0x324145(0xd5)]();_0x3e7549(_0x37b7bc?[{'range':_0x37b7bc,'unitId':_0xe0d537['unitId'],'subUnitId':_0xe0d537['subUnitId'],'showText':_0x324145(0x28f)}]:[],_0x324145(0x22f));}break;}case _0x328750[_0x324145(0x2cc)]['id']:{let _0x3153ed=_0x3e4af8,_0x26fc0a=this[_0x324145(0xc7)][_0x324145(0x2f3)](_0x3153ed[_0x324145(0x333)],_0x3153ed[_0x324145(0x1e5)]);if(_0x26fc0a){let _0xda1fc8=_0x26fc0a[_0x324145(0xd5)]();_0x3e7549(_0xda1fc8?[{'range':_0xda1fc8,'unitId':_0x3153ed[_0x324145(0x333)],'subUnitId':_0x3153ed[_0x324145(0x1e5)],'showText':'removeFilter'}]:[],'updateBorder');}break;}case _0x328750[_0x324145(0xb6)]['id']:{let _0x3ae79b=_0x3e4af8,_0x2bb804=this['_sheetsFilterService']['getFilterModel'](_0x3ae79b[_0x324145(0x333)],_0x3ae79b[_0x324145(0x1e5)]);if(_0x2bb804){let _0x770654=_0x2bb804[_0x324145(0xd5)]();_0x3e7549(_0x770654?[{'range':_0x770654,'unitId':_0x3ae79b['unitId'],'subUnitId':_0x3ae79b[_0x324145(0x1e5)],'showText':_0x324145(0x297)}]:[],'updateBorder');}break;}case _0x558bd8['UpdateDataValidationMutation']['id']:{let _0x107e1a=_0x3e4af8,_0x458ede=this['_dataValidationModel']['getRuleById'](_0x107e1a[_0x324145(0x333)],_0x107e1a['subUnitId'],_0x107e1a[_0x324145(0x2ad)]);_0x458ede&&_0x3e7549(_0x458ede[_0x324145(0x301)]['map'](_0x1fd925=>({'range':_0x1fd925,'unitId':_0x107e1a[_0x324145(0x333)],'subUnitId':_0x107e1a[_0x324145(0x1e5)],'showText':_0x324145(0x263)})),_0x324145(0x22f));break;}case _0x537896['AddSheetSparklineMutation']['id']:{let _0x4fe9b5=_0x3e4af8,_0x3ebf4c=_0x4fe9b5[_0x324145(0x333)],_0x25a53a=_0x4fe9b5[_0x324145(0x1e5)],_0x561655=_0x4fe9b5['sparklineConfigMap'];_0x4fe9b5[_0x324145(0x3e7)]&&_0x25a53a&&Object[_0x324145(0x116)](_0x4fe9b5[_0x324145(0x3e7)])[_0x324145(0x157)](_0x14fa93=>{const _0x3c4c91=_0x324145;let _0x33c52c=_0x561655[_0x14fa93];_0x3e7549(_0x3bf887(_0x33c52c[_0x3c4c91(0x337)])[_0x3c4c91(0x37e)](_0x41583e=>({'range':_0x41583e,'unitId':_0x3ebf4c,'subUnitId':_0x25a53a,'showText':_0x3c4c91(0x1cd)})),_0x3c4c91(0x194));});break;}case _0x537896[_0x324145(0x88)]['id']:{let _0x5992b8=_0x3e4af8;_0x5992b8[_0x324145(0x13f)]&&_0x5992b8[_0x324145(0x13f)][_0x324145(0x256)]>0x0&&_0x5992b8['subUnitId']&&_0x5992b8[_0x324145(0x13f)][_0x324145(0x157)](_0x5ec14c=>{const _0x3923a6=_0x324145;let _0x54fab0=this[_0x3923a6(0x199)][_0x3923a6(0x204)](_0x5992b8[_0x3923a6(0x333)],_0x5992b8[_0x3923a6(0x1e5)],_0x5ec14c);_0x54fab0&&_0x3e7549(_0x3bf887(_0x54fab0[_0x3923a6(0x337)][_0x3923a6(0x3bc)]())[_0x3923a6(0x37e)](_0x5f1614=>({'range':_0x5f1614,'unitId':_0x5992b8[_0x3923a6(0x333)],'subUnitId':_0x5992b8['subUnitId'],'showText':_0x3923a6(0xeb)})),_0x3923a6(0x3dd));});break;}case _0x537896[_0x324145(0x1d4)]['id']:{let _0x9fa9fc=_0x3e4af8;_0x9fa9fc[_0x324145(0x13f)]&&_0x9fa9fc[_0x324145(0x13f)][_0x324145(0x256)]>0x0&&_0x9fa9fc['subUnitId']&&_0x9fa9fc['groupIds']['forEach'](_0x2db477=>{const _0x49438e=_0x324145;let _0x549115=this[_0x49438e(0x199)]['getSparklineById'](_0x9fa9fc[_0x49438e(0x333)],_0x9fa9fc[_0x49438e(0x1e5)],_0x2db477);_0x549115&&_0x3e7549(_0x3bf887(_0x549115[_0x49438e(0x337)][_0x49438e(0x3bc)]())[_0x49438e(0x37e)](_0x14ce8c=>({'range':_0x14ce8c,'unitId':_0x9fa9fc[_0x49438e(0x333)],'subUnitId':_0x9fa9fc['subUnitId'],'showText':_0x49438e(0x37f)})),'delete');});break;}case _0x1fc839[_0x324145(0x390)]['id']:{let _0x4e9373=_0x3e4af8;_0x4e9373[_0x324145(0x2c8)]&&_0x4e9373[_0x324145(0x1e5)]&&_0x3e7549([{'range':_0x4e9373[_0x324145(0x2e9)],'unitId':_0x4e9373[_0x324145(0x333)],'subUnitId':_0x4e9373[_0x324145(0x1e5)],'showText':_0x324145(0xcb)}],_0x324145(0x194));break;}case _0x1fc839[_0x324145(0x39b)]['id']:{let _0x34d7ac=_0x3e4af8;if(_0x34d7ac['tableId']&&_0x34d7ac[_0x324145(0x1e5)]){var _0x3934b9;let _0x36e173=(_0x3934b9=this[_0x324145(0x1eb)]['getTableInfo'](_0x34d7ac[_0x324145(0x333)],_0x34d7ac[_0x324145(0x2c8)]))==null?void 0x0:_0x3934b9[_0x324145(0x2e9)];_0x36e173&&_0x3e7549([{'range':_0x36e173,'unitId':_0x34d7ac[_0x324145(0x333)],'subUnitId':_0x34d7ac[_0x324145(0x1e5)],'showText':_0x324145(0xc8)}],_0x324145(0x1ab));}break;}case _0x1fc839[_0x324145(0xcf)]['id']:{let _0x5acd8e=_0x3e4af8;if(_0x5acd8e[_0x324145(0x2c8)]){let _0x14a189=this['_sheetTableService'][_0x324145(0x2c3)](_0x5acd8e['unitId'],_0x5acd8e['tableId']);_0x14a189&&_0x14a189[_0x324145(0x2e9)]&&_0x14a189[_0x324145(0x1e5)]&&(_0x55f128[_0x324145(0x3cc)]['push'](_0x14a189[_0x324145(0x1e5)]),_0x3e7549([{'range':_0x14a189[_0x324145(0x2e9)],'unitId':_0x5acd8e[_0x324145(0x333)],'subUnitId':_0x14a189[_0x324145(0x1e5)],'showText':_0x324145(0x180)}],_0x324145(0x3dd)));}break;}case _0x1fc839[_0x324145(0x171)]['id']:{let _0x34580e=_0x3e4af8;if(_0x34580e[_0x324145(0x2c8)]&&_0x34580e['subUnitId']){var _0xc3e1fa;let _0x1f9176=(_0xc3e1fa=this['_sheetTableService'][_0x324145(0x2c3)](_0x34580e[_0x324145(0x333)],_0x34580e[_0x324145(0x2c8)]))==null?void 0x0:_0xc3e1fa[_0x324145(0x2e9)];_0x1f9176&&_0x3e7549([{'range':_0x1f9176,'unitId':_0x34580e[_0x324145(0x333)],'subUnitId':_0x34580e[_0x324145(0x1e5)],'showText':_0x324145(0x233)}],'update');}break;}case _0xab2afa[_0x324145(0x30e)]['id']:{let _0x30ca75=_0x3e4af8;if(_0x30ca75[_0x324145(0x326)]&&_0x30ca75[_0x324145(0x1e5)]){var _0x347f9c;let _0x32c872=(_0x347f9c=this['_sheetsPivotTableConfigModel'][_0x324145(0x3aa)](_0x30ca75['unitId'],_0x30ca75[_0x324145(0x1e5)],_0x30ca75[_0x324145(0x326)]))==null?void 0x0:_0x347f9c['rangeInfo'];_0x32c872&&_0x3e7549((0x0,_0xab2afa[_0x324145(0x1ea)])(_0x32c872)[_0x324145(0x37e)](_0x1479fc=>({'range':_0x1479fc,'unitId':_0x30ca75[_0x324145(0x333)],'subUnitId':_0x30ca75[_0x324145(0x1e5)],'showText':_0x324145(0x279)})),_0x324145(0x194));}break;}case _0xab2afa[_0x324145(0x241)]['id']:{let _0x1b1af6=_0x3e4af8;if(_0x1b1af6[_0x324145(0x326)]&&_0x1b1af6['subUnitId']){var _0x290510;let _0x40445f=(_0x290510=this['_sheetsPivotTableConfigModel'][_0x324145(0x3aa)](_0x1b1af6[_0x324145(0x333)],_0x1b1af6[_0x324145(0x1e5)],_0x1b1af6[_0x324145(0x326)]))==null?void 0x0:_0x290510[_0x324145(0x1bd)];_0x40445f&&_0x3e7549((0x0,_0xab2afa[_0x324145(0x1ea)])(_0x40445f)['map'](_0x5f39d2=>({'range':_0x5f39d2,'unitId':_0x1b1af6[_0x324145(0x333)],'subUnitId':_0x1b1af6[_0x324145(0x1e5)],'showText':'removePivotTable'})),'delete');}break;}case _0xab2afa[_0x324145(0x1db)]['id']:case _0xab2afa['SetPivotPositionMutation']['id']:case _0xab2afa['UpdatePivotTableSourceRangeMutation']['id']:case _0xab2afa[_0x324145(0x2ec)]['id']:case _0xab2afa[_0x324145(0x307)]['id']:case _0xab2afa['RenamePivotFieldMutation']['id']:case _0xab2afa[_0x324145(0x2bb)]['id']:case _0xab2afa['UpdateValuePositionMutation']['id']:case _0xab2afa[_0x324145(0x122)]['id']:case _0xab2afa[_0x324145(0x2c0)]['id']:case _0xab2afa[_0x324145(0x12e)]['id']:case _0xab2afa[_0x324145(0x1c2)]['id']:case _0xab2afa['SetPivotCollapseMutation']['id']:case _0xab2afa[_0x324145(0x109)]['id']:case _0xab2afa['SetPivotSubtotalTypeMutation']['id']:{let _0x5c8638=_0x3e4af8,_0x26f1d0=_0x324145(0x120);if(_0x3af4e6===_0xab2afa[_0x324145(0x1db)]['id']?_0x26f1d0=_0x324145(0x120):_0x3af4e6===_0xab2afa[_0x324145(0x2b6)]['id']?_0x26f1d0=_0x324145(0x227):_0x3af4e6===_0xab2afa['UpdatePivotTableSourceRangeMutation']['id']?_0x26f1d0=_0x324145(0x1be):_0x3af4e6===_0xab2afa['AddPivotFieldMutation']['id']?_0x26f1d0=_0x324145(0x10b):_0x3af4e6===_0xab2afa[_0x324145(0x307)]['id']?_0x26f1d0=_0x324145(0x1ca):_0x3af4e6===_0xab2afa['RenamePivotFieldMutation']['id']?_0x26f1d0='renamePivotField':_0x3af4e6===_0xab2afa[_0x324145(0x2bb)]['id']?_0x26f1d0=_0x324145(0x37d):_0x3af4e6===_0xab2afa[_0x324145(0x12b)]['id']?_0x26f1d0=_0x324145(0xa2):_0x3af4e6===_0xab2afa['UpdatePivotFieldSourceInfoMutation']['id']?_0x26f1d0=_0x324145(0x352):_0x3af4e6===_0xab2afa['SetPivotFilterMutation']['id']?_0x26f1d0=_0x324145(0x340):_0x3af4e6===_0xab2afa[_0x324145(0x12e)]['id']?_0x26f1d0=_0x324145(0x3de):_0x3af4e6===_0xab2afa[_0x324145(0x1c2)]['id']?_0x26f1d0=_0x324145(0x28a):_0x3af4e6===_0xab2afa['SetPivotCollapseMutation']['id']?_0x26f1d0='setPivotCollapse':_0x3af4e6===_0xab2afa[_0x324145(0x2fb)]['id']?_0x26f1d0=_0x324145(0x217):_0x3af4e6===_0xab2afa[_0x324145(0x109)]['id']&&(_0x26f1d0='setPivotFieldFormat'),_0x5c8638[_0x324145(0x326)]&&_0x5c8638['subUnitId']){var _0x526bb5;let _0x14b4bb=(_0x526bb5=this[_0x324145(0x379)]['getPivotTableRangeInfo'](_0x5c8638[_0x324145(0x333)],_0x5c8638[_0x324145(0x1e5)],_0x5c8638[_0x324145(0x326)]))==null?void 0x0:_0x526bb5[_0x324145(0x1bd)];_0x14b4bb&&_0x3e7549((0x0,_0xab2afa[_0x324145(0x1ea)])(_0x14b4bb)[_0x324145(0x37e)](_0x11f6aa=>({'range':_0x11f6aa,'unitId':_0x5c8638[_0x324145(0x333)],'subUnitId':_0x5c8638['subUnitId'],'showText':_0x26f1d0})),_0x324145(0x3dd));}break;}case _0x235e8a['InsertSheetsChartMutation']['id']:{let _0x478ddf=_0x3e4af8;_0x478ddf[_0x324145(0xb5)]&&_0x55f128[_0x324145(0x2cb)]['push']({'drawingId':_0x478ddf[_0x324145(0xb5)],'unitId':_0x478ddf[_0x324145(0x333)],'subUnitId':_0x478ddf[_0x324145(0x1e5)],'showText':_0x472084});break;}case _0x235e8a['RemoveSheetsChartMutation']['id']:{let _0x261266=_0x3e4af8;_0x261266['chartId']&&_0x55f128[_0x324145(0x39a)][_0x324145(0x3e0)]({'drawingId':_0x261266[_0x324145(0xb5)],'unitId':_0x261266['unitId'],'subUnitId':_0x261266[_0x324145(0x1e5)],'showText':_0x472084});break;}case _0x235e8a[_0x324145(0x1a9)]['id']:{let _0x1334f9=_0x3e4af8;if(_0x1334f9[_0x324145(0x143)]){let _0x5125a1=this[_0x324145(0x396)][_0x324145(0x19b)](_0x1334f9[_0x324145(0x333)],_0x1334f9['chartModelId']);_0x5125a1&&(_0x55f128[_0x324145(0x3cc)][_0x324145(0x3e0)](_0x5125a1),_0x55f128['updateDrawings'][_0x324145(0x3e0)]({'drawingId':_0x1334f9[_0x324145(0x143)],'unitId':_0x1334f9[_0x324145(0x333)],'subUnitId':_0x5125a1,'showText':_0x472084}));}break;}case _0x235e8a[_0x324145(0x3e2)]['id']:{let _0x2dc906=_0x3e4af8;if(_0x2dc906[_0x324145(0x143)]){let _0x33764b=this['_sheetsChartService'][_0x324145(0x19b)](_0x2dc906['unitId'],_0x2dc906[_0x324145(0x143)]);_0x33764b&&(_0x55f128[_0x324145(0x3cc)][_0x324145(0x3e0)](_0x33764b),_0x55f128[_0x324145(0x2ae)]['push']({'drawingId':_0x2dc906[_0x324145(0x143)],'unitId':_0x2dc906[_0x324145(0x333)],'subUnitId':_0x33764b,'showText':_0x472084}));}break;}case _0x5ca3a7[_0x324145(0x226)]['id']:{let _0x1f0dbb=_0x3e4af8;_0x1f0dbb['shapeId']&&_0x55f128[_0x324145(0x2cb)][_0x324145(0x3e0)]({'drawingId':_0x1f0dbb[_0x324145(0x100)],'unitId':_0x1f0dbb[_0x324145(0x333)],'subUnitId':_0x1f0dbb[_0x324145(0x1e5)],'showText':_0x472084});break;}case _0x5ca3a7[_0x324145(0x264)]['id']:{let _0x270850=_0x3e4af8;_0x270850[_0x324145(0x100)]&&_0x55f128[_0x324145(0x39a)][_0x324145(0x3e0)]({'drawingId':_0x270850[_0x324145(0x100)],'unitId':_0x270850[_0x324145(0x333)],'subUnitId':_0x270850[_0x324145(0x1e5)],'showText':_0x472084});break;}case _0x5ca3a7['UpdateSheetsShapeDataMutation']['id']:case _0x5ca3a7[_0x324145(0x3b1)]['id']:{let _0x32cf56=_0x3e4af8;_0x32cf56[_0x324145(0x100)]&&_0x55f128[_0x324145(0x2ae)][_0x324145(0x3e0)]({'drawingId':_0x32cf56[_0x324145(0x100)],'unitId':_0x32cf56[_0x324145(0x333)],'subUnitId':_0x32cf56[_0x324145(0x1e5)],'showText':_0x472084});break;}case _0x29b431[_0x324145(0x3e6)]['id']:{let _0xda16da=_0x3e4af8,_0x5d5ab5=_0xda16da[_0x324145(0x172)],_0x5534b1=_0xda16da[_0x324145(0xe3)],_0x18d588=_0x5534b1!==_0x29b431[_0x324145(0x3ae)]['INSERT']&&_0x5534b1!==_0x29b431[_0x324145(0x3ae)][_0x324145(0xca)],_0x493671=_0x5534b1===_0x29b431['DrawingApplyType'][_0x324145(0xf0)],_0x2a709d=_0x5534b1===_0x29b431[_0x324145(0x3ae)][_0x324145(0xca)],_0x59e63e=_0x472084;if(_0x5534b1===_0x29b431[_0x324145(0x3ae)][_0x324145(0xf0)]?_0x59e63e=this['_localeService']['t']('editHistory.action.insertDrawing'):_0x5534b1===_0x29b431[_0x324145(0x3ae)]['REMOVE']&&(_0x59e63e=this['_localeService']['t'](_0x324145(0x2d0))),Array[_0x324145(0x1b1)](_0x5d5ab5))_0x5d5ab5[_0x324145(0x157)](_0x192ad9=>{const _0x21dfca=_0x324145;if(_0x21dfca(0xa8)in _0x192ad9&&_0x192ad9[_0x21dfca(0xa8)])_0x18d588?_0x55f128['updateDrawings'][_0x21dfca(0x3e0)]({'drawingId':_0x192ad9['drawingId'],'unitId':_0xda16da[_0x21dfca(0x333)],'subUnitId':_0xda16da[_0x21dfca(0x1e5)],'showText':_0x59e63e}):_0x493671?_0x55f128[_0x21dfca(0x2cb)]['push']({'drawingId':_0x192ad9[_0x21dfca(0xa8)],'unitId':_0xda16da[_0x21dfca(0x333)],'subUnitId':_0xda16da[_0x21dfca(0x1e5)],'showText':_0x59e63e}):_0x2a709d&&_0x55f128[_0x21dfca(0x39a)][_0x21dfca(0x3e0)]({'drawingId':_0x192ad9['drawingId'],'unitId':_0xda16da['unitId'],'subUnitId':_0xda16da['subUnitId'],'showText':_0x59e63e});else{if(_0x21dfca(0x257)in _0x192ad9&&'children'in _0x192ad9){var _0x59ca22,_0x334789;(_0x59ca22=_0x192ad9[_0x21dfca(0x257)])!=null&&_0x59ca22['drawingId']&&(_0x18d588?_0x55f128[_0x21dfca(0x2ae)][_0x21dfca(0x3e0)]({'drawingId':_0x192ad9[_0x21dfca(0x257)]['drawingId'],'unitId':_0xda16da[_0x21dfca(0x333)],'subUnitId':_0xda16da[_0x21dfca(0x1e5)],'showText':_0x59e63e}):_0x493671?_0x55f128['insertDrawings'][_0x21dfca(0x3e0)]({'drawingId':_0x192ad9[_0x21dfca(0x257)]['drawingId'],'unitId':_0xda16da[_0x21dfca(0x333)],'subUnitId':_0xda16da[_0x21dfca(0x1e5)],'showText':_0x59e63e}):_0x2a709d&&_0x55f128['deleteDrawings'][_0x21dfca(0x3e0)]({'drawingId':_0x192ad9[_0x21dfca(0x257)][_0x21dfca(0xa8)],'unitId':_0xda16da[_0x21dfca(0x333)],'subUnitId':_0xda16da[_0x21dfca(0x1e5)],'showText':_0x59e63e})),(_0x334789=_0x192ad9['children'])==null||_0x334789[_0x21dfca(0x157)](_0x378827=>{const _0x2b4086=_0x21dfca;_0x378827['drawingId']&&(_0x18d588?_0x55f128[_0x2b4086(0x2ae)][_0x2b4086(0x3e0)]({'drawingId':_0x378827['drawingId'],'unitId':_0xda16da[_0x2b4086(0x333)],'subUnitId':_0xda16da[_0x2b4086(0x1e5)],'showText':_0x59e63e}):_0x493671?_0x55f128['insertDrawings']['push']({'drawingId':_0x378827[_0x2b4086(0xa8)],'unitId':_0xda16da['unitId'],'subUnitId':_0xda16da['subUnitId'],'showText':_0x59e63e}):_0x2a709d&&_0x55f128['deleteDrawings']['push']({'drawingId':_0x378827['drawingId'],'unitId':_0xda16da[_0x2b4086(0x333)],'subUnitId':_0xda16da[_0x2b4086(0x1e5)],'showText':_0x59e63e}));});}}});else{if(_0x5d5ab5&&typeof _0x5d5ab5=='object'){if(_0x324145(0xf8)in _0x5d5ab5&&Array[_0x324145(0x1b1)](_0x5d5ab5[_0x324145(0xf8)]))_0x5d5ab5[_0x324145(0xf8)][_0x324145(0x157)](_0x2f9037=>{const _0x6ab0a9=_0x324145;_0x18d588?_0x55f128['updateDrawings'][_0x6ab0a9(0x3e0)]({'drawingId':_0x2f9037,'unitId':_0xda16da['unitId'],'subUnitId':_0xda16da[_0x6ab0a9(0x1e5)],'showText':_0x59e63e}):_0x493671?_0x55f128['insertDrawings'][_0x6ab0a9(0x3e0)]({'drawingId':_0x2f9037,'unitId':_0xda16da[_0x6ab0a9(0x333)],'subUnitId':_0xda16da['subUnitId'],'showText':_0x59e63e}):_0x2a709d&&_0x55f128[_0x6ab0a9(0x39a)][_0x6ab0a9(0x3e0)]({'drawingId':_0x2f9037,'unitId':_0xda16da['unitId'],'subUnitId':_0xda16da[_0x6ab0a9(0x1e5)],'showText':_0x59e63e});});else{if('parent'in _0x5d5ab5&&_0x324145(0x349)in _0x5d5ab5){var _0x595ee7,_0x13e7b5;(_0x595ee7=_0x5d5ab5[_0x324145(0x257)])!=null&&_0x595ee7[_0x324145(0xa8)]&&(_0x18d588?_0x55f128[_0x324145(0x2ae)]['push']({'drawingId':_0x5d5ab5[_0x324145(0x257)]['drawingId'],'unitId':_0xda16da[_0x324145(0x333)],'subUnitId':_0xda16da[_0x324145(0x1e5)],'showText':_0x59e63e}):_0x493671?_0x55f128[_0x324145(0x2cb)][_0x324145(0x3e0)]({'drawingId':_0x5d5ab5[_0x324145(0x257)][_0x324145(0xa8)],'unitId':_0xda16da[_0x324145(0x333)],'subUnitId':_0xda16da['subUnitId'],'showText':_0x59e63e}):_0x2a709d&&_0x55f128['deleteDrawings'][_0x324145(0x3e0)]({'drawingId':_0x5d5ab5['parent'][_0x324145(0xa8)],'unitId':_0xda16da[_0x324145(0x333)],'subUnitId':_0xda16da[_0x324145(0x1e5)],'showText':_0x59e63e})),(_0x13e7b5=_0x5d5ab5[_0x324145(0x349)])==null||_0x13e7b5[_0x324145(0x157)](_0xbd733a=>{const _0x22a523=_0x324145;_0xbd733a[_0x22a523(0xa8)]&&(_0x18d588?_0x55f128[_0x22a523(0x2ae)][_0x22a523(0x3e0)]({'drawingId':_0xbd733a[_0x22a523(0xa8)],'unitId':_0xda16da[_0x22a523(0x333)],'subUnitId':_0xda16da[_0x22a523(0x1e5)],'showText':_0x59e63e}):_0x493671?_0x55f128[_0x22a523(0x2cb)]['push']({'drawingId':_0xbd733a[_0x22a523(0xa8)],'unitId':_0xda16da[_0x22a523(0x333)],'subUnitId':_0xda16da[_0x22a523(0x1e5)],'showText':_0x59e63e}):_0x2a709d&&_0x55f128[_0x22a523(0x39a)][_0x22a523(0x3e0)]({'drawingId':_0xbd733a[_0x22a523(0xa8)],'unitId':_0xda16da['unitId'],'subUnitId':_0xda16da[_0x22a523(0x1e5)],'showText':_0x59e63e}));});}}}}break;}}return _0x55f128;}[_0x1888a5(0x308)](_0x5a36f2){const _0x1bdcba=_0x1888a5;if(_0x5a36f2[_0x1bdcba(0x256)]<=0x1)return _0x5a36f2;let _0x3ab4d7=new Map();return _0x5a36f2[_0x1bdcba(0x157)](_0x336ae9=>{const _0x4049e7=_0x1bdcba;let {unitId:_0x384246,subUnitId:_0x4b7465}=_0x336ae9,_0x2a4a8e=_0x384246+'-'+_0x4b7465;if(!_0x3ab4d7['has'](_0x2a4a8e))_0x3ab4d7['set'](_0x2a4a8e,[_0x336ae9]);else{var _0x4b3ada;(_0x4b3ada=_0x3ab4d7[_0x4049e7(0x2c5)](_0x2a4a8e))==null||_0x4b3ada[_0x4049e7(0x3e0)](_0x336ae9);}}),Array[_0x1bdcba(0x115)](_0x3ab4d7[_0x1bdcba(0x318)]())[_0x1bdcba(0x37e)](_0x2f8051=>new _0x37090c[(_0x1bdcba(0x3a4))]()[_0x1bdcba(0x3ac)](..._0x2f8051[_0x1bdcba(0x37e)](_0x2345bf=>_0x2345bf[_0x1bdcba(0x2e9)]))[_0x1bdcba(0x2fe)]()[_0x1bdcba(0x37e)](_0x555ac5=>({'range':_0x555ac5,'unitId':_0x2f8051[0x0][_0x1bdcba(0x333)],'subUnitId':_0x2f8051[0x0]['subUnitId'],'showText':_0x2f8051[0x0][_0x1bdcba(0x98)],'highlightRow':_0x2f8051[0x0]['highlightRow'],'highlightColumn':_0x2f8051[0x0][_0x1bdcba(0x140)]})))[_0x1bdcba(0x107)]();}};_0x2f5c48=_0x4262d0([_0x10a923(0x0,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x570b37)),_0x10a923(0x1,_0x368552['ITransformService']),_0x10a923(0x2,_0x368552[_0x1888a5(0x252)]),_0x10a923(0x3,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x37090c[_0x1888a5(0xd3)])),_0x10a923(0x4,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x273210[_0x1888a5(0x406)])),_0x10a923(0x5,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1de3fe[_0x1888a5(0x1c6)])),_0x10a923(0x6,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x328750[_0x1888a5(0x344)])),_0x10a923(0x7,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x537896[_0x1888a5(0xad)])),_0x10a923(0x8,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0xab2afa['SheetsPivotTableConfigModel'])),_0x10a923(0x9,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1fc839[_0x1888a5(0x36a)])),_0x10a923(0xa,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1e04c6[_0x1888a5(0x170)])),_0x10a923(0xb,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x235e8a['SheetsChartService'])),_0x10a923(0xc,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x50ccf5))],_0x2f5c48);function _0x31c48b(_0x31ca60){const _0x584d3a=_0x1888a5;return new _0x1e04c6[(_0x584d3a(0x15b))](_0x31ca60)['getDataRange']();}function _0x3bf887(_0x40c70b){const _0x4bfc6f=_0x1888a5;let _0x49dc67=new _0x1e04c6[(_0x4bfc6f(0x15b))](_0x40c70b),_0x4de276=new _0x1e04c6['ObjectMatrix']();return _0x49dc67['forValue']((_0x51b5d2,_0xd3871d)=>{const _0x4456d2=_0x4bfc6f;_0x4de276[_0x4456d2(0x28b)](_0x51b5d2,_0xd3871d,0x1);}),(0x0,_0x37090c['findAllRectangle'])(_0x4de276);}var _0xbeda18=class extends _0x253621['Shape']{constructor(_0x43b79c,_0xed9f4c){const _0x4394e7=_0x1888a5;if(super(_0x43b79c,_0xed9f4c),_0x51a179(this,_0x4394e7(0x25b),void 0x0),_0x51a179(this,_0x4394e7(0x27d),void 0x0),_0x51a179(this,_0x4394e7(0x3a5),void 0x0),_0x51a179(this,_0x4394e7(0x21c),0x4),_0x51a179(this,'_blinkTimer',void 0x0),_0x51a179(this,_0x4394e7(0x154),void 0x0),_0x51a179(this,_0x4394e7(0x3f5),!0x0),_0x51a179(this,_0x4394e7(0x3a3),''),_0x51a179(this,_0x4394e7(0x190),!0x1),_0x51a179(this,_0x4394e7(0x3e9),_0x4394e7(0x405)),_0x51a179(this,_0x4394e7(0xf2),void 0x0),_0xed9f4c){var _0x257a65;if(this['setShapeProps'](_0xed9f4c),_0xed9f4c['highlight']&&((_0x257a65=_0xed9f4c[_0x4394e7(0x23a)])==null?this[_0x4394e7(0x21c)]:_0x257a65)){var _0x1613fb;this['_startBlinking']((_0x1613fb=_0xed9f4c[_0x4394e7(0x23a)])==null?this[_0x4394e7(0x21c)]:_0x1613fb);}}this[_0x4394e7(0x368)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1}));}['setShapeProps'](_0x1342fb){const _0x5ac770=_0x1888a5;var _0x376989,_0x405b7a,_0xd8e1cd,_0x5e0ae2,_0x27f375,_0x4151da;this['_color']=(_0x376989=_0x1342fb[_0x5ac770(0x28c)])==null?this[_0x5ac770(0x25b)]:_0x376989,this[_0x5ac770(0x27d)]=(_0x405b7a=_0x1342fb['direction'])==null?this['_direction']:_0x405b7a,this[_0x5ac770(0x3a3)]=(_0xd8e1cd=_0x1342fb[_0x5ac770(0x21a)])==null?this[_0x5ac770(0x3a3)]:_0xd8e1cd,this[_0x5ac770(0x190)]=(_0x5e0ae2=_0x1342fb[_0x5ac770(0x1b0)])==null?this[_0x5ac770(0x190)]:_0x5e0ae2,this['_labelPosition']=(_0x27f375=_0x1342fb[_0x5ac770(0x181)])==null?this['_labelPosition']:_0x27f375,this[_0x5ac770(0xf2)]=(_0x4151da=_0x1342fb['showText'])==null?this[_0x5ac770(0xf2)]:_0x4151da,_0x1342fb[_0x5ac770(0x23a)]!==void 0x0&&(this[_0x5ac770(0x21c)]=_0x1342fb[_0x5ac770(0x23a)]),_0x1342fb[_0x5ac770(0x10a)]!==void 0x0&&(this[_0x5ac770(0x3a5)]=_0x1342fb[_0x5ac770(0x10a)]),this[_0x5ac770(0x27c)]({'width':_0x1342fb[_0x5ac770(0x1f4)],'height':_0x1342fb['height']});}[_0x1888a5(0x8b)](_0x4d71fc){const _0x79ab56=_0x1888a5;this[_0x79ab56(0x2cf)](),this[_0x79ab56(0x3f5)]=!0x0,this[_0x79ab56(0x154)]=window[_0x79ab56(0x119)](()=>{const _0x399ea1=_0x79ab56;this['_isBlinkVisible']=!this[_0x399ea1(0x3f5)],this[_0x399ea1(0x3f8)](!0x0);},0x1f4),this[_0x79ab56(0x275)]=window['setTimeout'](()=>{const _0x25aa0e=_0x79ab56;this[_0x25aa0e(0x2cf)](),this[_0x25aa0e(0x3f5)]=!0x0,this[_0x25aa0e(0x3f8)](!0x0);},_0x4d71fc*0x3e8);}[_0x1888a5(0x2cf)](){const _0x4f9e21=_0x1888a5;this[_0x4f9e21(0x154)]&&(window['clearInterval'](this[_0x4f9e21(0x154)]),this[_0x4f9e21(0x154)]=void 0x0),this[_0x4f9e21(0x275)]&&(window[_0x4f9e21(0x27e)](this[_0x4f9e21(0x275)]),this['_blinkTimer']=void 0x0);}[_0x1888a5(0x1d3)](_0x147e8c){return!0x1;}['dispose'](){const _0x3a789f=_0x1888a5;this[_0x3a789f(0x2cf)](),super[_0x3a789f(0x2ed)]();}[_0x1888a5(0x22e)](_0xb486d3){const _0x2420fd=_0x1888a5;let _0x483ef0=this[_0x2420fd(0x25b)];this[_0x2420fd(0x3a5)]&&!this[_0x2420fd(0x3f5)]&&(_0x483ef0=this[_0x2420fd(0x176)](this['_color'])),_0xb486d3[_0x2420fd(0x306)](),_0xb486d3[_0x2420fd(0x3ce)]=_0x483ef0,_0xb486d3[_0x2420fd(0x2b2)]=_0x483ef0,_0xb486d3['lineWidth']=0x4,this[_0x2420fd(0x27d)]===_0x2420fd(0x2f4)?this[_0x2420fd(0xb2)](_0xb486d3):this[_0x2420fd(0xf7)](_0xb486d3),_0xb486d3['restore'](),(this[_0x2420fd(0x190)]||this[_0x2420fd(0xf2)])&&this[_0x2420fd(0x3a3)]&&(_0xb486d3[_0x2420fd(0x306)](),this[_0x2420fd(0x27d)]===_0x2420fd(0x2f4)?_0xb486d3[_0x2420fd(0x2bd)](0x1,0x0,0x0,0x1,this[_0x2420fd(0x1f4)],this[_0x2420fd(0x3e9)]===_0x2420fd(0x3fd)?0x0:-0x14):_0xb486d3[_0x2420fd(0x2bd)](0x1,0x0,0x0,0x1,this['width'],this[_0x2420fd(0x3e9)]===_0x2420fd(0x3fd)?this[_0x2420fd(0x2e5)]:-0x14),this[_0x2420fd(0x24e)](_0xb486d3,this[_0x2420fd(0x3a3)],_0x483ef0),_0xb486d3[_0x2420fd(0x2b1)]());}[_0x1888a5(0xb2)](_0x137406){const _0x1edfc1=_0x1888a5;let _0xed40ac=this['height']/0x2,_0x28171a=this['width']-0xc;_0x137406[_0x1edfc1(0x3a8)](),_0x137406['moveTo'](0xc,_0xed40ac),_0x137406['lineTo'](_0x28171a,_0xed40ac),_0x137406[_0x1edfc1(0x272)](),_0x137406[_0x1edfc1(0x3a8)](),_0x137406[_0x1edfc1(0x33d)](0x0,_0xed40ac),_0x137406['lineTo'](0xc,_0xed40ac-0xc/0x2),_0x137406[_0x1edfc1(0x2b8)](0xc,_0xed40ac+0xc/0x2),_0x137406[_0x1edfc1(0x293)](),_0x137406[_0x1edfc1(0x38a)](),_0x137406[_0x1edfc1(0x3a8)](),_0x137406[_0x1edfc1(0x33d)](this[_0x1edfc1(0x1f4)],_0xed40ac),_0x137406[_0x1edfc1(0x2b8)](this[_0x1edfc1(0x1f4)]-0xc,_0xed40ac-0xc/0x2),_0x137406[_0x1edfc1(0x2b8)](this[_0x1edfc1(0x1f4)]-0xc,_0xed40ac+0xc/0x2),_0x137406[_0x1edfc1(0x293)](),_0x137406[_0x1edfc1(0x38a)]();}[_0x1888a5(0xf7)](_0x49a851){const _0xd80673=_0x1888a5;let _0x14dcb5=this['width']/0x2,_0x55da13=this[_0xd80673(0x2e5)]-0xc;_0x49a851[_0xd80673(0x3a8)](),_0x49a851['moveTo'](_0x14dcb5,0xc),_0x49a851[_0xd80673(0x2b8)](_0x14dcb5,_0x55da13),_0x49a851['stroke'](),_0x49a851[_0xd80673(0x3a8)](),_0x49a851[_0xd80673(0x33d)](_0x14dcb5,0x0),_0x49a851['lineTo'](_0x14dcb5-0xc/0x2,0xc),_0x49a851['lineTo'](_0x14dcb5+0xc/0x2,0xc),_0x49a851[_0xd80673(0x293)](),_0x49a851['fill'](),_0x49a851[_0xd80673(0x3a8)](),_0x49a851[_0xd80673(0x33d)](_0x14dcb5,this[_0xd80673(0x2e5)]),_0x49a851[_0xd80673(0x2b8)](_0x14dcb5-0xc/0x2,this[_0xd80673(0x2e5)]-0xc),_0x49a851[_0xd80673(0x2b8)](_0x14dcb5+0xc/0x2,this[_0xd80673(0x2e5)]-0xc),_0x49a851[_0xd80673(0x293)](),_0x49a851['fill']();}[_0x1888a5(0x24e)](_0x2e7329,_0x577f72,_0x7a4ad3){const _0xfb7d4c=_0x1888a5;_0x2e7329[_0xfb7d4c(0x262)]=_0xfb7d4c(0xfb);let _0xad2f46=_0x2e7329[_0xfb7d4c(0x391)](_0x577f72)[_0xfb7d4c(0x1f4)],_0x5d083a=Math[_0xfb7d4c(0x2c1)](_0xad2f46+0x8,0xc8);if(_0x2e7329[_0xfb7d4c(0x2b2)]=_0x7a4ad3,_0x2e7329[_0xfb7d4c(0x3a8)](),_0x2e7329[_0xfb7d4c(0x33d)](0x4,0x0),_0x2e7329[_0xfb7d4c(0x2b8)](_0x5d083a-0x4,0x0),_0x2e7329['arc'](_0x5d083a-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x2e7329[_0xfb7d4c(0x2b8)](_0x5d083a,0x10),_0x2e7329['arc'](_0x5d083a-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x2e7329[_0xfb7d4c(0x2b8)](0x0,0x14),_0x2e7329[_0xfb7d4c(0x2b8)](0x0,0x4),_0x2e7329[_0xfb7d4c(0xf6)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2e7329['closePath'](),_0x2e7329[_0xfb7d4c(0x38a)](),_0x2e7329[_0xfb7d4c(0x2b2)]=_0xfb7d4c(0xe7),_0xad2f46>0xc0){let _0x5b5da2='',_0xfe724=0x0;for(let _0x1389a3 of _0x577f72){let _0x2e1a94=_0x2e7329[_0xfb7d4c(0x391)](_0x1389a3)['width'];if(_0xfe724+_0x2e1a94<=0xc0-_0x2e7329[_0xfb7d4c(0x391)](_0xfb7d4c(0x33e))['width'])_0x5b5da2+=_0x1389a3,_0xfe724+=_0x2e1a94;else{_0x5b5da2+=_0xfb7d4c(0x33e);break;}}_0x2e7329[_0xfb7d4c(0x89)](_0x5b5da2,0x4,0xf);}else _0x2e7329[_0xfb7d4c(0x89)](_0x577f72,0x4,0xf);}['_getLighterColor'](_0x34aa52){const _0x10ac77=_0x1888a5;return _0x34aa52[_0x10ac77(0x164)]('#')?_0x10ac77(0x3f9)+Number[_0x10ac77(0xf3)](_0x34aa52[_0x10ac77(0x3c3)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x34aa52[_0x10ac77(0x3c3)](0x3,0x5),0x10)+',\x20'+Number[_0x10ac77(0xf3)](_0x34aa52[_0x10ac77(0x3c3)](0x5,0x7),0x10)+_0x10ac77(0x2e3):_0x34aa52['startsWith'](_0x10ac77(0x16b))?_0x34aa52[_0x10ac77(0x34f)](/[\d.]+\)$/g,_0x10ac77(0x322)):_0x34aa52[_0x10ac77(0x164)](_0x10ac77(0xa5))?_0x34aa52[_0x10ac77(0x34f)]('rgb',_0x10ac77(0x16b))[_0x10ac77(0x34f)](')',_0x10ac77(0x2e3)):_0x34aa52;}};let _0x2f325f=class extends _0x1e04c6['Disposable']{constructor(_0x370356,_0x1d300,_0x2780a7,_0xecd93c,_0x279140,_0x1c2fd4,_0x22c050,_0x3958b6){const _0x4dd2c2=_0x1888a5;super(),this[_0x4dd2c2(0x1df)]=_0x370356,this[_0x4dd2c2(0x364)]=_0x1d300,this['_versionDiffService']=_0x2780a7,this['_univerInstanceService']=_0xecd93c,this[_0x4dd2c2(0x2f2)]=_0x279140,this[_0x4dd2c2(0x378)]=_0x1c2fd4,this[_0x4dd2c2(0x298)]=_0x22c050,this[_0x4dd2c2(0x3fa)]=_0x3958b6,_0x51a179(this,_0x4dd2c2(0x121),new Set()),_0x51a179(this,_0x4dd2c2(0x8e),new Set()),_0x51a179(this,_0x4dd2c2(0x1f8),new Set()),_0x51a179(this,_0x4dd2c2(0x1f0),new Set()),_0x51a179(this,_0x4dd2c2(0x40b),null),this[_0x4dd2c2(0x10e)]();}[_0x1888a5(0x10e)](){this['_initRender'](),this['_initActiveSwitch']();}[_0x1888a5(0x24d)](){const _0x30f644=_0x1888a5;this[_0x30f644(0x270)]((0x0,_0x2a040b['combineLatest'])([this[_0x30f644(0x364)][_0x30f644(0x1ef)],this['_sheetSkeletonManagerService'][_0x30f644(0x12f)]])[_0x30f644(0x2f8)]((0x0,_0x2a040b['switchMap'])(([_0x326493,_0xaf467b])=>{const _0x1c29ab=_0x30f644;if(_0x326493==='loaded'&&_0xaf467b){let _0x5942c9=_0xaf467b[_0x1c29ab(0x130)];return this[_0x1c29ab(0x114)]['currentVersionDiff$']['pipe']((0x0,_0x2a040b[_0x1c29ab(0x37e)])(_0x58797b=>_0x58797b[_0x1c29ab(0x3cc)][_0x1c29ab(0x256)]===0x0||_0x58797b[_0x1c29ab(0x3cc)]['includes'](_0x5942c9)?{'skeleton':_0xaf467b,'versionDiff':_0x58797b,'sheetID':_0x5942c9}:{'skeleton':_0xaf467b,'versionDiff':null}));}return(0x0,_0x2a040b['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))['subscribe'](({skeleton:_0x41a815,versionDiff:_0x50ffa0,sheetID:_0x4e8503})=>{const _0x415032=_0x30f644;this[_0x415032(0x39d)](),_0x41a815&&_0x50ffa0&&_0x4e8503&&this[_0x415032(0x135)](_0x41a815,_0x50ffa0,_0x4e8503);})),this['disposeWithMe'](this[_0x30f644(0x378)][_0x30f644(0x12f)][_0x30f644(0x3d2)](_0x71735b=>{const _0x6cd31a=_0x30f644;if(_0x71735b==null)return;let {skeleton:_0x5399e9}=_0x71735b,{scene:_0x419aeb}=this[_0x6cd31a(0x1df)];_0x419aeb[_0x6cd31a(0x108)]['subscribeEvent']((0x0,_0x1e04c6[_0x6cd31a(0x167)])(_0x24af12=>{const _0x4ab92b=_0x6cd31a;var _0x4476e3,_0x18b693;let {offsetX:_0x2b97d5,offsetY:_0x14a981}=_0x24af12,{x:_0x996dda,y:_0x8e249}=_0x419aeb[_0x4ab92b(0x198)](_0x253621['Vector2'][_0x4ab92b(0x3e8)]([_0x2b97d5,_0x14a981])),{scaleX:_0x21aedf,scaleY:_0x2196df}=_0x419aeb['getAncestorScale'](),_0x1ea342=_0x419aeb[_0x4ab92b(0x3c2)](_0x253621[_0x4ab92b(0x1a3)]['VIEW_MAIN']),_0x348072=_0x419aeb[_0x4ab92b(0x2a3)](_0x253621[_0x4ab92b(0x1b9)][_0x4ab92b(0x3e8)]([_0x996dda,_0x8e249]),_0x1ea342),_0x357b69=_0x5399e9[_0x4ab92b(0x1bb)](_0x2b97d5,_0x14a981,_0x21aedf,_0x2196df,_0x348072);((_0x4476e3=this['_lastPointer'])==null?void 0x0:_0x4476e3['column'])===_0x357b69[_0x4ab92b(0x2c6)]&&((_0x18b693=this[_0x4ab92b(0x40b)])==null?void 0x0:_0x18b693[_0x4ab92b(0x150)])===_0x357b69[_0x4ab92b(0x150)]||this[_0x4ab92b(0x121)][_0x4ab92b(0x157)](_0x1fbc1c=>{const _0x1afb33=_0x4ab92b;_0x1fbc1c[_0x1afb33(0x1ce)]||_0x1fbc1c[_0x1afb33(0xe5)](_0x357b69);});},0x64));}));}['_initActiveSwitch'](){const _0x4d65c3=_0x1888a5;this[_0x4d65c3(0x270)](this['_historyManagerService'][_0x4d65c3(0x1ef)][_0x4d65c3(0x3d2)](_0xac4880=>{const _0x405978=_0x4d65c3;let _0x3293cd=new _0x1e04c6[(_0x405978(0x1fa))]();return _0xac4880===_0x405978(0x1b7)&&(_0x3293cd[_0x405978(0x2ed)](),_0x3293cd[_0x405978(0x3ac)](this[_0x405978(0x114)][_0x405978(0x2b9)][_0x405978(0x3d2)](_0x1cf6e5=>{const _0x5e0dd3=_0x405978;this[_0x5e0dd3(0x2ee)](_0x1cf6e5['subUnitIds']),_0x1cf6e5[_0x5e0dd3(0x2ff)]&&this[_0x5e0dd3(0x298)][_0x5e0dd3(0x3ee)](_0x37090c[_0x5e0dd3(0x2e1)]['id'],{'unitId':this[_0x5e0dd3(0x1df)][_0x5e0dd3(0x333)],'subUnitId':_0x1cf6e5['active']});}))),()=>_0x3293cd[_0x405978(0x2ed)]();}));}[_0x1888a5(0x2ee)](_0x3db1d0){const _0x116df0=_0x1888a5;let _0x5339a9=this[_0x116df0(0x18a)][_0x116df0(0x23f)](this[_0x116df0(0x1df)][_0x116df0(0x333)],_0x1e04c6[_0x116df0(0x1d9)][_0x116df0(0x2eb)]);if(!_0x5339a9)return;let _0x452e9b=_0x5339a9['getSheets']();if(_0x3db1d0['length']===0x0){_0x452e9b['forEach'](_0x3d5ea0=>{const _0x4ed1de=_0x116df0;_0x3d5ea0['isSheetHidden']()&&this[_0x4ed1de(0x298)][_0x4ed1de(0x3ee)](_0x37090c[_0x4ed1de(0x1fc)]['id'],{'unitId':this[_0x4ed1de(0x1df)][_0x4ed1de(0x333)],'subUnitId':_0x3d5ea0[_0x4ed1de(0x317)](),'hidden':0x0});});return;}_0x452e9b['forEach'](_0x5a8f26=>{const _0x28d47b=_0x116df0;let _0x33c699=_0x5a8f26['getSheetId'](),_0x56907b=_0x3db1d0[_0x28d47b(0x15e)](_0x33c699),_0x3f4741=_0x5a8f26['isSheetHidden']();_0x56907b&&_0x3f4741?this['_commandService'][_0x28d47b(0x3ee)](_0x37090c[_0x28d47b(0x1fc)]['id'],{'unitId':this['_context'][_0x28d47b(0x333)],'subUnitId':_0x33c699,'hidden':0x0}):!_0x56907b&&!_0x3f4741&&this[_0x28d47b(0x298)]['executeCommand'](_0x37090c['SetWorksheetHideMutation']['id'],{'unitId':this[_0x28d47b(0x1df)][_0x28d47b(0x333)],'subUnitId':_0x33c699,'hidden':0x1});});}['_updateDiffMarks'](_0x43f791,_0x7e1124,_0x57728e){const _0x41f49a=_0x1888a5;this[_0x41f49a(0x121)][_0x41f49a(0x157)](_0x3861db=>{const _0x5086c8=_0x41f49a;_0x3861db[_0x5086c8(0x3f8)]();});let _0x1a5e72=this['generateDiffMarks'](_0x7e1124,_0x57728e);this[_0x41f49a(0x121)]=new Set(_0x1a5e72['filter'](_0x417537=>_0x417537 instanceof _0x13950c['SheetCollabCursorShape'])),this[_0x41f49a(0x8e)]=new Set(_0x1a5e72['filter'](_0x3f259a=>_0x3f259a instanceof _0x253621[_0x41f49a(0x3bd)])),this[_0x41f49a(0x1f8)]=new Set(_0x1a5e72[_0x41f49a(0x20f)](_0x469daf=>_0x469daf instanceof _0xbeda18)),_0x1a5e72['length']>0x0&&this[_0x41f49a(0x332)](_0x1a5e72[0x0],this[_0x41f49a(0x1df)][_0x41f49a(0x11d)]);}[_0x1888a5(0x381)](_0x4b4cf8,_0x251036){const _0x9358aa=_0x1888a5;let _0x1c13d2=this[_0x9358aa(0x378)][_0x9358aa(0xe2)]();if(!_0x1c13d2)return[];let {scene:_0x345857}=this[_0x9358aa(0x1df)],_0x59c0b8=[],_0xddbbac=_0x50615a=>{const _0x175149=_0x9358aa;if(!_0x50615a)return new Map();let _0x2b3c01=new Map();return _0x50615a[_0x175149(0x157)]((_0x1ea24c,_0x3ec0e9)=>{const _0x568d3e=_0x175149;let _0x4ba853=_0x1ea24c[_0x568d3e(0x20f)](_0x5eeaa3=>_0x5eeaa3[_0x568d3e(0x1e5)]===_0x251036);_0x4ba853[_0x568d3e(0x256)]>0x0&&_0x2b3c01['set'](_0x3ec0e9,_0x4ba853);}),_0x2b3c01;};return this[_0x9358aa(0x160)](_0x345857,_0x1c13d2,_0xddbbac(_0x4b4cf8[_0x9358aa(0x16a)]),'rgba(46,125,50,0.5)',_0x59c0b8),this[_0x9358aa(0x160)](_0x345857,_0x1c13d2,_0xddbbac(_0x4b4cf8[_0x9358aa(0x1ae)]),_0x9358aa(0x3e4),_0x59c0b8),this[_0x9358aa(0x160)](_0x345857,_0x1c13d2,_0xddbbac(_0x4b4cf8['updateCellRanges']),_0x9358aa(0x92),_0x59c0b8),this[_0x9358aa(0x222)](_0x345857,_0x1c13d2,_0xddbbac(_0x4b4cf8[_0x9358aa(0x1c3)]),_0x9358aa(0x149),_0x59c0b8),this[_0x9358aa(0x222)](_0x345857,_0x1c13d2,_0xddbbac(_0x4b4cf8[_0x9358aa(0xdf)]),'rgba(198,40,40,0.5)',_0x59c0b8),this[_0x9358aa(0x222)](_0x345857,_0x1c13d2,_0xddbbac(_0x4b4cf8['updateBorderRanges']),_0x9358aa(0x92),_0x59c0b8),this[_0x9358aa(0x1c8)](_0x345857,_0x1c13d2,_0xddbbac(_0x4b4cf8[_0x9358aa(0x127)]),'vertical',_0x59c0b8),this[_0x9358aa(0x1c8)](_0x345857,_0x1c13d2,_0xddbbac(_0x4b4cf8['arrowColumnRanges']),_0x9358aa(0x2f4),_0x59c0b8),_0x4b4cf8[_0x9358aa(0x2cb)]&&this[_0x9358aa(0x123)](_0x345857,_0x4b4cf8[_0x9358aa(0x2cb)],_0x9358aa(0x149),_0x59c0b8),_0x4b4cf8[_0x9358aa(0x39a)]&&this['_renderDrawingHighlights'](_0x345857,_0x4b4cf8['deleteDrawings'],_0x9358aa(0x3e4),_0x59c0b8),_0x4b4cf8[_0x9358aa(0x2ae)]&&this['_renderDrawingHighlights'](_0x345857,_0x4b4cf8[_0x9358aa(0x2ae)],_0x9358aa(0x92),_0x59c0b8),this[_0x9358aa(0x1cc)](_0x59c0b8),_0x345857[_0x9358aa(0x13e)](_0x59c0b8,0x14),_0x59c0b8;}[_0x1888a5(0x1f9)](){const _0x20faa7=_0x1888a5;this[_0x20faa7(0x121)][_0x20faa7(0x157)](_0x556f39=>{const _0xbe9249=_0x20faa7;_0x556f39[_0xbe9249(0x338)]();}),this[_0x20faa7(0x8e)]['forEach'](_0x4474e6=>{const _0x404d3b=_0x20faa7;_0x4474e6[_0x404d3b(0x338)]();}),this[_0x20faa7(0x1f8)][_0x20faa7(0x157)](_0xbeac4d=>{_0xbeac4d['hide']();});}[_0x1888a5(0x1a7)](){const _0x863180=_0x1888a5;this[_0x863180(0x121)][_0x863180(0x157)](_0x5e9b1b=>{const _0x529b5f=_0x863180;_0x5e9b1b[_0x529b5f(0x184)]();}),this[_0x863180(0x8e)][_0x863180(0x157)](_0xf83d0=>{const _0x2ffb25=_0x863180;_0xf83d0[_0x2ffb25(0x184)]();}),this[_0x863180(0x1f8)][_0x863180(0x157)](_0x25f339=>{const _0x4c2c71=_0x863180;_0x25f339[_0x4c2c71(0x184)]();});}[_0x1888a5(0x182)](){const _0x1766e8=_0x1888a5;this[_0x1766e8(0x39d)]();}[_0x1888a5(0x26f)](_0x483736,_0x1e5715){this['_scrollToShape'](_0x483736,_0x1e5715);}[_0x1888a5(0x160)](_0x2d6ce1,_0x136c8f,_0x403aff,_0x5d185c,_0x31c9da){const _0x33c278=_0x1888a5;_0x403aff[_0x33c278(0x157)]((_0x18001e,_0x21b0f1)=>{_0x18001e['forEach'](_0x1072fc=>{const _0x129820=_0x5c10;var _0x5d516e;let {range:_0x73de23,subUnitId:_0xabd79b,unitId:_0x3b521a,showText:_0x3edc18='',highlightColumn:_0x5b6071,highlightRow:_0x1026dc}=_0x1072fc,{startColumn:_0x48cb4c,startRow:_0x3f15ff,endColumn:_0x429447,endRow:_0x19300e}=_0x73de23,_0xe2e25e=(0x0,_0x5d2266[_0x129820(0x1e3)])(_0x3f15ff,_0x48cb4c,_0x2d6ce1,_0x136c8f),_0x47dcbc=(0x0,_0x5d2266['getCoordByCell'])(_0x19300e,_0x429447,_0x2d6ce1,_0x136c8f),{columnHeaderHeightAndMarginTop:_0x272b02}=_0x136c8f,{startX:_0x402191,startY:_0x49898b}=_0xe2e25e,{endX:_0x13832e,endY:_0x2b7b06}=_0x47dcbc,_0x5dff0b=_0x136c8f['rowHeaderWidth'],_0x4bb4d5=_0x136c8f[_0x129820(0x329)];_0x1026dc&&(_0x402191-=_0x5dff0b),_0x5b6071&&(_0x49898b-=_0x4bb4d5);let _0x46a60c=_0x13832e-_0x402191,_0x3c8c83=_0x2b7b06-_0x49898b,_0x3b0f23={'labelPosition':_0x49898b-_0x272b02>=0x14?_0x129820(0x405):_0x129820(0x3fd),'sheetID':_0xabd79b,'range':_0x73de23,'color':_0x5d185c,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x5d185c,'name':((_0x5d516e=this[_0x129820(0x364)][_0x129820(0x2a0)](_0x21b0f1))==null?void 0x0:_0x5d516e[_0x129820(0x21a)])+'\x20'+_0x3edc18||_0x3edc18,'selection':_0x3b521a+'-'+_0xabd79b+'-'+_0x73de23[_0x129820(0x26c)]+'-'+_0x73de23[_0x129820(0x1e2)]+'-'+_0x73de23[_0x129820(0x192)]+'-'+_0x73de23['endRow'],'left':_0x402191,'top':_0x49898b,'width':_0x46a60c,'height':_0x3c8c83,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x31c9da[_0x129820(0x3e0)](new _0x13950c[(_0x129820(0x125))]('',_0x3b0f23));});});}[_0x1888a5(0x222)](_0x5460fe,_0x3e6f04,_0x2d146a,_0x4cfdab,_0x5cfaf2){const _0x3b5645=_0x1888a5;_0x2d146a[_0x3b5645(0x157)]((_0x36406f,_0x2308e1)=>{const _0x25c2dc=_0x3b5645;_0x36406f[_0x25c2dc(0x157)](_0x1ded25=>{const _0xa5425e=_0x25c2dc;var _0x3be9bd;let {range:_0x2ad79c,subUnitId:_0x5242c4,unitId:_0x25783d,showText:_0x1c518a=''}=_0x1ded25,{startColumn:_0x2fbb1a,startRow:_0xa8e652,endColumn:_0x65d690,endRow:_0x13d841}=_0x2ad79c,_0x34272c=(0x0,_0x5d2266[_0xa5425e(0x1e3)])(_0xa8e652,_0x2fbb1a,_0x5460fe,_0x3e6f04),_0x10fc47=(0x0,_0x5d2266[_0xa5425e(0x1e3)])(_0x13d841,_0x65d690,_0x5460fe,_0x3e6f04),{columnHeaderHeightAndMarginTop:_0x5c22d9}=_0x3e6f04,{startX:_0x561513,startY:_0x53826b}=_0x34272c,{endX:_0xa0d006,endY:_0x592ef3}=_0x10fc47,_0x2118d7=_0xa0d006-_0x561513,_0x64057c=_0x592ef3-_0x53826b,_0x4df854={'labelPosition':_0x53826b-_0x5c22d9>=0x14?_0xa5425e(0x405):_0xa5425e(0x3fd),'sheetID':_0x5242c4,'range':_0x2ad79c,'color':_0x4cfdab,'fillAfterStrokeEnabled':!0x1,'backgroundColor':'transparent','name':((_0x3be9bd=this[_0xa5425e(0x364)][_0xa5425e(0x2a0)](_0x2308e1))==null?void 0x0:_0x3be9bd[_0xa5425e(0x21a)])+'\x20'+_0x1c518a||_0x1c518a,'selection':_0x25783d+'-'+_0x5242c4+'-'+_0x2ad79c[_0xa5425e(0x26c)]+'-'+_0x2ad79c[_0xa5425e(0x1e2)]+'-'+_0x2ad79c[_0xa5425e(0x192)]+'-'+_0x2ad79c[_0xa5425e(0x151)],'left':_0x561513-0xc/0x2,'top':_0x53826b-0xc/0x2,'width':_0x2118d7,'height':_0x64057c,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x5cfaf2[_0xa5425e(0x3e0)](new _0x13950c[(_0xa5425e(0x125))]('',_0x4df854));});});}[_0x1888a5(0x1c8)](_0x298dc4,_0x334aa3,_0x40368c,_0x393adb,_0x467fb7){const _0x428dd4=_0x1888a5;let _0x285086=_0x334aa3[_0x428dd4(0x33a)],_0x1f5bd1=_0x334aa3[_0x428dd4(0x329)];_0x40368c['forEach']((_0x119687,_0x16b845)=>{_0x119687['forEach'](_0x4eadec=>{const _0x233e7e=_0x5c10;let {range:_0x376aae,showText:_0xfd7277=''}=_0x4eadec,{startColumn:_0x3db770,startRow:_0x2b1af0,endColumn:_0x1a9837,endRow:_0x1d413f}=_0x376aae,_0x3e0f7e=(0x0,_0x5d2266['getCoordByCell'])(_0x2b1af0,_0x3db770,_0x298dc4,_0x334aa3),_0x1d20fb=(0x0,_0x5d2266[_0x233e7e(0x1e3)])(_0x1d413f,_0x1a9837,_0x298dc4,_0x334aa3),{startX:_0x2084ce,startY:_0x11755e}=_0x3e0f7e,{endX:_0x1ed0e5,endY:_0x32cc73}=_0x1d20fb,{columnHeaderHeightAndMarginTop:_0x52ab20}=_0x334aa3,_0x52c95a;if(_0x393adb==='horizontal'){var _0x1d095d;_0x52c95a=new _0xbeda18('',{'color':_0x233e7e(0x92),'direction':_0x233e7e(0x2f4),'left':_0x2084ce,'top':0x2,'width':_0x1ed0e5-_0x2084ce,'height':_0x1f5bd1-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x1d095d=this[_0x233e7e(0x364)][_0x233e7e(0x2a0)](_0x16b845))==null?void 0x0:_0x1d095d[_0x233e7e(0x21a)])+'\x20'+_0xfd7277||_0xfd7277,'labelPosition':_0x11755e-_0x52ab20>=0x14?_0x233e7e(0x405):_0x233e7e(0x3fd)}),_0x467fb7['push'](_0x52c95a);}else{var _0x478b7f;let _0x76cbcb=_0x32cc73-_0x11755e;_0x52c95a=new _0xbeda18('',{'color':_0x233e7e(0x92),'direction':'vertical','left':0x2,'top':_0x11755e,'width':_0x285086-0x4,'height':_0x76cbcb,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x478b7f=this['_historyManagerService']['getMember'](_0x16b845))==null?void 0x0:_0x478b7f['name'])+'\x20'+_0xfd7277||_0xfd7277,'labelPosition':_0x233e7e(0x405)}),_0x467fb7[_0x233e7e(0x3e0)](_0x52c95a);}});});}[_0x1888a5(0x123)](_0x46a45c,_0x342c88,_0x1d8469,_0x23a9ef){const _0x170d49=_0x1888a5;let _0xa639ff=this[_0x170d49(0x378)][_0x170d49(0xe2)]();if(!_0xa639ff)return;let {columnHeaderHeightAndMarginTop:_0x2359d3}=_0xa639ff;_0x342c88['forEach']((_0x4a67c8,_0x777773)=>{_0x4a67c8['forEach'](_0x1b210b=>{const _0x20ba65=_0x5c10;var _0x35e2ca;let {drawingId:_0xc34462,unitId:_0x2833e7,subUnitId:_0x4ef013,showText:_0xea4ef0=''}=_0x1b210b,_0x31463d=this[_0x20ba65(0x3fa)][_0x20ba65(0xc6)]({'unitId':_0x2833e7,'subUnitId':_0x4ef013,'drawingId':_0xc34462});if(!_0x31463d||!_0x31463d['transform'])return;let {left:_0x5d3c20=0x0,top:_0x225e94=0x0,width:_0x52c58b,height:_0x56069a}=_0x31463d['transform'],_0x55a4e1=new _0x13950c[(_0x20ba65(0x125))]('',{'labelPosition':_0x225e94-_0x2359d3>=0x14?_0x20ba65(0x405):_0x20ba65(0x3fd),'sheetID':_0x4ef013,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x1d8469,'fillAfterStrokeEnabled':!0x1,'backgroundColor':'transparent','name':((_0x35e2ca=this[_0x20ba65(0x364)][_0x20ba65(0x2a0)](_0x777773))==null?void 0x0:_0x35e2ca['name'])+'\x20'+_0xea4ef0||_0xea4ef0,'selection':_0x2833e7+'-'+_0x4ef013+_0x20ba65(0x8a)+_0xc34462,'left':_0x5d3c20-0xc/0x2,'top':_0x225e94-0xc/0x2,'width':_0x52c58b,'height':_0x56069a,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x55a4e1[_0x20ba65(0x368)][_0x20ba65(0x27b)](()=>{const _0x4e200c=_0x20ba65;this[_0x4e200c(0x26e)](_0x55a4e1,_0x23a9ef)[_0x4e200c(0x157)](_0x55bd06=>{_0x55bd06 instanceof _0x13950c['SheetCollabCursorShape']&&_0x55bd06['setShapeProps']({'hovered':!0x0});});}),_0x55a4e1[_0x20ba65(0x12c)][_0x20ba65(0x27b)](()=>{const _0x1fab01=_0x20ba65;this[_0x1fab01(0x26e)](_0x55a4e1,_0x23a9ef)[_0x1fab01(0x157)](_0x1b2a63=>{const _0x8d2a8c=_0x1fab01;_0x1b2a63 instanceof _0x13950c['SheetCollabCursorShape']&&_0x1b2a63[_0x8d2a8c(0x3da)]({'hovered':!0x1});});}),_0x23a9ef[_0x20ba65(0x3e0)](_0x55a4e1);});});}[_0x1888a5(0x39d)](){const _0xa044ca=_0x1888a5;var _0x2aef30,_0xd46f6a,_0x41bf10,_0x3a73fd;(_0x2aef30=this[_0xa044ca(0x121)])==null||_0x2aef30[_0xa044ca(0x157)](_0x15c18b=>_0x15c18b[_0xa044ca(0x2ed)]()),(_0xd46f6a=this[_0xa044ca(0x8e)])==null||_0xd46f6a['forEach'](_0x4529d6=>_0x4529d6[_0xa044ca(0x2ed)]()),(_0x41bf10=this['_arrowDiffs'])==null||_0x41bf10[_0xa044ca(0x157)](_0x27c63c=>_0x27c63c[_0xa044ca(0x2ed)]()),(_0x3a73fd=this[_0xa044ca(0x1f0)])==null||_0x3a73fd[_0xa044ca(0x157)](_0x3a7b64=>_0x3a7b64['dispose']());}['_handleOverlappingShapes'](_0x494bd4){const _0xbe2d22=_0x1888a5;let _0x4ab26f=_0x494bd4[_0xbe2d22(0x20f)](_0x1d73a6=>_0x1d73a6 instanceof _0x13950c['SheetCollabCursorShape']);if(_0x4ab26f[_0xbe2d22(0x256)]===0x0)return;let _0x1e05fa=[],_0x84acde=new Set();_0x4ab26f[_0xbe2d22(0x157)](_0x57f66f=>{const _0x1bfa31=_0xbe2d22;if(_0x84acde[_0x1bfa31(0x291)](_0x57f66f))return;let _0x3e9711=_0x57f66f[_0x1bfa31(0x2d9)]||0x0,_0x3384e6=_0x57f66f[_0x1bfa31(0x405)]||0x0,_0x1e266e=_0x3e9711+(_0x57f66f[_0x1bfa31(0x1f4)]||0x0),_0x234f3c=_0x3384e6,_0x10290a=[_0x57f66f];_0x84acde[_0x1bfa31(0x3ac)](_0x57f66f),_0x4ab26f[_0x1bfa31(0x157)](_0x135225=>{const _0x5af8a6=_0x1bfa31;if(_0x84acde[_0x5af8a6(0x291)](_0x135225))return;let _0x332c25=_0x135225[_0x5af8a6(0x2d9)]||0x0,_0x10f0a6=_0x135225[_0x5af8a6(0x405)]||0x0,_0x41ae39=_0x332c25+(_0x135225[_0x5af8a6(0x1f4)]||0x0),_0x242033=_0x10f0a6;Math[_0x5af8a6(0x373)](_0x1e266e-_0x41ae39)<=0xa&&Math['abs'](_0x234f3c-_0x242033)<=0xa&&(_0x10290a[_0x5af8a6(0x3e0)](_0x135225),_0x84acde[_0x5af8a6(0x3ac)](_0x135225));}),_0x10290a[_0x1bfa31(0x256)]>0x1&&_0x1e05fa[_0x1bfa31(0x3e0)](_0x10290a);}),_0x1e05fa[_0xbe2d22(0x157)](_0x50993b=>{const _0x54fe0c=_0xbe2d22;_0x50993b[_0x54fe0c(0x403)]((_0x5363cb,_0x423d42)=>(_0x5363cb[_0x54fe0c(0x405)]||0x0)-(_0x423d42[_0x54fe0c(0x405)]||0x0)),_0x50993b[_0x54fe0c(0x157)]((_0x18e6bd,_0x111193)=>{const _0x269631=_0x54fe0c;let _0xb84d43=_0x111193*0x16;_0x18e6bd[_0x269631(0x1e8)](_0xb84d43);});});}['_findOverlappingShapes'](_0x16a15e,_0x15f209){const _0x30ad4d=_0x1888a5;let _0x1b306d=_0x16a15e[_0x30ad4d(0x2d9)]||0x0,_0x7e11a=_0x16a15e[_0x30ad4d(0x405)]||0x0,_0x51ef3d=_0x16a15e['width']||0x0,_0x2a8120=_0x16a15e['height']||0x0,_0x37aef1=_0x1b306d+_0x51ef3d,_0x4246b6=_0x7e11a+_0x2a8120;return _0x15f209['filter'](_0x590e0d=>{const _0x199be0=_0x30ad4d;let _0x5befa2=_0x590e0d[_0x199be0(0x2d9)]||0x0,_0x1ee189=_0x590e0d[_0x199be0(0x405)]||0x0,_0x30b3eb=_0x590e0d[_0x199be0(0x1f4)]||0x0,_0x528467=_0x590e0d[_0x199be0(0x2e5)]||0x0,_0x1d496c=_0x5befa2+_0x30b3eb,_0x2d1319=_0x1ee189+_0x528467;return!(_0x37aef1<=_0x5befa2||_0x1b306d>=_0x1d496c||_0x4246b6<=_0x1ee189||_0x7e11a>=_0x2d1319);});}[_0x1888a5(0x332)](_0x139db6,_0x2dee76){const _0x3e6df0=_0x1888a5;let _0x50d953=_0x2dee76[_0x3e6df0(0x3c2)](_0x253621['SHEET_VIEWPORT_KEY'][_0x3e6df0(0x25f)]);if(!_0x50d953)return;let _0x3f721a=_0x139db6[_0x3e6df0(0x2d9)]||0x0,_0x594590=_0x139db6['top']||0x0,_0x4750cc=_0x139db6[_0x3e6df0(0x1f4)]||0x0,_0x11d8df=_0x139db6[_0x3e6df0(0x2e5)]||0x0,_0x3724c1=_0x50d953[_0x3e6df0(0x1f4)]||0x0,_0x36c987=_0x50d953['height']||0x0,_0x46cce2=_0x50d953[_0x3e6df0(0x128)]||0x0,_0x217462=_0x50d953[_0x3e6df0(0x321)]||0x0,_0x246172=_0x46cce2,_0x28a821=_0x217462,_0x118f30=_0x46cce2+_0x3724c1,_0xbfa301=_0x217462+_0x36c987;if(_0x3f721a>=_0x246172&&_0x594590>=_0x28a821&&_0x3f721a+_0x4750cc<=_0x118f30&&_0x594590+_0x11d8df<=_0xbfa301)return;let _0x3ce781=Math[_0x3e6df0(0x38d)](0x0,_0x3f721a-_0x3724c1/0x2+_0x4750cc/0x2),_0x1fa71a=Math[_0x3e6df0(0x38d)](0x0,_0x594590-_0x36c987/0x2+_0x11d8df/0x2);_0x50d953['scrollToViewportPos']({'viewportScrollX':_0x3ce781,'viewportScrollY':_0x1fa71a});}[_0x1888a5(0x402)](){const _0xc043ac=_0x1888a5;return(0x0,_0x5d2266['getSheetObject'])(this[_0xc043ac(0x18a)],this[_0xc043ac(0x2f2)]);}};_0x2f325f=_0x4262d0([_0x10a923(0x1,(0x0,_0x1e04c6['Inject'])(_0x570b37)),_0x10a923(0x2,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x2f5c48)),_0x10a923(0x3,_0x1e04c6[_0x1888a5(0xf1)]),_0x10a923(0x4,_0x253621[_0x1888a5(0x358)]),_0x10a923(0x5,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x5d2266['SheetSkeletonManagerService'])),_0x10a923(0x6,_0x1e04c6['ICommandService']),_0x10a923(0x7,_0x50ad73[_0x1888a5(0xe1)])],_0x2f325f);var _0x3d3d1f=_0x1888a5(0x2d7),_0x39587f=_0x1888a5(0x2a4);let _0x2e2af9=class extends _0x1e04c6[_0x1888a5(0x1cb)]{constructor(_0x4c7ec9){super(),this['_cellEditorManagerService']=_0x4c7ec9,this['_init']();}['_init'](){const _0x54ba58=_0x1888a5;this['disposeWithMe'](this['_cellEditorManagerService'][_0x54ba58(0x137)][_0x54ba58(0x3d2)](_0x5f2081=>{const _0x1fef9b=_0x54ba58;_0x5f2081!=null&&_0x5f2081[_0x1fef9b(0x184)]&&this[_0x1fef9b(0xd4)][_0x1fef9b(0x3d9)]({'show':!0x1});}));}};_0x2e2af9=_0x4262d0([_0x10a923(0x0,_0x5d2266[_0x1888a5(0x265)])],_0x2e2af9);function _0x1e7023(){const _0x324a0f=_0x1888a5;let _0x4f0f85=(0x0,_0x48e19f[_0x324a0f(0x31c)])(_0x570b37),_0x1bfcad=(0x0,_0x48e19f['useDependency'])(_0x1e04c6[_0x324a0f(0x170)]),_0x297b64=(0x0,_0x48e19f[_0x324a0f(0x15d)])(_0x4f0f85['currentVersion$']),_0x4f9fb7=(0x0,_0x5e6334[_0x324a0f(0x39c)])(()=>_0x297b64?_0x4f0f85['getSelectedVersionCanRevert']():!0x1,[_0x4f0f85,_0x297b64]),_0xfe2104=(0x0,_0x5e6334[_0x324a0f(0x1c0)])(()=>{_0x4f0f85['status']='exited';},[_0x4f0f85]),_0xcb3364=(0x0,_0x5e6334[_0x324a0f(0x1c0)])(()=>{const _0x3b11bf=_0x324a0f;_0x4f0f85[_0x3b11bf(0xa4)]();},[_0x4f0f85]);return(0x0,_0x1d3622[_0x324a0f(0x1f1)])('div',{'className':_0x324a0f(0x3b6),'children':[(0x0,_0x1d3622[_0x324a0f(0x1a2)])(_0x2a5339[_0x324a0f(0xd7)],{'variant':_0x324a0f(0x11f),'onClick':_0xfe2104,'children':_0x1bfcad['t'](_0x324a0f(0x134))}),_0x4f9fb7?(0x0,_0x1d3622[_0x324a0f(0x1a2)])(_0x2a5339[_0x324a0f(0xd7)],{'variant':_0x324a0f(0x11f),'onClick':_0xcb3364,'children':_0x1bfcad['t'](_0x324a0f(0x310))}):(0x0,_0x1d3622['jsx'])(_0x324a0f(0x2fd),{'className':_0x324a0f(0x25a)})]});}let _0xc63c08=class extends _0x1e04c6[_0x1888a5(0x1cb)]{constructor(_0x3fba1c,_0xa6b257,_0x45404b,_0x4f41fe,_0xaad0c1,_0x4c8fb6,_0x273add){const _0x559296=_0x1888a5;super(),this['_permissionService']=_0x3fba1c,this[_0x559296(0x23d)]=_0xa6b257,this[_0x559296(0x1e0)]=_0x45404b,this[_0x559296(0x25d)]=_0x4f41fe,this['_historyManagerService']=_0xaad0c1,this[_0x559296(0x304)]=_0x4c8fb6,this[_0x559296(0x362)]=_0x273add,this[_0x559296(0x10e)]();}[_0x1888a5(0x10e)](){const _0x5b2209=_0x1888a5;this[_0x5b2209(0x270)](this[_0x5b2209(0x364)][_0x5b2209(0x355)][_0x5b2209(0x3d2)](_0x3168dd=>{const _0x2825e9=_0x5b2209;_0x3168dd&&this[_0x2825e9(0x364)][_0x2825e9(0x1d8)](_0x3168dd);})),this[_0x5b2209(0x270)](this['_permissionService'][_0x5b2209(0x2de)][_0x5b2209(0x3d2)](_0x417264=>{const _0x4e600f=_0x5b2209;let _0x566e02=this[_0x4e600f(0x364)][_0x4e600f(0x333)];_0x566e02&&(_0x417264['subType']===_0x576ab1[_0x4e600f(0x386)][_0x4e600f(0x1c9)]&&_0x417264[_0x4e600f(0xac)]===!0x0&&this[_0x4e600f(0x2c7)]['updatePermissionPoint'](new _0x37090c[(_0x4e600f(0x38e))](_0x566e02)['id'],!0x1),_0x417264[_0x4e600f(0x30a)]===_0x576ab1[_0x4e600f(0x386)][_0x4e600f(0x261)]&&_0x417264[_0x4e600f(0xac)]===!0x0&&this['_permissionService'][_0x4e600f(0x8f)](new _0x37090c['WorkbookRenameSheetPermission'](_0x566e02)['id'],!0x1),_0x417264[_0x4e600f(0x30a)]===_0x576ab1[_0x4e600f(0x386)]['MoveSheet']&&_0x417264[_0x4e600f(0xac)]===!0x0&&this[_0x4e600f(0x2c7)][_0x4e600f(0x8f)](new _0x37090c[(_0x4e600f(0x11c))](_0x566e02)['id'],!0x1),_0x417264[_0x4e600f(0x30a)]===_0x576ab1[_0x4e600f(0x386)][_0x4e600f(0xde)]&&_0x417264[_0x4e600f(0xac)]===!0x0&&this[_0x4e600f(0x2c7)]['updatePermissionPoint'](new _0x37090c[(_0x4e600f(0x32b))](_0x566e02)['id'],!0x1),_0x417264[_0x4e600f(0x30a)]===_0x576ab1['UnitAction'][_0x4e600f(0x3d7)]&&_0x417264['value']===!0x0&&this[_0x4e600f(0x2c7)][_0x4e600f(0x8f)](new _0x37090c[(_0x4e600f(0x38e))](_0x566e02)['id'],!0x1),_0x417264[_0x4e600f(0x30a)]===_0x576ab1[_0x4e600f(0x386)][_0x4e600f(0x223)]&&_0x417264[_0x4e600f(0xac)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x37090c[(_0x4e600f(0x38e))](_0x566e02)['id'],!0x1));})),this['_registerHeader']();let _0xce69ca;this['disposeWithMe'](this[_0x5b2209(0x364)][_0x5b2209(0x1ef)]['subscribe'](_0x59dda5=>{const _0x125976=_0x5b2209;this[_0x125976(0x1e0)]['removeAll'](),_0xce69ca==null||_0xce69ca[_0x125976(0x2ed)](),_0x59dda5===_0x125976(0x3b5)&&(this['_historyManagerService']['showMask'](),_0xce69ca=this[_0x125976(0x1e0)]['show']({'type':_0x2a5339['MessageType'][_0x125976(0x1bf)],'content':this[_0x125976(0x25d)]['t'](_0x125976(0x286)),'duration':0x3e8})),_0x59dda5===_0x125976(0x1b7)&&this[_0x125976(0x364)]['hideMask']();}));}[_0x1888a5(0xdb)](){const _0x2dff55=_0x1888a5;var _0x54b363;(_0x54b363=this['_configService'][_0x2dff55(0x385)](_0x2dff55(0x29a)))!=null&&_0x54b363[_0x2dff55(0x9b)]||this[_0x2dff55(0x270)](this[_0x2dff55(0x23d)]['registerComponent'](_0x48e19f[_0x2dff55(0x27a)][_0x2dff55(0x404)],()=>(0x0,_0x48e19f['connectInjector'])(_0x1e7023,this[_0x2dff55(0x304)])));}};_0xc63c08=_0x4262d0([_0x10a923(0x0,_0x1e04c6['IPermissionService']),_0x10a923(0x1,_0x48e19f[_0x1888a5(0x348)]),_0x10a923(0x2,_0x48e19f[_0x1888a5(0xc0)]),_0x10a923(0x3,(0x0,_0x1e04c6['Inject'])(_0x1e04c6[_0x1888a5(0x170)])),_0x10a923(0x4,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x570b37)),_0x10a923(0x5,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1e04c6['Injector'])),_0x10a923(0x6,_0x1e04c6[_0x1888a5(0x3dc)])],_0xc63c08);function _0x4fda4f({ref:_0x1e6c42,..._0x40fcd0}){const _0x52b665=_0x1888a5;let {icon:_0x2bfbaa,id:_0x1f4646,className:_0x3c70f4,extend:_0x5edde8,..._0x36ea2b}=_0x40fcd0,_0x3d5639=(_0x52b665(0x3d8)+_0x1f4646+'\x20'+(_0x3c70f4||''))['trim'](),_0x2450eb=(0x0,_0x5e6334[_0x52b665(0x268)])('_'+_0x37927a());return _0x2ff817(_0x2bfbaa,''+_0x1f4646,{'defIds':_0x2bfbaa[_0x52b665(0xd0)],'idSuffix':_0x2450eb[_0x52b665(0x3f2)]},{'ref':_0x1e6c42,'className':_0x3d5639,..._0x36ea2b},_0x5edde8);}function _0x2ff817(_0xc5c24e,_0x148b73,_0x5bf7dd,_0x26e603,_0x1f6942){const _0x268112=_0x1888a5;return(0x0,_0x5e6334[_0x268112(0x220)])(_0xc5c24e['tag'],{'key':_0x148b73,..._0x413785(_0xc5c24e,_0x5bf7dd,_0x1f6942),..._0x26e603},(_0x50979b(_0xc5c24e,_0x5bf7dd)['children']||[])['map']((_0x570b0a,_0x391e5e)=>_0x2ff817(_0x570b0a,_0x148b73+'-'+_0xc5c24e[_0x268112(0x153)]+'-'+_0x391e5e,_0x5bf7dd,void 0x0,_0x1f6942)));}function _0x413785(_0x46d0d3,_0x59b6b8,_0x109513){const _0x43497e=_0x1888a5;let _0x31de76={..._0x46d0d3['attrs']};_0x109513!=null&&_0x109513['colorChannel1']&&_0x31de76[_0x43497e(0x38a)]===_0x43497e(0x327)&&(_0x31de76[_0x43497e(0x38a)]=_0x109513[_0x43497e(0x327)]),_0x46d0d3[_0x43497e(0x153)]===_0x43497e(0xce)&&_0x31de76['id']&&(_0x31de76['id']+=_0x59b6b8[_0x43497e(0x1c5)]),Object[_0x43497e(0x3b9)](_0x31de76)[_0x43497e(0x157)](([_0x134ea1,_0x28508f])=>{const _0x3921d7=_0x43497e;_0x134ea1==='mask'&&typeof _0x28508f==_0x3921d7(0x2ac)&&(_0x31de76[_0x134ea1]=_0x28508f['replace'](/url\(#(.*)\)/,_0x3921d7(0x2b7)+_0x59b6b8[_0x3921d7(0x1c5)]+')'));});let {defIds:_0x558aa7}=_0x59b6b8;return!_0x558aa7||_0x558aa7['length']===0x0?_0x31de76:(_0x46d0d3['tag']===_0x43497e(0x2df)&&_0x31de76[_0x43497e(0x30d)]&&(_0x31de76[_0x43497e(0x30d)]+=_0x59b6b8[_0x43497e(0x1c5)]),Object[_0x43497e(0x3b9)](_0x31de76)[_0x43497e(0x157)](([_0x54d43f,_0x5b3e14])=>{const _0x332d73=_0x43497e;typeof _0x5b3e14==_0x332d73(0x2ac)&&(_0x31de76[_0x54d43f]=_0x5b3e14['replace'](/url\(#(.*)\)/,_0x332d73(0x2b7)+_0x59b6b8[_0x332d73(0x1c5)]+')'));}),_0x31de76);}function _0x50979b(_0x8fdce9,_0x43ddc0){const _0xae6424=_0x1888a5;var _0x274aa7;let {defIds:_0x3a31c6}=_0x43ddc0;return!_0x3a31c6||_0x3a31c6[_0xae6424(0x256)]===0x0?_0x8fdce9:_0x8fdce9[_0xae6424(0x153)]===_0xae6424(0x105)&&(_0x274aa7=_0x8fdce9[_0xae6424(0x349)])!=null&&_0x274aa7[_0xae6424(0x256)]?{..._0x8fdce9,'children':_0x8fdce9[_0xae6424(0x349)][_0xae6424(0x37e)](_0xedc2f3=>typeof _0xedc2f3[_0xae6424(0x284)]['id']==_0xae6424(0x2ac)&&_0x3a31c6&&_0x3a31c6[_0xae6424(0x15e)](_0xedc2f3[_0xae6424(0x284)]['id'])?{..._0xedc2f3,'attrs':{..._0xedc2f3['attrs'],'id':_0xedc2f3[_0xae6424(0x284)]['id']+_0x43ddc0[_0xae6424(0x1c5)]}}:_0xedc2f3)}:_0x8fdce9;}function _0x37927a(){const _0x13f3ec=_0x1888a5;return Math[_0x13f3ec(0x3fb)]()[_0x13f3ec(0x397)](0x24)[_0x13f3ec(0xb9)](0x2,0x8);}_0x4fda4f['displayName']=_0x1888a5(0x34a);let _0x23c82f={'tag':_0x1888a5(0x328),'attrs':{'xmlns':_0x1888a5(0x3bb),'fill':_0x1888a5(0x3c6),'viewBox':_0x1888a5(0x3d6),'width':_0x1888a5(0x159),'height':_0x1888a5(0x159)},'children':[{'tag':_0x1888a5(0x186),'attrs':{'fill':'currentColor','d':_0x1888a5(0x1d1)}}]},_0x207ac6=(0x0,_0x5e6334[_0x1888a5(0x3b8)])(function(_0x45f29,_0x28a4d0){const _0x5bcef3=_0x1888a5;return(0x0,_0x5e6334[_0x5bcef3(0x220)])(_0x4fda4f,Object['assign']({},_0x45f29,{'id':_0x5bcef3(0x363),'ref':_0x28a4d0,'icon':_0x23c82f}));});_0x207ac6[_0x1888a5(0x174)]=_0x1888a5(0x10f);let _0x5c511a={'tag':_0x1888a5(0x328),'attrs':{'xmlns':_0x1888a5(0x3bb),'fill':_0x1888a5(0x3c6),'viewBox':'0\x200\x2016\x2016','width':_0x1888a5(0x159),'height':_0x1888a5(0x159)},'children':[{'tag':_0x1888a5(0x186),'attrs':{'fill':'currentColor','d':'M1\x203.87476C1\x204.97933\x201.89543\x205.87476\x203\x205.87476L3\x207.67383C3\x208.7784\x203.89543\x209.67383\x205\x209.67383H5.5V13.5252C5.5\x2014.4089\x206.21634\x2015.1252\x207.1\x2015.1252H8.9C9.78366\x2015.1252\x2010.5\x2014.4089\x2010.5\x2013.5252V9.67383H11C12.1046\x209.67383\x2013\x208.7784\x2013\x207.67383V5.87476C14.1046\x205.87476\x2015\x204.97933\x2015\x203.87476V2.87476C15\x201.77019\x2014.1046\x200.874756\x2013\x200.874756H3C1.89543\x200.874756\x201\x201.77019\x201\x202.87476V3.87476ZM13\x202.07476H3C2.55817\x202.07476\x202.2\x202.43293\x202.2\x202.87476V3.87476C2.2\x204.31658\x202.55817\x204.67476\x203\x204.67476L13\x204.67383C13.4418\x204.67383\x2013.8\x204.31658\x2013.8\x203.87476V2.87476C13.8\x202.43293\x2013.4418\x202.07476\x2013\x202.07476ZM4.2\x207.67383V5.87476H11.8V7.67383C11.8\x208.11566\x2011.4418\x208.47383\x2011\x208.47383H5C4.55817\x208.47383\x204.2\x208.11566\x204.2\x207.67383ZM6.7\x209.67437H9.3V13.5252C9.3\x2013.7462\x209.12091\x2013.9252\x208.9\x2013.9252H7.1C6.87909\x2013.9252\x206.7\x2013.7462\x206.7\x2013.5252V9.67437Z','fillRule':_0x1888a5(0x1c7),'clipRule':_0x1888a5(0x1c7)}}]},_0x555f70=(0x0,_0x5e6334[_0x1888a5(0x3b8)])(function(_0x4521cd,_0x4e3627){const _0x3c3cf0=_0x1888a5;return(0x0,_0x5e6334['createElement'])(_0x4fda4f,Object[_0x3c3cf0(0xfe)]({},_0x4521cd,{'id':_0x3c3cf0(0x1ff),'ref':_0x4e3627,'icon':_0x5c511a}));});_0x555f70[_0x1888a5(0x174)]=_0x1888a5(0x319);let _0x4cd15f={'tag':_0x1888a5(0x328),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1888a5(0x3c6),'viewBox':_0x1888a5(0x3d6),'width':_0x1888a5(0x159),'height':'1em'},'children':[{'tag':_0x1888a5(0x186),'attrs':{'fill':_0x1888a5(0x250),'d':_0x1888a5(0x1d6),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x3180c2=(0x0,_0x5e6334[_0x1888a5(0x3b8)])(function(_0x46db73,_0x3a9ed9){const _0x2f1b9e=_0x1888a5;return(0x0,_0x5e6334['createElement'])(_0x4fda4f,Object[_0x2f1b9e(0xfe)]({},_0x46db73,{'id':_0x2f1b9e(0x387),'ref':_0x3a9ed9,'icon':_0x4cd15f}));});_0x3180c2['displayName']=_0x1888a5(0x2dc);let _0x2c8506={'tag':_0x1888a5(0x328),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1888a5(0x3d6),'width':_0x1888a5(0x159),'height':_0x1888a5(0x159)},'children':[{'tag':'path','attrs':{'fill':_0x1888a5(0x250),'d':_0x1888a5(0x399),'fillRule':_0x1888a5(0x1c7),'clipRule':_0x1888a5(0x1c7)}}]},_0x11dc73=(0x0,_0x5e6334['forwardRef'])(function(_0x32719b,_0x28630f){const _0x46f60a=_0x1888a5;return(0x0,_0x5e6334['createElement'])(_0x4fda4f,Object['assign']({},_0x32719b,{'id':_0x46f60a(0x38c),'ref':_0x28630f,'icon':_0x2c8506}));});_0x11dc73[_0x1888a5(0x174)]='MoreRightIcon';let _0x2b8ccd={'tag':_0x1888a5(0x328),'attrs':{'xmlns':_0x1888a5(0x3bb),'fill':_0x1888a5(0x3c6),'viewBox':'0\x200\x2016\x2017','width':_0x1888a5(0x159),'height':_0x1888a5(0x159)},'children':[{'tag':'g','attrs':{'fill':_0x1888a5(0x250),'clipPath':_0x1888a5(0x1bc)},'children':[{'tag':_0x1888a5(0x186),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':_0x1888a5(0x186),'attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':_0x1888a5(0x1c7),'clipRule':'evenodd'}}]},{'tag':_0x1888a5(0x105),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1888a5(0x2c4)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x1888a5(0x2c4)]},_0x1c1987=(0x0,_0x5e6334['forwardRef'])(function(_0x43b76b,_0x35345d){const _0x32f404=_0x1888a5;return(0x0,_0x5e6334[_0x32f404(0x220)])(_0x4fda4f,Object[_0x32f404(0xfe)]({},_0x43b76b,{'id':_0x32f404(0xe6),'ref':_0x35345d,'icon':_0x2b8ccd}));});_0x1c1987[_0x1888a5(0x174)]=_0x1888a5(0x323);let _0x5213e3={'tag':_0x1888a5(0x328),'attrs':{'xmlns':_0x1888a5(0x3bb),'fill':_0x1888a5(0x3c6),'viewBox':_0x1888a5(0x3d6),'width':_0x1888a5(0x159),'height':_0x1888a5(0x159)},'children':[{'tag':_0x1888a5(0x186),'attrs':{'fill':'#0B9EFB','d':_0x1888a5(0x11b),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x1888a5(0x1c7)}},{'tag':_0x1888a5(0x186),'attrs':{'fill':_0x1888a5(0xe0),'d':_0x1888a5(0xc4),'fillRule':_0x1888a5(0x1c7),'clipRule':'evenodd'}}]},_0x2fb372=(0x0,_0x5e6334[_0x1888a5(0x3b8)])(function(_0x1c4198,_0xbccc3d){const _0x160ae6=_0x1888a5;return(0x0,_0x5e6334[_0x160ae6(0x220)])(_0x4fda4f,Object['assign']({},_0x1c4198,{'id':_0x160ae6(0x377),'ref':_0xbccc3d,'icon':_0x5213e3}));});_0x2fb372['displayName']=_0x1888a5(0xee);function _0x4b539e(_0x3cf917){const _0x3d3ed2=_0x1888a5;var _0x19dab9;let {item:_0x5eb67d,isNewest:_0x4a6e79}=_0x3cf917,_0x1eb72d=(0x0,_0x48e19f['useDependency'])(_0x570b37),_0x3be43c=(0x0,_0x48e19f[_0x3d3ed2(0x31c)])(_0x2f5c48),_0x5df1cd=(0x0,_0x48e19f['useDependency'])(_0x1e04c6[_0x3d3ed2(0x170)]),_0xb9d495=(0x0,_0x48e19f[_0x3d3ed2(0x15d)])(_0x1eb72d[_0x3d3ed2(0x355)],'',!0x0)===_0x5eb67d['id'],_0x3570a6=_0x5df1cd[_0x3d3ed2(0x247)](),_0x1944ed=_0x4974cf(_0x5eb67d[_0x3d3ed2(0x1f5)],_0x3570a6),_0x3122d7=!_0x4a6e79&&_0x1eb72d[_0x3d3ed2(0x152)],_0x5e77cf=(0x0,_0x5e6334[_0x3d3ed2(0x1c0)])(async()=>{const _0x3cbc57=_0x3d3ed2;_0x1eb72d[_0x3cbc57(0x179)]!==_0x3cbc57(0x3b5)&&(_0x1eb72d[_0x3cbc57(0x267)]=_0x5eb67d['id'],await _0x3be43c[_0x3cbc57(0x32d)](_0x5eb67d['id']));},[_0x1eb72d,_0x3be43c,_0x5eb67d['id']]),_0x3c3ca4=(0x0,_0x5e6334[_0x3d3ed2(0x1c0)])(_0x317cb8=>{const _0x126be4=_0x3d3ed2;_0x317cb8[_0x126be4(0x90)](),_0x1eb72d[_0x126be4(0xa4)](_0x5eb67d['id']);},[_0x1eb72d,_0x5eb67d['id']]),_0x17b507=((_0x19dab9=_0x5eb67d[_0x3d3ed2(0x118)])==null?void 0x0:_0x19dab9[_0x3d3ed2(0x20f)](Boolean)['join'](',\x20'))||_0x5eb67d[_0x3d3ed2(0x131)]||_0x5df1cd['t'](_0x3d3ed2(0xd6));return(0x0,_0x1d3622[_0x3d3ed2(0x1f1)])(_0x3d3ed2(0x2fd),{'className':(0x0,_0x2a5339[_0x3d3ed2(0x3ad)])(_0x3d3ed2(0x21f),_0xb9d495&&_0x3d3ed2(0x3ab)),'onClick':_0x5e77cf,'children':[(0x0,_0x1d3622['jsxs'])(_0x3d3ed2(0x2fd),{'className':_0x3d3ed2(0x2e7),'children':[(0x0,_0x1d3622['jsxs'])(_0x3d3ed2(0x2fd),{'className':'univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x1d3622[_0x3d3ed2(0x1a2)])('span',{'className':_0x3d3ed2(0x31a),'children':_0x17b507}),_0x4a6e79&&(0x0,_0x1d3622['jsx'])(_0x3d3ed2(0x33f),{'className':_0x3d3ed2(0x20b),'children':_0x5df1cd['t'](_0x3d3ed2(0x19e))})]}),(0x0,_0x1d3622['jsxs'])('div',{'className':_0x3d3ed2(0x356),'children':[(0x0,_0x1d3622[_0x3d3ed2(0x1a2)])(_0x3d3ed2(0x33f),{'className':'univer-text-xs\x20univer-text-gray-400','children':_0x1944ed['time']}),(0x0,_0x1d3622[_0x3d3ed2(0x1a2)])(_0x3d3ed2(0x33f),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x2215b7(_0x5eb67d,_0x5df1cd)})]})]}),_0x3122d7&&(0x0,_0x1d3622[_0x3d3ed2(0x1a2)])(_0x2a5339[_0x3d3ed2(0xd7)],{'size':_0x3d3ed2(0x21d),'variant':'primary','onClick':_0x3c3ca4,'children':_0x5df1cd['t']('editHistory.header.revert')})]});}function _0x48e304(){const _0x133abf=_0x1888a5;let _0x4dc0fe=(0x0,_0x48e19f[_0x133abf(0x31c)])(_0x570b37),_0x47005=(0x0,_0x48e19f[_0x133abf(0x31c)])(_0x1e04c6['LocaleService']),_0x32e2a8=(0x0,_0x48e19f[_0x133abf(0x15d)])(_0x4dc0fe[_0x133abf(0x195)]),_0x4d0579=(0x0,_0x48e19f[_0x133abf(0x15d)])(_0x4dc0fe[_0x133abf(0x13b)]),_0x2b3a53=(0x0,_0x5e6334[_0x133abf(0x268)])(null),[_0x5b071e,_0x28c6d7]=(0x0,_0x5e6334[_0x133abf(0x23c)])(!0x0);(0x0,_0x5e6334[_0x133abf(0xc2)])(()=>{const _0x3d913f=_0x133abf;let _0x2ac949=_0x2b3a53[_0x3d913f(0x3f2)];if(!_0x2ac949||!_0x5b071e)return;let _0xb0ade0,_0x2d4645=()=>{clearTimeout(_0xb0ade0),_0xb0ade0=setTimeout(()=>{let {scrollTop:_0x357707,scrollHeight:_0x1864ab,clientHeight:_0x5b40a9}=_0x2ac949;_0x357707+_0x5b40a9>=_0x1864ab-0xa&&_0x4dc0fe['loadMoreVersions']();},0x64);};return _0x2ac949[_0x3d913f(0xa0)](_0x3d913f(0x2b0),_0x2d4645),()=>{const _0x27f838=_0x3d913f;clearTimeout(_0xb0ade0),_0x2ac949[_0x27f838(0x178)](_0x27f838(0x2b0),_0x2d4645);};},[_0x4dc0fe,_0x5b071e]);let _0x253dcf=_0x2d393f(_0x32e2a8==null?[]:_0x32e2a8);return(0x0,_0x1d3622[_0x133abf(0x1a2)])(_0x133abf(0x2fd),{'className':_0x133abf(0x288),'children':(0x0,_0x1d3622[_0x133abf(0x1f1)])(_0x133abf(0x2fd),{'className':(0x0,_0x2a5339[_0x133abf(0x3ad)])(_0x133abf(0x366),_0x5b071e?_0x133abf(0x2dd):_0x133abf(0xbb)),'children':[(0x0,_0x1d3622['jsxs'])(_0x133abf(0x2fd),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','onClick':()=>_0x28c6d7(_0x30777d=>!_0x30777d),'children':[(0x0,_0x1d3622['jsx'])('div',{'className':_0x133abf(0x1a5)}),!_0x5b071e&&(0x0,_0x1d3622['jsx'])(_0x133abf(0x33f),{'className':_0x133abf(0x3e5),'children':_0x47005['t'](_0x133abf(0xab))})]}),_0x5b071e&&(0x0,_0x1d3622[_0x133abf(0x1a2)])(_0x1d3622[_0x133abf(0x2f5)],{'children':_0x32e2a8?(0x0,_0x1d3622[_0x133abf(0x1f1)])(_0x133abf(0x2fd),{'ref':_0x2b3a53,'className':_0x133abf(0x3f0),'children':[_0x253dcf[_0x133abf(0x37e)](_0x4e824f=>(0x0,_0x1d3622[_0x133abf(0x1f1)])('div',{'children':[(0x0,_0x1d3622[_0x133abf(0x1a2)])(_0x133abf(0x2fd),{'className':_0x133abf(0x14d),'children':_0x418b28(_0x4e824f[_0x133abf(0x112)],_0x47005[_0x133abf(0x247)]())}),_0x4e824f['versions'][_0x133abf(0x37e)]((_0x419cac,_0x30eda6)=>(0x0,_0x1d3622['jsx'])(_0x4b539e,{'item':_0x419cac,'isNewest':_0x253dcf[0x0]===_0x4e824f&&_0x30eda6===0x0},_0x419cac['id']))]},_0x4e824f['dateString'])),_0x4d0579&&(0x0,_0x1d3622[_0x133abf(0x1a2)])('div',{'className':_0x133abf(0x19c),'children':(0x0,_0x1d3622['jsx'])(_0x2fb372,{'className':'univer-animate-spin\x20univer-text-gray-400'})})]}):(0x0,_0x1d3622[_0x133abf(0x1a2)])(_0x133abf(0x2fd),{'className':_0x133abf(0x148),'children':(0x0,_0x1d3622[_0x133abf(0x1a2)])(_0x2fb372,{'className':_0x133abf(0x236)})})})]})});}let _0x597388=class extends _0x1e04c6[_0x1888a5(0x1cb)]{constructor(_0x1fa509,_0x5e30a0){const _0x41ced6=_0x1888a5;super(),this['_uiPartsService']=_0x1fa509,this[_0x41ced6(0x304)]=_0x5e30a0,this[_0x41ced6(0x270)](this['_uiPartsService'][_0x41ced6(0x177)](_0x48e19f[_0x41ced6(0x27a)][_0x41ced6(0x1b4)],()=>(0x0,_0x48e19f[_0x41ced6(0x37b)])(_0x48e304,this[_0x41ced6(0x304)])));}};_0x597388=_0x4262d0([_0x10a923(0x0,_0x48e19f[_0x1888a5(0x348)]),_0x10a923(0x1,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1e04c6[_0x1888a5(0x2e8)]))],_0x597388);var _0x2a02d2=class extends _0x1e04c6[_0x1888a5(0x1cb)]{constructor(){const _0x5a2540=_0x1888a5;super(),_0x51a179(this,'_dialogOptions$',new _0x2a040b[(_0x5a2540(0x372))]());}[_0x1888a5(0x161)](){return(0x0,_0x1e04c6['toDisposable'])(()=>{});}[_0x1888a5(0x18e)](){}[_0x1888a5(0x201)](_0x1aed54){}['getDialogs$'](){const _0x2b7f67=_0x1888a5;return this[_0x2b7f67(0x117)][_0x2b7f67(0x389)]();}};let _0x36624d=class extends _0x1e04c6[_0x1888a5(0x345)]{constructor(_0xe00146=_0x36c15a,_0x1496b3,_0x3bb138,_0x17a71c){const _0x31d380=_0x1888a5;super(),this[_0x31d380(0x96)]=_0xe00146,this[_0x31d380(0x304)]=_0x1496b3,this[_0x31d380(0x2f2)]=_0x3bb138,this[_0x31d380(0x362)]=_0x17a71c;let {..._0x594022}=(0x0,_0x1e04c6['merge'])({},_0x36c15a,this[_0x31d380(0x96)]);this[_0x31d380(0x362)]['setConfig'](_0x1ec56e,_0x594022);}['onStarting'](){const _0x1da10b=_0x1888a5;[[_0x570b37],[_0xc63c08],[_0x2f5c48],[_0x50ccf5],[_0x597388],[_0x2e2af9],[_0x368552['ISnapshotServerService'],{'useClass':_0x101bb8[_0x1da10b(0x191)]}],[_0x48e19f[_0x1da10b(0x2f1)],{'useClass':_0x2a02d2}],[_0x50ad73[_0x1da10b(0x313)],{'useClass':_0x101bb8[_0x1da10b(0x2bc)]}]][_0x1da10b(0x157)](_0x33f35b=>this[_0x1da10b(0x304)][_0x1da10b(0x3ac)](_0x33f35b)),this[_0x1da10b(0x304)][_0x1da10b(0x2c5)](_0xc63c08);}[_0x1888a5(0x3d5)](){const _0x4aa0fa=_0x1888a5;[[_0x2f325f]][_0x4aa0fa(0x157)](_0x1546ab=>{const _0x225a69=_0x4aa0fa;this[_0x225a69(0x270)](this[_0x225a69(0x2f2)][_0x225a69(0x359)](_0x1e04c6[_0x225a69(0x1d9)][_0x225a69(0x2eb)],_0x1546ab));}),this[_0x4aa0fa(0x304)][_0x4aa0fa(0x2c5)](_0x2e2af9),this[_0x4aa0fa(0x304)][_0x4aa0fa(0x2c5)](_0x597388);}[_0x1888a5(0x19d)](){const _0x3cbf0a=_0x1888a5;this[_0x3cbf0a(0x304)][_0x3cbf0a(0x2c5)](_0x2f5c48);}};_0x51a179(_0x36624d,_0x1888a5(0x353),_0x1888a5(0x3ed)),_0x51a179(_0x36624d,'packageName',_0x3d3d1f),_0x51a179(_0x36624d,'version',_0x39587f),_0x36624d=_0x4262d0([(0x0,_0x1e04c6['DependentOn'])(_0x5d2266[_0x1888a5(0x3a6)],_0x4a1ebd['UniverNetworkPlugin']),_0x10a923(0x1,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1e04c6['Injector'])),_0x10a923(0x2,_0x253621[_0x1888a5(0x358)]),_0x10a923(0x3,_0x1e04c6['IConfigService'])],_0x36624d);function _0x5dfb15(){const _0x14cff2=_0x1888a5;let _0x564071=(0x0,_0x48e19f[_0x14cff2(0x31c)])(_0x570b37),_0x18005e=(0x0,_0x48e19f['useDependency'])(_0x1e04c6[_0x14cff2(0x170)]),_0x137261=(0x0,_0x48e19f[_0x14cff2(0x15d)])(_0x564071[_0x14cff2(0x355)]),_0x91b42f=(0x0,_0x5e6334['useMemo'])(()=>_0x137261?_0x564071[_0x14cff2(0x168)]():!0x1,[_0x564071,_0x137261]),_0x245bc1=(0x0,_0x5e6334['useCallback'])(()=>{const _0x1740d4=_0x14cff2;_0x564071[_0x1740d4(0x2b3)]=_0x1740d4(0x24b);},[_0x564071]),_0x13be40=(0x0,_0x5e6334[_0x14cff2(0x1c0)])(()=>{const _0x20f2a4=_0x14cff2;_0x564071[_0x20f2a4(0xa4)]();},[_0x564071]);return(0x0,_0x1d3622[_0x14cff2(0x1f1)])(_0x14cff2(0x2fd),{'className':(0x0,_0x2a5339[_0x14cff2(0x3ad)])(_0x14cff2(0x1f2),_0x2a5339[_0x14cff2(0x343)]),'children':[(0x0,_0x1d3622[_0x14cff2(0x1a2)])('a',{'className':_0x14cff2(0x281),'role':_0x14cff2(0x228),'onClick':_0x245bc1,'children':(0x0,_0x1d3622[_0x14cff2(0x1a2)])(_0x207ac6,{'className':_0x14cff2(0x196)})}),(0x0,_0x1d3622[_0x14cff2(0x1a2)])(_0x14cff2(0x2fd),{'className':_0x14cff2(0x148),'children':_0x91b42f&&(0x0,_0x1d3622[_0x14cff2(0x1a2)])(_0x2a5339[_0x14cff2(0xd7)],{'variant':_0x14cff2(0x1ee),'onClick':_0x13be40,'children':_0x18005e['t'](_0x14cff2(0x310))})})]});}let _0x53ce2c=class extends _0x1e04c6[_0x1888a5(0x1cb)]{constructor(_0x31ae81,_0x41948a,_0x501d33,_0x14bc38,_0xe92f28,_0x133489,_0x4b50e2){const _0x24e269=_0x1888a5;super(),this['_permissionService']=_0x31ae81,this['_uiPartsService']=_0x41948a,this[_0x24e269(0x1e0)]=_0x501d33,this[_0x24e269(0x25d)]=_0x14bc38,this['_historyManagerService']=_0xe92f28,this[_0x24e269(0x304)]=_0x133489,this['_configService']=_0x4b50e2,this['_init']();}[_0x1888a5(0x10e)](){const _0x4170b8=_0x1888a5;this[_0x4170b8(0x270)](this[_0x4170b8(0x364)][_0x4170b8(0x355)][_0x4170b8(0x3d2)](_0x239717=>{const _0x557bd2=_0x4170b8;_0x239717&&this[_0x557bd2(0x364)][_0x557bd2(0x1d8)](_0x239717);})),this[_0x4170b8(0x270)](this[_0x4170b8(0x2c7)][_0x4170b8(0x2de)][_0x4170b8(0x3d2)](_0x59139b=>{const _0x5dbb49=_0x4170b8;let _0x509339=this[_0x5dbb49(0x364)][_0x5dbb49(0x333)];_0x509339&&(_0x59139b[_0x5dbb49(0x30a)]===_0x576ab1['UnitAction'][_0x5dbb49(0x1c9)]&&_0x59139b[_0x5dbb49(0xac)]===!0x0&&this[_0x5dbb49(0x2c7)]['updatePermissionPoint'](new _0x37090c[(_0x5dbb49(0x38e))](_0x509339)['id'],!0x1),_0x59139b['subType']===_0x576ab1[_0x5dbb49(0x386)][_0x5dbb49(0x261)]&&_0x59139b['value']===!0x0&&this[_0x5dbb49(0x2c7)][_0x5dbb49(0x8f)](new _0x37090c[(_0x5dbb49(0x1ac))](_0x509339)['id'],!0x1),_0x59139b[_0x5dbb49(0x30a)]===_0x576ab1['UnitAction'][_0x5dbb49(0x375)]&&_0x59139b['value']===!0x0&&this[_0x5dbb49(0x2c7)][_0x5dbb49(0x8f)](new _0x37090c['WorkbookMoveSheetPermission'](_0x509339)['id'],!0x1),_0x59139b[_0x5dbb49(0x30a)]===_0x576ab1[_0x5dbb49(0x386)][_0x5dbb49(0xde)]&&_0x59139b['value']===!0x0&&this['_permissionService'][_0x5dbb49(0x8f)](new _0x37090c[(_0x5dbb49(0x32b))](_0x509339)['id'],!0x1),_0x59139b[_0x5dbb49(0x30a)]===_0x576ab1[_0x5dbb49(0x386)][_0x5dbb49(0x3d7)]&&_0x59139b['value']===!0x0&&this[_0x5dbb49(0x2c7)][_0x5dbb49(0x8f)](new _0x37090c['WorkbookEditablePermission'](_0x509339)['id'],!0x1),_0x59139b['subType']===_0x576ab1['UnitAction'][_0x5dbb49(0x223)]&&_0x59139b[_0x5dbb49(0xac)]===!0x0&&this[_0x5dbb49(0x2c7)][_0x5dbb49(0x8f)](new _0x37090c[(_0x5dbb49(0x38e))](_0x509339)['id'],!0x1));})),this[_0x4170b8(0xdb)]();let _0x4cb5a1;this['disposeWithMe'](this['_historyManagerService'][_0x4170b8(0x1ef)][_0x4170b8(0x3d2)](_0x543ff4=>{const _0x58eb91=_0x4170b8;this['_messageService'][_0x58eb91(0x2c2)](),_0x4cb5a1==null||_0x4cb5a1['dispose'](),_0x543ff4===_0x58eb91(0x3b5)&&(this[_0x58eb91(0x364)][_0x58eb91(0x3c8)](),_0x4cb5a1=this[_0x58eb91(0x1e0)]['show']({'type':_0x2a5339['MessageType'][_0x58eb91(0x1bf)],'content':this[_0x58eb91(0x25d)]['t'](_0x58eb91(0x286)),'duration':0x3e8})),_0x543ff4===_0x58eb91(0x1b7)&&this[_0x58eb91(0x364)][_0x58eb91(0x2e2)]();}));}[_0x1888a5(0xdb)](){const _0x45ea00=_0x1888a5;var _0x4e2316;(_0x4e2316=this[_0x45ea00(0x362)][_0x45ea00(0x385)]('edit-history-viewer.config'))!=null&&_0x4e2316[_0x45ea00(0x9b)]||this[_0x45ea00(0x270)](this[_0x45ea00(0x23d)][_0x45ea00(0x177)](_0x48e19f[_0x45ea00(0x27a)][_0x45ea00(0x404)],()=>(0x0,_0x48e19f['connectInjector'])(_0x5dfb15,this[_0x45ea00(0x304)])));}};_0x53ce2c=_0x4262d0([_0x10a923(0x0,_0x1e04c6[_0x1888a5(0x22a)]),_0x10a923(0x1,_0x48e19f[_0x1888a5(0x348)]),_0x10a923(0x2,_0x48e19f['IMessageService']),_0x10a923(0x3,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1e04c6[_0x1888a5(0x170)])),_0x10a923(0x4,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x570b37)),_0x10a923(0x5,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1e04c6[_0x1888a5(0x2e8)])),_0x10a923(0x6,_0x1e04c6[_0x1888a5(0x3dc)])],_0x53ce2c);let _0x5d37d9=[{'key':0x0,'labelKey':_0x1888a5(0x271)},{'key':0x1,'labelKey':'editHistory.panel.filterUser'},{'key':0x2,'labelKey':'editHistory.panel.filterAi'}];function _0x1c0eef(_0x12be1b){const _0x1202eb=_0x1888a5;let {className:_0x3f8bfb}=_0x12be1b;return(0x0,_0x1d3622[_0x1202eb(0x1f1)])(_0x1202eb(0x328),{'className':_0x3f8bfb,'fill':_0x1202eb(0x3c6),'height':'20','viewBox':_0x1202eb(0x1f6),'width':'20','xmlns':_0x1202eb(0x3bb),'children':[(0x0,_0x1d3622[_0x1202eb(0x1a2)])(_0x1202eb(0x186),{'d':_0x1202eb(0x21b),'fill':_0x1202eb(0x40a)}),(0x0,_0x1d3622[_0x1202eb(0x1a2)])('defs',{'children':(0x0,_0x1d3622[_0x1202eb(0x1f1)])(_0x1202eb(0x158),{'gradientUnits':_0x1202eb(0x132),'id':'paint0_linear_236_415','x1':'1.66418','x2':_0x1202eb(0x371),'y1':_0x1202eb(0x93),'y2':_0x1202eb(0xa3),'children':[(0x0,_0x1d3622[_0x1202eb(0x1a2)])(_0x1202eb(0x24c),{'offset':_0x1202eb(0x392),'stopColor':_0x1202eb(0x251)}),(0x0,_0x1d3622[_0x1202eb(0x1a2)])(_0x1202eb(0x24c),{'offset':_0x1202eb(0x106),'stopColor':'#A656FF'}),(0x0,_0x1d3622[_0x1202eb(0x1a2)])(_0x1202eb(0x24c),{'offset':_0x1202eb(0x361),'stopColor':_0x1202eb(0x300)}),(0x0,_0x1d3622[_0x1202eb(0x1a2)])('stop',{'offset':'1','stopColor':_0x1202eb(0x21e)})]})})]});}function _0x3d51fa(_0x2a882c){const _0xe05cef=_0x1888a5;let {value:_0x35e5cc,onChange:_0x393d95}=_0x2a882c,_0x39fb2b=(0x0,_0x48e19f[_0xe05cef(0x31c)])(_0x1e04c6[_0xe05cef(0x170)]);return(0x0,_0x1d3622[_0xe05cef(0x1a2)])('div',{'className':_0xe05cef(0x99),'children':(0x0,_0x1d3622['jsx'])(_0x2a5339[_0xe05cef(0x19f)],{'items':_0x5d37d9['map'](_0x3a7637=>({'label':_0x39fb2b['t'](_0x3a7637[_0xe05cef(0x30b)]),'value':_0x3a7637[_0xe05cef(0x1d0)]})),'value':_0x35e5cc,'onChange':_0x393d95})});}function _0x12442c(){const _0x3762cb=_0x1888a5;var _0x4c583c,_0x1e3228;let _0x483c92=(0x0,_0x48e19f[_0x3762cb(0x31c)])(_0x570b37),_0x4841aa=(0x0,_0x48e19f[_0x3762cb(0x31c)])(_0x50ccf5),_0x183776=(0x0,_0x48e19f['useDependency'])(_0x2f5c48),_0x48cf92=(0x0,_0x48e19f[_0x3762cb(0x31c)])(_0x1e04c6[_0x3762cb(0x3dc)]),_0x420be2=(0x0,_0x48e19f[_0x3762cb(0x15d)])(_0x483c92[_0x3762cb(0x195)]),_0x103b82=(0x0,_0x48e19f[_0x3762cb(0x15d)])(_0x483c92[_0x3762cb(0x16e)],[]),[_0x26c1a3,_0x3754e3]=(0x0,_0x5e6334[_0x3762cb(0x23c)])(new Set()),[_0x47b3b8,_0x17ae3a]=(0x0,_0x5e6334[_0x3762cb(0x23c)])(new Map()),[_0x3603f,_0x568c96]=(0x0,_0x5e6334[_0x3762cb(0x23c)])(new Set()),[_0x16f6c3,_0x2a5573]=(0x0,_0x5e6334[_0x3762cb(0x23c)])(0x0),_0x5dd7a0=(0x0,_0x48e19f['useDependency'])(_0x1e04c6[_0x3762cb(0x170)]),_0x301fff=(0x0,_0x5e6334[_0x3762cb(0x268)])(null),[_0x28d2a1,_0x513160]=(0x0,_0x5e6334[_0x3762cb(0x23c)])(!0x1),[_0x21d756,_0x1e4d80]=(0x0,_0x5e6334[_0x3762cb(0x23c)])([]),_0x17f28d=(_0x4c583c=(_0x1e3228=_0x48cf92[_0x3762cb(0x385)]('edit-history-viewer.config'))==null?void 0x0:_0x1e3228['historyAIassistantEnabled'])==null?!0x1:_0x4c583c,_0x4b233e=_0x2d393f(_0x420be2),[_0x281989,_0x29d2f4]=(0x0,_0x5e6334[_0x3762cb(0x23c)])([]),_0xcb98ad=(0x0,_0x5e6334[_0x3762cb(0x39c)])(()=>_0x103b82[_0x3762cb(0x37e)](_0x4119d3=>({'key':_0x4119d3['userId'],'label':_0x4119d3[_0x3762cb(0x21a)]})),[_0x103b82]);(0x0,_0x5e6334[_0x3762cb(0xc2)])(()=>{const _0xafcf04=_0x3762cb;_0x483c92[_0xafcf04(0x111)]();},[]);let _0x4a862b=(0x0,_0x5e6334[_0x3762cb(0x1c0)])(_0xec0c82=>{const _0x374622=_0x3762cb;_0x29d2f4([]),_0x2a5573(_0xec0c82),_0x483c92['unitId']&&_0x483c92[_0x374622(0x232)](_0x483c92[_0x374622(0x333)],{'origin':_0xec0c82});},[_0x483c92]);(0x0,_0x5e6334[_0x3762cb(0xc2)])(()=>{const _0x1d82d5=_0x3762cb;let _0x3951b6=_0x301fff['current'];if(!_0x3951b6)return;let _0x14cbec,_0x393c8c=_0x1089f7=>{clearTimeout(_0x14cbec),_0x14cbec=setTimeout(()=>{const _0x575872=_0x5c10;let {target:_0x5377bf}=_0x1089f7;if(_0x5377bf){let {scrollTop:_0x2467fa,scrollHeight:_0x3d8e56,clientHeight:_0x53ea08}=_0x5377bf;_0x2467fa+_0x53ea08>=_0x3d8e56-0x5&&_0x483c92[_0x575872(0x28e)]();}},0x64);};return _0x3951b6['addEventListener'](_0x1d82d5(0x2b0),_0x393c8c),()=>{const _0x14a439=_0x1d82d5;clearTimeout(_0x14cbec),_0x3951b6[_0x14a439(0x178)]('scroll',_0x393c8c);};},[_0x483c92]);let _0x11334e=(0x0,_0x5e6334[_0x3762cb(0x1c0)])(async _0x4f4d10=>{const _0x4772b5=_0x3762cb;let _0x161a36=_0x4f4d10['id'];if(_0x26c1a3[_0x4772b5(0x291)](_0x161a36)){_0x3754e3(_0x3fc069=>{const _0xd81329=_0x4772b5;let _0x27d007=new Set(_0x3fc069);return _0x27d007[_0xd81329(0x1ab)](_0x161a36),_0x27d007;});return;}if(_0x47b3b8[_0x4772b5(0x291)](_0x161a36)){_0x3754e3(_0x6aaed3=>new Set(_0x6aaed3)[_0x4772b5(0x3ac)](_0x161a36));return;}_0x568c96(_0x26337a=>new Set(_0x26337a)[_0x4772b5(0x3ac)](_0x161a36));try{var _0x5ef225;let _0x9e49a0=_0x483c92[_0x4772b5(0x333)];if(!_0x9e49a0)return;let _0x3d87a0=await _0x4841aa[_0x4772b5(0x16d)]({},{'unitId':_0x9e49a0,'startRevision':_0x4f4d10[_0x4772b5(0x1dd)],'endRevision':_0x4f4d10[_0x4772b5(0xb0)]});if(((_0x5ef225=_0x3d87a0['error'])==null?void 0x0:_0x5ef225['code'])===0x1&&_0x3d87a0['changesets']){let _0x5766fc=_0x3d87a0['changesets'][_0x4772b5(0x17d)]()[_0x4772b5(0x37e)](_0x4fc8eb=>{const _0x2bbd0e=_0x4772b5;var _0x4e2c9d,_0xeef7db;let _0x11e04c=(0x0,_0x368552[_0x2bbd0e(0x2a2)])(_0x4fc8eb),_0x2e3c80=_0x4fc8eb['userID']||_0x11e04c[_0x2bbd0e(0x401)],_0x399f53=(_0x4e2c9d=_0x3d87a0[_0x2bbd0e(0x118)])==null?void 0x0:_0x4e2c9d[_0x2e3c80],_0x5ba8a1=((_0xeef7db=_0x4fc8eb[_0x2bbd0e(0xd2)])==null?void 0x0:_0xeef7db[_0x2bbd0e(0x37e)](_0x1e7676=>_0x1e7676['id']))||[];return{'id':_0x161a36+_0x2bbd0e(0x2d8)+_0x4fc8eb['revision'],'unitId':_0x4fc8eb[_0x2bbd0e(0x1ad)],'startRev':_0x4fc8eb['revision'],'endRev':_0x4fc8eb[_0x2bbd0e(0xa6)],'time':_0x4fc8eb[_0x2bbd0e(0x3ca)]?_0x4fc8eb[_0x2bbd0e(0x3ca)]*0x3e8:void 0x0,'user':(_0x399f53==null?void 0x0:_0x399f53[_0x2bbd0e(0x21a)])||'','users':[(_0x399f53==null?void 0x0:_0x399f53[_0x2bbd0e(0x21a)])||''],'commands':_0x5ba8a1,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x161a36,'additionalFields':_0x4fc8eb['additionalFields']};});_0x17ae3a(_0x10c795=>new Map(_0x10c795)[_0x4772b5(0x189)](_0x161a36,_0x5766fc)),_0x5766fc[_0x4772b5(0x157)](_0x19cf52=>{const _0x1dc91b=_0x4772b5;_0x483c92[_0x1dc91b(0x35b)](_0x19cf52);});for(let _0x5da690 of _0x5766fc)await _0x183776[_0x4772b5(0x32d)](_0x5da690['id']);_0x3754e3(_0x255947=>new Set(_0x255947)[_0x4772b5(0x3ac)](_0x161a36));}}catch(_0x19209d){console[_0x4772b5(0x10c)]('Failed\x20to\x20fetch\x20version\x20details:',_0x19209d);}finally{_0x568c96(_0x550d78=>{const _0xb0629a=_0x4772b5;let _0x2d840b=new Set(_0x550d78);return _0x2d840b[_0xb0629a(0x1ab)](_0x161a36),_0x2d840b;});}},[_0x26c1a3,_0x47b3b8,_0x483c92,_0x4841aa,_0x183776]);return _0x420be2?(0x0,_0x1d3622['jsxs'])(_0x3762cb(0x2fd),{'ref':_0x301fff,'className':_0x3762cb(0x2a9),'children':[_0x17f28d&&(0x0,_0x1d3622[_0x3762cb(0x1f1)])(_0x3762cb(0x2fd),{'className':_0x3762cb(0x26d),'children':[(0x0,_0x1d3622['jsx'])(_0x3762cb(0x2fd),{'className':_0x3762cb(0x38f),'children':(0x0,_0x1d3622[_0x3762cb(0x1a2)])(_0x3d51fa,{'value':_0x16f6c3,'onChange':_0x4a862b})}),(0x0,_0x1d3622[_0x3762cb(0x1a2)])(_0x2a5339[_0x3762cb(0x3f6)],{'align':_0x3762cb(0x14b),'open':_0x28d2a1,'onOpenChange':_0x8049f5=>{_0x513160(_0x8049f5),_0x8049f5&&_0x1e4d80(_0x281989);},'overlay':(0x0,_0x1d3622[_0x3762cb(0x1f1)])(_0x3762cb(0x2fd),{'className':_0x3762cb(0x302),'children':[(0x0,_0x1d3622[_0x3762cb(0x1a2)])(_0x3762cb(0x2fd),{'className':_0x3762cb(0x365),'children':_0x5dd7a0['t']('editHistory.panel.filterCollaborator')}),(0x0,_0x1d3622[_0x3762cb(0x1a2)])(_0x3762cb(0x2fd),{'className':_0x3762cb(0xaa)}),(0x0,_0x1d3622[_0x3762cb(0x1a2)])(_0x3762cb(0x2fd),{'className':'univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','children':_0xcb98ad[_0x3762cb(0x37e)](_0x503223=>{const _0x478bed=_0x3762cb;let _0x20baad=_0x21d756[_0x478bed(0x15e)](_0x503223['key']);return(0x0,_0x1d3622[_0x478bed(0x1f1)])(_0x478bed(0x2fd),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-3\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','onClick':()=>{const _0x51e4e1=_0x478bed;_0x1e4d80(_0x20baad?_0x21d756[_0x51e4e1(0x20f)](_0x4f5787=>_0x4f5787!==_0x503223['key']):[..._0x21d756,_0x503223['key']]);},'children':[(0x0,_0x1d3622['jsx'])(_0x2a5339[_0x478bed(0x39f)],{'checked':_0x20baad}),(0x0,_0x1d3622['jsx'])('span',{'className':'univer-text-sm','children':_0x503223[_0x478bed(0x33c)]})]},_0x503223[_0x478bed(0x1d0)]);})}),(0x0,_0x1d3622[_0x3762cb(0x1a2)])('div',{'className':_0x3762cb(0xaa)}),(0x0,_0x1d3622['jsxs'])('div',{'className':_0x3762cb(0x334),'children':[(0x0,_0x1d3622[_0x3762cb(0x1a2)])(_0x2a5339[_0x3762cb(0xd7)],{'size':_0x3762cb(0x18c),'variant':'ghost','onClick':()=>{_0x1e4d80(_0x281989),_0x513160(!0x1);},'children':_0x5dd7a0['t']('editHistory.panel.filterCollaboratorCancel')}),(0x0,_0x1d3622[_0x3762cb(0x1a2)])(_0x2a5339['Button'],{'size':_0x3762cb(0x18c),'onClick':()=>{const _0x19ad5e=_0x3762cb;_0x29d2f4(_0x21d756),_0x483c92[_0x19ad5e(0x333)]&&_0x483c92[_0x19ad5e(0x232)](_0x483c92[_0x19ad5e(0x333)],{'origin':_0x16f6c3,'userIds':_0x21d756}),_0x513160(!0x1);},'children':_0x5dd7a0['t'](_0x3762cb(0x147))})]})]}),'children':(0x0,_0x1d3622['jsx'])(_0x2a5339['Button'],{'className':_0x3762cb(0x1af),'size':_0x3762cb(0x18c),'variant':'ghost','children':(0x0,_0x1d3622[_0x3762cb(0x1a2)])(_0x555f70,{'className':(0x0,_0x2a5339['clsx'])(_0x3762cb(0x283),{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0x281989[_0x3762cb(0x256)]>0x0})})})})]}),(0x0,_0x1d3622['jsx'])(_0x3762cb(0x2fd),{'className':'univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','children':_0x4b233e[_0x3762cb(0x37e)]((_0x4dd1d1,_0x543233)=>(0x0,_0x1d3622[_0x3762cb(0x1f1)])(_0x5e6334['Fragment'],{'children':[(0x0,_0x1d3622[_0x3762cb(0x1a2)])(_0x1d5f06,{'date':_0x4dd1d1[_0x3762cb(0x102)],'startDate':_0x4dd1d1['startDateString'],'endDate':_0x4dd1d1[_0x3762cb(0x380)]}),_0x4dd1d1[_0x3762cb(0x101)][_0x3762cb(0x37e)]((_0x373274,_0x11bbdc)=>{const _0x1ecb27=_0x3762cb;let _0x122f97=_0x26c1a3[_0x1ecb27(0x291)](_0x373274['id']),_0x3e6ba2=_0x3603f[_0x1ecb27(0x291)](_0x373274['id']),_0x4749e6=_0x47b3b8[_0x1ecb27(0x2c5)](_0x373274['id'])||[];return(0x0,_0x1d3622['jsxs'])(_0x5e6334[_0x1ecb27(0x2f5)],{'children':[(0x0,_0x1d3622[_0x1ecb27(0x1a2)])(_0x3a9883,{'item':_0x373274,'onToggleExpand':_0x11334e,'isExpanded':_0x122f97,'isLoadingDetail':_0x3e6ba2}),_0x122f97&&_0x4749e6[_0x1ecb27(0x37e)]((_0x4c210e,_0x117ca6)=>(0x0,_0x1d3622[_0x1ecb27(0x1f1)])('div',{'className':'univer-relative','style':{'marginTop':_0x1ecb27(0x253),'marginBottom':_0x1ecb27(0x253)},'children':[(0x0,_0x1d3622[_0x1ecb27(0x1f1)])(_0x1ecb27(0x2fd),{'className':'univer-absolute\x20univer-top-0\x20univer-h-full','style':{'left':'30px','width':_0x1ecb27(0x3d4)},'children':[_0x117ca6<_0x4749e6['length']-0x1&&(0x0,_0x1d3622[_0x1ecb27(0x1a2)])('div',{'className':_0x1ecb27(0x3ef),'style':{'left':'0','width':_0x1ecb27(0x342)}}),_0x117ca6===_0x4749e6[_0x1ecb27(0x256)]-0x1&&(0x0,_0x1d3622['jsx'])(_0x1ecb27(0x2fd),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','style':{'left':'0','width':_0x1ecb27(0x342),'height':'50%'}}),(0x0,_0x1d3622[_0x1ecb27(0x1a2)])(_0x1ecb27(0x2fd),{'className':_0x1ecb27(0x145),'style':{'left':'0','width':_0x1ecb27(0x3d4),'height':_0x1ecb27(0x342),'transform':_0x1ecb27(0x398)}})]}),(0x0,_0x1d3622[_0x1ecb27(0x1a2)])(_0x3a9883,{'item':_0x4c210e,'isDetail':!0x0})]},_0x543233+'-'+_0x11bbdc+_0x1ecb27(0x2d8)+_0x117ca6))]},_0x543233+'-'+_0x11bbdc);})]},_0x4dd1d1['dateString']))})]}):(0x0,_0x1d3622[_0x3762cb(0x1a2)])(_0x3b43af,{});}function _0x3b43af(){const _0x12f13f=_0x1888a5;return(0x0,_0x1d3622[_0x12f13f(0x1a2)])(_0x12f13f(0x2fd),{'className':_0x12f13f(0x330),'children':(0x0,_0x1d3622[_0x12f13f(0x1a2)])(_0x12f13f(0x33f),{'className':'univer-text-gray-500','children':(0x0,_0x1d3622[_0x12f13f(0x1a2)])(_0x2fb372,{'className':_0x12f13f(0x29d)})})});}function _0x1d5f06(_0x2526ac){const _0x1a09c5=_0x1888a5;let _0x3bb074=(0x0,_0x48e19f[_0x1a09c5(0x31c)])(_0x1e04c6[_0x1a09c5(0x170)]),{date:_0x7172e7,startDate:_0x58ec87=_0x7172e7}=_0x2526ac;return(0x0,_0x1d3622[_0x1a09c5(0x1a2)])('div',{'className':_0x1a09c5(0x165),'children':_0x418b28(_0x58ec87,_0x3bb074[_0x1a09c5(0x247)]())});}function _0x3a9883(_0xc1b7f){const _0x2b1457=_0x1888a5;let {item:_0x503e7d,onToggleExpand:_0x5a1255,isExpanded:_0x10fd26,isLoadingDetail:_0x323875,isDetail:_0x401cd7}=_0xc1b7f,{time:_0x12cc14,user:_0x3de569,startRevCreateTime:_0x2b05bd,endRevCreateTime:_0x38c0a3,users:_0x206b1}=_0x503e7d,_0x332afb=(0x0,_0x48e19f[_0x2b1457(0x31c)])(_0x570b37),_0x3fa782=(0x0,_0x48e19f['useDependency'])(_0x2f5c48),_0xd5019=(0x0,_0x48e19f[_0x2b1457(0x15d)])(_0x332afb['currentVersion$'],'',!0x0)===_0x503e7d['id'],_0x5e301a=_0x332afb['getCurrentUnitCurrentVersion']()===_0x503e7d[_0x2b1457(0xb0)],_0x1906e4=!_0x5e301a&&_0x332afb[_0x2b1457(0x152)],_0x5ef1ed=(0x0,_0x48e19f[_0x2b1457(0x31c)])(_0x1e04c6[_0x2b1457(0x170)]),_0x5cb248=_0x5ef1ed['getCurrentLocale'](),_0x4e11f5=_0x4974cf(_0x12cc14,_0x5cb248),_0x3f530e=_0x4974cf(_0x2b05bd,_0x5cb248),_0x1d2c6c=_0x4974cf(_0x38c0a3,_0x5cb248),_0x53cfdd=_0x5ef1ed['t']('editHistory.panel.currentVersion'),_0x4bccc0=_0x503e7d['startRev']!==_0x503e7d['endRev'],_0x1d356b=!!_0x503e7d['additionalFields'],_0x56786c=(0x0,_0x5e6334[_0x2b1457(0x39c)])(()=>{const _0x2d0612=_0x2b1457;let _0x520842=_0x3de569||_0x5ef1ed['t']('editHistory.panel.unknownUser');return _0x206b1&&_0x206b1[_0x2d0612(0x20f)](_0x9e0fa6=>_0x9e0fa6)[_0x2d0612(0x256)]>0x0&&(_0x520842=_0x206b1[_0x2d0612(0x20f)](_0x1b12e0=>_0x1b12e0)[_0x2d0612(0x9e)](',\x20')),_0x1d356b?''+_0x5ef1ed['t'](_0x2d0612(0x209))+(_0x520842?'\x20('+_0x520842+')':''):_0x520842;},[_0x1d356b,_0x3de569,_0x206b1,_0x5ef1ed]),_0x465c39=(0x0,_0x5e6334['useCallback'])(async _0x4ad240=>{const _0x12d3d7=_0x2b1457;_0x332afb['loadingState']!==_0x12d3d7(0x3b5)&&(_0x332afb['currentVersion']=_0x4ad240,_0x401cd7&&(await _0x3fa782[_0x12d3d7(0x32d)](_0x4ad240),await _0x332afb[_0x12d3d7(0x1d8)](_0x4ad240)));},[_0x332afb,_0x3fa782,_0x401cd7]),_0x65e287=(0x0,_0x5e6334['useCallback'])(_0x3173c3=>{const _0x4108fe=_0x2b1457;_0x332afb[_0x4108fe(0xa4)](_0x3173c3);},[_0x332afb]),_0x3993fc=(0x0,_0x5e6334[_0x2b1457(0x1c0)])(_0x274b34=>{_0x274b34['stopPropagation'](),_0x5a1255&&!_0x323875&&_0x5a1255(_0x503e7d);},[_0x5a1255,_0x503e7d,_0x323875]);return(0x0,_0x1d3622['jsxs'])('div',{'className':(0x0,_0x2a5339[_0x2b1457(0x3ad)])(_0x2b1457(0x124),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0xd5019,'univer-ml-6':_0x401cd7}),'onClick':()=>_0x465c39(_0x503e7d['id']),'children':[(0x0,_0x1d3622['jsx'])('div',{'className':_0x2b1457(0x330),'style':{'width':_0x2b1457(0x11e)},'children':_0x4bccc0&&!_0x401cd7&&(0x0,_0x1d3622[_0x2b1457(0x1a2)])(_0x2b1457(0x2fd),{'onClick':_0x3993fc,'className':_0x2b1457(0x2f9),'children':_0x323875?(0x0,_0x1d3622[_0x2b1457(0x1a2)])(_0x2fb372,{'className':'univer-size-4\x20univer-animate-spin'}):_0x10fd26?(0x0,_0x1d3622['jsx'])(_0x3180c2,{'className':_0x2b1457(0x1a0)}):(0x0,_0x1d3622[_0x2b1457(0x1a2)])(_0x11dc73,{'className':_0x2b1457(0x1a0)})})}),(0x0,_0x1d3622['jsxs'])('div',{'className':_0x2b1457(0x1fe),'children':[(0x0,_0x1d3622[_0x2b1457(0x1f1)])('div',{'className':_0x2b1457(0x331),'children':[(0x0,_0x1d3622[_0x2b1457(0x1f1)])('div',{'className':_0x2b1457(0x16f),'children':[_0x1d356b&&(0x0,_0x1d3622[_0x2b1457(0x1a2)])(_0x1c0eef,{'className':_0x2b1457(0x14f)}),(0x0,_0x1d3622[_0x2b1457(0x1a2)])('span',{'className':_0x2b1457(0x1f3),'children':_0x56786c}),(0x0,_0x1d3622[_0x2b1457(0x1a2)])(_0x2b1457(0x33f),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-center\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x401cd7?_0x4e11f5[_0x2b1457(0x1f5)]:_0x2b05bd===_0x38c0a3?_0x3f530e[_0x2b1457(0x1f5)]:_0x3f530e[_0x2b1457(0x1f5)]+'\x20-\x20'+_0x1d2c6c['time']}),_0x5e301a&&(0x0,_0x1d3622[_0x2b1457(0x1a2)])(_0x2b1457(0x33f),{'className':'univer-ml-1\x20univer-flex\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x53cfdd})]}),(0x0,_0x1d3622[_0x2b1457(0x1a2)])(_0x2b1457(0x2fd),{'children':_0x1906e4&&(0x0,_0x1d3622['jsx'])(_0x2a5339['Tooltip'],{'title':_0x5ef1ed['t']('editHistory.panel.revertDesc'),'children':(0x0,_0x1d3622[_0x2b1457(0x1a2)])(_0x2b1457(0x2fd),{'onClick':_0x1f8a7a=>{const _0x542088=_0x2b1457;_0x1f8a7a[_0x542088(0x90)](),_0x65e287(_0x503e7d['id']);},'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':(0x0,_0x1d3622[_0x2b1457(0x1a2)])(_0x1c1987,{})})})})]}),(0x0,_0x1d3622[_0x2b1457(0x1a2)])(_0x2b1457(0x2fd),{'className':_0x2b1457(0x20e),'children':_0x2215b7(_0x503e7d,_0x5ef1ed)})]})]});}let _0x4179ba=_0x1888a5(0xef),_0x1d1449=class extends _0x1e04c6[_0x1888a5(0x1cb)]{constructor(_0x3176d1,_0x29edcc,_0x31ce6c,_0x4aeea6,_0x4620c3){const _0x38eb79=_0x1888a5;super(),this['_sidebarService']=_0x3176d1,this['_componentManager']=_0x29edcc,this['_localeService']=_0x31ce6c,this[_0x38eb79(0x364)]=_0x4aeea6,this[_0x38eb79(0x362)]=_0x4620c3,_0x51a179(this,_0x38eb79(0x15f),null),this[_0x38eb79(0x10e)]();}[_0x1888a5(0x10e)](){this['_initPanel']();}['_openPanel'](){const _0x26ffe7=_0x1888a5;var _0x2317cd;if(this[_0x26ffe7(0x15f)])return;let _0x4cfea0=((_0x2317cd=this[_0x26ffe7(0x362)][_0x26ffe7(0x385)](_0x26ffe7(0x29a)))==null?void 0x0:_0x2317cd['historyPanelComponentKey'])||_0x4179ba,_0x3865d8={'header':{'title':this[_0x26ffe7(0x25d)]['t']('editHistory.panel.title')},'children':{'label':_0x4cfea0},'onClose':()=>{const _0x264d20=_0x26ffe7;this[_0x264d20(0x15f)]=null,this['_historyManagerService'][_0x264d20(0x2b3)]='exited';}};this[_0x26ffe7(0x15f)]=this[_0x26ffe7(0xec)][_0x26ffe7(0x161)]({..._0x3865d8});}[_0x1888a5(0x144)](){const _0x1d2848=_0x1888a5;this[_0x1d2848(0x270)](this[_0x1d2848(0x3fe)][_0x1d2848(0x2a5)](_0x4179ba,_0x12442c)),this[_0x1d2848(0x270)](this['_historyManagerService'][_0x1d2848(0x2aa)][_0x1d2848(0x3d2)](_0x166725=>{_0x166725&&this['_openPanel']();}));}};_0x1d1449=_0x4262d0([_0x10a923(0x0,_0x48e19f[_0x1888a5(0x290)]),_0x10a923(0x1,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x48e19f[_0x1888a5(0x28d)])),_0x10a923(0x2,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1e04c6[_0x1888a5(0x170)])),_0x10a923(0x3,(0x0,_0x1e04c6['Inject'])(_0x570b37)),_0x10a923(0x4,_0x1e04c6[_0x1888a5(0x3dc)])],_0x1d1449);let _0x14500e=class extends _0x1e04c6[_0x1888a5(0x345)]{constructor(_0x3f790b=_0x36c15a,_0x3c6d1c,_0x986dbb,_0x22984e){const _0x867739=_0x1888a5;super(),this[_0x867739(0x96)]=_0x3f790b,this[_0x867739(0x304)]=_0x3c6d1c,this[_0x867739(0x2f2)]=_0x986dbb,this[_0x867739(0x362)]=_0x22984e;let {..._0x29347f}=(0x0,_0x1e04c6[_0x867739(0x2fe)])({},_0x36c15a,this[_0x867739(0x96)]);this[_0x867739(0x362)][_0x867739(0x224)](_0x1ec56e,_0x29347f);}[_0x1888a5(0x292)](){const _0x2d2892=_0x1888a5;[[_0x570b37],[_0x53ce2c],[_0x2f5c48],[_0x50ccf5],[_0x1d1449],[_0x2e2af9],[_0x368552[_0x2d2892(0x252)],{'useClass':_0x101bb8[_0x2d2892(0x191)]}],[_0x48e19f['IDialogService'],{'useClass':_0x2a02d2}],[_0x50ad73[_0x2d2892(0x313)],{'useClass':_0x101bb8[_0x2d2892(0x2bc)]}]][_0x2d2892(0x157)](_0x4ba58f=>this[_0x2d2892(0x304)][_0x2d2892(0x3ac)](_0x4ba58f)),this[_0x2d2892(0x304)][_0x2d2892(0x2c5)](_0x53ce2c);}[_0x1888a5(0x3d5)](){const _0x397445=_0x1888a5;[[_0x2f325f]][_0x397445(0x157)](_0x230473=>{const _0x3ad993=_0x397445;this[_0x3ad993(0x270)](this[_0x3ad993(0x2f2)][_0x3ad993(0x359)](_0x1e04c6[_0x3ad993(0x1d9)][_0x3ad993(0x2eb)],_0x230473));}),this[_0x397445(0x304)][_0x397445(0x2c5)](_0x2e2af9),this['_injector'][_0x397445(0x2c5)](_0x1d1449);}[_0x1888a5(0x19d)](){this['_injector']['get'](_0x2f5c48);}};_0x51a179(_0x14500e,_0x1888a5(0x353),'UNIVER_EDIT_HISTORY_VIEWER_PLUGIN'),_0x51a179(_0x14500e,_0x1888a5(0x315),_0x3d3d1f),_0x51a179(_0x14500e,'version',_0x39587f),_0x14500e=_0x4262d0([(0x0,_0x1e04c6[_0x1888a5(0x3b2)])(_0x5d2266[_0x1888a5(0x274)],_0x4a1ebd[_0x1888a5(0x37c)]),_0x10a923(0x1,(0x0,_0x1e04c6[_0x1888a5(0x35a)])(_0x1e04c6[_0x1888a5(0x2e8)])),_0x10a923(0x2,_0x253621[_0x1888a5(0x358)]),_0x10a923(0x3,_0x1e04c6[_0x1888a5(0x3dc)])],_0x14500e),Object[_0x1888a5(0x2a8)](_0x1218c5,'HistoryManagerService',{'enumerable':!0x0,'get':function(){return _0x570b37;}}),_0x1218c5[_0x1888a5(0x287)]=_0x4afadc,_0x1218c5[_0x1888a5(0x32e)]=_0x1d3600,Object['defineProperty'](_0x1218c5,_0x1888a5(0x26a),{'enumerable':!0x0,'get':function(){return _0x36624d;}}),Object['defineProperty'](_0x1218c5,_0x1888a5(0x2ea),{'enumerable':!0x0,'get':function(){return _0x14500e;}}),Object[_0x1888a5(0x2a8)](_0x1218c5,_0x1888a5(0x20a),{'enumerable':!0x0,'get':function(){return _0x2f325f;}}),Object[_0x1888a5(0x2a8)](_0x1218c5,_0x1888a5(0x169),{'enumerable':!0x0,'get':function(){return _0x2f5c48;}});}));
|
|
17
|
+
function _0x537c(){const _0x46df94=['onStarting','editHistory.panel.currentUser','removeRow','ErrorCode','SetWorksheetDefaultStyleMutation','getVersion','setInterval','setCF','deleteDrawings','univer-animate-spin\x20univer-text-gray-400','UniverNetworkPlugin','measureText','getUnitId','jsx','tag','loadSheet','UniverProtocol','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','_sheetsChartService','refreshRangeProtectPermission','recalcFilter','clearTimeout','Info','rangeInfo','jsxs','_permissionService','AddPivotFieldMutation','SetWorksheetHideMutation','moveCols','getSheets','_httpService','Disposable','univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','confirm-revert-revision','updateBorderRanges','shapeId','subUnitIds','CollaborationImageIoService','updateShapeType','amd','rgba','allRanges','showMask','/cs?startRevision=','_dataValidationModel','anonymous','_loadingState$','triggerLoadSheet','blocks','LocaleType','packageName','reorderRange','_messageService','tableId','status','viewportScrollX','ruleId','loaded','SetWorksheetRowIsAutoHeightMutation','SetRowDataMutation','RemoveSheetsShapeMutation','getVersions','_init','removeDV','RenamePivotFieldMutation','_handleOverlappingShapes','rgba(46,125,50,0.5)','executeCommand','scroll','edit-history-viewer.config','editHistory.panel.aiAssistant','_renderArrowRanges','_initActiveSwitch','rxjs','Entered','MoveRowsMutation','unknownUser','removeSheet','currentVersion$','_currentVersionDiff$','UnitAction','makeDirty','insertBorderRanges','VIEW_MAIN','pipe','50%','endRow','categorizeMutationRanges','_getActiveSubUnitId','_yieldToMain','more-down-icon','url(#paint0_linear_236_415)','editHistory.action.revertSheetSuffix','now','sheet','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','10518VMhKtG','ICommandService','scrollToViewportPos','disposeUnit','end','addProtection','deleteRangeProtection','ReorderRangeMutation','setRowHeight','arrowColumnRanges','getElementById','SetWorksheetRowAutoHeightMutation','_detailVersionsMap','editHistory.panel.filterAi','replace','value','moveRows','_historyFetchService','restore-icon_clip0_1247_2','UniverProSheetsSparkline','highlightSecond','_removeDiffMarks','DeleteWorksheetProtectionMutation','addEventListener','_members','constructor','pivotTableId','loadMoreVersions','registerComponent','1000','addPivotField','toString','setPivotValueFilter','insertChart','removeChart','RemoveNumfmtMutation','displayName','_hasMore','switchMap','setWorksheetRangeTheme','onSteady','setProtection','SetPivotPositionMutation','useCallback','add','bottom','InsertSheetsShapeMutation','_renderBorderRanges','currentSkeleton$','toStringTag','onMouseMove','getMinutes','RevertRevisionMutation','mask','_config','VIRTUAL_VERSION_NOW','SetSheetSparklineMutation','updateValuePosition','absolute','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','MoveConditionalRuleMutation','editHistory.panel.currentVersion','_scrollToShape','entered','getCurrentUnitCurrentVersion','0px','ensureVersion','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-center\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','CopyWorksheetEndMutation','useMemo','showText','from','hideCol','concat','iterator',',\x200.2)','getSeconds','loadingState','isTransformMutationsSuccess','current','groupIds','path','editHistory.action.','updateBorder','SetWorksheetRightToLeftMutation','unmergeCells','findAllRectangle','Dropdown','UpdateSheetsShapeTypeMutation','lineTo','SHEET_VIEWPORT_KEY','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','fill','getVpScrollXYInfoByPosToVp','startRevision','save','Plugin','arrowRow','Subject','getRule','loading-multi-icon','1246tSqBoy','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ObjectMatrix','values','-drawing-','HTTPService','1em','revertSheet','0.24.0','univer-flex-1','_renderDrawingHighlights','rgba(21,101,192,0.5)','_transformMutationByOrder','univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','_canRevert','AddDataValidationMutation','next','_showText','deleteBorderRanges','parseProtocolChangeset','close','_getSheetObject','http://www.w3.org/2000/svg','UpdateValuePositionMutation','editSheet','SetWorksheetOrderMutation','setGridlinesColor','updatePermissionPoint','AddPivotTableMutation','parseInt','editHistory.panel.unknownUser','subscribeEvent','useDependency','users','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','getSheetId','_setVersions','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-min-w-[240px]','DrawingApplyType','Shape','default','InsertRowMutation','arrowColumn','-detail-','UniverProCollaborationClientUi','Error','resolve','12px','2948685ovEceX','init','SetTabColorMutation','18.1758','UniverDataValidation','syncExecuteCommand','RemoveSheetsChartMutation','SheetCollabCursorShape','deleteWorksheetRangeTheme','memberId','SetNumfmtMutation','setRowAutoHeight','UniverDesign','editHistory.header.back','UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN','editHistory.panel.filterCollaborator','justifyContent','sparklines','highlight','editHistory.info.loading','action','rgba(225,\x20225,\x20225,\x200.5)','trim','clearInterval','deleteCellRanges','_componentManager','CreateUnitMutation','getInterceptPoints','stringify','recoverTime','mutations','univer-size-8\x20univer-text-gray-400','_cacheKey','hideRow','837640NrrJom','10px','_startBlinking','IImageIoService','m1Prime','_maskElement','direction','SetSheetTableMutation','insertDrawings','UniverProSheetsShape','removeFilter','drawingId','stopPropagation','univerjs-icon\x20univerjs-icon-','renamePivotField','editHistory.panel.filterCollaboratorConfirm','update','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_transformService','loadHistoryCreatorList','width','hidden','subUnitId','updatePivotFieldSource','_injector','lineWidth','display','RenameSheet','editHistory.header.revert','_revertRevision$','back-icon','deleteBorder','key','SetColVisibleMutation','_drawVerticalArrow','...','SetColDataMutation','_fetching$','SetSheetTableFilterMutation','object','9sbjqCE','pluginName','call','insertBorder','isArray','_versionDiffService','link','evenodd','removeRangeTheme','showRow','flex','length','editHistory.panel.filterAll','IMessageService','setColCount','0.2)','SetPivotSortMutation','univer-size-4','_sheetSkeletonManagerService','removeEventListener','setPivotFieldFormat','getDrawingByParam','univer-min-w-0\x20univer-flex-1','UniverProSheetsPivot','startColumn','arrowRowRanges','date','MessageType','all','permissionPointUpdate$','SetGridlinesColorMutation','insert','_historyManagerService','setTimeout','MoveRangeMutation','open','ChartUpdateSourceConfigMutation','ghost','split','row','defineProperty','sparklineConfigMap','getCurrentVersion','rgba(198,40,40,0.5)','#A656FF','top','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','hide','COLUMN','InsertColMutation','getCurrentUnitOfType','transform','Comment','currentVersion','getSelectedVersionCanRevert','UniverEditHistoryViewerPlugin','span','_compressMutationService','getHours','SetWorksheetColWidthMutation','versions','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_setFetching','WorkbookRenameSheetPermission','univer-min-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','transparent','setPivotFilter','setShapeProps','setTableFilter','center','_sparklineDataSourceModel','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','removePivotTable','_commandService','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','assign','0.01','filter','SetRowVisibleMutation','univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','getPivotTableRangeInfo','getUnit','xlink:href','keys','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-blue-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','30px','UniverSheetsFilter','WorkbookMoveSheetPermission','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','triggerDblclick','getTableInfo','startsWith','startRow','Fragment','WorkbookHideSheetPermission','addSparkline','addTable','setNumfmt','BehaviorSubject','removeTable','strokeStyle','React','Unspecified','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-break-all\x20univer-font-medium\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','6.77028','unitId$','funnel-icon','createTime','[HistoryFetchService]:\x20request\x20snapshot\x20error!','#0B9EFB','DeleteSheetTableMutation','/list?','subscribe','removeSparkline','getCellPositionByOffset','time','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','updatePivotSource','UniverProCollaborationClient','moveCF','_updateVersions','additionalFields','_sidebarService','SetPivotSubtotalTypeMutation','_versions$','userID','DeleteWorksheetRangeThemeStyleMutation','labelKey','AddSheetTableMutation','REMOVE','_snapshotServerService','ComponentManager','moveTo','_conditionalFormattingRuleModel','column','SetPivotCollapseMutation','fetchCreatorList','restore-icon','removeShape','registerRenderModule','closePath','setRangeProtection','userSpaceOnUse','Rect','DependentOn','Edit','unionPivotViewRange','colorChannel1','_status$','getHistoryChangesets','SetSheetsFilterCriteriaMutation','_getAPIPrefix','_sidebarDisposable','updateCellRanges','LoadingMultiIcon','RangeProtectionRuleModel','univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','_sheetPermissionInitController','removeDiffMarks','getSparklineById','height','editHistory.panel.filterCollaboratorCancel','MoreDownIcon','SetSheetsFilterRangeMutation','getMutationActionMap','UniverCore','startRevCreateTime','_highlight','univer-m-auto\x20univer-animate-spin','small','hideSheet','setConfig','renameSheet','editHistory.panel.revertDesc','_univerInstanceService','combineLatest','HistoryOrigin','ICellEditorManagerService','IRenderManagerService','rowData','HistoryManagerService','useEffect','#2793FF','UpdateDataValidationMutation','none','RemoveSheetMutation','isSheetHidden','UniverProEditHistoryViewer','insertCol','SheetDataValidationModel','RemovePivotTableMutation','Vector2','setTabColor','creators','color','prototype','button','LocaleService','children','_lastPointer','triggerCustomVersions','215060bWnkUV','getUnitOnRev','RemoveSheetsFilterMutation','_initPanel','_rangeProtectionRuleModel','onRendered','has','confirm','Module','getDataRange','univer-size-4\x20univer-shrink-0','random','1061622ESWRTe','canRevert','forEach','rect','_renderManagerService','removeNumfmt','hideMask','_color','setPivotPosition','setColData','_getLighterColor','middle','_hovered','_updateWorksheetVisibility','updateTable','cfId','_uiPartsService','updateDrawings','MoreRightIcon','UniverSheetsMobileUIPlugin','fillStyle','closeAll','SetWorksheetRowHeightMutation','getDialogs$','svg','SetDrawingApplyMutation','_openPanel','origin','updateFieldPosition','toggleGridlines','SetRangeProtectionMutation','CONTENT','merge','useObservable','INSERT','versions$','connectInjector','getDeserializedSheetBlock','createUnit','Segmented','@univerjs-pro/edit-history-viewer','sourceRange','min','setPivotSubtotalType','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','getConfig','_isBlinkVisible','append','MoveColsMutation','_blinkIntervalTimer','restore','code','toISOString','showCol',':\x20(','SetPivotFilterMutation','univer-flex\x20univer-min-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','RemoveWorksheetMergeMutation','map','showDiffMarks','rgb','709564JDKmwX','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getMember','drawingIds','triggerLoadVersions','max','_openPanel$','updateDrawing','DeleteRangeProtectionMutation','removeCol','creators$','&endRevision=','_blinkTimer','forwardRef','editHistory.panel.title','objects','targetRange','SetConditionalRuleMutation','M1\x203.87476C1\x204.97933\x201.89543\x205.87476\x203\x205.87476L3\x207.67383C3\x208.7784\x203.89543\x209.67383\x205\x209.67383H5.5V13.5252C5.5\x2014.4089\x206.21634\x2015.1252\x207.1\x2015.1252H8.9C9.78366\x2015.1252\x2010.5\x2014.4089\x2010.5\x2013.5252V9.67383H11C12.1046\x209.67383\x2013\x208.7784\x2013\x207.67383V5.87476C14.1046\x205.87476\x2015\x204.97933\x2015\x203.87476V2.87476C15\x201.77019\x2014.1046\x200.874756\x2013\x200.874756H3C1.89543\x200.874756\x201\x201.77019\x201\x202.87476V3.87476ZM13\x202.07476H3C2.55817\x202.07476\x202.2\x202.43293\x202.2\x202.87476V3.87476C2.2\x204.31658\x202.55817\x204.67476\x203\x204.67476L13\x204.67383C13.4418\x204.67383\x2013.8\x204.31658\x2013.8\x203.87476V2.87476C13.8\x202.43293\x2013.4418\x202.07476\x2013\x202.07476ZM4.2\x207.67383V5.87476H11.8V7.67383C11.8\x208.11566\x2011.4418\x208.47383\x2011\x208.47383H5C4.55817\x208.47383\x204.2\x208.11566\x204.2\x207.67383ZM6.7\x209.67437H9.3V13.5252C9.3\x2013.7462\x209.12091\x2013.9252\x208.9\x2013.9252H7.1C6.87909\x2013.9252\x206.7\x2013.7462\x206.7\x2013.5252V9.67437Z','_unitId$','userId','chartModelId','CompressMutationService','highlightRow','_context','active','highlightColumn','exports.@univerjs-pro/collaboration-client-ui.@univerjs/core.@univerjs/drawing.@univerjs/engine-render.@univerjs/sheets.@univerjs/sheets-ui.rxjs.@univerjs/design.@univerjs/ui.@univerjs-pro/collaboration.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-sparkline.@univerjs/data-validation.@univerjs/sheets-conditional-formatting.@univerjs/sheets-drawing.@univerjs/sheets-filter.@univerjs/sheets-table.@univerjs/network.@univerjs/protocol.@univerjs/sheets-data-validation.@univerjs-pro/collaboration-client.react.react/jsx-runtime','SetWorksheetColumnCountMutation','translateY(-50%)','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-3\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','exited','flat','insertCellRanges','AddWorksheetProtectionMutation','unitID','clipPath','url(#$1','addObjects','UpdatePivotFieldSourceInfoMutation','_drawTextBubble','data','RemoveRangeThemeMutation','SheetPermissionInitController','dateString','useRef','slice','removePivotField','name','Checkbox','then','MoveSheet','_drawingDiffs','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','SheetTableService','label','columnData','RemoveRowMutation','getCurrentLocale','editHistory.panel.cancel','setPivotOption','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','parent','symbol','SnapshotServerOverHTTPService','univer-text-xs\x20univer-text-gray-400','ZH_CN','_cellEditorManagerService','_drawingManagerService','IConfirmService','_registerHeader','removeAll','_createUnit','openPanel$','0.655','div','font','_direction','SetRangeValuesMutation','_labelPosition','univer-text-gray-500','_diffRangesMap','_createMask','HEADER','body','dispose','rule','_drawHorizontalArrow','_sheetsPivotTableConfigModel','fillText','editHistory.action.revertSheetPrefix','state$','get','_highlightSecond','find','linearGradient','RemoveSheetSparklineMutation','/creators','_sheetsFilterService','hovered','chartId','set','transformSnapshotToWorkbookData','_diffs','BackIcon','_dialogOptions$','scene','asObservable','reverse','editHistory.action.removeDrawing','cellValue','toPrimitive','updateShapeData','triggerRevert','getMatrix','_confirmService','AddSheetSparklineMutation','Injector','100%','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-justify-end\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-2xl\x20dark:!univer-text-white','mergeCells','range','_currentVersion$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-1/2\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SetWorksheetActiveOperation','UniverSheetsTable','moveRange','setFrozen','SetRangeThemeMutation','_historyContainerId','clear','disposeWithMe','SetWorksheetRangeThemeStyleMutation','UniverNetwork','addRangeProtection','AddWorksheetMergeMutation','_categorizeMutationRanges','flatMap','left','endDateString','getAncestorScale','univer-ml-1\x20univer-flex\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','beginPath','IDialogService','WorkbookEditablePermission','LRUMap','FloatImg','white','getOwnPropertyDescriptor','endRevCreateTime','setDV','horizontal','UniverIcon','idSuffix','UniverProSheetsChart','entities','_stopBlinking','endRevision','SetWorksheetPermissionPointsMutation','getSubUnitId','/universer-api/history','join','IUIPartsService','onPointerEnter$','0\x200\x2016\x2017','editHistory.panel.listFetchError','commands','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','loadingState$','SetRowHiddenMutation','rev','generateDiffMarks','setDefaultStyle','User','setState','insertRow','backgroundColor','params','ruleIds','paint0_linear_236_415','some','getViewport','subType','function','_arrowDiffs','hideDiffMarks','univer-flex-1\x20univer-overflow-y-auto','editHistory.action.etc','position','SetPivotOptionMutation','_initRender','className','getCoordByCell','blockMeta','InsertSheetsChartMutation','style','UpdatePivotTableSourceRangeMutation','_unitCurrentVersionMap','borderBottomClassName','rowHeaderWidth','interceptor','status$','getFilterModel','univer-w-10','stop','rgba(','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','_combineRanges','startRev','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','clsx','_renderCellRanges','lastLabel','ToggleGridlinesMutation','defs','useState','_borderDiffs','HistoryModeStatus','M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','getRange','ReCalcSheetsFilterMutation','currentColor','reorderSheet','hasCommand','COMPRESS_MUTATION_APPLY','changesets','parse','command','string','_applyWorkbookData','HideSheet','FromArray','register','M9.18035\x202.34502C9.21605\x202.15386\x209.31749\x201.9812\x209.46709\x201.85695C9.6167\x201.7327\x209.80504\x201.66469\x209.99951\x201.66469C10.194\x201.66469\x2010.3823\x201.7327\x2010.5319\x201.85695C10.6815\x201.9812\x2010.783\x202.15386\x2010.8187\x202.34502L11.6945\x206.97669C11.7567\x207.30598\x2011.9167\x207.60887\x2012.1537\x207.84583C12.3907\x208.08279\x2012.6936\x208.24282\x2013.0228\x208.30502L17.6545\x209.18085C17.8457\x209.21656\x2018.0183\x209.318\x2018.1426\x209.4676C18.2668\x209.6172\x2018.3348\x209.80555\x2018.3348\x2010C18.3348\x2010.1945\x2018.2668\x2010.3828\x2018.1426\x2010.5324C18.0183\x2010.682\x2017.8457\x2010.7835\x2017.6545\x2010.8192L13.0228\x2011.695C12.6936\x2011.7572\x2012.3907\x2011.9172\x2012.1537\x2012.1542C11.9167\x2012.3912\x2011.7567\x2012.6941\x2011.6945\x2013.0234L10.8187\x2017.655C10.783\x2017.8462\x2010.6815\x2018.0188\x2010.5319\x2018.1431C10.3823\x2018.2673\x2010.194\x2018.3353\x209.99951\x2018.3353C9.80504\x2018.3353\x209.6167\x2018.2673\x209.46709\x2018.1431C9.31749\x2018.0188\x209.21605\x2017.8462\x209.18035\x2017.655L8.30451\x2013.0234C8.24231\x2012.6941\x208.08228\x2012.3912\x207.84532\x2012.1542C7.60836\x2011.9172\x207.30547\x2011.7572\x206.97618\x2011.695L2.34451\x2010.8192C2.15335\x2010.7835\x201.98069\x2010.682\x201.85645\x2010.5324C1.7322\x2010.3828\x201.66418\x2010.1945\x201.66418\x2010C1.66418\x209.80555\x201.7322\x209.6172\x201.85645\x209.4676C1.98069\x209.318\x202.15335\x209.21656\x202.34451\x209.18085L6.97618\x208.30502C7.30547\x208.24282\x207.60836\x208.08279\x207.84532\x207.84583C8.08228\x207.60887\x208.24231\x207.30598\x208.30451\x206.97669L9.18035\x202.34502Z','delete','univer-h-[60%]','SetPivotFieldFormatMutation','UniverSheetsConditionalFormatting','setRangeValues','_extractRanges','setPivotSort','setPivotCollapse','editHistory.panel.revertConfirmText','insertSheet','SetPivotValueFilterMutation','abs','univer-relative','VersionDiffService','_configService','getSelectedVersionIsCurrentVersion','fetching$','AddConditionalRuleMutation','RemoveDataValidationMutation','_updateDiffMarks','_lastLabel','Exited','getRelativeToViewportCoord','show','Button','includes','RangeMergeUtil','BuiltInUIPart','scrollToShape','error','updateChartSource','currentVersionDiff$','startDateString','getCurrentSkeleton','UNIVER_SHEET','editHistory.panel.filterUser','arc','UniverInstanceType','version','189315kyiawI','unitId','getRuleById','ranges','userIds','attrs','Today','ITransformService','history-mask','0\x200\x2016\x2016','endColumn','push','24udqQmZ','IConfigService','padStart','RANGE_TYPE','sort','SetFrozenMutation','univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','createElement','onPointerLeave$','_findOverlappingShapes','UniverSheets','setSparkline','loading','historyListServerUrl','_workbookDataCache','historyPanelHidden','revision','_localeService','ISnapshotServerService','univer-relative\x20univer-h-8','registerDetailVersion','deleteCF','endRev','ROW','_name','loadInitialVersions','Inject'];_0x537c=function(){return _0x46df94;};return _0x537c();}function _0x4cdc(_0x1c0ace,_0x4c38d3){_0x1c0ace=_0x1c0ace-0x89;const _0x537c22=_0x537c();let _0x4cdcc1=_0x537c22[_0x1c0ace];return _0x4cdcc1;}(function(_0x2b8d59,_0x1993bd){const _0x1c08ec=_0x4cdc,_0x167553=_0x2b8d59();while(!![]){try{const _0x5699b9=-parseInt(_0x1c08ec(0x275))/0x1+parseInt(_0x1c08ec(0x11a))/0x2*(parseInt(_0x1c08ec(0x3dc))/0x3)+parseInt(_0x1c08ec(0x163))/0x4+-parseInt(_0x1c08ec(0x392))/0x5+parseInt(_0x1c08ec(0x2fc))/0x6*(parseInt(_0x1c08ec(0x361))/0x7)+-parseInt(_0x1c08ec(0x281))/0x8*(-parseInt(_0x1c08ec(0x126))/0x9)+-parseInt(_0x1c08ec(0x3b4))/0xa;if(_0x5699b9===_0x1993bd)break;else _0x167553['push'](_0x167553['shift']());}catch(_0x124c4b){_0x167553['push'](_0x167553['shift']());}}}(_0x537c,0x49fe1),function(_0x4460d0,_0x16ec86){const _0x5a11cd=_0x4cdc;typeof exports=='object'&&typeof module<'u'?_0x16ec86(exports,require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core`),require(`@univerjs/drawing`),require(`@univerjs/engine-render`),require(`@univerjs/sheets`),require(`@univerjs/sheets-ui`),require(`rxjs`),require(`@univerjs/design`),require(`@univerjs/ui`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-pivot`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs/data-validation`),require(`@univerjs/sheets-conditional-formatting`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-filter`),require(`@univerjs/sheets-table`),require(`@univerjs/network`),require(`@univerjs/protocol`),require(`@univerjs/sheets-data-validation`),require(`@univerjs-pro/collaboration-client`),require(`react`),require(`react/jsx-runtime`)):typeof define==_0x5a11cd(0x21b)&&define[_0x5a11cd(0x2c3)]?define(_0x5a11cd(0x17e)['split']('.'),_0x16ec86):(_0x4460d0=typeof globalThis<'u'?globalThis:_0x4460d0||self,_0x16ec86(_0x4460d0[_0x5a11cd(0x10c)]={},_0x4460d0[_0x5a11cd(0x38e)],_0x4460d0[_0x5a11cd(0xf6)],_0x4460d0['UniverDrawing'],_0x4460d0['UniverEngineRender'],_0x4460d0[_0x5a11cd(0x28b)],_0x4460d0['UniverSheetsUi'],_0x4460d0[_0x5a11cd(0x2e5)],_0x4460d0[_0x5a11cd(0x39e)],_0x4460d0['UniverUi'],_0x4460d0['UniverProCollaboration'],_0x4460d0[_0x5a11cd(0x1fe)],_0x4460d0[_0x5a11cd(0x3f3)],_0x4460d0[_0x5a11cd(0x3bd)],_0x4460d0[_0x5a11cd(0x30f)],_0x4460d0[_0x5a11cd(0x396)],_0x4460d0[_0x5a11cd(0x251)],_0x4460d0['UniverSheetsDrawing'],_0x4460d0[_0x5a11cd(0xa7)],_0x4460d0[_0x5a11cd(0x1e1)],_0x4460d0[_0x5a11cd(0x1e9)],_0x4460d0[_0x5a11cd(0x2ac)],_0x4460d0['UniverSheetsDataValidation'],_0x4460d0[_0x5a11cd(0xc7)],_0x4460d0[_0x5a11cd(0xb6)],_0x4460d0[_0x5a11cd(0xb6)]));}(this,function(_0x50319f,_0x441d37,_0x194df4,_0x1f1463,_0x5d0fdd,_0x593f2f,_0x5204c6,_0x43f35f,_0xb2e2cd,_0x467782,_0x35b334,_0x5d7d4a,_0x3f84e1,_0x5f45f0,_0x5baa48,_0x168f6a,_0x1c7848,_0x5539b8,_0xe8a6fd,_0x1efe2f,_0x30abf3,_0x4f0c6e,_0xaba751,_0x2fa560,_0x308d98,_0x47b9d7){const _0x4919c8=_0x4cdc;Object[_0x4919c8(0x404)](_0x50319f,Symbol[_0x4919c8(0x32d)],{'value':_0x4919c8(0x122)});function _0x4edde0(_0x3525e6=_0x4919c8(0x34e)){const _0x14e4b0=_0x4919c8;return{'collaboration':[{'id':_0x35b334[_0x14e4b0(0x3ac)]['id'],'action':_0x3525e6+'createSheet'},{'id':_0x35b334[_0x14e4b0(0x330)]['id'],'action':_0x3525e6+_0x14e4b0(0x368)}],'sheets':[{'id':_0x593f2f['InsertSheetMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x257)},{'id':_0x593f2f[_0x14e4b0(0x10a)]['id'],'action':_0x3525e6+_0x14e4b0(0x2e9)},{'id':_0x593f2f['SetWorksheetNameMutation']['id'],'action':_0x3525e6+_0x14e4b0(0xfd)},{'id':_0x593f2f[_0x14e4b0(0x37a)]['id'],'action':_0x3525e6+_0x14e4b0(0x242)},{'id':_0x593f2f[_0x14e4b0(0x2b7)]['id'],'action':_0x3525e6+_0x14e4b0(0xfb)},{'id':_0x593f2f[_0x14e4b0(0x340)]['id'],'action':_0x3525e6+'copySheet'},{'id':_0x593f2f[_0x14e4b0(0x394)]['id'],'action':_0x3525e6+_0x14e4b0(0x111)},{'id':_0x593f2f['SetWorkbookNameMutation']['id'],'action':_0x3525e6+'renameWorkbook'},{'id':_0x593f2f[_0x14e4b0(0x38b)]['id'],'action':_0x3525e6+_0x14e4b0(0x213)},{'id':_0x593f2f[_0x14e4b0(0x40d)]['id'],'action':_0x3525e6+_0x14e4b0(0x10d)},{'id':_0x593f2f[_0x14e4b0(0x19c)]['id'],'action':_0x3525e6+_0x14e4b0(0x29e)},{'id':_0x593f2f['RemoveColMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x16c)},{'id':_0x593f2f['MoveRowsMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x30c)},{'id':_0x593f2f[_0x14e4b0(0x156)]['id'],'action':_0x3525e6+_0x14e4b0(0x2b8)},{'id':_0x593f2f[_0x14e4b0(0x9f)]['id'],'action':_0x3525e6+_0x14e4b0(0x3e5)},{'id':_0x593f2f[_0x14e4b0(0x20d)]['id'],'action':_0x3525e6+_0x14e4b0(0x3b3)},{'id':_0x593f2f[_0x14e4b0(0x3d5)]['id'],'action':_0x3525e6+_0x14e4b0(0x15b)},{'id':_0x593f2f['SetColHiddenMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x344)},{'id':_0x593f2f[_0x14e4b0(0x13c)]['id'],'action':_0x3525e6+_0x14e4b0(0x304)},{'id':_0x593f2f[_0x14e4b0(0x8c)]['id'],'action':_0x3525e6+'setColWidth'},{'id':_0x593f2f[_0x14e4b0(0x307)]['id'],'action':_0x3525e6+_0x14e4b0(0x39d)},{'id':_0x593f2f[_0x14e4b0(0x2d6)]['id'],'action':_0x3525e6+'setRowIsAutoHeight'},{'id':_0x593f2f[_0x14e4b0(0x2d7)]['id'],'action':_0x3525e6+'setRowData'},{'id':_0x593f2f['SetColDataMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x12f)},{'id':_0x593f2f['SetWorksheetRowCountMutation']['id'],'action':_0x3525e6+'setRowCount'},{'id':_0x593f2f[_0x14e4b0(0x17f)]['id'],'action':_0x3525e6+_0x14e4b0(0x3ea)},{'id':_0x593f2f[_0x14e4b0(0x1b1)]['id'],'action':_0x3525e6+'setRangeValues'},{'id':_0x593f2f[_0x14e4b0(0x3fe)]['id'],'action':_0x3525e6+_0x14e4b0(0x1e2)},{'id':_0x593f2f[_0x14e4b0(0x303)]['id'],'action':_0x3525e6+_0x14e4b0(0x2cf)},{'id':_0x593f2f[_0x14e4b0(0x1eb)]['id'],'action':_0x3525e6+_0x14e4b0(0x1dc)},{'id':_0x593f2f[_0x14e4b0(0x15f)]['id'],'action':_0x3525e6+'unmergeCells'},{'id':_0x593f2f[_0x14e4b0(0x286)]['id'],'action':_0x3525e6+_0x14e4b0(0x1e3)},{'id':_0x593f2f[_0x14e4b0(0x239)]['id'],'action':_0x3525e6+_0x14e4b0(0x143)},{'id':_0x593f2f[_0x14e4b0(0x3fa)]['id'],'action':_0x3525e6+_0x14e4b0(0x37b)},{'id':_0x593f2f[_0x14e4b0(0x350)]['id'],'action':_0x3525e6+'setRightToLeft'},{'id':_0x593f2f[_0x14e4b0(0x2a0)]['id'],'action':_0x3525e6+_0x14e4b0(0x210)},{'id':_0x593f2f[_0x14e4b0(0x185)]['id'],'action':_0x3525e6+_0x14e4b0(0x301)},{'id':_0x593f2f['SetWorksheetProtectionMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x325)},{'id':_0x593f2f[_0x14e4b0(0x312)]['id'],'action':_0x3525e6+'deleteProtection'},{'id':_0x593f2f['AddRangeProtectionMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x1ea)},{'id':_0x593f2f[_0x14e4b0(0x144)]['id'],'action':_0x3525e6+_0x14e4b0(0xde)},{'id':_0x593f2f['DeleteRangeProtectionMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x302)},{'id':_0x593f2f[_0x14e4b0(0x202)]['id'],'action':_0x3525e6+'setPermissionPoints'},{'id':_0x593f2f[_0x14e4b0(0x39c)]['id'],'action':_0x3525e6+_0x14e4b0(0xb2)},{'id':_0x593f2f[_0x14e4b0(0x31f)]['id'],'action':_0x3525e6+_0x14e4b0(0x12b)},{'id':_0x593f2f['AddRangeThemeMutation']['id'],'action':_0x3525e6+'addRangeTheme'},{'id':_0x593f2f[_0x14e4b0(0x1e4)]['id'],'action':_0x3525e6+'setRangeTheme'},{'id':_0x593f2f[_0x14e4b0(0x18d)]['id'],'action':_0x3525e6+_0x14e4b0(0x3e4)},{'id':_0x593f2f[_0x14e4b0(0x1e8)]['id'],'action':_0x3525e6+_0x14e4b0(0x323)},{'id':_0x593f2f[_0x14e4b0(0xcf)]['id'],'action':_0x3525e6+_0x14e4b0(0x39a)}],'sheetsConditionalFormatting':[{'id':_0x1c7848['AddConditionalRuleMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x2a3)},{'id':_0x1c7848[_0x14e4b0(0x174)]['id'],'action':_0x3525e6+'setCF'},{'id':_0x1c7848['DeleteConditionalRuleMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x296)},{'id':_0x1c7848[_0x14e4b0(0x338)]['id'],'action':_0x3525e6+_0x14e4b0(0xc8)}],'sheetsFilter':[{'id':_0xe8a6fd[_0x14e4b0(0xf4)]['id'],'action':_0x3525e6+'setFilter'},{'id':_0xe8a6fd['SetSheetsFilterCriteriaMutation']['id'],'action':_0x3525e6+'setFilterCriteria'},{'id':_0xe8a6fd[_0x14e4b0(0x11c)]['id'],'action':_0x3525e6+_0x14e4b0(0x3be)},{'id':_0xe8a6fd[_0x14e4b0(0x240)]['id'],'action':_0x3525e6+_0x14e4b0(0x2b0)}],'dataValidation':[{'id':_0x168f6a[_0x14e4b0(0x370)]['id'],'action':_0x3525e6+'setDV'},{'id':_0x168f6a[_0x14e4b0(0x108)]['id'],'action':_0x3525e6+_0x14e4b0(0x1fa)},{'id':_0x168f6a[_0x14e4b0(0x260)]['id'],'action':_0x3525e6+_0x14e4b0(0x2db)}],'sheetsChart':[{'id':_0x5d7d4a[_0x14e4b0(0x226)]['id'],'action':_0x3525e6+_0x14e4b0(0x31d)},{'id':_0x5d7d4a[_0x14e4b0(0x398)]['id'],'action':_0x3525e6+_0x14e4b0(0x31e)},{'id':_0x5d7d4a['ChartUpdateConfigMutation']['id'],'action':_0x3525e6+'updateChartConfig'},{'id':_0x5d7d4a['ChartUpdateSourceConfigMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x26c)}],'sheetsSparkline':[{'id':_0x5baa48[_0x14e4b0(0x1d7)]['id'],'action':_0x3525e6+_0x14e4b0(0xb0)},{'id':_0x5baa48[_0x14e4b0(0x334)]['id'],'action':_0x3525e6+_0x14e4b0(0x28c)},{'id':_0x5baa48['RemoveSheetSparklineMutation']['id'],'action':_0x3525e6+_0x14e4b0(0xc2)}],'sheetsPivot':[{'id':_0x3f84e1[_0x14e4b0(0x37d)]['id'],'action':_0x3525e6+'addPivotTable'},{'id':_0x3f84e1[_0x14e4b0(0x10f)]['id'],'action':_0x3525e6+_0x14e4b0(0x99)},{'id':_0x3f84e1[_0x14e4b0(0x221)]['id'],'action':_0x3525e6+_0x14e4b0(0x19f)},{'id':_0x3f84e1[_0x14e4b0(0x326)]['id'],'action':_0x3525e6+_0x14e4b0(0x12e)},{'id':_0x3f84e1[_0x14e4b0(0x228)]['id'],'action':_0x3525e6+_0x14e4b0(0xc6)},{'id':_0x3f84e1[_0x14e4b0(0x2b6)]['id'],'action':_0x3525e6+_0x14e4b0(0x31a)},{'id':_0x3f84e1['RemovePivotFieldMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x192)},{'id':_0x3f84e1[_0x14e4b0(0x2dc)]['id'],'action':_0x3525e6+'renamePivotField'},{'id':_0x3f84e1['UpdateFieldPositionMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x142)},{'id':_0x3f84e1['UpdateValuePositionMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x335)},{'id':_0x3f84e1[_0x14e4b0(0x18a)]['id'],'action':_0x3525e6+_0x14e4b0(0x3cb)},{'id':_0x3f84e1[_0x14e4b0(0x250)]['id'],'action':_0x3525e6+_0x14e4b0(0x3f0)},{'id':_0x3f84e1[_0x14e4b0(0x15d)]['id'],'action':_0x3525e6+_0x14e4b0(0x93)},{'id':_0x3f84e1['SetPivotValueFilterMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x31c)},{'id':_0x3f84e1[_0x14e4b0(0x3ec)]['id'],'action':_0x3525e6+_0x14e4b0(0x254)},{'id':_0x3f84e1[_0x14e4b0(0xd8)]['id'],'action':_0x3525e6+_0x14e4b0(0x255)},{'id':_0x3f84e1[_0x14e4b0(0xcc)]['id'],'action':_0x3525e6+'setPivotSubtotalType'}],'sheetsShape':[{'id':_0x5f45f0[_0x14e4b0(0x32a)]['id'],'action':_0x3525e6+'insertShape'},{'id':_0x5f45f0[_0x14e4b0(0x2d8)]['id'],'action':_0x3525e6+_0x14e4b0(0xdb)},{'id':_0x5f45f0['UpdateSheetsShapeDataMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x1d3)},{'id':_0x5f45f0['UpdateSheetsShapeTypeMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x2c2)}],'sheetsTable':[{'id':_0x1efe2f[_0x14e4b0(0xd1)]['id'],'action':_0x3525e6+_0x14e4b0(0xb1)},{'id':_0x1efe2f['DeleteSheetTableMutation']['id'],'action':_0x3525e6+_0x14e4b0(0xb4)},{'id':_0x1efe2f['SetSheetTableMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x134)},{'id':_0x1efe2f['SetSheetTableFilterMutation']['id'],'action':_0x3525e6+_0x14e4b0(0x95)}],'sheetsDrawing':[{'id':_0x5539b8[_0x14e4b0(0x13f)]['id'],'action':_0x3525e6+_0x14e4b0(0x16a)}]};}function _0x479697(_0x19bf3f=_0x4919c8(0x34e)){const _0x1745dd=_0x4919c8;let _0x44201b=_0x4edde0(_0x19bf3f);return Object[_0x1745dd(0x364)](_0x44201b)['flat']();}let _0x563f07=(_0x3beeb0,_0x281aa9)=>{const _0x52f7e3=_0x4919c8;if(!_0x3beeb0)return{'date':'','time':''};let _0xa97bb3=new Date(_0x3beeb0),_0x5143e1=_0xa97bb3[_0x52f7e3(0x15a)]()['split']('T')[0x0];switch(_0x281aa9){case _0x194df4['LocaleType'][_0x52f7e3(0x1a5)]:return{'date':_0x1ce734(_0x5143e1,_0x281aa9),'time':_0xa97bb3[_0x52f7e3(0x8b)]()+':'+String(_0xa97bb3[_0x52f7e3(0x32f)]())[_0x52f7e3(0x283)](0x2,'0')+':'+String(_0xa97bb3['getSeconds']())['padStart'](0x2,'0')};default:return{'date':_0x1ce734(_0x5143e1,_0x281aa9),'time':_0xa97bb3[_0x52f7e3(0x8b)]()+':'+_0xa97bb3[_0x52f7e3(0x32f)]()+':'+_0xa97bb3[_0x52f7e3(0x348)]()};}},_0x45f514=(_0x500c7d,_0x4001ba)=>{const _0x51885e=_0x4919c8;if(_0x500c7d[_0x51885e(0x20a)][_0x51885e(0x218)](_0x26e12b=>_0x26e12b===_0x35b334[_0x51885e(0x330)]['id'])&&_0x500c7d['recoverTime']){let _0x3342e9=_0x563f07(_0x500c7d[_0x51885e(0x3af)],_0x4001ba[_0x51885e(0x19d)]()),_0x156b46=_0x3342e9[_0x51885e(0x3f6)]+'\x20'+_0x3342e9[_0x51885e(0xc4)];return _0x4001ba['t'](_0x51885e(0x1bd))+'\x20'+_0x156b46+'\x20'+_0x4001ba['t'](_0x51885e(0x2f8));}let _0xefab60=_0xa585d7(_0x500c7d),_0x6c673b=Array[_0x51885e(0x343)](new Set(_0xefab60)),_0x22255e;if(_0x6c673b[_0x51885e(0x3e7)]===0x1)_0x22255e=_0x4001ba['t'](_0x6c673b[0x0]);else{let _0x3c620a=_0x6c673b[_0x51885e(0x191)](0x0,0x5)['map'](_0x16e49a=>_0x4001ba['t'](_0x16e49a))[_0x51885e(0x205)](',\x20');_0x22255e=_0x6c673b[_0x51885e(0x3e7)]>0x5?''+_0x3c620a+_0x4001ba['t'](_0x51885e(0x21f)):_0x3c620a;}return''+_0x22255e;};function _0xa585d7(_0xb2a324){const _0x354e38=_0x4919c8;if(_0xb2a324[_0x354e38(0x20a)][_0x354e38(0x3e7)]===0x0)return[''];let _0x2455f2=_0x354e38(0x34e),_0x44182e=_0x2455f2+_0x354e38(0x379),_0x44a2fc=_0x479697(_0x2455f2)['filter'](_0x53ccc5=>_0xb2a324[_0x354e38(0x20a)][_0x354e38(0x267)](_0x53ccc5['id']));return _0x44a2fc!=null&&_0x44a2fc[_0x354e38(0x3e7)]?_0x44a2fc[_0x354e38(0x160)](_0x48f801=>_0x48f801[_0x354e38(0x3a6)]):[_0x44182e];}function _0x1ce734(_0x28d8b9,_0x14bab6){const _0x5bfb6a=_0x4919c8;let [_0x416ae9,_0x5c3843,_0x1fb04f]=new Date()[_0x5bfb6a(0x15a)]()[_0x5bfb6a(0x402)]('T')[0x0][_0x5bfb6a(0x402)]('-'),[_0x2491bf,_0x16c159,_0x27b6d2]=_0x28d8b9[_0x5bfb6a(0x402)]('-'),_0x13edf6=_0x416ae9===_0x2491bf&&_0x5c3843===_0x16c159&&_0x1fb04f===_0x27b6d2,_0x3c923f='',_0x49733b='',_0x501c9f='';switch(_0x14bab6){case _0x194df4[_0x5bfb6a(0x2cd)][_0x5bfb6a(0x1a5)]:return _0x13edf6?'今天':(_0x3c923f=_0x416ae9===_0x2491bf?'':_0x2491bf+'年',_0x49733b=_0x16c159+'月',_0x501c9f=_0x27b6d2+'日',''+_0x3c923f+_0x49733b+_0x501c9f);default:return _0x13edf6?_0x5bfb6a(0x27b):(_0x3c923f=_0x416ae9===_0x2491bf?'':_0x2491bf+'-',_0x49733b=_0x16c159+'-',_0x501c9f=''+_0x27b6d2,''+_0x3c923f+_0x49733b+_0x501c9f);}}function _0x487062(_0x1bc2a2){return _0x1bc2a2?_0x1bc2a2['reduce']((_0x1405d0,_0xdd19c3)=>{const _0x344fd2=_0x4cdc;let _0x1e3c3d=new Date(_0xdd19c3[_0x344fd2(0xc4)])[_0x344fd2(0x15a)]()[_0x344fd2(0x402)]('T')[0x0],_0x362ba6=_0xdd19c3[_0x344fd2(0xf7)]?new Date(_0xdd19c3[_0x344fd2(0xf7)])[_0x344fd2(0x15a)]()[_0x344fd2(0x402)]('T')[0x0]:_0x1e3c3d,_0x412585=_0xdd19c3['endRevCreateTime']?new Date(_0xdd19c3[_0x344fd2(0x1f9)])[_0x344fd2(0x15a)]()[_0x344fd2(0x402)]('T')[0x0]:_0x1e3c3d;return _0x1405d0[_0x344fd2(0x3e7)]>0x0&&_0x1405d0[_0x1405d0[_0x344fd2(0x3e7)]-0x1][_0x344fd2(0x26e)]===_0x362ba6?_0x1405d0[_0x1405d0[_0x344fd2(0x3e7)]-0x1][_0x344fd2(0x8d)]['push'](_0xdd19c3):_0x1405d0['push']({'dateString':_0x1e3c3d,'startDateString':_0x362ba6,'endDateString':_0x412585,'versions':[_0xdd19c3]}),_0x1405d0;},[]):[];}let _0x3278b9='edit-history-viewer.config';Symbol(_0x3278b9);let _0x1c81fd={};function _0x367ceb(_0x4e2872){'@babel/helpers - typeof';const _0x39e6fe=_0x4919c8;return _0x367ceb=typeof Symbol==_0x39e6fe(0x21b)&&typeof Symbol[_0x39e6fe(0x346)]==_0x39e6fe(0x1a2)?function(_0xe4210a){return typeof _0xe4210a;}:function(_0x3256f1){const _0x47068e=_0x39e6fe;return _0x3256f1&&typeof Symbol==_0x47068e(0x21b)&&_0x3256f1[_0x47068e(0x315)]===Symbol&&_0x3256f1!==Symbol[_0x47068e(0x114)]?_0x47068e(0x1a2):typeof _0x3256f1;},_0x367ceb(_0x4e2872);}function _0x5829fb(_0x35913e,_0x39eaca){const _0x724fdc=_0x4919c8;if(_0x367ceb(_0x35913e)!=_0x724fdc(0x3db)||!_0x35913e)return _0x35913e;var _0x55aa15=_0x35913e[Symbol[_0x724fdc(0x1d2)]];if(_0x55aa15!==void 0x0){var _0x259d98=_0x55aa15[_0x724fdc(0x3de)](_0x35913e,_0x39eaca||_0x724fdc(0x38a));if(_0x367ceb(_0x259d98)!=_0x724fdc(0x3db))return _0x259d98;throw TypeError(_0x724fdc(0x164));}return(_0x39eaca==='string'?String:Number)(_0x35913e);}function _0x4d471e(_0x99bc51){const _0x1ded60=_0x4919c8;var _0x40bedc=_0x5829fb(_0x99bc51,_0x1ded60(0x248));return _0x367ceb(_0x40bedc)=='symbol'?_0x40bedc:_0x40bedc+'';}function _0x388d57(_0x2a3400,_0x18ed3e,_0x4b7619){const _0x299ece=_0x4919c8;return(_0x18ed3e=_0x4d471e(_0x18ed3e))in _0x2a3400?Object[_0x299ece(0x404)](_0x2a3400,_0x18ed3e,{'value':_0x4b7619,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2a3400[_0x18ed3e]=_0x4b7619,_0x2a3400;}function _0x2928d0(_0x201131,_0xa032f0){return function(_0x29e86,_0x586295){_0xa032f0(_0x29e86,_0x586295,_0x201131);};}function _0x26144c(_0x49b683,_0x5a8102,_0x354f6a,_0x230b32){const _0x3277f3=_0x4919c8;var _0x389ca3=arguments[_0x3277f3(0x3e7)],_0x526065=_0x389ca3<0x3?_0x5a8102:_0x230b32===null?_0x230b32=Object[_0x3277f3(0x1f8)](_0x5a8102,_0x354f6a):_0x230b32,_0x30c03f;if(typeof Reflect==_0x3277f3(0x3db)&&typeof Reflect['decorate']=='function')_0x526065=Reflect['decorate'](_0x49b683,_0x5a8102,_0x354f6a,_0x230b32);else{for(var _0x322951=_0x49b683[_0x3277f3(0x3e7)]-0x1;_0x322951>=0x0;_0x322951--)(_0x30c03f=_0x49b683[_0x322951])&&(_0x526065=(_0x389ca3<0x3?_0x30c03f(_0x526065):_0x389ca3>0x3?_0x30c03f(_0x5a8102,_0x354f6a,_0x526065):_0x30c03f(_0x5a8102,_0x354f6a))||_0x526065);}return _0x389ca3>0x3&&_0x526065&&Object[_0x3277f3(0x404)](_0x5a8102,_0x354f6a,_0x526065),_0x526065;}let _0x42e8ab=function(_0x4d5687){const _0x714463=_0x4919c8;return _0x4d5687[_0x4d5687[_0x714463(0xb7)]=0x0]='Unspecified',_0x4d5687[_0x4d5687[_0x714463(0x211)]=0x1]=_0x714463(0x211),_0x4d5687[_0x4d5687['Character']=0x2]='Character',_0x4d5687;}({}),_0x413f31=class extends _0x194df4[_0x4919c8(0x2bb)]{constructor(_0x3bb49a,_0x13bb1a,_0x35e1b3,_0x685cb8,_0x472bd1,_0x31f038,_0x193385){const _0x4869c1=_0x4919c8;super(),this[_0x4869c1(0xd3)]=_0x3bb49a,this[_0x4869c1(0xff)]=_0x13bb1a,this['_commandService']=_0x35e1b3,this[_0x4869c1(0x25c)]=_0x685cb8,this[_0x4869c1(0x2ba)]=_0x472bd1,this['_compressMutationService']=_0x31f038,this[_0x4869c1(0xee)]=_0x193385,_0x388d57(this,'_workbookDataCache',void 0x0),this[_0x4869c1(0x28f)]=new _0x194df4[(_0x4869c1(0x1f5))](0x3c);}[_0x4919c8(0x1b8)](){const _0x590be4=_0x4919c8;this[_0x590be4(0x28f)][_0x590be4(0x1e6)](),super[_0x590be4(0x1b8)]();}async[_0x4919c8(0xd9)](_0x236dcd){const _0x51e165=_0x4919c8;try{let _0x1475ae=(await this[_0x51e165(0x2ba)][_0x51e165(0x1bf)](this[_0x51e165(0xe8)]()+'/'+_0x236dcd+_0x51e165(0x1c4)))['body'];if(_0x1475ae&&_0x1475ae[_0x51e165(0x26b)]&&_0x1475ae[_0x51e165(0x26b)][_0x51e165(0x159)]===_0x4f0c6e['ErrorCode']['OK'])return _0x1475ae[_0x51e165(0x112)];}catch(_0x1450ec){console[_0x51e165(0x26b)](_0x1450ec);}return[];}async[_0x4919c8(0x2d9)](_0x25577e,_0x2ab111){const _0x31a9d9=_0x4919c8;let {userIds:_0x56ca4c,lastLabel:_0x593148,origin:_0x437c2b}=_0x2ab111==null?{}:_0x2ab111,_0x55934c=new URLSearchParams();_0x55934c[_0x31a9d9(0x1c8)](_0x31a9d9(0x3e7),'20'),_0x593148&&_0x55934c[_0x31a9d9(0x1c8)](_0x31a9d9(0x238),_0x593148),_0x56ca4c==null||_0x56ca4c[_0x31a9d9(0x128)](_0x54afeb=>{const _0x591272=_0x31a9d9;_0x55934c[_0x591272(0x155)](_0x591272(0x279),_0x54afeb);}),_0x437c2b&&_0x55934c[_0x31a9d9(0x1c8)](_0x31a9d9(0x141),_0x437c2b['toString']());let _0x831841=this[_0x31a9d9(0xe8)]()+'/'+_0x25577e+_0x31a9d9(0xc0)+_0x55934c[_0x31a9d9(0x31b)]();try{let _0x3b4c65=(await this[_0x31a9d9(0x2ba)][_0x31a9d9(0x1bf)](_0x831841))['body'];if(_0x3b4c65&&_0x3b4c65[_0x31a9d9(0x26b)]&&_0x3b4c65[_0x31a9d9(0x26b)][_0x31a9d9(0x159)]===_0x4f0c6e[_0x31a9d9(0x29f)]['OK']){let {hasMore:_0x5a42fd,lastLabel:_0x35f42d}=_0x3b4c65;return{'hasMore':_0x5a42fd,'lastLabel':_0x35f42d,'versions':_0x2708d9(_0x3b4c65),'members':_0x3b4c65[_0x31a9d9(0x1ff)][_0x31a9d9(0x382)]};}}catch(_0x13ba38){console['error'](_0x13ba38);}return null;}async[_0x4919c8(0xe6)](_0x43f94a,_0x1c0b9a){const _0x16a2cd=_0x4919c8;let {unitId:_0x103055,startRevision:_0x44e2b1,endRevision:_0x5900d0}=_0x1c0b9a,_0x1cc0b7=this[_0x16a2cd(0xe8)]()+'/'+_0x103055+_0x16a2cd(0x2c7)+_0x44e2b1+_0x16a2cd(0x16e)+_0x5900d0;return(await this[_0x16a2cd(0x2ba)][_0x16a2cd(0x1bf)](_0x1cc0b7))[_0x16a2cd(0x1b7)];}['_getAPIPrefix'](){const _0x11deae=_0x4919c8;var _0x4801d9;let _0x75dde8=this[_0x11deae(0x25c)][_0x11deae(0x153)](_0x3278b9);return(_0x4801d9=_0x75dde8==null?void 0x0:_0x75dde8[_0x11deae(0x28e)])==null?_0x11deae(0x204):_0x4801d9;}[_0x4919c8(0x3b2)](_0xd2f61,_0x490d10){return _0xd2f61+':'+_0x490d10;}async[_0x4919c8(0x2ab)](_0x49a75d,_0x47e2e6,_0x3cc392={}){const _0x39cd00=_0x4919c8;var _0xaa7cdf;let _0xcdbb88=this['_cacheKey'](_0x49a75d,_0x47e2e6),_0x29fca5=this[_0x39cd00(0x28f)][_0x39cd00(0x1bf)](_0xcdbb88);if(_0x29fca5){let {workbookData:_0x4251f0,changesets:_0x5c23ad}=_0x29fca5;return await this[_0x39cd00(0x249)](_0x4251f0,_0x5c23ad),!0x0;}let {snapshot:_0x37db5c,changesets:_0x52e8d3,error:_0x3b26e9}=await this[_0x39cd00(0xd3)][_0x39cd00(0x11b)](_0x3cc392,{'unitID':_0x49a75d,'type':_0x194df4[_0x39cd00(0x273)][_0x39cd00(0x270)],'revision':_0x47e2e6});if((0x0,_0x4f0c6e['isError'])(_0x3b26e9)||!_0x37db5c||!_0x37db5c['workbook'])throw Error(_0x39cd00(0xbd));let _0x1b79fa=(_0xaa7cdf=_0x52e8d3==null?void 0x0:_0x52e8d3[_0x39cd00(0x3e7)])==null?0x0:_0xaa7cdf;if(_0x47e2e6!==0x0&&_0x37db5c[_0x39cd00(0x20e)]+_0x1b79fa!==_0x47e2e6)throw Error(_0x39cd00(0x198));let {workbook:_0x73439d}=_0x37db5c,_0x22979f=_0x73439d[_0x39cd00(0x225)]?Object[_0x39cd00(0x364)](_0x73439d[_0x39cd00(0x225)])[_0x39cd00(0x1ed)](_0x3ef368=>{const _0x1f5ab3=_0x39cd00;var _0x514504;return(_0x514504=_0x3ef368[_0x1f5ab3(0x2cc)])==null?[]:_0x514504;}):[],_0x3e5265=await(0x0,_0x35b334[_0x39cd00(0x1c9)])(_0x37db5c,(await Promise[_0x39cd00(0x3f8)](_0x22979f['map'](_0x63a035=>this[_0x39cd00(0xd3)][_0x39cd00(0x14b)](_0x3cc392,{'unitID':_0x49a75d,'type':_0x194df4[_0x39cd00(0x273)]['UNIVER_SHEET'],'blockID':_0x63a035})[_0x39cd00(0x195)](_0x7996b2=>_0x7996b2['block']))))[_0x39cd00(0x9e)](Boolean),_0x3cc392);return this[_0x39cd00(0x28f)][_0x39cd00(0x1c8)](_0xcdbb88,{'workbookData':_0x3e5265,'changesets':_0x52e8d3}),await this[_0x39cd00(0x249)](_0x3e5265,_0x52e8d3),!0x0;}async[_0x4919c8(0x249)](_0x4a3436,_0xef1ed2){const _0xfc2820=_0x4919c8;let _0x2c9b9a=this[_0xfc2820(0xff)][_0xfc2820(0x40e)](_0x194df4['UniverInstanceType'][_0xfc2820(0x270)]);_0x2c9b9a&&(this[_0xfc2820(0xff)][_0xfc2820(0x2ff)](_0x2c9b9a['getUnitId']()),await Promise[_0xfc2820(0x390)]());let _0x3d7646=JSON[_0xfc2820(0x246)](JSON[_0xfc2820(0x3ae)](_0x4a3436));this['_createUnit'](_0x3d7646,_0xef1ed2),this[_0xfc2820(0xee)][_0xfc2820(0x2af)]();}[_0x4919c8(0x1ab)](_0x1d3c3f,_0x1e359a){const _0x453552=_0x4919c8;let _0x12cbc9=this['_univerInstanceService'][_0x453552(0x14c)](_0x194df4[_0x453552(0x273)][_0x453552(0x270)],_0x1d3c3f);this[_0x453552(0xff)]['focusUnit'](_0x12cbc9[_0x453552(0x2a8)]());let _0x2c3abf=this['_compressMutationService'][_0x453552(0x22c)]['fetchThroughInterceptors'](this[_0x453552(0x8a)][_0x453552(0x22c)][_0x453552(0x3ad)]()[_0x453552(0x244)]);return _0x1e359a==null||_0x1e359a[_0x453552(0x128)](_0x1863d5=>{const _0x56dcd0=_0x453552;let _0x2b57c8=_0x1863d5['mutations'][_0x56dcd0(0x160)](_0x3f3657=>({'id':_0x3f3657['id'],'params':JSON[_0x56dcd0(0x246)](_0x3f3657[_0x56dcd0(0x18c)])}));(_0x2c3abf(_0x2b57c8,null)||_0x2b57c8)[_0x56dcd0(0x128)](_0x25afc6=>{const _0x4ff804=_0x56dcd0;this['_commandService'][_0x4ff804(0x243)](_0x25afc6['id'])&&this[_0x4ff804(0x9a)][_0x4ff804(0x397)](_0x25afc6['id'],_0x25afc6['params'],{'fromChangeset':!0x0});});}),_0x12cbc9;}};_0x413f31=_0x26144c([_0x2928d0(0x0,_0x35b334['ISnapshotServerService']),_0x2928d0(0x1,_0x194df4['IUniverInstanceService']),_0x2928d0(0x2,_0x194df4[_0x4919c8(0x2fd)]),_0x2928d0(0x3,_0x194df4[_0x4919c8(0x282)]),_0x2928d0(0x4,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x30abf3[_0x4919c8(0x366)])),_0x2928d0(0x5,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x35b334[_0x4919c8(0x179)])),_0x2928d0(0x6,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x593f2f[_0x4919c8(0x18e)]))],_0x413f31);function _0x2708d9(_0x224283){const _0x234249=_0x4919c8;let _0x344eca=[],{entities:_0x3378b8,historyIds:_0x260b42}=_0x224283,{datas:_0x4dddd1,users:_0x2de979}=_0x3378b8;for(let _0x4ef7b8 of _0x260b42){let _0x4ebfc0=_0x4dddd1[_0x4ef7b8];if(_0x4ebfc0){var _0x24d2ca,_0x1f1e1c;let _0x4cecbf=!!((_0x24d2ca=_0x2de979[_0x4ebfc0[_0x234249(0x177)]])!=null&&_0x24d2ca[_0x234249(0x2c9)]);_0x344eca['push']({'unitId':_0x4ebfc0[_0x234249(0x276)],'user':_0x4cecbf?'':(_0x2de979==null||(_0x1f1e1c=_0x2de979[_0x4ebfc0[_0x234249(0x177)]])==null?void 0x0:_0x1f1e1c[_0x234249(0x193)])||'','users':_0x4ebfc0[_0x234249(0x279)]['map'](_0x5d6934=>{const _0x1997f3=_0x234249;var _0x3c86ee;return(_0x2de979==null||(_0x3c86ee=_0x2de979[_0x5d6934])==null?void 0x0:_0x3c86ee[_0x1997f3(0x193)])||'';})['filter'](_0x5b7572=>_0x5b7572),'isAnonymous':_0x4cecbf,'id':_0x4ef7b8,'time':_0x4ebfc0[_0x234249(0xbc)]?Number(_0x4ebfc0[_0x234249(0xbc)]):void 0x0,'commands':_0x4ebfc0[_0x234249(0x247)],'startRev':Number(_0x4ebfc0[_0x234249(0x35a)]),'endRev':Number(_0x4ebfc0[_0x234249(0x201)]),'recoverTime':_0x4ebfc0['recoverTime']?Number(_0x4ebfc0[_0x234249(0x3af)]):void 0x0,'additionalFields':_0x4ebfc0[_0x234249(0xca)],'startRevCreateTime':_0x4ebfc0[_0x234249(0xf7)]?Number(_0x4ebfc0[_0x234249(0xf7)]):void 0x0,'endRevCreateTime':_0x4ebfc0[_0x234249(0x1f9)]?Number(_0x4ebfc0['endRevCreateTime']):void 0x0});}}return _0x344eca;}let _0x2cb516=function(_0x1df909){const _0x5cb7ec=_0x4919c8;return _0x1df909[_0x5cb7ec(0x2e6)]=_0x5cb7ec(0x33b),_0x1df909[_0x5cb7ec(0x263)]=_0x5cb7ec(0x182),_0x1df909[_0x5cb7ec(0x38f)]=_0x5cb7ec(0x26b),_0x1df909;}({}),_0x56ec9c=_0x4919c8(0x333),_0x209511=class extends _0x194df4['Disposable']{[_0x4919c8(0x8f)](_0x18c687){const _0x43ba04=_0x4919c8;this[_0x43ba04(0x3d9)][_0x43ba04(0x371)](_0x18c687);}get['fetching'](){return this['_fetching$']['value'];}constructor(_0x1c3dab,_0x15c31c,_0x118f6e,_0x286a26){const _0xcba81d=_0x4919c8;super(),this['_messageService']=_0x1c3dab,this[_0xcba81d(0x1d6)]=_0x15c31c,this['_localeService']=_0x118f6e,this['_historyFetchService']=_0x286a26,_0x388d57(this,'_versions$',new _0x43f35f[(_0xcba81d(0xb3))]([])),_0x388d57(this,'versions$',this['_versions$']['asObservable']()),_0x388d57(this,_0xcba81d(0x1de),new _0x43f35f[(_0xcba81d(0xb3))]('')),_0x388d57(this,_0xcba81d(0x2ea),this[_0xcba81d(0x1de)]['asObservable']()),_0x388d57(this,_0xcba81d(0xe5),new _0x43f35f[(_0xcba81d(0xb3))]('entered')),_0x388d57(this,_0xcba81d(0x22d),this['_status$'][_0xcba81d(0x1ce)]()),_0x388d57(this,_0xcba81d(0x3d1),new _0x43f35f[(_0xcba81d(0xb3))](0x0)),_0x388d57(this,'revertRevision$',this[_0xcba81d(0x3d1)][_0xcba81d(0x1ce)]()),_0x388d57(this,'_unitId$',new _0x43f35f['BehaviorSubject']('')),_0x388d57(this,_0xcba81d(0xba),this[_0xcba81d(0x176)]['asObservable']()),_0x388d57(this,_0xcba81d(0x3d9),new _0x43f35f[(_0xcba81d(0xb3))](!0x1)),_0x388d57(this,_0xcba81d(0x25e),this['_fetching$'][_0xcba81d(0x1ce)]()),_0x388d57(this,'_creators$',new _0x43f35f['BehaviorSubject']([])),_0x388d57(this,_0xcba81d(0x16d),this['_creators$'][_0xcba81d(0x1ce)]()),_0x388d57(this,_0xcba81d(0x169),new _0x43f35f[(_0xcba81d(0xb3))](!0x1)),_0x388d57(this,_0xcba81d(0x1ac),this[_0xcba81d(0x169)][_0xcba81d(0x1ce)]()),_0x388d57(this,_0xcba81d(0x308),new Map()),_0x388d57(this,_0xcba81d(0x2ca),new _0x43f35f[(_0xcba81d(0xb3))](_0xcba81d(0x393))),_0x388d57(this,_0xcba81d(0x20c),this[_0xcba81d(0x2ca)][_0xcba81d(0x1ce)]()),_0x388d57(this,_0xcba81d(0x262),null),_0x388d57(this,_0xcba81d(0x321),!0x0),_0x388d57(this,_0xcba81d(0x314),new Map()),_0x388d57(this,_0xcba81d(0x1e5),void 0x0),_0x388d57(this,'_maskContainer',void 0x0),_0x388d57(this,_0xcba81d(0x3b9),void 0x0),_0x388d57(this,_0xcba81d(0x36f),!0x1),_0x388d57(this,'_loadParams',null),_0x388d57(this,_0xcba81d(0x229),new Map());}async[_0x4919c8(0x167)](_0x52d35e,_0x24161b,_0x23801b){const _0x35137c=_0x4919c8;this[_0x35137c(0x1e5)]=_0x24161b,this['_canRevert']=_0x23801b,this['_openPanel$'][_0x35137c(0x371)](!0x0),await this[_0x35137c(0x29a)](_0x52d35e);}[_0x4919c8(0x119)](_0x2f9d69,_0x2b38a9='',_0x3a5b75,_0x3b32e7){const _0x33c09d=_0x4919c8;let {versions:_0x4c4604,hasMore:_0x27db44,lastLabel:_0x5513bd,members:_0x5a8fbe}=_0x3b32e7,_0x18cae9=_0x4c4604[_0x33c09d(0x3e7)]>0x0?_0x4c4604:[{'unitId':_0x2f9d69,'id':_0x56ec9c,'startRev':0x1,'endRev':0x0,'time':Date[_0x33c09d(0x2f9)](),'user':this[_0x33c09d(0x292)]['t']('editHistory.panel.currentUser'),'users':[this[_0x33c09d(0x292)]['t'](_0x33c09d(0x29d))],'commands':[],'isAnonymous':!0x1}];this['_canRevert']=_0x3a5b75,this['_historyContainerId']=_0x2b38a9,this['_unitId$'][_0x33c09d(0x371)](_0x2f9d69),this[_0x33c09d(0xc9)](_0x18cae9,_0x27db44,_0x5513bd,!0x1,_0x5a8fbe),this[_0x33c09d(0x1de)][_0x33c09d(0x371)](_0x18cae9[0x0]['id']);}async[_0x4919c8(0x29a)](_0x4c7b13,_0x57a3e1){const _0x24f429=_0x4919c8;this[_0x24f429(0x176)][_0x24f429(0x371)](_0x4c7b13),this['_loadParams']=_0x57a3e1==null?null:_0x57a3e1,this[_0x24f429(0x8f)](!0x0);let _0x9dc789=await this[_0x24f429(0x30d)][_0x24f429(0x2d9)](_0x4c7b13,_0x57a3e1);if(this[_0x24f429(0x8f)](!0x1),_0x9dc789){let {versions:_0x3848c1,lastLabel:_0x52a85e,hasMore:_0x36a388,members:_0x11c580}=_0x9dc789;_0x3848c1[_0x24f429(0x3e7)]===0x0&&_0x3848c1[_0x24f429(0x280)]({'unitId':_0x4c7b13,'id':_0x56ec9c,'startRev':0x1,'endRev':0x0,'time':Date[_0x24f429(0x2f9)](),'user':this[_0x24f429(0x292)]['t'](_0x24f429(0x29d)),'users':[this[_0x24f429(0x292)]['t'](_0x24f429(0x29d))],'commands':[],'isAnonymous':!0x1}),this[_0x24f429(0xc9)](_0x3848c1,_0x36a388,_0x52a85e,!0x1,_0x11c580),this[_0x24f429(0x1de)]['next'](_0x3848c1[0x0]['id']),this[_0x24f429(0x229)]['set'](_0x4c7b13,_0x3848c1[0x0][_0x24f429(0x297)]);}else this[_0x24f429(0xe5)][_0x24f429(0x371)](_0x24f429(0x26b));}async[_0x4919c8(0x317)](){const _0x4e4624=_0x4919c8;if(!this[_0x4e4624(0x262)]||!this[_0x4e4624(0x321)]||this['fetching'])return!0x1;this[_0x4e4624(0x8f)](!0x0);let _0x373cfe=await this[_0x4e4624(0x30d)][_0x4e4624(0x2d9)](this[_0x4e4624(0x276)],{'lastLabel':this['_lastLabel'],...this['_loadParams']});if(this['_setFetching'](!0x1),_0x373cfe){let {versions:_0x3add9a,lastLabel:_0x17bada,hasMore:_0x5c3d59,members:_0xfd399e}=_0x373cfe;this['_updateVersions'](_0x3add9a,_0x5c3d59,_0x17bada,!0x0,_0xfd399e);}else this['_messageService'][_0x4e4624(0x265)]({'content':this[_0x4e4624(0x292)]['t'](_0x4e4624(0x209)),'type':_0xb2e2cd[_0x4e4624(0x3f7)]['Error'],'duration':0xbb8});return!0x0;}async[_0x4919c8(0x3c7)](){const _0x4cdbf0=_0x4919c8;let {unitId:_0x333be2}=this;if(!_0x333be2)return;let _0x505371=await this[_0x4cdbf0(0x30d)][_0x4cdbf0(0xd9)](_0x333be2);_0x505371&&this['_creators$'][_0x4cdbf0(0x371)](_0x505371);}async[_0x4919c8(0x2cb)](_0x3c4586){const _0x4b411a=_0x4919c8;let {endRev:_0x369880}=this['getVersion'](_0x3c4586)||{};_0x369880||_0x369880===0x0?(this['_loadingState$']['next'](_0x4b411a(0x28d)),await this[_0x4b411a(0x30d)][_0x4b411a(0x2ab)](this[_0x4b411a(0x276)],_0x369880),this[_0x4b411a(0x2ca)][_0x4b411a(0x371)](_0x4b411a(0x2d5))):this[_0x4b411a(0xe5)][_0x4b411a(0x371)](_0x4b411a(0x26b));}async[_0x4919c8(0x1d4)](_0x3b0268){const _0x270afe=_0x4919c8;let _0x2af6e6=_0x3b0268?this[_0x270afe(0x2a1)](_0x3b0268):this[_0x270afe(0x406)]();if(!_0x2af6e6)return;let _0x347bf5=_0x2af6e6[_0x270afe(0x297)],_0x16b5d9=_0x563f07(_0x2af6e6['time'],this['_localeService'][_0x270afe(0x19d)]());await this[_0x270afe(0x1d6)][_0x270afe(0x121)]({'id':_0x270afe(0x2bd),'title':{'title':this[_0x270afe(0x292)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x270afe(0x292)]['t'](_0x270afe(0x256))+_0x270afe(0x15c)+_0x16b5d9[_0x270afe(0x3f6)]+'\x20'+_0x16b5d9['time']+')'},'cancelText':this['_localeService']['t'](_0x270afe(0x19e)),'confirmText':this[_0x270afe(0x292)]['t']('editHistory.panel.confirm')})&&this[_0x270afe(0x3d1)][_0x270afe(0x371)](_0x347bf5);}['_updateVersions'](_0x5cd573,_0x1041fc,_0x4dc299,_0x595055,_0x17b5ef){const _0x16598e=_0x4919c8;this['_setVersions'](_0x595055?this['_versions$'][_0x16598e(0x30b)][_0x16598e(0x345)](_0x5cd573):_0x5cd573),this[_0x16598e(0x321)]=_0x1041fc,this['_lastLabel']=_0x4dc299,_0x17b5ef&&Object[_0x16598e(0xa4)](_0x17b5ef)['forEach'](_0x363eba=>this[_0x16598e(0x314)][_0x16598e(0x1c8)](_0x363eba,_0x17b5ef[_0x363eba]));}['getCurrentVersion'](){const _0x43ee74=_0x4919c8;return this['getVersion'](this[_0x43ee74(0x1de)]['value']);}[_0x4919c8(0x385)](_0x450234){const _0x1eeefc=_0x4919c8;this[_0x1eeefc(0xcd)][_0x1eeefc(0x371)](_0x450234);}[_0x4919c8(0x2a1)](_0xd451d1){const _0x4ae878=_0x4919c8;var _0x369fff;return((_0x369fff=this['_versions$'][_0x4ae878(0x30b)])==null?void 0x0:_0x369fff[_0x4ae878(0x1c1)](_0x1dbd06=>_0x1dbd06['id']===_0xd451d1))||this['_detailVersionsMap'][_0x4ae878(0x1bf)](_0xd451d1);}[_0x4919c8(0x295)](_0x2a6313){const _0x5f2104=_0x4919c8;this[_0x5f2104(0x308)][_0x5f2104(0x1c8)](_0x2a6313['id'],_0x2a6313);}['getCurrentUnitCurrentVersion'](){const _0x562fa8=_0x4919c8;if(this[_0x562fa8(0x276)])return this['_unitCurrentVersionMap']['get'](this['unitId']);}[_0x4919c8(0x25d)](){const _0x1729a3=_0x4919c8;var _0x28ed5a;return((_0x28ed5a=this[_0x1729a3(0x406)]())==null?void 0x0:_0x28ed5a[_0x1729a3(0x297)])===this[_0x1729a3(0x33c)]();}[_0x4919c8(0x412)](){const _0x49bc16=_0x4919c8;return!this[_0x49bc16(0x25d)]()&&this['canRevert'];}['getMember'](_0x4f0fe3){const _0x597685=_0x4919c8;return this['_members'][_0x597685(0x1bf)](_0x4f0fe3);}[_0x4919c8(0x1b5)](){const _0xb9f6af=_0x4919c8;this[_0xb9f6af(0x3b9)]=document[_0xb9f6af(0x288)](_0xb9f6af(0x1ae)),this['_maskElement'][_0xb9f6af(0x223)]=_0xb9f6af(0x27d),this[_0xb9f6af(0x3b9)][_0xb9f6af(0x227)][_0xb9f6af(0x220)]=_0xb9f6af(0x336),this[_0xb9f6af(0x3b9)][_0xb9f6af(0x227)][_0xb9f6af(0x409)]='0',this[_0xb9f6af(0x3b9)]['style'][_0xb9f6af(0x1ee)]='0',this[_0xb9f6af(0x3b9)]['style'][_0xb9f6af(0x3c8)]=_0xb9f6af(0x1d9),this['_maskElement'][_0xb9f6af(0x227)][_0xb9f6af(0xf1)]=_0xb9f6af(0x1d9),this[_0xb9f6af(0x3b9)][_0xb9f6af(0x227)][_0xb9f6af(0x214)]=_0xb9f6af(0x3a7),this['_maskElement'][_0xb9f6af(0x227)][_0xb9f6af(0x113)]=_0xb9f6af(0x1f7),this['_maskElement'][_0xb9f6af(0x227)][_0xb9f6af(0x3ce)]=_0xb9f6af(0x3e6),this[_0xb9f6af(0x3b9)][_0xb9f6af(0x227)][_0xb9f6af(0x3a2)]=_0xb9f6af(0x96),this[_0xb9f6af(0x3b9)][_0xb9f6af(0x227)]['zIndex']=_0xb9f6af(0x319),this[_0xb9f6af(0x3b9)][_0xb9f6af(0x227)][_0xb9f6af(0x3ce)]=_0xb9f6af(0x109),this['_maskContainer'][_0xb9f6af(0x155)](this[_0xb9f6af(0x3b9)]);}['_initMaskContainer'](){const _0x16f875=_0x4919c8;let _0x1f583c=document[_0x16f875(0x306)](this[_0x16f875(0x1e5)]);_0x1f583c&&(this['_maskContainer']=_0x1f583c,this[_0x16f875(0x1b5)]());}['showMask'](){const _0x1e8a2d=_0x4919c8;this['_maskContainer']||this['_initMaskContainer'](),this[_0x1e8a2d(0x3b9)]&&(this[_0x1e8a2d(0x3b9)][_0x1e8a2d(0x227)][_0x1e8a2d(0x3ce)]=_0x1e8a2d(0x3e6));}[_0x4919c8(0x12c)](){const _0x5a7576=_0x4919c8;this[_0x5a7576(0x3b9)]&&(this[_0x5a7576(0x3b9)]['style'][_0x5a7576(0x3ce)]=_0x5a7576(0x109));}set[_0x4919c8(0x2d2)](_0x4071fc){const _0x3b4fb3=_0x4919c8;this[_0x3b4fb3(0xe5)]['next'](_0x4071fc);}set[_0x4919c8(0x411)](_0x40249e){const _0x2d2f49=_0x4919c8;_0x40249e!==this[_0x2d2f49(0x1de)][_0x2d2f49(0x30b)]&&this[_0x2d2f49(0x1de)]['next'](_0x40249e);}get['currentVersion'](){const _0x2e26b0=_0x4919c8;return this[_0x2e26b0(0x1de)][_0x2e26b0(0x30b)];}set[_0x4919c8(0x276)](_0x116d11){const _0x3c052d=_0x4919c8;this['_unitId$'][_0x3c052d(0x371)](_0x116d11);}get[_0x4919c8(0x276)](){const _0x11e8cf=_0x4919c8;return this['_unitId$'][_0x11e8cf(0x30b)];}get['canRevert'](){const _0x6b3b08=_0x4919c8;return this[_0x6b3b08(0x36f)];}get[_0x4919c8(0x349)](){const _0xa7bd29=_0x4919c8;return this[_0xa7bd29(0x2ca)]['value'];}};_0x209511=_0x26144c([_0x2928d0(0x0,_0x467782[_0x4919c8(0x3e9)]),_0x2928d0(0x1,_0x194df4[_0x4919c8(0x1a8)]),_0x2928d0(0x2,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x194df4[_0x4919c8(0x116)])),_0x2928d0(0x3,(0x0,_0x194df4['Inject'])(_0x413f31))],_0x209511);let _0x597a1b=class extends _0x194df4[_0x4919c8(0x2bb)]{constructor(_0xea411e,_0xfd9a27,_0x528ae4,_0x3275bf,_0x21f763,_0x16772a,_0xb7fb9,_0x1f06b2,_0x2d65c9,_0x3b747a,_0x12358e,_0x457c57,_0x1a5009){const _0x399d5a=_0x4919c8;super(),this[_0x399d5a(0x3fc)]=_0xea411e,this[_0x399d5a(0x3c6)]=_0xfd9a27,this['_snapshotServerService']=_0x528ae4,this[_0x399d5a(0x11e)]=_0x3275bf,this[_0x399d5a(0xd6)]=_0x21f763,this[_0x399d5a(0x2c8)]=_0x16772a,this[_0x399d5a(0x1c5)]=_0xb7fb9,this[_0x399d5a(0x97)]=_0x1f06b2,this['_sheetsPivotTableConfigModel']=_0x2d65c9,this['_sheetTableService']=_0x3b747a,this[_0x399d5a(0x292)]=_0x12358e,this[_0x399d5a(0x2ae)]=_0x457c57,this[_0x399d5a(0x30d)]=_0x1a5009,_0x388d57(this,_0x399d5a(0x1b4),new Map()),_0x388d57(this,'_currentVersionDiff$',new _0x43f35f[(_0x399d5a(0xb3))]({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0x388d57(this,_0x399d5a(0x26d),this[_0x399d5a(0x2eb)][_0x399d5a(0x1ce)]()),this[_0x399d5a(0x2da)]();}[_0x4919c8(0x2da)](){const _0x29f8a5=_0x4919c8;this[_0x29f8a5(0x1b4)]=new Map(),this[_0x29f8a5(0x1e7)](this[_0x29f8a5(0x3fc)]['unitId$'][_0x29f8a5(0xc1)](_0x1cf62f=>{const _0x20c953=_0x29f8a5;_0x1cf62f&&!this[_0x20c953(0x1b4)][_0x20c953(0x120)](_0x1cf62f)&&this[_0x20c953(0x1b4)][_0x20c953(0x1c8)](_0x1cf62f,new Map());})),this['disposeWithMe'](this[_0x29f8a5(0x3fc)][_0x29f8a5(0x2ea)][_0x29f8a5(0xc1)](async _0x1d859a=>{const _0x494b32=_0x29f8a5;if(_0x1d859a){var _0x355b63;await this[_0x494b32(0x33e)](_0x1d859a),this[_0x494b32(0x2eb)][_0x494b32(0x371)](((_0x355b63=this['_diffRangesMap']['get'](this['_historyManagerService']['unitId']))==null?void 0x0:_0x355b63[_0x494b32(0x1bf)](_0x1d859a))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x4919c8(0x33e)](_0x1a462b){const _0x5c8919=_0x4919c8;var _0x594ef1,_0x5d7651;let _0x1e7f8a=this[_0x5c8919(0x3fc)][_0x5c8919(0x2a1)](_0x1a462b),_0x130f01=this['_historyManagerService'][_0x5c8919(0x276)];if(!_0x1e7f8a||!_0x130f01)return;let _0x486fc7=this[_0x5c8919(0x1b4)][_0x5c8919(0x1bf)](_0x130f01);if(_0x486fc7||this[_0x5c8919(0x1b4)][_0x5c8919(0x1c8)](_0x130f01,new Map()),(_0x594ef1=this[_0x5c8919(0x1b4)][_0x5c8919(0x1bf)](_0x130f01))!=null&&_0x594ef1[_0x5c8919(0x120)](_0x1e7f8a['id']))return;let {startRev:_0x4bbb18,endRev:_0x5b67d7}=_0x1e7f8a;if(_0x4bbb18===0x1){_0x486fc7[_0x5c8919(0x1c8)](_0x1e7f8a['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x7e36d6=_0x4bbb18,_0x4582a2=_0x5b67d7,_0x226611=await this[_0x5c8919(0x30d)]['getHistoryChangesets']({},{'unitId':_0x130f01,'startRevision':_0x7e36d6,'endRevision':_0x4582a2});if(((_0x5d7651=_0x226611['error'])==null?void 0x0:_0x5d7651['code'])===_0x4f0c6e[_0x5c8919(0x29f)]['OK']){let _0x1694dd=_0x226611[_0x5c8919(0x245)][_0x5c8919(0x160)](_0x308293=>((_0x308293[_0x5c8919(0x3b0)]===null||_0x308293[_0x5c8919(0x3b0)]===void 0x0)&&(_0x308293[_0x5c8919(0x3b0)]=[]),(0x0,_0x35b334['parseProtocolChangeset'])(_0x308293)))['map'](_0x4fcf0c=>_0x4fcf0c[_0x5c8919(0x3b0)][_0x5c8919(0x160)](_0x200111=>({..._0x200111,'params':{..._0x200111[_0x5c8919(0x215)],'memberId':_0x4fcf0c[_0x5c8919(0xce)]||_0x5c8919(0x2e8)}})))[_0x5c8919(0x183)](),_0x234529=await this[_0x5c8919(0x36d)](_0x1694dd),_0x5b0263=this[_0x5c8919(0x2f4)](_0x1694dd),_0x538e82=this[_0x5c8919(0x253)](_0x234529);_0x486fc7[_0x5c8919(0x1c8)](_0x1e7f8a['id'],{..._0x538e82,'active':_0x5b0263});}}['getMutationActionMap'](){const _0x2bd9b6=_0x4919c8;let _0x5e6ac8=_0x4edde0('editHistory.action.'),_0x15b7b7=new Map();return Object['values'](_0x5e6ac8)[_0x2bd9b6(0x183)]()['forEach'](_0x417118=>{const _0x3697c2=_0x2bd9b6;_0x15b7b7['set'](_0x417118['id'],_0x417118[_0x3697c2(0x3a6)]);}),_0x15b7b7;}[_0x4919c8(0x2f3)](_0x209531,_0x3bfddf){return this['_categorizeMutationRanges'](_0x209531,_0x3bfddf);}async[_0x4919c8(0x36d)](_0x14af73){const _0x45a1b8=_0x4919c8;let _0x45a172=[];for(let _0x6d10a8=0x0;_0x6d10a8<_0x14af73[_0x45a1b8(0x3e7)];_0x6d10a8++){let _0x7b3925=_0x14af73[_0x6d10a8];if(_0x45a172['push'](_0x7b3925),_0x6d10a8!==_0x14af73[_0x45a1b8(0x3e7)]-0x1){let _0x22d530=_0x14af73[_0x6d10a8+0x1],_0x33af85=this[_0x45a1b8(0x3c6)]['transformMutations'](_0x45a172,[_0x22d530]);_0x45a172=(0x0,_0x35b334[_0x45a1b8(0x34a)])(_0x33af85)?_0x33af85[_0x45a1b8(0x3b8)]:[];}_0x6d10a8%0xa==0x0&&_0x6d10a8>0x0&&await this[_0x45a1b8(0x2f5)]();}return _0x45a172;}[_0x4919c8(0x2f5)](){return new Promise(_0xe39d18=>{const _0x28b80a=_0x4cdc;typeof requestIdleCallback==_0x28b80a(0x21b)?requestIdleCallback(()=>_0xe39d18(),{'timeout':0x64}):setTimeout(_0xe39d18,0x0);});}[_0x4919c8(0x2f4)](_0x17bdb5){const _0x5cc6d7=_0x4919c8;let _0x2c07fb=[];return _0x17bdb5[_0x5cc6d7(0x128)](_0x36e65=>{const _0x2e627a=_0x5cc6d7;if(_0x36e65['id']===_0x593f2f['InsertSheetMutation']['id']){let _0x28a041=_0x36e65[_0x2e627a(0x215)];_0x2c07fb['push'](_0x28a041[_0x2e627a(0x2fa)]['id']);}else{if(_0x36e65['id']===_0x593f2f['RemoveSheetMutation']['id']){let _0x4cd28b=_0x36e65[_0x2e627a(0x215)];_0x2c07fb[_0x2e627a(0x3e7)]>0x0&&(_0x2c07fb=_0x2c07fb['filter'](_0x44e741=>_0x44e741!==_0x4cd28b['subUnitId']));}else{if(_0x36e65['id']===_0x593f2f[_0x2e627a(0x2b7)]['id']){let _0x37b3ca=_0x36e65[_0x2e627a(0x215)];_0x37b3ca[_0x2e627a(0x3c9)]?_0x2c07fb=_0x2c07fb[_0x2e627a(0x9e)](_0x5e4a1a=>_0x5e4a1a!==_0x37b3ca[_0x2e627a(0x3ca)]):_0x2c07fb[_0x2e627a(0x280)](_0x37b3ca[_0x2e627a(0x3ca)]);}else{let _0x1dce75=_0x36e65[_0x2e627a(0x215)];_0x1dce75[_0x2e627a(0x3ca)]&&_0x2c07fb['push'](_0x1dce75[_0x2e627a(0x3ca)]);}}}}),_0x2c07fb[_0x5cc6d7(0x3e7)]>0x0?_0x2c07fb[_0x2c07fb[_0x5cc6d7(0x3e7)]-0x1]:null;}['_extractRanges'](_0x480a5a){const _0x15928f=_0x4919c8;let _0x4e89fd=new Map(),_0x28d424=new Map(),_0x1b4db3=new Map(),_0x1cd5df=new Map(),_0x3ce7f3=new Map(),_0x4c9b27=new Map(),_0x445912=new Map(),_0x365ffe=new Map(),_0x319402=new Map(),_0x10dffc=new Map(),_0x3220cc=new Map(),_0x5c7bb1=new Map(),_0x539356=new Set(),_0x1ae1f3=this[_0x15928f(0xf5)]();return _0x480a5a[_0x15928f(0x128)](_0x3ea4e7=>{const _0x88497b=_0x15928f;var _0x15c36d,_0x1c12d9,_0xd8882,_0x5e4737,_0x514284,_0x5916c6,_0x316351,_0x30cea5,_0x29639a,_0x6b10f3,_0x13c7bb,_0x533387,_0x27383e;let _0x500fc9=(_0x15c36d=_0x3ea4e7['params'])==null?void 0x0:_0x15c36d[_0x88497b(0x39b)];if(!_0x500fc9)return;_0x4e89fd['has'](_0x500fc9)||(_0x4e89fd['set'](_0x500fc9,[]),_0x28d424[_0x88497b(0x1c8)](_0x500fc9,[]),_0x1b4db3[_0x88497b(0x1c8)](_0x500fc9,[]),_0x1cd5df[_0x88497b(0x1c8)](_0x500fc9,[]),_0x3ce7f3[_0x88497b(0x1c8)](_0x500fc9,[]),_0x4c9b27['set'](_0x500fc9,[]),_0x445912['set'](_0x500fc9,[]),_0x365ffe['set'](_0x500fc9,[]),_0x319402[_0x88497b(0x1c8)](_0x500fc9,[]),_0x10dffc[_0x88497b(0x1c8)](_0x500fc9,[]),_0x3220cc[_0x88497b(0x1c8)](_0x500fc9,[]),_0x5c7bb1[_0x88497b(0x1c8)](_0x500fc9,[]));let _0x4a7d86=this[_0x88497b(0x1ec)](_0x3ea4e7,_0x1ae1f3);_0x4a7d86['subUnitIds']['forEach'](_0x7cbc6f=>_0x539356[_0x88497b(0x328)](_0x7cbc6f)),(_0x1c12d9=_0x4e89fd['get'](_0x500fc9))==null||_0x1c12d9[_0x88497b(0x280)](..._0x4a7d86[_0x88497b(0x2c5)]),(_0xd8882=_0x28d424[_0x88497b(0x1bf)](_0x500fc9))==null||_0xd8882[_0x88497b(0x280)](..._0x4a7d86[_0x88497b(0x184)]),(_0x5e4737=_0x1b4db3[_0x88497b(0x1bf)](_0x500fc9))==null||_0x5e4737[_0x88497b(0x280)](..._0x4a7d86['deleteCellRanges']),(_0x514284=_0x1cd5df[_0x88497b(0x1bf)](_0x500fc9))==null||_0x514284[_0x88497b(0x280)](..._0x4a7d86[_0x88497b(0xea)]),(_0x5916c6=_0x3ce7f3[_0x88497b(0x1bf)](_0x500fc9))==null||_0x5916c6[_0x88497b(0x280)](..._0x4a7d86[_0x88497b(0x2ee)]),(_0x316351=_0x4c9b27[_0x88497b(0x1bf)](_0x500fc9))==null||_0x316351[_0x88497b(0x280)](..._0x4a7d86[_0x88497b(0x373)]),(_0x30cea5=_0x445912['get'](_0x500fc9))==null||_0x30cea5['push'](..._0x4a7d86[_0x88497b(0x2be)]),(_0x29639a=_0x365ffe['get'](_0x500fc9))==null||_0x29639a[_0x88497b(0x280)](..._0x4a7d86[_0x88497b(0x3f5)]),(_0x6b10f3=_0x319402[_0x88497b(0x1bf)](_0x500fc9))==null||_0x6b10f3[_0x88497b(0x280)](..._0x4a7d86[_0x88497b(0x305)]),(_0x13c7bb=_0x3220cc[_0x88497b(0x1bf)](_0x500fc9))==null||_0x13c7bb[_0x88497b(0x280)](..._0x4a7d86['insertDrawings']),(_0x533387=_0x5c7bb1[_0x88497b(0x1bf)](_0x500fc9))==null||_0x533387['push'](..._0x4a7d86[_0x88497b(0x2a4)]),(_0x27383e=_0x10dffc[_0x88497b(0x1bf)](_0x500fc9))==null||_0x27383e[_0x88497b(0x280)](..._0x4a7d86[_0x88497b(0x137)]);}),_0x4e89fd[_0x15928f(0x128)]((_0xcd7995,_0x25878f)=>{const _0x20ca34=_0x15928f;_0x4e89fd[_0x20ca34(0x1c8)](_0x25878f,this['_combineRanges'](_0xcd7995)),_0x28d424[_0x20ca34(0x1c8)](_0x25878f,this['_combineRanges'](_0x28d424[_0x20ca34(0x1bf)](_0x25878f)||[])),_0x1b4db3[_0x20ca34(0x1c8)](_0x25878f,this[_0x20ca34(0x233)](_0x1b4db3[_0x20ca34(0x1bf)](_0x25878f)||[])),_0x1cd5df[_0x20ca34(0x1c8)](_0x25878f,this[_0x20ca34(0x233)](_0x1cd5df[_0x20ca34(0x1bf)](_0x25878f)||[])),_0x3ce7f3[_0x20ca34(0x1c8)](_0x25878f,this['_combineRanges'](_0x3ce7f3['get'](_0x25878f)||[])),_0x4c9b27['set'](_0x25878f,this[_0x20ca34(0x233)](_0x4c9b27[_0x20ca34(0x1bf)](_0x25878f)||[])),_0x445912['set'](_0x25878f,this[_0x20ca34(0x233)](_0x445912['get'](_0x25878f)||[])),_0x365ffe[_0x20ca34(0x1c8)](_0x25878f,this['_combineRanges'](_0x365ffe[_0x20ca34(0x1bf)](_0x25878f)||[])),_0x319402['set'](_0x25878f,this['_combineRanges'](_0x319402[_0x20ca34(0x1bf)](_0x25878f)||[]));}),{'ranges':_0x4e89fd,'insertCellRanges':_0x28d424,'deleteCellRanges':_0x1b4db3,'updateCellRanges':_0x1cd5df,'insertBorderRanges':_0x3ce7f3,'deleteBorderRanges':_0x4c9b27,'updateBorderRanges':_0x445912,'arrowRowRanges':_0x365ffe,'arrowColumnRanges':_0x319402,'insertDrawings':_0x3220cc,'deleteDrawings':_0x5c7bb1,'updateDrawings':_0x10dffc,'subUnitIds':Array[_0x15928f(0x343)](_0x539356)};}[_0x4919c8(0x1ec)](_0x2aec8b,_0x24498b){const _0xc2e059=_0x4919c8;let _0x4da456={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x3ecb2d=_0x2aec8b['id'],_0xb9603a=_0x2aec8b['params'],_0x397265=this[_0xc2e059(0x292)]['t'](_0x24498b[_0xc2e059(0x1bf)](_0x3ecb2d)||'');_0xb9603a[_0xc2e059(0x3ca)]&&_0x4da456[_0xc2e059(0x2c0)]['push'](_0xb9603a['subUnitId']);let _0x4c215e=(_0x1990f2,_0x37d36c)=>{const _0x4f7e73=_0xc2e059;let _0x281617=_0x1990f2['map'](_0x3d3f5a=>({..._0x3d3f5a,'showText':_0x397265}));switch(_0x4da456[_0x4f7e73(0x2c5)][_0x4f7e73(0x280)](..._0x281617),_0x37d36c){case _0x4f7e73(0x3fb):_0x4da456[_0x4f7e73(0x184)][_0x4f7e73(0x280)](..._0x281617);break;case _0x4f7e73(0x24e):_0x4da456[_0x4f7e73(0x3aa)][_0x4f7e73(0x280)](..._0x281617);break;case _0x4f7e73(0x3c4):_0x4da456[_0x4f7e73(0xea)][_0x4f7e73(0x280)](..._0x281617);break;case _0x4f7e73(0x3df):_0x4da456[_0x4f7e73(0x2ee)][_0x4f7e73(0x280)](..._0x281617);break;case _0x4f7e73(0x3d3):_0x4da456[_0x4f7e73(0x373)][_0x4f7e73(0x280)](..._0x281617);break;case _0x4f7e73(0x34f):_0x4da456[_0x4f7e73(0x2be)][_0x4f7e73(0x280)](..._0x281617);break;case _0x4f7e73(0x35d):_0x4da456[_0x4f7e73(0x3f5)][_0x4f7e73(0x280)](..._0x281617);break;case _0x4f7e73(0x38c):_0x4da456[_0x4f7e73(0x305)][_0x4f7e73(0x280)](..._0x281617);break;}};switch(_0x3ecb2d){case _0x593f2f[_0xc2e059(0x38b)]['id']:{let _0x4fef9b=_0xb9603a;_0x4c215e([{'range':{..._0x4fef9b['range'],'rangeType':_0x194df4[_0xc2e059(0x284)][_0xc2e059(0x298)]},'unitId':_0x4fef9b[_0xc2e059(0x276)],'subUnitId':_0x4fef9b[_0xc2e059(0x3ca)],'showText':'insertRow','highlightRow':!0x0}],'insert');break;}case _0x593f2f[_0xc2e059(0x40d)]['id']:{let _0x49379c=_0xb9603a;_0x4c215e([{'range':{..._0x49379c[_0xc2e059(0x1dd)],'rangeType':_0x194df4['RANGE_TYPE'][_0xc2e059(0x40c)]},'unitId':_0x49379c[_0xc2e059(0x276)],'subUnitId':_0x49379c['subUnitId'],'showText':_0xc2e059(0x10d),'highlightColumn':!0x0}],'insert');break;}case _0x593f2f['AddWorksheetMergeMutation']['id']:{let _0xde098=_0xb9603a;_0x4c215e(_0xde098[_0xc2e059(0x278)][_0xc2e059(0x160)](_0x246b99=>({'range':_0x246b99,'unitId':_0xde098[_0xc2e059(0x276)],'subUnitId':_0xde098['subUnitId'],'showText':_0xc2e059(0x1dc)})),_0xc2e059(0x3fb));break;}case _0x593f2f[_0xc2e059(0x39c)]['id']:{let _0x26f5cf=_0xb9603a;_0x4c215e(Object['values'](_0x26f5cf[_0xc2e059(0x364)])[_0xc2e059(0x160)](_0x779564=>_0x779564[_0xc2e059(0x278)][_0xc2e059(0x160)](_0x191e13=>({'range':_0x191e13,'unitId':_0x26f5cf[_0xc2e059(0x276)],'subUnitId':_0x26f5cf[_0xc2e059(0x3ca)],'showText':_0xc2e059(0xb2)})))[_0xc2e059(0x183)](),_0xc2e059(0x3fb));break;}case _0x593f2f[_0xc2e059(0x15f)]['id']:{let _0x5bb805=_0xb9603a;_0x4c215e(_0x5bb805['ranges']['map'](_0x4847c3=>({'range':_0x4847c3,'unitId':_0x5bb805[_0xc2e059(0x276)],'subUnitId':_0x5bb805['subUnitId'],'showText':_0xc2e059(0x351)})),_0xc2e059(0x24e));break;}case _0x593f2f[_0xc2e059(0x31f)]['id']:{let _0x22f63f=_0xb9603a;_0x4c215e(_0x22f63f[_0xc2e059(0x278)][_0xc2e059(0x160)](_0xb6b341=>({'range':_0xb6b341,'unitId':_0x22f63f[_0xc2e059(0x276)],'subUnitId':_0x22f63f['subUnitId'],'showText':'removeNumfmt'})),'delete');break;}case _0x593f2f[_0xc2e059(0x2e7)]['id']:{let _0x2ac647=_0xb9603a;_0x4c215e([{'range':{..._0x2ac647[_0xc2e059(0x14f)],'rangeType':_0x194df4[_0xc2e059(0x284)]['ROW']},'unitId':_0x2ac647[_0xc2e059(0x276)],'subUnitId':_0x2ac647[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x30c)}],_0xc2e059(0x24e)),_0x4c215e([{'range':{..._0x2ac647['targetRange'],'rangeType':_0x194df4[_0xc2e059(0x284)][_0xc2e059(0x298)]},'unitId':_0x2ac647[_0xc2e059(0x276)],'subUnitId':_0x2ac647[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x30c)}],'insert');break;}case _0x593f2f[_0xc2e059(0x156)]['id']:{let _0x202c8b=_0xb9603a;_0x4c215e([{'range':{..._0x202c8b[_0xc2e059(0x14f)],'rangeType':_0x194df4['RANGE_TYPE'][_0xc2e059(0x40c)]},'unitId':_0x202c8b['unitId'],'subUnitId':_0x202c8b[_0xc2e059(0x3ca)],'showText':'moveCols'}],'delete'),_0x4c215e([{'range':{..._0x202c8b[_0xc2e059(0x173)],'rangeType':_0x194df4[_0xc2e059(0x284)][_0xc2e059(0x40c)]},'unitId':_0x202c8b[_0xc2e059(0x276)],'subUnitId':_0x202c8b['subUnitId'],'showText':_0xc2e059(0x2b8)}],'insert');break;}case _0x593f2f[_0xc2e059(0x9f)]['id']:{let _0x1d4e75=_0xb9603a;_0x4c215e(_0x1d4e75[_0xc2e059(0x278)]['map'](_0x1e8b7f=>({'range':{..._0x1e8b7f,'rangeType':_0x194df4['RANGE_TYPE'][_0xc2e059(0x298)]},'unitId':_0x1d4e75[_0xc2e059(0x276)],'subUnitId':_0x1d4e75[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x3e5),'highlightRow':!0x0})),_0xc2e059(0x3c4));break;}case _0x593f2f['SetRowDataMutation']['id']:{let _0x349d35=_0xb9603a;_0x349d35['rowData']&&_0x349d35[_0xc2e059(0x3ca)]&&Object['keys'](_0x349d35[_0xc2e059(0x104)])[_0xc2e059(0x160)](Number)['forEach'](_0x1c9e58=>{const _0x57db33=_0xc2e059;_0x4c215e([{'range':{'startRow':_0x1c9e58,'endRow':_0x1c9e58,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x194df4[_0x57db33(0x284)][_0x57db33(0x298)]},'unitId':_0x349d35['unitId'],'subUnitId':_0x349d35[_0x57db33(0x3ca)],'showText':'setRowData','highlightRow':!0x0}],_0x57db33(0x3c4));});break;}case _0x593f2f['SetColVisibleMutation']['id']:{let _0x130664=_0xb9603a;_0x4c215e(_0x130664['ranges'][_0xc2e059(0x160)](_0xfc37e4=>({'range':{..._0xfc37e4,'rangeType':_0x194df4[_0xc2e059(0x284)][_0xc2e059(0x40c)]},'unitId':_0x130664[_0xc2e059(0x276)],'subUnitId':_0x130664[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x15b),'highlightColumn':!0x0})),_0xc2e059(0x3c4));break;}case _0x593f2f[_0xc2e059(0x3d8)]['id']:{let _0x8e716c=_0xb9603a;_0x8e716c[_0xc2e059(0x19b)]&&_0x8e716c[_0xc2e059(0x3ca)]&&Object[_0xc2e059(0xa4)](_0x8e716c[_0xc2e059(0x19b)])[_0xc2e059(0x160)](Number)[_0xc2e059(0x128)](_0x9991fc=>{const _0x2858db=_0xc2e059;_0x4c215e([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x9991fc,'endColumn':_0x9991fc,'rangeType':_0x194df4['RANGE_TYPE'][_0x2858db(0x40c)]},'unitId':_0x8e716c[_0x2858db(0x276)],'subUnitId':_0x8e716c[_0x2858db(0x3ca)],'showText':_0x2858db(0x12f),'highlightColumn':!0x0}],_0x2858db(0x3c4));});break;}case _0x593f2f[_0xc2e059(0x1b1)]['id']:{let _0x201756=_0xb9603a;_0x4c215e(_0x201756[_0xc2e059(0x1d1)]?_0x3464ec(_0x201756[_0xc2e059(0x1d1)])[_0xc2e059(0x160)](_0x49fbd0=>({'range':_0x49fbd0,'unitId':_0x201756[_0xc2e059(0x276)],'subUnitId':_0x201756[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x252)})):[],_0xc2e059(0x3c4));break;}case _0x593f2f[_0xc2e059(0x3fe)]['id']:{let _0x4ef828=_0x2aec8b[_0xc2e059(0x215)];_0x4c215e([{'range':_0x1648f2(_0x4ef828['from'][_0xc2e059(0x30b)]),'unitId':_0x4ef828[_0xc2e059(0x276)],'subUnitId':_0x4ef828['from'][_0xc2e059(0x3ca)],'showText':_0xc2e059(0x1e2)}],'delete'),_0x4c215e([{'range':_0x1648f2(_0x4ef828['to']['value']),'unitId':_0x4ef828[_0xc2e059(0x276)],'subUnitId':_0x4ef828['to']['subUnitId'],'showText':_0xc2e059(0x1e2)}],_0xc2e059(0x3fb));break;}case _0x593f2f['ReorderRangeMutation']['id']:{let _0x4ba94e=_0xb9603a;_0x4c215e([{'range':_0x4ba94e[_0xc2e059(0x1dd)],'unitId':_0x4ba94e[_0xc2e059(0x276)],'subUnitId':_0x4ba94e[_0xc2e059(0x3ca)]}],_0xc2e059(0x3c4));break;}case _0x593f2f[_0xc2e059(0x13c)]['id']:{let _0x54fd9e=_0xb9603a;_0x54fd9e['ranges']&&_0x54fd9e[_0xc2e059(0x278)][_0xc2e059(0x3e7)]>0x0&&_0x54fd9e[_0xc2e059(0x3ca)]&&_0x4c215e(_0x54fd9e[_0xc2e059(0x278)][_0xc2e059(0x160)](_0x1fc904=>({'range':_0x1fc904,'unitId':_0x54fd9e[_0xc2e059(0x276)],'subUnitId':_0x54fd9e[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x304)})),_0xc2e059(0x35d));break;}case _0x593f2f[_0xc2e059(0x8c)]['id']:{let _0x89de47=_0xb9603a;_0x89de47[_0xc2e059(0x278)]&&_0x89de47[_0xc2e059(0x278)][_0xc2e059(0x3e7)]>0x0&&_0x89de47[_0xc2e059(0x3ca)]&&_0x4c215e(_0x89de47[_0xc2e059(0x278)][_0xc2e059(0x160)](_0x52b351=>({'range':_0x52b351,'unitId':_0x89de47['unitId'],'subUnitId':_0x89de47[_0xc2e059(0x3ca)],'showText':'setColWidth'})),_0xc2e059(0x38c));break;}case _0x593f2f['AddRangeProtectionMutation']['id']:{let _0x5708f5=_0xb9603a;_0x4c215e(_0x5708f5['rules'][_0xc2e059(0x160)](_0x37a56d=>_0x37a56d[_0xc2e059(0x278)]['map'](_0x4fdacd=>({'range':_0x4fdacd,'unitId':_0x5708f5[_0xc2e059(0x276)],'subUnitId':_0x5708f5[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x1ea)})))[_0xc2e059(0x183)](),_0xc2e059(0x3df));break;}case _0x1c7848[_0xc2e059(0x25f)]['id']:{let _0x1ab5f5=_0xb9603a;_0x4c215e(_0x1ab5f5[_0xc2e059(0x1b9)][_0xc2e059(0x278)][_0xc2e059(0x160)](_0xe7d615=>({'range':_0xe7d615,'unitId':_0x1ab5f5[_0xc2e059(0x276)],'subUnitId':_0x1ab5f5[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x2a3)})),_0xc2e059(0x3df));break;}case _0x168f6a[_0xc2e059(0x370)]['id']:{let _0xabba87=_0xb9603a;_0x4c215e((Array[_0xc2e059(0x3e0)](_0xabba87['rule'])?_0xabba87[_0xc2e059(0x1b9)]:[_0xabba87['rule']])[_0xc2e059(0x160)](_0x291dc6=>_0x291dc6[_0xc2e059(0x278)][_0xc2e059(0x160)](_0xb0f97a=>({'range':_0xb0f97a,'unitId':_0xabba87['unitId'],'subUnitId':_0xabba87[_0xc2e059(0x3ca)],'showText':'setDV'})))[_0xc2e059(0x183)](),_0xc2e059(0x3df));break;}case _0x593f2f[_0xc2e059(0x16b)]['id']:{let _0x1532d2=_0xb9603a,_0x25d56a=_0x1532d2['unitId'],_0x4d7497=_0x1532d2['subUnitId'];_0x1532d2['ruleIds']&&_0x1532d2[_0xc2e059(0x216)][_0xc2e059(0x3e7)]>0x0&&_0x1532d2[_0xc2e059(0x3ca)]&&_0x1532d2['ruleIds'][_0xc2e059(0x128)](_0x1f2fcd=>{const _0x39c01a=_0xc2e059;let _0x44baac=this['_rangeProtectionRuleModel'][_0x39c01a(0x35f)](_0x25d56a,_0x4d7497,_0x1f2fcd),_0x385726=(_0x44baac==null?void 0x0:_0x44baac['ranges'][_0x39c01a(0x160)](_0x1e87b3=>({'range':_0x1e87b3,'unitId':_0x25d56a,'subUnitId':_0x4d7497,'showText':'deleteRangeProtection'})))||[];_0x385726[_0x39c01a(0x3e7)]>0x0&&_0x4c215e(_0x385726,'deleteBorder');});break;}case _0x1c7848['DeleteConditionalRuleMutation']['id']:{let _0x3cafac=_0xb9603a;if(_0x3cafac[_0xc2e059(0x135)]&&_0x3cafac[_0xc2e059(0x3ca)]){let _0x3043d5=this['_conditionalFormattingRuleModel']['getRule'](_0x3cafac['unitId'],_0x3cafac[_0xc2e059(0x3ca)],_0x3cafac[_0xc2e059(0x135)]);if(_0x3043d5){let _0x216a83=_0x3043d5['ranges'][_0xc2e059(0x160)](_0x20454f=>({'range':_0x20454f,'unitId':_0x3cafac['unitId'],'subUnitId':_0x3cafac[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x296)}));_0x216a83[_0xc2e059(0x3e7)]>0x0&&_0x4c215e(_0x216a83,_0xc2e059(0x3d3));}}break;}case _0x168f6a['RemoveDataValidationMutation']['id']:{let _0x32a89b=_0xb9603a,_0x44dc23=Array[_0xc2e059(0x3e0)](_0x32a89b[_0xc2e059(0x2d4)])?_0x32a89b[_0xc2e059(0x2d4)]:[_0x32a89b[_0xc2e059(0x2d4)]];_0x44dc23[_0xc2e059(0x3e7)]>0x0&&_0x32a89b[_0xc2e059(0x3ca)]&&_0x44dc23[_0xc2e059(0x128)](_0x5e82a8=>{const _0x23630c=_0xc2e059;let _0x326392=this[_0x23630c(0x2c8)][_0x23630c(0x277)](_0x32a89b['unitId'],_0x32a89b[_0x23630c(0x3ca)],_0x5e82a8),_0x52c595=(_0x326392==null?void 0x0:_0x326392[_0x23630c(0x278)][_0x23630c(0x160)](_0x3f1232=>({'range':_0x3f1232,'unitId':_0x32a89b[_0x23630c(0x276)],'subUnitId':_0x32a89b[_0x23630c(0x3ca)],'showText':_0x23630c(0x2db)})))||[];_0x52c595[_0x23630c(0x3e7)]>0x0&&_0x4c215e(_0x52c595,_0x23630c(0x3d3));});break;}case _0x593f2f['SetRangeProtectionMutation']['id']:{let _0x379cd2=_0xb9603a;_0x4c215e(_0x379cd2[_0xc2e059(0x1b9)][_0xc2e059(0x278)][_0xc2e059(0x160)](_0x21d8b4=>({'range':_0x21d8b4,'unitId':_0x379cd2[_0xc2e059(0x276)],'subUnitId':_0x379cd2[_0xc2e059(0x3ca)],'showText':_0xc2e059(0xde)})),'updateBorder');break;}case _0x593f2f['SetWorksheetRangeThemeStyleMutation']['id']:{let _0x2b820b=_0xb9603a;_0x4c215e([{'range':_0x2b820b[_0xc2e059(0x1dd)],'unitId':_0x2b820b[_0xc2e059(0x276)],'subUnitId':_0x2b820b[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x323)}],_0xc2e059(0x34f));break;}case _0x593f2f[_0xc2e059(0xcf)]['id']:{let _0x1cc532=_0xb9603a;_0x4c215e([{'range':_0x1cc532[_0xc2e059(0x1dd)],'unitId':_0x1cc532[_0xc2e059(0x276)],'subUnitId':_0x1cc532[_0xc2e059(0x3ca)],'showText':'deleteWorksheetRangeTheme'}],'updateBorder');break;}case _0x1c7848[_0xc2e059(0x174)]['id']:{let _0x3e0f7f=_0xb9603a;_0x4c215e(_0x3e0f7f['rule']['ranges']['map'](_0x4c5fb1=>({'range':_0x4c5fb1,'unitId':_0x3e0f7f[_0xc2e059(0x276)],'subUnitId':_0x3e0f7f[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x2a3)})),_0xc2e059(0x34f));break;}case _0x1c7848[_0xc2e059(0x338)]['id']:{let _0x343095=_0xb9603a,_0x49d2e5=this[_0xc2e059(0xd6)][_0xc2e059(0x35f)](_0x343095['unitId'],_0x343095[_0xc2e059(0x3ca)],_0x343095['start']['id']),_0x32930f=this['_conditionalFormattingRuleModel'][_0xc2e059(0x35f)](_0x343095['unitId'],_0x343095[_0xc2e059(0x3ca)],_0x343095['end']['id']);_0x49d2e5&&_0x4c215e(_0x49d2e5[_0xc2e059(0x278)][_0xc2e059(0x160)](_0x15cd10=>({'range':_0x15cd10,'unitId':_0x343095[_0xc2e059(0x276)],'subUnitId':_0x343095[_0xc2e059(0x3ca)],'showText':_0xc2e059(0xc8)})),_0xc2e059(0x3d3)),_0x32930f&&_0x4c215e(_0x32930f[_0xc2e059(0x278)][_0xc2e059(0x160)](_0x246366=>({'range':_0x246366,'unitId':_0x343095[_0xc2e059(0x276)],'subUnitId':_0x343095[_0xc2e059(0x3ca)],'showText':_0xc2e059(0xc8)})),'insertBorder');break;}case _0xe8a6fd[_0xc2e059(0xf4)]['id']:{let _0x3c3641=_0xb9603a;_0x4c215e([{'range':_0x3c3641[_0xc2e059(0x1dd)],'unitId':_0x3c3641[_0xc2e059(0x276)],'subUnitId':_0x3c3641['subUnitId'],'showText':'setFilter'}],'updateBorder');break;}case _0xe8a6fd[_0xc2e059(0xe7)]['id']:{let _0x3e5072=_0xb9603a,_0x5dd2f0=this[_0xc2e059(0x1c5)][_0xc2e059(0x22e)](_0x3e5072[_0xc2e059(0x276)],_0x3e5072[_0xc2e059(0x3ca)]);if(_0x5dd2f0){let _0x2dbf97=_0x5dd2f0['getRange']();_0x4c215e(_0x2dbf97?[{'range':_0x2dbf97,'unitId':_0x3e5072[_0xc2e059(0x276)],'subUnitId':_0x3e5072[_0xc2e059(0x3ca)],'showText':'setFilterCriteria'}]:[],_0xc2e059(0x34f));}break;}case _0xe8a6fd[_0xc2e059(0x11c)]['id']:{let _0x406387=_0xb9603a,_0x1295bb=this[_0xc2e059(0x1c5)][_0xc2e059(0x22e)](_0x406387[_0xc2e059(0x276)],_0x406387[_0xc2e059(0x3ca)]);if(_0x1295bb){let _0x1ef383=_0x1295bb[_0xc2e059(0x23f)]();_0x4c215e(_0x1ef383?[{'range':_0x1ef383,'unitId':_0x406387[_0xc2e059(0x276)],'subUnitId':_0x406387['subUnitId'],'showText':_0xc2e059(0x3be)}]:[],'updateBorder');}break;}case _0xe8a6fd[_0xc2e059(0x240)]['id']:{let _0x3f9f8e=_0xb9603a,_0x38b77e=this[_0xc2e059(0x1c5)]['getFilterModel'](_0x3f9f8e[_0xc2e059(0x276)],_0x3f9f8e[_0xc2e059(0x3ca)]);if(_0x38b77e){let _0x4893be=_0x38b77e[_0xc2e059(0x23f)]();_0x4c215e(_0x4893be?[{'range':_0x4893be,'unitId':_0x3f9f8e[_0xc2e059(0x276)],'subUnitId':_0x3f9f8e[_0xc2e059(0x3ca)],'showText':'removeFilter'}]:[],'updateBorder');}break;}case _0x168f6a['UpdateDataValidationMutation']['id']:{let _0x2ae008=_0xb9603a,_0x49d8f1=this[_0xc2e059(0x2c8)]['getRuleById'](_0x2ae008[_0xc2e059(0x276)],_0x2ae008['subUnitId'],_0x2ae008['ruleId']);_0x49d8f1&&_0x4c215e(_0x49d8f1[_0xc2e059(0x278)][_0xc2e059(0x160)](_0x3d35ab=>({'range':_0x3d35ab,'unitId':_0x2ae008['unitId'],'subUnitId':_0x2ae008[_0xc2e059(0x3ca)],'showText':'setDV'})),_0xc2e059(0x34f));break;}case _0x5baa48[_0xc2e059(0x1d7)]['id']:{let _0x163079=_0xb9603a,_0x34fe0f=_0x163079[_0xc2e059(0x276)],_0xe8ef5c=_0x163079[_0xc2e059(0x3ca)],_0x58784e=_0x163079[_0xc2e059(0x405)];_0x163079[_0xc2e059(0x405)]&&_0xe8ef5c&&Object[_0xc2e059(0xa4)](_0x163079[_0xc2e059(0x405)])[_0xc2e059(0x128)](_0x2b9d8b=>{const _0x559f60=_0xc2e059;let _0xf26b09=_0x58784e[_0x2b9d8b];_0x4c215e(_0x3464ec(_0xf26b09[_0x559f60(0x3a3)])['map'](_0x5d109e=>({'range':_0x5d109e,'unitId':_0x34fe0f,'subUnitId':_0xe8ef5c,'showText':'addSparkline'})),_0x559f60(0x3fb));});break;}case _0x5baa48[_0xc2e059(0x334)]['id']:{let _0x42ae4d=_0xb9603a;_0x42ae4d[_0xc2e059(0x34c)]&&_0x42ae4d[_0xc2e059(0x34c)][_0xc2e059(0x3e7)]>0x0&&_0x42ae4d[_0xc2e059(0x3ca)]&&_0x42ae4d['groupIds']['forEach'](_0x322b87=>{const _0x304a8e=_0xc2e059;let _0x5029ce=this[_0x304a8e(0x97)]['getSparklineById'](_0x42ae4d[_0x304a8e(0x276)],_0x42ae4d['subUnitId'],_0x322b87);_0x5029ce&&_0x4c215e(_0x3464ec(_0x5029ce['sparklines'][_0x304a8e(0x1d5)]())[_0x304a8e(0x160)](_0x296d8c=>({'range':_0x296d8c,'unitId':_0x42ae4d['unitId'],'subUnitId':_0x42ae4d[_0x304a8e(0x3ca)],'showText':_0x304a8e(0x28c)})),'update');});break;}case _0x5baa48[_0xc2e059(0x1c3)]['id']:{let _0x372be1=_0xb9603a;_0x372be1['groupIds']&&_0x372be1[_0xc2e059(0x34c)]['length']>0x0&&_0x372be1['subUnitId']&&_0x372be1[_0xc2e059(0x34c)][_0xc2e059(0x128)](_0x574e36=>{const _0xeb4b56=_0xc2e059;let _0x1e06ad=this['_sparklineDataSourceModel'][_0xeb4b56(0xf0)](_0x372be1[_0xeb4b56(0x276)],_0x372be1[_0xeb4b56(0x3ca)],_0x574e36);_0x1e06ad&&_0x4c215e(_0x3464ec(_0x1e06ad[_0xeb4b56(0x3a3)]['getMatrix']())[_0xeb4b56(0x160)](_0x1b3e7c=>({'range':_0x1b3e7c,'unitId':_0x372be1[_0xeb4b56(0x276)],'subUnitId':_0x372be1[_0xeb4b56(0x3ca)],'showText':_0xeb4b56(0xc2)})),_0xeb4b56(0x24e));});break;}case _0x1efe2f[_0xc2e059(0xd1)]['id']:{let _0x5ad2ba=_0xb9603a;_0x5ad2ba[_0xc2e059(0x2d1)]&&_0x5ad2ba[_0xc2e059(0x3ca)]&&_0x4c215e([{'range':_0x5ad2ba[_0xc2e059(0x1dd)],'unitId':_0x5ad2ba[_0xc2e059(0x276)],'subUnitId':_0x5ad2ba[_0xc2e059(0x3ca)],'showText':_0xc2e059(0xb1)}],_0xc2e059(0x3fb));break;}case _0x1efe2f[_0xc2e059(0xbf)]['id']:{let _0xbdecb3=_0xb9603a;if(_0xbdecb3[_0xc2e059(0x2d1)]&&_0xbdecb3[_0xc2e059(0x3ca)]){var _0x5b361a;let _0x2737ea=(_0x5b361a=this['_sheetTableService'][_0xc2e059(0xab)](_0xbdecb3[_0xc2e059(0x276)],_0xbdecb3['tableId']))==null?void 0x0:_0x5b361a[_0xc2e059(0x1dd)];_0x2737ea&&_0x4c215e([{'range':_0x2737ea,'unitId':_0xbdecb3[_0xc2e059(0x276)],'subUnitId':_0xbdecb3[_0xc2e059(0x3ca)],'showText':_0xc2e059(0xb4)}],_0xc2e059(0x24e));}break;}case _0x1efe2f[_0xc2e059(0x3da)]['id']:{let _0x45fd69=_0xb9603a;if(_0x45fd69[_0xc2e059(0x2d1)]){let _0x5e2260=this['_sheetTableService']['getTableInfo'](_0x45fd69[_0xc2e059(0x276)],_0x45fd69[_0xc2e059(0x2d1)]);_0x5e2260&&_0x5e2260[_0xc2e059(0x1dd)]&&_0x5e2260[_0xc2e059(0x3ca)]&&(_0x4da456[_0xc2e059(0x2c0)][_0xc2e059(0x280)](_0x5e2260[_0xc2e059(0x3ca)]),_0x4c215e([{'range':_0x5e2260['range'],'unitId':_0x45fd69['unitId'],'subUnitId':_0x5e2260[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x95)}],_0xc2e059(0x3c4)));}break;}case _0x1efe2f[_0xc2e059(0x3bb)]['id']:{let _0x37a406=_0xb9603a;if(_0x37a406['tableId']&&_0x37a406['subUnitId']){var _0x56f368;let _0x3845f0=(_0x56f368=this['_sheetTableService'][_0xc2e059(0xab)](_0x37a406[_0xc2e059(0x276)],_0x37a406[_0xc2e059(0x2d1)]))==null?void 0x0:_0x56f368[_0xc2e059(0x1dd)];_0x3845f0&&_0x4c215e([{'range':_0x3845f0,'unitId':_0x37a406['unitId'],'subUnitId':_0x37a406[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x134)}],'update');}break;}case _0x3f84e1[_0xc2e059(0x37d)]['id']:{let _0xa6f48c=_0xb9603a;if(_0xa6f48c[_0xc2e059(0x316)]&&_0xa6f48c[_0xc2e059(0x3ca)]){var _0x12aa94;let _0x288c08=(_0x12aa94=this[_0xc2e059(0x1bb)][_0xc2e059(0xa1)](_0xa6f48c[_0xc2e059(0x276)],_0xa6f48c['subUnitId'],_0xa6f48c['pivotTableId']))==null?void 0x0:_0x12aa94[_0xc2e059(0x2b3)];_0x288c08&&_0x4c215e((0x0,_0x3f84e1[_0xc2e059(0xe3)])(_0x288c08)[_0xc2e059(0x160)](_0x12c301=>({'range':_0x12c301,'unitId':_0xa6f48c['unitId'],'subUnitId':_0xa6f48c[_0xc2e059(0x3ca)],'showText':'addPivotTable'})),_0xc2e059(0x3fb));}break;}case _0x3f84e1[_0xc2e059(0x10f)]['id']:{let _0x599904=_0xb9603a;if(_0x599904[_0xc2e059(0x316)]&&_0x599904[_0xc2e059(0x3ca)]){var _0x1acc5b;let _0x241bee=(_0x1acc5b=this[_0xc2e059(0x1bb)][_0xc2e059(0xa1)](_0x599904[_0xc2e059(0x276)],_0x599904[_0xc2e059(0x3ca)],_0x599904[_0xc2e059(0x316)]))==null?void 0x0:_0x1acc5b[_0xc2e059(0x2b3)];_0x241bee&&_0x4c215e((0x0,_0x3f84e1[_0xc2e059(0xe3)])(_0x241bee)['map'](_0x4c97d4=>({'range':_0x4c97d4,'unitId':_0x599904[_0xc2e059(0x276)],'subUnitId':_0x599904[_0xc2e059(0x3ca)],'showText':_0xc2e059(0x99)})),'delete');}break;}case _0x3f84e1[_0xc2e059(0x221)]['id']:case _0x3f84e1[_0xc2e059(0x326)]['id']:case _0x3f84e1[_0xc2e059(0x228)]['id']:case _0x3f84e1[_0xc2e059(0x2b6)]['id']:case _0x3f84e1['RemovePivotFieldMutation']['id']:case _0x3f84e1[_0xc2e059(0x2dc)]['id']:case _0x3f84e1['UpdateFieldPositionMutation']['id']:case _0x3f84e1[_0xc2e059(0x378)]['id']:case _0x3f84e1[_0xc2e059(0x18a)]['id']:case _0x3f84e1['SetPivotFilterMutation']['id']:case _0x3f84e1['SetPivotValueFilterMutation']['id']:case _0x3f84e1[_0xc2e059(0x3ec)]['id']:case _0x3f84e1[_0xc2e059(0xd8)]['id']:case _0x3f84e1['SetPivotFieldFormatMutation']['id']:case _0x3f84e1[_0xc2e059(0xcc)]['id']:{let _0x54dd2d=_0xb9603a,_0x4b6225=_0xc2e059(0x19f);if(_0x3ecb2d===_0x3f84e1[_0xc2e059(0x221)]['id']?_0x4b6225=_0xc2e059(0x19f):_0x3ecb2d===_0x3f84e1[_0xc2e059(0x326)]['id']?_0x4b6225=_0xc2e059(0x12e):_0x3ecb2d===_0x3f84e1[_0xc2e059(0x228)]['id']?_0x4b6225=_0xc2e059(0xc6):_0x3ecb2d===_0x3f84e1[_0xc2e059(0x2b6)]['id']?_0x4b6225='addPivotField':_0x3ecb2d===_0x3f84e1['RemovePivotFieldMutation']['id']?_0x4b6225=_0xc2e059(0x192):_0x3ecb2d===_0x3f84e1[_0xc2e059(0x2dc)]['id']?_0x4b6225=_0xc2e059(0x3c2):_0x3ecb2d===_0x3f84e1['UpdateFieldPositionMutation']['id']?_0x4b6225=_0xc2e059(0x142):_0x3ecb2d===_0x3f84e1[_0xc2e059(0x378)]['id']?_0x4b6225='updateValuePosition':_0x3ecb2d===_0x3f84e1[_0xc2e059(0x18a)]['id']?_0x4b6225=_0xc2e059(0x3cb):_0x3ecb2d===_0x3f84e1[_0xc2e059(0x15d)]['id']?_0x4b6225='setPivotFilter':_0x3ecb2d===_0x3f84e1[_0xc2e059(0x258)]['id']?_0x4b6225=_0xc2e059(0x31c):_0x3ecb2d===_0x3f84e1[_0xc2e059(0x3ec)]['id']?_0x4b6225=_0xc2e059(0x254):_0x3ecb2d===_0x3f84e1[_0xc2e059(0xd8)]['id']?_0x4b6225=_0xc2e059(0x255):_0x3ecb2d===_0x3f84e1[_0xc2e059(0xcc)]['id']?_0x4b6225=_0xc2e059(0x151):_0x3ecb2d===_0x3f84e1[_0xc2e059(0x250)]['id']&&(_0x4b6225=_0xc2e059(0x3f0)),_0x54dd2d[_0xc2e059(0x316)]&&_0x54dd2d[_0xc2e059(0x3ca)]){var _0x2391b5;let _0x23c369=(_0x2391b5=this['_sheetsPivotTableConfigModel'][_0xc2e059(0xa1)](_0x54dd2d[_0xc2e059(0x276)],_0x54dd2d['subUnitId'],_0x54dd2d[_0xc2e059(0x316)]))==null?void 0x0:_0x2391b5[_0xc2e059(0x2b3)];_0x23c369&&_0x4c215e((0x0,_0x3f84e1[_0xc2e059(0xe3)])(_0x23c369)['map'](_0x18c878=>({'range':_0x18c878,'unitId':_0x54dd2d['unitId'],'subUnitId':_0x54dd2d[_0xc2e059(0x3ca)],'showText':_0x4b6225})),_0xc2e059(0x3c4));}break;}case _0x5d7d4a[_0xc2e059(0x226)]['id']:{let _0x2a2351=_0xb9603a;_0x2a2351[_0xc2e059(0x1c7)]&&_0x4da456[_0xc2e059(0x3bc)][_0xc2e059(0x280)]({'drawingId':_0x2a2351['chartId'],'unitId':_0x2a2351[_0xc2e059(0x276)],'subUnitId':_0x2a2351[_0xc2e059(0x3ca)],'showText':_0x397265});break;}case _0x5d7d4a['RemoveSheetsChartMutation']['id']:{let _0x1c442c=_0xb9603a;_0x1c442c[_0xc2e059(0x1c7)]&&_0x4da456['deleteDrawings']['push']({'drawingId':_0x1c442c[_0xc2e059(0x1c7)],'unitId':_0x1c442c[_0xc2e059(0x276)],'subUnitId':_0x1c442c['subUnitId'],'showText':_0x397265});break;}case _0x5d7d4a['ChartUpdateConfigMutation']['id']:{let _0x4e9109=_0xb9603a;if(_0x4e9109[_0xc2e059(0x178)]){let _0x5f2f72=this[_0xc2e059(0x2ae)][_0xc2e059(0x203)](_0x4e9109[_0xc2e059(0x276)],_0x4e9109[_0xc2e059(0x178)]);_0x5f2f72&&(_0x4da456[_0xc2e059(0x2c0)][_0xc2e059(0x280)](_0x5f2f72),_0x4da456[_0xc2e059(0x137)][_0xc2e059(0x280)]({'drawingId':_0x4e9109[_0xc2e059(0x178)],'unitId':_0x4e9109[_0xc2e059(0x276)],'subUnitId':_0x5f2f72,'showText':_0x397265}));}break;}case _0x5d7d4a[_0xc2e059(0x400)]['id']:{let _0x5509eb=_0xb9603a;if(_0x5509eb[_0xc2e059(0x178)]){let _0x2f13ff=this[_0xc2e059(0x2ae)][_0xc2e059(0x203)](_0x5509eb[_0xc2e059(0x276)],_0x5509eb['chartModelId']);_0x2f13ff&&(_0x4da456[_0xc2e059(0x2c0)]['push'](_0x2f13ff),_0x4da456[_0xc2e059(0x137)][_0xc2e059(0x280)]({'drawingId':_0x5509eb[_0xc2e059(0x178)],'unitId':_0x5509eb['unitId'],'subUnitId':_0x2f13ff,'showText':_0x397265}));}break;}case _0x5f45f0['InsertSheetsShapeMutation']['id']:{let _0x535111=_0xb9603a;_0x535111['shapeId']&&_0x4da456['insertDrawings']['push']({'drawingId':_0x535111[_0xc2e059(0x2bf)],'unitId':_0x535111[_0xc2e059(0x276)],'subUnitId':_0x535111[_0xc2e059(0x3ca)],'showText':_0x397265});break;}case _0x5f45f0[_0xc2e059(0x2d8)]['id']:{let _0x4f9c2d=_0xb9603a;_0x4f9c2d[_0xc2e059(0x2bf)]&&_0x4da456[_0xc2e059(0x2a4)]['push']({'drawingId':_0x4f9c2d[_0xc2e059(0x2bf)],'unitId':_0x4f9c2d[_0xc2e059(0x276)],'subUnitId':_0x4f9c2d[_0xc2e059(0x3ca)],'showText':_0x397265});break;}case _0x5f45f0['UpdateSheetsShapeDataMutation']['id']:case _0x5f45f0[_0xc2e059(0x354)]['id']:{let _0x3d1f55=_0xb9603a;_0x3d1f55[_0xc2e059(0x2bf)]&&_0x4da456[_0xc2e059(0x137)][_0xc2e059(0x280)]({'drawingId':_0x3d1f55['shapeId'],'unitId':_0x3d1f55['unitId'],'subUnitId':_0x3d1f55[_0xc2e059(0x3ca)],'showText':_0x397265});break;}case _0x5539b8[_0xc2e059(0x13f)]['id']:{let _0x3c67f6=_0xb9603a,_0x11864a=_0x3c67f6[_0xc2e059(0x172)],_0x4e80c0=_0x3c67f6['type'],_0x2ec035=_0x4e80c0!==_0x5539b8[_0xc2e059(0x388)][_0xc2e059(0x148)]&&_0x4e80c0!==_0x5539b8[_0xc2e059(0x388)][_0xc2e059(0xd2)],_0x2e74cb=_0x4e80c0===_0x5539b8[_0xc2e059(0x388)][_0xc2e059(0x148)],_0x5af463=_0x4e80c0===_0x5539b8[_0xc2e059(0x388)][_0xc2e059(0xd2)],_0x5031ed=_0x397265;if(_0x4e80c0===_0x5539b8[_0xc2e059(0x388)][_0xc2e059(0x148)]?_0x5031ed=this[_0xc2e059(0x292)]['t']('editHistory.action.insertDrawing'):_0x4e80c0===_0x5539b8['DrawingApplyType'][_0xc2e059(0xd2)]&&(_0x5031ed=this[_0xc2e059(0x292)]['t'](_0xc2e059(0x1d0))),Array['isArray'](_0x11864a))_0x11864a[_0xc2e059(0x128)](_0x1d1a8c=>{const _0x1fe3db=_0xc2e059;if(_0x1fe3db(0x3bf)in _0x1d1a8c&&_0x1d1a8c[_0x1fe3db(0x3bf)])_0x2ec035?_0x4da456[_0x1fe3db(0x137)][_0x1fe3db(0x280)]({'drawingId':_0x1d1a8c[_0x1fe3db(0x3bf)],'unitId':_0x3c67f6[_0x1fe3db(0x276)],'subUnitId':_0x3c67f6[_0x1fe3db(0x3ca)],'showText':_0x5031ed}):_0x2e74cb?_0x4da456['insertDrawings'][_0x1fe3db(0x280)]({'drawingId':_0x1d1a8c[_0x1fe3db(0x3bf)],'unitId':_0x3c67f6[_0x1fe3db(0x276)],'subUnitId':_0x3c67f6[_0x1fe3db(0x3ca)],'showText':_0x5031ed}):_0x5af463&&_0x4da456[_0x1fe3db(0x2a4)][_0x1fe3db(0x280)]({'drawingId':_0x1d1a8c[_0x1fe3db(0x3bf)],'unitId':_0x3c67f6[_0x1fe3db(0x276)],'subUnitId':_0x3c67f6[_0x1fe3db(0x3ca)],'showText':_0x5031ed});else{if(_0x1fe3db(0x1a1)in _0x1d1a8c&&_0x1fe3db(0x117)in _0x1d1a8c){var _0x5e7913,_0xa8eba0;(_0x5e7913=_0x1d1a8c[_0x1fe3db(0x1a1)])!=null&&_0x5e7913[_0x1fe3db(0x3bf)]&&(_0x2ec035?_0x4da456[_0x1fe3db(0x137)][_0x1fe3db(0x280)]({'drawingId':_0x1d1a8c['parent'][_0x1fe3db(0x3bf)],'unitId':_0x3c67f6[_0x1fe3db(0x276)],'subUnitId':_0x3c67f6[_0x1fe3db(0x3ca)],'showText':_0x5031ed}):_0x2e74cb?_0x4da456[_0x1fe3db(0x3bc)][_0x1fe3db(0x280)]({'drawingId':_0x1d1a8c[_0x1fe3db(0x1a1)]['drawingId'],'unitId':_0x3c67f6[_0x1fe3db(0x276)],'subUnitId':_0x3c67f6[_0x1fe3db(0x3ca)],'showText':_0x5031ed}):_0x5af463&&_0x4da456[_0x1fe3db(0x2a4)][_0x1fe3db(0x280)]({'drawingId':_0x1d1a8c['parent']['drawingId'],'unitId':_0x3c67f6['unitId'],'subUnitId':_0x3c67f6[_0x1fe3db(0x3ca)],'showText':_0x5031ed})),(_0xa8eba0=_0x1d1a8c[_0x1fe3db(0x117)])==null||_0xa8eba0[_0x1fe3db(0x128)](_0x4e4d4e=>{const _0x78f785=_0x1fe3db;_0x4e4d4e[_0x78f785(0x3bf)]&&(_0x2ec035?_0x4da456[_0x78f785(0x137)][_0x78f785(0x280)]({'drawingId':_0x4e4d4e[_0x78f785(0x3bf)],'unitId':_0x3c67f6[_0x78f785(0x276)],'subUnitId':_0x3c67f6[_0x78f785(0x3ca)],'showText':_0x5031ed}):_0x2e74cb?_0x4da456[_0x78f785(0x3bc)]['push']({'drawingId':_0x4e4d4e[_0x78f785(0x3bf)],'unitId':_0x3c67f6[_0x78f785(0x276)],'subUnitId':_0x3c67f6['subUnitId'],'showText':_0x5031ed}):_0x5af463&&_0x4da456[_0x78f785(0x2a4)][_0x78f785(0x280)]({'drawingId':_0x4e4d4e[_0x78f785(0x3bf)],'unitId':_0x3c67f6[_0x78f785(0x276)],'subUnitId':_0x3c67f6[_0x78f785(0x3ca)],'showText':_0x5031ed}));});}}});else{if(_0x11864a&&typeof _0x11864a=='object'){if(_0xc2e059(0x166)in _0x11864a&&Array[_0xc2e059(0x3e0)](_0x11864a['drawingIds']))_0x11864a[_0xc2e059(0x166)][_0xc2e059(0x128)](_0xdc9a1c=>{const _0x282a92=_0xc2e059;_0x2ec035?_0x4da456['updateDrawings'][_0x282a92(0x280)]({'drawingId':_0xdc9a1c,'unitId':_0x3c67f6[_0x282a92(0x276)],'subUnitId':_0x3c67f6[_0x282a92(0x3ca)],'showText':_0x5031ed}):_0x2e74cb?_0x4da456[_0x282a92(0x3bc)]['push']({'drawingId':_0xdc9a1c,'unitId':_0x3c67f6['unitId'],'subUnitId':_0x3c67f6[_0x282a92(0x3ca)],'showText':_0x5031ed}):_0x5af463&&_0x4da456[_0x282a92(0x2a4)][_0x282a92(0x280)]({'drawingId':_0xdc9a1c,'unitId':_0x3c67f6[_0x282a92(0x276)],'subUnitId':_0x3c67f6['subUnitId'],'showText':_0x5031ed});});else{if(_0xc2e059(0x1a1)in _0x11864a&&'children'in _0x11864a){var _0x4a0f4b,_0x5299e4;(_0x4a0f4b=_0x11864a[_0xc2e059(0x1a1)])!=null&&_0x4a0f4b[_0xc2e059(0x3bf)]&&(_0x2ec035?_0x4da456[_0xc2e059(0x137)][_0xc2e059(0x280)]({'drawingId':_0x11864a['parent'][_0xc2e059(0x3bf)],'unitId':_0x3c67f6[_0xc2e059(0x276)],'subUnitId':_0x3c67f6[_0xc2e059(0x3ca)],'showText':_0x5031ed}):_0x2e74cb?_0x4da456[_0xc2e059(0x3bc)]['push']({'drawingId':_0x11864a[_0xc2e059(0x1a1)][_0xc2e059(0x3bf)],'unitId':_0x3c67f6[_0xc2e059(0x276)],'subUnitId':_0x3c67f6[_0xc2e059(0x3ca)],'showText':_0x5031ed}):_0x5af463&&_0x4da456[_0xc2e059(0x2a4)][_0xc2e059(0x280)]({'drawingId':_0x11864a[_0xc2e059(0x1a1)][_0xc2e059(0x3bf)],'unitId':_0x3c67f6[_0xc2e059(0x276)],'subUnitId':_0x3c67f6[_0xc2e059(0x3ca)],'showText':_0x5031ed})),(_0x5299e4=_0x11864a[_0xc2e059(0x117)])==null||_0x5299e4[_0xc2e059(0x128)](_0x85726c=>{const _0x470de5=_0xc2e059;_0x85726c['drawingId']&&(_0x2ec035?_0x4da456[_0x470de5(0x137)][_0x470de5(0x280)]({'drawingId':_0x85726c[_0x470de5(0x3bf)],'unitId':_0x3c67f6[_0x470de5(0x276)],'subUnitId':_0x3c67f6[_0x470de5(0x3ca)],'showText':_0x5031ed}):_0x2e74cb?_0x4da456[_0x470de5(0x3bc)][_0x470de5(0x280)]({'drawingId':_0x85726c[_0x470de5(0x3bf)],'unitId':_0x3c67f6['unitId'],'subUnitId':_0x3c67f6['subUnitId'],'showText':_0x5031ed}):_0x5af463&&_0x4da456['deleteDrawings'][_0x470de5(0x280)]({'drawingId':_0x85726c[_0x470de5(0x3bf)],'unitId':_0x3c67f6[_0x470de5(0x276)],'subUnitId':_0x3c67f6[_0x470de5(0x3ca)],'showText':_0x5031ed}));});}}}}break;}}return _0x4da456;}[_0x4919c8(0x233)](_0x4a3052){const _0x599c85=_0x4919c8;if(_0x4a3052[_0x599c85(0x3e7)]<=0x1)return _0x4a3052;let _0x1987bc=new Map();return _0x4a3052[_0x599c85(0x128)](_0x2cd7a1=>{const _0x430186=_0x599c85;let {unitId:_0xb4dcb1,subUnitId:_0x23fa0d}=_0x2cd7a1,_0x2f7bdf=_0xb4dcb1+'-'+_0x23fa0d;if(!_0x1987bc[_0x430186(0x120)](_0x2f7bdf))_0x1987bc[_0x430186(0x1c8)](_0x2f7bdf,[_0x2cd7a1]);else{var _0x11f462;(_0x11f462=_0x1987bc[_0x430186(0x1bf)](_0x2f7bdf))==null||_0x11f462['push'](_0x2cd7a1);}}),Array[_0x599c85(0x343)](_0x1987bc[_0x599c85(0x364)]())[_0x599c85(0x160)](_0xcdd6d=>new _0x593f2f[(_0x599c85(0x268))]()[_0x599c85(0x328)](..._0xcdd6d[_0x599c85(0x160)](_0x1d5f82=>_0x1d5f82[_0x599c85(0x1dd)]))[_0x599c85(0x146)]()[_0x599c85(0x160)](_0x549aad=>({'range':_0x549aad,'unitId':_0xcdd6d[0x0]['unitId'],'subUnitId':_0xcdd6d[0x0][_0x599c85(0x3ca)],'showText':_0xcdd6d[0x0][_0x599c85(0x342)],'highlightRow':_0xcdd6d[0x0][_0x599c85(0x17a)],'highlightColumn':_0xcdd6d[0x0][_0x599c85(0x17d)]})))[_0x599c85(0x183)]();}};_0x597a1b=_0x26144c([_0x2928d0(0x0,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x209511)),_0x2928d0(0x1,_0x35b334[_0x4919c8(0x27c)]),_0x2928d0(0x2,_0x35b334[_0x4919c8(0x293)]),_0x2928d0(0x3,(0x0,_0x194df4['Inject'])(_0x593f2f[_0x4919c8(0xec)])),_0x2928d0(0x4,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x1c7848['ConditionalFormattingRuleModel'])),_0x2928d0(0x5,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0xaba751[_0x4919c8(0x10e)])),_0x2928d0(0x6,(0x0,_0x194df4['Inject'])(_0xe8a6fd['SheetsFilterService'])),_0x2928d0(0x7,(0x0,_0x194df4['Inject'])(_0x5baa48['SparklineDataSourceModel'])),_0x2928d0(0x8,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x3f84e1['SheetsPivotTableConfigModel'])),_0x2928d0(0x9,(0x0,_0x194df4['Inject'])(_0x1efe2f[_0x4919c8(0x199)])),_0x2928d0(0xa,(0x0,_0x194df4['Inject'])(_0x194df4[_0x4919c8(0x116)])),_0x2928d0(0xb,(0x0,_0x194df4['Inject'])(_0x5d7d4a['SheetsChartService'])),_0x2928d0(0xc,(0x0,_0x194df4['Inject'])(_0x413f31))],_0x597a1b);function _0x1648f2(_0x1cf05d){const _0xba6834=_0x4919c8;return new _0x194df4[(_0xba6834(0x363))](_0x1cf05d)[_0xba6834(0x123)]();}function _0x3464ec(_0x4bb584){const _0x5afcdb=_0x4919c8;let _0x549483=new _0x194df4[(_0x5afcdb(0x363))](_0x4bb584),_0x53fed2=new _0x194df4[(_0x5afcdb(0x363))]();return _0x549483['forValue']((_0x13bd45,_0x40c4ae)=>{_0x53fed2['setValue'](_0x13bd45,_0x40c4ae,0x1);}),(0x0,_0x593f2f[_0x5afcdb(0x352)])(_0x53fed2);}var _0x192312=class extends _0x5d0fdd[_0x4919c8(0x389)]{constructor(_0x5c3750,_0x4a3d63){const _0x5e4a8b=_0x4919c8;if(super(_0x5c3750,_0x4a3d63),_0x388d57(this,'_color',void 0x0),_0x388d57(this,_0x5e4a8b(0x1b0),void 0x0),_0x388d57(this,_0x5e4a8b(0xf8),void 0x0),_0x388d57(this,_0x5e4a8b(0x1c0),0x4),_0x388d57(this,'_blinkTimer',void 0x0),_0x388d57(this,_0x5e4a8b(0x157),void 0x0),_0x388d57(this,_0x5e4a8b(0x154),!0x0),_0x388d57(this,_0x5e4a8b(0x299),''),_0x388d57(this,_0x5e4a8b(0x132),!0x1),_0x388d57(this,_0x5e4a8b(0x1b2),_0x5e4a8b(0x409)),_0x388d57(this,_0x5e4a8b(0x372),void 0x0),_0x4a3d63){var _0x14220f;if(this[_0x5e4a8b(0x94)](_0x4a3d63),_0x4a3d63[_0x5e4a8b(0x3a4)]&&((_0x14220f=_0x4a3d63['highlightSecond'])==null?this[_0x5e4a8b(0x1c0)]:_0x14220f)){var _0x285b1f;this[_0x5e4a8b(0x3b6)]((_0x285b1f=_0x4a3d63[_0x5e4a8b(0x310)])==null?this[_0x5e4a8b(0x1c0)]:_0x285b1f);}}this[_0x5e4a8b(0x207)][_0x5e4a8b(0x380)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5e4a8b(0x289)][_0x5e4a8b(0x380)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x4919c8(0x94)](_0x7715dc){const _0xd8b50e=_0x4919c8;var _0x15e250,_0x2f90b3,_0x11eab6,_0x4cf7e8,_0x295e50,_0x28cfc3;this['_color']=(_0x15e250=_0x7715dc['color'])==null?this[_0xd8b50e(0x12d)]:_0x15e250,this[_0xd8b50e(0x1b0)]=(_0x2f90b3=_0x7715dc[_0xd8b50e(0x3ba)])==null?this[_0xd8b50e(0x1b0)]:_0x2f90b3,this[_0xd8b50e(0x299)]=(_0x11eab6=_0x7715dc['name'])==null?this['_name']:_0x11eab6,this['_hovered']=(_0x4cf7e8=_0x7715dc[_0xd8b50e(0x1c6)])==null?this[_0xd8b50e(0x132)]:_0x4cf7e8,this['_labelPosition']=(_0x295e50=_0x7715dc['labelPosition'])==null?this['_labelPosition']:_0x295e50,this[_0xd8b50e(0x372)]=(_0x28cfc3=_0x7715dc[_0xd8b50e(0x342)])==null?this['_showText']:_0x28cfc3,_0x7715dc[_0xd8b50e(0x310)]!==void 0x0&&(this[_0xd8b50e(0x1c0)]=_0x7715dc[_0xd8b50e(0x310)]),_0x7715dc[_0xd8b50e(0x3a4)]!==void 0x0&&(this[_0xd8b50e(0xf8)]=_0x7715dc[_0xd8b50e(0x3a4)]),this['transformByState']({'width':_0x7715dc[_0xd8b50e(0x3c8)],'height':_0x7715dc[_0xd8b50e(0xf1)]});}[_0x4919c8(0x3b6)](_0x2be0d0){const _0x4f66e5=_0x4919c8;this['_stopBlinking'](),this[_0x4f66e5(0x154)]=!0x0,this[_0x4f66e5(0x157)]=window[_0x4f66e5(0x2a2)](()=>{const _0x353f70=_0x4f66e5;this[_0x353f70(0x154)]=!this[_0x353f70(0x154)],this[_0x353f70(0x2ed)](!0x0);},0x1f4),this[_0x4f66e5(0x16f)]=window[_0x4f66e5(0x3fd)](()=>{const _0x404dc6=_0x4f66e5;this['_stopBlinking'](),this['_isBlinkVisible']=!0x0,this[_0x404dc6(0x2ed)](!0x0);},_0x2be0d0*0x3e8);}[_0x4919c8(0x200)](){const _0x2be7af=_0x4919c8;this['_blinkIntervalTimer']&&(window[_0x2be7af(0x3a9)](this[_0x2be7af(0x157)]),this[_0x2be7af(0x157)]=void 0x0),this['_blinkTimer']&&(window[_0x2be7af(0x2b1)](this[_0x2be7af(0x16f)]),this[_0x2be7af(0x16f)]=void 0x0);}[_0x4919c8(0xaa)](_0x40b912){return!0x1;}[_0x4919c8(0x1b8)](){const _0x4ef793=_0x4919c8;this['_stopBlinking'](),super[_0x4ef793(0x1b8)]();}['_draw'](_0x2170d5){const _0x281327=_0x4919c8;let _0x383df5=this[_0x281327(0x12d)];this[_0x281327(0xf8)]&&!this[_0x281327(0x154)]&&(_0x383df5=this[_0x281327(0x130)](this[_0x281327(0x12d)])),_0x2170d5[_0x281327(0x35b)](),_0x2170d5[_0x281327(0xb5)]=_0x383df5,_0x2170d5[_0x281327(0x13a)]=_0x383df5,_0x2170d5[_0x281327(0x3cd)]=0x4,this[_0x281327(0x1b0)]===_0x281327(0x1fb)?this[_0x281327(0x1ba)](_0x2170d5):this[_0x281327(0x3d6)](_0x2170d5),_0x2170d5[_0x281327(0x158)](),(this[_0x281327(0x132)]||this['_showText'])&&this[_0x281327(0x299)]&&(_0x2170d5[_0x281327(0x35b)](),this[_0x281327(0x1b0)]===_0x281327(0x1fb)?_0x2170d5[_0x281327(0x40f)](0x1,0x0,0x0,0x1,this[_0x281327(0x3c8)],this[_0x281327(0x1b2)]===_0x281327(0x329)?0x0:-0x14):_0x2170d5[_0x281327(0x40f)](0x1,0x0,0x0,0x1,this[_0x281327(0x3c8)],this['_labelPosition']===_0x281327(0x329)?this['height']:-0x14),this[_0x281327(0x18b)](_0x2170d5,this[_0x281327(0x299)],_0x383df5),_0x2170d5['restore']());}['_drawHorizontalArrow'](_0x5018b7){const _0x3e267d=_0x4919c8;let _0x2bd36f=this[_0x3e267d(0xf1)]/0x2,_0x3b39d4=this[_0x3e267d(0x3c8)]-0xc;_0x5018b7[_0x3e267d(0x1f2)](),_0x5018b7[_0x3e267d(0xd5)](0xc,_0x2bd36f),_0x5018b7[_0x3e267d(0x355)](_0x3b39d4,_0x2bd36f),_0x5018b7['stroke'](),_0x5018b7['beginPath'](),_0x5018b7[_0x3e267d(0xd5)](0x0,_0x2bd36f),_0x5018b7[_0x3e267d(0x355)](0xc,_0x2bd36f-0xc/0x2),_0x5018b7[_0x3e267d(0x355)](0xc,_0x2bd36f+0xc/0x2),_0x5018b7[_0x3e267d(0xdd)](),_0x5018b7[_0x3e267d(0x358)](),_0x5018b7[_0x3e267d(0x1f2)](),_0x5018b7['moveTo'](this[_0x3e267d(0x3c8)],_0x2bd36f),_0x5018b7[_0x3e267d(0x355)](this[_0x3e267d(0x3c8)]-0xc,_0x2bd36f-0xc/0x2),_0x5018b7['lineTo'](this['width']-0xc,_0x2bd36f+0xc/0x2),_0x5018b7[_0x3e267d(0xdd)](),_0x5018b7[_0x3e267d(0x358)]();}[_0x4919c8(0x3d6)](_0x34eac9){const _0x516b12=_0x4919c8;let _0x1ac1c1=this[_0x516b12(0x3c8)]/0x2,_0x561392=this[_0x516b12(0xf1)]-0xc;_0x34eac9[_0x516b12(0x1f2)](),_0x34eac9[_0x516b12(0xd5)](_0x1ac1c1,0xc),_0x34eac9[_0x516b12(0x355)](_0x1ac1c1,_0x561392),_0x34eac9['stroke'](),_0x34eac9['beginPath'](),_0x34eac9[_0x516b12(0xd5)](_0x1ac1c1,0x0),_0x34eac9['lineTo'](_0x1ac1c1-0xc/0x2,0xc),_0x34eac9[_0x516b12(0x355)](_0x1ac1c1+0xc/0x2,0xc),_0x34eac9[_0x516b12(0xdd)](),_0x34eac9[_0x516b12(0x358)](),_0x34eac9[_0x516b12(0x1f2)](),_0x34eac9[_0x516b12(0xd5)](_0x1ac1c1,this[_0x516b12(0xf1)]),_0x34eac9[_0x516b12(0x355)](_0x1ac1c1-0xc/0x2,this['height']-0xc),_0x34eac9[_0x516b12(0x355)](_0x1ac1c1+0xc/0x2,this[_0x516b12(0xf1)]-0xc),_0x34eac9[_0x516b12(0xdd)](),_0x34eac9[_0x516b12(0x358)]();}[_0x4919c8(0x18b)](_0x4a64dc,_0x26b62c,_0x262823){const _0x46a52d=_0x4919c8;_0x4a64dc[_0x46a52d(0x1af)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x55cdbd=_0x4a64dc[_0x46a52d(0x2a7)](_0x26b62c)[_0x46a52d(0x3c8)],_0x14f1c9=Math[_0x46a52d(0x150)](_0x55cdbd+0x8,0xc8);if(_0x4a64dc[_0x46a52d(0x13a)]=_0x262823,_0x4a64dc[_0x46a52d(0x1f2)](),_0x4a64dc['moveTo'](0x4,0x0),_0x4a64dc[_0x46a52d(0x355)](_0x14f1c9-0x4,0x0),_0x4a64dc['arc'](_0x14f1c9-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a64dc[_0x46a52d(0x355)](_0x14f1c9,0x10),_0x4a64dc['arc'](_0x14f1c9-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x4a64dc[_0x46a52d(0x355)](0x0,0x14),_0x4a64dc[_0x46a52d(0x355)](0x0,0x4),_0x4a64dc[_0x46a52d(0x272)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a64dc['closePath'](),_0x4a64dc['fill'](),_0x4a64dc['fillStyle']='#FFF',_0x55cdbd>0xc0){let _0x2da071='',_0x550b11=0x0;for(let _0x5ece9c of _0x26b62c){let _0x362775=_0x4a64dc[_0x46a52d(0x2a7)](_0x5ece9c)[_0x46a52d(0x3c8)];if(_0x550b11+_0x362775<=0xc0-_0x4a64dc['measureText']('...')[_0x46a52d(0x3c8)])_0x2da071+=_0x5ece9c,_0x550b11+=_0x362775;else{_0x2da071+=_0x46a52d(0x3d7);break;}}_0x4a64dc['fillText'](_0x2da071,0x4,0xf);}else _0x4a64dc[_0x46a52d(0x1bc)](_0x26b62c,0x4,0xf);}[_0x4919c8(0x130)](_0x3b2420){const _0x12ce7b=_0x4919c8;return _0x3b2420[_0x12ce7b(0xac)]('#')?_0x12ce7b(0x231)+Number[_0x12ce7b(0x37e)](_0x3b2420[_0x12ce7b(0x191)](0x1,0x3),0x10)+',\x20'+Number[_0x12ce7b(0x37e)](_0x3b2420['slice'](0x3,0x5),0x10)+',\x20'+Number[_0x12ce7b(0x37e)](_0x3b2420[_0x12ce7b(0x191)](0x5,0x7),0x10)+',\x200.2)':_0x3b2420[_0x12ce7b(0xac)](_0x12ce7b(0x2c4))?_0x3b2420['replace'](/[\d.]+\)$/g,_0x12ce7b(0x3eb)):_0x3b2420[_0x12ce7b(0xac)](_0x12ce7b(0x162))?_0x3b2420[_0x12ce7b(0x30a)]('rgb','rgba')[_0x12ce7b(0x30a)](')',_0x12ce7b(0x347)):_0x3b2420;}};let _0x4e4a2c=class extends _0x194df4[_0x4919c8(0x2bb)]{constructor(_0xee6dba,_0x3b8d80,_0x2199e4,_0x53ed08,_0x23aded,_0x43bb20,_0x11dc6c,_0x4353a9){const _0x5d133c=_0x4919c8;super(),this[_0x5d133c(0x17b)]=_0xee6dba,this['_historyManagerService']=_0x3b8d80,this[_0x5d133c(0x3e1)]=_0x2199e4,this[_0x5d133c(0xff)]=_0x53ed08,this[_0x5d133c(0x12a)]=_0x23aded,this[_0x5d133c(0x3ee)]=_0x43bb20,this[_0x5d133c(0x9a)]=_0x11dc6c,this[_0x5d133c(0x1a7)]=_0x4353a9,_0x388d57(this,_0x5d133c(0x1ca),new Set()),_0x388d57(this,'_borderDiffs',new Set()),_0x388d57(this,_0x5d133c(0x21c),new Set()),_0x388d57(this,'_drawingDiffs',new Set()),_0x388d57(this,_0x5d133c(0x118),null),this[_0x5d133c(0x2da)]();}['_init'](){const _0x45dded=_0x4919c8;this[_0x45dded(0x222)](),this[_0x45dded(0x2e4)]();}['_initRender'](){const _0x5c9030=_0x4919c8;this[_0x5c9030(0x1e7)]((0x0,_0x43f35f[_0x5c9030(0x100)])([this[_0x5c9030(0x3fc)][_0x5c9030(0x20c)],this[_0x5c9030(0x3ee)][_0x5c9030(0x32c)]])['pipe']((0x0,_0x43f35f[_0x5c9030(0x322)])(([_0x58cc7a,_0x3bd587])=>{const _0x537678=_0x5c9030;if(_0x58cc7a===_0x537678(0x2d5)&&_0x3bd587){let _0x104b85=_0x3bd587['sheetId'];return this[_0x537678(0x3e1)][_0x537678(0x26d)][_0x537678(0x2f0)]((0x0,_0x43f35f[_0x537678(0x160)])(_0x410d03=>_0x410d03[_0x537678(0x2c0)][_0x537678(0x3e7)]===0x0||_0x410d03[_0x537678(0x2c0)][_0x537678(0x267)](_0x104b85)?{'skeleton':_0x3bd587,'versionDiff':_0x410d03,'sheetID':_0x104b85}:{'skeleton':_0x3bd587,'versionDiff':null}));}return(0x0,_0x43f35f['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))[_0x5c9030(0xc1)](({skeleton:_0x30723d,versionDiff:_0x204163,sheetID:_0x5731e8})=>{const _0x4c7c7c=_0x5c9030;this[_0x4c7c7c(0x311)](),_0x30723d&&_0x204163&&_0x5731e8&&this[_0x4c7c7c(0x261)](_0x30723d,_0x204163,_0x5731e8);})),this['disposeWithMe'](this['_sheetSkeletonManagerService'][_0x5c9030(0x32c)][_0x5c9030(0xc1)](_0x4c4886=>{const _0x1c0a49=_0x5c9030;if(_0x4c4886==null)return;let {skeleton:_0x66388}=_0x4c4886,{scene:_0x271e80}=this['_context'];_0x271e80['onPointerMove$'][_0x1c0a49(0x380)]((0x0,_0x194df4['debounce'])(_0x577ead=>{const _0x67fd02=_0x1c0a49;var _0x44229a,_0xb212d5;let {offsetX:_0x7a23e0,offsetY:_0x47e017}=_0x577ead,{x:_0xca9191,y:_0x2063df}=_0x271e80[_0x67fd02(0x264)](_0x5d0fdd[_0x67fd02(0x110)]['FromArray']([_0x7a23e0,_0x47e017])),{scaleX:_0x4de058,scaleY:_0x1a9a9b}=_0x271e80[_0x67fd02(0x1f0)](),_0x222a2a=_0x271e80[_0x67fd02(0x219)](_0x5d0fdd['SHEET_VIEWPORT_KEY'][_0x67fd02(0x2ef)]),_0x5c78ac=_0x271e80[_0x67fd02(0x359)](_0x5d0fdd[_0x67fd02(0x110)][_0x67fd02(0x24b)]([_0xca9191,_0x2063df]),_0x222a2a),_0x24c262=_0x66388[_0x67fd02(0xc3)](_0x7a23e0,_0x47e017,_0x4de058,_0x1a9a9b,_0x5c78ac);((_0x44229a=this[_0x67fd02(0x118)])==null?void 0x0:_0x44229a['column'])===_0x24c262[_0x67fd02(0xd7)]&&((_0xb212d5=this[_0x67fd02(0x118)])==null?void 0x0:_0xb212d5['row'])===_0x24c262[_0x67fd02(0x403)]||this[_0x67fd02(0x1ca)][_0x67fd02(0x128)](_0x5f5c2c=>{const _0x4f4069=_0x67fd02;_0x5f5c2c['evented']||_0x5f5c2c[_0x4f4069(0x32e)](_0x24c262);});},0x64));}));}[_0x4919c8(0x2e4)](){const _0x1ef6a3=_0x4919c8;this[_0x1ef6a3(0x1e7)](this[_0x1ef6a3(0x3fc)][_0x1ef6a3(0x20c)][_0x1ef6a3(0xc1)](_0x1feea2=>{const _0x3675a5=_0x1ef6a3;let _0x40c604=new _0x194df4['DisposableCollection']();return _0x1feea2==='loaded'&&(_0x40c604[_0x3675a5(0x1b8)](),_0x40c604[_0x3675a5(0x328)](this[_0x3675a5(0x3e1)][_0x3675a5(0x26d)][_0x3675a5(0xc1)](_0x444e73=>{const _0x37d7ea=_0x3675a5;this['_updateWorksheetVisibility'](_0x444e73['subUnitIds']),_0x444e73[_0x37d7ea(0x17c)]&&this[_0x37d7ea(0x9a)]['executeCommand'](_0x593f2f[_0x37d7ea(0x1e0)]['id'],{'unitId':this['_context'][_0x37d7ea(0x276)],'subUnitId':_0x444e73['active']});}))),()=>_0x40c604['dispose']();}));}[_0x4919c8(0x133)](_0x34f785){const _0x4b913c=_0x4919c8;let _0x20f319=this[_0x4b913c(0xff)][_0x4b913c(0xa2)](this[_0x4b913c(0x17b)]['unitId'],_0x194df4[_0x4b913c(0x273)][_0x4b913c(0x270)]);if(!_0x20f319)return;let _0x24ba45=_0x20f319[_0x4b913c(0x2b9)]();if(_0x34f785[_0x4b913c(0x3e7)]===0x0){_0x24ba45['forEach'](_0x3c4d20=>{const _0x35df73=_0x4b913c;_0x3c4d20['isSheetHidden']()&&this[_0x35df73(0x9a)][_0x35df73(0x2df)](_0x593f2f[_0x35df73(0x2b7)]['id'],{'unitId':this[_0x35df73(0x17b)]['unitId'],'subUnitId':_0x3c4d20[_0x35df73(0x384)](),'hidden':0x0});});return;}_0x24ba45['forEach'](_0x3ac218=>{const _0x3cd81c=_0x4b913c;let _0x49a767=_0x3ac218['getSheetId'](),_0x3f71d0=_0x34f785[_0x3cd81c(0x267)](_0x49a767),_0x3c490a=_0x3ac218[_0x3cd81c(0x10b)]();_0x3f71d0&&_0x3c490a?this[_0x3cd81c(0x9a)][_0x3cd81c(0x2df)](_0x593f2f[_0x3cd81c(0x2b7)]['id'],{'unitId':this[_0x3cd81c(0x17b)][_0x3cd81c(0x276)],'subUnitId':_0x49a767,'hidden':0x0}):!_0x3f71d0&&!_0x3c490a&&this[_0x3cd81c(0x9a)][_0x3cd81c(0x2df)](_0x593f2f[_0x3cd81c(0x2b7)]['id'],{'unitId':this['_context'][_0x3cd81c(0x276)],'subUnitId':_0x49a767,'hidden':0x1});});}[_0x4919c8(0x261)](_0x14a604,_0x3e371d,_0x10760c){const _0x1a2d22=_0x4919c8;this['_diffs'][_0x1a2d22(0x128)](_0x4392ec=>{const _0x499e39=_0x1a2d22;_0x4392ec[_0x499e39(0x2ed)]();});let _0x54c2d0=this['generateDiffMarks'](_0x3e371d,_0x10760c);this[_0x1a2d22(0x1ca)]=new Set(_0x54c2d0[_0x1a2d22(0x9e)](_0x49974a=>_0x49974a instanceof _0x441d37[_0x1a2d22(0x399)])),this[_0x1a2d22(0x23c)]=new Set(_0x54c2d0[_0x1a2d22(0x9e)](_0x5766c7=>_0x5766c7 instanceof _0x5d0fdd[_0x1a2d22(0xe0)])),this['_arrowDiffs']=new Set(_0x54c2d0[_0x1a2d22(0x9e)](_0x5f05c2=>_0x5f05c2 instanceof _0x192312)),_0x54c2d0['length']>0x0&&this[_0x1a2d22(0x33a)](_0x54c2d0[0x0],this[_0x1a2d22(0x17b)][_0x1a2d22(0x1cd)]);}[_0x4919c8(0x20f)](_0x4c80d0,_0x55ae48){const _0x3808e8=_0x4919c8;let _0x4b0a0b=this['_sheetSkeletonManagerService']['getCurrentSkeleton']();if(!_0x4b0a0b)return[];let {scene:_0x30eec9}=this[_0x3808e8(0x17b)],_0x321616=[],_0xc2e806=_0x4bba93=>{const _0x420e56=_0x3808e8;if(!_0x4bba93)return new Map();let _0x550b96=new Map();return _0x4bba93[_0x420e56(0x128)]((_0x519c70,_0x187db9)=>{const _0x53ad33=_0x420e56;let _0x466fea=_0x519c70[_0x53ad33(0x9e)](_0x4413fd=>_0x4413fd[_0x53ad33(0x3ca)]===_0x55ae48);_0x466fea['length']>0x0&&_0x550b96[_0x53ad33(0x1c8)](_0x187db9,_0x466fea);}),_0x550b96;};return this['_renderCellRanges'](_0x30eec9,_0x4b0a0b,_0xc2e806(_0x4c80d0[_0x3808e8(0x184)]),_0x3808e8(0x2de),_0x321616),this[_0x3808e8(0x237)](_0x30eec9,_0x4b0a0b,_0xc2e806(_0x4c80d0[_0x3808e8(0x3aa)]),_0x3808e8(0x407),_0x321616),this[_0x3808e8(0x237)](_0x30eec9,_0x4b0a0b,_0xc2e806(_0x4c80d0[_0x3808e8(0xea)]),_0x3808e8(0x36c),_0x321616),this[_0x3808e8(0x32b)](_0x30eec9,_0x4b0a0b,_0xc2e806(_0x4c80d0[_0x3808e8(0x2ee)]),_0x3808e8(0x2de),_0x321616),this[_0x3808e8(0x32b)](_0x30eec9,_0x4b0a0b,_0xc2e806(_0x4c80d0['deleteBorderRanges']),_0x3808e8(0x407),_0x321616),this[_0x3808e8(0x32b)](_0x30eec9,_0x4b0a0b,_0xc2e806(_0x4c80d0[_0x3808e8(0x2be)]),'rgba(21,101,192,0.5)',_0x321616),this['_renderArrowRanges'](_0x30eec9,_0x4b0a0b,_0xc2e806(_0x4c80d0['arrowRowRanges']),'vertical',_0x321616),this[_0x3808e8(0x2e3)](_0x30eec9,_0x4b0a0b,_0xc2e806(_0x4c80d0[_0x3808e8(0x305)]),_0x3808e8(0x1fb),_0x321616),_0x4c80d0[_0x3808e8(0x3bc)]&&this[_0x3808e8(0x36b)](_0x30eec9,_0x4c80d0[_0x3808e8(0x3bc)],'rgba(46,125,50,0.5)',_0x321616),_0x4c80d0[_0x3808e8(0x2a4)]&&this[_0x3808e8(0x36b)](_0x30eec9,_0x4c80d0[_0x3808e8(0x2a4)],'rgba(198,40,40,0.5)',_0x321616),_0x4c80d0[_0x3808e8(0x137)]&&this[_0x3808e8(0x36b)](_0x30eec9,_0x4c80d0[_0x3808e8(0x137)],'rgba(21,101,192,0.5)',_0x321616),this[_0x3808e8(0x2dd)](_0x321616),_0x30eec9[_0x3808e8(0x189)](_0x321616,0x14),_0x321616;}[_0x4919c8(0x21d)](){const _0x266dc2=_0x4919c8;this[_0x266dc2(0x1ca)][_0x266dc2(0x128)](_0x12b330=>{const _0x5c6237=_0x266dc2;_0x12b330[_0x5c6237(0x40b)]();}),this[_0x266dc2(0x23c)][_0x266dc2(0x128)](_0x210530=>{const _0x541776=_0x266dc2;_0x210530[_0x541776(0x40b)]();}),this[_0x266dc2(0x21c)][_0x266dc2(0x128)](_0xc25f74=>{const _0x4f2c72=_0x266dc2;_0xc25f74[_0x4f2c72(0x40b)]();});}[_0x4919c8(0x161)](){const _0x44cd14=_0x4919c8;this[_0x44cd14(0x1ca)][_0x44cd14(0x128)](_0x2054f3=>{const _0x15fe49=_0x44cd14;_0x2054f3[_0x15fe49(0x265)]();}),this[_0x44cd14(0x23c)][_0x44cd14(0x128)](_0x2c7632=>{_0x2c7632['show']();}),this[_0x44cd14(0x21c)]['forEach'](_0x5737cd=>{const _0x344c91=_0x44cd14;_0x5737cd[_0x344c91(0x265)]();});}[_0x4919c8(0xef)](){this['_removeDiffMarks']();}[_0x4919c8(0x26a)](_0x3af657,_0x112ca5){const _0x3b2c6f=_0x4919c8;this[_0x3b2c6f(0x33a)](_0x3af657,_0x112ca5);}[_0x4919c8(0x237)](_0x357911,_0x809e2d,_0x341982,_0x1b8105,_0x5e5755){const _0x556408=_0x4919c8;_0x341982[_0x556408(0x128)]((_0x5eabed,_0x2cf8c0)=>{const _0xcc6bd3=_0x556408;_0x5eabed[_0xcc6bd3(0x128)](_0x487933=>{const _0x201f6c=_0xcc6bd3;var _0x35484d;let {range:_0x8fdb46,subUnitId:_0x3a5e66,unitId:_0x3dd18b,showText:_0x562b05='',highlightColumn:_0xc49f22,highlightRow:_0x4da06f}=_0x487933,{startColumn:_0x52ebff,startRow:_0x5e53d4,endColumn:_0x54b49a,endRow:_0x393e65}=_0x8fdb46,_0x180014=(0x0,_0x5204c6[_0x201f6c(0x224)])(_0x5e53d4,_0x52ebff,_0x357911,_0x809e2d),_0x1b1ec5=(0x0,_0x5204c6['getCoordByCell'])(_0x393e65,_0x54b49a,_0x357911,_0x809e2d),{columnHeaderHeightAndMarginTop:_0x1bff73}=_0x809e2d,{startX:_0x349305,startY:_0x2221de}=_0x180014,{endX:_0x1a2395,endY:_0x4c2e8d}=_0x1b1ec5,_0x144cbd=_0x809e2d[_0x201f6c(0x22b)],_0x26701d=_0x809e2d['columnHeaderHeight'];_0x4da06f&&(_0x349305-=_0x144cbd),_0xc49f22&&(_0x2221de-=_0x26701d);let _0x9fa1f=_0x1a2395-_0x349305,_0x3b75b6=_0x4c2e8d-_0x2221de,_0x342a3f={'labelPosition':_0x2221de-_0x1bff73>=0x14?'top':_0x201f6c(0x329),'sheetID':_0x3a5e66,'range':_0x8fdb46,'color':_0x1b8105,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x1b8105,'name':((_0x35484d=this[_0x201f6c(0x3fc)][_0x201f6c(0x165)](_0x2cf8c0))==null?void 0x0:_0x35484d[_0x201f6c(0x193)])+'\x20'+_0x562b05||_0x562b05,'selection':_0x3dd18b+'-'+_0x3a5e66+'-'+_0x8fdb46['startColumn']+'-'+_0x8fdb46[_0x201f6c(0xad)]+'-'+_0x8fdb46[_0x201f6c(0x27f)]+'-'+_0x8fdb46[_0x201f6c(0x2f2)],'left':_0x349305,'top':_0x2221de,'width':_0x9fa1f,'height':_0x3b75b6,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x5e5755['push'](new _0x441d37[(_0x201f6c(0x399))]('',_0x342a3f));});});}[_0x4919c8(0x32b)](_0x2d663e,_0x2a623a,_0x6e7b70,_0x4a2053,_0xf3fc9b){_0x6e7b70['forEach']((_0x37eebd,_0x5aa041)=>{const _0x261283=_0x4cdc;_0x37eebd[_0x261283(0x128)](_0x2b9b9f=>{const _0x2c9cd0=_0x261283;var _0x591b3b;let {range:_0x10c35c,subUnitId:_0x279004,unitId:_0xd90e3c,showText:_0x71f812=''}=_0x2b9b9f,{startColumn:_0x5663ef,startRow:_0x2e98ce,endColumn:_0x36badc,endRow:_0x40314c}=_0x10c35c,_0x2e4bd4=(0x0,_0x5204c6[_0x2c9cd0(0x224)])(_0x2e98ce,_0x5663ef,_0x2d663e,_0x2a623a),_0x579174=(0x0,_0x5204c6[_0x2c9cd0(0x224)])(_0x40314c,_0x36badc,_0x2d663e,_0x2a623a),{columnHeaderHeightAndMarginTop:_0x2bd099}=_0x2a623a,{startX:_0x4357d8,startY:_0x29fdbd}=_0x2e4bd4,{endX:_0x429810,endY:_0x51efb8}=_0x579174,_0x52df4f=_0x429810-_0x4357d8,_0x63a8d8=_0x51efb8-_0x29fdbd,_0xbe95c1={'labelPosition':_0x29fdbd-_0x2bd099>=0x14?_0x2c9cd0(0x409):'bottom','sheetID':_0x279004,'range':_0x10c35c,'color':_0x4a2053,'fillAfterStrokeEnabled':!0x1,'backgroundColor':'transparent','name':((_0x591b3b=this[_0x2c9cd0(0x3fc)][_0x2c9cd0(0x165)](_0x5aa041))==null?void 0x0:_0x591b3b[_0x2c9cd0(0x193)])+'\x20'+_0x71f812||_0x71f812,'selection':_0xd90e3c+'-'+_0x279004+'-'+_0x10c35c[_0x2c9cd0(0x3f4)]+'-'+_0x10c35c[_0x2c9cd0(0xad)]+'-'+_0x10c35c[_0x2c9cd0(0x27f)]+'-'+_0x10c35c[_0x2c9cd0(0x2f2)],'left':_0x4357d8-0xc/0x2,'top':_0x29fdbd-0xc/0x2,'width':_0x52df4f,'height':_0x63a8d8,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0xf3fc9b['push'](new _0x441d37[(_0x2c9cd0(0x399))]('',_0xbe95c1));});});}[_0x4919c8(0x2e3)](_0x5f1e61,_0x1f4e98,_0x4d896a,_0x338362,_0x52c137){const _0x488a92=_0x4919c8;let _0x223003=_0x1f4e98[_0x488a92(0x22b)],_0x2ad824=_0x1f4e98['columnHeaderHeight'];_0x4d896a[_0x488a92(0x128)]((_0xac685,_0x13c16c)=>{const _0x15d829=_0x488a92;_0xac685[_0x15d829(0x128)](_0x2e2b47=>{const _0x249257=_0x15d829;let {range:_0x4e0314,showText:_0x10492f=''}=_0x2e2b47,{startColumn:_0x26d890,startRow:_0x1841f3,endColumn:_0x188c68,endRow:_0x37868e}=_0x4e0314,_0xdf5d68=(0x0,_0x5204c6[_0x249257(0x224)])(_0x1841f3,_0x26d890,_0x5f1e61,_0x1f4e98),_0x55f776=(0x0,_0x5204c6[_0x249257(0x224)])(_0x37868e,_0x188c68,_0x5f1e61,_0x1f4e98),{startX:_0x2d5735,startY:_0x39d21a}=_0xdf5d68,{endX:_0xe93d97,endY:_0x10ec1b}=_0x55f776,{columnHeaderHeightAndMarginTop:_0x18e9f2}=_0x1f4e98,_0x5ddaae;if(_0x338362===_0x249257(0x1fb)){var _0x4bd282;_0x5ddaae=new _0x192312('',{'color':_0x249257(0x36c),'direction':_0x249257(0x1fb),'left':_0x2d5735,'top':0x2,'width':_0xe93d97-_0x2d5735,'height':_0x2ad824-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x4bd282=this[_0x249257(0x3fc)][_0x249257(0x165)](_0x13c16c))==null?void 0x0:_0x4bd282[_0x249257(0x193)])+'\x20'+_0x10492f||_0x10492f,'labelPosition':_0x39d21a-_0x18e9f2>=0x14?_0x249257(0x409):_0x249257(0x329)}),_0x52c137[_0x249257(0x280)](_0x5ddaae);}else{var _0x3fdb98;let _0x867e0=_0x10ec1b-_0x39d21a;_0x5ddaae=new _0x192312('',{'color':_0x249257(0x36c),'direction':'vertical','left':0x2,'top':_0x39d21a,'width':_0x223003-0x4,'height':_0x867e0,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x3fdb98=this[_0x249257(0x3fc)]['getMember'](_0x13c16c))==null?void 0x0:_0x3fdb98[_0x249257(0x193)])+'\x20'+_0x10492f||_0x10492f,'labelPosition':_0x249257(0x409)}),_0x52c137[_0x249257(0x280)](_0x5ddaae);}});});}[_0x4919c8(0x36b)](_0x37828d,_0x219bdc,_0x7236c4,_0x18caeb){const _0x272965=_0x4919c8;let _0x1e6458=this[_0x272965(0x3ee)][_0x272965(0x26f)]();if(!_0x1e6458)return;let {columnHeaderHeightAndMarginTop:_0x6ac547}=_0x1e6458;_0x219bdc[_0x272965(0x128)]((_0x5c3b34,_0x38c9e7)=>{const _0x3d791f=_0x272965;_0x5c3b34[_0x3d791f(0x128)](_0x1bedb7=>{const _0x3656e8=_0x3d791f;var _0x4e83df;let {drawingId:_0x4e3aab,unitId:_0x358822,subUnitId:_0x4fd1ea,showText:_0x66f961=''}=_0x1bedb7,_0x56aa8b=this[_0x3656e8(0x1a7)][_0x3656e8(0x3f1)]({'unitId':_0x358822,'subUnitId':_0x4fd1ea,'drawingId':_0x4e3aab});if(!_0x56aa8b||!_0x56aa8b[_0x3656e8(0x40f)])return;let {left:_0x3f34e9=0x0,top:_0x3a35c2=0x0,width:_0x1ed115,height:_0x553b09}=_0x56aa8b['transform'],_0x4a7dbe=new _0x441d37['SheetCollabCursorShape']('',{'labelPosition':_0x3a35c2-_0x6ac547>=0x14?_0x3656e8(0x409):_0x3656e8(0x329),'sheetID':_0x4fd1ea,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x7236c4,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x3656e8(0x92),'name':((_0x4e83df=this[_0x3656e8(0x3fc)][_0x3656e8(0x165)](_0x38c9e7))==null?void 0x0:_0x4e83df[_0x3656e8(0x193)])+'\x20'+_0x66f961||_0x66f961,'selection':_0x358822+'-'+_0x4fd1ea+_0x3656e8(0x365)+_0x4e3aab,'left':_0x3f34e9-0xc/0x2,'top':_0x3a35c2-0xc/0x2,'width':_0x1ed115,'height':_0x553b09,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x4a7dbe[_0x3656e8(0x207)]['subscribeEvent'](()=>{const _0x50b6fb=_0x3656e8;this[_0x50b6fb(0x28a)](_0x4a7dbe,_0x18caeb)[_0x50b6fb(0x128)](_0x12540d=>{const _0x229942=_0x50b6fb;_0x12540d instanceof _0x441d37[_0x229942(0x399)]&&_0x12540d[_0x229942(0x94)]({'hovered':!0x0});});}),_0x4a7dbe[_0x3656e8(0x289)][_0x3656e8(0x380)](()=>{const _0x8c48a1=_0x3656e8;this[_0x8c48a1(0x28a)](_0x4a7dbe,_0x18caeb)[_0x8c48a1(0x128)](_0x2b5932=>{const _0x3a98b3=_0x8c48a1;_0x2b5932 instanceof _0x441d37[_0x3a98b3(0x399)]&&_0x2b5932[_0x3a98b3(0x94)]({'hovered':!0x1});});}),_0x18caeb[_0x3656e8(0x280)](_0x4a7dbe);});});}[_0x4919c8(0x311)](){const _0x5bcac4=_0x4919c8;var _0x11ef5d,_0x3a3414,_0x24a654,_0x384a7a;(_0x11ef5d=this[_0x5bcac4(0x1ca)])==null||_0x11ef5d[_0x5bcac4(0x128)](_0x5d1b3e=>_0x5d1b3e[_0x5bcac4(0x1b8)]()),(_0x3a3414=this[_0x5bcac4(0x23c)])==null||_0x3a3414[_0x5bcac4(0x128)](_0x2809a6=>_0x2809a6['dispose']()),(_0x24a654=this[_0x5bcac4(0x21c)])==null||_0x24a654['forEach'](_0x798112=>_0x798112[_0x5bcac4(0x1b8)]()),(_0x384a7a=this[_0x5bcac4(0x197)])==null||_0x384a7a[_0x5bcac4(0x128)](_0x5d4c1b=>_0x5d4c1b['dispose']());}[_0x4919c8(0x2dd)](_0x5b38de){const _0x315dfc=_0x4919c8;let _0x52d9b8=_0x5b38de[_0x315dfc(0x9e)](_0x2692a6=>_0x2692a6 instanceof _0x441d37[_0x315dfc(0x399)]);if(_0x52d9b8[_0x315dfc(0x3e7)]===0x0)return;let _0x4db730=[],_0x3beee8=new Set();_0x52d9b8['forEach'](_0x44555e=>{const _0x2a2597=_0x315dfc;if(_0x3beee8[_0x2a2597(0x120)](_0x44555e))return;let _0xac04b=_0x44555e[_0x2a2597(0x1ee)]||0x0,_0x9ea594=_0x44555e[_0x2a2597(0x409)]||0x0,_0x2b76fd=_0xac04b+(_0x44555e[_0x2a2597(0x3c8)]||0x0),_0x15fd41=_0x9ea594,_0x5cb238=[_0x44555e];_0x3beee8[_0x2a2597(0x328)](_0x44555e),_0x52d9b8[_0x2a2597(0x128)](_0x249e2b=>{const _0x48f96b=_0x2a2597;if(_0x3beee8[_0x48f96b(0x120)](_0x249e2b))return;let _0x4345ec=_0x249e2b[_0x48f96b(0x1ee)]||0x0,_0x354df8=_0x249e2b['top']||0x0,_0x52b8d9=_0x4345ec+(_0x249e2b[_0x48f96b(0x3c8)]||0x0),_0x1cdc27=_0x354df8;Math[_0x48f96b(0x259)](_0x2b76fd-_0x52b8d9)<=0xa&&Math['abs'](_0x15fd41-_0x1cdc27)<=0xa&&(_0x5cb238['push'](_0x249e2b),_0x3beee8[_0x48f96b(0x328)](_0x249e2b));}),_0x5cb238['length']>0x1&&_0x4db730[_0x2a2597(0x280)](_0x5cb238);}),_0x4db730[_0x315dfc(0x128)](_0x4d5285=>{const _0x1475ca=_0x315dfc;_0x4d5285[_0x1475ca(0x285)]((_0x5463c6,_0x311ef8)=>(_0x5463c6['top']||0x0)-(_0x311ef8['top']||0x0)),_0x4d5285[_0x1475ca(0x128)]((_0x80f2d6,_0x1d67e6)=>{let _0x5c29c5=_0x1d67e6*0x16;_0x80f2d6['setOffsetY'](_0x5c29c5);});});}['_findOverlappingShapes'](_0xad59b4,_0x288e80){const _0x443e4e=_0x4919c8;let _0x5d3036=_0xad59b4[_0x443e4e(0x1ee)]||0x0,_0xe71b4c=_0xad59b4[_0x443e4e(0x409)]||0x0,_0x476f17=_0xad59b4[_0x443e4e(0x3c8)]||0x0,_0x27fda7=_0xad59b4[_0x443e4e(0xf1)]||0x0,_0x469cad=_0x5d3036+_0x476f17,_0x14ec69=_0xe71b4c+_0x27fda7;return _0x288e80[_0x443e4e(0x9e)](_0x562850=>{const _0x2dd307=_0x443e4e;let _0x4ca99b=_0x562850['left']||0x0,_0x38fa09=_0x562850[_0x2dd307(0x409)]||0x0,_0x26821b=_0x562850[_0x2dd307(0x3c8)]||0x0,_0x3c06b2=_0x562850[_0x2dd307(0xf1)]||0x0,_0x229a4a=_0x4ca99b+_0x26821b,_0x36b3e1=_0x38fa09+_0x3c06b2;return!(_0x469cad<=_0x4ca99b||_0x5d3036>=_0x229a4a||_0x14ec69<=_0x38fa09||_0xe71b4c>=_0x36b3e1);});}[_0x4919c8(0x33a)](_0x5310c1,_0x5df462){const _0x49ba28=_0x4919c8;let _0x24c6f2=_0x5df462[_0x49ba28(0x219)](_0x5d0fdd[_0x49ba28(0x356)][_0x49ba28(0x2ef)]);if(!_0x24c6f2)return;let _0x34f3ba=_0x5310c1[_0x49ba28(0x1ee)]||0x0,_0x528f61=_0x5310c1[_0x49ba28(0x409)]||0x0,_0x1ebd83=_0x5310c1[_0x49ba28(0x3c8)]||0x0,_0x3cfaa6=_0x5310c1['height']||0x0,_0x51e723=_0x24c6f2[_0x49ba28(0x3c8)]||0x0,_0x4068ce=_0x24c6f2[_0x49ba28(0xf1)]||0x0,_0xb07d80=_0x24c6f2[_0x49ba28(0x2d3)]||0x0,_0x4fa986=_0x24c6f2['viewportScrollY']||0x0,_0x34453e=_0xb07d80,_0x1a3f34=_0x4fa986,_0x342aeb=_0xb07d80+_0x51e723,_0x467561=_0x4fa986+_0x4068ce;if(_0x34f3ba>=_0x34453e&&_0x528f61>=_0x1a3f34&&_0x34f3ba+_0x1ebd83<=_0x342aeb&&_0x528f61+_0x3cfaa6<=_0x467561)return;let _0x417c2a=Math[_0x49ba28(0x168)](0x0,_0x34f3ba-_0x51e723/0x2+_0x1ebd83/0x2),_0x52e10b=Math['max'](0x0,_0x528f61-_0x4068ce/0x2+_0x3cfaa6/0x2);_0x24c6f2[_0x49ba28(0x2fe)]({'viewportScrollX':_0x417c2a,'viewportScrollY':_0x52e10b});}[_0x4919c8(0x376)](){const _0x1ef28e=_0x4919c8;return(0x0,_0x5204c6['getSheetObject'])(this[_0x1ef28e(0xff)],this['_renderManagerService']);}};_0x4e4a2c=_0x26144c([_0x2928d0(0x1,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x209511)),_0x2928d0(0x2,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x597a1b)),_0x2928d0(0x3,_0x194df4['IUniverInstanceService']),_0x2928d0(0x4,_0x5d0fdd['IRenderManagerService']),_0x2928d0(0x5,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x5204c6['SheetSkeletonManagerService'])),_0x2928d0(0x6,_0x194df4[_0x4919c8(0x2fd)]),_0x2928d0(0x7,_0x1f1463['IDrawingManagerService'])],_0x4e4a2c);var _0x1290d1=_0x4919c8(0x14e),_0x3af443=_0x4919c8(0x369);let _0x422e68=class extends _0x194df4[_0x4919c8(0x2bb)]{constructor(_0x3d00ef){const _0xd4db16=_0x4919c8;super(),this[_0xd4db16(0x1a6)]=_0x3d00ef,this[_0xd4db16(0x2da)]();}[_0x4919c8(0x2da)](){const _0x3e1f4f=_0x4919c8;this[_0x3e1f4f(0x1e7)](this[_0x3e1f4f(0x1a6)][_0x3e1f4f(0x1be)][_0x3e1f4f(0xc1)](_0x1e3618=>{const _0x521c5f=_0x3e1f4f;_0x1e3618!=null&&_0x1e3618['show']&&this[_0x521c5f(0x1a6)][_0x521c5f(0x212)]({'show':!0x1});}));}};_0x422e68=_0x26144c([_0x2928d0(0x0,_0x5204c6[_0x4919c8(0x102)])],_0x422e68);function _0x2098ea(){const _0x3a597b=_0x4919c8;let _0x3f23b5=(0x0,_0x467782['useDependency'])(_0x209511),_0x31c109=(0x0,_0x467782[_0x3a597b(0x381)])(_0x194df4[_0x3a597b(0x116)]),_0xa5dabd=(0x0,_0x467782[_0x3a597b(0x147)])(_0x3f23b5['currentVersion$']),_0x549e08=(0x0,_0x308d98['useMemo'])(()=>_0xa5dabd?_0x3f23b5[_0x3a597b(0x412)]():!0x1,[_0x3f23b5,_0xa5dabd]),_0xd5a26b=(0x0,_0x308d98[_0x3a597b(0x327)])(()=>{const _0x4135ec=_0x3a597b;_0x3f23b5['status']=_0x4135ec(0x182);},[_0x3f23b5]),_0x5dcf2f=(0x0,_0x308d98[_0x3a597b(0x327)])(()=>{const _0x2db418=_0x3a597b;_0x3f23b5[_0x2db418(0x1d4)]();},[_0x3f23b5]);return(0x0,_0x47b9d7['jsxs'])(_0x3a597b(0x1ae),{'className':_0x3a597b(0x357),'children':[(0x0,_0x47b9d7[_0x3a597b(0x2a9)])(_0xb2e2cd[_0x3a597b(0x266)],{'variant':'link','onClick':_0xd5a26b,'children':_0x31c109['t'](_0x3a597b(0x39f))}),_0x549e08?(0x0,_0x47b9d7[_0x3a597b(0x2a9)])(_0xb2e2cd['Button'],{'variant':_0x3a597b(0x3e2),'onClick':_0x5dcf2f,'children':_0x31c109['t'](_0x3a597b(0x3d0))}):(0x0,_0x47b9d7[_0x3a597b(0x2a9)])(_0x3a597b(0x1ae),{'className':_0x3a597b(0x22f)})]});}let _0x50a015=class extends _0x194df4[_0x4919c8(0x2bb)]{constructor(_0x1e1c88,_0xe93cbc,_0x15067d,_0x3d2a69,_0x3caefd,_0xabce38,_0x400f22){const _0x493ee7=_0x4919c8;super(),this['_permissionService']=_0x1e1c88,this[_0x493ee7(0x136)]=_0xe93cbc,this[_0x493ee7(0x2d0)]=_0x15067d,this[_0x493ee7(0x292)]=_0x3d2a69,this['_historyManagerService']=_0x3caefd,this[_0x493ee7(0x3cc)]=_0xabce38,this[_0x493ee7(0x25c)]=_0x400f22,this[_0x493ee7(0x2da)]();}[_0x4919c8(0x2da)](){const _0xf7d0b6=_0x4919c8;this[_0xf7d0b6(0x1e7)](this[_0xf7d0b6(0x3fc)]['currentVersion$'][_0xf7d0b6(0xc1)](_0x8c85de=>{const _0x9f702a=_0xf7d0b6;_0x8c85de&&this[_0x9f702a(0x3fc)][_0x9f702a(0x2cb)](_0x8c85de);})),this['disposeWithMe'](this[_0xf7d0b6(0x2b5)][_0xf7d0b6(0x3f9)][_0xf7d0b6(0xc1)](_0x22efe9=>{const _0x4d90c2=_0xf7d0b6;let _0x3a7c21=this[_0x4d90c2(0x3fc)][_0x4d90c2(0x276)];_0x3a7c21&&(_0x22efe9[_0x4d90c2(0x21a)]===_0x4f0c6e[_0x4d90c2(0x2ec)][_0x4d90c2(0xe2)]&&_0x22efe9[_0x4d90c2(0x30b)]===!0x0&&this['_permissionService'][_0x4d90c2(0x37c)](new _0x593f2f['WorkbookEditablePermission'](_0x3a7c21)['id'],!0x1),_0x22efe9[_0x4d90c2(0x21a)]===_0x4f0c6e[_0x4d90c2(0x2ec)][_0x4d90c2(0x3cf)]&&_0x22efe9['value']===!0x0&&this[_0x4d90c2(0x2b5)][_0x4d90c2(0x37c)](new _0x593f2f[(_0x4d90c2(0x90))](_0x3a7c21)['id'],!0x1),_0x22efe9[_0x4d90c2(0x21a)]===_0x4f0c6e[_0x4d90c2(0x2ec)][_0x4d90c2(0x196)]&&_0x22efe9['value']===!0x0&&this[_0x4d90c2(0x2b5)][_0x4d90c2(0x37c)](new _0x593f2f['WorkbookMoveSheetPermission'](_0x3a7c21)['id'],!0x1),_0x22efe9[_0x4d90c2(0x21a)]===_0x4f0c6e[_0x4d90c2(0x2ec)][_0x4d90c2(0x24a)]&&_0x22efe9[_0x4d90c2(0x30b)]===!0x0&&this['_permissionService'][_0x4d90c2(0x37c)](new _0x593f2f['WorkbookHideSheetPermission'](_0x3a7c21)['id'],!0x1),_0x22efe9[_0x4d90c2(0x21a)]===_0x4f0c6e['UnitAction'][_0x4d90c2(0x410)]&&_0x22efe9['value']===!0x0&&this[_0x4d90c2(0x2b5)][_0x4d90c2(0x37c)](new _0x593f2f[(_0x4d90c2(0x1f4))](_0x3a7c21)['id'],!0x1),_0x22efe9[_0x4d90c2(0x21a)]===_0x4f0c6e[_0x4d90c2(0x2ec)][_0x4d90c2(0x1f6)]&&_0x22efe9['value']===!0x0&&this[_0x4d90c2(0x2b5)][_0x4d90c2(0x37c)](new _0x593f2f[(_0x4d90c2(0x1f4))](_0x3a7c21)['id'],!0x1));})),this[_0xf7d0b6(0x1a9)]();let _0xe604b1;this[_0xf7d0b6(0x1e7)](this[_0xf7d0b6(0x3fc)]['loadingState$'][_0xf7d0b6(0xc1)](_0x5ad15e=>{const _0x1fbd8e=_0xf7d0b6;this['_messageService']['removeAll'](),_0xe604b1==null||_0xe604b1['dispose'](),_0x5ad15e===_0x1fbd8e(0x28d)&&(this[_0x1fbd8e(0x3fc)][_0x1fbd8e(0x2c6)](),_0xe604b1=this[_0x1fbd8e(0x2d0)][_0x1fbd8e(0x265)]({'type':_0xb2e2cd[_0x1fbd8e(0x3f7)][_0x1fbd8e(0x2b2)],'content':this[_0x1fbd8e(0x292)]['t']('editHistory.info.loading'),'duration':0x3e8})),_0x5ad15e==='loaded'&&this['_historyManagerService'][_0x1fbd8e(0x12c)]();}));}[_0x4919c8(0x1a9)](){const _0x4dfb08=_0x4919c8;var _0x56a5e3;(_0x56a5e3=this['_configService'][_0x4dfb08(0x153)]('edit-history-viewer.config'))!=null&&_0x56a5e3[_0x4dfb08(0x290)]||this['disposeWithMe'](this['_uiPartsService'][_0x4dfb08(0x318)](_0x467782[_0x4dfb08(0x269)][_0x4dfb08(0x1b6)],()=>(0x0,_0x467782[_0x4dfb08(0x14a)])(_0x2098ea,this[_0x4dfb08(0x3cc)])));}};_0x50a015=_0x26144c([_0x2928d0(0x0,_0x194df4['IPermissionService']),_0x2928d0(0x1,_0x467782['IUIPartsService']),_0x2928d0(0x2,_0x467782[_0x4919c8(0x3e9)]),_0x2928d0(0x3,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x194df4[_0x4919c8(0x116)])),_0x2928d0(0x4,(0x0,_0x194df4['Inject'])(_0x209511)),_0x2928d0(0x5,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x194df4[_0x4919c8(0x1d8)])),_0x2928d0(0x6,_0x194df4['IConfigService'])],_0x50a015);function _0x1152fa({ref:_0x3ea837,..._0x38346b}){const _0x16398=_0x4919c8;let {icon:_0x222c92,id:_0x500581,className:_0x29faed,extend:_0x202772,..._0x5c2fe1}=_0x38346b,_0xe4e171=(_0x16398(0x3c1)+_0x500581+'\x20'+(_0x29faed||''))[_0x16398(0x3a8)](),_0x1abe4f=(0x0,_0x308d98[_0x16398(0x190)])('_'+_0xd5348f());return _0x3aa25d(_0x222c92,''+_0x500581,{'defIds':_0x222c92['defIds'],'idSuffix':_0x1abe4f[_0x16398(0x34b)]},{'ref':_0x3ea837,'className':_0xe4e171,..._0x5c2fe1},_0x202772);}function _0x3aa25d(_0xcb5028,_0x5cc7f1,_0x590485,_0x57cd3e,_0x39e1ed){const _0x119397=_0x4919c8;return(0x0,_0x308d98[_0x119397(0x288)])(_0xcb5028[_0x119397(0x2aa)],{'key':_0x5cc7f1,..._0x4f51e0(_0xcb5028,_0x590485,_0x39e1ed),..._0x57cd3e},(_0x279007(_0xcb5028,_0x590485)['children']||[])[_0x119397(0x160)]((_0xe0c70f,_0x119e65)=>_0x3aa25d(_0xe0c70f,_0x5cc7f1+'-'+_0xcb5028['tag']+'-'+_0x119e65,_0x590485,void 0x0,_0x39e1ed)));}function _0x4f51e0(_0x71fdb0,_0x8a0e1a,_0x1ff608){const _0x44a1fa=_0x4919c8;let _0x5dee19={..._0x71fdb0[_0x44a1fa(0x27a)]};_0x1ff608!=null&&_0x1ff608[_0x44a1fa(0xe4)]&&_0x5dee19[_0x44a1fa(0x358)]===_0x44a1fa(0xe4)&&(_0x5dee19['fill']=_0x1ff608[_0x44a1fa(0xe4)]),_0x71fdb0[_0x44a1fa(0x2aa)]===_0x44a1fa(0x331)&&_0x5dee19['id']&&(_0x5dee19['id']+=_0x8a0e1a['idSuffix']),Object['entries'](_0x5dee19)[_0x44a1fa(0x128)](([_0x44d61a,_0x1dd4f0])=>{const _0x5001a2=_0x44a1fa;_0x44d61a==='mask'&&typeof _0x1dd4f0=='string'&&(_0x5dee19[_0x44d61a]=_0x1dd4f0[_0x5001a2(0x30a)](/url\(#(.*)\)/,_0x5001a2(0x188)+_0x8a0e1a[_0x5001a2(0x1fd)]+')'));});let {defIds:_0x43c55b}=_0x8a0e1a;return!_0x43c55b||_0x43c55b[_0x44a1fa(0x3e7)]===0x0?_0x5dee19:(_0x71fdb0[_0x44a1fa(0x2aa)]==='use'&&_0x5dee19[_0x44a1fa(0xa3)]&&(_0x5dee19[_0x44a1fa(0xa3)]+=_0x8a0e1a[_0x44a1fa(0x1fd)]),Object['entries'](_0x5dee19)[_0x44a1fa(0x128)](([_0x53a206,_0x3cca67])=>{const _0x1c8b58=_0x44a1fa;typeof _0x3cca67==_0x1c8b58(0x248)&&(_0x5dee19[_0x53a206]=_0x3cca67[_0x1c8b58(0x30a)](/url\(#(.*)\)/,_0x1c8b58(0x188)+_0x8a0e1a[_0x1c8b58(0x1fd)]+')'));}),_0x5dee19);}function _0x279007(_0x576cfc,_0x533b5e){const _0x3c6f7f=_0x4919c8;var _0x55955f;let {defIds:_0x11a204}=_0x533b5e;return!_0x11a204||_0x11a204[_0x3c6f7f(0x3e7)]===0x0?_0x576cfc:_0x576cfc[_0x3c6f7f(0x2aa)]===_0x3c6f7f(0x23a)&&(_0x55955f=_0x576cfc['children'])!=null&&_0x55955f[_0x3c6f7f(0x3e7)]?{..._0x576cfc,'children':_0x576cfc[_0x3c6f7f(0x117)][_0x3c6f7f(0x160)](_0x406016=>typeof _0x406016['attrs']['id']==_0x3c6f7f(0x248)&&_0x11a204&&_0x11a204[_0x3c6f7f(0x267)](_0x406016[_0x3c6f7f(0x27a)]['id'])?{..._0x406016,'attrs':{..._0x406016[_0x3c6f7f(0x27a)],'id':_0x406016['attrs']['id']+_0x533b5e[_0x3c6f7f(0x1fd)]}}:_0x406016)}:_0x576cfc;}function _0xd5348f(){const _0x135240=_0x4919c8;return Math[_0x135240(0x125)]()[_0x135240(0x31b)](0x24)['substring'](0x2,0x8);}_0x1152fa['displayName']=_0x4919c8(0x1fc);let _0x39cd16={'tag':_0x4919c8(0x13e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x4919c8(0x367),'height':_0x4919c8(0x367)},'children':[{'tag':_0x4919c8(0x34d),'attrs':{'fill':_0x4919c8(0x241),'d':'M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z'}}]},_0x444769=(0x0,_0x308d98['forwardRef'])(function(_0x7f206a,_0x3e5826){const _0x3bc259=_0x4919c8;return(0x0,_0x308d98[_0x3bc259(0x288)])(_0x1152fa,Object[_0x3bc259(0x9c)]({},_0x7f206a,{'id':_0x3bc259(0x3d2),'ref':_0x3e5826,'icon':_0x39cd16}));});_0x444769[_0x4919c8(0x320)]=_0x4919c8(0x1cb);let _0x4cda0f={'tag':_0x4919c8(0x13e),'attrs':{'xmlns':_0x4919c8(0x377),'fill':_0x4919c8(0x109),'viewBox':'0\x200\x2016\x2016','width':_0x4919c8(0x367),'height':'1em'},'children':[{'tag':_0x4919c8(0x34d),'attrs':{'fill':_0x4919c8(0x241),'d':_0x4919c8(0x175),'fillRule':_0x4919c8(0x3e3),'clipRule':_0x4919c8(0x3e3)}}]},_0x229439=(0x0,_0x308d98[_0x4919c8(0x170)])(function(_0x4d0689,_0x4b6012){const _0x13ca03=_0x4919c8;return(0x0,_0x308d98[_0x13ca03(0x288)])(_0x1152fa,Object[_0x13ca03(0x9c)]({},_0x4d0689,{'id':_0x13ca03(0xbb),'ref':_0x4b6012,'icon':_0x4cda0f}));});_0x229439[_0x4919c8(0x320)]='FunnelIcon';let _0x2bb323={'tag':_0x4919c8(0x13e),'attrs':{'xmlns':_0x4919c8(0x377),'fill':_0x4919c8(0x109),'viewBox':_0x4919c8(0x27e),'width':'1em','height':_0x4919c8(0x367)},'children':[{'tag':_0x4919c8(0x34d),'attrs':{'fill':_0x4919c8(0x241),'d':_0x4919c8(0x2fb),'fillRule':_0x4919c8(0x3e3),'clipRule':_0x4919c8(0x3e3)}}]},_0x14ab6f=(0x0,_0x308d98[_0x4919c8(0x170)])(function(_0x242b84,_0x4a831e){const _0x263640=_0x4919c8;return(0x0,_0x308d98['createElement'])(_0x1152fa,Object[_0x263640(0x9c)]({},_0x242b84,{'id':_0x263640(0x2f6),'ref':_0x4a831e,'icon':_0x2bb323}));});_0x14ab6f[_0x4919c8(0x320)]=_0x4919c8(0xf3);let _0x1728f0={'tag':_0x4919c8(0x13e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4919c8(0x27e),'width':'1em','height':_0x4919c8(0x367)},'children':[{'tag':_0x4919c8(0x34d),'attrs':{'fill':_0x4919c8(0x241),'d':_0x4919c8(0x23e),'fillRule':_0x4919c8(0x3e3),'clipRule':'evenodd'}}]},_0xc9ae71=(0x0,_0x308d98[_0x4919c8(0x170)])(function(_0x5218aa,_0x36ce0f){const _0x41f8db=_0x4919c8;return(0x0,_0x308d98['createElement'])(_0x1152fa,Object[_0x41f8db(0x9c)]({},_0x5218aa,{'id':'more-right-icon','ref':_0x36ce0f,'icon':_0x1728f0}));});_0xc9ae71[_0x4919c8(0x320)]=_0x4919c8(0x138);let _0x582de={'tag':_0x4919c8(0x13e),'attrs':{'xmlns':_0x4919c8(0x377),'fill':_0x4919c8(0x109),'viewBox':_0x4919c8(0x208),'width':_0x4919c8(0x367),'height':_0x4919c8(0x367)},'children':[{'tag':'g','attrs':{'fill':_0x4919c8(0x241),'clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x4919c8(0x34d),'attrs':{'d':_0x4919c8(0x383)}},{'tag':_0x4919c8(0x34d),'attrs':{'d':_0x4919c8(0x152),'fillRule':'evenodd','clipRule':_0x4919c8(0x3e3)}}]},{'tag':_0x4919c8(0x23a),'attrs':{},'children':[{'tag':_0x4919c8(0x187),'attrs':{'id':_0x4919c8(0x30e)},'children':[{'tag':_0x4919c8(0x129),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x4919c8(0x1f7),'rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},_0x9b3bbc=(0x0,_0x308d98[_0x4919c8(0x170)])(function(_0x255ce3,_0x4f4d41){const _0x3839c2=_0x4919c8;return(0x0,_0x308d98[_0x3839c2(0x288)])(_0x1152fa,Object[_0x3839c2(0x9c)]({},_0x255ce3,{'id':_0x3839c2(0xda),'ref':_0x4f4d41,'icon':_0x582de}));});_0x9b3bbc['displayName']='RestoreIcon';let _0x4b2a0a={'tag':_0x4919c8(0x13e),'attrs':{'xmlns':_0x4919c8(0x377),'fill':_0x4919c8(0x109),'viewBox':_0x4919c8(0x27e),'width':'1em','height':_0x4919c8(0x367)},'children':[{'tag':_0x4919c8(0x34d),'attrs':{'fill':'#0B9EFB','d':_0x4919c8(0x235),'fillOpacity':0.2,'fillRule':_0x4919c8(0x3e3),'clipRule':_0x4919c8(0x3e3)}},{'tag':_0x4919c8(0x34d),'attrs':{'fill':_0x4919c8(0xbe),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':'evenodd','clipRule':_0x4919c8(0x3e3)}}]},_0x26418d=(0x0,_0x308d98['forwardRef'])(function(_0x1ba100,_0x211f49){const _0x256671=_0x4919c8;return(0x0,_0x308d98[_0x256671(0x288)])(_0x1152fa,Object['assign']({},_0x1ba100,{'id':_0x256671(0x360),'ref':_0x211f49,'icon':_0x4b2a0a}));});_0x26418d[_0x4919c8(0x320)]=_0x4919c8(0xeb);function _0x5a0149(_0xe65da9){const _0x219b6a=_0x4919c8;var _0x2c4905;let {item:_0x413dbc,isNewest:_0x364ac2}=_0xe65da9,_0x196139=(0x0,_0x467782[_0x219b6a(0x381)])(_0x209511),_0x2717f3=(0x0,_0x467782[_0x219b6a(0x381)])(_0x597a1b),_0x43c2af=(0x0,_0x467782[_0x219b6a(0x381)])(_0x194df4[_0x219b6a(0x116)]),_0x48b654=(0x0,_0x467782['useObservable'])(_0x196139[_0x219b6a(0x2ea)],'',!0x0)===_0x413dbc['id'],_0x5b9442=_0x43c2af[_0x219b6a(0x19d)](),_0x28f825=_0x563f07(_0x413dbc['time'],_0x5b9442),_0x590734=!_0x364ac2&&_0x196139[_0x219b6a(0x127)],_0x159555=(0x0,_0x308d98['useCallback'])(async()=>{const _0x3d18da=_0x219b6a;_0x196139['loadingState']!==_0x3d18da(0x28d)&&(_0x196139[_0x3d18da(0x411)]=_0x413dbc['id'],await _0x2717f3['ensureVersion'](_0x413dbc['id']));},[_0x196139,_0x2717f3,_0x413dbc['id']]),_0x4703b7=(0x0,_0x308d98[_0x219b6a(0x327)])(_0x41186f=>{const _0x18a402=_0x219b6a;_0x41186f[_0x18a402(0x3c0)](),_0x196139[_0x18a402(0x1d4)](_0x413dbc['id']);},[_0x196139,_0x413dbc['id']]),_0x2d8547=((_0x2c4905=_0x413dbc[_0x219b6a(0x382)])==null?void 0x0:_0x2c4905[_0x219b6a(0x9e)](Boolean)['join'](',\x20'))||_0x413dbc['user']||_0x43c2af['t'](_0x219b6a(0x37f));return(0x0,_0x47b9d7['jsxs'])(_0x219b6a(0x1ae),{'className':(0x0,_0xb2e2cd['clsx'])('univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800',_0x48b654&&_0x219b6a(0xa5)),'onClick':_0x159555,'children':[(0x0,_0x47b9d7['jsxs'])(_0x219b6a(0x1ae),{'className':_0x219b6a(0x3f2),'children':[(0x0,_0x47b9d7[_0x219b6a(0x2b4)])(_0x219b6a(0x1ae),{'className':_0x219b6a(0x2bc),'children':[(0x0,_0x47b9d7[_0x219b6a(0x2a9)])(_0x219b6a(0x89),{'className':_0x219b6a(0xa9),'children':_0x2d8547}),_0x364ac2&&(0x0,_0x47b9d7[_0x219b6a(0x2a9)])(_0x219b6a(0x89),{'className':_0x219b6a(0xc5),'children':_0x43c2af['t'](_0x219b6a(0x339))})]}),(0x0,_0x47b9d7[_0x219b6a(0x2b4)])(_0x219b6a(0x1ae),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x47b9d7[_0x219b6a(0x2a9)])(_0x219b6a(0x89),{'className':_0x219b6a(0x1a4),'children':_0x28f825[_0x219b6a(0xc4)]}),(0x0,_0x47b9d7[_0x219b6a(0x2a9)])('span',{'className':_0x219b6a(0x3c5),'children':_0x45f514(_0x413dbc,_0x43c2af)})]})]}),_0x590734&&(0x0,_0x47b9d7[_0x219b6a(0x2a9)])(_0xb2e2cd[_0x219b6a(0x266)],{'size':_0x219b6a(0xfa),'variant':'primary','onClick':_0x4703b7,'children':_0x43c2af['t'](_0x219b6a(0x3d0))})]});}function _0x1064e6(){const _0x3fe027=_0x4919c8;let _0x3d12e0=(0x0,_0x467782[_0x3fe027(0x381)])(_0x209511),_0x2aa787=(0x0,_0x467782[_0x3fe027(0x381)])(_0x194df4['LocaleService']),_0x7c3cda=(0x0,_0x467782[_0x3fe027(0x147)])(_0x3d12e0[_0x3fe027(0x149)]),_0x190f9c=(0x0,_0x467782[_0x3fe027(0x147)])(_0x3d12e0[_0x3fe027(0x25e)]),_0x3cd89a=(0x0,_0x308d98[_0x3fe027(0x190)])(null),[_0x422a0f,_0x37f5ab]=(0x0,_0x308d98['useState'])(!0x0);(0x0,_0x308d98['useEffect'])(()=>{const _0x416932=_0x3fe027;let _0x540e2b=_0x3cd89a['current'];if(!_0x540e2b||!_0x422a0f)return;let _0x507caf,_0x65196b=()=>{clearTimeout(_0x507caf),_0x507caf=setTimeout(()=>{let {scrollTop:_0x4665a4,scrollHeight:_0x50703f,clientHeight:_0x42698a}=_0x540e2b;_0x4665a4+_0x42698a>=_0x50703f-0xa&&_0x3d12e0['loadMoreVersions']();},0x64);};return _0x540e2b['addEventListener'](_0x416932(0x2e0),_0x65196b),()=>{const _0x573c9e=_0x416932;clearTimeout(_0x507caf),_0x540e2b[_0x573c9e(0x3ef)]('scroll',_0x65196b);};},[_0x3d12e0,_0x422a0f]);let _0x4b1a81=_0x487062(_0x7c3cda==null?[]:_0x7c3cda);return(0x0,_0x47b9d7[_0x3fe027(0x2a9)])(_0x3fe027(0x1ae),{'className':_0x3fe027(0x1da),'children':(0x0,_0x47b9d7[_0x3fe027(0x2b4)])(_0x3fe027(0x1ae),{'className':(0x0,_0xb2e2cd[_0x3fe027(0x236)])('univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-white\x20univer-shadow-[0_-4px_24px_rgba(0,0,0,0.12)]\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950',_0x422a0f?_0x3fe027(0x24f):'univer-h-12'),'children':[(0x0,_0x47b9d7[_0x3fe027(0x2b4)])(_0x3fe027(0x1ae),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','onClick':()=>_0x37f5ab(_0x454746=>!_0x454746),'children':[(0x0,_0x47b9d7[_0x3fe027(0x2a9)])(_0x3fe027(0x1ae),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),!_0x422a0f&&(0x0,_0x47b9d7[_0x3fe027(0x2a9)])('span',{'className':_0x3fe027(0x2ad),'children':_0x2aa787['t'](_0x3fe027(0x171))})]}),_0x422a0f&&(0x0,_0x47b9d7['jsx'])(_0x47b9d7[_0x3fe027(0xae)],{'children':_0x7c3cda?(0x0,_0x47b9d7[_0x3fe027(0x2b4)])(_0x3fe027(0x1ae),{'ref':_0x3cd89a,'className':_0x3fe027(0x21e),'children':[_0x4b1a81[_0x3fe027(0x160)](_0x1d52d2=>(0x0,_0x47b9d7[_0x3fe027(0x2b4)])(_0x3fe027(0x1ae),{'children':[(0x0,_0x47b9d7[_0x3fe027(0x2a9)])(_0x3fe027(0x1ae),{'className':_0x3fe027(0x386),'children':_0x1ce734(_0x1d52d2[_0x3fe027(0x26e)],_0x2aa787[_0x3fe027(0x19d)]())}),_0x1d52d2[_0x3fe027(0x8d)][_0x3fe027(0x160)]((_0x3674f4,_0x11934f)=>(0x0,_0x47b9d7['jsx'])(_0x5a0149,{'item':_0x3674f4,'isNewest':_0x4b1a81[0x0]===_0x1d52d2&&_0x11934f===0x0},_0x3674f4['id']))]},_0x1d52d2['dateString'])),_0x190f9c&&(0x0,_0x47b9d7[_0x3fe027(0x2a9)])('div',{'className':_0x3fe027(0x8e),'children':(0x0,_0x47b9d7[_0x3fe027(0x2a9)])(_0x26418d,{'className':_0x3fe027(0x2a5)})})]}):(0x0,_0x47b9d7[_0x3fe027(0x2a9)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':(0x0,_0x47b9d7[_0x3fe027(0x2a9)])(_0x26418d,{'className':_0x3fe027(0x2a5)})})})]})});}let _0x2631e2=class extends _0x194df4[_0x4919c8(0x2bb)]{constructor(_0x3a01a1,_0x488bcc){const _0x5b4daa=_0x4919c8;super(),this[_0x5b4daa(0x136)]=_0x3a01a1,this[_0x5b4daa(0x3cc)]=_0x488bcc,this[_0x5b4daa(0x1e7)](this[_0x5b4daa(0x136)][_0x5b4daa(0x318)](_0x467782[_0x5b4daa(0x269)][_0x5b4daa(0x145)],()=>(0x0,_0x467782[_0x5b4daa(0x14a)])(_0x1064e6,this[_0x5b4daa(0x3cc)])));}};_0x2631e2=_0x26144c([_0x2928d0(0x0,_0x467782[_0x4919c8(0x206)]),_0x2928d0(0x1,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x194df4[_0x4919c8(0x1d8)]))],_0x2631e2);var _0x5dba4a=class extends _0x194df4[_0x4919c8(0x2bb)]{constructor(){const _0x2b6dec=_0x4919c8;super(),_0x388d57(this,_0x2b6dec(0x1cc),new _0x43f35f[(_0x2b6dec(0x35e))]());}[_0x4919c8(0x3ff)](){return(0x0,_0x194df4['toDisposable'])(()=>{});}[_0x4919c8(0x375)](){}[_0x4919c8(0x13b)](_0x1165a5){}[_0x4919c8(0x13d)](){return this['_dialogOptions$']['asObservable']();}};let _0x560873=class extends _0x194df4[_0x4919c8(0x35c)]{constructor(_0x51bc7f=_0x1c81fd,_0x480072,_0x1cc05c,_0x1a94d6){const _0xd5072a=_0x4919c8;super(),this[_0xd5072a(0x332)]=_0x51bc7f,this[_0xd5072a(0x3cc)]=_0x480072,this[_0xd5072a(0x12a)]=_0x1cc05c,this['_configService']=_0x1a94d6;let {..._0x1e56b5}=(0x0,_0x194df4[_0xd5072a(0x146)])({},_0x1c81fd,this[_0xd5072a(0x332)]);this['_configService'][_0xd5072a(0xfc)](_0x3278b9,_0x1e56b5);}[_0x4919c8(0x29c)](){const _0x2f5f1d=_0x4919c8;[[_0x209511],[_0x50a015],[_0x597a1b],[_0x413f31],[_0x2631e2],[_0x422e68],[_0x35b334['ISnapshotServerService'],{'useClass':_0x2fa560[_0x2f5f1d(0x1a3)]}],[_0x467782[_0x2f5f1d(0x1f3)],{'useClass':_0x5dba4a}],[_0x1f1463[_0x2f5f1d(0x3b7)],{'useClass':_0x2fa560[_0x2f5f1d(0x2c1)]}]]['forEach'](_0x3469b4=>this[_0x2f5f1d(0x3cc)][_0x2f5f1d(0x328)](_0x3469b4)),this[_0x2f5f1d(0x3cc)][_0x2f5f1d(0x1bf)](_0x50a015);}[_0x4919c8(0x11f)](){const _0x2d45dd=_0x4919c8;[[_0x4e4a2c]][_0x2d45dd(0x128)](_0x1a9386=>{const _0x466cac=_0x2d45dd;this[_0x466cac(0x1e7)](this[_0x466cac(0x12a)][_0x466cac(0xdc)](_0x194df4[_0x466cac(0x273)][_0x466cac(0x270)],_0x1a9386));}),this[_0x2d45dd(0x3cc)][_0x2d45dd(0x1bf)](_0x422e68),this['_injector'][_0x2d45dd(0x1bf)](_0x2631e2);}[_0x4919c8(0x324)](){const _0x5acb2b=_0x4919c8;this[_0x5acb2b(0x3cc)][_0x5acb2b(0x1bf)](_0x597a1b);}};_0x388d57(_0x560873,'pluginName',_0x4919c8(0x3a0)),_0x388d57(_0x560873,_0x4919c8(0x2ce),_0x1290d1),_0x388d57(_0x560873,_0x4919c8(0x274),_0x3af443),_0x560873=_0x26144c([(0x0,_0x194df4[_0x4919c8(0xe1)])(_0x5204c6[_0x4919c8(0x139)],_0x30abf3[_0x4919c8(0x2a6)]),_0x2928d0(0x1,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x194df4['Injector'])),_0x2928d0(0x2,_0x5d0fdd[_0x4919c8(0x103)]),_0x2928d0(0x3,_0x194df4[_0x4919c8(0x282)])],_0x560873);function _0x593801(){const _0x584e2f=_0x4919c8;let _0x967c7e=(0x0,_0x467782['useDependency'])(_0x209511),_0x28cfdc=(0x0,_0x467782[_0x584e2f(0x381)])(_0x194df4[_0x584e2f(0x116)]),_0x19f3e9=(0x0,_0x467782[_0x584e2f(0x147)])(_0x967c7e['currentVersion$']),_0x1730b5=(0x0,_0x308d98['useMemo'])(()=>_0x19f3e9?_0x967c7e['getSelectedVersionCanRevert']():!0x1,[_0x967c7e,_0x19f3e9]),_0x539724=(0x0,_0x308d98[_0x584e2f(0x327)])(()=>{const _0x48ec42=_0x584e2f;_0x967c7e[_0x48ec42(0x2d2)]=_0x48ec42(0x182);},[_0x967c7e]),_0x122b95=(0x0,_0x308d98['useCallback'])(()=>{const _0x284214=_0x584e2f;_0x967c7e[_0x284214(0x1d4)]();},[_0x967c7e]);return(0x0,_0x47b9d7[_0x584e2f(0x2b4)])(_0x584e2f(0x1ae),{'className':(0x0,_0xb2e2cd['clsx'])(_0x584e2f(0x20b),_0xb2e2cd[_0x584e2f(0x22a)]),'children':[(0x0,_0x47b9d7[_0x584e2f(0x2a9)])('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':_0x584e2f(0x115),'onClick':_0x539724,'children':(0x0,_0x47b9d7['jsx'])(_0x444769,{'className':_0x584e2f(0x1db)})}),(0x0,_0x47b9d7[_0x584e2f(0x2a9)])(_0x584e2f(0x1ae),{'className':_0x584e2f(0x9b),'children':_0x1730b5&&(0x0,_0x47b9d7[_0x584e2f(0x2a9)])(_0xb2e2cd['Button'],{'variant':'primary','onClick':_0x122b95,'children':_0x28cfdc['t'](_0x584e2f(0x3d0))})})]});}let _0x3cbe77=class extends _0x194df4[_0x4919c8(0x2bb)]{constructor(_0xecb898,_0x125898,_0x127fb1,_0x3aa270,_0x2a318b,_0x195583,_0x64a138){const _0x32d486=_0x4919c8;super(),this[_0x32d486(0x2b5)]=_0xecb898,this[_0x32d486(0x136)]=_0x125898,this[_0x32d486(0x2d0)]=_0x127fb1,this[_0x32d486(0x292)]=_0x3aa270,this['_historyManagerService']=_0x2a318b,this[_0x32d486(0x3cc)]=_0x195583,this['_configService']=_0x64a138,this[_0x32d486(0x2da)]();}['_init'](){const _0x5c156f=_0x4919c8;this[_0x5c156f(0x1e7)](this[_0x5c156f(0x3fc)][_0x5c156f(0x2ea)][_0x5c156f(0xc1)](_0x346abf=>{const _0x5d68fd=_0x5c156f;_0x346abf&&this[_0x5d68fd(0x3fc)][_0x5d68fd(0x2cb)](_0x346abf);})),this['disposeWithMe'](this[_0x5c156f(0x2b5)][_0x5c156f(0x3f9)][_0x5c156f(0xc1)](_0x5da5c6=>{const _0x53f313=_0x5c156f;let _0x3d280c=this[_0x53f313(0x3fc)][_0x53f313(0x276)];_0x3d280c&&(_0x5da5c6[_0x53f313(0x21a)]===_0x4f0c6e['UnitAction'][_0x53f313(0xe2)]&&_0x5da5c6[_0x53f313(0x30b)]===!0x0&&this[_0x53f313(0x2b5)][_0x53f313(0x37c)](new _0x593f2f['WorkbookEditablePermission'](_0x3d280c)['id'],!0x1),_0x5da5c6[_0x53f313(0x21a)]===_0x4f0c6e[_0x53f313(0x2ec)][_0x53f313(0x3cf)]&&_0x5da5c6[_0x53f313(0x30b)]===!0x0&&this[_0x53f313(0x2b5)][_0x53f313(0x37c)](new _0x593f2f[(_0x53f313(0x90))](_0x3d280c)['id'],!0x1),_0x5da5c6['subType']===_0x4f0c6e['UnitAction']['MoveSheet']&&_0x5da5c6[_0x53f313(0x30b)]===!0x0&&this[_0x53f313(0x2b5)]['updatePermissionPoint'](new _0x593f2f[(_0x53f313(0xa8))](_0x3d280c)['id'],!0x1),_0x5da5c6[_0x53f313(0x21a)]===_0x4f0c6e[_0x53f313(0x2ec)]['HideSheet']&&_0x5da5c6['value']===!0x0&&this['_permissionService'][_0x53f313(0x37c)](new _0x593f2f[(_0x53f313(0xaf))](_0x3d280c)['id'],!0x1),_0x5da5c6[_0x53f313(0x21a)]===_0x4f0c6e[_0x53f313(0x2ec)][_0x53f313(0x410)]&&_0x5da5c6[_0x53f313(0x30b)]===!0x0&&this[_0x53f313(0x2b5)][_0x53f313(0x37c)](new _0x593f2f[(_0x53f313(0x1f4))](_0x3d280c)['id'],!0x1),_0x5da5c6[_0x53f313(0x21a)]===_0x4f0c6e[_0x53f313(0x2ec)][_0x53f313(0x1f6)]&&_0x5da5c6['value']===!0x0&&this[_0x53f313(0x2b5)][_0x53f313(0x37c)](new _0x593f2f[(_0x53f313(0x1f4))](_0x3d280c)['id'],!0x1));})),this[_0x5c156f(0x1a9)]();let _0x1bfe66;this['disposeWithMe'](this[_0x5c156f(0x3fc)][_0x5c156f(0x20c)][_0x5c156f(0xc1)](_0x3274dd=>{const _0x1dd897=_0x5c156f;this['_messageService'][_0x1dd897(0x1aa)](),_0x1bfe66==null||_0x1bfe66[_0x1dd897(0x1b8)](),_0x3274dd===_0x1dd897(0x28d)&&(this[_0x1dd897(0x3fc)][_0x1dd897(0x2c6)](),_0x1bfe66=this['_messageService'][_0x1dd897(0x265)]({'type':_0xb2e2cd['MessageType']['Info'],'content':this[_0x1dd897(0x292)]['t'](_0x1dd897(0x3a5)),'duration':0x3e8})),_0x3274dd===_0x1dd897(0x2d5)&&this[_0x1dd897(0x3fc)][_0x1dd897(0x12c)]();}));}[_0x4919c8(0x1a9)](){const _0x542f7c=_0x4919c8;var _0x3d6873;(_0x3d6873=this[_0x542f7c(0x25c)][_0x542f7c(0x153)]('edit-history-viewer.config'))!=null&&_0x3d6873[_0x542f7c(0x290)]||this[_0x542f7c(0x1e7)](this[_0x542f7c(0x136)][_0x542f7c(0x318)](_0x467782[_0x542f7c(0x269)][_0x542f7c(0x1b6)],()=>(0x0,_0x467782[_0x542f7c(0x14a)])(_0x593801,this[_0x542f7c(0x3cc)])));}};_0x3cbe77=_0x26144c([_0x2928d0(0x0,_0x194df4['IPermissionService']),_0x2928d0(0x1,_0x467782['IUIPartsService']),_0x2928d0(0x2,_0x467782[_0x4919c8(0x3e9)]),_0x2928d0(0x3,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x194df4[_0x4919c8(0x116)])),_0x2928d0(0x4,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x209511)),_0x2928d0(0x5,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x194df4['Injector'])),_0x2928d0(0x6,_0x194df4[_0x4919c8(0x282)])],_0x3cbe77);let _0x507ac3=[{'key':0x0,'labelKey':_0x4919c8(0x3e8)},{'key':0x1,'labelKey':_0x4919c8(0x271)},{'key':0x2,'labelKey':_0x4919c8(0x309)}];function _0xa4d6a1(_0x40747c){const _0x27ced3=_0x4919c8;let {className:_0x3c3554}=_0x40747c;return(0x0,_0x47b9d7[_0x27ced3(0x2b4)])('svg',{'className':_0x3c3554,'fill':_0x27ced3(0x109),'height':'20','viewBox':'0\x200\x2020\x2020','width':'20','xmlns':_0x27ced3(0x377),'children':[(0x0,_0x47b9d7['jsx'])('path',{'d':_0x27ced3(0x24d),'fill':_0x27ced3(0x2f7)}),(0x0,_0x47b9d7['jsx'])('defs',{'children':(0x0,_0x47b9d7[_0x27ced3(0x2b4)])(_0x27ced3(0x1c2),{'gradientUnits':_0x27ced3(0xdf),'id':_0x27ced3(0x217),'x1':'1.66418','x2':_0x27ced3(0x395),'y1':'7.08645','y2':_0x27ced3(0xb9),'children':[(0x0,_0x47b9d7['jsx'])(_0x27ced3(0x230),{'offset':_0x27ced3(0x9d),'stopColor':'#FF557D'}),(0x0,_0x47b9d7[_0x27ced3(0x2a9)])(_0x27ced3(0x230),{'offset':'0.31','stopColor':_0x27ced3(0x408)}),(0x0,_0x47b9d7[_0x27ced3(0x2a9)])(_0x27ced3(0x230),{'offset':_0x27ced3(0x1ad),'stopColor':_0x27ced3(0x107)}),(0x0,_0x47b9d7['jsx'])(_0x27ced3(0x230),{'offset':'1','stopColor':'#01C2AA'})]})})]});}function _0x8b6b51(_0x3c81bd){const _0x19ed6d=_0x4919c8;let {value:_0x470159,onChange:_0x5ea06b}=_0x3c81bd,_0x5a7dac=(0x0,_0x467782[_0x19ed6d(0x381)])(_0x194df4['LocaleService']);return(0x0,_0x47b9d7[_0x19ed6d(0x2a9)])(_0x19ed6d(0x1ae),{'className':_0x19ed6d(0x294),'children':(0x0,_0x47b9d7['jsx'])(_0xb2e2cd[_0x19ed6d(0x14d)],{'items':_0x507ac3[_0x19ed6d(0x160)](_0xfd6605=>({'label':_0x5a7dac['t'](_0xfd6605[_0x19ed6d(0xd0)]),'value':_0xfd6605['key']})),'value':_0x470159,'onChange':_0x5ea06b})});}function _0x50db8f(){const _0xab6361=_0x4919c8;var _0x553462,_0x4d2fb9;let _0x571b26=(0x0,_0x467782[_0xab6361(0x381)])(_0x209511),_0x4cf7fc=(0x0,_0x467782['useDependency'])(_0x413f31),_0x39363e=(0x0,_0x467782[_0xab6361(0x381)])(_0x597a1b),_0x283266=(0x0,_0x467782[_0xab6361(0x381)])(_0x194df4['IConfigService']),_0x4c7d29=(0x0,_0x467782[_0xab6361(0x147)])(_0x571b26[_0xab6361(0x149)]),_0x6e59eb=(0x0,_0x467782[_0xab6361(0x147)])(_0x571b26[_0xab6361(0x16d)],[]),[_0x9bb990,_0x2eb53a]=(0x0,_0x308d98[_0xab6361(0x23b)])(new Set()),[_0x2f2803,_0x320e06]=(0x0,_0x308d98[_0xab6361(0x23b)])(new Map()),[_0x18590e,_0x4ff7ac]=(0x0,_0x308d98[_0xab6361(0x23b)])(new Set()),[_0x5ea9dd,_0x305b2e]=(0x0,_0x308d98['useState'])(0x0),_0x274aee=(0x0,_0x467782[_0xab6361(0x381)])(_0x194df4[_0xab6361(0x116)]),_0x23f4b2=(0x0,_0x308d98[_0xab6361(0x190)])(null),[_0x2348e2,_0x3e06a7]=(0x0,_0x308d98['useState'])(!0x1),[_0x2e9274,_0x1760e1]=(0x0,_0x308d98[_0xab6361(0x23b)])([]),_0x5cf72e=(_0x553462=(_0x4d2fb9=_0x283266[_0xab6361(0x153)](_0xab6361(0x2e1)))==null?void 0x0:_0x4d2fb9['historyAIassistantEnabled'])==null?!0x1:_0x553462,_0x583044=_0x487062(_0x4c7d29),[_0x1b00e8,_0x2cff1f]=(0x0,_0x308d98[_0xab6361(0x23b)])([]),_0x53fab1=(0x0,_0x308d98[_0xab6361(0x341)])(()=>_0x6e59eb['map'](_0x236ce2=>({'key':_0x236ce2[_0xab6361(0x177)],'label':_0x236ce2[_0xab6361(0x193)]})),[_0x6e59eb]);(0x0,_0x308d98[_0xab6361(0x106)])(()=>{_0x571b26['loadHistoryCreatorList']();},[]);let _0x1b73f0=(0x0,_0x308d98['useCallback'])(_0x5c83b1=>{const _0x1898f3=_0xab6361;_0x2cff1f([]),_0x305b2e(_0x5c83b1),_0x571b26[_0x1898f3(0x276)]&&_0x571b26[_0x1898f3(0x29a)](_0x571b26[_0x1898f3(0x276)],{'origin':_0x5c83b1});},[_0x571b26]);(0x0,_0x308d98['useEffect'])(()=>{const _0x250657=_0xab6361;let _0x1e83e1=_0x23f4b2[_0x250657(0x34b)];if(!_0x1e83e1)return;let _0x16488a,_0x2a3f33=_0xa83492=>{clearTimeout(_0x16488a),_0x16488a=setTimeout(()=>{let {target:_0x1ab88c}=_0xa83492;if(_0x1ab88c){let {scrollTop:_0x3aef21,scrollHeight:_0x12dd1c,clientHeight:_0x318229}=_0x1ab88c;_0x3aef21+_0x318229>=_0x12dd1c-0x5&&_0x571b26['loadMoreVersions']();}},0x64);};return _0x1e83e1[_0x250657(0x313)](_0x250657(0x2e0),_0x2a3f33),()=>{const _0x4f65cc=_0x250657;clearTimeout(_0x16488a),_0x1e83e1[_0x4f65cc(0x3ef)](_0x4f65cc(0x2e0),_0x2a3f33);};},[_0x571b26]);let _0x3b7a65=(0x0,_0x308d98[_0xab6361(0x327)])(async _0x1ab7e5=>{const _0x47e90d=_0xab6361;let _0x207835=_0x1ab7e5['id'];if(_0x9bb990[_0x47e90d(0x120)](_0x207835)){_0x2eb53a(_0x5cec86=>{const _0xbf9e56=_0x47e90d;let _0x332f50=new Set(_0x5cec86);return _0x332f50[_0xbf9e56(0x24e)](_0x207835),_0x332f50;});return;}if(_0x2f2803[_0x47e90d(0x120)](_0x207835)){_0x2eb53a(_0x185eca=>new Set(_0x185eca)[_0x47e90d(0x328)](_0x207835));return;}_0x4ff7ac(_0x3b96a2=>new Set(_0x3b96a2)['add'](_0x207835));try{var _0x366734;let _0x3a9ed2=_0x571b26[_0x47e90d(0x276)];if(!_0x3a9ed2)return;let _0x39a44d=await _0x4cf7fc[_0x47e90d(0xe6)]({},{'unitId':_0x3a9ed2,'startRevision':_0x1ab7e5[_0x47e90d(0x234)],'endRevision':_0x1ab7e5['endRev']});if(((_0x366734=_0x39a44d[_0x47e90d(0x26b)])==null?void 0x0:_0x366734['code'])===0x1&&_0x39a44d[_0x47e90d(0x245)]){let _0x9ad404=_0x39a44d['changesets'][_0x47e90d(0x1cf)]()[_0x47e90d(0x160)](_0x524d00=>{const _0x4dc702=_0x47e90d;var _0xaf2591,_0x3b515e;let _0xf4b50e=(0x0,_0x35b334[_0x4dc702(0x374)])(_0x524d00),_0x3b1d4f=_0x524d00[_0x4dc702(0xce)]||_0xf4b50e[_0x4dc702(0xce)],_0x2b83c9=(_0xaf2591=_0x39a44d['users'])==null?void 0x0:_0xaf2591[_0x3b1d4f],_0x5125a4=((_0x3b515e=_0x524d00[_0x4dc702(0x3b0)])==null?void 0x0:_0x3b515e[_0x4dc702(0x160)](_0x4ba2bf=>_0x4ba2bf['id']))||[];return{'id':_0x207835+_0x4dc702(0x38d)+_0x524d00[_0x4dc702(0x291)],'unitId':_0x524d00[_0x4dc702(0x186)],'startRev':_0x524d00[_0x4dc702(0x291)],'endRev':_0x524d00[_0x4dc702(0x291)],'time':_0x524d00[_0x4dc702(0xbc)]?_0x524d00['createTime']*0x3e8:void 0x0,'user':(_0x2b83c9==null?void 0x0:_0x2b83c9[_0x4dc702(0x193)])||'','users':[(_0x2b83c9==null?void 0x0:_0x2b83c9[_0x4dc702(0x193)])||''],'commands':_0x5125a4,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x207835,'additionalFields':_0x524d00[_0x4dc702(0xca)]};});_0x320e06(_0x28e908=>new Map(_0x28e908)[_0x47e90d(0x1c8)](_0x207835,_0x9ad404)),_0x9ad404['forEach'](_0x1be80f=>{const _0x5f1ca4=_0x47e90d;_0x571b26[_0x5f1ca4(0x295)](_0x1be80f);});for(let _0xe8570a of _0x9ad404)await _0x39363e[_0x47e90d(0x33e)](_0xe8570a['id']);_0x2eb53a(_0x1333fa=>new Set(_0x1333fa)['add'](_0x207835));}}catch(_0x3da9da){console['error']('Failed\x20to\x20fetch\x20version\x20details:',_0x3da9da);}finally{_0x4ff7ac(_0x16d9cb=>{const _0x502d79=_0x47e90d;let _0x436a10=new Set(_0x16d9cb);return _0x436a10[_0x502d79(0x24e)](_0x207835),_0x436a10;});}},[_0x9bb990,_0x2f2803,_0x571b26,_0x4cf7fc,_0x39363e]);return _0x4c7d29?(0x0,_0x47b9d7['jsxs'])('div',{'ref':_0x23f4b2,'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overflow-auto\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[_0x5cf72e&&(0x0,_0x47b9d7[_0xab6361(0x2b4)])(_0xab6361(0x1ae),{'className':_0xab6361(0x362),'children':[(0x0,_0x47b9d7[_0xab6361(0x2a9)])(_0xab6361(0x1ae),{'className':_0xab6361(0x36a),'children':(0x0,_0x47b9d7[_0xab6361(0x2a9)])(_0x8b6b51,{'value':_0x5ea9dd,'onChange':_0x1b73f0})}),(0x0,_0x47b9d7['jsx'])(_0xb2e2cd[_0xab6361(0x353)],{'align':_0xab6361(0x300),'open':_0x2348e2,'onOpenChange':_0x1c00cc=>{_0x3e06a7(_0x1c00cc),_0x1c00cc&&_0x1760e1(_0x1b00e8);},'overlay':(0x0,_0x47b9d7[_0xab6361(0x2b4)])(_0xab6361(0x1ae),{'className':_0xab6361(0x387),'children':[(0x0,_0x47b9d7[_0xab6361(0x2a9)])('div',{'className':_0xab6361(0x36e),'children':_0x274aee['t'](_0xab6361(0x3a1))}),(0x0,_0x47b9d7['jsx'])(_0xab6361(0x1ae),{'className':_0xab6361(0x98)}),(0x0,_0x47b9d7[_0xab6361(0x2a9)])(_0xab6361(0x1ae),{'className':'univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','children':_0x53fab1[_0xab6361(0x160)](_0x1f97f6=>{const _0x2654c1=_0xab6361;let _0x5f541a=_0x2e9274[_0x2654c1(0x267)](_0x1f97f6['key']);return(0x0,_0x47b9d7[_0x2654c1(0x2b4)])('div',{'className':_0x2654c1(0x181),'onClick':()=>{const _0x30060b=_0x2654c1;_0x1760e1(_0x5f541a?_0x2e9274[_0x30060b(0x9e)](_0x31d4ae=>_0x31d4ae!==_0x1f97f6['key']):[..._0x2e9274,_0x1f97f6['key']]);},'children':[(0x0,_0x47b9d7[_0x2654c1(0x2a9)])(_0xb2e2cd[_0x2654c1(0x194)],{'checked':_0x5f541a}),(0x0,_0x47b9d7['jsx'])(_0x2654c1(0x89),{'className':'univer-text-sm','children':_0x1f97f6[_0x2654c1(0x19a)]})]},_0x1f97f6[_0x2654c1(0x3d4)]);})}),(0x0,_0x47b9d7[_0xab6361(0x2a9)])(_0xab6361(0x1ae),{'className':_0xab6361(0x98)}),(0x0,_0x47b9d7['jsxs'])('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[(0x0,_0x47b9d7['jsx'])(_0xb2e2cd[_0xab6361(0x266)],{'size':_0xab6361(0x131),'variant':_0xab6361(0x401),'onClick':()=>{_0x1760e1(_0x1b00e8),_0x3e06a7(!0x1);},'children':_0x274aee['t'](_0xab6361(0xf2))}),(0x0,_0x47b9d7[_0xab6361(0x2a9)])(_0xb2e2cd[_0xab6361(0x266)],{'size':_0xab6361(0x131),'onClick':()=>{const _0x357d30=_0xab6361;_0x2cff1f(_0x2e9274),_0x571b26['unitId']&&_0x571b26[_0x357d30(0x29a)](_0x571b26[_0x357d30(0x276)],{'origin':_0x5ea9dd,'userIds':_0x2e9274}),_0x3e06a7(!0x1);},'children':_0x274aee['t'](_0xab6361(0x3c3))})]})]}),'children':(0x0,_0x47b9d7[_0xab6361(0x2a9)])(_0xb2e2cd['Button'],{'className':_0xab6361(0x287),'size':_0xab6361(0x131),'variant':'ghost','children':(0x0,_0x47b9d7['jsx'])(_0x229439,{'className':(0x0,_0xb2e2cd[_0xab6361(0x236)])(_0xab6361(0x3ed),{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0x1b00e8[_0xab6361(0x3e7)]>0x0})})})})]}),(0x0,_0x47b9d7[_0xab6361(0x2a9)])('div',{'className':_0xab6361(0xa0),'children':_0x583044[_0xab6361(0x160)]((_0x2602c3,_0x4ed312)=>(0x0,_0x47b9d7['jsxs'])(_0x308d98[_0xab6361(0xae)],{'children':[(0x0,_0x47b9d7['jsx'])(_0x58f96e,{'date':_0x2602c3[_0xab6361(0x18f)],'startDate':_0x2602c3[_0xab6361(0x26e)],'endDate':_0x2602c3[_0xab6361(0x1ef)]}),_0x2602c3[_0xab6361(0x8d)][_0xab6361(0x160)]((_0x4c22bf,_0x21b487)=>{const _0x185d51=_0xab6361;let _0x4e4cff=_0x9bb990[_0x185d51(0x120)](_0x4c22bf['id']),_0x48b387=_0x18590e[_0x185d51(0x120)](_0x4c22bf['id']),_0x3a11ff=_0x2f2803[_0x185d51(0x1bf)](_0x4c22bf['id'])||[];return(0x0,_0x47b9d7[_0x185d51(0x2b4)])(_0x308d98[_0x185d51(0xae)],{'children':[(0x0,_0x47b9d7[_0x185d51(0x2a9)])(_0x52983c,{'item':_0x4c22bf,'onToggleExpand':_0x3b7a65,'isExpanded':_0x4e4cff,'isLoadingDetail':_0x48b387}),_0x4e4cff&&_0x3a11ff[_0x185d51(0x160)]((_0x9f8362,_0x587871)=>(0x0,_0x47b9d7[_0x185d51(0x2b4)])(_0x185d51(0x1ae),{'className':_0x185d51(0x25a),'style':{'marginTop':_0x185d51(0x33d),'marginBottom':'0px'},'children':[(0x0,_0x47b9d7['jsxs'])(_0x185d51(0x1ae),{'className':'univer-absolute\x20univer-top-0\x20univer-h-full','style':{'left':_0x185d51(0xa6),'width':_0x185d51(0x3b5)},'children':[_0x587871<_0x3a11ff['length']-0x1&&(0x0,_0x47b9d7[_0x185d51(0x2a9)])('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-h-full\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','style':{'left':'0','width':'1px'}}),_0x587871===_0x3a11ff[_0x185d51(0x3e7)]-0x1&&(0x0,_0x47b9d7[_0x185d51(0x2a9)])(_0x185d51(0x1ae),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','style':{'left':'0','width':'1px','height':_0x185d51(0x2f1)}}),(0x0,_0x47b9d7['jsx'])(_0x185d51(0x1ae),{'className':_0x185d51(0x1df),'style':{'left':'0','width':_0x185d51(0x3b5),'height':'1px','transform':_0x185d51(0x180)}})]}),(0x0,_0x47b9d7['jsx'])(_0x52983c,{'item':_0x9f8362,'isDetail':!0x0})]},_0x4ed312+'-'+_0x21b487+_0x185d51(0x38d)+_0x587871))]},_0x4ed312+'-'+_0x21b487);})]},_0x2602c3[_0xab6361(0x18f)]))})]}):(0x0,_0x47b9d7[_0xab6361(0x2a9)])(_0x57ecc5,{});}function _0x57ecc5(){const _0x3262fe=_0x4919c8;return(0x0,_0x47b9d7[_0x3262fe(0x2a9)])(_0x3262fe(0x1ae),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':(0x0,_0x47b9d7[_0x3262fe(0x2a9)])('span',{'className':_0x3262fe(0x1b3),'children':(0x0,_0x47b9d7['jsx'])(_0x26418d,{'className':_0x3262fe(0xf9)})})});}function _0x58f96e(_0x4cda6d){const _0x4cb641=_0x4919c8;let _0x20b5c8=(0x0,_0x467782[_0x4cb641(0x381)])(_0x194df4[_0x4cb641(0x116)]),{date:_0xc627f3,startDate:_0x457e34=_0xc627f3}=_0x4cda6d;return(0x0,_0x47b9d7['jsx'])('div',{'className':_0x4cb641(0x40a),'children':_0x1ce734(_0x457e34,_0x20b5c8[_0x4cb641(0x19d)]())});}function _0x52983c(_0x3c7f45){const _0x5bc9ad=_0x4919c8;let {item:_0x3ef78c,onToggleExpand:_0x451946,isExpanded:_0x1c70ba,isLoadingDetail:_0x569c36,isDetail:_0xdcd8f9}=_0x3c7f45,{time:_0x1d4742,user:_0x518a08,startRevCreateTime:_0xe93085,endRevCreateTime:_0x19aeed,users:_0x313718}=_0x3ef78c,_0x22b81b=(0x0,_0x467782[_0x5bc9ad(0x381)])(_0x209511),_0x5ad369=(0x0,_0x467782[_0x5bc9ad(0x381)])(_0x597a1b),_0x377c38=(0x0,_0x467782[_0x5bc9ad(0x147)])(_0x22b81b[_0x5bc9ad(0x2ea)],'',!0x0)===_0x3ef78c['id'],_0x132ba6=_0x22b81b[_0x5bc9ad(0x33c)]()===_0x3ef78c[_0x5bc9ad(0x297)],_0x1ac50c=!_0x132ba6&&_0x22b81b[_0x5bc9ad(0x127)],_0x22aa7c=(0x0,_0x467782[_0x5bc9ad(0x381)])(_0x194df4[_0x5bc9ad(0x116)]),_0x263a8e=_0x22aa7c[_0x5bc9ad(0x19d)](),_0xf116fd=_0x563f07(_0x1d4742,_0x263a8e),_0x31e180=_0x563f07(_0xe93085,_0x263a8e),_0x1dc8bc=_0x563f07(_0x19aeed,_0x263a8e),_0x30035d=_0x22aa7c['t'](_0x5bc9ad(0x339)),_0x3845b7=_0x3ef78c[_0x5bc9ad(0x234)]!==_0x3ef78c['endRev'],_0x306db5=!!_0x3ef78c[_0x5bc9ad(0xca)],_0x417455=(0x0,_0x308d98[_0x5bc9ad(0x341)])(()=>{const _0x4a6d58=_0x5bc9ad;let _0x4335e6=_0x518a08||_0x22aa7c['t'](_0x4a6d58(0x37f));return _0x313718&&_0x313718[_0x4a6d58(0x9e)](_0x3d5ad3=>_0x3d5ad3)[_0x4a6d58(0x3e7)]>0x0&&(_0x4335e6=_0x313718[_0x4a6d58(0x9e)](_0xe7a6f0=>_0xe7a6f0)['join'](',\x20')),_0x306db5?''+_0x22aa7c['t'](_0x4a6d58(0x2e2))+(_0x4335e6?'\x20('+_0x4335e6+')':''):_0x4335e6;},[_0x306db5,_0x518a08,_0x313718,_0x22aa7c]),_0x294097=(0x0,_0x308d98[_0x5bc9ad(0x327)])(async _0x11814c=>{const _0x1d2e21=_0x5bc9ad;_0x22b81b[_0x1d2e21(0x349)]!==_0x1d2e21(0x28d)&&(_0x22b81b[_0x1d2e21(0x411)]=_0x11814c,_0xdcd8f9&&(await _0x5ad369[_0x1d2e21(0x33e)](_0x11814c),await _0x22b81b['triggerLoadSheet'](_0x11814c)));},[_0x22b81b,_0x5ad369,_0xdcd8f9]),_0x28984a=(0x0,_0x308d98[_0x5bc9ad(0x327)])(_0x55798b=>{const _0x468641=_0x5bc9ad;_0x22b81b[_0x468641(0x1d4)](_0x55798b);},[_0x22b81b]),_0x50a64a=(0x0,_0x308d98[_0x5bc9ad(0x327)])(_0x104d54=>{const _0x159f53=_0x5bc9ad;_0x104d54[_0x159f53(0x3c0)](),_0x451946&&!_0x569c36&&_0x451946(_0x3ef78c);},[_0x451946,_0x3ef78c,_0x569c36]);return(0x0,_0x47b9d7['jsxs'])(_0x5bc9ad(0x1ae),{'className':(0x0,_0xb2e2cd['clsx'])(_0x5bc9ad(0x91),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x377c38,'univer-ml-6':_0xdcd8f9}),'onClick':()=>_0x294097(_0x3ef78c['id']),'children':[(0x0,_0x47b9d7['jsx'])(_0x5bc9ad(0x1ae),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','style':{'width':_0x5bc9ad(0x391)},'children':_0x3845b7&&!_0xdcd8f9&&(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])(_0x5bc9ad(0x1ae),{'onClick':_0x50a64a,'className':_0x5bc9ad(0xed),'children':_0x569c36?(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])(_0x26418d,{'className':'univer-size-4\x20univer-animate-spin'}):_0x1c70ba?(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])(_0x14ab6f,{'className':'univer-size-8\x20univer-text-gray-400'}):(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])(_0xc9ae71,{'className':_0x5bc9ad(0x3b1)})})}),(0x0,_0x47b9d7[_0x5bc9ad(0x2b4)])(_0x5bc9ad(0x1ae),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','children':[(0x0,_0x47b9d7[_0x5bc9ad(0x2b4)])(_0x5bc9ad(0x1ae),{'className':_0x5bc9ad(0x15e),'children':[(0x0,_0x47b9d7['jsxs'])(_0x5bc9ad(0x1ae),{'className':_0x5bc9ad(0x1a0),'children':[_0x306db5&&(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])(_0xa4d6a1,{'className':_0x5bc9ad(0x124)}),(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])(_0x5bc9ad(0x89),{'className':_0x5bc9ad(0xb8),'children':_0x417455}),(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])('span',{'className':_0x5bc9ad(0x33f),'children':_0xdcd8f9?_0xf116fd[_0x5bc9ad(0xc4)]:_0xe93085===_0x19aeed?_0x31e180['time']:_0x31e180[_0x5bc9ad(0xc4)]+'\x20-\x20'+_0x1dc8bc['time']}),_0x132ba6&&(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])(_0x5bc9ad(0x89),{'className':_0x5bc9ad(0x1f1),'children':_0x30035d})]}),(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])('div',{'children':_0x1ac50c&&(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])(_0xb2e2cd['Tooltip'],{'title':_0x22aa7c['t'](_0x5bc9ad(0xfe)),'children':(0x0,_0x47b9d7['jsx'])(_0x5bc9ad(0x1ae),{'onClick':_0x3c3425=>{const _0x4275ea=_0x5bc9ad;_0x3c3425[_0x4275ea(0x3c0)](),_0x28984a(_0x3ef78c['id']);},'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])(_0x9b3bbc,{})})})})]}),(0x0,_0x47b9d7[_0x5bc9ad(0x2a9)])('div',{'className':_0x5bc9ad(0x232),'children':_0x45f514(_0x3ef78c,_0x22aa7c)})]})]});}let _0x3d769a='history-panel',_0x968ec8=class extends _0x194df4[_0x4919c8(0x2bb)]{constructor(_0x55362f,_0x38905c,_0x23e4f2,_0x54e7ee,_0x3af0d0){const _0x2c722c=_0x4919c8;super(),this[_0x2c722c(0xcb)]=_0x55362f,this['_componentManager']=_0x38905c,this[_0x2c722c(0x292)]=_0x23e4f2,this[_0x2c722c(0x3fc)]=_0x54e7ee,this[_0x2c722c(0x25c)]=_0x3af0d0,_0x388d57(this,'_sidebarDisposable',null),this[_0x2c722c(0x2da)]();}[_0x4919c8(0x2da)](){const _0x23cc7f=_0x4919c8;this[_0x23cc7f(0x11d)]();}[_0x4919c8(0x140)](){const _0x5b6921=_0x4919c8;var _0x5be6d6;if(this[_0x5b6921(0xe9)])return;let _0x1e2a10=((_0x5be6d6=this['_configService'][_0x5b6921(0x153)](_0x5b6921(0x2e1)))==null?void 0x0:_0x5be6d6['historyPanelComponentKey'])||_0x3d769a,_0x4dc535={'header':{'title':this['_localeService']['t'](_0x5b6921(0x171))},'children':{'label':_0x1e2a10},'onClose':()=>{const _0x57829f=_0x5b6921;this[_0x57829f(0xe9)]=null,this[_0x57829f(0x3fc)][_0x57829f(0x2d2)]=_0x57829f(0x182);}};this['_sidebarDisposable']=this[_0x5b6921(0xcb)][_0x5b6921(0x3ff)]({..._0x4dc535});}[_0x4919c8(0x11d)](){const _0x173279=_0x4919c8;this[_0x173279(0x1e7)](this[_0x173279(0x3ab)][_0x173279(0x24c)](_0x3d769a,_0x50db8f)),this[_0x173279(0x1e7)](this[_0x173279(0x3fc)]['openPanel$'][_0x173279(0xc1)](_0x1a6534=>{const _0x51a9e2=_0x173279;_0x1a6534&&this[_0x51a9e2(0x140)]();}));}};_0x968ec8=_0x26144c([_0x2928d0(0x0,_0x467782['ISidebarService']),_0x2928d0(0x1,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x467782[_0x4919c8(0xd4)])),_0x2928d0(0x2,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x194df4[_0x4919c8(0x116)])),_0x2928d0(0x3,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x209511)),_0x2928d0(0x4,_0x194df4[_0x4919c8(0x282)])],_0x968ec8);let _0x6e2519=class extends _0x194df4[_0x4919c8(0x35c)]{constructor(_0x58a01f=_0x1c81fd,_0xa87289,_0x41485a,_0x5cb7aa){const _0x5681da=_0x4919c8;super(),this[_0x5681da(0x332)]=_0x58a01f,this[_0x5681da(0x3cc)]=_0xa87289,this[_0x5681da(0x12a)]=_0x41485a,this[_0x5681da(0x25c)]=_0x5cb7aa;let {..._0x4194b1}=(0x0,_0x194df4[_0x5681da(0x146)])({},_0x1c81fd,this[_0x5681da(0x332)]);this['_configService'][_0x5681da(0xfc)](_0x3278b9,_0x4194b1);}[_0x4919c8(0x29c)](){const _0x1c6429=_0x4919c8;[[_0x209511],[_0x3cbe77],[_0x597a1b],[_0x413f31],[_0x968ec8],[_0x422e68],[_0x35b334[_0x1c6429(0x293)],{'useClass':_0x2fa560['SnapshotServerOverHTTPService']}],[_0x467782[_0x1c6429(0x1f3)],{'useClass':_0x5dba4a}],[_0x1f1463['IImageIoService'],{'useClass':_0x2fa560[_0x1c6429(0x2c1)]}]][_0x1c6429(0x128)](_0x1cd28b=>this['_injector'][_0x1c6429(0x328)](_0x1cd28b)),this['_injector']['get'](_0x3cbe77);}[_0x4919c8(0x11f)](){const _0x49e6b6=_0x4919c8;[[_0x4e4a2c]][_0x49e6b6(0x128)](_0x2e65e1=>{const _0x45f4b1=_0x49e6b6;this[_0x45f4b1(0x1e7)](this[_0x45f4b1(0x12a)][_0x45f4b1(0xdc)](_0x194df4[_0x45f4b1(0x273)][_0x45f4b1(0x270)],_0x2e65e1));}),this[_0x49e6b6(0x3cc)][_0x49e6b6(0x1bf)](_0x422e68),this[_0x49e6b6(0x3cc)][_0x49e6b6(0x1bf)](_0x968ec8);}[_0x4919c8(0x324)](){const _0x57358a=_0x4919c8;this[_0x57358a(0x3cc)][_0x57358a(0x1bf)](_0x597a1b);}};_0x388d57(_0x6e2519,_0x4919c8(0x3dd),_0x4919c8(0x337)),_0x388d57(_0x6e2519,_0x4919c8(0x2ce),_0x1290d1),_0x388d57(_0x6e2519,_0x4919c8(0x274),_0x3af443),_0x6e2519=_0x26144c([(0x0,_0x194df4['DependentOn'])(_0x5204c6['UniverSheetsUIPlugin'],_0x30abf3['UniverNetworkPlugin']),_0x2928d0(0x1,(0x0,_0x194df4[_0x4919c8(0x29b)])(_0x194df4[_0x4919c8(0x1d8)])),_0x2928d0(0x2,_0x5d0fdd[_0x4919c8(0x103)]),_0x2928d0(0x3,_0x194df4[_0x4919c8(0x282)])],_0x6e2519),Object[_0x4919c8(0x404)](_0x50319f,_0x4919c8(0x105),{'enumerable':!0x0,'get':function(){return _0x209511;}}),_0x50319f[_0x4919c8(0x23d)]=_0x2cb516,_0x50319f[_0x4919c8(0x101)]=_0x42e8ab,Object[_0x4919c8(0x404)](_0x50319f,'UniverEditHistoryViewerMobilePlugin',{'enumerable':!0x0,'get':function(){return _0x560873;}}),Object[_0x4919c8(0x404)](_0x50319f,_0x4919c8(0x413),{'enumerable':!0x0,'get':function(){return _0x6e2519;}}),Object[_0x4919c8(0x404)](_0x50319f,'VersionDiffRenderController',{'enumerable':!0x0,'get':function(){return _0x4e4a2c;}}),Object['defineProperty'](_0x50319f,_0x4919c8(0x25b),{'enumerable':!0x0,'get':function(){return _0x597a1b;}});}));
|
|
18
18
|
|
|
19
19
|
// @univerjs-pro/edit-history-loader/index
|
|
20
|
-
function _0x51e6(_0xcc35e5,_0x35a96d){_0xcc35e5=_0xcc35e5-0x151;const _0x5358a3=_0x5358();let _0x51e6df=_0x5358a3[_0xcc35e5];return _0x51e6df;}function _0x5358(){const _0x520a7e=['UniverProSheetsSparkline','UniverSheetsDataValidationUIPlugin','eventID','current','HistoryLoaderService','univer-history-container','prototype','_menuManagerService','set','_initContainer','_disposableCollection','path','UniverDocsUi','UNIVER_HISTORY_CONTAINER_ID','CollaborationEvent','_localeService','clipPath','UniverSheetsHyperLinkPlugin','symbol','ISidebarService','UniverSheetsShapeUIPlugin','idSuffix','revertRevision$','UniverSheetsMobileUIPlugin','uComp','url(#$1','LocaleService','show','useRef','UniverSheetsFormulaUi','UniverRenderEnginePlugin','setParam','Inject','values','registerPlugin','getMenuHiddenObservable','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_historyUniver$','dispose','clear','getActiveSheet','BUTTON','_localCacheService','_initPlugins','historyUniver$','UniverSheetsNumfmt','reload','triggerLoadVersions','UniverSheetsNumfmtPlugin','WorkbookRecoverHistoryPermission','UniverSheetsPivotTablePlugin','loadUnit','next','UniverEditHistoryViewerMobilePlugin','WorksheetEditPermission','HistoryManagerService','split','UniverDrawingUi','toStringTag','UniverProSheetsShape','_dialogService','Error','171940JJMRkc','IMessageService','AuthzIoHttpService','_init','Injector','state$','UniverFormulaEnginePlugin','100%','UniverSheetsDataValidation','UniverSheetSparklineUIPlugin','1843731gXkJLT','display','@univerjs-pro/edit-history-loader','UNIVER_CONTAINER_ID_KEY','SYNCED','value','univerContainerId','UniverEditHistoryLoaderMobilePlugin','UNIVER_SHEET','UniverSheetsPlugin','terminate','history-icon_clip0_907_281','[HistoryLoaderService]:\x20Plugin\x20','_dataLoaderService','UniverSheetsConditionalFormattingUi','M0\x200H16V16H0z','UniverDrawingPlugin','UniverSheetsFormulaPlugin','CollaborationController','toString','setTheme','_themeService','registerCommand','params','UniverSheetsShapePlugin','onSteady','_urlService','forEach','Disposable','unMountHistoryContent','UniverProSheetsChart','IRemoteInstanceService','assign','top','get','IConfigService','currentColor','onCommandExecuted','UniverSheetsChartPlugin','getCurrentUnitOfType','call','_univerInstanceService','permissionId','edit-history-loader.config','UniverSheetsTable','1261224PuodKg','univerjs-icon\x20univerjs-icon-','getUnitId','UniverSheetsHyperLink','UniverDrawing','_updateURLWithCurrentState','ICommandService','_messageService','getSheetBySheetId','getElementById','triggerCustomVersions','UNIVER_CONTAINER_ID','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','UniverSheetsHyperLinkUIPlugin','style','darkMode$','_setupSubUnitSync','type','closeAll','replace','attrs','zIndex','ThemeService','mergeMenu','getCollabEntity','UniverSheetsDataValidationPlugin','status$','UniverSheetsUIPlugin','_handleRevertAcknowledgement','getCurrentRangeDisable$','Entered','history-icon','getSheetCommandTarget','UniverCore','CollaborationStatus','setDarkMode','createElement','IURLService','RibbonStartGroup','historyListServerUrl','_updateSubUnitFromURLParams','exhaustSavingTask','invoke','UniverProSheetsSparklineUi','event$','fill','univer-container','DataLoaderService','UniverRPCMainThreadPlugin','onStarting','UniverSheetsDrawing','React','DependentOn','http://www.w3.org/2000/svg','UniverSheetsDrawingUIPlugin','RangeProtectionRuleModel','disposeUnit','iterator','editHistory.panel.title','UniverSheets','_injector','toPrimitive','WorkbookViewHistoryPermission','DisposableCollection','UniverSheetsConditionalFormatting','_checkCanRevert','height','UniverDataValidation','\x20has\x20been\x20registered.','add','OPERATION','then','absolute','svg','combineLatest','_configService','_selectionProtectionRuleModel','UniverProEditHistoryLoader','UniverDataValidationPlugin','status','random','IDialogService','use','executeCommand','getUnhiddenWorksheets','RangeProtectionPermissionEditPoint','UNIVER_UNKNOWN','takeUntil','univer-history-container-mobile','__getInjector','decorate','240989enxger','dispose$','UniverDrawingUIPlugin','amd','0\x200\x2016\x2016','editHistory.panel.listFetchError','UniverIcon','UniverSheetsFilterUi','map','object','UniverLicensePlugin','168mgPokw','pluginName','univer.operation.toggle-edit-history','Exited','width','packageName','UniverSheetsDrawingUi','334BxvInL','mutations','RxDisposable','unsubscribe','register','flat','_pluginMap','_commandService','WorkbookEditablePermission','MobileHistoryLoaderService','editHistory.panel.revertFailed','MessageType','UniverSheetSparklinePlugin','activeSheet$','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','Loading','IMenuManagerService','HistoryIcon','urlChange$','Module','CommandType','UniverProSheetsPivot','white','getSubunitRuleList','432016MVSPeW','getAllPlugins','close','UniverNetworkPlugin','exports.@univerjs/core.@univerjs/sheets.@univerjs-pro/collaboration.@univerjs-pro/collaboration-client.@univerjs-pro/edit-history-viewer.@univerjs-pro/license.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-chart-ui.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-shape-ui.@univerjs-pro/sheets-sparkline.@univerjs-pro/sheets-sparkline-ui.@univerjs/data-validation.@univerjs/design.@univerjs/docs.@univerjs/docs-ui.@univerjs/drawing.@univerjs/drawing-ui.@univerjs/engine-formula.@univerjs/engine-render.@univerjs/network.@univerjs/rpc.@univerjs/sheets-conditional-formatting.@univerjs/sheets-conditional-formatting-ui.@univerjs/sheets-data-validation.@univerjs/sheets-data-validation-ui.@univerjs/sheets-drawing.@univerjs/sheets-drawing-ui.@univerjs/sheets-filter.@univerjs/sheets-filter-ui.@univerjs/sheets-formula.@univerjs/sheets-formula-ui.@univerjs/sheets-hyper-link.@univerjs/sheets-hyper-link-ui.@univerjs/sheets-numfmt.@univerjs/sheets-table.@univerjs/sheets-ui.@univerjs/ui.rxjs.@univerjs-pro/collaboration-client-ui.react','getConfig','BehaviorSubject','UniverDesign','data','_permissionService','_sidebarService','fromCollab','every','subscribe','UniverSheetsFormulaUIPlugin','displayName','UniverInstanceType','HistoryModeStatus','getCurrentLocale','length','trim','getParam','version','setConfig','session','editHistory.info.initializing','currentTheme$','none','UniverNetwork','substring','left','UniverDocsPlugin','_initListener','_collaborationController','asObservable','entries','_internalWebWorker','_componentManager','UniverSheetsConditionalFormattingPlugin','merge','composePermission','CHANGESET_ACK','tag','UniverEditHistoryLoaderPlugin','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','UniverProCollaborationClient','children','UniverSheetsChartUIPlugin','removeAll','location','1em','UniverCollaborationPlugin','MenuItemType','colorChannel1','from','_config','2743548UQMLLR','setLocale','disposeWithMe','defs','_initUniver','pipe','UniverSheetsDataValidationUi','mask','url(#history-icon_clip0_907_281)','univer.operation.exit-edit-history','position','UniverProSheetsShapeUi','RevertRevisionMutation','UniverEditHistoryViewerPlugin','function','8634GZoOqP','dataset','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','mountHistoryContent','UniverProSheetsChartUi','getSheets','div','forwardRef','UniverSheetsFormula','SetWorksheetActivateCommand','UniverUi','string','getUnit','UniverSheetsTablePlugin','whenReady','IUniverInstanceService','some','LS_CONFIG_KEY','has','defineProperty','history-container','historyPanelComponentKey','UniverSheetsFilterUIPlugin','_revertErrorTimer','historyAIassistantEnabled','getSheetId','UniverUIPlugin','UniverSheetsFilterPlugin','_historyManagerService','UniverSheetsHyperLinkUi','UniverDocsUIPlugin','ILocalCacheService','Plugin','subunit','historyUniver','Workbook','default','Univer','UniverEngineRender'];_0x5358=function(){return _0x520a7e;};return _0x5358();}(function(_0x45736b,_0x2e65c7){const _0x5b65bb=_0x51e6,_0x518510=_0x45736b();while(!![]){try{const _0x2f0908=-parseInt(_0x5b65bb(0x24c))/0x1+-parseInt(_0x5b65bb(0x234))/0x2*(-parseInt(_0x5b65bb(0x293))/0x3)+parseInt(_0x5b65bb(0x284))/0x4+parseInt(_0x5b65bb(0x190))/0x5+parseInt(_0x5b65bb(0x1c7))/0x6+-parseInt(_0x5b65bb(0x222))/0x7*(parseInt(_0x5b65bb(0x22d))/0x8)+parseInt(_0x5b65bb(0x19a))/0x9;if(_0x2f0908===_0x2e65c7)break;else _0x518510['push'](_0x518510['shift']());}catch(_0x55110d){_0x518510['push'](_0x518510['shift']());}}}(_0x5358,0x708b5),function(_0x1ef50f,_0xf2135b){const _0x2f922c=_0x51e6;typeof exports==_0x2f922c(0x22b)&&typeof module<'u'?_0xf2135b(exports,require(`@univerjs/core`),require(`@univerjs/sheets`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/collaboration-client`),require(`@univerjs-pro/edit-history-viewer`),require(`@univerjs-pro/license`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-chart-ui`),require(`@univerjs-pro/sheets-pivot`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs-pro/sheets-shape-ui`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs-pro/sheets-sparkline-ui`),require(`@univerjs/data-validation`),require(`@univerjs/design`),require(`@univerjs/docs`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs/drawing-ui`),require(`@univerjs/engine-formula`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/rpc`),require(`@univerjs/sheets-conditional-formatting`),require(`@univerjs/sheets-conditional-formatting-ui`),require(`@univerjs/sheets-data-validation`),require(`@univerjs/sheets-data-validation-ui`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-drawing-ui`),require(`@univerjs/sheets-filter`),require(`@univerjs/sheets-filter-ui`),require(`@univerjs/sheets-formula`),require(`@univerjs/sheets-formula-ui`),require(`@univerjs/sheets-hyper-link`),require(`@univerjs/sheets-hyper-link-ui`),require(`@univerjs/sheets-numfmt`),require(`@univerjs/sheets-table`),require(`@univerjs/sheets-ui`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs-pro/collaboration-client-ui`),require(`react`)):typeof define==_0x2f922c(0x292)&&define[_0x2f922c(0x225)]?define(_0x2f922c(0x250)[_0x2f922c(0x18a)]('.'),_0xf2135b):(_0x1ef50f=typeof globalThis<'u'?globalThis:_0x1ef50f||self,_0xf2135b(_0x1ef50f[_0x2f922c(0x214)]={},_0x1ef50f[_0x2f922c(0x1e8)],_0x1ef50f[_0x2f922c(0x202)],_0x1ef50f['UniverProCollaboration'],_0x1ef50f[_0x2f922c(0x279)],_0x1ef50f['UniverProEditHistoryViewer'],_0x1ef50f['UniverProLicense'],_0x1ef50f[_0x2f922c(0x1b8)],_0x1ef50f[_0x2f922c(0x297)],_0x1ef50f[_0x2f922c(0x249)],_0x1ef50f[_0x2f922c(0x18d)],_0x1ef50f[_0x2f922c(0x28f)],_0x1ef50f[_0x2f922c(0x152)],_0x1ef50f[_0x2f922c(0x1f2)],_0x1ef50f[_0x2f922c(0x20a)],_0x1ef50f[_0x2f922c(0x253)],_0x1ef50f['UniverDocs'],_0x1ef50f[_0x2f922c(0x15e)],_0x1ef50f[_0x2f922c(0x1cb)],_0x1ef50f[_0x2f922c(0x18b)],_0x1ef50f['UniverEngineFormula'],_0x1ef50f[_0x2f922c(0x151)],_0x1ef50f[_0x2f922c(0x268)],_0x1ef50f['UniverRpc'],_0x1ef50f[_0x2f922c(0x207)],_0x1ef50f[_0x2f922c(0x1a8)],_0x1ef50f[_0x2f922c(0x198)],_0x1ef50f[_0x2f922c(0x28a)],_0x1ef50f[_0x2f922c(0x1f9)],_0x1ef50f[_0x2f922c(0x233)],_0x1ef50f['UniverSheetsFilter'],_0x1ef50f[_0x2f922c(0x229)],_0x1ef50f[_0x2f922c(0x29b)],_0x1ef50f[_0x2f922c(0x16f)],_0x1ef50f[_0x2f922c(0x1ca)],_0x1ef50f[_0x2f922c(0x2b0)],_0x1ef50f[_0x2f922c(0x17f)],_0x1ef50f[_0x2f922c(0x1c6)],_0x1ef50f['UniverSheetsUi'],_0x1ef50f[_0x2f922c(0x29d)],_0x1ef50f['rxjs'],_0x1ef50f['UniverProCollaborationClientUi'],_0x1ef50f[_0x2f922c(0x1fa)]));}(this,function(_0x599ba0,_0x180e52,_0x4312ea,_0x3a6ac9,_0x4bc981,_0x3352b4,_0x4e23fa,_0x553827,_0x4682bd,_0x2dd7d2,_0x9209ea,_0x202b2b,_0x21a66c,_0x5ba28e,_0x23732b,_0x21c4b8,_0x501d88,_0x34b124,_0x51bbe3,_0x1f769d,_0x15b9f5,_0x428760,_0xedc498,_0x2879fc,_0x3981f9,_0x55b145,_0x350b1c,_0x5c8651,_0x13190c,_0x409da3,_0x47eb46,_0xb26acd,_0x1a0396,_0x2e4dad,_0x4fc741,_0x1384b3,_0x2c5ed4,_0xdb662c,_0x44ffac,_0x2d553a,_0x58a366,_0x4fdfa1,_0x132c25){const _0xc53b5c=_0x51e6;Object[_0xc53b5c(0x2a6)](_0x599ba0,Symbol[_0xc53b5c(0x18c)],{'value':_0xc53b5c(0x247)});let _0x8ece11=_0xc53b5c(0x1c5);Symbol(_0x8ece11);let _0x54a957={};function _0x3fd026(_0x3b5519){'@babel/helpers - typeof';const _0x5374fd=_0xc53b5c;return _0x3fd026=typeof Symbol==_0x5374fd(0x292)&&typeof Symbol[_0x5374fd(0x200)]==_0x5374fd(0x164)?function(_0x4101f6){return typeof _0x4101f6;}:function(_0x1aafaa){const _0x622c56=_0x5374fd;return _0x1aafaa&&typeof Symbol==_0x622c56(0x292)&&_0x1aafaa['constructor']===Symbol&&_0x1aafaa!==Symbol[_0x622c56(0x158)]?_0x622c56(0x164):typeof _0x1aafaa;},_0x3fd026(_0x3b5519);}function _0x2f6a17(_0x488813,_0x4e2eff){const _0x28da5f=_0xc53b5c;if(_0x3fd026(_0x488813)!=_0x28da5f(0x22b)||!_0x488813)return _0x488813;var _0x2a976d=_0x488813[Symbol[_0x28da5f(0x204)]];if(_0x2a976d!==void 0x0){var _0x14c6ea=_0x2a976d[_0x28da5f(0x1c2)](_0x488813,_0x4e2eff||_0x28da5f(0x2b7));if(_0x3fd026(_0x14c6ea)!=_0x28da5f(0x22b))return _0x14c6ea;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4e2eff===_0x28da5f(0x29e)?String:Number)(_0x488813);}function _0x2f7141(_0x25137e){var _0x55be51=_0x2f6a17(_0x25137e,'string');return _0x3fd026(_0x55be51)=='symbol'?_0x55be51:_0x55be51+'';}function _0x4b7861(_0x185157,_0x4b3b83,_0x3c9e53){const _0x32c269=_0xc53b5c;return(_0x4b3b83=_0x2f7141(_0x4b3b83))in _0x185157?Object[_0x32c269(0x2a6)](_0x185157,_0x4b3b83,{'value':_0x3c9e53,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x185157[_0x4b3b83]=_0x3c9e53,_0x185157;}function _0x5f10e5(_0x1beb86,_0xdc64d6){return function(_0x320f44,_0x21fc02){_0xdc64d6(_0x320f44,_0x21fc02,_0x1beb86);};}function _0x13dd99(_0x1152a2,_0x381f67,_0x4d9754,_0x29f8de){const _0x49c9ae=_0xc53b5c;var _0x109a07=arguments[_0x49c9ae(0x25f)],_0x6a201b=_0x109a07<0x3?_0x381f67:_0x29f8de===null?_0x29f8de=Object['getOwnPropertyDescriptor'](_0x381f67,_0x4d9754):_0x29f8de,_0x355abb;if(typeof Reflect==_0x49c9ae(0x22b)&&typeof Reflect[_0x49c9ae(0x221)]==_0x49c9ae(0x292))_0x6a201b=Reflect[_0x49c9ae(0x221)](_0x1152a2,_0x381f67,_0x4d9754,_0x29f8de);else{for(var _0x44c7de=_0x1152a2[_0x49c9ae(0x25f)]-0x1;_0x44c7de>=0x0;_0x44c7de--)(_0x355abb=_0x1152a2[_0x44c7de])&&(_0x6a201b=(_0x109a07<0x3?_0x355abb(_0x6a201b):_0x109a07>0x3?_0x355abb(_0x381f67,_0x4d9754,_0x6a201b):_0x355abb(_0x381f67,_0x4d9754))||_0x6a201b);}return _0x109a07>0x3&&_0x6a201b&&Object[_0x49c9ae(0x2a6)](_0x381f67,_0x4d9754,_0x6a201b),_0x6a201b;}let _0x5eb995=_0xc53b5c(0x1d2),_0x3dd095=_0xc53b5c(0x157),_0x2e5a75=class extends _0x180e52[_0xc53b5c(0x1b6)]{constructor(_0x376394,_0x9391ab,_0x41ce50,_0x3c8820,_0x3ee6b4,_0x15999d,_0x570d1e,_0x4256c2,_0x4c5451,_0x563b7d){const _0x4bc140=_0xc53b5c;super(),this['_localeService']=_0x376394,this[_0x4bc140(0x1c3)]=_0x9391ab,this[_0x4bc140(0x212)]=_0x41ce50,this['_commandService']=_0x3c8820,this[_0x4bc140(0x1ce)]=_0x3ee6b4,this[_0x4bc140(0x255)]=_0x15999d,this['_selectionProtectionRuleModel']=_0x570d1e,this['_dialogService']=_0x4256c2,this[_0x4bc140(0x256)]=_0x4c5451,this[_0x4bc140(0x1af)]=_0x563b7d,_0x4b7861(this,_0x4bc140(0x177),new _0x58a366[(_0x4bc140(0x252))](null)),_0x4b7861(this,_0x4bc140(0x17e),this['_historyUniver$']['asObservable']()),_0x4b7861(this,_0x4bc140(0x15c),new _0x180e52[(_0x4bc140(0x206))]()),_0x4b7861(this,_0x4bc140(0x23a),new Map()),_0x4b7861(this,_0x4bc140(0x270),null),this['_init']();}get[_0xc53b5c(0x2b5)](){const _0x1caa8c=_0xc53b5c;return this[_0x1caa8c(0x177)][_0x1caa8c(0x19f)];}[_0xc53b5c(0x193)](){const _0x3d2a35=_0xc53b5c;this['_initContainer'](),this[_0x3d2a35(0x17d)]();}[_0xc53b5c(0x15b)](){const _0xa09e2e=_0xc53b5c;var _0x181515;let _0x344d8c=(_0x181515=this[_0xa09e2e(0x212)][_0xa09e2e(0x251)]('UNIVER_CONTAINER_ID'))==null?_0xa09e2e(0x1f5):_0x181515,_0x59a73a=document[_0xa09e2e(0x1d0)](_0x344d8c);if(!_0x59a73a)return;let _0x28ef97=document['createElement'](_0xa09e2e(0x299));_0x28ef97['id']=_0x3dd095,_0x28ef97[_0xa09e2e(0x294)][_0xa09e2e(0x16a)]='history-container',_0x28ef97[_0xa09e2e(0x1d5)][_0xa09e2e(0x28e)]=_0xa09e2e(0x20f),_0x28ef97['style'][_0xa09e2e(0x1bb)]='0',_0x28ef97['style']['left']='0',_0x28ef97[_0xa09e2e(0x1d5)][_0xa09e2e(0x231)]=_0xa09e2e(0x197),_0x28ef97[_0xa09e2e(0x1d5)][_0xa09e2e(0x209)]=_0xa09e2e(0x197),_0x28ef97[_0xa09e2e(0x1d5)]['zIndex']='49',_0x28ef97[_0xa09e2e(0x1d5)][_0xa09e2e(0x19b)]=_0xa09e2e(0x267),_0x59a73a['appendChild'](_0x28ef97);}[_0xc53b5c(0x17d)](){const _0xb2adb5=_0xc53b5c;[[_0x428760[_0xb2adb5(0x170)]],[_0x2d553a[_0xb2adb5(0x2ad)],{'container':_0x3dd095,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2d553a[_0xb2adb5(0x218)],null]]}],[_0xedc498[_0xb2adb5(0x24f)]],[_0x51bbe3['UniverDrawingPlugin'],{'override':[[_0x51bbe3['IImageIoService'],null]]}],[_0x501d88['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x34b124['UniverDocsUIPlugin']],[_0x2c5ed4[_0xb2adb5(0x182)]],[_0x4312ea[_0xb2adb5(0x1a3)],{'notExecuteFormula':!0x0}],[_0x44ffac[_0xb2adb5(0x1e2)]],[_0x1a0396[_0xb2adb5(0x1ab)]],[_0x2e4dad[_0xb2adb5(0x25a)]],[_0x3a6ac9[_0xb2adb5(0x27f)]],[_0x47eb46[_0xb2adb5(0x2ae)]],[_0xb26acd[_0xb2adb5(0x2a9)]],[_0x3981f9['UniverSheetsConditionalFormattingPlugin']],[_0x55b145['UniverSheetsConditionalFormattingUIPlugin']],[_0x4fc741[_0xb2adb5(0x163)]],[_0x1384b3[_0xb2adb5(0x1d4)]],[_0x23732b[_0xb2adb5(0x215)]],[_0x350b1c[_0xb2adb5(0x1e0)]],[_0x5c8651[_0xb2adb5(0x153)]],[_0x15b9f5[_0xb2adb5(0x196)],{'notExecuteFormula':!0x0}],[_0x1f769d[_0xb2adb5(0x224)]],[_0x13190c['UniverSheetsDrawingPlugin']],[_0x409da3[_0xb2adb5(0x1fd)]],[_0x21a66c[_0xb2adb5(0x240)]],[_0x5ba28e[_0xb2adb5(0x199)]],[_0x553827[_0xb2adb5(0x1c0)]],[_0x4682bd[_0xb2adb5(0x27b)]],[_0x9209ea[_0xb2adb5(0x1b2)]],[_0x202b2b[_0xb2adb5(0x166)]],[_0x2dd7d2[_0xb2adb5(0x184)],{'notExecuteFormula':!0x0}],[_0xdb662c[_0xb2adb5(0x2a0)]]][_0xb2adb5(0x1b5)](([_0xb16828,_0x27e61b])=>this[_0xb2adb5(0x174)](_0xb16828,_0x27e61b));}[_0xc53b5c(0x178)](){const _0x5acb2b=_0xc53b5c;super[_0x5acb2b(0x178)](),this[_0x5acb2b(0x1b7)](),this[_0x5acb2b(0x23a)][_0x5acb2b(0x179)]();}[_0xc53b5c(0x174)](_0x5512a1,_0x3439ee,_0x492c88){const _0xc4f415=_0xc53b5c;if(this['_pluginMap'][_0xc4f415(0x2a5)](_0x5512a1['pluginName'])&&!_0x492c88)throw Error(_0xc4f415(0x1a6)+_0x5512a1[_0xc4f415(0x22e)]+_0xc4f415(0x20b));this[_0xc4f415(0x23a)]['set'](_0x5512a1[_0xc4f415(0x22e)],[_0x5512a1,_0x3439ee]);}['getAllPlugins'](){const _0x109846=_0xc53b5c;return Array[_0x109846(0x282)](this[_0x109846(0x23a)]['values']());}[_0xc53b5c(0x296)](_0x3b3eb0,_0x265bb4){const _0x1b7c36=_0xc53b5c;let _0x20e098=document[_0x1b7c36(0x1d0)](_0x3dd095);_0x20e098&&(_0x20e098[_0x1b7c36(0x1d5)][_0x1b7c36(0x19b)]='block',this[_0x1b7c36(0x288)](_0x3b3eb0,_0x3dd095,_0x265bb4));}[_0xc53b5c(0x1b7)](){const _0x2c382e=_0xc53b5c;var _0x75f8b0;this[_0x2c382e(0x15c)]['dispose'](),(_0x75f8b0=this[_0x2c382e(0x2b5)])==null||_0x75f8b0[_0x2c382e(0x178)](),this[_0x2c382e(0x177)][_0x2c382e(0x186)](null);let _0x22e5ab=document[_0x2c382e(0x1d0)](_0x3dd095);_0x22e5ab&&(_0x22e5ab[_0x2c382e(0x1d5)]['display']=_0x2c382e(0x267),this[_0x2c382e(0x270)]&&(this[_0x2c382e(0x270)]['terminate'](),this[_0x2c382e(0x270)]=null));}[_0xc53b5c(0x288)](_0x25bcbb,_0x2731c4,_0x28d1c8){const _0x1da40c=_0xc53b5c;var _0x447327,_0x491912,_0x5025a9,_0x513b33,_0x5efa3e;if(this['historyUniver'])return;let _0x2c171e=new _0x180e52[(_0x1da40c(0x2b8))]({'locales':{[this[_0x1da40c(0x161)]['getCurrentLocale']()]:this[_0x1da40c(0x161)]['getLocales']()},'override':[[_0x180e52['IAuthzIoService'],{'useClass':_0x4bc981[_0x1da40c(0x192)]}]]}),_0x551735=_0x2c171e[_0x1da40c(0x220)]();this[_0x1da40c(0x286)](this['_themeService'][_0x1da40c(0x1d6)]['subscribe'](_0x4fa3f5=>{const _0x2ffe9e=_0x1da40c;_0x551735[_0x2ffe9e(0x1bc)](_0x180e52[_0x2ffe9e(0x1dd)])[_0x2ffe9e(0x1ea)](_0x4fa3f5);})),this[_0x1da40c(0x286)](this['_themeService'][_0x1da40c(0x266)][_0x1da40c(0x259)](_0x832db6=>{const _0x229715=_0x1da40c;_0x551735[_0x229715(0x1bc)](_0x180e52[_0x229715(0x1dd)])[_0x229715(0x1ae)](_0x832db6);})),_0x551735[_0x1da40c(0x1bc)](_0x180e52['LocaleService'])[_0x1da40c(0x285)](this[_0x1da40c(0x161)][_0x1da40c(0x25e)]()),_0x551735['get'](_0x180e52[_0x1da40c(0x1bd)])[_0x1da40c(0x263)](_0x4bc981[_0x1da40c(0x176)],this[_0x1da40c(0x212)][_0x1da40c(0x251)](_0x4bc981[_0x1da40c(0x176)]));let _0x4d74ff=this[_0x1da40c(0x212)][_0x1da40c(0x251)](_0x4e23fa[_0x1da40c(0x2a4)]);_0x4d74ff&&_0x2c171e[_0x1da40c(0x174)](_0x4e23fa[_0x1da40c(0x22c)],{'license':_0x4d74ff['ls']});let _0x304c7b=(_0x447327=this['_configService']['getConfig'](_0x1da40c(0x1c5)))==null?void 0x0:_0x447327['workerURL'],_0x1bb228=!!_0x304c7b;_0x1bb228&&(this[_0x1da40c(0x270)]=_0x304c7b instanceof Worker?_0x304c7b:null,_0x2c171e[_0x1da40c(0x174)](_0x2879fc[_0x1da40c(0x1f7)],{'workerURL':_0x304c7b})),this[_0x1da40c(0x23a)][_0x1da40c(0x1b5)](([_0x2aa089,_0x109cf1])=>{_0x2c171e['registerPlugin'](_0x2aa089,_0x109cf1);}),_0x2c171e['registerPlugin'](_0x3352b4[_0x1da40c(0x291)],{'historyListServerUrl':(_0x491912=this[_0x1da40c(0x212)][_0x1da40c(0x251)](_0x1da40c(0x1c5)))==null?void 0x0:_0x491912['historyListServerUrl'],'historyPanelComponentKey':(_0x5025a9=this['_configService'][_0x1da40c(0x251)](_0x1da40c(0x1c5)))==null?void 0x0:_0x5025a9[_0x1da40c(0x2a8)],'historyPanelHidden':(_0x513b33=this[_0x1da40c(0x212)]['getConfig'](_0x1da40c(0x1c5)))==null?void 0x0:_0x513b33['historyPanelHidden'],'historyAIassistantEnabled':(_0x5efa3e=this[_0x1da40c(0x212)][_0x1da40c(0x251)](_0x1da40c(0x1c5)))==null?void 0x0:_0x5efa3e[_0x1da40c(0x2ab)]}),_0x551735[_0x1da40c(0x1f1)](_0xaeb08d=>{this['_initListener'](_0xaeb08d,_0x25bcbb);}),this['_historyUniver$'][_0x1da40c(0x186)](_0x2c171e);let _0x9aa8cc=_0x551735[_0x1da40c(0x1bc)](_0x3352b4['HistoryManagerService']),_0x3a7cce=this[_0x1da40c(0x208)](_0x25bcbb),_0x25aea0=()=>{const _0x361201=_0x1da40c;_0x28d1c8?_0x9aa8cc[_0x361201(0x1d1)](_0x25bcbb,_0x2731c4,_0x3a7cce,_0x28d1c8):_0x9aa8cc[_0x361201(0x181)](_0x25bcbb,_0x2731c4,_0x3a7cce);};if(this[_0x1da40c(0x1ce)][_0x1da40c(0x16d)]({'content':this['_localeService']['t'](_0x1da40c(0x265)),'type':_0x21c4b8[_0x1da40c(0x23f)][_0x1da40c(0x243)]}),_0x1bb228)try{_0x551735[_0x1da40c(0x1bc)](_0x2879fc[_0x1da40c(0x1b9)])['whenReady']()['then'](()=>{_0x25aea0();});}catch{_0x25aea0();}else _0x25aea0();}[_0xc53b5c(0x26c)](_0x158cda,_0x29f508){const _0x2b5560=_0xc53b5c;let _0x337652=_0x158cda[_0x2b5560(0x1bc)](_0x3352b4[_0x2b5560(0x189)]);this[_0x2b5560(0x15c)][_0x2b5560(0x20c)](_0x337652[_0x2b5560(0x1e1)][_0x2b5560(0x259)](_0x57425f=>{const _0x522259=_0x2b5560;switch(_0x57425f){case _0x3352b4['HistoryModeStatus'][_0x522259(0x1e5)]:this['_dialogService'][_0x522259(0x1d9)](),this[_0x522259(0x256)][_0x522259(0x24e)]();break;case _0x3352b4[_0x522259(0x25d)][_0x522259(0x230)]:this[_0x522259(0x23b)]['executeCommand'](_0x46d9bc['id']),this[_0x522259(0x1b7)]();break;case _0x3352b4[_0x522259(0x25d)][_0x522259(0x18f)]:this['unMountHistoryContent'](),this[_0x522259(0x1ce)][_0x522259(0x16d)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x21c4b8[_0x522259(0x23f)][_0x522259(0x18f)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x2b5560(0x20c)](_0x337652['revertRevision$']['subscribe'](async _0x1df5fd=>{const _0x2f9564=_0x2b5560;_0x1df5fd&&this[_0x2f9564(0x23b)][_0x2f9564(0x21a)](_0x3a6ac9['RevertRevisionMutation']['id'],{'unitId':_0x29f508,'revision':_0x1df5fd});}));}['_checkCanRevert'](_0xd1b92e){const _0x39bb28=_0xc53b5c;let _0x378c53=this[_0x39bb28(0x1c3)][_0x39bb28(0x29f)](_0xd1b92e)[_0x39bb28(0x298)]()[_0x39bb28(0x22a)](_0x5a67be=>_0x5a67be[_0x39bb28(0x2ac)]()),_0xd6f87f=new _0x4312ea[(_0x39bb28(0x23c))](_0xd1b92e)['id'],_0x348e94=_0x378c53['map'](_0x3afce4=>new _0x4312ea[(_0x39bb28(0x188))](_0xd1b92e,_0x3afce4)['id']),_0x2de5b0=_0x378c53[_0x39bb28(0x22a)](_0x3067b7=>this[_0x39bb28(0x213)][_0x39bb28(0x24b)](_0xd1b92e,_0x3067b7)[_0x39bb28(0x22a)](_0x1cf07c=>new _0x4312ea[(_0x39bb28(0x21c))](_0xd1b92e,_0x3067b7,_0x1cf07c[_0x39bb28(0x1c4)])['id']))[_0x39bb28(0x239)](),_0x516694=new _0x4312ea[(_0x39bb28(0x183))](_0xd1b92e)['id'];return this[_0x39bb28(0x255)][_0x39bb28(0x274)]([_0xd6f87f,..._0x348e94,..._0x2de5b0,_0x516694])[_0x39bb28(0x258)](_0x101342=>!!_0x101342[_0x39bb28(0x19f)]);}};_0x2e5a75=_0x13dd99([_0x5f10e5(0x0,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x180e52['LocaleService'])),_0x5f10e5(0x1,_0x180e52[_0xc53b5c(0x2a2)]),_0x5f10e5(0x2,_0x180e52[_0xc53b5c(0x1bd)]),_0x5f10e5(0x3,_0x180e52['ICommandService']),_0x5f10e5(0x4,_0x2d553a[_0xc53b5c(0x191)]),_0x5f10e5(0x5,_0x180e52['IPermissionService']),_0x5f10e5(0x6,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x4312ea[_0xc53b5c(0x1fe)])),_0x5f10e5(0x7,(0x0,_0x180e52['Inject'])(_0x2d553a[_0xc53b5c(0x218)])),_0x5f10e5(0x8,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x2d553a[_0xc53b5c(0x165)])),_0x5f10e5(0x9,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x180e52[_0xc53b5c(0x1dd)]))],_0x2e5a75);let _0x2e6e0e={'id':_0xc53b5c(0x22f),'type':_0x180e52['CommandType'][_0xc53b5c(0x20d)],'handler':_0xbaffa2=>{const _0x13378d=_0xc53b5c;let _0x1280a9=_0xbaffa2[_0x13378d(0x1bc)](_0x2e5a75),{unitId:_0x5e67d5}=(0x0,_0x4312ea[_0x13378d(0x1e7)])(_0xbaffa2[_0x13378d(0x1bc)](_0x180e52['IUniverInstanceService']))||{};return _0x5e67d5?(_0x1280a9[_0x13378d(0x296)](_0x5e67d5),!0x0):!0x1;}},_0x46d9bc={'id':_0xc53b5c(0x28d),'type':_0x180e52[_0xc53b5c(0x248)][_0xc53b5c(0x20d)],'handler':()=>!0x0};var _0x58ec6a=_0xc53b5c(0x19c),_0x33d019='0.23.0';function _0x3b3075({ref:_0x30bf9c,..._0x537ca8}){const _0x9f7794=_0xc53b5c;let {icon:_0x5b8cb4,id:_0x505c57,className:_0x4cd28c,extend:_0x3897ed,..._0x22f965}=_0x537ca8,_0x338655=(_0x9f7794(0x1c8)+_0x505c57+'\x20'+(_0x4cd28c||''))[_0x9f7794(0x260)](),_0x4ff518=(0x0,_0x132c25[_0x9f7794(0x16e)])('_'+_0x4b7a47());return _0x369a61(_0x5b8cb4,''+_0x505c57,{'defIds':_0x5b8cb4['defIds'],'idSuffix':_0x4ff518[_0x9f7794(0x155)]},{'ref':_0x30bf9c,'className':_0x338655,..._0x22f965},_0x3897ed);}function _0x369a61(_0x19776a,_0x5dcde5,_0x5b809e,_0x30ce15,_0x3acab6){const _0x2ecffd=_0xc53b5c;return(0x0,_0x132c25[_0x2ecffd(0x1eb)])(_0x19776a[_0x2ecffd(0x276)],{'key':_0x5dcde5,..._0x5edd6d(_0x19776a,_0x5b809e,_0x3acab6),..._0x30ce15},(_0x3dbd33(_0x19776a,_0x5b809e)[_0x2ecffd(0x27a)]||[])[_0x2ecffd(0x22a)]((_0x3aa2a2,_0x2ca472)=>_0x369a61(_0x3aa2a2,_0x5dcde5+'-'+_0x19776a[_0x2ecffd(0x276)]+'-'+_0x2ca472,_0x5b809e,void 0x0,_0x3acab6)));}function _0x5edd6d(_0x16d49d,_0x10da38,_0x508696){const _0x1deccc=_0xc53b5c;let _0x9d6ca={..._0x16d49d[_0x1deccc(0x1db)]};_0x508696!=null&&_0x508696[_0x1deccc(0x281)]&&_0x9d6ca[_0x1deccc(0x1f4)]===_0x1deccc(0x281)&&(_0x9d6ca[_0x1deccc(0x1f4)]=_0x508696[_0x1deccc(0x281)]),_0x16d49d[_0x1deccc(0x276)]===_0x1deccc(0x28b)&&_0x9d6ca['id']&&(_0x9d6ca['id']+=_0x10da38[_0x1deccc(0x167)]),Object[_0x1deccc(0x26f)](_0x9d6ca)['forEach'](([_0x58a88c,_0x46d1dc])=>{const _0x4f6b97=_0x1deccc;_0x58a88c===_0x4f6b97(0x28b)&&typeof _0x46d1dc=='string'&&(_0x9d6ca[_0x58a88c]=_0x46d1dc['replace'](/url\(#(.*)\)/,'url(#$1'+_0x10da38[_0x4f6b97(0x167)]+')'));});let {defIds:_0x548b08}=_0x10da38;return!_0x548b08||_0x548b08[_0x1deccc(0x25f)]===0x0?_0x9d6ca:(_0x16d49d[_0x1deccc(0x276)]===_0x1deccc(0x219)&&_0x9d6ca['xlink:href']&&(_0x9d6ca['xlink:href']+=_0x10da38[_0x1deccc(0x167)]),Object['entries'](_0x9d6ca)[_0x1deccc(0x1b5)](([_0x23700e,_0x5d9bc9])=>{const _0x480cfd=_0x1deccc;typeof _0x5d9bc9=='string'&&(_0x9d6ca[_0x23700e]=_0x5d9bc9[_0x480cfd(0x1da)](/url\(#(.*)\)/,_0x480cfd(0x16b)+_0x10da38[_0x480cfd(0x167)]+')'));}),_0x9d6ca);}function _0x3dbd33(_0x274354,_0x40e27c){const _0x14f607=_0xc53b5c;var _0xd5ac09;let {defIds:_0xebe6fe}=_0x40e27c;return!_0xebe6fe||_0xebe6fe[_0x14f607(0x25f)]===0x0?_0x274354:_0x274354['tag']===_0x14f607(0x287)&&(_0xd5ac09=_0x274354['children'])!=null&&_0xd5ac09['length']?{..._0x274354,'children':_0x274354[_0x14f607(0x27a)]['map'](_0x3ba209=>typeof _0x3ba209[_0x14f607(0x1db)]['id']==_0x14f607(0x29e)&&_0xebe6fe&&_0xebe6fe['includes'](_0x3ba209[_0x14f607(0x1db)]['id'])?{..._0x3ba209,'attrs':{..._0x3ba209[_0x14f607(0x1db)],'id':_0x3ba209[_0x14f607(0x1db)]['id']+_0x40e27c[_0x14f607(0x167)]}}:_0x3ba209)}:_0x274354;}function _0x4b7a47(){const _0x5e9184=_0xc53b5c;return Math[_0x5e9184(0x217)]()[_0x5e9184(0x1ad)](0x24)[_0x5e9184(0x269)](0x2,0x8);}_0x3b3075[_0xc53b5c(0x25b)]=_0xc53b5c(0x228);let _0x30eb9f={'tag':_0xc53b5c(0x210),'attrs':{'xmlns':_0xc53b5c(0x1fc),'fill':'none','viewBox':_0xc53b5c(0x226),'width':'1em','height':_0xc53b5c(0x27e)},'children':[{'tag':'g','attrs':{'fill':_0xc53b5c(0x1be),'clipPath':_0xc53b5c(0x28c)},'children':[{'tag':_0xc53b5c(0x15d),'attrs':{'d':_0xc53b5c(0x278)}},{'tag':_0xc53b5c(0x15d),'attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':_0xc53b5c(0x287),'attrs':{},'children':[{'tag':_0xc53b5c(0x162),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0xc53b5c(0x15d),'attrs':{'fill':_0xc53b5c(0x24a),'d':_0xc53b5c(0x1a9)}}]}]}],'defIds':[_0xc53b5c(0x1a5)]},_0x3dbc2b=(0x0,_0x132c25[_0xc53b5c(0x29a)])(function(_0x309f51,_0x4d2b88){const _0x389527=_0xc53b5c;return(0x0,_0x132c25[_0x389527(0x1eb)])(_0x3b3075,Object[_0x389527(0x1ba)]({},_0x309f51,{'id':_0x389527(0x1e6),'ref':_0x4d2b88,'icon':_0x30eb9f}));});_0x3dbc2b[_0xc53b5c(0x25b)]='HistoryIcon';function _0x138a0d(_0x442af0){const _0x56b085=_0xc53b5c;return{'id':_0x2e6e0e['id'],'type':_0x2d553a[_0x56b085(0x280)][_0x56b085(0x17b)],'icon':_0x56b085(0x245),'tooltip':_0x56b085(0x201),'hidden$':(0x0,_0x2d553a[_0x56b085(0x175)])(_0x442af0,_0x180e52['UniverInstanceType']['UNIVER_SHEET']),'disabled$':(0x0,_0x44ffac[_0x56b085(0x1e4)])(_0x442af0,{'workbookTypes':[_0x4312ea[_0x56b085(0x205)]],'worksheetTypes':[],'rangeTypes':[]})};}let _0x4345d5={[_0x2d553a[_0xc53b5c(0x1ed)]['OTHERS']]:{[_0x2e6e0e['id']]:{'order':0.2,'menuItemFactory':_0x138a0d}}},_0x59dd35=class extends _0x180e52['RxDisposable']{constructor(_0x5f1703,_0x5961ea,_0x1f8bdb,_0x21cf65,_0x550542,_0x322694,_0x34de45,_0x5f28ff,_0x250867,_0x2e203b,_0x3c0f1c){const _0x1c34b8=_0xc53b5c;super(),this[_0x1c34b8(0x23b)]=_0x5f1703,this[_0x1c34b8(0x159)]=_0x5961ea,this['_componentManager']=_0x1f8bdb,this['_historyManagerService']=_0x21cf65,this[_0x1c34b8(0x161)]=_0x550542,this[_0x1c34b8(0x1ce)]=_0x322694,this[_0x1c34b8(0x26d)]=_0x34de45,this['_localCacheService']=_0x5f28ff,this[_0x1c34b8(0x1a7)]=_0x250867,this[_0x1c34b8(0x1c3)]=_0x2e203b,this[_0x1c34b8(0x1b4)]=_0x3c0f1c,_0x4b7861(this,'_revertErrorTimer',null),this[_0x1c34b8(0x193)]();}['_init'](){const _0x3b3f0e=_0xc53b5c;[_0x2e6e0e,_0x46d9bc][_0x3b3f0e(0x1b5)](_0x4ac5f5=>this[_0x3b3f0e(0x286)]((0x0,_0x180e52['toDisposable'])(this[_0x3b3f0e(0x23b)][_0x3b3f0e(0x1b0)](_0x4ac5f5)))),this['disposeWithMe'](this['_componentManager'][_0x3b3f0e(0x238)](_0x3b3f0e(0x245),_0x3dbc2b)),this[_0x3b3f0e(0x159)][_0x3b3f0e(0x1de)](_0x4345d5),this[_0x3b3f0e(0x286)](this[_0x3b3f0e(0x23b)][_0x3b3f0e(0x1bf)](async(_0x2dbe50,_0x39e44e)=>{const _0x36c9a5=_0x3b3f0e;if(_0x2dbe50['id']===_0x3a6ac9[_0x36c9a5(0x290)]['id']){let {unitId:_0x299991}=_0x2dbe50[_0x36c9a5(0x1b1)];this[_0x36c9a5(0x1ce)][_0x36c9a5(0x16d)]({'content':this[_0x36c9a5(0x161)]['t']('editHistory.panel.reverting'),'type':_0x21c4b8['MessageType'][_0x36c9a5(0x243)],'duration':0x1388});let _0x4011a1=this['_collaborationController'][_0x36c9a5(0x1df)](_0x299991);_0x39e44e!=null&&_0x39e44e[_0x36c9a5(0x257)]?this[_0x36c9a5(0x1e3)](_0x4011a1,async()=>(setTimeout(()=>window[_0x36c9a5(0x27d)][_0x36c9a5(0x180)]()),!0x0),!0x0):this[_0x36c9a5(0x1e3)](_0x4011a1,async()=>{const _0x2308b0=_0x36c9a5;let _0x848c56=this[_0x2308b0(0x1c3)]['getCurrentUnitOfType'](_0x180e52['UniverInstanceType'][_0x2308b0(0x1a2)]),_0x116ad1=_0x848c56==null?void 0x0:_0x848c56[_0x2308b0(0x17a)]();if(!_0x116ad1)return!0x1;this[_0x2308b0(0x1c3)][_0x2308b0(0x1ff)](_0x299991);let _0x7cfda8=await this['_dataLoaderService'][_0x2308b0(0x185)](_0x299991,_0x180e52[_0x2308b0(0x25c)]['UNIVER_SHEET']);return _0x7cfda8&&_0x7cfda8 instanceof _0x180e52['Workbook']?(await this[_0x2308b0(0x1d7)](_0x7cfda8,_0x116ad1['getSheetId']()),!0x0):!0x1;});}}));}[_0xc53b5c(0x1e3)](_0x2a3fef,_0x421109,_0x1167a4=!0x1){const _0x1e4c90=_0xc53b5c;let _0x1ff42d=(0x0,_0x58a366[_0x1e4c90(0x211)])([_0x2a3fef['session'][_0x1e4c90(0x1f3)],_0x2a3fef['state$']])[_0x1e4c90(0x259)](async([_0xb4a0ac,_0x36f0cc])=>{const _0x40fcc4=_0x1e4c90;if(_0xb4a0ac['eventID']===_0x3a6ac9[_0x40fcc4(0x160)][_0x40fcc4(0x275)]&&(_0x36f0cc==null?void 0x0:_0x36f0cc[_0x40fcc4(0x216)])===_0x4bc981[_0x40fcc4(0x1e9)][_0x40fcc4(0x19e)]&&_0xb4a0ac[_0x40fcc4(0x254)][_0x40fcc4(0x235)][_0x40fcc4(0x2a3)](_0x5ea7d8=>_0x5ea7d8['id']===_0x3a6ac9[_0x40fcc4(0x290)]['id'])&&await _0x421109()){var _0x39fe75;this[_0x40fcc4(0x2af)][_0x40fcc4(0x1b7)](),_0x1ff42d[_0x40fcc4(0x237)](),this[_0x40fcc4(0x2aa)]&&clearTimeout(this['_revertErrorTimer']),await((_0x39fe75=this[_0x40fcc4(0x17c)])==null?void 0x0:_0x39fe75['exhaustSavingTask']()),this[_0x40fcc4(0x1ce)][_0x40fcc4(0x27c)]();}});_0x1167a4&&(this['_revertErrorTimer']=setTimeout(()=>{const _0x16bafb=_0x1e4c90;_0x1ff42d['unsubscribe'](),this[_0x16bafb(0x1ce)][_0x16bafb(0x16d)]({'content':this[_0x16bafb(0x161)]['t'](_0x16bafb(0x23e)),'type':_0x21c4b8[_0x16bafb(0x23f)][_0x16bafb(0x18f)],'duration':0xbb8});},0x1388));}async[_0xc53b5c(0x1d7)](_0xfc3b49,_0x2c837f){const _0x52ad93=_0xc53b5c;await this[_0x52ad93(0x1ef)](_0xfc3b49,_0x2c837f),_0xfc3b49[_0x52ad93(0x241)][_0x52ad93(0x289)]((0x0,_0x58a366['takeUntil'])(this['dispose$']))[_0x52ad93(0x259)](_0x45b403=>{_0x45b403&&this['_updateURLWithCurrentState'](_0x45b403);}),this[_0x52ad93(0x1b4)][_0x52ad93(0x246)][_0x52ad93(0x289)]((0x0,_0x58a366[_0x52ad93(0x21e)])(this[_0x52ad93(0x223)]))[_0x52ad93(0x259)](()=>this[_0x52ad93(0x1ef)](_0xfc3b49,_0x2c837f));}[_0xc53b5c(0x1cc)](_0x4e4cbd,_0x54243a=!0x1){const _0x242ea8=_0xc53b5c;let _0x593776=this['_urlService'][_0x242ea8(0x261)]('subunit');_0x4e4cbd[_0x242ea8(0x2ac)]()!==_0x593776&&this[_0x242ea8(0x1b4)]['setParam'](_0x242ea8(0x2b4),_0x4e4cbd[_0x242ea8(0x2ac)](),_0x54243a);}async[_0xc53b5c(0x1ef)](_0x68c06f,_0x435d42){const _0x5d06a4=_0xc53b5c;var _0x422eea;if(!_0x435d42||!_0x68c06f['getSheetBySheetId'](_0x435d42)){let _0x537349=_0x68c06f[_0x5d06a4(0x21b)]()[0x0],_0x5dbfbd=_0x68c06f[_0x5d06a4(0x1cf)](_0x537349);if(!_0x5dbfbd)return;this[_0x5d06a4(0x1cc)](_0x5dbfbd,!0x0),await this[_0x5d06a4(0x23b)][_0x5d06a4(0x21a)](_0x4312ea[_0x5d06a4(0x29c)]['id'],{'unitId':_0x68c06f['getUnitId'](),'subUnitId':_0x537349});return;}((_0x422eea=_0x68c06f[_0x5d06a4(0x17a)]())==null?void 0x0:_0x422eea[_0x5d06a4(0x2ac)]())!==_0x435d42&&await this[_0x5d06a4(0x23b)][_0x5d06a4(0x21a)](_0x4312ea['SetWorksheetActivateCommand']['id'],{'unitId':_0x68c06f['getUnitId'](),'subUnitId':_0x435d42});}};_0x59dd35=_0x13dd99([_0x5f10e5(0x0,_0x180e52[_0xc53b5c(0x1cd)]),_0x5f10e5(0x1,_0x2d553a['IMenuManagerService']),_0x5f10e5(0x2,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x2d553a['ComponentManager'])),_0x5f10e5(0x3,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x2e5a75)),_0x5f10e5(0x4,(0x0,_0x180e52['Inject'])(_0x180e52[_0xc53b5c(0x16c)])),_0x5f10e5(0x5,_0x2d553a[_0xc53b5c(0x191)]),_0x5f10e5(0x6,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x4bc981[_0xc53b5c(0x1ac)])),_0x5f10e5(0x7,_0x4bc981['ILocalCacheService']),_0x5f10e5(0x8,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x4bc981[_0xc53b5c(0x1f6)])),_0x5f10e5(0x9,_0x180e52[_0xc53b5c(0x2a2)]),_0x5f10e5(0xa,_0x4fdfa1[_0xc53b5c(0x1ec)])],_0x59dd35);let _0x304d62=_0xc53b5c(0x21f),_0xbbdb2e=class extends _0x180e52[_0xc53b5c(0x1b6)]{constructor(_0x35e7c6,_0x1c8656,_0x48398b,_0x36ad4b,_0x30f7e4,_0x827caa,_0x4383ee,_0x340734,_0x454013,_0x338f96){const _0x230dd9=_0xc53b5c;super(),this[_0x230dd9(0x161)]=_0x35e7c6,this['_univerInstanceService']=_0x1c8656,this['_configService']=_0x48398b,this[_0x230dd9(0x23b)]=_0x36ad4b,this[_0x230dd9(0x1ce)]=_0x30f7e4,this[_0x230dd9(0x255)]=_0x827caa,this['_selectionProtectionRuleModel']=_0x4383ee,this[_0x230dd9(0x18e)]=_0x340734,this[_0x230dd9(0x256)]=_0x454013,this[_0x230dd9(0x1af)]=_0x338f96,_0x4b7861(this,'_historyUniver$',new _0x58a366[(_0x230dd9(0x252))](null)),_0x4b7861(this,_0x230dd9(0x17e),this['_historyUniver$'][_0x230dd9(0x26e)]()),_0x4b7861(this,'_disposableCollection',new _0x180e52[(_0x230dd9(0x206))]()),_0x4b7861(this,_0x230dd9(0x23a),new Map()),_0x4b7861(this,'_internalWebWorker',null),this[_0x230dd9(0x193)]();}get['historyUniver'](){const _0x4a3aff=_0xc53b5c;return this[_0x4a3aff(0x177)][_0x4a3aff(0x19f)];}[_0xc53b5c(0x193)](){const _0x242a06=_0xc53b5c;this[_0x242a06(0x15b)](),this[_0x242a06(0x17d)]();}[_0xc53b5c(0x15b)](){const _0x2a2d96=_0xc53b5c;var _0x36aa7d;let _0x5ee25f=(_0x36aa7d=this[_0x2a2d96(0x212)][_0x2a2d96(0x251)](_0x2a2d96(0x1d2)))==null?_0x2a2d96(0x1f5):_0x36aa7d,_0x25f1b4=document[_0x2a2d96(0x1d0)](_0x5ee25f);if(!_0x25f1b4)return;let _0x6f99b3=document['createElement'](_0x2a2d96(0x299));_0x6f99b3['id']=_0x304d62,_0x6f99b3[_0x2a2d96(0x294)][_0x2a2d96(0x16a)]=_0x2a2d96(0x2a7),_0x6f99b3[_0x2a2d96(0x1d5)][_0x2a2d96(0x28e)]='absolute',_0x6f99b3[_0x2a2d96(0x1d5)][_0x2a2d96(0x1bb)]='0',_0x6f99b3['style'][_0x2a2d96(0x26a)]='0',_0x6f99b3[_0x2a2d96(0x1d5)]['width']=_0x2a2d96(0x197),_0x6f99b3[_0x2a2d96(0x1d5)][_0x2a2d96(0x209)]=_0x2a2d96(0x197),_0x6f99b3['style'][_0x2a2d96(0x1dc)]='49',_0x6f99b3[_0x2a2d96(0x1d5)][_0x2a2d96(0x19b)]=_0x2a2d96(0x267),_0x25f1b4['appendChild'](_0x6f99b3);}[_0xc53b5c(0x17d)](){const _0x1fda22=_0xc53b5c;[[_0x428760[_0x1fda22(0x170)]],[_0x2d553a['UniverMobileUIPlugin'],{'container':_0x304d62,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2d553a[_0x1fda22(0x218)],null]]}],[_0xedc498[_0x1fda22(0x24f)]],[_0x51bbe3[_0x1fda22(0x1aa)],{'override':[[_0x51bbe3['IImageIoService'],null]]}],[_0x501d88[_0x1fda22(0x26b)],{'hasScroll':!0x1}],[_0x34b124[_0x1fda22(0x2b1)]],[_0x2c5ed4[_0x1fda22(0x182)]],[_0x4312ea[_0x1fda22(0x1a3)],{'notExecuteFormula':!0x0}],[_0x44ffac[_0x1fda22(0x169)]],[_0x1a0396[_0x1fda22(0x1ab)]],[_0x2e4dad['UniverSheetsFormulaUIPlugin']],[_0x3a6ac9[_0x1fda22(0x27f)]],[_0x47eb46[_0x1fda22(0x2ae)]],[_0x3981f9[_0x1fda22(0x272)]],[_0x4fc741[_0x1fda22(0x163)]],[_0x1384b3[_0x1fda22(0x1d4)]],[_0x23732b[_0x1fda22(0x215)]],[_0x350b1c[_0x1fda22(0x1e0)]],[_0x5c8651['UniverSheetsDataValidationMobileUIPlugin']],[_0x15b9f5[_0x1fda22(0x196)],{'notExecuteFormula':!0x0}],[_0x1f769d[_0x1fda22(0x224)]],[_0x13190c['UniverSheetsDrawingPlugin']],[_0x409da3[_0x1fda22(0x1fd)]],[_0x21a66c[_0x1fda22(0x240)]],[_0x5ba28e['UniverSheetSparklineUIPlugin']],[_0x553827['UniverSheetsChartPlugin']],[_0x4682bd['UniverSheetsChartUIPlugin']],[_0x9209ea[_0x1fda22(0x1b2)]],[_0x202b2b[_0x1fda22(0x166)]],[_0x2dd7d2[_0x1fda22(0x184)],{'notExecuteFormula':!0x0}],[_0xdb662c[_0x1fda22(0x2a0)]]][_0x1fda22(0x1b5)](([_0x40b2c0,_0x150128])=>this[_0x1fda22(0x174)](_0x40b2c0,_0x150128));}[_0xc53b5c(0x178)](){const _0x5f4565=_0xc53b5c;super['dispose'](),this[_0x5f4565(0x1b7)](),this[_0x5f4565(0x23a)][_0x5f4565(0x179)]();}[_0xc53b5c(0x174)](_0x149e90,_0x4e9c98,_0x359d80){const _0x160215=_0xc53b5c;if(this[_0x160215(0x23a)]['has'](_0x149e90[_0x160215(0x22e)])&&!_0x359d80)throw Error('[MobileHistoryLoaderService]:\x20Plugin\x20'+_0x149e90['pluginName']+'\x20has\x20been\x20registered.');this[_0x160215(0x23a)][_0x160215(0x15a)](_0x149e90[_0x160215(0x22e)],[_0x149e90,_0x4e9c98]);}[_0xc53b5c(0x24d)](){const _0x1512c8=_0xc53b5c;return Array[_0x1512c8(0x282)](this['_pluginMap'][_0x1512c8(0x173)]());}[_0xc53b5c(0x296)](_0x75bb45,_0x2b7fb8){const _0x2cad8a=_0xc53b5c;let _0x1a8064=document['getElementById'](_0x304d62);_0x1a8064&&(_0x1a8064[_0x2cad8a(0x1d5)][_0x2cad8a(0x19b)]='block',this['_initUniver'](_0x75bb45,_0x304d62,_0x2b7fb8));}[_0xc53b5c(0x1b7)](){const _0x22f97f=_0xc53b5c;var _0x4b3bc6;this[_0x22f97f(0x15c)][_0x22f97f(0x178)](),(_0x4b3bc6=this['historyUniver'])==null||_0x4b3bc6[_0x22f97f(0x178)](),this[_0x22f97f(0x177)][_0x22f97f(0x186)](null);let _0x4a9b34=document[_0x22f97f(0x1d0)](_0x304d62);_0x4a9b34&&(_0x4a9b34[_0x22f97f(0x1d5)][_0x22f97f(0x19b)]=_0x22f97f(0x267),this[_0x22f97f(0x270)]&&(this[_0x22f97f(0x270)][_0x22f97f(0x1a4)](),this[_0x22f97f(0x270)]=null));}['_initUniver'](_0x3261cc,_0xd11bb9,_0x1abc3e){const _0x38a6dc=_0xc53b5c;var _0x51025d,_0x25070e,_0x35817e,_0xbe9df;if(this[_0x38a6dc(0x2b5)])return;let _0x3218dc=new _0x180e52['Univer']({'locales':{[this[_0x38a6dc(0x161)][_0x38a6dc(0x25e)]()]:this['_localeService']['getLocales']()},'override':[[_0x180e52['IAuthzIoService'],{'useClass':_0x4bc981[_0x38a6dc(0x192)]}]]}),_0x51ea42=_0x3218dc[_0x38a6dc(0x220)]();this[_0x38a6dc(0x286)](this[_0x38a6dc(0x1af)][_0x38a6dc(0x1d6)][_0x38a6dc(0x259)](_0x295553=>{const _0x1b8deb=_0x38a6dc;_0x51ea42['get'](_0x180e52['ThemeService'])[_0x1b8deb(0x1ea)](_0x295553);})),this[_0x38a6dc(0x286)](this[_0x38a6dc(0x1af)][_0x38a6dc(0x266)][_0x38a6dc(0x259)](_0x36d971=>{const _0x4d8c10=_0x38a6dc;_0x51ea42[_0x4d8c10(0x1bc)](_0x180e52[_0x4d8c10(0x1dd)])[_0x4d8c10(0x1ae)](_0x36d971);})),_0x51ea42['get'](_0x180e52[_0x38a6dc(0x16c)])[_0x38a6dc(0x285)](this[_0x38a6dc(0x161)][_0x38a6dc(0x25e)]()),_0x51ea42[_0x38a6dc(0x1bc)](_0x180e52[_0x38a6dc(0x1bd)])[_0x38a6dc(0x263)](_0x4bc981[_0x38a6dc(0x176)],this[_0x38a6dc(0x212)][_0x38a6dc(0x251)](_0x4bc981[_0x38a6dc(0x176)]));let _0x2d82ca=this[_0x38a6dc(0x212)]['getConfig'](_0x4e23fa[_0x38a6dc(0x2a4)]);_0x2d82ca&&_0x3218dc[_0x38a6dc(0x174)](_0x4e23fa[_0x38a6dc(0x22c)],{'license':_0x2d82ca['ls']});let _0x5bb046=(_0x51025d=this[_0x38a6dc(0x212)][_0x38a6dc(0x251)](_0x38a6dc(0x1c5)))==null?void 0x0:_0x51025d['workerURL'],_0x32259f=!!_0x5bb046;_0x32259f&&(this[_0x38a6dc(0x270)]=_0x5bb046 instanceof Worker?_0x5bb046:null,_0x3218dc[_0x38a6dc(0x174)](_0x2879fc['UniverRPCMainThreadPlugin'],{'workerURL':_0x5bb046})),this['_pluginMap'][_0x38a6dc(0x1b5)](([_0x39cea7,_0x3dd6e0])=>{const _0x26a287=_0x38a6dc;_0x3218dc[_0x26a287(0x174)](_0x39cea7,_0x3dd6e0);}),_0x3218dc[_0x38a6dc(0x174)](_0x3352b4[_0x38a6dc(0x187)],{'historyListServerUrl':(_0x25070e=this[_0x38a6dc(0x212)]['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x25070e[_0x38a6dc(0x1ee)],'historyPanelComponentKey':(_0x35817e=this[_0x38a6dc(0x212)]['getConfig'](_0x38a6dc(0x1c5)))==null?void 0x0:_0x35817e[_0x38a6dc(0x2a8)],'historyPanelHidden':(_0xbe9df=this[_0x38a6dc(0x212)][_0x38a6dc(0x251)](_0x38a6dc(0x1c5)))==null?void 0x0:_0xbe9df['historyPanelHidden']}),_0x51ea42[_0x38a6dc(0x1f1)](_0x5bec70=>{const _0x1b0be5=_0x38a6dc;this[_0x1b0be5(0x26c)](_0x5bec70,_0x3261cc);}),this[_0x38a6dc(0x177)]['next'](_0x3218dc);let _0x5d567e=_0x51ea42['get'](_0x3352b4[_0x38a6dc(0x189)]),_0x147738=this['_checkCanRevert'](_0x3261cc),_0x2f8180=()=>{const _0xef967c=_0x38a6dc;_0x1abc3e?_0x5d567e[_0xef967c(0x1d1)](_0x3261cc,_0xd11bb9,_0x147738,_0x1abc3e):_0x5d567e[_0xef967c(0x181)](_0x3261cc,_0xd11bb9,_0x147738);};if(this[_0x38a6dc(0x1ce)][_0x38a6dc(0x16d)]({'content':this[_0x38a6dc(0x161)]['t'](_0x38a6dc(0x265)),'type':_0x21c4b8[_0x38a6dc(0x23f)]['Loading']}),_0x32259f)try{_0x51ea42[_0x38a6dc(0x1bc)](_0x2879fc[_0x38a6dc(0x1b9)])[_0x38a6dc(0x2a1)]()[_0x38a6dc(0x20e)](()=>{_0x2f8180();});}catch{_0x2f8180();}else _0x2f8180();}['_initListener'](_0x7b9453,_0x2d81f4){const _0x58d19c=_0xc53b5c;let _0x174501=_0x7b9453[_0x58d19c(0x1bc)](_0x3352b4[_0x58d19c(0x189)]);this['_disposableCollection'][_0x58d19c(0x20c)](_0x174501[_0x58d19c(0x1e1)][_0x58d19c(0x259)](_0x2d15d4=>{const _0x34dd89=_0x58d19c;switch(_0x2d15d4){case _0x3352b4[_0x34dd89(0x25d)][_0x34dd89(0x1e5)]:this[_0x34dd89(0x18e)][_0x34dd89(0x1d9)](),this[_0x34dd89(0x256)][_0x34dd89(0x24e)]();break;case _0x3352b4[_0x34dd89(0x25d)]['Exited']:this[_0x34dd89(0x23b)][_0x34dd89(0x21a)](_0x46d9bc['id']),this[_0x34dd89(0x1b7)]();break;case _0x3352b4[_0x34dd89(0x25d)][_0x34dd89(0x18f)]:this[_0x34dd89(0x1b7)](),this[_0x34dd89(0x1ce)][_0x34dd89(0x16d)]({'content':this['_localeService']['t'](_0x34dd89(0x227)),'type':_0x21c4b8[_0x34dd89(0x23f)]['Error'],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x58d19c(0x20c)](_0x174501[_0x58d19c(0x168)]['subscribe'](async _0xf8e3da=>{const _0x444f01=_0x58d19c;_0xf8e3da&&this[_0x444f01(0x23b)]['executeCommand'](_0x3a6ac9[_0x444f01(0x290)]['id'],{'unitId':_0x2d81f4,'revision':_0xf8e3da});}));}[_0xc53b5c(0x208)](_0x1e7c43){const _0x5722cd=_0xc53b5c;let _0x34cd12=this['_univerInstanceService'][_0x5722cd(0x29f)](_0x1e7c43)[_0x5722cd(0x298)]()[_0x5722cd(0x22a)](_0x512c1c=>_0x512c1c['getSheetId']()),_0x41fcf3=new _0x4312ea[(_0x5722cd(0x23c))](_0x1e7c43)['id'],_0x4b9902=_0x34cd12[_0x5722cd(0x22a)](_0x3c2dfe=>new _0x4312ea[(_0x5722cd(0x188))](_0x1e7c43,_0x3c2dfe)['id']),_0x5c5e6c=_0x34cd12[_0x5722cd(0x22a)](_0xc664fa=>this[_0x5722cd(0x213)][_0x5722cd(0x24b)](_0x1e7c43,_0xc664fa)[_0x5722cd(0x22a)](_0x1af84b=>new _0x4312ea[(_0x5722cd(0x21c))](_0x1e7c43,_0xc664fa,_0x1af84b[_0x5722cd(0x1c4)])['id']))[_0x5722cd(0x239)](),_0x2d42da=new _0x4312ea['WorkbookRecoverHistoryPermission'](_0x1e7c43)['id'];return this[_0x5722cd(0x255)][_0x5722cd(0x274)]([_0x41fcf3,..._0x4b9902,..._0x5c5e6c,_0x2d42da])[_0x5722cd(0x258)](_0x21dd45=>!!_0x21dd45['value']);}};_0xbbdb2e=_0x13dd99([_0x5f10e5(0x0,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x180e52[_0xc53b5c(0x16c)])),_0x5f10e5(0x1,_0x180e52[_0xc53b5c(0x2a2)]),_0x5f10e5(0x2,_0x180e52[_0xc53b5c(0x1bd)]),_0x5f10e5(0x3,_0x180e52[_0xc53b5c(0x1cd)]),_0x5f10e5(0x4,_0x2d553a[_0xc53b5c(0x191)]),_0x5f10e5(0x5,_0x180e52['IPermissionService']),_0x5f10e5(0x6,(0x0,_0x180e52['Inject'])(_0x4312ea[_0xc53b5c(0x1fe)])),_0x5f10e5(0x7,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x2d553a[_0xc53b5c(0x218)])),_0x5f10e5(0x8,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x2d553a[_0xc53b5c(0x165)])),_0x5f10e5(0x9,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x180e52[_0xc53b5c(0x1dd)]))],_0xbbdb2e);let _0x49f97a=class extends _0x180e52['Plugin']{constructor(_0x418e4d=_0x54a957,_0x40a81a,_0x4e7cff){const _0x3e57a0=_0xc53b5c;super(),this[_0x3e57a0(0x283)]=_0x418e4d,this[_0x3e57a0(0x203)]=_0x40a81a,this[_0x3e57a0(0x212)]=_0x4e7cff;let {menu:_0x35da60,..._0x2dbdbc}=(0x0,_0x180e52[_0x3e57a0(0x273)])({},_0x54a957,this[_0x3e57a0(0x283)]);_0x35da60&&this[_0x3e57a0(0x212)][_0x3e57a0(0x263)]('menu',_0x35da60,{'merge':!0x0}),this[_0x3e57a0(0x212)]['setConfig'](_0x8ece11,_0x2dbdbc),this['_config'][_0x3e57a0(0x1a0)]&&this[_0x3e57a0(0x212)]['setConfig'](_0x3e57a0(0x1d2),this[_0x3e57a0(0x283)][_0x3e57a0(0x1a0)]);}[_0xc53b5c(0x1f8)](){const _0x504ded=_0xc53b5c;[[_0x2e5a75,{'useClass':_0xbbdb2e}],[_0x59dd35]][_0x504ded(0x1b5)](_0x2a56cb=>this[_0x504ded(0x203)][_0x504ded(0x20c)](_0x2a56cb));}[_0xc53b5c(0x1b3)](){const _0x689534=_0xc53b5c;this[_0x689534(0x203)][_0x689534(0x1bc)](_0x59dd35);}};_0x4b7861(_0x49f97a,_0xc53b5c(0x1d8),_0x180e52[_0xc53b5c(0x25c)][_0xc53b5c(0x21d)]),_0x4b7861(_0x49f97a,_0xc53b5c(0x22e),_0xc53b5c(0x295)),_0x4b7861(_0x49f97a,_0xc53b5c(0x232),_0x58ec6a),_0x4b7861(_0x49f97a,_0xc53b5c(0x262),_0x33d019),_0x49f97a=_0x13dd99([(0x0,_0x180e52[_0xc53b5c(0x1fb)])(_0x4e23fa[_0xc53b5c(0x22c)]),_0x5f10e5(0x1,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x180e52[_0xc53b5c(0x194)])),_0x5f10e5(0x2,_0x180e52[_0xc53b5c(0x1bd)])],_0x49f97a);let _0x193546=class extends _0x180e52[_0xc53b5c(0x236)]{constructor(_0x89af7,_0x439203,_0x585099,_0x9f56e,_0x34cd1e,_0x324d7d,_0x559373,_0x1cff14,_0x202574,_0x4bb7be,_0x1cf941){const _0x642d20=_0xc53b5c;super(),this[_0x642d20(0x23b)]=_0x89af7,this['_menuManagerService']=_0x439203,this[_0x642d20(0x271)]=_0x585099,this[_0x642d20(0x2af)]=_0x9f56e,this[_0x642d20(0x161)]=_0x34cd1e,this[_0x642d20(0x1ce)]=_0x324d7d,this[_0x642d20(0x26d)]=_0x559373,this['_localCacheService']=_0x1cff14,this['_dataLoaderService']=_0x202574,this['_univerInstanceService']=_0x4bb7be,this[_0x642d20(0x1b4)]=_0x1cf941,_0x4b7861(this,_0x642d20(0x2aa),null),this[_0x642d20(0x193)]();}[_0xc53b5c(0x193)](){const _0x116200=_0xc53b5c;[_0x2e6e0e,_0x46d9bc][_0x116200(0x1b5)](_0x243ad1=>this[_0x116200(0x286)]((0x0,_0x180e52['toDisposable'])(this['_commandService'][_0x116200(0x1b0)](_0x243ad1)))),this[_0x116200(0x286)](this[_0x116200(0x271)][_0x116200(0x238)]('HistoryIcon',_0x3dbc2b)),this[_0x116200(0x159)]['mergeMenu'](_0x4345d5),this[_0x116200(0x286)](this[_0x116200(0x23b)][_0x116200(0x1bf)](async(_0x4d1077,_0x54617b)=>{const _0x176ef8=_0x116200;if(_0x4d1077['id']===_0x3a6ac9[_0x176ef8(0x290)]['id']){let {unitId:_0x37d7b2}=_0x4d1077[_0x176ef8(0x1b1)];this['_messageService'][_0x176ef8(0x16d)]({'content':this[_0x176ef8(0x161)]['t']('editHistory.panel.reverting'),'type':_0x21c4b8[_0x176ef8(0x23f)][_0x176ef8(0x243)],'duration':0x1388});let _0x57c140=this['_collaborationController']['getCollabEntity'](_0x37d7b2);_0x54617b!=null&&_0x54617b[_0x176ef8(0x257)]?this[_0x176ef8(0x1e3)](_0x57c140,async()=>(setTimeout(()=>window['location'][_0x176ef8(0x180)]()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x57c140,async()=>{const _0x3e005d=_0x176ef8;let _0x2f3918=this['_univerInstanceService'][_0x3e005d(0x1c1)](_0x180e52[_0x3e005d(0x25c)]['UNIVER_SHEET']),_0x3f6f8a=_0x2f3918==null?void 0x0:_0x2f3918['getActiveSheet']();if(!_0x3f6f8a)return!0x1;this[_0x3e005d(0x1c3)][_0x3e005d(0x1ff)](_0x37d7b2);let _0x8a8a6e=await this[_0x3e005d(0x1a7)][_0x3e005d(0x185)](_0x37d7b2,_0x180e52[_0x3e005d(0x25c)][_0x3e005d(0x1a2)]);return _0x8a8a6e&&_0x8a8a6e instanceof _0x180e52[_0x3e005d(0x2b6)]?(await this['_setupSubUnitSync'](_0x8a8a6e,_0x3f6f8a[_0x3e005d(0x2ac)]()),!0x0):!0x1;});}}));}[_0xc53b5c(0x1e3)](_0x280e46,_0x264b65,_0x57afbf=!0x1){const _0x2c4e9d=_0xc53b5c;let _0x8206f=(0x0,_0x58a366[_0x2c4e9d(0x211)])([_0x280e46[_0x2c4e9d(0x264)][_0x2c4e9d(0x1f3)],_0x280e46[_0x2c4e9d(0x195)]])['subscribe'](async([_0x17c0f2,_0x3ea3c4])=>{const _0xf675a=_0x2c4e9d;if(_0x17c0f2[_0xf675a(0x154)]===_0x3a6ac9['CollaborationEvent']['CHANGESET_ACK']&&(_0x3ea3c4==null?void 0x0:_0x3ea3c4[_0xf675a(0x216)])===_0x4bc981[_0xf675a(0x1e9)][_0xf675a(0x19e)]&&_0x17c0f2[_0xf675a(0x254)]['mutations'][_0xf675a(0x2a3)](_0x4ccd98=>_0x4ccd98['id']===_0x3a6ac9[_0xf675a(0x290)]['id'])&&await _0x264b65()){var _0x917aa6;this[_0xf675a(0x2af)][_0xf675a(0x1b7)](),_0x8206f[_0xf675a(0x237)](),this[_0xf675a(0x2aa)]&&clearTimeout(this[_0xf675a(0x2aa)]),await((_0x917aa6=this[_0xf675a(0x17c)])==null?void 0x0:_0x917aa6[_0xf675a(0x1f0)]());}});_0x57afbf&&(this[_0x2c4e9d(0x2aa)]=setTimeout(()=>{const _0xdfec69=_0x2c4e9d;_0x8206f[_0xdfec69(0x237)](),this[_0xdfec69(0x1ce)]['show']({'content':this[_0xdfec69(0x161)]['t'](_0xdfec69(0x23e)),'type':_0x21c4b8[_0xdfec69(0x23f)]['Error'],'duration':0xbb8});},0x1388));}async[_0xc53b5c(0x1d7)](_0x129a27,_0x30dfdb){const _0x140ae0=_0xc53b5c;await this[_0x140ae0(0x1ef)](_0x129a27,_0x30dfdb),_0x129a27[_0x140ae0(0x241)][_0x140ae0(0x289)]((0x0,_0x58a366[_0x140ae0(0x21e)])(this[_0x140ae0(0x223)]))[_0x140ae0(0x259)](_0x5a949c=>{const _0x235c4a=_0x140ae0;_0x5a949c&&this[_0x235c4a(0x1cc)](_0x5a949c);}),this[_0x140ae0(0x1b4)]['urlChange$']['pipe']((0x0,_0x58a366[_0x140ae0(0x21e)])(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x129a27,_0x30dfdb));}[_0xc53b5c(0x1cc)](_0x55c6e1,_0x432144=!0x1){const _0x2d775e=_0xc53b5c;let _0x2be3aa=this['_urlService'][_0x2d775e(0x261)](_0x2d775e(0x2b4));_0x55c6e1[_0x2d775e(0x2ac)]()!==_0x2be3aa&&this['_urlService'][_0x2d775e(0x171)]('subunit',_0x55c6e1[_0x2d775e(0x2ac)](),_0x432144);}async[_0xc53b5c(0x1ef)](_0x4ef895,_0x2b5a4c){const _0x2fc8c4=_0xc53b5c;var _0x10171b;if(!_0x2b5a4c||!_0x4ef895[_0x2fc8c4(0x1cf)](_0x2b5a4c)){let _0x26dae0=_0x4ef895[_0x2fc8c4(0x21b)]()[0x0],_0x1bed99=_0x4ef895[_0x2fc8c4(0x1cf)](_0x26dae0);if(!_0x1bed99)return;this[_0x2fc8c4(0x1cc)](_0x1bed99,!0x0),await this['_commandService']['executeCommand'](_0x4312ea[_0x2fc8c4(0x29c)]['id'],{'unitId':_0x4ef895[_0x2fc8c4(0x1c9)](),'subUnitId':_0x26dae0});return;}((_0x10171b=_0x4ef895[_0x2fc8c4(0x17a)]())==null?void 0x0:_0x10171b[_0x2fc8c4(0x2ac)]())!==_0x2b5a4c&&await this['_commandService'][_0x2fc8c4(0x21a)](_0x4312ea[_0x2fc8c4(0x29c)]['id'],{'unitId':_0x4ef895[_0x2fc8c4(0x1c9)](),'subUnitId':_0x2b5a4c});}};_0x193546=_0x13dd99([_0x5f10e5(0x0,_0x180e52[_0xc53b5c(0x1cd)]),_0x5f10e5(0x1,_0x2d553a[_0xc53b5c(0x244)]),_0x5f10e5(0x2,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x2d553a['ComponentManager'])),_0x5f10e5(0x3,(0x0,_0x180e52['Inject'])(_0x2e5a75)),_0x5f10e5(0x4,(0x0,_0x180e52['Inject'])(_0x180e52[_0xc53b5c(0x16c)])),_0x5f10e5(0x5,_0x2d553a['IMessageService']),_0x5f10e5(0x6,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x4bc981['CollaborationController'])),_0x5f10e5(0x7,_0x4bc981[_0xc53b5c(0x2b2)]),_0x5f10e5(0x8,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x4bc981[_0xc53b5c(0x1f6)])),_0x5f10e5(0x9,_0x180e52[_0xc53b5c(0x2a2)]),_0x5f10e5(0xa,_0x4fdfa1[_0xc53b5c(0x1ec)])],_0x193546);let _0xe27075=class extends _0x180e52[_0xc53b5c(0x2b3)]{constructor(_0x283fba=_0x54a957,_0x45bf22,_0x1a0400){const _0x40becb=_0xc53b5c;super(),this['_config']=_0x283fba,this[_0x40becb(0x203)]=_0x45bf22,this[_0x40becb(0x212)]=_0x1a0400;let {menu:_0x548ffb,..._0x4c285e}=(0x0,_0x180e52[_0x40becb(0x273)])({},_0x54a957,this[_0x40becb(0x283)]);_0x548ffb&&this[_0x40becb(0x212)]['setConfig']('menu',_0x548ffb,{'merge':!0x0}),this[_0x40becb(0x212)][_0x40becb(0x263)](_0x8ece11,_0x4c285e),this[_0x40becb(0x283)][_0x40becb(0x1a0)]&&this[_0x40becb(0x212)][_0x40becb(0x263)](_0x5eb995,this[_0x40becb(0x283)][_0x40becb(0x1a0)]);}[_0xc53b5c(0x1f8)](){const _0x43d7b8=_0xc53b5c;[[_0x2e5a75],[_0x193546]][_0x43d7b8(0x1b5)](_0x1939ea=>this[_0x43d7b8(0x203)]['add'](_0x1939ea));}['onSteady'](){const _0x5b17c8=_0xc53b5c;this[_0x5b17c8(0x203)][_0x5b17c8(0x1bc)](_0x193546);}};_0x4b7861(_0xe27075,_0xc53b5c(0x1d8),_0x180e52[_0xc53b5c(0x25c)][_0xc53b5c(0x21d)]),_0x4b7861(_0xe27075,_0xc53b5c(0x22e),_0xc53b5c(0x242)),_0x4b7861(_0xe27075,_0xc53b5c(0x232),_0x58ec6a),_0x4b7861(_0xe27075,_0xc53b5c(0x262),_0x33d019),_0xe27075=_0x13dd99([(0x0,_0x180e52['DependentOn'])(_0x4e23fa[_0xc53b5c(0x22c)]),_0x5f10e5(0x1,(0x0,_0x180e52[_0xc53b5c(0x172)])(_0x180e52['Injector'])),_0x5f10e5(0x2,_0x180e52[_0xc53b5c(0x1bd)])],_0xe27075),_0x599ba0[_0xc53b5c(0x1d3)]=_0x8ece11,Object[_0xc53b5c(0x2a6)](_0x599ba0,_0xc53b5c(0x156),{'enumerable':!0x0,'get':function(){return _0x2e5a75;}}),Object[_0xc53b5c(0x2a6)](_0x599ba0,_0xc53b5c(0x23d),{'enumerable':!0x0,'get':function(){return _0xbbdb2e;}}),_0x599ba0['ToggleEditHistoryOperation']=_0x2e6e0e,_0x599ba0[_0xc53b5c(0x19d)]=_0x5eb995,_0x599ba0[_0xc53b5c(0x15f)]=_0x3dd095,Object[_0xc53b5c(0x2a6)](_0x599ba0,_0xc53b5c(0x1a1),{'enumerable':!0x0,'get':function(){return _0x49f97a;}}),Object[_0xc53b5c(0x2a6)](_0x599ba0,_0xc53b5c(0x277),{'enumerable':!0x0,'get':function(){return _0xe27075;}});}));
|
|
20
|
+
function _0x5603(_0x1e0553,_0xd4ffab){_0x1e0553=_0x1e0553-0xe3;const _0xc421a8=_0xc421();let _0x5603fd=_0xc421a8[_0x1e0553];return _0x5603fd;}function _0xc421(){const _0x1b4107=['WorkbookRecoverHistoryPermission','version','CollaborationEvent','UniverSheetsHyperLinkUIPlugin','Disposable','MobileHistoryLoaderService','IPermissionService','1em','UniverNetwork','_selectionProtectionRuleModel','uComp','UniverProEditHistoryViewer','idSuffix','amd','UniverDataValidationPlugin','UNIVER_SHEET','colorChannel1','0.24.0','_injector','Exited','UniverCore','UniverInstanceType','RxDisposable','_historyUniver$','setConfig','tag','use','pipe','getSheetCommandTarget','position','show','historyPanelHidden','Error','UniverDrawing','value','BehaviorSubject','HistoryManagerService','permissionId','UNIVER_HISTORY_CONTAINER_ID','IAuthzIoService','top','_updateSubUnitFromURLParams','ILocalCacheService','onSteady','register','merge','forEach','\x20has\x20been\x20registered.','loadUnit','UniverProSheetsPivot','348848ZirLVK','_themeService','UniverProSheetsSparklineUi','registerPlugin','UniverSheetsFormulaPlugin','call','_revertErrorTimer','split','event$','packageName','SYNCED','status$','LS_CONFIG_KEY','5850564olrwbr','HistoryIcon','mergeMenu','getSheetBySheetId','subscribe','UniverProSheetsSparkline','_collaborationController','data','getSheetId','[HistoryLoaderService]:\x20Plugin\x20','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','eventID','height','http://www.w3.org/2000/svg','status','iterator','getAllPlugins','_handleRevertAcknowledgement','url(#history-icon_clip0_907_281)','none','_initListener','univer.operation.exit-edit-history','UniverSheetsChartUIPlugin','IMessageService','UniverSheetsFormula','UniverEngineFormula','_localCacheService','path','UniverProSheetsChartUi','ISidebarService','_componentManager','function','UniverProLicense','getSheets','IMenuManagerService','0\x200\x2016\x2016','darkMode$','_initContainer','_init','32HMCsgn','100%','getCollabEntity','unsubscribe','WorkbookViewHistoryPermission','WorksheetEditPermission','historyUniver','UNIVER_CONTAINER_ID','UniverDrawingUIPlugin','closeAll','UniverProSheetsShape','getParam','UniverSheetsDataValidation','UniverDocsUIPlugin','UniverSheetSparklineUIPlugin','combineLatest','executeCommand','_messageService','getUnit','getMenuHiddenObservable','UNIVER_UNKNOWN','UniverSheetsConditionalFormattingUi','UniverSheetsFormulaUIPlugin','Loading','getLocales','zIndex','UniverSheetsConditionalFormatting','React','ComponentManager','UniverCollaborationPlugin','CommandType','editHistory.info.initializing','_internalWebWorker','history-icon_clip0_907_281','setLocale','getActiveSheet','UniverSheets','UniverMobileUIPlugin','historyPanelComponentKey','invoke','univer.operation.toggle-edit-history','mutations','_checkCanRevert','includes','menu','constructor','triggerCustomVersions','then','toDisposable','object','width','some','UniverSheetsConditionalFormattingPlugin','registerCommand','UniverSheetsPivotTablePlugin','_menuManagerService','__getInjector','_dataLoaderService','displayName','disposeUnit','LocaleService','triggerLoadVersions','Plugin','svg','getElementById','UniverEditHistoryViewerPlugin','UniverSheetsTable','left','decorate','exhaustSavingTask','edit-history-loader.config','UniverUIPlugin','set','UniverDocsUi','appendChild','UniverRenderEnginePlugin','_dialogService','style','currentTheme$','HistoryModeStatus','state$','disposeWithMe','UniverDesign','activeSheet$','symbol','reload','trim','setDarkMode','dataset','UniverSheetsUi','UniverProCollaboration','UNIVER_CONTAINER_ID_KEY','substring','editHistory.panel.reverting','url(#$1','Inject','RevertRevisionMutation','white','flat','editHistory.panel.title','UniverProCollaborationClient','univer-history-container-mobile','length','editHistory.panel.listFetchError','map','clear','mask','Univer','_historyManagerService','_setupSubUnitSync','Entered','DataLoaderService','setParam','MenuItemType','OPERATION','UniverSheetsDrawingUIPlugin','_sidebarService','_localeService','has','next','_initPlugins','clipPath','IImageIoService','UniverSheetsDrawingPlugin','IUniverInstanceService','632qZFqvE','asObservable','UniverProCollaborationClientUi','session','UniverSheetsHyperLink','whenReady','DependentOn','_pluginMap','_univerInstanceService','ToggleEditHistoryOperation','20qDWyYv','UniverSheetsTablePlugin','UniverSheetsFilterUi','UniverSheetsFilterUIPlugin','getCurrentUnitOfType','IConfigService','UniverSheetsShapeUIPlugin','createElement','close','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','removeAll','114378kYHVTo','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','forwardRef','IDialogService','unMountHistoryContent','BUTTON','WorkbookEditablePermission','CHANGESET_ACK','UniverSheetsChartPlugin','ICommandService','attrs','CollaborationController','getUnhiddenWorksheets','UniverSheetsNumfmtPlugin','UniverSheetSparklinePlugin','UniverSheetsMobileUIPlugin','onCommandExecuted','_configService','pluginName','RangeProtectionPermissionEditPoint','xlink:href','UniverDrawingUi','UniverDocsPlugin','workerURL','UniverSheetsShapePlugin','UniverFormulaEnginePlugin','prototype','UniverSheetsNumfmt','composePermission','_commandService','setTheme','getOwnPropertyDescriptor','_urlService','UniverDrawingPlugin','string','location','IRemoteInstanceService','@univerjs-pro/edit-history-loader','absolute','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','defs','_config','dispose','history-container','UniverSheetsDataValidationUIPlugin','UniverEditHistoryLoaderPlugin','mountHistoryContent','toPrimitive','from','UniverEditHistoryViewerMobilePlugin','MessageType','children','UniverDocs','historyUniver$','8384634PmSHfv','display','[MobileHistoryLoaderService]:\x20Plugin\x20','IURLService','onStarting','AuthzIoHttpService','get','type','ThemeService','add','UniverLicensePlugin','UniverSheetsDrawing','dispose$','getConfig','UniverSheetsDrawingUi','Workbook','CollaborationStatus','UniverSheetsUIPlugin','DisposableCollection','_updateURLWithCurrentState','fill','defineProperty','params','fromCollab','M0\x200H16V16H0z','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','terminate','18813650RXgowF','subunit','every','UniverSheetsHyperLinkPlugin','RangeProtectionRuleModel','UniverProSheetsChart','current','_initUniver','exports.@univerjs/core.@univerjs/sheets.@univerjs-pro/collaboration.@univerjs-pro/collaboration-client.@univerjs-pro/edit-history-viewer.@univerjs-pro/license.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-chart-ui.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-shape-ui.@univerjs-pro/sheets-sparkline.@univerjs-pro/sheets-sparkline-ui.@univerjs/data-validation.@univerjs/design.@univerjs/docs.@univerjs/docs-ui.@univerjs/drawing.@univerjs/drawing-ui.@univerjs/engine-formula.@univerjs/engine-render.@univerjs/network.@univerjs/rpc.@univerjs/sheets-conditional-formatting.@univerjs/sheets-conditional-formatting-ui.@univerjs/sheets-data-validation.@univerjs/sheets-data-validation-ui.@univerjs/sheets-drawing.@univerjs/sheets-drawing-ui.@univerjs/sheets-filter.@univerjs/sheets-filter-ui.@univerjs/sheets-formula.@univerjs/sheets-formula-ui.@univerjs/sheets-hyper-link.@univerjs/sheets-hyper-link-ui.@univerjs/sheets-numfmt.@univerjs/sheets-table.@univerjs/sheets-ui.@univerjs/ui.rxjs.@univerjs-pro/collaboration-client-ui.react','historyAIassistantEnabled','getUnitId','urlChange$','HistoryLoaderService','UniverSheetsDataValidationMobileUIPlugin','91833PNGGcI','_permissionService','div','takeUntil','getCurrentLocale','384859vehGRd','_disposableCollection','univerContainerId'];_0xc421=function(){return _0x1b4107;};return _0xc421();}(function(_0x456e23,_0xbd1bdc){const _0x43745e=_0x5603,_0x170a84=_0x456e23();while(!![]){try{const _0x549310=-parseInt(_0x43745e(0x1b8))/0x1+parseInt(_0x43745e(0x221))/0x2*(parseInt(_0x43745e(0x154))/0x3)+parseInt(_0x43745e(0x1ed))/0x4*(-parseInt(_0x43745e(0x149))/0x5)+-parseInt(_0x43745e(0x1fa))/0x6+parseInt(_0x43745e(0x1b3))/0x7*(-parseInt(_0x43745e(0x13f))/0x8)+parseInt(_0x43745e(0x18a))/0x9+parseInt(_0x43745e(0x1a5))/0xa;if(_0x549310===_0xbd1bdc)break;else _0x170a84['push'](_0x170a84['shift']());}catch(_0x57be7b){_0x170a84['push'](_0x170a84['shift']());}}}(_0xc421,0xa57ad),function(_0x4b5030,_0x392da7){const _0x377fc3=_0x5603;typeof exports==_0x377fc3(0xf3)&&typeof module<'u'?_0x392da7(exports,require(`@univerjs/core`),require(`@univerjs/sheets`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/collaboration-client`),require(`@univerjs-pro/edit-history-viewer`),require(`@univerjs-pro/license`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-chart-ui`),require(`@univerjs-pro/sheets-pivot`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs-pro/sheets-shape-ui`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs-pro/sheets-sparkline-ui`),require(`@univerjs/data-validation`),require(`@univerjs/design`),require(`@univerjs/docs`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs/drawing-ui`),require(`@univerjs/engine-formula`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/rpc`),require(`@univerjs/sheets-conditional-formatting`),require(`@univerjs/sheets-conditional-formatting-ui`),require(`@univerjs/sheets-data-validation`),require(`@univerjs/sheets-data-validation-ui`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-drawing-ui`),require(`@univerjs/sheets-filter`),require(`@univerjs/sheets-filter-ui`),require(`@univerjs/sheets-formula`),require(`@univerjs/sheets-formula-ui`),require(`@univerjs/sheets-hyper-link`),require(`@univerjs/sheets-hyper-link-ui`),require(`@univerjs/sheets-numfmt`),require(`@univerjs/sheets-table`),require(`@univerjs/sheets-ui`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs-pro/collaboration-client-ui`),require(`react`)):typeof define==_0x377fc3(0x219)&&define[_0x377fc3(0x1c8)]?define(_0x377fc3(0x1ad)[_0x377fc3(0x1f4)]('.'),_0x392da7):(_0x4b5030=typeof globalThis<'u'?globalThis:_0x4b5030||self,_0x392da7(_0x4b5030['UniverProEditHistoryLoader']={},_0x4b5030[_0x377fc3(0x1cf)],_0x4b5030[_0x377fc3(0xe6)],_0x4b5030[_0x377fc3(0x11c)],_0x4b5030[_0x377fc3(0x126)],_0x4b5030[_0x377fc3(0x1c6)],_0x4b5030[_0x377fc3(0x21a)],_0x4b5030[_0x377fc3(0x1aa)],_0x4b5030[_0x377fc3(0x216)],_0x4b5030[_0x377fc3(0x1ec)],_0x4b5030[_0x377fc3(0x22b)],_0x4b5030['UniverProSheetsShapeUi'],_0x4b5030[_0x377fc3(0x1ff)],_0x4b5030[_0x377fc3(0x1ef)],_0x4b5030['UniverDataValidation'],_0x4b5030[_0x377fc3(0x114)],_0x4b5030[_0x377fc3(0x188)],_0x4b5030[_0x377fc3(0x10b)],_0x4b5030[_0x377fc3(0x1dc)],_0x4b5030[_0x377fc3(0x169)],_0x4b5030[_0x377fc3(0x213)],_0x4b5030['UniverEngineRender'],_0x4b5030[_0x377fc3(0x1c3)],_0x4b5030['UniverRpc'],_0x4b5030[_0x377fc3(0x23b)],_0x4b5030[_0x377fc3(0x236)],_0x4b5030[_0x377fc3(0x22d)],_0x4b5030['UniverSheetsDataValidationUi'],_0x4b5030[_0x377fc3(0x195)],_0x4b5030[_0x377fc3(0x198)],_0x4b5030['UniverSheetsFilter'],_0x4b5030[_0x377fc3(0x14b)],_0x4b5030[_0x377fc3(0x212)],_0x4b5030['UniverSheetsFormulaUi'],_0x4b5030[_0x377fc3(0x143)],_0x4b5030['UniverSheetsHyperLinkUi'],_0x4b5030[_0x377fc3(0x16f)],_0x4b5030[_0x377fc3(0x104)],_0x4b5030[_0x377fc3(0x11b)],_0x4b5030['UniverUi'],_0x4b5030['rxjs'],_0x4b5030[_0x377fc3(0x141)],_0x4b5030[_0x377fc3(0x23c)]));}(this,function(_0x13809c,_0x33e503,_0x35661c,_0x587e83,_0x2d073d,_0x2cd9b2,_0x20dc7b,_0x537529,_0xfa2353,_0x59d915,_0x50c1d0,_0x4ebd30,_0x471932,_0x117d6c,_0x5e6771,_0x1e7111,_0x374f29,_0x21656f,_0x4ec52e,_0x562dae,_0x151834,_0x211ebb,_0x421909,_0x41a677,_0x61163e,_0xe96762,_0x37178a,_0xf2e32a,_0x3485dd,_0x571f78,_0x1cca9d,_0x35fb58,_0x706278,_0x6fa4b,_0xa5722f,_0x4ca489,_0x596208,_0x4c8959,_0x593aa7,_0x2ccfb5,_0x3f702b,_0x3407da,_0x57eb24){const _0x729e61=_0x5603;Object[_0x729e61(0x19f)](_0x13809c,Symbol['toStringTag'],{'value':'Module'});let _0x40521f=_0x729e61(0x108);Symbol(_0x40521f);let _0x44638a={};function _0x4c22f9(_0x1e89bc){'@babel/helpers - typeof';const _0x581014=_0x729e61;return _0x4c22f9=typeof Symbol==_0x581014(0x219)&&typeof Symbol[_0x581014(0x209)]==_0x581014(0x116)?function(_0x3e9a48){return typeof _0x3e9a48;}:function(_0x3e1d97){const _0x375cdb=_0x581014;return _0x3e1d97&&typeof Symbol==_0x375cdb(0x219)&&_0x3e1d97[_0x375cdb(0xef)]===Symbol&&_0x3e1d97!==Symbol[_0x375cdb(0x16e)]?'symbol':typeof _0x3e1d97;},_0x4c22f9(_0x1e89bc);}function _0x3f645d(_0x4cfa03,_0x58ec70){const _0x4e863e=_0x729e61;if(_0x4c22f9(_0x4cfa03)!=_0x4e863e(0xf3)||!_0x4cfa03)return _0x4cfa03;var _0x1d2c3c=_0x4cfa03[Symbol[_0x4e863e(0x183)]];if(_0x1d2c3c!==void 0x0){var _0xd7f9ff=_0x1d2c3c[_0x4e863e(0x1f2)](_0x4cfa03,_0x58ec70||'default');if(_0x4c22f9(_0xd7f9ff)!='object')return _0xd7f9ff;throw TypeError(_0x4e863e(0x1a3));}return(_0x58ec70===_0x4e863e(0x176)?String:Number)(_0x4cfa03);}function _0xced3c9(_0x198e9f){const _0x411839=_0x729e61;var _0x5d0797=_0x3f645d(_0x198e9f,'string');return _0x4c22f9(_0x5d0797)==_0x411839(0x116)?_0x5d0797:_0x5d0797+'';}function _0x3335cf(_0x3470ea,_0x22539a,_0x2a7b3a){return(_0x22539a=_0xced3c9(_0x22539a))in _0x3470ea?Object['defineProperty'](_0x3470ea,_0x22539a,{'value':_0x2a7b3a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3470ea[_0x22539a]=_0x2a7b3a,_0x3470ea;}function _0x3570da(_0x25da8c,_0x1ec68d){return function(_0x7feab1,_0xe35a91){_0x1ec68d(_0x7feab1,_0xe35a91,_0x25da8c);};}function _0x1ed2b5(_0x4daff6,_0x21c88f,_0x51bd05,_0x3410eb){const _0x78f938=_0x729e61;var _0x561527=arguments[_0x78f938(0x128)],_0x21e692=_0x561527<0x3?_0x21c88f:_0x3410eb===null?_0x3410eb=Object[_0x78f938(0x173)](_0x21c88f,_0x51bd05):_0x3410eb,_0x19b466;if(typeof Reflect=='object'&&typeof Reflect[_0x78f938(0x106)]==_0x78f938(0x219))_0x21e692=Reflect['decorate'](_0x4daff6,_0x21c88f,_0x51bd05,_0x3410eb);else{for(var _0xb525e6=_0x4daff6[_0x78f938(0x128)]-0x1;_0xb525e6>=0x0;_0xb525e6--)(_0x19b466=_0x4daff6[_0xb525e6])&&(_0x21e692=(_0x561527<0x3?_0x19b466(_0x21e692):_0x561527>0x3?_0x19b466(_0x21c88f,_0x51bd05,_0x21e692):_0x19b466(_0x21c88f,_0x51bd05))||_0x21e692);}return _0x561527>0x3&&_0x21e692&&Object[_0x78f938(0x19f)](_0x21c88f,_0x51bd05,_0x21e692),_0x21e692;}let _0x1834e9=_0x729e61(0x228),_0x4ef970='univer-history-container',_0x498d99=class extends _0x33e503['Disposable']{constructor(_0x312740,_0x407c17,_0x3786df,_0x10e4a4,_0x354cd0,_0x141d08,_0xc430c1,_0x1da464,_0x5c3774,_0x2f11aa){const _0x2ef84e=_0x729e61;super(),this[_0x2ef84e(0x137)]=_0x312740,this['_univerInstanceService']=_0x407c17,this[_0x2ef84e(0x165)]=_0x3786df,this[_0x2ef84e(0x171)]=_0x10e4a4,this['_messageService']=_0x354cd0,this['_permissionService']=_0x141d08,this[_0x2ef84e(0x1c4)]=_0xc430c1,this[_0x2ef84e(0x10e)]=_0x1da464,this[_0x2ef84e(0x136)]=_0x5c3774,this[_0x2ef84e(0x1ee)]=_0x2f11aa,_0x3335cf(this,_0x2ef84e(0x1d2),new _0x3f702b[(_0x2ef84e(0x1de))](null)),_0x3335cf(this,_0x2ef84e(0x189),this['_historyUniver$']['asObservable']()),_0x3335cf(this,_0x2ef84e(0x1b9),new _0x33e503[(_0x2ef84e(0x19c))]()),_0x3335cf(this,'_pluginMap',new Map()),_0x3335cf(this,_0x2ef84e(0x241),null),this['_init']();}get[_0x729e61(0x227)](){const _0x341e1c=_0x729e61;return this[_0x341e1c(0x1d2)][_0x341e1c(0x1dd)];}[_0x729e61(0x220)](){const _0x401689=_0x729e61;this[_0x401689(0x21f)](),this[_0x401689(0x13a)]();}['_initContainer'](){const _0x36dc1e=_0x729e61;var _0x1ef426;let _0x20ee5b=(_0x1ef426=this[_0x36dc1e(0x165)][_0x36dc1e(0x197)](_0x36dc1e(0x228)))==null?'univer-container':_0x1ef426,_0x2ab138=document['getElementById'](_0x20ee5b);if(!_0x2ab138)return;let _0x490eac=document['createElement']('div');_0x490eac['id']=_0x4ef970,_0x490eac[_0x36dc1e(0x11a)]['uComp']=_0x36dc1e(0x17f),_0x490eac[_0x36dc1e(0x10f)][_0x36dc1e(0x1d8)]=_0x36dc1e(0x17a),_0x490eac[_0x36dc1e(0x10f)]['top']='0',_0x490eac[_0x36dc1e(0x10f)][_0x36dc1e(0x105)]='0',_0x490eac[_0x36dc1e(0x10f)][_0x36dc1e(0xf4)]=_0x36dc1e(0x222),_0x490eac['style'][_0x36dc1e(0x206)]=_0x36dc1e(0x222),_0x490eac['style'][_0x36dc1e(0x23a)]='49',_0x490eac['style']['display']=_0x36dc1e(0x20d),_0x2ab138[_0x36dc1e(0x10c)](_0x490eac);}[_0x729e61(0x13a)](){const _0x318ee6=_0x729e61;[[_0x211ebb[_0x318ee6(0x10d)]],[_0x2ccfb5[_0x318ee6(0x109)],{'container':_0x4ef970,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2ccfb5[_0x318ee6(0x157)],null]]}],[_0x421909['UniverNetworkPlugin']],[_0x4ec52e[_0x318ee6(0x175)],{'override':[[_0x4ec52e[_0x318ee6(0x13c)],null]]}],[_0x374f29[_0x318ee6(0x16a)],{'hasScroll':!0x1}],[_0x21656f['UniverDocsUIPlugin']],[_0x596208['UniverSheetsNumfmtPlugin']],[_0x35661c['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x593aa7[_0x318ee6(0x19b)]],[_0x706278[_0x318ee6(0x1f1)]],[_0x6fa4b[_0x318ee6(0x237)]],[_0x587e83[_0x318ee6(0x23e)]],[_0x1cca9d['UniverSheetsFilterPlugin']],[_0x35fb58[_0x318ee6(0x14c)]],[_0x61163e[_0x318ee6(0xf6)]],[_0xe96762['UniverSheetsConditionalFormattingUIPlugin']],[_0xa5722f[_0x318ee6(0x1a8)]],[_0x4ca489[_0x318ee6(0x1be)]],[_0x5e6771[_0x318ee6(0x1c9)]],[_0x37178a['UniverSheetsDataValidationPlugin']],[_0xf2e32a[_0x318ee6(0x180)]],[_0x151834[_0x318ee6(0x16d)],{'notExecuteFormula':!0x0}],[_0x562dae['UniverDrawingUIPlugin']],[_0x3485dd[_0x318ee6(0x13d)]],[_0x571f78[_0x318ee6(0x135)]],[_0x471932[_0x318ee6(0x162)]],[_0x117d6c['UniverSheetSparklineUIPlugin']],[_0x537529[_0x318ee6(0x15c)]],[_0xfa2353[_0x318ee6(0x210)]],[_0x50c1d0['UniverSheetsShapePlugin']],[_0x4ebd30[_0x318ee6(0x14f)]],[_0x59d915['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x4c8959[_0x318ee6(0x14a)]]][_0x318ee6(0x1e9)](([_0x15976c,_0xac7ca])=>this[_0x318ee6(0x1f0)](_0x15976c,_0xac7ca));}['dispose'](){const _0x4e8d79=_0x729e61;super['dispose'](),this['unMountHistoryContent'](),this[_0x4e8d79(0x146)][_0x4e8d79(0x12b)]();}[_0x729e61(0x1f0)](_0x16d031,_0x46a68a,_0xcf7376){const _0xd02b04=_0x729e61;if(this['_pluginMap']['has'](_0x16d031[_0xd02b04(0x166)])&&!_0xcf7376)throw Error(_0xd02b04(0x203)+_0x16d031[_0xd02b04(0x166)]+_0xd02b04(0x1ea));this[_0xd02b04(0x146)][_0xd02b04(0x10a)](_0x16d031['pluginName'],[_0x16d031,_0x46a68a]);}[_0x729e61(0x20a)](){const _0x765513=_0x729e61;return Array['from'](this[_0x765513(0x146)]['values']());}[_0x729e61(0x182)](_0xfc6b50,_0x3b5b80){const _0x7cc806=_0x729e61;let _0x53eba1=document[_0x7cc806(0x102)](_0x4ef970);_0x53eba1&&(_0x53eba1[_0x7cc806(0x10f)]['display']='block',this[_0x7cc806(0x1ac)](_0xfc6b50,_0x4ef970,_0x3b5b80));}[_0x729e61(0x158)](){const _0x4c9e13=_0x729e61;var _0x30ef6b;this[_0x4c9e13(0x1b9)][_0x4c9e13(0x17e)](),(_0x30ef6b=this[_0x4c9e13(0x227)])==null||_0x30ef6b['dispose'](),this[_0x4c9e13(0x1d2)][_0x4c9e13(0x139)](null);let _0x34563e=document[_0x4c9e13(0x102)](_0x4ef970);_0x34563e&&(_0x34563e[_0x4c9e13(0x10f)]['display']=_0x4c9e13(0x20d),this[_0x4c9e13(0x241)]&&(this[_0x4c9e13(0x241)][_0x4c9e13(0x1a4)](),this[_0x4c9e13(0x241)]=null));}[_0x729e61(0x1ac)](_0x3316fe,_0x145e5c,_0x185a07){const _0x538e53=_0x729e61;var _0xfb4700,_0x14d737,_0x2f010a,_0x2d3ff5,_0x2ad61d;if(this['historyUniver'])return;let _0x46f667=new _0x33e503['Univer']({'locales':{[this[_0x538e53(0x137)][_0x538e53(0x1b7)]()]:this['_localeService'][_0x538e53(0x239)]()},'override':[[_0x33e503[_0x538e53(0x1e2)],{'useClass':_0x2d073d[_0x538e53(0x18f)]}]]}),_0x272b2e=_0x46f667[_0x538e53(0xfa)]();this[_0x538e53(0x113)](this[_0x538e53(0x1ee)][_0x538e53(0x21e)][_0x538e53(0x1fe)](_0x5bb935=>{const _0x474d45=_0x538e53;_0x272b2e[_0x474d45(0x190)](_0x33e503['ThemeService'])[_0x474d45(0x119)](_0x5bb935);})),this[_0x538e53(0x113)](this['_themeService'][_0x538e53(0x110)][_0x538e53(0x1fe)](_0x2aff6a=>{const _0x54a422=_0x538e53;_0x272b2e[_0x54a422(0x190)](_0x33e503[_0x54a422(0x192)])[_0x54a422(0x172)](_0x2aff6a);})),_0x272b2e[_0x538e53(0x190)](_0x33e503[_0x538e53(0xfe)])[_0x538e53(0xe4)](this['_localeService'][_0x538e53(0x1b7)]()),_0x272b2e['get'](_0x33e503[_0x538e53(0x14e)])['setConfig'](_0x2d073d[_0x538e53(0x17b)],this[_0x538e53(0x165)][_0x538e53(0x197)](_0x2d073d[_0x538e53(0x17b)]));let _0x262552=this[_0x538e53(0x165)][_0x538e53(0x197)](_0x20dc7b[_0x538e53(0x1f9)]);_0x262552&&_0x46f667[_0x538e53(0x1f0)](_0x20dc7b[_0x538e53(0x194)],{'license':_0x262552['ls']});let _0x403a70=(_0xfb4700=this[_0x538e53(0x165)][_0x538e53(0x197)]('edit-history-loader.config'))==null?void 0x0:_0xfb4700[_0x538e53(0x16b)],_0x53ab46=!!_0x403a70;_0x53ab46&&(this[_0x538e53(0x241)]=_0x403a70 instanceof Worker?_0x403a70:null,_0x46f667[_0x538e53(0x1f0)](_0x41a677['UniverRPCMainThreadPlugin'],{'workerURL':_0x403a70})),this[_0x538e53(0x146)][_0x538e53(0x1e9)](([_0x4a5a3d,_0x41d51e])=>{const _0x28ba38=_0x538e53;_0x46f667[_0x28ba38(0x1f0)](_0x4a5a3d,_0x41d51e);}),_0x46f667['registerPlugin'](_0x2cd9b2[_0x538e53(0x103)],{'historyListServerUrl':(_0x14d737=this[_0x538e53(0x165)][_0x538e53(0x197)](_0x538e53(0x108)))==null?void 0x0:_0x14d737['historyListServerUrl'],'historyPanelComponentKey':(_0x2f010a=this[_0x538e53(0x165)]['getConfig'](_0x538e53(0x108)))==null?void 0x0:_0x2f010a[_0x538e53(0xe8)],'historyPanelHidden':(_0x2d3ff5=this[_0x538e53(0x165)][_0x538e53(0x197)]('edit-history-loader.config'))==null?void 0x0:_0x2d3ff5['historyPanelHidden'],'historyAIassistantEnabled':(_0x2ad61d=this['_configService'][_0x538e53(0x197)](_0x538e53(0x108)))==null?void 0x0:_0x2ad61d[_0x538e53(0x1ae)]}),_0x272b2e[_0x538e53(0xe9)](_0x39fda5=>{const _0x528dd4=_0x538e53;this[_0x528dd4(0x20e)](_0x39fda5,_0x3316fe);}),this[_0x538e53(0x1d2)][_0x538e53(0x139)](_0x46f667);let _0x2632d1=_0x272b2e['get'](_0x2cd9b2[_0x538e53(0x1df)]),_0x53a4fa=this[_0x538e53(0xec)](_0x3316fe),_0x6ad293=()=>{const _0x5cc1d1=_0x538e53;_0x185a07?_0x2632d1[_0x5cc1d1(0xf0)](_0x3316fe,_0x145e5c,_0x53a4fa,_0x185a07):_0x2632d1['triggerLoadVersions'](_0x3316fe,_0x145e5c,_0x53a4fa);};if(this[_0x538e53(0x232)][_0x538e53(0x1d9)]({'content':this[_0x538e53(0x137)]['t'](_0x538e53(0x240)),'type':_0x1e7111['MessageType'][_0x538e53(0x238)]}),_0x53ab46)try{_0x272b2e[_0x538e53(0x190)](_0x41a677[_0x538e53(0x178)])[_0x538e53(0x144)]()[_0x538e53(0xf1)](()=>{_0x6ad293();});}catch{_0x6ad293();}else _0x6ad293();}['_initListener'](_0x5f2969,_0x1c7b6e){const _0x4e7807=_0x729e61;let _0x5670f2=_0x5f2969[_0x4e7807(0x190)](_0x2cd9b2[_0x4e7807(0x1df)]);this[_0x4e7807(0x1b9)][_0x4e7807(0x193)](_0x5670f2['status$'][_0x4e7807(0x1fe)](_0x5365f2=>{const _0x4b6f25=_0x4e7807;switch(_0x5365f2){case _0x2cd9b2['HistoryModeStatus'][_0x4b6f25(0x130)]:this['_dialogService'][_0x4b6f25(0x22a)](),this[_0x4b6f25(0x136)][_0x4b6f25(0x151)]();break;case _0x2cd9b2[_0x4b6f25(0x111)][_0x4b6f25(0x1ce)]:this['_commandService'][_0x4b6f25(0x231)](_0x346519['id']),this[_0x4b6f25(0x158)]();break;case _0x2cd9b2['HistoryModeStatus'][_0x4b6f25(0x1db)]:this[_0x4b6f25(0x158)](),this['_messageService'][_0x4b6f25(0x1d9)]({'content':this['_localeService']['t'](_0x4b6f25(0x129)),'type':_0x1e7111[_0x4b6f25(0x186)][_0x4b6f25(0x1db)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x4e7807(0x193)](_0x5670f2['revertRevision$'][_0x4e7807(0x1fe)](async _0xbafe64=>{const _0x5535f3=_0x4e7807;_0xbafe64&&this[_0x5535f3(0x171)][_0x5535f3(0x231)](_0x587e83[_0x5535f3(0x122)]['id'],{'unitId':_0x1c7b6e,'revision':_0xbafe64});}));}[_0x729e61(0xec)](_0x3da86f){const _0x44c4ba=_0x729e61;let _0x4e9956=this['_univerInstanceService'][_0x44c4ba(0x233)](_0x3da86f)[_0x44c4ba(0x21b)]()[_0x44c4ba(0x12a)](_0x5f263d=>_0x5f263d['getSheetId']()),_0xa673cf=new _0x35661c[(_0x44c4ba(0x15a))](_0x3da86f)['id'],_0x3364f3=_0x4e9956[_0x44c4ba(0x12a)](_0xde9e69=>new _0x35661c['WorksheetEditPermission'](_0x3da86f,_0xde9e69)['id']),_0x303b86=_0x4e9956[_0x44c4ba(0x12a)](_0x5415db=>this[_0x44c4ba(0x1c4)]['getSubunitRuleList'](_0x3da86f,_0x5415db)[_0x44c4ba(0x12a)](_0x510e94=>new _0x35661c[(_0x44c4ba(0x167))](_0x3da86f,_0x5415db,_0x510e94[_0x44c4ba(0x1e0)])['id']))[_0x44c4ba(0x124)](),_0x29090b=new _0x35661c[(_0x44c4ba(0x1bb))](_0x3da86f)['id'];return this[_0x44c4ba(0x1b4)][_0x44c4ba(0x170)]([_0xa673cf,..._0x3364f3,..._0x303b86,_0x29090b])[_0x44c4ba(0x1a7)](_0xc3a11d=>!!_0xc3a11d[_0x44c4ba(0x1dd)]);}};_0x498d99=_0x1ed2b5([_0x3570da(0x0,(0x0,_0x33e503[_0x729e61(0x121)])(_0x33e503[_0x729e61(0xfe)])),_0x3570da(0x1,_0x33e503[_0x729e61(0x13e)]),_0x3570da(0x2,_0x33e503[_0x729e61(0x14e)]),_0x3570da(0x3,_0x33e503['ICommandService']),_0x3570da(0x4,_0x2ccfb5['IMessageService']),_0x3570da(0x5,_0x33e503['IPermissionService']),_0x3570da(0x6,(0x0,_0x33e503[_0x729e61(0x121)])(_0x35661c['RangeProtectionRuleModel'])),_0x3570da(0x7,(0x0,_0x33e503[_0x729e61(0x121)])(_0x2ccfb5[_0x729e61(0x157)])),_0x3570da(0x8,(0x0,_0x33e503[_0x729e61(0x121)])(_0x2ccfb5['ISidebarService'])),_0x3570da(0x9,(0x0,_0x33e503[_0x729e61(0x121)])(_0x33e503['ThemeService']))],_0x498d99);let _0x5b6e1e={'id':_0x729e61(0xea),'type':_0x33e503['CommandType'][_0x729e61(0x134)],'handler':_0x2fcef9=>{const _0x4f20e2=_0x729e61;let _0xba13cd=_0x2fcef9[_0x4f20e2(0x190)](_0x498d99),{unitId:_0x141d44}=(0x0,_0x35661c[_0x4f20e2(0x1d7)])(_0x2fcef9[_0x4f20e2(0x190)](_0x33e503[_0x4f20e2(0x13e)]))||{};return _0x141d44?(_0xba13cd['mountHistoryContent'](_0x141d44),!0x0):!0x1;}},_0x346519={'id':_0x729e61(0x20f),'type':_0x33e503[_0x729e61(0x23f)][_0x729e61(0x134)],'handler':()=>!0x0};var _0x4eb0cf=_0x729e61(0x179),_0x100201=_0x729e61(0x1cc);function _0x960638({ref:_0x3bcda8,..._0x11f0e6}){const _0x5b1d0c=_0x729e61;let {icon:_0x8713a1,id:_0x1625bb,className:_0x387f27,extend:_0x467649,..._0x48ca44}=_0x11f0e6,_0x4420ce=('univerjs-icon\x20univerjs-icon-'+_0x1625bb+'\x20'+(_0x387f27||''))[_0x5b1d0c(0x118)](),_0x5df9d7=(0x0,_0x57eb24['useRef'])('_'+_0x74e732());return _0xa2b2fb(_0x8713a1,''+_0x1625bb,{'defIds':_0x8713a1['defIds'],'idSuffix':_0x5df9d7[_0x5b1d0c(0x1ab)]},{'ref':_0x3bcda8,'className':_0x4420ce,..._0x48ca44},_0x467649);}function _0xa2b2fb(_0xf3ef04,_0x26e5dc,_0x24d6a8,_0x2031c1,_0x8a1183){const _0x3e8dd0=_0x729e61;return(0x0,_0x57eb24[_0x3e8dd0(0x150)])(_0xf3ef04[_0x3e8dd0(0x1d4)],{'key':_0x26e5dc,..._0x4aefc3(_0xf3ef04,_0x24d6a8,_0x8a1183),..._0x2031c1},(_0x139020(_0xf3ef04,_0x24d6a8)[_0x3e8dd0(0x187)]||[])['map']((_0x1bbe37,_0x5730b0)=>_0xa2b2fb(_0x1bbe37,_0x26e5dc+'-'+_0xf3ef04[_0x3e8dd0(0x1d4)]+'-'+_0x5730b0,_0x24d6a8,void 0x0,_0x8a1183)));}function _0x4aefc3(_0x3e00e6,_0x249b45,_0x4aee18){const _0x21148e=_0x729e61;let _0x3ddad4={..._0x3e00e6[_0x21148e(0x15e)]};_0x4aee18!=null&&_0x4aee18[_0x21148e(0x1cb)]&&_0x3ddad4[_0x21148e(0x19e)]===_0x21148e(0x1cb)&&(_0x3ddad4[_0x21148e(0x19e)]=_0x4aee18[_0x21148e(0x1cb)]),_0x3e00e6[_0x21148e(0x1d4)]==='mask'&&_0x3ddad4['id']&&(_0x3ddad4['id']+=_0x249b45['idSuffix']),Object['entries'](_0x3ddad4)[_0x21148e(0x1e9)](([_0x4af37b,_0x597f59])=>{const _0x4504ae=_0x21148e;_0x4af37b===_0x4504ae(0x12c)&&typeof _0x597f59==_0x4504ae(0x176)&&(_0x3ddad4[_0x4af37b]=_0x597f59['replace'](/url\(#(.*)\)/,_0x4504ae(0x120)+_0x249b45[_0x4504ae(0x1c7)]+')'));});let {defIds:_0x547b88}=_0x249b45;return!_0x547b88||_0x547b88[_0x21148e(0x128)]===0x0?_0x3ddad4:(_0x3e00e6['tag']===_0x21148e(0x1d5)&&_0x3ddad4[_0x21148e(0x168)]&&(_0x3ddad4['xlink:href']+=_0x249b45['idSuffix']),Object['entries'](_0x3ddad4)['forEach'](([_0x27f2ff,_0x48d5fa])=>{const _0x5b64e5=_0x21148e;typeof _0x48d5fa==_0x5b64e5(0x176)&&(_0x3ddad4[_0x27f2ff]=_0x48d5fa['replace'](/url\(#(.*)\)/,'url(#$1'+_0x249b45[_0x5b64e5(0x1c7)]+')'));}),_0x3ddad4);}function _0x139020(_0x1c890b,_0x10c14a){const _0x5a3736=_0x729e61;var _0x281048;let {defIds:_0xc142e3}=_0x10c14a;return!_0xc142e3||_0xc142e3[_0x5a3736(0x128)]===0x0?_0x1c890b:_0x1c890b[_0x5a3736(0x1d4)]==='defs'&&(_0x281048=_0x1c890b[_0x5a3736(0x187)])!=null&&_0x281048['length']?{..._0x1c890b,'children':_0x1c890b[_0x5a3736(0x187)][_0x5a3736(0x12a)](_0x1f1766=>typeof _0x1f1766['attrs']['id']==_0x5a3736(0x176)&&_0xc142e3&&_0xc142e3[_0x5a3736(0xed)](_0x1f1766[_0x5a3736(0x15e)]['id'])?{..._0x1f1766,'attrs':{..._0x1f1766['attrs'],'id':_0x1f1766['attrs']['id']+_0x10c14a[_0x5a3736(0x1c7)]}}:_0x1f1766)}:_0x1c890b;}function _0x74e732(){const _0x512b90=_0x729e61;return Math['random']()['toString'](0x24)[_0x512b90(0x11e)](0x2,0x8);}_0x960638[_0x729e61(0xfc)]='UniverIcon';let _0x32f0b7={'tag':_0x729e61(0x101),'attrs':{'xmlns':_0x729e61(0x207),'fill':'none','viewBox':_0x729e61(0x21d),'width':_0x729e61(0x1c2),'height':_0x729e61(0x1c2)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x729e61(0x20c)},'children':[{'tag':'path','attrs':{'d':_0x729e61(0x204)}},{'tag':'path','attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':_0x729e61(0x17c),'attrs':{},'children':[{'tag':_0x729e61(0x13b),'attrs':{'id':_0x729e61(0xe3)},'children':[{'tag':_0x729e61(0x215),'attrs':{'fill':_0x729e61(0x123),'d':_0x729e61(0x1a2)}}]}]}],'defIds':[_0x729e61(0xe3)]},_0x2658fe=(0x0,_0x57eb24[_0x729e61(0x156)])(function(_0x273df1,_0x539670){const _0x52cf7e=_0x729e61;return(0x0,_0x57eb24[_0x52cf7e(0x150)])(_0x960638,Object['assign']({},_0x273df1,{'id':'history-icon','ref':_0x539670,'icon':_0x32f0b7}));});_0x2658fe[_0x729e61(0xfc)]='HistoryIcon';function _0x2d8a9b(_0x8b78cf){const _0x51182f=_0x729e61;return{'id':_0x5b6e1e['id'],'type':_0x2ccfb5[_0x51182f(0x133)][_0x51182f(0x159)],'icon':_0x51182f(0x1fb),'tooltip':_0x51182f(0x125),'hidden$':(0x0,_0x2ccfb5[_0x51182f(0x234)])(_0x8b78cf,_0x33e503[_0x51182f(0x1d0)][_0x51182f(0x1ca)]),'disabled$':(0x0,_0x593aa7['getCurrentRangeDisable$'])(_0x8b78cf,{'workbookTypes':[_0x35661c[_0x51182f(0x225)]],'worksheetTypes':[],'rangeTypes':[]})};}let _0x313b4d={[_0x2ccfb5['RibbonStartGroup']['OTHERS']]:{[_0x5b6e1e['id']]:{'order':0.2,'menuItemFactory':_0x2d8a9b}}},_0x86f62=class extends _0x33e503[_0x729e61(0x1d1)]{constructor(_0x122d06,_0x7bb402,_0x301942,_0x43a8a7,_0x1922cc,_0x5c0823,_0x51c252,_0x48122c,_0x4f7c59,_0x3407d8,_0x36951a){const _0x2a7e9e=_0x729e61;super(),this[_0x2a7e9e(0x171)]=_0x122d06,this['_menuManagerService']=_0x7bb402,this[_0x2a7e9e(0x218)]=_0x301942,this[_0x2a7e9e(0x12e)]=_0x43a8a7,this['_localeService']=_0x1922cc,this[_0x2a7e9e(0x232)]=_0x5c0823,this[_0x2a7e9e(0x200)]=_0x51c252,this['_localCacheService']=_0x48122c,this[_0x2a7e9e(0xfb)]=_0x4f7c59,this[_0x2a7e9e(0x147)]=_0x3407d8,this['_urlService']=_0x36951a,_0x3335cf(this,_0x2a7e9e(0x1f3),null),this[_0x2a7e9e(0x220)]();}[_0x729e61(0x220)](){const _0x260035=_0x729e61;[_0x5b6e1e,_0x346519][_0x260035(0x1e9)](_0x313f80=>this[_0x260035(0x113)]((0x0,_0x33e503[_0x260035(0xf2)])(this[_0x260035(0x171)][_0x260035(0xf7)](_0x313f80)))),this[_0x260035(0x113)](this[_0x260035(0x218)][_0x260035(0x1e7)](_0x260035(0x1fb),_0x2658fe)),this[_0x260035(0xf9)][_0x260035(0x1fc)](_0x313b4d),this[_0x260035(0x113)](this[_0x260035(0x171)][_0x260035(0x164)](async(_0x561a3d,_0x11e5b3)=>{const _0x25ed61=_0x260035;if(_0x561a3d['id']===_0x587e83[_0x25ed61(0x122)]['id']){let {unitId:_0x452c5f}=_0x561a3d[_0x25ed61(0x1a0)];this[_0x25ed61(0x232)]['show']({'content':this[_0x25ed61(0x137)]['t'](_0x25ed61(0x11f)),'type':_0x1e7111[_0x25ed61(0x186)][_0x25ed61(0x238)],'duration':0x1388});let _0x1d3e4e=this['_collaborationController'][_0x25ed61(0x223)](_0x452c5f);_0x11e5b3!=null&&_0x11e5b3['fromCollab']?this[_0x25ed61(0x20b)](_0x1d3e4e,async()=>(setTimeout(()=>window[_0x25ed61(0x177)]['reload']()),!0x0),!0x0):this[_0x25ed61(0x20b)](_0x1d3e4e,async()=>{const _0x44db2c=_0x25ed61;let _0x45060c=this[_0x44db2c(0x147)][_0x44db2c(0x14d)](_0x33e503[_0x44db2c(0x1d0)][_0x44db2c(0x1ca)]),_0x34f2c1=_0x45060c==null?void 0x0:_0x45060c[_0x44db2c(0xe5)]();if(!_0x34f2c1)return!0x1;this[_0x44db2c(0x147)][_0x44db2c(0xfd)](_0x452c5f);let _0x48a930=await this[_0x44db2c(0xfb)]['loadUnit'](_0x452c5f,_0x33e503[_0x44db2c(0x1d0)]['UNIVER_SHEET']);return _0x48a930&&_0x48a930 instanceof _0x33e503[_0x44db2c(0x199)]?(await this[_0x44db2c(0x12f)](_0x48a930,_0x34f2c1['getSheetId']()),!0x0):!0x1;});}}));}[_0x729e61(0x20b)](_0x1f701f,_0x5a32d6,_0x2a2369=!0x1){const _0x33b8cf=_0x729e61;let _0x13fa6f=(0x0,_0x3f702b[_0x33b8cf(0x230)])([_0x1f701f[_0x33b8cf(0x142)][_0x33b8cf(0x1f5)],_0x1f701f['state$']])['subscribe'](async([_0x2d3f4c,_0x330fc6])=>{const _0x2ca7e9=_0x33b8cf;if(_0x2d3f4c['eventID']===_0x587e83[_0x2ca7e9(0x1bd)][_0x2ca7e9(0x15b)]&&(_0x330fc6==null?void 0x0:_0x330fc6[_0x2ca7e9(0x208)])===_0x2d073d[_0x2ca7e9(0x19a)][_0x2ca7e9(0x1f7)]&&_0x2d3f4c[_0x2ca7e9(0x201)][_0x2ca7e9(0xeb)][_0x2ca7e9(0xf5)](_0x43daac=>_0x43daac['id']===_0x587e83[_0x2ca7e9(0x122)]['id'])&&await _0x5a32d6()){var _0x483e93;this[_0x2ca7e9(0x12e)][_0x2ca7e9(0x158)](),_0x13fa6f[_0x2ca7e9(0x224)](),this['_revertErrorTimer']&&clearTimeout(this[_0x2ca7e9(0x1f3)]),await((_0x483e93=this[_0x2ca7e9(0x214)])==null?void 0x0:_0x483e93[_0x2ca7e9(0x107)]()),this['_messageService'][_0x2ca7e9(0x153)]();}});_0x2a2369&&(this[_0x33b8cf(0x1f3)]=setTimeout(()=>{const _0x49e82e=_0x33b8cf;_0x13fa6f[_0x49e82e(0x224)](),this[_0x49e82e(0x232)][_0x49e82e(0x1d9)]({'content':this[_0x49e82e(0x137)]['t']('editHistory.panel.revertFailed'),'type':_0x1e7111[_0x49e82e(0x186)]['Error'],'duration':0xbb8});},0x1388));}async[_0x729e61(0x12f)](_0x3cd8ee,_0x29c488){const _0x2c6eb6=_0x729e61;await this[_0x2c6eb6(0x1e4)](_0x3cd8ee,_0x29c488),_0x3cd8ee[_0x2c6eb6(0x115)]['pipe']((0x0,_0x3f702b[_0x2c6eb6(0x1b6)])(this[_0x2c6eb6(0x196)]))[_0x2c6eb6(0x1fe)](_0x535b5c=>{const _0x3cc3ed=_0x2c6eb6;_0x535b5c&&this[_0x3cc3ed(0x19d)](_0x535b5c);}),this[_0x2c6eb6(0x174)][_0x2c6eb6(0x1b0)]['pipe']((0x0,_0x3f702b['takeUntil'])(this[_0x2c6eb6(0x196)]))[_0x2c6eb6(0x1fe)](()=>this[_0x2c6eb6(0x1e4)](_0x3cd8ee,_0x29c488));}[_0x729e61(0x19d)](_0xd614c7,_0x5bce8c=!0x1){const _0x408ec5=_0x729e61;let _0x41eeb5=this[_0x408ec5(0x174)][_0x408ec5(0x22c)](_0x408ec5(0x1a6));_0xd614c7[_0x408ec5(0x202)]()!==_0x41eeb5&&this['_urlService'][_0x408ec5(0x132)]('subunit',_0xd614c7[_0x408ec5(0x202)](),_0x5bce8c);}async[_0x729e61(0x1e4)](_0x226a38,_0x392eae){const _0x44c2a4=_0x729e61;var _0x3916f8;if(!_0x392eae||!_0x226a38['getSheetBySheetId'](_0x392eae)){let _0x3b8119=_0x226a38['getUnhiddenWorksheets']()[0x0],_0x452817=_0x226a38['getSheetBySheetId'](_0x3b8119);if(!_0x452817)return;this[_0x44c2a4(0x19d)](_0x452817,!0x0),await this[_0x44c2a4(0x171)][_0x44c2a4(0x231)](_0x35661c['SetWorksheetActivateCommand']['id'],{'unitId':_0x226a38[_0x44c2a4(0x1af)](),'subUnitId':_0x3b8119});return;}((_0x3916f8=_0x226a38[_0x44c2a4(0xe5)]())==null?void 0x0:_0x3916f8[_0x44c2a4(0x202)]())!==_0x392eae&&await this[_0x44c2a4(0x171)][_0x44c2a4(0x231)](_0x35661c['SetWorksheetActivateCommand']['id'],{'unitId':_0x226a38[_0x44c2a4(0x1af)](),'subUnitId':_0x392eae});}};_0x86f62=_0x1ed2b5([_0x3570da(0x0,_0x33e503[_0x729e61(0x15d)]),_0x3570da(0x1,_0x2ccfb5[_0x729e61(0x21c)]),_0x3570da(0x2,(0x0,_0x33e503[_0x729e61(0x121)])(_0x2ccfb5[_0x729e61(0x23d)])),_0x3570da(0x3,(0x0,_0x33e503[_0x729e61(0x121)])(_0x498d99)),_0x3570da(0x4,(0x0,_0x33e503[_0x729e61(0x121)])(_0x33e503[_0x729e61(0xfe)])),_0x3570da(0x5,_0x2ccfb5[_0x729e61(0x211)]),_0x3570da(0x6,(0x0,_0x33e503['Inject'])(_0x2d073d[_0x729e61(0x15f)])),_0x3570da(0x7,_0x2d073d[_0x729e61(0x1e5)]),_0x3570da(0x8,(0x0,_0x33e503[_0x729e61(0x121)])(_0x2d073d[_0x729e61(0x131)])),_0x3570da(0x9,_0x33e503[_0x729e61(0x13e)]),_0x3570da(0xa,_0x3407da[_0x729e61(0x18d)])],_0x86f62);let _0x5eec79=_0x729e61(0x127),_0x2b9908=class extends _0x33e503[_0x729e61(0x1bf)]{constructor(_0x3bf24a,_0x258492,_0xde8044,_0x32e3d3,_0x28ccfc,_0x14d333,_0x426e85,_0x2d86f3,_0x25300e,_0x4d00e7){const _0x41f2d5=_0x729e61;super(),this[_0x41f2d5(0x137)]=_0x3bf24a,this[_0x41f2d5(0x147)]=_0x258492,this[_0x41f2d5(0x165)]=_0xde8044,this[_0x41f2d5(0x171)]=_0x32e3d3,this[_0x41f2d5(0x232)]=_0x28ccfc,this[_0x41f2d5(0x1b4)]=_0x14d333,this[_0x41f2d5(0x1c4)]=_0x426e85,this[_0x41f2d5(0x10e)]=_0x2d86f3,this['_sidebarService']=_0x25300e,this[_0x41f2d5(0x1ee)]=_0x4d00e7,_0x3335cf(this,'_historyUniver$',new _0x3f702b[(_0x41f2d5(0x1de))](null)),_0x3335cf(this,_0x41f2d5(0x189),this['_historyUniver$'][_0x41f2d5(0x140)]()),_0x3335cf(this,_0x41f2d5(0x1b9),new _0x33e503[(_0x41f2d5(0x19c))]()),_0x3335cf(this,'_pluginMap',new Map()),_0x3335cf(this,_0x41f2d5(0x241),null),this['_init']();}get[_0x729e61(0x227)](){const _0x10c5fd=_0x729e61;return this[_0x10c5fd(0x1d2)][_0x10c5fd(0x1dd)];}[_0x729e61(0x220)](){const _0xff64cb=_0x729e61;this[_0xff64cb(0x21f)](),this[_0xff64cb(0x13a)]();}['_initContainer'](){const _0x190ce6=_0x729e61;var _0x2e789a;let _0x3d5d1f=(_0x2e789a=this['_configService'][_0x190ce6(0x197)]('UNIVER_CONTAINER_ID'))==null?'univer-container':_0x2e789a,_0x48bc7b=document['getElementById'](_0x3d5d1f);if(!_0x48bc7b)return;let _0x415cd0=document[_0x190ce6(0x150)](_0x190ce6(0x1b5));_0x415cd0['id']=_0x5eec79,_0x415cd0['dataset'][_0x190ce6(0x1c5)]=_0x190ce6(0x17f),_0x415cd0[_0x190ce6(0x10f)][_0x190ce6(0x1d8)]=_0x190ce6(0x17a),_0x415cd0[_0x190ce6(0x10f)][_0x190ce6(0x1e3)]='0',_0x415cd0[_0x190ce6(0x10f)][_0x190ce6(0x105)]='0',_0x415cd0[_0x190ce6(0x10f)][_0x190ce6(0xf4)]=_0x190ce6(0x222),_0x415cd0[_0x190ce6(0x10f)]['height']=_0x190ce6(0x222),_0x415cd0[_0x190ce6(0x10f)][_0x190ce6(0x23a)]='49',_0x415cd0[_0x190ce6(0x10f)][_0x190ce6(0x18b)]=_0x190ce6(0x20d),_0x48bc7b['appendChild'](_0x415cd0);}['_initPlugins'](){const _0x290f3e=_0x729e61;[[_0x211ebb[_0x290f3e(0x10d)]],[_0x2ccfb5[_0x290f3e(0xe7)],{'container':_0x5eec79,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2ccfb5['IDialogService'],null]]}],[_0x421909['UniverNetworkPlugin']],[_0x4ec52e['UniverDrawingPlugin'],{'override':[[_0x4ec52e[_0x290f3e(0x13c)],null]]}],[_0x374f29[_0x290f3e(0x16a)],{'hasScroll':!0x1}],[_0x21656f[_0x290f3e(0x22e)]],[_0x596208[_0x290f3e(0x161)]],[_0x35661c['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x593aa7[_0x290f3e(0x163)]],[_0x706278[_0x290f3e(0x1f1)]],[_0x6fa4b[_0x290f3e(0x237)]],[_0x587e83[_0x290f3e(0x23e)]],[_0x1cca9d['UniverSheetsFilterPlugin']],[_0x61163e['UniverSheetsConditionalFormattingPlugin']],[_0xa5722f[_0x290f3e(0x1a8)]],[_0x4ca489[_0x290f3e(0x1be)]],[_0x5e6771[_0x290f3e(0x1c9)]],[_0x37178a['UniverSheetsDataValidationPlugin']],[_0xf2e32a[_0x290f3e(0x1b2)]],[_0x151834['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x562dae[_0x290f3e(0x229)]],[_0x3485dd[_0x290f3e(0x13d)]],[_0x571f78['UniverSheetsDrawingUIPlugin']],[_0x471932[_0x290f3e(0x162)]],[_0x117d6c[_0x290f3e(0x22f)]],[_0x537529[_0x290f3e(0x15c)]],[_0xfa2353[_0x290f3e(0x210)]],[_0x50c1d0[_0x290f3e(0x16c)]],[_0x4ebd30[_0x290f3e(0x14f)]],[_0x59d915[_0x290f3e(0xf8)],{'notExecuteFormula':!0x0}],[_0x4c8959[_0x290f3e(0x14a)]]][_0x290f3e(0x1e9)](([_0x7ad7bd,_0x5669c9])=>this[_0x290f3e(0x1f0)](_0x7ad7bd,_0x5669c9));}[_0x729e61(0x17e)](){const _0x468ee7=_0x729e61;super[_0x468ee7(0x17e)](),this[_0x468ee7(0x158)](),this[_0x468ee7(0x146)][_0x468ee7(0x12b)]();}['registerPlugin'](_0x2ee6ff,_0x30c711,_0x23baf9){const _0x3e05eb=_0x729e61;if(this[_0x3e05eb(0x146)][_0x3e05eb(0x138)](_0x2ee6ff[_0x3e05eb(0x166)])&&!_0x23baf9)throw Error(_0x3e05eb(0x18c)+_0x2ee6ff[_0x3e05eb(0x166)]+_0x3e05eb(0x1ea));this['_pluginMap'][_0x3e05eb(0x10a)](_0x2ee6ff[_0x3e05eb(0x166)],[_0x2ee6ff,_0x30c711]);}[_0x729e61(0x20a)](){const _0x238fcb=_0x729e61;return Array[_0x238fcb(0x184)](this[_0x238fcb(0x146)]['values']());}[_0x729e61(0x182)](_0x2a746b,_0x330e45){const _0x407d40=_0x729e61;let _0x291713=document[_0x407d40(0x102)](_0x5eec79);_0x291713&&(_0x291713['style']['display']='block',this['_initUniver'](_0x2a746b,_0x5eec79,_0x330e45));}['unMountHistoryContent'](){const _0x5b02fb=_0x729e61;var _0xf47955;this['_disposableCollection'][_0x5b02fb(0x17e)](),(_0xf47955=this[_0x5b02fb(0x227)])==null||_0xf47955[_0x5b02fb(0x17e)](),this[_0x5b02fb(0x1d2)][_0x5b02fb(0x139)](null);let _0x19bead=document['getElementById'](_0x5eec79);_0x19bead&&(_0x19bead[_0x5b02fb(0x10f)][_0x5b02fb(0x18b)]=_0x5b02fb(0x20d),this[_0x5b02fb(0x241)]&&(this['_internalWebWorker'][_0x5b02fb(0x1a4)](),this[_0x5b02fb(0x241)]=null));}[_0x729e61(0x1ac)](_0x38024a,_0x49ad81,_0x196242){const _0x2964e6=_0x729e61;var _0x3403d2,_0x364bbe,_0x2d2f86,_0x81c22b;if(this[_0x2964e6(0x227)])return;let _0x3bb341=new _0x33e503[(_0x2964e6(0x12d))]({'locales':{[this[_0x2964e6(0x137)]['getCurrentLocale']()]:this[_0x2964e6(0x137)]['getLocales']()},'override':[[_0x33e503['IAuthzIoService'],{'useClass':_0x2d073d[_0x2964e6(0x18f)]}]]}),_0x345390=_0x3bb341[_0x2964e6(0xfa)]();this['disposeWithMe'](this[_0x2964e6(0x1ee)][_0x2964e6(0x21e)][_0x2964e6(0x1fe)](_0x50a5fe=>{const _0xe2fd2d=_0x2964e6;_0x345390[_0xe2fd2d(0x190)](_0x33e503[_0xe2fd2d(0x192)])[_0xe2fd2d(0x119)](_0x50a5fe);})),this[_0x2964e6(0x113)](this['_themeService'][_0x2964e6(0x110)][_0x2964e6(0x1fe)](_0x16cc68=>{const _0x2bb869=_0x2964e6;_0x345390[_0x2bb869(0x190)](_0x33e503['ThemeService'])[_0x2bb869(0x172)](_0x16cc68);})),_0x345390[_0x2964e6(0x190)](_0x33e503[_0x2964e6(0xfe)])[_0x2964e6(0xe4)](this[_0x2964e6(0x137)][_0x2964e6(0x1b7)]()),_0x345390[_0x2964e6(0x190)](_0x33e503[_0x2964e6(0x14e)])[_0x2964e6(0x1d3)](_0x2d073d[_0x2964e6(0x17b)],this[_0x2964e6(0x165)][_0x2964e6(0x197)](_0x2d073d[_0x2964e6(0x17b)]));let _0x30b295=this[_0x2964e6(0x165)][_0x2964e6(0x197)](_0x20dc7b[_0x2964e6(0x1f9)]);_0x30b295&&_0x3bb341[_0x2964e6(0x1f0)](_0x20dc7b[_0x2964e6(0x194)],{'license':_0x30b295['ls']});let _0x3abd1d=(_0x3403d2=this['_configService']['getConfig'](_0x2964e6(0x108)))==null?void 0x0:_0x3403d2[_0x2964e6(0x16b)],_0x3c9977=!!_0x3abd1d;_0x3c9977&&(this[_0x2964e6(0x241)]=_0x3abd1d instanceof Worker?_0x3abd1d:null,_0x3bb341['registerPlugin'](_0x41a677['UniverRPCMainThreadPlugin'],{'workerURL':_0x3abd1d})),this[_0x2964e6(0x146)][_0x2964e6(0x1e9)](([_0x474808,_0x3336b4])=>{const _0x4d977f=_0x2964e6;_0x3bb341[_0x4d977f(0x1f0)](_0x474808,_0x3336b4);}),_0x3bb341[_0x2964e6(0x1f0)](_0x2cd9b2[_0x2964e6(0x185)],{'historyListServerUrl':(_0x364bbe=this[_0x2964e6(0x165)][_0x2964e6(0x197)](_0x2964e6(0x108)))==null?void 0x0:_0x364bbe['historyListServerUrl'],'historyPanelComponentKey':(_0x2d2f86=this[_0x2964e6(0x165)][_0x2964e6(0x197)]('edit-history-loader.config'))==null?void 0x0:_0x2d2f86['historyPanelComponentKey'],'historyPanelHidden':(_0x81c22b=this[_0x2964e6(0x165)][_0x2964e6(0x197)](_0x2964e6(0x108)))==null?void 0x0:_0x81c22b[_0x2964e6(0x1da)]}),_0x345390[_0x2964e6(0xe9)](_0x5889c0=>{const _0x32e818=_0x2964e6;this[_0x32e818(0x20e)](_0x5889c0,_0x38024a);}),this[_0x2964e6(0x1d2)][_0x2964e6(0x139)](_0x3bb341);let _0x5b6c96=_0x345390['get'](_0x2cd9b2[_0x2964e6(0x1df)]),_0x54c0df=this[_0x2964e6(0xec)](_0x38024a),_0x411590=()=>{const _0x50fe76=_0x2964e6;_0x196242?_0x5b6c96[_0x50fe76(0xf0)](_0x38024a,_0x49ad81,_0x54c0df,_0x196242):_0x5b6c96[_0x50fe76(0xff)](_0x38024a,_0x49ad81,_0x54c0df);};if(this[_0x2964e6(0x232)][_0x2964e6(0x1d9)]({'content':this[_0x2964e6(0x137)]['t']('editHistory.info.initializing'),'type':_0x1e7111[_0x2964e6(0x186)][_0x2964e6(0x238)]}),_0x3c9977)try{_0x345390['get'](_0x41a677['IRemoteInstanceService'])[_0x2964e6(0x144)]()[_0x2964e6(0xf1)](()=>{_0x411590();});}catch{_0x411590();}else _0x411590();}[_0x729e61(0x20e)](_0x4f9203,_0x1690bb){const _0x5143c2=_0x729e61;let _0x52536e=_0x4f9203[_0x5143c2(0x190)](_0x2cd9b2[_0x5143c2(0x1df)]);this[_0x5143c2(0x1b9)][_0x5143c2(0x193)](_0x52536e[_0x5143c2(0x1f8)][_0x5143c2(0x1fe)](_0x3ff021=>{const _0x4683ae=_0x5143c2;switch(_0x3ff021){case _0x2cd9b2[_0x4683ae(0x111)][_0x4683ae(0x130)]:this[_0x4683ae(0x10e)]['closeAll'](),this['_sidebarService'][_0x4683ae(0x151)]();break;case _0x2cd9b2[_0x4683ae(0x111)][_0x4683ae(0x1ce)]:this['_commandService'][_0x4683ae(0x231)](_0x346519['id']),this[_0x4683ae(0x158)]();break;case _0x2cd9b2['HistoryModeStatus'][_0x4683ae(0x1db)]:this[_0x4683ae(0x158)](),this['_messageService'][_0x4683ae(0x1d9)]({'content':this[_0x4683ae(0x137)]['t'](_0x4683ae(0x129)),'type':_0x1e7111[_0x4683ae(0x186)][_0x4683ae(0x1db)],'duration':0xbb8});break;default:break;}})),this[_0x5143c2(0x1b9)][_0x5143c2(0x193)](_0x52536e['revertRevision$']['subscribe'](async _0x304a93=>{const _0x421195=_0x5143c2;_0x304a93&&this[_0x421195(0x171)][_0x421195(0x231)](_0x587e83[_0x421195(0x122)]['id'],{'unitId':_0x1690bb,'revision':_0x304a93});}));}[_0x729e61(0xec)](_0x24507f){const _0xc13654=_0x729e61;let _0x2c0277=this[_0xc13654(0x147)][_0xc13654(0x233)](_0x24507f)['getSheets']()[_0xc13654(0x12a)](_0x59a340=>_0x59a340[_0xc13654(0x202)]()),_0x30e764=new _0x35661c[(_0xc13654(0x15a))](_0x24507f)['id'],_0x57a72c=_0x2c0277[_0xc13654(0x12a)](_0x2ebdc6=>new _0x35661c[(_0xc13654(0x226))](_0x24507f,_0x2ebdc6)['id']),_0x51d906=_0x2c0277[_0xc13654(0x12a)](_0x5352b5=>this[_0xc13654(0x1c4)]['getSubunitRuleList'](_0x24507f,_0x5352b5)[_0xc13654(0x12a)](_0x5267a1=>new _0x35661c[(_0xc13654(0x167))](_0x24507f,_0x5352b5,_0x5267a1[_0xc13654(0x1e0)])['id']))[_0xc13654(0x124)](),_0x5608d2=new _0x35661c[(_0xc13654(0x1bb))](_0x24507f)['id'];return this[_0xc13654(0x1b4)][_0xc13654(0x170)]([_0x30e764,..._0x57a72c,..._0x51d906,_0x5608d2])['every'](_0xbe16ad=>!!_0xbe16ad[_0xc13654(0x1dd)]);}};_0x2b9908=_0x1ed2b5([_0x3570da(0x0,(0x0,_0x33e503[_0x729e61(0x121)])(_0x33e503[_0x729e61(0xfe)])),_0x3570da(0x1,_0x33e503[_0x729e61(0x13e)]),_0x3570da(0x2,_0x33e503[_0x729e61(0x14e)]),_0x3570da(0x3,_0x33e503['ICommandService']),_0x3570da(0x4,_0x2ccfb5[_0x729e61(0x211)]),_0x3570da(0x5,_0x33e503[_0x729e61(0x1c1)]),_0x3570da(0x6,(0x0,_0x33e503[_0x729e61(0x121)])(_0x35661c[_0x729e61(0x1a9)])),_0x3570da(0x7,(0x0,_0x33e503[_0x729e61(0x121)])(_0x2ccfb5[_0x729e61(0x157)])),_0x3570da(0x8,(0x0,_0x33e503['Inject'])(_0x2ccfb5[_0x729e61(0x217)])),_0x3570da(0x9,(0x0,_0x33e503[_0x729e61(0x121)])(_0x33e503[_0x729e61(0x192)]))],_0x2b9908);let _0xa53a63=class extends _0x33e503[_0x729e61(0x100)]{constructor(_0x5f4faa=_0x44638a,_0x2194fe,_0x55632a){const _0x20d19d=_0x729e61;super(),this[_0x20d19d(0x17d)]=_0x5f4faa,this[_0x20d19d(0x1cd)]=_0x2194fe,this[_0x20d19d(0x165)]=_0x55632a;let {menu:_0x3042f5,..._0x3dab8b}=(0x0,_0x33e503[_0x20d19d(0x1e8)])({},_0x44638a,this['_config']);_0x3042f5&&this[_0x20d19d(0x165)]['setConfig'](_0x20d19d(0xee),_0x3042f5,{'merge':!0x0}),this[_0x20d19d(0x165)][_0x20d19d(0x1d3)](_0x40521f,_0x3dab8b),this[_0x20d19d(0x17d)][_0x20d19d(0x1ba)]&&this[_0x20d19d(0x165)][_0x20d19d(0x1d3)](_0x20d19d(0x228),this[_0x20d19d(0x17d)][_0x20d19d(0x1ba)]);}[_0x729e61(0x18e)](){const _0x30995b=_0x729e61;[[_0x498d99,{'useClass':_0x2b9908}],[_0x86f62]]['forEach'](_0x4d9b02=>this[_0x30995b(0x1cd)][_0x30995b(0x193)](_0x4d9b02));}[_0x729e61(0x1e6)](){const _0x1fd826=_0x729e61;this[_0x1fd826(0x1cd)][_0x1fd826(0x190)](_0x86f62);}};_0x3335cf(_0xa53a63,_0x729e61(0x191),_0x33e503[_0x729e61(0x1d0)][_0x729e61(0x235)]),_0x3335cf(_0xa53a63,_0x729e61(0x166),'UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN'),_0x3335cf(_0xa53a63,_0x729e61(0x1f6),_0x4eb0cf),_0x3335cf(_0xa53a63,_0x729e61(0x1bc),_0x100201),_0xa53a63=_0x1ed2b5([(0x0,_0x33e503['DependentOn'])(_0x20dc7b[_0x729e61(0x194)]),_0x3570da(0x1,(0x0,_0x33e503[_0x729e61(0x121)])(_0x33e503['Injector'])),_0x3570da(0x2,_0x33e503[_0x729e61(0x14e)])],_0xa53a63);let _0x48c3fb=class extends _0x33e503[_0x729e61(0x1d1)]{constructor(_0x11434e,_0x24922b,_0x3e0590,_0x46898f,_0x37beb0,_0x47a442,_0x1344b7,_0x3a32a2,_0x328c6b,_0x2e1a1f,_0x4587a6){const _0x135f5d=_0x729e61;super(),this['_commandService']=_0x11434e,this['_menuManagerService']=_0x24922b,this[_0x135f5d(0x218)]=_0x3e0590,this['_historyManagerService']=_0x46898f,this['_localeService']=_0x37beb0,this[_0x135f5d(0x232)]=_0x47a442,this[_0x135f5d(0x200)]=_0x1344b7,this[_0x135f5d(0x214)]=_0x3a32a2,this[_0x135f5d(0xfb)]=_0x328c6b,this['_univerInstanceService']=_0x2e1a1f,this[_0x135f5d(0x174)]=_0x4587a6,_0x3335cf(this,_0x135f5d(0x1f3),null),this['_init']();}[_0x729e61(0x220)](){const _0x48ad9e=_0x729e61;[_0x5b6e1e,_0x346519][_0x48ad9e(0x1e9)](_0x4c5b69=>this[_0x48ad9e(0x113)]((0x0,_0x33e503[_0x48ad9e(0xf2)])(this['_commandService'][_0x48ad9e(0xf7)](_0x4c5b69)))),this[_0x48ad9e(0x113)](this['_componentManager']['register']('HistoryIcon',_0x2658fe)),this[_0x48ad9e(0xf9)][_0x48ad9e(0x1fc)](_0x313b4d),this[_0x48ad9e(0x113)](this[_0x48ad9e(0x171)][_0x48ad9e(0x164)](async(_0x2eb768,_0xbbaee)=>{const _0x109d20=_0x48ad9e;if(_0x2eb768['id']===_0x587e83[_0x109d20(0x122)]['id']){let {unitId:_0x3559e9}=_0x2eb768['params'];this['_messageService'][_0x109d20(0x1d9)]({'content':this[_0x109d20(0x137)]['t'](_0x109d20(0x11f)),'type':_0x1e7111['MessageType'][_0x109d20(0x238)],'duration':0x1388});let _0x4499cc=this['_collaborationController'][_0x109d20(0x223)](_0x3559e9);_0xbbaee!=null&&_0xbbaee[_0x109d20(0x1a1)]?this[_0x109d20(0x20b)](_0x4499cc,async()=>(setTimeout(()=>window[_0x109d20(0x177)][_0x109d20(0x117)]()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x4499cc,async()=>{const _0x565993=_0x109d20;let _0x37dbed=this['_univerInstanceService'][_0x565993(0x14d)](_0x33e503[_0x565993(0x1d0)][_0x565993(0x1ca)]),_0xa11abd=_0x37dbed==null?void 0x0:_0x37dbed[_0x565993(0xe5)]();if(!_0xa11abd)return!0x1;this[_0x565993(0x147)][_0x565993(0xfd)](_0x3559e9);let _0x212bad=await this['_dataLoaderService'][_0x565993(0x1eb)](_0x3559e9,_0x33e503[_0x565993(0x1d0)][_0x565993(0x1ca)]);return _0x212bad&&_0x212bad instanceof _0x33e503[_0x565993(0x199)]?(await this['_setupSubUnitSync'](_0x212bad,_0xa11abd[_0x565993(0x202)]()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x6fafa9,_0x503e71,_0x3efa21=!0x1){const _0x22f930=_0x729e61;let _0x45d759=(0x0,_0x3f702b[_0x22f930(0x230)])([_0x6fafa9[_0x22f930(0x142)][_0x22f930(0x1f5)],_0x6fafa9[_0x22f930(0x112)]])[_0x22f930(0x1fe)](async([_0x2d5bfc,_0x49c7fe])=>{const _0x4d7728=_0x22f930;if(_0x2d5bfc[_0x4d7728(0x205)]===_0x587e83[_0x4d7728(0x1bd)][_0x4d7728(0x15b)]&&(_0x49c7fe==null?void 0x0:_0x49c7fe['status'])===_0x2d073d[_0x4d7728(0x19a)][_0x4d7728(0x1f7)]&&_0x2d5bfc[_0x4d7728(0x201)][_0x4d7728(0xeb)][_0x4d7728(0xf5)](_0x460f24=>_0x460f24['id']===_0x587e83[_0x4d7728(0x122)]['id'])&&await _0x503e71()){var _0x4547b6;this[_0x4d7728(0x12e)][_0x4d7728(0x158)](),_0x45d759['unsubscribe'](),this[_0x4d7728(0x1f3)]&&clearTimeout(this['_revertErrorTimer']),await((_0x4547b6=this['_localCacheService'])==null?void 0x0:_0x4547b6[_0x4d7728(0x107)]());}});_0x3efa21&&(this[_0x22f930(0x1f3)]=setTimeout(()=>{const _0x25e86b=_0x22f930;_0x45d759[_0x25e86b(0x224)](),this['_messageService'][_0x25e86b(0x1d9)]({'content':this[_0x25e86b(0x137)]['t']('editHistory.panel.revertFailed'),'type':_0x1e7111['MessageType'][_0x25e86b(0x1db)],'duration':0xbb8});},0x1388));}async[_0x729e61(0x12f)](_0x381886,_0x3091ec){const _0x332186=_0x729e61;await this[_0x332186(0x1e4)](_0x381886,_0x3091ec),_0x381886[_0x332186(0x115)][_0x332186(0x1d6)]((0x0,_0x3f702b[_0x332186(0x1b6)])(this[_0x332186(0x196)]))[_0x332186(0x1fe)](_0x1432a5=>{const _0x1beb60=_0x332186;_0x1432a5&&this[_0x1beb60(0x19d)](_0x1432a5);}),this[_0x332186(0x174)][_0x332186(0x1b0)][_0x332186(0x1d6)]((0x0,_0x3f702b[_0x332186(0x1b6)])(this['dispose$']))[_0x332186(0x1fe)](()=>this['_updateSubUnitFromURLParams'](_0x381886,_0x3091ec));}[_0x729e61(0x19d)](_0x653766,_0x1bd178=!0x1){const _0x2658f2=_0x729e61;let _0x4e1ff2=this['_urlService'][_0x2658f2(0x22c)]('subunit');_0x653766[_0x2658f2(0x202)]()!==_0x4e1ff2&&this[_0x2658f2(0x174)]['setParam'](_0x2658f2(0x1a6),_0x653766['getSheetId'](),_0x1bd178);}async[_0x729e61(0x1e4)](_0x5c6e94,_0xaf006e){const _0x31334e=_0x729e61;var _0x306e11;if(!_0xaf006e||!_0x5c6e94[_0x31334e(0x1fd)](_0xaf006e)){let _0x2463d7=_0x5c6e94[_0x31334e(0x160)]()[0x0],_0x1b33ad=_0x5c6e94[_0x31334e(0x1fd)](_0x2463d7);if(!_0x1b33ad)return;this[_0x31334e(0x19d)](_0x1b33ad,!0x0),await this[_0x31334e(0x171)][_0x31334e(0x231)](_0x35661c['SetWorksheetActivateCommand']['id'],{'unitId':_0x5c6e94[_0x31334e(0x1af)](),'subUnitId':_0x2463d7});return;}((_0x306e11=_0x5c6e94['getActiveSheet']())==null?void 0x0:_0x306e11['getSheetId']())!==_0xaf006e&&await this[_0x31334e(0x171)][_0x31334e(0x231)](_0x35661c['SetWorksheetActivateCommand']['id'],{'unitId':_0x5c6e94['getUnitId'](),'subUnitId':_0xaf006e});}};_0x48c3fb=_0x1ed2b5([_0x3570da(0x0,_0x33e503[_0x729e61(0x15d)]),_0x3570da(0x1,_0x2ccfb5['IMenuManagerService']),_0x3570da(0x2,(0x0,_0x33e503[_0x729e61(0x121)])(_0x2ccfb5[_0x729e61(0x23d)])),_0x3570da(0x3,(0x0,_0x33e503[_0x729e61(0x121)])(_0x498d99)),_0x3570da(0x4,(0x0,_0x33e503[_0x729e61(0x121)])(_0x33e503[_0x729e61(0xfe)])),_0x3570da(0x5,_0x2ccfb5[_0x729e61(0x211)]),_0x3570da(0x6,(0x0,_0x33e503[_0x729e61(0x121)])(_0x2d073d[_0x729e61(0x15f)])),_0x3570da(0x7,_0x2d073d[_0x729e61(0x1e5)]),_0x3570da(0x8,(0x0,_0x33e503['Inject'])(_0x2d073d[_0x729e61(0x131)])),_0x3570da(0x9,_0x33e503[_0x729e61(0x13e)]),_0x3570da(0xa,_0x3407da[_0x729e61(0x18d)])],_0x48c3fb);let _0x1e25ca=class extends _0x33e503['Plugin']{constructor(_0x1ad356=_0x44638a,_0x369906,_0x410e54){const _0x48863c=_0x729e61;super(),this[_0x48863c(0x17d)]=_0x1ad356,this[_0x48863c(0x1cd)]=_0x369906,this[_0x48863c(0x165)]=_0x410e54;let {menu:_0x3d8e8c,..._0x464b1c}=(0x0,_0x33e503['merge'])({},_0x44638a,this[_0x48863c(0x17d)]);_0x3d8e8c&&this[_0x48863c(0x165)][_0x48863c(0x1d3)](_0x48863c(0xee),_0x3d8e8c,{'merge':!0x0}),this[_0x48863c(0x165)][_0x48863c(0x1d3)](_0x40521f,_0x464b1c),this['_config'][_0x48863c(0x1ba)]&&this['_configService'][_0x48863c(0x1d3)](_0x1834e9,this[_0x48863c(0x17d)][_0x48863c(0x1ba)]);}[_0x729e61(0x18e)](){const _0x6ff21f=_0x729e61;[[_0x498d99],[_0x48c3fb]][_0x6ff21f(0x1e9)](_0x292f62=>this[_0x6ff21f(0x1cd)]['add'](_0x292f62));}[_0x729e61(0x1e6)](){const _0x19eb00=_0x729e61;this[_0x19eb00(0x1cd)]['get'](_0x48c3fb);}};_0x3335cf(_0x1e25ca,_0x729e61(0x191),_0x33e503[_0x729e61(0x1d0)]['UNIVER_UNKNOWN']),_0x3335cf(_0x1e25ca,_0x729e61(0x166),_0x729e61(0x155)),_0x3335cf(_0x1e25ca,_0x729e61(0x1f6),_0x4eb0cf),_0x3335cf(_0x1e25ca,'version',_0x100201),_0x1e25ca=_0x1ed2b5([(0x0,_0x33e503[_0x729e61(0x145)])(_0x20dc7b['UniverLicensePlugin']),_0x3570da(0x1,(0x0,_0x33e503[_0x729e61(0x121)])(_0x33e503['Injector'])),_0x3570da(0x2,_0x33e503['IConfigService'])],_0x1e25ca),_0x13809c[_0x729e61(0x152)]=_0x40521f,Object[_0x729e61(0x19f)](_0x13809c,_0x729e61(0x1b1),{'enumerable':!0x0,'get':function(){return _0x498d99;}}),Object[_0x729e61(0x19f)](_0x13809c,_0x729e61(0x1c0),{'enumerable':!0x0,'get':function(){return _0x2b9908;}}),_0x13809c[_0x729e61(0x148)]=_0x5b6e1e,_0x13809c[_0x729e61(0x11d)]=_0x1834e9,_0x13809c[_0x729e61(0x1e1)]=_0x4ef970,Object[_0x729e61(0x19f)](_0x13809c,'UniverEditHistoryLoaderMobilePlugin',{'enumerable':!0x0,'get':function(){return _0xa53a63;}}),Object['defineProperty'](_0x13809c,_0x729e61(0x181),{'enumerable':!0x0,'get':function(){return _0x1e25ca;}});}));
|
|
21
21
|
|
|
22
22
|
// index
|
|
23
23
|
(function(r,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(r=typeof globalThis<"u"?globalThis:r||self,o(r.UniverPresetSheetsCollaboration={},r.UniverProCollaboration,r.UniverProCollaborationClient,r.UniverProCollaborationClientUi,r.UniverProEditHistoryLoader))})(this,(function(r,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0,enableFrontendLog:d=!1,historyWorkerURL:b}=n,e=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${e}/universer-api/authz`,snapshotServerUrl:`${e}/universer-api/snapshot`,collabSubmitChangesetUrl:`${e}/universer-api/comb`,collabWebSocketUrl:s(`${e}/universer-api/comb/connect`),loginUrlKey:`${e}/universer-api/oidc/authpage`,uploadFileServerUrl:`${e}/universer-api/stream/file/upload`,signUrlServerUrl:`${e}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${e}/`,wsSessionTicketUrl:`${e}/universer-api/user/session-ticket`,startFormulaLimitUrl:`${e}/universer-api/license/formula/limit/start`,getFormulaLimitStatusUrl:`${e}/universer-api/license/formula/limit/status`,releaseFormulaLimitUrl:`${e}/universer-api/license/formula/limit/done`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{enableFrontendLog:d}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${e}/universer-api/history`,workerURL:b}]]}}r.UniverSheetsCollaborationPreset=u,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));
|