@univerjs/preset-sheets-collaboration 0.14.0 → 0.15.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 _0x4d6f(_0xba1a21,_0x1726db){_0xba1a21=_0xba1a21-0x1c5;var _0x452af7=_0x452a();var _0x4d6f1d=_0x452af7[_0xba1a21];return _0x4d6f1d;}function _0x452a(){var _0xba2c2f=['_transformService','Error\x20on\x20receiving\x20event','IConfigService','_localCacheService','has','[CollaborationSessionService]','actions','location','_collaborationPaused','_change$','submit\x20changeset\x20error!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_entityInit$','getConfig','transformUndoRedo','_type','_sessions','setCurrentUser','leaveEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SessionStatus','sequenceExecute','sendChangesetTimeout','/new_changes','_unitInfo$','PAYMENT_CHANNEL_NOT_SUPPORT','_initDependencies','b64DecodeUnicode','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNISCRIPT_RUN','HELLO','_incrementRevisionNumber','update','SOCKET_FAILED','_getLoginPath','BlockCipherMode','PERSON','uuidv4','append','_commentService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnitOfRevision','[PendingState]:\x20received\x20acknowledgement.','dispose$','OpenSSL','ERROR_IMAGE','_getUndoStack','DATA_SOURCE_TOO_LARGE','8GoKJPa','_collaborationTimeoutTimer','replace','deserializeToCombResponse','UserProfileImg','parseProtocolChangeset','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ENTITLE_NEED_BILLING_ADDRESS','[DataLoaderService]','pipe','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','data','_socketMessageSubscription','UUID','CipherParams','_startCollaboration','Malformed\x20UTF-8\x20data','UniverCollaborationClientPlugin','_executeRemoteChangeset','mutations','@univerjs/telemetry','_networkConditionService','SyncedState','LEAVE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handlerCallback','YUUMI_RATE_OVER_LIMIT','INVITE_CODE_HAS_BEEN_UES','_clearHeartbeatTimer','_state','@univerjs/drawing','name','getCurrentRevOfUnit','type','_onLocalMutation','_createHmacHelper','CompressMutationService','mapDocumentTypeToUniverType','getResourcesRequest','now','573520yYUVFr','NO_OTHER_CLIENTS_EDITING','substr','/-/object/-/batch_allowed','_collaborationSessionService','clone','next','Undefined','image/jpeg','_eventService','_lockTransition','CONNECTOR_DATA_TOO_LARGE','updateMember','IPermissionService','_userManagerService','image/gif','ILocalCacheService','CollaborationSessionService','hostname','enableAuthServer','ISnapshotServerService','SUBMIT_CHANGESET','toggleOffline','key','ILogService','_onRemoteACK','isTransformMutationsWithChangesetFailure','url','_tryEnsureSocket','_roomCreated$','_process','setWaitCount','__splitChunk__','session','retryConnectingInterval','_onUserLeave','_tryReconnect','session.room-not-exists','awaiting_with_pending','_changesetReqId','Disposable','/universer-api/uniscript','univer-pro.collaboration-client.network-condition.service','2033592uXHFIF','getUnit','HmacMD5','editingUnit','NEW_CHANGESETS','parse','registerHTTPInterceptor','encode','onTransformRemoteChangesetByStateCache','DataLoaderService','LIVESHARE_FETCH_OPERATIONS','mode','sigBytes','UNDEFINED','_clearLocalCache','image/bmp','take','UniverProCollaborationClient','[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.','_timeoutTimer','getRoom','CONFLICT','error$','enableSingleActiveInstanceLock','EvpKDF','SnapshotService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','JOIN_ROOM_FULL','AWAITING_WITH_PENDING','_transformStateCache','createEncryptor','add','JOIN_ROOM_PERMISSION_DENIED','_stopTelemetryCollaborationNewChangeset','JOIN','_resendTimer','_logService','csShouldRetryEvent','INetworkConditionService','_handler','image/png','body','reconnect','_startTelemetryCollaborationNewChangeset','roomInfos','_onFetchMissResult','_iv','_clearUndo','Failed\x20to\x20update\x20permission\x20point','_sender','parseChangesetToProtocol','list','auth.needGotoLoginAlert','result','_snapshotServerService','RevisionService','_xformMode','getTime','waitForRoom$','readAsDataURL','UNIVER_COLLABORATION_CLIENT_PLUGIN','POST','FileId','interceptor','getCurrentUser','_joinRoom','getUnitStatus$','_socket','collaboration_new_changeset','ImageSourceType','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SUCCUSS','_checkMissing','_commentUpdate$','transformChangesets','_memberService','HEARTBEAT_INTERVAL_KEY','transformSelections','pending','action','getSheetBlock','commentUpdateEvent','sessionStatus','_permissionService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_createInitialState','_parse','ENTITLE_CAN_NOT_BUY_LOWER_OTP','shouldCloseConn','onCommentUpdate','focused$','setShowComponents','ICommandService','_disableEditing','SnapshotServerOverHTTPService','find','loginUrlKey','lib','loadDoc','href','_queuedRemoteChangesets','CollaborationController','HEARTBEAT_TIMEOUT_KEY','change$','_telemetryService','getUnitId','BASE64','includes','[CollaborationSession]','_sendHeartbeat','/object/','UniverProLicense','unsubscribe','blockSize','entries','originalMeta','serializeCombRequest','joinRsp','People','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','rxjs','_onOffline','subUnitId','_telemetryInfo','UPDATE_CURSOR','_configService','95277FOyuMn','compose','Rectangle','CollaborationUIEventService','UNIVER_PROJECT','OTHER_CLIENT_EDITING','DEFAULT_COLLAB_WEB_SOCKET_URL','encrypt','_transformUndoredo','Injector','confirm','RxDisposable','asObservable','UniverNetworkPlugin','SNAPSHOT_INVALID_SNAPSHOT','Tools','ENTITLE_REPORT_LIMIT_EXCEED','ALREADY_EXISTS','call','session.room-cnt-exceeds','CLOSE_ROOM','_getAPIPrefixPath','format','SUBMIT_CHANGESET_TIMEOUT','LIVESHARE_NEW_HOST','startTime','state$','capture','close$','getImageSourceCache','SetSelectionsOperation','CHANGESET_ACK','getDeserializedSheetBlock','_univerInstanceService','NOT_FOUND','listRoles','addImageSourceCache','USERS_ENTER','_exhaustRemoteChangesetQueue','_hasher','APPLY_DUPLICATED','_getCtorByUniverType','_oKey','_schedule','_undoRedoService','TOO_MANY_REQUESTS','_onRecvEvent','_localeService','YUUMI_ALL_TABLES_IS_INVALID','members$','collabSubmitChangesetUrl','onRemoteAck','[CollaborationEntity]','send','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ENTITLE_INSUFFICIENT_QUOTA','INVALID_ARGUMENT','PY_RUNTIME_SCRIPT_ERROR','_scheduleCollaborationTimeoutTimer','/universer-api/user/session-ticket','MentionIoHttpService','_onMessage','map','_initUnitPermissionChange','Hex','FetchingMissState','telemetry\x20info\x20is\x20not\x20initialized','_transformRemoteChangesetByStateCache','_changesetSessionId','univer-pro.collaboration-client.single-active-unit-service','3VCGTJj','AWAITING','UniverProCollaboration','getMember','[CollaborationUndoRedoService]','sessionStatus$','_onRemoteChangeset','floor','/universer-api/file/{fileID}/sign-url','_unlockTransition','ENTITLE_DUP_SUBSCRIPTION','_getRedoStack','awaitingChangeset','_isPermissionRej','headers','/rev/','CollaborationImageIoService','symbol','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNAUTHENTICATED','_members','merge','18978970LfQKhT','LIVESHARE_REQUEST_HOST','_onRemoteRejected','_getUploadFileURL','byteOffset','_acknowledgedAwaitingChangeset','members','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_CODE_HAS_BEEN_CREATED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ivSize','YUUMI_CONNECTOR_URL_NOT_FOUND','COMPRESS_MUTATION_SEND','UniverDrawing','_doCryptBlock','HttpImport','session.join-failed','_members$','connection\x20error','init','getTypeOfUnitAdded$','_resendTimeout','stopTime','socket\x20close','_imageSourceCache','size','ISocketService','CollaborationEntity','UNKNOWN_CMD','/universer-api/oidc/authpage','requireSession','enableCollaboration','AuthzIoHttpService','ITransformService','_socketService','ENTITLE_COUPON_EXPIRED','getCollabEntity$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','hasOwnProperty','keySize','UnitSnapshot','UNIVER_SHEET','fromCollab','clamp','[SyncedState]:\x20received\x20acknowledgement.','resend','onRemoteRetry','AES','toDisposable','&assign=','enableOfflineEditing','reqId','GLOBAL_ROOMS_CNT_EXCEEDS','COMMENT_UPDATE','SNAPSHOT_HAS_BEEN_REMOVED','duration','rxjs/operators','subscribe','USER_NOT_INVITED_CODE','INVITE_CODE_ALREADY_BOUND','_removeRoom','socket$','\x20in\x20_schedule.','_toggleOffline','_keyPriorReset','REDEMPTION_USER_NOT_ELIGIBLE','?url=','m2Prime','deleteCollaborator','_throwTelemetryCollaborationNewChangeset','INVITE_CODE_REQUIRED','conflict','_ENC_XFORM_MODE','UnitEmbedded','signUrlServerUrl','\x20-\x20','UniverDocs','ONLINE','_unitID','APPLY_NON_SEQUENTIAL_REVISION','reverse','_commandService','REDEMPTION_INVALID_CODE','appendMutation','Decryptor','Utf8','enc','[OfflineState]:\x20received\x20rejection.','/universer-api/snapshot/','_sendingTimer','Pkcs7','onTransformSelections','\x20to\x20','_data','reduce','PERMISSION_DENIED','entityInit$','Inject','createIdentifier','INGEST','JSONX','BufferedBlockAlgorithm','Optional','_iKey','/fetchmissing?from=','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPLETION_FINISHED','unitInfo$','_candidateSocket','MD5','MSG_FOR_ERROR','_listenToNetworkCondition','unit-cache-','push','UNKNOWN_CODE','params','22JVukjq','LIVESHARE_TERMINATE','updateCursorEvent','onMissedChangesetFetched','/unit/','state','method','_cipher','deepClone','ConflictState','APPLY_REJECT','responseType','loadSheet','/allowed','ISingleActiveUnitService','_sheetTransformSelectionsService','DEFAULT_FILE_NAME','decrypt','join','rev','CHANGESET_SHOULD_RETRY','prototype','getActiveSheet','filter','hasher','_showConflictNotification','_doReset','onMutationExecutedForCollab','loadOfflineData','{fileID}','_rescheduleHeartbeat','CollaborationEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','BehaviorSubject','IUniverInstanceService','_transformIMECache','initWorkbookPermissionChange','formatter','_doFinalize','snapshotServerUrl','_key','localCacheService','_collaborationUIEventService','LOCAL_CACHE_INTERVAL_KEY','resolve','event$','UniverCore','getAllMembers','_event$','cmd','CollaborativeUndoRedoService','csAckEvent','updateSnapshot','sid','getFocusedUnit','MemberService','UniverTelemetry','_state$','crypto','getCollabEntity','ENSURE_SNAPSHOT_EXECUTION','words','OfflineState','1150352DesSIa','status$','_onUserJoin','slice','_onConflict','Subject','/collaborator','ERROR_EXCEED_SIZE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','SHOULD_CLOSE_CONN','random','_remoteChangesetQueue','YUUMI_ASYNCIO_CANCELLED','univer-pro.collaboration-client-socket-service','x-univer-host','_substituteRedoStack','_submitChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','WordArray','dispose','findIndex','socket\x20open.','FETCH_MISS','SOCKET_FAILED_RETRY','SheetsSelectionsService','takeUntil','Base64','_sessionStatus$','isTransformMutationsWithChangesetSuccess','SerializableCipher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','REDEMPTION_CODE_FULLY_REDEEMED','Base','mixIn','isTransformChangesetsSuccess','onRemoteChangeset','_hash','onSendChangeset','_clearTimeoutTimer','finalize','YUUMI_SUBSCRIPTION_NOT_FOUND','Workbook','MUTATION','_onConnectionOpen','_maxTotalRetryTimeout','onRemoteRej','then','_clearRedo','_snapshotService','listCollaborators','onlyLocal','_shouldReportTelemetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_keySchedule','socketService','RETRY_CONNECTING_MAX_COUNT','synced','ReplaySubject','Encryptor','ICollaborationSocketService','getRandomValues','concat','extend','_transformRemoteChangesetByIMECache','USERS_LEAVE','firstValueFrom','isPermissionRej','RECV','UNRECOGNIZED','toString','objectID','CollaborationStatus','_append','OFFLINE','_initCloseConn','_scheduleCompleteTimestamp','max','defineProperty','permissionRejEvent','_httpService','not_collab','_initMergeInterceptor','USER_IS_ANONYMOUS','processBlock','_toggleOnline','default','reset','objectType','432mSuPgW','onload','_transformSelections','_invKeySchedule','[OfflineState]:\x20received\x20changeset.','debug','_doCreateSocket','byteLength','_waitForHeartbeatResponse','_socket$','length','updatePermissionPoint','apply','routeKey','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','toggleOnline','exports','JOIN_ROOM_NOT_EXISTS','HTTPRequest','_injector','getSnapshotAPIPath','copyFileMeta','_createInitialStateImpl','/universer-api/comb','@univerjs/network','awaiting','_onRemoteRetry','readInt32LE','set','_emitMembers','incrementRevOfUnit','_mode','onSyncEditingCollabCursor','_status$','revision','removeMember','liveShareNewHost','_singleActiveUnitService','_transitionLocked','touchDependencies','EMAIL_HAS_BEEN_BOUND','HmacSHA1','_roomMembers','workbook','charCodeAt','createInstance','code','updateCollaborator','roles','_updateStatus','IUndoRedoService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByIMECache','fetchMissingChangesets','disableLocalCache','CBC','amd','origin','_init','_clearScheduledTask','close','reject','_nDataBytes','onTransformState','unitId','CollaborationSocketService','_getSignURL','_waitCount','getUnitType','transformStack\x20failed!','LICENSE_MAX_UNITS_EXCEEDED','FAIL','_applyRemoteChangeset','session.room-full','createCollaborator','UNIVER_SLIDE','[UniverCollaborationClientPlugin]','getValue','_map','fromCharCode','YUUMI_URL_COL_OUT_OF_RANGE','unitID','encryptBlock','_transformStack','HttpExport','PENDING','patch','eventID','LICENSE_EXPORT_SIZE_EXCEEDED','commentUpdate$','LOGIN_TOKEN_PROCESSING_FAILED','OTHER_CLIENTS_EDITING','abs','open$','joinEvent','post','closeSession','downloadEndpointUrl','randomBytes','_prevBlock','MOBILE_HAS_BEEN_BOUND','_config','Cipher','14719311xwmqac','IDLE','__Key__','function','WorkbookEditablePermission','RETRY_CONNECTING_MAX_COUNT_KEY','_getCurrentRevision','isArray','EmptyMutationInfo','RichTextEditingMutation','NoPadding','_registerDependencies','ClipsheetFragments','HEARTBEAT','createSocket','createDecryptor','range','CollaborationUIEventId','JOIN_ROOM_FAILED','executeCommand','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AwaitingWithPendingState','SHA1','operators','UNIVER_DOC','_getAPIPrefix','[PendingState]:\x20received\x20rejection.','_resendWithTimeout','REDEMPTION_CODE_NOT_STARTED','getCurrentSelections','_substituteUndoStack','fetchMiss','selections','_clearRetryConnectingTimer','YUUMI_AI_RUN_FAILED','CHANGESET_REVISION_CONFILICT','addHandlerCallback','[OfflineState]:\x20received\x20acknowledgement.','sin','delay','_instanceService','_nRounds','@univerjs/docs','REDEMPTION_USER_REDEEM_TIMES_EXCEED','fetch_missing','title','Hasher','message$','changesets','YUUMI_NO_CUBOID_FOR_QUESTION','_getDownloadEndpointURL','YUUMI_UNABLE_LOAD_URL','_onCombEvent','PendingState','/role','ENTITLE_COUPON_USED_UP','_HTTPService','JOINING','pad','APPLY_REVISION_CONFILICT','textEncoder','__creator','Could\x20not\x20dynamically\x20require\x20\x22','emitEvent','PasswordBasedCipher','DisposableCollection','salt','WECHAT_HAS_BEEN_BOUND','online$','LocaleService','HTTPService','_createSocket','_onConnectionFailed','collabWebSocketUrl','object','ImageUploadStatusType','_getSendChangesetTimeout','[SyncedState]:\x20received\x20rejection.','LICENSE_IMPORT_SIZE_EXCEEDED','error','Latin1','_revisionService','CollaborationSession','charAt','_doProcessBlock','status','_replayCachedMutations','ws://127.0.0.1:8000/universer-api/comb/connect','delete','saveSnapshot','_clearCollaborationTimeoutTimer','REDEMPTION_CODE_INACTIVE','_createHandler','StreamCipher','kdf','SNAPSHOT_URL_KEY','min','getSheetId','saveImage','c2Prime','baseRev','requestParams','objectActions','isInternalEditorID','cfg','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_undoStacks','every','memberID','_updateLocalCache','ERROR_IMAGE_TYPE','authzUrl','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationState]:\x20apply\x20error!','clear','UniverInstanceType','EMAIL_VERIFY_CODE_MISMATCH','onMissingChangesets','_minBufferSize','get','HEARTBEAT_TIMEOUT','/block/','CommandType','forEach','SheetTransformSelectionsService','HMAC','OPTIONAL','_pendingMutations','saveChangeset','_compressMutationService','_socketReady','_awaitingChangeset','_createHelper','save\x20fail\x20reason\x20is\x20','iterations','MOBILE_VERIFY_CODE_MISMATCH','_decreaseWaiting','userID','unknown','UPDATE_PERMISSION_OBJ','fetchThroughInterceptors','execute','SheetCollaborationEntity','_updateState','onTransformIME','padding','ENTITLE_INVALID_COUPON_CODE','_collabSessionService','stringify','Quantity','infoRsp','complete','@univerjs/core','COMPRESS_MUTATION_APPLY','string','CURRENT_STATUS_CANNOT_OPERATE','session.room-permission-denied','BlockCipher','localeService','609380ZCccPr','algo','_reverseMap','UNIVER_UNKNOWN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','decryptBlock','fetching\x20missing\x20changesets\x20from\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','DocCollaborationEntity','uploadFileServerUrl','_replaceFileID','AwaitingState','getOwnPropertyDescriptor','refreshPermission','LIVESHARE_OPERATION','USER_NOT_FOUND','[CollaborationSessionService]:\x20socket\x20error','IAuthzIoService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','ENTITLE_CHAT_LIMIT_EXCEED','getTypeOfUnitDisposed$','disposeWithMe','ERROR_AGAIN','__esModule','indexOf','c1Prime','_sendHeartbeatTimer','$super','create','splice','getInterceptPoints','[FetchMissState]','updateOfflineData','_entities','collaborators','withCredentials','/object','collaboration-client.local-cache-service','_fetchMissChangesets','transformMutationsWithChangeset','values','HEARTBEAT_INTERVAL','ceil','textRanges','ciphertext','_initRequestHeader','_retryCount','_retryConnectingTimer'];_0x452a=function(){return _0xba2c2f;};return _0x452a();}(function(_0x4ffe7f,_0x51c02e){var _0x328087=_0x4d6f,_0x4f5306=_0x4ffe7f();while(!![]){try{var _0xf48e8=parseInt(_0x328087(0x52e))/0x1+-parseInt(_0x328087(0x559))/0x2+-parseInt(_0x328087(0x27f))/0x3*(-parseInt(_0x328087(0x348))/0x4)+-parseInt(_0x328087(0x4a6))/0x5+parseInt(_0x328087(0x3a0))/0x6*(-parseInt(_0x328087(0x239))/0x7)+parseInt(_0x328087(0x506))/0x8*(-parseInt(_0x328087(0x407))/0x9)+parseInt(_0x328087(0x295))/0xa*(parseInt(_0x328087(0x309))/0xb);if(_0xf48e8===_0x51c02e)break;else _0x4f5306['push'](_0x4f5306['shift']());}catch(_0x2635c8){_0x4f5306['push'](_0x4f5306['shift']());}}}(_0x452a,0xdc667),function(_0x38154d,_0x2f2f31){var _0x5736ea=_0x4d6f;typeof exports==_0x5736ea(0x451)&&typeof module<'u'?_0x2f2f31(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x5736ea(0x40a)&&define[_0x5736ea(0x3d8)]?define([_0x5736ea(0x3b0),'@univerjs-pro/collaboration',_0x5736ea(0x49f),_0x5736ea(0x431),'@univerjs/sheets','rxjs',_0x5736ea(0x51a),_0x5736ea(0x2cd),_0x5736ea(0x3b8),_0x5736ea(0x524),'@univerjs-pro/license'],_0x2f2f31):(_0x38154d=typeof globalThis<'u'?globalThis:_0x38154d||self,_0x2f2f31(_0x38154d[_0x5736ea(0x1cc)]={},_0x38154d[_0x5736ea(0x281)],_0x38154d[_0x5736ea(0x337)],_0x38154d[_0x5736ea(0x2e1)],_0x38154d['UniverSheets'],_0x38154d[_0x5736ea(0x233)],_0x38154d[_0x5736ea(0x341)],_0x38154d[_0x5736ea(0x233)][_0x5736ea(0x41e)],_0x38154d['UniverNetwork'],_0x38154d[_0x5736ea(0x2a2)],_0x38154d[_0x5736ea(0x22a)]));}(this,function(_0x2c717a,_0x9d3528,_0x5a87f6,_0x48d960,_0x2dec7c,_0x49c451,_0x2518fe,_0xf159a2,_0x3f793f,_0x5dfc2e,_0xc549e7){'use strict';var _0x4ef07c=_0x4d6f;var _0x20da00=Object[_0x4ef07c(0x395)],_0x5b51cc=(_0x4933bb,_0x46b72a,_0x22dd56)=>_0x46b72a in _0x4933bb?_0x20da00(_0x4933bb,_0x46b72a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22dd56}):_0x4933bb[_0x46b72a]=_0x22dd56,_0x27ebba=(_0x7d56aa,_0x3051d2,_0x270e3a)=>_0x5b51cc(_0x7d56aa,typeof _0x3051d2!=_0x4ef07c(0x290)?_0x3051d2+'':_0x3051d2,_0x270e3a);const _0x3565d7='/universer-api/snapshot',_0x7cc834=_0x4ef07c(0x466),_0x3de4fd=_0x4ef07c(0x45e),_0x2e1070=_0x4ef07c(0x274),_0xe56939=_0x4ef07c(0x4cf),_0x2c4727=_0x4ef07c(0x47f),_0x426cb4=_0x4ef07c(0x37f),_0x1dd524='LOCAL_CACHE_INTERVAL',_0x12cea0=_0x4ef07c(0x3b7),_0x565a47=_0x4ef07c(0x2b2),_0x5d93ab='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x33b475=_0x4ef07c(0x557);var _0x4c3020=(_0x163d0a=>(_0x163d0a[_0x163d0a[_0x4ef07c(0x1c8)]=0x0]=_0x4ef07c(0x1c8),_0x163d0a[_0x163d0a['OK']=0x1]='OK',_0x163d0a[_0x163d0a['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x163d0a[_0x163d0a[_0x4ef07c(0x2f4)]=0x3]=_0x4ef07c(0x2f4),_0x163d0a[_0x163d0a['NOT_FOUND']=0x4]=_0x4ef07c(0x25b),_0x163d0a[_0x163d0a[_0x4ef07c(0x292)]=0x5]='UNAUTHENTICATED',_0x163d0a[_0x163d0a[_0x4ef07c(0x24a)]=0x6]=_0x4ef07c(0x24a),_0x163d0a[_0x163d0a[_0x4ef07c(0x271)]=0x7]='INVALID_ARGUMENT',_0x163d0a[_0x163d0a[_0x4ef07c(0x266)]=0x8]=_0x4ef07c(0x266),_0x163d0a[_0x163d0a[_0x4ef07c(0x2ff)]=0x9]=_0x4ef07c(0x2ff),_0x163d0a[_0x163d0a['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x163d0a[_0x163d0a[_0x4ef07c(0x48e)]=0xb]=_0x4ef07c(0x48e),_0x163d0a[_0x163d0a[_0x4ef07c(0x41b)]=0xc]=_0x4ef07c(0x41b),_0x163d0a[_0x163d0a[_0x4ef07c(0x47b)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x163d0a[_0x163d0a['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4ef07c(0x29e),_0x163d0a[_0x163d0a[_0x4ef07c(0x29c)]=0xf]=_0x4ef07c(0x29c),_0x163d0a[_0x163d0a[_0x4ef07c(0x3fa)]=0x10]=_0x4ef07c(0x3fa),_0x163d0a[_0x163d0a[_0x4ef07c(0x4a2)]=0x64]=_0x4ef07c(0x4a2),_0x163d0a[_0x163d0a[_0x4ef07c(0x4bc)]=0x65]=_0x4ef07c(0x4bc),_0x163d0a[_0x163d0a[_0x4ef07c(0x4b5)]=0xc9]=_0x4ef07c(0x4b5),_0x163d0a[_0x163d0a[_0x4ef07c(0x39a)]=0xca]=_0x4ef07c(0x39a),_0x163d0a[_0x163d0a[_0x4ef07c(0x42a)]=0x1389]=_0x4ef07c(0x42a),_0x163d0a[_0x163d0a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4ef07c(0x247),_0x163d0a[_0x163d0a[_0x4ef07c(0x2cb)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x163d0a[_0x163d0a[_0x4ef07c(0x345)]=0x1773]=_0x4ef07c(0x345),_0x163d0a[_0x163d0a[_0x4ef07c(0x313)]=0x1b59]=_0x4ef07c(0x313),_0x163d0a[_0x163d0a[_0x4ef07c(0x2e4)]=0x1b5a]=_0x4ef07c(0x2e4),_0x163d0a[_0x163d0a[_0x4ef07c(0x442)]=0x1b5b]=_0x4ef07c(0x442),_0x163d0a[_0x163d0a['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x163d0a[_0x163d0a['APPLY_DUPLICATED']=0x1b5d]=_0x4ef07c(0x261),_0x163d0a[_0x163d0a[_0x4ef07c(0x539)]=0x1f41]=_0x4ef07c(0x539),_0x163d0a[_0x163d0a[_0x4ef07c(0x3e6)]=0x2329]=_0x4ef07c(0x3e6),_0x163d0a[_0x163d0a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4ef07c(0x329),_0x163d0a[_0x163d0a[_0x4ef07c(0x455)]=0x232b]=_0x4ef07c(0x455),_0x163d0a[_0x163d0a[_0x4ef07c(0x3f8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x163d0a[_0x163d0a['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x163d0a[_0x163d0a[_0x4ef07c(0x43a)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x163d0a[_0x163d0a[_0x4ef07c(0x3f0)]=0x2712]=_0x4ef07c(0x3f0),_0x163d0a[_0x163d0a[_0x4ef07c(0x520)]=0x2713]=_0x4ef07c(0x520),_0x163d0a[_0x163d0a[_0x4ef07c(0x370)]=0x2714]=_0x4ef07c(0x370),_0x163d0a[_0x163d0a[_0x4ef07c(0x438)]=0x271a]=_0x4ef07c(0x438),_0x163d0a[_0x163d0a[_0x4ef07c(0x354)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x163d0a[_0x163d0a[_0x4ef07c(0x50c)]=0x271c]=_0x4ef07c(0x50c),_0x163d0a[_0x163d0a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x4ef07c(0x269),_0x163d0a[_0x163d0a[_0x4ef07c(0x4aa)]=0x271e]=_0x4ef07c(0x4aa),_0x163d0a[_0x163d0a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4ef07c(0x429),_0x163d0a[_0x163d0a[_0x4ef07c(0x2a0)]=0x2720]=_0x4ef07c(0x2a0),_0x163d0a[_0x163d0a[_0x4ef07c(0x272)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x163d0a[_0x163d0a[_0x4ef07c(0x521)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x163d0a[_0x163d0a['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x163d0a[_0x163d0a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4ef07c(0x2db),_0x163d0a[_0x163d0a[_0x4ef07c(0x2cf)]=0x2ee4]=_0x4ef07c(0x2cf),_0x163d0a[_0x163d0a[_0x4ef07c(0x2d0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x163d0a[_0x163d0a[_0x4ef07c(0x44a)]=0x32c9]=_0x4ef07c(0x44a),_0x163d0a[_0x163d0a[_0x4ef07c(0x404)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x163d0a[_0x163d0a[_0x4ef07c(0x3c8)]=0x32cb]=_0x4ef07c(0x3c8),_0x163d0a[_0x163d0a[_0x4ef07c(0x212)]=0x36b1]=_0x4ef07c(0x212),_0x163d0a[_0x163d0a[_0x4ef07c(0x26f)]=0x36b2]=_0x4ef07c(0x26f),_0x163d0a[_0x163d0a[_0x4ef07c(0x289)]=0x36b3]=_0x4ef07c(0x289),_0x163d0a[_0x163d0a['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4ef07c(0x4ef),_0x163d0a[_0x163d0a[_0x4ef07c(0x499)]=0x36b5]=_0x4ef07c(0x499),_0x163d0a[_0x163d0a[_0x4ef07c(0x2b8)]=0x36b6]=_0x4ef07c(0x2b8),_0x163d0a[_0x163d0a[_0x4ef07c(0x43e)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x163d0a[_0x163d0a[_0x4ef07c(0x1d5)]=0x36b8]=_0x4ef07c(0x1d5),_0x163d0a[_0x163d0a[_0x4ef07c(0x4b9)]=0x3715]=_0x4ef07c(0x4b9),_0x163d0a[_0x163d0a[_0x4ef07c(0x249)]=0x3716]=_0x4ef07c(0x249),_0x163d0a[_0x163d0a[_0x4ef07c(0x270)]=0x3717]=_0x4ef07c(0x270),_0x163d0a[_0x163d0a[_0x4ef07c(0x50d)]=0x37dd]=_0x4ef07c(0x50d),_0x163d0a[_0x163d0a[_0x4ef07c(0x2e7)]=0x3a99]=_0x4ef07c(0x2e7),_0x163d0a[_0x163d0a[_0x4ef07c(0x462)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x163d0a[_0x163d0a[_0x4ef07c(0x367)]=0x3a9b]=_0x4ef07c(0x367),_0x163d0a[_0x163d0a[_0x4ef07c(0x423)]=0x3a9c]=_0x4ef07c(0x423),_0x163d0a[_0x163d0a[_0x4ef07c(0x2d6)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x163d0a[_0x163d0a['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4ef07c(0x432),_0x163d0a[_0x163d0a[_0x4ef07c(0x29d)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x163d0a[_0x163d0a[_0x4ef07c(0x505)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x163d0a[_0x163d0a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x163d0a))(_0x4c3020||{}),_0x1ac378=(_0x3d356a=>(_0x3d356a[_0x3d356a[_0x4ef07c(0x4a9)]=0x0]='UNIVER_UNKNOWN',_0x3d356a[_0x3d356a[_0x4ef07c(0x41f)]=0x1]='UNIVER_DOC',_0x3d356a[_0x3d356a[_0x4ef07c(0x2be)]=0x2]='UNIVER_SHEET',_0x3d356a[_0x3d356a[_0x4ef07c(0x3eb)]=0x3]=_0x4ef07c(0x3eb),_0x3d356a[_0x3d356a[_0x4ef07c(0x23d)]=0x4]=_0x4ef07c(0x23d),_0x3d356a[_0x3d356a['UNRECOGNIZED']=-0x1]=_0x4ef07c(0x38c),_0x3d356a))(_0x1ac378||{}),_0x529cbe=(_0x5738b8=>(_0x5738b8[_0x5738b8[_0x4ef07c(0x2b1)]=0x0]=_0x4ef07c(0x2b1),_0x5738b8[_0x5738b8[_0x4ef07c(0x4f4)]=0x1]=_0x4ef07c(0x4f4),_0x5738b8[_0x5738b8['JOIN']=0x2]=_0x4ef07c(0x1dd),_0x5738b8[_0x5738b8['LEAVE']=0x3]=_0x4ef07c(0x51d),_0x5738b8[_0x5738b8[_0x4ef07c(0x2f8)]=0x4]=_0x4ef07c(0x2f8),_0x5738b8[_0x5738b8[_0x4ef07c(0x414)]=0x5]='HEARTBEAT',_0x5738b8[_0x5738b8['RECV']=0x6]=_0x4ef07c(0x38b),_0x5738b8[_0x5738b8['UNRECOGNIZED']=-0x1]=_0x4ef07c(0x38c),_0x5738b8))(_0x529cbe||{}),_0x488bd0=(_0x705cf7=>(_0x705cf7[_0x705cf7[_0x4ef07c(0x307)]=0x0]=_0x4ef07c(0x307),_0x705cf7[_0x705cf7['OK']=0x1]='OK',_0x705cf7[_0x705cf7[_0x4ef07c(0x3e7)]=0x2]=_0x4ef07c(0x3e7),_0x705cf7[_0x705cf7[_0x4ef07c(0x1d6)]=0x3e9]=_0x4ef07c(0x1d6),_0x705cf7[_0x705cf7[_0x4ef07c(0x3b1)]=0x3ea]=_0x4ef07c(0x3b1),_0x705cf7[_0x705cf7[_0x4ef07c(0x1db)]=0x3eb]=_0x4ef07c(0x1db),_0x705cf7[_0x705cf7[_0x4ef07c(0x2c9)]=0x3ec]=_0x4ef07c(0x2c9),_0x705cf7[_0x705cf7[_0x4ef07c(0x38c)]=-0x1]='UNRECOGNIZED',_0x705cf7))(_0x488bd0||{}),_0x522cad=(_0x4d2748=>(_0x4d2748[_0x4d2748['Undefined']=0x0]=_0x4ef07c(0x535),_0x4d2748[_0x4d2748[_0x4ef07c(0x2a4)]=0x1]=_0x4ef07c(0x2a4),_0x4d2748[_0x4d2748[_0x4ef07c(0x3f4)]=0x2]=_0x4ef07c(0x3f4),_0x4d2748[_0x4d2748[_0x4ef07c(0x2de)]=0x3]=_0x4ef07c(0x2de),_0x4d2748[_0x4d2748['UnitSnapshot']=0x4]=_0x4ef07c(0x2bd),_0x4d2748[_0x4d2748[_0x4ef07c(0x50a)]=0x5]='UserProfileImg',_0x4d2748[_0x4d2748[_0x4ef07c(0x413)]=0x6]=_0x4ef07c(0x413),_0x4d2748[_0x4d2748[_0x4ef07c(0x38c)]=-0x1]=_0x4ef07c(0x38c),_0x4d2748))(_0x522cad||{});const _0x5739b1=_0x4ef07c(0x1ff);function _0x21a9ab(_0x1dfb32){var _0x1efaa8=_0x4ef07c;return JSON[_0x1efaa8(0x49b)](_0x1dfb32)[_0x1efaa8(0x3aa)];}var _0x28846f=(_0x534e4d=>(_0x534e4d[_0x4ef07c(0x23e)]=_0x4ef07c(0x23e),_0x534e4d[_0x4ef07c(0x2f4)]=_0x4ef07c(0x2f4),_0x534e4d[_0x4ef07c(0x1d0)]=_0x4ef07c(0x1d0),_0x534e4d[_0x4ef07c(0x24d)]='CLOSE_ROOM',_0x534e4d[_0x4ef07c(0x419)]=_0x4ef07c(0x419),_0x534e4d[_0x4ef07c(0x35f)]=_0x4ef07c(0x35f),_0x534e4d[_0x4ef07c(0x4f7)]=_0x4ef07c(0x4f7),_0x534e4d['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x534e4d))(_0x28846f||{});class _0x596edb{constructor(){var _0x334e92=_0x4ef07c;_0x27ebba(this,_0x334e92(0x339),new _0x49c451[(_0x334e92(0x34d))]()),_0x27ebba(this,_0x334e92(0x336),this[_0x334e92(0x339)]['asObservable']());}[_0x4ef07c(0x446)](_0x17640d){this['_event$']['next'](_0x17640d);}}class _0x46eb06{constructor(){var _0x1c3aaa=_0x4ef07c;_0x27ebba(this,'_commentUpdate$',new _0x49c451[(_0x1c3aaa(0x34d))]()),_0x27ebba(this,_0x1c3aaa(0x3f9),this[_0x1c3aaa(0x204)][_0x1c3aaa(0x245)]());}['onCommentUpdate'](_0x4b1b68){var _0x11dc92=_0x4ef07c;this[_0x11dc92(0x204)][_0x11dc92(0x534)](_0x4b1b68);}}var _0x2e7c4d=Object[_0x4ef07c(0x4b2)],_0x579363=(_0x2103de,_0x147c85,_0x408265,_0x2a821a)=>{var _0x11a4da=_0x4ef07c;for(var _0x378e74=_0x2a821a>0x1?void 0x0:_0x2a821a?_0x2e7c4d(_0x147c85,_0x408265):_0x147c85,_0x330358=_0x2103de[_0x11a4da(0x3aa)]-0x1,_0x1e0fa4;_0x330358>=0x0;_0x330358--)(_0x1e0fa4=_0x2103de[_0x330358])&&(_0x378e74=_0x1e0fa4(_0x378e74)||_0x378e74);return _0x378e74;},_0x4a58a4=(_0x5b4660,_0x37c288)=>(_0x4d0748,_0x183f59)=>_0x37c288(_0x4d0748,_0x183f59,_0x5b4660);_0x2c717a['MemberService']=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x43d66e,_0x3d54ab){var _0x22fdee=_0x4ef07c;super(),_0x27ebba(this,_0x22fdee(0x3ca),new Map()),_0x27ebba(this,_0x22fdee(0x54b),new _0x49c451[(_0x22fdee(0x34d))]()),(this[_0x22fdee(0x25a)]=_0x43d66e,this['_userManagerService']=_0x3d54ab,this['disposeWithMe'](_0x49c451[_0x22fdee(0x294)](this[_0x22fdee(0x25a)][_0x22fdee(0x4ba)](_0x5a87f6[_0x22fdee(0x47a)][_0x22fdee(0x2be)])[_0x22fdee(0x50f)](_0xf159a2[_0x22fdee(0x277)](_0x3f4a76=>_0x3f4a76[_0x22fdee(0x224)]())),this[_0x22fdee(0x25a)][_0x22fdee(0x4ba)](_0x5a87f6[_0x22fdee(0x47a)]['UNIVER_DOC'])[_0x22fdee(0x50f)](_0xf159a2[_0x22fdee(0x277)](_0x2dd83e=>_0x2dd83e[_0x22fdee(0x224)]())),this[_0x22fdee(0x25a)][_0x22fdee(0x4ba)](_0x5a87f6[_0x22fdee(0x47a)][_0x22fdee(0x3eb)])[_0x22fdee(0x50f)](_0xf159a2[_0x22fdee(0x277)](_0x6c0ff0=>_0x6c0ff0['getUnitId']())))[_0x22fdee(0x2ce)](_0xad92ba=>this[_0x22fdee(0x2d1)](_0xad92ba))));}[_0x4ef07c(0x1f5)](_0x2d30f0){var _0x482b15=_0x4ef07c;return this[_0x482b15(0x3ca)][_0x482b15(0x4da)](_0x2d30f0)?_0x49c451['of'](this[_0x482b15(0x3ca)][_0x482b15(0x47e)](_0x2d30f0)):this['_roomCreated$']['pipe'](_0xf159a2['map'](_0x12b633=>{var _0x26088e=_0x482b15;if(_0x12b633===_0x2d30f0)return this[_0x26088e(0x3ca)]['get'](_0x12b633);}));}[_0x4ef07c(0x4e7)](_0x4a481e){var _0x41188c=_0x4ef07c;this['_userManagerService'][_0x41188c(0x4e7)](_0x4a481e);}[_0x4ef07c(0x1fb)](){var _0x29d47d=_0x4ef07c;return this[_0x29d47d(0x53c)][_0x29d47d(0x1fb)]();}[_0x4ef07c(0x53a)](_0x2a2f63,_0x3ecf11){var _0x545555=_0x4ef07c;let _0x1c2dae=this['_roomMembers']['get'](_0x2a2f63);_0x1c2dae||(_0x1c2dae=new _0x3a9e2b(),this[_0x545555(0x3ca)][_0x545555(0x3bc)](_0x2a2f63,_0x1c2dae),this[_0x545555(0x54b)][_0x545555(0x534)](_0x2a2f63)),_0x1c2dae[_0x545555(0x53a)](_0x3ecf11);}[_0x4ef07c(0x3c3)](_0x5d2cbc,_0x446c0d){var _0x40b87e=_0x4ef07c;const _0x172002=this[_0x40b87e(0x3ca)][_0x40b87e(0x47e)](_0x5d2cbc);_0x172002&&_0x172002['removeMember'](_0x446c0d);}[_0x4ef07c(0x1cf)](_0x18b1a6){var _0x4ac015=_0x4ef07c;return this['_roomMembers'][_0x4ac015(0x47e)](_0x18b1a6);}[_0x4ef07c(0x282)](_0x535b0e,_0x34c549){var _0x50bcfa=_0x4ef07c;const _0x6517d7=this[_0x50bcfa(0x3ca)]['get'](_0x535b0e);if(_0x6517d7)return _0x6517d7['getMember'](_0x34c549);}[_0x4ef07c(0x2d1)](_0x4f0f6f){var _0x196104=_0x4ef07c;const _0x4c43dc=this[_0x196104(0x3ca)][_0x196104(0x47e)](_0x4f0f6f);_0x4c43dc&&(_0x4c43dc[_0x196104(0x35b)](),this[_0x196104(0x3ca)][_0x196104(0x45f)](_0x4f0f6f));}['dispose'](){var _0x445822=_0x4ef07c;this[_0x445822(0x3ca)][_0x445822(0x482)](_0x447c29=>_0x447c29[_0x445822(0x35b)]()),this[_0x445822(0x3ca)][_0x445822(0x479)](),this['_roomCreated$'][_0x445822(0x49e)]();}},_0x2c717a[_0x4ef07c(0x340)]=_0x579363([_0x4a58a4(0x0,_0x5a87f6[_0x4ef07c(0x32b)]),_0x4a58a4(0x1,_0x5a87f6['Inject'](_0x5a87f6['UserManagerService']))],_0x2c717a[_0x4ef07c(0x340)]);class _0x3a9e2b extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(){var _0x398414=_0x4ef07c;super(...arguments),_0x27ebba(this,'_members',new Map()),_0x27ebba(this,'_members$',new _0x49c451['BehaviorSubject'](this['_members'])),_0x27ebba(this,_0x398414(0x26a),this[_0x398414(0x2a6)]['asObservable']());}[_0x4ef07c(0x35b)](){var _0x4b9e3a=_0x4ef07c;this[_0x4b9e3a(0x293)][_0x4b9e3a(0x479)]();}['updateMember'](_0x34b2b7){var _0xebd72e=_0x4ef07c;this[_0xebd72e(0x293)][_0xebd72e(0x3bc)](_0x34b2b7[_0xebd72e(0x473)],_0x34b2b7),this['_emitMembers']();}[_0x4ef07c(0x3c3)](_0x4748cb){this['_members']['delete'](_0x4748cb);}['getMember'](_0x13e548){var _0x41531f=_0x4ef07c;return this[_0x41531f(0x293)][_0x41531f(0x47e)](_0x13e548);}[_0x4ef07c(0x338)](){var _0x503965=_0x4ef07c;return Array['from'](this[_0x503965(0x293)][_0x503965(0x4ce)]());}[_0x4ef07c(0x3bd)](){var _0x222aa1=_0x4ef07c;this[_0x222aa1(0x2a6)][_0x222aa1(0x534)](this['_members']);}}var _0x20cfdd=Object['getOwnPropertyDescriptor'],_0x26b22f=(_0x2f77eb,_0x5a7518,_0x314b47,_0x3685e7)=>{for(var _0x2f5dc0=_0x3685e7>0x1?void 0x0:_0x3685e7?_0x20cfdd(_0x5a7518,_0x314b47):_0x5a7518,_0x210b89=_0x2f77eb['length']-0x1,_0x2d7bfb;_0x210b89>=0x0;_0x210b89--)(_0x2d7bfb=_0x2f77eb[_0x210b89])&&(_0x2f5dc0=_0x2d7bfb(_0x2f5dc0)||_0x2f5dc0);return _0x2f5dc0;},_0x8d2cf5=(_0x1d1d0d,_0x4d67f6)=>(_0x4e0cea,_0x1fdbd3)=>_0x4d67f6(_0x4e0cea,_0x1fdbd3,_0x1d1d0d),_0x14cf5c=(_0x207c1e=>(_0x207c1e[_0x207c1e[_0x4ef07c(0x408)]=0x0]=_0x4ef07c(0x408),_0x207c1e[_0x207c1e[_0x4ef07c(0x440)]=0x1]='JOINING',_0x207c1e[_0x207c1e[_0x4ef07c(0x391)]=0x2]=_0x4ef07c(0x391),_0x207c1e[_0x207c1e['ONLINE']=0x3]=_0x4ef07c(0x2e2),_0x207c1e))(_0x14cf5c||{});const _0x38ead9={[_0x488bd0['FAIL']]:_0x4ef07c(0x2a5),[_0x488bd0[_0x4ef07c(0x1d6)]]:_0x4ef07c(0x3e9),[_0x488bd0[_0x4ef07c(0x3b1)]]:_0x4ef07c(0x553),[_0x488bd0['JOIN_ROOM_PERMISSION_DENIED']]:_0x4ef07c(0x4a3),[_0x488bd0[_0x4ef07c(0x2c9)]]:_0x4ef07c(0x24c)};_0x2c717a[_0x4ef07c(0x459)]=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x515f92,_0xf24fd7,_0x28cf73,_0x16223b,_0x390118,_0x5b7d3f,_0x30e1a3,_0x4e1070){var _0x3fd6fb=_0x4ef07c;super(),_0x27ebba(this,'_sessionStatus$',new _0x49c451[(_0x3fd6fb(0x32a))](0x0)),_0x27ebba(this,_0x3fd6fb(0x284),this[_0x3fd6fb(0x363)]['asObservable']()),_0x27ebba(this,_0x3fd6fb(0x339),new _0x49c451[(_0x3fd6fb(0x34d))]()),_0x27ebba(this,_0x3fd6fb(0x336),this[_0x3fd6fb(0x339)][_0x3fd6fb(0x245)]()),_0x27ebba(this,'_socket'),_0x27ebba(this,_0x3fd6fb(0x512)),_0x27ebba(this,'_collaborationTimeoutTimer'),_0x27ebba(this,'_shouldReportTelemetry',!0x1),_0x27ebba(this,_0x3fd6fb(0x236),null),(this[_0x3fd6fb(0x2e3)]=_0x515f92,this[_0x3fd6fb(0x1df)]=_0x28cf73,this[_0x3fd6fb(0x238)]=_0x16223b,this['_memberService']=_0x390118,this[_0x3fd6fb(0x4fd)]=_0x5b7d3f,this[_0x3fd6fb(0x333)]=_0x30e1a3,this[_0x3fd6fb(0x223)]=_0x4e1070,this[_0x3fd6fb(0x37b)]=!!this[_0x3fd6fb(0x223)],_0xf24fd7['pipe'](_0x49c451[_0x3fd6fb(0x361)](this['dispose$']))[_0x3fd6fb(0x2ce)](_0x379bf4=>{var _0x404829=_0x3fd6fb,_0x4845a4;typeof _0x379bf4>'u'||(this['_socket']=_0x379bf4,_0x379bf4?(this['_joinRoom'](_0x379bf4),this[_0x404829(0x512)]=_0x379bf4['message$'][_0x404829(0x2ce)](_0x3070f4=>{var _0x374398=_0x404829;_0x3070f4['routeKey']===this[_0x374398(0x2e3)]&&this[_0x374398(0x43b)](_0x3070f4);})):(this[_0x404829(0x2da)](),this[_0x404829(0x363)][_0x404829(0x534)](0x2),(_0x4845a4=this[_0x404829(0x512)])==null||_0x4845a4[_0x404829(0x22b)](),this['_socketMessageSubscription']=null));}));}get[_0x4ef07c(0x20d)](){var _0x520b6c=_0x4ef07c;return this[_0x520b6c(0x363)][_0x520b6c(0x3ed)]();}['getMemberID'](){var _0x572a31=_0x4ef07c,_0x1c3f02,_0x5dd1e0;return(_0x5dd1e0=(_0x1c3f02=this[_0x572a31(0x1fe)])==null?void 0x0:_0x1c3f02[_0x572a31(0x473)])!=null?_0x5dd1e0:null;}['dispose'](){var _0x255046=_0x4ef07c;super['dispose'](),this['dispose$'][_0x255046(0x534)](),this['dispose$']['complete']();}[_0x4ef07c(0x3dc)](){var _0x241ba5=_0x4ef07c,_0x50d2c4,_0x5e9576;this[_0x241ba5(0x2da)](),(_0x50d2c4=this[_0x241ba5(0x1fe)])==null||_0x50d2c4[_0x241ba5(0x26e)]({'cmd':_0x529cbe['LEAVE'],'data':{'roomID':this[_0x241ba5(0x2e3)]}}),(_0x5e9576=this[_0x241ba5(0x1fe)])==null||_0x5e9576['close'](),this[_0x241ba5(0x339)][_0x241ba5(0x49e)](),this[_0x241ba5(0x363)]['complete'](),this[_0x241ba5(0x35b)]();}[_0x4ef07c(0x43b)](_0x43b07d){var _0x12b79b=_0x4ef07c;_0x43b07d['cmd']===_0x529cbe['JOIN']?this['_onJoinRoomEvent'](_0x43b07d):_0x43b07d['cmd']===_0x529cbe['RECV']&&this[_0x12b79b(0x267)](_0x43b07d);}[_0x4ef07c(0x1fc)](_0x5d95d4){var _0x2d54e1=_0x4ef07c;this[_0x2d54e1(0x363)]['next'](0x1),_0x5d95d4['send']({'cmd':_0x529cbe[_0x2d54e1(0x1dd)],'routeKey':this[_0x2d54e1(0x2e3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2d54e1(0x2e3)]}]}});}['_onJoinRoomEvent'](_0x23efa0){var _0x4ce5d7=_0x4ef07c,_0x4ac154;if(_0x23efa0[_0x4ce5d7(0x3ce)]in _0x38ead9){this['_collaborationUIEventService'][_0x4ce5d7(0x446)]({'id':_0x28846f[_0x4ce5d7(0x419)],'data':_0x38ead9[_0x23efa0['code']]}),this[_0x4ce5d7(0x363)]['next'](0x2);return;}this[_0x4ce5d7(0x363)][_0x4ce5d7(0x534)](0x3);const _0x17b867=(_0x4ac154=_0x23efa0[_0x4ce5d7(0x511)][_0x4ce5d7(0x1e7)][this['_unitID']])==null?void 0x0:_0x4ac154[_0x4ce5d7(0x29b)];_0x17b867&&_0x17b867[_0x4ce5d7(0x482)](_0x4669f8=>this[_0x4ce5d7(0x206)][_0x4ce5d7(0x53a)](this['_unitID'],_0x4669f8));}[_0x4ef07c(0x267)](_0x5584ae){var _0x343713=_0x4ef07c;try{const _0x124bd5=_0x5584ae[_0x343713(0x511)];switch(_0x124bd5[_0x343713(0x3f7)]){case _0x9d3528[_0x343713(0x328)][_0x343713(0x25e)]:this[_0x343713(0x34a)](_0x124bd5),this[_0x343713(0x339)]['next'](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)][_0x343713(0x388)]:this[_0x343713(0x551)](_0x124bd5),this[_0x343713(0x339)][_0x343713(0x534)](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)][_0x343713(0x258)]:case _0x9d3528[_0x343713(0x328)]['CHANGESET_SHOULD_RETRY']:this[_0x343713(0x1dc)](),this[_0x343713(0x461)](),this['_event$'][_0x343713(0x534)](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)][_0x343713(0x303)]:this['_logService'][_0x343713(0x456)](_0x343713(0x48c)+JSON[_0x343713(0x49b)](_0x124bd5)),this[_0x343713(0x339)][_0x343713(0x534)](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)]['COMMENT_UPDATE']:this[_0x343713(0x4fd)][_0x343713(0x214)](_0x124bd5['data']),this[_0x343713(0x339)]['next'](_0x124bd5);break;default:this[_0x343713(0x339)][_0x343713(0x534)](_0x124bd5);}}catch(_0x280ff6){this[_0x343713(0x1df)][_0x343713(0x456)](_0x280ff6,_0x5584ae);}}[_0x4ef07c(0x34a)](_0x3ecdd0){var _0x1d95a8=_0x4ef07c;this[_0x1d95a8(0x206)]['updateMember'](this[_0x1d95a8(0x2e3)],_0x3ecdd0[_0x1d95a8(0x511)]);}[_0x4ef07c(0x551)](_0x591132){var _0xdedddf=_0x4ef07c;this['_memberService']['removeMember'](this[_0xdedddf(0x2e3)],_0x591132[_0xdedddf(0x511)][_0xdedddf(0x473)]);}async[_0x4ef07c(0x26e)](_0x376580,_0x5585ce){var _0x3de0c7=_0x4ef07c;if(this['sessionStatus']!==0x3||!this[_0x3de0c7(0x1fe)])throw new Error(_0x3de0c7(0x3ae));try{_0x376580[_0x3de0c7(0x3f7)]===_0x9d3528['CollaborationEvent'][_0x3de0c7(0x543)]&&(this[_0x3de0c7(0x273)](),this[_0x3de0c7(0x1e6)](_0x376580)),this['_socket'][_0x3de0c7(0x26e)]({'cmd':_0x529cbe[_0x3de0c7(0x2f8)],'routeKey':_0x5585ce,'routeType':'','data':_0x376580});}catch(_0x2250b1){this[_0x3de0c7(0x1df)]['error'](_0x2250b1);}}['_scheduleCollaborationTimeoutTimer'](){var _0x51ba5d=_0x4ef07c,_0x32bad4;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x91284e=_0x4d6f;this[_0x91284e(0x507)]=null,this[_0x91284e(0x333)]['emitEvent']({'id':_0x28846f[_0x91284e(0x250)]});},(_0x32bad4=this[_0x51ba5d(0x238)]['getConfig'](_0x2c4727))!=null?_0x32bad4:0x4e20);}[_0x4ef07c(0x461)](){var _0x21cf75=_0x4ef07c;this[_0x21cf75(0x507)]&&(clearTimeout(this[_0x21cf75(0x507)]),this[_0x21cf75(0x507)]=null);}[_0x4ef07c(0x1e6)](_0x51d5f5){var _0x3071e6=_0x4ef07c;if(!this[_0x3071e6(0x37b)])return;const {data:_0x3e6f83}=_0x51d5f5,{unitID:_0x3f5bc4,changeset:_0x3fd09d}=_0x3e6f83,{mutations:_0x12ed6f,type:_0x4d26c1}=_0x3fd09d;this['_telemetryInfo']={'unitId':_0x3f5bc4,'type':_0x4d26c1,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x21a9ab(_0x12ed6f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x51c23f=_0x4ef07c;if(this[_0x51c23f(0x37b)]){if(!this[_0x51c23f(0x236)]){this[_0x51c23f(0x1df)][_0x51c23f(0x456)]('[CollaborationSession]',_0x51c23f(0x27b));return;}this['_telemetryInfo'][_0x51c23f(0x2ab)]=performance[_0x51c23f(0x52d)](),this[_0x51c23f(0x236)][_0x51c23f(0x2cc)]=this[_0x51c23f(0x236)][_0x51c23f(0x2ab)]-this['_telemetryInfo'][_0x51c23f(0x252)],this['_telemetryService'][_0x51c23f(0x254)](_0x5739b1,this[_0x51c23f(0x236)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x342d47=_0x4ef07c;this[_0x342d47(0x236)]=null;}},_0x2c717a[_0x4ef07c(0x459)]=_0x26b22f([_0x8d2cf5(0x2,_0x5a87f6[_0x4ef07c(0x546)]),_0x8d2cf5(0x3,_0x5a87f6['IConfigService']),_0x8d2cf5(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a[_0x4ef07c(0x340)])),_0x8d2cf5(0x5,_0x5a87f6[_0x4ef07c(0x2f6)](_0x46eb06)),_0x8d2cf5(0x6,_0x5a87f6['Inject'](_0x596edb)),_0x8d2cf5(0x7,_0x5a87f6[_0x4ef07c(0x2fb)](_0x2518fe['ITelemetryService']))],_0x2c717a[_0x4ef07c(0x459)]);const _0x11ccb1=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x4cb));function _0x11afa6(_0x341960){var _0x4967f9=_0x4ef07c;return _0x4967f9(0x305)+_0x341960;}var _0x3384b4=Object[_0x4ef07c(0x4b2)],_0x38f562=(_0x5469dd,_0x4e9e9e,_0x2f6cb3,_0xd5084e)=>{var _0x38b940=_0x4ef07c;for(var _0x5ef401=_0xd5084e>0x1?void 0x0:_0xd5084e?_0x3384b4(_0x4e9e9e,_0x2f6cb3):_0x4e9e9e,_0x467410=_0x5469dd[_0x38b940(0x3aa)]-0x1,_0x628f0c;_0x467410>=0x0;_0x467410--)(_0x628f0c=_0x5469dd[_0x467410])&&(_0x5ef401=_0x628f0c(_0x5ef401)||_0x5ef401);return _0x5ef401;},_0x184fa5=(_0x2682ee,_0x5a3848)=>(_0x27e913,_0x3c6c20)=>_0x5a3848(_0x27e913,_0x3c6c20,_0x2682ee);function _0xea93f0(_0x575db1){var _0x3c36f6=_0x4ef07c;const {unitID:_0x5c14b9,mutations:_0x2e8b04}=_0x575db1;return{'unitId':_0x5c14b9,'subUnitId':_0x2e8b04['length']>0x0?_0x2e8b04[0x0][_0x3c36f6(0x308)][_0x3c36f6(0x235)]:null};}_0x2c717a[_0x4ef07c(0x483)]=class{constructor(_0x8853a2,_0x23eb35,_0x474069){var _0x288e3e=_0x4ef07c;this['_injector']=_0x8853a2,this[_0x288e3e(0x4d6)]=_0x23eb35,this[_0x288e3e(0x42f)]=_0x474069;}[_0x4ef07c(0x208)](_0x36956d){var _0x47551d=_0x4ef07c,_0x58263e,_0x1d19fa,_0x1b1c7a,_0x5dbecb;const _0x2d8b90=this[_0x47551d(0x3b3)]['get'](_0x2dec7c[_0x47551d(0x360)]),{unitId:_0xc54919,subUnitId:_0x2ff688}=_0xea93f0(_0x36956d),_0x219f7c=_0x2d8b90==null?void 0x0:_0x2d8b90['getWorkbookSelections'](_0xc54919)[_0x47551d(0x424)](),_0x389c0c=(_0x1d19fa=(_0x58263e=this[_0x47551d(0x42f)][_0x47551d(0x55a)](_0xc54919))==null?void 0x0:_0x58263e[_0x47551d(0x31f)]())==null?void 0x0:_0x1d19fa[_0x47551d(0x468)]();if(_0x219f7c[_0x47551d(0x3aa)]===0x0||!_0xc54919||!_0x2ff688)return;const _0xd46a06=[{'id':_0x2dec7c[_0x47551d(0x257)]['id'],'params':{'unitId':_0xc54919,'subUnitId':_0x389c0c,'selections':_0x5a87f6[_0x47551d(0x248)][_0x47551d(0x311)](_0x219f7c)}}],_0x59f520=this[_0x47551d(0x4d6)]['transformMutationsWithChangeset'](_0x36956d,_0xd46a06);if(!_0x9d3528[_0x47551d(0x364)](_0x59f520))throw _0x59f520[_0x47551d(0x456)];const _0x2e0e7c=(_0x5dbecb=(_0x1b1c7a=_0x59f520[_0x47551d(0x2d8)][0x0])==null?void 0x0:_0x1b1c7a[_0x47551d(0x308)])==null?void 0x0:_0x5dbecb[_0x47551d(0x427)];if(Array[_0x47551d(0x40e)](_0x2e0e7c)&&_0x2e0e7c[_0x47551d(0x3aa)]){if(_0x2e0e7c[_0x47551d(0x3aa)]===_0xd46a06[0x0][_0x47551d(0x308)][_0x47551d(0x427)][_0x47551d(0x3aa)]&&_0x2e0e7c['every']((_0x4c58b7,_0x23aab8)=>_0x5a87f6[_0x47551d(0x23b)]['equals'](_0x4c58b7['range'],_0xd46a06[0x0][_0x47551d(0x308)][_0x47551d(0x427)][_0x23aab8][_0x47551d(0x417)])))return;this[_0x47551d(0x3b3)][_0x47551d(0x47e)](_0x5a87f6['ICommandService'])['executeCommand'](_0x2dec7c[_0x47551d(0x257)]['id'],{'unitId':_0xc54919,'subUnitId':_0x389c0c,'selections':_0x2e0e7c});}}},_0x2c717a[_0x4ef07c(0x483)]=_0x38f562([_0x184fa5(0x0,_0x5a87f6['Inject'](_0x5a87f6['Injector'])),_0x184fa5(0x1,_0x9d3528[_0x4ef07c(0x2b6)]),_0x184fa5(0x2,_0x5a87f6[_0x4ef07c(0x32b)])],_0x2c717a['SheetTransformSelectionsService']);const _0x53cb33=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x27e));var _0x11b621=(_0x3391ce=>(_0x3391ce[_0x3391ce[_0x4ef07c(0x52f)]=0x0]=_0x4ef07c(0x52f),_0x3391ce[_0x3391ce[_0x4ef07c(0x3fb)]=0x1]=_0x4ef07c(0x3fb),_0x3391ce))(_0x11b621||{});const _0x50bbc4='collaboration-client.config',_0x5a3a37={};function _0x7faaaa(_0x5a15a0){var _0x3cc35f=_0x4ef07c,_0x400e47;return!!((_0x400e47=_0x5a15a0[_0x3cc35f(0x308)])!=null&&_0x400e47[_0x3cc35f(0x54e)]);}const _0x5e7697=new Set([_0x2dec7c['InsertSheetMutation']['id']]);function _0x2064b5(_0x244c1c,_0x5535bb,_0x24f875,_0x56bdcd,_0x1928f2){var _0xb59aba=_0x4ef07c,_0xd6e71d,_0x2150aa,_0xd9d92f,_0x30f644;const _0x4a8e08=[];for(const _0x225b64 of _0x244c1c){if(_0x5e7697[_0xb59aba(0x4da)](_0x225b64['id'])){if(_0x4a8e08['length']>0x0)break;_0x4a8e08['push'](_0x225b64);break;}if(_0x7faaaa(_0x225b64)){if(_0x4a8e08[_0xb59aba(0x3aa)]>0x0)break;_0x4a8e08[_0xb59aba(0x306)](_0x225b64);break;}_0x4a8e08[_0xb59aba(0x306)](_0x225b64);}const _0x19166c=(_0x2150aa=(_0xd6e71d=_0x1928f2[_0xb59aba(0x1fb)]())==null?void 0x0:_0xd6e71d['userID'])!=null?_0x2150aa:_0xb59aba(0x491),_0x1191eb=(_0x30f644=(_0xd9d92f=_0x1928f2[_0xb59aba(0x1fb)]())==null?void 0x0:_0xd9d92f[_0xb59aba(0x473)])!=null?_0x30f644:_0xb59aba(0x491);return{'changeset':{'unitID':_0x5535bb,'type':_0x9d3528[_0xb59aba(0x52b)](_0x24f875[_0xb59aba(0x3e4)](_0x5535bb)),'baseRev':_0x56bdcd['getCurrentRevOfUnit'](_0x5535bb),'revision':0x0,'userID':_0x19166c,'memberID':_0x1191eb,'mutations':_0x4a8e08},'pendingMutations':_0x244c1c[_0xb59aba(0x34b)](_0x4a8e08['length'])};}function _0x2858ca(_0x5dc581,_0x492bb2,_0x502851,_0x53746c,_0x42a519){var _0x377937=_0x4ef07c,_0x21895f,_0xdd4f61,_0x17b9ea,_0x1eeee5;const _0x169b55=[_0x5dc581[_0x377937(0x2f3)]((_0x266a07,_0x1ac2c3)=>{var _0x534e4e=_0x377937,_0x347488;const {id:_0x553efd}=_0x266a07,{id:_0x5cb72a,type:_0x7fad65}=_0x1ac2c3,_0x468022=(_0x347488=_0x266a07[_0x534e4e(0x308)])!=null?_0x347488:{'actions':null},_0x4c1cc9=_0x1ac2c3['params'];if(_0x553efd&&_0x553efd!==_0x5cb72a)throw new Error(_0x534e4e(0x510)+_0x553efd+_0x534e4e(0x2e0)+_0x5cb72a+'.');return{..._0x266a07,'id':_0x5cb72a,'type':_0x7fad65,'params':{'unitId':_0x4c1cc9[_0x534e4e(0x3e0)],'textRanges':_0x4c1cc9[_0x534e4e(0x4d1)],'actions':_0x5a87f6[_0x534e4e(0x2f9)][_0x534e4e(0x23a)](_0x468022[_0x534e4e(0x4dc)],_0x4c1cc9[_0x534e4e(0x4dc)])}};},{})],_0x167e11=(_0xdd4f61=(_0x21895f=_0x42a519[_0x377937(0x1fb)]())==null?void 0x0:_0x21895f[_0x377937(0x490)])!=null?_0xdd4f61:'unknown',_0x49367c=(_0x1eeee5=(_0x17b9ea=_0x42a519[_0x377937(0x1fb)]())==null?void 0x0:_0x17b9ea['memberID'])!=null?_0x1eeee5:_0x377937(0x491);return{'changeset':{'unitID':_0x492bb2,'type':_0x9d3528[_0x377937(0x52b)](_0x502851[_0x377937(0x3e4)](_0x492bb2)),'baseRev':_0x53746c[_0x377937(0x526)](_0x492bb2),'revision':0x0,'userID':_0x167e11,'memberID':_0x49367c,'mutations':_0x169b55},'pendingMutations':[]};}function _0x260427(_0x579418,_0x565ad6){var _0x2a0c42=_0x4ef07c;const _0x1e7b14=new _0x49c451[(_0x2a0c42(0x381))](0x1);return setTimeout(()=>_0x1e7b14['next'](_0x565ad6),_0x579418),_0x1e7b14[_0x2a0c42(0x245)]()['pipe'](_0x49c451[_0x2a0c42(0x1cb)](0x1));}var _0x66d30f=Object[_0x4ef07c(0x4b2)],_0x1b743b=(_0x8c705f,_0x2be0fb,_0x4ec8b8,_0xe7becb)=>{var _0x13e8cd=_0x4ef07c;for(var _0x27efa3=_0xe7becb>0x1?void 0x0:_0xe7becb?_0x66d30f(_0x2be0fb,_0x4ec8b8):_0x2be0fb,_0x3f164d=_0x8c705f[_0x13e8cd(0x3aa)]-0x1,_0x209236;_0x3f164d>=0x0;_0x3f164d--)(_0x209236=_0x8c705f[_0x3f164d])&&(_0x27efa3=_0x209236(_0x27efa3)||_0x27efa3);return _0x27efa3;},_0x2ed7f1=(_0x47ac24,_0x603494)=>(_0x102dab,_0x37b759)=>_0x603494(_0x102dab,_0x37b759,_0x47ac24),_0x12c0ef=(_0x3e892d=>(_0x3e892d['NOT_COLLAB']=_0x4ef07c(0x398),_0x3e892d['SYNCED']='synced',_0x3e892d[_0x4ef07c(0x3f5)]=_0x4ef07c(0x209),_0x3e892d[_0x4ef07c(0x280)]=_0x4ef07c(0x3b9),_0x3e892d[_0x4ef07c(0x1d7)]='awaiting_with_pending',_0x3e892d[_0x4ef07c(0x35e)]=_0x4ef07c(0x433),_0x3e892d['CONFLICT']='conflict',_0x3e892d['OFFLINE']='offline',_0x3e892d))(_0x12c0ef||{});const _0x377f2d=0x4e20,_0x152f5d=0x2bf20;class _0x4f4aaa{constructor(_0x326184,_0x1395e1,_0x48c282,_0x5a58b4,_0x4503a5,_0x1fdf84,_0x2a2b32,_0x43af01,_0x291235){var _0x362be4=_0x4ef07c;_0x27ebba(this,_0x362be4(0x48a),null),_0x27ebba(this,'_pendingMutations',[]),(this[_0x362be4(0x3f1)]=_0x326184,this['type']=_0x1395e1,this[_0x362be4(0x1e2)]=_0x4503a5,this[_0x362be4(0x2e6)]=_0x1fdf84,this['_undoRedoService']=_0x2a2b32,this['_revisionService']=_0x43af01,this[_0x362be4(0x4d9)]=_0x291235,this['_awaitingChangeset']=_0x48c282,this['_pendingMutations']=_0x5a58b4);}[_0x4ef07c(0x203)](_0x139707){var _0xb316e3=_0x4ef07c;const _0x5d45df=this[_0xb316e3(0x458)][_0xb316e3(0x526)](this[_0xb316e3(0x3f1)]);return _0x139707[_0xb316e3(0x3c2)]>_0x5d45df+0x1?(this[_0xb316e3(0x1e2)]['onMissingChangesets']({'from':_0x5d45df,'to':_0x139707[_0xb316e3(0x3c2)]-0x1}),!0x0):!0x1;}[_0x4ef07c(0x241)](_0x5f93bc){var _0x2909d3=_0x4ef07c;this[_0x2909d3(0x265)][_0x2909d3(0x4e4)](this[_0x2909d3(0x3f1)],_0x5f93bc);}[_0x4ef07c(0x3a2)](_0x5a8019){var _0x457280=_0x4ef07c,_0xb3417c,_0x986be6;(_0x986be6=(_0xb3417c=this['_handler'])[_0x457280(0x2f0)])==null||_0x986be6[_0x457280(0x24b)](_0xb3417c,_0x5a8019);}[_0x4ef07c(0x32c)](_0x230b8a){var _0x2a5fa9=_0x4ef07c,_0x56f8a6,_0x536ecd;return(_0x536ecd=(_0x56f8a6=this[_0x2a5fa9(0x1e2)])[_0x2a5fa9(0x497)])==null?void 0x0:_0x536ecd[_0x2a5fa9(0x24b)](_0x56f8a6,_0x230b8a);}[_0x4ef07c(0x1d8)](_0xdaa4c){var _0x3c00a0=_0x4ef07c,_0x23ae84,_0x57c73d;return(_0x57c73d=(_0x23ae84=this['_handler'])[_0x3c00a0(0x3df)])==null?void 0x0:_0x57c73d['call'](_0x23ae84,_0xdaa4c);}[_0x4ef07c(0x387)](_0x5eaf18){var _0x11a516=_0x4ef07c,_0x203bbd,_0x373aad,_0x453934;return(_0x453934=(_0x373aad=(_0x203bbd=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x373aad[_0x11a516(0x24b)](_0x203bbd,_0x5eaf18))!=null?_0x453934:_0x5eaf18;}[_0x4ef07c(0x27c)](_0x37a89c){var _0x49322c=_0x4ef07c,_0x171db8,_0x1644d4,_0x4a4d07;return(_0x4a4d07=(_0x1644d4=(_0x171db8=this[_0x49322c(0x1e2)])[_0x49322c(0x561)])==null?void 0x0:_0x1644d4['call'](_0x171db8,_0x37a89c))!=null?_0x4a4d07:_0x37a89c;}['_syncEditingCollabCursor'](_0x2ca8fd){var _0x10b749=_0x4ef07c,_0x1d86ef,_0x8e8b43;if(this[_0x10b749(0x527)]===_0x1ac378[_0x10b749(0x41f)]){const {unitID:_0x31cc80,mutations:_0x54b185,memberID:_0x3db23d}=_0x2ca8fd,_0x276e8e=_0x54b185[_0x10b749(0x3aa)]>0x0?_0x54b185[0x0]['params'][_0x10b749(0x4d1)]:[];Array[_0x10b749(0x40e)](_0x276e8e)&&_0x276e8e[_0x10b749(0x3aa)]>0x0&&((_0x8e8b43=(_0x1d86ef=this[_0x10b749(0x1e2)])[_0x10b749(0x3c0)])==null||_0x8e8b43[_0x10b749(0x24b)](_0x1d86ef,{'unitID':_0x31cc80,'memberID':_0x3db23d,'textRanges':_0x276e8e}));}}[_0x4ef07c(0x474)](){var _0x4168ba=_0x4ef07c,_0xa478f0;(_0xa478f0=this[_0x4168ba(0x4d9)])==null||_0xa478f0[_0x4168ba(0x4c6)](this[_0x4168ba(0x3f1)],this[_0x4168ba(0x527)],this['_awaitingChangeset'],this[_0x4168ba(0x486)]);}['_getCurrentRevision'](){var _0x3dde2f=_0x4ef07c;return this[_0x3dde2f(0x458)][_0x3dde2f(0x526)](this[_0x3dde2f(0x3f1)]);}[_0x4ef07c(0x4f5)](){var _0x3fd002=_0x4ef07c;this[_0x3fd002(0x458)][_0x3fd002(0x3be)](this[_0x3fd002(0x3f1)]);}['_executeRemoteChangeset'](_0x47d632){var _0x279558=_0x4ef07c,_0x25b0a6;let _0x4ac9f4=this[_0x279558(0x387)](_0x47d632);_0x4ac9f4=this[_0x279558(0x27c)](_0x4ac9f4);const _0x2431d7=_0x5a87f6[_0x279558(0x4eb)](_0x4ac9f4[_0x279558(0x519)],this[_0x279558(0x2e6)],{'fromCollab':!0x0});if(!_0x2431d7[_0x279558(0x1f0)])throw _0x2431d7[_0x279558(0x456)]instanceof Error?_0x2431d7['error']:new Error((_0x25b0a6=_0x2431d7[_0x279558(0x456)])!=null?_0x25b0a6:_0x279558(0x478));this[_0x279558(0x32c)](_0x4ac9f4),this[_0x279558(0x1d8)](_0x4ac9f4),this[_0x279558(0x241)](_0x47d632),this['_transformSelections'](_0x4ac9f4),this['_syncEditingCollabCursor'](_0x4ac9f4),this[_0x279558(0x4f5)]();}}_0x2c717a[_0x4ef07c(0x51c)]=class extends _0x4f4aaa{constructor(_0x485b60,_0x1a6861,_0x4fe247,_0x296f3c,_0x2ee2a3,_0x259bff,_0x10797f,_0xb51c1d,_0x18e4a7,_0x58024c){var _0x33599d=_0x4ef07c;super(_0x485b60,_0x1a6861,null,[],_0x4fe247,_0x10797f,_0x259bff,_0x296f3c,_0x58024c),_0x27ebba(this,'status',_0x33599d(0x380)),(this['_injector']=_0x2ee2a3,this[_0x33599d(0x1df)]=_0xb51c1d,this['_transformService']=_0x18e4a7,this[_0x33599d(0x332)]=_0x58024c);}[_0x4ef07c(0x2e8)](_0x26bb3f){var _0x11dc76=_0x4ef07c;const _0x151feb=this[_0x11dc76(0x3b3)][_0x11dc76(0x3cd)](_0x2c717a[_0x11dc76(0x43c)],this[_0x11dc76(0x3f1)],this[_0x11dc76(0x527)],[_0x26bb3f],this['_handler']);return _0x151feb['_schedule'](),_0x151feb[_0x11dc76(0x474)](),_0x151feb;}[_0x4ef07c(0x36b)](_0x242e3b){var _0x232fcc=_0x4ef07c;if(this[_0x232fcc(0x203)](_0x242e3b))return this[_0x232fcc(0x3b3)][_0x232fcc(0x3cd)](_0x2c717a[_0x232fcc(0x27a)],this[_0x232fcc(0x3f1)],this[_0x232fcc(0x527)],null,[],null,[_0x242e3b],this[_0x232fcc(0x1e2)]);try{const _0x28b157=this[_0x232fcc(0x4d6)]['transformMutationsWithChangeset'](_0x242e3b,[_0x9d3528[_0x232fcc(0x40f)]]);if(_0x9d3528[_0x232fcc(0x364)](_0x28b157)){const {c1Prime:_0x4a257e}=_0x28b157;return this[_0x232fcc(0x518)](_0x4a257e),this;}throw _0x28b157[_0x232fcc(0x456)];}catch(_0x4663bd){return this[_0x232fcc(0x1df)][_0x232fcc(0x456)](_0x4663bd),this[_0x232fcc(0x34c)](!0x1);}}['_onConflict'](_0x12443e){var _0x119342=_0x4ef07c;return this[_0x119342(0x3b3)]['createInstance'](_0x2c717a[_0x119342(0x312)],this[_0x119342(0x3f1)],this[_0x119342(0x527)],null,[],this['_handler'],_0x12443e);}[_0x4ef07c(0x26c)](){var _0x9075c8=_0x4ef07c;throw new Error(_0x9075c8(0x2c1));}['onRemoteRej'](){var _0x597c64=_0x4ef07c;throw new Error(_0x597c64(0x454));}[_0x4ef07c(0x2c3)](){return this;}['toggleOffline'](){var _0x3f0186=_0x4ef07c;return this[_0x3f0186(0x3b3)]['createInstance'](_0x2c717a[_0x3f0186(0x347)],this['unitID'],this['type'],null,[],this[_0x3f0186(0x1e2)]);}[_0x4ef07c(0x3af)](){return this;}['resend'](){var _0x41a7a8=_0x4ef07c;throw new Error(_0x41a7a8(0x3d3));}[_0x4ef07c(0x426)](){var _0x5cc425=_0x4ef07c;const _0x558d37=this[_0x5cc425(0x458)][_0x5cc425(0x526)](this[_0x5cc425(0x3f1)]);return this[_0x5cc425(0x1e2)][_0x5cc425(0x47c)]({'from':_0x558d37,'to':0x0}),this[_0x5cc425(0x3b3)][_0x5cc425(0x3cd)](_0x2c717a[_0x5cc425(0x27a)],this[_0x5cc425(0x3f1)],this['type'],null,[],null,[],this['_handler']);}},_0x2c717a[_0x4ef07c(0x51c)]=_0x1b743b([_0x2ed7f1(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x5,_0x5a87f6['IUndoRedoService']),_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0x8,_0x9d3528['ITransformService']),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x51c)]),_0x2c717a[_0x4ef07c(0x43c)]=class extends _0x4f4aaa{constructor(_0x3cd5aa,_0x48eb6e,_0x53e06a,_0x1c6bb1,_0x2e222b,_0x4b7cad,_0x275153,_0x35b16a,_0x568974,_0x249f48,_0x2eac68,_0x269b21,_0xb2437d,_0x56a1b4){var _0x24c481=_0x4ef07c;super(_0x3cd5aa,_0x48eb6e,null,_0x53e06a,_0x1c6bb1,_0x568974,_0xb2437d,_0x4b7cad,_0x56a1b4),_0x27ebba(this,_0x24c481(0x45c),'pending'),_0x27ebba(this,_0x24c481(0x393),null),_0x27ebba(this,'_sendingTimer',null),(this[_0x24c481(0x3b3)]=_0x2e222b,this[_0x24c481(0x206)]=_0x275153,this[_0x24c481(0x1df)]=_0x35b16a,this['_configService']=_0x249f48,this[_0x24c481(0x4d6)]=_0x2eac68,this[_0x24c481(0x25a)]=_0x269b21);}['appendMutation'](_0x10dfcd){var _0x324991=_0x4ef07c;return this[_0x324991(0x486)][_0x324991(0x306)](_0x10dfcd),this['_updateLocalCache'](),this;}[_0x4ef07c(0x36b)](_0x333799){var _0xfbfd4e=_0x4ef07c;if(this[_0xfbfd4e(0x203)](_0x333799))return this[_0xfbfd4e(0x3db)](),this[_0xfbfd4e(0x3b3)][_0xfbfd4e(0x3cd)](_0x2c717a[_0xfbfd4e(0x27a)],this[_0xfbfd4e(0x3f1)],this[_0xfbfd4e(0x527)],null,this[_0xfbfd4e(0x486)],null,[_0x333799],this[_0xfbfd4e(0x1e2)]);try{const _0x58e6af=this[_0xfbfd4e(0x4d6)][_0xfbfd4e(0x4cd)](_0x333799,this[_0xfbfd4e(0x486)]);if(_0x9d3528[_0xfbfd4e(0x364)](_0x58e6af)){const {c1Prime:_0xcbc1d8,m2Prime:_0x347c0e}=_0x58e6af;this[_0xfbfd4e(0x518)](_0xcbc1d8);const _0x53f956=this[_0xfbfd4e(0x3b3)]['createInstance'](_0x2c717a[_0xfbfd4e(0x43c)],this[_0xfbfd4e(0x3f1)],this[_0xfbfd4e(0x527)],_0x347c0e,this['_handler']);this[_0xfbfd4e(0x3db)]();const _0x35712c=new Date()[_0xfbfd4e(0x1f4)](),_0x31e3a2=this['_scheduleCompleteTimestamp']?Math[_0xfbfd4e(0x394)](this[_0xfbfd4e(0x393)]-_0x35712c,0x0):this['_getSendChangesetTimeout']();return _0x53f956['_schedule'](_0x31e3a2),_0x53f956;}throw _0x58e6af['error'];}catch(_0xaff6f5){return this['_logService'][_0xfbfd4e(0x456)](_0xaff6f5),this[_0xfbfd4e(0x34c)](!0x1);}}[_0x4ef07c(0x26c)](){var _0x5deefd=_0x4ef07c;throw new Error(_0x5deefd(0x500));}['onRemoteRej'](){var _0xea059e=_0x4ef07c;throw new Error(_0xea059e(0x421));}[_0x4ef07c(0x2c3)](){return this;}[_0x4ef07c(0x544)](){var _0x1834c1=_0x4ef07c;return this[_0x1834c1(0x3db)](),this['_injector'][_0x1834c1(0x3cd)](_0x2c717a[_0x1834c1(0x347)],this['unitID'],this[_0x1834c1(0x527)],null,this[_0x1834c1(0x486)],this[_0x1834c1(0x1e2)]);}['toggleOnline'](){return this;}[_0x4ef07c(0x264)](_0x3d1bc7){var _0x4c816b=_0x4ef07c;const _0x152516=_0x3d1bc7!=null?_0x3d1bc7:this[_0x4c816b(0x453)]();this[_0x4c816b(0x393)]=new Date()[_0x4c816b(0x1f4)]()+_0x152516,this['_sendingTimer']=setTimeout(()=>{var _0x54cce2=_0x4c816b;this[_0x54cce2(0x3db)]();let _0x178095=null;switch(this['type']){case _0x1ac378[_0x54cce2(0x2be)]:{_0x178095=_0x2064b5(this[_0x54cce2(0x486)],this[_0x54cce2(0x3f1)],this['_univerInstanceService'],this[_0x54cce2(0x458)],this[_0x54cce2(0x206)]);break;}case _0x1ac378[_0x54cce2(0x41f)]:{this['_pendingMutations'][_0x54cce2(0x472)](_0x54efc5=>_0x54efc5['id']===_0x48d960[_0x54cce2(0x410)]['id'])?_0x178095=_0x2858ca(this['_pendingMutations'],this[_0x54cce2(0x3f1)],this[_0x54cce2(0x25a)],this[_0x54cce2(0x458)],this[_0x54cce2(0x206)]):_0x178095=_0x2064b5(this[_0x54cce2(0x486)],this[_0x54cce2(0x3f1)],this[_0x54cce2(0x25a)],this[_0x54cce2(0x458)],this[_0x54cce2(0x206)]);break;}default:throw new Error(_0x54cce2(0x4ad)+this[_0x54cce2(0x527)]+_0x54cce2(0x2d3));}const {changeset:_0x2486dc,pendingMutations:_0xee9a6a}=_0x178095;this['_handler'][_0x54cce2(0x36d)](_0x2486dc);const _0x3ff9e2=_0xee9a6a[_0x54cce2(0x3aa)]?this['_injector'][_0x54cce2(0x3cd)](_0x2c717a[_0x54cce2(0x41c)],this['unitID'],this[_0x54cce2(0x527)],_0x2486dc,_0xee9a6a,this[_0x54cce2(0x1e2)],void 0x0):this[_0x54cce2(0x3b3)]['createInstance'](_0x2c717a[_0x54cce2(0x4b1)],this['unitID'],this[_0x54cce2(0x527)],_0x2486dc,this['_handler']);_0x3ff9e2[_0x54cce2(0x474)](),this['_handler']['onStateChange'](this,_0x3ff9e2);},_0x152516);}[_0x4ef07c(0x453)](){var _0x3fbbee=_0x4ef07c,_0x230f8b;const _0x22f9b2=this[_0x3fbbee(0x238)][_0x3fbbee(0x4e3)](_0x50bbc4);return(_0x230f8b=_0x22f9b2==null?void 0x0:_0x22f9b2[_0x3fbbee(0x4ec)])!=null?_0x230f8b:0x7d0;}[_0x4ef07c(0x2c2)](){var _0x68580a=_0x4ef07c;throw new Error(_0x68580a(0x4fe));}[_0x4ef07c(0x3db)](){var _0x19b00c=_0x4ef07c;this[_0x19b00c(0x2ee)]!=null&&(clearTimeout(this[_0x19b00c(0x2ee)]),this[_0x19b00c(0x2ee)]=null);}['_onConflict'](_0x2fd84d){var _0x1e3929=_0x4ef07c;return this[_0x1e3929(0x3db)](),this[_0x1e3929(0x3b3)][_0x1e3929(0x3cd)](_0x2c717a['ConflictState'],this[_0x1e3929(0x3f1)],this['type'],null,this['_pendingMutations'],this[_0x1e3929(0x1e2)],_0x2fd84d);}},_0x2c717a['PendingState']=_0x1b743b([_0x2ed7f1(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x5,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a['MemberService'])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0x8,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x2ed7f1(0xa,_0x9d3528[_0x4ef07c(0x2b6)]),_0x2ed7f1(0xb,_0x5a87f6[_0x4ef07c(0x32b)]),_0x2ed7f1(0xc,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0xd,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x43c)]),_0x2c717a[_0x4ef07c(0x4b1)]=class extends _0x4f4aaa{constructor(_0x213f02,_0x18df35,_0x3223b8,_0x652182,_0x2115ec,_0xe9fd42,_0x4a8e7c,_0x12cfc5,_0x2e300e,_0x5721f1,_0x403223){var _0x7cd6a5=_0x4ef07c;super(_0x213f02,_0x18df35,_0x3223b8,[],_0x652182,_0x4a8e7c,_0x5721f1,_0xe9fd42,_0x403223),_0x27ebba(this,_0x7cd6a5(0x45c),_0x7cd6a5(0x3b9)),_0x27ebba(this,_0x7cd6a5(0x2aa),0x0),_0x27ebba(this,'_maxTotalRetryTimeout',0x0),_0x27ebba(this,'_resendTimer'),_0x27ebba(this,_0x7cd6a5(0x1ec)),(this['_injector']=_0x2115ec,this['_logService']=_0x12cfc5,this['_transformService']=_0x2e300e);}[_0x4ef07c(0x2e8)](_0x30d63c){var _0xfd40bf=_0x4ef07c;this[_0xfd40bf(0x3db)]();const _0x3aad84=this[_0xfd40bf(0x3b3)]['createInstance'](_0x2c717a[_0xfd40bf(0x41c)],this[_0xfd40bf(0x3f1)],this[_0xfd40bf(0x527)],this[_0xfd40bf(0x48a)],[_0x30d63c],this[_0xfd40bf(0x1e2)],this['_resendTimer']);return _0x3aad84[_0xfd40bf(0x474)](),_0x3aad84;}['onRemoteChangeset'](_0x34bb73){var _0x33dff6=_0x4ef07c;if(this[_0x33dff6(0x203)](_0x34bb73))return this[_0x33dff6(0x3db)](),this[_0x33dff6(0x3b3)][_0x33dff6(0x3cd)](_0x2c717a[_0x33dff6(0x27a)],this['unitID'],this[_0x33dff6(0x527)],this['_awaitingChangeset'],[],null,[_0x34bb73],this[_0x33dff6(0x1e2)]);try{const _0x1d6958=this[_0x33dff6(0x4d6)][_0x33dff6(0x205)]([_0x34bb73],[this[_0x33dff6(0x48a)]],!0x1);if(_0x9d3528[_0x33dff6(0x36a)](_0x1d6958)){const {c1Prime:_0x5377ec,c2Prime:_0x1bddb4}=_0x1d6958;this[_0x33dff6(0x518)](_0x5377ec[0x0]),_0x1bddb4[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x33dff6(0x3db)]();const _0x4d0170=this[_0x33dff6(0x3b3)][_0x33dff6(0x3cd)](_0x2c717a[_0x33dff6(0x4b1)],this[_0x33dff6(0x3f1)],this['type'],_0x1bddb4[0x0],this[_0x33dff6(0x1e2)]);return _0x4d0170[_0x33dff6(0x474)](),_0x4d0170;}return this[_0x33dff6(0x34c)](!0x1);}catch(_0x44404){return this[_0x33dff6(0x1df)][_0x33dff6(0x456)](_0x44404),this[_0x33dff6(0x34c)](!0x1);}}[_0x4ef07c(0x26c)](_0x15c877){var _0x5b483a=_0x4ef07c;this[_0x5b483a(0x3db)]();const _0x3a3e14=this[_0x5b483a(0x458)][_0x5b483a(0x526)](this[_0x5b483a(0x3f1)]);if(_0x15c877[_0x5b483a(0x3c2)]<_0x3a3e14-0x1)return this;if(this[_0x5b483a(0x203)](_0x15c877))return this['_injector'][_0x5b483a(0x3cd)](_0x2c717a['FetchingMissState'],this[_0x5b483a(0x3f1)],this[_0x5b483a(0x527)],null,[],this[_0x5b483a(0x48a)],[],this[_0x5b483a(0x1e2)]);this['_incrementRevisionNumber']();const _0x25cbe1=this['_injector'][_0x5b483a(0x3cd)](_0x2c717a[_0x5b483a(0x51c)],this[_0x5b483a(0x3f1)],this[_0x5b483a(0x527)],this[_0x5b483a(0x1e2)]);return _0x25cbe1[_0x5b483a(0x474)](),_0x25cbe1;}[_0x4ef07c(0x375)](_0x36bac5){var _0x4a5d41=_0x4ef07c;return this[_0x4a5d41(0x34c)](!!(_0x36bac5!=null&&_0x36bac5[_0x4a5d41(0x38a)]));}[_0x4ef07c(0x2c3)](_0x1ca52d){var _0xa336e3=_0x4ef07c;return this['_maxTotalRetryTimeout']>_0x152f5d?this[_0xa336e3(0x544)]():(this[_0xa336e3(0x1de)]=_0x260427(this[_0xa336e3(0x2aa)],{'timeout':this['_resendTimeout'],'reqId':_0x1ca52d[_0xa336e3(0x2c8)]}),this[_0xa336e3(0x1ec)]=this['_resendTimer'][_0xa336e3(0x2ce)](({reqId:_0x570974,timeout:_0x5704eb})=>{var _0x450699=_0xa336e3;this[_0x450699(0x422)](_0x570974,_0x5704eb);}),this);}[_0x4ef07c(0x544)](){var _0xe6fcf8=_0x4ef07c;return this[_0xe6fcf8(0x3db)](),this[_0xe6fcf8(0x3b3)][_0xe6fcf8(0x3cd)](_0x2c717a['OfflineState'],this['unitID'],this[_0xe6fcf8(0x527)],this[_0xe6fcf8(0x48a)],[],this[_0xe6fcf8(0x1e2)]);}[_0x4ef07c(0x3af)](){return this;}['resend'](){var _0x1509a7=_0x4ef07c;this[_0x1509a7(0x1e2)][_0x1509a7(0x36d)](this[_0x1509a7(0x48a)]);}[_0x4ef07c(0x34c)](_0x323f58){var _0x22ad1c=_0x4ef07c;return this[_0x22ad1c(0x3db)](),this['_injector']['createInstance'](_0x2c717a[_0x22ad1c(0x312)],this['unitID'],this[_0x22ad1c(0x527)],this[_0x22ad1c(0x48a)],[],this[_0x22ad1c(0x1e2)],_0x323f58);}['_resendWithTimeout'](_0x41376d,_0xc17870){var _0x529656=_0x4ef07c,_0x4e1090;_0x41376d===((_0x4e1090=this[_0x529656(0x48a)])==null?void 0x0:_0x4e1090[_0x529656(0x2c8)])&&(this[_0x529656(0x2c2)](),this['_resendTimeout']=_0xc17870===0x0?0x3e8:Math[_0x529656(0x467)](_0xc17870*0x2,_0x377f2d),this['_maxTotalRetryTimeout']+=this[_0x529656(0x2aa)]);}[_0x4ef07c(0x3db)](){var _0x597dcc=_0x4ef07c,_0x1c58df;(_0x1c58df=this[_0x597dcc(0x1ec)])==null||_0x1c58df[_0x597dcc(0x22b)](),this['_resendTimeout']=0x0,this[_0x597dcc(0x374)]=0x0;}},_0x2c717a[_0x4ef07c(0x4b1)]=_0x1b743b([_0x2ed7f1(0x4,_0x5a87f6['Inject'](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x5,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x6,_0x5a87f6['ICommandService']),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0x8,_0x9d3528[_0x4ef07c(0x2b6)]),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0xa,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a['AwaitingState']),_0x2c717a['AwaitingWithPendingState']=class extends _0x4f4aaa{constructor(_0x442da4,_0x47c147,_0x37c7c0,_0xd51701,_0x277a35,_0x23c57d,_0x2c5f94,_0x40edf4,_0x5ab1d2,_0x1af432,_0x42f569,_0x2d76e4,_0x198393){var _0x1b0041=_0x4ef07c;super(_0x442da4,_0x47c147,_0x37c7c0,_0xd51701,_0x277a35,_0x5ab1d2,_0x2d76e4,_0x40edf4,_0x198393),_0x27ebba(this,_0x1b0041(0x45c),_0x1b0041(0x554)),_0x27ebba(this,_0x1b0041(0x2aa),0x0),_0x27ebba(this,_0x1b0041(0x374),0x0),_0x27ebba(this,_0x1b0041(0x1de)),_0x27ebba(this,'_sender'),(this[_0x1b0041(0x3b3)]=_0x2c5f94,this[_0x1b0041(0x1df)]=_0x1af432,this[_0x1b0041(0x4d6)]=_0x42f569,this[_0x1b0041(0x332)]=_0x198393,_0x23c57d&&(this[_0x1b0041(0x1de)]=_0x23c57d,this[_0x1b0041(0x1ec)]=this[_0x1b0041(0x1de)][_0x1b0041(0x2ce)](({reqId:_0x256125,timeout:_0x490a26})=>{var _0x2163a1=_0x1b0041;this[_0x2163a1(0x422)](_0x256125,_0x490a26);})));}[_0x4ef07c(0x2e8)](_0x19a5bc){var _0x543889=_0x4ef07c;return this[_0x543889(0x486)][_0x543889(0x306)](_0x19a5bc),this;}['onRemoteChangeset'](_0x339cfa){var _0x2f0c88=_0x4ef07c;if(this['_checkMissing'](_0x339cfa))return this[_0x2f0c88(0x3db)](),this[_0x2f0c88(0x3b3)]['createInstance'](_0x2c717a[_0x2f0c88(0x27a)],this['unitID'],this[_0x2f0c88(0x527)],this['_awaitingChangeset'],this[_0x2f0c88(0x486)],null,[_0x339cfa],this[_0x2f0c88(0x1e2)]);try{const _0x369004=this[_0x2f0c88(0x4d6)][_0x2f0c88(0x205)]([_0x339cfa],[this['_awaitingChangeset']],!0x1);if(_0x9d3528['isTransformChangesetsSuccess'](_0x369004)){const {c1Prime:_0x225815,c2Prime:_0x56b1e1}=_0x369004,_0x3125e7=this['_transformService'][_0x2f0c88(0x4cd)](_0x225815[0x0],this[_0x2f0c88(0x486)]);if(_0x9d3528[_0x2f0c88(0x364)](_0x3125e7)){const {c1Prime:_0x1837b5,m2Prime:_0x36f82c}=_0x3125e7;return this['_executeRemoteChangeset'](_0x1837b5),_0x56b1e1[0x0]['baseRev']=this[_0x2f0c88(0x40d)](),this['_clearScheduledTask'](),this[_0x2f0c88(0x3b3)][_0x2f0c88(0x3cd)](_0x2c717a['AwaitingWithPendingState'],this[_0x2f0c88(0x3f1)],this[_0x2f0c88(0x527)],_0x56b1e1[0x0],_0x36f82c,this['_handler'],void 0x0);}throw _0x3125e7[_0x2f0c88(0x456)];}throw _0x369004[_0x2f0c88(0x456)];}catch(_0x505962){return this[_0x2f0c88(0x1df)]['error'](_0x505962),this[_0x2f0c88(0x34c)](!0x1);}}['onRemoteAck'](_0x43c0fa){var _0x34d769=_0x4ef07c;if(this[_0x34d769(0x3db)](),this[_0x34d769(0x203)](_0x43c0fa))return this[_0x34d769(0x3b3)][_0x34d769(0x3cd)](_0x2c717a[_0x34d769(0x27a)],this[_0x34d769(0x3f1)],this['type'],null,this[_0x34d769(0x486)],this[_0x34d769(0x48a)],[],this[_0x34d769(0x1e2)]);this[_0x34d769(0x4f5)]();const _0x5339fb=this[_0x34d769(0x3b3)]['createInstance'](_0x2c717a[_0x34d769(0x43c)],this['unitID'],this[_0x34d769(0x527)],this[_0x34d769(0x486)],this[_0x34d769(0x1e2)]);return _0x5339fb[_0x34d769(0x264)](),_0x5339fb[_0x34d769(0x474)](),_0x5339fb;}[_0x4ef07c(0x375)](_0x4f7582){var _0x31b41f=_0x4ef07c;return this[_0x31b41f(0x34c)](!!(_0x4f7582!=null&&_0x4f7582[_0x31b41f(0x38a)]));}[_0x4ef07c(0x2c3)](_0x4cb77a){var _0x922944=_0x4ef07c;return this['_maxTotalRetryTimeout']>_0x152f5d?this[_0x922944(0x544)]():(this[_0x922944(0x1de)]=_0x260427(this['_resendTimeout'],{'timeout':this[_0x922944(0x2aa)],'reqId':_0x4cb77a[_0x922944(0x2c8)]}),this['_sender']=this[_0x922944(0x1de)]['subscribe'](({reqId:_0x22e351,timeout:_0x1a4fc7})=>{var _0x30bae3=_0x922944;this[_0x30bae3(0x422)](_0x22e351,_0x1a4fc7);}),this);}['toggleOffline'](){var _0x311f60=_0x4ef07c;return this[_0x311f60(0x3db)](),this[_0x311f60(0x3b3)]['createInstance'](_0x2c717a['OfflineState'],this[_0x311f60(0x3f1)],this[_0x311f60(0x527)],this[_0x311f60(0x48a)],this[_0x311f60(0x486)],this[_0x311f60(0x1e2)]);}[_0x4ef07c(0x3af)](){return this;}[_0x4ef07c(0x2c2)](){var _0xcece28=_0x4ef07c;this[_0xcece28(0x1e2)][_0xcece28(0x36d)](this['_awaitingChangeset']);}[_0x4ef07c(0x34c)](_0x18df1d){var _0x186724=_0x4ef07c;return this[_0x186724(0x3db)](),this[_0x186724(0x3b3)][_0x186724(0x3cd)](_0x2c717a['ConflictState'],this[_0x186724(0x3f1)],this['type'],null,this[_0x186724(0x486)],this[_0x186724(0x1e2)],_0x18df1d);}[_0x4ef07c(0x422)](_0x51b38a,_0x55291f){var _0x558538=_0x4ef07c,_0x266e5b;_0x51b38a===((_0x266e5b=this[_0x558538(0x48a)])==null?void 0x0:_0x266e5b[_0x558538(0x2c8)])&&(this[_0x558538(0x2c2)](),this[_0x558538(0x2aa)]=_0x55291f===0x0?0x3e8:Math[_0x558538(0x467)](_0x55291f*0x2,_0x377f2d),this[_0x558538(0x374)]+=this[_0x558538(0x2aa)]);}[_0x4ef07c(0x3db)](){var _0x5f8986=_0x4ef07c,_0x48b1cf;(_0x48b1cf=this[_0x5f8986(0x1ec)])==null||_0x48b1cf[_0x5f8986(0x22b)](),this['_resendTimeout']=0x0,this[_0x5f8986(0x374)]=0x0;}},_0x2c717a[_0x4ef07c(0x41c)]=_0x1b743b([_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6['Injector'])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x8,_0x5a87f6['ICommandService']),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0xa,_0x9d3528['ITransformService']),_0x2ed7f1(0xb,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x41c)]),_0x2c717a[_0x4ef07c(0x312)]=class extends _0x4f4aaa{constructor(_0x37d800,_0x1c3d46,_0xbc411a,_0x362abf,_0x4f7279,_0x2c4eee=!0x1,_0x4fce6f,_0x3e4b9a,_0x8a43f3,_0x28217b,_0x3d46fe,_0x527c4e,_0x18fc18){var _0x3dbe4d=_0x4ef07c;super(_0x37d800,_0x1c3d46,_0xbc411a,_0x362abf,_0x4f7279,_0x3e4b9a,_0x8a43f3,_0x28217b,_0x18fc18),_0x27ebba(this,_0x3dbe4d(0x45c),_0x3dbe4d(0x2dc)),(this['_isPermissionRej']=_0x2c4eee,this['_permissionService']=_0x4fce6f,this['_localeService']=_0x3d46fe,this[_0x3dbe4d(0x333)]=_0x527c4e,this[_0x3dbe4d(0x332)]=_0x18fc18,this[_0x3dbe4d(0x322)](),this[_0x3dbe4d(0x1c9)](),this[_0x3dbe4d(0x218)]());}[_0x4ef07c(0x2e8)](){return this;}[_0x4ef07c(0x36b)](){return this;}[_0x4ef07c(0x26c)](){return this;}[_0x4ef07c(0x375)](){return this;}[_0x4ef07c(0x2c3)](){return this;}[_0x4ef07c(0x544)](){return this;}[_0x4ef07c(0x3af)](){return this;}[_0x4ef07c(0x2c2)](){var _0x45ba00=_0x4ef07c;throw new Error(_0x45ba00(0x2ba));}[_0x4ef07c(0x1c9)](){var _0x22cb89=_0x4ef07c,_0xb5009f;(_0xb5009f=this[_0x22cb89(0x4d9)])==null||_0xb5009f[_0x22cb89(0x4c6)](this[_0x22cb89(0x3f1)],this[_0x22cb89(0x527)],null,[]);}[_0x4ef07c(0x322)](){var _0x169ef6=_0x4ef07c;this[_0x169ef6(0x28c)]?this[_0x169ef6(0x333)]['emitEvent']({'id':_0x28846f[_0x169ef6(0x2f4)]}):this[_0x169ef6(0x333)][_0x169ef6(0x446)]({'id':_0x28846f[_0x169ef6(0x1d0)]});}[_0x4ef07c(0x218)](){var _0x244008=_0x4ef07c;this[_0x244008(0x20e)][_0x244008(0x3ab)](new _0x2dec7c['WorkbookEditablePermission'](this[_0x244008(0x3f1)])['id'],!0x1);}},_0x2c717a['ConflictState']=_0x1b743b([_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x53b)])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x8,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0x9,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0xa,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x44c)])),_0x2ed7f1(0xb,_0x5a87f6[_0x4ef07c(0x2f6)](_0x596edb)),_0x2ed7f1(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x312)]),_0x2c717a[_0x4ef07c(0x347)]=class extends _0x4f4aaa{constructor(_0x3713c0,_0x5199bc,_0x3985ce,_0x2dcdc7,_0x4674be,_0x2a3af7,_0x66bf14,_0x371fb6,_0x391298,_0x1de195){var _0xc36b4b=_0x4ef07c;super(_0x3713c0,_0x5199bc,_0x3985ce,_0x2dcdc7,_0x4674be,_0x371fb6,_0x391298,_0x66bf14,_0x1de195),_0x27ebba(this,_0xc36b4b(0x45c),'offline'),this['_injector']=_0x2a3af7;}[_0x4ef07c(0x2e8)](_0x4be880){var _0x5db3f4=_0x4ef07c;return this[_0x5db3f4(0x486)][_0x5db3f4(0x306)](_0x4be880),this[_0x5db3f4(0x474)](),this;}[_0x4ef07c(0x36b)](_0x49076c){var _0x25ee73=_0x4ef07c;throw new Error(_0x25ee73(0x3a4));}[_0x4ef07c(0x26c)](){var _0x152126=_0x4ef07c;throw new Error(_0x152126(0x42c));}[_0x4ef07c(0x375)](){var _0x5b1d44=_0x4ef07c;throw new Error(_0x5b1d44(0x2ec));}[_0x4ef07c(0x2c3)](){return this;}[_0x4ef07c(0x544)](){return this;}[_0x4ef07c(0x3af)](){var _0x238e02=_0x4ef07c;const {_injector:_0x52dd7d,_pendingMutations:_0x1a52d2,_awaitingChangeset:_0x55e715,unitID:_0x546252,_handler:_0x64be04,type:_0x16f5b2}=this,_0xca5256=_0x107772(_0x52dd7d,_0x546252,_0x16f5b2,_0x55e715,_0x1a52d2,_0x64be04);return _0xca5256 instanceof _0x2c717a['PendingState']?_0xca5256[_0x238e02(0x264)]():(_0xca5256 instanceof _0x2c717a['AwaitingWithPendingState']||_0xca5256 instanceof _0x2c717a[_0x238e02(0x4b1)])&&_0xca5256['resend'](),_0xca5256;}[_0x4ef07c(0x2c2)](){var _0x3811e4=_0x4ef07c;throw new Error(_0x3811e4(0x37c));}},_0x2c717a[_0x4ef07c(0x347)]=_0x1b743b([_0x2ed7f1(0x5,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x8,_0x5a87f6['IUndoRedoService']),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x347)]),_0x2c717a[_0x4ef07c(0x27a)]=class extends _0x4f4aaa{constructor(_0x20c22e,_0x21c033,_0x2c3f89,_0x113f22,_0x174e70,_0x4f61f6,_0x148252,_0x454823,_0xca03da,_0x3dbc79,_0x1ad411,_0xa349f,_0x15b6b1,_0x4680e9){var _0x52857e=_0x4ef07c;super(_0x20c22e,_0x21c033,_0x2c3f89,_0x113f22,_0x148252,_0x1ad411,_0xa349f,_0xca03da,_0x4680e9),_0x27ebba(this,_0x52857e(0x45c),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x174e70,this[_0x52857e(0x21f)]=_0x4f61f6,this['_injector']=_0x454823,this[_0x52857e(0x1df)]=_0x3dbc79,this[_0x52857e(0x4d6)]=_0x15b6b1,this[_0x52857e(0x332)]=_0x4680e9);}[_0x4ef07c(0x30c)](_0x5e9f7d){var _0x469b52=_0x4ef07c;try{const _0x28679e=[..._0x5e9f7d,...this[_0x469b52(0x21f)]],_0x376690=[this[_0x469b52(0x48a)]||this['_acknowledgedAwaitingChangeset']][_0x469b52(0x320)](_0x593039=>!!_0x593039);let _0x67f333,_0x40e2d7;if(_0x376690[_0x469b52(0x3aa)]){const _0x28fee5=this['_transformService'][_0x469b52(0x205)](_0x28679e,_0x376690,!0x1);if(!_0x9d3528['isTransformChangesetsSuccess'](_0x28fee5))throw _0x28fee5['error'];_0x67f333=_0x28fee5['c1Prime'],_0x40e2d7=_0x28fee5[_0x469b52(0x46a)];}else _0x67f333=_0x28679e,_0x40e2d7=[];let _0x13d006=this['_pendingMutations'];_0x67f333[_0x469b52(0x482)](_0x42e2d9=>{var _0x367472=_0x469b52;let _0x5e5637;if(_0x13d006[_0x367472(0x3aa)]){const _0x364e21=this['_transformService'][_0x367472(0x4cd)](_0x42e2d9,_0x13d006);if(!_0x9d3528[_0x367472(0x364)](_0x364e21))throw _0x364e21['error'];_0x5e5637=_0x364e21[_0x367472(0x4bf)],_0x13d006=_0x364e21[_0x367472(0x2d8)];}else _0x5e5637=_0x42e2d9;this[_0x367472(0x518)](_0x5e5637);}),this['_acknowledgedAwaitingChangeset']&&this[_0x469b52(0x4f5)](),this[_0x469b52(0x48a)]&&_0x40e2d7[_0x469b52(0x3aa)]&&(_0x40e2d7[0x0][_0x469b52(0x46b)]=this[_0x469b52(0x40d)]());let _0x181746;if(this[_0x469b52(0x48a)]&&_0x13d006[_0x469b52(0x3aa)]!==0x0)_0x181746=this[_0x469b52(0x3b3)][_0x469b52(0x3cd)](_0x2c717a[_0x469b52(0x41c)],this['unitID'],this[_0x469b52(0x527)],_0x40e2d7[0x0],_0x13d006,this[_0x469b52(0x1e2)],void 0x0);else{if(this[_0x469b52(0x48a)]&&_0x13d006[_0x469b52(0x3aa)]===0x0)_0x40e2d7[0x0]['baseRev']=this['_getCurrentRevision'](),_0x181746=this[_0x469b52(0x3b3)]['createInstance'](_0x2c717a[_0x469b52(0x4b1)],this[_0x469b52(0x3f1)],this[_0x469b52(0x527)],_0x40e2d7[0x0],this[_0x469b52(0x1e2)]);else{if(_0x13d006[_0x469b52(0x3aa)]!==0x0){const _0x28107e=this['_injector'][_0x469b52(0x3cd)](_0x2c717a[_0x469b52(0x43c)],this['unitID'],this['type'],_0x13d006,this[_0x469b52(0x1e2)]);_0x28107e['_schedule'](),_0x181746=_0x28107e;}else _0x181746=this[_0x469b52(0x3b3)][_0x469b52(0x3cd)](_0x2c717a[_0x469b52(0x51c)],this[_0x469b52(0x3f1)],this[_0x469b52(0x527)],this['_handler']);}}return _0x181746[_0x469b52(0x474)](),_0x181746;}catch(_0x153cd8){return this[_0x469b52(0x1df)][_0x469b52(0x456)](_0x469b52(0x4c5),'failed\x20to\x20apply\x20missed\x20changesets!',_0x153cd8),this[_0x469b52(0x3b3)]['createInstance'](_0x2c717a[_0x469b52(0x312)],this[_0x469b52(0x3f1)],this['type'],this[_0x469b52(0x48a)],this[_0x469b52(0x486)],this[_0x469b52(0x1e2)],!0x1);}}[_0x4ef07c(0x2c2)](){var _0x167cf4=_0x4ef07c;throw new Error(_0x167cf4(0x350));}[_0x4ef07c(0x2e8)](_0x346e47){var _0x3cc023=_0x4ef07c;return this[_0x3cc023(0x486)]['push'](_0x346e47),this;}[_0x4ef07c(0x36b)](_0x51f825){var _0x983db5=_0x4ef07c;return this[_0x983db5(0x21f)][_0x983db5(0x306)](_0x51f825),this;}[_0x4ef07c(0x26c)](_0xe67d33){var _0x45f244=_0x4ef07c;if(this[_0x45f244(0x48a)])return this[_0x45f244(0x29a)]=this[_0x45f244(0x48a)],this[_0x45f244(0x48a)]=null,this;throw new Error(_0x45f244(0x2fe));}[_0x4ef07c(0x375)](_0x276d2f){var _0xc482a7=_0x4ef07c;return this['_onConflict'](!!(_0x276d2f!=null&&_0x276d2f[_0xc482a7(0x38a)]));}[_0x4ef07c(0x2c3)](){return this;}['toggleOffline'](){var _0x3a8316=_0x4ef07c;return this[_0x3a8316(0x3b3)][_0x3a8316(0x3cd)](_0x2c717a['OfflineState'],this['unitID'],this[_0x3a8316(0x527)],this[_0x3a8316(0x48a)],this[_0x3a8316(0x486)],this['_handler']);}[_0x4ef07c(0x3af)](){return this;}['_onConflict'](_0x38bca0){var _0x150078=_0x4ef07c;return this[_0x150078(0x3b3)]['createInstance'](_0x2c717a['ConflictState'],this['unitID'],this[_0x150078(0x527)],this['_awaitingChangeset'],this[_0x150078(0x486)],this[_0x150078(0x1e2)],_0x38bca0);}},_0x2c717a[_0x4ef07c(0x27a)]=_0x1b743b([_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x8,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528['RevisionService'])),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0xa,_0x5a87f6['ICommandService']),_0x2ed7f1(0xb,_0x5a87f6['IUndoRedoService']),_0x2ed7f1(0xc,_0x9d3528[_0x4ef07c(0x2b6)]),_0x2ed7f1(0xd,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x27a)]);function _0x107772(_0x308391,_0x1365fc,_0x4ca2ca,_0x318258,_0x2dd51e,_0x3653da){var _0x4823e7=_0x4ef07c;return _0x318258&&_0x2dd51e[_0x4823e7(0x3aa)]?_0x308391[_0x4823e7(0x3cd)](_0x2c717a[_0x4823e7(0x41c)],_0x1365fc,_0x4ca2ca,_0x318258,_0x2dd51e,_0x3653da,void 0x0):_0x318258?_0x308391['createInstance'](_0x2c717a[_0x4823e7(0x4b1)],_0x1365fc,_0x4ca2ca,_0x318258,_0x3653da):_0x2dd51e[_0x4823e7(0x3aa)]?_0x308391[_0x4823e7(0x3cd)](_0x2c717a[_0x4823e7(0x43c)],_0x1365fc,_0x4ca2ca,_0x2dd51e,_0x3653da):_0x308391[_0x4823e7(0x3cd)](_0x2c717a[_0x4823e7(0x51c)],_0x1365fc,_0x4ca2ca,_0x3653da);}var _0x1ded19=Object['getOwnPropertyDescriptor'],_0xcc55ce=(_0x49ee11,_0x5ef584,_0x26e51c,_0x5a967e)=>{var _0x2c1af5=_0x4ef07c;for(var _0x19366e=_0x5a967e>0x1?void 0x0:_0x5a967e?_0x1ded19(_0x5ef584,_0x26e51c):_0x5ef584,_0x566240=_0x49ee11[_0x2c1af5(0x3aa)]-0x1,_0x4f8804;_0x566240>=0x0;_0x566240--)(_0x4f8804=_0x49ee11[_0x566240])&&(_0x19366e=_0x4f8804(_0x19366e)||_0x19366e);return _0x19366e;},_0x748969=(_0x3cfa8d,_0x3a690d)=>(_0x463b7b,_0x43eb6e)=>_0x3a690d(_0x463b7b,_0x43eb6e,_0x3cfa8d);_0x2c717a[_0x4ef07c(0x2b0)]=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x13d69b,_0xc96c5e,_0x48ee34,_0x10c686,_0x22324c,_0x3b38a0,_0x470e02,_0x28b9ba,_0xc080dd,_0x52f2e4,_0x5d0f27,_0x1805a5,_0x8d8c23,_0x43b0b2){var _0x592ab5=_0x4ef07c;super(),_0x27ebba(this,_0x592ab5(0x342),new _0x49c451[(_0x592ab5(0x32a))](null)),_0x27ebba(this,_0x592ab5(0x253),this[_0x592ab5(0x342)]['asObservable']()),_0x27ebba(this,'_state'),_0x27ebba(this,_0x592ab5(0x4de),!0x1),_0x27ebba(this,_0x592ab5(0x27d),''),_0x27ebba(this,_0x592ab5(0x555),0x0),_0x27ebba(this,_0x592ab5(0x349),this[_0x592ab5(0x253)][_0x592ab5(0x50f)](_0x49c451[_0x592ab5(0x277)](_0x2f8260=>_0x2f8260?_0x2f8260[_0x592ab5(0x45c)]:_0x12c0ef[_0x592ab5(0x391)]),_0x49c451['shareReplay'](0x1))),_0x27ebba(this,'_transitionLocked',!0x1),_0x27ebba(this,'_remoteChangesetQueue',[]),(this[_0x592ab5(0x3f1)]=_0x13d69b,this['session']=_0xc96c5e,this[_0x592ab5(0x4e5)]=_0x48ee34,this[_0x592ab5(0x3b3)]=_0x10c686,this[_0x592ab5(0x488)]=_0x22324c,this[_0x592ab5(0x268)]=_0x3b38a0,this[_0x592ab5(0x458)]=_0x470e02,this[_0x592ab5(0x537)]=_0x28b9ba,this[_0x592ab5(0x25a)]=_0xc080dd,this[_0x592ab5(0x1df)]=_0x52f2e4,this[_0x592ab5(0x2e6)]=_0x5d0f27,this[_0x592ab5(0x20e)]=_0x1805a5,this[_0x592ab5(0x3c5)]=_0x8d8c23,this[_0x592ab5(0x4d9)]=_0x43b0b2);}get[_0x4ef07c(0x30e)](){var _0x4fb77b=_0x4ef07c;return this[_0x4fb77b(0x523)];}async[_0x4ef07c(0x2a8)](){var _0x48929d=_0x4ef07c;if(this[_0x48929d(0x30e)])throw new Error(_0x48929d(0x20f));await this['_init']();}['pauseCollaboration'](){var _0x27c71f=_0x4ef07c;return this[_0x27c71f(0x4de)]=!0x0,_0x5a87f6[_0x27c71f(0x2c5)](()=>{var _0x235d2a=_0x27c71f;this[_0x235d2a(0x4de)]=!0x1,this[_0x235d2a(0x25f)]();});}['onLocalMutation'](_0x395c9f){var _0x3215b4=_0x4ef07c;this[_0x3215b4(0x528)](_0x395c9f);}[_0x4ef07c(0x496)](_0x59b3f2){var _0x45f5e1=_0x4ef07c;this[_0x45f5e1(0x523)]=_0x59b3f2,this['_state$'][_0x45f5e1(0x534)](_0x59b3f2);}async[_0x4ef07c(0x3da)](){var _0x3e7f64=_0x4ef07c,_0x4c048e;this[_0x3e7f64(0x496)](await this[_0x3e7f64(0x210)]()),this['_singleActiveUnitService']&&((_0x4c048e=this[_0x3e7f64(0x3c5)])==null||_0x4c048e[_0x3e7f64(0x55c)](this[_0x3e7f64(0x3f1)]),this[_0x3e7f64(0x4bb)](this[_0x3e7f64(0x3c5)][_0x3e7f64(0x1fd)](this[_0x3e7f64(0x3f1)])[_0x3e7f64(0x2ce)](_0x320dd2=>{var _0x47c1b1=_0x3e7f64;this[_0x47c1b1(0x1df)][_0x47c1b1(0x3a5)](_0x47c1b1(0x26d),'editing\x20status\x20changed\x20to',_0x320dd2),_0x320dd2===_0x11b621['OTHER_CLIENTS_EDITING']?(this[_0x47c1b1(0x537)][_0x47c1b1(0x446)]({'id':_0x28846f[_0x47c1b1(0x23e)]}),this['_permissionService'][_0x47c1b1(0x3ab)](new _0x2dec7c[(_0x47c1b1(0x40b))](this[_0x47c1b1(0x3f1)])['id'],!0x1),this[_0x47c1b1(0x20e)]['setShowComponents'](!0x1)):(this[_0x47c1b1(0x20e)]['updatePermissionPoint'](new _0x2dec7c[(_0x47c1b1(0x40b))](this[_0x47c1b1(0x3f1)])['id'],!0x0),this['_permissionService'][_0x47c1b1(0x216)](!0x0));})));let _0x2a1471=!0x1;return this['disposeWithMe'](this[_0x3e7f64(0x54f)][_0x3e7f64(0x284)]['subscribe'](_0x449ba1=>{var _0xad2550=_0x3e7f64;_0x449ba1===_0x14cf5c[_0xad2550(0x2e2)]?this[_0xad2550(0x39c)](_0x2a1471):_0x449ba1===_0x14cf5c[_0xad2550(0x391)]&&(_0x2a1471=!0x0,this[_0xad2550(0x2d4)]());})),this[_0x3e7f64(0x4bb)](this[_0x3e7f64(0x54f)]['event$'][_0x3e7f64(0x2ce)](_0xa99ee8=>{var _0xe54fba=_0x3e7f64;try{switch(_0xa99ee8[_0xe54fba(0x3f7)]){case _0x9d3528[_0xe54fba(0x328)]['NEW_CHANGESETS']:{this[_0xe54fba(0x285)](_0x9d3528[_0xe54fba(0x50b)](_0xa99ee8[_0xe54fba(0x511)]));break;}case _0x9d3528['CollaborationEvent'][_0xe54fba(0x258)]:{this['_onRemoteACK'](_0xa99ee8[_0xe54fba(0x511)]);break;}case _0x9d3528[_0xe54fba(0x328)]['CHANGESET_REJ']:{this[_0xe54fba(0x297)]();break;}case _0x9d3528['CollaborationEvent'][_0xe54fba(0x31d)]:{this[_0xe54fba(0x3ba)](_0xa99ee8['data']);break;}case _0x9d3528[_0xe54fba(0x328)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xa99ee8[_0xe54fba(0x511)][_0xe54fba(0x437)]['map'](_0x39d4e6=>_0x9d3528['parseProtocolChangeset'](_0x39d4e6)));break;}case _0x9d3528[_0xe54fba(0x328)]['PERMISSION_REJ']:{this[_0xe54fba(0x297)]({'isPermissionRej':!0x0});break;}case _0x9d3528[_0xe54fba(0x328)][_0xe54fba(0x4f3)]:break;}}catch(_0xa9ba6b){throw console[_0xe54fba(0x456)](_0xe54fba(0x4d7),_0xa9ba6b),_0xa9ba6b;}})),this[_0x3e7f64(0x523)];}[_0x4ef07c(0x288)](){var _0x1da848=_0x4ef07c;this[_0x1da848(0x3c6)]=!0x1;}[_0x4ef07c(0x538)](){var _0x44bb03=_0x4ef07c;if(this[_0x44bb03(0x3c6)])throw new Error(_0x44bb03(0x1cd));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x461841){var _0x376082=_0x4ef07c;this[_0x376082(0x538)](),this[_0x376082(0x496)](this['_state']['appendMutation'](_0x461841)),this[_0x376082(0x288)]();}[_0x4ef07c(0x285)](_0x1925fa){var _0x3999ac=_0x4ef07c;if(!(_0x1925fa[_0x3999ac(0x3c2)]<=this[_0x3999ac(0x458)][_0x3999ac(0x526)](this['unitID']))){if(this[_0x3999ac(0x4de)]){this[_0x3999ac(0x353)]['push'](_0x1925fa);return;}this[_0x3999ac(0x3e8)](_0x1925fa);}}[_0x4ef07c(0x25f)](){var _0x17e343=_0x4ef07c;this[_0x17e343(0x353)][_0x17e343(0x482)](_0x3e1877=>this[_0x17e343(0x3e8)](_0x3e1877)),this[_0x17e343(0x353)]=[];}[_0x4ef07c(0x3e8)](_0x125de3){var _0x6c5f8a=_0x4ef07c;const _0x49272f=this['_compressMutationService']['interceptor'][_0x6c5f8a(0x493)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x6c5f8a(0x4a0)])(_0x125de3[_0x6c5f8a(0x519)],null)||_0x125de3[_0x6c5f8a(0x519)],_0x3bec3c={..._0x125de3,'mutations':_0x49272f};this[_0x6c5f8a(0x538)](),this[_0x6c5f8a(0x496)](this['_state'][_0x6c5f8a(0x36b)](_0x3bec3c)),this['_unlockTransition']();}[_0x4ef07c(0x547)](_0x1f1ce6){var _0x11351c=_0x4ef07c;this[_0x11351c(0x538)](),this[_0x11351c(0x496)](this[_0x11351c(0x523)]['onRemoteAck'](_0x1f1ce6)),this[_0x11351c(0x288)]();}['_onRemoteRejected'](_0x1e549a){var _0x2ed8de=_0x4ef07c;this[_0x2ed8de(0x538)](),this[_0x2ed8de(0x496)](this[_0x2ed8de(0x523)]['onRemoteRej'](_0x1e549a)),this[_0x2ed8de(0x288)]();}[_0x4ef07c(0x3ba)](_0xb9bed6){var _0x378043=_0x4ef07c;this[_0x378043(0x538)](),this[_0x378043(0x496)](this['_state'][_0x378043(0x2c3)](_0xb9bed6)),this[_0x378043(0x288)]();}[_0x4ef07c(0x1e8)](_0x2fb49b){var _0x1278b6=_0x4ef07c;if(!(this[_0x1278b6(0x523)]instanceof _0x2c717a[_0x1278b6(0x27a)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x57cd1b=_0x2fb49b['map'](_0x5a8740=>{var _0x54848f=_0x1278b6;const _0x3f1b05=this['_compressMutationService'][_0x54848f(0x1fa)][_0x54848f(0x493)](this['_compressMutationService'][_0x54848f(0x1fa)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x5a8740[_0x54848f(0x519)],null)||_0x5a8740[_0x54848f(0x519)];return{..._0x5a8740,'mutations':_0x3f1b05};});this[_0x1278b6(0x538)](),this[_0x1278b6(0x496)](this[_0x1278b6(0x523)]['onMissedChangesetFetched'](_0x57cd1b)),this['_unlockTransition']();}[_0x4ef07c(0x2d4)](){var _0x207177=_0x4ef07c;this[_0x207177(0x538)](),this[_0x207177(0x496)](this['_state'][_0x207177(0x544)]()),this[_0x207177(0x288)]();}[_0x4ef07c(0x39c)](_0x5e2039=!0x1){var _0x23f39e=_0x4ef07c;this[_0x23f39e(0x538)](),this[_0x23f39e(0x496)](this[_0x23f39e(0x523)][_0x23f39e(0x3af)]()),this[_0x23f39e(0x288)]();const _0x93ddbf=this[_0x23f39e(0x523)];_0x5e2039&&_0x93ddbf instanceof _0x2c717a['SyncedState']&&(this['_lockTransition'](),this[_0x23f39e(0x496)](_0x93ddbf['fetchMiss']()),this[_0x23f39e(0x288)]());}async[_0x4ef07c(0x210)](){return new Promise(_0x62a308=>{var _0x499fef=_0x4d6f;this[_0x499fef(0x54f)]['sessionStatus$'][_0x499fef(0x50f)](_0x49c451['take'](0x1))['subscribe'](async _0x3125bc=>{_0x62a308(await this['_createInitialStateImpl'](_0x3125bc===_0x14cf5c['ONLINE']));});});}[_0x4ef07c(0x463)](){const _0x3311b2=this['unitID'];return{'onStateChange':(_0xc3bbdb,_0x5146b9)=>{var _0xb576ae=_0x4d6f;if(_0xc3bbdb!==this[_0xb576ae(0x523)])throw new Error(_0xb576ae(0x366)+_0xc3bbdb[_0xb576ae(0x45c)]+'\x0aAfter:\x20'+_0x5146b9[_0xb576ae(0x45c)]+'\x0aCurrent:\x20'+this[_0xb576ae(0x523)][_0xb576ae(0x45c)]);this['_updateState'](_0x5146b9);},'onSendChangeset':_0x3dc618=>{var _0x37e30c=_0x4d6f;_0x3dc618[_0x37e30c(0x33e)]||(_0x3dc618[_0x37e30c(0x33e)]=this[_0x37e30c(0x27d)],_0x3dc618['reqId']=++this[_0x37e30c(0x555)]);const _0x3c0c2a={'eventID':_0x9d3528['CollaborationEvent'][_0x37e30c(0x543)],'data':{'unitID':_0x3dc618[_0x37e30c(0x3f1)],'unitType':this[_0x37e30c(0x4e5)],'changeset':_0x3dc618,'memberID':this[_0x37e30c(0x54f)]['getMemberID']()}};this[_0x37e30c(0x54f)]['send'](_0x3c0c2a,this['unitID']);},'onMissingChangesets':({from:_0x2a11f4,to:_0x1aa286})=>{var _0xb18f06=_0x4d6f;this['_logService'][_0xb18f06(0x3a5)](_0xb18f06(0x26d),_0xb18f06(0x4ac)+_0x2a11f4+_0xb18f06(0x2f1)+_0x1aa286);const _0x23a09f={'eventID':_0x9d3528[_0xb18f06(0x328)]['FETCH_MISSING'],'data':{'unitID':_0x3311b2,'unitType':this[_0xb18f06(0x4e5)],'from':_0x2a11f4,'to':_0x1aa286}};this[_0xb18f06(0x54f)][_0xb18f06(0x26e)](_0x23a09f,this['unitID']);}};}async[_0x4ef07c(0x3b6)](_0x3eb9a3){var _0x28b4c0=_0x4ef07c,_0x49ab65,_0x4640b6,_0x2648f2;const _0x1ef185=await((_0x49ab65=this[_0x28b4c0(0x4d9)])==null?void 0x0:_0x49ab65[_0x28b4c0(0x325)](this['unitID'])),_0x5a5cc2=(_0x4640b6=_0x1ef185==null?void 0x0:_0x1ef185[_0x28b4c0(0x519)])!=null?_0x4640b6:[],_0x31a60c=(_0x2648f2=_0x1ef185==null?void 0x0:_0x1ef185[_0x28b4c0(0x28b)])!=null?_0x2648f2:null,_0x2f8826=!!(_0x31a60c!=null&&_0x31a60c[_0x28b4c0(0x33e)])&&!!(_0x31a60c!=null&&_0x31a60c[_0x28b4c0(0x2c8)]);this[_0x28b4c0(0x27d)]=_0x2f8826?_0x31a60c[_0x28b4c0(0x33e)]:_0x9d3528[_0x28b4c0(0x4fb)](),this[_0x28b4c0(0x555)]=_0x2f8826?_0x31a60c[_0x28b4c0(0x2c8)]:0x0;const _0x546cd0=this[_0x28b4c0(0x3f1)];try{this[_0x28b4c0(0x45d)](_0x31a60c,_0x5a5cc2);}catch(_0x2af8a4){this[_0x28b4c0(0x1df)]['error'](_0x2af8a4);}const _0x5ac864=this[_0x28b4c0(0x463)]();if(_0x3eb9a3){const _0x2b236b=_0x107772(this[_0x28b4c0(0x3b3)],_0x546cd0,this[_0x28b4c0(0x4e5)],_0x31a60c,_0x5a5cc2,_0x5ac864);return _0x2b236b instanceof _0x2c717a[_0x28b4c0(0x43c)]?_0x2b236b[_0x28b4c0(0x264)]():(_0x2b236b instanceof _0x2c717a['AwaitingWithPendingState']||_0x2b236b instanceof _0x2c717a[_0x28b4c0(0x4b1)])&&_0x2b236b[_0x28b4c0(0x2c2)](),_0x2b236b;}return this['_injector'][_0x28b4c0(0x3cd)](_0x2c717a['OfflineState'],_0x546cd0,this[_0x28b4c0(0x4e5)],_0x31a60c,_0x5a5cc2,_0x5ac864);}['_replayCachedMutations'](_0x4f848f,_0x418489){var _0x4cfaa3=_0x4ef07c,_0x50f213,_0x1dcfbf;const _0x17efc1=this[_0x4cfaa3(0x488)][_0x4cfaa3(0x1fa)][_0x4cfaa3(0x493)](this['_compressMutationService'][_0x4cfaa3(0x1fa)][_0x4cfaa3(0x4c4)]()[_0x4cfaa3(0x4a0)]);(_0x50f213=_0x17efc1((_0x4f848f==null?void 0x0:_0x4f848f[_0x4cfaa3(0x519)])||[],null))==null||_0x50f213[_0x4cfaa3(0x482)](_0x4172f1=>this[_0x4cfaa3(0x2e6)][_0x4cfaa3(0x41a)](_0x4172f1['id'],_0x4172f1[_0x4cfaa3(0x308)])),(_0x1dcfbf=_0x17efc1(_0x418489||[],null))==null||_0x1dcfbf[_0x4cfaa3(0x482)](_0x181f09=>this[_0x4cfaa3(0x2e6)][_0x4cfaa3(0x41a)](_0x181f09['id'],_0x181f09['params']));}},_0x2c717a[_0x4ef07c(0x2b0)]=_0xcc55ce([_0x748969(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x748969(0x4,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x52a)])),_0x748969(0x5,_0x5a87f6['Inject'](_0x5a87f6['LocaleService'])),_0x748969(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x748969(0x7,_0x5a87f6['Inject'](_0x596edb)),_0x748969(0x8,_0x5a87f6[_0x4ef07c(0x32b)]),_0x748969(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x748969(0xa,_0x5a87f6[_0x4ef07c(0x217)]),_0x748969(0xb,_0x5a87f6[_0x4ef07c(0x53b)]),_0x748969(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x53cb33)),_0x748969(0xd,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x2b0)]),_0x2c717a[_0x4ef07c(0x4ae)]=class extends _0x2c717a[_0x4ef07c(0x2b0)]{constructor(_0xc08884,_0xa0c65c,_0x4d92f4,_0x91ff85,_0x2b57e8,_0x2b9eef,_0x40002f,_0x3a6eec,_0x258c1b,_0x1ace60,_0x42083b,_0x40dedd,_0x2372a5,_0x58392d){var _0x358ab0=_0x4ef07c;super(_0xc08884,_0x4d92f4,_0xa0c65c,_0x91ff85,_0x2b57e8,_0x2b9eef,_0x40002f,_0x3a6eec,_0x258c1b,_0x1ace60,_0x42083b,_0x40dedd,_0x2372a5,_0x58392d),_0x27ebba(this,_0x358ab0(0x51f),null),(this['unitID']=_0xc08884,this[_0x358ab0(0x527)]=_0xa0c65c);}[_0x4ef07c(0x42b)](_0x2c03b4){var _0x2c4303=_0x4ef07c;this[_0x2c4303(0x51f)]=_0x2c03b4;}['dispose'](){var _0x49505d=_0x4ef07c;this[_0x49505d(0x51f)]=null,super[_0x49505d(0x35b)]();}[_0x4ef07c(0x463)](){var _0x286313=_0x4ef07c;const _0x6d552=super['_createHandler']();return _0x6d552[_0x286313(0x497)]=_0x233a4b=>{var _0x3d6dc6=_0x286313,_0x3ee7d6,_0xdab0ca;return(_0xdab0ca=(_0x3ee7d6=this[_0x3d6dc6(0x51f)])==null?void 0x0:_0x3ee7d6[_0x3d6dc6(0x497)])==null?void 0x0:_0xdab0ca[_0x3d6dc6(0x24b)](_0x3ee7d6,_0x233a4b);},_0x6d552[_0x286313(0x3df)]=_0x29add5=>{var _0x3e12a2=_0x286313,_0x55dd7f,_0x4eb9e0;return(_0x4eb9e0=(_0x55dd7f=this[_0x3e12a2(0x51f)])==null?void 0x0:_0x55dd7f[_0x3e12a2(0x3df)])==null?void 0x0:_0x4eb9e0[_0x3e12a2(0x24b)](_0x55dd7f,_0x29add5);},_0x6d552[_0x286313(0x2f0)]=_0x2260e7=>{var _0x3aac43=_0x286313,_0xdb7fc1,_0x34fc9e;return(_0x34fc9e=(_0xdb7fc1=this[_0x3aac43(0x51f)])==null?void 0x0:_0xdb7fc1['onTransformSelections'])==null?void 0x0:_0x34fc9e[_0x3aac43(0x24b)](_0xdb7fc1,_0x2260e7);},_0x6d552[_0x286313(0x3c0)]=_0x46e3a1=>{var _0x164078=_0x286313,_0x1a2c40,_0x34777d;return(_0x34777d=(_0x1a2c40=this['_handlerCallback'])==null?void 0x0:_0x1a2c40[_0x164078(0x3c0)])==null?void 0x0:_0x34777d[_0x164078(0x24b)](_0x1a2c40,_0x46e3a1);},_0x6d552[_0x286313(0x3d4)]=_0x40ed0a=>{var _0x19c96d=_0x286313,_0x539257,_0x494bf9,_0x3966d2;if(!((_0x539257=this[_0x19c96d(0x51f)])!=null&&_0x539257[_0x19c96d(0x3d4)]))throw new Error(_0x19c96d(0x201));return(_0x3966d2=(_0x494bf9=this[_0x19c96d(0x51f)])==null?void 0x0:_0x494bf9[_0x19c96d(0x3d4)])==null?void 0x0:_0x3966d2[_0x19c96d(0x24b)](_0x494bf9,_0x40ed0a);},_0x6d552[_0x286313(0x561)]=_0x3ff5cd=>{var _0x43e4a6=_0x286313,_0xd87f2c,_0x53e78b,_0x580199;if(!((_0xd87f2c=this[_0x43e4a6(0x51f)])!=null&&_0xd87f2c['onTransformRemoteChangesetByStateCache']))throw new Error(_0x43e4a6(0x477));return(_0x580199=(_0x53e78b=this[_0x43e4a6(0x51f)])==null?void 0x0:_0x53e78b[_0x43e4a6(0x561)])==null?void 0x0:_0x580199['call'](_0x53e78b,_0x3ff5cd);},_0x6d552;}async[_0x4ef07c(0x3da)](){var _0x489484=_0x4ef07c;const _0x307a45=await super[_0x489484(0x3da)]();return this[_0x489484(0x4bb)](this['_commandService'][_0x489484(0x324)]((_0x189a76,_0x833ab9)=>{var _0x53d7f7=_0x489484;if(_0x189a76[_0x53d7f7(0x527)]!==_0x5a87f6['CommandType'][_0x53d7f7(0x372)]||_0x833ab9!=null&&_0x833ab9[_0x53d7f7(0x2bf)]||_0x833ab9!=null&&_0x833ab9[_0x53d7f7(0x37a)]||_0x189a76['id']===_0x48d960[_0x53d7f7(0x410)]['id'])return;const _0xbf7220=_0x189a76['params'];if((_0xbf7220==null?void 0x0:_0xbf7220[_0x53d7f7(0x3e0)])!==this[_0x53d7f7(0x3f1)])return;const _0x1e69c1=_0x189a76,_0xfee00c=this[_0x53d7f7(0x488)][_0x53d7f7(0x1fa)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x53d7f7(0x4c4)]()['COMPRESS_MUTATION_SEND'])([_0x1e69c1],this[_0x53d7f7(0x25a)])||[_0x1e69c1];this['_onLocalMutation'](_0xfee00c[0x0]);})),_0x307a45;}},_0x2c717a[_0x4ef07c(0x4ae)]=_0xcc55ce([_0x748969(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x748969(0x4,_0x5a87f6['Inject'](_0x9d3528['CompressMutationService'])),_0x748969(0x5,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x44c)])),_0x748969(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x748969(0x7,_0x5a87f6['Inject'](_0x596edb)),_0x748969(0x8,_0x5a87f6['IUniverInstanceService']),_0x748969(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x748969(0xa,_0x5a87f6[_0x4ef07c(0x217)]),_0x748969(0xb,_0x5a87f6[_0x4ef07c(0x53b)]),_0x748969(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x53cb33)),_0x748969(0xd,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x4ae)]),_0x2c717a[_0x4ef07c(0x495)]=class extends _0x2c717a[_0x4ef07c(0x2b0)]{constructor(_0x213d7a,_0x33849f,_0x3be4e0,_0xac582f,_0x199b12,_0x3af272,_0x1dd5ec,_0x34f5a3,_0x13dc21,_0x300f93,_0x2b99a3,_0x2f0646,_0x4cf845,_0x1d6359,_0x45eab0){var _0x42ab80=_0x4ef07c;super(_0x213d7a,_0x3be4e0,_0x33849f,_0xac582f,_0x199b12,_0x3af272,_0x1dd5ec,_0x13dc21,_0x300f93,_0x2b99a3,_0x2f0646,_0x4cf845,_0x1d6359,_0x45eab0),this['unitID']=_0x213d7a,this['type']=_0x33849f,this[_0x42ab80(0x318)]=_0x34f5a3;}['_createHandler'](){var _0x2a13c1=_0x4ef07c;const _0x23e241=super[_0x2a13c1(0x463)]();return _0x23e241[_0x2a13c1(0x2f0)]=_0x2b26ce=>this[_0x2a13c1(0x318)][_0x2a13c1(0x208)](_0x2b26ce),_0x23e241;}async['_init'](){var _0x4e95e1=_0x4ef07c;const _0x40f540=await super[_0x4e95e1(0x3da)]();return this[_0x4e95e1(0x4bb)](this[_0x4e95e1(0x2e6)]['onMutationExecutedForCollab']((_0x250462,_0xf2d35a)=>{var _0x1ffe87=_0x4e95e1;if(_0x250462[_0x1ffe87(0x527)]!==_0x5a87f6[_0x1ffe87(0x481)][_0x1ffe87(0x372)]||_0xf2d35a!=null&&_0xf2d35a[_0x1ffe87(0x2bf)]||_0xf2d35a!=null&&_0xf2d35a[_0x1ffe87(0x37a)])return;const _0x4f695e=_0x250462[_0x1ffe87(0x308)];if((_0x4f695e==null?void 0x0:_0x4f695e['unitId'])!==this[_0x1ffe87(0x3f1)])return;const _0x4818d4=_0x250462,_0x1c11c8=this[_0x1ffe87(0x488)][_0x1ffe87(0x1fa)][_0x1ffe87(0x493)](this[_0x1ffe87(0x488)][_0x1ffe87(0x1fa)][_0x1ffe87(0x4c4)]()[_0x1ffe87(0x2a1)])([_0x4818d4],this[_0x1ffe87(0x25a)])||[_0x4818d4];this[_0x1ffe87(0x528)](_0x1c11c8[0x0]);})),_0x40f540;}},_0x2c717a[_0x4ef07c(0x495)]=_0xcc55ce([_0x748969(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x748969(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x52a)])),_0x748969(0x5,_0x5a87f6['Inject'](_0x5a87f6[_0x4ef07c(0x44c)])),_0x748969(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x748969(0x7,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a[_0x4ef07c(0x483)])),_0x748969(0x8,_0x5a87f6[_0x4ef07c(0x2f6)](_0x596edb)),_0x748969(0x9,_0x5a87f6[_0x4ef07c(0x32b)]),_0x748969(0xa,_0x5a87f6[_0x4ef07c(0x546)]),_0x748969(0xb,_0x5a87f6[_0x4ef07c(0x217)]),_0x748969(0xc,_0x5a87f6['IPermissionService']),_0x748969(0xd,_0x5a87f6[_0x4ef07c(0x2fb)](_0x53cb33)),_0x748969(0xe,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x495)]);const _0x369ad3=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x558));function _0x3e784f(_0x77aab9){var _0x578c62=_0x4ef07c,_0xd007ad,_0x34148f,_0x37657d,_0x19fde9,_0x4db7b0;const _0x1ffd8d=_0x77aab9[_0x578c62(0x511)],_0x126968=JSON[_0x578c62(0x55e)](_0x1ffd8d);switch(_0x126968['cmd']){case _0x529cbe['HEARTBEAT']:case _0x529cbe['HELLO']:{const _0x126926=_0x126968[_0x578c62(0x49d)];return{..._0x126968,'data':_0x126926,'cmd':_0x126968[_0x578c62(0x33a)]};}case _0x529cbe[_0x578c62(0x1dd)]:{const _0x19b008=_0x126968[_0x578c62(0x230)];return{..._0x126968,'data':_0x19b008,'cmd':_0x126968[_0x578c62(0x33a)]};}case _0x529cbe[_0x578c62(0x38b)]:{const _0x2f14ff=_0x126968['collaMsg'];switch(_0x2f14ff['eventID']){case _0x9d3528[_0x578c62(0x328)]['PERMISSION_REJ']:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0xd007ad=_0x2f14ff[_0x578c62(0x396)])==null?void 0x0:_0xd007ad['cs']},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x258)]:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x34148f=_0x2f14ff[_0x578c62(0x33c)])==null?void 0x0:_0x34148f['cs']},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x55d)]:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x37657d=_0x2f14ff['newCsEvent'])==null?void 0x0:_0x37657d['cs']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)]['CHANGESET_REJ']:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x19fde9=_0x2f14ff['csRejEvent'])==null?void 0x0:_0x19fde9['cs']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x31d)]:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x4db7b0=_0x2f14ff[_0x578c62(0x1e0)])==null?void 0x0:_0x4db7b0['cs']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x237)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x30b)]},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x25e)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x3fe)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x388)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x4e8)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528['CollaborationEvent'][_0x578c62(0x251)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x3c4)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528['CollaborationEvent'][_0x578c62(0x1c5)]:case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x4b4)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff['liveShareOperation']},'cmd':_0x126968['cmd']};case _0x9d3528['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x3c4)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x303)]:return{..._0x126968,'data':_0x2f14ff,'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x2ca)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x20c)]},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x492)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff['updatePermissionObjEvent']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x351)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x213)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)]['UNISCRIPT_RUN']:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff['uniscriptRunEvent']},'cmd':_0x126968[_0x578c62(0x33a)]};default:return _0x126968;}}default:return _0x126968;}}function _0xd1ca62(_0x2407c2){var _0x3d1a8f=_0x4ef07c;switch(_0x2407c2[_0x3d1a8f(0x33a)]){case _0x529cbe[_0x3d1a8f(0x414)]:case _0x529cbe[_0x3d1a8f(0x4f4)]:return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2[_0x3d1a8f(0x33a)],'routeKey':_0x2407c2[_0x3d1a8f(0x3ad)]});case _0x529cbe[_0x3d1a8f(0x2f8)]:{let _0x5512d3;switch(_0x2407c2[_0x3d1a8f(0x511)]['eventID']){case _0x9d3528['CollaborationEvent'][_0x3d1a8f(0x237)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x237)],'updateCursorEvent':_0x2407c2[_0x3d1a8f(0x511)]['data']};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x388)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)]['USERS_LEAVE'],'leaveEvent':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528['CollaborationEvent'][_0x3d1a8f(0x25e)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x25e)],'joinEvent':_0x2407c2[_0x3d1a8f(0x511)]['data']};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x251)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x251)],'liveShareNewHost':_0x2407c2[_0x3d1a8f(0x511)]['data']};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x4b4)]:{_0x5512d3={'eventID':_0x9d3528['CollaborationEvent'][_0x3d1a8f(0x4b4)],'liveShareOperation':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x30a)]:{_0x5512d3={'eventID':_0x9d3528['CollaborationEvent'][_0x3d1a8f(0x30a)],'liveShareTerminate':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x296)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x5512d3={'eventID':_0x9d3528['CollaborationEvent'][_0x3d1a8f(0x1c5)]};break;}default:_0x5512d3={'eventID':_0x2407c2[_0x3d1a8f(0x511)]['eventID']};}return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2['cmd'],'routeKey':_0x2407c2['routeKey'],'collaMsg':_0x5512d3});}case _0x529cbe['JOIN']:return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2[_0x3d1a8f(0x33a)],'routeKey':_0x2407c2[_0x3d1a8f(0x3ad)],'joinReq':_0x2407c2[_0x3d1a8f(0x511)]});case _0x529cbe[_0x3d1a8f(0x51d)]:return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2[_0x3d1a8f(0x33a)],'routeKey':_0x2407c2[_0x3d1a8f(0x3ad)],'leaveReq':_0x2407c2['data']});default:throw new Error(_0x3d1a8f(0x470));}}var _0x52355b=Object[_0x4ef07c(0x4b2)],_0x5f3dc5=(_0x1232c7,_0x942d3e,_0xccc4c6,_0x4c0a3b)=>{var _0x1982b4=_0x4ef07c;for(var _0x15dda0=_0x4c0a3b>0x1?void 0x0:_0x4c0a3b?_0x52355b(_0x942d3e,_0xccc4c6):_0x942d3e,_0x392465=_0x1232c7[_0x1982b4(0x3aa)]-0x1,_0x295a63;_0x392465>=0x0;_0x392465--)(_0x295a63=_0x1232c7[_0x392465])&&(_0x15dda0=_0x295a63(_0x15dda0)||_0x15dda0);return _0x15dda0;},_0x38e5be=(_0x3a71cb,_0x44e22e)=>(_0x3efb57,_0x2eb4df)=>_0x44e22e(_0x3efb57,_0x2eb4df,_0x3a71cb);const _0x2ab6d6=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x355));function _0x3ea35d(_0x21a9e5,_0x37df22,_0x9eec8a){var _0x1c527a=_0x4ef07c;return _0x21a9e5+'/'+_0x37df22+_0x1c527a(0x30d)+_0x9eec8a+_0x1c527a(0x4ed);}_0x2c717a[_0x4ef07c(0x3e1)]=class extends _0x5a87f6['Disposable']{constructor(_0xa666c1,_0x310462,_0x36a570,_0x16a73a,_0x20c3c5){var _0xbfae07=_0x4ef07c;super(),this['_injector']=_0xa666c1,this[_0xbfae07(0x397)]=_0x310462,this[_0xbfae07(0x238)]=_0x36a570,this['_logService']=_0x16a73a,this[_0xbfae07(0x1f1)]=_0x20c3c5;}[_0x4ef07c(0x3a6)](_0x25bc22){var _0x2f46f8=_0x4ef07c;const _0x9acaee=this[_0x2f46f8(0x3b3)][_0x2f46f8(0x47e)](_0x3f793f[_0x2f46f8(0x2af)]);if(!_0x9acaee)throw new Error(_0x2f46f8(0x4f2));const _0x29e938=_0x9acaee[_0x2f46f8(0x415)](_0x25bc22);if(!_0x29e938)throw new Error(_0x2f46f8(0x359));const _0x4386d1=new _0x5a87f6[(_0x2f46f8(0x448))](),_0x44bf69=new _0x49c451['Subject']();_0x4386d1[_0x2f46f8(0x1da)](_0x29e938[_0x2f46f8(0x255)][_0x2f46f8(0x2ce)](_0x5b2662=>_0x44bf69[_0x2f46f8(0x534)](_0x5b2662))),_0x4386d1['add'](_0x5a87f6[_0x2f46f8(0x2c5)](()=>_0x44bf69[_0x2f46f8(0x49e)]()));const _0x31879c=new _0x49c451[(_0x2f46f8(0x34d))]();_0x4386d1[_0x2f46f8(0x1da)](_0x29e938[_0x2f46f8(0x1d1)]['subscribe'](_0x662551=>_0x31879c[_0x2f46f8(0x534)](_0x662551))),_0x4386d1[_0x2f46f8(0x1da)](_0x5a87f6[_0x2f46f8(0x2c5)](()=>_0x31879c[_0x2f46f8(0x49e)]()));const _0x584981=new _0x49c451['Subject']();_0x4386d1[_0x2f46f8(0x1da)](_0x29e938['message$'][_0x2f46f8(0x2ce)](_0x20dc07=>{const _0x2123d9=_0x3e784f(_0x20dc07);_0x584981['next'](_0x2123d9);})),_0x4386d1[_0x2f46f8(0x1da)](_0x5a87f6[_0x2f46f8(0x2c5)](()=>_0x584981['complete']()));let _0x3f4138;const _0x4db3db=()=>{var _0x4b27d0=_0x2f46f8;_0x31879c[_0x4b27d0(0x534)](new Event(_0x4b27d0(0x2a7))),_0x44bf69[_0x4b27d0(0x534)](new Event(_0x4b27d0(0x2a7))),_0x3f4138['close']();};return _0x3f4138={'memberID':'','close$':_0x44bf69[_0x2f46f8(0x245)](),'error$':_0x31879c[_0x2f46f8(0x245)](),'open$':_0x29e938[_0x2f46f8(0x3fd)],'message$':_0x584981[_0x2f46f8(0x245)](),'send':_0x2c39ea=>{var _0xaa42bc=_0x2f46f8;if(_0x2c39ea[_0xaa42bc(0x33a)]===_0x529cbe[_0xaa42bc(0x2f8)]){if(_0x2c39ea[_0xaa42bc(0x511)][_0xaa42bc(0x3f7)]===_0x9d3528[_0xaa42bc(0x328)][_0xaa42bc(0x543)]){this[_0xaa42bc(0x358)](_0x3f4138,_0x2c39ea[_0xaa42bc(0x511)])['catch'](_0x2ff0ea=>{var _0x4628a0=_0xaa42bc;this['_logService'][_0x4628a0(0x456)](_0x2ff0ea),_0x4db3db();});return;}if(_0x2c39ea[_0xaa42bc(0x511)][_0xaa42bc(0x3f7)]===_0x9d3528['CollaborationEvent']['FETCH_MISSING']){const _0x1734d7=_0x2c39ea['data'];this[_0xaa42bc(0x4cc)](_0x1734d7)[_0xaa42bc(0x376)](_0x5ee351=>{var _0x39cf9d=_0xaa42bc;_0x584981[_0x39cf9d(0x534)]({'cmd':_0x529cbe[_0x39cf9d(0x38b)],'code':_0x488bd0['OK'],'routeKey':_0x1734d7[_0x39cf9d(0x511)][_0x39cf9d(0x3f1)],'routeType':'','data':{'eventID':_0x9d3528[_0x39cf9d(0x328)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5ee351}}});})['catch'](_0x419afe=>{var _0x21f44e=_0xaa42bc;this['_logService'][_0x21f44e(0x456)](_0x419afe),_0x4db3db();});return;}}_0x29e938['send'](_0xd1ca62(_0x2c39ea));},'close':()=>{var _0x1bee9b=_0x2f46f8;_0x29e938[_0x1bee9b(0x3dc)](),_0x4386d1[_0x1bee9b(0x35b)]();}},_0x3f4138;}async[_0x4ef07c(0x358)](_0x1c3aa5,_0x514b03){var _0x85a3b6=_0x4ef07c,_0x26081d;const {unitType:_0x4d0a79,unitID:_0x3de201,changeset:_0x413c8a}=_0x514b03[_0x85a3b6(0x511)],_0x40cb34={'unitID':_0x3de201,'memberID':_0x1c3aa5['memberID'],'type':_0x4d0a79,'changeset':_0x9d3528[_0x85a3b6(0x1ed)](_0x413c8a)},_0x2cd70b=this['_configService'][_0x85a3b6(0x4e3)](_0x50bbc4),_0xfe7886=_0x3ea35d((_0x26081d=_0x2cd70b==null?void 0x0:_0x2cd70b[_0x85a3b6(0x26b)])!=null?_0x26081d:_0x12cea0,_0x4d0a79,_0x3de201);try{await this['_httpService']['post'](_0xfe7886,{'body':_0x40cb34});}catch(_0x4d96e0){throw this[_0x85a3b6(0x1df)]['error'](_0x85a3b6(0x227),_0x85a3b6(0x4e0)),_0x4d96e0;}}async[_0x4ef07c(0x4cc)](_0x3b6728){var _0x45ee8c=_0x4ef07c;const {unitID:_0x1518d2,from:_0x5d03e3,to:_0x1d9d21,unitType:_0x199d16}=_0x3b6728[_0x45ee8c(0x511)];return(await this[_0x45ee8c(0x1f1)][_0x45ee8c(0x3d5)]({'metadata':void 0x0},{'unitID':_0x1518d2,'type':_0x199d16,'from':_0x5d03e3,'to':_0x1d9d21}))[_0x45ee8c(0x437)][_0x45ee8c(0x277)](_0x4734b3=>((_0x4734b3[_0x45ee8c(0x519)]===null||_0x4734b3[_0x45ee8c(0x519)]===void 0x0)&&(_0x4734b3[_0x45ee8c(0x519)]=[]),_0x4734b3));}},_0x2c717a[_0x4ef07c(0x3e1)]=_0x5f3dc5([_0x38e5be(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x38e5be(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f['HTTPService'])),_0x38e5be(0x2,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x38e5be(0x3,_0x5a87f6['ILogService']),_0x38e5be(0x4,_0x9d3528[_0x4ef07c(0x542)])],_0x2c717a[_0x4ef07c(0x3e1)]);var _0x420b9a=Object[_0x4ef07c(0x4b2)],_0x1193c6=(_0x23d7d2,_0x1a9b0f,_0xaf65af,_0x440ff5)=>{for(var _0x6fcb16=_0x440ff5>0x1?void 0x0:_0x440ff5?_0x420b9a(_0x1a9b0f,_0xaf65af):_0x1a9b0f,_0x20296e=_0x23d7d2['length']-0x1,_0x2ba561;_0x20296e>=0x0;_0x20296e--)(_0x2ba561=_0x23d7d2[_0x20296e])&&(_0x6fcb16=_0x2ba561(_0x6fcb16)||_0x6fcb16);return _0x6fcb16;},_0x11846a=(_0x5b99d7,_0x53d250)=>(_0x135087,_0x17eada)=>_0x53d250(_0x135087,_0x17eada,_0x5b99d7);_0x2c717a['CollaborationSessionService']=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x190446,_0x36d42f,_0x10f57c,_0x2bbc19,_0x450942,_0x42eca3){var _0x34ee5c=_0x4ef07c;super(),_0x27ebba(this,_0x34ee5c(0x3a9),new _0x49c451[(_0x34ee5c(0x32a))](void 0x0)),_0x27ebba(this,_0x34ee5c(0x2d2),this[_0x34ee5c(0x3a9)][_0x34ee5c(0x245)]()),_0x27ebba(this,'_candidateSocket',null),_0x27ebba(this,_0x34ee5c(0x4e6),new Map()),_0x27ebba(this,_0x34ee5c(0x3c1),new _0x49c451[(_0x34ee5c(0x32a))](_0x14cf5c[_0x34ee5c(0x408)])),_0x27ebba(this,_0x34ee5c(0x349),this[_0x34ee5c(0x3c1)][_0x34ee5c(0x245)]()),_0x27ebba(this,_0x34ee5c(0x489),!0x1),_0x27ebba(this,'_retryConnectingTimer'),_0x27ebba(this,'_retryCount',0x0),_0x27ebba(this,'_sendHeartbeatTimer'),_0x27ebba(this,'_timeoutTimer'),(this[_0x34ee5c(0x3b3)]=_0x190446,this[_0x34ee5c(0x1df)]=_0x36d42f,this['_configService']=_0x10f57c,this[_0x34ee5c(0x2b7)]=_0x2bbc19,this['_collaborationUIEventService']=_0x450942,this[_0x34ee5c(0x51b)]=_0x42eca3,this['_listenToNetworkCondition']());}get['_socket'](){return this['_socket$']['getValue']();}[_0x4ef07c(0x304)](){var _0x348b52=_0x4ef07c;this['_networkConditionService']&&this[_0x348b52(0x4bb)](this['_networkConditionService'][_0x348b52(0x44b)]['subscribe'](_0x4d1909=>{var _0xae4bde=_0x348b52;_0x4d1909&&!this[_0xae4bde(0x1fe)]&&this[_0xae4bde(0x1e5)](),_0x4d1909||this[_0xae4bde(0x234)]();}));}['dispose'](){var _0x488905=_0x4ef07c;super[_0x488905(0x35b)](),this['_clearRetryConnectingTimer'](),this[_0x488905(0x36e)](),this['_clearHeartbeatTimer'](),this[_0x488905(0x4e6)][_0x488905(0x482)](_0x1345a2=>_0x1345a2[_0x488905(0x35b)]()),this['_sessions']['clear'](),this[_0x488905(0x3c1)][_0x488905(0x49e)]();}async[_0x4ef07c(0x2b3)](_0x221bc7){var _0x5a4868=_0x4ef07c;if(this['_sessions']['has'](_0x221bc7))return this['_sessions']['get'](_0x221bc7);this['_tryEnsureSocket']();const _0x57e254=this[_0x5a4868(0x3b3)][_0x5a4868(0x3cd)](_0x2c717a[_0x5a4868(0x459)],_0x221bc7,this['_socket$'][_0x5a4868(0x245)]());return this['_sessions'][_0x5a4868(0x3bc)](_0x221bc7,_0x57e254),_0x57e254;}['closeSession'](_0x2cb74e){var _0x2a4326=_0x4ef07c,_0x4b27e1;const _0x5e0cc8=this[_0x2a4326(0x4e6)]['get'](_0x2cb74e);_0x5e0cc8&&(this[_0x2a4326(0x4e6)]['delete'](_0x2cb74e),_0x5e0cc8[_0x2a4326(0x3dc)]()),this['_sessions'][_0x2a4326(0x2ae)]||(_0x4b27e1=this['_socket'])==null||_0x4b27e1['close']();}[_0x4ef07c(0x1e5)](){var _0x54d9a4=_0x4ef07c;this[_0x54d9a4(0x4d4)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x54d9a4(0x552)]();}[_0x4ef07c(0x428)](){var _0x449cb0=_0x4ef07c;this[_0x449cb0(0x4d5)]!=null&&(clearTimeout(this[_0x449cb0(0x4d5)]),this[_0x449cb0(0x4d5)]=null);}async['_createSocket'](){var _0x37f0ea=_0x4ef07c,_0x4d9b97;const _0x10d765=this['_configService'][_0x37f0ea(0x4e3)](_0x50bbc4),_0x59c37b=(_0x4d9b97=_0x10d765==null?void 0x0:_0x10d765[_0x37f0ea(0x450)])!=null?_0x4d9b97:_0x3de4fd,_0x351343=await this[_0x37f0ea(0x2b7)][_0x37f0ea(0x415)](_0x59c37b);return this[_0x37f0ea(0x301)]=_0x351343,_0x351343;}async[_0x4ef07c(0x54a)](){var _0x323fb1=_0x4ef07c,_0x5ee4cd,_0x234423;try{const _0x595c9c=(_0x234423=(_0x5ee4cd=this[_0x323fb1(0x1fe)])!=null?_0x5ee4cd:this[_0x323fb1(0x301)])!=null?_0x234423:await this[_0x323fb1(0x44e)]();if(_0x595c9c){const _0x4b31fb=_0x595c9c[_0x323fb1(0x26e)];_0x595c9c[_0x323fb1(0x26e)]=_0x146c00=>(this[_0x323fb1(0x327)](),_0x4b31fb[_0x323fb1(0x3ac)](_0x595c9c,[_0x146c00])),_0x595c9c[_0x323fb1(0x436)][_0x323fb1(0x2ce)](_0x3552a0=>this[_0x323fb1(0x276)](_0x595c9c,_0x3552a0)),_0x595c9c[_0x323fb1(0x1d1)][_0x323fb1(0x50f)](_0xf159a2[_0x323fb1(0x1cb)](0x1))[_0x323fb1(0x2ce)](_0x501dce=>this['_logService'][_0x323fb1(0x456)](_0x323fb1(0x4b6),_0x501dce)),_0x595c9c[_0x323fb1(0x3fd)]['pipe'](_0xf159a2[_0x323fb1(0x1cb)](0x1))[_0x323fb1(0x2ce)](()=>{var _0x523122=_0x323fb1;this[_0x523122(0x373)](_0x595c9c);}),_0x595c9c[_0x323fb1(0x255)][_0x323fb1(0x50f)](_0xf159a2[_0x323fb1(0x1cb)](0x1))[_0x323fb1(0x2ce)](_0x4ea434=>{var _0x1c5f6d=_0x323fb1;this[_0x1c5f6d(0x1df)]['debug'](_0x1c5f6d(0x4db),_0x1c5f6d(0x2ac),_0x4ea434),this[_0x1c5f6d(0x44f)]();});}}catch(_0x2b7441){this[_0x323fb1(0x1df)][_0x323fb1(0x456)](_0x2b7441),this[_0x323fb1(0x44f)]();}}['_onConnectionOpen'](_0xfc54fb){var _0x5553d8=_0x4ef07c;this[_0x5553d8(0x1df)][_0x5553d8(0x3a5)](_0x5553d8(0x4db),_0x5553d8(0x35d)),_0xfc54fb['send']({'cmd':_0x529cbe[_0x5553d8(0x4f4)]}),this['_rescheduleHeartbeat']();}[_0x4ef07c(0x234)](){var _0x5c84a4=_0x4ef07c;this[_0x5c84a4(0x489)]=!0x1,this[_0x5c84a4(0x301)]=null,this[_0x5c84a4(0x3c1)]['next'](_0x14cf5c[_0x5c84a4(0x391)]),this['_socket$'][_0x5c84a4(0x534)](null),this[_0x5c84a4(0x36e)](),this[_0x5c84a4(0x522)]();}[_0x4ef07c(0x44f)](){var _0x195fae=_0x4ef07c,_0x3ad4d8;this['_onOffline'](),this[_0x195fae(0x4d4)]<((_0x3ad4d8=this[_0x195fae(0x238)][_0x195fae(0x4e3)](_0x426cb4))!=null?_0x3ad4d8:0x3)?(this[_0x195fae(0x333)][_0x195fae(0x446)]({'id':_0x28846f[_0x195fae(0x35f)]}),this[_0x195fae(0x552)]()):this[_0x195fae(0x333)][_0x195fae(0x446)]({'id':_0x28846f[_0x195fae(0x4f7)]});}['_tryReconnect'](){var _0x2bd097=_0x4ef07c,_0x3eebea;const _0x178f4d=this[_0x2bd097(0x4d4)],_0x42d938=this[_0x2bd097(0x238)][_0x2bd097(0x4e3)](_0x50bbc4),_0x44303e=_0x178f4d===0x0?0x0:((_0x3eebea=_0x42d938==null?void 0x0:_0x42d938[_0x2bd097(0x550)])!=null?_0x3eebea:0x4e20)*0x2**_0x178f4d;this[_0x2bd097(0x4d5)]=setTimeout(()=>{var _0x902455=_0x2bd097;clearTimeout(this[_0x902455(0x4d5)]),this[_0x902455(0x4d5)]=null,this[_0x902455(0x54a)]();},_0x44303e),this[_0x2bd097(0x4d4)]+=0x1;}[_0x4ef07c(0x276)](_0x295b98,_0x4527df){var _0x19ae3f=_0x4ef07c;const {cmd:_0xe04942}=_0x4527df;_0xe04942===_0x529cbe[_0x19ae3f(0x4f4)]&&!this[_0x19ae3f(0x489)]&&(_0x295b98[_0x19ae3f(0x473)]=_0x4527df['data'][_0x19ae3f(0x473)],this[_0x19ae3f(0x3a9)][_0x19ae3f(0x534)](_0x295b98),this['_status$']['next'](_0x14cf5c['ONLINE']),this[_0x19ae3f(0x489)]=!0x0,this[_0x19ae3f(0x301)]=null),_0xe04942===_0x529cbe[_0x19ae3f(0x414)]&&this[_0x19ae3f(0x36e)](),this[_0x19ae3f(0x327)]();}[_0x4ef07c(0x327)](){var _0xf33271=_0x4ef07c,_0x317a21;this[_0xf33271(0x522)](),this[_0xf33271(0x4c0)]=setTimeout(()=>this[_0xf33271(0x228)](),(_0x317a21=this['_configService'][_0xf33271(0x4e3)](_0xe56939))!=null?_0x317a21:0x7530);}[_0x4ef07c(0x228)](){var _0x5afbd3=_0x4ef07c;this[_0x5afbd3(0x1fe)]['send']({'cmd':_0x529cbe[_0x5afbd3(0x414)]}),this[_0x5afbd3(0x3a8)]();}[_0x4ef07c(0x3a8)](){var _0x2186f3=_0x4ef07c,_0x4d5858;this[_0x2186f3(0x1ce)]=setTimeout(()=>this[_0x2186f3(0x44f)](),(_0x4d5858=this['_configService'][_0x2186f3(0x4e3)](_0x2c4727))!=null?_0x4d5858:0x4e20);}[_0x4ef07c(0x522)](){var _0x16a0d6=_0x4ef07c;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x16a0d6(0x4c0)]),this[_0x16a0d6(0x4c0)]=null);}[_0x4ef07c(0x36e)](){var _0x29a6f9=_0x4ef07c;this[_0x29a6f9(0x1ce)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x29a6f9(0x1ce)]=null);}},_0x2c717a[_0x4ef07c(0x53f)]=_0x1193c6([_0x11846a(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x11846a(0x1,_0x5a87f6[_0x4ef07c(0x546)]),_0x11846a(0x2,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x11846a(0x3,_0x2ab6d6),_0x11846a(0x4,_0x5a87f6['Inject'](_0x596edb)),_0x11846a(0x5,_0x5a87f6[_0x4ef07c(0x2fb)](_0x369ad3))],_0x2c717a[_0x4ef07c(0x53f)]);var _0x4319ac=Object[_0x4ef07c(0x4b2)],_0x36173b=(_0x2ce8ba,_0x4e3496,_0x32db85,_0x1a114e)=>{for(var _0x384f2e=_0x1a114e>0x1?void 0x0:_0x1a114e?_0x4319ac(_0x4e3496,_0x32db85):_0x4e3496,_0x73f7a=_0x2ce8ba['length']-0x1,_0x199ede;_0x73f7a>=0x0;_0x73f7a--)(_0x199ede=_0x2ce8ba[_0x73f7a])&&(_0x384f2e=_0x199ede(_0x384f2e)||_0x384f2e);return _0x384f2e;},_0x3cb26a=(_0x3e8249,_0x426311)=>(_0x45400b,_0x4233b5)=>_0x426311(_0x45400b,_0x4233b5,_0x3e8249);_0x2c717a[_0x4ef07c(0x220)]=class extends _0x5a87f6['RxDisposable']{constructor(_0x23516e,_0x187413,_0x49fce1,_0x332438){var _0x1f2af6=_0x4ef07c,_0x35d98f;super(),_0x27ebba(this,_0x1f2af6(0x4c7),new Map()),_0x27ebba(this,_0x1f2af6(0x4e2),new _0x49c451[(_0x1f2af6(0x34d))]()),_0x27ebba(this,_0x1f2af6(0x2f5),this[_0x1f2af6(0x4e2)]['asObservable']()),(this[_0x1f2af6(0x3b3)]=_0x23516e,this['_collabSessionService']=_0x187413,this['_configService']=_0x49fce1,this['_univerInstanceService']=_0x332438,((_0x35d98f=this['_configService'][_0x1f2af6(0x4e3)](_0x50bbc4))==null?void 0x0:_0x35d98f[_0x1f2af6(0x2b4)])!==!0x1&&this[_0x1f2af6(0x3da)]());}['dispose'](){var _0x43de51=_0x4ef07c;super[_0x43de51(0x35b)](),this['_entities'][_0x43de51(0x482)](_0x12204c=>_0x12204c[_0x43de51(0x35b)]()),this['_entities'][_0x43de51(0x479)]();}[_0x4ef07c(0x344)](_0x5d6390){var _0x59bf7a=_0x4ef07c,_0x57d111;return(_0x57d111=this[_0x59bf7a(0x4c7)][_0x59bf7a(0x47e)](_0x5d6390))!=null?_0x57d111:null;}[_0x4ef07c(0x2b9)](_0x25b354){var _0x4b3a73=_0x4ef07c;const _0x564d68=this[_0x4b3a73(0x344)](_0x25b354);return _0x564d68?_0x49c451['of'](_0x564d68):this['_entityInit$'][_0x4b3a73(0x50f)](_0xf159a2[_0x4b3a73(0x320)](_0x418ad5=>_0x418ad5[_0x4b3a73(0x3f1)]===_0x25b354));}['readyForCollab'](_0x3b8a01){var _0x2e1e1e=_0x4ef07c;return _0x49c451[_0x2e1e1e(0x389)](this[_0x2e1e1e(0x2b9)](_0x3b8a01)[_0x2e1e1e(0x50f)](_0xf159a2['map'](()=>{})));}[_0x4ef07c(0x3da)](){var _0x41a58f=_0x4ef07c;this[_0x41a58f(0x25a)][_0x41a58f(0x2a9)](_0x5a87f6[_0x41a58f(0x47a)]['UNIVER_SHEET'])[_0x41a58f(0x50f)](_0x49c451[_0x41a58f(0x361)](this[_0x41a58f(0x501)]),_0xf159a2[_0x41a58f(0x42e)](0x10))[_0x41a58f(0x2ce)](async _0x129be6=>{var _0xb2faed=_0x41a58f;const _0x29539d=_0x129be6['getUnitId'](),_0x537e49=await this[_0xb2faed(0x515)](_0x29539d,_0x1ac378[_0xb2faed(0x2be)]);this[_0xb2faed(0x4c7)]['set'](_0x29539d,_0x537e49);}),this[_0x41a58f(0x25a)]['getTypeOfUnitAdded$'](_0x5a87f6['UniverInstanceType'][_0x41a58f(0x41f)])[_0x41a58f(0x50f)](_0x49c451[_0x41a58f(0x361)](this[_0x41a58f(0x501)]),_0xf159a2['delay'](0x10))[_0x41a58f(0x50f)](_0xf159a2['filter'](_0x4658ea=>!_0x4658ea[_0x41a58f(0x224)]()['startsWith']('__')))[_0x41a58f(0x2ce)](async _0xcebd2f=>{var _0x535fe6=_0x41a58f;const _0x513303=_0xcebd2f['getUnitId'](),_0x201493=await this[_0x535fe6(0x515)](_0x513303,_0x1ac378[_0x535fe6(0x41f)]);this['_entities'][_0x535fe6(0x3bc)](_0x513303,_0x201493);}),_0x49c451[_0x41a58f(0x294)](this[_0x41a58f(0x25a)][_0x41a58f(0x4ba)](_0x5a87f6[_0x41a58f(0x47a)]['UNIVER_SHEET']),this[_0x41a58f(0x25a)][_0x41a58f(0x4ba)](_0x5a87f6['UniverInstanceType'][_0x41a58f(0x41f)]))[_0x41a58f(0x50f)](_0x49c451[_0x41a58f(0x361)](this['dispose$']))[_0x41a58f(0x2ce)](_0x13f9c4=>{var _0x45dbac=_0x41a58f;const _0x4fc7b0=_0x13f9c4[_0x45dbac(0x224)](),_0x45f16b=this[_0x45dbac(0x4c7)][_0x45dbac(0x47e)](_0x4fc7b0);_0x45f16b&&(_0x45f16b[_0x45dbac(0x35b)](),this['_entities'][_0x45dbac(0x45f)](_0x4fc7b0));});}async['_startCollaboration'](_0xc9990f,_0x427f3d){var _0x414715=_0x4ef07c;const _0x19375b=await this[_0x414715(0x49a)][_0x414715(0x2b3)](_0xc9990f),_0x1b6a46=this[_0x414715(0x3b3)]['createInstance'](this[_0x414715(0x262)](_0x427f3d),_0xc9990f,_0x427f3d,_0x19375b);return await _0x1b6a46[_0x414715(0x2a8)](),this[_0x414715(0x4e2)][_0x414715(0x534)](_0x1b6a46),_0x1b6a46;}[_0x4ef07c(0x262)](_0x50eb0e){var _0x3019de=_0x4ef07c;switch(_0x50eb0e){case _0x1ac378[_0x3019de(0x41f)]:return _0x2c717a['DocCollaborationEntity'];case _0x1ac378[_0x3019de(0x2be)]:return _0x2c717a['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x50eb0e);}}},_0x2c717a[_0x4ef07c(0x220)]=_0x36173b([_0x3cb26a(0x0,_0x5a87f6['Inject'](_0x5a87f6[_0x4ef07c(0x242)])),_0x3cb26a(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a[_0x4ef07c(0x53f)])),_0x3cb26a(0x2,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x3cb26a(0x3,_0x5a87f6[_0x4ef07c(0x32b)])],_0x2c717a[_0x4ef07c(0x220)]);var _0x1ddbb4=Object['getOwnPropertyDescriptor'],_0x381579=(_0x3972db,_0x41d513,_0x1aa892,_0x1809dc)=>{var _0x3c2a14=_0x4ef07c;for(var _0xbb298d=_0x1809dc>0x1?void 0x0:_0x1809dc?_0x1ddbb4(_0x41d513,_0x1aa892):_0x41d513,_0x4e1e38=_0x3972db[_0x3c2a14(0x3aa)]-0x1,_0x2b2829;_0x4e1e38>=0x0;_0x4e1e38--)(_0x2b2829=_0x3972db[_0x4e1e38])&&(_0xbb298d=_0x2b2829(_0xbb298d)||_0xbb298d);return _0xbb298d;},_0x5f2ab4=(_0x3794b0,_0x186d26)=>(_0x7a1fc3,_0x1d5f9c)=>_0x186d26(_0x7a1fc3,_0x1d5f9c,_0x3794b0);const _0x38417c=_0x4ef07c(0x319),_0x1cb4bf='Univer';let _0x401217=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x6d339a,_0x47f614){var _0x26b048=_0x4ef07c;super(),this[_0x26b048(0x25a)]=_0x6d339a,this[_0x26b048(0x238)]=_0x47f614,this[_0x26b048(0x3da)]();}['_init'](){var _0xfebbcf=_0x4ef07c;this[_0xfebbcf(0x4bb)](this[_0xfebbcf(0x25a)][_0xfebbcf(0x215)][_0xfebbcf(0x2ce)](()=>{var _0x3eaf93=_0xfebbcf,_0x3a26da;const _0x237d81=this[_0x3eaf93(0x25a)][_0x3eaf93(0x33f)]();let _0x1b96b4=(_0x3a26da=this[_0x3eaf93(0x238)][_0x3eaf93(0x4e3)](_0x38417c))!=null?_0x3a26da:_0x1cb4bf;_0x237d81 instanceof _0x5a87f6[_0x3eaf93(0x371)]&&(_0x1b96b4=_0x237d81['name']),document[_0x3eaf93(0x434)]=_0x1b96b4;}));}};_0x401217=_0x381579([_0x5f2ab4(0x0,_0x5a87f6['IUniverInstanceService']),_0x5f2ab4(0x1,_0x5a87f6[_0x4ef07c(0x4d8)])],_0x401217);var _0x5b59c7=Object[_0x4ef07c(0x4b2)],_0x4c2709=(_0x147805,_0x3bd37b,_0x5db1c9,_0x3fe45f)=>{var _0x333f61=_0x4ef07c;for(var _0x268fab=_0x3fe45f>0x1?void 0x0:_0x3fe45f?_0x5b59c7(_0x3bd37b,_0x5db1c9):_0x3bd37b,_0x490e21=_0x147805[_0x333f61(0x3aa)]-0x1,_0x3fc6e3;_0x490e21>=0x0;_0x490e21--)(_0x3fc6e3=_0x147805[_0x490e21])&&(_0x268fab=_0x3fc6e3(_0x268fab)||_0x268fab);return _0x268fab;},_0x18752b=(_0xd45707,_0x14c299)=>(_0x3a7ca9,_0x82f394)=>_0x14c299(_0x3a7ca9,_0x82f394,_0xd45707);let _0x4d2a45=class{constructor(_0x50075f,_0x326b8f,_0x765129){var _0x50e207=_0x4ef07c;this[_0x50e207(0x238)]=_0x50075f,this[_0x50e207(0x397)]=_0x326b8f,this[_0x50e207(0x4a5)]=_0x765129,this[_0x50e207(0x2a8)]();}[_0x4ef07c(0x2a8)](){var _0x36dca1=_0x4ef07c;this[_0x36dca1(0x397)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5eca5e,_0x4f2aea)=>_0x4f2aea(_0x5eca5e)[_0x36dca1(0x50f)](_0x49c451['concatMap'](async _0x4a6c8a=>{var _0x3adb1c=_0x36dca1;const _0x3f0a64=_0x4a6c8a;if(_0x3f0a64[_0x3adb1c(0x45c)]===0x191){if(typeof window>'u')throw new Error(_0x3adb1c(0x232));if(window[_0x3adb1c(0x243)](this['localeService']['t'](_0x3adb1c(0x1ef)))){const _0x48bf87=window['encodeURIComponent'](window[_0x3adb1c(0x4dd)]['href']);window[_0x3adb1c(0x4dd)][_0x3adb1c(0x21e)]=this['_getLoginPath']()+_0x3adb1c(0x2d7)+_0x48bf87;}}return _0x3f0a64;}))});}[_0x4ef07c(0x4f8)](){var _0x28783c=_0x4ef07c,_0x4663ec;const _0x2770c8=this[_0x28783c(0x238)][_0x28783c(0x4e3)](_0x50bbc4);return(_0x4663ec=_0x2770c8==null?void 0x0:_0x2770c8[_0x28783c(0x21b)])!=null?_0x4663ec:_0x565a47;}};_0x4d2a45=_0x4c2709([_0x18752b(0x0,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x18752b(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)])),_0x18752b(0x2,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x44c)]))],_0x4d2a45);var _0x54a8c8=Object[_0x4ef07c(0x4b2)],_0x2acfd3=(_0x148504,_0x2550b7,_0x46236a,_0x3177a8)=>{for(var _0x334a98=_0x3177a8>0x1?void 0x0:_0x3177a8?_0x54a8c8(_0x2550b7,_0x46236a):_0x2550b7,_0x52edcc=_0x148504['length']-0x1,_0x56c327;_0x52edcc>=0x0;_0x52edcc--)(_0x56c327=_0x148504[_0x52edcc])&&(_0x334a98=_0x56c327(_0x334a98)||_0x334a98);return _0x334a98;},_0xbee90c=(_0x3456fa,_0x28e8b8)=>(_0x45211c,_0x585356)=>_0x28e8b8(_0x45211c,_0x585356,_0x3456fa);const _0x260280='/universer-api/authz';_0x2c717a[_0x4ef07c(0x2b5)]=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x5b7936,_0x2edfdb){var _0x48097b=_0x4ef07c;super(),this[_0x48097b(0x43f)]=_0x5b7936,this['_configService']=_0x2edfdb,this[_0x48097b(0x399)]();}[_0x4ef07c(0x399)](){var _0x3009f9=_0x4ef07c;const _0x36d687=this;this['disposeWithMe'](this['_HTTPService'][_0x3009f9(0x55f)]({'priority':0x3e7,'interceptor':_0x3f793f['MergeInterceptorFactory']({'isMatch'(_0x376f58){var _0x407fbb=_0x3009f9,_0x3fa6c9;if(_0x376f58[_0x407fbb(0x30f)]===_0x407fbb(0x1f8)&&((_0x3fa6c9=_0x376f58[_0x407fbb(0x46c)])!=null&&_0x3fa6c9[_0x407fbb(0x1e4)])){const {objectID:_0x5625a2,objectType:_0x14069e}=_0x376f58[_0x407fbb(0x46c)][_0x407fbb(0x1e4)]||{};if(!_0x5625a2||_0x14069e===void 0x0)return!0x1;const _0x5b9dd9=_0x36d687[_0x407fbb(0x24e)]()+'/'+_0x14069e+'/object/'+_0x5625a2+_0x407fbb(0x316);if(_0x376f58[_0x407fbb(0x549)]===_0x5b9dd9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x205bf2){var _0x265146=_0x3009f9,_0x5288f0;return(_0x5288f0=_0x205bf2[_0x265146(0x46c)])==null?void 0x0:_0x5288f0[_0x265146(0x1e4)];},'mergeParamsToRequest'(_0x780707,_0x5e73eb){var _0x280070=_0x3009f9;const _0x34a9cb=_0x36d687[_0x280070(0x24e)]()+_0x280070(0x531),_0x35091e=_0x780707[_0x280070(0x2f3)]((_0x5e6bd2,_0x4ef864)=>{var _0x217a5d=_0x280070;const {unitID:_0x3480c4,objectID:_0x24a57c,objectType:_0x43c03d,actions:_0x46b34a}=_0x4ef864;return _0x5e6bd2[_0x3480c4]||(_0x5e6bd2[_0x3480c4]={}),_0x5e6bd2[_0x3480c4][_0x24a57c]||(_0x5e6bd2[_0x3480c4][_0x24a57c]={'objectID':_0x24a57c,'objectType':_0x43c03d,'actions':[]}),_0x5e6bd2[_0x3480c4][_0x24a57c][_0x217a5d(0x4dc)][_0x217a5d(0x306)](..._0x46b34a),_0x5e6bd2;},{}),_0x496a1c=[];for(const _0x31ab9d in _0x35091e)for(const _0x1f0264 in _0x35091e[_0x31ab9d]){const {actions:_0x33305c,objectType:_0x2cce06}=_0x35091e[_0x31ab9d][_0x1f0264],_0x54202e=[...new Set(_0x33305c)];_0x496a1c['push']({'unitID':_0x31ab9d,'objectID':_0x1f0264,'objectType':_0x2cce06,'actions':_0x54202e});}return new _0x3f793f[(_0x280070(0x3b2))](_0x280070(0x1f8),_0x34a9cb,{'headers':_0x5e73eb[_0x280070(0x28d)],'withCredentials':_0x5e73eb[_0x280070(0x4c9)],'responseType':_0x5e73eb[_0x280070(0x314)],'body':{'requests':_0x496a1c}});}},{'distributeResult'(_0x10341a,_0x295de4){var _0x25d563=_0x3009f9;const {objectActions:_0x47beb4}=_0x10341a;return _0x295de4[_0x25d563(0x277)](_0xe54574=>{var _0x4d33a4=_0x25d563;const {unitID:_0x3d6164,objectID:_0x1b5d09,actions:_0x35d6ab}=_0xe54574,_0x482a3c=_0x47beb4[_0x4d33a4(0x21a)](_0x266305=>_0x266305[_0x4d33a4(0x3f1)]===_0x3d6164&&_0x266305[_0x4d33a4(0x38e)]===_0x1b5d09),_0xd18b0d=_0x35d6ab[_0x4d33a4(0x277)](_0x134340=>_0x482a3c==null?void 0x0:_0x482a3c[_0x4d33a4(0x4dc)][_0x4d33a4(0x21a)](_0x2ab294=>_0x2ab294[_0x4d33a4(0x20a)]===_0x134340))['filter'](_0x4c0213=>!!_0x4c0213);return{'config':_0xe54574,'result':{'actions':_0xd18b0d,'error':_0x10341a[_0x4d33a4(0x456)]}};});}})}));}[_0x4ef07c(0x24e)](){var _0x4785a3=_0x4ef07c,_0x3976ae;const _0x14f02a=this['_configService'][_0x4785a3(0x4e3)](_0x50bbc4);return(_0x3976ae=_0x14f02a==null?void 0x0:_0x14f02a[_0x4785a3(0x476)])!=null?_0x3976ae:_0x260280;}async[_0x4ef07c(0x4c2)](_0x48bfcc){var _0x2ef57a=_0x4ef07c;const _0x5ddf73=this[_0x2ef57a(0x24e)]()+'/'+_0x48bfcc[_0x2ef57a(0x39f)]+_0x2ef57a(0x4ca);return(await this[_0x2ef57a(0x43f)][_0x2ef57a(0x3ff)](_0x5ddf73,{'body':_0x48bfcc}))['body']['objectID']||'';}async[_0x4ef07c(0x1ee)](_0x49141f){var _0x298f0d=_0x4ef07c;const _0x4f4feb=this[_0x298f0d(0x24e)]()+'/-/object/list';return(await this[_0x298f0d(0x43f)][_0x298f0d(0x3ff)](_0x4f4feb,{'body':_0x49141f}))[_0x298f0d(0x1e4)]['objects'];}async[_0x4ef07c(0x4f6)](_0x1ff4ae){var _0xf4a5dc=_0x4ef07c,_0x404cc1,_0x389324;const _0x3a192d=this[_0xf4a5dc(0x24e)]()+'/'+_0x1ff4ae[_0xf4a5dc(0x39f)]+'/object/'+_0x1ff4ae[_0xf4a5dc(0x38e)],_0x1d99ce=await this[_0xf4a5dc(0x43f)]['put'](_0x3a192d,{'body':_0x1ff4ae});if(((_0x389324=(_0x404cc1=_0x1d99ce==null?void 0x0:_0x1d99ce[_0xf4a5dc(0x1e4)])==null?void 0x0:_0x404cc1[_0xf4a5dc(0x456)])==null?void 0x0:_0x389324[_0xf4a5dc(0x3ce)])!==0x1)throw new Error(_0xf4a5dc(0x1eb));}async['allowed'](_0x4d3d6a){var _0x335e63=_0x4ef07c;const _0x20dd68=this[_0x335e63(0x24e)]()+'/'+_0x4d3d6a['objectType']+_0x335e63(0x229)+_0x4d3d6a['objectID']+_0x335e63(0x316);return(await this[_0x335e63(0x43f)][_0x335e63(0x3ff)](_0x20dd68,{'body':_0x4d3d6a}))['body'][_0x335e63(0x4dc)];}async['batchAllowed'](_0x1ee4a6){var _0x131404=_0x4ef07c;const _0x1be68b=this['_getAPIPrefixPath']()+_0x131404(0x531);return(await this[_0x131404(0x43f)][_0x131404(0x3ff)](_0x1be68b,{'body':{'requests':_0x1ee4a6}}))[_0x131404(0x1e4)][_0x131404(0x46d)];}async[_0x4ef07c(0x25c)](_0x4585ff){var _0x126b77=_0x4ef07c;const _0x2d7aa9=this['_getAPIPrefixPath']()+'/'+_0x4585ff['objectType']+_0x126b77(0x43d),_0x2fd946=await this[_0x126b77(0x43f)][_0x126b77(0x3ff)](_0x2d7aa9,{'body':_0x4585ff});return{'roles':_0x2fd946[_0x126b77(0x1e4)][_0x126b77(0x3d0)],'actions':_0x2fd946[_0x126b77(0x1e4)][_0x126b77(0x4dc)]};}async[_0x4ef07c(0x2d9)](_0x3d9e07){var _0x1bf028=_0x4ef07c;const _0x53b867=this['_getAPIPrefixPath']()+_0x1bf028(0x34e);await this[_0x1bf028(0x43f)][_0x1bf028(0x45f)](_0x53b867,{'params':{'collaboratorID':_0x3d9e07['collaboratorID'],'objectID':_0x3d9e07[_0x1bf028(0x38e)],'unitID':_0x3d9e07[_0x1bf028(0x3f1)]}});}async[_0x4ef07c(0x3cf)](_0xa493cb){var _0x4c8fff=_0x4ef07c;const _0x1109a9=this[_0x4c8fff(0x24e)]()+'/collaborator';await this[_0x4c8fff(0x43f)][_0x4c8fff(0x3f6)](_0x1109a9,{'body':_0xa493cb});}async[_0x4ef07c(0x3ea)](_0x4abf78){var _0x4f3858=_0x4ef07c;const _0x330cd2=this[_0x4f3858(0x24e)]()+_0x4f3858(0x34e);await this[_0x4f3858(0x43f)][_0x4f3858(0x3ff)](_0x330cd2,{'body':_0x4abf78});}async[_0x4ef07c(0x379)](_0x41e35e){var _0x51da78=_0x4ef07c;const _0x5c197f=this[_0x51da78(0x24e)]()+_0x51da78(0x34e);return(await this[_0x51da78(0x43f)][_0x51da78(0x47e)](_0x5c197f,{'params':{'objectID':_0x41e35e[_0x51da78(0x38e)],'unitID':_0x41e35e[_0x51da78(0x3f1)]}}))['body'][_0x51da78(0x4c8)];}async['putCollaborators'](_0xebc0a7){var _0x3ceff7=_0x4ef07c;const _0x37377d=this[_0x3ceff7(0x24e)]()+'/collaborator';await this[_0x3ceff7(0x43f)]['put'](_0x37377d,{'body':_0xebc0a7});}},_0x2c717a['AuthzIoHttpService']=_0x2acfd3([_0xbee90c(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)])),_0xbee90c(0x1,_0x5a87f6['Inject'](_0x5a87f6['IConfigService']))],_0x2c717a['AuthzIoHttpService']);var _0x1f65ef=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0xabc530(_0x34955a){var _0x319897=_0x4ef07c;return _0x34955a&&_0x34955a[_0x319897(0x4bd)]&&Object['prototype']['hasOwnProperty'][_0x319897(0x24b)](_0x34955a,_0x319897(0x39d))?_0x34955a['default']:_0x34955a;}var _0x265397={'exports':{}};function _0x34ba27(_0x45d2a5){var _0x11dea2=_0x4ef07c;throw new Error(_0x11dea2(0x445)+_0x45d2a5+_0x11dea2(0x4b8));}var _0x454222={'exports':{}},_0x568b8f=_0x454222[_0x4ef07c(0x3b0)],_0x346d8f;function _0x3d7c88(){var _0x566990=_0x4ef07c;return _0x346d8f||(_0x346d8f=0x1,function(_0x36511b,_0x5e6a38){(function(_0x39fb72,_0x300139){var _0x37d22c=_0x4d6f;_0x36511b[_0x37d22c(0x3b0)]=_0x300139();}(_0x568b8f,function(){var _0x3d53f3=_0x3d53f3||function(_0x425a99,_0xeeea19){var _0x55c295=_0x4d6f,_0xd14c3f;if(typeof window<'u'&&window['crypto']&&(_0xd14c3f=window['crypto']),typeof self<'u'&&self['crypto']&&(_0xd14c3f=self['crypto']),typeof globalThis<'u'&&globalThis[_0x55c295(0x343)]&&(_0xd14c3f=globalThis[_0x55c295(0x343)]),!_0xd14c3f&&typeof window<'u'&&window['msCrypto']&&(_0xd14c3f=window['msCrypto']),!_0xd14c3f&&typeof _0x1f65ef<'u'&&_0x1f65ef['crypto']&&(_0xd14c3f=_0x1f65ef[_0x55c295(0x343)]),!_0xd14c3f&&typeof _0x34ba27==_0x55c295(0x40a))try{_0xd14c3f=require('crypto');}catch{}var _0x230f52=function(){var _0x237bf3=_0x55c295;if(_0xd14c3f){if(typeof _0xd14c3f['getRandomValues']==_0x237bf3(0x40a))try{return _0xd14c3f[_0x237bf3(0x384)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xd14c3f['randomBytes']==_0x237bf3(0x40a))try{return _0xd14c3f[_0x237bf3(0x402)](0x4)[_0x237bf3(0x3bb)]();}catch{}}throw new Error(_0x237bf3(0x291));},_0x40920e=Object[_0x55c295(0x4c2)]||(function(){function _0x2e7a65(){}return function(_0x3edbb5){var _0x38fa8f=_0x4d6f,_0x4f2275;return _0x2e7a65[_0x38fa8f(0x31e)]=_0x3edbb5,_0x4f2275=new _0x2e7a65(),_0x2e7a65[_0x38fa8f(0x31e)]=null,_0x4f2275;};}()),_0x1b8266={},_0x297104=_0x1b8266[_0x55c295(0x21c)]={},_0x1e8773=_0x297104[_0x55c295(0x368)]=(function(){return{'extend':function(_0x193a08){var _0x3d3a29=_0x4d6f,_0x1daf18=_0x40920e(this);return _0x193a08&&_0x1daf18[_0x3d3a29(0x369)](_0x193a08),(!_0x1daf18['hasOwnProperty'](_0x3d3a29(0x2a8))||this[_0x3d3a29(0x2a8)]===_0x1daf18[_0x3d3a29(0x2a8)])&&(_0x1daf18[_0x3d3a29(0x2a8)]=function(){var _0x1613a0=_0x3d3a29;_0x1daf18['$super'][_0x1613a0(0x2a8)]['apply'](this,arguments);}),_0x1daf18[_0x3d3a29(0x2a8)]['prototype']=_0x1daf18,_0x1daf18[_0x3d3a29(0x4c1)]=this,_0x1daf18;},'create':function(){var _0x21e1b1=_0x4d6f,_0x15bd31=this[_0x21e1b1(0x386)]();return _0x15bd31[_0x21e1b1(0x2a8)][_0x21e1b1(0x3ac)](_0x15bd31,arguments),_0x15bd31;},'init':function(){},'mixIn':function(_0x4f9ef1){var _0x25f478=_0x4d6f;for(var _0x167705 in _0x4f9ef1)_0x4f9ef1[_0x25f478(0x2bb)](_0x167705)&&(this[_0x167705]=_0x4f9ef1[_0x167705]);_0x4f9ef1[_0x25f478(0x2bb)](_0x25f478(0x38d))&&(this[_0x25f478(0x38d)]=_0x4f9ef1[_0x25f478(0x38d)]);},'clone':function(){var _0x3bbb89=_0x4d6f;return this['init'][_0x3bbb89(0x31e)]['extend'](this);}};}()),_0x4218f1=_0x297104[_0x55c295(0x35a)]=_0x1e8773[_0x55c295(0x386)]({'init':function(_0x5a2190,_0x4bbf9f){var _0x4c54dc=_0x55c295;_0x5a2190=this['words']=_0x5a2190||[],_0x4bbf9f!=_0xeeea19?this[_0x4c54dc(0x1c7)]=_0x4bbf9f:this[_0x4c54dc(0x1c7)]=_0x5a2190['length']*0x4;},'toString':function(_0x12d795){var _0x134a9c=_0x55c295;return(_0x12d795||_0x3364da)[_0x134a9c(0x49b)](this);},'concat':function(_0x16fe92){var _0x14026e=_0x55c295,_0x123e28=this[_0x14026e(0x346)],_0x170237=_0x16fe92[_0x14026e(0x346)],_0x232332=this[_0x14026e(0x1c7)],_0x4b3f84=_0x16fe92[_0x14026e(0x1c7)];if(this['clamp'](),_0x232332%0x4)for(var _0x584b5c=0x0;_0x584b5c<_0x4b3f84;_0x584b5c++){var _0x29809=_0x170237[_0x584b5c>>>0x2]>>>0x18-_0x584b5c%0x4*0x8&0xff;_0x123e28[_0x232332+_0x584b5c>>>0x2]|=_0x29809<<0x18-(_0x232332+_0x584b5c)%0x4*0x8;}else{for(var _0x16f51f=0x0;_0x16f51f<_0x4b3f84;_0x16f51f+=0x4)_0x123e28[_0x232332+_0x16f51f>>>0x2]=_0x170237[_0x16f51f>>>0x2];}return this[_0x14026e(0x1c7)]+=_0x4b3f84,this;},'clamp':function(){var _0x46b907=_0x55c295,_0xc4312c=this[_0x46b907(0x346)],_0x51b2f2=this['sigBytes'];_0xc4312c[_0x51b2f2>>>0x2]&=0xffffffff<<0x20-_0x51b2f2%0x4*0x8,_0xc4312c[_0x46b907(0x3aa)]=_0x425a99['ceil'](_0x51b2f2/0x4);},'clone':function(){var _0x2663e2=_0x55c295,_0x323a8d=_0x1e8773['clone'][_0x2663e2(0x24b)](this);return _0x323a8d[_0x2663e2(0x346)]=this['words'][_0x2663e2(0x34b)](0x0),_0x323a8d;},'random':function(_0x4ef4f3){var _0x26225e=_0x55c295;for(var _0x5cf492=[],_0x86f660=0x0;_0x86f660<_0x4ef4f3;_0x86f660+=0x4)_0x5cf492[_0x26225e(0x306)](_0x230f52());return new _0x4218f1[(_0x26225e(0x2a8))](_0x5cf492,_0x4ef4f3);}}),_0x3f252a=_0x1b8266[_0x55c295(0x2eb)]={},_0x3364da=_0x3f252a[_0x55c295(0x279)]={'stringify':function(_0x12d517){var _0x459ad1=_0x55c295;for(var _0x4809e7=_0x12d517[_0x459ad1(0x346)],_0x1be89d=_0x12d517[_0x459ad1(0x1c7)],_0x179e56=[],_0x350eb2=0x0;_0x350eb2<_0x1be89d;_0x350eb2++){var _0x2021fe=_0x4809e7[_0x350eb2>>>0x2]>>>0x18-_0x350eb2%0x4*0x8&0xff;_0x179e56[_0x459ad1(0x306)]((_0x2021fe>>>0x4)['toString'](0x10)),_0x179e56['push']((_0x2021fe&0xf)[_0x459ad1(0x38d)](0x10));}return _0x179e56[_0x459ad1(0x31b)]('');},'parse':function(_0xf8ce69){var _0x533daf=_0x55c295;for(var _0x1b3294=_0xf8ce69['length'],_0x2768b7=[],_0x23658d=0x0;_0x23658d<_0x1b3294;_0x23658d+=0x2)_0x2768b7[_0x23658d>>>0x3]|=parseInt(_0xf8ce69[_0x533daf(0x530)](_0x23658d,0x2),0x10)<<0x18-_0x23658d%0x8*0x4;return new _0x4218f1[(_0x533daf(0x2a8))](_0x2768b7,_0x1b3294/0x2);}},_0x170739=_0x3f252a[_0x55c295(0x457)]={'stringify':function(_0x450e24){var _0x3accb9=_0x55c295;for(var _0x336b8a=_0x450e24['words'],_0x161969=_0x450e24['sigBytes'],_0x15ccc9=[],_0x413ef4=0x0;_0x413ef4<_0x161969;_0x413ef4++){var _0x171f03=_0x336b8a[_0x413ef4>>>0x2]>>>0x18-_0x413ef4%0x4*0x8&0xff;_0x15ccc9[_0x3accb9(0x306)](String[_0x3accb9(0x3ef)](_0x171f03));}return _0x15ccc9[_0x3accb9(0x31b)]('');},'parse':function(_0x5bcc4c){var _0x57dbe6=_0x55c295;for(var _0x115aa6=_0x5bcc4c[_0x57dbe6(0x3aa)],_0x2420c5=[],_0x4e9af9=0x0;_0x4e9af9<_0x115aa6;_0x4e9af9++)_0x2420c5[_0x4e9af9>>>0x2]|=(_0x5bcc4c[_0x57dbe6(0x3cc)](_0x4e9af9)&0xff)<<0x18-_0x4e9af9%0x4*0x8;return new _0x4218f1[(_0x57dbe6(0x2a8))](_0x2420c5,_0x115aa6);}},_0x3660a2=_0x3f252a['Utf8']={'stringify':function(_0x511bb9){var _0x306969=_0x55c295;try{return decodeURIComponent(escape(_0x170739[_0x306969(0x49b)](_0x511bb9)));}catch{throw new Error(_0x306969(0x516));}},'parse':function(_0x59b2d1){var _0x4bdea6=_0x55c295;return _0x170739[_0x4bdea6(0x55e)](unescape(encodeURIComponent(_0x59b2d1)));}},_0x3fc16a=_0x297104[_0x55c295(0x2fa)]=_0x1e8773[_0x55c295(0x386)]({'reset':function(){var _0x27d7ab=_0x55c295;this[_0x27d7ab(0x2f2)]=new _0x4218f1['init'](),this[_0x27d7ab(0x3de)]=0x0;},'_append':function(_0x41a552){var _0x98c524=_0x55c295;typeof _0x41a552==_0x98c524(0x4a1)&&(_0x41a552=_0x3660a2[_0x98c524(0x55e)](_0x41a552)),this['_data'][_0x98c524(0x385)](_0x41a552),this[_0x98c524(0x3de)]+=_0x41a552[_0x98c524(0x1c7)];},'_process':function(_0x27505a){var _0x39c4e5=_0x55c295,_0x1ceda9,_0x293900=this[_0x39c4e5(0x2f2)],_0x517a81=_0x293900[_0x39c4e5(0x346)],_0x2fc3b7=_0x293900[_0x39c4e5(0x1c7)],_0x7a3ba4=this[_0x39c4e5(0x22c)],_0x199420=_0x7a3ba4*0x4,_0x721571=_0x2fc3b7/_0x199420;_0x27505a?_0x721571=_0x425a99[_0x39c4e5(0x4d0)](_0x721571):_0x721571=_0x425a99[_0x39c4e5(0x394)]((_0x721571|0x0)-this[_0x39c4e5(0x47d)],0x0);var _0x3a9eb1=_0x721571*_0x7a3ba4,_0x1a8a94=_0x425a99[_0x39c4e5(0x467)](_0x3a9eb1*0x4,_0x2fc3b7);if(_0x3a9eb1){for(var _0x3a4849=0x0;_0x3a4849<_0x3a9eb1;_0x3a4849+=_0x7a3ba4)this[_0x39c4e5(0x45b)](_0x517a81,_0x3a4849);_0x1ceda9=_0x517a81[_0x39c4e5(0x4c3)](0x0,_0x3a9eb1),_0x293900[_0x39c4e5(0x1c7)]-=_0x1a8a94;}return new _0x4218f1[(_0x39c4e5(0x2a8))](_0x1ceda9,_0x1a8a94);},'clone':function(){var _0x169f65=_0x55c295,_0x586988=_0x1e8773[_0x169f65(0x533)][_0x169f65(0x24b)](this);return _0x586988[_0x169f65(0x2f2)]=this[_0x169f65(0x2f2)]['clone'](),_0x586988;},'_minBufferSize':0x0});_0x297104[_0x55c295(0x435)]=_0x3fc16a[_0x55c295(0x386)]({'cfg':_0x1e8773[_0x55c295(0x386)](),'init':function(_0x458748){var _0x40f717=_0x55c295;this['cfg']=this[_0x40f717(0x46f)][_0x40f717(0x386)](_0x458748),this['reset']();},'reset':function(){var _0x5d01cc=_0x55c295;_0x3fc16a[_0x5d01cc(0x39e)][_0x5d01cc(0x24b)](this),this[_0x5d01cc(0x323)]();},'update':function(_0x5c9097){var _0x4b60ae=_0x55c295;return this[_0x4b60ae(0x390)](_0x5c9097),this[_0x4b60ae(0x54c)](),this;},'finalize':function(_0x28bbe5){var _0x4bdce7=_0x55c295;_0x28bbe5&&this[_0x4bdce7(0x390)](_0x28bbe5);var _0x4c2f0a=this[_0x4bdce7(0x32f)]();return _0x4c2f0a;},'blockSize':0x10,'_createHelper':function(_0x1ae202){return function(_0x11f011,_0x564685){var _0x54c5c6=_0x4d6f;return new _0x1ae202['init'](_0x564685)[_0x54c5c6(0x36f)](_0x11f011);};},'_createHmacHelper':function(_0xbfda98){return function(_0x160187,_0x373843){var _0x5a0104=_0x4d6f;return new _0x510d8e[(_0x5a0104(0x484))][(_0x5a0104(0x2a8))](_0xbfda98,_0x373843)[_0x5a0104(0x36f)](_0x160187);};}});var _0x510d8e=_0x1b8266[_0x55c295(0x4a7)]={};return _0x1b8266;}(Math);return _0x3d53f3;}));}(_0x454222)),_0x454222[_0x566990(0x3b0)];}var _0x429ba4={'exports':{}},_0x348e37=_0x429ba4[_0x4ef07c(0x3b0)],_0x25a878;function _0x3a11d6(){var _0x2e4b6b=_0x4ef07c;return _0x25a878||(_0x25a878=0x1,function(_0x5be6b8,_0x1dff3a){(function(_0x28c563,_0x3c216b){_0x5be6b8['exports']=_0x3c216b(_0x3d7c88());}(_0x348e37,function(_0x33223d){var _0x1faae4=_0x4d6f;return(function(){var _0x1a013c=_0x4d6f,_0x314d6f=_0x33223d,_0x38cc90=_0x314d6f[_0x1a013c(0x21c)],_0x425d58=_0x38cc90[_0x1a013c(0x35a)],_0x3916c6=_0x314d6f[_0x1a013c(0x2eb)];_0x3916c6[_0x1a013c(0x362)]={'stringify':function(_0x1035d2){var _0x5bdce3=_0x1a013c,_0x56f551=_0x1035d2['words'],_0x102a45=_0x1035d2['sigBytes'],_0x3df21a=this[_0x5bdce3(0x3ee)];_0x1035d2['clamp']();for(var _0x1a008c=[],_0x10c27e=0x0;_0x10c27e<_0x102a45;_0x10c27e+=0x3)for(var _0x455ecb=_0x56f551[_0x10c27e>>>0x2]>>>0x18-_0x10c27e%0x4*0x8&0xff,_0x464221=_0x56f551[_0x10c27e+0x1>>>0x2]>>>0x18-(_0x10c27e+0x1)%0x4*0x8&0xff,_0x3eef9b=_0x56f551[_0x10c27e+0x2>>>0x2]>>>0x18-(_0x10c27e+0x2)%0x4*0x8&0xff,_0x3a978e=_0x455ecb<<0x10|_0x464221<<0x8|_0x3eef9b,_0x23f4b8=0x0;_0x23f4b8<0x4&&_0x10c27e+_0x23f4b8*0.75<_0x102a45;_0x23f4b8++)_0x1a008c[_0x5bdce3(0x306)](_0x3df21a[_0x5bdce3(0x45a)](_0x3a978e>>>0x6*(0x3-_0x23f4b8)&0x3f));var _0x1f276f=_0x3df21a[_0x5bdce3(0x45a)](0x40);if(_0x1f276f){for(;_0x1a008c[_0x5bdce3(0x3aa)]%0x4;)_0x1a008c['push'](_0x1f276f);}return _0x1a008c[_0x5bdce3(0x31b)]('');},'parse':function(_0x24cb0e){var _0x469927=_0x1a013c,_0x5ea9d9=_0x24cb0e[_0x469927(0x3aa)],_0x4cf908=this[_0x469927(0x3ee)],_0x1ab386=this[_0x469927(0x4a8)];if(!_0x1ab386){_0x1ab386=this[_0x469927(0x4a8)]=[];for(var _0x5e6ecc=0x0;_0x5e6ecc<_0x4cf908['length'];_0x5e6ecc++)_0x1ab386[_0x4cf908[_0x469927(0x3cc)](_0x5e6ecc)]=_0x5e6ecc;}var _0x1ec6b6=_0x4cf908[_0x469927(0x45a)](0x40);if(_0x1ec6b6){var _0x4b7ee4=_0x24cb0e[_0x469927(0x4be)](_0x1ec6b6);_0x4b7ee4!==-0x1&&(_0x5ea9d9=_0x4b7ee4);}return _0x48029c(_0x24cb0e,_0x5ea9d9,_0x1ab386);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x48029c(_0x14c574,_0x46373a,_0x110f40){var _0x38cc51=_0x1a013c;for(var _0x178a40=[],_0x424882=0x0,_0x3f1604=0x0;_0x3f1604<_0x46373a;_0x3f1604++)if(_0x3f1604%0x4){var _0x5c73d2=_0x110f40[_0x14c574[_0x38cc51(0x3cc)](_0x3f1604-0x1)]<<_0x3f1604%0x4*0x2,_0x7a20c4=_0x110f40[_0x14c574[_0x38cc51(0x3cc)](_0x3f1604)]>>>0x6-_0x3f1604%0x4*0x2,_0x4ba219=_0x5c73d2|_0x7a20c4;_0x178a40[_0x424882>>>0x2]|=_0x4ba219<<0x18-_0x424882%0x4*0x8,_0x424882++;}return _0x425d58[_0x38cc51(0x4c2)](_0x178a40,_0x424882);}}()),_0x33223d[_0x1faae4(0x2eb)]['Base64'];}));}(_0x429ba4)),_0x429ba4[_0x2e4b6b(0x3b0)];}var _0x3b124a={'exports':{}},_0x4f6195=_0x3b124a[_0x4ef07c(0x3b0)],_0x49b47b;function _0x1c8a85(){return _0x49b47b||(_0x49b47b=0x1,function(_0x46ec46,_0x23369b){(function(_0x1e0a80,_0x5a3ad7){var _0xfbf8e6=_0x4d6f;_0x46ec46[_0xfbf8e6(0x3b0)]=_0x5a3ad7(_0x3d7c88());}(_0x4f6195,function(_0x54b217){var _0x344073=_0x4d6f;return function(_0x45b490){var _0x80f2fd=_0x4d6f,_0x18c9e6=_0x54b217,_0x22bb4b=_0x18c9e6[_0x80f2fd(0x21c)],_0x5c5093=_0x22bb4b[_0x80f2fd(0x35a)],_0x51b7ad=_0x22bb4b['Hasher'],_0x41933d=_0x18c9e6[_0x80f2fd(0x4a7)],_0x31eb9d=[];(function(){var _0x24b64e=_0x80f2fd;for(var _0x39d7b4=0x0;_0x39d7b4<0x40;_0x39d7b4++)_0x31eb9d[_0x39d7b4]=_0x45b490[_0x24b64e(0x3fc)](_0x45b490[_0x24b64e(0x42d)](_0x39d7b4+0x1))*0x100000000|0x0;}());var _0x244e7a=_0x41933d[_0x80f2fd(0x302)]=_0x51b7ad[_0x80f2fd(0x386)]({'_doReset':function(){var _0x48d7df=_0x80f2fd;this['_hash']=new _0x5c5093[(_0x48d7df(0x2a8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xf91714,_0x115071){var _0x496536=_0x80f2fd;for(var _0x37fbb0=0x0;_0x37fbb0<0x10;_0x37fbb0++){var _0x5d29c9=_0x115071+_0x37fbb0,_0x37c758=_0xf91714[_0x5d29c9];_0xf91714[_0x5d29c9]=(_0x37c758<<0x8|_0x37c758>>>0x18)&0xff00ff|(_0x37c758<<0x18|_0x37c758>>>0x8)&0xff00ff00;}var _0x8cc5a9=this[_0x496536(0x36c)][_0x496536(0x346)],_0x18a417=_0xf91714[_0x115071+0x0],_0x651013=_0xf91714[_0x115071+0x1],_0xc13f28=_0xf91714[_0x115071+0x2],_0x35c19e=_0xf91714[_0x115071+0x3],_0x3c3131=_0xf91714[_0x115071+0x4],_0x50eb77=_0xf91714[_0x115071+0x5],_0x54988e=_0xf91714[_0x115071+0x6],_0x5d4075=_0xf91714[_0x115071+0x7],_0x5d9729=_0xf91714[_0x115071+0x8],_0x1dc24b=_0xf91714[_0x115071+0x9],_0x80f0f4=_0xf91714[_0x115071+0xa],_0x55d411=_0xf91714[_0x115071+0xb],_0x284cb4=_0xf91714[_0x115071+0xc],_0x4d771b=_0xf91714[_0x115071+0xd],_0xa28c1a=_0xf91714[_0x115071+0xe],_0x1f68da=_0xf91714[_0x115071+0xf],_0x456ff5=_0x8cc5a9[0x0],_0xe2569f=_0x8cc5a9[0x1],_0x103d88=_0x8cc5a9[0x2],_0x1d8c06=_0x8cc5a9[0x3];_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x18a417,0x7,_0x31eb9d[0x0]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x651013,0xc,_0x31eb9d[0x1]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xc13f28,0x11,_0x31eb9d[0x2]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x35c19e,0x16,_0x31eb9d[0x3]),_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x3c3131,0x7,_0x31eb9d[0x4]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x50eb77,0xc,_0x31eb9d[0x5]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x54988e,0x11,_0x31eb9d[0x6]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x5d4075,0x16,_0x31eb9d[0x7]),_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x5d9729,0x7,_0x31eb9d[0x8]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x1dc24b,0xc,_0x31eb9d[0x9]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x80f0f4,0x11,_0x31eb9d[0xa]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x55d411,0x16,_0x31eb9d[0xb]),_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x284cb4,0x7,_0x31eb9d[0xc]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x4d771b,0xc,_0x31eb9d[0xd]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xa28c1a,0x11,_0x31eb9d[0xe]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x1f68da,0x16,_0x31eb9d[0xf]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x651013,0x5,_0x31eb9d[0x10]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x54988e,0x9,_0x31eb9d[0x11]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x55d411,0xe,_0x31eb9d[0x12]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x18a417,0x14,_0x31eb9d[0x13]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x50eb77,0x5,_0x31eb9d[0x14]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x80f0f4,0x9,_0x31eb9d[0x15]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x1f68da,0xe,_0x31eb9d[0x16]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x3c3131,0x14,_0x31eb9d[0x17]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x1dc24b,0x5,_0x31eb9d[0x18]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0xa28c1a,0x9,_0x31eb9d[0x19]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x35c19e,0xe,_0x31eb9d[0x1a]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x5d9729,0x14,_0x31eb9d[0x1b]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x4d771b,0x5,_0x31eb9d[0x1c]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0xc13f28,0x9,_0x31eb9d[0x1d]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x5d4075,0xe,_0x31eb9d[0x1e]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x284cb4,0x14,_0x31eb9d[0x1f]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x50eb77,0x4,_0x31eb9d[0x20]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x5d9729,0xb,_0x31eb9d[0x21]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x55d411,0x10,_0x31eb9d[0x22]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0xa28c1a,0x17,_0x31eb9d[0x23]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x651013,0x4,_0x31eb9d[0x24]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x3c3131,0xb,_0x31eb9d[0x25]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x5d4075,0x10,_0x31eb9d[0x26]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x80f0f4,0x17,_0x31eb9d[0x27]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x4d771b,0x4,_0x31eb9d[0x28]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x18a417,0xb,_0x31eb9d[0x29]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x35c19e,0x10,_0x31eb9d[0x2a]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x54988e,0x17,_0x31eb9d[0x2b]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x1dc24b,0x4,_0x31eb9d[0x2c]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x284cb4,0xb,_0x31eb9d[0x2d]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x1f68da,0x10,_0x31eb9d[0x2e]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0xc13f28,0x17,_0x31eb9d[0x2f]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x18a417,0x6,_0x31eb9d[0x30]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x5d4075,0xa,_0x31eb9d[0x31]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xa28c1a,0xf,_0x31eb9d[0x32]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x50eb77,0x15,_0x31eb9d[0x33]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x284cb4,0x6,_0x31eb9d[0x34]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x35c19e,0xa,_0x31eb9d[0x35]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x80f0f4,0xf,_0x31eb9d[0x36]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x651013,0x15,_0x31eb9d[0x37]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x5d9729,0x6,_0x31eb9d[0x38]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x1f68da,0xa,_0x31eb9d[0x39]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x54988e,0xf,_0x31eb9d[0x3a]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x4d771b,0x15,_0x31eb9d[0x3b]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x3c3131,0x6,_0x31eb9d[0x3c]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x55d411,0xa,_0x31eb9d[0x3d]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xc13f28,0xf,_0x31eb9d[0x3e]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x1dc24b,0x15,_0x31eb9d[0x3f]),_0x8cc5a9[0x0]=_0x8cc5a9[0x0]+_0x456ff5|0x0,_0x8cc5a9[0x1]=_0x8cc5a9[0x1]+_0xe2569f|0x0,_0x8cc5a9[0x2]=_0x8cc5a9[0x2]+_0x103d88|0x0,_0x8cc5a9[0x3]=_0x8cc5a9[0x3]+_0x1d8c06|0x0;},'_doFinalize':function(){var _0x27cbf2=_0x80f2fd,_0x260996=this[_0x27cbf2(0x2f2)],_0x56ff89=_0x260996['words'],_0x2ce0d4=this['_nDataBytes']*0x8,_0x3a5493=_0x260996['sigBytes']*0x8;_0x56ff89[_0x3a5493>>>0x5]|=0x80<<0x18-_0x3a5493%0x20;var _0x5718c0=_0x45b490[_0x27cbf2(0x286)](_0x2ce0d4/0x100000000),_0x4bad21=_0x2ce0d4;_0x56ff89[(_0x3a5493+0x40>>>0x9<<0x4)+0xf]=(_0x5718c0<<0x8|_0x5718c0>>>0x18)&0xff00ff|(_0x5718c0<<0x18|_0x5718c0>>>0x8)&0xff00ff00,_0x56ff89[(_0x3a5493+0x40>>>0x9<<0x4)+0xe]=(_0x4bad21<<0x8|_0x4bad21>>>0x18)&0xff00ff|(_0x4bad21<<0x18|_0x4bad21>>>0x8)&0xff00ff00,_0x260996[_0x27cbf2(0x1c7)]=(_0x56ff89[_0x27cbf2(0x3aa)]+0x1)*0x4,this['_process']();for(var _0x7f4009=this['_hash'],_0x4a72b4=_0x7f4009['words'],_0x270187=0x0;_0x270187<0x4;_0x270187++){var _0x49a9d1=_0x4a72b4[_0x270187];_0x4a72b4[_0x270187]=(_0x49a9d1<<0x8|_0x49a9d1>>>0x18)&0xff00ff|(_0x49a9d1<<0x18|_0x49a9d1>>>0x8)&0xff00ff00;}return _0x7f4009;},'clone':function(){var _0xa4d876=_0x80f2fd,_0x2b9c19=_0x51b7ad[_0xa4d876(0x533)][_0xa4d876(0x24b)](this);return _0x2b9c19[_0xa4d876(0x36c)]=this[_0xa4d876(0x36c)][_0xa4d876(0x533)](),_0x2b9c19;}});function _0x174f56(_0x2e8b15,_0x32a8c2,_0x54884a,_0x2933ec,_0x418b1e,_0x201cd9,_0x3f5734){var _0x22d6b0=_0x2e8b15+(_0x32a8c2&_0x54884a|~_0x32a8c2&_0x2933ec)+_0x418b1e+_0x3f5734;return(_0x22d6b0<<_0x201cd9|_0x22d6b0>>>0x20-_0x201cd9)+_0x32a8c2;}function _0x14db85(_0xac2793,_0x17095b,_0x241fe5,_0x4e96ca,_0x24da75,_0x899db9,_0x3fa745){var _0x347d7b=_0xac2793+(_0x17095b&_0x4e96ca|_0x241fe5&~_0x4e96ca)+_0x24da75+_0x3fa745;return(_0x347d7b<<_0x899db9|_0x347d7b>>>0x20-_0x899db9)+_0x17095b;}function _0x27658d(_0x4f0073,_0x150ee5,_0x308986,_0x59850d,_0x2d46f9,_0x1f667a,_0x551aff){var _0x5f4beb=_0x4f0073+(_0x150ee5^_0x308986^_0x59850d)+_0x2d46f9+_0x551aff;return(_0x5f4beb<<_0x1f667a|_0x5f4beb>>>0x20-_0x1f667a)+_0x150ee5;}function _0x512cb9(_0x41005a,_0x46e772,_0x426165,_0x4a3b54,_0x2e9457,_0x260cdd,_0x56ad73){var _0xe7dbbd=_0x41005a+(_0x426165^(_0x46e772|~_0x4a3b54))+_0x2e9457+_0x56ad73;return(_0xe7dbbd<<_0x260cdd|_0xe7dbbd>>>0x20-_0x260cdd)+_0x46e772;}_0x18c9e6[_0x80f2fd(0x302)]=_0x51b7ad['_createHelper'](_0x244e7a),_0x18c9e6[_0x80f2fd(0x55b)]=_0x51b7ad['_createHmacHelper'](_0x244e7a);}(Math),_0x54b217[_0x344073(0x302)];}));}(_0x3b124a)),_0x3b124a['exports'];}var _0xac6be7={'exports':{}},_0x51cd40={'exports':{}},_0x41a8ca=_0x51cd40['exports'],_0x47384a;function _0x12cbba(){var _0x345576=_0x4ef07c;return _0x47384a||(_0x47384a=0x1,function(_0xd9d5ac,_0x1f27ef){(function(_0xc43042,_0x5eb5bd){var _0x5eb251=_0x4d6f;_0xd9d5ac[_0x5eb251(0x3b0)]=_0x5eb5bd(_0x3d7c88());}(_0x41a8ca,function(_0x539659){var _0xc7c286=_0x4d6f;return(function(){var _0x161048=_0x4d6f,_0x5cff81=_0x539659,_0x1bfadb=_0x5cff81[_0x161048(0x21c)],_0x103ad9=_0x1bfadb[_0x161048(0x35a)],_0x250dae=_0x1bfadb[_0x161048(0x435)],_0x3f946b=_0x5cff81[_0x161048(0x4a7)],_0x48f8d4=[],_0x44e1fe=_0x3f946b['SHA1']=_0x250dae[_0x161048(0x386)]({'_doReset':function(){var _0x5016fa=_0x161048;this[_0x5016fa(0x36c)]=new _0x103ad9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x195cbf,_0x3357f0){var _0x2b7a4e=_0x161048;for(var _0x4b575b=this[_0x2b7a4e(0x36c)][_0x2b7a4e(0x346)],_0x446dbc=_0x4b575b[0x0],_0x1ea74e=_0x4b575b[0x1],_0x1d6e5b=_0x4b575b[0x2],_0xbb956=_0x4b575b[0x3],_0x3198e0=_0x4b575b[0x4],_0x34fe77=0x0;_0x34fe77<0x50;_0x34fe77++){if(_0x34fe77<0x10)_0x48f8d4[_0x34fe77]=_0x195cbf[_0x3357f0+_0x34fe77]|0x0;else{var _0x4bc7c7=_0x48f8d4[_0x34fe77-0x3]^_0x48f8d4[_0x34fe77-0x8]^_0x48f8d4[_0x34fe77-0xe]^_0x48f8d4[_0x34fe77-0x10];_0x48f8d4[_0x34fe77]=_0x4bc7c7<<0x1|_0x4bc7c7>>>0x1f;}var _0x30852c=(_0x446dbc<<0x5|_0x446dbc>>>0x1b)+_0x3198e0+_0x48f8d4[_0x34fe77];_0x34fe77<0x14?_0x30852c+=(_0x1ea74e&_0x1d6e5b|~_0x1ea74e&_0xbb956)+0x5a827999:_0x34fe77<0x28?_0x30852c+=(_0x1ea74e^_0x1d6e5b^_0xbb956)+0x6ed9eba1:_0x34fe77<0x3c?_0x30852c+=(_0x1ea74e&_0x1d6e5b|_0x1ea74e&_0xbb956|_0x1d6e5b&_0xbb956)-0x70e44324:_0x30852c+=(_0x1ea74e^_0x1d6e5b^_0xbb956)-0x359d3e2a,_0x3198e0=_0xbb956,_0xbb956=_0x1d6e5b,_0x1d6e5b=_0x1ea74e<<0x1e|_0x1ea74e>>>0x2,_0x1ea74e=_0x446dbc,_0x446dbc=_0x30852c;}_0x4b575b[0x0]=_0x4b575b[0x0]+_0x446dbc|0x0,_0x4b575b[0x1]=_0x4b575b[0x1]+_0x1ea74e|0x0,_0x4b575b[0x2]=_0x4b575b[0x2]+_0x1d6e5b|0x0,_0x4b575b[0x3]=_0x4b575b[0x3]+_0xbb956|0x0,_0x4b575b[0x4]=_0x4b575b[0x4]+_0x3198e0|0x0;},'_doFinalize':function(){var _0xab7b3b=_0x161048,_0x475308=this[_0xab7b3b(0x2f2)],_0x5c42ef=_0x475308['words'],_0x487b22=this[_0xab7b3b(0x3de)]*0x8,_0x533945=_0x475308[_0xab7b3b(0x1c7)]*0x8;return _0x5c42ef[_0x533945>>>0x5]|=0x80<<0x18-_0x533945%0x20,_0x5c42ef[(_0x533945+0x40>>>0x9<<0x4)+0xe]=Math[_0xab7b3b(0x286)](_0x487b22/0x100000000),_0x5c42ef[(_0x533945+0x40>>>0x9<<0x4)+0xf]=_0x487b22,_0x475308['sigBytes']=_0x5c42ef['length']*0x4,this[_0xab7b3b(0x54c)](),this[_0xab7b3b(0x36c)];},'clone':function(){var _0x3a64cf=_0x161048,_0x3f10eb=_0x250dae[_0x3a64cf(0x533)]['call'](this);return _0x3f10eb[_0x3a64cf(0x36c)]=this[_0x3a64cf(0x36c)][_0x3a64cf(0x533)](),_0x3f10eb;}});_0x5cff81['SHA1']=_0x250dae[_0x161048(0x48b)](_0x44e1fe),_0x5cff81[_0x161048(0x3c9)]=_0x250dae[_0x161048(0x529)](_0x44e1fe);}()),_0x539659[_0xc7c286(0x41d)];}));}(_0x51cd40)),_0x51cd40[_0x345576(0x3b0)];}var _0x6dfef7={'exports':{}},_0x560853=_0x6dfef7[_0x4ef07c(0x3b0)],_0x1865fc;function _0x308a7c(){var _0x252ed8=_0x4ef07c;return _0x1865fc||(_0x1865fc=0x1,function(_0x53fa11,_0x4cfc28){(function(_0x470582,_0x2b5a06){_0x53fa11['exports']=_0x2b5a06(_0x3d7c88());}(_0x560853,function(_0xafd659){(function(){var _0x121954=_0x4d6f,_0x354a4f=_0xafd659,_0x265526=_0x354a4f[_0x121954(0x21c)],_0x33bc84=_0x265526[_0x121954(0x368)],_0x51d6a1=_0x354a4f[_0x121954(0x2eb)],_0x2aca88=_0x51d6a1[_0x121954(0x2ea)],_0x35ffca=_0x354a4f[_0x121954(0x4a7)];_0x35ffca['HMAC']=_0x33bc84[_0x121954(0x386)]({'init':function(_0x5c2200,_0x23dc47){var _0x370fcb=_0x121954;_0x5c2200=this[_0x370fcb(0x260)]=new _0x5c2200[(_0x370fcb(0x2a8))](),typeof _0x23dc47==_0x370fcb(0x4a1)&&(_0x23dc47=_0x2aca88[_0x370fcb(0x55e)](_0x23dc47));var _0x49463e=_0x5c2200['blockSize'],_0x3bbc04=_0x49463e*0x4;_0x23dc47[_0x370fcb(0x1c7)]>_0x3bbc04&&(_0x23dc47=_0x5c2200[_0x370fcb(0x36f)](_0x23dc47)),_0x23dc47[_0x370fcb(0x2c0)]();for(var _0x488264=this[_0x370fcb(0x263)]=_0x23dc47['clone'](),_0x202c3e=this[_0x370fcb(0x2fc)]=_0x23dc47['clone'](),_0x517b47=_0x488264['words'],_0x43457d=_0x202c3e['words'],_0x390429=0x0;_0x390429<_0x49463e;_0x390429++)_0x517b47[_0x390429]^=0x5c5c5c5c,_0x43457d[_0x390429]^=0x36363636;_0x488264[_0x370fcb(0x1c7)]=_0x202c3e[_0x370fcb(0x1c7)]=_0x3bbc04,this[_0x370fcb(0x39e)]();},'reset':function(){var _0x4e4e86=_0x121954,_0x157c79=this[_0x4e4e86(0x260)];_0x157c79['reset'](),_0x157c79[_0x4e4e86(0x4f6)](this[_0x4e4e86(0x2fc)]);},'update':function(_0x57538d){var _0x5bbaa4=_0x121954;return this[_0x5bbaa4(0x260)][_0x5bbaa4(0x4f6)](_0x57538d),this;},'finalize':function(_0x3e8331){var _0x5ad1da=_0x121954,_0x2e0676=this[_0x5ad1da(0x260)],_0x496109=_0x2e0676['finalize'](_0x3e8331);_0x2e0676[_0x5ad1da(0x39e)]();var _0x64e6a=_0x2e0676[_0x5ad1da(0x36f)](this[_0x5ad1da(0x263)][_0x5ad1da(0x533)]()[_0x5ad1da(0x385)](_0x496109));return _0x64e6a;}});}());}));}(_0x6dfef7)),_0x6dfef7[_0x252ed8(0x3b0)];}var _0x3f4033=_0xac6be7[_0x4ef07c(0x3b0)],_0x5020ff;function _0x344cef(){var _0x331596=_0x4ef07c;return _0x5020ff||(_0x5020ff=0x1,function(_0x24940d,_0x29e639){(function(_0x4bc243,_0x19a22e,_0x1d8f00){_0x24940d['exports']=_0x19a22e(_0x3d7c88(),_0x12cbba(),_0x308a7c());}(_0x3f4033,function(_0x1aff17){var _0x319ca8=_0x4d6f;return(function(){var _0x3e8acf=_0x4d6f,_0x11b655=_0x1aff17,_0x170252=_0x11b655['lib'],_0x4dd43a=_0x170252[_0x3e8acf(0x368)],_0x456466=_0x170252[_0x3e8acf(0x35a)],_0x57ce73=_0x11b655[_0x3e8acf(0x4a7)],_0xda71d1=_0x57ce73['MD5'],_0x49ff27=_0x57ce73[_0x3e8acf(0x1d3)]=_0x4dd43a[_0x3e8acf(0x386)]({'cfg':_0x4dd43a['extend']({'keySize':0x80/0x20,'hasher':_0xda71d1,'iterations':0x1}),'init':function(_0x87bb89){var _0x493abf=_0x3e8acf;this[_0x493abf(0x46f)]=this[_0x493abf(0x46f)][_0x493abf(0x386)](_0x87bb89);},'compute':function(_0x5c86e1,_0x4b1b4c){var _0x206604=_0x3e8acf;for(var _0x2f8553,_0x358e2e=this[_0x206604(0x46f)],_0xc464ed=_0x358e2e[_0x206604(0x321)][_0x206604(0x4c2)](),_0x396aa4=_0x456466['create'](),_0x510606=_0x396aa4['words'],_0xc4a3e4=_0x358e2e[_0x206604(0x2bc)],_0x21898c=_0x358e2e[_0x206604(0x48d)];_0x510606['length']<_0xc4a3e4;){_0x2f8553&&_0xc464ed[_0x206604(0x4f6)](_0x2f8553),_0x2f8553=_0xc464ed[_0x206604(0x4f6)](_0x5c86e1)[_0x206604(0x36f)](_0x4b1b4c),_0xc464ed[_0x206604(0x39e)]();for(var _0x27db2f=0x1;_0x27db2f<_0x21898c;_0x27db2f++)_0x2f8553=_0xc464ed['finalize'](_0x2f8553),_0xc464ed[_0x206604(0x39e)]();_0x396aa4[_0x206604(0x385)](_0x2f8553);}return _0x396aa4['sigBytes']=_0xc4a3e4*0x4,_0x396aa4;}});_0x11b655[_0x3e8acf(0x1d3)]=function(_0x2c17bf,_0x36c19d,_0x203479){return _0x49ff27['create'](_0x203479)['compute'](_0x2c17bf,_0x36c19d);};}()),_0x1aff17[_0x319ca8(0x1d3)];}));}(_0xac6be7)),_0xac6be7[_0x331596(0x3b0)];}var _0x16de91={'exports':{}},_0x5e2e32=_0x16de91[_0x4ef07c(0x3b0)],_0x21202b;function _0x494c1f(){var _0x5ac9fe=_0x4ef07c;return _0x21202b||(_0x21202b=0x1,function(_0x3af63c,_0x16b648){(function(_0x45e5ff,_0x4d9384,_0x55b44e){_0x3af63c['exports']=_0x4d9384(_0x3d7c88(),_0x344cef());}(_0x5e2e32,function(_0x47f445){var _0x3a337c=_0x4d6f;_0x47f445['lib'][_0x3a337c(0x406)]||function(_0x559dfe){var _0x51d10c=_0x3a337c,_0xeb5676=_0x47f445,_0x2513fc=_0xeb5676[_0x51d10c(0x21c)],_0x4cb5fa=_0x2513fc[_0x51d10c(0x368)],_0x468ff7=_0x2513fc[_0x51d10c(0x35a)],_0x753968=_0x2513fc[_0x51d10c(0x2fa)],_0x17b4fd=_0xeb5676[_0x51d10c(0x2eb)];_0x17b4fd[_0x51d10c(0x2ea)];var _0x4b80f4=_0x17b4fd[_0x51d10c(0x362)],_0x3c8275=_0xeb5676['algo'],_0x1dd631=_0x3c8275[_0x51d10c(0x1d3)],_0xbe692f=_0x2513fc[_0x51d10c(0x406)]=_0x753968[_0x51d10c(0x386)]({'cfg':_0x4cb5fa[_0x51d10c(0x386)](),'createEncryptor':function(_0x503c2f,_0x1c58f2){var _0x1f23f7=_0x51d10c;return this['create'](this[_0x1f23f7(0x2dd)],_0x503c2f,_0x1c58f2);},'createDecryptor':function(_0x1ddca6,_0xe3b0b){var _0x56b4f9=_0x51d10c;return this[_0x56b4f9(0x4c2)](this['_DEC_XFORM_MODE'],_0x1ddca6,_0xe3b0b);},'init':function(_0x129c2a,_0x51c6b4,_0x349deb){var _0x335b4e=_0x51d10c;this[_0x335b4e(0x46f)]=this[_0x335b4e(0x46f)][_0x335b4e(0x386)](_0x349deb),this['_xformMode']=_0x129c2a,this['_key']=_0x51c6b4,this[_0x335b4e(0x39e)]();},'reset':function(){var _0x410c83=_0x51d10c;_0x753968['reset'][_0x410c83(0x24b)](this),this[_0x410c83(0x323)]();},'process':function(_0x4ab212){var _0x1d50d9=_0x51d10c;return this[_0x1d50d9(0x390)](_0x4ab212),this[_0x1d50d9(0x54c)]();},'finalize':function(_0x13ab09){var _0x4ecdff=_0x51d10c;_0x13ab09&&this[_0x4ecdff(0x390)](_0x13ab09);var _0x5be1c1=this[_0x4ecdff(0x32f)]();return _0x5be1c1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x436c73(_0x1eb6df){var _0x562d8b=_0x4d6f;return typeof _0x1eb6df==_0x562d8b(0x4a1)?_0x2a3497:_0x6a5d20;}return function(_0x1b22df){return{'encrypt':function(_0x1f3efe,_0x1e0c43,_0x969dc2){var _0x2825f5=_0x4d6f;return _0x436c73(_0x1e0c43)[_0x2825f5(0x240)](_0x1b22df,_0x1f3efe,_0x1e0c43,_0x969dc2);},'decrypt':function(_0x49493b,_0x30a92d,_0x54d2e3){var _0x5da6f7=_0x4d6f;return _0x436c73(_0x30a92d)[_0x5da6f7(0x31a)](_0x1b22df,_0x49493b,_0x30a92d,_0x54d2e3);}};};}())});_0x2513fc[_0x51d10c(0x464)]=_0xbe692f['extend']({'_doFinalize':function(){var _0xd50d2a=_0x51d10c,_0x528b11=this[_0xd50d2a(0x54c)](!0x0);return _0x528b11;},'blockSize':0x1});var _0x30f10d=_0xeb5676[_0x51d10c(0x1c6)]={},_0x3bb8d0=_0x2513fc[_0x51d10c(0x4f9)]=_0x4cb5fa[_0x51d10c(0x386)]({'createEncryptor':function(_0x3c49ce,_0x1826fd){var _0x549f4a=_0x51d10c;return this[_0x549f4a(0x382)]['create'](_0x3c49ce,_0x1826fd);},'createDecryptor':function(_0x3a2ff4,_0x19c7d4){var _0x39f209=_0x51d10c;return this[_0x39f209(0x2e9)][_0x39f209(0x4c2)](_0x3a2ff4,_0x19c7d4);},'init':function(_0x2e0983,_0x4ef771){var _0x2159e4=_0x51d10c;this['_cipher']=_0x2e0983,this[_0x2159e4(0x1e9)]=_0x4ef771;}}),_0x11bed5=_0x30f10d[_0x51d10c(0x3d7)]=(function(){var _0x158b94=_0x51d10c,_0x408c7b=_0x3bb8d0[_0x158b94(0x386)]();_0x408c7b[_0x158b94(0x382)]=_0x408c7b['extend']({'processBlock':function(_0x455cc2,_0x45494a){var _0x2d2a96=_0x158b94,_0x2ef347=this['_cipher'],_0x4d83f5=_0x2ef347[_0x2d2a96(0x22c)];_0x576b82[_0x2d2a96(0x24b)](this,_0x455cc2,_0x45494a,_0x4d83f5),_0x2ef347[_0x2d2a96(0x3f2)](_0x455cc2,_0x45494a),this['_prevBlock']=_0x455cc2[_0x2d2a96(0x34b)](_0x45494a,_0x45494a+_0x4d83f5);}}),_0x408c7b[_0x158b94(0x2e9)]=_0x408c7b[_0x158b94(0x386)]({'processBlock':function(_0x4e5e23,_0x13924a){var _0x5686dd=_0x158b94,_0x3d8064=this[_0x5686dd(0x310)],_0x5e2c4a=_0x3d8064[_0x5686dd(0x22c)],_0x37b34d=_0x4e5e23[_0x5686dd(0x34b)](_0x13924a,_0x13924a+_0x5e2c4a);_0x3d8064[_0x5686dd(0x4ab)](_0x4e5e23,_0x13924a),_0x576b82['call'](this,_0x4e5e23,_0x13924a,_0x5e2c4a),this[_0x5686dd(0x403)]=_0x37b34d;}});function _0x576b82(_0x584443,_0x5a3eb8,_0x47da48){var _0x57685f=_0x158b94,_0x3b985d,_0x4a6322=this[_0x57685f(0x1e9)];_0x4a6322?(_0x3b985d=_0x4a6322,this[_0x57685f(0x1e9)]=_0x559dfe):_0x3b985d=this[_0x57685f(0x403)];for(var _0x32d86b=0x0;_0x32d86b<_0x47da48;_0x32d86b++)_0x584443[_0x5a3eb8+_0x32d86b]^=_0x3b985d[_0x32d86b];}return _0x408c7b;}()),_0x32dc4a=_0xeb5676['pad']={},_0x5864f5=_0x32dc4a[_0x51d10c(0x2ef)]={'pad':function(_0x48b4dc,_0xf8bc38){var _0x476a82=_0x51d10c;for(var _0x1d8827=_0xf8bc38*0x4,_0x3d166f=_0x1d8827-_0x48b4dc[_0x476a82(0x1c7)]%_0x1d8827,_0x1120f8=_0x3d166f<<0x18|_0x3d166f<<0x10|_0x3d166f<<0x8|_0x3d166f,_0x4fe473=[],_0x88b206=0x0;_0x88b206<_0x3d166f;_0x88b206+=0x4)_0x4fe473['push'](_0x1120f8);var _0x3e95a5=_0x468ff7[_0x476a82(0x4c2)](_0x4fe473,_0x3d166f);_0x48b4dc[_0x476a82(0x385)](_0x3e95a5);},'unpad':function(_0x585ea4){var _0x2dc592=_0x51d10c,_0x37810e=_0x585ea4[_0x2dc592(0x346)][_0x585ea4[_0x2dc592(0x1c7)]-0x1>>>0x2]&0xff;_0x585ea4[_0x2dc592(0x1c7)]-=_0x37810e;}};_0x2513fc[_0x51d10c(0x4a4)]=_0xbe692f[_0x51d10c(0x386)]({'cfg':_0xbe692f[_0x51d10c(0x46f)][_0x51d10c(0x386)]({'mode':_0x11bed5,'padding':_0x5864f5}),'reset':function(){var _0x1896d5=_0x51d10c,_0x58fc2b;_0xbe692f['reset'][_0x1896d5(0x24b)](this);var _0x51a01e=this[_0x1896d5(0x46f)],_0x2b2752=_0x51a01e['iv'],_0x118d37=_0x51a01e[_0x1896d5(0x1c6)];this[_0x1896d5(0x1f3)]==this[_0x1896d5(0x2dd)]?_0x58fc2b=_0x118d37[_0x1896d5(0x1d9)]:(_0x58fc2b=_0x118d37[_0x1896d5(0x416)],this['_minBufferSize']=0x1),this[_0x1896d5(0x3bf)]&&this[_0x1896d5(0x3bf)][_0x1896d5(0x444)]==_0x58fc2b?this['_mode'][_0x1896d5(0x2a8)](this,_0x2b2752&&_0x2b2752[_0x1896d5(0x346)]):(this[_0x1896d5(0x3bf)]=_0x58fc2b['call'](_0x118d37,this,_0x2b2752&&_0x2b2752[_0x1896d5(0x346)]),this[_0x1896d5(0x3bf)][_0x1896d5(0x444)]=_0x58fc2b);},'_doProcessBlock':function(_0x33e512,_0x158c65){var _0x1bcb42=_0x51d10c;this[_0x1bcb42(0x3bf)][_0x1bcb42(0x39b)](_0x33e512,_0x158c65);},'_doFinalize':function(){var _0x451e3f=_0x51d10c,_0x528265,_0x4d9a94=this[_0x451e3f(0x46f)][_0x451e3f(0x498)];return this[_0x451e3f(0x1f3)]==this['_ENC_XFORM_MODE']?(_0x4d9a94['pad'](this['_data'],this[_0x451e3f(0x22c)]),_0x528265=this[_0x451e3f(0x54c)](!0x0)):(_0x528265=this[_0x451e3f(0x54c)](!0x0),_0x4d9a94['unpad'](_0x528265)),_0x528265;},'blockSize':0x80/0x20});var _0xb76301=_0x2513fc[_0x51d10c(0x514)]=_0x4cb5fa['extend']({'init':function(_0x1d3866){var _0x2d622b=_0x51d10c;this[_0x2d622b(0x369)](_0x1d3866);},'toString':function(_0x5aec72){var _0xc2016d=_0x51d10c;return(_0x5aec72||this[_0xc2016d(0x32e)])[_0xc2016d(0x49b)](this);}}),_0x1d9b1f=_0xeb5676['format']={},_0x113473=_0x1d9b1f[_0x51d10c(0x502)]={'stringify':function(_0x51d719){var _0x1235ab=_0x51d10c,_0x596b1a,_0x534429=_0x51d719[_0x1235ab(0x4d2)],_0x2fb16f=_0x51d719[_0x1235ab(0x449)];return _0x2fb16f?_0x596b1a=_0x468ff7[_0x1235ab(0x4c2)]([0x53616c74,0x65645f5f])[_0x1235ab(0x385)](_0x2fb16f)[_0x1235ab(0x385)](_0x534429):_0x596b1a=_0x534429,_0x596b1a['toString'](_0x4b80f4);},'parse':function(_0x4303f6){var _0x4d7d7f=_0x51d10c,_0x32fb2e,_0x10d5b4=_0x4b80f4['parse'](_0x4303f6),_0x157699=_0x10d5b4[_0x4d7d7f(0x346)];return _0x157699[0x0]==0x53616c74&&_0x157699[0x1]==0x65645f5f&&(_0x32fb2e=_0x468ff7[_0x4d7d7f(0x4c2)](_0x157699[_0x4d7d7f(0x34b)](0x2,0x4)),_0x157699[_0x4d7d7f(0x4c3)](0x0,0x4),_0x10d5b4['sigBytes']-=0x10),_0xb76301['create']({'ciphertext':_0x10d5b4,'salt':_0x32fb2e});}},_0x6a5d20=_0x2513fc[_0x51d10c(0x365)]=_0x4cb5fa['extend']({'cfg':_0x4cb5fa[_0x51d10c(0x386)]({'format':_0x113473}),'encrypt':function(_0x2f966d,_0xadda79,_0x1d621d,_0x266703){var _0x3d6940=_0x51d10c;_0x266703=this[_0x3d6940(0x46f)]['extend'](_0x266703);var _0xc6ad79=_0x2f966d[_0x3d6940(0x1d9)](_0x1d621d,_0x266703),_0x2d6f86=_0xc6ad79['finalize'](_0xadda79),_0x136b06=_0xc6ad79[_0x3d6940(0x46f)];return _0xb76301[_0x3d6940(0x4c2)]({'ciphertext':_0x2d6f86,'key':_0x1d621d,'iv':_0x136b06['iv'],'algorithm':_0x2f966d,'mode':_0x136b06[_0x3d6940(0x1c6)],'padding':_0x136b06[_0x3d6940(0x498)],'blockSize':_0x2f966d[_0x3d6940(0x22c)],'formatter':_0x266703['format']});},'decrypt':function(_0x70e907,_0x241cef,_0x150a31,_0x3e2720){var _0x3bb35f=_0x51d10c;_0x3e2720=this[_0x3bb35f(0x46f)]['extend'](_0x3e2720),_0x241cef=this[_0x3bb35f(0x211)](_0x241cef,_0x3e2720[_0x3bb35f(0x24f)]);var _0x400cd7=_0x70e907[_0x3bb35f(0x416)](_0x150a31,_0x3e2720)[_0x3bb35f(0x36f)](_0x241cef[_0x3bb35f(0x4d2)]);return _0x400cd7;},'_parse':function(_0x5f1e16,_0xf6f699){return typeof _0x5f1e16=='string'?_0xf6f699['parse'](_0x5f1e16,this):_0x5f1e16;}}),_0xa2c723=_0xeb5676[_0x51d10c(0x465)]={},_0x4b491b=_0xa2c723['OpenSSL']={'execute':function(_0x11da4f,_0x5a842f,_0x43be0,_0x94347,_0x4ee28c){var _0x1f4bcc=_0x51d10c;if(_0x94347||(_0x94347=_0x468ff7['random'](0x40/0x8)),_0x4ee28c)var _0x46799e=_0x1dd631[_0x1f4bcc(0x4c2)]({'keySize':_0x5a842f+_0x43be0,'hasher':_0x4ee28c})['compute'](_0x11da4f,_0x94347);else var _0x46799e=_0x1dd631[_0x1f4bcc(0x4c2)]({'keySize':_0x5a842f+_0x43be0})['compute'](_0x11da4f,_0x94347);var _0xf837e6=_0x468ff7[_0x1f4bcc(0x4c2)](_0x46799e[_0x1f4bcc(0x346)][_0x1f4bcc(0x34b)](_0x5a842f),_0x43be0*0x4);return _0x46799e['sigBytes']=_0x5a842f*0x4,_0xb76301['create']({'key':_0x46799e,'iv':_0xf837e6,'salt':_0x94347});}},_0x2a3497=_0x2513fc[_0x51d10c(0x447)]=_0x6a5d20[_0x51d10c(0x386)]({'cfg':_0x6a5d20[_0x51d10c(0x46f)]['extend']({'kdf':_0x4b491b}),'encrypt':function(_0x4b2c97,_0xef08c6,_0x319612,_0x5539fc){var _0x3b08e7=_0x51d10c;_0x5539fc=this[_0x3b08e7(0x46f)][_0x3b08e7(0x386)](_0x5539fc);var _0x1b9840=_0x5539fc['kdf']['execute'](_0x319612,_0x4b2c97[_0x3b08e7(0x2bc)],_0x4b2c97[_0x3b08e7(0x29f)],_0x5539fc[_0x3b08e7(0x449)],_0x5539fc[_0x3b08e7(0x321)]);_0x5539fc['iv']=_0x1b9840['iv'];var _0x59c7a1=_0x6a5d20['encrypt'][_0x3b08e7(0x24b)](this,_0x4b2c97,_0xef08c6,_0x1b9840[_0x3b08e7(0x545)],_0x5539fc);return _0x59c7a1[_0x3b08e7(0x369)](_0x1b9840),_0x59c7a1;},'decrypt':function(_0x31c3ff,_0x553919,_0xdcf871,_0x4c6ef2){var _0x19eb3c=_0x51d10c;_0x4c6ef2=this[_0x19eb3c(0x46f)][_0x19eb3c(0x386)](_0x4c6ef2),_0x553919=this[_0x19eb3c(0x211)](_0x553919,_0x4c6ef2[_0x19eb3c(0x24f)]);var _0x2aa8be=_0x4c6ef2['kdf'][_0x19eb3c(0x494)](_0xdcf871,_0x31c3ff['keySize'],_0x31c3ff[_0x19eb3c(0x29f)],_0x553919[_0x19eb3c(0x449)],_0x4c6ef2[_0x19eb3c(0x321)]);_0x4c6ef2['iv']=_0x2aa8be['iv'];var _0x1e58e5=_0x6a5d20['decrypt'][_0x19eb3c(0x24b)](this,_0x31c3ff,_0x553919,_0x2aa8be[_0x19eb3c(0x545)],_0x4c6ef2);return _0x1e58e5;}});}();}));}(_0x16de91)),_0x16de91[_0x5ac9fe(0x3b0)];}var _0x2ab463=_0x265397[_0x4ef07c(0x3b0)],_0x343eaa;function _0x40c9f0(){var _0x709737=_0x4ef07c;return _0x343eaa||(_0x343eaa=0x1,function(_0x4f5246,_0x38e566){(function(_0x2390e2,_0x3a2bdf,_0x25315e){var _0x114c80=_0x4d6f;_0x4f5246[_0x114c80(0x3b0)]=_0x3a2bdf(_0x3d7c88(),_0x3a11d6(),_0x1c8a85(),_0x344cef(),_0x494c1f());}(_0x2ab463,function(_0x51490c){return(function(){var _0x41b849=_0x4d6f,_0x4c138d=_0x51490c,_0x19be8c=_0x4c138d['lib'],_0x18c35b=_0x19be8c['BlockCipher'],_0x343c87=_0x4c138d[_0x41b849(0x4a7)],_0x43b480=[],_0xbb9a27=[],_0x2d11e3=[],_0x50dbdd=[],_0x258fb6=[],_0x25f64c=[],_0x10b729=[],_0x279215=[],_0x2cc9b1=[],_0x2d145a=[];(function(){for(var _0x9da1bf=[],_0x1d16e1=0x0;_0x1d16e1<0x100;_0x1d16e1++)_0x1d16e1<0x80?_0x9da1bf[_0x1d16e1]=_0x1d16e1<<0x1:_0x9da1bf[_0x1d16e1]=_0x1d16e1<<0x1^0x11b;for(var _0x199ac2=0x0,_0x59ccad=0x0,_0x1d16e1=0x0;_0x1d16e1<0x100;_0x1d16e1++){var _0x48eb69=_0x59ccad^_0x59ccad<<0x1^_0x59ccad<<0x2^_0x59ccad<<0x3^_0x59ccad<<0x4;_0x48eb69=_0x48eb69>>>0x8^_0x48eb69&0xff^0x63,_0x43b480[_0x199ac2]=_0x48eb69,_0xbb9a27[_0x48eb69]=_0x199ac2;var _0x1448d9=_0x9da1bf[_0x199ac2],_0x30efed=_0x9da1bf[_0x1448d9],_0x17ea5e=_0x9da1bf[_0x30efed],_0x2f35f7=_0x9da1bf[_0x48eb69]*0x101^_0x48eb69*0x1010100;_0x2d11e3[_0x199ac2]=_0x2f35f7<<0x18|_0x2f35f7>>>0x8,_0x50dbdd[_0x199ac2]=_0x2f35f7<<0x10|_0x2f35f7>>>0x10,_0x258fb6[_0x199ac2]=_0x2f35f7<<0x8|_0x2f35f7>>>0x18,_0x25f64c[_0x199ac2]=_0x2f35f7;var _0x2f35f7=_0x17ea5e*0x1010101^_0x30efed*0x10001^_0x1448d9*0x101^_0x199ac2*0x1010100;_0x10b729[_0x48eb69]=_0x2f35f7<<0x18|_0x2f35f7>>>0x8,_0x279215[_0x48eb69]=_0x2f35f7<<0x10|_0x2f35f7>>>0x10,_0x2cc9b1[_0x48eb69]=_0x2f35f7<<0x8|_0x2f35f7>>>0x18,_0x2d145a[_0x48eb69]=_0x2f35f7,_0x199ac2?(_0x199ac2=_0x1448d9^_0x9da1bf[_0x9da1bf[_0x9da1bf[_0x17ea5e^_0x1448d9]]],_0x59ccad^=_0x9da1bf[_0x9da1bf[_0x59ccad]]):_0x199ac2=_0x59ccad=0x1;}}());var _0x4c137a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2c4181=_0x343c87[_0x41b849(0x2c4)]=_0x18c35b[_0x41b849(0x386)]({'_doReset':function(){var _0x20aec9=_0x41b849,_0x4260e8;if(!(this[_0x20aec9(0x430)]&&this[_0x20aec9(0x2d5)]===this[_0x20aec9(0x331)])){for(var _0x292020=this['_keyPriorReset']=this[_0x20aec9(0x331)],_0x58f8b1=_0x292020[_0x20aec9(0x346)],_0x5d451f=_0x292020['sigBytes']/0x4,_0x543491=this[_0x20aec9(0x430)]=_0x5d451f+0x6,_0x137026=(_0x543491+0x1)*0x4,_0x82d743=this[_0x20aec9(0x37d)]=[],_0x10c654=0x0;_0x10c654<_0x137026;_0x10c654++)_0x10c654<_0x5d451f?_0x82d743[_0x10c654]=_0x58f8b1[_0x10c654]:(_0x4260e8=_0x82d743[_0x10c654-0x1],_0x10c654%_0x5d451f?_0x5d451f>0x6&&_0x10c654%_0x5d451f==0x4&&(_0x4260e8=_0x43b480[_0x4260e8>>>0x18]<<0x18|_0x43b480[_0x4260e8>>>0x10&0xff]<<0x10|_0x43b480[_0x4260e8>>>0x8&0xff]<<0x8|_0x43b480[_0x4260e8&0xff]):(_0x4260e8=_0x4260e8<<0x8|_0x4260e8>>>0x18,_0x4260e8=_0x43b480[_0x4260e8>>>0x18]<<0x18|_0x43b480[_0x4260e8>>>0x10&0xff]<<0x10|_0x43b480[_0x4260e8>>>0x8&0xff]<<0x8|_0x43b480[_0x4260e8&0xff],_0x4260e8^=_0x4c137a[_0x10c654/_0x5d451f|0x0]<<0x18),_0x82d743[_0x10c654]=_0x82d743[_0x10c654-_0x5d451f]^_0x4260e8);for(var _0x204914=this[_0x20aec9(0x3a3)]=[],_0xd23818=0x0;_0xd23818<_0x137026;_0xd23818++){var _0x10c654=_0x137026-_0xd23818;if(_0xd23818%0x4)var _0x4260e8=_0x82d743[_0x10c654];else var _0x4260e8=_0x82d743[_0x10c654-0x4];_0xd23818<0x4||_0x10c654<=0x4?_0x204914[_0xd23818]=_0x4260e8:_0x204914[_0xd23818]=_0x10b729[_0x43b480[_0x4260e8>>>0x18]]^_0x279215[_0x43b480[_0x4260e8>>>0x10&0xff]]^_0x2cc9b1[_0x43b480[_0x4260e8>>>0x8&0xff]]^_0x2d145a[_0x43b480[_0x4260e8&0xff]];}}},'encryptBlock':function(_0x433fe5,_0x52149e){var _0x21c25a=_0x41b849;this[_0x21c25a(0x2a3)](_0x433fe5,_0x52149e,this[_0x21c25a(0x37d)],_0x2d11e3,_0x50dbdd,_0x258fb6,_0x25f64c,_0x43b480);},'decryptBlock':function(_0xedf78c,_0x56b1b4){var _0x563876=_0x41b849,_0x1bae2c=_0xedf78c[_0x56b1b4+0x1];_0xedf78c[_0x56b1b4+0x1]=_0xedf78c[_0x56b1b4+0x3],_0xedf78c[_0x56b1b4+0x3]=_0x1bae2c,this[_0x563876(0x2a3)](_0xedf78c,_0x56b1b4,this[_0x563876(0x3a3)],_0x10b729,_0x279215,_0x2cc9b1,_0x2d145a,_0xbb9a27);var _0x1bae2c=_0xedf78c[_0x56b1b4+0x1];_0xedf78c[_0x56b1b4+0x1]=_0xedf78c[_0x56b1b4+0x3],_0xedf78c[_0x56b1b4+0x3]=_0x1bae2c;},'_doCryptBlock':function(_0x65e743,_0x54ac62,_0x30fabb,_0x3d43e2,_0x4ac852,_0x2d99cd,_0x2826a2,_0x16a887){var _0x5e3e4c=_0x41b849;for(var _0x2786a4=this[_0x5e3e4c(0x430)],_0x15e6e4=_0x65e743[_0x54ac62]^_0x30fabb[0x0],_0x12a03c=_0x65e743[_0x54ac62+0x1]^_0x30fabb[0x1],_0x3107f4=_0x65e743[_0x54ac62+0x2]^_0x30fabb[0x2],_0x1b6b26=_0x65e743[_0x54ac62+0x3]^_0x30fabb[0x3],_0x1d0c2d=0x4,_0xb8ae00=0x1;_0xb8ae00<_0x2786a4;_0xb8ae00++){var _0x18c77d=_0x3d43e2[_0x15e6e4>>>0x18]^_0x4ac852[_0x12a03c>>>0x10&0xff]^_0x2d99cd[_0x3107f4>>>0x8&0xff]^_0x2826a2[_0x1b6b26&0xff]^_0x30fabb[_0x1d0c2d++],_0x24aa36=_0x3d43e2[_0x12a03c>>>0x18]^_0x4ac852[_0x3107f4>>>0x10&0xff]^_0x2d99cd[_0x1b6b26>>>0x8&0xff]^_0x2826a2[_0x15e6e4&0xff]^_0x30fabb[_0x1d0c2d++],_0x30af4c=_0x3d43e2[_0x3107f4>>>0x18]^_0x4ac852[_0x1b6b26>>>0x10&0xff]^_0x2d99cd[_0x15e6e4>>>0x8&0xff]^_0x2826a2[_0x12a03c&0xff]^_0x30fabb[_0x1d0c2d++],_0x10b3ed=_0x3d43e2[_0x1b6b26>>>0x18]^_0x4ac852[_0x15e6e4>>>0x10&0xff]^_0x2d99cd[_0x12a03c>>>0x8&0xff]^_0x2826a2[_0x3107f4&0xff]^_0x30fabb[_0x1d0c2d++];_0x15e6e4=_0x18c77d,_0x12a03c=_0x24aa36,_0x3107f4=_0x30af4c,_0x1b6b26=_0x10b3ed;}var _0x18c77d=(_0x16a887[_0x15e6e4>>>0x18]<<0x18|_0x16a887[_0x12a03c>>>0x10&0xff]<<0x10|_0x16a887[_0x3107f4>>>0x8&0xff]<<0x8|_0x16a887[_0x1b6b26&0xff])^_0x30fabb[_0x1d0c2d++],_0x24aa36=(_0x16a887[_0x12a03c>>>0x18]<<0x18|_0x16a887[_0x3107f4>>>0x10&0xff]<<0x10|_0x16a887[_0x1b6b26>>>0x8&0xff]<<0x8|_0x16a887[_0x15e6e4&0xff])^_0x30fabb[_0x1d0c2d++],_0x30af4c=(_0x16a887[_0x3107f4>>>0x18]<<0x18|_0x16a887[_0x1b6b26>>>0x10&0xff]<<0x10|_0x16a887[_0x15e6e4>>>0x8&0xff]<<0x8|_0x16a887[_0x12a03c&0xff])^_0x30fabb[_0x1d0c2d++],_0x10b3ed=(_0x16a887[_0x1b6b26>>>0x18]<<0x18|_0x16a887[_0x15e6e4>>>0x10&0xff]<<0x10|_0x16a887[_0x12a03c>>>0x8&0xff]<<0x8|_0x16a887[_0x3107f4&0xff])^_0x30fabb[_0x1d0c2d++];_0x65e743[_0x54ac62]=_0x18c77d,_0x65e743[_0x54ac62+0x1]=_0x24aa36,_0x65e743[_0x54ac62+0x2]=_0x30af4c,_0x65e743[_0x54ac62+0x3]=_0x10b3ed;},'keySize':0x100/0x20});_0x4c138d['AES']=_0x18c35b[_0x41b849(0x48b)](_0x2c4181);}()),_0x51490c['AES'];}));}(_0x265397)),_0x265397[_0x709737(0x3b0)];}var _0x9f3fd8=_0x40c9f0();const _0xff0e20=_0xabc530(_0x9f3fd8);var _0x5f4c46=_0x3a11d6();const _0x160dee=_0xabc530(_0x5f4c46);var _0x1b1381={'exports':{}},_0xf4dac3=_0x1b1381['exports'],_0x28d9a4;function _0x1b7136(){return _0x28d9a4||(_0x28d9a4=0x1,function(_0x28dd5a,_0x1e5628){(function(_0x13eec2,_0x3e3b87){_0x28dd5a['exports']=_0x3e3b87(_0x3d7c88());}(_0xf4dac3,function(_0x30c63b){var _0x107c6e=_0x4d6f;return _0x30c63b[_0x107c6e(0x2eb)]['Utf8'];}));}(_0x1b1381)),_0x1b1381['exports'];}var _0x1b9e3e=_0x1b7136();const _0x3ee8d3=_0xabc530(_0x1b9e3e);var _0x59f28e={'exports':{}},_0x24ec4b=_0x59f28e[_0x4ef07c(0x3b0)],_0x3592ed;function _0x5c3bd9(){var _0x2110e2=_0x4ef07c;return _0x3592ed||(_0x3592ed=0x1,function(_0x52b2d6,_0x59a41d){(function(_0x399bff,_0x45bddf){var _0x271e5c=_0x4d6f;_0x52b2d6[_0x271e5c(0x3b0)]=_0x45bddf(_0x3d7c88());}(_0x24ec4b,function(_0x3cf682){var _0x4c2f1f=_0x4d6f;return(function(){var _0x3b819e=_0x4d6f;if(typeof ArrayBuffer==_0x3b819e(0x40a)){var _0x2448ed=_0x3cf682,_0x14dc71=_0x2448ed[_0x3b819e(0x21c)],_0x56ac2d=_0x14dc71['WordArray'],_0x1b7abe=_0x56ac2d[_0x3b819e(0x2a8)],_0x3e238e=_0x56ac2d[_0x3b819e(0x2a8)]=function(_0x2c2724){var _0x4545da=_0x3b819e;if(_0x2c2724 instanceof ArrayBuffer&&(_0x2c2724=new Uint8Array(_0x2c2724)),(_0x2c2724 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2c2724 instanceof Uint8ClampedArray||_0x2c2724 instanceof Int16Array||_0x2c2724 instanceof Uint16Array||_0x2c2724 instanceof Int32Array||_0x2c2724 instanceof Uint32Array||_0x2c2724 instanceof Float32Array||_0x2c2724 instanceof Float64Array)&&(_0x2c2724=new Uint8Array(_0x2c2724['buffer'],_0x2c2724[_0x4545da(0x299)],_0x2c2724[_0x4545da(0x3a7)])),_0x2c2724 instanceof Uint8Array){for(var _0x90926d=_0x2c2724['byteLength'],_0x22d852=[],_0x288ddb=0x0;_0x288ddb<_0x90926d;_0x288ddb++)_0x22d852[_0x288ddb>>>0x2]|=_0x2c2724[_0x288ddb]<<0x18-_0x288ddb%0x4*0x8;_0x1b7abe[_0x4545da(0x24b)](this,_0x22d852,_0x90926d);}else _0x1b7abe[_0x4545da(0x3ac)](this,arguments);};_0x3e238e[_0x3b819e(0x31e)]=_0x56ac2d;}}()),_0x3cf682[_0x4c2f1f(0x21c)][_0x4c2f1f(0x35a)];}));}(_0x59f28e)),_0x59f28e[_0x2110e2(0x3b0)];}var _0x2fbe6e=_0x5c3bd9();const _0x42681c=_0xabc530(_0x2fbe6e);var _0x448547={'exports':{}},_0x14cc8a=_0x448547[_0x4ef07c(0x3b0)],_0x3eb44b;function _0x3dc9bf(){return _0x3eb44b||(_0x3eb44b=0x1,function(_0x3bf967,_0x327176){(function(_0x4d396c,_0xdd498a,_0x3e18a4){var _0x1ea753=_0x4d6f;_0x3bf967[_0x1ea753(0x3b0)]=_0xdd498a(_0x3d7c88(),_0x494c1f());}(_0x14cc8a,function(_0x39ece8){var _0x278af1=_0x4d6f;return _0x39ece8[_0x278af1(0x441)][_0x278af1(0x411)]={'pad':function(){},'unpad':function(){}},_0x39ece8[_0x278af1(0x441)][_0x278af1(0x411)];}));}(_0x448547)),_0x448547['exports'];}var _0x31a7c4=_0x3dc9bf();const _0x33c0ce=_0xabc530(_0x31a7c4);function _0x4d93ab(_0x4793ca,_0x14853b){var _0x5d5e0c=_0x4ef07c;const _0x2500c9=_0x14853b-_0x4793ca[_0x5d5e0c(0x3aa)]%_0x14853b,_0x109216=String[_0x5d5e0c(0x3ef)](_0x2500c9)['repeat'](_0x2500c9);return _0x4793ca+_0x109216;}function _0x28e2de(_0x2062f3,_0x5ed615){var _0x26a56e=_0x4ef07c;const _0x198459=_0x42681c[_0x26a56e(0x352)](0x10),_0xa8cafa=_0x4d93ab(_0x2062f3,0x10),_0x324278=_0xff0e20[_0x26a56e(0x240)](_0x3ee8d3['parse'](_0xa8cafa),_0x160dee[_0x26a56e(0x55e)](_0x5ed615),{'iv':_0x198459,'padding':_0x33c0ce});return _0x198459[_0x26a56e(0x385)](_0x324278[_0x26a56e(0x4d2)])['toString'](_0x160dee);}function _0x22f91a(){var _0x1ffc0a=_0x4ef07c;const _0xf78226=_0xc549e7['getGlobalObject']()[_0x1ffc0a(0x409)];if(_0xf78226){const _0x1a3a33={'time':Math[_0x1ffc0a(0x286)](Date[_0x1ffc0a(0x52d)]()/0x3e8),'domain':location[_0x1ffc0a(0x540)]};return _0x28e2de(JSON[_0x1ffc0a(0x49b)](_0x1a3a33),_0xf78226);}}var _0x1b9753=Object[_0x4ef07c(0x4b2)],_0x435622=(_0x8d6ac7,_0x16eae9,_0x4470db,_0xbb3c6e)=>{var _0x3055b8=_0x4ef07c;for(var _0x2f5232=_0xbb3c6e>0x1?void 0x0:_0xbb3c6e?_0x1b9753(_0x16eae9,_0x4470db):_0x16eae9,_0x5a3f4d=_0x8d6ac7[_0x3055b8(0x3aa)]-0x1,_0x4a5aed;_0x5a3f4d>=0x0;_0x5a3f4d--)(_0x4a5aed=_0x8d6ac7[_0x5a3f4d])&&(_0x2f5232=_0x4a5aed(_0x2f5232)||_0x2f5232);return _0x2f5232;},_0x1a829e=(_0xd9fdba,_0x57f268)=>(_0x4b9f09,_0x38047b)=>_0x57f268(_0x4b9f09,_0x38047b,_0xd9fdba);let _0x1cddb0=class{constructor(_0x1ee038){var _0x7cf247=_0x4ef07c;this['_httpService']=_0x1ee038,this[_0x7cf247(0x4d3)]();}[_0x4ef07c(0x4d3)](){var _0x2fba64=_0x4ef07c;this[_0x2fba64(0x397)]['registerHTTPInterceptor']({'interceptor':(_0x28d270,_0xd60034)=>{var _0x5909b4=_0x2fba64;const _0x127b6a=_0x28d270[_0x5909b4(0x28d)],_0x1c1446=_0x22f91a();return _0x1c1446&&_0x127b6a[_0x5909b4(0x3bc)](_0x5909b4(0x356),_0x1c1446),_0xd60034(_0x28d270);}});}};_0x1cddb0=_0x435622([_0x1a829e(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f['HTTPService']))],_0x1cddb0);var _0x487409=Object['getOwnPropertyDescriptor'],_0x35c806=(_0x27c8c0,_0x132fe2,_0x3c3394,_0xb99ea6)=>{var _0x6f8de5=_0x4ef07c;for(var _0x27328f=_0xb99ea6>0x1?void 0x0:_0xb99ea6?_0x487409(_0x132fe2,_0x3c3394):_0x132fe2,_0x26d378=_0x27c8c0[_0x6f8de5(0x3aa)]-0x1,_0x3fb3e9;_0x26d378>=0x0;_0x26d378--)(_0x3fb3e9=_0x27c8c0[_0x26d378])&&(_0x27328f=_0x3fb3e9(_0x27328f)||_0x27328f);return _0x27328f;},_0xcd352d=(_0x52b8e6,_0x5cbb8d)=>(_0x3763b6,_0x212321)=>_0x5cbb8d(_0x3763b6,_0x212321,_0x52b8e6);_0x2c717a[_0x4ef07c(0x562)]=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x274781,_0x3ca909,_0x2c285f){var _0x1e4a74=_0x4ef07c;super(),_0x27ebba(this,_0x1e4a74(0x4ee),new _0x49c451[(_0x1e4a74(0x32a))](null)),_0x27ebba(this,_0x1e4a74(0x300),this[_0x1e4a74(0x4ee)][_0x1e4a74(0x245)]()),(this[_0x1e4a74(0x1df)]=_0x274781,this['_snapshotService']=_0x3ca909,this[_0x1e4a74(0x4d9)]=_0x2c285f);}async[_0x4ef07c(0x4ff)](_0x52f355,_0x2f5a56,_0x35a874){var _0x20b751=_0x4ef07c;this[_0x20b751(0x4ee)][_0x20b751(0x534)]({'unitId':_0x52f355,'type':_0x2f5a56});let _0xca774e=null;switch(_0x2f5a56){case _0x1ac378[_0x20b751(0x2be)]:{_0xca774e=await this[_0x20b751(0x378)][_0x20b751(0x315)](_0x52f355,_0x35a874);break;}case _0x1ac378[_0x20b751(0x41f)]:{_0xca774e=await this['_snapshotService'][_0x20b751(0x21d)](_0x52f355,_0x35a874);break;}default:{this[_0x20b751(0x1df)][_0x20b751(0x456)](_0x20b751(0x50e),_0x20b751(0x51e));break;}}return _0xca774e;}async['loadUnit'](_0x268436,_0x3383d5,_0x2bde3c){var _0x1917f1=_0x4ef07c,_0x232915;this[_0x1917f1(0x4ee)][_0x1917f1(0x534)]({'unitId':_0x268436,'type':_0x3383d5,'subUnitId':_0x2bde3c});let _0x2d5f83=0x0;const _0x2f86ff=await((_0x232915=this['_localCacheService'])==null?void 0x0:_0x232915['loadOfflineData'](_0x268436));return _0x2f86ff&&(_0x2f86ff['awaitingChangeset']||_0x2f86ff['mutations'][_0x1917f1(0x3aa)]!==0x0)&&(_0x2d5f83=_0x2f86ff[_0x1917f1(0x31c)]),_0x2d5f83===0x0&&this[_0x1917f1(0x1df)][_0x1917f1(0x3a5)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1917f1(0x4ff)](_0x268436,_0x3383d5,_0x2d5f83);}},_0x2c717a[_0x4ef07c(0x562)]=_0x35c806([_0xcd352d(0x0,_0x5a87f6[_0x4ef07c(0x546)]),_0xcd352d(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1d4)])),_0xcd352d(0x2,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a['DataLoaderService']);var _0x2cca87=Object['getOwnPropertyDescriptor'],_0x5c1c69=(_0x4eb316,_0x3931d2,_0x46e9eb,_0x1f3317)=>{for(var _0x13c880=_0x1f3317>0x1?void 0x0:_0x1f3317?_0x2cca87(_0x3931d2,_0x46e9eb):_0x3931d2,_0x17614a=_0x4eb316['length']-0x1,_0x4e3a30;_0x17614a>=0x0;_0x17614a--)(_0x4e3a30=_0x4eb316[_0x17614a])&&(_0x13c880=_0x4e3a30(_0x13c880)||_0x13c880);return _0x13c880;},_0x2baa08=(_0x3da6ae,_0x1d8a88)=>(_0x5d2e62,_0x4a46a8)=>_0x1d8a88(_0x5d2e62,_0x4a46a8,_0x3da6ae);const _0x2c5f4c=[_0x4ef07c(0x1e3),_0x4ef07c(0x536),'image/jpg',_0x4ef07c(0x53d),_0x4ef07c(0x1ca)],_0x246851=0x5*0x400*0x400,_0x288ea1='/universer-api/stream/file/upload',_0x38d368=_0x4ef07c(0x287);_0x2c717a[_0x4ef07c(0x28f)]=class{constructor(_0x1bff5c,_0x48f529,_0x474af2){var _0x4bba72=_0x4ef07c;_0x27ebba(this,_0x4bba72(0x3e3),0x0),_0x27ebba(this,_0x4bba72(0x4df),new _0x49c451[(_0x4bba72(0x34d))]()),_0x27ebba(this,_0x4bba72(0x222),this[_0x4bba72(0x4df)]),_0x27ebba(this,_0x4bba72(0x2ad),new Map()),(this['_httpService']=_0x1bff5c,this[_0x4bba72(0x238)]=_0x48f529,this[_0x4bba72(0x25a)]=_0x474af2);}[_0x4ef07c(0x54d)](_0x32b2bf){var _0x2fc27a=_0x4ef07c;this[_0x2fc27a(0x3e3)]=_0x32b2bf,this[_0x2fc27a(0x4df)][_0x2fc27a(0x534)](_0x32b2bf);}[_0x4ef07c(0x256)](_0xfca4b,_0x3e2da2){var _0x5aef43=_0x4ef07c;if(_0x3e2da2===_0x5dfc2e[_0x5aef43(0x200)][_0x5aef43(0x225)]){const _0x523868=new Image();return _0x523868['src']=_0xfca4b,_0x523868;}return this[_0x5aef43(0x2ad)][_0x5aef43(0x47e)](_0xfca4b);}[_0x4ef07c(0x25d)](_0x20b189,_0x1e815b,_0x3ae483){var _0x2817e0=_0x4ef07c;_0x1e815b===_0x5dfc2e[_0x2817e0(0x200)][_0x2817e0(0x225)]||_0x3ae483==null||this[_0x2817e0(0x2ad)][_0x2817e0(0x3bc)](_0x20b189,_0x3ae483);}async['getImage'](_0x1c5866){var _0x3cb0e3=_0x4ef07c;try{const _0x344177=this[_0x3cb0e3(0x4b0)](this['_getSignURL'](),''+_0x1c5866),_0x55d952=(await this[_0x3cb0e3(0x397)][_0x3cb0e3(0x47e)](_0x344177))[_0x3cb0e3(0x1e4)];if(_0x55d952[_0x3cb0e3(0x456)]&&_0x55d952['error'][_0x3cb0e3(0x3ce)]===_0x4c3020['OK']){const _0x340d02=new URL(_0x55d952[_0x3cb0e3(0x549)],this['_getDownloadEndpointURL']())[_0x3cb0e3(0x38d)]();return Promise[_0x3cb0e3(0x335)](_0x340d02);}return Promise[_0x3cb0e3(0x3dd)](_0x55d952[_0x3cb0e3(0x456)]);}catch(_0x5bb32f){return Promise['reject'](_0x5bb32f);}}async[_0x4ef07c(0x469)](_0x2393fe){var _0x4e2819=_0x4ef07c;let _0x15a81a='';if(!_0x2c5f4c[_0x4e2819(0x226)](_0x2393fe[_0x4e2819(0x527)]))return this['_decreaseWaiting'](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e[_0x4e2819(0x452)][_0x4e2819(0x475)]));if(_0x2393fe[_0x4e2819(0x2ae)]>_0x246851)return this[_0x4e2819(0x48f)](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e[_0x4e2819(0x452)][_0x4e2819(0x34f)]));try{const _0xb034a3=new FormData();_0xb034a3[_0x4e2819(0x4fc)]('file',_0x2393fe);const _0x2d0ea2=this[_0x4e2819(0x25a)][_0x4e2819(0x33f)](),_0x53ea8a=_0x2d0ea2==null?void 0x0:_0x2d0ea2[_0x4e2819(0x224)]();if(!_0x53ea8a)throw new Error('unitId\x20is\x20not\x20found');const _0x321329=this[_0x4e2819(0x298)]()+'?size='+_0x2393fe[_0x4e2819(0x2ae)][_0x4e2819(0x38d)]()+'&source='+_0x522cad[_0x4e2819(0x2de)]+_0x4e2819(0x2c6)+encodeURIComponent(_0x53ea8a),_0x4c9228={'body':_0xb034a3},_0x59808b=(await this[_0x4e2819(0x397)][_0x4e2819(0x3ff)](_0x321329,_0x4c9228))['body'];if(typeof _0x59808b[_0x4e2819(0x1f9)]!='string')return this[_0x4e2819(0x48f)](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e[_0x4e2819(0x452)][_0x4e2819(0x503)]));_0x15a81a=_0x59808b[_0x4e2819(0x1f9)];}catch{return this[_0x4e2819(0x48f)](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x531f25,_0x54d832)=>{var _0x287d88=_0x4e2819;const _0x31c4e5=new FileReader();_0x31c4e5[_0x287d88(0x1f6)](_0x2393fe),_0x31c4e5[_0x287d88(0x3a1)]=_0x12400f=>{var _0x1f8dd6=_0x287d88,_0x432a4a;const _0x156e65=(_0x432a4a=_0x12400f['target'])==null?void 0x0:_0x432a4a['result'];if(_0x156e65==null){this[_0x1f8dd6(0x48f)](),_0x54d832(new Error(_0x5dfc2e[_0x1f8dd6(0x452)]['ERROR_IMAGE']));return;}const _0x5aeded=_0x5a87f6['generateRandomId'](0x6);_0x531f25({'imageId':_0x5aeded,'imageSourceType':_0x5dfc2e[_0x1f8dd6(0x200)][_0x1f8dd6(0x513)],'source':_0x15a81a,'base64Cache':_0x156e65,'status':_0x5dfc2e[_0x1f8dd6(0x452)][_0x1f8dd6(0x202)]}),this[_0x1f8dd6(0x48f)]();};});}[_0x4ef07c(0x298)](){var _0x25b263=_0x4ef07c,_0x6f0603;const _0x4babee=this[_0x25b263(0x238)][_0x25b263(0x4e3)](_0x50bbc4);return(_0x6f0603=_0x4babee==null?void 0x0:_0x4babee[_0x25b263(0x4af)])!=null?_0x6f0603:_0x288ea1;}[_0x4ef07c(0x3e2)](){var _0x4040d4=_0x4ef07c,_0x3e99c8;const _0x5e17d8=this['_configService']['getConfig'](_0x50bbc4);return(_0x3e99c8=_0x5e17d8==null?void 0x0:_0x5e17d8[_0x4040d4(0x2df)])!=null?_0x3e99c8:_0x38d368;}[_0x4ef07c(0x439)](){var _0x1e82ab=_0x4ef07c,_0x1661c3;const _0xfa0be1=this[_0x1e82ab(0x238)]['getConfig'](_0x50bbc4);return(_0x1661c3=_0xfa0be1==null?void 0x0:_0xfa0be1[_0x1e82ab(0x401)])!=null?_0x1661c3:location[_0x1e82ab(0x3d9)];}[_0x4ef07c(0x4b0)](_0x3e3844,_0x465fa4){var _0xfa4b8e=_0x4ef07c;return _0x3e3844[_0xfa4b8e(0x508)](_0xfa4b8e(0x326),_0x465fa4);}[_0x4ef07c(0x48f)](){var _0x179bf9=_0x4ef07c;this[_0x179bf9(0x3e3)]-=0x1,this[_0x179bf9(0x4df)][_0x179bf9(0x534)](this['_waitCount']);}},_0x2c717a[_0x4ef07c(0x28f)]=_0x5c1c69([_0x2baa08(0x0,_0x5a87f6['Inject'](_0x3f793f[_0x4ef07c(0x44d)])),_0x2baa08(0x1,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x2baa08(0x2,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x32b)]))],_0x2c717a[_0x4ef07c(0x28f)]);var _0x3aa5be=Object[_0x4ef07c(0x4b2)],_0x85e66a=(_0x154d73,_0x1e6dc4,_0x209f7c,_0x40ccbf)=>{var _0x296ec1=_0x4ef07c;for(var _0x2582af=_0x40ccbf>0x1?void 0x0:_0x40ccbf?_0x3aa5be(_0x1e6dc4,_0x209f7c):_0x1e6dc4,_0x36e190=_0x154d73[_0x296ec1(0x3aa)]-0x1,_0xfab228;_0x36e190>=0x0;_0x36e190--)(_0xfab228=_0x154d73[_0x36e190])&&(_0x2582af=_0xfab228(_0x2582af)||_0x2582af);return _0x2582af;},_0x15c104=(_0x371f70,_0x4a18e4)=>(_0x2a4de0,_0x585f50)=>_0x4a18e4(_0x2a4de0,_0x585f50,_0x371f70);const _0x90f445='/universer-api/authz';_0x2c717a[_0x4ef07c(0x275)]=class{constructor(_0x6f498d,_0x412b9f){this['_configService']=_0x6f498d,this['_HTTPService']=_0x412b9f;}[_0x4ef07c(0x24e)](){var _0x56adda=_0x4ef07c,_0x1d6c9a;const _0x3932eb=this['_configService'][_0x56adda(0x4e3)](_0x50bbc4);return(_0x1d6c9a=_0x3932eb==null?void 0x0:_0x3932eb[_0x56adda(0x476)])!=null?_0x1d6c9a:_0x90f445;}async[_0x4ef07c(0x1ee)](_0x3004b6){var _0x5d53ec=_0x4ef07c;const _0x43302f=this[_0x5d53ec(0x24e)]()+_0x5d53ec(0x34e);return{'list':[{'title':_0x5d53ec(0x231),'mentions':(await this[_0x5d53ec(0x43f)]['get'](_0x43302f,{'params':{'objectID':_0x3004b6[_0x5d53ec(0x3e0)],'unitID':_0x3004b6[_0x5d53ec(0x3e0)]}}))[_0x5d53ec(0x1e4)]['collaborators'][_0x5d53ec(0x277)](_0x48e7b0=>({'objectId':_0x48e7b0['id'],'name':_0x48e7b0['subject'][_0x5d53ec(0x525)],'metadata':{'icon':_0x48e7b0['subject']['avatar']},'label':_0x48e7b0['subject'][_0x5d53ec(0x525)],'objectType':_0x5a87f6['MentionType'][_0x5d53ec(0x4fa)]})),'metadata':{},'type':_0x5a87f6['MentionType'][_0x5d53ec(0x4fa)]}]};}},_0x2c717a[_0x4ef07c(0x275)]=_0x85e66a([_0x15c104(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x4d8)])),_0x15c104(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)]))],_0x2c717a[_0x4ef07c(0x275)]);var _0x170ff8=Object['getOwnPropertyDescriptor'],_0x441c33=(_0x20c0b0,_0x5d9376,_0x2d7e4c,_0x3995b1)=>{var _0x1097e0=_0x4ef07c;for(var _0x269f10=_0x3995b1>0x1?void 0x0:_0x3995b1?_0x170ff8(_0x5d9376,_0x2d7e4c):_0x5d9376,_0x1c3483=_0x20c0b0[_0x1097e0(0x3aa)]-0x1,_0x1853e1;_0x1c3483>=0x0;_0x1c3483--)(_0x1853e1=_0x20c0b0[_0x1c3483])&&(_0x269f10=_0x1853e1(_0x269f10)||_0x269f10);return _0x269f10;},_0x14b8f3=(_0xd5e46,_0x36c56c)=>(_0x1d90f2,_0x2dd1f6)=>_0x36c56c(_0x1d90f2,_0x2dd1f6,_0xd5e46);let _0x1c167c=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x468ae3,_0x62722c,_0x373211,_0x3e2feb,_0x195d0c){var _0x495f23=_0x4ef07c;super(),this['_injector']=_0x468ae3,this['_univerInstanceService']=_0x62722c,this[_0x495f23(0x20e)]=_0x373211,this[_0x495f23(0x532)]=_0x3e2feb,this[_0x495f23(0x333)]=_0x195d0c,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x4ef07c(0x392)](){var _0x3dd440=_0x4ef07c;const _0x5011b5=async _0x2010e3=>{var _0x36ebd8=_0x4d6f;(await this['_collaborationSessionService'][_0x36ebd8(0x2b3)](_0x2010e3))[_0x36ebd8(0x336)][_0x36ebd8(0x50f)](_0xf159a2[_0x36ebd8(0x320)](_0x2b0ea2=>_0x2b0ea2[_0x36ebd8(0x3f7)]===_0x9d3528['CollaborationEvent'][_0x36ebd8(0x351)]),_0xf159a2[_0x36ebd8(0x361)](this['dispose$']))['subscribe'](_0x12c611=>{var _0x5575c6=_0x36ebd8;const _0x277e33=_0x12c611,{reason:_0x189bd3}=_0x277e33[_0x5575c6(0x511)];this['_collaborationUIEventService'][_0x5575c6(0x446)]({'id':_0x28846f[_0x5575c6(0x24d)],'data':_0x189bd3}),this[_0x5575c6(0x20e)][_0x5575c6(0x3ab)](new _0x2dec7c[(_0x5575c6(0x40b))](_0x2010e3)['id'],!0x1),this[_0x5575c6(0x532)][_0x5575c6(0x400)](_0x2010e3);});};_0x49c451['merge'](this['_univerInstanceService'][_0x3dd440(0x2a9)](_0x5a87f6[_0x3dd440(0x47a)][_0x3dd440(0x2be)]),this[_0x3dd440(0x25a)][_0x3dd440(0x2a9)](_0x5a87f6[_0x3dd440(0x47a)]['UNIVER_DOC']))[_0x3dd440(0x50f)](_0xf159a2[_0x3dd440(0x277)](_0x3ce9a0=>_0x3ce9a0[_0x3dd440(0x224)]()),_0xf159a2[_0x3dd440(0x320)](_0x2f5b1a=>!_0x5a87f6[_0x3dd440(0x46e)](_0x2f5b1a)),_0xf159a2[_0x3dd440(0x361)](this[_0x3dd440(0x501)]))['subscribe'](_0x5e8d5c=>{_0x5011b5(_0x5e8d5c);});}[_0x4ef07c(0x278)](){var _0x149169=_0x4ef07c;const _0x4eb9b2=async _0x13d306=>{var _0x2cf5d3=_0x4d6f;const _0xde0292=await this[_0x2cf5d3(0x532)][_0x2cf5d3(0x2b3)](_0x13d306),_0x28c08b=this[_0x2cf5d3(0x3b3)]['get'](_0x2dec7c['SheetPermissionInitController']);_0xde0292[_0x2cf5d3(0x336)][_0x2cf5d3(0x50f)](_0xf159a2['filter'](_0x57ae03=>_0x57ae03[_0x2cf5d3(0x3f7)]===_0x9d3528[_0x2cf5d3(0x328)][_0x2cf5d3(0x492)]),_0xf159a2[_0x2cf5d3(0x361)](this[_0x2cf5d3(0x501)]))[_0x2cf5d3(0x2ce)](_0x51c6fb=>{var _0x3442e9=_0x2cf5d3;const _0x13214f=_0x51c6fb,{objectId:_0xf82f75}=_0x13214f[_0x3442e9(0x511)];_0xf82f75===_0x13d306?_0x28c08b[_0x3442e9(0x32d)](_0x13d306):_0x28c08b[_0x3442e9(0x4b3)](_0x13d306,_0xf82f75);});};_0x49c451[_0x149169(0x294)](this[_0x149169(0x25a)][_0x149169(0x2a9)](_0x5a87f6[_0x149169(0x47a)][_0x149169(0x2be)]))['pipe'](_0xf159a2['map'](_0x36752c=>_0x36752c['getUnitId']()),_0xf159a2['filter'](_0xe9b886=>!_0x5a87f6[_0x149169(0x46e)](_0xe9b886)),_0xf159a2[_0x149169(0x361)](this[_0x149169(0x501)]))[_0x149169(0x2ce)](_0x2e352=>{_0x4eb9b2(_0x2e352);});}};_0x1c167c=_0x441c33([_0x14b8f3(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x14b8f3(0x1,_0x5a87f6[_0x4ef07c(0x32b)]),_0x14b8f3(0x2,_0x5a87f6['IPermissionService']),_0x14b8f3(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a['CollaborationSessionService'])),_0x14b8f3(0x4,_0x5a87f6['Inject'](_0x596edb))],_0x1c167c);var _0x41cc07=Object[_0x4ef07c(0x4b2)],_0x582248=(_0x3c0c99,_0x28c05f,_0x1f9c53,_0x228e4a)=>{for(var _0x514663=_0x228e4a>0x1?void 0x0:_0x228e4a?_0x41cc07(_0x28c05f,_0x1f9c53):_0x28c05f,_0x44d032=_0x3c0c99['length']-0x1,_0x501707;_0x44d032>=0x0;_0x44d032--)(_0x501707=_0x3c0c99[_0x44d032])&&(_0x514663=_0x501707(_0x514663)||_0x514663);return _0x514663;},_0x80ca0c=(_0x146315,_0x54a231)=>(_0x5afaf4,_0x2ac270)=>_0x54a231(_0x5afaf4,_0x2ac270,_0x146315);_0x2c717a[_0x4ef07c(0x219)]=class{constructor(_0x52a386,_0x208a16){var _0x1a2495=_0x4ef07c;this[_0x1a2495(0x238)]=_0x52a386,this[_0x1a2495(0x397)]=_0x208a16;}async['getUnitOnRev'](_0x591994,_0x50d40b){var _0x45cbc7=_0x4ef07c,_0x4bbef8;const {unitID:_0x223dc2,type:_0x2b14c7,revision:_0x419544=0x0}=_0x50d40b,_0x15750e=this[_0x45cbc7(0x3b4)]()+'/'+_0x2b14c7+_0x45cbc7(0x30d)+_0x223dc2+_0x45cbc7(0x28e)+_0x419544,_0x5ccc48=(await this[_0x45cbc7(0x397)][_0x45cbc7(0x47e)](_0x15750e))[_0x45cbc7(0x1e4)],_0x2f2507=(_0x4bbef8=_0x5ccc48['snapshot'])==null?void 0x0:_0x4bbef8[_0x45cbc7(0x3cb)];if(_0x2f2507){const _0xf9d373=_0x2f2507==null?void 0x0:_0x2f2507[_0x45cbc7(0x22e)],_0x5f2598=_0x9d3528[_0x45cbc7(0x443)][_0x45cbc7(0x560)](_0x9d3528[_0x45cbc7(0x4f1)](_0xf9d373));_0x2f2507[_0x45cbc7(0x22e)]=_0x5f2598,Object[_0x45cbc7(0x22d)](_0x2f2507['sheets'])[_0x45cbc7(0x482)](([,_0x595110])=>{var _0x8f7489=_0x45cbc7;const _0x242059=_0x595110[_0x8f7489(0x22e)],_0x1b089d=_0x9d3528[_0x8f7489(0x443)]['encode'](_0x9d3528[_0x8f7489(0x4f1)](_0x242059));_0x595110[_0x8f7489(0x22e)]=_0x1b089d;});}return _0x5ccc48;}async[_0x4ef07c(0x20b)](_0x410c92,_0x529aa4){var _0x5ddf81=_0x4ef07c;const {unitID:_0x8434e0,type:_0x9a776c,blockID:_0x3501fc}=_0x529aa4,_0x28f975=this[_0x5ddf81(0x420)]()+'/'+_0x9a776c+_0x5ddf81(0x30d)+_0x8434e0+_0x5ddf81(0x480)+_0x3501fc;return(await this[_0x5ddf81(0x397)][_0x5ddf81(0x47e)](_0x28f975))[_0x5ddf81(0x1e4)];}async[_0x4ef07c(0x259)](_0x22fc49,_0x289ea2){var _0x16b95f=_0x4ef07c;const {unitID:_0x102f55,type:_0x1961d4,blockID:_0x5a04cf}=_0x289ea2,_0x1096f2=this[_0x16b95f(0x420)]()+_0x16b95f(0x480)+_0x1961d4+'/unit/'+_0x102f55+_0x16b95f(0x480)+_0x5a04cf;return(await this[_0x16b95f(0x397)][_0x16b95f(0x47e)](_0x1096f2))[_0x16b95f(0x1e4)];}async['fetchMissingChangesets'](_0x376b67,_0x2e43b0){var _0xf377fd=_0x4ef07c;const {unitID:_0x4ee453,type:_0xc32422,from:_0x35f274,to:_0xb842ff}=_0x2e43b0,_0x298b28=this[_0xf377fd(0x420)]()+'/'+_0xc32422+_0xf377fd(0x30d)+_0x4ee453+_0xf377fd(0x2fd)+_0x35f274+'&to='+_0xb842ff;return(await this[_0xf377fd(0x397)][_0xf377fd(0x47e)](_0x298b28))[_0xf377fd(0x1e4)];}[_0x4ef07c(0x3b4)](){var _0x3494f2=_0x4ef07c,_0x23db82;return(_0x23db82=this[_0x3494f2(0x238)][_0x3494f2(0x4e3)](_0x7cc834))!=null?_0x23db82:this['_getAPIPrefix']();}[_0x4ef07c(0x420)](){var _0x3d0372=_0x4ef07c,_0x1c6ff1;const _0xf4168c=this[_0x3d0372(0x238)]['getConfig'](_0x50bbc4);return(_0x1c6ff1=_0xf4168c==null?void 0x0:_0xf4168c[_0x3d0372(0x330)])!=null?_0x1c6ff1:_0x3565d7;}async[_0x4ef07c(0x52c)](_0xd39113,_0x3e4e74){var _0x5a2689=_0x4ef07c;const _0x1eabaf=_0x5a2689(0x2ed)+_0x3e4e74[_0x5a2689(0x527)]+_0x5a2689(0x30d)+_0x3e4e74[_0x5a2689(0x3f1)]+'/resources';return(await this['_httpService']['get'](_0x1eabaf,{'params':{'resourceId':JSON['stringify'](_0x3e4e74['resourceIDs'])}}))[_0x5a2689(0x1e4)];}[_0x4ef07c(0x460)](){var _0x48df94=_0x4ef07c;throw new Error(_0x48df94(0x4e1));}[_0x4ef07c(0x33d)](){var _0x361f6c=_0x4ef07c;throw new Error(_0x361f6c(0x4e1));}['saveSheetBlock'](){var _0xd278bc=_0x4ef07c;throw new Error(_0xd278bc(0x4e1));}[_0x4ef07c(0x487)](){var _0x29e20b=_0x4ef07c;throw new Error(_0x29e20b(0x4e1));}[_0x4ef07c(0x3b5)](){var _0x29160f=_0x4ef07c;throw new Error(_0x29160f(0x4e1));}['getLatestCsReqIdBySid'](){var _0xc51f8b=_0x4ef07c;throw new Error(_0xc51f8b(0x4e1));}},_0x2c717a[_0x4ef07c(0x219)]=_0x582248([_0x80ca0c(0x0,_0x5a87f6['IConfigService']),_0x80ca0c(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)]))],_0x2c717a['SnapshotServerOverHTTPService']);var _0x12b5f6=Object[_0x4ef07c(0x4b2)],_0x2eb471=(_0x4f732c,_0x268255,_0x491560,_0x2d12a3)=>{for(var _0x204851=_0x2d12a3>0x1?void 0x0:_0x2d12a3?_0x12b5f6(_0x268255,_0x491560):_0x268255,_0x795349=_0x4f732c['length']-0x1,_0x5e414c;_0x795349>=0x0;_0x795349--)(_0x5e414c=_0x4f732c[_0x795349])&&(_0x204851=_0x5e414c(_0x204851)||_0x204851);return _0x204851;},_0x25982e=(_0x293230,_0x5a85b9)=>(_0x5531d0,_0x9fe1f1)=>_0x5a85b9(_0x5531d0,_0x9fe1f1,_0x293230);_0x2c717a['CollaborativeUndoRedoService']=class extends _0x5a87f6['LocalUndoRedoService']{constructor(_0x1d6015,_0x541f8a,_0x2bbc97,_0xb46b9a,_0x58b6e7){var _0x1c33b1=_0x4ef07c;super(_0x1d6015,_0x541f8a,_0x2bbc97),this[_0x1c33b1(0x4d6)]=_0xb46b9a,this['_logService']=_0x58b6e7;}[_0x4ef07c(0x4e4)](_0x4fa5e9,_0x445e34){var _0x2822c1=_0x4ef07c;const _0x403360=this[_0x2822c1(0x504)](_0x4fa5e9);if(_0x403360)try{const _0x17dbc6=this[_0x2822c1(0x3f3)](_0x403360,_0x445e34);this[_0x2822c1(0x425)](_0x4fa5e9,_0x17dbc6);}catch(_0x5824d5){this[_0x2822c1(0x1df)][_0x2822c1(0x456)](_0x2822c1(0x283),_0x5824d5),this[_0x2822c1(0x1ea)](_0x4fa5e9);}const _0x17292d=this[_0x2822c1(0x28a)](_0x4fa5e9);if(_0x17292d)try{const _0x35f76b=this[_0x2822c1(0x3f3)](_0x17292d,_0x445e34);this[_0x2822c1(0x357)](_0x4fa5e9,_0x35f76b);}catch(_0x50ac74){this[_0x2822c1(0x1df)][_0x2822c1(0x456)](_0x50ac74),this[_0x2822c1(0x377)](_0x4fa5e9);}}[_0x4ef07c(0x1ea)](_0x30b751){var _0x2512cc=_0x4ef07c;const _0x15a7ad=this[_0x2512cc(0x504)](_0x30b751);_0x15a7ad&&(_0x15a7ad[_0x2512cc(0x3aa)]=0x0,this[_0x2512cc(0x3d1)]());}[_0x4ef07c(0x377)](_0x3c07d3){var _0x110b09=_0x4ef07c;const _0x409a6d=this[_0x110b09(0x28a)](_0x3c07d3);_0x409a6d&&(_0x409a6d[_0x110b09(0x3aa)]=0x0,this[_0x110b09(0x3d1)]());}[_0x4ef07c(0x425)](_0x32d88a,_0x49ec07){var _0x245a45=_0x4ef07c;this[_0x245a45(0x471)][_0x245a45(0x3bc)](_0x32d88a,_0x49ec07),this[_0x245a45(0x3d1)]();}[_0x4ef07c(0x357)](_0x483a31,_0x5af07c){var _0x39191d=_0x4ef07c;this['_redoStacks'][_0x39191d(0x3bc)](_0x483a31,_0x5af07c),this[_0x39191d(0x3d1)]();}[_0x4ef07c(0x3f3)](_0xda1c14,_0x14933d){var _0xbccd27=_0x4ef07c;const _0x1bfd5e=[];let _0xa22f01=_0x14933d,_0x5d36d7=_0x14933d;for(let _0x5f514a=_0xda1c14[_0xbccd27(0x3aa)]-0x1;_0x5f514a>=0x0;_0x5f514a--){const {unitID:_0x3d72a7,undoMutations:_0x155cdc,redoMutations:_0x4e0a06}=_0xda1c14[_0x5f514a],_0x1d842c=this[_0xbccd27(0x4d6)][_0xbccd27(0x4cd)](_0xa22f01,_0x155cdc),_0x266a20=this[_0xbccd27(0x4d6)][_0xbccd27(0x4cd)](_0x5d36d7,_0x4e0a06);if(_0x9d3528[_0xbccd27(0x548)](_0x1d842c)||_0x9d3528[_0xbccd27(0x548)](_0x266a20)){this[_0xbccd27(0x1df)][_0xbccd27(0x456)](_0xbccd27(0x283),_0xbccd27(0x3e5),_0x1d842c,_0x266a20);break;}_0xa22f01=_0x1d842c['c1Prime'],_0x5d36d7=_0x266a20[_0xbccd27(0x4bf)],_0x1bfd5e[_0xbccd27(0x306)]({'unitID':_0x3d72a7,'undoMutations':_0x1d842c[_0xbccd27(0x2d8)],'redoMutations':_0x266a20['m2Prime']});}return _0x1bfd5e[_0xbccd27(0x2e5)]();}},_0x2c717a[_0x4ef07c(0x33b)]=_0x2eb471([_0x25982e(0x0,_0x5a87f6['IUniverInstanceService']),_0x25982e(0x1,_0x5a87f6['ICommandService']),_0x25982e(0x2,_0x5a87f6['IContextService']),_0x25982e(0x3,_0x9d3528[_0x4ef07c(0x2b6)]),_0x25982e(0x4,_0x5a87f6[_0x4ef07c(0x546)])],_0x2c717a[_0x4ef07c(0x33b)]);var _0x5acacd=Object[_0x4ef07c(0x395)],_0x44bc04=Object[_0x4ef07c(0x4b2)],_0x25c517=(_0x78635,_0x396b6b,_0x35e3ae)=>_0x396b6b in _0x78635?_0x5acacd(_0x78635,_0x396b6b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35e3ae}):_0x78635[_0x396b6b]=_0x35e3ae,_0x17401d=(_0x11d2c8,_0x3c3a71,_0x5b7a09,_0x3abbf1)=>{var _0x49aebb=_0x4ef07c;for(var _0x5f4698=_0x3abbf1>0x1?void 0x0:_0x3abbf1?_0x44bc04(_0x3c3a71,_0x5b7a09):_0x3c3a71,_0x11eca8=_0x11d2c8[_0x49aebb(0x3aa)]-0x1,_0x3380be;_0x11eca8>=0x0;_0x11eca8--)(_0x3380be=_0x11d2c8[_0x11eca8])&&(_0x5f4698=_0x3380be(_0x5f4698)||_0x5f4698);return _0x5f4698;},_0x571dc1=(_0x4b9637,_0x21df57)=>(_0x1aef8c,_0xa6ba26)=>_0x21df57(_0x1aef8c,_0xa6ba26,_0x4b9637),_0x3c69d1=(_0x3abc51,_0x476d20,_0x5b631f)=>_0x25c517(_0x3abc51,_0x476d20+'',_0x5b631f);const _0x5e1f74=_0x4ef07c(0x1f7);_0x2c717a[_0x4ef07c(0x517)]=class extends _0x5a87f6['Plugin']{constructor(_0x103d2d,_0x5d9b30,_0x1e6103,_0x375889){var _0x3e5451=_0x4ef07c;super(),_0x27ebba(this,'_config'),(this[_0x3e5451(0x1df)]=_0x5d9b30,this[_0x3e5451(0x3b3)]=_0x1e6103,this[_0x3e5451(0x238)]=_0x375889);const {..._0x5cd8b2}=_0x5a87f6['merge']({},_0x5a3a37,_0x103d2d);if(!_0x5cd8b2['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x5cd8b2,this[_0x3e5451(0x238)]['setConfig'](_0x50bbc4,_0x5cd8b2);}['onStarting'](){var _0x4b6f12=_0x4ef07c;this[_0x4b6f12(0x412)](),this[_0x4b6f12(0x4f0)]();}[_0x4ef07c(0x412)](){var _0x55c51a=_0x4ef07c,_0x2c4809,_0x50f850;this['_injector'][_0x55c51a(0x4da)](_0x5a87f6[_0x55c51a(0x3d2)])&&this[_0x55c51a(0x1df)][_0x55c51a(0x456)](_0x55c51a(0x3ec),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x29a183=_0x5a87f6['mergeOverrideWithDependencies']([[_0x5a87f6['IUndoRedoService'],{'useClass':_0x2c717a[_0x55c51a(0x33b)]}],[_0x2c717a[_0x55c51a(0x53f)]],[_0x2c717a['MemberService']],[_0x2c717a['SheetTransformSelectionsService']],[_0x4d2a45],[_0x1cddb0],[_0x46eb06],[_0x1c167c],[_0x596edb],[_0x2c717a[_0x55c51a(0x562)]],[_0x2ab6d6,{'useClass':this[_0x55c51a(0x405)][_0x55c51a(0x37e)]}],[_0x9d3528[_0x55c51a(0x542)],{'useClass':_0x2c717a[_0x55c51a(0x219)]}],[_0x5a87f6[_0x55c51a(0x4b7)],{'useClass':_0x2c717a['AuthzIoHttpService']}],[_0x5dfc2e['IImageIoService'],{'useClass':_0x2c717a[_0x55c51a(0x28f)]}],[_0x5a87f6['IMentionIOService'],{'useClass':_0x2c717a[_0x55c51a(0x275)]}],[_0x2c717a[_0x55c51a(0x220)]],[_0x401217]],(_0x2c4809=this['_config'])==null?void 0x0:_0x2c4809['override']);if(!((_0x50f850=this['_config'])!=null&&_0x50f850[_0x55c51a(0x1d2)])){const _0x592288=_0x29a183[_0x55c51a(0x35c)](([_0x703d77])=>_0x703d77===_0x53cb33);_0x592288!==-0x1&&_0x29a183['splice'](_0x592288,0x1);}_0x5a87f6['registerDependencies'](this[_0x55c51a(0x3b3)],_0x29a183);}[_0x4ef07c(0x4f0)](){var _0x5f2a11=_0x4ef07c,_0x31ebdf,_0x4d1bec,_0x11eb4e;this[_0x5f2a11(0x3b3)][_0x5f2a11(0x47e)](_0x3f793f[_0x5f2a11(0x44d)])[_0x5f2a11(0x55f)]({'priority':0x14,'interceptor':_0x3f793f['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x31ebdf=this[_0x5f2a11(0x405)])!=null&&_0x31ebdf[_0x5f2a11(0x2c7)]||(_0x4d1bec=this[_0x5f2a11(0x3b3)][_0x5f2a11(0x47e)](_0x11ccb1,_0x5a87f6[_0x5f2a11(0x49c)][_0x5f2a11(0x485)]))==null||_0x4d1bec[_0x5f2a11(0x3d6)](),(_0x11eb4e=this['_config'])!=null&&_0x11eb4e[_0x5f2a11(0x541)]&&_0x5a87f6['touchDependencies'](this[_0x5f2a11(0x3b3)],[[_0x4d2a45]]),_0x5a87f6[_0x5f2a11(0x3c7)](this[_0x5f2a11(0x3b3)],[[_0x1cddb0],[_0x2c717a[_0x5f2a11(0x220)]],[_0x1c167c]]);}},_0x3c69d1(_0x2c717a[_0x4ef07c(0x517)],'pluginName',_0x5e1f74),_0x2c717a[_0x4ef07c(0x517)]=_0x17401d([_0x5a87f6['DependentOn'](_0x9d3528['UniverCollaborationPlugin'],_0x3f793f[_0x4ef07c(0x246)]),_0x571dc1(0x1,_0x5a87f6['ILogService']),_0x571dc1(0x2,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6['Injector'])),_0x571dc1(0x3,_0x5a87f6[_0x4ef07c(0x4d8)])],_0x2c717a[_0x4ef07c(0x517)]),_0x2c717a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x50bbc4,_0x2c717a[_0x4ef07c(0x38f)]=_0x12c0ef,_0x2c717a[_0x4ef07c(0x418)]=_0x28846f,_0x2c717a[_0x4ef07c(0x23c)]=_0x596edb,_0x2c717a['CommentService']=_0x46eb06,_0x2c717a[_0x4ef07c(0x23f)]=_0x3de4fd,_0x2c717a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x33b475,_0x2c717a['DEFAULT_WS_SESSION_TICKET_URL']=_0x2e1070,_0x2c717a[_0x4ef07c(0x207)]=_0xe56939,_0x2c717a[_0x4ef07c(0x221)]=_0x2c4727,_0x2c717a[_0x4ef07c(0x383)]=_0x2ab6d6,_0x2c717a[_0x4ef07c(0x53e)]=_0x11ccb1,_0x2c717a[_0x4ef07c(0x1e1)]=_0x369ad3,_0x2c717a[_0x4ef07c(0x317)]=_0x53cb33,_0x2c717a['LOCAL_CACHE_INTERVAL']=0x3e8,_0x2c717a[_0x4ef07c(0x334)]=_0x1dd524,_0x2c717a[_0x4ef07c(0x4e9)]=_0x5d93ab,_0x2c717a[_0x4ef07c(0x40c)]=_0x426cb4,_0x2c717a[_0x4ef07c(0x4ea)]=_0x14cf5c,_0x2c717a['UnitStatus']=_0x11b621,_0x2c717a[_0x4ef07c(0x509)]=_0x3e784f,_0x2c717a['getLocalCacheKey']=_0x11afa6,_0x2c717a[_0x4ef07c(0x22f)]=_0xd1ca62,Object[_0x4ef07c(0x395)](_0x2c717a,Symbol['toStringTag'],{'value':'Module'});}));
2
+ (function(_0xf1a215,_0x41a0ae){var _0x154b13=_0x29a5,_0x47798a=_0xf1a215();while(!![]){try{var _0x3c14b5=-parseInt(_0x154b13(0x106))/0x1*(parseInt(_0x154b13(0xd3))/0x2)+-parseInt(_0x154b13(0x384))/0x3+parseInt(_0x154b13(0x134))/0x4+parseInt(_0x154b13(0x14e))/0x5+parseInt(_0x154b13(0x202))/0x6*(-parseInt(_0x154b13(0x2d1))/0x7)+-parseInt(_0x154b13(0x193))/0x8*(-parseInt(_0x154b13(0x3a2))/0x9)+-parseInt(_0x154b13(0x38f))/0xa;if(_0x3c14b5===_0x41a0ae)break;else _0x47798a['push'](_0x47798a['shift']());}catch(_0x2ba418){_0x47798a['push'](_0x47798a['shift']());}}}(_0x2d69,0xdfc97),function(_0x1339fd,_0x5909f4){var _0x83ad49=_0x29a5;typeof exports==_0x83ad49(0x486)&&typeof module<'u'?_0x5909f4(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x83ad49(0x44f)&&define[_0x83ad49(0x210)]?define([_0x83ad49(0x483),_0x83ad49(0x268),'@univerjs/core',_0x83ad49(0x38d),'@univerjs/sheets','rxjs','@univerjs/telemetry',_0x83ad49(0xfd),_0x83ad49(0xe2),_0x83ad49(0x346),_0x83ad49(0x26d)],_0x5909f4):(_0x1339fd=typeof globalThis<'u'?globalThis:_0x1339fd||self,_0x5909f4(_0x1339fd[_0x83ad49(0x1e9)]={},_0x1339fd[_0x83ad49(0x2eb)],_0x1339fd['UniverCore'],_0x1339fd[_0x83ad49(0x1fe)],_0x1339fd[_0x83ad49(0x3df)],_0x1339fd[_0x83ad49(0x1ab)],_0x1339fd[_0x83ad49(0x376)],_0x1339fd['rxjs'][_0x83ad49(0x1f9)],_0x1339fd[_0x83ad49(0x18d)],_0x1339fd[_0x83ad49(0x21d)],_0x1339fd['UniverProLicense']));}(this,function(_0x1a0555,_0x319b76,_0x5c9291,_0x124cb1,_0x22532b,_0x41392c,_0x449f45,_0x3ecfb0,_0x381bb4,_0x377a64,_0x13677f){'use strict';var _0x3125cd=_0x29a5;var _0x180de9=Object[_0x3125cd(0x16d)],_0x252bf6=(_0x3c53af,_0x9060ef,_0x524023)=>_0x9060ef in _0x3c53af?_0x180de9(_0x3c53af,_0x9060ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x524023}):_0x3c53af[_0x9060ef]=_0x524023,_0x27328e=(_0x539d81,_0x481f7,_0x54bd9a)=>_0x252bf6(_0x539d81,typeof _0x481f7!=_0x3125cd(0x423)?_0x481f7+'':_0x481f7,_0x54bd9a);const _0x2c00fc=_0x3125cd(0x28e),_0x328092='SNAPSHOT_URL_KEY',_0x5e9de5=_0x3125cd(0x2d2),_0x11c487=_0x3125cd(0x122),_0x551f79=_0x3125cd(0x411),_0x493c73='HEARTBEAT_TIMEOUT',_0x45c332=_0x3125cd(0x220),_0x4e1d34=_0x3125cd(0x401),_0x504654=_0x3125cd(0x3cd),_0x4be0c7=_0x3125cd(0x383),_0x192fb9=_0x3125cd(0x1e3),_0x10878f=_0x3125cd(0x364);var _0x720ba3=(_0x370aac=>(_0x370aac[_0x370aac[_0x3125cd(0x129)]=0x0]=_0x3125cd(0x129),_0x370aac[_0x370aac['OK']=0x1]='OK',_0x370aac[_0x370aac[_0x3125cd(0x2e1)]=0x2]=_0x3125cd(0x2e1),_0x370aac[_0x370aac['PERMISSION_DENIED']=0x3]=_0x3125cd(0x2e4),_0x370aac[_0x370aac[_0x3125cd(0x2ba)]=0x4]='NOT_FOUND',_0x370aac[_0x370aac[_0x3125cd(0x2a2)]=0x5]=_0x3125cd(0x2a2),_0x370aac[_0x370aac[_0x3125cd(0x1c9)]=0x6]=_0x3125cd(0x1c9),_0x370aac[_0x370aac[_0x3125cd(0x298)]=0x7]=_0x3125cd(0x298),_0x370aac[_0x370aac[_0x3125cd(0xf4)]=0x8]=_0x3125cd(0xf4),_0x370aac[_0x370aac[_0x3125cd(0x429)]=0x9]=_0x3125cd(0x429),_0x370aac[_0x370aac[_0x3125cd(0x455)]=0xa]=_0x3125cd(0x455),_0x370aac[_0x370aac[_0x3125cd(0x14f)]=0xb]=_0x3125cd(0x14f),_0x370aac[_0x370aac['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3125cd(0x1c7),_0x370aac[_0x370aac['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3125cd(0x30b),_0x370aac[_0x370aac[_0x3125cd(0x349)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x370aac[_0x370aac[_0x3125cd(0x31c)]=0xf]=_0x3125cd(0x31c),_0x370aac[_0x370aac[_0x3125cd(0x152)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x370aac[_0x370aac[_0x3125cd(0x172)]=0x64]=_0x3125cd(0x172),_0x370aac[_0x370aac[_0x3125cd(0x124)]=0x65]=_0x3125cd(0x124),_0x370aac[_0x370aac[_0x3125cd(0x24c)]=0xc9]='USER_NOT_FOUND',_0x370aac[_0x370aac['USER_IS_ANONYMOUS']=0xca]=_0x3125cd(0x334),_0x370aac[_0x370aac[_0x3125cd(0x47d)]=0x1389]=_0x3125cd(0x47d),_0x370aac[_0x370aac[_0x3125cd(0x14b)]=0x1771]=_0x3125cd(0x14b),_0x370aac[_0x370aac[_0x3125cd(0x3a5)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x370aac[_0x370aac[_0x3125cd(0x1d3)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x370aac[_0x370aac['APPLY_REJECT']=0x1b59]=_0x3125cd(0x1f0),_0x370aac[_0x370aac[_0x3125cd(0x240)]=0x1b5a]=_0x3125cd(0x240),_0x370aac[_0x370aac[_0x3125cd(0xf1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x370aac[_0x370aac[_0x3125cd(0xe3)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x370aac[_0x370aac[_0x3125cd(0x315)]=0x1b5d]='APPLY_DUPLICATED',_0x370aac[_0x370aac[_0x3125cd(0x1a9)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x370aac[_0x370aac[_0x3125cd(0x312)]=0x2329]=_0x3125cd(0x312),_0x370aac[_0x370aac[_0x3125cd(0x46d)]=0x232a]=_0x3125cd(0x46d),_0x370aac[_0x370aac[_0x3125cd(0x347)]=0x232b]=_0x3125cd(0x347),_0x370aac[_0x370aac[_0x3125cd(0x3e3)]=0x232c]=_0x3125cd(0x3e3),_0x370aac[_0x370aac['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x370aac[_0x370aac['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x370aac[_0x370aac[_0x3125cd(0x3ff)]=0x2712]=_0x3125cd(0x3ff),_0x370aac[_0x370aac['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3125cd(0x254),_0x370aac[_0x370aac[_0x3125cd(0x307)]=0x2714]=_0x3125cd(0x307),_0x370aac[_0x370aac[_0x3125cd(0x310)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x370aac[_0x370aac['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3125cd(0x16b),_0x370aac[_0x370aac[_0x3125cd(0x282)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x370aac[_0x370aac[_0x3125cd(0x1c0)]=0x271d]=_0x3125cd(0x1c0),_0x370aac[_0x370aac['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3125cd(0x454),_0x370aac[_0x370aac['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3125cd(0x385),_0x370aac[_0x370aac[_0x3125cd(0xe1)]=0x2720]=_0x3125cd(0xe1),_0x370aac[_0x370aac[_0x3125cd(0x35a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x370aac[_0x370aac['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3125cd(0x10c),_0x370aac[_0x370aac[_0x3125cd(0x27e)]=0x2ee2]='INVALID_INVITE_CODE',_0x370aac[_0x370aac['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3125cd(0x272),_0x370aac[_0x370aac[_0x3125cd(0x1c3)]=0x2ee4]=_0x3125cd(0x1c3),_0x370aac[_0x370aac['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3125cd(0x1ae),_0x370aac[_0x370aac[_0x3125cd(0x2d3)]=0x32c9]=_0x3125cd(0x2d3),_0x370aac[_0x370aac[_0x3125cd(0x157)]=0x32ca]=_0x3125cd(0x157),_0x370aac[_0x370aac[_0x3125cd(0x24a)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x370aac[_0x370aac[_0x3125cd(0x3e2)]=0x36b1]=_0x3125cd(0x3e2),_0x370aac[_0x370aac[_0x3125cd(0x3b7)]=0x36b2]=_0x3125cd(0x3b7),_0x370aac[_0x370aac['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x370aac[_0x370aac[_0x3125cd(0x2dc)]=0x36b4]=_0x3125cd(0x2dc),_0x370aac[_0x370aac['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x3125cd(0x27b),_0x370aac[_0x370aac[_0x3125cd(0x33c)]=0x36b6]=_0x3125cd(0x33c),_0x370aac[_0x370aac[_0x3125cd(0x463)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x370aac[_0x370aac[_0x3125cd(0x424)]=0x36b8]=_0x3125cd(0x424),_0x370aac[_0x370aac['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x370aac[_0x370aac['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x3125cd(0x1cf),_0x370aac[_0x370aac['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x3125cd(0x30e),_0x370aac[_0x370aac['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x3125cd(0x24e),_0x370aac[_0x370aac[_0x3125cd(0x259)]=0x3a99]=_0x3125cd(0x259),_0x370aac[_0x370aac['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3125cd(0x421),_0x370aac[_0x370aac[_0x3125cd(0x1a7)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x370aac[_0x370aac[_0x3125cd(0x3f6)]=0x3a9c]=_0x3125cd(0x3f6),_0x370aac[_0x370aac[_0x3125cd(0x2c0)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x370aac[_0x370aac['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x370aac[_0x370aac[_0x3125cd(0x417)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x370aac[_0x370aac[_0x3125cd(0x336)]=0x3e81]=_0x3125cd(0x336),_0x370aac[_0x370aac[_0x3125cd(0x17b)]=-0x1]=_0x3125cd(0x17b),_0x370aac))(_0x720ba3||{}),_0x5c7530=(_0x525a63=>(_0x525a63[_0x525a63[_0x3125cd(0x3ea)]=0x0]='UNIVER_UNKNOWN',_0x525a63[_0x525a63[_0x3125cd(0x484)]=0x1]=_0x3125cd(0x484),_0x525a63[_0x525a63[_0x3125cd(0x350)]=0x2]=_0x3125cd(0x350),_0x525a63[_0x525a63[_0x3125cd(0x33f)]=0x3]=_0x3125cd(0x33f),_0x525a63[_0x525a63[_0x3125cd(0x32e)]=0x4]=_0x3125cd(0x32e),_0x525a63[_0x525a63[_0x3125cd(0x17b)]=-0x1]='UNRECOGNIZED',_0x525a63))(_0x5c7530||{}),_0x16f444=(_0x4565db=>(_0x4565db[_0x4565db[_0x3125cd(0x23e)]=0x0]='UNKNOWN_CMD',_0x4565db[_0x4565db[_0x3125cd(0x1ef)]=0x1]=_0x3125cd(0x1ef),_0x4565db[_0x4565db[_0x3125cd(0x462)]=0x2]=_0x3125cd(0x462),_0x4565db[_0x4565db[_0x3125cd(0x435)]=0x3]='LEAVE',_0x4565db[_0x4565db['INGEST']=0x4]=_0x3125cd(0x1e6),_0x4565db[_0x4565db[_0x3125cd(0x30f)]=0x5]=_0x3125cd(0x30f),_0x4565db[_0x4565db[_0x3125cd(0x392)]=0x6]=_0x3125cd(0x392),_0x4565db[_0x4565db[_0x3125cd(0x17b)]=-0x1]='UNRECOGNIZED',_0x4565db))(_0x16f444||{}),_0xbe2cfc=(_0x381337=>(_0x381337[_0x381337['UNKNOWN_CODE']=0x0]=_0x3125cd(0x38b),_0x381337[_0x381337['OK']=0x1]='OK',_0x381337[_0x381337['FAIL']=0x2]=_0x3125cd(0x3de),_0x381337[_0x381337[_0x3125cd(0xde)]=0x3e9]=_0x3125cd(0xde),_0x381337[_0x381337[_0x3125cd(0x10e)]=0x3ea]=_0x3125cd(0x10e),_0x381337[_0x381337[_0x3125cd(0x283)]=0x3eb]=_0x3125cd(0x283),_0x381337[_0x381337[_0x3125cd(0x166)]=0x3ec]=_0x3125cd(0x166),_0x381337[_0x381337[_0x3125cd(0x17b)]=-0x1]=_0x3125cd(0x17b),_0x381337))(_0xbe2cfc||{}),_0xe15aa3=(_0x378bb3=>(_0x378bb3[_0x378bb3[_0x3125cd(0x43f)]=0x0]=_0x3125cd(0x43f),_0x378bb3[_0x378bb3[_0x3125cd(0x3b9)]=0x1]=_0x3125cd(0x3b9),_0x378bb3[_0x378bb3[_0x3125cd(0x1f5)]=0x2]=_0x3125cd(0x1f5),_0x378bb3[_0x378bb3[_0x3125cd(0x27c)]=0x3]=_0x3125cd(0x27c),_0x378bb3[_0x378bb3[_0x3125cd(0x1ce)]=0x4]=_0x3125cd(0x1ce),_0x378bb3[_0x378bb3[_0x3125cd(0x344)]=0x5]=_0x3125cd(0x344),_0x378bb3[_0x378bb3['ClipsheetFragments']=0x6]=_0x3125cd(0x34c),_0x378bb3[_0x378bb3[_0x3125cd(0x17b)]=-0x1]=_0x3125cd(0x17b),_0x378bb3))(_0xe15aa3||{});const _0x40ec43=_0x3125cd(0x1ac);function _0x3ee79e(_0x562941){var _0x1e6dd5=_0x3125cd;return JSON[_0x1e6dd5(0x1b5)](_0x562941)[_0x1e6dd5(0x367)];}var _0x19b9e8=(_0x46bba7=>(_0x46bba7['OTHER_CLIENT_EDITING']=_0x3125cd(0x40a),_0x46bba7[_0x3125cd(0x2e4)]=_0x3125cd(0x2e4),_0x46bba7['CONFLICT']=_0x3125cd(0x19a),_0x46bba7[_0x3125cd(0xd8)]=_0x3125cd(0xd8),_0x46bba7[_0x3125cd(0x3e5)]='JOIN_ROOM_FAILED',_0x46bba7['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x46bba7[_0x3125cd(0x183)]='SOCKET_FAILED',_0x46bba7['SUBMIT_CHANGESET_TIMEOUT']=_0x3125cd(0xe8),_0x46bba7))(_0x19b9e8||{});class _0x5cf853{constructor(){var _0x17eeb0=_0x3125cd;_0x27328e(this,_0x17eeb0(0x279),new _0x41392c[(_0x17eeb0(0x225))]()),_0x27328e(this,_0x17eeb0(0x296),this['_event$'][_0x17eeb0(0x241)]());}[_0x3125cd(0x179)](_0x68b7df){var _0x41cb0a=_0x3125cd;this[_0x41cb0a(0x279)]['next'](_0x68b7df);}}class _0x60caf4{constructor(){var _0x305010=_0x3125cd;_0x27328e(this,_0x305010(0x242),new _0x41392c['Subject']()),_0x27328e(this,_0x305010(0x234),this[_0x305010(0x242)]['asObservable']());}[_0x3125cd(0x2dd)](_0x55d9cc){var _0x2fd3f6=_0x3125cd;this[_0x2fd3f6(0x242)][_0x2fd3f6(0x1b9)](_0x55d9cc);}}var _0x141746=Object['getOwnPropertyDescriptor'],_0x5f2bed=(_0x32a521,_0x598599,_0x14cf49,_0x2abbb5)=>{var _0x37c7c0=_0x3125cd;for(var _0x37f259=_0x2abbb5>0x1?void 0x0:_0x2abbb5?_0x141746(_0x598599,_0x14cf49):_0x598599,_0x288c33=_0x32a521[_0x37c7c0(0x367)]-0x1,_0x20061c;_0x288c33>=0x0;_0x288c33--)(_0x20061c=_0x32a521[_0x288c33])&&(_0x37f259=_0x20061c(_0x37f259)||_0x37f259);return _0x37f259;},_0x49e7f6=(_0x36ca33,_0x3e5274)=>(_0x43c024,_0x196dfa)=>_0x3e5274(_0x43c024,_0x196dfa,_0x36ca33);_0x1a0555[_0x3125cd(0x469)]=class extends _0x5c9291[_0x3125cd(0x402)]{constructor(_0x1dbee1,_0x1e7b7c){var _0x1e1aae=_0x3125cd;super(),_0x27328e(this,_0x1e1aae(0x188),new Map()),_0x27328e(this,_0x1e1aae(0x3bd),new _0x41392c[(_0x1e1aae(0x225))]()),(this[_0x1e1aae(0x471)]=_0x1dbee1,this['_userManagerService']=_0x1e7b7c,this['disposeWithMe'](_0x41392c['merge'](this['_univerInstanceService'][_0x1e1aae(0x1ec)](_0x5c9291[_0x1e1aae(0x29b)][_0x1e1aae(0x350)])[_0x1e1aae(0x34f)](_0x3ecfb0[_0x1e1aae(0x434)](_0xcb8c08=>_0xcb8c08[_0x1e1aae(0x388)]())),this[_0x1e1aae(0x471)][_0x1e1aae(0x1ec)](_0x5c9291[_0x1e1aae(0x29b)][_0x1e1aae(0x484)])[_0x1e1aae(0x34f)](_0x3ecfb0['map'](_0x18131a=>_0x18131a[_0x1e1aae(0x388)]())),this[_0x1e1aae(0x471)][_0x1e1aae(0x1ec)](_0x5c9291['UniverInstanceType'][_0x1e1aae(0x33f)])[_0x1e1aae(0x34f)](_0x3ecfb0['map'](_0x295de6=>_0x295de6[_0x1e1aae(0x388)]())))[_0x1e1aae(0x399)](_0x592147=>this[_0x1e1aae(0x291)](_0x592147))));}[_0x3125cd(0x428)](_0x160dd2){var _0x7832a0=_0x3125cd;return this[_0x7832a0(0x188)]['has'](_0x160dd2)?_0x41392c['of'](this['_roomMembers'][_0x7832a0(0x108)](_0x160dd2)):this[_0x7832a0(0x3bd)][_0x7832a0(0x34f)](_0x3ecfb0[_0x7832a0(0x434)](_0x117b82=>{var _0x4b12e7=_0x7832a0;if(_0x117b82===_0x160dd2)return this['_roomMembers'][_0x4b12e7(0x108)](_0x117b82);}));}[_0x3125cd(0x2df)](_0x4d6b4b){var _0x4b2232=_0x3125cd;this[_0x4b2232(0x353)][_0x4b2232(0x2df)](_0x4d6b4b);}[_0x3125cd(0x410)](){var _0xf2adb8=_0x3125cd;return this[_0xf2adb8(0x353)]['getCurrentUser']();}[_0x3125cd(0x3f8)](_0x46f16a,_0x326594){var _0x431ebc=_0x3125cd;let _0x58a4a7=this['_roomMembers'][_0x431ebc(0x108)](_0x46f16a);_0x58a4a7||(_0x58a4a7=new _0x23d744(),this['_roomMembers'][_0x431ebc(0x300)](_0x46f16a,_0x58a4a7),this['_roomCreated$'][_0x431ebc(0x1b9)](_0x46f16a)),_0x58a4a7['updateMember'](_0x326594);}[_0x3125cd(0x1b6)](_0xe7e5d1,_0x396df7){var _0x4e6517=_0x3125cd;const _0x554cb4=this['_roomMembers'][_0x4e6517(0x108)](_0xe7e5d1);_0x554cb4&&_0x554cb4[_0x4e6517(0x1b6)](_0x396df7);}[_0x3125cd(0x369)](_0x4e05b0){var _0x38d55d=_0x3125cd;return this[_0x38d55d(0x188)]['get'](_0x4e05b0);}[_0x3125cd(0x420)](_0x1014ef,_0x2b66b5){var _0x1c9e39=_0x3125cd;const _0x5e44f4=this['_roomMembers']['get'](_0x1014ef);if(_0x5e44f4)return _0x5e44f4[_0x1c9e39(0x420)](_0x2b66b5);}[_0x3125cd(0x291)](_0x2b16fa){var _0x423dee=_0x3125cd;const _0x31061f=this['_roomMembers']['get'](_0x2b16fa);_0x31061f&&(_0x31061f[_0x423dee(0x456)](),this[_0x423dee(0x188)]['delete'](_0x2b16fa));}[_0x3125cd(0x456)](){var _0x2ca40c=_0x3125cd;this[_0x2ca40c(0x188)][_0x2ca40c(0x322)](_0x3f8c09=>_0x3f8c09['dispose']()),this['_roomMembers'][_0x2ca40c(0x3c4)](),this[_0x2ca40c(0x3bd)]['complete']();}},_0x1a0555[_0x3125cd(0x469)]=_0x5f2bed([_0x49e7f6(0x0,_0x5c9291['IUniverInstanceService']),_0x49e7f6(0x1,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0x1b8)]))],_0x1a0555[_0x3125cd(0x469)]);class _0x23d744 extends _0x5c9291[_0x3125cd(0x402)]{constructor(){var _0x25aef4=_0x3125cd;super(...arguments),_0x27328e(this,_0x25aef4(0x480),new Map()),_0x27328e(this,_0x25aef4(0x381),new _0x41392c[(_0x25aef4(0x35c))](this['_members'])),_0x27328e(this,_0x25aef4(0x1a6),this['_members$']['asObservable']());}[_0x3125cd(0x456)](){var _0x2764d8=_0x3125cd;this[_0x2764d8(0x480)]['clear']();}[_0x3125cd(0x3f8)](_0x2daced){var _0x324ac0=_0x3125cd;this[_0x324ac0(0x480)][_0x324ac0(0x300)](_0x2daced[_0x324ac0(0x2be)],_0x2daced),this[_0x324ac0(0x3db)]();}[_0x3125cd(0x1b6)](_0x338383){this['_members']['delete'](_0x338383);}[_0x3125cd(0x420)](_0x576a9e){var _0x1f3d2c=_0x3125cd;return this[_0x1f3d2c(0x480)]['get'](_0x576a9e);}[_0x3125cd(0x212)](){var _0x482a9d=_0x3125cd;return Array['from'](this[_0x482a9d(0x480)][_0x482a9d(0x178)]());}['_emitMembers'](){var _0x30d398=_0x3125cd;this[_0x30d398(0x381)]['next'](this['_members']);}}var _0x5f2906=Object['getOwnPropertyDescriptor'],_0x440f07=(_0x119fb9,_0x566a20,_0x1ddba7,_0x21b71d)=>{var _0xbfcb1a=_0x3125cd;for(var _0x7159ec=_0x21b71d>0x1?void 0x0:_0x21b71d?_0x5f2906(_0x566a20,_0x1ddba7):_0x566a20,_0x51f498=_0x119fb9[_0xbfcb1a(0x367)]-0x1,_0x2797d0;_0x51f498>=0x0;_0x51f498--)(_0x2797d0=_0x119fb9[_0x51f498])&&(_0x7159ec=_0x2797d0(_0x7159ec)||_0x7159ec);return _0x7159ec;},_0x496e3f=(_0x5770e0,_0x287c2d)=>(_0x37a820,_0x16fd90)=>_0x287c2d(_0x37a820,_0x16fd90,_0x5770e0),_0x8660ba=(_0x461be1=>(_0x461be1[_0x461be1[_0x3125cd(0x232)]=0x0]='IDLE',_0x461be1[_0x461be1['JOINING']=0x1]=_0x3125cd(0x214),_0x461be1[_0x461be1[_0x3125cd(0x2c5)]=0x2]=_0x3125cd(0x2c5),_0x461be1[_0x461be1[_0x3125cd(0x28d)]=0x3]='ONLINE',_0x461be1))(_0x8660ba||{});const _0x442be6={[_0xbe2cfc['FAIL']]:_0x3125cd(0x26b),[_0xbe2cfc[_0x3125cd(0xde)]]:'session.room-full',[_0xbe2cfc[_0x3125cd(0x10e)]]:_0x3125cd(0x317),[_0xbe2cfc['JOIN_ROOM_PERMISSION_DENIED']]:_0x3125cd(0x168),[_0xbe2cfc['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3125cd(0x365)};_0x1a0555['CollaborationSession']=class extends _0x5c9291[_0x3125cd(0x267)]{constructor(_0x3b3e88,_0x2e3301,_0x359486,_0x1d9561,_0x4b6dad,_0x2d734,_0x1412da,_0xb6fe8e){var _0x5ed7c4=_0x3125cd;super(),_0x27328e(this,_0x5ed7c4(0x19b),new _0x41392c[(_0x5ed7c4(0x35c))](0x0)),_0x27328e(this,_0x5ed7c4(0x321),this[_0x5ed7c4(0x19b)][_0x5ed7c4(0x241)]()),_0x27328e(this,_0x5ed7c4(0x279),new _0x41392c[(_0x5ed7c4(0x225))]()),_0x27328e(this,_0x5ed7c4(0x296),this[_0x5ed7c4(0x279)]['asObservable']()),_0x27328e(this,_0x5ed7c4(0x15a)),_0x27328e(this,_0x5ed7c4(0x3fb)),_0x27328e(this,'_collaborationTimeoutTimer'),_0x27328e(this,_0x5ed7c4(0x3fd),!0x1),_0x27328e(this,_0x5ed7c4(0x326),null),(this[_0x5ed7c4(0x246)]=_0x3b3e88,this[_0x5ed7c4(0x18a)]=_0x359486,this['_configService']=_0x1d9561,this[_0x5ed7c4(0x22c)]=_0x4b6dad,this['_commentService']=_0x2d734,this[_0x5ed7c4(0xef)]=_0x1412da,this[_0x5ed7c4(0x368)]=_0xb6fe8e,this[_0x5ed7c4(0x3fd)]=!!this[_0x5ed7c4(0x368)],_0x2e3301[_0x5ed7c4(0x34f)](_0x41392c[_0x5ed7c4(0x1fd)](this[_0x5ed7c4(0x2ef)]))['subscribe'](_0x5d5c7d=>{var _0x43127f=_0x5ed7c4,_0x2ae12d;typeof _0x5d5c7d>'u'||(this[_0x43127f(0x15a)]=_0x5d5c7d,_0x5d5c7d?(this[_0x43127f(0x213)](_0x5d5c7d),this[_0x43127f(0x3fb)]=_0x5d5c7d[_0x43127f(0xe0)][_0x43127f(0x399)](_0x2d3ed2=>{var _0x8f0c90=_0x43127f;_0x2d3ed2['routeKey']===this[_0x8f0c90(0x246)]&&this['_onCombEvent'](_0x2d3ed2);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x43127f(0x19b)][_0x43127f(0x1b9)](0x2),(_0x2ae12d=this[_0x43127f(0x3fb)])==null||_0x2ae12d[_0x43127f(0x205)](),this[_0x43127f(0x3fb)]=null));}));}get[_0x3125cd(0x1d6)](){var _0x4eaf50=_0x3125cd;return this[_0x4eaf50(0x19b)][_0x4eaf50(0xf2)]();}[_0x3125cd(0x22b)](){var _0x1ddfa4=_0x3125cd,_0x47b99d,_0x48305b;return(_0x48305b=(_0x47b99d=this[_0x1ddfa4(0x15a)])==null?void 0x0:_0x47b99d[_0x1ddfa4(0x2be)])!=null?_0x48305b:null;}[_0x3125cd(0x456)](){var _0xdcafe2=_0x3125cd;super[_0xdcafe2(0x456)](),this['dispose$'][_0xdcafe2(0x1b9)](),this[_0xdcafe2(0x2ef)][_0xdcafe2(0x12e)]();}[_0x3125cd(0x44a)](){var _0x1611d8=_0x3125cd,_0x21cbea,_0x22a22c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x21cbea=this[_0x1611d8(0x15a)])==null||_0x21cbea['send']({'cmd':_0x16f444[_0x1611d8(0x435)],'data':{'roomID':this[_0x1611d8(0x246)]}}),(_0x22a22c=this[_0x1611d8(0x15a)])==null||_0x22a22c[_0x1611d8(0x44a)](),this[_0x1611d8(0x279)][_0x1611d8(0x12e)](),this['_sessionStatus$'][_0x1611d8(0x12e)](),this[_0x1611d8(0x456)]();}[_0x3125cd(0x446)](_0x1f33e1){var _0x3222c8=_0x3125cd;_0x1f33e1['cmd']===_0x16f444[_0x3222c8(0x462)]?this['_onJoinRoomEvent'](_0x1f33e1):_0x1f33e1['cmd']===_0x16f444['RECV']&&this[_0x3222c8(0x209)](_0x1f33e1);}[_0x3125cd(0x213)](_0x5830f9){var _0x5612e4=_0x3125cd;this[_0x5612e4(0x19b)][_0x5612e4(0x1b9)](0x1),_0x5830f9[_0x5612e4(0x105)]({'cmd':_0x16f444[_0x5612e4(0x462)],'routeKey':this[_0x5612e4(0x246)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5612e4(0x246)]}]}});}[_0x3125cd(0xd1)](_0x18c193){var _0x4d13c4=_0x3125cd,_0xc3ad5f;if(_0x18c193[_0x4d13c4(0x162)]in _0x442be6){this[_0x4d13c4(0xef)]['emitEvent']({'id':_0x19b9e8[_0x4d13c4(0x3e5)],'data':_0x442be6[_0x18c193[_0x4d13c4(0x162)]]}),this[_0x4d13c4(0x19b)]['next'](0x2);return;}this[_0x4d13c4(0x19b)][_0x4d13c4(0x1b9)](0x3);const _0x46d19a=(_0xc3ad5f=_0x18c193[_0x4d13c4(0x438)][_0x4d13c4(0x3e8)][this[_0x4d13c4(0x246)]])==null?void 0x0:_0xc3ad5f[_0x4d13c4(0x2a8)];_0x46d19a&&_0x46d19a[_0x4d13c4(0x322)](_0x20d026=>this[_0x4d13c4(0x22c)][_0x4d13c4(0x3f8)](this[_0x4d13c4(0x246)],_0x20d026));}[_0x3125cd(0x209)](_0x5cda1a){var _0x2b742e=_0x3125cd;try{const _0xaf3aa0=_0x5cda1a[_0x2b742e(0x438)];switch(_0xaf3aa0['eventID']){case _0x319b76[_0x2b742e(0xff)][_0x2b742e(0x180)]:this[_0x2b742e(0x26f)](_0xaf3aa0),this[_0x2b742e(0x279)][_0x2b742e(0x1b9)](_0xaf3aa0);break;case _0x319b76[_0x2b742e(0xff)]['USERS_LEAVE']:this[_0x2b742e(0x28a)](_0xaf3aa0),this[_0x2b742e(0x279)][_0x2b742e(0x1b9)](_0xaf3aa0);break;case _0x319b76[_0x2b742e(0xff)][_0x2b742e(0x21b)]:case _0x319b76['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x2b742e(0x1f1)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2b742e(0x279)][_0x2b742e(0x1b9)](_0xaf3aa0);break;case _0x319b76[_0x2b742e(0xff)][_0x2b742e(0x165)]:this['_logService'][_0x2b742e(0x231)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x2b742e(0x1b5)](_0xaf3aa0)),this[_0x2b742e(0x279)][_0x2b742e(0x1b9)](_0xaf3aa0);break;case _0x319b76['CollaborationEvent'][_0x2b742e(0x185)]:this['_commentService'][_0x2b742e(0x2dd)](_0xaf3aa0['data']),this[_0x2b742e(0x279)][_0x2b742e(0x1b9)](_0xaf3aa0);break;default:this['_event$'][_0x2b742e(0x1b9)](_0xaf3aa0);}}catch(_0x59b3f9){this[_0x2b742e(0x18a)][_0x2b742e(0x231)](_0x59b3f9,_0x5cda1a);}}['_onUserJoin'](_0x4156e9){var _0x27209b=_0x3125cd;this[_0x27209b(0x22c)]['updateMember'](this[_0x27209b(0x246)],_0x4156e9['data']);}[_0x3125cd(0x28a)](_0x100425){var _0x3d66b1=_0x3125cd;this[_0x3d66b1(0x22c)]['removeMember'](this[_0x3d66b1(0x246)],_0x100425['data']['memberID']);}async['send'](_0x34a65d,_0x17b071){var _0x4f7d7d=_0x3125cd;if(this[_0x4f7d7d(0x1d6)]!==0x3||!this[_0x4f7d7d(0x15a)])throw new Error(_0x4f7d7d(0x3e7));try{_0x34a65d[_0x4f7d7d(0x2ff)]===_0x319b76[_0x4f7d7d(0xff)]['SUBMIT_CHANGESET']&&(this[_0x4f7d7d(0x1a8)](),this[_0x4f7d7d(0x1a0)](_0x34a65d)),this['_socket'][_0x4f7d7d(0x105)]({'cmd':_0x16f444[_0x4f7d7d(0x1e6)],'routeKey':_0x17b071,'routeType':'','data':_0x34a65d});}catch(_0x5f3704){this['_logService'][_0x4f7d7d(0x231)](_0x5f3704);}}['_scheduleCollaborationTimeoutTimer'](){var _0x116f14=_0x3125cd,_0x289a2e;this[_0x116f14(0x148)]=setTimeout(()=>{var _0x3f6ee2=_0x116f14;this[_0x3f6ee2(0x148)]=null,this[_0x3f6ee2(0xef)][_0x3f6ee2(0x179)]({'id':_0x19b9e8[_0x3f6ee2(0xe8)]});},(_0x289a2e=this[_0x116f14(0xdf)][_0x116f14(0x39a)](_0x493c73))!=null?_0x289a2e:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x2cc8d7=_0x3125cd;this[_0x2cc8d7(0x148)]&&(clearTimeout(this[_0x2cc8d7(0x148)]),this[_0x2cc8d7(0x148)]=null);}[_0x3125cd(0x1a0)](_0x57b644){var _0x355446=_0x3125cd;if(!this[_0x355446(0x3fd)])return;const {data:_0x1fac29}=_0x57b644,{unitID:_0x3dce9,changeset:_0x135cfd}=_0x1fac29,{mutations:_0x5d26fa,type:_0x2de0cb}=_0x135cfd;this['_telemetryInfo']={'unitId':_0x3dce9,'type':_0x2de0cb,'startTime':performance[_0x355446(0x412)](),'stopTime':0x0,'duration':0x0,'size':_0x3ee79e(_0x5d26fa)};}[_0x3125cd(0x1f1)](){var _0xbeeab2=_0x3125cd;if(this[_0xbeeab2(0x3fd)]){if(!this[_0xbeeab2(0x326)]){this['_logService'][_0xbeeab2(0x231)](_0xbeeab2(0x29d),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xbeeab2(0x326)][_0xbeeab2(0x137)]=performance['now'](),this['_telemetryInfo'][_0xbeeab2(0x2b2)]=this['_telemetryInfo'][_0xbeeab2(0x137)]-this[_0xbeeab2(0x326)][_0xbeeab2(0x2e2)],this['_telemetryService'][_0xbeeab2(0x2f6)](_0x40ec43,this['_telemetryInfo']),this[_0xbeeab2(0x326)]=null;}}[_0x3125cd(0x34d)](){var _0x54e16c=_0x3125cd;this[_0x54e16c(0x326)]=null;}},_0x1a0555[_0x3125cd(0x314)]=_0x440f07([_0x496e3f(0x2,_0x5c9291[_0x3125cd(0x109)]),_0x496e3f(0x3,_0x5c9291[_0x3125cd(0x226)]),_0x496e3f(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x1a0555['MemberService'])),_0x496e3f(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x60caf4)),_0x496e3f(0x6,_0x5c9291['Inject'](_0x5cf853)),_0x496e3f(0x7,_0x5c9291['Optional'](_0x449f45[_0x3125cd(0x1e7)]))],_0x1a0555[_0x3125cd(0x314)]);const _0x1d3985=_0x5c9291[_0x3125cd(0x1bc)]('collaboration-client.local-cache-service');function _0x3fee3e(_0x17b118){var _0x1d5b81=_0x3125cd;return _0x1d5b81(0x16e)+_0x17b118;}var _0x1a32d4=Object[_0x3125cd(0x143)],_0x9d8921=(_0x44b281,_0x3135b4,_0x5c0414,_0x5d1d91)=>{var _0x228f71=_0x3125cd;for(var _0xa27ffe=_0x5d1d91>0x1?void 0x0:_0x5d1d91?_0x1a32d4(_0x3135b4,_0x5c0414):_0x3135b4,_0x31e9cc=_0x44b281[_0x228f71(0x367)]-0x1,_0x515723;_0x31e9cc>=0x0;_0x31e9cc--)(_0x515723=_0x44b281[_0x31e9cc])&&(_0xa27ffe=_0x515723(_0xa27ffe)||_0xa27ffe);return _0xa27ffe;},_0x22c35c=(_0x30955a,_0x1e4f47)=>(_0x2c907,_0x35f05e)=>_0x1e4f47(_0x2c907,_0x35f05e,_0x30955a);function _0x40d41e(_0x1dc6a9){var _0x12674e=_0x3125cd;const {unitID:_0x58bc5b,mutations:_0x54cfbc}=_0x1dc6a9;return{'unitId':_0x58bc5b,'subUnitId':_0x54cfbc[_0x12674e(0x367)]>0x0?_0x54cfbc[0x0]['params'][_0x12674e(0x1d8)]:null};}_0x1a0555['SheetTransformSelectionsService']=class{constructor(_0x8116d2,_0x428b1f,_0x30d149){var _0x31ff71=_0x3125cd;this[_0x31ff71(0x1a2)]=_0x8116d2,this[_0x31ff71(0x1eb)]=_0x428b1f,this[_0x31ff71(0x140)]=_0x30d149;}[_0x3125cd(0x372)](_0x475e28){var _0x4b5c77=_0x3125cd,_0x314973,_0x3cb788,_0x4781c1,_0x2dd896;const _0x17aae1=this['_injector']['get'](_0x22532b[_0x4b5c77(0x2bc)]),{unitId:_0x25eaaa,subUnitId:_0x39c44c}=_0x40d41e(_0x475e28),_0x5e850e=_0x17aae1==null?void 0x0:_0x17aae1['getWorkbookSelections'](_0x25eaaa)[_0x4b5c77(0xd7)](),_0x2ec9b2=(_0x3cb788=(_0x314973=this[_0x4b5c77(0x140)][_0x4b5c77(0x1e5)](_0x25eaaa))==null?void 0x0:_0x314973[_0x4b5c77(0x28b)]())==null?void 0x0:_0x3cb788[_0x4b5c77(0xd9)]();if(_0x5e850e['length']===0x0||!_0x25eaaa||!_0x39c44c)return;const _0x471018=[{'id':_0x22532b[_0x4b5c77(0x21e)]['id'],'params':{'unitId':_0x25eaaa,'subUnitId':_0x2ec9b2,'selections':_0x5c9291[_0x4b5c77(0x251)][_0x4b5c77(0x361)](_0x5e850e)}}],_0x4ba8e=this[_0x4b5c77(0x1eb)][_0x4b5c77(0x2cb)](_0x475e28,_0x471018);if(!_0x319b76[_0x4b5c77(0x43b)](_0x4ba8e))throw _0x4ba8e[_0x4b5c77(0x231)];const _0x138e2f=(_0x2dd896=(_0x4781c1=_0x4ba8e[_0x4b5c77(0x119)][0x0])==null?void 0x0:_0x4781c1[_0x4b5c77(0x197)])==null?void 0x0:_0x2dd896[_0x4b5c77(0x1ba)];if(Array[_0x4b5c77(0x101)](_0x138e2f)&&_0x138e2f[_0x4b5c77(0x367)]){if(_0x138e2f['length']===_0x471018[0x0][_0x4b5c77(0x197)][_0x4b5c77(0x1ba)][_0x4b5c77(0x367)]&&_0x138e2f[_0x4b5c77(0x133)]((_0x6887f9,_0x20aa9e)=>_0x5c9291[_0x4b5c77(0x118)]['equals'](_0x6887f9[_0x4b5c77(0x117)],_0x471018[0x0][_0x4b5c77(0x197)][_0x4b5c77(0x1ba)][_0x20aa9e]['range'])))return;this[_0x4b5c77(0x1a2)]['get'](_0x5c9291[_0x4b5c77(0x357)])[_0x4b5c77(0x1cb)](_0x22532b[_0x4b5c77(0x21e)]['id'],{'unitId':_0x25eaaa,'subUnitId':_0x2ec9b2,'selections':_0x138e2f});}}},_0x1a0555[_0x3125cd(0x2d0)]=_0x9d8921([_0x22c35c(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['Injector'])),_0x22c35c(0x1,_0x319b76[_0x3125cd(0x332)]),_0x22c35c(0x2,_0x5c9291[_0x3125cd(0x200)])],_0x1a0555[_0x3125cd(0x2d0)]);const _0x2753d1=_0x5c9291[_0x3125cd(0x1bc)](_0x3125cd(0x13c));var _0x29e528=(_0x3c33a5=>(_0x3c33a5[_0x3c33a5[_0x3125cd(0x3b8)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3c33a5[_0x3c33a5[_0x3125cd(0x405)]=0x1]=_0x3125cd(0x405),_0x3c33a5))(_0x29e528||{});const _0x1ace84=_0x3125cd(0x32f),_0x43b491={};function _0x415585(_0x1d2a6f){var _0x4e1e69=_0x3125cd,_0x2937dd;return!!((_0x2937dd=_0x1d2a6f[_0x4e1e69(0x197)])!=null&&_0x2937dd[_0x4e1e69(0x422)]);}const _0x2d1b5d=new Set([_0x22532b[_0x3125cd(0x447)]['id']]);function _0x3c683a(_0x1501e9,_0x3f27f7,_0xc6d974,_0x3ad336,_0x2fbcc4){var _0x440760=_0x3125cd,_0x1491bd,_0x1ab931,_0x331659,_0x4cb9ff;const _0x544371=[];for(const _0x56c230 of _0x1501e9){if(_0x2d1b5d[_0x440760(0x1de)](_0x56c230['id'])){if(_0x544371['length']>0x0)break;_0x544371[_0x440760(0x123)](_0x56c230);break;}if(_0x415585(_0x56c230)){if(_0x544371[_0x440760(0x367)]>0x0)break;_0x544371['push'](_0x56c230);break;}_0x544371[_0x440760(0x123)](_0x56c230);}const _0x1eb5a5=(_0x1ab931=(_0x1491bd=_0x2fbcc4[_0x440760(0x410)]())==null?void 0x0:_0x1491bd['userID'])!=null?_0x1ab931:'unknown',_0x45424d=(_0x4cb9ff=(_0x331659=_0x2fbcc4[_0x440760(0x410)]())==null?void 0x0:_0x331659['memberID'])!=null?_0x4cb9ff:_0x440760(0xe5);return{'changeset':{'unitID':_0x3f27f7,'type':_0x319b76['mapDocumentTypeToUniverType'](_0xc6d974[_0x440760(0x443)](_0x3f27f7)),'baseRev':_0x3ad336['getCurrentRevOfUnit'](_0x3f27f7),'revision':0x0,'userID':_0x1eb5a5,'memberID':_0x45424d,'mutations':_0x544371},'pendingMutations':_0x1501e9[_0x440760(0x3d9)](_0x544371[_0x440760(0x367)])};}function _0x442418(_0x5a3daf,_0x234eb0,_0x14aa89,_0x2c1ad8,_0x5cce46){var _0x4e3b51=_0x3125cd,_0x2d29e7,_0x2786a1,_0x1ba213,_0x1d808b;const _0x11afc6=[_0x5a3daf[_0x4e3b51(0x13e)]((_0x4dbc25,_0x1e54c3)=>{var _0x204bb6=_0x4e3b51,_0x2f9bef;const {id:_0x3888c1}=_0x4dbc25,{id:_0x2bdf37,type:_0x1d65b9}=_0x1e54c3,_0x4ca7de=(_0x2f9bef=_0x4dbc25[_0x204bb6(0x197)])!=null?_0x2f9bef:{'actions':null},_0x453d9c=_0x1e54c3[_0x204bb6(0x197)];if(_0x3888c1&&_0x3888c1!==_0x2bdf37)throw new Error(_0x204bb6(0x395)+_0x3888c1+'\x20-\x20'+_0x2bdf37+'.');return{..._0x4dbc25,'id':_0x2bdf37,'type':_0x1d65b9,'params':{'unitId':_0x453d9c[_0x204bb6(0xf0)],'textRanges':_0x453d9c[_0x204bb6(0x45f)],'actions':_0x5c9291[_0x204bb6(0x12c)][_0x204bb6(0x47a)](_0x4ca7de[_0x204bb6(0x1f8)],_0x453d9c['actions'])}};},{})],_0x2f5e28=(_0x2786a1=(_0x2d29e7=_0x5cce46['getCurrentUser']())==null?void 0x0:_0x2d29e7[_0x4e3b51(0x11a)])!=null?_0x2786a1:_0x4e3b51(0xe5),_0x420803=(_0x1d808b=(_0x1ba213=_0x5cce46[_0x4e3b51(0x410)]())==null?void 0x0:_0x1ba213['memberID'])!=null?_0x1d808b:_0x4e3b51(0xe5);return{'changeset':{'unitID':_0x234eb0,'type':_0x319b76['mapDocumentTypeToUniverType'](_0x14aa89[_0x4e3b51(0x443)](_0x234eb0)),'baseRev':_0x2c1ad8[_0x4e3b51(0x244)](_0x234eb0),'revision':0x0,'userID':_0x2f5e28,'memberID':_0x420803,'mutations':_0x11afc6},'pendingMutations':[]};}function _0x48f847(_0x2a355,_0x55ccfc){var _0x5c0d88=_0x3125cd;const _0x28076d=new _0x41392c['ReplaySubject'](0x1);return setTimeout(()=>_0x28076d[_0x5c0d88(0x1b9)](_0x55ccfc),_0x2a355),_0x28076d[_0x5c0d88(0x241)]()[_0x5c0d88(0x34f)](_0x41392c[_0x5c0d88(0x370)](0x1));}var _0xbac86b=Object[_0x3125cd(0x143)],_0x49a640=(_0x425226,_0x4adeee,_0x2381d9,_0x1cb198)=>{var _0x4229d6=_0x3125cd;for(var _0x510e52=_0x1cb198>0x1?void 0x0:_0x1cb198?_0xbac86b(_0x4adeee,_0x2381d9):_0x4adeee,_0x51b089=_0x425226[_0x4229d6(0x367)]-0x1,_0x5e92f7;_0x51b089>=0x0;_0x51b089--)(_0x5e92f7=_0x425226[_0x51b089])&&(_0x510e52=_0x5e92f7(_0x510e52)||_0x510e52);return _0x510e52;},_0x49eda2=(_0x4ea17d,_0x4ead1a)=>(_0x260a8d,_0x900354)=>_0x4ead1a(_0x260a8d,_0x900354,_0x4ea17d),_0x2c3058=(_0x9852dd=>(_0x9852dd[_0x3125cd(0x379)]=_0x3125cd(0x153),_0x9852dd[_0x3125cd(0x453)]='synced',_0x9852dd[_0x3125cd(0x323)]='pending',_0x9852dd[_0x3125cd(0x47f)]=_0x3125cd(0x40e),_0x9852dd['AWAITING_WITH_PENDING']=_0x3125cd(0xf8),_0x9852dd[_0x3125cd(0x352)]=_0x3125cd(0x404),_0x9852dd[_0x3125cd(0x19a)]=_0x3125cd(0x237),_0x9852dd[_0x3125cd(0x2c5)]=_0x3125cd(0x38c),_0x9852dd))(_0x2c3058||{});const _0x4f7161=0x4e20,_0x2aa9af=0x2bf20;class _0x5463be{constructor(_0x5d9e01,_0x4efabb,_0x304926,_0x35c134,_0x3ee039,_0x22aede,_0x31d1cf,_0xef3c88,_0x121cbb){var _0x726e57=_0x3125cd;_0x27328e(this,_0x726e57(0x2f1),null),_0x27328e(this,_0x726e57(0x29a),[]),(this['unitID']=_0x5d9e01,this['type']=_0x4efabb,this[_0x726e57(0x276)]=_0x3ee039,this[_0x726e57(0x479)]=_0x22aede,this[_0x726e57(0x3d5)]=_0x31d1cf,this[_0x726e57(0x2a1)]=_0xef3c88,this[_0x726e57(0x219)]=_0x121cbb,this[_0x726e57(0x2f1)]=_0x304926,this[_0x726e57(0x29a)]=_0x35c134);}[_0x3125cd(0x278)](_0x15c8db){var _0x5f23d4=_0x3125cd;const _0xdae89d=this[_0x5f23d4(0x2a1)][_0x5f23d4(0x244)](this[_0x5f23d4(0x11c)]);return _0x15c8db['revision']>_0xdae89d+0x1?(this[_0x5f23d4(0x276)][_0x5f23d4(0x261)]({'from':_0xdae89d,'to':_0x15c8db['revision']-0x1}),!0x0):!0x1;}[_0x3125cd(0x3bc)](_0x32d4cc){var _0x5b379f=_0x3125cd;this[_0x5b379f(0x3d5)][_0x5b379f(0x287)](this[_0x5b379f(0x11c)],_0x32d4cc);}['_transformSelections'](_0x56c1d3){var _0x2b07e9=_0x3125cd,_0x1deb63,_0x9548b4;(_0x9548b4=(_0x1deb63=this['_handler'])['onTransformSelections'])==null||_0x9548b4[_0x2b07e9(0x1d4)](_0x1deb63,_0x56c1d3);}[_0x3125cd(0x3cf)](_0x421d16){var _0x45279a=_0x3125cd,_0x4dccb1,_0x5aca02;return(_0x5aca02=(_0x4dccb1=this[_0x45279a(0x276)])[_0x45279a(0x26a)])==null?void 0x0:_0x5aca02['call'](_0x4dccb1,_0x421d16);}[_0x3125cd(0x112)](_0x15866e){var _0x386cf1=_0x3125cd,_0x23d880,_0x37b1c5;return(_0x37b1c5=(_0x23d880=this['_handler'])['onTransformState'])==null?void 0x0:_0x37b1c5[_0x386cf1(0x1d4)](_0x23d880,_0x15866e);}['_transformRemoteChangesetByIMECache'](_0x4342e8){var _0x3a3945=_0x3125cd,_0x1e08d1,_0x270c14,_0x2b23ab;return(_0x2b23ab=(_0x270c14=(_0x1e08d1=this[_0x3a3945(0x276)])[_0x3a3945(0x29c)])==null?void 0x0:_0x270c14[_0x3a3945(0x1d4)](_0x1e08d1,_0x4342e8))!=null?_0x2b23ab:_0x4342e8;}[_0x3125cd(0x328)](_0x509d9a){var _0x1fc3ef=_0x3125cd,_0x4bcf39,_0x203ed4,_0x4adc3a;return(_0x4adc3a=(_0x203ed4=(_0x4bcf39=this[_0x1fc3ef(0x276)])[_0x1fc3ef(0x2b1)])==null?void 0x0:_0x203ed4[_0x1fc3ef(0x1d4)](_0x4bcf39,_0x509d9a))!=null?_0x4adc3a:_0x509d9a;}[_0x3125cd(0xe7)](_0x16d396){var _0x411e08=_0x3125cd,_0x286913,_0x23a81a;if(this[_0x411e08(0x266)]===_0x5c7530['UNIVER_DOC']){const {unitID:_0x2f6379,mutations:_0x3b0f53,memberID:_0x585757}=_0x16d396,_0x5779cb=_0x3b0f53[_0x411e08(0x367)]>0x0?_0x3b0f53[0x0]['params'][_0x411e08(0x45f)]:[];Array[_0x411e08(0x101)](_0x5779cb)&&_0x5779cb['length']>0x0&&((_0x23a81a=(_0x286913=this['_handler'])[_0x411e08(0x18e)])==null||_0x23a81a['call'](_0x286913,{'unitID':_0x2f6379,'memberID':_0x585757,'textRanges':_0x5779cb}));}}[_0x3125cd(0x46a)](){var _0x301116=_0x3125cd,_0xe6edf9;(_0xe6edf9=this[_0x301116(0x219)])==null||_0xe6edf9['updateOfflineData'](this[_0x301116(0x11c)],this[_0x301116(0x266)],this[_0x301116(0x2f1)],this['_pendingMutations']);}[_0x3125cd(0x233)](){var _0x502dd7=_0x3125cd;return this[_0x502dd7(0x2a1)]['getCurrentRevOfUnit'](this[_0x502dd7(0x11c)]);}['_incrementRevisionNumber'](){var _0x454bae=_0x3125cd;this[_0x454bae(0x2a1)][_0x454bae(0xe4)](this[_0x454bae(0x11c)]);}[_0x3125cd(0x144)](_0xbc8b59){var _0x36bf74=_0x3125cd,_0x376035;let _0xc7ed9d=this['_transformRemoteChangesetByIMECache'](_0xbc8b59);_0xc7ed9d=this[_0x36bf74(0x328)](_0xc7ed9d);const _0x4fadd4=_0x5c9291['sequenceExecute'](_0xc7ed9d['mutations'],this[_0x36bf74(0x479)],{'fromCollab':!0x0});if(!_0x4fadd4[_0x36bf74(0x21f)])throw _0x4fadd4[_0x36bf74(0x231)]instanceof Error?_0x4fadd4[_0x36bf74(0x231)]:new Error((_0x376035=_0x4fadd4[_0x36bf74(0x231)])!=null?_0x376035:_0x36bf74(0x44e));this[_0x36bf74(0x3cf)](_0xc7ed9d),this[_0x36bf74(0x112)](_0xc7ed9d),this[_0x36bf74(0x3bc)](_0xbc8b59),this[_0x36bf74(0x2ae)](_0xc7ed9d),this[_0x36bf74(0xe7)](_0xc7ed9d),this[_0x36bf74(0x448)]();}}_0x1a0555[_0x3125cd(0x30a)]=class extends _0x5463be{constructor(_0x59fef2,_0x4cdcb7,_0x367f89,_0x47e91c,_0x4aef34,_0x2e9ca5,_0x548512,_0x37bf66,_0x528f8e,_0x3af2c5){var _0x1c36d3=_0x3125cd;super(_0x59fef2,_0x4cdcb7,null,[],_0x367f89,_0x548512,_0x2e9ca5,_0x47e91c,_0x3af2c5),_0x27328e(this,_0x1c36d3(0x262),_0x1c36d3(0x190)),(this[_0x1c36d3(0x1a2)]=_0x4aef34,this[_0x1c36d3(0x18a)]=_0x37bf66,this[_0x1c36d3(0x1eb)]=_0x528f8e,this[_0x1c36d3(0x20d)]=_0x3af2c5);}[_0x3125cd(0x2bd)](_0x4700e8){var _0x8a3a3c=_0x3125cd;const _0x2e1453=this[_0x8a3a3c(0x1a2)][_0x8a3a3c(0x1d1)](_0x1a0555[_0x8a3a3c(0x255)],this[_0x8a3a3c(0x11c)],this['type'],[_0x4700e8],this[_0x8a3a3c(0x276)]);return _0x2e1453[_0x8a3a3c(0x418)](),_0x2e1453[_0x8a3a3c(0x46a)](),_0x2e1453;}['onRemoteChangeset'](_0x24762a){var _0x3eeebf=_0x3125cd;if(this['_checkMissing'](_0x24762a))return this[_0x3eeebf(0x1a2)]['createInstance'](_0x1a0555[_0x3eeebf(0xf6)],this['unitID'],this[_0x3eeebf(0x266)],null,[],null,[_0x24762a],this[_0x3eeebf(0x276)]);try{const _0x27cbda=this['_transformService'][_0x3eeebf(0x2cb)](_0x24762a,[_0x319b76['EmptyMutationInfo']]);if(_0x319b76[_0x3eeebf(0x43b)](_0x27cbda)){const {c1Prime:_0x40ebb0}=_0x27cbda;return this[_0x3eeebf(0x144)](_0x40ebb0),this;}throw _0x27cbda[_0x3eeebf(0x231)];}catch(_0x1ed50d){return this[_0x3eeebf(0x18a)]['error'](_0x1ed50d),this['_onConflict'](!0x1);}}['_onConflict'](_0x34601f){var _0x15c6e0=_0x3125cd;return this[_0x15c6e0(0x1a2)][_0x15c6e0(0x1d1)](_0x1a0555[_0x15c6e0(0x175)],this['unitID'],this[_0x15c6e0(0x266)],null,[],this['_handler'],_0x34601f);}[_0x3125cd(0x390)](){var _0x2b1057=_0x3125cd;throw new Error(_0x2b1057(0x23c));}['onRemoteRej'](){var _0x1e4831=_0x3125cd;throw new Error(_0x1e4831(0x32a));}[_0x3125cd(0x277)](){return this;}[_0x3125cd(0x320)](){var _0x4803a6=_0x3125cd;return this['_injector'][_0x4803a6(0x1d1)](_0x1a0555[_0x4803a6(0x207)],this[_0x4803a6(0x11c)],this['type'],null,[],this[_0x4803a6(0x276)]);}[_0x3125cd(0x34e)](){return this;}[_0x3125cd(0x3b0)](){var _0x46f622=_0x3125cd;throw new Error(_0x46f622(0x250));}['fetchMiss'](){var _0x5be1cc=_0x3125cd;const _0x2a0eca=this[_0x5be1cc(0x2a1)][_0x5be1cc(0x244)](this[_0x5be1cc(0x11c)]);return this[_0x5be1cc(0x276)]['onMissingChangesets']({'from':_0x2a0eca,'to':0x0}),this[_0x5be1cc(0x1a2)][_0x5be1cc(0x1d1)](_0x1a0555[_0x5be1cc(0xf6)],this[_0x5be1cc(0x11c)],this[_0x5be1cc(0x266)],null,[],null,[],this[_0x5be1cc(0x276)]);}},_0x1a0555[_0x3125cd(0x30a)]=_0x49a640([_0x49eda2(0x3,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x49eda2(0x5,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0x6,_0x5c9291['ICommandService']),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x109)]),_0x49eda2(0x8,_0x319b76[_0x3125cd(0x332)]),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555['SyncedState']),_0x1a0555[_0x3125cd(0x255)]=class extends _0x5463be{constructor(_0x32b5f0,_0x2f0e62,_0x2ad2d6,_0x67023b,_0xc038e4,_0x4d49df,_0x5689d5,_0x24bc8,_0x2be3f3,_0x47f325,_0x4bd976,_0x3aa0ec,_0x4d5270,_0x1ca6be){var _0x3dafac=_0x3125cd;super(_0x32b5f0,_0x2f0e62,null,_0x2ad2d6,_0x67023b,_0x2be3f3,_0x4d5270,_0x4d49df,_0x1ca6be),_0x27328e(this,_0x3dafac(0x262),_0x3dafac(0x45b)),_0x27328e(this,_0x3dafac(0x18c),null),_0x27328e(this,_0x3dafac(0x3a4),null),(this[_0x3dafac(0x1a2)]=_0xc038e4,this['_memberService']=_0x5689d5,this['_logService']=_0x24bc8,this[_0x3dafac(0xdf)]=_0x47f325,this[_0x3dafac(0x1eb)]=_0x4bd976,this[_0x3dafac(0x471)]=_0x3aa0ec);}[_0x3125cd(0x2bd)](_0x2d1243){var _0x4f07c3=_0x3125cd;return this[_0x4f07c3(0x29a)][_0x4f07c3(0x123)](_0x2d1243),this['_updateLocalCache'](),this;}[_0x3125cd(0x2b3)](_0x189533){var _0x223b9b=_0x3125cd;if(this[_0x223b9b(0x278)](_0x189533))return this['_clearScheduledTask'](),this[_0x223b9b(0x1a2)][_0x223b9b(0x1d1)](_0x1a0555['FetchingMissState'],this['unitID'],this[_0x223b9b(0x266)],null,this[_0x223b9b(0x29a)],null,[_0x189533],this[_0x223b9b(0x276)]);try{const _0x381e1d=this[_0x223b9b(0x1eb)][_0x223b9b(0x2cb)](_0x189533,this[_0x223b9b(0x29a)]);if(_0x319b76[_0x223b9b(0x43b)](_0x381e1d)){const {c1Prime:_0x231ec0,m2Prime:_0x3ef24e}=_0x381e1d;this[_0x223b9b(0x144)](_0x231ec0);const _0xc59119=this[_0x223b9b(0x1a2)][_0x223b9b(0x1d1)](_0x1a0555[_0x223b9b(0x255)],this['unitID'],this['type'],_0x3ef24e,this[_0x223b9b(0x276)]);this[_0x223b9b(0x2e7)]();const _0x18025f=new Date()[_0x223b9b(0x473)](),_0x3217d2=this[_0x223b9b(0x18c)]?Math[_0x223b9b(0x3f7)](this['_scheduleCompleteTimestamp']-_0x18025f,0x0):this[_0x223b9b(0x2d7)]();return _0xc59119[_0x223b9b(0x418)](_0x3217d2),_0xc59119;}throw _0x381e1d['error'];}catch(_0x18d5a6){return this[_0x223b9b(0x18a)]['error'](_0x18d5a6),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3125cd(0x284)](){var _0x72bde9=_0x3125cd;throw new Error(_0x72bde9(0x121));}[_0x3125cd(0x277)](){return this;}['toggleOffline'](){var _0x459885=_0x3125cd;return this[_0x459885(0x2e7)](),this[_0x459885(0x1a2)][_0x459885(0x1d1)](_0x1a0555[_0x459885(0x207)],this['unitID'],this[_0x459885(0x266)],null,this[_0x459885(0x29a)],this[_0x459885(0x276)]);}[_0x3125cd(0x34e)](){return this;}['_schedule'](_0x2929b2){var _0x325634=_0x3125cd;const _0x24f9ce=_0x2929b2!=null?_0x2929b2:this[_0x325634(0x2d7)]();this[_0x325634(0x18c)]=new Date()[_0x325634(0x473)]()+_0x24f9ce,this['_sendingTimer']=setTimeout(()=>{var _0x23dbea=_0x325634;this[_0x23dbea(0x2e7)]();let _0x407c04=null;switch(this[_0x23dbea(0x266)]){case _0x5c7530[_0x23dbea(0x350)]:{_0x407c04=_0x3c683a(this['_pendingMutations'],this[_0x23dbea(0x11c)],this[_0x23dbea(0x471)],this[_0x23dbea(0x2a1)],this['_memberService']);break;}case _0x5c7530['UNIVER_DOC']:{this[_0x23dbea(0x29a)][_0x23dbea(0x133)](_0x24992a=>_0x24992a['id']===_0x124cb1[_0x23dbea(0x31a)]['id'])?_0x407c04=_0x442418(this[_0x23dbea(0x29a)],this['unitID'],this[_0x23dbea(0x471)],this[_0x23dbea(0x2a1)],this[_0x23dbea(0x22c)]):_0x407c04=_0x3c683a(this[_0x23dbea(0x29a)],this[_0x23dbea(0x11c)],this[_0x23dbea(0x471)],this[_0x23dbea(0x2a1)],this[_0x23dbea(0x22c)]);break;}default:throw new Error(_0x23dbea(0x342)+this[_0x23dbea(0x266)]+_0x23dbea(0x235));}const {changeset:_0x478b90,pendingMutations:_0x576a6d}=_0x407c04;this['_handler'][_0x23dbea(0x173)](_0x478b90);const _0x5ad937=_0x576a6d[_0x23dbea(0x367)]?this[_0x23dbea(0x1a2)][_0x23dbea(0x1d1)](_0x1a0555[_0x23dbea(0x41a)],this[_0x23dbea(0x11c)],this[_0x23dbea(0x266)],_0x478b90,_0x576a6d,this[_0x23dbea(0x276)],void 0x0):this[_0x23dbea(0x1a2)]['createInstance'](_0x1a0555[_0x23dbea(0x26e)],this[_0x23dbea(0x11c)],this[_0x23dbea(0x266)],_0x478b90,this[_0x23dbea(0x276)]);_0x5ad937[_0x23dbea(0x46a)](),this[_0x23dbea(0x276)][_0x23dbea(0x217)](this,_0x5ad937);},_0x24f9ce);}['_getSendChangesetTimeout'](){var _0x28e2c5=_0x3125cd,_0x17099f;const _0x39411f=this[_0x28e2c5(0xdf)][_0x28e2c5(0x39a)](_0x1ace84);return(_0x17099f=_0x39411f==null?void 0x0:_0x39411f[_0x28e2c5(0x459)])!=null?_0x17099f:0x7d0;}[_0x3125cd(0x3b0)](){var _0x16c213=_0x3125cd;throw new Error(_0x16c213(0x2f0));}[_0x3125cd(0x2e7)](){var _0x205e74=_0x3125cd;this[_0x205e74(0x3a4)]!=null&&(clearTimeout(this[_0x205e74(0x3a4)]),this[_0x205e74(0x3a4)]=null);}['_onConflict'](_0x4cb90b){var _0x4c5316=_0x3125cd;return this[_0x4c5316(0x2e7)](),this[_0x4c5316(0x1a2)][_0x4c5316(0x1d1)](_0x1a0555[_0x4c5316(0x175)],this[_0x4c5316(0x11c)],this['type'],null,this[_0x4c5316(0x29a)],this[_0x4c5316(0x276)],_0x4cb90b);}},_0x1a0555['PendingState']=_0x49a640([_0x49eda2(0x4,_0x5c9291['Inject'](_0x5c9291[_0x3125cd(0xf9)])),_0x49eda2(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0x6,_0x5c9291['Inject'](_0x1a0555[_0x3125cd(0x469)])),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x109)]),_0x49eda2(0x8,_0x5c9291[_0x3125cd(0x357)]),_0x49eda2(0x9,_0x5c9291['IConfigService']),_0x49eda2(0xa,_0x319b76[_0x3125cd(0x332)]),_0x49eda2(0xb,_0x5c9291[_0x3125cd(0x200)]),_0x49eda2(0xc,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0xd,_0x5c9291['Optional'](_0x1d3985))],_0x1a0555[_0x3125cd(0x255)]),_0x1a0555[_0x3125cd(0x26e)]=class extends _0x5463be{constructor(_0x8bbebc,_0x10d0b5,_0x114003,_0x3a5cff,_0x5b408c,_0x101d6c,_0x722af,_0x5a910b,_0x111609,_0x3ddab4,_0x3e1e0a){var _0x35a8e2=_0x3125cd;super(_0x8bbebc,_0x10d0b5,_0x114003,[],_0x3a5cff,_0x722af,_0x3ddab4,_0x101d6c,_0x3e1e0a),_0x27328e(this,'status',_0x35a8e2(0x40e)),_0x27328e(this,_0x35a8e2(0x485),0x0),_0x27328e(this,_0x35a8e2(0x1e8),0x0),_0x27328e(this,_0x35a8e2(0x149)),_0x27328e(this,_0x35a8e2(0xfa)),(this[_0x35a8e2(0x1a2)]=_0x5b408c,this['_logService']=_0x5a910b,this[_0x35a8e2(0x1eb)]=_0x111609);}[_0x3125cd(0x2bd)](_0x130678){var _0x39f9ff=_0x3125cd;this[_0x39f9ff(0x2e7)]();const _0x423ee1=this['_injector'][_0x39f9ff(0x1d1)](_0x1a0555[_0x39f9ff(0x41a)],this['unitID'],this[_0x39f9ff(0x266)],this[_0x39f9ff(0x2f1)],[_0x130678],this[_0x39f9ff(0x276)],this['_resendTimer']);return _0x423ee1[_0x39f9ff(0x46a)](),_0x423ee1;}['onRemoteChangeset'](_0x33b75c){var _0x2ac668=_0x3125cd;if(this['_checkMissing'](_0x33b75c))return this['_clearScheduledTask'](),this[_0x2ac668(0x1a2)][_0x2ac668(0x1d1)](_0x1a0555[_0x2ac668(0xf6)],this[_0x2ac668(0x11c)],this[_0x2ac668(0x266)],this[_0x2ac668(0x2f1)],[],null,[_0x33b75c],this[_0x2ac668(0x276)]);try{const _0x49fcee=this[_0x2ac668(0x1eb)][_0x2ac668(0x2c8)]([_0x33b75c],[this[_0x2ac668(0x2f1)]],!0x1);if(_0x319b76[_0x2ac668(0x44d)](_0x49fcee)){const {c1Prime:_0x1b27f3,c2Prime:_0x557e7f}=_0x49fcee;this['_executeRemoteChangeset'](_0x1b27f3[0x0]),_0x557e7f[0x0][_0x2ac668(0x181)]=this[_0x2ac668(0x233)](),this['_clearScheduledTask']();const _0x5d6bf5=this[_0x2ac668(0x1a2)]['createInstance'](_0x1a0555['AwaitingState'],this[_0x2ac668(0x11c)],this[_0x2ac668(0x266)],_0x557e7f[0x0],this['_handler']);return _0x5d6bf5[_0x2ac668(0x46a)](),_0x5d6bf5;}return this[_0x2ac668(0x1bb)](!0x1);}catch(_0x32d4c0){return this['_logService'][_0x2ac668(0x231)](_0x32d4c0),this[_0x2ac668(0x1bb)](!0x1);}}['onRemoteAck'](_0x5bd09b){var _0x5ce563=_0x3125cd;this['_clearScheduledTask']();const _0x1e5190=this[_0x5ce563(0x2a1)]['getCurrentRevOfUnit'](this[_0x5ce563(0x11c)]);if(_0x5bd09b[_0x5ce563(0x1f6)]<_0x1e5190-0x1)return this;if(this['_checkMissing'](_0x5bd09b))return this[_0x5ce563(0x1a2)][_0x5ce563(0x1d1)](_0x1a0555['FetchingMissState'],this[_0x5ce563(0x11c)],this['type'],null,[],this[_0x5ce563(0x2f1)],[],this[_0x5ce563(0x276)]);this['_incrementRevisionNumber']();const _0x17a0a3=this[_0x5ce563(0x1a2)][_0x5ce563(0x1d1)](_0x1a0555[_0x5ce563(0x30a)],this['unitID'],this[_0x5ce563(0x266)],this[_0x5ce563(0x276)]);return _0x17a0a3[_0x5ce563(0x46a)](),_0x17a0a3;}[_0x3125cd(0x284)](_0x147350){var _0x112679=_0x3125cd;return this['_onConflict'](!!(_0x147350!=null&&_0x147350[_0x112679(0x26c)]));}[_0x3125cd(0x277)](_0x3d8bf3){var _0x5f2761=_0x3125cd;return this[_0x5f2761(0x1e8)]>_0x2aa9af?this['toggleOffline']():(this[_0x5f2761(0x149)]=_0x48f847(this['_resendTimeout'],{'timeout':this[_0x5f2761(0x485)],'reqId':_0x3d8bf3[_0x5f2761(0x338)]}),this[_0x5f2761(0xfa)]=this[_0x5f2761(0x149)][_0x5f2761(0x399)](({reqId:_0x2943b0,timeout:_0xf31877})=>{this['_resendWithTimeout'](_0x2943b0,_0xf31877);}),this);}[_0x3125cd(0x320)](){var _0x4b75e3=_0x3125cd;return this[_0x4b75e3(0x2e7)](),this['_injector']['createInstance'](_0x1a0555[_0x4b75e3(0x207)],this[_0x4b75e3(0x11c)],this['type'],this[_0x4b75e3(0x2f1)],[],this[_0x4b75e3(0x276)]);}[_0x3125cd(0x34e)](){return this;}[_0x3125cd(0x3b0)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x578b6d){var _0x33a69d=_0x3125cd;return this[_0x33a69d(0x2e7)](),this['_injector']['createInstance'](_0x1a0555[_0x33a69d(0x175)],this['unitID'],this['type'],this[_0x33a69d(0x2f1)],[],this[_0x33a69d(0x276)],_0x578b6d);}[_0x3125cd(0x110)](_0x180034,_0x418080){var _0xd8cdfc=_0x3125cd,_0x27245a;_0x180034===((_0x27245a=this[_0xd8cdfc(0x2f1)])==null?void 0x0:_0x27245a['reqId'])&&(this[_0xd8cdfc(0x3b0)](),this[_0xd8cdfc(0x485)]=_0x418080===0x0?0x3e8:Math['min'](_0x418080*0x2,_0x4f7161),this[_0xd8cdfc(0x1e8)]+=this[_0xd8cdfc(0x485)]);}[_0x3125cd(0x2e7)](){var _0x3b5278=_0x3125cd,_0x4580ae;(_0x4580ae=this[_0x3b5278(0xfa)])==null||_0x4580ae['unsubscribe'](),this[_0x3b5278(0x485)]=0x0,this[_0x3b5278(0x1e8)]=0x0;}},_0x1a0555[_0x3125cd(0x26e)]=_0x49a640([_0x49eda2(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x49eda2(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0x6,_0x5c9291[_0x3125cd(0x357)]),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x109)]),_0x49eda2(0x8,_0x319b76['ITransformService']),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0xa,_0x5c9291['Optional'](_0x1d3985))],_0x1a0555['AwaitingState']),_0x1a0555[_0x3125cd(0x41a)]=class extends _0x5463be{constructor(_0x3a0671,_0x423d10,_0x5d7baa,_0x4cffe4,_0x1359a7,_0x185b43,_0x3bd6db,_0x15f196,_0x3a6f39,_0xf0363f,_0x98fd67,_0x401118,_0x41eb5e){var _0x4926d2=_0x3125cd;super(_0x3a0671,_0x423d10,_0x5d7baa,_0x4cffe4,_0x1359a7,_0x3a6f39,_0x401118,_0x15f196,_0x41eb5e),_0x27328e(this,'status',_0x4926d2(0xf8)),_0x27328e(this,'_resendTimeout',0x0),_0x27328e(this,_0x4926d2(0x1e8),0x0),_0x27328e(this,_0x4926d2(0x149)),_0x27328e(this,_0x4926d2(0xfa)),(this[_0x4926d2(0x1a2)]=_0x3bd6db,this[_0x4926d2(0x18a)]=_0xf0363f,this[_0x4926d2(0x1eb)]=_0x98fd67,this[_0x4926d2(0x20d)]=_0x41eb5e,_0x185b43&&(this['_resendTimer']=_0x185b43,this['_sender']=this[_0x4926d2(0x149)][_0x4926d2(0x399)](({reqId:_0x23d78c,timeout:_0x49d196})=>{var _0x341f2b=_0x4926d2;this[_0x341f2b(0x110)](_0x23d78c,_0x49d196);})));}['appendMutation'](_0x326ddd){var _0x20b6b7=_0x3125cd;return this[_0x20b6b7(0x29a)][_0x20b6b7(0x123)](_0x326ddd),this;}[_0x3125cd(0x2b3)](_0x12db25){var _0x4febc9=_0x3125cd;if(this[_0x4febc9(0x278)](_0x12db25))return this[_0x4febc9(0x2e7)](),this[_0x4febc9(0x1a2)][_0x4febc9(0x1d1)](_0x1a0555[_0x4febc9(0xf6)],this['unitID'],this[_0x4febc9(0x266)],this['_awaitingChangeset'],this[_0x4febc9(0x29a)],null,[_0x12db25],this['_handler']);try{const _0xf666f7=this[_0x4febc9(0x1eb)][_0x4febc9(0x2c8)]([_0x12db25],[this[_0x4febc9(0x2f1)]],!0x1);if(_0x319b76[_0x4febc9(0x44d)](_0xf666f7)){const {c1Prime:_0x3ac68f,c2Prime:_0x44c3e1}=_0xf666f7,_0x79fe2a=this[_0x4febc9(0x1eb)][_0x4febc9(0x2cb)](_0x3ac68f[0x0],this['_pendingMutations']);if(_0x319b76[_0x4febc9(0x43b)](_0x79fe2a)){const {c1Prime:_0x1aa788,m2Prime:_0x341ed8}=_0x79fe2a;return this[_0x4febc9(0x144)](_0x1aa788),_0x44c3e1[0x0][_0x4febc9(0x181)]=this['_getCurrentRevision'](),this[_0x4febc9(0x2e7)](),this[_0x4febc9(0x1a2)][_0x4febc9(0x1d1)](_0x1a0555['AwaitingWithPendingState'],this['unitID'],this[_0x4febc9(0x266)],_0x44c3e1[0x0],_0x341ed8,this[_0x4febc9(0x276)],void 0x0);}throw _0x79fe2a[_0x4febc9(0x231)];}throw _0xf666f7[_0x4febc9(0x231)];}catch(_0x3ea2e0){return this[_0x4febc9(0x18a)][_0x4febc9(0x231)](_0x3ea2e0),this[_0x4febc9(0x1bb)](!0x1);}}['onRemoteAck'](_0xa75097){var _0x4eb7bd=_0x3125cd;if(this['_clearScheduledTask'](),this[_0x4eb7bd(0x278)](_0xa75097))return this[_0x4eb7bd(0x1a2)][_0x4eb7bd(0x1d1)](_0x1a0555[_0x4eb7bd(0xf6)],this['unitID'],this[_0x4eb7bd(0x266)],null,this[_0x4eb7bd(0x29a)],this['_awaitingChangeset'],[],this[_0x4eb7bd(0x276)]);this[_0x4eb7bd(0x448)]();const _0x28fe34=this[_0x4eb7bd(0x1a2)][_0x4eb7bd(0x1d1)](_0x1a0555[_0x4eb7bd(0x255)],this[_0x4eb7bd(0x11c)],this[_0x4eb7bd(0x266)],this[_0x4eb7bd(0x29a)],this[_0x4eb7bd(0x276)]);return _0x28fe34[_0x4eb7bd(0x418)](),_0x28fe34[_0x4eb7bd(0x46a)](),_0x28fe34;}[_0x3125cd(0x284)](_0x3d0226){var _0x18e7d1=_0x3125cd;return this[_0x18e7d1(0x1bb)](!!(_0x3d0226!=null&&_0x3d0226[_0x18e7d1(0x26c)]));}[_0x3125cd(0x277)](_0x2b4db8){var _0x1db727=_0x3125cd;return this[_0x1db727(0x1e8)]>_0x2aa9af?this[_0x1db727(0x320)]():(this[_0x1db727(0x149)]=_0x48f847(this['_resendTimeout'],{'timeout':this[_0x1db727(0x485)],'reqId':_0x2b4db8[_0x1db727(0x338)]}),this[_0x1db727(0xfa)]=this[_0x1db727(0x149)][_0x1db727(0x399)](({reqId:_0x4a6ed4,timeout:_0x264aee})=>{var _0x25a2cf=_0x1db727;this[_0x25a2cf(0x110)](_0x4a6ed4,_0x264aee);}),this);}['toggleOffline'](){var _0x8bc13d=_0x3125cd;return this[_0x8bc13d(0x2e7)](),this[_0x8bc13d(0x1a2)][_0x8bc13d(0x1d1)](_0x1a0555[_0x8bc13d(0x207)],this[_0x8bc13d(0x11c)],this[_0x8bc13d(0x266)],this[_0x8bc13d(0x2f1)],this[_0x8bc13d(0x29a)],this[_0x8bc13d(0x276)]);}['toggleOnline'](){return this;}[_0x3125cd(0x3b0)](){var _0x49bb29=_0x3125cd;this['_handler']['onSendChangeset'](this[_0x49bb29(0x2f1)]);}['_onConflict'](_0x4a7478){var _0x35c796=_0x3125cd;return this[_0x35c796(0x2e7)](),this[_0x35c796(0x1a2)][_0x35c796(0x1d1)](_0x1a0555[_0x35c796(0x175)],this['unitID'],this['type'],null,this[_0x35c796(0x29a)],this[_0x35c796(0x276)],_0x4a7478);}[_0x3125cd(0x110)](_0x5d560e,_0x433f98){var _0x5329d8=_0x3125cd,_0x356521;_0x5d560e===((_0x356521=this['_awaitingChangeset'])==null?void 0x0:_0x356521['reqId'])&&(this['resend'](),this[_0x5329d8(0x485)]=_0x433f98===0x0?0x3e8:Math[_0x5329d8(0x3d7)](_0x433f98*0x2,_0x4f7161),this[_0x5329d8(0x1e8)]+=this['_resendTimeout']);}['_clearScheduledTask'](){var _0x548553=_0x3125cd,_0x510e47;(_0x510e47=this[_0x548553(0xfa)])==null||_0x510e47[_0x548553(0x205)](),this[_0x548553(0x485)]=0x0,this[_0x548553(0x1e8)]=0x0;}},_0x1a0555[_0x3125cd(0x41a)]=_0x49a640([_0x49eda2(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0x8,_0x5c9291[_0x3125cd(0x357)]),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x109)]),_0x49eda2(0xa,_0x319b76['ITransformService']),_0x49eda2(0xb,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0xc,_0x5c9291['Optional'](_0x1d3985))],_0x1a0555['AwaitingWithPendingState']),_0x1a0555[_0x3125cd(0x175)]=class extends _0x5463be{constructor(_0x4d77ff,_0x3514e4,_0x5b638d,_0x324cbc,_0x4b8b18,_0x17bc3c=!0x1,_0x2937ce,_0x544787,_0x3ba46b,_0x52c95e,_0x3a6ac8,_0xbf59f5,_0x5c38af){var _0x170a30=_0x3125cd;super(_0x4d77ff,_0x3514e4,_0x5b638d,_0x324cbc,_0x4b8b18,_0x544787,_0x3ba46b,_0x52c95e,_0x5c38af),_0x27328e(this,'status','conflict'),(this[_0x170a30(0x289)]=_0x17bc3c,this[_0x170a30(0x416)]=_0x2937ce,this['_localeService']=_0x3a6ac8,this[_0x170a30(0xef)]=_0xbf59f5,this[_0x170a30(0x20d)]=_0x5c38af,this[_0x170a30(0x1e0)](),this[_0x170a30(0x31b)](),this['_disableEditing']());}[_0x3125cd(0x2bd)](){return this;}[_0x3125cd(0x2b3)](){return this;}[_0x3125cd(0x390)](){return this;}[_0x3125cd(0x284)](){return this;}['onRemoteRetry'](){return this;}[_0x3125cd(0x320)](){return this;}[_0x3125cd(0x34e)](){return this;}[_0x3125cd(0x3b0)](){var _0x4fd3cf=_0x3125cd;throw new Error(_0x4fd3cf(0x1f2));}[_0x3125cd(0x31b)](){var _0x32635f=_0x3125cd,_0xa6f4f7;(_0xa6f4f7=this[_0x32635f(0x219)])==null||_0xa6f4f7[_0x32635f(0x340)](this[_0x32635f(0x11c)],this[_0x32635f(0x266)],null,[]);}['_showConflictNotification'](){var _0x2e98a6=_0x3125cd;this[_0x2e98a6(0x289)]?this['_collaborationUIEventService'][_0x2e98a6(0x179)]({'id':_0x19b9e8[_0x2e98a6(0x2e4)]}):this[_0x2e98a6(0xef)][_0x2e98a6(0x179)]({'id':_0x19b9e8[_0x2e98a6(0x19a)]});}[_0x3125cd(0x15d)](){var _0x1147d5=_0x3125cd;this[_0x1147d5(0x416)][_0x1147d5(0x127)](new _0x22532b[(_0x1147d5(0x19c))](this[_0x1147d5(0x11c)])['id'],!0x1);}},_0x1a0555[_0x3125cd(0x175)]=_0x49a640([_0x49eda2(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0x1da)])),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x357)]),_0x49eda2(0x8,_0x5c9291['IUndoRedoService']),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0xa,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0x3f9)])),_0x49eda2(0xb,_0x5c9291['Inject'](_0x5cf853)),_0x49eda2(0xc,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555['ConflictState']),_0x1a0555[_0x3125cd(0x207)]=class extends _0x5463be{constructor(_0x5e58ec,_0x72cad1,_0x766890,_0xd39344,_0x47d09d,_0x17b063,_0x30f57a,_0x2acc64,_0x3e5af3,_0x25f942){var _0x120b58=_0x3125cd;super(_0x5e58ec,_0x72cad1,_0x766890,_0xd39344,_0x47d09d,_0x2acc64,_0x3e5af3,_0x30f57a,_0x25f942),_0x27328e(this,_0x120b58(0x262),'offline'),this['_injector']=_0x17b063;}[_0x3125cd(0x2bd)](_0x1eed53){var _0x3c950b=_0x3125cd;return this[_0x3c950b(0x29a)][_0x3c950b(0x123)](_0x1eed53),this['_updateLocalCache'](),this;}[_0x3125cd(0x2b3)](_0x52b65b){var _0x295bbc=_0x3125cd;throw new Error(_0x295bbc(0x3ae));}[_0x3125cd(0x390)](){var _0x1ecd60=_0x3125cd;throw new Error(_0x1ecd60(0x415));}[_0x3125cd(0x284)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3125cd(0x277)](){return this;}[_0x3125cd(0x320)](){return this;}[_0x3125cd(0x34e)](){var _0x45b321=_0x3125cd;const {_injector:_0x56fa1d,_pendingMutations:_0x5ddbc0,_awaitingChangeset:_0x44f256,unitID:_0x2ad974,_handler:_0x15211f,type:_0x30f3d7}=this,_0x3d335f=_0xbbe362(_0x56fa1d,_0x2ad974,_0x30f3d7,_0x44f256,_0x5ddbc0,_0x15211f);return _0x3d335f instanceof _0x1a0555['PendingState']?_0x3d335f[_0x45b321(0x418)]():(_0x3d335f instanceof _0x1a0555[_0x45b321(0x41a)]||_0x3d335f instanceof _0x1a0555['AwaitingState'])&&_0x3d335f[_0x45b321(0x3b0)](),_0x3d335f;}[_0x3125cd(0x3b0)](){var _0x226123=_0x3125cd;throw new Error(_0x226123(0x442));}},_0x1a0555[_0x3125cd(0x207)]=_0x49a640([_0x49eda2(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['Injector'])),_0x49eda2(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x357)]),_0x49eda2(0x8,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555['OfflineState']),_0x1a0555['FetchingMissState']=class extends _0x5463be{constructor(_0x200965,_0x420b73,_0x23fb8c,_0x9c86a6,_0x1b0a7b,_0x1e8aa3,_0x411a7f,_0x229ee4,_0x56b84f,_0x36509f,_0x1eb381,_0x4654cf,_0x124153,_0x1759aa){var _0xb31b90=_0x3125cd;super(_0x200965,_0x420b73,_0x23fb8c,_0x9c86a6,_0x411a7f,_0x1eb381,_0x4654cf,_0x56b84f,_0x1759aa),_0x27328e(this,_0xb31b90(0x262),_0xb31b90(0x404)),(this[_0xb31b90(0x177)]=_0x1b0a7b,this['_queuedRemoteChangesets']=_0x1e8aa3,this[_0xb31b90(0x1a2)]=_0x229ee4,this[_0xb31b90(0x18a)]=_0x36509f,this[_0xb31b90(0x1eb)]=_0x124153,this[_0xb31b90(0x20d)]=_0x1759aa);}[_0x3125cd(0x33e)](_0x339cb7){var _0x2f250e=_0x3125cd;try{const _0x3b5c63=[..._0x339cb7,...this[_0x2f250e(0x3e4)]],_0x4bf869=[this['_awaitingChangeset']||this[_0x2f250e(0x177)]]['filter'](_0x24a192=>!!_0x24a192);let _0x4fcf32,_0x3a327c;if(_0x4bf869[_0x2f250e(0x367)]){const _0xd11149=this[_0x2f250e(0x1eb)][_0x2f250e(0x2c8)](_0x3b5c63,_0x4bf869,!0x1);if(!_0x319b76[_0x2f250e(0x44d)](_0xd11149))throw _0xd11149[_0x2f250e(0x231)];_0x4fcf32=_0xd11149['c1Prime'],_0x3a327c=_0xd11149[_0x2f250e(0x325)];}else _0x4fcf32=_0x3b5c63,_0x3a327c=[];let _0x2bb479=this[_0x2f250e(0x29a)];_0x4fcf32[_0x2f250e(0x322)](_0x2266a0=>{var _0x36dca4=_0x2f250e;let _0x349a7c;if(_0x2bb479['length']){const _0x44e53d=this[_0x36dca4(0x1eb)][_0x36dca4(0x2cb)](_0x2266a0,_0x2bb479);if(!_0x319b76[_0x36dca4(0x43b)](_0x44e53d))throw _0x44e53d[_0x36dca4(0x231)];_0x349a7c=_0x44e53d[_0x36dca4(0x1c4)],_0x2bb479=_0x44e53d['m2Prime'];}else _0x349a7c=_0x2266a0;this[_0x36dca4(0x144)](_0x349a7c);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2f250e(0x448)](),this[_0x2f250e(0x2f1)]&&_0x3a327c['length']&&(_0x3a327c[0x0][_0x2f250e(0x181)]=this['_getCurrentRevision']());let _0x183463;if(this[_0x2f250e(0x2f1)]&&_0x2bb479[_0x2f250e(0x367)]!==0x0)_0x183463=this[_0x2f250e(0x1a2)][_0x2f250e(0x1d1)](_0x1a0555[_0x2f250e(0x41a)],this[_0x2f250e(0x11c)],this[_0x2f250e(0x266)],_0x3a327c[0x0],_0x2bb479,this[_0x2f250e(0x276)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2bb479[_0x2f250e(0x367)]===0x0)_0x3a327c[0x0][_0x2f250e(0x181)]=this['_getCurrentRevision'](),_0x183463=this[_0x2f250e(0x1a2)][_0x2f250e(0x1d1)](_0x1a0555[_0x2f250e(0x26e)],this['unitID'],this['type'],_0x3a327c[0x0],this[_0x2f250e(0x276)]);else{if(_0x2bb479[_0x2f250e(0x367)]!==0x0){const _0x48df64=this[_0x2f250e(0x1a2)][_0x2f250e(0x1d1)](_0x1a0555[_0x2f250e(0x255)],this[_0x2f250e(0x11c)],this[_0x2f250e(0x266)],_0x2bb479,this[_0x2f250e(0x276)]);_0x48df64['_schedule'](),_0x183463=_0x48df64;}else _0x183463=this[_0x2f250e(0x1a2)][_0x2f250e(0x1d1)](_0x1a0555[_0x2f250e(0x30a)],this[_0x2f250e(0x11c)],this[_0x2f250e(0x266)],this['_handler']);}}return _0x183463[_0x2f250e(0x46a)](),_0x183463;}catch(_0x4d1754){return this['_logService'][_0x2f250e(0x231)](_0x2f250e(0x316),_0x2f250e(0x2a7),_0x4d1754),this[_0x2f250e(0x1a2)][_0x2f250e(0x1d1)](_0x1a0555['ConflictState'],this[_0x2f250e(0x11c)],this[_0x2f250e(0x266)],this[_0x2f250e(0x2f1)],this[_0x2f250e(0x29a)],this[_0x2f250e(0x276)],!0x1);}}[_0x3125cd(0x3b0)](){var _0x31b965=_0x3125cd;throw new Error(_0x31b965(0x211));}[_0x3125cd(0x2bd)](_0x76c76f){var _0x485772=_0x3125cd;return this['_pendingMutations'][_0x485772(0x123)](_0x76c76f),this;}[_0x3125cd(0x2b3)](_0x3a3858){var _0xeb74cc=_0x3125cd;return this[_0xeb74cc(0x3e4)][_0xeb74cc(0x123)](_0x3a3858),this;}[_0x3125cd(0x390)](_0xc0018e){var _0x5e064f=_0x3125cd;if(this[_0x5e064f(0x2f1)])return this[_0x5e064f(0x177)]=this[_0x5e064f(0x2f1)],this['_awaitingChangeset']=null,this;throw new Error(_0x5e064f(0x1b0));}[_0x3125cd(0x284)](_0x28f9e2){var _0x47ddcc=_0x3125cd;return this['_onConflict'](!!(_0x28f9e2!=null&&_0x28f9e2[_0x47ddcc(0x26c)]));}[_0x3125cd(0x277)](){return this;}['toggleOffline'](){var _0x4a319a=_0x3125cd;return this['_injector'][_0x4a319a(0x1d1)](_0x1a0555['OfflineState'],this[_0x4a319a(0x11c)],this[_0x4a319a(0x266)],this[_0x4a319a(0x2f1)],this['_pendingMutations'],this['_handler']);}[_0x3125cd(0x34e)](){return this;}['_onConflict'](_0x30365d){var _0x43755f=_0x3125cd;return this['_injector'][_0x43755f(0x1d1)](_0x1a0555[_0x43755f(0x175)],this[_0x43755f(0x11c)],this[_0x43755f(0x266)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x43755f(0x276)],_0x30365d);}},_0x1a0555['FetchingMissState']=_0x49a640([_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['Injector'])),_0x49eda2(0x8,_0x5c9291[_0x3125cd(0x10f)](_0x319b76['RevisionService'])),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x109)]),_0x49eda2(0xa,_0x5c9291['ICommandService']),_0x49eda2(0xb,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0xc,_0x319b76[_0x3125cd(0x332)]),_0x49eda2(0xd,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555[_0x3125cd(0xf6)]);function _0xbbe362(_0x80d05d,_0xdfa2b5,_0x3e9ab9,_0xdf6267,_0x4c98eb,_0x15fe4b){var _0x427126=_0x3125cd;return _0xdf6267&&_0x4c98eb['length']?_0x80d05d[_0x427126(0x1d1)](_0x1a0555['AwaitingWithPendingState'],_0xdfa2b5,_0x3e9ab9,_0xdf6267,_0x4c98eb,_0x15fe4b,void 0x0):_0xdf6267?_0x80d05d['createInstance'](_0x1a0555[_0x427126(0x26e)],_0xdfa2b5,_0x3e9ab9,_0xdf6267,_0x15fe4b):_0x4c98eb['length']?_0x80d05d['createInstance'](_0x1a0555[_0x427126(0x255)],_0xdfa2b5,_0x3e9ab9,_0x4c98eb,_0x15fe4b):_0x80d05d[_0x427126(0x1d1)](_0x1a0555[_0x427126(0x30a)],_0xdfa2b5,_0x3e9ab9,_0x15fe4b);}var _0x46a5f6=Object[_0x3125cd(0x143)],_0x3cc6b3=(_0x5aa491,_0x2474b2,_0x161d7d,_0x154a6c)=>{var _0x5030a6=_0x3125cd;for(var _0x553f21=_0x154a6c>0x1?void 0x0:_0x154a6c?_0x46a5f6(_0x2474b2,_0x161d7d):_0x2474b2,_0x51ad9e=_0x5aa491[_0x5030a6(0x367)]-0x1,_0x42649c;_0x51ad9e>=0x0;_0x51ad9e--)(_0x42649c=_0x5aa491[_0x51ad9e])&&(_0x553f21=_0x42649c(_0x553f21)||_0x553f21);return _0x553f21;},_0x3ef79f=(_0x49bf37,_0x56ddb8)=>(_0x4ec851,_0x59ae8f)=>_0x56ddb8(_0x4ec851,_0x59ae8f,_0x49bf37);_0x1a0555[_0x3125cd(0x2b8)]=class extends _0x5c9291[_0x3125cd(0x267)]{constructor(_0x579e29,_0x4564f4,_0x1a466c,_0x28a1c8,_0x5b92e8,_0x491a41,_0x5c1d9e,_0x5ec62f,_0xc7ef07,_0x1c8083,_0x18eae6,_0x185881,_0x397839,_0x30d441){var _0x49fc3c=_0x3125cd;super(),_0x27328e(this,_0x49fc3c(0x265),new _0x41392c['BehaviorSubject'](null)),_0x27328e(this,_0x49fc3c(0x126),this[_0x49fc3c(0x265)][_0x49fc3c(0x241)]()),_0x27328e(this,_0x49fc3c(0x1c1)),_0x27328e(this,'_collaborationPaused',!0x1),_0x27328e(this,_0x49fc3c(0x355),''),_0x27328e(this,_0x49fc3c(0x2ce),0x0),_0x27328e(this,_0x49fc3c(0xee),this['state$'][_0x49fc3c(0x34f)](_0x41392c['map'](_0x2009af=>_0x2009af?_0x2009af[_0x49fc3c(0x262)]:_0x2c3058['OFFLINE']),_0x41392c[_0x49fc3c(0x39f)](0x1))),_0x27328e(this,'_transitionLocked',!0x1),_0x27328e(this,_0x49fc3c(0x1ca),[]),(this[_0x49fc3c(0x11c)]=_0x579e29,this[_0x49fc3c(0x2cc)]=_0x4564f4,this[_0x49fc3c(0x1ad)]=_0x1a466c,this[_0x49fc3c(0x1a2)]=_0x28a1c8,this[_0x49fc3c(0x13a)]=_0x5b92e8,this[_0x49fc3c(0x47c)]=_0x491a41,this[_0x49fc3c(0x2a1)]=_0x5c1d9e,this['_eventService']=_0x5ec62f,this[_0x49fc3c(0x471)]=_0xc7ef07,this[_0x49fc3c(0x18a)]=_0x1c8083,this[_0x49fc3c(0x479)]=_0x18eae6,this[_0x49fc3c(0x416)]=_0x185881,this[_0x49fc3c(0x169)]=_0x397839,this[_0x49fc3c(0x219)]=_0x30d441);}get[_0x3125cd(0x14a)](){var _0x325756=_0x3125cd;return this[_0x325756(0x1c1)];}async[_0x3125cd(0xd6)](){var _0x56ecb0=_0x3125cd;if(this[_0x56ecb0(0x14a)])throw new Error(_0x56ecb0(0x37d));await this[_0x56ecb0(0x141)]();}[_0x3125cd(0x23d)](){var _0x2ad687=_0x3125cd;return this[_0x2ad687(0x47e)]=!0x0,_0x5c9291[_0x2ad687(0x46c)](()=>{var _0x25c33c=_0x2ad687;this['_collaborationPaused']=!0x1,this[_0x25c33c(0x12b)]();});}[_0x3125cd(0x45d)](_0x161f90){var _0x5ebd35=_0x3125cd;this[_0x5ebd35(0x1ed)](_0x161f90);}[_0x3125cd(0x393)](_0x54fe7b){var _0x109205=_0x3125cd;this['_state']=_0x54fe7b,this[_0x109205(0x265)]['next'](_0x54fe7b);}async[_0x3125cd(0x141)](){var _0x1dc599=_0x3125cd,_0x32d219;this[_0x1dc599(0x393)](await this[_0x1dc599(0x23a)]()),this[_0x1dc599(0x169)]&&((_0x32d219=this[_0x1dc599(0x169)])==null||_0x32d219['editingUnit'](this['unitID']),this[_0x1dc599(0xf3)](this['_singleActiveUnitService'][_0x1dc599(0x2b5)](this['unitID'])[_0x1dc599(0x399)](_0x25313a=>{var _0x2a24ab=_0x1dc599;this[_0x2a24ab(0x18a)][_0x2a24ab(0x20c)](_0x2a24ab(0x3ef),_0x2a24ab(0x2fc),_0x25313a),_0x25313a===_0x29e528['OTHER_CLIENTS_EDITING']?(this[_0x2a24ab(0x271)][_0x2a24ab(0x179)]({'id':_0x19b9e8[_0x2a24ab(0x40a)]}),this[_0x2a24ab(0x416)][_0x2a24ab(0x127)](new _0x22532b[(_0x2a24ab(0x19c))](this[_0x2a24ab(0x11c)])['id'],!0x1),this[_0x2a24ab(0x416)][_0x2a24ab(0x47b)](!0x1)):(this[_0x2a24ab(0x416)][_0x2a24ab(0x127)](new _0x22532b[(_0x2a24ab(0x19c))](this[_0x2a24ab(0x11c)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x13fca2=!0x1;return this[_0x1dc599(0xf3)](this[_0x1dc599(0x2cc)]['sessionStatus$']['subscribe'](_0x3a4512=>{var _0xa47e4f=_0x1dc599;_0x3a4512===_0x8660ba['ONLINE']?this[_0xa47e4f(0x2a0)](_0x13fca2):_0x3a4512===_0x8660ba[_0xa47e4f(0x2c5)]&&(_0x13fca2=!0x0,this[_0xa47e4f(0x3f0)]());})),this[_0x1dc599(0xf3)](this['session']['event$'][_0x1dc599(0x399)](_0x4b339d=>{var _0x481e25=_0x1dc599;try{switch(_0x4b339d[_0x481e25(0x2ff)]){case _0x319b76[_0x481e25(0xff)][_0x481e25(0x34b)]:{this[_0x481e25(0x1a1)](_0x319b76[_0x481e25(0xe9)](_0x4b339d[_0x481e25(0x438)]));break;}case _0x319b76[_0x481e25(0xff)]['CHANGESET_ACK']:{this[_0x481e25(0x2bf)](_0x4b339d['data']);break;}case _0x319b76[_0x481e25(0xff)][_0x481e25(0x3ca)]:{this[_0x481e25(0x2b0)]();break;}case _0x319b76[_0x481e25(0xff)][_0x481e25(0x1c6)]:{this['_onRemoteRetry'](_0x4b339d[_0x481e25(0x438)]);break;}case _0x319b76['CollaborationEvent'][_0x481e25(0x293)]:{this[_0x481e25(0x3d6)](_0x4b339d[_0x481e25(0x438)][_0x481e25(0x2ec)][_0x481e25(0x434)](_0x3a8337=>_0x319b76[_0x481e25(0xe9)](_0x3a8337)));break;}case _0x319b76[_0x481e25(0xff)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x319b76['CollaborationEvent'][_0x481e25(0x12a)]:break;}}catch(_0x3840dc){throw console[_0x481e25(0x231)]('Error\x20on\x20receiving\x20event',_0x3840dc),_0x3840dc;}})),this[_0x1dc599(0x1c1)];}['_unlockTransition'](){var _0x9f06d4=_0x3125cd;this[_0x9f06d4(0x3c5)]=!0x1;}['_lockTransition'](){var _0x3b04b0=_0x3125cd;if(this['_transitionLocked'])throw new Error(_0x3b04b0(0x1af));this[_0x3b04b0(0x3c5)]=!0x0;}[_0x3125cd(0x1ed)](_0x222a35){var _0x252cd1=_0x3125cd;this['_lockTransition'](),this[_0x252cd1(0x393)](this[_0x252cd1(0x1c1)][_0x252cd1(0x2bd)](_0x222a35)),this[_0x252cd1(0x27d)]();}[_0x3125cd(0x1a1)](_0x2f92f3){var _0x16e25f=_0x3125cd;if(!(_0x2f92f3[_0x16e25f(0x1f6)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x16e25f(0x11c)]))){if(this['_collaborationPaused']){this[_0x16e25f(0x1ca)][_0x16e25f(0x123)](_0x2f92f3);return;}this[_0x16e25f(0x2a9)](_0x2f92f3);}}[_0x3125cd(0x12b)](){var _0x14b0d0=_0x3125cd;this[_0x14b0d0(0x1ca)]['forEach'](_0x46b388=>this['_applyRemoteChangeset'](_0x46b388)),this[_0x14b0d0(0x1ca)]=[];}[_0x3125cd(0x2a9)](_0x50b87e){var _0x309911=_0x3125cd;const _0x1e3195=this['_compressMutationService'][_0x309911(0x2c1)][_0x309911(0x10d)](this['_compressMutationService'][_0x309911(0x2c1)][_0x309911(0x2c2)]()[_0x309911(0x362)])(_0x50b87e[_0x309911(0x457)],null)||_0x50b87e['mutations'],_0x3a23ce={..._0x50b87e,'mutations':_0x1e3195};this[_0x309911(0x204)](),this[_0x309911(0x393)](this[_0x309911(0x1c1)][_0x309911(0x2b3)](_0x3a23ce)),this['_unlockTransition']();}['_onRemoteACK'](_0x8825c3){var _0x49700f=_0x3125cd;this[_0x49700f(0x204)](),this[_0x49700f(0x393)](this['_state'][_0x49700f(0x390)](_0x8825c3)),this[_0x49700f(0x27d)]();}[_0x3125cd(0x2b0)](_0x483db5){var _0x2ea18f=_0x3125cd;this[_0x2ea18f(0x204)](),this['_updateState'](this['_state'][_0x2ea18f(0x284)](_0x483db5)),this[_0x2ea18f(0x27d)]();}['_onRemoteRetry'](_0xeb5207){var _0x3ce105=_0x3125cd;this[_0x3ce105(0x204)](),this['_updateState'](this[_0x3ce105(0x1c1)]['onRemoteRetry'](_0xeb5207)),this[_0x3ce105(0x27d)]();}[_0x3125cd(0x3d6)](_0x43845d){var _0x3535a5=_0x3125cd;if(!(this[_0x3535a5(0x1c1)]instanceof _0x1a0555[_0x3535a5(0xf6)]))throw new TypeError(_0x3535a5(0x39d));const _0x28c9ed=_0x43845d[_0x3535a5(0x434)](_0x5310c6=>{var _0x2d8eaa=_0x3535a5;const _0x9c93ff=this[_0x2d8eaa(0x13a)][_0x2d8eaa(0x2c1)][_0x2d8eaa(0x10d)](this['_compressMutationService'][_0x2d8eaa(0x2c1)]['getInterceptPoints']()[_0x2d8eaa(0x362)])(_0x5310c6[_0x2d8eaa(0x457)],null)||_0x5310c6[_0x2d8eaa(0x457)];return{..._0x5310c6,'mutations':_0x9c93ff};});this['_lockTransition'](),this[_0x3535a5(0x393)](this[_0x3535a5(0x1c1)]['onMissedChangesetFetched'](_0x28c9ed)),this[_0x3535a5(0x27d)]();}[_0x3125cd(0x3f0)](){var _0x1fdcc2=_0x3125cd;this['_lockTransition'](),this[_0x1fdcc2(0x393)](this[_0x1fdcc2(0x1c1)][_0x1fdcc2(0x320)]()),this[_0x1fdcc2(0x27d)]();}['_toggleOnline'](_0x1cb2bc=!0x1){var _0x2bb073=_0x3125cd;this[_0x2bb073(0x204)](),this[_0x2bb073(0x393)](this['_state'][_0x2bb073(0x34e)]()),this[_0x2bb073(0x27d)]();const _0x1e319f=this[_0x2bb073(0x1c1)];_0x1cb2bc&&_0x1e319f instanceof _0x1a0555[_0x2bb073(0x30a)]&&(this[_0x2bb073(0x204)](),this[_0x2bb073(0x393)](_0x1e319f['fetchMiss']()),this[_0x2bb073(0x27d)]());}async[_0x3125cd(0x23a)](){return new Promise(_0x5d8d58=>{var _0x53b021=_0x29a5;this[_0x53b021(0x2cc)]['sessionStatus$'][_0x53b021(0x34f)](_0x41392c[_0x53b021(0x370)](0x1))[_0x53b021(0x399)](async _0x3529d6=>{var _0x1943f5=_0x53b021;_0x5d8d58(await this[_0x1943f5(0x167)](_0x3529d6===_0x8660ba[_0x1943f5(0x28d)]));});});}[_0x3125cd(0x2ed)](){var _0x58212e=_0x3125cd;const _0x170dda=this[_0x58212e(0x11c)];return{'onStateChange':(_0x43aa3b,_0x3a2815)=>{var _0x23be5d=_0x58212e;if(_0x43aa3b!==this['_state'])throw new Error(_0x23be5d(0x3af)+_0x43aa3b[_0x23be5d(0x262)]+_0x23be5d(0xea)+_0x3a2815['status']+_0x23be5d(0x3d2)+this[_0x23be5d(0x1c1)][_0x23be5d(0x262)]);this[_0x23be5d(0x393)](_0x3a2815);},'onSendChangeset':_0x1f4147=>{var _0x2f0638=_0x58212e;_0x1f4147['sid']||(_0x1f4147[_0x2f0638(0x2fa)]=this[_0x2f0638(0x355)],_0x1f4147[_0x2f0638(0x338)]=++this[_0x2f0638(0x2ce)]);const _0x33f81f={'eventID':_0x319b76[_0x2f0638(0xff)][_0x2f0638(0x139)],'data':{'unitID':_0x1f4147['unitID'],'unitType':this[_0x2f0638(0x1ad)],'changeset':_0x1f4147,'memberID':this[_0x2f0638(0x2cc)][_0x2f0638(0x22b)]()}};this[_0x2f0638(0x2cc)][_0x2f0638(0x105)](_0x33f81f,this[_0x2f0638(0x11c)]);},'onMissingChangesets':({from:_0x33064e,to:_0x295a17})=>{var _0x370855=_0x58212e;this['_logService']['debug']('[CollaborationEntity]',_0x370855(0x474)+_0x33064e+_0x370855(0x198)+_0x295a17);const _0x58a053={'eventID':_0x319b76[_0x370855(0xff)][_0x370855(0x41e)],'data':{'unitID':_0x170dda,'unitType':this[_0x370855(0x1ad)],'from':_0x33064e,'to':_0x295a17}};this[_0x370855(0x2cc)][_0x370855(0x105)](_0x58a053,this[_0x370855(0x11c)]);}};}async[_0x3125cd(0x167)](_0xdcf0ef){var _0xb2437a=_0x3125cd,_0x415e58,_0x242b6b,_0x5ebef4;const _0x47a819=await((_0x415e58=this[_0xb2437a(0x219)])==null?void 0x0:_0x415e58[_0xb2437a(0x20b)](this[_0xb2437a(0x11c)])),_0x302a88=(_0x242b6b=_0x47a819==null?void 0x0:_0x47a819[_0xb2437a(0x457)])!=null?_0x242b6b:[],_0x5d65c6=(_0x5ebef4=_0x47a819==null?void 0x0:_0x47a819[_0xb2437a(0x2e3)])!=null?_0x5ebef4:null,_0x2f8820=!!(_0x5d65c6!=null&&_0x5d65c6[_0xb2437a(0x2fa)])&&!!(_0x5d65c6!=null&&_0x5d65c6['reqId']);this[_0xb2437a(0x355)]=_0x2f8820?_0x5d65c6['sid']:_0x319b76[_0xb2437a(0x331)](),this[_0xb2437a(0x2ce)]=_0x2f8820?_0x5d65c6[_0xb2437a(0x338)]:0x0;const _0x4d3a62=this[_0xb2437a(0x11c)];try{this[_0xb2437a(0x1b2)](_0x5d65c6,_0x302a88);}catch(_0x3bc236){this[_0xb2437a(0x18a)]['error'](_0x3bc236);}const _0x40b1c4=this['_createHandler']();if(_0xdcf0ef){const _0x13d89f=_0xbbe362(this['_injector'],_0x4d3a62,this[_0xb2437a(0x1ad)],_0x5d65c6,_0x302a88,_0x40b1c4);return _0x13d89f instanceof _0x1a0555[_0xb2437a(0x255)]?_0x13d89f[_0xb2437a(0x418)]():(_0x13d89f instanceof _0x1a0555[_0xb2437a(0x41a)]||_0x13d89f instanceof _0x1a0555[_0xb2437a(0x26e)])&&_0x13d89f['resend'](),_0x13d89f;}return this['_injector']['createInstance'](_0x1a0555[_0xb2437a(0x207)],_0x4d3a62,this[_0xb2437a(0x1ad)],_0x5d65c6,_0x302a88,_0x40b1c4);}[_0x3125cd(0x1b2)](_0x2a12e9,_0x29cc51){var _0x1614de=_0x3125cd,_0x589491,_0x45fa7e;const _0x5d41c8=this['_compressMutationService'][_0x1614de(0x2c1)][_0x1614de(0x10d)](this[_0x1614de(0x13a)][_0x1614de(0x2c1)][_0x1614de(0x2c2)]()[_0x1614de(0x362)]);(_0x589491=_0x5d41c8((_0x2a12e9==null?void 0x0:_0x2a12e9['mutations'])||[],null))==null||_0x589491[_0x1614de(0x322)](_0x122804=>this['_commandService'][_0x1614de(0x1cb)](_0x122804['id'],_0x122804[_0x1614de(0x197)])),(_0x45fa7e=_0x5d41c8(_0x29cc51||[],null))==null||_0x45fa7e[_0x1614de(0x322)](_0x53527d=>this[_0x1614de(0x479)][_0x1614de(0x1cb)](_0x53527d['id'],_0x53527d['params']));}},_0x1a0555['CollaborationEntity']=_0x3cc6b3([_0x3ef79f(0x3,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x3ef79f(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x131)])),_0x3ef79f(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['LocaleService'])),_0x3ef79f(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x319b76['RevisionService'])),_0x3ef79f(0x7,_0x5c9291[_0x3125cd(0x10f)](_0x5cf853)),_0x3ef79f(0x8,_0x5c9291[_0x3125cd(0x200)]),_0x3ef79f(0x9,_0x5c9291[_0x3125cd(0x109)]),_0x3ef79f(0xa,_0x5c9291[_0x3125cd(0x357)]),_0x3ef79f(0xb,_0x5c9291['IPermissionService']),_0x3ef79f(0xc,_0x5c9291[_0x3125cd(0x3d8)](_0x2753d1)),_0x3ef79f(0xd,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555[_0x3125cd(0x2b8)]),_0x1a0555[_0x3125cd(0x2b6)]=class extends _0x1a0555[_0x3125cd(0x2b8)]{constructor(_0x3b21a2,_0x4be079,_0x397348,_0x1be244,_0x39cc5a,_0x386b34,_0x424b44,_0xce5199,_0x427626,_0x353638,_0x54f4df,_0x3957a7,_0x47eda3,_0x522fe9){var _0x58770a=_0x3125cd;super(_0x3b21a2,_0x397348,_0x4be079,_0x1be244,_0x39cc5a,_0x386b34,_0x424b44,_0xce5199,_0x427626,_0x353638,_0x54f4df,_0x3957a7,_0x47eda3,_0x522fe9),_0x27328e(this,_0x58770a(0x458),null),(this['unitID']=_0x3b21a2,this[_0x58770a(0x266)]=_0x4be079);}[_0x3125cd(0x309)](_0x144934){this['_handlerCallback']=_0x144934;}[_0x3125cd(0x456)](){var _0x13980f=_0x3125cd;this[_0x13980f(0x458)]=null,super[_0x13980f(0x456)]();}['_createHandler'](){var _0x1bd94e=_0x3125cd;const _0x5f4371=super[_0x1bd94e(0x2ed)]();return _0x5f4371['onTransformIME']=_0x393962=>{var _0x432700=_0x1bd94e,_0x16c8d7,_0x48c49e;return(_0x48c49e=(_0x16c8d7=this['_handlerCallback'])==null?void 0x0:_0x16c8d7[_0x432700(0x26a)])==null?void 0x0:_0x48c49e[_0x432700(0x1d4)](_0x16c8d7,_0x393962);},_0x5f4371['onTransformState']=_0x158ef5=>{var _0x3868b7=_0x1bd94e,_0x2a80de,_0x562eaa;return(_0x562eaa=(_0x2a80de=this['_handlerCallback'])==null?void 0x0:_0x2a80de[_0x3868b7(0x461)])==null?void 0x0:_0x562eaa[_0x3868b7(0x1d4)](_0x2a80de,_0x158ef5);},_0x5f4371[_0x1bd94e(0x389)]=_0x201096=>{var _0x55d45b=_0x1bd94e,_0x2115b1,_0x534f92;return(_0x534f92=(_0x2115b1=this[_0x55d45b(0x458)])==null?void 0x0:_0x2115b1[_0x55d45b(0x389)])==null?void 0x0:_0x534f92[_0x55d45b(0x1d4)](_0x2115b1,_0x201096);},_0x5f4371['onSyncEditingCollabCursor']=_0xe35655=>{var _0x42004e=_0x1bd94e,_0x3d0f31,_0x4e086b;return(_0x4e086b=(_0x3d0f31=this['_handlerCallback'])==null?void 0x0:_0x3d0f31[_0x42004e(0x18e)])==null?void 0x0:_0x4e086b[_0x42004e(0x1d4)](_0x3d0f31,_0xe35655);},_0x5f4371[_0x1bd94e(0x29c)]=_0x446738=>{var _0x4b0471=_0x1bd94e,_0x52ba59,_0x59b089,_0x4d2687;if(!((_0x52ba59=this['_handlerCallback'])!=null&&_0x52ba59['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4b0471(0x465));return(_0x4d2687=(_0x59b089=this[_0x4b0471(0x458)])==null?void 0x0:_0x59b089[_0x4b0471(0x29c)])==null?void 0x0:_0x4d2687[_0x4b0471(0x1d4)](_0x59b089,_0x446738);},_0x5f4371[_0x1bd94e(0x2b1)]=_0x18cd4e=>{var _0x5c35ec=_0x1bd94e,_0x17d4f1,_0x491d11,_0x1b3b92;if(!((_0x17d4f1=this[_0x5c35ec(0x458)])!=null&&_0x17d4f1[_0x5c35ec(0x2b1)]))throw new Error(_0x5c35ec(0x3eb));return(_0x1b3b92=(_0x491d11=this[_0x5c35ec(0x458)])==null?void 0x0:_0x491d11['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1b3b92['call'](_0x491d11,_0x18cd4e);},_0x5f4371;}async['_init'](){var _0x47a746=_0x3125cd;const _0x320089=await super[_0x47a746(0x141)]();return this[_0x47a746(0xf3)](this[_0x47a746(0x479)][_0x47a746(0x42d)]((_0xe19a3,_0x549462)=>{var _0x5cd5f0=_0x47a746;if(_0xe19a3['type']!==_0x5c9291[_0x5cd5f0(0xd2)]['MUTATION']||_0x549462!=null&&_0x549462['fromCollab']||_0x549462!=null&&_0x549462[_0x5cd5f0(0x192)]||_0xe19a3['id']===_0x124cb1[_0x5cd5f0(0x31a)]['id'])return;const _0x8c18ec=_0xe19a3[_0x5cd5f0(0x197)];if((_0x8c18ec==null?void 0x0:_0x8c18ec[_0x5cd5f0(0xf0)])!==this[_0x5cd5f0(0x11c)])return;const _0x7ba556=_0xe19a3,_0x155642=this[_0x5cd5f0(0x13a)]['interceptor'][_0x5cd5f0(0x10d)](this[_0x5cd5f0(0x13a)][_0x5cd5f0(0x2c1)]['getInterceptPoints']()[_0x5cd5f0(0x46f)])([_0x7ba556],this[_0x5cd5f0(0x471)])||[_0x7ba556];this[_0x5cd5f0(0x1ed)](_0x155642[0x0]);})),_0x320089;}},_0x1a0555['DocCollaborationEntity']=_0x3cc6b3([_0x3ef79f(0x3,_0x5c9291['Inject'](_0x5c9291[_0x3125cd(0xf9)])),_0x3ef79f(0x4,_0x5c9291['Inject'](_0x319b76[_0x3125cd(0x131)])),_0x3ef79f(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0x3f9)])),_0x3ef79f(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x319b76['RevisionService'])),_0x3ef79f(0x7,_0x5c9291['Inject'](_0x5cf853)),_0x3ef79f(0x8,_0x5c9291['IUniverInstanceService']),_0x3ef79f(0x9,_0x5c9291[_0x3125cd(0x109)]),_0x3ef79f(0xa,_0x5c9291['ICommandService']),_0x3ef79f(0xb,_0x5c9291[_0x3125cd(0x1da)]),_0x3ef79f(0xc,_0x5c9291['Optional'](_0x2753d1)),_0x3ef79f(0xd,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555[_0x3125cd(0x2b6)]),_0x1a0555[_0x3125cd(0x11b)]=class extends _0x1a0555[_0x3125cd(0x2b8)]{constructor(_0x3b197a,_0x504a11,_0x581831,_0x4d11a2,_0x56cd3f,_0x2ccfd9,_0x5307b0,_0x4da5f6,_0xd60f37,_0x821e19,_0x7bb3e8,_0x5d9feb,_0x208eda,_0x1c56f8,_0x3125c5){var _0x479483=_0x3125cd;super(_0x3b197a,_0x581831,_0x504a11,_0x4d11a2,_0x56cd3f,_0x2ccfd9,_0x5307b0,_0xd60f37,_0x821e19,_0x7bb3e8,_0x5d9feb,_0x208eda,_0x1c56f8,_0x3125c5),this['unitID']=_0x3b197a,this['type']=_0x504a11,this[_0x479483(0x445)]=_0x4da5f6;}[_0x3125cd(0x2ed)](){var _0x30c91e=_0x3125cd;const _0x2605ef=super[_0x30c91e(0x2ed)]();return _0x2605ef[_0x30c91e(0x389)]=_0x125e91=>this[_0x30c91e(0x445)]['transformSelections'](_0x125e91),_0x2605ef;}async[_0x3125cd(0x141)](){var _0x242f20=_0x3125cd;const _0x421c7e=await super[_0x242f20(0x141)]();return this[_0x242f20(0xf3)](this[_0x242f20(0x479)][_0x242f20(0x42d)]((_0x2b2dc9,_0x316f79)=>{var _0x2d946b=_0x242f20;if(_0x2b2dc9['type']!==_0x5c9291[_0x2d946b(0xd2)]['MUTATION']||_0x316f79!=null&&_0x316f79[_0x2d946b(0x10a)]||_0x316f79!=null&&_0x316f79['onlyLocal'])return;const _0x77e355=_0x2b2dc9['params'];if((_0x77e355==null?void 0x0:_0x77e355[_0x2d946b(0xf0)])!==this[_0x2d946b(0x11c)])return;const _0x41de7d=_0x2b2dc9,_0x5aebe9=this[_0x2d946b(0x13a)]['interceptor']['fetchThroughInterceptors'](this[_0x2d946b(0x13a)][_0x2d946b(0x2c1)]['getInterceptPoints']()[_0x2d946b(0x46f)])([_0x41de7d],this[_0x2d946b(0x471)])||[_0x41de7d];this[_0x2d946b(0x1ed)](_0x5aebe9[0x0]);})),_0x421c7e;}},_0x1a0555[_0x3125cd(0x11b)]=_0x3cc6b3([_0x3ef79f(0x3,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x3ef79f(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x319b76['CompressMutationService'])),_0x3ef79f(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['LocaleService'])),_0x3ef79f(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x3ef79f(0x7,_0x5c9291[_0x3125cd(0x10f)](_0x1a0555[_0x3125cd(0x2d0)])),_0x3ef79f(0x8,_0x5c9291[_0x3125cd(0x10f)](_0x5cf853)),_0x3ef79f(0x9,_0x5c9291[_0x3125cd(0x200)]),_0x3ef79f(0xa,_0x5c9291[_0x3125cd(0x109)]),_0x3ef79f(0xb,_0x5c9291[_0x3125cd(0x357)]),_0x3ef79f(0xc,_0x5c9291[_0x3125cd(0x1da)]),_0x3ef79f(0xd,_0x5c9291['Optional'](_0x2753d1)),_0x3ef79f(0xe,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555[_0x3125cd(0x11b)]);const _0x5ec6c3=_0x5c9291[_0x3125cd(0x1bc)](_0x3125cd(0x3e6));function _0x3801fe(_0x5b35ca){var _0x5aa848=_0x3125cd,_0x3e8459,_0x27d0bd,_0x4a5c3a,_0x5f1265,_0x1766ff;const _0x326ca7=_0x5b35ca[_0x5aa848(0x438)],_0x387169=JSON[_0x5aa848(0x345)](_0x326ca7);switch(_0x387169[_0x5aa848(0x42f)]){case _0x16f444[_0x5aa848(0x30f)]:case _0x16f444['HELLO']:{const _0x5e5d52=_0x387169[_0x5aa848(0x299)];return{..._0x387169,'data':_0x5e5d52,'cmd':_0x387169['cmd']};}case _0x16f444[_0x5aa848(0x462)]:{const _0x51d4c0=_0x387169['joinRsp'];return{..._0x387169,'data':_0x51d4c0,'cmd':_0x387169[_0x5aa848(0x42f)]};}case _0x16f444['RECV']:{const _0x8c36ff=_0x387169[_0x5aa848(0x19d)];switch(_0x8c36ff[_0x5aa848(0x2ff)]){case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x318)]:return{..._0x387169,'data':{..._0x8c36ff,'data':(_0x3e8459=_0x8c36ff[_0x5aa848(0x154)])==null?void 0x0:_0x3e8459['cs']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x21b)]:return{..._0x387169,'data':{..._0x8c36ff,'data':(_0x27d0bd=_0x8c36ff[_0x5aa848(0x466)])==null?void 0x0:_0x27d0bd['cs']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x34b)]:return{..._0x387169,'data':{..._0x8c36ff,'data':(_0x4a5c3a=_0x8c36ff[_0x5aa848(0x430)])==null?void 0x0:_0x4a5c3a['cs']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x3ca)]:return{..._0x387169,'data':{..._0x8c36ff,'data':(_0x5f1265=_0x8c36ff[_0x5aa848(0x130)])==null?void 0x0:_0x5f1265['cs']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x1c6)]:return{..._0x387169,'data':{..._0x8c36ff,'data':(_0x1766ff=_0x8c36ff['csShouldRetryEvent'])==null?void 0x0:_0x1766ff['cs']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76['CollaborationEvent'][_0x5aa848(0x2af)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x1e2)]},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x180)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x3fe)]},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76['CollaborationEvent'][_0x5aa848(0x2ee)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff['leaveEvent']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x297)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x3b3)]},'cmd':_0x387169['cmd']};case _0x319b76['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x333)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x341)]},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x3a0)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x3b3)]},'cmd':_0x387169['cmd']};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x165)]:return{..._0x387169,'data':_0x8c36ff,'cmd':_0x387169['cmd']};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x185)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff['commentUpdateEvent']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76['CollaborationEvent'][_0x5aa848(0x1c5)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x42e)]},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)]['SHOULD_CLOSE_CONN']:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff['shouldCloseConn']},'cmd':_0x387169['cmd']};case _0x319b76[_0x5aa848(0xff)]['UNISCRIPT_RUN']:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x1e1)]},'cmd':_0x387169[_0x5aa848(0x42f)]};default:return _0x387169;}}default:return _0x387169;}}function _0x574f0b(_0x47f5a2){var _0x502d91=_0x3125cd;switch(_0x47f5a2[_0x502d91(0x42f)]){case _0x16f444[_0x502d91(0x30f)]:case _0x16f444[_0x502d91(0x1ef)]:return JSON[_0x502d91(0x1b5)]({'cmd':_0x47f5a2[_0x502d91(0x42f)],'routeKey':_0x47f5a2['routeKey']});case _0x16f444[_0x502d91(0x1e6)]:{let _0x2f8871;switch(_0x47f5a2[_0x502d91(0x438)]['eventID']){case _0x319b76['CollaborationEvent'][_0x502d91(0x2af)]:{_0x2f8871={'eventID':_0x319b76[_0x502d91(0xff)][_0x502d91(0x2af)],'updateCursorEvent':_0x47f5a2['data']['data']};break;}case _0x319b76[_0x502d91(0xff)][_0x502d91(0x2ee)]:{_0x2f8871={'eventID':_0x319b76[_0x502d91(0xff)][_0x502d91(0x2ee)],'leaveEvent':_0x47f5a2['data'][_0x502d91(0x438)]};break;}case _0x319b76[_0x502d91(0xff)][_0x502d91(0x180)]:{_0x2f8871={'eventID':_0x319b76[_0x502d91(0xff)]['USERS_ENTER'],'joinEvent':_0x47f5a2[_0x502d91(0x438)][_0x502d91(0x438)]};break;}case _0x319b76[_0x502d91(0xff)][_0x502d91(0x297)]:{_0x2f8871={'eventID':_0x319b76[_0x502d91(0xff)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x47f5a2['data'][_0x502d91(0x438)]};break;}case _0x319b76[_0x502d91(0xff)]['LIVESHARE_OPERATION']:{_0x2f8871={'eventID':_0x319b76[_0x502d91(0xff)][_0x502d91(0x333)],'liveShareOperation':_0x47f5a2['data'][_0x502d91(0x438)]};break;}case _0x319b76['CollaborationEvent'][_0x502d91(0x3a0)]:{_0x2f8871={'eventID':_0x319b76['CollaborationEvent'][_0x502d91(0x3a0)],'liveShareTerminate':_0x47f5a2[_0x502d91(0x438)][_0x502d91(0x438)]};break;}case _0x319b76[_0x502d91(0xff)][_0x502d91(0x24f)]:{_0x2f8871={'eventID':_0x319b76['CollaborationEvent'][_0x502d91(0x24f)],'liveShareRequestHost':_0x47f5a2[_0x502d91(0x438)][_0x502d91(0x438)]};break;}case _0x319b76[_0x502d91(0xff)]['LIVESHARE_FETCH_OPERATIONS']:{_0x2f8871={'eventID':_0x319b76['CollaborationEvent'][_0x502d91(0x377)]};break;}default:_0x2f8871={'eventID':_0x47f5a2[_0x502d91(0x438)][_0x502d91(0x2ff)]};}return JSON[_0x502d91(0x1b5)]({'cmd':_0x47f5a2[_0x502d91(0x42f)],'routeKey':_0x47f5a2['routeKey'],'collaMsg':_0x2f8871});}case _0x16f444['JOIN']:return JSON[_0x502d91(0x1b5)]({'cmd':_0x47f5a2[_0x502d91(0x42f)],'routeKey':_0x47f5a2[_0x502d91(0x2fb)],'joinReq':_0x47f5a2[_0x502d91(0x438)]});case _0x16f444['LEAVE']:return JSON['stringify']({'cmd':_0x47f5a2[_0x502d91(0x42f)],'routeKey':_0x47f5a2['routeKey'],'leaveReq':_0x47f5a2[_0x502d91(0x438)]});default:throw new Error(_0x502d91(0x3d0));}}var _0x3b281e=Object[_0x3125cd(0x143)],_0x2c7a27=(_0x10f593,_0x1092e4,_0x5a1c7a,_0x53325b)=>{var _0x1c59d3=_0x3125cd;for(var _0x3fb831=_0x53325b>0x1?void 0x0:_0x53325b?_0x3b281e(_0x1092e4,_0x5a1c7a):_0x1092e4,_0xc2411d=_0x10f593[_0x1c59d3(0x367)]-0x1,_0x450c88;_0xc2411d>=0x0;_0xc2411d--)(_0x450c88=_0x10f593[_0xc2411d])&&(_0x3fb831=_0x450c88(_0x3fb831)||_0x3fb831);return _0x3fb831;},_0x429d22=(_0x44a5dc,_0x560055)=>(_0x4119c3,_0x57a4e6)=>_0x560055(_0x4119c3,_0x57a4e6,_0x44a5dc);const _0x2c7f4e=_0x5c9291[_0x3125cd(0x1bc)](_0x3125cd(0x264));function _0x45f1b3(_0x869021,_0xccd8cb,_0x4d5bd2){var _0x34f4fc=_0x3125cd;return _0x869021+'/'+_0xccd8cb+'/unit/'+_0x4d5bd2+_0x34f4fc(0x37e);}_0x1a0555[_0x3125cd(0x375)]=class extends _0x5c9291[_0x3125cd(0x402)]{constructor(_0x1adb56,_0x1d8bda,_0x4bc20d,_0x335a86,_0x41beb7){var _0x3df8d3=_0x3125cd;super(),this[_0x3df8d3(0x1a2)]=_0x1adb56,this[_0x3df8d3(0x35b)]=_0x1d8bda,this[_0x3df8d3(0xdf)]=_0x4bc20d,this[_0x3df8d3(0x18a)]=_0x335a86,this['_snapshotServerService']=_0x41beb7;}['_doCreateSocket'](_0x120d6){var _0x2e19dc=_0x3125cd;const _0x43f3c1=this[_0x2e19dc(0x1a2)][_0x2e19dc(0x108)](_0x381bb4[_0x2e19dc(0x206)]);if(!_0x43f3c1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x30dcac=_0x43f3c1[_0x2e19dc(0x30c)](_0x120d6);if(!_0x30dcac)throw new Error(_0x2e19dc(0x281));const _0x496b74=new _0x5c9291[(_0x2e19dc(0x1bd))](),_0xae8a18=new _0x41392c[(_0x2e19dc(0x225))]();_0x496b74[_0x2e19dc(0x2a6)](_0x30dcac[_0x2e19dc(0x223)][_0x2e19dc(0x399)](_0xa729be=>_0xae8a18[_0x2e19dc(0x1b9)](_0xa729be))),_0x496b74['add'](_0x5c9291[_0x2e19dc(0x46c)](()=>_0xae8a18[_0x2e19dc(0x12e)]()));const _0x412bab=new _0x41392c[(_0x2e19dc(0x225))]();_0x496b74['add'](_0x30dcac['error$'][_0x2e19dc(0x399)](_0x30a4a2=>_0x412bab[_0x2e19dc(0x1b9)](_0x30a4a2))),_0x496b74[_0x2e19dc(0x2a6)](_0x5c9291[_0x2e19dc(0x46c)](()=>_0x412bab['complete']()));const _0x125688=new _0x41392c['Subject']();_0x496b74['add'](_0x30dcac[_0x2e19dc(0xe0)][_0x2e19dc(0x399)](_0x4af26a=>{const _0x309a6a=_0x3801fe(_0x4af26a);_0x125688['next'](_0x309a6a);})),_0x496b74[_0x2e19dc(0x2a6)](_0x5c9291[_0x2e19dc(0x46c)](()=>_0x125688[_0x2e19dc(0x12e)]()));let _0xc575c1;const _0x4188fc=()=>{var _0x3ec158=_0x2e19dc;_0x412bab[_0x3ec158(0x1b9)](new Event('connection\x20error')),_0xae8a18[_0x3ec158(0x1b9)](new Event(_0x3ec158(0x116))),_0xc575c1[_0x3ec158(0x44a)]();};return _0xc575c1={'memberID':'','close$':_0xae8a18['asObservable'](),'error$':_0x412bab[_0x2e19dc(0x241)](),'open$':_0x30dcac[_0x2e19dc(0x32b)],'message$':_0x125688[_0x2e19dc(0x241)](),'send':_0x233c5e=>{var _0x1c7ad8=_0x2e19dc;if(_0x233c5e[_0x1c7ad8(0x42f)]===_0x16f444[_0x1c7ad8(0x1e6)]){if(_0x233c5e[_0x1c7ad8(0x438)]['eventID']===_0x319b76['CollaborationEvent']['SUBMIT_CHANGESET']){this['_submitChangeset'](_0xc575c1,_0x233c5e[_0x1c7ad8(0x438)])['catch'](_0x497dc2=>{var _0x23c01e=_0x1c7ad8;this[_0x23c01e(0x18a)][_0x23c01e(0x231)](_0x497dc2),_0x4188fc();});return;}if(_0x233c5e[_0x1c7ad8(0x438)]['eventID']===_0x319b76[_0x1c7ad8(0xff)][_0x1c7ad8(0x41e)]){const _0x2539df=_0x233c5e[_0x1c7ad8(0x438)];this['_fetchMissChangesets'](_0x2539df)['then'](_0x31a80e=>{var _0x426f05=_0x1c7ad8;_0x125688[_0x426f05(0x1b9)]({'cmd':_0x16f444['RECV'],'code':_0xbe2cfc['OK'],'routeKey':_0x2539df['data'][_0x426f05(0x11c)],'routeType':'','data':{'eventID':_0x319b76[_0x426f05(0xff)][_0x426f05(0x293)],'data':{'changesets':_0x31a80e}}});})['catch'](_0x366f63=>{var _0x7ddd2=_0x1c7ad8;this[_0x7ddd2(0x18a)]['error'](_0x366f63),_0x4188fc();});return;}}_0x30dcac[_0x1c7ad8(0x105)](_0x574f0b(_0x233c5e));},'close':()=>{_0x30dcac['close'](),_0x496b74['dispose']();}},_0xc575c1;}async['_submitChangeset'](_0x3063cf,_0x1ea0b3){var _0x15dcaa=_0x3125cd,_0x5c02f3;const {unitType:_0x5e3a74,unitID:_0x122394,changeset:_0x3cff61}=_0x1ea0b3[_0x15dcaa(0x438)],_0x12175a={'unitID':_0x122394,'memberID':_0x3063cf['memberID'],'type':_0x5e3a74,'changeset':_0x319b76[_0x15dcaa(0x22a)](_0x3cff61)},_0x180ba7=this[_0x15dcaa(0xdf)][_0x15dcaa(0x39a)](_0x1ace84),_0x2f92a3=_0x45f1b3((_0x5c02f3=_0x180ba7==null?void 0x0:_0x180ba7[_0x15dcaa(0x3b1)])!=null?_0x5c02f3:_0x504654,_0x5e3a74,_0x122394);try{await this[_0x15dcaa(0x35b)]['post'](_0x2f92a3,{'body':_0x12175a});}catch(_0x59d91e){throw this[_0x15dcaa(0x18a)]['error'](_0x15dcaa(0x29d),'submit\x20changeset\x20error!'),_0x59d91e;}}async[_0x3125cd(0x3ee)](_0x113c36){var _0x321c84=_0x3125cd;const {unitID:_0x2692cc,from:_0x3467e6,to:_0x56935c,unitType:_0x43c916}=_0x113c36[_0x321c84(0x438)];return(await this[_0x321c84(0x3e9)][_0x321c84(0x359)]({'metadata':void 0x0},{'unitID':_0x2692cc,'type':_0x43c916,'from':_0x3467e6,'to':_0x56935c}))[_0x321c84(0x2ec)][_0x321c84(0x434)](_0x205c3b=>((_0x205c3b[_0x321c84(0x457)]===null||_0x205c3b['mutations']===void 0x0)&&(_0x205c3b[_0x321c84(0x457)]=[]),_0x205c3b));}},_0x1a0555['CollaborationSocketService']=_0x2c7a27([_0x429d22(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x429d22(0x1,_0x5c9291['Inject'](_0x381bb4['HTTPService'])),_0x429d22(0x2,_0x5c9291['IConfigService']),_0x429d22(0x3,_0x5c9291[_0x3125cd(0x109)]),_0x429d22(0x4,_0x319b76[_0x3125cd(0x3c7)])],_0x1a0555[_0x3125cd(0x375)]);var _0x280919=Object[_0x3125cd(0x143)],_0x297134=(_0x1e5d30,_0x4dbb7c,_0x12e738,_0x4e9672)=>{var _0x4a2d6f=_0x3125cd;for(var _0x3fa46d=_0x4e9672>0x1?void 0x0:_0x4e9672?_0x280919(_0x4dbb7c,_0x12e738):_0x4dbb7c,_0x53ab1b=_0x1e5d30[_0x4a2d6f(0x367)]-0x1,_0x5b639a;_0x53ab1b>=0x0;_0x53ab1b--)(_0x5b639a=_0x1e5d30[_0x53ab1b])&&(_0x3fa46d=_0x5b639a(_0x3fa46d)||_0x3fa46d);return _0x3fa46d;},_0xa94f87=(_0x1601b4,_0x2ec1c5)=>(_0x1decff,_0xc16c22)=>_0x2ec1c5(_0x1decff,_0xc16c22,_0x1601b4);_0x1a0555['CollaborationSessionService']=class extends _0x5c9291[_0x3125cd(0x402)]{constructor(_0x541703,_0x4eabb1,_0x5f1a99,_0x4a2153,_0x55276d,_0x35f4e7){var _0x2b26b8=_0x3125cd;super(),_0x27328e(this,_0x2b26b8(0x24d),new _0x41392c[(_0x2b26b8(0x35c))](void 0x0)),_0x27328e(this,'socket$',this[_0x2b26b8(0x24d)][_0x2b26b8(0x241)]()),_0x27328e(this,'_candidateSocket',null),_0x27328e(this,_0x2b26b8(0x14c),new Map()),_0x27328e(this,_0x2b26b8(0x100),new _0x41392c[(_0x2b26b8(0x35c))](_0x8660ba[_0x2b26b8(0x232)])),_0x27328e(this,_0x2b26b8(0xee),this[_0x2b26b8(0x100)][_0x2b26b8(0x241)]()),_0x27328e(this,_0x2b26b8(0x37f),!0x1),_0x27328e(this,_0x2b26b8(0x30d)),_0x27328e(this,_0x2b26b8(0x182),0x0),_0x27328e(this,'_sendHeartbeatTimer'),_0x27328e(this,'_timeoutTimer'),(this[_0x2b26b8(0x1a2)]=_0x541703,this['_logService']=_0x4eabb1,this[_0x2b26b8(0xdf)]=_0x5f1a99,this[_0x2b26b8(0x37c)]=_0x4a2153,this['_collaborationUIEventService']=_0x55276d,this['_networkConditionService']=_0x35f4e7,this[_0x2b26b8(0x147)]());}get[_0x3125cd(0x15a)](){var _0xb9bef6=_0x3125cd;return this[_0xb9bef6(0x24d)]['getValue']();}[_0x3125cd(0x147)](){var _0x3036f9=_0x3125cd;this[_0x3036f9(0x199)]&&this[_0x3036f9(0xf3)](this[_0x3036f9(0x199)][_0x3036f9(0x387)]['subscribe'](_0x37d432=>{var _0xfbd5d3=_0x3036f9;_0x37d432&&!this[_0xfbd5d3(0x15a)]&&this[_0xfbd5d3(0xf5)](),_0x37d432||this['_onOffline']();}));}[_0x3125cd(0x456)](){var _0xfe6579=_0x3125cd;super[_0xfe6579(0x456)](),this[_0xfe6579(0x436)](),this[_0xfe6579(0x451)](),this[_0xfe6579(0x437)](),this[_0xfe6579(0x14c)][_0xfe6579(0x322)](_0x471525=>_0x471525[_0xfe6579(0x456)]()),this[_0xfe6579(0x14c)][_0xfe6579(0x3c4)](),this[_0xfe6579(0x100)][_0xfe6579(0x12e)]();}async['requireSession'](_0x53adb8){var _0x18deaa=_0x3125cd;if(this[_0x18deaa(0x14c)]['has'](_0x53adb8))return this[_0x18deaa(0x14c)]['get'](_0x53adb8);this['_tryEnsureSocket']();const _0x5b1426=this[_0x18deaa(0x1a2)]['createInstance'](_0x1a0555[_0x18deaa(0x314)],_0x53adb8,this[_0x18deaa(0x24d)][_0x18deaa(0x241)]());return this[_0x18deaa(0x14c)][_0x18deaa(0x300)](_0x53adb8,_0x5b1426),_0x5b1426;}[_0x3125cd(0x33a)](_0x2b5dfe){var _0x3481f6=_0x3125cd,_0x398b24;const _0x55720b=this[_0x3481f6(0x14c)][_0x3481f6(0x108)](_0x2b5dfe);_0x55720b&&(this[_0x3481f6(0x14c)][_0x3481f6(0x2c3)](_0x2b5dfe),_0x55720b[_0x3481f6(0x44a)]()),this[_0x3481f6(0x14c)][_0x3481f6(0x18b)]||(_0x398b24=this[_0x3481f6(0x15a)])==null||_0x398b24[_0x3481f6(0x44a)]();}[_0x3125cd(0xf5)](){var _0x325c54=_0x3125cd;this[_0x325c54(0x182)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x3125cd(0x436)](){var _0x1c88e0=_0x3125cd;this[_0x1c88e0(0x30d)]!=null&&(clearTimeout(this[_0x1c88e0(0x30d)]),this[_0x1c88e0(0x30d)]=null);}async['_createSocket'](){var _0x2ce6d0=_0x3125cd,_0x3ae738;const _0x56bd86=this[_0x2ce6d0(0xdf)][_0x2ce6d0(0x39a)](_0x1ace84),_0x503f99=(_0x3ae738=_0x56bd86==null?void 0x0:_0x56bd86[_0x2ce6d0(0x487)])!=null?_0x3ae738:_0x5e9de5,_0x55394e=await this[_0x2ce6d0(0x37c)][_0x2ce6d0(0x30c)](_0x503f99);return this['_candidateSocket']=_0x55394e,_0x55394e;}async[_0x3125cd(0x138)](){var _0x1a1411=_0x3125cd,_0x4cf1b0,_0x2f9faa;try{const _0x30365e=(_0x2f9faa=(_0x4cf1b0=this[_0x1a1411(0x15a)])!=null?_0x4cf1b0:this[_0x1a1411(0x39c)])!=null?_0x2f9faa:await this[_0x1a1411(0x274)]();if(_0x30365e){const _0x41cb60=_0x30365e['send'];_0x30365e[_0x1a1411(0x105)]=_0x34f1b5=>(this[_0x1a1411(0x1d0)](),_0x41cb60[_0x1a1411(0x17d)](_0x30365e,[_0x34f1b5])),_0x30365e[_0x1a1411(0xe0)][_0x1a1411(0x399)](_0x36dfb3=>this[_0x1a1411(0x40d)](_0x30365e,_0x36dfb3)),_0x30365e[_0x1a1411(0x295)][_0x1a1411(0x34f)](_0x3ecfb0['take'](0x1))['subscribe'](_0x66b8f3=>this[_0x1a1411(0x18a)]['error'](_0x1a1411(0x380),_0x66b8f3)),_0x30365e[_0x1a1411(0x32b)][_0x1a1411(0x34f)](_0x3ecfb0[_0x1a1411(0x370)](0x1))[_0x1a1411(0x399)](()=>{var _0x516625=_0x1a1411;this[_0x516625(0x19e)](_0x30365e);}),_0x30365e[_0x1a1411(0x223)][_0x1a1411(0x34f)](_0x3ecfb0[_0x1a1411(0x370)](0x1))[_0x1a1411(0x399)](_0x91f8ca=>{var _0x495dca=_0x1a1411;this[_0x495dca(0x18a)][_0x495dca(0x20c)](_0x495dca(0x24b),_0x495dca(0xe6),_0x91f8ca),this[_0x495dca(0x248)]();});}}catch(_0x3d0174){this[_0x1a1411(0x18a)][_0x1a1411(0x231)](_0x3d0174),this[_0x1a1411(0x248)]();}}[_0x3125cd(0x19e)](_0x32d6a0){var _0x374b6f=_0x3125cd;this['_logService'][_0x374b6f(0x20c)]('[CollaborationSessionService]',_0x374b6f(0x22f)),_0x32d6a0[_0x374b6f(0x105)]({'cmd':_0x16f444['HELLO']}),this[_0x374b6f(0x1d0)]();}[_0x3125cd(0x16a)](){var _0x2b8118=_0x3125cd;this['_socketReady']=!0x1,this[_0x2b8118(0x39c)]=null,this['_status$'][_0x2b8118(0x1b9)](_0x8660ba[_0x2b8118(0x2c5)]),this[_0x2b8118(0x24d)][_0x2b8118(0x1b9)](null),this[_0x2b8118(0x451)](),this[_0x2b8118(0x437)]();}[_0x3125cd(0x248)](){var _0x510b6a=_0x3125cd,_0x786e6c;this[_0x510b6a(0x16a)](),this[_0x510b6a(0x182)]<((_0x786e6c=this[_0x510b6a(0xdf)][_0x510b6a(0x39a)](_0x45c332))!=null?_0x786e6c:0x3)?(this[_0x510b6a(0xef)][_0x510b6a(0x179)]({'id':_0x19b9e8[_0x510b6a(0x3a3)]}),this[_0x510b6a(0x150)]()):this[_0x510b6a(0xef)][_0x510b6a(0x179)]({'id':_0x19b9e8[_0x510b6a(0x183)]});}[_0x3125cd(0x150)](){var _0x28b90c=_0x3125cd,_0x4521d6;const _0x3a68a9=this[_0x28b90c(0x182)],_0x154565=this[_0x28b90c(0xdf)][_0x28b90c(0x39a)](_0x1ace84),_0x19e337=_0x3a68a9===0x0?0x0:((_0x4521d6=_0x154565==null?void 0x0:_0x154565[_0x28b90c(0x191)])!=null?_0x4521d6:0x4e20)*0x2**_0x3a68a9;this[_0x28b90c(0x30d)]=setTimeout(()=>{var _0x24f12a=_0x28b90c;clearTimeout(this[_0x24f12a(0x30d)]),this[_0x24f12a(0x30d)]=null,this[_0x24f12a(0x138)]();},_0x19e337),this[_0x28b90c(0x182)]+=0x1;}[_0x3125cd(0x40d)](_0x834651,_0x330f4d){var _0x18042c=_0x3125cd;const {cmd:_0xf5a064}=_0x330f4d;_0xf5a064===_0x16f444[_0x18042c(0x1ef)]&&!this[_0x18042c(0x37f)]&&(_0x834651['memberID']=_0x330f4d[_0x18042c(0x438)][_0x18042c(0x2be)],this['_socket$'][_0x18042c(0x1b9)](_0x834651),this[_0x18042c(0x100)]['next'](_0x8660ba['ONLINE']),this['_socketReady']=!0x0,this[_0x18042c(0x39c)]=null),_0xf5a064===_0x16f444[_0x18042c(0x30f)]&&this[_0x18042c(0x451)](),this[_0x18042c(0x1d0)]();}[_0x3125cd(0x1d0)](){var _0x27b142=_0x3125cd,_0xde30d9;this[_0x27b142(0x437)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x27b142(0x3e1)](),(_0xde30d9=this[_0x27b142(0xdf)][_0x27b142(0x39a)](_0x551f79))!=null?_0xde30d9:0x7530);}[_0x3125cd(0x3e1)](){var _0xed014c=_0x3125cd;this[_0xed014c(0x15a)][_0xed014c(0x105)]({'cmd':_0x16f444[_0xed014c(0x30f)]}),this[_0xed014c(0x46b)]();}[_0x3125cd(0x46b)](){var _0x1c0a83=_0x3125cd,_0x263255;this[_0x1c0a83(0x16c)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x263255=this[_0x1c0a83(0xdf)][_0x1c0a83(0x39a)](_0x493c73))!=null?_0x263255:0x4e20);}[_0x3125cd(0x437)](){var _0x1d9c38=_0x3125cd;this[_0x1d9c38(0x394)]!=null&&(clearTimeout(this[_0x1d9c38(0x394)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x16a8ed=_0x3125cd;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x16a8ed(0x16c)]),this[_0x16a8ed(0x16c)]=null);}},_0x1a0555[_0x3125cd(0x114)]=_0x297134([_0xa94f87(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['Injector'])),_0xa94f87(0x1,_0x5c9291[_0x3125cd(0x109)]),_0xa94f87(0x2,_0x5c9291['IConfigService']),_0xa94f87(0x3,_0x2c7f4e),_0xa94f87(0x4,_0x5c9291['Inject'](_0x5cf853)),_0xa94f87(0x5,_0x5c9291[_0x3125cd(0x3d8)](_0x5ec6c3))],_0x1a0555[_0x3125cd(0x114)]);var _0x3b1060=Object['getOwnPropertyDescriptor'],_0x1b9500=(_0x3145f5,_0x43d58a,_0x31743c,_0x745ff3)=>{for(var _0x762c72=_0x745ff3>0x1?void 0x0:_0x745ff3?_0x3b1060(_0x43d58a,_0x31743c):_0x43d58a,_0x5236ee=_0x3145f5['length']-0x1,_0x138252;_0x5236ee>=0x0;_0x5236ee--)(_0x138252=_0x3145f5[_0x5236ee])&&(_0x762c72=_0x138252(_0x762c72)||_0x762c72);return _0x762c72;},_0x56beeb=(_0x395b42,_0x597cec)=>(_0x2ab98f,_0x362da9)=>_0x597cec(_0x2ab98f,_0x362da9,_0x395b42);_0x1a0555['CollaborationController']=class extends _0x5c9291[_0x3125cd(0x267)]{constructor(_0x52423e,_0x4c39a5,_0x195eba,_0x30b710){var _0x1d8b1f=_0x3125cd,_0x2e2527;super(),_0x27328e(this,_0x1d8b1f(0x396),new Map()),_0x27328e(this,_0x1d8b1f(0x145),new _0x41392c[(_0x1d8b1f(0x225))]()),_0x27328e(this,_0x1d8b1f(0x29f),this[_0x1d8b1f(0x145)][_0x1d8b1f(0x241)]()),(this['_injector']=_0x52423e,this[_0x1d8b1f(0x335)]=_0x4c39a5,this[_0x1d8b1f(0xdf)]=_0x195eba,this['_univerInstanceService']=_0x30b710,((_0x2e2527=this['_configService'][_0x1d8b1f(0x39a)](_0x1ace84))==null?void 0x0:_0x2e2527[_0x1d8b1f(0x17c)])!==!0x1&&this[_0x1d8b1f(0x141)]());}['dispose'](){var _0x25b00e=_0x3125cd;super[_0x25b00e(0x456)](),this[_0x25b00e(0x396)][_0x25b00e(0x322)](_0x19ba60=>_0x19ba60['dispose']()),this[_0x25b00e(0x396)][_0x25b00e(0x3c4)]();}[_0x3125cd(0x46e)](_0x448857){var _0xd0da07=_0x3125cd,_0x1bd494;return(_0x1bd494=this[_0xd0da07(0x396)][_0xd0da07(0x108)](_0x448857))!=null?_0x1bd494:null;}[_0x3125cd(0x449)](_0x4c6c3a){var _0x3861d1=_0x3125cd;const _0x53d36d=this['getCollabEntity'](_0x4c6c3a);return _0x53d36d?_0x41392c['of'](_0x53d36d):this[_0x3861d1(0x145)][_0x3861d1(0x34f)](_0x3ecfb0['filter'](_0x933125=>_0x933125[_0x3861d1(0x11c)]===_0x4c6c3a));}['readyForCollab'](_0x2027fc){var _0x55d1bf=_0x3125cd;return _0x41392c[_0x55d1bf(0x3a9)](this[_0x55d1bf(0x449)](_0x2027fc)[_0x55d1bf(0x34f)](_0x3ecfb0[_0x55d1bf(0x434)](()=>{})));}[_0x3125cd(0x141)](){var _0x5a9ff0=_0x3125cd;this[_0x5a9ff0(0x471)][_0x5a9ff0(0x1db)](_0x5c9291[_0x5a9ff0(0x29b)][_0x5a9ff0(0x350)])[_0x5a9ff0(0x34f)](_0x41392c[_0x5a9ff0(0x1fd)](this[_0x5a9ff0(0x2ef)]),_0x3ecfb0[_0x5a9ff0(0x230)](0x10))['subscribe'](async _0x4a357d=>{var _0x16dc69=_0x5a9ff0;const _0x181c75=_0x4a357d[_0x16dc69(0x388)](),_0x458fb8=await this['_startCollaboration'](_0x181c75,_0x5c7530['UNIVER_SHEET']);this[_0x16dc69(0x396)][_0x16dc69(0x300)](_0x181c75,_0x458fb8);}),this[_0x5a9ff0(0x471)][_0x5a9ff0(0x1db)](_0x5c9291[_0x5a9ff0(0x29b)][_0x5a9ff0(0x484)])[_0x5a9ff0(0x34f)](_0x41392c[_0x5a9ff0(0x1fd)](this[_0x5a9ff0(0x2ef)]),_0x3ecfb0[_0x5a9ff0(0x230)](0x10))[_0x5a9ff0(0x34f)](_0x3ecfb0[_0x5a9ff0(0x125)](_0x2488d8=>!_0x2488d8[_0x5a9ff0(0x388)]()[_0x5a9ff0(0x3fc)]('__')))[_0x5a9ff0(0x399)](async _0x4bf48e=>{var _0x312a25=_0x5a9ff0;const _0x2c5e69=_0x4bf48e['getUnitId'](),_0x41b272=await this[_0x312a25(0x319)](_0x2c5e69,_0x5c7530['UNIVER_DOC']);this[_0x312a25(0x396)][_0x312a25(0x300)](_0x2c5e69,_0x41b272);}),_0x41392c[_0x5a9ff0(0x3dd)](this[_0x5a9ff0(0x471)][_0x5a9ff0(0x1ec)](_0x5c9291[_0x5a9ff0(0x29b)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5c9291[_0x5a9ff0(0x29b)][_0x5a9ff0(0x484)]))[_0x5a9ff0(0x34f)](_0x41392c[_0x5a9ff0(0x1fd)](this[_0x5a9ff0(0x2ef)]))['subscribe'](_0x52ca1a=>{var _0xb429ca=_0x5a9ff0;const _0x40c0bd=_0x52ca1a[_0xb429ca(0x388)](),_0x114bd7=this[_0xb429ca(0x396)][_0xb429ca(0x108)](_0x40c0bd);_0x114bd7&&(_0x114bd7[_0xb429ca(0x456)](),this[_0xb429ca(0x396)]['delete'](_0x40c0bd));});}async[_0x3125cd(0x319)](_0x1fc561,_0x3fcf92){var _0x59fedd=_0x3125cd;const _0xfc09df=await this[_0x59fedd(0x335)][_0x59fedd(0x245)](_0x1fc561),_0xf7f7b9=this[_0x59fedd(0x1a2)]['createInstance'](this[_0x59fedd(0x22d)](_0x3fcf92),_0x1fc561,_0x3fcf92,_0xfc09df);return await _0xf7f7b9[_0x59fedd(0xd6)](),this[_0x59fedd(0x145)][_0x59fedd(0x1b9)](_0xf7f7b9),_0xf7f7b9;}[_0x3125cd(0x22d)](_0x13a538){var _0x5d7bf4=_0x3125cd;switch(_0x13a538){case _0x5c7530[_0x5d7bf4(0x484)]:return _0x1a0555[_0x5d7bf4(0x2b6)];case _0x5c7530[_0x5d7bf4(0x350)]:return _0x1a0555[_0x5d7bf4(0x11b)];default:throw new Error(_0x5d7bf4(0x327)+_0x13a538);}}},_0x1a0555[_0x3125cd(0x22e)]=_0x1b9500([_0x56beeb(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x56beeb(0x1,_0x5c9291[_0x3125cd(0x10f)](_0x1a0555[_0x3125cd(0x114)])),_0x56beeb(0x2,_0x5c9291[_0x3125cd(0x226)]),_0x56beeb(0x3,_0x5c9291[_0x3125cd(0x200)])],_0x1a0555[_0x3125cd(0x22e)]);var _0x36aada=Object[_0x3125cd(0x143)],_0x2052d8=(_0x572864,_0x50a8e3,_0x4e8be8,_0x54aa9e)=>{for(var _0x21ab8c=_0x54aa9e>0x1?void 0x0:_0x54aa9e?_0x36aada(_0x50a8e3,_0x4e8be8):_0x50a8e3,_0x22b865=_0x572864['length']-0x1,_0x18702d;_0x22b865>=0x0;_0x22b865--)(_0x18702d=_0x572864[_0x22b865])&&(_0x21ab8c=_0x18702d(_0x21ab8c)||_0x21ab8c);return _0x21ab8c;},_0x1e80db=(_0x304678,_0x2f057a)=>(_0x2c7150,_0x266f77)=>_0x2f057a(_0x2c7150,_0x266f77,_0x304678);const _0xc32b36=_0x3125cd(0xda),_0x537398=_0x3125cd(0x203);let _0x5434f2=class extends _0x5c9291[_0x3125cd(0x402)]{constructor(_0x8a042d,_0xe9bba9){var _0xf8cd54=_0x3125cd;super(),this[_0xf8cd54(0x471)]=_0x8a042d,this[_0xf8cd54(0xdf)]=_0xe9bba9,this['_init']();}[_0x3125cd(0x141)](){var _0x4bd0a6=_0x3125cd;this[_0x4bd0a6(0xf3)](this['_univerInstanceService'][_0x4bd0a6(0x358)][_0x4bd0a6(0x399)](()=>{var _0x9aa02f=_0x4bd0a6,_0x5a79fb;const _0x479a1d=this[_0x9aa02f(0x471)][_0x9aa02f(0x135)]();let _0x2b1860=(_0x5a79fb=this[_0x9aa02f(0xdf)][_0x9aa02f(0x39a)](_0xc32b36))!=null?_0x5a79fb:_0x537398;_0x479a1d instanceof _0x5c9291['Workbook']&&(_0x2b1860=_0x479a1d[_0x9aa02f(0x17a)]),document[_0x9aa02f(0x11f)]=_0x2b1860;}));}};_0x5434f2=_0x2052d8([_0x1e80db(0x0,_0x5c9291[_0x3125cd(0x200)]),_0x1e80db(0x1,_0x5c9291['IConfigService'])],_0x5434f2);var _0x4bf8c3=Object['getOwnPropertyDescriptor'],_0x6ef7a1=(_0x11259d,_0xf0af09,_0x3d0f57,_0x445a65)=>{for(var _0xa0c9d=_0x445a65>0x1?void 0x0:_0x445a65?_0x4bf8c3(_0xf0af09,_0x3d0f57):_0xf0af09,_0x2d65cc=_0x11259d['length']-0x1,_0x32c2e8;_0x2d65cc>=0x0;_0x2d65cc--)(_0x32c2e8=_0x11259d[_0x2d65cc])&&(_0xa0c9d=_0x32c2e8(_0xa0c9d)||_0xa0c9d);return _0xa0c9d;},_0x1b4158=(_0x302e65,_0x2c6931)=>(_0x339935,_0x3ed04e)=>_0x2c6931(_0x339935,_0x3ed04e,_0x302e65);let _0x173c2c=class{constructor(_0x39432b,_0x33a500,_0x5e021d){var _0x54663e=_0x3125cd;this['_configService']=_0x39432b,this[_0x54663e(0x35b)]=_0x33a500,this['localeService']=_0x5e021d,this[_0x54663e(0xd6)]();}[_0x3125cd(0xd6)](){var _0x18ee8b=_0x3125cd;this[_0x18ee8b(0x35b)][_0x18ee8b(0x15e)]({'priority':0x1,'interceptor':(_0x5ba879,_0x48a56a)=>_0x48a56a(_0x5ba879)[_0x18ee8b(0x34f)](_0x41392c['concatMap'](async _0x5c0845=>{var _0xc00263=_0x18ee8b;const _0x25ccec=_0x5c0845;if(_0x25ccec['status']===0x191){if(typeof window>'u')throw new Error(_0xc00263(0x17f));if(window[_0xc00263(0x2ac)](this[_0xc00263(0x419)]['t']('auth.needGotoLoginAlert'))){const _0x1bd4bb=window[_0xc00263(0x1d5)](window[_0xc00263(0x1f4)][_0xc00263(0x270)]);window[_0xc00263(0x1f4)][_0xc00263(0x270)]=this['_getLoginPath']()+_0xc00263(0x1fa)+_0x1bd4bb;}}return _0x25ccec;}))});}['_getLoginPath'](){var _0x17d0d7=_0x3125cd,_0xc6ca29;const _0x16304d=this[_0x17d0d7(0xdf)][_0x17d0d7(0x39a)](_0x1ace84);return(_0xc6ca29=_0x16304d==null?void 0x0:_0x16304d[_0x17d0d7(0x3f3)])!=null?_0xc6ca29:_0x4be0c7;}};_0x173c2c=_0x6ef7a1([_0x1b4158(0x0,_0x5c9291[_0x3125cd(0x226)]),_0x1b4158(0x1,_0x5c9291['Inject'](_0x381bb4[_0x3125cd(0x2bb)])),_0x1b4158(0x2,_0x5c9291['Inject'](_0x5c9291['LocaleService']))],_0x173c2c);var _0x360888=Object[_0x3125cd(0x143)],_0x1a4331=(_0xdcb7ae,_0x34df1c,_0xa3ec6,_0xa5e438)=>{var _0x26cb66=_0x3125cd;for(var _0x413a09=_0xa5e438>0x1?void 0x0:_0xa5e438?_0x360888(_0x34df1c,_0xa3ec6):_0x34df1c,_0x3a0ffc=_0xdcb7ae[_0x26cb66(0x367)]-0x1,_0x158be8;_0x3a0ffc>=0x0;_0x3a0ffc--)(_0x158be8=_0xdcb7ae[_0x3a0ffc])&&(_0x413a09=_0x158be8(_0x413a09)||_0x413a09);return _0x413a09;},_0x5e10f7=(_0x2d7559,_0x33e56e)=>(_0x5d95f5,_0x2d0a64)=>_0x33e56e(_0x5d95f5,_0x2d0a64,_0x2d7559);const _0x50d4ab='/universer-api/authz';_0x1a0555[_0x3125cd(0x3e0)]=class extends _0x5c9291['Disposable']{constructor(_0x3286eb,_0x1ac8de){var _0x530b62=_0x3125cd;super(),this[_0x530b62(0x163)]=_0x3286eb,this[_0x530b62(0xdf)]=_0x1ac8de,this['_initMergeInterceptor']();}[_0x3125cd(0x2c6)](){var _0x69fb87=_0x3125cd;const _0x11760c=this;this[_0x69fb87(0xf3)](this[_0x69fb87(0x163)][_0x69fb87(0x15e)]({'priority':0x3e7,'interceptor':_0x381bb4[_0x69fb87(0x161)]({'isMatch'(_0x4d23b6){var _0x47ebf7=_0x69fb87,_0x59d321;if(_0x4d23b6[_0x47ebf7(0x164)]===_0x47ebf7(0x391)&&((_0x59d321=_0x4d23b6[_0x47ebf7(0x3ac)])!=null&&_0x59d321[_0x47ebf7(0x44c)])){const {objectID:_0xff00d0,objectType:_0x4c3703}=_0x4d23b6['requestParams'][_0x47ebf7(0x44c)]||{};if(!_0xff00d0||_0x4c3703===void 0x0)return!0x1;const _0xcdd9ea=_0x11760c['_getAPIPrefixPath']()+'/'+_0x4c3703+'/object/'+_0xff00d0+_0x47ebf7(0x35e);if(_0x4d23b6[_0x47ebf7(0x1df)]===_0xcdd9ea)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1db2d8){var _0x539811=_0x69fb87,_0x351a95;return(_0x351a95=_0x1db2d8[_0x539811(0x3ac)])==null?void 0x0:_0x351a95['body'];},'mergeParamsToRequest'(_0x4768ce,_0x3ac534){var _0x130f8b=_0x69fb87;const _0x4518cb=_0x11760c[_0x130f8b(0x41f)]()+'/-/object/-/batch_allowed',_0xa8f842=_0x4768ce[_0x130f8b(0x13e)]((_0x3d92e2,_0x2ffd0b)=>{var _0x2d26c5=_0x130f8b;const {unitID:_0x5aa2a5,objectID:_0x58c34e,objectType:_0x457b3e,actions:_0x2eec7d}=_0x2ffd0b;return _0x3d92e2[_0x5aa2a5]||(_0x3d92e2[_0x5aa2a5]={}),_0x3d92e2[_0x5aa2a5][_0x58c34e]||(_0x3d92e2[_0x5aa2a5][_0x58c34e]={'objectID':_0x58c34e,'objectType':_0x457b3e,'actions':[]}),_0x3d92e2[_0x5aa2a5][_0x58c34e][_0x2d26c5(0x1f8)][_0x2d26c5(0x123)](..._0x2eec7d),_0x3d92e2;},{}),_0x2dd9b6=[];for(const _0x432f11 in _0xa8f842)for(const _0x36b2e1 in _0xa8f842[_0x432f11]){const {actions:_0x27e864,objectType:_0x180af6}=_0xa8f842[_0x432f11][_0x36b2e1],_0x33eb=[...new Set(_0x27e864)];_0x2dd9b6['push']({'unitID':_0x432f11,'objectID':_0x36b2e1,'objectType':_0x180af6,'actions':_0x33eb});}return new _0x381bb4[(_0x130f8b(0x373))](_0x130f8b(0x391),_0x4518cb,{'headers':_0x3ac534['headers'],'withCredentials':_0x3ac534['withCredentials'],'responseType':_0x3ac534[_0x130f8b(0x2f5)],'body':{'requests':_0x2dd9b6}});}},{'distributeResult'(_0xc77b6a,_0x1277da){var _0x1f0a53=_0x69fb87;const {objectActions:_0x1a13b4}=_0xc77b6a;return _0x1277da[_0x1f0a53(0x434)](_0x470268=>{var _0xc52670=_0x1f0a53;const {unitID:_0x3d407c,objectID:_0x5da4bf,actions:_0x1d24ea}=_0x470268,_0xb618f=_0x1a13b4[_0xc52670(0x15b)](_0xf9e7e6=>_0xf9e7e6[_0xc52670(0x11c)]===_0x3d407c&&_0xf9e7e6[_0xc52670(0x2a4)]===_0x5da4bf),_0x515616=_0x1d24ea['map'](_0x4a7e73=>_0xb618f==null?void 0x0:_0xb618f[_0xc52670(0x1f8)][_0xc52670(0x15b)](_0x20d81b=>_0x20d81b[_0xc52670(0x2ab)]===_0x4a7e73))[_0xc52670(0x125)](_0x20775e=>!!_0x20775e);return{'config':_0x470268,'result':{'actions':_0x515616,'error':_0xc77b6a[_0xc52670(0x231)]}};});}})}));}['_getAPIPrefixPath'](){var _0x19bca0;const _0x4fffa6=this['_configService']['getConfig'](_0x1ace84);return(_0x19bca0=_0x4fffa6==null?void 0x0:_0x4fffa6['authzUrl'])!=null?_0x19bca0:_0x50d4ab;}async['create'](_0x3faae3){var _0x505653=_0x3125cd;const _0xc69c6a=this[_0x505653(0x41f)]()+'/'+_0x3faae3['objectType']+_0x505653(0x308);return(await this[_0x505653(0x163)][_0x505653(0x33d)](_0xc69c6a,{'body':_0x3faae3}))[_0x505653(0x44c)]['objectID']||'';}async[_0x3125cd(0x33b)](_0x2fdd6c){var _0x1d8e00=_0x3125cd;const _0x484431=this[_0x1d8e00(0x41f)]()+_0x1d8e00(0x36a);return(await this['_HTTPService'][_0x1d8e00(0x33d)](_0x484431,{'body':_0x2fdd6c}))[_0x1d8e00(0x44c)][_0x1d8e00(0x2c7)];}async[_0x3125cd(0x184)](_0x42c7d4){var _0x31ec59=_0x3125cd,_0x4b9556,_0x21a483;const _0x450af7=this[_0x31ec59(0x41f)]()+'/'+_0x42c7d4[_0x31ec59(0x31d)]+_0x31ec59(0xed)+_0x42c7d4['objectID'],_0x52691d=await this[_0x31ec59(0x163)][_0x31ec59(0x189)](_0x450af7,{'body':_0x42c7d4});if(((_0x21a483=(_0x4b9556=_0x52691d==null?void 0x0:_0x52691d[_0x31ec59(0x44c)])==null?void 0x0:_0x4b9556[_0x31ec59(0x231)])==null?void 0x0:_0x21a483[_0x31ec59(0x162)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x3125cd(0x247)](_0x127c20){var _0x2a7bc8=_0x3125cd;const _0x161971=this['_getAPIPrefixPath']()+'/'+_0x127c20[_0x2a7bc8(0x31d)]+'/object/'+_0x127c20['objectID']+_0x2a7bc8(0x35e);return(await this[_0x2a7bc8(0x163)][_0x2a7bc8(0x33d)](_0x161971,{'body':_0x127c20}))['body'][_0x2a7bc8(0x1f8)];}async['batchAllowed'](_0x2820bb){var _0x230100=_0x3125cd;const _0x377136=this[_0x230100(0x41f)]()+_0x230100(0x215);return(await this[_0x230100(0x163)][_0x230100(0x33d)](_0x377136,{'body':{'requests':_0x2820bb}}))[_0x230100(0x44c)]['objectActions'];}async[_0x3125cd(0x29e)](_0x4b5431){var _0xf72a07=_0x3125cd;const _0x486081=this[_0xf72a07(0x41f)]()+'/'+_0x4b5431['objectType']+_0xf72a07(0x1aa),_0x534e94=await this[_0xf72a07(0x163)]['post'](_0x486081,{'body':_0x4b5431});return{'roles':_0x534e94[_0xf72a07(0x44c)][_0xf72a07(0x45a)],'actions':_0x534e94[_0xf72a07(0x44c)]['actions']};}async['deleteCollaborator'](_0x5c2835){var _0x38d898=_0x3125cd;const _0x5c64b5=this[_0x38d898(0x41f)]()+_0x38d898(0x16f);await this[_0x38d898(0x163)][_0x38d898(0x2c3)](_0x5c64b5,{'params':{'collaboratorID':_0x5c2835['collaboratorID'],'objectID':_0x5c2835['objectID'],'unitID':_0x5c2835[_0x38d898(0x11c)]}});}async[_0x3125cd(0x3b6)](_0x5a498c){var _0xb58bc1=_0x3125cd;const _0x17bb6e=this[_0xb58bc1(0x41f)]()+_0xb58bc1(0x16f);await this[_0xb58bc1(0x163)][_0xb58bc1(0x25b)](_0x17bb6e,{'body':_0x5a498c});}async['createCollaborator'](_0x4a3bc0){var _0x2ff266=_0x3125cd;const _0xd61790=this[_0x2ff266(0x41f)]()+_0x2ff266(0x16f);await this[_0x2ff266(0x163)][_0x2ff266(0x33d)](_0xd61790,{'body':_0x4a3bc0});}async[_0x3125cd(0x42c)](_0x35b3b2){var _0x2030f3=_0x3125cd;const _0x14c2cb=this[_0x2030f3(0x41f)]()+_0x2030f3(0x16f);return(await this[_0x2030f3(0x163)][_0x2030f3(0x108)](_0x14c2cb,{'params':{'objectID':_0x35b3b2[_0x2030f3(0x2a4)],'unitID':_0x35b3b2['unitID']}}))['body'][_0x2030f3(0x10b)];}async[_0x3125cd(0x31e)](_0x152d27){var _0x415155=_0x3125cd;const _0x29369a=this[_0x415155(0x41f)]()+_0x415155(0x16f);await this[_0x415155(0x163)]['put'](_0x29369a,{'body':_0x152d27});}},_0x1a0555['AuthzIoHttpService']=_0x1a4331([_0x5e10f7(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x381bb4['HTTPService'])),_0x5e10f7(0x1,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0x226)]))],_0x1a0555['AuthzIoHttpService']);var _0x346592=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x22f387(_0x54dc56){var _0x1ff31c=_0x3125cd;return _0x54dc56&&_0x54dc56[_0x1ff31c(0x351)]&&Object[_0x1ff31c(0x2d8)][_0x1ff31c(0x187)][_0x1ff31c(0x1d4)](_0x54dc56,_0x1ff31c(0xdc))?_0x54dc56['default']:_0x54dc56;}var _0xd3719c={'exports':{}};function _0x4eb1ec(_0x59a335){var _0x53cac9=_0x3125cd;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x59a335+_0x53cac9(0x2f4));}var _0x305955={'exports':{}},_0x1d7995=_0x305955[_0x3125cd(0x483)],_0xe8699c;function _0x37b84e(){var _0x53bf36=_0x3125cd;return _0xe8699c||(_0xe8699c=0x1,function(_0x16782b,_0x19945c){(function(_0x409690,_0x42343e){var _0x5c14fd=_0x29a5;_0x16782b[_0x5c14fd(0x483)]=_0x42343e();}(_0x1d7995,function(){var _0xeb8652=_0xeb8652||function(_0x4e40c5,_0x25ee1f){var _0x1ffb09=_0x29a5,_0x123b1c;if(typeof window<'u'&&window['crypto']&&(_0x123b1c=window[_0x1ffb09(0x440)]),typeof self<'u'&&self['crypto']&&(_0x123b1c=self[_0x1ffb09(0x440)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x123b1c=globalThis[_0x1ffb09(0x440)]),!_0x123b1c&&typeof window<'u'&&window[_0x1ffb09(0x236)]&&(_0x123b1c=window['msCrypto']),!_0x123b1c&&typeof _0x346592<'u'&&_0x346592['crypto']&&(_0x123b1c=_0x346592[_0x1ffb09(0x440)]),!_0x123b1c&&typeof _0x4eb1ec==_0x1ffb09(0x44f))try{_0x123b1c=require('crypto');}catch{}var _0x5a8473=function(){var _0x21681c=_0x1ffb09;if(_0x123b1c){if(typeof _0x123b1c['getRandomValues']==_0x21681c(0x44f))try{return _0x123b1c[_0x21681c(0x431)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x123b1c[_0x21681c(0x37a)]=='function')try{return _0x123b1c[_0x21681c(0x37a)](0x4)[_0x21681c(0xfc)]();}catch{}}throw new Error(_0x21681c(0x3cc));},_0x12f5d2=Object['create']||(function(){function _0x23a537(){}return function(_0x491f12){var _0x57d01=_0x29a5,_0x5bb5d3;return _0x23a537['prototype']=_0x491f12,_0x5bb5d3=new _0x23a537(),_0x23a537[_0x57d01(0x2d8)]=null,_0x5bb5d3;};}()),_0x30448d={},_0x323b7c=_0x30448d[_0x1ffb09(0x3a6)]={},_0x3833bf=_0x323b7c[_0x1ffb09(0x3f4)]=(function(){return{'extend':function(_0xa3b1d7){var _0x326e45=_0x29a5,_0x37bdaa=_0x12f5d2(this);return _0xa3b1d7&&_0x37bdaa['mixIn'](_0xa3b1d7),(!_0x37bdaa[_0x326e45(0x187)](_0x326e45(0xd6))||this[_0x326e45(0xd6)]===_0x37bdaa[_0x326e45(0xd6)])&&(_0x37bdaa[_0x326e45(0xd6)]=function(){var _0x497d7e=_0x326e45;_0x37bdaa[_0x497d7e(0x1a4)][_0x497d7e(0xd6)]['apply'](this,arguments);}),_0x37bdaa['init'][_0x326e45(0x2d8)]=_0x37bdaa,_0x37bdaa['$super']=this,_0x37bdaa;},'create':function(){var _0x9b3e18=_0x29a5,_0x18d612=this['extend']();return _0x18d612['init'][_0x9b3e18(0x17d)](_0x18d612,arguments),_0x18d612;},'init':function(){},'mixIn':function(_0x25d917){var _0x411d26=_0x29a5;for(var _0x2a543c in _0x25d917)_0x25d917[_0x411d26(0x187)](_0x2a543c)&&(this[_0x2a543c]=_0x25d917[_0x2a543c]);_0x25d917[_0x411d26(0x187)](_0x411d26(0x195))&&(this[_0x411d26(0x195)]=_0x25d917['toString']);},'clone':function(){var _0x323311=_0x29a5;return this[_0x323311(0xd6)][_0x323311(0x2d8)][_0x323311(0x292)](this);}};}()),_0x51b69d=_0x323b7c[_0x1ffb09(0x2f2)]=_0x3833bf[_0x1ffb09(0x292)]({'init':function(_0x1a788f,_0x4557d6){var _0x48da5a=_0x1ffb09;_0x1a788f=this['words']=_0x1a788f||[],_0x4557d6!=_0x25ee1f?this[_0x48da5a(0x1bf)]=_0x4557d6:this['sigBytes']=_0x1a788f[_0x48da5a(0x367)]*0x4;},'toString':function(_0x3cef5c){return(_0x3cef5c||_0x5970c5)['stringify'](this);},'concat':function(_0x761fe5){var _0x27419e=_0x1ffb09,_0x314399=this[_0x27419e(0x186)],_0x397b04=_0x761fe5[_0x27419e(0x186)],_0x3101dd=this[_0x27419e(0x1bf)],_0x31f11d=_0x761fe5[_0x27419e(0x1bf)];if(this[_0x27419e(0x208)](),_0x3101dd%0x4)for(var _0x167066=0x0;_0x167066<_0x31f11d;_0x167066++){var _0x243211=_0x397b04[_0x167066>>>0x2]>>>0x18-_0x167066%0x4*0x8&0xff;_0x314399[_0x3101dd+_0x167066>>>0x2]|=_0x243211<<0x18-(_0x3101dd+_0x167066)%0x4*0x8;}else{for(var _0x8a8951=0x0;_0x8a8951<_0x31f11d;_0x8a8951+=0x4)_0x314399[_0x3101dd+_0x8a8951>>>0x2]=_0x397b04[_0x8a8951>>>0x2];}return this[_0x27419e(0x1bf)]+=_0x31f11d,this;},'clamp':function(){var _0x59853b=_0x1ffb09,_0x52bba0=this[_0x59853b(0x186)],_0x42ee61=this['sigBytes'];_0x52bba0[_0x42ee61>>>0x2]&=0xffffffff<<0x20-_0x42ee61%0x4*0x8,_0x52bba0[_0x59853b(0x367)]=_0x4e40c5[_0x59853b(0x1d9)](_0x42ee61/0x4);},'clone':function(){var _0x4e4f96=_0x1ffb09,_0x2a096c=_0x3833bf['clone'][_0x4e4f96(0x1d4)](this);return _0x2a096c[_0x4e4f96(0x186)]=this[_0x4e4f96(0x186)][_0x4e4f96(0x3d9)](0x0),_0x2a096c;},'random':function(_0x299e8e){var _0xc0a64e=_0x1ffb09;for(var _0x2088be=[],_0xc2de5c=0x0;_0xc2de5c<_0x299e8e;_0xc2de5c+=0x4)_0x2088be[_0xc0a64e(0x123)](_0x5a8473());return new _0x51b69d['init'](_0x2088be,_0x299e8e);}}),_0x33dfe4=_0x30448d[_0x1ffb09(0x363)]={},_0x5970c5=_0x33dfe4[_0x1ffb09(0x3b4)]={'stringify':function(_0x35c375){var _0x38e85a=_0x1ffb09;for(var _0x495898=_0x35c375[_0x38e85a(0x186)],_0x8a2dd=_0x35c375[_0x38e85a(0x1bf)],_0x39712e=[],_0x815cca=0x0;_0x815cca<_0x8a2dd;_0x815cca++){var _0x46cbe9=_0x495898[_0x815cca>>>0x2]>>>0x18-_0x815cca%0x4*0x8&0xff;_0x39712e[_0x38e85a(0x123)]((_0x46cbe9>>>0x4)[_0x38e85a(0x195)](0x10)),_0x39712e['push']((_0x46cbe9&0xf)[_0x38e85a(0x195)](0x10));}return _0x39712e[_0x38e85a(0x432)]('');},'parse':function(_0x45565a){var _0x576bbb=_0x1ffb09;for(var _0x5725a6=_0x45565a[_0x576bbb(0x367)],_0x40b269=[],_0x18e90e=0x0;_0x18e90e<_0x5725a6;_0x18e90e+=0x2)_0x40b269[_0x18e90e>>>0x3]|=parseInt(_0x45565a[_0x576bbb(0x1c2)](_0x18e90e,0x2),0x10)<<0x18-_0x18e90e%0x8*0x4;return new _0x51b69d[(_0x576bbb(0xd6))](_0x40b269,_0x5725a6/0x2);}},_0x45215a=_0x33dfe4[_0x1ffb09(0x285)]={'stringify':function(_0x48430e){var _0x2c1c2e=_0x1ffb09;for(var _0x3804ba=_0x48430e[_0x2c1c2e(0x186)],_0x15a4b5=_0x48430e[_0x2c1c2e(0x1bf)],_0x3eb54b=[],_0x3d2ed1=0x0;_0x3d2ed1<_0x15a4b5;_0x3d2ed1++){var _0x44e365=_0x3804ba[_0x3d2ed1>>>0x2]>>>0x18-_0x3d2ed1%0x4*0x8&0xff;_0x3eb54b[_0x2c1c2e(0x123)](String['fromCharCode'](_0x44e365));}return _0x3eb54b[_0x2c1c2e(0x432)]('');},'parse':function(_0x553361){var _0xdfb8c4=_0x1ffb09;for(var _0x183a41=_0x553361['length'],_0x4af4f1=[],_0xd61c11=0x0;_0xd61c11<_0x183a41;_0xd61c11++)_0x4af4f1[_0xd61c11>>>0x2]|=(_0x553361[_0xdfb8c4(0x156)](_0xd61c11)&0xff)<<0x18-_0xd61c11%0x4*0x8;return new _0x51b69d[(_0xdfb8c4(0xd6))](_0x4af4f1,_0x183a41);}},_0x468bdc=_0x33dfe4[_0x1ffb09(0x2ad)]={'stringify':function(_0x2d8145){var _0x144ee1=_0x1ffb09;try{return decodeURIComponent(escape(_0x45215a[_0x144ee1(0x1b5)](_0x2d8145)));}catch{throw new Error(_0x144ee1(0x3c1));}},'parse':function(_0x3720c0){var _0x2757ec=_0x1ffb09;return _0x45215a[_0x2757ec(0x345)](unescape(encodeURIComponent(_0x3720c0)));}},_0x5b1e67=_0x323b7c[_0x1ffb09(0x2b7)]=_0x3833bf[_0x1ffb09(0x292)]({'reset':function(){var _0x4ea6fb=_0x1ffb09;this[_0x4ea6fb(0xd5)]=new _0x51b69d['init'](),this[_0x4ea6fb(0x257)]=0x0;},'_append':function(_0x24f474){var _0x4bea69=_0x1ffb09;typeof _0x24f474=='string'&&(_0x24f474=_0x468bdc[_0x4bea69(0x345)](_0x24f474)),this[_0x4bea69(0xd5)][_0x4bea69(0x25c)](_0x24f474),this['_nDataBytes']+=_0x24f474[_0x4bea69(0x1bf)];},'_process':function(_0x54f85e){var _0x1e0bab=_0x1ffb09,_0x1b1f03,_0x40a1a5=this[_0x1e0bab(0xd5)],_0x26af36=_0x40a1a5['words'],_0x47c155=_0x40a1a5[_0x1e0bab(0x1bf)],_0xaf361e=this[_0x1e0bab(0xeb)],_0x3e17e4=_0xaf361e*0x4,_0x4972b2=_0x47c155/_0x3e17e4;_0x54f85e?_0x4972b2=_0x4e40c5[_0x1e0bab(0x1d9)](_0x4972b2):_0x4972b2=_0x4e40c5[_0x1e0bab(0x3f7)]((_0x4972b2|0x0)-this[_0x1e0bab(0x1b1)],0x0);var _0x4eb9d1=_0x4972b2*_0xaf361e,_0x4e0acb=_0x4e40c5[_0x1e0bab(0x3d7)](_0x4eb9d1*0x4,_0x47c155);if(_0x4eb9d1){for(var _0x281487=0x0;_0x281487<_0x4eb9d1;_0x281487+=_0xaf361e)this[_0x1e0bab(0x464)](_0x26af36,_0x281487);_0x1b1f03=_0x26af36[_0x1e0bab(0x1d2)](0x0,_0x4eb9d1),_0x40a1a5['sigBytes']-=_0x4e0acb;}return new _0x51b69d[(_0x1e0bab(0xd6))](_0x1b1f03,_0x4e0acb);},'clone':function(){var _0xb2ab77=_0x1ffb09,_0x42a24e=_0x3833bf[_0xb2ab77(0x229)]['call'](this);return _0x42a24e[_0xb2ab77(0xd5)]=this['_data']['clone'](),_0x42a24e;},'_minBufferSize':0x0});_0x323b7c[_0x1ffb09(0x41d)]=_0x5b1e67[_0x1ffb09(0x292)]({'cfg':_0x3833bf[_0x1ffb09(0x292)](),'init':function(_0x18a293){var _0x55767e=_0x1ffb09;this[_0x55767e(0x2de)]=this['cfg'][_0x55767e(0x292)](_0x18a293),this[_0x55767e(0x224)]();},'reset':function(){var _0x4ca96d=_0x1ffb09;_0x5b1e67[_0x4ca96d(0x224)][_0x4ca96d(0x1d4)](this),this[_0x4ca96d(0x15f)]();},'update':function(_0x979d34){var _0x273d3a=_0x1ffb09;return this[_0x273d3a(0x174)](_0x979d34),this['_process'](),this;},'finalize':function(_0x17c51e){_0x17c51e&&this['_append'](_0x17c51e);var _0x4eaad8=this['_doFinalize']();return _0x4eaad8;},'blockSize':0x10,'_createHelper':function(_0x59a0ff){return function(_0x1bebdc,_0x4af0da){return new _0x59a0ff['init'](_0x4af0da)['finalize'](_0x1bebdc);};},'_createHmacHelper':function(_0x3b0efd){return function(_0xf28094,_0x175e03){var _0x87ca36=_0x29a5;return new _0x2dcdb7[(_0x87ca36(0x2f9))]['init'](_0x3b0efd,_0x175e03)[_0x87ca36(0x3c9)](_0xf28094);};}});var _0x2dcdb7=_0x30448d[_0x1ffb09(0x2d9)]={};return _0x30448d;}(Math);return _0xeb8652;}));}(_0x305955)),_0x305955[_0x53bf36(0x483)];}var _0xcc2b85={'exports':{}},_0x4e6af5=_0xcc2b85[_0x3125cd(0x483)],_0x327e21;function _0x48e90e(){var _0x1b821c=_0x3125cd;return _0x327e21||(_0x327e21=0x1,function(_0x206396,_0x45d3ec){(function(_0x2a71a9,_0x140926){var _0x58a238=_0x29a5;_0x206396[_0x58a238(0x483)]=_0x140926(_0x37b84e());}(_0x4e6af5,function(_0xf9b786){var _0x27737b=_0x29a5;return(function(){var _0x573bfc=_0x29a5,_0x3a2270=_0xf9b786,_0x1132a6=_0x3a2270[_0x573bfc(0x3a6)],_0x206df=_0x1132a6[_0x573bfc(0x2f2)],_0x48b257=_0x3a2270[_0x573bfc(0x363)];_0x48b257[_0x573bfc(0x348)]={'stringify':function(_0x5d5f8d){var _0x1e002b=_0x573bfc,_0x34d75e=_0x5d5f8d[_0x1e002b(0x186)],_0x51a6e4=_0x5d5f8d[_0x1e002b(0x1bf)],_0x35bbe7=this[_0x1e002b(0x15c)];_0x5d5f8d[_0x1e002b(0x208)]();for(var _0x1e3fc6=[],_0x1ed555=0x0;_0x1ed555<_0x51a6e4;_0x1ed555+=0x3)for(var _0x37e5a8=_0x34d75e[_0x1ed555>>>0x2]>>>0x18-_0x1ed555%0x4*0x8&0xff,_0x31e3fc=_0x34d75e[_0x1ed555+0x1>>>0x2]>>>0x18-(_0x1ed555+0x1)%0x4*0x8&0xff,_0x16ab44=_0x34d75e[_0x1ed555+0x2>>>0x2]>>>0x18-(_0x1ed555+0x2)%0x4*0x8&0xff,_0x5dd628=_0x37e5a8<<0x10|_0x31e3fc<<0x8|_0x16ab44,_0x243699=0x0;_0x243699<0x4&&_0x1ed555+_0x243699*0.75<_0x51a6e4;_0x243699++)_0x1e3fc6[_0x1e002b(0x123)](_0x35bbe7['charAt'](_0x5dd628>>>0x6*(0x3-_0x243699)&0x3f));var _0xd3ccbe=_0x35bbe7[_0x1e002b(0x1b7)](0x40);if(_0xd3ccbe){for(;_0x1e3fc6[_0x1e002b(0x367)]%0x4;)_0x1e3fc6['push'](_0xd3ccbe);}return _0x1e3fc6[_0x1e002b(0x432)]('');},'parse':function(_0x386200){var _0x37513f=_0x573bfc,_0x4acc56=_0x386200[_0x37513f(0x367)],_0x8e8775=this[_0x37513f(0x15c)],_0x328d11=this[_0x37513f(0x2c4)];if(!_0x328d11){_0x328d11=this[_0x37513f(0x2c4)]=[];for(var _0x22562b=0x0;_0x22562b<_0x8e8775[_0x37513f(0x367)];_0x22562b++)_0x328d11[_0x8e8775[_0x37513f(0x156)](_0x22562b)]=_0x22562b;}var _0x3404a4=_0x8e8775[_0x37513f(0x1b7)](0x40);if(_0x3404a4){var _0x51ae08=_0x386200[_0x37513f(0x11e)](_0x3404a4);_0x51ae08!==-0x1&&(_0x4acc56=_0x51ae08);}return _0x1c1b7b(_0x386200,_0x4acc56,_0x328d11);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1c1b7b(_0x4d54e2,_0x2acad7,_0x306987){var _0x3d479e=_0x573bfc;for(var _0x1c58ad=[],_0x2dbb67=0x0,_0x3c701b=0x0;_0x3c701b<_0x2acad7;_0x3c701b++)if(_0x3c701b%0x4){var _0x293fb7=_0x306987[_0x4d54e2[_0x3d479e(0x156)](_0x3c701b-0x1)]<<_0x3c701b%0x4*0x2,_0x3279f8=_0x306987[_0x4d54e2[_0x3d479e(0x156)](_0x3c701b)]>>>0x6-_0x3c701b%0x4*0x2,_0x286190=_0x293fb7|_0x3279f8;_0x1c58ad[_0x2dbb67>>>0x2]|=_0x286190<<0x18-_0x2dbb67%0x4*0x8,_0x2dbb67++;}return _0x206df[_0x3d479e(0x221)](_0x1c58ad,_0x2dbb67);}}()),_0xf9b786['enc'][_0x27737b(0x348)];}));}(_0xcc2b85)),_0xcc2b85[_0x1b821c(0x483)];}var _0xc3d0c6={'exports':{}},_0x5e4bba=_0xc3d0c6[_0x3125cd(0x483)],_0x3a35e1;function _0x18eba3(){var _0x2fc2a4=_0x3125cd;return _0x3a35e1||(_0x3a35e1=0x1,function(_0x1b6c35,_0x326f40){(function(_0x19deea,_0x35ce6a){var _0xfeb628=_0x29a5;_0x1b6c35[_0xfeb628(0x483)]=_0x35ce6a(_0x37b84e());}(_0x5e4bba,function(_0x5e5017){return function(_0x477bfa){var _0x46d8ad=_0x29a5,_0x467877=_0x5e5017,_0x63a3c9=_0x467877[_0x46d8ad(0x3a6)],_0x1d8827=_0x63a3c9[_0x46d8ad(0x2f2)],_0xf4c25f=_0x63a3c9[_0x46d8ad(0x41d)],_0x27512b=_0x467877[_0x46d8ad(0x2d9)],_0x5ccace=[];(function(){var _0x53c65f=_0x46d8ad;for(var _0x4bc798=0x0;_0x4bc798<0x40;_0x4bc798++)_0x5ccace[_0x4bc798]=_0x477bfa[_0x53c65f(0x128)](_0x477bfa[_0x53c65f(0x1a3)](_0x4bc798+0x1))*0x100000000|0x0;}());var _0x18a492=_0x27512b[_0x46d8ad(0x481)]=_0xf4c25f['extend']({'_doReset':function(){var _0x166419=_0x46d8ad;this[_0x166419(0xfb)]=new _0x1d8827[(_0x166419(0xd6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x51ae6f,_0xaeb6f){var _0x34a3e7=_0x46d8ad;for(var _0x37fc46=0x0;_0x37fc46<0x10;_0x37fc46++){var _0x2ab453=_0xaeb6f+_0x37fc46,_0x3e1f19=_0x51ae6f[_0x2ab453];_0x51ae6f[_0x2ab453]=(_0x3e1f19<<0x8|_0x3e1f19>>>0x18)&0xff00ff|(_0x3e1f19<<0x18|_0x3e1f19>>>0x8)&0xff00ff00;}var _0x30246c=this['_hash'][_0x34a3e7(0x186)],_0x22874d=_0x51ae6f[_0xaeb6f+0x0],_0x52a485=_0x51ae6f[_0xaeb6f+0x1],_0x532519=_0x51ae6f[_0xaeb6f+0x2],_0x50effc=_0x51ae6f[_0xaeb6f+0x3],_0x2aaa66=_0x51ae6f[_0xaeb6f+0x4],_0x1c2f87=_0x51ae6f[_0xaeb6f+0x5],_0x4d756e=_0x51ae6f[_0xaeb6f+0x6],_0x19b556=_0x51ae6f[_0xaeb6f+0x7],_0x22b885=_0x51ae6f[_0xaeb6f+0x8],_0x2d0258=_0x51ae6f[_0xaeb6f+0x9],_0x169e25=_0x51ae6f[_0xaeb6f+0xa],_0x1598d5=_0x51ae6f[_0xaeb6f+0xb],_0xc083fc=_0x51ae6f[_0xaeb6f+0xc],_0x5339c3=_0x51ae6f[_0xaeb6f+0xd],_0x57ad43=_0x51ae6f[_0xaeb6f+0xe],_0x138c9e=_0x51ae6f[_0xaeb6f+0xf],_0x147ed9=_0x30246c[0x0],_0x3ab21f=_0x30246c[0x1],_0xf9b359=_0x30246c[0x2],_0x4df631=_0x30246c[0x3];_0x147ed9=_0x5f1b88(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x22874d,0x7,_0x5ccace[0x0]),_0x4df631=_0x5f1b88(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x52a485,0xc,_0x5ccace[0x1]),_0xf9b359=_0x5f1b88(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x532519,0x11,_0x5ccace[0x2]),_0x3ab21f=_0x5f1b88(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x50effc,0x16,_0x5ccace[0x3]),_0x147ed9=_0x5f1b88(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x2aaa66,0x7,_0x5ccace[0x4]),_0x4df631=_0x5f1b88(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x1c2f87,0xc,_0x5ccace[0x5]),_0xf9b359=_0x5f1b88(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x4d756e,0x11,_0x5ccace[0x6]),_0x3ab21f=_0x5f1b88(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x19b556,0x16,_0x5ccace[0x7]),_0x147ed9=_0x5f1b88(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x22b885,0x7,_0x5ccace[0x8]),_0x4df631=_0x5f1b88(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x2d0258,0xc,_0x5ccace[0x9]),_0xf9b359=_0x5f1b88(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x169e25,0x11,_0x5ccace[0xa]),_0x3ab21f=_0x5f1b88(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x1598d5,0x16,_0x5ccace[0xb]),_0x147ed9=_0x5f1b88(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0xc083fc,0x7,_0x5ccace[0xc]),_0x4df631=_0x5f1b88(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x5339c3,0xc,_0x5ccace[0xd]),_0xf9b359=_0x5f1b88(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x57ad43,0x11,_0x5ccace[0xe]),_0x3ab21f=_0x5f1b88(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x138c9e,0x16,_0x5ccace[0xf]),_0x147ed9=_0x3a7363(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x52a485,0x5,_0x5ccace[0x10]),_0x4df631=_0x3a7363(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x4d756e,0x9,_0x5ccace[0x11]),_0xf9b359=_0x3a7363(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x1598d5,0xe,_0x5ccace[0x12]),_0x3ab21f=_0x3a7363(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x22874d,0x14,_0x5ccace[0x13]),_0x147ed9=_0x3a7363(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x1c2f87,0x5,_0x5ccace[0x14]),_0x4df631=_0x3a7363(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x169e25,0x9,_0x5ccace[0x15]),_0xf9b359=_0x3a7363(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x138c9e,0xe,_0x5ccace[0x16]),_0x3ab21f=_0x3a7363(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x2aaa66,0x14,_0x5ccace[0x17]),_0x147ed9=_0x3a7363(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x2d0258,0x5,_0x5ccace[0x18]),_0x4df631=_0x3a7363(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x57ad43,0x9,_0x5ccace[0x19]),_0xf9b359=_0x3a7363(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x50effc,0xe,_0x5ccace[0x1a]),_0x3ab21f=_0x3a7363(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x22b885,0x14,_0x5ccace[0x1b]),_0x147ed9=_0x3a7363(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x5339c3,0x5,_0x5ccace[0x1c]),_0x4df631=_0x3a7363(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x532519,0x9,_0x5ccace[0x1d]),_0xf9b359=_0x3a7363(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x19b556,0xe,_0x5ccace[0x1e]),_0x3ab21f=_0x3a7363(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0xc083fc,0x14,_0x5ccace[0x1f]),_0x147ed9=_0x2d364e(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x1c2f87,0x4,_0x5ccace[0x20]),_0x4df631=_0x2d364e(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x22b885,0xb,_0x5ccace[0x21]),_0xf9b359=_0x2d364e(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x1598d5,0x10,_0x5ccace[0x22]),_0x3ab21f=_0x2d364e(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x57ad43,0x17,_0x5ccace[0x23]),_0x147ed9=_0x2d364e(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x52a485,0x4,_0x5ccace[0x24]),_0x4df631=_0x2d364e(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x2aaa66,0xb,_0x5ccace[0x25]),_0xf9b359=_0x2d364e(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x19b556,0x10,_0x5ccace[0x26]),_0x3ab21f=_0x2d364e(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x169e25,0x17,_0x5ccace[0x27]),_0x147ed9=_0x2d364e(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x5339c3,0x4,_0x5ccace[0x28]),_0x4df631=_0x2d364e(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x22874d,0xb,_0x5ccace[0x29]),_0xf9b359=_0x2d364e(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x50effc,0x10,_0x5ccace[0x2a]),_0x3ab21f=_0x2d364e(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x4d756e,0x17,_0x5ccace[0x2b]),_0x147ed9=_0x2d364e(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x2d0258,0x4,_0x5ccace[0x2c]),_0x4df631=_0x2d364e(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0xc083fc,0xb,_0x5ccace[0x2d]),_0xf9b359=_0x2d364e(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x138c9e,0x10,_0x5ccace[0x2e]),_0x3ab21f=_0x2d364e(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x532519,0x17,_0x5ccace[0x2f]),_0x147ed9=_0x243b26(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x22874d,0x6,_0x5ccace[0x30]),_0x4df631=_0x243b26(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x19b556,0xa,_0x5ccace[0x31]),_0xf9b359=_0x243b26(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x57ad43,0xf,_0x5ccace[0x32]),_0x3ab21f=_0x243b26(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x1c2f87,0x15,_0x5ccace[0x33]),_0x147ed9=_0x243b26(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0xc083fc,0x6,_0x5ccace[0x34]),_0x4df631=_0x243b26(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x50effc,0xa,_0x5ccace[0x35]),_0xf9b359=_0x243b26(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x169e25,0xf,_0x5ccace[0x36]),_0x3ab21f=_0x243b26(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x52a485,0x15,_0x5ccace[0x37]),_0x147ed9=_0x243b26(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x22b885,0x6,_0x5ccace[0x38]),_0x4df631=_0x243b26(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x138c9e,0xa,_0x5ccace[0x39]),_0xf9b359=_0x243b26(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x4d756e,0xf,_0x5ccace[0x3a]),_0x3ab21f=_0x243b26(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x5339c3,0x15,_0x5ccace[0x3b]),_0x147ed9=_0x243b26(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x2aaa66,0x6,_0x5ccace[0x3c]),_0x4df631=_0x243b26(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x1598d5,0xa,_0x5ccace[0x3d]),_0xf9b359=_0x243b26(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x532519,0xf,_0x5ccace[0x3e]),_0x3ab21f=_0x243b26(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x2d0258,0x15,_0x5ccace[0x3f]),_0x30246c[0x0]=_0x30246c[0x0]+_0x147ed9|0x0,_0x30246c[0x1]=_0x30246c[0x1]+_0x3ab21f|0x0,_0x30246c[0x2]=_0x30246c[0x2]+_0xf9b359|0x0,_0x30246c[0x3]=_0x30246c[0x3]+_0x4df631|0x0;},'_doFinalize':function(){var _0x4c8bc2=_0x46d8ad,_0x2cc618=this['_data'],_0x4e0776=_0x2cc618[_0x4c8bc2(0x186)],_0x18c3f9=this['_nDataBytes']*0x8,_0x3488aa=_0x2cc618[_0x4c8bc2(0x1bf)]*0x8;_0x4e0776[_0x3488aa>>>0x5]|=0x80<<0x18-_0x3488aa%0x20;var _0x5506f1=_0x477bfa[_0x4c8bc2(0x378)](_0x18c3f9/0x100000000),_0x3187ab=_0x18c3f9;_0x4e0776[(_0x3488aa+0x40>>>0x9<<0x4)+0xf]=(_0x5506f1<<0x8|_0x5506f1>>>0x18)&0xff00ff|(_0x5506f1<<0x18|_0x5506f1>>>0x8)&0xff00ff00,_0x4e0776[(_0x3488aa+0x40>>>0x9<<0x4)+0xe]=(_0x3187ab<<0x8|_0x3187ab>>>0x18)&0xff00ff|(_0x3187ab<<0x18|_0x3187ab>>>0x8)&0xff00ff00,_0x2cc618[_0x4c8bc2(0x1bf)]=(_0x4e0776[_0x4c8bc2(0x367)]+0x1)*0x4,this['_process']();for(var _0x19d1c8=this[_0x4c8bc2(0xfb)],_0x2ac76d=_0x19d1c8[_0x4c8bc2(0x186)],_0x5cf126=0x0;_0x5cf126<0x4;_0x5cf126++){var _0x2a70ab=_0x2ac76d[_0x5cf126];_0x2ac76d[_0x5cf126]=(_0x2a70ab<<0x8|_0x2a70ab>>>0x18)&0xff00ff|(_0x2a70ab<<0x18|_0x2a70ab>>>0x8)&0xff00ff00;}return _0x19d1c8;},'clone':function(){var _0x4f15c9=_0x46d8ad,_0x3f2988=_0xf4c25f[_0x4f15c9(0x229)][_0x4f15c9(0x1d4)](this);return _0x3f2988[_0x4f15c9(0xfb)]=this[_0x4f15c9(0xfb)]['clone'](),_0x3f2988;}});function _0x5f1b88(_0x44f564,_0x2d3d81,_0x99fd4,_0x32af69,_0x1fb185,_0x5c25ec,_0x24fcd9){var _0x115ffa=_0x44f564+(_0x2d3d81&_0x99fd4|~_0x2d3d81&_0x32af69)+_0x1fb185+_0x24fcd9;return(_0x115ffa<<_0x5c25ec|_0x115ffa>>>0x20-_0x5c25ec)+_0x2d3d81;}function _0x3a7363(_0x5249c0,_0x5705d6,_0x4e5862,_0xa61859,_0xb90288,_0x20a510,_0x559db9){var _0x9ace57=_0x5249c0+(_0x5705d6&_0xa61859|_0x4e5862&~_0xa61859)+_0xb90288+_0x559db9;return(_0x9ace57<<_0x20a510|_0x9ace57>>>0x20-_0x20a510)+_0x5705d6;}function _0x2d364e(_0x389a09,_0x64699b,_0xf8f9c8,_0x5297b2,_0x2331dd,_0x37dac7,_0x46c84c){var _0x497b37=_0x389a09+(_0x64699b^_0xf8f9c8^_0x5297b2)+_0x2331dd+_0x46c84c;return(_0x497b37<<_0x37dac7|_0x497b37>>>0x20-_0x37dac7)+_0x64699b;}function _0x243b26(_0xddb58d,_0x485a1d,_0x5040a6,_0x53204c,_0x455bbb,_0x750bd0,_0x1f0154){var _0x5dce85=_0xddb58d+(_0x5040a6^(_0x485a1d|~_0x53204c))+_0x455bbb+_0x1f0154;return(_0x5dce85<<_0x750bd0|_0x5dce85>>>0x20-_0x750bd0)+_0x485a1d;}_0x467877[_0x46d8ad(0x481)]=_0xf4c25f[_0x46d8ad(0x19f)](_0x18a492),_0x467877[_0x46d8ad(0x238)]=_0xf4c25f[_0x46d8ad(0x36e)](_0x18a492);}(Math),_0x5e5017['MD5'];}));}(_0xc3d0c6)),_0xc3d0c6[_0x2fc2a4(0x483)];}var _0x5b3ce3={'exports':{}},_0x2ea8d8={'exports':{}},_0x2a33fe=_0x2ea8d8['exports'],_0x349034;function _0x460410(){var _0x3aab2c=_0x3125cd;return _0x349034||(_0x349034=0x1,function(_0x2278d4,_0x431302){(function(_0x5c3dc1,_0x2c8d75){var _0x159303=_0x29a5;_0x2278d4[_0x159303(0x483)]=_0x2c8d75(_0x37b84e());}(_0x2a33fe,function(_0x5c418e){var _0x1fa05c=_0x29a5;return(function(){var _0x5b6e75=_0x29a5,_0x578454=_0x5c418e,_0x595fda=_0x578454[_0x5b6e75(0x3a6)],_0x24d41e=_0x595fda[_0x5b6e75(0x2f2)],_0x3567ff=_0x595fda[_0x5b6e75(0x41d)],_0x467443=_0x578454[_0x5b6e75(0x2d9)],_0x2e9367=[],_0x442806=_0x467443[_0x5b6e75(0x3dc)]=_0x3567ff['extend']({'_doReset':function(){var _0x575a7a=_0x5b6e75;this[_0x575a7a(0xfb)]=new _0x24d41e[(_0x575a7a(0xd6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5d00d9,_0x1eb1c0){var _0x21303d=_0x5b6e75;for(var _0x3a24ef=this['_hash'][_0x21303d(0x186)],_0x2fbdd5=_0x3a24ef[0x0],_0x1ac3e5=_0x3a24ef[0x1],_0x4d435d=_0x3a24ef[0x2],_0x3fcd54=_0x3a24ef[0x3],_0x512e60=_0x3a24ef[0x4],_0x8d49cd=0x0;_0x8d49cd<0x50;_0x8d49cd++){if(_0x8d49cd<0x10)_0x2e9367[_0x8d49cd]=_0x5d00d9[_0x1eb1c0+_0x8d49cd]|0x0;else{var _0x3c8c25=_0x2e9367[_0x8d49cd-0x3]^_0x2e9367[_0x8d49cd-0x8]^_0x2e9367[_0x8d49cd-0xe]^_0x2e9367[_0x8d49cd-0x10];_0x2e9367[_0x8d49cd]=_0x3c8c25<<0x1|_0x3c8c25>>>0x1f;}var _0x5660c2=(_0x2fbdd5<<0x5|_0x2fbdd5>>>0x1b)+_0x512e60+_0x2e9367[_0x8d49cd];_0x8d49cd<0x14?_0x5660c2+=(_0x1ac3e5&_0x4d435d|~_0x1ac3e5&_0x3fcd54)+0x5a827999:_0x8d49cd<0x28?_0x5660c2+=(_0x1ac3e5^_0x4d435d^_0x3fcd54)+0x6ed9eba1:_0x8d49cd<0x3c?_0x5660c2+=(_0x1ac3e5&_0x4d435d|_0x1ac3e5&_0x3fcd54|_0x4d435d&_0x3fcd54)-0x70e44324:_0x5660c2+=(_0x1ac3e5^_0x4d435d^_0x3fcd54)-0x359d3e2a,_0x512e60=_0x3fcd54,_0x3fcd54=_0x4d435d,_0x4d435d=_0x1ac3e5<<0x1e|_0x1ac3e5>>>0x2,_0x1ac3e5=_0x2fbdd5,_0x2fbdd5=_0x5660c2;}_0x3a24ef[0x0]=_0x3a24ef[0x0]+_0x2fbdd5|0x0,_0x3a24ef[0x1]=_0x3a24ef[0x1]+_0x1ac3e5|0x0,_0x3a24ef[0x2]=_0x3a24ef[0x2]+_0x4d435d|0x0,_0x3a24ef[0x3]=_0x3a24ef[0x3]+_0x3fcd54|0x0,_0x3a24ef[0x4]=_0x3a24ef[0x4]+_0x512e60|0x0;},'_doFinalize':function(){var _0x2bdb65=_0x5b6e75,_0x46d633=this['_data'],_0x11abf1=_0x46d633[_0x2bdb65(0x186)],_0x1177d1=this['_nDataBytes']*0x8,_0x1a23f1=_0x46d633['sigBytes']*0x8;return _0x11abf1[_0x1a23f1>>>0x5]|=0x80<<0x18-_0x1a23f1%0x20,_0x11abf1[(_0x1a23f1+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x1177d1/0x100000000),_0x11abf1[(_0x1a23f1+0x40>>>0x9<<0x4)+0xf]=_0x1177d1,_0x46d633[_0x2bdb65(0x1bf)]=_0x11abf1['length']*0x4,this[_0x2bdb65(0x324)](),this[_0x2bdb65(0xfb)];},'clone':function(){var _0x2957d7=_0x5b6e75,_0x19511d=_0x3567ff[_0x2957d7(0x229)][_0x2957d7(0x1d4)](this);return _0x19511d['_hash']=this[_0x2957d7(0xfb)][_0x2957d7(0x229)](),_0x19511d;}});_0x578454[_0x5b6e75(0x3dc)]=_0x3567ff[_0x5b6e75(0x19f)](_0x442806),_0x578454[_0x5b6e75(0x3cb)]=_0x3567ff['_createHmacHelper'](_0x442806);}()),_0x5c418e[_0x1fa05c(0x3dc)];}));}(_0x2ea8d8)),_0x2ea8d8[_0x3aab2c(0x483)];}var _0x533ace={'exports':{}},_0x454f75=_0x533ace['exports'],_0x46b933;function _0xd29bcf(){var _0x43a70e=_0x3125cd;return _0x46b933||(_0x46b933=0x1,function(_0x300b30,_0x990a7d){(function(_0x3b721d,_0x50c0f1){var _0x45cc1e=_0x29a5;_0x300b30[_0x45cc1e(0x483)]=_0x50c0f1(_0x37b84e());}(_0x454f75,function(_0x234fca){(function(){var _0x37232c=_0x29a5,_0x4c1a87=_0x234fca,_0x2623c6=_0x4c1a87[_0x37232c(0x3a6)],_0x47fda2=_0x2623c6['Base'],_0x41964a=_0x4c1a87[_0x37232c(0x363)],_0x2017c7=_0x41964a[_0x37232c(0x2ad)],_0x4993fc=_0x4c1a87[_0x37232c(0x2d9)];_0x4993fc[_0x37232c(0x2f9)]=_0x47fda2[_0x37232c(0x292)]({'init':function(_0x1df384,_0x268f9a){var _0x3bef90=_0x37232c;_0x1df384=this[_0x3bef90(0x228)]=new _0x1df384[(_0x3bef90(0xd6))](),typeof _0x268f9a==_0x3bef90(0x360)&&(_0x268f9a=_0x2017c7[_0x3bef90(0x345)](_0x268f9a));var _0x19ea05=_0x1df384[_0x3bef90(0xeb)],_0x2665a6=_0x19ea05*0x4;_0x268f9a[_0x3bef90(0x1bf)]>_0x2665a6&&(_0x268f9a=_0x1df384[_0x3bef90(0x3c9)](_0x268f9a)),_0x268f9a[_0x3bef90(0x208)]();for(var _0x233593=this['_oKey']=_0x268f9a['clone'](),_0x573e7d=this[_0x3bef90(0x2e8)]=_0x268f9a[_0x3bef90(0x229)](),_0xdcfec9=_0x233593[_0x3bef90(0x186)],_0x422f50=_0x573e7d[_0x3bef90(0x186)],_0x545961=0x0;_0x545961<_0x19ea05;_0x545961++)_0xdcfec9[_0x545961]^=0x5c5c5c5c,_0x422f50[_0x545961]^=0x36363636;_0x233593[_0x3bef90(0x1bf)]=_0x573e7d[_0x3bef90(0x1bf)]=_0x2665a6,this[_0x3bef90(0x224)]();},'reset':function(){var _0x391d36=_0x37232c,_0x1a8d45=this[_0x391d36(0x228)];_0x1a8d45[_0x391d36(0x224)](),_0x1a8d45['update'](this[_0x391d36(0x2e8)]);},'update':function(_0x3d8ff2){var _0x185ec4=_0x37232c;return this['_hasher'][_0x185ec4(0x184)](_0x3d8ff2),this;},'finalize':function(_0x513df2){var _0x316fd0=_0x37232c,_0x40adde=this[_0x316fd0(0x228)],_0x56bbe3=_0x40adde[_0x316fd0(0x3c9)](_0x513df2);_0x40adde[_0x316fd0(0x224)]();var _0x1f6d3a=_0x40adde[_0x316fd0(0x3c9)](this[_0x316fd0(0x1dc)]['clone']()[_0x316fd0(0x25c)](_0x56bbe3));return _0x1f6d3a;}});}());}));}(_0x533ace)),_0x533ace[_0x43a70e(0x483)];}var _0x20a1b2=_0x5b3ce3['exports'],_0x34d381;function _0x525988(){var _0x580760=_0x3125cd;return _0x34d381||(_0x34d381=0x1,function(_0x3142d7,_0x4cc894){(function(_0x59aa85,_0x4da036,_0x3094a6){var _0x436663=_0x29a5;_0x3142d7[_0x436663(0x483)]=_0x4da036(_0x37b84e(),_0x460410(),_0xd29bcf());}(_0x20a1b2,function(_0x48eb7c){var _0x3edeb8=_0x29a5;return(function(){var _0x4f9139=_0x29a5,_0x1a5264=_0x48eb7c,_0xfe2f68=_0x1a5264[_0x4f9139(0x3a6)],_0x3d5be3=_0xfe2f68['Base'],_0x549f5a=_0xfe2f68[_0x4f9139(0x2f2)],_0xc90e52=_0x1a5264['algo'],_0x5ea011=_0xc90e52[_0x4f9139(0x481)],_0x2451da=_0xc90e52[_0x4f9139(0x305)]=_0x3d5be3['extend']({'cfg':_0x3d5be3[_0x4f9139(0x292)]({'keySize':0x80/0x20,'hasher':_0x5ea011,'iterations':0x1}),'init':function(_0x17a66c){var _0x16995c=_0x4f9139;this[_0x16995c(0x2de)]=this[_0x16995c(0x2de)][_0x16995c(0x292)](_0x17a66c);},'compute':function(_0x47456e,_0x19a666){var _0x4b22bd=_0x4f9139;for(var _0x4c46f8,_0x208741=this[_0x4b22bd(0x2de)],_0x11c606=_0x208741[_0x4b22bd(0x25e)]['create'](),_0x32d54b=_0x549f5a[_0x4b22bd(0x221)](),_0x4896f8=_0x32d54b[_0x4b22bd(0x186)],_0x969305=_0x208741[_0x4b22bd(0x3ba)],_0x1e9e1b=_0x208741[_0x4b22bd(0x43c)];_0x4896f8[_0x4b22bd(0x367)]<_0x969305;){_0x4c46f8&&_0x11c606[_0x4b22bd(0x184)](_0x4c46f8),_0x4c46f8=_0x11c606['update'](_0x47456e)[_0x4b22bd(0x3c9)](_0x19a666),_0x11c606[_0x4b22bd(0x224)]();for(var _0x53b851=0x1;_0x53b851<_0x1e9e1b;_0x53b851++)_0x4c46f8=_0x11c606[_0x4b22bd(0x3c9)](_0x4c46f8),_0x11c606[_0x4b22bd(0x224)]();_0x32d54b[_0x4b22bd(0x25c)](_0x4c46f8);}return _0x32d54b[_0x4b22bd(0x1bf)]=_0x969305*0x4,_0x32d54b;}});_0x1a5264[_0x4f9139(0x305)]=function(_0x3aa271,_0x456ef5,_0x1d02ef){var _0x5bd149=_0x4f9139;return _0x2451da[_0x5bd149(0x221)](_0x1d02ef)[_0x5bd149(0x427)](_0x3aa271,_0x456ef5);};}()),_0x48eb7c[_0x3edeb8(0x305)];}));}(_0x5b3ce3)),_0x5b3ce3[_0x580760(0x483)];}var _0x41e7cb={'exports':{}},_0x17b33e=_0x41e7cb[_0x3125cd(0x483)],_0x4ffc9e;function _0x2e3d6e(){var _0x28f4c8=_0x3125cd;return _0x4ffc9e||(_0x4ffc9e=0x1,function(_0x5afc97,_0x409899){(function(_0x1e56d3,_0xf9e502,_0x4e36f3){var _0x3cfb6f=_0x29a5;_0x5afc97[_0x3cfb6f(0x483)]=_0xf9e502(_0x37b84e(),_0x525988());}(_0x17b33e,function(_0x1d8758){var _0x25693e=_0x29a5;_0x1d8758[_0x25693e(0x3a6)]['Cipher']||function(_0x5b7315){var _0xe49c4a=_0x25693e,_0x5a6c07=_0x1d8758,_0x27a4d1=_0x5a6c07['lib'],_0xfbdc61=_0x27a4d1[_0xe49c4a(0x3f4)],_0x48bb33=_0x27a4d1[_0xe49c4a(0x2f2)],_0x55ba4f=_0x27a4d1[_0xe49c4a(0x2b7)],_0x9057da=_0x5a6c07['enc'];_0x9057da['Utf8'];var _0x3b8ddb=_0x9057da[_0xe49c4a(0x348)],_0x4aea13=_0x5a6c07[_0xe49c4a(0x2d9)],_0x21dbf1=_0x4aea13[_0xe49c4a(0x305)],_0x437542=_0x27a4d1['Cipher']=_0x55ba4f[_0xe49c4a(0x292)]({'cfg':_0xfbdc61[_0xe49c4a(0x292)](),'createEncryptor':function(_0x32a4c9,_0xa187c){var _0x42452a=_0xe49c4a;return this['create'](this[_0x42452a(0x2fd)],_0x32a4c9,_0xa187c);},'createDecryptor':function(_0x4bb707,_0x5e37bd){var _0x4fe3cc=_0xe49c4a;return this[_0x4fe3cc(0x221)](this[_0x4fe3cc(0x1b3)],_0x4bb707,_0x5e37bd);},'init':function(_0x22a300,_0x110fcf,_0x3680b7){var _0x3bc74c=_0xe49c4a;this[_0x3bc74c(0x2de)]=this[_0x3bc74c(0x2de)]['extend'](_0x3680b7),this[_0x3bc74c(0x2e0)]=_0x22a300,this[_0x3bc74c(0x41b)]=_0x110fcf,this['reset']();},'reset':function(){var _0x57239b=_0xe49c4a;_0x55ba4f[_0x57239b(0x224)][_0x57239b(0x1d4)](this),this[_0x57239b(0x15f)]();},'process':function(_0x2599d4){var _0x4af3f3=_0xe49c4a;return this[_0x4af3f3(0x174)](_0x2599d4),this[_0x4af3f3(0x324)]();},'finalize':function(_0x41085d){var _0x66ce26=_0xe49c4a;_0x41085d&&this[_0x66ce26(0x174)](_0x41085d);var _0x1ebae4=this[_0x66ce26(0x43a)]();return _0x1ebae4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x40ba99(_0x2abf16){return typeof _0x2abf16=='string'?_0x577246:_0x2e479c;}return function(_0x22ff88){return{'encrypt':function(_0x1da6b7,_0x2db1fc,_0x51e6a5){var _0x195150=_0x29a5;return _0x40ba99(_0x2db1fc)[_0x195150(0x426)](_0x22ff88,_0x1da6b7,_0x2db1fc,_0x51e6a5);},'decrypt':function(_0x35f63f,_0x2f8700,_0xb06c17){var _0x2670dd=_0x29a5;return _0x40ba99(_0x2f8700)[_0x2670dd(0x304)](_0x22ff88,_0x35f63f,_0x2f8700,_0xb06c17);}};};}())});_0x27a4d1[_0xe49c4a(0x1d7)]=_0x437542[_0xe49c4a(0x292)]({'_doFinalize':function(){var _0x326c96=_0xe49c4a,_0x1dd680=this[_0x326c96(0x324)](!0x0);return _0x1dd680;},'blockSize':0x1});var _0x73c7f2=_0x5a6c07[_0xe49c4a(0x25d)]={},_0x6785a4=_0x27a4d1[_0xe49c4a(0x14d)]=_0xfbdc61['extend']({'createEncryptor':function(_0x5a2e87,_0x2f4b02){var _0x4328bd=_0xe49c4a;return this[_0x4328bd(0x42b)][_0x4328bd(0x221)](_0x5a2e87,_0x2f4b02);},'createDecryptor':function(_0x576246,_0x263755){var _0x317c73=_0xe49c4a;return this[_0x317c73(0x3f5)][_0x317c73(0x221)](_0x576246,_0x263755);},'init':function(_0x47f5f6,_0x36f0ad){var _0x64f12a=_0xe49c4a;this[_0x64f12a(0x13b)]=_0x47f5f6,this['_iv']=_0x36f0ad;}}),_0x2a756f=_0x73c7f2[_0xe49c4a(0x3ab)]=(function(){var _0x37293e=_0xe49c4a,_0x986848=_0x6785a4[_0x37293e(0x292)]();_0x986848[_0x37293e(0x42b)]=_0x986848['extend']({'processBlock':function(_0x367e2e,_0xd43c3){var _0x1c2d36=_0x37293e,_0x458459=this[_0x1c2d36(0x13b)],_0x552095=_0x458459[_0x1c2d36(0xeb)];_0x3ab7a6['call'](this,_0x367e2e,_0xd43c3,_0x552095),_0x458459[_0x1c2d36(0x146)](_0x367e2e,_0xd43c3),this[_0x1c2d36(0x43e)]=_0x367e2e[_0x1c2d36(0x3d9)](_0xd43c3,_0xd43c3+_0x552095);}}),_0x986848[_0x37293e(0x3f5)]=_0x986848['extend']({'processBlock':function(_0x4878cc,_0x231569){var _0x4e1ca6=_0x37293e,_0x381f53=this[_0x4e1ca6(0x13b)],_0x530993=_0x381f53[_0x4e1ca6(0xeb)],_0x2de772=_0x4878cc[_0x4e1ca6(0x3d9)](_0x231569,_0x231569+_0x530993);_0x381f53[_0x4e1ca6(0x3f1)](_0x4878cc,_0x231569),_0x3ab7a6[_0x4e1ca6(0x1d4)](this,_0x4878cc,_0x231569,_0x530993),this['_prevBlock']=_0x2de772;}});function _0x3ab7a6(_0x575e1d,_0x2def80,_0x328673){var _0x7676d7=_0x37293e,_0x542103,_0x466ad8=this[_0x7676d7(0x3ce)];_0x466ad8?(_0x542103=_0x466ad8,this['_iv']=_0x5b7315):_0x542103=this[_0x7676d7(0x43e)];for(var _0x142031=0x0;_0x142031<_0x328673;_0x142031++)_0x575e1d[_0x2def80+_0x142031]^=_0x542103[_0x142031];}return _0x986848;}()),_0x2a0444=_0x5a6c07[_0xe49c4a(0x2cf)]={},_0x4a18f8=_0x2a0444[_0xe49c4a(0x103)]={'pad':function(_0x168682,_0xc3763f){var _0x11dafa=_0xe49c4a;for(var _0x28d810=_0xc3763f*0x4,_0x320d0f=_0x28d810-_0x168682['sigBytes']%_0x28d810,_0x5092c1=_0x320d0f<<0x18|_0x320d0f<<0x10|_0x320d0f<<0x8|_0x320d0f,_0xa607af=[],_0x4021c2=0x0;_0x4021c2<_0x320d0f;_0x4021c2+=0x4)_0xa607af['push'](_0x5092c1);var _0x2f46ac=_0x48bb33[_0x11dafa(0x221)](_0xa607af,_0x320d0f);_0x168682[_0x11dafa(0x25c)](_0x2f46ac);},'unpad':function(_0x5872d5){var _0x59b681=_0xe49c4a,_0x1fc204=_0x5872d5[_0x59b681(0x186)][_0x5872d5['sigBytes']-0x1>>>0x2]&0xff;_0x5872d5[_0x59b681(0x1bf)]-=_0x1fc204;}};_0x27a4d1['BlockCipher']=_0x437542[_0xe49c4a(0x292)]({'cfg':_0x437542[_0xe49c4a(0x2de)][_0xe49c4a(0x292)]({'mode':_0x2a756f,'padding':_0x4a18f8}),'reset':function(){var _0x3c5eb1=_0xe49c4a,_0xb00e7f;_0x437542[_0x3c5eb1(0x224)][_0x3c5eb1(0x1d4)](this);var _0xab06bd=this[_0x3c5eb1(0x2de)],_0x29dbc9=_0xab06bd['iv'],_0x7ccc91=_0xab06bd[_0x3c5eb1(0x25d)];this[_0x3c5eb1(0x2e0)]==this[_0x3c5eb1(0x2fd)]?_0xb00e7f=_0x7ccc91[_0x3c5eb1(0x12d)]:(_0xb00e7f=_0x7ccc91['createDecryptor'],this[_0x3c5eb1(0x1b1)]=0x1),this[_0x3c5eb1(0x40f)]&&this[_0x3c5eb1(0x40f)][_0x3c5eb1(0x339)]==_0xb00e7f?this[_0x3c5eb1(0x40f)][_0x3c5eb1(0xd6)](this,_0x29dbc9&&_0x29dbc9[_0x3c5eb1(0x186)]):(this[_0x3c5eb1(0x40f)]=_0xb00e7f[_0x3c5eb1(0x1d4)](_0x7ccc91,this,_0x29dbc9&&_0x29dbc9[_0x3c5eb1(0x186)]),this['_mode'][_0x3c5eb1(0x339)]=_0xb00e7f);},'_doProcessBlock':function(_0x233b42,_0x2335e7){var _0x110df8=_0xe49c4a;this['_mode'][_0x110df8(0x1c8)](_0x233b42,_0x2335e7);},'_doFinalize':function(){var _0x450842=_0xe49c4a,_0x57e873,_0x5cd754=this[_0x450842(0x2de)][_0x450842(0x269)];return this[_0x450842(0x2e0)]==this['_ENC_XFORM_MODE']?(_0x5cd754[_0x450842(0x2cf)](this[_0x450842(0xd5)],this[_0x450842(0xeb)]),_0x57e873=this[_0x450842(0x324)](!0x0)):(_0x57e873=this['_process'](!0x0),_0x5cd754[_0x450842(0x2d4)](_0x57e873)),_0x57e873;},'blockSize':0x80/0x20});var _0x1def82=_0x27a4d1[_0xe49c4a(0x13f)]=_0xfbdc61['extend']({'init':function(_0x16e43a){var _0x5a1ddd=_0xe49c4a;this[_0x5a1ddd(0x439)](_0x16e43a);},'toString':function(_0x9593be){var _0xe5ebdf=_0xe49c4a;return(_0x9593be||this[_0xe5ebdf(0x13d)])[_0xe5ebdf(0x1b5)](this);}}),_0x2199df=_0x5a6c07[_0xe49c4a(0x414)]={},_0x155d97=_0x2199df[_0xe49c4a(0x366)]={'stringify':function(_0x4fc01e){var _0x317306=_0xe49c4a,_0x9fef6c,_0x391561=_0x4fc01e[_0x317306(0x409)],_0x2a9069=_0x4fc01e[_0x317306(0x25f)];return _0x2a9069?_0x9fef6c=_0x48bb33[_0x317306(0x221)]([0x53616c74,0x65645f5f])[_0x317306(0x25c)](_0x2a9069)[_0x317306(0x25c)](_0x391561):_0x9fef6c=_0x391561,_0x9fef6c[_0x317306(0x195)](_0x3b8ddb);},'parse':function(_0x444922){var _0x3f01e4=_0xe49c4a,_0x25500a,_0xdf0a9d=_0x3b8ddb[_0x3f01e4(0x345)](_0x444922),_0x36e1a5=_0xdf0a9d[_0x3f01e4(0x186)];return _0x36e1a5[0x0]==0x53616c74&&_0x36e1a5[0x1]==0x65645f5f&&(_0x25500a=_0x48bb33[_0x3f01e4(0x221)](_0x36e1a5['slice'](0x2,0x4)),_0x36e1a5['splice'](0x0,0x4),_0xdf0a9d[_0x3f01e4(0x1bf)]-=0x10),_0x1def82[_0x3f01e4(0x221)]({'ciphertext':_0xdf0a9d,'salt':_0x25500a});}},_0x2e479c=_0x27a4d1[_0xe49c4a(0x303)]=_0xfbdc61[_0xe49c4a(0x292)]({'cfg':_0xfbdc61['extend']({'format':_0x155d97}),'encrypt':function(_0x26c258,_0x5cbd07,_0x5ee360,_0xc84a96){var _0x34a631=_0xe49c4a;_0xc84a96=this[_0x34a631(0x2de)][_0x34a631(0x292)](_0xc84a96);var _0x484718=_0x26c258[_0x34a631(0x12d)](_0x5ee360,_0xc84a96),_0x3d7925=_0x484718[_0x34a631(0x3c9)](_0x5cbd07),_0x461da9=_0x484718['cfg'];return _0x1def82[_0x34a631(0x221)]({'ciphertext':_0x3d7925,'key':_0x5ee360,'iv':_0x461da9['iv'],'algorithm':_0x26c258,'mode':_0x461da9[_0x34a631(0x25d)],'padding':_0x461da9[_0x34a631(0x269)],'blockSize':_0x26c258[_0x34a631(0xeb)],'formatter':_0xc84a96[_0x34a631(0x414)]});},'decrypt':function(_0x4df07f,_0x4d1ab3,_0x2b3d22,_0x33c58c){var _0x6ac7fd=_0xe49c4a;_0x33c58c=this[_0x6ac7fd(0x2de)]['extend'](_0x33c58c),_0x4d1ab3=this[_0x6ac7fd(0x201)](_0x4d1ab3,_0x33c58c['format']);var _0x356fd2=_0x4df07f['createDecryptor'](_0x2b3d22,_0x33c58c)[_0x6ac7fd(0x3c9)](_0x4d1ab3[_0x6ac7fd(0x409)]);return _0x356fd2;},'_parse':function(_0x512c8e,_0x1a18e8){return typeof _0x512c8e=='string'?_0x1a18e8['parse'](_0x512c8e,this):_0x512c8e;}}),_0x16bcb6=_0x5a6c07[_0xe49c4a(0x3c8)]={},_0x312269=_0x16bcb6['OpenSSL']={'execute':function(_0x2a3a47,_0x4412bc,_0x20bcf1,_0x56f1d5,_0x5f0fab){var _0x3aa912=_0xe49c4a;if(_0x56f1d5||(_0x56f1d5=_0x48bb33[_0x3aa912(0x2aa)](0x40/0x8)),_0x5f0fab)var _0x3a9be8=_0x21dbf1[_0x3aa912(0x221)]({'keySize':_0x4412bc+_0x20bcf1,'hasher':_0x5f0fab})[_0x3aa912(0x427)](_0x2a3a47,_0x56f1d5);else var _0x3a9be8=_0x21dbf1[_0x3aa912(0x221)]({'keySize':_0x4412bc+_0x20bcf1})[_0x3aa912(0x427)](_0x2a3a47,_0x56f1d5);var _0x53ffdd=_0x48bb33[_0x3aa912(0x221)](_0x3a9be8[_0x3aa912(0x186)][_0x3aa912(0x3d9)](_0x4412bc),_0x20bcf1*0x4);return _0x3a9be8[_0x3aa912(0x1bf)]=_0x4412bc*0x4,_0x1def82[_0x3aa912(0x221)]({'key':_0x3a9be8,'iv':_0x53ffdd,'salt':_0x56f1d5});}},_0x577246=_0x27a4d1['PasswordBasedCipher']=_0x2e479c['extend']({'cfg':_0x2e479c[_0xe49c4a(0x2de)][_0xe49c4a(0x292)]({'kdf':_0x312269}),'encrypt':function(_0x375fe8,_0x358290,_0x12ae70,_0x2311bc){var _0x235def=_0xe49c4a;_0x2311bc=this[_0x235def(0x2de)][_0x235def(0x292)](_0x2311bc);var _0x3e971f=_0x2311bc[_0x235def(0x3c8)][_0x235def(0x25a)](_0x12ae70,_0x375fe8['keySize'],_0x375fe8[_0x235def(0x36b)],_0x2311bc['salt'],_0x2311bc[_0x235def(0x25e)]);_0x2311bc['iv']=_0x3e971f['iv'];var _0x4b982a=_0x2e479c[_0x235def(0x426)][_0x235def(0x1d4)](this,_0x375fe8,_0x358290,_0x3e971f['key'],_0x2311bc);return _0x4b982a[_0x235def(0x439)](_0x3e971f),_0x4b982a;},'decrypt':function(_0x20e258,_0x5744b9,_0x1124c1,_0x3cab35){var _0xd5a5b9=_0xe49c4a;_0x3cab35=this['cfg']['extend'](_0x3cab35),_0x5744b9=this[_0xd5a5b9(0x201)](_0x5744b9,_0x3cab35['format']);var _0x39f9b1=_0x3cab35['kdf'][_0xd5a5b9(0x25a)](_0x1124c1,_0x20e258[_0xd5a5b9(0x3ba)],_0x20e258['ivSize'],_0x5744b9[_0xd5a5b9(0x25f)],_0x3cab35[_0xd5a5b9(0x25e)]);_0x3cab35['iv']=_0x39f9b1['iv'];var _0x279573=_0x2e479c[_0xd5a5b9(0x304)]['call'](this,_0x20e258,_0x5744b9,_0x39f9b1[_0xd5a5b9(0x354)],_0x3cab35);return _0x279573;}});}();}));}(_0x41e7cb)),_0x41e7cb[_0x28f4c8(0x483)];}var _0x37786e=_0xd3719c[_0x3125cd(0x483)],_0x439496;function _0x236b4a(){var _0x10b9e7=_0x3125cd;return _0x439496||(_0x439496=0x1,function(_0x1e1ff4,_0x30e6ad){(function(_0x386759,_0x462fec,_0x2b80c7){var _0x1ee537=_0x29a5;_0x1e1ff4[_0x1ee537(0x483)]=_0x462fec(_0x37b84e(),_0x48e90e(),_0x18eba3(),_0x525988(),_0x2e3d6e());}(_0x37786e,function(_0x2da98c){var _0x489f8d=_0x29a5;return(function(){var _0x25480b=_0x29a5,_0xf6d082=_0x2da98c,_0x3dad3a=_0xf6d082[_0x25480b(0x3a6)],_0x48edd5=_0x3dad3a[_0x25480b(0x3d3)],_0x19e7ad=_0xf6d082[_0x25480b(0x2d9)],_0x442d0d=[],_0x174c1f=[],_0x8df3d4=[],_0x3cf685=[],_0x137d82=[],_0x364504=[],_0x482d7c=[],_0x52ba48=[],_0x18d758=[],_0x38339a=[];(function(){for(var _0xb5f15f=[],_0xc4082b=0x0;_0xc4082b<0x100;_0xc4082b++)_0xc4082b<0x80?_0xb5f15f[_0xc4082b]=_0xc4082b<<0x1:_0xb5f15f[_0xc4082b]=_0xc4082b<<0x1^0x11b;for(var _0x2e798e=0x0,_0x4a673c=0x0,_0xc4082b=0x0;_0xc4082b<0x100;_0xc4082b++){var _0x1c0c45=_0x4a673c^_0x4a673c<<0x1^_0x4a673c<<0x2^_0x4a673c<<0x3^_0x4a673c<<0x4;_0x1c0c45=_0x1c0c45>>>0x8^_0x1c0c45&0xff^0x63,_0x442d0d[_0x2e798e]=_0x1c0c45,_0x174c1f[_0x1c0c45]=_0x2e798e;var _0x3aa9b2=_0xb5f15f[_0x2e798e],_0x376066=_0xb5f15f[_0x3aa9b2],_0x56bcc1=_0xb5f15f[_0x376066],_0x3cf817=_0xb5f15f[_0x1c0c45]*0x101^_0x1c0c45*0x1010100;_0x8df3d4[_0x2e798e]=_0x3cf817<<0x18|_0x3cf817>>>0x8,_0x3cf685[_0x2e798e]=_0x3cf817<<0x10|_0x3cf817>>>0x10,_0x137d82[_0x2e798e]=_0x3cf817<<0x8|_0x3cf817>>>0x18,_0x364504[_0x2e798e]=_0x3cf817;var _0x3cf817=_0x56bcc1*0x1010101^_0x376066*0x10001^_0x3aa9b2*0x101^_0x2e798e*0x1010100;_0x482d7c[_0x1c0c45]=_0x3cf817<<0x18|_0x3cf817>>>0x8,_0x52ba48[_0x1c0c45]=_0x3cf817<<0x10|_0x3cf817>>>0x10,_0x18d758[_0x1c0c45]=_0x3cf817<<0x8|_0x3cf817>>>0x18,_0x38339a[_0x1c0c45]=_0x3cf817,_0x2e798e?(_0x2e798e=_0x3aa9b2^_0xb5f15f[_0xb5f15f[_0xb5f15f[_0x56bcc1^_0x3aa9b2]]],_0x4a673c^=_0xb5f15f[_0xb5f15f[_0x4a673c]]):_0x2e798e=_0x4a673c=0x1;}}());var _0x245e89=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4bea0a=_0x19e7ad['AES']=_0x48edd5[_0x25480b(0x292)]({'_doReset':function(){var _0x5c1a0f=_0x25480b,_0x369c2a;if(!(this[_0x5c1a0f(0x159)]&&this[_0x5c1a0f(0x313)]===this[_0x5c1a0f(0x41b)])){for(var _0x5dd312=this[_0x5c1a0f(0x313)]=this[_0x5c1a0f(0x41b)],_0x17dc31=_0x5dd312[_0x5c1a0f(0x186)],_0x33fd6c=_0x5dd312['sigBytes']/0x4,_0x2eba3c=this['_nRounds']=_0x33fd6c+0x6,_0x434174=(_0x2eba3c+0x1)*0x4,_0x2900e8=this['_keySchedule']=[],_0x57535c=0x0;_0x57535c<_0x434174;_0x57535c++)_0x57535c<_0x33fd6c?_0x2900e8[_0x57535c]=_0x17dc31[_0x57535c]:(_0x369c2a=_0x2900e8[_0x57535c-0x1],_0x57535c%_0x33fd6c?_0x33fd6c>0x6&&_0x57535c%_0x33fd6c==0x4&&(_0x369c2a=_0x442d0d[_0x369c2a>>>0x18]<<0x18|_0x442d0d[_0x369c2a>>>0x10&0xff]<<0x10|_0x442d0d[_0x369c2a>>>0x8&0xff]<<0x8|_0x442d0d[_0x369c2a&0xff]):(_0x369c2a=_0x369c2a<<0x8|_0x369c2a>>>0x18,_0x369c2a=_0x442d0d[_0x369c2a>>>0x18]<<0x18|_0x442d0d[_0x369c2a>>>0x10&0xff]<<0x10|_0x442d0d[_0x369c2a>>>0x8&0xff]<<0x8|_0x442d0d[_0x369c2a&0xff],_0x369c2a^=_0x245e89[_0x57535c/_0x33fd6c|0x0]<<0x18),_0x2900e8[_0x57535c]=_0x2900e8[_0x57535c-_0x33fd6c]^_0x369c2a);for(var _0x2e8747=this['_invKeySchedule']=[],_0x1f78d0=0x0;_0x1f78d0<_0x434174;_0x1f78d0++){var _0x57535c=_0x434174-_0x1f78d0;if(_0x1f78d0%0x4)var _0x369c2a=_0x2900e8[_0x57535c];else var _0x369c2a=_0x2900e8[_0x57535c-0x4];_0x1f78d0<0x4||_0x57535c<=0x4?_0x2e8747[_0x1f78d0]=_0x369c2a:_0x2e8747[_0x1f78d0]=_0x482d7c[_0x442d0d[_0x369c2a>>>0x18]]^_0x52ba48[_0x442d0d[_0x369c2a>>>0x10&0xff]]^_0x18d758[_0x442d0d[_0x369c2a>>>0x8&0xff]]^_0x38339a[_0x442d0d[_0x369c2a&0xff]];}}},'encryptBlock':function(_0x28c2f6,_0x582a31){var _0xfb1c4c=_0x25480b;this[_0xfb1c4c(0x36f)](_0x28c2f6,_0x582a31,this['_keySchedule'],_0x8df3d4,_0x3cf685,_0x137d82,_0x364504,_0x442d0d);},'decryptBlock':function(_0xe81a71,_0x4abc5c){var _0x5e0c10=_0x25480b,_0x2c8c6f=_0xe81a71[_0x4abc5c+0x1];_0xe81a71[_0x4abc5c+0x1]=_0xe81a71[_0x4abc5c+0x3],_0xe81a71[_0x4abc5c+0x3]=_0x2c8c6f,this[_0x5e0c10(0x36f)](_0xe81a71,_0x4abc5c,this['_invKeySchedule'],_0x482d7c,_0x52ba48,_0x18d758,_0x38339a,_0x174c1f);var _0x2c8c6f=_0xe81a71[_0x4abc5c+0x1];_0xe81a71[_0x4abc5c+0x1]=_0xe81a71[_0x4abc5c+0x3],_0xe81a71[_0x4abc5c+0x3]=_0x2c8c6f;},'_doCryptBlock':function(_0x964b78,_0xc21345,_0x4505fd,_0x341781,_0x280e86,_0x4618f9,_0x2c2169,_0x6159e){var _0x45fbd3=_0x25480b;for(var _0x4c85f0=this[_0x45fbd3(0x159)],_0x19c91f=_0x964b78[_0xc21345]^_0x4505fd[0x0],_0x2dd16c=_0x964b78[_0xc21345+0x1]^_0x4505fd[0x1],_0x2a4428=_0x964b78[_0xc21345+0x2]^_0x4505fd[0x2],_0x3684f5=_0x964b78[_0xc21345+0x3]^_0x4505fd[0x3],_0x34ca35=0x4,_0x68528a=0x1;_0x68528a<_0x4c85f0;_0x68528a++){var _0x3bfb1d=_0x341781[_0x19c91f>>>0x18]^_0x280e86[_0x2dd16c>>>0x10&0xff]^_0x4618f9[_0x2a4428>>>0x8&0xff]^_0x2c2169[_0x3684f5&0xff]^_0x4505fd[_0x34ca35++],_0x4348c3=_0x341781[_0x2dd16c>>>0x18]^_0x280e86[_0x2a4428>>>0x10&0xff]^_0x4618f9[_0x3684f5>>>0x8&0xff]^_0x2c2169[_0x19c91f&0xff]^_0x4505fd[_0x34ca35++],_0x5caa33=_0x341781[_0x2a4428>>>0x18]^_0x280e86[_0x3684f5>>>0x10&0xff]^_0x4618f9[_0x19c91f>>>0x8&0xff]^_0x2c2169[_0x2dd16c&0xff]^_0x4505fd[_0x34ca35++],_0x2f6c4c=_0x341781[_0x3684f5>>>0x18]^_0x280e86[_0x19c91f>>>0x10&0xff]^_0x4618f9[_0x2dd16c>>>0x8&0xff]^_0x2c2169[_0x2a4428&0xff]^_0x4505fd[_0x34ca35++];_0x19c91f=_0x3bfb1d,_0x2dd16c=_0x4348c3,_0x2a4428=_0x5caa33,_0x3684f5=_0x2f6c4c;}var _0x3bfb1d=(_0x6159e[_0x19c91f>>>0x18]<<0x18|_0x6159e[_0x2dd16c>>>0x10&0xff]<<0x10|_0x6159e[_0x2a4428>>>0x8&0xff]<<0x8|_0x6159e[_0x3684f5&0xff])^_0x4505fd[_0x34ca35++],_0x4348c3=(_0x6159e[_0x2dd16c>>>0x18]<<0x18|_0x6159e[_0x2a4428>>>0x10&0xff]<<0x10|_0x6159e[_0x3684f5>>>0x8&0xff]<<0x8|_0x6159e[_0x19c91f&0xff])^_0x4505fd[_0x34ca35++],_0x5caa33=(_0x6159e[_0x2a4428>>>0x18]<<0x18|_0x6159e[_0x3684f5>>>0x10&0xff]<<0x10|_0x6159e[_0x19c91f>>>0x8&0xff]<<0x8|_0x6159e[_0x2dd16c&0xff])^_0x4505fd[_0x34ca35++],_0x2f6c4c=(_0x6159e[_0x3684f5>>>0x18]<<0x18|_0x6159e[_0x19c91f>>>0x10&0xff]<<0x10|_0x6159e[_0x2dd16c>>>0x8&0xff]<<0x8|_0x6159e[_0x2a4428&0xff])^_0x4505fd[_0x34ca35++];_0x964b78[_0xc21345]=_0x3bfb1d,_0x964b78[_0xc21345+0x1]=_0x4348c3,_0x964b78[_0xc21345+0x2]=_0x5caa33,_0x964b78[_0xc21345+0x3]=_0x2f6c4c;},'keySize':0x100/0x20});_0xf6d082[_0x25480b(0x475)]=_0x48edd5[_0x25480b(0x19f)](_0x4bea0a);}()),_0x2da98c[_0x489f8d(0x475)];}));}(_0xd3719c)),_0xd3719c[_0x10b9e7(0x483)];}var _0x341625=_0x236b4a();const _0x437f01=_0x22f387(_0x341625);var _0x3cbe2a=_0x48e90e();const _0x2957a1=_0x22f387(_0x3cbe2a);var _0x3ed6c2={'exports':{}},_0x40b7cd=_0x3ed6c2[_0x3125cd(0x483)],_0x4405ec;function _0x268f28(){return _0x4405ec||(_0x4405ec=0x1,function(_0xa26f96,_0x29815a){(function(_0x25ca63,_0x41d51f){var _0x4dfe26=_0x29a5;_0xa26f96[_0x4dfe26(0x483)]=_0x41d51f(_0x37b84e());}(_0x40b7cd,function(_0x40e9d7){var _0xfb80b4=_0x29a5;return _0x40e9d7[_0xfb80b4(0x363)][_0xfb80b4(0x2ad)];}));}(_0x3ed6c2)),_0x3ed6c2['exports'];}var _0x1f034d=_0x268f28();const _0x351000=_0x22f387(_0x1f034d);var _0x33d056={'exports':{}},_0x58a8d6=_0x33d056[_0x3125cd(0x483)],_0x626a73;function _0x5ba5e1(){return _0x626a73||(_0x626a73=0x1,function(_0x21441f,_0x4663b7){(function(_0x3fcded,_0x2fe223){var _0x286cc7=_0x29a5;_0x21441f[_0x286cc7(0x483)]=_0x2fe223(_0x37b84e());}(_0x58a8d6,function(_0xfc86f2){var _0x4753d5=_0x29a5;return(function(){var _0x392252=_0x29a5;if(typeof ArrayBuffer==_0x392252(0x44f)){var _0x2c7399=_0xfc86f2,_0x884a3=_0x2c7399[_0x392252(0x3a6)],_0x47a341=_0x884a3['WordArray'],_0x4ee6aa=_0x47a341[_0x392252(0xd6)],_0x509aba=_0x47a341[_0x392252(0xd6)]=function(_0x419960){var _0x353874=_0x392252;if(_0x419960 instanceof ArrayBuffer&&(_0x419960=new Uint8Array(_0x419960)),(_0x419960 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x419960 instanceof Uint8ClampedArray||_0x419960 instanceof Int16Array||_0x419960 instanceof Uint16Array||_0x419960 instanceof Int32Array||_0x419960 instanceof Uint32Array||_0x419960 instanceof Float32Array||_0x419960 instanceof Float64Array)&&(_0x419960=new Uint8Array(_0x419960[_0x353874(0x249)],_0x419960['byteOffset'],_0x419960[_0x353874(0x1fb)])),_0x419960 instanceof Uint8Array){for(var _0x8c7004=_0x419960[_0x353874(0x1fb)],_0x146c3d=[],_0x52c033=0x0;_0x52c033<_0x8c7004;_0x52c033++)_0x146c3d[_0x52c033>>>0x2]|=_0x419960[_0x52c033]<<0x18-_0x52c033%0x4*0x8;_0x4ee6aa['call'](this,_0x146c3d,_0x8c7004);}else _0x4ee6aa[_0x353874(0x17d)](this,arguments);};_0x509aba['prototype']=_0x47a341;}}()),_0xfc86f2[_0x4753d5(0x3a6)][_0x4753d5(0x2f2)];}));}(_0x33d056)),_0x33d056['exports'];}var _0x15523c=_0x5ba5e1();const _0x19aea3=_0x22f387(_0x15523c);var _0xb099b7={'exports':{}},_0x520a1f=_0xb099b7[_0x3125cd(0x483)],_0x11c404;function _0x5dcd3f(){var _0xbb8d03=_0x3125cd;return _0x11c404||(_0x11c404=0x1,function(_0x4bfa85,_0x17aa71){(function(_0x5938de,_0x12729e,_0x3fd9f5){var _0x717384=_0x29a5;_0x4bfa85[_0x717384(0x483)]=_0x12729e(_0x37b84e(),_0x2e3d6e());}(_0x520a1f,function(_0x234e24){var _0x475f4a=_0x29a5;return _0x234e24[_0x475f4a(0x2cf)][_0x475f4a(0x273)]={'pad':function(){},'unpad':function(){}},_0x234e24[_0x475f4a(0x2cf)][_0x475f4a(0x273)];}));}(_0xb099b7)),_0xb099b7[_0xbb8d03(0x483)];}var _0x3cfb23=_0x5dcd3f();const _0x4162aa=_0x22f387(_0x3cfb23);function _0x50edc0(_0x452dec,_0x12397a){var _0x42c01b=_0x3125cd;const _0x321157=_0x12397a-_0x452dec['length']%_0x12397a,_0x5e55f5=String[_0x42c01b(0x306)](_0x321157)[_0x42c01b(0x11d)](_0x321157);return _0x452dec+_0x5e55f5;}function _0xe6f79b(_0x59f9da,_0x1c6fc6){var _0x1441ab=_0x3125cd;const _0x383813=_0x19aea3[_0x1441ab(0x2aa)](0x10),_0x224120=_0x50edc0(_0x59f9da,0x10),_0x59edb3=_0x437f01[_0x1441ab(0x426)](_0x351000['parse'](_0x224120),_0x2957a1[_0x1441ab(0x345)](_0x1c6fc6),{'iv':_0x383813,'padding':_0x4162aa});return _0x383813['concat'](_0x59edb3['ciphertext'])[_0x1441ab(0x195)](_0x2957a1);}function _0x57fad0(){var _0x5b7068=_0x3125cd;const _0x4f3333=_0x13677f[_0x5b7068(0x136)]()[_0x5b7068(0x38a)];if(_0x4f3333){const _0x1ea6e3={'time':Math['floor'](Date[_0x5b7068(0x412)]()/0x3e8),'domain':location[_0x5b7068(0x32c)]};return _0xe6f79b(JSON[_0x5b7068(0x1b5)](_0x1ea6e3),_0x4f3333);}}var _0x560021=Object[_0x3125cd(0x143)],_0x28fc2e=(_0xff485d,_0x406c88,_0x8f8d66,_0x258dd2)=>{var _0x4ad408=_0x3125cd;for(var _0xc7926d=_0x258dd2>0x1?void 0x0:_0x258dd2?_0x560021(_0x406c88,_0x8f8d66):_0x406c88,_0x1a5f17=_0xff485d[_0x4ad408(0x367)]-0x1,_0x50b780;_0x1a5f17>=0x0;_0x1a5f17--)(_0x50b780=_0xff485d[_0x1a5f17])&&(_0xc7926d=_0x50b780(_0xc7926d)||_0xc7926d);return _0xc7926d;},_0x4ceedc=(_0x14b7ea,_0x44885a)=>(_0x5523d3,_0xcbc319)=>_0x44885a(_0x5523d3,_0xcbc319,_0x14b7ea);let _0x3cdf86=class{constructor(_0xd295da){var _0x5c8f54=_0x3125cd;this[_0x5c8f54(0x35b)]=_0xd295da,this[_0x5c8f54(0x115)]();}[_0x3125cd(0x115)](){var _0x344820=_0x3125cd;this[_0x344820(0x35b)][_0x344820(0x15e)]({'interceptor':(_0x257e77,_0x4f19a5)=>{var _0x391fab=_0x344820;const _0x45d59e=_0x257e77['headers'],_0x437315=_0x57fad0();return _0x437315&&_0x45d59e['set'](_0x391fab(0x311),_0x437315),_0x4f19a5(_0x257e77);}});}};_0x3cdf86=_0x28fc2e([_0x4ceedc(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x381bb4['HTTPService']))],_0x3cdf86);var _0x510da1=Object[_0x3125cd(0x143)],_0x5a9abe=(_0x42899d,_0x3c03af,_0x2405b0,_0x3c4e96)=>{var _0x158e5e=_0x3125cd;for(var _0x59868b=_0x3c4e96>0x1?void 0x0:_0x3c4e96?_0x510da1(_0x3c03af,_0x2405b0):_0x3c03af,_0x2c6bcf=_0x42899d[_0x158e5e(0x367)]-0x1,_0x295d36;_0x2c6bcf>=0x0;_0x2c6bcf--)(_0x295d36=_0x42899d[_0x2c6bcf])&&(_0x59868b=_0x295d36(_0x59868b)||_0x59868b);return _0x59868b;},_0x11c783=(_0x122947,_0x1a987c)=>(_0x540163,_0x2521b5)=>_0x1a987c(_0x540163,_0x2521b5,_0x122947);_0x1a0555['DataLoaderService']=class extends _0x5c9291['RxDisposable']{constructor(_0x4b62f9,_0x4628c5,_0x242985){var _0x15e8e6=_0x3125cd;super(),_0x27328e(this,_0x15e8e6(0x104),new _0x41392c[(_0x15e8e6(0x35c))](null)),_0x27328e(this,'unitInfo$',this[_0x15e8e6(0x104)][_0x15e8e6(0x241)]()),(this[_0x15e8e6(0x18a)]=_0x4b62f9,this[_0x15e8e6(0x1f7)]=_0x4628c5,this[_0x15e8e6(0x219)]=_0x242985);}async['loadUnitOfRevision'](_0x3a36db,_0x4a6d1b,_0x367d05){var _0xe3ba20=_0x3125cd;this[_0xe3ba20(0x104)][_0xe3ba20(0x1b9)]({'unitId':_0x3a36db,'type':_0x4a6d1b});let _0x57d4f7=null;switch(_0x4a6d1b){case _0x5c7530[_0xe3ba20(0x350)]:{_0x57d4f7=await this[_0xe3ba20(0x1f7)][_0xe3ba20(0x2b9)](_0x3a36db,_0x367d05);break;}case _0x5c7530['UNIVER_DOC']:{_0x57d4f7=await this['_snapshotService'][_0xe3ba20(0x382)](_0x3a36db,_0x367d05);break;}default:{this['_logService'][_0xe3ba20(0x231)](_0xe3ba20(0x34a),_0xe3ba20(0x31f));break;}}return _0x57d4f7;}async[_0x3125cd(0x2e9)](_0x18a913,_0x42fb9c,_0x48cf3b){var _0x4a8631=_0x3125cd,_0x42bf2a;this[_0x4a8631(0x104)][_0x4a8631(0x1b9)]({'unitId':_0x18a913,'type':_0x42fb9c,'subUnitId':_0x48cf3b});let _0x3d3aa3=0x0;const _0xb17174=await((_0x42bf2a=this['_localCacheService'])==null?void 0x0:_0x42bf2a['loadOfflineData'](_0x18a913));return _0xb17174&&(_0xb17174[_0x4a8631(0x2e3)]||_0xb17174[_0x4a8631(0x457)][_0x4a8631(0x367)]!==0x0)&&(_0x3d3aa3=_0xb17174[_0x4a8631(0x107)]),_0x3d3aa3===0x0&&this['_logService'][_0x4a8631(0x20c)](_0x4a8631(0x34a),_0x4a8631(0x1cc)),this[_0x4a8631(0x216)](_0x18a913,_0x42fb9c,_0x3d3aa3);}},_0x1a0555[_0x3125cd(0x18f)]=_0x5a9abe([_0x11c783(0x0,_0x5c9291[_0x3125cd(0x109)]),_0x11c783(0x1,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x42a)])),_0x11c783(0x2,_0x5c9291['Optional'](_0x1d3985))],_0x1a0555[_0x3125cd(0x18f)]);var _0xb2e164=Object[_0x3125cd(0x143)],_0x2446a=(_0x38e2c3,_0x504357,_0x304dbc,_0x477b80)=>{for(var _0x32d9f0=_0x477b80>0x1?void 0x0:_0x477b80?_0xb2e164(_0x504357,_0x304dbc):_0x504357,_0x30136f=_0x38e2c3['length']-0x1,_0x51ff75;_0x30136f>=0x0;_0x30136f--)(_0x51ff75=_0x38e2c3[_0x30136f])&&(_0x32d9f0=_0x51ff75(_0x32d9f0)||_0x32d9f0);return _0x32d9f0;},_0x5ca237=(_0x4e5ab0,_0x3dcd84)=>(_0x231fb7,_0x30a9b2)=>_0x3dcd84(_0x231fb7,_0x30a9b2,_0x4e5ab0);const _0xf47379=[_0x3125cd(0x3a1),_0x3125cd(0x40b),_0x3125cd(0x3da),_0x3125cd(0x452),'image/bmp'],_0x1dce9e=0x5*0x400*0x400,_0x3a9832='/universer-api/stream/file/upload',_0x409482=_0x3125cd(0x433);_0x1a0555['CollaborationImageIoService']=class{constructor(_0x432fb1,_0x3d3b4e,_0x34ed21){var _0x5e5359=_0x3125cd;_0x27328e(this,_0x5e5359(0x3a8),0x0),_0x27328e(this,_0x5e5359(0x21c),new _0x41392c[(_0x5e5359(0x225))]()),_0x27328e(this,_0x5e5359(0x3f2),this[_0x5e5359(0x21c)]),_0x27328e(this,'_imageSourceCache',new Map()),(this[_0x5e5359(0x35b)]=_0x432fb1,this[_0x5e5359(0xdf)]=_0x3d3b4e,this[_0x5e5359(0x471)]=_0x34ed21);}[_0x3125cd(0x403)](_0xe41033){var _0x37a727=_0x3125cd;this['_waitCount']=_0xe41033,this['_change$'][_0x37a727(0x1b9)](_0xe41033);}[_0x3125cd(0x477)](_0x2560ac,_0x36b416){var _0x3568ba=_0x3125cd;if(_0x36b416===_0x377a64[_0x3568ba(0x2f7)][_0x3568ba(0x38e)]){const _0x29ebd0=new Image();return _0x29ebd0[_0x3568ba(0x218)]=_0x2560ac,_0x29ebd0;}return this[_0x3568ba(0x450)][_0x3568ba(0x108)](_0x2560ac);}[_0x3125cd(0x41c)](_0x22266b,_0x54e719,_0x24e415){var _0x15a34a=_0x3125cd;_0x54e719===_0x377a64['ImageSourceType'][_0x15a34a(0x38e)]||_0x24e415==null||this[_0x15a34a(0x450)]['set'](_0x22266b,_0x24e415);}async[_0x3125cd(0x3ad)](_0xa8601e){var _0x47d5c0=_0x3125cd;try{const _0x3a2a64=this[_0x47d5c0(0x3ed)](this[_0x47d5c0(0x28c)](),''+_0xa8601e),_0x20bf2b=(await this[_0x47d5c0(0x35b)]['get'](_0x3a2a64))[_0x47d5c0(0x44c)];if(_0x20bf2b['error']&&_0x20bf2b[_0x47d5c0(0x231)][_0x47d5c0(0x162)]===_0x720ba3['OK']){const _0x290443=new URL(_0x20bf2b['url'],this[_0x47d5c0(0x194)]())[_0x47d5c0(0x195)]();return Promise[_0x47d5c0(0x343)](_0x290443);}return Promise['reject'](_0x20bf2b[_0x47d5c0(0x231)]);}catch(_0x3b4979){return Promise[_0x47d5c0(0x397)](_0x3b4979);}}async[_0x3125cd(0x275)](_0x51bb38){var _0xdcf34d=_0x3125cd;let _0x4611f4='';if(!_0xf47379['includes'](_0x51bb38[_0xdcf34d(0x266)]))return this['_decreaseWaiting'](),Promise[_0xdcf34d(0x397)](new Error(_0x377a64[_0xdcf34d(0x329)]['ERROR_IMAGE_TYPE']));if(_0x51bb38[_0xdcf34d(0x18b)]>_0x1dce9e)return this[_0xdcf34d(0xec)](),Promise['reject'](new Error(_0x377a64[_0xdcf34d(0x329)][_0xdcf34d(0x35f)]));try{const _0x54e3a4=new FormData();_0x54e3a4[_0xdcf34d(0x1ee)](_0xdcf34d(0x227),_0x51bb38);const _0x33ca8f=this[_0xdcf34d(0x471)][_0xdcf34d(0x135)](),_0x6f229=_0x33ca8f==null?void 0x0:_0x33ca8f[_0xdcf34d(0x388)]();if(!_0x6f229)throw new Error(_0xdcf34d(0x3b2));const _0x945f9e=this[_0xdcf34d(0x2d5)]()+_0xdcf34d(0x27f)+_0x51bb38[_0xdcf34d(0x18b)][_0xdcf34d(0x195)]()+_0xdcf34d(0x3c6)+_0xe15aa3[_0xdcf34d(0x27c)]+_0xdcf34d(0x408)+encodeURIComponent(_0x6f229),_0x1a8c13={'body':_0x54e3a4},_0x2b19fe=(await this[_0xdcf34d(0x35b)]['post'](_0x945f9e,_0x1a8c13))['body'];if(typeof _0x2b19fe[_0xdcf34d(0x476)]!=_0xdcf34d(0x360))return this[_0xdcf34d(0xec)](),Promise[_0xdcf34d(0x397)](new Error(_0x377a64[_0xdcf34d(0x329)]['ERROR_IMAGE']));_0x4611f4=_0x2b19fe[_0xdcf34d(0x476)];}catch{return this[_0xdcf34d(0xec)](),Promise[_0xdcf34d(0x397)](new Error(_0x377a64['ImageUploadStatusType'][_0xdcf34d(0x3aa)]));}return new Promise((_0xf0feae,_0x5016cb)=>{var _0x116526=_0xdcf34d;const _0x350b9c=new FileReader();_0x350b9c[_0x116526(0x239)](_0x51bb38),_0x350b9c[_0x116526(0x2ca)]=_0x224d18=>{var _0x39cb6c=_0x116526,_0x39fe5b;const _0xcee749=(_0x39fe5b=_0x224d18[_0x39cb6c(0x2c9)])==null?void 0x0:_0x39fe5b[_0x39cb6c(0x21f)];if(_0xcee749==null){this[_0x39cb6c(0xec)](),_0x5016cb(new Error(_0x377a64['ImageUploadStatusType'][_0x39cb6c(0x3aa)]));return;}const _0x3827af=_0x5c9291[_0x39cb6c(0x21a)](0x6);_0xf0feae({'imageId':_0x3827af,'imageSourceType':_0x377a64[_0x39cb6c(0x2f7)][_0x39cb6c(0x371)],'source':_0x4611f4,'base64Cache':_0xcee749,'status':_0x377a64['ImageUploadStatusType'][_0x39cb6c(0x40c)]}),this[_0x39cb6c(0xec)]();};});}[_0x3125cd(0x2d5)](){var _0x4c8ef4=_0x3125cd,_0x3a5ebb;const _0x27b944=this[_0x4c8ef4(0xdf)]['getConfig'](_0x1ace84);return(_0x3a5ebb=_0x27b944==null?void 0x0:_0x27b944[_0x4c8ef4(0x196)])!=null?_0x3a5ebb:_0x3a9832;}[_0x3125cd(0x28c)](){var _0x4c9b64=_0x3125cd,_0x2e45c3;const _0x20e3df=this['_configService'][_0x4c9b64(0x39a)](_0x1ace84);return(_0x2e45c3=_0x20e3df==null?void 0x0:_0x20e3df[_0x4c9b64(0x1cd)])!=null?_0x2e45c3:_0x409482;}['_getDownloadEndpointURL'](){var _0x3c4c10=_0x3125cd,_0x19b7ea;const _0x43c58c=this[_0x3c4c10(0xdf)][_0x3c4c10(0x39a)](_0x1ace84);return(_0x19b7ea=_0x43c58c==null?void 0x0:_0x43c58c[_0x3c4c10(0x111)])!=null?_0x19b7ea:location['origin'];}['_replaceFileID'](_0x21c159,_0x288675){var _0x11d936=_0x3125cd;return _0x21c159[_0x11d936(0x1ff)]('{fileID}',_0x288675);}[_0x3125cd(0xec)](){var _0x131e52=_0x3125cd;this[_0x131e52(0x3a8)]-=0x1,this[_0x131e52(0x21c)]['next'](this[_0x131e52(0x3a8)]);}},_0x1a0555['CollaborationImageIoService']=_0x2446a([_0x5ca237(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x381bb4[_0x3125cd(0x2bb)])),_0x5ca237(0x1,_0x5c9291[_0x3125cd(0x226)]),_0x5ca237(0x2,_0x5c9291['Inject'](_0x5c9291[_0x3125cd(0x200)]))],_0x1a0555[_0x3125cd(0x441)]);var _0xcda50b=Object[_0x3125cd(0x143)],_0x5136a1=(_0x2db016,_0xfe5c10,_0x150e09,_0x19141d)=>{for(var _0x47373f=_0x19141d>0x1?void 0x0:_0x19141d?_0xcda50b(_0xfe5c10,_0x150e09):_0xfe5c10,_0x447d4f=_0x2db016['length']-0x1,_0x64133b;_0x447d4f>=0x0;_0x447d4f--)(_0x64133b=_0x2db016[_0x447d4f])&&(_0x47373f=_0x64133b(_0x47373f)||_0x47373f);return _0x47373f;},_0x31efd6=(_0x39a27c,_0x24a923)=>(_0x42405d,_0x1c23dd)=>_0x24a923(_0x42405d,_0x1c23dd,_0x39a27c);const _0x3980e2=_0x3125cd(0xd4);_0x1a0555[_0x3125cd(0x158)]=class{constructor(_0x80c21e,_0x55d8da){var _0x2b6925=_0x3125cd;this['_configService']=_0x80c21e,this[_0x2b6925(0x163)]=_0x55d8da;}[_0x3125cd(0x41f)](){var _0x12d5eb=_0x3125cd,_0x17e0ae;const _0x4c6a2d=this[_0x12d5eb(0xdf)][_0x12d5eb(0x39a)](_0x1ace84);return(_0x17e0ae=_0x4c6a2d==null?void 0x0:_0x4c6a2d[_0x12d5eb(0x302)])!=null?_0x17e0ae:_0x3980e2;}async[_0x3125cd(0x33b)](_0x371135){var _0x4816f2=_0x3125cd;const _0xca76c9=this[_0x4816f2(0x41f)]()+_0x4816f2(0x16f);return{'list':[{'title':_0x4816f2(0x3fa),'mentions':(await this[_0x4816f2(0x163)][_0x4816f2(0x108)](_0xca76c9,{'params':{'objectID':_0x371135[_0x4816f2(0xf0)],'unitID':_0x371135[_0x4816f2(0xf0)]}}))[_0x4816f2(0x44c)][_0x4816f2(0x10b)][_0x4816f2(0x434)](_0x50b72b=>({'objectId':_0x50b72b['id'],'name':_0x50b72b[_0x4816f2(0x2f3)][_0x4816f2(0x17a)],'metadata':{'icon':_0x50b72b[_0x4816f2(0x2f3)][_0x4816f2(0x256)]},'label':_0x50b72b['subject'][_0x4816f2(0x17a)],'objectType':_0x5c9291[_0x4816f2(0x288)][_0x4816f2(0x2fe)]})),'metadata':{},'type':_0x5c9291['MentionType']['PERSON']}]};}},_0x1a0555[_0x3125cd(0x158)]=_0x5136a1([_0x31efd6(0x0,_0x5c9291['Inject'](_0x5c9291[_0x3125cd(0x226)])),_0x31efd6(0x1,_0x5c9291['Inject'](_0x381bb4[_0x3125cd(0x2bb)]))],_0x1a0555[_0x3125cd(0x158)]);var _0x2fdd60=Object['getOwnPropertyDescriptor'],_0x594341=(_0x1892cb,_0x47e8aa,_0x594d73,_0x53b91b)=>{var _0x462000=_0x3125cd;for(var _0x2adbeb=_0x53b91b>0x1?void 0x0:_0x53b91b?_0x2fdd60(_0x47e8aa,_0x594d73):_0x47e8aa,_0x426d93=_0x1892cb[_0x462000(0x367)]-0x1,_0x3153f4;_0x426d93>=0x0;_0x426d93--)(_0x3153f4=_0x1892cb[_0x426d93])&&(_0x2adbeb=_0x3153f4(_0x2adbeb)||_0x2adbeb);return _0x2adbeb;},_0x22cbcd=(_0x2cdc09,_0xf9eb1)=>(_0x614cf8,_0x5bf9a6)=>_0xf9eb1(_0x614cf8,_0x5bf9a6,_0x2cdc09);let _0x57aeb4=class extends _0x5c9291[_0x3125cd(0x267)]{constructor(_0x43ffe1,_0x4118ff,_0x6207cd,_0x1ff1e8,_0x6515b6){var _0x5e756a=_0x3125cd;super(),this['_injector']=_0x43ffe1,this[_0x5e756a(0x471)]=_0x4118ff,this['_permissionService']=_0x6207cd,this[_0x5e756a(0x1a5)]=_0x1ff1e8,this['_collaborationUIEventService']=_0x6515b6,this[_0x5e756a(0x280)](),this[_0x5e756a(0x478)]();}[_0x3125cd(0x478)](){var _0x573c21=_0x3125cd;const _0x203247=async _0x28651=>{var _0x47a132=_0x29a5;(await this[_0x47a132(0x1a5)]['requireSession'](_0x28651))[_0x47a132(0x296)][_0x47a132(0x34f)](_0x3ecfb0['filter'](_0x48ade6=>_0x48ade6[_0x47a132(0x2ff)]===_0x319b76['CollaborationEvent'][_0x47a132(0x2b4)]),_0x3ecfb0['takeUntil'](this[_0x47a132(0x2ef)]))['subscribe'](_0x6f9e5b=>{var _0xe40090=_0x47a132;const _0x15dc0d=_0x6f9e5b,{reason:_0x54a5c0}=_0x15dc0d[_0xe40090(0x438)];this['_collaborationUIEventService'][_0xe40090(0x179)]({'id':_0x19b9e8[_0xe40090(0xd8)],'data':_0x54a5c0}),this[_0xe40090(0x416)][_0xe40090(0x127)](new _0x22532b[(_0xe40090(0x19c))](_0x28651)['id'],!0x1),this['_collaborationSessionService'][_0xe40090(0x33a)](_0x28651);});};_0x41392c['merge'](this[_0x573c21(0x471)]['getTypeOfUnitAdded$'](_0x5c9291[_0x573c21(0x29b)][_0x573c21(0x350)]),this[_0x573c21(0x471)][_0x573c21(0x1db)](_0x5c9291['UniverInstanceType'][_0x573c21(0x484)]))[_0x573c21(0x34f)](_0x3ecfb0['map'](_0x2b5e7f=>_0x2b5e7f[_0x573c21(0x388)]()),_0x3ecfb0[_0x573c21(0x125)](_0x5d1717=>!_0x5c9291[_0x573c21(0x28f)](_0x5d1717)),_0x3ecfb0['takeUntil'](this[_0x573c21(0x2ef)]))[_0x573c21(0x399)](_0x485a06=>{_0x203247(_0x485a06);});}[_0x3125cd(0x280)](){var _0x13b845=_0x3125cd;const _0x26741a=async _0x557501=>{var _0x46e867=_0x29a5;const _0x335c68=await this[_0x46e867(0x1a5)][_0x46e867(0x245)](_0x557501),_0x3ea678=this[_0x46e867(0x1a2)]['get'](_0x22532b[_0x46e867(0x222)]);_0x335c68[_0x46e867(0x296)][_0x46e867(0x34f)](_0x3ecfb0['filter'](_0x34ca43=>_0x34ca43['eventID']===_0x319b76['CollaborationEvent'][_0x46e867(0x1c5)]),_0x3ecfb0['takeUntil'](this[_0x46e867(0x2ef)]))[_0x46e867(0x399)](_0xece2e6=>{var _0x167063=_0x46e867;const _0x582363=_0xece2e6,{objectId:_0x292cd5}=_0x582363[_0x167063(0x438)];_0x292cd5===_0x557501?_0x3ea678['initWorkbookPermissionChange'](_0x557501):_0x3ea678[_0x167063(0x39e)](_0x557501,_0x292cd5);});};_0x41392c['merge'](this[_0x13b845(0x471)][_0x13b845(0x1db)](_0x5c9291[_0x13b845(0x29b)][_0x13b845(0x350)]))['pipe'](_0x3ecfb0[_0x13b845(0x434)](_0x1a4c56=>_0x1a4c56[_0x13b845(0x388)]()),_0x3ecfb0[_0x13b845(0x125)](_0x12f3b0=>!_0x5c9291[_0x13b845(0x28f)](_0x12f3b0)),_0x3ecfb0['takeUntil'](this[_0x13b845(0x2ef)]))[_0x13b845(0x399)](_0x28ffa3=>{_0x26741a(_0x28ffa3);});}};_0x57aeb4=_0x594341([_0x22cbcd(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x22cbcd(0x1,_0x5c9291[_0x3125cd(0x200)]),_0x22cbcd(0x2,_0x5c9291[_0x3125cd(0x1da)]),_0x22cbcd(0x3,_0x5c9291['Inject'](_0x1a0555['CollaborationSessionService'])),_0x22cbcd(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x5cf853))],_0x57aeb4);var _0x366264=Object[_0x3125cd(0x143)],_0x53c099=(_0x34d5c1,_0x1c625c,_0x31af7d,_0x41ccd9)=>{for(var _0x645106=_0x41ccd9>0x1?void 0x0:_0x41ccd9?_0x366264(_0x1c625c,_0x31af7d):_0x1c625c,_0x33c5f4=_0x34d5c1['length']-0x1,_0x63ac86;_0x33c5f4>=0x0;_0x33c5f4--)(_0x63ac86=_0x34d5c1[_0x33c5f4])&&(_0x645106=_0x63ac86(_0x645106)||_0x645106);return _0x645106;},_0x513142=(_0x27ed58,_0x349d2e)=>(_0x43de66,_0x26eb86)=>_0x349d2e(_0x43de66,_0x26eb86,_0x27ed58);_0x1a0555[_0x3125cd(0x1e4)]=class{constructor(_0x2941c5,_0x8dc7b4){var _0x3b6952=_0x3125cd;this[_0x3b6952(0xdf)]=_0x2941c5,this['_httpService']=_0x8dc7b4;}async[_0x3125cd(0x3b5)](_0x17ca66,_0x3bb50c){var _0x39a16d=_0x3125cd,_0x48bcc7;const {unitID:_0x40be7c,type:_0xb3d76a,revision:_0x4c4d23=0x0}=_0x3bb50c,_0x362e07=this[_0x39a16d(0x3a7)]()+'/'+_0xb3d76a+_0x39a16d(0x36c)+_0x40be7c+_0x39a16d(0x12f)+_0x4c4d23,_0x29a7c0=(await this[_0x39a16d(0x35b)][_0x39a16d(0x108)](_0x362e07))[_0x39a16d(0x44c)],_0x5eeec1=(_0x48bcc7=_0x29a7c0['snapshot'])==null?void 0x0:_0x48bcc7[_0x39a16d(0x253)];if(_0x5eeec1){const _0x5e871d=_0x5eeec1==null?void 0x0:_0x5eeec1['originalMeta'],_0x505448=_0x319b76['textEncoder']['encode'](_0x319b76['b64DecodeUnicode'](_0x5e871d));_0x5eeec1['originalMeta']=_0x505448,Object[_0x39a16d(0x3d4)](_0x5eeec1[_0x39a16d(0x407)])[_0x39a16d(0x322)](([,_0x508f52])=>{var _0x52edbc=_0x39a16d;const _0x4c48d5=_0x508f52['originalMeta'],_0x253cab=_0x319b76[_0x52edbc(0x2da)][_0x52edbc(0x1fc)](_0x319b76[_0x52edbc(0x337)](_0x4c48d5));_0x508f52[_0x52edbc(0x290)]=_0x253cab;});}return _0x29a7c0;}async[_0x3125cd(0x32d)](_0x1c5c46,_0x1f32fe){var _0x28ee8b=_0x3125cd;const {unitID:_0x4c64e4,type:_0x588095,blockID:_0x5569cd}=_0x1f32fe,_0xeaae12=this[_0x28ee8b(0x260)]()+'/'+_0x588095+_0x28ee8b(0x36c)+_0x4c64e4+_0x28ee8b(0x3d1)+_0x5569cd;return(await this['_httpService'][_0x28ee8b(0x108)](_0xeaae12))['body'];}async[_0x3125cd(0x406)](_0x4da9ab,_0x3fc252){var _0x21f75c=_0x3125cd;const {unitID:_0x5e1a83,type:_0xca797f,blockID:_0x17456c}=_0x3fc252,_0x3a094f=this[_0x21f75c(0x260)]()+'/block/'+_0xca797f+'/unit/'+_0x5e1a83+'/block/'+_0x17456c;return(await this['_httpService'][_0x21f75c(0x108)](_0x3a094f))[_0x21f75c(0x44c)];}async[_0x3125cd(0x359)](_0x56aa2d,_0x23dce0){var _0x3a7323=_0x3125cd;const {unitID:_0x4d9fb1,type:_0x3974d4,from:_0x5c1b15,to:_0x3d6c5b}=_0x23dce0,_0x12e343=this[_0x3a7323(0x260)]()+'/'+_0x3974d4+_0x3a7323(0x36c)+_0x4d9fb1+'/fetchmissing?from='+_0x5c1b15+_0x3a7323(0x151)+_0x3d6c5b;return(await this[_0x3a7323(0x35b)][_0x3a7323(0x108)](_0x12e343))[_0x3a7323(0x44c)];}[_0x3125cd(0x3a7)](){var _0x33ed72=_0x3125cd,_0x44fc2f;return(_0x44fc2f=this['_configService'][_0x33ed72(0x39a)](_0x328092))!=null?_0x44fc2f:this[_0x33ed72(0x260)]();}[_0x3125cd(0x260)](){var _0x52fd77=_0x3125cd,_0x37965d;const _0x52e6e3=this[_0x52fd77(0xdf)][_0x52fd77(0x39a)](_0x1ace84);return(_0x37965d=_0x52e6e3==null?void 0x0:_0x52e6e3[_0x52fd77(0x2f8)])!=null?_0x37965d:_0x2c00fc;}async[_0x3125cd(0x263)](_0xd8d6aa,_0x48d52d){var _0xceeba=_0x3125cd;const _0x523ee8='/universer-api/snapshot/'+_0x48d52d['type']+_0xceeba(0x36c)+_0x48d52d['unitID']+_0xceeba(0x2a3);return(await this['_httpService'][_0xceeba(0x108)](_0x523ee8,{'params':{'resourceId':JSON[_0xceeba(0x1b5)](_0x48d52d[_0xceeba(0x176)])}}))[_0xceeba(0x44c)];}[_0x3125cd(0x470)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3125cd(0x301)](){var _0x4731d8=_0x3125cd;throw new Error(_0x4731d8(0x23b));}[_0x3125cd(0x243)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3125cd(0x286)](){var _0x5e8ebd=_0x3125cd;throw new Error(_0x5e8ebd(0x23b));}[_0x3125cd(0xf7)](){var _0x214a46=_0x3125cd;throw new Error(_0x214a46(0x23b));}[_0x3125cd(0x44b)](){var _0x22339e=_0x3125cd;throw new Error(_0x22339e(0x23b));}},_0x1a0555[_0x3125cd(0x1e4)]=_0x53c099([_0x513142(0x0,_0x5c9291[_0x3125cd(0x226)]),_0x513142(0x1,_0x5c9291[_0x3125cd(0x10f)](_0x381bb4['HTTPService']))],_0x1a0555[_0x3125cd(0x1e4)]);var _0x29eeb9=Object['getOwnPropertyDescriptor'],_0x3abec7=(_0x1858e2,_0x4986e3,_0x354f48,_0xf2a5b2)=>{for(var _0x191177=_0xf2a5b2>0x1?void 0x0:_0xf2a5b2?_0x29eeb9(_0x4986e3,_0x354f48):_0x4986e3,_0x4ea2d1=_0x1858e2['length']-0x1,_0x100cc8;_0x4ea2d1>=0x0;_0x4ea2d1--)(_0x100cc8=_0x1858e2[_0x4ea2d1])&&(_0x191177=_0x100cc8(_0x191177)||_0x191177);return _0x191177;},_0x5c1ef2=(_0xcad3c9,_0x18c812)=>(_0x3baedb,_0x1f390b)=>_0x18c812(_0x3baedb,_0x1f390b,_0xcad3c9);_0x1a0555[_0x3125cd(0x2d6)]=class extends _0x5c9291[_0x3125cd(0x1b4)]{constructor(_0xddb3cf,_0x4e1956,_0x137c58,_0x136f61,_0x191cf1){var _0x380e0a=_0x3125cd;super(_0xddb3cf,_0x4e1956,_0x137c58),this[_0x380e0a(0x1eb)]=_0x136f61,this[_0x380e0a(0x18a)]=_0x191cf1;}[_0x3125cd(0x287)](_0x1c80da,_0x41d544){var _0x14121b=_0x3125cd;const _0xa9d170=this[_0x14121b(0x468)](_0x1c80da);if(_0xa9d170)try{const _0x1eabb2=this[_0x14121b(0x374)](_0xa9d170,_0x41d544);this[_0x14121b(0xfe)](_0x1c80da,_0x1eabb2);}catch(_0x38910c){this['_logService'][_0x14121b(0x231)](_0x14121b(0x1be),_0x38910c),this[_0x14121b(0x400)](_0x1c80da);}const _0x1560e7=this[_0x14121b(0x155)](_0x1c80da);if(_0x1560e7)try{const _0x47d93c=this[_0x14121b(0x374)](_0x1560e7,_0x41d544);this['_substituteRedoStack'](_0x1c80da,_0x47d93c);}catch(_0x2df82a){this[_0x14121b(0x18a)][_0x14121b(0x231)](_0x2df82a),this[_0x14121b(0x330)](_0x1c80da);}}[_0x3125cd(0x400)](_0x2feaf3){var _0x11e018=_0x3125cd;const _0x3d2e37=this[_0x11e018(0x468)](_0x2feaf3);_0x3d2e37&&(_0x3d2e37[_0x11e018(0x367)]=0x0,this[_0x11e018(0x3c0)]());}['_clearRedo'](_0x4bb4a2){var _0xff562a=_0x3125cd;const _0x1df981=this[_0xff562a(0x155)](_0x4bb4a2);_0x1df981&&(_0x1df981[_0xff562a(0x367)]=0x0,this[_0xff562a(0x3c0)]());}[_0x3125cd(0xfe)](_0x10c366,_0x129085){var _0x38895f=_0x3125cd;this[_0x38895f(0x20f)][_0x38895f(0x300)](_0x10c366,_0x129085),this[_0x38895f(0x3c0)]();}['_substituteRedoStack'](_0x298f5c,_0x5ae2bd){var _0x227cb3=_0x3125cd;this[_0x227cb3(0x17e)][_0x227cb3(0x300)](_0x298f5c,_0x5ae2bd),this[_0x227cb3(0x3c0)]();}[_0x3125cd(0x374)](_0x3010c4,_0x412462){var _0x3911ef=_0x3125cd;const _0xd35a98=[];let _0x100c0f=_0x412462,_0x23bb86=_0x412462;for(let _0x4787a2=_0x3010c4[_0x3911ef(0x367)]-0x1;_0x4787a2>=0x0;_0x4787a2--){const {unitID:_0x43c3d2,undoMutations:_0x301bde,redoMutations:_0x2903d9}=_0x3010c4[_0x4787a2],_0x445d17=this[_0x3911ef(0x1eb)]['transformMutationsWithChangeset'](_0x100c0f,_0x301bde),_0x4ead0b=this[_0x3911ef(0x1eb)]['transformMutationsWithChangeset'](_0x23bb86,_0x2903d9);if(_0x319b76[_0x3911ef(0x3c2)](_0x445d17)||_0x319b76[_0x3911ef(0x3c2)](_0x4ead0b)){this[_0x3911ef(0x18a)][_0x3911ef(0x231)](_0x3911ef(0x1be),_0x3911ef(0x2cd),_0x445d17,_0x4ead0b);break;}_0x100c0f=_0x445d17[_0x3911ef(0x1c4)],_0x23bb86=_0x4ead0b[_0x3911ef(0x1c4)],_0xd35a98['push']({'unitID':_0x43c3d2,'undoMutations':_0x445d17[_0x3911ef(0x119)],'redoMutations':_0x4ead0b[_0x3911ef(0x119)]});}return _0xd35a98[_0x3911ef(0x120)]();}},_0x1a0555['CollaborativeUndoRedoService']=_0x3abec7([_0x5c1ef2(0x0,_0x5c9291[_0x3125cd(0x200)]),_0x5c1ef2(0x1,_0x5c9291[_0x3125cd(0x357)]),_0x5c1ef2(0x2,_0x5c9291[_0x3125cd(0x170)]),_0x5c1ef2(0x3,_0x319b76[_0x3125cd(0x332)]),_0x5c1ef2(0x4,_0x5c9291[_0x3125cd(0x109)])],_0x1a0555[_0x3125cd(0x2d6)]);var _0x56ffb3=Object[_0x3125cd(0x16d)],_0x5ae50c=Object['getOwnPropertyDescriptor'],_0x3137b3=(_0x57ea3a,_0x418f2a,_0x132887)=>_0x418f2a in _0x57ea3a?_0x56ffb3(_0x57ea3a,_0x418f2a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x132887}):_0x57ea3a[_0x418f2a]=_0x132887,_0x5274f3=(_0x5adda2,_0x21f1b1,_0x2ad027,_0x522bfd)=>{for(var _0x326f17=_0x522bfd>0x1?void 0x0:_0x522bfd?_0x5ae50c(_0x21f1b1,_0x2ad027):_0x21f1b1,_0x3b9435=_0x5adda2['length']-0x1,_0x4d8087;_0x3b9435>=0x0;_0x3b9435--)(_0x4d8087=_0x5adda2[_0x3b9435])&&(_0x326f17=_0x4d8087(_0x326f17)||_0x326f17);return _0x326f17;},_0x319dad=(_0x4ba207,_0x279d6f)=>(_0x56927e,_0x148113)=>_0x279d6f(_0x56927e,_0x148113,_0x4ba207),_0x560a1b=(_0x1c9f90,_0x2ea156,_0x4daf3a)=>_0x3137b3(_0x1c9f90,_0x2ea156+'',_0x4daf3a);const _0x1af4d7=_0x3125cd(0x472);_0x1a0555['UniverCollaborationClientPlugin']=class extends _0x5c9291[_0x3125cd(0x3bb)]{constructor(_0x4752e1,_0x1a6240,_0x1e72b4,_0x5348ed){var _0x3ad58a=_0x3125cd;super(),_0x27328e(this,'_config'),(this['_logService']=_0x1a6240,this['_injector']=_0x1e72b4,this[_0x3ad58a(0xdf)]=_0x5348ed);const {..._0xa06f95}=_0x5c9291[_0x3ad58a(0x3dd)]({},_0x43b491,_0x4752e1);if(!_0xa06f95[_0x3ad58a(0x20a)])throw new Error(_0x3ad58a(0x425));this[_0x3ad58a(0x444)]=_0xa06f95,this['_configService'][_0x3ad58a(0x39b)](_0x1ace84,_0xa06f95);}['onStarting'](){var _0x4593c6=_0x3125cd;this['_registerDependencies'](),this[_0x4593c6(0x35d)]();}[_0x3125cd(0x294)](){var _0x52971a=_0x3125cd,_0xb9b70,_0x8c6ba3;this[_0x52971a(0x1a2)][_0x52971a(0x1de)](_0x5c9291[_0x52971a(0x467)])&&this[_0x52971a(0x18a)]['error']('[UniverCollaborationClientPlugin]',_0x52971a(0x460));const _0x3ca4cc=_0x5c9291[_0x52971a(0x43d)]([[_0x5c9291['IUndoRedoService'],{'useClass':_0x1a0555[_0x52971a(0x2d6)]}],[_0x1a0555[_0x52971a(0x114)]],[_0x1a0555[_0x52971a(0x469)]],[_0x1a0555[_0x52971a(0x2d0)]],[_0x173c2c],[_0x3cdf86],[_0x60caf4],[_0x57aeb4],[_0x5cf853],[_0x1a0555['DataLoaderService']],[_0x2c7f4e,{'useClass':this['_config'][_0x52971a(0x20a)]}],[_0x319b76['ISnapshotServerService'],{'useClass':_0x1a0555[_0x52971a(0x1e4)]}],[_0x5c9291[_0x52971a(0x482)],{'useClass':_0x1a0555['AuthzIoHttpService']}],[_0x377a64[_0x52971a(0x45c)],{'useClass':_0x1a0555['CollaborationImageIoService']}],[_0x5c9291[_0x52971a(0x45e)],{'useClass':_0x1a0555[_0x52971a(0x158)]}],[_0x1a0555[_0x52971a(0x22e)]],[_0x5434f2]],(_0xb9b70=this['_config'])==null?void 0x0:_0xb9b70['override']);if(!((_0x8c6ba3=this[_0x52971a(0x444)])!=null&&_0x8c6ba3[_0x52971a(0x398)])){const _0x46decb=_0x3ca4cc['findIndex'](([_0x6c46c5])=>_0x6c46c5===_0x2753d1);_0x46decb!==-0x1&&_0x3ca4cc[_0x52971a(0x1d2)](_0x46decb,0x1);}_0x5c9291['registerDependencies'](this['_injector'],_0x3ca4cc);}[_0x3125cd(0x35d)](){var _0x4410d3=_0x3125cd,_0x5f0730,_0x3797aa,_0x24cbd2;this[_0x4410d3(0x1a2)][_0x4410d3(0x108)](_0x381bb4[_0x4410d3(0x2bb)])[_0x4410d3(0x15e)]({'priority':0x14,'interceptor':_0x381bb4[_0x4410d3(0x160)]({'maxParallel':0x6})}),(_0x5f0730=this[_0x4410d3(0x444)])!=null&&_0x5f0730[_0x4410d3(0x142)]||(_0x3797aa=this[_0x4410d3(0x1a2)]['get'](_0x1d3985,_0x5c9291[_0x4410d3(0x356)][_0x4410d3(0x27a)]))==null||_0x3797aa[_0x4410d3(0x113)](),(_0x24cbd2=this[_0x4410d3(0x444)])!=null&&_0x24cbd2[_0x4410d3(0x2ea)]&&_0x5c9291[_0x4410d3(0x1f3)](this[_0x4410d3(0x1a2)],[[_0x173c2c]]),_0x5c9291['touchDependencies'](this[_0x4410d3(0x1a2)],[[_0x3cdf86],[_0x1a0555[_0x4410d3(0x22e)]],[_0x57aeb4]]);}},_0x560a1b(_0x1a0555[_0x3125cd(0x2e6)],_0x3125cd(0x413),_0x1af4d7),_0x1a0555[_0x3125cd(0x2e6)]=_0x5274f3([_0x5c9291[_0x3125cd(0x132)](_0x319b76[_0x3125cd(0x258)],_0x381bb4[_0x3125cd(0x3be)]),_0x319dad(0x1,_0x5c9291['ILogService']),_0x319dad(0x2,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x319dad(0x3,_0x5c9291[_0x3125cd(0x226)])],_0x1a0555[_0x3125cd(0x2e6)]),_0x1a0555[_0x3125cd(0x36d)]=_0x1ace84,_0x1a0555['CollaborationStatus']=_0x2c3058,_0x1a0555['CollaborationUIEventId']=_0x19b9e8,_0x1a0555[_0x3125cd(0x102)]=_0x5cf853,_0x1a0555[_0x3125cd(0x3bf)]=_0x60caf4,_0x1a0555[_0x3125cd(0x2e5)]=_0x5e9de5,_0x1a0555['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x10878f,_0x1a0555[_0x3125cd(0x386)]=_0x11c487,_0x1a0555[_0x3125cd(0x23f)]=_0x551f79,_0x1a0555[_0x3125cd(0x2db)]=_0x493c73,_0x1a0555['ICollaborationSocketService']=_0x2c7f4e,_0x1a0555['ILocalCacheService']=_0x1d3985,_0x1a0555['INetworkConditionService']=_0x5ec6c3,_0x1a0555[_0x3125cd(0x3c3)]=_0x2753d1,_0x1a0555[_0x3125cd(0x401)]=0x3e8,_0x1a0555[_0x3125cd(0x252)]=_0x4e1d34,_0x1a0555['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x192fb9,_0x1a0555[_0x3125cd(0x1ea)]=_0x45c332,_0x1a0555[_0x3125cd(0xdd)]=_0x8660ba,_0x1a0555[_0x3125cd(0x20e)]=_0x29e528,_0x1a0555[_0x3125cd(0x2a5)]=_0x3801fe,_0x1a0555[_0x3125cd(0x37b)]=_0x3fee3e,_0x1a0555[_0x3125cd(0xdb)]=_0x574f0b,Object[_0x3125cd(0x16d)](_0x1a0555,Symbol[_0x3125cd(0x3ec)],{'value':_0x3125cd(0x1dd)});}));function _0x29a5(_0x28e7c4,_0x4453b5){_0x28e7c4=_0x28e7c4-0xd1;var _0x2d6929=_0x2d69();var _0x29a52a=_0x2d6929[_0x28e7c4];return _0x29a52a;}function _0x2d69(){var _0x33008f=['closeSession','list','ENTITLE_COUPON_EXPIRED','post','onMissedChangesetFetched','UNIVER_SLIDE','updateOfflineData','liveShareOperation','[PendingState]:\x20unhandled\x20univer\x20type:\x20','resolve','UserProfileImg','parse','@univerjs/drawing','LICENSE_IMPORT_SIZE_EXCEEDED','Base64','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[DataLoaderService]','NEW_CHANGESETS','ClipsheetFragments','_throwTelemetryCollaborationNewChangeset','toggleOnline','pipe','UNIVER_SHEET','__esModule','FETCH_MISS','_userManagerService','key','_changesetSessionId','Quantity','ICommandService','focused$','fetchMissingChangesets','PY_RUNTIME_SCRIPT_ERROR','_httpService','BehaviorSubject','_initDependencies','/allowed','ERROR_EXCEED_SIZE','string','deepClone','COMPRESS_MUTATION_APPLY','enc','/universer-api/uniscript','session.room-cnt-exceeds','OpenSSL','length','_telemetryService','getRoom','/-/object/list','ivSize','/unit/','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_createHmacHelper','_doCryptBlock','take','UUID','transformSelections','HTTPRequest','_transformStack','CollaborationSocketService','UniverTelemetry','LIVESHARE_FETCH_OPERATIONS','floor','NOT_COLLAB','randomBytes','getLocalCacheKey','_socketService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/new_changes','_socketReady','[CollaborationSessionService]:\x20socket\x20error','_members$','loadDoc','/universer-api/oidc/authpage','2851797wvfZAL','YUUMI_AI_RUN_FAILED','DEFAULT_WS_SESSION_TICKET_URL','online$','getUnitId','onTransformSelections','__Key__','UNKNOWN_CODE','offline','@univerjs/docs','BASE64','5019140KxZRZX','onRemoteAck','POST','RECV','_updateState','_sendHeartbeatTimer','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_entities','reject','enableSingleActiveInstanceLock','subscribe','getConfig','setConfig','_candidateSocket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','refreshPermission','shareReplay','LIVESHARE_TERMINATE','image/png','18ApswSB','SOCKET_FAILED_RETRY','_sendingTimer','SNAPSHOT_HAS_BEEN_REMOVED','lib','getSnapshotAPIPath','_waitCount','firstValueFrom','ERROR_IMAGE','CBC','requestParams','getImage','[OfflineState]:\x20received\x20changeset.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','resend','collabSubmitChangesetUrl','unitId\x20is\x20not\x20found','liveShareNewHost','Hex','getUnitOnRev','updateCollaborator','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','NO_OTHER_CLIENTS_EDITING','HttpImport','keySize','Plugin','_transformUndoredo','_roomCreated$','UniverNetworkPlugin','CommentService','_updateStatus','Malformed\x20UTF-8\x20data','isTransformMutationsWithChangesetFailure','ISingleActiveUnitService','clear','_transitionLocked','&source=','ISnapshotServerService','kdf','finalize','CHANGESET_REJ','HmacSHA1','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/comb','_iv','_transformIMECache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/block/','\x0aCurrent:\x20','BlockCipher','entries','_undoRedoService','_onFetchMissResult','min','Optional','slice','image/jpg','_emitMembers','SHA1','merge','FAIL','UniverSheets','AuthzIoHttpService','_sendHeartbeat','ENTITLE_CAN_NOT_BUY_LOWER_OTP','LICENSE_EXPORT_SIZE_EXCEEDED','_queuedRemoteChangesets','JOIN_ROOM_FAILED','univer-pro.collaboration-client.network-condition.service','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','roomInfos','_snapshotServerService','UNIVER_UNKNOWN','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','toStringTag','_replaceFileID','_fetchMissChangesets','[CollaborationEntity]','_toggleOffline','decryptBlock','change$','loginUrlKey','Base','Decryptor','REDEMPTION_CODE_NOT_STARTED','max','updateMember','LocaleService','People','_socketMessageSubscription','startsWith','_shouldReportTelemetry','joinEvent','YUUMI_URL_COL_OUT_OF_RANGE','_clearUndo','LOCAL_CACHE_INTERVAL','Disposable','setWaitCount','fetch_missing','OTHER_CLIENTS_EDITING','getDeserializedSheetBlock','sheets','&assign=','ciphertext','OTHER_CLIENT_EDITING','image/jpeg','SUCCUSS','_onMessage','awaiting','_mode','getCurrentUser','HEARTBEAT_INTERVAL','now','pluginName','format','[OfflineState]:\x20received\x20acknowledgement.','_permissionService','REDEMPTION_CODE_HAS_BEEN_CREATED','_schedule','localeService','AwaitingWithPendingState','_key','addImageSourceCache','Hasher','FETCH_MISSING','_getAPIPrefixPath','getMember','REDEMPTION_CODE_INACTIVE','__splitChunk__','symbol','ENTITLE_USE_COUPON_NOT_1ST_TRADE','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','encrypt','compute','waitForRoom$','COMPLETION_FINISHED','SnapshotService','Encryptor','listCollaborators','onMutationExecutedForCollab','updatePermissionObjEvent','cmd','newCsEvent','getRandomValues','join','/universer-api/file/{fileID}/sign-url','map','LEAVE','_clearRetryConnectingTimer','_clearHeartbeatTimer','data','mixIn','_doFinalize','isTransformMutationsWithChangesetSuccess','iterations','mergeOverrideWithDependencies','_prevBlock','Undefined','crypto','CollaborationImageIoService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitType','_config','_sheetTransformSelectionsService','_onCombEvent','InsertSheetMutation','_incrementRevisionNumber','getCollabEntity$','close','getLatestCsReqIdBySid','body','isTransformChangesetsSuccess','[CollaborationState]:\x20apply\x20error!','function','_imageSourceCache','_clearTimeoutTimer','image/gif','SYNCED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LOGIN_FAILED','dispose','mutations','_handlerCallback','sendChangesetTimeout','roles','pending','IImageIoService','onLocalMutation','IMentionIOService','textRanges','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onTransformState','JOIN','ENTITLE_COUPON_USED_UP','_doProcessBlock','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','csAckEvent','IUndoRedoService','_getUndoStack','MemberService','_updateLocalCache','_waitForHeartbeatResponse','toDisposable','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getCollabEntity','COMPRESS_MUTATION_SEND','saveSnapshot','_univerInstanceService','UNIVER_COLLABORATION_CLIENT_PLUGIN','getTime','fetching\x20missing\x20changesets\x20from\x20','AES','FileId','getImageSourceCache','_initCloseConn','_commandService','compose','setShowComponents','_localeService','CHANGESET_REVISION_CONFILICT','_collaborationPaused','AWAITING','_members','MD5','IAuthzIoService','exports','UNIVER_DOC','_resendTimeout','object','collabWebSocketUrl','_onJoinRoomEvent','CommandType','10462dcNuax','/universer-api/authz','_data','init','getCurrentSelections','CLOSE_ROOM','getSheetId','DEFAULT_FILE_NAME','serializeCombRequest','default','SessionStatus','JOIN_ROOM_FULL','_configService','message$','YUUMI_CONNECTOR_URL_NOT_FOUND','@univerjs/network','APPLY_PERMISSION_DENIED','incrementRevOfUnit','unknown','socket\x20close','_syncEditingCollabCursor','SUBMIT_CHANGESET_TIMEOUT','parseProtocolChangeset','\x0aAfter:\x20','blockSize','_decreaseWaiting','/object/','status$','_collaborationUIEventService','unitId','APPLY_REVISION_CONFILICT','getValue','disposeWithMe','TOO_MANY_REQUESTS','reconnect','FetchingMissState','copyFileMeta','awaiting_with_pending','Injector','_sender','_hash','readInt32LE','rxjs/operators','_substituteUndoStack','CollaborationEvent','_status$','isArray','CollaborationUIEventService','Pkcs7','_unitInfo$','send','146XAZhdg','rev','get','ILogService','fromCollab','collaborators','INVITE_CODE_HAS_BEEN_UES','fetchThroughInterceptors','JOIN_ROOM_NOT_EXISTS','Inject','_resendWithTimeout','downloadEndpointUrl','_transformStateCache','disableLocalCache','CollaborationSessionService','_initRequestHeader','connection\x20error','range','Rectangle','m2Prime','userID','SheetCollaborationEntity','unitID','repeat','indexOf','title','reverse','[PendingState]:\x20received\x20rejection.','/universer-api/user/session-ticket','push','ERROR_AGAIN','filter','state$','updatePermissionPoint','abs','UNDEFINED','UNISCRIPT_RUN','_exhaustRemoteChangesetQueue','JSONX','createEncryptor','complete','/rev/','csRejEvent','CompressMutationService','DependentOn','every','5622556wbRpKn','getFocusedUnit','getGlobalObject','stopTime','_tryEnsureSocket','SUBMIT_CHANGESET','_compressMutationService','_cipher','univer-pro.collaboration-client.single-active-unit-service','formatter','reduce','CipherParams','_instanceService','_init','enableOfflineEditing','getOwnPropertyDescriptor','_executeRemoteChangeset','_entityInit$','encryptBlock','_listenToNetworkCondition','_collaborationTimeoutTimer','_resendTimer','state','SNAPSHOT_INVALID_SNAPSHOT','_sessions','BlockCipherMode','7649625KjjDih','MOBILE_VERIFY_CODE_MISMATCH','_tryReconnect','&to=','LOGIN_TOKEN_PROCESSING_FAILED','not_collab','permissionRejEvent','_getRedoStack','charCodeAt','MOBILE_HAS_BEEN_BOUND','MentionIoHttpService','_nRounds','_socket','find','_map','_disableEditing','registerHTTPInterceptor','_doReset','ThresholdInterceptorFactory','MergeInterceptorFactory','code','_HTTPService','method','MSG_FOR_ERROR','GLOBAL_ROOMS_CNT_EXCEEDS','_createInitialStateImpl','session.room-permission-denied','_singleActiveUnitService','_onOffline','YUUMI_ASYNCIO_CANCELLED','_timeoutTimer','defineProperty','unit-cache-','/collaborator','IContextService','RevisionService','CURRENT_STATUS_CANNOT_OPERATE','onSendChangeset','_append','ConflictState','resourceIDs','_acknowledgedAwaitingChangeset','values','emitEvent','name','UNRECOGNIZED','enableCollaboration','apply','_redoStacks','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','USERS_ENTER','baseRev','_retryCount','SOCKET_FAILED','update','COMMENT_UPDATE','words','hasOwnProperty','_roomMembers','put','_logService','size','_scheduleCompleteTimestamp','UniverNetwork','onSyncEditingCollabCursor','DataLoaderService','synced','retryConnectingInterval','onlyLocal','4261312bIfOyn','_getDownloadEndpointURL','toString','uploadFileServerUrl','params','\x20to\x20','_networkConditionService','CONFLICT','_sessionStatus$','WorkbookEditablePermission','collaMsg','_onConnectionOpen','_createHelper','_startTelemetryCollaborationNewChangeset','_onRemoteChangeset','_injector','sin','$super','_collaborationSessionService','members$','REDEMPTION_CODE_FULLY_REDEEMED','_scheduleCollaborationTimeoutTimer','CONNECTOR_DATA_TOO_LARGE','/role','rxjs','collaboration_new_changeset','_type','INVITE_CODE_ALREADY_BOUND','[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.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_minBufferSize','_replayCachedMutations','_DEC_XFORM_MODE','LocalUndoRedoService','stringify','removeMember','charAt','UserManagerService','next','selections','_onConflict','createIdentifier','DisposableCollection','[CollaborationUndoRedoService]','sigBytes','YUUMI_ALL_TABLES_IS_INVALID','_state','substr','USER_NOT_INVITED_CODE','c1Prime','UPDATE_PERMISSION_OBJ','CHANGESET_SHOULD_RETRY','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','processBlock','ALREADY_EXISTS','_remoteChangesetQueue','executeCommand','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','signUrlServerUrl','UnitSnapshot','ENTITLE_REPORT_LIMIT_EXCEED','_rescheduleHeartbeat','createInstance','splice','ENSURE_SNAPSHOT_EXECUTION','call','encodeURIComponent','sessionStatus','StreamCipher','subUnitId','ceil','IPermissionService','getTypeOfUnitAdded$','_oKey','Module','has','url','_showConflictNotification','uniscriptRunEvent','updateCursorEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SnapshotServerOverHTTPService','getUnit','INGEST','ITelemetryService','_maxTotalRetryTimeout','UniverProCollaborationClient','RETRY_CONNECTING_MAX_COUNT_KEY','_transformService','getTypeOfUnitDisposed$','_onLocalMutation','append','HELLO','APPLY_REJECT','_stopTelemetryCollaborationNewChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','touchDependencies','location','HttpExport','revision','_snapshotService','actions','operators','?url=','byteLength','encode','takeUntil','UniverDocs','replace','IUniverInstanceService','_parse','12jLnrKb','Univer','_lockTransition','unsubscribe','ISocketService','OfflineState','clamp','_onRecvEvent','socketService','loadOfflineData','debug','localCacheService','UnitStatus','_undoStacks','amd','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getAllMembers','_joinRoom','JOINING','/-/object/-/batch_allowed','loadUnitOfRevision','onStateChange','src','_localCacheService','generateRandomId','CHANGESET_ACK','_change$','UniverDrawing','SetSelectionsOperation','result','RETRY_CONNECTING_MAX_COUNT','create','SheetPermissionInitController','close$','reset','Subject','IConfigService','file','_hasher','clone','parseChangesetToProtocol','getMemberID','_memberService','_getCtorByUniverType','CollaborationController','socket\x20open.','delay','error','IDLE','_getCurrentRevision','commentUpdate$','\x20in\x20_schedule.','msCrypto','conflict','HmacMD5','readAsDataURL','_createInitialState','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[SyncedState]:\x20received\x20acknowledgement.','pauseCollaboration','UNKNOWN_CMD','HEARTBEAT_INTERVAL_KEY','APPLY_NON_SEQUENTIAL_REVISION','asObservable','_commentUpdate$','saveSheetBlock','getCurrentRevOfUnit','requireSession','_unitID','allowed','_onConnectionFailed','buffer','EMAIL_HAS_BEEN_BOUND','[CollaborationSessionService]','USER_NOT_FOUND','_socket$','ENTITLE_NEED_BILLING_ADDRESS','LIVESHARE_REQUEST_HOST','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','Tools','LOCAL_CACHE_INTERVAL_KEY','workbook','YUUMI_RATE_OVER_LIMIT','PendingState','avatar','_nDataBytes','UniverCollaborationPlugin','REDEMPTION_INVALID_CODE','execute','patch','concat','mode','hasher','salt','_getAPIPrefix','onMissingChangesets','status','getResourcesRequest','univer-pro.collaboration-client-socket-service','_state$','type','RxDisposable','@univerjs-pro/collaboration','padding','onTransformIME','session.join-failed','isPermissionRej','@univerjs-pro/license','AwaitingState','_onUserJoin','href','_eventService','INVITE_CODE_REQUIRED','NoPadding','_createSocket','saveImage','_handler','onRemoteRetry','_checkMissing','_event$','OPTIONAL','ENTITLE_INVALID_COUPON_CODE','UnitEmbedded','_unlockTransition','INVALID_INVITE_CODE','?size=','_initUnitPermissionChange','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','YUUMI_TABLE_NOT_FOUND_IN_UNIT','JOIN_ROOM_PERMISSION_DENIED','onRemoteRej','Latin1','saveChangeset','transformUndoRedo','MentionType','_isPermissionRej','_onUserLeave','getActiveSheet','_getSignURL','ONLINE','/universer-api/snapshot','isInternalEditorID','originalMeta','_removeRoom','extend','PSEUDO_FETCH_MISSING_RESULT','_registerDependencies','error$','event$','LIVESHARE_NEW_HOST','INVALID_ARGUMENT','infoRsp','_pendingMutations','UniverInstanceType','onTransformRemoteChangesetByIMECache','[CollaborationSession]','listRoles','entityInit$','_toggleOnline','_revisionService','UNAUTHENTICATED','/resources','objectID','deserializeToCombResponse','add','failed\x20to\x20apply\x20missed\x20changesets!','members','_applyRemoteChangeset','random','action','confirm','Utf8','_transformSelections','UPDATE_CURSOR','_onRemoteRejected','onTransformRemoteChangesetByStateCache','duration','onRemoteChangeset','SHOULD_CLOSE_CONN','getUnitStatus$','DocCollaborationEntity','BufferedBlockAlgorithm','CollaborationEntity','loadSheet','NOT_FOUND','HTTPService','SheetsSelectionsService','appendMutation','memberID','_onRemoteACK','REDEMPTION_USER_NOT_ELIGIBLE','interceptor','getInterceptPoints','delete','_reverseMap','OFFLINE','_initMergeInterceptor','objects','transformChangesets','target','onload','transformMutationsWithChangeset','session','transformStack\x20failed!','_changesetReqId','pad','SheetTransformSelectionsService','3038077sOuBMG','ws://127.0.0.1:8000/universer-api/comb/connect','WECHAT_HAS_BEEN_BOUND','unpad','_getUploadFileURL','CollaborativeUndoRedoService','_getSendChangesetTimeout','prototype','algo','textEncoder','HEARTBEAT_TIMEOUT_KEY','PAYMENT_CHANNEL_NOT_SUPPORT','onCommentUpdate','cfg','setCurrentUser','_xformMode','INTERNAL_ERROR','startTime','awaitingChangeset','PERMISSION_DENIED','DEFAULT_COLLAB_WEB_SOCKET_URL','UniverCollaborationClientPlugin','_clearScheduledTask','_iKey','loadUnit','enableAuthServer','UniverProCollaboration','changesets','_createHandler','USERS_LEAVE','dispose$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_awaitingChangeset','WordArray','subject','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','responseType','capture','ImageSourceType','snapshotServerUrl','HMAC','sid','routeKey','editing\x20status\x20changed\x20to','_ENC_XFORM_MODE','PERSON','eventID','set','updateSnapshot','authzUrl','SerializableCipher','decrypt','EvpKDF','fromCharCode','YUUMI_SUBSCRIPTION_NOT_FOUND','/object','addHandlerCallback','SyncedState','EMAIL_VERIFY_CODE_MISMATCH','createSocket','_retryConnectingTimer','ENTITLE_INSUFFICIENT_QUOTA','HEARTBEAT','YUUMI_NO_CUBOID_FOR_QUESTION','x-univer-host','LICENSE_MAX_UNITS_EXCEEDED','_keyPriorReset','CollaborationSession','APPLY_DUPLICATED','[FetchMissState]','session.room-not-exists','PERMISSION_REJ','_startCollaboration','RichTextEditingMutation','_clearLocalCache','AUTHORIZE_CODE_ILLEGAL','objectType','putCollaborators','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','toggleOffline','sessionStatus$','forEach','PENDING','_process','c2Prime','_telemetryInfo','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_transformRemoteChangesetByStateCache','ImageUploadStatusType','[SyncedState]:\x20received\x20rejection.','open$','hostname','getSheetBlock','UNIVER_PROJECT','collaboration-client.config','_clearRedo','uuidv4','ITransformService','LIVESHARE_OPERATION','USER_IS_ANONYMOUS','_collabSessionService','DATA_SOURCE_TOO_LARGE','b64DecodeUnicode','reqId','__creator'];_0x2d69=function(){return _0x33008f;};return _0x2d69();}
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x8fda(_0x43a3fe,_0x2a90bc){_0x43a3fe=_0x43a3fe-0x1aa;const _0x571bc5=_0x571b();let _0x8fdac0=_0x571bc5[_0x43a3fe];return _0x8fdac0;}(function(_0x24727d,_0x5efaaf){const _0x515351=_0x8fda,_0x54e19c=_0x24727d();while(!![]){try{const _0x26de93=-parseInt(_0x515351(0x1ca))/0x1+-parseInt(_0x515351(0x1e5))/0x2*(parseInt(_0x515351(0x1cf))/0x3)+parseInt(_0x515351(0x1c6))/0x4+parseInt(_0x515351(0x1df))/0x5*(-parseInt(_0x515351(0x1bd))/0x6)+-parseInt(_0x515351(0x1d3))/0x7+parseInt(_0x515351(0x1d2))/0x8*(-parseInt(_0x515351(0x1aa))/0x9)+parseInt(_0x515351(0x1e9))/0xa;if(_0x26de93===_0x5efaaf)break;else _0x54e19c['push'](_0x54e19c['shift']());}catch(_0x552ef9){_0x54e19c['push'](_0x54e19c['shift']());}}}(_0x571b,0x67d2c),function(_0x4e5363,_0x1e6c5c){const _0x5a1074=_0x8fda;typeof exports==_0x5a1074(0x1ce)&&typeof module<'u'?_0x1e6c5c(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x5a1074(0x1e1)&&define[_0x5a1074(0x1ab)]?define([_0x5a1074(0x1b3),_0x5a1074(0x1b7),'@univerjs/core/facade',_0x5a1074(0x1cc),_0x5a1074(0x1d1),'rxjs'],_0x1e6c5c):(_0x4e5363=typeof globalThis<'u'?globalThis:_0x4e5363||self,_0x1e6c5c(_0x4e5363['UniverProCollaborationClientFacade']={},_0x4e5363['UniverProCollaborationClient'],_0x4e5363[_0x5a1074(0x1c0)],_0x4e5363[_0x5a1074(0x1d6)],_0x4e5363[_0x5a1074(0x1bf)],_0x4e5363[_0x5a1074(0x1db)]));}(this,function(_0x4933e5,_0x3aa101,_0x407d34,_0x246c95,_0x3ae71a,_0x93025b){'use strict';const _0x3ab9f2=_0x8fda;class _0x5c73be extends _0x407d34['FEnum']{get[_0x3ab9f2(0x1e6)](){const _0x59d95a=_0x3ab9f2;return _0x3aa101[_0x59d95a(0x1e6)];}}_0x407d34[_0x3ab9f2(0x1b8)]['extend'](_0x5c73be);var _0xcfb388=Object['getOwnPropertyDescriptor'],_0x23b784=(_0x414c01,_0x133c3f,_0x5457c2,_0x12edae)=>{const _0x424bc9=_0x3ab9f2;for(var _0x5210b4=_0x12edae>0x1?void 0x0:_0x12edae?_0xcfb388(_0x133c3f,_0x5457c2):_0x133c3f,_0x31462a=_0x414c01[_0x424bc9(0x1d4)]-0x1,_0x41dbbf;_0x31462a>=0x0;_0x31462a--)(_0x41dbbf=_0x414c01[_0x31462a])&&(_0x5210b4=_0x41dbbf(_0x5210b4)||_0x5210b4);return _0x5210b4;},_0x3fef48=(_0x75ad93,_0xaf12c1)=>(_0x25c033,_0x60921e)=>_0xaf12c1(_0x25c033,_0x60921e,_0x75ad93);_0x4933e5[_0x3ab9f2(0x1b0)]=class extends _0x407d34[_0x3ab9f2(0x1c2)]{constructor(_0x5644cc,_0x2e8196,_0x253178,_0x59ffb5,_0x42fcb0){const _0x125671=_0x3ab9f2;super(),this[_0x125671(0x1dc)]=_0x5644cc,this[_0x125671(0x1c4)]=_0x2e8196,this[_0x125671(0x1bc)]=_0x253178,this[_0x125671(0x1e2)]=_0x59ffb5,this[_0x125671(0x1c9)]=_0x42fcb0;}async[_0x3ab9f2(0x1b5)](){const _0x242648=_0x3ab9f2;return this[_0x242648(0x1cd)]();}async[_0x3ab9f2(0x1cd)](){const _0x886277=_0x3ab9f2;throw new Error(_0x886277(0x1c5));}async['loadSheet'](_0x3eec63){const _0x490f39=_0x3ab9f2;return this[_0x490f39(0x1ac)](_0x3eec63);}async[_0x3ab9f2(0x1ac)](_0x15fa1a,_0x4bd3f7){const _0x2c580a=_0x3ab9f2;return await this[_0x2c580a(0x1e2)][_0x2c580a(0x1be)](_0x15fa1a,0x0,_0x4bd3f7)?(await this[_0x2c580a(0x1c9)][_0x2c580a(0x1af)](_0x15fa1a),this[_0x2c580a(0x1dc)][_0x2c580a(0x1ae)](_0x15fa1a)):null;}['subscribeCollaborators'](_0x487831,_0xa8fa97){const _0x164d9c=_0x3ab9f2,_0x52d993=this[_0x164d9c(0x1c4)][_0x164d9c(0x1b9)](_0x3aa101[_0x164d9c(0x1b4)])[_0x164d9c(0x1ad)](_0x487831)[_0x164d9c(0x1e0)](_0x93025b['switchMap'](_0x511276=>_0x511276[_0x164d9c(0x1e4)]))[_0x164d9c(0x1c7)](_0xd3dd19=>_0xa8fa97(Array['from'](_0xd3dd19[_0x164d9c(0x1d5)]())));return _0x3ae71a[_0x164d9c(0x1d9)](_0x52d993);}['getCollaborationStatus'](){const _0xb726ac=_0x3ab9f2,_0x5ac623=this['_univerInstanceService']['getFocusedUnit']();if(!_0x5ac623)return _0x3aa101[_0xb726ac(0x1e6)][_0xb726ac(0x1d7)];const _0x4ab2d5=this[_0xb726ac(0x1c9)][_0xb726ac(0x1dd)](_0x5ac623[_0xb726ac(0x1d0)]());return _0x4ab2d5?_0x4ab2d5[_0xb726ac(0x1cb)][_0xb726ac(0x1bb)]:_0x3aa101['CollaborationStatus'][_0xb726ac(0x1d7)];}},_0x4933e5[_0x3ab9f2(0x1b0)]=_0x23b784([_0x3fef48(0x1,_0x3ae71a[_0x3ab9f2(0x1c8)](_0x3ae71a['Injector'])),_0x3fef48(0x2,_0x3ae71a['IUniverInstanceService']),_0x3fef48(0x3,_0x3ae71a['Inject'](_0x246c95[_0x3ab9f2(0x1ba)])),_0x3fef48(0x4,_0x3ae71a[_0x3ab9f2(0x1c8)](_0x3aa101[_0x3ab9f2(0x1de)]))],_0x4933e5[_0x3ab9f2(0x1b0)]);class _0x48cb5f extends _0x407d34[_0x3ab9f2(0x1c3)]{[_0x3ab9f2(0x1e8)](){const _0x160fbc=_0x3ab9f2;return this[_0x160fbc(0x1c4)][_0x160fbc(0x1d8)](_0x4933e5['FCollaboration'],{'getUniverSheet':_0x531bce=>this['getUniverSheet'](_0x531bce)});}[_0x3ab9f2(0x1e3)](_0x3651b3,_0x16ef04,_0x2199f6){const _0x56e7d3=_0x3ab9f2;return this['_injector'][_0x56e7d3(0x1b9)](_0x3aa101['DataLoaderService'])[_0x56e7d3(0x1c1)](_0x3651b3,_0x16ef04,_0x2199f6);}[_0x3ab9f2(0x1ea)](_0x4883c8,_0x32d71f,_0x1297b4){const _0x40f0cb=_0x3ab9f2;return this[_0x40f0cb(0x1c4)]['get'](_0x3aa101[_0x40f0cb(0x1e7)])[_0x40f0cb(0x1b6)](_0x4883c8,_0x32d71f,_0x1297b4);}}_0x407d34[_0x3ab9f2(0x1c3)][_0x3ab9f2(0x1da)](_0x48cb5f),Object['defineProperty'](_0x4933e5,Symbol[_0x3ab9f2(0x1b2)],{'value':_0x3ab9f2(0x1b1)});}));function _0x571b(){const _0x996431=['2gNWDcD','CollaborationStatus','DataLoaderService','getCollaboration','19813100FPYXWq','loadServerUnitOfRevision','9POtygD','amd','loadSheetAsync','waitForRoom$','getUniverSheet','readyForCollab','FCollaboration','Module','toStringTag','exports','MemberService','loadActiveSheet','loadUnitOfRevision','@univerjs-pro/collaboration-client','FEnum','get','SnapshotService','status','_univerInstanceService','18UkDDGm','loadSheet','UniverCore','UniverCoreFacade','loadUnit','FBase','FUniver','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','133032EfUFXq','subscribe','Inject','_collaborationController','185516tQYYJC','state','@univerjs-pro/collaboration','loadActiveSheetAsync','object','208959hJurwN','getUnitId','@univerjs/core','5181168qcurMp','187698zScTBZ','length','values','UniverProCollaboration','NOT_COLLAB','createInstance','toDisposable','extend','rxjs','_handler','getCollabEntity','CollaborationController','1099465ShVZUd','pipe','function','_snapshotService','loadServerUnit','members$'];_0x571b=function(){return _0x996431;};return _0x571b();}
5
+ (function(_0x59dde5,_0x2303b1){const _0x93e602=_0x16ef,_0x232ac4=_0x59dde5();while(!![]){try{const _0x46a01e=-parseInt(_0x93e602(0x15a))/0x1*(-parseInt(_0x93e602(0x15b))/0x2)+parseInt(_0x93e602(0x128))/0x3+parseInt(_0x93e602(0x152))/0x4+-parseInt(_0x93e602(0x151))/0x5*(parseInt(_0x93e602(0x13e))/0x6)+-parseInt(_0x93e602(0x148))/0x7*(-parseInt(_0x93e602(0x132))/0x8)+-parseInt(_0x93e602(0x125))/0x9+parseInt(_0x93e602(0x139))/0xa*(parseInt(_0x93e602(0x13a))/0xb);if(_0x46a01e===_0x2303b1)break;else _0x232ac4['push'](_0x232ac4['shift']());}catch(_0x5177ed){_0x232ac4['push'](_0x232ac4['shift']());}}}(_0x5993,0xb2a9b),function(_0x1a9af8,_0x295d74){const _0x2914b1=_0x16ef;typeof exports==_0x2914b1(0x12d)&&typeof module<'u'?_0x295d74(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define[_0x2914b1(0x14b)]?define(['exports',_0x2914b1(0x13d),_0x2914b1(0x137),_0x2914b1(0x123),_0x2914b1(0x12b),_0x2914b1(0x15f)],_0x295d74):(_0x1a9af8=typeof globalThis<'u'?globalThis:_0x1a9af8||self,_0x295d74(_0x1a9af8[_0x2914b1(0x12f)]={},_0x1a9af8['UniverProCollaborationClient'],_0x1a9af8[_0x2914b1(0x165)],_0x1a9af8[_0x2914b1(0x149)],_0x1a9af8['UniverCore'],_0x1a9af8[_0x2914b1(0x15f)]));}(this,function(_0xf300d5,_0x28d35a,_0x368f9c,_0x58843d,_0x35668c,_0x3997ac){'use strict';const _0x35545e=_0x16ef;class _0x231fe3 extends _0x368f9c[_0x35545e(0x124)]{get['CollaborationStatus'](){return _0x28d35a['CollaborationStatus'];}}_0x368f9c[_0x35545e(0x124)][_0x35545e(0x129)](_0x231fe3);var _0x46924c=Object[_0x35545e(0x15d)],_0x3a3f79=(_0x5674ed,_0x2a214d,_0x363c67,_0xcdecc6)=>{const _0x28deb7=_0x35545e;for(var _0x4a013e=_0xcdecc6>0x1?void 0x0:_0xcdecc6?_0x46924c(_0x2a214d,_0x363c67):_0x2a214d,_0x42b79d=_0x5674ed[_0x28deb7(0x154)]-0x1,_0x295ec5;_0x42b79d>=0x0;_0x42b79d--)(_0x295ec5=_0x5674ed[_0x42b79d])&&(_0x4a013e=_0x295ec5(_0x4a013e)||_0x4a013e);return _0x4a013e;},_0xd0841a=(_0x78069,_0x31a04a)=>(_0x580d61,_0x56012e)=>_0x31a04a(_0x580d61,_0x56012e,_0x78069);_0xf300d5[_0x35545e(0x135)]=class extends _0x368f9c[_0x35545e(0x143)]{constructor(_0x2e6fe6,_0x2fea1c,_0x5013e2,_0x1b0d98,_0x563da9){const _0x31860f=_0x35545e;super(),this[_0x31860f(0x126)]=_0x2e6fe6,this[_0x31860f(0x162)]=_0x2fea1c,this[_0x31860f(0x14c)]=_0x5013e2,this[_0x31860f(0x136)]=_0x1b0d98,this[_0x31860f(0x163)]=_0x563da9;}async[_0x35545e(0x133)](){const _0x1284cd=_0x35545e;return this[_0x1284cd(0x141)]();}async[_0x35545e(0x141)](){const _0x234bc5=_0x35545e;throw new Error(_0x234bc5(0x127));}async[_0x35545e(0x12e)](_0x48d217){const _0x2f9efe=_0x35545e;return this[_0x2f9efe(0x15c)](_0x48d217);}async[_0x35545e(0x15c)](_0xce332,_0x172687){const _0x380088=_0x35545e;return await this[_0x380088(0x136)]['loadSheet'](_0xce332,0x0,_0x172687)?(await this['_collaborationController'][_0x380088(0x161)](_0xce332),this[_0x380088(0x126)][_0x380088(0x14d)](_0xce332)):null;}['subscribeCollaborators'](_0x3bb3ce,_0x11b40b){const _0x3eaa70=_0x35545e,_0x7abba6=this[_0x3eaa70(0x162)][_0x3eaa70(0x14a)](_0x28d35a[_0x3eaa70(0x14e)])[_0x3eaa70(0x160)](_0x3bb3ce)[_0x3eaa70(0x147)](_0x3997ac[_0x3eaa70(0x155)](_0x284d65=>_0x284d65[_0x3eaa70(0x144)]))[_0x3eaa70(0x153)](_0x2c7c87=>_0x11b40b(Array[_0x3eaa70(0x134)](_0x2c7c87[_0x3eaa70(0x159)]())));return _0x35668c['toDisposable'](_0x7abba6);}[_0x35545e(0x158)](){const _0x3b2267=_0x35545e,_0x15de43=this['_univerInstanceService'][_0x3b2267(0x145)]();if(!_0x15de43)return _0x28d35a[_0x3b2267(0x130)][_0x3b2267(0x146)];const _0xf72ec5=this[_0x3b2267(0x163)]['getCollabEntity'](_0x15de43[_0x3b2267(0x150)]());return _0xf72ec5?_0xf72ec5[_0x3b2267(0x157)]['status']:_0x28d35a['CollaborationStatus']['NOT_COLLAB'];}},_0xf300d5[_0x35545e(0x135)]=_0x3a3f79([_0xd0841a(0x1,_0x35668c[_0x35545e(0x14f)](_0x35668c[_0x35545e(0x138)])),_0xd0841a(0x2,_0x35668c[_0x35545e(0x12a)]),_0xd0841a(0x3,_0x35668c[_0x35545e(0x14f)](_0x58843d[_0x35545e(0x156)])),_0xd0841a(0x4,_0x35668c['Inject'](_0x28d35a[_0x35545e(0x13c)]))],_0xf300d5[_0x35545e(0x135)]);class _0x260c30 extends _0x368f9c['FUniver']{[_0x35545e(0x140)](){const _0x4b1731=_0x35545e;return this[_0x4b1731(0x162)]['createInstance'](_0xf300d5[_0x4b1731(0x135)],{'getUniverSheet':_0x34696=>this[_0x4b1731(0x14d)](_0x34696)});}[_0x35545e(0x142)](_0x1d488f,_0x3d2c43,_0x4756c0){const _0x27f3c8=_0x35545e;return this[_0x27f3c8(0x162)]['get'](_0x28d35a['DataLoaderService'])['loadUnit'](_0x1d488f,_0x3d2c43,_0x4756c0);}[_0x35545e(0x12c)](_0x22f385,_0x349d35,_0xe44ee6){const _0x4e0204=_0x35545e;return this[_0x4e0204(0x162)][_0x4e0204(0x14a)](_0x28d35a[_0x4e0204(0x13f)])[_0x4e0204(0x131)](_0x22f385,_0x349d35,_0xe44ee6);}}_0x368f9c[_0x35545e(0x15e)][_0x35545e(0x129)](_0x260c30),Object[_0x35545e(0x13b)](_0xf300d5,Symbol['toStringTag'],{'value':_0x35545e(0x164)});}));function _0x16ef(_0xf40deb,_0x2736d7){_0xf40deb=_0xf40deb-0x123;const _0x59939a=_0x5993();let _0x16ef02=_0x59939a[_0xf40deb];return _0x16ef02;}function _0x5993(){const _0x403c16=['waitForRoom$','readyForCollab','_injector','_collaborationController','Module','UniverCoreFacade','@univerjs-pro/collaboration','FEnum','11988585vrivns','_handler','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','629571HfaQSn','extend','IUniverInstanceService','@univerjs/core','loadServerUnitOfRevision','object','loadSheet','UniverProCollaborationClientFacade','CollaborationStatus','loadUnitOfRevision','4232WnBTQo','loadActiveSheet','from','FCollaboration','_snapshotService','@univerjs/core/facade','Injector','133390AmEZNL','319CiiUkQ','defineProperty','CollaborationController','@univerjs-pro/collaboration-client','37110BcsFCZ','DataLoaderService','getCollaboration','loadActiveSheetAsync','loadServerUnit','FBase','members$','getFocusedUnit','NOT_COLLAB','pipe','10409SXZojf','UniverProCollaboration','get','amd','_univerInstanceService','getUniverSheet','MemberService','Inject','getUnitId','915oVLTZd','5091496HDMVXX','subscribe','length','switchMap','SnapshotService','state','getCollaborationStatus','values','89923bEQwqZ','12FHaOti','loadSheetAsync','getOwnPropertyDescriptor','FUniver','rxjs'];_0x5993=function(){return _0x403c16;};return _0x5993();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x3baa(){const _0x33e136=['_assignedColors','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','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exports','_maxFormulaLimit','href','_initEvent','maxFormulaLimit','YUUMI_SUBSCRIPTION_NOT_FOUND','ENTITLE_DUP_SUBSCRIPTION','RegularPolygon','@univerjs-pro/collaboration-client','trim','ENTITLE_COUPON_EXPIRED','BrowserCollaborationSocketService','Module','endRow','FETCH_MISS','_scheduleClearOtherTimer','getItem','runRefRangeMutations','MoveRangeCommandId','@univerjs/network','height','beforeCommandExecuted','getUnhiddenWorksheets','CONFLICT','@univerjs/engine-formula','CollaborationStatus','handleDeleteRangeMoveUp','collab-text-anchor-','/universer-api/license/formula/limit/status','saveOfflineData','UniverDocsUi','YUUMI_RATE_OVER_LIMIT','color','getCellPositionByOffset','name','_clearPolling','234EPQghN','_scheduleHeartbeat','find','length','_docTransformStateCacheService','endColumn','executeCommand','_roomMembers$','LOCAL_CACHE_INTERVAL_KEY','getTypeOfUnitDisposed$','UniverEngineRender','ENSURE_SNAPSHOT_EXECUTION','on-line-icon','lineno','cursorInfo','ENTITLE_USE_COUPON_NOT_1ST_TRADE','setStateCache','combineLatest','_updateCollabCursors','YUUMI_UNABLE_LOAD_URL','updateOfflineData','width','defIds','clearTimeout','CollaborationUIEventService','_createSocketURL','_collaborationController','onRendered','394008qzlndj','ALREADY_EXISTS','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','skeleton','registerBeforeClose','stageInfo','registerRenderModule','history','DocStateChangeManagerService','_toggleOffline','SessionStatus','on-line-icon_clip0_910_349','setInterval','UniverSheets','CollaborationDataLoaderController','application/json','CONNECTOR_DATA_TOO_LARGE','_handleJoinEvent','UniverCollaborationClientUIPlugin','_renderManagerService','unsubscribe','_shapes','DocIMEInputManagerService','InsertRangeMoveDownCommandId','collaboration-client-ui.config','_saveTaskMap','REDEMPTION_INVALID_CODE','displayName','Shape','replaceDocRanges','DOC_RANGE_TYPE','_setupSubUnitSync','onLocalMutation','evenodd','RemoteUniscriptService','catch','getUndoRedoMutationParamsCache','measureText','UniverCollaborationClientPlugin','@univerjs/docs','getRangePointData','_initCommandExecutedListener','moveTo','UniverProCollaborationClientUi','_collaborationUIEventService','RevisionService','_range','memberID','getCurrentSelections','SetTextSelectionsOperation','_drawTextRange','_colorAssignService','isArray','PENDING','transformRemoteChangeset','_textBubble','_currentUsage','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ACTIVE_UNIT_EVENT_CHANNEL','EffectRefRangId','_session','roomMembers','CHANGESET_REVISION_CONFILICT','_transformService','runId','UniverDesign','ThemeService','dirtyRanges','runOnServer','hovered','some','startColumn','deserializeRangeWithSheet','ENTITLE_REPORT_LIMIT_EXCEED','1757WpuzEb','UniverRpc','APPLY_DUPLICATED','rxjs/operators','ONLINE','_anchorDot','popstate','switchMap','getOwnPropertyDescriptor','_unitOnClients','RemoveColCommandId','REDEMPTION_CODE_FULLY_REDEEMED','rgba(255,\x20255,\x20255,\x200.01)','IConfigService','toRgbString','setUndoRedoMutationParamsCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','colno','_checkCalculationAvailable','isTransformMutationsWithChangesetSuccess','SetFormulaCalculationStartMutation','distinctUntilChanged','_updateSubUnitFromURLParams','row','transformByState','complete','add','get','_localeService','Vector2','values','subscribeEvent','LICENSE_MAX_UNITS_EXCEEDED','_notificationService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','init','svg','WebBrowserSingleActiveUnitService','Injector','REDEMPTION_CODE_INACTIVE','onPointerLeave$','createInstance','SheetSkeletonManagerService','filename','[RemoteUniscriptService]:\x20no\x20focused\x20unit','m2Prime','session.collaboration-timeout','cursorInfo$','[Window\x20Error]:\x20','beginPath','getSheetBySheetId','_initResize','addObjects','_status$','symbol','ranges','_id','APPLY_PERMISSION_DENIED','stack','TOO_MANY_REQUESTS','fromEvent','_onCursorDelete','getUnitId','_collabCursorController','addClipboardHook','_initStatusListener','univer-flex\x20univer-items-center','onMouseMove','_document','[CollaborationDataLoaderController]','5SvUGuZ','top','set','UnitStatus','unit','TEXT_RANGE_LAYER_INDEX','currentSkeleton$','selections','CollaborationSocketService','CollaborationUIEventId','YUUMI_URL_COL_OUT_OF_RANGE','mask','black','merge','_eventUnsubscribe','delete','override','formula.calculation.started','MessageType','getFocusedUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','APPLY_NON_SEQUENTIAL_REVISION','BehaviorSubject','disposeWithMe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','labelPosition','_transformUndoRedoStack','HTTPService','UNIVER_SHEET','_releaseCalculationLimit','_cachedData','_refreshCollabCursors','unitID','SOCKET_FAILED','mapTo','rxjs','event$','push','reason','handleDeleteRangeMoveLeft','isTransformMutationFailure','_scheduleSaving','isFormulaString','fillText','AUTHORIZE_CODE_ILLEGAL','_online','_uiPartsService','setTimeout','IRenderManagerService','_urlService','object','UniverDrawing','transform','onPointerEnter$','DeleteRangeMoveLeftCommandId','_drawAnchor','random','getUnit','ILocalStorageService','takeUntil','_hideTimer','_getScale','DisposableCollection','176DQwJBR','_hasFormulaInDirtyRanges','setActiveRange','IBeforeCloseService','_lastPointer','getRenderById','univer-mr-2\x20univer-flex\x20univer-text-xl','post','_docSkeletonManagerService','TEXT','backgroundColor','ITransformService','_selfUnitIDs','map','permission.content','MUTATION','getMergeData','IUniverInstanceService','handleInsertCol','clsx','_imageIoService','next','_localCacheService','UNDEFINED','_ensureSubject','collabStatus.conflict','OTHER_CLIENTS_EDITING','deepClone','_collabSessionService','currentTheme$','focused$','body','generateRandomId','subscribe','_initCommandInterceptor','UniverUi','Tools','setItem','_initDependencies','fill','shareReplay','@univerjs/ui','_updateURLWithCurrentState','/universer-api/frontend/logs','Success','WECHAT_HAS_BEEN_BOUND','toString','getTypeOfUnitAdded$','_docTransformSelectionsService','_unitStatus','getSheetId','eventID','getMemberID','jiqing.500','contains','getRelativeToViewportCoord','SOCKET_FAILED_RETRY','?taskId=','SetSelectionsOperation','min','ISocketService','createIdentifier','onCommandExecuted','univerjs-icon\x20univerjs-icon-','saveTaskMap','START_CALCULATION','INTERNAL_ERROR','onStarting','hide','disableLocalCache','CollaborationController','div','getAncestorScale','permission.title','_revisionService','yellow.400','unshift','IMessageService','url(#$1','startRow','collab-rect-range-','then','_memberID','error','setParam','PY_RUNTIME_SCRIPT_ERROR','transformMutationsWithChangeset','ENTITLE_INVALID_COUPON_CODE','ENTITLE_INSUFFICIENT_QUOTA','pushState','show','Disposable','getOffsetConfig','formula.calculation.waiting','RefRangeService','0\x200\x2016\x2016','ENTITLE_CHAT_LIMIT_EXCEED','font','ENTITLE_COUPON_USED_UP','_showGuardMessage','_initEntityListener','handleMoveRange','createElement','textRanges','CollaborationSessionService','defs','off-line-icon','isActive','jsxs','syncEditingCollabCursor','subUnitId','filter','currentUsage','onPointerMove$','message','SetWorksheetActivateCommand','saveImage','CURRENT_STATUS_CANNOT_OPERATE','getActiveSheet','WebURLService','OnLineIcon','getLocalCacheKey','UniverDocs','fromEventSubject','NodePositionConvertToCursor','removeParam','BuiltInUIPart','_entities','USER_IS_ANONYMOUS','addHandlerCallback','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[Unhandled\x20Rejection]:\x20','setAlpha','redoState','RxDisposable','YUUMI_ALL_TABLES_IS_INVALID','[LogService\x20Error]:\x20','getCurrent','OTHER_CLIENT_EDITING','InsertRowCommandId','_setupBeforeClosingHandler','IRemoteInstanceService','exhaustSavingTask','UNAUTHENTICATED','0\x200\x2017\x2016','@univerjs/sheets','now','UniverSheetsUi','IDocClipboardService','UniverInstanceType','newValue','_injector','RECT','key','actions','DocSkeletonManagerService','fillRule','_docSkeleton','limitInfo','getStateCache','enableLocalCache','getUniverSheetInstance','reconnect','435726RSjJsp','bottom','throttleTime','_color','_name','location','SHEET_VIEWPORT_KEY','all','1mKyGWx','undoState','arc','doc.mutation.rich-text-editing','lineTo','_initStatusComponent','EMAIL_VERIFY_CODE_MISMATCH','UPDATE_CURSOR','INVALID_INVITE_CODE','DocCollaborationEntity','entries','INVITE_CODE_ALREADY_BOUND','code','_docTransformIMECacheService','setConfig','isEditing','USER_NOT_FOUND','children','_cursors','DeleteRangeMoveUpCommandId','ILocalCacheService','NOT_COLLAB','_httpService','stringify','_cursorInfo$','_commandService','@univerjs/rpc','formula.calculation.unable','flatMap','USERS_LEAVE','collabStatus.notCollab','translate(.97)','_initWindowErrorListener','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','/run/','_logService','DesktopCollaborationStatusDisplayController','handleInsertRow','uni.network.url-service','disposeUnit','Loading','ENTITLE_NEED_BILLING_ADDRESS','_collaborationSessionService','clipPath','_onRefRangeChange','LocaleService','FromArray','toDisposable','with','red.300','@univerjs/core','includes','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UNRECOGNIZED','string','MOBILE_VERIFY_CODE_MISMATCH','_initUnhandledRejectionListener','loadUnit','idSuffix','getColor','Optional','debounce','Rect','ColorKit','22998chPQdI','CommandType','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','5332820BalGrM','NO_OTHER_CLIENTS_EDITING','handleInsertRangeMoveRight','ERROR_AGAIN','_updateLocalCursor','INVITE_CODE_HAS_BEEN_UES','getColorFromTheme','off-line-icon_clip0_910_343','activeSheet$','103826ACCKBP','useDependency','_sheetSkeletonManagerService','_lastResponseTimestamp','_docSyncEditingCollabCursorService','WebSocketService','socket$','Error','transformMutation','COLORS','SheetCollabCursorShape','InsertRangeMoveRightCommandId','3263574xxiJhW','from','text','registerDependencies','findNodePositionByCharIndex','Workbook','dispose$','13832meqmNH','@univerjs/engine-render','_docStateChangeManagerService','asObservable','pluginName','_uploadLog','CollaborationEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','resize','type','YUUMI_ASYNCIO_CANCELLED','params','parseInt','_docClipboardService','_syncEditingCollabCursorService','SUBMIT_CHANGESET_TIMEOUT','_handleHover','_monkeyPatchLogService','getCoordByCell','getCellMatrix','sessionStatus$','_config','path','setShapeProps','UniverIcon','_entityInit$','DATA_SOURCE_TOO_LARGE','getVpScrollXYInfoByPosToVp','_context','_messageService','onTransformChange$','mergeOverrideWithDependencies','getCollabCursors$','LOGIN_TOKEN_PROCESSING_FAILED','_draw','_themeService','serializeRangeWithSheet','11dalQKp','_saveCache','substring','_heartbeatTimer','Failed','_transformHistoryAndStateStack','defineProperty','clearInterval','split','colorChannel1','_initUserListener','_getMergeRange','ILogService','status$','drawWith','INVITE_CODE_REQUIRED','attrs','JOIN_ROOM_FAILED','getValue','debug','SheetsSelectionsService','_getSessionTicket','CLOSE_ROOM','startsWith','dispose','_startDocCollabCursor','_univerInstanceService','react','none','docStateChange$','loadOfflineData','_render','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','m1Prime','parse','EMAIL_HAS_BEEN_BOUND','_onCursorUpdate','1em','NOT_FOUND','LOGIN_FAILED','_beforeCloseService','_labelPosition','_clearOtherTimers','APPLY_REVISION_CONFILICT','INVALID_ARGUMENT','whenReady','collab-text-range-','tag','http://www.w3.org/2000/svg','TRANSFORM_CHANGE_OBSERVABLE_TYPE','INotificationService','removeEventListener','ticket','React','range','InsertColCommandId','_backgroundColor','assignAColorForMemberID','assign','_getSheetObject','Warning','addObject','#FFF','roomMembers$','white','collab-client.tooltip.reconnect','xlink:href','getformulaLimitStatusUrl','useObservable','YUUMI_CONNECTOR_URL_NOT_FOUND','has','Plugin','...','useRef','_applyCommand','collabStatus.offline','_cursorShapes','PERMISSION_DENIED','_memberService','pipe','bind','stage','urlChange$','touchDependencies','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','forEach','_hover','NodePositionConvertToRectRange','closePath','COMPLETION_FINISHED','result','_setFormulaLimitStatus','MOBILE_HAS_BEEN_BOUND','_hovered','AWAITING_WITH_PENDING','getCurrentRevOfUnit','collabStatus.synced','collaboration.closeRoom','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','enableFrontendLog','selection','SNAPSHOT_HAS_BEEN_REMOVED','_transformPreviousActiveRange','ICommandService','join','Unknown\x20user','_collabCursorState$','Inject','PAYMENT_CHANNEL_NOT_SUPPORT','_registerDependencies','executionId','collaboration.single-unit.warning','isFormulaId','_instanceService','requireSession','_getSaveTimeout','_colorIndex','jsx','_getAnchorBounding','replace','UNIVER_DOC','SYNCED','_handleEvent','wsSessionTicketUrl','_registerRenderDependencies','_init','Subject','_removeCollabCursors','getConfig','_anchor','APPLY_REJECT','_handleLeaveEvent','storage','_scene','_localStorageService','searchParams','collabCursorState$','_cursor','_checkAndWaitForCalculationPermission','data','restore','YUUMI_NO_CUBOID_FOR_QUESTION','SetFormulaCalculationNotificationMutation','source','_send','round','_removeClearOtherTimer','useCallback','mutations','handleIRemoveCol','OFFLINE','createSocket','@univerjs/design','_pollingInterval','_startSheetCollabCursor','_configService','transformSelections','transformIMECache','editingUnit','UniverNetwork','_dataLoaderService','MemberService','getViewport','registerRefRange','shift','M0\x200H16V16H0z','_toggleOnline','USER_NOT_INVITED_CODE','getMember','fillStyle','_taskIds','column','REDEMPTION_CODE_NOT_STARTED','send','toStringTag','subunit','getDocRanges','OffLineIcon','_getFormulaLimitStatus','AWAITING','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','blue.400','_disabled','size','replaceState','REDEMPTION_USER_NOT_ELIGIBLE','triggerDblclick','save','getParam','\x20at\x20','unitId','currentColor'];_0x3baa=function(){return _0x33e136;};return _0x3baa();}function _0x2541(_0x344a2e,_0x497b87){_0x344a2e=_0x344a2e-0x156;const _0x3baa6f=_0x3baa();let _0x254186=_0x3baa6f[_0x344a2e];return _0x254186;}(function(_0x2fdc2f,_0x25ab8e){const _0x266791=_0x2541,_0x127cc9=_0x2fdc2f();while(!![]){try{const _0x2fc396=-parseInt(_0x266791(0x20a))/0x1*(-parseInt(_0x266791(0x257))/0x2)+parseInt(_0x266791(0x24a))/0x3*(parseInt(_0x266791(0x15e))/0x4)+parseInt(_0x266791(0x425))/0x5*(-parseInt(_0x266791(0x263))/0x6)+parseInt(_0x266791(0x3df))/0x7*(parseInt(_0x266791(0x26a))/0x8)+-parseInt(_0x266791(0x202))/0x9+parseInt(_0x266791(0x24e))/0xa*(-parseInt(_0x266791(0x28f))/0xb)+-parseInt(_0x266791(0x394))/0xc*(-parseInt(_0x266791(0x378))/0xd);if(_0x2fc396===_0x25ab8e)break;else _0x127cc9['push'](_0x127cc9['shift']());}catch(_0x4dae59){_0x127cc9['push'](_0x127cc9['shift']());}}}(_0x3baa,0x46747),function(_0x5ce6d5,_0x4b07c7){const _0x427c7a=_0x2541;typeof exports==_0x427c7a(0x457)&&typeof module<'u'?_0x4b07c7(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),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')):typeof define=='function'&&define['amd']?define([_0x427c7a(0x354),'react/jsx-runtime',_0x427c7a(0x35c),_0x427c7a(0x23c),_0x427c7a(0x187),'rxjs',_0x427c7a(0x328),_0x427c7a(0x2aa),_0x427c7a(0x224),_0x427c7a(0x1f0),_0x427c7a(0x26b),_0x427c7a(0x367),'@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x427c7a(0x3bc),_0x427c7a(0x36c),_0x427c7a(0x3e2),'@univerjs/sheets-ui'],_0x4b07c7):(_0x5ce6d5=typeof globalThis<'u'?globalThis:_0x5ce6d5||self,_0x4b07c7(_0x5ce6d5[_0x427c7a(0x3c0)]={},_0x5ce6d5[_0x427c7a(0x2c4)],_0x5ce6d5['UniverProCollaborationClient'],_0x5ce6d5['UniverCore'],_0x5ce6d5[_0x427c7a(0x181)],_0x5ce6d5['rxjs'],_0x5ce6d5[_0x427c7a(0x3d6)],_0x5ce6d5['React'],_0x5ce6d5[_0x427c7a(0x3e0)],_0x5ce6d5[_0x427c7a(0x3a2)],_0x5ce6d5[_0x427c7a(0x382)],_0x5ce6d5[_0x427c7a(0x32f)],_0x5ce6d5[_0x427c7a(0x372)],_0x5ce6d5[_0x427c7a(0x458)],_0x5ce6d5[_0x427c7a(0x396)],_0x5ce6d5[_0x427c7a(0x1d8)],_0x5ce6d5['UniverEngineFormula'],_0x5ce6d5[_0x427c7a(0x448)]['operators'],_0x5ce6d5[_0x427c7a(0x1f2)]));}(this,function(_0x38ae7f,_0x570dfc,_0x2cb61c,_0x295c8f,_0x189b11,_0x58c226,_0x599761,_0x1da277,_0x7417fd,_0x11cdbd,_0x8db91b,_0x17ac2f,_0x442538,_0x4b8ddd,_0x143a87,_0x400651,_0x218d3f,_0x2157b5,_0x2cd116){'use strict';const _0xce3cd0=_0x2541;var _0x1c3367=Object[_0xce3cd0(0x295)],_0x5b410a=(_0x2f6180,_0x2530f0,_0x178bb9)=>_0x2530f0 in _0x2f6180?_0x1c3367(_0x2f6180,_0x2530f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x178bb9}):_0x2f6180[_0x2530f0]=_0x178bb9,_0xef452e=(_0x258610,_0x196e84,_0x7a3c5a)=>_0x5b410a(_0x258610,typeof _0x196e84!=_0xce3cd0(0x415)?_0x196e84+'':_0x196e84,_0x7a3c5a);function _0x560a56({ref:_0x3b1c20,..._0x39b95c}){const _0x18fe57=_0xce3cd0,{icon:_0x1f5bfa,id:_0x3654eb,className:_0x43f195,extend:_0x38fb1c,..._0x513c63}=_0x39b95c,_0x12704a=(_0x18fe57(0x19d)+_0x3654eb+'\x20'+(_0x43f195||''))[_0x18fe57(0x35d)](),_0x4c875d=_0x1da277[_0x18fe57(0x2d8)]('_'+_0x25432b());return _0x311bbf(_0x1f5bfa,''+_0x3654eb,{'defIds':_0x1f5bfa[_0x18fe57(0x38e)],'idSuffix':_0x4c875d['current']},{'ref':_0x3b1c20,'className':_0x12704a,..._0x513c63},_0x38fb1c);}function _0x311bbf(_0xe8b092,_0x79142f,_0x5020b5,_0x4a9745,_0x26b3bf){const _0x5729a0=_0xce3cd0;return _0x1da277['createElement'](_0xe8b092[_0x5729a0(0x2be)],{'key':_0x79142f,..._0x4634b7(_0xe8b092,_0x5020b5,_0x26b3bf),..._0x4a9745},(_0x1c1334(_0xe8b092,_0x5020b5)['children']||[])[_0x5729a0(0x16b)]((_0x115a84,_0x3d96b0)=>_0x311bbf(_0x115a84,_0x79142f+'-'+_0xe8b092[_0x5729a0(0x2be)]+'-'+_0x3d96b0,_0x5020b5,void 0x0,_0x26b3bf)));}function _0x4634b7(_0x992174,_0x48ef73,_0x4c4972){const _0x1765f2=_0xce3cd0,_0x48c989={..._0x992174['attrs']};_0x4c4972!=null&&_0x4c4972[_0x1765f2(0x298)]&&_0x48c989[_0x1765f2(0x185)]===_0x1765f2(0x298)&&(_0x48c989[_0x1765f2(0x185)]=_0x4c4972['colorChannel1']),_0x992174['tag']==='mask'&&_0x48c989['id']&&(_0x48c989['id']=_0x48c989['id']+_0x48ef73['idSuffix']),Object[_0x1765f2(0x214)](_0x48c989)['forEach'](([_0x543204,_0x514cfc])=>{const _0x343ffe=_0x1765f2;_0x543204===_0x343ffe(0x430)&&typeof _0x514cfc==_0x343ffe(0x240)&&(_0x48c989[_0x543204]=_0x514cfc[_0x343ffe(0x307)](/url\(#(.*)\)/,_0x343ffe(0x1ac)+_0x48ef73[_0x343ffe(0x244)]+')'));});const {defIds:_0x264fdb}=_0x48ef73;return!_0x264fdb||_0x264fdb['length']===0x0||(_0x992174[_0x1765f2(0x2be)]==='use'&&_0x48c989['xlink:href']&&(_0x48c989[_0x1765f2(0x2d1)]=_0x48c989[_0x1765f2(0x2d1)]+_0x48ef73['idSuffix']),Object['entries'](_0x48c989)[_0x1765f2(0x2e5)](([_0x1f9d62,_0x1db705])=>{const _0x1e6781=_0x1765f2;typeof _0x1db705==_0x1e6781(0x240)&&(_0x48c989[_0x1f9d62]=_0x1db705[_0x1e6781(0x307)](/url\(#(.*)\)/,_0x1e6781(0x1ac)+_0x48ef73[_0x1e6781(0x244)]+')'));})),_0x48c989;}function _0x1c1334(_0x1c1131,_0x5efee3){const _0x1dd976=_0xce3cd0;var _0x4a6777;const {defIds:_0x6e0810}=_0x5efee3;return!_0x6e0810||_0x6e0810[_0x1dd976(0x37b)]===0x0?_0x1c1131:_0x1c1131[_0x1dd976(0x2be)]===_0x1dd976(0x1c7)&&((_0x4a6777=_0x1c1131[_0x1dd976(0x21b)])!=null&&_0x4a6777[_0x1dd976(0x37b)])?{..._0x1c1131,'children':_0x1c1131['children'][_0x1dd976(0x16b)](_0x1969ad=>typeof _0x1969ad[_0x1dd976(0x29f)]['id']==_0x1dd976(0x240)&&_0x6e0810&&_0x6e0810[_0x1dd976(0x23d)](_0x1969ad['attrs']['id'])?{..._0x1969ad,'attrs':{..._0x1969ad[_0x1dd976(0x29f)],'id':_0x1969ad[_0x1dd976(0x29f)]['id']+_0x5efee3[_0x1dd976(0x244)]}}:_0x1969ad)}:_0x1c1131;}function _0x25432b(){const _0x4e4452=_0xce3cd0;return Math[_0x4e4452(0x157)]()[_0x4e4452(0x18c)](0x24)[_0x4e4452(0x291)](0x2,0x8);}_0x560a56['displayName']=_0xce3cd0(0x282);const _0x5cf04b={'tag':'svg','attrs':{'xmlns':_0xce3cd0(0x2bf),'fill':'none','viewBox':_0xce3cd0(0x1bd),'width':_0xce3cd0(0x2b4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0xce3cd0(0x352),'strokeLinecap':_0xce3cd0(0x321),'strokeLinejoin':_0xce3cd0(0x321),'strokeWidth':1.2}}]},{'tag':_0xce3cd0(0x1c7),'attrs':{},'children':[{'tag':_0xce3cd0(0x235),'attrs':{'id':_0xce3cd0(0x255)},'children':[{'tag':_0xce3cd0(0x280),'attrs':{'fill':_0xce3cd0(0x2cf),'d':_0xce3cd0(0x335)}}]}]}],'defIds':[_0xce3cd0(0x255)]},_0x3442da=_0x1da277['forwardRef'](function(_0x1d0ccd,_0x3f4f9f){const _0x3a408f=_0xce3cd0;return _0x1da277[_0x3a408f(0x1c4)](_0x560a56,Object[_0x3a408f(0x2c9)]({},_0x1d0ccd,{'id':_0x3a408f(0x1c8),'ref':_0x3f4f9f,'icon':_0x5cf04b}));});_0x3442da[_0xce3cd0(0x3b0)]=_0xce3cd0(0x341);const _0x229194={'tag':_0xce3cd0(0x403),'attrs':{'xmlns':_0xce3cd0(0x2bf),'fill':_0xce3cd0(0x2ab),'viewBox':_0xce3cd0(0x1ef),'width':_0xce3cd0(0x2b4),'height':_0xce3cd0(0x2b4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xce3cd0(0x280),'attrs':{'stroke':_0xce3cd0(0x350),'d':_0xce3cd0(0x22b),'strokeLinecap':'round','strokeLinejoin':_0xce3cd0(0x321),'strokeWidth':1.2}}]},{'tag':_0xce3cd0(0x1c7),'attrs':{},'children':[{'tag':_0xce3cd0(0x235),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0xce3cd0(0x2cf),'d':_0xce3cd0(0x335),'transform':_0xce3cd0(0x229)}}]}]}],'defIds':[_0xce3cd0(0x3a0)]},_0x15f857=_0x1da277['forwardRef'](function(_0x3f113f,_0x29ce2d){const _0x4b5b69=_0xce3cd0;return _0x1da277[_0x4b5b69(0x1c4)](_0x560a56,Object['assign']({},_0x3f113f,{'id':_0x4b5b69(0x384),'ref':_0x29ce2d,'icon':_0x229194}));});_0x15f857['displayName']=_0xce3cd0(0x1d6);function _0x47a3ee(_0x32a102){const _0x28b2d6=_0xce3cd0;switch(_0x32a102){case _0x2cb61c[_0x28b2d6(0x36d)]['OFFLINE']:return _0x28b2d6(0x2da);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x36b)]:return _0x28b2d6(0x177);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x362)]:return'collabStatus.fetchMiss';case _0x2cb61c['CollaborationStatus'][_0x28b2d6(0x21f)]:return _0x28b2d6(0x228);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x343)]:case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x2ee)]:return'collabStatus.syncing';case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x309)]:case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x3ca)]:return _0x28b2d6(0x2f0);}}function _0x4d60d6(_0x23147d){const _0x1098d2=_0xce3cd0,{status$:_0x2c7db2}=_0x23147d,_0x21de82=_0x189b11[_0x1098d2(0x2d3)](_0x2c7db2,_0x2cb61c['CollaborationStatus']['NOT_COLLAB']),_0x457364=_0x189b11[_0x1098d2(0x258)](_0x295c8f[_0x1098d2(0x237)]),_0x51237f=_0x189b11[_0x1098d2(0x258)](_0x2cb61c['CollaborationSessionService']),_0x258b5a=_0x21de82!==_0x2cb61c['CollaborationStatus'][_0x1098d2(0x326)],_0x72a7a3=_0x457364['t'](_0x47a3ee(_0x21de82)),_0x39c5b2=_0x258b5a?_0x570dfc[_0x1098d2(0x305)](_0x15f857,{}):_0x570dfc['jsx'](_0x3442da,{}),_0x5d80c2=_0x1da277[_0x1098d2(0x323)](()=>{const _0x35866b=_0x1098d2;_0x258b5a||_0x51237f[_0x35866b(0x201)]();},[_0x258b5a,_0x51237f]);function _0x338f51(){const _0x36fa44=_0x1098d2;return _0x570dfc[_0x36fa44(0x1ca)](_0x36fa44(0x1a5),{'className':_0x36fa44(0x421),'onClick':_0x5d80c2,'children':[_0x570dfc[_0x36fa44(0x305)](_0x36fa44(0x1a5),{'className':_0x599761[_0x36fa44(0x171)](_0x36fa44(0x164),{'univer-text-green-500':_0x258b5a,'univer-text-red-500':!_0x258b5a}),'children':_0x39c5b2}),_0x570dfc['jsx']('div',{'className':_0x36fa44(0x2f2),'children':_0x72a7a3})]});}return _0x258b5a?_0x338f51():_0x570dfc[_0x1098d2(0x305)](_0x599761['Tooltip'],{'title':_0x457364['t'](_0x1098d2(0x2d0)),'children':_0x338f51()});}var _0x2bf1d4=Object['getOwnPropertyDescriptor'],_0x2f4e5a=(_0x51df83,_0xff25b7,_0x4dc27e,_0x519b05)=>{const _0x2a74e3=_0xce3cd0;for(var _0x873441=_0x519b05>0x1?void 0x0:_0x519b05?_0x2bf1d4(_0xff25b7,_0x4dc27e):_0xff25b7,_0x4d2eeb=_0x51df83[_0x2a74e3(0x37b)]-0x1,_0x6ce820;_0x4d2eeb>=0x0;_0x4d2eeb--)(_0x6ce820=_0x51df83[_0x4d2eeb])&&(_0x873441=_0x6ce820(_0x873441)||_0x873441);return _0x873441;},_0xb60812=(_0x541ffe,_0x46e1d8)=>(_0x35e9ee,_0x50d82d)=>_0x46e1d8(_0x35e9ee,_0x50d82d,_0x541ffe);_0x38ae7f[_0xce3cd0(0x22e)]=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x4d1e10,_0x22aab9,_0x290282,_0x515c91){const _0x48b9d5=_0xce3cd0;super(),_0xef452e(this,_0x48b9d5(0x414),new _0x58c226[(_0x48b9d5(0x43b))](_0x2cb61c[_0x48b9d5(0x36d)][_0x48b9d5(0x21f)])),(this['_univerInstanceService']=_0x4d1e10,this['_injector']=_0x22aab9,this[_0x48b9d5(0x392)]=_0x290282,this['_uiPartsService']=_0x515c91,this[_0x48b9d5(0x20f)](),this[_0x48b9d5(0x420)]());}['_initStatusListener'](){const _0x21fe57=_0xce3cd0;this[_0x21fe57(0x43c)](this[_0x21fe57(0x2a9)][_0x21fe57(0x17c)][_0x21fe57(0x2de)](_0x58c226[_0x21fe57(0x3e6)](()=>{const _0x286078=_0x21fe57,_0x518cd8=this[_0x286078(0x2a9)][_0x286078(0x438)]();return _0x518cd8?this[_0x286078(0x392)]['getCollabEntity$'](_0x518cd8['getUnitId']()):_0x58c226['of'](null);}),_0x58c226['switchMap'](_0x494e26=>_0x494e26?_0x494e26[_0x21fe57(0x29c)]:_0x58c226['of'](_0x2cb61c[_0x21fe57(0x36d)]['NOT_COLLAB'])))[_0x21fe57(0x17f)](_0x401801=>{const _0x5aa6ca=_0x21fe57;this[_0x5aa6ca(0x414)][_0x5aa6ca(0x173)](_0x401801);}));}['_initStatusComponent'](){const _0x377740=_0xce3cd0;this[_0x377740(0x43c)](this[_0x377740(0x453)]['registerComponent'](_0x189b11[_0x377740(0x1dc)]['HEADER_MENU'],()=>_0x189b11['connectInjector'](_0x108cd4({'status$':this[_0x377740(0x414)][_0x377740(0x26d)]()}),this[_0x377740(0x1f6)])));}},_0x38ae7f['DesktopCollaborationStatusDisplayController']=_0x2f4e5a([_0xb60812(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0xb60812(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0xb60812(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x1a4)])),_0xb60812(0x3,_0x189b11['IUIPartsService'])],_0x38ae7f[_0xce3cd0(0x22e)]);function _0x108cd4(_0x580c6c){const {status$:_0x3a8352}=_0x580c6c;return function(){return _0x570dfc['jsx'](_0x4d60d6,{'status$':_0x3a8352});};}const _0x4d5ea0=_0x295c8f[_0xce3cd0(0x19b)](_0xce3cd0(0x230));var _0x3b67c1=Object[_0xce3cd0(0x3e7)],_0x384cd0=(_0x1ca008,_0x486cd4,_0xd4ff55,_0x506de4)=>{for(var _0x5ac656=_0x506de4>0x1?void 0x0:_0x506de4?_0x3b67c1(_0x486cd4,_0xd4ff55):_0x486cd4,_0x460ef0=_0x1ca008['length']-0x1,_0x180d62;_0x460ef0>=0x0;_0x460ef0--)(_0x180d62=_0x1ca008[_0x460ef0])&&(_0x5ac656=_0x180d62(_0x5ac656)||_0x5ac656);return _0x5ac656;},_0x27661a=(_0x185e58,_0x2b0249)=>(_0xfb613b,_0xacbd9b)=>_0x2b0249(_0xfb613b,_0xacbd9b,_0x185e58);_0x38ae7f[_0xce3cd0(0x3a3)]=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0xa0ce4f,_0x87f400,_0x4dd0ed,_0x44f84a,_0x4731d6){const _0xb482b5=_0xce3cd0;super(),this[_0xb482b5(0x456)]=_0xa0ce4f,this['_logService']=_0x87f400,this[_0xb482b5(0x223)]=_0x4dd0ed,this[_0xb482b5(0x330)]=_0x44f84a,_0x4731d6?_0x4731d6==null||_0x4731d6[_0xb482b5(0x2bc)]()['then'](()=>this[_0xb482b5(0x30d)]()):(this[_0xb482b5(0x22d)][_0xb482b5(0x2a2)](_0xb482b5(0x424),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0xce3cd0(0x30d)](){const _0x4cf117=_0xce3cd0,_0x411d4f=this['_urlService']['getParam'](_0x4cf117(0x429)),_0x7c6cdb=this[_0x4cf117(0x456)][_0x4cf117(0x34d)](_0x4cf117(0x273)),_0x53852f=this[_0x4cf117(0x456)][_0x4cf117(0x34d)](_0x4cf117(0x33f));if(!_0x411d4f||!_0x7c6cdb){this[_0x4cf117(0x22d)][_0x4cf117(0x2a2)](_0x4cf117(0x424),_0x4cf117(0x43d));return;}const _0x3ab63a=await this[_0x4cf117(0x330)][_0x4cf117(0x243)](_0x411d4f,Number(_0x7c6cdb),_0x53852f);_0x3ab63a&&_0x3ab63a instanceof _0x295c8f[_0x4cf117(0x268)]&&this['_setupSubUnitSync'](_0x3ab63a);}async[_0xce3cd0(0x3b4)](_0xa8dc5b){const _0xf05fd9=_0xce3cd0;await this[_0xf05fd9(0x3f5)](_0xa8dc5b),_0xa8dc5b[_0xf05fd9(0x256)][_0xf05fd9(0x2de)](_0x58c226[_0xf05fd9(0x15a)](this[_0xf05fd9(0x269)]))[_0xf05fd9(0x17f)](_0x4fa9ab=>{const _0x2574cb=_0xf05fd9;_0x4fa9ab&&this[_0x2574cb(0x188)](_0x4fa9ab);}),this[_0xf05fd9(0x456)][_0xf05fd9(0x2e1)][_0xf05fd9(0x2de)](_0x58c226[_0xf05fd9(0x15a)](this[_0xf05fd9(0x269)]))[_0xf05fd9(0x17f)](()=>this['_updateSubUnitFromURLParams'](_0xa8dc5b));}[_0xce3cd0(0x188)](_0x4ae39f,_0x39726d=!0x1){const _0x24706b=_0xce3cd0,_0x4e2c71=this[_0x24706b(0x456)][_0x24706b(0x34d)](_0x24706b(0x33f));_0x4ae39f[_0x24706b(0x190)]()!==_0x4e2c71&&this['_urlService'][_0x24706b(0x1b2)]('subunit',_0x4ae39f[_0x24706b(0x190)](),_0x39726d);}async[_0xce3cd0(0x3f5)](_0x35d3a5){const _0x500e28=_0xce3cd0;var _0x546259;const _0x29a19f=this['_urlService'][_0x500e28(0x34d)](_0x500e28(0x33f));if(!_0x29a19f||!_0x35d3a5[_0x500e28(0x411)](_0x29a19f)){const _0x26c149=_0x35d3a5[_0x500e28(0x36a)]()[0x0],_0x4d501c=_0x35d3a5['getSheetBySheetId'](_0x26c149);if(!_0x4d501c)return;this[_0x500e28(0x188)](_0x4d501c,!0x0),await this[_0x500e28(0x223)][_0x500e28(0x37e)](_0x11cdbd[_0x500e28(0x1d1)]['id'],{'unitId':_0x35d3a5[_0x500e28(0x41d)](),'subUnitId':_0x26c149});return;}((_0x546259=_0x35d3a5[_0x500e28(0x1d4)]())==null?void 0x0:_0x546259[_0x500e28(0x190)]())!==_0x29a19f&&await this['_commandService'][_0x500e28(0x37e)](_0x11cdbd[_0x500e28(0x1d1)]['id'],{'unitId':_0x35d3a5['getUnitId'](),'subUnitId':_0x29a19f});}},_0x38ae7f['CollaborationDataLoaderController']=_0x384cd0([_0x27661a(0x0,_0x4d5ea0),_0x27661a(0x1,_0x295c8f['ILogService']),_0x27661a(0x2,_0x295c8f[_0xce3cd0(0x2f7)]),_0x27661a(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c['DataLoaderService'])),_0x27661a(0x4,_0x295c8f[_0xce3cd0(0x246)](_0x7417fd[_0xce3cd0(0x1ec)]))],_0x38ae7f[_0xce3cd0(0x3a3)]);var _0x4160b3=Object[_0xce3cd0(0x3e7)],_0x2cddee=(_0x287b73,_0x4f6173,_0x48b3bc,_0x262c78)=>{const _0x3248dc=_0xce3cd0;for(var _0x58e23a=_0x262c78>0x1?void 0x0:_0x262c78?_0x4160b3(_0x4f6173,_0x48b3bc):_0x4f6173,_0x16d628=_0x287b73[_0x3248dc(0x37b)]-0x1,_0x15793d;_0x16d628>=0x0;_0x16d628--)(_0x15793d=_0x287b73[_0x16d628])&&(_0x58e23a=_0x15793d(_0x58e23a)||_0x58e23a);return _0x58e23a;},_0x4d8e59=(_0x701ee4,_0x1fa068)=>(_0x5ca488,_0x54efbc)=>_0x1fa068(_0x5ca488,_0x54efbc,_0x701ee4);let _0x2605d0=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x39f5bb,_0x4ffb92){const _0x10fd28=_0xce3cd0;super(),this[_0x10fd28(0x277)]=_0x39f5bb,this[_0x10fd28(0x172)]=_0x4ffb92,this['_init']();}[_0xce3cd0(0x30d)](){const _0x52db43=_0xce3cd0,_0x42a989=this;this[_0x52db43(0x43c)](this[_0x52db43(0x277)][_0x52db43(0x41f)]({'onBeforePasteImage':async _0x35389a=>{const _0x30d229=_0x52db43,_0x5e629a=await _0x42a989[_0x30d229(0x172)][_0x30d229(0x1d2)](_0x35389a);return _0x5e629a?{'source':_0x5e629a[_0x30d229(0x31f)],'imageSourceType':_0x5e629a['imageSourceType']}:null;}}));}};_0x2605d0=_0x2cddee([_0x4d8e59(0x0,_0x442538[_0xce3cd0(0x1f3)]),_0x4d8e59(0x1,_0x4b8ddd['IImageIoService'])],_0x2605d0);const _0x26d105=['purple.300',_0xce3cd0(0x193),'green.600',_0xce3cd0(0x23b),_0xce3cd0(0x346),_0xce3cd0(0x1a9)];class _0x12f6f6 extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(){const _0x2c32aa=_0xce3cd0;super(...arguments),_0xef452e(this,_0x2c32aa(0x351),new Map()),_0xef452e(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x31656d){const _0x51630d=_0xce3cd0;if(this[_0x51630d(0x351)]['has'](_0x31656d))return this[_0x51630d(0x351)][_0x51630d(0x3fa)](_0x31656d);const _0x9e8588=_0x26d105[this['_colorIndex']];return this[_0x51630d(0x304)]=(this[_0x51630d(0x304)]+0x1)%_0x26d105[_0x51630d(0x37b)],this[_0x51630d(0x351)][_0x51630d(0x427)](_0x31656d,_0x9e8588),_0x9e8588;}}function _0x301d3e(_0x2a7732){const _0x47ba29=_0xce3cd0;let _0xa87218='';for(const _0x25d0e0 of _0x2a7732){const {startOffset:_0x3c17ae,endOffset:_0x33cdea,isActive:_0xbe2799,rangeType:_0x11584d,segmentId:_0x2b3d10,segmentPage:_0x5dd8d7}=_0x25d0e0;_0xa87218[_0x47ba29(0x37b)]&&(_0xa87218+=','),_0xa87218+=_0x3c17ae+':'+_0x33cdea+':'+(_0xbe2799?'1':'0')+':'+_0x11584d+':'+_0x2b3d10+':'+_0x5dd8d7;}return _0xa87218;}function _0x1cba71(_0x34de07){const _0xed982c=_0xce3cd0,_0xea47b8=_0x34de07[_0xed982c(0x297)](','),_0x32baa9=[];for(const _0x1c9e4b of _0xea47b8){const [_0x2e637b,_0x29ec4a,_0x1e76dd,_0x220286,_0x5e945b,_0xdb14be]=_0x1c9e4b[_0xed982c(0x297)](':');_0x32baa9['push']({'startOffset':Number(_0x2e637b),'endOffset':Number(_0x29ec4a),'collapsed':_0x2e637b===_0x29ec4a,'isActive':_0x1e76dd==='1','rangeType':_0x220286===_0x295c8f[_0xed982c(0x3b3)][_0xed982c(0x167)]?_0x295c8f[_0xed982c(0x3b3)]['TEXT']:_0x295c8f[_0xed982c(0x3b3)][_0xed982c(0x1f7)],'segmentId':typeof _0x5e945b==_0xed982c(0x240)?String(_0x5e945b):'','segmentPage':Number(_0xdb14be!=null?_0xdb14be:-0x1)});}return _0x32baa9[_0xed982c(0x3db)](_0x7e5f22=>_0x7e5f22['isActive'])||(_0x32baa9[0x0][_0xed982c(0x1c9)]=!0x0),_0x32baa9;}class _0x109a2a extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(){const _0x5b5dfb=_0xce3cd0;super(...arguments),_0xef452e(this,_0x5b5dfb(0x2fa),new _0x58c226[(_0x5b5dfb(0x43b))](null)),_0xef452e(this,_0x5b5dfb(0x318),this['_collabCursorState$']['asObservable']());}[_0xce3cd0(0x1cb)](_0x1d9841){const _0x3b6f57=_0xce3cd0,{unitID:_0x2f7729,memberID:_0x378cc9,textRanges:_0x77624d}=_0x1d9841,_0x551550=_0x301d3e(_0x77624d);if(_0x551550==='')return;const _0x8dc6b7={'unitID':_0x2f7729,'memberID':_0x378cc9,'selection':_0x551550};this[_0x3b6f57(0x2fa)][_0x3b6f57(0x173)](_0x8dc6b7);}}var _0x1217a1=Object['getOwnPropertyDescriptor'],_0x17d20c=(_0x1b0406,_0x1ba3d1,_0x15e698,_0x3b0887)=>{const _0x48d89f=_0xce3cd0;for(var _0x629fc0=_0x3b0887>0x1?void 0x0:_0x3b0887?_0x1217a1(_0x1ba3d1,_0x15e698):_0x1ba3d1,_0x4f8ed5=_0x1b0406[_0x48d89f(0x37b)]-0x1,_0x39c88f;_0x4f8ed5>=0x0;_0x4f8ed5--)(_0x39c88f=_0x1b0406[_0x4f8ed5])&&(_0x629fc0=_0x39c88f(_0x629fc0)||_0x629fc0);return _0x629fc0;},_0x2aea2f=(_0x23c91b,_0x57ba93)=>(_0x34969c,_0x2da253)=>_0x57ba93(_0x34969c,_0x2da253,_0x23c91b);const _0x25d219=0x12c,_0x37b944=0x64;let _0x26931f=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x28613b,_0x253918,_0x4a49c4,_0x7cec1d,_0x17315a,_0x53e097,_0x272aca,_0x1f6afa,_0x3b0f0b){const _0x12baa6=_0xce3cd0;super(),_0xef452e(this,_0x12baa6(0x452),!0x1),_0xef452e(this,_0x12baa6(0x30d),!0x1),_0xef452e(this,'_cursorInfo$',new _0x58c226[(_0x12baa6(0x43b))](new Map())),_0xef452e(this,'cursorInfo$',this[_0x12baa6(0x222)]['asObservable']()),_0xef452e(this,_0x12baa6(0x37f),new _0x58c226['BehaviorSubject']([])),_0xef452e(this,_0x12baa6(0x2ce),this[_0x12baa6(0x37f)][_0x12baa6(0x2de)](_0x58c226['debounceTime'](_0x25d219))),_0xef452e(this,'_updateLocalCursor',_0x295c8f['debounce'](_0x376dfb=>{const _0x3132e1=_0x12baa6,_0xc36cba={'eventID':_0x143a87[_0x3132e1(0x270)][_0x3132e1(0x211)],'data':{'unitID':this[_0x3132e1(0x445)],'memberID':this['_session'][_0x3132e1(0x192)](),'selection':_0x301d3e(_0x376dfb)}};this[_0x3132e1(0x3d1)]['send'](_0xc36cba,this[_0x3132e1(0x445)]);},_0x37b944)),(this[_0x12baa6(0x445)]=_0x28613b,this[_0x12baa6(0x3d1)]=_0x253918,this['_injector']=_0x4a49c4,this[_0x12baa6(0x3c8)]=_0x7cec1d,this[_0x12baa6(0x2dd)]=_0x17315a,this[_0x12baa6(0x278)]=_0x53e097,this[_0x12baa6(0x3d4)]=_0x272aca,this[_0x12baa6(0x2a9)]=_0x1f6afa,this[_0x12baa6(0x223)]=_0x3b0f0b);}get['cursorInfo'](){const _0x207a68=_0xce3cd0;return this[_0x207a68(0x222)][_0x207a68(0x2a1)]();}get[_0xce3cd0(0x3d2)](){const _0x41a265=_0xce3cd0;return this[_0x41a265(0x37f)]['getValue']();}[_0xce3cd0(0x2a7)](){const _0x4dc6f3=_0xce3cd0;super['dispose'](),this[_0x4dc6f3(0x222)][_0x4dc6f3(0x173)](new Map()),this['_cursorInfo$'][_0x4dc6f3(0x3f8)](),this['_roomMembers$'][_0x4dc6f3(0x173)]([]),this[_0x4dc6f3(0x37f)][_0x4dc6f3(0x3f8)]();}[_0xce3cd0(0x402)](){const _0x389281=_0xce3cd0;this[_0x389281(0x30d)]||(this[_0x389281(0x30d)]=!0x0,this[_0x389281(0x3d1)][_0x389281(0x27e)][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this[_0x389281(0x269)]))[_0x389281(0x17f)](_0xd2abc8=>{const _0x452aa0=_0x389281;_0xd2abc8===_0x2cb61c[_0x452aa0(0x39f)][_0x452aa0(0x3e3)]?this[_0x452aa0(0x336)]():this['_toggleOffline']();}),this[_0x389281(0x3d1)][_0x389281(0x449)][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this['dispose$']))[_0x389281(0x17f)](_0x1a1bd6=>{const _0x1d3061=_0x389281,_0x169643=_0x1a1bd6[_0x1d3061(0x191)];_0x169643===_0x143a87[_0x1d3061(0x270)]['UPDATE_CURSOR']&&this[_0x1d3061(0x2b3)](_0x1a1bd6),_0x169643===_0x143a87[_0x1d3061(0x270)][_0x1d3061(0x227)]&&this[_0x1d3061(0x41c)](_0x1a1bd6);}),this['disposeWithMe'](this[_0x389281(0x223)]['onCommandExecuted'](_0x4cc502=>{const _0x336d7e=_0x389281,_0x391e47=_0x4cc502[_0x336d7e(0x275)];_0x391e47!=null&&this['_online']&&_0x4cc502['id']===_0x400651[_0x336d7e(0x3c6)]['id']&&_0x391e47[_0x336d7e(0x34f)]===this[_0x336d7e(0x445)]&&_0x391e47[_0x336d7e(0x219)]===!0x1&&_0x391e47[_0x336d7e(0x416)]['length']>0x0&&this['_updateLocalCursor'](_0x391e47[_0x336d7e(0x416)]);})),this[_0x389281(0x278)]['collabCursorState$'][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this[_0x389281(0x269)]))[_0x389281(0x17f)](_0x5cfe4a=>{const _0xbb4229=_0x389281;if((_0x5cfe4a==null?void 0x0:_0x5cfe4a['unitID'])!==this[_0xbb4229(0x445)])return;const _0x55800a={'eventID':_0x143a87[_0xbb4229(0x270)][_0xbb4229(0x211)],'data':_0x5cfe4a};this[_0xbb4229(0x2b3)](_0x55800a);}),this[_0x389281(0x43c)](this['_commandService']['onCommandExecuted'](_0xd1e073=>{const _0x34db72=_0x389281;if(_0xd1e073[_0x34db72(0x275)]==null)return;const _0x88da28=_0xd1e073[_0x34db72(0x275)];if(_0xd1e073['id']!==_0x400651['RichTextEditingMutation']['id']||_0x88da28[_0x34db72(0x34f)]!==this[_0x34db72(0x445)])return;const _0x5d772e={'id':_0x34db72(0x20d),'params':_0x88da28},_0xa7a6bc=this[_0x34db72(0x386)];for(const [_0x509664,_0x5b37b4]of _0xa7a6bc){const _0x4cba2c={'id':_0x34db72(0x20d),'params':{'unitId':this[_0x34db72(0x445)],'actions':null,'textRanges':_0x5b37b4[_0x34db72(0x416)]}},_0x1efc27=this[_0x34db72(0x3d4)][_0x34db72(0x25f)](_0x5d772e,_0x4cba2c,!0x1);if(_0x143a87[_0x34db72(0x44d)](_0x1efc27))throw _0x1efc27[_0x34db72(0x1b1)];_0xa7a6bc[_0x34db72(0x427)](_0x509664,{..._0x5b37b4,'ranges':_0x1efc27[_0x34db72(0x40c)][_0x34db72(0x275)][_0x34db72(0x1c5)]});}queueMicrotask(()=>{const _0x3cc0c0=_0x34db72;this[_0x3cc0c0(0x222)][_0x3cc0c0(0x173)](_0xa7a6bc);});})));}['_onCursorUpdate'](_0x206e92){const _0x205c61=_0xce3cd0;var _0x47183e,_0x3a8537;const {memberID:_0x457677,selection:_0x29d696}=_0x206e92[_0x205c61(0x31b)],_0x2acb2b=_0x1cba71(_0x29d696),_0x599991=(_0x3a8537=(_0x47183e=this['_memberService']['getMember'](this[_0x205c61(0x445)],_0x457677))==null?void 0x0:_0x47183e['name'])!=null?_0x3a8537:_0x205c61(0x2f9),_0x5ef8da={'color':this[_0x205c61(0x3c8)][_0x205c61(0x2c8)](_0x457677),'name':_0x599991,'ranges':_0x2acb2b},_0x528bac=this[_0x205c61(0x386)];_0x528bac[_0x205c61(0x427)](_0x457677,_0x5ef8da),this[_0x205c61(0x222)][_0x205c61(0x173)](_0x528bac);}['_onCursorDelete'](_0x1a4157){const _0x1f7265=_0xce3cd0,{memberID:_0x4cbf3f}=_0x1a4157['data'],_0x474a8d=this[_0x1f7265(0x386)];_0x474a8d[_0x1f7265(0x434)](_0x4cbf3f),this[_0x1f7265(0x222)]['next'](_0x474a8d);}[_0xce3cd0(0x336)](){const _0x526272=_0xce3cd0;var _0x372550;if(this[_0x526272(0x452)]=!0x0,((_0x372550=this[_0x526272(0x2a9)][_0x526272(0x438)]())==null?void 0x0:_0x372550[_0x526272(0x41d)]())!==this[_0x526272(0x445)])return;const _0x37966f=this['_injector'][_0x526272(0x3fa)](_0x400651['DocSelectionManagerService'])[_0x526272(0x340)]();Array['isArray'](_0x37966f)&&_0x37966f[_0x526272(0x37b)]>0x0&&this[_0x526272(0x252)](_0x37966f);}[_0xce3cd0(0x39e)](){const _0x3da4f8=_0xce3cd0;this[_0x3da4f8(0x452)]=!0x1;}};_0x26931f=_0x17d20c([_0x2aea2f(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0x2aea2f(0x3,_0x295c8f['Inject'](_0x12f6f6)),_0x2aea2f(0x4,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x331)])),_0x2aea2f(0x5,_0x295c8f['Inject'](_0x109a2a)),_0x2aea2f(0x6,_0x143a87[_0xce3cd0(0x169)]),_0x2aea2f(0x7,_0x295c8f[_0xce3cd0(0x16f)]),_0x2aea2f(0x8,_0x295c8f[_0xce3cd0(0x2f7)])],_0x26931f);var _0x17682e=Object['getOwnPropertyDescriptor'],_0x40f581=(_0x6d8f40,_0xa7d637,_0x34ceed,_0x4c200c)=>{const _0x5c22c0=_0xce3cd0;for(var _0x3c7cbe=_0x4c200c>0x1?void 0x0:_0x4c200c?_0x17682e(_0xa7d637,_0x34ceed):_0xa7d637,_0x1a8a6b=_0x6d8f40[_0x5c22c0(0x37b)]-0x1,_0x18ee78;_0x1a8a6b>=0x0;_0x1a8a6b--)(_0x18ee78=_0x6d8f40[_0x1a8a6b])&&(_0x3c7cbe=_0x18ee78(_0x3c7cbe)||_0x3c7cbe);return _0x3c7cbe;},_0x5047af=(_0x379322,_0x1f9535)=>(_0x4647d8,_0x475866)=>_0x1f9535(_0x4647d8,_0x475866,_0x379322);const _0x33a122=0x12c,_0x734b93=0x64,_0x46878f=()=>{let _0x24b056=[],_0x33feea=!0x1;return _0x3cc91b=>{const _0x7e9f02=_0x2541;_0x24b056[_0x7e9f02(0x44a)](_0x3cc91b),_0x33feea||(_0x33feea=!0x0,setTimeout(()=>{const _0x515b56=_0x7e9f02;_0x24b056[_0x515b56(0x2e5)](_0x4932c2=>_0x4932c2()),_0x24b056=[],_0x33feea=!0x1;}));};};let _0x58f9eb=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x2c82b5,_0x6a652f,_0x49f4ff,_0x45c455,_0x271ca5,_0x3472fe,_0x4b8662,_0x2ff415){const _0x5c7c92=_0xce3cd0;super(),_0xef452e(this,_0x5c7c92(0x452),!0x1),_0xef452e(this,_0x5c7c92(0x30d),!0x1),_0xef452e(this,_0x5c7c92(0x222),new _0x58c226['BehaviorSubject'](new Map())),_0xef452e(this,_0x5c7c92(0x40e),this[_0x5c7c92(0x222)][_0x5c7c92(0x26d)]()),_0xef452e(this,_0x5c7c92(0x37f),new _0x58c226[(_0x5c7c92(0x43b))]([])),_0xef452e(this,_0x5c7c92(0x2ce),this[_0x5c7c92(0x37f)][_0x5c7c92(0x2de)](_0x58c226['debounceTime'](_0x33a122))),_0xef452e(this,_0x5c7c92(0x252),_0x295c8f[_0x5c7c92(0x247)]((_0x295c2f,_0xbdbb48)=>{const _0x33a7b9=_0x5c7c92,_0x30c2b5={'eventID':_0x143a87[_0x33a7b9(0x270)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x33a7b9(0x445)],'memberID':this[_0x33a7b9(0x3d1)][_0x33a7b9(0x192)](),'selection':_0x218d3f[_0x33a7b9(0x28e)](_0x295c2f,_0xbdbb48['range'])}};this[_0x33a7b9(0x3d1)][_0x33a7b9(0x33d)](_0x30c2b5,this[_0x33a7b9(0x445)]);},_0x734b93)),(this['unitID']=_0x2c82b5,this[_0x5c7c92(0x3d1)]=_0x6a652f,this[_0x5c7c92(0x1f6)]=_0x49f4ff,this[_0x5c7c92(0x3c8)]=_0x45c455,this[_0x5c7c92(0x2dd)]=_0x271ca5,this['_univerInstanceService']=_0x3472fe,this[_0x5c7c92(0x223)]=_0x4b8662,this['_refRangeService']=_0x2ff415);}get[_0xce3cd0(0x386)](){const _0x42525b=_0xce3cd0;return this[_0x42525b(0x222)][_0x42525b(0x2a1)]();}get['roomMembers'](){const _0x4cabff=_0xce3cd0;return this['_roomMembers$'][_0x4cabff(0x2a1)]();}[_0xce3cd0(0x2a7)](){const _0x17588c=_0xce3cd0;super[_0x17588c(0x2a7)](),this['_cursorInfo$'][_0x17588c(0x173)](new Map()),this[_0x17588c(0x222)][_0x17588c(0x3f8)](),this[_0x17588c(0x37f)][_0x17588c(0x173)]([]),this['_roomMembers$'][_0x17588c(0x3f8)]();}[_0xce3cd0(0x402)](){const _0x5f5c54=_0xce3cd0;this['_init']||(this[_0x5f5c54(0x30d)]=!0x0,this['_session'][_0x5f5c54(0x27e)][_0x5f5c54(0x2de)](_0x58c226['takeUntil'](this[_0x5f5c54(0x269)]))['subscribe'](_0x21564e=>{const _0x18fe22=_0x5f5c54;_0x21564e===_0x2cb61c[_0x18fe22(0x39f)][_0x18fe22(0x3e3)]?this[_0x18fe22(0x336)]():this[_0x18fe22(0x39e)]();}),this[_0x5f5c54(0x3d1)][_0x5f5c54(0x449)][_0x5f5c54(0x2de)](_0x58c226[_0x5f5c54(0x15a)](this['dispose$']))[_0x5f5c54(0x17f)](_0x56419f=>{const _0x3c1e30=_0x5f5c54,_0x563f6c=_0x56419f[_0x3c1e30(0x191)];_0x563f6c===_0x143a87['CollaborationEvent'][_0x3c1e30(0x211)]&&this[_0x3c1e30(0x2b3)](_0x56419f),_0x563f6c===_0x143a87['CollaborationEvent'][_0x3c1e30(0x227)]&&this['_onCursorDelete'](_0x56419f);}),this[_0x5f5c54(0x236)](),this[_0x5f5c54(0x43c)](this[_0x5f5c54(0x223)][_0x5f5c54(0x19c)](_0x89f39=>{const _0x1c318f=_0x5f5c54;if(this[_0x1c318f(0x452)]&&_0x89f39['id']===_0x11cdbd[_0x1c318f(0x198)]['id']&&_0x89f39[_0x1c318f(0x275)][_0x1c318f(0x34f)]===this[_0x1c318f(0x445)]){const _0xc3c75d=_0x89f39[_0x1c318f(0x275)];this[_0x1c318f(0x252)](_0xc3c75d[_0x1c318f(0x1cc)],_0xc3c75d[_0x1c318f(0x42c)][0x0]);}})));}[_0xce3cd0(0x2b3)](_0x5a419c){const _0x451e42=_0xce3cd0;var _0x435364,_0x37b1a8;const {memberID:_0x553906,selection:_0x66a661}=_0x5a419c[_0x451e42(0x31b)],{sheetName:_0x497c51,range:_0x157e4f}=_0x218d3f[_0x451e42(0x3dd)](_0x66a661),_0x233076={'name':(_0x37b1a8=(_0x435364=this[_0x451e42(0x2dd)][_0x451e42(0x338)](this[_0x451e42(0x445)],_0x553906))==null?void 0x0:_0x435364['name'])!=null?_0x37b1a8:_0x451e42(0x2f9),'range':this[_0x451e42(0x29a)](_0x497c51,_0x157e4f),'sheetID':_0x497c51,'color':this['_colorAssignService'][_0x451e42(0x2c8)](_0x553906),'selection':_0x66a661},_0x1fee27=this[_0x451e42(0x386)];_0x1fee27[_0x451e42(0x427)](_0x553906,_0x233076),this[_0x451e42(0x222)]['next'](_0x1fee27);}[_0xce3cd0(0x41c)](_0x450873){const _0x35468d=_0xce3cd0,{memberID:_0x8d9b2e}=_0x450873[_0x35468d(0x31b)],_0x40d7db=this[_0x35468d(0x386)];_0x40d7db[_0x35468d(0x434)](_0x8d9b2e),this[_0x35468d(0x222)]['next'](_0x40d7db);}[_0xce3cd0(0x29a)](_0x190af2,_0x1bd7a4){const _0x56f3da=_0xce3cd0;var _0x596afc,_0x2dd375;const _0x2aac4a=(_0x2dd375=(_0x596afc=this[_0x56f3da(0x2a9)][_0x56f3da(0x200)](this[_0x56f3da(0x445)]))==null?void 0x0:_0x596afc[_0x56f3da(0x411)](_0x190af2))==null?void 0x0:_0x2dd375[_0x56f3da(0x16e)]();return(_0x2aac4a==null?void 0x0:_0x2aac4a[_0x56f3da(0x37a)](_0x290a26=>_0x295c8f['Rectangle'][_0x56f3da(0x194)](_0x290a26,_0x1bd7a4)))||_0x1bd7a4;}[_0xce3cd0(0x236)](){const _0x217e82=_0xce3cd0,_0x2e654b=new _0x295c8f[(_0x217e82(0x15d))](),_0x228761=_0x46878f(),_0x295167=()=>{const _0x4993c5=_0x217e82;_0x2e654b[_0x4993c5(0x2a7)]();const _0x3149c1=(_0x1e33db,_0x326240,_0x1fb120,_0x37c7e4)=>{const _0x4c980=_0x4993c5;let _0x4630a4=[];switch(_0x1e33db['id']){case _0x11cdbd['EffectRefRangId'][_0x4c980(0x45b)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x44c)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x21d)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x36e)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x2c6)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x170)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x3ac)]:{_0x4630a4=_0x11cdbd['handleInsertRangeMoveDown'](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x262)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x250)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x1ea)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x22f)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x366)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x1c3)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x3e9)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x325)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)]['RemoveRowCommandId']:{_0x4630a4=_0x11cdbd['handleIRemoveRow'](_0x1e33db,_0x37c7e4);break;}}const _0x594535=_0x11cdbd[_0x4c980(0x365)](_0x4630a4,_0x37c7e4),_0x14b879=this['cursorInfo']['get'](_0x326240);if(_0x14b879&&_0x594535){const _0x4ff172={..._0x14b879,'range':_0x594535};this[_0x4c980(0x386)]['set'](_0x326240,_0x4ff172),_0x228761(()=>{const _0x34977b=_0x4c980,_0x3ade97=this['_refRangeService'][_0x34977b(0x333)](_0x594535,_0x28a63c=>(_0x3ade97[_0x34977b(0x2a7)](),_0x3149c1(_0x28a63c,_0x326240,_0x1fb120,_0x594535)));_0x2e654b[_0x34977b(0x3f9)](_0x3ade97);});}return{'redos':[],'undos':[]};};this[_0x4993c5(0x386)][_0x4993c5(0x2e5)]((_0x17ea93,_0x1083fb)=>{const _0x234952=_0x4993c5,{range:_0x56e4a9,sheetID:_0x26ae98}=_0x17ea93,_0x573a02=this['_refRangeService']['registerRefRange'](_0x56e4a9,_0xac5e1b=>(_0x573a02[_0x234952(0x2a7)](),_0x3149c1(_0xac5e1b,_0x1083fb,_0x26ae98,_0x56e4a9)));_0x2e654b['add'](_0x573a02);});};this['disposeWithMe'](_0x295c8f[_0x217e82(0x239)](this[_0x217e82(0x222)][_0x217e82(0x17f)](()=>{_0x295167();})));}[_0xce3cd0(0x336)](){const _0x3f39a8=_0xce3cd0;var _0x4573d1,_0x2b47f2;if(this[_0x3f39a8(0x452)]=!0x0,((_0x4573d1=this[_0x3f39a8(0x2a9)][_0x3f39a8(0x438)]())==null?void 0x0:_0x4573d1[_0x3f39a8(0x41d)]())!==this[_0x3f39a8(0x445)])return;const _0x1d90d3=(_0x2b47f2=this[_0x3f39a8(0x1f6)][_0x3f39a8(0x3fa)](_0x11cdbd[_0x3f39a8(0x2a3)])[_0x3f39a8(0x3c5)]())==null?void 0x0:_0x2b47f2[0x0],_0x3dbe0e=this[_0x3f39a8(0x2a9)]['getCurrentUnitForType'](_0x295c8f[_0x3f39a8(0x1f4)][_0x3f39a8(0x441)])[_0x3f39a8(0x1d4)]();_0x1d90d3&&_0x3dbe0e&&this['_updateLocalCursor'](_0x3dbe0e[_0x3f39a8(0x190)](),_0x1d90d3);}[_0xce3cd0(0x39e)](){const _0x1064ad=_0xce3cd0;this[_0x1064ad(0x452)]=!0x1;}};_0x58f9eb=_0x40f581([_0x5047af(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x5047af(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x12f6f6)),_0x5047af(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x331)])),_0x5047af(0x5,_0x295c8f['IUniverInstanceService']),_0x5047af(0x6,_0x295c8f[_0xce3cd0(0x2f7)]),_0x5047af(0x7,_0x295c8f[_0xce3cd0(0x2fb)](_0x11cdbd[_0xce3cd0(0x1bc)]))],_0x58f9eb);var _0x5bc8cd=Object[_0xce3cd0(0x3e7)],_0x7c9f56=(_0xd44b82,_0x193b53,_0x942e3c,_0x429a3f)=>{const _0x1dfbd7=_0xce3cd0;for(var _0x1293c5=_0x429a3f>0x1?void 0x0:_0x429a3f?_0x5bc8cd(_0x193b53,_0x942e3c):_0x193b53,_0x156725=_0xd44b82[_0x1dfbd7(0x37b)]-0x1,_0xae86ad;_0x156725>=0x0;_0x156725--)(_0xae86ad=_0xd44b82[_0x156725])&&(_0x1293c5=_0xae86ad(_0x1293c5)||_0x1293c5);return _0x1293c5;},_0x46612d=(_0x45fd7f,_0x103ce9)=>(_0x30baf1,_0x1d52d0)=>_0x103ce9(_0x30baf1,_0x1d52d0,_0x45fd7f);let _0x150b36=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x10353b,_0x43f11a,_0x47083c){const _0xe8e7f4=_0xce3cd0;super(),_0xef452e(this,_0xe8e7f4(0x1dd),new Map()),_0xef452e(this,_0xe8e7f4(0x283),new _0x58c226[(_0xe8e7f4(0x30e))]()),(this[_0xe8e7f4(0x2a9)]=_0x10353b,this[_0xe8e7f4(0x1f6)]=_0x43f11a,this[_0xe8e7f4(0x17a)]=_0x47083c,this[_0xe8e7f4(0x30d)]());}[_0xce3cd0(0x2a7)](){const _0x40697a=_0xce3cd0;super[_0x40697a(0x2a7)](),this['_entityInit$']['complete'](),this[_0x40697a(0x1dd)][_0x40697a(0x2e5)](_0x48f977=>_0x48f977['dispose']());}[_0xce3cd0(0x28a)](_0x1cd312){const _0x50f225=_0xce3cd0;return this[_0x50f225(0x1dd)][_0x50f225(0x2d5)](_0x1cd312)?this['_entities'][_0x50f225(0x3fa)](_0x1cd312)[_0x50f225(0x40e)]:this[_0x50f225(0x283)][_0x50f225(0x2de)](_0x58c226['filter'](_0x46a17e=>_0x46a17e['unitID']===_0x1cd312),_0x58c226['switchMap'](_0x32dcc1=>_0x32dcc1[_0x50f225(0x40e)]));}[_0xce3cd0(0x30d)](){const _0xcfb988=_0xce3cd0;this['_univerInstanceService'][_0xcfb988(0x18d)](_0x295c8f[_0xcfb988(0x1f4)]['UNIVER_SHEET'])['pipe'](_0x58c226[_0xcfb988(0x15a)](this[_0xcfb988(0x269)]))[_0xcfb988(0x17f)](async _0x33769b=>{const _0x515370=_0xcfb988,_0x2cdc21=_0x33769b[_0x515370(0x41d)](),_0x4394eb=await this[_0x515370(0x32a)](_0x2cdc21);this[_0x515370(0x283)][_0x515370(0x173)](_0x4394eb),this[_0x515370(0x1dd)]['set'](_0x2cdc21,_0x4394eb);}),this[_0xcfb988(0x2a9)]['getTypeOfUnitAdded$'](_0x295c8f[_0xcfb988(0x1f4)][_0xcfb988(0x308)])[_0xcfb988(0x2de)](_0x58c226[_0xcfb988(0x15a)](this['dispose$']))[_0xcfb988(0x2de)](_0x58c226[_0xcfb988(0x1cd)](_0x1d6322=>!_0x1d6322[_0xcfb988(0x41d)]()[_0xcfb988(0x2a6)]('__')))[_0xcfb988(0x17f)](async _0x2d8413=>{const _0x3b3dae=_0xcfb988,_0x11c07b=_0x2d8413[_0x3b3dae(0x41d)](),_0x39efda=await this[_0x3b3dae(0x2a8)](_0x11c07b);this[_0x3b3dae(0x283)][_0x3b3dae(0x173)](_0x39efda),this[_0x3b3dae(0x1dd)]['set'](_0x11c07b,_0x39efda);}),_0x58c226[_0xcfb988(0x432)](this[_0xcfb988(0x2a9)][_0xcfb988(0x381)](_0x295c8f[_0xcfb988(0x1f4)][_0xcfb988(0x308)]),this['_univerInstanceService'][_0xcfb988(0x381)](_0x295c8f['UniverInstanceType'][_0xcfb988(0x441)]))['pipe'](_0x58c226[_0xcfb988(0x15a)](this['dispose$']))[_0xcfb988(0x17f)](_0x17b99a=>{const _0x22780f=_0xcfb988,_0x4da580=_0x17b99a[_0x22780f(0x41d)](),_0x327fd1=this[_0x22780f(0x1dd)][_0x22780f(0x3fa)](_0x4da580);_0x327fd1&&(_0x327fd1[_0x22780f(0x2a7)](),this[_0x22780f(0x1dd)]['delete'](_0x4da580));});}async[_0xce3cd0(0x32a)](_0x488c43){const _0x41b422=_0xce3cd0,_0x12c415=await this['_collabSessionService'][_0x41b422(0x302)](_0x488c43),_0x12d132=this[_0x41b422(0x1f6)][_0x41b422(0x408)](_0x58f9eb,_0x488c43,_0x12c415);return _0x12d132[_0x41b422(0x402)](),_0x12d132;}async['_startDocCollabCursor'](_0x22328f){const _0x3d6ebe=_0xce3cd0,_0xea72e7=await this[_0x3d6ebe(0x17a)][_0x3d6ebe(0x302)](_0x22328f),_0x506556=this[_0x3d6ebe(0x1f6)][_0x3d6ebe(0x408)](_0x26931f,_0x22328f,_0xea72e7);return _0x506556['init'](),_0x506556;}};_0x150b36=_0x7c9f56([_0x46612d(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0x46612d(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x46612d(0x2,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x1c6)]))],_0x150b36);const _0x490e44=0x14,_0x25b1d6=0xc8,_0x150591=0x4,_0x5dba56=0x5;function _0x1b2ab7(_0x244c95,_0x3ff72b){const _0x4fbf7e=_0xce3cd0;let {radius:_0x3b9e50,width:_0x48e155,height:_0x295e22}=_0x3ff72b;_0x3b9e50=_0x3b9e50!=null?_0x3b9e50:0x0,_0x48e155=_0x48e155!=null?_0x48e155:0x1e,_0x295e22=_0x295e22!=null?_0x295e22:0x1e;let _0x3d7294=0x0,_0xfdbfa7=0x0,_0x1f1ad0=0x0;_0x3d7294=_0xfdbfa7=_0x1f1ad0=Math[_0x4fbf7e(0x199)](_0x3b9e50,_0x48e155/0x2,_0x295e22/0x2),_0x244c95[_0x4fbf7e(0x410)](),_0x244c95[_0x4fbf7e(0x3bf)](_0x3d7294,0x0),_0x244c95[_0x4fbf7e(0x20e)](_0x48e155-_0xfdbfa7,0x0),_0x244c95[_0x4fbf7e(0x20c)](_0x48e155-_0xfdbfa7,_0xfdbfa7,_0xfdbfa7,Math['PI']*0x3/0x2,0x0,!0x1),_0x244c95[_0x4fbf7e(0x20e)](_0x48e155,_0x295e22-_0x1f1ad0),_0x244c95[_0x4fbf7e(0x20c)](_0x48e155-_0x1f1ad0,_0x295e22-_0x1f1ad0,_0x1f1ad0,0x0,Math['PI']/0x2,!0x1),_0x244c95[_0x4fbf7e(0x20e)](0x0,_0x295e22),_0x244c95[_0x4fbf7e(0x20e)](0x0,_0x3d7294),_0x244c95['arc'](_0x3d7294,_0x3d7294,_0x3d7294,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x244c95[_0x4fbf7e(0x2e8)](),_0x3ff72b[_0x4fbf7e(0x185)]&&(_0x244c95[_0x4fbf7e(0x34c)](),_0x244c95[_0x4fbf7e(0x339)]=_0x3ff72b[_0x4fbf7e(0x185)],_0x3ff72b[_0x4fbf7e(0x1fb)]===_0x4fbf7e(0x3b6)?_0x244c95[_0x4fbf7e(0x185)](_0x4fbf7e(0x3b6)):_0x244c95[_0x4fbf7e(0x185)](),_0x244c95[_0x4fbf7e(0x31c)]());}class _0x2dd573 extends _0x8db91b['Shape']{constructor(_0x1c68fa,_0x2bf2a6){const _0x97656a=_0xce3cd0;super(_0x1c68fa,_0x2bf2a6),_0xef452e(this,_0x97656a(0x374)),_0xef452e(this,_0x97656a(0x265)),(this[_0x97656a(0x374)]=_0x2bf2a6==null?void 0x0:_0x2bf2a6[_0x97656a(0x374)],this[_0x97656a(0x265)]=_0x2bf2a6==null?void 0x0:_0x2bf2a6['text']);}static[_0xce3cd0(0x29d)](_0x2841b6,_0xb9e197){const _0x3e07cf=_0xce3cd0,{text:_0x33c895,color:_0x396e98}=_0xb9e197;_0x2841b6[_0x3e07cf(0x34c)](),_0x2841b6[_0x3e07cf(0x1bf)]=_0x3e07cf(0x3ce);const _0x4b5c09=_0x2841b6[_0x3e07cf(0x3ba)](_0x33c895)['width'],_0x1b21e0=Math[_0x3e07cf(0x199)](_0x4b5c09+0x2*_0x150591,_0x25b1d6);_0x1b2ab7(_0x2841b6,{'height':_0x490e44,'radius':0x4,'width':_0x1b21e0,'fill':_0x396e98}),_0x2841b6[_0x3e07cf(0x339)]=_0x3e07cf(0x2cd);const _0x235960=_0x150591,_0x33e57b=_0x490e44-_0x5dba56,_0x554d1e=_0x25b1d6-0x2*_0x150591;if(_0x4b5c09>_0x554d1e){let _0x4b09f4='',_0x38d242=0x0;for(const _0xd90b25 of _0x33c895){const _0x29f9f8=_0x2841b6[_0x3e07cf(0x3ba)](_0xd90b25)[_0x3e07cf(0x38d)];if(_0x38d242+_0x29f9f8<=_0x554d1e-_0x2841b6['measureText'](_0x3e07cf(0x2d7))['width'])_0x4b09f4+=_0xd90b25,_0x38d242+=_0x29f9f8;else{_0x4b09f4+=_0x3e07cf(0x2d7);break;}}_0x2841b6['fillText'](_0x4b09f4,_0x235960,_0x33e57b);}else _0x2841b6[_0x3e07cf(0x450)](_0x33c895,_0x235960,_0x33e57b);_0x2841b6['restore']();}[_0xce3cd0(0x28c)](_0x51a6ae){_0x2dd573['drawWith'](_0x51a6ae,this);}}const _0x6c73a0=_0xce3cd0(0x36f),_0x5d38c5=_0xce3cd0(0x2bd),_0x37de86=_0xce3cd0(0x1ae),_0xe7008e=0x6,_0x293e22=1.5,_0x2fac45=0x4,_0x4b7a68=1.5,_0x3bd6ea=_0xce3cd0(0x3eb);class _0x2211fb{constructor(_0x300ef8,_0x177cbd,_0xacbd90,_0x57c31a){const _0x4af898=_0xce3cd0;_0xef452e(this,_0x4af898(0x3aa),[]),_0xef452e(this,_0x4af898(0x311),null),_0xef452e(this,_0x4af898(0x3cc),null),_0xef452e(this,_0x4af898(0x3e4),null),_0xef452e(this,'_hideTimer',null),_0xef452e(this,_0x4af898(0x433),null),(this[_0x4af898(0x319)]=_0x300ef8,this[_0x4af898(0x315)]=_0x177cbd,this[_0x4af898(0x1fc)]=_0xacbd90,this[_0x4af898(0x423)]=_0x57c31a,this[_0x4af898(0x2ae)]());}set[_0xce3cd0(0x2e6)](_0x1417fc){const _0x12956d=_0xce3cd0;_0x1417fc?(this[_0x12956d(0x3e4)]&&this[_0x12956d(0x3e4)][_0x12956d(0x1a2)](),this[_0x12956d(0x3cc)]&&this[_0x12956d(0x3cc)][_0x12956d(0x1b8)]()):(this['_anchorDot']&&this[_0x12956d(0x3e4)][_0x12956d(0x1b8)](),this[_0x12956d(0x3cc)]&&this['_textBubble'][_0x12956d(0x1a2)]());}['dispose'](){const _0xd9a3cd=_0xce3cd0;for(const _0x4c9a08 of this['_shapes'])_0x4c9a08[_0xd9a3cd(0x2a7)]();this[_0xd9a3cd(0x3cc)]&&this['_textBubble'][_0xd9a3cd(0x2a7)](),this['_anchorDot']&&this[_0xd9a3cd(0x3e4)][_0xd9a3cd(0x2a7)](),this[_0xd9a3cd(0x311)]&&this[_0xd9a3cd(0x311)][_0xd9a3cd(0x2a7)](),this['_eventUnsubscribe']&&this[_0xd9a3cd(0x433)]();}[_0xce3cd0(0x2ae)](){const _0x485f62=_0xce3cd0;var _0x45f003;const {_docSkeleton:_0x58ee39,_document:_0xb134cf}=this,{color:_0x5d3cde,name:_0x53af7c,ranges:_0x28d16a}=this['_cursor'],_0x1d52a8=_0xb134cf[_0x485f62(0x1ba)](),{docsLeft:_0x3e05ea,docsTop:_0x25c36c}=_0x1d52a8,_0x5882fc=new _0x442538[(_0x485f62(0x1da))](_0x1d52a8,_0x58ee39);for(const {startOffset:_0x22188c,endOffset:_0x127fe3,rangeType:_0x28847f,segmentId:_0x195d93,segmentPage:_0x4ee0c1,collapsed:_0x70d9f8,isActive:_0x365e93}of _0x28d16a){const _0x67323=_0x58ee39[_0x485f62(0x267)](_0x22188c,!0x0,_0x195d93,_0x4ee0c1);let _0x1c9849=_0x58ee39[_0x485f62(0x267)](_0x127fe3,!0x0,_0x195d93,_0x4ee0c1);if(_0x1c9849==null&&(_0x1c9849=_0x58ee39[_0x485f62(0x267)](_0x127fe3-0x1,!0x1,_0x195d93,_0x4ee0c1)),_0x365e93){const {contentBoxPointGroup:_0x32ac23}=_0x5882fc[_0x485f62(0x3bd)](_0x1c9849,_0x1c9849);if(_0x32ac23[_0x485f62(0x37b)]===0x0)continue;this[_0x485f62(0x156)](_0x5d3cde,_0x32ac23,_0x3e05ea,_0x25c36c,_0x53af7c),this[_0x485f62(0x433)]=this['_handleHover']();}if(_0x67323&&_0x1c9849){if(_0x28847f===_0x295c8f[_0x485f62(0x3b3)][_0x485f62(0x1f7)]){const _0x298ff0=new _0x442538[(_0x485f62(0x2e7))](_0x1d52a8,_0x58ee39),{pointGroup:_0xedadbc}=(_0x45f003=_0x298ff0[_0x485f62(0x3bd)](_0x67323,_0x1c9849))!=null?_0x45f003:{};if(_0xedadbc==null||_0xedadbc[_0x485f62(0x37b)]===0x0)continue;this['_drawRectRange'](_0x5d3cde,_0xedadbc,_0x3e05ea,_0x25c36c);}else{if(!_0x70d9f8){const {borderBoxPointGroup:_0x217065}=_0x5882fc[_0x485f62(0x3bd)](_0x67323,_0x1c9849);if(_0x217065[_0x485f62(0x37b)]===0x0)continue;this[_0x485f62(0x3c7)](_0x5d3cde,_0x217065,_0x3e05ea,_0x25c36c);}}}}}[_0xce3cd0(0x156)](_0x56137a,_0x766f19,_0x270203,_0x5dbe96,_0x56f925){const _0x7f629e=_0xce3cd0,_0x23ab50=this[_0x7f629e(0x306)](_0x766f19),{left:_0x103df4,top:_0x4f1edc,height:_0xf61bb9}=_0x23ab50,_0x2c2ae5=this[_0x7f629e(0x15c)](),_0x3aa39c=_0x4b7a68/_0x2c2ae5,_0x36215d=new _0x8db91b[(_0x7f629e(0x248))](_0x6c73a0+_0x295c8f[_0x7f629e(0x17e)](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96,'height':_0xf61bb9,'width':_0x293e22,'fill':_0x56137a||_0x8db91b[_0x7f629e(0x245)](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'strokeWidth':_0x3aa39c,'stroke':_0x3bd6ea,'evented':!0x0});this[_0x7f629e(0x311)]=_0x36215d,this[_0x7f629e(0x315)][_0x7f629e(0x2cc)](_0x36215d,_0x442538[_0x7f629e(0x42a)]);const _0x2814be=new _0x8db91b[(_0x7f629e(0x248))](_0x6c73a0+_0x295c8f[_0x7f629e(0x17e)](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96-_0x2fac45/0x2,'height':_0x2fac45,'width':_0x2fac45,'fill':_0x56137a||_0x8db91b[_0x7f629e(0x245)](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56137a||_0x8db91b['getColor'](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2814be,this[_0x7f629e(0x315)][_0x7f629e(0x2cc)](_0x2814be,_0x442538['TEXT_RANGE_LAYER_INDEX']);const _0x2143bf=new _0x2dd573(_0x6c73a0+_0x295c8f['generateRandomId'](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96-_0x490e44,'text':_0x56f925,'color':_0x56137a});this[_0x7f629e(0x3cc)]=_0x2143bf,this['_scene'][_0x7f629e(0x2cc)](_0x2143bf,_0x442538[_0x7f629e(0x42a)]),this[_0x7f629e(0x2e6)]=!0x1;}[_0xce3cd0(0x27a)](){const _0x1cb507=_0xce3cd0,_0x65c968=this[_0x1cb507(0x311)]['onPointerEnter$'][_0x1cb507(0x3fe)](()=>{const _0x51f5f0=_0x1cb507;this[_0x51f5f0(0x2e6)]=!0x0;}),_0xfb059f=this[_0x1cb507(0x311)][_0x1cb507(0x407)][_0x1cb507(0x3fe)](()=>{const _0x3b07f1=_0x1cb507;this[_0x3b07f1(0x15b)]&&clearTimeout(this[_0x3b07f1(0x15b)]),this[_0x3b07f1(0x15b)]=setTimeout(()=>{const _0x337e5a=_0x3b07f1;this[_0x337e5a(0x2e6)]=!0x1;},0x7d0);});return()=>{const _0x37eb9d=_0x1cb507;_0x65c968[_0x37eb9d(0x3a9)](),_0xfb059f[_0x37eb9d(0x3a9)]();};}[_0xce3cd0(0x3c7)](_0x157ccf,_0xbeafae,_0x21f046,_0x2ca3a6){const _0x24de1f=_0xce3cd0,_0xa67d1c=new _0x295c8f[(_0x24de1f(0x249))](_0x157ccf)[_0x24de1f(0x1e3)](0.2)['toRgbString'](),_0x1eaf1=new _0x8db91b[(_0x24de1f(0x35b))](_0x5d38c5+_0x295c8f['generateRandomId'](_0xe7008e),{'pointsGroup':_0xbeafae,'fill':_0xa67d1c||_0x8db91b[_0x24de1f(0x245)](_0x295c8f[_0x24de1f(0x260)][_0x24de1f(0x431)],0.2),'left':_0x21f046,'top':_0x2ca3a6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24de1f(0x3aa)][_0x24de1f(0x44a)](_0x1eaf1),this[_0x24de1f(0x315)][_0x24de1f(0x2cc)](_0x1eaf1,_0x442538['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2f921a,_0x3d3a3a,_0x31ab52,_0x2ca5cc){const _0x1869b9=_0xce3cd0,_0x1424fc=new _0x295c8f[(_0x1869b9(0x249))](_0x2f921a)[_0x1869b9(0x1e3)](0.2)[_0x1869b9(0x3ed)](),_0x527570=new _0x8db91b[(_0x1869b9(0x35b))](_0x37de86+_0x295c8f['generateRandomId'](_0xe7008e),{'pointsGroup':_0x3d3a3a,'fill':_0x1424fc||_0x8db91b['getColor'](_0x295c8f[_0x1869b9(0x260)][_0x1869b9(0x431)],0.2),'left':_0x31ab52,'top':_0x2ca5cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1869b9(0x3aa)][_0x1869b9(0x44a)](_0x527570),this[_0x1869b9(0x315)][_0x1869b9(0x2cc)](_0x527570,_0x442538[_0x1869b9(0x42a)]);}['_getAnchorBounding'](_0x524321){const _0x233ae1=_0x524321[0x0],_0x58df60=_0x233ae1[0x0],_0x1a79a7=_0x233ae1[0x2],{x:_0x4cb847,y:_0x17927b}=_0x58df60,{x:_0x2b0192,y:_0x2413e6}=_0x1a79a7;return{'left':_0x4cb847,'top':_0x17927b,'width':_0x2b0192-_0x4cb847,'height':_0x2413e6-_0x17927b};}['_getScale'](){const _0x486e0f=_0xce3cd0,{scaleX:_0x548e42,scaleY:_0x3f316f}=this[_0x486e0f(0x315)][_0x486e0f(0x1a6)]();return Math['max'](_0x548e42,_0x3f316f);}}var _0x5d2f4d=Object[_0xce3cd0(0x3e7)],_0x388174=(_0x1bb3da,_0x55bca0,_0x107e3d,_0x26d9c4)=>{const _0x2d7aad=_0xce3cd0;for(var _0x5b4cbf=_0x26d9c4>0x1?void 0x0:_0x26d9c4?_0x5d2f4d(_0x55bca0,_0x107e3d):_0x55bca0,_0x289f1b=_0x1bb3da[_0x2d7aad(0x37b)]-0x1,_0x313db3;_0x289f1b>=0x0;_0x289f1b--)(_0x313db3=_0x1bb3da[_0x289f1b])&&(_0x5b4cbf=_0x313db3(_0x5b4cbf)||_0x5b4cbf);return _0x5b4cbf;},_0x551f39=(_0x7af354,_0x34fece)=>(_0x5589ff,_0x39c91a)=>_0x34fece(_0x5589ff,_0x39c91a,_0x7af354);let _0x53604e=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x250a98,_0x4ae5ba,_0x1ec54e,_0x2e52fb,_0x4a6fa8){const _0x4273cd=_0xce3cd0;super(),_0xef452e(this,_0x4273cd(0x2db),[]),_0xef452e(this,_0x4273cd(0x21c),[]),(this[_0x4273cd(0x286)]=_0x250a98,this[_0x4273cd(0x166)]=_0x4ae5ba,this[_0x4273cd(0x41e)]=_0x1ec54e,this[_0x4273cd(0x223)]=_0x2e52fb,this[_0x4273cd(0x28d)]=_0x4a6fa8,this[_0x4273cd(0x30d)]());}[_0xce3cd0(0x30d)](){const _0x162295=_0xce3cd0,_0x3df23a=this[_0x162295(0x286)][_0x162295(0x34f)],_0x2096dc=this[_0x162295(0x166)];this['disposeWithMe'](_0x58c226[_0x162295(0x389)]([this[_0x162295(0x41e)]['getCollabCursors$'](_0x3df23a),this[_0x162295(0x28d)]['currentTheme$']])[_0x162295(0x2de)](_0x2157b5[_0x162295(0x16b)](([_0x2d1dbe,_0x391809])=>({'skeleton':_0x2096dc['getSkeleton'](),'cursors':[..._0x2d1dbe[_0x162295(0x3fd)]()][_0x162295(0x226)](_0x301d69=>({..._0x301d69,'color':this[_0x162295(0x28d)][_0x162295(0x254)](_0x301d69[_0x162295(0x374)])}))})))['subscribe'](_0x4dd2e3=>{const _0x2bec5c=_0x162295;if(this['_removeCollabCursors'](),_0x4dd2e3){const {skeleton:_0x1cba0e,cursors:_0x1f10ee}=_0x4dd2e3;this[_0x2bec5c(0x38a)](_0x1cba0e,_0x1f10ee);}})),this['_initResize'](),this[_0x162295(0x3be)]();}[_0xce3cd0(0x38a)](_0x2731ec,_0x172ccb){const _0x580b5f=_0xce3cd0,{scene:_0x3a8fa6,mainComponent:_0x25fb1a}=this[_0x580b5f(0x286)],_0x5080ff=_0x172ccb[_0x580b5f(0x16b)](_0x6a7229=>new _0x2211fb(_0x6a7229,_0x3a8fa6,_0x2731ec,_0x25fb1a));this['_cursorShapes']=_0x5080ff,this['_cursors']=_0x172ccb;}[_0xce3cd0(0x444)](){const _0x4a015e=_0xce3cd0;this['_removeCollabCursors']();const {scene:_0x42fb9b,mainComponent:_0x55dede}=this[_0x4a015e(0x286)],_0x55c702=this[_0x4a015e(0x166)]['getSkeleton'](),_0x459a00=this[_0x4a015e(0x21c)][_0x4a015e(0x16b)](_0x530069=>new _0x2211fb(_0x530069,_0x42fb9b,_0x55c702,_0x55dede));this[_0x4a015e(0x2db)]=_0x459a00;}[_0xce3cd0(0x30f)](){const _0x1e2786=_0xce3cd0;this[_0x1e2786(0x2db)][_0x1e2786(0x2e5)](_0x4dd3bd=>_0x4dd3bd['dispose']()),this[_0x1e2786(0x2db)]=[];}[_0xce3cd0(0x3be)](){const _0x9d0b32=_0xce3cd0,_0x9b1576=[_0x442538['SetDocZoomRatioOperation']['id']];this[_0x9d0b32(0x43c)](this['_commandService'][_0x9d0b32(0x19c)](_0x49d4a1=>{const _0x5538b5=_0x9d0b32;_0x9b1576['includes'](_0x49d4a1['id'])&&_0x49d4a1[_0x5538b5(0x275)][_0x5538b5(0x34f)]===this[_0x5538b5(0x286)][_0x5538b5(0x34f)]&&this['_refreshCollabCursors']();}));}[_0xce3cd0(0x412)](){const _0x35ab36=_0xce3cd0;this['disposeWithMe'](_0x295c8f[_0x35ab36(0x1d9)](this[_0x35ab36(0x286)]['engine'][_0x35ab36(0x288)])[_0x35ab36(0x2de)](_0x2157b5[_0x35ab36(0x1cd)](_0x995510=>_0x995510[_0x35ab36(0x273)]===_0x8db91b[_0x35ab36(0x2c0)][_0x35ab36(0x272)]),_0x2157b5[_0x35ab36(0x204)](0x10))[_0x35ab36(0x17f)](()=>{const _0x396d35=_0x35ab36;this[_0x396d35(0x444)]();}));}};_0x53604e=_0x388174([_0x551f39(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x400651[_0xce3cd0(0x1fa)])),_0x551f39(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x150b36)),_0x551f39(0x3,_0x295c8f[_0xce3cd0(0x2f7)]),_0x551f39(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x3d7)]))],_0x53604e);const _0x38ee4b=0x1,_0x3f2c49=1.5;class _0x3ee6ec extends _0x8db91b[_0xce3cd0(0x3b1)]{constructor(_0x3198f5,_0x1d3343){const _0x3bef64=_0xce3cd0;super(_0x3198f5,_0x1d3343),_0xef452e(this,_0x3bef64(0x205)),_0xef452e(this,_0x3bef64(0x2ed),!0x1),_0xef452e(this,_0x3bef64(0x3c3)),_0xef452e(this,_0x3bef64(0x206),''),_0xef452e(this,'_labelPosition',_0x3bef64(0x426)),_0xef452e(this,_0x3bef64(0x2c7)),(_0x1d3343&&this['setShapeProps'](_0x1d3343),this[_0x3bef64(0x45a)][_0x3bef64(0x3fe)](()=>this[_0x3bef64(0x281)]({'hovered':!0x0})),this[_0x3bef64(0x407)][_0x3bef64(0x3fe)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xce3cd0(0x281)](_0x455bda){const _0x37b43f=_0xce3cd0;var _0x436fc1,_0xcc7095,_0x17e2f3,_0x4e673f,_0x58d159,_0x1214f6;this[_0x37b43f(0x205)]=(_0x436fc1=_0x455bda[_0x37b43f(0x374)])!=null?_0x436fc1:this[_0x37b43f(0x205)],this[_0x37b43f(0x2ed)]=(_0xcc7095=_0x455bda[_0x37b43f(0x3da)])!=null?_0xcc7095:this[_0x37b43f(0x2ed)],this['_range']=(_0x17e2f3=_0x455bda[_0x37b43f(0x2c5)])!=null?_0x17e2f3:this[_0x37b43f(0x3c3)],this[_0x37b43f(0x206)]=(_0x4e673f=_0x455bda[_0x37b43f(0x376)])!=null?_0x4e673f:this[_0x37b43f(0x206)],this['_labelPosition']=(_0x58d159=_0x455bda[_0x37b43f(0x43e)])!=null?_0x58d159:this[_0x37b43f(0x2b8)],this[_0x37b43f(0x2c7)]=(_0x1214f6=_0x455bda[_0x37b43f(0x168)])!=null?_0x1214f6:this['_backgroundColor'],this[_0x37b43f(0x3f7)]({'width':_0x455bda['width'],'height':_0x455bda['height']});}[_0xce3cd0(0x422)](_0x339fe2){const _0x45b391=_0xce3cd0,{row:_0x6c7a2b,column:_0x24c286}=_0x339fe2;if(_0x6c7a2b>=this[_0x45b391(0x3c3)][_0x45b391(0x1ad)]&&_0x6c7a2b<=this[_0x45b391(0x3c3)][_0x45b391(0x361)]&&_0x24c286>=this['_range'][_0x45b391(0x3dc)]&&_0x24c286<=this['_range'][_0x45b391(0x37d)]){this[_0x45b391(0x281)]({'hovered':!0x0});return;}this[_0x45b391(0x281)]({'hovered':!0x1});}[_0xce3cd0(0x34b)](_0x5da6e4){return!0x1;}[_0xce3cd0(0x28c)](_0x9bb715){const _0x58410a=_0xce3cd0;_0x8db91b[_0x58410a(0x248)][_0x58410a(0x29d)](_0x9bb715,{'width':this[_0x58410a(0x38d)],'height':this[_0x58410a(0x368)],'strokeWidth':_0x3f2c49,'stroke':this[_0x58410a(0x205)],'evented':!0x1,'fill':this[_0x58410a(0x2c7)]}),this[_0x58410a(0x2ed)]&&(_0x9bb715[_0x58410a(0x34c)](),_0x9bb715[_0x58410a(0x459)](0x1,0x0,0x0,0x1,this[_0x58410a(0x38d)],this[_0x58410a(0x2b8)]===_0x58410a(0x203)?0x0:-_0x490e44),_0x2dd573[_0x58410a(0x29d)](_0x9bb715,{'text':this[_0x58410a(0x206)],'color':this['_color']}),_0x9bb715[_0x58410a(0x31c)]());}}var _0x59211f=Object['getOwnPropertyDescriptor'],_0x42ffe9=(_0x438719,_0x4d8444,_0x2296fe,_0xe568fb)=>{const _0x387800=_0xce3cd0;for(var _0x49e7cb=_0xe568fb>0x1?void 0x0:_0xe568fb?_0x59211f(_0x4d8444,_0x2296fe):_0x4d8444,_0x48af74=_0x438719[_0x387800(0x37b)]-0x1,_0x5769;_0x48af74>=0x0;_0x48af74--)(_0x5769=_0x438719[_0x48af74])&&(_0x49e7cb=_0x5769(_0x49e7cb)||_0x49e7cb);return _0x49e7cb;},_0x58959c=(_0x50a1d7,_0xfce1fe)=>(_0x5d6369,_0x2c87fe)=>_0xfce1fe(_0x5d6369,_0x2c87fe,_0x50a1d7);const _0x2a0525=0x1389;let _0x883637=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x1bcd56,_0x8632f9,_0xe705bb,_0x3f64df){const _0xd3c35d=_0xce3cd0;super(),_0xef452e(this,_0xd3c35d(0x21c),new Set()),_0xef452e(this,_0xd3c35d(0x162),null),(this[_0xd3c35d(0x286)]=_0x1bcd56,this[_0xd3c35d(0x259)]=_0x8632f9,this[_0xd3c35d(0x41e)]=_0xe705bb,this[_0xd3c35d(0x28d)]=_0x3f64df,this[_0xd3c35d(0x30d)]());}['_init'](){const _0xfa8b37=_0xce3cd0;this[_0xfa8b37(0x259)]['currentSkeleton$'][_0xfa8b37(0x2de)](_0x2157b5[_0xfa8b37(0x15a)](this['dispose$']),_0x2157b5[_0xfa8b37(0x3e6)](_0x35c243=>{const _0x4cbb17=_0xfa8b37;if(_0x35c243){const _0xd2bf85=_0x35c243['sheetId'];return _0x58c226[_0x4cbb17(0x389)](this[_0x4cbb17(0x41e)]['getCollabCursors$'](this['_context'][_0x4cbb17(0x34f)]),this[_0x4cbb17(0x28d)][_0x4cbb17(0x17b)])[_0x4cbb17(0x2de)](_0x2157b5[_0x4cbb17(0x16b)](([_0x5818fc,_0x752ddf])=>{const _0x5a3fd7=_0x4cbb17,_0x47f63c=new Map();return _0x5818fc[_0x5a3fd7(0x2e5)]((_0x4406c5,_0xa0d95c)=>{const _0x4d2c0d=_0x5a3fd7;if(_0x4406c5['sheetID']===_0xd2bf85){const _0x849496={..._0x4406c5};_0x849496[_0x4d2c0d(0x374)]=this['_themeService'][_0x4d2c0d(0x254)](_0x4406c5[_0x4d2c0d(0x374)]),_0x47f63c[_0x4d2c0d(0x427)](_0xa0d95c,_0x849496);}}),{'skeleton':_0x35c243,'cursors':_0x47f63c};}));}return _0x58c226['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x430843,cursors:_0x4b34e4})=>{const _0x5d22fe=_0xfa8b37;this[_0x5d22fe(0x30f)](),_0x430843&&this['_updateCollabCursors'](_0x430843,_0x4b34e4);}),this[_0xfa8b37(0x259)][_0xfa8b37(0x42b)][_0xfa8b37(0x17f)](_0x73b8f4=>{const _0x5c0ef7=_0xfa8b37;if(_0x73b8f4==null)return;const {skeleton:_0x4cbd85}=_0x73b8f4,{scene:_0x5147cd}=this['_context'];_0x5147cd[_0x5c0ef7(0x1cf)][_0x5c0ef7(0x3fe)](_0x295c8f[_0x5c0ef7(0x247)](_0xf65b37=>{const _0x4eb4e2=_0x5c0ef7;var _0x1326ac,_0x58aec9;const {offsetX:_0x20c533,offsetY:_0x26de81}=_0xf65b37,{x:_0x55412c,y:_0x1a6882}=_0x5147cd[_0x4eb4e2(0x195)](_0x8db91b[_0x4eb4e2(0x3fc)]['FromArray']([_0x20c533,_0x26de81])),{scaleX:_0x55fdf0,scaleY:_0x36ca01}=_0x5147cd[_0x4eb4e2(0x1a6)](),_0x276322=_0x5147cd[_0x4eb4e2(0x332)](_0x8db91b[_0x4eb4e2(0x208)]['VIEW_MAIN']),_0xd2a96a=_0x5147cd[_0x4eb4e2(0x285)](_0x8db91b[_0x4eb4e2(0x3fc)][_0x4eb4e2(0x238)]([_0x55412c,_0x1a6882]),_0x276322),_0x4210ae=_0x4cbd85[_0x4eb4e2(0x375)](_0x20c533,_0x26de81,_0x55fdf0,_0x36ca01,_0xd2a96a);((_0x1326ac=this[_0x4eb4e2(0x162)])==null?void 0x0:_0x1326ac[_0x4eb4e2(0x33b)])===_0x4210ae[_0x4eb4e2(0x33b)]&&((_0x58aec9=this['_lastPointer'])==null?void 0x0:_0x58aec9[_0x4eb4e2(0x3f6)])===_0x4210ae['row']||this[_0x4eb4e2(0x21c)][_0x4eb4e2(0x2e5)](_0x1aa356=>{const _0x585003=_0x4eb4e2;_0x1aa356[_0x585003(0x422)](_0x4210ae);});},0x64));});}[_0xce3cd0(0x38a)](_0x3b7dcf,_0x106207){const _0x4bd86f=_0xce3cd0;var _0x4988f6;const _0x142d4e=(_0x4988f6=this['_sheetSkeletonManagerService'][_0x4bd86f(0x1e8)]())==null?void 0x0:_0x4988f6[_0x4bd86f(0x398)];if(!_0x142d4e)return;const _0x17436f=this[_0x4bd86f(0x2ca)]();if(!_0x17436f)return;this['_cursors'][_0x4bd86f(0x2e5)](_0x31d6b3=>{_0x31d6b3['makeDirty']();});const {scene:_0x1cdb2d}=_0x17436f,_0x1361e4=_0x347dd5(Array[_0x4bd86f(0x264)](_0x106207['values']()))[_0x4bd86f(0x16b)](_0x366c54=>{const _0x324d9f=_0x4bd86f,{color:_0x834ddd,range:_0x15b71d,name:_0x28b834,selection:_0x29fee3,sheetID:_0x1a192b}=_0x366c54,{startColumn:_0x23f4e7,startRow:_0x590de5,endColumn:_0x2f224a,endRow:_0xa46712}=_0x15b71d,_0x3f4722=_0x2cd116[_0x324d9f(0x27c)](_0x590de5,_0x23f4e7,_0x1cdb2d,_0x142d4e),_0x2f67ea=_0x2cd116[_0x324d9f(0x27c)](_0xa46712,_0x2f224a,_0x1cdb2d,_0x142d4e),{columnHeaderHeightAndMarginTop:_0x4197ee}=_0x142d4e,{startX:_0xc038cc,startY:_0x28131b}=_0x3f4722,{endX:_0x573abf,endY:_0x363c26}=_0x2f67ea,_0x18ed1e=_0x573abf-_0xc038cc,_0x31928c=_0x363c26-_0x28131b,_0x30e1e1={'labelPosition':_0x28131b-_0x4197ee>=_0x490e44?_0x324d9f(0x426):'bottom','sheetID':_0x1a192b,'range':_0x15b71d,'color':_0x834ddd,'name':_0x28b834,'selection':_0x29fee3,'left':_0xc038cc,'top':_0x28131b,'width':_0x18ed1e,'height':_0x31928c,'evented':!0x1,'zIndex':_0x2a0525};return new _0x3ee6ec(_0x28b834,_0x30e1e1);});_0x1cdb2d[_0x4bd86f(0x413)](_0x1361e4,_0x38ee4b),this[_0x4bd86f(0x21c)]=new Set(_0x1361e4);}['_removeCollabCursors'](){const _0xc48981=_0xce3cd0;var _0x559d9d;(_0x559d9d=this[_0xc48981(0x21c)])==null||_0x559d9d[_0xc48981(0x2e5)](_0x15f5f9=>_0x15f5f9[_0xc48981(0x2a7)]());}[_0xce3cd0(0x2ca)](){const _0x4c5647=_0xce3cd0;return _0x2cd116['getSheetObject'](this[_0x4c5647(0x286)][_0x4c5647(0x429)],this[_0x4c5647(0x286)]);}};_0x883637=_0x42ffe9([_0x58959c(0x1,_0x295c8f['Inject'](_0x2cd116[_0xce3cd0(0x409)])),_0x58959c(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x150b36)),_0x58959c(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x3d7)]))],_0x883637);function _0x347dd5(_0x46160f){const _0x3d739c=_0xce3cd0,_0x5f24d5=new Map();return _0x46160f[_0x3d739c(0x2e5)](_0x2c36e4=>{const _0x19fc9e=_0x3d739c;if(_0x5f24d5[_0x19fc9e(0x2d5)](_0x2c36e4['selection'])){const _0x599691=_0x5f24d5[_0x19fc9e(0x3fa)](_0x2c36e4['selection']);_0x599691[_0x19fc9e(0x376)]+=',\x20'+_0x2c36e4[_0x19fc9e(0x376)];}else _0x5f24d5[_0x19fc9e(0x427)](_0x2c36e4[_0x19fc9e(0x2f4)],_0x2c36e4);}),Array[_0x3d739c(0x264)](_0x5f24d5['values']());}var _0x1775c4=Object['getOwnPropertyDescriptor'],_0x589178=(_0x1aa343,_0x4d126c,_0x2d46b4,_0xca28ed)=>{const _0xa5cf59=_0xce3cd0;for(var _0x10997a=_0xca28ed>0x1?void 0x0:_0xca28ed?_0x1775c4(_0x4d126c,_0x2d46b4):_0x4d126c,_0x1ea8ce=_0x1aa343[_0xa5cf59(0x37b)]-0x1,_0x4262f1;_0x1ea8ce>=0x0;_0x1ea8ce--)(_0x4262f1=_0x1aa343[_0x1ea8ce])&&(_0x10997a=_0x4262f1(_0x10997a)||_0x10997a);return _0x10997a;},_0xb875d8=(_0x714d89,_0x217691)=>(_0x3cab9c,_0x5bdeec)=>_0x217691(_0x3cab9c,_0x5bdeec,_0x714d89);let _0x220b52=class extends _0x295c8f['Disposable']{constructor(_0x538168,_0x27041c,_0xbdf5ac,_0x55bc07,_0x1132fa,_0x1779ee){const _0x43287c=_0xce3cd0;super(),this[_0x43287c(0x2b7)]=_0x538168,this[_0x43287c(0x174)]=_0x27041c,this[_0x43287c(0x3c1)]=_0xbdf5ac,this[_0x43287c(0x287)]=_0x55bc07,this['_notificationService']=_0x1132fa,this[_0x43287c(0x3fb)]=_0x1779ee,this[_0x43287c(0x1eb)](),this[_0x43287c(0x357)]();}[_0xce3cd0(0x1eb)](){const _0xc05b4c=_0xce3cd0;this[_0xc05b4c(0x43c)](this[_0xc05b4c(0x2b7)][_0xc05b4c(0x399)](()=>{const _0x15100c=_0xc05b4c;if(this[_0x15100c(0x174)][_0x15100c(0x19e)][_0x15100c(0x348)])return this[_0x15100c(0x3fb)]['t']('collaboration.offline-data-not-saved');}));}[_0xce3cd0(0x357)](){const _0x1518c1=_0xce3cd0;this[_0x1518c1(0x43c)](this[_0x1518c1(0x3c1)][_0x1518c1(0x449)][_0x1518c1(0x17f)](_0x14bc74=>{const _0x4a0f56=_0x1518c1;_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x1e9)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)]['Warning'],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x2ff))}),_0x14bc74['id']===_0x2cb61c['CollaborationUIEventId'][_0x4a0f56(0x2a5)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x2cb)],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x2f1))}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x2dc)]&&this[_0x4a0f56(0x400)][_0x4a0f56(0x1b8)]({'title':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x1a7)),'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x16c)),'type':_0x4a0f56(0x1b1),'duration':0x0}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x36b)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x25e)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x14bc74[_0x4a0f56(0x31b)]+')'}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x2a0)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761['MessageType'][_0x4a0f56(0x2cb)],'content':this['_localeService']['t'](_0x14bc74[_0x4a0f56(0x31b)]||'')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x196)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761['MessageType'][_0x4a0f56(0x2cb)],'content':this[_0x4a0f56(0x3fb)]['t']('session.will-retry')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x446)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761[_0x4a0f56(0x437)]['Error'],'content':this[_0x4a0f56(0x3fb)]['t']('session.connection-failed')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x279)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x25e)],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x40d))});}));}};_0x220b52=_0x589178([_0xb875d8(0x0,_0x189b11[_0xce3cd0(0x161)]),_0xb875d8(0x1,_0x2cb61c['ILocalCacheService']),_0xb875d8(0x2,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x390)])),_0xb875d8(0x3,_0x189b11[_0xce3cd0(0x1ab)]),_0xb875d8(0x4,_0x189b11[_0xce3cd0(0x2c1)]),_0xb875d8(0x5,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['LocaleService']))],_0x220b52);var _0x57b5b8=Object['getOwnPropertyDescriptor'],_0x41a65c=(_0x4d9ca7,_0x2acc7d,_0x6dea33,_0x4f3679)=>{const _0x20e84c=_0xce3cd0;for(var _0x42b3b8=_0x4f3679>0x1?void 0x0:_0x4f3679?_0x57b5b8(_0x2acc7d,_0x6dea33):_0x2acc7d,_0x571d6d=_0x4d9ca7[_0x20e84c(0x37b)]-0x1,_0x264da0;_0x571d6d>=0x0;_0x571d6d--)(_0x264da0=_0x4d9ca7[_0x571d6d])&&(_0x42b3b8=_0x264da0(_0x42b3b8)||_0x42b3b8);return _0x42b3b8;},_0x217677=(_0x4d7a58,_0x3b10e0)=>(_0xa37ad0,_0x452ff7)=>_0x3b10e0(_0xa37ad0,_0x452ff7,_0x4d7a58);let _0x39c89f=class extends _0x295c8f['Disposable']{constructor(_0x13de19,_0x49f9e0,_0x585522,_0x2bdc27){const _0xe8d1c8=_0xce3cd0;super(),_0xef452e(this,_0xe8d1c8(0x1b0)),(this[_0xe8d1c8(0x1f6)]=_0x13de19,this[_0xe8d1c8(0x220)]=_0x49f9e0,this[_0xe8d1c8(0x22d)]=_0x585522,this['_collaborationSessionService']=_0x2bdc27,this['_init']());}['_init'](){const _0x49cc39=_0xce3cd0;this[_0x49cc39(0x22a)](),this[_0x49cc39(0x242)](),this['_monkeyPatchLogService'](),this[_0x49cc39(0x299)]();}['_initUserListener'](){const _0x47a730=_0xce3cd0;this[_0x47a730(0x43c)](this[_0x47a730(0x234)][_0x47a730(0x25d)][_0x47a730(0x17f)](_0x40b096=>{const _0x406080=_0x47a730;this[_0x406080(0x1b0)]=_0x40b096==null?void 0x0:_0x40b096[_0x406080(0x3c4)];}));}[_0xce3cd0(0x22a)](){const _0xab63a=_0xce3cd0,_0x28e40e=_0x26b90f=>{const _0x582a79=_0x2541;var _0x53a79b;this[_0x582a79(0x26f)]('error',_0x582a79(0x40f)+_0x26b90f[_0x582a79(0x1d0)]+_0x582a79(0x34e)+_0x26b90f[_0x582a79(0x40a)]+':'+_0x26b90f[_0x582a79(0x385)]+':'+_0x26b90f[_0x582a79(0x3f0)]+'\x0a'+(((_0x53a79b=_0x26b90f[_0x582a79(0x1b1)])==null?void 0x0:_0x53a79b[_0x582a79(0x419)])||''));};window[_0xab63a(0x2e4)]('error',_0x28e40e),this[_0xab63a(0x43c)](()=>{const _0x33e7d7=_0xab63a;window[_0x33e7d7(0x2c2)](_0x33e7d7(0x1b1),_0x28e40e);});}[_0xce3cd0(0x242)](){const _0x40b5be=_0xce3cd0,_0x51de5b=_0x3f79b8=>{const _0x13c050=_0x2541;this[_0x13c050(0x26f)]('error',_0x13c050(0x1e2)+_0x3f79b8[_0x13c050(0x44b)]);};window[_0x40b5be(0x2e4)]('unhandledrejection',_0x51de5b),this[_0x40b5be(0x43c)](()=>{window['removeEventListener']('unhandledrejection',_0x51de5b);});}[_0xce3cd0(0x27b)](){const _0x12ac2b=_0xce3cd0,_0x1e9849=this[_0x12ac2b(0x22d)][_0x12ac2b(0x1b1)][_0x12ac2b(0x2df)](this[_0x12ac2b(0x22d)]);this[_0x12ac2b(0x22d)][_0x12ac2b(0x1b1)]=(..._0x1532ad)=>{const _0x7165a7=_0x12ac2b,_0xfbd7c6=_0x1532ad[_0x7165a7(0x16b)](_0x3b1fb1=>_0x3b1fb1 instanceof Error?_0x3b1fb1['message']+'\x0a'+_0x3b1fb1[_0x7165a7(0x419)]:String(_0x3b1fb1))[_0x7165a7(0x2f8)]('\x20');this[_0x7165a7(0x26f)]('error',_0x7165a7(0x1e7)+_0xfbd7c6),_0x1e9849(..._0x1532ad);},this[_0x12ac2b(0x43c)](()=>{const _0x3ff5a6=_0x12ac2b;this[_0x3ff5a6(0x22d)][_0x3ff5a6(0x1b1)]=_0x1e9849;});}[_0xce3cd0(0x26f)](_0x51f0b5,_0x19bc2f){const _0x5fb86=_0xce3cd0;try{const _0x4d76bd={'userId':this[_0x5fb86(0x1b0)],'logLabel':_0x51f0b5,'content':_0x19bc2f};this[_0x5fb86(0x220)][_0x5fb86(0x165)](_0x5fb86(0x189),{'body':_0x4d76bd})[_0x5fb86(0x3b8)](()=>{});}catch{}}};_0x39c89f=_0x41a65c([_0x217677(0x0,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x217677(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x217677(0x2,_0x295c8f[_0xce3cd0(0x29b)]),_0x217677(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x1c6)]))],_0x39c89f);const _0x1e1ed6=_0xce3cd0(0x3ad),_0xf2bce4={};var _0x51b493=Object[_0xce3cd0(0x3e7)],_0x28f25b=(_0x329664,_0x39570b,_0x1c4916,_0x58adcd)=>{const _0x341369=_0xce3cd0;for(var _0x112339=_0x58adcd>0x1?void 0x0:_0x58adcd?_0x51b493(_0x39570b,_0x1c4916):_0x39570b,_0x297f23=_0x329664[_0x341369(0x37b)]-0x1,_0x62da15;_0x297f23>=0x0;_0x297f23--)(_0x62da15=_0x329664[_0x297f23])&&(_0x112339=_0x62da15(_0x112339)||_0x112339);return _0x112339;},_0x4d91ef=(_0x27f01e,_0x41bb9f)=>(_0x21c315,_0x4ccde5)=>_0x41bb9f(_0x21c315,_0x4ccde5,_0x27f01e);let _0x13d4ed=class{constructor(_0x574a33,_0x31d1d3){const _0x2c39da=_0xce3cd0;this[_0x2c39da(0x3d4)]=_0x574a33,this[_0x2c39da(0x3a8)]=_0x31d1d3;}[_0xce3cd0(0x32d)](_0x271eb5){const _0x57e082=_0xce3cd0;this['_transformUndoRedoStack'](_0x271eb5),this[_0x57e082(0x2f6)](_0x271eb5);}['transformRemoteChangeset'](_0x426ea4){const _0x4f0998=_0xce3cd0,{unitID:_0x4429ae}=_0x426ea4,_0x54809e=this[_0x4f0998(0x3a8)][_0x4f0998(0x163)](_0x4429ae)[_0x4f0998(0x23a)](_0x442538[_0x4f0998(0x3ab)]),{redoCache:_0x329ecd}=_0x54809e[_0x4f0998(0x3b9)]();if(_0x329ecd['length']===0x0)return _0x426ea4;let _0x38ddfa=_0x295c8f[_0x4f0998(0x182)][_0x4f0998(0x179)](_0x426ea4[_0x4f0998(0x324)][0x0]);for(let _0x5edd61=0x0;_0x5edd61<_0x329ecd[_0x4f0998(0x37b)];_0x5edd61++){const _0x2af366={'id':_0x4f0998(0x20d),'params':{..._0x329ecd[_0x5edd61]}},_0x5e2bc8=this[_0x4f0998(0x3d4)][_0x4f0998(0x25f)](_0x38ddfa,_0x2af366,!0x1);if(_0x143a87[_0x4f0998(0x44d)](_0x5e2bc8))throw _0x5e2bc8[_0x4f0998(0x1b1)];_0x38ddfa=_0x5e2bc8[_0x4f0998(0x2b0)];}return{..._0x295c8f[_0x4f0998(0x182)][_0x4f0998(0x179)](_0x426ea4),'mutations':[_0x38ddfa]};}[_0xce3cd0(0x43f)](_0x109a8c){const _0x1e0735=_0xce3cd0,{unitID:_0x1a5bd4}=_0x109a8c,_0x214a2f=this[_0x1e0735(0x3a8)]['getRenderById'](_0x1a5bd4)[_0x1e0735(0x23a)](_0x442538[_0x1e0735(0x3ab)]),{undoCache:_0x158838,redoCache:_0x4000c3}=_0x214a2f[_0x1e0735(0x3b9)]();if(_0x158838[_0x1e0735(0x37b)]===0x0||_0x4000c3[_0x1e0735(0x37b)]===0x0)return;const _0x4db19b=[],_0x441c93=[];let _0x5e2c61=_0x295c8f[_0x1e0735(0x182)][_0x1e0735(0x179)](_0x109a8c[_0x1e0735(0x324)][0x0]),_0x45c7fd=_0x295c8f[_0x1e0735(0x182)]['deepClone'](_0x109a8c[_0x1e0735(0x324)][0x0]);for(let _0x53b0f7=_0x158838['length']-0x1;_0x53b0f7>=0x0;_0x53b0f7--){const _0x46a239={'id':'doc.mutation.rich-text-editing','params':{..._0x158838[_0x53b0f7]}},_0x3881b2={'id':_0x1e0735(0x20d),'params':{..._0x4000c3[_0x53b0f7]}},_0x10db8d=this[_0x1e0735(0x3d4)]['transformMutation'](_0x5e2c61,_0x46a239,!0x1),_0x2f0001=this[_0x1e0735(0x3d4)]['transformMutation'](_0x45c7fd,_0x3881b2,!0x1);if(_0x143a87[_0x1e0735(0x44d)](_0x10db8d))throw _0x10db8d['error'];if(_0x143a87[_0x1e0735(0x44d)](_0x2f0001))throw _0x2f0001['error'];_0x4db19b[_0x1e0735(0x1aa)](_0x10db8d[_0x1e0735(0x40c)][_0x1e0735(0x275)]),_0x441c93[_0x1e0735(0x1aa)](_0x2f0001[_0x1e0735(0x40c)]['params']),_0x5e2c61=_0x10db8d[_0x1e0735(0x2b0)],_0x45c7fd=_0x2f0001[_0x1e0735(0x2b0)];}_0x214a2f[_0x1e0735(0x3ee)]({'undoCache':_0x4db19b,'redoCache':_0x441c93});}['_transformPreviousActiveRange'](_0x31866e){const _0x4fb713=_0xce3cd0,{unitID:_0x559294}=_0x31866e,_0x198d07=this[_0x4fb713(0x3a8)]['getRenderById'](_0x559294)[_0x4fb713(0x23a)](_0x442538[_0x4fb713(0x3ab)]),_0x479c61=_0x198d07['getActiveRange']();if(_0x479c61==null)return;const _0x243288=[{'id':_0x4fb713(0x20d),'params':{'unitId':_0x31866e[_0x4fb713(0x445)],'actions':null,'textRanges':[_0x479c61]}}],_0x2e852c=this['_transformService'][_0x4fb713(0x1b4)](_0x31866e,_0x243288);if(!_0x143a87[_0x4fb713(0x3f2)](_0x2e852c))throw _0x2e852c[_0x4fb713(0x1b1)];const _0x108e64=_0x2e852c[_0x4fb713(0x40c)][0x0][_0x4fb713(0x275)][_0x4fb713(0x1c5)];Array[_0x4fb713(0x3c9)](_0x108e64)&&_0x108e64['length']&&_0x198d07[_0x4fb713(0x160)](_0x108e64[0x0]);}};_0x13d4ed=_0x28f25b([_0x4d91ef(0x0,_0x143a87[_0xce3cd0(0x169)]),_0x4d91ef(0x1,_0x8db91b[_0xce3cd0(0x455)])],_0x13d4ed);var _0x26a255=Object[_0xce3cd0(0x3e7)],_0x179deb=(_0x31cbf2,_0x4704b8,_0x16b595,_0x4f709c)=>{const _0x37575a=_0xce3cd0;for(var _0x19aca4=_0x4f709c>0x1?void 0x0:_0x4f709c?_0x26a255(_0x4704b8,_0x16b595):_0x4704b8,_0x19114c=_0x31cbf2[_0x37575a(0x37b)]-0x1,_0x377069;_0x19114c>=0x0;_0x19114c--)(_0x377069=_0x31cbf2[_0x19114c])&&(_0x19aca4=_0x377069(_0x19aca4)||_0x19aca4);return _0x19aca4;},_0x5cc411=(_0xce6db,_0x4f33f6)=>(_0x2304b6,_0x42e043)=>_0x4f33f6(_0x2304b6,_0x42e043,_0xce6db);let _0x214e70=class{constructor(_0x4eb52b,_0x1f2976,_0x4e34dd){const _0x2695a2=_0xce3cd0;this['_injector']=_0x4eb52b,this[_0x2695a2(0x3d4)]=_0x1f2976,this[_0x2695a2(0x26c)]=_0x4e34dd;}['transformStateCache'](_0x5d27c3){const _0x2b34c6=_0xce3cd0;this[_0x2b34c6(0x294)](_0x5d27c3);}[_0xce3cd0(0x3cb)](_0x2e6a11){const _0x4f281c=_0xce3cd0,{unitID:_0x551745}=_0x2e6a11,{collaboration:_0x4fb24a}=this['_docStateChangeManagerService'][_0x4f281c(0x1fe)](_0x551745);if(_0x4fb24a[_0x4f281c(0x37b)]===0x0)return _0x2e6a11;let _0x1ff504=_0x295c8f[_0x4f281c(0x182)][_0x4f281c(0x179)](_0x2e6a11[_0x4f281c(0x324)][0x0]);for(let _0x342b8c=0x0;_0x342b8c<_0x4fb24a['length'];_0x342b8c++){const _0x3ffb6a={'id':_0x4f281c(0x20d),'params':{'unitId':_0x4fb24a[_0x342b8c][_0x4f281c(0x34f)],..._0x4fb24a[_0x342b8c][_0x4f281c(0x1e4)]}},_0x214e07=this[_0x4f281c(0x3d4)][_0x4f281c(0x25f)](_0x1ff504,_0x3ffb6a,!0x1);if(_0x143a87[_0x4f281c(0x44d)](_0x214e07))throw _0x214e07['error'];_0x1ff504=_0x214e07[_0x4f281c(0x2b0)];}return{..._0x295c8f[_0x4f281c(0x182)][_0x4f281c(0x179)](_0x2e6a11),'mutations':[_0x1ff504]};}[_0xce3cd0(0x294)](_0x56ce2d){const _0x446302=_0xce3cd0,{unitID:_0x25ffc5}=_0x56ce2d,{history:_0x4b4b8f,collaboration:_0x1de16b}=this[_0x446302(0x26c)][_0x446302(0x1fe)](_0x25ffc5);if(_0x4b4b8f[_0x446302(0x37b)]===0x0&&_0x1de16b['length']===0x0)return;const _0x2f5b13=[],_0x4cd511=[];let _0x4c2a45=_0x295c8f[_0x446302(0x182)][_0x446302(0x179)](_0x56ce2d[_0x446302(0x324)][0x0]),_0x35c105=_0x295c8f[_0x446302(0x182)]['deepClone'](_0x56ce2d[_0x446302(0x324)][0x0]);for(let _0x5315d1=_0x4b4b8f[_0x446302(0x37b)]-0x1;_0x5315d1>=0x0;_0x5315d1--){const _0x1e3614={'id':_0x446302(0x20d),'params':{'unitId':_0x4b4b8f[_0x5315d1][_0x446302(0x34f)],..._0x4b4b8f[_0x5315d1][_0x446302(0x20b)]}},_0x5d6e41={'id':_0x446302(0x20d),'params':{'unitId':_0x4b4b8f[_0x5315d1][_0x446302(0x34f)],..._0x4b4b8f[_0x5315d1][_0x446302(0x1e4)]}},_0x255bbb=this[_0x446302(0x3d4)]['transformMutation'](_0x4c2a45,_0x1e3614,!0x1),_0x4e1d0b=this[_0x446302(0x3d4)][_0x446302(0x25f)](_0x35c105,_0x5d6e41,!0x1);if(_0x143a87[_0x446302(0x44d)](_0x255bbb))throw _0x255bbb[_0x446302(0x1b1)];if(_0x143a87[_0x446302(0x44d)](_0x4e1d0b))throw _0x4e1d0b[_0x446302(0x1b1)];_0x2f5b13[_0x446302(0x1aa)]({..._0x4b4b8f[_0x5315d1],'undoState':_0x255bbb[_0x446302(0x40c)][_0x446302(0x275)],'redoState':_0x4e1d0b[_0x446302(0x40c)][_0x446302(0x275)]}),_0x4c2a45=_0x255bbb['m1Prime'],_0x35c105=_0x4e1d0b['m1Prime'];}_0x4c2a45=_0x295c8f[_0x446302(0x182)][_0x446302(0x179)](_0x56ce2d[_0x446302(0x324)][0x0]),_0x35c105=_0x295c8f['Tools'][_0x446302(0x179)](_0x56ce2d['mutations'][0x0]);for(let _0x37451b=_0x1de16b['length']-0x1;_0x37451b>=0x0;_0x37451b--){const _0xa21d82={'id':_0x446302(0x20d),'params':{'unitId':_0x1de16b[_0x37451b][_0x446302(0x34f)],..._0x1de16b[_0x37451b]['undoState']}},_0x1b1533={'id':_0x446302(0x20d),'params':{'unitId':_0x1de16b[_0x37451b][_0x446302(0x34f)],..._0x1de16b[_0x37451b][_0x446302(0x1e4)]}},_0x3e02f5=this[_0x446302(0x3d4)][_0x446302(0x25f)](_0x4c2a45,_0xa21d82,!0x1),_0x50444f=this[_0x446302(0x3d4)]['transformMutation'](_0x35c105,_0x1b1533,!0x1);if(_0x143a87['isTransformMutationFailure'](_0x3e02f5))throw _0x3e02f5[_0x446302(0x1b1)];if(_0x143a87[_0x446302(0x44d)](_0x50444f))throw _0x50444f[_0x446302(0x1b1)];_0x4cd511[_0x446302(0x1aa)]({..._0x1de16b[_0x37451b],'undoState':_0x3e02f5[_0x446302(0x40c)][_0x446302(0x275)],'redoState':_0x50444f[_0x446302(0x40c)]['params']}),_0x4c2a45=_0x3e02f5[_0x446302(0x2b0)],_0x35c105=_0x50444f[_0x446302(0x2b0)];}this[_0x446302(0x26c)][_0x446302(0x388)](_0x25ffc5,{'history':_0x2f5b13,'collaboration':_0x4cd511});}};_0x214e70=_0x179deb([_0x5cc411(0x0,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x405)])),_0x5cc411(0x1,_0x143a87[_0xce3cd0(0x169)]),_0x5cc411(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x442538[_0xce3cd0(0x39d)]))],_0x214e70);var _0x4a01dd=Object['getOwnPropertyDescriptor'],_0x5064aa=(_0x3bae9a,_0x3ae7e0,_0x16c60e,_0x55491e)=>{for(var _0x3acf49=_0x55491e>0x1?void 0x0:_0x55491e?_0x4a01dd(_0x3ae7e0,_0x16c60e):_0x3ae7e0,_0x1b272b=_0x3bae9a['length']-0x1,_0xda022d;_0x1b272b>=0x0;_0x1b272b--)(_0xda022d=_0x3bae9a[_0x1b272b])&&(_0x3acf49=_0xda022d(_0x3acf49)||_0x3acf49);return _0x3acf49;},_0x357df1=(_0x13b52d,_0x59fe2f)=>(_0x44f928,_0x1539e3)=>_0x59fe2f(_0x44f928,_0x1539e3,_0x13b52d);let _0x5af825=class{constructor(_0x3e4c27,_0xb58c0a){const _0x225452=_0xce3cd0;this[_0x225452(0x1f6)]=_0x3e4c27,this['_transformService']=_0xb58c0a;}[_0xce3cd0(0x32c)](_0x1a6a46){const _0x4d9771=_0xce3cd0;var _0xbdb5a1;const _0x381c57=this[_0x4d9771(0x1f6)][_0x4d9771(0x3fa)](_0x400651['DocSelectionManagerService']),_0x194aa2=(_0xbdb5a1=_0x381c57[_0x4d9771(0x340)]())!=null?_0xbdb5a1:[];if(_0x194aa2[_0x4d9771(0x37b)]===0x0)return;const _0xe3e57f=_0x1a6a46['unitID'],_0xe017f3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe3e57f,'actions':null,'textRanges':_0x194aa2}}],_0x1aa92f=this[_0x4d9771(0x3d4)]['transformMutationsWithChangeset'](_0x1a6a46,_0xe017f3);if(!_0x143a87[_0x4d9771(0x3f2)](_0x1aa92f))throw _0x1aa92f[_0x4d9771(0x1b1)];const _0x4d8ebd=_0x1aa92f[_0x4d9771(0x40c)][0x0]['params'][_0x4d9771(0x1c5)];Array[_0x4d9771(0x3c9)](_0x4d8ebd)&&_0x4d8ebd['length']&&_0x381c57[_0x4d9771(0x3b2)](_0x4d8ebd,{'unitId':_0xe3e57f,'subUnitId':_0xe3e57f},!0x1);}};_0x5af825=_0x5064aa([_0x357df1(0x0,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x405)])),_0x357df1(0x1,_0x143a87[_0xce3cd0(0x169)])],_0x5af825);var _0x1e0e59=Object[_0xce3cd0(0x3e7)],_0x1b682=(_0x4744a8,_0x1695d9,_0x2ae70d,_0x101fd0)=>{const _0xf5f6ea=_0xce3cd0;for(var _0x10533d=_0x101fd0>0x1?void 0x0:_0x101fd0?_0x1e0e59(_0x1695d9,_0x2ae70d):_0x1695d9,_0xc2e0bd=_0x4744a8[_0xf5f6ea(0x37b)]-0x1,_0x3cf109;_0xc2e0bd>=0x0;_0xc2e0bd--)(_0x3cf109=_0x4744a8[_0xc2e0bd])&&(_0x10533d=_0x3cf109(_0x10533d)||_0x10533d);return _0x10533d;},_0x5815dd=(_0x3bffad,_0x57d194)=>(_0x388530,_0x51a730)=>_0x57d194(_0x388530,_0x51a730,_0x3bffad);let _0x9f9f49=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x5b1c88,_0x1adae2,_0xb26174,_0x1b08d4,_0x2bb4ac,_0x321581,_0x3ca2fe,_0xba85df){const _0x29c28f=_0xce3cd0;super(),_0xef452e(this,_0x29c28f(0x414),new _0x58c226[(_0x29c28f(0x43b))](_0x2cb61c[_0x29c28f(0x36d)][_0x29c28f(0x21f)])),(this[_0x29c28f(0x26c)]=_0x5b1c88,this[_0x29c28f(0x392)]=_0x1adae2,this['_docTransformIMECacheService']=_0xb26174,this[_0x29c28f(0x37c)]=_0x1b08d4,this['_docTransformSelectionsService']=_0x2bb4ac,this[_0x29c28f(0x25b)]=_0x321581,this[_0x29c28f(0x287)]=_0x3ca2fe,this[_0x29c28f(0x3fb)]=_0xba85df,this[_0x29c28f(0x1c2)]());}[_0xce3cd0(0x1c2)](){const _0xf5bfe3=_0xce3cd0;this[_0xf5bfe3(0x43c)](this[_0xf5bfe3(0x392)]['entityInit$'][_0xf5bfe3(0x17f)](_0xe00a4f=>{const _0x2b44d3=_0xf5bfe3,_0x347fdf=this[_0x2b44d3(0x26c)][_0x2b44d3(0x2ac)][_0x2b44d3(0x17f)](_0x4da6cf=>{const _0x235b1e=_0x2b44d3;if(_0x4da6cf==null)return;const {unitId:_0x86b15f,redoState:_0x2214be,commandId:_0x1db534}=_0x4da6cf;if(_0x86b15f!==_0xe00a4f[_0x235b1e(0x445)])return;const _0x50145b={'id':_0x1db534,'type':_0x295c8f[_0x235b1e(0x24b)][_0x235b1e(0x16d)],'params':{'unitId':_0x86b15f,'actions':_0x2214be[_0x235b1e(0x1f9)],'textRanges':null}};_0xe00a4f[_0x235b1e(0x3b5)](_0x50145b);});if(_0xe00a4f['disposeWithMe'](_0x347fdf),_0xe00a4f instanceof _0x2cb61c[_0x2b44d3(0x213)]){const _0xc3055={'onTransformIME':_0x5ae32b=>this[_0x2b44d3(0x217)][_0x2b44d3(0x32d)](_0x5ae32b),'onTransformState':_0x2f9fdc=>this['_docTransformStateCacheService']['transformStateCache'](_0x2f9fdc),'onTransformSelections':_0x13bcbf=>this[_0x2b44d3(0x18e)]['transformSelections'](_0x13bcbf),'onSyncEditingCollabCursor':_0x42d093=>this['_docSyncEditingCollabCursorService'][_0x2b44d3(0x1cb)](_0x42d093),'onTransformRemoteChangesetByIMECache':_0x540ea2=>this[_0x2b44d3(0x217)][_0x2b44d3(0x3cb)](_0x540ea2),'onTransformRemoteChangesetByStateCache':_0x32fc37=>this['_docTransformStateCacheService'][_0x2b44d3(0x3cb)](_0x32fc37)};_0xe00a4f[_0x2b44d3(0x1df)](_0xc3055);}}));}};_0x9f9f49=_0x1b682([_0x5815dd(0x0,_0x295c8f['Inject'](_0x442538['DocStateChangeManagerService'])),_0x5815dd(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c['CollaborationController'])),_0x5815dd(0x2,_0x295c8f['Inject'](_0x13d4ed)),_0x5815dd(0x3,_0x295c8f['Inject'](_0x214e70)),_0x5815dd(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x5af825)),_0x5815dd(0x5,_0x295c8f[_0xce3cd0(0x2fb)](_0x109a2a)),_0x5815dd(0x6,_0x189b11['IMessageService']),_0x5815dd(0x7,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x237)]))],_0x9f9f49);var _0x3f8266=(_0xcd04ae=>(_0xcd04ae[_0xcd04ae[_0xce3cd0(0x175)]=0x0]='UNDEFINED',_0xcd04ae[_0xcd04ae['OK']=0x1]='OK',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1a0)]=0x2]=_0xce3cd0(0x1a0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2dc)]=0x3]=_0xce3cd0(0x2dc),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2b5)]=0x4]=_0xce3cd0(0x2b5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1ee)]=0x5]='UNAUTHENTICATED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x395)]=0x6]=_0xce3cd0(0x395),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2bb)]=0x7]=_0xce3cd0(0x2bb),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x41a)]=0x8]='TOO_MANY_REQUESTS',_0xcd04ae[_0xcd04ae['COMPLETION_FINISHED']=0x9]=_0xce3cd0(0x2e9),_0xcd04ae[_0xcd04ae['LOGIN_FAILED']=0xa]=_0xce3cd0(0x2b6),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x241)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1e1)]=0xc]=_0xce3cd0(0x1e1),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x210)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xcd04ae[_0xcd04ae['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xce3cd0(0x353),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x451)]=0xf]=_0xce3cd0(0x451),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x28b)]=0x10]=_0xce3cd0(0x28b),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1d3)]=0x64]=_0xce3cd0(0x1d3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x251)]=0x65]=_0xce3cd0(0x251),_0xcd04ae[_0xcd04ae['USER_NOT_FOUND']=0xc9]=_0xce3cd0(0x21a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1de)]=0xca]=_0xce3cd0(0x1de),_0xcd04ae[_0xcd04ae['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xce3cd0(0x3d3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2e3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2f5)]=0x1772]=_0xce3cd0(0x2f5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x383)]=0x1773]=_0xce3cd0(0x383),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x312)]=0x1b59]=_0xce3cd0(0x312),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x43a)]=0x1b5a]=_0xce3cd0(0x43a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2ba)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xcd04ae[_0xcd04ae['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xce3cd0(0x418),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3e1)]=0x1b5d]=_0xce3cd0(0x3e1),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3a5)]=0x1f41]=_0xce3cd0(0x3a5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ff)]=0x2329]=_0xce3cd0(0x3ff),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x24d)]=0x232a]=_0xce3cd0(0x24d),_0xcd04ae[_0xcd04ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xcd04ae[_0xcd04ae['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x24c)]=0x232d]=_0xce3cd0(0x24c),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x38b)]=0x2711]=_0xce3cd0(0x38b),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x42f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x373)]=0x2713]=_0xce3cd0(0x373),_0xcd04ae[_0xcd04ae['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xce3cd0(0x359),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x31d)]=0x271a]=_0xce3cd0(0x31d),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x274)]=0x271b]=_0xce3cd0(0x274),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ef)]=0x271c]=_0xce3cd0(0x3ef),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1e6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x401)]=0x271e]=_0xce3cd0(0x401),_0xcd04ae[_0xcd04ae['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2d4)]=0x2720]=_0xce3cd0(0x2d4),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b3)]=0x2af9]=_0xce3cd0(0x1b3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x253)]=0x2ee1]=_0xce3cd0(0x253),_0xcd04ae[_0xcd04ae['INVALID_INVITE_CODE']=0x2ee2]=_0xce3cd0(0x212),_0xcd04ae[_0xcd04ae['INVITE_CODE_REQUIRED']=0x2ee3]=_0xce3cd0(0x29e),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x337)]=0x2ee4]=_0xce3cd0(0x337),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x215)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x18b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2ec)]=0x32ca]=_0xce3cd0(0x2ec),_0xcd04ae[_0xcd04ae['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xce3cd0(0x2b2),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x23e)]=0x36b1]=_0xce3cd0(0x23e),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x345)]=0x36b2]=_0xce3cd0(0x345),_0xcd04ae[_0xcd04ae['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xce3cd0(0x35a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2fc)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b5)]=0x36b5]=_0xce3cd0(0x1b5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x35e)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0xcd04ae[_0xcd04ae['ENTITLE_COUPON_USED_UP']=0x36b7]=_0xce3cd0(0x1c0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x387)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1be)]=0x3715]=_0xce3cd0(0x1be),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3de)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b6)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x233)]=0x37dd]=_0xce3cd0(0x233),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3af)]=0x3a99]=_0xce3cd0(0x3af),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x406)]=0x3a9a]=_0xce3cd0(0x406),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ea)]=0x3a9b]=_0xce3cd0(0x3ea),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x33c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x34a)]=0x3a9d]=_0xce3cd0(0x34a),_0xcd04ae[_0xcd04ae['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xce3cd0(0x1e0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x439)]=0x3a9f]=_0xce3cd0(0x439),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x284)]=0x3e81]=_0xce3cd0(0x284),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x23f)]=-0x1]=_0xce3cd0(0x23f),_0xcd04ae))(_0x3f8266||{});function _0x59df2d(_0x1413d7){const _0x1b374e=_0xce3cd0;var _0x28dd71,_0x467043;const _0x104e51=(_0x28dd71=_0x1413d7['stageInfo'])==null?void 0x0:_0x28dd71[_0x1b374e(0x2e0)],_0x3d0813=((_0x467043=_0x1413d7[_0x1b374e(0x39a)])==null?void 0x0:_0x467043['totalFormulasToCalculate'])||0x0;return _0x104e51===_0x218d3f['FormulaExecuteStageType'][_0x1b374e(0x19f)]&&_0x3d0813>0x0;}function _0x4562a9(_0x5e1f5d){return _0x5e1f5d['functionsExecutedState']===_0x218d3f['FormulaExecutedStateType']['SUCCESS'];}var _0x2f01f2=Object[_0xce3cd0(0x3e7)],_0x1206dd=(_0x1b6e39,_0x4c10a5,_0x481fc5,_0x4faf39)=>{for(var _0xa60039=_0x4faf39>0x1?void 0x0:_0x4faf39?_0x2f01f2(_0x4c10a5,_0x481fc5):_0x4c10a5,_0x3fe4d1=_0x1b6e39['length']-0x1,_0x8918b2;_0x3fe4d1>=0x0;_0x3fe4d1--)(_0x8918b2=_0x1b6e39[_0x3fe4d1])&&(_0xa60039=_0x8918b2(_0xa60039)||_0xa60039);return _0xa60039;},_0x4181cf=(_0x3810b0,_0x366bbd)=>(_0xcf69cd,_0x25793b)=>_0x366bbd(_0xcf69cd,_0x25793b,_0x3810b0);const _0x5a8e9d=_0xce3cd0(0x370),_0x3d3bba='/universer-api/license/formula/limit/start',_0x3266f8='/universer-api/license/formula/limit/done';let _0x42b753=class extends _0x295c8f['Disposable']{constructor(_0x4d6edc,_0x3ef51c,_0x2ee521,_0x390c71,_0x150785,_0x51bec2,_0x446f6f){const _0x58903d=_0xce3cd0;super(),_0xef452e(this,_0x58903d(0x329),null),_0xef452e(this,'_maxFormulaLimit',0x0),_0xef452e(this,_0x58903d(0x3cd),0x0),_0xef452e(this,_0x58903d(0x33a),[]),_0xef452e(this,_0x58903d(0x25a),0x0),(this[_0x58903d(0x287)]=_0x4d6edc,this[_0x58903d(0x223)]=_0x3ef51c,this[_0x58903d(0x32b)]=_0x2ee521,this[_0x58903d(0x220)]=_0x390c71,this[_0x58903d(0x2a9)]=_0x150785,this[_0x58903d(0x22d)]=_0x51bec2,this[_0x58903d(0x3fb)]=_0x446f6f,this[_0x58903d(0x180)]());}['_initCommandInterceptor'](){const _0x317791=_0xce3cd0;this[_0x317791(0x43c)](this['_commandService'][_0x317791(0x369)]((_0x4cdb31,_0x18e888)=>{const _0x580803=_0x317791;var _0x4598af;if(_0x4cdb31['id']!==_0x218d3f[_0x580803(0x3f3)]['id'])return;const _0x414df5=_0x4cdb31[_0x580803(0x275)];if(!this['_hasFormulaInDirtyRanges']((_0x4598af=_0x414df5[_0x580803(0x3d8)])!=null?_0x4598af:[]))return;if(!this[_0x580803(0x3f1)]())throw this[_0x580803(0x31a)](_0x4cdb31,_0x18e888),this['_showGuardMessage'](),new _0x295c8f['CanceledError']();})),this['disposeWithMe'](this['_commandService'][_0x317791(0x19c)]((_0x159950,_0x499416)=>{const _0x341be3=_0x317791;if(_0x159950['id']!==_0x218d3f[_0x341be3(0x31e)]['id'])return;const _0x1d7f4d=_0x159950[_0x341be3(0x275)];if(_0x59df2d(_0x1d7f4d)){const _0x126e32=_0x295c8f[_0x341be3(0x17e)]();this[_0x341be3(0x33a)]['push'](_0x126e32),this['_startCalculationLimit'](_0x126e32);}else{if(_0x4562a9(_0x1d7f4d)&&this[_0x341be3(0x33a)]['length']>0x0){const _0x2fc38e=this[_0x341be3(0x33a)][_0x341be3(0x334)]();this[_0x341be3(0x442)](_0x2fc38e);}}}));}[_0xce3cd0(0x2a7)](){const _0x1000d6=_0xce3cd0;super[_0x1000d6(0x2a7)](),this[_0x1000d6(0x377)](),this['_taskIds']=[],this[_0x1000d6(0x3cd)]=0x0,this[_0x1000d6(0x355)]=0x0,this[_0x1000d6(0x25a)]=0x0;}async[_0xce3cd0(0x31a)](_0x367882,_0x3c7e48){const _0x1183ad=_0xce3cd0;for(let _0x249b74=0x0;_0x249b74<0x1e;_0x249b74++)try{if(await this[_0x1183ad(0x342)](),this[_0x1183ad(0x3f1)]()){this[_0x1183ad(0x2d9)](_0x367882,_0x3c7e48),this[_0x1183ad(0x287)]['show']({'content':this['_localeService']['t'](_0x1183ad(0x436)),'type':_0x599761[_0x1183ad(0x437)][_0x1183ad(0x18a)]});return;}await new Promise(_0x512d99=>{const _0x439bca=_0x1183ad;this[_0x439bca(0x329)]=window[_0x439bca(0x454)](_0x512d99,0x3e8);});}catch(_0x1edee7){this[_0x1183ad(0x22d)][_0x1183ad(0x1b1)](_0x1edee7);}this[_0x1183ad(0x287)][_0x1183ad(0x1b8)]({'content':this[_0x1183ad(0x3fb)]['t'](_0x1183ad(0x225)),'type':_0x599761[_0x1183ad(0x437)][_0x1183ad(0x25e)]});}['_applyCommand'](_0x259872,_0x1fd9f1){const _0x46dbb7=_0xce3cd0;try{this[_0x46dbb7(0x223)][_0x46dbb7(0x37e)](_0x259872['id'],_0x259872[_0x46dbb7(0x275)],_0x1fd9f1);}catch(_0x3df58c){this[_0x46dbb7(0x22d)][_0x46dbb7(0x1b1)](_0x3df58c);}}[_0xce3cd0(0x2eb)](_0x1651a7,_0x12bd71){const _0x2a9eb4=_0xce3cd0;_0x12bd71<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x12bd71,this[_0x2a9eb4(0x355)]=Number[_0x2a9eb4(0x276)](_0x1651a7[_0x2a9eb4(0x358)]),this['_currentUsage']=Number[_0x2a9eb4(0x276)](_0x1651a7[_0x2a9eb4(0x1ce)]));}async['_startCalculationLimit'](_0x579af2){const _0x32484d=_0xce3cd0;var _0x5bc4eb,_0x4c9c37;const _0x2d784f=Date[_0x32484d(0x1f1)]();try{const _0x23c881=((_0x5bc4eb=this[_0x32484d(0x32b)][_0x32484d(0x310)](_0x2cb61c[_0x32484d(0x271)]))==null?void 0x0:_0x5bc4eb['startFormulaLimitUrl'])||_0x3d3bba,_0xedc653=(await this['_httpService'][_0x32484d(0x165)](_0x23c881,{'body':JSON[_0x32484d(0x221)]({'taskId':_0x579af2})}))['body'];if(((_0x4c9c37=_0xedc653[_0x32484d(0x1b1)])==null?void 0x0:_0x4c9c37['code'])!==_0x3f8266['OK'])return;this[_0x32484d(0x2eb)](_0xedc653[_0x32484d(0x1fd)],_0x2d784f);}catch(_0x2dc7b2){this[_0x32484d(0x22d)][_0x32484d(0x1b1)](_0x2dc7b2);}}async[_0xce3cd0(0x342)](_0x4a5adf){const _0x3fd688=_0xce3cd0;var _0x1515c4,_0x1a8834;const _0x23c77c=Date[_0x3fd688(0x1f1)]();try{const _0x3a716e=((_0x1515c4=this[_0x3fd688(0x32b)][_0x3fd688(0x310)](_0x2cb61c[_0x3fd688(0x271)]))==null?void 0x0:_0x1515c4[_0x3fd688(0x2d2)])||_0x5a8e9d,_0x2da31d=_0x4a5adf?_0x3a716e+_0x3fd688(0x197)+encodeURIComponent(_0x4a5adf):_0x3a716e,_0x409876=(await this[_0x3fd688(0x220)][_0x3fd688(0x3fa)](_0x2da31d))['body'];if(((_0x1a8834=_0x409876[_0x3fd688(0x1b1)])==null?void 0x0:_0x1a8834[_0x3fd688(0x216)])!==_0x3f8266['OK'])return;this[_0x3fd688(0x2eb)](_0x409876['limitInfo'],_0x23c77c);}catch(_0x6b797a){this[_0x3fd688(0x22d)][_0x3fd688(0x1b1)](_0x6b797a);}}async[_0xce3cd0(0x442)](_0x3c0ea4){const _0x3fb985=_0xce3cd0;var _0x3289a2,_0x3d9a8b;const _0x37ced9=Date[_0x3fb985(0x1f1)]();try{const _0x54822f=((_0x3289a2=this['_configService'][_0x3fb985(0x310)](_0x2cb61c[_0x3fb985(0x271)]))==null?void 0x0:_0x3289a2['releaseFormulaLimitUrl'])||_0x3266f8,_0x11d6c8=(await this['_httpService']['post'](_0x54822f,{'body':JSON['stringify']({'taskId':_0x3c0ea4})}))[_0x3fb985(0x17d)];if(((_0x3d9a8b=_0x11d6c8[_0x3fb985(0x1b1)])==null?void 0x0:_0x3d9a8b[_0x3fb985(0x216)])!==_0x3f8266['OK'])return;this[_0x3fb985(0x2eb)](_0x11d6c8['limitInfo'],_0x37ced9);}catch(_0x54af2b){this[_0x3fb985(0x22d)]['error'](_0x54af2b);}}['_checkCalculationAvailable'](){const _0x239e14=_0xce3cd0;return this[_0x239e14(0x355)]===0x0?!0x0:this[_0x239e14(0x355)]-this[_0x239e14(0x3cd)]>0x0;}['_clearPolling'](){const _0x127c00=_0xce3cd0;this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this[_0x127c00(0x329)]=null);}[_0xce3cd0(0x1c1)](){const _0x1d1640=_0xce3cd0;this[_0x1d1640(0x287)][_0x1d1640(0x1b8)]({'content':this[_0x1d1640(0x3fb)]['t'](_0x1d1640(0x1bb)),'type':_0x599761[_0x1d1640(0x437)][_0x1d1640(0x232)]});}[_0xce3cd0(0x15f)](_0x19a84d){const _0x51e345=_0xce3cd0;for(const _0xc45b9c of _0x19a84d){const {unitId:_0x394a30,sheetId:_0x3c2205,range:_0x5d661d}=_0xc45b9c,_0x546d5d=this['_univerInstanceService'][_0x51e345(0x158)](_0x394a30);if(!_0x546d5d)continue;const _0x13e930=_0x546d5d[_0x51e345(0x411)](_0x3c2205);if(!_0x13e930)continue;const _0x24a26a=_0x13e930[_0x51e345(0x27d)]();for(let _0x35cf53=_0x5d661d[_0x51e345(0x1ad)];_0x35cf53<=_0x5d661d[_0x51e345(0x361)];_0x35cf53++)for(let _0x19f6a4=_0x5d661d['startColumn'];_0x19f6a4<=_0x5d661d['endColumn'];_0x19f6a4++){const _0x57873e=_0x24a26a[_0x51e345(0x2a1)](_0x35cf53,_0x19f6a4);if(_0x57873e&&(_0x295c8f[_0x51e345(0x44f)](_0x57873e['f'])||_0x295c8f[_0x51e345(0x300)](_0x57873e['si'])))return!0x0;}}return!0x1;}};_0x42b753=_0x1206dd([_0x4181cf(0x0,_0x295c8f[_0xce3cd0(0x2fb)](_0x189b11[_0xce3cd0(0x1ab)])),_0x4181cf(0x1,_0x295c8f[_0xce3cd0(0x2f7)]),_0x4181cf(0x2,_0x295c8f[_0xce3cd0(0x3ec)]),_0x4181cf(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x4181cf(0x4,_0x295c8f['IUniverInstanceService']),_0x4181cf(0x5,_0x295c8f[_0xce3cd0(0x29b)]),_0x4181cf(0x6,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x237)]))],_0x42b753);var _0x7e89c6=Object[_0xce3cd0(0x3e7)],_0x33ad81=(_0x3caf23,_0x81fbfc,_0x20def8,_0x41f4b1)=>{for(var _0x16ab70=_0x41f4b1>0x1?void 0x0:_0x41f4b1?_0x7e89c6(_0x81fbfc,_0x20def8):_0x81fbfc,_0x26b1cc=_0x3caf23['length']-0x1,_0x393cc3;_0x26b1cc>=0x0;_0x26b1cc--)(_0x393cc3=_0x3caf23[_0x26b1cc])&&(_0x16ab70=_0x393cc3(_0x16ab70)||_0x16ab70);return _0x16ab70;},_0x531a52=(_0xe47081,_0x5f1c39)=>(_0x3aa668,_0x2d29b6)=>_0x5f1c39(_0x3aa668,_0x2d29b6,_0xe47081);let _0x449712=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x112f8f,_0x44a68f,_0x130e14){const _0x4955b9=_0xce3cd0;super(),_0xef452e(this,_0x4955b9(0x443),new Map()),_0xef452e(this,_0x4955b9(0x3ae),new Map()),_0xef452e(this,_0x4955b9(0x347),!0x1),(this['_configService']=_0x112f8f,this[_0x4955b9(0x316)]=_0x44a68f,this[_0x4955b9(0x1a8)]=_0x130e14);}[_0xce3cd0(0x1a3)](){const _0x1ae716=_0xce3cd0;this[_0x1ae716(0x347)]=!0x0;}[_0xce3cd0(0x1ff)](){const _0x58a060=_0xce3cd0;this[_0x58a060(0x347)]=!0x1;}get[_0xce3cd0(0x19e)](){const _0x46d760=_0xce3cd0;return this[_0x46d760(0x3ae)];}['dispose'](){const _0x3ee0ce=_0xce3cd0;this[_0x3ee0ce(0x1ed)]()[_0x3ee0ce(0x1af)](()=>super[_0x3ee0ce(0x2a7)]());}async[_0xce3cd0(0x2ad)](_0x1fb55f){const _0x335511=_0xce3cd0;return this['_disabled']?null:this[_0x335511(0x316)][_0x335511(0x364)](_0x2cb61c[_0x335511(0x1d7)](_0x1fb55f));}async[_0xce3cd0(0x371)](_0x28e6dd,_0x6941c0){const _0x1319c1=_0xce3cd0;return!!this[_0x1319c1(0x316)][_0x1319c1(0x183)](_0x28e6dd,_0x6941c0);}[_0xce3cd0(0x38c)](_0x8afd5f,_0x3404a5,_0x10e1ad,_0x127577){const _0x49c8d2=_0xce3cd0,_0x3a5876=this[_0x49c8d2(0x1a8)][_0x49c8d2(0x2ef)](_0x8afd5f);this['_cachedData'][_0x49c8d2(0x427)](_0x8afd5f,{'unitID':_0x8afd5f,'type':_0x3404a5,'awaitingChangeset':_0x10e1ad,'mutations':_0x127577,'rev':_0x3a5876}),this[_0x49c8d2(0x3ae)][_0x49c8d2(0x2d5)](_0x8afd5f)||this[_0x49c8d2(0x44e)](_0x8afd5f);}[_0xce3cd0(0x44e)](_0x26fc77){const _0xbe3366=_0xce3cd0,_0x1dd918=this[_0xbe3366(0x303)]();_0x1dd918===0x0?this[_0xbe3366(0x290)](_0x26fc77):this['_saveTaskMap']['set'](_0x26fc77,setTimeout(()=>this[_0xbe3366(0x290)](_0x26fc77),_0x1dd918));}[_0xce3cd0(0x303)](){const _0x1bc32b=_0xce3cd0;var _0x33cf27;return(_0x33cf27=this[_0x1bc32b(0x32b)][_0x1bc32b(0x310)](_0x2cb61c[_0x1bc32b(0x380)]))!=null?_0x33cf27:_0x2cb61c['LOCAL_CACHE_INTERVAL'];}[_0xce3cd0(0x290)](_0xe285cf){const _0x5dbc30=_0xce3cd0,_0x2c6ada=this[_0x5dbc30(0x3ae)][_0x5dbc30(0x3fa)](_0xe285cf);return _0x2c6ada!==void 0x0&&window[_0x5dbc30(0x38f)](_0x2c6ada),this[_0x5dbc30(0x316)][_0x5dbc30(0x183)](_0x2cb61c['getLocalCacheKey'](_0xe285cf),this[_0x5dbc30(0x443)][_0x5dbc30(0x3fa)](_0xe285cf))[_0x5dbc30(0x1af)](()=>this[_0x5dbc30(0x3ae)][_0x5dbc30(0x434)](_0xe285cf));}async[_0xce3cd0(0x1ed)](){const _0x3a6b6b=_0xce3cd0,_0x584c54=[];this[_0x3a6b6b(0x3ae)]['forEach']((_0x425559,_0x7d6dfd)=>{const _0x379969=_0x3a6b6b;window[_0x379969(0x38f)](_0x425559),_0x584c54[_0x379969(0x44a)](this[_0x379969(0x290)](_0x7d6dfd)['then'](()=>{const _0x47b30d=_0x379969;this['_saveTaskMap'][_0x47b30d(0x434)](_0x7d6dfd);}));}),await Promise[_0x3a6b6b(0x209)](_0x584c54);}};_0x449712=_0x33ad81([_0x531a52(0x0,_0x295c8f[_0xce3cd0(0x3ec)]),_0x531a52(0x1,_0x295c8f[_0xce3cd0(0x159)]),_0x531a52(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x143a87[_0xce3cd0(0x3c2)]))],_0x449712);class _0x342226 extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(){const _0x5f5660=_0xce3cd0;super(),_0xef452e(this,_0x5f5660(0x2e1)),this[_0x5f5660(0x2e1)]=_0x58c226[_0x5f5660(0x41b)](window,_0x5f5660(0x3e5))[_0x5f5660(0x2de)](_0x58c226['takeUntil'](this[_0x5f5660(0x269)]),_0x58c226[_0x5f5660(0x186)](0x1),_0x58c226[_0x5f5660(0x447)](void 0x0));}['setParam'](_0x20ca5f,_0x3e2cfc,_0x42d436=!0x1){const _0x4231df=_0xce3cd0,_0xe6e819=new URL(window[_0x4231df(0x207)][_0x4231df(0x356)]);_0xe6e819['searchParams'][_0x4231df(0x427)](_0x20ca5f,_0x3e2cfc),_0x42d436?window[_0x4231df(0x39c)][_0x4231df(0x349)]('','',_0xe6e819[_0x4231df(0x18c)]()):window[_0x4231df(0x39c)][_0x4231df(0x1b7)]('','',_0xe6e819[_0x4231df(0x18c)]());}[_0xce3cd0(0x1db)](_0x20243e,_0x343be1=!0x1){const _0x383f60=_0xce3cd0,_0x123858=new URL(window[_0x383f60(0x207)][_0x383f60(0x356)]);_0x123858[_0x383f60(0x317)]['delete'](_0x20243e),_0x343be1?window[_0x383f60(0x39c)]['replaceState']('','',_0x123858[_0x383f60(0x18c)]()):window[_0x383f60(0x39c)]['pushState']('','',_0x123858[_0x383f60(0x18c)]());}[_0xce3cd0(0x34d)](_0x1e15c3){const _0x38597e=_0xce3cd0;var _0x375c73;return(_0x375c73=new URL(window[_0x38597e(0x207)][_0x38597e(0x356)])['searchParams']['get'](_0x1e15c3))!=null?_0x375c73:void 0x0;}}var _0x189c15=Object[_0xce3cd0(0x295)],_0x210107=Object['getOwnPropertyDescriptor'],_0x504ae8=(_0x17a1bd,_0x4cba49,_0x263704)=>_0x4cba49 in _0x17a1bd?_0x189c15(_0x17a1bd,_0x4cba49,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x263704}):_0x17a1bd[_0x4cba49]=_0x263704,_0x1841ca=(_0x4a148f,_0x482303,_0x4a86a5,_0x38ab40)=>{const _0x4e818a=_0xce3cd0;for(var _0x4d0c9b=_0x38ab40>0x1?void 0x0:_0x38ab40?_0x210107(_0x482303,_0x4a86a5):_0x482303,_0x373c1d=_0x4a148f[_0x4e818a(0x37b)]-0x1,_0x5ab742;_0x373c1d>=0x0;_0x373c1d--)(_0x5ab742=_0x4a148f[_0x373c1d])&&(_0x4d0c9b=_0x5ab742(_0x4d0c9b)||_0x4d0c9b);return _0x4d0c9b;},_0x5e9c2e=(_0x114ea8,_0x571179)=>(_0x77567a,_0x53906d)=>_0x571179(_0x77567a,_0x53906d,_0x114ea8),_0x170801=(_0x54e9a0,_0x3b3456,_0x36ecfb)=>_0x504ae8(_0x54e9a0,_0x3b3456+'',_0x36ecfb);const _0x473e0c=_0xce3cd0(0x344);_0x38ae7f['UniverCollaborationClientUIPlugin']=class extends _0x295c8f[_0xce3cd0(0x2d6)]{constructor(_0x32b2e4=_0xf2bce4,_0x14adb1,_0x2c859a,_0x5ee614){const _0x41d5cc=_0xce3cd0;super(),this[_0x41d5cc(0x27f)]=_0x32b2e4,this[_0x41d5cc(0x3a8)]=_0x14adb1,this[_0x41d5cc(0x1f6)]=_0x2c859a,this[_0x41d5cc(0x32b)]=_0x5ee614;const {..._0x546e01}=_0x295c8f['merge']({},_0xf2bce4,this[_0x41d5cc(0x27f)]);this['_configService'][_0x41d5cc(0x218)](_0x1e1ed6,_0x546e01);}[_0xce3cd0(0x1a1)](){const _0x39fc6a=_0xce3cd0;this[_0x39fc6a(0x2fd)](),this[_0x39fc6a(0x184)]();}[_0xce3cd0(0x393)](){const _0xacd3ba=_0xce3cd0;this[_0xacd3ba(0x30c)]();}[_0xce3cd0(0x2fd)](){const _0x4646ff=_0xce3cd0;var _0x514729;const _0x2dbdc2=[[_0x12f6f6],[_0x42b753],[_0x5af825],[_0x13d4ed],[_0x214e70],[_0x109a2a],[_0x4d5ea0,{'useClass':_0x342226}],[_0x17ac2f[_0x4646ff(0x19a)],{'useClass':_0x17ac2f[_0x4646ff(0x25c)]}],[_0x2cb61c[_0x4646ff(0x21e)],{'useClass':_0x449712}],[_0x38ae7f[_0x4646ff(0x22e)]],[_0x9f9f49],[_0x220b52],[_0x150b36],[_0x2605d0],[_0x38ae7f[_0x4646ff(0x3a3)]]];this[_0x4646ff(0x27f)][_0x4646ff(0x2f3)]&&_0x2dbdc2[_0x4646ff(0x44a)]([_0x39c89f]),_0x295c8f[_0x4646ff(0x266)](this[_0x4646ff(0x1f6)],_0x295c8f[_0x4646ff(0x289)](_0x2dbdc2,(_0x514729=this['_config'])==null?void 0x0:_0x514729[_0x4646ff(0x435)]));}['_registerRenderDependencies'](){const _0x927a76=_0xce3cd0;this[_0x927a76(0x43c)](this['_renderManagerService'][_0x927a76(0x39b)](_0x295c8f[_0x927a76(0x1f4)][_0x927a76(0x308)],[_0x53604e])),this[_0x927a76(0x43c)](this[_0x927a76(0x3a8)][_0x927a76(0x39b)](_0x295c8f[_0x927a76(0x1f4)][_0x927a76(0x441)],[_0x883637]));}[_0xce3cd0(0x184)](){const _0x3b99a2=_0xce3cd0;_0x295c8f[_0x3b99a2(0x2e2)](this[_0x3b99a2(0x1f6)],[[_0x150b36],[_0x38ae7f[_0x3b99a2(0x22e)]],[_0x9f9f49],[_0x220b52],[_0x38ae7f[_0x3b99a2(0x3a3)]],[_0x42b753]]),this[_0x3b99a2(0x27f)][_0x3b99a2(0x2f3)]&&_0x295c8f['touchDependencies'](this[_0x3b99a2(0x1f6)],[[_0x39c89f]]);}},_0x170801(_0x38ae7f['UniverCollaborationClientUIPlugin'],_0xce3cd0(0x26e),_0x473e0c),_0x38ae7f[_0xce3cd0(0x3a7)]=_0x1841ca([_0x295c8f['DependentOn'](_0x2cb61c[_0xce3cd0(0x3bb)]),_0x5e9c2e(0x1,_0x8db91b[_0xce3cd0(0x455)]),_0x5e9c2e(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0x5e9c2e(0x3,_0x295c8f[_0xce3cd0(0x3ec)])],_0x38ae7f['UniverCollaborationClientUIPlugin']);var _0x5c5821=Object[_0xce3cd0(0x3e7)],_0x262b3a=(_0x570aa9,_0x12130f,_0x35cdde,_0xe8f31c)=>{const _0x3847fa=_0xce3cd0;for(var _0x16b390=_0xe8f31c>0x1?void 0x0:_0xe8f31c?_0x5c5821(_0x12130f,_0x35cdde):_0x12130f,_0x154dab=_0x570aa9[_0x3847fa(0x37b)]-0x1,_0x40e0fd;_0x154dab>=0x0;_0x154dab--)(_0x40e0fd=_0x570aa9[_0x154dab])&&(_0x16b390=_0x40e0fd(_0x16b390)||_0x16b390);return _0x16b390;},_0x442ea6=(_0x35899d,_0x1cf839)=>(_0x4d72c4,_0x325fe8)=>_0x1cf839(_0x4d72c4,_0x325fe8,_0x35899d);_0x38ae7f[_0xce3cd0(0x35f)]=class extends _0x2cb61c[_0xce3cd0(0x42d)]{constructor(_0x189a3e,_0x4d61be,_0x959c4e,_0x1ddb9a,_0x1cb8de){super(_0x189a3e,_0x4d61be,_0x959c4e,_0x1ddb9a,_0x1cb8de);}async[_0xce3cd0(0x327)](_0x2690cd){const _0x9c3ad=_0xce3cd0,_0x15e648=await this[_0x9c3ad(0x2a4)](),_0x3178c6=this[_0x9c3ad(0x391)](_0x2690cd,_0x15e648);return this['_doCreateSocket'](_0x3178c6);}[_0xce3cd0(0x391)](_0x149f97,_0x234495){const _0x4bae79=_0xce3cd0,_0x3eef9c=typeof window>'u'?new URL(_0x149f97):new URL(_0x149f97,window['location']['origin']);_0x3eef9c[_0x4bae79(0x317)][_0x4bae79(0x427)]('sessionTicket',_0x234495);const _0x2796ab=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4bae79(0x207)]['search']);return _0x2796ab['get'](_0x4bae79(0x3d5))&&_0x3eef9c[_0x4bae79(0x317)]['set'](_0x4bae79(0x3d5),_0x2796ab[_0x4bae79(0x3fa)](_0x4bae79(0x3d5))),_0x3eef9c[_0x4bae79(0x18c)]();}async[_0xce3cd0(0x2a4)](){const _0x1ffeba=_0xce3cd0;var _0x5437e9,_0x92557d,_0x30e5ad;const _0x4b26e8=this[_0x1ffeba(0x32b)][_0x1ffeba(0x310)](_0x2cb61c[_0x1ffeba(0x271)]),_0x1aef92=(_0x5437e9=_0x4b26e8==null?void 0x0:_0x4b26e8[_0x1ffeba(0x30b)])!=null?_0x5437e9:_0x2cb61c[_0x1ffeba(0x397)];return(_0x30e5ad=(_0x92557d=(await this[_0x1ffeba(0x220)][_0x1ffeba(0x3fa)](_0x1aef92,{'headers':{'Content-Type':_0x1ffeba(0x3a4)}}))['body'])==null?void 0x0:_0x92557d[_0x1ffeba(0x2c3)])!=null?_0x30e5ad:'';}},_0x38ae7f[_0xce3cd0(0x35f)]=_0x262b3a([_0x442ea6(0x0,_0x295c8f['Inject'](_0x295c8f['Injector'])),_0x442ea6(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x442ea6(0x2,_0x295c8f[_0xce3cd0(0x3ec)]),_0x442ea6(0x3,_0x295c8f['ILogService']),_0x442ea6(0x4,_0x143a87['ISnapshotServerService'])],_0x38ae7f[_0xce3cd0(0x35f)]);var _0x159f39=Object[_0xce3cd0(0x3e7)],_0x23e401=(_0x1ee8d6,_0x139138,_0x5451ab,_0x3e5aba)=>{for(var _0x197aa=_0x3e5aba>0x1?void 0x0:_0x3e5aba?_0x159f39(_0x139138,_0x5451ab):_0x139138,_0x56013e=_0x1ee8d6['length']-0x1,_0x3dc2d6;_0x56013e>=0x0;_0x56013e--)(_0x3dc2d6=_0x1ee8d6[_0x56013e])&&(_0x197aa=_0x3dc2d6(_0x197aa)||_0x197aa);return _0x197aa;},_0x46d7ee=(_0x5499eb,_0x53c92b)=>(_0x2f6f53,_0x383e1f)=>_0x53c92b(_0x2f6f53,_0x383e1f,_0x5499eb);_0x38ae7f[_0xce3cd0(0x3b7)]=class extends _0x295c8f['Disposable']{constructor(_0xdc00b3,_0x5e2e57,_0x57bd4f){super(),this['_instanceService']=_0xdc00b3,this['_httpService']=_0x5e2e57,this['_configService']=_0x57bd4f;}async[_0xce3cd0(0x3d9)](_0x5cce66,_0x5b4cf9,_0x35e7a2,..._0x208282){const _0x3ee3a1=_0xce3cd0;var _0x1f6d14,_0x63d543,_0x116cfa,_0x45ecee;const _0x3ae3b2=this[_0x3ee3a1(0x301)][_0x3ee3a1(0x438)]();if(!_0x3ae3b2)throw new Error(_0x3ee3a1(0x40b));const _0x4af05d=((_0x1f6d14=this[_0x3ee3a1(0x32b)][_0x3ee3a1(0x310)](_0x2cb61c[_0x3ee3a1(0x2af)]))!=null?_0x1f6d14:_0x2cb61c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5cce66+_0x3ee3a1(0x22c)+_0x5b4cf9,_0x516992=new URL(window[_0x3ee3a1(0x207)][_0x3ee3a1(0x356)]),_0x1b1413={'scriptId':_0x5cce66,'runId':(_0x63d543=_0x516992[_0x3ee3a1(0x317)][_0x3ee3a1(0x3fa)](_0x3ee3a1(0x3d5)))!=null?_0x63d543:'','function':_0x5b4cf9,'unitId':_0x3ae3b2[_0x3ee3a1(0x41d)](),'argsOfFunction':JSON[_0x3ee3a1(0x221)](_0x208282),'invokeId':(_0x116cfa=_0x35e7a2['invokeId'])!=null?_0x116cfa:'','executionId':(_0x45ecee=_0x35e7a2[_0x3ee3a1(0x2fe)])!=null?_0x45ecee:''};try{const _0x174a48=await this[_0x3ee3a1(0x220)][_0x3ee3a1(0x165)](_0x4af05d,{'body':_0x1b1413});return _0x174a48[_0x3ee3a1(0x17d)][_0x3ee3a1(0x1b1)]&&_0x174a48[_0x3ee3a1(0x17d)]['error'][_0x3ee3a1(0x216)]!==_0x3f8266['OK']?_0x3ee3a1(0x293):_0x174a48[_0x3ee3a1(0x17d)][_0x3ee3a1(0x2ea)];}catch{return _0x3ee3a1(0x293);}}},_0x38ae7f['RemoteUniscriptService']=_0x23e401([_0x46d7ee(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0x46d7ee(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x46d7ee(0x2,_0x295c8f['IConfigService'])],_0x38ae7f['RemoteUniscriptService']);const _0x10d2cb=0x7530,_0x1c9a75=_0xce3cd0(0x3cf);class _0x370626 extends _0x295c8f['Disposable']{constructor(){const _0x22375a=_0xce3cd0;super(),_0xef452e(this,_0x22375a(0x417),_0x295c8f[_0x22375a(0x17e)]()),_0xef452e(this,'_selfUnitIDs',new Set()),_0xef452e(this,_0x22375a(0x3e8),new Map()),_0xef452e(this,_0x22375a(0x292),null),_0xef452e(this,'_clearOtherTimers',new Map()),_0xef452e(this,_0x22375a(0x18f),new Map()),this[_0x22375a(0x30d)]();}[_0xce3cd0(0x2a7)](){const _0xa3b1db=_0xce3cd0;super[_0xa3b1db(0x2a7)](),this[_0xa3b1db(0x2b9)][_0xa3b1db(0x2e5)]((_0x106254,_0x790c78)=>this[_0xa3b1db(0x322)](_0x790c78)),this[_0xa3b1db(0x292)]&&window[_0xa3b1db(0x296)](this[_0xa3b1db(0x292)]);}['getUnitStatus$'](_0x1cbc68){const _0x67c42b=_0xce3cd0;return this['_ensureSubject'](_0x1cbc68)['pipe'](_0x58c226[_0x67c42b(0x3f4)]());}[_0xce3cd0(0x32e)](_0x3f9cc1){const _0x5220dd=_0xce3cd0;this[_0x5220dd(0x16a)][_0x5220dd(0x348)]===0x0&&this[_0x5220dd(0x379)](),this[_0x5220dd(0x16a)][_0x5220dd(0x3f9)](_0x3f9cc1),this['_send']({'type':0x0,'memberID':this[_0x5220dd(0x417)],'unitIDs':[_0x3f9cc1],'isForwarded':!0x1});}[_0xce3cd0(0x231)](_0x22044b){const _0x25ed5a=_0xce3cd0;this[_0x25ed5a(0x16a)][_0x25ed5a(0x434)](_0x22044b),this['_selfUnitIDs'][_0x25ed5a(0x348)]===0x0&&this['_heartbeatTimer']&&window[_0x25ed5a(0x296)](this['_heartbeatTimer']);}[_0xce3cd0(0x30d)](){const _0x57d4b6=_0xce3cd0;this[_0x57d4b6(0x43c)](_0x295c8f[_0x57d4b6(0x239)](_0x58c226[_0x57d4b6(0x41b)](window,_0x57d4b6(0x314))[_0x57d4b6(0x17f)](_0x1bac1f=>{const _0x3d8c1c=_0x57d4b6;if(_0x1bac1f[_0x3d8c1c(0x1f8)]!==_0x1c9a75||!_0x1bac1f[_0x3d8c1c(0x1f5)])return;const _0x5d45ae=JSON[_0x3d8c1c(0x2b1)](_0x1bac1f[_0x3d8c1c(0x1f5)]);this[_0x3d8c1c(0x30a)](_0x5d45ae);}))),window[_0x57d4b6(0x2e4)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57d4b6(0x264)](this[_0x57d4b6(0x16a)])}));}['_handleEvent'](_0x953116){const _0x16934e=_0xce3cd0;switch(_0x953116[_0x16934e(0x273)]){case 0x0:this['_handleJoinEvent'](_0x953116);break;case 0x1:this[_0x16934e(0x313)](_0x953116);break;case 0x2:this['_handleHeartbeatEvent'](_0x953116);break;}}[_0xce3cd0(0x3a6)](_0x251d69){const _0x1cd04f=_0xce3cd0,{unitIDs:_0x44f337,memberID:_0x1c5232,isForwarded:_0x3fdcca}=_0x251d69;_0x44f337[_0x1cd04f(0x2e5)](_0x1a5556=>{const _0x313f64=_0x1cd04f;if(!_0x3fdcca&&this['_unitOnClients'][_0x313f64(0x2d5)](_0x1a5556)&&this[_0x313f64(0x176)](_0x1a5556)[_0x313f64(0x173)](_0x2cb61c['UnitStatus'][_0x313f64(0x178)]),!this[_0x313f64(0x3e8)]['has'](_0x1a5556)||!this['_unitOnClients'][_0x313f64(0x3fa)](_0x1a5556)['has'](_0x1c5232)){const _0x4d1467=this[_0x313f64(0x3e8)][_0x313f64(0x3fa)](_0x1a5556)||new Set();_0x4d1467[_0x313f64(0x3f9)](_0x1c5232),this[_0x313f64(0x3e8)][_0x313f64(0x427)](_0x1a5556,_0x4d1467),this[_0x313f64(0x363)](_0x1c5232);}}),_0x3fdcca||this[_0x1cd04f(0x320)]({'type':0x0,'memberID':this[_0x1cd04f(0x417)],'unitIDs':[...this[_0x1cd04f(0x16a)]],'isForwarded':!0x0});}[_0xce3cd0(0x363)](_0xfd213f){const _0x275ac2=_0xce3cd0;this[_0x275ac2(0x322)](_0xfd213f);const _0x5a6294=window[_0x275ac2(0x454)](()=>{const _0x55bfa8=_0x275ac2;this[_0x55bfa8(0x3e8)][_0x55bfa8(0x2e5)](_0x3ef0e5=>{const _0x1f9854=_0x55bfa8;_0x3ef0e5[_0x1f9854(0x434)](_0xfd213f);});},_0x10d2cb*0x2);this[_0x275ac2(0x2b9)][_0x275ac2(0x427)](_0xfd213f,_0x5a6294);}[_0xce3cd0(0x322)](_0xb1a272){const _0x501b7d=_0xce3cd0;if(this[_0x501b7d(0x2b9)]['has'](_0xb1a272)){const _0x2f6e92=this['_clearOtherTimers'][_0x501b7d(0x3fa)](_0xb1a272);_0x2f6e92&&window['clearTimeout'](_0x2f6e92),this[_0x501b7d(0x2b9)][_0x501b7d(0x427)](_0xb1a272,null);}}[_0xce3cd0(0x313)](_0x453a8d){const _0x621650=_0xce3cd0,{memberID:_0x3824be,unitIDs:_0x223c24}=_0x453a8d;_0x223c24['forEach'](_0x4767e6=>{const _0x32d60b=_0x2541;var _0x93098c;const _0x491db2=this['_unitOnClients']['get'](_0x4767e6);_0x491db2&&(_0x491db2['delete'](_0x3824be),(_0x93098c=this[_0x32d60b(0x176)](_0x4767e6))==null||_0x93098c[_0x32d60b(0x173)](_0x491db2[_0x32d60b(0x348)]===0x0?_0x2cb61c[_0x32d60b(0x428)][_0x32d60b(0x24f)]:_0x2cb61c['UnitStatus'][_0x32d60b(0x178)]));}),this[_0x621650(0x322)](_0x3824be);}['_handleHeartbeatEvent'](_0x37d3e4){const _0xe1748c=_0xce3cd0;this[_0xe1748c(0x363)](_0x37d3e4[_0xe1748c(0x3c4)]);}[_0xce3cd0(0x320)](_0x39772b){const _0x2d168b=_0xce3cd0;localStorage[_0x2d168b(0x183)](_0x1c9a75,JSON[_0x2d168b(0x221)](_0x39772b));}[_0xce3cd0(0x379)](){const _0xc58489=_0xce3cd0;this[_0xc58489(0x292)]=window[_0xc58489(0x3a1)](()=>{const _0x1977e4=_0xc58489;this[_0x1977e4(0x320)]({'type':0x2,'memberID':this['_id']});},_0x10d2cb);}['_ensureSubject'](_0x35d8b4){const _0x2f4aeb=_0xce3cd0;return this[_0x2f4aeb(0x18f)][_0x2f4aeb(0x2d5)](_0x35d8b4)||this[_0x2f4aeb(0x18f)][_0x2f4aeb(0x427)](_0x35d8b4,new _0x58c226[(_0x2f4aeb(0x43b))](_0x2cb61c['UnitStatus'][_0x2f4aeb(0x24f)])),this['_unitStatus'][_0x2f4aeb(0x3fa)](_0x35d8b4);}}_0x38ae7f['IURLService']=_0x4d5ea0,_0x38ae7f[_0xce3cd0(0x261)]=_0x3ee6ec,_0x38ae7f[_0xce3cd0(0x404)]=_0x370626,_0x38ae7f[_0xce3cd0(0x1d5)]=_0x342226,Object[_0xce3cd0(0x295)](_0x38ae7f,Symbol[_0xce3cd0(0x33e)],{'value':_0xce3cd0(0x360)});}));
8
+ function _0x1b11(_0x4bc4a6,_0x461449){_0x4bc4a6=_0x4bc4a6-0xea;const _0x5942b5=_0x5942();let _0x1b1133=_0x5942b5[_0x4bc4a6];return _0x1b1133;}(function(_0x41e4ec,_0x2f76af){const _0x25169b=_0x1b11,_0x54c780=_0x41e4ec();while(!![]){try{const _0x9af894=-parseInt(_0x25169b(0x2d3))/0x1+-parseInt(_0x25169b(0x178))/0x2*(-parseInt(_0x25169b(0x383))/0x3)+-parseInt(_0x25169b(0x19e))/0x4*(-parseInt(_0x25169b(0x31d))/0x5)+-parseInt(_0x25169b(0x346))/0x6+parseInt(_0x25169b(0x1f1))/0x7+parseInt(_0x25169b(0x282))/0x8*(parseInt(_0x25169b(0x316))/0x9)+-parseInt(_0x25169b(0x371))/0xa;if(_0x9af894===_0x2f76af)break;else _0x54c780['push'](_0x54c780['shift']());}catch(_0x20c881){_0x54c780['push'](_0x54c780['shift']());}}}(_0x5942,0xeac84),function(_0x2444a8,_0x10d435){const _0x434e5f=_0x1b11;typeof exports=='object'&&typeof module<'u'?_0x10d435(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),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')):typeof define==_0x434e5f(0x23d)&&define[_0x434e5f(0x389)]?define(['exports',_0x434e5f(0x25f),_0x434e5f(0x267),_0x434e5f(0x2f1),'@univerjs/ui',_0x434e5f(0xf4),_0x434e5f(0x170),_0x434e5f(0x114),_0x434e5f(0x205),'@univerjs/sheets',_0x434e5f(0x1ae),_0x434e5f(0x2dd),'@univerjs/docs-ui',_0x434e5f(0xf7),'@univerjs-pro/collaboration','@univerjs/docs','@univerjs/engine-formula',_0x434e5f(0x1b1),_0x434e5f(0x25b)],_0x10d435):(_0x2444a8=typeof globalThis<'u'?globalThis:_0x2444a8||self,_0x10d435(_0x2444a8[_0x434e5f(0x3b4)]={},_0x2444a8[_0x434e5f(0x204)],_0x2444a8['UniverProCollaborationClient'],_0x2444a8['UniverCore'],_0x2444a8[_0x434e5f(0x327)],_0x2444a8[_0x434e5f(0xf4)],_0x2444a8['UniverDesign'],_0x2444a8['React'],_0x2444a8['UniverRpc'],_0x2444a8[_0x434e5f(0x303)],_0x2444a8[_0x434e5f(0xed)],_0x2444a8['UniverNetwork'],_0x2444a8[_0x434e5f(0x340)],_0x2444a8[_0x434e5f(0x2d4)],_0x2444a8[_0x434e5f(0x3c6)],_0x2444a8[_0x434e5f(0x171)],_0x2444a8[_0x434e5f(0x118)],_0x2444a8[_0x434e5f(0xf4)][_0x434e5f(0x2e8)],_0x2444a8[_0x434e5f(0x283)]));}(this,function(_0x279e32,_0x54d5e1,_0x44b518,_0x162031,_0x198137,_0xe327d9,_0x3fb0c6,_0x5052d2,_0x4285c8,_0x3f123f,_0x433081,_0x1a6c2d,_0x74e6be,_0x3ae936,_0x4cd710,_0x47f67f,_0xf4950,_0x57b5b5,_0x9b001c){'use strict';const _0x477bc3=_0x1b11;var _0x466ec5=Object[_0x477bc3(0x2e2)],_0x35e16b=(_0x326c08,_0x5771ad,_0x1cc577)=>_0x5771ad in _0x326c08?_0x466ec5(_0x326c08,_0x5771ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cc577}):_0x326c08[_0x5771ad]=_0x1cc577,_0x387a01=(_0x335765,_0x3db743,_0x590ce7)=>_0x35e16b(_0x335765,typeof _0x3db743!=_0x477bc3(0x2c8)?_0x3db743+'':_0x3db743,_0x590ce7);function _0x1f6f00({ref:_0x35c15d,..._0x23899f}){const _0x7a8a2d=_0x477bc3,{icon:_0x39d060,id:_0x2f4805,className:_0xe39db5,extend:_0x3fdc21,..._0x5a4eee}=_0x23899f,_0x6ccf5d=(_0x7a8a2d(0x34e)+_0x2f4805+'\x20'+(_0xe39db5||''))['trim'](),_0x289461=_0x5052d2[_0x7a8a2d(0x13a)]('_'+_0x3136ff());return _0x58c339(_0x39d060,''+_0x2f4805,{'defIds':_0x39d060[_0x7a8a2d(0x12c)],'idSuffix':_0x289461[_0x7a8a2d(0x22e)]},{'ref':_0x35c15d,'className':_0x6ccf5d,..._0x5a4eee},_0x3fdc21);}function _0x58c339(_0xed048,_0x20f6c9,_0xcf8ace,_0xb6605a,_0x4cbebd){const _0x132e23=_0x477bc3;return _0x5052d2[_0x132e23(0x14f)](_0xed048[_0x132e23(0x3cb)],{'key':_0x20f6c9,..._0x213258(_0xed048,_0xcf8ace,_0x4cbebd),..._0xb6605a},(_0x56ecfc(_0xed048,_0xcf8ace)[_0x132e23(0x35d)]||[])[_0x132e23(0x239)]((_0x13b362,_0x3aabb)=>_0x58c339(_0x13b362,_0x20f6c9+'-'+_0xed048[_0x132e23(0x3cb)]+'-'+_0x3aabb,_0xcf8ace,void 0x0,_0x4cbebd)));}function _0x213258(_0x2c3fb4,_0x46cfab,_0xf98cc5){const _0x3eac24=_0x477bc3,_0x2de2d1={..._0x2c3fb4[_0x3eac24(0x2fb)]};_0xf98cc5!=null&&_0xf98cc5[_0x3eac24(0x223)]&&_0x2de2d1[_0x3eac24(0x368)]===_0x3eac24(0x223)&&(_0x2de2d1[_0x3eac24(0x368)]=_0xf98cc5[_0x3eac24(0x223)]),_0x2c3fb4['tag']===_0x3eac24(0xff)&&_0x2de2d1['id']&&(_0x2de2d1['id']=_0x2de2d1['id']+_0x46cfab[_0x3eac24(0x393)]),Object['entries'](_0x2de2d1)[_0x3eac24(0x3c7)](([_0x50f864,_0x478761])=>{const _0x58cbb1=_0x3eac24;_0x50f864===_0x58cbb1(0xff)&&typeof _0x478761==_0x58cbb1(0x1cb)&&(_0x2de2d1[_0x50f864]=_0x478761[_0x58cbb1(0x2e1)](/url\(#(.*)\)/,_0x58cbb1(0x264)+_0x46cfab[_0x58cbb1(0x393)]+')'));});const {defIds:_0x413341}=_0x46cfab;return!_0x413341||_0x413341[_0x3eac24(0x215)]===0x0||(_0x2c3fb4[_0x3eac24(0x3cb)]===_0x3eac24(0x121)&&_0x2de2d1[_0x3eac24(0x29a)]&&(_0x2de2d1['xlink:href']=_0x2de2d1[_0x3eac24(0x29a)]+_0x46cfab[_0x3eac24(0x393)]),Object['entries'](_0x2de2d1)[_0x3eac24(0x3c7)](([_0x3d5fb0,_0x542a55])=>{const _0x1204e3=_0x3eac24;typeof _0x542a55==_0x1204e3(0x1cb)&&(_0x2de2d1[_0x3d5fb0]=_0x542a55['replace'](/url\(#(.*)\)/,_0x1204e3(0x264)+_0x46cfab[_0x1204e3(0x393)]+')'));})),_0x2de2d1;}function _0x56ecfc(_0x3e045a,_0x398232){const _0x25c09b=_0x477bc3;var _0x3aabef;const {defIds:_0x4427da}=_0x398232;return!_0x4427da||_0x4427da[_0x25c09b(0x215)]===0x0?_0x3e045a:_0x3e045a[_0x25c09b(0x3cb)]===_0x25c09b(0x294)&&((_0x3aabef=_0x3e045a[_0x25c09b(0x35d)])!=null&&_0x3aabef[_0x25c09b(0x215)])?{..._0x3e045a,'children':_0x3e045a[_0x25c09b(0x35d)]['map'](_0x4e62cc=>typeof _0x4e62cc[_0x25c09b(0x2fb)]['id']==_0x25c09b(0x1cb)&&_0x4427da&&_0x4427da[_0x25c09b(0x3aa)](_0x4e62cc[_0x25c09b(0x2fb)]['id'])?{..._0x4e62cc,'attrs':{..._0x4e62cc['attrs'],'id':_0x4e62cc[_0x25c09b(0x2fb)]['id']+_0x398232[_0x25c09b(0x393)]}}:_0x4e62cc)}:_0x3e045a;}function _0x3136ff(){const _0x4fbc6c=_0x477bc3;return Math[_0x4fbc6c(0x3c9)]()[_0x4fbc6c(0x2a6)](0x24)['substring'](0x2,0x8);}_0x1f6f00[_0x477bc3(0x2f9)]=_0x477bc3(0x274);const _0x22e3f7={'tag':_0x477bc3(0x2c7),'attrs':{'xmlns':_0x477bc3(0x1db),'fill':_0x477bc3(0x230),'viewBox':'0\x200\x2016\x2016','width':_0x477bc3(0x3d1),'height':_0x477bc3(0x3d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x477bc3(0x21e)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'stroke':_0x477bc3(0x2a4),'d':_0x477bc3(0x28e),'strokeLinecap':_0x477bc3(0x2ba),'strokeLinejoin':_0x477bc3(0x2ba),'strokeWidth':1.2}}]},{'tag':_0x477bc3(0x294),'attrs':{},'children':[{'tag':_0x477bc3(0x172),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'fill':_0x477bc3(0x362),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x477bc3(0x11d)]},_0x3acc41=_0x5052d2[_0x477bc3(0x1a2)](function(_0x335fb5,_0x2aa23e){const _0x481cc7=_0x477bc3;return _0x5052d2[_0x481cc7(0x14f)](_0x1f6f00,Object[_0x481cc7(0x3ba)]({},_0x335fb5,{'id':'off-line-icon','ref':_0x2aa23e,'icon':_0x22e3f7}));});_0x3acc41['displayName']=_0x477bc3(0x2bf);const _0x5e11f8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x477bc3(0x230),'viewBox':_0x477bc3(0x2de),'width':_0x477bc3(0x3d1),'height':_0x477bc3(0x3d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x477bc3(0x260)},'children':[{'tag':_0x477bc3(0x12b),'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':'round','strokeWidth':1.2}}]},{'tag':_0x477bc3(0x294),'attrs':{},'children':[{'tag':_0x477bc3(0x172),'attrs':{'id':_0x477bc3(0x2f8)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'fill':_0x477bc3(0x362),'d':'M0\x200H16V16H0z','transform':_0x477bc3(0x2c6)}}]}]}],'defIds':[_0x477bc3(0x2f8)]},_0x2e2546=_0x5052d2[_0x477bc3(0x1a2)](function(_0x434459,_0x51802f){const _0x44588d=_0x477bc3;return _0x5052d2[_0x44588d(0x14f)](_0x1f6f00,Object[_0x44588d(0x3ba)]({},_0x434459,{'id':_0x44588d(0x3d9),'ref':_0x51802f,'icon':_0x5e11f8}));});_0x2e2546[_0x477bc3(0x2f9)]=_0x477bc3(0x27b);function _0x8aa2ad(_0x34bc1c){const _0x1f2b13=_0x477bc3;switch(_0x34bc1c){case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x3b8)]:return _0x1f2b13(0x3c2);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x1eb)]:return _0x1f2b13(0x2b1);case _0x44b518['CollaborationStatus'][_0x1f2b13(0x22a)]:return _0x1f2b13(0x2f5);case _0x44b518[_0x1f2b13(0x2c2)]['NOT_COLLAB']:return _0x1f2b13(0x2d5);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x2ef)]:case _0x44b518['CollaborationStatus'][_0x1f2b13(0x1bd)]:return _0x1f2b13(0x2b7);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x19f)]:case _0x44b518['CollaborationStatus'][_0x1f2b13(0x12f)]:return _0x1f2b13(0x13d);}}function _0x50f449(_0x3c54f0){const _0x114d18=_0x477bc3,{status$:_0x5dcc64}=_0x3c54f0,_0x35dc72=_0x198137[_0x114d18(0x2d2)](_0x5dcc64,_0x44b518[_0x114d18(0x2c2)][_0x114d18(0x35c)]),_0x2a70c4=_0x198137['useDependency'](_0x162031['LocaleService']),_0x3ee78b=_0x198137[_0x114d18(0x290)](_0x44b518[_0x114d18(0x1e5)]),_0x4fcd08=_0x35dc72!==_0x44b518['CollaborationStatus']['OFFLINE'],_0x45ef2e=_0x2a70c4['t'](_0x8aa2ad(_0x35dc72)),_0x3e9700=_0x4fcd08?_0x54d5e1['jsx'](_0x2e2546,{}):_0x54d5e1[_0x114d18(0x181)](_0x3acc41,{}),_0xf74250=_0x5052d2[_0x114d18(0x23e)](()=>{const _0x356060=_0x114d18;_0x4fcd08||_0x3ee78b[_0x356060(0x329)]();},[_0x4fcd08,_0x3ee78b]);function _0x25a23c(){const _0x2d68ce=_0x114d18;return _0x54d5e1['jsxs'](_0x2d68ce(0x226),{'className':'univer-flex\x20univer-items-center','onClick':_0xf74250,'children':[_0x54d5e1[_0x2d68ce(0x181)](_0x2d68ce(0x226),{'className':_0x3fb0c6[_0x2d68ce(0x29e)](_0x2d68ce(0x333),{'univer-text-green-500':_0x4fcd08,'univer-text-red-500':!_0x4fcd08}),'children':_0x3e9700}),_0x54d5e1[_0x2d68ce(0x181)]('div',{'className':_0x2d68ce(0x3af),'children':_0x45ef2e})]});}return _0x4fcd08?_0x25a23c():_0x54d5e1['jsx'](_0x3fb0c6[_0x114d18(0x137)],{'title':_0x2a70c4['t'](_0x114d18(0x19a)),'children':_0x25a23c()});}var _0x1c8fdd=Object[_0x477bc3(0x1ec)],_0x39656a=(_0x233898,_0x27b967,_0x880d8,_0x4ed502)=>{const _0x5e52e8=_0x477bc3;for(var _0x5daccb=_0x4ed502>0x1?void 0x0:_0x4ed502?_0x1c8fdd(_0x27b967,_0x880d8):_0x27b967,_0x5b52c9=_0x233898[_0x5e52e8(0x215)]-0x1,_0x11e309;_0x5b52c9>=0x0;_0x5b52c9--)(_0x11e309=_0x233898[_0x5b52c9])&&(_0x5daccb=_0x11e309(_0x5daccb)||_0x5daccb);return _0x5daccb;},_0x20f050=(_0x55f3a4,_0x3a5633)=>(_0x1261b2,_0x5935ed)=>_0x3a5633(_0x1261b2,_0x5935ed,_0x55f3a4);_0x279e32[_0x477bc3(0x2b8)]=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x216994,_0xf1d9d7,_0x4ff177,_0x2e649e){const _0x3207ea=_0x477bc3;super(),_0x387a01(this,_0x3207ea(0x117),new _0xe327d9['BehaviorSubject'](_0x44b518['CollaborationStatus'][_0x3207ea(0x35c)])),(this[_0x3207ea(0x225)]=_0x216994,this['_injector']=_0xf1d9d7,this[_0x3207ea(0x2f2)]=_0x4ff177,this[_0x3207ea(0x17b)]=_0x2e649e,this['_initStatusComponent'](),this[_0x3207ea(0x206)]());}[_0x477bc3(0x206)](){const _0x3252ef=_0x477bc3;this['disposeWithMe'](this[_0x3252ef(0x225)][_0x3252ef(0x253)][_0x3252ef(0x2d1)](_0xe327d9[_0x3252ef(0x220)](()=>{const _0x2da279=_0x3252ef,_0x15b6f9=this['_univerInstanceService'][_0x2da279(0x14b)]();return _0x15b6f9?this[_0x2da279(0x2f2)][_0x2da279(0x307)](_0x15b6f9[_0x2da279(0x161)]()):_0xe327d9['of'](null);}),_0xe327d9[_0x3252ef(0x220)](_0x340f77=>_0x340f77?_0x340f77[_0x3252ef(0x1b2)]:_0xe327d9['of'](_0x44b518[_0x3252ef(0x2c2)]['NOT_COLLAB'])))['subscribe'](_0x3b8c59=>{const _0xff292f=_0x3252ef;this[_0xff292f(0x117)][_0xff292f(0x3be)](_0x3b8c59);}));}[_0x477bc3(0x25a)](){const _0x4cb6d=_0x477bc3;this[_0x4cb6d(0x32e)](this[_0x4cb6d(0x17b)][_0x4cb6d(0x29b)](_0x198137[_0x4cb6d(0x3a9)][_0x4cb6d(0x2b9)],()=>_0x198137[_0x4cb6d(0x2e7)](_0x208e22({'status$':this[_0x4cb6d(0x117)][_0x4cb6d(0x119)]()}),this[_0x4cb6d(0x3da)])));}},_0x279e32['DesktopCollaborationStatusDisplayController']=_0x39656a([_0x20f050(0x0,_0x162031[_0x477bc3(0x21c)]),_0x20f050(0x1,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x20f050(0x2,_0x162031['Inject'](_0x44b518[_0x477bc3(0x15a)])),_0x20f050(0x3,_0x198137[_0x477bc3(0x187)])],_0x279e32[_0x477bc3(0x2b8)]);function _0x208e22(_0x213b3c){const {status$:_0x168a17}=_0x213b3c;return function(){const _0x3ef4a7=_0x1b11;return _0x54d5e1[_0x3ef4a7(0x181)](_0x50f449,{'status$':_0x168a17});};}const _0x361122=_0x162031[_0x477bc3(0x3a4)](_0x477bc3(0x39d));var _0x1cd2ca=Object[_0x477bc3(0x1ec)],_0x329221=(_0x4adaa0,_0x2f7471,_0x17d441,_0x40a1c1)=>{for(var _0x281cbe=_0x40a1c1>0x1?void 0x0:_0x40a1c1?_0x1cd2ca(_0x2f7471,_0x17d441):_0x2f7471,_0x1c6c54=_0x4adaa0['length']-0x1,_0x41f548;_0x1c6c54>=0x0;_0x1c6c54--)(_0x41f548=_0x4adaa0[_0x1c6c54])&&(_0x281cbe=_0x41f548(_0x281cbe)||_0x281cbe);return _0x281cbe;},_0xe212eb=(_0x3a8096,_0x56c9ff)=>(_0x5e2280,_0x429073)=>_0x56c9ff(_0x5e2280,_0x429073,_0x3a8096);_0x279e32[_0x477bc3(0x174)]=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x35e221,_0x52832c,_0x2f838f,_0x3befd1,_0x2ad403){const _0x33fa88=_0x477bc3;super(),this[_0x33fa88(0x2d7)]=_0x35e221,this[_0x33fa88(0x297)]=_0x52832c,this[_0x33fa88(0x139)]=_0x2f838f,this[_0x33fa88(0x2ce)]=_0x3befd1,_0x2ad403?_0x2ad403==null||_0x2ad403[_0x33fa88(0x365)]()[_0x33fa88(0x22f)](()=>this[_0x33fa88(0x1ad)]()):(this[_0x33fa88(0x297)][_0x33fa88(0x146)](_0x33fa88(0x234),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x33fa88(0x1ad)]());}async[_0x477bc3(0x1ad)](){const _0x3455e6=_0x477bc3,_0x2bf745=this['_urlService'][_0x3455e6(0x24e)]('unit'),_0x443c1b=this[_0x3455e6(0x2d7)][_0x3455e6(0x24e)](_0x3455e6(0x24d)),_0x54d9f8=this['_urlService'][_0x3455e6(0x24e)](_0x3455e6(0x2bc));if(!_0x2bf745||!_0x443c1b){this[_0x3455e6(0x297)][_0x3455e6(0x146)](_0x3455e6(0x234),_0x3455e6(0x216));return;}const _0x345e8e=await this[_0x3455e6(0x2ce)][_0x3455e6(0x1a5)](_0x2bf745,Number(_0x443c1b),_0x54d9f8);_0x345e8e&&_0x345e8e instanceof _0x162031[_0x3455e6(0x310)]&&this['_setupSubUnitSync'](_0x345e8e);}async[_0x477bc3(0x18e)](_0x4cc461){const _0x2225ef=_0x477bc3;await this[_0x2225ef(0x20c)](_0x4cc461),_0x4cc461[_0x2225ef(0x3b6)][_0x2225ef(0x2d1)](_0xe327d9[_0x2225ef(0x331)](this['dispose$']))['subscribe'](_0x658764=>{const _0xf1e1c8=_0x2225ef;_0x658764&&this[_0xf1e1c8(0x2f7)](_0x658764);}),this['_urlService']['urlChange$']['pipe'](_0xe327d9[_0x2225ef(0x331)](this[_0x2225ef(0x1c1)]))['subscribe'](()=>this[_0x2225ef(0x20c)](_0x4cc461));}[_0x477bc3(0x2f7)](_0x3fc877,_0x261b10=!0x1){const _0x31b9db=_0x477bc3,_0x597010=this[_0x31b9db(0x2d7)][_0x31b9db(0x24e)](_0x31b9db(0x2bc));_0x3fc877[_0x31b9db(0x2a7)]()!==_0x597010&&this[_0x31b9db(0x2d7)][_0x31b9db(0x33c)](_0x31b9db(0x2bc),_0x3fc877[_0x31b9db(0x2a7)](),_0x261b10);}async['_updateSubUnitFromURLParams'](_0x384c5e){const _0x288c26=_0x477bc3;var _0x3f4118;const _0x197120=this['_urlService'][_0x288c26(0x24e)](_0x288c26(0x2bc));if(!_0x197120||!_0x384c5e['getSheetBySheetId'](_0x197120)){const _0x47b7b4=_0x384c5e[_0x288c26(0x1d0)]()[0x0],_0x43fcfa=_0x384c5e[_0x288c26(0x2ca)](_0x47b7b4);if(!_0x43fcfa)return;this[_0x288c26(0x2f7)](_0x43fcfa,!0x0),await this[_0x288c26(0x139)][_0x288c26(0x269)](_0x3f123f[_0x288c26(0x322)]['id'],{'unitId':_0x384c5e[_0x288c26(0x161)](),'subUnitId':_0x47b7b4});return;}((_0x3f4118=_0x384c5e['getActiveSheet']())==null?void 0x0:_0x3f4118[_0x288c26(0x2a7)]())!==_0x197120&&await this[_0x288c26(0x139)]['executeCommand'](_0x3f123f[_0x288c26(0x322)]['id'],{'unitId':_0x384c5e['getUnitId'](),'subUnitId':_0x197120});}},_0x279e32['CollaborationDataLoaderController']=_0x329221([_0xe212eb(0x0,_0x361122),_0xe212eb(0x1,_0x162031[_0x477bc3(0x353)]),_0xe212eb(0x2,_0x162031[_0x477bc3(0x326)]),_0xe212eb(0x3,_0x162031['Inject'](_0x44b518[_0x477bc3(0x2bd)])),_0xe212eb(0x4,_0x162031[_0x477bc3(0x30b)](_0x4285c8[_0x477bc3(0x258)]))],_0x279e32['CollaborationDataLoaderController']);var _0x1f631f=Object[_0x477bc3(0x1ec)],_0x3b9181=(_0x3a8dc7,_0x8535a6,_0x26a632,_0x2cb1a6)=>{for(var _0x2d844d=_0x2cb1a6>0x1?void 0x0:_0x2cb1a6?_0x1f631f(_0x8535a6,_0x26a632):_0x8535a6,_0x212735=_0x3a8dc7['length']-0x1,_0xd023be;_0x212735>=0x0;_0x212735--)(_0xd023be=_0x3a8dc7[_0x212735])&&(_0x2d844d=_0xd023be(_0x2d844d)||_0x2d844d);return _0x2d844d;},_0x21f1aa=(_0x27172d,_0x50fd1c)=>(_0x1a6780,_0x556fe3)=>_0x50fd1c(_0x1a6780,_0x556fe3,_0x27172d);let _0x4b1658=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x5d2b36,_0x34e7f7){const _0x295a42=_0x477bc3;super(),this[_0x295a42(0x268)]=_0x5d2b36,this[_0x295a42(0x3bf)]=_0x34e7f7,this[_0x295a42(0x1ad)]();}['_init'](){const _0x2e4e60=_0x477bc3,_0x254877=this;this['disposeWithMe'](this[_0x2e4e60(0x268)][_0x2e4e60(0x369)]({'onBeforePasteImage':async _0x5ac041=>{const _0x2f9170=_0x2e4e60,_0x199419=await _0x254877[_0x2f9170(0x3bf)][_0x2f9170(0x2cf)](_0x5ac041);return _0x199419?{'source':_0x199419[_0x2f9170(0x285)],'imageSourceType':_0x199419[_0x2f9170(0x382)]}:null;}}));}};_0x4b1658=_0x3b9181([_0x21f1aa(0x0,_0x74e6be[_0x477bc3(0x120)]),_0x21f1aa(0x1,_0x3ae936[_0x477bc3(0x2f4)])],_0x4b1658);const _0x3a99c3=[_0x477bc3(0x2dc),_0x477bc3(0x1dc),_0x477bc3(0x384),'red.300',_0x477bc3(0x1e4),_0x477bc3(0x38f)];class _0x446316 extends _0x162031['Disposable']{constructor(){const _0x4d3501=_0x477bc3;super(...arguments),_0x387a01(this,'_assignedColors',new Map()),_0x387a01(this,_0x4d3501(0x355),0x0);}['assignAColorForMemberID'](_0x951527){const _0x2e6e3c=_0x477bc3;if(this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x3cf)](_0x951527))return this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x375)](_0x951527);const _0x28134b=_0x3a99c3[this[_0x2e6e3c(0x355)]];return this[_0x2e6e3c(0x355)]=(this['_colorIndex']+0x1)%_0x3a99c3['length'],this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x34a)](_0x951527,_0x28134b),_0x28134b;}}function _0x3b41bd(_0x524c93){const _0x50b5a3=_0x477bc3;let _0xe7ffaf='';for(const _0x5dbb4f of _0x524c93){const {startOffset:_0x391a38,endOffset:_0x12a495,isActive:_0xa453e8,rangeType:_0x51df26,segmentId:_0x50d11b,segmentPage:_0x1480a3}=_0x5dbb4f;_0xe7ffaf[_0x50b5a3(0x215)]&&(_0xe7ffaf+=','),_0xe7ffaf+=_0x391a38+':'+_0x12a495+':'+(_0xa453e8?'1':'0')+':'+_0x51df26+':'+_0x50d11b+':'+_0x1480a3;}return _0xe7ffaf;}function _0x121003(_0x57178b){const _0x55e27a=_0x477bc3,_0x246fe0=_0x57178b[_0x55e27a(0xf9)](','),_0x4c8bfb=[];for(const _0x887c3d of _0x246fe0){const [_0x49982a,_0x2153b9,_0x35dba0,_0xcd88b6,_0x37423a,_0xe3e418]=_0x887c3d['split'](':');_0x4c8bfb[_0x55e27a(0x138)]({'startOffset':Number(_0x49982a),'endOffset':Number(_0x2153b9),'collapsed':_0x49982a===_0x2153b9,'isActive':_0x35dba0==='1','rangeType':_0xcd88b6===_0x162031['DOC_RANGE_TYPE'][_0x55e27a(0x252)]?_0x162031[_0x55e27a(0x1d9)][_0x55e27a(0x252)]:_0x162031[_0x55e27a(0x1d9)][_0x55e27a(0x29d)],'segmentId':typeof _0x37423a==_0x55e27a(0x1cb)?String(_0x37423a):'','segmentPage':Number(_0xe3e418!=null?_0xe3e418:-0x1)});}return _0x4c8bfb[_0x55e27a(0x30e)](_0x23b56e=>_0x23b56e['isActive'])||(_0x4c8bfb[0x0]['isActive']=!0x0),_0x4c8bfb;}class _0x3f7f20 extends _0x162031['RxDisposable']{constructor(){const _0x52bf15=_0x477bc3;super(...arguments),_0x387a01(this,_0x52bf15(0x11e),new _0xe327d9[(_0x52bf15(0x136))](null)),_0x387a01(this,_0x52bf15(0x1ba),this['_collabCursorState$'][_0x52bf15(0x119)]());}[_0x477bc3(0x25d)](_0x28eceb){const _0x570079=_0x477bc3,{unitID:_0x152297,memberID:_0x15c498,textRanges:_0x4bf291}=_0x28eceb,_0x180787=_0x3b41bd(_0x4bf291);if(_0x180787==='')return;const _0x1c350a={'unitID':_0x152297,'memberID':_0x15c498,'selection':_0x180787};this[_0x570079(0x11e)][_0x570079(0x3be)](_0x1c350a);}}var _0x3a4aaa=Object[_0x477bc3(0x1ec)],_0x4246d9=(_0x48b371,_0x381dd9,_0x4f6655,_0x132ae8)=>{const _0x5c457e=_0x477bc3;for(var _0x246701=_0x132ae8>0x1?void 0x0:_0x132ae8?_0x3a4aaa(_0x381dd9,_0x4f6655):_0x381dd9,_0x42cf91=_0x48b371[_0x5c457e(0x215)]-0x1,_0x68757a;_0x42cf91>=0x0;_0x42cf91--)(_0x68757a=_0x48b371[_0x42cf91])&&(_0x246701=_0x68757a(_0x246701)||_0x246701);return _0x246701;},_0x2211aa=(_0x38a445,_0x3a2603)=>(_0x264873,_0x276d1b)=>_0x3a2603(_0x264873,_0x276d1b,_0x38a445);const _0x4b0adc=0x12c,_0x2f001d=0x64;let _0x36b425=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0xf42aeb,_0x1a14f7,_0x424f6d,_0x2353e1,_0x460170,_0x16dd61,_0x80fa2a,_0x20ba75,_0xc16b8c){const _0x31afdf=_0x477bc3;super(),_0x387a01(this,_0x31afdf(0x159),!0x1),_0x387a01(this,_0x31afdf(0x1ad),!0x1),_0x387a01(this,_0x31afdf(0x10e),new _0xe327d9[(_0x31afdf(0x136))](new Map())),_0x387a01(this,_0x31afdf(0x262),this['_cursorInfo$']['asObservable']()),_0x387a01(this,'_roomMembers$',new _0xe327d9[(_0x31afdf(0x136))]([])),_0x387a01(this,_0x31afdf(0x2db),this[_0x31afdf(0x281)][_0x31afdf(0x2d1)](_0xe327d9[_0x31afdf(0x1da)](_0x4b0adc))),_0x387a01(this,_0x31afdf(0x276),_0x162031[_0x31afdf(0x24c)](_0x12f555=>{const _0x5d1c98=_0x31afdf,_0x45553c={'eventID':_0x4cd710[_0x5d1c98(0x22d)][_0x5d1c98(0x164)],'data':{'unitID':this[_0x5d1c98(0x3d0)],'memberID':this[_0x5d1c98(0x20b)][_0x5d1c98(0x3ae)](),'selection':_0x3b41bd(_0x12f555)}};this[_0x5d1c98(0x20b)][_0x5d1c98(0x3a8)](_0x45553c,this['unitID']);},_0x2f001d)),(this[_0x31afdf(0x3d0)]=_0xf42aeb,this['_session']=_0x1a14f7,this[_0x31afdf(0x3da)]=_0x424f6d,this[_0x31afdf(0x343)]=_0x2353e1,this[_0x31afdf(0x1d3)]=_0x460170,this[_0x31afdf(0x304)]=_0x16dd61,this[_0x31afdf(0x22c)]=_0x80fa2a,this[_0x31afdf(0x225)]=_0x20ba75,this[_0x31afdf(0x139)]=_0xc16b8c);}get['cursorInfo'](){const _0x76b1c4=_0x477bc3;return this[_0x76b1c4(0x10e)][_0x76b1c4(0x182)]();}get['roomMembers'](){const _0x5e8db1=_0x477bc3;return this[_0x5e8db1(0x281)][_0x5e8db1(0x182)]();}[_0x477bc3(0x388)](){const _0x309104=_0x477bc3;super['dispose'](),this[_0x309104(0x10e)][_0x309104(0x3be)](new Map()),this[_0x309104(0x10e)]['complete'](),this[_0x309104(0x281)][_0x309104(0x3be)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2ac674=_0x477bc3;this[_0x2ac674(0x1ad)]||(this[_0x2ac674(0x1ad)]=!0x0,this[_0x2ac674(0x20b)][_0x2ac674(0x1af)]['pipe'](_0xe327d9[_0x2ac674(0x331)](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x561f01=>{const _0x1ca633=_0x2ac674;_0x561f01===_0x44b518[_0x1ca633(0x385)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x2ac674(0x20b)]['event$'][_0x2ac674(0x2d1)](_0xe327d9['takeUntil'](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x1e2f85=>{const _0x59371c=_0x2ac674,_0x51d66=_0x1e2f85[_0x59371c(0x2ad)];_0x51d66===_0x4cd710[_0x59371c(0x22d)][_0x59371c(0x164)]&&this[_0x59371c(0x25c)](_0x1e2f85),_0x51d66===_0x4cd710[_0x59371c(0x22d)][_0x59371c(0x314)]&&this['_onCursorDelete'](_0x1e2f85);}),this['disposeWithMe'](this[_0x2ac674(0x139)][_0x2ac674(0x1b7)](_0x3619c3=>{const _0x58381e=_0x2ac674,_0x20be0a=_0x3619c3[_0x58381e(0x1ab)];_0x20be0a!=null&&this['_online']&&_0x3619c3['id']===_0x47f67f[_0x58381e(0x2b6)]['id']&&_0x20be0a[_0x58381e(0x150)]===this['unitID']&&_0x20be0a[_0x58381e(0x1a1)]===!0x1&&_0x20be0a[_0x58381e(0x1de)][_0x58381e(0x215)]>0x0&&this[_0x58381e(0x276)](_0x20be0a[_0x58381e(0x1de)]);})),this[_0x2ac674(0x304)]['collabCursorState$'][_0x2ac674(0x2d1)](_0xe327d9[_0x2ac674(0x331)](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x48867b=>{const _0x225024=_0x2ac674;if((_0x48867b==null?void 0x0:_0x48867b[_0x225024(0x3d0)])!==this[_0x225024(0x3d0)])return;const _0x2d2093={'eventID':_0x4cd710[_0x225024(0x22d)][_0x225024(0x164)],'data':_0x48867b};this[_0x225024(0x25c)](_0x2d2093);}),this[_0x2ac674(0x32e)](this[_0x2ac674(0x139)][_0x2ac674(0x1b7)](_0x1e9af6=>{const _0x4f0adc=_0x2ac674;if(_0x1e9af6[_0x4f0adc(0x1ab)]==null)return;const _0x170cfe=_0x1e9af6['params'];if(_0x1e9af6['id']!==_0x47f67f['RichTextEditingMutation']['id']||_0x170cfe[_0x4f0adc(0x150)]!==this['unitID'])return;const _0x53e19f={'id':_0x4f0adc(0x20a),'params':_0x170cfe},_0x590fec=this[_0x4f0adc(0x266)];for(const [_0x1a3e26,_0x456c9a]of _0x590fec){const _0x21c02a={'id':_0x4f0adc(0x20a),'params':{'unitId':this[_0x4f0adc(0x3d0)],'actions':null,'textRanges':_0x456c9a[_0x4f0adc(0x1de)]}},_0x4269ab=this[_0x4f0adc(0x22c)]['transformMutation'](_0x53e19f,_0x21c02a,!0x1);if(_0x4cd710[_0x4f0adc(0x3ad)](_0x4269ab))throw _0x4269ab[_0x4f0adc(0x2d0)];_0x590fec[_0x4f0adc(0x34a)](_0x1a3e26,{..._0x456c9a,'ranges':_0x4269ab[_0x4f0adc(0x250)][_0x4f0adc(0x1ab)][_0x4f0adc(0x395)]});}queueMicrotask(()=>{const _0x16a74d=_0x4f0adc;this[_0x16a74d(0x10e)][_0x16a74d(0x3be)](_0x590fec);});})));}[_0x477bc3(0x25c)](_0x49d18b){const _0x1e8498=_0x477bc3;var _0x4855aa,_0xa28809;const {memberID:_0x23e670,selection:_0x47d091}=_0x49d18b[_0x1e8498(0x1f9)],_0x17b7f1=_0x121003(_0x47d091),_0x266ea5=(_0xa28809=(_0x4855aa=this[_0x1e8498(0x1d3)][_0x1e8498(0x271)](this['unitID'],_0x23e670))==null?void 0x0:_0x4855aa[_0x1e8498(0x3d4)])!=null?_0xa28809:_0x1e8498(0x30f),_0x58ec2f={'color':this[_0x1e8498(0x343)][_0x1e8498(0x2ff)](_0x23e670),'name':_0x266ea5,'ranges':_0x17b7f1},_0x5a8c2f=this['cursorInfo'];_0x5a8c2f[_0x1e8498(0x34a)](_0x23e670,_0x58ec2f),this['_cursorInfo$']['next'](_0x5a8c2f);}[_0x477bc3(0x33f)](_0xd23022){const _0x37b767=_0x477bc3,{memberID:_0x948a80}=_0xd23022[_0x37b767(0x1f9)],_0x4b6ea4=this[_0x37b767(0x266)];_0x4b6ea4[_0x37b767(0x32d)](_0x948a80),this[_0x37b767(0x10e)][_0x37b767(0x3be)](_0x4b6ea4);}[_0x477bc3(0x32f)](){const _0x4848a8=_0x477bc3;var _0x40a7e5;if(this[_0x4848a8(0x159)]=!0x0,((_0x40a7e5=this[_0x4848a8(0x225)]['getFocusedUnit']())==null?void 0x0:_0x40a7e5[_0x4848a8(0x161)]())!==this[_0x4848a8(0x3d0)])return;const _0x495625=this[_0x4848a8(0x3da)][_0x4848a8(0x375)](_0x47f67f[_0x4848a8(0x293)])[_0x4848a8(0x28c)]();Array[_0x4848a8(0x165)](_0x495625)&&_0x495625['length']>0x0&&this['_updateLocalCursor'](_0x495625);}[_0x477bc3(0x1dd)](){const _0x554ca7=_0x477bc3;this[_0x554ca7(0x159)]=!0x1;}};_0x36b425=_0x4246d9([_0x2211aa(0x2,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x2211aa(0x3,_0x162031[_0x477bc3(0x2b0)](_0x446316)),_0x2211aa(0x4,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x111)])),_0x2211aa(0x5,_0x162031[_0x477bc3(0x2b0)](_0x3f7f20)),_0x2211aa(0x6,_0x4cd710['ITransformService']),_0x2211aa(0x7,_0x162031[_0x477bc3(0x21c)]),_0x2211aa(0x8,_0x162031['ICommandService'])],_0x36b425);var _0x7dc9c=Object[_0x477bc3(0x1ec)],_0x3549ae=(_0x4ea3b8,_0x2047f0,_0x938f38,_0x435686)=>{for(var _0x21e602=_0x435686>0x1?void 0x0:_0x435686?_0x7dc9c(_0x2047f0,_0x938f38):_0x2047f0,_0x31c7ad=_0x4ea3b8['length']-0x1,_0x5d8a83;_0x31c7ad>=0x0;_0x31c7ad--)(_0x5d8a83=_0x4ea3b8[_0x31c7ad])&&(_0x21e602=_0x5d8a83(_0x21e602)||_0x21e602);return _0x21e602;},_0x314842=(_0x4d6efc,_0x230915)=>(_0x4fa9d1,_0x3de934)=>_0x230915(_0x4fa9d1,_0x3de934,_0x4d6efc);const _0x310d61=0x12c,_0x4e7e61=0x64,_0x50f2ad=()=>{let _0x1a6eb1=[],_0x57bc34=!0x1;return _0x58c501=>{_0x1a6eb1['push'](_0x58c501),_0x57bc34||(_0x57bc34=!0x0,setTimeout(()=>{const _0x2307aa=_0x1b11;_0x1a6eb1[_0x2307aa(0x3c7)](_0x404b73=>_0x404b73()),_0x1a6eb1=[],_0x57bc34=!0x1;}));};};let _0x3944c4=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x171d15,_0x285adc,_0x136bfc,_0x23b027,_0x1ff076,_0x2fa3be,_0x41f54e,_0x1ae9b8){const _0x3f4d45=_0x477bc3;super(),_0x387a01(this,_0x3f4d45(0x159),!0x1),_0x387a01(this,'_init',!0x1),_0x387a01(this,_0x3f4d45(0x10e),new _0xe327d9[(_0x3f4d45(0x136))](new Map())),_0x387a01(this,_0x3f4d45(0x262),this[_0x3f4d45(0x10e)][_0x3f4d45(0x119)]()),_0x387a01(this,'_roomMembers$',new _0xe327d9[(_0x3f4d45(0x136))]([])),_0x387a01(this,_0x3f4d45(0x2db),this[_0x3f4d45(0x281)][_0x3f4d45(0x2d1)](_0xe327d9[_0x3f4d45(0x1da)](_0x310d61))),_0x387a01(this,_0x3f4d45(0x276),_0x162031['debounce']((_0x54e2f7,_0x1fad34)=>{const _0x35bcde=_0x3f4d45,_0x67d265={'eventID':_0x4cd710['CollaborationEvent'][_0x35bcde(0x164)],'data':{'unitID':this[_0x35bcde(0x3d0)],'memberID':this[_0x35bcde(0x20b)][_0x35bcde(0x3ae)](),'selection':_0xf4950[_0x35bcde(0x228)](_0x54e2f7,_0x1fad34['range'])}};this[_0x35bcde(0x20b)][_0x35bcde(0x3a8)](_0x67d265,this[_0x35bcde(0x3d0)]);},_0x4e7e61)),(this['unitID']=_0x171d15,this[_0x3f4d45(0x20b)]=_0x285adc,this['_injector']=_0x136bfc,this['_colorAssignService']=_0x23b027,this[_0x3f4d45(0x1d3)]=_0x1ff076,this['_univerInstanceService']=_0x2fa3be,this[_0x3f4d45(0x139)]=_0x41f54e,this[_0x3f4d45(0x1a3)]=_0x1ae9b8);}get[_0x477bc3(0x266)](){const _0x55050e=_0x477bc3;return this[_0x55050e(0x10e)]['getValue']();}get[_0x477bc3(0x26d)](){const _0x25597d=_0x477bc3;return this[_0x25597d(0x281)][_0x25597d(0x182)]();}[_0x477bc3(0x388)](){const _0x4de6f2=_0x477bc3;super[_0x4de6f2(0x388)](),this['_cursorInfo$'][_0x4de6f2(0x3be)](new Map()),this[_0x4de6f2(0x10e)][_0x4de6f2(0x39e)](),this[_0x4de6f2(0x281)][_0x4de6f2(0x3be)]([]),this[_0x4de6f2(0x281)][_0x4de6f2(0x39e)]();}[_0x477bc3(0x10a)](){const _0x11b883=_0x477bc3;this[_0x11b883(0x1ad)]||(this[_0x11b883(0x1ad)]=!0x0,this[_0x11b883(0x20b)]['sessionStatus$'][_0x11b883(0x2d1)](_0xe327d9[_0x11b883(0x331)](this[_0x11b883(0x1c1)]))['subscribe'](_0x3ba9de=>{const _0x5c6639=_0x11b883;_0x3ba9de===_0x44b518[_0x5c6639(0x385)][_0x5c6639(0x39b)]?this[_0x5c6639(0x32f)]():this[_0x5c6639(0x1dd)]();}),this['_session']['event$'][_0x11b883(0x2d1)](_0xe327d9['takeUntil'](this[_0x11b883(0x1c1)]))[_0x11b883(0x2cd)](_0x253f74=>{const _0x41515d=_0x11b883,_0x4a7660=_0x253f74[_0x41515d(0x2ad)];_0x4a7660===_0x4cd710[_0x41515d(0x22d)][_0x41515d(0x164)]&&this[_0x41515d(0x25c)](_0x253f74),_0x4a7660===_0x4cd710[_0x41515d(0x22d)][_0x41515d(0x314)]&&this[_0x41515d(0x33f)](_0x253f74);}),this[_0x11b883(0x2a2)](),this['disposeWithMe'](this[_0x11b883(0x139)]['onCommandExecuted'](_0x2a939c=>{const _0x4f2bf7=_0x11b883;if(this[_0x4f2bf7(0x159)]&&_0x2a939c['id']===_0x3f123f[_0x4f2bf7(0x363)]['id']&&_0x2a939c[_0x4f2bf7(0x1ab)][_0x4f2bf7(0x150)]===this[_0x4f2bf7(0x3d0)]){const _0x2349ed=_0x2a939c['params'];this[_0x4f2bf7(0x276)](_0x2349ed[_0x4f2bf7(0x13f)],_0x2349ed[_0x4f2bf7(0xf3)][0x0]);}})));}[_0x477bc3(0x25c)](_0x599e85){const _0x254852=_0x477bc3;var _0x312205,_0x4261a6;const {memberID:_0xcd8dab,selection:_0x3c54b3}=_0x599e85['data'],{sheetName:_0x32a29a,range:_0x59c049}=_0xf4950[_0x254852(0x152)](_0x3c54b3),_0x526f96={'name':(_0x4261a6=(_0x312205=this[_0x254852(0x1d3)]['getMember'](this[_0x254852(0x3d0)],_0xcd8dab))==null?void 0x0:_0x312205[_0x254852(0x3d4)])!=null?_0x4261a6:_0x254852(0x30f),'range':this[_0x254852(0x202)](_0x32a29a,_0x59c049),'sheetID':_0x32a29a,'color':this[_0x254852(0x343)]['assignAColorForMemberID'](_0xcd8dab),'selection':_0x3c54b3},_0x3f3ae2=this[_0x254852(0x266)];_0x3f3ae2['set'](_0xcd8dab,_0x526f96),this[_0x254852(0x10e)][_0x254852(0x3be)](_0x3f3ae2);}['_onCursorDelete'](_0x3b863a){const _0x58ff4a=_0x477bc3,{memberID:_0x4cc127}=_0x3b863a[_0x58ff4a(0x1f9)],_0x3d26b3=this[_0x58ff4a(0x266)];_0x3d26b3[_0x58ff4a(0x32d)](_0x4cc127),this[_0x58ff4a(0x10e)][_0x58ff4a(0x3be)](_0x3d26b3);}['_getMergeRange'](_0x15f6f9,_0x3a3bc2){const _0xa1c253=_0x477bc3;var _0x36716b,_0x23fc84;const _0x58b9d5=(_0x23fc84=(_0x36716b=this[_0xa1c253(0x225)][_0xa1c253(0x3cd)](this['unitID']))==null?void 0x0:_0x36716b['getSheetBySheetId'](_0x15f6f9))==null?void 0x0:_0x23fc84[_0xa1c253(0x392)]();return(_0x58b9d5==null?void 0x0:_0x58b9d5[_0xa1c253(0x295)](_0x1b44d3=>_0x162031['Rectangle']['contains'](_0x1b44d3,_0x3a3bc2)))||_0x3a3bc2;}[_0x477bc3(0x2a2)](){const _0x2aabd9=_0x477bc3,_0x179e81=new _0x162031['DisposableCollection'](),_0x312e17=_0x50f2ad(),_0x18a892=()=>{const _0xdb8232=_0x1b11;_0x179e81[_0xdb8232(0x388)]();const _0x48066a=(_0x19cc6c,_0x210a3a,_0x4fc507,_0x54809c)=>{const _0x5d9072=_0xdb8232;let _0x4303bb=[];switch(_0x19cc6c['id']){case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1d8)]:{_0x4303bb=_0x3f123f['handleDeleteRangeMoveLeft'](_0x19cc6c,_0x54809c);break;}case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1b6)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x28b)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x154)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x14a)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2c1)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x349)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2a5)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x1e0)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)]['InsertRowCommandId']:{_0x4303bb=_0x3f123f[_0x5d9072(0x1e8)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2fc)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x241)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x183)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x113)](_0x19cc6c,_0x54809c);break;}case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1f3)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x2f6)](_0x19cc6c,_0x54809c);break;}}const _0x35eecc=_0x3f123f['runRefRangeMutations'](_0x4303bb,_0x54809c),_0x27357a=this[_0x5d9072(0x266)][_0x5d9072(0x375)](_0x210a3a);if(_0x27357a&&_0x35eecc){const _0x19d255={..._0x27357a,'range':_0x35eecc};this[_0x5d9072(0x266)][_0x5d9072(0x34a)](_0x210a3a,_0x19d255),_0x312e17(()=>{const _0x5ad281=_0x5d9072,_0x3c6b26=this['_refRangeService'][_0x5ad281(0x287)](_0x35eecc,_0x2d4a21=>(_0x3c6b26[_0x5ad281(0x388)](),_0x48066a(_0x2d4a21,_0x210a3a,_0x4fc507,_0x35eecc)));_0x179e81[_0x5ad281(0x1d6)](_0x3c6b26);});}return{'redos':[],'undos':[]};};this[_0xdb8232(0x266)][_0xdb8232(0x3c7)]((_0x5ddf17,_0x15f060)=>{const _0x1f29f5=_0xdb8232,{range:_0x2bcd63,sheetID:_0x92ce5}=_0x5ddf17,_0xf965c=this[_0x1f29f5(0x1a3)][_0x1f29f5(0x287)](_0x2bcd63,_0x36f69f=>(_0xf965c[_0x1f29f5(0x388)](),_0x48066a(_0x36f69f,_0x15f060,_0x92ce5,_0x2bcd63)));_0x179e81[_0x1f29f5(0x1d6)](_0xf965c);});};this[_0x2aabd9(0x32e)](_0x162031[_0x2aabd9(0x16b)](this['_cursorInfo$'][_0x2aabd9(0x2cd)](()=>{_0x18a892();})));}[_0x477bc3(0x32f)](){const _0x1637e3=_0x477bc3;var _0x37388f,_0x1f9aa3;if(this[_0x1637e3(0x159)]=!0x0,((_0x37388f=this[_0x1637e3(0x225)]['getFocusedUnit']())==null?void 0x0:_0x37388f[_0x1637e3(0x161)]())!==this[_0x1637e3(0x3d0)])return;const _0x5b7bf2=(_0x1f9aa3=this[_0x1637e3(0x3da)]['get'](_0x3f123f['SheetsSelectionsService'])[_0x1637e3(0x27c)]())==null?void 0x0:_0x1f9aa3[0x0],_0x1874b9=this[_0x1637e3(0x225)]['getCurrentUnitForType'](_0x162031[_0x1637e3(0x1c9)][_0x1637e3(0x277)])['getActiveSheet']();_0x5b7bf2&&_0x1874b9&&this[_0x1637e3(0x276)](_0x1874b9[_0x1637e3(0x2a7)](),_0x5b7bf2);}[_0x477bc3(0x1dd)](){const _0x5f9419=_0x477bc3;this[_0x5f9419(0x159)]=!0x1;}};_0x3944c4=_0x3549ae([_0x314842(0x2,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x314842(0x3,_0x162031[_0x477bc3(0x2b0)](_0x446316)),_0x314842(0x4,_0x162031[_0x477bc3(0x2b0)](_0x44b518['MemberService'])),_0x314842(0x5,_0x162031[_0x477bc3(0x21c)]),_0x314842(0x6,_0x162031['ICommandService']),_0x314842(0x7,_0x162031['Inject'](_0x3f123f[_0x477bc3(0x209)]))],_0x3944c4);var _0x1a9566=Object[_0x477bc3(0x1ec)],_0x5bdd9f=(_0x5ee5e5,_0x4709cb,_0x804d18,_0x363b7f)=>{for(var _0x58a054=_0x363b7f>0x1?void 0x0:_0x363b7f?_0x1a9566(_0x4709cb,_0x804d18):_0x4709cb,_0x2871bd=_0x5ee5e5['length']-0x1,_0x272321;_0x2871bd>=0x0;_0x2871bd--)(_0x272321=_0x5ee5e5[_0x2871bd])&&(_0x58a054=_0x272321(_0x58a054)||_0x58a054);return _0x58a054;},_0x5225e8=(_0x1088d8,_0x3d0e2d)=>(_0x557ab7,_0x1d3021)=>_0x3d0e2d(_0x557ab7,_0x1d3021,_0x1088d8);let _0x421cc1=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x522773,_0x4e635a,_0x4f954b){const _0x166c40=_0x477bc3;super(),_0x387a01(this,_0x166c40(0x3c1),new Map()),_0x387a01(this,_0x166c40(0x200),new _0xe327d9[(_0x166c40(0x3b7))]()),(this[_0x166c40(0x225)]=_0x522773,this[_0x166c40(0x3da)]=_0x4e635a,this['_collabSessionService']=_0x4f954b,this[_0x166c40(0x1ad)]());}[_0x477bc3(0x388)](){const _0x1aaac0=_0x477bc3;super['dispose'](),this[_0x1aaac0(0x200)][_0x1aaac0(0x39e)](),this['_entities'][_0x1aaac0(0x3c7)](_0x29f867=>_0x29f867[_0x1aaac0(0x388)]());}[_0x477bc3(0x10c)](_0x5672bb){const _0x3ce46d=_0x477bc3;return this[_0x3ce46d(0x3c1)][_0x3ce46d(0x3cf)](_0x5672bb)?this[_0x3ce46d(0x3c1)]['get'](_0x5672bb)[_0x3ce46d(0x262)]:this['_entityInit$'][_0x3ce46d(0x2d1)](_0xe327d9['filter'](_0x27c868=>_0x27c868[_0x3ce46d(0x3d0)]===_0x5672bb),_0xe327d9[_0x3ce46d(0x220)](_0xb2628e=>_0xb2628e[_0x3ce46d(0x262)]));}[_0x477bc3(0x1ad)](){const _0x2c9e3d=_0x477bc3;this['_univerInstanceService'][_0x2c9e3d(0x15c)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x277)])[_0x2c9e3d(0x2d1)](_0xe327d9[_0x2c9e3d(0x331)](this[_0x2c9e3d(0x1c1)]))[_0x2c9e3d(0x2cd)](async _0x3543c8=>{const _0x3d8607=_0x2c9e3d,_0x2723aa=_0x3543c8[_0x3d8607(0x161)](),_0x17598d=await this[_0x3d8607(0x3b3)](_0x2723aa);this['_entityInit$'][_0x3d8607(0x3be)](_0x17598d),this[_0x3d8607(0x3c1)][_0x3d8607(0x34a)](_0x2723aa,_0x17598d);}),this[_0x2c9e3d(0x225)]['getTypeOfUnitAdded$'](_0x162031['UniverInstanceType'][_0x2c9e3d(0x2c3)])[_0x2c9e3d(0x2d1)](_0xe327d9['takeUntil'](this[_0x2c9e3d(0x1c1)]))[_0x2c9e3d(0x2d1)](_0xe327d9[_0x2c9e3d(0x124)](_0x15fa09=>!_0x15fa09['getUnitId']()[_0x2c9e3d(0x27d)]('__')))[_0x2c9e3d(0x2cd)](async _0x4ca835=>{const _0x2569db=_0x2c9e3d,_0x1ea1cc=_0x4ca835[_0x2569db(0x161)](),_0x47a71c=await this['_startDocCollabCursor'](_0x1ea1cc);this['_entityInit$'][_0x2569db(0x3be)](_0x47a71c),this[_0x2569db(0x3c1)][_0x2569db(0x34a)](_0x1ea1cc,_0x47a71c);}),_0xe327d9[_0x2c9e3d(0x249)](this[_0x2c9e3d(0x225)][_0x2c9e3d(0x3d2)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x2c3)]),this['_univerInstanceService'][_0x2c9e3d(0x3d2)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x277)]))['pipe'](_0xe327d9[_0x2c9e3d(0x331)](this[_0x2c9e3d(0x1c1)]))['subscribe'](_0x4bafe0=>{const _0x59d98e=_0x2c9e3d,_0x514911=_0x4bafe0[_0x59d98e(0x161)](),_0x11c8d8=this[_0x59d98e(0x3c1)][_0x59d98e(0x375)](_0x514911);_0x11c8d8&&(_0x11c8d8[_0x59d98e(0x388)](),this[_0x59d98e(0x3c1)][_0x59d98e(0x32d)](_0x514911));});}async[_0x477bc3(0x3b3)](_0x462f6e){const _0xfdac2b=_0x477bc3,_0x45c56d=await this['_collabSessionService'][_0xfdac2b(0x107)](_0x462f6e),_0x1a8021=this[_0xfdac2b(0x3da)][_0xfdac2b(0x11c)](_0x3944c4,_0x462f6e,_0x45c56d);return _0x1a8021[_0xfdac2b(0x10a)](),_0x1a8021;}async[_0x477bc3(0x1a9)](_0xd56544){const _0x35b6e5=_0x477bc3,_0x194d6a=await this[_0x35b6e5(0x299)][_0x35b6e5(0x107)](_0xd56544),_0x3e0565=this[_0x35b6e5(0x3da)][_0x35b6e5(0x11c)](_0x36b425,_0xd56544,_0x194d6a);return _0x3e0565[_0x35b6e5(0x10a)](),_0x3e0565;}};_0x421cc1=_0x5bdd9f([_0x5225e8(0x0,_0x162031['IUniverInstanceService']),_0x5225e8(0x1,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x5225e8(0x2,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x1e5)]))],_0x421cc1);const _0x2a224c=0x14,_0x5b89ee=0xc8,_0x549daf=0x4,_0x41e0cc=0x5;function _0x5746fc(_0x4e5e2c,_0x3951e3){const _0x195657=_0x477bc3;let {radius:_0x519648,width:_0x265520,height:_0x3bebb7}=_0x3951e3;_0x519648=_0x519648!=null?_0x519648:0x0,_0x265520=_0x265520!=null?_0x265520:0x1e,_0x3bebb7=_0x3bebb7!=null?_0x3bebb7:0x1e;let _0x580dbd=0x0,_0x6627c6=0x0,_0xcb984e=0x0;_0x580dbd=_0x6627c6=_0xcb984e=Math[_0x195657(0x270)](_0x519648,_0x265520/0x2,_0x3bebb7/0x2),_0x4e5e2c[_0x195657(0x32a)](),_0x4e5e2c[_0x195657(0x195)](_0x580dbd,0x0),_0x4e5e2c['lineTo'](_0x265520-_0x6627c6,0x0),_0x4e5e2c[_0x195657(0x129)](_0x265520-_0x6627c6,_0x6627c6,_0x6627c6,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e5e2c[_0x195657(0x108)](_0x265520,_0x3bebb7-_0xcb984e),_0x4e5e2c[_0x195657(0x129)](_0x265520-_0xcb984e,_0x3bebb7-_0xcb984e,_0xcb984e,0x0,Math['PI']/0x2,!0x1),_0x4e5e2c['lineTo'](0x0,_0x3bebb7),_0x4e5e2c[_0x195657(0x108)](0x0,_0x580dbd),_0x4e5e2c[_0x195657(0x129)](_0x580dbd,_0x580dbd,_0x580dbd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e5e2c['closePath'](),_0x3951e3[_0x195657(0x368)]&&(_0x4e5e2c[_0x195657(0x381)](),_0x4e5e2c[_0x195657(0x3a5)]=_0x3951e3['fill'],_0x3951e3[_0x195657(0x3c8)]==='evenodd'?_0x4e5e2c[_0x195657(0x368)]('evenodd'):_0x4e5e2c['fill'](),_0x4e5e2c[_0x195657(0x1be)]());}class _0x2a34f4 extends _0x433081[_0x477bc3(0xf6)]{constructor(_0x7625cb,_0x3fbf26){const _0x356ea6=_0x477bc3;super(_0x7625cb,_0x3fbf26),_0x387a01(this,_0x356ea6(0x370)),_0x387a01(this,_0x356ea6(0x1ff)),(this[_0x356ea6(0x370)]=_0x3fbf26==null?void 0x0:_0x3fbf26[_0x356ea6(0x370)],this[_0x356ea6(0x1ff)]=_0x3fbf26==null?void 0x0:_0x3fbf26[_0x356ea6(0x1ff)]);}static[_0x477bc3(0x145)](_0x3aa136,_0x4bf87f){const _0x80000b=_0x477bc3,{text:_0x2073d2,color:_0x2a64ba}=_0x4bf87f;_0x3aa136[_0x80000b(0x381)](),_0x3aa136['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x576804=_0x3aa136['measureText'](_0x2073d2)[_0x80000b(0x2c0)],_0x5cb21a=Math[_0x80000b(0x270)](_0x576804+0x2*_0x549daf,_0x5b89ee);_0x5746fc(_0x3aa136,{'height':_0x2a224c,'radius':0x4,'width':_0x5cb21a,'fill':_0x2a64ba}),_0x3aa136['fillStyle']=_0x80000b(0x24b);const _0x34d1b3=_0x549daf,_0xb9138f=_0x2a224c-_0x41e0cc,_0x1b1bb6=_0x5b89ee-0x2*_0x549daf;if(_0x576804>_0x1b1bb6){let _0x61d362='',_0x164939=0x0;for(const _0x5e5de5 of _0x2073d2){const _0x46792b=_0x3aa136[_0x80000b(0x378)](_0x5e5de5)[_0x80000b(0x2c0)];if(_0x164939+_0x46792b<=_0x1b1bb6-_0x3aa136['measureText'](_0x80000b(0x240))[_0x80000b(0x2c0)])_0x61d362+=_0x5e5de5,_0x164939+=_0x46792b;else{_0x61d362+='...';break;}}_0x3aa136[_0x80000b(0x2e6)](_0x61d362,_0x34d1b3,_0xb9138f);}else _0x3aa136['fillText'](_0x2073d2,_0x34d1b3,_0xb9138f);_0x3aa136[_0x80000b(0x1be)]();}['_draw'](_0x531ed0){_0x2a34f4['drawWith'](_0x531ed0,this);}}const _0x3fded9=_0x477bc3(0x289),_0x49fae5='collab-text-range-',_0x2b7512='collab-rect-range-',_0x307f23=0x6,_0x5bca90=1.5,_0xcd4d86=0x4,_0x185f72=1.5,_0x384113=_0x477bc3(0x214);class _0x291d53{constructor(_0x1cea1a,_0x46ffa5,_0x431db1,_0x3410d1){const _0x3d405b=_0x477bc3;_0x387a01(this,_0x3d405b(0x100),[]),_0x387a01(this,'_anchor',null),_0x387a01(this,_0x3d405b(0x396),null),_0x387a01(this,_0x3d405b(0x27f),null),_0x387a01(this,_0x3d405b(0x2f3),null),_0x387a01(this,_0x3d405b(0x16a),null),(this[_0x3d405b(0x351)]=_0x1cea1a,this[_0x3d405b(0x2b5)]=_0x46ffa5,this[_0x3d405b(0x123)]=_0x431db1,this[_0x3d405b(0x2af)]=_0x3410d1,this['_render']());}set['_hover'](_0x37ea34){const _0x360abf=_0x477bc3;_0x37ea34?(this[_0x360abf(0x27f)]&&this[_0x360abf(0x27f)][_0x360abf(0x15f)](),this[_0x360abf(0x396)]&&this[_0x360abf(0x396)][_0x360abf(0x348)]()):(this['_anchorDot']&&this[_0x360abf(0x27f)][_0x360abf(0x348)](),this[_0x360abf(0x396)]&&this[_0x360abf(0x396)][_0x360abf(0x15f)]());}[_0x477bc3(0x388)](){const _0x27d86e=_0x477bc3;for(const _0x3e49eb of this[_0x27d86e(0x100)])_0x3e49eb[_0x27d86e(0x388)]();this[_0x27d86e(0x396)]&&this['_textBubble'][_0x27d86e(0x388)](),this[_0x27d86e(0x27f)]&&this['_anchorDot'][_0x27d86e(0x388)](),this[_0x27d86e(0x352)]&&this[_0x27d86e(0x352)][_0x27d86e(0x388)](),this[_0x27d86e(0x16a)]&&this[_0x27d86e(0x16a)]();}['_render'](){const _0x450f87=_0x477bc3;var _0x310bf6;const {_docSkeleton:_0x283018,_document:_0x18e4b2}=this,{color:_0x12cd20,name:_0xc87098,ranges:_0x44221e}=this[_0x450f87(0x351)],_0x19496c=_0x18e4b2[_0x450f87(0x1ed)](),{docsLeft:_0x63c746,docsTop:_0x3bbb3f}=_0x19496c,_0x5ad7b6=new _0x74e6be[(_0x450f87(0x35f))](_0x19496c,_0x283018);for(const {startOffset:_0x425c56,endOffset:_0x45f83d,rangeType:_0xa0b212,segmentId:_0x1675ba,segmentPage:_0xfd2f2a,collapsed:_0x5aaab2,isActive:_0x3b84a3}of _0x44221e){const _0x41f504=_0x283018['findNodePositionByCharIndex'](_0x425c56,!0x0,_0x1675ba,_0xfd2f2a);let _0x3e175e=_0x283018['findNodePositionByCharIndex'](_0x45f83d,!0x0,_0x1675ba,_0xfd2f2a);if(_0x3e175e==null&&(_0x3e175e=_0x283018[_0x450f87(0x33b)](_0x45f83d-0x1,!0x1,_0x1675ba,_0xfd2f2a)),_0x3b84a3){const {contentBoxPointGroup:_0x3efd77}=_0x5ad7b6[_0x450f87(0x324)](_0x3e175e,_0x3e175e);if(_0x3efd77['length']===0x0)continue;this[_0x450f87(0x28a)](_0x12cd20,_0x3efd77,_0x63c746,_0x3bbb3f,_0xc87098),this['_eventUnsubscribe']=this[_0x450f87(0x1f0)]();}if(_0x41f504&&_0x3e175e){if(_0xa0b212===_0x162031[_0x450f87(0x1d9)][_0x450f87(0x29d)]){const _0x345c50=new _0x74e6be[(_0x450f87(0xec))](_0x19496c,_0x283018),{pointGroup:_0x550c17}=(_0x310bf6=_0x345c50[_0x450f87(0x324)](_0x41f504,_0x3e175e))!=null?_0x310bf6:{};if(_0x550c17==null||_0x550c17[_0x450f87(0x215)]===0x0)continue;this[_0x450f87(0x37d)](_0x12cd20,_0x550c17,_0x63c746,_0x3bbb3f);}else{if(!_0x5aaab2){const {borderBoxPointGroup:_0x5a3c85}=_0x5ad7b6[_0x450f87(0x324)](_0x41f504,_0x3e175e);if(_0x5a3c85['length']===0x0)continue;this[_0x450f87(0x1ea)](_0x12cd20,_0x5a3c85,_0x63c746,_0x3bbb3f);}}}}}[_0x477bc3(0x28a)](_0xd7520d,_0x5866f5,_0x96ff79,_0x39d1e3,_0x307eaa){const _0x2cea40=_0x477bc3,_0x696f52=this['_getAnchorBounding'](_0x5866f5),{left:_0x5b5d9b,top:_0x1caa8e,height:_0x1a4d40}=_0x696f52,_0x214211=this[_0x2cea40(0x265)](),_0x4870c9=_0x185f72/_0x214211,_0x1232bc=new _0x433081['Rect'](_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3,'height':_0x1a4d40,'width':_0x5bca90,'fill':_0xd7520d||_0x433081['getColor'](_0x162031[_0x2cea40(0x254)][_0x2cea40(0x286)],0x0),'strokeWidth':_0x4870c9,'stroke':_0x384113,'evented':!0x0});this[_0x2cea40(0x352)]=_0x1232bc,this['_scene'][_0x2cea40(0x208)](_0x1232bc,_0x74e6be[_0x2cea40(0x302)]);const _0x59f298=new _0x433081[(_0x2cea40(0x231))](_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3-_0xcd4d86/0x2,'height':_0xcd4d86,'width':_0xcd4d86,'fill':_0xd7520d||_0x433081[_0x2cea40(0x21a)](_0x162031['COLORS'][_0x2cea40(0x286)],0x0),'strokeWidth':0x0,'stroke':_0xd7520d||_0x433081[_0x2cea40(0x21a)](_0x162031[_0x2cea40(0x254)][_0x2cea40(0x286)],0x0),'evented':!0x1});this[_0x2cea40(0x27f)]=_0x59f298,this['_scene'][_0x2cea40(0x208)](_0x59f298,_0x74e6be['TEXT_RANGE_LAYER_INDEX']);const _0x535216=new _0x2a34f4(_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3-_0x2a224c,'text':_0x307eaa,'color':_0xd7520d});this[_0x2cea40(0x396)]=_0x535216,this[_0x2cea40(0x2b5)][_0x2cea40(0x208)](_0x535216,_0x74e6be['TEXT_RANGE_LAYER_INDEX']),this[_0x2cea40(0x158)]=!0x1;}[_0x477bc3(0x1f0)](){const _0x1c18b6=_0x477bc3,_0x42a2cf=this[_0x1c18b6(0x352)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x23f5e2=this[_0x1c18b6(0x352)][_0x1c18b6(0x243)]['subscribeEvent'](()=>{const _0x516770=_0x1c18b6;this[_0x516770(0x2f3)]&&clearTimeout(this[_0x516770(0x2f3)]),this[_0x516770(0x2f3)]=setTimeout(()=>{const _0x3e3e1d=_0x516770;this[_0x3e3e1d(0x158)]=!0x1;},0x7d0);});return()=>{const _0x489236=_0x1c18b6;_0x42a2cf[_0x489236(0x345)](),_0x23f5e2[_0x489236(0x345)]();};}[_0x477bc3(0x1ea)](_0x10b38f,_0x5d15e3,_0x567cb9,_0x3de138){const _0xbfbfdf=_0x477bc3,_0x1b7099=new _0x162031[(_0xbfbfdf(0x245))](_0x10b38f)[_0xbfbfdf(0x189)](0.2)[_0xbfbfdf(0x3d5)](),_0x4bcb1a=new _0x433081[(_0xbfbfdf(0x2e4))](_0x49fae5+_0x162031['generateRandomId'](_0x307f23),{'pointsGroup':_0x5d15e3,'fill':_0x1b7099||_0x433081[_0xbfbfdf(0x21a)](_0x162031[_0xbfbfdf(0x254)][_0xbfbfdf(0x286)],0.2),'left':_0x567cb9,'top':_0x3de138,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbfbfdf(0x100)]['push'](_0x4bcb1a),this['_scene']['addObject'](_0x4bcb1a,_0x74e6be[_0xbfbfdf(0x302)]);}[_0x477bc3(0x37d)](_0xe6e0fc,_0xf1f908,_0x2fcdc4,_0x574396){const _0x22b8b4=_0x477bc3,_0x45dc16=new _0x162031[(_0x22b8b4(0x245))](_0xe6e0fc)[_0x22b8b4(0x189)](0.2)[_0x22b8b4(0x3d5)](),_0x400628=new _0x433081['RegularPolygon'](_0x2b7512+_0x162031[_0x22b8b4(0x38e)](_0x307f23),{'pointsGroup':_0xf1f908,'fill':_0x45dc16||_0x433081[_0x22b8b4(0x21a)](_0x162031[_0x22b8b4(0x254)][_0x22b8b4(0x286)],0.2),'left':_0x2fcdc4,'top':_0x574396,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22b8b4(0x100)][_0x22b8b4(0x138)](_0x400628),this[_0x22b8b4(0x2b5)]['addObject'](_0x400628,_0x74e6be[_0x22b8b4(0x302)]);}[_0x477bc3(0x323)](_0x505c86){const _0xa5afd2=_0x505c86[0x0],_0x38422b=_0xa5afd2[0x0],_0x183d0a=_0xa5afd2[0x2],{x:_0x25f4d4,y:_0x34a3c1}=_0x38422b,{x:_0x249e11,y:_0x345c5e}=_0x183d0a;return{'left':_0x25f4d4,'top':_0x34a3c1,'width':_0x249e11-_0x25f4d4,'height':_0x345c5e-_0x34a3c1};}['_getScale'](){const _0x206669=_0x477bc3,{scaleX:_0x3b243a,scaleY:_0x59f587}=this['_scene'][_0x206669(0x2e5)]();return Math[_0x206669(0x38b)](_0x3b243a,_0x59f587);}}var _0xceaa62=Object[_0x477bc3(0x1ec)],_0x4c60d3=(_0x2a9156,_0x309792,_0x4120b1,_0x150656)=>{const _0x55482d=_0x477bc3;for(var _0x241c69=_0x150656>0x1?void 0x0:_0x150656?_0xceaa62(_0x309792,_0x4120b1):_0x309792,_0x36d7d3=_0x2a9156[_0x55482d(0x215)]-0x1,_0x3c0d9d;_0x36d7d3>=0x0;_0x36d7d3--)(_0x3c0d9d=_0x2a9156[_0x36d7d3])&&(_0x241c69=_0x3c0d9d(_0x241c69)||_0x241c69);return _0x241c69;},_0x362ca2=(_0x5a971f,_0x1c601a)=>(_0x4d9123,_0x41e98e)=>_0x1c601a(_0x4d9123,_0x41e98e,_0x5a971f);let _0x560482=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x16097d,_0x12a5ee,_0x5cf45e,_0x28fba8,_0x13a3e6){const _0x5aa08e=_0x477bc3;super(),_0x387a01(this,_0x5aa08e(0x284),[]),_0x387a01(this,_0x5aa08e(0x218),[]),(this[_0x5aa08e(0x298)]=_0x16097d,this[_0x5aa08e(0x3a0)]=_0x12a5ee,this[_0x5aa08e(0x26e)]=_0x5cf45e,this[_0x5aa08e(0x139)]=_0x28fba8,this[_0x5aa08e(0x26b)]=_0x13a3e6,this[_0x5aa08e(0x1ad)]());}['_init'](){const _0x5e55b2=_0x477bc3,_0x286cf7=this[_0x5e55b2(0x298)]['unitId'],_0x328a0a=this['_docSkeletonManagerService'];this[_0x5e55b2(0x32e)](_0xe327d9['combineLatest']([this[_0x5e55b2(0x26e)][_0x5e55b2(0x10c)](_0x286cf7),this[_0x5e55b2(0x26b)][_0x5e55b2(0x1e9)]])['pipe'](_0x57b5b5['map'](([_0x55fce3,_0x5a2fec])=>({'skeleton':_0x328a0a[_0x5e55b2(0x115)](),'cursors':[..._0x55fce3[_0x5e55b2(0x3ca)]()][_0x5e55b2(0x1e1)](_0x516680=>({..._0x516680,'color':this[_0x5e55b2(0x26b)]['getColorFromTheme'](_0x516680[_0x5e55b2(0x370)])}))})))[_0x5e55b2(0x2cd)](_0xc8fe7e=>{const _0x2999ac=_0x5e55b2;if(this[_0x2999ac(0x280)](),_0xc8fe7e){const {skeleton:_0x1dbadb,cursors:_0x4c0f70}=_0xc8fe7e;this[_0x2999ac(0x168)](_0x1dbadb,_0x4c0f70);}})),this['_initResize'](),this[_0x5e55b2(0x335)]();}[_0x477bc3(0x168)](_0x1cd659,_0x52ba42){const _0x15b013=_0x477bc3,{scene:_0x14dfc3,mainComponent:_0x5b61ae}=this[_0x15b013(0x298)],_0x50baad=_0x52ba42[_0x15b013(0x239)](_0x3ea7ff=>new _0x291d53(_0x3ea7ff,_0x14dfc3,_0x1cd659,_0x5b61ae));this[_0x15b013(0x284)]=_0x50baad,this[_0x15b013(0x218)]=_0x52ba42;}[_0x477bc3(0x21b)](){const _0x31eda0=_0x477bc3;this[_0x31eda0(0x280)]();const {scene:_0x5245a6,mainComponent:_0x73f0fa}=this[_0x31eda0(0x298)],_0x3f00e0=this['_docSkeletonManagerService'][_0x31eda0(0x115)](),_0x21fe28=this[_0x31eda0(0x218)][_0x31eda0(0x239)](_0x316a9e=>new _0x291d53(_0x316a9e,_0x5245a6,_0x3f00e0,_0x73f0fa));this[_0x31eda0(0x284)]=_0x21fe28;}[_0x477bc3(0x280)](){const _0x23bd6c=_0x477bc3;this[_0x23bd6c(0x284)][_0x23bd6c(0x3c7)](_0x54a03d=>_0x54a03d[_0x23bd6c(0x388)]()),this['_cursorShapes']=[];}[_0x477bc3(0x335)](){const _0x49237a=_0x477bc3,_0x22c1a4=[_0x74e6be['SetDocZoomRatioOperation']['id']];this[_0x49237a(0x32e)](this[_0x49237a(0x139)][_0x49237a(0x1b7)](_0x1d6d3e=>{const _0x349650=_0x49237a;_0x22c1a4['includes'](_0x1d6d3e['id'])&&_0x1d6d3e['params'][_0x349650(0x150)]===this[_0x349650(0x298)][_0x349650(0x150)]&&this[_0x349650(0x21b)]();}));}[_0x477bc3(0x175)](){const _0x324a57=_0x477bc3;this[_0x324a57(0x32e)](_0x162031[_0x324a57(0x3a1)](this['_context'][_0x324a57(0x3d3)][_0x324a57(0x109)])['pipe'](_0x57b5b5[_0x324a57(0x124)](_0x515f97=>_0x515f97[_0x324a57(0x24d)]===_0x433081['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x324a57(0x1f8)]),_0x57b5b5['throttleTime'](0x10))['subscribe'](()=>{const _0x5b9ca4=_0x324a57;this[_0x5b9ca4(0x21b)]();}));}};_0x560482=_0x4c60d3([_0x362ca2(0x1,_0x162031[_0x477bc3(0x2b0)](_0x47f67f[_0x477bc3(0x2e0)])),_0x362ca2(0x2,_0x162031[_0x477bc3(0x2b0)](_0x421cc1)),_0x362ca2(0x3,_0x162031[_0x477bc3(0x326)]),_0x362ca2(0x4,_0x162031['Inject'](_0x162031[_0x477bc3(0x2be)]))],_0x560482);const _0x49697b=0x1,_0xfe7f48=1.5;class _0x5ff006 extends _0x433081[_0x477bc3(0xf6)]{constructor(_0x5505f3,_0x227001){const _0x2c7eb7=_0x477bc3;super(_0x5505f3,_0x227001),_0x387a01(this,_0x2c7eb7(0x24a)),_0x387a01(this,_0x2c7eb7(0x26f),!0x1),_0x387a01(this,_0x2c7eb7(0xf5)),_0x387a01(this,'_name',''),_0x387a01(this,'_labelPosition',_0x2c7eb7(0x16d)),_0x387a01(this,_0x2c7eb7(0x338)),(_0x227001&&this[_0x2c7eb7(0x317)](_0x227001),this[_0x2c7eb7(0x3a6)][_0x2c7eb7(0x259)](()=>this[_0x2c7eb7(0x317)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2c7eb7(0x259)](()=>this[_0x2c7eb7(0x317)]({'hovered':!0x1})));}[_0x477bc3(0x317)](_0x11e478){const _0x3ed9df=_0x477bc3;var _0x3f7577,_0x174654,_0x405b99,_0x5c1fd9,_0x2a9078,_0x2d5904;this[_0x3ed9df(0x24a)]=(_0x3f7577=_0x11e478[_0x3ed9df(0x370)])!=null?_0x3f7577:this[_0x3ed9df(0x24a)],this['_hovered']=(_0x174654=_0x11e478[_0x3ed9df(0x3c5)])!=null?_0x174654:this[_0x3ed9df(0x26f)],this[_0x3ed9df(0xf5)]=(_0x405b99=_0x11e478[_0x3ed9df(0x2ac)])!=null?_0x405b99:this[_0x3ed9df(0xf5)],this[_0x3ed9df(0x1e6)]=(_0x5c1fd9=_0x11e478[_0x3ed9df(0x3d4)])!=null?_0x5c1fd9:this[_0x3ed9df(0x1e6)],this[_0x3ed9df(0x2fa)]=(_0x2a9078=_0x11e478[_0x3ed9df(0x301)])!=null?_0x2a9078:this[_0x3ed9df(0x2fa)],this[_0x3ed9df(0x338)]=(_0x2d5904=_0x11e478[_0x3ed9df(0x356)])!=null?_0x2d5904:this[_0x3ed9df(0x338)],this[_0x3ed9df(0x16e)]({'width':_0x11e478[_0x3ed9df(0x2c0)],'height':_0x11e478['height']});}[_0x477bc3(0x1a4)](_0x367d9d){const _0x5707ba=_0x477bc3,{row:_0x5f194c,column:_0x58ad06}=_0x367d9d;if(_0x5f194c>=this[_0x5707ba(0xf5)]['startRow']&&_0x5f194c<=this[_0x5707ba(0xf5)]['endRow']&&_0x58ad06>=this[_0x5707ba(0xf5)][_0x5707ba(0x163)]&&_0x58ad06<=this[_0x5707ba(0xf5)][_0x5707ba(0x21f)]){this[_0x5707ba(0x317)]({'hovered':!0x0});return;}this[_0x5707ba(0x317)]({'hovered':!0x1});}['triggerDblclick'](_0x44983d){return!0x1;}['_draw'](_0x3d40ad){const _0x7a12b6=_0x477bc3;_0x433081[_0x7a12b6(0x231)][_0x7a12b6(0x145)](_0x3d40ad,{'width':this[_0x7a12b6(0x2c0)],'height':this[_0x7a12b6(0x291)],'strokeWidth':_0xfe7f48,'stroke':this[_0x7a12b6(0x24a)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x7a12b6(0x26f)]&&(_0x3d40ad[_0x7a12b6(0x381)](),_0x3d40ad[_0x7a12b6(0x142)](0x1,0x0,0x0,0x1,this['width'],this[_0x7a12b6(0x2fa)]===_0x7a12b6(0x2f0)?0x0:-_0x2a224c),_0x2a34f4[_0x7a12b6(0x145)](_0x3d40ad,{'text':this[_0x7a12b6(0x1e6)],'color':this[_0x7a12b6(0x24a)]}),_0x3d40ad[_0x7a12b6(0x1be)]());}}var _0x3efdf3=Object[_0x477bc3(0x1ec)],_0x21f188=(_0x4c6140,_0x3cdba1,_0x8752b8,_0x9cf6a1)=>{for(var _0x3a0146=_0x9cf6a1>0x1?void 0x0:_0x9cf6a1?_0x3efdf3(_0x3cdba1,_0x8752b8):_0x3cdba1,_0x553934=_0x4c6140['length']-0x1,_0x2b80c0;_0x553934>=0x0;_0x553934--)(_0x2b80c0=_0x4c6140[_0x553934])&&(_0x3a0146=_0x2b80c0(_0x3a0146)||_0x3a0146);return _0x3a0146;},_0x2b05e5=(_0x482322,_0x4a1065)=>(_0xcea71d,_0x3ace51)=>_0x4a1065(_0xcea71d,_0x3ace51,_0x482322);const _0x3edc2a=0x1389;let _0x2eb725=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x2c055b,_0x176596,_0x268ab8,_0x37435a){const _0x1931d5=_0x477bc3;super(),_0x387a01(this,_0x1931d5(0x218),new Set()),_0x387a01(this,_0x1931d5(0x36e),null),(this[_0x1931d5(0x298)]=_0x2c055b,this[_0x1931d5(0x300)]=_0x176596,this[_0x1931d5(0x26e)]=_0x268ab8,this[_0x1931d5(0x26b)]=_0x37435a,this['_init']());}[_0x477bc3(0x1ad)](){const _0x438ec3=_0x477bc3;this['_sheetSkeletonManagerService'][_0x438ec3(0x332)][_0x438ec3(0x2d1)](_0x57b5b5[_0x438ec3(0x331)](this[_0x438ec3(0x1c1)]),_0x57b5b5[_0x438ec3(0x220)](_0x24c6f0=>{const _0x50f39b=_0x438ec3;if(_0x24c6f0){const _0xdcc0d3=_0x24c6f0[_0x50f39b(0x39c)];return _0xe327d9[_0x50f39b(0x1fb)](this[_0x50f39b(0x26e)][_0x50f39b(0x10c)](this[_0x50f39b(0x298)]['unitId']),this['_themeService']['currentTheme$'])['pipe'](_0x57b5b5[_0x50f39b(0x239)](([_0x22d750,_0x5cddf1])=>{const _0x49e4e6=_0x50f39b,_0x38e03a=new Map();return _0x22d750[_0x49e4e6(0x3c7)]((_0x29f984,_0x42e22d)=>{const _0x3e72ee=_0x49e4e6;if(_0x29f984[_0x3e72ee(0x12e)]===_0xdcc0d3){const _0x675277={..._0x29f984};_0x675277[_0x3e72ee(0x370)]=this['_themeService'][_0x3e72ee(0x1a8)](_0x29f984[_0x3e72ee(0x370)]),_0x38e03a[_0x3e72ee(0x34a)](_0x42e22d,_0x675277);}}),{'skeleton':_0x24c6f0,'cursors':_0x38e03a};}));}return _0xe327d9['of']({'skeleton':null,'cursors':new Map()});}))[_0x438ec3(0x2cd)](({skeleton:_0xf1b502,cursors:_0x2e878b})=>{const _0x374bcd=_0x438ec3;this[_0x374bcd(0x280)](),_0xf1b502&&this[_0x374bcd(0x168)](_0xf1b502,_0x2e878b);}),this['_sheetSkeletonManagerService'][_0x438ec3(0x332)][_0x438ec3(0x2cd)](_0x4d245a=>{const _0x5d7b4a=_0x438ec3;if(_0x4d245a==null)return;const {skeleton:_0x1ab0ff}=_0x4d245a,{scene:_0x2360ff}=this[_0x5d7b4a(0x298)];_0x2360ff[_0x5d7b4a(0x1c6)][_0x5d7b4a(0x259)](_0x162031['debounce'](_0x10ddb5=>{const _0x5e31f2=_0x5d7b4a;var _0x3ddff7,_0x2f529c;const {offsetX:_0x32244d,offsetY:_0x47d3d2}=_0x10ddb5,{x:_0x1b9fc2,y:_0x182afd}=_0x2360ff['getRelativeToViewportCoord'](_0x433081[_0x5e31f2(0x1d4)][_0x5e31f2(0x373)]([_0x32244d,_0x47d3d2])),{scaleX:_0x59b025,scaleY:_0x343058}=_0x2360ff['getAncestorScale'](),_0x2ef878=_0x2360ff[_0x5e31f2(0x2ec)](_0x433081[_0x5e31f2(0x2ae)][_0x5e31f2(0x191)]),_0x301f56=_0x2360ff[_0x5e31f2(0x235)](_0x433081['Vector2'][_0x5e31f2(0x373)]([_0x1b9fc2,_0x182afd]),_0x2ef878),_0x2884f6=_0x1ab0ff[_0x5e31f2(0x337)](_0x32244d,_0x47d3d2,_0x59b025,_0x343058,_0x301f56);((_0x3ddff7=this[_0x5e31f2(0x36e)])==null?void 0x0:_0x3ddff7[_0x5e31f2(0x364)])===_0x2884f6[_0x5e31f2(0x364)]&&((_0x2f529c=this['_lastPointer'])==null?void 0x0:_0x2f529c['row'])===_0x2884f6[_0x5e31f2(0x1f2)]||this[_0x5e31f2(0x218)]['forEach'](_0x3abd30=>{const _0x57527f=_0x5e31f2;_0x3abd30[_0x57527f(0x1a4)](_0x2884f6);});},0x64));});}[_0x477bc3(0x168)](_0x58042d,_0x4bfec2){const _0x20b7c9=_0x477bc3;var _0x41b450;const _0x12ecc8=(_0x41b450=this['_sheetSkeletonManagerService'][_0x20b7c9(0x31c)]())==null?void 0x0:_0x41b450['skeleton'];if(!_0x12ecc8)return;const _0x38ddc1=this[_0x20b7c9(0x344)]();if(!_0x38ddc1)return;this[_0x20b7c9(0x218)]['forEach'](_0x17dd3d=>{const _0x63bbe7=_0x20b7c9;_0x17dd3d[_0x63bbe7(0x198)]();});const {scene:_0x43766d}=_0x38ddc1,_0x19ba27=_0x2a23ef(Array['from'](_0x4bfec2[_0x20b7c9(0x3ca)]()))[_0x20b7c9(0x239)](_0x45ad3c=>{const _0x58f3a1=_0x20b7c9,{color:_0x58109f,range:_0x332b48,name:_0x263fc6,selection:_0x469b7f,sheetID:_0xeb229e}=_0x45ad3c,{startColumn:_0x144fe7,startRow:_0x5b3c2f,endColumn:_0x4914aa,endRow:_0x5522f6}=_0x332b48,_0x2cd3ae=_0x9b001c[_0x58f3a1(0x1cf)](_0x5b3c2f,_0x144fe7,_0x43766d,_0x12ecc8),_0x148dcf=_0x9b001c[_0x58f3a1(0x1cf)](_0x5522f6,_0x4914aa,_0x43766d,_0x12ecc8),{columnHeaderHeightAndMarginTop:_0x781548}=_0x12ecc8,{startX:_0x47019d,startY:_0x9e982d}=_0x2cd3ae,{endX:_0x49e705,endY:_0x59488c}=_0x148dcf,_0x2fe238=_0x49e705-_0x47019d,_0x78122=_0x59488c-_0x9e982d,_0x5835f7={'labelPosition':_0x9e982d-_0x781548>=_0x2a224c?_0x58f3a1(0x16d):_0x58f3a1(0x2f0),'sheetID':_0xeb229e,'range':_0x332b48,'color':_0x58109f,'name':_0x263fc6,'selection':_0x469b7f,'left':_0x47019d,'top':_0x9e982d,'width':_0x2fe238,'height':_0x78122,'evented':!0x1,'zIndex':_0x3edc2a};return new _0x5ff006(_0x263fc6,_0x5835f7);});_0x43766d[_0x20b7c9(0x28f)](_0x19ba27,_0x49697b),this[_0x20b7c9(0x218)]=new Set(_0x19ba27);}[_0x477bc3(0x280)](){const _0x5e1a86=_0x477bc3;var _0x17504d;(_0x17504d=this[_0x5e1a86(0x218)])==null||_0x17504d[_0x5e1a86(0x3c7)](_0x31c8cd=>_0x31c8cd[_0x5e1a86(0x388)]());}[_0x477bc3(0x344)](){const _0x419428=_0x477bc3;return _0x9b001c[_0x419428(0x1ce)](this[_0x419428(0x298)][_0x419428(0x186)],this['_context']);}};_0x2eb725=_0x21f188([_0x2b05e5(0x1,_0x162031['Inject'](_0x9b001c['SheetSkeletonManagerService'])),_0x2b05e5(0x2,_0x162031[_0x477bc3(0x2b0)](_0x421cc1)),_0x2b05e5(0x3,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x2be)]))],_0x2eb725);function _0x2a23ef(_0x5a35ea){const _0xe870a2=_0x477bc3,_0x14f28f=new Map();return _0x5a35ea[_0xe870a2(0x3c7)](_0x2ac9c1=>{const _0x30465c=_0xe870a2;if(_0x14f28f[_0x30465c(0x3cf)](_0x2ac9c1[_0x30465c(0x197)])){const _0x57dfcc=_0x14f28f['get'](_0x2ac9c1[_0x30465c(0x197)]);_0x57dfcc[_0x30465c(0x3d4)]+=',\x20'+_0x2ac9c1[_0x30465c(0x3d4)];}else _0x14f28f[_0x30465c(0x34a)](_0x2ac9c1[_0x30465c(0x197)],_0x2ac9c1);}),Array[_0xe870a2(0x360)](_0x14f28f[_0xe870a2(0x3ca)]());}var _0x511c4d=Object['getOwnPropertyDescriptor'],_0x43570a=(_0x5c607d,_0x4dc8dc,_0x4f36bf,_0xc75653)=>{const _0x183b6e=_0x477bc3;for(var _0x35e517=_0xc75653>0x1?void 0x0:_0xc75653?_0x511c4d(_0x4dc8dc,_0x4f36bf):_0x4dc8dc,_0x351f52=_0x5c607d[_0x183b6e(0x215)]-0x1,_0x557dce;_0x351f52>=0x0;_0x351f52--)(_0x557dce=_0x5c607d[_0x351f52])&&(_0x35e517=_0x557dce(_0x35e517)||_0x35e517);return _0x35e517;},_0x514557=(_0x38c295,_0x503a3b)=>(_0x3f5773,_0x509603)=>_0x503a3b(_0x3f5773,_0x509603,_0x38c295);let _0x55cb2a=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x5f5adf,_0x30b101,_0x428a9b,_0x36b13d,_0x45b36c,_0x4e01cb){const _0x408c28=_0x477bc3;super(),this[_0x408c28(0x15b)]=_0x5f5adf,this[_0x408c28(0x273)]=_0x30b101,this[_0x408c28(0x227)]=_0x428a9b,this[_0x408c28(0x377)]=_0x36b13d,this[_0x408c28(0x3bc)]=_0x45b36c,this[_0x408c28(0x10b)]=_0x4e01cb,this['_setupBeforeClosingHandler'](),this[_0x408c28(0x25e)]();}[_0x477bc3(0x167)](){const _0x2eac18=_0x477bc3;this[_0x2eac18(0x32e)](this[_0x2eac18(0x15b)][_0x2eac18(0x3a7)](()=>{const _0x24b76f=_0x2eac18;if(this[_0x24b76f(0x273)][_0x24b76f(0x130)][_0x24b76f(0x12d)])return this['_localeService']['t'](_0x24b76f(0x39a));}));}[_0x477bc3(0x25e)](){const _0x4afecc=_0x477bc3;this[_0x4afecc(0x32e)](this[_0x4afecc(0x227)][_0x4afecc(0x177)][_0x4afecc(0x2cd)](_0x491368=>{const _0x46e683=_0x4afecc;_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x184)]&&this['_messageService'][_0x46e683(0x348)]({'type':_0x3fb0c6['MessageType'][_0x46e683(0x1ef)],'content':this[_0x46e683(0x10b)]['t']('collaboration.single-unit.warning')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0xee)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x1ef)],'content':this[_0x46e683(0x10b)]['t']('collaboration.closeRoom')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['PERMISSION_DENIED']&&this[_0x46e683(0x3bc)][_0x46e683(0x348)]({'title':this['_localeService']['t'](_0x46e683(0x1c4)),'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0xfb)),'type':_0x46e683(0x2d0),'duration':0x0}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x1eb)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t']('collaboration.closeRoom')+'('+_0x491368['data']+')'}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x229)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)]['Warning'],'content':this[_0x46e683(0x10b)]['t'](_0x491368[_0x46e683(0x1f9)]||'')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['SOCKET_FAILED_RETRY']&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x1ef)],'content':this['_localeService']['t'](_0x46e683(0x10f))}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0xfd)]&&this[_0x46e683(0x377)]['show']({'type':_0x3fb0c6['MessageType'][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0x27a))}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x46e683(0x377)]['show']({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0x367))});}));}};_0x55cb2a=_0x43570a([_0x514557(0x0,_0x198137[_0x477bc3(0x374)]),_0x514557(0x1,_0x44b518['ILocalCacheService']),_0x514557(0x2,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x2aa)])),_0x514557(0x3,_0x198137[_0x477bc3(0x222)]),_0x514557(0x4,_0x198137[_0x477bc3(0xeb)]),_0x514557(0x5,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x55cb2a);var _0x10bc08=Object[_0x477bc3(0x1ec)],_0x89c985=(_0x4498df,_0xc84eaf,_0x6f5fb3,_0x5d8359)=>{for(var _0x1cde41=_0x5d8359>0x1?void 0x0:_0x5d8359?_0x10bc08(_0xc84eaf,_0x6f5fb3):_0xc84eaf,_0x43b86c=_0x4498df['length']-0x1,_0x15c42e;_0x43b86c>=0x0;_0x43b86c--)(_0x15c42e=_0x4498df[_0x43b86c])&&(_0x1cde41=_0x15c42e(_0x1cde41)||_0x1cde41);return _0x1cde41;},_0x114be6=(_0x59c3e7,_0x476327)=>(_0x3e87d7,_0x2c384c)=>_0x476327(_0x3e87d7,_0x2c384c,_0x59c3e7);let _0x8f72b=class extends _0x162031['Disposable']{constructor(_0xfc81dc,_0x27687c,_0x338324,_0x55dbcf){const _0x3eb3da=_0x477bc3;super(),_0x387a01(this,_0x3eb3da(0x36d)),(this[_0x3eb3da(0x3da)]=_0xfc81dc,this['_httpService']=_0x27687c,this[_0x3eb3da(0x297)]=_0x338324,this['_collaborationSessionService']=_0x55dbcf,this[_0x3eb3da(0x1ad)]());}[_0x477bc3(0x1ad)](){const _0x40163f=_0x477bc3;this[_0x40163f(0x102)](),this[_0x40163f(0x3bb)](),this[_0x40163f(0x334)](),this[_0x40163f(0x38c)]();}[_0x477bc3(0x38c)](){const _0x1711f1=_0x477bc3;this[_0x1711f1(0x32e)](this[_0x1711f1(0x221)][_0x1711f1(0x36f)][_0x1711f1(0x2cd)](_0x570ff6=>{const _0x2b3c6d=_0x1711f1;this[_0x2b3c6d(0x36d)]=_0x570ff6==null?void 0x0:_0x570ff6[_0x2b3c6d(0x3b2)];}));}[_0x477bc3(0x102)](){const _0x5bdcf2=_0x477bc3,_0x512780=_0x19e5f8=>{const _0x510294=_0x1b11;var _0xd01e6e;this[_0x510294(0x131)](_0x510294(0x2d0),_0x510294(0x1b8)+_0x19e5f8['message']+_0x510294(0x347)+_0x19e5f8[_0x510294(0x1bb)]+':'+_0x19e5f8[_0x510294(0xf0)]+':'+_0x19e5f8['colno']+'\x0a'+(((_0xd01e6e=_0x19e5f8[_0x510294(0x2d0)])==null?void 0x0:_0xd01e6e[_0x510294(0x394)])||''));};window[_0x5bdcf2(0x2d6)](_0x5bdcf2(0x2d0),_0x512780),this[_0x5bdcf2(0x32e)](()=>{const _0x3d5467=_0x5bdcf2;window[_0x3d5467(0x279)]('error',_0x512780);});}[_0x477bc3(0x3bb)](){const _0x11fe5e=_0x477bc3,_0x1f0c0a=_0x2bc5ec=>{const _0x33f874=_0x1b11;this[_0x33f874(0x131)]('error',_0x33f874(0x305)+_0x2bc5ec[_0x33f874(0x397)]);};window['addEventListener']('unhandledrejection',_0x1f0c0a),this[_0x11fe5e(0x32e)](()=>{window['removeEventListener']('unhandledrejection',_0x1f0c0a);});}[_0x477bc3(0x334)](){const _0x159ffc=_0x477bc3,_0x2f939f=this[_0x159ffc(0x297)][_0x159ffc(0x2d0)]['bind'](this['_logService']);this[_0x159ffc(0x297)][_0x159ffc(0x2d0)]=(..._0x5b8dad)=>{const _0x1ccb4d=_0x159ffc,_0x49e19b=_0x5b8dad[_0x1ccb4d(0x239)](_0x385673=>_0x385673 instanceof Error?_0x385673['message']+'\x0a'+_0x385673[_0x1ccb4d(0x394)]:String(_0x385673))[_0x1ccb4d(0x122)]('\x20');this[_0x1ccb4d(0x131)](_0x1ccb4d(0x2d0),_0x1ccb4d(0x341)+_0x49e19b),_0x2f939f(..._0x5b8dad);},this[_0x159ffc(0x32e)](()=>{const _0x3fe18b=_0x159ffc;this[_0x3fe18b(0x297)][_0x3fe18b(0x2d0)]=_0x2f939f;});}['_uploadLog'](_0x3b2deb,_0x46f5de){const _0x6bb33c=_0x477bc3;try{const _0x148c42={'userId':this[_0x6bb33c(0x36d)],'logLabel':_0x3b2deb,'content':_0x46f5de};this[_0x6bb33c(0x180)]['post']('/universer-api/frontend/logs',{'body':_0x148c42})[_0x6bb33c(0x23b)](()=>{});}catch{}}};_0x8f72b=_0x89c985([_0x114be6(0x0,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x114be6(0x1,_0x162031['Inject'](_0x1a6c2d['HTTPService'])),_0x114be6(0x2,_0x162031['ILogService']),_0x114be6(0x3,_0x162031['Inject'](_0x44b518[_0x477bc3(0x1e5)]))],_0x8f72b);const _0x1050c1=_0x477bc3(0x2df),_0x1b221={};var _0xede3e2=Object[_0x477bc3(0x1ec)],_0x411a7a=(_0x1d83c8,_0x13f5b7,_0x561fb0,_0x28d916)=>{const _0x553f13=_0x477bc3;for(var _0x2f14a6=_0x28d916>0x1?void 0x0:_0x28d916?_0xede3e2(_0x13f5b7,_0x561fb0):_0x13f5b7,_0x33ad8b=_0x1d83c8[_0x553f13(0x215)]-0x1,_0x1b04ca;_0x33ad8b>=0x0;_0x33ad8b--)(_0x1b04ca=_0x1d83c8[_0x33ad8b])&&(_0x2f14a6=_0x1b04ca(_0x2f14a6)||_0x2f14a6);return _0x2f14a6;},_0x15e2ef=(_0x306d24,_0x42b33d)=>(_0x54604f,_0x2fe650)=>_0x42b33d(_0x54604f,_0x2fe650,_0x306d24);let _0x492b1f=class{constructor(_0x232bc1,_0x6f0b38){const _0x2e9eb1=_0x477bc3;this[_0x2e9eb1(0x22c)]=_0x232bc1,this['_renderManagerService']=_0x6f0b38;}[_0x477bc3(0x350)](_0x1708a9){const _0x218516=_0x477bc3;this['_transformUndoRedoStack'](_0x1708a9),this[_0x218516(0x2b4)](_0x1708a9);}['transformRemoteChangeset'](_0xcce728){const _0x3407f0=_0x477bc3,{unitID:_0x41ec38}=_0xcce728,_0x434ba9=this[_0x3407f0(0x1f4)][_0x3407f0(0x288)](_0x41ec38)[_0x3407f0(0x135)](_0x74e6be[_0x3407f0(0x3d7)]),{redoCache:_0x3865a6}=_0x434ba9[_0x3407f0(0x212)]();if(_0x3865a6['length']===0x0)return _0xcce728;let _0x401235=_0x162031[_0x3407f0(0x31f)][_0x3407f0(0x193)](_0xcce728[_0x3407f0(0x34d)][0x0]);for(let _0x3c9fd8=0x0;_0x3c9fd8<_0x3865a6[_0x3407f0(0x215)];_0x3c9fd8++){const _0x1f5ea9={'id':'doc.mutation.rich-text-editing','params':{..._0x3865a6[_0x3c9fd8]}},_0x56d6e8=this[_0x3407f0(0x22c)]['transformMutation'](_0x401235,_0x1f5ea9,!0x1);if(_0x4cd710[_0x3407f0(0x3ad)](_0x56d6e8))throw _0x56d6e8[_0x3407f0(0x2d0)];_0x401235=_0x56d6e8[_0x3407f0(0x358)];}return{..._0x162031[_0x3407f0(0x31f)][_0x3407f0(0x193)](_0xcce728),'mutations':[_0x401235]};}['_transformUndoRedoStack'](_0x9ac426){const _0xb26878=_0x477bc3,{unitID:_0x206d4e}=_0x9ac426,_0x2f6137=this['_renderManagerService']['getRenderById'](_0x206d4e)['with'](_0x74e6be['DocIMEInputManagerService']),{undoCache:_0x122881,redoCache:_0x547572}=_0x2f6137[_0xb26878(0x212)]();if(_0x122881[_0xb26878(0x215)]===0x0||_0x547572['length']===0x0)return;const _0x1b7465=[],_0x5b0f54=[];let _0x23ef8c=_0x162031['Tools'][_0xb26878(0x193)](_0x9ac426[_0xb26878(0x34d)][0x0]),_0x197861=_0x162031[_0xb26878(0x31f)][_0xb26878(0x193)](_0x9ac426['mutations'][0x0]);for(let _0x257162=_0x122881[_0xb26878(0x215)]-0x1;_0x257162>=0x0;_0x257162--){const _0x4d81bd={'id':'doc.mutation.rich-text-editing','params':{..._0x122881[_0x257162]}},_0x8747cc={'id':'doc.mutation.rich-text-editing','params':{..._0x547572[_0x257162]}},_0x367b90=this['_transformService']['transformMutation'](_0x23ef8c,_0x4d81bd,!0x1),_0x1981a2=this[_0xb26878(0x22c)][_0xb26878(0x179)](_0x197861,_0x8747cc,!0x1);if(_0x4cd710[_0xb26878(0x3ad)](_0x367b90))throw _0x367b90[_0xb26878(0x2d0)];if(_0x4cd710[_0xb26878(0x3ad)](_0x1981a2))throw _0x1981a2[_0xb26878(0x2d0)];_0x1b7465[_0xb26878(0x188)](_0x367b90[_0xb26878(0x250)][_0xb26878(0x1ab)]),_0x5b0f54[_0xb26878(0x188)](_0x1981a2[_0xb26878(0x250)][_0xb26878(0x1ab)]),_0x23ef8c=_0x367b90[_0xb26878(0x358)],_0x197861=_0x1981a2[_0xb26878(0x358)];}_0x2f6137[_0xb26878(0x157)]({'undoCache':_0x1b7465,'redoCache':_0x5b0f54});}[_0x477bc3(0x2b4)](_0x4186ec){const _0xd1a9b9=_0x477bc3,{unitID:_0x35495b}=_0x4186ec,_0x5c0c47=this[_0xd1a9b9(0x1f4)][_0xd1a9b9(0x288)](_0x35495b)['with'](_0x74e6be[_0xd1a9b9(0x3d7)]),_0x4c6242=_0x5c0c47[_0xd1a9b9(0x1e3)]();if(_0x4c6242==null)return;const _0x166c6c=[{'id':_0xd1a9b9(0x20a),'params':{'unitId':_0x4186ec[_0xd1a9b9(0x3d0)],'actions':null,'textRanges':[_0x4c6242]}}],_0x33da04=this[_0xd1a9b9(0x22c)][_0xd1a9b9(0x34f)](_0x4186ec,_0x166c6c);if(!_0x4cd710['isTransformMutationsWithChangesetSuccess'](_0x33da04))throw _0x33da04['error'];const _0xbe90a1=_0x33da04[_0xd1a9b9(0x250)][0x0][_0xd1a9b9(0x1ab)][_0xd1a9b9(0x395)];Array[_0xd1a9b9(0x165)](_0xbe90a1)&&_0xbe90a1[_0xd1a9b9(0x215)]&&_0x5c0c47[_0xd1a9b9(0x127)](_0xbe90a1[0x0]);}};_0x492b1f=_0x411a7a([_0x15e2ef(0x0,_0x4cd710['ITransformService']),_0x15e2ef(0x1,_0x433081[_0x477bc3(0x1a7)])],_0x492b1f);var _0x3b9a8b=Object[_0x477bc3(0x1ec)],_0x3c68f3=(_0x2b46f4,_0x509e07,_0x209616,_0x1f0c79)=>{const _0x376b2b=_0x477bc3;for(var _0x31747c=_0x1f0c79>0x1?void 0x0:_0x1f0c79?_0x3b9a8b(_0x509e07,_0x209616):_0x509e07,_0x53c387=_0x2b46f4[_0x376b2b(0x215)]-0x1,_0x110488;_0x53c387>=0x0;_0x53c387--)(_0x110488=_0x2b46f4[_0x53c387])&&(_0x31747c=_0x110488(_0x31747c)||_0x31747c);return _0x31747c;},_0x3bd8c9=(_0x672319,_0x1823c7)=>(_0x31ebc9,_0x435a6e)=>_0x1823c7(_0x31ebc9,_0x435a6e,_0x672319);let _0x35832b=class{constructor(_0x4a28c1,_0x25f8c9,_0xc04570){const _0x5c2cea=_0x477bc3;this[_0x5c2cea(0x3da)]=_0x4a28c1,this['_transformService']=_0x25f8c9,this[_0x5c2cea(0xfc)]=_0xc04570;}[_0x477bc3(0x3cc)](_0x3288fc){const _0x21a4d6=_0x477bc3;this[_0x21a4d6(0x15e)](_0x3288fc);}[_0x477bc3(0x2ee)](_0x188388){const _0x195fc0=_0x477bc3,{unitID:_0x1d8f28}=_0x188388,{collaboration:_0x558dc9}=this[_0x195fc0(0xfc)]['getStateCache'](_0x1d8f28);if(_0x558dc9[_0x195fc0(0x215)]===0x0)return _0x188388;let _0x51614c=_0x162031['Tools'][_0x195fc0(0x193)](_0x188388[_0x195fc0(0x34d)][0x0]);for(let _0x2cc049=0x0;_0x2cc049<_0x558dc9['length'];_0x2cc049++){const _0x55d71f={'id':_0x195fc0(0x20a),'params':{'unitId':_0x558dc9[_0x2cc049][_0x195fc0(0x150)],..._0x558dc9[_0x2cc049][_0x195fc0(0xf1)]}},_0x2acb16=this['_transformService'][_0x195fc0(0x179)](_0x51614c,_0x55d71f,!0x1);if(_0x4cd710[_0x195fc0(0x3ad)](_0x2acb16))throw _0x2acb16[_0x195fc0(0x2d0)];_0x51614c=_0x2acb16[_0x195fc0(0x358)];}return{..._0x162031[_0x195fc0(0x31f)][_0x195fc0(0x193)](_0x188388),'mutations':[_0x51614c]};}[_0x477bc3(0x15e)](_0x54eb0c){const _0x252440=_0x477bc3,{unitID:_0x192443}=_0x54eb0c,{history:_0x470346,collaboration:_0x8d6c9e}=this['_docStateChangeManagerService'][_0x252440(0x19b)](_0x192443);if(_0x470346[_0x252440(0x215)]===0x0&&_0x8d6c9e[_0x252440(0x215)]===0x0)return;const _0x5ad112=[],_0x5e4f9f=[];let _0x52df32=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]),_0x2b2636=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]);for(let _0x4e7de4=_0x470346[_0x252440(0x215)]-0x1;_0x4e7de4>=0x0;_0x4e7de4--){const _0x5f56cc={'id':_0x252440(0x20a),'params':{'unitId':_0x470346[_0x4e7de4][_0x252440(0x150)],..._0x470346[_0x4e7de4][_0x252440(0x26c)]}},_0x2c2053={'id':_0x252440(0x20a),'params':{'unitId':_0x470346[_0x4e7de4][_0x252440(0x150)],..._0x470346[_0x4e7de4][_0x252440(0xf1)]}},_0x25c33b=this[_0x252440(0x22c)]['transformMutation'](_0x52df32,_0x5f56cc,!0x1),_0x23fed0=this[_0x252440(0x22c)][_0x252440(0x179)](_0x2b2636,_0x2c2053,!0x1);if(_0x4cd710[_0x252440(0x3ad)](_0x25c33b))throw _0x25c33b['error'];if(_0x4cd710['isTransformMutationFailure'](_0x23fed0))throw _0x23fed0['error'];_0x5ad112[_0x252440(0x188)]({..._0x470346[_0x4e7de4],'undoState':_0x25c33b[_0x252440(0x250)][_0x252440(0x1ab)],'redoState':_0x23fed0[_0x252440(0x250)][_0x252440(0x1ab)]}),_0x52df32=_0x25c33b[_0x252440(0x358)],_0x2b2636=_0x23fed0[_0x252440(0x358)];}_0x52df32=_0x162031[_0x252440(0x31f)]['deepClone'](_0x54eb0c[_0x252440(0x34d)][0x0]),_0x2b2636=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]);for(let _0x4b03b4=_0x8d6c9e[_0x252440(0x215)]-0x1;_0x4b03b4>=0x0;_0x4b03b4--){const _0x233501={'id':_0x252440(0x20a),'params':{'unitId':_0x8d6c9e[_0x4b03b4][_0x252440(0x150)],..._0x8d6c9e[_0x4b03b4][_0x252440(0x26c)]}},_0x53858b={'id':_0x252440(0x20a),'params':{'unitId':_0x8d6c9e[_0x4b03b4][_0x252440(0x150)],..._0x8d6c9e[_0x4b03b4][_0x252440(0xf1)]}},_0x35417d=this['_transformService'][_0x252440(0x179)](_0x52df32,_0x233501,!0x1),_0x49b19b=this[_0x252440(0x22c)][_0x252440(0x179)](_0x2b2636,_0x53858b,!0x1);if(_0x4cd710[_0x252440(0x3ad)](_0x35417d))throw _0x35417d[_0x252440(0x2d0)];if(_0x4cd710[_0x252440(0x3ad)](_0x49b19b))throw _0x49b19b[_0x252440(0x2d0)];_0x5e4f9f[_0x252440(0x188)]({..._0x8d6c9e[_0x4b03b4],'undoState':_0x35417d[_0x252440(0x250)][_0x252440(0x1ab)],'redoState':_0x49b19b[_0x252440(0x250)]['params']}),_0x52df32=_0x35417d[_0x252440(0x358)],_0x2b2636=_0x49b19b['m1Prime'];}this['_docStateChangeManagerService'][_0x252440(0x31e)](_0x192443,{'history':_0x5ad112,'collaboration':_0x5e4f9f});}};_0x35832b=_0x3c68f3([_0x3bd8c9(0x0,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x3bd8c9(0x1,_0x4cd710['ITransformService']),_0x3bd8c9(0x2,_0x162031[_0x477bc3(0x2b0)](_0x74e6be[_0x477bc3(0x318)]))],_0x35832b);var _0x4fd5fc=Object[_0x477bc3(0x1ec)],_0x4b24d7=(_0x4ee892,_0x35d5ee,_0x5b46b4,_0x25e95b)=>{const _0x53440b=_0x477bc3;for(var _0x418df2=_0x25e95b>0x1?void 0x0:_0x25e95b?_0x4fd5fc(_0x35d5ee,_0x5b46b4):_0x35d5ee,_0x5d6135=_0x4ee892[_0x53440b(0x215)]-0x1,_0x304cfe;_0x5d6135>=0x0;_0x5d6135--)(_0x304cfe=_0x4ee892[_0x5d6135])&&(_0x418df2=_0x304cfe(_0x418df2)||_0x418df2);return _0x418df2;},_0x35db6c=(_0x67b54d,_0x2cfbe5)=>(_0x105132,_0x2bb644)=>_0x2cfbe5(_0x105132,_0x2bb644,_0x67b54d);let _0x1d044c=class{constructor(_0x2af8f7,_0x38e74e){const _0x40240a=_0x477bc3;this[_0x40240a(0x3da)]=_0x2af8f7,this[_0x40240a(0x22c)]=_0x38e74e;}[_0x477bc3(0x2e9)](_0x4d2a31){const _0x4f5634=_0x477bc3;var _0x2b7035;const _0x473c15=this[_0x4f5634(0x3da)][_0x4f5634(0x375)](_0x47f67f[_0x4f5634(0x293)]),_0x1be41f=(_0x2b7035=_0x473c15[_0x4f5634(0x28c)]())!=null?_0x2b7035:[];if(_0x1be41f['length']===0x0)return;const _0x1f2962=_0x4d2a31[_0x4f5634(0x3d0)],_0x5f13a5=[{'id':_0x4f5634(0x20a),'params':{'unitId':_0x1f2962,'actions':null,'textRanges':_0x1be41f}}],_0x59a340=this[_0x4f5634(0x22c)][_0x4f5634(0x34f)](_0x4d2a31,_0x5f13a5);if(!_0x4cd710[_0x4f5634(0x296)](_0x59a340))throw _0x59a340[_0x4f5634(0x2d0)];const _0x55f8ec=_0x59a340[_0x4f5634(0x250)][0x0][_0x4f5634(0x1ab)][_0x4f5634(0x395)];Array[_0x4f5634(0x165)](_0x55f8ec)&&_0x55f8ec['length']&&_0x473c15[_0x4f5634(0x1fe)](_0x55f8ec,{'unitId':_0x1f2962,'subUnitId':_0x1f2962},!0x1);}};_0x1d044c=_0x4b24d7([_0x35db6c(0x0,_0x162031['Inject'](_0x162031['Injector'])),_0x35db6c(0x1,_0x4cd710[_0x477bc3(0x176)])],_0x1d044c);var _0x3bf866=Object['getOwnPropertyDescriptor'],_0x3037ed=(_0x46c7f8,_0x1dc48d,_0x2ccaf8,_0x4c922f)=>{for(var _0x58d0a0=_0x4c922f>0x1?void 0x0:_0x4c922f?_0x3bf866(_0x1dc48d,_0x2ccaf8):_0x1dc48d,_0x5f1826=_0x46c7f8['length']-0x1,_0x43ccce;_0x5f1826>=0x0;_0x5f1826--)(_0x43ccce=_0x46c7f8[_0x5f1826])&&(_0x58d0a0=_0x43ccce(_0x58d0a0)||_0x58d0a0);return _0x58d0a0;},_0x1c8c44=(_0xd06b6b,_0x45d826)=>(_0x206f71,_0x535ba4)=>_0x45d826(_0x206f71,_0x535ba4,_0xd06b6b);let _0x1ba1e0=class extends _0x162031['Disposable']{constructor(_0x1c387e,_0x4edd4c,_0xe8d5b5,_0x23e96d,_0x2a4a80,_0x5adc4a,_0x34e9d6,_0x16ec62){const _0x82ca89=_0x477bc3;super(),_0x387a01(this,_0x82ca89(0x117),new _0xe327d9[(_0x82ca89(0x136))](_0x44b518[_0x82ca89(0x2c2)][_0x82ca89(0x35c)])),(this[_0x82ca89(0xfc)]=_0x1c387e,this[_0x82ca89(0x2f2)]=_0x4edd4c,this[_0x82ca89(0x247)]=_0xe8d5b5,this['_docTransformStateCacheService']=_0x23e96d,this['_docTransformSelectionsService']=_0x2a4a80,this[_0x82ca89(0x35b)]=_0x5adc4a,this[_0x82ca89(0x377)]=_0x34e9d6,this[_0x82ca89(0x10b)]=_0x16ec62,this[_0x82ca89(0x37f)]());}[_0x477bc3(0x37f)](){const _0x375e37=_0x477bc3;this[_0x375e37(0x32e)](this[_0x375e37(0x2f2)]['entityInit$'][_0x375e37(0x2cd)](_0x508a35=>{const _0x1cd8fb=_0x375e37,_0x347cfc=this['_docStateChangeManagerService'][_0x1cd8fb(0x166)][_0x1cd8fb(0x2cd)](_0x3d0692=>{const _0x3d151c=_0x1cd8fb;if(_0x3d0692==null)return;const {unitId:_0x171603,redoState:_0x3007ff,commandId:_0x145f97}=_0x3d0692;if(_0x171603!==_0x508a35['unitID'])return;const _0x319570={'id':_0x145f97,'type':_0x162031['CommandType'][_0x3d151c(0x20d)],'params':{'unitId':_0x171603,'actions':_0x3007ff['actions'],'textRanges':null}};_0x508a35['onLocalMutation'](_0x319570);});if(_0x508a35[_0x1cd8fb(0x32e)](_0x347cfc),_0x508a35 instanceof _0x44b518[_0x1cd8fb(0x194)]){const _0x155ab9={'onTransformIME':_0x261c90=>this[_0x1cd8fb(0x247)][_0x1cd8fb(0x350)](_0x261c90),'onTransformState':_0x213b4e=>this[_0x1cd8fb(0x3ce)][_0x1cd8fb(0x3cc)](_0x213b4e),'onTransformSelections':_0x566e35=>this['_docTransformSelectionsService'][_0x1cd8fb(0x2e9)](_0x566e35),'onSyncEditingCollabCursor':_0x2372d1=>this[_0x1cd8fb(0x35b)]['syncEditingCollabCursor'](_0x2372d1),'onTransformRemoteChangesetByIMECache':_0x3845fa=>this[_0x1cd8fb(0x247)]['transformRemoteChangeset'](_0x3845fa),'onTransformRemoteChangesetByStateCache':_0x11cca4=>this['_docTransformStateCacheService'][_0x1cd8fb(0x2ee)](_0x11cca4)};_0x508a35[_0x1cd8fb(0x143)](_0x155ab9);}}));}};_0x1ba1e0=_0x3037ed([_0x1c8c44(0x0,_0x162031['Inject'](_0x74e6be['DocStateChangeManagerService'])),_0x1c8c44(0x1,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x15a)])),_0x1c8c44(0x2,_0x162031[_0x477bc3(0x2b0)](_0x492b1f)),_0x1c8c44(0x3,_0x162031['Inject'](_0x35832b)),_0x1c8c44(0x4,_0x162031[_0x477bc3(0x2b0)](_0x1d044c)),_0x1c8c44(0x5,_0x162031[_0x477bc3(0x2b0)](_0x3f7f20)),_0x1c8c44(0x6,_0x198137['IMessageService']),_0x1c8c44(0x7,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x1ba1e0);var _0x99761d=(_0x535af9=>(_0x535af9[_0x535af9['UNDEFINED']=0x0]=_0x477bc3(0x255),_0x535af9[_0x535af9['OK']=0x1]='OK',_0x535af9[_0x535af9['INTERNAL_ERROR']=0x2]=_0x477bc3(0x224),_0x535af9[_0x535af9['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x535af9[_0x535af9['NOT_FOUND']=0x4]=_0x477bc3(0x1c7),_0x535af9[_0x535af9[_0x477bc3(0x315)]=0x5]=_0x477bc3(0x315),_0x535af9[_0x535af9[_0x477bc3(0x1d1)]=0x6]='ALREADY_EXISTS',_0x535af9[_0x535af9[_0x477bc3(0x149)]=0x7]='INVALID_ARGUMENT',_0x535af9[_0x535af9['TOO_MANY_REQUESTS']=0x8]=_0x477bc3(0x134),_0x535af9[_0x535af9[_0x477bc3(0x13c)]=0x9]=_0x477bc3(0x13c),_0x535af9[_0x535af9[_0x477bc3(0x213)]=0xa]='LOGIN_FAILED',_0x535af9[_0x535af9[_0x477bc3(0x151)]=0xb]=_0x477bc3(0x151),_0x535af9[_0x535af9[_0x477bc3(0x32c)]=0xc]=_0x477bc3(0x32c),_0x535af9[_0x535af9[_0x477bc3(0x2b3)]=0xd]=_0x477bc3(0x2b3),_0x535af9[_0x535af9[_0x477bc3(0x162)]=0xe]=_0x477bc3(0x162),_0x535af9[_0x535af9[_0x477bc3(0x36c)]=0xf]=_0x477bc3(0x36c),_0x535af9[_0x535af9[_0x477bc3(0x2c5)]=0x10]=_0x477bc3(0x2c5),_0x535af9[_0x535af9[_0x477bc3(0x237)]=0x64]=_0x477bc3(0x237),_0x535af9[_0x535af9[_0x477bc3(0x2da)]=0x65]='ERROR_AGAIN',_0x535af9[_0x535af9[_0x477bc3(0x3ac)]=0xc9]=_0x477bc3(0x3ac),_0x535af9[_0x535af9[_0x477bc3(0x292)]=0xca]=_0x477bc3(0x292),_0x535af9[_0x535af9[_0x477bc3(0x156)]=0x1389]=_0x477bc3(0x156),_0x535af9[_0x535af9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x477bc3(0x101),_0x535af9[_0x535af9[_0x477bc3(0x11b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x535af9[_0x535af9[_0x477bc3(0x217)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x535af9[_0x535af9['APPLY_REJECT']=0x1b59]=_0x477bc3(0x1ac),_0x535af9[_0x535af9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x477bc3(0x29f),_0x535af9[_0x535af9[_0x477bc3(0xfe)]=0x1b5b]=_0x477bc3(0xfe),_0x535af9[_0x535af9[_0x477bc3(0x110)]=0x1b5c]=_0x477bc3(0x110),_0x535af9[_0x535af9[_0x477bc3(0x357)]=0x1b5d]=_0x477bc3(0x357),_0x535af9[_0x535af9[_0x477bc3(0x232)]=0x1f41]=_0x477bc3(0x232),_0x535af9[_0x535af9[_0x477bc3(0x11f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x535af9[_0x535af9[_0x477bc3(0x30d)]=0x232a]=_0x477bc3(0x30d),_0x535af9[_0x535af9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x535af9[_0x535af9[_0x477bc3(0x196)]=0x232c]=_0x477bc3(0x196),_0x535af9[_0x535af9[_0x477bc3(0x155)]=0x232d]=_0x477bc3(0x155),_0x535af9[_0x535af9[_0x477bc3(0x2a3)]=0x2711]=_0x477bc3(0x2a3),_0x535af9[_0x535af9[_0x477bc3(0x313)]=0x2712]=_0x477bc3(0x313),_0x535af9[_0x535af9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x477bc3(0x1c3),_0x535af9[_0x535af9[_0x477bc3(0x38a)]=0x2714]=_0x477bc3(0x38a),_0x535af9[_0x535af9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x477bc3(0x242),_0x535af9[_0x535af9[_0x477bc3(0x278)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x535af9[_0x535af9[_0x477bc3(0x387)]=0x271c]=_0x477bc3(0x387),_0x535af9[_0x535af9[_0x477bc3(0x17e)]=0x271d]=_0x477bc3(0x17e),_0x535af9[_0x535af9[_0x477bc3(0x1c8)]=0x271e]=_0x477bc3(0x1c8),_0x535af9[_0x535af9[_0x477bc3(0x128)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x535af9[_0x535af9[_0x477bc3(0x3ab)]=0x2720]=_0x477bc3(0x3ab),_0x535af9[_0x535af9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x477bc3(0x132),_0x535af9[_0x535af9[_0x477bc3(0x20e)]=0x2ee1]=_0x477bc3(0x20e),_0x535af9[_0x535af9['INVALID_INVITE_CODE']=0x2ee2]=_0x477bc3(0x1f5),_0x535af9[_0x535af9[_0x477bc3(0x22b)]=0x2ee3]=_0x477bc3(0x22b),_0x535af9[_0x535af9[_0x477bc3(0x386)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x535af9[_0x535af9[_0x477bc3(0xf2)]=0x2ee5]=_0x477bc3(0xf2),_0x535af9[_0x535af9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x477bc3(0x27e),_0x535af9[_0x535af9[_0x477bc3(0x210)]=0x32ca]=_0x477bc3(0x210),_0x535af9[_0x535af9[_0x477bc3(0x201)]=0x32cb]=_0x477bc3(0x201),_0x535af9[_0x535af9[_0x477bc3(0x1aa)]=0x36b1]=_0x477bc3(0x1aa),_0x535af9[_0x535af9[_0x477bc3(0x2cc)]=0x36b2]=_0x477bc3(0x2cc),_0x535af9[_0x535af9[_0x477bc3(0x251)]=0x36b3]=_0x477bc3(0x251),_0x535af9[_0x535af9[_0x477bc3(0x2ab)]=0x36b4]=_0x477bc3(0x2ab),_0x535af9[_0x535af9[_0x477bc3(0x23f)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x535af9[_0x535af9[_0x477bc3(0x13b)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x535af9[_0x535af9[_0x477bc3(0x1c2)]=0x36b7]=_0x477bc3(0x1c2),_0x535af9[_0x535af9[_0x477bc3(0x275)]=0x36b8]=_0x477bc3(0x275),_0x535af9[_0x535af9['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x477bc3(0x336),_0x535af9[_0x535af9[_0x477bc3(0x2c4)]=0x3716]=_0x477bc3(0x2c4),_0x535af9[_0x535af9[_0x477bc3(0x16f)]=0x3717]=_0x477bc3(0x16f),_0x535af9[_0x535af9[_0x477bc3(0x2e3)]=0x37dd]=_0x477bc3(0x2e3),_0x535af9[_0x535af9[_0x477bc3(0x1d7)]=0x3a99]=_0x477bc3(0x1d7),_0x535af9[_0x535af9['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x535af9[_0x535af9[_0x477bc3(0x1a0)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x535af9[_0x535af9[_0x477bc3(0x256)]=0x3a9c]=_0x477bc3(0x256),_0x535af9[_0x535af9['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x477bc3(0x1df),_0x535af9[_0x535af9[_0x477bc3(0x2bb)]=0x3a9e]=_0x477bc3(0x2bb),_0x535af9[_0x535af9[_0x477bc3(0x379)]=0x3a9f]=_0x477bc3(0x379),_0x535af9[_0x535af9['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x477bc3(0x3d6),_0x535af9[_0x535af9[_0x477bc3(0x104)]=-0x1]=_0x477bc3(0x104),_0x535af9))(_0x99761d||{});function _0x2fcfc8(_0xa99774){const _0x1fc31e=_0x477bc3;var _0x17d3e2,_0x2d4df4;const _0x27584d=(_0x17d3e2=_0xa99774['stageInfo'])==null?void 0x0:_0x17d3e2['stage'],_0x44a13b=((_0x2d4df4=_0xa99774[_0x1fc31e(0x3b1)])==null?void 0x0:_0x2d4df4[_0x1fc31e(0x203)])||0x0;return _0x27584d===_0xf4950[_0x1fc31e(0x18c)][_0x1fc31e(0x30a)]&&_0x44a13b>0x0;}function _0x3af5b8(_0x314a61){const _0x45a2f1=_0x477bc3;return _0x314a61['functionsExecutedState']===_0xf4950[_0x45a2f1(0x153)][_0x45a2f1(0x361)];}var _0x21daf9=Object['getOwnPropertyDescriptor'],_0x25034e=(_0x43f868,_0xead90b,_0xd132ca,_0x3a372b)=>{for(var _0x429d5d=_0x3a372b>0x1?void 0x0:_0x3a372b?_0x21daf9(_0xead90b,_0xd132ca):_0xead90b,_0xb2446c=_0x43f868['length']-0x1,_0x3c5cc2;_0xb2446c>=0x0;_0xb2446c--)(_0x3c5cc2=_0x43f868[_0xb2446c])&&(_0x429d5d=_0x3c5cc2(_0x429d5d)||_0x429d5d);return _0x429d5d;},_0x20a083=(_0x2f073c,_0x33361f)=>(_0x174b9e,_0x555a23)=>_0x33361f(_0x174b9e,_0x555a23,_0x2f073c);const _0x529885=_0x477bc3(0x30c),_0x1cbb51=_0x477bc3(0x1a6),_0x576aca=_0x477bc3(0x36b);let _0x4667cb=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x8520d2,_0x34f2a3,_0xde9b98,_0x38d2e8,_0x57c8c4,_0x50e565,_0x27e734){const _0x5694dc=_0x477bc3;super(),_0x387a01(this,_0x5694dc(0x106),null),_0x387a01(this,_0x5694dc(0x33a),0x0),_0x387a01(this,_0x5694dc(0x1cc),0x0),_0x387a01(this,_0x5694dc(0x311),[]),_0x387a01(this,'_lastResponseTimestamp',0x0),(this[_0x5694dc(0x377)]=_0x8520d2,this[_0x5694dc(0x139)]=_0x34f2a3,this[_0x5694dc(0x219)]=_0xde9b98,this[_0x5694dc(0x180)]=_0x38d2e8,this[_0x5694dc(0x225)]=_0x57c8c4,this[_0x5694dc(0x297)]=_0x50e565,this[_0x5694dc(0x10b)]=_0x27e734,this[_0x5694dc(0x319)]());}[_0x477bc3(0x319)](){const _0x3b28d1=_0x477bc3;this[_0x3b28d1(0x32e)](this[_0x3b28d1(0x139)][_0x3b28d1(0x18f)]((_0x46b701,_0x276b30)=>{const _0x1aebd9=_0x3b28d1;var _0x40074b;if(_0x46b701['id']!==_0xf4950[_0x1aebd9(0x380)]['id'])return;const _0x250f93=_0x46b701[_0x1aebd9(0x1ab)];if(!this['_hasFormulaInDirtyRanges']((_0x40074b=_0x250f93['dirtyRanges'])!=null?_0x40074b:[]))return;if(!this[_0x1aebd9(0x272)]())throw this['_checkAndWaitForCalculationPermission'](_0x46b701,_0x276b30),this[_0x1aebd9(0x244)](),new _0x162031[(_0x1aebd9(0x2a1))]();})),this[_0x3b28d1(0x32e)](this[_0x3b28d1(0x139)][_0x3b28d1(0x1b7)]((_0x4b7a34,_0x1bf866)=>{const _0x13e022=_0x3b28d1;if(_0x4b7a34['id']!==_0xf4950[_0x13e022(0x169)]['id'])return;const _0x5c8824=_0x4b7a34[_0x13e022(0x1ab)];if(_0x2fcfc8(_0x5c8824)){const _0xaaad64=_0x162031[_0x13e022(0x38e)]();this[_0x13e022(0x311)]['push'](_0xaaad64),this[_0x13e022(0x2cb)](_0xaaad64);}else{if(_0x3af5b8(_0x5c8824)&&this['_taskIds'][_0x13e022(0x215)]>0x0){const _0x5c7175=this[_0x13e022(0x311)][_0x13e022(0x103)]();this['_releaseCalculationLimit'](_0x5c7175);}}}));}['dispose'](){const _0x1bc361=_0x477bc3;super[_0x1bc361(0x388)](),this['_clearPolling'](),this[_0x1bc361(0x311)]=[],this[_0x1bc361(0x1cc)]=0x0,this[_0x1bc361(0x33a)]=0x0,this[_0x1bc361(0x3d8)]=0x0;}async[_0x477bc3(0x211)](_0x333045,_0x5a9f86){const _0x1e946b=_0x477bc3;for(let _0x4a5fbd=0x0;_0x4a5fbd<0x1e;_0x4a5fbd++)try{if(await this[_0x1e946b(0x3c4)](),this[_0x1e946b(0x272)]()){this['_applyCommand'](_0x333045,_0x5a9f86),this['_messageService']['show']({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x3fb0c6[_0x1e946b(0x33e)]['Success']});return;}await new Promise(_0x2b3889=>{const _0x3b3bf5=_0x1e946b;this['_pollingInterval']=window[_0x3b3bf5(0x366)](_0x2b3889,0x3e8);});}catch(_0x4e3c0c){this[_0x1e946b(0x297)][_0x1e946b(0x2d0)](_0x4e3c0c);}this[_0x1e946b(0x377)][_0x1e946b(0x348)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x3fb0c6[_0x1e946b(0x33e)][_0x1e946b(0x112)]});}[_0x477bc3(0x185)](_0x4bc622,_0xa900df){const _0x481e73=_0x477bc3;try{this[_0x481e73(0x139)][_0x481e73(0x269)](_0x4bc622['id'],_0x4bc622[_0x481e73(0x1ab)],_0xa900df);}catch(_0x3b1d14){this[_0x481e73(0x297)][_0x481e73(0x2d0)](_0x3b1d14);}}['_setFormulaLimitStatus'](_0x2ff49f,_0x3fc1ee){const _0x56a3c3=_0x477bc3;_0x3fc1ee<this['_lastResponseTimestamp']||(this[_0x56a3c3(0x3d8)]=_0x3fc1ee,this[_0x56a3c3(0x33a)]=Number[_0x56a3c3(0x3a2)](_0x2ff49f['maxFormulaLimit']),this[_0x56a3c3(0x1cc)]=Number[_0x56a3c3(0x3a2)](_0x2ff49f[_0x56a3c3(0x190)]));}async[_0x477bc3(0x2cb)](_0xb6409e){const _0x401fab=_0x477bc3;var _0x5886a6,_0x4c6356;const _0x52cca0=Date[_0x401fab(0xef)]();try{const _0x57948a=((_0x5886a6=this[_0x401fab(0x219)][_0x401fab(0x248)](_0x44b518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5886a6['startFormulaLimitUrl'])||_0x1cbb51,_0xad5c04=(await this['_httpService']['post'](_0x57948a,{'body':JSON[_0x401fab(0x199)]({'taskId':_0xb6409e})}))[_0x401fab(0x34c)];if(((_0x4c6356=_0xad5c04[_0x401fab(0x2d0)])==null?void 0x0:_0x4c6356[_0x401fab(0x11a)])!==_0x99761d['OK'])return;this[_0x401fab(0x2c9)](_0xad5c04[_0x401fab(0x37e)],_0x52cca0);}catch(_0x4f46ef){this[_0x401fab(0x297)][_0x401fab(0x2d0)](_0x4f46ef);}}async[_0x477bc3(0x3c4)](_0x38d848){const _0x3031be=_0x477bc3;var _0x130d84,_0x1b0558;const _0xff5d9c=Date[_0x3031be(0xef)]();try{const _0xec9d46=((_0x130d84=this['_configService']['getConfig'](_0x44b518[_0x3031be(0x320)]))==null?void 0x0:_0x130d84[_0x3031be(0x359)])||_0x529885,_0x52d747=_0x38d848?_0xec9d46+_0x3031be(0x2fe)+encodeURIComponent(_0x38d848):_0xec9d46,_0x20552b=(await this[_0x3031be(0x180)]['get'](_0x52d747))[_0x3031be(0x34c)];if(((_0x1b0558=_0x20552b['error'])==null?void 0x0:_0x1b0558[_0x3031be(0x11a)])!==_0x99761d['OK'])return;this[_0x3031be(0x2c9)](_0x20552b[_0x3031be(0x37e)],_0xff5d9c);}catch(_0x58c6c6){this['_logService'][_0x3031be(0x2d0)](_0x58c6c6);}}async[_0x477bc3(0x3bd)](_0x130946){const _0xe747e7=_0x477bc3;var _0x50a5c5,_0x1cf393;const _0x3dd63f=Date['now']();try{const _0x48913a=((_0x50a5c5=this[_0xe747e7(0x219)][_0xe747e7(0x248)](_0x44b518[_0xe747e7(0x320)]))==null?void 0x0:_0x50a5c5[_0xe747e7(0x257)])||_0x576aca,_0x5b53d7=(await this[_0xe747e7(0x180)]['post'](_0x48913a,{'body':JSON[_0xe747e7(0x199)]({'taskId':_0x130946})}))['body'];if(((_0x1cf393=_0x5b53d7['error'])==null?void 0x0:_0x1cf393['code'])!==_0x99761d['OK'])return;this[_0xe747e7(0x2c9)](_0x5b53d7[_0xe747e7(0x37e)],_0x3dd63f);}catch(_0x10a895){this[_0xe747e7(0x297)]['error'](_0x10a895);}}[_0x477bc3(0x272)](){const _0x4d763e=_0x477bc3;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4d763e(0x33a)]-this[_0x4d763e(0x1cc)]>0x0;}[_0x477bc3(0x17c)](){const _0x24f34d=_0x477bc3;this[_0x24f34d(0x106)]&&(clearTimeout(this[_0x24f34d(0x106)]),this[_0x24f34d(0x106)]=null);}[_0x477bc3(0x244)](){const _0x11042d=_0x477bc3;this[_0x11042d(0x377)][_0x11042d(0x348)]({'content':this[_0x11042d(0x10b)]['t'](_0x11042d(0x3b0)),'type':_0x3fb0c6[_0x11042d(0x33e)][_0x11042d(0x321)]});}['_hasFormulaInDirtyRanges'](_0x428eaf){const _0x52f986=_0x477bc3;for(const _0x5e7777 of _0x428eaf){const {unitId:_0x438abb,sheetId:_0x59e6e8,range:_0x240773}=_0x5e7777,_0x157de3=this[_0x52f986(0x225)][_0x52f986(0x17f)](_0x438abb);if(!_0x157de3)continue;const _0x47432f=_0x157de3[_0x52f986(0x2ca)](_0x59e6e8);if(!_0x47432f)continue;const _0x3ed0b2=_0x47432f[_0x52f986(0x173)]();for(let _0x1aa148=_0x240773[_0x52f986(0x141)];_0x1aa148<=_0x240773['endRow'];_0x1aa148++)for(let _0xb3165f=_0x240773[_0x52f986(0x163)];_0xb3165f<=_0x240773['endColumn'];_0xb3165f++){const _0x5c37b7=_0x3ed0b2[_0x52f986(0x182)](_0x1aa148,_0xb3165f);if(_0x5c37b7&&(_0x162031[_0x52f986(0x3c3)](_0x5c37b7['f'])||_0x162031['isFormulaId'](_0x5c37b7['si'])))return!0x0;}}return!0x1;}};_0x4667cb=_0x25034e([_0x20a083(0x0,_0x162031[_0x477bc3(0x2b0)](_0x198137[_0x477bc3(0x222)])),_0x20a083(0x1,_0x162031[_0x477bc3(0x326)]),_0x20a083(0x2,_0x162031[_0x477bc3(0x13e)]),_0x20a083(0x3,_0x162031[_0x477bc3(0x2b0)](_0x1a6c2d['HTTPService'])),_0x20a083(0x4,_0x162031['IUniverInstanceService']),_0x20a083(0x5,_0x162031['ILogService']),_0x20a083(0x6,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x4667cb);var _0x3edc4c=Object[_0x477bc3(0x1ec)],_0x24db3c=(_0x57ef9e,_0x539272,_0x50fa33,_0x364f0b)=>{const _0x5f50ce=_0x477bc3;for(var _0x449ed6=_0x364f0b>0x1?void 0x0:_0x364f0b?_0x3edc4c(_0x539272,_0x50fa33):_0x539272,_0x520afd=_0x57ef9e[_0x5f50ce(0x215)]-0x1,_0x19eae8;_0x520afd>=0x0;_0x520afd--)(_0x19eae8=_0x57ef9e[_0x520afd])&&(_0x449ed6=_0x19eae8(_0x449ed6)||_0x449ed6);return _0x449ed6;},_0x4d35c5=(_0xdb43f1,_0x486f9f)=>(_0x5db083,_0x2f7991)=>_0x486f9f(_0x5db083,_0x2f7991,_0xdb43f1);let _0x41ee4b=class extends _0x162031['Disposable']{constructor(_0x2442f4,_0x151e3b,_0x3e95cd){const _0x407f53=_0x477bc3;super(),_0x387a01(this,'_cachedData',new Map()),_0x387a01(this,_0x407f53(0x24f),new Map()),_0x387a01(this,'_disabled',!0x1),(this[_0x407f53(0x219)]=_0x2442f4,this['_localStorageService']=_0x151e3b,this[_0x407f53(0x16c)]=_0x3e95cd);}['disableLocalCache'](){const _0x5c5c81=_0x477bc3;this[_0x5c5c81(0x20f)]=!0x0;}[_0x477bc3(0x339)](){const _0x413899=_0x477bc3;this[_0x413899(0x20f)]=!0x1;}get[_0x477bc3(0x130)](){const _0x4d0f59=_0x477bc3;return this[_0x4d0f59(0x24f)];}['dispose'](){const _0x174452=_0x477bc3;this[_0x174452(0x3a3)]()['then'](()=>super[_0x174452(0x388)]());}async['loadOfflineData'](_0x5027ed){const _0x42fc7a=_0x477bc3;return this[_0x42fc7a(0x20f)]?null:this[_0x42fc7a(0x34b)]['getItem'](_0x44b518[_0x42fc7a(0x37c)](_0x5027ed));}async['saveOfflineData'](_0xf749c0,_0x4fe836){const _0xdcc0=_0x477bc3;return!!this[_0xdcc0(0x34b)][_0xdcc0(0x23c)](_0xf749c0,_0x4fe836);}[_0x477bc3(0x116)](_0x5cf5c8,_0x346719,_0xef599c,_0x529f3c){const _0x3140bb=_0x477bc3,_0x5be622=this[_0x3140bb(0x16c)][_0x3140bb(0x2fd)](_0x5cf5c8);this[_0x3140bb(0x312)]['set'](_0x5cf5c8,{'unitID':_0x5cf5c8,'type':_0x346719,'awaitingChangeset':_0xef599c,'mutations':_0x529f3c,'rev':_0x5be622}),this[_0x3140bb(0x24f)]['has'](_0x5cf5c8)||this['_scheduleSaving'](_0x5cf5c8);}[_0x477bc3(0x3c0)](_0x1798ab){const _0x589a1e=_0x477bc3,_0x53936b=this['_getSaveTimeout']();_0x53936b===0x0?this[_0x589a1e(0x14d)](_0x1798ab):this[_0x589a1e(0x24f)][_0x589a1e(0x34a)](_0x1798ab,setTimeout(()=>this[_0x589a1e(0x14d)](_0x1798ab),_0x53936b));}['_getSaveTimeout'](){const _0x327da0=_0x477bc3;var _0x59d464;return(_0x59d464=this[_0x327da0(0x219)][_0x327da0(0x248)](_0x44b518['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x59d464:_0x44b518['LOCAL_CACHE_INTERVAL'];}[_0x477bc3(0x14d)](_0xdeb557){const _0x47f2a9=_0x477bc3,_0x44e494=this[_0x47f2a9(0x24f)]['get'](_0xdeb557);return _0x44e494!==void 0x0&&window[_0x47f2a9(0x23a)](_0x44e494),this[_0x47f2a9(0x34b)][_0x47f2a9(0x23c)](_0x44b518['getLocalCacheKey'](_0xdeb557),this['_cachedData'][_0x47f2a9(0x375)](_0xdeb557))[_0x47f2a9(0x22f)](()=>this[_0x47f2a9(0x24f)][_0x47f2a9(0x32d)](_0xdeb557));}async[_0x477bc3(0x3a3)](){const _0x124880=_0x477bc3,_0x4ba03b=[];this[_0x124880(0x24f)][_0x124880(0x3c7)]((_0x4541f8,_0x2c6e73)=>{const _0x21ff53=_0x124880;window['clearTimeout'](_0x4541f8),_0x4ba03b[_0x21ff53(0x138)](this[_0x21ff53(0x14d)](_0x2c6e73)['then'](()=>{const _0x16212c=_0x21ff53;this[_0x16212c(0x24f)][_0x16212c(0x32d)](_0x2c6e73);}));}),await Promise[_0x124880(0x2a8)](_0x4ba03b);}};_0x41ee4b=_0x24db3c([_0x4d35c5(0x0,_0x162031[_0x477bc3(0x13e)]),_0x4d35c5(0x1,_0x162031[_0x477bc3(0x1c5)]),_0x4d35c5(0x2,_0x162031[_0x477bc3(0x2b0)](_0x4cd710[_0x477bc3(0x1d5)]))],_0x41ee4b);class _0x48e8ee extends _0x162031[_0x477bc3(0xea)]{constructor(){const _0x14a4a5=_0x477bc3;super(),_0x387a01(this,'urlChange$'),this[_0x14a4a5(0x35a)]=_0xe327d9[_0x14a4a5(0x2a9)](window,'popstate')[_0x14a4a5(0x2d1)](_0xe327d9[_0x14a4a5(0x331)](this[_0x14a4a5(0x1c1)]),_0xe327d9[_0x14a4a5(0x238)](0x1),_0xe327d9['mapTo'](void 0x0));}[_0x477bc3(0x33c)](_0x20e6e0,_0x5348d3,_0x510f82=!0x1){const _0x1a1820=_0x477bc3,_0x2ba932=new URL(window[_0x1a1820(0x32b)][_0x1a1820(0x246)]);_0x2ba932[_0x1a1820(0x1ca)][_0x1a1820(0x34a)](_0x20e6e0,_0x5348d3),_0x510f82?window[_0x1a1820(0x1e7)]['replaceState']('','',_0x2ba932['toString']()):window[_0x1a1820(0x1e7)][_0x1a1820(0x21d)]('','',_0x2ba932['toString']());}['removeParam'](_0x55f874,_0xbb0b6f=!0x1){const _0x84426f=_0x477bc3,_0x5d2fe5=new URL(window[_0x84426f(0x32b)][_0x84426f(0x246)]);_0x5d2fe5[_0x84426f(0x1ca)][_0x84426f(0x32d)](_0x55f874),_0xbb0b6f?window['history'][_0x84426f(0x2eb)]('','',_0x5d2fe5[_0x84426f(0x2a6)]()):window['history']['pushState']('','',_0x5d2fe5[_0x84426f(0x2a6)]());}['getParam'](_0x5b99fe){const _0x59f87a=_0x477bc3;var _0x2fea96;return(_0x2fea96=new URL(window[_0x59f87a(0x32b)][_0x59f87a(0x246)])[_0x59f87a(0x1ca)][_0x59f87a(0x375)](_0x5b99fe))!=null?_0x2fea96:void 0x0;}}var _0x4db249=Object[_0x477bc3(0x2e2)],_0xbad9d6=Object[_0x477bc3(0x1ec)],_0x1690f5=(_0x59003d,_0x4776dd,_0x1742eb)=>_0x4776dd in _0x59003d?_0x4db249(_0x59003d,_0x4776dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1742eb}):_0x59003d[_0x4776dd]=_0x1742eb,_0x270136=(_0x51b438,_0x48c1bb,_0x29bbde,_0x38ff03)=>{const _0x64697f=_0x477bc3;for(var _0x587ec7=_0x38ff03>0x1?void 0x0:_0x38ff03?_0xbad9d6(_0x48c1bb,_0x29bbde):_0x48c1bb,_0x109570=_0x51b438[_0x64697f(0x215)]-0x1,_0x27f125;_0x109570>=0x0;_0x109570--)(_0x27f125=_0x51b438[_0x109570])&&(_0x587ec7=_0x27f125(_0x587ec7)||_0x587ec7);return _0x587ec7;},_0x56b50f=(_0x246d4,_0x57df9a)=>(_0x544cce,_0x389c76)=>_0x57df9a(_0x544cce,_0x389c76,_0x246d4),_0x3efcc8=(_0xe8e028,_0x56903c,_0x17abcc)=>_0x1690f5(_0xe8e028,_0x56903c+'',_0x17abcc);const _0x2735fc=_0x477bc3(0x1b3);_0x279e32['UniverCollaborationClientUIPlugin']=class extends _0x162031[_0x477bc3(0x1fc)]{constructor(_0x47cf8b=_0x1b221,_0xd27834,_0x3327b1,_0x54ac9b){const _0x32e9ba=_0x477bc3;super(),this['_config']=_0x47cf8b,this['_renderManagerService']=_0xd27834,this[_0x32e9ba(0x3da)]=_0x3327b1,this[_0x32e9ba(0x219)]=_0x54ac9b;const {..._0x3b4c0b}=_0x162031[_0x32e9ba(0x249)]({},_0x1b221,this[_0x32e9ba(0x38d)]);this[_0x32e9ba(0x219)][_0x32e9ba(0x14c)](_0x1050c1,_0x3b4c0b);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x477bc3(0x19c)](){this['_registerRenderDependencies']();}[_0x477bc3(0x15d)](){const _0x3b637c=_0x477bc3;var _0x52af25;const _0x3cc01d=[[_0x446316],[_0x4667cb],[_0x1d044c],[_0x492b1f],[_0x35832b],[_0x3f7f20],[_0x361122,{'useClass':_0x48e8ee}],[_0x1a6c2d[_0x3b637c(0x354)],{'useClass':_0x1a6c2d['WebSocketService']}],[_0x44b518['ILocalCacheService'],{'useClass':_0x41ee4b}],[_0x279e32[_0x3b637c(0x2b8)]],[_0x1ba1e0],[_0x55cb2a],[_0x421cc1],[_0x4b1658],[_0x279e32[_0x3b637c(0x174)]]];this[_0x3b637c(0x38d)][_0x3b637c(0x12a)]&&_0x3cc01d[_0x3b637c(0x138)]([_0x8f72b]),_0x162031[_0x3b637c(0x328)](this[_0x3b637c(0x3da)],_0x162031[_0x3b637c(0x39f)](_0x3cc01d,(_0x52af25=this[_0x3b637c(0x38d)])==null?void 0x0:_0x52af25[_0x3b637c(0x147)]));}[_0x477bc3(0x2b2)](){const _0x530a83=_0x477bc3;this['disposeWithMe'](this[_0x530a83(0x1f4)]['registerRenderModule'](_0x162031[_0x530a83(0x1c9)][_0x530a83(0x2c3)],[_0x560482])),this[_0x530a83(0x32e)](this[_0x530a83(0x1f4)][_0x530a83(0x233)](_0x162031[_0x530a83(0x1c9)][_0x530a83(0x277)],[_0x2eb725]));}[_0x477bc3(0x126)](){const _0x2b66e1=_0x477bc3;_0x162031['touchDependencies'](this[_0x2b66e1(0x3da)],[[_0x421cc1],[_0x279e32['DesktopCollaborationStatusDisplayController']],[_0x1ba1e0],[_0x55cb2a],[_0x279e32[_0x2b66e1(0x174)]],[_0x4667cb]]),this[_0x2b66e1(0x38d)]['enableFrontendLog']&&_0x162031[_0x2b66e1(0x17d)](this[_0x2b66e1(0x3da)],[[_0x8f72b]]);}},_0x3efcc8(_0x279e32[_0x477bc3(0x37a)],_0x477bc3(0x18d),_0x2735fc),_0x279e32[_0x477bc3(0x37a)]=_0x270136([_0x162031[_0x477bc3(0x207)](_0x44b518[_0x477bc3(0x399)]),_0x56b50f(0x1,_0x433081[_0x477bc3(0x1a7)]),_0x56b50f(0x2,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x56b50f(0x3,_0x162031['IConfigService'])],_0x279e32[_0x477bc3(0x37a)]);var _0x2e4e5c=Object[_0x477bc3(0x1ec)],_0x4d860a=(_0x5d176d,_0x55ca8b,_0x20b501,_0x4b4566)=>{const _0x9b316e=_0x477bc3;for(var _0xf330b1=_0x4b4566>0x1?void 0x0:_0x4b4566?_0x2e4e5c(_0x55ca8b,_0x20b501):_0x55ca8b,_0xc7005b=_0x5d176d[_0x9b316e(0x215)]-0x1,_0x3feec9;_0xc7005b>=0x0;_0xc7005b--)(_0x3feec9=_0x5d176d[_0xc7005b])&&(_0xf330b1=_0x3feec9(_0xf330b1)||_0xf330b1);return _0xf330b1;},_0x4183ce=(_0x4b2096,_0x1362da)=>(_0x50f22d,_0x2bfac0)=>_0x1362da(_0x50f22d,_0x2bfac0,_0x4b2096);_0x279e32[_0x477bc3(0x2d8)]=class extends _0x44b518[_0x477bc3(0x192)]{constructor(_0x34bef4,_0x1ea98a,_0x2db416,_0x379a0e,_0x482c63){super(_0x34bef4,_0x1ea98a,_0x2db416,_0x379a0e,_0x482c63);}async[_0x477bc3(0x3b5)](_0x436a56){const _0x3638ef=_0x477bc3,_0x2eab76=await this[_0x3638ef(0x1b0)](),_0x4a4785=this[_0x3638ef(0x1fa)](_0x436a56,_0x2eab76);return this[_0x3638ef(0x308)](_0x4a4785);}[_0x477bc3(0x1fa)](_0x1d439c,_0x5bd1a8){const _0x34a357=_0x477bc3,_0x3a1de4=typeof window>'u'?new URL(_0x1d439c):new URL(_0x1d439c,window[_0x34a357(0x32b)][_0x34a357(0x236)]);_0x3a1de4['searchParams'][_0x34a357(0x34a)]('sessionTicket',_0x5bd1a8);const _0x1d02bc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34a357(0x32b)][_0x34a357(0x29c)]);return _0x1d02bc[_0x34a357(0x375)](_0x34a357(0x1f6))&&_0x3a1de4[_0x34a357(0x1ca)][_0x34a357(0x34a)](_0x34a357(0x1f6),_0x1d02bc['get'](_0x34a357(0x1f6))),_0x3a1de4['toString']();}async[_0x477bc3(0x1b0)](){const _0xb956c1=_0x477bc3;var _0x2c84f9,_0x57ffee,_0x32d406;const _0x3a3cd8=this[_0xb956c1(0x219)][_0xb956c1(0x248)](_0x44b518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x570525=(_0x2c84f9=_0x3a3cd8==null?void 0x0:_0x3a3cd8[_0xb956c1(0x28d)])!=null?_0x2c84f9:_0x44b518['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x32d406=(_0x57ffee=(await this[_0xb956c1(0x180)]['get'](_0x570525,{'headers':{'Content-Type':_0xb956c1(0x19d)}}))[_0xb956c1(0x34c)])==null?void 0x0:_0x57ffee['ticket'])!=null?_0x32d406:'';}},_0x279e32[_0x477bc3(0x2d8)]=_0x4d860a([_0x4183ce(0x0,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x4183ce(0x1,_0x162031['Inject'](_0x1a6c2d[_0x477bc3(0x133)])),_0x4183ce(0x2,_0x162031['IConfigService']),_0x4183ce(0x3,_0x162031[_0x477bc3(0x353)]),_0x4183ce(0x4,_0x4cd710[_0x477bc3(0x372)])],_0x279e32[_0x477bc3(0x2d8)]);var _0x59b697=Object[_0x477bc3(0x1ec)],_0x556298=(_0x4821fc,_0xeea9cb,_0x207cb7,_0x2073b9)=>{const _0x3b42e0=_0x477bc3;for(var _0x850e71=_0x2073b9>0x1?void 0x0:_0x2073b9?_0x59b697(_0xeea9cb,_0x207cb7):_0xeea9cb,_0x2920d6=_0x4821fc[_0x3b42e0(0x215)]-0x1,_0x1d4ae9;_0x2920d6>=0x0;_0x2920d6--)(_0x1d4ae9=_0x4821fc[_0x2920d6])&&(_0x850e71=_0x1d4ae9(_0x850e71)||_0x850e71);return _0x850e71;},_0xf413bd=(_0x52c0f0,_0x3c8d2c)=>(_0x3e6c87,_0x4c3fbb)=>_0x3c8d2c(_0x3e6c87,_0x4c3fbb,_0x52c0f0);_0x279e32[_0x477bc3(0x1f7)]=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x58e6b5,_0x2acef5,_0x5abedf){const _0x179706=_0x477bc3;super(),this[_0x179706(0x2ed)]=_0x58e6b5,this[_0x179706(0x180)]=_0x2acef5,this[_0x179706(0x219)]=_0x5abedf;}async['runOnServer'](_0x29ff8f,_0x509acd,_0x5da049,..._0x22f47f){const _0x388afe=_0x477bc3;var _0x151580,_0x179f69,_0x16d3a3,_0x1f703f;const _0x34f208=this[_0x388afe(0x2ed)][_0x388afe(0x14b)]();if(!_0x34f208)throw new Error(_0x388afe(0x2d9));const _0xf681e=((_0x151580=this[_0x388afe(0x219)]['getConfig'](_0x44b518[_0x388afe(0x1b4)]))!=null?_0x151580:_0x44b518[_0x388afe(0x391)])+'/'+_0x29ff8f+_0x388afe(0x1bc)+_0x509acd,_0x1bfccb=new URL(window[_0x388afe(0x32b)][_0x388afe(0x246)]),_0x3d131a={'scriptId':_0x29ff8f,'runId':(_0x179f69=_0x1bfccb[_0x388afe(0x1ca)][_0x388afe(0x375)](_0x388afe(0x1f6)))!=null?_0x179f69:'','function':_0x509acd,'unitId':_0x34f208[_0x388afe(0x161)](),'argsOfFunction':JSON[_0x388afe(0x199)](_0x22f47f),'invokeId':(_0x16d3a3=_0x5da049[_0x388afe(0x1fd)])!=null?_0x16d3a3:'','executionId':(_0x1f703f=_0x5da049[_0x388afe(0x1bf)])!=null?_0x1f703f:''};try{const _0x4f6b2d=await this[_0x388afe(0x180)][_0x388afe(0x376)](_0xf681e,{'body':_0x3d131a});return _0x4f6b2d['body'][_0x388afe(0x2d0)]&&_0x4f6b2d[_0x388afe(0x34c)][_0x388afe(0x2d0)]['code']!==_0x99761d['OK']?_0x388afe(0x309):_0x4f6b2d[_0x388afe(0x34c)][_0x388afe(0x37b)];}catch{return _0x388afe(0x309);}}},_0x279e32[_0x477bc3(0x1f7)]=_0x556298([_0xf413bd(0x0,_0x162031['IUniverInstanceService']),_0xf413bd(0x1,_0x162031['Inject'](_0x1a6c2d['HTTPService'])),_0xf413bd(0x2,_0x162031[_0x477bc3(0x13e)])],_0x279e32[_0x477bc3(0x1f7)]);const _0x16821a=0x7530,_0x5c7102=_0x477bc3(0x140);class _0xc6a367 extends _0x162031[_0x477bc3(0x148)]{constructor(){const _0x633a9f=_0x477bc3;super(),_0x387a01(this,_0x633a9f(0x36a),_0x162031[_0x633a9f(0x38e)]()),_0x387a01(this,_0x633a9f(0x160),new Set()),_0x387a01(this,_0x633a9f(0x3db),new Map()),_0x387a01(this,_0x633a9f(0x1c0),null),_0x387a01(this,_0x633a9f(0x33d),new Map()),_0x387a01(this,_0x633a9f(0x26a),new Map()),this[_0x633a9f(0x1ad)]();}[_0x477bc3(0x388)](){const _0x245d35=_0x477bc3;super['dispose'](),this[_0x245d35(0x33d)][_0x245d35(0x3c7)]((_0x137431,_0x30b78e)=>this[_0x245d35(0x18a)](_0x30b78e)),this[_0x245d35(0x1c0)]&&window[_0x245d35(0x261)](this[_0x245d35(0x1c0)]);}['getUnitStatus$'](_0x523e0d){const _0x2389f4=_0x477bc3;return this['_ensureSubject'](_0x523e0d)['pipe'](_0xe327d9[_0x2389f4(0x1d2)]());}[_0x477bc3(0x17a)](_0x595c22){const _0x313e3e=_0x477bc3;this[_0x313e3e(0x160)]['size']===0x0&&this[_0x313e3e(0x1b5)](),this['_selfUnitIDs'][_0x313e3e(0x1d6)](_0x595c22),this[_0x313e3e(0x2ea)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x595c22],'isForwarded':!0x1});}[_0x477bc3(0x105)](_0x536eea){const _0x544da0=_0x477bc3;this[_0x544da0(0x160)]['delete'](_0x536eea),this[_0x544da0(0x160)][_0x544da0(0x12d)]===0x0&&this[_0x544da0(0x1c0)]&&window['clearInterval'](this[_0x544da0(0x1c0)]);}['_init'](){const _0x12c879=_0x477bc3;this[_0x12c879(0x32e)](_0x162031[_0x12c879(0x16b)](_0xe327d9['fromEvent'](window,_0x12c879(0x31a))[_0x12c879(0x2cd)](_0x50c020=>{const _0x9d7621=_0x12c879;if(_0x50c020[_0x9d7621(0x3b9)]!==_0x5c7102||!_0x50c020[_0x9d7621(0x144)])return;const _0x2bc8dd=JSON[_0x9d7621(0x398)](_0x50c020[_0x9d7621(0x144)]);this[_0x9d7621(0x1ee)](_0x2bc8dd);}))),window[_0x12c879(0x2d6)](_0x12c879(0x390),()=>this[_0x12c879(0x2ea)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x12c879(0x360)](this[_0x12c879(0x160)])}));}[_0x477bc3(0x1ee)](_0x123150){const _0x435219=_0x477bc3;switch(_0x123150['type']){case 0x0:this['_handleJoinEvent'](_0x123150);break;case 0x1:this[_0x435219(0x330)](_0x123150);break;case 0x2:this['_handleHeartbeatEvent'](_0x123150);break;}}[_0x477bc3(0x342)](_0x42d98f){const _0x29b8b6=_0x477bc3,{unitIDs:_0x2f16f1,memberID:_0x13253a,isForwarded:_0x47c1fe}=_0x42d98f;_0x2f16f1['forEach'](_0x1d98ee=>{const _0xbac29e=_0x1b11;if(!_0x47c1fe&&this[_0xbac29e(0x3db)]['has'](_0x1d98ee)&&this[_0xbac29e(0xf8)](_0x1d98ee)[_0xbac29e(0x3be)](_0x44b518[_0xbac29e(0x306)][_0xbac29e(0x10d)]),!this[_0xbac29e(0x3db)][_0xbac29e(0x3cf)](_0x1d98ee)||!this[_0xbac29e(0x3db)][_0xbac29e(0x375)](_0x1d98ee)[_0xbac29e(0x3cf)](_0x13253a)){const _0x379181=this[_0xbac29e(0x3db)][_0xbac29e(0x375)](_0x1d98ee)||new Set();_0x379181[_0xbac29e(0x1d6)](_0x13253a),this[_0xbac29e(0x3db)][_0xbac29e(0x34a)](_0x1d98ee,_0x379181),this['_scheduleClearOtherTimer'](_0x13253a);}}),_0x47c1fe||this['_send']({'type':0x0,'memberID':this[_0x29b8b6(0x36a)],'unitIDs':[...this[_0x29b8b6(0x160)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2e2bbd){const _0x35cc2d=_0x477bc3;this[_0x35cc2d(0x18a)](_0x2e2bbd);const _0x477a2a=window[_0x35cc2d(0x366)](()=>{const _0x52968d=_0x35cc2d;this['_unitOnClients'][_0x52968d(0x3c7)](_0x1086aa=>{_0x1086aa['delete'](_0x2e2bbd);});},_0x16821a*0x2);this[_0x35cc2d(0x33d)][_0x35cc2d(0x34a)](_0x2e2bbd,_0x477a2a);}[_0x477bc3(0x18a)](_0x36e5ae){const _0x2c26f3=_0x477bc3;if(this[_0x2c26f3(0x33d)][_0x2c26f3(0x3cf)](_0x36e5ae)){const _0x3951fb=this['_clearOtherTimers'][_0x2c26f3(0x375)](_0x36e5ae);_0x3951fb&&window['clearTimeout'](_0x3951fb),this[_0x2c26f3(0x33d)][_0x2c26f3(0x34a)](_0x36e5ae,null);}}[_0x477bc3(0x330)](_0x2ffb88){const {memberID:_0x152ab8,unitIDs:_0x4f6daa}=_0x2ffb88;_0x4f6daa['forEach'](_0xe98b55=>{const _0x50ccbd=_0x1b11;var _0x223f7c;const _0x1c73ba=this[_0x50ccbd(0x3db)][_0x50ccbd(0x375)](_0xe98b55);_0x1c73ba&&(_0x1c73ba['delete'](_0x152ab8),(_0x223f7c=this[_0x50ccbd(0xf8)](_0xe98b55))==null||_0x223f7c[_0x50ccbd(0x3be)](_0x1c73ba['size']===0x0?_0x44b518[_0x50ccbd(0x306)]['NO_OTHER_CLIENTS_EDITING']:_0x44b518[_0x50ccbd(0x306)][_0x50ccbd(0x10d)]));}),this['_removeClearOtherTimer'](_0x152ab8);}['_handleHeartbeatEvent'](_0x27f77a){const _0x198da2=_0x477bc3;this[_0x198da2(0x325)](_0x27f77a[_0x198da2(0x3b2)]);}[_0x477bc3(0x2ea)](_0x1fde18){const _0xa48988=_0x477bc3;localStorage[_0xa48988(0x23c)](_0x5c7102,JSON[_0xa48988(0x199)](_0x1fde18));}[_0x477bc3(0x1b5)](){const _0x435645=_0x477bc3;this['_heartbeatTimer']=window[_0x435645(0x18b)](()=>{const _0x12d860=_0x435645;this[_0x12d860(0x2ea)]({'type':0x2,'memberID':this[_0x12d860(0x36a)]});},_0x16821a);}[_0x477bc3(0xf8)](_0x2c91aa){const _0xa4087b=_0x477bc3;return this[_0xa4087b(0x26a)]['has'](_0x2c91aa)||this[_0xa4087b(0x26a)][_0xa4087b(0x34a)](_0x2c91aa,new _0xe327d9['BehaviorSubject'](_0x44b518['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0xa4087b(0x26a)]['get'](_0x2c91aa);}}_0x279e32[_0x477bc3(0x31b)]=_0x361122,_0x279e32[_0x477bc3(0x14e)]=_0x5ff006,_0x279e32[_0x477bc3(0x125)]=_0xc6a367,_0x279e32[_0x477bc3(0x1b9)]=_0x48e8ee,Object[_0x477bc3(0x2e2)](_0x279e32,Symbol[_0x477bc3(0x263)],{'value':'Module'});}));function _0x5942(){const _0x4e0804=['useCallback','ENTITLE_INVALID_COUPON_CODE','...','handleMoveRange','YUUMI_NO_CUBOID_FOR_QUESTION','onPointerLeave$','_showGuardMessage','ColorKit','href','_docTransformIMECacheService','getConfig','merge','_color','#FFF','debounce','type','getParam','_saveTaskMap','m2Prime','ENTITLE_DUP_SUBSCRIPTION','TEXT','focused$','COLORS','UNDEFINED','REDEMPTION_CODE_NOT_STARTED','releaseFormulaLimitUrl','IRemoteInstanceService','subscribeEvent','_initStatusComponent','@univerjs/sheets-ui','_onCursorUpdate','syncEditingCollabCursor','_initEvent','react/jsx-runtime','url(#on-line-icon_clip0_910_349)','clearInterval','cursorInfo$','toStringTag','url(#$1','_getScale','cursorInfo','@univerjs-pro/collaboration-client','_docClipboardService','executeCommand','_unitStatus','_themeService','undoState','roomMembers','_collabCursorController','_hovered','min','getMember','_checkCalculationAvailable','_localCacheService','UniverIcon','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_updateLocalCursor','UNIVER_SHEET','YUUMI_ASYNCIO_CANCELLED','removeEventListener','session.connection-failed','OnLineIcon','getCurrentSelections','startsWith','WECHAT_HAS_BEEN_BOUND','_anchorDot','_removeCollabCursors','_roomMembers$','6016232jQAWcs','UniverSheetsUi','_cursorShapes','source','black','registerRefRange','getRenderById','collab-text-anchor-','_drawAnchor','handleDeleteRangeMoveUp','getDocRanges','wsSessionTicketUrl','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','addObjects','useDependency','height','USER_IS_ANONYMOUS','DocSelectionManagerService','defs','find','isTransformMutationsWithChangesetSuccess','_logService','_context','_collabSessionService','xlink:href','registerComponent','search','RECT','clsx','APPLY_NON_SEQUENTIAL_REVISION','CollaborationUIEventId','CanceledError','_onRefRangeChange','YUUMI_UNABLE_LOAD_URL','currentColor','InsertRangeMoveRightCommandId','toString','getSheetId','all','fromEvent','CollaborationUIEventService','PAYMENT_CHANNEL_NOT_SUPPORT','range','eventID','SHEET_VIEWPORT_KEY','_document','Inject','collabStatus.conflict','_registerRenderDependencies','EMAIL_VERIFY_CODE_MISMATCH','_transformPreviousActiveRange','_scene','SetTextSelectionsOperation','collabStatus.syncing','DesktopCollaborationStatusDisplayController','HEADER_MENU','round','REDEMPTION_USER_REDEEM_TIMES_EXCEED','subunit','DataLoaderService','ThemeService','OffLineIcon','width','InsertRangeMoveDownCommandId','CollaborationStatus','UNIVER_DOC','ENTITLE_REPORT_LIMIT_EXCEED','LOGIN_TOKEN_PROCESSING_FAILED','translate(.97)','svg','symbol','_setFormulaLimitStatus','getSheetBySheetId','_startCalculationLimit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','subscribe','_dataLoaderService','saveImage','error','pipe','useObservable','981062aqzYLI','UniverDrawing','collabStatus.notCollab','addEventListener','_urlService','BrowserCollaborationSocketService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ERROR_AGAIN','roomMembers$','purple.300','@univerjs/network','0\x200\x2017\x2016','collaboration-client-ui.config','DocSkeletonManagerService','replace','defineProperty','ENTITLE_NEED_BILLING_ADDRESS','RegularPolygon','getAncestorScale','fillText','connectInjector','operators','transformSelections','_send','replaceState','getViewport','_instanceService','transformRemoteChangeset','AWAITING','bottom','@univerjs/core','_collaborationController','_hideTimer','IImageIoService','collabStatus.fetchMiss','handleIRemoveRow','_updateURLWithCurrentState','on-line-icon_clip0_910_349','displayName','_labelPosition','attrs','MoveRangeCommandId','getCurrentRevOfUnit','?taskId=','assignAColorForMemberID','_sheetSkeletonManagerService','labelPosition','TEXT_RANGE_LAYER_INDEX','UniverSheets','_syncEditingCollabCursorService','[Unhandled\x20Rejection]:\x20','UnitStatus','getCollabEntity$','_doCreateSocket','Failed','START_CALCULATION','Optional','/universer-api/license/formula/limit/status','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','some','Unknown\x20user','Workbook','_taskIds','_cachedData','YUUMI_URL_COL_OUT_OF_RANGE','USERS_LEAVE','UNAUTHENTICATED','9VRMmkJ','setShapeProps','DocStateChangeManagerService','_initCommandInterceptor','storage','IURLService','getCurrent','17260bsJgrd','setStateCache','Tools','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Loading','SetWorksheetActivateCommand','_getAnchorBounding','getRangePointData','_scheduleClearOtherTimer','ICommandService','UniverUi','registerDependencies','reconnect','beginPath','location','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','delete','disposeWithMe','_toggleOnline','_handleLeaveEvent','takeUntil','currentSkeleton$','univer-mr-2\x20univer-flex\x20univer-text-xl','_monkeyPatchLogService','_initCommandExecutedListener','ENTITLE_CHAT_LIMIT_EXCEED','getCellPositionByOffset','_backgroundColor','enableLocalCache','_maxFormulaLimit','findNodePositionByCharIndex','setParam','_clearOtherTimers','MessageType','_onCursorDelete','UniverDocsUi','[LogService\x20Error]:\x20','_handleJoinEvent','_colorAssignService','_getSheetObject','unsubscribe','4315830WdrmgC','\x20at\x20','show','handleInsertRangeMoveDown','set','_localStorageService','body','mutations','univerjs-icon\x20univerjs-icon-','transformMutationsWithChangeset','transformIMECache','_cursor','_anchor','ILogService','ISocketService','_colorIndex','backgroundColor','APPLY_DUPLICATED','m1Prime','getformulaLimitStatusUrl','urlChange$','_docSyncEditingCollabCursorService','NOT_COLLAB','children','EffectRefRangId','NodePositionConvertToCursor','from','SUCCESS','white','SetSelectionsOperation','column','whenReady','setTimeout','session.collaboration-timeout','fill','addClipboardHook','_id','/universer-api/license/formula/limit/done','AUTHORIZE_CODE_ILLEGAL','_memberID','_lastPointer','socket$','color','11010260CyITXJ','ISnapshotServerService','FromArray','IBeforeCloseService','get','post','_messageService','measureText','REDEMPTION_CODE_HAS_BEEN_CREATED','UniverCollaborationClientUIPlugin','result','getLocalCacheKey','_drawRectRange','limitInfo','_initEntityListener','SetFormulaCalculationStartMutation','save','imageSourceType','74253sDpKQK','green.600','SessionStatus','USER_NOT_INVITED_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','dispose','amd','YUUMI_SUBSCRIPTION_NOT_FOUND','max','_initUserListener','_config','generateRandomId','yellow.400','unload','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMergeData','idSuffix','stack','textRanges','_textBubble','reason','parse','UniverCollaborationClientPlugin','collaboration.offline-data-not-saved','ONLINE','sheetId','uni.network.url-service','complete','mergeOverrideWithDependencies','_docSkeletonManagerService','fromEventSubject','parseInt','exhaustSavingTask','createIdentifier','fillStyle','onPointerEnter$','registerBeforeClose','send','BuiltInUIPart','includes','YUUMI_CONNECTOR_URL_NOT_FOUND','USER_NOT_FOUND','isTransformMutationFailure','getMemberID','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','formula.calculation.waiting','stageInfo','memberID','_startSheetCollabCursor','UniverProCollaborationClientUi','createSocket','activeSheet$','Subject','OFFLINE','key','assign','_initUnhandledRejectionListener','_notificationService','_releaseCalculationLimit','next','_imageIoService','_scheduleSaving','_entities','collabStatus.offline','isFormulaString','_getFormulaLimitStatus','hovered','UniverProCollaboration','forEach','fillRule','random','values','tag','transformStateCache','getUniverSheetInstance','_docTransformStateCacheService','has','unitID','1em','getTypeOfUnitDisposed$','engine','name','toRgbString','DATA_SOURCE_TOO_LARGE','DocIMEInputManagerService','_lastResponseTimestamp','on-line-icon','_injector','_unitOnClients','RxDisposable','INotificationService','NodePositionConvertToRectRange','UniverEngineRender','CLOSE_ROOM','now','lineno','redoState','INVITE_CODE_ALREADY_BOUND','selections','rxjs','_range','Shape','@univerjs/drawing','_ensureSubject','split','_assignedColors','permission.content','_docStateChangeManagerService','SOCKET_FAILED','APPLY_REVISION_CONFILICT','mask','_shapes','SNAPSHOT_INVALID_SNAPSHOT','_initWindowErrorListener','shift','UNRECOGNIZED','disposeUnit','_pollingInterval','requireSession','lineTo','onTransformChange$','init','_localeService','getCollabCursors$','OTHER_CLIENTS_EDITING','_cursorInfo$','session.will-retry','APPLY_PERMISSION_DENIED','MemberService','Error','handleIRemoveCol','react','getSkeleton','updateOfflineData','_status$','UniverEngineFormula','asObservable','code','SNAPSHOT_HAS_BEEN_REMOVED','createInstance','off-line-icon_clip0_910_343','_collabCursorState$','LICENSE_MAX_UNITS_EXCEEDED','IDocClipboardService','use','join','_docSkeleton','filter','WebBrowserSingleActiveUnitService','_initDependencies','setActiveRange','YUUMI_AI_RUN_FAILED','arc','enableFrontendLog','path','defIds','size','sheetID','PENDING','saveTaskMap','_uploadLog','PY_RUNTIME_SCRIPT_ERROR','HTTPService','TOO_MANY_REQUESTS','with','BehaviorSubject','Tooltip','push','_commandService','useRef','ENTITLE_COUPON_EXPIRED','COMPLETION_FINISHED','collabStatus.synced','IConfigService','subUnitId','ACTIVE_UNIT_EVENT_CHANNEL','startRow','transform','addHandlerCallback','newValue','drawWith','debug','override','Disposable','INVALID_ARGUMENT','handleInsertCol','getFocusedUnit','setConfig','_saveCache','SheetCollabCursorShape','createElement','unitId','MOBILE_VERIFY_CODE_MISMATCH','deserializeRangeWithSheet','FormulaExecutedStateType','InsertColCommandId','LICENSE_DISTRO_REJECTED','CHANGESET_REVISION_CONFILICT','setUndoRedoMutationParamsCache','_hover','_online','CollaborationController','_beforeCloseService','getTypeOfUnitAdded$','_registerDependencies','_transformHistoryAndStateStack','hide','_selfUnitIDs','getUnitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','startColumn','UPDATE_CURSOR','isArray','docStateChange$','_setupBeforeClosingHandler','_updateCollabCursors','SetFormulaCalculationNotificationMutation','_eventUnsubscribe','toDisposable','_revisionService','top','transformByState','ENTITLE_INSUFFICIENT_QUOTA','@univerjs/design','UniverDocs','clipPath','getCellMatrix','CollaborationDataLoaderController','_initResize','ITransformService','event$','102aWFpdV','transformMutation','editingUnit','_uiPartsService','_clearPolling','touchDependencies','YUUMI_ALL_TABLES_IS_INVALID','getUnit','_httpService','jsx','getValue','RemoveColCommandId','OTHER_CLIENT_EDITING','_applyCommand','unit','IUIPartsService','unshift','setAlpha','_removeClearOtherTimer','setInterval','FormulaExecuteStageType','pluginName','_setupSubUnitSync','beforeCommandExecuted','currentUsage','VIEW_MAIN','CollaborationSocketService','deepClone','DocCollaborationEntity','moveTo','LICENSE_EXPORT_SIZE_EXCEEDED','selection','makeDirty','stringify','collab-client.tooltip.reconnect','getStateCache','onRendered','application/json','516lHSYZS','SYNCED','REDEMPTION_CODE_FULLY_REDEEMED','isEditing','forwardRef','_refRangeService','onMouseMove','loadUnit','/universer-api/license/formula/limit/start','IRenderManagerService','getColorFromTheme','_startDocCollabCursor','ENTITLE_CAN_NOT_BUY_LOWER_OTP','params','APPLY_REJECT','_init','@univerjs/engine-render','sessionStatus$','_getSessionTicket','rxjs/operators','status$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_scheduleHeartbeat','DeleteRangeMoveUpCommandId','onCommandExecuted','[Window\x20Error]:\x20','WebURLService','collabCursorState$','filename','/run/','AWAITING_WITH_PENDING','restore','executionId','_heartbeatTimer','dispose$','ENTITLE_COUPON_USED_UP','YUUMI_RATE_OVER_LIMIT','permission.title','ILocalStorageService','onPointerMove$','NOT_FOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverInstanceType','searchParams','string','_currentUsage','LocaleService','getSheetObject','getCoordByCell','getUnhiddenWorksheets','ALREADY_EXISTS','distinctUntilChanged','_memberService','Vector2','RevisionService','add','REDEMPTION_INVALID_CODE','DeleteRangeMoveLeftCommandId','DOC_RANGE_TYPE','debounceTime','http://www.w3.org/2000/svg','jiqing.500','_toggleOffline','ranges','REDEMPTION_USER_NOT_ELIGIBLE','handleInsertRangeMoveRight','flatMap','Injector','getActiveRange','blue.400','CollaborationSessionService','_name','history','handleInsertRow','currentTheme$','_drawTextRange','CONFLICT','getOwnPropertyDescriptor','getOffsetConfig','_handleEvent','Warning','_handleHover','9123961IfiBMl','row','RemoveRowCommandId','_renderManagerService','INVALID_INVITE_CODE','runId','RemoteUniscriptService','resize','data','_createSocketURL','combineLatest','Plugin','invokeId','replaceDocRanges','text','_entityInit$','EMAIL_HAS_BEEN_BOUND','_getMergeRange','totalFormulasToCalculate','React','@univerjs/rpc','_initStatusListener','DependentOn','addObject','RefRangeService','doc.mutation.rich-text-editing','_session','_updateSubUnitFromURLParams','MUTATION','INVITE_CODE_HAS_BEEN_UES','_disabled','MOBILE_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','getUndoRedoMutationParamsCache','LOGIN_FAILED','rgba(255,\x20255,\x20255,\x200.01)','length','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ENSURE_SNAPSHOT_EXECUTION','_cursors','_configService','getColor','_refreshCollabCursors','IUniverInstanceService','pushState','url(#off-line-icon_clip0_910_343)','endColumn','switchMap','_collaborationSessionService','IMessageService','colorChannel1','INTERNAL_ERROR','_univerInstanceService','div','_collaborationUIEventService','serializeRangeWithSheet','JOIN_ROOM_FAILED','FETCH_MISS','INVITE_CODE_REQUIRED','_transformService','CollaborationEvent','current','then','none','Rect','CONNECTOR_DATA_TOO_LARGE','registerRenderModule','[CollaborationDataLoaderController]','getVpScrollXYInfoByPosToVp','origin','CURRENT_STATUS_CANNOT_OPERATE','shareReplay','map','clearTimeout','catch','setItem','function'];_0x5942=function(){return _0x4e0804;};return _0x5942();}
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x2706(_0x49ec72,_0x5a9a3c){_0x49ec72=_0x49ec72-0x1ef;var _0x57522c=_0x5752();var _0x2706fc=_0x57522c[_0x49ec72];return _0x2706fc;}(function(_0x5203ca,_0x4d4467){var _0x25febe=_0x2706,_0x352fe3=_0x5203ca();while(!![]){try{var _0x58b8da=-parseInt(_0x25febe(0x1ef))/0x1+parseInt(_0x25febe(0x1f0))/0x2+-parseInt(_0x25febe(0x1f6))/0x3*(parseInt(_0x25febe(0x1f1))/0x4)+-parseInt(_0x25febe(0x1f9))/0x5+parseInt(_0x25febe(0x1fb))/0x6+-parseInt(_0x25febe(0x1fd))/0x7*(parseInt(_0x25febe(0x1f3))/0x8)+parseInt(_0x25febe(0x1f7))/0x9*(parseInt(_0x25febe(0x200))/0xa);if(_0x58b8da===_0x4d4467)break;else _0x352fe3['push'](_0x352fe3['shift']());}catch(_0x155c16){_0x352fe3['push'](_0x352fe3['shift']());}}}(_0x5752,0x8c439),function(_0x4398c8,_0xe039bf){var _0x1ac0b1=_0x2706;typeof exports==_0x1ac0b1(0x1f2)&&typeof module<'u'?_0xe039bf(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x1ac0b1(0x1fa)&&define[_0x1ac0b1(0x201)]?define(['@univerjs-pro/collaboration-client-ui','@univerjs/core/facade'],_0xe039bf):(_0x4398c8=typeof globalThis<'u'?globalThis:_0x4398c8||self,_0xe039bf(_0x4398c8[_0x1ac0b1(0x1ff)],_0x4398c8[_0x1ac0b1(0x1fe)]));}(this,function(_0x5cbc94,_0x5256cf){'use strict';class _0x48cc17 extends _0x5256cf['FUniver']{['runOnServer'](_0x12f2d5,_0x13c2ab,..._0x32b7f7){var _0x349979=_0x2706;return this[_0x349979(0x1fc)][_0x349979(0x1f5)](_0x5cbc94[_0x349979(0x1f8)])[_0x349979(0x1f4)](_0x12f2d5,_0x13c2ab,{},..._0x32b7f7);}}_0x5256cf['FUniver']['extend'](_0x48cc17);}));function _0x5752(){var _0x2e168c=['function','5066298uObqgY','_injector','7idAUVg','UniverCoreFacade','UniverProCollaborationClientUi','11497130zRNyLT','amd','587075MSPOQE','435786IcjQhV','4VjCFJe','object','6765832kYfGor','runOnServer','get','148794dKwKPg','9fykQNz','RemoteUniscriptService','775330nVIqCv'];_0x5752=function(){return _0x2e168c;};return _0x5752();}
11
+ function _0x22d7(_0x4d8a71,_0x2c4844){_0x4d8a71=_0x4d8a71-0x1c6;var _0x2cbd22=_0x2cbd();var _0x22d737=_0x2cbd22[_0x4d8a71];return _0x22d737;}(function(_0x1b58c5,_0xf27da2){var _0x44f0da=_0x22d7,_0x31c2b0=_0x1b58c5();while(!![]){try{var _0x2d2a22=-parseInt(_0x44f0da(0x1ce))/0x1+-parseInt(_0x44f0da(0x1d3))/0x2*(-parseInt(_0x44f0da(0x1cb))/0x3)+-parseInt(_0x44f0da(0x1ca))/0x4+parseInt(_0x44f0da(0x1c8))/0x5*(parseInt(_0x44f0da(0x1db))/0x6)+parseInt(_0x44f0da(0x1cd))/0x7*(parseInt(_0x44f0da(0x1d2))/0x8)+parseInt(_0x44f0da(0x1d9))/0x9*(parseInt(_0x44f0da(0x1c9))/0xa)+-parseInt(_0x44f0da(0x1d4))/0xb*(parseInt(_0x44f0da(0x1c6))/0xc);if(_0x2d2a22===_0xf27da2)break;else _0x31c2b0['push'](_0x31c2b0['shift']());}catch(_0x122fd8){_0x31c2b0['push'](_0x31c2b0['shift']());}}}(_0x2cbd,0x23e69),function(_0x200ec6,_0x520c83){var _0x4840a9=_0x22d7;typeof exports==_0x4840a9(0x1d5)&&typeof module<'u'?_0x520c83(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x4840a9(0x1d1)&&define[_0x4840a9(0x1dd)]?define([_0x4840a9(0x1d8),_0x4840a9(0x1da)],_0x520c83):(_0x200ec6=typeof globalThis<'u'?globalThis:_0x200ec6||self,_0x520c83(_0x200ec6[_0x4840a9(0x1dc)],_0x200ec6[_0x4840a9(0x1d0)]));}(this,function(_0x3237d0,_0x3a1486){'use strict';var _0x3611b3=_0x22d7;class _0xc891cc extends _0x3a1486[_0x3611b3(0x1cf)]{[_0x3611b3(0x1cc)](_0x38f976,_0x173f8d,..._0x336375){var _0x4ccc42=_0x3611b3;return this[_0x4ccc42(0x1d7)][_0x4ccc42(0x1d6)](_0x3237d0[_0x4ccc42(0x1c7)])[_0x4ccc42(0x1cc)](_0x38f976,_0x173f8d,{},..._0x336375);}}_0x3a1486[_0x3611b3(0x1cf)]['extend'](_0xc891cc);}));function _0x2cbd(){var _0x4fddc0=['279554sVisPF','FUniver','UniverCoreFacade','function','808EkTZwQ','4VgBchu','1957615hOexde','object','get','_injector','@univerjs-pro/collaboration-client-ui','2438559WDAkQR','@univerjs/core/facade','6zjAwIK','UniverProCollaborationClientUi','amd','12hnJAdQ','RemoteUniscriptService','300470HBDwWk','10bsvZTM','228372EqooJh','201711obmspH','runOnServer','13594ZQULwf'];_0x2cbd=function(){return _0x4fddc0;};return _0x2cbd();}
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- function _0x56ed(_0x3f7a7b,_0x34ae77){_0x3f7a7b=_0x3f7a7b-0x94;const _0x4668e6=_0x4668();let _0x56ed99=_0x4668e6[_0x3f7a7b];return _0x56ed99;}function _0x4668(){const _0x6a2fdc=['content','getCurrentUser','_threadCommentDataSource','_httpService','/universer-api/user/list','Plugin','_threadCommentDataSourceService','deleteComment','UniverCollaborationClientPlugin','71256PoxdAq','addUser','getMemberID','post','UNRECOGNIZED','syncUpdateMutationToColla','getUser','Unknown','YYYY/MM/DD\x20HH:mm','745MvDyxp','UNIVER_UNKNOWN','bufferTime','OpenOrReOpen','_init','@univerjs-pro/license','setConfig','find','customRanges','Delete','error','350262KftHmT','_initUserSync','Solve','listComments','/add','function','resolveComment','33090zdbBio','unitId','UniverThreadCommentDataSourcePlugin','1709466wzXflt','Inject','Injector','createTimestamp','Edit','17398bgyrEC','root','_injector','users','userID','CollaborationSessionService','/list','size','@univerjs/core','requireSession','values','replyId','length','map','12771WpcPSe','getUnit','CustomRangeType','rangeType','disposeWithMe','commentUpdate$','dataSource','filter','UniverProCollaborationClient','HTTPService','amd','DependentOn','rxjs','getOwnPropertyDescriptor','dayjs','personId','onStarting','111dFBOgx','delete','_sessionService','UniverProLicense','UniverThreadComment','/reply','UserManagerService','@univerjs/network','getComment','code','replies','defineProperty','12873nynIJF','body','/delete','type','stringify','Add','user','parse','UniverProThreadCommentDatasource','COMMENT','forEach','subscribe','rangeId','onReady','_config','UniverThreadCommentUi','get','slice','updateComment','UniverNetwork','solved','@univerjs-pro/collaboration-client','7456zlvOfs','Reply','saveCommentToSnapshot','addComment','IThreadCommentDataSourceService','_configService','reply','threadId','payload','symbol','@univerjs/thread-comment-ui','_userService','parentId','Solved','add','/universer-api/comment/unit/','userId','Module','ref','object','pluginName','/edit','_threadCommentModel','format','Disposable','5892480QKRyaO'];_0x4668=function(){return _0x6a2fdc;};return _0x4668();}(function(_0x29ba91,_0x1c0ac0){const _0x4c3199=_0x56ed,_0x8c9142=_0x29ba91();while(!![]){try{const _0xff8ef7=-parseInt(_0x4c3199(0xea))/0x1+-parseInt(_0x4c3199(0xef))/0x2*(-parseInt(_0x4c3199(0x10e))/0x3)+-parseInt(_0x4c3199(0xc2))/0x4+parseInt(_0x4c3199(0xd5))/0x5*(parseInt(_0x4c3199(0xcc))/0x6)+-parseInt(_0x4c3199(0x11a))/0x7*(parseInt(_0x4c3199(0xa9))/0x8)+-parseInt(_0x4c3199(0xe0))/0x9+-parseInt(_0x4c3199(0xe7))/0xa*(-parseInt(_0x4c3199(0xfd))/0xb);if(_0xff8ef7===_0x1c0ac0)break;else _0x8c9142['push'](_0x8c9142['shift']());}catch(_0x830bd3){_0x8c9142['push'](_0x8c9142['shift']());}}}(_0x4668,0xf3934),function(_0x521cd4,_0xf85836){const _0x2cbebc=_0x56ed;typeof exports==_0x2cbebc(0xbc)&&typeof module<'u'?_0xf85836(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x2cbebc(0xe5)&&define[_0x2cbebc(0x107)]?define(['exports',_0x2cbebc(0xa8),_0x2cbebc(0xda),_0x2cbebc(0xf7),_0x2cbebc(0xb3),'@univerjs/thread-comment',_0x2cbebc(0x109),_0x2cbebc(0x115)],_0xf85836):(_0x521cd4=typeof globalThis<'u'?globalThis:_0x521cd4||self,_0xf85836(_0x521cd4[_0x2cbebc(0x9b)]={},_0x521cd4[_0x2cbebc(0x105)],_0x521cd4[_0x2cbebc(0x111)],_0x521cd4['UniverCore'],_0x521cd4[_0x2cbebc(0xa2)],_0x521cd4[_0x2cbebc(0x112)],_0x521cd4[_0x2cbebc(0x109)],_0x521cd4[_0x2cbebc(0xa6)]));}(this,function(_0xa5bb3,_0x5c0f8f,_0x9d00dd,_0x529188,_0x42974a,_0x43ac1c,_0x17b312,_0x4890dd){'use strict';const _0x5742a8=_0x56ed;const _0x3cb245='UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN';var _0x21fb96=(_0x6958b1=>(_0x6958b1[_0x6958b1[_0x5742a8(0xd8)]=0x0]=_0x5742a8(0xd8),_0x6958b1[_0x6958b1[_0x5742a8(0xb6)]=0x1]=_0x5742a8(0xb6),_0x6958b1[_0x6958b1[_0x5742a8(0xd0)]=-0x1]=_0x5742a8(0xd0),_0x6958b1))(_0x21fb96||{}),_0x32f01a=(_0x221187=>(_0x221187[_0x221187[_0x5742a8(0xd3)]=0x0]=_0x5742a8(0xd3),_0x221187[_0x221187[_0x5742a8(0x98)]=0x1]=_0x5742a8(0x98),_0x221187[_0x221187[_0x5742a8(0xaa)]=0x2]=_0x5742a8(0xaa),_0x221187[_0x221187[_0x5742a8(0xee)]=0x3]='Edit',_0x221187[_0x221187[_0x5742a8(0xde)]=0x4]=_0x5742a8(0xde),_0x221187[_0x221187[_0x5742a8(0xe2)]=0x5]=_0x5742a8(0xe2),_0x221187[_0x221187[_0x5742a8(0xd0)]=-0x1]=_0x5742a8(0xd0),_0x221187))(_0x32f01a||{});const _0x185e1b=_0x42363d=>_0x529188[_0x5742a8(0x10b)](new Date(+_0x42363d))[_0x5742a8(0xc0)](_0x5742a8(0xd4)),_0x51fd4b=async(_0x229e2a,_0x1811b4)=>{const _0x2817c3=_0x5742a8,_0x3c129a=_0x229e2a[_0x2817c3(0xa3)](_0x529188['UserManagerService']),_0x87e017=_0x229e2a[_0x2817c3(0xa3)](_0x4890dd[_0x2817c3(0x106)]);_0x1811b4[_0x2817c3(0x9d)](_0x2c2b41=>{const _0x5c587a=_0x2817c3;_0x3c129a[_0x5c587a(0xd2)](_0x2c2b41)&&_0x1811b4[_0x5c587a(0x10f)](_0x2c2b41);}),_0x1811b4[_0x2817c3(0xf6)]&&(await _0x87e017[_0x2817c3(0xa3)](_0x2817c3(0xc7),{'params':{'userIDs':[..._0x1811b4]}}))[_0x2817c3(0x94)][_0x2817c3(0xf2)][_0x2817c3(0x9d)](_0x29713c=>{const _0x5467db=_0x2817c3;_0x29713c&&_0x3c129a[_0x5467db(0xcd)](_0x29713c);});};var _0x2b550b=Object[_0x5742a8(0x10a)],_0x27eed1=(_0xbf8479,_0x2fedee,_0xeb7972,_0x1e708e)=>{const _0x1aee87=_0x5742a8;for(var _0x4d7c76=_0x1e708e>0x1?void 0x0:_0x1e708e?_0x2b550b(_0x2fedee,_0xeb7972):_0x2fedee,_0x3f5ce5=_0xbf8479[_0x1aee87(0xfb)]-0x1,_0x430cab;_0x3f5ce5>=0x0;_0x3f5ce5--)(_0x430cab=_0xbf8479[_0x3f5ce5])&&(_0x4d7c76=_0x430cab(_0x4d7c76)||_0x4d7c76);return _0x4d7c76;},_0x1d911a=(_0xe0c7d1,_0x32ffba)=>(_0x20ce3e,_0x405f87)=>_0x32ffba(_0x20ce3e,_0x405f87,_0xe0c7d1);let _0x2c1637=class extends _0x529188[_0x5742a8(0xc1)]{constructor(_0x322f93,_0x50dfc3,_0x27370e,_0x22801c){const _0x171ba0=_0x5742a8;super(),this['_commentService']=_0x322f93,this[_0x171ba0(0xbf)]=_0x50dfc3,this['_userService']=_0x27370e,this[_0x171ba0(0xf1)]=_0x22801c,this['_init'](),this[_0x171ba0(0xe1)]();}[_0x5742a8(0xe1)](){const _0x524134=_0x5742a8;this[_0x524134(0x101)](this['_threadCommentModel'][_0x524134(0x102)]['pipe'](_0x17b312[_0x524134(0xd7)](0x10))['subscribe'](_0x5ab807=>{const _0x4873a1=_0x524134,_0x11e621=new Set();_0x5ab807[_0x4873a1(0x9d)](_0x51b92f=>{const _0x27cef4=_0x4873a1;switch(_0x51b92f[_0x27cef4(0x96)]){case _0x27cef4(0xb7):{const _0x1d2784=_0x51b92f[_0x27cef4(0xb1)][_0x27cef4(0x10c)];_0x11e621[_0x27cef4(0xb7)](_0x1d2784);break;}}}),_0x51fd4b(this['_injector'],_0x11e621);}));}[_0x5742a8(0xd9)](){const _0x508b7a=_0x5742a8;this['disposeWithMe'](this['_commentService']['commentUpdate$'][_0x508b7a(0x9e)](async _0x53af1f=>{const _0x1b76aa=_0x508b7a;var _0x36b57f,_0x48d539,_0x2e066c,_0x54535d;const _0x3b84d8=(_0x36b57f=this[_0x1b76aa(0xbf)]['getUnit'](_0x53af1f[_0x1b76aa(0xe8)])[_0x1b76aa(0xdc)](_0x52b6dd=>_0x52b6dd[_0x1b76aa(0xb0)]===_0x53af1f[_0x1b76aa(0xb0)]))==null?void 0x0:_0x36b57f['root'];if(!_0x3b84d8)return;const {unitId:_0x40bf24,subUnitId:_0x39a1e9}=_0x3b84d8;switch(_0x53af1f[_0x1b76aa(0x99)]&&this[_0x1b76aa(0xb4)][_0x1b76aa(0xcd)](_0x53af1f[_0x1b76aa(0x99)]),_0x53af1f[_0x1b76aa(0x96)]){case _0x32f01a[_0x1b76aa(0x98)]:break;case _0x32f01a[_0x1b76aa(0xaa)]:{this[_0x1b76aa(0xbf)][_0x1b76aa(0xac)](_0x40bf24,_0x39a1e9,{'unitId':_0x40bf24,'subUnitId':_0x39a1e9,'ref':'','id':_0x53af1f[_0x1b76aa(0xfa)],'dT':_0x185e1b(+_0x53af1f[_0x1b76aa(0xed)]),'threadId':_0x53af1f[_0x1b76aa(0xb0)],'personId':(_0x2e066c=(_0x48d539=_0x53af1f[_0x1b76aa(0x99)])==null?void 0x0:_0x48d539['userID'])!=null?_0x2e066c:_0x53af1f['userId'],'text':JSON['parse'](_0x53af1f['content']),'parentId':_0x3b84d8['id']});break;}case _0x32f01a[_0x1b76aa(0xde)]:{const _0x2d50f5=this[_0x1b76aa(0xbf)][_0x1b76aa(0x116)](_0x40bf24,_0x39a1e9,_0x53af1f[_0x1b76aa(0xfa)]);_0x2d50f5&&_0x2d50f5[_0x1b76aa(0xb5)]&&this[_0x1b76aa(0xbf)][_0x1b76aa(0xca)](_0x40bf24,_0x39a1e9,_0x53af1f[_0x1b76aa(0xfa)]);break;}case _0x32f01a['Edit']:{this[_0x1b76aa(0xbf)]['updateComment'](_0x40bf24,_0x39a1e9,{'commentId':_0x53af1f[_0x1b76aa(0xfa)],'text':JSON['parse'](_0x53af1f['content'])});break;}case _0x32f01a[_0x1b76aa(0xe2)]:{const _0x7c106b=(_0x54535d=this[_0x1b76aa(0xbf)][_0x1b76aa(0xfe)](_0x53af1f[_0x1b76aa(0xe8)])[_0x1b76aa(0xdc)](_0xbe16a1=>_0xbe16a1[_0x1b76aa(0xb0)]===_0x53af1f[_0x1b76aa(0xb0)]))==null?void 0x0:_0x54535d[_0x1b76aa(0xf0)];_0x7c106b&&this[_0x1b76aa(0xbf)]['resolveComment'](_0x40bf24,_0x39a1e9,_0x7c106b['id'],_0x53af1f[_0x1b76aa(0xa7)]===_0x21fb96[_0x1b76aa(0xb6)]);break;}}}));}};_0x2c1637=_0x27eed1([_0x1d911a(0x0,_0x529188[_0x5742a8(0xeb)](_0x5c0f8f['CommentService'])),_0x1d911a(0x1,_0x529188[_0x5742a8(0xeb)](_0x43ac1c['ThreadCommentModel'])),_0x1d911a(0x2,_0x529188['Inject'](_0x529188['UserManagerService'])),_0x1d911a(0x3,_0x529188['Inject'](_0x529188[_0x5742a8(0xec)]))],_0x2c1637);const _0x292bb0='thread-comment-data-source.config',_0x1ad811={};var _0x178272=Object[_0x5742a8(0x10a)],_0x160547=(_0x48f27f,_0x134781,_0x174182,_0x1dd9fc)=>{const _0x112408=_0x5742a8;for(var _0xd0dcb7=_0x1dd9fc>0x1?void 0x0:_0x1dd9fc?_0x178272(_0x134781,_0x174182):_0x134781,_0x35d469=_0x48f27f[_0x112408(0xfb)]-0x1,_0x1df304;_0x35d469>=0x0;_0x35d469--)(_0x1df304=_0x48f27f[_0x35d469])&&(_0xd0dcb7=_0x1df304(_0xd0dcb7)||_0xd0dcb7);return _0xd0dcb7;},_0x299324=(_0x1e71b7,_0x31deab)=>(_0xd4f739,_0x11d9c6)=>_0x31deab(_0xd4f739,_0x11d9c6,_0x1e71b7);function _0x366ea8(_0xb9d51,_0x57137d){const _0x8622f9=_0x5742a8,_0x1eb956=_0xb9d51[_0x8622f9(0x118)][0x0];return{..._0x57137d,'id':_0x1eb956['replyId'],'resolved':_0xb9d51[_0x8622f9(0xa7)]===0x1,'dT':_0x185e1b(_0x1eb956['createTimestamp']),'personId':_0x1eb956['userId'],'threadId':_0x1eb956['threadId']};}function _0x1a9e6c(_0x640cbb,_0x5343db,_0x469881){const _0x2e5b31=_0x5742a8;var _0x99b36b,_0x2b99a4;if(((_0x2b99a4=(_0x99b36b=_0x640cbb==null?void 0x0:_0x640cbb[_0x2e5b31(0x118)])==null?void 0x0:_0x99b36b['length'])!=null?_0x2b99a4:0x0)>0x0){const _0x589a1a=(_0xb0dc00,_0x50c005)=>({'id':_0xb0dc00['replyId'],'threadId':_0xb0dc00[_0x2e5b31(0xb0)],'dT':_0x185e1b(_0xb0dc00['createTimestamp']),'personId':_0xb0dc00[_0x2e5b31(0xb9)],'resolved':_0x640cbb[_0x2e5b31(0xa7)]===_0x21fb96[_0x2e5b31(0xb6)],'unitId':_0x5343db,'subUnitId':_0x469881,'text':JSON[_0x2e5b31(0x9a)](_0xb0dc00[_0x2e5b31(0xc3)]),'parentId':_0x50c005}),_0x1d56d8=_0x589a1a(_0x640cbb[_0x2e5b31(0x118)][0x0]);return{..._0x1d56d8,'children':_0x640cbb['replies'][_0x2e5b31(0xa4)](0x1)['map'](_0x5c5d63=>_0x589a1a(_0x5c5d63,_0x1d56d8['id']))};}return null;}let _0x558f1a=class{constructor(_0x10850,_0x3db3ac,_0x2c29a6){const _0x14ed0c=_0x5742a8;this[_0x14ed0c(0xc6)]=_0x10850,this[_0x14ed0c(0xb4)]=_0x3db3ac,this['_sessionService']=_0x2c29a6;}async['addComment'](_0x274738){const _0x4c1e52=_0x5742a8;var _0x383ad6,_0x30e933;const {parentId:_0x578486,unitId:_0x2bf226,text:_0x356204,threadId:_0x2ec94e}=_0x274738,_0x286394=(_0x30e933=(_0x383ad6=_0x356204[_0x4c1e52(0xdd)])==null?void 0x0:_0x383ad6[_0x4c1e52(0x104)](_0x26a006=>_0x26a006[_0x4c1e52(0x100)]===_0x529188[_0x4c1e52(0xff)]['COMMENT'])['map'](_0x3e8f6d=>_0x3e8f6d[_0x4c1e52(0x9f)]))!=null?_0x30e933:[],_0x526a0f=JSON['stringify'](_0x356204),_0x547594=(await this[_0x4c1e52(0x110)][_0x4c1e52(0xf8)](_0x2bf226))['getMemberID']();if(_0x578486){const _0x22c62d={'memberId':_0x547594,'unitId':_0x2bf226,'content':_0x526a0f,'mention':_0x286394,'threadId':_0x2ec94e},_0x7513ce=(await this[_0x4c1e52(0xc6)]['post'](_0x4c1e52(0xb8)+_0x2bf226+_0x4c1e52(0x113),{'body':_0x22c62d}))['body'][_0x4c1e52(0xaf)];return{..._0x274738,'id':_0x7513ce[_0x4c1e52(0xfa)],'dT':_0x529188['dayjs'](+_0x7513ce['createTimestamp'])['format']('YYYY/MM/DD\x20HH:mm'),'personId':_0x7513ce[_0x4c1e52(0xb9)]};}else{const _0x4230e8={'memberId':_0x547594,'unitId':_0x2bf226,'content':_0x526a0f,'mention':_0x286394},_0x1d5470=await this[_0x4c1e52(0xc6)][_0x4c1e52(0xcf)](_0x4c1e52(0xb8)+_0x2bf226+_0x4c1e52(0xe4),{'body':_0x4230e8});return _0x366ea8(_0x1d5470[_0x4c1e52(0x94)]['comment'],_0x274738);}}async[_0x5742a8(0xa5)](_0x34721e){const _0x134348=_0x5742a8;var _0x52b469,_0x2f40fe;const {text:_0x1d7c37,unitId:_0x362ae6}=_0x34721e,_0x4782d4=(_0x2f40fe=(_0x52b469=_0x1d7c37[_0x134348(0xdd)])==null?void 0x0:_0x52b469[_0x134348(0x104)](_0x334cc7=>_0x334cc7[_0x134348(0x100)]===_0x529188['CustomRangeType'][_0x134348(0x9c)])['map'](_0x42e2cd=>_0x42e2cd['rangeId']))!=null?_0x2f40fe:[],_0x2dbd94=JSON[_0x134348(0x97)](_0x1d7c37),_0x58ca84=_0x34721e[_0x134348(0xb0)],_0x26db7c=_0x34721e['id'],_0x69a3ae={'memberId':(await this[_0x134348(0x110)][_0x134348(0xf8)](_0x362ae6))[_0x134348(0xce)](),'unitId':_0x362ae6,'threadId':_0x58ca84,'mention':_0x4782d4,'content':_0x2dbd94,'replyId':_0x26db7c},_0x2489be=await this[_0x134348(0xc6)][_0x134348(0xcf)]('/universer-api/comment/unit/'+_0x362ae6+_0x134348(0xbe),{'body':_0x69a3ae});return!_0x2489be[_0x134348(0x94)]['error']||_0x2489be[_0x134348(0x94)][_0x134348(0xdf)][_0x134348(0x117)]===0x1;}async[_0x5742a8(0xe6)](_0xbc4358){const _0x531425=_0x5742a8,{unitId:_0x48cb50}=_0xbc4358,_0x43c736=_0xbc4358['threadId'],_0x11211e={'memberId':this['_userService'][_0x531425(0xc4)]()[_0x531425(0xf3)],'unitId':_0x48cb50,'threadId':_0x43c736,'solved':_0xbc4358['resolved']?_0x21fb96['Solved']:_0x21fb96['OpenOrReOpen']},_0x34a13b=await this[_0x531425(0xc6)]['post'](_0x531425(0xb8)+_0x48cb50+'/solved',{'body':_0x11211e});return!_0x34a13b[_0x531425(0x94)][_0x531425(0xdf)]||_0x34a13b[_0x531425(0x94)][_0x531425(0xdf)][_0x531425(0x117)]===0x1;}async['deleteComment'](_0x3ca24e,_0x5d8836,_0x1023d6,_0x38719c){const _0x171f7e=_0x5742a8,_0x2b87f7={'memberId':(await this[_0x171f7e(0x110)][_0x171f7e(0xf8)](_0x3ca24e))[_0x171f7e(0xce)](),'threadId':_0x1023d6,'replyId':_0x38719c,'unitId':_0x3ca24e},_0x1b010a=await this[_0x171f7e(0xc6)][_0x171f7e(0xcf)]('/universer-api/comment/unit/'+_0x3ca24e+_0x171f7e(0x95),{'body':_0x2b87f7});return!_0x1b010a['body'][_0x171f7e(0xdf)]||_0x1b010a[_0x171f7e(0x94)][_0x171f7e(0xdf)][_0x171f7e(0x117)]===0x1;}async[_0x5742a8(0xe3)](_0x38341e,_0xfe7183,_0xfaf705){const _0x388122=_0x5742a8,_0x2e7943={'unitId':_0x38341e,'threadId':_0xfaf705},_0xe46c9b=await this[_0x388122(0xc6)][_0x388122(0xcf)](_0x388122(0xb8)+_0x38341e+_0x388122(0xf5),{'body':_0x2e7943}),_0x49757f=_0xfaf705[_0x388122(0xfc)](_0x16c340=>_0x1a9e6c(_0xe46c9b[_0x388122(0x94)]['comments'][_0x16c340],_0x38341e,_0xfe7183))[_0x388122(0x104)](Boolean);return Object[_0x388122(0xf9)](_0xe46c9b[_0x388122(0x94)]['users'])[_0x388122(0x9d)](_0x455a34=>{const _0x561840=_0x388122;this[_0x561840(0xb4)][_0x561840(0xcd)](_0x455a34);}),_0x49757f;}[_0x5742a8(0xab)](_0x4eb4ed){const _0x5a84a2=_0x5742a8;return{'id':_0x4eb4ed['id'],'threadId':_0x4eb4ed[_0x5a84a2(0xb0)],'ref':_0x4eb4ed[_0x5a84a2(0xbb)]};}};_0x558f1a=_0x160547([_0x299324(0x0,_0x529188[_0x5742a8(0xeb)](_0x4890dd[_0x5742a8(0x106)])),_0x299324(0x1,_0x529188[_0x5742a8(0xeb)](_0x529188[_0x5742a8(0x114)])),_0x299324(0x2,_0x529188[_0x5742a8(0xeb)](_0x5c0f8f[_0x5742a8(0xf4)]))],_0x558f1a);var _0xe58bd2=Object[_0x5742a8(0x10a)],_0x4ef192=(_0x327709,_0x445f46,_0x3a78c3,_0x4b0617)=>{const _0x2d265e=_0x5742a8;for(var _0x211581=_0x4b0617>0x1?void 0x0:_0x4b0617?_0xe58bd2(_0x445f46,_0x3a78c3):_0x445f46,_0x1ad223=_0x327709[_0x2d265e(0xfb)]-0x1,_0x1113ae;_0x1ad223>=0x0;_0x1ad223--)(_0x1113ae=_0x327709[_0x1ad223])&&(_0x211581=_0x1113ae(_0x211581)||_0x211581);return _0x211581;},_0x18ac63=(_0x34b8ab,_0x42f84d)=>(_0x29c62b,_0x2d36e0)=>_0x42f84d(_0x29c62b,_0x2d36e0,_0x34b8ab);let _0x428263=class extends _0x529188[_0x5742a8(0xc1)]{constructor(_0x4d438,_0x4319b0){const _0x569ae9=_0x5742a8;super(),this['_threadCommentDataSourceService']=_0x4d438,this[_0x569ae9(0xc5)]=_0x4319b0,this['_initDataSource']();}['_initDataSource'](){const _0x446dcd=_0x5742a8;this[_0x446dcd(0xc9)][_0x446dcd(0x103)]=this[_0x446dcd(0xc5)],this['_threadCommentDataSourceService'][_0x446dcd(0xd1)]=!0x1;}};_0x428263=_0x4ef192([_0x18ac63(0x0,_0x43ac1c[_0x5742a8(0xad)]),_0x18ac63(0x1,_0x529188['Inject'](_0x558f1a))],_0x428263);var _0x2ee584=Object[_0x5742a8(0x119)],_0x58495d=Object['getOwnPropertyDescriptor'],_0xecfc1d=(_0x2ea57b,_0x524e8b,_0x5f2ee4)=>_0x524e8b in _0x2ea57b?_0x2ee584(_0x2ea57b,_0x524e8b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f2ee4}):_0x2ea57b[_0x524e8b]=_0x5f2ee4,_0x29369a=(_0xc76ec6,_0x5b4508,_0x31ad88,_0x569ffe)=>{const _0x59f539=_0x5742a8;for(var _0x145be7=_0x569ffe>0x1?void 0x0:_0x569ffe?_0x58495d(_0x5b4508,_0x31ad88):_0x5b4508,_0x12a004=_0xc76ec6[_0x59f539(0xfb)]-0x1,_0x393231;_0x12a004>=0x0;_0x12a004--)(_0x393231=_0xc76ec6[_0x12a004])&&(_0x145be7=_0x393231(_0x145be7)||_0x145be7);return _0x145be7;},_0x2c4bf6=(_0x2a58d3,_0x43b2bd)=>(_0x29ee75,_0x1c2952)=>_0x43b2bd(_0x29ee75,_0x1c2952,_0x2a58d3),_0x4e7d19=(_0x2dd6a3,_0x531dc7,_0x29eeef)=>_0xecfc1d(_0x2dd6a3,typeof _0x531dc7!=_0x5742a8(0xb2)?_0x531dc7+'':_0x531dc7,_0x29eeef);_0xa5bb3['UniverThreadCommentDataSourcePlugin']=class extends _0x529188[_0x5742a8(0xc8)]{constructor(_0x5455cd=_0x1ad811,_0x150ba4,_0x108b3e){const _0x5330c3=_0x5742a8;super(),this[_0x5330c3(0xa1)]=_0x5455cd,this[_0x5330c3(0xf1)]=_0x150ba4,this[_0x5330c3(0xae)]=_0x108b3e;const {..._0x43c85d}=_0x529188['merge']({},_0x1ad811,this['_config']);this[_0x5330c3(0xae)][_0x5330c3(0xdb)](_0x292bb0,_0x43c85d);}[_0x5742a8(0x10d)](){const _0x5515cd=_0x5742a8;[[_0x558f1a],[_0x428263],[_0x2c1637]][_0x5515cd(0x9d)](_0x168e0b=>{const _0x3e9c30=_0x5515cd;this[_0x3e9c30(0xf1)]['add'](_0x168e0b);});}[_0x5742a8(0xa0)](){const _0x1bda62=_0x5742a8;this[_0x1bda62(0xf1)][_0x1bda62(0xa3)](_0x428263),this[_0x1bda62(0xf1)]['get'](_0x2c1637);}},_0x4e7d19(_0xa5bb3[_0x5742a8(0xe9)],_0x5742a8(0xbd),_0x3cb245),_0x4e7d19(_0xa5bb3[_0x5742a8(0xe9)],'type',_0x529188['UniverInstanceType'][_0x5742a8(0xd6)]),_0xa5bb3[_0x5742a8(0xe9)]=_0x29369a([_0x529188[_0x5742a8(0x108)](_0x42974a['UniverThreadCommentUIPlugin'],_0x5c0f8f[_0x5742a8(0xcb)],_0x9d00dd['UniverLicensePlugin']),_0x2c4bf6(0x1,_0x529188[_0x5742a8(0xeb)](_0x529188[_0x5742a8(0xec)])),_0x2c4bf6(0x2,_0x529188['IConfigService'])],_0xa5bb3[_0x5742a8(0xe9)]),Object[_0x5742a8(0x119)](_0xa5bb3,Symbol['toStringTag'],{'value':_0x5742a8(0xba)});}));
14
+ (function(_0x4b2ae6,_0xdd97ce){const _0x43fd06=_0x2056,_0x377582=_0x4b2ae6();while(!![]){try{const _0x90c2ff=-parseInt(_0x43fd06(0x25a))/0x1+-parseInt(_0x43fd06(0x1f6))/0x2*(-parseInt(_0x43fd06(0x1de))/0x3)+-parseInt(_0x43fd06(0x1e4))/0x4*(parseInt(_0x43fd06(0x258))/0x5)+parseInt(_0x43fd06(0x21f))/0x6+-parseInt(_0x43fd06(0x202))/0x7*(-parseInt(_0x43fd06(0x1ef))/0x8)+-parseInt(_0x43fd06(0x246))/0x9+parseInt(_0x43fd06(0x24f))/0xa;if(_0x90c2ff===_0xdd97ce)break;else _0x377582['push'](_0x377582['shift']());}catch(_0x5f50cf){_0x377582['push'](_0x377582['shift']());}}}(_0x5a93,0xdee89),function(_0x191a33,_0x569835){const _0x43f65b=_0x2056;typeof exports==_0x43f65b(0x20b)&&typeof module<'u'?_0x569835(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x43f65b(0x1df)&&define[_0x43f65b(0x1f9)]?define([_0x43f65b(0x228),_0x43f65b(0x1e0),'@univerjs-pro/license',_0x43f65b(0x217),_0x43f65b(0x20e),_0x43f65b(0x1dd),_0x43f65b(0x24c),_0x43f65b(0x255)],_0x569835):(_0x191a33=typeof globalThis<'u'?globalThis:_0x191a33||self,_0x569835(_0x191a33[_0x43f65b(0x216)]={},_0x191a33[_0x43f65b(0x203)],_0x191a33['UniverProLicense'],_0x191a33[_0x43f65b(0x242)],_0x191a33['UniverThreadCommentUi'],_0x191a33['UniverThreadComment'],_0x191a33[_0x43f65b(0x24c)],_0x191a33[_0x43f65b(0x1e3)]));}(this,function(_0x4fcfbd,_0x48730e,_0x10a353,_0x51f1ce,_0x39556f,_0x3116cc,_0x3a72c3,_0x1d31a5){'use strict';const _0x1a2c97=_0x2056;const _0x23c63d='UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN';var _0x13f869=(_0x37b28f=>(_0x37b28f[_0x37b28f[_0x1a2c97(0x1fe)]=0x0]='OpenOrReOpen',_0x37b28f[_0x37b28f[_0x1a2c97(0x245)]=0x1]=_0x1a2c97(0x245),_0x37b28f[_0x37b28f[_0x1a2c97(0x222)]=-0x1]=_0x1a2c97(0x222),_0x37b28f))(_0x13f869||{}),_0x443956=(_0x5a991d=>(_0x5a991d[_0x5a991d[_0x1a2c97(0x23b)]=0x0]=_0x1a2c97(0x23b),_0x5a991d[_0x5a991d[_0x1a2c97(0x1ff)]=0x1]=_0x1a2c97(0x1ff),_0x5a991d[_0x5a991d[_0x1a2c97(0x1e8)]=0x2]='Reply',_0x5a991d[_0x5a991d['Edit']=0x3]=_0x1a2c97(0x1f7),_0x5a991d[_0x5a991d['Delete']=0x4]=_0x1a2c97(0x23d),_0x5a991d[_0x5a991d['Solve']=0x5]='Solve',_0x5a991d[_0x5a991d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5a991d))(_0x443956||{});const _0x13c44b=_0x249005=>_0x51f1ce[_0x1a2c97(0x206)](new Date(+_0x249005))[_0x1a2c97(0x200)](_0x1a2c97(0x24d)),_0xa96a43=async(_0x49818f,_0x3e6a39)=>{const _0x6b62fb=_0x1a2c97,_0x3fdeb0=_0x49818f['get'](_0x51f1ce['UserManagerService']),_0x1f8db2=_0x49818f[_0x6b62fb(0x1f1)](_0x1d31a5['HTTPService']);_0x3e6a39[_0x6b62fb(0x1f2)](_0x23c4b9=>{const _0x43c18f=_0x6b62fb;_0x3fdeb0[_0x43c18f(0x263)](_0x23c4b9)&&_0x3e6a39[_0x43c18f(0x20d)](_0x23c4b9);}),_0x3e6a39[_0x6b62fb(0x225)]&&(await _0x1f8db2[_0x6b62fb(0x1f1)](_0x6b62fb(0x22c),{'params':{'userIDs':[..._0x3e6a39]}}))[_0x6b62fb(0x23a)][_0x6b62fb(0x241)][_0x6b62fb(0x1f2)](_0x9f08ff=>{const _0x301f8b=_0x6b62fb;_0x9f08ff&&_0x3fdeb0[_0x301f8b(0x235)](_0x9f08ff);});};var _0x158a71=Object[_0x1a2c97(0x226)],_0x4769a7=(_0x23ca5b,_0xb12b02,_0x4bc54f,_0x48156f)=>{for(var _0x39c1ea=_0x48156f>0x1?void 0x0:_0x48156f?_0x158a71(_0xb12b02,_0x4bc54f):_0xb12b02,_0x42e934=_0x23ca5b['length']-0x1,_0x404263;_0x42e934>=0x0;_0x42e934--)(_0x404263=_0x23ca5b[_0x42e934])&&(_0x39c1ea=_0x404263(_0x39c1ea)||_0x39c1ea);return _0x39c1ea;},_0x55f2a7=(_0x1419c9,_0x4a7923)=>(_0x4915cc,_0x62efbe)=>_0x4a7923(_0x4915cc,_0x62efbe,_0x1419c9);let _0x2288d2=class extends _0x51f1ce[_0x1a2c97(0x243)]{constructor(_0xfe694d,_0x1e89f8,_0x3e1199,_0x54ca24){const _0x1439ed=_0x1a2c97;super(),this['_commentService']=_0xfe694d,this['_threadCommentModel']=_0x1e89f8,this[_0x1439ed(0x261)]=_0x3e1199,this[_0x1439ed(0x1ec)]=_0x54ca24,this[_0x1439ed(0x209)](),this[_0x1439ed(0x215)]();}[_0x1a2c97(0x215)](){const _0x5cdbb3=_0x1a2c97;this['disposeWithMe'](this[_0x5cdbb3(0x221)][_0x5cdbb3(0x23c)][_0x5cdbb3(0x204)](_0x3a72c3['bufferTime'](0x10))[_0x5cdbb3(0x22a)](_0x20e5dd=>{const _0x4601a3=_0x5cdbb3,_0x3cd452=new Set();_0x20e5dd[_0x4601a3(0x1f2)](_0x1e3846=>{const _0x328778=_0x4601a3;if(_0x1e3846[_0x328778(0x240)]===_0x328778(0x239)){const _0x595f8b=_0x1e3846['payload'][_0x328778(0x1fd)];_0x3cd452[_0x328778(0x239)](_0x595f8b);}}),_0xa96a43(this[_0x4601a3(0x1ec)],_0x3cd452);}));}[_0x1a2c97(0x209)](){const _0x549c0b=_0x1a2c97;this[_0x549c0b(0x20f)](this[_0x549c0b(0x252)][_0x549c0b(0x23c)]['subscribe'](async _0x3ae143=>{const _0x35d58b=_0x549c0b;var _0x4009a9,_0x5b9e35,_0x202787,_0x402341;const _0x5c37da=(_0x4009a9=this['_threadCommentModel'][_0x35d58b(0x1fb)](_0x3ae143[_0x35d58b(0x23e)])[_0x35d58b(0x21a)](_0x384678=>_0x384678[_0x35d58b(0x1e5)]===_0x3ae143[_0x35d58b(0x1e5)]))==null?void 0x0:_0x4009a9[_0x35d58b(0x24e)];if(!_0x5c37da)return;const {unitId:_0x9777d0,subUnitId:_0x162641}=_0x5c37da;switch(_0x3ae143[_0x35d58b(0x22d)]&&this[_0x35d58b(0x261)]['addUser'](_0x3ae143[_0x35d58b(0x22d)]),_0x3ae143[_0x35d58b(0x240)]){case _0x443956[_0x35d58b(0x1ff)]:break;case _0x443956[_0x35d58b(0x1e8)]:{this[_0x35d58b(0x221)][_0x35d58b(0x247)](_0x9777d0,_0x162641,{'unitId':_0x9777d0,'subUnitId':_0x162641,'ref':'','id':_0x3ae143['replyId'],'dT':_0x13c44b(+_0x3ae143[_0x35d58b(0x211)]),'threadId':_0x3ae143[_0x35d58b(0x1e5)],'personId':(_0x202787=(_0x5b9e35=_0x3ae143[_0x35d58b(0x22d)])==null?void 0x0:_0x5b9e35[_0x35d58b(0x248)])!=null?_0x202787:_0x3ae143[_0x35d58b(0x234)],'text':JSON['parse'](_0x3ae143['content']),'parentId':_0x5c37da['id']});break;}case _0x443956['Delete']:{const _0x127344=this[_0x35d58b(0x221)][_0x35d58b(0x236)](_0x9777d0,_0x162641,_0x3ae143[_0x35d58b(0x249)]);_0x127344&&_0x127344[_0x35d58b(0x257)]&&this[_0x35d58b(0x221)]['deleteComment'](_0x9777d0,_0x162641,_0x3ae143[_0x35d58b(0x249)]);break;}case _0x443956[_0x35d58b(0x1f7)]:{this[_0x35d58b(0x221)][_0x35d58b(0x254)](_0x9777d0,_0x162641,{'commentId':_0x3ae143[_0x35d58b(0x249)],'text':JSON[_0x35d58b(0x1f8)](_0x3ae143[_0x35d58b(0x1fc)])});break;}case _0x443956[_0x35d58b(0x259)]:{const _0xb9a688=(_0x402341=this[_0x35d58b(0x221)][_0x35d58b(0x1fb)](_0x3ae143[_0x35d58b(0x23e)])[_0x35d58b(0x21a)](_0x339989=>_0x339989[_0x35d58b(0x1e5)]===_0x3ae143[_0x35d58b(0x1e5)]))==null?void 0x0:_0x402341[_0x35d58b(0x24e)];_0xb9a688&&this['_threadCommentModel'][_0x35d58b(0x218)](_0x9777d0,_0x162641,_0xb9a688['id'],_0x3ae143[_0x35d58b(0x1f3)]===_0x13f869[_0x35d58b(0x245)]);break;}}}));}};_0x2288d2=_0x4769a7([_0x55f2a7(0x0,_0x51f1ce[_0x1a2c97(0x24b)](_0x48730e[_0x1a2c97(0x21c)])),_0x55f2a7(0x1,_0x51f1ce[_0x1a2c97(0x24b)](_0x3116cc[_0x1a2c97(0x231)])),_0x55f2a7(0x2,_0x51f1ce[_0x1a2c97(0x24b)](_0x51f1ce[_0x1a2c97(0x238)])),_0x55f2a7(0x3,_0x51f1ce[_0x1a2c97(0x24b)](_0x51f1ce[_0x1a2c97(0x205)]))],_0x2288d2);const _0x1b11ea=_0x1a2c97(0x20a),_0x17d85b={};var _0x3f2b2e=Object[_0x1a2c97(0x226)],_0x3b5b49=(_0x5c01d2,_0x51cd31,_0x477161,_0x4525ec)=>{for(var _0x431eae=_0x4525ec>0x1?void 0x0:_0x4525ec?_0x3f2b2e(_0x51cd31,_0x477161):_0x51cd31,_0x3ec7c5=_0x5c01d2['length']-0x1,_0x37f91b;_0x3ec7c5>=0x0;_0x3ec7c5--)(_0x37f91b=_0x5c01d2[_0x3ec7c5])&&(_0x431eae=_0x37f91b(_0x431eae)||_0x431eae);return _0x431eae;},_0x3ee83a=(_0x45bc21,_0x5e5d50)=>(_0x2f6303,_0x344025)=>_0x5e5d50(_0x2f6303,_0x344025,_0x45bc21);function _0x13a7e1(_0x2b089f,_0x100003){const _0x372554=_0x1a2c97,_0x19682b=_0x2b089f['replies'][0x0];return{..._0x100003,'id':_0x19682b[_0x372554(0x249)],'resolved':_0x2b089f['solved']===0x1,'dT':_0x13c44b(_0x19682b[_0x372554(0x211)]),'personId':_0x19682b['userId'],'threadId':_0x19682b['threadId']};}function _0x30f5e3(_0x3ec4ec,_0x4d2775,_0x53e33b){const _0x22d8e0=_0x1a2c97;var _0xb7cc72,_0x45b8ee;if(((_0x45b8ee=(_0xb7cc72=_0x3ec4ec==null?void 0x0:_0x3ec4ec[_0x22d8e0(0x1dc)])==null?void 0x0:_0xb7cc72[_0x22d8e0(0x1eb)])!=null?_0x45b8ee:0x0)>0x0){const _0x3e03c6=(_0x626dcd,_0x5f4749)=>({'id':_0x626dcd[_0x22d8e0(0x249)],'threadId':_0x626dcd['threadId'],'dT':_0x13c44b(_0x626dcd['createTimestamp']),'personId':_0x626dcd[_0x22d8e0(0x234)],'resolved':_0x3ec4ec[_0x22d8e0(0x1f3)]===_0x13f869['Solved'],'unitId':_0x4d2775,'subUnitId':_0x53e33b,'text':JSON['parse'](_0x626dcd[_0x22d8e0(0x1fc)]),'parentId':_0x5f4749}),_0xf39ba9=_0x3e03c6(_0x3ec4ec[_0x22d8e0(0x1dc)][0x0]);return{..._0xf39ba9,'children':_0x3ec4ec[_0x22d8e0(0x1dc)]['slice'](0x1)[_0x22d8e0(0x201)](_0x446fce=>_0x3e03c6(_0x446fce,_0xf39ba9['id']))};}return null;}let _0x1926c=class{constructor(_0x2b868d,_0x1f5994,_0x14c208){const _0x28bba1=_0x1a2c97;this[_0x28bba1(0x230)]=_0x2b868d,this[_0x28bba1(0x261)]=_0x1f5994,this[_0x28bba1(0x1e9)]=_0x14c208;}async[_0x1a2c97(0x247)](_0x4c2c67){const _0x2961c8=_0x1a2c97;var _0x11fb08,_0x308efc;const {parentId:_0x56e590,unitId:_0x29cc89,text:_0x193c83,threadId:_0x104575}=_0x4c2c67,_0x468b30=(_0x308efc=(_0x11fb08=_0x193c83['customRanges'])==null?void 0x0:_0x11fb08[_0x2961c8(0x253)](_0x37ae8e=>_0x37ae8e[_0x2961c8(0x214)]===_0x51f1ce[_0x2961c8(0x219)][_0x2961c8(0x1ea)])['map'](_0x56149f=>_0x56149f[_0x2961c8(0x207)]))!=null?_0x308efc:[],_0x2990fc=JSON[_0x2961c8(0x220)](_0x193c83),_0x5db062=(await this[_0x2961c8(0x1e9)][_0x2961c8(0x25b)](_0x29cc89))[_0x2961c8(0x1f0)]();if(_0x56e590){const _0x2abe2e={'memberId':_0x5db062,'unitId':_0x29cc89,'content':_0x2990fc,'mention':_0x468b30,'threadId':_0x104575},_0x46185c=(await this[_0x2961c8(0x230)][_0x2961c8(0x1e1)](_0x2961c8(0x251)+_0x29cc89+'/reply',{'body':_0x2abe2e}))[_0x2961c8(0x23a)][_0x2961c8(0x208)];return{..._0x4c2c67,'id':_0x46185c[_0x2961c8(0x249)],'dT':_0x51f1ce[_0x2961c8(0x206)](+_0x46185c[_0x2961c8(0x211)])[_0x2961c8(0x200)]('YYYY/MM/DD\x20HH:mm'),'personId':_0x46185c[_0x2961c8(0x234)]};}else{const _0x40440a={'memberId':_0x5db062,'unitId':_0x29cc89,'content':_0x2990fc,'mention':_0x468b30},_0x6c384a=await this[_0x2961c8(0x230)][_0x2961c8(0x1e1)]('/universer-api/comment/unit/'+_0x29cc89+_0x2961c8(0x250),{'body':_0x40440a});return _0x13a7e1(_0x6c384a[_0x2961c8(0x23a)][_0x2961c8(0x1e7)],_0x4c2c67);}}async['updateComment'](_0x579cc7){const _0x317ba0=_0x1a2c97;var _0x838240,_0x51e1ab;const {text:_0x36e6a2,unitId:_0x2f9c34}=_0x579cc7,_0x57e97a=(_0x51e1ab=(_0x838240=_0x36e6a2['customRanges'])==null?void 0x0:_0x838240[_0x317ba0(0x253)](_0x69ffa3=>_0x69ffa3[_0x317ba0(0x214)]===_0x51f1ce[_0x317ba0(0x219)][_0x317ba0(0x1ea)])[_0x317ba0(0x201)](_0x36fe79=>_0x36fe79['rangeId']))!=null?_0x51e1ab:[],_0x56bfe0=JSON[_0x317ba0(0x220)](_0x36e6a2),_0x3191a2=_0x579cc7['threadId'],_0x1025be=_0x579cc7['id'],_0x16996d={'memberId':(await this[_0x317ba0(0x1e9)][_0x317ba0(0x25b)](_0x2f9c34))[_0x317ba0(0x1f0)](),'unitId':_0x2f9c34,'threadId':_0x3191a2,'mention':_0x57e97a,'content':_0x56bfe0,'replyId':_0x1025be},_0x4b6aa5=await this[_0x317ba0(0x230)][_0x317ba0(0x1e1)](_0x317ba0(0x251)+_0x2f9c34+'/edit',{'body':_0x16996d});return!_0x4b6aa5[_0x317ba0(0x23a)][_0x317ba0(0x22e)]||_0x4b6aa5[_0x317ba0(0x23a)][_0x317ba0(0x22e)][_0x317ba0(0x25d)]===0x1;}async[_0x1a2c97(0x218)](_0x23fad0){const _0x246358=_0x1a2c97,{unitId:_0x5a2a25}=_0x23fad0,_0x527c49=_0x23fad0[_0x246358(0x1e5)],_0x11c201={'memberId':this[_0x246358(0x261)][_0x246358(0x1fa)]()[_0x246358(0x248)],'unitId':_0x5a2a25,'threadId':_0x527c49,'solved':_0x23fad0[_0x246358(0x244)]?_0x13f869[_0x246358(0x245)]:_0x13f869['OpenOrReOpen']},_0x728b6d=await this[_0x246358(0x230)][_0x246358(0x1e1)](_0x246358(0x251)+_0x5a2a25+_0x246358(0x23f),{'body':_0x11c201});return!_0x728b6d[_0x246358(0x23a)][_0x246358(0x22e)]||_0x728b6d[_0x246358(0x23a)][_0x246358(0x22e)][_0x246358(0x25d)]===0x1;}async['deleteComment'](_0x2193e1,_0x82303a,_0x12a3f4,_0x570ae4){const _0x36ac16=_0x1a2c97,_0x36f1d9={'memberId':(await this[_0x36ac16(0x1e9)]['requireSession'](_0x2193e1))['getMemberID'](),'threadId':_0x12a3f4,'replyId':_0x570ae4,'unitId':_0x2193e1},_0x917da8=await this[_0x36ac16(0x230)][_0x36ac16(0x1e1)](_0x36ac16(0x251)+_0x2193e1+_0x36ac16(0x25c),{'body':_0x36f1d9});return!_0x917da8['body']['error']||_0x917da8[_0x36ac16(0x23a)]['error'][_0x36ac16(0x25d)]===0x1;}async[_0x1a2c97(0x1e2)](_0x139ac5,_0x31255e,_0x423c2e){const _0x3211a0=_0x1a2c97,_0x2cebc1={'unitId':_0x139ac5,'threadId':_0x423c2e},_0x36059f=await this['_httpService'][_0x3211a0(0x1e1)](_0x3211a0(0x251)+_0x139ac5+_0x3211a0(0x20c),{'body':_0x2cebc1}),_0x39d4e7=_0x423c2e[_0x3211a0(0x201)](_0x2dfa3e=>_0x30f5e3(_0x36059f[_0x3211a0(0x23a)]['comments'][_0x2dfa3e],_0x139ac5,_0x31255e))['filter'](Boolean);return Object[_0x3211a0(0x224)](_0x36059f[_0x3211a0(0x23a)][_0x3211a0(0x241)])[_0x3211a0(0x1f2)](_0x4d4fe0=>{this['_userService']['addUser'](_0x4d4fe0);}),_0x39d4e7;}[_0x1a2c97(0x212)](_0x210f96){const _0x477a3d=_0x1a2c97;return{'id':_0x210f96['id'],'threadId':_0x210f96[_0x477a3d(0x1e5)],'ref':_0x210f96[_0x477a3d(0x260)]};}};_0x1926c=_0x3b5b49([_0x3ee83a(0x0,_0x51f1ce[_0x1a2c97(0x24b)](_0x1d31a5['HTTPService'])),_0x3ee83a(0x1,_0x51f1ce[_0x1a2c97(0x24b)](_0x51f1ce[_0x1a2c97(0x238)])),_0x3ee83a(0x2,_0x51f1ce[_0x1a2c97(0x24b)](_0x48730e[_0x1a2c97(0x21e)]))],_0x1926c);var _0x3ce6d5=Object[_0x1a2c97(0x226)],_0x12f4fe=(_0x12b346,_0xcd7d65,_0x5e65d4,_0x167f8c)=>{const _0x4acf42=_0x1a2c97;for(var _0x3dac18=_0x167f8c>0x1?void 0x0:_0x167f8c?_0x3ce6d5(_0xcd7d65,_0x5e65d4):_0xcd7d65,_0x9d3732=_0x12b346[_0x4acf42(0x1eb)]-0x1,_0x4b138a;_0x9d3732>=0x0;_0x9d3732--)(_0x4b138a=_0x12b346[_0x9d3732])&&(_0x3dac18=_0x4b138a(_0x3dac18)||_0x3dac18);return _0x3dac18;},_0x5dabd6=(_0x1d05cd,_0xbea482)=>(_0x10cae9,_0x48c9d0)=>_0xbea482(_0x10cae9,_0x48c9d0,_0x1d05cd);let _0x356c68=class extends _0x51f1ce['Disposable']{constructor(_0x1ae278,_0x418ab2){const _0x462bc9=_0x1a2c97;super(),this[_0x462bc9(0x237)]=_0x1ae278,this[_0x462bc9(0x22f)]=_0x418ab2,this[_0x462bc9(0x1f5)]();}[_0x1a2c97(0x1f5)](){const _0x364006=_0x1a2c97;this[_0x364006(0x237)][_0x364006(0x21d)]=this[_0x364006(0x22f)],this[_0x364006(0x237)][_0x364006(0x25e)]=!0x1;}};_0x356c68=_0x12f4fe([_0x5dabd6(0x0,_0x3116cc[_0x1a2c97(0x22b)]),_0x5dabd6(0x1,_0x51f1ce['Inject'](_0x1926c))],_0x356c68);var _0x195e25=Object[_0x1a2c97(0x1e6)],_0x1abf75=Object['getOwnPropertyDescriptor'],_0x4af672=(_0x1674c1,_0x9ca87a,_0x35f8f5)=>_0x9ca87a in _0x1674c1?_0x195e25(_0x1674c1,_0x9ca87a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35f8f5}):_0x1674c1[_0x9ca87a]=_0x35f8f5,_0x393f43=(_0x2f4a92,_0x51cd25,_0x46a989,_0x38091c)=>{const _0x1e22e7=_0x1a2c97;for(var _0x532d57=_0x38091c>0x1?void 0x0:_0x38091c?_0x1abf75(_0x51cd25,_0x46a989):_0x51cd25,_0x5af336=_0x2f4a92[_0x1e22e7(0x1eb)]-0x1,_0x4e6ca9;_0x5af336>=0x0;_0x5af336--)(_0x4e6ca9=_0x2f4a92[_0x5af336])&&(_0x532d57=_0x4e6ca9(_0x532d57)||_0x532d57);return _0x532d57;},_0x4705d0=(_0x4de153,_0x37fc4f)=>(_0x5cc98b,_0x4e83d7)=>_0x37fc4f(_0x5cc98b,_0x4e83d7,_0x4de153),_0x41b3b2=(_0x8a94e2,_0x4ba0b8,_0xc17b0c)=>_0x4af672(_0x8a94e2,typeof _0x4ba0b8!=_0x1a2c97(0x1ed)?_0x4ba0b8+'':_0x4ba0b8,_0xc17b0c);_0x4fcfbd[_0x1a2c97(0x229)]=class extends _0x51f1ce[_0x1a2c97(0x227)]{constructor(_0x27bec4=_0x17d85b,_0x525f32,_0x1f9038){const _0xd74acd=_0x1a2c97;super(),this[_0xd74acd(0x210)]=_0x27bec4,this[_0xd74acd(0x1ec)]=_0x525f32,this[_0xd74acd(0x232)]=_0x1f9038;const {..._0x29d66a}=_0x51f1ce[_0xd74acd(0x213)]({},_0x17d85b,this[_0xd74acd(0x210)]);this[_0xd74acd(0x232)]['setConfig'](_0x1b11ea,_0x29d66a);}[_0x1a2c97(0x233)](){const _0x550641=_0x1a2c97;[[_0x1926c],[_0x356c68],[_0x2288d2]][_0x550641(0x1f2)](_0x2441ae=>{const _0x476e8e=_0x550641;this[_0x476e8e(0x1ec)][_0x476e8e(0x239)](_0x2441ae);});}['onReady'](){const _0x27adba=_0x1a2c97;this['_injector'][_0x27adba(0x1f1)](_0x356c68),this[_0x27adba(0x1ec)][_0x27adba(0x1f1)](_0x2288d2);}},_0x41b3b2(_0x4fcfbd['UniverThreadCommentDataSourcePlugin'],_0x1a2c97(0x24a),_0x23c63d),_0x41b3b2(_0x4fcfbd[_0x1a2c97(0x229)],'type',_0x51f1ce['UniverInstanceType'][_0x1a2c97(0x223)]),_0x4fcfbd['UniverThreadCommentDataSourcePlugin']=_0x393f43([_0x51f1ce[_0x1a2c97(0x1ee)](_0x39556f[_0x1a2c97(0x21b)],_0x48730e[_0x1a2c97(0x256)],_0x10a353['UniverLicensePlugin']),_0x4705d0(0x1,_0x51f1ce[_0x1a2c97(0x24b)](_0x51f1ce[_0x1a2c97(0x205)])),_0x4705d0(0x2,_0x51f1ce[_0x1a2c97(0x262)])],_0x4fcfbd[_0x1a2c97(0x229)]),Object[_0x1a2c97(0x1e6)](_0x4fcfbd,Symbol[_0x1a2c97(0x25f)],{'value':_0x1a2c97(0x1f4)});}));function _0x2056(_0x50def5,_0x2cb167){_0x50def5=_0x50def5-0x1dc;const _0x5a9383=_0x5a93();let _0x20566a=_0x5a9383[_0x50def5];return _0x20566a;}function _0x5a93(){const _0x482587=['getMemberID','get','forEach','solved','Module','_initDataSource','888078CEikrH','Edit','parse','amd','getCurrentUser','getUnit','content','personId','OpenOrReOpen','Add','format','map','14riVSlJ','UniverProCollaborationClient','pipe','Injector','dayjs','rangeId','reply','_init','thread-comment-data-source.config','object','/list','delete','@univerjs/thread-comment-ui','disposeWithMe','_config','createTimestamp','saveCommentToSnapshot','merge','rangeType','_initUserSync','UniverProThreadCommentDatasource','@univerjs/core','resolveComment','CustomRangeType','find','UniverThreadCommentUIPlugin','CommentService','dataSource','CollaborationSessionService','5102628OGhSUk','stringify','_threadCommentModel','UNRECOGNIZED','UNIVER_UNKNOWN','values','size','getOwnPropertyDescriptor','Plugin','exports','UniverThreadCommentDataSourcePlugin','subscribe','IThreadCommentDataSourceService','/universer-api/user/list','user','error','_threadCommentDataSource','_httpService','ThreadCommentModel','_configService','onStarting','userId','addUser','getComment','_threadCommentDataSourceService','UserManagerService','add','body','Unknown','commentUpdate$','Delete','unitId','/solved','type','users','UniverCore','Disposable','resolved','Solved','7021242BUjXrC','addComment','userID','replyId','pluginName','Inject','rxjs','YYYY/MM/DD\x20HH:mm','root','2108220HQXZhu','/add','/universer-api/comment/unit/','_commentService','filter','updateComment','@univerjs/network','UniverCollaborationClientPlugin','parentId','105035FyfRSI','Solve','1459976cGfnKk','requireSession','/delete','code','syncUpdateMutationToColla','toStringTag','ref','_userService','IConfigService','getUser','replies','@univerjs/thread-comment','9ADkClC','function','@univerjs-pro/collaboration-client','post','listComments','UniverNetwork','16flYhee','threadId','defineProperty','comment','Reply','_sessionService','COMMENT','length','_injector','symbol','DependentOn','3375192MpjEat'];_0x5a93=function(){return _0x482587;};return _0x5a93();}
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- (function(_0x3b7e5a,_0x35e878){const _0x2123c0=_0x45b1,_0x2d33a3=_0x3b7e5a();while(!![]){try{const _0x3b5d60=-parseInt(_0x2123c0(0x2b5))/0x1+parseInt(_0x2123c0(0xf8))/0x2+parseInt(_0x2123c0(0xfe))/0x3*(parseInt(_0x2123c0(0x272))/0x4)+-parseInt(_0x2123c0(0x2d0))/0x5+-parseInt(_0x2123c0(0x26d))/0x6+-parseInt(_0x2123c0(0x13c))/0x7*(parseInt(_0x2123c0(0x1bd))/0x8)+-parseInt(_0x2123c0(0x163))/0x9*(-parseInt(_0x2123c0(0x23d))/0xa);if(_0x3b5d60===_0x35e878)break;else _0x2d33a3['push'](_0x2d33a3['shift']());}catch(_0x5b20b6){_0x2d33a3['push'](_0x2d33a3['shift']());}}}(_0x4c0b,0x7eeb5),function(_0x45ca89,_0x28883b){const _0x320206=_0x45b1;typeof exports==_0x320206(0x249)&&typeof module<'u'?_0x28883b(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x320206(0x248)&&define['amd']?define([_0x320206(0x304),_0x320206(0x2b9),_0x320206(0xf5),_0x320206(0x1b8),_0x320206(0x1fb),'@univerjs/engine-render',_0x320206(0x2d5),_0x320206(0x31c),_0x320206(0x17c),_0x320206(0x159),_0x320206(0x2ff),_0x320206(0x277),'@univerjs-pro/sheets-chart',_0x320206(0x20f),_0x320206(0x2c6),'@univerjs/sheets-conditional-formatting',_0x320206(0x1d4),_0x320206(0x1bf),'react','@univerjs-pro/collaboration-client-ui'],_0x28883b):(_0x45ca89=typeof globalThis<'u'?globalThis:_0x45ca89||self,_0x28883b(_0x45ca89['UniverProEditHistoryViewer']={},_0x45ca89[_0x320206(0x230)],_0x45ca89[_0x320206(0x2d6)],_0x45ca89['UniverCore'],_0x45ca89[_0x320206(0x1a9)],_0x45ca89['UniverEngineRender'],_0x45ca89[_0x320206(0x183)],_0x45ca89['UniverSheetsUi'],_0x45ca89['UniverUi'],_0x45ca89[_0x320206(0x121)],_0x45ca89[_0x320206(0x2e8)],_0x45ca89[_0x320206(0x277)],_0x45ca89[_0x320206(0x12d)],_0x45ca89[_0x320206(0x1ed)],_0x45ca89[_0x320206(0x31b)],_0x45ca89[_0x320206(0x21b)],_0x45ca89[_0x320206(0x181)],_0x45ca89[_0x320206(0x327)],_0x45ca89[_0x320206(0x327)],_0x45ca89[_0x320206(0x324)]));}(this,function(_0x22872a,_0x2f81c0,_0x317887,_0x453f4e,_0x3b78c9,_0x20176a,_0x210f5e,_0x11d4cb,_0x222485,_0x63f929,_0x4f5e86,_0x511bc8,_0x3efa96,_0xd14e4f,_0x3a60c2,_0x244972,_0x18856f,_0x4058c4,_0x520025,_0x974a8c){'use strict';const _0x426336=_0x45b1;var _0x12e9ab=Object[_0x426336(0x114)],_0x26f8b2=(_0x3cbbd9,_0xa87e35,_0x938b55)=>_0xa87e35 in _0x3cbbd9?_0x12e9ab(_0x3cbbd9,_0xa87e35,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x938b55}):_0x3cbbd9[_0xa87e35]=_0x938b55,_0x3e8d0c=(_0x16e0b5,_0x48190d,_0x8186c0)=>_0x26f8b2(_0x16e0b5,typeof _0x48190d!='symbol'?_0x48190d+'':_0x48190d,_0x8186c0);const _0x1572c4=_0x426336(0x12c),_0x2b868b={};var _0x2d0c48=Object[_0x426336(0x2d1)],_0x569a5e=(_0x4dc3e0,_0x215b7d,_0x34afe3,_0x1aa725)=>{const _0x11e40a=_0x426336;for(var _0x3b7cfa=_0x1aa725>0x1?void 0x0:_0x1aa725?_0x2d0c48(_0x215b7d,_0x34afe3):_0x215b7d,_0x1e11be=_0x4dc3e0[_0x11e40a(0x156)]-0x1,_0x2e537b;_0x1e11be>=0x0;_0x1e11be--)(_0x2e537b=_0x4dc3e0[_0x1e11be])&&(_0x3b7cfa=_0x2e537b(_0x3b7cfa)||_0x3b7cfa);return _0x3b7cfa;},_0x25ab85=(_0x58d1d1,_0x401af0)=>(_0x2ccfb7,_0x13389e)=>_0x401af0(_0x2ccfb7,_0x13389e,_0x58d1d1);let _0x48988f=class extends _0x453f4e['Disposable']{constructor(_0x318035){const _0x3ec1c0=_0x426336;super(),this['_cellEditorManagerService']=_0x318035,this[_0x3ec1c0(0x335)]();}[_0x426336(0x335)](){const _0x2f43c5=_0x426336;this['disposeWithMe'](this['_cellEditorManagerService'][_0x2f43c5(0x1f2)][_0x2f43c5(0x218)](_0x87e728=>{const _0x3da2e8=_0x2f43c5;_0x87e728!=null&&_0x87e728[_0x3da2e8(0x33f)]&&this[_0x3da2e8(0x2dc)]['setState']({'show':!0x1});}));}};_0x48988f=_0x569a5e([_0x25ab85(0x0,_0x11d4cb[_0x426336(0x24b)])],_0x48988f);var _0x425752=(_0x2239fb=>(_0x2239fb[_0x2239fb[_0x426336(0x250)]=0x0]=_0x426336(0x250),_0x2239fb[_0x2239fb['OK']=0x1]='OK',_0x2239fb[_0x2239fb[_0x426336(0x148)]=0x2]=_0x426336(0x148),_0x2239fb[_0x2239fb[_0x426336(0x188)]=0x3]='PERMISSION_DENIED',_0x2239fb[_0x2239fb[_0x426336(0x323)]=0x4]='NOT_FOUND',_0x2239fb[_0x2239fb[_0x426336(0x190)]=0x5]='UNAUTHENTICATED',_0x2239fb[_0x2239fb[_0x426336(0x310)]=0x6]=_0x426336(0x310),_0x2239fb[_0x2239fb[_0x426336(0x32e)]=0x7]=_0x426336(0x32e),_0x2239fb[_0x2239fb[_0x426336(0x2e9)]=0x8]='TOO_MANY_REQUESTS',_0x2239fb[_0x2239fb[_0x426336(0x197)]=0x9]=_0x426336(0x197),_0x2239fb[_0x2239fb[_0x426336(0x19e)]=0xa]='LOGIN_FAILED',_0x2239fb[_0x2239fb[_0x426336(0x127)]=0xb]=_0x426336(0x127),_0x2239fb[_0x2239fb[_0x426336(0x339)]=0xc]=_0x426336(0x339),_0x2239fb[_0x2239fb['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x426336(0x135),_0x2239fb[_0x2239fb[_0x426336(0x21c)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2239fb[_0x2239fb['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2239fb[_0x2239fb[_0x426336(0x1a5)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x2239fb[_0x2239fb[_0x426336(0x34e)]=0x64]=_0x426336(0x34e),_0x2239fb[_0x2239fb[_0x426336(0x2e1)]=0x65]=_0x426336(0x2e1),_0x2239fb[_0x2239fb[_0x426336(0x228)]=0xc9]='USER_NOT_FOUND',_0x2239fb[_0x2239fb[_0x426336(0x153)]=0xca]=_0x426336(0x153),_0x2239fb[_0x2239fb['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2239fb[_0x2239fb[_0x426336(0x1bb)]=0x1771]=_0x426336(0x1bb),_0x2239fb[_0x2239fb[_0x426336(0x291)]=0x1772]=_0x426336(0x291),_0x2239fb[_0x2239fb[_0x426336(0x267)]=0x1773]=_0x426336(0x267),_0x2239fb[_0x2239fb[_0x426336(0x33a)]=0x1b59]=_0x426336(0x33a),_0x2239fb[_0x2239fb[_0x426336(0x11c)]=0x1b5a]=_0x426336(0x11c),_0x2239fb[_0x2239fb[_0x426336(0x102)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2239fb[_0x2239fb[_0x426336(0x1b0)]=0x1b5c]=_0x426336(0x1b0),_0x2239fb[_0x2239fb[_0x426336(0x103)]=0x1b5d]=_0x426336(0x103),_0x2239fb[_0x2239fb[_0x426336(0x32d)]=0x1f41]=_0x426336(0x32d),_0x2239fb[_0x2239fb[_0x426336(0x136)]=0x2329]=_0x426336(0x136),_0x2239fb[_0x2239fb[_0x426336(0x155)]=0x232a]=_0x426336(0x155),_0x2239fb[_0x2239fb['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x426336(0x1c3),_0x2239fb[_0x2239fb[_0x426336(0x203)]=0x232c]=_0x426336(0x203),_0x2239fb[_0x2239fb[_0x426336(0xfb)]=0x232d]=_0x426336(0xfb),_0x2239fb[_0x2239fb[_0x426336(0x28a)]=0x2711]=_0x426336(0x28a),_0x2239fb[_0x2239fb['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x426336(0x2c7),_0x2239fb[_0x2239fb[_0x426336(0x338)]=0x2713]=_0x426336(0x338),_0x2239fb[_0x2239fb[_0x426336(0x343)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2239fb[_0x2239fb[_0x426336(0x25f)]=0x271a]=_0x426336(0x25f),_0x2239fb[_0x2239fb['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2239fb[_0x2239fb[_0x426336(0x20e)]=0x271c]=_0x426336(0x20e),_0x2239fb[_0x2239fb[_0x426336(0x1d1)]=0x271d]=_0x426336(0x1d1),_0x2239fb[_0x2239fb[_0x426336(0x180)]=0x271e]=_0x426336(0x180),_0x2239fb[_0x2239fb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x426336(0x27c),_0x2239fb[_0x2239fb[_0x426336(0x20c)]=0x2720]=_0x426336(0x20c),_0x2239fb[_0x2239fb[_0x426336(0x16a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2239fb[_0x2239fb[_0x426336(0x104)]=0x2ee1]=_0x426336(0x104),_0x2239fb[_0x2239fb['INVALID_INVITE_CODE']=0x2ee2]=_0x426336(0xf6),_0x2239fb[_0x2239fb[_0x426336(0x2c4)]=0x2ee3]=_0x426336(0x2c4),_0x2239fb[_0x2239fb[_0x426336(0x22f)]=0x2ee4]=_0x426336(0x22f),_0x2239fb[_0x2239fb['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2239fb[_0x2239fb['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2239fb[_0x2239fb['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x426336(0x2a3),_0x2239fb[_0x2239fb[_0x426336(0x194)]=0x32cb]=_0x426336(0x194),_0x2239fb[_0x2239fb[_0x426336(0x201)]=0x36b1]=_0x426336(0x201),_0x2239fb[_0x2239fb[_0x426336(0x10e)]=0x36b2]=_0x426336(0x10e),_0x2239fb[_0x2239fb[_0x426336(0x10b)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x2239fb[_0x2239fb[_0x426336(0x184)]=0x36b4]=_0x426336(0x184),_0x2239fb[_0x2239fb[_0x426336(0x24e)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2239fb[_0x2239fb[_0x426336(0x217)]=0x36b6]=_0x426336(0x217),_0x2239fb[_0x2239fb[_0x426336(0x1cd)]=0x36b7]=_0x426336(0x1cd),_0x2239fb[_0x2239fb[_0x426336(0x29a)]=0x36b8]=_0x426336(0x29a),_0x2239fb[_0x2239fb[_0x426336(0x142)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2239fb[_0x2239fb[_0x426336(0x276)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2239fb[_0x2239fb['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2239fb[_0x2239fb[_0x426336(0x131)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2239fb[_0x2239fb[_0x426336(0x15c)]=0x3a99]=_0x426336(0x15c),_0x2239fb[_0x2239fb[_0x426336(0x1b5)]=0x3a9a]=_0x426336(0x1b5),_0x2239fb[_0x2239fb['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x426336(0x108),_0x2239fb[_0x2239fb['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x426336(0x16e),_0x2239fb[_0x2239fb[_0x426336(0x245)]=0x3a9d]=_0x426336(0x245),_0x2239fb[_0x2239fb[_0x426336(0x269)]=0x3a9e]=_0x426336(0x269),_0x2239fb[_0x2239fb[_0x426336(0x2bb)]=0x3a9f]=_0x426336(0x2bb),_0x2239fb[_0x2239fb[_0x426336(0x1a7)]=0x3e81]=_0x426336(0x1a7),_0x2239fb[_0x2239fb['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2239fb))(_0x425752||{}),_0x30dc77=(_0x414dc5=>(_0x414dc5[_0x414dc5['UNIVER_UNKNOWN']=0x0]=_0x426336(0x1d8),_0x414dc5[_0x414dc5[_0x426336(0x15b)]=0x1]=_0x426336(0x15b),_0x414dc5[_0x414dc5['UNIVER_SHEET']=0x2]=_0x426336(0x152),_0x414dc5[_0x414dc5['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x414dc5[_0x414dc5['UNIVER_PROJECT']=0x4]=_0x426336(0x300),_0x414dc5[_0x414dc5[_0x426336(0x313)]=-0x1]=_0x426336(0x313),_0x414dc5))(_0x30dc77||{}),_0x949573=(_0x65b3c2=>(_0x65b3c2[_0x65b3c2[_0x426336(0x149)]=0x0]=_0x426336(0x149),_0x65b3c2[_0x65b3c2[_0x426336(0x268)]=0x1]=_0x426336(0x268),_0x65b3c2[_0x65b3c2[_0x426336(0x14d)]=0x2]=_0x426336(0x14d),_0x65b3c2[_0x65b3c2[_0x426336(0x1c4)]=0x3]=_0x426336(0x1c4),_0x65b3c2[_0x65b3c2['Duplicate']=0x4]=_0x426336(0x239),_0x65b3c2[_0x65b3c2[_0x426336(0x346)]=0x5]=_0x426336(0x346),_0x65b3c2[_0x65b3c2[_0x426336(0x192)]=0x6]=_0x426336(0x192),_0x65b3c2[_0x65b3c2['Share']=0x7]='Share',_0x65b3c2[_0x65b3c2['Export']=0x8]=_0x426336(0x20b),_0x65b3c2[_0x65b3c2[_0x426336(0x1da)]=0x9]=_0x426336(0x1da),_0x65b3c2[_0x65b3c2[_0x426336(0x246)]=0xa]='DeleteWorksheet',_0x65b3c2[_0x65b3c2[_0x426336(0x2fb)]=0xb]=_0x426336(0x2fb),_0x65b3c2[_0x65b3c2['RenameWorksheet']=0xc]=_0x426336(0x32c),_0x65b3c2[_0x65b3c2[_0x426336(0x1a6)]=0xd]=_0x426336(0x1a6),_0x65b3c2[_0x65b3c2[_0x426336(0x22c)]=0xe]=_0x426336(0x22c),_0x65b3c2[_0x65b3c2[_0x426336(0x161)]=0xf]=_0x426336(0x161),_0x65b3c2[_0x65b3c2['InsertHyperlink']=0x10]=_0x426336(0x1ce),_0x65b3c2[_0x65b3c2[_0x426336(0x24c)]=0x11]='Sort',_0x65b3c2[_0x65b3c2[_0x426336(0x2e2)]=0x12]='Filter',_0x65b3c2[_0x65b3c2[_0x426336(0x258)]=0x13]=_0x426336(0x258),_0x65b3c2[_0x65b3c2['FloatImg']=0x14]=_0x426336(0x119),_0x65b3c2[_0x65b3c2[_0x426336(0x30d)]=0x15]=_0x426336(0x30d),_0x65b3c2[_0x65b3c2[_0x426336(0x319)]=0x16]=_0x426336(0x319),_0x65b3c2[_0x65b3c2['ViemRwHgtClWdt']=0x17]=_0x426336(0x15f),_0x65b3c2[_0x65b3c2[_0x426336(0x23e)]=0x18]='ViewFilter',_0x65b3c2[_0x65b3c2['MoveSheet']=0x19]=_0x426336(0x158),_0x65b3c2[_0x65b3c2['DeleteSheet']=0x1a]=_0x426336(0x31d),_0x65b3c2[_0x65b3c2[_0x426336(0x30b)]=0x1b]='HideSheet',_0x65b3c2[_0x65b3c2[_0x426336(0x206)]=0x1c]='CopySheet',_0x65b3c2[_0x65b3c2['RenameSheet']=0x1d]=_0x426336(0x242),_0x65b3c2[_0x65b3c2['CreateSheet']=0x1e]=_0x426336(0x126),_0x65b3c2[_0x65b3c2[_0x426336(0x24d)]=0x1f]='SelectProtectedCells',_0x65b3c2[_0x65b3c2['SelectUnProtectedCells']=0x20]=_0x426336(0x222),_0x65b3c2[_0x65b3c2[_0x426336(0x137)]=0x21]=_0x426336(0x137),_0x65b3c2[_0x65b3c2[_0x426336(0x303)]=0x22]=_0x426336(0x303),_0x65b3c2[_0x65b3c2[_0x426336(0x105)]=0x23]=_0x426336(0x105),_0x65b3c2[_0x65b3c2[_0x426336(0x341)]=0x24]=_0x426336(0x341),_0x65b3c2[_0x65b3c2[_0x426336(0x200)]=0x25]='InsertRow',_0x65b3c2[_0x65b3c2['InsertColumn']=0x26]='InsertColumn',_0x65b3c2[_0x65b3c2[_0x426336(0x154)]=0x27]=_0x426336(0x154),_0x65b3c2[_0x65b3c2['DeleteColumn']=0x28]='DeleteColumn',_0x65b3c2[_0x65b3c2['EditExtraObject']=0x29]=_0x426336(0x2c2),_0x65b3c2[_0x65b3c2[_0x426336(0x1a8)]=0x2a]=_0x426336(0x1a8),_0x65b3c2[_0x65b3c2[_0x426336(0x292)]=0x2b]=_0x426336(0x292),_0x65b3c2[_0x65b3c2[_0x426336(0x286)]=0x2c]=_0x426336(0x286),_0x65b3c2[_0x65b3c2[_0x426336(0x2c1)]=0x2d]=_0x426336(0x2c1),_0x65b3c2[_0x65b3c2[_0x426336(0x313)]=-0x1]='UNRECOGNIZED',_0x65b3c2))(_0x949573||{});function _0x68df56(_0x22d0e5){const _0x122901=_0x426336;return!!(_0x22d0e5&&_0x22d0e5['code']&&_0x22d0e5[_0x122901(0x2a4)]!==_0x425752['OK']&&_0x22d0e5[_0x122901(0x2a4)]!=='OK');}const _0x3beab7=(_0x1b7086,_0x3184a7)=>{const _0x3882cf=_0x426336;if(!_0x1b7086)return{'date':'','time':''};const _0xa3afb4=new Date(_0x1b7086),_0x18df6d=_0xa3afb4[_0x3882cf(0x232)]()[_0x3882cf(0x1eb)]('T')[0x0];switch(_0x3184a7){case _0x453f4e[_0x3882cf(0x24f)][_0x3882cf(0x2b7)]:return{'date':_0x28c3bd(_0x18df6d,_0x3184a7),'time':_0xa3afb4[_0x3882cf(0x2ee)]()+':'+String(_0xa3afb4[_0x3882cf(0x325)]())[_0x3882cf(0x2a6)](0x2,'0')+':'+String(_0xa3afb4[_0x3882cf(0x236)]())[_0x3882cf(0x2a6)](0x2,'0')};default:return{'date':_0x28c3bd(_0x18df6d,_0x3184a7),'time':_0xa3afb4['getHours']()+':'+_0xa3afb4[_0x3882cf(0x325)]()+':'+_0xa3afb4[_0x3882cf(0x236)]()};}},_0x5ef092=(_0x4c4af8,_0x249cc9)=>{const _0x5e0422=_0x426336,_0x44cf95=_0x4c4af8[_0x5e0422(0x14f)]||_0x249cc9['t'](_0x5e0422(0x111));if(_0x4c4af8[_0x5e0422(0x2e5)][_0x5e0422(0x1f7)](_0x4c48f2=>_0x4c48f2===_0x2f81c0[_0x5e0422(0x14b)]['id'])&&_0x4c4af8['recoverTime']){const _0x440cdf=_0x3beab7(_0x4c4af8[_0x5e0422(0x32f)],_0x249cc9['getCurrentLocale']()),_0x2f0c8e=_0x440cdf[_0x5e0422(0x349)]+'\x20'+_0x440cdf[_0x5e0422(0x1c1)];return _0x44cf95+'\x20'+_0x249cc9['t'](_0x5e0422(0x2a2))+'\x20'+_0x2f0c8e+'\x20'+_0x249cc9['t'](_0x5e0422(0x29f));}const _0x426dd5=_0xb02838(_0x4c4af8),_0xf92a51=_0x426dd5['length']===0x1?_0x249cc9['t'](_0x426dd5[0x0]):''+_0x249cc9['t'](_0x426dd5[0x0])+_0x249cc9['t'](_0x5e0422(0x2eb));return _0x44cf95+'\x20'+_0xf92a51;};function _0xb02838(_0x3d302c){const _0x2ea0c1=_0x426336;if(_0x3d302c[_0x2ea0c1(0x2e5)][_0x2ea0c1(0x156)]===0x0)return[''];const _0x5e87b2=_0x2ea0c1(0x2dd),_0x25c916=_0x5e87b2+_0x2ea0c1(0x101),_0x4a09c1=[{'id':_0x2f81c0[_0x2ea0c1(0x21a)]['id'],'action':_0x5e87b2+'createSheet'},{'id':_0x2f81c0[_0x2ea0c1(0x14b)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x174)},{'id':_0x4f5e86['InsertSheetMutation']['id'],'action':_0x5e87b2+_0x2ea0c1(0x202)},{'id':_0x4f5e86[_0x2ea0c1(0xf9)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x13f)},{'id':_0x4f5e86[_0x2ea0c1(0x18e)]['id'],'action':_0x5e87b2+'setFrozen'},{'id':_0x18856f['SetSheetsFilterRangeMutation']['id'],'action':_0x5e87b2+'setFilter'},{'id':_0x3a60c2[_0x2ea0c1(0x17e)]['id'],'action':_0x5e87b2+'setDV'},{'id':_0x3a60c2[_0x2ea0c1(0x12f)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x30f)},{'id':_0x244972[_0x2ea0c1(0x1fe)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x2ab)},{'id':_0x244972['AddConditionalRuleMutation']['id'],'action':_0x5e87b2+'setCF'},{'id':_0x4f5e86['AddWorksheetProtectionMutation']['id'],'action':_0x5e87b2+_0x2ea0c1(0x15a)},{'id':_0x4f5e86[_0x2ea0c1(0x312)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x15a)},{'id':_0xd14e4f[_0x2ea0c1(0x1c7)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x231)},{'id':_0x3efa96['InsertSheetsChartMutation']['id'],'action':_0x5e87b2+_0x2ea0c1(0x1f0)},{'id':_0x4f5e86[_0x2ea0c1(0x205)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x143)},{'id':_0x4f5e86['DeleteWorksheetProtectionMutation']['id'],'action':_0x5e87b2+'deleteProtection'}][_0x2ea0c1(0x1ac)](_0x4a0028=>_0x3d302c[_0x2ea0c1(0x2e5)][_0x2ea0c1(0x12b)](_0x4a0028['id']));return _0x4a09c1!=null&&_0x4a09c1['length']?_0x4a09c1['map'](_0x3c5e2e=>_0x3c5e2e[_0x2ea0c1(0x2a7)]):[_0x25c916];}function _0x28c3bd(_0x1e1e02,_0x50e779){const _0x657451=_0x426336,[_0xa7d635,_0x5960ae,_0x3073fa]=new Date()[_0x657451(0x232)]()['split']('T')[0x0][_0x657451(0x1eb)]('-'),[_0x24d485,_0x575953,_0x2a0b6d]=_0x1e1e02[_0x657451(0x1eb)]('-'),_0x1fda2a=_0xa7d635===_0x24d485&&_0x5960ae===_0x575953&&_0x3073fa===_0x2a0b6d;let _0x245fc5='',_0x51a37f='',_0x62f442='';switch(_0x50e779){case _0x453f4e[_0x657451(0x24f)][_0x657451(0x2b7)]:return _0x1fda2a?'今天':(_0x245fc5=_0xa7d635===_0x24d485?'':_0x24d485+'年',_0x51a37f=_0x575953+'月',_0x62f442=_0x2a0b6d+'日',''+_0x245fc5+_0x51a37f+_0x62f442);default:return _0x1fda2a?_0x657451(0x16b):(_0x245fc5=_0xa7d635===_0x24d485?'':_0x24d485+'-',_0x51a37f=_0x575953+'-',_0x62f442=''+_0x2a0b6d,''+_0x245fc5+_0x51a37f+_0x62f442);}}function _0x407b4d(_0x354f7d){const _0x2155ff=_0x426336;return _0x354f7d?_0x354f7d[_0x2155ff(0x211)]((_0x2efcf6,_0x4ec781)=>{const _0x2d5e1c=_0x2155ff,_0x48db6c=new Date(_0x4ec781[_0x2d5e1c(0x1c1)])[_0x2d5e1c(0x232)]()[_0x2d5e1c(0x1eb)]('T')[0x0];return _0x2efcf6[_0x2d5e1c(0x156)]>0x0&&_0x2efcf6[_0x2efcf6[_0x2d5e1c(0x156)]-0x1][_0x2d5e1c(0x247)]===_0x48db6c?_0x2efcf6[_0x2efcf6[_0x2d5e1c(0x156)]-0x1]['versions'][_0x2d5e1c(0x223)](_0x4ec781):_0x2efcf6[_0x2d5e1c(0x223)]({'dateString':_0x48db6c,'versions':[_0x4ec781]}),_0x2efcf6;},[]):[];}var _0x4211d4=Object[_0x426336(0x2d1)],_0x994d83=(_0x94005d,_0x484a96,_0x70efa7,_0x10cf8b)=>{const _0x4f0807=_0x426336;for(var _0x1c99a0=_0x10cf8b>0x1?void 0x0:_0x10cf8b?_0x4211d4(_0x484a96,_0x70efa7):_0x484a96,_0x35b0da=_0x94005d[_0x4f0807(0x156)]-0x1,_0x18efec;_0x35b0da>=0x0;_0x35b0da--)(_0x18efec=_0x94005d[_0x35b0da])&&(_0x1c99a0=_0x18efec(_0x1c99a0)||_0x1c99a0);return _0x1c99a0;},_0x347e8b=(_0x3be7be,_0xcc0328)=>(_0x18bd98,_0x4f430c)=>_0xcc0328(_0x18bd98,_0x4f430c,_0x3be7be),_0x4c7c94=(_0x213e0a=>(_0x213e0a[_0x213e0a['Unspecified']=0x0]=_0x426336(0x2f6),_0x213e0a[_0x213e0a[_0x426336(0x1e1)]=0x1]=_0x426336(0x1e1),_0x213e0a[_0x213e0a[_0x426336(0x19d)]=0x2]=_0x426336(0x19d),_0x213e0a))(_0x4c7c94||{});const _0x561846='/universer-api/history';let _0x28365d=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x2696b3,_0x5cf05b,_0x224f53,_0x3d6495,_0x25ae2e,_0x47242b,_0x5d093d){const _0x4f65e9=_0x426336;super(),_0x3e8d0c(this,_0x4f65e9(0x1ff),new Map()),(this['_snapshotServerService']=_0x2696b3,this[_0x4f65e9(0x2c3)]=_0x5cf05b,this['_commandService']=_0x224f53,this['_configService']=_0x3d6495,this[_0x4f65e9(0x30c)]=_0x25ae2e,this[_0x4f65e9(0x32a)]=_0x47242b,this[_0x4f65e9(0x315)]=_0x5d093d);}[_0x426336(0x2ec)](){const _0x323690=_0x426336;this[_0x323690(0x1ff)][_0x323690(0x207)](),super['dispose']();}async['fetchCreatorList'](_0x319514){const _0x47537e=_0x426336;try{const _0x40d01c=(await this[_0x47537e(0x30c)][_0x47537e(0x1ba)](this[_0x47537e(0x2f9)]()+'/'+_0x319514+_0x47537e(0x1f6)))[_0x47537e(0x1b9)];if(_0x40d01c&&_0x40d01c[_0x47537e(0x2b6)]&&_0x40d01c[_0x47537e(0x2b6)]['code']===_0x425752['OK'])return _0x40d01c[_0x47537e(0x318)];}catch(_0x17b169){console['error'](_0x17b169);}return[];}async[_0x426336(0x21e)](_0x5ae75b,_0x449f01){const _0x2898f4=_0x426336,{userIds:_0x1303cf,lastLabel:_0xf030a9,origin:_0xc1f03b}=_0x449f01!=null?_0x449f01:{},_0x34dcc7=new URLSearchParams();_0x34dcc7[_0x2898f4(0xff)](_0x2898f4(0x156),'20'),_0xf030a9&&_0x34dcc7[_0x2898f4(0xff)](_0x2898f4(0x317),_0xf030a9),_0x1303cf==null||_0x1303cf['forEach'](_0x5e4f03=>{const _0x2af1cb=_0x2898f4;_0x34dcc7['append'](_0x2af1cb(0x1e7),_0x5e4f03);}),_0xc1f03b&&_0x34dcc7[_0x2898f4(0xff)](_0x2898f4(0x253),_0xc1f03b['toString']());const _0x553e92=this['_getAPIPrefix']()+'/'+_0x5ae75b+_0x2898f4(0x226)+_0x34dcc7[_0x2898f4(0x329)]();try{const _0x16e021=(await this['_httpService']['get'](_0x553e92))[_0x2898f4(0x1b9)];if(_0x16e021&&_0x16e021[_0x2898f4(0x2b6)]&&_0x16e021[_0x2898f4(0x2b6)]['code']===_0x425752['OK']){const {hasMore:_0x423b9a,lastLabel:_0xdee276}=_0x16e021,_0x1e4297=_0x522842(_0x16e021),_0x1efd9f=_0x16e021['entities'][_0x2898f4(0x1f9)];return{'hasMore':_0x423b9a,'lastLabel':_0xdee276,'versions':_0x1e4297,'members':_0x1efd9f};}}catch(_0x2a4bd8){console[_0x2898f4(0x2b6)](_0x2a4bd8);}return null;}['_getAPIPrefix'](){const _0x2a8d73=_0x426336;var _0x441c5d;const _0x13c7d1=this[_0x2a8d73(0x288)][_0x2a8d73(0x2e6)](_0x1572c4);return(_0x441c5d=_0x13c7d1==null?void 0x0:_0x13c7d1[_0x2a8d73(0x348)])!=null?_0x441c5d:_0x561846;}async[_0x426336(0x23f)](_0x529249,_0x105f85,_0x61ed7e){const _0x19d681=_0x426336;var _0x1d502b,_0x13e294;_0x61ed7e===void 0x0&&(_0x61ed7e={}),this[_0x19d681(0x1ff)][_0x19d681(0x314)](_0x529249)||this[_0x19d681(0x1ff)][_0x19d681(0xff)](_0x529249,new Map());const {snapshot:_0x4282a8,changesets:_0x348700,error:_0x4e5afa}=await this['_snapshotServerService'][_0x19d681(0x297)](_0x61ed7e,{'unitID':_0x529249,'type':_0x30dc77[_0x19d681(0x152)],'revision':_0x105f85});if(_0x68df56(_0x4e5afa)||!_0x4282a8||!_0x4282a8[_0x19d681(0x1f3)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x40dcc9=(_0x1d502b=_0x348700==null?void 0x0:_0x348700[_0x19d681(0x156)])!=null?_0x1d502b:0x0;if(_0x105f85!==0x0&&_0x4282a8[_0x19d681(0x176)]+_0x40dcc9!==_0x105f85)throw new Error(_0x19d681(0x1d9));const {workbook:_0x118007}=_0x4282a8,_0xb95fdb=_0x118007[_0x19d681(0x13a)]?Object[_0x19d681(0x2fe)](_0x118007[_0x19d681(0x13a)])[_0x19d681(0x1c2)](([_0x154421,_0x439183])=>{const _0x18bbff=_0x19d681;var _0x1f583a,_0x311f92;return(_0x311f92=(_0x1f583a=_0x439183[_0x18bbff(0x11d)])==null?void 0x0:_0x1f583a[_0x18bbff(0x1c2)](_0x2fb8b6=>_0x2fb8b6))!=null?_0x311f92:[];})[_0x19d681(0x347)]():[],_0x4875e0=(await Promise[_0x19d681(0xfa)](_0xb95fdb['map'](_0x3000ea=>this[_0x19d681(0x13b)][_0x19d681(0x196)](_0x61ed7e,{'unitID':_0x529249,'type':_0x30dc77[_0x19d681(0x152)],'blockID':_0x3000ea})[_0x19d681(0x2bd)](_0x38fc54=>_0x38fc54[_0x19d681(0x275)]))))[_0x19d681(0x1ac)](_0x24165c=>!!_0x24165c),_0x3d6678=await _0x2f81c0[_0x19d681(0x34f)](_0x4282a8,_0x4875e0,_0x61ed7e);return(_0x13e294=this[_0x19d681(0x1ff)][_0x19d681(0x1ba)](_0x529249))==null||_0x13e294[_0x19d681(0xff)](_0x105f85,{'workbook':_0x3d6678}),new Promise(_0x41ec3d=>{const _0x15e8a9=_0x19d681,_0x5de528=this[_0x15e8a9(0x2c3)]['getCurrentUnitForType'](_0x453f4e[_0x15e8a9(0x1af)][_0x15e8a9(0x152)]);_0x5de528?(this[_0x15e8a9(0x2c3)]['disposeUnit'](_0x5de528['getUnitId']()),setTimeout(()=>{const _0xe70000=_0x15e8a9;this[_0xe70000(0x290)](_0x3d6678,_0x348700),this[_0xe70000(0x315)]['refreshRangeProtectPermission'](),_0x41ec3d(!0x0);},0x0)):(this[_0x15e8a9(0x290)](_0x3d6678,_0x348700),_0x41ec3d(!0x0));});}[_0x426336(0x290)](_0x230f29,_0x15cdc6){const _0x5381e5=_0x426336,_0x2cc8a5=this['_univerInstanceService'][_0x5381e5(0x1fc)](_0x453f4e[_0x5381e5(0x1af)][_0x5381e5(0x152)],_0x230f29);this[_0x5381e5(0x2c3)][_0x5381e5(0x2c8)](_0x2cc8a5['getUnitId']());const _0x54b8c1=this['_compressMutationService'][_0x5381e5(0x34d)][_0x5381e5(0x27e)](this['_compressMutationService'][_0x5381e5(0x34d)][_0x5381e5(0x294)]()[_0x5381e5(0x261)]);return _0x15cdc6==null||_0x15cdc6[_0x5381e5(0x263)](_0x293b7f=>{const _0x233439=_0x5381e5,_0x5bf0a7=_0x293b7f['mutations'][_0x233439(0x1c2)](_0xfde080=>({'id':_0xfde080['id'],'params':JSON['parse'](_0xfde080['data'])}));({..._0x293b7f,'mutations':_0x54b8c1(_0x5bf0a7,null)||_0x5bf0a7}[_0x233439(0x252)][_0x233439(0x263)](_0x409f15=>{const _0xaebd2a=_0x233439;this[_0xaebd2a(0x265)][_0xaebd2a(0x1be)](_0x409f15['id'])&&this[_0xaebd2a(0x265)][_0xaebd2a(0x25e)](_0x409f15['id'],_0x409f15[_0xaebd2a(0x2e3)]);}));}),_0x2cc8a5;}};_0x28365d=_0x994d83([_0x347e8b(0x0,_0x2f81c0[_0x426336(0x2cc)]),_0x347e8b(0x1,_0x453f4e[_0x426336(0x1d5)]),_0x347e8b(0x2,_0x453f4e[_0x426336(0x210)]),_0x347e8b(0x3,_0x453f4e[_0x426336(0x24a)]),_0x347e8b(0x4,_0x453f4e[_0x426336(0x151)](_0x210f5e[_0x426336(0x122)])),_0x347e8b(0x5,_0x453f4e[_0x426336(0x151)](_0x2f81c0[_0x426336(0x235)])),_0x347e8b(0x6,_0x453f4e[_0x426336(0x151)](_0x4f5e86[_0x426336(0x157)]))],_0x28365d);function _0x522842(_0x35b158){const _0x518c59=_0x426336;var _0x2fb413,_0x175b3f;const _0x1891b8=[],{entities:_0x27b42e,historyIds:_0x34651e}=_0x35b158,{datas:_0x530e46,users:_0x1dab9d}=_0x27b42e;for(const _0x289ca2 of _0x34651e){const _0x21d8b9=_0x530e46[_0x289ca2];if(_0x21d8b9){const _0x2c988a=!!((_0x2fb413=_0x1dab9d[_0x21d8b9[_0x518c59(0x279)]])!=null&&_0x2fb413[_0x518c59(0x31e)]);_0x1891b8['push']({'unitId':_0x21d8b9[_0x518c59(0x20d)],'user':_0x2c988a?'':((_0x175b3f=_0x1dab9d==null?void 0x0:_0x1dab9d[_0x21d8b9['userId']])==null?void 0x0:_0x175b3f[_0x518c59(0x117)])||'','isAnonymous':_0x2c988a,'id':_0x289ca2,'time':_0x21d8b9['createTime']?Number(_0x21d8b9['createTime']):void 0x0,'commands':_0x21d8b9['command'],'startRev':Number(_0x21d8b9[_0x518c59(0x1ab)]),'endRev':Number(_0x21d8b9['endRevision']),'recoverTime':_0x21d8b9[_0x518c59(0x32f)]?Number(_0x21d8b9['recoverTime']):void 0x0,'additionalFields':_0x21d8b9['additionalFields']});}}return _0x1891b8;}var _0x346c1b=Object[_0x426336(0x2d1)],_0x393497=(_0x433f71,_0x5e9818,_0x1cc59f,_0x4b13ae)=>{const _0x44b4d3=_0x426336;for(var _0xb387da=_0x4b13ae>0x1?void 0x0:_0x4b13ae?_0x346c1b(_0x5e9818,_0x1cc59f):_0x5e9818,_0x2e6ceb=_0x433f71[_0x44b4d3(0x156)]-0x1,_0x12dbcb;_0x2e6ceb>=0x0;_0x2e6ceb--)(_0x12dbcb=_0x433f71[_0x2e6ceb])&&(_0xb387da=_0x12dbcb(_0xb387da)||_0xb387da);return _0xb387da;},_0x2411d7=(_0x43036b,_0x2dc85d)=>(_0x5b07ac,_0x3f716e)=>_0x2dc85d(_0x5b07ac,_0x3f716e,_0x43036b),_0xe51592=(_0x5ef247=>(_0x5ef247[_0x426336(0x22d)]='entered',_0x5ef247['Exited']=_0x426336(0x1cc),_0x5ef247[_0x426336(0x11e)]=_0x426336(0x2b6),_0x5ef247))(_0xe51592||{}),_0x19995e=(_0x314509=>(_0x314509['Init']=_0x426336(0x167),_0x314509[_0x426336(0x1a2)]=_0x426336(0x2bc),_0x314509[_0x426336(0x1b2)]=_0x426336(0x302),_0x314509))(_0x19995e||{});const _0x38c56b=_0x426336(0x1a1);_0x22872a['HistoryManagerService']=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x13dff1,_0x2f5b03,_0x710612,_0x5e8f19){const _0x944883=_0x426336;super(),_0x3e8d0c(this,_0x944883(0x305),new _0x511bc8[(_0x944883(0x2b4))]([])),_0x3e8d0c(this,_0x944883(0x18f),this['_versions$'][_0x944883(0x17a)]()),_0x3e8d0c(this,'_currentVersion$',new _0x511bc8[(_0x944883(0x2b4))]('')),_0x3e8d0c(this,_0x944883(0x144),this[_0x944883(0x2b2)][_0x944883(0x17a)]()),_0x3e8d0c(this,_0x944883(0x33e),new _0x511bc8[(_0x944883(0x2b4))](_0x944883(0x130))),_0x3e8d0c(this,_0x944883(0x2a8),this['_status$']['asObservable']()),_0x3e8d0c(this,'_revertRevision$',new _0x511bc8[(_0x944883(0x2b4))](0x0)),_0x3e8d0c(this,_0x944883(0x1d6),this[_0x944883(0x34b)]['asObservable']()),_0x3e8d0c(this,_0x944883(0x19c),new _0x511bc8[(_0x944883(0x2b4))]('')),_0x3e8d0c(this,_0x944883(0x17d),this['_unitId$'][_0x944883(0x17a)]()),_0x3e8d0c(this,_0x944883(0x1f8),new _0x511bc8[(_0x944883(0x2b4))](!0x1)),_0x3e8d0c(this,_0x944883(0x1ae),this[_0x944883(0x1f8)]['asObservable']()),_0x3e8d0c(this,_0x944883(0x195),new _0x511bc8[(_0x944883(0x2b4))]([])),_0x3e8d0c(this,_0x944883(0x1e9),this[_0x944883(0x195)]['asObservable']()),_0x3e8d0c(this,_0x944883(0x1e3),new _0x511bc8['BehaviorSubject'](_0x944883(0x167))),_0x3e8d0c(this,_0x944883(0xfd),this['_loadingState$']['asObservable']()),_0x3e8d0c(this,_0x944883(0x1dc),null),_0x3e8d0c(this,_0x944883(0x289),!0x0),_0x3e8d0c(this,_0x944883(0x1cb),new Map()),_0x3e8d0c(this,_0x944883(0x334)),_0x3e8d0c(this,_0x944883(0x10c)),_0x3e8d0c(this,'_maskElement'),_0x3e8d0c(this,_0x944883(0x234),!0x1),_0x3e8d0c(this,_0x944883(0x2aa),null),(this['_messageService']=_0x13dff1,this[_0x944883(0x191)]=_0x2f5b03,this[_0x944883(0x1df)]=_0x710612,this[_0x944883(0x1fa)]=_0x5e8f19);}[_0x426336(0x187)](_0x1f9e8f){const _0xab3ae=_0x426336;this[_0xab3ae(0x1f8)]['next'](_0x1f9e8f);}get[_0x426336(0x22e)](){const _0x28a4e5=_0x426336;return this['_fetching$'][_0x28a4e5(0x2ea)];}async[_0x426336(0x259)](_0x4c2fa1,_0x24d639,_0x45e139){const _0x280374=_0x426336;this['_historyContainerId']=_0x24d639,this[_0x280374(0x234)]=_0x45e139,await this[_0x280374(0x299)](_0x4c2fa1);}async['loadInitialVersions'](_0x10b4d8,_0x38b55f){const _0x210c15=_0x426336;this[_0x210c15(0x19c)][_0x210c15(0x1b7)](_0x10b4d8),this[_0x210c15(0x2aa)]=_0x38b55f!=null?_0x38b55f:null,this[_0x210c15(0x187)](!0x0);const _0x2d684e=await this[_0x210c15(0x1fa)][_0x210c15(0x21e)](_0x10b4d8,_0x38b55f);if(this[_0x210c15(0x187)](!0x1),_0x2d684e){const {versions:_0x14957b,lastLabel:_0x5cc2d4,hasMore:_0x144d32,members:_0xf68aae}=_0x2d684e;_0x14957b['length']===0x0&&_0x14957b[_0x210c15(0x223)]({'unitId':_0x10b4d8,'id':_0x38c56b,'startRev':0x1,'endRev':0x0,'time':Date[_0x210c15(0x1b3)](),'user':this[_0x210c15(0x1df)]['t'](_0x210c15(0x208)),'commands':[],'isAnonymous':!0x1}),this[_0x210c15(0x1c6)](_0x14957b,_0x144d32,_0x5cc2d4,!0x1,_0xf68aae),this[_0x210c15(0x2b2)][_0x210c15(0x1b7)](_0x14957b[0x0]['id']);}else this['_status$']['next'](_0x210c15(0x2b6));}async[_0x426336(0x2ef)](){const _0x44f823=_0x426336;if(!this['_lastLabel']||!this[_0x44f823(0x289)]||this[_0x44f823(0x22e)])return!0x1;this[_0x44f823(0x187)](!0x0);const _0x45c12e=await this[_0x44f823(0x1fa)]['getVersions'](this['unitId'],{'lastLabel':this[_0x44f823(0x1dc)],...this[_0x44f823(0x2aa)]});if(this[_0x44f823(0x187)](!0x1),_0x45c12e){const {versions:_0x4bf62e,lastLabel:_0x134c3f,hasMore:_0x6d75a0,members:_0x375bf5}=_0x45c12e;this[_0x44f823(0x1c6)](_0x4bf62e,_0x6d75a0,_0x134c3f,!0x0,_0x375bf5);}else this[_0x44f823(0x1e8)][_0x44f823(0x33f)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x63f929[_0x44f823(0x1aa)][_0x44f823(0x11e)],'duration':0xbb8});return!0x0;}async[_0x426336(0x280)](){const _0x4fc8b8=_0x426336,{unitId:_0x3b8bab}=this;if(!_0x3b8bab)return;const _0x5bbd8d=await this[_0x4fc8b8(0x1fa)][_0x4fc8b8(0x2ba)](_0x3b8bab);_0x5bbd8d&&this['_creators$'][_0x4fc8b8(0x1b7)](_0x5bbd8d);}async['triggerLoadSheet'](_0x4bec29){const _0x5dbc71=_0x426336;var _0x172f14;const _0x51b8d3=(_0x172f14=this[_0x5dbc71(0x305)][_0x5dbc71(0x2ea)])==null?void 0x0:_0x172f14[_0x5dbc71(0x2ad)](_0x18b192=>_0x18b192['id']===_0x4bec29),{endRev:_0x3a4718}=_0x51b8d3||{};_0x3a4718||_0x3a4718===0x0?(this['_loadingState$'][_0x5dbc71(0x1b7)](_0x5dbc71(0x2bc)),await this[_0x5dbc71(0x1fa)][_0x5dbc71(0x23f)](this[_0x5dbc71(0x20d)],_0x3a4718),this[_0x5dbc71(0x1e3)][_0x5dbc71(0x1b7)](_0x5dbc71(0x302))):this[_0x5dbc71(0x33e)]['next'](_0x5dbc71(0x2b6));}async[_0x426336(0x106)](_0x4c330e){const _0x7a352b=_0x426336,_0x103131=_0x4c330e?this[_0x7a352b(0x328)](_0x4c330e):this[_0x7a352b(0x2a5)]();if(!_0x103131)return;const _0x53220e=_0x103131[_0x7a352b(0x2e4)],_0x57c5ce=_0x3beab7(_0x103131[_0x7a352b(0x1c1)],this['_localeService'][_0x7a352b(0x169)]());await this[_0x7a352b(0x191)]['confirm']({'id':'confirm-revert-revision','title':{'title':this[_0x7a352b(0x1df)]['t'](_0x7a352b(0x260))},'children':{'title':this['_localeService']['t'](_0x7a352b(0x19a))+_0x7a352b(0x229)+_0x57c5ce[_0x7a352b(0x349)]+'\x20'+_0x57c5ce[_0x7a352b(0x1c1)]+')'},'cancelText':this[_0x7a352b(0x1df)]['t'](_0x7a352b(0x132)),'confirmText':this[_0x7a352b(0x1df)]['t'](_0x7a352b(0xfc))})&&this[_0x7a352b(0x34b)][_0x7a352b(0x1b7)](_0x53220e);}[_0x426336(0x1c6)](_0x30e19c,_0x2c1f2c,_0x149b8b,_0x4c9e3d,_0xb504f5){const _0x1c00b6=_0x426336;this[_0x1c00b6(0x270)](_0x4c9e3d?this[_0x1c00b6(0x305)]['value'][_0x1c00b6(0x264)](_0x30e19c):_0x30e19c),this[_0x1c00b6(0x289)]=_0x2c1f2c,this[_0x1c00b6(0x1dc)]=_0x149b8b,_0xb504f5&&Object[_0x1c00b6(0x306)](_0xb504f5)[_0x1c00b6(0x263)](_0x322a90=>this[_0x1c00b6(0x1cb)][_0x1c00b6(0xff)](_0x322a90,_0xb504f5[_0x322a90]));}[_0x426336(0x2a5)](){const _0xc24b9c=_0x426336;return this[_0xc24b9c(0x328)](this[_0xc24b9c(0x2b2)][_0xc24b9c(0x2ea)]);}['_setVersions'](_0x11c255){const _0x5af53f=_0x426336;this[_0x5af53f(0x305)]['next'](_0x11c255);}[_0x426336(0x328)](_0x58d29a){const _0x1359ca=_0x426336;var _0x35d7a1;return(_0x35d7a1=this[_0x1359ca(0x305)]['value'])==null?void 0x0:_0x35d7a1[_0x1359ca(0x2ad)](_0x4dc741=>_0x4dc741['id']===_0x58d29a);}[_0x426336(0x311)](_0x164a5e){const _0x16d953=_0x426336;return this[_0x16d953(0x1cb)][_0x16d953(0x1ba)](_0x164a5e);}[_0x426336(0x31a)](){const _0x1220f4=_0x426336;this[_0x1220f4(0x165)]=document[_0x1220f4(0x115)](_0x1220f4(0x28c)),this[_0x1220f4(0x165)][_0x1220f4(0x26c)]=_0x1220f4(0x1de),this[_0x1220f4(0x165)]['style'][_0x1220f4(0x301)]=_0x1220f4(0x340),this['_maskElement']['style'][_0x1220f4(0x2d7)]='0',this[_0x1220f4(0x165)][_0x1220f4(0x33d)]['left']='0',this[_0x1220f4(0x165)][_0x1220f4(0x33d)][_0x1220f4(0x128)]=_0x1220f4(0x2cf),this[_0x1220f4(0x165)]['style'][_0x1220f4(0x189)]=_0x1220f4(0x2cf),this[_0x1220f4(0x165)][_0x1220f4(0x33d)][_0x1220f4(0x2d9)]=_0x1220f4(0x2f2),this[_0x1220f4(0x165)]['style'][_0x1220f4(0x2fd)]=_0x1220f4(0x118),this[_0x1220f4(0x165)][_0x1220f4(0x33d)]['display']=_0x1220f4(0x215),this[_0x1220f4(0x165)]['style'][_0x1220f4(0x2a1)]=_0x1220f4(0x251),this[_0x1220f4(0x165)][_0x1220f4(0x33d)][_0x1220f4(0x177)]=_0x1220f4(0x285),this[_0x1220f4(0x165)][_0x1220f4(0x33d)][_0x1220f4(0x13e)]=_0x1220f4(0x25a),this['_maskContainer'][_0x1220f4(0x1f5)](this['_maskElement']);}[_0x426336(0x2b1)](){const _0x472841=_0x426336;var _0x20d1f2;const _0x1ebd24=(_0x20d1f2=document[_0x472841(0x1bc)](this['_historyContainerId']))==null?void 0x0:_0x20d1f2[_0x472841(0x112)](_0x472841(0x214));_0x1ebd24&&(this['_maskContainer']=_0x1ebd24,this[_0x472841(0x31a)]());}['showMask'](){const _0xa0a4a5=_0x426336;this[_0xa0a4a5(0x10c)]||this[_0xa0a4a5(0x2b1)](),this[_0xa0a4a5(0x165)]&&(this[_0xa0a4a5(0x165)][_0xa0a4a5(0x33d)][_0xa0a4a5(0x13e)]=_0xa0a4a5(0x215));}['hideMask'](){const _0x13c51e=_0x426336;this[_0x13c51e(0x165)]&&(this[_0x13c51e(0x165)][_0x13c51e(0x33d)][_0x13c51e(0x13e)]='none');}set['status'](_0x21e139){const _0x5ea1ac=_0x426336;this[_0x5ea1ac(0x33e)][_0x5ea1ac(0x1b7)](_0x21e139);}set[_0x426336(0x32b)](_0x4b4160){_0x4b4160!==this['_currentVersion$']['value']&&this['_currentVersion$']['next'](_0x4b4160);}get[_0x426336(0x32b)](){const _0x9a6a45=_0x426336;return this['_currentVersion$'][_0x9a6a45(0x2ea)];}set[_0x426336(0x20d)](_0x4099e7){const _0x1fd0ae=_0x426336;this[_0x1fd0ae(0x19c)][_0x1fd0ae(0x1b7)](_0x4099e7);}get[_0x426336(0x20d)](){const _0x76d894=_0x426336;return this[_0x76d894(0x19c)][_0x76d894(0x2ea)];}get[_0x426336(0x2c0)](){const _0x38225e=_0x426336;return this[_0x38225e(0x234)];}get[_0x426336(0x296)](){const _0x4e4d14=_0x426336;return this[_0x4e4d14(0x1e3)]['value'];}},_0x22872a['HistoryManagerService']=_0x393497([_0x2411d7(0x0,_0x222485[_0x426336(0x113)]),_0x2411d7(0x1,_0x453f4e[_0x426336(0x1c5)]),_0x2411d7(0x2,_0x453f4e[_0x426336(0x151)](_0x453f4e[_0x426336(0x1f4)])),_0x2411d7(0x3,_0x453f4e[_0x426336(0x151)](_0x28365d))],_0x22872a['HistoryManagerService']);function _0x115576({ref:_0x16497b,..._0x4d7739}){const _0x26c7a1=_0x426336,{icon:_0x2e6afa,id:_0xb51f70,className:_0x3ca3b4,extend:_0xf5bbc1,..._0x3f9626}=_0x4d7739,_0x3d6a79=('univerjs-icon\x20univerjs-icon-'+_0xb51f70+'\x20'+(_0x3ca3b4||''))['trim'](),_0x205970=_0x520025[_0x26c7a1(0x2fc)]('_'+_0x5bfb7c());return _0x5b9d59(_0x2e6afa,''+_0xb51f70,{'defIds':_0x2e6afa[_0x26c7a1(0x2f1)],'idSuffix':_0x205970[_0x26c7a1(0x2c5)]},{'ref':_0x16497b,'className':_0x3d6a79,..._0x3f9626},_0xf5bbc1);}function _0x5b9d59(_0x45f78c,_0x302599,_0x192ebc,_0xf50b5f,_0x128a98){const _0x3527d3=_0x426336;return _0x520025['createElement'](_0x45f78c[_0x3527d3(0x1d7)],{'key':_0x302599,..._0xb4dc6f(_0x45f78c,_0x192ebc,_0x128a98),..._0xf50b5f},(_0x547de6(_0x45f78c,_0x192ebc)[_0x3527d3(0x27f)]||[])[_0x3527d3(0x1c2)]((_0x2fdf71,_0x556c85)=>_0x5b9d59(_0x2fdf71,_0x302599+'-'+_0x45f78c[_0x3527d3(0x1d7)]+'-'+_0x556c85,_0x192ebc,void 0x0,_0x128a98)));}function _0xb4dc6f(_0x393a7f,_0x2ec64c,_0x4589ff){const _0x3c78cc=_0x426336,_0x4bab99={..._0x393a7f[_0x3c78cc(0x178)]};_0x4589ff!=null&&_0x4589ff['colorChannel1']&&_0x4bab99[_0x3c78cc(0x14a)]===_0x3c78cc(0x213)&&(_0x4bab99[_0x3c78cc(0x14a)]=_0x4589ff['colorChannel1']),_0x393a7f[_0x3c78cc(0x1d7)]===_0x3c78cc(0x257)&&_0x4bab99['id']&&(_0x4bab99['id']=_0x4bab99['id']+_0x2ec64c['idSuffix']),Object[_0x3c78cc(0x2fe)](_0x4bab99)['forEach'](([_0x595120,_0x53731b])=>{const _0x14716b=_0x3c78cc;_0x595120==='mask'&&typeof _0x53731b==_0x14716b(0x295)&&(_0x4bab99[_0x595120]=_0x53731b[_0x14716b(0x133)](/url\(#(.*)\)/,_0x14716b(0x18b)+_0x2ec64c[_0x14716b(0x30e)]+')'));});const {defIds:_0x333852}=_0x2ec64c;return!_0x333852||_0x333852[_0x3c78cc(0x156)]===0x0||(_0x393a7f[_0x3c78cc(0x1d7)]===_0x3c78cc(0x2d2)&&_0x4bab99[_0x3c78cc(0x100)]&&(_0x4bab99[_0x3c78cc(0x100)]=_0x4bab99['xlink:href']+_0x2ec64c['idSuffix']),Object['entries'](_0x4bab99)['forEach'](([_0x7f6aff,_0x12fa7a])=>{const _0x5b3b67=_0x3c78cc;typeof _0x12fa7a==_0x5b3b67(0x295)&&(_0x4bab99[_0x7f6aff]=_0x12fa7a[_0x5b3b67(0x133)](/url\(#(.*)\)/,_0x5b3b67(0x18b)+_0x2ec64c['idSuffix']+')'));})),_0x4bab99;}function _0x547de6(_0xab6136,_0xc8ef8f){const _0x42584d=_0x426336;var _0x1050ef;const {defIds:_0x457316}=_0xc8ef8f;return!_0x457316||_0x457316['length']===0x0?_0xab6136:_0xab6136[_0x42584d(0x1d7)]===_0x42584d(0x12a)&&((_0x1050ef=_0xab6136[_0x42584d(0x27f)])!=null&&_0x1050ef['length'])?{..._0xab6136,'children':_0xab6136['children'][_0x42584d(0x1c2)](_0x52ede9=>typeof _0x52ede9['attrs']['id']==_0x42584d(0x295)&&_0x457316&&_0x457316[_0x42584d(0x12b)](_0x52ede9['attrs']['id'])?{..._0x52ede9,'attrs':{..._0x52ede9[_0x42584d(0x178)],'id':_0x52ede9[_0x42584d(0x178)]['id']+_0xc8ef8f[_0x42584d(0x30e)]}}:_0x52ede9)}:_0xab6136;}function _0x5bfb7c(){const _0x43a0ea=_0x426336;return Math[_0x43a0ea(0x212)]()[_0x43a0ea(0x329)](0x24)[_0x43a0ea(0x27d)](0x2,0x8);}_0x115576[_0x426336(0x31f)]=_0x426336(0x2df);const _0x19f08a={'tag':_0x426336(0x164),'attrs':{'xmlns':_0x426336(0x25c),'fill':_0x426336(0x25a),'viewBox':_0x426336(0x162),'width':_0x426336(0x2ca),'height':_0x426336(0x2ca)},'children':[{'tag':_0x426336(0x1ee),'attrs':{'fill':_0x426336(0x1a0),'d':_0x426336(0x2de)}}]},_0x345355=_0x520025[_0x426336(0x332)](function(_0x432476,_0x12f6f6){const _0x246405=_0x426336;return _0x520025[_0x246405(0x115)](_0x115576,Object[_0x246405(0x2f7)]({},_0x432476,{'id':_0x246405(0x116),'ref':_0x12f6f6,'icon':_0x19f08a}));});_0x345355[_0x426336(0x31f)]=_0x426336(0x19b);const _0xff15f2={'tag':_0x426336(0x164),'attrs':{'xmlns':_0x426336(0x25c),'fill':_0x426336(0x25a),'viewBox':_0x426336(0x309),'width':_0x426336(0x2ca),'height':_0x426336(0x2ca)},'children':[{'tag':'g','attrs':{'fill':_0x426336(0x1a0),'clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x426336(0x1ee),'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':'path','attrs':{'d':_0x426336(0x179),'fillRule':_0x426336(0x2cb),'clipRule':_0x426336(0x2cb)}}]},{'tag':_0x426336(0x12a),'attrs':{},'children':[{'tag':_0x426336(0x198),'attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x426336(0x14e)]},_0x57da55=_0x520025[_0x426336(0x332)](function(_0x1e74b6,_0x526be2){const _0x1cc286=_0x426336;return _0x520025['createElement'](_0x115576,Object[_0x1cc286(0x2f7)]({},_0x1e74b6,{'id':_0x1cc286(0x2ae),'ref':_0x526be2,'icon':_0xff15f2}));});_0x57da55[_0x426336(0x31f)]=_0x426336(0x27a);const _0x159af8={'tag':_0x426336(0x164),'attrs':{'xmlns':_0x426336(0x25c),'fill':_0x426336(0x25a),'viewBox':_0x426336(0x162),'width':_0x426336(0x2ca),'height':_0x426336(0x2ca)},'children':[{'tag':_0x426336(0x1ee),'attrs':{'fill':_0x426336(0x110),'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':_0x426336(0x2cb),'clipRule':_0x426336(0x2cb)}},{'tag':'path','attrs':{'fill':_0x426336(0x110),'d':_0x426336(0x11f),'fillRule':_0x426336(0x2cb),'clipRule':_0x426336(0x2cb)}}]},_0x1e7e5f=_0x520025[_0x426336(0x332)](function(_0x80163a,_0x33c984){const _0x37141e=_0x426336;return _0x520025['createElement'](_0x115576,Object[_0x37141e(0x2f7)]({},_0x80163a,{'id':_0x37141e(0x186),'ref':_0x33c984,'icon':_0x159af8}));});_0x1e7e5f[_0x426336(0x31f)]=_0x426336(0x2e7);function _0x5c33a1(){const _0x58e820=_0x426336;var _0x26c763;const _0x568ed5=_0x222485[_0x58e820(0x139)](_0x22872a[_0x58e820(0x266)]),_0x57b2fc=_0x222485[_0x58e820(0x139)](_0x453f4e[_0x58e820(0x1f4)]),_0x280b06=_0x520025[_0x58e820(0x293)](()=>{const _0x1a96e8=_0x58e820;_0x568ed5[_0x1a96e8(0x1ea)]=_0xe51592[_0x1a96e8(0x199)];},[_0x568ed5]),_0x1a175a=_0x520025[_0x58e820(0x293)](()=>{const _0x581d0a=_0x58e820;_0x568ed5[_0x581d0a(0x106)]();},[_0x568ed5]),_0x4bb511=_0x222485[_0x58e820(0x145)](_0x568ed5['currentVersion$']),_0x4f2442=_0x222485[_0x58e820(0x145)](_0x568ed5['versions$']),_0x45c1d8=_0x4bb511===((_0x26c763=_0x4f2442==null?void 0x0:_0x4f2442[0x0])==null?void 0x0:_0x26c763['id']),_0x1dc06a=_0x4bb511!==''&&!_0x45c1d8&&_0x568ed5[_0x58e820(0x2c0)];return _0x4058c4[_0x58e820(0x29b)](_0x58e820(0x28c),{'className':_0x63f929[_0x58e820(0x1d2)](_0x58e820(0x129),_0x63f929[_0x58e820(0x29d)]),'children':[_0x4058c4[_0x58e820(0x287)]('a',{'className':_0x58e820(0x18a),'role':_0x58e820(0x29e),'onClick':_0x280b06,'children':_0x4058c4[_0x58e820(0x287)](_0x345355,{'className':_0x58e820(0x255)})}),_0x4058c4[_0x58e820(0x287)]('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x1dc06a&&_0x4058c4[_0x58e820(0x287)](_0x63f929[_0x58e820(0x2b8)],{'variant':_0x58e820(0x147),'onClick':_0x1a175a,'children':_0x57b2fc['t'](_0x58e820(0x33c))})})]});}var _0xcc0723=Object['getOwnPropertyDescriptor'],_0x2c0eab=(_0x159bfa,_0x419fe7,_0x23faf2,_0x6e5e08)=>{const _0x526f48=_0x426336;for(var _0x5d3939=_0x6e5e08>0x1?void 0x0:_0x6e5e08?_0xcc0723(_0x419fe7,_0x23faf2):_0x419fe7,_0x407a18=_0x159bfa[_0x526f48(0x156)]-0x1,_0x1cc75f;_0x407a18>=0x0;_0x407a18--)(_0x1cc75f=_0x159bfa[_0x407a18])&&(_0x5d3939=_0x1cc75f(_0x5d3939)||_0x5d3939);return _0x5d3939;},_0x558c2a=(_0x1d0961,_0x5b47bb)=>(_0x1e4c03,_0x12dd07)=>_0x5b47bb(_0x1e4c03,_0x12dd07,_0x1d0961);let _0x15a5b8=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x34e9b3,_0x3dc822,_0x2f7cf8,_0x2d45fd,_0x5e1cd7,_0x17e819){const _0x3434fc=_0x426336;super(),this[_0x3434fc(0x134)]=_0x34e9b3,this[_0x3434fc(0x18c)]=_0x3dc822,this[_0x3434fc(0x1e8)]=_0x2f7cf8,this[_0x3434fc(0x1df)]=_0x2d45fd,this[_0x3434fc(0x1e6)]=_0x5e1cd7,this[_0x3434fc(0x2f5)]=_0x17e819,this[_0x3434fc(0x335)]();}['_init'](){const _0x4a17c6=_0x426336;this['disposeWithMe'](this[_0x4a17c6(0x1e6)][_0x4a17c6(0x144)]['subscribe'](_0x563129=>{const _0x54c2cb=_0x4a17c6;_0x563129&&this[_0x54c2cb(0x1e6)][_0x54c2cb(0x2b0)](_0x563129);})),this[_0x4a17c6(0x2c9)](this[_0x4a17c6(0x134)][_0x4a17c6(0x2b3)]['subscribe'](_0x2e733f=>{const _0x13c763=_0x4a17c6,_0x1d150d=this[_0x13c763(0x1e6)][_0x13c763(0x20d)];_0x1d150d&&(_0x2e733f['subType']===_0x949573[_0x13c763(0x268)]&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this['_permissionService'][_0x13c763(0x322)](new _0x4f5e86[(_0x13c763(0x23a))](_0x1d150d)['id'],!0x1),_0x2e733f['subType']===_0x949573['RenameSheet']&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this[_0x13c763(0x134)]['updatePermissionPoint'](new _0x4f5e86[(_0x13c763(0x16f))](_0x1d150d)['id'],!0x1),_0x2e733f[_0x13c763(0x321)]===_0x949573[_0x13c763(0x158)]&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this[_0x13c763(0x134)][_0x13c763(0x322)](new _0x4f5e86['WorkbookMoveSheetPermission'](_0x1d150d)['id'],!0x1),_0x2e733f[_0x13c763(0x321)]===_0x949573[_0x13c763(0x30b)]&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this[_0x13c763(0x134)][_0x13c763(0x322)](new _0x4f5e86['WorkbookHideSheetPermission'](_0x1d150d)['id'],!0x1),_0x2e733f['subType']===_0x949573[_0x13c763(0x346)]&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this['_permissionService'][_0x13c763(0x322)](new _0x4f5e86['WorkbookEditablePermission'](_0x1d150d)['id'],!0x1),_0x2e733f[_0x13c763(0x321)]===_0x949573[_0x13c763(0x119)]&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this[_0x13c763(0x134)][_0x13c763(0x322)](new _0x4f5e86[(_0x13c763(0x23a))](_0x1d150d)['id'],!0x1));})),this['disposeWithMe'](this[_0x4a17c6(0x18c)][_0x4a17c6(0x17b)](_0x222485[_0x4a17c6(0x20a)][_0x4a17c6(0x28d)],()=>_0x222485['connectInjector'](_0x5c33a1,this[_0x4a17c6(0x2f5)])));let _0x5134b4;this[_0x4a17c6(0x2c9)](this[_0x4a17c6(0x1e6)]['loadingState$'][_0x4a17c6(0x218)](_0x43c937=>{const _0x93eff6=_0x4a17c6;_0x5134b4==null||_0x5134b4[_0x93eff6(0x2ec)](),_0x43c937===_0x19995e['Loading']&&(this[_0x93eff6(0x1e6)][_0x93eff6(0x254)](),_0x5134b4=this[_0x93eff6(0x1e8)]['show']({'type':_0x63f929[_0x93eff6(0x1aa)][_0x93eff6(0x125)],'content':this[_0x93eff6(0x1df)]['t'](_0x93eff6(0x124))})),_0x43c937===_0x19995e[_0x93eff6(0x1b2)]&&this[_0x93eff6(0x1e6)]['hideMask']();}));}};_0x15a5b8=_0x2c0eab([_0x558c2a(0x0,_0x453f4e[_0x426336(0x1cf)]),_0x558c2a(0x1,_0x222485['IUIPartsService']),_0x558c2a(0x2,_0x222485['IMessageService']),_0x558c2a(0x3,_0x453f4e[_0x426336(0x151)](_0x453f4e[_0x426336(0x1f4)])),_0x558c2a(0x4,_0x453f4e['Inject'](_0x22872a[_0x426336(0x266)])),_0x558c2a(0x5,_0x453f4e[_0x426336(0x151)](_0x453f4e['Injector']))],_0x15a5b8);var _0x427580=Object['getOwnPropertyDescriptor'],_0x593574=(_0x133cd2,_0x46c0c5,_0x4b759a,_0x94363d)=>{const _0x4f813a=_0x426336;for(var _0x445d6e=_0x94363d>0x1?void 0x0:_0x94363d?_0x427580(_0x46c0c5,_0x4b759a):_0x46c0c5,_0x186708=_0x133cd2[_0x4f813a(0x156)]-0x1,_0x417cc1;_0x186708>=0x0;_0x186708--)(_0x417cc1=_0x133cd2[_0x186708])&&(_0x445d6e=_0x417cc1(_0x445d6e)||_0x445d6e);return _0x445d6e;},_0x2c6a9a=(_0x30610f,_0x4b4b5a)=>(_0x1cea2c,_0x1c5109)=>_0x4b4b5a(_0x1cea2c,_0x1c5109,_0x30610f);let _0x302cda=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x21428a,_0x333b8c,_0x1f86df){const _0x5ae254=_0x426336;super(),_0x3e8d0c(this,_0x5ae254(0x237),new Map()),_0x3e8d0c(this,_0x5ae254(0x173),new _0x511bc8[(_0x5ae254(0x2b4))]({'ranges':new Map(),'active':null})),_0x3e8d0c(this,_0x5ae254(0x337),this[_0x5ae254(0x173)][_0x5ae254(0x17a)]()),(this[_0x5ae254(0x1e6)]=_0x21428a,this[_0x5ae254(0x19f)]=_0x333b8c,this[_0x5ae254(0x13b)]=_0x1f86df,this[_0x5ae254(0x335)]());}[_0x426336(0x335)](){const _0x109270=_0x426336;this['_diffRangesMap']=new Map(),this['disposeWithMe'](this['_historyManagerService'][_0x109270(0x17d)][_0x109270(0x218)](_0x3d8b07=>{const _0x5115d5=_0x109270;_0x3d8b07&&!this[_0x5115d5(0x237)]['has'](_0x3d8b07)&&this['_diffRangesMap'][_0x5115d5(0xff)](_0x3d8b07,new Map());})),this['disposeWithMe'](this[_0x109270(0x1e6)][_0x109270(0x144)]['subscribe'](async _0x5195f1=>{const _0x4252bf=_0x109270;var _0x5b0fa0;_0x5195f1&&(await this[_0x4252bf(0x307)](_0x5195f1),this['_currentVersionDiff$'][_0x4252bf(0x1b7)](((_0x5b0fa0=this[_0x4252bf(0x237)][_0x4252bf(0x1ba)](this[_0x4252bf(0x1e6)]['unitId']))==null?void 0x0:_0x5b0fa0[_0x4252bf(0x1ba)](_0x5195f1))||{'ranges':new Map(),'active':null}));}));}async[_0x426336(0x307)](_0x1a8cbc){const _0x58dc85=_0x426336;var _0x37631f,_0x1a5da4;const _0x4e3450=this[_0x58dc85(0x1e6)][_0x58dc85(0x328)](_0x1a8cbc),_0x275989=this[_0x58dc85(0x1e6)][_0x58dc85(0x20d)];if(!_0x4e3450||!_0x275989)return;const _0x22e9fe=this[_0x58dc85(0x237)][_0x58dc85(0x1ba)](_0x275989);if(_0x22e9fe||this[_0x58dc85(0x237)][_0x58dc85(0xff)](_0x275989,new Map()),(_0x37631f=this[_0x58dc85(0x237)][_0x58dc85(0x1ba)](_0x275989))!=null&&_0x37631f['has'](_0x4e3450['id']))return;const {startRev:_0x6ede5,endRev:_0x4c0a6a}=_0x4e3450;if(_0x6ede5===0x1){_0x22e9fe[_0x58dc85(0xff)](_0x4e3450['id'],{'ranges':new Map(),'active':null});return;}const _0x2927e9=_0x6ede5-0x1,_0x2b7f00=_0x4c0a6a,_0x50e87b=await this[_0x58dc85(0x13b)]['fetchMissingChangesets']({},{'unitID':_0x275989,'from':_0x2927e9,'to':_0x2b7f00,'type':_0x30dc77[_0x58dc85(0x152)]});if(((_0x1a5da4=_0x50e87b[_0x58dc85(0x2b6)])==null?void 0x0:_0x1a5da4['code'])===_0x425752['OK']){const _0x53e74d=_0x50e87b[_0x58dc85(0x271)]['map'](_0xb976ae=>((_0xb976ae['mutations']===null||_0xb976ae['mutations']===void 0x0)&&(_0xb976ae[_0x58dc85(0x252)]=[]),_0x2f81c0[_0x58dc85(0x1dd)](_0xb976ae)))[_0x58dc85(0x1c2)](_0x65064a=>_0x65064a[_0x58dc85(0x252)]['map'](_0x1deb0f=>({..._0x1deb0f,'params':{..._0x1deb0f[_0x58dc85(0x2e3)],'memberId':_0x65064a['userID']}})))[_0x58dc85(0x347)](),_0x525256=await this[_0x58dc85(0x1b4)](_0x53e74d),_0x473b31=this[_0x58dc85(0x138)](_0x53e74d),_0x2d9a3f=this[_0x58dc85(0x2cd)](_0x525256);_0x22e9fe[_0x58dc85(0xff)](_0x4e3450['id'],{'ranges':_0x2d9a3f,'active':_0x473b31});}}async[_0x426336(0x1b4)](_0x5beb18){const _0x2ae518=_0x426336;let _0x1fa38f=[];for(let _0x12beab=0x0;_0x12beab<_0x5beb18[_0x2ae518(0x156)];_0x12beab++){const _0x412812=_0x5beb18[_0x12beab];if(_0x1fa38f[_0x2ae518(0x223)](_0x412812),_0x12beab!==_0x5beb18[_0x2ae518(0x156)]-0x1){const _0x24bd45=_0x5beb18[_0x12beab+0x1],_0x204d16=this[_0x2ae518(0x19f)]['transformMutations'](_0x1fa38f,[_0x24bd45]);_0x2f81c0[_0x2ae518(0x171)](_0x204d16)?_0x1fa38f=_0x204d16['m1Prime']:_0x1fa38f=[];}_0x12beab%0xa===0x0&&_0x12beab>0x0&&await this[_0x2ae518(0x28b)]();}return _0x1fa38f;}[_0x426336(0x28b)](){return new Promise(_0x5d39f3=>{const _0x2904cb=_0x45b1;typeof requestIdleCallback==_0x2904cb(0x248)?requestIdleCallback(()=>_0x5d39f3(),{'timeout':0x64}):setTimeout(_0x5d39f3,0x0);});}[_0x426336(0x138)](_0x55ce42){const _0x406531=_0x426336;let _0x513e4b=[];return _0x55ce42[_0x406531(0x263)](_0x4ad34e=>{const _0x42fe38=_0x406531;if(_0x4ad34e['id']===_0x4f5e86[_0x42fe38(0x150)]['id']){const _0x17f440=_0x4ad34e['params'];_0x513e4b[_0x42fe38(0x223)](_0x17f440[_0x42fe38(0x1ad)]['id']);}else{if(_0x4ad34e['id']===_0x4f5e86['RemoveSheetMutation']['id']){const _0x5ac725=_0x4ad34e[_0x42fe38(0x2e3)];_0x513e4b['length']>0x0&&(_0x513e4b=_0x513e4b['filter'](_0x4f28c7=>_0x4f28c7!==_0x5ac725['subUnitId']));}else{if(_0x4ad34e['id']===_0x4f5e86[_0x42fe38(0x330)]['id']){const _0x47ea9a=_0x4ad34e['params'];_0x47ea9a['hidden']?_0x513e4b=_0x513e4b['filter'](_0x181988=>_0x181988!==_0x47ea9a[_0x42fe38(0x278)]):_0x513e4b['push'](_0x47ea9a[_0x42fe38(0x278)]);}else{const _0x35b968=_0x4ad34e[_0x42fe38(0x2e3)];_0x35b968[_0x42fe38(0x278)]&&_0x513e4b[_0x42fe38(0x223)](_0x35b968['subUnitId']);}}}}),_0x513e4b['length']>0x0?_0x513e4b[_0x513e4b[_0x406531(0x156)]-0x1]:null;}[_0x426336(0x2cd)](_0x226e9d){const _0x55cb6a=_0x426336,_0x226fc4=new Map();return _0x226e9d['forEach'](_0x4ef531=>{const _0x3fbfed=_0x45b1;var _0x210b72,_0x56ff49;const _0x1f1573=(_0x210b72=_0x4ef531[_0x3fbfed(0x2e3)])==null?void 0x0:_0x210b72[_0x3fbfed(0x2fa)];if(_0x1f1573){_0x226fc4[_0x3fbfed(0x314)](_0x1f1573)||_0x226fc4[_0x3fbfed(0xff)](_0x1f1573,[]);const _0x4c6d71=this[_0x3fbfed(0x273)](_0x4ef531);(_0x56ff49=_0x226fc4[_0x3fbfed(0x1ba)](_0x1f1573))==null||_0x56ff49['push'](..._0x4c6d71);}}),_0x226fc4[_0x55cb6a(0x263)]((_0x545e17,_0x5768ca)=>{const _0x444733=_0x55cb6a;_0x226fc4[_0x444733(0xff)](_0x5768ca,this[_0x444733(0x1fd)](_0x545e17));}),_0x226fc4;}['_getRangesByMutation'](_0x3d5fbc){const _0x496bf3=_0x426336;switch(_0x3d5fbc['id']){case _0x4f5e86[_0x496bf3(0x312)]['id']:{const _0x393b08=_0x3d5fbc[_0x496bf3(0x2e3)];return _0x393b08[_0x496bf3(0x33b)][_0x496bf3(0x1c2)](_0x4e43dc=>_0x4e43dc[_0x496bf3(0x209)][_0x496bf3(0x1c2)](_0x3d87cc=>({'range':_0x3d87cc,'unitId':_0x393b08[_0x496bf3(0x20d)],'subUnitId':_0x393b08[_0x496bf3(0x278)]})))[_0x496bf3(0x347)]();}case _0x4f5e86[_0x496bf3(0x240)]['id']:{const _0x271e2d=_0x3d5fbc[_0x496bf3(0x2e3)];return _0x271e2d[_0x496bf3(0x209)][_0x496bf3(0x1c2)](_0x12fa38=>({'range':_0x12fa38,'unitId':_0x271e2d[_0x496bf3(0x20d)],'subUnitId':_0x271e2d[_0x496bf3(0x278)]}));}case _0x4f5e86['InsertRowMutation']['id']:{const _0x1b37b1=_0x3d5fbc['params'];return[{'range':_0x1b37b1[_0x496bf3(0x227)],'unitId':_0x1b37b1[_0x496bf3(0x20d)],'subUnitId':_0x1b37b1['subUnitId']}];}case _0x4f5e86[_0x496bf3(0x28e)]['id']:{const _0x4ff06a=_0x3d5fbc['params'];return[{'range':_0x4ff06a[_0x496bf3(0x227)],'unitId':_0x4ff06a['unitId'],'subUnitId':_0x4ff06a[_0x496bf3(0x278)]}];}case _0x4f5e86['MoveRangeMutation']['id']:{const _0x16a37b=_0x3d5fbc[_0x496bf3(0x2e3)],{from:_0x448b88,to:_0x1bf379,unitId:_0xa15bac}=_0x16a37b;return[{'range':_0x5f399d(_0x448b88[_0x496bf3(0x2ea)]),'unitId':_0xa15bac,'subUnitId':_0x448b88[_0x496bf3(0x278)]},{'range':_0x5f399d(_0x1bf379['value']),'unitId':_0xa15bac,'subUnitId':_0x1bf379[_0x496bf3(0x278)]}];}case _0x4f5e86[_0x496bf3(0x10f)]['id']:{const _0x20ef77=_0x3d5fbc[_0x496bf3(0x2e3)],{unitId:_0x2c3f4b,subUnitId:_0x5dc9da,sourceRange:_0x29c05e,targetRange:_0x1e80f0}=_0x20ef77,_0x3b90dd=_0x29c05e[_0x496bf3(0x18d)]-_0x29c05e['startRow']+0x1;return[{'range':_0x1e80f0['startRow']<=_0x29c05e[_0x496bf3(0x262)]?_0x1e80f0:{..._0x1e80f0,'startRow':_0x1e80f0[_0x496bf3(0x262)]-_0x3b90dd,'endRow':_0x1e80f0[_0x496bf3(0x18d)]-_0x3b90dd},'unitId':_0x2c3f4b,'subUnitId':_0x5dc9da}];}case _0x4f5e86[_0x496bf3(0x2ce)]['id']:{const _0x2ab460=_0x3d5fbc[_0x496bf3(0x2e3)],{unitId:_0x25639f,subUnitId:_0x3918d5,sourceRange:_0x46670e,targetRange:_0x5cb553}=_0x2ab460,_0x125ce9=_0x46670e['endColumn']-_0x46670e['startColumn']+0x1;return[{'range':_0x5cb553['startColumn']<=_0x46670e['startColumn']?_0x5cb553:{..._0x5cb553,'startColumn':_0x5cb553['startColumn']-_0x125ce9,'endColumn':_0x5cb553[_0x496bf3(0x10a)]-_0x125ce9},'unitId':_0x25639f,'subUnitId':_0x3918d5}];}case _0x4f5e86[_0x496bf3(0x219)]['id']:{const _0x1094a0=_0x3d5fbc['params'],{values:_0x3c18c9,unitId:_0x13b23e,subUnitId:_0x14db32}=_0x1094a0;return Object['values'](_0x3c18c9)[_0x496bf3(0x1c2)](_0x183111=>_0x183111[_0x496bf3(0x209)]['map'](_0xff5208=>({'range':_0xff5208,'unitId':_0x13b23e,'subUnitId':_0x14db32})))[_0x496bf3(0x347)]();}case _0x4f5e86[_0x496bf3(0x1c0)]['id']:{const _0x48edde=_0x3d5fbc[_0x496bf3(0x2e3)],{ranges:_0x22319f,unitId:_0x370c59,subUnitId:_0x18a34d}=_0x48edde;return _0x22319f[_0x496bf3(0x1c2)](_0x1b1d66=>({'range':_0x1b1d66,'unitId':_0x370c59,'subUnitId':_0x18a34d}));}case _0x4f5e86[_0x496bf3(0x1b6)]['id']:{const _0x4a6458=_0x3d5fbc['params'],{unitId:_0x3c095d,subUnitId:_0x306d64,range:_0x4600f9}=_0x4a6458;return[{'range':_0x4600f9,'unitId':_0x3c095d,'subUnitId':_0x306d64}];}case _0x4f5e86[_0x496bf3(0x225)]['id']:{const _0x5a54ee=_0x3d5fbc[_0x496bf3(0x2e3)];return _0x5a54ee['rule'][_0x496bf3(0x209)][_0x496bf3(0x1c2)](_0x250ce6=>({'range':_0x250ce6,'unitId':_0x5a54ee['unitId'],'subUnitId':_0x5a54ee[_0x496bf3(0x278)]}));}case _0x4f5e86[_0x496bf3(0x26e)]['id']:{const _0x8bd008=_0x3d5fbc[_0x496bf3(0x2e3)];return _0x8bd008[_0x496bf3(0x1e0)]?_0x250138(_0x8bd008[_0x496bf3(0x1e0)])[_0x496bf3(0x1c2)](_0x23bbda=>({'range':_0x23bbda,'unitId':_0x8bd008[_0x496bf3(0x20d)],'subUnitId':_0x8bd008[_0x496bf3(0x278)]})):[];}case _0x18856f[_0x496bf3(0x2a0)]['id']:{const _0x219a4a=_0x3d5fbc[_0x496bf3(0x2e3)];return[{'range':_0x219a4a[_0x496bf3(0x227)],'unitId':_0x219a4a['unitId'],'subUnitId':_0x219a4a['subUnitId']}];}case _0x3a60c2['AddDataValidationMutation']['id']:{const _0x56b1cc=_0x3d5fbc['params'];return(Array[_0x496bf3(0x11a)](_0x56b1cc[_0x496bf3(0x109)])?_0x56b1cc[_0x496bf3(0x109)]:[_0x56b1cc[_0x496bf3(0x109)]])[_0x496bf3(0x1c2)](_0x8a615b=>_0x8a615b[_0x496bf3(0x209)][_0x496bf3(0x1c2)](_0x394d2d=>({'range':_0x394d2d,'unitId':_0x56b1cc[_0x496bf3(0x20d)],'subUnitId':_0x56b1cc[_0x496bf3(0x278)]})))[_0x496bf3(0x347)]();}case _0x244972[_0x496bf3(0x1fe)]['id']:{const _0x573a2e=_0x3d5fbc[_0x496bf3(0x2e3)];return _0x573a2e['rule'][_0x496bf3(0x209)][_0x496bf3(0x1c2)](_0x4e78fc=>({'range':_0x4e78fc,'unitId':_0x573a2e['unitId'],'subUnitId':_0x573a2e['subUnitId']}));}default:return[];}}[_0x426336(0x1fd)](_0x404ede){const _0x329d7f=_0x426336;if(_0x404ede[_0x329d7f(0x156)]<=0x1)return _0x404ede;const _0x552573=new Map();return _0x404ede[_0x329d7f(0x263)](_0xd91724=>{const _0x55d8c6=_0x329d7f;var _0x2331b5;const {unitId:_0x177f6f,subUnitId:_0x5a4fa2}=_0xd91724,_0x1d8db2=_0x177f6f+'-'+_0x5a4fa2;_0x552573['has'](_0x1d8db2)?(_0x2331b5=_0x552573[_0x55d8c6(0x1ba)](_0x1d8db2))==null||_0x2331b5[_0x55d8c6(0x223)](_0xd91724):_0x552573[_0x55d8c6(0xff)](_0x1d8db2,[_0xd91724]);}),Array[_0x329d7f(0x185)](_0x552573[_0x329d7f(0x1b1)]())['map'](_0x37fb01=>new _0x4f5e86['RangeMergeUtil']()[_0x329d7f(0x25b)](..._0x37fb01[_0x329d7f(0x1c2)](_0x10d064=>_0x10d064[_0x329d7f(0x227)]))[_0x329d7f(0x284)]()[_0x329d7f(0x1c2)](_0x4a00e8=>({'range':_0x4a00e8,'unitId':_0x37fb01[0x0][_0x329d7f(0x20d)],'subUnitId':_0x37fb01[0x0][_0x329d7f(0x278)]})))[_0x329d7f(0x347)]();}};_0x302cda=_0x593574([_0x2c6a9a(0x0,_0x453f4e[_0x426336(0x151)](_0x22872a[_0x426336(0x266)])),_0x2c6a9a(0x1,_0x2f81c0['ITransformService']),_0x2c6a9a(0x2,_0x2f81c0[_0x426336(0x2cc)])],_0x302cda);function _0x5f399d(_0x591524){const _0x2152dd=_0x426336;return new _0x453f4e[(_0x2152dd(0x204))](_0x591524)[_0x2152dd(0x1a4)]();}function _0x250138(_0x4e11e3){const _0x483d32=_0x426336,_0x1b3383=new _0x453f4e[(_0x483d32(0x204))](_0x4e11e3),_0x414925=new _0x453f4e[(_0x483d32(0x204))]();return _0x1b3383['forValue']((_0x54abd5,_0x5625dc)=>{const _0xa0889=_0x483d32;_0x414925[_0xa0889(0x25d)](_0x54abd5,_0x5625dc,0x1);}),_0x4f5e86[_0x483d32(0x238)](_0x414925);}var _0x17eb48=Object['getOwnPropertyDescriptor'],_0x1ebe2e=(_0x123535,_0x2ca856,_0x57d720,_0x1e56f2)=>{const _0x399ce2=_0x426336;for(var _0x14ed59=_0x1e56f2>0x1?void 0x0:_0x1e56f2?_0x17eb48(_0x2ca856,_0x57d720):_0x2ca856,_0x2af156=_0x123535[_0x399ce2(0x156)]-0x1,_0x24f8cf;_0x2af156>=0x0;_0x2af156--)(_0x24f8cf=_0x123535[_0x2af156])&&(_0x14ed59=_0x24f8cf(_0x14ed59)||_0x14ed59);return _0x14ed59;},_0x5c8d05=(_0x56b4a8,_0xe24add)=>(_0x2e6e67,_0x127408)=>_0xe24add(_0x2e6e67,_0x127408,_0x56b4a8);let _0x18a3b0=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x58d3c1,_0x58e0d6,_0x1f79fc,_0x2c118f,_0x491ac5,_0x154b2a,_0x3c578a){const _0x1c0ed7=_0x426336;super(),_0x3e8d0c(this,_0x1c0ed7(0x146),new Set()),_0x3e8d0c(this,_0x1c0ed7(0x17f),null),(this[_0x1c0ed7(0x1f1)]=_0x58d3c1,this['_historyManagerService']=_0x58e0d6,this[_0x1c0ed7(0x256)]=_0x1f79fc,this['_univerInstanceService']=_0x2c118f,this['_renderManagerService']=_0x491ac5,this[_0x1c0ed7(0x22b)]=_0x154b2a,this[_0x1c0ed7(0x265)]=_0x3c578a,this[_0x1c0ed7(0x335)]());}['_init'](){const _0xed08a9=_0x426336;this[_0xed08a9(0x28f)](),this[_0xed08a9(0x141)]();}[_0x426336(0x28f)](){const _0x7f38be=_0x426336;this[_0x7f38be(0x2c9)](_0x511bc8[_0x7f38be(0x2bf)]([this[_0x7f38be(0x1e6)][_0x7f38be(0xfd)],this[_0x7f38be(0x22b)]['currentSkeleton$']])['pipe'](_0x511bc8[_0x7f38be(0x1ca)](([_0x53ecaa,_0x1cd660])=>{const _0x4ccdd9=_0x7f38be;if(_0x53ecaa===_0x19995e[_0x4ccdd9(0x1b2)]&&_0x1cd660){const _0x2e8bc5=_0x1cd660[_0x4ccdd9(0x27b)];return this[_0x4ccdd9(0x256)][_0x4ccdd9(0x337)]['pipe'](_0x511bc8['map'](_0x8e5857=>{const _0x3949bd=_0x4ccdd9,_0x1fba69=new Map();return _0x8e5857[_0x3949bd(0x209)][_0x3949bd(0x263)]((_0x177156,_0x84d087)=>{const _0x1e77c1=_0x3949bd,_0x5bd0fd=_0x177156['filter'](_0x7a16ac=>_0x7a16ac[_0x1e77c1(0x278)]===_0x2e8bc5);_0x1fba69[_0x1e77c1(0xff)](_0x84d087,_0x5bd0fd);}),{'skeleton':_0x1cd660,'diffs':_0x1fba69};}));}return _0x511bc8['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x20e5d6,diffs:_0x3d58df})=>{const _0xb64f51=_0x7f38be;this[_0xb64f51(0x12e)](),_0x20e5d6&&this['_updateDiffMarks'](_0x20e5d6,_0x3d58df);})),this[_0x7f38be(0x2c9)](this['_sheetSkeletonManagerService'][_0x7f38be(0x2f3)][_0x7f38be(0x218)](_0x5c3fef=>{const _0x15b263=_0x7f38be;if(_0x5c3fef==null)return;const {skeleton:_0x24f78a}=_0x5c3fef,{scene:_0x2226a3}=this[_0x15b263(0x1f1)];_0x2226a3['onPointerMove$'][_0x15b263(0x282)](_0x453f4e[_0x15b263(0x22a)](_0xde73e9=>{const _0x4fd2fc=_0x15b263;var _0x1881ec,_0x2f6eb8;const {offsetX:_0x3338e4,offsetY:_0x3bd797}=_0xde73e9,{x:_0x15ea25,y:_0x2960fb}=_0x2226a3['getRelativeToViewportCoord'](_0x20176a[_0x4fd2fc(0x14c)][_0x4fd2fc(0x320)]([_0x3338e4,_0x3bd797])),{scaleX:_0xa00329,scaleY:_0x1b73f3}=_0x2226a3[_0x4fd2fc(0x26a)](),_0x4919e7=_0x2226a3['getViewport'](_0x20176a[_0x4fd2fc(0x166)][_0x4fd2fc(0x221)]),_0x337a99=_0x2226a3['getVpScrollXYInfoByPosToVp'](_0x20176a[_0x4fd2fc(0x14c)][_0x4fd2fc(0x320)]([_0x15ea25,_0x2960fb]),_0x4919e7),_0x4eb699=_0x24f78a[_0x4fd2fc(0x233)](_0x3338e4,_0x3bd797,_0xa00329,_0x1b73f3,_0x337a99);((_0x1881ec=this[_0x4fd2fc(0x17f)])==null?void 0x0:_0x1881ec[_0x4fd2fc(0x140)])===_0x4eb699[_0x4fd2fc(0x140)]&&((_0x2f6eb8=this[_0x4fd2fc(0x17f)])==null?void 0x0:_0x2f6eb8[_0x4fd2fc(0x2f0)])===_0x4eb699[_0x4fd2fc(0x2f0)]||this[_0x4fd2fc(0x146)][_0x4fd2fc(0x263)](_0x7cd979=>{const _0x3fa89c=_0x4fd2fc;_0x7cd979[_0x3fa89c(0x1c9)](_0x4eb699);});},0x64));}));}['_initActiveSwitch'](){const _0x1b969b=_0x426336;this[_0x1b969b(0x2c9)](this['_historyManagerService'][_0x1b969b(0xfd)][_0x1b969b(0x218)](_0x5dd2f4=>{const _0x8a47ed=_0x1b969b,_0x1f5bfb=new _0x453f4e[(_0x8a47ed(0x283))]();return _0x5dd2f4===_0x19995e[_0x8a47ed(0x1b2)]&&(_0x1f5bfb['dispose'](),_0x1f5bfb['add'](this[_0x8a47ed(0x256)][_0x8a47ed(0x337)]['subscribe'](_0x5522b5=>{const _0x48e9d8=_0x8a47ed;_0x5522b5[_0x48e9d8(0x29c)]&&this[_0x48e9d8(0x265)][_0x48e9d8(0x2f4)](_0x4f5e86[_0x48e9d8(0x10d)]['id'],{'unitId':this[_0x48e9d8(0x1f1)][_0x48e9d8(0x20d)],'subUnitId':_0x5522b5[_0x48e9d8(0x29c)]});}))),()=>_0x1f5bfb['dispose']();}));}[_0x426336(0x1d3)](_0x3bb542,_0x3fb201){const _0x3715cf=_0x426336;var _0x1159e8;const _0x571984=(_0x1159e8=this[_0x3715cf(0x22b)]['getCurrent']())==null?void 0x0:_0x1159e8[_0x3715cf(0x23c)];if(!_0x571984)return;this['_diffs']['forEach'](_0xd6ccc=>{const _0x89f106=_0x3715cf;_0xd6ccc[_0x89f106(0x2ac)]();});const {scene:_0x3997ff}=this['_context'],_0xac7f3d=Array[_0x3715cf(0x185)](_0x3fb201[_0x3715cf(0x306)]())[_0x3715cf(0x1c2)](_0x563c27=>_0x3fb201['get'](_0x563c27)[_0x3715cf(0x1c2)](_0x5b897a=>{const _0x63f099=_0x3715cf;var _0x3068dc;const {range:_0x41957b,subUnitId:_0x11babb,unitId:_0x3f0c8b}=_0x5b897a,{startColumn:_0x1b97ec,startRow:_0x56e881,endColumn:_0x8068ba,endRow:_0x49aee0}=_0x41957b,_0x16893a=_0x11d4cb[_0x63f099(0x2a9)](_0x56e881,_0x1b97ec,_0x3997ff,_0x571984),_0x3b1148=_0x11d4cb[_0x63f099(0x2a9)](_0x49aee0,_0x8068ba,_0x3997ff,_0x571984),{columnHeaderHeightAndMarginTop:_0x1bd690}=_0x571984,{startX:_0x14a702,startY:_0x35f9b8}=_0x16893a,{endX:_0x3592d5,endY:_0x5653f0}=_0x3b1148,_0xf789be=_0x3592d5-_0x14a702,_0x4d75b9=_0x5653f0-_0x35f9b8,_0x296351={'labelPosition':_0x35f9b8-_0x1bd690>=0x14?_0x63f099(0x2d7):_0x63f099(0x30a),'sheetID':_0x11babb,'range':_0x41957b,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x63f099(0x1c8),'name':((_0x3068dc=this[_0x63f099(0x1e6)]['getMember'](_0x563c27))==null?void 0x0:_0x3068dc[_0x63f099(0x117)])||'','selection':_0x3f0c8b+'-'+_0x11babb+'-'+_0x41957b[_0x63f099(0x15e)]+'-'+_0x41957b[_0x63f099(0x262)]+'-'+_0x41957b[_0x63f099(0x10a)]+'-'+_0x41957b[_0x63f099(0x18d)],'left':_0x14a702,'top':_0x35f9b8,'width':_0xf789be,'height':_0x4d75b9,'evented':!0x1,'zIndex':0x1};return new _0x974a8c[(_0x63f099(0x170))]('',_0x296351);}))[_0x3715cf(0x347)]();_0x3997ff[_0x3715cf(0x26f)](_0xac7f3d,0x1),this[_0x3715cf(0x146)]=new Set(_0xac7f3d);}[_0x426336(0x12e)](){const _0x56f1f8=_0x426336;var _0x558f48;(_0x558f48=this[_0x56f1f8(0x146)])==null||_0x558f48[_0x56f1f8(0x263)](_0x3aeed0=>_0x3aeed0['dispose']());}['_getSheetObject'](){const _0x175b9b=_0x426336;return _0x11d4cb[_0x175b9b(0x34a)](this[_0x175b9b(0x2c3)],this['_renderManagerService']);}};_0x18a3b0=_0x1ebe2e([_0x5c8d05(0x1,_0x453f4e['Inject'](_0x22872a[_0x426336(0x266)])),_0x5c8d05(0x2,_0x453f4e[_0x426336(0x151)](_0x302cda)),_0x5c8d05(0x3,_0x453f4e[_0x426336(0x1d5)]),_0x5c8d05(0x4,_0x20176a['IRenderManagerService']),_0x5c8d05(0x5,_0x453f4e[_0x426336(0x151)](_0x11d4cb['SheetSkeletonManagerService'])),_0x5c8d05(0x6,_0x453f4e[_0x426336(0x210)])],_0x18a3b0);function _0x1dc83c(){const _0x1da078=_0x426336,_0x302151=_0x222485['useDependency'](_0x22872a[_0x1da078(0x266)]),_0x38c70b=_0x222485[_0x1da078(0x145)](_0x302151[_0x1da078(0x18f)]),[_0x1072f6,_0x32817c]=_0x520025['useState'](!0x1),_0x16a9e1=_0x407b4d(_0x38c70b);return _0x38c70b?_0x4058c4[_0x1da078(0x287)]('div',{'className':_0x1da078(0x308),'children':_0x4058c4['jsxs']('div',{'className':_0x1da078(0x2d8),'children':[_0x16a9e1['map']((_0x29fd55,_0x278f24)=>_0x4058c4[_0x1da078(0x29b)](_0x520025['Fragment'],{'children':[_0x4058c4[_0x1da078(0x287)](_0x584d7c,{'date':_0x29fd55[_0x1da078(0x247)]}),_0x29fd55['versions'][_0x1da078(0x1c2)]((_0x44add5,_0x5b2456)=>_0x4058c4[_0x1da078(0x287)](_0x150b87,{'index':[_0x278f24,_0x5b2456],'item':_0x44add5},_0x278f24+'-'+_0x5b2456))]},_0x29fd55[_0x1da078(0x247)])),_0x1072f6&&_0x4058c4['jsx'](_0x598e16,{})]})}):_0x4058c4[_0x1da078(0x287)](_0x38d51c,{});}function _0x598e16(){const _0x16055a=_0x426336;return _0x4058c4['jsx']('div',{'className':_0x16055a(0x13d),'children':_0x4058c4['jsx'](_0x1e7e5f,{'className':_0x16055a(0x350)})});}function _0x38d51c(){const _0x5a4e59=_0x426336;return _0x4058c4[_0x5a4e59(0x287)](_0x5a4e59(0x28c),{'className':_0x5a4e59(0x26b),'children':_0x4058c4['jsx'](_0x5a4e59(0x16c),{'className':_0x5a4e59(0x241),'children':_0x4058c4['jsx'](_0x1e7e5f,{'className':_0x5a4e59(0x220)})})});}function _0x584d7c(_0x22b4f8){const _0x34f4bc=_0x426336,_0xb4bc8=_0x222485[_0x34f4bc(0x139)](_0x453f4e['LocaleService']),{date:_0x2afd98}=_0x22b4f8;return _0x4058c4[_0x34f4bc(0x287)]('div',{'className':_0x34f4bc(0x172),'children':_0x28c3bd(_0x2afd98,_0xb4bc8[_0x34f4bc(0x169)]())});}function _0x150b87(_0x2eabcb){const _0x56cf98=_0x426336,{item:_0x38300f,index:_0x4d0713}=_0x2eabcb,{time:_0x172c08,user:_0x50e3a2}=_0x38300f,[_0x43ef44,_0x4b3d31]=_0x4d0713,_0x47620f=_0x222485['useDependency'](_0x22872a[_0x56cf98(0x266)]),_0x75374b=_0x222485[_0x56cf98(0x145)](_0x47620f[_0x56cf98(0x144)],'',!0x0)===_0x38300f['id'],_0x2c6c1e=_0x43ef44===0x0&&_0x4b3d31===0x0,_0x4e5923=!_0x2c6c1e&&_0x47620f['canRevert'],_0x362356=_0x222485[_0x56cf98(0x139)](_0x453f4e[_0x56cf98(0x1f4)]),_0x26ba51=_0x362356['getCurrentLocale'](),_0x4bcd00=_0x3beab7(_0x172c08,_0x26ba51),_0x2de91d=_0x362356['t'](_0x56cf98(0x316)),_0xc2d0db=_0x520025[_0x56cf98(0x293)](_0x1f4490=>{const _0xe4229f=_0x56cf98;_0x47620f[_0xe4229f(0x296)]!==_0x19995e['Loading']&&(_0x47620f['currentVersion']=_0x1f4490);},[_0x47620f]),_0x26260b=_0x520025['useCallback'](_0x374b15=>{const _0x191c99=_0x56cf98;_0x47620f[_0x191c99(0x106)](_0x374b15);},[_0x47620f]);return _0x4058c4[_0x56cf98(0x29b)](_0x56cf98(0x28c),{'className':_0x63f929['clsx'](_0x56cf98(0x333),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x75374b}),'onClick':()=>_0xc2d0db(_0x38300f['id']),'children':[_0x4058c4[_0x56cf98(0x29b)](_0x56cf98(0x28c),{'className':_0x56cf98(0x16d),'children':[_0x4058c4['jsxs'](_0x56cf98(0x28c),{'className':_0x56cf98(0x216),'children':[_0x4058c4['jsx'](_0x56cf98(0x16c),{'children':_0x4bcd00['time']}),_0x2c6c1e&&_0x4058c4[_0x56cf98(0x287)](_0x56cf98(0x16c),{'className':_0x56cf98(0x345),'children':_0x2de91d})]}),_0x4058c4[_0x56cf98(0x287)](_0x56cf98(0x28c),{'children':_0x4e5923&&_0x4058c4[_0x56cf98(0x287)](_0x63f929['Tooltip'],{'title':_0x362356['t'](_0x56cf98(0x1ef)),'children':_0x4058c4[_0x56cf98(0x287)](_0x56cf98(0x28c),{'onClick':_0x4bd92d=>{_0x4bd92d['stopPropagation'](),_0x26260b(_0x38300f['id']);},'className':_0x56cf98(0x2f8),'children':_0x4058c4[_0x56cf98(0x287)](_0x57da55,{})})})})]}),_0x4058c4[_0x56cf98(0x287)](_0x56cf98(0x28c),{'className':_0x56cf98(0x2ed),'children':_0x5ef092(_0x38300f,_0x362356)})]});}var _0x39b965=Object[_0x426336(0x2d1)],_0x3b558c=(_0x288272,_0x593e99,_0xf4faed,_0x3351d0)=>{for(var _0xbc786f=_0x3351d0>0x1?void 0x0:_0x3351d0?_0x39b965(_0x593e99,_0xf4faed):_0x593e99,_0x4cc466=_0x288272['length']-0x1,_0x1d4093;_0x4cc466>=0x0;_0x4cc466--)(_0x1d4093=_0x288272[_0x4cc466])&&(_0xbc786f=_0x1d4093(_0xbc786f)||_0xbc786f);return _0xbc786f;},_0x492e6a=(_0x560185,_0x4fd88c)=>(_0x1d6a50,_0x8058fc)=>_0x4fd88c(_0x1d6a50,_0x8058fc,_0x560185);const _0x32e8c4=_0x426336(0x120);let _0x571ada=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x1cda24,_0x33e534,_0x242890,_0x261ff5,_0x174dd0){const _0x24ffd1=_0x426336;super(),_0x3e8d0c(this,_0x24ffd1(0x15d),null),(this[_0x24ffd1(0x168)]=_0x1cda24,this[_0x24ffd1(0x2db)]=_0x33e534,this[_0x24ffd1(0x1df)]=_0x242890,this['_historyManagerService']=_0x261ff5,this['_configService']=_0x174dd0,this[_0x24ffd1(0x335)]());}[_0x426336(0x335)](){const _0x5a85d8=_0x426336;this[_0x5a85d8(0x224)](),this[_0x5a85d8(0xf7)]();}[_0x426336(0xf7)](){const _0x1be4bb=_0x426336;var _0x27a0d4;if(this[_0x1be4bb(0x15d)])return;const _0x1c1632=((_0x27a0d4=this[_0x1be4bb(0x288)][_0x1be4bb(0x2e6)](_0x1572c4))==null?void 0x0:_0x27a0d4['historyPanelComponentKey'])||_0x32e8c4,_0x3bfa38={'header':{'title':this[_0x1be4bb(0x1df)]['t']('editHistory.panel.title')},'children':{'label':_0x1c1632},'onClose':()=>{const _0x3e010a=_0x1be4bb;this[_0x3e010a(0x15d)]=null,this[_0x3e010a(0x1e6)][_0x3e010a(0x1ea)]=_0xe51592[_0x3e010a(0x199)];}};this[_0x1be4bb(0x15d)]=this[_0x1be4bb(0x168)][_0x1be4bb(0x331)]({..._0x3bfa38});}[_0x426336(0x224)](){const _0x29b888=_0x426336;this['disposeWithMe'](this[_0x29b888(0x2db)][_0x29b888(0x21f)](_0x32e8c4,_0x1dc83c)),this[_0x29b888(0x2c9)](this['_sidebarService'][_0x29b888(0x2d4)][_0x29b888(0x344)](_0x511bc8['debounceTime'](0x64))['subscribe'](_0x1c89d7=>{const _0x3611eb=_0x29b888,{target:_0x228aaa}=_0x1c89d7||{};if(_0x228aaa){const {scrollTop:_0x470b34,scrollHeight:_0x7be66d,clientHeight:_0x2833b1}=_0x228aaa;_0x470b34+_0x2833b1>=_0x7be66d-0x5&&this[_0x3611eb(0x1e6)]['loadMoreVersions']();}}));}};_0x571ada=_0x3b558c([_0x492e6a(0x0,_0x222485[_0x426336(0x2af)]),_0x492e6a(0x1,_0x453f4e[_0x426336(0x151)](_0x222485[_0x426336(0x21d)])),_0x492e6a(0x2,_0x453f4e['Inject'](_0x453f4e[_0x426336(0x1f4)])),_0x492e6a(0x3,_0x453f4e[_0x426336(0x151)](_0x22872a[_0x426336(0x266)])),_0x492e6a(0x4,_0x453f4e[_0x426336(0x24a)])],_0x571ada);class _0x91ca36 extends _0x453f4e[_0x426336(0x274)]{constructor(){const _0x3e7e2b=_0x426336;super(),_0x3e8d0c(this,_0x3e7e2b(0x1d0),new _0x511bc8[(_0x3e7e2b(0x107))]());}[_0x426336(0x331)](){const _0x174598=_0x426336;return _0x453f4e[_0x174598(0x244)](()=>{});}[_0x426336(0x336)](){}[_0x426336(0x2e0)](_0x1aa58d){}[_0x426336(0x243)](){const _0x4f8268=_0x426336;return this[_0x4f8268(0x1d0)][_0x4f8268(0x17a)]();}}var _0x47bf41=Object['defineProperty'],_0x23f9d5=Object[_0x426336(0x2d1)],_0x380a66=(_0x3eddb7,_0x10de50,_0x234951)=>_0x10de50 in _0x3eddb7?_0x47bf41(_0x3eddb7,_0x10de50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x234951}):_0x3eddb7[_0x10de50]=_0x234951,_0x41b0f9=(_0x4b34c1,_0x44d0ff,_0x573960,_0x22e6fe)=>{const _0x185a9f=_0x426336;for(var _0xd1079=_0x22e6fe>0x1?void 0x0:_0x22e6fe?_0x23f9d5(_0x44d0ff,_0x573960):_0x44d0ff,_0xfe636d=_0x4b34c1[_0x185a9f(0x156)]-0x1,_0xb79751;_0xfe636d>=0x0;_0xfe636d--)(_0xb79751=_0x4b34c1[_0xfe636d])&&(_0xd1079=_0xb79751(_0xd1079)||_0xd1079);return _0xd1079;},_0x336e87=(_0x2127fb,_0x998867)=>(_0xb48afc,_0x287344)=>_0x998867(_0xb48afc,_0x287344,_0x2127fb),_0x1067bc=(_0x148137,_0x5d4269,_0x2ff1a5)=>_0x380a66(_0x148137,_0x5d4269+'',_0x2ff1a5);const _0x32ceb8=_0x426336(0x281);_0x22872a[_0x426336(0x1a3)]=class extends _0x453f4e[_0x426336(0x34c)]{constructor(_0xcfff5b=_0x2b868b,_0x513452,_0x5f399f,_0x104349){const _0x4a3adc=_0x426336;super(),this[_0x4a3adc(0x342)]=_0xcfff5b,this[_0x4a3adc(0x2f5)]=_0x513452,this[_0x4a3adc(0x326)]=_0x5f399f,this[_0x4a3adc(0x288)]=_0x104349;const {..._0x9d9827}=_0x453f4e[_0x4a3adc(0x284)]({},_0x2b868b,this[_0x4a3adc(0x342)]);this[_0x4a3adc(0x288)]['setConfig'](_0x1572c4,_0x9d9827);}['onStarting'](){const _0x520e30=_0x426336;[[_0x22872a['HistoryManagerService']],[_0x15a5b8],[_0x302cda],[_0x28365d],[_0x571ada],[_0x48988f],[_0x2f81c0['ISnapshotServerService'],{'useClass':_0x317887[_0x520e30(0x1ec)]}],[_0x222485[_0x520e30(0x1e4)],{'useClass':_0x91ca36}],[_0x3b78c9[_0x520e30(0x175)],{'useClass':_0x317887[_0x520e30(0x2d3)]}]]['forEach'](_0x45ca20=>this[_0x520e30(0x2f5)][_0x520e30(0x25b)](_0x45ca20)),this[_0x520e30(0x2f5)][_0x520e30(0x1ba)](_0x15a5b8);}[_0x426336(0x11b)](){const _0x26995e=_0x426336;[[_0x18a3b0]][_0x26995e(0x263)](_0x397259=>{const _0x48485d=_0x26995e;this[_0x48485d(0x2c9)](this['_renderManagerService'][_0x48485d(0x1e2)](_0x453f4e[_0x48485d(0x1af)][_0x48485d(0x152)],_0x397259));}),this[_0x26995e(0x2f5)][_0x26995e(0x1ba)](_0x48988f),this['_injector'][_0x26995e(0x1ba)](_0x571ada);}[_0x426336(0x123)](){const _0x557e66=_0x426336;this[_0x557e66(0x2f5)][_0x557e66(0x1ba)](_0x302cda);}},_0x1067bc(_0x22872a['UniverEditHistoryViewerPlugin'],_0x426336(0x2be),_0x32ceb8),_0x22872a[_0x426336(0x1a3)]=_0x41b0f9([_0x453f4e[_0x426336(0x1e5)](_0x11d4cb[_0x426336(0x160)],_0x210f5e[_0x426336(0x193)]),_0x336e87(0x1,_0x453f4e[_0x426336(0x151)](_0x453f4e[_0x426336(0x298)])),_0x336e87(0x2,_0x20176a['IRenderManagerService']),_0x336e87(0x3,_0x453f4e[_0x426336(0x24a)])],_0x22872a[_0x426336(0x1a3)]),_0x22872a[_0x426336(0x23b)]=_0xe51592,_0x22872a[_0x426336(0x2da)]=_0x4c7c94,Object[_0x426336(0x114)](_0x22872a,Symbol[_0x426336(0x182)],{'value':_0x426336(0x1db)});}));function _0x45b1(_0x7439bb,_0x390238){_0x7439bb=_0x7439bb-0xf5;const _0x4c0bfd=_0x4c0b();let _0x45b1b0=_0x4c0bfd[_0x7439bb];return _0x45b1b0;}function _0x4c0b(){const _0x2f7333=['findAllRectangle','Duplicate','WorkbookEditablePermission','HistoryModeStatus','skeleton','10mEUalp','ViewFilter','loadSheet','AddWorksheetMergeMutation','univer-text-gray-500','RenameSheet','getDialogs$','toDisposable','REDEMPTION_USER_NOT_ELIGIBLE','DeleteWorksheet','dateString','function','object','IConfigService','ICellEditorManagerService','Sort','SelectProtectedCells','ENTITLE_INVALID_COUPON_CODE','LocaleType','UNDEFINED','center','mutations','origin','showMask','univer-text-2xl\x20dark:!univer-text-white','_versionDiffService','mask','PivotTable','triggerLoadVersions','none','add','http://www.w3.org/2000/svg','setValue','syncExecuteCommand','YUUMI_NO_CUBOID_FOR_QUESTION','editHistory.panel.revertConfirm','COMPRESS_MUTATION_APPLY','startRow','forEach','concat','_commandService','HistoryManagerService','ENSURE_SNAPSHOT_EXECUTION','Edit','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getAncestorScale','univer-flex\x20univer-items-center\x20univer-justify-center','className','3370626LOAGPj','SetRangeValuesMutation','addObjects','_setVersions','changesets','275916fVQExD','_getRangesByMutation','Disposable','block','ENTITLE_REPORT_LIMIT_EXCEED','rxjs','subUnitId','userId','RestoreIcon','sheetId','YUUMI_AI_RUN_FAILED','substring','fetchThroughInterceptors','children','loadHistoryCreatorList','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','subscribeEvent','DisposableCollection','merge','1000','ViewHistory','jsx','_configService','_hasMore','YUUMI_UNABLE_LOAD_URL','_yieldToMain','div','HEADER','InsertColMutation','_initRender','_createUnit','SNAPSHOT_HAS_BEEN_REMOVED','RecoverHistory','useCallback','getInterceptPoints','string','loadingState','getUnitOnRev','Injector','loadInitialVersions','ENTITLE_USE_COUPON_NOT_1ST_TRADE','jsxs','active','borderBottomClassName','button','editHistory.action.revertSheetSuffix','SetSheetsFilterRangeMutation','justifyContent','editHistory.action.revertSheetPrefix','MOBILE_HAS_BEEN_BOUND','code','getCurrentVersion','padStart','action','status$','getCoordByCell','_loadParams','setCF','makeDirty','find','restore-icon','ISidebarService','triggerLoadSheet','_initMaskContainer','_currentVersion$','permissionPointUpdate$','BehaviorSubject','348134uzSugn','error','ZH_CN','Button','@univerjs-pro/collaboration','fetchCreatorList','REDEMPTION_CODE_HAS_BEEN_CREATED','loading','then','pluginName','combineLatest','canRevert','CreatePermissionObject','EditExtraObject','_univerInstanceService','INVITE_CODE_REQUIRED','current','@univerjs/data-validation','YUUMI_URL_COL_OUT_OF_RANGE','focusUnit','disposeWithMe','1em','evenodd','ISnapshotServerService','_extractRanges','MoveColsMutation','100%','2089595TgmRxm','getOwnPropertyDescriptor','use','CollaborationImageIoService','scrollEvent$','@univerjs/network','UniverProCollaborationClient','top','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','backgroundColor','HistoryOrigin','_componentManager','_cellEditorManagerService','editHistory.action.','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','UniverIcon','closeAll','ERROR_AGAIN','Filter','params','endRev','commands','getConfig','LoadingMultiIcon','UniverSheets','TOO_MANY_REQUESTS','value','editHistory.action.etc','dispose','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','getHours','loadMoreVersions','row','defIds','rgba(225,\x20225,\x20225,\x200.5)','currentSkeleton$','executeCommand','_injector','Unspecified','assign','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','_getAPIPrefix','memberId','HideWorksheet','useRef','color','entries','@univerjs/sheets','UNIVER_PROJECT','position','loaded','SetCellValue','exports','_versions$','keys','ensureVersion','univer-overflow-hidden','0\x200\x2016\x2017','bottom','HideSheet','_httpService','History','idSuffix','setDV','ALREADY_EXISTS','getMember','AddRangeProtectionMutation','UNRECOGNIZED','has','_sheetPermissionInitController','editHistory.panel.currentVersion','lastLabel','creators','RwHgtClWdt','_createMask','UniverDataValidation','@univerjs/sheets-ui','DeleteSheet','anonymous','displayName','FromArray','subType','updatePermissionPoint','NOT_FOUND','UniverProCollaborationClientUi','getMinutes','_renderManagerService','React','getVersion','toString','_compressMutationService','currentVersion','RenameWorksheet','CONNECTOR_DATA_TOO_LARGE','INVALID_ARGUMENT','recoverTime','SetWorksheetHideMutation','open','forwardRef','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','_historyContainerId','_init','close','currentVersionDiff$','YUUMI_RATE_OVER_LIMIT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_REJECT','rules','editHistory.header.revert','style','_status$','show','absolute','SetColumnStyle','_config','YUUMI_SUBSCRIPTION_NOT_FOUND','pipe','univer-ml-2\x20univer-flex\x20univer-h-5\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','Comment','flat','historyListServerUrl','date','getSheetObject','_revertRevision$','Plugin','interceptor','CURRENT_STATUS_CANNOT_OPERATE','transformSnapshotToWorkbookData','univer-animate-spin','@univerjs-pro/collaboration-client','INVALID_INVITE_CODE','_openPanel','177878GEJKyA','RemoveSheetMutation','all','LICENSE_DISTRO_REJECTED','editHistory.panel.confirm','loadingState$','45EjqJkU','set','xlink:href','editSheet','APPLY_REVISION_CONFILICT','APPLY_DUPLICATED','INVITE_CODE_HAS_BEEN_UES','SetRowStyle','triggerRevert','Subject','REDEMPTION_CODE_FULLY_REDEEMED','rule','endColumn','ENTITLE_DUP_SUBSCRIPTION','_maskContainer','SetWorksheetActiveOperation','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','MoveRowsMutation','#0B9EFB','editHistory.panel.unknownUser','querySelector','IMessageService','defineProperty','createElement','back-icon','name','white','FloatImg','isArray','onRendered','APPLY_NON_SEQUENTIAL_REVISION','blocks','Error','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','history-panel','UniverDesign','HTTPService','onSteady','editHistory.info.loading','Info','CreateSheet','MOBILE_VERIFY_CODE_MISMATCH','width','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','defs','includes','edit-history-viewer.config','UniverProSheetsChart','_removeDiffMarks','UpdateDataValidationMutation','entered','ENTITLE_NEED_BILLING_ADDRESS','editHistory.panel.cancel','replace','_permissionService','EMAIL_VERIFY_CODE_MISMATCH','LICENSE_MAX_UNITS_EXCEEDED','SetCellStyle','_getActiveSubUnitId','useDependency','blockMeta','_snapshotServerService','179949paxNii','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','display','removeSheet','column','_initActiveSwitch','ENTITLE_CHAT_LIMIT_EXCEED','deleteProtection','currentVersion$','useObservable','_diffs','primary','INTERNAL_ERROR','View','fill','RevertRevisionMutation','Vector2','ManageCollaborator','restore-icon_clip0_1247_2','user','InsertSheetMutation','Inject','UNIVER_SHEET','USER_IS_ANONYMOUS','DeleteRow','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','length','SheetPermissionInitController','MoveSheet','@univerjs/design','addProtection','UNIVER_DOC','REDEMPTION_INVALID_CODE','_sidebarDisposable','startColumn','ViemRwHgtClWdt','UniverSheetsUIPlugin','EditWorksheetCell','0\x200\x2016\x2016','11606535TewuJT','svg','_maskElement','SHEET_VIEWPORT_KEY','init','_sidebarService','getCurrentLocale','PY_RUNTIME_SCRIPT_ERROR','Today','span','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','REDEMPTION_CODE_NOT_STARTED','WorkbookRenameSheetPermission','SheetCollabCursorShape','isTransformMutationsSuccess','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','_currentVersionDiff$','revertSheet','IImageIoService','rev','zIndex','attrs','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','asObservable','registerComponent','@univerjs/ui','unitId$','AddDataValidationMutation','_lastPointer','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverSheetsFilter','toStringTag','UniverNetwork','PAYMENT_CHANNEL_NOT_SUPPORT','from','loading-multi-icon','_setFetching','PERMISSION_DENIED','height','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','url(#$1','_uiPartsService','endRow','SetFrozenMutation','versions$','UNAUTHENTICATED','_confirmService','Copy','UniverNetworkPlugin','EMAIL_HAS_BEEN_BOUND','_creators$','getDeserializedSheetBlock','COMPLETION_FINISHED','clipPath','Exited','editHistory.panel.revertConfirmText','BackIcon','_unitId$','Character','LOGIN_FAILED','_transformService','currentColor','VIRTUAL_VERSION_NOW','Loading','UniverEditHistoryViewerPlugin','getDataRange','LOGIN_TOKEN_PROCESSING_FAILED','CreateWorksheet','DATA_SOURCE_TOO_LARGE','Delete','UniverDrawing','MessageType','startRevision','filter','sheet','fetching$','UniverInstanceType','APPLY_PERMISSION_DENIED','values','Loaded','now','_transformMutationByOrder','REDEMPTION_CODE_INACTIVE','ReorderRangeMutation','next','@univerjs/core','body','get','SNAPSHOT_INVALID_SNAPSHOT','getElementById','176TOWwqe','hasCommand','react/jsx-runtime','RemoveNumfmtMutation','time','map','LICENSE_IMPORT_SIZE_EXCEEDED','Print','IConfirmService','_updateVersions','AddSheetSparklineMutation','rgba(58,\x2096,\x20247,\x200.20)','onMouseMove','switchMap','_members','exited','ENTITLE_COUPON_USED_UP','InsertHyperlink','IPermissionService','_dialogOptions$','YUUMI_ALL_TABLES_IS_INVALID','clsx','_updateDiffMarks','@univerjs/sheets-filter','IUniverInstanceService','revertRevision$','tag','UNIVER_UNKNOWN','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','MoveWorksheet','Module','_lastLabel','parseProtocolChangeset','history-mask','_localeService','cellValue','User','registerRenderModule','_loadingState$','IDialogService','DependentOn','_historyManagerService','userIds','_messageService','creators$','status','split','SnapshotServerOverHTTPService','UniverProSheetsSparkline','path','editHistory.panel.revertDesc','insertChart','_context','state$','workbook','LocaleService','append','/creators','some','_fetching$','users','_historyFetchService','@univerjs/drawing','createUnit','_combineRanges','SetConditionalRuleMutation','_workbookDataCache','InsertRow','ENTITLE_CAN_NOT_BUY_LOWER_OTP','insertSheet','LICENSE_EXPORT_SIZE_EXCEEDED','ObjectMatrix','DeleteRangeProtectionMutation','CopySheet','clear','editHistory.panel.currentUser','ranges','BuiltInUIPart','Export','YUUMI_CONNECTOR_URL_NOT_FOUND','unitId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs-pro/sheets-sparkline','ICommandService','reduce','random','colorChannel1','.univer-app-container-content','flex','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ENTITLE_COUPON_EXPIRED','subscribe','SetNumfmtMutation','CreateUnitMutation','UniverSheetsConditionalFormatting','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ComponentManager','getVersions','register','univer-m-auto\x20univer-animate-spin','VIEW_MAIN','SelectUnProtectedCells','push','_initPanel','SetRangeProtectionMutation','/list?','range','USER_NOT_FOUND',':\x20(','debounce','_sheetSkeletonManagerService','SetWorksheetStyle','Entered','fetching','USER_NOT_INVITED_CODE','UniverProCollaboration','addSparkline','toISOString','getCellPositionByOffset','_canRevert','CompressMutationService','getSeconds','_diffRangesMap'];_0x4c0b=function(){return _0x2f7333;};return _0x4c0b();}
17
+ function _0x5d9f(_0x1625bc,_0x1e9ab6){_0x1625bc=_0x1625bc-0x15b;const _0xb4051f=_0xb405();let _0x5d9f69=_0xb4051f[_0x1625bc];return _0x5d9f69;}(function(_0x3cdccd,_0x75982){const _0x555102=_0x5d9f,_0x122b5d=_0x3cdccd();while(!![]){try{const _0x2c3922=-parseInt(_0x555102(0x396))/0x1+parseInt(_0x555102(0x352))/0x2+parseInt(_0x555102(0x1e9))/0x3*(-parseInt(_0x555102(0x21a))/0x4)+parseInt(_0x555102(0x1a0))/0x5+-parseInt(_0x555102(0x327))/0x6*(-parseInt(_0x555102(0x1fc))/0x7)+parseInt(_0x555102(0x283))/0x8+-parseInt(_0x555102(0x20b))/0x9;if(_0x2c3922===_0x75982)break;else _0x122b5d['push'](_0x122b5d['shift']());}catch(_0x2d6185){_0x122b5d['push'](_0x122b5d['shift']());}}}(_0xb405,0xce2e5),function(_0x447d21,_0x34deb2){const _0x32948c=_0x5d9f;typeof exports=='object'&&typeof module<'u'?_0x34deb2(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x32948c(0x2e5)&&define[_0x32948c(0x198)]?define([_0x32948c(0x254),_0x32948c(0x1a7),_0x32948c(0x279),_0x32948c(0x2a7),'@univerjs/drawing','@univerjs/engine-render',_0x32948c(0x297),_0x32948c(0x361),'@univerjs/ui',_0x32948c(0x15c),_0x32948c(0x2bc),'rxjs',_0x32948c(0x2c8),_0x32948c(0x354),_0x32948c(0x367),_0x32948c(0x2e6),'@univerjs/sheets-filter',_0x32948c(0x2b5),_0x32948c(0x1e7),_0x32948c(0x329)],_0x34deb2):(_0x447d21=typeof globalThis<'u'?globalThis:_0x447d21||self,_0x34deb2(_0x447d21[_0x32948c(0x363)]={},_0x447d21['UniverProCollaboration'],_0x447d21[_0x32948c(0x221)],_0x447d21[_0x32948c(0x281)],_0x447d21[_0x32948c(0x22c)],_0x447d21[_0x32948c(0x2e7)],_0x447d21[_0x32948c(0x258)],_0x447d21[_0x32948c(0x1cb)],_0x447d21[_0x32948c(0x349)],_0x447d21[_0x32948c(0x1fb)],_0x447d21['UniverSheets'],_0x447d21[_0x32948c(0x177)],_0x447d21[_0x32948c(0x218)],_0x447d21['UniverProSheetsSparkline'],_0x447d21[_0x32948c(0x306)],_0x447d21['UniverSheetsConditionalFormatting'],_0x447d21[_0x32948c(0x274)],_0x447d21[_0x32948c(0x1f8)],_0x447d21[_0x32948c(0x1f8)],_0x447d21[_0x32948c(0x211)]));}(this,function(_0x1ad3a3,_0xee6c7a,_0x3abb35,_0x28d9bc,_0x1affa5,_0x11ab04,_0x241184,_0x34a093,_0xeea292,_0x112604,_0x28a46c,_0x406749,_0x522e75,_0x565dd7,_0x510223,_0x26f653,_0x88e884,_0x2f2389,_0x5151df,_0x5e3575){'use strict';const _0x40a7b4=_0x5d9f;var _0x35266a=Object[_0x40a7b4(0x38d)],_0x264879=(_0x3d64f3,_0x1d0877,_0x549068)=>_0x1d0877 in _0x3d64f3?_0x35266a(_0x3d64f3,_0x1d0877,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x549068}):_0x3d64f3[_0x1d0877]=_0x549068,_0x29ae5b=(_0x48d8ed,_0x40710d,_0x2b7566)=>_0x264879(_0x48d8ed,typeof _0x40710d!='symbol'?_0x40710d+'':_0x40710d,_0x2b7566);const _0x14b81e='edit-history-viewer.config',_0x468b0d={};var _0xb6eda7=Object['getOwnPropertyDescriptor'],_0x252d1c=(_0x401594,_0x1c3253,_0x4181cd,_0x8e244a)=>{const _0x2d9bdf=_0x40a7b4;for(var _0x43c69b=_0x8e244a>0x1?void 0x0:_0x8e244a?_0xb6eda7(_0x1c3253,_0x4181cd):_0x1c3253,_0x26b4d8=_0x401594[_0x2d9bdf(0x1c2)]-0x1,_0x12054c;_0x26b4d8>=0x0;_0x26b4d8--)(_0x12054c=_0x401594[_0x26b4d8])&&(_0x43c69b=_0x12054c(_0x43c69b)||_0x43c69b);return _0x43c69b;},_0x41c4ff=(_0x4cf6ba,_0x51de7c)=>(_0x3bdccd,_0x475858)=>_0x51de7c(_0x3bdccd,_0x475858,_0x4cf6ba);let _0x3e3526=class extends _0x28d9bc[_0x40a7b4(0x1f7)]{constructor(_0x297f2b){const _0xbb13c3=_0x40a7b4;super(),this[_0xbb13c3(0x3a2)]=_0x297f2b,this[_0xbb13c3(0x1c4)]();}[_0x40a7b4(0x1c4)](){const _0x148261=_0x40a7b4;this['disposeWithMe'](this['_cellEditorManagerService'][_0x148261(0x38a)][_0x148261(0x18b)](_0x479775=>{const _0x15560d=_0x148261;_0x479775!=null&&_0x479775['show']&&this[_0x15560d(0x3a2)][_0x15560d(0x263)]({'show':!0x1});}));}};_0x3e3526=_0x252d1c([_0x41c4ff(0x0,_0x34a093[_0x40a7b4(0x226)])],_0x3e3526);var _0x439aa5=(_0x594933=>(_0x594933[_0x594933['UNDEFINED']=0x0]=_0x40a7b4(0x1c7),_0x594933[_0x594933['OK']=0x1]='OK',_0x594933[_0x594933['INTERNAL_ERROR']=0x2]=_0x40a7b4(0x33a),_0x594933[_0x594933[_0x40a7b4(0x2f4)]=0x3]=_0x40a7b4(0x2f4),_0x594933[_0x594933[_0x40a7b4(0x39c)]=0x4]='NOT_FOUND',_0x594933[_0x594933['UNAUTHENTICATED']=0x5]=_0x40a7b4(0x296),_0x594933[_0x594933[_0x40a7b4(0x2d4)]=0x6]='ALREADY_EXISTS',_0x594933[_0x594933[_0x40a7b4(0x174)]=0x7]='INVALID_ARGUMENT',_0x594933[_0x594933[_0x40a7b4(0x24d)]=0x8]=_0x40a7b4(0x24d),_0x594933[_0x594933[_0x40a7b4(0x2cb)]=0x9]=_0x40a7b4(0x2cb),_0x594933[_0x594933[_0x40a7b4(0x28a)]=0xa]=_0x40a7b4(0x28a),_0x594933[_0x594933['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x594933[_0x594933[_0x40a7b4(0x313)]=0xc]=_0x40a7b4(0x313),_0x594933[_0x594933[_0x40a7b4(0x2cc)]=0xd]=_0x40a7b4(0x2cc),_0x594933[_0x594933[_0x40a7b4(0x2a1)]=0xe]=_0x40a7b4(0x2a1),_0x594933[_0x594933['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x40a7b4(0x1ed),_0x594933[_0x594933[_0x40a7b4(0x290)]=0x10]=_0x40a7b4(0x290),_0x594933[_0x594933[_0x40a7b4(0x350)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x594933[_0x594933['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x594933[_0x594933[_0x40a7b4(0x38c)]=0xc9]='USER_NOT_FOUND',_0x594933[_0x594933['USER_IS_ANONYMOUS']=0xca]=_0x40a7b4(0x213),_0x594933[_0x594933[_0x40a7b4(0x2c9)]=0x1389]=_0x40a7b4(0x2c9),_0x594933[_0x594933[_0x40a7b4(0x25e)]=0x1771]=_0x40a7b4(0x25e),_0x594933[_0x594933[_0x40a7b4(0x17c)]=0x1772]=_0x40a7b4(0x17c),_0x594933[_0x594933[_0x40a7b4(0x2a8)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x594933[_0x594933[_0x40a7b4(0x18a)]=0x1b59]=_0x40a7b4(0x18a),_0x594933[_0x594933[_0x40a7b4(0x23a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x594933[_0x594933[_0x40a7b4(0x28b)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x594933[_0x594933[_0x40a7b4(0x1bf)]=0x1b5c]=_0x40a7b4(0x1bf),_0x594933[_0x594933[_0x40a7b4(0x2b9)]=0x1b5d]=_0x40a7b4(0x2b9),_0x594933[_0x594933[_0x40a7b4(0x28f)]=0x1f41]=_0x40a7b4(0x28f),_0x594933[_0x594933['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x40a7b4(0x382),_0x594933[_0x594933[_0x40a7b4(0x265)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x594933[_0x594933[_0x40a7b4(0x1c1)]=0x232b]=_0x40a7b4(0x1c1),_0x594933[_0x594933['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x40a7b4(0x328),_0x594933[_0x594933[_0x40a7b4(0x23b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x594933[_0x594933[_0x40a7b4(0x193)]=0x2711]=_0x40a7b4(0x193),_0x594933[_0x594933['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x594933[_0x594933[_0x40a7b4(0x1b9)]=0x2713]=_0x40a7b4(0x1b9),_0x594933[_0x594933[_0x40a7b4(0x1bb)]=0x2714]=_0x40a7b4(0x1bb),_0x594933[_0x594933[_0x40a7b4(0x160)]=0x271a]=_0x40a7b4(0x160),_0x594933[_0x594933[_0x40a7b4(0x2d6)]=0x271b]=_0x40a7b4(0x2d6),_0x594933[_0x594933[_0x40a7b4(0x309)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x594933[_0x594933[_0x40a7b4(0x2b6)]=0x271d]=_0x40a7b4(0x2b6),_0x594933[_0x594933[_0x40a7b4(0x1a5)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x594933[_0x594933[_0x40a7b4(0x1b7)]=0x271f]=_0x40a7b4(0x1b7),_0x594933[_0x594933[_0x40a7b4(0x3ac)]=0x2720]=_0x40a7b4(0x3ac),_0x594933[_0x594933['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x594933[_0x594933['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x40a7b4(0x30b),_0x594933[_0x594933['INVALID_INVITE_CODE']=0x2ee2]=_0x40a7b4(0x1e5),_0x594933[_0x594933[_0x40a7b4(0x17e)]=0x2ee3]=_0x40a7b4(0x17e),_0x594933[_0x594933[_0x40a7b4(0x1ca)]=0x2ee4]=_0x40a7b4(0x1ca),_0x594933[_0x594933['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x40a7b4(0x1a1),_0x594933[_0x594933[_0x40a7b4(0x1e8)]=0x32c9]=_0x40a7b4(0x1e8),_0x594933[_0x594933[_0x40a7b4(0x2ef)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x594933[_0x594933[_0x40a7b4(0x3b0)]=0x32cb]=_0x40a7b4(0x3b0),_0x594933[_0x594933[_0x40a7b4(0x1c0)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x594933[_0x594933['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x40a7b4(0x202),_0x594933[_0x594933[_0x40a7b4(0x39a)]=0x36b3]=_0x40a7b4(0x39a),_0x594933[_0x594933[_0x40a7b4(0x230)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x594933[_0x594933['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x40a7b4(0x255),_0x594933[_0x594933[_0x40a7b4(0x16f)]=0x36b6]=_0x40a7b4(0x16f),_0x594933[_0x594933[_0x40a7b4(0x1e2)]=0x36b7]=_0x40a7b4(0x1e2),_0x594933[_0x594933['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x594933[_0x594933[_0x40a7b4(0x37f)]=0x3715]=_0x40a7b4(0x37f),_0x594933[_0x594933[_0x40a7b4(0x240)]=0x3716]=_0x40a7b4(0x240),_0x594933[_0x594933[_0x40a7b4(0x384)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x594933[_0x594933[_0x40a7b4(0x169)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x594933[_0x594933[_0x40a7b4(0x1b4)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x594933[_0x594933[_0x40a7b4(0x1a6)]=0x3a9a]=_0x40a7b4(0x1a6),_0x594933[_0x594933['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x40a7b4(0x2bf),_0x594933[_0x594933[_0x40a7b4(0x28e)]=0x3a9c]=_0x40a7b4(0x28e),_0x594933[_0x594933[_0x40a7b4(0x355)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x594933[_0x594933[_0x40a7b4(0x29f)]=0x3a9e]=_0x40a7b4(0x29f),_0x594933[_0x594933['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x594933[_0x594933[_0x40a7b4(0x223)]=0x3e81]=_0x40a7b4(0x223),_0x594933[_0x594933[_0x40a7b4(0x2bd)]=-0x1]=_0x40a7b4(0x2bd),_0x594933))(_0x439aa5||{}),_0x4f15e3=(_0x43b859=>(_0x43b859[_0x43b859['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x43b859[_0x43b859[_0x40a7b4(0x1d6)]=0x1]=_0x40a7b4(0x1d6),_0x43b859[_0x43b859[_0x40a7b4(0x16b)]=0x2]=_0x40a7b4(0x16b),_0x43b859[_0x43b859[_0x40a7b4(0x18e)]=0x3]=_0x40a7b4(0x18e),_0x43b859[_0x43b859['UNIVER_PROJECT']=0x4]=_0x40a7b4(0x266),_0x43b859[_0x43b859[_0x40a7b4(0x2bd)]=-0x1]=_0x40a7b4(0x2bd),_0x43b859))(_0x4f15e3||{}),_0x282356=(_0x32d057=>(_0x32d057[_0x32d057[_0x40a7b4(0x15f)]=0x0]=_0x40a7b4(0x15f),_0x32d057[_0x32d057['Edit']=0x1]=_0x40a7b4(0x2fa),_0x32d057[_0x32d057[_0x40a7b4(0x3a0)]=0x2]=_0x40a7b4(0x3a0),_0x32d057[_0x32d057[_0x40a7b4(0x25b)]=0x3]=_0x40a7b4(0x25b),_0x32d057[_0x32d057[_0x40a7b4(0x1e0)]=0x4]='Duplicate',_0x32d057[_0x32d057[_0x40a7b4(0x235)]=0x5]=_0x40a7b4(0x235),_0x32d057[_0x32d057['Copy']=0x6]=_0x40a7b4(0x1d1),_0x32d057[_0x32d057[_0x40a7b4(0x1fa)]=0x7]='Share',_0x32d057[_0x32d057[_0x40a7b4(0x1b6)]=0x8]=_0x40a7b4(0x1b6),_0x32d057[_0x32d057[_0x40a7b4(0x25d)]=0x9]=_0x40a7b4(0x25d),_0x32d057[_0x32d057['DeleteWorksheet']=0xa]=_0x40a7b4(0x2d9),_0x32d057[_0x32d057[_0x40a7b4(0x38f)]=0xb]=_0x40a7b4(0x38f),_0x32d057[_0x32d057[_0x40a7b4(0x2b4)]=0xc]='RenameWorksheet',_0x32d057[_0x32d057[_0x40a7b4(0x2b1)]=0xd]=_0x40a7b4(0x2b1),_0x32d057[_0x32d057['SetWorksheetStyle']=0xe]=_0x40a7b4(0x1f5),_0x32d057[_0x32d057[_0x40a7b4(0x34f)]=0xf]='EditWorksheetCell',_0x32d057[_0x32d057[_0x40a7b4(0x2a2)]=0x10]=_0x40a7b4(0x2a2),_0x32d057[_0x32d057['Sort']=0x11]=_0x40a7b4(0x351),_0x32d057[_0x32d057[_0x40a7b4(0x2ca)]=0x12]=_0x40a7b4(0x2ca),_0x32d057[_0x32d057['PivotTable']=0x13]='PivotTable',_0x32d057[_0x32d057[_0x40a7b4(0x287)]=0x14]=_0x40a7b4(0x287),_0x32d057[_0x32d057['History']=0x15]='History',_0x32d057[_0x32d057[_0x40a7b4(0x1d8)]=0x16]=_0x40a7b4(0x1d8),_0x32d057[_0x32d057[_0x40a7b4(0x2ea)]=0x17]=_0x40a7b4(0x2ea),_0x32d057[_0x32d057['ViewFilter']=0x18]=_0x40a7b4(0x387),_0x32d057[_0x32d057[_0x40a7b4(0x36f)]=0x19]='MoveSheet',_0x32d057[_0x32d057[_0x40a7b4(0x373)]=0x1a]=_0x40a7b4(0x373),_0x32d057[_0x32d057[_0x40a7b4(0x1e4)]=0x1b]=_0x40a7b4(0x1e4),_0x32d057[_0x32d057[_0x40a7b4(0x323)]=0x1c]=_0x40a7b4(0x323),_0x32d057[_0x32d057[_0x40a7b4(0x29a)]=0x1d]=_0x40a7b4(0x29a),_0x32d057[_0x32d057[_0x40a7b4(0x37b)]=0x1e]='CreateSheet',_0x32d057[_0x32d057[_0x40a7b4(0x31a)]=0x1f]=_0x40a7b4(0x31a),_0x32d057[_0x32d057[_0x40a7b4(0x2b8)]=0x20]='SelectUnProtectedCells',_0x32d057[_0x32d057[_0x40a7b4(0x180)]=0x21]='SetCellStyle',_0x32d057[_0x32d057['SetCellValue']=0x22]=_0x40a7b4(0x1e3),_0x32d057[_0x32d057[_0x40a7b4(0x2c3)]=0x23]=_0x40a7b4(0x2c3),_0x32d057[_0x32d057[_0x40a7b4(0x1a2)]=0x24]='SetColumnStyle',_0x32d057[_0x32d057[_0x40a7b4(0x34b)]=0x25]=_0x40a7b4(0x34b),_0x32d057[_0x32d057[_0x40a7b4(0x21d)]=0x26]=_0x40a7b4(0x21d),_0x32d057[_0x32d057[_0x40a7b4(0x162)]=0x27]='DeleteRow',_0x32d057[_0x32d057[_0x40a7b4(0x242)]=0x28]='DeleteColumn',_0x32d057[_0x32d057[_0x40a7b4(0x1ad)]=0x29]='EditExtraObject',_0x32d057[_0x32d057[_0x40a7b4(0x22f)]=0x2a]=_0x40a7b4(0x22f),_0x32d057[_0x32d057[_0x40a7b4(0x26b)]=0x2b]=_0x40a7b4(0x26b),_0x32d057[_0x32d057[_0x40a7b4(0x26f)]=0x2c]=_0x40a7b4(0x26f),_0x32d057[_0x32d057[_0x40a7b4(0x35a)]=0x2d]=_0x40a7b4(0x35a),_0x32d057[_0x32d057[_0x40a7b4(0x2bd)]=-0x1]=_0x40a7b4(0x2bd),_0x32d057))(_0x282356||{});function _0x3fcced(_0x3864c0){const _0x372907=_0x40a7b4;return!!(_0x3864c0&&_0x3864c0[_0x372907(0x2de)]&&_0x3864c0[_0x372907(0x2de)]!==_0x439aa5['OK']&&_0x3864c0[_0x372907(0x2de)]!=='OK');}const _0x11108c=(_0x55a75f,_0x5b2062)=>{const _0x10fc10=_0x40a7b4;if(!_0x55a75f)return{'date':'','time':''};const _0xf95924=new Date(_0x55a75f),_0x4f026c=_0xf95924['toISOString']()[_0x10fc10(0x380)]('T')[0x0];return _0x5b2062===_0x28d9bc['LocaleType']['ZH_CN']?{'date':_0x31de02(_0x4f026c,_0x5b2062),'time':_0xf95924[_0x10fc10(0x164)]()+':'+String(_0xf95924[_0x10fc10(0x276)]())[_0x10fc10(0x16d)](0x2,'0')+':'+String(_0xf95924[_0x10fc10(0x1f4)]())['padStart'](0x2,'0')}:{'date':_0x31de02(_0x4f026c,_0x5b2062),'time':_0xf95924[_0x10fc10(0x164)]()+':'+_0xf95924[_0x10fc10(0x276)]()+':'+_0xf95924[_0x10fc10(0x1f4)]()};},_0xc8eb9a=(_0xd5768e,_0xa68a34)=>{const _0x37811d=_0x40a7b4,_0x270935=_0xd5768e[_0x37811d(0x20e)]||_0xa68a34['t'](_0x37811d(0x3a6));if(_0xd5768e[_0x37811d(0x2cd)][_0x37811d(0x346)](_0x4287e9=>_0x4287e9===_0xee6c7a[_0x37811d(0x31e)]['id'])&&_0xd5768e[_0x37811d(0x325)]){const _0x178dbb=_0x11108c(_0xd5768e[_0x37811d(0x325)],_0xa68a34['getCurrentLocale']()),_0x172938=_0x178dbb['date']+'\x20'+_0x178dbb[_0x37811d(0x206)];return _0x270935+'\x20'+_0xa68a34['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0x172938+'\x20'+_0xa68a34['t'](_0x37811d(0x173));}const _0x303fa3=_0x25616f(_0xd5768e),_0x431813=_0x303fa3[_0x37811d(0x1c2)]===0x1?_0xa68a34['t'](_0x303fa3[0x0]):''+_0xa68a34['t'](_0x303fa3[0x0])+_0xa68a34['t'](_0x37811d(0x362));return _0x270935+'\x20'+_0x431813;};function _0x25616f(_0x4dff8d){const _0x5e560d=_0x40a7b4;if(_0x4dff8d[_0x5e560d(0x2cd)][_0x5e560d(0x1c2)]===0x0)return[''];const _0x4b0500=_0x5e560d(0x201),_0x3993e9=_0x4b0500+_0x5e560d(0x2f9),_0x12fc8c=[{'id':_0xee6c7a[_0x5e560d(0x20d)]['id'],'action':_0x4b0500+_0x5e560d(0x1c9)},{'id':_0xee6c7a[_0x5e560d(0x31e)]['id'],'action':_0x4b0500+_0x5e560d(0x1aa)},{'id':_0x28a46c['InsertSheetMutation']['id'],'action':_0x4b0500+_0x5e560d(0x270)},{'id':_0x28a46c[_0x5e560d(0x39f)]['id'],'action':_0x4b0500+_0x5e560d(0x37a)},{'id':_0x28a46c['SetFrozenMutation']['id'],'action':_0x4b0500+_0x5e560d(0x238)},{'id':_0x88e884[_0x5e560d(0x224)]['id'],'action':_0x4b0500+_0x5e560d(0x32e)},{'id':_0x510223[_0x5e560d(0x347)]['id'],'action':_0x4b0500+_0x5e560d(0x196)},{'id':_0x510223[_0x5e560d(0x27c)]['id'],'action':_0x4b0500+_0x5e560d(0x196)},{'id':_0x26f653[_0x5e560d(0x171)]['id'],'action':_0x4b0500+'setCF'},{'id':_0x26f653[_0x5e560d(0x377)]['id'],'action':_0x4b0500+_0x5e560d(0x1b8)},{'id':_0x28a46c['AddWorksheetProtectionMutation']['id'],'action':_0x4b0500+_0x5e560d(0x305)},{'id':_0x28a46c[_0x5e560d(0x191)]['id'],'action':_0x4b0500+_0x5e560d(0x305)},{'id':_0x565dd7[_0x5e560d(0x185)]['id'],'action':_0x4b0500+'addSparkline'},{'id':_0x522e75['InsertSheetsChartMutation']['id'],'action':_0x4b0500+_0x5e560d(0x32c)},{'id':_0x28a46c[_0x5e560d(0x1c8)]['id'],'action':_0x4b0500+'deleteProtection'},{'id':_0x28a46c['DeleteWorksheetProtectionMutation']['id'],'action':_0x4b0500+_0x5e560d(0x1c6)}][_0x5e560d(0x36c)](_0x4c3d87=>_0x4dff8d['commands'][_0x5e560d(0x312)](_0x4c3d87['id']));return _0x12fc8c!=null&&_0x12fc8c[_0x5e560d(0x1c2)]?_0x12fc8c[_0x5e560d(0x394)](_0x2774b=>_0x2774b[_0x5e560d(0x257)]):[_0x3993e9];}function _0x31de02(_0x118e6,_0x171572){const _0x2f5d2c=_0x40a7b4,[_0x56255f,_0x41c03,_0x209430]=new Date()[_0x2f5d2c(0x3a7)]()[_0x2f5d2c(0x380)]('T')[0x0][_0x2f5d2c(0x380)]('-'),[_0x213b46,_0xadc1de,_0x2d37ff]=_0x118e6[_0x2f5d2c(0x380)]('-'),_0x4c9eda=_0x56255f===_0x213b46&&_0x41c03===_0xadc1de&&_0x209430===_0x2d37ff;let _0x11c753='',_0x1a73da='',_0x213e1b='';return _0x171572===_0x28d9bc[_0x2f5d2c(0x322)][_0x2f5d2c(0x34c)]?_0x4c9eda?'今天':(_0x11c753=_0x56255f===_0x213b46?'':_0x213b46+'年',_0x1a73da=_0xadc1de+'月',_0x213e1b=_0x2d37ff+'日',''+_0x11c753+_0x1a73da+_0x213e1b):_0x4c9eda?_0x2f5d2c(0x1e1):(_0x11c753=_0x56255f===_0x213b46?'':_0x213b46+'-',_0x1a73da=_0xadc1de+'-',_0x213e1b=''+_0x2d37ff,''+_0x11c753+_0x1a73da+_0x213e1b);}function _0x409b50(_0x2805c8){const _0x57a643=_0x40a7b4;return _0x2805c8?_0x2805c8[_0x57a643(0x1df)]((_0x16fd08,_0x264f45)=>{const _0x19d0c2=_0x57a643,_0x56daad=new Date(_0x264f45[_0x19d0c2(0x206)])['toISOString']()['split']('T')[0x0];return _0x16fd08[_0x19d0c2(0x1c2)]>0x0&&_0x16fd08[_0x16fd08[_0x19d0c2(0x1c2)]-0x1]['dateString']===_0x56daad?_0x16fd08[_0x16fd08[_0x19d0c2(0x1c2)]-0x1][_0x19d0c2(0x188)][_0x19d0c2(0x34a)](_0x264f45):_0x16fd08['push']({'dateString':_0x56daad,'versions':[_0x264f45]}),_0x16fd08;},[]):[];}var _0x5195b2=Object[_0x40a7b4(0x2f0)],_0x35e4a1=(_0x14455c,_0x46f156,_0x21e4b0,_0x561ca5)=>{const _0x2005b0=_0x40a7b4;for(var _0x35633=_0x561ca5>0x1?void 0x0:_0x561ca5?_0x5195b2(_0x46f156,_0x21e4b0):_0x46f156,_0x1f9c13=_0x14455c[_0x2005b0(0x1c2)]-0x1,_0x4abc22;_0x1f9c13>=0x0;_0x1f9c13--)(_0x4abc22=_0x14455c[_0x1f9c13])&&(_0x35633=_0x4abc22(_0x35633)||_0x35633);return _0x35633;},_0x4ea5eb=(_0x194393,_0x348dbc)=>(_0x4a42dd,_0x173c16)=>_0x348dbc(_0x4a42dd,_0x173c16,_0x194393),_0x19911b=(_0x9e5bf4=>(_0x9e5bf4[_0x9e5bf4['Unspecified']=0x0]=_0x40a7b4(0x33c),_0x9e5bf4[_0x9e5bf4[_0x40a7b4(0x303)]=0x1]=_0x40a7b4(0x303),_0x9e5bf4[_0x9e5bf4[_0x40a7b4(0x3a5)]=0x2]=_0x40a7b4(0x3a5),_0x9e5bf4))(_0x19911b||{});const _0x48004f=_0x40a7b4(0x30e);let _0x1b15a9=class extends _0x28d9bc['Disposable']{constructor(_0x1c43b3,_0x42d1d7,_0xf6fa22,_0x5b6a5a,_0x12f673,_0x54c824,_0x35d001){const _0x485d43=_0x40a7b4;super(),_0x29ae5b(this,'_workbookDataCache',new Map()),(this['_snapshotServerService']=_0x1c43b3,this[_0x485d43(0x2df)]=_0x42d1d7,this[_0x485d43(0x321)]=_0xf6fa22,this[_0x485d43(0x356)]=_0x5b6a5a,this[_0x485d43(0x19e)]=_0x12f673,this[_0x485d43(0x1f3)]=_0x54c824,this[_0x485d43(0x320)]=_0x35d001);}['dispose'](){const _0x271dd=_0x40a7b4;this[_0x271dd(0x393)][_0x271dd(0x35d)](),super[_0x271dd(0x18f)]();}async[_0x40a7b4(0x200)](_0x2f2b9b){const _0x8f39a9=_0x40a7b4;try{const _0x26d563=(await this['_httpService']['get'](this['_getAPIPrefix']()+'/'+_0x2f2b9b+_0x8f39a9(0x24f)))['body'];if(_0x26d563&&_0x26d563['error']&&_0x26d563[_0x8f39a9(0x293)][_0x8f39a9(0x2de)]===_0x439aa5['OK'])return _0x26d563[_0x8f39a9(0x2f2)];}catch(_0x126a77){console[_0x8f39a9(0x293)](_0x126a77);}return[];}async[_0x40a7b4(0x227)](_0x17fb09,_0x5c3eb6){const _0x36008d=_0x40a7b4,{userIds:_0x1077ea,lastLabel:_0x5cdbdb,origin:_0x2a8b61}=_0x5c3eb6!=null?_0x5c3eb6:{},_0x289be1=new URLSearchParams();_0x289be1[_0x36008d(0x30a)]('length','20'),_0x5cdbdb&&_0x289be1['set'](_0x36008d(0x2b3),_0x5cdbdb),_0x1077ea==null||_0x1077ea[_0x36008d(0x1a8)](_0x207832=>{const _0x5c257f=_0x36008d;_0x289be1[_0x5c257f(0x32b)](_0x5c257f(0x23e),_0x207832);}),_0x2a8b61&&_0x289be1['set'](_0x36008d(0x334),_0x2a8b61['toString']());const _0x1e7bfe=this[_0x36008d(0x33e)]()+'/'+_0x17fb09+'/list?'+_0x289be1[_0x36008d(0x348)]();try{const _0x3f9c20=(await this['_httpService'][_0x36008d(0x38b)](_0x1e7bfe))[_0x36008d(0x3ab)];if(_0x3f9c20&&_0x3f9c20[_0x36008d(0x293)]&&_0x3f9c20[_0x36008d(0x293)][_0x36008d(0x2de)]===_0x439aa5['OK']){const {hasMore:_0x3c8b02,lastLabel:_0x5336e9}=_0x3f9c20,_0x189096=_0x17a62e(_0x3f9c20),_0x1ee90c=_0x3f9c20[_0x36008d(0x216)][_0x36008d(0x368)];return{'hasMore':_0x3c8b02,'lastLabel':_0x5336e9,'versions':_0x189096,'members':_0x1ee90c};}}catch(_0x155c76){console['error'](_0x155c76);}return null;}['_getAPIPrefix'](){const _0x2e7804=_0x40a7b4;var _0x54c2e1;const _0x3bf3a5=this[_0x2e7804(0x356)]['getConfig'](_0x14b81e);return(_0x54c2e1=_0x3bf3a5==null?void 0x0:_0x3bf3a5[_0x2e7804(0x245)])!=null?_0x54c2e1:_0x48004f;}async[_0x40a7b4(0x360)](_0x141368,_0x5480c2,_0x25bfc5){const _0x3d6dc5=_0x40a7b4;var _0x31c4d3,_0x420068;_0x25bfc5===void 0x0&&(_0x25bfc5={}),this['_workbookDataCache'][_0x3d6dc5(0x170)](_0x141368)||this[_0x3d6dc5(0x393)][_0x3d6dc5(0x30a)](_0x141368,new Map());const {snapshot:_0x39ffb3,changesets:_0x1bf786,error:_0x207caa}=await this['_snapshotServerService'][_0x3d6dc5(0x39b)](_0x25bfc5,{'unitID':_0x141368,'type':_0x4f15e3['UNIVER_SHEET'],'revision':_0x5480c2});if(_0x3fcced(_0x207caa)||!_0x39ffb3||!_0x39ffb3[_0x3d6dc5(0x247)])throw new Error(_0x3d6dc5(0x2d8));const _0x5be67b=(_0x31c4d3=_0x1bf786==null?void 0x0:_0x1bf786['length'])!=null?_0x31c4d3:0x0;if(_0x5480c2!==0x0&&_0x39ffb3[_0x3d6dc5(0x2a4)]+_0x5be67b!==_0x5480c2)throw new Error(_0x3d6dc5(0x1bd));const {workbook:_0x295c79}=_0x39ffb3,_0x265ca8=_0x295c79['blockMeta']?Object[_0x3d6dc5(0x17d)](_0x295c79[_0x3d6dc5(0x2f7)])['map'](([_0x3011b7,_0x2b02fc])=>{const _0x2387e5=_0x3d6dc5;var _0x5a54fb,_0x22c465;return(_0x22c465=(_0x5a54fb=_0x2b02fc[_0x2387e5(0x2c0)])==null?void 0x0:_0x5a54fb[_0x2387e5(0x394)](_0x118da4=>_0x118da4))!=null?_0x22c465:[];})[_0x3d6dc5(0x269)]():[],_0x528e24=(await Promise[_0x3d6dc5(0x30c)](_0x265ca8['map'](_0x220ad=>this['_snapshotServerService'][_0x3d6dc5(0x163)](_0x25bfc5,{'unitID':_0x141368,'type':_0x4f15e3[_0x3d6dc5(0x16b)],'blockID':_0x220ad})[_0x3d6dc5(0x390)](_0x30b578=>_0x30b578[_0x3d6dc5(0x1ea)]))))[_0x3d6dc5(0x36c)](_0x244ae4=>!!_0x244ae4),_0x733a1f=await _0xee6c7a[_0x3d6dc5(0x239)](_0x39ffb3,_0x528e24,_0x25bfc5);return(_0x420068=this[_0x3d6dc5(0x393)][_0x3d6dc5(0x38b)](_0x141368))==null||_0x420068[_0x3d6dc5(0x30a)](_0x5480c2,{'workbook':_0x733a1f}),new Promise(_0x556a54=>{const _0x1e82fb=_0x3d6dc5,_0x2f0697=this[_0x1e82fb(0x2df)]['getCurrentUnitForType'](_0x28d9bc[_0x1e82fb(0x1be)][_0x1e82fb(0x16b)]);_0x2f0697?(this[_0x1e82fb(0x2df)][_0x1e82fb(0x23f)](_0x2f0697[_0x1e82fb(0x3aa)]()),setTimeout(()=>{const _0x10f73d=_0x1e82fb;this[_0x10f73d(0x301)](_0x733a1f,_0x1bf786),this[_0x10f73d(0x320)]['refreshRangeProtectPermission'](),_0x556a54(!0x0);},0x0)):(this[_0x1e82fb(0x301)](_0x733a1f,_0x1bf786),_0x556a54(!0x0));});}[_0x40a7b4(0x301)](_0x55c75c,_0x4a1835){const _0x11917f=_0x40a7b4,_0xc7d180=this[_0x11917f(0x2df)][_0x11917f(0x2d0)](_0x28d9bc[_0x11917f(0x1be)]['UNIVER_SHEET'],_0x55c75c);this[_0x11917f(0x2df)]['focusUnit'](_0xc7d180[_0x11917f(0x3aa)]());const _0x20b61b=this[_0x11917f(0x1f3)][_0x11917f(0x333)][_0x11917f(0x24c)](this[_0x11917f(0x1f3)][_0x11917f(0x333)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);return _0x4a1835==null||_0x4a1835[_0x11917f(0x1a8)](_0x400a0b=>{const _0x47a636=_0x11917f,_0x2273af=_0x400a0b[_0x47a636(0x1b3)][_0x47a636(0x394)](_0xa184b0=>({'id':_0xa184b0['id'],'params':JSON[_0x47a636(0x282)](_0xa184b0[_0x47a636(0x229)])}));({..._0x400a0b,'mutations':_0x20b61b(_0x2273af,null)||_0x2273af}[_0x47a636(0x1b3)][_0x47a636(0x1a8)](_0x21dc4a=>{const _0x54cbb7=_0x47a636;this[_0x54cbb7(0x321)][_0x54cbb7(0x27e)](_0x21dc4a['id'])&&this['_commandService'][_0x54cbb7(0x2af)](_0x21dc4a['id'],_0x21dc4a['params']);}));}),_0xc7d180;}};_0x1b15a9=_0x35e4a1([_0x4ea5eb(0x0,_0xee6c7a[_0x40a7b4(0x3a3)]),_0x4ea5eb(0x1,_0x28d9bc[_0x40a7b4(0x1dd)]),_0x4ea5eb(0x2,_0x28d9bc[_0x40a7b4(0x1d5)]),_0x4ea5eb(0x3,_0x28d9bc[_0x40a7b4(0x253)]),_0x4ea5eb(0x4,_0x28d9bc[_0x40a7b4(0x29e)](_0x241184[_0x40a7b4(0x383)])),_0x4ea5eb(0x5,_0x28d9bc[_0x40a7b4(0x29e)](_0xee6c7a[_0x40a7b4(0x244)])),_0x4ea5eb(0x6,_0x28d9bc[_0x40a7b4(0x29e)](_0x28a46c[_0x40a7b4(0x2d2)]))],_0x1b15a9);function _0x17a62e(_0x1f9c8d){const _0x18424d=_0x40a7b4;var _0x302cda,_0x54a09c;const _0x2e58cb=[],{entities:_0x1133dc,historyIds:_0x2a0ff9}=_0x1f9c8d,{datas:_0x102045,users:_0xe91d27}=_0x1133dc;for(const _0x2e90db of _0x2a0ff9){const _0x53e925=_0x102045[_0x2e90db];if(_0x53e925){const _0xbc43c2=!!((_0x302cda=_0xe91d27[_0x53e925[_0x18424d(0x3ae)]])!=null&&_0x302cda[_0x18424d(0x2a0)]);_0x2e58cb[_0x18424d(0x34a)]({'unitId':_0x53e925[_0x18424d(0x308)],'user':_0xbc43c2?'':((_0x54a09c=_0xe91d27==null?void 0x0:_0xe91d27[_0x53e925[_0x18424d(0x3ae)]])==null?void 0x0:_0x54a09c[_0x18424d(0x29c)])||'','isAnonymous':_0xbc43c2,'id':_0x2e90db,'time':_0x53e925['createTime']?Number(_0x53e925[_0x18424d(0x36e)]):void 0x0,'commands':_0x53e925[_0x18424d(0x228)],'startRev':Number(_0x53e925[_0x18424d(0x264)]),'endRev':Number(_0x53e925['endRevision']),'recoverTime':_0x53e925[_0x18424d(0x325)]?Number(_0x53e925[_0x18424d(0x325)]):void 0x0,'additionalFields':_0x53e925[_0x18424d(0x208)]});}}return _0x2e58cb;}var _0x305713=Object[_0x40a7b4(0x2f0)],_0x545dd1=(_0x1030f2,_0x5c7d66,_0x4f60e,_0x2074f6)=>{for(var _0x8c63c4=_0x2074f6>0x1?void 0x0:_0x2074f6?_0x305713(_0x5c7d66,_0x4f60e):_0x5c7d66,_0x1b5bf9=_0x1030f2['length']-0x1,_0x107730;_0x1b5bf9>=0x0;_0x1b5bf9--)(_0x107730=_0x1030f2[_0x1b5bf9])&&(_0x8c63c4=_0x107730(_0x8c63c4)||_0x8c63c4);return _0x8c63c4;},_0x420c90=(_0x212f09,_0x2b1604)=>(_0x274e99,_0x121e79)=>_0x2b1604(_0x274e99,_0x121e79,_0x212f09),_0x4a1499=(_0x121795=>(_0x121795[_0x40a7b4(0x212)]=_0x40a7b4(0x310),_0x121795['Exited']=_0x40a7b4(0x233),_0x121795[_0x40a7b4(0x288)]=_0x40a7b4(0x293),_0x121795))(_0x4a1499||{}),_0xd9bd4a=(_0x2f5a85=>(_0x2f5a85[_0x40a7b4(0x2b0)]='init',_0x2f5a85['Loading']=_0x40a7b4(0x2a6),_0x2f5a85[_0x40a7b4(0x2d7)]=_0x40a7b4(0x284),_0x2f5a85))(_0xd9bd4a||{});const _0x152645=_0x40a7b4(0x326);_0x1ad3a3[_0x40a7b4(0x300)]=class extends _0x28d9bc[_0x40a7b4(0x1f7)]{constructor(_0x24d8f4,_0x35b9f8,_0x3eaa52,_0x198434){const _0x42acad=_0x40a7b4;super(),_0x29ae5b(this,_0x42acad(0x324),new _0x406749[(_0x42acad(0x268))]([])),_0x29ae5b(this,_0x42acad(0x215),this[_0x42acad(0x324)][_0x42acad(0x1d0)]()),_0x29ae5b(this,_0x42acad(0x2bb),new _0x406749['BehaviorSubject']('')),_0x29ae5b(this,'currentVersion$',this[_0x42acad(0x2bb)][_0x42acad(0x1d0)]()),_0x29ae5b(this,_0x42acad(0x385),new _0x406749['BehaviorSubject'](_0x42acad(0x310))),_0x29ae5b(this,_0x42acad(0x330),this[_0x42acad(0x385)][_0x42acad(0x1d0)]()),_0x29ae5b(this,_0x42acad(0x20c),new _0x406749['BehaviorSubject'](0x0)),_0x29ae5b(this,_0x42acad(0x2f1),this[_0x42acad(0x20c)][_0x42acad(0x1d0)]()),_0x29ae5b(this,'_unitId$',new _0x406749[(_0x42acad(0x268))]('')),_0x29ae5b(this,_0x42acad(0x189),this[_0x42acad(0x16a)][_0x42acad(0x1d0)]()),_0x29ae5b(this,'_fetching$',new _0x406749[(_0x42acad(0x268))](!0x1)),_0x29ae5b(this,_0x42acad(0x341),this['_fetching$'][_0x42acad(0x1d0)]()),_0x29ae5b(this,'_creators$',new _0x406749[(_0x42acad(0x268))]([])),_0x29ae5b(this,_0x42acad(0x203),this[_0x42acad(0x32a)][_0x42acad(0x1d0)]()),_0x29ae5b(this,'_loadingState$',new _0x406749[(_0x42acad(0x268))](_0x42acad(0x18d))),_0x29ae5b(this,_0x42acad(0x1ba),this[_0x42acad(0x2be)]['asObservable']()),_0x29ae5b(this,_0x42acad(0x314),null),_0x29ae5b(this,_0x42acad(0x2c7),!0x0),_0x29ae5b(this,_0x42acad(0x204),new Map()),_0x29ae5b(this,_0x42acad(0x374)),_0x29ae5b(this,_0x42acad(0x371)),_0x29ae5b(this,_0x42acad(0x28c)),_0x29ae5b(this,'_canRevert',!0x1),_0x29ae5b(this,_0x42acad(0x1ab),null),(this[_0x42acad(0x2b2)]=_0x24d8f4,this[_0x42acad(0x332)]=_0x35b9f8,this[_0x42acad(0x339)]=_0x3eaa52,this[_0x42acad(0x1a4)]=_0x198434);}['_setFetching'](_0x2ac24f){const _0x591342=_0x40a7b4;this['_fetching$'][_0x591342(0x21c)](_0x2ac24f);}get[_0x40a7b4(0x259)](){const _0x445d94=_0x40a7b4;return this[_0x445d94(0x2cf)][_0x445d94(0x31d)];}async['triggerLoadVersions'](_0x3cce8a,_0x5de6d3,_0x3e4c11){const _0xdbcddc=_0x40a7b4;this[_0xdbcddc(0x374)]=_0x5de6d3,this['_canRevert']=_0x3e4c11,await this[_0xdbcddc(0x336)](_0x3cce8a);}async[_0x40a7b4(0x336)](_0x38a473,_0x57a0fe){const _0x3e0bdf=_0x40a7b4;this[_0x3e0bdf(0x16a)][_0x3e0bdf(0x21c)](_0x38a473),this[_0x3e0bdf(0x1ab)]=_0x57a0fe!=null?_0x57a0fe:null,this[_0x3e0bdf(0x2ae)](!0x0);const _0x43b039=await this[_0x3e0bdf(0x1a4)][_0x3e0bdf(0x227)](_0x38a473,_0x57a0fe);if(this[_0x3e0bdf(0x2ae)](!0x1),_0x43b039){const {versions:_0x5e2fab,lastLabel:_0x2c095c,hasMore:_0x1c2fbf,members:_0xc538f7}=_0x43b039;_0x5e2fab['length']===0x0&&_0x5e2fab['push']({'unitId':_0x38a473,'id':_0x152645,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t'](_0x3e0bdf(0x39d)),'commands':[],'isAnonymous':!0x1}),this[_0x3e0bdf(0x31b)](_0x5e2fab,_0x1c2fbf,_0x2c095c,!0x1,_0xc538f7),this['_currentVersion$'][_0x3e0bdf(0x21c)](_0x5e2fab[0x0]['id']);}else this['_status$'][_0x3e0bdf(0x21c)](_0x3e0bdf(0x293));}async[_0x40a7b4(0x28d)](){const _0x49a0ef=_0x40a7b4;if(!this[_0x49a0ef(0x314)]||!this[_0x49a0ef(0x2c7)]||this[_0x49a0ef(0x259)])return!0x1;this[_0x49a0ef(0x2ae)](!0x0);const _0x14676d=await this[_0x49a0ef(0x1a4)][_0x49a0ef(0x227)](this['unitId'],{'lastLabel':this[_0x49a0ef(0x314)],...this['_loadParams']});if(this['_setFetching'](!0x1),_0x14676d){const {versions:_0x25f597,lastLabel:_0x38c706,hasMore:_0x47d0ff,members:_0x186bb6}=_0x14676d;this['_updateVersions'](_0x25f597,_0x47d0ff,_0x38c706,!0x0,_0x186bb6);}else this[_0x49a0ef(0x2b2)][_0x49a0ef(0x366)]({'content':this[_0x49a0ef(0x339)]['t'](_0x49a0ef(0x2e9)),'type':_0x112604[_0x49a0ef(0x262)][_0x49a0ef(0x288)],'duration':0xbb8});return!0x0;}async[_0x40a7b4(0x1ec)](){const _0xdd182c=_0x40a7b4,{unitId:_0x1fde13}=this;if(!_0x1fde13)return;const _0x5cbda5=await this['_historyFetchService'][_0xdd182c(0x200)](_0x1fde13);_0x5cbda5&&this[_0xdd182c(0x32a)][_0xdd182c(0x21c)](_0x5cbda5);}async[_0x40a7b4(0x165)](_0x58abfe){const _0x32c328=_0x40a7b4;var _0x53e8c3;const _0x1dd73d=(_0x53e8c3=this[_0x32c328(0x324)][_0x32c328(0x31d)])==null?void 0x0:_0x53e8c3[_0x32c328(0x2c1)](_0x53fd4e=>_0x53fd4e['id']===_0x58abfe),{endRev:_0x1a29f4}=_0x1dd73d||{};_0x1a29f4||_0x1a29f4===0x0?(this[_0x32c328(0x2be)]['next']('loading'),await this['_historyFetchService'][_0x32c328(0x360)](this[_0x32c328(0x308)],_0x1a29f4),this[_0x32c328(0x2be)][_0x32c328(0x21c)](_0x32c328(0x284))):this['_status$']['next'](_0x32c328(0x293));}async[_0x40a7b4(0x1ae)](_0x43a6e2){const _0x1837be=_0x40a7b4,_0x2e0504=_0x43a6e2?this[_0x1837be(0x1ee)](_0x43a6e2):this[_0x1837be(0x2e2)]();if(!_0x2e0504)return;const _0x46c710=_0x2e0504[_0x1837be(0x209)],_0x1fd68c=_0x11108c(_0x2e0504[_0x1837be(0x206)],this[_0x1837be(0x339)]['getCurrentLocale']());await this[_0x1837be(0x332)][_0x1837be(0x1d9)]({'id':_0x1837be(0x3a1),'title':{'title':this[_0x1837be(0x339)]['t'](_0x1837be(0x342))},'children':{'title':this[_0x1837be(0x339)]['t'](_0x1837be(0x27f))+':\x20('+_0x1fd68c[_0x1837be(0x30f)]+'\x20'+_0x1fd68c[_0x1837be(0x206)]+')'},'cancelText':this['_localeService']['t'](_0x1837be(0x1fe)),'confirmText':this[_0x1837be(0x339)]['t']('editHistory.panel.confirm')})&&this[_0x1837be(0x20c)]['next'](_0x46c710);}[_0x40a7b4(0x31b)](_0x4c67ce,_0x1305e9,_0x55dd13,_0x60b7dc,_0xbf9362){const _0x13db6e=_0x40a7b4;this[_0x13db6e(0x237)](_0x60b7dc?this[_0x13db6e(0x324)]['value'][_0x13db6e(0x25a)](_0x4c67ce):_0x4c67ce),this[_0x13db6e(0x2c7)]=_0x1305e9,this['_lastLabel']=_0x55dd13,_0xbf9362&&Object['keys'](_0xbf9362)[_0x13db6e(0x1a8)](_0x1eff1b=>this[_0x13db6e(0x204)][_0x13db6e(0x30a)](_0x1eff1b,_0xbf9362[_0x1eff1b]));}['getCurrentVersion'](){const _0x143ebb=_0x40a7b4;return this[_0x143ebb(0x1ee)](this[_0x143ebb(0x2bb)]['value']);}[_0x40a7b4(0x237)](_0x7d16c9){const _0x371587=_0x40a7b4;this[_0x371587(0x324)]['next'](_0x7d16c9);}[_0x40a7b4(0x1ee)](_0x2b49d5){const _0x4fc172=_0x40a7b4;var _0x549ce9;return(_0x549ce9=this[_0x4fc172(0x324)][_0x4fc172(0x31d)])==null?void 0x0:_0x549ce9[_0x4fc172(0x2c1)](_0x474246=>_0x474246['id']===_0x2b49d5);}['getMember'](_0x1a0811){const _0x14b8b8=_0x40a7b4;return this[_0x14b8b8(0x204)][_0x14b8b8(0x38b)](_0x1a0811);}[_0x40a7b4(0x195)](){const _0x104d1a=_0x40a7b4;this[_0x104d1a(0x28c)]=document['createElement'](_0x104d1a(0x38e)),this[_0x104d1a(0x28c)][_0x104d1a(0x199)]=_0x104d1a(0x2eb),this[_0x104d1a(0x28c)]['style'][_0x104d1a(0x2e3)]=_0x104d1a(0x370),this['_maskElement']['style'][_0x104d1a(0x335)]='0',this['_maskElement'][_0x104d1a(0x256)]['left']='0',this[_0x104d1a(0x28c)][_0x104d1a(0x256)]['width']=_0x104d1a(0x26e),this['_maskElement'][_0x104d1a(0x256)][_0x104d1a(0x219)]='100%',this[_0x104d1a(0x28c)]['style'][_0x104d1a(0x2f5)]='rgba(225,\x20225,\x20225,\x200.5)',this[_0x104d1a(0x28c)]['style']['color']=_0x104d1a(0x231),this[_0x104d1a(0x28c)]['style'][_0x104d1a(0x2ce)]=_0x104d1a(0x19a),this[_0x104d1a(0x28c)][_0x104d1a(0x256)]['justifyContent']=_0x104d1a(0x1c3),this[_0x104d1a(0x28c)]['style']['zIndex']=_0x104d1a(0x2f8),this[_0x104d1a(0x28c)][_0x104d1a(0x256)][_0x104d1a(0x2ce)]=_0x104d1a(0x2e0),this[_0x104d1a(0x371)][_0x104d1a(0x32b)](this[_0x104d1a(0x28c)]);}['_initMaskContainer'](){const _0x23bd8c=_0x40a7b4;var _0x4354f7;const _0x5a9b3d=(_0x4354f7=document['getElementById'](this[_0x23bd8c(0x374)]))==null?void 0x0:_0x4354f7[_0x23bd8c(0x21e)](_0x23bd8c(0x36d));_0x5a9b3d&&(this[_0x23bd8c(0x371)]=_0x5a9b3d,this[_0x23bd8c(0x195)]());}[_0x40a7b4(0x178)](){const _0x341dfc=_0x40a7b4;this[_0x341dfc(0x371)]||this['_initMaskContainer'](),this[_0x341dfc(0x28c)]&&(this[_0x341dfc(0x28c)][_0x341dfc(0x256)]['display']=_0x341dfc(0x19a));}[_0x40a7b4(0x248)](){const _0x325308=_0x40a7b4;this[_0x325308(0x28c)]&&(this[_0x325308(0x28c)][_0x325308(0x256)][_0x325308(0x2ce)]=_0x325308(0x2e0));}set[_0x40a7b4(0x34d)](_0x1a2fb8){const _0x2676e4=_0x40a7b4;this[_0x2676e4(0x385)][_0x2676e4(0x21c)](_0x1a2fb8);}set[_0x40a7b4(0x2e4)](_0x464b10){const _0xca1320=_0x40a7b4;_0x464b10!==this['_currentVersion$']['value']&&this[_0xca1320(0x2bb)][_0xca1320(0x21c)](_0x464b10);}get[_0x40a7b4(0x2e4)](){const _0x54cf91=_0x40a7b4;return this[_0x54cf91(0x2bb)][_0x54cf91(0x31d)];}set[_0x40a7b4(0x308)](_0x51cf66){const _0x4f7968=_0x40a7b4;this[_0x4f7968(0x16a)][_0x4f7968(0x21c)](_0x51cf66);}get[_0x40a7b4(0x308)](){const _0x575b62=_0x40a7b4;return this['_unitId$'][_0x575b62(0x31d)];}get[_0x40a7b4(0x318)](){return this['_canRevert'];}get[_0x40a7b4(0x386)](){return this['_loadingState$']['value'];}},_0x1ad3a3[_0x40a7b4(0x300)]=_0x545dd1([_0x420c90(0x0,_0xeea292[_0x40a7b4(0x391)]),_0x420c90(0x1,_0x28d9bc[_0x40a7b4(0x353)]),_0x420c90(0x2,_0x28d9bc[_0x40a7b4(0x29e)](_0x28d9bc[_0x40a7b4(0x345)])),_0x420c90(0x3,_0x28d9bc['Inject'](_0x1b15a9))],_0x1ad3a3[_0x40a7b4(0x300)]);function _0x30f991({ref:_0x21e286,..._0x344a2d}){const _0x5b67ca=_0x40a7b4,{icon:_0x1d7c52,id:_0x2e2771,className:_0x37add6,extend:_0x2f58e1,..._0x3a143d}=_0x344a2d,_0xaf3612=(_0x5b67ca(0x2ff)+_0x2e2771+'\x20'+(_0x37add6||''))[_0x5b67ca(0x395)](),_0x1700e5=_0x5151df[_0x5b67ca(0x33b)]('_'+_0x5ac67a());return _0x587bf0(_0x1d7c52,''+_0x2e2771,{'defIds':_0x1d7c52['defIds'],'idSuffix':_0x1700e5[_0x5b67ca(0x2db)]},{'ref':_0x21e286,'className':_0xaf3612,..._0x3a143d},_0x2f58e1);}function _0x587bf0(_0x554d7c,_0x4b4fbf,_0x4db70e,_0x378214,_0xafc040){const _0x7453e0=_0x40a7b4;return _0x5151df[_0x7453e0(0x24a)](_0x554d7c[_0x7453e0(0x20a)],{'key':_0x4b4fbf,..._0x3ab310(_0x554d7c,_0x4db70e,_0xafc040),..._0x378214},(_0x483c95(_0x554d7c,_0x4db70e)[_0x7453e0(0x372)]||[])[_0x7453e0(0x394)]((_0x1a5d75,_0x4d303a)=>_0x587bf0(_0x1a5d75,_0x4b4fbf+'-'+_0x554d7c[_0x7453e0(0x20a)]+'-'+_0x4d303a,_0x4db70e,void 0x0,_0xafc040)));}function _0x3ab310(_0x20df3d,_0x409f24,_0x39bd89){const _0x22631c=_0x40a7b4,_0x294afd={..._0x20df3d[_0x22631c(0x1da)]};_0x39bd89!=null&&_0x39bd89[_0x22631c(0x1f0)]&&_0x294afd['fill']===_0x22631c(0x1f0)&&(_0x294afd[_0x22631c(0x1ac)]=_0x39bd89['colorChannel1']),_0x20df3d[_0x22631c(0x20a)]==='mask'&&_0x294afd['id']&&(_0x294afd['id']=_0x294afd['id']+_0x409f24[_0x22631c(0x1cc)]),Object[_0x22631c(0x17d)](_0x294afd)[_0x22631c(0x1a8)](([_0x1f758f,_0x2db40c])=>{const _0x3efead=_0x22631c;_0x1f758f==='mask'&&typeof _0x2db40c==_0x3efead(0x1cf)&&(_0x294afd[_0x1f758f]=_0x2db40c['replace'](/url\(#(.*)\)/,_0x3efead(0x2d1)+_0x409f24['idSuffix']+')'));});const {defIds:_0x5837aa}=_0x409f24;return!_0x5837aa||_0x5837aa[_0x22631c(0x1c2)]===0x0||(_0x20df3d[_0x22631c(0x20a)]===_0x22631c(0x1b1)&&_0x294afd['xlink:href']&&(_0x294afd['xlink:href']=_0x294afd[_0x22631c(0x307)]+_0x409f24[_0x22631c(0x1cc)]),Object[_0x22631c(0x17d)](_0x294afd)[_0x22631c(0x1a8)](([_0x34a577,_0x19be0c])=>{const _0x356ba8=_0x22631c;typeof _0x19be0c==_0x356ba8(0x1cf)&&(_0x294afd[_0x34a577]=_0x19be0c[_0x356ba8(0x2fc)](/url\(#(.*)\)/,_0x356ba8(0x2d1)+_0x409f24[_0x356ba8(0x1cc)]+')'));})),_0x294afd;}function _0x483c95(_0x41a5eb,_0x35b00a){const _0xef8c29=_0x40a7b4;var _0xeba0cf;const {defIds:_0x1d9553}=_0x35b00a;return!_0x1d9553||_0x1d9553['length']===0x0?_0x41a5eb:_0x41a5eb[_0xef8c29(0x20a)]===_0xef8c29(0x207)&&((_0xeba0cf=_0x41a5eb[_0xef8c29(0x372)])!=null&&_0xeba0cf[_0xef8c29(0x1c2)])?{..._0x41a5eb,'children':_0x41a5eb[_0xef8c29(0x372)][_0xef8c29(0x394)](_0x52e619=>typeof _0x52e619[_0xef8c29(0x1da)]['id']==_0xef8c29(0x1cf)&&_0x1d9553&&_0x1d9553[_0xef8c29(0x312)](_0x52e619[_0xef8c29(0x1da)]['id'])?{..._0x52e619,'attrs':{..._0x52e619[_0xef8c29(0x1da)],'id':_0x52e619[_0xef8c29(0x1da)]['id']+_0x35b00a[_0xef8c29(0x1cc)]}}:_0x52e619)}:_0x41a5eb;}function _0x5ac67a(){const _0x116b7c=_0x40a7b4;return Math[_0x116b7c(0x205)]()['toString'](0x24)[_0x116b7c(0x1ef)](0x2,0x8);}_0x30f991[_0x40a7b4(0x217)]='UniverIcon';const _0x16264d={'tag':_0x40a7b4(0x1b2),'attrs':{'xmlns':_0x40a7b4(0x220),'fill':'none','viewBox':_0x40a7b4(0x16e),'width':_0x40a7b4(0x22a),'height':_0x40a7b4(0x22a)},'children':[{'tag':_0x40a7b4(0x295),'attrs':{'fill':_0x40a7b4(0x260),'d':_0x40a7b4(0x3a4)}}]},_0x3125fc=_0x5151df[_0x40a7b4(0x167)](function(_0x312a97,_0x52bb6f){const _0x1fc38f=_0x40a7b4;return _0x5151df[_0x1fc38f(0x24a)](_0x30f991,Object[_0x1fc38f(0x2d5)]({},_0x312a97,{'id':'back-icon','ref':_0x52bb6f,'icon':_0x16264d}));});_0x3125fc['displayName']=_0x40a7b4(0x192);const _0xc923d1={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x40a7b4(0x1d7),'width':'1em','height':_0x40a7b4(0x22a)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x40a7b4(0x225)},'children':[{'tag':_0x40a7b4(0x295),'attrs':{'d':_0x40a7b4(0x359)}},{'tag':_0x40a7b4(0x295),'attrs':{'d':_0x40a7b4(0x168),'fillRule':_0x40a7b4(0x26a),'clipRule':_0x40a7b4(0x26a)}}]},{'tag':_0x40a7b4(0x207),'attrs':{},'children':[{'tag':_0x40a7b4(0x381),'attrs':{'id':_0x40a7b4(0x3a8)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x40a7b4(0x231),'rx':0x4}}]}]}],'defIds':[_0x40a7b4(0x3a8)]},_0x5d6f14=_0x5151df[_0x40a7b4(0x167)](function(_0x3991fd,_0xe1a0ad){const _0x2ab8c5=_0x40a7b4;return _0x5151df[_0x2ab8c5(0x24a)](_0x30f991,Object['assign']({},_0x3991fd,{'id':_0x2ab8c5(0x2c6),'ref':_0xe1a0ad,'icon':_0xc923d1}));});_0x5d6f14[_0x40a7b4(0x217)]='RestoreIcon';const _0x46b8e4={'tag':'svg','attrs':{'xmlns':_0x40a7b4(0x220),'fill':_0x40a7b4(0x2e0),'viewBox':_0x40a7b4(0x16e),'width':_0x40a7b4(0x22a),'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':'evenodd','clipRule':_0x40a7b4(0x26a)}},{'tag':_0x40a7b4(0x295),'attrs':{'fill':_0x40a7b4(0x365),'d':_0x40a7b4(0x183),'fillRule':_0x40a7b4(0x26a),'clipRule':'evenodd'}}]},_0x15596e=_0x5151df[_0x40a7b4(0x167)](function(_0x15f039,_0x2afba2){const _0x2db725=_0x40a7b4;return _0x5151df[_0x2db725(0x24a)](_0x30f991,Object[_0x2db725(0x2d5)]({},_0x15f039,{'id':_0x2db725(0x1d3),'ref':_0x2afba2,'icon':_0x46b8e4}));});_0x15596e[_0x40a7b4(0x217)]=_0x40a7b4(0x2ee);function _0x28cb97(){const _0x2f3c2f=_0x40a7b4;var _0x43cd1b;const _0x17cad1=_0xeea292[_0x2f3c2f(0x277)](_0x1ad3a3['HistoryManagerService']),_0x202f96=_0xeea292['useDependency'](_0x28d9bc['LocaleService']),_0x40da13=_0x5151df[_0x2f3c2f(0x2da)](()=>{const _0x40ef50=_0x2f3c2f;_0x17cad1['status']=_0x4a1499[_0x40ef50(0x1ff)];},[_0x17cad1]),_0x1391da=_0x5151df['useCallback'](()=>{_0x17cad1['triggerRevert']();},[_0x17cad1]),_0x37c33d=_0xeea292[_0x2f3c2f(0x16c)](_0x17cad1[_0x2f3c2f(0x2fd)]),_0x280b80=_0xeea292[_0x2f3c2f(0x16c)](_0x17cad1['versions$']),_0x5d957f=_0x37c33d===((_0x43cd1b=_0x280b80==null?void 0x0:_0x280b80[0x0])==null?void 0x0:_0x43cd1b['id']),_0x338a78=_0x37c33d!==''&&!_0x5d957f&&_0x17cad1[_0x2f3c2f(0x318)];return _0x2f2389[_0x2f3c2f(0x340)](_0x2f3c2f(0x38e),{'className':_0x112604[_0x2f3c2f(0x2a5)](_0x2f3c2f(0x357),_0x112604[_0x2f3c2f(0x23d)]),'children':[_0x2f2389['jsx']('a',{'className':_0x2f3c2f(0x34e),'role':'button','onClick':_0x40da13,'children':_0x2f2389[_0x2f3c2f(0x302)](_0x3125fc,{'className':_0x2f3c2f(0x1b0)})}),_0x2f2389[_0x2f3c2f(0x302)](_0x2f3c2f(0x38e),{'className':_0x2f3c2f(0x22e),'children':_0x338a78&&_0x2f2389['jsx'](_0x112604['Button'],{'variant':'primary','onClick':_0x1391da,'children':_0x202f96['t']('editHistory.header.revert')})})]});}var _0x1bbbdc=Object[_0x40a7b4(0x2f0)],_0x48f7a1=(_0x2a2817,_0x558a5c,_0x4d7a90,_0x1d5f92)=>{const _0x5d98ac=_0x40a7b4;for(var _0x45ecff=_0x1d5f92>0x1?void 0x0:_0x1d5f92?_0x1bbbdc(_0x558a5c,_0x4d7a90):_0x558a5c,_0x4624bf=_0x2a2817[_0x5d98ac(0x1c2)]-0x1,_0x58498a;_0x4624bf>=0x0;_0x4624bf--)(_0x58498a=_0x2a2817[_0x4624bf])&&(_0x45ecff=_0x58498a(_0x45ecff)||_0x45ecff);return _0x45ecff;},_0x23d124=(_0x584575,_0x4de501)=>(_0x5a1425,_0x57ab1a)=>_0x4de501(_0x5a1425,_0x57ab1a,_0x584575);let _0x4e7b4a=class extends _0x28d9bc[_0x40a7b4(0x1f7)]{constructor(_0xfaf008,_0x4c5e9d,_0x2899af,_0x45103e,_0x52272d,_0x2eaa01){const _0x2f55c3=_0x40a7b4;super(),this[_0x2f55c3(0x37c)]=_0xfaf008,this['_uiPartsService']=_0x4c5e9d,this[_0x2f55c3(0x2b2)]=_0x2899af,this[_0x2f55c3(0x339)]=_0x45103e,this[_0x2f55c3(0x246)]=_0x52272d,this[_0x2f55c3(0x304)]=_0x2eaa01,this['_init']();}[_0x40a7b4(0x1c4)](){const _0x27dd44=_0x40a7b4;this[_0x27dd44(0x32d)](this['_historyManagerService'][_0x27dd44(0x2fd)][_0x27dd44(0x18b)](_0x438a34=>{const _0x253940=_0x27dd44;_0x438a34&&this['_historyManagerService'][_0x253940(0x165)](_0x438a34);})),this[_0x27dd44(0x32d)](this[_0x27dd44(0x37c)][_0x27dd44(0x21f)][_0x27dd44(0x18b)](_0x2eb69f=>{const _0x4fea69=_0x27dd44,_0x5ef3a2=this[_0x4fea69(0x246)][_0x4fea69(0x308)];_0x5ef3a2&&(_0x2eb69f[_0x4fea69(0x1fd)]===_0x282356[_0x4fea69(0x2fa)]&&_0x2eb69f['value']===!0x0&&this[_0x4fea69(0x37c)][_0x4fea69(0x261)](new _0x28a46c[(_0x4fea69(0x36b))](_0x5ef3a2)['id'],!0x1),_0x2eb69f[_0x4fea69(0x1fd)]===_0x282356[_0x4fea69(0x29a)]&&_0x2eb69f[_0x4fea69(0x31d)]===!0x0&&this[_0x4fea69(0x37c)][_0x4fea69(0x261)](new _0x28a46c['WorkbookRenameSheetPermission'](_0x5ef3a2)['id'],!0x1),_0x2eb69f[_0x4fea69(0x1fd)]===_0x282356[_0x4fea69(0x36f)]&&_0x2eb69f[_0x4fea69(0x31d)]===!0x0&&this['_permissionService'][_0x4fea69(0x261)](new _0x28a46c[(_0x4fea69(0x251))](_0x5ef3a2)['id'],!0x1),_0x2eb69f[_0x4fea69(0x1fd)]===_0x282356[_0x4fea69(0x1e4)]&&_0x2eb69f[_0x4fea69(0x31d)]===!0x0&&this[_0x4fea69(0x37c)][_0x4fea69(0x261)](new _0x28a46c['WorkbookHideSheetPermission'](_0x5ef3a2)['id'],!0x1),_0x2eb69f['subType']===_0x282356[_0x4fea69(0x235)]&&_0x2eb69f[_0x4fea69(0x31d)]===!0x0&&this['_permissionService'][_0x4fea69(0x261)](new _0x28a46c[(_0x4fea69(0x36b))](_0x5ef3a2)['id'],!0x1),_0x2eb69f[_0x4fea69(0x1fd)]===_0x282356['FloatImg']&&_0x2eb69f[_0x4fea69(0x31d)]===!0x0&&this[_0x4fea69(0x37c)][_0x4fea69(0x261)](new _0x28a46c[(_0x4fea69(0x36b))](_0x5ef3a2)['id'],!0x1));})),this[_0x27dd44(0x32d)](this[_0x27dd44(0x2f6)][_0x27dd44(0x176)](_0xeea292['BuiltInUIPart'][_0x27dd44(0x234)],()=>_0xeea292[_0x27dd44(0x278)](_0x28cb97,this[_0x27dd44(0x304)])));let _0x4f795;this[_0x27dd44(0x32d)](this[_0x27dd44(0x246)][_0x27dd44(0x1ba)][_0x27dd44(0x18b)](_0x5a6ede=>{const _0x2869ec=_0x27dd44;_0x4f795==null||_0x4f795[_0x2869ec(0x18f)](),_0x5a6ede===_0xd9bd4a[_0x2869ec(0x30d)]&&(this['_historyManagerService']['showMask'](),_0x4f795=this[_0x2869ec(0x2b2)]['show']({'type':_0x112604[_0x2869ec(0x262)][_0x2869ec(0x1a9)],'content':this[_0x2869ec(0x339)]['t'](_0x2869ec(0x1f9))})),_0x5a6ede===_0xd9bd4a['Loaded']&&this['_historyManagerService'][_0x2869ec(0x248)]();}));}};_0x4e7b4a=_0x48f7a1([_0x23d124(0x0,_0x28d9bc[_0x40a7b4(0x2e8)]),_0x23d124(0x1,_0xeea292['IUIPartsService']),_0x23d124(0x2,_0xeea292['IMessageService']),_0x23d124(0x3,_0x28d9bc['Inject'](_0x28d9bc['LocaleService'])),_0x23d124(0x4,_0x28d9bc[_0x40a7b4(0x29e)](_0x1ad3a3['HistoryManagerService'])),_0x23d124(0x5,_0x28d9bc['Inject'](_0x28d9bc[_0x40a7b4(0x1eb)]))],_0x4e7b4a);var _0x25c6a6=Object[_0x40a7b4(0x2f0)],_0x41d713=(_0x4c46a4,_0x5ac386,_0x25e777,_0x3500bf)=>{for(var _0x475140=_0x3500bf>0x1?void 0x0:_0x3500bf?_0x25c6a6(_0x5ac386,_0x25e777):_0x5ac386,_0x40e258=_0x4c46a4['length']-0x1,_0xd39c07;_0x40e258>=0x0;_0x40e258--)(_0xd39c07=_0x4c46a4[_0x40e258])&&(_0x475140=_0xd39c07(_0x475140)||_0x475140);return _0x475140;},_0x10676f=(_0x1270ae,_0x173b25)=>(_0x2a9238,_0x5b017e)=>_0x173b25(_0x2a9238,_0x5b017e,_0x1270ae);let _0x4a455e=class extends _0x28d9bc['Disposable']{constructor(_0x219bbc,_0xc7fffa,_0x2ae27f){const _0xdb0fd7=_0x40a7b4;super(),_0x29ae5b(this,_0xdb0fd7(0x2b7),new Map()),_0x29ae5b(this,_0xdb0fd7(0x33d),new _0x406749['BehaviorSubject']({'ranges':new Map(),'active':null})),_0x29ae5b(this,_0xdb0fd7(0x389),this[_0xdb0fd7(0x33d)][_0xdb0fd7(0x1d0)]()),(this['_historyManagerService']=_0x219bbc,this[_0xdb0fd7(0x19f)]=_0xc7fffa,this[_0xdb0fd7(0x338)]=_0x2ae27f,this[_0xdb0fd7(0x1c4)]());}[_0x40a7b4(0x1c4)](){const _0x49eb6a=_0x40a7b4;this['_diffRangesMap']=new Map(),this[_0x49eb6a(0x32d)](this['_historyManagerService'][_0x49eb6a(0x189)][_0x49eb6a(0x18b)](_0x1c96d1=>{const _0x554eaf=_0x49eb6a;_0x1c96d1&&!this[_0x554eaf(0x2b7)][_0x554eaf(0x170)](_0x1c96d1)&&this[_0x554eaf(0x2b7)][_0x554eaf(0x30a)](_0x1c96d1,new Map());})),this[_0x49eb6a(0x32d)](this[_0x49eb6a(0x246)][_0x49eb6a(0x2fd)][_0x49eb6a(0x18b)](async _0x45853e=>{const _0x25d668=_0x49eb6a;var _0x34365b;_0x45853e&&(await this[_0x25d668(0x161)](_0x45853e),this[_0x25d668(0x33d)][_0x25d668(0x21c)](((_0x34365b=this['_diffRangesMap'][_0x25d668(0x38b)](this['_historyManagerService'][_0x25d668(0x308)]))==null?void 0x0:_0x34365b[_0x25d668(0x38b)](_0x45853e))||{'ranges':new Map(),'active':null}));}));}async[_0x40a7b4(0x161)](_0x4bb3bb){const _0x307dc3=_0x40a7b4;var _0x375365,_0x297087;const _0x2a3079=this[_0x307dc3(0x246)][_0x307dc3(0x1ee)](_0x4bb3bb),_0x2a985a=this[_0x307dc3(0x246)]['unitId'];if(!_0x2a3079||!_0x2a985a)return;const _0x5c19e8=this[_0x307dc3(0x2b7)][_0x307dc3(0x38b)](_0x2a985a);if(_0x5c19e8||this[_0x307dc3(0x2b7)][_0x307dc3(0x30a)](_0x2a985a,new Map()),(_0x375365=this[_0x307dc3(0x2b7)][_0x307dc3(0x38b)](_0x2a985a))!=null&&_0x375365['has'](_0x2a3079['id']))return;const {startRev:_0x5b1826,endRev:_0x4f5c09}=_0x2a3079;if(_0x5b1826===0x1){_0x5c19e8[_0x307dc3(0x30a)](_0x2a3079['id'],{'ranges':new Map(),'active':null});return;}const _0x2fe7db=_0x5b1826-0x1,_0xff133f=_0x4f5c09,_0x263544=await this[_0x307dc3(0x338)][_0x307dc3(0x184)]({},{'unitID':_0x2a985a,'from':_0x2fe7db,'to':_0xff133f,'type':_0x4f15e3[_0x307dc3(0x16b)]});if(((_0x297087=_0x263544[_0x307dc3(0x293)])==null?void 0x0:_0x297087['code'])===_0x439aa5['OK']){const _0x4b99e0=_0x263544['changesets'][_0x307dc3(0x394)](_0x391537=>((_0x391537[_0x307dc3(0x1b3)]===null||_0x391537['mutations']===void 0x0)&&(_0x391537[_0x307dc3(0x1b3)]=[]),_0xee6c7a['parseProtocolChangeset'](_0x391537)))[_0x307dc3(0x394)](_0x18ae69=>_0x18ae69[_0x307dc3(0x1b3)]['map'](_0x51c587=>({..._0x51c587,'params':{..._0x51c587[_0x307dc3(0x331)],'memberId':_0x18ae69[_0x307dc3(0x3a9)]}})))['flat'](),_0x17d1e1=await this[_0x307dc3(0x179)](_0x4b99e0),_0x1d5fb3=this[_0x307dc3(0x398)](_0x4b99e0),_0x29cc3a=this['_extractRanges'](_0x17d1e1);_0x5c19e8[_0x307dc3(0x30a)](_0x2a3079['id'],{'ranges':_0x29cc3a,'active':_0x1d5fb3});}}async[_0x40a7b4(0x179)](_0x30be05){const _0x5930=_0x40a7b4;let _0x4e348c=[];for(let _0x1650f2=0x0;_0x1650f2<_0x30be05[_0x5930(0x1c2)];_0x1650f2++){const _0x52c6b1=_0x30be05[_0x1650f2];if(_0x4e348c[_0x5930(0x34a)](_0x52c6b1),_0x1650f2!==_0x30be05['length']-0x1){const _0x3200ef=_0x30be05[_0x1650f2+0x1],_0x2dcad6=this[_0x5930(0x19f)][_0x5930(0x190)](_0x4e348c,[_0x3200ef]);_0xee6c7a[_0x5930(0x267)](_0x2dcad6)?_0x4e348c=_0x2dcad6[_0x5930(0x27a)]:_0x4e348c=[];}_0x1650f2%0xa===0x0&&_0x1650f2>0x0&&await this[_0x5930(0x311)]();}return _0x4e348c;}['_yieldToMain'](){return new Promise(_0x401131=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x401131(),{'timeout':0x64}):setTimeout(_0x401131,0x0);});}[_0x40a7b4(0x398)](_0x5edf12){const _0xa4e215=_0x40a7b4;let _0x4a7c13=[];return _0x5edf12['forEach'](_0x1e0210=>{const _0x70eb42=_0x5d9f;if(_0x1e0210['id']===_0x28a46c[_0x70eb42(0x1cd)]['id']){const _0x3db17b=_0x1e0210['params'];_0x4a7c13[_0x70eb42(0x34a)](_0x3db17b[_0x70eb42(0x2d3)]['id']);}else{if(_0x1e0210['id']===_0x28a46c['RemoveSheetMutation']['id']){const _0x1c38af=_0x1e0210['params'];_0x4a7c13['length']>0x0&&(_0x4a7c13=_0x4a7c13['filter'](_0x2bf5cc=>_0x2bf5cc!==_0x1c38af[_0x70eb42(0x27d)]));}else{if(_0x1e0210['id']===_0x28a46c[_0x70eb42(0x319)]['id']){const _0x405887=_0x1e0210[_0x70eb42(0x331)];_0x405887[_0x70eb42(0x337)]?_0x4a7c13=_0x4a7c13[_0x70eb42(0x36c)](_0x2d926d=>_0x2d926d!==_0x405887[_0x70eb42(0x27d)]):_0x4a7c13[_0x70eb42(0x34a)](_0x405887[_0x70eb42(0x27d)]);}else{const _0x1266ce=_0x1e0210[_0x70eb42(0x331)];_0x1266ce[_0x70eb42(0x27d)]&&_0x4a7c13[_0x70eb42(0x34a)](_0x1266ce[_0x70eb42(0x27d)]);}}}}),_0x4a7c13[_0xa4e215(0x1c2)]>0x0?_0x4a7c13[_0x4a7c13['length']-0x1]:null;}[_0x40a7b4(0x22b)](_0x53aead){const _0x19ca5a=_0x40a7b4,_0x5206be=new Map();return _0x53aead[_0x19ca5a(0x1a8)](_0x25c40e=>{const _0x232b02=_0x19ca5a;var _0x1dc438,_0x578587;const _0x273070=(_0x1dc438=_0x25c40e['params'])==null?void 0x0:_0x1dc438[_0x232b02(0x17b)];if(_0x273070){_0x5206be['has'](_0x273070)||_0x5206be[_0x232b02(0x30a)](_0x273070,[]);const _0x46517c=this[_0x232b02(0x1f1)](_0x25c40e);(_0x578587=_0x5206be[_0x232b02(0x38b)](_0x273070))==null||_0x578587['push'](..._0x46517c);}}),_0x5206be['forEach']((_0x54d680,_0x216754)=>{const _0x2e2b1c=_0x19ca5a;_0x5206be[_0x2e2b1c(0x30a)](_0x216754,this[_0x2e2b1c(0x32f)](_0x54d680));}),_0x5206be;}['_getRangesByMutation'](_0x3fa1cb){const _0x39924e=_0x40a7b4;switch(_0x3fa1cb['id']){case _0x28a46c[_0x39924e(0x191)]['id']:{const _0x4a1b14=_0x3fa1cb[_0x39924e(0x331)];return _0x4a1b14['rules']['map'](_0x13c2bf=>_0x13c2bf[_0x39924e(0x2a3)][_0x39924e(0x394)](_0x5ba67f=>({'range':_0x5ba67f,'unitId':_0x4a1b14[_0x39924e(0x308)],'subUnitId':_0x4a1b14[_0x39924e(0x27d)]})))[_0x39924e(0x269)]();}case _0x28a46c['AddWorksheetMergeMutation']['id']:{const _0x2e41d6=_0x3fa1cb[_0x39924e(0x331)];return _0x2e41d6[_0x39924e(0x2a3)][_0x39924e(0x394)](_0x34305d=>({'range':_0x34305d,'unitId':_0x2e41d6['unitId'],'subUnitId':_0x2e41d6[_0x39924e(0x27d)]}));}case _0x28a46c['InsertRowMutation']['id']:{const _0x9daac1=_0x3fa1cb['params'];return[{'range':_0x9daac1[_0x39924e(0x298)],'unitId':_0x9daac1['unitId'],'subUnitId':_0x9daac1['subUnitId']}];}case _0x28a46c[_0x39924e(0x29b)]['id']:{const _0x153812=_0x3fa1cb[_0x39924e(0x331)];return[{'range':_0x153812['range'],'unitId':_0x153812['unitId'],'subUnitId':_0x153812['subUnitId']}];}case _0x28a46c[_0x39924e(0x214)]['id']:{const _0x583981=_0x3fa1cb[_0x39924e(0x331)],{from:_0x5ddccb,to:_0xbfde38,unitId:_0x3f96e2}=_0x583981;return[{'range':_0xeba1a3(_0x5ddccb[_0x39924e(0x31d)]),'unitId':_0x3f96e2,'subUnitId':_0x5ddccb[_0x39924e(0x27d)]},{'range':_0xeba1a3(_0xbfde38[_0x39924e(0x31d)]),'unitId':_0x3f96e2,'subUnitId':_0xbfde38['subUnitId']}];}case _0x28a46c[_0x39924e(0x2a9)]['id']:{const _0x38aa15=_0x3fa1cb[_0x39924e(0x331)],{unitId:_0x56a2b6,subUnitId:_0x156038,sourceRange:_0x4bc565,targetRange:_0x29f622}=_0x38aa15,_0x377722=_0x4bc565[_0x39924e(0x222)]-_0x4bc565[_0x39924e(0x344)]+0x1;return[{'range':_0x29f622[_0x39924e(0x344)]<=_0x4bc565[_0x39924e(0x344)]?_0x29f622:{..._0x29f622,'startRow':_0x29f622['startRow']-_0x377722,'endRow':_0x29f622[_0x39924e(0x222)]-_0x377722},'unitId':_0x56a2b6,'subUnitId':_0x156038}];}case _0x28a46c[_0x39924e(0x315)]['id']:{const _0x37b0d4=_0x3fa1cb['params'],{unitId:_0x3cf57a,subUnitId:_0x4b242a,sourceRange:_0xb3b86b,targetRange:_0x73eb92}=_0x37b0d4,_0x45caa2=_0xb3b86b[_0x39924e(0x18c)]-_0xb3b86b['startColumn']+0x1;return[{'range':_0x73eb92[_0x39924e(0x2ba)]<=_0xb3b86b['startColumn']?_0x73eb92:{..._0x73eb92,'startColumn':_0x73eb92[_0x39924e(0x2ba)]-_0x45caa2,'endColumn':_0x73eb92[_0x39924e(0x18c)]-_0x45caa2},'unitId':_0x3cf57a,'subUnitId':_0x4b242a}];}case _0x28a46c[_0x39924e(0x1af)]['id']:{const _0x4a6698=_0x3fa1cb[_0x39924e(0x331)],{values:_0x1fb654,unitId:_0x509248,subUnitId:_0x10252c}=_0x4a6698;return Object[_0x39924e(0x25f)](_0x1fb654)['map'](_0x529b89=>_0x529b89[_0x39924e(0x2a3)][_0x39924e(0x394)](_0xaddb53=>({'range':_0xaddb53,'unitId':_0x509248,'subUnitId':_0x10252c})))[_0x39924e(0x269)]();}case _0x28a46c[_0x39924e(0x2ad)]['id']:{const _0x5d7379=_0x3fa1cb['params'],{ranges:_0x12397b,unitId:_0x375480,subUnitId:_0x4c20e4}=_0x5d7379;return _0x12397b[_0x39924e(0x394)](_0x543630=>({'range':_0x543630,'unitId':_0x375480,'subUnitId':_0x4c20e4}));}case _0x28a46c['ReorderRangeMutation']['id']:{const _0xf92dc=_0x3fa1cb[_0x39924e(0x331)],{unitId:_0x3201d3,subUnitId:_0x54b18a,range:_0x29f1f1}=_0xf92dc;return[{'range':_0x29f1f1,'unitId':_0x3201d3,'subUnitId':_0x54b18a}];}case _0x28a46c[_0x39924e(0x39e)]['id']:{const _0x56046c=_0x3fa1cb[_0x39924e(0x331)];return _0x56046c[_0x39924e(0x236)]['ranges'][_0x39924e(0x394)](_0x53765c=>({'range':_0x53765c,'unitId':_0x56046c[_0x39924e(0x308)],'subUnitId':_0x56046c[_0x39924e(0x27d)]}));}case _0x28a46c['SetRangeValuesMutation']['id']:{const _0x34222b=_0x3fa1cb[_0x39924e(0x331)];return _0x34222b[_0x39924e(0x2ac)]?_0xc3e199(_0x34222b['cellValue'])[_0x39924e(0x394)](_0x21ccc2=>({'range':_0x21ccc2,'unitId':_0x34222b['unitId'],'subUnitId':_0x34222b[_0x39924e(0x27d)]})):[];}case _0x88e884[_0x39924e(0x224)]['id']:{const _0x53c3c6=_0x3fa1cb[_0x39924e(0x331)];return[{'range':_0x53c3c6[_0x39924e(0x298)],'unitId':_0x53c3c6[_0x39924e(0x308)],'subUnitId':_0x53c3c6[_0x39924e(0x27d)]}];}case _0x510223[_0x39924e(0x347)]['id']:{const _0x26bcf6=_0x3fa1cb[_0x39924e(0x331)];return(Array[_0x39924e(0x280)](_0x26bcf6[_0x39924e(0x236)])?_0x26bcf6['rule']:[_0x26bcf6[_0x39924e(0x236)]])[_0x39924e(0x394)](_0x917c8f=>_0x917c8f['ranges'][_0x39924e(0x394)](_0x64b30f=>({'range':_0x64b30f,'unitId':_0x26bcf6[_0x39924e(0x308)],'subUnitId':_0x26bcf6[_0x39924e(0x27d)]})))[_0x39924e(0x269)]();}case _0x26f653['SetConditionalRuleMutation']['id']:{const _0x3e48b8=_0x3fa1cb['params'];return _0x3e48b8[_0x39924e(0x236)]['ranges'][_0x39924e(0x394)](_0x64eff7=>({'range':_0x64eff7,'unitId':_0x3e48b8['unitId'],'subUnitId':_0x3e48b8['subUnitId']}));}default:return[];}}[_0x40a7b4(0x32f)](_0x4b5acf){const _0x104082=_0x40a7b4;if(_0x4b5acf['length']<=0x1)return _0x4b5acf;const _0x43aaac=new Map();return _0x4b5acf[_0x104082(0x1a8)](_0x4a0e07=>{const _0x4df84c=_0x104082;var _0x1de6a9;const {unitId:_0x5e4df8,subUnitId:_0x20443a}=_0x4a0e07,_0x1815ef=_0x5e4df8+'-'+_0x20443a;_0x43aaac[_0x4df84c(0x170)](_0x1815ef)?(_0x1de6a9=_0x43aaac['get'](_0x1815ef))==null||_0x1de6a9[_0x4df84c(0x34a)](_0x4a0e07):_0x43aaac['set'](_0x1815ef,[_0x4a0e07]);}),Array['from'](_0x43aaac['values']())['map'](_0x1d8404=>new _0x28a46c[(_0x104082(0x1e6))]()[_0x104082(0x1c5)](..._0x1d8404[_0x104082(0x394)](_0x280288=>_0x280288[_0x104082(0x298)]))[_0x104082(0x15e)]()[_0x104082(0x394)](_0x4f5806=>({'range':_0x4f5806,'unitId':_0x1d8404[0x0][_0x104082(0x308)],'subUnitId':_0x1d8404[0x0][_0x104082(0x27d)]})))[_0x104082(0x269)]();}};_0x4a455e=_0x41d713([_0x10676f(0x0,_0x28d9bc['Inject'](_0x1ad3a3[_0x40a7b4(0x300)])),_0x10676f(0x1,_0xee6c7a['ITransformService']),_0x10676f(0x2,_0xee6c7a['ISnapshotServerService'])],_0x4a455e);function _0xeba1a3(_0x4a3a41){const _0x5a325c=_0x40a7b4;return new _0x28d9bc[(_0x5a325c(0x2e1))](_0x4a3a41)[_0x5a325c(0x210)]();}function _0xc3e199(_0x46f8bd){const _0x44b810=_0x40a7b4,_0x1f9db0=new _0x28d9bc[(_0x44b810(0x2e1))](_0x46f8bd),_0x75b341=new _0x28d9bc[(_0x44b810(0x2e1))]();return _0x1f9db0['forValue']((_0x41f014,_0x31d28c)=>{const _0x57856a=_0x44b810;_0x75b341[_0x57856a(0x375)](_0x41f014,_0x31d28c,0x1);}),_0x28a46c[_0x44b810(0x1bc)](_0x75b341);}var _0x201229=Object[_0x40a7b4(0x2f0)],_0x7cfca3=(_0x44eb07,_0x8b9031,_0x47d0c5,_0x3cb739)=>{const _0x883eda=_0x40a7b4;for(var _0x18a37e=_0x3cb739>0x1?void 0x0:_0x3cb739?_0x201229(_0x8b9031,_0x47d0c5):_0x8b9031,_0x4484ce=_0x44eb07[_0x883eda(0x1c2)]-0x1,_0x106dfc;_0x4484ce>=0x0;_0x4484ce--)(_0x106dfc=_0x44eb07[_0x4484ce])&&(_0x18a37e=_0x106dfc(_0x18a37e)||_0x18a37e);return _0x18a37e;},_0x4078a9=(_0x4cdc84,_0x7b1e89)=>(_0x550a9a,_0x219298)=>_0x7b1e89(_0x550a9a,_0x219298,_0x4cdc84);let _0x4eb214=class extends _0x28d9bc[_0x40a7b4(0x1f7)]{constructor(_0x3f098d,_0x2f74f8,_0x45415,_0x345cc8,_0x5f182e,_0xf6a981,_0x14fbad){const _0x2182eb=_0x40a7b4;super(),_0x29ae5b(this,_0x2182eb(0x397),new Set()),_0x29ae5b(this,'_lastPointer',null),(this[_0x2182eb(0x197)]=_0x3f098d,this[_0x2182eb(0x246)]=_0x2f74f8,this[_0x2182eb(0x294)]=_0x45415,this[_0x2182eb(0x2df)]=_0x345cc8,this[_0x2182eb(0x181)]=_0x5f182e,this[_0x2182eb(0x317)]=_0xf6a981,this[_0x2182eb(0x321)]=_0x14fbad,this[_0x2182eb(0x1c4)]());}['_init'](){const _0x3753da=_0x40a7b4;this[_0x3753da(0x2ab)](),this['_initActiveSwitch']();}['_initRender'](){const _0x5755b8=_0x40a7b4;this[_0x5755b8(0x32d)](_0x406749['combineLatest']([this[_0x5755b8(0x246)]['loadingState$'],this['_sheetSkeletonManagerService']['currentSkeleton$']])[_0x5755b8(0x272)](_0x406749['switchMap'](([_0x522d41,_0x9ed8f])=>{const _0x40be6d=_0x5755b8;if(_0x522d41===_0xd9bd4a[_0x40be6d(0x2d7)]&&_0x9ed8f){const _0x529637=_0x9ed8f[_0x40be6d(0x286)];return this[_0x40be6d(0x294)][_0x40be6d(0x389)][_0x40be6d(0x272)](_0x406749[_0x40be6d(0x394)](_0x3d12bb=>{const _0x4b6f11=_0x40be6d,_0x4cc0b9=new Map();return _0x3d12bb[_0x4b6f11(0x2a3)][_0x4b6f11(0x1a8)]((_0x266dc7,_0x567053)=>{const _0x30996b=_0x4b6f11,_0x58737c=_0x266dc7[_0x30996b(0x36c)](_0x29cd9e=>_0x29cd9e[_0x30996b(0x27d)]===_0x529637);_0x4cc0b9['set'](_0x567053,_0x58737c);}),{'skeleton':_0x9ed8f,'diffs':_0x4cc0b9};}));}return _0x406749['of']({'skeleton':null,'diffs':new Map()});}))[_0x5755b8(0x18b)](({skeleton:_0x8b5800,diffs:_0x1f4c45})=>{this['_removeDiffMarks'](),_0x8b5800&&this['_updateDiffMarks'](_0x8b5800,_0x1f4c45);})),this[_0x5755b8(0x32d)](this[_0x5755b8(0x317)]['currentSkeleton$'][_0x5755b8(0x18b)](_0x8ad202=>{const _0x5a2dba=_0x5755b8;if(_0x8ad202==null)return;const {skeleton:_0x5a50d4}=_0x8ad202,{scene:_0x130e60}=this[_0x5a2dba(0x197)];_0x130e60[_0x5a2dba(0x17f)][_0x5a2dba(0x243)](_0x28d9bc[_0x5a2dba(0x37d)](_0x4549ca=>{const _0x57253f=_0x5a2dba;var _0xee4176,_0x1a33c9;const {offsetX:_0x588fe4,offsetY:_0x46292f}=_0x4549ca,{x:_0x406201,y:_0x1d82b3}=_0x130e60[_0x57253f(0x24b)](_0x11ab04[_0x57253f(0x21b)][_0x57253f(0x299)]([_0x588fe4,_0x46292f])),{scaleX:_0x1644ae,scaleY:_0x524ade}=_0x130e60[_0x57253f(0x1f2)](),_0x1510db=_0x130e60[_0x57253f(0x19d)](_0x11ab04[_0x57253f(0x392)]['VIEW_MAIN']),_0x19f293=_0x130e60[_0x57253f(0x1db)](_0x11ab04[_0x57253f(0x21b)][_0x57253f(0x299)]([_0x406201,_0x1d82b3]),_0x1510db),_0x3848fc=_0x5a50d4['getCellPositionByOffset'](_0x588fe4,_0x46292f,_0x1644ae,_0x524ade,_0x19f293);((_0xee4176=this[_0x57253f(0x19b)])==null?void 0x0:_0xee4176[_0x57253f(0x379)])===_0x3848fc[_0x57253f(0x379)]&&((_0x1a33c9=this[_0x57253f(0x19b)])==null?void 0x0:_0x1a33c9['row'])===_0x3848fc[_0x57253f(0x369)]||this[_0x57253f(0x397)][_0x57253f(0x1a8)](_0x2b1b34=>{const _0x40e9ed=_0x57253f;_0x2b1b34[_0x40e9ed(0x194)](_0x3848fc);});},0x64));}));}['_initActiveSwitch'](){const _0x34c69f=_0x40a7b4;this[_0x34c69f(0x32d)](this['_historyManagerService'][_0x34c69f(0x1ba)][_0x34c69f(0x18b)](_0x30dd6c=>{const _0x54ff9a=_0x34c69f,_0x3c1d3d=new _0x28d9bc[(_0x54ff9a(0x241))]();return _0x30dd6c===_0xd9bd4a[_0x54ff9a(0x2d7)]&&(_0x3c1d3d[_0x54ff9a(0x18f)](),_0x3c1d3d['add'](this[_0x54ff9a(0x294)][_0x54ff9a(0x389)][_0x54ff9a(0x18b)](_0x4a78d7=>{const _0x12e372=_0x54ff9a;_0x4a78d7[_0x12e372(0x2aa)]&&this[_0x12e372(0x321)][_0x12e372(0x289)](_0x28a46c[_0x12e372(0x275)]['id'],{'unitId':this[_0x12e372(0x197)]['unitId'],'subUnitId':_0x4a78d7['active']});}))),()=>_0x3c1d3d['dispose']();}));}[_0x40a7b4(0x27b)](_0x555476,_0x3b8c13){const _0x4ca4d2=_0x40a7b4;var _0x87c818;const _0xc19e10=(_0x87c818=this[_0x4ca4d2(0x317)]['getCurrent']())==null?void 0x0:_0x87c818[_0x4ca4d2(0x388)];if(!_0xc19e10)return;this[_0x4ca4d2(0x397)]['forEach'](_0x300f24=>{const _0xf4df3b=_0x4ca4d2;_0x300f24[_0xf4df3b(0x17a)]();});const {scene:_0x3ea46d}=this[_0x4ca4d2(0x197)],_0x84e515=Array[_0x4ca4d2(0x186)](_0x3b8c13[_0x4ca4d2(0x1de)]())[_0x4ca4d2(0x394)](_0xc7dbc6=>_0x3b8c13[_0x4ca4d2(0x38b)](_0xc7dbc6)['map'](_0x484226=>{const _0x1468a8=_0x4ca4d2;var _0x45c92e;const {range:_0xa80b0c,subUnitId:_0x36f449,unitId:_0x3dfe87}=_0x484226,{startColumn:_0x3e9b57,startRow:_0x2e1978,endColumn:_0x1c4075,endRow:_0x2b3e4f}=_0xa80b0c,_0x2e1250=_0x34a093[_0x1468a8(0x273)](_0x2e1978,_0x3e9b57,_0x3ea46d,_0xc19e10),_0x2ea8cc=_0x34a093[_0x1468a8(0x273)](_0x2b3e4f,_0x1c4075,_0x3ea46d,_0xc19e10),{columnHeaderHeightAndMarginTop:_0x338282}=_0xc19e10,{startX:_0x211cf2,startY:_0x2e69bf}=_0x2e1250,{endX:_0x269616,endY:_0x4dcc69}=_0x2ea8cc,_0x44cd9d=_0x269616-_0x211cf2,_0x29ad98=_0x4dcc69-_0x2e69bf,_0xcb09fa={'labelPosition':_0x2e69bf-_0x338282>=0x14?_0x1468a8(0x335):'bottom','sheetID':_0x36f449,'range':_0xa80b0c,'color':_0x1468a8(0x24e),'fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x45c92e=this[_0x1468a8(0x246)][_0x1468a8(0x285)](_0xc7dbc6))==null?void 0x0:_0x45c92e[_0x1468a8(0x29c)])||'','selection':_0x3dfe87+'-'+_0x36f449+'-'+_0xa80b0c[_0x1468a8(0x2ba)]+'-'+_0xa80b0c[_0x1468a8(0x344)]+'-'+_0xa80b0c[_0x1468a8(0x18c)]+'-'+_0xa80b0c[_0x1468a8(0x222)],'left':_0x211cf2,'top':_0x2e69bf,'width':_0x44cd9d,'height':_0x29ad98,'evented':!0x1,'zIndex':0x1};return new _0x5e3575[(_0x1468a8(0x358))]('',_0xcb09fa);}))[_0x4ca4d2(0x269)]();_0x3ea46d[_0x4ca4d2(0x292)](_0x84e515,0x1),this['_diffs']=new Set(_0x84e515);}[_0x40a7b4(0x1ce)](){const _0xa315a0=_0x40a7b4;var _0x28ab9d;(_0x28ab9d=this[_0xa315a0(0x397)])==null||_0x28ab9d['forEach'](_0x11545e=>_0x11545e[_0xa315a0(0x18f)]());}[_0x40a7b4(0x2c4)](){const _0x5252ee=_0x40a7b4;return _0x34a093[_0x5252ee(0x1a3)](this['_univerInstanceService'],this[_0x5252ee(0x181)]);}};_0x4eb214=_0x7cfca3([_0x4078a9(0x1,_0x28d9bc['Inject'](_0x1ad3a3[_0x40a7b4(0x300)])),_0x4078a9(0x2,_0x28d9bc['Inject'](_0x4a455e)),_0x4078a9(0x3,_0x28d9bc[_0x40a7b4(0x1dd)]),_0x4078a9(0x4,_0x11ab04[_0x40a7b4(0x20f)]),_0x4078a9(0x5,_0x28d9bc['Inject'](_0x34a093[_0x40a7b4(0x2ed)])),_0x4078a9(0x6,_0x28d9bc[_0x40a7b4(0x1d5)])],_0x4eb214);function _0x4786e3(){const _0x212364=_0x40a7b4,_0x36d532=_0xeea292['useDependency'](_0x1ad3a3['HistoryManagerService']),_0x708e2a=_0xeea292['useObservable'](_0x36d532[_0x212364(0x215)]),[_0x21b0b1,_0x12a0c4]=_0x5151df[_0x212364(0x3ad)](!0x1),_0x1b7f1e=_0x409b50(_0x708e2a);return _0x708e2a?_0x2f2389[_0x212364(0x302)]('div',{'className':_0x212364(0x232),'children':_0x2f2389[_0x212364(0x340)]('div',{'className':_0x212364(0x172),'children':[_0x1b7f1e[_0x212364(0x394)]((_0x364331,_0x90bf24)=>_0x2f2389[_0x212364(0x340)](_0x5151df[_0x212364(0x1d2)],{'children':[_0x2f2389[_0x212364(0x302)](_0x1882d,{'date':_0x364331[_0x212364(0x250)]}),_0x364331[_0x212364(0x188)][_0x212364(0x394)]((_0x2ec44c,_0x2f998b)=>_0x2f2389[_0x212364(0x302)](_0x1959fe,{'index':[_0x90bf24,_0x2f998b],'item':_0x2ec44c},_0x90bf24+'-'+_0x2f998b))]},_0x364331[_0x212364(0x250)])),_0x21b0b1&&_0x2f2389[_0x212364(0x302)](_0x3944fd,{})]})}):_0x2f2389[_0x212364(0x302)](_0x4ef486,{});}function _0x3944fd(){const _0x26052d=_0x40a7b4;return _0x2f2389['jsx'](_0x26052d(0x38e),{'className':_0x26052d(0x37e),'children':_0x2f2389[_0x26052d(0x302)](_0x15596e,{'className':_0x26052d(0x316)})});}function _0x4ef486(){const _0x303ef7=_0x40a7b4;return _0x2f2389[_0x303ef7(0x302)](_0x303ef7(0x38e),{'className':_0x303ef7(0x35e),'children':_0x2f2389['jsx']('span',{'className':'univer-text-gray-500','children':_0x2f2389[_0x303ef7(0x302)](_0x15596e,{'className':_0x303ef7(0x26c)})})});}function _0x1882d(_0x552c8c){const _0x1be590=_0x40a7b4,_0x1770fe=_0xeea292[_0x1be590(0x277)](_0x28d9bc['LocaleService']),{date:_0x4645f4}=_0x552c8c;return _0x2f2389['jsx'](_0x1be590(0x38e),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','children':_0x31de02(_0x4645f4,_0x1770fe[_0x1be590(0x378)]())});}function _0x1959fe(_0x4d12e3){const _0x5a1899=_0x40a7b4,{item:_0x307894,index:_0xbe1f2e}=_0x4d12e3,{time:_0x53df23,user:_0x28227d}=_0x307894,[_0x5a8bb1,_0x3b38e3]=_0xbe1f2e,_0x4046e7=_0xeea292[_0x5a1899(0x277)](_0x1ad3a3['HistoryManagerService']),_0x3941ac=_0xeea292[_0x5a1899(0x16c)](_0x4046e7['currentVersion$'],'',!0x0)===_0x307894['id'],_0x64656e=_0x5a8bb1===0x0&&_0x3b38e3===0x0,_0x2dfcd6=!_0x64656e&&_0x4046e7[_0x5a1899(0x318)],_0x44285c=_0xeea292['useDependency'](_0x28d9bc[_0x5a1899(0x345)]),_0x4ebb54=_0x44285c[_0x5a1899(0x378)](),_0x1fb396=_0x11108c(_0x53df23,_0x4ebb54),_0x3eb8b9=_0x44285c['t'](_0x5a1899(0x1d4)),_0x17da4f=_0x5151df[_0x5a1899(0x2da)](_0x4717b3=>{const _0x59402a=_0x5a1899;_0x4046e7['loadingState']!==_0xd9bd4a[_0x59402a(0x30d)]&&(_0x4046e7[_0x59402a(0x2e4)]=_0x4717b3);},[_0x4046e7]),_0xb8f8d=_0x5151df[_0x5a1899(0x2da)](_0x4542b5=>{const _0x4d53c9=_0x5a1899;_0x4046e7[_0x4d53c9(0x1ae)](_0x4542b5);},[_0x4046e7]);return _0x2f2389['jsxs'](_0x5a1899(0x38e),{'className':_0x112604[_0x5a1899(0x2a5)](_0x5a1899(0x22d),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x3941ac}),'onClick':()=>_0x17da4f(_0x307894['id']),'children':[_0x2f2389[_0x5a1899(0x340)](_0x5a1899(0x38e),{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x2f2389[_0x5a1899(0x340)](_0x5a1899(0x38e),{'className':_0x5a1899(0x343),'children':[_0x2f2389[_0x5a1899(0x302)](_0x5a1899(0x31f),{'children':_0x1fb396[_0x5a1899(0x206)]}),_0x64656e&&_0x2f2389[_0x5a1899(0x302)]('span',{'className':_0x5a1899(0x166),'children':_0x3eb8b9})]}),_0x2f2389['jsx'](_0x5a1899(0x38e),{'children':_0x2dfcd6&&_0x2f2389[_0x5a1899(0x302)](_0x112604[_0x5a1899(0x2fe)],{'title':_0x44285c['t'](_0x5a1899(0x2c5)),'children':_0x2f2389[_0x5a1899(0x302)](_0x5a1899(0x38e),{'onClick':_0x142441=>{_0x142441['stopPropagation'](),_0xb8f8d(_0x307894['id']);},'className':_0x5a1899(0x3af),'children':_0x2f2389['jsx'](_0x5d6f14,{})})})})]}),_0x2f2389[_0x5a1899(0x302)](_0x5a1899(0x38e),{'className':_0x5a1899(0x2fb),'children':_0xc8eb9a(_0x307894,_0x44285c)})]});}var _0x395d53=Object[_0x40a7b4(0x2f0)],_0x57fadd=(_0x5a2772,_0x2d8ee5,_0x339822,_0x9b0f50)=>{for(var _0x2f700b=_0x9b0f50>0x1?void 0x0:_0x9b0f50?_0x395d53(_0x2d8ee5,_0x339822):_0x2d8ee5,_0x1dd956=_0x5a2772['length']-0x1,_0xccf43e;_0x1dd956>=0x0;_0x1dd956--)(_0xccf43e=_0x5a2772[_0x1dd956])&&(_0x2f700b=_0xccf43e(_0x2f700b)||_0x2f700b);return _0x2f700b;},_0x389151=(_0x5c0cfb,_0x3df564)=>(_0x21e770,_0x5adc3c)=>_0x3df564(_0x21e770,_0x5adc3c,_0x5c0cfb);const _0x130621=_0x40a7b4(0x1f6);let _0x30ebc1=class extends _0x28d9bc[_0x40a7b4(0x1f7)]{constructor(_0x227c3d,_0xd670af,_0x38ab52,_0x55d77c,_0x505634){const _0x4863c9=_0x40a7b4;super(),_0x29ae5b(this,'_sidebarDisposable',null),(this[_0x4863c9(0x23c)]=_0x227c3d,this[_0x4863c9(0x175)]=_0xd670af,this[_0x4863c9(0x339)]=_0x38ab52,this[_0x4863c9(0x246)]=_0x55d77c,this[_0x4863c9(0x356)]=_0x505634,this[_0x4863c9(0x1c4)]());}[_0x40a7b4(0x1c4)](){const _0x2a57ca=_0x40a7b4;this[_0x2a57ca(0x187)](),this['_openPanel']();}['_openPanel'](){const _0x3f48f4=_0x40a7b4;var _0x2ff340;if(this[_0x3f48f4(0x29d)])return;const _0x2753a3=((_0x2ff340=this[_0x3f48f4(0x356)][_0x3f48f4(0x2dd)](_0x14b81e))==null?void 0x0:_0x2ff340[_0x3f48f4(0x26d)])||_0x130621,_0x159873={'header':{'title':this[_0x3f48f4(0x339)]['t'](_0x3f48f4(0x376))},'children':{'label':_0x2753a3},'onClose':()=>{const _0x5cd0e0=_0x3f48f4;this[_0x5cd0e0(0x29d)]=null,this['_historyManagerService'][_0x5cd0e0(0x34d)]=_0x4a1499['Exited'];}};this[_0x3f48f4(0x29d)]=this['_sidebarService']['open']({..._0x159873});}[_0x40a7b4(0x187)](){const _0x4e015a=_0x40a7b4;this['disposeWithMe'](this['_componentManager']['register'](_0x130621,_0x4786e3)),this[_0x4e015a(0x32d)](this[_0x4e015a(0x23c)][_0x4e015a(0x19c)][_0x4e015a(0x272)](_0x406749['debounceTime'](0x64))['subscribe'](_0x4d586e=>{const _0x3caa5c=_0x4e015a,{target:_0xa60af2}=_0x4d586e||{};if(_0xa60af2){const {scrollTop:_0x39a097,scrollHeight:_0x3dcf26,clientHeight:_0x315528}=_0xa60af2;_0x39a097+_0x315528>=_0x3dcf26-0x5&&this[_0x3caa5c(0x246)]['loadMoreVersions']();}}));}};_0x30ebc1=_0x57fadd([_0x389151(0x0,_0xeea292[_0x40a7b4(0x35f)]),_0x389151(0x1,_0x28d9bc[_0x40a7b4(0x29e)](_0xeea292[_0x40a7b4(0x31c)])),_0x389151(0x2,_0x28d9bc[_0x40a7b4(0x29e)](_0x28d9bc[_0x40a7b4(0x345)])),_0x389151(0x3,_0x28d9bc[_0x40a7b4(0x29e)](_0x1ad3a3['HistoryManagerService'])),_0x389151(0x4,_0x28d9bc[_0x40a7b4(0x253)])],_0x30ebc1);class _0x1c503c extends _0x28d9bc[_0x40a7b4(0x1f7)]{constructor(){super(),_0x29ae5b(this,'_dialogOptions$',new _0x406749['Subject']());}['open'](){const _0x1fefe2=_0x40a7b4;return _0x28d9bc[_0x1fefe2(0x1dc)](()=>{});}['close'](){}[_0x40a7b4(0x252)](_0x57f98d){}[_0x40a7b4(0x25c)](){const _0x45c904=_0x40a7b4;return this[_0x45c904(0x2ec)][_0x45c904(0x1d0)]();}}var _0x3f6257=Object['defineProperty'],_0x5081f2=Object[_0x40a7b4(0x2f0)],_0x12b450=(_0x596f6a,_0x4663a0,_0x2ae96f)=>_0x4663a0 in _0x596f6a?_0x3f6257(_0x596f6a,_0x4663a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ae96f}):_0x596f6a[_0x4663a0]=_0x2ae96f,_0x4561e0=(_0x3e88bf,_0x4db230,_0x494841,_0x2b0dd5)=>{const _0x446e3b=_0x40a7b4;for(var _0x43308d=_0x2b0dd5>0x1?void 0x0:_0x2b0dd5?_0x5081f2(_0x4db230,_0x494841):_0x4db230,_0x416e93=_0x3e88bf[_0x446e3b(0x1c2)]-0x1,_0x5be51a;_0x416e93>=0x0;_0x416e93--)(_0x5be51a=_0x3e88bf[_0x416e93])&&(_0x43308d=_0x5be51a(_0x43308d)||_0x43308d);return _0x43308d;},_0x2e7d24=(_0x38dcbb,_0x419f4d)=>(_0x540e82,_0x1bcbe8)=>_0x419f4d(_0x540e82,_0x1bcbe8,_0x38dcbb),_0x5c37a1=(_0x2a6737,_0x2e815b,_0x4ddb13)=>_0x12b450(_0x2a6737,_0x2e815b+'',_0x4ddb13);const _0x543935=_0x40a7b4(0x399);_0x1ad3a3[_0x40a7b4(0x35c)]=class extends _0x28d9bc[_0x40a7b4(0x15d)]{constructor(_0x2fc0e6=_0x468b0d,_0x328318,_0xe9b543,_0x4658aa){const _0x5391e6=_0x40a7b4;super(),this[_0x5391e6(0x271)]=_0x2fc0e6,this[_0x5391e6(0x304)]=_0x328318,this[_0x5391e6(0x181)]=_0xe9b543,this['_configService']=_0x4658aa;const {..._0xd21956}=_0x28d9bc['merge']({},_0x468b0d,this[_0x5391e6(0x271)]);this[_0x5391e6(0x356)][_0x5391e6(0x249)](_0x14b81e,_0xd21956);}[_0x40a7b4(0x2dc)](){const _0x36b55b=_0x40a7b4;[[_0x1ad3a3['HistoryManagerService']],[_0x4e7b4a],[_0x4a455e],[_0x1b15a9],[_0x30ebc1],[_0x3e3526],[_0xee6c7a[_0x36b55b(0x3a3)],{'useClass':_0x3abb35[_0x36b55b(0x2f3)]}],[_0xeea292[_0x36b55b(0x36a)],{'useClass':_0x1c503c}],[_0x1affa5['IImageIoService'],{'useClass':_0x3abb35[_0x36b55b(0x33f)]}]]['forEach'](_0x54916c=>this[_0x36b55b(0x304)][_0x36b55b(0x1c5)](_0x54916c)),this[_0x36b55b(0x304)][_0x36b55b(0x38b)](_0x4e7b4a);}[_0x40a7b4(0x35b)](){const _0x2ddc5d=_0x40a7b4;[[_0x4eb214]][_0x2ddc5d(0x1a8)](_0x351133=>{const _0x526436=_0x2ddc5d;this[_0x526436(0x32d)](this[_0x526436(0x181)]['registerRenderModule'](_0x28d9bc[_0x526436(0x1be)][_0x526436(0x16b)],_0x351133));}),this[_0x2ddc5d(0x304)][_0x2ddc5d(0x38b)](_0x3e3526),this[_0x2ddc5d(0x304)][_0x2ddc5d(0x38b)](_0x30ebc1);}[_0x40a7b4(0x15b)](){const _0x5c5bbc=_0x40a7b4;this[_0x5c5bbc(0x304)][_0x5c5bbc(0x38b)](_0x4a455e);}},_0x5c37a1(_0x1ad3a3[_0x40a7b4(0x35c)],_0x40a7b4(0x182),_0x543935),_0x1ad3a3[_0x40a7b4(0x35c)]=_0x4561e0([_0x28d9bc[_0x40a7b4(0x291)](_0x34a093['UniverSheetsUIPlugin'],_0x241184[_0x40a7b4(0x1b5)]),_0x2e7d24(0x1,_0x28d9bc[_0x40a7b4(0x29e)](_0x28d9bc[_0x40a7b4(0x1eb)])),_0x2e7d24(0x2,_0x11ab04['IRenderManagerService']),_0x2e7d24(0x3,_0x28d9bc[_0x40a7b4(0x253)])],_0x1ad3a3[_0x40a7b4(0x35c)]),_0x1ad3a3['HistoryModeStatus']=_0x4a1499,_0x1ad3a3[_0x40a7b4(0x364)]=_0x19911b,Object['defineProperty'](_0x1ad3a3,Symbol[_0x40a7b4(0x2c2)],{'value':'Module'});}));function _0xb405(){const _0x589bf0=['transformSnapshotToWorkbookData','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_DISTRO_REJECTED','_sidebarService','borderBottomClassName','userIds','disposeUnit','ENTITLE_REPORT_LIMIT_EXCEED','DisposableCollection','DeleteColumn','subscribeEvent','CompressMutationService','historyListServerUrl','_historyManagerService','workbook','hideMask','setConfig','createElement','getRelativeToViewportCoord','fetchThroughInterceptors','TOO_MANY_REQUESTS','rgba(58,\x2096,\x20247,\x200.20)','/creators','dateString','WorkbookMoveSheetPermission','closeAll','IConfigService','exports','ENTITLE_INVALID_COUPON_CODE','style','action','UniverNetwork','fetching','concat','Print','getDialogs$','MoveWorksheet','SNAPSHOT_INVALID_SNAPSHOT','values','currentColor','updatePermissionPoint','MessageType','setState','startRevision','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_PROJECT','isTransformMutationsSuccess','BehaviorSubject','flat','evenodd','RecoverHistory','univer-m-auto\x20univer-animate-spin','historyPanelComponentKey','100%','ViewHistory','insertSheet','_config','pipe','getCoordByCell','UniverSheetsFilter','SetWorksheetActiveOperation','getMinutes','useDependency','connectInjector','@univerjs-pro/collaboration-client','m1Prime','_updateDiffMarks','UpdateDataValidationMutation','subUnitId','hasCommand','editHistory.panel.revertConfirmText','isArray','UniverCore','parse','10201424RkeRJG','loaded','getMember','sheetId','FloatImg','Error','executeCommand','LOGIN_FAILED','APPLY_REVISION_CONFILICT','_maskElement','loadMoreVersions','REDEMPTION_CODE_NOT_STARTED','CONNECTOR_DATA_TOO_LARGE','LOGIN_TOKEN_PROCESSING_FAILED','DependentOn','addObjects','error','_versionDiffService','path','UNAUTHENTICATED','@univerjs/network','range','FromArray','RenameSheet','InsertColMutation','name','_sidebarDisposable','Inject','REDEMPTION_USER_REDEEM_TIMES_EXCEED','anonymous','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','InsertHyperlink','ranges','rev','clsx','loading','@univerjs/core','ENSURE_SNAPSHOT_EXECUTION','MoveRowsMutation','active','_initRender','cellValue','RemoveNumfmtMutation','_setFetching','syncExecuteCommand','Init','CreateWorksheet','_messageService','lastLabel','RenameWorksheet','react/jsx-runtime','YUUMI_ALL_TABLES_IS_INVALID','_diffRangesMap','SelectUnProtectedCells','APPLY_DUPLICATED','startColumn','_currentVersion$','@univerjs/sheets','UNRECOGNIZED','_loadingState$','REDEMPTION_CODE_FULLY_REDEEMED','blocks','find','toStringTag','SetRowStyle','_getSheetObject','editHistory.panel.revertDesc','restore-icon','_hasMore','@univerjs-pro/sheets-chart','CHANGESET_REVISION_CONFILICT','Filter','COMPLETION_FINISHED','EMAIL_VERIFY_CODE_MISMATCH','commands','display','_fetching$','createUnit','url(#$1','SheetPermissionInitController','sheet','ALREADY_EXISTS','assign','YUUMI_ASYNCIO_CANCELLED','Loaded','[HistoryFetchService]:\x20request\x20snapshot\x20error!','DeleteWorksheet','useCallback','current','onStarting','getConfig','code','_univerInstanceService','none','ObjectMatrix','getCurrentVersion','position','currentVersion','function','@univerjs/sheets-conditional-formatting','UniverEngineRender','IPermissionService','editHistory.panel.listFetchError','ViemRwHgtClWdt','history-mask','_dialogOptions$','SheetSkeletonManagerService','LoadingMultiIcon','MOBILE_HAS_BEEN_BOUND','getOwnPropertyDescriptor','revertRevision$','creators','SnapshotServerOverHTTPService','PERMISSION_DENIED','backgroundColor','_uiPartsService','blockMeta','1000','editSheet','Edit','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','replace','currentVersion$','Tooltip','univerjs-icon\x20univerjs-icon-','HistoryManagerService','_createUnit','jsx','User','_injector','addProtection','UniverDataValidation','xlink:href','unitId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','set','INVITE_CODE_HAS_BEEN_UES','all','Loading','/universer-api/history','date','entered','_yieldToMain','includes','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_lastLabel','MoveColsMutation','univer-animate-spin','_sheetSkeletonManagerService','canRevert','SetWorksheetHideMutation','SelectProtectedCells','_updateVersions','ComponentManager','value','RevertRevisionMutation','span','_sheetPermissionInitController','_commandService','LocaleType','CopySheet','_versions$','recoverTime','VIRTUAL_VERSION_NOW','24RPvvjO','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs-pro/collaboration-client-ui','_creators$','append','insertChart','disposeWithMe','setFilter','_combineRanges','status$','params','_confirmService','interceptor','origin','top','loadInitialVersions','hidden','_snapshotServerService','_localeService','INTERNAL_ERROR','useRef','Unspecified','_currentVersionDiff$','_getAPIPrefix','CollaborationImageIoService','jsxs','fetching$','editHistory.panel.revertConfirm','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','startRow','LocaleService','some','AddDataValidationMutation','toString','UniverUi','push','InsertRow','ZH_CN','status','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','EditWorksheetCell','CURRENT_STATUS_CANNOT_OPERATE','Sort','543524AlkCKu','IConfirmService','@univerjs-pro/sheets-sparkline','REDEMPTION_USER_NOT_ELIGIBLE','_configService','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','SheetCollabCursorShape','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','CreatePermissionObject','onRendered','UniverEditHistoryViewerPlugin','clear','univer-flex\x20univer-items-center\x20univer-justify-center','ISidebarService','loadSheet','@univerjs/sheets-ui','editHistory.action.etc','UniverProEditHistoryViewer','HistoryOrigin','#0B9EFB','show','@univerjs/data-validation','users','row','IDialogService','WorkbookEditablePermission','filter','.univer-app-container-content','createTime','MoveSheet','absolute','_maskContainer','children','DeleteSheet','_historyContainerId','setValue','editHistory.panel.title','AddConditionalRuleMutation','getCurrentLocale','column','removeSheet','CreateSheet','_permissionService','debounce','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','ENTITLE_CHAT_LIMIT_EXCEED','split','clipPath','LICENSE_MAX_UNITS_EXCEEDED','HTTPService','ENTITLE_INSUFFICIENT_QUOTA','_status$','loadingState','ViewFilter','skeleton','currentVersionDiff$','state$','get','USER_NOT_FOUND','defineProperty','div','HideWorksheet','then','IMessageService','SHEET_VIEWPORT_KEY','_workbookDataCache','map','trim','986325TdbRED','_diffs','_getActiveSubUnitId','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','ENTITLE_DUP_SUBSCRIPTION','getUnitOnRev','NOT_FOUND','editHistory.panel.currentUser','SetRangeProtectionMutation','RemoveSheetMutation','ManageCollaborator','confirm-revert-revision','_cellEditorManagerService','ISnapshotServerService','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','Character','editHistory.panel.unknownUser','toISOString','restore-icon_clip0_1247_2','userID','getUnitId','body','YUUMI_CONNECTOR_URL_NOT_FOUND','useState','userId','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','EMAIL_HAS_BEEN_BOUND','onSteady','@univerjs/design','Plugin','merge','View','YUUMI_NO_CUBOID_FOR_QUESTION','ensureVersion','DeleteRow','getDeserializedSheetBlock','getHours','triggerLoadSheet','univer-ml-2\x20univer-flex\x20univer-h-5\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','forwardRef','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','ENTITLE_NEED_BILLING_ADDRESS','_unitId$','UNIVER_SHEET','useObservable','padStart','0\x200\x2016\x2016','ENTITLE_COUPON_EXPIRED','has','SetConditionalRuleMutation','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','editHistory.action.revertSheetSuffix','INVALID_ARGUMENT','_componentManager','registerComponent','rxjs','showMask','_transformMutationByOrder','makeDirty','memberId','SNAPSHOT_HAS_BEEN_REMOVED','entries','INVITE_CODE_REQUIRED','onPointerMove$','SetCellStyle','_renderManagerService','pluginName','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','fetchMissingChangesets','AddSheetSparklineMutation','from','_initPanel','versions','unitId$','APPLY_REJECT','subscribe','endColumn','init','UNIVER_SLIDE','dispose','transformMutations','AddRangeProtectionMutation','BackIcon','YUUMI_UNABLE_LOAD_URL','onMouseMove','_createMask','setDV','_context','amd','className','flex','_lastPointer','scrollEvent$','getViewport','_httpService','_transformService','8268835qwynzq','INVITE_CODE_ALREADY_BOUND','SetColumnStyle','getSheetObject','_historyFetchService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','REDEMPTION_CODE_INACTIVE','@univerjs-pro/collaboration','forEach','Info','revertSheet','_loadParams','fill','EditExtraObject','triggerRevert','SetNumfmtMutation','univer-text-2xl\x20dark:!univer-text-white','use','svg','mutations','REDEMPTION_INVALID_CODE','UniverNetworkPlugin','Export','YUUMI_AI_RUN_FAILED','setCF','YUUMI_RATE_OVER_LIMIT','loadingState$','YUUMI_SUBSCRIPTION_NOT_FOUND','findAllRectangle','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','UniverInstanceType','APPLY_PERMISSION_DENIED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','LICENSE_IMPORT_SIZE_EXCEEDED','length','center','_init','add','deleteProtection','UNDEFINED','DeleteRangeProtectionMutation','createSheet','USER_NOT_INVITED_CODE','UniverSheetsUi','idSuffix','InsertSheetMutation','_removeDiffMarks','string','asObservable','Copy','Fragment','loading-multi-icon','editHistory.panel.currentVersion','ICommandService','UNIVER_DOC','0\x200\x2016\x2017','RwHgtClWdt','confirm','attrs','getVpScrollXYInfoByPosToVp','toDisposable','IUniverInstanceService','keys','reduce','Duplicate','Today','ENTITLE_COUPON_USED_UP','SetCellValue','HideSheet','INVALID_INVITE_CODE','RangeMergeUtil','react','WECHAT_HAS_BEEN_BOUND','219ZnrHog','block','Injector','loadHistoryCreatorList','AUTHORIZE_CODE_ILLEGAL','getVersion','substring','colorChannel1','_getRangesByMutation','getAncestorScale','_compressMutationService','getSeconds','SetWorksheetStyle','history-panel','Disposable','React','editHistory.info.loading','Share','UniverDesign','41146DKqICP','subType','editHistory.panel.cancel','Exited','fetchCreatorList','editHistory.action.','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','creators$','_members','random','time','defs','additionalFields','endRev','tag','6851430LePPAn','_revertRevision$','CreateUnitMutation','user','IRenderManagerService','getDataRange','UniverProCollaborationClientUi','Entered','USER_IS_ANONYMOUS','MoveRangeMutation','versions$','entities','displayName','UniverProSheetsChart','height','34636pfLdeJ','Vector2','next','InsertColumn','querySelector','permissionPointUpdate$','http://www.w3.org/2000/svg','UniverProCollaborationClient','endRow','DATA_SOURCE_TOO_LARGE','SetSheetsFilterRangeMutation','url(#restore-icon_clip0_1247_2)','ICellEditorManagerService','getVersions','command','data','1em','_extractRanges','UniverDrawing','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','Delete','PAYMENT_CHANNEL_NOT_SUPPORT','white','univer-overflow-hidden','exited','HEADER','Comment','rule','_setVersions','setFrozen'];_0xb405=function(){return _0x589bf0;};return _0xb405();}
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- function _0x5a26(){const _0xd0c8fd=['_permissionService','ComponentManager','@univerjs/sheets-data-validation-ui','invoke','editHistory.panel.reverting','IAuthzIoService','has','symbol','@univerjs/sheets-formula','UniverSheetsDataValidationPlugin','@univerjs/sheets','reload','rxjs','disposeWithMe','_messageService','UniverIcon','_commandService','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','IDialogService','executeCommand','historyPanelComponentKey','0\x200\x2016\x2016','length','UniverSheetsDrawingUi','dataset','WorksheetEditPermission','Disposable','Module','appendChild','UniverProSheetsSparkline','historyUniver$','BehaviorSubject','_disposableCollection','currentColor','@univerjs/sheets-hyper-link-ui','@univerjs-pro/edit-history-viewer','UniverSheetsPivotTablePlugin','workerURL','13021479hZZLxH','UniverProEditHistoryViewer','getSubunitRuleList','UniverFormulaEnginePlugin','HistoryLoaderService','UniverDocsPlugin','UniverDrawing','string','clear','@univerjs/engine-render','defIds','unMountHistoryContent','add','230EBfPHV','UNIVER_CONTAINER_ID_KEY','height','combineLatest','zIndex','_initContainer','WorkbookEditablePermission','pluginName','asObservable','UniverSheetSparklinePlugin','trim','univerjs-icon\x20univerjs-icon-','_historyUniver$','path','_initListener','UNIVER_CONTAINER_ID','IImageIoService','state$','UniverEditHistoryLoaderPlugin','mountHistoryContent','@univerjs/docs-ui','absolute','RangeProtectionPermissionEditPoint','editHistory.panel.revertFailed','UniverSheetsConditionalFormattingPlugin','@univerjs/sheets-drawing-ui','toStringTag','useRef','_collaborationController','onCommandExecuted','onSteady','@univerjs/sheets-drawing','getOwnPropertyDescriptor','displayName','UniverSheetSparklineUIPlugin','colorChannel1','UniverEngineRender','@univerjs/data-validation','substring','defineProperty','entries','_revertErrorTimer','100%','getSheetId','@univerjs/rpc','url(#history-icon_clip0_907_281)','historyUniver','BUTTON','@univerjs-pro/sheets-chart-ui','closeAll','_initUniver','UNIVER_SHEET','xlink:href','clipPath','RibbonStartGroup','UniverSheetsDataValidationUIPlugin','__getInjector','show','every','@univerjs/sheets-data-validation','WorkbookViewHistoryPermission','UniverDrawingPlugin','@univerjs-pro/sheets-sparkline','onStarting','_localCacheService','set','Loading','UniverSheetsNumfmtPlugin','ICommandService','UniverSheetsFormulaUIPlugin','1723420VFtdSL','block','function','UniverDocsUi','url(#$1','register','getCurrentLocale','UniverProSheetsChart','@univerjs/network','assign','React','@univerjs/sheets-numfmt','UniverProSheetsPivot','IMenuManagerService','IUniverInstanceService','UniverDesign','685157corQLX','UniverSheetsConditionalFormattingUi','1000','CommandType','Univer','getConfig','composePermission','UniverSheetsFilterUIPlugin','forEach','UniverProSheetsChartUi','defs','uComp','UniverInstanceType','_checkCanRevert','position','UniverRenderEnginePlugin','includes','10927212tSxMWd','setConfig','univerContainerId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','OTHERS','35BzGTVB','UniverSheetsUi','registerCommand','getAllPlugins','AuthzIoHttpService','IConfigService','HistoryModeStatus','WorkbookRecoverHistoryPermission','./worker.js','none','UniverSheetsConditionalFormatting','UniverNetworkPlugin','_menuManagerService','univer-history-container','@univerjs/sheets-conditional-formatting-ui','historyListServerUrl','idSuffix','UniverProEditHistoryLoader','@univerjs/engine-formula','UniverCore','UniverSheetsConditionalFormattingUIPlugin','MenuItemType','_configService','_localeService','RangeProtectionRuleModel','65DuQEEk','_historyManagerService','HistoryIcon','params','@univerjs/docs','editHistory.panel.listFetchError','@univerjs-pro/collaboration','UniverLicensePlugin','random','values','@univerjs/sheets-hyper-link','_componentManager','mutations','subscribe','UniverCollaborationPlugin','UniverSheetsChartUIPlugin','UniverRPCMainThreadPlugin','1162950Srjswa','tag','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','style','UniverSheetsFilter','OPERATION','Entered','IMessageService','1em','top','UniverProCollaboration','merge','UniverDataValidation','DisposableCollection','map','UniverSheetsHyperLink','UniverSheetsFilterUi','UniverSheetsDataValidationUi','UniverSheetsFilterPlugin','toString','event$','getSheetCommandTarget','darkMode$','setTheme','LocaleService','\x20has\x20been\x20registered.','@univerjs/sheets-filter-ui','UniverSheetsDrawingPlugin','_selectionProtectionRuleModel','HistoryManagerService','_injector','UniverSheetsFormula','119DJuvun','_pluginMap','512111YxWgfb','_config','getElementById','status$','UniverDrawingUi','@univerjs-pro/collaboration-client','UNIVER_HISTORY_CONTAINER_ID','UniverSheetsFormulaUi','ThemeService','setDarkMode','Plugin','PLUGIN_CONFIG_KEY_MAIN_THREAD','UniverNetwork','UniverSheetsDrawingUIPlugin','left','menu','get','@univerjs/sheets-conditional-formatting','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','white','history-icon_clip0_907_281','width','ISidebarService','forwardRef','MessageType','div','mergeMenu','UniverProSheetsSparklineUi','dispose','edit-history-loader.config','exhaustSavingTask','attrs','registerPlugin','editHistory.panel.title','RevertRevisionMutation','Injector','display','M0\x200H16V16H0z','currentTheme$','type','@univerjs-pro/sheets-pivot','_init','getCollabEntity','value','@univerjs-pro/sheets-chart','data','mask','UniverUIPlugin','react','[HistoryLoaderService]:\x20Plugin\x20','UniverSheetsDataValidation','_initPlugins','Inject','UniverEditHistoryViewerPlugin','UniverDocs','@univerjs/ui','2IkgBeb','UniverProCollaborationClient','CollaborationEvent','6vBiMLv','Error','revertRevision$','eventID','flat','_sidebarService','@univerjs/drawing','_dialogService','_univerInstanceService','fill','IPermissionService','465656bzsIQl','getMenuHiddenObservable','@univerjs/core','ILocalCacheService','children','@univerjs/design','@univerjs/sheets-filter','UniverSheetsChartPlugin','UniverEngineFormula','@univerjs/sheets-ui','@univerjs-pro/sheets-sparkline-ui','replace'];_0x5a26=function(){return _0xd0c8fd;};return _0x5a26();}function _0x56b2(_0x39ad6e,_0x4b9e20){_0x39ad6e=_0x39ad6e-0xbf;const _0x5a26a9=_0x5a26();let _0x56b25c=_0x5a26a9[_0x39ad6e];return _0x56b25c;}(function(_0x37e642,_0x3592ff){const _0x3417ad=_0x56b2,_0x109e19=_0x37e642();while(!![]){try{const _0x597973=parseInt(_0x3417ad(0x15b))/0x1*(-parseInt(_0x3417ad(0x193))/0x2)+parseInt(_0x3417ad(0x196))/0x3*(-parseInt(_0x3417ad(0xe9))/0x4)+-parseInt(_0x3417ad(0x10f))/0x5*(parseInt(_0x3417ad(0x139))/0x6)+-parseInt(_0x3417ad(0x159))/0x7*(parseInt(_0x3417ad(0x1a1))/0x8)+-parseInt(_0x3417ad(0x1d3))/0x9+-parseInt(_0x3417ad(0x1e0))/0xa*(-parseInt(_0x3417ad(0xf9))/0xb)+parseInt(_0x3417ad(0x10a))/0xc*(parseInt(_0x3417ad(0x128))/0xd);if(_0x597973===_0x3592ff)break;else _0x109e19['push'](_0x109e19['shift']());}catch(_0x30110c){_0x109e19['push'](_0x109e19['shift']());}}}(_0x5a26,0xc7de4),function(_0x2a9830,_0x1ed1ac){const _0x171973=_0x56b2;typeof exports=='object'&&typeof module<'u'?_0x1ed1ac(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),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-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),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-ui')):typeof define==_0x171973(0xeb)&&define['amd']?define(['exports',_0x171973(0x1a3),_0x171973(0x12e),_0x171973(0x160),_0x171973(0x1a6),_0x171973(0x18b),_0x171973(0x192),_0x171973(0x1b9),_0x171973(0x1b7),_0x171973(0x1d0),'@univerjs-pro/license',_0x171973(0x187),_0x171973(0xd3),_0x171973(0x183),_0x171973(0xe1),_0x171973(0x1ab),_0x171973(0xc8),_0x171973(0x12c),_0x171973(0x1f4),_0x171973(0x19c),'@univerjs/drawing-ui',_0x171973(0x121),_0x171973(0x1dc),_0x171973(0xf1),_0x171973(0xcf),_0x171973(0x16c),_0x171973(0x11d),_0x171973(0xde),_0x171973(0x1af),_0x171973(0xc2),_0x171973(0x1f9),_0x171973(0x1a7),_0x171973(0x153),_0x171973(0x1b5),'@univerjs/sheets-formula-ui',_0x171973(0x132),_0x171973(0x1cf),_0x171973(0xf4),_0x171973(0x1aa)],_0x1ed1ac):(_0x2a9830=typeof globalThis<'u'?globalThis:_0x2a9830||self,_0x1ed1ac(_0x2a9830[_0x171973(0x120)]={},_0x2a9830[_0x171973(0x122)],_0x2a9830[_0x171973(0x143)],_0x2a9830[_0x171973(0x194)],_0x2a9830[_0x171973(0xf8)],_0x2a9830[_0x171973(0xf3)],_0x2a9830['UniverUi'],_0x2a9830[_0x171973(0x1b9)],_0x2a9830['UniverSheets'],_0x2a9830[_0x171973(0x1d4)],_0x2a9830['UniverProLicense'],_0x2a9830[_0x171973(0xf0)],_0x2a9830[_0x171973(0x102)],_0x2a9830[_0x171973(0xf5)],_0x2a9830[_0x171973(0x1ca)],_0x2a9830[_0x171973(0x176)],_0x2a9830[_0x171973(0x145)],_0x2a9830[_0x171973(0x191)],_0x2a9830[_0x171973(0xec)],_0x2a9830[_0x171973(0x1d9)],_0x2a9830[_0x171973(0x15f)],_0x2a9830[_0x171973(0x1a9)],_0x2a9830[_0x171973(0xc7)],_0x2a9830[_0x171973(0x167)],_0x2a9830['UniverRpc'],_0x2a9830[_0x171973(0x119)],_0x2a9830[_0x171973(0xfa)],_0x2a9830[_0x171973(0x18d)],_0x2a9830[_0x171973(0x14a)],_0x2a9830['UniverSheetsDrawing'],_0x2a9830[_0x171973(0x1c4)],_0x2a9830[_0x171973(0x13d)],_0x2a9830[_0x171973(0x149)],_0x2a9830[_0x171973(0x158)],_0x2a9830[_0x171973(0x162)],_0x2a9830[_0x171973(0x148)],_0x2a9830['UniverSheetsHyperLinkUi'],_0x2a9830['UniverSheetsNumfmt'],_0x2a9830[_0x171973(0x110)]));}(this,function(_0x1d88cc,_0xe91783,_0x170010,_0x781836,_0x2a0ae6,_0xfa2eb,_0x437d7d,_0x1ec36b,_0x3b54ec,_0x28706d,_0x3e94cd,_0x4985b7,_0x21871f,_0x55a733,_0xa53bd0,_0x543c79,_0xdee9be,_0x2dabbc,_0x4e265a,_0x3e0b0c,_0x40149c,_0x1df04b,_0x216dc4,_0x10705d,_0x324161,_0x2c6358,_0xb7a904,_0x1453f0,_0x20b536,_0x9ea0df,_0x60ec94,_0x4e2652,_0x18dde2,_0x5deaab,_0x4cdfe4,_0x58090c,_0x338ab1,_0x45c8cb,_0x4f6fc8){'use strict';const _0x1b417a=_0x56b2;var _0x5b7670=Object[_0x1b417a(0xca)],_0x4959df=(_0x519ebd,_0xda33d0,_0x259e4d)=>_0xda33d0 in _0x519ebd?_0x5b7670(_0x519ebd,_0xda33d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x259e4d}):_0x519ebd[_0xda33d0]=_0x259e4d,_0x313398=(_0x2b2917,_0x59e70e,_0x486ca5)=>_0x4959df(_0x2b2917,typeof _0x59e70e!=_0x1b417a(0x1b4)?_0x59e70e+'':_0x59e70e,_0x486ca5),_0x500a22;const _0x26a2bd=_0x1b417a(0x178),_0x1c886f={};function _0x363a95({ref:_0x1ef9d1,..._0x1b23ae}){const _0x32509d=_0x1b417a,{icon:_0xc73e35,id:_0xf2bec0,className:_0x3714a7,extend:_0x14e8d0,..._0x1045e5}=_0x1b23ae,_0x48be25=(_0x32509d(0x1eb)+_0xf2bec0+'\x20'+(_0x3714a7||''))[_0x32509d(0x1ea)](),_0x22e2cf=_0xfa2eb[_0x32509d(0x1fb)]('_'+_0x44ffdc());return _0x452894(_0xc73e35,''+_0xf2bec0,{'defIds':_0xc73e35[_0x32509d(0x1dd)],'idSuffix':_0x22e2cf['current']},{'ref':_0x1ef9d1,'className':_0x48be25,..._0x1045e5},_0x14e8d0);}function _0x452894(_0x2ae85c,_0x378d7e,_0x31346f,_0x1cc0cd,_0x1b7aea){const _0x1ec97c=_0x1b417a;return _0xfa2eb['createElement'](_0x2ae85c[_0x1ec97c(0x13a)],{'key':_0x378d7e,..._0x41b31a(_0x2ae85c,_0x31346f,_0x1b7aea),..._0x1cc0cd},(_0x2bfc8f(_0x2ae85c,_0x31346f)[_0x1ec97c(0x1a5)]||[])['map']((_0x388dcc,_0x3797ba)=>_0x452894(_0x388dcc,_0x378d7e+'-'+_0x2ae85c[_0x1ec97c(0x13a)]+'-'+_0x3797ba,_0x31346f,void 0x0,_0x1b7aea)));}function _0x41b31a(_0x697482,_0x2be62b,_0x2b2e31){const _0x303529=_0x1b417a,_0x53058b={..._0x697482[_0x303529(0x17a)]};_0x2b2e31!=null&&_0x2b2e31['colorChannel1']&&_0x53058b[_0x303529(0x19f)]===_0x303529(0xc6)&&(_0x53058b[_0x303529(0x19f)]=_0x2b2e31[_0x303529(0xc6)]),_0x697482[_0x303529(0x13a)]===_0x303529(0x189)&&_0x53058b['id']&&(_0x53058b['id']=_0x53058b['id']+_0x2be62b[_0x303529(0x11f)]),Object[_0x303529(0xcb)](_0x53058b)[_0x303529(0x101)](([_0x54824b,_0x1844d6])=>{const _0x478221=_0x303529;_0x54824b===_0x478221(0x189)&&typeof _0x1844d6==_0x478221(0x1da)&&(_0x53058b[_0x54824b]=_0x1844d6['replace'](/url\(#(.*)\)/,_0x478221(0xed)+_0x2be62b[_0x478221(0x11f)]+')'));});const {defIds:_0x3d09e2}=_0x2be62b;return!_0x3d09e2||_0x3d09e2[_0x303529(0x1c3)]===0x0||(_0x697482[_0x303529(0x13a)]==='use'&&_0x53058b[_0x303529(0xd7)]&&(_0x53058b[_0x303529(0xd7)]=_0x53058b['xlink:href']+_0x2be62b[_0x303529(0x11f)]),Object['entries'](_0x53058b)[_0x303529(0x101)](([_0x1ba894,_0x4235b3])=>{const _0xa633c6=_0x303529;typeof _0x4235b3==_0xa633c6(0x1da)&&(_0x53058b[_0x1ba894]=_0x4235b3[_0xa633c6(0x1ac)](/url\(#(.*)\)/,_0xa633c6(0xed)+_0x2be62b['idSuffix']+')'));})),_0x53058b;}function _0x2bfc8f(_0x34752f,_0x183e10){const _0x183617=_0x1b417a;var _0x50be38;const {defIds:_0x716316}=_0x183e10;return!_0x716316||_0x716316[_0x183617(0x1c3)]===0x0?_0x34752f:_0x34752f[_0x183617(0x13a)]===_0x183617(0x103)&&((_0x50be38=_0x34752f[_0x183617(0x1a5)])!=null&&_0x50be38['length'])?{..._0x34752f,'children':_0x34752f[_0x183617(0x1a5)][_0x183617(0x147)](_0x3c2c01=>typeof _0x3c2c01[_0x183617(0x17a)]['id']=='string'&&_0x716316&&_0x716316[_0x183617(0x109)](_0x3c2c01['attrs']['id'])?{..._0x3c2c01,'attrs':{..._0x3c2c01[_0x183617(0x17a)],'id':_0x3c2c01[_0x183617(0x17a)]['id']+_0x183e10[_0x183617(0x11f)]}}:_0x3c2c01)}:_0x34752f;}function _0x44ffdc(){const _0x1d96aa=_0x1b417a;return Math[_0x1d96aa(0x130)]()[_0x1d96aa(0x14c)](0x24)[_0x1d96aa(0xc9)](0x2,0x8);}_0x363a95['displayName']=_0x1b417a(0x1bc);const _0x16e3f9={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1b417a(0x1c2),'width':_0x1b417a(0x141),'height':_0x1b417a(0x141)},'children':[{'tag':'g','attrs':{'fill':_0x1b417a(0x1ce),'clipPath':_0x1b417a(0xd0)},'children':[{'tag':'path','attrs':{'d':_0x1b417a(0x13b)}},{'tag':_0x1b417a(0x1ed),'attrs':{'d':_0x1b417a(0x16d)}}]},{'tag':_0x1b417a(0x103),'attrs':{},'children':[{'tag':_0x1b417a(0xd8),'attrs':{'id':_0x1b417a(0x16f)},'children':[{'tag':_0x1b417a(0x1ed),'attrs':{'fill':_0x1b417a(0x16e),'d':_0x1b417a(0x180)}}]}]}],'defIds':[_0x1b417a(0x16f)]},_0x2cc0ed=_0xfa2eb[_0x1b417a(0x172)](function(_0x308e94,_0x13c58d){const _0x64bbc=_0x1b417a;return _0xfa2eb['createElement'](_0x363a95,Object[_0x64bbc(0xf2)]({},_0x308e94,{'id':'history-icon','ref':_0x13c58d,'icon':_0x16e3f9}));});_0x2cc0ed[_0x1b417a(0xc4)]=_0x1b417a(0x12a);var _0xe2e6f9=Object['getOwnPropertyDescriptor'],_0x173b83=(_0x5e3e9d,_0x14194c,_0x5ba1c7,_0x4b52ec)=>{const _0x186e08=_0x1b417a;for(var _0x458d39=_0x4b52ec>0x1?void 0x0:_0x4b52ec?_0xe2e6f9(_0x14194c,_0x5ba1c7):_0x14194c,_0x54c064=_0x5e3e9d[_0x186e08(0x1c3)]-0x1,_0x27d225;_0x54c064>=0x0;_0x54c064--)(_0x27d225=_0x5e3e9d[_0x54c064])&&(_0x458d39=_0x27d225(_0x458d39)||_0x458d39);return _0x458d39;},_0x45202e=(_0x96bd2,_0xae6737)=>(_0xd30e74,_0x56e407)=>_0xae6737(_0xd30e74,_0x56e407,_0x96bd2);const _0x32f8b7='univer-container',_0x4337dd=_0x1b417a(0x1ef),_0x5282bf=_0x1b417a(0x11c);_0x1d88cc[_0x1b417a(0x1d7)]=class extends _0xe91783[_0x1b417a(0x1c7)]{constructor(_0x5b9583,_0x40d725,_0x3f8090,_0x267912,_0x5728a5,_0x243140,_0x12d5f1,_0xe7d2fa,_0x45aebf,_0x2aea54){const _0x35221d=_0x1b417a;super(),_0x313398(this,_0x35221d(0x1ec),new _0x1ec36b[(_0x35221d(0x1cc))](null)),_0x313398(this,_0x35221d(0x1cb),this['_historyUniver$'][_0x35221d(0x1e8)]()),_0x313398(this,_0x35221d(0x1cd),new _0xe91783[(_0x35221d(0x146))]()),_0x313398(this,_0x35221d(0x15a),new Map()),(this['_localeService']=_0x5b9583,this[_0x35221d(0x19e)]=_0x40d725,this[_0x35221d(0x125)]=_0x3f8090,this[_0x35221d(0x1bd)]=_0x267912,this[_0x35221d(0x1bb)]=_0x5728a5,this[_0x35221d(0x1ad)]=_0x243140,this[_0x35221d(0x155)]=_0x12d5f1,this[_0x35221d(0x19d)]=_0xe7d2fa,this[_0x35221d(0x19b)]=_0x45aebf,this['_themeService']=_0x2aea54,this['_init']());}get[_0x1b417a(0xd1)](){const _0x55555b=_0x1b417a;return this['_historyUniver$'][_0x55555b(0x186)];}[_0x1b417a(0x184)](){const _0x3d163d=_0x1b417a;this[_0x3d163d(0x1e5)](),this['_initPlugins']();}[_0x1b417a(0x1e5)](){const _0x134d50=_0x1b417a;var _0x2c81f;const _0x10303b=(_0x2c81f=this['_configService'][_0x134d50(0xfe)](_0x4337dd))!=null?_0x2c81f:_0x32f8b7,_0x46c314=document['getElementById'](_0x10303b);if(!_0x46c314)return;const _0x336a62=document['createElement'](_0x134d50(0x174));_0x336a62['id']=_0x5282bf,_0x336a62[_0x134d50(0x1c5)][_0x134d50(0x104)]='history-container',_0x336a62[_0x134d50(0x13c)][_0x134d50(0x107)]=_0x134d50(0x1f5),_0x336a62['style'][_0x134d50(0x142)]='0',_0x336a62[_0x134d50(0x13c)][_0x134d50(0x169)]='0',_0x336a62[_0x134d50(0x13c)][_0x134d50(0x170)]=_0x134d50(0xcd),_0x336a62[_0x134d50(0x13c)][_0x134d50(0x1e2)]='100%',_0x336a62[_0x134d50(0x13c)][_0x134d50(0x1e4)]=_0x134d50(0xfb),_0x336a62[_0x134d50(0x13c)][_0x134d50(0x17f)]='none',_0x46c314[_0x134d50(0x1c9)](_0x336a62);}[_0x1b417a(0x18e)](){const _0xd48598=_0x1b417a;var _0xa958b2,_0x3b18cb,_0xb73c86,_0x3fb0ca;[[_0x216dc4[_0xd48598(0x108)]],[_0x437d7d[_0xd48598(0x18a)],{'container':_0x5282bf,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x437d7d['IDialogService'],null]]}],[_0x10705d[_0xd48598(0x11a)]],[_0x3e0b0c[_0xd48598(0xe0)],{'override':[[_0x3e0b0c[_0xd48598(0x1f0)],null]]}],[_0x2dabbc[_0xd48598(0x1d8)],{'hasScroll':!0x1}],[_0x4e265a['UniverDocsUIPlugin']],[_0x45c8cb[_0xd48598(0xe6)]],[_0x3b54ec['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x4f6fc8['UniverSheetsUIPlugin']],[_0x5deaab['UniverSheetsFormulaPlugin']],[_0x4cdfe4[_0xd48598(0xe8)]],[_0x170010[_0xd48598(0x136)]],[_0x4e2652[_0xd48598(0x14b)]],[_0x18dde2[_0xd48598(0x100)]],[_0x2c6358[_0xd48598(0x1f8)]],[_0xb7a904[_0xd48598(0x123)]],[_0x58090c['UniverSheetsHyperLinkPlugin']],[_0x338ab1['UniverSheetsHyperLinkUIPlugin']],[_0xdee9be['UniverDataValidationPlugin']],[_0x1453f0[_0xd48598(0x1b6)]],[_0x20b536[_0xd48598(0xda)]],[_0x1df04b[_0xd48598(0x1d6)],{'notExecuteFormula':!0x0}],[_0x324161[_0xd48598(0x138)],{'workerURL':(_0x3b18cb=(_0xa958b2=this[_0xd48598(0x125)][_0xd48598(0xfe)](_0x324161[_0xd48598(0x166)]))==null?void 0x0:_0xa958b2[_0xd48598(0x1d2)])!=null?_0x3b18cb:_0xd48598(0x117)}],[_0x40149c['UniverDrawingUIPlugin']],[_0x9ea0df[_0xd48598(0x154)]],[_0x60ec94[_0xd48598(0x168)]],[_0xa53bd0[_0xd48598(0x1e9)]],[_0x543c79[_0xd48598(0xc5)]],[_0x4985b7[_0xd48598(0x1a8)]],[_0x21871f[_0xd48598(0x137)]],[_0x55a733[_0xd48598(0x1d1)],{'notExecuteFormula':!0x0}],[_0x28706d[_0xd48598(0x190)],{'historyListServerUrl':(_0xb73c86=this[_0xd48598(0x125)][_0xd48598(0xfe)](_0x26a2bd))==null?void 0x0:_0xb73c86[_0xd48598(0x11e)],'historyPanelComponentKey':(_0x3fb0ca=this[_0xd48598(0x125)][_0xd48598(0xfe)](_0x26a2bd))==null?void 0x0:_0x3fb0ca[_0xd48598(0x1c1)]}]][_0xd48598(0x101)](([_0x4dc1e9,_0x451e17])=>this[_0xd48598(0x17b)](_0x4dc1e9,_0x451e17));}['dispose'](){const _0x1e3ac4=_0x1b417a;super[_0x1e3ac4(0x177)](),this[_0x1e3ac4(0x1de)](),this[_0x1e3ac4(0x15a)][_0x1e3ac4(0x1db)]();}['registerPlugin'](_0x1b8965,_0x58993f,_0x91340d){const _0x32e606=_0x1b417a;if(this[_0x32e606(0x15a)][_0x32e606(0x1b3)](_0x1b8965[_0x32e606(0x1e7)])&&!_0x91340d)throw new Error(_0x32e606(0x18c)+_0x1b8965[_0x32e606(0x1e7)]+_0x32e606(0x152));this[_0x32e606(0x15a)][_0x32e606(0xe4)](_0x1b8965[_0x32e606(0x1e7)],[_0x1b8965,_0x58993f]);}[_0x1b417a(0x112)](){const _0x191fda=_0x1b417a;return Array['from'](this[_0x191fda(0x15a)][_0x191fda(0x131)]());}[_0x1b417a(0x1f3)](_0x2cd518){const _0x5adf4c=_0x1b417a,_0x53b95a=document[_0x5adf4c(0x15d)](_0x5282bf);_0x53b95a&&(_0x53b95a['style'][_0x5adf4c(0x17f)]=_0x5adf4c(0xea),this[_0x5adf4c(0xd5)](_0x2cd518,_0x5282bf));}['unMountHistoryContent'](){const _0x2a1131=_0x1b417a;var _0x1cbb79;this[_0x2a1131(0x1cd)]['dispose'](),(_0x1cbb79=this[_0x2a1131(0xd1)])==null||_0x1cbb79[_0x2a1131(0x177)](),this[_0x2a1131(0x1ec)]['next'](null);const _0x579eeb=document['getElementById'](_0x5282bf);_0x579eeb&&(_0x579eeb[_0x2a1131(0x13c)][_0x2a1131(0x17f)]=_0x2a1131(0x118));}[_0x1b417a(0xd5)](_0x54ccb2,_0xb23bef){const _0x3c451c=_0x1b417a;if(this[_0x3c451c(0xd1)])return;const _0x5210c9=new _0xe91783[(_0x3c451c(0xfd))]({'locales':{[this[_0x3c451c(0x126)][_0x3c451c(0xef)]()]:this[_0x3c451c(0x126)]['getLocales']()},'override':[[_0xe91783[_0x3c451c(0x1b2)],{'useClass':_0x781836[_0x3c451c(0x113)]}]]}),_0x3a888a=_0x5210c9[_0x3c451c(0xdb)]();this[_0x3c451c(0x1ba)](this['_themeService'][_0x3c451c(0x14f)][_0x3c451c(0x135)](_0x151bbe=>{const _0x2ab26e=_0x3c451c;_0x3a888a[_0x2ab26e(0x16b)](_0xe91783[_0x2ab26e(0x163)])[_0x2ab26e(0x164)](_0x151bbe);})),this[_0x3c451c(0x1ba)](this['_themeService'][_0x3c451c(0x181)][_0x3c451c(0x135)](_0x4a2098=>{const _0x5d6ae5=_0x3c451c;_0x3a888a[_0x5d6ae5(0x16b)](_0xe91783['ThemeService'])[_0x5d6ae5(0x150)](_0x4a2098);})),_0x3a888a[_0x3c451c(0x16b)](_0xe91783[_0x3c451c(0x151)])['setLocale'](this[_0x3c451c(0x126)]['getCurrentLocale']()),_0x3a888a[_0x3c451c(0x16b)](_0xe91783['IConfigService'])[_0x3c451c(0x10b)](_0x781836[_0x3c451c(0x10d)],this[_0x3c451c(0x125)][_0x3c451c(0xfe)](_0x781836['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x2115bc=this[_0x3c451c(0x125)][_0x3c451c(0xfe)](_0x3e94cd['LS_CONFIG_KEY']);_0x2115bc&&_0x5210c9[_0x3c451c(0x17b)](_0x3e94cd[_0x3c451c(0x12f)],{'license':_0x2115bc['ls']}),this[_0x3c451c(0x15a)]['forEach'](([_0x77e629,_0xf4be70])=>{const _0x2da04a=_0x3c451c;_0x5210c9[_0x2da04a(0x17b)](_0x77e629,_0xf4be70);}),_0x3a888a[_0x3c451c(0x1b0)](_0x2a7af3=>{const _0x660ef0=_0x3c451c;this[_0x660ef0(0x1ee)](_0x2a7af3,_0x54ccb2);}),this['_historyUniver$']['next'](_0x5210c9);const _0x191b34=_0x3a888a[_0x3c451c(0x16b)](_0x28706d['HistoryManagerService']),_0x30c324=this[_0x3c451c(0x106)](_0x54ccb2);_0x191b34['triggerLoadVersions'](_0x54ccb2,_0xb23bef,_0x30c324);}[_0x1b417a(0x1ee)](_0x176cf6,_0x66d49d){const _0x3d4f8e=_0x1b417a,_0x59c97a=_0x176cf6[_0x3d4f8e(0x16b)](_0x28706d[_0x3d4f8e(0x156)]);this[_0x3d4f8e(0x1cd)]['add'](_0x59c97a[_0x3d4f8e(0x15e)]['subscribe'](_0x2ee54f=>{const _0x170838=_0x3d4f8e;switch(_0x2ee54f){case _0x28706d['HistoryModeStatus'][_0x170838(0x13f)]:this[_0x170838(0x19d)][_0x170838(0xd4)](),this[_0x170838(0x19b)]['close']();break;case _0x28706d['HistoryModeStatus']['Exited']:this[_0x170838(0x1bd)][_0x170838(0x1c0)](_0x23e424['id']),this[_0x170838(0x1de)]();break;case _0x28706d[_0x170838(0x115)][_0x170838(0x197)]:this['unMountHistoryContent'](),this[_0x170838(0x1bb)][_0x170838(0xdc)]({'content':this['_localeService']['t'](_0x170838(0x12d)),'type':_0x2a0ae6['MessageType'][_0x170838(0x197)],'duration':0xbb8});break;}})),this[_0x3d4f8e(0x1cd)][_0x3d4f8e(0x1df)](_0x59c97a[_0x3d4f8e(0x198)]['subscribe'](async _0x14cd55=>{const _0x1b2a5b=_0x3d4f8e;_0x14cd55&&this[_0x1b2a5b(0x1bd)][_0x1b2a5b(0x1c0)](_0x170010[_0x1b2a5b(0x17d)]['id'],{'unitId':_0x66d49d,'revision':_0x14cd55});}));}[_0x1b417a(0x106)](_0xe09e6b){const _0x3fd071=_0x1b417a,_0xb7e0a7=this[_0x3fd071(0x19e)]['getUnit'](_0xe09e6b)['getSheets']()[_0x3fd071(0x147)](_0x20cac7=>_0x20cac7[_0x3fd071(0xce)]()),_0x99a4cb=new _0x3b54ec['WorkbookEditablePermission'](_0xe09e6b)['id'],_0x1195e7=_0xb7e0a7[_0x3fd071(0x147)](_0x17717c=>new _0x3b54ec[(_0x3fd071(0x1c6))](_0xe09e6b,_0x17717c)['id']),_0x563823=_0xb7e0a7[_0x3fd071(0x147)](_0x37d265=>this[_0x3fd071(0x155)][_0x3fd071(0x1d5)](_0xe09e6b,_0x37d265)[_0x3fd071(0x147)](_0x5ccd14=>new _0x3b54ec[(_0x3fd071(0x1f6))](_0xe09e6b,_0x37d265,_0x5ccd14['permissionId'])['id']))[_0x3fd071(0x19a)](),_0xf27b56=new _0x3b54ec[(_0x3fd071(0x116))](_0xe09e6b)['id'];return this[_0x3fd071(0x1ad)][_0x3fd071(0xff)]([_0x99a4cb,..._0x1195e7,..._0x563823,_0xf27b56])[_0x3fd071(0xdd)](_0x579d37=>!!_0x579d37['value']);}},_0x1d88cc[_0x1b417a(0x1d7)]=_0x173b83([_0x45202e(0x0,_0xe91783[_0x1b417a(0x18f)](_0xe91783[_0x1b417a(0x151)])),_0x45202e(0x1,_0xe91783[_0x1b417a(0xf7)]),_0x45202e(0x2,_0xe91783[_0x1b417a(0x114)]),_0x45202e(0x3,_0xe91783[_0x1b417a(0xe7)]),_0x45202e(0x4,_0x437d7d[_0x1b417a(0x140)]),_0x45202e(0x5,_0xe91783[_0x1b417a(0x1a0)]),_0x45202e(0x6,_0xe91783['Inject'](_0x3b54ec[_0x1b417a(0x127)])),_0x45202e(0x7,_0xe91783[_0x1b417a(0x18f)](_0x437d7d[_0x1b417a(0x1bf)])),_0x45202e(0x8,_0xe91783[_0x1b417a(0x18f)](_0x437d7d[_0x1b417a(0x171)])),_0x45202e(0x9,_0xe91783[_0x1b417a(0x18f)](_0xe91783[_0x1b417a(0x163)]))],_0x1d88cc[_0x1b417a(0x1d7)]);const _0x3500ff={'id':'univer.operation.toggle-edit-history','type':_0xe91783[_0x1b417a(0xfc)][_0x1b417a(0x13e)],'handler':_0x31fe74=>{const _0x3f9607=_0x1b417a,_0x45bde0=_0x31fe74[_0x3f9607(0x16b)](_0x1d88cc['HistoryLoaderService']),_0x60e8b0=_0x31fe74[_0x3f9607(0x16b)](_0xe91783[_0x3f9607(0xf7)]),{unitId:_0x2ead5e}=_0x3b54ec[_0x3f9607(0x14e)](_0x60e8b0)||{};return _0x2ead5e?(_0x45bde0[_0x3f9607(0x1f3)](_0x2ead5e),!0x0):!0x1;}},_0x23e424={'id':'univer.operation.exit-edit-history','type':_0xe91783[_0x1b417a(0xfc)][_0x1b417a(0x13e)],'handler':()=>!0x0};function _0x9c354d(_0x5196bd){const _0x380f72=_0x1b417a;return{'id':_0x3500ff['id'],'type':_0x437d7d[_0x380f72(0x124)][_0x380f72(0xd2)],'icon':_0x380f72(0x12a),'tooltip':_0x380f72(0x17c),'hidden$':_0x437d7d[_0x380f72(0x1a2)](_0x5196bd,_0xe91783[_0x380f72(0x105)][_0x380f72(0xd6)]),'disabled$':_0x4f6fc8['getCurrentRangeDisable$'](_0x5196bd,{'workbookTypes':[_0x3b54ec[_0x380f72(0x1e6)],_0x3b54ec[_0x380f72(0xdf)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x4e6ec4={[_0x437d7d[_0x1b417a(0xd9)][_0x1b417a(0x10e)]]:{[_0x3500ff['id']]:{'order':0.2,'menuItemFactory':_0x9c354d}}};var _0x288978=Object['getOwnPropertyDescriptor'],_0x2b3f21=(_0x4de6a0,_0x4d434a,_0x287963,_0xd39e0d)=>{const _0x4d6360=_0x1b417a;for(var _0x5dc782=_0xd39e0d>0x1?void 0x0:_0xd39e0d?_0x288978(_0x4d434a,_0x287963):_0x4d434a,_0x5a9871=_0x4de6a0[_0x4d6360(0x1c3)]-0x1,_0x8a511a;_0x5a9871>=0x0;_0x5a9871--)(_0x8a511a=_0x4de6a0[_0x5a9871])&&(_0x5dc782=_0x8a511a(_0x5dc782)||_0x5dc782);return _0x5dc782;},_0x30d9d7=(_0x33a567,_0xb4e778)=>(_0x419bfa,_0x5abb48)=>_0xb4e778(_0x419bfa,_0x5abb48,_0x33a567);let _0x53b9ba=class extends _0xe91783['RxDisposable']{constructor(_0x29b637,_0x40e744,_0x55f8bc,_0x5d7f2f,_0x32a2ed,_0x4209f2,_0x943a36,_0x3f9f87){const _0x5f002f=_0x1b417a;super(),_0x313398(this,_0x5f002f(0xcc),null),(this[_0x5f002f(0x1bd)]=_0x29b637,this[_0x5f002f(0x11b)]=_0x40e744,this[_0x5f002f(0x133)]=_0x55f8bc,this[_0x5f002f(0x129)]=_0x5d7f2f,this[_0x5f002f(0x126)]=_0x32a2ed,this[_0x5f002f(0x1bb)]=_0x4209f2,this['_collaborationController']=_0x943a36,this[_0x5f002f(0xe3)]=_0x3f9f87,this[_0x5f002f(0x184)]());}[_0x1b417a(0x184)](){const _0x11b04e=_0x1b417a;[_0x3500ff,_0x23e424][_0x11b04e(0x101)](_0x574f22=>this[_0x11b04e(0x1ba)](_0xe91783['toDisposable'](this[_0x11b04e(0x1bd)][_0x11b04e(0x111)](_0x574f22)))),this[_0x11b04e(0x1ba)](this[_0x11b04e(0x133)][_0x11b04e(0xee)]('HistoryIcon',_0x2cc0ed)),this[_0x11b04e(0x11b)][_0x11b04e(0x175)](_0x4e6ec4),this[_0x11b04e(0x1ba)](this[_0x11b04e(0x1bd)][_0x11b04e(0xc0)](_0x160fc0=>{const _0x2d5af5=_0x11b04e;if(_0x160fc0['id']===_0x170010[_0x2d5af5(0x17d)]['id']){this['_messageService']['show']({'content':this['_localeService']['t'](_0x2d5af5(0x1b1)),'type':_0x2a0ae6[_0x2d5af5(0x173)][_0x2d5af5(0xe5)],'duration':0x1388});const {unitId:_0xc0ab76}=_0x160fc0[_0x2d5af5(0x12b)],_0x428de5=this[_0x2d5af5(0xbf)][_0x2d5af5(0x185)](_0xc0ab76),_0xaead3=_0x1ec36b[_0x2d5af5(0x1e3)]([_0x428de5['session'][_0x2d5af5(0x14d)],_0x428de5[_0x2d5af5(0x1f1)]])[_0x2d5af5(0x135)](async([_0x3e6531,_0x5fa9ac])=>{const _0x583425=_0x2d5af5;var _0x5b9b66;_0x3e6531[_0x583425(0x199)]===_0x170010[_0x583425(0x195)]['CHANGESET_ACK']&&(_0x5fa9ac==null?void 0x0:_0x5fa9ac['status'])===_0x781836['CollaborationStatus']['SYNCED']&&_0x3e6531[_0x583425(0x188)][_0x583425(0x134)]['some'](_0x28ddf6=>_0x28ddf6['id']===_0x170010['RevertRevisionMutation']['id'])&&(this[_0x583425(0x129)][_0x583425(0x1de)](),_0xaead3['unsubscribe'](),this[_0x583425(0xcc)]&&clearTimeout(this[_0x583425(0xcc)]),await((_0x5b9b66=this[_0x583425(0xe3)])==null?void 0x0:_0x5b9b66[_0x583425(0x179)]()),setTimeout(()=>window['location'][_0x583425(0x1b8)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x3ea04f=_0x2d5af5;_0xaead3['unsubscribe'](),this['_messageService'][_0x3ea04f(0xdc)]({'content':this[_0x3ea04f(0x126)]['t'](_0x3ea04f(0x1f7)),'type':_0x2a0ae6[_0x3ea04f(0x173)]['Error'],'duration':0xbb8});},0x1388);}}));}};_0x53b9ba=_0x2b3f21([_0x30d9d7(0x0,_0xe91783[_0x1b417a(0xe7)]),_0x30d9d7(0x1,_0x437d7d[_0x1b417a(0xf6)]),_0x30d9d7(0x2,_0xe91783['Inject'](_0x437d7d[_0x1b417a(0x1ae)])),_0x30d9d7(0x3,_0xe91783[_0x1b417a(0x18f)](_0x1d88cc[_0x1b417a(0x1d7)])),_0x30d9d7(0x4,_0xe91783[_0x1b417a(0x18f)](_0xe91783[_0x1b417a(0x151)])),_0x30d9d7(0x5,_0x437d7d[_0x1b417a(0x140)]),_0x30d9d7(0x6,_0xe91783[_0x1b417a(0x18f)](_0x781836['CollaborationController'])),_0x30d9d7(0x7,_0x781836[_0x1b417a(0x1a4)])],_0x53b9ba);var _0x5867cb=Object[_0x1b417a(0xc3)],_0x2dd0cc=(_0x3ea3c9,_0x2816f0,_0x5c4b50,_0x57510c)=>{const _0x2c3634=_0x1b417a;for(var _0x4bf20d=_0x57510c>0x1?void 0x0:_0x57510c?_0x5867cb(_0x2816f0,_0x5c4b50):_0x2816f0,_0x4bfcdc=_0x3ea3c9[_0x2c3634(0x1c3)]-0x1,_0x1c8413;_0x4bfcdc>=0x0;_0x4bfcdc--)(_0x1c8413=_0x3ea3c9[_0x4bfcdc])&&(_0x4bf20d=_0x1c8413(_0x4bf20d)||_0x4bf20d);return _0x4bf20d;},_0xb6997f=(_0x2c99a3,_0x3c0b34)=>(_0xd87ff5,_0x2c9a45)=>_0x3c0b34(_0xd87ff5,_0x2c9a45,_0x2c99a3);const _0x4d375f=_0x1b417a(0x1be);_0x1d88cc[_0x1b417a(0x1f2)]=(_0x500a22=class extends _0xe91783[_0x1b417a(0x165)]{constructor(_0x24a690=_0x1c886f,_0x540fc8,_0x499ca2){const _0x3736e8=_0x1b417a;super(),this[_0x3736e8(0x15c)]=_0x24a690,this[_0x3736e8(0x157)]=_0x540fc8,this[_0x3736e8(0x125)]=_0x499ca2;const {menu:_0x33d64c,..._0x57d83b}=_0xe91783[_0x3736e8(0x144)]({},_0x1c886f,this[_0x3736e8(0x15c)]);_0x33d64c&&this[_0x3736e8(0x125)][_0x3736e8(0x10b)](_0x3736e8(0x16a),_0x33d64c,{'merge':!0x0}),this['_configService']['setConfig'](_0x26a2bd,_0x57d83b),this[_0x3736e8(0x15c)][_0x3736e8(0x10c)]&&this['_configService'][_0x3736e8(0x10b)](_0x4337dd,this[_0x3736e8(0x15c)][_0x3736e8(0x10c)]);}[_0x1b417a(0xe2)](){const _0x80767c=_0x1b417a;[[_0x1d88cc[_0x80767c(0x1d7)]],[_0x53b9ba]][_0x80767c(0x101)](_0x12d93c=>this['_injector']['add'](_0x12d93c));}[_0x1b417a(0xc1)](){const _0x2b728c=_0x1b417a;this[_0x2b728c(0x157)]['get'](_0x53b9ba);}},_0x313398(_0x500a22,_0x1b417a(0x182),_0xe91783[_0x1b417a(0x105)]['UNIVER_UNKNOWN']),_0x313398(_0x500a22,_0x1b417a(0x1e7),_0x4d375f),_0x500a22),_0x1d88cc[_0x1b417a(0x1f2)]=_0x2dd0cc([_0xb6997f(0x1,_0xe91783['Inject'](_0xe91783[_0x1b417a(0x17e)])),_0xb6997f(0x2,_0xe91783[_0x1b417a(0x114)])],_0x1d88cc[_0x1b417a(0x1f2)]),_0x1d88cc[_0x1b417a(0x1e1)]=_0x4337dd,_0x1d88cc[_0x1b417a(0x161)]=_0x5282bf,Object[_0x1b417a(0xca)](_0x1d88cc,Symbol[_0x1b417a(0x1fa)],{'value':_0x1b417a(0x1c8)});}));
20
+ function _0x2cde(_0x34f5ed,_0x51d9ff){_0x34f5ed=_0x34f5ed-0x1d5;const _0x7318cd=_0x7318();let _0x2cdeb8=_0x7318cd[_0x34f5ed];return _0x2cdeb8;}(function(_0xfc6781,_0x2f9f77){const _0x173596=_0x2cde,_0x2fd893=_0xfc6781();while(!![]){try{const _0x3aa834=parseInt(_0x173596(0x295))/0x1+-parseInt(_0x173596(0x2e6))/0x2+-parseInt(_0x173596(0x224))/0x3+-parseInt(_0x173596(0x235))/0x4*(parseInt(_0x173596(0x2d7))/0x5)+-parseInt(_0x173596(0x24a))/0x6+-parseInt(_0x173596(0x206))/0x7+-parseInt(_0x173596(0x2f7))/0x8*(-parseInt(_0x173596(0x2f4))/0x9);if(_0x3aa834===_0x2f9f77)break;else _0x2fd893['push'](_0x2fd893['shift']());}catch(_0x11ab65){_0x2fd893['push'](_0x2fd893['shift']());}}}(_0x7318,0xe623e),function(_0x112b49,_0x4b8b1d){const _0x4639d1=_0x2cde;typeof exports=='object'&&typeof module<'u'?_0x4b8b1d(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),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-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),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-ui')):typeof define==_0x4639d1(0x2b8)&&define[_0x4639d1(0x2bc)]?define([_0x4639d1(0x217),_0x4639d1(0x2db),'@univerjs-pro/collaboration','@univerjs-pro/collaboration-client',_0x4639d1(0x26b),'react','@univerjs/ui','rxjs',_0x4639d1(0x263),_0x4639d1(0x304),_0x4639d1(0x242),_0x4639d1(0x28f),_0x4639d1(0x251),_0x4639d1(0x25a),_0x4639d1(0x1fa),_0x4639d1(0x271),'@univerjs/data-validation',_0x4639d1(0x270),_0x4639d1(0x2b9),_0x4639d1(0x20f),_0x4639d1(0x24c),_0x4639d1(0x1dc),_0x4639d1(0x26c),_0x4639d1(0x2ea),_0x4639d1(0x2a5),_0x4639d1(0x29e),_0x4639d1(0x1fe),_0x4639d1(0x2e7),_0x4639d1(0x2cc),_0x4639d1(0x2d4),_0x4639d1(0x2a4),_0x4639d1(0x266),_0x4639d1(0x2d3),_0x4639d1(0x265),'@univerjs/sheets-formula-ui','@univerjs/sheets-hyper-link',_0x4639d1(0x2c4),_0x4639d1(0x296),_0x4639d1(0x2e0)],_0x4b8b1d):(_0x112b49=typeof globalThis<'u'?globalThis:_0x112b49||self,_0x4b8b1d(_0x112b49['UniverProEditHistoryLoader']={},_0x112b49[_0x4639d1(0x1d8)],_0x112b49[_0x4639d1(0x2fe)],_0x112b49[_0x4639d1(0x300)],_0x112b49['UniverDesign'],_0x112b49[_0x4639d1(0x2c9)],_0x112b49[_0x4639d1(0x212)],_0x112b49[_0x4639d1(0x2df)],_0x112b49[_0x4639d1(0x244)],_0x112b49['UniverProEditHistoryViewer'],_0x112b49[_0x4639d1(0x1e7)],_0x112b49[_0x4639d1(0x23a)],_0x112b49[_0x4639d1(0x1e4)],_0x112b49[_0x4639d1(0x1e3)],_0x112b49['UniverProSheetsSparkline'],_0x112b49[_0x4639d1(0x215)],_0x112b49['UniverDataValidation'],_0x112b49['UniverDocs'],_0x112b49[_0x4639d1(0x234)],_0x112b49[_0x4639d1(0x2ed)],_0x112b49[_0x4639d1(0x21d)],_0x112b49['UniverEngineFormula'],_0x112b49[_0x4639d1(0x2be)],_0x112b49[_0x4639d1(0x2bb)],_0x112b49[_0x4639d1(0x2dd)],_0x112b49[_0x4639d1(0x24b)],_0x112b49[_0x4639d1(0x1db)],_0x112b49[_0x4639d1(0x21c)],_0x112b49[_0x4639d1(0x1d9)],_0x112b49[_0x4639d1(0x239)],_0x112b49[_0x4639d1(0x1f5)],_0x112b49[_0x4639d1(0x20b)],_0x112b49[_0x4639d1(0x22f)],_0x112b49[_0x4639d1(0x2ec)],_0x112b49[_0x4639d1(0x207)],_0x112b49[_0x4639d1(0x27e)],_0x112b49[_0x4639d1(0x23d)],_0x112b49[_0x4639d1(0x2c2)],_0x112b49['UniverSheetsUi']));}(this,function(_0x33b452,_0x1d5bdf,_0x112d53,_0x3aaa23,_0x3a90bc,_0x18033d,_0x1a6b1e,_0x2cca0b,_0x46cb32,_0x20a643,_0x590828,_0x4792b2,_0x2ee636,_0x157730,_0x5e8675,_0x44f03e,_0x10c99f,_0x51262c,_0x5ab87,_0x3b4137,_0x5dc5a4,_0x511d11,_0xeb923d,_0x267490,_0x26dee6,_0x26aa4f,_0x412a24,_0x1179db,_0x310c6f,_0x4361e8,_0x1eec57,_0x1eca63,_0x37498c,_0x3e4cb1,_0x8f2ba0,_0x23ae8c,_0x2ee8bb,_0x41ab45,_0x6890e9){'use strict';const _0x21f86e=_0x2cde;var _0x3f13a8=Object[_0x21f86e(0x26a)],_0x5cf366=(_0x345205,_0x83b411,_0x156bff)=>_0x83b411 in _0x345205?_0x3f13a8(_0x345205,_0x83b411,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x156bff}):_0x345205[_0x83b411]=_0x156bff,_0x1bfe0a=(_0x5ad95a,_0x1fdef7,_0x1cd414)=>_0x5cf366(_0x5ad95a,typeof _0x1fdef7!='symbol'?_0x1fdef7+'':_0x1fdef7,_0x1cd414),_0x27a87b;const _0xe2d87b=_0x21f86e(0x20e),_0x3fd966={};function _0x4adf79({ref:_0x105863,..._0x489a86}){const _0x295d91=_0x21f86e,{icon:_0x133ab1,id:_0x293ac0,className:_0x5917b7,extend:_0x2eefd0,..._0x32fb01}=_0x489a86,_0x2da229=(_0x295d91(0x216)+_0x293ac0+'\x20'+(_0x5917b7||''))[_0x295d91(0x2ad)](),_0x399768=_0x18033d[_0x295d91(0x24d)]('_'+_0x17489e());return _0x1649f6(_0x133ab1,''+_0x293ac0,{'defIds':_0x133ab1[_0x295d91(0x2c0)],'idSuffix':_0x399768[_0x295d91(0x286)]},{'ref':_0x105863,'className':_0x2da229,..._0x32fb01},_0x2eefd0);}function _0x1649f6(_0x5b7f6c,_0x2a8026,_0xb55480,_0x40ce2c,_0x158314){const _0x54e2b3=_0x21f86e;return _0x18033d[_0x54e2b3(0x2b6)](_0x5b7f6c[_0x54e2b3(0x252)],{'key':_0x2a8026,..._0x229afb(_0x5b7f6c,_0xb55480,_0x158314),..._0x40ce2c},(_0x512638(_0x5b7f6c,_0xb55480)[_0x54e2b3(0x228)]||[])[_0x54e2b3(0x2ee)]((_0x54989d,_0x4e104c)=>_0x1649f6(_0x54989d,_0x2a8026+'-'+_0x5b7f6c[_0x54e2b3(0x252)]+'-'+_0x4e104c,_0xb55480,void 0x0,_0x158314)));}function _0x229afb(_0xdaf098,_0x1e49fd,_0x189785){const _0x2a4bd8=_0x21f86e,_0x26a1cc={..._0xdaf098[_0x2a4bd8(0x283)]};_0x189785!=null&&_0x189785['colorChannel1']&&_0x26a1cc[_0x2a4bd8(0x2b2)]===_0x2a4bd8(0x20a)&&(_0x26a1cc[_0x2a4bd8(0x2b2)]=_0x189785[_0x2a4bd8(0x20a)]),_0xdaf098[_0x2a4bd8(0x252)]===_0x2a4bd8(0x230)&&_0x26a1cc['id']&&(_0x26a1cc['id']=_0x26a1cc['id']+_0x1e49fd['idSuffix']),Object[_0x2a4bd8(0x26f)](_0x26a1cc)['forEach'](([_0x4b17a6,_0x355df6])=>{const _0xba12a4=_0x2a4bd8;_0x4b17a6===_0xba12a4(0x230)&&typeof _0x355df6==_0xba12a4(0x255)&&(_0x26a1cc[_0x4b17a6]=_0x355df6['replace'](/url\(#(.*)\)/,_0xba12a4(0x259)+_0x1e49fd['idSuffix']+')'));});const {defIds:_0x1d476d}=_0x1e49fd;return!_0x1d476d||_0x1d476d[_0x2a4bd8(0x294)]===0x0||(_0xdaf098['tag']==='use'&&_0x26a1cc[_0x2a4bd8(0x288)]&&(_0x26a1cc[_0x2a4bd8(0x288)]=_0x26a1cc['xlink:href']+_0x1e49fd[_0x2a4bd8(0x254)]),Object[_0x2a4bd8(0x26f)](_0x26a1cc)[_0x2a4bd8(0x229)](([_0x56a0dd,_0x38db93])=>{const _0x4bdbdf=_0x2a4bd8;typeof _0x38db93=='string'&&(_0x26a1cc[_0x56a0dd]=_0x38db93[_0x4bdbdf(0x247)](/url\(#(.*)\)/,_0x4bdbdf(0x259)+_0x1e49fd[_0x4bdbdf(0x254)]+')'));})),_0x26a1cc;}function _0x512638(_0x1a7723,_0x399417){const _0x5c1f2f=_0x21f86e;var _0x499f6d;const {defIds:_0x1b64f8}=_0x399417;return!_0x1b64f8||_0x1b64f8['length']===0x0?_0x1a7723:_0x1a7723[_0x5c1f2f(0x252)]===_0x5c1f2f(0x264)&&((_0x499f6d=_0x1a7723[_0x5c1f2f(0x228)])!=null&&_0x499f6d[_0x5c1f2f(0x294)])?{..._0x1a7723,'children':_0x1a7723[_0x5c1f2f(0x228)][_0x5c1f2f(0x2ee)](_0x568cc4=>typeof _0x568cc4[_0x5c1f2f(0x283)]['id']==_0x5c1f2f(0x255)&&_0x1b64f8&&_0x1b64f8[_0x5c1f2f(0x2c5)](_0x568cc4[_0x5c1f2f(0x283)]['id'])?{..._0x568cc4,'attrs':{..._0x568cc4[_0x5c1f2f(0x283)],'id':_0x568cc4[_0x5c1f2f(0x283)]['id']+_0x399417[_0x5c1f2f(0x254)]}}:_0x568cc4)}:_0x1a7723;}function _0x17489e(){const _0x444a33=_0x21f86e;return Math[_0x444a33(0x27d)]()[_0x444a33(0x24e)](0x24)['substring'](0x2,0x8);}_0x4adf79['displayName']='UniverIcon';const _0x5116cf={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x21f86e(0x250),'viewBox':_0x21f86e(0x1f1),'width':_0x21f86e(0x205),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x21f86e(0x1ef),'clipPath':_0x21f86e(0x303)},'children':[{'tag':_0x21f86e(0x23c),'attrs':{'d':_0x21f86e(0x219)}},{'tag':_0x21f86e(0x23c),'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':_0x21f86e(0x264),'attrs':{},'children':[{'tag':_0x21f86e(0x2f1),'attrs':{'id':_0x21f86e(0x273)},'children':[{'tag':_0x21f86e(0x23c),'attrs':{'fill':_0x21f86e(0x257),'d':_0x21f86e(0x2ac)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x474aa7=_0x18033d['forwardRef'](function(_0x179a7c,_0x364e18){const _0x2f30c9=_0x21f86e;return _0x18033d[_0x2f30c9(0x2b6)](_0x4adf79,Object[_0x2f30c9(0x2d9)]({},_0x179a7c,{'id':_0x2f30c9(0x20d),'ref':_0x364e18,'icon':_0x5116cf}));});_0x474aa7['displayName']=_0x21f86e(0x1f2);var _0x5cee28=Object['getOwnPropertyDescriptor'],_0x5db5a0=(_0x748a03,_0x1b1d55,_0x479ca6,_0x378c62)=>{const _0x39ae36=_0x21f86e;for(var _0x2c8ac9=_0x378c62>0x1?void 0x0:_0x378c62?_0x5cee28(_0x1b1d55,_0x479ca6):_0x1b1d55,_0x305683=_0x748a03[_0x39ae36(0x294)]-0x1,_0x54871d;_0x305683>=0x0;_0x305683--)(_0x54871d=_0x748a03[_0x305683])&&(_0x2c8ac9=_0x54871d(_0x2c8ac9)||_0x2c8ac9);return _0x2c8ac9;},_0x11a76d=(_0x1be5ec,_0x43e909)=>(_0x4ce4d6,_0x22814c)=>_0x43e909(_0x4ce4d6,_0x22814c,_0x1be5ec);const _0x1788fe=_0x21f86e(0x306),_0x258a9b='UNIVER_CONTAINER_ID',_0x4c9ae4=_0x21f86e(0x2b3);_0x33b452['HistoryLoaderService']=class extends _0x1d5bdf['Disposable']{constructor(_0x38e348,_0x2340b2,_0x25fc21,_0x1d74ad,_0x44984c,_0x556b4d,_0x3e0346,_0x11ffab,_0x306276,_0x4eb3d4){const _0x219965=_0x21f86e;super(),_0x1bfe0a(this,_0x219965(0x2ab),new _0x2cca0b[(_0x219965(0x2ce))](null)),_0x1bfe0a(this,_0x219965(0x23b),this[_0x219965(0x2ab)][_0x219965(0x208)]()),_0x1bfe0a(this,'_disposableCollection',new _0x1d5bdf[(_0x219965(0x2d1))]()),_0x1bfe0a(this,_0x219965(0x1f0),new Map()),(this[_0x219965(0x238)]=_0x38e348,this[_0x219965(0x210)]=_0x2340b2,this[_0x219965(0x277)]=_0x25fc21,this[_0x219965(0x287)]=_0x1d74ad,this['_messageService']=_0x44984c,this['_permissionService']=_0x556b4d,this[_0x219965(0x21e)]=_0x3e0346,this[_0x219965(0x249)]=_0x11ffab,this[_0x219965(0x279)]=_0x306276,this[_0x219965(0x20c)]=_0x4eb3d4,this['_init']());}get['historyUniver'](){const _0x3b60a5=_0x21f86e;return this[_0x3b60a5(0x2ab)][_0x3b60a5(0x2b4)];}[_0x21f86e(0x1df)](){const _0xc385a0=_0x21f86e;this[_0xc385a0(0x226)](),this[_0xc385a0(0x243)]();}[_0x21f86e(0x226)](){const _0x16cf70=_0x21f86e;var _0x400af1;const _0x230a9c=(_0x400af1=this[_0x16cf70(0x277)][_0x16cf70(0x2eb)](_0x258a9b))!=null?_0x400af1:_0x1788fe,_0xad01df=document[_0x16cf70(0x302)](_0x230a9c);if(!_0xad01df)return;const _0x596fbb=document[_0x16cf70(0x2b6)](_0x16cf70(0x2ca));_0x596fbb['id']=_0x4c9ae4,_0x596fbb[_0x16cf70(0x2fc)][_0x16cf70(0x276)]='history-container',_0x596fbb[_0x16cf70(0x211)]['position']=_0x16cf70(0x1f7),_0x596fbb['style'][_0x16cf70(0x222)]='0',_0x596fbb[_0x16cf70(0x211)][_0x16cf70(0x237)]='0',_0x596fbb['style'][_0x16cf70(0x253)]=_0x16cf70(0x25f),_0x596fbb[_0x16cf70(0x211)][_0x16cf70(0x221)]=_0x16cf70(0x25f),_0x596fbb['style']['zIndex']=_0x16cf70(0x2cd),_0x596fbb['style'][_0x16cf70(0x2e1)]='none',_0xad01df[_0x16cf70(0x261)](_0x596fbb);}['_initPlugins'](){const _0x49f0cf=_0x21f86e;var _0x7762d6,_0x37db16,_0x557247,_0x3b8487;[[_0xeb923d[_0x49f0cf(0x21f)]],[_0x1a6b1e[_0x49f0cf(0x28e)],{'container':_0x4c9ae4,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x1a6b1e[_0x49f0cf(0x203)],null]]}],[_0x267490[_0x49f0cf(0x2ba)]],[_0x3b4137[_0x49f0cf(0x202)],{'override':[[_0x3b4137['IImageIoService'],null]]}],[_0x51262c[_0x49f0cf(0x1fc)],{'hasScroll':!0x1}],[_0x5ab87[_0x49f0cf(0x2af)]],[_0x41ab45[_0x49f0cf(0x1e5)]],[_0x46cb32[_0x49f0cf(0x204)],{'notExecuteFormula':!0x0}],[_0x6890e9['UniverSheetsUIPlugin']],[_0x3e4cb1[_0x49f0cf(0x27f)]],[_0x8f2ba0[_0x49f0cf(0x307)]],[_0x112d53['UniverCollaborationPlugin']],[_0x1eca63[_0x49f0cf(0x258)]],[_0x37498c[_0x49f0cf(0x213)]],[_0x26aa4f[_0x49f0cf(0x2f8)]],[_0x412a24['UniverSheetsConditionalFormattingUIPlugin']],[_0x23ae8c[_0x49f0cf(0x2d0)]],[_0x2ee8bb['UniverSheetsHyperLinkUIPlugin']],[_0x10c99f[_0x49f0cf(0x2d8)]],[_0x1179db[_0x49f0cf(0x2f3)]],[_0x310c6f[_0x49f0cf(0x218)]],[_0x511d11[_0x49f0cf(0x1e2)],{'notExecuteFormula':!0x0}],[_0x26dee6[_0x49f0cf(0x29b)],{'workerURL':(_0x37db16=(_0x7762d6=this[_0x49f0cf(0x277)][_0x49f0cf(0x2eb)](_0x26dee6[_0x49f0cf(0x231)]))==null?void 0x0:_0x7762d6[_0x49f0cf(0x2de)])!=null?_0x37db16:_0x49f0cf(0x29f)}],[_0x5dc5a4[_0x49f0cf(0x1e6)]],[_0x4361e8[_0x49f0cf(0x26e)]],[_0x1eec57[_0x49f0cf(0x248)]],[_0x5e8675[_0x49f0cf(0x29a)]],[_0x44f03e[_0x49f0cf(0x1e1)]],[_0x4792b2[_0x49f0cf(0x268)]],[_0x2ee636['UniverSheetsChartUIPlugin']],[_0x157730[_0x49f0cf(0x233)],{'notExecuteFormula':!0x0}],[_0x20a643[_0x49f0cf(0x2a3)],{'historyListServerUrl':(_0x557247=this[_0x49f0cf(0x277)][_0x49f0cf(0x2eb)](_0xe2d87b))==null?void 0x0:_0x557247[_0x49f0cf(0x1f9)],'historyPanelComponentKey':(_0x3b8487=this[_0x49f0cf(0x277)][_0x49f0cf(0x2eb)](_0xe2d87b))==null?void 0x0:_0x3b8487[_0x49f0cf(0x23e)]}]]['forEach'](([_0x167fba,_0x2514b2])=>this['registerPlugin'](_0x167fba,_0x2514b2));}[_0x21f86e(0x27b)](){const _0x4a66ec=_0x21f86e;super[_0x4a66ec(0x27b)](),this['unMountHistoryContent'](),this['_pluginMap'][_0x4a66ec(0x2f6)]();}[_0x21f86e(0x25b)](_0x2aa02d,_0x29579e,_0x205e2a){const _0xb1b2ec=_0x21f86e;if(this['_pluginMap'][_0xb1b2ec(0x1ec)](_0x2aa02d[_0xb1b2ec(0x297)])&&!_0x205e2a)throw new Error(_0xb1b2ec(0x227)+_0x2aa02d['pluginName']+'\x20has\x20been\x20registered.');this[_0xb1b2ec(0x1f0)]['set'](_0x2aa02d[_0xb1b2ec(0x297)],[_0x2aa02d,_0x29579e]);}[_0x21f86e(0x1e9)](){const _0x3970a2=_0x21f86e;return Array['from'](this[_0x3970a2(0x1f0)][_0x3970a2(0x1da)]());}[_0x21f86e(0x2fb)](_0x44cbaf){const _0x520276=_0x21f86e,_0x690510=document['getElementById'](_0x4c9ae4);_0x690510&&(_0x690510[_0x520276(0x211)][_0x520276(0x2e1)]='block',this[_0x520276(0x2e5)](_0x44cbaf,_0x4c9ae4));}[_0x21f86e(0x1ff)](){const _0x42b3fa=_0x21f86e;var _0x1dd7a3;this[_0x42b3fa(0x291)][_0x42b3fa(0x27b)](),(_0x1dd7a3=this[_0x42b3fa(0x22c)])==null||_0x1dd7a3[_0x42b3fa(0x27b)](),this[_0x42b3fa(0x2ab)][_0x42b3fa(0x29c)](null);const _0x1f99be=document[_0x42b3fa(0x302)](_0x4c9ae4);_0x1f99be&&(_0x1f99be['style'][_0x42b3fa(0x2e1)]='none');}['_initUniver'](_0x357625,_0x2904a4){const _0x58fd86=_0x21f86e;if(this['historyUniver'])return;const _0x46ea58=new _0x1d5bdf[(_0x58fd86(0x214))]({'locales':{[this[_0x58fd86(0x238)][_0x58fd86(0x2a0)]()]:this['_localeService'][_0x58fd86(0x1fb)]()},'override':[[_0x1d5bdf[_0x58fd86(0x25c)],{'useClass':_0x3aaa23['AuthzIoHttpService']}]]}),_0x3afbe2=_0x46ea58[_0x58fd86(0x2c1)]();this[_0x58fd86(0x1d7)](this['_themeService']['darkMode$']['subscribe'](_0x344261=>{const _0x271c11=_0x58fd86;_0x3afbe2[_0x271c11(0x301)](_0x1d5bdf['ThemeService'])[_0x271c11(0x274)](_0x344261);})),this[_0x58fd86(0x1d7)](this[_0x58fd86(0x20c)][_0x58fd86(0x1ed)][_0x58fd86(0x22e)](_0x219e2e=>{const _0x547861=_0x58fd86;_0x3afbe2[_0x547861(0x301)](_0x1d5bdf[_0x547861(0x1f4)])[_0x547861(0x282)](_0x219e2e);})),_0x3afbe2[_0x58fd86(0x301)](_0x1d5bdf[_0x58fd86(0x299)])[_0x58fd86(0x2b0)](this[_0x58fd86(0x238)][_0x58fd86(0x2a0)]()),_0x3afbe2[_0x58fd86(0x301)](_0x1d5bdf[_0x58fd86(0x209)])[_0x58fd86(0x305)](_0x3aaa23[_0x58fd86(0x1d5)],this[_0x58fd86(0x277)][_0x58fd86(0x2eb)](_0x3aaa23[_0x58fd86(0x1d5)]));const _0x49a3ac=this[_0x58fd86(0x277)][_0x58fd86(0x2eb)](_0x590828[_0x58fd86(0x2aa)]);_0x49a3ac&&_0x46ea58['registerPlugin'](_0x590828['UniverLicensePlugin'],{'license':_0x49a3ac['ls']}),this[_0x58fd86(0x1f0)][_0x58fd86(0x229)](([_0x1dc463,_0x358a18])=>{const _0x567839=_0x58fd86;_0x46ea58[_0x567839(0x25b)](_0x1dc463,_0x358a18);}),_0x3afbe2[_0x58fd86(0x2fa)](_0x3c87ea=>{const _0x4d4dd7=_0x58fd86;this[_0x4d4dd7(0x2f0)](_0x3c87ea,_0x357625);}),this[_0x58fd86(0x2ab)][_0x58fd86(0x29c)](_0x46ea58);const _0x2193aa=_0x3afbe2[_0x58fd86(0x301)](_0x20a643[_0x58fd86(0x289)]),_0x19cb86=this[_0x58fd86(0x1eb)](_0x357625);_0x2193aa[_0x58fd86(0x292)](_0x357625,_0x2904a4,_0x19cb86);}[_0x21f86e(0x2f0)](_0x5b43f9,_0x4de3eb){const _0x5ebe52=_0x21f86e,_0x4fbe05=_0x5b43f9['get'](_0x20a643[_0x5ebe52(0x289)]);this[_0x5ebe52(0x291)][_0x5ebe52(0x201)](_0x4fbe05[_0x5ebe52(0x1dd)][_0x5ebe52(0x22e)](_0x5b1fca=>{const _0x4502d9=_0x5ebe52;switch(_0x5b1fca){case _0x20a643[_0x4502d9(0x2a1)][_0x4502d9(0x246)]:this[_0x4502d9(0x249)][_0x4502d9(0x2f2)](),this[_0x4502d9(0x279)][_0x4502d9(0x2e3)]();break;case _0x20a643[_0x4502d9(0x2a1)]['Exited']:this['_commandService'][_0x4502d9(0x1f6)](_0x5c6b7d['id']),this[_0x4502d9(0x1ff)]();break;case _0x20a643[_0x4502d9(0x2a1)]['Error']:this[_0x4502d9(0x1ff)](),this[_0x4502d9(0x293)]['show']({'content':this['_localeService']['t'](_0x4502d9(0x27a)),'type':_0x3a90bc[_0x4502d9(0x27c)][_0x4502d9(0x1ea)],'duration':0xbb8});break;}})),this['_disposableCollection'][_0x5ebe52(0x201)](_0x4fbe05['revertRevision$'][_0x5ebe52(0x22e)](async _0x2d755f=>{const _0x2025c8=_0x5ebe52;_0x2d755f&&this[_0x2025c8(0x287)]['executeCommand'](_0x112d53[_0x2025c8(0x1f8)]['id'],{'unitId':_0x4de3eb,'revision':_0x2d755f});}));}[_0x21f86e(0x1eb)](_0x13d203){const _0x5d6046=_0x21f86e,_0x47dd1b=this[_0x5d6046(0x210)][_0x5d6046(0x2d5)](_0x13d203)[_0x5d6046(0x200)]()[_0x5d6046(0x2ee)](_0x3f60e3=>_0x3f60e3[_0x5d6046(0x2c7)]()),_0xbdbb36=new _0x46cb32[(_0x5d6046(0x298))](_0x13d203)['id'],_0x1b2018=_0x47dd1b[_0x5d6046(0x2ee)](_0x156838=>new _0x46cb32[(_0x5d6046(0x22a))](_0x13d203,_0x156838)['id']),_0x3fcfa1=_0x47dd1b[_0x5d6046(0x2ee)](_0x253334=>this[_0x5d6046(0x21e)]['getSubunitRuleList'](_0x13d203,_0x253334)[_0x5d6046(0x2ee)](_0x37f4f8=>new _0x46cb32[(_0x5d6046(0x2e4))](_0x13d203,_0x253334,_0x37f4f8[_0x5d6046(0x22b)])['id']))[_0x5d6046(0x1ee)](),_0x331574=new _0x46cb32[(_0x5d6046(0x225))](_0x13d203)['id'];return this['_permissionService'][_0x5d6046(0x1de)]([_0xbdbb36,..._0x1b2018,..._0x3fcfa1,_0x331574])[_0x5d6046(0x284)](_0x5c1924=>!!_0x5c1924['value']);}},_0x33b452[_0x21f86e(0x1fd)]=_0x5db5a0([_0x11a76d(0x0,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1d5bdf[_0x21f86e(0x299)])),_0x11a76d(0x1,_0x1d5bdf[_0x21f86e(0x2ef)]),_0x11a76d(0x2,_0x1d5bdf[_0x21f86e(0x209)]),_0x11a76d(0x3,_0x1d5bdf[_0x21f86e(0x2a7)]),_0x11a76d(0x4,_0x1a6b1e[_0x21f86e(0x2c6)]),_0x11a76d(0x5,_0x1d5bdf['IPermissionService']),_0x11a76d(0x6,_0x1d5bdf[_0x21f86e(0x1e0)](_0x46cb32[_0x21f86e(0x2a6)])),_0x11a76d(0x7,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1a6b1e[_0x21f86e(0x203)])),_0x11a76d(0x8,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1a6b1e[_0x21f86e(0x25e)])),_0x11a76d(0x9,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1d5bdf[_0x21f86e(0x1f4)]))],_0x33b452[_0x21f86e(0x1fd)]);const _0xba6d69={'id':'univer.operation.toggle-edit-history','type':_0x1d5bdf[_0x21f86e(0x2a2)]['OPERATION'],'handler':_0x46286a=>{const _0x3f3759=_0x21f86e,_0x53bcbc=_0x46286a[_0x3f3759(0x301)](_0x33b452[_0x3f3759(0x1fd)]),_0x14eaaf=_0x46286a[_0x3f3759(0x301)](_0x1d5bdf[_0x3f3759(0x2ef)]),{unitId:_0x239551}=_0x46cb32[_0x3f3759(0x236)](_0x14eaaf)||{};return _0x239551?(_0x53bcbc[_0x3f3759(0x2fb)](_0x239551),!0x0):!0x1;}},_0x5c6b7d={'id':_0x21f86e(0x21a),'type':_0x1d5bdf[_0x21f86e(0x2a2)][_0x21f86e(0x2cf)],'handler':()=>!0x0};function _0x35ff67(_0x53e1b6){const _0x4a2c2b=_0x21f86e;return{'id':_0xba6d69['id'],'type':_0x1a6b1e[_0x4a2c2b(0x2e9)][_0x4a2c2b(0x23f)],'icon':_0x4a2c2b(0x1f2),'tooltip':_0x4a2c2b(0x2b7),'hidden$':_0x1a6b1e[_0x4a2c2b(0x2ae)](_0x53e1b6,_0x1d5bdf['UniverInstanceType'][_0x4a2c2b(0x2bd)]),'disabled$':_0x6890e9[_0x4a2c2b(0x272)](_0x53e1b6,{'workbookTypes':[_0x46cb32[_0x4a2c2b(0x298)],_0x46cb32[_0x4a2c2b(0x2d2)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x4d7481={[_0x1a6b1e[_0x21f86e(0x2c8)][_0x21f86e(0x260)]]:{[_0xba6d69['id']]:{'order':0.2,'menuItemFactory':_0x35ff67}}};var _0x29f59e=Object['getOwnPropertyDescriptor'],_0x27b556=(_0x12f1d7,_0x15f56d,_0x347010,_0x1b2e31)=>{for(var _0x279980=_0x1b2e31>0x1?void 0x0:_0x1b2e31?_0x29f59e(_0x15f56d,_0x347010):_0x15f56d,_0x411bdf=_0x12f1d7['length']-0x1,_0x3d6398;_0x411bdf>=0x0;_0x411bdf--)(_0x3d6398=_0x12f1d7[_0x411bdf])&&(_0x279980=_0x3d6398(_0x279980)||_0x279980);return _0x279980;},_0x29e970=(_0x34a8b4,_0x12bc60)=>(_0x111f09,_0x9a9b12)=>_0x12bc60(_0x111f09,_0x9a9b12,_0x34a8b4);let _0x17c90f=class extends _0x1d5bdf[_0x21f86e(0x2ff)]{constructor(_0x22834e,_0xa66b65,_0x380aaf,_0x18b315,_0x305b6f,_0x53e4cd,_0xfa5717,_0x57155a){const _0x1727dd=_0x21f86e;super(),_0x1bfe0a(this,_0x1727dd(0x223),null),(this[_0x1727dd(0x287)]=_0x22834e,this[_0x1727dd(0x22d)]=_0xa66b65,this[_0x1727dd(0x28b)]=_0x380aaf,this[_0x1727dd(0x21b)]=_0x18b315,this[_0x1727dd(0x238)]=_0x305b6f,this[_0x1727dd(0x293)]=_0x53e4cd,this[_0x1727dd(0x2dc)]=_0xfa5717,this[_0x1727dd(0x2da)]=_0x57155a,this['_init']());}['_init'](){const _0x57163d=_0x21f86e;[_0xba6d69,_0x5c6b7d]['forEach'](_0x40ae1c=>this[_0x57163d(0x1d7)](_0x1d5bdf['toDisposable'](this[_0x57163d(0x287)][_0x57163d(0x2c3)](_0x40ae1c)))),this[_0x57163d(0x1d7)](this[_0x57163d(0x28b)][_0x57163d(0x2bf)](_0x57163d(0x1f2),_0x474aa7)),this[_0x57163d(0x22d)][_0x57163d(0x232)](_0x4d7481),this['disposeWithMe'](this[_0x57163d(0x287)][_0x57163d(0x262)](_0x239214=>{const _0x33c0ff=_0x57163d;if(_0x239214['id']===_0x112d53[_0x33c0ff(0x1f8)]['id']){this['_messageService'][_0x33c0ff(0x2b1)]({'content':this[_0x33c0ff(0x238)]['t']('editHistory.panel.reverting'),'type':_0x3a90bc[_0x33c0ff(0x27c)][_0x33c0ff(0x26d)],'duration':0x1388});const {unitId:_0xdd213d}=_0x239214[_0x33c0ff(0x2f5)],_0x3a15c8=this[_0x33c0ff(0x2dc)]['getCollabEntity'](_0xdd213d),_0x8a1ad1=_0x2cca0b[_0x33c0ff(0x2f9)]([_0x3a15c8[_0x33c0ff(0x28c)][_0x33c0ff(0x2fd)],_0x3a15c8['state$']])[_0x33c0ff(0x22e)](async([_0xbc7a55,_0x213f14])=>{const _0x2abce4=_0x33c0ff;var _0x43b905;_0xbc7a55[_0x2abce4(0x285)]===_0x112d53['CollaborationEvent'][_0x2abce4(0x269)]&&(_0x213f14==null?void 0x0:_0x213f14[_0x2abce4(0x280)])===_0x3aaa23[_0x2abce4(0x281)]['SYNCED']&&_0xbc7a55[_0x2abce4(0x28d)][_0x2abce4(0x28a)][_0x2abce4(0x2e2)](_0x192f09=>_0x192f09['id']===_0x112d53['RevertRevisionMutation']['id'])&&(this[_0x2abce4(0x21b)]['unMountHistoryContent'](),_0x8a1ad1[_0x2abce4(0x2cb)](),this['_revertErrorTimer']&&clearTimeout(this[_0x2abce4(0x223)]),await((_0x43b905=this[_0x2abce4(0x2da)])==null?void 0x0:_0x43b905[_0x2abce4(0x25d)]()),setTimeout(()=>window[_0x2abce4(0x220)][_0x2abce4(0x275)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x346741=_0x33c0ff;_0x8a1ad1[_0x346741(0x2cb)](),this[_0x346741(0x293)]['show']({'content':this[_0x346741(0x238)]['t'](_0x346741(0x290)),'type':_0x3a90bc[_0x346741(0x27c)]['Error'],'duration':0xbb8});},0x1388);}}));}};_0x17c90f=_0x27b556([_0x29e970(0x0,_0x1d5bdf['ICommandService']),_0x29e970(0x1,_0x1a6b1e[_0x21f86e(0x1f3)]),_0x29e970(0x2,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1a6b1e[_0x21f86e(0x1e8)])),_0x29e970(0x3,_0x1d5bdf[_0x21f86e(0x1e0)](_0x33b452['HistoryLoaderService'])),_0x29e970(0x4,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1d5bdf[_0x21f86e(0x299)])),_0x29e970(0x5,_0x1a6b1e[_0x21f86e(0x2c6)]),_0x29e970(0x6,_0x1d5bdf[_0x21f86e(0x1e0)](_0x3aaa23[_0x21f86e(0x29d)])),_0x29e970(0x7,_0x3aaa23['ILocalCacheService'])],_0x17c90f);var _0x80cf79=Object['getOwnPropertyDescriptor'],_0x32ca1c=(_0x339b43,_0x1d55ff,_0x1a3551,_0x1c54f4)=>{const _0xae4bd0=_0x21f86e;for(var _0x3ef7eb=_0x1c54f4>0x1?void 0x0:_0x1c54f4?_0x80cf79(_0x1d55ff,_0x1a3551):_0x1d55ff,_0x15a80a=_0x339b43[_0xae4bd0(0x294)]-0x1,_0x3b711f;_0x15a80a>=0x0;_0x15a80a--)(_0x3b711f=_0x339b43[_0x15a80a])&&(_0x3ef7eb=_0x3b711f(_0x3ef7eb)||_0x3ef7eb);return _0x3ef7eb;},_0x9b1bcb=(_0x179086,_0x4766d2)=>(_0x6390a2,_0x5a5bd9)=>_0x4766d2(_0x6390a2,_0x5a5bd9,_0x179086);const _0x2d6d79=_0x21f86e(0x2a9);_0x33b452[_0x21f86e(0x267)]=(_0x27a87b=class extends _0x1d5bdf['Plugin']{constructor(_0x26114f=_0x3fd966,_0x4ac0dd,_0x50cdc2){const _0x34c614=_0x21f86e;super(),this[_0x34c614(0x256)]=_0x26114f,this[_0x34c614(0x2a8)]=_0x4ac0dd,this[_0x34c614(0x277)]=_0x50cdc2;const {menu:_0x575d1f,..._0x2f163b}=_0x1d5bdf['merge']({},_0x3fd966,this['_config']);_0x575d1f&&this[_0x34c614(0x277)][_0x34c614(0x305)]('menu',_0x575d1f,{'merge':!0x0}),this[_0x34c614(0x277)][_0x34c614(0x305)](_0xe2d87b,_0x2f163b),this[_0x34c614(0x256)][_0x34c614(0x241)]&&this['_configService'][_0x34c614(0x305)](_0x258a9b,this[_0x34c614(0x256)]['univerContainerId']);}[_0x21f86e(0x24f)](){const _0x42b7af=_0x21f86e;[[_0x33b452['HistoryLoaderService']],[_0x17c90f]][_0x42b7af(0x229)](_0x2169e3=>this[_0x42b7af(0x2a8)][_0x42b7af(0x201)](_0x2169e3));}['onSteady'](){this['_injector']['get'](_0x17c90f);}},_0x1bfe0a(_0x27a87b,'type',_0x1d5bdf[_0x21f86e(0x278)][_0x21f86e(0x2e8)]),_0x1bfe0a(_0x27a87b,'pluginName',_0x2d6d79),_0x27a87b),_0x33b452[_0x21f86e(0x267)]=_0x32ca1c([_0x9b1bcb(0x1,_0x1d5bdf[_0x21f86e(0x1e0)](_0x1d5bdf[_0x21f86e(0x2b5)])),_0x9b1bcb(0x2,_0x1d5bdf[_0x21f86e(0x209)])],_0x33b452['UniverEditHistoryLoaderPlugin']),_0x33b452[_0x21f86e(0x240)]=_0x258a9b,_0x33b452[_0x21f86e(0x245)]=_0x4c9ae4,Object[_0x21f86e(0x26a)](_0x33b452,Symbol[_0x21f86e(0x2d6)],{'value':_0x21f86e(0x1d6)});}));function _0x7318(){const _0x477ba6=['_historyManagerService','UniverSheetsDataValidation','UniverDrawingUi','_selectionProtectionRuleModel','UniverRenderEnginePlugin','location','height','top','_revertErrorTimer','3517740bfXFry','WorkbookRecoverHistoryPermission','_initContainer','[HistoryLoaderService]:\x20Plugin\x20','children','forEach','WorksheetEditPermission','permissionId','historyUniver','_menuManagerService','subscribe','UniverSheetsFilterUi','mask','PLUGIN_CONFIG_KEY_MAIN_THREAD','mergeMenu','UniverSheetsPivotTablePlugin','UniverDocsUi','1891636fciVcD','getSheetCommandTarget','left','_localeService','UniverSheetsDrawing','UniverProSheetsChart','historyUniver$','path','UniverSheetsHyperLinkUi','historyPanelComponentKey','BUTTON','UNIVER_CONTAINER_ID_KEY','univerContainerId','@univerjs-pro/license','_initPlugins','UniverSheets','UNIVER_HISTORY_CONTAINER_ID','Entered','replace','UniverSheetsDrawingUIPlugin','_dialogService','9055290IuUvLj','UniverSheetsConditionalFormatting','@univerjs/drawing-ui','useRef','toString','onStarting','none','@univerjs-pro/sheets-chart-ui','tag','width','idSuffix','string','_config','white','UniverSheetsFilterPlugin','url(#$1','@univerjs-pro/sheets-pivot','registerPlugin','IAuthzIoService','exhaustSavingTask','ISidebarService','100%','OTHERS','appendChild','onCommandExecuted','@univerjs/sheets','defs','@univerjs/sheets-formula','@univerjs/sheets-filter','UniverEditHistoryLoaderPlugin','UniverSheetsChartPlugin','CHANGESET_ACK','defineProperty','@univerjs/design','@univerjs/engine-render','Loading','UniverSheetsDrawingPlugin','entries','@univerjs/docs','@univerjs-pro/sheets-sparkline-ui','getCurrentRangeDisable$','history-icon_clip0_907_281','setDarkMode','reload','uComp','_configService','UniverInstanceType','_sidebarService','editHistory.panel.listFetchError','dispose','MessageType','random','UniverSheetsHyperLink','UniverSheetsFormulaPlugin','status','CollaborationStatus','setTheme','attrs','every','eventID','current','_commandService','xlink:href','HistoryManagerService','mutations','_componentManager','session','data','UniverUIPlugin','@univerjs-pro/sheets-chart','editHistory.panel.revertFailed','_disposableCollection','triggerLoadVersions','_messageService','length','316656zFdMfK','@univerjs/sheets-numfmt','pluginName','WorkbookEditablePermission','LocaleService','UniverSheetSparklinePlugin','UniverRPCMainThreadPlugin','next','CollaborationController','@univerjs/sheets-conditional-formatting','./worker.js','getCurrentLocale','HistoryModeStatus','CommandType','UniverEditHistoryViewerPlugin','@univerjs/sheets-drawing-ui','@univerjs/rpc','RangeProtectionRuleModel','ICommandService','_injector','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','LS_CONFIG_KEY','_historyUniver$','M0\x200H16V16H0z','trim','getMenuHiddenObservable','UniverDocsUIPlugin','setLocale','show','fill','univer-history-container','value','Injector','createElement','editHistory.panel.title','function','@univerjs/docs-ui','UniverNetworkPlugin','UniverNetwork','amd','UNIVER_SHEET','UniverEngineRender','register','defIds','__getInjector','UniverSheetsNumfmt','registerCommand','@univerjs/sheets-hyper-link-ui','includes','IMessageService','getSheetId','RibbonStartGroup','React','div','unsubscribe','@univerjs/sheets-data-validation-ui','1000','BehaviorSubject','OPERATION','UniverSheetsHyperLinkPlugin','DisposableCollection','WorkbookViewHistoryPermission','@univerjs/sheets-filter-ui','@univerjs/sheets-drawing','getUnit','toStringTag','5fpflJZ','UniverDataValidationPlugin','assign','_localCacheService','@univerjs/core','_collaborationController','UniverRpc','workerURL','rxjs','@univerjs/sheets-ui','display','some','close','RangeProtectionPermissionEditPoint','_initUniver','2861118cAOWyX','@univerjs/sheets-data-validation','UNIVER_UNKNOWN','MenuItemType','@univerjs/network','getConfig','UniverSheetsFormula','UniverDrawing','map','IUniverInstanceService','_initListener','clipPath','closeAll','UniverSheetsDataValidationPlugin','45Spyucr','params','clear','9072920YRKUSA','UniverSheetsConditionalFormattingPlugin','combineLatest','invoke','mountHistoryContent','dataset','event$','UniverProCollaboration','RxDisposable','UniverProCollaborationClient','get','getElementById','url(#history-icon_clip0_907_281)','@univerjs-pro/edit-history-viewer','setConfig','univer-container','UniverSheetsFormulaUIPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Module','disposeWithMe','UniverCore','UniverSheetsDataValidationUi','values','UniverSheetsConditionalFormattingUi','@univerjs/engine-formula','status$','composePermission','_init','Inject','UniverSheetSparklineUIPlugin','UniverFormulaEnginePlugin','UniverProSheetsPivot','UniverProSheetsChartUi','UniverSheetsNumfmtPlugin','UniverDrawingUIPlugin','UniverProLicense','ComponentManager','getAllPlugins','Error','_checkCanRevert','has','currentTheme$','flat','currentColor','_pluginMap','0\x200\x2016\x2016','HistoryIcon','IMenuManagerService','ThemeService','UniverSheetsDrawingUi','executeCommand','absolute','RevertRevisionMutation','historyListServerUrl','@univerjs-pro/sheets-sparkline','getLocales','UniverDocsPlugin','HistoryLoaderService','@univerjs/sheets-conditional-formatting-ui','unMountHistoryContent','getSheets','add','UniverDrawingPlugin','IDialogService','UniverSheetsPlugin','1em','3215198HYljvY','UniverSheetsFormulaUi','asObservable','IConfigService','colorChannel1','UniverSheetsFilter','_themeService','history-icon','edit-history-loader.config','@univerjs/drawing','_univerInstanceService','style','UniverUi','UniverSheetsFilterUIPlugin','Univer','UniverProSheetsSparklineUi','univerjs-icon\x20univerjs-icon-','exports','UniverSheetsDataValidationUIPlugin','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','univer.operation.exit-edit-history'];_0x7318=function(){return _0x477ba6;};return _0x7318();}
21
21
 
22
22
  // index
23
- (function(e,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):(e=typeof globalThis<"u"?globalThis:e||self,o(e.UniverPresetSheetsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi,e.UniverProEditHistoryLoader))})(this,(function(e,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}=n,r=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:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:s(`${r}/universer-api/comb/connect`),loginUrlKey:`${r}/universer-api/oidc/authpage`,uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${r}/`,wsSessionTicketUrl:`${r}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${r}/universer-api/history`}]]}}e.UniverSheetsCollaborationPreset=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
23
+ (function(e,i){typeof exports=="object"&&typeof module<"u"?i(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"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetSheetsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi,e.UniverProEditHistoryLoader))})(this,(function(e,i,l,t,a){"use strict";function s(n){const o=new URL(n,window.location.origin);switch(o.protocol){case"https:":o.protocol="wss:";break;case"http:":o.protocol="ws:";break}return o.toString()}function u(n={}){const{universerEndpoint:o,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0,enableFrontendLog:d=!1}=n,r=o!=null?o:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:s(`${r}/universer-api/comb/connect`),loginUrlKey:`${r}/universer-api/oidc/authpage`,uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${r}/`,wsSessionTicketUrl:`${r}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{enableFrontendLog:d}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${r}/universer-api/history`}]]}}e.UniverSheetsCollaborationPreset=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));