@univerjs/preset-sheets-collaboration 0.22.0 → 0.23.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 CHANGED
@@ -1,23 +1,23 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x3817(_0x4bf68c,_0x2f5501){_0x4bf68c=_0x4bf68c-0x17e;const _0x4e0160=_0x4e01();let _0x38173b=_0x4e0160[_0x4bf68c];return _0x38173b;}function _0x4e01(){const _0x1a212c=['snapshot','[PendingState]:\x20received\x20rejection.','_sendingTimer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','AwaitingState','_replaceFileID','COMPRESS_MUTATION_APPLY','onTransformRemoteChangesetByIMECache','commentUpdate$','getActiveSheet','_status$','unitId','isArray','forEach','compose','FETCH_MISSING','HELLO','_shouldReportTelemetry','fetchMiss','IPermissionService','_checkMissing','_onUserLeave','UniverProLicense','CollaborationUIEventId','_telemetryService','_handler','equals','result','_acknowledgeAwaiting','_undoStacks','6BSioIJ','_removeRoom','LocalUndoRedoService','onMutationExecutedForCollab','deserializeToCombResponse','refreshPermission','nonceLength','href','CmdRspCode','requestParams','PendingState','_timeoutTimer','SUCCUSS','_submitChangeset','onRemoteChangeset','People','startTime','getUnitType','AuthzIoHttpService','subarray','CommentService','addHandlerCallback','UniverProCollaborationClient','_commentUpdate$','enableAuthServer','ImageSourceType','HEARTBEAT','textEncoder','pauseCollaboration','not_collab','/object','positive\x20integer\x20expected,\x20got\x20','[SyncedState]:\x20received\x20acknowledgement.','IConfigService','PERMISSION_DENIED','_entityInit$','routeKey','transformStack\x20failed!','conflict','delete','entries','CollaborationSessionService','_executeRemoteChangeset','output','_onOffline','ws://127.0.0.1:8000/universer-api/comb/connect','socketService','[SyncedState]:\x20received\x20rejection.','_createInitialStateImpl','_type','_replayCachedMutations','_localeService','members','SHOULD_CLOSE_CONN','send','asObservable','_incrementRevisionNumber','HEARTBEAT_TIMEOUT_KEY','2219497nKQhwk','_socketMessageSubscription','isPermissionRej','close','UniverProtocol','POST','toString','saveChangeset','1147131LEBBOx','ImageUploadStatusType','INGEST','copyFileMeta','_toggleOffline','_onMessage','filter','loadUnit','getTypeOfUnitDisposed$','_clearHeartbeatTimer','_listenToNetworkCondition','getFocusedUnit','[PendingState]:\x20received\x20acknowledgement.','SOCKET_FAILED','/block/','PENDING','[OfflineState]:\x20received\x20rejection.','_telemetryInfo','CollaborationController','_transformAndApplyRemoteChangeset','PERSON','COMPRESS_MUTATION_SEND','cfgEnableObjInherit','IMentionIOService','originalMeta','_collaborationTimeoutTimer','packageName','_transformRemoteChangesetByIMECache','uploadFileServerUrl','_stopTelemetryCollaborationNewChangeset','getRandomValues','collaboration_new_changeset','_throwTelemetryCollaborationNewChangeset','_socket$','Quantity','LocaleService','key','_socketService','_acknowledgeAwaitingIfReady','listCollaborators','_transformIMECache','findIndex','onCommentUpdate','next','_exhaustRemoteChangesetQueue','_eventService','HTTPService','set','NOT_COLLAB','_decreaseWaiting','/allowed','find','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','enableOfflineEditing','concatMap','loadUnitOfRevision','localCacheService','onTransformRemoteChangesetByStateCache','_handlerCallback','_retryConnectingTimer','_updateState','_onRemoteRetry','AWAITING','UnitStatus','cmd','/-/object/-/batch_allowed','SetSelectionsOperation','sendChangesetTimeout','_sendHeartbeat','enableCollaboration','mapDocumentTypeToUniverInstanceType','DocCollaborationEntity','_init','BASE64','then','2196795qMsxMj','collaMsg','encrypt','CollaborationEvent','put','length','_startTelemetryCollaborationNewChangeset','getUnit','onload','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_DOC','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','enableSingleActiveInstanceLock','decrypt','_roomCreated$','/unit/','uuidv4','missingChangesets','_schedule','expected\x20Uint8Array','init','collabWebSocketUrl','DEFAULT_COLLAB_WEB_SOCKET_URL','assign','ERROR_IMAGE_TYPE','_onRecvEvent','OFFLINE','_onRemoteRejected','action','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','subUnitId','tagLength','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','JOIN_ROOM_FULL','objects','univer-pro.collaboration-client-socket-service','memberID','_onRemoteACK','registerHTTPInterceptor','csAckEvent','ReplaySubject','getValue','state$','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','_cfgEnableObjInherit','resolve','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onRemoteAck','[CollaborationState]:\x20apply\x20error!','serializeCombRequest','JOIN','getInterceptPoints','_resendTimer','m2Prime','file','socket\x20close','@univerjs/sheets','_sheetTransformSelectionsService','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','onSendChangeset','LEAVE','toPrimitive','encodeURIComponent','_imageSourceCache','slice','string','_change$','IImageIoService','snapshotServerUrl','shareReplay','univer-pro.collaboration-client.single-active-unit-service','isTransformMutationsWithChangesetSuccess','DataLoaderService','UNISCRIPT_RUN','ILogService','COMMENT_UPDATE','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','PERMISSION_REJ','_emitMembers','now','_sessionStatus$','update','isInternalEditorID','getTime','dispose$','readAsDataURL','buffer','length=','_createInitialState','synced','_onConnectionFailed','[CollaborationSession]','takeUntil','/universer-api/oidc/authpage','_unlockTransition','toDisposable','sessionStatus$','exports','reject','data','_getCtorByUniverInstanceType','userID','/universer-api/user/session-ticket','isSafeInteger','awaitingChangeset','fetch_missing','SnapshotService','_waitCount','localeService','c1Prime','_compressMutationService','_acknowledgedAwaitingRevision','resourceIDs','stringify','pipe','_socketReady','_rescheduleHeartbeat','_httpService','collaboration-client.config','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_logService','_transformStateCache','getCurrentUser','session.room-permission-denied','[UniverCollaborationClientPlugin]','_transformService','number\x20expected,\x20got\x20','getMember','BYTES_PER_ELEMENT','loadOfflineData','_queuedRemoteChangesets','connection\x20error','FileId','JOIN_ROOM_PERMISSION_DENIED','RECV','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','createCollaborator','getDeserializedSheetBlock','UniverDocs','_getRedoStack','awaiting_with_pending','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onLocalMutation','CompressMutationService','_collaborationPaused','telemetry\x20info\x20is\x20not\x20initialized','sessionStatus','&to=','_substituteRedoStack','?url=','_networkConditionService','4RUaols','@univerjs/docs','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','_initDependencies','[DataLoaderService]','close$','3654215CQEQAn','\x20-\x20','waitForRoom$','@univerjs-pro/license','joinRsp','signUrlServerUrl','transformSelections','min','focused$','[OfflineState]:\x20received\x20acknowledgement.','UniverNetworkPlugin','loadDoc','_state$','online$','method','CommandType','fromCollab','LIVESHARE_REQUEST_HOST','updateCursorEvent','_clearScheduledTask','code','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_updateStatus','fetching\x20missing\x20changesets\x20from\x20','debug','title','_clearLocalCache','socket\x20open.','IDLE','batchAllowed','getCurrentRevOfUnit','_getDownloadEndpointURL',',\x20got\x20','removeMember','LIVESHARE_FETCH_OPERATIONS','[FetchMissState]','size','getCfgEnableObjInherit','Disposable','requireSession','_changesetReqId','_clearCollaborationTimeoutTimer','default','override','isTransformMutationsWithChangesetFailure','objectType','onMissedChangesetFetched','@univerjs/core','_undoRedoService','save\x20fail\x20reason\x20is\x20','_remoteChangesetQueue','append','IAuthzIoService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','baseRev','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','&source=','createInstance','_registerDependencies','OTHER_CLIENTS_EDITING','_doCreateSocket','_fetchMissChangesets','get','/resources','merge','headers','SheetCollaborationEntity','unit','sort','SYNCED','commentUpdateEvent','UniverInstanceType','USERS_ENTER','error$','LIVESHARE_NEW_HOST','prototype','_onFetchMissResult','fetchThroughInterceptors','UPDATE_PERMISSION_OBJ','16265160yCwFvX','?size=','_snapshotService','_transformRemoteChangesetByStateCache','target','getWorkbookSelections','_initMergeInterceptor','mutations','onRemoteRej','getMemberID','fetchMissingChangesets','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getUnitId','_entities','/universer-api/file/{fileID}/sign-url','UNIVER_COLLABORATION_CLIENT_PLUGIN','deleteCollaborator','CollaborationSession','clear','_snapshotServerService','_transformUndoredo','Optional','CollaborationEntity','updateOfflineData','transformUndoRedo','replace','\x0aCurrent:\x20','_getSendChangesetTimeout','unitInfo$','_applyRemoteChangeset','pending','_pendingMutations','readyForCollab','_userManagerService','_HTTPService','parseProtocolChangeset','ICollaborationSocketService','unit-cache-','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_singleActiveUnitService','_getAPIPrefixPath','responseType','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getCurrentRevision','message$','BehaviorSubject','CombCmd','CHANGESET_ACK','_initRequestHeader','_maxTotalRetryTimeout','univer-pro.collaboration-client.network-condition.service','post','byteLength','_onConnectionOpen','unknown','AwaitingWithPendingState','getImageSourceCache','SNAPSHOT_URL_KEY','_onConflict','objectActions','_handleRemoteChangesets','add','onStateChange','UNIVER_SHEET','/new_changes','HEARTBEAT_TIMEOUT','JOIN_ROOM_NOT_EXISTS','submit\x20changeset\x20error!','ITransformService','UPDATE_CURSOR','rxjs','session.room-not-exists','toHex','_members$','UUID','/-/object/list','string\x20expected','SessionStatus','number','_univerInstanceService','location','_collaborationSessionService','closeSession','_clearRetryConnectingTimer','4625960CcnzJN','from','_toggleOnline','FAIL','url','Tools','floor','_waitForHeartbeatResponse','session.room-cnt-exceeds','_transformSelections','/collaborator','OTHER_CLIENT_EDITING','has','getConfig','_updateLocalCache','eventID','symbol','resend','selections','fromHex','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','status','EmptyMutationInfo','IUndoRedoService','unsubscribe','updatePermissionPoint','loginUrlKey','rev','UniverNetwork','LIVESHARE_OPERATION','ThresholdInterceptorFactory','crypto.getRandomValues\x20must\x20be\x20defined','[CollaborationEntity]','create','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','onMissingChangesets','_roomMembers','0.22.0','/universer-api/authz','ISingleActiveUnitService','DisposableCollection','_createHandler','ITelemetryService','list','IUniverInstanceService','NO_OTHER_CLIENTS_EDITING','MemberService','\x20to\x20','_sendHeartbeatTimer','ErrorCode','__splitChunk__','_instanceService','/universer-api/comb','_awaitingChangeset','@univerjs-pro/collaboration','/fetchmissing?from=','_getSignURL','setCfgEnableObjInherit','HEARTBEAT_INTERVAL','ISocketService','_syncEditingCollabCursor','_showConflictNotification','saveImage','sheets','UniverLicensePlugin','\x20in\x20_schedule.','getSheetBlock','Uint8Array','Wrong\x20sbox\x20length','DEFAULT_WS_SESSION_TICKET_URL','newCsEvent','encode','_getUndoStack','awaiting','RETRY_CONNECTING_MAX_COUNT','_state','/universer-api/snapshot','_injector','splice','_permissionService','getUnitOnRev','Inject','reqId','onRemoteRetry','GLOBAL_ROOMS_CNT_EXCEEDS','auth.needGotoLoginAlert','authzUrl','resolveWithBasePath','complete','UniverCollaborationClientPlugin','leaveEvent','getGlobalObject','defineProperty','cipher\x20output\x20not\x20supported','Error\x20on\x20receiving\x20event','getUnitStatus$','_getAPIPrefix','_collaborationUIEventService','createIdentifier','session','getLatestCsReqIdBySid','UniverProCollaboration','LIVESHARE_TERMINATE','onTransformIME','RevisionService','sequenceExecute','_unitID','getTypeOfUnitAdded$','getCollabEntity','capture','setWaitCount','_memberService','getOwnPropertyDescriptor','indexOf','_localCacheService','parse','CHANGESET_REJ','textRanges','CollaborationSocketService','_lockTransition','@univerjs/telemetry','executeCommand','registerDependencies','[OfflineState]:\x20received\x20changeset.','CHANGESET_SHOULD_RETRY','object','firstValueFrom','nonce','reverse','shouldCloseConn','isTransformChangesetsSuccess','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','members$','onlyLocal','setCurrentUser','UniverDrawing','reconnect','_isEchoedAwaitingChangeset','ONLINE','onSyncEditingCollabCursor','_candidateSocket','2ghFEzY','_tryEnsureSocket','includes','interceptor','WorkbookEditablePermission','/universer-api/uniscript','subject','disposeWithMe','collabSubmitChangesetUrl','hostname','_collabSessionService','error','_clearRedo','disablePadding','failed\x20to\x20apply\x20missed\x20changesets!','UniverCore','_event$','reduce','_scheduleCollaborationTimeoutTimer','open$','change$','sid','editing\x20status\x20changed\x20to','_configService','RxDisposable','_members','collaboratorID','createSocket','updateCollaborator','dispose','PSEUDO_FETCH_MISSING_RESULT','UnitEmbedded','MSG_FOR_ERROR','status$','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','updatePermissionObjEvent','AAD','FETCH_MISS','apply','onTransformState','UserManagerService','_config','SOCKET_FAILED_RETRY','ERROR_EXCEED_SIZE','body','/role','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','_isPermissionRej','[CollaborationSessionService]','max','editingUnit','DEFAULT_FILE_NAME','updateMember','UniverCollaborationPlugin','_commandService','@univerjs-pro/collaboration-client','onLocalMutation','Univer','_changesetSessionId','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','uniscriptRunEvent','AWAITING_WITH_PENDING','event$','_transformStack','_substituteUndoStack','unitId\x20is\x20not\x20found','649678jlGtUZ','_revisionService','getRoom','DependentOn','state','take','map','revision','transformChangesets','ERROR_IMAGE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','touchDependencies','_unitInfo$','fromCharCode','getSnapshotAPIPath','CollaborativeUndoRedoService','setShowComponents','amd','IContextService','_sessions','_retryCount','\x20of\x20length\x20','push','SheetTransformSelectionsService','_disableEditing','/object/','deepClone','toggleOffline','JSONX','b64DecodeUnicode','listRoles','toggleOnline','/universer-api/stream/file/upload','liveShareOperation','getImage','_onJoinRoomEvent','actions','delay','range','RichTextEditingMutation','duration','_redoStacks','saveSnapshot','setConfig','NEW_CHANGESETS','USERS_LEAVE','JOINING','stopTime','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','CLOSE_ROOM','[CollaborationSessionService]:\x20socket\x20error','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','INetworkConditionService','_socket','SUBMIT_CHANGESET','function','withCredentials','objectID','_initUnitPermissionChange','{fileID}','call','JOIN_ROOM_FAILED','params','emitEvent','DRAWING_IMAGE_ALLOW_IMAGE_LIST','_clearTimeoutTimer','incrementRevOfUnit','_initCloseConn','type','@univerjs/protocol','loadSheet','subscribe','getCollabEntity$','getAllMembers','socket$','_resendTimeout','[CollaborationUndoRedoService]','_transitionLocked','byteOffset','ISnapshotServerService','onTransformSelections','_getLoginPath','unitID','_scheduleCompleteTimestamp','ICommandService','constructor','src','every','transformMutationsWithChangeset','FetchingMissState','name','startsWith','getDrawingImageAllowSize','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CONFLICT','offline','Injector','_startCollaboration','_sender','Subject','OfflineState','_tryReconnect','version','operators','MUTATION','/rev/','LOCAL_CACHE_INTERVAL','_resendWithTimeout','appendMutation','/universer-api/snapshot/','[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.'];_0x4e01=function(){return _0x1a212c;};return _0x4e01();}(function(_0x25cc60,_0x138838){const _0x35ccb3=_0x3817,_0xf39741=_0x25cc60();while(!![]){try{const _0x516c4e=-parseInt(_0x35ccb3(0x32d))/0x1*(-parseInt(_0x35ccb3(0x36f))/0x2)+parseInt(_0x35ccb3(0x489))/0x3+-parseInt(_0x35ccb3(0x1f7))/0x4*(-parseInt(_0x35ccb3(0x1fd))/0x5)+parseInt(_0x35ccb3(0x3fc))/0x6*(-parseInt(_0x35ccb3(0x436))/0x7)+parseInt(_0x35ccb3(0x2a0))/0x8+-parseInt(_0x35ccb3(0x43e))/0x9+-parseInt(_0x35ccb3(0x24c))/0xa;if(_0x516c4e===_0x138838)break;else _0xf39741['push'](_0xf39741['shift']());}catch(_0x552c16){_0xf39741['push'](_0xf39741['shift']());}}}(_0x4e01,0x975d1),function(_0x3800bd,_0x25b9f4){const _0x5a035e=_0x3817;typeof exports==_0x5a035e(0x31d)&&typeof module<'u'?_0x25b9f4(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==_0x5a035e(0x3a6)&&define[_0x5a035e(0x380)]?define([_0x5a035e(0x1c1),_0x5a035e(0x2d6),_0x5a035e(0x22c),_0x5a035e(0x1f8),_0x5a035e(0x198),_0x5a035e(0x292),_0x5a035e(0x3b4),_0x5a035e(0x318),'rxjs/operators','@univerjs/network',_0x5a035e(0x200),'@univerjs/drawing'],_0x25b9f4):(_0x3800bd=typeof globalThis<'u'?globalThis:_0x3800bd||self,_0x25b9f4(_0x3800bd[_0x5a035e(0x412)]={},_0x3800bd[_0x5a035e(0x305)],_0x3800bd[_0x5a035e(0x33c)],_0x3800bd[_0x5a035e(0x1ea)],_0x3800bd['UniverSheets'],_0x3800bd['rxjs'],_0x3800bd[_0x5a035e(0x43a)],_0x3800bd['UniverTelemetry'],_0x3800bd[_0x5a035e(0x292)][_0x5a035e(0x3d6)],_0x3800bd[_0x5a035e(0x2bc)],_0x3800bd[_0x5a035e(0x3f4)],_0x3800bd[_0x5a035e(0x327)]));}(this,function(_0x57bbdc,_0x25767b,_0x38d3af,_0x545c79,_0x4606ad,_0x282118,_0x3eeea2,_0x5bc536,_0xecc1b5,_0x41d52c,_0x4e563e,_0x295307){const _0x124287=_0x3817;Object['defineProperty'](_0x57bbdc,Symbol['toStringTag'],{'value':'Module'});let _0x4e50db=_0x124287(0x429),_0x472429=0x4e20;function _0x59413a(_0x272547){const _0x436c6a=_0x124287;return JSON[_0x436c6a(0x1d1)](_0x272547)[_0x436c6a(0x48e)];}function _0x3d221a(_0x179d43){'@babel/helpers - typeof';const _0x5933a9=_0x124287;return _0x3d221a=typeof Symbol==_0x5933a9(0x3a6)&&typeof Symbol['iterator']==_0x5933a9(0x2b0)?function(_0x1ea1d3){return typeof _0x1ea1d3;}:function(_0x199065){const _0x203232=_0x5933a9;return _0x199065&&typeof Symbol==_0x203232(0x3a6)&&_0x199065[_0x203232(0x3c4)]===Symbol&&_0x199065!==Symbol[_0x203232(0x248)]?'symbol':typeof _0x199065;},_0x3d221a(_0x179d43);}function _0x3f6656(_0x185534,_0x3ac953){const _0x3e85ad=_0x124287;if(_0x3d221a(_0x185534)!=_0x3e85ad(0x31d)||!_0x185534)return _0x185534;var _0x526469=_0x185534[Symbol[_0x3e85ad(0x19d)]];if(_0x526469!==void 0x0){var _0xfba06=_0x526469['call'](_0x185534,_0x3ac953||_0x3e85ad(0x227));if(_0x3d221a(_0xfba06)!='object')return _0xfba06;throw TypeError(_0x3e85ad(0x212));}return(_0x3ac953===_0x3e85ad(0x1a1)?String:Number)(_0x185534);}function _0x51d5c7(_0x14d067){const _0x1b419c=_0x124287;var _0x195da2=_0x3f6656(_0x14d067,_0x1b419c(0x1a1));return _0x3d221a(_0x195da2)=='symbol'?_0x195da2:_0x195da2+'';}function _0x50ece2(_0x3675d2,_0x5afb34,_0x2f549f){const _0x3aa7c0=_0x124287;return(_0x5afb34=_0x51d5c7(_0x5afb34))in _0x3675d2?Object[_0x3aa7c0(0x2fc)](_0x3675d2,_0x5afb34,{'value':_0x2f549f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3675d2[_0x5afb34]=_0x2f549f,_0x3675d2;}let _0x5d149d=function(_0x809ed5){const _0x5903c4=_0x124287;return _0x809ed5['OTHER_CLIENT_EDITING']=_0x5903c4(0x2ab),_0x809ed5[_0x5903c4(0x41e)]='PERMISSION_DENIED',_0x809ed5[_0x5903c4(0x3cd)]=_0x5903c4(0x3cd),_0x809ed5[_0x5903c4(0x3a0)]=_0x5903c4(0x3a0),_0x809ed5[_0x5903c4(0x3ac)]=_0x5903c4(0x3ac),_0x809ed5[_0x5903c4(0x357)]=_0x5903c4(0x357),_0x809ed5['SOCKET_FAILED']=_0x5903c4(0x44b),_0x809ed5['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x809ed5;}({});var _0x3b3560=class{constructor(){const _0x22bdae=_0x124287;_0x50ece2(this,'_event$',new _0x282118[(_0x22bdae(0x3d2))]()),_0x50ece2(this,_0x22bdae(0x36b),this['_event$'][_0x22bdae(0x433)]());}['emitEvent'](_0x59bb77){const _0x14eeca=_0x124287;this[_0x14eeca(0x33d)]['next'](_0x59bb77);}},_0x3b9fd8=class{constructor(){const _0x17e3db=_0x124287;_0x50ece2(this,_0x17e3db(0x413),new _0x282118[(_0x17e3db(0x3d2))]()),_0x50ece2(this,_0x17e3db(0x3e6),this[_0x17e3db(0x413)][_0x17e3db(0x433)]());}[_0x124287(0x468)](_0x203dd1){const _0x1c8602=_0x124287;this[_0x1c8602(0x413)][_0x1c8602(0x469)](_0x203dd1);}};function _0x22bf51(_0x37e5e5,_0x2470bc){return function(_0x34c6d7,_0x19292c){_0x2470bc(_0x34c6d7,_0x19292c,_0x37e5e5);};}function _0x131186(_0x3824a5,_0x1c3b07,_0x111418,_0x15a19c){const _0x3316ec=_0x124287;var _0x2aa971=arguments[_0x3316ec(0x48e)],_0x3cb356=_0x2aa971<0x3?_0x1c3b07:_0x15a19c===null?_0x15a19c=Object[_0x3316ec(0x310)](_0x1c3b07,_0x111418):_0x15a19c,_0x51ac7d;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x3316ec(0x3a6))_0x3cb356=Reflect['decorate'](_0x3824a5,_0x1c3b07,_0x111418,_0x15a19c);else{for(var _0x30a1e4=_0x3824a5[_0x3316ec(0x48e)]-0x1;_0x30a1e4>=0x0;_0x30a1e4--)(_0x51ac7d=_0x3824a5[_0x30a1e4])&&(_0x3cb356=(_0x2aa971<0x3?_0x51ac7d(_0x3cb356):_0x2aa971>0x3?_0x51ac7d(_0x1c3b07,_0x111418,_0x3cb356):_0x51ac7d(_0x1c3b07,_0x111418))||_0x3cb356);}return _0x2aa971>0x3&&_0x3cb356&&Object['defineProperty'](_0x1c3b07,_0x111418,_0x3cb356),_0x3cb356;}let _0x59032e=class extends _0x38d3af[_0x124287(0x223)]{constructor(_0x1229d1,_0x12a1fc){const _0x1868e1=_0x124287;super(),this[_0x1868e1(0x29b)]=_0x1229d1,this['_userManagerService']=_0x12a1fc,_0x50ece2(this,_0x1868e1(0x2c4),new Map()),_0x50ece2(this,_0x1868e1(0x497),new _0x282118[(_0x1868e1(0x3d2))]()),this[_0x1868e1(0x334)]((0x0,_0x282118[_0x1868e1(0x23d)])(this['_univerInstanceService'][_0x1868e1(0x446)](_0x38d3af[_0x1868e1(0x244)][_0x1868e1(0x28b)])[_0x1868e1(0x1d2)]((0x0,_0xecc1b5[_0x1868e1(0x375)])(_0x5c946e=>_0x5c946e[_0x1868e1(0x258)]())),this[_0x1868e1(0x29b)][_0x1868e1(0x446)](_0x38d3af[_0x1868e1(0x244)][_0x1868e1(0x493)])[_0x1868e1(0x1d2)]((0x0,_0xecc1b5['map'])(_0x4484fb=>_0x4484fb[_0x1868e1(0x258)]())))[_0x1868e1(0x3b6)](_0x31752e=>this[_0x1868e1(0x3fd)](_0x31752e)));}[_0x124287(0x1ff)](_0x504fe7){const _0x15c72e=_0x124287;return this['_roomMembers'][_0x15c72e(0x2ac)](_0x504fe7)?(0x0,_0x282118['of'])(this[_0x15c72e(0x2c4)][_0x15c72e(0x23b)](_0x504fe7)):this[_0x15c72e(0x497)]['pipe']((0x0,_0xecc1b5[_0x15c72e(0x375)])(_0x4bc06a=>{const _0x4e65ce=_0x15c72e;if(_0x4bc06a===_0x504fe7)return this['_roomMembers'][_0x4e65ce(0x23b)](_0x4bc06a);}));}[_0x124287(0x326)](_0x302342){const _0x4d9a10=_0x124287;this[_0x4d9a10(0x26d)]['setCurrentUser'](_0x302342);}['getCurrentUser'](){const _0x3be880=_0x124287;return this[_0x3be880(0x26d)]['getCurrentUser']();}[_0x124287(0x361)](_0x14a9d2,_0x537160){const _0x2de558=_0x124287;let _0x5a7e1f=this[_0x2de558(0x2c4)]['get'](_0x14a9d2);_0x5a7e1f||(_0x5a7e1f=new _0x10ba4b(),this[_0x2de558(0x2c4)][_0x2de558(0x46d)](_0x14a9d2,_0x5a7e1f),this[_0x2de558(0x497)][_0x2de558(0x469)](_0x14a9d2)),_0x5a7e1f[_0x2de558(0x361)](_0x537160);}['removeMember'](_0x120739,_0x1e5ebd){const _0x41534b=_0x124287;let _0x2ad165=this[_0x41534b(0x2c4)][_0x41534b(0x23b)](_0x120739);_0x2ad165&&_0x2ad165[_0x41534b(0x21e)](_0x1e5ebd);}[_0x124287(0x371)](_0x2ffd18){const _0x6204c=_0x124287;return this[_0x6204c(0x2c4)]['get'](_0x2ffd18);}[_0x124287(0x1df)](_0x5c4496,_0x202d29){const _0x3e6b95=_0x124287;let _0x7080ec=this['_roomMembers'][_0x3e6b95(0x23b)](_0x5c4496);if(_0x7080ec)return _0x7080ec[_0x3e6b95(0x1df)](_0x202d29);}[_0x124287(0x3fd)](_0x1a4800){const _0x3f9e35=_0x124287;let _0x258fe0=this[_0x3f9e35(0x2c4)][_0x3f9e35(0x23b)](_0x1a4800);_0x258fe0&&(_0x258fe0['dispose'](),this['_roomMembers'][_0x3f9e35(0x423)](_0x1a4800));}[_0x124287(0x34a)](){const _0x141edd=_0x124287;this['_roomMembers'][_0x141edd(0x3eb)](_0x4f0f25=>_0x4f0f25[_0x141edd(0x34a)]()),this[_0x141edd(0x2c4)][_0x141edd(0x25e)](),this[_0x141edd(0x497)][_0x141edd(0x2f8)]();}};_0x59032e=_0x131186([_0x22bf51(0x0,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0x1,(0x0,_0x38d3af['Inject'])(_0x38d3af[_0x124287(0x355)]))],_0x59032e);var _0x10ba4b=class extends _0x38d3af['Disposable']{constructor(..._0x5e0dc0){const _0x1c6333=_0x124287;super(..._0x5e0dc0),_0x50ece2(this,_0x1c6333(0x346),new Map()),_0x50ece2(this,'_members$',new _0x282118['BehaviorSubject'](this[_0x1c6333(0x346)])),_0x50ece2(this,_0x1c6333(0x324),this[_0x1c6333(0x295)]['asObservable']());}[_0x124287(0x34a)](){const _0x564ad9=_0x124287;this[_0x564ad9(0x346)][_0x564ad9(0x25e)](),this[_0x564ad9(0x295)][_0x564ad9(0x2f8)]();}[_0x124287(0x361)](_0x285ab0){const _0x279807=_0x124287;this['_members'][_0x279807(0x46d)](_0x285ab0[_0x279807(0x184)],_0x285ab0),this['_emitMembers']();}[_0x124287(0x21e)](_0x39d798){const _0x439c19=_0x124287;this[_0x439c19(0x346)][_0x439c19(0x423)](_0x39d798),this[_0x439c19(0x1ae)]();}[_0x124287(0x1df)](_0x5e3ba1){const _0x3d26c2=_0x124287;return this[_0x3d26c2(0x346)][_0x3d26c2(0x23b)](_0x5e3ba1);}[_0x124287(0x3b8)](){const _0xa5be78=_0x124287;return Array[_0xa5be78(0x2a1)](this[_0xa5be78(0x346)]['values']());}['_emitMembers'](){const _0x1720b4=_0x124287;this['_members$'][_0x1720b4(0x469)](this[_0x1720b4(0x346)]);}};let _0x510b1c=function(_0x13f519){const _0x1c94f8=_0x124287;return _0x13f519[_0x13f519[_0x1c94f8(0x219)]=0x0]='IDLE',_0x13f519[_0x13f519[_0x1c94f8(0x39d)]=0x1]=_0x1c94f8(0x39d),_0x13f519[_0x13f519[_0x1c94f8(0x4a3)]=0x2]='OFFLINE',_0x13f519[_0x13f519[_0x1c94f8(0x32a)]=0x3]='ONLINE',_0x13f519;}({}),_0x31aca8={[_0x3eeea2[_0x124287(0x404)][_0x124287(0x2a3)]]:'session.join-failed',[_0x3eeea2[_0x124287(0x404)][_0x124287(0x181)]]:'session.room-full',[_0x3eeea2[_0x124287(0x404)][_0x124287(0x28e)]]:_0x124287(0x293),[_0x3eeea2[_0x124287(0x404)][_0x124287(0x1e5)]]:_0x124287(0x1db),[_0x3eeea2[_0x124287(0x404)][_0x124287(0x2f4)]]:_0x124287(0x2a8)},_0x3be262=class extends _0x38d3af[_0x124287(0x345)]{get[_0x124287(0x1f2)](){const _0x5669fd=_0x124287;return this[_0x5669fd(0x1b0)][_0x5669fd(0x189)]();}constructor(_0x2e7fdc,_0x1e4680,_0x3a7aa3,_0x390860,_0x3be8fd,_0x229190,_0x32a0d3,_0x460d92){const _0x20d5a9=_0x124287;super(),this[_0x20d5a9(0x30a)]=_0x2e7fdc,this[_0x20d5a9(0x1d8)]=_0x3a7aa3,this[_0x20d5a9(0x344)]=_0x390860,this['_memberService']=_0x3be8fd,this['_commentService']=_0x229190,this[_0x20d5a9(0x301)]=_0x32a0d3,this['_telemetryService']=_0x460d92,_0x50ece2(this,_0x20d5a9(0x1b0),new _0x282118['BehaviorSubject'](0x0)),_0x50ece2(this,_0x20d5a9(0x1c0),this[_0x20d5a9(0x1b0)][_0x20d5a9(0x433)]()),_0x50ece2(this,'_event$',new _0x282118[(_0x20d5a9(0x3d2))]()),_0x50ece2(this,'event$',this['_event$'][_0x20d5a9(0x433)]()),_0x50ece2(this,_0x20d5a9(0x3a4),void 0x0),_0x50ece2(this,_0x20d5a9(0x437),void 0x0),_0x50ece2(this,_0x20d5a9(0x457),void 0x0),_0x50ece2(this,'_shouldReportTelemetry',!0x1),_0x50ece2(this,_0x20d5a9(0x44f),null),this[_0x20d5a9(0x3ef)]=!!this[_0x20d5a9(0x3f6)],_0x1e4680[_0x20d5a9(0x1d2)]((0x0,_0x282118[_0x20d5a9(0x1bc)])(this['dispose$']))['subscribe'](_0x535f17=>{const _0xb5c633=_0x20d5a9;if(_0x535f17!==void 0x0){if(this['_socket']=_0x535f17,_0x535f17)this['_joinRoom'](_0x535f17),this[_0xb5c633(0x437)]=_0x535f17[_0xb5c633(0x278)][_0xb5c633(0x3b6)](_0x145de8=>{const _0x4eab09=_0xb5c633;_0x145de8[_0x4eab09(0x420)]===this[_0x4eab09(0x30a)]&&this['_onCombEvent'](_0x145de8);});else{var _0x5cec8c;this[_0xb5c633(0x45e)](),this['_sessionStatus$'][_0xb5c633(0x469)](0x2),(_0x5cec8c=this['_socketMessageSubscription'])==null||_0x5cec8c['unsubscribe'](),this['_socketMessageSubscription']=null;}}});}[_0x124287(0x255)](){const _0x3066a4=_0x124287;var _0x420d99,_0x5bbb09;return(_0x420d99=(_0x5bbb09=this[_0x3066a4(0x3a4)])==null?void 0x0:_0x5bbb09[_0x3066a4(0x184)])==null?null:_0x420d99;}[_0x124287(0x34a)](){const _0x4b829a=_0x124287;super[_0x4b829a(0x34a)](),this[_0x4b829a(0x439)](),this['dispose$'][_0x4b829a(0x469)](),this[_0x4b829a(0x1b4)][_0x4b829a(0x2f8)]();}['close'](){const _0x35a3f8=_0x124287;var _0x1c02b8,_0x375198;this[_0x35a3f8(0x45e)](),(_0x1c02b8=this[_0x35a3f8(0x3a4)])==null||_0x1c02b8[_0x35a3f8(0x432)]({'cmd':_0x3eeea2['CombCmd'][_0x35a3f8(0x19c)],'data':{'roomID':this[_0x35a3f8(0x30a)]}}),(_0x375198=this[_0x35a3f8(0x3a4)])==null||_0x375198[_0x35a3f8(0x439)](),this[_0x35a3f8(0x33d)]['complete'](),this[_0x35a3f8(0x1b0)][_0x35a3f8(0x2f8)]();}['_onCombEvent'](_0x1fa679){const _0x587241=_0x124287;_0x1fa679[_0x587241(0x47e)]===_0x3eeea2['CombCmd'][_0x587241(0x192)]?this[_0x587241(0x392)](_0x1fa679):_0x1fa679[_0x587241(0x47e)]===_0x3eeea2[_0x587241(0x27a)][_0x587241(0x1e6)]&&this[_0x587241(0x4a2)](_0x1fa679);}['_joinRoom'](_0x703d8f){const _0x38bcd1=_0x124287;this['_sessionStatus$'][_0x38bcd1(0x469)](0x1),_0x703d8f[_0x38bcd1(0x432)]({'cmd':_0x3eeea2['CombCmd'][_0x38bcd1(0x192)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x38bcd1(0x30a)]}]}});}[_0x124287(0x392)](_0x1ee63d){const _0x2c56d0=_0x124287;var _0x11e8f7;if(_0x1ee63d[_0x2c56d0(0x211)]in _0x31aca8){this[_0x2c56d0(0x301)][_0x2c56d0(0x3ae)]({'id':_0x2c56d0(0x3ac),'data':_0x31aca8[_0x1ee63d[_0x2c56d0(0x211)]]}),this[_0x2c56d0(0x1b0)]['next'](0x2);return;}this[_0x2c56d0(0x1b0)][_0x2c56d0(0x469)](0x3);let _0x252715=(_0x11e8f7=_0x1ee63d['data']['roomInfos'][this[_0x2c56d0(0x30a)]])==null?void 0x0:_0x11e8f7[_0x2c56d0(0x430)];_0x252715&&_0x252715['forEach'](_0x53ac10=>this[_0x2c56d0(0x30f)][_0x2c56d0(0x361)](this[_0x2c56d0(0x30a)],_0x53ac10));}[_0x124287(0x4a2)](_0x1a70d0){const _0x2c5535=_0x124287;try{let _0x4e5439=_0x1a70d0['data'];switch(_0x4e5439['eventID']){case _0x25767b[_0x2c5535(0x48c)][_0x2c5535(0x245)]:this['_onUserJoin'](_0x4e5439),this[_0x2c5535(0x33d)]['next'](_0x4e5439);break;case _0x25767b[_0x2c5535(0x48c)]['USERS_LEAVE']:this[_0x2c5535(0x3f3)](_0x4e5439),this[_0x2c5535(0x33d)][_0x2c5535(0x469)](_0x4e5439);break;case _0x25767b['CollaborationEvent'][_0x2c5535(0x27b)]:case _0x25767b['CollaborationEvent'][_0x2c5535(0x31c)]:this[_0x2c5535(0x45b)](),this[_0x2c5535(0x226)](),this[_0x2c5535(0x33d)][_0x2c5535(0x469)](_0x4e5439);break;case _0x25767b[_0x2c5535(0x48c)][_0x2c5535(0x34d)]:this['_logService']['error'](_0x2c5535(0x22e)+JSON[_0x2c5535(0x1d1)](_0x4e5439)),this[_0x2c5535(0x33d)][_0x2c5535(0x469)](_0x4e5439);break;case _0x25767b['CollaborationEvent'][_0x2c5535(0x1ab)]:this['_commentService'][_0x2c5535(0x468)](_0x4e5439[_0x2c5535(0x1c3)]),this[_0x2c5535(0x33d)][_0x2c5535(0x469)](_0x4e5439);break;default:this[_0x2c5535(0x33d)]['next'](_0x4e5439);}}catch(_0x432dde){this[_0x2c5535(0x1d8)][_0x2c5535(0x338)](_0x432dde,_0x1a70d0);}}['_onUserJoin'](_0x18d474){const _0x4e5978=_0x124287;this[_0x4e5978(0x30f)][_0x4e5978(0x361)](this[_0x4e5978(0x30a)],_0x18d474[_0x4e5978(0x1c3)]);}['_onUserLeave'](_0x30e849){const _0xba1a5c=_0x124287;this[_0xba1a5c(0x30f)][_0xba1a5c(0x21e)](this[_0xba1a5c(0x30a)],_0x30e849['data'][_0xba1a5c(0x184)]);}async[_0x124287(0x432)](_0x49e289,_0x52d4b4){const _0x4a1d76=_0x124287;if(this[_0x4a1d76(0x1f2)]!==0x3||!this[_0x4a1d76(0x3a4)])throw Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x49e289[_0x4a1d76(0x2af)]===_0x25767b['CollaborationEvent'][_0x4a1d76(0x3a5)]&&(this[_0x4a1d76(0x33f)](),this[_0x4a1d76(0x48f)](_0x49e289)),this['_socket'][_0x4a1d76(0x432)]({'cmd':_0x3eeea2['CombCmd'][_0x4a1d76(0x440)],'routeKey':_0x52d4b4,'routeType':'','data':_0x49e289});}catch(_0x5aba09){this[_0x4a1d76(0x1d8)]['error'](_0x5aba09);}}[_0x124287(0x33f)](){const _0x5f256e=_0x124287;var _0x33e2b1;this[_0x5f256e(0x457)]=setTimeout(()=>{const _0x1e19be=_0x5f256e;this['_collaborationTimeoutTimer']=null,this[_0x1e19be(0x301)]['emitEvent']({'id':'SUBMIT_CHANGESET_TIMEOUT'});},(_0x33e2b1=this[_0x5f256e(0x344)][_0x5f256e(0x2ad)](_0x5f256e(0x28d)))==null?_0x472429:_0x33e2b1);}[_0x124287(0x226)](){const _0x97963d=_0x124287;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x97963d(0x457)]),this[_0x97963d(0x457)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x13f895){const _0x36badc=_0x124287;if(!this[_0x36badc(0x3ef)])return;let {data:_0x58d7d0}=_0x13f895,{unitID:_0x4248ca,changeset:_0x3b2f07}=_0x58d7d0,{mutations:_0x1e9cc9,type:_0x4b9d1f}=_0x3b2f07;this[_0x36badc(0x44f)]={'unitId':_0x4248ca,'type':_0x4b9d1f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x59413a(_0x1e9cc9)};}[_0x124287(0x45b)](){const _0x4beccc=_0x124287;if(this[_0x4beccc(0x3ef)]){if(!this[_0x4beccc(0x44f)]){this[_0x4beccc(0x1d8)]['error'](_0x4beccc(0x1bb),_0x4beccc(0x1f1));return;}this[_0x4beccc(0x44f)][_0x4beccc(0x39e)]=performance[_0x4beccc(0x1af)](),this[_0x4beccc(0x44f)][_0x4beccc(0x397)]=this[_0x4beccc(0x44f)][_0x4beccc(0x39e)]-this[_0x4beccc(0x44f)][_0x4beccc(0x40c)],this[_0x4beccc(0x3f6)][_0x4beccc(0x30d)](_0x4beccc(0x45d),this[_0x4beccc(0x44f)]),this[_0x4beccc(0x44f)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x528248=_0x124287;this[_0x528248(0x44f)]=null;}};_0x3be262=_0x131186([_0x22bf51(0x2,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0x3,_0x38d3af['IConfigService']),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x59032e)),_0x22bf51(0x5,(0x0,_0x38d3af['Inject'])(_0x3b9fd8)),_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x3b3560)),_0x22bf51(0x7,(0x0,_0x38d3af[_0x124287(0x261)])(_0x5bc536[_0x124287(0x2ca)]))],_0x3be262);let _0x19c832=(0x0,_0x38d3af[_0x124287(0x302)])('collaboration-client.local-cache-service');function _0x150d9d(_0x3371a2){const _0xad008c=_0x124287;return _0xad008c(0x271)+_0x3371a2;}function _0x174995(_0x287b2a){const _0x18e498=_0x124287;let {unitID:_0x126353,mutations:_0x420c43}=_0x287b2a;return{'unitId':_0x126353,'subUnitId':_0x420c43['length']>0x0?_0x420c43[0x0][_0x18e498(0x3ad)][_0x18e498(0x17e)]:null};}let _0x108e5e=class{constructor(_0x5c915f,_0x2b38fe,_0x305f23){const _0x1daab8=_0x124287;this['_injector']=_0x5c915f,this['_transformService']=_0x2b38fe,this[_0x1daab8(0x2d3)]=_0x305f23;}['transformSelections'](_0xc0b27){const _0xea17f9=_0x124287;var _0x4a0b7a,_0x5aee73;let _0xc6f0e9=this[_0xea17f9(0x2ed)][_0xea17f9(0x23b)](_0x4606ad['SheetsSelectionsService']),{unitId:_0xa4eed2,subUnitId:_0x133ef3}=_0x174995(_0xc0b27),_0x41bc7b=_0xc6f0e9==null?void 0x0:_0xc6f0e9[_0xea17f9(0x251)](_0xa4eed2)['getCurrentSelections'](),_0x38d75a=(_0x4a0b7a=this[_0xea17f9(0x2d3)][_0xea17f9(0x490)](_0xa4eed2))==null||(_0x4a0b7a=_0x4a0b7a[_0xea17f9(0x3e7)]())==null?void 0x0:_0x4a0b7a['getSheetId']();if(_0x41bc7b[_0xea17f9(0x48e)]===0x0||!_0xa4eed2||!_0x133ef3)return;let _0x307c5c=[{'id':_0x4606ad['SetSelectionsOperation']['id'],'params':{'unitId':_0xa4eed2,'subUnitId':_0x38d75a,'selections':_0x38d3af[_0xea17f9(0x2a5)][_0xea17f9(0x389)](_0x41bc7b)}}],_0x463bc7=this['_transformService'][_0xea17f9(0x3c7)](_0xc0b27,_0x307c5c);if(!(0x0,_0x25767b[_0xea17f9(0x1a7)])(_0x463bc7))throw _0x463bc7[_0xea17f9(0x338)];let _0x3a7ce9=(_0x5aee73=_0x463bc7[_0xea17f9(0x195)][0x0])==null||(_0x5aee73=_0x5aee73['params'])==null?void 0x0:_0x5aee73[_0xea17f9(0x2b2)];if(Array[_0xea17f9(0x3ea)](_0x3a7ce9)&&_0x3a7ce9[_0xea17f9(0x48e)]){if(_0x3a7ce9[_0xea17f9(0x48e)]===_0x307c5c[0x0][_0xea17f9(0x3ad)]['selections'][_0xea17f9(0x48e)]&&_0x3a7ce9[_0xea17f9(0x3c6)]((_0x1d5d95,_0x491ad7)=>_0x38d3af['Rectangle'][_0xea17f9(0x3f8)](_0x1d5d95[_0xea17f9(0x395)],_0x307c5c[0x0][_0xea17f9(0x3ad)][_0xea17f9(0x2b2)][_0x491ad7][_0xea17f9(0x395)])))return;this['_injector']['get'](_0x38d3af[_0xea17f9(0x3c3)])[_0xea17f9(0x319)](_0x4606ad[_0xea17f9(0x480)]['id'],{'unitId':_0xa4eed2,'subUnitId':_0x38d75a,'selections':_0x3a7ce9});}}};_0x108e5e=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x1,_0x25767b[_0x124287(0x290)]),_0x22bf51(0x2,_0x38d3af['IUniverInstanceService'])],_0x108e5e);let _0x1f80e9=(0x0,_0x38d3af['createIdentifier'])(_0x124287(0x1a6)),_0x1cff2f=function(_0xb18bd3){const _0x3acef8=_0x124287;return _0xb18bd3[_0xb18bd3[_0x3acef8(0x2cd)]=0x0]=_0x3acef8(0x2cd),_0xb18bd3[_0xb18bd3[_0x3acef8(0x238)]=0x1]=_0x3acef8(0x238),_0xb18bd3;}({}),_0xc791ca=_0x124287(0x1d6);Symbol(_0xc791ca);let _0x3a2680={};function _0x47a917(_0x1e2c89){const _0x490399=_0x124287;var _0x22652;return!!((_0x22652=_0x1e2c89[_0x490399(0x3ad)])!=null&&_0x22652[_0x490399(0x2d2)]);}let _0x5d1b12=new Set([_0x4606ad['InsertSheetMutation']['id']]);function _0x3fc0b1(_0x5a0e00,_0x5358da,_0x4a9a1,_0x1f995e,_0x1e453a){const _0x2e3798=_0x124287;var _0x432276,_0x362129,_0x14301f,_0x269795;let _0x58a90d=[];for(let _0x2296c5 of _0x5a0e00){if(_0x5d1b12[_0x2e3798(0x2ac)](_0x2296c5['id'])){if(_0x58a90d[_0x2e3798(0x48e)]>0x0)break;_0x58a90d[_0x2e3798(0x385)](_0x2296c5);break;}if(_0x47a917(_0x2296c5)){if(_0x58a90d[_0x2e3798(0x48e)]>0x0)break;_0x58a90d[_0x2e3798(0x385)](_0x2296c5);break;}_0x58a90d[_0x2e3798(0x385)](_0x2296c5);}let _0x4401b4=(_0x432276=(_0x362129=_0x1e453a['getCurrentUser']())==null?void 0x0:_0x362129[_0x2e3798(0x1c5)])==null?_0x2e3798(0x282):_0x432276,_0x30a86f=(_0x14301f=(_0x269795=_0x1e453a[_0x2e3798(0x1da)]())==null?void 0x0:_0x269795[_0x2e3798(0x184)])==null?_0x2e3798(0x282):_0x14301f;return{'changeset':{'unitID':_0x5358da,'type':(0x0,_0x25767b[_0x2e3798(0x484)])(_0x4a9a1[_0x2e3798(0x40d)](_0x5358da)),'baseRev':_0x1f995e[_0x2e3798(0x21b)](_0x5358da),'revision':0x0,'userID':_0x4401b4,'memberID':_0x30a86f,'mutations':_0x58a90d},'pendingMutations':_0x5a0e00[_0x2e3798(0x1a0)](_0x58a90d['length'])};}function _0x48e9f2(_0x3aad93,_0x101b76,_0x50e5e1,_0x496808,_0x4af8cb){const _0x40c7aa=_0x124287;var _0x4a3f5a,_0x563691,_0x2e20ed,_0x3e0ca0;let _0x1249ed=[_0x3aad93[_0x40c7aa(0x33e)]((_0xc8626e,_0x3bd19c)=>{const _0x1481cc=_0x40c7aa;var _0x2b27ba;let {id:_0x479df1}=_0xc8626e,{id:_0x980ba6,type:_0x2dfdae}=_0x3bd19c,_0x40d291=(_0x2b27ba=_0xc8626e[_0x1481cc(0x3ad)])==null?{'actions':null}:_0x2b27ba,_0xc2ab86=_0x3bd19c[_0x1481cc(0x3ad)];if(_0x479df1&&_0x479df1!==_0x980ba6)throw Error(_0x1481cc(0x257)+_0x479df1+_0x1481cc(0x1fe)+_0x980ba6+'.');return{..._0xc8626e,'id':_0x980ba6,'type':_0x2dfdae,'params':{'unitId':_0xc2ab86[_0x1481cc(0x3e9)],'textRanges':_0xc2ab86[_0x1481cc(0x315)],'actions':_0x38d3af[_0x1481cc(0x38b)][_0x1481cc(0x3ec)](_0x40d291[_0x1481cc(0x393)],_0xc2ab86[_0x1481cc(0x393)])}};},{})],_0x39f349=(_0x4a3f5a=(_0x563691=_0x4af8cb[_0x40c7aa(0x1da)]())==null?void 0x0:_0x563691[_0x40c7aa(0x1c5)])==null?_0x40c7aa(0x282):_0x4a3f5a,_0x5efeaf=(_0x2e20ed=(_0x3e0ca0=_0x4af8cb[_0x40c7aa(0x1da)]())==null?void 0x0:_0x3e0ca0[_0x40c7aa(0x184)])==null?_0x40c7aa(0x282):_0x2e20ed;return{'changeset':{'unitID':_0x101b76,'type':(0x0,_0x25767b['mapDocumentTypeToUniverInstanceType'])(_0x50e5e1['getUnitType'](_0x101b76)),'baseRev':_0x496808['getCurrentRevOfUnit'](_0x101b76),'revision':0x0,'userID':_0x39f349,'memberID':_0x5efeaf,'mutations':_0x1249ed},'pendingMutations':[]};}function _0xf06eea(_0x817b93,_0x2f5637){const _0x303731=_0x124287;let _0x4f7ce7=new _0x282118[(_0x303731(0x188))](0x1);return setTimeout(()=>_0x4f7ce7['next'](_0x2f5637),_0x817b93),_0x4f7ce7[_0x303731(0x433)]()['pipe']((0x0,_0x282118[_0x303731(0x374)])(0x1));}var _0x36637f,_0x1b6f2e,_0x2f13b0;let _0x5cf168=function(_0x19de4f){const _0x50a1ba=_0x124287;return _0x19de4f[_0x50a1ba(0x46e)]=_0x50a1ba(0x419),_0x19de4f[_0x50a1ba(0x242)]='synced',_0x19de4f[_0x50a1ba(0x44d)]=_0x50a1ba(0x26a),_0x19de4f[_0x50a1ba(0x47c)]=_0x50a1ba(0x2e9),_0x19de4f[_0x50a1ba(0x36a)]=_0x50a1ba(0x1ec),_0x19de4f[_0x50a1ba(0x352)]=_0x50a1ba(0x1c9),_0x19de4f[_0x50a1ba(0x3cd)]='conflict',_0x19de4f[_0x50a1ba(0x4a3)]=_0x50a1ba(0x3ce),_0x19de4f;}({}),_0x3ea5c4=0x4e20,_0x3b6510=0x2bf20;var _0x82d669=class{constructor(_0x104f29,_0x33d7c8,_0x5b299f,_0x28725d,_0x4e79f6,_0x4abaac,_0x2dd1ac,_0x4d1edc,_0x40801e){const _0xae9136=_0x124287;this[_0xae9136(0x3c1)]=_0x104f29,this['type']=_0x33d7c8,this[_0xae9136(0x3f7)]=_0x4e79f6,this[_0xae9136(0x363)]=_0x4abaac,this[_0xae9136(0x22d)]=_0x2dd1ac,this[_0xae9136(0x370)]=_0x4d1edc,this['_localCacheService']=_0x40801e,_0x50ece2(this,_0xae9136(0x2d5),null),_0x50ece2(this,_0xae9136(0x26b),[]),this[_0xae9136(0x2d5)]=_0x5b299f,this[_0xae9136(0x26b)]=_0x28725d;}['_checkMissing'](_0x5ef20d){const _0x26d4eb=_0x124287;let _0x2d09e0=this[_0x26d4eb(0x370)]['getCurrentRevOfUnit'](this[_0x26d4eb(0x3c1)]);return _0x5ef20d[_0x26d4eb(0x376)]>_0x2d09e0+0x1?(this[_0x26d4eb(0x3f7)][_0x26d4eb(0x2c3)]({'from':_0x2d09e0,'to':_0x5ef20d[_0x26d4eb(0x376)]-0x1}),!0x0):!0x1;}[_0x124287(0x260)](_0x323548){const _0x34a843=_0x124287;this[_0x34a843(0x22d)][_0x34a843(0x264)](this[_0x34a843(0x3c1)],_0x323548);}[_0x124287(0x2a9)](_0x3cd157){const _0x3fa04a=_0x124287;var _0x2c8ce4,_0x44f8a3;(_0x2c8ce4=(_0x44f8a3=this[_0x3fa04a(0x3f7)])['onTransformSelections'])==null||_0x2c8ce4[_0x3fa04a(0x3ab)](_0x44f8a3,_0x3cd157);}['_transformIMECache'](_0x484c53){const _0x206350=_0x124287;var _0x2cf8fe,_0x54abb3;return(_0x2cf8fe=(_0x54abb3=this[_0x206350(0x3f7)])[_0x206350(0x307)])==null?void 0x0:_0x2cf8fe[_0x206350(0x3ab)](_0x54abb3,_0x484c53);}['_transformStateCache'](_0x48f8cf){const _0x4477d4=_0x124287;var _0x4a167c,_0x35ac44;return(_0x4a167c=(_0x35ac44=this[_0x4477d4(0x3f7)])[_0x4477d4(0x354)])==null?void 0x0:_0x4a167c[_0x4477d4(0x3ab)](_0x35ac44,_0x48f8cf);}[_0x124287(0x459)](_0x1b6339){const _0x27a360=_0x124287;var _0x5b2df2,_0x1d2bba,_0x4b3989;return(_0x5b2df2=(_0x1d2bba=(_0x4b3989=this[_0x27a360(0x3f7)])[_0x27a360(0x3e5)])==null?void 0x0:_0x1d2bba[_0x27a360(0x3ab)](_0x4b3989,_0x1b6339))==null?_0x1b6339:_0x5b2df2;}[_0x124287(0x24f)](_0x238322){const _0x31114e=_0x124287;var _0x17ccf7,_0x100b9e,_0x2b682c;return(_0x17ccf7=(_0x100b9e=(_0x2b682c=this['_handler'])[_0x31114e(0x477)])==null?void 0x0:_0x100b9e[_0x31114e(0x3ab)](_0x2b682c,_0x238322))==null?_0x238322:_0x17ccf7;}[_0x124287(0x2dc)](_0x2fe389){const _0x32c55a=_0x124287;if(this[_0x32c55a(0x3b3)]===_0x38d3af[_0x32c55a(0x244)][_0x32c55a(0x493)]){let {unitID:_0x57850a,mutations:_0x43e5d6,memberID:_0x2246c7}=_0x2fe389,_0x633e76=_0x43e5d6['length']>0x0?_0x43e5d6[0x0][_0x32c55a(0x3ad)][_0x32c55a(0x315)]:[];if(Array[_0x32c55a(0x3ea)](_0x633e76)&&_0x633e76['length']>0x0){var _0x1885e0,_0x3429e4;(_0x1885e0=(_0x3429e4=this[_0x32c55a(0x3f7)])[_0x32c55a(0x32b)])==null||_0x1885e0['call'](_0x3429e4,{'unitID':_0x57850a,'memberID':_0x2246c7,'textRanges':_0x633e76});}}}[_0x124287(0x2ae)](){const _0x40286d=_0x124287;var _0x3970d4;(_0x3970d4=this['_localCacheService'])==null||_0x3970d4[_0x40286d(0x263)](this['unitID'],this[_0x40286d(0x3b3)],this[_0x40286d(0x2d5)],this[_0x40286d(0x26b)]);}[_0x124287(0x277)](){const _0x10a020=_0x124287;return this[_0x10a020(0x370)][_0x10a020(0x21b)](this['unitID']);}[_0x124287(0x434)](){const _0x15989b=_0x124287;this['_revisionService'][_0x15989b(0x3b1)](this['unitID']);}['_executeRemoteChangeset'](_0x487912){const _0x1a9e48=_0x124287;let _0x1f81da=this[_0x1a9e48(0x459)](_0x487912);_0x1f81da=this[_0x1a9e48(0x24f)](_0x1f81da);let _0x542286=(0x0,_0x38d3af[_0x1a9e48(0x309)])(_0x1f81da[_0x1a9e48(0x253)],this[_0x1a9e48(0x363)],{'fromCollab':!0x0});if(!_0x542286[_0x1a9e48(0x3f9)]){var _0xd9d13b;throw _0x542286[_0x1a9e48(0x338)]instanceof Error?_0x542286[_0x1a9e48(0x338)]:Error((_0xd9d13b=_0x542286[_0x1a9e48(0x338)])==null?_0x1a9e48(0x190):_0xd9d13b);}this[_0x1a9e48(0x466)](_0x1f81da),this[_0x1a9e48(0x1d9)](_0x1f81da),this[_0x1a9e48(0x260)](_0x487912),this['_transformSelections'](_0x1f81da),this[_0x1a9e48(0x2dc)](_0x1f81da),this['_incrementRevisionNumber']();}};let _0x4e4794=class extends _0x82d669{constructor(_0x53d4be,_0x438b18,_0x56e3ec,_0x2c0a65,_0x1d6c28,_0x182326,_0x33b946,_0x562f4d,_0x2d9aaa,_0x558a45){const _0x222017=_0x124287;super(_0x53d4be,_0x438b18,null,[],_0x56e3ec,_0x33b946,_0x182326,_0x2c0a65,_0x558a45),this['_injector']=_0x1d6c28,this['_logService']=_0x562f4d,this[_0x222017(0x1dd)]=_0x2d9aaa,this[_0x222017(0x476)]=_0x558a45,_0x50ece2(this,'status',_0x222017(0x1b9));}[_0x124287(0x3db)](_0x49f82f){const _0x44c346=_0x124287;let _0x1535ef=this['_injector'][_0x44c346(0x236)](_0x2411fe,this[_0x44c346(0x3c1)],this[_0x44c346(0x3b3)],[_0x49f82f],this[_0x44c346(0x3f7)]);return _0x1535ef[_0x44c346(0x49b)](),_0x1535ef[_0x44c346(0x2ae)](),_0x1535ef;}[_0x124287(0x40a)](_0x14fc77){const _0x5d407a=_0x124287;if(this['_checkMissing'](_0x14fc77))return this[_0x5d407a(0x2ed)][_0x5d407a(0x236)](_0xfc54a4,this['unitID'],this[_0x5d407a(0x3b3)],null,[],null,[_0x14fc77],this['_handler']);try{let _0x4df1d3=this['_transformService'][_0x5d407a(0x3c7)](_0x14fc77,[_0x25767b[_0x5d407a(0x2b6)]]);if((0x0,_0x25767b['isTransformMutationsWithChangesetSuccess'])(_0x4df1d3)){let {c1Prime:_0x378230}=_0x4df1d3;return this[_0x5d407a(0x426)](_0x378230),this;}throw _0x4df1d3[_0x5d407a(0x338)];}catch(_0x289fba){return this['_logService'][_0x5d407a(0x338)](_0x289fba),this[_0x5d407a(0x286)](!0x1);}}[_0x124287(0x286)](_0x3e570b){const _0x277e83=_0x124287;return this['_injector']['createInstance'](_0x5171e4,this[_0x277e83(0x3c1)],this['type'],null,[],this[_0x277e83(0x3f7)],_0x3e570b);}[_0x124287(0x18f)](_0x89858a){const _0x1e825d=_0x124287;if(_0x89858a[_0x1e825d(0x376)]<=this[_0x1e825d(0x277)]())return this;throw Error(_0x1e825d(0x41c));}['onRemoteRej'](){const _0x3b73a7=_0x124287;throw Error(_0x3b73a7(0x42b));}['onRemoteRetry'](){return this;}[_0x124287(0x38a)](){const _0x42491e=_0x124287;return this[_0x42491e(0x2ed)][_0x42491e(0x236)](_0x24826c,this[_0x42491e(0x3c1)],this[_0x42491e(0x3b3)],null,[],this[_0x42491e(0x3f7)]);}[_0x124287(0x38e)](){return this;}['resend'](){const _0x10120a=_0x124287;throw Error(_0x10120a(0x272));}[_0x124287(0x3f0)](){const _0x22152b=_0x124287;let _0x4ea946=this['_revisionService']['getCurrentRevOfUnit'](this[_0x22152b(0x3c1)]);return this[_0x22152b(0x3f7)][_0x22152b(0x2c3)]({'from':_0x4ea946,'to':0x0}),this[_0x22152b(0x2ed)]['createInstance'](_0xfc54a4,this[_0x22152b(0x3c1)],this['type'],null,[],null,[],this['_handler']);}};_0x4e4794=_0x131186([_0x22bf51(0x3,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x5,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0x6,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0x7,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0x8,_0x25767b[_0x124287(0x290)]),_0x22bf51(0x9,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x4e4794);let _0x2411fe=_0x36637f=class extends _0x82d669{constructor(_0x3a6705,_0x516d9d,_0x406b6b,_0x5995f9,_0x3dce77,_0x431907,_0x33e3e7,_0x5eec73,_0x453a7c,_0x21f112,_0x5ea26b,_0x58e9f9,_0x44cc67,_0x1778c8){const _0x3a45d6=_0x124287;super(_0x3a6705,_0x516d9d,null,_0x406b6b,_0x5995f9,_0x453a7c,_0x44cc67,_0x431907,_0x1778c8),this[_0x3a45d6(0x2ed)]=_0x3dce77,this[_0x3a45d6(0x30f)]=_0x33e3e7,this[_0x3a45d6(0x1d8)]=_0x5eec73,this[_0x3a45d6(0x344)]=_0x21f112,this[_0x3a45d6(0x1dd)]=_0x5ea26b,this[_0x3a45d6(0x29b)]=_0x58e9f9,_0x50ece2(this,_0x3a45d6(0x2b5),_0x3a45d6(0x26a)),_0x50ece2(this,_0x3a45d6(0x3c2),null),_0x50ece2(this,_0x3a45d6(0x3e0),null);}['appendMutation'](_0x3356c9){const _0x49cbd2=_0x124287;return this[_0x49cbd2(0x26b)][_0x49cbd2(0x385)](_0x3356c9),this[_0x49cbd2(0x2ae)](),this;}['onRemoteChangeset'](_0x3d383c){const _0x17cd59=_0x124287;if(this[_0x17cd59(0x3f2)](_0x3d383c))return this[_0x17cd59(0x210)](),this[_0x17cd59(0x2ed)][_0x17cd59(0x236)](_0xfc54a4,this[_0x17cd59(0x3c1)],this[_0x17cd59(0x3b3)],null,this[_0x17cd59(0x26b)],null,[_0x3d383c],this['_handler']);try{let _0x4f8b22=this[_0x17cd59(0x1dd)]['transformMutationsWithChangeset'](_0x3d383c,this[_0x17cd59(0x26b)]);if((0x0,_0x25767b[_0x17cd59(0x1a7)])(_0x4f8b22)){let {c1Prime:_0x5cf104,m2Prime:_0x51fd19}=_0x4f8b22;this[_0x17cd59(0x426)](_0x5cf104);let _0x1497aa=this[_0x17cd59(0x2ed)][_0x17cd59(0x236)](_0x36637f,this[_0x17cd59(0x3c1)],this[_0x17cd59(0x3b3)],_0x51fd19,this[_0x17cd59(0x3f7)]);this[_0x17cd59(0x210)]();let _0x465b8b=new Date()[_0x17cd59(0x1b3)](),_0x151caa=this[_0x17cd59(0x3c2)]?Math[_0x17cd59(0x35e)](this[_0x17cd59(0x3c2)]-_0x465b8b,0x0):this[_0x17cd59(0x267)]();return _0x1497aa[_0x17cd59(0x49b)](_0x151caa),_0x1497aa;}throw _0x4f8b22[_0x17cd59(0x338)];}catch(_0xa4ad26){return this[_0x17cd59(0x1d8)][_0x17cd59(0x338)](_0xa4ad26),this[_0x17cd59(0x286)](!0x1);}}[_0x124287(0x18f)](_0x4c8d1c){const _0xf07e41=_0x124287;if(_0x4c8d1c[_0xf07e41(0x376)]<=this['_getCurrentRevision']())return this;throw Error(_0xf07e41(0x44a));}[_0x124287(0x254)](){const _0x370a4b=_0x124287;throw Error(_0x370a4b(0x3df));}[_0x124287(0x2f3)](){return this;}[_0x124287(0x38a)](){const _0x533b95=_0x124287;return this['_clearScheduledTask'](),this[_0x533b95(0x2ed)][_0x533b95(0x236)](_0x24826c,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x533b95(0x3f7)]);}['toggleOnline'](){return this;}[_0x124287(0x49b)](_0x3bb75a){const _0x4e1beb=_0x124287;let _0x5311fa=_0x3bb75a==null?this[_0x4e1beb(0x267)]():_0x3bb75a;this['_scheduleCompleteTimestamp']=new Date()[_0x4e1beb(0x1b3)]()+_0x5311fa,this[_0x4e1beb(0x3e0)]=setTimeout(()=>{const _0x158bb5=_0x4e1beb;this[_0x158bb5(0x210)]();let _0x19174b=null;switch(this[_0x158bb5(0x3b3)]){case _0x38d3af[_0x158bb5(0x244)][_0x158bb5(0x28b)]:_0x19174b=_0x3fc0b1(this[_0x158bb5(0x26b)],this[_0x158bb5(0x3c1)],this[_0x158bb5(0x29b)],this[_0x158bb5(0x370)],this[_0x158bb5(0x30f)]);break;case _0x38d3af['UniverInstanceType']['UNIVER_DOC']:_0x19174b=this['_pendingMutations'][_0x158bb5(0x3c6)](_0x36dd7f=>_0x36dd7f['id']===_0x545c79[_0x158bb5(0x396)]['id'])?_0x48e9f2(this[_0x158bb5(0x26b)],this['unitID'],this[_0x158bb5(0x29b)],this['_revisionService'],this[_0x158bb5(0x30f)]):_0x3fc0b1(this[_0x158bb5(0x26b)],this[_0x158bb5(0x3c1)],this[_0x158bb5(0x29b)],this[_0x158bb5(0x370)],this['_memberService']);break;default:throw Error(_0x158bb5(0x1ed)+this['type']+_0x158bb5(0x2e1));}let {changeset:_0x3d3074,pendingMutations:_0x250032}=_0x19174b;this[_0x158bb5(0x3f7)]['onSendChangeset'](_0x3d3074);let _0x5ae1c9=_0x250032[_0x158bb5(0x48e)]?this[_0x158bb5(0x2ed)]['createInstance'](_0x348457,this[_0x158bb5(0x3c1)],this[_0x158bb5(0x3b3)],_0x3d3074,_0x250032,this[_0x158bb5(0x3f7)],void 0x0):this[_0x158bb5(0x2ed)][_0x158bb5(0x236)](_0x5d6712,this[_0x158bb5(0x3c1)],this[_0x158bb5(0x3b3)],_0x3d3074,this['_handler']);_0x5ae1c9[_0x158bb5(0x2ae)](),this['_handler'][_0x158bb5(0x28a)](this,_0x5ae1c9);},_0x5311fa);}[_0x124287(0x267)](){const _0x33653f=_0x124287;var _0x1ab99a;let _0x30dc9c=this[_0x33653f(0x344)]['getConfig'](_0xc791ca);return(_0x1ab99a=_0x30dc9c==null?void 0x0:_0x30dc9c[_0x33653f(0x481)])==null?0x7d0:_0x1ab99a;}[_0x124287(0x2b1)](){const _0x29d75a=_0x124287;throw Error(_0x29d75a(0x2b4));}['_clearScheduledTask'](){const _0x485b11=_0x124287;this[_0x485b11(0x3e0)]!=null&&(clearTimeout(this[_0x485b11(0x3e0)]),this[_0x485b11(0x3e0)]=null);}['_onConflict'](_0x33f24a){const _0x4e7bc0=_0x124287;return this[_0x4e7bc0(0x210)](),this[_0x4e7bc0(0x2ed)][_0x4e7bc0(0x236)](_0x5171e4,this['unitID'],this[_0x4e7bc0(0x3b3)],null,this[_0x4e7bc0(0x26b)],this['_handler'],_0x33f24a);}};_0x2411fe=_0x36637f=_0x131186([_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['Injector'])),_0x22bf51(0x5,(0x0,_0x38d3af['Inject'])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x59032e)),_0x22bf51(0x7,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0x8,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0x9,_0x38d3af['IConfigService']),_0x22bf51(0xa,_0x25767b['ITransformService']),_0x22bf51(0xb,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0xc,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0xd,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x2411fe);let _0x5d6712=_0x1b6f2e=class extends _0x82d669{constructor(_0x2665fa,_0x3b3d08,_0x47c80b,_0x5dc2de,_0x3ce72c,_0x96488f,_0x4b218f,_0xa7bd25,_0x34077d,_0x1124d9,_0x45c521){const _0x29b73b=_0x124287;super(_0x2665fa,_0x3b3d08,_0x47c80b,[],_0x5dc2de,_0x4b218f,_0x1124d9,_0x96488f,_0x45c521),this[_0x29b73b(0x2ed)]=_0x3ce72c,this[_0x29b73b(0x1d8)]=_0xa7bd25,this['_transformService']=_0x34077d,_0x50ece2(this,'status',_0x29b73b(0x2e9)),_0x50ece2(this,'_resendTimeout',0x0),_0x50ece2(this,_0x29b73b(0x27d),0x0),_0x50ece2(this,_0x29b73b(0x194),void 0x0),_0x50ece2(this,_0x29b73b(0x3d1),void 0x0);}[_0x124287(0x3db)](_0x5b4a5e){const _0x37dae9=_0x124287;this[_0x37dae9(0x210)]();let _0xf5ceaf=this[_0x37dae9(0x2ed)][_0x37dae9(0x236)](_0x348457,this[_0x37dae9(0x3c1)],this[_0x37dae9(0x3b3)],this[_0x37dae9(0x2d5)],[_0x5b4a5e],this['_handler'],this[_0x37dae9(0x194)]);return _0xf5ceaf[_0x37dae9(0x2ae)](),_0xf5ceaf;}[_0x124287(0x40a)](_0x5284b8){const _0x25abd1=_0x124287;if(this[_0x25abd1(0x3f2)](_0x5284b8))return this[_0x25abd1(0x210)](),this[_0x25abd1(0x2ed)][_0x25abd1(0x236)](_0xfc54a4,this[_0x25abd1(0x3c1)],this['type'],this['_awaitingChangeset'],[],null,[_0x5284b8],this['_handler']);try{let _0x91b702=this[_0x25abd1(0x1dd)]['transformChangesets']([_0x5284b8],[this['_awaitingChangeset']],!0x1);if((0x0,_0x25767b[_0x25abd1(0x322)])(_0x91b702)){let {c1Prime:_0x17bfea,c2Prime:_0x52898a}=_0x91b702;this['_executeRemoteChangeset'](_0x17bfea[0x0]),_0x52898a[0x0]['baseRev']=this[_0x25abd1(0x277)](),this[_0x25abd1(0x210)]();let _0x5215f9=this[_0x25abd1(0x2ed)]['createInstance'](_0x1b6f2e,this['unitID'],this['type'],_0x52898a[0x0],this[_0x25abd1(0x3f7)]);return _0x5215f9['_updateLocalCache'](),_0x5215f9;}throw _0x91b702['error'];}catch(_0x3c317a){return this[_0x25abd1(0x1d8)]['error'](_0x3c317a),this['_onConflict'](!0x1);}}[_0x124287(0x18f)](_0x4dae28){const _0x4a2a5f=_0x124287;this[_0x4a2a5f(0x210)]();let _0x7cc1da=this['_revisionService'][_0x4a2a5f(0x21b)](this[_0x4a2a5f(0x3c1)]);if(_0x4dae28[_0x4a2a5f(0x376)]<=_0x7cc1da)return this;if(this[_0x4a2a5f(0x3f2)](_0x4dae28))return this[_0x4a2a5f(0x2ed)][_0x4a2a5f(0x236)](_0xfc54a4,this[_0x4a2a5f(0x3c1)],this[_0x4a2a5f(0x3b3)],this[_0x4a2a5f(0x2d5)],[],_0x4dae28[_0x4a2a5f(0x376)],[],this['_handler']);this['_incrementRevisionNumber']();let _0x1fcd97=this['_injector']['createInstance'](_0x4e4794,this[_0x4a2a5f(0x3c1)],this[_0x4a2a5f(0x3b3)],this[_0x4a2a5f(0x3f7)]);return _0x1fcd97[_0x4a2a5f(0x2ae)](),_0x1fcd97;}[_0x124287(0x254)](_0x48ebf4){const _0xdfe388=_0x124287;return this[_0xdfe388(0x286)](!!(_0x48ebf4!=null&&_0x48ebf4['isPermissionRej']));}[_0x124287(0x2f3)](_0x45c2d6){const _0x31b311=_0x124287;return this['_maxTotalRetryTimeout']>_0x3b6510?this[_0x31b311(0x38a)]():(this['_resendTimer']=_0xf06eea(this['_resendTimeout'],{'timeout':this[_0x31b311(0x3ba)],'reqId':_0x45c2d6['reqId']}),this[_0x31b311(0x3d1)]=this['_resendTimer'][_0x31b311(0x3b6)](({reqId:_0x47a28f,timeout:_0x68bd02})=>{const _0x59502e=_0x31b311;this[_0x59502e(0x3da)](_0x47a28f,_0x68bd02);}),this);}['toggleOffline'](){const _0x31c5d7=_0x124287;return this[_0x31c5d7(0x210)](),this[_0x31c5d7(0x2ed)][_0x31c5d7(0x236)](_0x24826c,this[_0x31c5d7(0x3c1)],this['type'],this[_0x31c5d7(0x2d5)],[],this[_0x31c5d7(0x3f7)]);}[_0x124287(0x38e)](){return this;}[_0x124287(0x2b1)](){const _0xb48f91=_0x124287;this[_0xb48f91(0x3f7)][_0xb48f91(0x19b)](this[_0xb48f91(0x2d5)]);}[_0x124287(0x286)](_0x8d595d){const _0x32d173=_0x124287;return this['_clearScheduledTask'](),this[_0x32d173(0x2ed)][_0x32d173(0x236)](_0x5171e4,this[_0x32d173(0x3c1)],this[_0x32d173(0x3b3)],this['_awaitingChangeset'],[],this[_0x32d173(0x3f7)],_0x8d595d);}['_resendWithTimeout'](_0x25a423,_0x5df4df){const _0x5f5644=_0x124287;var _0x3b1450;_0x25a423===((_0x3b1450=this[_0x5f5644(0x2d5)])==null?void 0x0:_0x3b1450['reqId'])&&(this[_0x5f5644(0x2b1)](),this[_0x5f5644(0x3ba)]=_0x5df4df===0x0?0x3e8:Math[_0x5f5644(0x204)](_0x5df4df*0x2,_0x3ea5c4),this[_0x5f5644(0x27d)]+=this[_0x5f5644(0x3ba)]);}['_clearScheduledTask'](){const _0x10e1a3=_0x124287;var _0x524d8a;(_0x524d8a=this[_0x10e1a3(0x3d1)])==null||_0x524d8a[_0x10e1a3(0x2b8)](),this[_0x10e1a3(0x3ba)]=0x0,this[_0x10e1a3(0x27d)]=0x0;}};_0x5d6712=_0x1b6f2e=_0x131186([_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x5,(0x0,_0x38d3af['Inject'])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0x6,_0x38d3af['ICommandService']),_0x22bf51(0x7,_0x38d3af['ILogService']),_0x22bf51(0x8,_0x25767b[_0x124287(0x290)]),_0x22bf51(0x9,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0xa,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x5d6712);let _0x348457=_0x2f13b0=class extends _0x82d669{constructor(_0x10d82e,_0x2afa24,_0x3a300f,_0x5ab727,_0x5b8166,_0x314678,_0x2c74fa,_0x37055d,_0x1de362,_0x493760,_0x24e4c5,_0x1fcd78,_0x4840fd){const _0x52006b=_0x124287;super(_0x10d82e,_0x2afa24,_0x3a300f,_0x5ab727,_0x5b8166,_0x1de362,_0x1fcd78,_0x37055d,_0x4840fd),this[_0x52006b(0x2ed)]=_0x2c74fa,this[_0x52006b(0x1d8)]=_0x493760,this[_0x52006b(0x1dd)]=_0x24e4c5,this[_0x52006b(0x476)]=_0x4840fd,_0x50ece2(this,'status',_0x52006b(0x1ec)),_0x50ece2(this,_0x52006b(0x3ba),0x0),_0x50ece2(this,_0x52006b(0x27d),0x0),_0x50ece2(this,'_resendTimer',void 0x0),_0x50ece2(this,'_sender',void 0x0),_0x314678&&(this['_resendTimer']=_0x314678,this[_0x52006b(0x3d1)]=this[_0x52006b(0x194)][_0x52006b(0x3b6)](({reqId:_0x3dea1a,timeout:_0x36fad1})=>{this['_resendWithTimeout'](_0x3dea1a,_0x36fad1);}));}[_0x124287(0x3db)](_0xafe9f7){const _0x31fce1=_0x124287;return this['_pendingMutations'][_0x31fce1(0x385)](_0xafe9f7),this;}['onRemoteChangeset'](_0x18df8f){const _0x360115=_0x124287;if(this[_0x360115(0x3f2)](_0x18df8f))return this[_0x360115(0x210)](),this[_0x360115(0x2ed)][_0x360115(0x236)](_0xfc54a4,this[_0x360115(0x3c1)],this[_0x360115(0x3b3)],this['_awaitingChangeset'],this[_0x360115(0x26b)],null,[_0x18df8f],this[_0x360115(0x3f7)]);try{let _0x5a1ccf=this[_0x360115(0x1dd)][_0x360115(0x377)]([_0x18df8f],[this[_0x360115(0x2d5)]],!0x1);if((0x0,_0x25767b[_0x360115(0x322)])(_0x5a1ccf)){let {c1Prime:_0x4df958,c2Prime:_0x4bfd38}=_0x5a1ccf,_0x42659f=this[_0x360115(0x1dd)]['transformMutationsWithChangeset'](_0x4df958[0x0],this[_0x360115(0x26b)]);if((0x0,_0x25767b[_0x360115(0x1a7)])(_0x42659f)){let {c1Prime:_0x28ee0d,m2Prime:_0x17c4b6}=_0x42659f;return this[_0x360115(0x426)](_0x28ee0d),_0x4bfd38[0x0][_0x360115(0x233)]=this['_getCurrentRevision'](),this[_0x360115(0x210)](),this[_0x360115(0x2ed)][_0x360115(0x236)](_0x2f13b0,this['unitID'],this[_0x360115(0x3b3)],_0x4bfd38[0x0],_0x17c4b6,this['_handler'],void 0x0);}throw _0x42659f['error'];}throw _0x5a1ccf[_0x360115(0x338)];}catch(_0x19ad1b){return this[_0x360115(0x1d8)][_0x360115(0x338)](_0x19ad1b),this[_0x360115(0x286)](!0x1);}}[_0x124287(0x18f)](_0x284193){const _0x477eb7=_0x124287;this[_0x477eb7(0x210)]();let _0x1d906c=this[_0x477eb7(0x277)]();if(_0x284193[_0x477eb7(0x376)]<=_0x1d906c)return this;if(this['_checkMissing'](_0x284193))return this['_injector'][_0x477eb7(0x236)](_0xfc54a4,this[_0x477eb7(0x3c1)],this[_0x477eb7(0x3b3)],this['_awaitingChangeset'],this[_0x477eb7(0x26b)],_0x284193[_0x477eb7(0x376)],[],this['_handler']);this['_incrementRevisionNumber']();let _0xf49ef9=this['_injector']['createInstance'](_0x2411fe,this['unitID'],this['type'],this[_0x477eb7(0x26b)],this[_0x477eb7(0x3f7)]);return _0xf49ef9['_schedule'](),_0xf49ef9[_0x477eb7(0x2ae)](),_0xf49ef9;}['onRemoteRej'](_0x2feec1){const _0x510ee1=_0x124287;return this[_0x510ee1(0x286)](!!(_0x2feec1!=null&&_0x2feec1[_0x510ee1(0x438)]));}[_0x124287(0x2f3)](_0x17dd0e){const _0x4865bf=_0x124287;return this[_0x4865bf(0x27d)]>_0x3b6510?this[_0x4865bf(0x38a)]():(this[_0x4865bf(0x194)]=_0xf06eea(this[_0x4865bf(0x3ba)],{'timeout':this['_resendTimeout'],'reqId':_0x17dd0e['reqId']}),this['_sender']=this[_0x4865bf(0x194)][_0x4865bf(0x3b6)](({reqId:_0x4c7cae,timeout:_0x68e263})=>{const _0x4c2d49=_0x4865bf;this[_0x4c2d49(0x3da)](_0x4c7cae,_0x68e263);}),this);}[_0x124287(0x38a)](){const _0x5d023e=_0x124287;return this[_0x5d023e(0x210)](),this[_0x5d023e(0x2ed)][_0x5d023e(0x236)](_0x24826c,this[_0x5d023e(0x3c1)],this[_0x5d023e(0x3b3)],this[_0x5d023e(0x2d5)],this['_pendingMutations'],this[_0x5d023e(0x3f7)]);}[_0x124287(0x38e)](){return this;}[_0x124287(0x2b1)](){const _0x2af994=_0x124287;this[_0x2af994(0x3f7)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x124287(0x286)](_0x2dac5d){const _0xe80cff=_0x124287;return this[_0xe80cff(0x210)](),this['_injector'][_0xe80cff(0x236)](_0x5171e4,this[_0xe80cff(0x3c1)],this['type'],null,this[_0xe80cff(0x26b)],this[_0xe80cff(0x3f7)],_0x2dac5d);}[_0x124287(0x3da)](_0x48630d,_0x1d02f6){const _0x21b2f3=_0x124287;var _0x8c9f7;_0x48630d===((_0x8c9f7=this[_0x21b2f3(0x2d5)])==null?void 0x0:_0x8c9f7['reqId'])&&(this[_0x21b2f3(0x2b1)](),this[_0x21b2f3(0x3ba)]=_0x1d02f6===0x0?0x3e8:Math['min'](_0x1d02f6*0x2,_0x3ea5c4),this['_maxTotalRetryTimeout']+=this[_0x21b2f3(0x3ba)]);}['_clearScheduledTask'](){const _0x4507d9=_0x124287;var _0x2e0f28;(_0x2e0f28=this[_0x4507d9(0x3d1)])==null||_0x2e0f28[_0x4507d9(0x2b8)](),this['_resendTimeout']=0x0,this[_0x4507d9(0x27d)]=0x0;}};_0x348457=_0x2f13b0=_0x131186([_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x7,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0x8,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0x9,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0xa,_0x25767b['ITransformService']),_0x22bf51(0xb,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0xc,(0x0,_0x38d3af['Optional'])(_0x19c832))],_0x348457);let _0x5171e4=class extends _0x82d669{constructor(_0x73801d,_0xa31f59,_0x134ab8,_0x1ccf88,_0x1cdd22,_0x1ec46b=!0x1,_0x2a4ef7,_0x151e99,_0x2db95d,_0x25293d,_0x543635,_0x426ea0,_0x2458d6){const _0x415157=_0x124287;super(_0x73801d,_0xa31f59,_0x134ab8,_0x1ccf88,_0x1cdd22,_0x151e99,_0x2db95d,_0x25293d,_0x2458d6),this['_isPermissionRej']=_0x1ec46b,this['_permissionService']=_0x2a4ef7,this[_0x415157(0x42f)]=_0x543635,this[_0x415157(0x301)]=_0x426ea0,this[_0x415157(0x476)]=_0x2458d6,_0x50ece2(this,'status',_0x415157(0x422)),this[_0x415157(0x2dd)](),this[_0x415157(0x217)](),this[_0x415157(0x387)]();}[_0x124287(0x3db)](){return this;}[_0x124287(0x40a)](){return this;}[_0x124287(0x18f)](){return this;}['onRemoteRej'](){return this;}[_0x124287(0x2f3)](){return this;}[_0x124287(0x38a)](){return this;}[_0x124287(0x38e)](){return this;}['resend'](){const _0x34d29e=_0x124287;throw Error(_0x34d29e(0x379));}[_0x124287(0x217)](){const _0xb22869=_0x124287;var _0x5e645c;(_0x5e645c=this[_0xb22869(0x312)])==null||_0x5e645c['updateOfflineData'](this[_0xb22869(0x3c1)],this[_0xb22869(0x3b3)],null,[]);}[_0x124287(0x2dd)](){const _0x337a12=_0x124287;this[_0x337a12(0x35c)]?this['_collaborationUIEventService']['emitEvent']({'id':_0x337a12(0x41e)}):this[_0x337a12(0x301)][_0x337a12(0x3ae)]({'id':_0x337a12(0x3cd)});}['_disableEditing'](){const _0x38c47e=_0x124287;this[_0x38c47e(0x2ef)][_0x38c47e(0x2b9)](new _0x4606ad[(_0x38c47e(0x331))](this[_0x38c47e(0x3c1)])['id'],!0x1);}};_0x5171e4=_0x131186([_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3f1)])),_0x22bf51(0x7,_0x38d3af['ICommandService']),_0x22bf51(0x8,_0x38d3af['IUndoRedoService']),_0x22bf51(0x9,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0xa,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['LocaleService'])),_0x22bf51(0xb,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x3b3560)),_0x22bf51(0xc,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x5171e4);let _0x24826c=class extends _0x82d669{constructor(_0xf39431,_0x56176b,_0x1546b0,_0x2e5ffc,_0xfa4838,_0x246ac8,_0x4353b7,_0x5ec223,_0x5e2463,_0x253741){const _0x565f06=_0x124287;super(_0xf39431,_0x56176b,_0x1546b0,_0x2e5ffc,_0xfa4838,_0x5ec223,_0x5e2463,_0x4353b7,_0x253741),this[_0x565f06(0x2ed)]=_0x246ac8,_0x50ece2(this,_0x565f06(0x2b5),'offline');}[_0x124287(0x3db)](_0x80886a){const _0x225ef8=_0x124287;return this[_0x225ef8(0x26b)]['push'](_0x80886a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x569456){const _0x11b75d=_0x124287;throw Error(_0x11b75d(0x31b));}[_0x124287(0x18f)](){const _0x600a0=_0x124287;throw Error(_0x600a0(0x206));}[_0x124287(0x254)](){const _0x35e5b7=_0x124287;throw Error(_0x35e5b7(0x44e));}[_0x124287(0x2f3)](){return this;}[_0x124287(0x38a)](){return this;}[_0x124287(0x38e)](){const _0x279de9=_0x124287;let {_injector:_0x2647b7,_pendingMutations:_0x49b56d,_awaitingChangeset:_0x4008c5,unitID:_0x15f818,_handler:_0x1571e6,type:_0x4c4298}=this,_0x53d18c=_0x1be2e5(_0x2647b7,_0x15f818,_0x4c4298,_0x4008c5,_0x49b56d,_0x1571e6);return _0x53d18c instanceof _0x2411fe?_0x53d18c[_0x279de9(0x49b)]():(_0x53d18c instanceof _0x348457||_0x53d18c instanceof _0x5d6712)&&_0x53d18c[_0x279de9(0x2b1)](),_0x53d18c;}['resend'](){const _0x4c301f=_0x124287;throw Error(_0x4c301f(0x492));}};_0x24826c=_0x131186([_0x22bf51(0x5,(0x0,_0x38d3af['Inject'])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x6,(0x0,_0x38d3af['Inject'])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0x7,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0x8,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0x9,(0x0,_0x38d3af['Optional'])(_0x19c832))],_0x24826c);let _0xfc54a4=class extends _0x82d669{constructor(_0xac67fe,_0x3294dc,_0x1e46e7,_0xaf0e8c,_0x518428,_0x599f5b,_0x3fbc2f,_0xacb1ff,_0x4fcfcb,_0x1f632b,_0xe0fe8b,_0x496277,_0x33c834,_0x38dd40){const _0x401195=_0x124287;super(_0xac67fe,_0x3294dc,_0x1e46e7,_0xaf0e8c,_0x3fbc2f,_0xe0fe8b,_0x496277,_0x4fcfcb,_0x38dd40),this[_0x401195(0x1cf)]=_0x518428,this['_queuedRemoteChangesets']=_0x599f5b,this[_0x401195(0x2ed)]=_0xacb1ff,this[_0x401195(0x1d8)]=_0x1f632b,this[_0x401195(0x1dd)]=_0x33c834,this[_0x401195(0x476)]=_0x38dd40,_0x50ece2(this,_0x401195(0x2b5),_0x401195(0x1c9));}[_0x124287(0x22b)](_0x57b5df){const _0x126faf=_0x124287;try{if(this['_handleRemoteChangesets'](_0x57b5df)[_0x126faf(0x49a)])throw Error('[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.');if(this[_0x126faf(0x288)]([...this[_0x126faf(0x1e2)]][_0x126faf(0x241)]((_0x52a577,_0xab584b)=>_0x52a577[_0x126faf(0x376)]-_0xab584b[_0x126faf(0x376)]))[_0x126faf(0x49a)])return this[_0x126faf(0x1e2)]=[],this['_updateLocalCache'](),this[_0x126faf(0x3f7)][_0x126faf(0x2c3)]({'from':this[_0x126faf(0x277)](),'to':0x0}),this;let _0x1c0b8a=this[_0x126faf(0x2d5)],_0x53e241=this[_0x126faf(0x26b)],_0x46d3e0;if(_0x1c0b8a&&_0x53e241[_0x126faf(0x48e)]!==0x0)_0x46d3e0=this[_0x126faf(0x2ed)]['createInstance'](_0x348457,this[_0x126faf(0x3c1)],this[_0x126faf(0x3b3)],_0x1c0b8a,_0x53e241,this[_0x126faf(0x3f7)],void 0x0);else{if(_0x1c0b8a&&_0x53e241[_0x126faf(0x48e)]===0x0)_0x1c0b8a[_0x126faf(0x233)]=this[_0x126faf(0x277)](),_0x46d3e0=this[_0x126faf(0x2ed)][_0x126faf(0x236)](_0x5d6712,this[_0x126faf(0x3c1)],this[_0x126faf(0x3b3)],_0x1c0b8a,this[_0x126faf(0x3f7)]);else{if(_0x53e241['length']!==0x0){let _0x10855d=this[_0x126faf(0x2ed)][_0x126faf(0x236)](_0x2411fe,this['unitID'],this[_0x126faf(0x3b3)],_0x53e241,this[_0x126faf(0x3f7)]);_0x10855d['_schedule'](),_0x46d3e0=_0x10855d;}else _0x46d3e0=this[_0x126faf(0x2ed)][_0x126faf(0x236)](_0x4e4794,this['unitID'],this[_0x126faf(0x3b3)],this[_0x126faf(0x3f7)]);}}return _0x46d3e0['_updateLocalCache'](),_0x46d3e0;}catch(_0x45bbf5){return this[_0x126faf(0x1d8)][_0x126faf(0x338)](_0x126faf(0x220),_0x126faf(0x33b),_0x45bbf5),this['_injector'][_0x126faf(0x236)](_0x5171e4,this[_0x126faf(0x3c1)],this[_0x126faf(0x3b3)],this[_0x126faf(0x2d5)],this[_0x126faf(0x26b)],this[_0x126faf(0x3f7)],!0x1);}}[_0x124287(0x288)](_0x3af63b){const _0x3e11ab=_0x124287;this[_0x3e11ab(0x464)]();for(let _0x1bfda3=0x0;_0x1bfda3<_0x3af63b['length'];_0x1bfda3++){let _0x45e86a=_0x3af63b[_0x1bfda3],_0x1aeac8=this[_0x3e11ab(0x277)]();if(!(_0x45e86a[_0x3e11ab(0x376)]<=_0x1aeac8)){if(_0x45e86a[_0x3e11ab(0x376)]>_0x1aeac8+0x1)return{'missingChangesets':!0x0};if(this[_0x3e11ab(0x329)](_0x45e86a)){this[_0x3e11ab(0x3fa)]();continue;}this['_transformAndApplyRemoteChangeset'](_0x45e86a),this[_0x3e11ab(0x464)]();}}return{'missingChangesets':!0x1};}[_0x124287(0x451)](_0x514ebb){const _0x28c44c=_0x124287;let _0x2a1ca6=_0x514ebb,_0x253efc=this['_awaitingChangeset'];if(_0x253efc){let _0x14bf05=this[_0x28c44c(0x1dd)][_0x28c44c(0x377)]([_0x514ebb],[_0x253efc],!0x1);if(!(0x0,_0x25767b[_0x28c44c(0x322)])(_0x14bf05))throw _0x14bf05[_0x28c44c(0x338)];_0x2a1ca6=_0x14bf05[_0x28c44c(0x1cd)][0x0],_0x253efc=_0x14bf05['c2Prime'][0x0];}let _0x73bb44=this[_0x28c44c(0x26b)];if(_0x73bb44[_0x28c44c(0x48e)]){let _0x48ae91=this[_0x28c44c(0x1dd)][_0x28c44c(0x3c7)](_0x2a1ca6,_0x73bb44);if(!(0x0,_0x25767b[_0x28c44c(0x1a7)])(_0x48ae91))throw _0x48ae91[_0x28c44c(0x338)];_0x2a1ca6=_0x48ae91[_0x28c44c(0x1cd)],_0x73bb44=_0x48ae91['m2Prime'];}this[_0x28c44c(0x426)](_0x2a1ca6),_0x253efc&&(_0x253efc[_0x28c44c(0x233)]=this['_getCurrentRevision']()),this[_0x28c44c(0x2d5)]=_0x253efc,this['_pendingMutations']=_0x73bb44;}['_acknowledgeAwaitingIfReady'](){const _0xb76594=_0x124287;if(!this[_0xb76594(0x2d5)]||this[_0xb76594(0x1cf)]==null)return;let _0x5d96e0=this[_0xb76594(0x277)]();if(this[_0xb76594(0x1cf)]<=_0x5d96e0)throw Error(_0xb76594(0x323)+this[_0xb76594(0x1cf)]+'.');this[_0xb76594(0x1cf)]===_0x5d96e0+0x1&&this[_0xb76594(0x3fa)]();}[_0x124287(0x3fa)](){const _0x2cf1e8=_0x124287;this['_incrementRevisionNumber'](),this[_0x2cf1e8(0x2d5)]=null,this['_acknowledgedAwaitingRevision']=null;}['_isEchoedAwaitingChangeset'](_0x39da92){const _0x3dfc3d=_0x124287;let _0x3795dc=this[_0x3dfc3d(0x2d5)];return!_0x3795dc||!_0x3795dc[_0x3dfc3d(0x342)]||_0x3795dc[_0x3dfc3d(0x2f2)]===null||_0x3795dc['reqId']===void 0x0?!0x1:_0x39da92[_0x3dfc3d(0x3c1)]===_0x3795dc[_0x3dfc3d(0x3c1)]&&_0x39da92[_0x3dfc3d(0x342)]===_0x3795dc[_0x3dfc3d(0x342)]&&_0x39da92['reqId']===_0x3795dc['reqId'];}[_0x124287(0x2b1)](){const _0x192176=_0x124287;throw Error(_0x192176(0x1d7));}[_0x124287(0x3db)](_0x3014c4){const _0x123993=_0x124287;return this[_0x123993(0x26b)][_0x123993(0x385)](_0x3014c4),this;}[_0x124287(0x40a)](_0x26e9c3){const _0x57f403=_0x124287;return this[_0x57f403(0x1e2)][_0x57f403(0x385)](_0x26e9c3),this;}[_0x124287(0x18f)](_0x5edfc4){const _0x2be68a=_0x124287;if(this[_0x2be68a(0x2d5)]){let _0xf271b2=this[_0x2be68a(0x277)]();return _0x5edfc4[_0x2be68a(0x376)]<=_0xf271b2||(_0xf271b2+0x1===_0x5edfc4[_0x2be68a(0x376)]?(this[_0x2be68a(0x434)](),this[_0x2be68a(0x2d5)]=null,this[_0x2be68a(0x1cf)]=null):this[_0x2be68a(0x1cf)]=_0x5edfc4[_0x2be68a(0x376)]),this;}if(_0x5edfc4[_0x2be68a(0x376)]<=this[_0x2be68a(0x277)]())return this;throw Error(_0x2be68a(0x494));}[_0x124287(0x254)](_0x24f33e){const _0x32a7eb=_0x124287;return this[_0x32a7eb(0x286)](!!(_0x24f33e!=null&&_0x24f33e[_0x32a7eb(0x438)]));}[_0x124287(0x2f3)](){return this;}[_0x124287(0x38a)](){const _0x20e178=_0x124287;return this[_0x20e178(0x2ed)][_0x20e178(0x236)](_0x24826c,this['unitID'],this[_0x20e178(0x3b3)],this[_0x20e178(0x2d5)],this[_0x20e178(0x26b)],this['_handler']);}['toggleOnline'](){return this;}[_0x124287(0x286)](_0x1e91a4){const _0x17f60f=_0x124287;return this[_0x17f60f(0x2ed)][_0x17f60f(0x236)](_0x5171e4,this['unitID'],this['type'],this[_0x17f60f(0x2d5)],this[_0x17f60f(0x26b)],this[_0x17f60f(0x3f7)],_0x1e91a4);}};_0xfc54a4=_0x131186([_0x22bf51(0x7,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x8,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b['RevisionService'])),_0x22bf51(0x9,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0xa,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0xb,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0xc,_0x25767b[_0x124287(0x290)]),_0x22bf51(0xd,(0x0,_0x38d3af['Optional'])(_0x19c832))],_0xfc54a4);function _0x1be2e5(_0x419a3c,_0x42ac00,_0x555e6a,_0x415cb9,_0x52fefa,_0x288d1c){const _0x1cc4ec=_0x124287;return _0x415cb9&&_0x52fefa[_0x1cc4ec(0x48e)]?_0x419a3c[_0x1cc4ec(0x236)](_0x348457,_0x42ac00,_0x555e6a,_0x415cb9,_0x52fefa,_0x288d1c,void 0x0):_0x415cb9?_0x419a3c[_0x1cc4ec(0x236)](_0x5d6712,_0x42ac00,_0x555e6a,_0x415cb9,_0x288d1c):_0x52fefa[_0x1cc4ec(0x48e)]?_0x419a3c[_0x1cc4ec(0x236)](_0x2411fe,_0x42ac00,_0x555e6a,_0x52fefa,_0x288d1c):_0x419a3c['createInstance'](_0x4e4794,_0x42ac00,_0x555e6a,_0x288d1c);}let _0x5817aa=class extends _0x38d3af[_0x124287(0x345)]{get[_0x124287(0x373)](){return this['_state'];}constructor(_0x1a6596,_0x374b5f,_0x316473,_0x4880bd,_0x5156fc,_0x4b968e,_0x2982c0,_0xa2020c,_0x5bea0c,_0x523e3a,_0x4cbebe,_0x47361a,_0x19f0c1,_0x3d3bd9){const _0x40d0b4=_0x124287;super(),this['unitID']=_0x1a6596,this[_0x40d0b4(0x303)]=_0x374b5f,this['_type']=_0x316473,this[_0x40d0b4(0x2ed)]=_0x4880bd,this[_0x40d0b4(0x1ce)]=_0x5156fc,this[_0x40d0b4(0x42f)]=_0x4b968e,this[_0x40d0b4(0x370)]=_0x2982c0,this['_eventService']=_0xa2020c,this['_univerInstanceService']=_0x5bea0c,this[_0x40d0b4(0x1d8)]=_0x523e3a,this[_0x40d0b4(0x363)]=_0x4cbebe,this[_0x40d0b4(0x2ef)]=_0x47361a,this[_0x40d0b4(0x273)]=_0x19f0c1,this['_localCacheService']=_0x3d3bd9,_0x50ece2(this,_0x40d0b4(0x209),new _0x282118['BehaviorSubject'](null)),_0x50ece2(this,_0x40d0b4(0x18a),this[_0x40d0b4(0x209)][_0x40d0b4(0x433)]()),_0x50ece2(this,_0x40d0b4(0x2eb),void 0x0),_0x50ece2(this,'_collaborationPaused',!0x1),_0x50ece2(this,_0x40d0b4(0x367),''),_0x50ece2(this,'_changesetReqId',0x0),_0x50ece2(this,_0x40d0b4(0x34e),this['state$'][_0x40d0b4(0x1d2)]((0x0,_0x282118[_0x40d0b4(0x375)])(_0x18a5dd=>_0x18a5dd?_0x18a5dd[_0x40d0b4(0x2b5)]:_0x40d0b4(0x3ce)),(0x0,_0x282118[_0x40d0b4(0x1a5)])(0x1))),_0x50ece2(this,_0x40d0b4(0x3bc),!0x1),_0x50ece2(this,_0x40d0b4(0x22f),[]);}async[_0x124287(0x49d)](){const _0x4d1792=_0x124287;if(this['state'])throw Error(_0x4d1792(0x368));await this[_0x4d1792(0x486)]();}[_0x124287(0x418)](){const _0x36e9ae=_0x124287;return this[_0x36e9ae(0x1f0)]=!0x0,(0x0,_0x38d3af['toDisposable'])(()=>{const _0x518ea6=_0x36e9ae;this[_0x518ea6(0x1f0)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x124287(0x365)](_0x5974ec){const _0x241331=_0x124287;this[_0x241331(0x1ee)](_0x5974ec);}[_0x124287(0x47a)](_0x4a437b){const _0x1f4301=_0x124287;this[_0x1f4301(0x2eb)]=_0x4a437b,this['_state$'][_0x1f4301(0x469)](_0x4a437b);}async[_0x124287(0x486)](){const _0x38c7c1=_0x124287;if(this[_0x38c7c1(0x47a)](await this[_0x38c7c1(0x1b8)]()),this[_0x38c7c1(0x273)]){var _0x8a9603;(_0x8a9603=this[_0x38c7c1(0x273)])==null||_0x8a9603[_0x38c7c1(0x35f)](this['unitID']),this['disposeWithMe'](this[_0x38c7c1(0x273)][_0x38c7c1(0x2ff)](this['unitID'])[_0x38c7c1(0x3b6)](_0x5778c2=>{const _0x5da15d=_0x38c7c1;this['_logService'][_0x5da15d(0x215)](_0x5da15d(0x2c0),_0x5da15d(0x343),_0x5778c2),_0x5778c2===0x1?(this[_0x5da15d(0x46b)][_0x5da15d(0x3ae)]({'id':_0x5da15d(0x2ab)}),this[_0x5da15d(0x2ef)][_0x5da15d(0x2b9)](new _0x4606ad[(_0x5da15d(0x331))](this[_0x5da15d(0x3c1)])['id'],!0x1),this[_0x5da15d(0x2ef)]['setShowComponents'](!0x1)):(this[_0x5da15d(0x2ef)][_0x5da15d(0x2b9)](new _0x4606ad[(_0x5da15d(0x331))](this[_0x5da15d(0x3c1)])['id'],!0x0),this[_0x5da15d(0x2ef)][_0x5da15d(0x37f)](!0x0));}));}let _0x50dbcf=!0x1;return this[_0x38c7c1(0x334)](this[_0x38c7c1(0x303)][_0x38c7c1(0x1c0)][_0x38c7c1(0x3b6)](_0x2ecc23=>{_0x2ecc23===0x3?this['_toggleOnline'](_0x50dbcf):_0x2ecc23===0x2&&(_0x50dbcf=!0x0,this['_toggleOffline']());})),this[_0x38c7c1(0x334)](this['session'][_0x38c7c1(0x36b)][_0x38c7c1(0x3b6)](_0x2a2f7e=>{const _0x5b647e=_0x38c7c1;try{switch(_0x2a2f7e[_0x5b647e(0x2af)]){case _0x25767b[_0x5b647e(0x48c)]['NEW_CHANGESETS']:this['_onRemoteChangeset']((0x0,_0x25767b[_0x5b647e(0x26f)])(_0x2a2f7e[_0x5b647e(0x1c3)]));break;case _0x25767b[_0x5b647e(0x48c)][_0x5b647e(0x27b)]:this[_0x5b647e(0x185)](_0x2a2f7e[_0x5b647e(0x1c3)]);break;case _0x25767b[_0x5b647e(0x48c)][_0x5b647e(0x314)]:this[_0x5b647e(0x4a4)]();break;case _0x25767b[_0x5b647e(0x48c)]['CHANGESET_SHOULD_RETRY']:this['_onRemoteRetry'](_0x2a2f7e[_0x5b647e(0x1c3)]);break;case _0x25767b[_0x5b647e(0x48c)][_0x5b647e(0x34b)]:this[_0x5b647e(0x249)](_0x2a2f7e['data']['changesets'][_0x5b647e(0x375)](_0x549a50=>(0x0,_0x25767b[_0x5b647e(0x26f)])(_0x549a50)));break;case _0x25767b['CollaborationEvent'][_0x5b647e(0x1ad)]:this[_0x5b647e(0x4a4)]({'isPermissionRej':!0x0});break;case _0x25767b[_0x5b647e(0x48c)]['UNISCRIPT_RUN']:break;}}catch(_0x26dcc1){throw console[_0x5b647e(0x338)](_0x5b647e(0x2fe),_0x26dcc1),_0x26dcc1;}})),this[_0x38c7c1(0x2eb)];}['_unlockTransition'](){const _0x1bdce5=_0x124287;this[_0x1bdce5(0x3bc)]=!0x1;}[_0x124287(0x317)](){const _0x375dcc=_0x124287;if(this[_0x375dcc(0x3bc)])throw Error(_0x375dcc(0x3dd));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x47b181){const _0x5ac513=_0x124287;this['_lockTransition'](),this[_0x5ac513(0x47a)](this[_0x5ac513(0x2eb)][_0x5ac513(0x3db)](_0x47b181)),this[_0x5ac513(0x1be)]();}['_onRemoteChangeset'](_0x2270f7){const _0x323a0b=_0x124287;if(!(_0x2270f7['revision']<=this['_revisionService'][_0x323a0b(0x21b)](this['unitID']))){if(this[_0x323a0b(0x1f0)]){this['_remoteChangesetQueue'][_0x323a0b(0x385)](_0x2270f7);return;}this['_applyRemoteChangeset'](_0x2270f7);}}[_0x124287(0x46a)](){const _0x5575f2=_0x124287;this[_0x5575f2(0x22f)][_0x5575f2(0x3eb)](_0x4f107a=>this[_0x5575f2(0x269)](_0x4f107a)),this[_0x5575f2(0x22f)]=[];}[_0x124287(0x269)](_0x29ef46){const _0x4fdad=_0x124287;let _0x104611=this[_0x4fdad(0x1ce)][_0x4fdad(0x330)][_0x4fdad(0x24a)](this['_compressMutationService']['interceptor'][_0x4fdad(0x193)]()[_0x4fdad(0x3e4)])(_0x29ef46[_0x4fdad(0x253)],null)||_0x29ef46[_0x4fdad(0x253)],_0x1d933f={..._0x29ef46,'mutations':_0x104611};this[_0x4fdad(0x317)](),this[_0x4fdad(0x47a)](this[_0x4fdad(0x2eb)][_0x4fdad(0x40a)](_0x1d933f)),this[_0x4fdad(0x1be)]();}[_0x124287(0x185)](_0x1e2679){const _0x51944e=_0x124287;this[_0x51944e(0x317)](),this[_0x51944e(0x47a)](this[_0x51944e(0x2eb)][_0x51944e(0x18f)](_0x1e2679)),this[_0x51944e(0x1be)]();}[_0x124287(0x4a4)](_0x8d5fc4){const _0x12e3e2=_0x124287;this['_lockTransition'](),this[_0x12e3e2(0x47a)](this[_0x12e3e2(0x2eb)]['onRemoteRej'](_0x8d5fc4)),this[_0x12e3e2(0x1be)]();}[_0x124287(0x47b)](_0x4ecf46){const _0x1b652c=_0x124287;this[_0x1b652c(0x317)](),this[_0x1b652c(0x47a)](this[_0x1b652c(0x2eb)]['onRemoteRetry'](_0x4ecf46)),this[_0x1b652c(0x1be)]();}[_0x124287(0x249)](_0x279722){const _0x5adaea=_0x124287;if(!(this['_state']instanceof _0xfc54a4))throw TypeError(_0x5adaea(0x3cc));let _0x3f3842=_0x279722[_0x5adaea(0x375)](_0x3b4735=>{const _0x9de909=_0x5adaea;let _0x587e81=this[_0x9de909(0x1ce)][_0x9de909(0x330)][_0x9de909(0x24a)](this[_0x9de909(0x1ce)][_0x9de909(0x330)][_0x9de909(0x193)]()['COMPRESS_MUTATION_APPLY'])(_0x3b4735[_0x9de909(0x253)],null)||_0x3b4735[_0x9de909(0x253)];return{..._0x3b4735,'mutations':_0x587e81};});this[_0x5adaea(0x317)](),this[_0x5adaea(0x47a)](this[_0x5adaea(0x2eb)][_0x5adaea(0x22b)](_0x3f3842)),this[_0x5adaea(0x1be)]();}[_0x124287(0x442)](){const _0x5ab3d8=_0x124287;this[_0x5ab3d8(0x317)](),this['_updateState'](this[_0x5ab3d8(0x2eb)][_0x5ab3d8(0x38a)]()),this[_0x5ab3d8(0x1be)]();}[_0x124287(0x2a2)](_0x39814f=!0x1){const _0x30197b=_0x124287;this['_lockTransition'](),this['_updateState'](this[_0x30197b(0x2eb)]['toggleOnline']()),this[_0x30197b(0x1be)]();let _0x2de0c1=this[_0x30197b(0x2eb)];_0x39814f&&_0x2de0c1 instanceof _0x4e4794&&(this[_0x30197b(0x317)](),this[_0x30197b(0x47a)](_0x2de0c1[_0x30197b(0x3f0)]()),this[_0x30197b(0x1be)]());}async['_createInitialState'](){return new Promise(_0x7d6ec0=>{const _0x498f27=_0x3817;this[_0x498f27(0x303)][_0x498f27(0x1c0)][_0x498f27(0x1d2)]((0x0,_0x282118[_0x498f27(0x374)])(0x1))[_0x498f27(0x3b6)](async _0x4365f2=>{const _0x393b2d=_0x498f27;_0x7d6ec0(await this[_0x393b2d(0x42c)](_0x4365f2===0x3));});});}[_0x124287(0x2c9)](){const _0x11bb83=_0x124287;let _0x1c0040=this[_0x11bb83(0x3c1)];return{'onStateChange':(_0x32f7d5,_0x11f73c)=>{const _0x52701f=_0x11bb83;if(_0x32f7d5!==this[_0x52701f(0x2eb)])throw Error(_0x52701f(0x3e1)+_0x32f7d5[_0x52701f(0x2b5)]+'\x0aAfter:\x20'+_0x11f73c[_0x52701f(0x2b5)]+_0x52701f(0x266)+this['_state']['status']);this['_updateState'](_0x11f73c);},'onSendChangeset':_0x59fb97=>{const _0x12421e=_0x11bb83;_0x59fb97[_0x12421e(0x342)]||(_0x59fb97['sid']=this[_0x12421e(0x367)],_0x59fb97['reqId']=++this[_0x12421e(0x225)]);let _0x7ad9b6={'eventID':_0x25767b['CollaborationEvent'][_0x12421e(0x3a5)],'data':{'unitID':_0x59fb97[_0x12421e(0x3c1)],'unitType':this[_0x12421e(0x42d)],'changeset':_0x59fb97,'memberID':this[_0x12421e(0x303)][_0x12421e(0x255)]()}};this[_0x12421e(0x303)][_0x12421e(0x432)](_0x7ad9b6,this[_0x12421e(0x3c1)]);},'onMissingChangesets':({from:_0x23c705,to:_0x20982e})=>{const _0x2ec1fc=_0x11bb83;this[_0x2ec1fc(0x1d8)][_0x2ec1fc(0x215)](_0x2ec1fc(0x2c0),_0x2ec1fc(0x214)+_0x23c705+_0x2ec1fc(0x2cf)+_0x20982e);let _0x43fb03={'eventID':_0x25767b[_0x2ec1fc(0x48c)]['FETCH_MISSING'],'data':{'unitID':_0x1c0040,'unitType':this['_type'],'from':_0x23c705,'to':_0x20982e}};this[_0x2ec1fc(0x303)][_0x2ec1fc(0x432)](_0x43fb03,this['unitID']);}};}async[_0x124287(0x42c)](_0x2f478c){const _0x32056a=_0x124287;var _0x27ba06,_0xc88ff2,_0x1b2c1f;let _0x185167=await((_0x27ba06=this['_localCacheService'])==null?void 0x0:_0x27ba06['loadOfflineData'](this[_0x32056a(0x3c1)])),_0x243b1d=(_0xc88ff2=_0x185167==null?void 0x0:_0x185167[_0x32056a(0x253)])==null?[]:_0xc88ff2,_0x32abf3=(_0x1b2c1f=_0x185167==null?void 0x0:_0x185167[_0x32056a(0x1c8)])==null?null:_0x1b2c1f,_0x250740=!!(_0x32abf3!=null&&_0x32abf3[_0x32056a(0x342)])&&!!(_0x32abf3!=null&&_0x32abf3[_0x32056a(0x2f2)]);this[_0x32056a(0x367)]=_0x250740?_0x32abf3['sid']:(0x0,_0x25767b[_0x32056a(0x499)])(),this[_0x32056a(0x225)]=_0x250740?_0x32abf3[_0x32056a(0x2f2)]:0x0;let _0x36edad=this[_0x32056a(0x3c1)];try{this['_replayCachedMutations'](_0x32abf3,_0x243b1d);}catch(_0x4ddfb3){this[_0x32056a(0x1d8)][_0x32056a(0x338)](_0x4ddfb3);}let _0x2c5774=this[_0x32056a(0x2c9)]();if(_0x2f478c){let _0x1585c2=_0x1be2e5(this[_0x32056a(0x2ed)],_0x36edad,this[_0x32056a(0x42d)],_0x32abf3,_0x243b1d,_0x2c5774);return _0x1585c2 instanceof _0x2411fe?_0x1585c2[_0x32056a(0x49b)]():(_0x1585c2 instanceof _0x348457||_0x1585c2 instanceof _0x5d6712)&&_0x1585c2[_0x32056a(0x2b1)](),_0x1585c2;}return this[_0x32056a(0x2ed)][_0x32056a(0x236)](_0x24826c,_0x36edad,this[_0x32056a(0x42d)],_0x32abf3,_0x243b1d,_0x2c5774);}[_0x124287(0x42e)](_0x2d2212,_0xb0f3a7){const _0x5e7291=_0x124287;var _0xfe8f7c,_0x5509c8;let _0x56e027=this[_0x5e7291(0x1ce)][_0x5e7291(0x330)]['fetchThroughInterceptors'](this[_0x5e7291(0x1ce)][_0x5e7291(0x330)][_0x5e7291(0x193)]()[_0x5e7291(0x3e4)]);(_0xfe8f7c=_0x56e027((_0x2d2212==null?void 0x0:_0x2d2212[_0x5e7291(0x253)])||[],null))==null||_0xfe8f7c[_0x5e7291(0x3eb)](_0x2b4f55=>this['_commandService'][_0x5e7291(0x319)](_0x2b4f55['id'],_0x2b4f55[_0x5e7291(0x3ad)])),(_0x5509c8=_0x56e027(_0xb0f3a7||[],null))==null||_0x5509c8['forEach'](_0x421e80=>this[_0x5e7291(0x363)][_0x5e7291(0x319)](_0x421e80['id'],_0x421e80[_0x5e7291(0x3ad)]));}};_0x5817aa=_0x131186([_0x22bf51(0x3,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['Injector'])),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x1ef)])),_0x22bf51(0x5,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['LocaleService'])),_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b['RevisionService'])),_0x22bf51(0x7,(0x0,_0x38d3af['Inject'])(_0x3b3560)),_0x22bf51(0x8,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0x9,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0xa,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0xb,_0x38d3af[_0x124287(0x3f1)]),_0x22bf51(0xc,(0x0,_0x38d3af[_0x124287(0x261)])(_0x1f80e9)),_0x22bf51(0xd,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x5817aa);let _0x4f76be=class extends _0x5817aa{constructor(_0x18b12a,_0x2caafd,_0x2f48f9,_0x3ac192,_0x5e7adf,_0x3904ca,_0x41df91,_0x2d2342,_0x3be0a7,_0x2959f2,_0x4de400,_0x508605,_0x4f0690,_0x48be3e){const _0x245cb1=_0x124287;super(_0x18b12a,_0x2f48f9,_0x2caafd,_0x3ac192,_0x5e7adf,_0x3904ca,_0x41df91,_0x2d2342,_0x3be0a7,_0x2959f2,_0x4de400,_0x508605,_0x4f0690,_0x48be3e),this['unitID']=_0x18b12a,this['type']=_0x2caafd,_0x50ece2(this,_0x245cb1(0x478),null);}[_0x124287(0x411)](_0x16c8b4){const _0x475fbc=_0x124287;this[_0x475fbc(0x478)]=_0x16c8b4;}[_0x124287(0x34a)](){const _0x2ba968=_0x124287;this[_0x2ba968(0x478)]=null,super[_0x2ba968(0x34a)]();}['_createHandler'](){const _0x17c107=_0x124287;let _0x5a7a63=super['_createHandler']();return _0x5a7a63[_0x17c107(0x307)]=_0x3feed6=>{const _0x4f741c=_0x17c107;var _0x434e19,_0x5abe20;return(_0x434e19=this[_0x4f741c(0x478)])==null||(_0x5abe20=_0x434e19['onTransformIME'])==null?void 0x0:_0x5abe20[_0x4f741c(0x3ab)](_0x434e19,_0x3feed6);},_0x5a7a63[_0x17c107(0x354)]=_0xb3c1b4=>{const _0x20bd92=_0x17c107;var _0x2f1f8f,_0x4d3fa4;return(_0x2f1f8f=this[_0x20bd92(0x478)])==null||(_0x4d3fa4=_0x2f1f8f[_0x20bd92(0x354)])==null?void 0x0:_0x4d3fa4['call'](_0x2f1f8f,_0xb3c1b4);},_0x5a7a63[_0x17c107(0x3bf)]=_0x139c85=>{const _0xab8f3e=_0x17c107;var _0x55c55b,_0x3743b4;return(_0x55c55b=this[_0xab8f3e(0x478)])==null||(_0x3743b4=_0x55c55b['onTransformSelections'])==null?void 0x0:_0x3743b4['call'](_0x55c55b,_0x139c85);},_0x5a7a63[_0x17c107(0x32b)]=_0x370531=>{const _0x192cd5=_0x17c107;var _0x2d4cc8,_0x56f4a3;return(_0x2d4cc8=this[_0x192cd5(0x478)])==null||(_0x56f4a3=_0x2d4cc8[_0x192cd5(0x32b)])==null?void 0x0:_0x56f4a3[_0x192cd5(0x3ab)](_0x2d4cc8,_0x370531);},_0x5a7a63[_0x17c107(0x3e5)]=_0x50976d=>{const _0x58a1d8=_0x17c107;var _0x41a503,_0x428a21,_0x568aa1;if(!((_0x41a503=this[_0x58a1d8(0x478)])!=null&&_0x41a503[_0x58a1d8(0x3e5)]))throw Error(_0x58a1d8(0x180));return(_0x428a21=this[_0x58a1d8(0x478)])==null||(_0x568aa1=_0x428a21[_0x58a1d8(0x3e5)])==null?void 0x0:_0x568aa1[_0x58a1d8(0x3ab)](_0x428a21,_0x50976d);},_0x5a7a63[_0x17c107(0x477)]=_0x5e776d=>{const _0x5e6e19=_0x17c107;var _0x4ca2cd,_0x2a95ad,_0x23933d;if(!((_0x4ca2cd=this['_handlerCallback'])!=null&&_0x4ca2cd[_0x5e6e19(0x477)]))throw Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2a95ad=this[_0x5e6e19(0x478)])==null||(_0x23933d=_0x2a95ad[_0x5e6e19(0x477)])==null?void 0x0:_0x23933d['call'](_0x2a95ad,_0x5e776d);},_0x5a7a63;}async[_0x124287(0x486)](){const _0x551495=_0x124287;let _0x2cb424=await super['_init']();return this[_0x551495(0x334)](this[_0x551495(0x363)][_0x551495(0x3ff)]((_0x2dc6c9,_0x2292c1)=>{const _0x50ea75=_0x551495;if(_0x2dc6c9[_0x50ea75(0x3b3)]!==_0x38d3af[_0x50ea75(0x20c)][_0x50ea75(0x3d7)]||_0x2292c1!=null&&_0x2292c1[_0x50ea75(0x20d)]||_0x2292c1!=null&&_0x2292c1[_0x50ea75(0x325)]||_0x2dc6c9['id']===_0x545c79[_0x50ea75(0x396)]['id'])return;let _0x3eca6f=_0x2dc6c9[_0x50ea75(0x3ad)];if((_0x3eca6f==null?void 0x0:_0x3eca6f[_0x50ea75(0x3e9)])!==this['unitID'])return;let _0x365a89=_0x2dc6c9,_0x4c1179=this[_0x50ea75(0x1ce)][_0x50ea75(0x330)]['fetchThroughInterceptors'](this[_0x50ea75(0x1ce)][_0x50ea75(0x330)]['getInterceptPoints']()[_0x50ea75(0x453)])([_0x365a89],this[_0x50ea75(0x29b)])||[_0x365a89];this[_0x50ea75(0x1ee)](_0x4c1179[0x0]);})),_0x2cb424;}};_0x4f76be=_0x131186([_0x22bf51(0x3,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x1ef)])),_0x22bf51(0x5,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['LocaleService'])),_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b['RevisionService'])),_0x22bf51(0x7,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x3b3560)),_0x22bf51(0x8,_0x38d3af['IUniverInstanceService']),_0x22bf51(0x9,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0xa,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0xb,_0x38d3af[_0x124287(0x3f1)]),_0x22bf51(0xc,(0x0,_0x38d3af[_0x124287(0x261)])(_0x1f80e9)),_0x22bf51(0xd,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x4f76be);let _0xc23225=class extends _0x5817aa{constructor(_0x3db9d4,_0x30a439,_0x4ac6fe,_0x58b488,_0xbe0c21,_0xf6b556,_0x39d852,_0x59b6b8,_0x57fd09,_0x32aeeb,_0x2c1341,_0x308272,_0x37a79b,_0xac6192,_0x132f3a){const _0x55953c=_0x124287;super(_0x3db9d4,_0x4ac6fe,_0x30a439,_0x58b488,_0xbe0c21,_0xf6b556,_0x39d852,_0x57fd09,_0x32aeeb,_0x2c1341,_0x308272,_0x37a79b,_0xac6192,_0x132f3a),this[_0x55953c(0x3c1)]=_0x3db9d4,this['type']=_0x30a439,this['_sheetTransformSelectionsService']=_0x59b6b8;}[_0x124287(0x2c9)](){const _0x59b41e=_0x124287;let _0x2b0148=super[_0x59b41e(0x2c9)]();return _0x2b0148[_0x59b41e(0x3bf)]=_0x4e59c1=>this[_0x59b41e(0x199)][_0x59b41e(0x203)](_0x4e59c1),_0x2b0148;}async[_0x124287(0x486)](){const _0x12df9c=_0x124287;let _0x3729f6=await super[_0x12df9c(0x486)]();return this[_0x12df9c(0x334)](this[_0x12df9c(0x363)][_0x12df9c(0x3ff)]((_0x41263c,_0x369073)=>{const _0x178516=_0x12df9c;if(_0x41263c[_0x178516(0x3b3)]!==_0x38d3af[_0x178516(0x20c)][_0x178516(0x3d7)]||_0x369073!=null&&_0x369073['fromCollab']||_0x369073!=null&&_0x369073[_0x178516(0x325)])return;let _0x99c9f5=_0x41263c[_0x178516(0x3ad)];if((_0x99c9f5==null?void 0x0:_0x99c9f5[_0x178516(0x3e9)])!==this[_0x178516(0x3c1)])return;let _0x28f5fb=_0x41263c,_0x2eaf36=this[_0x178516(0x1ce)][_0x178516(0x330)][_0x178516(0x24a)](this[_0x178516(0x1ce)][_0x178516(0x330)][_0x178516(0x193)]()[_0x178516(0x453)])([_0x28f5fb],this[_0x178516(0x29b)])||[_0x28f5fb];this[_0x178516(0x1ee)](_0x2eaf36[0x0]);})),_0x3729f6;}};_0xc23225=_0x131186([_0x22bf51(0x3,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['Injector'])),_0x22bf51(0x4,(0x0,_0x38d3af['Inject'])(_0x25767b[_0x124287(0x1ef)])),_0x22bf51(0x5,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x461)])),_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b['RevisionService'])),_0x22bf51(0x7,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x108e5e)),_0x22bf51(0x8,(0x0,_0x38d3af['Inject'])(_0x3b3560)),_0x22bf51(0x9,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0xa,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0xb,_0x38d3af['ICommandService']),_0x22bf51(0xc,_0x38d3af['IPermissionService']),_0x22bf51(0xd,(0x0,_0x38d3af[_0x124287(0x261)])(_0x1f80e9)),_0x22bf51(0xe,(0x0,_0x38d3af['Optional'])(_0x19c832))],_0xc23225);let _0x530693=(0x0,_0x38d3af[_0x124287(0x302)])(_0x124287(0x27e));function _0x1195e2(_0x4fbd34){const _0x472e2d=_0x124287;let _0x198e72=_0x4fbd34[_0x472e2d(0x1c3)],_0x240eaf=JSON[_0x472e2d(0x313)](_0x198e72);switch(_0x240eaf[_0x472e2d(0x47e)]){case _0x3eeea2[_0x472e2d(0x27a)][_0x472e2d(0x416)]:case _0x3eeea2[_0x472e2d(0x27a)][_0x472e2d(0x3ee)]:{let _0x3d69e8=_0x240eaf['infoRsp'];return{..._0x240eaf,'data':_0x3d69e8,'cmd':_0x240eaf[_0x472e2d(0x47e)]};}case _0x3eeea2['CombCmd'][_0x472e2d(0x192)]:{let _0x47309f=_0x240eaf[_0x472e2d(0x201)];return{..._0x240eaf,'data':_0x47309f,'cmd':_0x240eaf[_0x472e2d(0x47e)]};}case _0x3eeea2[_0x472e2d(0x27a)]['RECV']:{let _0x10af82=_0x240eaf[_0x472e2d(0x48a)];switch(_0x10af82['eventID']){case _0x25767b[_0x472e2d(0x48c)]['PERMISSION_REJ']:var _0x4de959;return{..._0x240eaf,'data':{..._0x10af82,'data':(_0x4de959=_0x10af82['permissionRejEvent'])==null?void 0x0:_0x4de959['cs']},'cmd':_0x240eaf['cmd']};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x27b)]:var _0x2dea35;return{..._0x240eaf,'data':{..._0x10af82,'data':(_0x2dea35=_0x10af82[_0x472e2d(0x187)])==null?void 0x0:_0x2dea35['cs']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b['CollaborationEvent'][_0x472e2d(0x39b)]:var _0x5da07e;return{..._0x240eaf,'data':{..._0x10af82,'data':(_0x5da07e=_0x10af82[_0x472e2d(0x2e6)])==null?void 0x0:_0x5da07e['cs']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x314)]:var _0x35606f;return{..._0x240eaf,'data':{..._0x10af82,'data':(_0x35606f=_0x10af82['csRejEvent'])==null?void 0x0:_0x35606f['cs']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x31c)]:var _0x69f5d0;return{..._0x240eaf,'data':{..._0x10af82,'data':(_0x69f5d0=_0x10af82['csShouldRetryEvent'])==null?void 0x0:_0x69f5d0['cs']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x291)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x20f)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b['CollaborationEvent']['USERS_ENTER']:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82['joinEvent']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x39c)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x2fa)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x247)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82['liveShareNewHost']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x21f)]:case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x2bd)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x390)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)]['LIVESHARE_TERMINATE']:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82['liveShareNewHost']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x34d)]:return{..._0x240eaf,'data':_0x10af82,'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x1ab)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x243)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b['CollaborationEvent'][_0x472e2d(0x24b)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x350)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x431)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x321)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x1a9)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x369)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};default:return _0x240eaf;}}default:return _0x240eaf;}}function _0x12070a(_0x1a0ae5){const _0x567fcc=_0x124287;switch(_0x1a0ae5['cmd']){case _0x3eeea2[_0x567fcc(0x27a)][_0x567fcc(0x416)]:case _0x3eeea2[_0x567fcc(0x27a)]['HELLO']:return JSON[_0x567fcc(0x1d1)]({'cmd':_0x1a0ae5[_0x567fcc(0x47e)],'routeKey':_0x1a0ae5['routeKey']});case _0x3eeea2[_0x567fcc(0x27a)][_0x567fcc(0x440)]:{let _0x5b1d5f;switch(_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x2af)]){case _0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x291)]:_0x5b1d5f={'eventID':_0x25767b['CollaborationEvent'][_0x567fcc(0x291)],'updateCursorEvent':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x1c3)]};break;case _0x25767b[_0x567fcc(0x48c)]['USERS_LEAVE']:_0x5b1d5f={'eventID':_0x25767b['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x1c3)]};break;case _0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x245)]:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)]['USERS_ENTER'],'joinEvent':_0x1a0ae5[_0x567fcc(0x1c3)]['data']};break;case _0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x247)]:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x247)],'liveShareNewHost':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x1c3)]};break;case _0x25767b['CollaborationEvent'][_0x567fcc(0x2bd)]:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x2bd)],'liveShareOperation':_0x1a0ae5['data'][_0x567fcc(0x1c3)]};break;case _0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x306)]:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x1c3)]};break;case _0x25767b[_0x567fcc(0x48c)]['LIVESHARE_REQUEST_HOST']:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x20e)],'liveShareRequestHost':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x1c3)]};break;case _0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x21f)]:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x21f)]};break;default:_0x5b1d5f={'eventID':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x2af)]};}return JSON[_0x567fcc(0x1d1)]({'cmd':_0x1a0ae5[_0x567fcc(0x47e)],'routeKey':_0x1a0ae5['routeKey'],'collaMsg':_0x5b1d5f});}case _0x3eeea2[_0x567fcc(0x27a)][_0x567fcc(0x192)]:return JSON[_0x567fcc(0x1d1)]({'cmd':_0x1a0ae5['cmd'],'routeKey':_0x1a0ae5['routeKey'],'joinReq':_0x1a0ae5['data']});case _0x3eeea2[_0x567fcc(0x27a)][_0x567fcc(0x19c)]:return JSON[_0x567fcc(0x1d1)]({'cmd':_0x1a0ae5[_0x567fcc(0x47e)],'routeKey':_0x1a0ae5[_0x567fcc(0x420)],'leaveReq':_0x1a0ae5[_0x567fcc(0x1c3)]});default:throw Error(_0x567fcc(0x1e7));}}let _0x3a6db1=(0x0,_0x38d3af[_0x124287(0x302)])(_0x124287(0x183));function _0x4514b1(_0x578970,_0x205b87,_0x409a5c){const _0x5c8d5e=_0x124287;return _0x578970+'/'+_0x205b87+_0x5c8d5e(0x498)+_0x409a5c+_0x5c8d5e(0x28c);}let _0x441833=class extends _0x38d3af['Disposable']{constructor(_0x337641,_0x4d3086,_0x48071f,_0x390018,_0x4d74a8){const _0x2fa99f=_0x124287;super(),this[_0x2fa99f(0x2ed)]=_0x337641,this[_0x2fa99f(0x1d5)]=_0x4d3086,this[_0x2fa99f(0x344)]=_0x48071f,this[_0x2fa99f(0x1d8)]=_0x390018,this[_0x2fa99f(0x25f)]=_0x4d74a8;}[_0x124287(0x239)](_0x47230b){const _0x117152=_0x124287;let _0x5893b9=this[_0x117152(0x2ed)][_0x117152(0x23b)](_0x41d52c[_0x117152(0x2db)]);if(!_0x5893b9)throw Error(_0x117152(0x1ac));let _0x5b917a=_0x5893b9[_0x117152(0x348)](_0x47230b);if(!_0x5b917a)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');let _0x42bfb0=new _0x38d3af[(_0x117152(0x2c8))](),_0x1a3b73=new _0x282118[(_0x117152(0x3d2))]();_0x42bfb0[_0x117152(0x289)](_0x5b917a[_0x117152(0x1fc)][_0x117152(0x3b6)](_0x1fdee6=>_0x1a3b73[_0x117152(0x469)](_0x1fdee6))),_0x42bfb0[_0x117152(0x289)]((0x0,_0x38d3af[_0x117152(0x1bf)])(()=>_0x1a3b73[_0x117152(0x2f8)]()));let _0x32e3f7=new _0x282118[(_0x117152(0x3d2))]();_0x42bfb0[_0x117152(0x289)](_0x5b917a['error$'][_0x117152(0x3b6)](_0x1bd3cc=>_0x32e3f7[_0x117152(0x469)](_0x1bd3cc))),_0x42bfb0[_0x117152(0x289)]((0x0,_0x38d3af[_0x117152(0x1bf)])(()=>_0x32e3f7['complete']()));let _0x533ae4=new _0x282118[(_0x117152(0x3d2))]();_0x42bfb0[_0x117152(0x289)](_0x5b917a[_0x117152(0x278)][_0x117152(0x3b6)](_0x39bdd0=>{const _0x3bb895=_0x117152;let _0x11c9f5=_0x1195e2(_0x39bdd0);_0x533ae4[_0x3bb895(0x469)](_0x11c9f5);})),_0x42bfb0['add']((0x0,_0x38d3af[_0x117152(0x1bf)])(()=>_0x533ae4[_0x117152(0x2f8)]()));let _0x281192,_0x3e0946=()=>{const _0x41d876=_0x117152;_0x32e3f7[_0x41d876(0x469)](new Event(_0x41d876(0x1e3))),_0x1a3b73['next'](new Event(_0x41d876(0x1e3))),_0x281192[_0x41d876(0x439)]();};return _0x281192={'memberID':'','close$':_0x1a3b73['asObservable'](),'error$':_0x32e3f7['asObservable'](),'open$':_0x5b917a[_0x117152(0x340)],'message$':_0x533ae4[_0x117152(0x433)](),'send':_0x49ea00=>{const _0x3f3fca=_0x117152;if(_0x49ea00['cmd']===_0x3eeea2[_0x3f3fca(0x27a)][_0x3f3fca(0x440)]){if(_0x49ea00[_0x3f3fca(0x1c3)]['eventID']===_0x25767b[_0x3f3fca(0x48c)][_0x3f3fca(0x3a5)]){this[_0x3f3fca(0x409)](_0x281192,_0x49ea00[_0x3f3fca(0x1c3)])['catch'](_0x44d4b9=>{const _0x57bcb9=_0x3f3fca;this[_0x57bcb9(0x1d8)]['error'](_0x44d4b9),_0x3e0946();});return;}if(_0x49ea00[_0x3f3fca(0x1c3)][_0x3f3fca(0x2af)]===_0x25767b[_0x3f3fca(0x48c)][_0x3f3fca(0x3ed)]){let _0x32bf1e=_0x49ea00[_0x3f3fca(0x1c3)];this[_0x3f3fca(0x23a)](_0x32bf1e)[_0x3f3fca(0x488)](_0xa5bf66=>{const _0x59b08f=_0x3f3fca;_0x533ae4[_0x59b08f(0x469)]({'cmd':_0x3eeea2[_0x59b08f(0x27a)][_0x59b08f(0x1e6)],'code':_0x3eeea2['CmdRspCode']['OK'],'routeKey':_0x32bf1e[_0x59b08f(0x1c3)][_0x59b08f(0x3c1)],'routeType':'','data':{'eventID':_0x25767b['CollaborationEvent'][_0x59b08f(0x34b)],'data':{'changesets':_0xa5bf66}}});})['catch'](_0x322ea9=>{this['_logService']['error'](_0x322ea9),_0x3e0946();});return;}}_0x5b917a[_0x3f3fca(0x432)](_0x12070a(_0x49ea00));},'close':()=>{const _0x3a13ce=_0x117152;_0x5b917a[_0x3a13ce(0x439)](),_0x42bfb0[_0x3a13ce(0x34a)]();}},_0x281192;}async[_0x124287(0x409)](_0xd28028,_0x580637){const _0x4b3be1=_0x124287;var _0x3f2c0e;let {unitType:_0x353a08,unitID:_0x164a47,changeset:_0x4d33b9}=_0x580637[_0x4b3be1(0x1c3)],_0x361ef1={'unitID':_0x164a47,'memberID':_0xd28028['memberID'],'type':_0x353a08,'changeset':(0x0,_0x25767b['parseChangesetToProtocol'])(_0x4d33b9)},_0x53ffb3=this[_0x4b3be1(0x344)][_0x4b3be1(0x2ad)](_0xc791ca),_0x20d89a=_0x4514b1((_0x3f2c0e=_0x53ffb3==null?void 0x0:_0x53ffb3[_0x4b3be1(0x335)])==null?_0x4b3be1(0x2d4):_0x3f2c0e,_0x353a08,_0x164a47);try{await this[_0x4b3be1(0x1d5)]['post'](_0x20d89a,{'body':_0x361ef1});}catch(_0x46d6c9){throw this['_logService']['error'](_0x4b3be1(0x1bb),_0x4b3be1(0x28f)),_0x46d6c9;}}async[_0x124287(0x23a)](_0x2278b3){const _0x497d30=_0x124287;let {unitID:_0x4708c0,from:_0x4fc23e,to:_0x1f301a,unitType:_0x5d7c5a}=_0x2278b3[_0x497d30(0x1c3)];return(await this['_snapshotServerService'][_0x497d30(0x256)]({'metadata':void 0x0},{'unitID':_0x4708c0,'type':_0x5d7c5a,'from':_0x4fc23e,'to':_0x1f301a}))['changesets'][_0x497d30(0x375)](_0xd53370=>((_0xd53370[_0x497d30(0x253)]===null||_0xd53370[_0x497d30(0x253)]===void 0x0)&&(_0xd53370['mutations']=[]),_0xd53370));}};_0x441833=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['Injector'])),_0x22bf51(0x1,(0x0,_0x38d3af['Inject'])(_0x41d52c[_0x124287(0x46c)])),_0x22bf51(0x2,_0x38d3af[_0x124287(0x41d)]),_0x22bf51(0x3,_0x38d3af['ILogService']),_0x22bf51(0x4,_0x25767b[_0x124287(0x3be)])],_0x441833);let _0x4bcb39=class extends _0x38d3af[_0x124287(0x223)]{get[_0x124287(0x3a4)](){const _0x1df060=_0x124287;return this[_0x1df060(0x45f)]['getValue']();}constructor(_0x10aca2,_0x1e34e4,_0x36d5b6,_0xa97c10,_0x4ff9fe,_0x476e50){const _0x31d47a=_0x124287;super(),this[_0x31d47a(0x2ed)]=_0x10aca2,this[_0x31d47a(0x1d8)]=_0x1e34e4,this[_0x31d47a(0x344)]=_0x36d5b6,this[_0x31d47a(0x463)]=_0xa97c10,this[_0x31d47a(0x301)]=_0x4ff9fe,this['_networkConditionService']=_0x476e50,_0x50ece2(this,_0x31d47a(0x45f),new _0x282118[(_0x31d47a(0x279))](void 0x0)),_0x50ece2(this,_0x31d47a(0x3b9),this[_0x31d47a(0x45f)][_0x31d47a(0x433)]()),_0x50ece2(this,_0x31d47a(0x32c),null),_0x50ece2(this,_0x31d47a(0x382),new Map()),_0x50ece2(this,_0x31d47a(0x3e8),new _0x282118['BehaviorSubject'](0x0)),_0x50ece2(this,_0x31d47a(0x34e),this[_0x31d47a(0x3e8)][_0x31d47a(0x433)]()),_0x50ece2(this,_0x31d47a(0x1d3),!0x1),_0x50ece2(this,_0x31d47a(0x479),void 0x0),_0x50ece2(this,_0x31d47a(0x383),0x0),_0x50ece2(this,_0x31d47a(0x2d0),void 0x0),_0x50ece2(this,_0x31d47a(0x407),void 0x0),this[_0x31d47a(0x448)]();}[_0x124287(0x448)](){const _0x40c1ed=_0x124287;this[_0x40c1ed(0x1f6)]&&this[_0x40c1ed(0x334)](this[_0x40c1ed(0x1f6)][_0x40c1ed(0x20a)][_0x40c1ed(0x3b6)](_0x56ab1a=>{const _0xd3fc8a=_0x40c1ed;_0x56ab1a&&!this['_socket']&&this[_0xd3fc8a(0x328)](),_0x56ab1a||this[_0xd3fc8a(0x428)]();}));}[_0x124287(0x34a)](){const _0x4993d4=_0x124287;super[_0x4993d4(0x34a)](),this['_clearRetryConnectingTimer'](),this[_0x4993d4(0x3b0)](),this[_0x4993d4(0x447)](),this[_0x4993d4(0x382)][_0x4993d4(0x3eb)](_0x4aaa55=>_0x4aaa55[_0x4993d4(0x34a)]()),this[_0x4993d4(0x382)][_0x4993d4(0x25e)](),this['_status$'][_0x4993d4(0x2f8)]();}async[_0x124287(0x224)](_0x1a78d9){const _0x17414b=_0x124287;if(this['_sessions'][_0x17414b(0x2ac)](_0x1a78d9))return this['_sessions'][_0x17414b(0x23b)](_0x1a78d9);this[_0x17414b(0x32e)]();let _0xa8962e=this[_0x17414b(0x2ed)][_0x17414b(0x236)](_0x3be262,_0x1a78d9,this[_0x17414b(0x45f)][_0x17414b(0x433)]());return this[_0x17414b(0x382)][_0x17414b(0x46d)](_0x1a78d9,_0xa8962e),_0xa8962e;}[_0x124287(0x29e)](_0x8a8be3){const _0x96ea78=_0x124287;let _0x294fa6=this[_0x96ea78(0x382)][_0x96ea78(0x23b)](_0x8a8be3);if(_0x294fa6&&(this[_0x96ea78(0x382)][_0x96ea78(0x423)](_0x8a8be3),_0x294fa6[_0x96ea78(0x439)]()),!this[_0x96ea78(0x382)][_0x96ea78(0x221)]){var _0x236aad;(_0x236aad=this[_0x96ea78(0x3a4)])==null||_0x236aad[_0x96ea78(0x439)]();}}['reconnect'](){const _0x3e04c8=_0x124287;this[_0x3e04c8(0x383)]=0x0,this[_0x3e04c8(0x29f)](),this[_0x3e04c8(0x3d4)]();}[_0x124287(0x29f)](){const _0x32a7fa=_0x124287;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x32a7fa(0x479)]),this[_0x32a7fa(0x479)]=null);}async['_createSocket'](){const _0x276ba5=_0x124287;var _0x50a933;let _0x5e0fc0=this['_configService'][_0x276ba5(0x2ad)](_0xc791ca),_0xc3b1c3=(_0x50a933=_0x5e0fc0==null?void 0x0:_0x5e0fc0[_0x276ba5(0x49e)])==null?_0x4e50db:_0x50a933,_0x5ed882=await this['_socketService'][_0x276ba5(0x348)](_0xc3b1c3);return this[_0x276ba5(0x32c)]=_0x5ed882,_0x5ed882;}async[_0x124287(0x32e)](){const _0x323ace=_0x124287;try{var _0x1ebcc4,_0x3519a1;let _0x31bf87=(_0x1ebcc4=(_0x3519a1=this[_0x323ace(0x3a4)])==null?this['_candidateSocket']:_0x3519a1)==null?await this['_createSocket']():_0x1ebcc4;if(_0x31bf87){let _0x1490b3=_0x31bf87[_0x323ace(0x432)];_0x31bf87[_0x323ace(0x432)]=_0x3d4644=>(_0x3d4644[_0x323ace(0x47e)]!==_0x3eeea2[_0x323ace(0x27a)]['LEAVE']&&this[_0x323ace(0x1d4)](),_0x1490b3[_0x323ace(0x353)](_0x31bf87,[_0x3d4644])),_0x31bf87[_0x323ace(0x278)][_0x323ace(0x3b6)](_0x10e281=>this[_0x323ace(0x443)](_0x31bf87,_0x10e281)),_0x31bf87[_0x323ace(0x246)][_0x323ace(0x1d2)]((0x0,_0xecc1b5['take'])(0x1))[_0x323ace(0x3b6)](_0x19c6ed=>this[_0x323ace(0x1d8)][_0x323ace(0x338)](_0x323ace(0x3a1),_0x19c6ed)),_0x31bf87[_0x323ace(0x340)][_0x323ace(0x1d2)]((0x0,_0xecc1b5[_0x323ace(0x374)])(0x1))['subscribe'](()=>{const _0x55d60b=_0x323ace;this[_0x55d60b(0x281)](_0x31bf87);}),_0x31bf87[_0x323ace(0x1fc)]['pipe']((0x0,_0xecc1b5[_0x323ace(0x374)])(0x1))[_0x323ace(0x3b6)](_0x1ce48a=>{const _0x543f9b=_0x323ace;this[_0x543f9b(0x1d8)][_0x543f9b(0x215)](_0x543f9b(0x35d),_0x543f9b(0x197),_0x1ce48a),this[_0x543f9b(0x1ba)]();});}}catch(_0x845be9){this[_0x323ace(0x1d8)]['error'](_0x845be9),this['_onConnectionFailed']();}}[_0x124287(0x281)](_0x5d5e65){const _0x3a47d2=_0x124287;this[_0x3a47d2(0x1d8)][_0x3a47d2(0x215)](_0x3a47d2(0x35d),_0x3a47d2(0x218)),_0x5d5e65[_0x3a47d2(0x432)]({'cmd':_0x3eeea2[_0x3a47d2(0x27a)][_0x3a47d2(0x3ee)]}),this['_rescheduleHeartbeat']();}[_0x124287(0x428)](){const _0x1a891e=_0x124287;this[_0x1a891e(0x1d3)]=!0x1,this['_candidateSocket']=null,this['_status$']['next'](0x2),this['_socket$']['next'](null),this[_0x1a891e(0x3b0)](),this['_clearHeartbeatTimer']();}[_0x124287(0x1ba)](){const _0x4fb238=_0x124287;var _0x49fd83;this[_0x4fb238(0x428)](),this[_0x4fb238(0x383)]<((_0x49fd83=this[_0x4fb238(0x344)][_0x4fb238(0x2ad)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0x49fd83)?(this[_0x4fb238(0x301)][_0x4fb238(0x3ae)]({'id':_0x4fb238(0x357)}),this[_0x4fb238(0x3d4)]()):this[_0x4fb238(0x301)]['emitEvent']({'id':_0x4fb238(0x44b)});}[_0x124287(0x3d4)](){const _0xa4112=_0x124287;var _0x259158;let _0x387bde=this[_0xa4112(0x383)],_0x345a90=this['_configService'][_0xa4112(0x2ad)](_0xc791ca),_0x4681f7=_0x387bde===0x0?0x0:((_0x259158=_0x345a90==null?void 0x0:_0x345a90['retryConnectingInterval'])==null?0x4e20:_0x259158)*0x2**_0x387bde;this['_retryConnectingTimer']=setTimeout(()=>{const _0x1f2a3e=_0xa4112;clearTimeout(this['_retryConnectingTimer']),this[_0x1f2a3e(0x479)]=null,this[_0x1f2a3e(0x32e)]();},_0x4681f7),this[_0xa4112(0x383)]+=0x1;}[_0x124287(0x443)](_0x5e891b,_0x26b910){const _0x5c3d7a=_0x124287;let {cmd:_0x58d38f}=_0x26b910;_0x58d38f===_0x3eeea2[_0x5c3d7a(0x27a)][_0x5c3d7a(0x3ee)]&&!this[_0x5c3d7a(0x1d3)]&&(_0x5e891b[_0x5c3d7a(0x184)]=_0x26b910[_0x5c3d7a(0x1c3)][_0x5c3d7a(0x184)],this[_0x5c3d7a(0x45f)][_0x5c3d7a(0x469)](_0x5e891b),this[_0x5c3d7a(0x3e8)][_0x5c3d7a(0x469)](0x3),this[_0x5c3d7a(0x1d3)]=!0x0,this[_0x5c3d7a(0x32c)]=null),_0x58d38f===_0x3eeea2[_0x5c3d7a(0x27a)][_0x5c3d7a(0x416)]&&this[_0x5c3d7a(0x3b0)](),this['_rescheduleHeartbeat']();}[_0x124287(0x1d4)](){const _0x46840b=_0x124287;var _0x3216e4;this[_0x46840b(0x447)](),this[_0x46840b(0x2d0)]=setTimeout(()=>this[_0x46840b(0x482)](),(_0x3216e4=this[_0x46840b(0x344)][_0x46840b(0x2ad)](_0x46840b(0x2da)))==null?0x7530:_0x3216e4);}[_0x124287(0x482)](){const _0x552459=_0x124287;this[_0x552459(0x3a4)][_0x552459(0x432)]({'cmd':_0x3eeea2[_0x552459(0x27a)][_0x552459(0x416)]}),this[_0x552459(0x2a7)]();}[_0x124287(0x2a7)](){const _0x1fe879=_0x124287;var _0x1d0a4f;this['_timeoutTimer']=setTimeout(()=>this[_0x1fe879(0x1ba)](),(_0x1d0a4f=this[_0x1fe879(0x344)]['getConfig'](_0x1fe879(0x28d)))==null?_0x472429:_0x1d0a4f);}[_0x124287(0x447)](){const _0x2a4e6e=_0x124287;this[_0x2a4e6e(0x2d0)]!=null&&(clearTimeout(this[_0x2a4e6e(0x2d0)]),this[_0x2a4e6e(0x2d0)]=null);}[_0x124287(0x3b0)](){const _0x41acb1=_0x124287;this[_0x41acb1(0x407)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};_0x4bcb39=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['Injector'])),_0x22bf51(0x1,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0x2,_0x38d3af[_0x124287(0x41d)]),_0x22bf51(0x3,_0x3a6db1),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x3b3560)),_0x22bf51(0x5,(0x0,_0x38d3af[_0x124287(0x261)])(_0x530693))],_0x4bcb39);let _0x3499dc=class extends _0x38d3af['RxDisposable']{constructor(_0x2085ad,_0x5d2ed4,_0x4728b8,_0x12ad26){const _0x123682=_0x124287;var _0x52ac02;super(),this[_0x123682(0x2ed)]=_0x2085ad,this[_0x123682(0x337)]=_0x5d2ed4,this[_0x123682(0x344)]=_0x4728b8,this[_0x123682(0x29b)]=_0x12ad26,_0x50ece2(this,_0x123682(0x259),new Map()),_0x50ece2(this,_0x123682(0x41f),new _0x282118[(_0x123682(0x3d2))]()),_0x50ece2(this,'entityInit$',this[_0x123682(0x41f)]['asObservable']()),((_0x52ac02=this[_0x123682(0x344)][_0x123682(0x2ad)]('collaboration-client.config'))==null?void 0x0:_0x52ac02[_0x123682(0x483)])!==!0x1&&this[_0x123682(0x486)]();}[_0x124287(0x34a)](){const _0x24e9c5=_0x124287;super[_0x24e9c5(0x34a)](),this[_0x24e9c5(0x259)][_0x24e9c5(0x3eb)](_0x4814d4=>_0x4814d4[_0x24e9c5(0x34a)]()),this['_entities'][_0x24e9c5(0x25e)]();}['getCollabEntity'](_0x5a5c04){const _0x54970f=_0x124287;var _0x32927d;return(_0x32927d=this[_0x54970f(0x259)]['get'](_0x5a5c04))==null?null:_0x32927d;}['getCollabEntity$'](_0x42ebb2){const _0x519755=_0x124287;let _0x2a9603=this[_0x519755(0x30c)](_0x42ebb2);return _0x2a9603?(0x0,_0x282118['of'])(_0x2a9603):this[_0x519755(0x41f)][_0x519755(0x1d2)]((0x0,_0xecc1b5[_0x519755(0x444)])(_0x1ee387=>_0x1ee387['unitID']===_0x42ebb2));}[_0x124287(0x26c)](_0x50eb4d){const _0xc7f510=_0x124287;return(0x0,_0x282118[_0xc7f510(0x31e)])(this[_0xc7f510(0x3b7)](_0x50eb4d)[_0xc7f510(0x1d2)]((0x0,_0xecc1b5[_0xc7f510(0x375)])(()=>void 0x0)));}[_0x124287(0x486)](){const _0x4a78da=_0x124287;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x38d3af[_0x4a78da(0x244)][_0x4a78da(0x28b)])[_0x4a78da(0x1d2)]((0x0,_0x282118[_0x4a78da(0x1bc)])(this['dispose$']),(0x0,_0xecc1b5[_0x4a78da(0x394)])(0x10))[_0x4a78da(0x3b6)](async _0xaf98e0=>{const _0x5163d7=_0x4a78da;let _0x4654e9=_0xaf98e0[_0x5163d7(0x240)][_0x5163d7(0x258)](),_0x32d08f=await this[_0x5163d7(0x3d0)](_0x4654e9,_0x38d3af[_0x5163d7(0x244)][_0x5163d7(0x28b)]);this[_0x5163d7(0x259)]['set'](_0x4654e9,_0x32d08f);}),this['_univerInstanceService'][_0x4a78da(0x30b)](_0x38d3af[_0x4a78da(0x244)][_0x4a78da(0x493)])[_0x4a78da(0x1d2)]((0x0,_0x282118['takeUntil'])(this[_0x4a78da(0x1b4)]),(0x0,_0xecc1b5[_0x4a78da(0x394)])(0x10))[_0x4a78da(0x1d2)]((0x0,_0xecc1b5[_0x4a78da(0x444)])(_0x587498=>!_0x587498['unit']['getUnitId']()[_0x4a78da(0x3ca)]('__')))['subscribe'](async _0x5f618a=>{const _0xac7e50=_0x4a78da;let _0x36ef05=_0x5f618a[_0xac7e50(0x240)][_0xac7e50(0x258)](),_0x33257e=await this[_0xac7e50(0x3d0)](_0x36ef05,_0x38d3af[_0xac7e50(0x244)][_0xac7e50(0x493)]);this[_0xac7e50(0x259)][_0xac7e50(0x46d)](_0x36ef05,_0x33257e);}),(0x0,_0x282118[_0x4a78da(0x23d)])(this[_0x4a78da(0x29b)]['getTypeOfUnitDisposed$'](_0x38d3af[_0x4a78da(0x244)][_0x4a78da(0x28b)]),this[_0x4a78da(0x29b)][_0x4a78da(0x446)](_0x38d3af['UniverInstanceType'][_0x4a78da(0x493)]))['pipe']((0x0,_0x282118[_0x4a78da(0x1bc)])(this[_0x4a78da(0x1b4)]))[_0x4a78da(0x3b6)](_0x3962ec=>{const _0x3061cd=_0x4a78da;let _0x206b5b=_0x3962ec[_0x3061cd(0x258)](),_0x1f484e=this[_0x3061cd(0x259)][_0x3061cd(0x23b)](_0x206b5b);_0x1f484e&&(_0x1f484e[_0x3061cd(0x34a)](),this[_0x3061cd(0x259)]['delete'](_0x206b5b));});}async['_startCollaboration'](_0x48b4ab,_0x3a9b0c){const _0x45c464=_0x124287;let _0x211063=await this[_0x45c464(0x337)]['requireSession'](_0x48b4ab),_0x3f6cc2=this[_0x45c464(0x2ed)][_0x45c464(0x236)](this[_0x45c464(0x1c4)](_0x3a9b0c),_0x48b4ab,_0x3a9b0c,_0x211063);return await _0x3f6cc2[_0x45c464(0x49d)](),this[_0x45c464(0x41f)][_0x45c464(0x469)](_0x3f6cc2),_0x3f6cc2;}[_0x124287(0x1c4)](_0x4cae98){const _0x445f55=_0x124287;switch(_0x4cae98){case _0x38d3af['UniverInstanceType']['UNIVER_DOC']:return _0x4f76be;case _0x38d3af[_0x445f55(0x244)]['UNIVER_SHEET']:return _0xc23225;default:throw Error(_0x445f55(0x18e)+_0x4cae98);}}};_0x3499dc=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x4bcb39)),_0x22bf51(0x2,_0x38d3af['IConfigService']),_0x22bf51(0x3,_0x38d3af[_0x124287(0x2cc)])],_0x3499dc);var _0x3119c7=_0x124287(0x364),_0x10ce9f=_0x124287(0x2c5);let _0x14ab70=class extends _0x38d3af['Disposable']{constructor(_0x19d707,_0x4efd70){const _0xa635b3=_0x124287;super(),this['_univerInstanceService']=_0x19d707,this[_0xa635b3(0x344)]=_0x4efd70,this[_0xa635b3(0x486)]();}[_0x124287(0x486)](){const _0x5e1fb1=_0x124287;this['disposeWithMe'](this[_0x5e1fb1(0x29b)][_0x5e1fb1(0x205)]['subscribe'](()=>{const _0x43a97e=_0x5e1fb1;var _0x53f9f6;let _0x20f305=this[_0x43a97e(0x29b)][_0x43a97e(0x449)](),_0x34a7c3=(_0x53f9f6=this[_0x43a97e(0x344)][_0x43a97e(0x2ad)](_0x43a97e(0x360)))==null?_0x43a97e(0x366):_0x53f9f6;_0x20f305 instanceof _0x38d3af['Workbook']&&(_0x34a7c3=_0x20f305[_0x43a97e(0x3c9)]),document[_0x43a97e(0x216)]=_0x34a7c3;}));}};_0x14ab70=_0x131186([_0x22bf51(0x0,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0x1,_0x38d3af[_0x124287(0x41d)])],_0x14ab70);let _0x4a34d9=class{constructor(_0x50a75e,_0x20b730,_0x15d2d6){const _0x5cbd0e=_0x124287;this[_0x5cbd0e(0x344)]=_0x50a75e,this[_0x5cbd0e(0x1d5)]=_0x20b730,this[_0x5cbd0e(0x1cc)]=_0x15d2d6,this[_0x5cbd0e(0x49d)]();}[_0x124287(0x49d)](){const _0x46fdaa=_0x124287;this[_0x46fdaa(0x1d5)][_0x46fdaa(0x186)]({'priority':0x1,'interceptor':(_0x59660f,_0x343974)=>_0x343974(_0x59660f)[_0x46fdaa(0x1d2)]((0x0,_0x282118[_0x46fdaa(0x474)])(async _0x55f205=>{const _0x377a8d=_0x46fdaa;let _0x444012=_0x55f205;if(_0x444012[_0x377a8d(0x2b5)]===0x191){if(typeof window>'u')throw Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x377a8d(0x1cc)]['t'](_0x377a8d(0x2f5)))){let _0x1f0200=window[_0x377a8d(0x19e)](window['location'][_0x377a8d(0x403)]);window[_0x377a8d(0x29c)]['href']=this[_0x377a8d(0x3c0)]()+_0x377a8d(0x1f5)+_0x1f0200;}}return _0x444012;}))});}[_0x124287(0x3c0)](){const _0x4b7bd1=_0x124287;var _0x5585f1;let _0x43aa01=this['_configService'][_0x4b7bd1(0x2ad)](_0xc791ca);return(_0x5585f1=_0x43aa01==null?void 0x0:_0x43aa01[_0x4b7bd1(0x2ba)])==null?_0x4b7bd1(0x1bd):_0x5585f1;}};_0x4a34d9=_0x131186([_0x22bf51(0x0,_0x38d3af['IConfigService']),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x41d52c[_0x124287(0x46c)])),_0x22bf51(0x2,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x461)]))],_0x4a34d9);let _0x457782=class extends _0x38d3af[_0x124287(0x223)]{constructor(_0x2a2b3c,_0x1e15b4){const _0x2ded8e=_0x124287;super(),this[_0x2ded8e(0x26e)]=_0x2a2b3c,this['_configService']=_0x1e15b4,_0x50ece2(this,_0x2ded8e(0x18c),!0x1),this[_0x2ded8e(0x252)]();}[_0x124287(0x252)](){const _0x2cb42a=_0x124287;let _0x511b07=this;this[_0x2cb42a(0x334)](this[_0x2cb42a(0x26e)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':(0x0,_0x41d52c['MergeInterceptorFactory'])({'isMatch'(_0x56171f){const _0x31e8c6=_0x2cb42a;var _0x5cdeb6;if(_0x56171f[_0x31e8c6(0x20b)]===_0x31e8c6(0x43b)&&(_0x5cdeb6=_0x56171f[_0x31e8c6(0x405)])!=null&&_0x5cdeb6[_0x31e8c6(0x359)]){let {objectID:_0x86ef23,objectType:_0x123026}=_0x56171f[_0x31e8c6(0x405)][_0x31e8c6(0x359)]||{};if(!_0x86ef23||_0x123026===void 0x0)return!0x1;let _0x1994ba=_0x511b07[_0x31e8c6(0x274)]()+'/'+_0x123026+_0x31e8c6(0x388)+_0x86ef23+_0x31e8c6(0x470);if(_0x56171f[_0x31e8c6(0x2a4)]===_0x1994ba)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x100ae9){const _0x5de0ae=_0x2cb42a;var _0x3ed7a1;return(_0x3ed7a1=_0x100ae9['requestParams'])==null?void 0x0:_0x3ed7a1[_0x5de0ae(0x359)];},'mergeParamsToRequest'(_0x2dafa6,_0x527e16){const _0x2a64ad=_0x2cb42a;let _0x254a45=_0x511b07['_getAPIPrefixPath']()+_0x2a64ad(0x47f),_0x550550=_0x2dafa6[_0x2a64ad(0x33e)]((_0x585e0d,_0x459b8f)=>{const _0x3537d9=_0x2a64ad;let {unitID:_0x5eb176,objectID:_0x5a5219,objectType:_0x18d2aa,actions:_0x166a75}=_0x459b8f;return _0x585e0d[_0x5eb176]||(_0x585e0d[_0x5eb176]={}),_0x585e0d[_0x5eb176][_0x5a5219]||(_0x585e0d[_0x5eb176][_0x5a5219]={'objectID':_0x5a5219,'objectType':_0x18d2aa,'actions':[]}),_0x585e0d[_0x5eb176][_0x5a5219][_0x3537d9(0x393)]['push'](..._0x166a75),_0x585e0d;},{}),_0x52a123=[];for(let _0x3abbf2 in _0x550550)for(let _0x42046f in _0x550550[_0x3abbf2]){let {actions:_0x5177db,objectType:_0x519557}=_0x550550[_0x3abbf2][_0x42046f],_0x231086=[...new Set(_0x5177db)];_0x52a123[_0x2a64ad(0x385)]({'unitID':_0x3abbf2,'objectID':_0x42046f,'objectType':_0x519557,'actions':_0x231086});}return new _0x41d52c['HTTPRequest']('POST',_0x254a45,{'headers':_0x527e16[_0x2a64ad(0x23e)],'withCredentials':_0x527e16[_0x2a64ad(0x3a7)],'responseType':_0x527e16[_0x2a64ad(0x275)],'body':{'requests':_0x52a123}});}},{'distributeResult'(_0x2bd0df,_0x42f67a){const _0xecf6ff=_0x2cb42a;let {objectActions:_0x34715d}=_0x2bd0df;return _0x42f67a[_0xecf6ff(0x375)](_0x272cdd=>{const _0x30e3af=_0xecf6ff;let {unitID:_0x2a4f61,objectID:_0xe9947f,actions:_0x6f7e94}=_0x272cdd,_0x3b7001=_0x34715d[_0x30e3af(0x471)](_0xae9ba0=>_0xae9ba0[_0x30e3af(0x3c1)]===_0x2a4f61&&_0xae9ba0['objectID']===_0xe9947f);return{'config':_0x272cdd,'result':{'actions':_0x6f7e94['map'](_0xc8eac5=>_0x3b7001==null?void 0x0:_0x3b7001[_0x30e3af(0x393)][_0x30e3af(0x471)](_0x3c7e54=>_0x3c7e54[_0x30e3af(0x4a5)]===_0xc8eac5))[_0x30e3af(0x444)](_0x19db51=>!!_0x19db51),'error':_0x2bd0df[_0x30e3af(0x338)]}};});}})}));}[_0x124287(0x274)](){const _0x2cee12=_0x124287;var _0x30056a;let _0x536067=this['_configService'][_0x2cee12(0x2ad)](_0xc791ca);return(_0x30056a=_0x536067==null?void 0x0:_0x536067[_0x2cee12(0x2f6)])==null?'/universer-api/authz':_0x30056a;}async[_0x124287(0x2c1)](_0x398e2e){const _0x489bff=_0x124287;let _0x303fd0=this[_0x489bff(0x274)]()+'/'+_0x398e2e[_0x489bff(0x22a)]+_0x489bff(0x41a);return(await this['_HTTPService'][_0x489bff(0x27f)](_0x303fd0,{'body':_0x398e2e}))['body'][_0x489bff(0x3a8)]||'';}async[_0x124287(0x2cb)](_0x1f827e){const _0x48fa8a=_0x124287;let _0x27eb9c=this[_0x48fa8a(0x274)]()+_0x48fa8a(0x297);return(await this['_HTTPService'][_0x48fa8a(0x27f)](_0x27eb9c,{'body':_0x1f827e}))[_0x48fa8a(0x359)][_0x48fa8a(0x182)];}async[_0x124287(0x1b1)](_0x7308d4){const _0x26c2a4=_0x124287;var _0x3f4dd3;let _0x10a56f=this[_0x26c2a4(0x274)]()+'/'+_0x7308d4['objectType']+_0x26c2a4(0x388)+_0x7308d4[_0x26c2a4(0x3a8)],_0x5f3366=await this[_0x26c2a4(0x26e)][_0x26c2a4(0x48d)](_0x10a56f,{'body':_0x7308d4});if((_0x5f3366==null||(_0x3f4dd3=_0x5f3366['body'])==null||(_0x3f4dd3=_0x3f4dd3['error'])==null?void 0x0:_0x3f4dd3[_0x26c2a4(0x211)])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x13cdd6){const _0xad3b4=_0x124287;let _0x165c24=this['_getAPIPrefixPath']()+'/'+_0x13cdd6[_0xad3b4(0x22a)]+_0xad3b4(0x388)+_0x13cdd6[_0xad3b4(0x3a8)]+_0xad3b4(0x470);return(await this[_0xad3b4(0x26e)]['post'](_0x165c24,{'body':_0x13cdd6}))[_0xad3b4(0x359)][_0xad3b4(0x393)];}async[_0x124287(0x21a)](_0x2f8df1){const _0x1cca97=_0x124287;let _0x2fe801=this[_0x1cca97(0x274)]()+_0x1cca97(0x47f);return(await this[_0x1cca97(0x26e)]['post'](_0x2fe801,{'body':{'requests':_0x2f8df1}}))['body'][_0x1cca97(0x287)];}async[_0x124287(0x38d)](_0x51903f){const _0x3dd49b=_0x124287;let _0x1d4ab=this[_0x3dd49b(0x274)]()+'/'+_0x51903f[_0x3dd49b(0x22a)]+_0x3dd49b(0x35a),_0x25c2a0=await this[_0x3dd49b(0x26e)][_0x3dd49b(0x27f)](_0x1d4ab,{'body':_0x51903f});return{'roles':_0x25c2a0[_0x3dd49b(0x359)]['roles'],'actions':_0x25c2a0['body'][_0x3dd49b(0x393)]};}async[_0x124287(0x25c)](_0x429756){const _0x105694=_0x124287;let _0x306a8d=this[_0x105694(0x274)]()+_0x105694(0x2aa);await this[_0x105694(0x26e)]['delete'](_0x306a8d,{'params':{'collaboratorID':_0x429756[_0x105694(0x347)],'objectID':_0x429756['objectID'],'unitID':_0x429756[_0x105694(0x3c1)]}});}async[_0x124287(0x349)](_0xf5c96f){const _0x1b9119=_0x124287;let _0x443a78=this['_getAPIPrefixPath']()+_0x1b9119(0x2aa);await this[_0x1b9119(0x26e)]['patch'](_0x443a78,{'body':_0xf5c96f});}async[_0x124287(0x1e8)](_0x41a132){const _0x58c9ed=_0x124287;let _0x19275b=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x58c9ed(0x26e)][_0x58c9ed(0x27f)](_0x19275b,{'body':_0x41a132});}async[_0x124287(0x465)](_0x3e4daa){const _0x24af75=_0x124287;var _0x31ff8e;let _0x1d1c12=this['_getAPIPrefixPath']()+'/collaborator',_0xf4d31c=await this[_0x24af75(0x26e)][_0x24af75(0x23b)](_0x1d1c12,{'params':{'objectID':_0x3e4daa['objectID'],'unitID':_0x3e4daa[_0x24af75(0x3c1)]}});return this['setCfgEnableObjInherit']((_0x31ff8e=_0xf4d31c[_0x24af75(0x359)][_0x24af75(0x454)])==null?!0x1:_0x31ff8e),_0xf4d31c['body']['collaborators'];}async['putCollaborators'](_0x2d0ea0){const _0x499027=_0x124287;let _0x37d87b=this[_0x499027(0x274)]()+_0x499027(0x2aa);await this['_HTTPService'][_0x499027(0x48d)](_0x37d87b,{'body':_0x2d0ea0});}[_0x124287(0x2d9)](_0x30694f){const _0x206d28=_0x124287;this[_0x206d28(0x18c)]=_0x30694f;}[_0x124287(0x222)](){const _0x1d95e0=_0x124287;return this[_0x1d95e0(0x18c)];}};_0x457782=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af['Inject'])(_0x41d52c[_0x124287(0x46c)])),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x41d)]))],_0x457782);function _0x37a8eb(_0x5126bf){const _0x3d81bc=_0x124287;return _0x5126bf instanceof Uint8Array||ArrayBuffer['isView'](_0x5126bf)&&_0x5126bf[_0x3d81bc(0x3c4)][_0x3d81bc(0x3c9)]===_0x3d81bc(0x2e3)&&_0x3d81bc(0x1e0)in _0x5126bf&&_0x5126bf['BYTES_PER_ELEMENT']===0x1;}function _0xb5d903(_0x30cb7c){const _0x17b298=_0x124287;if(typeof _0x30cb7c!=_0x17b298(0x29a))throw TypeError(_0x17b298(0x1de)+typeof _0x30cb7c);if(!Number[_0x17b298(0x1c7)](_0x30cb7c)||_0x30cb7c<0x0)throw RangeError(_0x17b298(0x41b)+_0x30cb7c);}function _0x2000fe(_0x2691e3,_0x495b80,_0x2388e7=''){const _0xff89f8=_0x124287;let _0x19792a=_0x37a8eb(_0x2691e3),_0x43bbfd=_0x2691e3==null?void 0x0:_0x2691e3[_0xff89f8(0x48e)],_0x496db3=_0x495b80!==void 0x0;if(!_0x19792a||_0x496db3&&_0x43bbfd!==_0x495b80){let _0x1c535a=_0x2388e7&&'\x22'+_0x2388e7+'\x22\x20',_0x3bf196=_0x496db3?_0xff89f8(0x384)+_0x495b80:'',_0x16a63a=_0x19792a?_0xff89f8(0x1b7)+_0x43bbfd:'type='+typeof _0x2691e3,_0x10e3d1=_0x1c535a+_0xff89f8(0x49c)+_0x3bf196+_0xff89f8(0x21d)+_0x16a63a;throw _0x19792a?RangeError(_0x10e3d1):TypeError(_0x10e3d1);}return _0x2691e3;}function _0x439993(_0x191192){const _0xb00533=_0x124287;return new Uint32Array(_0x191192[_0xb00533(0x1b6)],_0x191192['byteOffset'],Math['floor'](_0x191192[_0xb00533(0x280)]/0x4));}function _0x39382e(..._0x2049d1){const _0x3bc190=_0x124287;for(let _0x577a36=0x0;_0x577a36<_0x2049d1[_0x3bc190(0x48e)];_0x577a36++)_0x2049d1[_0x577a36]['fill'](0x0);}let _0x429043=new Uint8Array(new Uint32Array([0x11223344])[_0x124287(0x1b6)])[0x0]===0x44,_0x8ab090=_0x507f43=>_0x507f43<<0x18&0xff000000|_0x507f43<<0x8&0xff0000|_0x507f43>>>0x8&0xff00|_0x507f43>>>0x18&0xff,_0x307d64=_0x429043?_0x15bffd=>_0x15bffd:_0x568aa7=>{const _0x153cde=_0x124287;for(let _0x5614f1=0x0;_0x5614f1<_0x568aa7[_0x153cde(0x48e)];_0x5614f1++)_0x568aa7[_0x5614f1]=_0x8ab090(_0x568aa7[_0x5614f1]);return _0x568aa7;};typeof Uint8Array[_0x124287(0x2a1)]([])[_0x124287(0x294)]==_0x124287(0x3a6)&&Uint8Array[_0x124287(0x2b3)];function _0x678b7(_0x2261cc){const _0x2c6cd1=_0x124287;if(typeof _0x2261cc!=_0x2c6cd1(0x1a1))throw TypeError(_0x2c6cd1(0x298));return new Uint8Array(new TextEncoder()[_0x2c6cd1(0x2e7)](_0x2261cc));}function _0xbbbe1e(_0x185655,_0x367216){const _0x5c6dac=_0x124287;return!_0x185655[_0x5c6dac(0x280)]||!_0x367216[_0x5c6dac(0x280)]?!0x1:_0x185655['buffer']===_0x367216[_0x5c6dac(0x1b6)]&&_0x185655['byteOffset']<_0x367216[_0x5c6dac(0x3bd)]+_0x367216[_0x5c6dac(0x280)]&&_0x367216[_0x5c6dac(0x3bd)]<_0x185655[_0x5c6dac(0x3bd)]+_0x185655[_0x5c6dac(0x280)];}function _0x2aade4(_0x3bf098,_0x2703b5){const _0x3767a7=_0x124287;if(_0xbbbe1e(_0x3bf098,_0x2703b5)&&_0x3bf098[_0x3767a7(0x3bd)]<_0x2703b5[_0x3767a7(0x3bd)])throw Error(_0x3767a7(0x19a));}function _0x4634bd(..._0x1cddc7){const _0x3db245=_0x124287;let _0x435987=0x0;for(let _0x4b1403=0x0;_0x4b1403<_0x1cddc7[_0x3db245(0x48e)];_0x4b1403++){let _0x4b6aff=_0x1cddc7[_0x4b1403];_0x2000fe(_0x4b6aff),_0x435987+=_0x4b6aff[_0x3db245(0x48e)];}let _0x43aa41=new Uint8Array(_0x435987);for(let _0x36c3ce=0x0,_0x3b626b=0x0;_0x36c3ce<_0x1cddc7[_0x3db245(0x48e)];_0x36c3ce++){let _0x1f993f=_0x1cddc7[_0x36c3ce];_0x43aa41[_0x3db245(0x46d)](_0x1f993f,_0x3b626b),_0x3b626b+=_0x1f993f['length'];}return _0x43aa41;}let _0x25ee87=(_0x58ec97,_0x543d85)=>{const _0x2c2534=_0x124287;function _0x30a8d5(_0x4d2c63,..._0x20ec34){const _0x40ee9c=_0x3817;if(_0x2000fe(_0x4d2c63,void 0x0,_0x40ee9c(0x462)),_0x58ec97[_0x40ee9c(0x402)]!==void 0x0){let _0x155b35=_0x20ec34[0x0];_0x2000fe(_0x155b35,_0x58ec97['varSizeNonce']?void 0x0:_0x58ec97[_0x40ee9c(0x402)],_0x40ee9c(0x31f));}let _0x304595=_0x58ec97[_0x40ee9c(0x17f)];_0x304595&&_0x20ec34[0x1]!==void 0x0&&_0x2000fe(_0x20ec34[0x1],void 0x0,_0x40ee9c(0x351));let _0x1c7476=_0x543d85(_0x4d2c63,..._0x20ec34),_0x4b94f4=(_0x19bc2e,_0x106c44)=>{const _0x9cb3dd=_0x40ee9c;if(_0x106c44!==void 0x0){if(_0x19bc2e!==0x2)throw Error(_0x9cb3dd(0x2fd));_0x2000fe(_0x106c44,void 0x0,'output');}},_0x3b7208=!0x1;return{'encrypt'(_0x31d53d,_0x4d32ee){const _0x389da3=_0x40ee9c;if(_0x3b7208)throw Error(_0x389da3(0x34f));return _0x3b7208=!0x0,_0x2000fe(_0x31d53d),_0x4b94f4(_0x1c7476['encrypt'][_0x389da3(0x48e)],_0x4d32ee),_0x1c7476[_0x389da3(0x48b)](_0x31d53d,_0x4d32ee);},'decrypt'(_0x27f78e,_0x394558){const _0xc41bb4=_0x40ee9c;if(_0x2000fe(_0x27f78e),_0x304595&&_0x27f78e[_0xc41bb4(0x48e)]<_0x304595)throw Error(_0xc41bb4(0x35b)+_0x304595);return _0x4b94f4(_0x1c7476[_0xc41bb4(0x496)]['length'],_0x394558),_0x1c7476['decrypt'](_0x27f78e,_0x394558);}};}return Object[_0x2c2534(0x4a0)](_0x30a8d5,_0x58ec97),_0x30a8d5;};function _0x38f5c0(_0x542a02,_0xae4ab0,_0x4315e0=!0x0){const _0x57e737=_0x124287;if(_0xae4ab0===void 0x0)return new Uint8Array(_0x542a02);if(_0x2000fe(_0xae4ab0,void 0x0,_0x57e737(0x427)),_0xae4ab0[_0x57e737(0x48e)]!==_0x542a02)throw Error(_0x57e737(0x4a6)+_0x542a02+',\x20got:\x20'+_0xae4ab0[_0x57e737(0x48e)]);if(_0x4315e0&&!_0x2e250b(_0xae4ab0))throw Error('invalid\x20output,\x20must\x20be\x20aligned');return _0xae4ab0;}function _0x2e250b(_0x185065){const _0x50a1e1=_0x124287;return _0x185065[_0x50a1e1(0x3bd)]%0x4==0x0;}function _0x488346(_0x5b326f){const _0x55d34d=_0x124287;return Uint8Array[_0x55d34d(0x2a1)](_0x2000fe(_0x5b326f));}function _0x38a85f(_0x2f726a=0x20){const _0x3240d1=_0x124287;_0xb5d903(_0x2f726a);let _0x4b9d0d=typeof globalThis==_0x3240d1(0x31d)?globalThis['crypto']:null;if(typeof(_0x4b9d0d==null?void 0x0:_0x4b9d0d[_0x3240d1(0x45c)])!=_0x3240d1(0x3a6))throw Error(_0x3240d1(0x2bf));return _0x4b9d0d['getRandomValues'](new Uint8Array(_0x2f726a));}function _0x5c17a2(_0xbe01d7){const _0x44d4f1=_0x124287;if(![0x10,0x18,0x20]['includes'](_0xbe01d7[_0x44d4f1(0x48e)]))throw Error(_0x44d4f1(0x472)+_0xbe01d7[_0x44d4f1(0x48e)]);}function _0x4683f5(_0x4f6d91){return _0x4f6d91<<0x1^0x11b&-(_0x4f6d91>>0x7);}function _0x5738f8(_0x4d9b83,_0x5614ce){let _0x7bade4=0x0;for(;_0x5614ce>0x0;_0x5614ce>>=0x1)_0x7bade4^=_0x4d9b83&-(_0x5614ce&0x1),_0x4d9b83=_0x4683f5(_0x4d9b83);return _0x7bade4;}let _0x31bd7f=((()=>{let _0x2305ab=new Uint8Array(0x100);for(let _0x321a68=0x0,_0x424839=0x1;_0x321a68<0x100;_0x321a68++,_0x424839^=_0x4683f5(_0x424839))_0x2305ab[_0x321a68]=_0x424839;let _0xbbd105=new Uint8Array(0x100);_0xbbd105[0x0]=0x63;for(let _0x216ba9=0x0;_0x216ba9<0xff;_0x216ba9++){let _0xa04393=_0x2305ab[0xff-_0x216ba9];_0xa04393|=_0xa04393<<0x8,_0xbbd105[_0x2305ab[_0x216ba9]]=(_0xa04393^_0xa04393>>0x4^_0xa04393>>0x5^_0xa04393>>0x6^_0xa04393>>0x7^0x63)&0xff;}return _0x39382e(_0x2305ab),_0xbbd105;})()),_0x27c0d2=_0x31bd7f['map']((_0x211fc3,_0x1d5bc7)=>_0x31bd7f[_0x124287(0x311)](_0x1d5bc7)),_0x2d60da=_0x39d003=>_0x39d003<<0x18|_0x39d003>>>0x8,_0xce2746=_0x57ee67=>_0x57ee67<<0x8|_0x57ee67>>>0x18;function _0x2862db(_0x2e2cc5,_0x65c070){const _0x282f40=_0x124287;if(_0x2e2cc5[_0x282f40(0x48e)]!==0x100)throw Error(_0x282f40(0x2e4));let _0x283070=new Uint32Array(0x100)[_0x282f40(0x375)]((_0x113b6c,_0x4d98f7)=>_0x65c070(_0x2e2cc5[_0x4d98f7])),_0x4376bd=_0x283070[_0x282f40(0x375)](_0xce2746),_0x57e248=_0x4376bd['map'](_0xce2746),_0x296a65=_0x57e248[_0x282f40(0x375)](_0xce2746),_0x20fe63=new Uint32Array(0x100*0x100),_0x3d5010=new Uint32Array(0x100*0x100),_0x3f9fa3=new Uint16Array(0x100*0x100);for(let _0x1da99c=0x0;_0x1da99c<0x100;_0x1da99c++)for(let _0xedfa9=0x0;_0xedfa9<0x100;_0xedfa9++){let _0x3e1b4c=_0x1da99c*0x100+_0xedfa9;_0x20fe63[_0x3e1b4c]=_0x283070[_0x1da99c]^_0x4376bd[_0xedfa9],_0x3d5010[_0x3e1b4c]=_0x57e248[_0x1da99c]^_0x296a65[_0xedfa9],_0x3f9fa3[_0x3e1b4c]=_0x2e2cc5[_0x1da99c]<<0x8|_0x2e2cc5[_0xedfa9];}return{'sbox':_0x2e2cc5,'sbox2':_0x3f9fa3,'T0':_0x283070,'T1':_0x4376bd,'T2':_0x57e248,'T3':_0x296a65,'T01':_0x20fe63,'T23':_0x3d5010};}let _0x46d6d0=_0x2862db(_0x31bd7f,_0x1d78b1=>_0x5738f8(_0x1d78b1,0x3)<<0x18|_0x1d78b1<<0x10|_0x1d78b1<<0x8|_0x5738f8(_0x1d78b1,0x2)),_0x1692af=_0x2862db(_0x27c0d2,_0x470186=>_0x5738f8(_0x470186,0xb)<<0x18|_0x5738f8(_0x470186,0xd)<<0x10|_0x5738f8(_0x470186,0x9)<<0x8|_0x5738f8(_0x470186,0xe)),_0x11e4bc=((()=>{let _0x7207b1=new Uint8Array(0x10);for(let _0x148a30=0x0,_0x4333c1=0x1;_0x148a30<0x10;_0x148a30++,_0x4333c1=_0x4683f5(_0x4333c1))_0x7207b1[_0x148a30]=_0x4333c1;return _0x7207b1;})());function _0x4e5fe5(_0x3fd478){const _0x143928=_0x124287;_0x2000fe(_0x3fd478);let _0x3ff70d=_0x3fd478['length'];_0x5c17a2(_0x3fd478);let {sbox2:_0x23892b}=_0x46d6d0,_0x1a637b=[];(!_0x429043||!_0x2e250b(_0x3fd478))&&_0x1a637b[_0x143928(0x385)](_0x3fd478=_0x488346(_0x3fd478));let _0x33e08f=_0x307d64(_0x439993(_0x3fd478)),_0x141b17=_0x33e08f[_0x143928(0x48e)],_0x18a920=_0x56d0c7=>_0x5b797d(_0x23892b,_0x56d0c7,_0x56d0c7,_0x56d0c7,_0x56d0c7),_0x186994=new Uint32Array(_0x3ff70d+0x1c);_0x186994[_0x143928(0x46d)](_0x33e08f);for(let _0x3bb059=_0x141b17;_0x3bb059<_0x186994[_0x143928(0x48e)];_0x3bb059++){let _0x1b64da=_0x186994[_0x3bb059-0x1];_0x3bb059%_0x141b17===0x0?_0x1b64da=_0x18a920(_0x2d60da(_0x1b64da))^_0x11e4bc[_0x3bb059/_0x141b17-0x1]:_0x141b17>0x6&&_0x3bb059%_0x141b17===0x4&&(_0x1b64da=_0x18a920(_0x1b64da)),_0x186994[_0x3bb059]=_0x186994[_0x3bb059-_0x141b17]^_0x1b64da;}return _0x39382e(..._0x1a637b),_0x186994;}function _0xf0276b(_0x45d061){const _0x3794be=_0x124287;let _0x225bfd=_0x4e5fe5(_0x45d061),_0x26a2da=_0x225bfd[_0x3794be(0x1a0)](),_0x42f2aa=_0x225bfd['length'],{sbox2:_0x4a64bf}=_0x46d6d0,{T0:_0x53f4c1,T1:_0x48564f,T2:_0x370140,T3:_0x1bce6d}=_0x1692af;for(let _0x1e93aa=0x0;_0x1e93aa<_0x42f2aa;_0x1e93aa+=0x4)for(let _0x31d12a=0x0;_0x31d12a<0x4;_0x31d12a++)_0x26a2da[_0x1e93aa+_0x31d12a]=_0x225bfd[_0x42f2aa-_0x1e93aa-0x4+_0x31d12a];_0x39382e(_0x225bfd);for(let _0x256044=0x4;_0x256044<_0x42f2aa-0x4;_0x256044++){let _0x55415a=_0x26a2da[_0x256044],_0x307f7a=_0x5b797d(_0x4a64bf,_0x55415a,_0x55415a,_0x55415a,_0x55415a);_0x26a2da[_0x256044]=_0x53f4c1[_0x307f7a&0xff]^_0x48564f[_0x307f7a>>>0x8&0xff]^_0x370140[_0x307f7a>>>0x10&0xff]^_0x1bce6d[_0x307f7a>>>0x18];}return _0x26a2da;}function _0x53ca69(_0x579dda,_0x3e0225,_0x3c9f23,_0x5f3f41,_0x20d26c,_0x45272c){return _0x579dda[_0x3c9f23<<0x8&0xff00|_0x5f3f41>>>0x8&0xff]^_0x3e0225[_0x20d26c>>>0x8&0xff00|_0x45272c>>>0x18&0xff];}function _0x5b797d(_0x4466ab,_0x17e1c0,_0xe6ed0b,_0xe9617e,_0x36aae4){return _0x4466ab[_0x17e1c0&0xff|_0xe6ed0b&0xff00]|_0x4466ab[_0xe9617e>>>0x10&0xff|_0x36aae4>>>0x10&0xff00]<<0x10;}function _0x5ddd91(_0xe33b06,_0x5efb54,_0x4afcdc,_0x3d728c,_0x59fd3b){let {sbox2:_0x169b3a,T01:_0xfa5e1,T23:_0xfb2571}=_0x46d6d0,_0xe684e0=0x0;_0x5efb54^=_0xe33b06[_0xe684e0++],_0x4afcdc^=_0xe33b06[_0xe684e0++],_0x3d728c^=_0xe33b06[_0xe684e0++],_0x59fd3b^=_0xe33b06[_0xe684e0++];let _0x278e56=_0xe33b06['length']/0x4-0x2;for(let _0x185774=0x0;_0x185774<_0x278e56;_0x185774++){let _0x2b05b2=_0xe33b06[_0xe684e0++]^_0x53ca69(_0xfa5e1,_0xfb2571,_0x5efb54,_0x4afcdc,_0x3d728c,_0x59fd3b),_0x274de6=_0xe33b06[_0xe684e0++]^_0x53ca69(_0xfa5e1,_0xfb2571,_0x4afcdc,_0x3d728c,_0x59fd3b,_0x5efb54),_0x1f29e6=_0xe33b06[_0xe684e0++]^_0x53ca69(_0xfa5e1,_0xfb2571,_0x3d728c,_0x59fd3b,_0x5efb54,_0x4afcdc),_0x50ae7a=_0xe33b06[_0xe684e0++]^_0x53ca69(_0xfa5e1,_0xfb2571,_0x59fd3b,_0x5efb54,_0x4afcdc,_0x3d728c);_0x5efb54=_0x2b05b2,_0x4afcdc=_0x274de6,_0x3d728c=_0x1f29e6,_0x59fd3b=_0x50ae7a;}return{'s0':_0xe33b06[_0xe684e0++]^_0x5b797d(_0x169b3a,_0x5efb54,_0x4afcdc,_0x3d728c,_0x59fd3b),'s1':_0xe33b06[_0xe684e0++]^_0x5b797d(_0x169b3a,_0x4afcdc,_0x3d728c,_0x59fd3b,_0x5efb54),'s2':_0xe33b06[_0xe684e0++]^_0x5b797d(_0x169b3a,_0x3d728c,_0x59fd3b,_0x5efb54,_0x4afcdc),'s3':_0xe33b06[_0xe684e0++]^_0x5b797d(_0x169b3a,_0x59fd3b,_0x5efb54,_0x4afcdc,_0x3d728c)};}function _0x3a7bbf(_0x3156dc,_0x5349ed,_0x1a3240,_0x5bc84f,_0x14a86e){const _0x593f80=_0x124287;let {sbox2:_0x2cd8f2,T01:_0x11e9ce,T23:_0x221e9c}=_0x1692af,_0x295706=0x0;_0x5349ed^=_0x3156dc[_0x295706++],_0x1a3240^=_0x3156dc[_0x295706++],_0x5bc84f^=_0x3156dc[_0x295706++],_0x14a86e^=_0x3156dc[_0x295706++];let _0x4122a2=_0x3156dc[_0x593f80(0x48e)]/0x4-0x2;for(let _0x421058=0x0;_0x421058<_0x4122a2;_0x421058++){let _0x587478=_0x3156dc[_0x295706++]^_0x53ca69(_0x11e9ce,_0x221e9c,_0x5349ed,_0x14a86e,_0x5bc84f,_0x1a3240),_0x4a0c9a=_0x3156dc[_0x295706++]^_0x53ca69(_0x11e9ce,_0x221e9c,_0x1a3240,_0x5349ed,_0x14a86e,_0x5bc84f),_0xdc35cf=_0x3156dc[_0x295706++]^_0x53ca69(_0x11e9ce,_0x221e9c,_0x5bc84f,_0x1a3240,_0x5349ed,_0x14a86e),_0x22d43d=_0x3156dc[_0x295706++]^_0x53ca69(_0x11e9ce,_0x221e9c,_0x14a86e,_0x5bc84f,_0x1a3240,_0x5349ed);_0x5349ed=_0x587478,_0x1a3240=_0x4a0c9a,_0x5bc84f=_0xdc35cf,_0x14a86e=_0x22d43d;}return{'s0':_0x3156dc[_0x295706++]^_0x5b797d(_0x2cd8f2,_0x5349ed,_0x14a86e,_0x5bc84f,_0x1a3240),'s1':_0x3156dc[_0x295706++]^_0x5b797d(_0x2cd8f2,_0x1a3240,_0x5349ed,_0x14a86e,_0x5bc84f),'s2':_0x3156dc[_0x295706++]^_0x5b797d(_0x2cd8f2,_0x5bc84f,_0x1a3240,_0x5349ed,_0x14a86e),'s3':_0x3156dc[_0x295706++]^_0x5b797d(_0x2cd8f2,_0x14a86e,_0x5bc84f,_0x1a3240,_0x5349ed)};}function _0x103754(_0x2d1d6c){const _0x453a87=_0x124287;if(_0x2000fe(_0x2d1d6c),_0x2d1d6c[_0x453a87(0x48e)]%0x10!=0x0)throw Error(_0x453a87(0x1f9));}function _0x34d7d4(_0x5b309c,_0x40d20d,_0x1540ed){const _0x1e0ee5=_0x124287;_0x2000fe(_0x5b309c);let _0x159867=_0x5b309c[_0x1e0ee5(0x48e)],_0x4b4c69=_0x159867%0x10;if(!_0x40d20d&&_0x4b4c69!==0x0)throw Error(_0x1e0ee5(0x2c2));if(_0x40d20d){let _0x10596c=0x10-_0x4b4c69;_0x10596c||(_0x10596c=0x10),_0x159867+=_0x10596c;}_0x1540ed=_0x38f5c0(_0x159867,_0x1540ed),_0x2aade4(_0x5b309c,_0x1540ed),(!_0x429043||!_0x2e250b(_0x5b309c))&&(_0x5b309c=_0x488346(_0x5b309c));let _0x47c401=_0x439993(_0x5b309c);return _0x307d64(_0x47c401),{'b':_0x47c401,'o':_0x439993(_0x1540ed),'out':_0x1540ed};}function _0x24f746(_0x506895,_0x208b32){const _0x18be43=_0x124287;if(!_0x208b32)return _0x506895;let _0x194578=_0x506895['length'];if(_0x194578===0x0)throw Error(_0x18be43(0x18b));let _0x5ec741=_0x506895[_0x194578-0x1],_0xaec479=0x1;_0xaec479&=_0x5ec741-0x1>>>0x1f^0x1,_0xaec479&=0x10-_0x5ec741>>>0x1f^0x1;for(let _0x31e2b=0x0;_0x31e2b<0x10;_0x31e2b++){let _0x7f2abf=_0x31e2b-_0x5ec741>>>0x1f,_0x142364=+((_0x506895[_0x194578-0x1-_0x31e2b]^_0x5ec741)===0x0);_0xaec479&=_0x142364|_0x7f2abf^0x1;}if(!_0xaec479)throw Error('aes/pkcs7:\x20wrong\x20padding');return _0x506895[_0x18be43(0x40f)](0x0,_0x194578-_0x5ec741);}function _0x499294(_0x290068){const _0x4cac81=_0x124287;let _0x599460=new Uint8Array(0x10),_0x1ed487=_0x439993(_0x599460);_0x599460[_0x4cac81(0x46d)](_0x290068);let _0x28ea49=0x10-_0x290068[_0x4cac81(0x48e)];for(let _0x5898e3=0x10-_0x28ea49;_0x5898e3<0x10;_0x5898e3++)_0x599460[_0x5898e3]=_0x28ea49;return _0x1ed487;}let _0x4ecd36=_0x25ee87({'blockSize':0x10,'nonceLength':0x10},function(_0x5a5a73,_0x9a31f5,_0x2ec8df={}){const _0x1db367=_0x124287;let _0x2fbcd7=!_0x2ec8df[_0x1db367(0x33a)];return{'encrypt'(_0x409252,_0x18653b){const _0x325cb8=_0x1db367;let _0x5ca9cc=_0x4e5fe5(_0x5a5a73),{b:_0xeb5672,o:_0x54c16b,out:_0x298501}=_0x34d7d4(_0x409252,_0x2fbcd7,_0x18653b),_0xe79d78=_0x9a31f5,_0x1b9f1d=[_0x5ca9cc];(!_0x429043||!_0x2e250b(_0xe79d78))&&_0x1b9f1d['push'](_0xe79d78=_0x488346(_0xe79d78));let _0x39f48c=_0x439993(_0xe79d78);_0x307d64(_0x39f48c);let _0x107a82=_0x39f48c[0x0],_0x4d9f67=_0x39f48c[0x1],_0x2f4953=_0x39f48c[0x2],_0x5e05c3=_0x39f48c[0x3],_0x44f9df=0x0;for(;_0x44f9df+0x4<=_0xeb5672[_0x325cb8(0x48e)];)_0x107a82^=_0xeb5672[_0x44f9df+0x0],_0x4d9f67^=_0xeb5672[_0x44f9df+0x1],_0x2f4953^=_0xeb5672[_0x44f9df+0x2],_0x5e05c3^=_0xeb5672[_0x44f9df+0x3],{s0:_0x107a82,s1:_0x4d9f67,s2:_0x2f4953,s3:_0x5e05c3}=_0x5ddd91(_0x5ca9cc,_0x107a82,_0x4d9f67,_0x2f4953,_0x5e05c3),_0x54c16b[_0x44f9df++]=_0x107a82,_0x54c16b[_0x44f9df++]=_0x4d9f67,_0x54c16b[_0x44f9df++]=_0x2f4953,_0x54c16b[_0x44f9df++]=_0x5e05c3;if(_0x2fbcd7){let _0x3982d1=_0x499294(_0x409252[_0x325cb8(0x40f)](_0x44f9df*0x4));_0x307d64(_0x3982d1),_0x107a82^=_0x3982d1[0x0],_0x4d9f67^=_0x3982d1[0x1],_0x2f4953^=_0x3982d1[0x2],_0x5e05c3^=_0x3982d1[0x3],{s0:_0x107a82,s1:_0x4d9f67,s2:_0x2f4953,s3:_0x5e05c3}=_0x5ddd91(_0x5ca9cc,_0x107a82,_0x4d9f67,_0x2f4953,_0x5e05c3),_0x54c16b[_0x44f9df++]=_0x107a82,_0x54c16b[_0x44f9df++]=_0x4d9f67,_0x54c16b[_0x44f9df++]=_0x2f4953,_0x54c16b[_0x44f9df++]=_0x5e05c3;}return _0x307d64(_0x54c16b),_0x39382e(..._0x1b9f1d),_0x298501;},'decrypt'(_0x3ea120,_0xe48ed6){const _0x2f3814=_0x1db367;_0x103754(_0x3ea120);let _0x32ffbf=_0xf0276b(_0x5a5a73),_0x2c62c3=_0x9a31f5,_0x2a0e27=[_0x32ffbf];(!_0x429043||!_0x2e250b(_0x2c62c3))&&_0x2a0e27['push'](_0x2c62c3=_0x488346(_0x2c62c3));let _0x179d68=_0x439993(_0x2c62c3);_0x307d64(_0x179d68),_0xe48ed6=_0x38f5c0(_0x3ea120[_0x2f3814(0x48e)],_0xe48ed6),_0x2aade4(_0x3ea120,_0xe48ed6),(!_0x429043||!_0x2e250b(_0x3ea120))&&_0x2a0e27[_0x2f3814(0x385)](_0x3ea120=_0x488346(_0x3ea120));let _0x145dbf=_0x439993(_0x3ea120),_0x181964=_0x439993(_0xe48ed6);_0x307d64(_0x145dbf);let _0x2b8b75=_0x179d68[0x0],_0x3f4bfe=_0x179d68[0x1],_0x54b7aa=_0x179d68[0x2],_0x2281f9=_0x179d68[0x3];for(let _0x436c87=0x0;_0x436c87+0x4<=_0x145dbf[_0x2f3814(0x48e)];){let _0x1c5cb8=_0x2b8b75,_0x12d883=_0x3f4bfe,_0x235990=_0x54b7aa,_0x24050c=_0x2281f9;_0x2b8b75=_0x145dbf[_0x436c87+0x0],_0x3f4bfe=_0x145dbf[_0x436c87+0x1],_0x54b7aa=_0x145dbf[_0x436c87+0x2],_0x2281f9=_0x145dbf[_0x436c87+0x3];let {s0:_0x4b652,s1:_0x19340c,s2:_0x36c8ce,s3:_0x3f6b99}=_0x3a7bbf(_0x32ffbf,_0x2b8b75,_0x3f4bfe,_0x54b7aa,_0x2281f9);_0x181964[_0x436c87++]=_0x4b652^_0x1c5cb8,_0x181964[_0x436c87++]=_0x19340c^_0x12d883,_0x181964[_0x436c87++]=_0x36c8ce^_0x235990,_0x181964[_0x436c87++]=_0x3f6b99^_0x24050c;}return _0x307d64(_0x181964),_0x39382e(..._0x2a0e27),_0x24f746(_0xe48ed6,_0x2fbcd7);}};});function _0x55abf2(_0x10c8ae){const _0x5adf00=_0x124287;let _0x2de433=atob(_0x10c8ae),_0x5f5474=new Uint8Array(_0x2de433[_0x5adf00(0x48e)]);for(let _0x97f6d0=0x0;_0x97f6d0<_0x2de433[_0x5adf00(0x48e)];_0x97f6d0++)_0x5f5474[_0x97f6d0]=_0x2de433['charCodeAt'](_0x97f6d0);return _0x5f5474;}function _0x36faa3(_0xea2cbb){const _0x37bc4d=_0x124287;let _0x38b271='';for(let _0x26bd7a=0x0;_0x26bd7a<_0xea2cbb[_0x37bc4d(0x48e)];_0x26bd7a++)_0x38b271+=String[_0x37bc4d(0x37c)](_0xea2cbb[_0x26bd7a]);return btoa(_0x38b271);}function _0x35717c(_0xd721a4,_0x535bf3){const _0x371ac7=_0x124287;let _0x3ced10=_0x55abf2(_0x535bf3),_0x15d3a1=_0x38a85f(0x10);return _0x36faa3(_0x4634bd(_0x15d3a1,_0x4ecd36(_0x3ced10,_0x15d3a1)[_0x371ac7(0x48b)](_0x678b7(_0xd721a4))));}function _0x4e0581(){const _0x396250=_0x124287;let _0x42368a=(0x0,_0x4e563e[_0x396250(0x2fb)])()['__Key__'];if(typeof window<'u'&&window[_0x396250(0x29c)]!==void 0x0&&_0x42368a){let _0x3afda2={'time':Math[_0x396250(0x2a6)](Date[_0x396250(0x1af)]()/0x3e8),'domain':location[_0x396250(0x336)]};return _0x35717c(JSON['stringify'](_0x3afda2),_0x42368a);}}let _0x3798e2=class{constructor(_0x8f0511){const _0x1f2581=_0x124287;this[_0x1f2581(0x1d5)]=_0x8f0511,this[_0x1f2581(0x27c)]();}[_0x124287(0x27c)](){const _0x30ed28=_0x124287;this[_0x30ed28(0x1d5)][_0x30ed28(0x186)]({'interceptor':(_0x3707cb,_0x16b722)=>{let _0x27695c=_0x4e0581();return _0x27695c&&_0x3707cb['headers']['set']('x-univer-host',_0x27695c),_0x16b722(_0x3707cb);}});}};_0x3798e2=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x41d52c[_0x124287(0x46c)]))],_0x3798e2);let _0x243636=class extends _0x38d3af['RxDisposable']{constructor(_0x3f7677,_0x5c8442,_0x488d66){const _0x492e25=_0x124287;super(),this[_0x492e25(0x1d8)]=_0x3f7677,this['_snapshotService']=_0x5c8442,this[_0x492e25(0x312)]=_0x488d66,_0x50ece2(this,_0x492e25(0x37b),new _0x282118[(_0x492e25(0x279))](null)),_0x50ece2(this,_0x492e25(0x268),this[_0x492e25(0x37b)][_0x492e25(0x433)]());}async['loadUnitOfRevision'](_0x7c7c66,_0x1bfe60,_0x33bc49){const _0x2e6d37=_0x124287;this[_0x2e6d37(0x37b)][_0x2e6d37(0x469)]({'unitId':_0x7c7c66,'type':_0x1bfe60});let _0x5402fb=null;switch(_0x1bfe60){case _0x38d3af['UniverInstanceType'][_0x2e6d37(0x28b)]:_0x5402fb=await this[_0x2e6d37(0x24e)][_0x2e6d37(0x3b5)](_0x7c7c66,_0x33bc49);break;case _0x38d3af[_0x2e6d37(0x244)][_0x2e6d37(0x493)]:_0x5402fb=await this[_0x2e6d37(0x24e)][_0x2e6d37(0x208)](_0x7c7c66,_0x33bc49);break;default:this[_0x2e6d37(0x1d8)][_0x2e6d37(0x338)](_0x2e6d37(0x1fb),_0x2e6d37(0x276));break;}return _0x5402fb;}async[_0x124287(0x445)](_0x438b05,_0x4aa168,_0x1e4c7f){const _0x4aface=_0x124287;var _0x385bf3;this['_unitInfo$'][_0x4aface(0x469)]({'unitId':_0x438b05,'type':_0x4aa168,'subUnitId':_0x1e4c7f});let _0x1e87a2=0x0,_0x77adb4=await((_0x385bf3=this[_0x4aface(0x312)])==null?void 0x0:_0x385bf3[_0x4aface(0x1e1)](_0x438b05));return _0x77adb4&&(_0x77adb4['awaitingChangeset']||_0x77adb4['mutations'][_0x4aface(0x48e)]!==0x0)&&(_0x1e87a2=_0x77adb4[_0x4aface(0x2bb)]),_0x1e87a2===0x0&&this['_logService'][_0x4aface(0x215)]('[DataLoaderService]',_0x4aface(0x232)),this[_0x4aface(0x475)](_0x438b05,_0x4aa168,_0x1e87a2);}};_0x243636=_0x131186([_0x22bf51(0x0,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x1ca)])),_0x22bf51(0x2,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x243636);let _0x1b0329=class{constructor(_0x3d5f9b,_0x27cb6d,_0x11a253){const _0x471e5c=_0x124287;this['_httpService']=_0x3d5f9b,this[_0x471e5c(0x344)]=_0x27cb6d,this['_univerInstanceService']=_0x11a253,_0x50ece2(this,'_waitCount',0x0),_0x50ece2(this,'_change$',new _0x282118[(_0x471e5c(0x3d2))]()),_0x50ece2(this,_0x471e5c(0x341),this[_0x471e5c(0x1a2)]),_0x50ece2(this,_0x471e5c(0x19f),new Map());}[_0x124287(0x30e)](_0x3e4f50){const _0x536a99=_0x124287;this[_0x536a99(0x1cb)]=_0x3e4f50,this['_change$'][_0x536a99(0x469)](_0x3e4f50);}[_0x124287(0x284)](_0x2537aa,_0x56bd17){const _0x205a26=_0x124287;if(_0x56bd17===_0x295307[_0x205a26(0x415)][_0x205a26(0x487)]){let _0x61f36e=new Image();return _0x61f36e[_0x205a26(0x3c5)]=_0x2537aa,_0x61f36e;}return this['_imageSourceCache']['get'](_0x2537aa);}['addImageSourceCache'](_0x59f0bd,_0x2605a9,_0x1ac9b0){const _0x174178=_0x124287;_0x2605a9===_0x295307['ImageSourceType'][_0x174178(0x487)]||_0x1ac9b0==null||this['_imageSourceCache']['set'](_0x59f0bd,_0x1ac9b0);}async[_0x124287(0x391)](_0x12a623){const _0x417657=_0x124287;try{let _0x47bae0=this[_0x417657(0x3e3)](this[_0x417657(0x2d8)](),''+_0x12a623),_0x3573d1=(await this['_httpService'][_0x417657(0x23b)](_0x47bae0))[_0x417657(0x359)];if(_0x3573d1[_0x417657(0x338)]&&_0x3573d1['error'][_0x417657(0x211)]===_0x3eeea2[_0x417657(0x2d1)]['OK']){let _0x36fbe9=(0x0,_0x38d3af[_0x417657(0x2f7)])(_0x3573d1[_0x417657(0x2a4)],this[_0x417657(0x21c)]());return Promise[_0x417657(0x18d)](_0x36fbe9);}return Promise[_0x417657(0x1c2)](_0x3573d1[_0x417657(0x338)]);}catch(_0x543630){return Promise[_0x417657(0x1c2)](_0x543630);}}async[_0x124287(0x2de)](_0x346e45){const _0x50e7b4=_0x124287;let _0x5053e7='';if(!_0x295307[_0x50e7b4(0x3af)][_0x50e7b4(0x32f)](_0x346e45[_0x50e7b4(0x3b3)]))return this['_decreaseWaiting'](),Promise[_0x50e7b4(0x1c2)](Error(_0x295307['ImageUploadStatusType'][_0x50e7b4(0x4a1)]));if(_0x346e45[_0x50e7b4(0x221)]>(0x0,_0x295307[_0x50e7b4(0x3cb)])())return this['_decreaseWaiting'](),Promise['reject'](Error(_0x295307['ImageUploadStatusType'][_0x50e7b4(0x358)]));try{let _0x27617a=new FormData();_0x27617a[_0x50e7b4(0x230)](_0x50e7b4(0x196),_0x346e45);let _0x49631a=this[_0x50e7b4(0x29b)][_0x50e7b4(0x449)](),_0x494b84=_0x49631a==null?void 0x0:_0x49631a[_0x50e7b4(0x258)]();if(!_0x494b84)throw Error(_0x50e7b4(0x36e));let _0x3da916=this['_getUploadFileURL']()+_0x50e7b4(0x24d)+_0x346e45[_0x50e7b4(0x221)][_0x50e7b4(0x43c)]()+_0x50e7b4(0x235)+_0x3eeea2['FileSource'][_0x50e7b4(0x34c)]+'&assign='+encodeURIComponent(_0x494b84),_0x3f5b48={'body':_0x27617a},_0x140768=(await this[_0x50e7b4(0x1d5)][_0x50e7b4(0x27f)](_0x3da916,_0x3f5b48))[_0x50e7b4(0x359)];if(typeof _0x140768[_0x50e7b4(0x1e4)]!=_0x50e7b4(0x1a1))return this[_0x50e7b4(0x46f)](),Promise[_0x50e7b4(0x1c2)](Error(_0x295307[_0x50e7b4(0x43f)][_0x50e7b4(0x378)]));_0x5053e7=_0x140768[_0x50e7b4(0x1e4)];}catch{return this[_0x50e7b4(0x46f)](),Promise['reject'](Error(_0x295307['ImageUploadStatusType'][_0x50e7b4(0x378)]));}return new Promise((_0x189987,_0x4243e3)=>{const _0x48db7d=_0x50e7b4;let _0x4cd2e7=new FileReader();_0x4cd2e7[_0x48db7d(0x1b5)](_0x346e45),_0x4cd2e7[_0x48db7d(0x491)]=_0x32527c=>{const _0x3e6a0e=_0x48db7d;var _0x3cee2a;let _0x4b9ac1=(_0x3cee2a=_0x32527c[_0x3e6a0e(0x250)])==null?void 0x0:_0x3cee2a[_0x3e6a0e(0x3f9)];if(_0x4b9ac1==null){this[_0x3e6a0e(0x46f)](),_0x4243e3(Error(_0x295307[_0x3e6a0e(0x43f)][_0x3e6a0e(0x378)]));return;}_0x189987({'imageId':(0x0,_0x38d3af['generateRandomId'])(0x6),'imageSourceType':_0x295307['ImageSourceType'][_0x3e6a0e(0x296)],'source':_0x5053e7,'base64Cache':_0x4b9ac1,'status':_0x295307[_0x3e6a0e(0x43f)][_0x3e6a0e(0x408)]}),this[_0x3e6a0e(0x46f)]();};});}['_getUploadFileURL'](){const _0x1c38c2=_0x124287;var _0x14e3d9;let _0x3f2c6f=this[_0x1c38c2(0x344)]['getConfig'](_0xc791ca);return(_0x14e3d9=_0x3f2c6f==null?void 0x0:_0x3f2c6f[_0x1c38c2(0x45a)])==null?_0x1c38c2(0x38f):_0x14e3d9;}[_0x124287(0x2d8)](){const _0x315692=_0x124287;var _0x45f340;let _0x257e59=this['_configService'][_0x315692(0x2ad)](_0xc791ca);return(_0x45f340=_0x257e59==null?void 0x0:_0x257e59[_0x315692(0x202)])==null?_0x315692(0x25a):_0x45f340;}[_0x124287(0x21c)](){var _0x1679e3;let _0x3beb1c=this['_configService']['getConfig'](_0xc791ca);return(_0x1679e3=_0x3beb1c==null?void 0x0:_0x3beb1c['downloadEndpointUrl'])==null?location['origin']:_0x1679e3;}[_0x124287(0x3e3)](_0x27bab6,_0x44ecfc){const _0x42560c=_0x124287;return _0x27bab6[_0x42560c(0x265)](_0x42560c(0x3aa),_0x44ecfc);}[_0x124287(0x46f)](){const _0x2da54a=_0x124287;--this[_0x2da54a(0x1cb)],this[_0x2da54a(0x1a2)][_0x2da54a(0x469)](this['_waitCount']);}};_0x1b0329=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x41d52c[_0x124287(0x46c)])),_0x22bf51(0x1,_0x38d3af[_0x124287(0x41d)]),_0x22bf51(0x2,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x2cc)]))],_0x1b0329);let _0x5ec726=class{constructor(_0x48155b,_0x43927c){const _0x80155d=_0x124287;this[_0x80155d(0x344)]=_0x48155b,this[_0x80155d(0x26e)]=_0x43927c;}['_getAPIPrefixPath'](){const _0x534e2a=_0x124287;var _0x5ec41a;let _0x3aa3ef=this['_configService'][_0x534e2a(0x2ad)](_0xc791ca);return(_0x5ec41a=_0x3aa3ef==null?void 0x0:_0x3aa3ef[_0x534e2a(0x2f6)])==null?_0x534e2a(0x2c6):_0x5ec41a;}async[_0x124287(0x2cb)](_0x30a87d){const _0x417401=_0x124287;let _0x2c1352=this[_0x417401(0x274)]()+_0x417401(0x2aa);return{'list':[{'title':_0x417401(0x40b),'mentions':(await this['_HTTPService'][_0x417401(0x23b)](_0x2c1352,{'params':{'objectID':_0x30a87d[_0x417401(0x3e9)],'unitID':_0x30a87d[_0x417401(0x3e9)]}}))[_0x417401(0x359)]['collaborators'][_0x417401(0x375)](_0x21e277=>({'objectId':_0x21e277['id'],'name':_0x21e277[_0x417401(0x333)]['name'],'metadata':{'icon':_0x21e277[_0x417401(0x333)]['avatar']},'label':_0x21e277['subject'][_0x417401(0x3c9)],'objectType':_0x38d3af['MentionType'][_0x417401(0x452)]})),'metadata':{},'type':_0x38d3af['MentionType']['PERSON']}]};}};_0x5ec726=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x41d)])),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x41d52c[_0x124287(0x46c)]))],_0x5ec726);let _0x4a6076=class extends _0x38d3af['RxDisposable']{constructor(_0x5bff88,_0x20d4a8,_0x42648b,_0x4fda3a,_0x2f0d77){const _0x4f2638=_0x124287;super(),this[_0x4f2638(0x2ed)]=_0x5bff88,this[_0x4f2638(0x29b)]=_0x20d4a8,this[_0x4f2638(0x2ef)]=_0x42648b,this[_0x4f2638(0x29d)]=_0x4fda3a,this[_0x4f2638(0x301)]=_0x2f0d77,this[_0x4f2638(0x3a9)](),this[_0x4f2638(0x3b2)]();}[_0x124287(0x3b2)](){const _0x970195=_0x124287;let _0x324ca7=async _0x2b6fee=>{const _0x48d944=_0x3817;(await this[_0x48d944(0x29d)][_0x48d944(0x224)](_0x2b6fee))['event$'][_0x48d944(0x1d2)]((0x0,_0xecc1b5[_0x48d944(0x444)])(_0x554ba9=>_0x554ba9[_0x48d944(0x2af)]===_0x25767b[_0x48d944(0x48c)]['SHOULD_CLOSE_CONN']),(0x0,_0xecc1b5[_0x48d944(0x1bc)])(this[_0x48d944(0x1b4)]))[_0x48d944(0x3b6)](_0x56b0b1=>{const _0x4e0a4b=_0x48d944;let {reason:_0x559c5b}=_0x56b0b1[_0x4e0a4b(0x1c3)];this[_0x4e0a4b(0x301)][_0x4e0a4b(0x3ae)]({'id':_0x4e0a4b(0x3a0),'data':_0x559c5b}),this['_permissionService'][_0x4e0a4b(0x2b9)](new _0x4606ad[(_0x4e0a4b(0x331))](_0x2b6fee)['id'],!0x1),this['_collaborationSessionService'][_0x4e0a4b(0x29e)](_0x2b6fee);});};(0x0,_0x282118[_0x970195(0x23d)])(this[_0x970195(0x29b)][_0x970195(0x30b)](_0x38d3af[_0x970195(0x244)][_0x970195(0x28b)]),this[_0x970195(0x29b)]['getTypeOfUnitAdded$'](_0x38d3af[_0x970195(0x244)][_0x970195(0x493)]))[_0x970195(0x1d2)]((0x0,_0xecc1b5[_0x970195(0x375)])(_0x226515=>_0x226515[_0x970195(0x240)][_0x970195(0x258)]()),(0x0,_0xecc1b5[_0x970195(0x444)])(_0x2d110b=>!(0x0,_0x38d3af[_0x970195(0x1b2)])(_0x2d110b)),(0x0,_0xecc1b5['takeUntil'])(this['dispose$']))['subscribe'](_0x4492fb=>{_0x324ca7(_0x4492fb);});}['_initUnitPermissionChange'](){const _0x2741ee=_0x124287;let _0x1473a6=async _0x23b583=>{const _0x5dbccb=_0x3817;let _0x1a189e=await this[_0x5dbccb(0x29d)]['requireSession'](_0x23b583),_0x1e6580=this['_injector']['get'](_0x4606ad['SheetPermissionInitController']);_0x1a189e[_0x5dbccb(0x36b)][_0x5dbccb(0x1d2)]((0x0,_0xecc1b5[_0x5dbccb(0x444)])(_0x50b7f2=>_0x50b7f2[_0x5dbccb(0x2af)]===_0x25767b[_0x5dbccb(0x48c)][_0x5dbccb(0x24b)]),(0x0,_0xecc1b5[_0x5dbccb(0x1bc)])(this[_0x5dbccb(0x1b4)]))[_0x5dbccb(0x3b6)](_0x4192c4=>{const _0x1f700a=_0x5dbccb;let {objectId:_0x1ea1fe}=_0x4192c4[_0x1f700a(0x1c3)];_0x1ea1fe===_0x23b583?_0x1e6580['initWorkbookPermissionChange'](_0x23b583):_0x1e6580[_0x1f700a(0x401)](_0x23b583,_0x1ea1fe);});};(0x0,_0x282118[_0x2741ee(0x23d)])(this[_0x2741ee(0x29b)][_0x2741ee(0x30b)](_0x38d3af[_0x2741ee(0x244)][_0x2741ee(0x28b)]))[_0x2741ee(0x1d2)]((0x0,_0xecc1b5[_0x2741ee(0x375)])(_0x2460ec=>_0x2460ec[_0x2741ee(0x240)]['getUnitId']()),(0x0,_0xecc1b5['filter'])(_0x197361=>!(0x0,_0x38d3af[_0x2741ee(0x1b2)])(_0x197361)),(0x0,_0xecc1b5[_0x2741ee(0x1bc)])(this[_0x2741ee(0x1b4)]))['subscribe'](_0x16f833=>{_0x1473a6(_0x16f833);});}};_0x4a6076=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x1,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0x2,_0x38d3af['IPermissionService']),_0x22bf51(0x3,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x4bcb39)),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x3b3560))],_0x4a6076);let _0x59efae=class{constructor(_0x4e5815,_0x2c3257){const _0x2f2fbc=_0x124287;this['_configService']=_0x4e5815,this[_0x2f2fbc(0x1d5)]=_0x2c3257;}async[_0x124287(0x2f0)](_0x47c881,_0x213bdf){const _0x30a01e=_0x124287;var _0x3977c0;let {unitID:_0x1ae996,type:_0x41cd79,revision:_0x407460=0x0}=_0x213bdf,_0x2d3be4=this[_0x30a01e(0x37d)]()+'/'+_0x41cd79+'/unit/'+_0x1ae996+_0x30a01e(0x3d8)+_0x407460,_0x5e1238=(await this[_0x30a01e(0x1d5)][_0x30a01e(0x23b)](_0x2d3be4))['body'],_0x13f00a=(_0x3977c0=_0x5e1238[_0x30a01e(0x3de)])==null?void 0x0:_0x3977c0['workbook'];if(_0x13f00a){let _0x4e1bc5=_0x13f00a==null?void 0x0:_0x13f00a['originalMeta'];_0x13f00a[_0x30a01e(0x456)]=_0x25767b[_0x30a01e(0x417)][_0x30a01e(0x2e7)]((0x0,_0x25767b[_0x30a01e(0x38c)])(_0x4e1bc5)),Object[_0x30a01e(0x424)](_0x13f00a[_0x30a01e(0x2df)])[_0x30a01e(0x3eb)](([,_0x3c1261])=>{const _0x4cb6d3=_0x30a01e;let _0x249b0c=_0x3c1261[_0x4cb6d3(0x456)];_0x3c1261[_0x4cb6d3(0x456)]=_0x25767b[_0x4cb6d3(0x417)]['encode']((0x0,_0x25767b[_0x4cb6d3(0x38c)])(_0x249b0c));});}return _0x5e1238;}async[_0x124287(0x2e2)](_0x49aa53,_0x4c6cdc){const _0x54a276=_0x124287;let {unitID:_0x4f0a56,type:_0x5e4662,blockID:_0x19b6c3}=_0x4c6cdc,_0x20f7ab=this[_0x54a276(0x300)]()+'/'+_0x5e4662+_0x54a276(0x498)+_0x4f0a56+_0x54a276(0x44c)+_0x19b6c3;return(await this[_0x54a276(0x1d5)][_0x54a276(0x23b)](_0x20f7ab))[_0x54a276(0x359)];}async[_0x124287(0x1e9)](_0x5d76fc,_0x257451){const _0x420372=_0x124287;let {unitID:_0x536a3a,type:_0x5a74da,blockID:_0x4214d3}=_0x257451,_0x3511f8=this[_0x420372(0x300)]()+'/block/'+_0x5a74da+_0x420372(0x498)+_0x536a3a+_0x420372(0x44c)+_0x4214d3;return(await this['_httpService'][_0x420372(0x23b)](_0x3511f8))[_0x420372(0x359)];}async[_0x124287(0x256)](_0x8dc28f,_0xfcc741){const _0x275fe7=_0x124287;let {unitID:_0x29ec5f,type:_0x15767d,from:_0x3497ef,to:_0x35c9f9}=_0xfcc741,_0x5d5661=this['_getAPIPrefix']()+'/'+_0x15767d+_0x275fe7(0x498)+_0x29ec5f+_0x275fe7(0x2d7)+_0x3497ef+_0x275fe7(0x1f3)+_0x35c9f9;return(await this[_0x275fe7(0x1d5)][_0x275fe7(0x23b)](_0x5d5661))['body'];}['getSnapshotAPIPath'](){const _0xd137a5=_0x124287;var _0x3a0558;return(_0x3a0558=this[_0xd137a5(0x344)]['getConfig'](_0xd137a5(0x285)))==null?this[_0xd137a5(0x300)]():_0x3a0558;}[_0x124287(0x300)](){const _0x94344=_0x124287;var _0x320db1;let _0x3ab357=this[_0x94344(0x344)][_0x94344(0x2ad)](_0xc791ca);return(_0x320db1=_0x3ab357==null?void 0x0:_0x3ab357[_0x94344(0x1a4)])==null?_0x94344(0x2ec):_0x320db1;}async['getResourcesRequest'](_0x397b17,_0x2b74e3){const _0x55eb33=_0x124287;let _0x5be569=_0x55eb33(0x3dc)+_0x2b74e3[_0x55eb33(0x3b3)]+_0x55eb33(0x498)+_0x2b74e3['unitID']+_0x55eb33(0x23c);return(await this['_httpService']['get'](_0x5be569,{'params':{'resourceId':JSON[_0x55eb33(0x1d1)](_0x2b74e3[_0x55eb33(0x1d0)])}}))['body'];}[_0x124287(0x399)](){const _0x488537=_0x124287;throw Error(_0x488537(0x234));}['updateSnapshot'](){const _0x3edd74=_0x124287;throw Error(_0x3edd74(0x234));}['saveSheetBlock'](){const _0x5add3d=_0x124287;throw Error(_0x5add3d(0x234));}[_0x124287(0x43d)](){const _0x5cc086=_0x124287;throw Error(_0x5cc086(0x234));}[_0x124287(0x441)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x124287(0x304)](){const _0x52f1a8=_0x124287;throw Error(_0x52f1a8(0x234));}};_0x59efae=_0x131186([_0x22bf51(0x0,_0x38d3af[_0x124287(0x41d)]),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x41d52c['HTTPService']))],_0x59efae);let _0x310e51=class extends _0x38d3af[_0x124287(0x3fe)]{constructor(_0x24116e,_0x59235b,_0x14f6ae,_0xd0fa0c,_0x6fea4a){super(_0x24116e,_0x59235b,_0x14f6ae),this['_transformService']=_0xd0fa0c,this['_logService']=_0x6fea4a;}[_0x124287(0x264)](_0xa6cd8c,_0x53d1c5){const _0x12426f=_0x124287;let _0x2e9ac2=this[_0x12426f(0x2e8)](_0xa6cd8c);if(_0x2e9ac2)try{let _0x2b4221=this[_0x12426f(0x36c)](_0x2e9ac2,_0x53d1c5);this['_substituteUndoStack'](_0xa6cd8c,_0x2b4221);}catch(_0x373eb6){this['_logService'][_0x12426f(0x338)](_0x12426f(0x3bb),_0x373eb6),this['_clearUndo'](_0xa6cd8c);}let _0x3d44a8=this[_0x12426f(0x1eb)](_0xa6cd8c);if(_0x3d44a8)try{let _0x3a2167=this[_0x12426f(0x36c)](_0x3d44a8,_0x53d1c5);this[_0x12426f(0x1f4)](_0xa6cd8c,_0x3a2167);}catch(_0x4c5557){this[_0x12426f(0x1d8)][_0x12426f(0x338)](_0x4c5557),this[_0x12426f(0x339)](_0xa6cd8c);}}['_clearUndo'](_0x5152a3){const _0x3169ba=_0x124287;let _0x1c19bf=this[_0x3169ba(0x2e8)](_0x5152a3);_0x1c19bf&&(_0x1c19bf[_0x3169ba(0x48e)]=0x0,this['_updateStatus']());}[_0x124287(0x339)](_0x499453){const _0x40570e=_0x124287;let _0xd08746=this[_0x40570e(0x1eb)](_0x499453);_0xd08746&&(_0xd08746['length']=0x0,this[_0x40570e(0x213)]());}[_0x124287(0x36d)](_0x5571ef,_0x3a5652){const _0x9a76e4=_0x124287;this[_0x9a76e4(0x3fb)][_0x9a76e4(0x46d)](_0x5571ef,_0x3a5652),this['_updateStatus']();}[_0x124287(0x1f4)](_0x1d8299,_0x25cfb2){const _0x1adfd5=_0x124287;this[_0x1adfd5(0x398)]['set'](_0x1d8299,_0x25cfb2),this[_0x1adfd5(0x213)]();}[_0x124287(0x36c)](_0x2fef69,_0xa4fb41){const _0x2c0629=_0x124287;let _0x46d787=[],_0x42c290=_0xa4fb41,_0x3ac7b6=_0xa4fb41;for(let _0x242c00=_0x2fef69[_0x2c0629(0x48e)]-0x1;_0x242c00>=0x0;_0x242c00--){let {unitID:_0x369b2b,undoMutations:_0x39742b,redoMutations:_0x306d62}=_0x2fef69[_0x242c00],_0x56335e=this['_transformService'][_0x2c0629(0x3c7)](_0x42c290,_0x39742b),_0x2cfbba=this[_0x2c0629(0x1dd)][_0x2c0629(0x3c7)](_0x3ac7b6,_0x306d62);if((0x0,_0x25767b[_0x2c0629(0x229)])(_0x56335e)||(0x0,_0x25767b[_0x2c0629(0x229)])(_0x2cfbba)){this[_0x2c0629(0x1d8)][_0x2c0629(0x338)]('[CollaborationUndoRedoService]',_0x2c0629(0x421),_0x56335e,_0x2cfbba);break;}_0x42c290=_0x56335e[_0x2c0629(0x1cd)],_0x3ac7b6=_0x2cfbba[_0x2c0629(0x1cd)],_0x46d787[_0x2c0629(0x385)]({'unitID':_0x369b2b,'undoMutations':_0x56335e[_0x2c0629(0x195)],'redoMutations':_0x2cfbba[_0x2c0629(0x195)]});}return _0x46d787[_0x2c0629(0x320)]();}};_0x310e51=_0x131186([_0x22bf51(0x0,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0x1,_0x38d3af['ICommandService']),_0x22bf51(0x2,_0x38d3af[_0x124287(0x381)]),_0x22bf51(0x3,_0x25767b[_0x124287(0x290)]),_0x22bf51(0x4,_0x38d3af[_0x124287(0x1aa)])],_0x310e51);let _0x475d98=class extends _0x38d3af['Plugin']{constructor(_0x428b5a={},_0x5df9f6,_0x11091b,_0x44141d){const _0x561538=_0x124287;super(),this['_config']=_0x428b5a,this['_logService']=_0x5df9f6,this[_0x561538(0x2ed)]=_0x11091b,this[_0x561538(0x344)]=_0x44141d;let {..._0x209110}=(0x0,_0x38d3af[_0x561538(0x23d)])({},_0x3a2680,_0x428b5a);if(!_0x209110[_0x561538(0x42a)])throw Error(_0x561538(0x3a2));this[_0x561538(0x356)]=_0x209110,this[_0x561538(0x344)][_0x561538(0x39a)](_0xc791ca,_0x209110);}['onStarting'](){const _0x365b63=_0x124287;this[_0x365b63(0x237)](),this[_0x365b63(0x1fa)]();}[_0x124287(0x237)](){const _0x3ba38d=_0x124287;var _0x4d929f,_0x2d05fd;this[_0x3ba38d(0x2ed)]['has'](_0x38d3af[_0x3ba38d(0x2b7)])&&this[_0x3ba38d(0x1d8)][_0x3ba38d(0x338)](_0x3ba38d(0x1dc),_0x3ba38d(0x39f));let _0x391c02=(0x0,_0x38d3af['mergeOverrideWithDependencies'])([[_0x38d3af[_0x3ba38d(0x2b7)],{'useClass':_0x310e51}],[_0x4bcb39],[_0x59032e],[_0x108e5e],[_0x4a34d9],[_0x3798e2],[_0x3b9fd8],[_0x4a6076],[_0x3b3560],[_0x243636],[_0x3a6db1,{'useClass':this['_config'][_0x3ba38d(0x42a)]}],[_0x25767b[_0x3ba38d(0x3be)],{'useClass':_0x59efae}],[_0x38d3af[_0x3ba38d(0x231)],{'useClass':_0x457782}],[_0x295307[_0x3ba38d(0x1a3)],{'useClass':_0x1b0329}],[_0x38d3af[_0x3ba38d(0x455)],{'useClass':_0x5ec726}],[_0x3499dc],[_0x14ab70]],(_0x4d929f=this[_0x3ba38d(0x356)])==null?void 0x0:_0x4d929f[_0x3ba38d(0x228)]);if(!((_0x2d05fd=this[_0x3ba38d(0x356)])!=null&&_0x2d05fd[_0x3ba38d(0x495)])){let _0x5ae0cd=_0x391c02[_0x3ba38d(0x467)](([_0x25772c])=>_0x25772c===_0x1f80e9);_0x5ae0cd!==-0x1&&_0x391c02[_0x3ba38d(0x2ee)](_0x5ae0cd,0x1);}(0x0,_0x38d3af[_0x3ba38d(0x31a)])(this[_0x3ba38d(0x2ed)],_0x391c02);}[_0x124287(0x1fa)](){const _0x41682b=_0x124287;var _0x351875,_0x2f340d;if(this[_0x41682b(0x2ed)][_0x41682b(0x23b)](_0x41d52c[_0x41682b(0x46c)])[_0x41682b(0x186)]({'priority':0x14,'interceptor':(0x0,_0x41d52c[_0x41682b(0x2be)])({'maxParallel':0x6})}),!((_0x351875=this[_0x41682b(0x356)])!=null&&_0x351875[_0x41682b(0x473)])){var _0x8552cd;(_0x8552cd=this['_injector']['get'](_0x19c832,_0x38d3af[_0x41682b(0x460)]['OPTIONAL']))==null||_0x8552cd['disableLocalCache']();}(_0x2f340d=this['_config'])!=null&&_0x2f340d[_0x41682b(0x414)]&&(0x0,_0x38d3af[_0x41682b(0x37a)])(this[_0x41682b(0x2ed)],[[_0x4a34d9]]),(0x0,_0x38d3af['touchDependencies'])(this[_0x41682b(0x2ed)],[[_0x3798e2],[_0x3499dc],[_0x4a6076]]);}};_0x50ece2(_0x475d98,'pluginName',_0x124287(0x25b)),_0x50ece2(_0x475d98,_0x124287(0x458),_0x3119c7),_0x50ece2(_0x475d98,_0x124287(0x3d5),_0x10ce9f),_0x475d98=_0x131186([(0x0,_0x38d3af[_0x124287(0x372)])(_0x4e563e[_0x124287(0x2e0)],_0x25767b[_0x124287(0x362)],_0x41d52c[_0x124287(0x207)]),_0x22bf51(0x1,_0x38d3af['ILogService']),_0x22bf51(0x2,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x3,_0x38d3af[_0x124287(0x41d)])],_0x475d98),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x40e),{'enumerable':!0x0,'get':function(){return _0x457782;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x3e2),{'enumerable':!0x0,'get':function(){return _0x5d6712;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x283),{'enumerable':!0x0,'get':function(){return _0x348457;}}),_0x57bbdc['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0xc791ca,Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x450),{'enumerable':!0x0,'get':function(){return _0x3499dc;}}),Object['defineProperty'](_0x57bbdc,_0x124287(0x262),{'enumerable':!0x0,'get':function(){return _0x5817aa;}}),Object[_0x124287(0x2fc)](_0x57bbdc,'CollaborationImageIoService',{'enumerable':!0x0,'get':function(){return _0x1b0329;}}),Object['defineProperty'](_0x57bbdc,_0x124287(0x25d),{'enumerable':!0x0,'get':function(){return _0x3be262;}}),Object['defineProperty'](_0x57bbdc,_0x124287(0x425),{'enumerable':!0x0,'get':function(){return _0x4bcb39;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x316),{'enumerable':!0x0,'get':function(){return _0x441833;}}),_0x57bbdc['CollaborationStatus']=_0x5cf168,_0x57bbdc[_0x124287(0x3f5)]=_0x5d149d,_0x57bbdc['CollaborationUIEventService']=_0x3b3560,Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x37e),{'enumerable':!0x0,'get':function(){return _0x310e51;}}),_0x57bbdc[_0x124287(0x410)]=_0x3b9fd8,Object[_0x124287(0x2fc)](_0x57bbdc,'ConflictState',{'enumerable':!0x0,'get':function(){return _0x5171e4;}}),_0x57bbdc[_0x124287(0x49f)]=_0x4e50db,_0x57bbdc['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x124287(0x332),_0x57bbdc[_0x124287(0x2e5)]=_0x124287(0x1c6),Object['defineProperty'](_0x57bbdc,_0x124287(0x1a8),{'enumerable':!0x0,'get':function(){return _0x243636;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x485),{'enumerable':!0x0,'get':function(){return _0x4f76be;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x3c8),{'enumerable':!0x0,'get':function(){return _0xfc54a4;}}),_0x57bbdc['HEARTBEAT_INTERVAL_KEY']=_0x124287(0x2da),_0x57bbdc[_0x124287(0x435)]=_0x124287(0x28d),_0x57bbdc[_0x124287(0x270)]=_0x3a6db1,_0x57bbdc['ILocalCacheService']=_0x19c832,_0x57bbdc[_0x124287(0x3a3)]=_0x530693,_0x57bbdc[_0x124287(0x2c7)]=_0x1f80e9,_0x57bbdc[_0x124287(0x3d9)]=0x3e8,_0x57bbdc['LOCAL_CACHE_INTERVAL_KEY']=_0x124287(0x3d9),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x2ce),{'enumerable':!0x0,'get':function(){return _0x59032e;}}),Object[_0x124287(0x2fc)](_0x57bbdc,'MentionIoHttpService',{'enumerable':!0x0,'get':function(){return _0x5ec726;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x3d3),{'enumerable':!0x0,'get':function(){return _0x24826c;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x406),{'enumerable':!0x0,'get':function(){return _0x2411fe;}}),_0x57bbdc['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x57bbdc['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x124287(0x2ea),_0x57bbdc[_0x124287(0x299)]=_0x510b1c,Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x23f),{'enumerable':!0x0,'get':function(){return _0xc23225;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x386),{'enumerable':!0x0,'get':function(){return _0x108e5e;}}),Object[_0x124287(0x2fc)](_0x57bbdc,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0x59efae;}}),Object[_0x124287(0x2fc)](_0x57bbdc,'SyncedState',{'enumerable':!0x0,'get':function(){return _0x4e4794;}}),_0x57bbdc[_0x124287(0x47d)]=_0x1cff2f,Object['defineProperty'](_0x57bbdc,_0x124287(0x2f9),{'enumerable':!0x0,'get':function(){return _0x475d98;}}),_0x57bbdc[_0x124287(0x400)]=_0x1195e2,_0x57bbdc['getLocalCacheKey']=_0x150d9d,_0x57bbdc[_0x124287(0x191)]=_0x12070a;}));
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;}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x4a69(_0x318d38,_0x421ed3){_0x318d38=_0x318d38-0xb4;const _0x228311=_0x2283();let _0x4a6925=_0x228311[_0x318d38];return _0x4a6925;}function _0x2283(){const _0x52c7a9=['decorate','UniverProCollaborationClientFacade','add','@univerjs/core/facade','amd','loadActiveSheetAsync','members$','@univerjs-pro/collaboration','subscribe','FBase','IUniverInstanceService','function','NOT_COLLAB','Injector','getFocusedUnit','disposeWithMe','waitForRoom$','DisposableCollection','393794EHYYCt','from','CollaborationStatus','Inject','39378ywdefB','1307724cjLNaN','7951005cgXlQA','getCollaborationStatus','FEventName','UniverCoreFacade','FCollaboration','_injector','createInstance','readyForCollab','CollaborationController','length','state','88qbrTAn','entityInit$','DataLoaderService','UniverCore','toStringTag','_handler','1560510ZtmcXf','object','loadUnitOfRevision','181345PxLWNj','_univerInstanceService','loadSheetAsync','values','get','_snapshotService','getUniverSheet','Event','getCollaboration','rxjs','getOwnPropertyDescriptor','extend','switchMap','loadSheet','FUniver','CollaborationStatusChanged','116ebziSe','_collaborationController','fireEvent','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadServerUnitOfRevision','Module','SnapshotService','FEnum','defineProperty','loadUnit','toDisposable','status$','6412AMRSuY'];_0x2283=function(){return _0x52c7a9;};return _0x2283();}(function(_0x1a60ab,_0x50e869){const _0x19cf6a=_0x4a69,_0x1b5ece=_0x1a60ab();while(!![]){try{const _0x53b464=-parseInt(_0x19cf6a(0xc7))/0x1+-parseInt(_0x19cf6a(0xf6))/0x2+parseInt(_0x19cf6a(0xfa))/0x3*(-parseInt(_0x19cf6a(0xd7))/0x4)+parseInt(_0x19cf6a(0xc4))/0x5+-parseInt(_0x19cf6a(0xfb))/0x6+-parseInt(_0x19cf6a(0xe3))/0x7*(parseInt(_0x19cf6a(0xbe))/0x8)+parseInt(_0x19cf6a(0xfc))/0x9;if(_0x53b464===_0x50e869)break;else _0x1b5ece['push'](_0x1b5ece['shift']());}catch(_0x145b98){_0x1b5ece['push'](_0x1b5ece['shift']());}}}(_0x2283,0x32eed),function(_0x48d101,_0x1e4f20){const _0x3cc72d=_0x4a69;typeof exports=='object'&&typeof module<'u'?_0x1e4f20(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define=='function'&&define[_0x3cc72d(0xe8)]?define(['exports','@univerjs-pro/collaboration-client',_0x3cc72d(0xe7),'@univerjs/core',_0x3cc72d(0xeb),_0x3cc72d(0xd0)],_0x1e4f20):(_0x48d101=typeof globalThis<'u'?globalThis:_0x48d101||self,_0x1e4f20(_0x48d101[_0x3cc72d(0xe5)]={},_0x48d101['UniverProCollaborationClient'],_0x48d101[_0x3cc72d(0xb6)],_0x48d101[_0x3cc72d(0xc1)],_0x48d101['UniverProCollaboration'],_0x48d101[_0x3cc72d(0xd0)]));}(this,function(_0x5b1407,_0x2acc70,_0x584a12,_0xd335b0,_0x17d8c1,_0x2264b5){const _0x586998=_0x4a69;Object[_0x586998(0xdf)](_0x5b1407,Symbol[_0x586998(0xc2)],{'value':_0x586998(0xdc)});var _0x2cf347=class extends _0x584a12['FEnum']{get[_0x586998(0xf8)](){const _0x54b631=_0x586998;return _0x2acc70[_0x54b631(0xf8)];}};_0x584a12[_0x586998(0xde)]['extend'](_0x2cf347);var _0x2d55dc=class extends _0x584a12[_0x586998(0xb5)]{get[_0x586998(0xd6)](){const _0x37c47e=_0x586998;return _0x37c47e(0xd6);}};_0x584a12[_0x586998(0xb5)][_0x586998(0xd2)](_0x2d55dc);function _0x157135(_0x5440bf,_0x222ed5){return function(_0x3a2e1c,_0x5c1f19){_0x222ed5(_0x3a2e1c,_0x5c1f19,_0x5440bf);};}function _0xa91760(_0x4107db,_0xfa02c5,_0x88e57c,_0x47f1d5){const _0x3259cc=_0x586998;var _0x170131=arguments[_0x3259cc(0xbc)],_0x19c8a1=_0x170131<0x3?_0xfa02c5:_0x47f1d5===null?_0x47f1d5=Object[_0x3259cc(0xd1)](_0xfa02c5,_0x88e57c):_0x47f1d5,_0x25463c;if(typeof Reflect==_0x3259cc(0xc5)&&typeof Reflect[_0x3259cc(0xe4)]==_0x3259cc(0xef))_0x19c8a1=Reflect[_0x3259cc(0xe4)](_0x4107db,_0xfa02c5,_0x88e57c,_0x47f1d5);else{for(var _0x47552e=_0x4107db[_0x3259cc(0xbc)]-0x1;_0x47552e>=0x0;_0x47552e--)(_0x25463c=_0x4107db[_0x47552e])&&(_0x19c8a1=(_0x170131<0x3?_0x25463c(_0x19c8a1):_0x170131>0x3?_0x25463c(_0xfa02c5,_0x88e57c,_0x19c8a1):_0x25463c(_0xfa02c5,_0x88e57c))||_0x19c8a1);}return _0x170131>0x3&&_0x19c8a1&&Object[_0x3259cc(0xdf)](_0xfa02c5,_0x88e57c,_0x19c8a1),_0x19c8a1;}let _0x506728=class extends _0x584a12[_0x586998(0xed)]{constructor(_0x4e6a18,_0x44d39a,_0x1adb31,_0x59bc1e,_0x4ee91c){const _0x101c2f=_0x586998;super(),this[_0x101c2f(0xc3)]=_0x4e6a18,this[_0x101c2f(0xb8)]=_0x44d39a,this[_0x101c2f(0xc8)]=_0x1adb31,this['_snapshotService']=_0x59bc1e,this[_0x101c2f(0xd8)]=_0x4ee91c;}async['loadActiveSheet'](){const _0x52f624=_0x586998;return this[_0x52f624(0xe9)]();}async['loadActiveSheetAsync'](){const _0x2c25db=_0x586998;throw Error(_0x2c25db(0xda));}async[_0x586998(0xd4)](_0x30e399){return this['loadSheetAsync'](_0x30e399);}async[_0x586998(0xc9)](_0xf85f04,_0x5de654){const _0x898c50=_0x586998;return await this[_0x898c50(0xcc)][_0x898c50(0xd4)](_0xf85f04,0x0,_0x5de654)?(await this[_0x898c50(0xd8)][_0x898c50(0xba)](_0xf85f04),this[_0x898c50(0xc3)][_0x898c50(0xcd)](_0xf85f04)):null;}['subscribeCollaborators'](_0x53b526,_0x153f48){const _0x594a38=_0x586998;return(0x0,_0xd335b0[_0x594a38(0xe1)])(this[_0x594a38(0xb8)][_0x594a38(0xcb)](_0x2acc70['MemberService'])[_0x594a38(0xf4)](_0x53b526)['pipe']((0x0,_0x2264b5[_0x594a38(0xd3)])(_0x15194a=>_0x15194a[_0x594a38(0xea)]))[_0x594a38(0xec)](_0x486602=>_0x153f48(Array[_0x594a38(0xf7)](_0x486602[_0x594a38(0xca)]()))));}[_0x586998(0xb4)](_0x33c166){const _0x1c19b7=_0x586998;var _0x30e535;let _0x5af9ef;if(_0x33c166)_0x5af9ef=_0x33c166;else{let _0xea55c3=this[_0x1c19b7(0xc8)][_0x1c19b7(0xf2)]();_0x5af9ef=_0xea55c3==null?void 0x0:_0xea55c3['getUnitId']();}if(!_0x5af9ef)return _0x2acc70[_0x1c19b7(0xf8)]['NOT_COLLAB'];let _0x58bc34=this['_collaborationController']['getCollabEntity'](_0x5af9ef);return(_0x30e535=_0x58bc34==null?void 0x0:_0x58bc34[_0x1c19b7(0xbd)]['status'])==null?_0x2acc70[_0x1c19b7(0xf8)][_0x1c19b7(0xf0)]:_0x30e535;}};_0x506728=_0xa91760([_0x157135(0x1,(0x0,_0xd335b0[_0x586998(0xf9)])(_0xd335b0[_0x586998(0xf1)])),_0x157135(0x2,_0xd335b0[_0x586998(0xee)]),_0x157135(0x3,(0x0,_0xd335b0[_0x586998(0xf9)])(_0x17d8c1[_0x586998(0xdd)])),_0x157135(0x4,(0x0,_0xd335b0[_0x586998(0xf9)])(_0x2acc70[_0x586998(0xbb)]))],_0x506728);var _0x49f3e2=class extends _0x584a12[_0x586998(0xd5)]{['_initialize'](_0x2ecef8){const _0x1ad8fb=_0x586998;let _0x39d532=_0x2ecef8[_0x1ad8fb(0xcb)](_0x2acc70['CollaborationController']);this[_0x1ad8fb(0xf3)](this['registerEventHandler'](this[_0x1ad8fb(0xce)][_0x1ad8fb(0xd6)],()=>{const _0x22d767=_0x1ad8fb;let _0x14c976=new _0xd335b0[(_0x22d767(0xf5))](),_0x3a4e30=_0x39d532[_0x22d767(0xbf)]['subscribe'](_0x11f49d=>{const _0x56f325=_0x22d767;let _0xbbb38e=_0x11f49d[_0x56f325(0xe2)][_0x56f325(0xec)](_0x4e51d3=>{const _0xce9057=_0x56f325;let _0x28778b={'unitId':_0x11f49d['unitID'],'status':_0x4e51d3};this[_0xce9057(0xd9)](this['Event'][_0xce9057(0xd6)],_0x28778b);});_0x14c976[_0x56f325(0xe6)]((0x0,_0xd335b0[_0x56f325(0xe1)])(_0xbbb38e));});return _0x14c976[_0x22d767(0xe6)]((0x0,_0xd335b0[_0x22d767(0xe1)])(_0x3a4e30)),_0x14c976;}));}[_0x586998(0xcf)](){const _0x10ffb1=_0x586998;return this[_0x10ffb1(0xb8)][_0x10ffb1(0xb9)](_0x506728,{'getUniverSheet':_0x5f5af7=>this[_0x10ffb1(0xcd)](_0x5f5af7)});}['loadServerUnit'](_0x3813ff,_0x597f77,_0x4cf8b7){const _0x5b424f=_0x586998;return this['_injector'][_0x5b424f(0xcb)](_0x2acc70[_0x5b424f(0xc0)])[_0x5b424f(0xe0)](_0x3813ff,_0x597f77,_0x4cf8b7);}[_0x586998(0xdb)](_0x3485aa,_0x26c874,_0x40aadb){const _0x42a7b4=_0x586998;return this['_injector'][_0x42a7b4(0xcb)](_0x2acc70[_0x42a7b4(0xc0)])[_0x42a7b4(0xc6)](_0x3485aa,_0x26c874,_0x40aadb);}};_0x584a12[_0x586998(0xd5)]['extend'](_0x49f3e2),Object[_0x586998(0xdf)](_0x5b1407,_0x586998(0xb7),{'enumerable':!0x0,'get':function(){return _0x506728;}});}));
5
+ function _0x17b6(_0x5c0d39,_0xbff66b){_0x5c0d39=_0x5c0d39-0x1a6;const _0x37a2df=_0x37a2();let _0x17b6b1=_0x37a2df[_0x5c0d39];return _0x17b6b1;}function _0x37a2(){const _0x4d17c5=['FCollaboration','_snapshotService','CollaborationStatusChanged','status$','2IoRHYg','readyForCollab','Event','extend','switchMap','@univerjs/core','DataLoaderService','@univerjs-pro/collaboration','add','waitForRoom$','fireEvent','status','loadSheetAsync','getUniverSheet','getCollaboration','UniverCoreFacade','pipe','@univerjs/core/facade','loadServerUnit','FUniver','_injector','createInstance','UniverProCollaborationClient','Injector','1977WsmCRr','subscribe','amd','loadActiveSheetAsync','registerEventHandler','decorate','toDisposable','rxjs','length','_handler','10485thunBK','loadUnitOfRevision','_collaborationController','Module','loadSheet','340084FDnIpd','subscribeCollaborators','6845741QOBQdq','getOwnPropertyDescriptor','FBase','UniverProCollaboration','state','1556VLEowX','8637328eWXkXr','getFocusedUnit','Inject','get','exports','DisposableCollection','234vYQcmS','from','FEventName','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1150ytgsyz','CollaborationController','getUnitId','SnapshotService','FEnum','IUniverInstanceService','9153815UYskmj','loadActiveSheet','CollaborationStatus','defineProperty','NOT_COLLAB','_univerInstanceService','88395QPoyMK','object','getCollaborationStatus','entityInit$','unitID','loadServerUnitOfRevision'];_0x37a2=function(){return _0x4d17c5;};return _0x37a2();}(function(_0x3655c2,_0xd41462){const _0x216bb1=_0x17b6,_0x2efdf6=_0x3655c2();while(!![]){try{const _0x38d0b4=parseInt(_0x216bb1(0x1b4))/0x1*(parseInt(_0x216bb1(0x1dc))/0x2)+parseInt(_0x216bb1(0x1f4))/0x3*(parseInt(_0x216bb1(0x1bb))/0x4)+-parseInt(_0x216bb1(0x1d2))/0x5*(parseInt(_0x216bb1(0x1c2))/0x6)+-parseInt(_0x216bb1(0x1b6))/0x7+parseInt(_0x216bb1(0x1bc))/0x8+-parseInt(_0x216bb1(0x1af))/0x9*(parseInt(_0x216bb1(0x1c6))/0xa)+parseInt(_0x216bb1(0x1cc))/0xb;if(_0x38d0b4===_0xd41462)break;else _0x2efdf6['push'](_0x2efdf6['shift']());}catch(_0x49dc34){_0x2efdf6['push'](_0x2efdf6['shift']());}}}(_0x37a2,0xac91f),function(_0xe7e0fb,_0x320452){const _0x296c21=_0x17b6;typeof exports==_0x296c21(0x1d3)&&typeof module<'u'?_0x320452(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define=='function'&&define[_0x296c21(0x1a7)]?define([_0x296c21(0x1c0),'@univerjs-pro/collaboration-client',_0x296c21(0x1ed),_0x296c21(0x1e1),_0x296c21(0x1e3),_0x296c21(0x1ac)],_0x320452):(_0xe7e0fb=typeof globalThis<'u'?globalThis:_0xe7e0fb||self,_0x320452(_0xe7e0fb['UniverProCollaborationClientFacade']={},_0xe7e0fb[_0x296c21(0x1f2)],_0xe7e0fb[_0x296c21(0x1eb)],_0xe7e0fb['UniverCore'],_0xe7e0fb[_0x296c21(0x1b9)],_0xe7e0fb[_0x296c21(0x1ac)]));}(this,function(_0x5e525f,_0x2f1a1a,_0x4eaeae,_0x2401cb,_0x39bbf9,_0x62ccc5){const _0x41bc00=_0x17b6;Object['defineProperty'](_0x5e525f,Symbol['toStringTag'],{'value':_0x41bc00(0x1b2)});var _0x51aab3=class extends _0x4eaeae[_0x41bc00(0x1ca)]{get[_0x41bc00(0x1ce)](){const _0x3603af=_0x41bc00;return _0x2f1a1a[_0x3603af(0x1ce)];}};_0x4eaeae[_0x41bc00(0x1ca)][_0x41bc00(0x1df)](_0x51aab3);var _0x8e7f9e=class extends _0x4eaeae[_0x41bc00(0x1c4)]{get[_0x41bc00(0x1da)](){const _0x47af23=_0x41bc00;return _0x47af23(0x1da);}};_0x4eaeae['FEventName']['extend'](_0x8e7f9e);function _0x42cdfa(_0x14d8f4,_0x5e3c50){return function(_0x4c2d6b,_0x16cbb4){_0x5e3c50(_0x4c2d6b,_0x16cbb4,_0x14d8f4);};}function _0xccf362(_0x2c2ee0,_0x2ae3e4,_0x101c85,_0x5cecdd){const _0x1e251e=_0x41bc00;var _0x40b0a9=arguments[_0x1e251e(0x1ad)],_0x12109d=_0x40b0a9<0x3?_0x2ae3e4:_0x5cecdd===null?_0x5cecdd=Object[_0x1e251e(0x1b7)](_0x2ae3e4,_0x101c85):_0x5cecdd,_0x3b13ce;if(typeof Reflect==_0x1e251e(0x1d3)&&typeof Reflect[_0x1e251e(0x1aa)]=='function')_0x12109d=Reflect[_0x1e251e(0x1aa)](_0x2c2ee0,_0x2ae3e4,_0x101c85,_0x5cecdd);else{for(var _0x31ff09=_0x2c2ee0['length']-0x1;_0x31ff09>=0x0;_0x31ff09--)(_0x3b13ce=_0x2c2ee0[_0x31ff09])&&(_0x12109d=(_0x40b0a9<0x3?_0x3b13ce(_0x12109d):_0x40b0a9>0x3?_0x3b13ce(_0x2ae3e4,_0x101c85,_0x12109d):_0x3b13ce(_0x2ae3e4,_0x101c85))||_0x12109d);}return _0x40b0a9>0x3&&_0x12109d&&Object[_0x1e251e(0x1cf)](_0x2ae3e4,_0x101c85,_0x12109d),_0x12109d;}let _0x51a170=class extends _0x4eaeae[_0x41bc00(0x1b8)]{constructor(_0x28e30c,_0x57ff47,_0x49b312,_0x34ee0c,_0x5dee22){const _0x1b576a=_0x41bc00;super(),this[_0x1b576a(0x1ae)]=_0x28e30c,this[_0x1b576a(0x1f0)]=_0x57ff47,this[_0x1b576a(0x1d1)]=_0x49b312,this[_0x1b576a(0x1d9)]=_0x34ee0c,this[_0x1b576a(0x1b1)]=_0x5dee22;}async[_0x41bc00(0x1cd)](){return this['loadActiveSheetAsync']();}async[_0x41bc00(0x1a8)](){const _0x13c2c8=_0x41bc00;throw Error(_0x13c2c8(0x1c5));}async['loadSheet'](_0x4b510f){const _0xca9527=_0x41bc00;return this[_0xca9527(0x1e8)](_0x4b510f);}async[_0x41bc00(0x1e8)](_0x5ef345,_0x8994e2){const _0x271265=_0x41bc00;return await this[_0x271265(0x1d9)][_0x271265(0x1b3)](_0x5ef345,0x0,_0x8994e2)?(await this[_0x271265(0x1b1)][_0x271265(0x1dd)](_0x5ef345),this[_0x271265(0x1ae)][_0x271265(0x1e9)](_0x5ef345)):null;}[_0x41bc00(0x1b5)](_0x152a8d,_0x4b9416){const _0x22ff56=_0x41bc00;return(0x0,_0x2401cb['toDisposable'])(this[_0x22ff56(0x1f0)]['get'](_0x2f1a1a['MemberService'])[_0x22ff56(0x1e5)](_0x152a8d)[_0x22ff56(0x1ec)]((0x0,_0x62ccc5[_0x22ff56(0x1e0)])(_0x3c9a2c=>_0x3c9a2c['members$']))[_0x22ff56(0x1a6)](_0x28c064=>_0x4b9416(Array[_0x22ff56(0x1c3)](_0x28c064['values']()))));}[_0x41bc00(0x1d4)](_0x1b72ee){const _0x3cb23b=_0x41bc00;var _0x1db3d9;let _0x5b96e4;if(_0x1b72ee)_0x5b96e4=_0x1b72ee;else{let _0x176815=this[_0x3cb23b(0x1d1)][_0x3cb23b(0x1bd)]();_0x5b96e4=_0x176815==null?void 0x0:_0x176815[_0x3cb23b(0x1c8)]();}if(!_0x5b96e4)return _0x2f1a1a[_0x3cb23b(0x1ce)]['NOT_COLLAB'];let _0x2ecbf4=this[_0x3cb23b(0x1b1)]['getCollabEntity'](_0x5b96e4);return(_0x1db3d9=_0x2ecbf4==null?void 0x0:_0x2ecbf4[_0x3cb23b(0x1ba)][_0x3cb23b(0x1e7)])==null?_0x2f1a1a[_0x3cb23b(0x1ce)][_0x3cb23b(0x1d0)]:_0x1db3d9;}};_0x51a170=_0xccf362([_0x42cdfa(0x1,(0x0,_0x2401cb[_0x41bc00(0x1be)])(_0x2401cb[_0x41bc00(0x1f3)])),_0x42cdfa(0x2,_0x2401cb[_0x41bc00(0x1cb)]),_0x42cdfa(0x3,(0x0,_0x2401cb[_0x41bc00(0x1be)])(_0x39bbf9[_0x41bc00(0x1c9)])),_0x42cdfa(0x4,(0x0,_0x2401cb[_0x41bc00(0x1be)])(_0x2f1a1a[_0x41bc00(0x1c7)]))],_0x51a170);var _0xb07f4d=class extends _0x4eaeae[_0x41bc00(0x1ef)]{['_initialize'](_0x36ff4f){const _0x499f21=_0x41bc00;let _0x2ee8d1=_0x36ff4f[_0x499f21(0x1bf)](_0x2f1a1a['CollaborationController']);this['disposeWithMe'](this[_0x499f21(0x1a9)](this['Event'][_0x499f21(0x1da)],()=>{const _0x505567=_0x499f21;let _0x34ab50=new _0x2401cb[(_0x505567(0x1c1))](),_0x3c448a=_0x2ee8d1[_0x505567(0x1d5)][_0x505567(0x1a6)](_0xde586b=>{const _0x1b3587=_0x505567;let _0x8daa6=_0xde586b[_0x1b3587(0x1db)][_0x1b3587(0x1a6)](_0x136875=>{const _0x2207d7=_0x1b3587;let _0x44c263={'unitId':_0xde586b[_0x2207d7(0x1d6)],'status':_0x136875};this[_0x2207d7(0x1e6)](this[_0x2207d7(0x1de)][_0x2207d7(0x1da)],_0x44c263);});_0x34ab50[_0x1b3587(0x1e4)]((0x0,_0x2401cb[_0x1b3587(0x1ab)])(_0x8daa6));});return _0x34ab50[_0x505567(0x1e4)]((0x0,_0x2401cb[_0x505567(0x1ab)])(_0x3c448a)),_0x34ab50;}));}[_0x41bc00(0x1ea)](){const _0x53f9c9=_0x41bc00;return this[_0x53f9c9(0x1f0)][_0x53f9c9(0x1f1)](_0x51a170,{'getUniverSheet':_0x492034=>this[_0x53f9c9(0x1e9)](_0x492034)});}[_0x41bc00(0x1ee)](_0x39b8ea,_0x163d3e,_0x5d976d){const _0x3e4a97=_0x41bc00;return this[_0x3e4a97(0x1f0)][_0x3e4a97(0x1bf)](_0x2f1a1a[_0x3e4a97(0x1e2)])['loadUnit'](_0x39b8ea,_0x163d3e,_0x5d976d);}[_0x41bc00(0x1d7)](_0x341531,_0x1c5cc6,_0x1dfb5f){const _0x3d3b79=_0x41bc00;return this[_0x3d3b79(0x1f0)][_0x3d3b79(0x1bf)](_0x2f1a1a[_0x3d3b79(0x1e2)])[_0x3d3b79(0x1b0)](_0x341531,_0x1c5cc6,_0x1dfb5f);}};_0x4eaeae[_0x41bc00(0x1ef)]['extend'](_0xb07f4d),Object[_0x41bc00(0x1cf)](_0x5e525f,_0x41bc00(0x1d8),{'enumerable':!0x0,'get':function(){return _0x51a170;}});}));
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x2e69(_0x1a97e9,_0x3e80f4){_0x1a97e9=_0x1a97e9-0x85;const _0x7a075c=_0x7a07();let _0x2e697b=_0x7a075c[_0x1a97e9];return _0x2e697b;}(function(_0x38c50f,_0x56377d){const _0x30a742=_0x2e69,_0x38c7ef=_0x38c50f();while(!![]){try{const _0x27a7e1=-parseInt(_0x30a742(0x2de))/0x1*(parseInt(_0x30a742(0x289))/0x2)+-parseInt(_0x30a742(0xab))/0x3*(-parseInt(_0x30a742(0x2df))/0x4)+parseInt(_0x30a742(0x22a))/0x5+parseInt(_0x30a742(0x244))/0x6*(-parseInt(_0x30a742(0x24f))/0x7)+-parseInt(_0x30a742(0x1be))/0x8+parseInt(_0x30a742(0x2cb))/0x9*(-parseInt(_0x30a742(0xc7))/0xa)+-parseInt(_0x30a742(0x2aa))/0xb*(-parseInt(_0x30a742(0x2b1))/0xc);if(_0x27a7e1===_0x56377d)break;else _0x38c7ef['push'](_0x38c7ef['shift']());}catch(_0x1de715){_0x38c7ef['push'](_0x38c7ef['shift']());}}}(_0x7a07,0x1a44e),function(_0x363d99,_0x1a968f){const _0x155f0e=_0x2e69;typeof exports=='object'&&typeof module<'u'?_0x1a968f(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==_0x155f0e(0x21b)&&define[_0x155f0e(0x1b5)]?define(['exports',_0x155f0e(0x19d),_0x155f0e(0x29f),_0x155f0e(0x2db),_0x155f0e(0x10b),_0x155f0e(0x242),'react',_0x155f0e(0x23a),_0x155f0e(0x278),_0x155f0e(0x1a5),'@univerjs/engine-render','@univerjs/network',_0x155f0e(0xb1),'@univerjs/drawing',_0x155f0e(0x1c9),_0x155f0e(0x15b),_0x155f0e(0xea),_0x155f0e(0x2c1),'@univerjs/sheets-ui','@univerjs/protocol'],_0x1a968f):(_0x363d99=typeof globalThis<'u'?globalThis:_0x363d99||self,_0x1a968f(_0x363d99[_0x155f0e(0x208)]={},_0x363d99[_0x155f0e(0x233)],_0x363d99['UniverCore'],_0x363d99[_0x155f0e(0x345)],_0x363d99[_0x155f0e(0x10b)],_0x363d99[_0x155f0e(0x1b8)],_0x363d99['React'],_0x363d99[_0x155f0e(0x128)],_0x363d99[_0x155f0e(0x1a0)],_0x363d99['UniverSheets'],_0x363d99[_0x155f0e(0x2c2)],_0x363d99[_0x155f0e(0x1ec)],_0x363d99[_0x155f0e(0x154)],_0x363d99[_0x155f0e(0xda)],_0x363d99[_0x155f0e(0x8a)],_0x363d99[_0x155f0e(0x224)],_0x363d99[_0x155f0e(0x355)],_0x363d99[_0x155f0e(0x10b)][_0x155f0e(0x23d)],_0x363d99[_0x155f0e(0x265)],_0x363d99[_0x155f0e(0x2cf)]));}(this,function(_0x2b3c55,_0x1e6a94,_0x45c421,_0xfff774,_0x3ea80a,_0x1a0a02,_0xd5b7ac,_0xc33d3d,_0xab2a35,_0x369070,_0x5842f2,_0x47f7bf,_0x287598,_0x548bae,_0x663956,_0x15aabe,_0x516276,_0x2db485,_0x41226a,_0x5d2213){const _0x4c80e1=_0x2e69;Object['defineProperty'](_0x2b3c55,Symbol[_0x4c80e1(0x146)],{'value':_0x4c80e1(0x2d8)});function _0x1a0c69({ref:_0x1f5a0b,..._0x4efce7}){const _0x2dda75=_0x4c80e1;let {icon:_0x5cdae6,id:_0x50fff9,className:_0x4a6a34,extend:_0x10d7ea,..._0x1ebfb3}=_0x4efce7,_0xdec0c4=(_0x2dda75(0x20a)+_0x50fff9+'\x20'+(_0x4a6a34||''))['trim'](),_0x30ba5e=(0x0,_0xd5b7ac[_0x2dda75(0x25d)])('_'+_0x34a127());return _0x1bfcd0(_0x5cdae6,''+_0x50fff9,{'defIds':_0x5cdae6['defIds'],'idSuffix':_0x30ba5e[_0x2dda75(0x18b)]},{'ref':_0x1f5a0b,'className':_0xdec0c4,..._0x1ebfb3},_0x10d7ea);}function _0x1bfcd0(_0xc2fcc1,_0x3c1f58,_0x3290d1,_0x322ee4,_0x1e3187){const _0x1d0c0a=_0x4c80e1;return(0x0,_0xd5b7ac[_0x1d0c0a(0xe6)])(_0xc2fcc1[_0x1d0c0a(0x88)],{'key':_0x3c1f58,..._0x463446(_0xc2fcc1,_0x3290d1,_0x1e3187),..._0x322ee4},(_0x2387b4(_0xc2fcc1,_0x3290d1)[_0x1d0c0a(0x326)]||[])[_0x1d0c0a(0x255)]((_0x67cf99,_0x24463a)=>_0x1bfcd0(_0x67cf99,_0x3c1f58+'-'+_0xc2fcc1[_0x1d0c0a(0x88)]+'-'+_0x24463a,_0x3290d1,void 0x0,_0x1e3187)));}function _0x463446(_0x3b23dc,_0x55d399,_0x1f29f7){const _0x29997e=_0x4c80e1;let _0x4799c5={..._0x3b23dc[_0x29997e(0x14e)]};_0x1f29f7!=null&&_0x1f29f7[_0x29997e(0x168)]&&_0x4799c5[_0x29997e(0x20c)]==='colorChannel1'&&(_0x4799c5['fill']=_0x1f29f7[_0x29997e(0x168)]),_0x3b23dc[_0x29997e(0x88)]===_0x29997e(0x271)&&_0x4799c5['id']&&(_0x4799c5['id']+=_0x55d399['idSuffix']),Object['entries'](_0x4799c5)['forEach'](([_0x2d8732,_0x1acfb8])=>{const _0x327464=_0x29997e;_0x2d8732===_0x327464(0x271)&&typeof _0x1acfb8=='string'&&(_0x4799c5[_0x2d8732]=_0x1acfb8[_0x327464(0x283)](/url\(#(.*)\)/,_0x327464(0x1c2)+_0x55d399[_0x327464(0x328)]+')'));});let {defIds:_0x20797d}=_0x55d399;return!_0x20797d||_0x20797d['length']===0x0?_0x4799c5:(_0x3b23dc[_0x29997e(0x88)]===_0x29997e(0xa5)&&_0x4799c5[_0x29997e(0x153)]&&(_0x4799c5[_0x29997e(0x153)]+=_0x55d399['idSuffix']),Object[_0x29997e(0x12d)](_0x4799c5)['forEach'](([_0x5abad7,_0x2f4f87])=>{const _0x54a75f=_0x29997e;typeof _0x2f4f87=='string'&&(_0x4799c5[_0x5abad7]=_0x2f4f87[_0x54a75f(0x283)](/url\(#(.*)\)/,_0x54a75f(0x1c2)+_0x55d399[_0x54a75f(0x328)]+')'));}),_0x4799c5);}function _0x2387b4(_0xbea4e2,_0x489c70){const _0x456983=_0x4c80e1;var _0x5b8259;let {defIds:_0x4c4e12}=_0x489c70;return!_0x4c4e12||_0x4c4e12[_0x456983(0x292)]===0x0?_0xbea4e2:_0xbea4e2[_0x456983(0x88)]===_0x456983(0x344)&&(_0x5b8259=_0xbea4e2[_0x456983(0x326)])!=null&&_0x5b8259[_0x456983(0x292)]?{..._0xbea4e2,'children':_0xbea4e2[_0x456983(0x326)][_0x456983(0x255)](_0x4fce6b=>typeof _0x4fce6b[_0x456983(0x14e)]['id']==_0x456983(0x133)&&_0x4c4e12&&_0x4c4e12[_0x456983(0x1b4)](_0x4fce6b[_0x456983(0x14e)]['id'])?{..._0x4fce6b,'attrs':{..._0x4fce6b[_0x456983(0x14e)],'id':_0x4fce6b[_0x456983(0x14e)]['id']+_0x489c70['idSuffix']}}:_0x4fce6b)}:_0xbea4e2;}function _0x34a127(){const _0xf3aa3f=_0x4c80e1;return Math[_0xf3aa3f(0x17b)]()['toString'](0x24)[_0xf3aa3f(0x2fc)](0x2,0x8);}_0x1a0c69[_0x4c80e1(0x30d)]=_0x4c80e1(0x1a4);let _0x50e4ee={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4c80e1(0xd3),'viewBox':_0x4c80e1(0xf1),'width':_0x4c80e1(0x19b),'height':_0x4c80e1(0x19b)},'children':[{'tag':'g','attrs':{'clipPath':_0x4c80e1(0x28e)},'children':[{'tag':_0x4c80e1(0x8c),'attrs':{'stroke':_0x4c80e1(0x1d5),'d':_0x4c80e1(0x2a3),'strokeLinecap':_0x4c80e1(0x26f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4c80e1(0x344),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4c80e1(0x1e3)},'children':[{'tag':_0x4c80e1(0x8c),'attrs':{'fill':_0x4c80e1(0x219),'d':_0x4c80e1(0x2d6)}}]}]}],'defIds':[_0x4c80e1(0x1e3)]},_0x401831=(0x0,_0xd5b7ac[_0x4c80e1(0x332)])(function(_0x16485e,_0x43ee45){const _0x3a9577=_0x4c80e1;return(0x0,_0xd5b7ac['createElement'])(_0x1a0c69,Object[_0x3a9577(0x86)]({},_0x16485e,{'id':'off-line-icon','ref':_0x43ee45,'icon':_0x50e4ee}));});_0x401831[_0x4c80e1(0x30d)]=_0x4c80e1(0x9c);let _0x2e3b09={'tag':_0x4c80e1(0x338),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4c80e1(0xec),'width':_0x4c80e1(0x19b),'height':_0x4c80e1(0x19b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x4c80e1(0x8c),'attrs':{'stroke':_0x4c80e1(0x1d5),'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':_0x4c80e1(0x26f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4c80e1(0x344),'attrs':{},'children':[{'tag':_0x4c80e1(0x9e),'attrs':{'id':_0x4c80e1(0x222)},'children':[{'tag':'path','attrs':{'fill':_0x4c80e1(0x219),'d':'M0\x200H16V16H0z','transform':_0x4c80e1(0x21d)}}]}]}],'defIds':[_0x4c80e1(0x222)]},_0x3a67ee=(0x0,_0xd5b7ac['forwardRef'])(function(_0x55c030,_0x21f415){const _0x3cd7a8=_0x4c80e1;return(0x0,_0xd5b7ac[_0x3cd7a8(0xe6)])(_0x1a0c69,Object['assign']({},_0x55c030,{'id':_0x3cd7a8(0x235),'ref':_0x21f415,'icon':_0x2e3b09}));});_0x3a67ee['displayName']='OnLineIcon';let _0x13ca68={'tag':_0x4c80e1(0x338),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4c80e1(0xd3),'viewBox':_0x4c80e1(0xf1),'width':_0x4c80e1(0x19b),'height':_0x4c80e1(0x19b)},'children':[{'tag':_0x4c80e1(0x8c),'attrs':{'fill':_0x4c80e1(0x13f),'d':_0x4c80e1(0x21a),'fillOpacity':0.2,'fillRule':_0x4c80e1(0x331),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x4c80e1(0x13f),'d':_0x4c80e1(0x166),'fillRule':_0x4c80e1(0x331),'clipRule':_0x4c80e1(0x331)}}]},_0x1df139=(0x0,_0xd5b7ac[_0x4c80e1(0x332)])(function(_0xc9d448,_0x4fc56b){const _0x18ec78=_0x4c80e1;return(0x0,_0xd5b7ac[_0x18ec78(0xe6)])(_0x1a0c69,Object[_0x18ec78(0x86)]({},_0xc9d448,{'id':_0x18ec78(0x2bb),'ref':_0x4fc56b,'icon':_0x13ca68}));});_0x1df139[_0x4c80e1(0x30d)]='LoadingMultiIcon';function _0x2807bb(_0x52bd3f){const _0x576944=_0x4c80e1;switch(_0x52bd3f){case _0x1e6a94[_0x576944(0x252)]['OFFLINE']:return{'icon':(0x0,_0xc33d3d[_0x576944(0x32e)])(_0x401831,{}),'colorClass':_0x576944(0x268),'i18nKey':_0x576944(0x104),'tooltipKey':_0x576944(0x2bf),'clickable':!0x0,'indicator':_0x576944(0x263)};case _0x1e6a94[_0x576944(0x252)]['CONFLICT']:return{'icon':(0x0,_0xc33d3d[_0x576944(0x32e)])(_0x401831,{}),'colorClass':_0x576944(0x284),'i18nKey':_0x576944(0x2e1),'clickable':!0x1,'indicator':_0x576944(0x263)};case _0x1e6a94[_0x576944(0x252)][_0x576944(0xd2)]:return{'icon':(0x0,_0xc33d3d[_0x576944(0x32e)])(_0x1df139,{}),'colorClass':_0x576944(0xb3),'i18nKey':_0x576944(0x316),'clickable':!0x1,'indicator':'spin'};case _0x1e6a94['CollaborationStatus'][_0x576944(0xe9)]:return{'icon':(0x0,_0xc33d3d['jsx'])(_0x3a67ee,{}),'colorClass':_0x576944(0x33b),'i18nKey':'collabStatus.notCollab','clickable':!0x1,'indicator':_0x576944(0x263)};case _0x1e6a94[_0x576944(0x252)]['AWAITING']:case _0x1e6a94[_0x576944(0x252)]['AWAITING_WITH_PENDING']:return{'icon':(0x0,_0xc33d3d[_0x576944(0x32e)])(_0x1df139,{}),'colorClass':_0x576944(0xb3),'i18nKey':'collabStatus.syncing','clickable':!0x1,'indicator':_0x576944(0xe8)};case _0x1e6a94[_0x576944(0x252)][_0x576944(0x1d8)]:case _0x1e6a94[_0x576944(0x252)]['PENDING']:return{'icon':(0x0,_0xc33d3d[_0x576944(0x32e)])(_0x3a67ee,{}),'colorClass':_0x576944(0x220),'i18nKey':_0x576944(0x199),'clickable':!0x1,'indicator':'static'};}}function _0x240055(_0x430652){const _0x393738=_0x4c80e1;let {status$:_0x4fbcf7}=_0x430652,_0x25ebf0=(0x0,_0xfff774[_0x393738(0x329)])(_0x4fbcf7,_0x1e6a94[_0x393738(0x252)][_0x393738(0xe9)]),_0x484937=(0x0,_0xfff774[_0x393738(0x282)])(_0x45c421['LocaleService']),_0x4f8cd9=(0x0,_0xfff774[_0x393738(0x282)])(_0x1e6a94[_0x393738(0x33a)]),_0x321f3b=(0x0,_0xd5b7ac['useMemo'])(()=>_0x2807bb(_0x25ebf0),[_0x25ebf0]),_0x11e19d=_0x25ebf0!==_0x1e6a94['CollaborationStatus']['OFFLINE'],_0x2e48b0=_0x484937['t'](_0x321f3b[_0x393738(0xcd)]),_0x2f7ea9=_0x321f3b[_0x393738(0x114)]?_0x484937['t'](_0x321f3b['tooltipKey']):_0x2e48b0,_0x54ebb4=(0x0,_0xd5b7ac['useCallback'])(()=>{const _0xb66d22=_0x393738;_0x11e19d||_0x4f8cd9[_0xb66d22(0x151)]();},[_0x11e19d,_0x4f8cd9]),_0x29122b=(0x0,_0xd5b7ac[_0x393738(0x2ff)])(_0x23a493=>{const _0x1b7cf5=_0x393738;!_0x11e19d&&(_0x23a493['key']===_0x1b7cf5(0xb2)||_0x23a493[_0x1b7cf5(0x190)]==='\x20')&&(_0x23a493[_0x1b7cf5(0x137)](),_0x4f8cd9[_0x1b7cf5(0x151)]());},[_0x11e19d,_0x4f8cd9]),_0x3befc8=(0x0,_0xc33d3d[_0x393738(0x32e)])(_0x393738(0x260),{'className':(0x0,_0x1a0a02[_0x393738(0x347)])(_0x393738(0x2ac),_0x393738(0xc1),_0x321f3b[_0x393738(0x201)],{'univer-animate-spin':_0x321f3b[_0x393738(0x200)]===_0x393738(0xe8),'univer-animate-pulse':_0x321f3b[_0x393738(0x200)]===_0x393738(0xa3)}),'aria-hidden':_0x393738(0x1c4),'children':_0x321f3b[_0x393738(0xc4)]}),_0x144b56=(0x0,_0xc33d3d[_0x393738(0x32e)])(_0x393738(0x260),{'className':(0x0,_0x1a0a02[_0x393738(0x347)])(_0x393738(0x2ac),'univer-h-8\x20univer-w-8\x20univer-rounded-lg','univer-transition-all\x20univer-duration-200',_0x393738(0xb7),_0x393738(0x183),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x321f3b[_0x393738(0xf7)],'univer-cursor-default':!_0x321f3b[_0x393738(0xf7)]}),'children':_0x3befc8});return _0x321f3b[_0x393738(0xf7)]?(0x0,_0xc33d3d[_0x393738(0x32e)])(_0x1a0a02['Tooltip'],{'title':_0x2f7ea9,'placement':_0x393738(0x1af),'children':(0x0,_0xc33d3d[_0x393738(0x32e)])(_0x393738(0x1c3),{'type':_0x393738(0x1c3),'onClick':_0x54ebb4,'onKeyDown':_0x29122b,'className':(0x0,_0x1a0a02[_0x393738(0x347)])(_0x393738(0x245),_0x393738(0x1cc),'univer-m-0\x20univer-p-0',_0x393738(0x1b7)),'aria-label':_0x2e48b0+_0x393738(0x2be)+_0x2f7ea9,'role':_0x393738(0x16b),'aria-live':_0x393738(0x25a),'aria-atomic':_0x393738(0x1c4),'children':_0x144b56})}):(0x0,_0xc33d3d[_0x393738(0x32e)])(_0x1a0a02['Tooltip'],{'title':_0x2f7ea9,'placement':'bottom','children':(0x0,_0xc33d3d[_0x393738(0x32e)])('div',{'className':(0x0,_0x1a0a02[_0x393738(0x347)])(_0x393738(0x245),_0x393738(0x1cc),'univer-m-0\x20univer-p-0'),'aria-label':_0x2e48b0,'role':_0x393738(0x16b),'aria-live':_0x393738(0x25a),'aria-atomic':_0x393738(0x1c4),'children':_0x144b56})});}function _0x5bc798(_0x5bed2a){'@babel/helpers - typeof';const _0x2f838f=_0x4c80e1;return _0x5bc798=typeof Symbol==_0x2f838f(0x21b)&&typeof Symbol['iterator']==_0x2f838f(0x273)?function(_0x26b72b){return typeof _0x26b72b;}:function(_0x184625){const _0x29f5ca=_0x2f838f;return _0x184625&&typeof Symbol==_0x29f5ca(0x21b)&&_0x184625['constructor']===Symbol&&_0x184625!==Symbol[_0x29f5ca(0x256)]?'symbol':typeof _0x184625;},_0x5bc798(_0x5bed2a);}function _0xdd5e34(_0x4f71ac,_0x4eb1ac){const _0x566d62=_0x4c80e1;if(_0x5bc798(_0x4f71ac)!=_0x566d62(0x20e)||!_0x4f71ac)return _0x4f71ac;var _0x226255=_0x4f71ac[Symbol[_0x566d62(0x19f)]];if(_0x226255!==void 0x0){var _0x495d02=_0x226255['call'](_0x4f71ac,_0x4eb1ac||_0x566d62(0x150));if(_0x5bc798(_0x495d02)!=_0x566d62(0x20e))return _0x495d02;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4eb1ac===_0x566d62(0x133)?String:Number)(_0x4f71ac);}function _0x9ae3a8(_0x5bf187){const _0x25b3f0=_0x4c80e1;var _0x38308b=_0xdd5e34(_0x5bf187,_0x25b3f0(0x133));return _0x5bc798(_0x38308b)==_0x25b3f0(0x273)?_0x38308b:_0x38308b+'';}function _0x2f9172(_0xebe334,_0x4ffaa1,_0x23376a){const _0x38fbfb=_0x4c80e1;return(_0x4ffaa1=_0x9ae3a8(_0x4ffaa1))in _0xebe334?Object[_0x38fbfb(0x29e)](_0xebe334,_0x4ffaa1,{'value':_0x23376a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xebe334[_0x4ffaa1]=_0x23376a,_0xebe334;}function _0x2e6e37(_0x13ae7c,_0x508664){return function(_0x18c5e7,_0x57d9e4){_0x508664(_0x18c5e7,_0x57d9e4,_0x13ae7c);};}function _0x5d52c5(_0x2bb13d,_0x19f54e,_0xe9ed2e,_0x153729){const _0x2169e2=_0x4c80e1;var _0x538e01=arguments[_0x2169e2(0x292)],_0x8dff38=_0x538e01<0x3?_0x19f54e:_0x153729===null?_0x153729=Object['getOwnPropertyDescriptor'](_0x19f54e,_0xe9ed2e):_0x153729,_0x253e0e;if(typeof Reflect==_0x2169e2(0x20e)&&typeof Reflect[_0x2169e2(0xe5)]==_0x2169e2(0x21b))_0x8dff38=Reflect[_0x2169e2(0xe5)](_0x2bb13d,_0x19f54e,_0xe9ed2e,_0x153729);else{for(var _0x1e6a3a=_0x2bb13d['length']-0x1;_0x1e6a3a>=0x0;_0x1e6a3a--)(_0x253e0e=_0x2bb13d[_0x1e6a3a])&&(_0x8dff38=(_0x538e01<0x3?_0x253e0e(_0x8dff38):_0x538e01>0x3?_0x253e0e(_0x19f54e,_0xe9ed2e,_0x8dff38):_0x253e0e(_0x19f54e,_0xe9ed2e))||_0x8dff38);}return _0x538e01>0x3&&_0x8dff38&&Object[_0x2169e2(0x29e)](_0x19f54e,_0xe9ed2e,_0x8dff38),_0x8dff38;}let _0x591484=class extends _0x45c421['Disposable']{constructor(_0x4c0963,_0x187c6b,_0x2635b3,_0x343a15){const _0x57c851=_0x4c80e1;super(),this[_0x57c851(0x31a)]=_0x4c0963,this[_0x57c851(0x2f6)]=_0x187c6b,this[_0x57c851(0x99)]=_0x2635b3,this[_0x57c851(0x2f9)]=_0x343a15,_0x2f9172(this,'_status$',new _0x3ea80a[(_0x57c851(0x140))](_0x1e6a94['CollaborationStatus'][_0x57c851(0xe9)])),this['_initStatusComponent'](),this[_0x57c851(0xd7)]();}['_initStatusListener'](){const _0x41ac53=_0x4c80e1;this[_0x41ac53(0xa2)](this[_0x41ac53(0x31a)][_0x41ac53(0x20f)]['pipe']((0x0,_0x3ea80a[_0x41ac53(0xe4)])(()=>{const _0x3cc73d=_0x41ac53;let _0x1f26e0=this[_0x3cc73d(0x31a)][_0x3cc73d(0x2e9)]();return _0x1f26e0?this['_collaborationController']['getCollabEntity$'](_0x1f26e0[_0x3cc73d(0x191)]()):(0x0,_0x3ea80a['of'])(null);}),(0x0,_0x3ea80a[_0x41ac53(0xe4)])(_0x1be77b=>_0x1be77b?_0x1be77b['status$']:(0x0,_0x3ea80a['of'])(_0x1e6a94[_0x41ac53(0x252)][_0x41ac53(0xe9)])))[_0x41ac53(0x1e5)](_0x2d5d52=>{const _0x58c056=_0x41ac53;this[_0x58c056(0x2b8)][_0x58c056(0xa4)](_0x2d5d52);}));}['_initStatusComponent'](){const _0x3bece0=_0x4c80e1;this['disposeWithMe'](this[_0x3bece0(0x2f9)]['registerComponent'](_0xfff774[_0x3bece0(0x107)]['HEADER_MENU'],()=>(0x0,_0xfff774[_0x3bece0(0x27f)])(_0x3949b2({'status$':this[_0x3bece0(0x2b8)][_0x3bece0(0xae)]()}),this[_0x3bece0(0x2f6)])));}};_0x591484=_0x5d52c5([_0x2e6e37(0x0,_0x45c421[_0x4c80e1(0x138)]),_0x2e6e37(0x1,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x2,(0x0,_0x45c421['Inject'])(_0x1e6a94['CollaborationController'])),_0x2e6e37(0x3,_0xfff774[_0x4c80e1(0x2b9)])],_0x591484);function _0x3949b2(_0x3702de){let {status$:_0x12f40a}=_0x3702de;return function(){const _0x14a986=_0x2e69;return(0x0,_0xc33d3d[_0x14a986(0x32e)])(_0x240055,{'status$':_0x12f40a});};}let _0x1a46b4=(0x0,_0x45c421[_0x4c80e1(0x35d)])('uni.network.url-service'),_0x26fbb1=class extends _0x45c421[_0x4c80e1(0x15d)]{constructor(_0x125fc8,_0x242c47,_0x42539b,_0x3e727f,_0x35a4bf){const _0x28ac29=_0x4c80e1;super(),this[_0x28ac29(0xa1)]=_0x125fc8,this[_0x28ac29(0x33e)]=_0x242c47,this[_0x28ac29(0x22b)]=_0x42539b,this[_0x28ac29(0x175)]=_0x3e727f,_0x35a4bf?_0x35a4bf==null||_0x35a4bf[_0x28ac29(0x213)]()['then'](()=>this[_0x28ac29(0x10c)]()):(this[_0x28ac29(0x33e)][_0x28ac29(0x2ed)]('[CollaborationDataLoaderController]',_0x28ac29(0x2ba)),this[_0x28ac29(0x10c)]());}async[_0x4c80e1(0x10c)](){const _0xba8011=_0x4c80e1;let _0x3c18ee=this[_0xba8011(0xa1)][_0xba8011(0xb6)](_0xba8011(0x1c1)),_0x269f43=this[_0xba8011(0xa1)][_0xba8011(0xb6)](_0xba8011(0x223)),_0x457f63=this[_0xba8011(0xa1)][_0xba8011(0xb6)](_0xba8011(0x218));if(!_0x3c18ee||!_0x269f43){this['_logService'][_0xba8011(0x2ed)](_0xba8011(0x24c),_0xba8011(0x1f4));return;}let _0x513d89=await this['_dataLoaderService'][_0xba8011(0x10a)](_0x3c18ee,Number(_0x269f43),_0x457f63);_0x513d89&&_0x513d89 instanceof _0x45c421[_0xba8011(0x35a)]&&this[_0xba8011(0x322)](_0x513d89);}async[_0x4c80e1(0x322)](_0x392ff0){const _0x4cec87=_0x4c80e1;await this[_0x4cec87(0x306)](_0x392ff0),_0x392ff0['activeSheet$'][_0x4cec87(0x123)]((0x0,_0x3ea80a[_0x4cec87(0x287)])(this[_0x4cec87(0x1a8)]))[_0x4cec87(0x1e5)](_0x3157cb=>{const _0x138238=_0x4cec87;_0x3157cb&&this[_0x138238(0x136)](_0x3157cb);}),this[_0x4cec87(0xa1)][_0x4cec87(0x2bd)][_0x4cec87(0x123)]((0x0,_0x3ea80a[_0x4cec87(0x287)])(this[_0x4cec87(0x1a8)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x392ff0));}[_0x4c80e1(0x136)](_0x304850,_0x45cf48=!0x1){const _0x24c423=_0x4c80e1;let _0x96db0b=this['_urlService']['getParam'](_0x24c423(0x218));_0x304850['getSheetId']()!==_0x96db0b&&this[_0x24c423(0xa1)][_0x24c423(0x16a)](_0x24c423(0x218),_0x304850[_0x24c423(0x8d)](),_0x45cf48);}async[_0x4c80e1(0x306)](_0x5e7219){const _0x14804f=_0x4c80e1;var _0x31ed7b;let _0x410daa=this[_0x14804f(0xa1)][_0x14804f(0xb6)](_0x14804f(0x218));if(!_0x410daa||!_0x5e7219[_0x14804f(0x184)](_0x410daa)){let _0x3dbd15=_0x5e7219['getUnhiddenWorksheets']()[0x0],_0x5736e0=_0x5e7219['getSheetBySheetId'](_0x3dbd15);if(!_0x5736e0)return;this['_updateURLWithCurrentState'](_0x5736e0,!0x0),await this[_0x14804f(0x22b)][_0x14804f(0x9d)](_0x369070[_0x14804f(0x28c)]['id'],{'unitId':_0x5e7219['getUnitId'](),'subUnitId':_0x3dbd15});return;}((_0x31ed7b=_0x5e7219[_0x14804f(0x94)]())==null?void 0x0:_0x31ed7b[_0x14804f(0x8d)]())!==_0x410daa&&await this['_commandService']['executeCommand'](_0x369070[_0x14804f(0x28c)]['id'],{'unitId':_0x5e7219[_0x14804f(0x191)](),'subUnitId':_0x410daa});}};_0x26fbb1=_0x5d52c5([_0x2e6e37(0x0,_0x1a46b4),_0x2e6e37(0x1,_0x45c421[_0x4c80e1(0x2a9)]),_0x2e6e37(0x2,_0x45c421[_0x4c80e1(0x1de)]),_0x2e6e37(0x3,(0x0,_0x45c421['Inject'])(_0x1e6a94[_0x4c80e1(0x32a)])),_0x2e6e37(0x4,(0x0,_0x45c421['Optional'])(_0xab2a35['IRemoteInstanceService']))],_0x26fbb1);var _0x390f23=_0x4c80e1(0xc8),_0x469061=_0x4c80e1(0x293);let _0x5ca82f=class extends _0x45c421[_0x4c80e1(0x15d)]{constructor(_0x3aa667,_0x2aac80){const _0x5950f7=_0x4c80e1;super(),this[_0x5950f7(0xa7)]=_0x3aa667,this[_0x5950f7(0x33f)]=_0x2aac80,this['_init']();}['_init'](){const _0x3b315f=_0x4c80e1;let _0x3ccb03=this;this[_0x3b315f(0xa2)](this[_0x3b315f(0xa7)][_0x3b315f(0x17c)]({'onBeforePasteImage':async _0x58dea4=>{const _0x4022ce=_0x3b315f;let _0x19686d=await _0x3ccb03[_0x4022ce(0x33f)][_0x4022ce(0x2dc)](_0x58dea4);return _0x19686d?{'source':_0x19686d['source'],'imageSourceType':_0x19686d['imageSourceType']}:null;}}));}};_0x5ca82f=_0x5d52c5([_0x2e6e37(0x0,_0x287598[_0x4c80e1(0x227)]),_0x2e6e37(0x1,_0x548bae[_0x4c80e1(0x29a)])],_0x5ca82f);let _0x1bde25=[_0x4c80e1(0x302),'jiqing.500',_0x4c80e1(0x179),_0x4c80e1(0x341),_0x4c80e1(0x1ad),_0x4c80e1(0x1f2)];var _0x4b3196=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(..._0x485ed8){const _0xcf6371=_0x4c80e1;super(..._0x485ed8),_0x2f9172(this,_0xcf6371(0x1eb),new Map()),_0x2f9172(this,_0xcf6371(0x262),0x0);}[_0x4c80e1(0x31d)](_0x4af7b1){const _0x2521c2=_0x4c80e1;if(this[_0x2521c2(0x1eb)][_0x2521c2(0x33d)](_0x4af7b1))return this[_0x2521c2(0x1eb)][_0x2521c2(0x148)](_0x4af7b1);let _0x14d79e=_0x1bde25[this[_0x2521c2(0x262)]];return this[_0x2521c2(0x262)]=(this[_0x2521c2(0x262)]+0x1)%_0x1bde25[_0x2521c2(0x292)],this[_0x2521c2(0x1eb)][_0x2521c2(0x22d)](_0x4af7b1,_0x14d79e),_0x14d79e;}};function _0x40abdb(_0x1704e7){let _0x46738d='';for(let _0x5b38db of _0x1704e7){let {startOffset:_0x301e35,endOffset:_0x402cd6,isActive:_0xc5de64,rangeType:_0x21eb2c,segmentId:_0x465294,segmentPage:_0xbf78eb}=_0x5b38db;_0x46738d['length']&&(_0x46738d+=','),_0x46738d+=_0x301e35+':'+_0x402cd6+':'+(_0xc5de64?'1':'0')+':'+_0x21eb2c+':'+_0x465294+':'+_0xbf78eb;}return _0x46738d;}function _0x4c1006(_0x2c3084){const _0x33a104=_0x4c80e1;let _0xd9ced5=_0x2c3084['split'](','),_0x4694e5=[];for(let _0x368611 of _0xd9ced5){let [_0x4c5650,_0x895f22,_0x4b3cd0,_0x20de15,_0x5d101f,_0x2f106b]=_0x368611[_0x33a104(0x259)](':');_0x4694e5[_0x33a104(0x2fa)]({'startOffset':Number(_0x4c5650),'endOffset':Number(_0x895f22),'collapsed':_0x4c5650===_0x895f22,'isActive':_0x4b3cd0==='1','rangeType':_0x20de15===_0x45c421['DOC_RANGE_TYPE']['TEXT']?_0x45c421[_0x33a104(0x187)][_0x33a104(0x2e2)]:_0x45c421['DOC_RANGE_TYPE'][_0x33a104(0xc9)],'segmentId':typeof _0x5d101f=='string'?String(_0x5d101f):'','segmentPage':Number(_0x2f106b==null?-0x1:_0x2f106b)});}return _0x4694e5[_0x33a104(0x276)](_0x9d4bc=>_0x9d4bc[_0x33a104(0x231)])||(_0x4694e5[0x0][_0x33a104(0x231)]=!0x0),_0x4694e5;}var _0x24123b=class extends _0x45c421[_0x4c80e1(0x15d)]{constructor(..._0x50e807){const _0x35a92d=_0x4c80e1;super(..._0x50e807),_0x2f9172(this,_0x35a92d(0x32f),new _0x3ea80a[(_0x35a92d(0x140))](null)),_0x2f9172(this,_0x35a92d(0x34b),this[_0x35a92d(0x32f)][_0x35a92d(0xae)]());}['syncEditingCollabCursor'](_0x58e244){const _0x3403b5=_0x4c80e1;let {unitID:_0x4cef5d,memberID:_0x2a378a,textRanges:_0x300c72}=_0x58e244,_0x4b9fa3=_0x40abdb(_0x300c72);if(_0x4b9fa3==='')return;let _0x27b771={'unitID':_0x4cef5d,'memberID':_0x2a378a,'selection':_0x4b9fa3};this[_0x3403b5(0x32f)][_0x3403b5(0xa4)](_0x27b771);}};let _0x17f468=class extends _0x45c421[_0x4c80e1(0x15d)]{get[_0x4c80e1(0xd4)](){const _0x585ab8=_0x4c80e1;return this['_cursorInfo$'][_0x585ab8(0x2f0)]();}get[_0x4c80e1(0x318)](){const _0x52fdea=_0x4c80e1;return this[_0x52fdea(0x349)][_0x52fdea(0x2f0)]();}constructor(_0x14d2ec,_0x2798cd,_0x5c458f,_0x3ff9f6,_0x26c887,_0x437cd1,_0x160dd2,_0x3f1303,_0x370854){const _0x2e55e1=_0x4c80e1;super(),this[_0x2e55e1(0x19c)]=_0x14d2ec,this[_0x2e55e1(0x15a)]=_0x2798cd,this[_0x2e55e1(0x2f6)]=_0x5c458f,this[_0x2e55e1(0x352)]=_0x3ff9f6,this[_0x2e55e1(0x1c7)]=_0x26c887,this[_0x2e55e1(0x315)]=_0x437cd1,this[_0x2e55e1(0x343)]=_0x160dd2,this['_univerInstanceService']=_0x3f1303,this[_0x2e55e1(0x22b)]=_0x370854,_0x2f9172(this,_0x2e55e1(0x159),!0x1),_0x2f9172(this,_0x2e55e1(0x10c),!0x1),_0x2f9172(this,_0x2e55e1(0x97),new _0x3ea80a['BehaviorSubject'](new Map())),_0x2f9172(this,_0x2e55e1(0x9f),this['_cursorInfo$'][_0x2e55e1(0xae)]()),_0x2f9172(this,_0x2e55e1(0x349),new _0x3ea80a[(_0x2e55e1(0x140))]([])),_0x2f9172(this,_0x2e55e1(0x31c),this['_roomMembers$'][_0x2e55e1(0x123)]((0x0,_0x3ea80a[_0x2e55e1(0x2f7)])(0x12c))),_0x2f9172(this,_0x2e55e1(0x2e4),(0x0,_0x45c421[_0x2e55e1(0x206)])(_0x20f146=>{const _0x8018b1=_0x2e55e1;let _0x3e0c25={'eventID':_0x663956['CollaborationEvent'][_0x8018b1(0x34f)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x8018b1(0x177)](),'selection':_0x40abdb(_0x20f146)}};this[_0x8018b1(0x15a)][_0x8018b1(0x226)](_0x3e0c25,this['unitID']);},0x64));}['dispose'](){const _0x50756a=_0x4c80e1;super[_0x50756a(0xe1)](),this[_0x50756a(0x97)][_0x50756a(0xa4)](new Map()),this[_0x50756a(0x97)]['complete'](),this[_0x50756a(0x349)][_0x50756a(0xa4)]([]),this[_0x50756a(0x349)][_0x50756a(0x202)]();}['init'](){const _0x478913=_0x4c80e1;this['_init']||(this[_0x478913(0x10c)]=!0x0,this[_0x478913(0x15a)][_0x478913(0x180)][_0x478913(0x123)]((0x0,_0x3ea80a[_0x478913(0x287)])(this['dispose$']))[_0x478913(0x1e5)](_0x395a0b=>{const _0x5ab21d=_0x478913;_0x395a0b===_0x1e6a94[_0x5ab21d(0x14d)][_0x5ab21d(0x1ac)]?this[_0x5ab21d(0x1e8)]():this[_0x5ab21d(0x2eb)]();}),this[_0x478913(0x15a)][_0x478913(0xca)][_0x478913(0x123)]((0x0,_0x3ea80a[_0x478913(0x287)])(this[_0x478913(0x1a8)]))[_0x478913(0x1e5)](_0x11565f=>{const _0x46cb17=_0x478913;let _0x2a217f=_0x11565f[_0x46cb17(0x2d1)];_0x2a217f===_0x663956[_0x46cb17(0x210)][_0x46cb17(0x34f)]&&this[_0x46cb17(0x203)](_0x11565f),_0x2a217f===_0x663956[_0x46cb17(0x210)][_0x46cb17(0x164)]&&this[_0x46cb17(0x216)](_0x11565f);}),this[_0x478913(0xa2)](this[_0x478913(0x22b)]['onCommandExecuted'](_0x250128=>{const _0x60ccd9=_0x478913;let _0x5bde67=_0x250128['params'];_0x5bde67!=null&&this[_0x60ccd9(0x159)]&&_0x250128['id']===_0x15aabe[_0x60ccd9(0xb9)]['id']&&_0x5bde67['unitId']===this[_0x60ccd9(0x19c)]&&_0x5bde67[_0x60ccd9(0x8e)]===!0x1&&_0x5bde67[_0x60ccd9(0x1bf)][_0x60ccd9(0x292)]>0x0&&this[_0x60ccd9(0x2e4)](_0x5bde67[_0x60ccd9(0x1bf)]);})),this[_0x478913(0x315)][_0x478913(0x34b)][_0x478913(0x123)]((0x0,_0x3ea80a['takeUntil'])(this[_0x478913(0x1a8)]))[_0x478913(0x1e5)](_0x11e5d7=>{const _0x5a2ce8=_0x478913;if((_0x11e5d7==null?void 0x0:_0x11e5d7[_0x5a2ce8(0x19c)])!==this[_0x5a2ce8(0x19c)])return;let _0x5224e6={'eventID':_0x663956[_0x5a2ce8(0x210)]['UPDATE_CURSOR'],'data':_0x11e5d7};this['_onCursorUpdate'](_0x5224e6);}),this[_0x478913(0xa2)](this[_0x478913(0x22b)][_0x478913(0xeb)](_0x34e9db=>{const _0x1ddbd0=_0x478913;if(_0x34e9db[_0x1ddbd0(0x325)]==null)return;let _0x33801b=_0x34e9db['params'];if(_0x34e9db['id']!==_0x15aabe[_0x1ddbd0(0x34d)]['id']||_0x33801b[_0x1ddbd0(0x323)]!==this[_0x1ddbd0(0x19c)])return;let _0x41e8b7={'id':_0x1ddbd0(0x1a7),'params':_0x33801b},_0x56b8df=this[_0x1ddbd0(0xd4)];for(let [_0x170814,_0x33be2f]of _0x56b8df){let _0x3f68cf={'id':_0x1ddbd0(0x1a7),'params':{'unitId':this[_0x1ddbd0(0x19c)],'actions':null,'textRanges':_0x33be2f[_0x1ddbd0(0x1bf)]}},_0x457a48=this[_0x1ddbd0(0x343)][_0x1ddbd0(0x15f)](_0x41e8b7,_0x3f68cf,!0x1);if((0x0,_0x663956['isTransformMutationFailure'])(_0x457a48))throw _0x457a48[_0x1ddbd0(0x169)];_0x56b8df[_0x1ddbd0(0x22d)](_0x170814,{..._0x33be2f,'ranges':_0x457a48[_0x1ddbd0(0x353)][_0x1ddbd0(0x325)]['textRanges']});}queueMicrotask(()=>{const _0x1c427f=_0x1ddbd0;this[_0x1c427f(0x97)][_0x1c427f(0xa4)](_0x56b8df);});})));}[_0x4c80e1(0x203)](_0x3b800a){const _0x545ad7=_0x4c80e1;var _0x574421,_0x2da4e0;let {memberID:_0x5ee679,selection:_0x3e7d17}=_0x3b800a[_0x545ad7(0x274)],_0x2cfda3=_0x4c1006(_0x3e7d17),_0x2efbee=(_0x574421=(_0x2da4e0=this['_memberService'][_0x545ad7(0x2e6)](this['unitID'],_0x5ee679))==null?void 0x0:_0x2da4e0['name'])==null?_0x545ad7(0x29d):_0x574421,_0x10cd5e={'color':this[_0x545ad7(0x352)]['assignAColorForMemberID'](_0x5ee679),'name':_0x2efbee,'ranges':_0x2cfda3},_0x4a3da5=this[_0x545ad7(0xd4)];_0x4a3da5[_0x545ad7(0x22d)](_0x5ee679,_0x10cd5e),this[_0x545ad7(0x97)][_0x545ad7(0xa4)](_0x4a3da5);}[_0x4c80e1(0x216)](_0x5a2b23){const _0x4fd9c4=_0x4c80e1;let {memberID:_0xf53f73}=_0x5a2b23[_0x4fd9c4(0x274)],_0x40e8e8=this[_0x4fd9c4(0xd4)];_0x40e8e8[_0x4fd9c4(0x31b)](_0xf53f73),this[_0x4fd9c4(0x97)][_0x4fd9c4(0xa4)](_0x40e8e8);}[_0x4c80e1(0x1e8)](){const _0x444473=_0x4c80e1;var _0x4d3e38;if(this[_0x444473(0x159)]=!0x0,((_0x4d3e38=this[_0x444473(0x31a)]['getFocusedUnit']())==null?void 0x0:_0x4d3e38['getUnitId']())!==this[_0x444473(0x19c)])return;let _0x58b6cb=this[_0x444473(0x2f6)][_0x444473(0x148)](_0x15aabe[_0x444473(0x33c)])['getDocRanges']();Array['isArray'](_0x58b6cb)&&_0x58b6cb[_0x444473(0x292)]>0x0&&this[_0x444473(0x2e4)](_0x58b6cb);}['_toggleOffline'](){const _0x42b36f=_0x4c80e1;this[_0x42b36f(0x159)]=!0x1;}};_0x17f468=_0x5d52c5([_0x2e6e37(0x2,(0x0,_0x45c421['Inject'])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x3,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x4b3196)),_0x2e6e37(0x4,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x1e6a94['MemberService'])),_0x2e6e37(0x5,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x24123b)),_0x2e6e37(0x6,_0x663956[_0x4c80e1(0x305)]),_0x2e6e37(0x7,_0x45c421[_0x4c80e1(0x138)]),_0x2e6e37(0x8,_0x45c421[_0x4c80e1(0x1de)])],_0x17f468);let _0x2a53b6=()=>{let _0x41ef48=[],_0x100957=!0x1;return _0x15aec0=>{const _0x798293=_0x2e69;_0x41ef48[_0x798293(0x2fa)](_0x15aec0),_0x100957||(_0x100957=!0x0,setTimeout(()=>{_0x41ef48['forEach'](_0x31b850=>_0x31b850()),_0x41ef48=[],_0x100957=!0x1;}));};},_0x1a8d67=class extends _0x45c421[_0x4c80e1(0x15d)]{get[_0x4c80e1(0xd4)](){const _0x3466d5=_0x4c80e1;return this[_0x3466d5(0x97)][_0x3466d5(0x2f0)]();}get[_0x4c80e1(0x318)](){const _0xc23619=_0x4c80e1;return this['_roomMembers$'][_0xc23619(0x2f0)]();}constructor(_0x1c170e,_0x4c28ad,_0x1a4da4,_0x590623,_0xbb5235,_0x2981f1,_0x69e072,_0x436200){const _0x4c3048=_0x4c80e1;super(),this[_0x4c3048(0x19c)]=_0x1c170e,this[_0x4c3048(0x15a)]=_0x4c28ad,this[_0x4c3048(0x2f6)]=_0x1a4da4,this[_0x4c3048(0x352)]=_0x590623,this[_0x4c3048(0x1c7)]=_0xbb5235,this['_univerInstanceService']=_0x2981f1,this[_0x4c3048(0x22b)]=_0x69e072,this[_0x4c3048(0x132)]=_0x436200,_0x2f9172(this,_0x4c3048(0x159),!0x1),_0x2f9172(this,_0x4c3048(0x10c),!0x1),_0x2f9172(this,_0x4c3048(0x97),new _0x3ea80a[(_0x4c3048(0x140))](new Map())),_0x2f9172(this,_0x4c3048(0x9f),this['_cursorInfo$'][_0x4c3048(0xae)]()),_0x2f9172(this,'_roomMembers$',new _0x3ea80a[(_0x4c3048(0x140))]([])),_0x2f9172(this,_0x4c3048(0x31c),this[_0x4c3048(0x349)][_0x4c3048(0x123)]((0x0,_0x3ea80a[_0x4c3048(0x2f7)])(0x12c))),_0x2f9172(this,_0x4c3048(0x2e4),(0x0,_0x45c421['debounce'])((_0x4e921e,_0x45fabc)=>{const _0x3e84e4=_0x4c3048;let _0xb390cd={'eventID':_0x663956[_0x3e84e4(0x210)][_0x3e84e4(0x34f)],'data':{'unitID':this['unitID'],'memberID':this[_0x3e84e4(0x15a)][_0x3e84e4(0x177)](),'selection':(0x0,_0x516276[_0x3e84e4(0xcb)])(_0x4e921e,_0x45fabc[_0x3e84e4(0x13d)])}};this[_0x3e84e4(0x15a)][_0x3e84e4(0x226)](_0xb390cd,this[_0x3e84e4(0x19c)]);},0x64));}['dispose'](){const _0x5b73dc=_0x4c80e1;super[_0x5b73dc(0xe1)](),this[_0x5b73dc(0x97)]['next'](new Map()),this[_0x5b73dc(0x97)][_0x5b73dc(0x202)](),this[_0x5b73dc(0x349)][_0x5b73dc(0xa4)]([]),this['_roomMembers$'][_0x5b73dc(0x202)]();}[_0x4c80e1(0x126)](){const _0x308a0e=_0x4c80e1;this[_0x308a0e(0x10c)]||(this[_0x308a0e(0x10c)]=!0x0,this[_0x308a0e(0x15a)][_0x308a0e(0x180)]['pipe']((0x0,_0x3ea80a['takeUntil'])(this[_0x308a0e(0x1a8)]))['subscribe'](_0x33291b=>{const _0x105874=_0x308a0e;_0x33291b===_0x1e6a94['SessionStatus']['ONLINE']?this[_0x105874(0x1e8)]():this[_0x105874(0x2eb)]();}),this[_0x308a0e(0x15a)][_0x308a0e(0xca)][_0x308a0e(0x123)]((0x0,_0x3ea80a[_0x308a0e(0x287)])(this[_0x308a0e(0x1a8)]))[_0x308a0e(0x1e5)](_0x4da7f0=>{const _0x5c9706=_0x308a0e;let _0x52a10a=_0x4da7f0[_0x5c9706(0x2d1)];_0x52a10a===_0x663956[_0x5c9706(0x210)][_0x5c9706(0x34f)]&&this[_0x5c9706(0x203)](_0x4da7f0),_0x52a10a===_0x663956[_0x5c9706(0x210)][_0x5c9706(0x164)]&&this[_0x5c9706(0x216)](_0x4da7f0);}),this['_onRefRangeChange'](),this[_0x308a0e(0xa2)](this[_0x308a0e(0x22b)][_0x308a0e(0xeb)](_0xf47f26=>{const _0x199354=_0x308a0e;if(this[_0x199354(0x159)]&&_0xf47f26['id']===_0x369070['SetSelectionsOperation']['id']&&_0xf47f26['params'][_0x199354(0x323)]===this[_0x199354(0x19c)]){let _0x102d25=_0xf47f26[_0x199354(0x325)];this['_updateLocalCursor'](_0x102d25[_0x199354(0xb5)],_0x102d25[_0x199354(0xd0)][0x0]);}})));}[_0x4c80e1(0x203)](_0x2f4602){const _0x465498=_0x4c80e1;var _0x329244,_0x599cc4;let {memberID:_0x19d324,selection:_0x94503e}=_0x2f4602[_0x465498(0x274)],{sheetName:_0x55d5db,range:_0x270fff}=(0x0,_0x516276[_0x465498(0x251)])(_0x94503e),_0x1a242c={'name':(_0x329244=(_0x599cc4=this[_0x465498(0x1c7)][_0x465498(0x2e6)](this[_0x465498(0x19c)],_0x19d324))==null?void 0x0:_0x599cc4['name'])==null?'Unknown\x20user':_0x329244,'range':this['_getMergeRange'](_0x55d5db,_0x270fff),'sheetID':_0x55d5db,'color':this[_0x465498(0x352)]['assignAColorForMemberID'](_0x19d324),'selection':_0x94503e},_0x234175=this[_0x465498(0xd4)];_0x234175[_0x465498(0x22d)](_0x19d324,_0x1a242c),this[_0x465498(0x97)][_0x465498(0xa4)](_0x234175);}[_0x4c80e1(0x216)](_0x2b3180){const _0x5b367f=_0x4c80e1;let {memberID:_0x523c14}=_0x2b3180['data'],_0x4069f7=this[_0x5b367f(0xd4)];_0x4069f7['delete'](_0x523c14),this['_cursorInfo$']['next'](_0x4069f7);}[_0x4c80e1(0x334)](_0x3e30d1,_0x21623d){const _0x4cb576=_0x4c80e1;var _0x28a48c;let _0x4e87de=(_0x28a48c=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x4cb576(0x19c)]))==null||(_0x28a48c=_0x28a48c[_0x4cb576(0x184)](_0x3e30d1))==null?void 0x0:_0x28a48c[_0x4cb576(0x212)]();return(_0x4e87de==null?void 0x0:_0x4e87de[_0x4cb576(0xb0)](_0x379ff5=>_0x45c421[_0x4cb576(0x106)][_0x4cb576(0x257)](_0x379ff5,_0x21623d)))||_0x21623d;}['_onRefRangeChange'](){const _0x32c9e1=_0x4c80e1;let _0x652797=new _0x45c421[(_0x32c9e1(0x238))](),_0x2bba7b=_0x2a53b6(),_0x2b75f2=()=>{const _0x1b332b=_0x32c9e1;_0x652797[_0x1b332b(0xe1)]();let _0x3d9e68=(_0x2541ae,_0x80f97,_0x1bfae2,_0x168edf)=>{const _0x1a6593=_0x1b332b;let _0x3fbb28=[];switch(_0x2541ae['id']){case _0x369070[_0x1a6593(0x89)]['DeleteRangeMoveLeftCommandId']:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x2ef)])(_0x2541ae,_0x168edf);break;case _0x369070[_0x1a6593(0x89)]['DeleteRangeMoveUpCommandId']:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x25f)])(_0x2541ae,_0x168edf);break;case _0x369070[_0x1a6593(0x89)][_0x1a6593(0x13a)]:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x290)])(_0x2541ae,_0x168edf);break;case _0x369070[_0x1a6593(0x89)][_0x1a6593(0x113)]:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x17f)])(_0x2541ae,_0x168edf);break;case _0x369070[_0x1a6593(0x89)][_0x1a6593(0x173)]:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x348)])(_0x2541ae,_0x168edf);break;case _0x369070['EffectRefRangId']['InsertRowCommandId']:_0x3fbb28=(0x0,_0x369070['handleInsertRow'])(_0x2541ae,_0x168edf);break;case _0x369070[_0x1a6593(0x89)][_0x1a6593(0xed)]:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x2fb)])(_0x2541ae,_0x168edf);break;case _0x369070['EffectRefRangId'][_0x1a6593(0x160)]:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x26d)])(_0x2541ae,_0x168edf);break;case _0x369070['EffectRefRangId']['RemoveRowCommandId']:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x109)])(_0x2541ae,_0x168edf);break;}let _0x363296=(0x0,_0x369070[_0x1a6593(0x142)])(_0x3fbb28,_0x168edf),_0x31cfe7=this[_0x1a6593(0xd4)][_0x1a6593(0x148)](_0x80f97);if(_0x31cfe7&&_0x363296){let _0x1ea4c6={..._0x31cfe7,'range':_0x363296};this[_0x1a6593(0xd4)][_0x1a6593(0x22d)](_0x80f97,_0x1ea4c6),_0x2bba7b(()=>{const _0x590c76=_0x1a6593;let _0x5d1739=this[_0x590c76(0x132)][_0x590c76(0x28b)](_0x363296,_0x270c3c=>(_0x5d1739[_0x590c76(0xe1)](),_0x3d9e68(_0x270c3c,_0x80f97,_0x1bfae2,_0x363296)));_0x652797[_0x590c76(0xa0)](_0x5d1739);});}return{'redos':[],'undos':[]};};this[_0x1b332b(0xd4)][_0x1b332b(0x1a9)]((_0x287322,_0xece59)=>{const _0x234e77=_0x1b332b;let {range:_0x6cfe64,sheetID:_0x1f4852}=_0x287322,_0x4a68cb=this[_0x234e77(0x132)][_0x234e77(0x28b)](_0x6cfe64,_0x34d6a8=>(_0x4a68cb[_0x234e77(0xe1)](),_0x3d9e68(_0x34d6a8,_0xece59,_0x1f4852,_0x6cfe64)));_0x652797[_0x234e77(0xa0)](_0x4a68cb);});};this[_0x32c9e1(0xa2)]((0x0,_0x45c421[_0x32c9e1(0x294)])(this[_0x32c9e1(0x97)][_0x32c9e1(0x1e5)](()=>{_0x2b75f2();})));}[_0x4c80e1(0x1e8)](){const _0x399185=_0x4c80e1;var _0x375ae8,_0x1a5745;if(this['_online']=!0x0,((_0x375ae8=this[_0x399185(0x31a)][_0x399185(0x2e9)]())==null?void 0x0:_0x375ae8['getUnitId']())!==this[_0x399185(0x19c)])return;let _0x3a4f65=(_0x1a5745=this[_0x399185(0x2f6)][_0x399185(0x148)](_0x369070[_0x399185(0x18a)])['getCurrentSelections']())==null?void 0x0:_0x1a5745[0x0],_0xb6d490=this[_0x399185(0x31a)][_0x399185(0x32b)](_0x45c421['UniverInstanceType'][_0x399185(0x2da)])['getActiveSheet']();_0x3a4f65&&_0xb6d490&&this[_0x399185(0x2e4)](_0xb6d490[_0x399185(0x8d)](),_0x3a4f65);}[_0x4c80e1(0x2eb)](){this['_online']=!0x1;}};_0x1a8d67=_0x5d52c5([_0x2e6e37(0x2,(0x0,_0x45c421['Inject'])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x3,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x4b3196)),_0x2e6e37(0x4,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x1e6a94[_0x4c80e1(0x1cb)])),_0x2e6e37(0x5,_0x45c421['IUniverInstanceService']),_0x2e6e37(0x6,_0x45c421[_0x4c80e1(0x1de)]),_0x2e6e37(0x7,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x369070[_0x4c80e1(0xce)]))],_0x1a8d67);let _0x281315=class extends _0x45c421['RxDisposable']{constructor(_0x3fecac,_0x16840e,_0x1b2ba9){const _0x267e0d=_0x4c80e1;super(),this['_univerInstanceService']=_0x3fecac,this[_0x267e0d(0x2f6)]=_0x16840e,this[_0x267e0d(0x2b0)]=_0x1b2ba9,_0x2f9172(this,_0x267e0d(0x13c),new Map()),_0x2f9172(this,_0x267e0d(0xac),new _0x3ea80a[(_0x267e0d(0x336))]()),this[_0x267e0d(0x10c)]();}['dispose'](){const _0x1316cb=_0x4c80e1;super[_0x1316cb(0xe1)](),this[_0x1316cb(0xac)][_0x1316cb(0x202)](),this[_0x1316cb(0x13c)][_0x1316cb(0x1a9)](_0x2a0e0c=>_0x2a0e0c[_0x1316cb(0xe1)]());}['getCollabCursors$'](_0x2ffc9f){const _0x4b1ff6=_0x4c80e1;return this[_0x4b1ff6(0x13c)][_0x4b1ff6(0x33d)](_0x2ffc9f)?this[_0x4b1ff6(0x13c)][_0x4b1ff6(0x148)](_0x2ffc9f)[_0x4b1ff6(0x9f)]:this[_0x4b1ff6(0xac)][_0x4b1ff6(0x123)]((0x0,_0x3ea80a[_0x4b1ff6(0x2f5)])(_0x4108a1=>_0x4108a1[_0x4b1ff6(0x19c)]===_0x2ffc9f),(0x0,_0x3ea80a[_0x4b1ff6(0xe4)])(_0x3b7343=>_0x3b7343['cursorInfo$']));}[_0x4c80e1(0x10c)](){const _0x20a322=_0x4c80e1;this[_0x20a322(0x31a)][_0x20a322(0x30c)](_0x45c421[_0x20a322(0x1b2)]['UNIVER_SHEET'])[_0x20a322(0x123)]((0x0,_0x3ea80a[_0x20a322(0x287)])(this[_0x20a322(0x1a8)]))[_0x20a322(0x1e5)](async _0x1db379=>{const _0x351d0a=_0x20a322;let _0x659ef1=_0x1db379[_0x351d0a(0x1c1)][_0x351d0a(0x191)](),_0xe5937a=await this[_0x351d0a(0x1fe)](_0x659ef1);this['_entityInit$'][_0x351d0a(0xa4)](_0xe5937a),this['_entities'][_0x351d0a(0x22d)](_0x659ef1,_0xe5937a);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x45c421[_0x20a322(0x1b2)]['UNIVER_DOC'])[_0x20a322(0x123)]((0x0,_0x3ea80a['takeUntil'])(this['dispose$']))[_0x20a322(0x123)]((0x0,_0x3ea80a['filter'])(_0x154849=>!_0x154849[_0x20a322(0x1c1)][_0x20a322(0x191)]()[_0x20a322(0x2c0)]('__')))[_0x20a322(0x1e5)](async _0x42b4b4=>{const _0x4f04cc=_0x20a322;let {unit:_0x10d8fb}=_0x42b4b4,_0x15f4b7=_0x10d8fb[_0x4f04cc(0x191)](),_0x32cdaf=await this[_0x4f04cc(0x286)](_0x15f4b7);this[_0x4f04cc(0xac)][_0x4f04cc(0xa4)](_0x32cdaf),this[_0x4f04cc(0x13c)][_0x4f04cc(0x22d)](_0x15f4b7,_0x32cdaf);}),(0x0,_0x3ea80a['merge'])(this['_univerInstanceService'][_0x20a322(0x21e)](_0x45c421[_0x20a322(0x1b2)][_0x20a322(0x11a)]),this[_0x20a322(0x31a)][_0x20a322(0x21e)](_0x45c421[_0x20a322(0x1b2)][_0x20a322(0x2da)]))[_0x20a322(0x123)]((0x0,_0x3ea80a[_0x20a322(0x287)])(this[_0x20a322(0x1a8)]))[_0x20a322(0x1e5)](_0x210b42=>{const _0x5bf37b=_0x20a322;let _0x3e91df=_0x210b42[_0x5bf37b(0x191)](),_0x23bf0b=this[_0x5bf37b(0x13c)]['get'](_0x3e91df);_0x23bf0b&&(_0x23bf0b['dispose'](),this[_0x5bf37b(0x13c)][_0x5bf37b(0x31b)](_0x3e91df));});}async[_0x4c80e1(0x1fe)](_0x13e257){const _0x132993=_0x4c80e1;let _0x56c9f1=await this[_0x132993(0x2b0)][_0x132993(0x121)](_0x13e257),_0x37702a=this[_0x132993(0x2f6)][_0x132993(0xc2)](_0x1a8d67,_0x13e257,_0x56c9f1);return _0x37702a['init'](),_0x37702a;}async['_startDocCollabCursor'](_0x270c02){const _0x4d98fe=_0x4c80e1;let _0x4bc572=await this[_0x4d98fe(0x2b0)][_0x4d98fe(0x121)](_0x270c02),_0x4b5673=this['_injector'][_0x4d98fe(0xc2)](_0x17f468,_0x270c02,_0x4bc572);return _0x4b5673[_0x4d98fe(0x126)](),_0x4b5673;}};_0x281315=_0x5d52c5([_0x2e6e37(0x0,_0x45c421['IUniverInstanceService']),_0x2e6e37(0x1,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x1e6a94[_0x4c80e1(0x33a)]))],_0x281315);function _0x1fd18d(_0x216378,_0x532de9){const _0x4a3cf9=_0x4c80e1;var _0xbab85c,_0x2ebd5e,_0x45c8c8;let {radius:_0x33e921,width:_0x523baa,height:_0x56ca8f}=_0x532de9;_0x33e921=(_0xbab85c=_0x33e921)==null?0x0:_0xbab85c,_0x523baa=(_0x2ebd5e=_0x523baa)==null?0x1e:_0x2ebd5e,_0x56ca8f=(_0x45c8c8=_0x56ca8f)==null?0x1e:_0x45c8c8;let _0x4a11d0=0x0,_0x25a3bb=0x0,_0x462a92=0x0;_0x4a11d0=_0x25a3bb=_0x462a92=Math[_0x4a3cf9(0x112)](_0x33e921,_0x523baa/0x2,_0x56ca8f/0x2),_0x216378[_0x4a3cf9(0xb8)](),_0x216378['moveTo'](_0x4a11d0,0x0),_0x216378[_0x4a3cf9(0x156)](_0x523baa-_0x25a3bb,0x0),_0x216378['arc'](_0x523baa-_0x25a3bb,_0x25a3bb,_0x25a3bb,Math['PI']*0x3/0x2,0x0,!0x1),_0x216378[_0x4a3cf9(0x156)](_0x523baa,_0x56ca8f-_0x462a92),_0x216378[_0x4a3cf9(0x13b)](_0x523baa-_0x462a92,_0x56ca8f-_0x462a92,_0x462a92,0x0,Math['PI']/0x2,!0x1),_0x216378[_0x4a3cf9(0x156)](0x0,_0x56ca8f),_0x216378['lineTo'](0x0,_0x4a11d0),_0x216378[_0x4a3cf9(0x13b)](_0x4a11d0,_0x4a11d0,_0x4a11d0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x216378[_0x4a3cf9(0x1ab)](),_0x532de9['fill']&&(_0x216378[_0x4a3cf9(0xf0)](),_0x216378[_0x4a3cf9(0x8f)]=_0x532de9[_0x4a3cf9(0x20c)],_0x532de9[_0x4a3cf9(0x19a)]===_0x4a3cf9(0x331)?_0x216378[_0x4a3cf9(0x20c)]('evenodd'):_0x216378[_0x4a3cf9(0x20c)](),_0x216378[_0x4a3cf9(0x312)]());}var _0x147932=class _0xd607a5 extends _0x5842f2[_0x4c80e1(0x19e)]{constructor(_0xd382cd,_0x42208b){const _0x4efbbc=_0x4c80e1;super(_0xd382cd,_0x42208b),_0x2f9172(this,_0x4efbbc(0x342),void 0x0),_0x2f9172(this,_0x4efbbc(0xfc),void 0x0),this[_0x4efbbc(0x342)]=_0x42208b==null?void 0x0:_0x42208b[_0x4efbbc(0x342)],this['text']=_0x42208b==null?void 0x0:_0x42208b[_0x4efbbc(0xfc)];}static[_0x4c80e1(0x25b)](_0x2a98ff,_0x23d96c){const _0xf6bad6=_0x4c80e1;let {text:_0x3addba,color:_0xcc19ac}=_0x23d96c;_0x2a98ff[_0xf6bad6(0xf0)](),_0x2a98ff[_0xf6bad6(0x275)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x1a5aed=_0x2a98ff[_0xf6bad6(0x1dd)](_0x3addba)['width'];if(_0x1fd18d(_0x2a98ff,{'height':0x14,'radius':0x4,'width':Math[_0xf6bad6(0x112)](_0x1a5aed+0x8,0xc8),'fill':_0xcc19ac,'evented':!0x1}),_0x2a98ff[_0xf6bad6(0x8f)]=_0xf6bad6(0x34c),_0x1a5aed>0xc0){let _0x91801f='',_0x4e3c34=0x0;for(let _0x19c68b of _0x3addba){let _0x1d7f15=_0x2a98ff[_0xf6bad6(0x1dd)](_0x19c68b)[_0xf6bad6(0xe3)];if(_0x4e3c34+_0x1d7f15<=0xc0-_0x2a98ff[_0xf6bad6(0x1dd)](_0xf6bad6(0x258))[_0xf6bad6(0xe3)])_0x91801f+=_0x19c68b,_0x4e3c34+=_0x1d7f15;else{_0x91801f+=_0xf6bad6(0x258);break;}}_0x2a98ff[_0xf6bad6(0x2b6)](_0x91801f,0x4,0xf);}else _0x2a98ff['fillText'](_0x3addba,0x4,0xf);_0x2a98ff['restore']();}['_draw'](_0x2f2094){const _0x5400dd=_0x4c80e1;_0xd607a5[_0x5400dd(0x25b)](_0x2f2094,this);}};let _0x588aad=_0x4c80e1(0xbb);var _0x38e0d4=class{constructor(_0x5ce42e,_0x3ffd5c,_0x217df4,_0x4ac807){const _0xc033a1=_0x4c80e1;this[_0xc033a1(0x11f)]=_0x5ce42e,this['_scene']=_0x3ffd5c,this[_0xc033a1(0x351)]=_0x217df4,this['_document']=_0x4ac807,_0x2f9172(this,_0xc033a1(0x1e1),[]),_0x2f9172(this,'_anchor',null),_0x2f9172(this,_0xc033a1(0xf4),null),_0x2f9172(this,_0xc033a1(0x23f),null),_0x2f9172(this,'_hideTimer',null),_0x2f9172(this,_0xc033a1(0x23b),null),this[_0xc033a1(0x11d)]();}set[_0x4c80e1(0x2b7)](_0x2d6292){const _0x29260e=_0x4c80e1;_0x2d6292?(this[_0x29260e(0x23f)]&&this['_anchorDot'][_0x29260e(0x1b6)](),this[_0x29260e(0xf4)]&&this[_0x29260e(0xf4)][_0x29260e(0x35b)]()):(this[_0x29260e(0x23f)]&&this[_0x29260e(0x23f)][_0x29260e(0x35b)](),this[_0x29260e(0xf4)]&&this[_0x29260e(0xf4)]['hide']());}['dispose'](){const _0x3aa30f=_0x4c80e1;for(let _0x139441 of this[_0x3aa30f(0x1e1)])_0x139441[_0x3aa30f(0xe1)]();this['_textBubble']&&this[_0x3aa30f(0xf4)]['dispose'](),this[_0x3aa30f(0x23f)]&&this[_0x3aa30f(0x23f)][_0x3aa30f(0xe1)](),this[_0x3aa30f(0x310)]&&this[_0x3aa30f(0x310)][_0x3aa30f(0xe1)](),this[_0x3aa30f(0x23b)]&&this[_0x3aa30f(0x23b)]();}[_0x4c80e1(0x11d)](){const _0x1941d5=_0x4c80e1;let {_docSkeleton:_0x31fbbd,_document:_0x7a6ffb}=this,{color:_0x1fab7f,name:_0x521d83,ranges:_0x2e6e43}=this['_cursor'],_0x281603=_0x7a6ffb[_0x1941d5(0xf9)](),{docsLeft:_0x2b8be6,docsTop:_0x42c5b5}=_0x281603,_0x47e36a=new _0x287598[(_0x1941d5(0xc3))](_0x281603,_0x31fbbd);for(let {startOffset:_0x4927d,endOffset:_0x5600df,rangeType:_0x38b16,segmentId:_0x5b56ed,segmentPage:_0x50a74c,collapsed:_0x12c01c,isActive:_0x2ef710}of _0x2e6e43){let _0x21606f=_0x31fbbd[_0x1941d5(0x91)](_0x4927d,!0x0,_0x5b56ed,_0x50a74c),_0x2643e2=_0x31fbbd[_0x1941d5(0x91)](_0x5600df,!0x0,_0x5b56ed,_0x50a74c);if(_0x2643e2==null&&(_0x2643e2=_0x31fbbd[_0x1941d5(0x91)](_0x5600df-0x1,!0x1,_0x5b56ed,_0x50a74c)),_0x2ef710){let {contentBoxPointGroup:_0x2d3a26}=_0x47e36a[_0x1941d5(0x249)](_0x2643e2,_0x2643e2);if(_0x2d3a26[_0x1941d5(0x292)]===0x0)continue;this[_0x1941d5(0x181)](_0x1fab7f,_0x2d3a26,_0x2b8be6,_0x42c5b5,_0x521d83),this[_0x1941d5(0x23b)]=this[_0x1941d5(0x2c3)]();}if(_0x21606f&&_0x2643e2){if(_0x38b16===_0x45c421[_0x1941d5(0x187)][_0x1941d5(0xc9)]){var _0x35cf4e;let {pointGroup:_0x27faf7}=(_0x35cf4e=new _0x287598[(_0x1941d5(0x2f2))](_0x281603,_0x31fbbd)[_0x1941d5(0x249)](_0x21606f,_0x2643e2))==null?{}:_0x35cf4e;if(_0x27faf7==null||_0x27faf7[_0x1941d5(0x292)]===0x0)continue;this[_0x1941d5(0x87)](_0x1fab7f,_0x27faf7,_0x2b8be6,_0x42c5b5);}else{if(!_0x12c01c){let {borderBoxPointGroup:_0x372368}=_0x47e36a['getRangePointData'](_0x21606f,_0x2643e2);if(_0x372368[_0x1941d5(0x292)]===0x0)continue;this['_drawTextRange'](_0x1fab7f,_0x372368,_0x2b8be6,_0x42c5b5);}}}}}[_0x4c80e1(0x181)](_0x5ecaa,_0x232428,_0x526690,_0x5c6bd1,_0x42c728){const _0x6a230c=_0x4c80e1;let {left:_0x33f61b,top:_0x37bb4c,height:_0x3c739b}=this[_0x6a230c(0x24b)](_0x232428),_0x24f244=1.5/this[_0x6a230c(0x2e3)](),_0x2b56ce=new _0x5842f2['Rect'](_0x588aad+(0x0,_0x45c421[_0x6a230c(0xf3)])(0x6),{'left':_0x33f61b+_0x526690-_0x24f244,'top':_0x37bb4c+_0x5c6bd1,'height':_0x3c739b,'width':1.5,'fill':_0x5ecaa||(0x0,_0x5842f2['getColor'])(_0x45c421[_0x6a230c(0x21c)][_0x6a230c(0x170)],0x0),'strokeWidth':_0x24f244,'stroke':_0x6a230c(0x15e),'evented':!0x0});this['_anchor']=_0x2b56ce,this[_0x6a230c(0x1bb)][_0x6a230c(0x354)](_0x2b56ce,_0x287598['TEXT_RANGE_LAYER_INDEX']);let _0x4bc0f4=new _0x5842f2['Rect'](_0x588aad+(0x0,_0x45c421[_0x6a230c(0xf3)])(0x6),{'left':_0x33f61b+_0x526690-_0x24f244,'top':_0x37bb4c+_0x5c6bd1-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x5ecaa||(0x0,_0x5842f2['getColor'])(_0x45c421[_0x6a230c(0x21c)][_0x6a230c(0x170)],0x0),'strokeWidth':0x0,'stroke':_0x5ecaa||(0x0,_0x5842f2[_0x6a230c(0x27a)])(_0x45c421['COLORS'][_0x6a230c(0x170)],0x0),'evented':!0x1});this[_0x6a230c(0x23f)]=_0x4bc0f4,this[_0x6a230c(0x1bb)][_0x6a230c(0x354)](_0x4bc0f4,_0x287598[_0x6a230c(0x1d4)]);let _0x2d3f26=new _0x147932(_0x588aad+(0x0,_0x45c421[_0x6a230c(0xf3)])(0x6),{'left':_0x33f61b+_0x526690-_0x24f244,'top':_0x37bb4c+_0x5c6bd1-0x14,'text':_0x42c728,'color':_0x5ecaa});this['_textBubble']=_0x2d3f26,this['_scene'][_0x6a230c(0x354)](_0x2d3f26,_0x287598[_0x6a230c(0x1d4)]),this['_hover']=!0x1;}[_0x4c80e1(0x2c3)](){const _0x2b5984=_0x4c80e1;let _0x9a55e0=this[_0x2b5984(0x310)][_0x2b5984(0x34e)]['subscribeEvent'](()=>{const _0x48dd6a=_0x2b5984;this[_0x48dd6a(0x2b7)]=!0x0;}),_0x22488a=this[_0x2b5984(0x310)]['onPointerLeave$'][_0x2b5984(0xd1)](()=>{const _0x2131bf=_0x2b5984;this[_0x2131bf(0x350)]&&clearTimeout(this[_0x2131bf(0x350)]),this['_hideTimer']=setTimeout(()=>{const _0x3b659b=_0x2131bf;this[_0x3b659b(0x2b7)]=!0x1;},0x7d0);});return()=>{const _0x3c589a=_0x2b5984;_0x9a55e0['unsubscribe'](),_0x22488a[_0x3c589a(0xee)]();};}[_0x4c80e1(0x12b)](_0x4803c4,_0x26ba10,_0x57fd8a,_0x4238b0){const _0x138f4a=_0x4c80e1;let _0x16aa79=0.2,_0x5757f3=new _0x45c421[(_0x138f4a(0x108))](_0x4803c4)[_0x138f4a(0x311)](_0x16aa79)[_0x138f4a(0x2cc)](),_0x29620f=new _0x5842f2[(_0x138f4a(0x14a))](_0x138f4a(0x1d2)+(0x0,_0x45c421[_0x138f4a(0xf3)])(0x6),{'pointsGroup':_0x26ba10,'fill':_0x5757f3||(0x0,_0x5842f2[_0x138f4a(0x27a)])(_0x45c421[_0x138f4a(0x21c)][_0x138f4a(0x170)],_0x16aa79),'left':_0x57fd8a,'top':_0x4238b0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x138f4a(0x1e1)][_0x138f4a(0x2fa)](_0x29620f),this[_0x138f4a(0x1bb)][_0x138f4a(0x354)](_0x29620f,_0x287598[_0x138f4a(0x1d4)]);}['_drawRectRange'](_0x1fa35d,_0x2203fa,_0x2517d8,_0xa51071){const _0x4b6bbf=_0x4c80e1;let _0x26e100=0.2,_0x2ec52b=new _0x45c421[(_0x4b6bbf(0x108))](_0x1fa35d)[_0x4b6bbf(0x311)](_0x26e100)[_0x4b6bbf(0x2cc)](),_0x226ba5=new _0x5842f2[(_0x4b6bbf(0x14a))](_0x4b6bbf(0x25c)+(0x0,_0x45c421[_0x4b6bbf(0xf3)])(0x6),{'pointsGroup':_0x2203fa,'fill':_0x2ec52b||(0x0,_0x5842f2[_0x4b6bbf(0x27a)])(_0x45c421[_0x4b6bbf(0x21c)][_0x4b6bbf(0x170)],_0x26e100),'left':_0x2517d8,'top':_0xa51071,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4b6bbf(0x2fa)](_0x226ba5),this[_0x4b6bbf(0x1bb)][_0x4b6bbf(0x354)](_0x226ba5,_0x287598[_0x4b6bbf(0x1d4)]);}['_getAnchorBounding'](_0xe3cb62){let _0x430d7d=_0xe3cb62[0x0],_0x3e5ec6=_0x430d7d[0x0],_0x4cc7c6=_0x430d7d[0x2],{x:_0x1f12d8,y:_0x3a5522}=_0x3e5ec6,{x:_0x253e9b,y:_0x27b0af}=_0x4cc7c6;return{'left':_0x1f12d8,'top':_0x3a5522,'width':_0x253e9b-_0x1f12d8,'height':_0x27b0af-_0x3a5522};}[_0x4c80e1(0x2e3)](){const _0x4859ee=_0x4c80e1;let {scaleX:_0x5afd71,scaleY:_0x29bc81}=this[_0x4859ee(0x1bb)][_0x4859ee(0x11b)]();return Math[_0x4859ee(0x176)](_0x5afd71,_0x29bc81);}};let _0x21ff26=class extends _0x45c421['RxDisposable']{constructor(_0x7d6218,_0x24c6d0,_0x3e8bbe,_0x11b908,_0x2f09f9){const _0x48cab2=_0x4c80e1;super(),this[_0x48cab2(0x339)]=_0x7d6218,this[_0x48cab2(0x2c8)]=_0x24c6d0,this[_0x48cab2(0x188)]=_0x3e8bbe,this[_0x48cab2(0x22b)]=_0x11b908,this['_themeService']=_0x2f09f9,_0x2f9172(this,'_cursorShapes',[]),_0x2f9172(this,_0x48cab2(0x1ea),[]),this['_init']();}[_0x4c80e1(0x10c)](){const _0x7b55f=_0x4c80e1;let _0xe5b1ef=this[_0x7b55f(0x339)][_0x7b55f(0x323)],_0x26393c=this[_0x7b55f(0x2c8)];this[_0x7b55f(0xa2)]((0x0,_0x3ea80a[_0x7b55f(0xc6)])([this[_0x7b55f(0x188)]['getCollabCursors$'](_0xe5b1ef),this[_0x7b55f(0x92)][_0x7b55f(0x2ca)]])['pipe']((0x0,_0x2db485[_0x7b55f(0x255)])(([_0x40558a,_0x54de4d])=>({'skeleton':_0x26393c[_0x7b55f(0x1b3)](),'cursors':[..._0x40558a['values']()][_0x7b55f(0x14f)](_0x4b861d=>({..._0x4b861d,'color':this[_0x7b55f(0x92)][_0x7b55f(0x1f9)](_0x4b861d[_0x7b55f(0x342)])}))})))['subscribe'](_0x57fcd4=>{const _0xfb1eca=_0x7b55f;if(this[_0xfb1eca(0x2c4)](),_0x57fcd4){let {skeleton:_0x39b633,cursors:_0x3fb11b}=_0x57fcd4;this['_updateCollabCursors'](_0x39b633,_0x3fb11b);}})),this[_0x7b55f(0x1f7)](),this[_0x7b55f(0x321)]();}['_updateCollabCursors'](_0x58e12b,_0x1838d2){const _0x4671d2=_0x4c80e1;let {scene:_0x4b82ad,mainComponent:_0x50b03b}=this[_0x4671d2(0x339)],_0x5beef1=_0x1838d2[_0x4671d2(0x255)](_0x1ff666=>new _0x38e0d4(_0x1ff666,_0x4b82ad,_0x58e12b,_0x50b03b));this[_0x4671d2(0xa8)]=_0x5beef1,this[_0x4671d2(0x1ea)]=_0x1838d2;}[_0x4c80e1(0x16f)](){const _0x261bcd=_0x4c80e1;this['_removeCollabCursors']();let {scene:_0x3039e1,mainComponent:_0x3138d8}=this[_0x261bcd(0x339)],_0xc3cd05=this[_0x261bcd(0x2c8)][_0x261bcd(0x1b3)](),_0x43d471=this[_0x261bcd(0x1ea)][_0x261bcd(0x255)](_0xf98316=>new _0x38e0d4(_0xf98316,_0x3039e1,_0xc3cd05,_0x3138d8));this[_0x261bcd(0xa8)]=_0x43d471;}['_removeCollabCursors'](){const _0x4519fe=_0x4c80e1;this['_cursorShapes']['forEach'](_0x17c216=>_0x17c216['dispose']()),this[_0x4519fe(0xa8)]=[];}[_0x4c80e1(0x321)](){const _0x19cb02=_0x4c80e1;let _0x36f919=[_0x287598[_0x19cb02(0xfe)]['id']];this['disposeWithMe'](this[_0x19cb02(0x22b)]['onCommandExecuted'](_0x474c64=>{const _0x3dd7fc=_0x19cb02;_0x36f919['includes'](_0x474c64['id'])&&_0x474c64[_0x3dd7fc(0x325)][_0x3dd7fc(0x323)]===this[_0x3dd7fc(0x339)][_0x3dd7fc(0x323)]&&this[_0x3dd7fc(0x16f)]();}));}[_0x4c80e1(0x1f7)](){const _0x2ec893=_0x4c80e1;this[_0x2ec893(0xa2)]((0x0,_0x45c421['fromEventSubject'])(this[_0x2ec893(0x339)][_0x2ec893(0x1e2)][_0x2ec893(0x211)])[_0x2ec893(0x123)]((0x0,_0x2db485[_0x2ec893(0x2f5)])(_0x3b3e6e=>_0x3b3e6e[_0x2ec893(0x223)]===_0x5842f2[_0x2ec893(0x209)][_0x2ec893(0x162)]),(0x0,_0x2db485[_0x2ec893(0x1d3)])(0x10))[_0x2ec893(0x1e5)](()=>{const _0x199ac5=_0x2ec893;this[_0x199ac5(0x16f)]();}));}};_0x21ff26=_0x5d52c5([_0x2e6e37(0x1,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x15aabe[_0x4c80e1(0xfa)])),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x281315)),_0x2e6e37(0x3,_0x45c421['ICommandService']),_0x2e6e37(0x4,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421['ThemeService']))],_0x21ff26);var _0x41018e=class extends _0x5842f2['Shape']{constructor(_0x3bd199,_0x3ca29e){const _0x48193e=_0x4c80e1;if(super(_0x3bd199,_0x3ca29e),_0x2f9172(this,_0x48193e(0x320),void 0x0),_0x2f9172(this,'_hovered',!0x1),_0x2f9172(this,'_range',void 0x0),_0x2f9172(this,'_name',''),_0x2f9172(this,_0x48193e(0x1c0),'top'),_0x2f9172(this,'_backgroundColor',void 0x0),_0x2f9172(this,_0x48193e(0x95),void 0x0),_0x2f9172(this,_0x48193e(0xfd),void 0x0),_0x2f9172(this,'_highlightSecond',0x4),_0x2f9172(this,_0x48193e(0x1a1),void 0x0),_0x2f9172(this,_0x48193e(0x90),void 0x0),_0x2f9172(this,_0x48193e(0x157),!0x0),_0x2f9172(this,'_offsetY',0x0),_0x3ca29e){var _0x1ff87e;if(this[_0x48193e(0x32c)](_0x3ca29e),_0x3ca29e[_0x48193e(0x2e5)]&&((_0x1ff87e=_0x3ca29e['highlightSecond'])==null?this['_highlightSecond']:_0x1ff87e)){var _0x4a51bf;this[_0x48193e(0x357)]((_0x4a51bf=_0x3ca29e[_0x48193e(0x346)])==null?this[_0x48193e(0x192)]:_0x4a51bf);}}this[_0x48193e(0x34e)][_0x48193e(0xd1)](()=>this[_0x48193e(0x32c)]({'hovered':!0x0})),this[_0x48193e(0xe7)][_0x48193e(0xd1)](()=>this[_0x48193e(0x32c)]({'hovered':!0x1}));}[_0x4c80e1(0x243)](_0x5519c5){const _0x50fdcf=_0x4c80e1;this[_0x50fdcf(0xd8)]=_0x5519c5;}['setShapeProps'](_0x5b9bf3){const _0x4f9695=_0x4c80e1;var _0x1e9b05,_0x5b7be4,_0x9ee159,_0x606512,_0x55b21f,_0x59332c,_0x2efe63;this[_0x4f9695(0x320)]=(_0x1e9b05=_0x5b9bf3[_0x4f9695(0x342)])==null?this['_color']:_0x1e9b05,this[_0x4f9695(0x319)]=(_0x5b7be4=_0x5b9bf3['hovered'])==null?this[_0x4f9695(0x319)]:_0x5b7be4,this[_0x4f9695(0x20b)]=(_0x9ee159=_0x5b9bf3[_0x4f9695(0x13d)])==null?this['_range']:_0x9ee159,this['_name']=(_0x606512=_0x5b9bf3[_0x4f9695(0x297)])==null?this[_0x4f9695(0x204)]:_0x606512,this['_labelPosition']=(_0x55b21f=_0x5b9bf3[_0x4f9695(0x21f)])==null?this['_labelPosition']:_0x55b21f,this[_0x4f9695(0x314)]=(_0x59332c=_0x5b9bf3['backgroundColor'])==null?this[_0x4f9695(0x314)]:_0x59332c,this['_showText']=(_0x2efe63=_0x5b9bf3['showText'])==null?this['_showText']:_0x2efe63,_0x5b9bf3[_0x4f9695(0x346)]!==void 0x0&&(this['_highlightSecond']=_0x5b9bf3[_0x4f9695(0x346)]),_0x5b9bf3[_0x4f9695(0x2e5)]!==void 0x0&&(this[_0x4f9695(0xfd)]=_0x5b9bf3[_0x4f9695(0x2e5)]),_0x5b9bf3[_0x4f9695(0x13e)]!==void 0x0&&(this[_0x4f9695(0xd8)]=_0x5b9bf3[_0x4f9695(0x13e)]),this['transformByState']({'width':_0x5b9bf3[_0x4f9695(0xe3)],'height':_0x5b9bf3[_0x4f9695(0x2ee)]});}['onMouseMove'](_0xf6bee7){const _0x15c00c=_0x4c80e1;let {row:_0x48aacc,column:_0x2e11d6}=_0xf6bee7;if(_0x48aacc>=this[_0x15c00c(0x20b)][_0x15c00c(0x144)]&&_0x48aacc<=this[_0x15c00c(0x20b)][_0x15c00c(0x17d)]&&_0x2e11d6>=this[_0x15c00c(0x20b)][_0x15c00c(0x196)]&&_0x2e11d6<=this[_0x15c00c(0x20b)][_0x15c00c(0x1df)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x15c00c(0x32c)]({'hovered':!0x1});}[_0x4c80e1(0x357)](_0x2560ba){const _0x11db67=_0x4c80e1;this[_0x11db67(0x2a8)](),this[_0x11db67(0x157)]=!0x0,this[_0x11db67(0x90)]=window[_0x11db67(0x100)](()=>{const _0x32e796=_0x11db67;this[_0x32e796(0x157)]=!this['_isBlinkVisible'],this[_0x32e796(0x1fd)](!0x0);},0x1f4),this['_blinkTimer']=window[_0x11db67(0x189)](()=>{const _0x4f9aac=_0x11db67;this[_0x4f9aac(0x2a8)](),this[_0x4f9aac(0x157)]=!0x0,this['makeDirty'](!0x0);},_0x2560ba*0x3e8);}[_0x4c80e1(0x2a8)](){const _0x4a2d6d=_0x4c80e1;this[_0x4a2d6d(0x90)]&&(window['clearInterval'](this[_0x4a2d6d(0x90)]),this['_blinkIntervalTimer']=void 0x0),this[_0x4a2d6d(0x1a1)]&&(window[_0x4a2d6d(0x207)](this[_0x4a2d6d(0x1a1)]),this[_0x4a2d6d(0x1a1)]=void 0x0);}['triggerDblclick'](_0x5f2351){return!0x1;}['dispose'](){const _0x347553=_0x4c80e1;this[_0x347553(0x2a8)](),super['dispose']();}[_0x4c80e1(0x1da)](_0x4bf345){const _0x1ee717=_0x4c80e1;let _0x323510=this[_0x1ee717(0x320)],_0x1ec4f7=this[_0x1ee717(0x314)];if(this['_highlight']&&!this['_isBlinkVisible']&&(_0x323510=this[_0x1ee717(0x308)](this[_0x1ee717(0x320)]),_0x1ec4f7=this['_backgroundColor']?this['_getLighterColor'](this['_backgroundColor']):void 0x0),_0x5842f2['Rect'][_0x1ee717(0x25b)](_0x4bf345,{'width':this[_0x1ee717(0xe3)],'height':this[_0x1ee717(0x2ee)],'strokeWidth':this[_0x1ee717(0xbf)]||1.5,'stroke':_0x323510,'evented':!0x1,'fill':_0x1ec4f7}),this['_hovered']||this['_showText']){var _0x1f6b58;_0x4bf345[_0x1ee717(0xf0)](),_0x4bf345['transform'](0x1,0x0,0x0,0x1,this['width'],(this['_labelPosition']===_0x1ee717(0x1af)?0x0:-0x14)+((_0x1f6b58=this[_0x1ee717(0xd8)])==null?0x0:_0x1f6b58)),_0x147932[_0x1ee717(0x25b)](_0x4bf345,{'text':this[_0x1ee717(0x204)],'color':_0x323510}),_0x4bf345['restore']();}}[_0x4c80e1(0x308)](_0x506610){const _0xfe5706=_0x4c80e1;return _0x506610[_0xfe5706(0x2c0)]('#')?_0xfe5706(0x31e)+Number[_0xfe5706(0x1ba)](_0x506610['slice'](0x1,0x3),0x10)+',\x20'+Number[_0xfe5706(0x1ba)](_0x506610[_0xfe5706(0x1f0)](0x3,0x5),0x10)+',\x20'+Number[_0xfe5706(0x1ba)](_0x506610[_0xfe5706(0x1f0)](0x5,0x7),0x10)+_0xfe5706(0x1aa):_0x506610[_0xfe5706(0x2c0)](_0xfe5706(0x2d0))?_0x506610[_0xfe5706(0x283)](/[\d.]+\)$/g,'0.2)'):_0x506610[_0xfe5706(0x2c0)]('rgb')?_0x506610['replace'](_0xfe5706(0x31f),_0xfe5706(0x2d0))[_0xfe5706(0x283)](')',_0xfe5706(0x1aa)):_0x506610;}};let _0x75436b=class extends _0x45c421['RxDisposable']{constructor(_0x1c27fb,_0x16681c,_0x3823ea,_0x58ed00){const _0x4278c5=_0x4c80e1;super(),this['_context']=_0x1c27fb,this[_0x4278c5(0x34a)]=_0x16681c,this[_0x4278c5(0x188)]=_0x3823ea,this[_0x4278c5(0x92)]=_0x58ed00,_0x2f9172(this,_0x4278c5(0x1ea),new Set()),_0x2f9172(this,_0x4278c5(0x135),null),this[_0x4278c5(0x10c)]();}[_0x4c80e1(0x10c)](){const _0x22ef38=_0x4c80e1;this[_0x22ef38(0x34a)]['currentSkeleton$']['pipe']((0x0,_0x2db485[_0x22ef38(0x287)])(this[_0x22ef38(0x1a8)]),(0x0,_0x2db485[_0x22ef38(0xe4)])(_0x529028=>{const _0x2860f6=_0x22ef38;if(_0x529028){let _0x2e17f5=_0x529028[_0x2860f6(0x2a1)];return(0x0,_0x3ea80a[_0x2860f6(0xc6)])(this['_collabCursorController'][_0x2860f6(0x2af)](this[_0x2860f6(0x339)]['unitId']),this[_0x2860f6(0x92)][_0x2860f6(0x2ca)])[_0x2860f6(0x123)]((0x0,_0x2db485[_0x2860f6(0x255)])(([_0x42f033,_0x52e62f])=>{let _0x39c664=new Map();return _0x42f033['forEach']((_0x4e19b3,_0x2a2bf5)=>{const _0x2a8c46=_0x2e69;if(_0x4e19b3['sheetID']===_0x2e17f5){let _0x5f5a6b={..._0x4e19b3};_0x5f5a6b[_0x2a8c46(0x342)]=this['_themeService'][_0x2a8c46(0x1f9)](_0x4e19b3[_0x2a8c46(0x342)]),_0x39c664[_0x2a8c46(0x22d)](_0x2a2bf5,_0x5f5a6b);}}),{'skeleton':_0x529028,'cursors':_0x39c664};}));}return(0x0,_0x3ea80a['of'])({'skeleton':null,'cursors':new Map()});}))[_0x22ef38(0x1e5)](({skeleton:_0x23e47a,cursors:_0x4632b8})=>{const _0x831985=_0x22ef38;this[_0x831985(0x2c4)](),_0x23e47a&&this['_updateCollabCursors'](_0x23e47a,_0x4632b8);}),this[_0x22ef38(0x34a)][_0x22ef38(0x124)][_0x22ef38(0x1e5)](_0x533481=>{const _0x373709=_0x22ef38;if(_0x533481==null)return;let {skeleton:_0x111408}=_0x533481,{scene:_0x202a4d}=this['_context'];_0x202a4d['onPointerMove$'][_0x373709(0xd1)]((0x0,_0x45c421[_0x373709(0x206)])(_0x294bc0=>{const _0x186e60=_0x373709;var _0x9f4513,_0x55599f;let {offsetX:_0x1fc65f,offsetY:_0x5c4e8f}=_0x294bc0,{x:_0x56d4fa,y:_0x12c065}=_0x202a4d[_0x186e60(0xfb)](_0x5842f2[_0x186e60(0x261)][_0x186e60(0x115)]([_0x1fc65f,_0x5c4e8f])),{scaleX:_0x18b5b7,scaleY:_0x2dfe84}=_0x202a4d[_0x186e60(0x11b)](),_0x125402=_0x202a4d['getViewport'](_0x5842f2[_0x186e60(0x2d3)]['VIEW_MAIN']),_0x510923=_0x202a4d[_0x186e60(0x145)](_0x5842f2[_0x186e60(0x261)][_0x186e60(0x115)]([_0x56d4fa,_0x12c065]),_0x125402),_0x57b530=_0x111408['getCellPositionByOffset'](_0x1fc65f,_0x5c4e8f,_0x18b5b7,_0x2dfe84,_0x510923);((_0x9f4513=this['_lastPointer'])==null?void 0x0:_0x9f4513['column'])===_0x57b530['column']&&((_0x55599f=this[_0x186e60(0x135)])==null?void 0x0:_0x55599f['row'])===_0x57b530[_0x186e60(0x281)]||this[_0x186e60(0x1ea)][_0x186e60(0x1a9)](_0x21d270=>{const _0x397d3d=_0x186e60;_0x21d270[_0x397d3d(0x2a0)](_0x57b530);});},0x64));});}[_0x4c80e1(0x295)](_0x491818,_0x107efd){const _0x4a13b5=_0x4c80e1;let _0x4fbb8d=this[_0x4a13b5(0x34a)][_0x4a13b5(0x174)]();if(!_0x4fbb8d)return;let _0xff1e5d=this['_getSheetObject']();if(!_0xff1e5d)return;this[_0x4a13b5(0x1ea)][_0x4a13b5(0x1a9)](_0x4cb49b=>{const _0x114b1e=_0x4a13b5;_0x4cb49b[_0x114b1e(0x1fd)]();});let {scene:_0x2e0031}=_0xff1e5d,_0x28c7d0=_0x22f731(Array[_0x4a13b5(0x158)](_0x107efd['values']()))[_0x4a13b5(0x255)](_0xd01bc1=>{const _0x1bfa8b=_0x4a13b5;let {color:_0x7e2f7d,range:_0x4e9271,name:_0xeddbe,selection:_0x5d8f24,sheetID:_0x2416ca}=_0xd01bc1,{startColumn:_0x254a5a,startRow:_0x24afc3,endColumn:_0x26213b,endRow:_0x1356e6}=_0x4e9271,_0x117da2=(0x0,_0x41226a[_0x1bfa8b(0x193)])(_0x24afc3,_0x254a5a,_0x2e0031,_0x4fbb8d),_0x3d90d9=(0x0,_0x41226a[_0x1bfa8b(0x193)])(_0x1356e6,_0x26213b,_0x2e0031,_0x4fbb8d),{columnHeaderHeightAndMarginTop:_0x5e2503}=_0x4fbb8d,{startX:_0x1f6b66,startY:_0x1b3a41}=_0x117da2,{endX:_0x272d6c,endY:_0xa82c91}=_0x3d90d9,_0x3f629d=_0x272d6c-_0x1f6b66,_0x418453=_0xa82c91-_0x1b3a41;return new _0x41018e(_0xeddbe,{'labelPosition':_0x1b3a41-_0x5e2503>=0x14?_0x1bfa8b(0x120):_0x1bfa8b(0x1af),'sheetID':_0x2416ca,'range':_0x4e9271,'color':_0x7e2f7d,'name':_0xeddbe,'selection':_0x5d8f24,'left':_0x1f6b66,'top':_0x1b3a41,'width':_0x3f629d,'height':_0x418453,'evented':!0x1,'zIndex':0x1389});});_0x2e0031[_0x4a13b5(0x2d7)](_0x28c7d0,0x1),this[_0x4a13b5(0x1ea)]=new Set(_0x28c7d0);}[_0x4c80e1(0x2c4)](){const _0xb27c1e=_0x4c80e1;var _0x26e989;(_0x26e989=this['_cursors'])==null||_0x26e989['forEach'](_0x1dfe80=>_0x1dfe80[_0xb27c1e(0xe1)]());}['_getSheetObject'](){const _0x2fc70c=_0x4c80e1;return(0x0,_0x41226a[_0x2fc70c(0x25e)])(this[_0x2fc70c(0x339)][_0x2fc70c(0x1c1)],this[_0x2fc70c(0x339)]);}};_0x75436b=_0x5d52c5([_0x2e6e37(0x1,(0x0,_0x45c421['Inject'])(_0x41226a[_0x4c80e1(0x313)])),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x281315)),_0x2e6e37(0x3,(0x0,_0x45c421['Inject'])(_0x45c421['ThemeService']))],_0x75436b);function _0x22f731(_0x564f1f){const _0x3b50bc=_0x4c80e1;let _0x475802=new Map();return _0x564f1f[_0x3b50bc(0x1a9)](_0x320c7d=>{const _0xaabeab=_0x3b50bc;if(_0x475802[_0xaabeab(0x33d)](_0x320c7d[_0xaabeab(0x96)])){let _0x39cf1c=_0x475802['get'](_0x320c7d['selection']);_0x39cf1c[_0xaabeab(0x297)]+=',\x20'+_0x320c7d['name'];}else _0x475802[_0xaabeab(0x22d)](_0x320c7d[_0xaabeab(0x96)],_0x320c7d);}),Array[_0x3b50bc(0x158)](_0x475802[_0x3b50bc(0xcf)]());}let _0x406c70=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(_0xb30f1c,_0x2f0a09,_0x45c56a,_0x5e1c33,_0x211779,_0x27c698){const _0x491011=_0x4c80e1;super(),this[_0x491011(0x134)]=_0xb30f1c,this['_localCacheService']=_0x2f0a09,this[_0x491011(0x16e)]=_0x45c56a,this[_0x491011(0x29c)]=_0x5e1c33,this[_0x491011(0x165)]=_0x211779,this[_0x491011(0x182)]=_0x27c698,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x4c80e1(0x264)](){const _0xdb5394=_0x4c80e1;this[_0xdb5394(0xa2)](this[_0xdb5394(0x134)][_0xdb5394(0x2dd)](()=>{const _0x1b8d3a=_0xdb5394;if(this[_0x1b8d3a(0x2ae)][_0x1b8d3a(0x2d5)]['size'])return this[_0x1b8d3a(0x182)]['t']('collaboration.offline-data-not-saved');}));}[_0x4c80e1(0x27c)](){const _0x2ae719=_0x4c80e1;this[_0x2ae719(0xa2)](this[_0x2ae719(0x16e)]['event$'][_0x2ae719(0x1e5)](_0x215a96=>{const _0x3c0618=_0x2ae719;_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)][_0x3c0618(0x1c5)]&&this['_messageService'][_0x3c0618(0x35b)]({'type':_0x1a0a02['MessageType'][_0x3c0618(0x161)],'content':this[_0x3c0618(0x182)]['t'](_0x3c0618(0x12c))}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)][_0x3c0618(0x118)]&&this[_0x3c0618(0x29c)][_0x3c0618(0x35b)]({'type':_0x1a0a02[_0x3c0618(0x2ea)][_0x3c0618(0x161)],'content':this[_0x3c0618(0x182)]['t'](_0x3c0618(0xc5))}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)][_0x3c0618(0x110)]&&this[_0x3c0618(0x165)][_0x3c0618(0x35b)]({'title':this[_0x3c0618(0x182)]['t'](_0x3c0618(0x1fb)),'content':this[_0x3c0618(0x182)]['t'](_0x3c0618(0x17a)),'type':'error','duration':0x0}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)][_0x3c0618(0x35e)]&&this['_messageService'][_0x3c0618(0x35b)]({'type':_0x1a0a02[_0x3c0618(0x2ea)]['Error'],'content':this[_0x3c0618(0x182)]['t']('collaboration.closeRoom')+'('+_0x215a96[_0x3c0618(0x274)]+')'}),_0x215a96['id']===_0x1e6a94['CollaborationUIEventId'][_0x3c0618(0x11e)]&&this[_0x3c0618(0x29c)]['show']({'type':_0x1a0a02[_0x3c0618(0x2ea)][_0x3c0618(0x161)],'content':this[_0x3c0618(0x182)]['t'](_0x215a96[_0x3c0618(0x274)]||'')}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)]['SOCKET_FAILED_RETRY']&&this[_0x3c0618(0x29c)][_0x3c0618(0x35b)]({'type':_0x1a0a02[_0x3c0618(0x2ea)]['Warning'],'content':this[_0x3c0618(0x182)]['t']('session.will-retry')}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)]['SOCKET_FAILED']&&this[_0x3c0618(0x29c)][_0x3c0618(0x35b)]({'type':_0x1a0a02[_0x3c0618(0x2ea)]['Error'],'content':this[_0x3c0618(0x182)]['t'](_0x3c0618(0x1e9))}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3c0618(0x29c)]['show']({'type':_0x1a0a02[_0x3c0618(0x2ea)][_0x3c0618(0x152)],'content':this[_0x3c0618(0x182)]['t']('session.collaboration-timeout')});}));}};_0x406c70=_0x5d52c5([_0x2e6e37(0x0,_0xfff774[_0x4c80e1(0x105)]),_0x2e6e37(0x1,_0x1e6a94[_0x4c80e1(0x356)]),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x1e6a94[_0x4c80e1(0x239)])),_0x2e6e37(0x3,_0xfff774[_0x4c80e1(0x12e)]),_0x2e6e37(0x4,_0xfff774['INotificationService']),_0x2e6e37(0x5,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421['LocaleService']))],_0x406c70);let _0x561942=_0x4c80e1(0x167);Symbol(_0x561942);let _0x2858d3={},_0x2057a2=class{constructor(_0x30c4d7,_0x222a1b){this['_transformService']=_0x30c4d7,this['_renderManagerService']=_0x222a1b;}['transformIMECache'](_0x5e1120){const _0x2374f5=_0x4c80e1;this[_0x2374f5(0xd6)](_0x5e1120),this[_0x2374f5(0x131)](_0x5e1120);}[_0x4c80e1(0x15c)](_0x839648){const _0x1e39f4=_0x4c80e1;let {unitID:_0x4c3222}=_0x839648,{redoCache:_0x3d998f}=this[_0x1e39f4(0xc0)]['getRenderById'](_0x4c3222)[_0x1e39f4(0xaa)](_0x287598[_0x1e39f4(0x309)])[_0x1e39f4(0x2f3)]();if(_0x3d998f['length']===0x0)return _0x839648;let _0x271be8=_0x45c421[_0x1e39f4(0x2ec)][_0x1e39f4(0x279)](_0x839648['mutations'][0x0]);for(let _0x29254f=0x0;_0x29254f<_0x3d998f[_0x1e39f4(0x292)];_0x29254f++){let _0x3ec9d1={'id':_0x1e39f4(0x1a7),'params':{..._0x3d998f[_0x29254f]}},_0x6e4db8=this['_transformService'][_0x1e39f4(0x15f)](_0x271be8,_0x3ec9d1,!0x1);if((0x0,_0x663956[_0x1e39f4(0x2d9)])(_0x6e4db8))throw _0x6e4db8[_0x1e39f4(0x169)];_0x271be8=_0x6e4db8[_0x1e39f4(0x1f8)];}return{..._0x45c421[_0x1e39f4(0x2ec)]['deepClone'](_0x839648),'mutations':[_0x271be8]};}['_transformUndoRedoStack'](_0x1c7750){const _0x390cc4=_0x4c80e1;let {unitID:_0xfc3c3f}=_0x1c7750,_0x42d2aa=this[_0x390cc4(0xc0)]['getRenderById'](_0xfc3c3f)[_0x390cc4(0xaa)](_0x287598['DocIMEInputManagerService']),{undoCache:_0x2f2e46,redoCache:_0x224895}=_0x42d2aa[_0x390cc4(0x2f3)]();if(_0x2f2e46[_0x390cc4(0x292)]===0x0||_0x224895['length']===0x0)return;let _0x163c20=[],_0x3598d8=[],_0x38bbdf=_0x45c421[_0x390cc4(0x2ec)][_0x390cc4(0x279)](_0x1c7750['mutations'][0x0]),_0x2e69ca=_0x45c421[_0x390cc4(0x2ec)][_0x390cc4(0x279)](_0x1c7750[_0x390cc4(0x178)][0x0]);for(let _0x2430f3=_0x2f2e46[_0x390cc4(0x292)]-0x1;_0x2430f3>=0x0;_0x2430f3--){let _0x187e25={'id':'doc.mutation.rich-text-editing','params':{..._0x2f2e46[_0x2430f3]}},_0x212692={'id':_0x390cc4(0x1a7),'params':{..._0x224895[_0x2430f3]}},_0x17e5d2=this[_0x390cc4(0x343)][_0x390cc4(0x15f)](_0x38bbdf,_0x187e25,!0x1),_0x5879d2=this[_0x390cc4(0x343)]['transformMutation'](_0x2e69ca,_0x212692,!0x1);if((0x0,_0x663956['isTransformMutationFailure'])(_0x17e5d2))throw _0x17e5d2[_0x390cc4(0x169)];if((0x0,_0x663956['isTransformMutationFailure'])(_0x5879d2))throw _0x5879d2['error'];_0x163c20[_0x390cc4(0x214)](_0x17e5d2[_0x390cc4(0x353)][_0x390cc4(0x325)]),_0x3598d8[_0x390cc4(0x214)](_0x5879d2[_0x390cc4(0x353)]['params']),_0x38bbdf=_0x17e5d2['m1Prime'],_0x2e69ca=_0x5879d2['m1Prime'];}_0x42d2aa[_0x390cc4(0x26a)]({'undoCache':_0x163c20,'redoCache':_0x3598d8});}['_transformPreviousActiveRange'](_0x31afcb){const _0x55bc8b=_0x4c80e1;let {unitID:_0x5737cc}=_0x31afcb,_0x424ac0=this['_renderManagerService']['getRenderById'](_0x5737cc)[_0x55bc8b(0xaa)](_0x287598[_0x55bc8b(0x309)]),_0x1ca0a5=_0x424ac0[_0x55bc8b(0x2ad)]();if(_0x1ca0a5==null)return;let _0x2d6b1a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31afcb[_0x55bc8b(0x19c)],'actions':null,'textRanges':[_0x1ca0a5]}}],_0x1f0d76=this['_transformService'][_0x55bc8b(0x1ee)](_0x31afcb,_0x2d6b1a);if(!(0x0,_0x663956[_0x55bc8b(0x2c5)])(_0x1f0d76))throw _0x1f0d76['error'];let _0x2737ad=_0x1f0d76[_0x55bc8b(0x353)][0x0][_0x55bc8b(0x325)][_0x55bc8b(0x172)];Array['isArray'](_0x2737ad)&&_0x2737ad['length']&&_0x424ac0[_0x55bc8b(0x10e)](_0x2737ad[0x0]);}};_0x2057a2=_0x5d52c5([_0x2e6e37(0x0,_0x663956['ITransformService']),_0x2e6e37(0x1,_0x5842f2[_0x4c80e1(0x163)])],_0x2057a2);let _0x313b03=class{constructor(_0x573175,_0xcc3171,_0xf4e3c7){const _0x4fe2a3=_0x4c80e1;this[_0x4fe2a3(0x2f6)]=_0x573175,this[_0x4fe2a3(0x343)]=_0xcc3171,this['_docStateChangeManagerService']=_0xf4e3c7;}[_0x4c80e1(0x1ef)](_0x375a55){const _0x572e1d=_0x4c80e1;this[_0x572e1d(0x221)](_0x375a55);}[_0x4c80e1(0x15c)](_0x427b76){const _0x1565d7=_0x4c80e1;let {unitID:_0x4398bb}=_0x427b76,{collaboration:_0x41f234}=this[_0x1565d7(0x35c)][_0x1565d7(0x2a6)](_0x4398bb);if(_0x41f234[_0x1565d7(0x292)]===0x0)return _0x427b76;let _0x18ba16=_0x45c421['Tools'][_0x1565d7(0x279)](_0x427b76[_0x1565d7(0x178)][0x0]);for(let _0x537fe6=0x0;_0x537fe6<_0x41f234[_0x1565d7(0x292)];_0x537fe6++){let _0x323a6={'id':_0x1565d7(0x1a7),'params':{'unitId':_0x41f234[_0x537fe6]['unitId'],..._0x41f234[_0x537fe6]['redoState']}},_0x99b396=this[_0x1565d7(0x343)][_0x1565d7(0x15f)](_0x18ba16,_0x323a6,!0x1);if((0x0,_0x663956['isTransformMutationFailure'])(_0x99b396))throw _0x99b396[_0x1565d7(0x169)];_0x18ba16=_0x99b396['m1Prime'];}return{..._0x45c421[_0x1565d7(0x2ec)][_0x1565d7(0x279)](_0x427b76),'mutations':[_0x18ba16]};}[_0x4c80e1(0x221)](_0x2035f3){const _0x562345=_0x4c80e1;let {unitID:_0x45e16a}=_0x2035f3,{history:_0x1018bd,collaboration:_0xa41541}=this[_0x562345(0x35c)]['getStateCache'](_0x45e16a);if(_0x1018bd[_0x562345(0x292)]===0x0&&_0xa41541['length']===0x0)return;let _0x36cc7d=[],_0x4d2333=[],_0x4c8ecb=_0x45c421[_0x562345(0x2ec)][_0x562345(0x279)](_0x2035f3['mutations'][0x0]),_0x123ec8=_0x45c421[_0x562345(0x2ec)][_0x562345(0x279)](_0x2035f3[_0x562345(0x178)][0x0]);for(let _0xedb80c=_0x1018bd['length']-0x1;_0xedb80c>=0x0;_0xedb80c--){let _0x2bd375={'id':_0x562345(0x1a7),'params':{'unitId':_0x1018bd[_0xedb80c][_0x562345(0x323)],..._0x1018bd[_0xedb80c][_0x562345(0x277)]}},_0x2141aa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1018bd[_0xedb80c][_0x562345(0x323)],..._0x1018bd[_0xedb80c]['redoState']}},_0x2a6f64=this[_0x562345(0x343)][_0x562345(0x15f)](_0x4c8ecb,_0x2bd375,!0x1),_0x1bebdc=this[_0x562345(0x343)][_0x562345(0x15f)](_0x123ec8,_0x2141aa,!0x1);if((0x0,_0x663956['isTransformMutationFailure'])(_0x2a6f64))throw _0x2a6f64[_0x562345(0x169)];if((0x0,_0x663956[_0x562345(0x2d9)])(_0x1bebdc))throw _0x1bebdc['error'];_0x36cc7d['unshift']({..._0x1018bd[_0xedb80c],'undoState':_0x2a6f64[_0x562345(0x353)][_0x562345(0x325)],'redoState':_0x1bebdc[_0x562345(0x353)]['params']}),_0x4c8ecb=_0x2a6f64[_0x562345(0x1f8)],_0x123ec8=_0x1bebdc[_0x562345(0x1f8)];}_0x4c8ecb=_0x45c421[_0x562345(0x2ec)][_0x562345(0x279)](_0x2035f3[_0x562345(0x178)][0x0]),_0x123ec8=_0x45c421[_0x562345(0x2ec)][_0x562345(0x279)](_0x2035f3[_0x562345(0x178)][0x0]);for(let _0x2fab62=_0xa41541['length']-0x1;_0x2fab62>=0x0;_0x2fab62--){let _0x24e5c7={'id':_0x562345(0x1a7),'params':{'unitId':_0xa41541[_0x2fab62][_0x562345(0x323)],..._0xa41541[_0x2fab62]['undoState']}},_0x1c9374={'id':_0x562345(0x1a7),'params':{'unitId':_0xa41541[_0x2fab62][_0x562345(0x323)],..._0xa41541[_0x2fab62]['redoState']}},_0x977e6d=this[_0x562345(0x343)][_0x562345(0x15f)](_0x4c8ecb,_0x24e5c7,!0x1),_0x1a7fe6=this[_0x562345(0x343)][_0x562345(0x15f)](_0x123ec8,_0x1c9374,!0x1);if((0x0,_0x663956[_0x562345(0x2d9)])(_0x977e6d))throw _0x977e6d['error'];if((0x0,_0x663956[_0x562345(0x2d9)])(_0x1a7fe6))throw _0x1a7fe6[_0x562345(0x169)];_0x4d2333[_0x562345(0x214)]({..._0xa41541[_0x2fab62],'undoState':_0x977e6d[_0x562345(0x353)][_0x562345(0x325)],'redoState':_0x1a7fe6['m2Prime'][_0x562345(0x325)]}),_0x4c8ecb=_0x977e6d[_0x562345(0x1f8)],_0x123ec8=_0x1a7fe6['m1Prime'];}this[_0x562345(0x35c)][_0x562345(0x24e)](_0x45e16a,{'history':_0x36cc7d,'collaboration':_0x4d2333});}};_0x313b03=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x1,_0x663956['ITransformService']),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x287598[_0x4c80e1(0x143)]))],_0x313b03);let _0x3baf55=class{constructor(_0x38b8d9,_0x1eda97){this['_injector']=_0x38b8d9,this['_transformService']=_0x1eda97;}['transformSelections'](_0x29f6be){const _0x4093fd=_0x4c80e1;var _0x135d30;let _0x56ff68=this[_0x4093fd(0x2f6)][_0x4093fd(0x148)](_0x15aabe[_0x4093fd(0x33c)]),_0xbb130f=(_0x135d30=_0x56ff68[_0x4093fd(0x26e)]())==null?[]:_0x135d30;if(_0xbb130f[_0x4093fd(0x292)]===0x0)return;let _0x3a8fc1=_0x29f6be[_0x4093fd(0x19c)],_0x41d5d3=[{'id':_0x4093fd(0x1a7),'params':{'unitId':_0x3a8fc1,'actions':null,'textRanges':_0xbb130f}}],_0x1896f1=this[_0x4093fd(0x343)][_0x4093fd(0x1ee)](_0x29f6be,_0x41d5d3);if(!(0x0,_0x663956['isTransformMutationsWithChangesetSuccess'])(_0x1896f1))throw _0x1896f1['error'];let _0x17d967=_0x1896f1[_0x4093fd(0x353)][0x0][_0x4093fd(0x325)][_0x4093fd(0x172)];Array[_0x4093fd(0x116)](_0x17d967)&&_0x17d967[_0x4093fd(0x292)]&&_0x56ff68[_0x4093fd(0x22f)](_0x17d967,{'unitId':_0x3a8fc1,'subUnitId':_0x3a8fc1},!0x1);}};_0x3baf55=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x1,_0x663956[_0x4c80e1(0x305)])],_0x3baf55);let _0x26177f=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(_0x67414d,_0x4d30a3,_0x4b1f39,_0x515404,_0x13cb0b,_0x22bfbf,_0x175c2e,_0x23e879){const _0x5ad6b5=_0x4c80e1;super(),this['_docStateChangeManagerService']=_0x67414d,this[_0x5ad6b5(0x99)]=_0x4d30a3,this[_0x5ad6b5(0x1fa)]=_0x4b1f39,this[_0x5ad6b5(0x236)]=_0x515404,this[_0x5ad6b5(0x1d7)]=_0x13cb0b,this['_docSyncEditingCollabCursorService']=_0x22bfbf,this['_messageService']=_0x175c2e,this[_0x5ad6b5(0x182)]=_0x23e879,_0x2f9172(this,'_status$',new _0x3ea80a['BehaviorSubject'](_0x1e6a94[_0x5ad6b5(0x252)][_0x5ad6b5(0xe9)])),this[_0x5ad6b5(0xdb)]();}[_0x4c80e1(0xdb)](){const _0x80b4a1=_0x4c80e1;this[_0x80b4a1(0xa2)](this[_0x80b4a1(0x99)][_0x80b4a1(0x30b)]['subscribe'](_0x5de3dd=>{const _0x117072=_0x80b4a1;let _0x304778=this[_0x117072(0x35c)][_0x117072(0x1e0)][_0x117072(0x1e5)](_0x3ac4d5=>{const _0x229f4d=_0x117072;if(_0x3ac4d5==null)return;let {unitId:_0x4a46c0,redoState:_0x408653,commandId:_0xedf39b}=_0x3ac4d5;if(_0x4a46c0!==_0x5de3dd['unitID'])return;let _0x26ade4={'id':_0xedf39b,'type':_0x45c421['CommandType'][_0x229f4d(0x247)],'params':{'unitId':_0x4a46c0,'actions':_0x408653[_0x229f4d(0x93)],'textRanges':null}};_0x5de3dd[_0x229f4d(0x18e)](_0x26ade4);});_0x5de3dd[_0x117072(0xa2)](_0x304778),_0x5de3dd instanceof _0x1e6a94[_0x117072(0x197)]&&_0x5de3dd[_0x117072(0x16c)]({'onTransformIME':_0x8238c9=>this[_0x117072(0x1fa)]['transformIMECache'](_0x8238c9),'onTransformState':_0x1d012d=>this[_0x117072(0x236)][_0x117072(0x1ef)](_0x1d012d),'onTransformSelections':_0x4535ad=>this[_0x117072(0x1d7)]['transformSelections'](_0x4535ad),'onSyncEditingCollabCursor':_0x73a955=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x73a955),'onTransformRemoteChangesetByIMECache':_0x3cda93=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3cda93),'onTransformRemoteChangesetByStateCache':_0x29f8b5=>this[_0x117072(0x236)]['transformRemoteChangeset'](_0x29f8b5)});}));}};_0x26177f=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x287598[_0x4c80e1(0x143)])),_0x2e6e37(0x1,(0x0,_0x45c421['Inject'])(_0x1e6a94[_0x4c80e1(0xf6)])),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x2057a2)),_0x2e6e37(0x3,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x313b03)),_0x2e6e37(0x4,(0x0,_0x45c421['Inject'])(_0x3baf55)),_0x2e6e37(0x5,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x24123b)),_0x2e6e37(0x6,_0xfff774[_0x4c80e1(0x12e)]),_0x2e6e37(0x7,(0x0,_0x45c421['Inject'])(_0x45c421[_0x4c80e1(0xdd)]))],_0x26177f);let _0x3e248a=class extends _0x45c421['Disposable']{constructor(_0x267289,_0x8300d8,_0x39f365,_0x566884){const _0x319659=_0x4c80e1;super(),this[_0x319659(0x2f6)]=_0x267289,this[_0x319659(0x230)]=_0x8300d8,this[_0x319659(0x33e)]=_0x39f365,this[_0x319659(0x18d)]=_0x566884,_0x2f9172(this,'_memberID',void 0x0),this[_0x319659(0x10c)]();}[_0x4c80e1(0x10c)](){const _0x211f4b=_0x4c80e1;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this[_0x211f4b(0x1ae)](),this['_initUserListener']();}[_0x4c80e1(0x250)](){const _0x2259f4=_0x4c80e1;this[_0x2259f4(0xa2)](this[_0x2259f4(0x18d)][_0x2259f4(0x229)][_0x2259f4(0x1e5)](_0xe06536=>{this['_memberID']=_0xe06536==null?void 0x0:_0xe06536['memberID'];}));}[_0x4c80e1(0x2f4)](){const _0x5d434=_0x4c80e1;let _0x426b48=_0x1fb8fa=>{const _0x2328ed=_0x2e69;var _0x1c0706;this['_uploadLog']('error',_0x2328ed(0xf5)+_0x1fb8fa['message']+_0x2328ed(0xdc)+_0x1fb8fa[_0x2328ed(0x28a)]+':'+_0x1fb8fa[_0x2328ed(0xbe)]+':'+_0x1fb8fa[_0x2328ed(0xa9)]+'\x0a'+(((_0x1c0706=_0x1fb8fa[_0x2328ed(0x169)])==null?void 0x0:_0x1c0706[_0x2328ed(0x1ff)])||''));};window['addEventListener'](_0x5d434(0x169),_0x426b48),this[_0x5d434(0xa2)](()=>{const _0x23340c=_0x5d434;window['removeEventListener'](_0x23340c(0x169),_0x426b48);});}[_0x4c80e1(0x111)](){const _0x894b61=_0x4c80e1;let _0x1ff625=_0x19d55b=>{const _0x7f9165=_0x2e69;this[_0x7f9165(0x1ce)](_0x7f9165(0x169),_0x7f9165(0x2e8)+_0x19d55b[_0x7f9165(0x248)]);};window['addEventListener'](_0x894b61(0x85),_0x1ff625),this['disposeWithMe'](()=>{const _0xa50531=_0x894b61;window[_0xa50531(0x296)](_0xa50531(0x85),_0x1ff625);});}['_monkeyPatchLogService'](){const _0x3dc714=_0x4c80e1;let _0xdfa436=this[_0x3dc714(0x33e)][_0x3dc714(0x169)][_0x3dc714(0x2f1)](this[_0x3dc714(0x33e)]);this[_0x3dc714(0x33e)][_0x3dc714(0x169)]=(..._0x270ccf)=>{const _0x40eb96=_0x3dc714;let _0x13ffbc=_0x270ccf[_0x40eb96(0x255)](_0x1e9e6e=>_0x1e9e6e instanceof Error?_0x1e9e6e[_0x40eb96(0x186)]+'\x0a'+_0x1e9e6e[_0x40eb96(0x1ff)]:String(_0x1e9e6e))['join']('\x20');this[_0x40eb96(0x1ce)]('error','[LogService\x20Error]:\x20'+_0x13ffbc),_0xdfa436(..._0x270ccf);},this[_0x3dc714(0xa2)](()=>{const _0x15eec7=_0x3dc714;this[_0x15eec7(0x33e)]['error']=_0xdfa436;});}[_0x4c80e1(0x1ce)](_0x25f11b,_0x54c516){const _0x30cfb7=_0x4c80e1;try{let _0x46357c={'userId':this['_memberID'],'logLabel':_0x25f11b,'content':_0x54c516};this[_0x30cfb7(0x230)][_0x30cfb7(0x1c6)](_0x30cfb7(0x1bc),{'body':_0x46357c})['catch'](()=>{});}catch{}}};_0x3e248a=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x1,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x47f7bf[_0x4c80e1(0x1f5)])),_0x2e6e37(0x2,_0x45c421[_0x4c80e1(0x2a9)]),_0x2e6e37(0x3,(0x0,_0x45c421['Inject'])(_0x1e6a94[_0x4c80e1(0x33a)]))],_0x3e248a);function _0x125b23(_0x52c057){const _0xb7b2a4=_0x4c80e1;var _0x330767,_0xfc9a8e;let _0x1d1075=(_0x330767=_0x52c057['stageInfo'])==null?void 0x0:_0x330767[_0xb7b2a4(0x2e0)],_0x4f2904=((_0xfc9a8e=_0x52c057[_0xb7b2a4(0x11c)])==null?void 0x0:_0xfc9a8e[_0xb7b2a4(0x215)])||0x0;return _0x1d1075===_0x516276[_0xb7b2a4(0x2c6)]['START_CALCULATION']&&_0x4f2904>0x0;}function _0x3d1600(_0x5efbbd){const _0x36fdf7=_0x4c80e1;return _0x5efbbd[_0x36fdf7(0x12f)]===_0x516276['FormulaExecutedStateType'][_0x36fdf7(0x299)];}let _0xff87fc=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(_0x39e461,_0x158c45,_0x3e92c5,_0x255eb1,_0x2fad3e,_0x547d30,_0x210e52){const _0x8b70b5=_0x4c80e1;super(),this[_0x8b70b5(0x29c)]=_0x39e461,this[_0x8b70b5(0x22b)]=_0x158c45,this[_0x8b70b5(0x2ab)]=_0x3e92c5,this['_httpService']=_0x255eb1,this['_univerInstanceService']=_0x2fad3e,this[_0x8b70b5(0x33e)]=_0x547d30,this[_0x8b70b5(0x182)]=_0x210e52,_0x2f9172(this,_0x8b70b5(0x2bc),null),_0x2f9172(this,_0x8b70b5(0x28f),0x0),_0x2f9172(this,_0x8b70b5(0x237),0x0),_0x2f9172(this,'_taskIds',[]),_0x2f9172(this,_0x8b70b5(0x17e),0x0),this[_0x8b70b5(0x130)]();}[_0x4c80e1(0x130)](){const _0x271b6e=_0x4c80e1;this[_0x271b6e(0xa2)](this['_commandService'][_0x271b6e(0x270)]((_0x5758f4,_0x201626)=>{const _0x3cc502=_0x271b6e;var _0x1ec9bc;if(_0x5758f4['id']!==_0x516276['SetFormulaCalculationStartMutation']['id'])return;let _0x21f39b=_0x5758f4[_0x3cc502(0x325)];if(this[_0x3cc502(0x324)]((_0x1ec9bc=_0x21f39b[_0x3cc502(0xf8)])==null?[]:_0x1ec9bc)&&!this[_0x3cc502(0x2b4)]())throw this[_0x3cc502(0x254)](_0x5758f4,_0x201626),this[_0x3cc502(0x30e)](),new _0x45c421[(_0x3cc502(0x14b))]();})),this[_0x271b6e(0xa2)](this['_commandService']['onCommandExecuted']((_0x2d91c7,_0x158b43)=>{const _0x1b03c9=_0x271b6e;if(_0x2d91c7['id']!==_0x516276[_0x1b03c9(0x139)]['id'])return;let _0x562f36=_0x2d91c7[_0x1b03c9(0x325)];if(_0x125b23(_0x562f36)){let _0x54d65c=(0x0,_0x45c421[_0x1b03c9(0xf3)])();this[_0x1b03c9(0x12a)][_0x1b03c9(0x2fa)](_0x54d65c),this['_startCalculationLimit'](_0x54d65c);}else{if(_0x3d1600(_0x562f36)&&this[_0x1b03c9(0x12a)][_0x1b03c9(0x292)]>0x0){let _0xec55dd=this[_0x1b03c9(0x12a)][_0x1b03c9(0x1d0)]();this[_0x1b03c9(0x2f8)](_0xec55dd);}}}));}[_0x4c80e1(0xe1)](){const _0x239a3d=_0x4c80e1;super['dispose'](),this[_0x239a3d(0xcc)](),this[_0x239a3d(0x12a)]=[],this[_0x239a3d(0x237)]=0x0,this[_0x239a3d(0x28f)]=0x0,this[_0x239a3d(0x17e)]=0x0;}async[_0x4c80e1(0x254)](_0x117db2,_0xb7c10f){const _0x3fc729=_0x4c80e1;for(let _0x5eb646=0x0;_0x5eb646<0x1e;_0x5eb646++)try{if(await this['_getFormulaLimitStatus'](),this[_0x3fc729(0x2b4)]()){this[_0x3fc729(0x1a3)](_0x117db2,_0xb7c10f),this[_0x3fc729(0x29c)]['show']({'content':this['_localeService']['t'](_0x3fc729(0x125)),'type':_0x1a0a02[_0x3fc729(0x2ea)]['Success']});return;}await new Promise(_0xe3d523=>{const _0x11f20d=_0x3fc729;this[_0x11f20d(0x2bc)]=window[_0x11f20d(0x189)](_0xe3d523,0x3e8);});}catch(_0x261394){this[_0x3fc729(0x33e)][_0x3fc729(0x169)](_0x261394);}this[_0x3fc729(0x29c)][_0x3fc729(0x35b)]({'content':this[_0x3fc729(0x182)]['t'](_0x3fc729(0x333)),'type':_0x1a0a02[_0x3fc729(0x2ea)][_0x3fc729(0x152)]});}['_applyCommand'](_0x4b2028,_0x444a68){const _0x59472f=_0x4c80e1;try{this[_0x59472f(0x22b)][_0x59472f(0x9d)](_0x4b2028['id'],_0x4b2028[_0x59472f(0x325)],_0x444a68);}catch(_0x6f0dae){this['_logService'][_0x59472f(0x169)](_0x6f0dae);}}['_setFormulaLimitStatus'](_0x5bf100,_0x44f497){const _0xdefb8e=_0x4c80e1;_0x44f497<this['_lastResponseTimestamp']||(this[_0xdefb8e(0x17e)]=_0x44f497,this['_maxFormulaLimit']=Number[_0xdefb8e(0x1ba)](_0x5bf100['maxFormulaLimit']),this[_0xdefb8e(0x237)]=Number[_0xdefb8e(0x1ba)](_0x5bf100['currentUsage']));}async[_0x4c80e1(0x358)](_0x174d84){const _0x335fb5=_0x4c80e1;let _0x13939b=Date[_0x335fb5(0x269)]();try{var _0x48e8d5,_0x38b32f;let _0x4cb69c=((_0x48e8d5=this[_0x335fb5(0x2ab)][_0x335fb5(0x35f)](_0x1e6a94[_0x335fb5(0xde)]))==null?void 0x0:_0x48e8d5[_0x335fb5(0xaf)])||'/universer-api/license/formula/limit/start',_0x3e377a=(await this[_0x335fb5(0x230)][_0x335fb5(0x1c6)](_0x4cb69c,{'body':JSON[_0x335fb5(0x129)]({'taskId':_0x174d84})}))['body'];if(((_0x38b32f=_0x3e377a[_0x335fb5(0x169)])==null?void 0x0:_0x38b32f[_0x335fb5(0x253)])!==_0x5d2213[_0x335fb5(0x1ed)]['OK'])return;this[_0x335fb5(0x1a6)](_0x3e377a[_0x335fb5(0x298)],_0x13939b);}catch(_0xf60939){this['_logService'][_0x335fb5(0x169)](_0xf60939);}}async[_0x4c80e1(0x119)](_0x8f1203){const _0x3e1b3b=_0x4c80e1;let _0x529d10=Date[_0x3e1b3b(0x269)]();try{var _0x596a51,_0x134ff8;let _0x9a6c9b=((_0x596a51=this[_0x3e1b3b(0x2ab)][_0x3e1b3b(0x35f)](_0x1e6a94['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x596a51[_0x3e1b3b(0x300)])||'/universer-api/license/formula/limit/status',_0x32718f=_0x8f1203?_0x9a6c9b+_0x3e1b3b(0x340)+encodeURIComponent(_0x8f1203):_0x9a6c9b,_0x391916=(await this[_0x3e1b3b(0x230)]['get'](_0x32718f))[_0x3e1b3b(0x359)];if(((_0x134ff8=_0x391916[_0x3e1b3b(0x169)])==null?void 0x0:_0x134ff8[_0x3e1b3b(0x253)])!==_0x5d2213[_0x3e1b3b(0x1ed)]['OK'])return;this[_0x3e1b3b(0x1a6)](_0x391916[_0x3e1b3b(0x298)],_0x529d10);}catch(_0xa2ed9){this[_0x3e1b3b(0x33e)][_0x3e1b3b(0x169)](_0xa2ed9);}}async['_releaseCalculationLimit'](_0x2864ef){const _0x188ac9=_0x4c80e1;let _0x59a280=Date['now']();try{var _0x2d1d67,_0x2746fb;let _0x3719b9=((_0x2d1d67=this['_configService']['getConfig'](_0x1e6a94[_0x188ac9(0xde)]))==null?void 0x0:_0x2d1d67[_0x188ac9(0x22c)])||_0x188ac9(0x127),_0x3cda49=(await this[_0x188ac9(0x230)][_0x188ac9(0x1c6)](_0x3719b9,{'body':JSON['stringify']({'taskId':_0x2864ef})}))[_0x188ac9(0x359)];if(((_0x2746fb=_0x3cda49[_0x188ac9(0x169)])==null?void 0x0:_0x2746fb[_0x188ac9(0x253)])!==_0x5d2213['ErrorCode']['OK'])return;this[_0x188ac9(0x1a6)](_0x3cda49[_0x188ac9(0x298)],_0x59a280);}catch(_0x4c77d0){this[_0x188ac9(0x33e)]['error'](_0x4c77d0);}}[_0x4c80e1(0x2b4)](){const _0x18896d=_0x4c80e1;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x18896d(0x28f)]-this[_0x18896d(0x237)]>0x0;}[_0x4c80e1(0xcc)](){const _0x582999=_0x4c80e1;this[_0x582999(0x2bc)]&&(clearTimeout(this[_0x582999(0x2bc)]),this['_pollingInterval']=null);}[_0x4c80e1(0x30e)](){const _0x9f78f=_0x4c80e1;this[_0x9f78f(0x29c)][_0x9f78f(0x35b)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x1a0a02[_0x9f78f(0x2ea)][_0x9f78f(0x288)]});}['_hasFormulaInDirtyRanges'](_0x202933){const _0x15edc1=_0x4c80e1;for(let _0x10b23c of _0x202933){let {unitId:_0x416d0b,sheetId:_0xcce8f1,range:_0x771ea4}=_0x10b23c,_0x38f8ea=this['_univerInstanceService'][_0x15edc1(0x1d6)](_0x416d0b);if(!_0x38f8ea)continue;let _0x2df63f=_0x38f8ea[_0x15edc1(0x184)](_0xcce8f1);if(!_0x2df63f)continue;let _0x3c474f=_0x2df63f[_0x15edc1(0x267)]();for(let _0x1420d9=_0x771ea4['startRow'];_0x1420d9<=_0x771ea4[_0x15edc1(0x17d)];_0x1420d9++)for(let _0x2ca4b5=_0x771ea4[_0x15edc1(0x196)];_0x2ca4b5<=_0x771ea4[_0x15edc1(0x1df)];_0x2ca4b5++){let _0x2345e4=_0x3c474f['getValue'](_0x1420d9,_0x2ca4b5);if(_0x2345e4&&((0x0,_0x45c421['isFormulaString'])(_0x2345e4['f'])||(0x0,_0x45c421['isFormulaId'])(_0x2345e4['si'])))return!0x0;}}return!0x1;}};_0xff87fc=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421['Inject'])(_0xfff774[_0x4c80e1(0x12e)])),_0x2e6e37(0x1,_0x45c421[_0x4c80e1(0x1de)]),_0x2e6e37(0x2,_0x45c421[_0x4c80e1(0x330)]),_0x2e6e37(0x3,(0x0,_0x45c421['Inject'])(_0x47f7bf[_0x4c80e1(0x1f5)])),_0x2e6e37(0x4,_0x45c421['IUniverInstanceService']),_0x2e6e37(0x5,_0x45c421[_0x4c80e1(0x2a9)]),_0x2e6e37(0x6,(0x0,_0x45c421['Inject'])(_0x45c421[_0x4c80e1(0xdd)]))],_0xff87fc);let _0x2204f6=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(_0x3fe423,_0x481224,_0x10ad9a){const _0x535ca0=_0x4c80e1;super(),this[_0x535ca0(0x2ab)]=_0x3fe423,this[_0x535ca0(0x2b2)]=_0x481224,this[_0x535ca0(0x1f3)]=_0x10ad9a,_0x2f9172(this,_0x535ca0(0xe2),new Map()),_0x2f9172(this,_0x535ca0(0x1b0),new Map()),_0x2f9172(this,_0x535ca0(0x2a4),!0x1);}[_0x4c80e1(0x1ca)](){const _0x1d7f7e=_0x4c80e1;this[_0x1d7f7e(0x2a4)]=!0x0;}[_0x4c80e1(0x337)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x4c80e1(0xe1)](){const _0xdef63c=_0x4c80e1;this[_0xdef63c(0x30f)]()[_0xdef63c(0x1c8)](()=>super[_0xdef63c(0xe1)]());}async[_0x4c80e1(0x217)](_0x1cef29){const _0xa274ea=_0x4c80e1;return this['_disabled']?null:this['_localStorageService'][_0xa274ea(0x272)]((0x0,_0x1e6a94[_0xa274ea(0xdf)])(_0x1cef29));}async[_0x4c80e1(0x280)](_0x279030,_0x1cf578){const _0x2ed245=_0x4c80e1;return!!this[_0x2ed245(0x2b2)]['setItem'](_0x279030,_0x1cf578);}['updateOfflineData'](_0x3ce853,_0x245cda,_0x39dc91,_0x1f5e0c){const _0x1a2063=_0x4c80e1;let _0x419fb0=this[_0x1a2063(0x1f3)][_0x1a2063(0x141)](_0x3ce853);this[_0x1a2063(0xe2)][_0x1a2063(0x22d)](_0x3ce853,{'unitID':_0x3ce853,'type':_0x245cda,'awaitingChangeset':_0x39dc91,'mutations':_0x1f5e0c,'rev':_0x419fb0}),this[_0x1a2063(0x1b0)][_0x1a2063(0x33d)](_0x3ce853)||this[_0x1a2063(0x147)](_0x3ce853);}[_0x4c80e1(0x147)](_0xf1d057){const _0xb9bdd8=_0x4c80e1;let _0x2bafb5=this['_getSaveTimeout']();_0x2bafb5===0x0?this[_0xb9bdd8(0x98)](_0xf1d057):this[_0xb9bdd8(0x1b0)]['set'](_0xf1d057,setTimeout(()=>this['_saveCache'](_0xf1d057),_0x2bafb5));}[_0x4c80e1(0x205)](){const _0x1f5c5c=_0x4c80e1;var _0x24b216;return(_0x24b216=this[_0x1f5c5c(0x2ab)][_0x1f5c5c(0x35f)](_0x1e6a94[_0x1f5c5c(0x10f)]))==null?_0x1e6a94[_0x1f5c5c(0x2fe)]:_0x24b216;}['_saveCache'](_0x29020e){const _0x1a1ded=_0x4c80e1;let _0x32025c=this[_0x1a1ded(0x1b0)][_0x1a1ded(0x148)](_0x29020e);return _0x32025c!==void 0x0&&window[_0x1a1ded(0x207)](_0x32025c),this[_0x1a1ded(0x2b2)]['setItem']((0x0,_0x1e6a94['getLocalCacheKey'])(_0x29020e),this['_cachedData'][_0x1a1ded(0x148)](_0x29020e))[_0x1a1ded(0x1c8)](()=>this['_saveTaskMap']['delete'](_0x29020e));}async[_0x4c80e1(0x30f)](){const _0x4b27a4=_0x4c80e1;let _0x43c187=[];this['_saveTaskMap'][_0x4b27a4(0x1a9)]((_0xf6f1bb,_0x3bdb61)=>{const _0x521cac=_0x4b27a4;window[_0x521cac(0x207)](_0xf6f1bb),_0x43c187[_0x521cac(0x2fa)](this[_0x521cac(0x98)](_0x3bdb61)[_0x521cac(0x1c8)](()=>{const _0x3ef1e2=_0x521cac;this[_0x3ef1e2(0x1b0)][_0x3ef1e2(0x31b)](_0x3bdb61);}));}),await Promise[_0x4b27a4(0x27d)](_0x43c187);}};_0x2204f6=_0x5d52c5([_0x2e6e37(0x0,_0x45c421['IConfigService']),_0x2e6e37(0x1,_0x45c421[_0x4c80e1(0x301)]),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x663956[_0x4c80e1(0x23e)]))],_0x2204f6);var _0x3e4a23=class extends _0x45c421['RxDisposable']{constructor(){const _0x54c43a=_0x4c80e1;super(),_0x2f9172(this,_0x54c43a(0x2bd),void 0x0),this[_0x54c43a(0x2bd)]=(0x0,_0x3ea80a[_0x54c43a(0x29b)])(window,_0x54c43a(0x14c))[_0x54c43a(0x123)]((0x0,_0x3ea80a[_0x54c43a(0x287)])(this[_0x54c43a(0x1a8)]),(0x0,_0x3ea80a[_0x54c43a(0x101)])(0x1),(0x0,_0x3ea80a[_0x54c43a(0x1b9)])(void 0x0));}['setParam'](_0x180d0d,_0x385fd0,_0x5cc713=!0x1){const _0x36102f=_0x4c80e1;let _0x2b7a17=new URL(window[_0x36102f(0x28d)]['href']);_0x2b7a17['searchParams']['set'](_0x180d0d,_0x385fd0),_0x5cc713?window[_0x36102f(0x317)][_0x36102f(0x2a5)]('','',_0x2b7a17[_0x36102f(0x20d)]()):window[_0x36102f(0x317)]['pushState']('','',_0x2b7a17[_0x36102f(0x20d)]());}[_0x4c80e1(0x27b)](_0x20d369,_0x562d9a=!0x1){const _0x3ef609=_0x4c80e1;let _0x1197e5=new URL(window[_0x3ef609(0x28d)][_0x3ef609(0x117)]);_0x1197e5[_0x3ef609(0x2b3)][_0x3ef609(0x31b)](_0x20d369),_0x562d9a?window['history'][_0x3ef609(0x2a5)]('','',_0x1197e5['toString']()):window[_0x3ef609(0x317)][_0x3ef609(0x171)]('','',_0x1197e5['toString']());}[_0x4c80e1(0xb6)](_0x59cef1){const _0x3343d5=_0x4c80e1;var _0x3f1c41;return(_0x3f1c41=new URL(window[_0x3343d5(0x28d)]['href'])[_0x3343d5(0x2b3)]['get'](_0x59cef1))==null?void 0x0:_0x3f1c41;}};let _0x100b3d=class extends _0x45c421['Plugin']{constructor(_0x44c73a=_0x2858d3,_0x31c705,_0x54fe58,_0x4bb64e){const _0x2bf90d=_0x4c80e1;super(),this[_0x2bf90d(0x1e4)]=_0x44c73a,this['_renderManagerService']=_0x31c705,this[_0x2bf90d(0x2f6)]=_0x54fe58,this['_configService']=_0x4bb64e;let {..._0x915163}=(0x0,_0x45c421[_0x2bf90d(0x1e6)])({},_0x2858d3,this[_0x2bf90d(0x1e4)]);this[_0x2bf90d(0x2ab)][_0x2bf90d(0x103)](_0x561942,_0x915163);}[_0x4c80e1(0x1bd)](){const _0x371ceb=_0x4c80e1;this[_0x371ceb(0x194)](),this[_0x371ceb(0x102)]();}[_0x4c80e1(0x23c)](){const _0x54641a=_0x4c80e1;this[_0x54641a(0x185)]();}[_0x4c80e1(0x194)](){const _0x1e37e0=_0x4c80e1;var _0x5f0261;let _0x53ee3c=[[_0x4b3196],[_0xff87fc],[_0x3baf55],[_0x2057a2],[_0x313b03],[_0x24123b],[_0x1a46b4,{'useClass':_0x3e4a23}],[_0x47f7bf[_0x1e37e0(0xba)],{'useClass':_0x47f7bf[_0x1e37e0(0x2e7)]}],[_0x1e6a94[_0x1e37e0(0x356)],{'useClass':_0x2204f6}],[_0x591484],[_0x26177f],[_0x406c70],[_0x281315],[_0x5ca82f],[_0x26fbb1]];this[_0x1e37e0(0x1e4)]['enableFrontendLog']&&_0x53ee3c[_0x1e37e0(0x2fa)]([_0x3e248a]),(0x0,_0x45c421[_0x1e37e0(0xbd)])(this['_injector'],(0x0,_0x45c421[_0x1e37e0(0x26c)])(_0x53ee3c,(_0x5f0261=this[_0x1e37e0(0x1e4)])==null?void 0x0:_0x5f0261[_0x1e37e0(0x2fd)]));}['_registerRenderDependencies'](){const _0x2afe28=_0x4c80e1;this['disposeWithMe'](this[_0x2afe28(0xc0)][_0x2afe28(0x246)](_0x45c421[_0x2afe28(0x1b2)][_0x2afe28(0x11a)],[_0x21ff26])),this[_0x2afe28(0xa2)](this[_0x2afe28(0xc0)][_0x2afe28(0x246)](_0x45c421[_0x2afe28(0x1b2)][_0x2afe28(0x2da)],[_0x75436b]));}['_initDependencies'](){const _0x4a4c85=_0x4c80e1;(0x0,_0x45c421[_0x4a4c85(0x1e7)])(this[_0x4a4c85(0x2f6)],[[_0x281315],[_0x591484],[_0x26177f],[_0x406c70],[_0x26fbb1],[_0xff87fc]]),this[_0x4a4c85(0x1e4)][_0x4a4c85(0x240)]&&(0x0,_0x45c421[_0x4a4c85(0x1e7)])(this[_0x4a4c85(0x2f6)],[[_0x3e248a]]);}};_0x2f9172(_0x100b3d,'pluginName',_0x4c80e1(0xb4)),_0x2f9172(_0x100b3d,_0x4c80e1(0x155),_0x390f23),_0x2f9172(_0x100b3d,'version',_0x469061),_0x100b3d=_0x5d52c5([(0x0,_0x45c421[_0x4c80e1(0x304)])(_0x1e6a94[_0x4c80e1(0x149)]),_0x2e6e37(0x1,_0x5842f2[_0x4c80e1(0x163)]),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x3,_0x45c421[_0x4c80e1(0x330)])],_0x100b3d);let _0x3ef4fa=class extends _0x1e6a94[_0x4c80e1(0xad)]{constructor(_0x3ad227,_0x622464,_0x5754c2,_0x197869,_0x349018){super(_0x3ad227,_0x622464,_0x5754c2,_0x197869,_0x349018);}async['createSocket'](_0x487b6b){const _0x1e7d62=_0x4c80e1;let _0x37690d=await this['_getSessionTicket'](),_0x14dc97=this[_0x1e7d62(0x1f6)](_0x487b6b,_0x37690d);return this[_0x1e7d62(0x2a2)](_0x14dc97);}[_0x4c80e1(0x1f6)](_0x365611,_0xc126f0){const _0x9a65ad=_0x4c80e1;let _0x4968d0=typeof window>'u'?new URL(_0x365611):new URL(_0x365611,window[_0x9a65ad(0x28d)]['origin']);_0x4968d0[_0x9a65ad(0x2b3)][_0x9a65ad(0x22d)](_0x9a65ad(0x32d),_0xc126f0);let _0x303789=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x9a65ad(0x28d)][_0x9a65ad(0x198)]);return _0x303789[_0x9a65ad(0x148)](_0x9a65ad(0x1fc))&&_0x4968d0['searchParams']['set'](_0x9a65ad(0x1fc),_0x303789['get']('runId')),_0x4968d0['toString']();}async[_0x4c80e1(0x335)](){const _0x213879=_0x4c80e1;var _0x1d499d,_0x910e6e,_0x5665f0;let _0x843c73=this[_0x213879(0x2ab)][_0x213879(0x35f)](_0x1e6a94[_0x213879(0xde)]),_0x503f80=(_0x1d499d=_0x843c73==null?void 0x0:_0x843c73[_0x213879(0x27e)])==null?_0x1e6a94[_0x213879(0x1a2)]:_0x1d499d;return(_0x910e6e=(_0x5665f0=(await this[_0x213879(0x230)]['get'](_0x503f80,{'headers':{'Content-Type':'application/json'}}))[_0x213879(0x359)])==null?void 0x0:_0x5665f0[_0x213879(0x2cd)])==null?'':_0x910e6e;}};_0x3ef4fa=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x1,(0x0,_0x45c421['Inject'])(_0x47f7bf[_0x4c80e1(0x1f5)])),_0x2e6e37(0x2,_0x45c421[_0x4c80e1(0x330)]),_0x2e6e37(0x3,_0x45c421['ILogService']),_0x2e6e37(0x4,_0x663956['ISnapshotServerService'])],_0x3ef4fa);let _0x5d8bdc=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(_0x254612,_0x5561e3,_0x9c07cc){const _0x289cc4=_0x4c80e1;super(),this[_0x289cc4(0xd9)]=_0x254612,this[_0x289cc4(0x230)]=_0x5561e3,this[_0x289cc4(0x2ab)]=_0x9c07cc;}async['runOnServer'](_0x1bd1a3,_0x3327d5,_0x32405c,..._0x563043){const _0x5afd08=_0x4c80e1;var _0x30123a,_0x46b001,_0x580bd2,_0x323a2a;let _0x10bb89=this[_0x5afd08(0xd9)]['getFocusedUnit']();if(!_0x10bb89)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x5a5745=((_0x30123a=this['_configService'][_0x5afd08(0x35f)](_0x1e6a94[_0x5afd08(0x18f)]))==null?_0x1e6a94[_0x5afd08(0x16d)]:_0x30123a)+'/'+_0x1bd1a3+_0x5afd08(0x241)+_0x3327d5,_0x3d9174={'scriptId':_0x1bd1a3,'runId':(_0x46b001=new URL(window[_0x5afd08(0x28d)]['href'])[_0x5afd08(0x2b3)][_0x5afd08(0x148)](_0x5afd08(0x1fc)))==null?'':_0x46b001,'function':_0x3327d5,'unitId':_0x10bb89[_0x5afd08(0x191)](),'argsOfFunction':JSON[_0x5afd08(0x129)](_0x563043),'invokeId':(_0x580bd2=_0x32405c['invokeId'])==null?'':_0x580bd2,'executionId':(_0x323a2a=_0x32405c[_0x5afd08(0xbc)])==null?'':_0x323a2a};try{let _0x348ae5=await this[_0x5afd08(0x230)]['post'](_0x5a5745,{'body':_0x3d9174});return _0x348ae5[_0x5afd08(0x359)][_0x5afd08(0x169)]&&_0x348ae5['body'][_0x5afd08(0x169)][_0x5afd08(0x253)]!==_0x5d2213[_0x5afd08(0x1ed)]['OK']?_0x5afd08(0x327):_0x348ae5[_0x5afd08(0x359)][_0x5afd08(0x1f1)];}catch{return _0x5afd08(0x327);}}};_0x5d8bdc=_0x5d52c5([_0x2e6e37(0x0,_0x45c421[_0x4c80e1(0x138)]),_0x2e6e37(0x1,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x47f7bf[_0x4c80e1(0x1f5)])),_0x2e6e37(0x2,_0x45c421[_0x4c80e1(0x330)])],_0x5d8bdc);let _0xda1dc5=0x7530,_0x414df4='ACTIVE_UNIT_EVENT_CHANNEL';var _0x3f0f78=class extends _0x45c421['Disposable']{constructor(){const _0x13f7f3=_0x4c80e1;super(),_0x2f9172(this,_0x13f7f3(0x10d),(0x0,_0x45c421[_0x13f7f3(0xf3)])()),_0x2f9172(this,_0x13f7f3(0x9b),new Set()),_0x2f9172(this,_0x13f7f3(0xe0),new Map()),_0x2f9172(this,'_heartbeatTimer',null),_0x2f9172(this,_0x13f7f3(0x18c),new Map()),_0x2f9172(this,_0x13f7f3(0x9a),new Map()),this[_0x13f7f3(0x10c)]();}[_0x4c80e1(0xe1)](){const _0x2dce81=_0x4c80e1;super[_0x2dce81(0xe1)](),this['_clearOtherTimers'][_0x2dce81(0x1a9)]((_0x105f89,_0x4fb976)=>this[_0x2dce81(0x2b5)](_0x4fb976)),this[_0x2dce81(0x1dc)]&&window[_0x2dce81(0x1cd)](this[_0x2dce81(0x1dc)]);}[_0x4c80e1(0x30a)](_0x110249){const _0x20075b=_0x4c80e1;return this['_ensureSubject'](_0x110249)[_0x20075b(0x123)]((0x0,_0x3ea80a[_0x20075b(0x303)])());}[_0x4c80e1(0x24d)](_0x5d8ea0){const _0x7f382=_0x4c80e1;this[_0x7f382(0x9b)]['size']===0x0&&this[_0x7f382(0x225)](),this[_0x7f382(0x9b)][_0x7f382(0xa0)](_0x5d8ea0),this[_0x7f382(0x1db)]({'type':0x0,'memberID':this[_0x7f382(0x10d)],'unitIDs':[_0x5d8ea0],'isForwarded':!0x1});}[_0x4c80e1(0x26b)](_0x50de33){const _0xef0e8f=_0x4c80e1;this[_0xef0e8f(0x9b)][_0xef0e8f(0x31b)](_0x50de33),this[_0xef0e8f(0x9b)][_0xef0e8f(0x24a)]===0x0&&this[_0xef0e8f(0x1dc)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x4c80e1(0x10c)](){const _0x4dbc9e=_0x4c80e1;this[_0x4dbc9e(0xa2)]((0x0,_0x45c421[_0x4dbc9e(0x294)])((0x0,_0x3ea80a['fromEvent'])(window,_0x4dbc9e(0x291))[_0x4dbc9e(0x1e5)](_0x3c8a5d=>{const _0x3abb37=_0x4dbc9e;if(_0x3c8a5d[_0x3abb37(0x190)]!==_0x414df4||!_0x3c8a5d['newValue'])return;let _0x41a1c6=JSON[_0x3abb37(0x1d1)](_0x3c8a5d[_0x3abb37(0x228)]);this[_0x3abb37(0x1d9)](_0x41a1c6);}))),window[_0x4dbc9e(0x234)](_0x4dbc9e(0x1b1),()=>this[_0x4dbc9e(0x1db)]({'type':0x1,'memberID':this[_0x4dbc9e(0x10d)],'unitIDs':Array[_0x4dbc9e(0x158)](this[_0x4dbc9e(0x9b)])}));}[_0x4c80e1(0x1d9)](_0xf012ec){const _0x276e04=_0x4c80e1;switch(_0xf012ec[_0x276e04(0x223)]){case 0x0:this[_0x276e04(0x2ce)](_0xf012ec);break;case 0x1:this[_0x276e04(0xef)](_0xf012ec);break;case 0x2:this['_handleHeartbeatEvent'](_0xf012ec);break;}}['_handleJoinEvent'](_0x3f7847){const _0x5308d3=_0x4c80e1;let {unitIDs:_0x3611de,memberID:_0x221f10,isForwarded:_0x337373}=_0x3f7847;_0x3611de['forEach'](_0xc8de18=>{const _0x25eb44=_0x2e69;if(!_0x337373&&this[_0x25eb44(0xe0)]['has'](_0xc8de18)&&this[_0x25eb44(0x195)](_0xc8de18)['next'](_0x1e6a94[_0x25eb44(0x22e)][_0x25eb44(0xa6)]),!this[_0x25eb44(0xe0)]['has'](_0xc8de18)||!this[_0x25eb44(0xe0)][_0x25eb44(0x148)](_0xc8de18)['has'](_0x221f10)){let _0x192a60=this[_0x25eb44(0xe0)][_0x25eb44(0x148)](_0xc8de18)||new Set();_0x192a60[_0x25eb44(0xa0)](_0x221f10),this['_unitOnClients'][_0x25eb44(0x22d)](_0xc8de18,_0x192a60),this[_0x25eb44(0x232)](_0x221f10);}}),_0x337373||this[_0x5308d3(0x1db)]({'type':0x0,'memberID':this[_0x5308d3(0x10d)],'unitIDs':[...this[_0x5308d3(0x9b)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x8d5d01){const _0x37bf54=_0x4c80e1;this[_0x37bf54(0x2b5)](_0x8d5d01);let _0x3d4771=window[_0x37bf54(0x189)](()=>{const _0x57b040=_0x37bf54;this[_0x57b040(0xe0)]['forEach'](_0x31358a=>{const _0x3a18ef=_0x57b040;_0x31358a[_0x3a18ef(0x31b)](_0x8d5d01);});},_0xda1dc5*0x2);this[_0x37bf54(0x18c)]['set'](_0x8d5d01,_0x3d4771);}[_0x4c80e1(0x2b5)](_0x58ff48){const _0x1d37d8=_0x4c80e1;if(this[_0x1d37d8(0x18c)][_0x1d37d8(0x33d)](_0x58ff48)){let _0x5d1cb8=this[_0x1d37d8(0x18c)][_0x1d37d8(0x148)](_0x58ff48);_0x5d1cb8&&window['clearTimeout'](_0x5d1cb8),this[_0x1d37d8(0x18c)]['set'](_0x58ff48,null);}}[_0x4c80e1(0xef)](_0x48b57f){const _0x53ae5c=_0x4c80e1;let {memberID:_0xc224a5,unitIDs:_0x411e82}=_0x48b57f;_0x411e82[_0x53ae5c(0x1a9)](_0x5325c2=>{const _0x4c97cd=_0x53ae5c;var _0x4bf838;let _0x186f4c=this[_0x4c97cd(0xe0)][_0x4c97cd(0x148)](_0x5325c2);_0x186f4c&&(_0x186f4c[_0x4c97cd(0x31b)](_0xc224a5),(_0x4bf838=this[_0x4c97cd(0x195)](_0x5325c2))==null||_0x4bf838[_0x4c97cd(0xa4)](_0x186f4c[_0x4c97cd(0x24a)]===0x0?_0x1e6a94['UnitStatus'][_0x4c97cd(0xd5)]:_0x1e6a94[_0x4c97cd(0x22e)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0xc224a5);}['_handleHeartbeatEvent'](_0x284dc4){const _0x113def=_0x4c80e1;this[_0x113def(0x232)](_0x284dc4[_0x113def(0x307)]);}[_0x4c80e1(0x1db)](_0x266363){const _0xda9bb7=_0x4c80e1;localStorage[_0xda9bb7(0x2a7)](_0x414df4,JSON['stringify'](_0x266363));}['_scheduleHeartbeat'](){const _0x261077=_0x4c80e1;this[_0x261077(0x1dc)]=window[_0x261077(0x100)](()=>{const _0x605cbb=_0x261077;this[_0x605cbb(0x1db)]({'type':0x2,'memberID':this[_0x605cbb(0x10d)]});},_0xda1dc5);}['_ensureSubject'](_0xff42b1){const _0x268540=_0x4c80e1;return this[_0x268540(0x9a)][_0x268540(0x33d)](_0xff42b1)||this[_0x268540(0x9a)][_0x268540(0x22d)](_0xff42b1,new _0x3ea80a[(_0x268540(0x140))](_0x1e6a94['UnitStatus'][_0x268540(0xd5)])),this[_0x268540(0x9a)][_0x268540(0x148)](_0xff42b1);}};Object['defineProperty'](_0x2b3c55,_0x4c80e1(0x2c7),{'enumerable':!0x0,'get':function(){return _0x3ef4fa;}}),Object[_0x4c80e1(0x29e)](_0x2b3c55,_0x4c80e1(0x8b),{'enumerable':!0x0,'get':function(){return _0x26fbb1;}}),Object['defineProperty'](_0x2b3c55,_0x4c80e1(0x2c9),{'enumerable':!0x0,'get':function(){return _0x591484;}}),_0x2b3c55['IURLService']=_0x1a46b4,Object[_0x4c80e1(0x29e)](_0x2b3c55,_0x4c80e1(0x122),{'enumerable':!0x0,'get':function(){return _0x5d8bdc;}}),_0x2b3c55['SheetCollabCursorShape']=_0x41018e,Object[_0x4c80e1(0x29e)](_0x2b3c55,_0x4c80e1(0x1cf),{'enumerable':!0x0,'get':function(){return _0x100b3d;}}),_0x2b3c55[_0x4c80e1(0xff)]=_0x3f0f78,_0x2b3c55[_0x4c80e1(0x2d2)]=_0x3e4a23;}));function _0x7a07(){const _0x492b55=['debounceTime','_releaseCalculationLimit','_uiPartsService','push','handleMoveRange','substring','override','LOCAL_CACHE_INTERVAL','useCallback','getFormulaLimitStatusUrl','ILocalStorageService','purple.300','distinctUntilChanged','DependentOn','ITransformService','_updateSubUnitFromURLParams','memberID','_getLighterColor','DocIMEInputManagerService','getUnitStatus$','entityInit$','getTypeOfUnitAdded$','displayName','_showGuardMessage','exhaustSavingTask','_anchor','setAlpha','restore','SheetSkeletonManagerService','_backgroundColor','_syncEditingCollabCursorService','collabStatus.fetchMiss','history','roomMembers','_hovered','_univerInstanceService','delete','roomMembers$','assignAColorForMemberID','rgba(','rgb','_color','_initCommandExecutedListener','_setupSubUnitSync','unitId','_hasFormulaInDirtyRanges','params','children','Failed','idSuffix','useObservable','DataLoaderService','getCurrentUnitForType','setShapeProps','sessionTicket','jsx','_collabCursorState$','IConfigService','evenodd','forwardRef','formula.calculation.unable','_getMergeRange','_getSessionTicket','Subject','enableLocalCache','svg','_context','CollaborationSessionService','univer-text-gray-400','DocSelectionManagerService','has','_logService','_imageIoService','?taskId=','red.300','color','_transformService','defs','UniverUi','highlightSecond','clsx','handleInsertRangeMoveRight','_roomMembers$','_sheetSkeletonManagerService','collabCursorState$','#FFF','RichTextEditingMutation','onPointerEnter$','UPDATE_CURSOR','_hideTimer','_docSkeleton','_colorAssignService','m2Prime','addObject','UniverEngineFormula','ILocalCacheService','_startBlinking','_startCalculationLimit','body','Workbook','show','_docStateChangeManagerService','createIdentifier','CONFLICT','getConfig','unhandledrejection','assign','_drawRectRange','tag','EffectRefRangId','UniverProCollaboration','CollaborationDataLoaderController','path','getSheetId','isEditing','fillStyle','_blinkIntervalTimer','findNodePositionByCharIndex','_themeService','actions','getActiveSheet','_showText','selection','_cursorInfo$','_saveCache','_collaborationController','_unitStatus','_selfUnitIDs','OffLineIcon','executeCommand','clipPath','cursorInfo$','add','_urlService','disposeWithMe','pulse','next','use','OTHER_CLIENTS_EDITING','_docClipboardService','_cursorShapes','colno','with','458613hZSrcP','_entityInit$','CollaborationSocketService','asObservable','startFormulaLimitUrl','find','@univerjs/docs-ui','Enter','univer-text-blue-500','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','subUnitId','getParam','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','beginPath','SetTextSelectionsOperation','ISocketService','collab-text-anchor-','executionId','registerDependencies','lineno','strokeWidth','_renderManagerService','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','createInstance','NodePositionConvertToCursor','icon','collaboration.closeRoom','combineLatest','1768940tqkHDQ','@univerjs-pro/collaboration-client-ui','RECT','event$','serializeRangeWithSheet','_clearPolling','i18nKey','RefRangeService','values','selections','subscribeEvent','FETCH_MISS','none','cursorInfo','NO_OTHER_CLIENTS_EDITING','_transformUndoRedoStack','_initStatusListener','_offsetY','_instanceService','UniverDrawing','_initEntityListener','\x20at\x20','LocaleService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getLocalCacheKey','_unitOnClients','dispose','_cachedData','width','switchMap','decorate','createElement','onPointerLeave$','spin','NOT_COLLAB','@univerjs/engine-formula','onCommandExecuted','0\x200\x2017\x2016','MoveRangeCommandId','unsubscribe','_handleLeaveEvent','save','0\x200\x2016\x2016','CollaborationUIEventId','generateRandomId','_textBubble','[Window\x20Error]:\x20','CollaborationController','clickable','dirtyRanges','getOffsetConfig','DocSkeletonManagerService','getRelativeToViewportCoord','text','_highlight','SetDocZoomRatioOperation','WebBrowserSingleActiveUnitService','setInterval','shareReplay','_initDependencies','setConfig','collabStatus.offline','IBeforeCloseService','Rectangle','BuiltInUIPart','ColorKit','handleIRemoveRow','loadUnit','rxjs','_init','_id','setActiveRange','LOCAL_CACHE_INTERVAL_KEY','PERMISSION_DENIED','_initUnhandledRejectionListener','min','InsertRangeMoveDownCommandId','tooltipKey','FromArray','isArray','href','CLOSE_ROOM','_getFormulaLimitStatus','UNIVER_DOC','getAncestorScale','stageInfo','_render','JOIN_ROOM_FAILED','_cursor','top','requireSession','RemoteUniscriptService','pipe','currentSkeleton$','formula.calculation.started','init','/universer-api/license/formula/limit/done','React','stringify','_taskIds','_drawTextRange','collaboration.single-unit.warning','entries','IMessageService','functionsExecutedState','_initCommandInterceptor','_transformPreviousActiveRange','_refRangeService','string','_beforeCloseService','_lastPointer','_updateURLWithCurrentState','preventDefault','IUniverInstanceService','SetFormulaCalculationNotificationMutation','InsertColCommandId','arc','_entities','range','offsetY','#0B9EFB','BehaviorSubject','getCurrentRevOfUnit','runRefRangeMutations','DocStateChangeManagerService','startRow','getVpScrollXYInfoByPosToVp','toStringTag','_scheduleSaving','get','UniverCollaborationClientPlugin','RegularPolygon','CanceledError','popstate','SessionStatus','attrs','flatMap','default','reconnect','Error','xlink:href','UniverDocsUi','packageName','lineTo','_isBlinkVisible','from','_online','_session','@univerjs/docs','transformRemoteChangeset','RxDisposable','rgba(255,\x20255,\x20255,\x200.01)','transformMutation','RemoveColCommandId','Warning','resize','IRenderManagerService','USERS_LEAVE','_notificationService','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','collaboration-client-ui.config','colorChannel1','error','setParam','status','addHandlerCallback','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationUIEventService','_refreshCollabCursors','black','pushState','textRanges','InsertRangeMoveRightCommandId','getCurrentSkeleton','_dataLoaderService','max','getMemberID','mutations','green.600','permission.content','random','addClipboardHook','endRow','_lastResponseTimestamp','handleInsertRangeMoveDown','sessionStatus$','_drawAnchor','_localeService','dark:focus:univer-ring-offset-gray-800','getSheetBySheetId','_registerRenderDependencies','message','DOC_RANGE_TYPE','_collabCursorController','setTimeout','SheetsSelectionsService','current','_clearOtherTimers','_collaborationSessionService','onLocalMutation','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','key','getUnitId','_highlightSecond','getCoordByCell','_registerDependencies','_ensureSubject','startColumn','DocCollaborationEntity','search','collabStatus.synced','fillRule','1em','unitID','@univerjs-pro/collaboration-client','Shape','toPrimitive','UniverRpc','_blinkTimer','DEFAULT_WS_SESSION_TICKET_URL','_applyCommand','UniverIcon','@univerjs/sheets','_setFormulaLimitStatus','doc.mutation.rich-text-editing','dispose$','forEach',',\x200.2)','closePath','ONLINE','blue.400','_monkeyPatchLogService','bottom','_saveTaskMap','unload','UniverInstanceType','getSkeleton','includes','amd','hide','univer-appearance-none','UniverDesign','mapTo','parseInt','_scene','/universer-api/frontend/logs','onStarting','1449984NUOtFk','ranges','_labelPosition','unit','url(#$1','button','true','OTHER_CLIENT_EDITING','post','_memberService','then','@univerjs-pro/collaboration','disableLocalCache','MemberService','univer-border-none\x20univer-bg-transparent','clearInterval','_uploadLog','UniverCollaborationClientUIPlugin','shift','parse','collab-text-range-','throttleTime','TEXT_RANGE_LAYER_INDEX','currentColor','getUnit','_docTransformSelectionsService','SYNCED','_handleEvent','_draw','_send','_heartbeatTimer','measureText','ICommandService','endColumn','docStateChange$','_shapes','engine','off-line-icon_clip0_910_343','_config','subscribe','merge','touchDependencies','_toggleOnline','session.connection-failed','_cursors','_assignedColors','UniverNetwork','ErrorCode','transformMutationsWithChangeset','transformStateCache','slice','result','yellow.400','_revisionService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','HTTPService','_createSocketURL','_initResize','m1Prime','getColorFromTheme','_docTransformIMECacheService','permission.title','runId','makeDirty','_startSheetCollabCursor','stack','indicator','colorClass','complete','_onCursorUpdate','_name','_getSaveTimeout','debounce','clearTimeout','UniverProCollaborationClientUi','TRANSFORM_CHANGE_OBSERVABLE_TYPE','univerjs-icon\x20univerjs-icon-','_range','fill','toString','object','focused$','CollaborationEvent','onTransformChange$','getMergeData','whenReady','unshift','totalFormulasToCalculate','_onCursorDelete','loadOfflineData','subunit','white','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','function','COLORS','translate(.97)','getTypeOfUnitDisposed$','labelPosition','univer-text-green-500','_transformHistoryAndStateStack','on-line-icon_clip0_910_349','type','UniverDocs','_scheduleHeartbeat','send','IDocClipboardService','newValue','socket$','464165DseRpP','_commandService','releaseFormulaLimitUrl','set','UnitStatus','replaceDocRanges','_httpService','isActive','_scheduleClearOtherTimer','UniverProCollaborationClient','addEventListener','on-line-icon','_docTransformStateCacheService','_currentUsage','DisposableCollection','CollaborationUIEventService','react/jsx-runtime','_eventUnsubscribe','onRendered','operators','RevisionService','_anchorDot','enableFrontendLog','/run/','@univerjs/design','setOffsetY','89370HaFtDy','univer-inline-flex\x20univer-items-center\x20univer-justify-center','registerRenderModule','MUTATION','reason','getRangePointData','size','_getAnchorBounding','[CollaborationDataLoaderController]','editingUnit','setStateCache','21xIPHMp','_initUserListener','deserializeRangeWithSheet','CollaborationStatus','code','_checkAndWaitForCalculationPermission','map','prototype','contains','...','split','polite','drawWith','collab-rect-range-','useRef','getSheetObject','handleDeleteRangeMoveUp','span','Vector2','_colorIndex','static','_setupBeforeClosingHandler','UniverSheetsUi','Injector','getCellMatrix','univer-text-red-500','now','setUndoRedoMutationParamsCache','disposeUnit','mergeOverrideWithDependencies','handleIRemoveCol','getDocRanges','round','beforeCommandExecuted','mask','getItem','symbol','data','font','some','undoState','@univerjs/rpc','deepClone','getColor','removeParam','_initEvent','all','wsSessionTicketUrl','connectInjector','saveOfflineData','row','useDependency','replace','univer-text-orange-500','Inject','_startDocCollabCursor','takeUntil','Loading','60XYZoTb','filename','registerRefRange','SetWorksheetActivateCommand','location','url(#off-line-icon_clip0_910_343)','_maxFormulaLimit','handleInsertCol','storage','length','0.22.0','toDisposable','_updateCollabCursors','removeEventListener','name','limitInfo','SUCCESS','IImageIoService','fromEvent','_messageService','Unknown\x20user','defineProperty','@univerjs/core','onMouseMove','sheetId','_doCreateSocket','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','_disabled','replaceState','getStateCache','setItem','_stopBlinking','ILogService','182083KVYZOa','_configService','univer-flex\x20univer-items-center\x20univer-justify-center','getActiveRange','_localCacheService','getCollabCursors$','_collabSessionService','204mHxtYI','_localStorageService','searchParams','_checkCalculationAvailable','_removeClearOtherTimer','fillText','_hover','_status$','IUIPartsService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','loading-multi-icon','_pollingInterval','urlChange$','\x20-\x20','collab-client.tooltip.reconnect','startsWith','rxjs/operators','UniverEngineRender','_handleHover','_removeCollabCursors','isTransformMutationsWithChangesetSuccess','FormulaExecuteStageType','BrowserCollaborationSocketService','_docSkeletonManagerService','DesktopCollaborationStatusDisplayController','currentTheme$','9hqoVVy','toRgbString','ticket','_handleJoinEvent','UniverProtocol','rgba','eventID','WebURLService','SHEET_VIEWPORT_KEY','Disposable','saveTaskMap','M0\x200H16V16H0z','addObjects','Module','isTransformMutationFailure','UNIVER_SHEET','@univerjs/ui','saveImage','registerBeforeClose','556QOZaCz','4NqcBIr','stage','collabStatus.conflict','TEXT','_getScale','_updateLocalCursor','highlight','getMember','WebSocketService','[Unhandled\x20Rejection]:\x20','getFocusedUnit','MessageType','_toggleOffline','Tools','debug','height','handleDeleteRangeMoveLeft','getValue','bind','NodePositionConvertToRectRange','getUndoRedoMutationParamsCache','_initWindowErrorListener','filter','_injector'];_0x7a07=function(){return _0x492b55;};return _0x7a07();}
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();}
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- (function(_0x48013a,_0x1eb3f8){var _0x536057=_0x2d3f,_0x100e3c=_0x48013a();while(!![]){try{var _0xa5d7e5=-parseInt(_0x536057(0x13d))/0x1*(-parseInt(_0x536057(0x133))/0x2)+-parseInt(_0x536057(0x135))/0x3+-parseInt(_0x536057(0x12c))/0x4+-parseInt(_0x536057(0x12b))/0x5*(-parseInt(_0x536057(0x140))/0x6)+parseInt(_0x536057(0x134))/0x7*(parseInt(_0x536057(0x13c))/0x8)+-parseInt(_0x536057(0x132))/0x9*(parseInt(_0x536057(0x131))/0xa)+parseInt(_0x536057(0x13e))/0xb*(parseInt(_0x536057(0x137))/0xc);if(_0xa5d7e5===_0x1eb3f8)break;else _0x100e3c['push'](_0x100e3c['shift']());}catch(_0xaf1ee1){_0x100e3c['push'](_0x100e3c['shift']());}}}(_0x1176,0x6c2bf),function(_0x13e347,_0x5cbb5c){var _0x3bc4c9=_0x2d3f;typeof exports=='object'&&typeof module<'u'?_0x5cbb5c(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define=='function'&&define[_0x3bc4c9(0x13a)]?define(['@univerjs-pro/collaboration-client-ui',_0x3bc4c9(0x12f)],_0x5cbb5c):(_0x13e347=typeof globalThis<'u'?globalThis:_0x13e347||self,_0x5cbb5c(_0x13e347[_0x3bc4c9(0x130)],_0x13e347[_0x3bc4c9(0x13b)]));}(this,function(_0x197821,_0x5e1ef3){var _0xbec653=_0x2d3f,_0x46268e=class extends _0x5e1ef3[_0xbec653(0x12d)]{[_0xbec653(0x13f)](_0x515dc1,_0x260434,..._0x521382){var _0x463c74=_0xbec653;return this[_0x463c74(0x139)][_0x463c74(0x12e)](_0x197821[_0x463c74(0x138)])[_0x463c74(0x13f)](_0x515dc1,_0x260434,{},..._0x521382);}};_0x5e1ef3[_0xbec653(0x12d)][_0xbec653(0x136)](_0x46268e);}));function _0x2d3f(_0x5e494f,_0x3179bd){_0x5e494f=_0x5e494f-0x12b;var _0x117619=_0x1176();var _0x2d3f6a=_0x117619[_0x5e494f];return _0x2d3f6a;}function _0x1176(){var _0x1437ec=['UniverCoreFacade','74376ZwYdbs','1707AxDUWp','187gjgAIB','runOnServer','78XENFMY','32345BnTaoh','1430088sABFrm','FUniver','get','@univerjs/core/facade','UniverProCollaborationClientUi','284630uzizdD','207FrLbwD','84uwdXnx','623EpcSqf','2578419hDAHwx','extend','939876htMFaL','RemoteUniscriptService','_injector','amd'];_0x1176=function(){return _0x1437ec;};return _0x1176();}
11
+ function _0x6947(_0x258aab,_0xcf4875){_0x258aab=_0x258aab-0x1f4;var _0x14f261=_0x14f2();var _0x69473d=_0x14f261[_0x258aab];return _0x69473d;}(function(_0x3750b3,_0x15a8c9){var _0x17762c=_0x6947,_0x378106=_0x3750b3();while(!![]){try{var _0x3a9023=-parseInt(_0x17762c(0x1f4))/0x1+-parseInt(_0x17762c(0x203))/0x2*(-parseInt(_0x17762c(0x1f9))/0x3)+-parseInt(_0x17762c(0x1fc))/0x4*(parseInt(_0x17762c(0x205))/0x5)+-parseInt(_0x17762c(0x1fe))/0x6*(parseInt(_0x17762c(0x200))/0x7)+parseInt(_0x17762c(0x1fb))/0x8+-parseInt(_0x17762c(0x1fd))/0x9+parseInt(_0x17762c(0x201))/0xa;if(_0x3a9023===_0x15a8c9)break;else _0x378106['push'](_0x378106['shift']());}catch(_0x5c0410){_0x378106['push'](_0x378106['shift']());}}}(_0x14f2,0x99852),function(_0x3c5ff7,_0x292fe9){var _0xa1902c=_0x6947;typeof exports==_0xa1902c(0x1f6)&&typeof module<'u'?_0x292fe9(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define==_0xa1902c(0x204)&&define['amd']?define([_0xa1902c(0x1f8),_0xa1902c(0x202)],_0x292fe9):(_0x3c5ff7=typeof globalThis<'u'?globalThis:_0x3c5ff7||self,_0x292fe9(_0x3c5ff7['UniverProCollaborationClientUi'],_0x3c5ff7[_0xa1902c(0x1f7)]));}(this,function(_0x6de309,_0x432c41){var _0x59dcf4=_0x6947,_0x56d044=class extends _0x432c41['FUniver']{[_0x59dcf4(0x1ff)](_0x2d9dd5,_0x37ac8c,..._0x337792){var _0x245be5=_0x59dcf4;return this['_injector']['get'](_0x6de309[_0x245be5(0x1fa)])[_0x245be5(0x1ff)](_0x2d9dd5,_0x37ac8c,{},..._0x337792);}};_0x432c41['FUniver'][_0x59dcf4(0x1f5)](_0x56d044);}));function _0x14f2(){var _0x3ec030=['extend','object','UniverCoreFacade','@univerjs-pro/collaboration-client-ui','3cmSIeY','RemoteUniscriptService','1582528rDyMwg','852KGkszY','11043117NEzCEk','2262nHKcyQ','runOnServer','18683miFmSb','40968490cZAZPl','@univerjs/core/facade','415882kwcRDI','function','23185lroFhm','652881rvzUpt'];_0x14f2=function(){return _0x3ec030;};return _0x14f2();}
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- function _0x36c0(_0x361080,_0x311c28){_0x361080=_0x361080-0xc3;const _0x3535de=_0x3535();let _0x36c09b=_0x3535de[_0x361080];return _0x36c09b;}function _0x3535(){const _0x1cd53d=['UniverNetwork','/list','1610433Dkpkcs','HTTPService','deleteComment','7bHdvYW','3255440PrfEdC','UniverThreadCommentUi','YYYY/MM/DD\x20HH:mm','getCurrentUser','customRanges','getComment','Inject','size','/reply','object','addComment','parse','defineProperty','8988597ACdloL','_userService','replies','string','type','164187aidEYr','get','Solve','dataSource','/solved','onReady','CommentUpdateEventType','unitId','CommentService','add','OpenOrReOpen','function','post','replyId','prototype','setConfig','11330898RHYBSl','Solved','@univerjs-pro/thread-comment-datasource','CollaborationSessionService','@univerjs/thread-comment-ui','@univerjs-pro/license','requireSession','threadId','CommentSolvedStatus','/universer-api/user/list','ref','userId','map','@univerjs/protocol','resolved','personId','_config','Plugin','merge','commentUpdate$','symbol','@univerjs-pro/collaboration-client','values','error','filter','UniverProtocol','content','version','_sessionService','7185368ZZmbVv','@univerjs/network','UniverProThreadCommentDatasource','COMMENT','IConfigService','0.22.0','_configService','format','stringify','forEach','_initUserSync','slice','Injector','UniverThreadCommentUIPlugin','/add','reply','rangeType','dateKit','/universer-api/comment/unit/','solved','_commentService','_injector','Add','getUnit','/edit','3774932HtlecY','decorate','body','_initDataSource','listComments','iterator','rangeId','Edit','updateComment','length','UniverProLicense','pipe','amd','Disposable','18pYKebA','UniverLicensePlugin','/delete','_threadCommentModel','toPrimitive','comment','getMemberID','_init','UserManagerService','call','find','_httpService','resolveComment','CustomRangeType','userID','constructor','IThreadCommentDataSourceService','root','code','disposeWithMe','user','rxjs','default','syncUpdateMutationToColla','users','thread-comment-data-source.config','Reply','UniverProCollaborationClient','UniverCollaborationClientPlugin','createTimestamp','_threadCommentDataSource','_threadCommentDataSourceService','addUser'];_0x3535=function(){return _0x1cd53d;};return _0x3535();}(function(_0x4ca3d5,_0x55a23f){const _0x5a3649=_0x36c0,_0x53e691=_0x4ca3d5();while(!![]){try{const _0x1932b8=-parseInt(_0x5a3649(0xf9))/0x1+-parseInt(_0x5a3649(0xd6))/0x2*(-parseInt(_0x5a3649(0x10f))/0x3)+parseInt(_0x5a3649(0xc8))/0x4+-parseInt(_0x5a3649(0xfd))/0x5+parseInt(_0x5a3649(0x11f))/0x6*(parseInt(_0x5a3649(0xfc))/0x7)+parseInt(_0x5a3649(0x13c))/0x8+-parseInt(_0x5a3649(0x10a))/0x9;if(_0x1932b8===_0x55a23f)break;else _0x53e691['push'](_0x53e691['shift']());}catch(_0x551d0f){_0x53e691['push'](_0x53e691['shift']());}}}(_0x3535,0xeb086),function(_0x26d771,_0x439881){const _0x26fcbb=_0x36c0;typeof exports==_0x26fcbb(0x106)&&typeof module<'u'?_0x439881(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==_0x26fcbb(0x11a)&&define[_0x26fcbb(0xd4)]?define(['exports',_0x26fcbb(0x134),_0x26fcbb(0x124),'@univerjs/core',_0x26fcbb(0x123),_0x26fcbb(0x12c),'@univerjs/thread-comment',_0x26fcbb(0xeb),_0x26fcbb(0x13d)],_0x439881):(_0x26d771=typeof globalThis<'u'?globalThis:_0x26d771||self,_0x439881(_0x26d771[_0x26fcbb(0x13e)]={},_0x26d771[_0x26fcbb(0xf1)],_0x26d771[_0x26fcbb(0xd2)],_0x26d771['UniverCore'],_0x26d771[_0x26fcbb(0xfe)],_0x26d771[_0x26fcbb(0x138)],_0x26d771['UniverThreadComment'],_0x26d771['rxjs'],_0x26d771[_0x26fcbb(0xf7)]));}(this,function(_0x349130,_0x5bb221,_0x96ef15,_0x3a0151,_0x33b882,_0x2a6c76,_0x181456,_0x147649,_0x5571a4){const _0x2b51ab=_0x36c0;Object[_0x2b51ab(0x109)](_0x349130,Symbol['toStringTag'],{'value':'Module'});var _0x489e1f=_0x2b51ab(0x121),_0x38b07b=_0x2b51ab(0x141);let _0x14f352=_0x3ffe53=>(0x0,_0x3a0151[_0x2b51ab(0x14d)])(new Date(+_0x3ffe53))['format'](_0x2b51ab(0xff)),_0x3bbf91=async(_0x49fe5f,_0x451086)=>{const _0x9a9962=_0x2b51ab;let _0x228a97=_0x49fe5f[_0x9a9962(0x110)](_0x3a0151[_0x9a9962(0xde)]),_0x3d03f6=_0x49fe5f[_0x9a9962(0x110)](_0x5571a4[_0x9a9962(0xfa)]);_0x451086[_0x9a9962(0x145)](_0x216c51=>{_0x228a97['getUser'](_0x216c51)&&_0x451086['delete'](_0x216c51);}),_0x451086[_0x9a9962(0x104)]&&(await _0x3d03f6['get'](_0x9a9962(0x128),{'params':{'userIDs':[..._0x451086]}}))[_0x9a9962(0xca)][_0x9a9962(0xee)][_0x9a9962(0x145)](_0x122f48=>{const _0x40a96f=_0x9a9962;_0x122f48&&_0x228a97[_0x40a96f(0xf6)](_0x122f48);});};function _0x48d704(_0x11d127,_0x1edecc){return function(_0x579028,_0x7d799c){_0x1edecc(_0x579028,_0x7d799c,_0x11d127);};}function _0x2c1164(_0x3e39af,_0x1184d4,_0x20fca8,_0x1139e5){const _0xf07834=_0x2b51ab;var _0xbe0d4d=arguments['length'],_0x5c613c=_0xbe0d4d<0x3?_0x1184d4:_0x1139e5===null?_0x1139e5=Object['getOwnPropertyDescriptor'](_0x1184d4,_0x20fca8):_0x1139e5,_0x2475ef;if(typeof Reflect==_0xf07834(0x106)&&typeof Reflect[_0xf07834(0xc9)]==_0xf07834(0x11a))_0x5c613c=Reflect[_0xf07834(0xc9)](_0x3e39af,_0x1184d4,_0x20fca8,_0x1139e5);else{for(var _0x5a694d=_0x3e39af['length']-0x1;_0x5a694d>=0x0;_0x5a694d--)(_0x2475ef=_0x3e39af[_0x5a694d])&&(_0x5c613c=(_0xbe0d4d<0x3?_0x2475ef(_0x5c613c):_0xbe0d4d>0x3?_0x2475ef(_0x1184d4,_0x20fca8,_0x5c613c):_0x2475ef(_0x1184d4,_0x20fca8))||_0x5c613c);}return _0xbe0d4d>0x3&&_0x5c613c&&Object[_0xf07834(0x109)](_0x1184d4,_0x20fca8,_0x5c613c),_0x5c613c;}let _0x47564e=class extends _0x3a0151['Disposable']{constructor(_0x47fe6d,_0x6d25cc,_0x2d38a8,_0x58026d){const _0x2d6f84=_0x2b51ab;super(),this[_0x2d6f84(0xc3)]=_0x47fe6d,this[_0x2d6f84(0xd9)]=_0x6d25cc,this[_0x2d6f84(0x10b)]=_0x2d38a8,this[_0x2d6f84(0xc4)]=_0x58026d,this[_0x2d6f84(0xdd)](),this[_0x2d6f84(0x146)]();}['_initUserSync'](){const _0x300a26=_0x2b51ab;this[_0x300a26(0xe9)](this[_0x300a26(0xd9)][_0x300a26(0x132)][_0x300a26(0xd3)]((0x0,_0x147649['bufferTime'])(0x10))['subscribe'](_0x34432d=>{const _0x38ae5f=_0x300a26;let _0x1fbcdd=new Set();_0x34432d['forEach'](_0x228c5f=>{const _0x1526cb=_0x36c0;switch(_0x228c5f[_0x1526cb(0x10e)]){case _0x1526cb(0x118):{let _0x57b381=_0x228c5f['payload'][_0x1526cb(0x12e)];_0x1fbcdd['add'](_0x57b381);break;}default:break;}}),_0x3bbf91(this[_0x38ae5f(0xc4)],_0x1fbcdd);}));}[_0x2b51ab(0xdd)](){const _0x7fc73d=_0x2b51ab;this[_0x7fc73d(0xe9)](this[_0x7fc73d(0xc3)][_0x7fc73d(0x132)]['subscribe'](async _0x75ed7=>{const _0x4d1437=_0x7fc73d;var _0x2b3417;let _0xf59bb3=(_0x2b3417=this[_0x4d1437(0xd9)][_0x4d1437(0xc6)](_0x75ed7[_0x4d1437(0x116)])['find'](_0xc7c765=>_0xc7c765[_0x4d1437(0x126)]===_0x75ed7[_0x4d1437(0x126)]))==null?void 0x0:_0x2b3417['root'];if(!_0xf59bb3)return;let {unitId:_0x5aa5a6,subUnitId:_0xdb7983}=_0xf59bb3;switch(_0x75ed7[_0x4d1437(0xea)]&&this[_0x4d1437(0x10b)][_0x4d1437(0xf6)](_0x75ed7['user']),_0x75ed7[_0x4d1437(0x10e)]){case _0x2a6c76[_0x4d1437(0x115)][_0x4d1437(0xc5)]:break;case _0x2a6c76[_0x4d1437(0x115)][_0x4d1437(0xf0)]:var _0x497ad6,_0x2c8ed7;this[_0x4d1437(0xd9)][_0x4d1437(0x107)](_0x5aa5a6,_0xdb7983,{'unitId':_0x5aa5a6,'subUnitId':_0xdb7983,'ref':'','id':_0x75ed7[_0x4d1437(0x11c)],'dT':_0x14f352(+_0x75ed7['createTimestamp']),'threadId':_0x75ed7[_0x4d1437(0x126)],'personId':(_0x497ad6=(_0x2c8ed7=_0x75ed7[_0x4d1437(0xea)])==null?void 0x0:_0x2c8ed7[_0x4d1437(0xe4)])==null?_0x75ed7[_0x4d1437(0x12a)]:_0x497ad6,'text':JSON['parse'](_0x75ed7[_0x4d1437(0x139)]),'parentId':_0xf59bb3['id']});break;case _0x2a6c76['CommentUpdateEventType']['Delete']:{let _0x3f3e30=this[_0x4d1437(0xd9)][_0x4d1437(0x102)](_0x5aa5a6,_0xdb7983,_0x75ed7[_0x4d1437(0x11c)]);_0x3f3e30&&_0x3f3e30['parentId']&&this[_0x4d1437(0xd9)]['deleteComment'](_0x5aa5a6,_0xdb7983,_0x75ed7['replyId']);break;}case _0x2a6c76[_0x4d1437(0x115)][_0x4d1437(0xcf)]:this[_0x4d1437(0xd9)][_0x4d1437(0xd0)](_0x5aa5a6,_0xdb7983,{'commentId':_0x75ed7[_0x4d1437(0x11c)],'text':JSON[_0x4d1437(0x108)](_0x75ed7[_0x4d1437(0x139)])});break;case _0x2a6c76[_0x4d1437(0x115)][_0x4d1437(0x111)]:{var _0x53c49d;let _0x4d55ad=(_0x53c49d=this[_0x4d1437(0xd9)][_0x4d1437(0xc6)](_0x75ed7[_0x4d1437(0x116)])[_0x4d1437(0xe0)](_0x534b5b=>_0x534b5b[_0x4d1437(0x126)]===_0x75ed7[_0x4d1437(0x126)]))==null?void 0x0:_0x53c49d[_0x4d1437(0xe7)];_0x4d55ad&&this[_0x4d1437(0xd9)][_0x4d1437(0xe2)](_0x5aa5a6,_0xdb7983,_0x4d55ad['id'],_0x75ed7[_0x4d1437(0x14f)]===_0x2a6c76[_0x4d1437(0x127)][_0x4d1437(0x120)]);break;}default:break;}}));}};_0x47564e=_0x2c1164([_0x48d704(0x0,(0x0,_0x3a0151[_0x2b51ab(0x103)])(_0x5bb221[_0x2b51ab(0x117)])),_0x48d704(0x1,(0x0,_0x3a0151[_0x2b51ab(0x103)])(_0x181456['ThreadCommentModel'])),_0x48d704(0x2,(0x0,_0x3a0151[_0x2b51ab(0x103)])(_0x3a0151[_0x2b51ab(0xde)])),_0x48d704(0x3,(0x0,_0x3a0151['Inject'])(_0x3a0151[_0x2b51ab(0x148)]))],_0x47564e);let _0x58af1e=_0x2b51ab(0xef);Symbol(_0x58af1e);let _0x5a685c={};function _0xa552a(_0x2c0183,_0x67dad0){const _0x79ac58=_0x2b51ab;let _0xea3f4b=_0x2c0183[_0x79ac58(0x10c)][0x0];return{..._0x67dad0,'id':_0xea3f4b[_0x79ac58(0x11c)],'resolved':_0x2c0183['solved']===0x1,'dT':_0x14f352(_0xea3f4b[_0x79ac58(0xf3)]),'personId':_0xea3f4b['userId'],'threadId':_0xea3f4b[_0x79ac58(0x126)]};}function _0x3f85a6(_0xed968c,_0x533bce,_0x115d3b){const _0x2fb0a5=_0x2b51ab;var _0x1b416f,_0x290a17;if(((_0x1b416f=_0xed968c==null||(_0x290a17=_0xed968c[_0x2fb0a5(0x10c)])==null?void 0x0:_0x290a17[_0x2fb0a5(0xd1)])==null?0x0:_0x1b416f)>0x0){let _0x3272b4=(_0x16dfca,_0x561751)=>({'id':_0x16dfca['replyId'],'threadId':_0x16dfca[_0x2fb0a5(0x126)],'dT':_0x14f352(_0x16dfca[_0x2fb0a5(0xf3)]),'personId':_0x16dfca[_0x2fb0a5(0x12a)],'resolved':_0xed968c[_0x2fb0a5(0x14f)]===_0x2a6c76['CommentSolvedStatus'][_0x2fb0a5(0x120)],'unitId':_0x533bce,'subUnitId':_0x115d3b,'text':JSON[_0x2fb0a5(0x108)](_0x16dfca[_0x2fb0a5(0x139)]),'parentId':_0x561751}),_0x423a39=_0x3272b4(_0xed968c[_0x2fb0a5(0x10c)][0x0]);return{..._0x423a39,'children':_0xed968c[_0x2fb0a5(0x10c)][_0x2fb0a5(0x147)](0x1)[_0x2fb0a5(0x12b)](_0x1c4b05=>_0x3272b4(_0x1c4b05,_0x423a39['id']))};}return null;}let _0x9f019f=class{constructor(_0x2f136b,_0x2baa43,_0x4ab68a){const _0x6f0eeb=_0x2b51ab;this[_0x6f0eeb(0xe1)]=_0x2f136b,this[_0x6f0eeb(0x10b)]=_0x2baa43,this['_sessionService']=_0x4ab68a;}async[_0x2b51ab(0x107)](_0x13df7a){const _0x4f94c5=_0x2b51ab;var _0x23e54f,_0x1d61df;let {parentId:_0xbe3c59,unitId:_0x5f4510,text:_0x53db41,threadId:_0x1eb48c}=_0x13df7a,_0xdf90e4=(_0x23e54f=(_0x1d61df=_0x53db41[_0x4f94c5(0x101)])==null?void 0x0:_0x1d61df['filter'](_0x5f595a=>_0x5f595a['rangeType']===_0x3a0151[_0x4f94c5(0xe3)][_0x4f94c5(0x13f)])[_0x4f94c5(0x12b)](_0x1230d1=>_0x1230d1[_0x4f94c5(0xce)]))==null?[]:_0x23e54f,_0x1c5a8b=JSON[_0x4f94c5(0x144)](_0x53db41),_0x524f44=(await this[_0x4f94c5(0x13b)]['requireSession'](_0x5f4510))[_0x4f94c5(0xdc)]();if(_0xbe3c59){let _0x1f900f={'memberId':_0x524f44,'unitId':_0x5f4510,'content':_0x1c5a8b,'mention':_0xdf90e4,'threadId':_0x1eb48c},_0x4f16ea=(await this['_httpService'][_0x4f94c5(0x11b)](_0x4f94c5(0x14e)+_0x5f4510+_0x4f94c5(0x105),{'body':_0x1f900f}))[_0x4f94c5(0xca)][_0x4f94c5(0x14b)];return{..._0x13df7a,'id':_0x4f16ea[_0x4f94c5(0x11c)],'dT':(0x0,_0x3a0151['dateKit'])(+_0x4f16ea[_0x4f94c5(0xf3)])[_0x4f94c5(0x143)](_0x4f94c5(0xff)),'personId':_0x4f16ea[_0x4f94c5(0x12a)]};}else{let _0x55640c={'memberId':_0x524f44,'unitId':_0x5f4510,'content':_0x1c5a8b,'mention':_0xdf90e4};return _0xa552a((await this['_httpService']['post'](_0x4f94c5(0x14e)+_0x5f4510+_0x4f94c5(0x14a),{'body':_0x55640c}))[_0x4f94c5(0xca)][_0x4f94c5(0xdb)],_0x13df7a);}}async[_0x2b51ab(0xd0)](_0xca2c2e){const _0x805a37=_0x2b51ab;var _0x51a464,_0x5a3bb6;let {text:_0x44ba7c,unitId:_0x4bf85e}=_0xca2c2e,_0x4b91df=(_0x51a464=(_0x5a3bb6=_0x44ba7c[_0x805a37(0x101)])==null?void 0x0:_0x5a3bb6['filter'](_0x146881=>_0x146881[_0x805a37(0x14c)]===_0x3a0151[_0x805a37(0xe3)][_0x805a37(0x13f)])['map'](_0x56428b=>_0x56428b[_0x805a37(0xce)]))==null?[]:_0x51a464,_0x575f25=JSON[_0x805a37(0x144)](_0x44ba7c),_0x392dbf=_0xca2c2e[_0x805a37(0x126)],_0x425d3d=_0xca2c2e['id'],_0x2066c1={'memberId':(await this[_0x805a37(0x13b)]['requireSession'](_0x4bf85e))[_0x805a37(0xdc)](),'unitId':_0x4bf85e,'threadId':_0x392dbf,'mention':_0x4b91df,'content':_0x575f25,'replyId':_0x425d3d},_0x2ef7d2=await this[_0x805a37(0xe1)][_0x805a37(0x11b)](_0x805a37(0x14e)+_0x4bf85e+_0x805a37(0xc7),{'body':_0x2066c1});return!_0x2ef7d2['body'][_0x805a37(0x136)]||_0x2ef7d2['body'][_0x805a37(0x136)]['code']===0x1;}async[_0x2b51ab(0xe2)](_0x174dd5){const _0xf5ac74=_0x2b51ab;let {unitId:_0x2b23ec}=_0x174dd5,_0x7a535d=_0x174dd5[_0xf5ac74(0x126)],_0x5bfc1a={'memberId':this[_0xf5ac74(0x10b)][_0xf5ac74(0x100)]()[_0xf5ac74(0xe4)],'unitId':_0x2b23ec,'threadId':_0x7a535d,'solved':_0x174dd5[_0xf5ac74(0x12d)]?_0x2a6c76[_0xf5ac74(0x127)]['Solved']:_0x2a6c76[_0xf5ac74(0x127)][_0xf5ac74(0x119)]},_0x1f435d=await this[_0xf5ac74(0xe1)][_0xf5ac74(0x11b)]('/universer-api/comment/unit/'+_0x2b23ec+_0xf5ac74(0x113),{'body':_0x5bfc1a});return!_0x1f435d['body'][_0xf5ac74(0x136)]||_0x1f435d[_0xf5ac74(0xca)][_0xf5ac74(0x136)][_0xf5ac74(0xe8)]===0x1;}async[_0x2b51ab(0xfb)](_0xdf8118,_0x390b52,_0xcc5553,_0x6713fb){const _0x378988=_0x2b51ab;let _0x47dadb={'memberId':(await this[_0x378988(0x13b)][_0x378988(0x125)](_0xdf8118))['getMemberID'](),'threadId':_0xcc5553,'replyId':_0x6713fb,'unitId':_0xdf8118},_0x5618fd=await this[_0x378988(0xe1)][_0x378988(0x11b)](_0x378988(0x14e)+_0xdf8118+_0x378988(0xd8),{'body':_0x47dadb});return!_0x5618fd[_0x378988(0xca)][_0x378988(0x136)]||_0x5618fd[_0x378988(0xca)][_0x378988(0x136)][_0x378988(0xe8)]===0x1;}async[_0x2b51ab(0xcc)](_0x346f6a,_0x4f1aba,_0x5744dd){const _0x3a547e=_0x2b51ab;let _0xbb5714={'unitId':_0x346f6a,'threadId':_0x5744dd},_0x322ff0=await this[_0x3a547e(0xe1)][_0x3a547e(0x11b)]('/universer-api/comment/unit/'+_0x346f6a+_0x3a547e(0xf8),{'body':_0xbb5714}),_0x573960=_0x5744dd[_0x3a547e(0x12b)](_0x23e9da=>_0x3f85a6(_0x322ff0[_0x3a547e(0xca)]['comments'][_0x23e9da],_0x346f6a,_0x4f1aba))[_0x3a547e(0x137)](Boolean);return Object[_0x3a547e(0x135)](_0x322ff0[_0x3a547e(0xca)][_0x3a547e(0xee)])[_0x3a547e(0x145)](_0x3110b9=>{const _0x593983=_0x3a547e;this[_0x593983(0x10b)]['addUser'](_0x3110b9);}),_0x573960;}['saveCommentToSnapshot'](_0x536b9f){const _0x4c03b5=_0x2b51ab;return{'id':_0x536b9f['id'],'threadId':_0x536b9f[_0x4c03b5(0x126)],'ref':_0x536b9f[_0x4c03b5(0x129)]};}};_0x9f019f=_0x2c1164([_0x48d704(0x0,(0x0,_0x3a0151[_0x2b51ab(0x103)])(_0x5571a4[_0x2b51ab(0xfa)])),_0x48d704(0x1,(0x0,_0x3a0151[_0x2b51ab(0x103)])(_0x3a0151[_0x2b51ab(0xde)])),_0x48d704(0x2,(0x0,_0x3a0151[_0x2b51ab(0x103)])(_0x5bb221[_0x2b51ab(0x122)]))],_0x9f019f);let _0x9e288b=class extends _0x3a0151[_0x2b51ab(0xd5)]{constructor(_0x370790,_0x4c323d){const _0x45f990=_0x2b51ab;super(),this[_0x45f990(0xf5)]=_0x370790,this[_0x45f990(0xf4)]=_0x4c323d,this[_0x45f990(0xcb)]();}['_initDataSource'](){const _0x3d259d=_0x2b51ab;this[_0x3d259d(0xf5)][_0x3d259d(0x112)]=this['_threadCommentDataSource'],this[_0x3d259d(0xf5)][_0x3d259d(0xed)]=!0x1;}};_0x9e288b=_0x2c1164([_0x48d704(0x0,_0x181456[_0x2b51ab(0xe6)]),_0x48d704(0x1,(0x0,_0x3a0151['Inject'])(_0x9f019f))],_0x9e288b);function _0x8cc3e4(_0x37a387){'@babel/helpers - typeof';const _0xe6252a=_0x2b51ab;return _0x8cc3e4=typeof Symbol==_0xe6252a(0x11a)&&typeof Symbol[_0xe6252a(0xcd)]==_0xe6252a(0x133)?function(_0x56c525){return typeof _0x56c525;}:function(_0x5caaba){const _0x477282=_0xe6252a;return _0x5caaba&&typeof Symbol==_0x477282(0x11a)&&_0x5caaba[_0x477282(0xe5)]===Symbol&&_0x5caaba!==Symbol[_0x477282(0x11d)]?'symbol':typeof _0x5caaba;},_0x8cc3e4(_0x37a387);}function _0x2b5ef7(_0x4caed8,_0x2803ea){const _0x1b75ad=_0x2b51ab;if(_0x8cc3e4(_0x4caed8)!=_0x1b75ad(0x106)||!_0x4caed8)return _0x4caed8;var _0x435b13=_0x4caed8[Symbol[_0x1b75ad(0xda)]];if(_0x435b13!==void 0x0){var _0x36c4c3=_0x435b13[_0x1b75ad(0xdf)](_0x4caed8,_0x2803ea||_0x1b75ad(0xec));if(_0x8cc3e4(_0x36c4c3)!=_0x1b75ad(0x106))return _0x36c4c3;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2803ea===_0x1b75ad(0x10d)?String:Number)(_0x4caed8);}function _0x8a5d86(_0x745d31){const _0xccde3=_0x2b51ab;var _0x48a43e=_0x2b5ef7(_0x745d31,_0xccde3(0x10d));return _0x8cc3e4(_0x48a43e)==_0xccde3(0x133)?_0x48a43e:_0x48a43e+'';}function _0x3bf0d4(_0x7ba6be,_0x16f43e,_0x10308d){const _0x16d0e6=_0x2b51ab;return(_0x16f43e=_0x8a5d86(_0x16f43e))in _0x7ba6be?Object[_0x16d0e6(0x109)](_0x7ba6be,_0x16f43e,{'value':_0x10308d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x7ba6be[_0x16f43e]=_0x10308d,_0x7ba6be;}let _0x41f57e=class extends _0x3a0151[_0x2b51ab(0x130)]{constructor(_0x273e61=_0x5a685c,_0xab5a47,_0x55c6e9){const _0x51ea73=_0x2b51ab;super(),this[_0x51ea73(0x12f)]=_0x273e61,this['_injector']=_0xab5a47,this[_0x51ea73(0x142)]=_0x55c6e9;let {..._0xb95f9e}=(0x0,_0x3a0151[_0x51ea73(0x131)])({},_0x5a685c,this['_config']);this[_0x51ea73(0x142)][_0x51ea73(0x11e)](_0x58af1e,_0xb95f9e);}['onStarting'](){const _0x16bce2=_0x2b51ab;[[_0x9f019f],[_0x9e288b],[_0x47564e]][_0x16bce2(0x145)](_0x2baf5e=>{this['_injector']['add'](_0x2baf5e);});}[_0x2b51ab(0x114)](){const _0x447e1c=_0x2b51ab;this[_0x447e1c(0xc4)][_0x447e1c(0x110)](_0x9e288b),this[_0x447e1c(0xc4)][_0x447e1c(0x110)](_0x47564e);}};_0x3bf0d4(_0x41f57e,'pluginName','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN'),_0x3bf0d4(_0x41f57e,'packageName',_0x489e1f),_0x3bf0d4(_0x41f57e,_0x2b51ab(0x13a),_0x38b07b),_0x41f57e=_0x2c1164([(0x0,_0x3a0151['DependentOn'])(_0x33b882[_0x2b51ab(0x149)],_0x5bb221[_0x2b51ab(0xf2)],_0x96ef15[_0x2b51ab(0xd7)]),_0x48d704(0x1,(0x0,_0x3a0151['Inject'])(_0x3a0151[_0x2b51ab(0x148)])),_0x48d704(0x2,_0x3a0151[_0x2b51ab(0x140)])],_0x41f57e),Object[_0x2b51ab(0x109)](_0x349130,'UniverThreadCommentDataSourcePlugin',{'enumerable':!0x0,'get':function(){return _0x41f57e;}});}));
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();}
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- (function(_0x127219,_0x3afbfe){const _0x226692=_0x4c62,_0x304333=_0x127219();while(!![]){try{const _0x957dd7=parseInt(_0x226692(0x177))/0x1*(-parseInt(_0x226692(0x1c6))/0x2)+-parseInt(_0x226692(0x160))/0x3*(parseInt(_0x226692(0x19a))/0x4)+-parseInt(_0x226692(0xfe))/0x5*(-parseInt(_0x226692(0x8a))/0x6)+parseInt(_0x226692(0x3db))/0x7*(-parseInt(_0x226692(0x15d))/0x8)+-parseInt(_0x226692(0x25c))/0x9+parseInt(_0x226692(0x94))/0xa*(-parseInt(_0x226692(0x3e0))/0xb)+parseInt(_0x226692(0x129))/0xc*(parseInt(_0x226692(0x274))/0xd);if(_0x957dd7===_0x3afbfe)break;else _0x304333['push'](_0x304333['shift']());}catch(_0x16079f){_0x304333['push'](_0x304333['shift']());}}}(_0x4342,0x947eb),function(_0x17516a,_0x4a18bb){const _0x190922=_0x4c62;typeof exports==_0x190922(0x35b)&&typeof module<'u'?_0x4a18bb(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==_0x190922(0x174)&&define[_0x190922(0x1c5)]?define(_0x190922(0x2bb)[_0x190922(0x1c4)]('.'),_0x4a18bb):(_0x17516a=typeof globalThis<'u'?globalThis:_0x17516a||self,_0x4a18bb(_0x17516a[_0x190922(0x360)]={},_0x17516a[_0x190922(0x73)],_0x17516a[_0x190922(0xdb)],_0x17516a[_0x190922(0x384)],_0x17516a['UniverEngineRender'],_0x17516a[_0x190922(0x2c0)],_0x17516a[_0x190922(0x331)],_0x17516a[_0x190922(0x3a8)],_0x17516a[_0x190922(0x137)],_0x17516a[_0x190922(0x3e1)],_0x17516a['UniverProCollaboration'],_0x17516a[_0x190922(0x3b7)],_0x17516a[_0x190922(0x377)],_0x17516a[_0x190922(0x15a)],_0x17516a['UniverProSheetsSparkline'],_0x17516a[_0x190922(0xf5)],_0x17516a[_0x190922(0x307)],_0x17516a[_0x190922(0x17a)],_0x17516a[_0x190922(0x32f)],_0x17516a[_0x190922(0x169)],_0x17516a[_0x190922(0x243)],_0x17516a[_0x190922(0x120)],_0x17516a[_0x190922(0x3f0)],_0x17516a[_0x190922(0x23b)],_0x17516a[_0x190922(0x32d)],_0x17516a[_0x190922(0x32d)]));}(this,function(_0x4f788d,_0x38912f,_0x5d4152,_0x41d1bb,_0x487591,_0x56c972,_0x188389,_0x33a3a7,_0x19476b,_0x617684,_0x3d0c58,_0xc739c4,_0x5056d5,_0x1b83a4,_0x125247,_0x3b22c5,_0x3a9357,_0x34799e,_0x459839,_0x14e7bd,_0x245917,_0xf83413,_0x28c836,_0x579c50,_0x18424f,_0x46537a){const _0x222100=_0x4c62;Object['defineProperty'](_0x4f788d,Symbol[_0x222100(0x2f2)],{'value':_0x222100(0x21c)});function _0x2738a8(_0x468154=_0x222100(0x252)){const _0x2090d1=_0x222100;return{'collaboration':[{'id':_0x3d0c58[_0x2090d1(0x147)]['id'],'action':_0x468154+'createSheet'},{'id':_0x3d0c58['RevertRevisionMutation']['id'],'action':_0x468154+_0x2090d1(0xd7)}],'sheets':[{'id':_0x56c972[_0x2090d1(0x3d5)]['id'],'action':_0x468154+_0x2090d1(0x2af)},{'id':_0x56c972[_0x2090d1(0x3a7)]['id'],'action':_0x468154+_0x2090d1(0x1e6)},{'id':_0x56c972[_0x2090d1(0x39b)]['id'],'action':_0x468154+_0x2090d1(0x7a)},{'id':_0x56c972['SetWorksheetOrderMutation']['id'],'action':_0x468154+'reorderSheet'},{'id':_0x56c972[_0x2090d1(0x2fc)]['id'],'action':_0x468154+'hideSheet'},{'id':_0x56c972[_0x2090d1(0x27b)]['id'],'action':_0x468154+_0x2090d1(0x8f)},{'id':_0x56c972['SetTabColorMutation']['id'],'action':_0x468154+_0x2090d1(0x2e8)},{'id':_0x56c972['SetWorkbookNameMutation']['id'],'action':_0x468154+_0x2090d1(0x324)},{'id':_0x56c972[_0x2090d1(0x2e0)]['id'],'action':_0x468154+'insertRow'},{'id':_0x56c972['InsertColMutation']['id'],'action':_0x468154+_0x2090d1(0x3fd)},{'id':_0x56c972[_0x2090d1(0x34d)]['id'],'action':_0x468154+_0x2090d1(0x374)},{'id':_0x56c972[_0x2090d1(0x3a4)]['id'],'action':_0x468154+_0x2090d1(0x345)},{'id':_0x56c972['MoveRowsMutation']['id'],'action':_0x468154+_0x2090d1(0x3de)},{'id':_0x56c972[_0x2090d1(0x1ec)]['id'],'action':_0x468154+'moveCols'},{'id':_0x56c972['SetRowVisibleMutation']['id'],'action':_0x468154+_0x2090d1(0x2c4)},{'id':_0x56c972[_0x2090d1(0x71)]['id'],'action':_0x468154+_0x2090d1(0x96)},{'id':_0x56c972['SetColVisibleMutation']['id'],'action':_0x468154+'showCol'},{'id':_0x56c972['SetColHiddenMutation']['id'],'action':_0x468154+_0x2090d1(0x3fc)},{'id':_0x56c972['SetWorksheetRowHeightMutation']['id'],'action':_0x468154+_0x2090d1(0x218)},{'id':_0x56c972['SetWorksheetColWidthMutation']['id'],'action':_0x468154+_0x2090d1(0x2ed)},{'id':_0x56c972[_0x2090d1(0xb8)]['id'],'action':_0x468154+_0x2090d1(0x293)},{'id':_0x56c972[_0x2090d1(0x335)]['id'],'action':_0x468154+_0x2090d1(0x39e)},{'id':_0x56c972['SetRowDataMutation']['id'],'action':_0x468154+'setRowData'},{'id':_0x56c972[_0x2090d1(0x2e5)]['id'],'action':_0x468154+_0x2090d1(0x2dc)},{'id':_0x56c972[_0x2090d1(0x2cf)]['id'],'action':_0x468154+'setRowCount'},{'id':_0x56c972['SetWorksheetColumnCountMutation']['id'],'action':_0x468154+_0x2090d1(0x1a2)},{'id':_0x56c972[_0x2090d1(0x3eb)]['id'],'action':_0x468154+_0x2090d1(0x395)},{'id':_0x56c972['MoveRangeMutation']['id'],'action':_0x468154+_0x2090d1(0x25b)},{'id':_0x56c972[_0x2090d1(0x3bb)]['id'],'action':_0x468154+_0x2090d1(0x33f)},{'id':_0x56c972[_0x2090d1(0x126)]['id'],'action':_0x468154+_0x2090d1(0x34b)},{'id':_0x56c972['RemoveWorksheetMergeMutation']['id'],'action':_0x468154+'unmergeCells'},{'id':_0x56c972[_0x2090d1(0x98)]['id'],'action':_0x468154+'setFrozen'},{'id':_0x56c972[_0x2090d1(0x1b3)]['id'],'action':_0x468154+'toggleGridlines'},{'id':_0x56c972['SetGridlinesColorMutation']['id'],'action':_0x468154+_0x2090d1(0xd9)},{'id':_0x56c972[_0x2090d1(0x3a9)]['id'],'action':_0x468154+_0x2090d1(0x2d8)},{'id':_0x56c972[_0x2090d1(0x12b)]['id'],'action':_0x468154+_0x2090d1(0x386)},{'id':_0x56c972[_0x2090d1(0x3b4)]['id'],'action':_0x468154+_0x2090d1(0x298)},{'id':_0x56c972[_0x2090d1(0x164)]['id'],'action':_0x468154+_0x2090d1(0x86)},{'id':_0x56c972['DeleteWorksheetProtectionMutation']['id'],'action':_0x468154+_0x2090d1(0x339)},{'id':_0x56c972[_0x2090d1(0x3cc)]['id'],'action':_0x468154+_0x2090d1(0x231)},{'id':_0x56c972['SetRangeProtectionMutation']['id'],'action':_0x468154+_0x2090d1(0x35a)},{'id':_0x56c972[_0x2090d1(0x3f9)]['id'],'action':_0x468154+_0x2090d1(0x150)},{'id':_0x56c972[_0x2090d1(0x13b)]['id'],'action':_0x468154+_0x2090d1(0x33c)},{'id':_0x56c972[_0x2090d1(0xf6)]['id'],'action':_0x468154+'setNumfmt'},{'id':_0x56c972[_0x2090d1(0x14b)]['id'],'action':_0x468154+'removeNumfmt'},{'id':_0x56c972[_0x2090d1(0x357)]['id'],'action':_0x468154+_0x2090d1(0x314)},{'id':_0x56c972[_0x2090d1(0x30e)]['id'],'action':_0x468154+_0x2090d1(0x93)},{'id':_0x56c972[_0x2090d1(0x87)]['id'],'action':_0x468154+'removeRangeTheme'},{'id':_0x56c972[_0x2090d1(0x1f5)]['id'],'action':_0x468154+'setWorksheetRangeTheme'},{'id':_0x56c972['DeleteWorksheetRangeThemeStyleMutation']['id'],'action':_0x468154+_0x2090d1(0x2e3)}],'sheetsConditionalFormatting':[{'id':_0x3a9357[_0x2090d1(0x2dd)]['id'],'action':_0x468154+'setCF'},{'id':_0x3a9357[_0x2090d1(0x36a)]['id'],'action':_0x468154+_0x2090d1(0x1cd)},{'id':_0x3a9357[_0x2090d1(0xd1)]['id'],'action':_0x468154+'deleteCF'},{'id':_0x3a9357[_0x2090d1(0x10e)]['id'],'action':_0x468154+_0x2090d1(0x165)}],'sheetsFilter':[{'id':_0x459839['SetSheetsFilterRangeMutation']['id'],'action':_0x468154+_0x2090d1(0x3c1)},{'id':_0x459839[_0x2090d1(0x3c6)]['id'],'action':_0x468154+_0x2090d1(0x2d3)},{'id':_0x459839[_0x2090d1(0x3b5)]['id'],'action':_0x468154+_0x2090d1(0x1b9)},{'id':_0x459839[_0x2090d1(0x221)]['id'],'action':_0x468154+_0x2090d1(0x2eb)}],'dataValidation':[{'id':_0x3b22c5[_0x2090d1(0x2ff)]['id'],'action':_0x468154+_0x2090d1(0x3dc)},{'id':_0x3b22c5[_0x2090d1(0x24e)]['id'],'action':_0x468154+'setDV'},{'id':_0x3b22c5[_0x2090d1(0x131)]['id'],'action':_0x468154+_0x2090d1(0x153)}],'sheetsChart':[{'id':_0xc739c4[_0x2090d1(0x2b6)]['id'],'action':_0x468154+_0x2090d1(0x1cc)},{'id':_0xc739c4[_0x2090d1(0x26c)]['id'],'action':_0x468154+_0x2090d1(0xb9)},{'id':_0xc739c4[_0x2090d1(0x1db)]['id'],'action':_0x468154+'updateChartConfig'},{'id':_0xc739c4['ChartUpdateSourceConfigMutation']['id'],'action':_0x468154+_0x2090d1(0x262)}],'sheetsSparkline':[{'id':_0x125247[_0x2090d1(0x163)]['id'],'action':_0x468154+_0x2090d1(0x2cc)},{'id':_0x125247[_0x2090d1(0xa4)]['id'],'action':_0x468154+_0x2090d1(0x398)},{'id':_0x125247[_0x2090d1(0x378)]['id'],'action':_0x468154+'removeSparkline'}],'sheetsPivot':[{'id':_0x5056d5[_0x2090d1(0x21a)]['id'],'action':_0x468154+_0x2090d1(0x2ac)},{'id':_0x5056d5[_0x2090d1(0x278)]['id'],'action':_0x468154+_0x2090d1(0x29c)},{'id':_0x5056d5[_0x2090d1(0x10c)]['id'],'action':_0x468154+_0x2090d1(0x20b)},{'id':_0x5056d5[_0x2090d1(0xfa)]['id'],'action':_0x468154+_0x2090d1(0xf7)},{'id':_0x5056d5[_0x2090d1(0x185)]['id'],'action':_0x468154+_0x2090d1(0x372)},{'id':_0x5056d5['AddPivotFieldMutation']['id'],'action':_0x468154+'addPivotField'},{'id':_0x5056d5[_0x2090d1(0x69)]['id'],'action':_0x468154+_0x2090d1(0x3c9)},{'id':_0x5056d5[_0x2090d1(0x2ee)]['id'],'action':_0x468154+_0x2090d1(0x3ff)},{'id':_0x5056d5[_0x2090d1(0x323)]['id'],'action':_0x468154+_0x2090d1(0x22e)},{'id':_0x5056d5[_0x2090d1(0x364)]['id'],'action':_0x468154+_0x2090d1(0x380)},{'id':_0x5056d5[_0x2090d1(0x2ec)]['id'],'action':_0x468154+'updatePivotFieldSource'},{'id':_0x5056d5[_0x2090d1(0x38b)]['id'],'action':_0x468154+'setPivotFieldFormat'},{'id':_0x5056d5[_0x2090d1(0x2da)]['id'],'action':_0x468154+_0x2090d1(0x167)},{'id':_0x5056d5[_0x2090d1(0x246)]['id'],'action':_0x468154+_0x2090d1(0x1e7)},{'id':_0x5056d5['SetPivotSortMutation']['id'],'action':_0x468154+_0x2090d1(0x77)},{'id':_0x5056d5[_0x2090d1(0x121)]['id'],'action':_0x468154+'setPivotCollapse'},{'id':_0x5056d5[_0x2090d1(0x22f)]['id'],'action':_0x468154+_0x2090d1(0x1d5)}],'sheetsShape':[{'id':_0x1b83a4['InsertSheetsShapeMutation']['id'],'action':_0x468154+'insertShape'},{'id':_0x1b83a4[_0x2090d1(0x209)]['id'],'action':_0x468154+_0x2090d1(0x180)},{'id':_0x1b83a4['UpdateSheetsShapeDataMutation']['id'],'action':_0x468154+_0x2090d1(0x2db)},{'id':_0x1b83a4['UpdateSheetsShapeTypeMutation']['id'],'action':_0x468154+_0x2090d1(0x17e)}],'sheetsTable':[{'id':_0x14e7bd[_0x2090d1(0xa1)]['id'],'action':_0x468154+_0x2090d1(0x29b)},{'id':_0x14e7bd['DeleteSheetTableMutation']['id'],'action':_0x468154+_0x2090d1(0x20c)},{'id':_0x14e7bd['SetSheetTableMutation']['id'],'action':_0x468154+_0x2090d1(0x1b4)},{'id':_0x14e7bd[_0x2090d1(0x2ae)]['id'],'action':_0x468154+_0x2090d1(0xc7)}],'sheetsDrawing':[{'id':_0x34799e[_0x2090d1(0x287)]['id'],'action':_0x468154+_0x2090d1(0x296)}]};}function _0x4d4717(_0x37a6f3='editHistory.action.'){const _0x410326=_0x222100;let _0x155c62=_0x2738a8(_0x37a6f3);return Object[_0x410326(0x272)](_0x155c62)[_0x410326(0xf2)]();}let _0x3f54ee=(_0x422dcb,_0x6ba5e9)=>{const _0x285009=_0x222100;if(!_0x422dcb)return{'date':'','time':''};let _0x5a247c=new Date(_0x422dcb),_0x2d3781=_0x5a247c['toISOString']()[_0x285009(0x1c4)]('T')[0x0];switch(_0x6ba5e9){case _0x5d4152[_0x285009(0x36e)][_0x285009(0x3a1)]:return{'date':_0x1bfe85(_0x2d3781,_0x6ba5e9),'time':_0x5a247c[_0x285009(0x37c)]()+':'+String(_0x5a247c[_0x285009(0x319)]())[_0x285009(0x392)](0x2,'0')+':'+String(_0x5a247c['getSeconds']())[_0x285009(0x392)](0x2,'0')};default:return{'date':_0x1bfe85(_0x2d3781,_0x6ba5e9),'time':_0x5a247c[_0x285009(0x37c)]()+':'+_0x5a247c[_0x285009(0x319)]()+':'+_0x5a247c[_0x285009(0x199)]()};}},_0x305a5a=(_0x311e7a,_0x239e66)=>{const _0x520e0b=_0x222100;if(_0x311e7a[_0x520e0b(0x15b)][_0x520e0b(0x1d6)](_0x4dd66f=>_0x4dd66f===_0x3d0c58['RevertRevisionMutation']['id'])&&_0x311e7a[_0x520e0b(0x3bc)]){let _0x1dad5f=_0x3f54ee(_0x311e7a[_0x520e0b(0x3bc)],_0x239e66[_0x520e0b(0x125)]()),_0x1eabfd=_0x1dad5f['date']+'\x20'+_0x1dad5f[_0x520e0b(0x3af)];return _0x239e66['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0x1eabfd+'\x20'+_0x239e66['t'](_0x520e0b(0x2a1));}let _0x3cad05=_0x18e50d(_0x311e7a),_0x5c73da=Array[_0x520e0b(0x3f7)](new Set(_0x3cad05)),_0x19bdc5;if(_0x5c73da[_0x520e0b(0x12d)]===0x1)_0x19bdc5=_0x239e66['t'](_0x5c73da[0x0]);else{let _0x29bbe0=_0x5c73da['slice'](0x0,0x5)[_0x520e0b(0x84)](_0x5ab795=>_0x239e66['t'](_0x5ab795))[_0x520e0b(0x33d)](',\x20');_0x19bdc5=_0x5c73da[_0x520e0b(0x12d)]>0x5?''+_0x29bbe0+_0x239e66['t'](_0x520e0b(0x1d2)):_0x29bbe0;}return''+_0x19bdc5;};function _0x18e50d(_0x101d99){const _0x3f2940=_0x222100;if(_0x101d99[_0x3f2940(0x15b)][_0x3f2940(0x12d)]===0x0)return[''];let _0x14eefc=_0x3f2940(0x252),_0x568f92=_0x14eefc+_0x3f2940(0x2e1),_0x207db1=_0x4d4717(_0x14eefc)[_0x3f2940(0xa2)](_0x41a5b7=>_0x101d99['commands']['includes'](_0x41a5b7['id']));return _0x207db1!=null&&_0x207db1[_0x3f2940(0x12d)]?_0x207db1[_0x3f2940(0x84)](_0x3f7bf1=>_0x3f7bf1[_0x3f2940(0x310)]):[_0x568f92];}function _0x1bfe85(_0x4d672d,_0x256989){const _0x242a62=_0x222100;let [_0x49dcab,_0x2f07a8,_0x447be7]=new Date()[_0x242a62(0x6d)]()['split']('T')[0x0][_0x242a62(0x1c4)]('-'),[_0x195b06,_0x2df09f,_0x3f9075]=_0x4d672d[_0x242a62(0x1c4)]('-'),_0x523429=_0x49dcab===_0x195b06&&_0x2f07a8===_0x2df09f&&_0x447be7===_0x3f9075,_0x1bbfee='',_0x2d9beb='',_0x8b7d1e='';switch(_0x256989){case _0x5d4152[_0x242a62(0x36e)][_0x242a62(0x3a1)]:return _0x523429?'今天':(_0x1bbfee=_0x49dcab===_0x195b06?'':_0x195b06+'年',_0x2d9beb=_0x2df09f+'月',_0x8b7d1e=_0x3f9075+'日',''+_0x1bbfee+_0x2d9beb+_0x8b7d1e);default:return _0x523429?'Today':(_0x1bbfee=_0x49dcab===_0x195b06?'':_0x195b06+'-',_0x2d9beb=_0x2df09f+'-',_0x8b7d1e=''+_0x3f9075,''+_0x1bbfee+_0x2d9beb+_0x8b7d1e);}}function _0x60fc20(_0x4e71de){const _0xf2a408=_0x222100;return _0x4e71de?_0x4e71de[_0xf2a408(0x371)]((_0x164808,_0x5165f2)=>{const _0x55eb14=_0xf2a408;let _0x1c586b=new Date(_0x5165f2[_0x55eb14(0x3af)])[_0x55eb14(0x6d)]()[_0x55eb14(0x1c4)]('T')[0x0],_0x563bd4=_0x5165f2['startRevCreateTime']?new Date(_0x5165f2[_0x55eb14(0x264)])['toISOString']()[_0x55eb14(0x1c4)]('T')[0x0]:_0x1c586b,_0xc37098=_0x5165f2[_0x55eb14(0x37e)]?new Date(_0x5165f2[_0x55eb14(0x37e)])[_0x55eb14(0x6d)]()[_0x55eb14(0x1c4)]('T')[0x0]:_0x1c586b;return _0x164808[_0x55eb14(0x12d)]>0x0&&_0x164808[_0x164808[_0x55eb14(0x12d)]-0x1][_0x55eb14(0x16b)]===_0x563bd4?_0x164808[_0x164808[_0x55eb14(0x12d)]-0x1][_0x55eb14(0x363)][_0x55eb14(0x312)](_0x5165f2):_0x164808[_0x55eb14(0x312)]({'dateString':_0x1c586b,'startDateString':_0x563bd4,'endDateString':_0xc37098,'versions':[_0x5165f2]}),_0x164808;},[]):[];}let _0x19d71b=_0x222100(0x108);Symbol(_0x19d71b);let _0x12c70b={};function _0x27fe3f(_0x53bacf){'@babel/helpers - typeof';const _0x375fb4=_0x222100;return _0x27fe3f=typeof Symbol=='function'&&typeof Symbol[_0x375fb4(0x27f)]==_0x375fb4(0x265)?function(_0x29e46a){return typeof _0x29e46a;}:function(_0x1b7a07){const _0x420d1a=_0x375fb4;return _0x1b7a07&&typeof Symbol==_0x420d1a(0x174)&&_0x1b7a07[_0x420d1a(0x244)]===Symbol&&_0x1b7a07!==Symbol[_0x420d1a(0x2e9)]?'symbol':typeof _0x1b7a07;},_0x27fe3f(_0x53bacf);}function _0xca66ea(_0x55d619,_0x470885){const _0x45bdf7=_0x222100;if(_0x27fe3f(_0x55d619)!=_0x45bdf7(0x35b)||!_0x55d619)return _0x55d619;var _0x6354c9=_0x55d619[Symbol[_0x45bdf7(0x114)]];if(_0x6354c9!==void 0x0){var _0x2b94f4=_0x6354c9[_0x45bdf7(0x30b)](_0x55d619,_0x470885||_0x45bdf7(0x25a));if(_0x27fe3f(_0x2b94f4)!=_0x45bdf7(0x35b))return _0x2b94f4;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x470885===_0x45bdf7(0xd4)?String:Number)(_0x55d619);}function _0x3b6be4(_0x49283f){const _0x4941ee=_0x222100;var _0x5646d4=_0xca66ea(_0x49283f,_0x4941ee(0xd4));return _0x27fe3f(_0x5646d4)==_0x4941ee(0x265)?_0x5646d4:_0x5646d4+'';}function _0x2adbdc(_0x3d93a8,_0x2dc206,_0x22b4cf){const _0x53ab8e=_0x222100;return(_0x2dc206=_0x3b6be4(_0x2dc206))in _0x3d93a8?Object[_0x53ab8e(0x176)](_0x3d93a8,_0x2dc206,{'value':_0x22b4cf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3d93a8[_0x2dc206]=_0x22b4cf,_0x3d93a8;}function _0x5ea03e(_0x447ca6,_0x56210c){return function(_0x24de1a,_0x410aea){_0x56210c(_0x24de1a,_0x410aea,_0x447ca6);};}function _0x44657c(_0x2f39db,_0x1be1c6,_0x17d633,_0x10c1ed){const _0x10766d=_0x222100;var _0x2ca6b7=arguments[_0x10766d(0x12d)],_0x11b5bb=_0x2ca6b7<0x3?_0x1be1c6:_0x10c1ed===null?_0x10c1ed=Object['getOwnPropertyDescriptor'](_0x1be1c6,_0x17d633):_0x10c1ed,_0x595eef;if(typeof Reflect=='object'&&typeof Reflect[_0x10766d(0x329)]==_0x10766d(0x174))_0x11b5bb=Reflect[_0x10766d(0x329)](_0x2f39db,_0x1be1c6,_0x17d633,_0x10c1ed);else{for(var _0x13c57e=_0x2f39db[_0x10766d(0x12d)]-0x1;_0x13c57e>=0x0;_0x13c57e--)(_0x595eef=_0x2f39db[_0x13c57e])&&(_0x11b5bb=(_0x2ca6b7<0x3?_0x595eef(_0x11b5bb):_0x2ca6b7>0x3?_0x595eef(_0x1be1c6,_0x17d633,_0x11b5bb):_0x595eef(_0x1be1c6,_0x17d633))||_0x11b5bb);}return _0x2ca6b7>0x3&&_0x11b5bb&&Object['defineProperty'](_0x1be1c6,_0x17d633,_0x11b5bb),_0x11b5bb;}let _0x178260=function(_0x1fc2c7){const _0x255b2f=_0x222100;return _0x1fc2c7[_0x1fc2c7[_0x255b2f(0x3b1)]=0x0]=_0x255b2f(0x3b1),_0x1fc2c7[_0x1fc2c7[_0x255b2f(0x2d9)]=0x1]=_0x255b2f(0x2d9),_0x1fc2c7[_0x1fc2c7[_0x255b2f(0x220)]=0x2]=_0x255b2f(0x220),_0x1fc2c7;}({}),_0x421ed4=class extends _0x5d4152[_0x222100(0x348)]{constructor(_0x40fa83,_0x84915,_0x36d700,_0x2df82a,_0x9a7b02,_0x5b0796,_0x161dfb){const _0x131c80=_0x222100;super(),this[_0x131c80(0x2a3)]=_0x40fa83,this[_0x131c80(0x2c2)]=_0x84915,this['_commandService']=_0x36d700,this[_0x131c80(0x36f)]=_0x2df82a,this['_httpService']=_0x9a7b02,this['_compressMutationService']=_0x5b0796,this[_0x131c80(0x103)]=_0x161dfb,_0x2adbdc(this,'_workbookDataCache',void 0x0),this['_workbookDataCache']=new _0x5d4152[(_0x131c80(0x2b8))](0x3c);}[_0x222100(0x28f)](){const _0x448577=_0x222100;this[_0x448577(0x3ba)][_0x448577(0x172)](),super['dispose']();}async[_0x222100(0x122)](_0x52a852){const _0x26dcc1=_0x222100;try{let _0x16e4f4=(await this['_httpService'][_0x26dcc1(0x3b8)](this[_0x26dcc1(0xb4)]()+'/'+_0x52a852+_0x26dcc1(0xcf)))[_0x26dcc1(0x3b2)];if(_0x16e4f4&&_0x16e4f4[_0x26dcc1(0x391)]&&_0x16e4f4[_0x26dcc1(0x391)]['code']===_0xf83413[_0x26dcc1(0x91)]['OK'])return _0x16e4f4[_0x26dcc1(0x240)];}catch(_0x598dea){console[_0x26dcc1(0x391)](_0x598dea);}return[];}async['getVersions'](_0x25c9e1,_0x582945){const _0x31e31a=_0x222100;let {userIds:_0xad7232,lastLabel:_0x42bf97,origin:_0x53ca46}=_0x582945==null?{}:_0x582945,_0xa02935=new URLSearchParams();_0xa02935[_0x31e31a(0x255)](_0x31e31a(0x12d),'20'),_0x42bf97&&_0xa02935[_0x31e31a(0x255)](_0x31e31a(0x2df),_0x42bf97),_0xad7232==null||_0xad7232['forEach'](_0x4abf90=>{const _0x44c28f=_0x31e31a;_0xa02935[_0x44c28f(0x38a)](_0x44c28f(0x30f),_0x4abf90);}),_0x53ca46&&_0xa02935[_0x31e31a(0x255)](_0x31e31a(0x13d),_0x53ca46[_0x31e31a(0x127)]());let _0x5a4aa5=this['_getAPIPrefix']()+'/'+_0x25c9e1+_0x31e31a(0x21b)+_0xa02935[_0x31e31a(0x127)]();try{let _0x5da8a7=(await this[_0x31e31a(0x2be)][_0x31e31a(0x3b8)](_0x5a4aa5))[_0x31e31a(0x3b2)];if(_0x5da8a7&&_0x5da8a7[_0x31e31a(0x391)]&&_0x5da8a7[_0x31e31a(0x391)]['code']===_0xf83413['ErrorCode']['OK']){let {hasMore:_0x1fc405,lastLabel:_0x1c7b8c}=_0x5da8a7;return{'hasMore':_0x1fc405,'lastLabel':_0x1c7b8c,'versions':_0x19f437(_0x5da8a7),'members':_0x5da8a7[_0x31e31a(0x245)][_0x31e31a(0x236)]};}}catch(_0x4fa6e5){console['error'](_0x4fa6e5);}return null;}async[_0x222100(0x2b3)](_0x265a70,_0x18fdc8){const _0x40a1b0=_0x222100;let {unitId:_0x471636,startRevision:_0x449c44,endRevision:_0x38d377}=_0x18fdc8,_0x5a50fa=this[_0x40a1b0(0xb4)]()+'/'+_0x471636+'/cs?startRevision='+_0x449c44+'&endRevision='+_0x38d377;return(await this['_httpService']['get'](_0x5a50fa))[_0x40a1b0(0x3b2)];}[_0x222100(0xb4)](){const _0x3f0131=_0x222100;var _0x40b026;let _0x4128c8=this[_0x3f0131(0x36f)][_0x3f0131(0x229)](_0x19d71b);return(_0x40b026=_0x4128c8==null?void 0x0:_0x4128c8['historyListServerUrl'])==null?_0x3f0131(0x15c):_0x40b026;}[_0x222100(0x197)](_0x23aec9,_0x3eced5){return _0x23aec9+':'+_0x3eced5;}async[_0x222100(0x2a7)](_0x38f5a1,_0x12cdbd,_0x181fb1={}){const _0x595d25=_0x222100;var _0x2e9be1;let _0x1e76e7=this['_cacheKey'](_0x38f5a1,_0x12cdbd),_0x489f97=this[_0x595d25(0x3ba)][_0x595d25(0x3b8)](_0x1e76e7);if(_0x489f97){let {workbookData:_0x53fe29,changesets:_0x4cf7ab}=_0x489f97;return await this[_0x595d25(0xf8)](_0x53fe29,_0x4cf7ab),!0x0;}let {snapshot:_0x23d8ba,changesets:_0x5d3a53,error:_0x50c6d4}=await this[_0x595d25(0x2a3)][_0x595d25(0x149)](_0x181fb1,{'unitID':_0x38f5a1,'type':_0x5d4152['UniverInstanceType']['UNIVER_SHEET'],'revision':_0x12cdbd});if((0x0,_0xf83413['isError'])(_0x50c6d4)||!_0x23d8ba||!_0x23d8ba[_0x595d25(0x233)])throw Error(_0x595d25(0x389));let _0x4411ec=(_0x2e9be1=_0x5d3a53==null?void 0x0:_0x5d3a53[_0x595d25(0x12d)])==null?0x0:_0x2e9be1;if(_0x12cdbd!==0x0&&_0x23d8ba[_0x595d25(0x1fb)]+_0x4411ec!==_0x12cdbd)throw Error(_0x595d25(0x2f5));let {workbook:_0x35309d}=_0x23d8ba,_0x332acd=_0x35309d[_0x595d25(0xbf)]?Object[_0x595d25(0x272)](_0x35309d[_0x595d25(0xbf)])[_0x595d25(0x18f)](_0x3b94ee=>{const _0x69c65a=_0x595d25;var _0x76cf27;return(_0x76cf27=_0x3b94ee[_0x69c65a(0x20f)])==null?[]:_0x76cf27;}):[],_0x4c8bc0=await(0x0,_0x3d0c58[_0x595d25(0x222)])(_0x23d8ba,(await Promise['all'](_0x332acd[_0x595d25(0x84)](_0x2c83b2=>this[_0x595d25(0x2a3)][_0x595d25(0x259)](_0x181fb1,{'unitID':_0x38f5a1,'type':_0x5d4152[_0x595d25(0x2b4)][_0x595d25(0x128)],'blockID':_0x2c83b2})[_0x595d25(0x332)](_0x36f391=>_0x36f391[_0x595d25(0x24c)]))))[_0x595d25(0xa2)](Boolean),_0x181fb1);return this[_0x595d25(0x3ba)]['set'](_0x1e76e7,{'workbookData':_0x4c8bc0,'changesets':_0x5d3a53}),await this['_applyWorkbookData'](_0x4c8bc0,_0x5d3a53),!0x0;}async[_0x222100(0xf8)](_0x118ae6,_0x1d60c2){const _0x4b64af=_0x222100;let _0x379399=this[_0x4b64af(0x2c2)][_0x4b64af(0x347)](_0x5d4152['UniverInstanceType'][_0x4b64af(0x128)]);_0x379399&&(this[_0x4b64af(0x2c2)][_0x4b64af(0xd3)](_0x379399[_0x4b64af(0x101)]()),await Promise[_0x4b64af(0xe7)]());let _0x1ec507=JSON[_0x4b64af(0xe8)](JSON[_0x4b64af(0x1e5)](_0x118ae6));this[_0x4b64af(0x3c4)](_0x1ec507,_0x1d60c2),this['_sheetPermissionInitController']['refreshRangeProtectPermission']();}[_0x222100(0x3c4)](_0x26a488,_0x5d383f){const _0x2a495a=_0x222100;let _0x14bc6a=this[_0x2a495a(0x2c2)]['createUnit'](_0x5d4152[_0x2a495a(0x2b4)]['UNIVER_SHEET'],_0x26a488);this[_0x2a495a(0x2c2)][_0x2a495a(0x3f3)](_0x14bc6a['getUnitId']());let _0x189f01=this[_0x2a495a(0x326)][_0x2a495a(0x30a)][_0x2a495a(0x1e1)](this[_0x2a495a(0x326)][_0x2a495a(0x30a)][_0x2a495a(0x17d)]()['COMPRESS_MUTATION_APPLY']);return _0x5d383f==null||_0x5d383f[_0x2a495a(0x2de)](_0x272f1c=>{const _0x65ac34=_0x2a495a;let _0x5d0efa=_0x272f1c[_0x65ac34(0x224)]['map'](_0x515f80=>({'id':_0x515f80['id'],'params':JSON[_0x65ac34(0xe8)](_0x515f80[_0x65ac34(0x1b2)])}));(_0x189f01(_0x5d0efa,null)||_0x5d0efa)[_0x65ac34(0x2de)](_0x55b0b9=>{const _0x52ea78=_0x65ac34;this[_0x52ea78(0x106)][_0x52ea78(0x290)](_0x55b0b9['id'])&&this[_0x52ea78(0x106)][_0x52ea78(0x217)](_0x55b0b9['id'],_0x55b0b9[_0x52ea78(0x9c)],{'fromChangeset':!0x0});});}),_0x14bc6a;}};_0x421ed4=_0x44657c([_0x5ea03e(0x0,_0x3d0c58[_0x222100(0x280)]),_0x5ea03e(0x1,_0x5d4152[_0x222100(0x29d)]),_0x5ea03e(0x2,_0x5d4152['ICommandService']),_0x5ea03e(0x3,_0x5d4152[_0x222100(0x82)]),_0x5ea03e(0x4,(0x0,_0x5d4152['Inject'])(_0x245917[_0x222100(0x107)])),_0x5ea03e(0x5,(0x0,_0x5d4152[_0x222100(0x309)])(_0x3d0c58[_0x222100(0x249)])),_0x5ea03e(0x6,(0x0,_0x5d4152[_0x222100(0x309)])(_0x56c972[_0x222100(0x65)]))],_0x421ed4);function _0x19f437(_0x3a1253){const _0x379371=_0x222100;let _0x1e38f5=[],{entities:_0x3254ca,historyIds:_0x18e070}=_0x3a1253,{datas:_0x3d341b,users:_0x1f5a78}=_0x3254ca;for(let _0x16fc3c of _0x18e070){let _0x321c55=_0x3d341b[_0x16fc3c];if(_0x321c55){var _0x52c489,_0x520cd2;let _0x2d4e97=!!((_0x52c489=_0x1f5a78[_0x321c55[_0x379371(0x25f)]])!=null&&_0x52c489['anonymous']);_0x1e38f5[_0x379371(0x312)]({'unitId':_0x321c55['unitId'],'user':_0x2d4e97?'':(_0x1f5a78==null||(_0x520cd2=_0x1f5a78[_0x321c55[_0x379371(0x25f)]])==null?void 0x0:_0x520cd2[_0x379371(0x1ba)])||'','users':_0x321c55[_0x379371(0x30f)][_0x379371(0x84)](_0x406472=>{const _0x39fb93=_0x379371;var _0x4760b5;return(_0x1f5a78==null||(_0x4760b5=_0x1f5a78[_0x406472])==null?void 0x0:_0x4760b5[_0x39fb93(0x1ba)])||'';})[_0x379371(0xa2)](_0x4620c3=>_0x4620c3),'isAnonymous':_0x2d4e97,'id':_0x16fc3c,'time':_0x321c55[_0x379371(0x37b)]?Number(_0x321c55[_0x379371(0x37b)]):void 0x0,'commands':_0x321c55[_0x379371(0x1d4)],'startRev':Number(_0x321c55['startRevision']),'endRev':Number(_0x321c55[_0x379371(0x269)]),'recoverTime':_0x321c55['recoverTime']?Number(_0x321c55[_0x379371(0x3bc)]):void 0x0,'additionalFields':_0x321c55[_0x379371(0x28e)],'startRevCreateTime':_0x321c55[_0x379371(0x264)]?Number(_0x321c55[_0x379371(0x264)]):void 0x0,'endRevCreateTime':_0x321c55[_0x379371(0x37e)]?Number(_0x321c55[_0x379371(0x37e)]):void 0x0});}}return _0x1e38f5;}let _0x29cab4=function(_0x51e0bd){const _0x9dadd6=_0x222100;return _0x51e0bd[_0x9dadd6(0x1f7)]='entered',_0x51e0bd['Exited']=_0x9dadd6(0x3f2),_0x51e0bd[_0x9dadd6(0x34f)]=_0x9dadd6(0x391),_0x51e0bd;}({}),_0x2b4d7b=_0x222100(0x142),_0x19e6e4=class extends _0x5d4152[_0x222100(0x348)]{[_0x222100(0x1a0)](_0x160f47){const _0x54fadb=_0x222100;this[_0x54fadb(0x3b6)][_0x54fadb(0x333)](_0x160f47);}get['fetching'](){const _0x628e69=_0x222100;return this['_fetching$'][_0x628e69(0x2a8)];}constructor(_0x9affab,_0x20d116,_0x220bd3,_0x1a1aae){const _0x1f5df2=_0x222100;super(),this[_0x1f5df2(0xdc)]=_0x9affab,this[_0x1f5df2(0x267)]=_0x20d116,this['_localeService']=_0x220bd3,this[_0x1f5df2(0xbc)]=_0x1a1aae,_0x2adbdc(this,_0x1f5df2(0x14f),new _0x33a3a7[(_0x1f5df2(0x3d1))]([])),_0x2adbdc(this,_0x1f5df2(0x31a),this[_0x1f5df2(0x14f)][_0x1f5df2(0x187)]()),_0x2adbdc(this,_0x1f5df2(0x190),new _0x33a3a7[(_0x1f5df2(0x3d1))]('')),_0x2adbdc(this,_0x1f5df2(0x17f),this[_0x1f5df2(0x190)]['asObservable']()),_0x2adbdc(this,_0x1f5df2(0x19b),new _0x33a3a7[(_0x1f5df2(0x3d1))]('entered')),_0x2adbdc(this,_0x1f5df2(0x1fe),this[_0x1f5df2(0x19b)][_0x1f5df2(0x187)]()),_0x2adbdc(this,_0x1f5df2(0xbe),new _0x33a3a7[(_0x1f5df2(0x3d1))](0x0)),_0x2adbdc(this,_0x1f5df2(0x2bf),this['_revertRevision$'][_0x1f5df2(0x187)]()),_0x2adbdc(this,_0x1f5df2(0x210),new _0x33a3a7['BehaviorSubject']('')),_0x2adbdc(this,_0x1f5df2(0x3f5),this[_0x1f5df2(0x210)][_0x1f5df2(0x187)]()),_0x2adbdc(this,_0x1f5df2(0x3b6),new _0x33a3a7[(_0x1f5df2(0x3d1))](!0x1)),_0x2adbdc(this,_0x1f5df2(0x248),this[_0x1f5df2(0x3b6)][_0x1f5df2(0x187)]()),_0x2adbdc(this,'_creators$',new _0x33a3a7[(_0x1f5df2(0x3d1))]([])),_0x2adbdc(this,_0x1f5df2(0x1a1),this[_0x1f5df2(0xe2)][_0x1f5df2(0x187)]()),_0x2adbdc(this,_0x1f5df2(0x7e),new _0x33a3a7[(_0x1f5df2(0x3d1))](!0x1)),_0x2adbdc(this,_0x1f5df2(0xc1),this[_0x1f5df2(0x7e)]['asObservable']()),_0x2adbdc(this,_0x1f5df2(0x212),new Map()),_0x2adbdc(this,_0x1f5df2(0x81),new _0x33a3a7['BehaviorSubject'](_0x1f5df2(0x3f8))),_0x2adbdc(this,_0x1f5df2(0x38c),this[_0x1f5df2(0x81)][_0x1f5df2(0x187)]()),_0x2adbdc(this,'_lastLabel',null),_0x2adbdc(this,_0x1f5df2(0x3e4),!0x0),_0x2adbdc(this,_0x1f5df2(0x1f6),new Map()),_0x2adbdc(this,_0x1f5df2(0x92),void 0x0),_0x2adbdc(this,_0x1f5df2(0x144),void 0x0),_0x2adbdc(this,_0x1f5df2(0x66),void 0x0),_0x2adbdc(this,_0x1f5df2(0xeb),!0x1),_0x2adbdc(this,_0x1f5df2(0x3bd),null),_0x2adbdc(this,_0x1f5df2(0x381),new Map());}async[_0x222100(0x20d)](_0xb8b056,_0x329540,_0x1fae15){const _0x48ef62=_0x222100;this[_0x48ef62(0x92)]=_0x329540,this['_canRevert']=_0x1fae15,this[_0x48ef62(0x7e)]['next'](!0x0),await this[_0x48ef62(0x1e8)](_0xb8b056);}['triggerCustomVersions'](_0x5add4f,_0x418c1e='',_0x56fcd8,_0x301e95){const _0xadd3d3=_0x222100;let {versions:_0x2a919e,hasMore:_0xfbb21a,lastLabel:_0x554dc6,members:_0x4ff0c9}=_0x301e95,_0x5a0251=_0x2a919e[_0xadd3d3(0x12d)]>0x0?_0x2a919e:[{'unitId':_0x5add4f,'id':_0x2b4d7b,'startRev':0x1,'endRev':0x0,'time':Date[_0xadd3d3(0x207)](),'user':this[_0xadd3d3(0xb5)]['t'](_0xadd3d3(0xb1)),'users':[this['_localeService']['t'](_0xadd3d3(0xb1))],'commands':[],'isAnonymous':!0x1}];this[_0xadd3d3(0xeb)]=_0x56fcd8,this[_0xadd3d3(0x92)]=_0x418c1e,this['_unitId$']['next'](_0x5add4f),this['_updateVersions'](_0x5a0251,_0xfbb21a,_0x554dc6,!0x1,_0x4ff0c9),this[_0xadd3d3(0x190)][_0xadd3d3(0x333)](_0x5a0251[0x0]['id']);}async[_0x222100(0x1e8)](_0x14cbb8,_0x2ad179){const _0x162e19=_0x222100;this[_0x162e19(0x210)][_0x162e19(0x333)](_0x14cbb8),this[_0x162e19(0x3bd)]=_0x2ad179==null?null:_0x2ad179,this[_0x162e19(0x1a0)](!0x0);let _0x461b0f=await this[_0x162e19(0xbc)]['getVersions'](_0x14cbb8,_0x2ad179);if(this['_setFetching'](!0x1),_0x461b0f){let {versions:_0x5747a1,lastLabel:_0x53b8e3,hasMore:_0x1d1422,members:_0x234ad8}=_0x461b0f;_0x5747a1[_0x162e19(0x12d)]===0x0&&_0x5747a1[_0x162e19(0x312)]({'unitId':_0x14cbb8,'id':_0x2b4d7b,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this[_0x162e19(0xb5)]['t'](_0x162e19(0xb1)),'users':[this['_localeService']['t'](_0x162e19(0xb1))],'commands':[],'isAnonymous':!0x1}),this[_0x162e19(0x1bd)](_0x5747a1,_0x1d1422,_0x53b8e3,!0x1,_0x234ad8),this[_0x162e19(0x190)][_0x162e19(0x333)](_0x5747a1[0x0]['id']),this['_unitCurrentVersionMap'][_0x162e19(0x255)](_0x14cbb8,_0x5747a1[0x0][_0x162e19(0x237)]);}else this[_0x162e19(0x19b)][_0x162e19(0x333)](_0x162e19(0x391));}async['loadMoreVersions'](){const _0x48ac8c=_0x222100;if(!this[_0x48ac8c(0x33e)]||!this[_0x48ac8c(0x3e4)]||this[_0x48ac8c(0x27d)])return!0x1;this[_0x48ac8c(0x1a0)](!0x0);let _0x5d3b94=await this[_0x48ac8c(0xbc)][_0x48ac8c(0x2c9)](this[_0x48ac8c(0x6e)],{'lastLabel':this[_0x48ac8c(0x33e)],...this[_0x48ac8c(0x3bd)]});if(this[_0x48ac8c(0x1a0)](!0x1),_0x5d3b94){let {versions:_0x214a8f,lastLabel:_0x1c6c0e,hasMore:_0x536868,members:_0x32833b}=_0x5d3b94;this[_0x48ac8c(0x1bd)](_0x214a8f,_0x536868,_0x1c6c0e,!0x0,_0x32833b);}else this[_0x48ac8c(0xdc)][_0x48ac8c(0x9e)]({'content':this[_0x48ac8c(0xb5)]['t'](_0x48ac8c(0x10d)),'type':_0x19476b['MessageType'][_0x48ac8c(0x34f)],'duration':0xbb8});return!0x0;}async[_0x222100(0x22c)](){const _0x4bd972=_0x222100;let {unitId:_0x4fd8c5}=this;if(!_0x4fd8c5)return;let _0x53ec82=await this[_0x4bd972(0xbc)]['fetchCreatorList'](_0x4fd8c5);_0x53ec82&&this['_creators$'][_0x4bd972(0x333)](_0x53ec82);}async[_0x222100(0xbd)](_0x5c809){const _0x1bf7d7=_0x222100;let {endRev:_0x4ecd2a}=this[_0x1bf7d7(0x36d)](_0x5c809)||{};_0x4ecd2a||_0x4ecd2a===0x0?(this[_0x1bf7d7(0x81)]['next'](_0x1bf7d7(0x3c7)),await this[_0x1bf7d7(0xbc)]['loadSheet'](this[_0x1bf7d7(0x6e)],_0x4ecd2a),this[_0x1bf7d7(0x81)]['next'](_0x1bf7d7(0x277))):this[_0x1bf7d7(0x19b)]['next']('error');}async['triggerRevert'](_0x3d826e){const _0x430cc8=_0x222100;let _0x4930a8=_0x3d826e?this[_0x430cc8(0x36d)](_0x3d826e):this[_0x430cc8(0xac)]();if(!_0x4930a8)return;let _0x288892=_0x4930a8['endRev'],_0x3d3696=_0x3f54ee(_0x4930a8[_0x430cc8(0x3af)],this[_0x430cc8(0xb5)][_0x430cc8(0x125)]());await this['_confirmService']['confirm']({'id':_0x430cc8(0x3ea),'title':{'title':this['_localeService']['t'](_0x430cc8(0x35d))},'children':{'title':this[_0x430cc8(0xb5)]['t'](_0x430cc8(0x228))+_0x430cc8(0x196)+_0x3d3696[_0x430cc8(0x24d)]+'\x20'+_0x3d3696[_0x430cc8(0x3af)]+')'},'cancelText':this[_0x430cc8(0xb5)]['t'](_0x430cc8(0x67)),'confirmText':this[_0x430cc8(0xb5)]['t'](_0x430cc8(0xae))})&&this[_0x430cc8(0xbe)]['next'](_0x288892);}[_0x222100(0x1bd)](_0x51125b,_0x4f159c,_0x16ef19,_0x41d8fb,_0x61145d){const _0x31686d=_0x222100;this[_0x31686d(0x216)](_0x41d8fb?this[_0x31686d(0x14f)][_0x31686d(0x2a8)][_0x31686d(0x25d)](_0x51125b):_0x51125b),this[_0x31686d(0x3e4)]=_0x4f159c,this[_0x31686d(0x33e)]=_0x16ef19,_0x61145d&&Object[_0x31686d(0x315)](_0x61145d)['forEach'](_0x4d59b7=>this[_0x31686d(0x1f6)][_0x31686d(0x255)](_0x4d59b7,_0x61145d[_0x4d59b7]));}[_0x222100(0xac)](){const _0x460df9=_0x222100;return this[_0x460df9(0x36d)](this[_0x460df9(0x190)][_0x460df9(0x2a8)]);}[_0x222100(0x216)](_0x1a914e){this['_versions$']['next'](_0x1a914e);}[_0x222100(0x36d)](_0x10671b){const _0x498d61=_0x222100;var _0xc65c32;return((_0xc65c32=this['_versions$'][_0x498d61(0x2a8)])==null?void 0x0:_0xc65c32[_0x498d61(0x22b)](_0x257ca6=>_0x257ca6['id']===_0x10671b))||this[_0x498d61(0x212)][_0x498d61(0x3b8)](_0x10671b);}[_0x222100(0x85)](_0x51bf7b){const _0x188735=_0x222100;this[_0x188735(0x212)][_0x188735(0x255)](_0x51bf7b['id'],_0x51bf7b);}['getCurrentUnitCurrentVersion'](){const _0x3f86de=_0x222100;if(this['unitId'])return this[_0x3f86de(0x381)][_0x3f86de(0x3b8)](this['unitId']);}[_0x222100(0x232)](){const _0x3f2fcb=_0x222100;var _0x541100;return((_0x541100=this[_0x3f2fcb(0xac)]())==null?void 0x0:_0x541100[_0x3f2fcb(0x237)])===this['getCurrentUnitCurrentVersion']();}['getSelectedVersionCanRevert'](){const _0x3ecc60=_0x222100;return!this['getSelectedVersionIsCurrentVersion']()&&this[_0x3ecc60(0x301)];}[_0x222100(0x273)](_0xecf319){const _0x3fbbe3=_0x222100;return this[_0x3fbbe3(0x1f6)][_0x3fbbe3(0x3b8)](_0xecf319);}[_0x222100(0x18e)](){const _0x1a7a9c=_0x222100;this[_0x1a7a9c(0x66)]=document['createElement'](_0x1a7a9c(0x2c7)),this[_0x1a7a9c(0x66)][_0x1a7a9c(0x3f1)]=_0x1a7a9c(0x39d),this[_0x1a7a9c(0x66)][_0x1a7a9c(0x10f)][_0x1a7a9c(0x2a6)]=_0x1a7a9c(0x33a),this[_0x1a7a9c(0x66)][_0x1a7a9c(0x10f)][_0x1a7a9c(0x1e4)]='0',this[_0x1a7a9c(0x66)][_0x1a7a9c(0x10f)][_0x1a7a9c(0x124)]='0',this[_0x1a7a9c(0x66)]['style']['width']=_0x1a7a9c(0x343),this[_0x1a7a9c(0x66)][_0x1a7a9c(0x10f)]['height']='100%',this['_maskElement'][_0x1a7a9c(0x10f)][_0x1a7a9c(0xd2)]='rgba(225,\x20225,\x20225,\x200.5)',this['_maskElement'][_0x1a7a9c(0x10f)][_0x1a7a9c(0x78)]=_0x1a7a9c(0xe6),this[_0x1a7a9c(0x66)][_0x1a7a9c(0x10f)]['display']=_0x1a7a9c(0x394),this[_0x1a7a9c(0x66)][_0x1a7a9c(0x10f)][_0x1a7a9c(0x238)]=_0x1a7a9c(0x12a),this[_0x1a7a9c(0x66)]['style'][_0x1a7a9c(0x1a6)]=_0x1a7a9c(0x68),this['_maskElement'][_0x1a7a9c(0x10f)][_0x1a7a9c(0xbb)]='none',this[_0x1a7a9c(0x144)][_0x1a7a9c(0x38a)](this[_0x1a7a9c(0x66)]);}[_0x222100(0x198)](){const _0x5cc022=_0x222100;let _0x247411=document['getElementById'](this[_0x5cc022(0x92)]);_0x247411&&(this[_0x5cc022(0x144)]=_0x247411,this[_0x5cc022(0x18e)]());}['showMask'](){const _0x351fd0=_0x222100;this[_0x351fd0(0x144)]||this[_0x351fd0(0x198)](),this['_maskElement']&&(this[_0x351fd0(0x66)][_0x351fd0(0x10f)][_0x351fd0(0xbb)]=_0x351fd0(0x394));}['hideMask'](){const _0x2b7ba2=_0x222100;this[_0x2b7ba2(0x66)]&&(this['_maskElement']['style'][_0x2b7ba2(0xbb)]=_0x2b7ba2(0x14d));}set[_0x222100(0x1f3)](_0xe1c05b){const _0x19e175=_0x222100;this[_0x19e175(0x19b)][_0x19e175(0x333)](_0xe1c05b);}set[_0x222100(0xdd)](_0xbceee4){const _0x15cd27=_0x222100;_0xbceee4!==this[_0x15cd27(0x190)]['value']&&this[_0x15cd27(0x190)][_0x15cd27(0x333)](_0xbceee4);}get[_0x222100(0xdd)](){const _0x1009ca=_0x222100;return this[_0x1009ca(0x190)][_0x1009ca(0x2a8)];}set['unitId'](_0xff01fb){this['_unitId$']['next'](_0xff01fb);}get[_0x222100(0x6e)](){const _0x44f39c=_0x222100;return this[_0x44f39c(0x210)][_0x44f39c(0x2a8)];}get[_0x222100(0x301)](){const _0x12ec88=_0x222100;return this[_0x12ec88(0xeb)];}get[_0x222100(0x283)](){const _0x24a6ae=_0x222100;return this[_0x24a6ae(0x81)][_0x24a6ae(0x2a8)];}};_0x19e6e4=_0x44657c([_0x5ea03e(0x0,_0x617684['IMessageService']),_0x5ea03e(0x1,_0x5d4152[_0x222100(0x1c8)]),_0x5ea03e(0x2,(0x0,_0x5d4152[_0x222100(0x309)])(_0x5d4152[_0x222100(0x3d0)])),_0x5ea03e(0x3,(0x0,_0x5d4152[_0x222100(0x309)])(_0x421ed4))],_0x19e6e4);let _0x2bd5e7=class extends _0x5d4152[_0x222100(0x348)]{constructor(_0x3ceef6,_0x3de7ea,_0x1c4850,_0x457968,_0x1b2320,_0x55bb64,_0x1bbc5c,_0xb2bbd6,_0x3ccc61,_0x136fc6,_0x3842b1,_0x17bbbe,_0x3e3f82){const _0x1d16b4=_0x222100;super(),this[_0x1d16b4(0x21f)]=_0x3ceef6,this[_0x1d16b4(0x200)]=_0x3de7ea,this[_0x1d16b4(0x2a3)]=_0x1c4850,this[_0x1d16b4(0x2a2)]=_0x457968,this[_0x1d16b4(0x30d)]=_0x1b2320,this[_0x1d16b4(0x18d)]=_0x55bb64,this[_0x1d16b4(0x1ee)]=_0x1bbc5c,this[_0x1d16b4(0xb3)]=_0xb2bbd6,this['_sheetsPivotTableConfigModel']=_0x3ccc61,this[_0x1d16b4(0x24b)]=_0x136fc6,this['_localeService']=_0x3842b1,this[_0x1d16b4(0x1f2)]=_0x17bbbe,this['_historyFetchService']=_0x3e3f82,_0x2adbdc(this,_0x1d16b4(0x1ea),new Map()),_0x2adbdc(this,_0x1d16b4(0x7f),new _0x33a3a7[(_0x1d16b4(0x3d1))]({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0x2adbdc(this,'currentVersionDiff$',this[_0x1d16b4(0x7f)][_0x1d16b4(0x187)]()),this[_0x1d16b4(0x337)]();}[_0x222100(0x337)](){const _0x34f2c1=_0x222100;this[_0x34f2c1(0x1ea)]=new Map(),this['disposeWithMe'](this[_0x34f2c1(0x21f)][_0x34f2c1(0x3f5)][_0x34f2c1(0x143)](_0xf41611=>{const _0x750c34=_0x34f2c1;_0xf41611&&!this['_diffRangesMap'][_0x750c34(0x6b)](_0xf41611)&&this[_0x750c34(0x1ea)]['set'](_0xf41611,new Map());})),this['disposeWithMe'](this[_0x34f2c1(0x21f)]['currentVersion$'][_0x34f2c1(0x143)](async _0x10ef71=>{const _0x1c4b3e=_0x34f2c1;if(_0x10ef71){var _0x39dac1;await this[_0x1c4b3e(0x242)](_0x10ef71),this[_0x1c4b3e(0x7f)]['next'](((_0x39dac1=this[_0x1c4b3e(0x1ea)][_0x1c4b3e(0x3b8)](this[_0x1c4b3e(0x21f)][_0x1c4b3e(0x6e)]))==null?void 0x0:_0x39dac1[_0x1c4b3e(0x3b8)](_0x10ef71))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x222100(0x242)](_0x40e8a0){const _0x29bb59=_0x222100;var _0x1e554c,_0x5a3776;let _0x37ce0d=this[_0x29bb59(0x21f)][_0x29bb59(0x36d)](_0x40e8a0),_0x2c5460=this[_0x29bb59(0x21f)][_0x29bb59(0x6e)];if(!_0x37ce0d||!_0x2c5460)return;let _0x8d9262=this[_0x29bb59(0x1ea)][_0x29bb59(0x3b8)](_0x2c5460);if(_0x8d9262||this['_diffRangesMap'][_0x29bb59(0x255)](_0x2c5460,new Map()),(_0x1e554c=this[_0x29bb59(0x1ea)][_0x29bb59(0x3b8)](_0x2c5460))!=null&&_0x1e554c[_0x29bb59(0x6b)](_0x37ce0d['id']))return;let {startRev:_0x18afbe,endRev:_0x30bb61}=_0x37ce0d;if(_0x18afbe===0x1){_0x8d9262[_0x29bb59(0x255)](_0x37ce0d['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x4806bf=_0x18afbe,_0xedb43d=_0x30bb61,_0x9759a7=await this[_0x29bb59(0xbc)]['getHistoryChangesets']({},{'unitId':_0x2c5460,'startRevision':_0x4806bf,'endRevision':_0xedb43d});if(((_0x5a3776=_0x9759a7['error'])==null?void 0x0:_0x5a3776['code'])===_0xf83413[_0x29bb59(0x91)]['OK']){let _0x1468ed=_0x9759a7[_0x29bb59(0xba)][_0x29bb59(0x84)](_0x36ee8e=>((_0x36ee8e[_0x29bb59(0x224)]===null||_0x36ee8e[_0x29bb59(0x224)]===void 0x0)&&(_0x36ee8e['mutations']=[]),(0x0,_0x3d0c58[_0x29bb59(0x1e0)])(_0x36ee8e)))[_0x29bb59(0x84)](_0x33328a=>_0x33328a[_0x29bb59(0x224)]['map'](_0x441823=>({..._0x441823,'params':{..._0x441823['params'],'memberId':_0x33328a[_0x29bb59(0x2e6)]||_0x29bb59(0x166)}})))[_0x29bb59(0xf2)](),_0x16ca93=await this[_0x29bb59(0x247)](_0x1468ed),_0x4cc1a0=this[_0x29bb59(0x2c3)](_0x1468ed),_0x44e9bb=this['_extractRanges'](_0x16ca93);_0x8d9262['set'](_0x37ce0d['id'],{..._0x44e9bb,'active':_0x4cc1a0});}}[_0x222100(0xd8)](){const _0xaadd48=_0x222100;let _0x50f890=_0x2738a8(_0xaadd48(0x252)),_0x3e0cb9=new Map();return Object[_0xaadd48(0x272)](_0x50f890)[_0xaadd48(0xf2)]()[_0xaadd48(0x2de)](_0x51b9b7=>{const _0x2231b6=_0xaadd48;_0x3e0cb9[_0x2231b6(0x255)](_0x51b9b7['id'],_0x51b9b7[_0x2231b6(0x310)]);}),_0x3e0cb9;}[_0x222100(0x89)](_0x529cd5,_0x1a9a19){const _0x491b55=_0x222100;return this[_0x491b55(0x322)](_0x529cd5,_0x1a9a19);}async[_0x222100(0x247)](_0x2af335){const _0x54433e=_0x222100;let _0x4897c4=[];for(let _0x8784c0=0x0;_0x8784c0<_0x2af335['length'];_0x8784c0++){let _0x2e9f3e=_0x2af335[_0x8784c0];if(_0x4897c4[_0x54433e(0x312)](_0x2e9f3e),_0x8784c0!==_0x2af335[_0x54433e(0x12d)]-0x1){let _0x14d74c=_0x2af335[_0x8784c0+0x1],_0x504a05=this['_transformService'][_0x54433e(0x1d7)](_0x4897c4,[_0x14d74c]);_0x4897c4=(0x0,_0x3d0c58[_0x54433e(0x1f1)])(_0x504a05)?_0x504a05['m1Prime']:[];}_0x8784c0%0xa==0x0&&_0x8784c0>0x0&&await this[_0x54433e(0xda)]();}return _0x4897c4;}['_yieldToMain'](){return new Promise(_0x4c07e4=>{const _0x5cd02e=_0x4c62;typeof requestIdleCallback==_0x5cd02e(0x174)?requestIdleCallback(()=>_0x4c07e4(),{'timeout':0x64}):setTimeout(_0x4c07e4,0x0);});}['_getActiveSubUnitId'](_0x2c8c0a){const _0x3c6a70=_0x222100;let _0x48b194=[];return _0x2c8c0a[_0x3c6a70(0x2de)](_0x1e3498=>{const _0x49337c=_0x3c6a70;if(_0x1e3498['id']===_0x56c972[_0x49337c(0x3d5)]['id']){let _0x312a0d=_0x1e3498[_0x49337c(0x9c)];_0x48b194['push'](_0x312a0d[_0x49337c(0x3a5)]['id']);}else{if(_0x1e3498['id']===_0x56c972['RemoveSheetMutation']['id']){let _0x30de47=_0x1e3498[_0x49337c(0x9c)];_0x48b194[_0x49337c(0x12d)]>0x0&&(_0x48b194=_0x48b194['filter'](_0x2c2413=>_0x2c2413!==_0x30de47['subUnitId']));}else{if(_0x1e3498['id']===_0x56c972[_0x49337c(0x2fc)]['id']){let _0xc59e32=_0x1e3498['params'];_0xc59e32[_0x49337c(0x234)]?_0x48b194=_0x48b194['filter'](_0x4d9397=>_0x4d9397!==_0xc59e32[_0x49337c(0x3c0)]):_0x48b194[_0x49337c(0x312)](_0xc59e32['subUnitId']);}else{let _0x498a28=_0x1e3498[_0x49337c(0x9c)];_0x498a28[_0x49337c(0x3c0)]&&_0x48b194[_0x49337c(0x312)](_0x498a28[_0x49337c(0x3c0)]);}}}}),_0x48b194[_0x3c6a70(0x12d)]>0x0?_0x48b194[_0x48b194[_0x3c6a70(0x12d)]-0x1]:null;}['_extractRanges'](_0x40c7ad){const _0x51ac30=_0x222100;let _0x4cc8fc=new Map(),_0x1a7b30=new Map(),_0x127318=new Map(),_0x45d0f3=new Map(),_0x28872a=new Map(),_0x4dc16d=new Map(),_0xa9f03f=new Map(),_0x547c11=new Map(),_0x2ee9b2=new Map(),_0xd1f71e=new Map(),_0x123b96=new Map(),_0x5672b7=new Map(),_0x312d76=new Set(),_0x1d8cd1=this[_0x51ac30(0xd8)]();return _0x40c7ad['forEach'](_0x22e68f=>{const _0x141f3d=_0x51ac30;var _0x1c6310,_0x4e7ec9,_0xe05709,_0x3376b9,_0x24c062,_0x10026b,_0x148615,_0x449bd4,_0x274e02,_0x4c722c,_0xd5257,_0x2ff80d,_0x231098;let _0x5c63d2=(_0x1c6310=_0x22e68f[_0x141f3d(0x9c)])==null?void 0x0:_0x1c6310['memberId'];if(!_0x5c63d2)return;_0x4cc8fc['has'](_0x5c63d2)||(_0x4cc8fc['set'](_0x5c63d2,[]),_0x1a7b30[_0x141f3d(0x255)](_0x5c63d2,[]),_0x127318[_0x141f3d(0x255)](_0x5c63d2,[]),_0x45d0f3[_0x141f3d(0x255)](_0x5c63d2,[]),_0x28872a[_0x141f3d(0x255)](_0x5c63d2,[]),_0x4dc16d[_0x141f3d(0x255)](_0x5c63d2,[]),_0xa9f03f['set'](_0x5c63d2,[]),_0x547c11[_0x141f3d(0x255)](_0x5c63d2,[]),_0x2ee9b2[_0x141f3d(0x255)](_0x5c63d2,[]),_0xd1f71e[_0x141f3d(0x255)](_0x5c63d2,[]),_0x123b96[_0x141f3d(0x255)](_0x5c63d2,[]),_0x5672b7[_0x141f3d(0x255)](_0x5c63d2,[]));let _0x5c7310=this[_0x141f3d(0x322)](_0x22e68f,_0x1d8cd1);_0x5c7310[_0x141f3d(0x3c3)][_0x141f3d(0x2de)](_0x30faf6=>_0x312d76[_0x141f3d(0x9b)](_0x30faf6)),(_0x4e7ec9=_0x4cc8fc['get'](_0x5c63d2))==null||_0x4e7ec9[_0x141f3d(0x312)](..._0x5c7310[_0x141f3d(0x299)]),(_0xe05709=_0x1a7b30[_0x141f3d(0x3b8)](_0x5c63d2))==null||_0xe05709['push'](..._0x5c7310[_0x141f3d(0x251)]),(_0x3376b9=_0x127318[_0x141f3d(0x3b8)](_0x5c63d2))==null||_0x3376b9[_0x141f3d(0x312)](..._0x5c7310[_0x141f3d(0x376)]),(_0x24c062=_0x45d0f3['get'](_0x5c63d2))==null||_0x24c062[_0x141f3d(0x312)](..._0x5c7310[_0x141f3d(0x14e)]),(_0x10026b=_0x28872a[_0x141f3d(0x3b8)](_0x5c63d2))==null||_0x10026b[_0x141f3d(0x312)](..._0x5c7310['insertBorderRanges']),(_0x148615=_0x4dc16d['get'](_0x5c63d2))==null||_0x148615[_0x141f3d(0x312)](..._0x5c7310[_0x141f3d(0x39a)]),(_0x449bd4=_0xa9f03f['get'](_0x5c63d2))==null||_0x449bd4['push'](..._0x5c7310[_0x141f3d(0x36c)]),(_0x274e02=_0x547c11[_0x141f3d(0x3b8)](_0x5c63d2))==null||_0x274e02[_0x141f3d(0x312)](..._0x5c7310[_0x141f3d(0x3ac)]),(_0x4c722c=_0x2ee9b2[_0x141f3d(0x3b8)](_0x5c63d2))==null||_0x4c722c[_0x141f3d(0x312)](..._0x5c7310[_0x141f3d(0xa7)]),(_0xd5257=_0x123b96[_0x141f3d(0x3b8)](_0x5c63d2))==null||_0xd5257[_0x141f3d(0x312)](..._0x5c7310[_0x141f3d(0x88)]),(_0x2ff80d=_0x5672b7[_0x141f3d(0x3b8)](_0x5c63d2))==null||_0x2ff80d[_0x141f3d(0x312)](..._0x5c7310[_0x141f3d(0x1e2)]),(_0x231098=_0xd1f71e[_0x141f3d(0x3b8)](_0x5c63d2))==null||_0x231098[_0x141f3d(0x312)](..._0x5c7310[_0x141f3d(0x3d4)]);}),_0x4cc8fc[_0x51ac30(0x2de)]((_0x352cee,_0x3858b0)=>{const _0x485d0a=_0x51ac30;_0x4cc8fc[_0x485d0a(0x255)](_0x3858b0,this[_0x485d0a(0x1cf)](_0x352cee)),_0x1a7b30['set'](_0x3858b0,this[_0x485d0a(0x1cf)](_0x1a7b30[_0x485d0a(0x3b8)](_0x3858b0)||[])),_0x127318['set'](_0x3858b0,this[_0x485d0a(0x1cf)](_0x127318['get'](_0x3858b0)||[])),_0x45d0f3['set'](_0x3858b0,this['_combineRanges'](_0x45d0f3[_0x485d0a(0x3b8)](_0x3858b0)||[])),_0x28872a[_0x485d0a(0x255)](_0x3858b0,this[_0x485d0a(0x1cf)](_0x28872a['get'](_0x3858b0)||[])),_0x4dc16d[_0x485d0a(0x255)](_0x3858b0,this[_0x485d0a(0x1cf)](_0x4dc16d[_0x485d0a(0x3b8)](_0x3858b0)||[])),_0xa9f03f[_0x485d0a(0x255)](_0x3858b0,this[_0x485d0a(0x1cf)](_0xa9f03f[_0x485d0a(0x3b8)](_0x3858b0)||[])),_0x547c11[_0x485d0a(0x255)](_0x3858b0,this['_combineRanges'](_0x547c11[_0x485d0a(0x3b8)](_0x3858b0)||[])),_0x2ee9b2[_0x485d0a(0x255)](_0x3858b0,this[_0x485d0a(0x1cf)](_0x2ee9b2['get'](_0x3858b0)||[]));}),{'ranges':_0x4cc8fc,'insertCellRanges':_0x1a7b30,'deleteCellRanges':_0x127318,'updateCellRanges':_0x45d0f3,'insertBorderRanges':_0x28872a,'deleteBorderRanges':_0x4dc16d,'updateBorderRanges':_0xa9f03f,'arrowRowRanges':_0x547c11,'arrowColumnRanges':_0x2ee9b2,'insertDrawings':_0x123b96,'deleteDrawings':_0x5672b7,'updateDrawings':_0xd1f71e,'subUnitIds':Array[_0x51ac30(0x3f7)](_0x312d76)};}[_0x222100(0x322)](_0x437bbf,_0x51f7e8){const _0x1ee105=_0x222100;let _0x3e3fca={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x43e9b6=_0x437bbf['id'],_0x4926f8=_0x437bbf[_0x1ee105(0x9c)],_0x131484=this[_0x1ee105(0xb5)]['t'](_0x51f7e8[_0x1ee105(0x3b8)](_0x43e9b6)||'');_0x4926f8[_0x1ee105(0x3c0)]&&_0x3e3fca[_0x1ee105(0x3c3)][_0x1ee105(0x312)](_0x4926f8[_0x1ee105(0x3c0)]);let _0x36a97e=(_0x155e1a,_0x37973b)=>{const _0x2860ea=_0x1ee105;let _0x6feeb8=_0x155e1a[_0x2860ea(0x84)](_0x318fee=>({..._0x318fee,'showText':_0x131484}));switch(_0x3e3fca[_0x2860ea(0x299)][_0x2860ea(0x312)](..._0x6feeb8),_0x37973b){case _0x2860ea(0x17c):_0x3e3fca[_0x2860ea(0x251)][_0x2860ea(0x312)](..._0x6feeb8);break;case _0x2860ea(0x1df):_0x3e3fca[_0x2860ea(0x376)][_0x2860ea(0x312)](..._0x6feeb8);break;case _0x2860ea(0x2d7):_0x3e3fca[_0x2860ea(0x14e)]['push'](..._0x6feeb8);break;case _0x2860ea(0x117):_0x3e3fca['insertBorderRanges']['push'](..._0x6feeb8);break;case _0x2860ea(0x1ff):_0x3e3fca[_0x2860ea(0x39a)][_0x2860ea(0x312)](..._0x6feeb8);break;case'updateBorder':_0x3e3fca[_0x2860ea(0x36c)][_0x2860ea(0x312)](..._0x6feeb8);break;case _0x2860ea(0x32c):_0x3e3fca['arrowRowRanges'][_0x2860ea(0x312)](..._0x6feeb8);break;case _0x2860ea(0x342):_0x3e3fca['arrowColumnRanges'][_0x2860ea(0x312)](..._0x6feeb8);break;}};switch(_0x43e9b6){case _0x56c972[_0x1ee105(0x2e0)]['id']:{let _0x1ec359=_0x4926f8;_0x36a97e([{'range':{..._0x1ec359[_0x1ee105(0xa0)],'rangeType':_0x5d4152[_0x1ee105(0xe1)]['ROW']},'unitId':_0x1ec359[_0x1ee105(0x6e)],'subUnitId':_0x1ec359[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x213),'highlightRow':!0x0}],'insert');break;}case _0x56c972['InsertColMutation']['id']:{let _0x5441e4=_0x4926f8;_0x36a97e([{'range':{..._0x5441e4['range'],'rangeType':_0x5d4152[_0x1ee105(0xe1)][_0x1ee105(0x370)]},'unitId':_0x5441e4['unitId'],'subUnitId':_0x5441e4[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x3fd),'highlightColumn':!0x0}],'insert');break;}case _0x56c972[_0x1ee105(0x126)]['id']:{let _0x46e085=_0x4926f8;_0x36a97e(_0x46e085[_0x1ee105(0x215)][_0x1ee105(0x84)](_0x4f698e=>({'range':_0x4f698e,'unitId':_0x46e085[_0x1ee105(0x6e)],'subUnitId':_0x46e085['subUnitId'],'showText':'mergeCells'})),_0x1ee105(0x17c));break;}case _0x56c972[_0x1ee105(0xf6)]['id']:{let _0x49f9a6=_0x4926f8;_0x36a97e(Object[_0x1ee105(0x272)](_0x49f9a6[_0x1ee105(0x272)])[_0x1ee105(0x84)](_0x3f3a37=>_0x3f3a37[_0x1ee105(0x215)][_0x1ee105(0x84)](_0x5959dc=>({'range':_0x5959dc,'unitId':_0x49f9a6[_0x1ee105(0x6e)],'subUnitId':_0x49f9a6[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x80)})))[_0x1ee105(0xf2)](),'insert');break;}case _0x56c972[_0x1ee105(0x148)]['id']:{let _0x241e8b=_0x4926f8;_0x36a97e(_0x241e8b[_0x1ee105(0x215)][_0x1ee105(0x84)](_0x218d91=>({'range':_0x218d91,'unitId':_0x241e8b['unitId'],'subUnitId':_0x241e8b[_0x1ee105(0x3c0)],'showText':_0x1ee105(0xad)})),_0x1ee105(0x1df));break;}case _0x56c972[_0x1ee105(0x14b)]['id']:{let _0x1dfdbb=_0x4926f8;_0x36a97e(_0x1dfdbb[_0x1ee105(0x215)][_0x1ee105(0x84)](_0x4a49e4=>({'range':_0x4a49e4,'unitId':_0x1dfdbb[_0x1ee105(0x6e)],'subUnitId':_0x1dfdbb[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x250)})),_0x1ee105(0x1df));break;}case _0x56c972[_0x1ee105(0x275)]['id']:{let _0x4c23d4=_0x4926f8;_0x36a97e([{'range':{..._0x4c23d4[_0x1ee105(0x1a7)],'rangeType':_0x5d4152[_0x1ee105(0xe1)][_0x1ee105(0x105)]},'unitId':_0x4c23d4[_0x1ee105(0x6e)],'subUnitId':_0x4c23d4['subUnitId'],'showText':'moveRows'}],'delete'),_0x36a97e([{'range':{..._0x4c23d4[_0x1ee105(0xe5)],'rangeType':_0x5d4152[_0x1ee105(0xe1)]['ROW']},'unitId':_0x4c23d4['unitId'],'subUnitId':_0x4c23d4['subUnitId'],'showText':_0x1ee105(0x3de)}],_0x1ee105(0x17c));break;}case _0x56c972[_0x1ee105(0x1ec)]['id']:{let _0x48b542=_0x4926f8;_0x36a97e([{'range':{..._0x48b542['sourceRange'],'rangeType':_0x5d4152[_0x1ee105(0xe1)][_0x1ee105(0x370)]},'unitId':_0x48b542[_0x1ee105(0x6e)],'subUnitId':_0x48b542[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x113)}],'delete'),_0x36a97e([{'range':{..._0x48b542['targetRange'],'rangeType':_0x5d4152['RANGE_TYPE']['COLUMN']},'unitId':_0x48b542[_0x1ee105(0x6e)],'subUnitId':_0x48b542[_0x1ee105(0x3c0)],'showText':'moveCols'}],_0x1ee105(0x17c));break;}case _0x56c972[_0x1ee105(0x3cb)]['id']:{let _0x43a255=_0x4926f8;_0x36a97e(_0x43a255['ranges'][_0x1ee105(0x84)](_0x3e5be8=>({'range':{..._0x3e5be8,'rangeType':_0x5d4152['RANGE_TYPE']['ROW']},'unitId':_0x43a255[_0x1ee105(0x6e)],'subUnitId':_0x43a255[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x2c4),'highlightRow':!0x0})),'update');break;}case _0x56c972['SetRowDataMutation']['id']:{let _0x1aafb2=_0x4926f8;_0x1aafb2[_0x1ee105(0x256)]&&_0x1aafb2[_0x1ee105(0x3c0)]&&Object[_0x1ee105(0x315)](_0x1aafb2['rowData'])[_0x1ee105(0x84)](Number)['forEach'](_0x199a70=>{const _0x5c242e=_0x1ee105;_0x36a97e([{'range':{'startRow':_0x199a70,'endRow':_0x199a70,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x5d4152[_0x5c242e(0xe1)][_0x5c242e(0x105)]},'unitId':_0x1aafb2[_0x5c242e(0x6e)],'subUnitId':_0x1aafb2[_0x5c242e(0x3c0)],'showText':_0x5c242e(0x154),'highlightRow':!0x0}],'update');});break;}case _0x56c972[_0x1ee105(0x359)]['id']:{let _0x5a7619=_0x4926f8;_0x36a97e(_0x5a7619[_0x1ee105(0x215)]['map'](_0x3f7ec7=>({'range':{..._0x3f7ec7,'rangeType':_0x5d4152[_0x1ee105(0xe1)][_0x1ee105(0x370)]},'unitId':_0x5a7619[_0x1ee105(0x6e)],'subUnitId':_0x5a7619[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x145),'highlightColumn':!0x0})),_0x1ee105(0x2d7));break;}case _0x56c972[_0x1ee105(0x2e5)]['id']:{let _0x1ec5aa=_0x4926f8;_0x1ec5aa[_0x1ee105(0x3d7)]&&_0x1ec5aa[_0x1ee105(0x3c0)]&&Object['keys'](_0x1ec5aa[_0x1ee105(0x3d7)])[_0x1ee105(0x84)](Number)[_0x1ee105(0x2de)](_0x48b428=>{const _0x45d9fa=_0x1ee105;_0x36a97e([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x48b428,'endColumn':_0x48b428,'rangeType':_0x5d4152[_0x45d9fa(0xe1)][_0x45d9fa(0x370)]},'unitId':_0x1ec5aa[_0x45d9fa(0x6e)],'subUnitId':_0x1ec5aa['subUnitId'],'showText':'setColData','highlightColumn':!0x0}],'update');});break;}case _0x56c972[_0x1ee105(0x3eb)]['id']:{let _0x5f4ee2=_0x4926f8;_0x36a97e(_0x5f4ee2[_0x1ee105(0x15e)]?_0x211582(_0x5f4ee2['cellValue'])[_0x1ee105(0x84)](_0x20c933=>({'range':_0x20c933,'unitId':_0x5f4ee2[_0x1ee105(0x6e)],'subUnitId':_0x5f4ee2[_0x1ee105(0x3c0)],'showText':'setRangeValues'})):[],_0x1ee105(0x2d7));break;}case _0x56c972[_0x1ee105(0x21d)]['id']:{let _0x10e538=_0x437bbf[_0x1ee105(0x9c)];_0x36a97e([{'range':_0x12fe0f(_0x10e538[_0x1ee105(0x3f7)][_0x1ee105(0x2a8)]),'unitId':_0x10e538['unitId'],'subUnitId':_0x10e538[_0x1ee105(0x3f7)]['subUnitId'],'showText':_0x1ee105(0x25b)}],_0x1ee105(0x1df)),_0x36a97e([{'range':_0x12fe0f(_0x10e538['to'][_0x1ee105(0x2a8)]),'unitId':_0x10e538[_0x1ee105(0x6e)],'subUnitId':_0x10e538['to'][_0x1ee105(0x3c0)],'showText':_0x1ee105(0x25b)}],'insert');break;}case _0x56c972[_0x1ee105(0x3bb)]['id']:{let _0x19dabc=_0x4926f8;_0x36a97e([{'range':_0x19dabc[_0x1ee105(0xa0)],'unitId':_0x19dabc['unitId'],'subUnitId':_0x19dabc['subUnitId']}],_0x1ee105(0x2d7));break;}case _0x56c972['SetWorksheetRowHeightMutation']['id']:{let _0x4e46b5=_0x4926f8;_0x4e46b5[_0x1ee105(0x215)]&&_0x4e46b5[_0x1ee105(0x215)][_0x1ee105(0x12d)]>0x0&&_0x4e46b5[_0x1ee105(0x3c0)]&&_0x36a97e(_0x4e46b5[_0x1ee105(0x215)][_0x1ee105(0x84)](_0xa92a3a=>({'range':_0xa92a3a,'unitId':_0x4e46b5[_0x1ee105(0x6e)],'subUnitId':_0x4e46b5[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x218)})),_0x1ee105(0x32c));break;}case _0x56c972[_0x1ee105(0x11d)]['id']:{let _0x54840c=_0x4926f8;_0x54840c[_0x1ee105(0x215)]&&_0x54840c[_0x1ee105(0x215)]['length']>0x0&&_0x54840c[_0x1ee105(0x3c0)]&&_0x36a97e(_0x54840c[_0x1ee105(0x215)][_0x1ee105(0x84)](_0x27731=>({'range':_0x27731,'unitId':_0x54840c[_0x1ee105(0x6e)],'subUnitId':_0x54840c[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x2ed)})),'arrowColumn');break;}case _0x56c972[_0x1ee105(0x3cc)]['id']:{let _0x3f674e=_0x4926f8;_0x36a97e(_0x3f674e[_0x1ee105(0x36b)][_0x1ee105(0x84)](_0x450b95=>_0x450b95['ranges'][_0x1ee105(0x84)](_0x4b482d=>({'range':_0x4b482d,'unitId':_0x3f674e[_0x1ee105(0x6e)],'subUnitId':_0x3f674e['subUnitId'],'showText':_0x1ee105(0x231)})))['flat'](),_0x1ee105(0x117));break;}case _0x3a9357[_0x1ee105(0x2dd)]['id']:{let _0x411268=_0x4926f8;_0x36a97e(_0x411268[_0x1ee105(0x3ad)]['ranges']['map'](_0x2ae151=>({'range':_0x2ae151,'unitId':_0x411268[_0x1ee105(0x6e)],'subUnitId':_0x411268[_0x1ee105(0x3c0)],'showText':'setCF'})),_0x1ee105(0x117));break;}case _0x3b22c5[_0x1ee105(0x2ff)]['id']:{let _0x800288=_0x4926f8;_0x36a97e((Array['isArray'](_0x800288[_0x1ee105(0x3ad)])?_0x800288[_0x1ee105(0x3ad)]:[_0x800288[_0x1ee105(0x3ad)]])[_0x1ee105(0x84)](_0x135238=>_0x135238[_0x1ee105(0x215)][_0x1ee105(0x84)](_0x192357=>({'range':_0x192357,'unitId':_0x800288[_0x1ee105(0x6e)],'subUnitId':_0x800288[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x3dc)})))[_0x1ee105(0xf2)](),_0x1ee105(0x117));break;}case _0x56c972[_0x1ee105(0x3f9)]['id']:{let _0x41705d=_0x4926f8,_0x277006=_0x41705d[_0x1ee105(0x6e)],_0x2ce1d7=_0x41705d[_0x1ee105(0x3c0)];_0x41705d['ruleIds']&&_0x41705d[_0x1ee105(0x226)][_0x1ee105(0x12d)]>0x0&&_0x41705d['subUnitId']&&_0x41705d['ruleIds']['forEach'](_0x5020f2=>{const _0x4c8d29=_0x1ee105;let _0x542327=this[_0x4c8d29(0x2a2)][_0x4c8d29(0x18b)](_0x277006,_0x2ce1d7,_0x5020f2),_0x484402=(_0x542327==null?void 0x0:_0x542327[_0x4c8d29(0x215)]['map'](_0x497a91=>({'range':_0x497a91,'unitId':_0x277006,'subUnitId':_0x2ce1d7,'showText':'deleteRangeProtection'})))||[];_0x484402['length']>0x0&&_0x36a97e(_0x484402,_0x4c8d29(0x1ff));});break;}case _0x3a9357[_0x1ee105(0xd1)]['id']:{let _0x4b91fb=_0x4926f8;if(_0x4b91fb['cfId']&&_0x4b91fb[_0x1ee105(0x3c0)]){let _0x48a6d9=this[_0x1ee105(0x30d)]['getRule'](_0x4b91fb['unitId'],_0x4b91fb[_0x1ee105(0x3c0)],_0x4b91fb[_0x1ee105(0x397)]);if(_0x48a6d9){let _0x169304=_0x48a6d9[_0x1ee105(0x215)][_0x1ee105(0x84)](_0x566ad2=>({'range':_0x566ad2,'unitId':_0x4b91fb['unitId'],'subUnitId':_0x4b91fb[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x35c)}));_0x169304[_0x1ee105(0x12d)]>0x0&&_0x36a97e(_0x169304,_0x1ee105(0x1ff));}}break;}case _0x3b22c5[_0x1ee105(0x131)]['id']:{let _0x2b8c84=_0x4926f8,_0x43cfa2=Array[_0x1ee105(0x188)](_0x2b8c84[_0x1ee105(0x2f0)])?_0x2b8c84['ruleId']:[_0x2b8c84[_0x1ee105(0x2f0)]];_0x43cfa2[_0x1ee105(0x12d)]>0x0&&_0x2b8c84['subUnitId']&&_0x43cfa2[_0x1ee105(0x2de)](_0x6e3ada=>{const _0x2e77c8=_0x1ee105;let _0x16c461=this[_0x2e77c8(0x18d)]['getRuleById'](_0x2b8c84[_0x2e77c8(0x6e)],_0x2b8c84['subUnitId'],_0x6e3ada),_0x16ce77=(_0x16c461==null?void 0x0:_0x16c461[_0x2e77c8(0x215)]['map'](_0x5e2d1a=>({'range':_0x5e2d1a,'unitId':_0x2b8c84[_0x2e77c8(0x6e)],'subUnitId':_0x2b8c84[_0x2e77c8(0x3c0)],'showText':'removeDV'})))||[];_0x16ce77[_0x2e77c8(0x12d)]>0x0&&_0x36a97e(_0x16ce77,_0x2e77c8(0x1ff));});break;}case _0x56c972[_0x1ee105(0x1b5)]['id']:{let _0x22aa46=_0x4926f8;_0x36a97e(_0x22aa46[_0x1ee105(0x3ad)][_0x1ee105(0x215)][_0x1ee105(0x84)](_0x265a62=>({'range':_0x265a62,'unitId':_0x22aa46[_0x1ee105(0x6e)],'subUnitId':_0x22aa46[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x35a)})),_0x1ee105(0x12e));break;}case _0x56c972[_0x1ee105(0x1f5)]['id']:{let _0x4c98a0=_0x4926f8;_0x36a97e([{'range':_0x4c98a0['range'],'unitId':_0x4c98a0[_0x1ee105(0x6e)],'subUnitId':_0x4c98a0[_0x1ee105(0x3c0)],'showText':'setWorksheetRangeTheme'}],_0x1ee105(0x12e));break;}case _0x56c972[_0x1ee105(0x1b7)]['id']:{let _0x17a19a=_0x4926f8;_0x36a97e([{'range':_0x17a19a['range'],'unitId':_0x17a19a['unitId'],'subUnitId':_0x17a19a[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x2e3)}],_0x1ee105(0x12e));break;}case _0x3a9357[_0x1ee105(0x36a)]['id']:{let _0x21f17a=_0x4926f8;_0x36a97e(_0x21f17a[_0x1ee105(0x3ad)]['ranges'][_0x1ee105(0x84)](_0x1c608a=>({'range':_0x1c608a,'unitId':_0x21f17a[_0x1ee105(0x6e)],'subUnitId':_0x21f17a[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x1cd)})),_0x1ee105(0x12e));break;}case _0x3a9357[_0x1ee105(0x10e)]['id']:{let _0x3bd256=_0x4926f8,_0x2e4683=this[_0x1ee105(0x30d)][_0x1ee105(0x18b)](_0x3bd256[_0x1ee105(0x6e)],_0x3bd256['subUnitId'],_0x3bd256[_0x1ee105(0x1aa)]['id']),_0x20966c=this['_conditionalFormattingRuleModel'][_0x1ee105(0x18b)](_0x3bd256[_0x1ee105(0x6e)],_0x3bd256['subUnitId'],_0x3bd256[_0x1ee105(0x1fa)]['id']);_0x2e4683&&_0x36a97e(_0x2e4683['ranges'][_0x1ee105(0x84)](_0x31ce13=>({'range':_0x31ce13,'unitId':_0x3bd256[_0x1ee105(0x6e)],'subUnitId':_0x3bd256[_0x1ee105(0x3c0)],'showText':'moveCF'})),_0x1ee105(0x1ff)),_0x20966c&&_0x36a97e(_0x20966c[_0x1ee105(0x215)][_0x1ee105(0x84)](_0x5e067f=>({'range':_0x5e067f,'unitId':_0x3bd256[_0x1ee105(0x6e)],'subUnitId':_0x3bd256[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x165)})),_0x1ee105(0x117));break;}case _0x459839[_0x1ee105(0x23e)]['id']:{let _0x43b33a=_0x4926f8;_0x36a97e([{'range':_0x43b33a[_0x1ee105(0xa0)],'unitId':_0x43b33a[_0x1ee105(0x6e)],'subUnitId':_0x43b33a[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x3c1)}],_0x1ee105(0x12e));break;}case _0x459839[_0x1ee105(0x3c6)]['id']:{let _0x3a9fff=_0x4926f8,_0x126e56=this[_0x1ee105(0x1ee)][_0x1ee105(0x2b1)](_0x3a9fff['unitId'],_0x3a9fff[_0x1ee105(0x3c0)]);if(_0x126e56){let _0x8c0e3c=_0x126e56[_0x1ee105(0x12c)]();_0x36a97e(_0x8c0e3c?[{'range':_0x8c0e3c,'unitId':_0x3a9fff['unitId'],'subUnitId':_0x3a9fff[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x2d3)}]:[],_0x1ee105(0x12e));}break;}case _0x459839[_0x1ee105(0x3b5)]['id']:{let _0x4be675=_0x4926f8,_0x38a917=this[_0x1ee105(0x1ee)][_0x1ee105(0x2b1)](_0x4be675['unitId'],_0x4be675['subUnitId']);if(_0x38a917){let _0x45374a=_0x38a917[_0x1ee105(0x12c)]();_0x36a97e(_0x45374a?[{'range':_0x45374a,'unitId':_0x4be675['unitId'],'subUnitId':_0x4be675[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x1b9)}]:[],_0x1ee105(0x12e));}break;}case _0x459839['ReCalcSheetsFilterMutation']['id']:{let _0x341118=_0x4926f8,_0x2ca4d7=this['_sheetsFilterService']['getFilterModel'](_0x341118[_0x1ee105(0x6e)],_0x341118[_0x1ee105(0x3c0)]);if(_0x2ca4d7){let _0x342b6e=_0x2ca4d7[_0x1ee105(0x12c)]();_0x36a97e(_0x342b6e?[{'range':_0x342b6e,'unitId':_0x341118[_0x1ee105(0x6e)],'subUnitId':_0x341118['subUnitId'],'showText':_0x1ee105(0x1b9)}]:[],_0x1ee105(0x12e));}break;}case _0x3b22c5[_0x1ee105(0x24e)]['id']:{let _0xc441c8=_0x4926f8,_0x25043b=this['_dataValidationModel'][_0x1ee105(0x135)](_0xc441c8[_0x1ee105(0x6e)],_0xc441c8[_0x1ee105(0x3c0)],_0xc441c8[_0x1ee105(0x2f0)]);_0x25043b&&_0x36a97e(_0x25043b['ranges'][_0x1ee105(0x84)](_0x235e35=>({'range':_0x235e35,'unitId':_0xc441c8[_0x1ee105(0x6e)],'subUnitId':_0xc441c8[_0x1ee105(0x3c0)],'showText':'setDV'})),'updateBorder');break;}case _0x125247['AddSheetSparklineMutation']['id']:{let _0xf5c32f=_0x4926f8,_0x193ea4=_0xf5c32f['unitId'],_0x2a4c5e=_0xf5c32f[_0x1ee105(0x3c0)],_0x3921c6=_0xf5c32f[_0x1ee105(0x2ef)];_0xf5c32f[_0x1ee105(0x2ef)]&&_0x2a4c5e&&Object[_0x1ee105(0x315)](_0xf5c32f['sparklineConfigMap'])[_0x1ee105(0x2de)](_0x367b72=>{const _0x4d5598=_0x1ee105;let _0x4bcbec=_0x3921c6[_0x367b72];_0x36a97e(_0x211582(_0x4bcbec[_0x4d5598(0x11c)])[_0x4d5598(0x84)](_0x2301a0=>({'range':_0x2301a0,'unitId':_0x193ea4,'subUnitId':_0x2a4c5e,'showText':_0x4d5598(0x2cc)})),_0x4d5598(0x17c));});break;}case _0x125247[_0x1ee105(0xa4)]['id']:{let _0x4d0a90=_0x4926f8;_0x4d0a90[_0x1ee105(0x38d)]&&_0x4d0a90['groupIds'][_0x1ee105(0x12d)]>0x0&&_0x4d0a90[_0x1ee105(0x3c0)]&&_0x4d0a90[_0x1ee105(0x38d)][_0x1ee105(0x2de)](_0x519b50=>{const _0x11d4df=_0x1ee105;let _0xdc29f=this[_0x11d4df(0xb3)]['getSparklineById'](_0x4d0a90[_0x11d4df(0x6e)],_0x4d0a90[_0x11d4df(0x3c0)],_0x519b50);_0xdc29f&&_0x36a97e(_0x211582(_0xdc29f[_0x11d4df(0x11c)][_0x11d4df(0xfc)]())['map'](_0x3f69f6=>({'range':_0x3f69f6,'unitId':_0x4d0a90[_0x11d4df(0x6e)],'subUnitId':_0x4d0a90[_0x11d4df(0x3c0)],'showText':'setSparkline'})),_0x11d4df(0x2d7));});break;}case _0x125247['RemoveSheetSparklineMutation']['id']:{let _0x2fab54=_0x4926f8;_0x2fab54[_0x1ee105(0x38d)]&&_0x2fab54['groupIds'][_0x1ee105(0x12d)]>0x0&&_0x2fab54[_0x1ee105(0x3c0)]&&_0x2fab54['groupIds'][_0x1ee105(0x2de)](_0x2bb107=>{const _0x511065=_0x1ee105;let _0x2ff1f0=this['_sparklineDataSourceModel'][_0x511065(0x2ba)](_0x2fab54['unitId'],_0x2fab54['subUnitId'],_0x2bb107);_0x2ff1f0&&_0x36a97e(_0x211582(_0x2ff1f0[_0x511065(0x11c)][_0x511065(0xfc)]())['map'](_0x21ce9c=>({'range':_0x21ce9c,'unitId':_0x2fab54['unitId'],'subUnitId':_0x2fab54[_0x511065(0x3c0)],'showText':'removeSparkline'})),_0x511065(0x1df));});break;}case _0x14e7bd[_0x1ee105(0xa1)]['id']:{let _0x260bae=_0x4926f8;_0x260bae[_0x1ee105(0x32e)]&&_0x260bae[_0x1ee105(0x3c0)]&&_0x36a97e([{'range':_0x260bae[_0x1ee105(0xa0)],'unitId':_0x260bae[_0x1ee105(0x6e)],'subUnitId':_0x260bae['subUnitId'],'showText':_0x1ee105(0x29b)}],_0x1ee105(0x17c));break;}case _0x14e7bd[_0x1ee105(0x344)]['id']:{let _0x1821a9=_0x4926f8;if(_0x1821a9[_0x1ee105(0x32e)]&&_0x1821a9[_0x1ee105(0x3c0)]){var _0x2d14d4;let _0x4ab4c5=(_0x2d14d4=this['_sheetTableService'][_0x1ee105(0x235)](_0x1821a9['unitId'],_0x1821a9[_0x1ee105(0x32e)]))==null?void 0x0:_0x2d14d4[_0x1ee105(0xa0)];_0x4ab4c5&&_0x36a97e([{'range':_0x4ab4c5,'unitId':_0x1821a9[_0x1ee105(0x6e)],'subUnitId':_0x1821a9[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x20c)}],'delete');}break;}case _0x14e7bd[_0x1ee105(0x2ae)]['id']:{let _0x1153d7=_0x4926f8;if(_0x1153d7[_0x1ee105(0x32e)]){let _0x1bf9fd=this[_0x1ee105(0x24b)][_0x1ee105(0x235)](_0x1153d7[_0x1ee105(0x6e)],_0x1153d7[_0x1ee105(0x32e)]);_0x1bf9fd&&_0x1bf9fd['range']&&_0x1bf9fd[_0x1ee105(0x3c0)]&&(_0x3e3fca[_0x1ee105(0x3c3)][_0x1ee105(0x312)](_0x1bf9fd[_0x1ee105(0x3c0)]),_0x36a97e([{'range':_0x1bf9fd[_0x1ee105(0xa0)],'unitId':_0x1153d7[_0x1ee105(0x6e)],'subUnitId':_0x1bf9fd['subUnitId'],'showText':_0x1ee105(0xc7)}],'update'));}break;}case _0x14e7bd[_0x1ee105(0x369)]['id']:{let _0x34e4e6=_0x4926f8;if(_0x34e4e6[_0x1ee105(0x32e)]&&_0x34e4e6[_0x1ee105(0x3c0)]){var _0x7fe617;let _0x163aa1=(_0x7fe617=this[_0x1ee105(0x24b)][_0x1ee105(0x235)](_0x34e4e6['unitId'],_0x34e4e6[_0x1ee105(0x32e)]))==null?void 0x0:_0x7fe617[_0x1ee105(0xa0)];_0x163aa1&&_0x36a97e([{'range':_0x163aa1,'unitId':_0x34e4e6['unitId'],'subUnitId':_0x34e4e6[_0x1ee105(0x3c0)],'showText':_0x1ee105(0x1b4)}],_0x1ee105(0x2d7));}break;}case _0x5056d5[_0x1ee105(0x21a)]['id']:{let _0x4bf6a5=_0x4926f8;if(_0x4bf6a5['pivotTableId']&&_0x4bf6a5['subUnitId']){var _0xdcdc8f;let _0x377beb=(_0xdcdc8f=this[_0x1ee105(0x2bc)]['getPivotTableRangeInfo'](_0x4bf6a5[_0x1ee105(0x6e)],_0x4bf6a5[_0x1ee105(0x3c0)],_0x4bf6a5[_0x1ee105(0x23d)]))==null?void 0x0:_0xdcdc8f[_0x1ee105(0x297)];_0x377beb&&_0x36a97e((0x0,_0x5056d5[_0x1ee105(0x2f4)])(_0x377beb)[_0x1ee105(0x84)](_0x4b08be=>({'range':_0x4b08be,'unitId':_0x4bf6a5['unitId'],'subUnitId':_0x4bf6a5['subUnitId'],'showText':_0x1ee105(0x2ac)})),_0x1ee105(0x17c));}break;}case _0x5056d5[_0x1ee105(0x278)]['id']:{let _0x1a0ff3=_0x4926f8;if(_0x1a0ff3[_0x1ee105(0x23d)]&&_0x1a0ff3['subUnitId']){var _0x15b3b4;let _0x5de783=(_0x15b3b4=this[_0x1ee105(0x2bc)][_0x1ee105(0x170)](_0x1a0ff3['unitId'],_0x1a0ff3[_0x1ee105(0x3c0)],_0x1a0ff3[_0x1ee105(0x23d)]))==null?void 0x0:_0x15b3b4[_0x1ee105(0x297)];_0x5de783&&_0x36a97e((0x0,_0x5056d5['unionPivotViewRange'])(_0x5de783)['map'](_0x33f652=>({'range':_0x33f652,'unitId':_0x1a0ff3[_0x1ee105(0x6e)],'subUnitId':_0x1a0ff3[_0x1ee105(0x3c0)],'showText':'removePivotTable'})),_0x1ee105(0x1df));}break;}case _0x5056d5[_0x1ee105(0x10c)]['id']:case _0x5056d5[_0x1ee105(0xfa)]['id']:case _0x5056d5[_0x1ee105(0x185)]['id']:case _0x5056d5[_0x1ee105(0x201)]['id']:case _0x5056d5[_0x1ee105(0x69)]['id']:case _0x5056d5[_0x1ee105(0x2ee)]['id']:case _0x5056d5[_0x1ee105(0x323)]['id']:case _0x5056d5[_0x1ee105(0x364)]['id']:case _0x5056d5[_0x1ee105(0x2ec)]['id']:case _0x5056d5[_0x1ee105(0x2da)]['id']:case _0x5056d5[_0x1ee105(0x246)]['id']:case _0x5056d5[_0x1ee105(0x23a)]['id']:case _0x5056d5['SetPivotCollapseMutation']['id']:case _0x5056d5[_0x1ee105(0x38b)]['id']:case _0x5056d5[_0x1ee105(0x22f)]['id']:{let _0x439126=_0x4926f8,_0x2609b1=_0x1ee105(0x20b);if(_0x43e9b6===_0x5056d5[_0x1ee105(0x10c)]['id']?_0x2609b1='setPivotOption':_0x43e9b6===_0x5056d5[_0x1ee105(0xfa)]['id']?_0x2609b1=_0x1ee105(0xf7):_0x43e9b6===_0x5056d5[_0x1ee105(0x185)]['id']?_0x2609b1=_0x1ee105(0x372):_0x43e9b6===_0x5056d5[_0x1ee105(0x201)]['id']?_0x2609b1=_0x1ee105(0x3ae):_0x43e9b6===_0x5056d5['RemovePivotFieldMutation']['id']?_0x2609b1=_0x1ee105(0x3c9):_0x43e9b6===_0x5056d5[_0x1ee105(0x2ee)]['id']?_0x2609b1=_0x1ee105(0x3ff):_0x43e9b6===_0x5056d5[_0x1ee105(0x323)]['id']?_0x2609b1='updateFieldPosition':_0x43e9b6===_0x5056d5[_0x1ee105(0x364)]['id']?_0x2609b1='updateValuePosition':_0x43e9b6===_0x5056d5['UpdatePivotFieldSourceInfoMutation']['id']?_0x2609b1='updatePivotFieldSource':_0x43e9b6===_0x5056d5['SetPivotFilterMutation']['id']?_0x2609b1='setPivotFilter':_0x43e9b6===_0x5056d5['SetPivotValueFilterMutation']['id']?_0x2609b1=_0x1ee105(0x1e7):_0x43e9b6===_0x5056d5[_0x1ee105(0x23a)]['id']?_0x2609b1='setPivotSort':_0x43e9b6===_0x5056d5[_0x1ee105(0x121)]['id']?_0x2609b1=_0x1ee105(0x1ca):_0x43e9b6===_0x5056d5['SetPivotSubtotalTypeMutation']['id']?_0x2609b1=_0x1ee105(0x1d5):_0x43e9b6===_0x5056d5['SetPivotFieldFormatMutation']['id']&&(_0x2609b1=_0x1ee105(0x225)),_0x439126[_0x1ee105(0x23d)]&&_0x439126['subUnitId']){var _0x2f1f72;let _0x363947=(_0x2f1f72=this[_0x1ee105(0x2bc)][_0x1ee105(0x170)](_0x439126[_0x1ee105(0x6e)],_0x439126[_0x1ee105(0x3c0)],_0x439126[_0x1ee105(0x23d)]))==null?void 0x0:_0x2f1f72['rangeInfo'];_0x363947&&_0x36a97e((0x0,_0x5056d5[_0x1ee105(0x2f4)])(_0x363947)[_0x1ee105(0x84)](_0x10d26c=>({'range':_0x10d26c,'unitId':_0x439126[_0x1ee105(0x6e)],'subUnitId':_0x439126[_0x1ee105(0x3c0)],'showText':_0x2609b1})),_0x1ee105(0x2d7));}break;}case _0xc739c4['InsertSheetsChartMutation']['id']:{let _0x2c0867=_0x4926f8;_0x2c0867[_0x1ee105(0x6a)]&&_0x3e3fca[_0x1ee105(0x88)]['push']({'drawingId':_0x2c0867[_0x1ee105(0x6a)],'unitId':_0x2c0867['unitId'],'subUnitId':_0x2c0867[_0x1ee105(0x3c0)],'showText':_0x131484});break;}case _0xc739c4['RemoveSheetsChartMutation']['id']:{let _0x56fa00=_0x4926f8;_0x56fa00[_0x1ee105(0x6a)]&&_0x3e3fca['deleteDrawings'][_0x1ee105(0x312)]({'drawingId':_0x56fa00[_0x1ee105(0x6a)],'unitId':_0x56fa00[_0x1ee105(0x6e)],'subUnitId':_0x56fa00[_0x1ee105(0x3c0)],'showText':_0x131484});break;}case _0xc739c4['ChartUpdateConfigMutation']['id']:{let _0x2706f1=_0x4926f8;if(_0x2706f1[_0x1ee105(0x37a)]){let _0x76d655=this[_0x1ee105(0x1f2)][_0x1ee105(0x284)](_0x2706f1[_0x1ee105(0x6e)],_0x2706f1[_0x1ee105(0x37a)]);_0x76d655&&(_0x3e3fca[_0x1ee105(0x3c3)][_0x1ee105(0x312)](_0x76d655),_0x3e3fca['updateDrawings'][_0x1ee105(0x312)]({'drawingId':_0x2706f1[_0x1ee105(0x37a)],'unitId':_0x2706f1[_0x1ee105(0x6e)],'subUnitId':_0x76d655,'showText':_0x131484}));}break;}case _0xc739c4[_0x1ee105(0x39c)]['id']:{let _0x1192e8=_0x4926f8;if(_0x1192e8[_0x1ee105(0x37a)]){let _0x2cf2e4=this[_0x1ee105(0x1f2)]['getSubUnitId'](_0x1192e8[_0x1ee105(0x6e)],_0x1192e8['chartModelId']);_0x2cf2e4&&(_0x3e3fca[_0x1ee105(0x3c3)][_0x1ee105(0x312)](_0x2cf2e4),_0x3e3fca['updateDrawings'][_0x1ee105(0x312)]({'drawingId':_0x1192e8[_0x1ee105(0x37a)],'unitId':_0x1192e8[_0x1ee105(0x6e)],'subUnitId':_0x2cf2e4,'showText':_0x131484}));}break;}case _0x1b83a4[_0x1ee105(0x257)]['id']:{let _0x15bc11=_0x4926f8;_0x15bc11[_0x1ee105(0x1de)]&&_0x3e3fca['insertDrawings'][_0x1ee105(0x312)]({'drawingId':_0x15bc11[_0x1ee105(0x1de)],'unitId':_0x15bc11[_0x1ee105(0x6e)],'subUnitId':_0x15bc11[_0x1ee105(0x3c0)],'showText':_0x131484});break;}case _0x1b83a4[_0x1ee105(0x209)]['id']:{let _0xd23220=_0x4926f8;_0xd23220[_0x1ee105(0x1de)]&&_0x3e3fca[_0x1ee105(0x1e2)][_0x1ee105(0x312)]({'drawingId':_0xd23220[_0x1ee105(0x1de)],'unitId':_0xd23220['unitId'],'subUnitId':_0xd23220[_0x1ee105(0x3c0)],'showText':_0x131484});break;}case _0x1b83a4[_0x1ee105(0x3a3)]['id']:case _0x1b83a4['UpdateSheetsShapeTypeMutation']['id']:{let _0x16439d=_0x4926f8;_0x16439d['shapeId']&&_0x3e3fca[_0x1ee105(0x3d4)][_0x1ee105(0x312)]({'drawingId':_0x16439d[_0x1ee105(0x1de)],'unitId':_0x16439d[_0x1ee105(0x6e)],'subUnitId':_0x16439d['subUnitId'],'showText':_0x131484});break;}case _0x34799e[_0x1ee105(0x287)]['id']:{let _0x234fdd=_0x4926f8,_0x5aa6b8=_0x234fdd['objects'],_0x5ed6b3=_0x234fdd[_0x1ee105(0xa3)],_0x49c8f8=_0x5ed6b3!==_0x34799e[_0x1ee105(0x34c)][_0x1ee105(0x173)]&&_0x5ed6b3!==_0x34799e['DrawingApplyType'][_0x1ee105(0x288)],_0xbad7b4=_0x5ed6b3===_0x34799e[_0x1ee105(0x34c)][_0x1ee105(0x173)],_0x59e13a=_0x5ed6b3===_0x34799e[_0x1ee105(0x34c)][_0x1ee105(0x288)],_0xeef0e8=_0x131484;if(_0x5ed6b3===_0x34799e[_0x1ee105(0x34c)][_0x1ee105(0x173)]?_0xeef0e8=this['_localeService']['t']('editHistory.action.insertDrawing'):_0x5ed6b3===_0x34799e[_0x1ee105(0x34c)]['REMOVE']&&(_0xeef0e8=this[_0x1ee105(0xb5)]['t']('editHistory.action.removeDrawing')),Array[_0x1ee105(0x188)](_0x5aa6b8))_0x5aa6b8[_0x1ee105(0x2de)](_0x544c49=>{const _0x5d958d=_0x1ee105;if(_0x5d958d(0xe3)in _0x544c49&&_0x544c49['drawingId'])_0x49c8f8?_0x3e3fca[_0x5d958d(0x3d4)]['push']({'drawingId':_0x544c49[_0x5d958d(0xe3)],'unitId':_0x234fdd[_0x5d958d(0x6e)],'subUnitId':_0x234fdd[_0x5d958d(0x3c0)],'showText':_0xeef0e8}):_0xbad7b4?_0x3e3fca['insertDrawings'][_0x5d958d(0x312)]({'drawingId':_0x544c49['drawingId'],'unitId':_0x234fdd[_0x5d958d(0x6e)],'subUnitId':_0x234fdd['subUnitId'],'showText':_0xeef0e8}):_0x59e13a&&_0x3e3fca[_0x5d958d(0x1e2)]['push']({'drawingId':_0x544c49[_0x5d958d(0xe3)],'unitId':_0x234fdd[_0x5d958d(0x6e)],'subUnitId':_0x234fdd['subUnitId'],'showText':_0xeef0e8});else{if(_0x5d958d(0x11f)in _0x544c49&&_0x5d958d(0x2ca)in _0x544c49){var _0x5cb5a9,_0x2f86b6;(_0x5cb5a9=_0x544c49[_0x5d958d(0x11f)])!=null&&_0x5cb5a9[_0x5d958d(0xe3)]&&(_0x49c8f8?_0x3e3fca['updateDrawings'][_0x5d958d(0x312)]({'drawingId':_0x544c49[_0x5d958d(0x11f)]['drawingId'],'unitId':_0x234fdd[_0x5d958d(0x6e)],'subUnitId':_0x234fdd[_0x5d958d(0x3c0)],'showText':_0xeef0e8}):_0xbad7b4?_0x3e3fca[_0x5d958d(0x88)][_0x5d958d(0x312)]({'drawingId':_0x544c49[_0x5d958d(0x11f)][_0x5d958d(0xe3)],'unitId':_0x234fdd[_0x5d958d(0x6e)],'subUnitId':_0x234fdd[_0x5d958d(0x3c0)],'showText':_0xeef0e8}):_0x59e13a&&_0x3e3fca['deleteDrawings'][_0x5d958d(0x312)]({'drawingId':_0x544c49[_0x5d958d(0x11f)]['drawingId'],'unitId':_0x234fdd[_0x5d958d(0x6e)],'subUnitId':_0x234fdd[_0x5d958d(0x3c0)],'showText':_0xeef0e8})),(_0x2f86b6=_0x544c49[_0x5d958d(0x2ca)])==null||_0x2f86b6[_0x5d958d(0x2de)](_0x5e121b=>{const _0x48d938=_0x5d958d;_0x5e121b[_0x48d938(0xe3)]&&(_0x49c8f8?_0x3e3fca[_0x48d938(0x3d4)][_0x48d938(0x312)]({'drawingId':_0x5e121b[_0x48d938(0xe3)],'unitId':_0x234fdd[_0x48d938(0x6e)],'subUnitId':_0x234fdd[_0x48d938(0x3c0)],'showText':_0xeef0e8}):_0xbad7b4?_0x3e3fca[_0x48d938(0x88)][_0x48d938(0x312)]({'drawingId':_0x5e121b['drawingId'],'unitId':_0x234fdd[_0x48d938(0x6e)],'subUnitId':_0x234fdd['subUnitId'],'showText':_0xeef0e8}):_0x59e13a&&_0x3e3fca[_0x48d938(0x1e2)][_0x48d938(0x312)]({'drawingId':_0x5e121b['drawingId'],'unitId':_0x234fdd[_0x48d938(0x6e)],'subUnitId':_0x234fdd[_0x48d938(0x3c0)],'showText':_0xeef0e8}));});}}});else{if(_0x5aa6b8&&typeof _0x5aa6b8==_0x1ee105(0x35b)){if(_0x1ee105(0x3e9)in _0x5aa6b8&&Array[_0x1ee105(0x188)](_0x5aa6b8[_0x1ee105(0x3e9)]))_0x5aa6b8[_0x1ee105(0x3e9)]['forEach'](_0xdb1d9c=>{const _0x1ddb0c=_0x1ee105;_0x49c8f8?_0x3e3fca['updateDrawings']['push']({'drawingId':_0xdb1d9c,'unitId':_0x234fdd['unitId'],'subUnitId':_0x234fdd['subUnitId'],'showText':_0xeef0e8}):_0xbad7b4?_0x3e3fca['insertDrawings'][_0x1ddb0c(0x312)]({'drawingId':_0xdb1d9c,'unitId':_0x234fdd[_0x1ddb0c(0x6e)],'subUnitId':_0x234fdd[_0x1ddb0c(0x3c0)],'showText':_0xeef0e8}):_0x59e13a&&_0x3e3fca[_0x1ddb0c(0x1e2)][_0x1ddb0c(0x312)]({'drawingId':_0xdb1d9c,'unitId':_0x234fdd[_0x1ddb0c(0x6e)],'subUnitId':_0x234fdd['subUnitId'],'showText':_0xeef0e8});});else{if(_0x1ee105(0x11f)in _0x5aa6b8&&_0x1ee105(0x2ca)in _0x5aa6b8){var _0x562c3c,_0x40ad79;(_0x562c3c=_0x5aa6b8['parent'])!=null&&_0x562c3c[_0x1ee105(0xe3)]&&(_0x49c8f8?_0x3e3fca[_0x1ee105(0x3d4)][_0x1ee105(0x312)]({'drawingId':_0x5aa6b8[_0x1ee105(0x11f)][_0x1ee105(0xe3)],'unitId':_0x234fdd['unitId'],'subUnitId':_0x234fdd[_0x1ee105(0x3c0)],'showText':_0xeef0e8}):_0xbad7b4?_0x3e3fca[_0x1ee105(0x88)][_0x1ee105(0x312)]({'drawingId':_0x5aa6b8[_0x1ee105(0x11f)][_0x1ee105(0xe3)],'unitId':_0x234fdd[_0x1ee105(0x6e)],'subUnitId':_0x234fdd[_0x1ee105(0x3c0)],'showText':_0xeef0e8}):_0x59e13a&&_0x3e3fca[_0x1ee105(0x1e2)][_0x1ee105(0x312)]({'drawingId':_0x5aa6b8[_0x1ee105(0x11f)][_0x1ee105(0xe3)],'unitId':_0x234fdd[_0x1ee105(0x6e)],'subUnitId':_0x234fdd[_0x1ee105(0x3c0)],'showText':_0xeef0e8})),(_0x40ad79=_0x5aa6b8['children'])==null||_0x40ad79['forEach'](_0x2fd7c1=>{const _0x58f133=_0x1ee105;_0x2fd7c1['drawingId']&&(_0x49c8f8?_0x3e3fca[_0x58f133(0x3d4)][_0x58f133(0x312)]({'drawingId':_0x2fd7c1[_0x58f133(0xe3)],'unitId':_0x234fdd[_0x58f133(0x6e)],'subUnitId':_0x234fdd['subUnitId'],'showText':_0xeef0e8}):_0xbad7b4?_0x3e3fca[_0x58f133(0x88)][_0x58f133(0x312)]({'drawingId':_0x2fd7c1['drawingId'],'unitId':_0x234fdd[_0x58f133(0x6e)],'subUnitId':_0x234fdd[_0x58f133(0x3c0)],'showText':_0xeef0e8}):_0x59e13a&&_0x3e3fca[_0x58f133(0x1e2)]['push']({'drawingId':_0x2fd7c1[_0x58f133(0xe3)],'unitId':_0x234fdd[_0x58f133(0x6e)],'subUnitId':_0x234fdd[_0x58f133(0x3c0)],'showText':_0xeef0e8}));});}}}}break;}}return _0x3e3fca;}[_0x222100(0x1cf)](_0x1f20c6){const _0x4c98a3=_0x222100;if(_0x1f20c6[_0x4c98a3(0x12d)]<=0x1)return _0x1f20c6;let _0x41b8dd=new Map();return _0x1f20c6[_0x4c98a3(0x2de)](_0x40f85e=>{const _0x5a0da2=_0x4c98a3;let {unitId:_0x5d3ced,subUnitId:_0x39d8ff}=_0x40f85e,_0x4542f4=_0x5d3ced+'-'+_0x39d8ff;if(!_0x41b8dd[_0x5a0da2(0x6b)](_0x4542f4))_0x41b8dd['set'](_0x4542f4,[_0x40f85e]);else{var _0x17a16c;(_0x17a16c=_0x41b8dd[_0x5a0da2(0x3b8)](_0x4542f4))==null||_0x17a16c['push'](_0x40f85e);}}),Array[_0x4c98a3(0x3f7)](_0x41b8dd[_0x4c98a3(0x272)]())[_0x4c98a3(0x84)](_0x4eed9b=>new _0x56c972[(_0x4c98a3(0x16c))]()[_0x4c98a3(0x9b)](..._0x4eed9b[_0x4c98a3(0x84)](_0x4dd78a=>_0x4dd78a[_0x4c98a3(0xa0)]))[_0x4c98a3(0x2ad)]()[_0x4c98a3(0x84)](_0x50908d=>({'range':_0x50908d,'unitId':_0x4eed9b[0x0][_0x4c98a3(0x6e)],'subUnitId':_0x4eed9b[0x0][_0x4c98a3(0x3c0)],'showText':_0x4eed9b[0x0][_0x4c98a3(0xd0)],'highlightRow':_0x4eed9b[0x0]['highlightRow'],'highlightColumn':_0x4eed9b[0x0][_0x4c98a3(0x3b3)]})))[_0x4c98a3(0xf2)]();}};_0x2bd5e7=_0x44657c([_0x5ea03e(0x0,(0x0,_0x5d4152[_0x222100(0x309)])(_0x19e6e4)),_0x5ea03e(0x1,_0x3d0c58[_0x222100(0x400)]),_0x5ea03e(0x2,_0x3d0c58[_0x222100(0x280)]),_0x5ea03e(0x3,(0x0,_0x5d4152[_0x222100(0x309)])(_0x56c972[_0x222100(0x1c3)])),_0x5ea03e(0x4,(0x0,_0x5d4152[_0x222100(0x309)])(_0x3a9357['ConditionalFormattingRuleModel'])),_0x5ea03e(0x5,(0x0,_0x5d4152['Inject'])(_0x28c836['SheetDataValidationModel'])),_0x5ea03e(0x6,(0x0,_0x5d4152[_0x222100(0x309)])(_0x459839[_0x222100(0x26f)])),_0x5ea03e(0x7,(0x0,_0x5d4152[_0x222100(0x309)])(_0x125247['SparklineDataSourceModel'])),_0x5ea03e(0x8,(0x0,_0x5d4152[_0x222100(0x309)])(_0x5056d5[_0x222100(0x26e)])),_0x5ea03e(0x9,(0x0,_0x5d4152[_0x222100(0x309)])(_0x14e7bd[_0x222100(0x1da)])),_0x5ea03e(0xa,(0x0,_0x5d4152[_0x222100(0x309)])(_0x5d4152[_0x222100(0x3d0)])),_0x5ea03e(0xb,(0x0,_0x5d4152[_0x222100(0x309)])(_0xc739c4['SheetsChartService'])),_0x5ea03e(0xc,(0x0,_0x5d4152['Inject'])(_0x421ed4))],_0x2bd5e7);function _0x12fe0f(_0x4f24a5){const _0x229610=_0x222100;return new _0x5d4152[(_0x229610(0x1e9))](_0x4f24a5)[_0x229610(0x1f4)]();}function _0x211582(_0x4d1cf8){const _0x5113b2=_0x222100;let _0x71edec=new _0x5d4152[(_0x5113b2(0x1e9))](_0x4d1cf8),_0x2e9a76=new _0x5d4152[(_0x5113b2(0x1e9))]();return _0x71edec[_0x5113b2(0x3e8)]((_0x427ed6,_0x987650)=>{const _0x3e7500=_0x5113b2;_0x2e9a76[_0x3e7500(0xc3)](_0x427ed6,_0x987650,0x1);}),(0x0,_0x56c972['findAllRectangle'])(_0x2e9a76);}var _0x5b7e26=class extends _0x487591[_0x222100(0x12f)]{constructor(_0x410424,_0x1a13cd){const _0x5c6f1b=_0x222100;if(super(_0x410424,_0x1a13cd),_0x2adbdc(this,_0x5c6f1b(0x111),void 0x0),_0x2adbdc(this,_0x5c6f1b(0x195),void 0x0),_0x2adbdc(this,_0x5c6f1b(0x191),void 0x0),_0x2adbdc(this,_0x5c6f1b(0x3d3),0x4),_0x2adbdc(this,'_blinkTimer',void 0x0),_0x2adbdc(this,_0x5c6f1b(0x3ed),void 0x0),_0x2adbdc(this,_0x5c6f1b(0x3aa),!0x0),_0x2adbdc(this,_0x5c6f1b(0xc5),''),_0x2adbdc(this,_0x5c6f1b(0x23c),!0x1),_0x2adbdc(this,_0x5c6f1b(0x208),_0x5c6f1b(0x1e4)),_0x2adbdc(this,_0x5c6f1b(0x136),void 0x0),_0x1a13cd){var _0x2988f;if(this['setShapeProps'](_0x1a13cd),_0x1a13cd['highlight']&&((_0x2988f=_0x1a13cd[_0x5c6f1b(0x102)])==null?this['_highlightSecond']:_0x2988f)){var _0x30d909;this[_0x5c6f1b(0x2d1)]((_0x30d909=_0x1a13cd[_0x5c6f1b(0x102)])==null?this[_0x5c6f1b(0x3d3)]:_0x30d909);}}this[_0x5c6f1b(0x19e)][_0x5c6f1b(0x35e)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5c6f1b(0x295)]['subscribeEvent'](()=>this[_0x5c6f1b(0x2f8)]({'hovered':!0x1}));}[_0x222100(0x2f8)](_0x48afe6){const _0x2e49c9=_0x222100;var _0x169724,_0x56c804,_0x1801c9,_0xf01e2,_0x1ba6ff,_0xbaa883;this[_0x2e49c9(0x111)]=(_0x169724=_0x48afe6[_0x2e49c9(0x78)])==null?this[_0x2e49c9(0x111)]:_0x169724,this[_0x2e49c9(0x195)]=(_0x56c804=_0x48afe6[_0x2e49c9(0xe0)])==null?this[_0x2e49c9(0x195)]:_0x56c804,this[_0x2e49c9(0xc5)]=(_0x1801c9=_0x48afe6[_0x2e49c9(0x1ba)])==null?this[_0x2e49c9(0xc5)]:_0x1801c9,this['_hovered']=(_0xf01e2=_0x48afe6[_0x2e49c9(0x157)])==null?this[_0x2e49c9(0x23c)]:_0xf01e2,this[_0x2e49c9(0x208)]=(_0x1ba6ff=_0x48afe6[_0x2e49c9(0x2ab)])==null?this[_0x2e49c9(0x208)]:_0x1ba6ff,this[_0x2e49c9(0x136)]=(_0xbaa883=_0x48afe6[_0x2e49c9(0xd0)])==null?this[_0x2e49c9(0x136)]:_0xbaa883,_0x48afe6['highlightSecond']!==void 0x0&&(this[_0x2e49c9(0x3d3)]=_0x48afe6['highlightSecond']),_0x48afe6[_0x2e49c9(0x3ab)]!==void 0x0&&(this['_highlight']=_0x48afe6['highlight']),this['transformByState']({'width':_0x48afe6['width'],'height':_0x48afe6[_0x2e49c9(0x1cb)]});}[_0x222100(0x2d1)](_0x159b97){const _0x176c90=_0x222100;this['_stopBlinking'](),this[_0x176c90(0x3aa)]=!0x0,this[_0x176c90(0x3ed)]=window[_0x176c90(0xf3)](()=>{const _0x19bd0c=_0x176c90;this[_0x19bd0c(0x3aa)]=!this[_0x19bd0c(0x3aa)],this[_0x19bd0c(0x341)](!0x0);},0x1f4),this['_blinkTimer']=window[_0x176c90(0x3be)](()=>{const _0x458575=_0x176c90;this[_0x458575(0xc4)](),this[_0x458575(0x3aa)]=!0x0,this[_0x458575(0x341)](!0x0);},_0x159b97*0x3e8);}['_stopBlinking'](){const _0x4c8855=_0x222100;this[_0x4c8855(0x3ed)]&&(window[_0x4c8855(0x305)](this[_0x4c8855(0x3ed)]),this[_0x4c8855(0x3ed)]=void 0x0),this['_blinkTimer']&&(window[_0x4c8855(0x2d2)](this['_blinkTimer']),this[_0x4c8855(0x179)]=void 0x0);}[_0x222100(0x27c)](_0x50b986){return!0x1;}[_0x222100(0x28f)](){const _0x59ffc9=_0x222100;this[_0x59ffc9(0xc4)](),super['dispose']();}['_draw'](_0x351ddf){const _0x17c02a=_0x222100;let _0x21b660=this[_0x17c02a(0x111)];this[_0x17c02a(0x191)]&&!this['_isBlinkVisible']&&(_0x21b660=this[_0x17c02a(0x3d6)](this[_0x17c02a(0x111)])),_0x351ddf[_0x17c02a(0x3c2)](),_0x351ddf['strokeStyle']=_0x21b660,_0x351ddf[_0x17c02a(0x3a0)]=_0x21b660,_0x351ddf[_0x17c02a(0x3da)]=0x4,this[_0x17c02a(0x195)]===_0x17c02a(0x3f4)?this[_0x17c02a(0x140)](_0x351ddf):this[_0x17c02a(0x8d)](_0x351ddf),_0x351ddf[_0x17c02a(0x3df)](),(this[_0x17c02a(0x23c)]||this[_0x17c02a(0x136)])&&this[_0x17c02a(0xc5)]&&(_0x351ddf[_0x17c02a(0x3c2)](),this[_0x17c02a(0x195)]===_0x17c02a(0x3f4)?_0x351ddf[_0x17c02a(0x184)](0x1,0x0,0x0,0x1,this[_0x17c02a(0x1ce)],this['_labelPosition']===_0x17c02a(0x2d5)?0x0:-0x14):_0x351ddf['transform'](0x1,0x0,0x0,0x1,this[_0x17c02a(0x1ce)],this[_0x17c02a(0x208)]===_0x17c02a(0x2d5)?this['height']:-0x14),this[_0x17c02a(0x268)](_0x351ddf,this[_0x17c02a(0xc5)],_0x21b660),_0x351ddf[_0x17c02a(0x3df)]());}[_0x222100(0x140)](_0x5d1d94){const _0x2fca57=_0x222100;let _0x2a5a92=this[_0x2fca57(0x1cb)]/0x2,_0x544710=this[_0x2fca57(0x1ce)]-0xc;_0x5d1d94[_0x2fca57(0x1c7)](),_0x5d1d94[_0x2fca57(0x37f)](0xc,_0x2a5a92),_0x5d1d94[_0x2fca57(0x286)](_0x544710,_0x2a5a92),_0x5d1d94['stroke'](),_0x5d1d94['beginPath'](),_0x5d1d94[_0x2fca57(0x37f)](0x0,_0x2a5a92),_0x5d1d94[_0x2fca57(0x286)](0xc,_0x2a5a92-0xc/0x2),_0x5d1d94[_0x2fca57(0x286)](0xc,_0x2a5a92+0xc/0x2),_0x5d1d94[_0x2fca57(0x17b)](),_0x5d1d94[_0x2fca57(0x300)](),_0x5d1d94[_0x2fca57(0x1c7)](),_0x5d1d94['moveTo'](this[_0x2fca57(0x1ce)],_0x2a5a92),_0x5d1d94['lineTo'](this[_0x2fca57(0x1ce)]-0xc,_0x2a5a92-0xc/0x2),_0x5d1d94[_0x2fca57(0x286)](this[_0x2fca57(0x1ce)]-0xc,_0x2a5a92+0xc/0x2),_0x5d1d94[_0x2fca57(0x17b)](),_0x5d1d94[_0x2fca57(0x300)]();}[_0x222100(0x8d)](_0x224fa6){const _0xb403af=_0x222100;let _0x2e0301=this[_0xb403af(0x1ce)]/0x2,_0x20e473=this[_0xb403af(0x1cb)]-0xc;_0x224fa6[_0xb403af(0x1c7)](),_0x224fa6['moveTo'](_0x2e0301,0xc),_0x224fa6[_0xb403af(0x286)](_0x2e0301,_0x20e473),_0x224fa6[_0xb403af(0x365)](),_0x224fa6['beginPath'](),_0x224fa6['moveTo'](_0x2e0301,0x0),_0x224fa6[_0xb403af(0x286)](_0x2e0301-0xc/0x2,0xc),_0x224fa6[_0xb403af(0x286)](_0x2e0301+0xc/0x2,0xc),_0x224fa6[_0xb403af(0x17b)](),_0x224fa6[_0xb403af(0x300)](),_0x224fa6['beginPath'](),_0x224fa6[_0xb403af(0x37f)](_0x2e0301,this['height']),_0x224fa6['lineTo'](_0x2e0301-0xc/0x2,this['height']-0xc),_0x224fa6[_0xb403af(0x286)](_0x2e0301+0xc/0x2,this[_0xb403af(0x1cb)]-0xc),_0x224fa6[_0xb403af(0x17b)](),_0x224fa6[_0xb403af(0x300)]();}[_0x222100(0x268)](_0x4c2372,_0x4863b0,_0x40f67b){const _0x57a3d9=_0x222100;_0x4c2372[_0x57a3d9(0x23f)]=_0x57a3d9(0x28d);let _0x2e83e2=_0x4c2372[_0x57a3d9(0x72)](_0x4863b0)[_0x57a3d9(0x1ce)],_0xbc933a=Math[_0x57a3d9(0x38e)](_0x2e83e2+0x8,0xc8);if(_0x4c2372[_0x57a3d9(0x3a0)]=_0x40f67b,_0x4c2372[_0x57a3d9(0x1c7)](),_0x4c2372['moveTo'](0x4,0x0),_0x4c2372[_0x57a3d9(0x286)](_0xbc933a-0x4,0x0),_0x4c2372[_0x57a3d9(0x79)](_0xbc933a-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c2372[_0x57a3d9(0x286)](_0xbc933a,0x10),_0x4c2372[_0x57a3d9(0x79)](_0xbc933a-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x4c2372['lineTo'](0x0,0x14),_0x4c2372[_0x57a3d9(0x286)](0x0,0x4),_0x4c2372[_0x57a3d9(0x79)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c2372['closePath'](),_0x4c2372[_0x57a3d9(0x300)](),_0x4c2372['fillStyle']=_0x57a3d9(0x13f),_0x2e83e2>0xc0){let _0xce165c='',_0xfd711a=0x0;for(let _0x18e7df of _0x4863b0){let _0x1dc045=_0x4c2372[_0x57a3d9(0x72)](_0x18e7df)[_0x57a3d9(0x1ce)];if(_0xfd711a+_0x1dc045<=0xc0-_0x4c2372[_0x57a3d9(0x72)]('...')[_0x57a3d9(0x1ce)])_0xce165c+=_0x18e7df,_0xfd711a+=_0x1dc045;else{_0xce165c+=_0x57a3d9(0x302);break;}}_0x4c2372['fillText'](_0xce165c,0x4,0xf);}else _0x4c2372['fillText'](_0x4863b0,0x4,0xf);}['_getLighterColor'](_0x45cce4){const _0x31b7d6=_0x222100;return _0x45cce4[_0x31b7d6(0x1be)]('#')?_0x31b7d6(0x13a)+Number['parseInt'](_0x45cce4[_0x31b7d6(0x202)](0x1,0x3),0x10)+',\x20'+Number[_0x31b7d6(0x1bc)](_0x45cce4[_0x31b7d6(0x202)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x45cce4[_0x31b7d6(0x202)](0x5,0x7),0x10)+_0x31b7d6(0x9f):_0x45cce4[_0x31b7d6(0x1be)]('rgba')?_0x45cce4[_0x31b7d6(0x2b0)](/[\d.]+\)$/g,_0x31b7d6(0x1d8)):_0x45cce4[_0x31b7d6(0x1be)](_0x31b7d6(0x3e2))?_0x45cce4['replace']('rgb',_0x31b7d6(0x19c))[_0x31b7d6(0x2b0)](')',_0x31b7d6(0x9f)):_0x45cce4;}};let _0xd3240=class extends _0x5d4152[_0x222100(0x348)]{constructor(_0x24185e,_0x202630,_0x1d6701,_0x514c62,_0x1bfe8d,_0x4617c4,_0x2c0bbf,_0x278275){const _0x40da13=_0x222100;super(),this['_context']=_0x24185e,this['_historyManagerService']=_0x202630,this[_0x40da13(0x379)]=_0x1d6701,this['_univerInstanceService']=_0x514c62,this[_0x40da13(0x390)]=_0x1bfe8d,this['_sheetSkeletonManagerService']=_0x4617c4,this[_0x40da13(0x106)]=_0x2c0bbf,this['_drawingManagerService']=_0x278275,_0x2adbdc(this,'_diffs',new Set()),_0x2adbdc(this,'_borderDiffs',new Set()),_0x2adbdc(this,_0x40da13(0x183),new Set()),_0x2adbdc(this,_0x40da13(0x9d),new Set()),_0x2adbdc(this,_0x40da13(0x336),null),this['_init']();}[_0x222100(0x337)](){const _0x1adbb0=_0x222100;this[_0x1adbb0(0x2a0)](),this[_0x1adbb0(0x18a)]();}['_initRender'](){const _0x1144f=_0x222100;this[_0x1144f(0x328)]((0x0,_0x33a3a7[_0x1144f(0xc6)])([this[_0x1144f(0x21f)][_0x1144f(0x38c)],this[_0x1144f(0x34a)][_0x1144f(0xf4)]])['pipe']((0x0,_0x33a3a7[_0x1144f(0x26a)])(([_0x5b1e46,_0x38d985])=>{const _0x2880ad=_0x1144f;if(_0x5b1e46==='loaded'&&_0x38d985){let _0x4679a1=_0x38d985[_0x2880ad(0x3ce)];return this[_0x2880ad(0x379)][_0x2880ad(0x1a8)][_0x2880ad(0x1bf)]((0x0,_0x33a3a7[_0x2880ad(0x84)])(_0x5553a2=>_0x5553a2['subUnitIds'][_0x2880ad(0x12d)]===0x0||_0x5553a2[_0x2880ad(0x3c3)][_0x2880ad(0xaa)](_0x4679a1)?{'skeleton':_0x38d985,'versionDiff':_0x5553a2,'sheetID':_0x4679a1}:{'skeleton':_0x38d985,'versionDiff':null}));}return(0x0,_0x33a3a7['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))[_0x1144f(0x143)](({skeleton:_0x306a46,versionDiff:_0x2c5e89,sheetID:_0x3e4fc7})=>{const _0x4ce45e=_0x1144f;this[_0x4ce45e(0x1eb)](),_0x306a46&&_0x2c5e89&&_0x3e4fc7&&this['_updateDiffMarks'](_0x306a46,_0x2c5e89,_0x3e4fc7);})),this[_0x1144f(0x328)](this['_sheetSkeletonManagerService'][_0x1144f(0xf4)][_0x1144f(0x143)](_0x1d8722=>{const _0x3d11e1=_0x1144f;if(_0x1d8722==null)return;let {skeleton:_0xf8453a}=_0x1d8722,{scene:_0x2591d}=this['_context'];_0x2591d[_0x3d11e1(0x3f6)][_0x3d11e1(0x35e)]((0x0,_0x5d4152['debounce'])(_0x4a93a3=>{const _0x186555=_0x3d11e1;var _0xb08c76,_0x28528c;let {offsetX:_0x4391b2,offsetY:_0x18cc26}=_0x4a93a3,{x:_0x3da917,y:_0x2d10c9}=_0x2591d[_0x186555(0x3cf)](_0x487591['Vector2'][_0x186555(0x2d6)]([_0x4391b2,_0x18cc26])),{scaleX:_0x3f10c3,scaleY:_0x16414b}=_0x2591d[_0x186555(0x132)](),_0x3b3f45=_0x2591d[_0x186555(0x1a5)](_0x487591['SHEET_VIEWPORT_KEY'][_0x186555(0x230)]),_0x25b2d9=_0x2591d['getVpScrollXYInfoByPosToVp'](_0x487591[_0x186555(0x3d2)]['FromArray']([_0x3da917,_0x2d10c9]),_0x3b3f45),_0x4ab962=_0xf8453a['getCellPositionByOffset'](_0x4391b2,_0x18cc26,_0x3f10c3,_0x16414b,_0x25b2d9);((_0xb08c76=this[_0x186555(0x336)])==null?void 0x0:_0xb08c76[_0x186555(0x32b)])===_0x4ab962[_0x186555(0x32b)]&&((_0x28528c=this[_0x186555(0x336)])==null?void 0x0:_0x28528c[_0x186555(0x2f7)])===_0x4ab962['row']||this['_diffs'][_0x186555(0x2de)](_0xdb7a4d=>{const _0x50280d=_0x186555;_0xdb7a4d[_0x50280d(0x241)]||_0xdb7a4d['onMouseMove'](_0x4ab962);});},0x64));}));}['_initActiveSwitch'](){const _0x4707a7=_0x222100;this[_0x4707a7(0x328)](this['_historyManagerService'][_0x4707a7(0x38c)][_0x4707a7(0x143)](_0x17782d=>{const _0x268e86=_0x4707a7;let _0x12116f=new _0x5d4152['DisposableCollection']();return _0x17782d===_0x268e86(0x277)&&(_0x12116f['dispose'](),_0x12116f[_0x268e86(0x9b)](this[_0x268e86(0x379)][_0x268e86(0x1a8)][_0x268e86(0x143)](_0x1425ae=>{const _0x3f5a24=_0x268e86;this['_updateWorksheetVisibility'](_0x1425ae[_0x3f5a24(0x3c3)]),_0x1425ae[_0x3f5a24(0x1a3)]&&this[_0x3f5a24(0x106)][_0x3f5a24(0x304)](_0x56c972[_0x3f5a24(0x2f3)]['id'],{'unitId':this[_0x3f5a24(0x2f9)][_0x3f5a24(0x6e)],'subUnitId':_0x1425ae[_0x3f5a24(0x1a3)]});}))),()=>_0x12116f[_0x268e86(0x28f)]();}));}[_0x222100(0x361)](_0x3a6399){const _0x42b548=_0x222100;let _0x4eed7b=this[_0x42b548(0x2c2)][_0x42b548(0x33b)](this[_0x42b548(0x2f9)][_0x42b548(0x6e)],_0x5d4152[_0x42b548(0x2b4)][_0x42b548(0x128)]);if(!_0x4eed7b)return;let _0x231f6d=_0x4eed7b[_0x42b548(0xfd)]();if(_0x3a6399[_0x42b548(0x12d)]===0x0){_0x231f6d['forEach'](_0x1243e6=>{const _0x2631f5=_0x42b548;_0x1243e6['isSheetHidden']()&&this[_0x2631f5(0x106)][_0x2631f5(0x304)](_0x56c972[_0x2631f5(0x2fc)]['id'],{'unitId':this['_context'][_0x2631f5(0x6e)],'subUnitId':_0x1243e6[_0x2631f5(0xf0)](),'hidden':0x0});});return;}_0x231f6d['forEach'](_0x12d19e=>{const _0x3f6b49=_0x42b548;let _0x5251c5=_0x12d19e[_0x3f6b49(0xf0)](),_0x4dbb7b=_0x3a6399['includes'](_0x5251c5),_0x30c69b=_0x12d19e[_0x3f6b49(0x1ef)]();_0x4dbb7b&&_0x30c69b?this[_0x3f6b49(0x106)][_0x3f6b49(0x304)](_0x56c972['SetWorksheetHideMutation']['id'],{'unitId':this[_0x3f6b49(0x2f9)]['unitId'],'subUnitId':_0x5251c5,'hidden':0x0}):!_0x4dbb7b&&!_0x30c69b&&this[_0x3f6b49(0x106)]['executeCommand'](_0x56c972[_0x3f6b49(0x2fc)]['id'],{'unitId':this['_context']['unitId'],'subUnitId':_0x5251c5,'hidden':0x1});});}[_0x222100(0x2bd)](_0x5a066f,_0x496f28,_0x549769){const _0x210cbd=_0x222100;this[_0x210cbd(0x289)]['forEach'](_0x2f279e=>{_0x2f279e['makeDirty']();});let _0x1dca6c=this['generateDiffMarks'](_0x496f28,_0x549769);this['_diffs']=new Set(_0x1dca6c['filter'](_0x19cb12=>_0x19cb12 instanceof _0x38912f[_0x210cbd(0x7c)])),this[_0x210cbd(0x21e)]=new Set(_0x1dca6c[_0x210cbd(0xa2)](_0x182285=>_0x182285 instanceof _0x487591[_0x210cbd(0x20e)])),this[_0x210cbd(0x183)]=new Set(_0x1dca6c[_0x210cbd(0xa2)](_0x450150=>_0x450150 instanceof _0x5b7e26)),_0x1dca6c[_0x210cbd(0x12d)]>0x0&&this[_0x210cbd(0x2e4)](_0x1dca6c[0x0],this[_0x210cbd(0x2f9)][_0x210cbd(0xe9)]);}[_0x222100(0x1f0)](_0xf71660,_0x55a7c2){const _0x599491=_0x222100;let _0x498824=this[_0x599491(0x34a)][_0x599491(0x1c2)]();if(!_0x498824)return[];let {scene:_0x5b9295}=this['_context'],_0x2d8ad8=[],_0x55746f=_0x2f5113=>{const _0x724f80=_0x599491;if(!_0x2f5113)return new Map();let _0x5152d6=new Map();return _0x2f5113[_0x724f80(0x2de)]((_0x4152fd,_0x504690)=>{const _0x2fadc9=_0x724f80;let _0x5e172a=_0x4152fd[_0x2fadc9(0xa2)](_0x31ae43=>_0x31ae43['subUnitId']===_0x55a7c2);_0x5e172a[_0x2fadc9(0x12d)]>0x0&&_0x5152d6[_0x2fadc9(0x255)](_0x504690,_0x5e172a);}),_0x5152d6;};return this[_0x599491(0x97)](_0x5b9295,_0x498824,_0x55746f(_0xf71660['insertCellRanges']),_0x599491(0x156),_0x2d8ad8),this[_0x599491(0x97)](_0x5b9295,_0x498824,_0x55746f(_0xf71660[_0x599491(0x376)]),_0x599491(0x368),_0x2d8ad8),this[_0x599491(0x97)](_0x5b9295,_0x498824,_0x55746f(_0xf71660['updateCellRanges']),_0x599491(0x2c6),_0x2d8ad8),this['_renderBorderRanges'](_0x5b9295,_0x498824,_0x55746f(_0xf71660['insertBorderRanges']),'rgba(46,125,50,0.5)',_0x2d8ad8),this['_renderBorderRanges'](_0x5b9295,_0x498824,_0x55746f(_0xf71660[_0x599491(0x39a)]),_0x599491(0x368),_0x2d8ad8),this[_0x599491(0x263)](_0x5b9295,_0x498824,_0x55746f(_0xf71660[_0x599491(0x36c)]),'rgba(21,101,192,0.5)',_0x2d8ad8),this[_0x599491(0x130)](_0x5b9295,_0x498824,_0x55746f(_0xf71660[_0x599491(0x3ac)]),'vertical',_0x2d8ad8),this['_renderArrowRanges'](_0x5b9295,_0x498824,_0x55746f(_0xf71660[_0x599491(0xa7)]),_0x599491(0x3f4),_0x2d8ad8),_0xf71660[_0x599491(0x88)]&&this[_0x599491(0x373)](_0x5b9295,_0xf71660[_0x599491(0x88)],_0x599491(0x156),_0x2d8ad8),_0xf71660[_0x599491(0x1e2)]&&this[_0x599491(0x373)](_0x5b9295,_0xf71660['deleteDrawings'],'rgba(198,40,40,0.5)',_0x2d8ad8),_0xf71660[_0x599491(0x3d4)]&&this[_0x599491(0x373)](_0x5b9295,_0xf71660[_0x599491(0x3d4)],_0x599491(0x2c6),_0x2d8ad8),this['_handleOverlappingShapes'](_0x2d8ad8),_0x5b9295[_0x599491(0x258)](_0x2d8ad8,0x14),_0x2d8ad8;}[_0x222100(0x3e3)](){const _0x456056=_0x222100;this[_0x456056(0x289)]['forEach'](_0x1b5d46=>{const _0x19d948=_0x456056;_0x1b5d46[_0x19d948(0x2d4)]();}),this['_borderDiffs'][_0x456056(0x2de)](_0x21dfc2=>{const _0x55d0c6=_0x456056;_0x21dfc2[_0x55d0c6(0x2d4)]();}),this[_0x456056(0x183)][_0x456056(0x2de)](_0x4ecd72=>{_0x4ecd72['hide']();});}[_0x222100(0xb7)](){const _0x3d8c08=_0x222100;this[_0x3d8c08(0x289)][_0x3d8c08(0x2de)](_0x1e83a0=>{const _0x3b98ac=_0x3d8c08;_0x1e83a0[_0x3b98ac(0x9e)]();}),this[_0x3d8c08(0x21e)][_0x3d8c08(0x2de)](_0x46910e=>{const _0x15579f=_0x3d8c08;_0x46910e[_0x15579f(0x9e)]();}),this[_0x3d8c08(0x183)][_0x3d8c08(0x2de)](_0x1f08a7=>{_0x1f08a7['show']();});}['removeDiffMarks'](){const _0x20d957=_0x222100;this[_0x20d957(0x1eb)]();}['scrollToShape'](_0x3147db,_0x315ab8){const _0x3ab8ea=_0x222100;this[_0x3ab8ea(0x2e4)](_0x3147db,_0x315ab8);}[_0x222100(0x97)](_0x34ffce,_0x2fbda3,_0x3598,_0x19fc5c,_0x3d6f68){const _0x47e1b2=_0x222100;_0x3598[_0x47e1b2(0x2de)]((_0xaa848d,_0x3755dd)=>{const _0x51e7d5=_0x47e1b2;_0xaa848d[_0x51e7d5(0x2de)](_0x3f2ddb=>{const _0x176db6=_0x51e7d5;var _0x4181ae;let {range:_0xa66b15,subUnitId:_0xc50c54,unitId:_0x270b07,showText:_0x2e5244='',highlightColumn:_0x4202d1,highlightRow:_0x9cad9b}=_0x3f2ddb,{startColumn:_0x30a1d6,startRow:_0xaf0500,endColumn:_0x114c3e,endRow:_0x4f6c59}=_0xa66b15,_0x1bb7ef=(0x0,_0x188389[_0x176db6(0x25e)])(_0xaf0500,_0x30a1d6,_0x34ffce,_0x2fbda3),_0x56b4c1=(0x0,_0x188389[_0x176db6(0x25e)])(_0x4f6c59,_0x114c3e,_0x34ffce,_0x2fbda3),{columnHeaderHeightAndMarginTop:_0x3a92b7}=_0x2fbda3,{startX:_0xb00c2,startY:_0x50c2ab}=_0x1bb7ef,{endX:_0x16eef6,endY:_0x1c755c}=_0x56b4c1,_0x24f05a=_0x2fbda3[_0x176db6(0x146)],_0x469a73=_0x2fbda3['columnHeaderHeight'];_0x9cad9b&&(_0xb00c2-=_0x24f05a),_0x4202d1&&(_0x50c2ab-=_0x469a73);let _0x4ba389=_0x16eef6-_0xb00c2,_0x5784e5=_0x1c755c-_0x50c2ab,_0x55c817={'labelPosition':_0x50c2ab-_0x3a92b7>=0x14?'top':_0x176db6(0x2d5),'sheetID':_0xc50c54,'range':_0xa66b15,'color':_0x19fc5c,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x19fc5c,'name':((_0x4181ae=this[_0x176db6(0x21f)][_0x176db6(0x273)](_0x3755dd))==null?void 0x0:_0x4181ae[_0x176db6(0x1ba)])+'\x20'+_0x2e5244||_0x2e5244,'selection':_0x270b07+'-'+_0xc50c54+'-'+_0xa66b15['startColumn']+'-'+_0xa66b15[_0x176db6(0x75)]+'-'+_0xa66b15['endColumn']+'-'+_0xa66b15[_0x176db6(0x383)],'left':_0xb00c2,'top':_0x50c2ab,'width':_0x4ba389,'height':_0x5784e5,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x3d6f68[_0x176db6(0x312)](new _0x38912f['SheetCollabCursorShape']('',_0x55c817));});});}[_0x222100(0x263)](_0x3442cd,_0x52e882,_0x22c34d,_0x2167bc,_0x48b15e){_0x22c34d['forEach']((_0x5e4a48,_0xc1551d)=>{_0x5e4a48['forEach'](_0x21fbcb=>{const _0x1373b9=_0x4c62;var _0x88a109;let {range:_0x1c6cb1,subUnitId:_0xa4af77,unitId:_0x3318c4,showText:_0x59a8b1=''}=_0x21fbcb,{startColumn:_0x5b5f08,startRow:_0x2c6dca,endColumn:_0x4af6dc,endRow:_0x11aa0e}=_0x1c6cb1,_0xbdc7a6=(0x0,_0x188389['getCoordByCell'])(_0x2c6dca,_0x5b5f08,_0x3442cd,_0x52e882),_0x32ef31=(0x0,_0x188389[_0x1373b9(0x25e)])(_0x11aa0e,_0x4af6dc,_0x3442cd,_0x52e882),{columnHeaderHeightAndMarginTop:_0x3c3346}=_0x52e882,{startX:_0x14cf53,startY:_0x4c481b}=_0xbdc7a6,{endX:_0x4ef278,endY:_0x24d586}=_0x32ef31,_0x5a5cb8=_0x4ef278-_0x14cf53,_0x3b7438=_0x24d586-_0x4c481b,_0x4f737b={'labelPosition':_0x4c481b-_0x3c3346>=0x14?_0x1373b9(0x1e4):'bottom','sheetID':_0xa4af77,'range':_0x1c6cb1,'color':_0x2167bc,'fillAfterStrokeEnabled':!0x1,'backgroundColor':'transparent','name':((_0x88a109=this[_0x1373b9(0x21f)][_0x1373b9(0x273)](_0xc1551d))==null?void 0x0:_0x88a109['name'])+'\x20'+_0x59a8b1||_0x59a8b1,'selection':_0x3318c4+'-'+_0xa4af77+'-'+_0x1c6cb1[_0x1373b9(0x14c)]+'-'+_0x1c6cb1[_0x1373b9(0x75)]+'-'+_0x1c6cb1[_0x1373b9(0x355)]+'-'+_0x1c6cb1['endRow'],'left':_0x14cf53-0xc/0x2,'top':_0x4c481b-0xc/0x2,'width':_0x5a5cb8,'height':_0x3b7438,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x48b15e['push'](new _0x38912f[(_0x1373b9(0x7c))]('',_0x4f737b));});});}[_0x222100(0x130)](_0x2788d9,_0x6752bf,_0x58f5a5,_0x2f7921,_0x3b681e){const _0x3baa76=_0x222100;let _0x84f21d=_0x6752bf['rowHeaderWidth'],_0x2e6846=_0x6752bf[_0x3baa76(0xca)];_0x58f5a5[_0x3baa76(0x2de)]((_0x50533c,_0x4495fd)=>{const _0x13b792=_0x3baa76;_0x50533c[_0x13b792(0x2de)](_0x34e20a=>{const _0x5bce59=_0x13b792;let {range:_0x2eb071,showText:_0x43f66d=''}=_0x34e20a,{startColumn:_0x23ce92,startRow:_0x1a7329,endColumn:_0x220b69,endRow:_0x44d964}=_0x2eb071,_0xde1261=(0x0,_0x188389['getCoordByCell'])(_0x1a7329,_0x23ce92,_0x2788d9,_0x6752bf),_0xd9e5ff=(0x0,_0x188389[_0x5bce59(0x25e)])(_0x44d964,_0x220b69,_0x2788d9,_0x6752bf),{startX:_0x3f199b,startY:_0x76197a}=_0xde1261,{endX:_0x1e36af,endY:_0x5b2515}=_0xd9e5ff,{columnHeaderHeightAndMarginTop:_0x3e8372}=_0x6752bf,_0x18c50a;if(_0x2f7921===_0x5bce59(0x3f4)){var _0x2c98ae;_0x18c50a=new _0x5b7e26('',{'color':_0x5bce59(0x2c6),'direction':_0x5bce59(0x3f4),'left':_0x3f199b,'top':0x2,'width':_0x1e36af-_0x3f199b,'height':_0x2e6846-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x2c98ae=this[_0x5bce59(0x21f)][_0x5bce59(0x273)](_0x4495fd))==null?void 0x0:_0x2c98ae[_0x5bce59(0x1ba)])+'\x20'+_0x43f66d||_0x43f66d,'labelPosition':_0x76197a-_0x3e8372>=0x14?_0x5bce59(0x1e4):_0x5bce59(0x2d5)}),_0x3b681e[_0x5bce59(0x312)](_0x18c50a);}else{var _0x51eba3;let _0x4b4db9=_0x5b2515-_0x76197a;_0x18c50a=new _0x5b7e26('',{'color':'rgba(21,101,192,0.5)','direction':_0x5bce59(0x3e5),'left':0x2,'top':_0x76197a,'width':_0x84f21d-0x4,'height':_0x4b4db9,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x51eba3=this['_historyManagerService']['getMember'](_0x4495fd))==null?void 0x0:_0x51eba3[_0x5bce59(0x1ba)])+'\x20'+_0x43f66d||_0x43f66d,'labelPosition':_0x5bce59(0x1e4)}),_0x3b681e[_0x5bce59(0x312)](_0x18c50a);}});});}[_0x222100(0x373)](_0x4ded45,_0x4f686e,_0x2d52a0,_0x539ff5){const _0x3ce577=_0x222100;let _0x36124d=this['_sheetSkeletonManagerService'][_0x3ce577(0x1c2)]();if(!_0x36124d)return;let {columnHeaderHeightAndMarginTop:_0xcf4d96}=_0x36124d;_0x4f686e[_0x3ce577(0x2de)]((_0x3abfcc,_0x43d287)=>{const _0x2bab1e=_0x3ce577;_0x3abfcc[_0x2bab1e(0x2de)](_0x970553=>{const _0x18a62b=_0x2bab1e;var _0x39752f;let {drawingId:_0x1e936c,unitId:_0x54e322,subUnitId:_0x2f89ec,showText:_0x202e0d=''}=_0x970553,_0x3a76ce=this[_0x18a62b(0xef)][_0x18a62b(0x385)]({'unitId':_0x54e322,'subUnitId':_0x2f89ec,'drawingId':_0x1e936c});if(!_0x3a76ce||!_0x3a76ce['transform'])return;let {left:_0x5436cd=0x0,top:_0x56d9a2=0x0,width:_0x407fad,height:_0x9904d4}=_0x3a76ce['transform'],_0x315f9e=new _0x38912f['SheetCollabCursorShape']('',{'labelPosition':_0x56d9a2-_0xcf4d96>=0x14?_0x18a62b(0x1e4):_0x18a62b(0x2d5),'sheetID':_0x2f89ec,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x2d52a0,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x18a62b(0x214),'name':((_0x39752f=this[_0x18a62b(0x21f)][_0x18a62b(0x273)](_0x43d287))==null?void 0x0:_0x39752f[_0x18a62b(0x1ba)])+'\x20'+_0x202e0d||_0x202e0d,'selection':_0x54e322+'-'+_0x2f89ec+_0x18a62b(0x3d8)+_0x1e936c,'left':_0x5436cd-0xc/0x2,'top':_0x56d9a2-0xc/0x2,'width':_0x407fad,'height':_0x9904d4,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x315f9e[_0x18a62b(0x19e)]['subscribeEvent'](()=>{const _0x12299d=_0x18a62b;this[_0x12299d(0x227)](_0x315f9e,_0x539ff5)['forEach'](_0x2f8382=>{const _0x10ad31=_0x12299d;_0x2f8382 instanceof _0x38912f[_0x10ad31(0x7c)]&&_0x2f8382['setShapeProps']({'hovered':!0x0});});}),_0x315f9e[_0x18a62b(0x295)][_0x18a62b(0x35e)](()=>{const _0x466b97=_0x18a62b;this[_0x466b97(0x227)](_0x315f9e,_0x539ff5)[_0x466b97(0x2de)](_0x201474=>{const _0x496e77=_0x466b97;_0x201474 instanceof _0x38912f[_0x496e77(0x7c)]&&_0x201474[_0x496e77(0x2f8)]({'hovered':!0x1});});}),_0x539ff5[_0x18a62b(0x312)](_0x315f9e);});});}[_0x222100(0x1eb)](){const _0x3a08e6=_0x222100;var _0x55bae0,_0x23901e,_0x2db0bd,_0x58fa2c;(_0x55bae0=this[_0x3a08e6(0x289)])==null||_0x55bae0[_0x3a08e6(0x2de)](_0x3a437f=>_0x3a437f[_0x3a08e6(0x28f)]()),(_0x23901e=this[_0x3a08e6(0x21e)])==null||_0x23901e[_0x3a08e6(0x2de)](_0x515e54=>_0x515e54[_0x3a08e6(0x28f)]()),(_0x2db0bd=this[_0x3a08e6(0x183)])==null||_0x2db0bd[_0x3a08e6(0x2de)](_0x1bc888=>_0x1bc888['dispose']()),(_0x58fa2c=this[_0x3a08e6(0x9d)])==null||_0x58fa2c[_0x3a08e6(0x2de)](_0x285fe5=>_0x285fe5['dispose']());}[_0x222100(0x133)](_0xdd7421){const _0x3316a1=_0x222100;let _0x544e1d=_0xdd7421[_0x3316a1(0xa2)](_0x8f79c4=>_0x8f79c4 instanceof _0x38912f[_0x3316a1(0x7c)]);if(_0x544e1d[_0x3316a1(0x12d)]===0x0)return;let _0x21da35=[],_0x5364aa=new Set();_0x544e1d['forEach'](_0x4e4032=>{const _0x4fc109=_0x3316a1;if(_0x5364aa[_0x4fc109(0x6b)](_0x4e4032))return;let _0x32d9b9=_0x4e4032[_0x4fc109(0x124)]||0x0,_0x1828a9=_0x4e4032[_0x4fc109(0x1e4)]||0x0,_0xd2fa9c=_0x32d9b9+(_0x4e4032['width']||0x0),_0x1c0c1b=_0x1828a9,_0x58a6a1=[_0x4e4032];_0x5364aa['add'](_0x4e4032),_0x544e1d[_0x4fc109(0x2de)](_0x268699=>{const _0x280905=_0x4fc109;if(_0x5364aa[_0x280905(0x6b)](_0x268699))return;let _0x3b0708=_0x268699[_0x280905(0x124)]||0x0,_0x57179c=_0x268699['top']||0x0,_0x4b0847=_0x3b0708+(_0x268699[_0x280905(0x1ce)]||0x0),_0x3cee36=_0x57179c;Math['abs'](_0xd2fa9c-_0x4b0847)<=0xa&&Math[_0x280905(0x2fe)](_0x1c0c1b-_0x3cee36)<=0xa&&(_0x58a6a1[_0x280905(0x312)](_0x268699),_0x5364aa['add'](_0x268699));}),_0x58a6a1[_0x4fc109(0x12d)]>0x1&&_0x21da35[_0x4fc109(0x312)](_0x58a6a1);}),_0x21da35[_0x3316a1(0x2de)](_0x3868ef=>{const _0x4c6132=_0x3316a1;_0x3868ef['sort']((_0x1e7133,_0x10e51d)=>(_0x1e7133['top']||0x0)-(_0x10e51d[_0x4c6132(0x1e4)]||0x0)),_0x3868ef['forEach']((_0x49eb30,_0x26905a)=>{const _0x204600=_0x4c6132;let _0x4d46f3=_0x26905a*0x16;_0x49eb30[_0x204600(0x1ab)](_0x4d46f3);});});}[_0x222100(0x227)](_0x8d4035,_0x2bc7bc){const _0x5997a9=_0x222100;let _0x23cd8d=_0x8d4035[_0x5997a9(0x124)]||0x0,_0x967c4a=_0x8d4035[_0x5997a9(0x1e4)]||0x0,_0x13d1fd=_0x8d4035[_0x5997a9(0x1ce)]||0x0,_0x455c6c=_0x8d4035[_0x5997a9(0x1cb)]||0x0,_0x74786b=_0x23cd8d+_0x13d1fd,_0x445a85=_0x967c4a+_0x455c6c;return _0x2bc7bc['filter'](_0x31ab97=>{const _0x1d93bd=_0x5997a9;let _0x2cdb72=_0x31ab97[_0x1d93bd(0x124)]||0x0,_0x42609c=_0x31ab97['top']||0x0,_0xb11d4d=_0x31ab97['width']||0x0,_0x440506=_0x31ab97['height']||0x0,_0x2ac349=_0x2cdb72+_0xb11d4d,_0x29c99b=_0x42609c+_0x440506;return!(_0x74786b<=_0x2cdb72||_0x23cd8d>=_0x2ac349||_0x445a85<=_0x42609c||_0x967c4a>=_0x29c99b);});}[_0x222100(0x2e4)](_0x30f8ad,_0x33af24){const _0x1d65e9=_0x222100;let _0x4e24df=_0x33af24[_0x1d65e9(0x1a5)](_0x487591['SHEET_VIEWPORT_KEY'][_0x1d65e9(0x230)]);if(!_0x4e24df)return;let _0x2c68de=_0x30f8ad['left']||0x0,_0x5f4cdd=_0x30f8ad[_0x1d65e9(0x1e4)]||0x0,_0x2d8fe0=_0x30f8ad[_0x1d65e9(0x1ce)]||0x0,_0x578c77=_0x30f8ad[_0x1d65e9(0x1cb)]||0x0,_0x4be851=_0x4e24df[_0x1d65e9(0x1ce)]||0x0,_0x5494f4=_0x4e24df[_0x1d65e9(0x1cb)]||0x0,_0xe2cf8e=_0x4e24df[_0x1d65e9(0xc9)]||0x0,_0x54f03e=_0x4e24df[_0x1d65e9(0x34e)]||0x0,_0x3b39b7=_0xe2cf8e,_0x10254d=_0x54f03e,_0x356bc7=_0xe2cf8e+_0x4be851,_0x106063=_0x54f03e+_0x5494f4;if(_0x2c68de>=_0x3b39b7&&_0x5f4cdd>=_0x10254d&&_0x2c68de+_0x2d8fe0<=_0x356bc7&&_0x5f4cdd+_0x578c77<=_0x106063)return;let _0x5cea77=Math[_0x1d65e9(0xd5)](0x0,_0x2c68de-_0x4be851/0x2+_0x2d8fe0/0x2),_0xbbb011=Math[_0x1d65e9(0xd5)](0x0,_0x5f4cdd-_0x5494f4/0x2+_0x578c77/0x2);_0x4e24df[_0x1d65e9(0x22d)]({'viewportScrollX':_0x5cea77,'viewportScrollY':_0xbbb011});}[_0x222100(0x203)](){const _0x1d6cf8=_0x222100;return(0x0,_0x188389[_0x1d6cf8(0x171)])(this[_0x1d6cf8(0x2c2)],this[_0x1d6cf8(0x390)]);}};_0xd3240=_0x44657c([_0x5ea03e(0x1,(0x0,_0x5d4152[_0x222100(0x309)])(_0x19e6e4)),_0x5ea03e(0x2,(0x0,_0x5d4152[_0x222100(0x309)])(_0x2bd5e7)),_0x5ea03e(0x3,_0x5d4152['IUniverInstanceService']),_0x5ea03e(0x4,_0x487591[_0x222100(0x399)]),_0x5ea03e(0x5,(0x0,_0x5d4152['Inject'])(_0x188389[_0x222100(0x1f9)])),_0x5ea03e(0x6,_0x5d4152[_0x222100(0xdf)]),_0x5ea03e(0x7,_0x41d1bb['IDrawingManagerService'])],_0xd3240);var _0x4c4204='@univerjs-pro/edit-history-viewer',_0xea9ff6=_0x222100(0x3ee);let _0x326f97=class extends _0x5d4152[_0x222100(0x348)]{constructor(_0x1847a4){const _0x13bd52=_0x222100;super(),this[_0x13bd52(0x2f6)]=_0x1847a4,this[_0x13bd52(0x337)]();}[_0x222100(0x337)](){const _0x22685d=_0x222100;this['disposeWithMe'](this[_0x22685d(0x2f6)][_0x22685d(0x325)]['subscribe'](_0x353d31=>{const _0x2432d4=_0x22685d;_0x353d31!=null&&_0x353d31[_0x2432d4(0x9e)]&&this['_cellEditorManagerService'][_0x2432d4(0x2e7)]({'show':!0x1});}));}};_0x326f97=_0x44657c([_0x5ea03e(0x0,_0x188389[_0x222100(0xa6)])],_0x326f97);function _0x2e4636(){const _0x39234f=_0x222100;let _0x25f052=(0x0,_0x617684[_0x39234f(0x318)])(_0x19e6e4),_0x17042e=(0x0,_0x617684[_0x39234f(0x318)])(_0x5d4152[_0x39234f(0x3d0)]),_0x1e3d4a=(0x0,_0x617684['useObservable'])(_0x25f052[_0x39234f(0x17f)]),_0x2dfcb5=(0x0,_0x18424f[_0x39234f(0x8e)])(()=>_0x1e3d4a?_0x25f052[_0x39234f(0x327)]():!0x1,[_0x25f052,_0x1e3d4a]),_0x363603=(0x0,_0x18424f['useCallback'])(()=>{const _0x12ab8a=_0x39234f;_0x25f052['status']=_0x12ab8a(0x3f2);},[_0x25f052]),_0x3b9ae6=(0x0,_0x18424f[_0x39234f(0xce)])(()=>{const _0x1bd726=_0x39234f;_0x25f052[_0x1bd726(0x338)]();},[_0x25f052]);return(0x0,_0x46537a[_0x39234f(0x2fa)])(_0x39234f(0x2c7),{'className':_0x39234f(0x2b9),'children':[(0x0,_0x46537a[_0x39234f(0xde)])(_0x19476b[_0x39234f(0x27e)],{'variant':_0x39234f(0x1d1),'onClick':_0x363603,'children':_0x17042e['t'](_0x39234f(0xcd))}),_0x2dfcb5?(0x0,_0x46537a[_0x39234f(0xde)])(_0x19476b[_0x39234f(0x27e)],{'variant':_0x39234f(0x1d1),'onClick':_0x3b9ae6,'children':_0x17042e['t'](_0x39234f(0x192))}):(0x0,_0x46537a['jsx'])(_0x39234f(0x2c7),{'className':_0x39234f(0x29e)})]});}let _0x5eea78=class extends _0x5d4152[_0x222100(0x348)]{constructor(_0x3332e4,_0x335596,_0x3d3fb3,_0x12659b,_0x4184d4,_0x50bbbb,_0x564d91){const _0x18a449=_0x222100;super(),this[_0x18a449(0x20a)]=_0x3332e4,this[_0x18a449(0x291)]=_0x335596,this[_0x18a449(0xdc)]=_0x3d3fb3,this[_0x18a449(0xb5)]=_0x12659b,this[_0x18a449(0x21f)]=_0x4184d4,this[_0x18a449(0x3cd)]=_0x50bbbb,this['_configService']=_0x564d91,this[_0x18a449(0x337)]();}[_0x222100(0x337)](){const _0x1890ae=_0x222100;this[_0x1890ae(0x328)](this[_0x1890ae(0x21f)][_0x1890ae(0x17f)][_0x1890ae(0x143)](_0x4b5fa5=>{const _0x484c20=_0x1890ae;_0x4b5fa5&&this[_0x484c20(0x21f)][_0x484c20(0xbd)](_0x4b5fa5);})),this[_0x1890ae(0x328)](this[_0x1890ae(0x20a)][_0x1890ae(0x260)][_0x1890ae(0x143)](_0x35749d=>{const _0x1a83f5=_0x1890ae;let _0x41e2ec=this[_0x1a83f5(0x21f)][_0x1a83f5(0x6e)];_0x41e2ec&&(_0x35749d['subType']===_0xf83413[_0x1a83f5(0x24a)][_0x1a83f5(0xcb)]&&_0x35749d[_0x1a83f5(0x2a8)]===!0x0&&this[_0x1a83f5(0x20a)][_0x1a83f5(0x26d)](new _0x56c972['WorkbookEditablePermission'](_0x41e2ec)['id'],!0x1),_0x35749d[_0x1a83f5(0x3ef)]===_0xf83413['UnitAction'][_0x1a83f5(0x3ca)]&&_0x35749d[_0x1a83f5(0x2a8)]===!0x0&&this['_permissionService'][_0x1a83f5(0x26d)](new _0x56c972[(_0x1a83f5(0x104))](_0x41e2ec)['id'],!0x1),_0x35749d[_0x1a83f5(0x3ef)]===_0xf83413['UnitAction'][_0x1a83f5(0x7b)]&&_0x35749d[_0x1a83f5(0x2a8)]===!0x0&&this['_permissionService'][_0x1a83f5(0x26d)](new _0x56c972[(_0x1a83f5(0x270))](_0x41e2ec)['id'],!0x1),_0x35749d[_0x1a83f5(0x3ef)]===_0xf83413['UnitAction'][_0x1a83f5(0x204)]&&_0x35749d['value']===!0x0&&this[_0x1a83f5(0x20a)][_0x1a83f5(0x26d)](new _0x56c972[(_0x1a83f5(0x159))](_0x41e2ec)['id'],!0x1),_0x35749d[_0x1a83f5(0x3ef)]===_0xf83413[_0x1a83f5(0x24a)][_0x1a83f5(0x356)]&&_0x35749d['value']===!0x0&&this['_permissionService'][_0x1a83f5(0x26d)](new _0x56c972[(_0x1a83f5(0x1fd))](_0x41e2ec)['id'],!0x1),_0x35749d[_0x1a83f5(0x3ef)]===_0xf83413[_0x1a83f5(0x24a)][_0x1a83f5(0x13c)]&&_0x35749d[_0x1a83f5(0x2a8)]===!0x0&&this[_0x1a83f5(0x20a)]['updatePermissionPoint'](new _0x56c972[(_0x1a83f5(0x1fd))](_0x41e2ec)['id'],!0x1));})),this[_0x1890ae(0x2cd)]();let _0x3ea554;this[_0x1890ae(0x328)](this[_0x1890ae(0x21f)]['loadingState$'][_0x1890ae(0x143)](_0x4942f7=>{const _0x1520df=_0x1890ae;this[_0x1520df(0xdc)][_0x1520df(0x1ad)](),_0x3ea554==null||_0x3ea554[_0x1520df(0x28f)](),_0x4942f7===_0x1520df(0x3c7)&&(this[_0x1520df(0x21f)]['showMask'](),_0x3ea554=this[_0x1520df(0xdc)][_0x1520df(0x9e)]({'type':_0x19476b['MessageType'][_0x1520df(0xea)],'content':this['_localeService']['t']('editHistory.info.loading'),'duration':0x3e8})),_0x4942f7===_0x1520df(0x277)&&this[_0x1520df(0x21f)][_0x1520df(0x271)]();}));}['_registerHeader'](){const _0x2e0cd3=_0x222100;var _0x31b602;(_0x31b602=this['_configService'][_0x2e0cd3(0x229)]('edit-history-viewer.config'))!=null&&_0x31b602[_0x2e0cd3(0x182)]||this[_0x2e0cd3(0x328)](this[_0x2e0cd3(0x291)]['registerComponent'](_0x617684[_0x2e0cd3(0x138)][_0x2e0cd3(0x253)],()=>(0x0,_0x617684[_0x2e0cd3(0x38f)])(_0x2e4636,this[_0x2e0cd3(0x3cd)])));}};_0x5eea78=_0x44657c([_0x5ea03e(0x0,_0x5d4152['IPermissionService']),_0x5ea03e(0x1,_0x617684['IUIPartsService']),_0x5ea03e(0x2,_0x617684[_0x222100(0xec)]),_0x5ea03e(0x3,(0x0,_0x5d4152['Inject'])(_0x5d4152['LocaleService'])),_0x5ea03e(0x4,(0x0,_0x5d4152[_0x222100(0x309)])(_0x19e6e4)),_0x5ea03e(0x5,(0x0,_0x5d4152[_0x222100(0x309)])(_0x5d4152[_0x222100(0x2c1)])),_0x5ea03e(0x6,_0x5d4152[_0x222100(0x82)])],_0x5eea78);function _0x537986({ref:_0x5220de,..._0xf6c34b}){const _0xa1cdb1=_0x222100;let {icon:_0x454dd8,id:_0x19ff2d,className:_0x328b96,extend:_0x12504a,..._0x277634}=_0xf6c34b,_0x3ae66a=(_0xa1cdb1(0x276)+_0x19ff2d+'\x20'+(_0x328b96||''))[_0xa1cdb1(0x26b)](),_0x271a7d=(0x0,_0x18424f[_0xa1cdb1(0x205)])('_'+_0x2687b4());return _0x415a0b(_0x454dd8,''+_0x19ff2d,{'defIds':_0x454dd8[_0xa1cdb1(0x2ce)],'idSuffix':_0x271a7d[_0xa1cdb1(0x2fb)]},{'ref':_0x5220de,'className':_0x3ae66a,..._0x277634},_0x12504a);}function _0x415a0b(_0x2927d7,_0x43dd26,_0x31a5d9,_0x60a7a1,_0x244aa9){const _0x32f912=_0x222100;return(0x0,_0x18424f[_0x32f912(0x1ae)])(_0x2927d7[_0x32f912(0x22a)],{'key':_0x43dd26,..._0x5f1f4f(_0x2927d7,_0x31a5d9,_0x244aa9),..._0x60a7a1},(_0x52207f(_0x2927d7,_0x31a5d9)[_0x32f912(0x2ca)]||[])[_0x32f912(0x84)]((_0x22f713,_0x4ee1c8)=>_0x415a0b(_0x22f713,_0x43dd26+'-'+_0x2927d7[_0x32f912(0x22a)]+'-'+_0x4ee1c8,_0x31a5d9,void 0x0,_0x244aa9)));}function _0x5f1f4f(_0x50c10c,_0x4bfdbd,_0x311317){const _0x3dcbeb=_0x222100;let _0x4b92fd={..._0x50c10c['attrs']};_0x311317!=null&&_0x311317[_0x3dcbeb(0x119)]&&_0x4b92fd['fill']===_0x3dcbeb(0x119)&&(_0x4b92fd[_0x3dcbeb(0x300)]=_0x311317[_0x3dcbeb(0x119)]),_0x50c10c[_0x3dcbeb(0x22a)]===_0x3dcbeb(0xa9)&&_0x4b92fd['id']&&(_0x4b92fd['id']+=_0x4bfdbd[_0x3dcbeb(0x358)]),Object[_0x3dcbeb(0x393)](_0x4b92fd)[_0x3dcbeb(0x2de)](([_0x41455e,_0x22f9c1])=>{const _0x110478=_0x3dcbeb;_0x41455e===_0x110478(0xa9)&&typeof _0x22f9c1==_0x110478(0xd4)&&(_0x4b92fd[_0x41455e]=_0x22f9c1['replace'](/url\(#(.*)\)/,_0x110478(0x354)+_0x4bfdbd[_0x110478(0x358)]+')'));});let {defIds:_0xfa80c3}=_0x4bfdbd;return!_0xfa80c3||_0xfa80c3[_0x3dcbeb(0x12d)]===0x0?_0x4b92fd:(_0x50c10c[_0x3dcbeb(0x22a)]===_0x3dcbeb(0x3fb)&&_0x4b92fd[_0x3dcbeb(0x3e7)]&&(_0x4b92fd[_0x3dcbeb(0x3e7)]+=_0x4bfdbd[_0x3dcbeb(0x358)]),Object['entries'](_0x4b92fd)[_0x3dcbeb(0x2de)](([_0x55c657,_0x4d7c8e])=>{const _0x3e2835=_0x3dcbeb;typeof _0x4d7c8e==_0x3e2835(0xd4)&&(_0x4b92fd[_0x55c657]=_0x4d7c8e[_0x3e2835(0x2b0)](/url\(#(.*)\)/,'url(#$1'+_0x4bfdbd['idSuffix']+')'));}),_0x4b92fd);}function _0x52207f(_0x2bfee0,_0x17228b){const _0x280ed5=_0x222100;var _0x296326;let {defIds:_0x560947}=_0x17228b;return!_0x560947||_0x560947[_0x280ed5(0x12d)]===0x0?_0x2bfee0:_0x2bfee0[_0x280ed5(0x22a)]==='defs'&&(_0x296326=_0x2bfee0[_0x280ed5(0x2ca)])!=null&&_0x296326[_0x280ed5(0x12d)]?{..._0x2bfee0,'children':_0x2bfee0['children']['map'](_0x3c2680=>typeof _0x3c2680[_0x280ed5(0x317)]['id']==_0x280ed5(0xd4)&&_0x560947&&_0x560947[_0x280ed5(0xaa)](_0x3c2680['attrs']['id'])?{..._0x3c2680,'attrs':{..._0x3c2680[_0x280ed5(0x317)],'id':_0x3c2680[_0x280ed5(0x317)]['id']+_0x17228b['idSuffix']}}:_0x3c2680)}:_0x2bfee0;}function _0x2687b4(){const _0x4a9519=_0x222100;return Math['random']()[_0x4a9519(0x127)](0x24)[_0x4a9519(0x2e2)](0x2,0x8);}_0x537986['displayName']=_0x222100(0x1ed);let _0x2caba2={'tag':_0x222100(0x30c),'attrs':{'xmlns':_0x222100(0x320),'fill':_0x222100(0x14d),'viewBox':_0x222100(0xf1),'width':_0x222100(0x189),'height':_0x222100(0x189)},'children':[{'tag':_0x222100(0x28a),'attrs':{'fill':_0x222100(0x2aa),'d':_0x222100(0x1d0)}}]},_0x37acbc=(0x0,_0x18424f[_0x222100(0xb0)])(function(_0x5f7e5,_0x5e8228){const _0x4adbe7=_0x222100;return(0x0,_0x18424f[_0x4adbe7(0x1ae)])(_0x537986,Object['assign']({},_0x5f7e5,{'id':_0x4adbe7(0x76),'ref':_0x5e8228,'icon':_0x2caba2}));});_0x37acbc[_0x222100(0x110)]='BackIcon';let _0x4eb020={'tag':_0x222100(0x30c),'attrs':{'xmlns':_0x222100(0x320),'fill':'none','viewBox':_0x222100(0xf1),'width':_0x222100(0x189),'height':_0x222100(0x189)},'children':[{'tag':_0x222100(0x28a),'attrs':{'fill':_0x222100(0x2aa),'d':_0x222100(0x16d),'fillRule':_0x222100(0x303),'clipRule':_0x222100(0x303)}}]},_0x475a89=(0x0,_0x18424f['forwardRef'])(function(_0x2e9e1b,_0x3e8f37){const _0x3b9f59=_0x222100;return(0x0,_0x18424f['createElement'])(_0x537986,Object[_0x3b9f59(0x99)]({},_0x2e9e1b,{'id':'funnel-icon','ref':_0x3e8f37,'icon':_0x4eb020}));});_0x475a89['displayName']=_0x222100(0x1b6);let _0xcb356c={'tag':_0x222100(0x30c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x222100(0x14d),'viewBox':_0x222100(0xf1),'width':_0x222100(0x189),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x222100(0xa8),'fillRule':_0x222100(0x303),'clipRule':'evenodd'}}]},_0x22d4db=(0x0,_0x18424f[_0x222100(0xb0)])(function(_0x3ddeef,_0x47e14f){const _0x33ab43=_0x222100;return(0x0,_0x18424f[_0x33ab43(0x1ae)])(_0x537986,Object[_0x33ab43(0x99)]({},_0x3ddeef,{'id':_0x33ab43(0xfb),'ref':_0x47e14f,'icon':_0xcb356c}));});_0x22d4db[_0x222100(0x110)]='MoreDownIcon';let _0xcb352={'tag':'svg','attrs':{'xmlns':_0x222100(0x320),'fill':_0x222100(0x14d),'viewBox':'0\x200\x2016\x2016','width':_0x222100(0x189),'height':_0x222100(0x189)},'children':[{'tag':_0x222100(0x28a),'attrs':{'fill':_0x222100(0x2aa),'d':_0x222100(0x206),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x161f26=(0x0,_0x18424f['forwardRef'])(function(_0x3a8b4d,_0x4354e3){const _0x266a8c=_0x222100;return(0x0,_0x18424f[_0x266a8c(0x1ae)])(_0x537986,Object[_0x266a8c(0x99)]({},_0x3a8b4d,{'id':_0x266a8c(0x346),'ref':_0x4354e3,'icon':_0xcb352}));});_0x161f26[_0x222100(0x110)]=_0x222100(0x27a);let _0x37dab5={'tag':_0x222100(0x30c),'attrs':{'xmlns':_0x222100(0x320),'fill':'none','viewBox':_0x222100(0x3a6),'width':_0x222100(0x189),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x222100(0x2aa),'clipPath':_0x222100(0x3dd)},'children':[{'tag':_0x222100(0x28a),'attrs':{'d':_0x222100(0x11a)}},{'tag':_0x222100(0x28a),'attrs':{'d':_0x222100(0xff),'fillRule':'evenodd','clipRule':_0x222100(0x303)}}]},{'tag':_0x222100(0x181),'attrs':{},'children':[{'tag':_0x222100(0x367),'attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':_0x222100(0xcc),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x222100(0xe6),'rx':0x4}}]}]}],'defIds':[_0x222100(0x141)]},_0x369fb1=(0x0,_0x18424f[_0x222100(0xb0)])(function(_0x215f9d,_0x142339){const _0x305702=_0x222100;return(0x0,_0x18424f[_0x305702(0x1ae)])(_0x537986,Object[_0x305702(0x99)]({},_0x215f9d,{'id':_0x305702(0x9a),'ref':_0x142339,'icon':_0x37dab5}));});_0x369fb1[_0x222100(0x110)]=_0x222100(0x2c5);let _0x9abe77={'tag':_0x222100(0x30c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x222100(0x189),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':'#0B9EFB','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':_0x222100(0x303),'clipRule':_0x222100(0x303)}},{'tag':_0x222100(0x28a),'attrs':{'fill':'#0B9EFB','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':_0x222100(0x303),'clipRule':_0x222100(0x303)}}]},_0x56b58b=(0x0,_0x18424f[_0x222100(0xb0)])(function(_0x4c3800,_0x580f0c){const _0x383083=_0x222100;return(0x0,_0x18424f[_0x383083(0x1ae)])(_0x537986,Object['assign']({},_0x4c3800,{'id':_0x383083(0x24f),'ref':_0x580f0c,'icon':_0x9abe77}));});_0x56b58b[_0x222100(0x110)]=_0x222100(0x1c1);function _0x2ce815(_0x4929b6){const _0x4715c8=_0x222100;var _0xd8e025;let {item:_0x5c58d5,isNewest:_0x108922}=_0x4929b6,_0xf273bf=(0x0,_0x617684[_0x4715c8(0x318)])(_0x19e6e4),_0x4aaf28=(0x0,_0x617684[_0x4715c8(0x318)])(_0x2bd5e7),_0x2b9f0a=(0x0,_0x617684[_0x4715c8(0x318)])(_0x5d4152[_0x4715c8(0x3d0)]),_0x4ae431=(0x0,_0x617684['useObservable'])(_0xf273bf['currentVersion$'],'',!0x0)===_0x5c58d5['id'],_0x5e4e74=_0x2b9f0a[_0x4715c8(0x125)](),_0x50c18b=_0x3f54ee(_0x5c58d5[_0x4715c8(0x3af)],_0x5e4e74),_0xf73972=!_0x108922&&_0xf273bf['canRevert'],_0x21a363=(0x0,_0x18424f[_0x4715c8(0xce)])(async()=>{const _0x5bf485=_0x4715c8;_0xf273bf[_0x5bf485(0x283)]!==_0x5bf485(0x3c7)&&(_0xf273bf[_0x5bf485(0xdd)]=_0x5c58d5['id'],await _0x4aaf28[_0x5bf485(0x242)](_0x5c58d5['id']));},[_0xf273bf,_0x4aaf28,_0x5c58d5['id']]),_0x558677=(0x0,_0x18424f['useCallback'])(_0x3a7543=>{const _0x1cb786=_0x4715c8;_0x3a7543['stopPropagation'](),_0xf273bf[_0x1cb786(0x338)](_0x5c58d5['id']);},[_0xf273bf,_0x5c58d5['id']]),_0x5dd089=((_0xd8e025=_0x5c58d5[_0x4715c8(0x236)])==null?void 0x0:_0xd8e025[_0x4715c8(0xa2)](Boolean)[_0x4715c8(0x33d)](',\x20'))||_0x5c58d5['user']||_0x2b9f0a['t'](_0x4715c8(0x2a9));return(0x0,_0x46537a[_0x4715c8(0x2fa)])(_0x4715c8(0x2c7),{'className':(0x0,_0x19476b['clsx'])(_0x4715c8(0x3fa),_0x4ae431&&_0x4715c8(0x193)),'onClick':_0x21a363,'children':[(0x0,_0x46537a[_0x4715c8(0x2fa)])('div',{'className':_0x4715c8(0x186),'children':[(0x0,_0x46537a[_0x4715c8(0x2fa)])(_0x4715c8(0x2c7),{'className':'univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x46537a['jsx'])(_0x4715c8(0x11b),{'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-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','children':_0x5dd089}),_0x108922&&(0x0,_0x46537a[_0x4715c8(0xde)])(_0x4715c8(0x11b),{'className':_0x4715c8(0xc2),'children':_0x2b9f0a['t'](_0x4715c8(0x1d3))})]}),(0x0,_0x46537a['jsxs'])(_0x4715c8(0x2c7),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x46537a[_0x4715c8(0xde)])('span',{'className':'univer-text-xs\x20univer-text-gray-400','children':_0x50c18b[_0x4715c8(0x3af)]}),(0x0,_0x46537a[_0x4715c8(0xde)])(_0x4715c8(0x11b),{'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':_0x305a5a(_0x5c58d5,_0x2b9f0a)})]})]}),_0xf73972&&(0x0,_0x46537a[_0x4715c8(0xde)])(_0x19476b[_0x4715c8(0x27e)],{'size':_0x4715c8(0x8c),'variant':'primary','onClick':_0x558677,'children':_0x2b9f0a['t'](_0x4715c8(0x192))})]});}function _0xc09a5e(){const _0x1c2d48=_0x222100;let _0x2b65ca=(0x0,_0x617684[_0x1c2d48(0x318)])(_0x19e6e4),_0x1d036d=(0x0,_0x617684[_0x1c2d48(0x318)])(_0x5d4152[_0x1c2d48(0x3d0)]),_0x26d592=(0x0,_0x617684[_0x1c2d48(0x31c)])(_0x2b65ca[_0x1c2d48(0x31a)]),_0x56ffca=(0x0,_0x617684['useObservable'])(_0x2b65ca[_0x1c2d48(0x248)]),_0xc9ca57=(0x0,_0x18424f['useRef'])(null),[_0xbce34c,_0x1c6d62]=(0x0,_0x18424f[_0x1c2d48(0x16f)])(!0x0);(0x0,_0x18424f[_0x1c2d48(0x254)])(()=>{const _0x462426=_0x1c2d48;let _0x3dbac8=_0xc9ca57[_0x462426(0x2fb)];if(!_0x3dbac8||!_0xbce34c)return;let _0x5b5434,_0xd9bd57=()=>{clearTimeout(_0x5b5434),_0x5b5434=setTimeout(()=>{let {scrollTop:_0x4f67ef,scrollHeight:_0x6aff2d,clientHeight:_0x177b9c}=_0x3dbac8;_0x4f67ef+_0x177b9c>=_0x6aff2d-0xa&&_0x2b65ca['loadMoreVersions']();},0x64);};return _0x3dbac8[_0x462426(0x1f8)](_0x462426(0x15f),_0xd9bd57),()=>{const _0x3d8f07=_0x462426;clearTimeout(_0x5b5434),_0x3dbac8['removeEventListener'](_0x3d8f07(0x15f),_0xd9bd57);};},[_0x2b65ca,_0xbce34c]);let _0x19d2fd=_0x60fc20(_0x26d592==null?[]:_0x26d592);return(0x0,_0x46537a[_0x1c2d48(0xde)])('div',{'className':_0x1c2d48(0x1a9),'children':(0x0,_0x46537a[_0x1c2d48(0x2fa)])('div',{'className':(0x0,_0x19476b['clsx'])('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',_0xbce34c?'univer-h-[60%]':_0x1c2d48(0x366)),'children':[(0x0,_0x46537a[_0x1c2d48(0x2fa)])('div',{'className':_0x1c2d48(0x353),'onClick':()=>_0x1c6d62(_0x52fa45=>!_0x52fa45),'children':[(0x0,_0x46537a[_0x1c2d48(0xde)])('div',{'className':_0x1c2d48(0x1b8)}),!_0xbce34c&&(0x0,_0x46537a[_0x1c2d48(0xde)])(_0x1c2d48(0x11b),{'className':_0x1c2d48(0x31d),'children':_0x1d036d['t'](_0x1c2d48(0x139))})]}),_0xbce34c&&(0x0,_0x46537a[_0x1c2d48(0xde)])(_0x46537a[_0x1c2d48(0x387)],{'children':_0x26d592?(0x0,_0x46537a[_0x1c2d48(0x2fa)])(_0x1c2d48(0x2c7),{'ref':_0xc9ca57,'className':_0x1c2d48(0x362),'children':[_0x19d2fd[_0x1c2d48(0x84)](_0xe00488=>(0x0,_0x46537a[_0x1c2d48(0x2fa)])(_0x1c2d48(0x2c7),{'children':[(0x0,_0x46537a[_0x1c2d48(0xde)])('div',{'className':_0x1c2d48(0x14a),'children':_0x1bfe85(_0xe00488['startDateString'],_0x1d036d[_0x1c2d48(0x125)]())}),_0xe00488[_0x1c2d48(0x363)][_0x1c2d48(0x84)]((_0x1d4804,_0x1c834d)=>(0x0,_0x46537a[_0x1c2d48(0xde)])(_0x2ce815,{'item':_0x1d4804,'isNewest':_0x19d2fd[0x0]===_0xe00488&&_0x1c834d===0x0},_0x1d4804['id']))]},_0xe00488['dateString'])),_0x56ffca&&(0x0,_0x46537a[_0x1c2d48(0xde)])('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\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','children':(0x0,_0x46537a[_0x1c2d48(0xde)])(_0x56b58b,{'className':_0x1c2d48(0x35f)})})]}):(0x0,_0x46537a[_0x1c2d48(0xde)])('div',{'className':_0x1c2d48(0xb6),'children':(0x0,_0x46537a[_0x1c2d48(0xde)])(_0x56b58b,{'className':_0x1c2d48(0x35f)})})})]})});}let _0x28e318=class extends _0x5d4152['Disposable']{constructor(_0x141afd,_0x4ab139){const _0x143cae=_0x222100;super(),this[_0x143cae(0x291)]=_0x141afd,this[_0x143cae(0x3cd)]=_0x4ab139,this[_0x143cae(0x328)](this[_0x143cae(0x291)]['registerComponent'](_0x617684[_0x143cae(0x138)][_0x143cae(0x1af)],()=>(0x0,_0x617684['connectInjector'])(_0xc09a5e,this[_0x143cae(0x3cd)])));}};_0x28e318=_0x44657c([_0x5ea03e(0x0,_0x617684[_0x222100(0x1a4)]),_0x5ea03e(0x1,(0x0,_0x5d4152['Inject'])(_0x5d4152[_0x222100(0x2c1)]))],_0x28e318);var _0x5ad812=class extends _0x5d4152[_0x222100(0x348)]{constructor(){const _0x31ded7=_0x222100;super(),_0x2adbdc(this,'_dialogOptions$',new _0x33a3a7[(_0x31ded7(0x74))]());}['open'](){return(0x0,_0x5d4152['toDisposable'])(()=>{});}[_0x222100(0x321)](){}['closeAll'](_0x251be0){}[_0x222100(0x28b)](){const _0x4d7d68=_0x222100;return this[_0x4d7d68(0x28c)][_0x4d7d68(0x187)]();}};let _0x49fa6e=class extends _0x5d4152[_0x222100(0x3d9)]{constructor(_0x18c26a=_0x12c70b,_0x3e4c28,_0x337ca2,_0x2023b9){const _0x41c9dd=_0x222100;super(),this['_config']=_0x18c26a,this[_0x41c9dd(0x3cd)]=_0x3e4c28,this[_0x41c9dd(0x390)]=_0x337ca2,this['_configService']=_0x2023b9;let {..._0x2190ee}=(0x0,_0x5d4152['merge'])({},_0x12c70b,this[_0x41c9dd(0x2c8)]);this[_0x41c9dd(0x36f)]['setConfig'](_0x19d71b,_0x2190ee);}[_0x222100(0x1e3)](){const _0x4cadf4=_0x222100;[[_0x19e6e4],[_0x5eea78],[_0x2bd5e7],[_0x421ed4],[_0x28e318],[_0x326f97],[_0x3d0c58['ISnapshotServerService'],{'useClass':_0x579c50[_0x4cadf4(0x70)]}],[_0x617684[_0x4cadf4(0x3bf)],{'useClass':_0x5ad812}],[_0x41d1bb[_0x4cadf4(0x19d)],{'useClass':_0x579c50[_0x4cadf4(0x1c9)]}]][_0x4cadf4(0x2de)](_0x54f45b=>this[_0x4cadf4(0x3cd)][_0x4cadf4(0x9b)](_0x54f45b)),this['_injector'][_0x4cadf4(0x3b8)](_0x5eea78);}[_0x222100(0x311)](){const _0x50d81c=_0x222100;[[_0xd3240]][_0x50d81c(0x2de)](_0x5f4bd2=>{const _0xeaad1d=_0x50d81c;this[_0xeaad1d(0x328)](this[_0xeaad1d(0x390)][_0xeaad1d(0xed)](_0x5d4152[_0xeaad1d(0x2b4)][_0xeaad1d(0x128)],_0x5f4bd2));}),this[_0x50d81c(0x3cd)][_0x50d81c(0x3b8)](_0x326f97),this[_0x50d81c(0x3cd)]['get'](_0x28e318);}[_0x222100(0xab)](){this['_injector']['get'](_0x2bd5e7);}};_0x2adbdc(_0x49fa6e,'pluginName',_0x222100(0x168)),_0x2adbdc(_0x49fa6e,_0x222100(0xd6),_0x4c4204),_0x2adbdc(_0x49fa6e,_0x222100(0x7d),_0xea9ff6),_0x49fa6e=_0x44657c([(0x0,_0x5d4152[_0x222100(0x162)])(_0x188389['UniverSheetsMobileUIPlugin'],_0x245917['UniverNetworkPlugin']),_0x5ea03e(0x1,(0x0,_0x5d4152[_0x222100(0x309)])(_0x5d4152[_0x222100(0x2c1)])),_0x5ea03e(0x2,_0x487591['IRenderManagerService']),_0x5ea03e(0x3,_0x5d4152[_0x222100(0x82)])],_0x49fa6e);function _0x21c97f(){const _0x146555=_0x222100;let _0x2e66fb=(0x0,_0x617684[_0x146555(0x318)])(_0x19e6e4),_0x4041a0=(0x0,_0x617684[_0x146555(0x318)])(_0x5d4152[_0x146555(0x3d0)]),_0x162276=(0x0,_0x617684[_0x146555(0x31c)])(_0x2e66fb[_0x146555(0x17f)]),_0x357f36=(0x0,_0x18424f[_0x146555(0x8e)])(()=>_0x162276?_0x2e66fb[_0x146555(0x327)]():!0x1,[_0x2e66fb,_0x162276]),_0xe405a7=(0x0,_0x18424f[_0x146555(0xce)])(()=>{const _0x1f779c=_0x146555;_0x2e66fb[_0x1f779c(0x1f3)]=_0x1f779c(0x3f2);},[_0x2e66fb]),_0x3e590b=(0x0,_0x18424f['useCallback'])(()=>{const _0x2df69c=_0x146555;_0x2e66fb[_0x2df69c(0x338)]();},[_0x2e66fb]);return(0x0,_0x46537a[_0x146555(0x2fa)])(_0x146555(0x2c7),{'className':(0x0,_0x19476b[_0x146555(0x118)])(_0x146555(0x340),_0x19476b['borderBottomClassName']),'children':[(0x0,_0x46537a[_0x146555(0xde)])('a',{'className':_0x146555(0x211),'role':_0x146555(0x294),'onClick':_0xe405a7,'children':(0x0,_0x46537a[_0x146555(0xde)])(_0x37acbc,{'className':_0x146555(0x2ea)})}),(0x0,_0x46537a[_0x146555(0xde)])(_0x146555(0x2c7),{'className':_0x146555(0xb6),'children':_0x357f36&&(0x0,_0x46537a[_0x146555(0xde)])(_0x19476b['Button'],{'variant':_0x146555(0x2fd),'onClick':_0x3e590b,'children':_0x4041a0['t']('editHistory.header.revert')})})]});}let _0x1bbdfc=class extends _0x5d4152['Disposable']{constructor(_0x56cd3b,_0x37c579,_0x237188,_0x4231be,_0x3abc6b,_0x49d0f9,_0xe206c2){const _0x16224a=_0x222100;super(),this[_0x16224a(0x20a)]=_0x56cd3b,this[_0x16224a(0x291)]=_0x37c579,this[_0x16224a(0xdc)]=_0x237188,this['_localeService']=_0x4231be,this['_historyManagerService']=_0x3abc6b,this['_injector']=_0x49d0f9,this[_0x16224a(0x36f)]=_0xe206c2,this[_0x16224a(0x337)]();}[_0x222100(0x337)](){const _0x506e34=_0x222100;this[_0x506e34(0x328)](this['_historyManagerService'][_0x506e34(0x17f)]['subscribe'](_0x3184df=>{const _0x24684d=_0x506e34;_0x3184df&&this['_historyManagerService'][_0x24684d(0xbd)](_0x3184df);})),this['disposeWithMe'](this['_permissionService'][_0x506e34(0x260)][_0x506e34(0x143)](_0x5588f3=>{const _0x3c81e0=_0x506e34;let _0x432b2e=this['_historyManagerService'][_0x3c81e0(0x6e)];_0x432b2e&&(_0x5588f3['subType']===_0xf83413[_0x3c81e0(0x24a)][_0x3c81e0(0xcb)]&&_0x5588f3[_0x3c81e0(0x2a8)]===!0x0&&this[_0x3c81e0(0x20a)][_0x3c81e0(0x26d)](new _0x56c972[(_0x3c81e0(0x1fd))](_0x432b2e)['id'],!0x1),_0x5588f3[_0x3c81e0(0x3ef)]===_0xf83413[_0x3c81e0(0x24a)][_0x3c81e0(0x3ca)]&&_0x5588f3[_0x3c81e0(0x2a8)]===!0x0&&this[_0x3c81e0(0x20a)][_0x3c81e0(0x26d)](new _0x56c972['WorkbookRenameSheetPermission'](_0x432b2e)['id'],!0x1),_0x5588f3[_0x3c81e0(0x3ef)]===_0xf83413[_0x3c81e0(0x24a)][_0x3c81e0(0x7b)]&&_0x5588f3['value']===!0x0&&this[_0x3c81e0(0x20a)][_0x3c81e0(0x26d)](new _0x56c972[(_0x3c81e0(0x270))](_0x432b2e)['id'],!0x1),_0x5588f3[_0x3c81e0(0x3ef)]===_0xf83413[_0x3c81e0(0x24a)][_0x3c81e0(0x204)]&&_0x5588f3[_0x3c81e0(0x2a8)]===!0x0&&this[_0x3c81e0(0x20a)][_0x3c81e0(0x26d)](new _0x56c972['WorkbookHideSheetPermission'](_0x432b2e)['id'],!0x1),_0x5588f3[_0x3c81e0(0x3ef)]===_0xf83413[_0x3c81e0(0x24a)][_0x3c81e0(0x356)]&&_0x5588f3['value']===!0x0&&this[_0x3c81e0(0x20a)]['updatePermissionPoint'](new _0x56c972[(_0x3c81e0(0x1fd))](_0x432b2e)['id'],!0x1),_0x5588f3[_0x3c81e0(0x3ef)]===_0xf83413['UnitAction'][_0x3c81e0(0x13c)]&&_0x5588f3['value']===!0x0&&this['_permissionService'][_0x3c81e0(0x26d)](new _0x56c972['WorkbookEditablePermission'](_0x432b2e)['id'],!0x1));})),this[_0x506e34(0x2cd)]();let _0x2ed539;this[_0x506e34(0x328)](this[_0x506e34(0x21f)]['loadingState$'][_0x506e34(0x143)](_0x7541f4=>{const _0x58bdb2=_0x506e34;this[_0x58bdb2(0xdc)][_0x58bdb2(0x1ad)](),_0x2ed539==null||_0x2ed539['dispose'](),_0x7541f4==='loading'&&(this[_0x58bdb2(0x21f)][_0x58bdb2(0x219)](),_0x2ed539=this[_0x58bdb2(0xdc)]['show']({'type':_0x19476b[_0x58bdb2(0x151)][_0x58bdb2(0xea)],'content':this[_0x58bdb2(0xb5)]['t'](_0x58bdb2(0x3fe)),'duration':0x3e8})),_0x7541f4==='loaded'&&this['_historyManagerService']['hideMask']();}));}[_0x222100(0x2cd)](){const _0x25afce=_0x222100;var _0x3b6a31;(_0x3b6a31=this[_0x25afce(0x36f)][_0x25afce(0x229)](_0x25afce(0x108)))!=null&&_0x3b6a31['historyPanelHidden']||this[_0x25afce(0x328)](this[_0x25afce(0x291)][_0x25afce(0x152)](_0x617684[_0x25afce(0x138)][_0x25afce(0x253)],()=>(0x0,_0x617684[_0x25afce(0x38f)])(_0x21c97f,this[_0x25afce(0x3cd)])));}};_0x1bbdfc=_0x44657c([_0x5ea03e(0x0,_0x5d4152[_0x222100(0x13e)]),_0x5ea03e(0x1,_0x617684['IUIPartsService']),_0x5ea03e(0x2,_0x617684[_0x222100(0xec)]),_0x5ea03e(0x3,(0x0,_0x5d4152['Inject'])(_0x5d4152[_0x222100(0x3d0)])),_0x5ea03e(0x4,(0x0,_0x5d4152[_0x222100(0x309)])(_0x19e6e4)),_0x5ea03e(0x5,(0x0,_0x5d4152[_0x222100(0x309)])(_0x5d4152['Injector'])),_0x5ea03e(0x6,_0x5d4152['IConfigService'])],_0x1bbdfc);let _0x4a2bcf=[{'key':0x0,'labelKey':_0x222100(0x32a)},{'key':0x1,'labelKey':_0x222100(0x316)},{'key':0x2,'labelKey':_0x222100(0x388)}];function _0x1c3e01(_0x25c90e){const _0x266690=_0x222100;let {className:_0x1d03ab}=_0x25c90e;return(0x0,_0x46537a['jsxs'])('svg',{'className':_0x1d03ab,'fill':'none','height':'20','viewBox':_0x266690(0x266),'width':'20','xmlns':_0x266690(0x320),'children':[(0x0,_0x46537a[_0x266690(0xde)])(_0x266690(0x28a),{'d':_0x266690(0x31e),'fill':_0x266690(0x16a)}),(0x0,_0x46537a[_0x266690(0xde)])('defs',{'children':(0x0,_0x46537a[_0x266690(0x2fa)])(_0x266690(0x39f),{'gradientUnits':_0x266690(0x3a2),'id':_0x266690(0x178),'x1':'1.66418','x2':_0x266690(0xb2),'y1':_0x266690(0x2cb),'y2':'6.77028','children':[(0x0,_0x46537a['jsx'])(_0x266690(0xa5),{'offset':'0.01','stopColor':'#FF557D'}),(0x0,_0x46537a['jsx'])(_0x266690(0xa5),{'offset':_0x266690(0x3b0),'stopColor':'#A656FF'}),(0x0,_0x46537a[_0x266690(0xde)])(_0x266690(0xa5),{'offset':_0x266690(0x112),'stopColor':_0x266690(0x90)}),(0x0,_0x46537a[_0x266690(0xde)])(_0x266690(0xa5),{'offset':'1','stopColor':'#01C2AA'})]})})]});}function _0x3faf60(_0x2493a9){const _0x50640b=_0x222100;let {value:_0x4793fd,onChange:_0x701ed4}=_0x2493a9,_0x651412=(0x0,_0x617684[_0x50640b(0x318)])(_0x5d4152[_0x50640b(0x3d0)]);return(0x0,_0x46537a['jsx'])(_0x50640b(0x2c7),{'className':_0x50640b(0x31b),'children':(0x0,_0x46537a[_0x50640b(0xde)])(_0x19476b['Segmented'],{'items':_0x4a2bcf[_0x50640b(0x84)](_0x5ea57a=>({'label':_0x651412['t'](_0x5ea57a['labelKey']),'value':_0x5ea57a[_0x50640b(0x382)]})),'value':_0x4793fd,'onChange':_0x701ed4})});}function _0x97f839(){const _0x115f2c=_0x222100;var _0x324a89,_0x3c375e;let _0x110aab=(0x0,_0x617684[_0x115f2c(0x318)])(_0x19e6e4),_0x25e883=(0x0,_0x617684['useDependency'])(_0x421ed4),_0x2303ee=(0x0,_0x617684[_0x115f2c(0x318)])(_0x2bd5e7),_0x31c32c=(0x0,_0x617684[_0x115f2c(0x318)])(_0x5d4152['IConfigService']),_0x22bb5d=(0x0,_0x617684[_0x115f2c(0x31c)])(_0x110aab[_0x115f2c(0x31a)]),_0x87551a=(0x0,_0x617684[_0x115f2c(0x31c)])(_0x110aab['creators$'],[]),[_0xecf715,_0x2e0c74]=(0x0,_0x18424f[_0x115f2c(0x16f)])(new Set()),[_0x3c1794,_0x203e56]=(0x0,_0x18424f[_0x115f2c(0x16f)])(new Map()),[_0x138e4a,_0x3427cd]=(0x0,_0x18424f[_0x115f2c(0x16f)])(new Set()),[_0x15f619,_0x1764a2]=(0x0,_0x18424f[_0x115f2c(0x16f)])(0x0),_0x206bdd=(0x0,_0x617684[_0x115f2c(0x318)])(_0x5d4152[_0x115f2c(0x3d0)]),_0x5378ed=(0x0,_0x18424f['useRef'])(null),[_0x50e907,_0x3f0a7e]=(0x0,_0x18424f[_0x115f2c(0x16f)])(!0x1),[_0x504f4f,_0x2f92c6]=(0x0,_0x18424f[_0x115f2c(0x16f)])([]),_0x5e7f2d=(_0x324a89=(_0x3c375e=_0x31c32c[_0x115f2c(0x229)]('edit-history-viewer.config'))==null?void 0x0:_0x3c375e[_0x115f2c(0x6f)])==null?!0x1:_0x324a89,_0x49eda6=_0x60fc20(_0x22bb5d),[_0x6e5ccd,_0xb8d89c]=(0x0,_0x18424f['useState'])([]),_0x35f5af=(0x0,_0x18424f[_0x115f2c(0x8e)])(()=>_0x87551a[_0x115f2c(0x84)](_0x1192b8=>({'key':_0x1192b8[_0x115f2c(0x25f)],'label':_0x1192b8['name']})),[_0x87551a]);(0x0,_0x18424f['useEffect'])(()=>{const _0x4da715=_0x115f2c;_0x110aab[_0x4da715(0x22c)]();},[]);let _0x3920c1=(0x0,_0x18424f['useCallback'])(_0x1bab9=>{const _0x41a94c=_0x115f2c;_0xb8d89c([]),_0x1764a2(_0x1bab9),_0x110aab[_0x41a94c(0x6e)]&&_0x110aab[_0x41a94c(0x1e8)](_0x110aab[_0x41a94c(0x6e)],{'origin':_0x1bab9});},[_0x110aab]);(0x0,_0x18424f[_0x115f2c(0x254)])(()=>{const _0x24f341=_0x115f2c;let _0x224452=_0x5378ed[_0x24f341(0x2fb)];if(!_0x224452)return;let _0x47f5d8,_0x3c4d61=_0x2506bd=>{clearTimeout(_0x47f5d8),_0x47f5d8=setTimeout(()=>{const _0x50702b=_0x4c62;let {target:_0x4d6e46}=_0x2506bd;if(_0x4d6e46){let {scrollTop:_0x584bd7,scrollHeight:_0x3dff65,clientHeight:_0x410b96}=_0x4d6e46;_0x584bd7+_0x410b96>=_0x3dff65-0x5&&_0x110aab[_0x50702b(0x313)]();}},0x64);};return _0x224452['addEventListener'](_0x24f341(0x15f),_0x3c4d61),()=>{const _0x31c387=_0x24f341;clearTimeout(_0x47f5d8),_0x224452[_0x31c387(0x158)](_0x31c387(0x15f),_0x3c4d61);};},[_0x110aab]);let _0x4c24c9=(0x0,_0x18424f[_0x115f2c(0xce)])(async _0x564b2f=>{const _0x1bb874=_0x115f2c;let _0xcf0c71=_0x564b2f['id'];if(_0xecf715[_0x1bb874(0x6b)](_0xcf0c71)){_0x2e0c74(_0x8eabbb=>{const _0x44433b=_0x1bb874;let _0x5d5d0f=new Set(_0x8eabbb);return _0x5d5d0f[_0x44433b(0x1df)](_0xcf0c71),_0x5d5d0f;});return;}if(_0x3c1794['has'](_0xcf0c71)){_0x2e0c74(_0x53873a=>new Set(_0x53873a)[_0x1bb874(0x9b)](_0xcf0c71));return;}_0x3427cd(_0x398ad0=>new Set(_0x398ad0)['add'](_0xcf0c71));try{var _0x353cb2;let _0x249963=_0x110aab[_0x1bb874(0x6e)];if(!_0x249963)return;let _0x291a40=await _0x25e883['getHistoryChangesets']({},{'unitId':_0x249963,'startRevision':_0x564b2f['startRev'],'endRevision':_0x564b2f[_0x1bb874(0x237)]});if(((_0x353cb2=_0x291a40[_0x1bb874(0x391)])==null?void 0x0:_0x353cb2[_0x1bb874(0x239)])===0x1&&_0x291a40['changesets']){let _0x2fa712=_0x291a40[_0x1bb874(0xba)][_0x1bb874(0x396)]()[_0x1bb874(0x84)](_0x25e6f5=>{const _0x1c6a47=_0x1bb874;var _0x37a8bd,_0x44d21d;let _0x50bdb6=(0x0,_0x3d0c58[_0x1c6a47(0x1e0)])(_0x25e6f5),_0xe0293a=_0x25e6f5['userID']||_0x50bdb6[_0x1c6a47(0x2e6)],_0x369dea=(_0x37a8bd=_0x291a40[_0x1c6a47(0x236)])==null?void 0x0:_0x37a8bd[_0xe0293a],_0x16f3e9=((_0x44d21d=_0x25e6f5[_0x1c6a47(0x224)])==null?void 0x0:_0x44d21d[_0x1c6a47(0x84)](_0x4fc4b9=>_0x4fc4b9['id']))||[];return{'id':_0xcf0c71+_0x1c6a47(0xe4)+_0x25e6f5[_0x1c6a47(0x11e)],'unitId':_0x25e6f5[_0x1c6a47(0x115)],'startRev':_0x25e6f5[_0x1c6a47(0x11e)],'endRev':_0x25e6f5[_0x1c6a47(0x11e)],'time':_0x25e6f5[_0x1c6a47(0x37b)]?_0x25e6f5[_0x1c6a47(0x37b)]*0x3e8:void 0x0,'user':(_0x369dea==null?void 0x0:_0x369dea[_0x1c6a47(0x1ba)])||'','users':[(_0x369dea==null?void 0x0:_0x369dea[_0x1c6a47(0x1ba)])||''],'commands':_0x16f3e9,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0xcf0c71,'additionalFields':_0x25e6f5[_0x1c6a47(0x28e)]};});_0x203e56(_0x1aee34=>new Map(_0x1aee34)[_0x1bb874(0x255)](_0xcf0c71,_0x2fa712)),_0x2fa712[_0x1bb874(0x2de)](_0x23aed6=>{const _0x217be4=_0x1bb874;_0x110aab[_0x217be4(0x85)](_0x23aed6);});for(let _0x1cd84c of _0x2fa712)await _0x2303ee['ensureVersion'](_0x1cd84c['id']);_0x2e0c74(_0x5de3ae=>new Set(_0x5de3ae)[_0x1bb874(0x9b)](_0xcf0c71));}}catch(_0x4e4e5f){console[_0x1bb874(0x391)](_0x1bb874(0x100),_0x4e4e5f);}finally{_0x3427cd(_0x26499b=>{let _0x5a9751=new Set(_0x26499b);return _0x5a9751['delete'](_0xcf0c71),_0x5a9751;});}},[_0xecf715,_0x3c1794,_0x110aab,_0x25e883,_0x2303ee]);return _0x22bb5d?(0x0,_0x46537a[_0x115f2c(0x2fa)])('div',{'ref':_0x5378ed,'className':_0x115f2c(0x1d9),'children':[_0x5e7f2d&&(0x0,_0x46537a[_0x115f2c(0x2fa)])(_0x115f2c(0x2c7),{'className':_0x115f2c(0x334),'children':[(0x0,_0x46537a['jsx'])(_0x115f2c(0x2c7),{'className':_0x115f2c(0x352),'children':(0x0,_0x46537a[_0x115f2c(0xde)])(_0x3faf60,{'value':_0x15f619,'onChange':_0x3920c1})}),(0x0,_0x46537a[_0x115f2c(0xde)])(_0x19476b[_0x115f2c(0x3c8)],{'align':_0x115f2c(0x1fa),'open':_0x50e907,'onOpenChange':_0x21e680=>{_0x3f0a7e(_0x21e680),_0x21e680&&_0x2f92c6(_0x6e5ccd);},'overlay':(0x0,_0x46537a[_0x115f2c(0x2fa)])(_0x115f2c(0x2c7),{'className':_0x115f2c(0x375),'children':[(0x0,_0x46537a[_0x115f2c(0xde)])('div',{'className':'univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','children':_0x206bdd['t'](_0x115f2c(0xf9))}),(0x0,_0x46537a['jsx'])(_0x115f2c(0x2c7),{'className':_0x115f2c(0x1b0)}),(0x0,_0x46537a[_0x115f2c(0xde)])(_0x115f2c(0x2c7),{'className':_0x115f2c(0x1dc),'children':_0x35f5af[_0x115f2c(0x84)](_0x5d3758=>{const _0x4028a9=_0x115f2c;let _0x1c5b64=_0x504f4f[_0x4028a9(0xaa)](_0x5d3758[_0x4028a9(0x382)]);return(0x0,_0x46537a[_0x4028a9(0x2fa)])(_0x4028a9(0x2c7),{'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 _0x2e5ee7=_0x4028a9;_0x2f92c6(_0x1c5b64?_0x504f4f[_0x2e5ee7(0xa2)](_0x4e6eff=>_0x4e6eff!==_0x5d3758[_0x2e5ee7(0x382)]):[..._0x504f4f,_0x5d3758[_0x2e5ee7(0x382)]]);},'children':[(0x0,_0x46537a[_0x4028a9(0xde)])(_0x19476b['Checkbox'],{'checked':_0x1c5b64}),(0x0,_0x46537a['jsx'])(_0x4028a9(0x11b),{'className':'univer-text-sm','children':_0x5d3758[_0x4028a9(0x223)]})]},_0x5d3758[_0x4028a9(0x382)]);})}),(0x0,_0x46537a[_0x115f2c(0xde)])(_0x115f2c(0x2c7),{'className':_0x115f2c(0x1b0)}),(0x0,_0x46537a['jsxs'])(_0x115f2c(0x2c7),{'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,_0x46537a['jsx'])(_0x19476b['Button'],{'size':_0x115f2c(0x109),'variant':'ghost','onClick':()=>{_0x2f92c6(_0x6e5ccd),_0x3f0a7e(!0x1);},'children':_0x206bdd['t'](_0x115f2c(0x1b1))}),(0x0,_0x46537a[_0x115f2c(0xde)])(_0x19476b['Button'],{'size':_0x115f2c(0x109),'onClick':()=>{const _0xb723c3=_0x115f2c;_0xb8d89c(_0x504f4f),_0x110aab[_0xb723c3(0x6e)]&&_0x110aab['loadInitialVersions'](_0x110aab[_0xb723c3(0x6e)],{'origin':_0x15f619,'userIds':_0x504f4f}),_0x3f0a7e(!0x1);},'children':_0x206bdd['t'](_0x115f2c(0xc8))})]})]}),'children':(0x0,_0x46537a[_0x115f2c(0xde)])(_0x19476b[_0x115f2c(0x27e)],{'className':_0x115f2c(0xee),'size':_0x115f2c(0x109),'variant':_0x115f2c(0x95),'children':(0x0,_0x46537a[_0x115f2c(0xde)])(_0x475a89,{'className':(0x0,_0x19476b[_0x115f2c(0x118)])('univer-size-4',{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0x6e5ccd[_0x115f2c(0x12d)]>0x0})})})})]}),(0x0,_0x46537a[_0x115f2c(0xde)])(_0x115f2c(0x2c7),{'className':'univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','children':_0x49eda6[_0x115f2c(0x84)]((_0x5e76ef,_0x267e67)=>(0x0,_0x46537a['jsxs'])(_0x18424f[_0x115f2c(0x387)],{'children':[(0x0,_0x46537a[_0x115f2c(0xde)])(_0x539750,{'date':_0x5e76ef[_0x115f2c(0x37d)],'startDate':_0x5e76ef['startDateString'],'endDate':_0x5e76ef[_0x115f2c(0x175)]}),_0x5e76ef[_0x115f2c(0x363)][_0x115f2c(0x84)]((_0x3e359f,_0x11bcfa)=>{const _0x2165a2=_0x115f2c;let _0x156ada=_0xecf715['has'](_0x3e359f['id']),_0x449a2c=_0x138e4a[_0x2165a2(0x6b)](_0x3e359f['id']),_0x1c9ff7=_0x3c1794[_0x2165a2(0x3b8)](_0x3e359f['id'])||[];return(0x0,_0x46537a['jsxs'])(_0x18424f['Fragment'],{'children':[(0x0,_0x46537a[_0x2165a2(0xde)])(_0xc3547,{'item':_0x3e359f,'onToggleExpand':_0x4c24c9,'isExpanded':_0x156ada,'isLoadingDetail':_0x449a2c}),_0x156ada&&_0x1c9ff7['map']((_0x2dc70a,_0x4f0885)=>(0x0,_0x46537a[_0x2165a2(0x2fa)])(_0x2165a2(0x2c7),{'className':_0x2165a2(0x1fc),'style':{'marginTop':'0px','marginBottom':_0x2165a2(0x2f1)},'children':[(0x0,_0x46537a[_0x2165a2(0x2fa)])(_0x2165a2(0x2c7),{'className':_0x2165a2(0x29f),'style':{'left':_0x2165a2(0x1dd),'width':_0x2165a2(0x2a5)},'children':[_0x4f0885<_0x1c9ff7[_0x2165a2(0x12d)]-0x1&&(0x0,_0x46537a[_0x2165a2(0xde)])(_0x2165a2(0x2c7),{'className':_0x2165a2(0x261),'style':{'left':'0','width':_0x2165a2(0x10a)}}),_0x4f0885===_0x1c9ff7[_0x2165a2(0x12d)]-0x1&&(0x0,_0x46537a[_0x2165a2(0xde)])(_0x2165a2(0x2c7),{'className':_0x2165a2(0x3c5),'style':{'left':'0','width':_0x2165a2(0x10a),'height':_0x2165a2(0x2b2)}}),(0x0,_0x46537a[_0x2165a2(0xde)])(_0x2165a2(0x2c7),{'className':_0x2165a2(0x10b),'style':{'left':'0','width':_0x2165a2(0x2a5),'height':_0x2165a2(0x10a),'transform':'translateY(-50%)'}})]}),(0x0,_0x46537a[_0x2165a2(0xde)])(_0xc3547,{'item':_0x2dc70a,'isDetail':!0x0})]},_0x267e67+'-'+_0x11bcfa+_0x2165a2(0xe4)+_0x4f0885))]},_0x267e67+'-'+_0x11bcfa);})]},_0x5e76ef[_0x115f2c(0x37d)]))})]}):(0x0,_0x46537a['jsx'])(_0x41444d,{});}function _0x41444d(){const _0x7a2db7=_0x222100;return(0x0,_0x46537a[_0x7a2db7(0xde)])(_0x7a2db7(0x2c7),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':(0x0,_0x46537a['jsx'])(_0x7a2db7(0x11b),{'className':_0x7a2db7(0x2b5),'children':(0x0,_0x46537a[_0x7a2db7(0xde)])(_0x56b58b,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function _0x539750(_0x4fcb8c){const _0x487697=_0x222100;let _0x229f2c=(0x0,_0x617684[_0x487697(0x318)])(_0x5d4152[_0x487697(0x3d0)]),{date:_0x225cee,startDate:_0x7d00b7=_0x225cee}=_0x4fcb8c;return(0x0,_0x46537a['jsx'])(_0x487697(0x2c7),{'className':_0x487697(0x1c0),'children':_0x1bfe85(_0x7d00b7,_0x229f2c['getCurrentLocale']())});}function _0xc3547(_0x20e053){const _0x3ee56b=_0x222100;let {item:_0x5b2523,onToggleExpand:_0xc19cd4,isExpanded:_0x7b8596,isLoadingDetail:_0x367fc0,isDetail:_0x3646a6}=_0x20e053,{time:_0x203892,user:_0x1da40b,startRevCreateTime:_0x42d554,endRevCreateTime:_0x268eb6,users:_0x7a6289}=_0x5b2523,_0xf1e9df=(0x0,_0x617684[_0x3ee56b(0x318)])(_0x19e6e4),_0x1b0f72=(0x0,_0x617684[_0x3ee56b(0x318)])(_0x2bd5e7),_0x504b12=(0x0,_0x617684[_0x3ee56b(0x31c)])(_0xf1e9df[_0x3ee56b(0x17f)],'',!0x0)===_0x5b2523['id'],_0x262a5b=_0xf1e9df['getCurrentUnitCurrentVersion']()===_0x5b2523[_0x3ee56b(0x237)],_0x137b3a=!_0x262a5b&&_0xf1e9df[_0x3ee56b(0x301)],_0x59f9b3=(0x0,_0x617684['useDependency'])(_0x5d4152[_0x3ee56b(0x3d0)]),_0x3ba717=_0x59f9b3[_0x3ee56b(0x125)](),_0x34516b=_0x3f54ee(_0x203892,_0x3ba717),_0xc2d951=_0x3f54ee(_0x42d554,_0x3ba717),_0x5e0ea1=_0x3f54ee(_0x268eb6,_0x3ba717),_0x76e1f8=_0x59f9b3['t'](_0x3ee56b(0x1d3)),_0x9445d4=_0x5b2523[_0x3ee56b(0x2b7)]!==_0x5b2523['endRev'],_0x3e7795=!!_0x5b2523[_0x3ee56b(0x28e)],_0x2945d8=(0x0,_0x18424f[_0x3ee56b(0x8e)])(()=>{const _0x1bdba0=_0x3ee56b;let _0x25768e=_0x1da40b||_0x59f9b3['t'](_0x1bdba0(0x2a9));return _0x7a6289&&_0x7a6289[_0x1bdba0(0xa2)](_0x170a1a=>_0x170a1a)[_0x1bdba0(0x12d)]>0x0&&(_0x25768e=_0x7a6289[_0x1bdba0(0xa2)](_0x3cf350=>_0x3cf350)[_0x1bdba0(0x33d)](',\x20')),_0x3e7795?''+_0x59f9b3['t']('editHistory.panel.aiAssistant')+(_0x25768e?'\x20('+_0x25768e+')':''):_0x25768e;},[_0x3e7795,_0x1da40b,_0x7a6289,_0x59f9b3]),_0x3da1e3=(0x0,_0x18424f[_0x3ee56b(0xce)])(async _0x23cade=>{const _0x58f527=_0x3ee56b;_0xf1e9df['loadingState']!=='loading'&&(_0xf1e9df[_0x58f527(0xdd)]=_0x23cade,_0x3646a6&&(await _0x1b0f72[_0x58f527(0x242)](_0x23cade),await _0xf1e9df[_0x58f527(0xbd)](_0x23cade)));},[_0xf1e9df,_0x1b0f72,_0x3646a6]),_0x28af2b=(0x0,_0x18424f['useCallback'])(_0x19b188=>{const _0x5d8f9b=_0x3ee56b;_0xf1e9df[_0x5d8f9b(0x338)](_0x19b188);},[_0xf1e9df]),_0x3e080a=(0x0,_0x18424f[_0x3ee56b(0xce)])(_0x46432b=>{const _0x1f8fad=_0x3ee56b;_0x46432b[_0x1f8fad(0x349)](),_0xc19cd4&&!_0x367fc0&&_0xc19cd4(_0x5b2523);},[_0xc19cd4,_0x5b2523,_0x367fc0]);return(0x0,_0x46537a['jsxs'])('div',{'className':(0x0,_0x19476b['clsx'])(_0x3ee56b(0x281),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x504b12,'univer-ml-6':_0x3646a6}),'onClick':()=>_0x3da1e3(_0x5b2523['id']),'children':[(0x0,_0x46537a[_0x3ee56b(0xde)])(_0x3ee56b(0x2c7),{'className':_0x3ee56b(0x1bb),'style':{'width':_0x3ee56b(0x134)},'children':_0x9445d4&&!_0x3646a6&&(0x0,_0x46537a[_0x3ee56b(0xde)])(_0x3ee56b(0x2c7),{'onClick':_0x3e080a,'className':'univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','children':_0x367fc0?(0x0,_0x46537a[_0x3ee56b(0xde)])(_0x56b58b,{'className':'univer-size-4\x20univer-animate-spin'}):_0x7b8596?(0x0,_0x46537a[_0x3ee56b(0xde)])(_0x22d4db,{'className':_0x3ee56b(0x308)}):(0x0,_0x46537a[_0x3ee56b(0xde)])(_0x161f26,{'className':'univer-size-8\x20univer-text-gray-400'})})}),(0x0,_0x46537a[_0x3ee56b(0x2fa)])('div',{'className':_0x3ee56b(0x19f),'children':[(0x0,_0x46537a[_0x3ee56b(0x2fa)])(_0x3ee56b(0x2c7),{'className':_0x3ee56b(0x2a4),'children':[(0x0,_0x46537a[_0x3ee56b(0x2fa)])(_0x3ee56b(0x2c7),{'className':_0x3ee56b(0xc0),'children':[_0x3e7795&&(0x0,_0x46537a[_0x3ee56b(0xde)])(_0x1c3e01,{'className':_0x3ee56b(0x18c)}),(0x0,_0x46537a['jsx'])(_0x3ee56b(0x11b),{'className':_0x3ee56b(0x350),'children':_0x2945d8}),(0x0,_0x46537a['jsx'])(_0x3ee56b(0x11b),{'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':_0x3646a6?_0x34516b[_0x3ee56b(0x3af)]:_0x42d554===_0x268eb6?_0xc2d951['time']:_0xc2d951['time']+_0x3ee56b(0xaf)+_0x5e0ea1[_0x3ee56b(0x3af)]}),_0x262a5b&&(0x0,_0x46537a[_0x3ee56b(0xde)])(_0x3ee56b(0x11b),{'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':_0x76e1f8})]}),(0x0,_0x46537a['jsx'])('div',{'children':_0x137b3a&&(0x0,_0x46537a[_0x3ee56b(0xde)])(_0x19476b[_0x3ee56b(0x29a)],{'title':_0x59f9b3['t'](_0x3ee56b(0x282)),'children':(0x0,_0x46537a[_0x3ee56b(0xde)])(_0x3ee56b(0x2c7),{'onClick':_0x509520=>{_0x509520['stopPropagation'](),_0x28af2b(_0x5b2523['id']);},'className':_0x3ee56b(0x330),'children':(0x0,_0x46537a[_0x3ee56b(0xde)])(_0x369fb1,{})})})})]}),(0x0,_0x46537a['jsx'])(_0x3ee56b(0x2c7),{'className':_0x3ee56b(0x351),'children':_0x305a5a(_0x5b2523,_0x59f9b3)})]})]});}let _0x1bc4ce=_0x222100(0x116),_0x538a79=class extends _0x5d4152[_0x222100(0x348)]{constructor(_0xf5096b,_0x311d52,_0x333c9d,_0x5aa7c2,_0x203dda){const _0x50715f=_0x222100;super(),this[_0x50715f(0x292)]=_0xf5096b,this[_0x50715f(0x3b9)]=_0x311d52,this['_localeService']=_0x333c9d,this[_0x50715f(0x21f)]=_0x5aa7c2,this[_0x50715f(0x36f)]=_0x203dda,_0x2adbdc(this,_0x50715f(0x123),null),this[_0x50715f(0x337)]();}[_0x222100(0x337)](){this['_initPanel']();}[_0x222100(0x285)](){const _0xc9dfb2=_0x222100;var _0x496162;if(this[_0xc9dfb2(0x123)])return;let _0x5e1bcd=((_0x496162=this['_configService'][_0xc9dfb2(0x229)]('edit-history-viewer.config'))==null?void 0x0:_0x496162['historyPanelComponentKey'])||_0x1bc4ce,_0x1506ca={'header':{'title':this[_0xc9dfb2(0xb5)]['t'](_0xc9dfb2(0x139))},'children':{'label':_0x5e1bcd},'onClose':()=>{const _0x29903d=_0xc9dfb2;this[_0x29903d(0x123)]=null,this[_0x29903d(0x21f)][_0x29903d(0x1f3)]=_0x29903d(0x3f2);}};this['_sidebarDisposable']=this[_0xc9dfb2(0x292)][_0xc9dfb2(0x155)]({..._0x1506ca});}[_0x222100(0x3ec)](){const _0x470017=_0x222100;this['disposeWithMe'](this[_0x470017(0x3b9)]['register'](_0x1bc4ce,_0x97f839)),this[_0x470017(0x328)](this[_0x470017(0x21f)][_0x470017(0xc1)][_0x470017(0x143)](_0x255376=>{_0x255376&&this['_openPanel']();}));}};_0x538a79=_0x44657c([_0x5ea03e(0x0,_0x617684[_0x222100(0x306)]),_0x5ea03e(0x1,(0x0,_0x5d4152['Inject'])(_0x617684[_0x222100(0x83)])),_0x5ea03e(0x2,(0x0,_0x5d4152[_0x222100(0x309)])(_0x5d4152['LocaleService'])),_0x5ea03e(0x3,(0x0,_0x5d4152['Inject'])(_0x19e6e4)),_0x5ea03e(0x4,_0x5d4152[_0x222100(0x82)])],_0x538a79);let _0x51f7e3=class extends _0x5d4152['Plugin']{constructor(_0x1f07da=_0x12c70b,_0x3a5029,_0xbb460b,_0x270fa0){const _0x48f2b6=_0x222100;super(),this[_0x48f2b6(0x2c8)]=_0x1f07da,this[_0x48f2b6(0x3cd)]=_0x3a5029,this[_0x48f2b6(0x390)]=_0xbb460b,this[_0x48f2b6(0x36f)]=_0x270fa0;let {..._0xa09d3d}=(0x0,_0x5d4152[_0x48f2b6(0x2ad)])({},_0x12c70b,this[_0x48f2b6(0x2c8)]);this['_configService'][_0x48f2b6(0x31f)](_0x19d71b,_0xa09d3d);}[_0x222100(0x1e3)](){const _0x165593=_0x222100;[[_0x19e6e4],[_0x1bbdfc],[_0x2bd5e7],[_0x421ed4],[_0x538a79],[_0x326f97],[_0x3d0c58[_0x165593(0x280)],{'useClass':_0x579c50[_0x165593(0x70)]}],[_0x617684[_0x165593(0x3bf)],{'useClass':_0x5ad812}],[_0x41d1bb[_0x165593(0x19d)],{'useClass':_0x579c50[_0x165593(0x1c9)]}]]['forEach'](_0x4713fe=>this[_0x165593(0x3cd)]['add'](_0x4713fe)),this[_0x165593(0x3cd)]['get'](_0x1bbdfc);}[_0x222100(0x311)](){const _0x24e6d4=_0x222100;[[_0xd3240]][_0x24e6d4(0x2de)](_0x3e66e9=>{const _0x3f381f=_0x24e6d4;this[_0x3f381f(0x328)](this['_renderManagerService'][_0x3f381f(0xed)](_0x5d4152[_0x3f381f(0x2b4)][_0x3f381f(0x128)],_0x3e66e9));}),this[_0x24e6d4(0x3cd)]['get'](_0x326f97),this['_injector'][_0x24e6d4(0x3b8)](_0x538a79);}[_0x222100(0xab)](){const _0x320b88=_0x222100;this[_0x320b88(0x3cd)]['get'](_0x2bd5e7);}};_0x2adbdc(_0x51f7e3,_0x222100(0x2d0),_0x222100(0x161)),_0x2adbdc(_0x51f7e3,_0x222100(0xd6),_0x4c4204),_0x2adbdc(_0x51f7e3,_0x222100(0x7d),_0xea9ff6),_0x51f7e3=_0x44657c([(0x0,_0x5d4152['DependentOn'])(_0x188389[_0x222100(0x279)],_0x245917[_0x222100(0x1ac)]),_0x5ea03e(0x1,(0x0,_0x5d4152[_0x222100(0x309)])(_0x5d4152[_0x222100(0x2c1)])),_0x5ea03e(0x2,_0x487591[_0x222100(0x399)]),_0x5ea03e(0x3,_0x5d4152[_0x222100(0x82)])],_0x51f7e3),Object[_0x222100(0x176)](_0x4f788d,_0x222100(0x3e6),{'enumerable':!0x0,'get':function(){return _0x19e6e4;}}),_0x4f788d[_0x222100(0x8b)]=_0x29cab4,_0x4f788d['HistoryOrigin']=_0x178260,Object['defineProperty'](_0x4f788d,'UniverEditHistoryViewerMobilePlugin',{'enumerable':!0x0,'get':function(){return _0x49fa6e;}}),Object[_0x222100(0x176)](_0x4f788d,_0x222100(0x194),{'enumerable':!0x0,'get':function(){return _0x51f7e3;}}),Object[_0x222100(0x176)](_0x4f788d,_0x222100(0x6c),{'enumerable':!0x0,'get':function(){return _0xd3240;}}),Object[_0x222100(0x176)](_0x4f788d,_0x222100(0x16e),{'enumerable':!0x0,'get':function(){return _0x2bd5e7;}});}));function _0x4c62(_0x457a52,_0x41f6d2){_0x457a52=_0x457a52-0x65;const _0x43424b=_0x4342();let _0x4c6273=_0x43424b[_0x457a52];return _0x4c6273;}function _0x4342(){const _0x2ea3a8=['deleteCF','editHistory.panel.revertConfirm','subscribeEvent','univer-animate-spin\x20univer-text-gray-400','UniverProEditHistoryViewer','_updateWorksheetVisibility','univer-flex-1\x20univer-overflow-y-auto','versions','UpdateValuePositionMutation','stroke','univer-h-12','clipPath','rgba(198,40,40,0.5)','SetSheetTableMutation','SetConditionalRuleMutation','rules','updateBorderRanges','getVersion','LocaleType','_configService','COLUMN','reduce','updatePivotSource','_renderDrawingHighlights','removeRow','univer-min-w-[240px]','deleteCellRanges','UniverProSheetsPivot','RemoveSheetSparklineMutation','_versionDiffService','chartModelId','createTime','getHours','dateString','endRevCreateTime','moveTo','updateValuePosition','_unitCurrentVersionMap','key','endRow','UniverDrawing','getDrawingByParam','setDefaultStyle','Fragment','editHistory.panel.filterAi','[HistoryFetchService]:\x20request\x20snapshot\x20error!','append','SetPivotFieldFormatMutation','loadingState$','groupIds','min','connectInjector','_renderManagerService','error','padStart','entries','flex','setRangeValues','reverse','cfId','setSparkline','IRenderManagerService','deleteBorderRanges','SetWorksheetNameMutation','ChartUpdateSourceConfigMutation','history-mask','setRowIsAutoHeight','linearGradient','fillStyle','ZH_CN','userSpaceOnUse','UpdateSheetsShapeDataMutation','RemoveColMutation','sheet','0\x200\x2016\x2017','RemoveSheetMutation','rxjs','SetWorksheetRightToLeftMutation','_isBlinkVisible','highlight','arrowRowRanges','rule','addPivotField','time','0.31','Unspecified','body','highlightColumn','AddWorksheetProtectionMutation','RemoveSheetsFilterMutation','_fetching$','UniverProSheetsChart','get','_componentManager','_workbookDataCache','ReorderRangeMutation','recoverTime','_loadParams','setTimeout','IDialogService','subUnitId','setFilter','save','subUnitIds','_createUnit','\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','SetSheetsFilterCriteriaMutation','loading','Dropdown','removePivotField','RenameSheet','SetRowVisibleMutation','AddRangeProtectionMutation','_injector','sheetId','getRelativeToViewportCoord','LocaleService','BehaviorSubject','Vector2','_highlightSecond','updateDrawings','InsertSheetMutation','_getLighterColor','columnData','-drawing-','Plugin','lineWidth','3136FZqZdr','setDV','url(#restore-icon_clip0_1247_2)','moveRows','restore','8056323eZwQZQ','UniverUi','rgb','hideDiffMarks','_hasMore','vertical','HistoryManagerService','xlink:href','forValue','drawingIds','confirm-revert-revision','SetRangeValuesMutation','_initPanel','_blinkIntervalTimer','0.22.0','subType','UniverSheetsDataValidation','className','exited','focusUnit','horizontal','unitId$','onPointerMove$','from','init','DeleteRangeProtectionMutation','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','use','hideCol','insertCol','editHistory.info.loading','renamePivotField','ITransformService','SheetPermissionInitController','_maskElement','editHistory.panel.cancel','1000','RemovePivotFieldMutation','chartId','has','VersionDiffRenderController','toISOString','unitId','historyAIassistantEnabled','SnapshotServerOverHTTPService','SetRowHiddenMutation','measureText','UniverProCollaborationClientUi','Subject','startRow','back-icon','setPivotSort','color','arc','renameSheet','MoveSheet','SheetCollabCursorShape','version','_openPanel$','_currentVersionDiff$','setNumfmt','_loadingState$','IConfigService','ComponentManager','map','registerDetailVersion','setProtection','RemoveRangeThemeMutation','insertDrawings','categorizeMutationRanges','24elKHFK','HistoryModeStatus','small','_drawVerticalArrow','useMemo','copySheet','#2793FF','ErrorCode','_historyContainerId','setRangeTheme','10UIJpal','ghost','hideRow','_renderCellRanges','SetFrozenMutation','assign','restore-icon','add','params','_drawingDiffs','show',',\x200.2)','range','AddSheetTableMutation','filter','type','SetSheetSparklineMutation','stop','ICellEditorManagerService','arrowColumnRanges','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','mask','includes','onSteady','getCurrentVersion','unmergeCells','editHistory.panel.confirm','\x20-\x20','forwardRef','editHistory.panel.currentUser','18.1758','_sparklineDataSourceModel','_getAPIPrefix','_localeService','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','showDiffMarks','SetWorksheetRowAutoHeightMutation','removeChart','changesets','display','_historyFetchService','triggerLoadSheet','_revertRevision$','blockMeta','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','openPanel$','\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','setValue','_stopBlinking','_name','combineLatest','setTableFilter','editHistory.panel.filterCollaboratorConfirm','viewportScrollX','columnHeaderHeight','Edit','rect','editHistory.header.back','useCallback','/creators','showText','DeleteConditionalRuleMutation','backgroundColor','disposeUnit','string','max','packageName','revertSheet','getMutationActionMap','setGridlinesColor','_yieldToMain','UniverCore','_messageService','currentVersion','jsx','ICommandService','direction','RANGE_TYPE','_creators$','drawingId','-detail-','targetRange','white','resolve','parse','scene','Info','_canRevert','IMessageService','registerRenderModule','univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','_drawingManagerService','getSheetId','0\x200\x2016\x2016','flat','setInterval','currentSkeleton$','UniverDataValidation','SetNumfmtMutation','setPivotPosition','_applyWorkbookData','editHistory.panel.filterCollaborator','SetPivotPositionMutation','more-down-icon','getMatrix','getSheets','1155255tZTGfi','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','Failed\x20to\x20fetch\x20version\x20details:','getUnitId','highlightSecond','_sheetPermissionInitController','WorkbookRenameSheetPermission','ROW','_commandService','HTTPService','edit-history-viewer.config','middle','1px','\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','SetPivotOptionMutation','editHistory.panel.listFetchError','MoveConditionalRuleMutation','style','displayName','_color','0.655','moveCols','toPrimitive','unitID','history-panel','insertBorder','clsx','colorChannel1','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','span','sparklines','SetWorksheetColWidthMutation','revision','parent','UniverProtocol','SetPivotCollapseMutation','fetchCreatorList','_sidebarDisposable','left','getCurrentLocale','AddWorksheetMergeMutation','toString','UNIVER_SHEET','2396244ErlKPk','center','SetWorksheetDefaultStyleMutation','getRange','length','updateBorder','Shape','_renderArrowRanges','RemoveDataValidationMutation','getAncestorScale','_handleOverlappingShapes','12px','getRuleById','_showText','UniverDesign','BuiltInUIPart','editHistory.panel.title','rgba(','SetWorksheetPermissionPointsMutation','FloatImg','origin','IPermissionService','#FFF','_drawHorizontalArrow','restore-icon_clip0_1247_2','VIRTUAL_VERSION_NOW','subscribe','_maskContainer','showCol','rowHeaderWidth','CreateUnitMutation','RemoveWorksheetMergeMutation','getUnitOnRev','\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','RemoveNumfmtMutation','startColumn','none','updateCellRanges','_versions$','deleteRangeProtection','MessageType','registerComponent','removeDV','setRowData','open','rgba(46,125,50,0.5)','hovered','removeEventListener','WorkbookHideSheetPermission','UniverProSheetsShape','commands','/universer-api/history','5936etFRMZ','cellValue','scroll','21DCwagb','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','DependentOn','AddSheetSparklineMutation','SetWorksheetProtectionMutation','moveCF','unknownUser','setPivotFilter','UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN','UniverSheetsTable','url(#paint0_linear_236_415)','startDateString','RangeMergeUtil','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','VersionDiffService','useState','getPivotTableRangeInfo','getSheetObject','clear','INSERT','function','endDateString','defineProperty','1QzHWaF','paint0_linear_236_415','_blinkTimer','UniverSheetsDrawing','closePath','insert','getInterceptPoints','updateShapeType','currentVersion$','removeShape','defs','historyPanelHidden','_arrowDiffs','transform','UpdatePivotTableSourceRangeMutation','univer-min-w-0\x20univer-flex-1','asObservable','isArray','1em','_initActiveSwitch','getRule','univer-size-4\x20univer-shrink-0','_dataValidationModel','_createMask','flatMap','_currentVersion$','_highlight','editHistory.header.revert','\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','UniverEditHistoryViewerPlugin','_direction',':\x20(','_cacheKey','_initMaskContainer','getSeconds','279824fTkvdI','_status$','rgba','IImageIoService','onPointerEnter$','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','_setFetching','creators$','setColCount','active','IUIPartsService','getViewport','zIndex','sourceRange','currentVersionDiff$','\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','start','setOffsetY','UniverNetworkPlugin','removeAll','createElement','CONTENT','\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.filterCollaboratorCancel','data','ToggleGridlinesMutation','updateTable','SetRangeProtectionMutation','FunnelIcon','DeleteWorksheetRangeThemeStyleMutation','\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','removeFilter','name','univer-flex\x20univer-items-center\x20univer-justify-center','parseInt','_updateVersions','startsWith','pipe','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','LoadingMultiIcon','getCurrentSkeleton','RangeProtectionRuleModel','split','amd','703818Gctyso','beginPath','IConfirmService','CollaborationImageIoService','setPivotCollapse','height','insertChart','setCF','width','_combineRanges','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','link','editHistory.action.etc','editHistory.panel.currentVersion','command','setPivotSubtotalType','some','transformMutations','0.2)','\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','SheetTableService','ChartUpdateConfigMutation','univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','30px','shapeId','delete','parseProtocolChangeset','fetchThroughInterceptors','deleteDrawings','onStarting','top','stringify','removeSheet','setPivotValueFilter','loadInitialVersions','ObjectMatrix','_diffRangesMap','_removeDiffMarks','MoveColsMutation','UniverIcon','_sheetsFilterService','isSheetHidden','generateDiffMarks','isTransformMutationsSuccess','_sheetsChartService','status','getDataRange','SetWorksheetRangeThemeStyleMutation','_members','Entered','addEventListener','SheetSkeletonManagerService','end','rev','univer-relative','WorkbookEditablePermission','status$','deleteBorder','_transformService','AddPivotFieldMutation','slice','_getSheetObject','HideSheet','useRef','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','now','_labelPosition','RemoveSheetsShapeMutation','_permissionService','setPivotOption','removeTable','triggerLoadVersions','Rect','blocks','_unitId$','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','_detailVersionsMap','insertRow','transparent','ranges','_setVersions','syncExecuteCommand','setRowHeight','showMask','AddPivotTableMutation','/list?','Module','MoveRangeMutation','_borderDiffs','_historyManagerService','Character','ReCalcSheetsFilterMutation','transformSnapshotToWorkbookData','label','mutations','setPivotFieldFormat','ruleIds','_findOverlappingShapes','editHistory.panel.revertConfirmText','getConfig','tag','find','loadHistoryCreatorList','scrollToViewportPos','updateFieldPosition','SetPivotSubtotalTypeMutation','VIEW_MAIN','addRangeProtection','getSelectedVersionIsCurrentVersion','workbook','hidden','getTableInfo','users','endRev','justifyContent','code','SetPivotSortMutation','UniverProCollaborationClient','_hovered','pivotTableId','SetSheetsFilterRangeMutation','font','creators','evented','ensureVersion','UniverNetwork','constructor','entities','SetPivotValueFilterMutation','_transformMutationByOrder','fetching$','CompressMutationService','UnitAction','_sheetTableService','block','date','UpdateDataValidationMutation','loading-multi-icon','removeNumfmt','insertCellRanges','editHistory.action.','HEADER','useEffect','set','rowData','InsertSheetsShapeMutation','addObjects','getDeserializedSheetBlock','default','moveRange','5455044niIxhY','concat','getCoordByCell','userId','permissionPointUpdate$','\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','updateChartSource','_renderBorderRanges','startRevCreateTime','symbol','0\x200\x2020\x2020','_confirmService','_drawTextBubble','endRevision','switchMap','trim','RemoveSheetsChartMutation','updatePermissionPoint','SheetsPivotTableConfigModel','SheetsFilterService','WorkbookMoveSheetPermission','hideMask','values','getMember','143NSEbtt','MoveRowsMutation','univerjs-icon\x20univerjs-icon-','loaded','RemovePivotTableMutation','UniverSheetsUIPlugin','MoreRightIcon','CopyWorksheetEndMutation','triggerDblclick','fetching','Button','iterator','ISnapshotServerService','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','editHistory.panel.revertDesc','loadingState','getSubUnitId','_openPanel','lineTo','SetDrawingApplyMutation','REMOVE','_diffs','path','getDialogs$','_dialogOptions$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','additionalFields','dispose','hasCommand','_uiPartsService','_sidebarService','setRowAutoHeight','button','onPointerLeave$','updateDrawing','rangeInfo','addProtection','allRanges','Tooltip','addTable','removePivotTable','IUniverInstanceService','univer-w-10','univer-absolute\x20univer-top-0\x20univer-h-full','_initRender','editHistory.action.revertSheetSuffix','_rangeProtectionRuleModel','_snapshotServerService','univer-flex\x20univer-min-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','10px','position','loadSheet','value','editHistory.panel.unknownUser','currentColor','labelPosition','addPivotTable','merge','SetSheetTableFilterMutation','insertSheet','replace','getFilterModel','50%','getHistoryChangesets','UniverInstanceType','univer-text-gray-500','InsertSheetsChartMutation','startRev','LRUMap','\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','getSparklineById','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','_sheetsPivotTableConfigModel','_updateDiffMarks','_httpService','revertRevision$','UniverSheets','Injector','_univerInstanceService','_getActiveSubUnitId','showRow','RestoreIcon','rgba(21,101,192,0.5)','div','_config','getVersions','children','7.08645','addSparkline','_registerHeader','defIds','SetWorksheetRowCountMutation','pluginName','_startBlinking','clearTimeout','setFilterCriteria','hide','bottom','FromArray','update','setRightToLeft','User','SetPivotFilterMutation','updateShapeData','setColData','AddConditionalRuleMutation','forEach','lastLabel','InsertRowMutation','editSheet','substring','deleteWorksheetRangeTheme','_scrollToShape','SetColDataMutation','userID','setState','setTabColor','prototype','univer-text-2xl\x20dark:!univer-text-white','recalcFilter','UpdatePivotFieldSourceInfoMutation','setColWidth','RenamePivotFieldMutation','sparklineConfigMap','ruleId','0px','toStringTag','SetWorksheetActiveOperation','unionPivotViewRange','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','_cellEditorManagerService','row','setShapeProps','_context','jsxs','current','SetWorksheetHideMutation','primary','abs','AddDataValidationMutation','fill','canRevert','...','evenodd','executeCommand','clearInterval','ISidebarService','UniverSheetsConditionalFormatting','univer-size-8\x20univer-text-gray-400','Inject','interceptor','call','svg','_conditionalFormattingRuleModel','SetRangeThemeMutation','userIds','action','onRendered','push','loadMoreVersions','addRangeTheme','keys','editHistory.panel.filterUser','attrs','useDependency','getMinutes','versions$','univer-relative\x20univer-h-8','useObservable','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','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','setConfig','http://www.w3.org/2000/svg','close','_categorizeMutationRanges','UpdateFieldPositionMutation','renameWorkbook','state$','_compressMutationService','getSelectedVersionCanRevert','disposeWithMe','decorate','editHistory.panel.filterAll','column','arrowRow','React','tableId','UniverSheetsFilter','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','UniverSheetsUi','then','next','\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','SetWorksheetRowIsAutoHeightMutation','_lastPointer','_init','triggerRevert','deleteProtection','absolute','getUnit','setPermissionPoints','join','_lastLabel','reorderRange','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','makeDirty','arrowColumn','100%','DeleteSheetTableMutation','removeCol','more-right-icon','getCurrentUnitForType','Disposable','stopPropagation','_sheetSkeletonManagerService','mergeCells','DrawingApplyType','RemoveRowMutation','viewportScrollY','Error','\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','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','univer-flex-1','\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','url(#$1','endColumn','Comment','AddRangeThemeMutation','idSuffix','SetColVisibleMutation','setRangeProtection','object'];_0x4342=function(){return _0x2ea3a8;};return _0x4342();}
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;}});}));
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- (function(_0x2fce95,_0x2824de){const _0x12c8b9=_0x2278,_0x5ddca0=_0x2fce95();while(!![]){try{const _0x3758e2=parseInt(_0x12c8b9(0x289))/0x1*(parseInt(_0x12c8b9(0x1c0))/0x2)+parseInt(_0x12c8b9(0x1c6))/0x3+-parseInt(_0x12c8b9(0x29d))/0x4+-parseInt(_0x12c8b9(0x2f7))/0x5+parseInt(_0x12c8b9(0x2c7))/0x6+-parseInt(_0x12c8b9(0x1d6))/0x7*(-parseInt(_0x12c8b9(0x228))/0x8)+parseInt(_0x12c8b9(0x2c5))/0x9*(-parseInt(_0x12c8b9(0x26a))/0xa);if(_0x3758e2===_0x2824de)break;else _0x5ddca0['push'](_0x5ddca0['shift']());}catch(_0xaa994f){_0x5ddca0['push'](_0x5ddca0['shift']());}}}(_0x14b9,0xe30a6),function(_0x47d3ab,_0x348833){const _0x4d0913=_0x2278;typeof exports=='object'&&typeof module<'u'?_0x348833(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=='function'&&define[_0x4d0913(0x286)]?define('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'['split']('.'),_0x348833):(_0x47d3ab=typeof globalThis<'u'?globalThis:_0x47d3ab||self,_0x348833(_0x47d3ab[_0x4d0913(0x2cf)]={},_0x47d3ab[_0x4d0913(0x279)],_0x47d3ab[_0x4d0913(0x29f)],_0x47d3ab[_0x4d0913(0x237)],_0x47d3ab[_0x4d0913(0x320)],_0x47d3ab['UniverProEditHistoryViewer'],_0x47d3ab[_0x4d0913(0x204)],_0x47d3ab[_0x4d0913(0x260)],_0x47d3ab[_0x4d0913(0x2cb)],_0x47d3ab[_0x4d0913(0x1d7)],_0x47d3ab[_0x4d0913(0x2b2)],_0x47d3ab[_0x4d0913(0x21a)],_0x47d3ab[_0x4d0913(0x2e3)],_0x47d3ab[_0x4d0913(0x2e7)],_0x47d3ab['UniverDataValidation'],_0x47d3ab[_0x4d0913(0x2fe)],_0x47d3ab[_0x4d0913(0x21c)],_0x47d3ab[_0x4d0913(0x325)],_0x47d3ab[_0x4d0913(0x257)],_0x47d3ab[_0x4d0913(0x31a)],_0x47d3ab['UniverEngineFormula'],_0x47d3ab[_0x4d0913(0x291)],_0x47d3ab[_0x4d0913(0x2d2)],_0x47d3ab[_0x4d0913(0x20a)],_0x47d3ab[_0x4d0913(0x1e2)],_0x47d3ab[_0x4d0913(0x2c8)],_0x47d3ab[_0x4d0913(0x296)],_0x47d3ab[_0x4d0913(0x277)],_0x47d3ab[_0x4d0913(0x1dd)],_0x47d3ab[_0x4d0913(0x2a3)],_0x47d3ab[_0x4d0913(0x2b1)],_0x47d3ab[_0x4d0913(0x2d7)],_0x47d3ab[_0x4d0913(0x2b3)],_0x47d3ab['UniverSheetsFormulaUi'],_0x47d3ab[_0x4d0913(0x209)],_0x47d3ab[_0x4d0913(0x2c4)],_0x47d3ab['UniverSheetsNumfmt'],_0x47d3ab['UniverSheetsTable'],_0x47d3ab[_0x4d0913(0x22d)],_0x47d3ab[_0x4d0913(0x305)],_0x47d3ab['rxjs'],_0x47d3ab[_0x4d0913(0x2c1)],_0x47d3ab['React']));}(this,function(_0xa48dbc,_0x3f4cab,_0x2b467b,_0x2bd1a1,_0x53b8aa,_0x28bd67,_0x190ca4,_0x5818d3,_0x13771e,_0x539079,_0xf52b9,_0x5bd34f,_0x31262d,_0x293eae,_0xb20be2,_0x2a3bf8,_0x46b2a2,_0x190915,_0x39b342,_0x515c86,_0x3fcf1a,_0x4390d0,_0x2d814a,_0x1af0e0,_0x4eefb3,_0x48fee5,_0x5c2668,_0x2fb70a,_0x33f376,_0x1a796c,_0xc707e7,_0x49ebb5,_0x32c096,_0x1d9c10,_0x164292,_0xfaf631,_0x59691a,_0x45aba1,_0x348381,_0x33b4c9,_0x55fd55,_0x2f1402,_0x1503a7){const _0x264da9=_0x2278;Object[_0x264da9(0x2ab)](_0xa48dbc,Symbol[_0x264da9(0x27a)],{'value':'Module'});let _0x4d3e2d=_0x264da9(0x226);Symbol(_0x4d3e2d);let _0x3d6cb4={};function _0x341d4f(_0x427da0){'@babel/helpers - typeof';const _0x1d1f94=_0x264da9;return _0x341d4f=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x1d1f94(0x2d3)?function(_0x11ce32){return typeof _0x11ce32;}:function(_0x3e01ea){const _0xfd57e1=_0x1d1f94;return _0x3e01ea&&typeof Symbol=='function'&&_0x3e01ea[_0xfd57e1(0x27c)]===Symbol&&_0x3e01ea!==Symbol[_0xfd57e1(0x1e9)]?'symbol':typeof _0x3e01ea;},_0x341d4f(_0x427da0);}function _0x54f4b8(_0x13c81b,_0x5124b6){const _0x1a95e6=_0x264da9;if(_0x341d4f(_0x13c81b)!=_0x1a95e6(0x263)||!_0x13c81b)return _0x13c81b;var _0x1ad0b3=_0x13c81b[Symbol[_0x1a95e6(0x259)]];if(_0x1ad0b3!==void 0x0){var _0x462f0f=_0x1ad0b3[_0x1a95e6(0x1e6)](_0x13c81b,_0x5124b6||_0x1a95e6(0x21f));if(_0x341d4f(_0x462f0f)!=_0x1a95e6(0x263))return _0x462f0f;throw TypeError(_0x1a95e6(0x225));}return(_0x5124b6==='string'?String:Number)(_0x13c81b);}function _0x372582(_0x50ce59){const _0x480457=_0x264da9;var _0x36d39f=_0x54f4b8(_0x50ce59,_0x480457(0x2db));return _0x341d4f(_0x36d39f)==_0x480457(0x2d3)?_0x36d39f:_0x36d39f+'';}function _0x878f36(_0x48b4c1,_0x221f18,_0x3c7d30){return(_0x221f18=_0x372582(_0x221f18))in _0x48b4c1?Object['defineProperty'](_0x48b4c1,_0x221f18,{'value':_0x3c7d30,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x48b4c1[_0x221f18]=_0x3c7d30,_0x48b4c1;}function _0x4f392e(_0x58bd52,_0x1d04ef){return function(_0x53984a,_0x2c1032){_0x1d04ef(_0x53984a,_0x2c1032,_0x58bd52);};}function _0x2e7be4(_0x383742,_0x1f6475,_0x5d81a8,_0x2d5bb4){const _0x1a2eaf=_0x264da9;var _0x1830dc=arguments[_0x1a2eaf(0x2bf)],_0x2e6172=_0x1830dc<0x3?_0x1f6475:_0x2d5bb4===null?_0x2d5bb4=Object[_0x1a2eaf(0x1ef)](_0x1f6475,_0x5d81a8):_0x2d5bb4,_0x1058f9;if(typeof Reflect==_0x1a2eaf(0x263)&&typeof Reflect[_0x1a2eaf(0x1e0)]==_0x1a2eaf(0x252))_0x2e6172=Reflect[_0x1a2eaf(0x1e0)](_0x383742,_0x1f6475,_0x5d81a8,_0x2d5bb4);else{for(var _0x1acbb2=_0x383742['length']-0x1;_0x1acbb2>=0x0;_0x1acbb2--)(_0x1058f9=_0x383742[_0x1acbb2])&&(_0x2e6172=(_0x1830dc<0x3?_0x1058f9(_0x2e6172):_0x1830dc>0x3?_0x1058f9(_0x1f6475,_0x5d81a8,_0x2e6172):_0x1058f9(_0x1f6475,_0x5d81a8))||_0x2e6172);}return _0x1830dc>0x3&&_0x2e6172&&Object['defineProperty'](_0x1f6475,_0x5d81a8,_0x2e6172),_0x2e6172;}let _0x4032e2=_0x264da9(0x26d),_0x18670f=_0x264da9(0x314),_0x2670c3=class extends _0x3f4cab['Disposable']{constructor(_0x4ca6cd,_0x5d9cc7,_0x6ea628,_0x28a954,_0x27fb5b,_0x884e18,_0xc1f2f6,_0x45fb87,_0x4fc94d,_0x38ec36){const _0x10eddc=_0x264da9;super(),this['_localeService']=_0x4ca6cd,this[_0x10eddc(0x2d5)]=_0x5d9cc7,this[_0x10eddc(0x224)]=_0x6ea628,this[_0x10eddc(0x2b7)]=_0x28a954,this[_0x10eddc(0x27e)]=_0x27fb5b,this[_0x10eddc(0x1e8)]=_0x884e18,this[_0x10eddc(0x2a0)]=_0xc1f2f6,this[_0x10eddc(0x24d)]=_0x45fb87,this[_0x10eddc(0x20f)]=_0x4fc94d,this['_themeService']=_0x38ec36,_0x878f36(this,_0x10eddc(0x1d8),new _0x55fd55['BehaviorSubject'](null)),_0x878f36(this,_0x10eddc(0x315),this[_0x10eddc(0x1d8)][_0x10eddc(0x301)]()),_0x878f36(this,'_disposableCollection',new _0x3f4cab[(_0x10eddc(0x242))]()),_0x878f36(this,'_pluginMap',new Map()),_0x878f36(this,'_internalWebWorker',null),this['_init']();}get[_0x264da9(0x20b)](){const _0x4ae604=_0x264da9;return this[_0x4ae604(0x1d8)][_0x4ae604(0x294)];}[_0x264da9(0x1fe)](){const _0x4fdd0c=_0x264da9;this['_initContainer'](),this[_0x4fdd0c(0x2bc)]();}[_0x264da9(0x25f)](){const _0x27ac73=_0x264da9;var _0x2cdc46;let _0x20acb7=(_0x2cdc46=this[_0x27ac73(0x224)][_0x27ac73(0x2f1)]('UNIVER_CONTAINER_ID'))==null?_0x27ac73(0x276):_0x2cdc46,_0xbb1365=document[_0x27ac73(0x2fa)](_0x20acb7);if(!_0xbb1365)return;let _0x30ff0d=document[_0x27ac73(0x28e)](_0x27ac73(0x267));_0x30ff0d['id']=_0x18670f,_0x30ff0d['dataset'][_0x27ac73(0x308)]=_0x27ac73(0x266),_0x30ff0d[_0x27ac73(0x249)][_0x27ac73(0x1fc)]=_0x27ac73(0x2e0),_0x30ff0d[_0x27ac73(0x249)][_0x27ac73(0x297)]='0',_0x30ff0d['style'][_0x27ac73(0x29b)]='0',_0x30ff0d[_0x27ac73(0x249)][_0x27ac73(0x311)]=_0x27ac73(0x1c8),_0x30ff0d[_0x27ac73(0x249)][_0x27ac73(0x27b)]=_0x27ac73(0x1c8),_0x30ff0d['style']['zIndex']='49',_0x30ff0d[_0x27ac73(0x249)][_0x27ac73(0x216)]=_0x27ac73(0x223),_0xbb1365['appendChild'](_0x30ff0d);}['_initPlugins'](){const _0x3af4e3=_0x264da9;[[_0x4390d0[_0x3af4e3(0x268)]],[_0x33b4c9[_0x3af4e3(0x222)],{'container':_0x18670f,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x33b4c9[_0x3af4e3(0x1fa)],null]]}],[_0x2d814a[_0x3af4e3(0x285)]],[_0x39b342[_0x3af4e3(0x241)],{'override':[[_0x39b342[_0x3af4e3(0x327)],null]]}],[_0x46b2a2[_0x3af4e3(0x20c)],{'hasScroll':!0x1}],[_0x190915['UniverDocsUIPlugin']],[_0x59691a['UniverSheetsNumfmtPlugin']],[_0x2b467b[_0x3af4e3(0x227)],{'notExecuteFormula':!0x0}],[_0x348381[_0x3af4e3(0x214)]],[_0x32c096[_0x3af4e3(0x316)]],[_0x1d9c10[_0x3af4e3(0x251)]],[_0x2bd1a1[_0x3af4e3(0x300)]],[_0xc707e7[_0x3af4e3(0x2c2)]],[_0x49ebb5[_0x3af4e3(0x31b)]],[_0x4eefb3[_0x3af4e3(0x2f0)]],[_0x48fee5[_0x3af4e3(0x2fb)]],[_0x164292[_0x3af4e3(0x220)]],[_0xfaf631[_0x3af4e3(0x2b4)]],[_0xb20be2['UniverDataValidationPlugin']],[_0x5c2668['UniverSheetsDataValidationPlugin']],[_0x2fb70a[_0x3af4e3(0x218)]],[_0x3fcf1a[_0x3af4e3(0x2d8)],{'notExecuteFormula':!0x0}],[_0x515c86[_0x3af4e3(0x2de)]],[_0x33f376[_0x3af4e3(0x25c)]],[_0x1a796c[_0x3af4e3(0x2b6)]],[_0x31262d[_0x3af4e3(0x23c)]],[_0x293eae[_0x3af4e3(0x230)]],[_0x5818d3[_0x3af4e3(0x30f)]],[_0x13771e['UniverSheetsChartUIPlugin']],[_0xf52b9['UniverSheetsShapePlugin']],[_0x5bd34f[_0x3af4e3(0x1ee)]],[_0x539079[_0x3af4e3(0x270)],{'notExecuteFormula':!0x0}],[_0x45aba1['UniverSheetsTablePlugin']]][_0x3af4e3(0x312)](([_0x1a975f,_0x579296])=>this['registerPlugin'](_0x1a975f,_0x579296));}['dispose'](){const _0x117589=_0x264da9;super[_0x117589(0x23d)](),this[_0x117589(0x317)](),this[_0x117589(0x202)]['clear']();}[_0x264da9(0x24a)](_0x291cc6,_0x2ecf89,_0x598d16){const _0x207f44=_0x264da9;if(this[_0x207f44(0x202)][_0x207f44(0x2e8)](_0x291cc6[_0x207f44(0x274)])&&!_0x598d16)throw Error(_0x207f44(0x2c9)+_0x291cc6[_0x207f44(0x274)]+'\x20has\x20been\x20registered.');this['_pluginMap'][_0x207f44(0x1e3)](_0x291cc6['pluginName'],[_0x291cc6,_0x2ecf89]);}[_0x264da9(0x2ad)](){const _0x174902=_0x264da9;return Array[_0x174902(0x2a5)](this[_0x174902(0x202)][_0x174902(0x1e4)]());}[_0x264da9(0x256)](_0xfd626e,_0x12577a){const _0x4fe15e=_0x264da9;let _0x378f69=document[_0x4fe15e(0x2fa)](_0x18670f);_0x378f69&&(_0x378f69[_0x4fe15e(0x249)][_0x4fe15e(0x216)]=_0x4fe15e(0x2ef),this[_0x4fe15e(0x271)](_0xfd626e,_0x18670f,_0x12577a));}['unMountHistoryContent'](){const _0x2afb84=_0x264da9;var _0x1ae2a1;this['_disposableCollection'][_0x2afb84(0x23d)](),(_0x1ae2a1=this[_0x2afb84(0x20b)])==null||_0x1ae2a1[_0x2afb84(0x23d)](),this[_0x2afb84(0x1d8)]['next'](null);let _0x1767e8=document[_0x2afb84(0x2fa)](_0x18670f);_0x1767e8&&(_0x1767e8[_0x2afb84(0x249)][_0x2afb84(0x216)]=_0x2afb84(0x223),this[_0x2afb84(0x2ff)]&&(this['_internalWebWorker']['terminate'](),this[_0x2afb84(0x2ff)]=null));}[_0x264da9(0x271)](_0x4bb495,_0x5522a6,_0x24fe8a){const _0x5f4ece=_0x264da9;var _0x457bc8,_0x1e9277,_0x170976,_0x4544b,_0x5dd2c2;if(this[_0x5f4ece(0x20b)])return;let _0x2a19eb=new _0x3f4cab[(_0x5f4ece(0x321))]({'locales':{[this['_localeService']['getCurrentLocale']()]:this['_localeService'][_0x5f4ece(0x2f9)]()},'override':[[_0x3f4cab[_0x5f4ece(0x1f4)],{'useClass':_0x53b8aa['AuthzIoHttpService']}]]}),_0x5e7d82=_0x2a19eb[_0x5f4ece(0x1df)]();this[_0x5f4ece(0x205)](this['_themeService']['darkMode$']['subscribe'](_0x20eec3=>{const _0x1ad4ac=_0x5f4ece;_0x5e7d82[_0x1ad4ac(0x2cc)](_0x3f4cab[_0x1ad4ac(0x1c2)])['setDarkMode'](_0x20eec3);})),this[_0x5f4ece(0x205)](this[_0x5f4ece(0x319)][_0x5f4ece(0x1fd)][_0x5f4ece(0x329)](_0xfa7c41=>{const _0x281543=_0x5f4ece;_0x5e7d82[_0x281543(0x2cc)](_0x3f4cab[_0x281543(0x1c2)])[_0x281543(0x1ec)](_0xfa7c41);})),_0x5e7d82[_0x5f4ece(0x2cc)](_0x3f4cab['LocaleService'])[_0x5f4ece(0x261)](this['_localeService']['getCurrentLocale']()),_0x5e7d82[_0x5f4ece(0x2cc)](_0x3f4cab['IConfigService'])['setConfig'](_0x53b8aa['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x5f4ece(0x224)][_0x5f4ece(0x2f1)](_0x53b8aa[_0x5f4ece(0x1f0)]));let _0x2a2f1b=this[_0x5f4ece(0x224)][_0x5f4ece(0x2f1)](_0x190ca4[_0x5f4ece(0x200)]);_0x2a2f1b&&_0x2a19eb['registerPlugin'](_0x190ca4[_0x5f4ece(0x2bb)],{'license':_0x2a2f1b['ls']});let _0x1cf46b=(_0x457bc8=this[_0x5f4ece(0x224)][_0x5f4ece(0x2f1)](_0x5f4ece(0x226)))==null?void 0x0:_0x457bc8['workerURL'],_0x1d11de=!!_0x1cf46b;_0x1d11de&&(this[_0x5f4ece(0x2ff)]=_0x1cf46b instanceof Worker?_0x1cf46b:null,_0x2a19eb['registerPlugin'](_0x1af0e0['UniverRPCMainThreadPlugin'],{'workerURL':_0x1cf46b})),this[_0x5f4ece(0x202)][_0x5f4ece(0x312)](([_0x2ed00e,_0x550266])=>{const _0x14ceea=_0x5f4ece;_0x2a19eb[_0x14ceea(0x24a)](_0x2ed00e,_0x550266);}),_0x2a19eb[_0x5f4ece(0x24a)](_0x28bd67[_0x5f4ece(0x269)],{'historyListServerUrl':(_0x1e9277=this[_0x5f4ece(0x224)]['getConfig'](_0x5f4ece(0x226)))==null?void 0x0:_0x1e9277[_0x5f4ece(0x1ce)],'historyPanelComponentKey':(_0x170976=this[_0x5f4ece(0x224)][_0x5f4ece(0x2f1)](_0x5f4ece(0x226)))==null?void 0x0:_0x170976[_0x5f4ece(0x32c)],'historyPanelHidden':(_0x4544b=this[_0x5f4ece(0x224)]['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x4544b[_0x5f4ece(0x248)],'historyAIassistantEnabled':(_0x5dd2c2=this['_configService'][_0x5f4ece(0x2f1)]('edit-history-loader.config'))==null?void 0x0:_0x5dd2c2[_0x5f4ece(0x283)]}),_0x5e7d82[_0x5f4ece(0x323)](_0x72176=>{const _0x501760=_0x5f4ece;this[_0x501760(0x22c)](_0x72176,_0x4bb495);}),this['_historyUniver$']['next'](_0x2a19eb);let _0x37cdf6=_0x5e7d82[_0x5f4ece(0x2cc)](_0x28bd67[_0x5f4ece(0x2ea)]),_0x30399d=this[_0x5f4ece(0x273)](_0x4bb495),_0x3777aa=()=>{const _0x576fbb=_0x5f4ece;_0x24fe8a?_0x37cdf6[_0x576fbb(0x27f)](_0x4bb495,_0x5522a6,_0x30399d,_0x24fe8a):_0x37cdf6['triggerLoadVersions'](_0x4bb495,_0x5522a6,_0x30399d);};if(this[_0x5f4ece(0x27e)][_0x5f4ece(0x28c)]({'content':this[_0x5f4ece(0x2e4)]['t'](_0x5f4ece(0x278)),'type':_0x2a3bf8[_0x5f4ece(0x31c)]['Loading']}),_0x1d11de)try{_0x5e7d82[_0x5f4ece(0x2cc)](_0x1af0e0[_0x5f4ece(0x295)])[_0x5f4ece(0x29c)]()[_0x5f4ece(0x21d)](()=>{_0x3777aa();});}catch{_0x3777aa();}else _0x3777aa();}[_0x264da9(0x22c)](_0x470a3a,_0x58d570){const _0x7f388e=_0x264da9;let _0x3684ac=_0x470a3a[_0x7f388e(0x2cc)](_0x28bd67[_0x7f388e(0x2ea)]);this[_0x7f388e(0x2b8)][_0x7f388e(0x1fb)](_0x3684ac[_0x7f388e(0x221)]['subscribe'](_0x2208b4=>{const _0x3ad8a8=_0x7f388e;switch(_0x2208b4){case _0x28bd67[_0x3ad8a8(0x239)][_0x3ad8a8(0x2a2)]:this['_dialogService']['closeAll'](),this[_0x3ad8a8(0x20f)][_0x3ad8a8(0x2fc)]();break;case _0x28bd67[_0x3ad8a8(0x239)]['Exited']:this[_0x3ad8a8(0x2b7)][_0x3ad8a8(0x229)](_0x38b9e3['id']),this['unMountHistoryContent']();break;case _0x28bd67[_0x3ad8a8(0x239)][_0x3ad8a8(0x282)]:this[_0x3ad8a8(0x317)](),this[_0x3ad8a8(0x27e)]['show']({'content':this[_0x3ad8a8(0x2e4)]['t'](_0x3ad8a8(0x322)),'type':_0x2a3bf8['MessageType'][_0x3ad8a8(0x282)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x7f388e(0x1fb)](_0x3684ac[_0x7f388e(0x254)][_0x7f388e(0x329)](async _0x57a2d9=>{const _0x4852d0=_0x7f388e;_0x57a2d9&&this[_0x4852d0(0x2b7)][_0x4852d0(0x229)](_0x2bd1a1[_0x4852d0(0x275)]['id'],{'unitId':_0x58d570,'revision':_0x57a2d9});}));}[_0x264da9(0x273)](_0x511f2d){const _0x360715=_0x264da9;let _0x2d0f52=this['_univerInstanceService'][_0x360715(0x318)](_0x511f2d)['getSheets']()[_0x360715(0x272)](_0x39e0db=>_0x39e0db['getSheetId']()),_0x2e3a26=new _0x2b467b[(_0x360715(0x2f5))](_0x511f2d)['id'],_0x464778=_0x2d0f52[_0x360715(0x272)](_0x435dd1=>new _0x2b467b['WorksheetEditPermission'](_0x511f2d,_0x435dd1)['id']),_0x12294b=_0x2d0f52[_0x360715(0x272)](_0x443391=>this[_0x360715(0x2a0)][_0x360715(0x231)](_0x511f2d,_0x443391)[_0x360715(0x272)](_0x2bacb6=>new _0x2b467b[(_0x360715(0x1f7))](_0x511f2d,_0x443391,_0x2bacb6[_0x360715(0x2ed)])['id']))['flat'](),_0x4d2752=new _0x2b467b[(_0x360715(0x1be))](_0x511f2d)['id'];return this[_0x360715(0x1e8)][_0x360715(0x2eb)]([_0x2e3a26,..._0x464778,..._0x12294b,_0x4d2752])[_0x360715(0x26b)](_0x34b469=>!!_0x34b469[_0x360715(0x294)]);}};_0x2670c3=_0x2e7be4([_0x4f392e(0x0,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x3f4cab[_0x264da9(0x2be)])),_0x4f392e(0x1,_0x3f4cab[_0x264da9(0x309)]),_0x4f392e(0x2,_0x3f4cab[_0x264da9(0x2aa)]),_0x4f392e(0x3,_0x3f4cab[_0x264da9(0x1da)]),_0x4f392e(0x4,_0x33b4c9['IMessageService']),_0x4f392e(0x5,_0x3f4cab['IPermissionService']),_0x4f392e(0x6,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x2b467b[_0x264da9(0x1ea)])),_0x4f392e(0x7,(0x0,_0x3f4cab['Inject'])(_0x33b4c9[_0x264da9(0x1fa)])),_0x4f392e(0x8,(0x0,_0x3f4cab['Inject'])(_0x33b4c9[_0x264da9(0x215)])),_0x4f392e(0x9,(0x0,_0x3f4cab['Inject'])(_0x3f4cab[_0x264da9(0x1c2)]))],_0x2670c3);let _0x27c538={'id':_0x264da9(0x1c7),'type':_0x3f4cab['CommandType'][_0x264da9(0x2ac)],'handler':_0x583e64=>{const _0x10dff0=_0x264da9;let _0x2b1d4b=_0x583e64['get'](_0x2670c3),{unitId:_0x2a4092}=(0x0,_0x2b467b[_0x10dff0(0x303)])(_0x583e64['get'](_0x3f4cab['IUniverInstanceService']))||{};return _0x2a4092?(_0x2b1d4b['mountHistoryContent'](_0x2a4092),!0x0):!0x1;}},_0x38b9e3={'id':_0x264da9(0x1f6),'type':_0x3f4cab[_0x264da9(0x232)][_0x264da9(0x2ac)],'handler':()=>!0x0};var _0x85a720=_0x264da9(0x2da),_0x4fb64e=_0x264da9(0x2a1);function _0x507fa9({ref:_0x562edd,..._0x1593fc}){const _0x4dc7cc=_0x264da9;let {icon:_0x208403,id:_0x19f23e,className:_0x278e4d,extend:_0x151d66,..._0xae5757}=_0x1593fc,_0xdaaa1=('univerjs-icon\x20univerjs-icon-'+_0x19f23e+'\x20'+(_0x278e4d||''))[_0x4dc7cc(0x2d4)](),_0x893c71=(0x0,_0x1503a7['useRef'])('_'+_0x27abfa());return _0x11126f(_0x208403,''+_0x19f23e,{'defIds':_0x208403[_0x4dc7cc(0x217)],'idSuffix':_0x893c71[_0x4dc7cc(0x1d4)]},{'ref':_0x562edd,'className':_0xdaaa1,..._0xae5757},_0x151d66);}function _0x11126f(_0x3368b6,_0x1900fe,_0x12c52b,_0x3387e4,_0x5363b5){const _0x1ed547=_0x264da9;return(0x0,_0x1503a7[_0x1ed547(0x28e)])(_0x3368b6[_0x1ed547(0x2ae)],{'key':_0x1900fe,..._0x38840a(_0x3368b6,_0x12c52b,_0x5363b5),..._0x3387e4},(_0x30acb9(_0x3368b6,_0x12c52b)[_0x1ed547(0x1cd)]||[])[_0x1ed547(0x272)]((_0x179bf3,_0x38be0f)=>_0x11126f(_0x179bf3,_0x1900fe+'-'+_0x3368b6[_0x1ed547(0x2ae)]+'-'+_0x38be0f,_0x12c52b,void 0x0,_0x5363b5)));}function _0x38840a(_0x5d8ead,_0x44dfba,_0x3cb796){const _0x2fc560=_0x264da9;let _0x220c3a={..._0x5d8ead['attrs']};_0x3cb796!=null&&_0x3cb796[_0x2fc560(0x235)]&&_0x220c3a[_0x2fc560(0x20e)]===_0x2fc560(0x235)&&(_0x220c3a[_0x2fc560(0x20e)]=_0x3cb796['colorChannel1']),_0x5d8ead['tag']===_0x2fc560(0x1e1)&&_0x220c3a['id']&&(_0x220c3a['id']+=_0x44dfba[_0x2fc560(0x22e)]),Object['entries'](_0x220c3a)['forEach'](([_0x2d4b50,_0x15d569])=>{const _0x13ac52=_0x2fc560;_0x2d4b50===_0x13ac52(0x1e1)&&typeof _0x15d569=='string'&&(_0x220c3a[_0x2d4b50]=_0x15d569[_0x13ac52(0x2e9)](/url\(#(.*)\)/,_0x13ac52(0x264)+_0x44dfba[_0x13ac52(0x22e)]+')'));});let {defIds:_0x12d8f5}=_0x44dfba;return!_0x12d8f5||_0x12d8f5[_0x2fc560(0x2bf)]===0x0?_0x220c3a:(_0x5d8ead['tag']==='use'&&_0x220c3a[_0x2fc560(0x2a8)]&&(_0x220c3a[_0x2fc560(0x2a8)]+=_0x44dfba[_0x2fc560(0x22e)]),Object[_0x2fc560(0x245)](_0x220c3a)[_0x2fc560(0x312)](([_0x32a47a,_0x432aab])=>{const _0x1c7925=_0x2fc560;typeof _0x432aab=='string'&&(_0x220c3a[_0x32a47a]=_0x432aab[_0x1c7925(0x2e9)](/url\(#(.*)\)/,_0x1c7925(0x264)+_0x44dfba[_0x1c7925(0x22e)]+')'));}),_0x220c3a);}function _0x30acb9(_0x306176,_0x2737ad){const _0x361c2b=_0x264da9;var _0xb64ee0;let {defIds:_0x30bb4c}=_0x2737ad;return!_0x30bb4c||_0x30bb4c[_0x361c2b(0x2bf)]===0x0?_0x306176:_0x306176[_0x361c2b(0x2ae)]===_0x361c2b(0x24b)&&(_0xb64ee0=_0x306176[_0x361c2b(0x1cd)])!=null&&_0xb64ee0[_0x361c2b(0x2bf)]?{..._0x306176,'children':_0x306176[_0x361c2b(0x1cd)][_0x361c2b(0x272)](_0x9f8065=>typeof _0x9f8065[_0x361c2b(0x293)]['id']==_0x361c2b(0x2db)&&_0x30bb4c&&_0x30bb4c[_0x361c2b(0x258)](_0x9f8065[_0x361c2b(0x293)]['id'])?{..._0x9f8065,'attrs':{..._0x9f8065[_0x361c2b(0x293)],'id':_0x9f8065[_0x361c2b(0x293)]['id']+_0x2737ad[_0x361c2b(0x22e)]}}:_0x9f8065)}:_0x306176;}function _0x27abfa(){const _0x1855c4=_0x264da9;return Math[_0x1855c4(0x24c)]()[_0x1855c4(0x31d)](0x24)[_0x1855c4(0x307)](0x2,0x8);}_0x507fa9[_0x264da9(0x2ee)]=_0x264da9(0x30a);let _0x973af3={'tag':_0x264da9(0x28d),'attrs':{'xmlns':_0x264da9(0x206),'fill':_0x264da9(0x223),'viewBox':_0x264da9(0x281),'width':_0x264da9(0x22a),'height':_0x264da9(0x22a)},'children':[{'tag':'g','attrs':{'fill':_0x264da9(0x25d),'clipPath':_0x264da9(0x2dd)},'children':[{'tag':_0x264da9(0x2d1),'attrs':{'d':_0x264da9(0x1f9)}},{'tag':_0x264da9(0x2d1),'attrs':{'d':_0x264da9(0x1ed)}}]},{'tag':_0x264da9(0x24b),'attrs':{},'children':[{'tag':_0x264da9(0x302),'attrs':{'id':_0x264da9(0x2c6)},'children':[{'tag':_0x264da9(0x2d1),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x264da9(0x2c6)]},_0x356a75=(0x0,_0x1503a7[_0x264da9(0x207)])(function(_0x3bb358,_0x44e6a5){const _0x3db4fb=_0x264da9;return(0x0,_0x1503a7['createElement'])(_0x507fa9,Object[_0x3db4fb(0x2d6)]({},_0x3bb358,{'id':_0x3db4fb(0x2a6),'ref':_0x44e6a5,'icon':_0x973af3}));});_0x356a75[_0x264da9(0x2ee)]='HistoryIcon';function _0xd3b0bd(_0x2d29dd){const _0x1903bf=_0x264da9;return{'id':_0x27c538['id'],'type':_0x33b4c9['MenuItemType'][_0x1903bf(0x1c4)],'icon':'HistoryIcon','tooltip':_0x1903bf(0x210),'hidden$':(0x0,_0x33b4c9[_0x1903bf(0x1d0)])(_0x2d29dd,_0x3f4cab[_0x1903bf(0x31f)][_0x1903bf(0x2d9)]),'disabled$':(0x0,_0x348381[_0x1903bf(0x1cc)])(_0x2d29dd,{'workbookTypes':[_0x2b467b['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}let _0xcb55d3={[_0x33b4c9['RibbonStartGroup']['OTHERS']]:{[_0x27c538['id']]:{'order':0.2,'menuItemFactory':_0xd3b0bd}}},_0x532111=class extends _0x3f4cab[_0x264da9(0x1c3)]{constructor(_0x1cf118,_0x89aa92,_0x30e0a5,_0x317ba3,_0x293391,_0x4f7159,_0x13e7ab,_0x4454f4,_0x1d7d1b,_0x32bf35,_0x48ad43){const _0x1922ba=_0x264da9;super(),this[_0x1922ba(0x2b7)]=_0x1cf118,this[_0x1922ba(0x1f5)]=_0x89aa92,this[_0x1922ba(0x212)]=_0x30e0a5,this['_historyManagerService']=_0x317ba3,this['_localeService']=_0x293391,this['_messageService']=_0x4f7159,this['_collaborationController']=_0x13e7ab,this[_0x1922ba(0x1c1)]=_0x4454f4,this[_0x1922ba(0x246)]=_0x1d7d1b,this[_0x1922ba(0x2d5)]=_0x32bf35,this[_0x1922ba(0x2f8)]=_0x48ad43,_0x878f36(this,_0x1922ba(0x1bc),null),this[_0x1922ba(0x1fe)]();}[_0x264da9(0x1fe)](){const _0x38eef9=_0x264da9;[_0x27c538,_0x38b9e3][_0x38eef9(0x312)](_0x1f2f8e=>this['disposeWithMe']((0x0,_0x3f4cab[_0x38eef9(0x1dc)])(this['_commandService']['registerCommand'](_0x1f2f8e)))),this[_0x38eef9(0x205)](this[_0x38eef9(0x212)][_0x38eef9(0x310)](_0x38eef9(0x288),_0x356a75)),this[_0x38eef9(0x1f5)][_0x38eef9(0x1d1)](_0xcb55d3),this[_0x38eef9(0x205)](this[_0x38eef9(0x2b7)][_0x38eef9(0x290)](async(_0x55cff5,_0x1fae52)=>{const _0x4fcb12=_0x38eef9;if(_0x55cff5['id']===_0x2bd1a1[_0x4fcb12(0x275)]['id']){let {unitId:_0x595d4f}=_0x55cff5[_0x4fcb12(0x1de)];this['_messageService']['show']({'content':this['_localeService']['t']('editHistory.panel.reverting'),'type':_0x2a3bf8['MessageType'][_0x4fcb12(0x26e)],'duration':0x1388});let _0x5d2dd3=this[_0x4fcb12(0x23b)]['getCollabEntity'](_0x595d4f);_0x1fae52!=null&&_0x1fae52[_0x4fcb12(0x32b)]?this[_0x4fcb12(0x280)](_0x5d2dd3,async()=>(setTimeout(()=>window[_0x4fcb12(0x2b5)][_0x4fcb12(0x2ba)]()),!0x0),!0x0):this[_0x4fcb12(0x280)](_0x5d2dd3,async()=>{const _0x5c375e=_0x4fcb12;let _0x1df64b=this[_0x5c375e(0x2d5)][_0x5c375e(0x219)](_0x3f4cab[_0x5c375e(0x31f)][_0x5c375e(0x2d9)]),_0x168588=_0x1df64b==null?void 0x0:_0x1df64b[_0x5c375e(0x30d)]();if(!_0x168588)return!0x1;this[_0x5c375e(0x2d5)]['disposeUnit'](_0x595d4f);let _0x303bb8=await this['_dataLoaderService']['loadUnit'](_0x595d4f,_0x3f4cab[_0x5c375e(0x31f)]['UNIVER_SHEET']);return _0x303bb8&&_0x303bb8 instanceof _0x3f4cab[_0x5c375e(0x1f8)]?(await this[_0x5c375e(0x250)](_0x303bb8,_0x168588['getSheetId']()),!0x0):!0x1;});}}));}[_0x264da9(0x280)](_0x38a83d,_0x1eb1a9,_0xabec68=!0x1){const _0x29b48e=_0x264da9;let _0x348df4=(0x0,_0x55fd55[_0x29b48e(0x2cd)])([_0x38a83d[_0x29b48e(0x299)]['event$'],_0x38a83d['state$']])[_0x29b48e(0x329)](async([_0x43e9a1,_0x21137d])=>{const _0x391bc9=_0x29b48e;if(_0x43e9a1['eventID']===_0x2bd1a1['CollaborationEvent'][_0x391bc9(0x2b9)]&&(_0x21137d==null?void 0x0:_0x21137d[_0x391bc9(0x2df)])===_0x53b8aa['CollaborationStatus']['SYNCED']&&_0x43e9a1['data'][_0x391bc9(0x1e7)][_0x391bc9(0x2f2)](_0x4440e7=>_0x4440e7['id']===_0x2bd1a1['RevertRevisionMutation']['id'])&&await _0x1eb1a9()){var _0x431094;this[_0x391bc9(0x1f2)][_0x391bc9(0x317)](),_0x348df4['unsubscribe'](),this[_0x391bc9(0x1bc)]&&clearTimeout(this[_0x391bc9(0x1bc)]),await((_0x431094=this[_0x391bc9(0x1c1)])==null?void 0x0:_0x431094[_0x391bc9(0x2e1)]()),this[_0x391bc9(0x27e)][_0x391bc9(0x2ce)]();}});_0xabec68&&(this[_0x29b48e(0x1bc)]=setTimeout(()=>{const _0x543e2f=_0x29b48e;_0x348df4['unsubscribe'](),this['_messageService'][_0x543e2f(0x28c)]({'content':this[_0x543e2f(0x2e4)]['t'](_0x543e2f(0x21b)),'type':_0x2a3bf8['MessageType'][_0x543e2f(0x282)],'duration':0xbb8});},0x1388));}async[_0x264da9(0x250)](_0x4aeca6,_0xcd17d){const _0x1cf49e=_0x264da9;await this[_0x1cf49e(0x23f)](_0x4aeca6,_0xcd17d),_0x4aeca6['activeSheet$'][_0x1cf49e(0x28a)]((0x0,_0x55fd55[_0x1cf49e(0x233)])(this[_0x1cf49e(0x29e)]))['subscribe'](_0x53a7a2=>{const _0xa49c0=_0x1cf49e;_0x53a7a2&&this[_0xa49c0(0x1d9)](_0x53a7a2);}),this[_0x1cf49e(0x2f8)][_0x1cf49e(0x203)][_0x1cf49e(0x28a)]((0x0,_0x55fd55[_0x1cf49e(0x233)])(this[_0x1cf49e(0x29e)]))[_0x1cf49e(0x329)](()=>this[_0x1cf49e(0x23f)](_0x4aeca6,_0xcd17d));}['_updateURLWithCurrentState'](_0x95c14b,_0x51edef=!0x1){const _0x20f52e=_0x264da9;let _0x57b211=this['_urlService'][_0x20f52e(0x27d)]('subunit');_0x95c14b[_0x20f52e(0x2a9)]()!==_0x57b211&&this[_0x20f52e(0x2f8)][_0x20f52e(0x1db)]('subunit',_0x95c14b[_0x20f52e(0x2a9)](),_0x51edef);}async['_updateSubUnitFromURLParams'](_0x2358b3,_0x47df3e){const _0x3b1b3a=_0x264da9;var _0x24870b;if(!_0x47df3e||!_0x2358b3[_0x3b1b3a(0x213)](_0x47df3e)){let _0x4c25fd=_0x2358b3[_0x3b1b3a(0x24e)]()[0x0],_0x1927b8=_0x2358b3['getSheetBySheetId'](_0x4c25fd);if(!_0x1927b8)return;this[_0x3b1b3a(0x1d9)](_0x1927b8,!0x0),await this[_0x3b1b3a(0x2b7)][_0x3b1b3a(0x229)](_0x2b467b[_0x3b1b3a(0x1bd)]['id'],{'unitId':_0x2358b3[_0x3b1b3a(0x1bf)](),'subUnitId':_0x4c25fd});return;}((_0x24870b=_0x2358b3[_0x3b1b3a(0x30d)]())==null?void 0x0:_0x24870b['getSheetId']())!==_0x47df3e&&await this['_commandService'][_0x3b1b3a(0x229)](_0x2b467b['SetWorksheetActivateCommand']['id'],{'unitId':_0x2358b3[_0x3b1b3a(0x1bf)](),'subUnitId':_0x47df3e});}};_0x532111=_0x2e7be4([_0x4f392e(0x0,_0x3f4cab[_0x264da9(0x1da)]),_0x4f392e(0x1,_0x33b4c9[_0x264da9(0x2f6)]),_0x4f392e(0x2,(0x0,_0x3f4cab['Inject'])(_0x33b4c9[_0x264da9(0x2a4)])),_0x4f392e(0x3,(0x0,_0x3f4cab['Inject'])(_0x2670c3)),_0x4f392e(0x4,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x3f4cab[_0x264da9(0x2be)])),_0x4f392e(0x5,_0x33b4c9['IMessageService']),_0x4f392e(0x6,(0x0,_0x3f4cab['Inject'])(_0x53b8aa[_0x264da9(0x2a7)])),_0x4f392e(0x7,_0x53b8aa[_0x264da9(0x30b)]),_0x4f392e(0x8,(0x0,_0x3f4cab['Inject'])(_0x53b8aa['DataLoaderService'])),_0x4f392e(0x9,_0x3f4cab[_0x264da9(0x309)]),_0x4f392e(0xa,_0x2f1402['IURLService'])],_0x532111);let _0x46ba20=_0x264da9(0x236),_0x4949a6=class extends _0x3f4cab[_0x264da9(0x2e2)]{constructor(_0x24e499,_0x18e52a,_0x31ac93,_0x1205d8,_0x452bc6,_0x56e9e5,_0x46f953,_0x25a283,_0x235865,_0x4e1d1e){const _0x31c80a=_0x264da9;super(),this[_0x31c80a(0x2e4)]=_0x24e499,this[_0x31c80a(0x2d5)]=_0x18e52a,this['_configService']=_0x31ac93,this[_0x31c80a(0x2b7)]=_0x1205d8,this['_messageService']=_0x452bc6,this[_0x31c80a(0x1e8)]=_0x56e9e5,this[_0x31c80a(0x2a0)]=_0x46f953,this[_0x31c80a(0x24d)]=_0x25a283,this['_sidebarService']=_0x235865,this[_0x31c80a(0x319)]=_0x4e1d1e,_0x878f36(this,_0x31c80a(0x1d8),new _0x55fd55[(_0x31c80a(0x32d))](null)),_0x878f36(this,_0x31c80a(0x315),this[_0x31c80a(0x1d8)][_0x31c80a(0x301)]()),_0x878f36(this,'_disposableCollection',new _0x3f4cab['DisposableCollection']()),_0x878f36(this,_0x31c80a(0x202),new Map()),_0x878f36(this,_0x31c80a(0x2ff),null),this[_0x31c80a(0x1fe)]();}get[_0x264da9(0x20b)](){const _0x25ec4c=_0x264da9;return this[_0x25ec4c(0x1d8)][_0x25ec4c(0x294)];}[_0x264da9(0x1fe)](){const _0x57648c=_0x264da9;this[_0x57648c(0x25f)](),this[_0x57648c(0x2bc)]();}[_0x264da9(0x25f)](){const _0x15e83e=_0x264da9;var _0x2bacb1;let _0x1eb307=(_0x2bacb1=this[_0x15e83e(0x224)][_0x15e83e(0x2f1)](_0x15e83e(0x26d)))==null?'univer-container':_0x2bacb1,_0x570eb2=document[_0x15e83e(0x2fa)](_0x1eb307);if(!_0x570eb2)return;let _0x1e5462=document[_0x15e83e(0x28e)](_0x15e83e(0x267));_0x1e5462['id']=_0x46ba20,_0x1e5462[_0x15e83e(0x2d0)][_0x15e83e(0x308)]=_0x15e83e(0x266),_0x1e5462[_0x15e83e(0x249)]['position']='absolute',_0x1e5462['style']['top']='0',_0x1e5462['style'][_0x15e83e(0x29b)]='0',_0x1e5462[_0x15e83e(0x249)][_0x15e83e(0x311)]=_0x15e83e(0x1c8),_0x1e5462[_0x15e83e(0x249)][_0x15e83e(0x27b)]='100%',_0x1e5462[_0x15e83e(0x249)][_0x15e83e(0x1ca)]='49',_0x1e5462[_0x15e83e(0x249)][_0x15e83e(0x216)]='none',_0x570eb2[_0x15e83e(0x313)](_0x1e5462);}[_0x264da9(0x2bc)](){const _0x15de73=_0x264da9;[[_0x4390d0[_0x15de73(0x268)]],[_0x33b4c9[_0x15de73(0x30c)],{'container':_0x46ba20,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x33b4c9[_0x15de73(0x1fa)],null]]}],[_0x2d814a[_0x15de73(0x285)]],[_0x39b342[_0x15de73(0x241)],{'override':[[_0x39b342[_0x15de73(0x327)],null]]}],[_0x46b2a2['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x190915[_0x15de73(0x28b)]],[_0x59691a['UniverSheetsNumfmtPlugin']],[_0x2b467b[_0x15de73(0x227)],{'notExecuteFormula':!0x0}],[_0x348381[_0x15de73(0x324)]],[_0x32c096['UniverSheetsFormulaPlugin']],[_0x1d9c10[_0x15de73(0x251)]],[_0x2bd1a1[_0x15de73(0x300)]],[_0xc707e7[_0x15de73(0x2c2)]],[_0x4eefb3[_0x15de73(0x2f0)]],[_0x164292[_0x15de73(0x220)]],[_0xfaf631['UniverSheetsHyperLinkUIPlugin']],[_0xb20be2[_0x15de73(0x22b)]],[_0x5c2668[_0x15de73(0x284)]],[_0x2fb70a[_0x15de73(0x306)]],[_0x3fcf1a[_0x15de73(0x2d8)],{'notExecuteFormula':!0x0}],[_0x515c86[_0x15de73(0x2de)]],[_0x33f376[_0x15de73(0x25c)]],[_0x1a796c[_0x15de73(0x2b6)]],[_0x31262d[_0x15de73(0x23c)]],[_0x293eae[_0x15de73(0x230)]],[_0x5818d3[_0x15de73(0x30f)]],[_0x13771e[_0x15de73(0x2bd)]],[_0xf52b9[_0x15de73(0x262)]],[_0x5bd34f[_0x15de73(0x1ee)]],[_0x539079['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x45aba1[_0x15de73(0x2fd)]]][_0x15de73(0x312)](([_0xb41f6b,_0x5d0ebf])=>this[_0x15de73(0x24a)](_0xb41f6b,_0x5d0ebf));}['dispose'](){const _0x6c81ba=_0x264da9;super[_0x6c81ba(0x23d)](),this[_0x6c81ba(0x317)](),this[_0x6c81ba(0x202)][_0x6c81ba(0x1d3)]();}[_0x264da9(0x24a)](_0x1dffd0,_0x1ede2d,_0x25a1aa){const _0x44dae5=_0x264da9;if(this[_0x44dae5(0x202)][_0x44dae5(0x2e8)](_0x1dffd0[_0x44dae5(0x274)])&&!_0x25a1aa)throw Error(_0x44dae5(0x23a)+_0x1dffd0[_0x44dae5(0x274)]+_0x44dae5(0x2f3));this[_0x44dae5(0x202)][_0x44dae5(0x1e3)](_0x1dffd0[_0x44dae5(0x274)],[_0x1dffd0,_0x1ede2d]);}['getAllPlugins'](){const _0x11d573=_0x264da9;return Array[_0x11d573(0x2a5)](this[_0x11d573(0x202)][_0x11d573(0x1e4)]());}[_0x264da9(0x256)](_0x26176c,_0xf9e6f8){const _0x1a6555=_0x264da9;let _0x5db426=document['getElementById'](_0x46ba20);_0x5db426&&(_0x5db426[_0x1a6555(0x249)][_0x1a6555(0x216)]=_0x1a6555(0x2ef),this['_initUniver'](_0x26176c,_0x46ba20,_0xf9e6f8));}['unMountHistoryContent'](){const _0x3cb188=_0x264da9;var _0x48ef5b;this[_0x3cb188(0x2b8)][_0x3cb188(0x23d)](),(_0x48ef5b=this[_0x3cb188(0x20b)])==null||_0x48ef5b[_0x3cb188(0x23d)](),this['_historyUniver$'][_0x3cb188(0x30e)](null);let _0x313eed=document['getElementById'](_0x46ba20);_0x313eed&&(_0x313eed[_0x3cb188(0x249)]['display']='none',this[_0x3cb188(0x2ff)]&&(this[_0x3cb188(0x2ff)][_0x3cb188(0x21e)](),this[_0x3cb188(0x2ff)]=null));}['_initUniver'](_0x50adcb,_0x31fca9,_0x114536){const _0x3d15b=_0x264da9;var _0x34cb36,_0x1b3eb5,_0xd97d7e,_0x460159;if(this[_0x3d15b(0x20b)])return;let _0x1e0968=new _0x3f4cab[(_0x3d15b(0x321))]({'locales':{[this[_0x3d15b(0x2e4)][_0x3d15b(0x26f)]()]:this[_0x3d15b(0x2e4)][_0x3d15b(0x2f9)]()},'override':[[_0x3f4cab['IAuthzIoService'],{'useClass':_0x53b8aa[_0x3d15b(0x247)]}]]}),_0x4532d0=_0x1e0968['__getInjector']();this[_0x3d15b(0x205)](this[_0x3d15b(0x319)][_0x3d15b(0x2af)]['subscribe'](_0x4f82ae=>{const _0x2b1079=_0x3d15b;_0x4532d0['get'](_0x3f4cab[_0x2b1079(0x1c2)])['setDarkMode'](_0x4f82ae);})),this[_0x3d15b(0x205)](this[_0x3d15b(0x319)][_0x3d15b(0x1fd)]['subscribe'](_0x2513b3=>{const _0x220edd=_0x3d15b;_0x4532d0['get'](_0x3f4cab[_0x220edd(0x1c2)])[_0x220edd(0x1ec)](_0x2513b3);})),_0x4532d0[_0x3d15b(0x2cc)](_0x3f4cab['LocaleService'])[_0x3d15b(0x261)](this[_0x3d15b(0x2e4)][_0x3d15b(0x26f)]()),_0x4532d0[_0x3d15b(0x2cc)](_0x3f4cab[_0x3d15b(0x2aa)])[_0x3d15b(0x298)](_0x53b8aa[_0x3d15b(0x1f0)],this[_0x3d15b(0x224)][_0x3d15b(0x2f1)](_0x53b8aa[_0x3d15b(0x1f0)]));let _0x37782e=this[_0x3d15b(0x224)][_0x3d15b(0x2f1)](_0x190ca4[_0x3d15b(0x200)]);_0x37782e&&_0x1e0968[_0x3d15b(0x24a)](_0x190ca4['UniverLicensePlugin'],{'license':_0x37782e['ls']});let _0x67b326=(_0x34cb36=this[_0x3d15b(0x224)][_0x3d15b(0x2f1)](_0x3d15b(0x226)))==null?void 0x0:_0x34cb36['workerURL'],_0xe4e7c3=!!_0x67b326;_0xe4e7c3&&(this[_0x3d15b(0x2ff)]=_0x67b326 instanceof Worker?_0x67b326:null,_0x1e0968[_0x3d15b(0x24a)](_0x1af0e0[_0x3d15b(0x32a)],{'workerURL':_0x67b326})),this[_0x3d15b(0x202)]['forEach'](([_0x78a01,_0x70baba])=>{_0x1e0968['registerPlugin'](_0x78a01,_0x70baba);}),_0x1e0968[_0x3d15b(0x24a)](_0x28bd67[_0x3d15b(0x25b)],{'historyListServerUrl':(_0x1b3eb5=this[_0x3d15b(0x224)][_0x3d15b(0x2f1)](_0x3d15b(0x226)))==null?void 0x0:_0x1b3eb5[_0x3d15b(0x1ce)],'historyPanelComponentKey':(_0xd97d7e=this[_0x3d15b(0x224)][_0x3d15b(0x2f1)](_0x3d15b(0x226)))==null?void 0x0:_0xd97d7e[_0x3d15b(0x32c)],'historyPanelHidden':(_0x460159=this[_0x3d15b(0x224)][_0x3d15b(0x2f1)](_0x3d15b(0x226)))==null?void 0x0:_0x460159[_0x3d15b(0x248)]}),_0x4532d0['invoke'](_0x2b5220=>{const _0x5015c0=_0x3d15b;this[_0x5015c0(0x22c)](_0x2b5220,_0x50adcb);}),this['_historyUniver$'][_0x3d15b(0x30e)](_0x1e0968);let _0x4db508=_0x4532d0['get'](_0x28bd67[_0x3d15b(0x2ea)]),_0x43a6c2=this[_0x3d15b(0x273)](_0x50adcb),_0xc86e58=()=>{const _0x5ac9e4=_0x3d15b;_0x114536?_0x4db508[_0x5ac9e4(0x27f)](_0x50adcb,_0x31fca9,_0x43a6c2,_0x114536):_0x4db508[_0x5ac9e4(0x255)](_0x50adcb,_0x31fca9,_0x43a6c2);};if(this[_0x3d15b(0x27e)]['show']({'content':this[_0x3d15b(0x2e4)]['t'](_0x3d15b(0x278)),'type':_0x2a3bf8[_0x3d15b(0x31c)][_0x3d15b(0x26e)]}),_0xe4e7c3)try{_0x4532d0['get'](_0x1af0e0[_0x3d15b(0x295)])[_0x3d15b(0x29c)]()[_0x3d15b(0x21d)](()=>{_0xc86e58();});}catch{_0xc86e58();}else _0xc86e58();}[_0x264da9(0x22c)](_0x3754dd,_0x1a5dc3){const _0x738c2e=_0x264da9;let _0x2f37db=_0x3754dd[_0x738c2e(0x2cc)](_0x28bd67[_0x738c2e(0x2ea)]);this['_disposableCollection']['add'](_0x2f37db[_0x738c2e(0x221)][_0x738c2e(0x329)](_0x2d87e6=>{const _0x2dd29f=_0x738c2e;switch(_0x2d87e6){case _0x28bd67[_0x2dd29f(0x239)][_0x2dd29f(0x2a2)]:this[_0x2dd29f(0x24d)][_0x2dd29f(0x31e)](),this[_0x2dd29f(0x20f)]['close']();break;case _0x28bd67[_0x2dd29f(0x239)]['Exited']:this[_0x2dd29f(0x2b7)]['executeCommand'](_0x38b9e3['id']),this[_0x2dd29f(0x317)]();break;case _0x28bd67[_0x2dd29f(0x239)][_0x2dd29f(0x282)]:this[_0x2dd29f(0x317)](),this[_0x2dd29f(0x27e)][_0x2dd29f(0x28c)]({'content':this[_0x2dd29f(0x2e4)]['t'](_0x2dd29f(0x322)),'type':_0x2a3bf8[_0x2dd29f(0x31c)][_0x2dd29f(0x282)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x738c2e(0x1fb)](_0x2f37db[_0x738c2e(0x254)][_0x738c2e(0x329)](async _0xb35ba6=>{const _0x7d5e4=_0x738c2e;_0xb35ba6&&this[_0x7d5e4(0x2b7)][_0x7d5e4(0x229)](_0x2bd1a1[_0x7d5e4(0x275)]['id'],{'unitId':_0x1a5dc3,'revision':_0xb35ba6});}));}['_checkCanRevert'](_0x292ff2){const _0x1ae72c=_0x264da9;let _0x1603f7=this[_0x1ae72c(0x2d5)][_0x1ae72c(0x318)](_0x292ff2)[_0x1ae72c(0x287)]()[_0x1ae72c(0x272)](_0x16dddf=>_0x16dddf[_0x1ae72c(0x2a9)]()),_0x4dc9ed=new _0x2b467b[(_0x1ae72c(0x2f5))](_0x292ff2)['id'],_0x5af2e7=_0x1603f7[_0x1ae72c(0x272)](_0x51fb66=>new _0x2b467b['WorksheetEditPermission'](_0x292ff2,_0x51fb66)['id']),_0x555130=_0x1603f7[_0x1ae72c(0x272)](_0xf30886=>this[_0x1ae72c(0x2a0)][_0x1ae72c(0x231)](_0x292ff2,_0xf30886)[_0x1ae72c(0x272)](_0x2370d5=>new _0x2b467b[(_0x1ae72c(0x1f7))](_0x292ff2,_0xf30886,_0x2370d5[_0x1ae72c(0x2ed)])['id']))[_0x1ae72c(0x2dc)](),_0x41f57f=new _0x2b467b[(_0x1ae72c(0x1be))](_0x292ff2)['id'];return this['_permissionService'][_0x1ae72c(0x2eb)]([_0x4dc9ed,..._0x5af2e7,..._0x555130,_0x41f57f])[_0x1ae72c(0x26b)](_0x3d2bc7=>!!_0x3d2bc7['value']);}};_0x4949a6=_0x2e7be4([_0x4f392e(0x0,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x3f4cab[_0x264da9(0x2be)])),_0x4f392e(0x1,_0x3f4cab[_0x264da9(0x309)]),_0x4f392e(0x2,_0x3f4cab[_0x264da9(0x2aa)]),_0x4f392e(0x3,_0x3f4cab[_0x264da9(0x1da)]),_0x4f392e(0x4,_0x33b4c9[_0x264da9(0x1c5)]),_0x4f392e(0x5,_0x3f4cab[_0x264da9(0x22f)]),_0x4f392e(0x6,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x2b467b[_0x264da9(0x1ea)])),_0x4f392e(0x7,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x33b4c9[_0x264da9(0x1fa)])),_0x4f392e(0x8,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x33b4c9[_0x264da9(0x215)])),_0x4f392e(0x9,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x3f4cab[_0x264da9(0x1c2)]))],_0x4949a6);let _0x43330e=class extends _0x3f4cab['Plugin']{constructor(_0x86a601=_0x3d6cb4,_0x1c2fc2,_0x1506d7){const _0xb3d319=_0x264da9;super(),this['_config']=_0x86a601,this[_0xb3d319(0x238)]=_0x1c2fc2,this[_0xb3d319(0x224)]=_0x1506d7;let {menu:_0x212f35,..._0x5c7a40}=(0x0,_0x3f4cab[_0xb3d319(0x326)])({},_0x3d6cb4,this['_config']);_0x212f35&&this[_0xb3d319(0x224)][_0xb3d319(0x298)]('menu',_0x212f35,{'merge':!0x0}),this[_0xb3d319(0x224)][_0xb3d319(0x298)](_0x4d3e2d,_0x5c7a40),this[_0xb3d319(0x29a)][_0xb3d319(0x28f)]&&this[_0xb3d319(0x224)][_0xb3d319(0x298)](_0xb3d319(0x26d),this[_0xb3d319(0x29a)][_0xb3d319(0x28f)]);}[_0x264da9(0x26c)](){const _0x1684c6=_0x264da9;[[_0x2670c3,{'useClass':_0x4949a6}],[_0x532111]][_0x1684c6(0x312)](_0x5a0baa=>this[_0x1684c6(0x238)][_0x1684c6(0x1fb)](_0x5a0baa));}[_0x264da9(0x20d)](){const _0x20e793=_0x264da9;this[_0x20e793(0x238)][_0x20e793(0x2cc)](_0x532111);}};_0x878f36(_0x43330e,_0x264da9(0x1f1),_0x3f4cab[_0x264da9(0x31f)]['UNIVER_UNKNOWN']),_0x878f36(_0x43330e,_0x264da9(0x274),_0x264da9(0x2c0)),_0x878f36(_0x43330e,'packageName',_0x85a720),_0x878f36(_0x43330e,_0x264da9(0x1ff),_0x4fb64e),_0x43330e=_0x2e7be4([(0x0,_0x3f4cab[_0x264da9(0x292)])(_0x190ca4[_0x264da9(0x2bb)]),_0x4f392e(0x1,(0x0,_0x3f4cab['Inject'])(_0x3f4cab[_0x264da9(0x201)])),_0x4f392e(0x2,_0x3f4cab[_0x264da9(0x2aa)])],_0x43330e);let _0x150d8a=class extends _0x3f4cab['RxDisposable']{constructor(_0xcb332f,_0x5c3d83,_0x436b15,_0x47df21,_0x2f2ad3,_0x132f27,_0x1ab987,_0x40e9ac,_0x16c8eb,_0x4f2e5a,_0x18443b){const _0xd7c262=_0x264da9;super(),this[_0xd7c262(0x2b7)]=_0xcb332f,this[_0xd7c262(0x1f5)]=_0x5c3d83,this[_0xd7c262(0x212)]=_0x436b15,this[_0xd7c262(0x1f2)]=_0x47df21,this['_localeService']=_0x2f2ad3,this[_0xd7c262(0x27e)]=_0x132f27,this[_0xd7c262(0x23b)]=_0x1ab987,this[_0xd7c262(0x1c1)]=_0x40e9ac,this[_0xd7c262(0x246)]=_0x16c8eb,this[_0xd7c262(0x2d5)]=_0x4f2e5a,this[_0xd7c262(0x2f8)]=_0x18443b,_0x878f36(this,_0xd7c262(0x1bc),null),this[_0xd7c262(0x1fe)]();}[_0x264da9(0x1fe)](){const _0x1138fd=_0x264da9;[_0x27c538,_0x38b9e3][_0x1138fd(0x312)](_0x2d61cc=>this[_0x1138fd(0x205)]((0x0,_0x3f4cab[_0x1138fd(0x1dc)])(this[_0x1138fd(0x2b7)][_0x1138fd(0x1d5)](_0x2d61cc)))),this[_0x1138fd(0x205)](this[_0x1138fd(0x212)][_0x1138fd(0x310)]('HistoryIcon',_0x356a75)),this[_0x1138fd(0x1f5)]['mergeMenu'](_0xcb55d3),this[_0x1138fd(0x205)](this[_0x1138fd(0x2b7)][_0x1138fd(0x290)](async(_0x53be81,_0x597da0)=>{const _0xbaf687=_0x1138fd;if(_0x53be81['id']===_0x2bd1a1[_0xbaf687(0x275)]['id']){let {unitId:_0xac40e8}=_0x53be81['params'];this[_0xbaf687(0x27e)][_0xbaf687(0x28c)]({'content':this[_0xbaf687(0x2e4)]['t'](_0xbaf687(0x244)),'type':_0x2a3bf8[_0xbaf687(0x31c)][_0xbaf687(0x26e)],'duration':0x1388});let _0x4153aa=this[_0xbaf687(0x23b)][_0xbaf687(0x2f4)](_0xac40e8);_0x597da0!=null&&_0x597da0[_0xbaf687(0x32b)]?this[_0xbaf687(0x280)](_0x4153aa,async()=>(setTimeout(()=>window[_0xbaf687(0x2b5)][_0xbaf687(0x2ba)]()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x4153aa,async()=>{const _0x3645ad=_0xbaf687;let _0x2a852a=this[_0x3645ad(0x2d5)][_0x3645ad(0x219)](_0x3f4cab[_0x3645ad(0x31f)]['UNIVER_SHEET']),_0x48ef24=_0x2a852a==null?void 0x0:_0x2a852a['getActiveSheet']();if(!_0x48ef24)return!0x1;this[_0x3645ad(0x2d5)][_0x3645ad(0x234)](_0xac40e8);let _0x11a2ff=await this['_dataLoaderService'][_0x3645ad(0x2ca)](_0xac40e8,_0x3f4cab['UniverInstanceType'][_0x3645ad(0x2d9)]);return _0x11a2ff&&_0x11a2ff instanceof _0x3f4cab[_0x3645ad(0x1f8)]?(await this[_0x3645ad(0x250)](_0x11a2ff,_0x48ef24['getSheetId']()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x2c5baa,_0x1df9d4,_0x208034=!0x1){const _0x150070=_0x264da9;let _0x19f3b3=(0x0,_0x55fd55[_0x150070(0x2cd)])([_0x2c5baa[_0x150070(0x299)][_0x150070(0x1d2)],_0x2c5baa[_0x150070(0x240)]])[_0x150070(0x329)](async([_0x78b72a,_0xe27863])=>{const _0x175bdc=_0x150070;if(_0x78b72a[_0x175bdc(0x208)]===_0x2bd1a1[_0x175bdc(0x253)]['CHANGESET_ACK']&&(_0xe27863==null?void 0x0:_0xe27863[_0x175bdc(0x2df)])===_0x53b8aa[_0x175bdc(0x2e6)][_0x175bdc(0x211)]&&_0x78b72a['data'][_0x175bdc(0x1e7)][_0x175bdc(0x2f2)](_0x21cc9e=>_0x21cc9e['id']===_0x2bd1a1['RevertRevisionMutation']['id'])&&await _0x1df9d4()){var _0x4a5412;this['_historyManagerService'][_0x175bdc(0x317)](),_0x19f3b3[_0x175bdc(0x1cb)](),this[_0x175bdc(0x1bc)]&&clearTimeout(this['_revertErrorTimer']),await((_0x4a5412=this[_0x175bdc(0x1c1)])==null?void 0x0:_0x4a5412['exhaustSavingTask']());}});_0x208034&&(this[_0x150070(0x1bc)]=setTimeout(()=>{const _0x40b221=_0x150070;_0x19f3b3[_0x40b221(0x1cb)](),this['_messageService'][_0x40b221(0x28c)]({'content':this[_0x40b221(0x2e4)]['t'](_0x40b221(0x21b)),'type':_0x2a3bf8[_0x40b221(0x31c)]['Error'],'duration':0xbb8});},0x1388));}async[_0x264da9(0x250)](_0xd850e5,_0x4edeed){const _0x2bd1cf=_0x264da9;await this[_0x2bd1cf(0x23f)](_0xd850e5,_0x4edeed),_0xd850e5[_0x2bd1cf(0x1cf)][_0x2bd1cf(0x28a)]((0x0,_0x55fd55[_0x2bd1cf(0x233)])(this[_0x2bd1cf(0x29e)]))[_0x2bd1cf(0x329)](_0x34e72f=>{const _0x3a1966=_0x2bd1cf;_0x34e72f&&this[_0x3a1966(0x1d9)](_0x34e72f);}),this['_urlService']['urlChange$']['pipe']((0x0,_0x55fd55[_0x2bd1cf(0x233)])(this[_0x2bd1cf(0x29e)]))['subscribe'](()=>this[_0x2bd1cf(0x23f)](_0xd850e5,_0x4edeed));}[_0x264da9(0x1d9)](_0x3611f3,_0x578fff=!0x1){const _0x1a61d1=_0x264da9;let _0x2e70f0=this[_0x1a61d1(0x2f8)][_0x1a61d1(0x27d)]('subunit');_0x3611f3[_0x1a61d1(0x2a9)]()!==_0x2e70f0&&this[_0x1a61d1(0x2f8)][_0x1a61d1(0x1db)](_0x1a61d1(0x1f3),_0x3611f3[_0x1a61d1(0x2a9)](),_0x578fff);}async[_0x264da9(0x23f)](_0x59459c,_0x5de4c7){const _0x192c48=_0x264da9;var _0xbde4c3;if(!_0x5de4c7||!_0x59459c[_0x192c48(0x213)](_0x5de4c7)){let _0x49b901=_0x59459c['getUnhiddenWorksheets']()[0x0],_0x31ca8d=_0x59459c['getSheetBySheetId'](_0x49b901);if(!_0x31ca8d)return;this[_0x192c48(0x1d9)](_0x31ca8d,!0x0),await this[_0x192c48(0x2b7)]['executeCommand'](_0x2b467b[_0x192c48(0x1bd)]['id'],{'unitId':_0x59459c[_0x192c48(0x1bf)](),'subUnitId':_0x49b901});return;}((_0xbde4c3=_0x59459c[_0x192c48(0x30d)]())==null?void 0x0:_0xbde4c3[_0x192c48(0x2a9)]())!==_0x5de4c7&&await this[_0x192c48(0x2b7)][_0x192c48(0x229)](_0x2b467b['SetWorksheetActivateCommand']['id'],{'unitId':_0x59459c[_0x192c48(0x1bf)](),'subUnitId':_0x5de4c7});}};_0x150d8a=_0x2e7be4([_0x4f392e(0x0,_0x3f4cab[_0x264da9(0x1da)]),_0x4f392e(0x1,_0x33b4c9[_0x264da9(0x2f6)]),_0x4f392e(0x2,(0x0,_0x3f4cab['Inject'])(_0x33b4c9[_0x264da9(0x2a4)])),_0x4f392e(0x3,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x2670c3)),_0x4f392e(0x4,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x3f4cab[_0x264da9(0x2be)])),_0x4f392e(0x5,_0x33b4c9[_0x264da9(0x1c5)]),_0x4f392e(0x6,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x53b8aa[_0x264da9(0x2a7)])),_0x4f392e(0x7,_0x53b8aa[_0x264da9(0x30b)]),_0x4f392e(0x8,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x53b8aa[_0x264da9(0x2c3)])),_0x4f392e(0x9,_0x3f4cab[_0x264da9(0x309)]),_0x4f392e(0xa,_0x2f1402['IURLService'])],_0x150d8a);let _0x3f552f=class extends _0x3f4cab[_0x264da9(0x2e5)]{constructor(_0x40c185=_0x3d6cb4,_0x47371d,_0x2a5e03){const _0x7bf448=_0x264da9;super(),this[_0x7bf448(0x29a)]=_0x40c185,this[_0x7bf448(0x238)]=_0x47371d,this[_0x7bf448(0x224)]=_0x2a5e03;let {menu:_0x1705bb,..._0x1d61e8}=(0x0,_0x3f4cab[_0x7bf448(0x326)])({},_0x3d6cb4,this[_0x7bf448(0x29a)]);_0x1705bb&&this[_0x7bf448(0x224)][_0x7bf448(0x298)](_0x7bf448(0x2b0),_0x1705bb,{'merge':!0x0}),this['_configService']['setConfig'](_0x4d3e2d,_0x1d61e8),this['_config'][_0x7bf448(0x28f)]&&this[_0x7bf448(0x224)][_0x7bf448(0x298)](_0x4032e2,this[_0x7bf448(0x29a)][_0x7bf448(0x28f)]);}[_0x264da9(0x26c)](){const _0x24e4a1=_0x264da9;[[_0x2670c3],[_0x150d8a]][_0x24e4a1(0x312)](_0x3c69ff=>this[_0x24e4a1(0x238)][_0x24e4a1(0x1fb)](_0x3c69ff));}[_0x264da9(0x20d)](){const _0x16ed19=_0x264da9;this['_injector'][_0x16ed19(0x2cc)](_0x150d8a);}};_0x878f36(_0x3f552f,_0x264da9(0x1f1),_0x3f4cab[_0x264da9(0x31f)][_0x264da9(0x2ec)]),_0x878f36(_0x3f552f,_0x264da9(0x274),_0x264da9(0x304)),_0x878f36(_0x3f552f,_0x264da9(0x23e),_0x85a720),_0x878f36(_0x3f552f,'version',_0x4fb64e),_0x3f552f=_0x2e7be4([(0x0,_0x3f4cab[_0x264da9(0x292)])(_0x190ca4[_0x264da9(0x2bb)]),_0x4f392e(0x1,(0x0,_0x3f4cab[_0x264da9(0x1e5)])(_0x3f4cab[_0x264da9(0x201)])),_0x4f392e(0x2,_0x3f4cab[_0x264da9(0x2aa)])],_0x3f552f),_0xa48dbc[_0x264da9(0x25e)]=_0x4d3e2d,Object['defineProperty'](_0xa48dbc,_0x264da9(0x1eb),{'enumerable':!0x0,'get':function(){return _0x2670c3;}}),Object[_0x264da9(0x2ab)](_0xa48dbc,_0x264da9(0x265),{'enumerable':!0x0,'get':function(){return _0x4949a6;}}),_0xa48dbc[_0x264da9(0x328)]=_0x27c538,_0xa48dbc[_0x264da9(0x25a)]=_0x4032e2,_0xa48dbc[_0x264da9(0x24f)]=_0x18670f,Object[_0x264da9(0x2ab)](_0xa48dbc,_0x264da9(0x243),{'enumerable':!0x0,'get':function(){return _0x43330e;}}),Object[_0x264da9(0x2ab)](_0xa48dbc,_0x264da9(0x1c9),{'enumerable':!0x0,'get':function(){return _0x3f552f;}});}));function _0x2278(_0x2aa7d2,_0x432d3d){_0x2aa7d2=_0x2aa7d2-0x1bc;const _0x14b940=_0x14b9();let _0x2278fc=_0x14b940[_0x2aa7d2];return _0x2278fc;}function _0x14b9(){const _0x2c5666=['history-icon_clip0_907_281','4035558JujnEJ','UniverSheetsConditionalFormattingUi','[HistoryLoaderService]:\x20Plugin\x20','loadUnit','UniverProSheetsChartUi','get','combineLatest','removeAll','UniverProEditHistoryLoader','dataset','path','UniverNetwork','symbol','trim','_univerInstanceService','assign','UniverSheetsFilterUi','UniverFormulaEnginePlugin','UNIVER_SHEET','@univerjs-pro/edit-history-loader','string','flat','url(#history-icon_clip0_907_281)','UniverDrawingUIPlugin','status','absolute','exhaustSavingTask','Disposable','UniverProSheetsSparkline','_localeService','Plugin','CollaborationStatus','UniverProSheetsSparklineUi','has','replace','HistoryManagerService','composePermission','UNIVER_UNKNOWN','permissionId','displayName','block','UniverSheetsConditionalFormattingPlugin','getConfig','some','\x20has\x20been\x20registered.','getCollabEntity','WorkbookEditablePermission','IMenuManagerService','1948715xcNhCE','_urlService','getLocales','getElementById','UniverSheetsConditionalFormattingUIPlugin','close','UniverSheetsTablePlugin','UniverDesign','_internalWebWorker','UniverCollaborationPlugin','asObservable','clipPath','getSheetCommandTarget','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','UniverUi','UniverSheetsDataValidationMobileUIPlugin','substring','uComp','IUniverInstanceService','UniverIcon','ILocalCacheService','UniverMobileUIPlugin','getActiveSheet','next','UniverSheetsChartPlugin','register','width','forEach','appendChild','univer-history-container','historyUniver$','UniverSheetsFormulaPlugin','unMountHistoryContent','getUnit','_themeService','UniverDrawingUi','UniverSheetsFilterUIPlugin','MessageType','toString','closeAll','UniverInstanceType','UniverProCollaborationClient','Univer','editHistory.panel.listFetchError','invoke','UniverSheetsMobileUIPlugin','UniverDocsUi','merge','IImageIoService','ToggleEditHistoryOperation','subscribe','UniverRPCMainThreadPlugin','fromCollab','historyPanelComponentKey','BehaviorSubject','_revertErrorTimer','SetWorksheetActivateCommand','WorkbookRecoverHistoryPermission','getUnitId','2561638qVrBCc','_localCacheService','ThemeService','RxDisposable','BUTTON','IMessageService','4100931zRuGCY','univer.operation.toggle-edit-history','100%','UniverEditHistoryLoaderPlugin','zIndex','unsubscribe','getCurrentRangeDisable$','children','historyListServerUrl','activeSheet$','getMenuHiddenObservable','mergeMenu','event$','clear','current','registerCommand','7LifTRS','UniverProSheetsPivot','_historyUniver$','_updateURLWithCurrentState','ICommandService','setParam','toDisposable','UniverSheetsDrawing','params','__getInjector','decorate','mask','UniverSheetsConditionalFormatting','set','values','Inject','call','mutations','_permissionService','prototype','RangeProtectionRuleModel','HistoryLoaderService','setTheme','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','UniverSheetsShapeUIPlugin','getOwnPropertyDescriptor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','type','_historyManagerService','subunit','IAuthzIoService','_menuManagerService','univer.operation.exit-edit-history','RangeProtectionPermissionEditPoint','Workbook','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','IDialogService','add','position','currentTheme$','_init','version','LS_CONFIG_KEY','Injector','_pluginMap','urlChange$','UniverProLicense','disposeWithMe','http://www.w3.org/2000/svg','forwardRef','eventID','UniverSheetsHyperLink','UniverRpc','historyUniver','UniverDocsPlugin','onSteady','fill','_sidebarService','editHistory.panel.title','SYNCED','_componentManager','getSheetBySheetId','UniverSheetsUIPlugin','ISidebarService','display','defIds','UniverSheetsDataValidationUIPlugin','getCurrentUnitOfType','UniverProSheetsShapeUi','editHistory.panel.revertFailed','UniverDocs','then','terminate','default','UniverSheetsHyperLinkPlugin','status$','UniverUIPlugin','none','_configService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','edit-history-loader.config','UniverSheetsPlugin','13369952uXLvtB','executeCommand','1em','UniverDataValidationPlugin','_initListener','UniverSheetsUi','idSuffix','IPermissionService','UniverSheetSparklineUIPlugin','getSubunitRuleList','CommandType','takeUntil','disposeUnit','colorChannel1','univer-history-container-mobile','UniverProCollaboration','_injector','HistoryModeStatus','[MobileHistoryLoaderService]:\x20Plugin\x20','_collaborationController','UniverSheetSparklinePlugin','dispose','packageName','_updateSubUnitFromURLParams','state$','UniverDrawingPlugin','DisposableCollection','UniverEditHistoryLoaderMobilePlugin','editHistory.panel.reverting','entries','_dataLoaderService','AuthzIoHttpService','historyPanelHidden','style','registerPlugin','defs','random','_dialogService','getUnhiddenWorksheets','UNIVER_HISTORY_CONTAINER_ID','_setupSubUnitSync','UniverSheetsFormulaUIPlugin','function','CollaborationEvent','revertRevision$','triggerLoadVersions','mountHistoryContent','UniverDrawing','includes','toPrimitive','UNIVER_CONTAINER_ID_KEY','UniverEditHistoryViewerMobilePlugin','UniverSheetsDrawingPlugin','currentColor','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','_initContainer','UniverProSheetsChart','setLocale','UniverSheetsShapePlugin','object','url(#$1','MobileHistoryLoaderService','history-container','div','UniverRenderEnginePlugin','UniverEditHistoryViewerPlugin','6510870TnCdrT','every','onStarting','UNIVER_CONTAINER_ID','Loading','getCurrentLocale','UniverSheetsPivotTablePlugin','_initUniver','map','_checkCanRevert','pluginName','RevertRevisionMutation','univer-container','UniverSheetsDataValidationUi','editHistory.info.initializing','UniverCore','toStringTag','height','constructor','getParam','_messageService','triggerCustomVersions','_handleRevertAcknowledgement','0\x200\x2016\x2016','Error','historyAIassistantEnabled','UniverSheetsDataValidationPlugin','UniverNetworkPlugin','amd','getSheets','HistoryIcon','1dZfGDc','pipe','UniverDocsUIPlugin','show','svg','createElement','univerContainerId','onCommandExecuted','UniverEngineRender','DependentOn','attrs','value','IRemoteInstanceService','UniverSheetsDataValidation','top','setConfig','session','_config','left','whenReady','6874684dEpwsP','dispose$','UniverSheets','_selectionProtectionRuleModel','0.22.0','Entered','UniverSheetsDrawingUi','ComponentManager','from','history-icon','CollaborationController','xlink:href','getSheetId','IConfigService','defineProperty','OPERATION','getAllPlugins','tag','darkMode$','menu','UniverSheetsFilter','UniverProSheetsShape','UniverSheetsFormula','UniverSheetsHyperLinkUIPlugin','location','UniverSheetsDrawingUIPlugin','_commandService','_disposableCollection','CHANGESET_ACK','reload','UniverLicensePlugin','_initPlugins','UniverSheetsChartUIPlugin','LocaleService','length','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','UniverProCollaborationClientUi','UniverSheetsFilterPlugin','DataLoaderService','UniverSheetsHyperLinkUi','27dbdvzK'];_0x14b9=function(){return _0x2c5666;};return _0x14b9();}
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;}});}));
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"})}));